@angular/cdk 14.0.0-next.1 → 14.0.0-next.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (256) hide show
  1. package/a11y/_index.scss +11 -0
  2. package/a11y/a11y-module.d.ts +2 -3
  3. package/a11y/live-announcer/live-announcer.d.ts +5 -1
  4. package/a11y-prebuilt.css +1 -1
  5. package/drag-drop/drag-events.d.ts +8 -0
  6. package/drag-drop/drag-ref.d.ts +11 -1
  7. package/drag-drop/drop-list-ref.d.ts +5 -1
  8. package/drag-drop/parent-position-tracker.d.ts +11 -3
  9. package/esm2020/a11y/a11y-module.mjs +6 -7
  10. package/esm2020/a11y/aria-describer/aria-describer.mjs +4 -4
  11. package/esm2020/a11y/focus-monitor/focus-monitor.mjs +13 -11
  12. package/esm2020/a11y/focus-trap/configurable-focus-trap-factory.mjs +4 -4
  13. package/esm2020/a11y/focus-trap/focus-trap-manager.mjs +4 -4
  14. package/esm2020/a11y/focus-trap/focus-trap.mjs +7 -7
  15. package/esm2020/a11y/high-contrast-mode/high-contrast-mode-detector.mjs +7 -12
  16. package/esm2020/a11y/input-modality/input-modality-detector.mjs +4 -4
  17. package/esm2020/a11y/interactivity-checker/interactivity-checker.mjs +4 -4
  18. package/esm2020/a11y/live-announcer/live-announcer.mjs +26 -18
  19. package/esm2020/accordion/accordion-item.mjs +4 -4
  20. package/esm2020/accordion/accordion-module.mjs +5 -5
  21. package/esm2020/accordion/accordion.mjs +4 -4
  22. package/esm2020/bidi/bidi-module.mjs +5 -5
  23. package/esm2020/bidi/dir.mjs +4 -4
  24. package/esm2020/bidi/directionality.mjs +4 -4
  25. package/esm2020/clipboard/clipboard-module.mjs +5 -5
  26. package/esm2020/clipboard/clipboard.mjs +4 -4
  27. package/esm2020/clipboard/copy-to-clipboard.mjs +4 -4
  28. package/esm2020/collections/unique-selection-dispatcher.mjs +4 -4
  29. package/esm2020/drag-drop/directives/drag-handle.mjs +4 -4
  30. package/esm2020/drag-drop/directives/drag-placeholder.mjs +4 -4
  31. package/esm2020/drag-drop/directives/drag-preview.mjs +4 -4
  32. package/esm2020/drag-drop/directives/drag.mjs +26 -24
  33. package/esm2020/drag-drop/directives/drop-list-group.mjs +4 -4
  34. package/esm2020/drag-drop/directives/drop-list.mjs +14 -13
  35. package/esm2020/drag-drop/drag-drop-module.mjs +5 -5
  36. package/esm2020/drag-drop/drag-drop-registry.mjs +4 -4
  37. package/esm2020/drag-drop/drag-drop.mjs +4 -4
  38. package/esm2020/drag-drop/drag-events.mjs +1 -1
  39. package/esm2020/drag-drop/drag-ref.mjs +48 -24
  40. package/esm2020/drag-drop/drop-list-ref.mjs +7 -3
  41. package/esm2020/drag-drop/parent-position-tracker.mjs +13 -5
  42. package/esm2020/layout/breakpoints-observer.mjs +4 -4
  43. package/esm2020/layout/layout-module.mjs +5 -5
  44. package/esm2020/layout/media-matcher.mjs +4 -4
  45. package/esm2020/observers/observe-content.mjs +14 -14
  46. package/esm2020/overlay/dispatchers/base-overlay-dispatcher.mjs +4 -4
  47. package/esm2020/overlay/dispatchers/overlay-keyboard-dispatcher.mjs +26 -8
  48. package/esm2020/overlay/dispatchers/overlay-outside-click-dispatcher.mjs +33 -12
  49. package/esm2020/overlay/fullscreen-overlay-container.mjs +4 -4
  50. package/esm2020/overlay/overlay-container.mjs +4 -4
  51. package/esm2020/overlay/overlay-directives.mjs +7 -7
  52. package/esm2020/overlay/overlay-module.mjs +5 -5
  53. package/esm2020/overlay/overlay-ref.mjs +24 -18
  54. package/esm2020/overlay/overlay.mjs +14 -8
  55. package/esm2020/overlay/position/flexible-connected-position-strategy.mjs +13 -1
  56. package/esm2020/overlay/position/global-position-strategy.mjs +64 -30
  57. package/esm2020/overlay/position/overlay-position-builder.mjs +4 -4
  58. package/esm2020/overlay/public-api.mjs +2 -2
  59. package/esm2020/overlay/scroll/scroll-strategy-options.mjs +4 -4
  60. package/esm2020/platform/platform-module.mjs +5 -5
  61. package/esm2020/platform/platform.mjs +4 -4
  62. package/esm2020/portal/dom-portal-outlet.mjs +24 -4
  63. package/esm2020/portal/portal-directives.mjs +20 -18
  64. package/esm2020/portal/portal.mjs +12 -3
  65. package/esm2020/scrolling/fixed-size-virtual-scroll.mjs +4 -4
  66. package/esm2020/scrolling/scroll-dispatcher.mjs +4 -4
  67. package/esm2020/scrolling/scrollable.mjs +4 -4
  68. package/esm2020/scrolling/scrolling-module.mjs +10 -11
  69. package/esm2020/scrolling/viewport-ruler.mjs +4 -4
  70. package/esm2020/scrolling/virtual-for-of.mjs +7 -5
  71. package/esm2020/scrolling/virtual-scroll-viewport.mjs +8 -6
  72. package/esm2020/stepper/step-header.mjs +4 -4
  73. package/esm2020/stepper/step-label.mjs +4 -4
  74. package/esm2020/stepper/stepper-button.mjs +7 -7
  75. package/esm2020/stepper/stepper-module.mjs +5 -5
  76. package/esm2020/stepper/stepper.mjs +9 -22
  77. package/esm2020/table/cell.mjs +22 -22
  78. package/esm2020/table/coalesced-style-scheduler.mjs +4 -4
  79. package/esm2020/table/row.mjs +28 -28
  80. package/esm2020/table/table-module.mjs +5 -5
  81. package/esm2020/table/table.mjs +21 -21
  82. package/esm2020/table/text-column.mjs +4 -4
  83. package/esm2020/testing/component-harness.mjs +7 -1
  84. package/esm2020/testing/harness-environment.mjs +12 -1
  85. package/esm2020/testing/public-api.mjs +2 -1
  86. package/esm2020/testing/selenium-webdriver/selenium-web-driver-element.mjs +8 -3
  87. package/esm2020/testing/test-element-errors.mjs +15 -0
  88. package/esm2020/testing/test-element.mjs +1 -1
  89. package/esm2020/testing/testbed/fake-events/type-in-element.mjs +13 -4
  90. package/esm2020/testing/testbed/unit-test-element.mjs +21 -5
  91. package/esm2020/text-field/autofill.mjs +7 -7
  92. package/esm2020/text-field/autosize.mjs +4 -4
  93. package/esm2020/text-field/text-field-module.mjs +5 -7
  94. package/esm2020/tree/nested-node.mjs +4 -4
  95. package/esm2020/tree/node.mjs +4 -4
  96. package/esm2020/tree/outlet.mjs +4 -4
  97. package/esm2020/tree/padding.mjs +4 -4
  98. package/esm2020/tree/toggle.mjs +4 -4
  99. package/esm2020/tree/tree-module.mjs +5 -5
  100. package/esm2020/tree/tree.mjs +7 -7
  101. package/esm2020/version.mjs +1 -1
  102. package/fesm2015/a11y.mjs +71 -66
  103. package/fesm2015/a11y.mjs.map +1 -1
  104. package/fesm2015/accordion.mjs +10 -10
  105. package/fesm2015/accordion.mjs.map +1 -1
  106. package/fesm2015/bidi.mjs +10 -10
  107. package/fesm2015/bidi.mjs.map +1 -1
  108. package/fesm2015/cdk.mjs +1 -1
  109. package/fesm2015/cdk.mjs.map +1 -1
  110. package/fesm2015/clipboard.mjs +10 -10
  111. package/fesm2015/clipboard.mjs.map +1 -1
  112. package/fesm2015/coercion.mjs.map +1 -1
  113. package/fesm2015/collections.mjs +3 -3
  114. package/fesm2015/collections.mjs.map +1 -1
  115. package/fesm2015/drag-drop.mjs +126 -86
  116. package/fesm2015/drag-drop.mjs.map +1 -1
  117. package/fesm2015/keycodes.mjs.map +1 -1
  118. package/fesm2015/layout.mjs +10 -10
  119. package/fesm2015/layout.mjs.map +1 -1
  120. package/fesm2015/observers.mjs +13 -13
  121. package/fesm2015/observers.mjs.map +1 -1
  122. package/fesm2015/overlay.mjs +194 -97
  123. package/fesm2015/overlay.mjs.map +1 -1
  124. package/fesm2015/platform.mjs +7 -7
  125. package/fesm2015/platform.mjs.map +1 -1
  126. package/fesm2015/portal.mjs +53 -23
  127. package/fesm2015/portal.mjs.map +1 -1
  128. package/fesm2015/scrolling.mjs +35 -31
  129. package/fesm2015/scrolling.mjs.map +1 -1
  130. package/fesm2015/stepper.mjs +24 -37
  131. package/fesm2015/stepper.mjs.map +1 -1
  132. package/fesm2015/table.mjs +78 -78
  133. package/fesm2015/table.mjs.map +1 -1
  134. package/fesm2015/testing/selenium-webdriver.mjs +7 -2
  135. package/fesm2015/testing/selenium-webdriver.mjs.map +1 -1
  136. package/fesm2015/testing/testbed.mjs +32 -8
  137. package/fesm2015/testing/testbed.mjs.map +1 -1
  138. package/fesm2015/testing.mjs +39 -1
  139. package/fesm2015/testing.mjs.map +1 -1
  140. package/fesm2015/text-field.mjs +14 -15
  141. package/fesm2015/text-field.mjs.map +1 -1
  142. package/fesm2015/tree.mjs +25 -25
  143. package/fesm2015/tree.mjs.map +1 -1
  144. package/fesm2020/a11y.mjs +70 -65
  145. package/fesm2020/a11y.mjs.map +1 -1
  146. package/fesm2020/accordion.mjs +10 -10
  147. package/fesm2020/accordion.mjs.map +1 -1
  148. package/fesm2020/bidi.mjs +10 -10
  149. package/fesm2020/bidi.mjs.map +1 -1
  150. package/fesm2020/cdk.mjs +1 -1
  151. package/fesm2020/cdk.mjs.map +1 -1
  152. package/fesm2020/clipboard.mjs +10 -10
  153. package/fesm2020/clipboard.mjs.map +1 -1
  154. package/fesm2020/coercion.mjs.map +1 -1
  155. package/fesm2020/collections.mjs +3 -3
  156. package/fesm2020/collections.mjs.map +1 -1
  157. package/fesm2020/drag-drop.mjs +125 -86
  158. package/fesm2020/drag-drop.mjs.map +1 -1
  159. package/fesm2020/keycodes.mjs.map +1 -1
  160. package/fesm2020/layout.mjs +10 -10
  161. package/fesm2020/layout.mjs.map +1 -1
  162. package/fesm2020/observers.mjs +13 -13
  163. package/fesm2020/observers.mjs.map +1 -1
  164. package/fesm2020/overlay.mjs +194 -97
  165. package/fesm2020/overlay.mjs.map +1 -1
  166. package/fesm2020/platform.mjs +7 -7
  167. package/fesm2020/platform.mjs.map +1 -1
  168. package/fesm2020/portal.mjs +53 -23
  169. package/fesm2020/portal.mjs.map +1 -1
  170. package/fesm2020/scrolling.mjs +35 -31
  171. package/fesm2020/scrolling.mjs.map +1 -1
  172. package/fesm2020/stepper.mjs +24 -37
  173. package/fesm2020/stepper.mjs.map +1 -1
  174. package/fesm2020/table.mjs +78 -78
  175. package/fesm2020/table.mjs.map +1 -1
  176. package/fesm2020/testing/selenium-webdriver.mjs +7 -2
  177. package/fesm2020/testing/selenium-webdriver.mjs.map +1 -1
  178. package/fesm2020/testing/testbed.mjs +32 -8
  179. package/fesm2020/testing/testbed.mjs.map +1 -1
  180. package/fesm2020/testing.mjs +33 -1
  181. package/fesm2020/testing.mjs.map +1 -1
  182. package/fesm2020/text-field.mjs +14 -15
  183. package/fesm2020/text-field.mjs.map +1 -1
  184. package/fesm2020/tree.mjs +25 -25
  185. package/fesm2020/tree.mjs.map +1 -1
  186. package/overlay/_index.scss +11 -1
  187. package/overlay/dispatchers/overlay-keyboard-dispatcher.d.ts +7 -2
  188. package/overlay/dispatchers/overlay-outside-click-dispatcher.d.ts +8 -2
  189. package/overlay/overlay-ref.d.ts +4 -1
  190. package/overlay/overlay.d.ts +3 -2
  191. package/overlay/position/flexible-connected-position-strategy.d.ts +2 -0
  192. package/overlay/position/global-position-strategy.d.ts +14 -3
  193. package/overlay/public-api.d.ts +1 -1
  194. package/overlay-prebuilt.css +1 -1
  195. package/package.json +3 -3
  196. package/portal/dom-portal-outlet.d.ts +17 -6
  197. package/portal/portal.d.ts +12 -2
  198. package/schematics/collection.json +2 -1
  199. package/schematics/index.js +6 -2
  200. package/schematics/index.mjs +6 -2
  201. package/schematics/migration.json +5 -0
  202. package/schematics/ng-add/index.js +1 -1
  203. package/schematics/ng-add/index.mjs +1 -1
  204. package/schematics/ng-generate/drag-drop/index.js +5 -14
  205. package/schematics/ng-generate/drag-drop/index.mjs +5 -14
  206. package/schematics/ng-generate/drag-drop/schema.json +1 -1
  207. package/schematics/ng-update/data/constructor-checks.js +7 -1
  208. package/schematics/ng-update/data/constructor-checks.mjs +7 -1
  209. package/schematics/ng-update/data/index.js +6 -2
  210. package/schematics/ng-update/data/index.mjs +6 -2
  211. package/schematics/ng-update/devkit-migration-rule.js +5 -14
  212. package/schematics/ng-update/devkit-migration-rule.mjs +5 -14
  213. package/schematics/ng-update/devkit-migration.js +1 -1
  214. package/schematics/ng-update/devkit-migration.mjs +1 -1
  215. package/schematics/ng-update/html-parsing/elements.js +2 -3
  216. package/schematics/ng-update/html-parsing/elements.mjs +2 -3
  217. package/schematics/ng-update/index.d.ts +2 -0
  218. package/schematics/ng-update/index.js +7 -2
  219. package/schematics/ng-update/index.mjs +7 -2
  220. package/schematics/ng-update/migrations/symbol-removal.js +2 -3
  221. package/schematics/ng-update/migrations/symbol-removal.mjs +2 -3
  222. package/schematics/ng-update/public-api.js +6 -2
  223. package/schematics/ng-update/public-api.mjs +6 -2
  224. package/schematics/tsconfig.json +2 -10
  225. package/schematics/update-tool/public-api.js +6 -2
  226. package/schematics/update-tool/public-api.mjs +6 -2
  227. package/schematics/update-tool/target-version.d.ts +2 -1
  228. package/schematics/update-tool/target-version.js +2 -1
  229. package/schematics/update-tool/target-version.mjs +2 -1
  230. package/schematics/utils/ast.js +11 -22
  231. package/schematics/utils/ast.mjs +11 -22
  232. package/schematics/utils/build-component.js +10 -15
  233. package/schematics/utils/build-component.mjs +10 -15
  234. package/schematics/utils/get-project.d.ts +1 -1
  235. package/schematics/utils/get-project.js +7 -2
  236. package/schematics/utils/get-project.mjs +7 -2
  237. package/schematics/utils/index.js +6 -2
  238. package/schematics/utils/index.mjs +6 -2
  239. package/schematics/utils/project-index-file.js +2 -2
  240. package/schematics/utils/project-index-file.mjs +2 -2
  241. package/schematics/utils/project-targets.js +3 -4
  242. package/schematics/utils/project-targets.mjs +3 -4
  243. package/schematics/utils/project-tsconfig-paths.js +16 -28
  244. package/schematics/utils/project-tsconfig-paths.mjs +16 -28
  245. package/scrolling/scrolling-module.d.ts +1 -2
  246. package/stepper/stepper.d.ts +3 -12
  247. package/table/text-column.d.ts +1 -1
  248. package/testing/component-harness.d.ts +18 -0
  249. package/testing/harness-environment.d.ts +2 -0
  250. package/testing/public-api.d.ts +1 -0
  251. package/testing/test-element-errors.d.ts +12 -0
  252. package/testing/test-element.d.ts +4 -2
  253. package/testing/testbed/fake-events/type-in-element.d.ts +2 -2
  254. package/testing/testbed/unit-test-element.d.ts +4 -1
  255. package/text-field/text-field-module.d.ts +1 -2
  256. package/text-field-prebuilt.css +1 -1
package/fesm2020/a11y.mjs CHANGED
@@ -2,7 +2,7 @@ import { DOCUMENT } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
3
  import { Injectable, Inject, QueryList, Directive, Input, InjectionToken, Optional, EventEmitter, Output, NgModule } from '@angular/core';
4
4
  import * as i1 from '@angular/cdk/platform';
5
- import { _getFocusedElementPierceShadowDom, normalizePassiveListenerOptions, _getEventTarget, _getShadowRoot, PlatformModule } from '@angular/cdk/platform';
5
+ import { _getFocusedElementPierceShadowDom, normalizePassiveListenerOptions, _getEventTarget, _getShadowRoot } from '@angular/cdk/platform';
6
6
  import { Subject, Subscription, BehaviorSubject, of } from 'rxjs';
7
7
  import { hasModifierKey, A, Z, ZERO, NINE, END, HOME, LEFT_ARROW, RIGHT_ARROW, UP_ARROW, DOWN_ARROW, TAB, ALT, CONTROL, MAC_META, META, SHIFT } from '@angular/cdk/keycodes';
8
8
  import { tap, debounceTime, filter, map, take, skip, distinctUntilChanged, takeUntil } from 'rxjs/operators';
@@ -259,9 +259,9 @@ class AriaDescriber {
259
259
  return element.nodeType === this._document.ELEMENT_NODE;
260
260
  }
261
261
  }
262
- AriaDescriber.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AriaDescriber, deps: [{ token: DOCUMENT }, { token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable });
263
- AriaDescriber.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AriaDescriber, providedIn: 'root' });
264
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: AriaDescriber, decorators: [{
262
+ AriaDescriber.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: AriaDescriber, deps: [{ token: DOCUMENT }, { token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable });
263
+ AriaDescriber.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: AriaDescriber, providedIn: 'root' });
264
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: AriaDescriber, decorators: [{
265
265
  type: Injectable,
266
266
  args: [{ providedIn: 'root' }]
267
267
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -777,9 +777,9 @@ class InteractivityChecker {
777
777
  (config?.ignoreVisibility || this.isVisible(element)));
778
778
  }
779
779
  }
780
- InteractivityChecker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: InteractivityChecker, deps: [{ token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable });
781
- InteractivityChecker.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: InteractivityChecker, providedIn: 'root' });
782
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: InteractivityChecker, decorators: [{
780
+ InteractivityChecker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: InteractivityChecker, deps: [{ token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable });
781
+ InteractivityChecker.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: InteractivityChecker, providedIn: 'root' });
782
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: InteractivityChecker, decorators: [{
783
783
  type: Injectable,
784
784
  args: [{ providedIn: 'root' }]
785
785
  }], ctorParameters: function () { return [{ type: i1.Platform }]; } });
@@ -1178,9 +1178,9 @@ class FocusTrapFactory {
1178
1178
  return new FocusTrap(element, this._checker, this._ngZone, this._document, deferCaptureElements);
1179
1179
  }
1180
1180
  }
1181
- FocusTrapFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: FocusTrapFactory, deps: [{ token: InteractivityChecker }, { token: i0.NgZone }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1182
- FocusTrapFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: FocusTrapFactory, providedIn: 'root' });
1183
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: FocusTrapFactory, decorators: [{
1181
+ FocusTrapFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: FocusTrapFactory, deps: [{ token: InteractivityChecker }, { token: i0.NgZone }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1182
+ FocusTrapFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: FocusTrapFactory, providedIn: 'root' });
1183
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: FocusTrapFactory, decorators: [{
1184
1184
  type: Injectable,
1185
1185
  args: [{ providedIn: 'root' }]
1186
1186
  }], ctorParameters: function () { return [{ type: InteractivityChecker }, { type: i0.NgZone }, { type: undefined, decorators: [{
@@ -1252,9 +1252,9 @@ class CdkTrapFocus {
1252
1252
  this.focusTrap.focusInitialElementWhenReady();
1253
1253
  }
1254
1254
  }
1255
- CdkTrapFocus.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: CdkTrapFocus, deps: [{ token: i0.ElementRef }, { token: FocusTrapFactory }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive });
1256
- CdkTrapFocus.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.0", type: CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: { enabled: ["cdkTrapFocus", "enabled"], autoCapture: ["cdkTrapFocusAutoCapture", "autoCapture"] }, exportAs: ["cdkTrapFocus"], usesOnChanges: true, ngImport: i0 });
1257
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: CdkTrapFocus, decorators: [{
1255
+ CdkTrapFocus.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkTrapFocus, deps: [{ token: i0.ElementRef }, { token: FocusTrapFactory }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive });
1256
+ CdkTrapFocus.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", type: CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: { enabled: ["cdkTrapFocus", "enabled"], autoCapture: ["cdkTrapFocusAutoCapture", "autoCapture"] }, exportAs: ["cdkTrapFocus"], usesOnChanges: true, ngImport: i0 });
1257
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkTrapFocus, decorators: [{
1258
1258
  type: Directive,
1259
1259
  args: [{
1260
1260
  selector: '[cdkTrapFocus]',
@@ -1444,9 +1444,9 @@ class FocusTrapManager {
1444
1444
  }
1445
1445
  }
1446
1446
  }
1447
- FocusTrapManager.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: FocusTrapManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1448
- FocusTrapManager.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: FocusTrapManager, providedIn: 'root' });
1449
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: FocusTrapManager, decorators: [{
1447
+ FocusTrapManager.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: FocusTrapManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1448
+ FocusTrapManager.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: FocusTrapManager, providedIn: 'root' });
1449
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: FocusTrapManager, decorators: [{
1450
1450
  type: Injectable,
1451
1451
  args: [{ providedIn: 'root' }]
1452
1452
  }] });
@@ -1479,9 +1479,9 @@ class ConfigurableFocusTrapFactory {
1479
1479
  return new ConfigurableFocusTrap(element, this._checker, this._ngZone, this._document, this._focusTrapManager, this._inertStrategy, configObject);
1480
1480
  }
1481
1481
  }
1482
- ConfigurableFocusTrapFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: ConfigurableFocusTrapFactory, deps: [{ token: InteractivityChecker }, { token: i0.NgZone }, { token: FocusTrapManager }, { token: DOCUMENT }, { token: FOCUS_TRAP_INERT_STRATEGY, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1483
- ConfigurableFocusTrapFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: ConfigurableFocusTrapFactory, providedIn: 'root' });
1484
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: ConfigurableFocusTrapFactory, decorators: [{
1482
+ ConfigurableFocusTrapFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: ConfigurableFocusTrapFactory, deps: [{ token: InteractivityChecker }, { token: i0.NgZone }, { token: FocusTrapManager }, { token: DOCUMENT }, { token: FOCUS_TRAP_INERT_STRATEGY, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1483
+ ConfigurableFocusTrapFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: ConfigurableFocusTrapFactory, providedIn: 'root' });
1484
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: ConfigurableFocusTrapFactory, decorators: [{
1485
1485
  type: Injectable,
1486
1486
  args: [{ providedIn: 'root' }]
1487
1487
  }], ctorParameters: function () { return [{ type: InteractivityChecker }, { type: i0.NgZone }, { type: FocusTrapManager }, { type: undefined, decorators: [{
@@ -1677,9 +1677,9 @@ class InputModalityDetector {
1677
1677
  }
1678
1678
  }
1679
1679
  }
1680
- InputModalityDetector.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: InputModalityDetector, deps: [{ token: i1.Platform }, { token: i0.NgZone }, { token: DOCUMENT }, { token: INPUT_MODALITY_DETECTOR_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1681
- InputModalityDetector.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: InputModalityDetector, providedIn: 'root' });
1682
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: InputModalityDetector, decorators: [{
1680
+ InputModalityDetector.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: InputModalityDetector, deps: [{ token: i1.Platform }, { token: i0.NgZone }, { token: DOCUMENT }, { token: INPUT_MODALITY_DETECTOR_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1681
+ InputModalityDetector.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: InputModalityDetector, providedIn: 'root' });
1682
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: InputModalityDetector, decorators: [{
1683
1683
  type: Injectable,
1684
1684
  args: [{ providedIn: 'root' }]
1685
1685
  }], ctorParameters: function () { return [{ type: i1.Platform }, { type: i0.NgZone }, { type: Document, decorators: [{
@@ -1754,16 +1754,19 @@ class LiveAnnouncer {
1754
1754
  // second time without clearing and then using a non-zero delay.
1755
1755
  // (using JAWS 17 at time of this writing).
1756
1756
  return this._ngZone.runOutsideAngular(() => {
1757
- return new Promise(resolve => {
1758
- clearTimeout(this._previousTimeout);
1759
- this._previousTimeout = setTimeout(() => {
1760
- this._liveElement.textContent = message;
1761
- resolve();
1762
- if (typeof duration === 'number') {
1763
- this._previousTimeout = setTimeout(() => this.clear(), duration);
1764
- }
1765
- }, 100);
1766
- });
1757
+ if (!this._currentPromise) {
1758
+ this._currentPromise = new Promise(resolve => (this._currentResolve = resolve));
1759
+ }
1760
+ clearTimeout(this._previousTimeout);
1761
+ this._previousTimeout = setTimeout(() => {
1762
+ this._liveElement.textContent = message;
1763
+ if (typeof duration === 'number') {
1764
+ this._previousTimeout = setTimeout(() => this.clear(), duration);
1765
+ }
1766
+ this._currentResolve();
1767
+ this._currentPromise = this._currentResolve = undefined;
1768
+ }, 100);
1769
+ return this._currentPromise;
1767
1770
  });
1768
1771
  }
1769
1772
  /**
@@ -1780,6 +1783,8 @@ class LiveAnnouncer {
1780
1783
  clearTimeout(this._previousTimeout);
1781
1784
  this._liveElement?.remove();
1782
1785
  this._liveElement = null;
1786
+ this._currentResolve?.();
1787
+ this._currentPromise = this._currentResolve = undefined;
1783
1788
  }
1784
1789
  _createLiveElement() {
1785
1790
  const elementClass = 'cdk-live-announcer-element';
@@ -1797,9 +1802,9 @@ class LiveAnnouncer {
1797
1802
  return liveEl;
1798
1803
  }
1799
1804
  }
1800
- LiveAnnouncer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: LiveAnnouncer, deps: [{ token: LIVE_ANNOUNCER_ELEMENT_TOKEN, optional: true }, { token: i0.NgZone }, { token: DOCUMENT }, { token: LIVE_ANNOUNCER_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1801
- LiveAnnouncer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: LiveAnnouncer, providedIn: 'root' });
1802
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: LiveAnnouncer, decorators: [{
1805
+ LiveAnnouncer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: LiveAnnouncer, deps: [{ token: LIVE_ANNOUNCER_ELEMENT_TOKEN, optional: true }, { token: i0.NgZone }, { token: DOCUMENT }, { token: LIVE_ANNOUNCER_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1806
+ LiveAnnouncer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: LiveAnnouncer, providedIn: 'root' });
1807
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: LiveAnnouncer, decorators: [{
1803
1808
  type: Injectable,
1804
1809
  args: [{ providedIn: 'root' }]
1805
1810
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -1848,7 +1853,7 @@ class CdkAriaLive {
1848
1853
  // The `MutationObserver` fires also for attribute
1849
1854
  // changes which we don't want to announce.
1850
1855
  if (elementText !== this._previousAnnouncedText) {
1851
- this._liveAnnouncer.announce(elementText, this._politeness);
1856
+ this._liveAnnouncer.announce(elementText, this._politeness, this.duration);
1852
1857
  this._previousAnnouncedText = elementText;
1853
1858
  }
1854
1859
  });
@@ -1861,9 +1866,9 @@ class CdkAriaLive {
1861
1866
  }
1862
1867
  }
1863
1868
  }
1864
- CdkAriaLive.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: CdkAriaLive, deps: [{ token: i0.ElementRef }, { token: LiveAnnouncer }, { token: i1$1.ContentObserver }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
1865
- CdkAriaLive.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.0", type: CdkAriaLive, selector: "[cdkAriaLive]", inputs: { politeness: ["cdkAriaLive", "politeness"] }, exportAs: ["cdkAriaLive"], ngImport: i0 });
1866
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: CdkAriaLive, decorators: [{
1869
+ CdkAriaLive.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkAriaLive, deps: [{ token: i0.ElementRef }, { token: LiveAnnouncer }, { token: i1$1.ContentObserver }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
1870
+ CdkAriaLive.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", type: CdkAriaLive, selector: "[cdkAriaLive]", inputs: { politeness: ["cdkAriaLive", "politeness"], duration: ["cdkAriaLiveDuration", "duration"] }, exportAs: ["cdkAriaLive"], ngImport: i0 });
1871
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkAriaLive, decorators: [{
1867
1872
  type: Directive,
1868
1873
  args: [{
1869
1874
  selector: '[cdkAriaLive]',
@@ -1872,6 +1877,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImpor
1872
1877
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: LiveAnnouncer }, { type: i1$1.ContentObserver }, { type: i0.NgZone }]; }, propDecorators: { politeness: [{
1873
1878
  type: Input,
1874
1879
  args: ['cdkAriaLive']
1880
+ }], duration: [{
1881
+ type: Input,
1882
+ args: ['cdkAriaLiveDuration']
1875
1883
  }] } });
1876
1884
 
1877
1885
  /**
@@ -2130,10 +2138,12 @@ class FocusMonitor {
2130
2138
  return;
2131
2139
  }
2132
2140
  this._setClasses(element);
2133
- this._emitOrigin(elementInfo.subject, null);
2141
+ this._emitOrigin(elementInfo, null);
2134
2142
  }
2135
- _emitOrigin(subject, origin) {
2136
- this._ngZone.run(() => subject.next(origin));
2143
+ _emitOrigin(info, origin) {
2144
+ if (info.subject.observers.length) {
2145
+ this._ngZone.run(() => info.subject.next(origin));
2146
+ }
2137
2147
  }
2138
2148
  _registerGlobalListeners(elementInfo) {
2139
2149
  if (!this._platform.isBrowser) {
@@ -2191,7 +2201,7 @@ class FocusMonitor {
2191
2201
  /** Updates all the state on an element once its focus origin has changed. */
2192
2202
  _originChanged(element, origin, elementInfo) {
2193
2203
  this._setClasses(element, origin);
2194
- this._emitOrigin(elementInfo.subject, origin);
2204
+ this._emitOrigin(elementInfo, origin);
2195
2205
  this._lastFocusOrigin = origin;
2196
2206
  }
2197
2207
  /**
@@ -2209,9 +2219,9 @@ class FocusMonitor {
2209
2219
  return results;
2210
2220
  }
2211
2221
  }
2212
- FocusMonitor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: FocusMonitor, deps: [{ token: i0.NgZone }, { token: i1.Platform }, { token: InputModalityDetector }, { token: DOCUMENT, optional: true }, { token: FOCUS_MONITOR_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2213
- FocusMonitor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: FocusMonitor, providedIn: 'root' });
2214
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: FocusMonitor, decorators: [{
2222
+ FocusMonitor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: FocusMonitor, deps: [{ token: i0.NgZone }, { token: i1.Platform }, { token: InputModalityDetector }, { token: DOCUMENT, optional: true }, { token: FOCUS_MONITOR_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2223
+ FocusMonitor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: FocusMonitor, providedIn: 'root' });
2224
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: FocusMonitor, decorators: [{
2215
2225
  type: Injectable,
2216
2226
  args: [{ providedIn: 'root' }]
2217
2227
  }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i1.Platform }, { type: InputModalityDetector }, { type: undefined, decorators: [{
@@ -2253,9 +2263,9 @@ class CdkMonitorFocus {
2253
2263
  }
2254
2264
  }
2255
2265
  }
2256
- CdkMonitorFocus.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: CdkMonitorFocus, deps: [{ token: i0.ElementRef }, { token: FocusMonitor }], target: i0.ɵɵFactoryTarget.Directive });
2257
- CdkMonitorFocus.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.0", type: CdkMonitorFocus, selector: "[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]", outputs: { cdkFocusChange: "cdkFocusChange" }, ngImport: i0 });
2258
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: CdkMonitorFocus, decorators: [{
2266
+ CdkMonitorFocus.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkMonitorFocus, deps: [{ token: i0.ElementRef }, { token: FocusMonitor }], target: i0.ɵɵFactoryTarget.Directive });
2267
+ CdkMonitorFocus.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", type: CdkMonitorFocus, selector: "[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]", outputs: { cdkFocusChange: "cdkFocusChange" }, ngImport: i0 });
2268
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkMonitorFocus, decorators: [{
2259
2269
  type: Directive,
2260
2270
  args: [{
2261
2271
  selector: '[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]',
@@ -2327,26 +2337,21 @@ class HighContrastModeDetector {
2327
2337
  _applyBodyHighContrastModeCssClasses() {
2328
2338
  if (!this._hasCheckedHighContrastMode && this._platform.isBrowser && this._document.body) {
2329
2339
  const bodyClasses = this._document.body.classList;
2330
- // IE11 doesn't support `classList` operations with multiple arguments
2331
- bodyClasses.remove(HIGH_CONTRAST_MODE_ACTIVE_CSS_CLASS);
2332
- bodyClasses.remove(BLACK_ON_WHITE_CSS_CLASS);
2333
- bodyClasses.remove(WHITE_ON_BLACK_CSS_CLASS);
2340
+ bodyClasses.remove(HIGH_CONTRAST_MODE_ACTIVE_CSS_CLASS, BLACK_ON_WHITE_CSS_CLASS, WHITE_ON_BLACK_CSS_CLASS);
2334
2341
  this._hasCheckedHighContrastMode = true;
2335
2342
  const mode = this.getHighContrastMode();
2336
2343
  if (mode === 1 /* BLACK_ON_WHITE */) {
2337
- bodyClasses.add(HIGH_CONTRAST_MODE_ACTIVE_CSS_CLASS);
2338
- bodyClasses.add(BLACK_ON_WHITE_CSS_CLASS);
2344
+ bodyClasses.add(HIGH_CONTRAST_MODE_ACTIVE_CSS_CLASS, BLACK_ON_WHITE_CSS_CLASS);
2339
2345
  }
2340
2346
  else if (mode === 2 /* WHITE_ON_BLACK */) {
2341
- bodyClasses.add(HIGH_CONTRAST_MODE_ACTIVE_CSS_CLASS);
2342
- bodyClasses.add(WHITE_ON_BLACK_CSS_CLASS);
2347
+ bodyClasses.add(HIGH_CONTRAST_MODE_ACTIVE_CSS_CLASS, WHITE_ON_BLACK_CSS_CLASS);
2343
2348
  }
2344
2349
  }
2345
2350
  }
2346
2351
  }
2347
- HighContrastModeDetector.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: HighContrastModeDetector, deps: [{ token: i1.Platform }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
2348
- HighContrastModeDetector.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: HighContrastModeDetector, providedIn: 'root' });
2349
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: HighContrastModeDetector, decorators: [{
2352
+ HighContrastModeDetector.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: HighContrastModeDetector, deps: [{ token: i1.Platform }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
2353
+ HighContrastModeDetector.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: HighContrastModeDetector, providedIn: 'root' });
2354
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: HighContrastModeDetector, decorators: [{
2350
2355
  type: Injectable,
2351
2356
  args: [{ providedIn: 'root' }]
2352
2357
  }], ctorParameters: function () { return [{ type: i1.Platform }, { type: undefined, decorators: [{
@@ -2366,13 +2371,13 @@ class A11yModule {
2366
2371
  highContrastModeDetector._applyBodyHighContrastModeCssClasses();
2367
2372
  }
2368
2373
  }
2369
- A11yModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: A11yModule, deps: [{ token: HighContrastModeDetector }], target: i0.ɵɵFactoryTarget.NgModule });
2370
- A11yModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: A11yModule, declarations: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus], imports: [PlatformModule, ObserversModule], exports: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus] });
2371
- A11yModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: A11yModule, imports: [[PlatformModule, ObserversModule]] });
2372
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.0", ngImport: i0, type: A11yModule, decorators: [{
2374
+ A11yModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: A11yModule, deps: [{ token: HighContrastModeDetector }], target: i0.ɵɵFactoryTarget.NgModule });
2375
+ A11yModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: A11yModule, declarations: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus], imports: [ObserversModule], exports: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus] });
2376
+ A11yModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: A11yModule, imports: [[ObserversModule]] });
2377
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: A11yModule, decorators: [{
2373
2378
  type: NgModule,
2374
2379
  args: [{
2375
- imports: [PlatformModule, ObserversModule],
2380
+ imports: [ObserversModule],
2376
2381
  declarations: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus],
2377
2382
  exports: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus],
2378
2383
  }]