@angular/cdk 17.1.0-next.3 → 17.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 (148) hide show
  1. package/LICENSE +1 -1
  2. package/dialog/index.d.ts +5 -0
  3. package/drag-drop/index.d.ts +5 -5
  4. package/esm2022/a11y/a11y-module.mjs +4 -4
  5. package/esm2022/a11y/aria-describer/aria-describer.mjs +3 -3
  6. package/esm2022/a11y/aria-describer/aria-reference.mjs +8 -5
  7. package/esm2022/a11y/focus-monitor/focus-monitor.mjs +6 -6
  8. package/esm2022/a11y/focus-trap/configurable-focus-trap-factory.mjs +3 -3
  9. package/esm2022/a11y/focus-trap/focus-trap-manager.mjs +3 -3
  10. package/esm2022/a11y/focus-trap/focus-trap.mjs +22 -17
  11. package/esm2022/a11y/high-contrast-mode/high-contrast-mode-detector.mjs +3 -3
  12. package/esm2022/a11y/input-modality/input-modality-detector.mjs +3 -3
  13. package/esm2022/a11y/interactivity-checker/interactivity-checker.mjs +3 -3
  14. package/esm2022/a11y/live-announcer/live-announcer.mjs +6 -6
  15. package/esm2022/accordion/accordion-item.mjs +3 -3
  16. package/esm2022/accordion/accordion-module.mjs +4 -4
  17. package/esm2022/accordion/accordion.mjs +3 -3
  18. package/esm2022/bidi/bidi-module.mjs +4 -4
  19. package/esm2022/bidi/dir.mjs +3 -3
  20. package/esm2022/bidi/directionality.mjs +3 -3
  21. package/esm2022/clipboard/clipboard-module.mjs +4 -4
  22. package/esm2022/clipboard/clipboard.mjs +3 -3
  23. package/esm2022/clipboard/copy-to-clipboard.mjs +3 -3
  24. package/esm2022/collections/selection-model.mjs +5 -4
  25. package/esm2022/collections/unique-selection-dispatcher.mjs +3 -3
  26. package/esm2022/dialog/dialog-container.mjs +29 -12
  27. package/esm2022/dialog/dialog-module.mjs +4 -4
  28. package/esm2022/dialog/dialog.mjs +3 -3
  29. package/esm2022/drag-drop/directives/drag-handle.mjs +3 -3
  30. package/esm2022/drag-drop/directives/drag-placeholder.mjs +3 -3
  31. package/esm2022/drag-drop/directives/drag-preview.mjs +3 -3
  32. package/esm2022/drag-drop/directives/drag.mjs +4 -4
  33. package/esm2022/drag-drop/directives/drop-list-group.mjs +3 -3
  34. package/esm2022/drag-drop/directives/drop-list.mjs +3 -3
  35. package/esm2022/drag-drop/dom/dom-rect.mjs +64 -0
  36. package/esm2022/drag-drop/dom/parent-position-tracker.mjs +3 -3
  37. package/esm2022/drag-drop/drag-drop-module.mjs +4 -4
  38. package/esm2022/drag-drop/drag-drop-registry.mjs +3 -3
  39. package/esm2022/drag-drop/drag-drop.mjs +3 -3
  40. package/esm2022/drag-drop/drag-ref.mjs +13 -13
  41. package/esm2022/drag-drop/drop-list-ref.mjs +34 -20
  42. package/esm2022/drag-drop/sorting/single-axis-sort-strategy.mjs +5 -5
  43. package/esm2022/layout/breakpoints-observer.mjs +3 -3
  44. package/esm2022/layout/layout-module.mjs +4 -4
  45. package/esm2022/layout/media-matcher.mjs +3 -3
  46. package/esm2022/listbox/listbox-module.mjs +4 -4
  47. package/esm2022/listbox/listbox.mjs +6 -6
  48. package/esm2022/menu/context-menu-trigger.mjs +6 -6
  49. package/esm2022/menu/menu-aim.mjs +6 -6
  50. package/esm2022/menu/menu-bar.mjs +3 -3
  51. package/esm2022/menu/menu-base.mjs +3 -3
  52. package/esm2022/menu/menu-group.mjs +3 -3
  53. package/esm2022/menu/menu-item-checkbox.mjs +3 -3
  54. package/esm2022/menu/menu-item-radio.mjs +3 -3
  55. package/esm2022/menu/menu-item-selectable.mjs +3 -3
  56. package/esm2022/menu/menu-item.mjs +3 -3
  57. package/esm2022/menu/menu-module.mjs +4 -4
  58. package/esm2022/menu/menu-stack.mjs +3 -3
  59. package/esm2022/menu/menu-trigger-base.mjs +3 -3
  60. package/esm2022/menu/menu-trigger.mjs +3 -3
  61. package/esm2022/menu/menu.mjs +3 -3
  62. package/esm2022/observers/observe-content.mjs +13 -13
  63. package/esm2022/observers/private/shared-resize-observer.mjs +3 -3
  64. package/esm2022/overlay/dispatchers/base-overlay-dispatcher.mjs +3 -3
  65. package/esm2022/overlay/dispatchers/overlay-keyboard-dispatcher.mjs +3 -3
  66. package/esm2022/overlay/dispatchers/overlay-outside-click-dispatcher.mjs +3 -3
  67. package/esm2022/overlay/fullscreen-overlay-container.mjs +3 -3
  68. package/esm2022/overlay/overlay-container.mjs +3 -3
  69. package/esm2022/overlay/overlay-directives.mjs +6 -6
  70. package/esm2022/overlay/overlay-module.mjs +4 -4
  71. package/esm2022/overlay/overlay.mjs +3 -3
  72. package/esm2022/overlay/position/flexible-connected-position-strategy.mjs +5 -5
  73. package/esm2022/overlay/position/overlay-position-builder.mjs +3 -3
  74. package/esm2022/overlay/position/scroll-clip.mjs +1 -1
  75. package/esm2022/overlay/scroll/scroll-strategy-options.mjs +3 -3
  76. package/esm2022/platform/platform-module.mjs +4 -4
  77. package/esm2022/platform/platform.mjs +3 -3
  78. package/esm2022/portal/portal-directives.mjs +16 -16
  79. package/esm2022/scrolling/fixed-size-virtual-scroll.mjs +3 -3
  80. package/esm2022/scrolling/scroll-dispatcher.mjs +3 -3
  81. package/esm2022/scrolling/scrollable.mjs +3 -3
  82. package/esm2022/scrolling/scrolling-module.mjs +8 -8
  83. package/esm2022/scrolling/viewport-ruler.mjs +5 -5
  84. package/esm2022/scrolling/virtual-for-of.mjs +3 -3
  85. package/esm2022/scrolling/virtual-scroll-viewport.mjs +3 -3
  86. package/esm2022/scrolling/virtual-scrollable-element.mjs +3 -3
  87. package/esm2022/scrolling/virtual-scrollable-window.mjs +3 -3
  88. package/esm2022/scrolling/virtual-scrollable.mjs +4 -4
  89. package/esm2022/stepper/step-header.mjs +3 -3
  90. package/esm2022/stepper/step-label.mjs +3 -3
  91. package/esm2022/stepper/stepper-button.mjs +6 -6
  92. package/esm2022/stepper/stepper-module.mjs +4 -4
  93. package/esm2022/stepper/stepper.mjs +6 -6
  94. package/esm2022/table/cell.mjs +26 -28
  95. package/esm2022/table/coalesced-style-scheduler.mjs +3 -3
  96. package/esm2022/table/row.mjs +27 -27
  97. package/esm2022/table/sticky-styler.mjs +32 -32
  98. package/esm2022/table/table-module.mjs +4 -4
  99. package/esm2022/table/table.mjs +175 -114
  100. package/esm2022/table/text-column.mjs +3 -3
  101. package/esm2022/text-field/autofill.mjs +6 -6
  102. package/esm2022/text-field/autosize.mjs +3 -3
  103. package/esm2022/text-field/text-field-module.mjs +4 -4
  104. package/esm2022/tree/nested-node.mjs +3 -3
  105. package/esm2022/tree/node.mjs +3 -3
  106. package/esm2022/tree/outlet.mjs +3 -3
  107. package/esm2022/tree/padding.mjs +3 -3
  108. package/esm2022/tree/toggle.mjs +3 -3
  109. package/esm2022/tree/tree-module.mjs +4 -4
  110. package/esm2022/tree/tree.mjs +6 -6
  111. package/esm2022/version.mjs +1 -1
  112. package/fesm2022/a11y.mjs +61 -53
  113. package/fesm2022/a11y.mjs.map +1 -1
  114. package/fesm2022/accordion.mjs +10 -10
  115. package/fesm2022/bidi.mjs +10 -10
  116. package/fesm2022/cdk.mjs +1 -1
  117. package/fesm2022/cdk.mjs.map +1 -1
  118. package/fesm2022/clipboard.mjs +10 -10
  119. package/fesm2022/collections.mjs +7 -6
  120. package/fesm2022/collections.mjs.map +1 -1
  121. package/fesm2022/dialog.mjs +35 -18
  122. package/fesm2022/dialog.mjs.map +1 -1
  123. package/fesm2022/drag-drop.mjs +99 -85
  124. package/fesm2022/drag-drop.mjs.map +1 -1
  125. package/fesm2022/layout.mjs +10 -10
  126. package/fesm2022/listbox.mjs +10 -10
  127. package/fesm2022/menu.mjs +49 -49
  128. package/fesm2022/observers/private.mjs +3 -3
  129. package/fesm2022/observers.mjs +13 -13
  130. package/fesm2022/overlay.mjs +38 -38
  131. package/fesm2022/overlay.mjs.map +1 -1
  132. package/fesm2022/platform.mjs +7 -7
  133. package/fesm2022/portal.mjs +16 -16
  134. package/fesm2022/scrolling.mjs +36 -36
  135. package/fesm2022/scrolling.mjs.map +1 -1
  136. package/fesm2022/stepper.mjs +22 -22
  137. package/fesm2022/table.mjs +267 -208
  138. package/fesm2022/table.mjs.map +1 -1
  139. package/fesm2022/text-field.mjs +13 -13
  140. package/fesm2022/tree.mjs +25 -25
  141. package/overlay/index.d.ts +1 -1
  142. package/package.json +3 -3
  143. package/schematics/ng-add/index.js +1 -1
  144. package/schematics/ng-add/index.mjs +1 -1
  145. package/schematics/ng-generate/drag-drop/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template +3 -3
  146. package/scrolling/index.d.ts +2 -2
  147. package/table/index.d.ts +13 -4
  148. package/esm2022/drag-drop/dom/client-rect.mjs +0 -64
@@ -89,8 +89,8 @@ export class CdkTextColumn {
89
89
  this.columnDef.name = this.name;
90
90
  }
91
91
  }
92
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: CdkTextColumn, deps: [{ token: i1.CdkTable, optional: true }, { token: TEXT_COLUMN_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
93
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0-next.2", type: CdkTextColumn, isStandalone: true, selector: "cdk-text-column", inputs: { name: "name", headerText: "headerText", dataAccessor: "dataAccessor", justify: "justify" }, viewQueries: [{ propertyName: "columnDef", first: true, predicate: CdkColumnDef, descendants: true, static: true }, { propertyName: "cell", first: true, predicate: CdkCellDef, descendants: true, static: true }, { propertyName: "headerCell", first: true, predicate: CdkHeaderCellDef, descendants: true, static: true }], ngImport: i0, template: `
92
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: CdkTextColumn, deps: [{ token: i1.CdkTable, optional: true }, { token: TEXT_COLUMN_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
93
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0-next.5", type: CdkTextColumn, isStandalone: true, selector: "cdk-text-column", inputs: { name: "name", headerText: "headerText", dataAccessor: "dataAccessor", justify: "justify" }, viewQueries: [{ propertyName: "columnDef", first: true, predicate: CdkColumnDef, descendants: true, static: true }, { propertyName: "cell", first: true, predicate: CdkCellDef, descendants: true, static: true }, { propertyName: "headerCell", first: true, predicate: CdkHeaderCellDef, descendants: true, static: true }], ngImport: i0, template: `
94
94
  <ng-container cdkColumnDef>
95
95
  <th cdk-header-cell *cdkHeaderCellDef [style.text-align]="justify">
96
96
  {{headerText}}
@@ -101,7 +101,7 @@ export class CdkTextColumn {
101
101
  </ng-container>
102
102
  `, isInline: true, dependencies: [{ kind: "directive", type: CdkColumnDef, selector: "[cdkColumnDef]", inputs: ["sticky", "cdkColumnDef", "stickyEnd"] }, { kind: "directive", type: CdkHeaderCellDef, selector: "[cdkHeaderCellDef]" }, { kind: "directive", type: CdkHeaderCell, selector: "cdk-header-cell, th[cdk-header-cell]" }, { kind: "directive", type: CdkCellDef, selector: "[cdkCellDef]" }, { kind: "directive", type: CdkCell, selector: "cdk-cell, td[cdk-cell]" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
103
103
  }
104
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: CdkTextColumn, decorators: [{
104
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: CdkTextColumn, decorators: [{
105
105
  type: Component,
106
106
  args: [{
107
107
  selector: 'cdk-text-column',
@@ -76,10 +76,10 @@ export class AutofillMonitor {
76
76
  ngOnDestroy() {
77
77
  this._monitoredElements.forEach((_info, element) => this.stopMonitoring(element));
78
78
  }
79
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: AutofillMonitor, deps: [{ token: i1.Platform }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }
80
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: AutofillMonitor, providedIn: 'root' }); }
79
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: AutofillMonitor, deps: [{ token: i1.Platform }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }
80
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: AutofillMonitor, providedIn: 'root' }); }
81
81
  }
82
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: AutofillMonitor, decorators: [{
82
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: AutofillMonitor, decorators: [{
83
83
  type: Injectable,
84
84
  args: [{ providedIn: 'root' }]
85
85
  }], ctorParameters: () => [{ type: i1.Platform }, { type: i0.NgZone }] });
@@ -99,10 +99,10 @@ export class CdkAutofill {
99
99
  ngOnDestroy() {
100
100
  this._autofillMonitor.stopMonitoring(this._elementRef);
101
101
  }
102
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: CdkAutofill, deps: [{ token: i0.ElementRef }, { token: AutofillMonitor }], target: i0.ɵɵFactoryTarget.Directive }); }
103
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.0-next.2", type: CdkAutofill, isStandalone: true, selector: "[cdkAutofill]", outputs: { cdkAutofill: "cdkAutofill" }, ngImport: i0 }); }
102
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: CdkAutofill, deps: [{ token: i0.ElementRef }, { token: AutofillMonitor }], target: i0.ɵɵFactoryTarget.Directive }); }
103
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.0-next.5", type: CdkAutofill, isStandalone: true, selector: "[cdkAutofill]", outputs: { cdkAutofill: "cdkAutofill" }, ngImport: i0 }); }
104
104
  }
105
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: CdkAutofill, decorators: [{
105
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: CdkAutofill, decorators: [{
106
106
  type: Directive,
107
107
  args: [{
108
108
  selector: '[cdkAutofill]',
@@ -272,10 +272,10 @@ export class CdkTextareaAutosize {
272
272
  textarea.setSelectionRange(selectionStart, selectionEnd);
273
273
  }
274
274
  }
275
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: CdkTextareaAutosize, deps: [{ token: i0.ElementRef }, { token: i1.Platform }, { token: i0.NgZone }, { token: DOCUMENT, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
276
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.1.0-next.2", type: CdkTextareaAutosize, isStandalone: true, selector: "textarea[cdkTextareaAutosize]", inputs: { minRows: ["cdkAutosizeMinRows", "minRows"], maxRows: ["cdkAutosizeMaxRows", "maxRows"], enabled: ["cdkTextareaAutosize", "enabled", booleanAttribute], placeholder: "placeholder" }, host: { attributes: { "rows": "1" }, listeners: { "input": "_noopInputHandler()" }, classAttribute: "cdk-textarea-autosize" }, exportAs: ["cdkTextareaAutosize"], ngImport: i0 }); }
275
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: CdkTextareaAutosize, deps: [{ token: i0.ElementRef }, { token: i1.Platform }, { token: i0.NgZone }, { token: DOCUMENT, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
276
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.1.0-next.5", type: CdkTextareaAutosize, isStandalone: true, selector: "textarea[cdkTextareaAutosize]", inputs: { minRows: ["cdkAutosizeMinRows", "minRows"], maxRows: ["cdkAutosizeMaxRows", "maxRows"], enabled: ["cdkTextareaAutosize", "enabled", booleanAttribute], placeholder: "placeholder" }, host: { attributes: { "rows": "1" }, listeners: { "input": "_noopInputHandler()" }, classAttribute: "cdk-textarea-autosize" }, exportAs: ["cdkTextareaAutosize"], ngImport: i0 }); }
277
277
  }
278
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: CdkTextareaAutosize, decorators: [{
278
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: CdkTextareaAutosize, decorators: [{
279
279
  type: Directive,
280
280
  args: [{
281
281
  selector: 'textarea[cdkTextareaAutosize]',
@@ -10,11 +10,11 @@ import { CdkAutofill } from './autofill';
10
10
  import { CdkTextareaAutosize } from './autosize';
11
11
  import * as i0 from "@angular/core";
12
12
  export class TextFieldModule {
13
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: TextFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
14
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.0-next.2", ngImport: i0, type: TextFieldModule, imports: [CdkAutofill, CdkTextareaAutosize], exports: [CdkAutofill, CdkTextareaAutosize] }); }
15
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: TextFieldModule }); }
13
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: TextFieldModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
14
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.0-next.5", ngImport: i0, type: TextFieldModule, imports: [CdkAutofill, CdkTextareaAutosize], exports: [CdkAutofill, CdkTextareaAutosize] }); }
15
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: TextFieldModule }); }
16
16
  }
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: TextFieldModule, decorators: [{
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: TextFieldModule, decorators: [{
18
18
  type: NgModule,
19
19
  args: [{
20
20
  imports: [CdkAutofill, CdkTextareaAutosize],
@@ -81,13 +81,13 @@ export class CdkNestedTreeNode extends CdkTreeNode {
81
81
  // that we don't pick up the outlet of a child node by accident.
82
82
  return outlets && outlets.find(outlet => !outlet._node || outlet._node === this);
83
83
  }
84
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: CdkNestedTreeNode, deps: [{ token: i0.ElementRef }, { token: i1.CdkTree }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive }); }
85
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.0-next.2", type: CdkNestedTreeNode, isStandalone: true, selector: "cdk-nested-tree-node", host: { classAttribute: "cdk-nested-tree-node" }, providers: [
84
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: CdkNestedTreeNode, deps: [{ token: i0.ElementRef }, { token: i1.CdkTree }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive }); }
85
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.0-next.5", type: CdkNestedTreeNode, isStandalone: true, selector: "cdk-nested-tree-node", host: { classAttribute: "cdk-nested-tree-node" }, providers: [
86
86
  { provide: CdkTreeNode, useExisting: CdkNestedTreeNode },
87
87
  { provide: CDK_TREE_NODE_OUTLET_NODE, useExisting: CdkNestedTreeNode },
88
88
  ], queries: [{ propertyName: "nodeOutlet", predicate: CdkTreeNodeOutlet, descendants: true }], exportAs: ["cdkNestedTreeNode"], usesInheritance: true, ngImport: i0 }); }
89
89
  }
90
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: CdkNestedTreeNode, decorators: [{
90
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: CdkNestedTreeNode, decorators: [{
91
91
  type: Directive,
92
92
  args: [{
93
93
  selector: 'cdk-nested-tree-node',
@@ -22,10 +22,10 @@ export class CdkTreeNodeDef {
22
22
  constructor(template) {
23
23
  this.template = template;
24
24
  }
25
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: CdkTreeNodeDef, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
26
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.0-next.2", type: CdkTreeNodeDef, isStandalone: true, selector: "[cdkTreeNodeDef]", inputs: { when: ["cdkTreeNodeDefWhen", "when"] }, ngImport: i0 }); }
25
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: CdkTreeNodeDef, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
26
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.0-next.5", type: CdkTreeNodeDef, isStandalone: true, selector: "[cdkTreeNodeDef]", inputs: { when: ["cdkTreeNodeDefWhen", "when"] }, ngImport: i0 }); }
27
27
  }
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: CdkTreeNodeDef, decorators: [{
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: CdkTreeNodeDef, decorators: [{
29
29
  type: Directive,
30
30
  args: [{
31
31
  selector: '[cdkTreeNodeDef]',
@@ -22,10 +22,10 @@ export class CdkTreeNodeOutlet {
22
22
  this.viewContainer = viewContainer;
23
23
  this._node = _node;
24
24
  }
25
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: CdkTreeNodeOutlet, deps: [{ token: i0.ViewContainerRef }, { token: CDK_TREE_NODE_OUTLET_NODE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
26
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.0-next.2", type: CdkTreeNodeOutlet, isStandalone: true, selector: "[cdkTreeNodeOutlet]", ngImport: i0 }); }
25
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: CdkTreeNodeOutlet, deps: [{ token: i0.ViewContainerRef }, { token: CDK_TREE_NODE_OUTLET_NODE, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
26
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.0-next.5", type: CdkTreeNodeOutlet, isStandalone: true, selector: "[cdkTreeNodeOutlet]", ngImport: i0 }); }
27
27
  }
28
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: CdkTreeNodeOutlet, decorators: [{
28
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: CdkTreeNodeOutlet, decorators: [{
29
29
  type: Directive,
30
30
  args: [{
31
31
  selector: '[cdkTreeNodeOutlet]',
@@ -110,10 +110,10 @@ export class CdkTreeNodePadding {
110
110
  this._indent = numberAttribute(value);
111
111
  this._setPadding();
112
112
  }
113
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: CdkTreeNodePadding, deps: [{ token: i1.CdkTreeNode }, { token: i1.CdkTree }, { token: i0.ElementRef }, { token: i2.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
114
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.1.0-next.2", type: CdkTreeNodePadding, isStandalone: true, selector: "[cdkTreeNodePadding]", inputs: { level: ["cdkTreeNodePadding", "level", numberAttribute], indent: ["cdkTreeNodePaddingIndent", "indent"] }, ngImport: i0 }); }
113
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: CdkTreeNodePadding, deps: [{ token: i1.CdkTreeNode }, { token: i1.CdkTree }, { token: i0.ElementRef }, { token: i2.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Directive }); }
114
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.1.0-next.5", type: CdkTreeNodePadding, isStandalone: true, selector: "[cdkTreeNodePadding]", inputs: { level: ["cdkTreeNodePadding", "level", numberAttribute], indent: ["cdkTreeNodePaddingIndent", "indent"] }, ngImport: i0 }); }
115
115
  }
116
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: CdkTreeNodePadding, decorators: [{
116
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: CdkTreeNodePadding, decorators: [{
117
117
  type: Directive,
118
118
  args: [{
119
119
  selector: '[cdkTreeNodePadding]',
@@ -25,10 +25,10 @@ export class CdkTreeNodeToggle {
25
25
  : this._tree.treeControl.toggle(this._treeNode.data);
26
26
  event.stopPropagation();
27
27
  }
28
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: CdkTreeNodeToggle, deps: [{ token: i1.CdkTree }, { token: i1.CdkTreeNode }], target: i0.ɵɵFactoryTarget.Directive }); }
29
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.1.0-next.2", type: CdkTreeNodeToggle, isStandalone: true, selector: "[cdkTreeNodeToggle]", inputs: { recursive: ["cdkTreeNodeToggleRecursive", "recursive", booleanAttribute] }, host: { listeners: { "click": "_toggle($event)" } }, ngImport: i0 }); }
28
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: CdkTreeNodeToggle, deps: [{ token: i1.CdkTree }, { token: i1.CdkTreeNode }], target: i0.ɵɵFactoryTarget.Directive }); }
29
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.1.0-next.5", type: CdkTreeNodeToggle, isStandalone: true, selector: "[cdkTreeNodeToggle]", inputs: { recursive: ["cdkTreeNodeToggleRecursive", "recursive", booleanAttribute] }, host: { listeners: { "click": "_toggle($event)" } }, ngImport: i0 }); }
30
30
  }
31
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: CdkTreeNodeToggle, decorators: [{
31
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: CdkTreeNodeToggle, decorators: [{
32
32
  type: Directive,
33
33
  args: [{
34
34
  selector: '[cdkTreeNodeToggle]',
@@ -23,8 +23,8 @@ const EXPORTED_DECLARATIONS = [
23
23
  CdkTreeNodeOutlet,
24
24
  ];
25
25
  export class CdkTreeModule {
26
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: CdkTreeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
27
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.0-next.2", ngImport: i0, type: CdkTreeModule, imports: [CdkNestedTreeNode,
26
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: CdkTreeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
27
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.0-next.5", ngImport: i0, type: CdkTreeModule, imports: [CdkNestedTreeNode,
28
28
  CdkTreeNodeDef,
29
29
  CdkTreeNodePadding,
30
30
  CdkTreeNodeToggle,
@@ -37,9 +37,9 @@ export class CdkTreeModule {
37
37
  CdkTree,
38
38
  CdkTreeNode,
39
39
  CdkTreeNodeOutlet] }); }
40
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: CdkTreeModule }); }
40
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: CdkTreeModule }); }
41
41
  }
42
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: CdkTreeModule, decorators: [{
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: CdkTreeModule, decorators: [{
43
43
  type: NgModule,
44
44
  args: [{
45
45
  imports: EXPORTED_DECLARATIONS,
@@ -183,10 +183,10 @@ export class CdkTree {
183
183
  CdkTreeNode.mostRecentTreeNode.data = nodeData;
184
184
  }
185
185
  }
186
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: CdkTree, deps: [{ token: i0.IterableDiffers }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
187
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0-next.2", type: CdkTree, isStandalone: true, selector: "cdk-tree", inputs: { dataSource: "dataSource", treeControl: "treeControl", trackBy: "trackBy" }, host: { attributes: { "role": "tree" }, classAttribute: "cdk-tree" }, queries: [{ propertyName: "_nodeDefs", predicate: CdkTreeNodeDef, descendants: true }], viewQueries: [{ propertyName: "_nodeOutlet", first: true, predicate: CdkTreeNodeOutlet, descendants: true, static: true }], exportAs: ["cdkTree"], ngImport: i0, template: `<ng-container cdkTreeNodeOutlet></ng-container>`, isInline: true, dependencies: [{ kind: "directive", type: CdkTreeNodeOutlet, selector: "[cdkTreeNodeOutlet]" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
186
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: CdkTree, deps: [{ token: i0.IterableDiffers }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
187
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.1.0-next.5", type: CdkTree, isStandalone: true, selector: "cdk-tree", inputs: { dataSource: "dataSource", treeControl: "treeControl", trackBy: "trackBy" }, host: { attributes: { "role": "tree" }, classAttribute: "cdk-tree" }, queries: [{ propertyName: "_nodeDefs", predicate: CdkTreeNodeDef, descendants: true }], viewQueries: [{ propertyName: "_nodeOutlet", first: true, predicate: CdkTreeNodeOutlet, descendants: true, static: true }], exportAs: ["cdkTree"], ngImport: i0, template: `<ng-container cdkTreeNodeOutlet></ng-container>`, isInline: true, dependencies: [{ kind: "directive", type: CdkTreeNodeOutlet, selector: "[cdkTreeNodeOutlet]" }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None }); }
188
188
  }
189
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: CdkTree, decorators: [{
189
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: CdkTree, decorators: [{
190
190
  type: Component,
191
191
  args: [{
192
192
  selector: 'cdk-tree',
@@ -303,10 +303,10 @@ export class CdkTreeNode {
303
303
  }
304
304
  this.role = 'treeitem';
305
305
  }
306
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: CdkTreeNode, deps: [{ token: i0.ElementRef }, { token: CdkTree }], target: i0.ɵɵFactoryTarget.Directive }); }
307
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.0-next.2", type: CdkTreeNode, isStandalone: true, selector: "cdk-tree-node", inputs: { role: "role" }, host: { properties: { "attr.aria-expanded": "isExpanded" }, classAttribute: "cdk-tree-node" }, exportAs: ["cdkTreeNode"], ngImport: i0 }); }
306
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: CdkTreeNode, deps: [{ token: i0.ElementRef }, { token: CdkTree }], target: i0.ɵɵFactoryTarget.Directive }); }
307
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.0-next.5", type: CdkTreeNode, isStandalone: true, selector: "cdk-tree-node", inputs: { role: "role" }, host: { properties: { "attr.aria-expanded": "isExpanded" }, classAttribute: "cdk-tree-node" }, exportAs: ["cdkTreeNode"], ngImport: i0 }); }
308
308
  }
309
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: CdkTreeNode, decorators: [{
309
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: CdkTreeNode, decorators: [{
310
310
  type: Directive,
311
311
  args: [{
312
312
  selector: 'cdk-tree-node',
@@ -7,5 +7,5 @@
7
7
  */
8
8
  import { Version } from '@angular/core';
9
9
  /** Current version of the Angular Component Development Kit. */
10
- export const VERSION = new Version('17.1.0-next.3');
10
+ export const VERSION = new Version('17.1.0');
11
11
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9jZGsvdmVyc2lvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7O0dBTUc7QUFFSCxPQUFPLEVBQUMsT0FBTyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBRXRDLGdFQUFnRTtBQUNoRSxNQUFNLENBQUMsTUFBTSxPQUFPLEdBQUcsSUFBSSxPQUFPLENBQUMsbUJBQW1CLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQGxpY2Vuc2VcbiAqIENvcHlyaWdodCBHb29nbGUgTExDIEFsbCBSaWdodHMgUmVzZXJ2ZWQuXG4gKlxuICogVXNlIG9mIHRoaXMgc291cmNlIGNvZGUgaXMgZ292ZXJuZWQgYnkgYW4gTUlULXN0eWxlIGxpY2Vuc2UgdGhhdCBjYW4gYmVcbiAqIGZvdW5kIGluIHRoZSBMSUNFTlNFIGZpbGUgYXQgaHR0cHM6Ly9hbmd1bGFyLmlvL2xpY2Vuc2VcbiAqL1xuXG5pbXBvcnQge1ZlcnNpb259IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG4vKiogQ3VycmVudCB2ZXJzaW9uIG9mIHRoZSBBbmd1bGFyIENvbXBvbmVudCBEZXZlbG9wbWVudCBLaXQuICovXG5leHBvcnQgY29uc3QgVkVSU0lPTiA9IG5ldyBWZXJzaW9uKCcwLjAuMC1QTEFDRUhPTERFUicpO1xuIl19
package/fesm2022/a11y.mjs CHANGED
@@ -2,7 +2,7 @@ import { DOCUMENT } from '@angular/common';
2
2
  import * as i0 from '@angular/core';
3
3
  import { inject, APP_ID, Injectable, Inject, QueryList, booleanAttribute, Directive, Input, InjectionToken, Optional, EventEmitter, Output, NgModule } from '@angular/core';
4
4
  import * as i1 from '@angular/cdk/platform';
5
- import { _getFocusedElementPierceShadowDom, normalizePassiveListenerOptions, _getEventTarget, _getShadowRoot } from '@angular/cdk/platform';
5
+ import { Platform, _getFocusedElementPierceShadowDom, normalizePassiveListenerOptions, _getEventTarget, _getShadowRoot } from '@angular/cdk/platform';
6
6
  import { Subject, Subscription, BehaviorSubject, of } from 'rxjs';
7
7
  import { hasModifierKey, A, Z, ZERO, NINE, PAGE_DOWN, PAGE_UP, END, HOME, LEFT_ARROW, RIGHT_ARROW, UP_ARROW, DOWN_ARROW, TAB, ALT, CONTROL, MAC_META, META, SHIFT } from '@angular/cdk/keycodes';
8
8
  import { tap, debounceTime, filter, map, take, skip, distinctUntilChanged, takeUntil } from 'rxjs/operators';
@@ -19,10 +19,11 @@ const ID_DELIMITER = ' ';
19
19
  */
20
20
  function addAriaReferencedId(el, attr, id) {
21
21
  const ids = getAriaReferenceIds(el, attr);
22
- if (ids.some(existingId => existingId.trim() == id.trim())) {
22
+ id = id.trim();
23
+ if (ids.some(existingId => existingId.trim() === id)) {
23
24
  return;
24
25
  }
25
- ids.push(id.trim());
26
+ ids.push(id);
26
27
  el.setAttribute(attr, ids.join(ID_DELIMITER));
27
28
  }
28
29
  /**
@@ -31,7 +32,8 @@ function addAriaReferencedId(el, attr, id) {
31
32
  */
32
33
  function removeAriaReferencedId(el, attr, id) {
33
34
  const ids = getAriaReferenceIds(el, attr);
34
- const filteredIds = ids.filter(val => val != id.trim());
35
+ id = id.trim();
36
+ const filteredIds = ids.filter(val => val !== id);
35
37
  if (filteredIds.length) {
36
38
  el.setAttribute(attr, filteredIds.join(ID_DELIMITER));
37
39
  }
@@ -45,7 +47,8 @@ function removeAriaReferencedId(el, attr, id) {
45
47
  */
46
48
  function getAriaReferenceIds(el, attr) {
47
49
  // Get string array of all individual ids (whitespace delimited) in the attribute value
48
- return (el.getAttribute(attr) || '').match(/\S+/g) || [];
50
+ const attrValue = el.getAttribute(attr);
51
+ return attrValue?.match(/\S+/g) ?? [];
49
52
  }
50
53
 
51
54
  /**
@@ -246,10 +249,10 @@ class AriaDescriber {
246
249
  _isElementNode(element) {
247
250
  return element.nodeType === this._document.ELEMENT_NODE;
248
251
  }
249
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: AriaDescriber, deps: [{ token: DOCUMENT }, { token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable }); }
250
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: AriaDescriber, providedIn: 'root' }); }
252
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.5", 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: "17.1.0-next.5", ngImport: i0, type: AriaDescriber, providedIn: 'root' }); }
251
254
  }
252
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: AriaDescriber, decorators: [{
255
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: AriaDescriber, decorators: [{
253
256
  type: Injectable,
254
257
  args: [{ providedIn: 'root' }]
255
258
  }], ctorParameters: () => [{ type: undefined, decorators: [{
@@ -780,10 +783,10 @@ class InteractivityChecker {
780
783
  !this.isDisabled(element) &&
781
784
  (config?.ignoreVisibility || this.isVisible(element)));
782
785
  }
783
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: InteractivityChecker, deps: [{ token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable }); }
784
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: InteractivityChecker, providedIn: 'root' }); }
786
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: InteractivityChecker, deps: [{ token: i1.Platform }], target: i0.ɵɵFactoryTarget.Injectable }); }
787
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: InteractivityChecker, providedIn: 'root' }); }
785
788
  }
786
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: InteractivityChecker, decorators: [{
789
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: InteractivityChecker, decorators: [{
787
790
  type: Injectable,
788
791
  args: [{ providedIn: 'root' }]
789
792
  }], ctorParameters: () => [{ type: i1.Platform }] });
@@ -1174,10 +1177,10 @@ class FocusTrapFactory {
1174
1177
  create(element, deferCaptureElements = false) {
1175
1178
  return new FocusTrap(element, this._checker, this._ngZone, this._document, deferCaptureElements);
1176
1179
  }
1177
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: FocusTrapFactory, deps: [{ token: InteractivityChecker }, { token: i0.NgZone }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
1178
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: FocusTrapFactory, providedIn: 'root' }); }
1180
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: FocusTrapFactory, deps: [{ token: InteractivityChecker }, { token: i0.NgZone }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
1181
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: FocusTrapFactory, providedIn: 'root' }); }
1179
1182
  }
1180
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: FocusTrapFactory, decorators: [{
1183
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: FocusTrapFactory, decorators: [{
1181
1184
  type: Injectable,
1182
1185
  args: [{ providedIn: 'root' }]
1183
1186
  }], ctorParameters: () => [{ type: InteractivityChecker }, { type: i0.NgZone }, { type: undefined, decorators: [{
@@ -1188,10 +1191,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2",
1188
1191
  class CdkTrapFocus {
1189
1192
  /** Whether the focus trap is active. */
1190
1193
  get enabled() {
1191
- return this.focusTrap.enabled;
1194
+ return this.focusTrap?.enabled || false;
1192
1195
  }
1193
1196
  set enabled(value) {
1194
- this.focusTrap.enabled = value;
1197
+ if (this.focusTrap) {
1198
+ this.focusTrap.enabled = value;
1199
+ }
1195
1200
  }
1196
1201
  constructor(_elementRef, _focusTrapFactory,
1197
1202
  /**
@@ -1203,10 +1208,13 @@ class CdkTrapFocus {
1203
1208
  this._focusTrapFactory = _focusTrapFactory;
1204
1209
  /** Previously focused element to restore focus to upon destroy when using autoCapture. */
1205
1210
  this._previouslyFocusedElement = null;
1206
- this.focusTrap = this._focusTrapFactory.create(this._elementRef.nativeElement, true);
1211
+ const platform = inject(Platform);
1212
+ if (platform.isBrowser) {
1213
+ this.focusTrap = this._focusTrapFactory.create(this._elementRef.nativeElement, true);
1214
+ }
1207
1215
  }
1208
1216
  ngOnDestroy() {
1209
- this.focusTrap.destroy();
1217
+ this.focusTrap?.destroy();
1210
1218
  // If we stored a previously focused element when using autoCapture, return focus to that
1211
1219
  // element now that the trapped region is being destroyed.
1212
1220
  if (this._previouslyFocusedElement) {
@@ -1215,13 +1223,13 @@ class CdkTrapFocus {
1215
1223
  }
1216
1224
  }
1217
1225
  ngAfterContentInit() {
1218
- this.focusTrap.attachAnchors();
1226
+ this.focusTrap?.attachAnchors();
1219
1227
  if (this.autoCapture) {
1220
1228
  this._captureFocus();
1221
1229
  }
1222
1230
  }
1223
1231
  ngDoCheck() {
1224
- if (!this.focusTrap.hasAttached()) {
1232
+ if (this.focusTrap && !this.focusTrap.hasAttached()) {
1225
1233
  this.focusTrap.attachAnchors();
1226
1234
  }
1227
1235
  }
@@ -1230,18 +1238,18 @@ class CdkTrapFocus {
1230
1238
  if (autoCaptureChange &&
1231
1239
  !autoCaptureChange.firstChange &&
1232
1240
  this.autoCapture &&
1233
- this.focusTrap.hasAttached()) {
1241
+ this.focusTrap?.hasAttached()) {
1234
1242
  this._captureFocus();
1235
1243
  }
1236
1244
  }
1237
1245
  _captureFocus() {
1238
1246
  this._previouslyFocusedElement = _getFocusedElementPierceShadowDom();
1239
- this.focusTrap.focusInitialElementWhenReady();
1247
+ this.focusTrap?.focusInitialElementWhenReady();
1240
1248
  }
1241
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: CdkTrapFocus, deps: [{ token: i0.ElementRef }, { token: FocusTrapFactory }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive }); }
1242
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.1.0-next.2", type: CdkTrapFocus, isStandalone: true, selector: "[cdkTrapFocus]", inputs: { enabled: ["cdkTrapFocus", "enabled", booleanAttribute], autoCapture: ["cdkTrapFocusAutoCapture", "autoCapture", booleanAttribute] }, exportAs: ["cdkTrapFocus"], usesOnChanges: true, ngImport: i0 }); }
1249
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: CdkTrapFocus, deps: [{ token: i0.ElementRef }, { token: FocusTrapFactory }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive }); }
1250
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.1.0-next.5", type: CdkTrapFocus, isStandalone: true, selector: "[cdkTrapFocus]", inputs: { enabled: ["cdkTrapFocus", "enabled", booleanAttribute], autoCapture: ["cdkTrapFocusAutoCapture", "autoCapture", booleanAttribute] }, exportAs: ["cdkTrapFocus"], usesOnChanges: true, ngImport: i0 }); }
1243
1251
  }
1244
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: CdkTrapFocus, decorators: [{
1252
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: CdkTrapFocus, decorators: [{
1245
1253
  type: Directive,
1246
1254
  args: [{
1247
1255
  selector: '[cdkTrapFocus]',
@@ -1395,10 +1403,10 @@ class FocusTrapManager {
1395
1403
  }
1396
1404
  }
1397
1405
  }
1398
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: FocusTrapManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1399
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: FocusTrapManager, providedIn: 'root' }); }
1406
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: FocusTrapManager, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1407
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: FocusTrapManager, providedIn: 'root' }); }
1400
1408
  }
1401
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: FocusTrapManager, decorators: [{
1409
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: FocusTrapManager, decorators: [{
1402
1410
  type: Injectable,
1403
1411
  args: [{ providedIn: 'root' }]
1404
1412
  }] });
@@ -1423,10 +1431,10 @@ class ConfigurableFocusTrapFactory {
1423
1431
  }
1424
1432
  return new ConfigurableFocusTrap(element, this._checker, this._ngZone, this._document, this._focusTrapManager, this._inertStrategy, configObject);
1425
1433
  }
1426
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.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 }); }
1427
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: ConfigurableFocusTrapFactory, providedIn: 'root' }); }
1434
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.5", 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 }); }
1435
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: ConfigurableFocusTrapFactory, providedIn: 'root' }); }
1428
1436
  }
1429
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: ConfigurableFocusTrapFactory, decorators: [{
1437
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: ConfigurableFocusTrapFactory, decorators: [{
1430
1438
  type: Injectable,
1431
1439
  args: [{ providedIn: 'root' }]
1432
1440
  }], ctorParameters: () => [{ type: InteractivityChecker }, { type: i0.NgZone }, { type: FocusTrapManager }, { type: undefined, decorators: [{
@@ -1605,10 +1613,10 @@ class InputModalityDetector {
1605
1613
  document.removeEventListener('touchstart', this._onTouchstart, modalityEventListenerOptions);
1606
1614
  }
1607
1615
  }
1608
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.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 }); }
1609
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: InputModalityDetector, providedIn: 'root' }); }
1616
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: InputModalityDetector, deps: [{ token: i1.Platform }, { token: i0.NgZone }, { token: DOCUMENT }, { token: INPUT_MODALITY_DETECTOR_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
1617
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: InputModalityDetector, providedIn: 'root' }); }
1610
1618
  }
1611
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: InputModalityDetector, decorators: [{
1619
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: InputModalityDetector, decorators: [{
1612
1620
  type: Injectable,
1613
1621
  args: [{ providedIn: 'root' }]
1614
1622
  }], ctorParameters: () => [{ type: i1.Platform }, { type: i0.NgZone }, { type: Document, decorators: [{
@@ -1745,10 +1753,10 @@ class LiveAnnouncer {
1745
1753
  }
1746
1754
  }
1747
1755
  }
1748
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.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 }); }
1749
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: LiveAnnouncer, providedIn: 'root' }); }
1756
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.5", 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 }); }
1757
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: LiveAnnouncer, providedIn: 'root' }); }
1750
1758
  }
1751
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: LiveAnnouncer, decorators: [{
1759
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: LiveAnnouncer, decorators: [{
1752
1760
  type: Injectable,
1753
1761
  args: [{ providedIn: 'root' }]
1754
1762
  }], ctorParameters: () => [{ type: undefined, decorators: [{
@@ -1809,10 +1817,10 @@ class CdkAriaLive {
1809
1817
  this._subscription.unsubscribe();
1810
1818
  }
1811
1819
  }
1812
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: CdkAriaLive, deps: [{ token: i0.ElementRef }, { token: LiveAnnouncer }, { token: i1$1.ContentObserver }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
1813
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.0-next.2", type: CdkAriaLive, isStandalone: true, selector: "[cdkAriaLive]", inputs: { politeness: ["cdkAriaLive", "politeness"], duration: ["cdkAriaLiveDuration", "duration"] }, exportAs: ["cdkAriaLive"], ngImport: i0 }); }
1820
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: CdkAriaLive, deps: [{ token: i0.ElementRef }, { token: LiveAnnouncer }, { token: i1$1.ContentObserver }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
1821
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.0-next.5", type: CdkAriaLive, isStandalone: true, selector: "[cdkAriaLive]", inputs: { politeness: ["cdkAriaLive", "politeness"], duration: ["cdkAriaLiveDuration", "duration"] }, exportAs: ["cdkAriaLive"], ngImport: i0 }); }
1814
1822
  }
1815
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: CdkAriaLive, decorators: [{
1823
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: CdkAriaLive, decorators: [{
1816
1824
  type: Directive,
1817
1825
  args: [{
1818
1826
  selector: '[cdkAriaLive]',
@@ -2213,10 +2221,10 @@ class FocusMonitor {
2213
2221
  }
2214
2222
  return false;
2215
2223
  }
2216
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.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 }); }
2217
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: FocusMonitor, providedIn: 'root' }); }
2224
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.5", 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 }); }
2225
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: FocusMonitor, providedIn: 'root' }); }
2218
2226
  }
2219
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: FocusMonitor, decorators: [{
2227
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: FocusMonitor, decorators: [{
2220
2228
  type: Injectable,
2221
2229
  args: [{ providedIn: 'root' }]
2222
2230
  }], ctorParameters: () => [{ type: i0.NgZone }, { type: i1.Platform }, { type: InputModalityDetector }, { type: undefined, decorators: [{
@@ -2264,10 +2272,10 @@ class CdkMonitorFocus {
2264
2272
  this._monitorSubscription.unsubscribe();
2265
2273
  }
2266
2274
  }
2267
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: CdkMonitorFocus, deps: [{ token: i0.ElementRef }, { token: FocusMonitor }], target: i0.ɵɵFactoryTarget.Directive }); }
2268
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.0-next.2", type: CdkMonitorFocus, isStandalone: true, selector: "[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]", outputs: { cdkFocusChange: "cdkFocusChange" }, exportAs: ["cdkMonitorFocus"], ngImport: i0 }); }
2275
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: CdkMonitorFocus, deps: [{ token: i0.ElementRef }, { token: FocusMonitor }], target: i0.ɵɵFactoryTarget.Directive }); }
2276
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.0-next.5", type: CdkMonitorFocus, isStandalone: true, selector: "[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]", outputs: { cdkFocusChange: "cdkFocusChange" }, exportAs: ["cdkMonitorFocus"], ngImport: i0 }); }
2269
2277
  }
2270
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: CdkMonitorFocus, decorators: [{
2278
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: CdkMonitorFocus, decorators: [{
2271
2279
  type: Directive,
2272
2280
  args: [{
2273
2281
  selector: '[cdkMonitorElementFocus], [cdkMonitorSubtreeFocus]',
@@ -2370,10 +2378,10 @@ class HighContrastModeDetector {
2370
2378
  }
2371
2379
  }
2372
2380
  }
2373
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: HighContrastModeDetector, deps: [{ token: i1.Platform }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
2374
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: HighContrastModeDetector, providedIn: 'root' }); }
2381
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: HighContrastModeDetector, deps: [{ token: i1.Platform }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
2382
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: HighContrastModeDetector, providedIn: 'root' }); }
2375
2383
  }
2376
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: HighContrastModeDetector, decorators: [{
2384
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: HighContrastModeDetector, decorators: [{
2377
2385
  type: Injectable,
2378
2386
  args: [{ providedIn: 'root' }]
2379
2387
  }], ctorParameters: () => [{ type: i1.Platform }, { type: undefined, decorators: [{
@@ -2385,11 +2393,11 @@ class A11yModule {
2385
2393
  constructor(highContrastModeDetector) {
2386
2394
  highContrastModeDetector._applyBodyHighContrastModeCssClasses();
2387
2395
  }
2388
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: A11yModule, deps: [{ token: HighContrastModeDetector }], target: i0.ɵɵFactoryTarget.NgModule }); }
2389
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.0-next.2", ngImport: i0, type: A11yModule, imports: [ObserversModule, CdkAriaLive, CdkTrapFocus, CdkMonitorFocus], exports: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus] }); }
2390
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: A11yModule, imports: [ObserversModule] }); }
2396
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: A11yModule, deps: [{ token: HighContrastModeDetector }], target: i0.ɵɵFactoryTarget.NgModule }); }
2397
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.1.0-next.5", ngImport: i0, type: A11yModule, imports: [ObserversModule, CdkAriaLive, CdkTrapFocus, CdkMonitorFocus], exports: [CdkAriaLive, CdkTrapFocus, CdkMonitorFocus] }); }
2398
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: A11yModule, imports: [ObserversModule] }); }
2391
2399
  }
2392
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.2", ngImport: i0, type: A11yModule, decorators: [{
2400
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.0-next.5", ngImport: i0, type: A11yModule, decorators: [{
2393
2401
  type: NgModule,
2394
2402
  args: [{
2395
2403
  imports: [ObserversModule, CdkAriaLive, CdkTrapFocus, CdkMonitorFocus],