1 | /**
|
---|
2 | * @license
|
---|
3 | * Copyright Google LLC All Rights Reserved.
|
---|
4 | *
|
---|
5 | * Use of this source code is governed by an MIT-style license that can be
|
---|
6 | * found in the LICENSE file at https://angular.io/license
|
---|
7 | */
|
---|
8 | import { ObserversModule } from '@angular/cdk/observers';
|
---|
9 | import { PlatformModule } from '@angular/cdk/platform';
|
---|
10 | import { NgModule } from '@angular/core';
|
---|
11 | import { CdkMonitorFocus } from './focus-monitor/focus-monitor';
|
---|
12 | import { CdkTrapFocus } from './focus-trap/focus-trap';
|
---|
13 | import { HighContrastModeDetector } from './high-contrast-mode/high-contrast-mode-detector';
|
---|
14 | import { CdkAriaLive } from './live-announcer/live-announcer';
|
---|
15 | export class A11yModule {
|
---|
16 | constructor(highContrastModeDetector) {
|
---|
17 | highContrastModeDetector._applyBodyHighContrastModeCssClasses();
|
---|
18 | }
|
---|
19 | }
|
---|
20 | A11yModule.decorators = [
|
---|
21 | { type: NgModule, args: [{
|
---|
22 | imports: [PlatformModule, ObserversModule],
|
---|
23 | declarations: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus],
|
---|
24 | exports: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus],
|
---|
25 | },] }
|
---|
26 | ];
|
---|
27 | A11yModule.ctorParameters = () => [
|
---|
28 | { type: HighContrastModeDetector }
|
---|
29 | ];
|
---|
30 | //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYTExeS1tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvY2RrL2ExMXkvYTExeS1tb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OztHQU1HO0FBRUgsT0FBTyxFQUFDLGVBQWUsRUFBQyxNQUFNLHdCQUF3QixDQUFDO0FBQ3ZELE9BQU8sRUFBQyxjQUFjLEVBQUMsTUFBTSx1QkFBdUIsQ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