@angular/cdk 15.1.0-next.2 → 15.1.0

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 (204) hide show
  1. package/LICENSE +1 -1
  2. package/drag-drop/index.d.ts +11 -0
  3. package/esm2020/a11y/a11y-module.mjs +5 -5
  4. package/esm2020/a11y/aria-describer/aria-describer.mjs +4 -4
  5. package/esm2020/a11y/focus-monitor/focus-monitor.mjs +7 -7
  6. package/esm2020/a11y/focus-trap/configurable-focus-trap-factory.mjs +4 -4
  7. package/esm2020/a11y/focus-trap/configurable-focus-trap.mjs +7 -7
  8. package/esm2020/a11y/focus-trap/focus-trap-manager.mjs +4 -4
  9. package/esm2020/a11y/focus-trap/focus-trap.mjs +30 -30
  10. package/esm2020/a11y/high-contrast-mode/high-contrast-mode-detector.mjs +4 -4
  11. package/esm2020/a11y/input-modality/input-modality-detector.mjs +8 -8
  12. package/esm2020/a11y/interactivity-checker/interactivity-checker.mjs +4 -4
  13. package/esm2020/a11y/live-announcer/live-announcer.mjs +14 -14
  14. package/esm2020/accordion/accordion-item.mjs +38 -38
  15. package/esm2020/accordion/accordion-module.mjs +5 -5
  16. package/esm2020/accordion/accordion.mjs +4 -4
  17. package/esm2020/bidi/bidi-module.mjs +5 -5
  18. package/esm2020/bidi/dir.mjs +4 -4
  19. package/esm2020/bidi/directionality.mjs +4 -4
  20. package/esm2020/clipboard/clipboard-module.mjs +5 -5
  21. package/esm2020/clipboard/clipboard.mjs +4 -4
  22. package/esm2020/clipboard/copy-to-clipboard.mjs +4 -4
  23. package/esm2020/collections/selection-model.mjs +8 -8
  24. package/esm2020/collections/unique-selection-dispatcher.mjs +4 -4
  25. package/esm2020/dialog/dialog-container.mjs +4 -4
  26. package/esm2020/dialog/dialog-module.mjs +5 -5
  27. package/esm2020/dialog/dialog.mjs +12 -12
  28. package/esm2020/drag-drop/directives/drag-handle.mjs +12 -12
  29. package/esm2020/drag-drop/directives/drag-placeholder.mjs +4 -4
  30. package/esm2020/drag-drop/directives/drag-preview.mjs +8 -8
  31. package/esm2020/drag-drop/directives/drag.mjs +12 -12
  32. package/esm2020/drag-drop/directives/drop-list-group.mjs +4 -4
  33. package/esm2020/drag-drop/directives/drop-list.mjs +17 -16
  34. package/esm2020/drag-drop/drag-drop-module.mjs +5 -5
  35. package/esm2020/drag-drop/drag-drop-registry.mjs +4 -4
  36. package/esm2020/drag-drop/drag-drop.mjs +4 -4
  37. package/esm2020/drag-drop/drag-ref.mjs +13 -13
  38. package/esm2020/drag-drop/drop-list-ref.mjs +13 -1
  39. package/esm2020/layout/breakpoints-observer.mjs +4 -4
  40. package/esm2020/layout/layout-module.mjs +5 -5
  41. package/esm2020/layout/media-matcher.mjs +4 -4
  42. package/esm2020/listbox/listbox-module.mjs +5 -5
  43. package/esm2020/listbox/listbox.mjs +7 -7
  44. package/esm2020/menu/context-menu-trigger.mjs +14 -14
  45. package/esm2020/menu/menu-aim.mjs +7 -7
  46. package/esm2020/menu/menu-bar.mjs +4 -4
  47. package/esm2020/menu/menu-base.mjs +4 -4
  48. package/esm2020/menu/menu-group.mjs +4 -4
  49. package/esm2020/menu/menu-item-checkbox.mjs +4 -4
  50. package/esm2020/menu/menu-item-radio.mjs +4 -4
  51. package/esm2020/menu/menu-item-selectable.mjs +4 -4
  52. package/esm2020/menu/menu-item.mjs +26 -20
  53. package/esm2020/menu/menu-module.mjs +5 -5
  54. package/esm2020/menu/menu-stack.mjs +4 -4
  55. package/esm2020/menu/menu-trigger-base.mjs +4 -4
  56. package/esm2020/menu/menu-trigger.mjs +16 -11
  57. package/esm2020/menu/menu.mjs +4 -4
  58. package/esm2020/observers/observe-content.mjs +23 -23
  59. package/esm2020/overlay/dispatchers/base-overlay-dispatcher.mjs +4 -4
  60. package/esm2020/overlay/dispatchers/overlay-keyboard-dispatcher.mjs +4 -4
  61. package/esm2020/overlay/dispatchers/overlay-outside-click-dispatcher.mjs +4 -4
  62. package/esm2020/overlay/fullscreen-overlay-container.mjs +4 -4
  63. package/esm2020/overlay/overlay-container.mjs +4 -4
  64. package/esm2020/overlay/overlay-directives.mjs +44 -42
  65. package/esm2020/overlay/overlay-module.mjs +6 -7
  66. package/esm2020/overlay/overlay.mjs +4 -4
  67. package/esm2020/overlay/position/flexible-connected-position-strategy.mjs +5 -5
  68. package/esm2020/overlay/position/overlay-position-builder.mjs +4 -4
  69. package/esm2020/overlay/scroll/scroll-strategy-options.mjs +4 -4
  70. package/esm2020/platform/platform-module.mjs +5 -5
  71. package/esm2020/platform/platform.mjs +4 -4
  72. package/esm2020/portal/portal-directives.mjs +17 -17
  73. package/esm2020/scrolling/fixed-size-virtual-scroll.mjs +4 -4
  74. package/esm2020/scrolling/scroll-dispatcher.mjs +4 -4
  75. package/esm2020/scrolling/scrollable.mjs +4 -4
  76. package/esm2020/scrolling/scrolling-module.mjs +9 -9
  77. package/esm2020/scrolling/viewport-ruler.mjs +4 -4
  78. package/esm2020/scrolling/virtual-for-of.mjs +48 -48
  79. package/esm2020/scrolling/virtual-scroll-viewport.mjs +24 -24
  80. package/esm2020/scrolling/virtual-scrollable-element.mjs +4 -4
  81. package/esm2020/scrolling/virtual-scrollable-window.mjs +4 -4
  82. package/esm2020/scrolling/virtual-scrollable.mjs +4 -4
  83. package/esm2020/stepper/step-header.mjs +4 -4
  84. package/esm2020/stepper/step-label.mjs +4 -4
  85. package/esm2020/stepper/stepper-button.mjs +7 -7
  86. package/esm2020/stepper/stepper-module.mjs +5 -5
  87. package/esm2020/stepper/stepper.mjs +37 -37
  88. package/esm2020/table/can-stick.mjs +7 -7
  89. package/esm2020/table/cell.mjs +27 -27
  90. package/esm2020/table/coalesced-style-scheduler.mjs +4 -4
  91. package/esm2020/table/row.mjs +28 -28
  92. package/esm2020/table/table-module.mjs +5 -5
  93. package/esm2020/table/table.mjs +93 -93
  94. package/esm2020/table/text-column.mjs +14 -14
  95. package/esm2020/testing/harness-environment.mjs +4 -4
  96. package/esm2020/text-field/autofill.mjs +7 -7
  97. package/esm2020/text-field/autosize.mjs +26 -26
  98. package/esm2020/text-field/text-field-module.mjs +5 -5
  99. package/esm2020/tree/nested-node.mjs +4 -4
  100. package/esm2020/tree/node.mjs +4 -4
  101. package/esm2020/tree/outlet.mjs +4 -4
  102. package/esm2020/tree/padding.mjs +21 -21
  103. package/esm2020/tree/toggle.mjs +9 -9
  104. package/esm2020/tree/tree-module.mjs +5 -5
  105. package/esm2020/tree/tree.mjs +30 -30
  106. package/esm2020/version.mjs +1 -1
  107. package/fesm2015/a11y.mjs +80 -80
  108. package/fesm2015/a11y.mjs.map +1 -1
  109. package/fesm2015/accordion.mjs +44 -44
  110. package/fesm2015/accordion.mjs.map +1 -1
  111. package/fesm2015/bidi.mjs +10 -10
  112. package/fesm2015/bidi.mjs.map +1 -1
  113. package/fesm2015/cdk.mjs +1 -1
  114. package/fesm2015/cdk.mjs.map +1 -1
  115. package/fesm2015/clipboard.mjs +10 -10
  116. package/fesm2015/clipboard.mjs.map +1 -1
  117. package/fesm2015/collections.mjs +10 -10
  118. package/fesm2015/collections.mjs.map +1 -1
  119. package/fesm2015/dialog.mjs +18 -18
  120. package/fesm2015/dialog.mjs.map +1 -1
  121. package/fesm2015/drag-drop.mjs +84 -71
  122. package/fesm2015/drag-drop.mjs.map +1 -1
  123. package/fesm2015/layout.mjs +10 -10
  124. package/fesm2015/layout.mjs.map +1 -1
  125. package/fesm2015/listbox.mjs +10 -10
  126. package/fesm2015/listbox.mjs.map +1 -1
  127. package/fesm2015/menu.mjs +90 -81
  128. package/fesm2015/menu.mjs.map +1 -1
  129. package/fesm2015/observers.mjs +22 -22
  130. package/fesm2015/observers.mjs.map +1 -1
  131. package/fesm2015/overlay.mjs +76 -75
  132. package/fesm2015/overlay.mjs.map +1 -1
  133. package/fesm2015/platform.mjs +7 -7
  134. package/fesm2015/platform.mjs.map +1 -1
  135. package/fesm2015/portal.mjs +16 -16
  136. package/fesm2015/portal.mjs.map +1 -1
  137. package/fesm2015/scrolling.mjs +99 -99
  138. package/fesm2015/scrolling.mjs.map +1 -1
  139. package/fesm2015/stepper.mjs +52 -52
  140. package/fesm2015/stepper.mjs.map +1 -1
  141. package/fesm2015/table.mjs +171 -171
  142. package/fesm2015/table.mjs.map +1 -1
  143. package/fesm2015/testing.mjs +3 -3
  144. package/fesm2015/testing.mjs.map +1 -1
  145. package/fesm2015/text-field.mjs +35 -35
  146. package/fesm2015/text-field.mjs.map +1 -1
  147. package/fesm2015/tree.mjs +70 -70
  148. package/fesm2015/tree.mjs.map +1 -1
  149. package/fesm2020/a11y.mjs +80 -80
  150. package/fesm2020/a11y.mjs.map +1 -1
  151. package/fesm2020/accordion.mjs +44 -44
  152. package/fesm2020/accordion.mjs.map +1 -1
  153. package/fesm2020/bidi.mjs +10 -10
  154. package/fesm2020/bidi.mjs.map +1 -1
  155. package/fesm2020/cdk.mjs +1 -1
  156. package/fesm2020/cdk.mjs.map +1 -1
  157. package/fesm2020/clipboard.mjs +10 -10
  158. package/fesm2020/clipboard.mjs.map +1 -1
  159. package/fesm2020/collections.mjs +10 -10
  160. package/fesm2020/collections.mjs.map +1 -1
  161. package/fesm2020/dialog.mjs +18 -18
  162. package/fesm2020/dialog.mjs.map +1 -1
  163. package/fesm2020/drag-drop.mjs +84 -71
  164. package/fesm2020/drag-drop.mjs.map +1 -1
  165. package/fesm2020/layout.mjs +10 -10
  166. package/fesm2020/layout.mjs.map +1 -1
  167. package/fesm2020/listbox.mjs +10 -10
  168. package/fesm2020/listbox.mjs.map +1 -1
  169. package/fesm2020/menu.mjs +89 -80
  170. package/fesm2020/menu.mjs.map +1 -1
  171. package/fesm2020/observers.mjs +22 -22
  172. package/fesm2020/observers.mjs.map +1 -1
  173. package/fesm2020/overlay.mjs +76 -75
  174. package/fesm2020/overlay.mjs.map +1 -1
  175. package/fesm2020/platform.mjs +7 -7
  176. package/fesm2020/platform.mjs.map +1 -1
  177. package/fesm2020/portal.mjs +16 -16
  178. package/fesm2020/portal.mjs.map +1 -1
  179. package/fesm2020/scrolling.mjs +99 -99
  180. package/fesm2020/scrolling.mjs.map +1 -1
  181. package/fesm2020/stepper.mjs +52 -52
  182. package/fesm2020/stepper.mjs.map +1 -1
  183. package/fesm2020/table.mjs +171 -171
  184. package/fesm2020/table.mjs.map +1 -1
  185. package/fesm2020/testing.mjs +3 -3
  186. package/fesm2020/testing.mjs.map +1 -1
  187. package/fesm2020/text-field.mjs +35 -35
  188. package/fesm2020/text-field.mjs.map +1 -1
  189. package/fesm2020/tree.mjs +70 -70
  190. package/fesm2020/tree.mjs.map +1 -1
  191. package/menu/index.d.ts +7 -8
  192. package/overlay/index.d.ts +7 -7
  193. package/package.json +1 -1
  194. package/schematics/ng-add/index.js +1 -1
  195. package/schematics/ng-add/index.mjs +1 -1
  196. package/schematics/ng-update/data/constructor-checks.d.ts +1 -1
  197. package/schematics/ng-update/devkit-migration-rule.d.ts +2 -2
  198. package/schematics/ng-update/devkit-migration.d.ts +2 -2
  199. package/schematics/update-tool/file-system.d.ts +1 -1
  200. package/schematics/update-tool/migration.d.ts +3 -3
  201. package/schematics/update-tool/utils/decorators.d.ts +1 -1
  202. package/schematics/update-tool/utils/property-name.d.ts +1 -1
  203. package/schematics/update-tool/version-changes.d.ts +3 -3
  204. package/schematics/utils/parse5-element.d.ts +2 -2
package/fesm2020/a11y.mjs CHANGED
@@ -261,9 +261,9 @@ class AriaDescriber {
261
261
  return element.nodeType === this._document.ELEMENT_NODE;
262
262
  }
263
263
  }
264
- AriaDescriber.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: AriaDescriber, deps: [{ token: DOCUMENT }, { token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable });
265
- AriaDescriber.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: AriaDescriber, providedIn: 'root' });
266
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: AriaDescriber, decorators: [{
264
+ AriaDescriber.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: AriaDescriber, deps: [{ token: DOCUMENT }, { token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable });
265
+ AriaDescriber.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: AriaDescriber, providedIn: 'root' });
266
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: AriaDescriber, decorators: [{
267
267
  type: Injectable,
268
268
  args: [{ providedIn: 'root' }]
269
269
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -823,9 +823,9 @@ class InteractivityChecker {
823
823
  (config?.ignoreVisibility || this.isVisible(element)));
824
824
  }
825
825
  }
826
- InteractivityChecker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: InteractivityChecker, deps: [{ token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable });
827
- InteractivityChecker.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: InteractivityChecker, providedIn: 'root' });
828
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: InteractivityChecker, decorators: [{
826
+ InteractivityChecker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: InteractivityChecker, deps: [{ token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable });
827
+ InteractivityChecker.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: InteractivityChecker, providedIn: 'root' });
828
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: InteractivityChecker, decorators: [{
829
829
  type: Injectable,
830
830
  args: [{ providedIn: 'root' }]
831
831
  }], ctorParameters: function () { return [{ type: i1.Platform }]; } });
@@ -941,6 +941,17 @@ function getWindow(node) {
941
941
  * @breaking-change 11.0.0
942
942
  */
943
943
  class FocusTrap {
944
+ /** Whether the focus trap is active. */
945
+ get enabled() {
946
+ return this._enabled;
947
+ }
948
+ set enabled(value) {
949
+ this._enabled = value;
950
+ if (this._startAnchor && this._endAnchor) {
951
+ this._toggleAnchorTabIndex(value, this._startAnchor);
952
+ this._toggleAnchorTabIndex(value, this._endAnchor);
953
+ }
954
+ }
944
955
  constructor(_element, _checker, _ngZone, _document, deferAnchors = false) {
945
956
  this._element = _element;
946
957
  this._checker = _checker;
@@ -955,17 +966,6 @@ class FocusTrap {
955
966
  this.attachAnchors();
956
967
  }
957
968
  }
958
- /** Whether the focus trap is active. */
959
- get enabled() {
960
- return this._enabled;
961
- }
962
- set enabled(value) {
963
- this._enabled = value;
964
- if (this._startAnchor && this._endAnchor) {
965
- this._toggleAnchorTabIndex(value, this._startAnchor);
966
- this._toggleAnchorTabIndex(value, this._endAnchor);
967
- }
968
- }
969
969
  /** Destroys the focus trap by cleaning up the anchors. */
970
970
  destroy() {
971
971
  const startAnchor = this._startAnchor;
@@ -1224,9 +1224,9 @@ class FocusTrapFactory {
1224
1224
  return new FocusTrap(element, this._checker, this._ngZone, this._document, deferCaptureElements);
1225
1225
  }
1226
1226
  }
1227
- FocusTrapFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: FocusTrapFactory, deps: [{ token: InteractivityChecker }, { token: i0.NgZone }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1228
- FocusTrapFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: FocusTrapFactory, providedIn: 'root' });
1229
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: FocusTrapFactory, decorators: [{
1227
+ FocusTrapFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: FocusTrapFactory, deps: [{ token: InteractivityChecker }, { token: i0.NgZone }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1228
+ FocusTrapFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: FocusTrapFactory, providedIn: 'root' });
1229
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: FocusTrapFactory, decorators: [{
1230
1230
  type: Injectable,
1231
1231
  args: [{ providedIn: 'root' }]
1232
1232
  }], ctorParameters: function () { return [{ type: InteractivityChecker }, { type: i0.NgZone }, { type: undefined, decorators: [{
@@ -1235,18 +1235,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImpor
1235
1235
  }] }]; } });
1236
1236
  /** Directive for trapping focus within a region. */
1237
1237
  class CdkTrapFocus {
1238
- constructor(_elementRef, _focusTrapFactory,
1239
- /**
1240
- * @deprecated No longer being used. To be removed.
1241
- * @breaking-change 13.0.0
1242
- */
1243
- _document) {
1244
- this._elementRef = _elementRef;
1245
- this._focusTrapFactory = _focusTrapFactory;
1246
- /** Previously focused element to restore focus to upon destroy when using autoCapture. */
1247
- this._previouslyFocusedElement = null;
1248
- this.focusTrap = this._focusTrapFactory.create(this._elementRef.nativeElement, true);
1249
- }
1250
1238
  /** Whether the focus trap is active. */
1251
1239
  get enabled() {
1252
1240
  return this.focusTrap.enabled;
@@ -1264,6 +1252,18 @@ class CdkTrapFocus {
1264
1252
  set autoCapture(value) {
1265
1253
  this._autoCapture = coerceBooleanProperty(value);
1266
1254
  }
1255
+ constructor(_elementRef, _focusTrapFactory,
1256
+ /**
1257
+ * @deprecated No longer being used. To be removed.
1258
+ * @breaking-change 13.0.0
1259
+ */
1260
+ _document) {
1261
+ this._elementRef = _elementRef;
1262
+ this._focusTrapFactory = _focusTrapFactory;
1263
+ /** Previously focused element to restore focus to upon destroy when using autoCapture. */
1264
+ this._previouslyFocusedElement = null;
1265
+ this.focusTrap = this._focusTrapFactory.create(this._elementRef.nativeElement, true);
1266
+ }
1267
1267
  ngOnDestroy() {
1268
1268
  this.focusTrap.destroy();
1269
1269
  // If we stored a previously focused element when using autoCapture, return focus to that
@@ -1298,9 +1298,9 @@ class CdkTrapFocus {
1298
1298
  this.focusTrap.focusInitialElementWhenReady();
1299
1299
  }
1300
1300
  }
1301
- CdkTrapFocus.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CdkTrapFocus, deps: [{ token: i0.ElementRef }, { token: FocusTrapFactory }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive });
1302
- CdkTrapFocus.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0", type: CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: { enabled: ["cdkTrapFocus", "enabled"], autoCapture: ["cdkTrapFocusAutoCapture", "autoCapture"] }, exportAs: ["cdkTrapFocus"], usesOnChanges: true, ngImport: i0 });
1303
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CdkTrapFocus, decorators: [{
1301
+ CdkTrapFocus.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: CdkTrapFocus, deps: [{ token: i0.ElementRef }, { token: FocusTrapFactory }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive });
1302
+ CdkTrapFocus.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", type: CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: { enabled: ["cdkTrapFocus", "enabled"], autoCapture: ["cdkTrapFocusAutoCapture", "autoCapture"] }, exportAs: ["cdkTrapFocus"], usesOnChanges: true, ngImport: i0 });
1303
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: CdkTrapFocus, decorators: [{
1304
1304
  type: Directive,
1305
1305
  args: [{
1306
1306
  selector: '[cdkTrapFocus]',
@@ -1331,12 +1331,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImpor
1331
1331
  * See FocusTrapInertStrategy.
1332
1332
  */
1333
1333
  class ConfigurableFocusTrap extends FocusTrap {
1334
- constructor(_element, _checker, _ngZone, _document, _focusTrapManager, _inertStrategy, config) {
1335
- super(_element, _checker, _ngZone, _document, config.defer);
1336
- this._focusTrapManager = _focusTrapManager;
1337
- this._inertStrategy = _inertStrategy;
1338
- this._focusTrapManager.register(this);
1339
- }
1340
1334
  /** Whether the FocusTrap is enabled. */
1341
1335
  get enabled() {
1342
1336
  return this._enabled;
@@ -1350,6 +1344,12 @@ class ConfigurableFocusTrap extends FocusTrap {
1350
1344
  this._focusTrapManager.deregister(this);
1351
1345
  }
1352
1346
  }
1347
+ constructor(_element, _checker, _ngZone, _document, _focusTrapManager, _inertStrategy, config) {
1348
+ super(_element, _checker, _ngZone, _document, config.defer);
1349
+ this._focusTrapManager = _focusTrapManager;
1350
+ this._inertStrategy = _inertStrategy;
1351
+ this._focusTrapManager.register(this);
1352
+ }
1353
1353
  /** Notifies the FocusTrapManager that this FocusTrap will be destroyed. */
1354
1354
  destroy() {
1355
1355
  this._focusTrapManager.deregister(this);
@@ -1490,9 +1490,9 @@ class FocusTrapManager {
1490
1490
  }
1491
1491
  }
1492
1492
  }
1493
- FocusTrapManager.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: FocusTrapManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1494
- FocusTrapManager.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: FocusTrapManager, providedIn: 'root' });
1495
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: FocusTrapManager, decorators: [{
1493
+ FocusTrapManager.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: FocusTrapManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1494
+ FocusTrapManager.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: FocusTrapManager, providedIn: 'root' });
1495
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: FocusTrapManager, decorators: [{
1496
1496
  type: Injectable,
1497
1497
  args: [{ providedIn: 'root' }]
1498
1498
  }] });
@@ -1525,9 +1525,9 @@ class ConfigurableFocusTrapFactory {
1525
1525
  return new ConfigurableFocusTrap(element, this._checker, this._ngZone, this._document, this._focusTrapManager, this._inertStrategy, configObject);
1526
1526
  }
1527
1527
  }
1528
- ConfigurableFocusTrapFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.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 });
1529
- ConfigurableFocusTrapFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: ConfigurableFocusTrapFactory, providedIn: 'root' });
1530
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: ConfigurableFocusTrapFactory, decorators: [{
1528
+ ConfigurableFocusTrapFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.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 });
1529
+ ConfigurableFocusTrapFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ConfigurableFocusTrapFactory, providedIn: 'root' });
1530
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ConfigurableFocusTrapFactory, decorators: [{
1531
1531
  type: Injectable,
1532
1532
  args: [{ providedIn: 'root' }]
1533
1533
  }], ctorParameters: function () { return [{ type: InteractivityChecker }, { type: i0.NgZone }, { type: FocusTrapManager }, { type: undefined, decorators: [{
@@ -1633,6 +1633,10 @@ const modalityEventListenerOptions = normalizePassiveListenerOptions({
1633
1633
  * undefined.
1634
1634
  */
1635
1635
  class InputModalityDetector {
1636
+ /** The most recently detected input modality. */
1637
+ get mostRecentModality() {
1638
+ return this._modality.value;
1639
+ }
1636
1640
  constructor(_platform, ngZone, document, options) {
1637
1641
  this._platform = _platform;
1638
1642
  /**
@@ -1710,10 +1714,6 @@ class InputModalityDetector {
1710
1714
  });
1711
1715
  }
1712
1716
  }
1713
- /** The most recently detected input modality. */
1714
- get mostRecentModality() {
1715
- return this._modality.value;
1716
- }
1717
1717
  ngOnDestroy() {
1718
1718
  this._modality.complete();
1719
1719
  if (this._platform.isBrowser) {
@@ -1723,9 +1723,9 @@ class InputModalityDetector {
1723
1723
  }
1724
1724
  }
1725
1725
  }
1726
- InputModalityDetector.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.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 });
1727
- InputModalityDetector.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: InputModalityDetector, providedIn: 'root' });
1728
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: InputModalityDetector, decorators: [{
1726
+ InputModalityDetector.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.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 });
1727
+ InputModalityDetector.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: InputModalityDetector, providedIn: 'root' });
1728
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: InputModalityDetector, decorators: [{
1729
1729
  type: Injectable,
1730
1730
  args: [{ providedIn: 'root' }]
1731
1731
  }], ctorParameters: function () { return [{ type: i1.Platform }, { type: i0.NgZone }, { type: Document, decorators: [{
@@ -1874,9 +1874,9 @@ class LiveAnnouncer {
1874
1874
  }
1875
1875
  }
1876
1876
  }
1877
- LiveAnnouncer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.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 });
1878
- LiveAnnouncer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LiveAnnouncer, providedIn: 'root' });
1879
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: LiveAnnouncer, decorators: [{
1877
+ LiveAnnouncer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.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 });
1878
+ LiveAnnouncer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: LiveAnnouncer, providedIn: 'root' });
1879
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: LiveAnnouncer, decorators: [{
1880
1880
  type: Injectable,
1881
1881
  args: [{ providedIn: 'root' }]
1882
1882
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -1898,13 +1898,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImpor
1898
1898
  * with a wider range of browsers and screen readers.
1899
1899
  */
1900
1900
  class CdkAriaLive {
1901
- constructor(_elementRef, _liveAnnouncer, _contentObserver, _ngZone) {
1902
- this._elementRef = _elementRef;
1903
- this._liveAnnouncer = _liveAnnouncer;
1904
- this._contentObserver = _contentObserver;
1905
- this._ngZone = _ngZone;
1906
- this._politeness = 'polite';
1907
- }
1908
1901
  /** The aria-live politeness level to use when announcing messages. */
1909
1902
  get politeness() {
1910
1903
  return this._politeness;
@@ -1932,15 +1925,22 @@ class CdkAriaLive {
1932
1925
  });
1933
1926
  }
1934
1927
  }
1928
+ constructor(_elementRef, _liveAnnouncer, _contentObserver, _ngZone) {
1929
+ this._elementRef = _elementRef;
1930
+ this._liveAnnouncer = _liveAnnouncer;
1931
+ this._contentObserver = _contentObserver;
1932
+ this._ngZone = _ngZone;
1933
+ this._politeness = 'polite';
1934
+ }
1935
1935
  ngOnDestroy() {
1936
1936
  if (this._subscription) {
1937
1937
  this._subscription.unsubscribe();
1938
1938
  }
1939
1939
  }
1940
1940
  }
1941
- CdkAriaLive.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CdkAriaLive, deps: [{ token: i0.ElementRef }, { token: LiveAnnouncer }, { token: i1$1.ContentObserver }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
1942
- CdkAriaLive.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0", type: CdkAriaLive, selector: "[cdkAriaLive]", inputs: { politeness: ["cdkAriaLive", "politeness"], duration: ["cdkAriaLiveDuration", "duration"] }, exportAs: ["cdkAriaLive"], ngImport: i0 });
1943
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CdkAriaLive, decorators: [{
1941
+ CdkAriaLive.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: CdkAriaLive, deps: [{ token: i0.ElementRef }, { token: LiveAnnouncer }, { token: i1$1.ContentObserver }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
1942
+ CdkAriaLive.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", type: CdkAriaLive, selector: "[cdkAriaLive]", inputs: { politeness: ["cdkAriaLive", "politeness"], duration: ["cdkAriaLiveDuration", "duration"] }, exportAs: ["cdkAriaLive"], ngImport: i0 });
1943
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: CdkAriaLive, decorators: [{
1944
1944
  type: Directive,
1945
1945
  args: [{
1946
1946
  selector: '[cdkAriaLive]',
@@ -2332,9 +2332,9 @@ class FocusMonitor {
2332
2332
  return false;
2333
2333
  }
2334
2334
  }
2335
- FocusMonitor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.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 });
2336
- FocusMonitor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: FocusMonitor, providedIn: 'root' });
2337
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: FocusMonitor, decorators: [{
2335
+ FocusMonitor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.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 });
2336
+ FocusMonitor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: FocusMonitor, providedIn: 'root' });
2337
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: FocusMonitor, decorators: [{
2338
2338
  type: Injectable,
2339
2339
  args: [{ providedIn: 'root' }]
2340
2340
  }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i1.Platform }, { type: InputModalityDetector }, { type: undefined, decorators: [{
@@ -2383,9 +2383,9 @@ class CdkMonitorFocus {
2383
2383
  }
2384
2384
  }
2385
2385
  }
2386
- CdkMonitorFocus.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CdkMonitorFocus, deps: [{ token: i0.ElementRef }, { token: FocusMonitor }], target: i0.ɵɵFactoryTarget.Directive });
2387
- CdkMonitorFocus.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0", type: CdkMonitorFocus, selector: "[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]", outputs: { cdkFocusChange: "cdkFocusChange" }, exportAs: ["cdkMonitorFocus"], ngImport: i0 });
2388
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: CdkMonitorFocus, decorators: [{
2386
+ CdkMonitorFocus.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: CdkMonitorFocus, deps: [{ token: i0.ElementRef }, { token: FocusMonitor }], target: i0.ɵɵFactoryTarget.Directive });
2387
+ CdkMonitorFocus.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-rc.0", type: CdkMonitorFocus, selector: "[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]", outputs: { cdkFocusChange: "cdkFocusChange" }, exportAs: ["cdkMonitorFocus"], ngImport: i0 });
2388
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: CdkMonitorFocus, decorators: [{
2389
2389
  type: Directive,
2390
2390
  args: [{
2391
2391
  selector: '[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]',
@@ -2488,9 +2488,9 @@ class HighContrastModeDetector {
2488
2488
  }
2489
2489
  }
2490
2490
  }
2491
- HighContrastModeDetector.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: HighContrastModeDetector, deps: [{ token: i1.Platform }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
2492
- HighContrastModeDetector.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: HighContrastModeDetector, providedIn: 'root' });
2493
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: HighContrastModeDetector, decorators: [{
2491
+ HighContrastModeDetector.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: HighContrastModeDetector, deps: [{ token: i1.Platform }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
2492
+ HighContrastModeDetector.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: HighContrastModeDetector, providedIn: 'root' });
2493
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: HighContrastModeDetector, decorators: [{
2494
2494
  type: Injectable,
2495
2495
  args: [{ providedIn: 'root' }]
2496
2496
  }], ctorParameters: function () { return [{ type: i1.Platform }, { type: undefined, decorators: [{
@@ -2510,10 +2510,10 @@ class A11yModule {
2510
2510
  highContrastModeDetector._applyBodyHighContrastModeCssClasses();
2511
2511
  }
2512
2512
  }
2513
- A11yModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: A11yModule, deps: [{ token: HighContrastModeDetector }], target: i0.ɵɵFactoryTarget.NgModule });
2514
- A11yModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.0", ngImport: i0, type: A11yModule, declarations: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus], imports: [ObserversModule], exports: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus] });
2515
- A11yModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: A11yModule, imports: [ObserversModule] });
2516
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImport: i0, type: A11yModule, decorators: [{
2513
+ A11yModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: A11yModule, deps: [{ token: HighContrastModeDetector }], target: i0.ɵɵFactoryTarget.NgModule });
2514
+ A11yModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0-rc.0", ngImport: i0, type: A11yModule, declarations: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus], imports: [ObserversModule], exports: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus] });
2515
+ A11yModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: A11yModule, imports: [ObserversModule] });
2516
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: A11yModule, decorators: [{
2517
2517
  type: NgModule,
2518
2518
  args: [{
2519
2519
  imports: [ObserversModule],