@angular/cdk 14.2.0-next.2 → 14.2.1

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 (171) hide show
  1. package/a11y/index.d.ts +3 -1
  2. package/dialog/index.d.ts +2 -0
  3. package/esm2020/a11y/a11y-module.mjs +4 -4
  4. package/esm2020/a11y/aria-describer/aria-describer.mjs +3 -3
  5. package/esm2020/a11y/focus-monitor/focus-monitor.mjs +16 -8
  6. package/esm2020/a11y/focus-trap/configurable-focus-trap-factory.mjs +3 -3
  7. package/esm2020/a11y/focus-trap/focus-trap-manager.mjs +3 -3
  8. package/esm2020/a11y/focus-trap/focus-trap.mjs +6 -6
  9. package/esm2020/a11y/high-contrast-mode/high-contrast-mode-detector.mjs +3 -3
  10. package/esm2020/a11y/input-modality/input-modality-detector.mjs +3 -3
  11. package/esm2020/a11y/interactivity-checker/interactivity-checker.mjs +3 -3
  12. package/esm2020/a11y/live-announcer/live-announcer.mjs +6 -6
  13. package/esm2020/accordion/accordion-item.mjs +3 -3
  14. package/esm2020/accordion/accordion-module.mjs +4 -4
  15. package/esm2020/accordion/accordion.mjs +3 -3
  16. package/esm2020/bidi/bidi-module.mjs +4 -4
  17. package/esm2020/bidi/dir.mjs +3 -3
  18. package/esm2020/bidi/directionality.mjs +3 -3
  19. package/esm2020/clipboard/clipboard-module.mjs +4 -4
  20. package/esm2020/clipboard/clipboard.mjs +3 -3
  21. package/esm2020/clipboard/copy-to-clipboard.mjs +3 -3
  22. package/esm2020/collections/data-source.mjs +5 -3
  23. package/esm2020/collections/unique-selection-dispatcher.mjs +3 -3
  24. package/esm2020/dialog/dialog-container.mjs +3 -3
  25. package/esm2020/dialog/dialog-module.mjs +4 -4
  26. package/esm2020/dialog/dialog.mjs +12 -9
  27. package/esm2020/drag-drop/directives/drag-handle.mjs +3 -3
  28. package/esm2020/drag-drop/directives/drag-placeholder.mjs +3 -3
  29. package/esm2020/drag-drop/directives/drag-preview.mjs +3 -3
  30. package/esm2020/drag-drop/directives/drag.mjs +4 -4
  31. package/esm2020/drag-drop/directives/drop-list-group.mjs +3 -3
  32. package/esm2020/drag-drop/directives/drop-list.mjs +4 -4
  33. package/esm2020/drag-drop/drag-drop-module.mjs +4 -4
  34. package/esm2020/drag-drop/drag-drop-registry.mjs +3 -3
  35. package/esm2020/drag-drop/drag-drop.mjs +3 -3
  36. package/esm2020/layout/breakpoints-observer.mjs +3 -3
  37. package/esm2020/layout/layout-module.mjs +4 -4
  38. package/esm2020/layout/media-matcher.mjs +3 -3
  39. package/esm2020/listbox/index.mjs +9 -0
  40. package/esm2020/listbox/listbox-module.mjs +24 -0
  41. package/esm2020/listbox/listbox.mjs +875 -0
  42. package/esm2020/listbox/listbox_public_index.mjs +5 -0
  43. package/esm2020/listbox/public-api.mjs +10 -0
  44. package/esm2020/menu/context-menu-trigger.mjs +6 -6
  45. package/esm2020/menu/menu-aim.mjs +6 -6
  46. package/esm2020/menu/menu-bar.mjs +3 -3
  47. package/esm2020/menu/menu-base.mjs +3 -3
  48. package/esm2020/menu/menu-group.mjs +3 -3
  49. package/esm2020/menu/menu-item-checkbox.mjs +3 -3
  50. package/esm2020/menu/menu-item-radio.mjs +3 -3
  51. package/esm2020/menu/menu-item-selectable.mjs +3 -3
  52. package/esm2020/menu/menu-item.mjs +3 -3
  53. package/esm2020/menu/menu-module.mjs +4 -4
  54. package/esm2020/menu/menu-stack.mjs +3 -3
  55. package/esm2020/menu/menu-trigger-base.mjs +3 -3
  56. package/esm2020/menu/menu-trigger.mjs +3 -3
  57. package/esm2020/menu/menu.mjs +3 -3
  58. package/esm2020/observers/observe-content.mjs +13 -13
  59. package/esm2020/overlay/dispatchers/base-overlay-dispatcher.mjs +3 -3
  60. package/esm2020/overlay/dispatchers/overlay-keyboard-dispatcher.mjs +3 -3
  61. package/esm2020/overlay/dispatchers/overlay-outside-click-dispatcher.mjs +3 -3
  62. package/esm2020/overlay/fullscreen-overlay-container.mjs +3 -3
  63. package/esm2020/overlay/overlay-container.mjs +3 -3
  64. package/esm2020/overlay/overlay-directives.mjs +7 -7
  65. package/esm2020/overlay/overlay-module.mjs +4 -4
  66. package/esm2020/overlay/overlay.mjs +3 -3
  67. package/esm2020/overlay/position/overlay-position-builder.mjs +3 -3
  68. package/esm2020/overlay/scroll/scroll-strategy-options.mjs +3 -3
  69. package/esm2020/platform/platform-module.mjs +4 -4
  70. package/esm2020/platform/platform.mjs +3 -3
  71. package/esm2020/portal/portal-directives.mjs +16 -16
  72. package/esm2020/scrolling/fixed-size-virtual-scroll.mjs +3 -3
  73. package/esm2020/scrolling/scroll-dispatcher.mjs +3 -3
  74. package/esm2020/scrolling/scrollable.mjs +3 -3
  75. package/esm2020/scrolling/scrolling-module.mjs +8 -8
  76. package/esm2020/scrolling/viewport-ruler.mjs +3 -3
  77. package/esm2020/scrolling/virtual-for-of.mjs +3 -3
  78. package/esm2020/scrolling/virtual-scroll-viewport.mjs +11 -5
  79. package/esm2020/scrolling/virtual-scrollable-element.mjs +3 -3
  80. package/esm2020/scrolling/virtual-scrollable-window.mjs +3 -3
  81. package/esm2020/scrolling/virtual-scrollable.mjs +3 -3
  82. package/esm2020/stepper/step-header.mjs +3 -3
  83. package/esm2020/stepper/step-label.mjs +3 -3
  84. package/esm2020/stepper/stepper-button.mjs +6 -6
  85. package/esm2020/stepper/stepper-module.mjs +4 -4
  86. package/esm2020/stepper/stepper.mjs +6 -6
  87. package/esm2020/table/cell.mjs +21 -21
  88. package/esm2020/table/coalesced-style-scheduler.mjs +3 -3
  89. package/esm2020/table/row.mjs +28 -28
  90. package/esm2020/table/table-module.mjs +4 -4
  91. package/esm2020/table/table.mjs +18 -18
  92. package/esm2020/table/text-column.mjs +3 -3
  93. package/esm2020/text-field/autofill.mjs +6 -6
  94. package/esm2020/text-field/autosize.mjs +3 -3
  95. package/esm2020/text-field/text-field-module.mjs +4 -4
  96. package/esm2020/tree/nested-node.mjs +3 -3
  97. package/esm2020/tree/node.mjs +3 -3
  98. package/esm2020/tree/outlet.mjs +3 -3
  99. package/esm2020/tree/padding.mjs +3 -3
  100. package/esm2020/tree/toggle.mjs +3 -3
  101. package/esm2020/tree/tree-module.mjs +4 -4
  102. package/esm2020/tree/tree.mjs +7 -7
  103. package/esm2020/version.mjs +1 -1
  104. package/fesm2015/a11y.mjs +49 -41
  105. package/fesm2015/a11y.mjs.map +1 -1
  106. package/fesm2015/accordion.mjs +10 -10
  107. package/fesm2015/bidi.mjs +10 -10
  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/collections.mjs +7 -6
  112. package/fesm2015/collections.mjs.map +1 -1
  113. package/fesm2015/dialog.mjs +20 -16
  114. package/fesm2015/dialog.mjs.map +1 -1
  115. package/fesm2015/drag-drop.mjs +28 -28
  116. package/fesm2015/drag-drop.mjs.map +1 -1
  117. package/fesm2015/layout.mjs +10 -10
  118. package/fesm2015/listbox.mjs +930 -0
  119. package/fesm2015/listbox.mjs.map +1 -0
  120. package/fesm2015/menu.mjs +49 -49
  121. package/fesm2015/observers.mjs +13 -13
  122. package/fesm2015/overlay.mjs +34 -34
  123. package/fesm2015/overlay.mjs.map +1 -1
  124. package/fesm2015/platform.mjs +7 -7
  125. package/fesm2015/portal.mjs +16 -16
  126. package/fesm2015/scrolling.mjs +42 -37
  127. package/fesm2015/scrolling.mjs.map +1 -1
  128. package/fesm2015/stepper.mjs +22 -22
  129. package/fesm2015/table.mjs +76 -76
  130. package/fesm2015/table.mjs.map +1 -1
  131. package/fesm2015/text-field.mjs +13 -13
  132. package/fesm2015/tree.mjs +25 -25
  133. package/fesm2015/tree.mjs.map +1 -1
  134. package/fesm2020/a11y.mjs +49 -41
  135. package/fesm2020/a11y.mjs.map +1 -1
  136. package/fesm2020/accordion.mjs +10 -10
  137. package/fesm2020/bidi.mjs +10 -10
  138. package/fesm2020/cdk.mjs +1 -1
  139. package/fesm2020/cdk.mjs.map +1 -1
  140. package/fesm2020/clipboard.mjs +10 -10
  141. package/fesm2020/collections.mjs +7 -6
  142. package/fesm2020/collections.mjs.map +1 -1
  143. package/fesm2020/dialog.mjs +18 -15
  144. package/fesm2020/dialog.mjs.map +1 -1
  145. package/fesm2020/drag-drop.mjs +28 -28
  146. package/fesm2020/drag-drop.mjs.map +1 -1
  147. package/fesm2020/layout.mjs +10 -10
  148. package/fesm2020/listbox.mjs +919 -0
  149. package/fesm2020/listbox.mjs.map +1 -0
  150. package/fesm2020/menu.mjs +49 -49
  151. package/fesm2020/observers.mjs +13 -13
  152. package/fesm2020/overlay.mjs +34 -34
  153. package/fesm2020/overlay.mjs.map +1 -1
  154. package/fesm2020/platform.mjs +7 -7
  155. package/fesm2020/portal.mjs +16 -16
  156. package/fesm2020/scrolling.mjs +42 -37
  157. package/fesm2020/scrolling.mjs.map +1 -1
  158. package/fesm2020/stepper.mjs +22 -22
  159. package/fesm2020/table.mjs +76 -76
  160. package/fesm2020/table.mjs.map +1 -1
  161. package/fesm2020/text-field.mjs +13 -13
  162. package/fesm2020/tree.mjs +25 -25
  163. package/fesm2020/tree.mjs.map +1 -1
  164. package/listbox/index.d.ts +375 -0
  165. package/overlay/index.d.ts +1 -1
  166. package/package.json +9 -1
  167. package/schematics/ng-add/index.js +1 -1
  168. package/schematics/ng-add/index.mjs +1 -1
  169. package/schematics/update-tool/component-resource-collector.js +6 -3
  170. package/schematics/update-tool/component-resource-collector.mjs +6 -3
  171. package/scrolling/index.d.ts +1 -0
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: "14.0.1", ngImport: i0, type: AriaDescriber, deps: [{ token: DOCUMENT }, { token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable });
265
- AriaDescriber.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: AriaDescriber, providedIn: 'root' });
266
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: AriaDescriber, decorators: [{
264
+ AriaDescriber.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.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: "14.2.0", ngImport: i0, type: AriaDescriber, providedIn: 'root' });
266
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: AriaDescriber, decorators: [{
267
267
  type: Injectable,
268
268
  args: [{ providedIn: 'root' }]
269
269
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -779,9 +779,9 @@ class InteractivityChecker {
779
779
  (config?.ignoreVisibility || this.isVisible(element)));
780
780
  }
781
781
  }
782
- InteractivityChecker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: InteractivityChecker, deps: [{ token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable });
783
- InteractivityChecker.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: InteractivityChecker, providedIn: 'root' });
784
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: InteractivityChecker, decorators: [{
782
+ InteractivityChecker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: InteractivityChecker, deps: [{ token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable });
783
+ InteractivityChecker.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: InteractivityChecker, providedIn: 'root' });
784
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: InteractivityChecker, decorators: [{
785
785
  type: Injectable,
786
786
  args: [{ providedIn: 'root' }]
787
787
  }], ctorParameters: function () { return [{ type: i1.Platform }]; } });
@@ -1180,9 +1180,9 @@ class FocusTrapFactory {
1180
1180
  return new FocusTrap(element, this._checker, this._ngZone, this._document, deferCaptureElements);
1181
1181
  }
1182
1182
  }
1183
- FocusTrapFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: FocusTrapFactory, deps: [{ token: InteractivityChecker }, { token: i0.NgZone }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1184
- FocusTrapFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: FocusTrapFactory, providedIn: 'root' });
1185
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: FocusTrapFactory, decorators: [{
1183
+ FocusTrapFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: FocusTrapFactory, deps: [{ token: InteractivityChecker }, { token: i0.NgZone }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
1184
+ FocusTrapFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: FocusTrapFactory, providedIn: 'root' });
1185
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: FocusTrapFactory, decorators: [{
1186
1186
  type: Injectable,
1187
1187
  args: [{ providedIn: 'root' }]
1188
1188
  }], ctorParameters: function () { return [{ type: InteractivityChecker }, { type: i0.NgZone }, { type: undefined, decorators: [{
@@ -1254,9 +1254,9 @@ class CdkTrapFocus {
1254
1254
  this.focusTrap.focusInitialElementWhenReady();
1255
1255
  }
1256
1256
  }
1257
- CdkTrapFocus.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: CdkTrapFocus, deps: [{ token: i0.ElementRef }, { token: FocusTrapFactory }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive });
1258
- CdkTrapFocus.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.1", type: CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: { enabled: ["cdkTrapFocus", "enabled"], autoCapture: ["cdkTrapFocusAutoCapture", "autoCapture"] }, exportAs: ["cdkTrapFocus"], usesOnChanges: true, ngImport: i0 });
1259
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: CdkTrapFocus, decorators: [{
1257
+ CdkTrapFocus.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: CdkTrapFocus, deps: [{ token: i0.ElementRef }, { token: FocusTrapFactory }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive });
1258
+ CdkTrapFocus.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.0", type: CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: { enabled: ["cdkTrapFocus", "enabled"], autoCapture: ["cdkTrapFocusAutoCapture", "autoCapture"] }, exportAs: ["cdkTrapFocus"], usesOnChanges: true, ngImport: i0 });
1259
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: CdkTrapFocus, decorators: [{
1260
1260
  type: Directive,
1261
1261
  args: [{
1262
1262
  selector: '[cdkTrapFocus]',
@@ -1446,9 +1446,9 @@ class FocusTrapManager {
1446
1446
  }
1447
1447
  }
1448
1448
  }
1449
- FocusTrapManager.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: FocusTrapManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1450
- FocusTrapManager.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: FocusTrapManager, providedIn: 'root' });
1451
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: FocusTrapManager, decorators: [{
1449
+ FocusTrapManager.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: FocusTrapManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1450
+ FocusTrapManager.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: FocusTrapManager, providedIn: 'root' });
1451
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: FocusTrapManager, decorators: [{
1452
1452
  type: Injectable,
1453
1453
  args: [{ providedIn: 'root' }]
1454
1454
  }] });
@@ -1481,9 +1481,9 @@ class ConfigurableFocusTrapFactory {
1481
1481
  return new ConfigurableFocusTrap(element, this._checker, this._ngZone, this._document, this._focusTrapManager, this._inertStrategy, configObject);
1482
1482
  }
1483
1483
  }
1484
- ConfigurableFocusTrapFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", 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 });
1485
- ConfigurableFocusTrapFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: ConfigurableFocusTrapFactory, providedIn: 'root' });
1486
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: ConfigurableFocusTrapFactory, decorators: [{
1484
+ ConfigurableFocusTrapFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.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 });
1485
+ ConfigurableFocusTrapFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: ConfigurableFocusTrapFactory, providedIn: 'root' });
1486
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: ConfigurableFocusTrapFactory, decorators: [{
1487
1487
  type: Injectable,
1488
1488
  args: [{ providedIn: 'root' }]
1489
1489
  }], ctorParameters: function () { return [{ type: InteractivityChecker }, { type: i0.NgZone }, { type: FocusTrapManager }, { type: undefined, decorators: [{
@@ -1679,9 +1679,9 @@ class InputModalityDetector {
1679
1679
  }
1680
1680
  }
1681
1681
  }
1682
- InputModalityDetector.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: InputModalityDetector, deps: [{ token: i1.Platform }, { token: i0.NgZone }, { token: DOCUMENT }, { token: INPUT_MODALITY_DETECTOR_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1683
- InputModalityDetector.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: InputModalityDetector, providedIn: 'root' });
1684
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: InputModalityDetector, decorators: [{
1682
+ InputModalityDetector.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.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 });
1683
+ InputModalityDetector.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: InputModalityDetector, providedIn: 'root' });
1684
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: InputModalityDetector, decorators: [{
1685
1685
  type: Injectable,
1686
1686
  args: [{ providedIn: 'root' }]
1687
1687
  }], ctorParameters: function () { return [{ type: i1.Platform }, { type: i0.NgZone }, { type: Document, decorators: [{
@@ -1804,9 +1804,9 @@ class LiveAnnouncer {
1804
1804
  return liveEl;
1805
1805
  }
1806
1806
  }
1807
- LiveAnnouncer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", 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 });
1808
- LiveAnnouncer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: LiveAnnouncer, providedIn: 'root' });
1809
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: LiveAnnouncer, decorators: [{
1807
+ LiveAnnouncer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.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 });
1808
+ LiveAnnouncer.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: LiveAnnouncer, providedIn: 'root' });
1809
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: LiveAnnouncer, decorators: [{
1810
1810
  type: Injectable,
1811
1811
  args: [{ providedIn: 'root' }]
1812
1812
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -1868,9 +1868,9 @@ class CdkAriaLive {
1868
1868
  }
1869
1869
  }
1870
1870
  }
1871
- CdkAriaLive.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: CdkAriaLive, deps: [{ token: i0.ElementRef }, { token: LiveAnnouncer }, { token: i1$1.ContentObserver }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
1872
- CdkAriaLive.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.1", type: CdkAriaLive, selector: "[cdkAriaLive]", inputs: { politeness: ["cdkAriaLive", "politeness"], duration: ["cdkAriaLiveDuration", "duration"] }, exportAs: ["cdkAriaLive"], ngImport: i0 });
1873
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: CdkAriaLive, decorators: [{
1871
+ CdkAriaLive.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: CdkAriaLive, deps: [{ token: i0.ElementRef }, { token: LiveAnnouncer }, { token: i1$1.ContentObserver }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
1872
+ CdkAriaLive.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.0", type: CdkAriaLive, selector: "[cdkAriaLive]", inputs: { politeness: ["cdkAriaLive", "politeness"], duration: ["cdkAriaLiveDuration", "duration"] }, exportAs: ["cdkAriaLive"], ngImport: i0 });
1873
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: CdkAriaLive, decorators: [{
1874
1874
  type: Directive,
1875
1875
  args: [{
1876
1876
  selector: '[cdkAriaLive]',
@@ -2262,9 +2262,9 @@ class FocusMonitor {
2262
2262
  return false;
2263
2263
  }
2264
2264
  }
2265
- FocusMonitor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", 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 });
2266
- FocusMonitor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: FocusMonitor, providedIn: 'root' });
2267
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: FocusMonitor, decorators: [{
2265
+ FocusMonitor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.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 });
2266
+ FocusMonitor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: FocusMonitor, providedIn: 'root' });
2267
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: FocusMonitor, decorators: [{
2268
2268
  type: Injectable,
2269
2269
  args: [{ providedIn: 'root' }]
2270
2270
  }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i1.Platform }, { type: InputModalityDetector }, { type: undefined, decorators: [{
@@ -2291,13 +2291,20 @@ class CdkMonitorFocus {
2291
2291
  constructor(_elementRef, _focusMonitor) {
2292
2292
  this._elementRef = _elementRef;
2293
2293
  this._focusMonitor = _focusMonitor;
2294
+ this._focusOrigin = null;
2294
2295
  this.cdkFocusChange = new EventEmitter();
2295
2296
  }
2297
+ get focusOrigin() {
2298
+ return this._focusOrigin;
2299
+ }
2296
2300
  ngAfterViewInit() {
2297
2301
  const element = this._elementRef.nativeElement;
2298
2302
  this._monitorSubscription = this._focusMonitor
2299
2303
  .monitor(element, element.nodeType === 1 && element.hasAttribute('cdkMonitorSubtreeFocus'))
2300
- .subscribe(origin => this.cdkFocusChange.emit(origin));
2304
+ .subscribe(origin => {
2305
+ this._focusOrigin = origin;
2306
+ this.cdkFocusChange.emit(origin);
2307
+ });
2301
2308
  }
2302
2309
  ngOnDestroy() {
2303
2310
  this._focusMonitor.stopMonitoring(this._elementRef);
@@ -2306,12 +2313,13 @@ class CdkMonitorFocus {
2306
2313
  }
2307
2314
  }
2308
2315
  }
2309
- CdkMonitorFocus.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: CdkMonitorFocus, deps: [{ token: i0.ElementRef }, { token: FocusMonitor }], target: i0.ɵɵFactoryTarget.Directive });
2310
- CdkMonitorFocus.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.0.1", type: CdkMonitorFocus, selector: "[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]", outputs: { cdkFocusChange: "cdkFocusChange" }, ngImport: i0 });
2311
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: CdkMonitorFocus, decorators: [{
2316
+ CdkMonitorFocus.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: CdkMonitorFocus, deps: [{ token: i0.ElementRef }, { token: FocusMonitor }], target: i0.ɵɵFactoryTarget.Directive });
2317
+ CdkMonitorFocus.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.0", type: CdkMonitorFocus, selector: "[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]", outputs: { cdkFocusChange: "cdkFocusChange" }, exportAs: ["cdkMonitorFocus"], ngImport: i0 });
2318
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: CdkMonitorFocus, decorators: [{
2312
2319
  type: Directive,
2313
2320
  args: [{
2314
2321
  selector: '[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]',
2322
+ exportAs: 'cdkMonitorFocus',
2315
2323
  }]
2316
2324
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: FocusMonitor }]; }, propDecorators: { cdkFocusChange: [{
2317
2325
  type: Output
@@ -2403,9 +2411,9 @@ class HighContrastModeDetector {
2403
2411
  }
2404
2412
  }
2405
2413
  }
2406
- HighContrastModeDetector.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: HighContrastModeDetector, deps: [{ token: i1.Platform }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
2407
- HighContrastModeDetector.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: HighContrastModeDetector, providedIn: 'root' });
2408
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: HighContrastModeDetector, decorators: [{
2414
+ HighContrastModeDetector.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: HighContrastModeDetector, deps: [{ token: i1.Platform }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
2415
+ HighContrastModeDetector.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: HighContrastModeDetector, providedIn: 'root' });
2416
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: HighContrastModeDetector, decorators: [{
2409
2417
  type: Injectable,
2410
2418
  args: [{ providedIn: 'root' }]
2411
2419
  }], ctorParameters: function () { return [{ type: i1.Platform }, { type: undefined, decorators: [{
@@ -2425,10 +2433,10 @@ class A11yModule {
2425
2433
  highContrastModeDetector._applyBodyHighContrastModeCssClasses();
2426
2434
  }
2427
2435
  }
2428
- A11yModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: A11yModule, deps: [{ token: HighContrastModeDetector }], target: i0.ɵɵFactoryTarget.NgModule });
2429
- A11yModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.1", ngImport: i0, type: A11yModule, declarations: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus], imports: [ObserversModule], exports: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus] });
2430
- A11yModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: A11yModule, imports: [ObserversModule] });
2431
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.1", ngImport: i0, type: A11yModule, decorators: [{
2436
+ A11yModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: A11yModule, deps: [{ token: HighContrastModeDetector }], target: i0.ɵɵFactoryTarget.NgModule });
2437
+ A11yModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.2.0", ngImport: i0, type: A11yModule, declarations: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus], imports: [ObserversModule], exports: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus] });
2438
+ A11yModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: A11yModule, imports: [ObserversModule] });
2439
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.0", ngImport: i0, type: A11yModule, decorators: [{
2432
2440
  type: NgModule,
2433
2441
  args: [{
2434
2442
  imports: [ObserversModule],