@angular/cdk 18.0.0-rc.1 → 18.0.0-rc.3

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 (147) hide show
  1. package/a11y/index.d.ts +6 -1
  2. package/drag-drop/index.d.ts +4 -4
  3. package/esm2022/a11y/a11y-module.mjs +4 -4
  4. package/esm2022/a11y/aria-describer/aria-describer.mjs +3 -3
  5. package/esm2022/a11y/focus-monitor/focus-monitor.mjs +6 -6
  6. package/esm2022/a11y/focus-trap/configurable-focus-trap-factory.mjs +3 -3
  7. package/esm2022/a11y/focus-trap/focus-trap-manager.mjs +3 -3
  8. package/esm2022/a11y/focus-trap/focus-trap.mjs +35 -13
  9. package/esm2022/a11y/high-contrast-mode/high-contrast-mode-detector.mjs +3 -3
  10. package/esm2022/a11y/input-modality/input-modality-detector.mjs +3 -3
  11. package/esm2022/a11y/interactivity-checker/interactivity-checker.mjs +3 -3
  12. package/esm2022/a11y/live-announcer/live-announcer.mjs +6 -6
  13. package/esm2022/accordion/accordion-item.mjs +3 -3
  14. package/esm2022/accordion/accordion-module.mjs +4 -4
  15. package/esm2022/accordion/accordion.mjs +3 -3
  16. package/esm2022/bidi/bidi-module.mjs +4 -4
  17. package/esm2022/bidi/dir.mjs +3 -3
  18. package/esm2022/bidi/directionality.mjs +3 -3
  19. package/esm2022/clipboard/clipboard-module.mjs +4 -4
  20. package/esm2022/clipboard/clipboard.mjs +3 -3
  21. package/esm2022/clipboard/copy-to-clipboard.mjs +3 -3
  22. package/esm2022/collections/unique-selection-dispatcher.mjs +3 -3
  23. package/esm2022/dialog/dialog-container.mjs +3 -3
  24. package/esm2022/dialog/dialog-module.mjs +4 -4
  25. package/esm2022/dialog/dialog.mjs +3 -3
  26. package/esm2022/drag-drop/directives/drag-handle.mjs +3 -3
  27. package/esm2022/drag-drop/directives/drag-placeholder.mjs +3 -3
  28. package/esm2022/drag-drop/directives/drag-preview.mjs +3 -3
  29. package/esm2022/drag-drop/directives/drag.mjs +3 -3
  30. package/esm2022/drag-drop/directives/drop-list-group.mjs +3 -3
  31. package/esm2022/drag-drop/directives/drop-list.mjs +3 -3
  32. package/esm2022/drag-drop/drag-drop-module.mjs +4 -4
  33. package/esm2022/drag-drop/drag-drop-registry.mjs +38 -5
  34. package/esm2022/drag-drop/drag-drop.mjs +5 -38
  35. package/esm2022/drag-drop/public-api.mjs +2 -2
  36. package/esm2022/layout/breakpoints-observer.mjs +3 -3
  37. package/esm2022/layout/layout-module.mjs +4 -4
  38. package/esm2022/layout/media-matcher.mjs +3 -3
  39. package/esm2022/listbox/listbox-module.mjs +4 -4
  40. package/esm2022/listbox/listbox.mjs +6 -6
  41. package/esm2022/menu/context-menu-trigger.mjs +10 -8
  42. package/esm2022/menu/menu-aim.mjs +6 -6
  43. package/esm2022/menu/menu-bar.mjs +3 -3
  44. package/esm2022/menu/menu-base.mjs +3 -3
  45. package/esm2022/menu/menu-group.mjs +3 -3
  46. package/esm2022/menu/menu-item-checkbox.mjs +3 -3
  47. package/esm2022/menu/menu-item-radio.mjs +3 -3
  48. package/esm2022/menu/menu-item-selectable.mjs +3 -3
  49. package/esm2022/menu/menu-item.mjs +3 -3
  50. package/esm2022/menu/menu-module.mjs +4 -4
  51. package/esm2022/menu/menu-stack.mjs +3 -3
  52. package/esm2022/menu/menu-trigger-base.mjs +3 -3
  53. package/esm2022/menu/menu-trigger.mjs +3 -3
  54. package/esm2022/menu/menu.mjs +3 -3
  55. package/esm2022/observers/observe-content.mjs +13 -13
  56. package/esm2022/observers/private/shared-resize-observer.mjs +5 -5
  57. package/esm2022/overlay/dispatchers/base-overlay-dispatcher.mjs +3 -3
  58. package/esm2022/overlay/dispatchers/overlay-keyboard-dispatcher.mjs +3 -3
  59. package/esm2022/overlay/dispatchers/overlay-outside-click-dispatcher.mjs +3 -3
  60. package/esm2022/overlay/fullscreen-overlay-container.mjs +3 -3
  61. package/esm2022/overlay/overlay-container.mjs +3 -3
  62. package/esm2022/overlay/overlay-directives.mjs +28 -13
  63. package/esm2022/overlay/overlay-module.mjs +4 -4
  64. package/esm2022/overlay/overlay.mjs +3 -3
  65. package/esm2022/overlay/position/overlay-position-builder.mjs +3 -3
  66. package/esm2022/overlay/scroll/scroll-strategy-options.mjs +3 -3
  67. package/esm2022/platform/platform-module.mjs +4 -4
  68. package/esm2022/platform/platform.mjs +3 -3
  69. package/esm2022/portal/portal-directives.mjs +16 -16
  70. package/esm2022/scrolling/fixed-size-virtual-scroll.mjs +3 -3
  71. package/esm2022/scrolling/scroll-dispatcher.mjs +3 -3
  72. package/esm2022/scrolling/scrollable.mjs +3 -3
  73. package/esm2022/scrolling/scrolling-module.mjs +8 -8
  74. package/esm2022/scrolling/viewport-ruler.mjs +3 -3
  75. package/esm2022/scrolling/virtual-for-of.mjs +3 -3
  76. package/esm2022/scrolling/virtual-scroll-viewport.mjs +3 -3
  77. package/esm2022/scrolling/virtual-scrollable-element.mjs +3 -3
  78. package/esm2022/scrolling/virtual-scrollable-window.mjs +3 -3
  79. package/esm2022/scrolling/virtual-scrollable.mjs +3 -3
  80. package/esm2022/stepper/step-header.mjs +3 -3
  81. package/esm2022/stepper/step-label.mjs +3 -3
  82. package/esm2022/stepper/stepper-button.mjs +6 -6
  83. package/esm2022/stepper/stepper-module.mjs +4 -4
  84. package/esm2022/stepper/stepper.mjs +6 -6
  85. package/esm2022/table/cell.mjs +21 -21
  86. package/esm2022/table/coalesced-style-scheduler.mjs +3 -3
  87. package/esm2022/table/row.mjs +27 -27
  88. package/esm2022/table/table-module.mjs +4 -4
  89. package/esm2022/table/table.mjs +18 -18
  90. package/esm2022/table/text-column.mjs +3 -3
  91. package/esm2022/text-field/autofill.mjs +6 -6
  92. package/esm2022/text-field/autosize.mjs +3 -3
  93. package/esm2022/text-field/text-field-module.mjs +4 -4
  94. package/esm2022/tree/nested-node.mjs +3 -3
  95. package/esm2022/tree/node.mjs +3 -3
  96. package/esm2022/tree/outlet.mjs +3 -3
  97. package/esm2022/tree/padding.mjs +3 -3
  98. package/esm2022/tree/toggle.mjs +3 -3
  99. package/esm2022/tree/tree-module.mjs +4 -4
  100. package/esm2022/tree/tree.mjs +6 -6
  101. package/esm2022/version.mjs +1 -1
  102. package/fesm2022/a11y.mjs +68 -46
  103. package/fesm2022/a11y.mjs.map +1 -1
  104. package/fesm2022/accordion.mjs +10 -10
  105. package/fesm2022/bidi.mjs +10 -10
  106. package/fesm2022/cdk.mjs +1 -1
  107. package/fesm2022/cdk.mjs.map +1 -1
  108. package/fesm2022/clipboard.mjs +10 -10
  109. package/fesm2022/collections.mjs +3 -3
  110. package/fesm2022/dialog.mjs +10 -10
  111. package/fesm2022/drag-drop.mjs +62 -62
  112. package/fesm2022/drag-drop.mjs.map +1 -1
  113. package/fesm2022/layout.mjs +10 -10
  114. package/fesm2022/listbox.mjs +10 -10
  115. package/fesm2022/menu.mjs +51 -49
  116. package/fesm2022/menu.mjs.map +1 -1
  117. package/fesm2022/observers/private.mjs +4 -4
  118. package/fesm2022/observers/private.mjs.map +1 -1
  119. package/fesm2022/observers.mjs +13 -13
  120. package/fesm2022/overlay.mjs +54 -40
  121. package/fesm2022/overlay.mjs.map +1 -1
  122. package/fesm2022/platform.mjs +7 -7
  123. package/fesm2022/portal.mjs +16 -16
  124. package/fesm2022/scrolling.mjs +35 -35
  125. package/fesm2022/stepper.mjs +22 -22
  126. package/fesm2022/table.mjs +76 -76
  127. package/fesm2022/text-field.mjs +13 -13
  128. package/fesm2022/tree.mjs +25 -25
  129. package/menu/index.d.ts +1 -0
  130. package/overlay/index.d.ts +2 -1
  131. package/package.json +1 -1
  132. package/schematics/ng-add/index.js +1 -1
  133. package/schematics/ng-add/index.mjs +1 -1
  134. package/schematics/ng-update/data/css-tokens.d.ts +27 -0
  135. package/schematics/ng-update/data/css-tokens.js +12 -0
  136. package/schematics/ng-update/data/css-tokens.mjs +12 -0
  137. package/schematics/ng-update/data/index.d.ts +1 -0
  138. package/schematics/ng-update/data/index.js +2 -1
  139. package/schematics/ng-update/data/index.mjs +2 -1
  140. package/schematics/ng-update/devkit-migration-rule.js +3 -1
  141. package/schematics/ng-update/devkit-migration-rule.mjs +3 -1
  142. package/schematics/ng-update/migrations/css-tokens.d.ts +26 -0
  143. package/schematics/ng-update/migrations/css-tokens.js +80 -0
  144. package/schematics/ng-update/migrations/css-tokens.mjs +80 -0
  145. package/schematics/ng-update/upgrade-data.d.ts +2 -1
  146. package/schematics/ng-update/upgrade-data.js +2 -1
  147. package/schematics/ng-update/upgrade-data.mjs +2 -1
package/fesm2022/a11y.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { DOCUMENT } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
- import { inject, APP_ID, Injectable, Inject, QueryList, isSignal, effect, booleanAttribute, Directive, Input, InjectionToken, Optional, EventEmitter, Output, NgModule } from '@angular/core';
3
+ import { inject, APP_ID, Injectable, Inject, QueryList, isSignal, effect, afterNextRender, Injector, booleanAttribute, Directive, Input, InjectionToken, Optional, EventEmitter, Output, NgModule } from '@angular/core';
4
4
  import * as i1 from '@angular/cdk/platform';
5
5
  import { Platform, _getFocusedElementPierceShadowDom, normalizePassiveListenerOptions, _getEventTarget, _getShadowRoot } from '@angular/cdk/platform';
6
6
  import { Subject, Subscription, BehaviorSubject, of } from 'rxjs';
@@ -249,10 +249,10 @@ class AriaDescriber {
249
249
  _isElementNode(element) {
250
250
  return element.nodeType === this._document.ELEMENT_NODE;
251
251
  }
252
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: AriaDescriber, deps: [{ token: DOCUMENT }, { token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable }); }
253
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: AriaDescriber, providedIn: 'root' }); }
252
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.2", ngImport: i0, type: AriaDescriber, deps: [{ token: DOCUMENT }, { token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable }); }
253
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-rc.2", ngImport: i0, type: AriaDescriber, providedIn: 'root' }); }
254
254
  }
255
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: AriaDescriber, decorators: [{
255
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.2", ngImport: i0, type: AriaDescriber, decorators: [{
256
256
  type: Injectable,
257
257
  args: [{ providedIn: 'root' }]
258
258
  }], ctorParameters: () => [{ type: undefined, decorators: [{
@@ -795,10 +795,10 @@ class InteractivityChecker {
795
795
  !this.isDisabled(element) &&
796
796
  (config?.ignoreVisibility || this.isVisible(element)));
797
797
  }
798
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: InteractivityChecker, deps: [{ token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable }); }
799
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: InteractivityChecker, providedIn: 'root' }); }
798
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.2", ngImport: i0, type: InteractivityChecker, deps: [{ token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable }); }
799
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-rc.2", ngImport: i0, type: InteractivityChecker, providedIn: 'root' }); }
800
800
  }
801
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: InteractivityChecker, decorators: [{
801
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.2", ngImport: i0, type: InteractivityChecker, decorators: [{
802
802
  type: Injectable,
803
803
  args: [{ providedIn: 'root' }]
804
804
  }], ctorParameters: () => [{ type: i1.Platform }] });
@@ -915,11 +915,14 @@ class FocusTrap {
915
915
  this._toggleAnchorTabIndex(value, this._endAnchor);
916
916
  }
917
917
  }
918
- constructor(_element, _checker, _ngZone, _document, deferAnchors = false) {
918
+ constructor(_element, _checker, _ngZone, _document, deferAnchors = false,
919
+ /** @breaking-change 20.0.0 param to become required */
920
+ _injector) {
919
921
  this._element = _element;
920
922
  this._checker = _checker;
921
923
  this._ngZone = _ngZone;
922
924
  this._document = _document;
925
+ this._injector = _injector;
923
926
  this._hasAttached = false;
924
927
  // Event listeners for the anchors. Need to be regular functions so that we can unbind them later.
925
928
  this.startAnchorListener = () => this.focusLastTabbableElement();
@@ -1157,11 +1160,29 @@ class FocusTrap {
1157
1160
  }
1158
1161
  /** Executes a function when the zone is stable. */
1159
1162
  _executeOnStable(fn) {
1160
- if (this._ngZone.isStable) {
1161
- fn();
1163
+ // TODO(mmalerba): Make this behave consistently across zonefull / zoneless.
1164
+ if (!this._ngZone.isStable) {
1165
+ // Subscribing `onStable` has slightly different behavior than `afterNextRender`.
1166
+ // `afterNextRender` does not wait for state changes queued up in a Promise
1167
+ // to avoid change after checked errors. In most cases we would consider this an
1168
+ // acceptable behavior change, the dialog at least made its best effort to focus the
1169
+ // first element. However, this is particularly problematic when combined with the
1170
+ // current behavior of the mat-radio-group, which adjusts the tabindex of its child
1171
+ // radios based on the selected value of the group. When the selected value is bound
1172
+ // via `[(ngModel)]` it hits this "state change in a promise" edge-case and can wind up
1173
+ // putting the focus on a radio button that is not supposed to be eligible to receive
1174
+ // focus. For now, we side-step this whole sequence of events by continuing to use
1175
+ // `onStable` in zonefull apps, but it should be noted that zoneless apps can still
1176
+ // suffer from this issue.
1177
+ this._ngZone.onStable.pipe(take(1)).subscribe(fn);
1162
1178
  }
1163
1179
  else {
1164
- this._ngZone.onStable.pipe(take(1)).subscribe(fn);
1180
+ if (this._injector) {
1181
+ afterNextRender(fn, { injector: this._injector });
1182
+ }
1183
+ else {
1184
+ fn();
1185
+ }
1165
1186
  }
1166
1187
  }
1167
1188
  }
@@ -1172,6 +1193,7 @@ class FocusTrapFactory {
1172
1193
  constructor(_checker, _ngZone, _document) {
1173
1194
  this._checker = _checker;
1174
1195
  this._ngZone = _ngZone;
1196
+ this._injector = inject(Injector);
1175
1197
  this._document = _document;
1176
1198
  }
1177
1199
  /**
@@ -1182,12 +1204,12 @@ class FocusTrapFactory {
1182
1204
  * @returns The created focus trap instance.
1183
1205
  */
1184
1206
  create(element, deferCaptureElements = false) {
1185
- return new FocusTrap(element, this._checker, this._ngZone, this._document, deferCaptureElements);
1207
+ return new FocusTrap(element, this._checker, this._ngZone, this._document, deferCaptureElements, this._injector);
1186
1208
  }
1187
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: FocusTrapFactory, deps: [{ token: InteractivityChecker }, { token: i0.NgZone }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
1188
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: FocusTrapFactory, providedIn: 'root' }); }
1209
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.2", ngImport: i0, type: FocusTrapFactory, deps: [{ token: InteractivityChecker }, { token: i0.NgZone }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
1210
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-rc.2", ngImport: i0, type: FocusTrapFactory, providedIn: 'root' }); }
1189
1211
  }
1190
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: FocusTrapFactory, decorators: [{
1212
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.2", ngImport: i0, type: FocusTrapFactory, decorators: [{
1191
1213
  type: Injectable,
1192
1214
  args: [{ providedIn: 'root' }]
1193
1215
  }], ctorParameters: () => [{ type: InteractivityChecker }, { type: i0.NgZone }, { type: undefined, decorators: [{
@@ -1253,10 +1275,10 @@ class CdkTrapFocus {
1253
1275
  this._previouslyFocusedElement = _getFocusedElementPierceShadowDom();
1254
1276
  this.focusTrap?.focusInitialElementWhenReady();
1255
1277
  }
1256
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: CdkTrapFocus, deps: [{ token: i0.ElementRef }, { token: FocusTrapFactory }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive }); }
1257
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0-rc.0", type: CdkTrapFocus, isStandalone: true, selector: "[cdkTrapFocus]", inputs: { enabled: ["cdkTrapFocus", "enabled", booleanAttribute], autoCapture: ["cdkTrapFocusAutoCapture", "autoCapture", booleanAttribute] }, exportAs: ["cdkTrapFocus"], usesOnChanges: true, ngImport: i0 }); }
1278
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.2", ngImport: i0, type: CdkTrapFocus, deps: [{ token: i0.ElementRef }, { token: FocusTrapFactory }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive }); }
1279
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0-rc.2", type: CdkTrapFocus, isStandalone: true, selector: "[cdkTrapFocus]", inputs: { enabled: ["cdkTrapFocus", "enabled", booleanAttribute], autoCapture: ["cdkTrapFocusAutoCapture", "autoCapture", booleanAttribute] }, exportAs: ["cdkTrapFocus"], usesOnChanges: true, ngImport: i0 }); }
1258
1280
  }
1259
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: CdkTrapFocus, decorators: [{
1281
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.2", ngImport: i0, type: CdkTrapFocus, decorators: [{
1260
1282
  type: Directive,
1261
1283
  args: [{
1262
1284
  selector: '[cdkTrapFocus]',
@@ -1410,10 +1432,10 @@ class FocusTrapManager {
1410
1432
  }
1411
1433
  }
1412
1434
  }
1413
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: FocusTrapManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1414
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: FocusTrapManager, providedIn: 'root' }); }
1435
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.2", ngImport: i0, type: FocusTrapManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1436
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-rc.2", ngImport: i0, type: FocusTrapManager, providedIn: 'root' }); }
1415
1437
  }
1416
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: FocusTrapManager, decorators: [{
1438
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.2", ngImport: i0, type: FocusTrapManager, decorators: [{
1417
1439
  type: Injectable,
1418
1440
  args: [{ providedIn: 'root' }]
1419
1441
  }] });
@@ -1438,10 +1460,10 @@ class ConfigurableFocusTrapFactory {
1438
1460
  }
1439
1461
  return new ConfigurableFocusTrap(element, this._checker, this._ngZone, this._document, this._focusTrapManager, this._inertStrategy, configObject);
1440
1462
  }
1441
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.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 }); }
1442
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: ConfigurableFocusTrapFactory, providedIn: 'root' }); }
1463
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.2", 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 }); }
1464
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-rc.2", ngImport: i0, type: ConfigurableFocusTrapFactory, providedIn: 'root' }); }
1443
1465
  }
1444
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: ConfigurableFocusTrapFactory, decorators: [{
1466
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.2", ngImport: i0, type: ConfigurableFocusTrapFactory, decorators: [{
1445
1467
  type: Injectable,
1446
1468
  args: [{ providedIn: 'root' }]
1447
1469
  }], ctorParameters: () => [{ type: InteractivityChecker }, { type: i0.NgZone }, { type: FocusTrapManager }, { type: undefined, decorators: [{
@@ -1620,10 +1642,10 @@ class InputModalityDetector {
1620
1642
  document.removeEventListener('touchstart', this._onTouchstart, modalityEventListenerOptions);
1621
1643
  }
1622
1644
  }
1623
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.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 }); }
1624
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: InputModalityDetector, providedIn: 'root' }); }
1645
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.2", ngImport: i0, type: InputModalityDetector, deps: [{ token: i1.Platform }, { token: i0.NgZone }, { token: DOCUMENT }, { token: INPUT_MODALITY_DETECTOR_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
1646
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-rc.2", ngImport: i0, type: InputModalityDetector, providedIn: 'root' }); }
1625
1647
  }
1626
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: InputModalityDetector, decorators: [{
1648
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.2", ngImport: i0, type: InputModalityDetector, decorators: [{
1627
1649
  type: Injectable,
1628
1650
  args: [{ providedIn: 'root' }]
1629
1651
  }], ctorParameters: () => [{ type: i1.Platform }, { type: i0.NgZone }, { type: Document, decorators: [{
@@ -1762,10 +1784,10 @@ class LiveAnnouncer {
1762
1784
  }
1763
1785
  }
1764
1786
  }
1765
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.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 }); }
1766
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: LiveAnnouncer, providedIn: 'root' }); }
1787
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.2", 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 }); }
1788
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-rc.2", ngImport: i0, type: LiveAnnouncer, providedIn: 'root' }); }
1767
1789
  }
1768
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: LiveAnnouncer, decorators: [{
1790
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.2", ngImport: i0, type: LiveAnnouncer, decorators: [{
1769
1791
  type: Injectable,
1770
1792
  args: [{ providedIn: 'root' }]
1771
1793
  }], ctorParameters: () => [{ type: undefined, decorators: [{
@@ -1826,10 +1848,10 @@ class CdkAriaLive {
1826
1848
  this._subscription.unsubscribe();
1827
1849
  }
1828
1850
  }
1829
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: CdkAriaLive, deps: [{ token: i0.ElementRef }, { token: LiveAnnouncer }, { token: i1$1.ContentObserver }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
1830
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-rc.0", type: CdkAriaLive, isStandalone: true, selector: "[cdkAriaLive]", inputs: { politeness: ["cdkAriaLive", "politeness"], duration: ["cdkAriaLiveDuration", "duration"] }, exportAs: ["cdkAriaLive"], ngImport: i0 }); }
1851
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.2", ngImport: i0, type: CdkAriaLive, deps: [{ token: i0.ElementRef }, { token: LiveAnnouncer }, { token: i1$1.ContentObserver }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
1852
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-rc.2", type: CdkAriaLive, isStandalone: true, selector: "[cdkAriaLive]", inputs: { politeness: ["cdkAriaLive", "politeness"], duration: ["cdkAriaLiveDuration", "duration"] }, exportAs: ["cdkAriaLive"], ngImport: i0 }); }
1831
1853
  }
1832
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: CdkAriaLive, decorators: [{
1854
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.2", ngImport: i0, type: CdkAriaLive, decorators: [{
1833
1855
  type: Directive,
1834
1856
  args: [{
1835
1857
  selector: '[cdkAriaLive]',
@@ -2230,10 +2252,10 @@ class FocusMonitor {
2230
2252
  }
2231
2253
  return false;
2232
2254
  }
2233
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.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 }); }
2234
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: FocusMonitor, providedIn: 'root' }); }
2255
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.2", 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 }); }
2256
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-rc.2", ngImport: i0, type: FocusMonitor, providedIn: 'root' }); }
2235
2257
  }
2236
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: FocusMonitor, decorators: [{
2258
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.2", ngImport: i0, type: FocusMonitor, decorators: [{
2237
2259
  type: Injectable,
2238
2260
  args: [{ providedIn: 'root' }]
2239
2261
  }], ctorParameters: () => [{ type: i0.NgZone }, { type: i1.Platform }, { type: InputModalityDetector }, { type: undefined, decorators: [{
@@ -2281,10 +2303,10 @@ class CdkMonitorFocus {
2281
2303
  this._monitorSubscription.unsubscribe();
2282
2304
  }
2283
2305
  }
2284
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: CdkMonitorFocus, deps: [{ token: i0.ElementRef }, { token: FocusMonitor }], target: i0.ɵɵFactoryTarget.Directive }); }
2285
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-rc.0", type: CdkMonitorFocus, isStandalone: true, selector: "[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]", outputs: { cdkFocusChange: "cdkFocusChange" }, exportAs: ["cdkMonitorFocus"], ngImport: i0 }); }
2306
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.2", ngImport: i0, type: CdkMonitorFocus, deps: [{ token: i0.ElementRef }, { token: FocusMonitor }], target: i0.ɵɵFactoryTarget.Directive }); }
2307
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-rc.2", type: CdkMonitorFocus, isStandalone: true, selector: "[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]", outputs: { cdkFocusChange: "cdkFocusChange" }, exportAs: ["cdkMonitorFocus"], ngImport: i0 }); }
2286
2308
  }
2287
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: CdkMonitorFocus, decorators: [{
2309
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.2", ngImport: i0, type: CdkMonitorFocus, decorators: [{
2288
2310
  type: Directive,
2289
2311
  args: [{
2290
2312
  selector: '[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]',
@@ -2387,10 +2409,10 @@ class HighContrastModeDetector {
2387
2409
  }
2388
2410
  }
2389
2411
  }
2390
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: HighContrastModeDetector, deps: [{ token: i1.Platform }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
2391
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: HighContrastModeDetector, providedIn: 'root' }); }
2412
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.2", ngImport: i0, type: HighContrastModeDetector, deps: [{ token: i1.Platform }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
2413
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-rc.2", ngImport: i0, type: HighContrastModeDetector, providedIn: 'root' }); }
2392
2414
  }
2393
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: HighContrastModeDetector, decorators: [{
2415
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.2", ngImport: i0, type: HighContrastModeDetector, decorators: [{
2394
2416
  type: Injectable,
2395
2417
  args: [{ providedIn: 'root' }]
2396
2418
  }], ctorParameters: () => [{ type: i1.Platform }, { type: undefined, decorators: [{
@@ -2402,11 +2424,11 @@ class A11yModule {
2402
2424
  constructor(highContrastModeDetector) {
2403
2425
  highContrastModeDetector._applyBodyHighContrastModeCssClasses();
2404
2426
  }
2405
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: A11yModule, deps: [{ token: HighContrastModeDetector }], target: i0.ɵɵFactoryTarget.NgModule }); }
2406
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-rc.0", ngImport: i0, type: A11yModule, imports: [ObserversModule, CdkAriaLive, CdkTrapFocus, CdkMonitorFocus], exports: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus] }); }
2407
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: A11yModule, imports: [ObserversModule] }); }
2427
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-rc.2", ngImport: i0, type: A11yModule, deps: [{ token: HighContrastModeDetector }], target: i0.ɵɵFactoryTarget.NgModule }); }
2428
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-rc.2", ngImport: i0, type: A11yModule, imports: [ObserversModule, CdkAriaLive, CdkTrapFocus, CdkMonitorFocus], exports: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus] }); }
2429
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-rc.2", ngImport: i0, type: A11yModule, imports: [ObserversModule] }); }
2408
2430
  }
2409
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.0", ngImport: i0, type: A11yModule, decorators: [{
2431
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-rc.2", ngImport: i0, type: A11yModule, decorators: [{
2410
2432
  type: NgModule,
2411
2433
  args: [{
2412
2434
  imports: [ObserversModule, CdkAriaLive, CdkTrapFocus, CdkMonitorFocus],