@angular/cdk 18.0.0-next.4 → 18.0.0-next.6

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 (135) hide show
  1. package/drag-drop/index.d.ts +5 -9
  2. package/esm2022/a11y/a11y-module.mjs +4 -4
  3. package/esm2022/a11y/aria-describer/aria-describer.mjs +3 -3
  4. package/esm2022/a11y/focus-monitor/focus-monitor.mjs +6 -6
  5. package/esm2022/a11y/focus-trap/configurable-focus-trap-factory.mjs +3 -3
  6. package/esm2022/a11y/focus-trap/focus-trap-manager.mjs +3 -3
  7. package/esm2022/a11y/focus-trap/focus-trap.mjs +6 -6
  8. package/esm2022/a11y/high-contrast-mode/high-contrast-mode-detector.mjs +3 -3
  9. package/esm2022/a11y/input-modality/input-modality-detector.mjs +3 -3
  10. package/esm2022/a11y/interactivity-checker/interactivity-checker.mjs +3 -3
  11. package/esm2022/a11y/key-manager/list-key-manager.mjs +2 -2
  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/dom/root-node.mjs +21 -0
  33. package/esm2022/drag-drop/dom/styling.mjs +21 -1
  34. package/esm2022/drag-drop/drag-drop-module.mjs +4 -4
  35. package/esm2022/drag-drop/drag-drop-registry.mjs +3 -3
  36. package/esm2022/drag-drop/drag-drop.mjs +3 -3
  37. package/esm2022/drag-drop/drag-ref.mjs +33 -104
  38. package/esm2022/drag-drop/preview-ref.mjs +135 -0
  39. package/esm2022/layout/breakpoints-observer.mjs +3 -3
  40. package/esm2022/layout/layout-module.mjs +4 -4
  41. package/esm2022/layout/media-matcher.mjs +3 -3
  42. package/esm2022/listbox/listbox-module.mjs +4 -4
  43. package/esm2022/listbox/listbox.mjs +6 -6
  44. package/esm2022/menu/context-menu-trigger.mjs +6 -6
  45. package/esm2022/menu/menu-aim.mjs +6 -6
  46. package/esm2022/menu/menu-bar.mjs +3 -3
  47. package/esm2022/menu/menu-base.mjs +3 -3
  48. package/esm2022/menu/menu-group.mjs +3 -3
  49. package/esm2022/menu/menu-item-checkbox.mjs +3 -3
  50. package/esm2022/menu/menu-item-radio.mjs +3 -3
  51. package/esm2022/menu/menu-item-selectable.mjs +3 -3
  52. package/esm2022/menu/menu-item.mjs +3 -3
  53. package/esm2022/menu/menu-module.mjs +4 -4
  54. package/esm2022/menu/menu-stack.mjs +3 -3
  55. package/esm2022/menu/menu-trigger-base.mjs +3 -3
  56. package/esm2022/menu/menu-trigger.mjs +3 -3
  57. package/esm2022/menu/menu.mjs +3 -3
  58. package/esm2022/observers/observe-content.mjs +71 -43
  59. package/esm2022/observers/private/shared-resize-observer.mjs +3 -3
  60. package/esm2022/overlay/dispatchers/base-overlay-dispatcher.mjs +3 -3
  61. package/esm2022/overlay/dispatchers/overlay-keyboard-dispatcher.mjs +3 -3
  62. package/esm2022/overlay/dispatchers/overlay-outside-click-dispatcher.mjs +3 -3
  63. package/esm2022/overlay/fullscreen-overlay-container.mjs +3 -3
  64. package/esm2022/overlay/overlay-container.mjs +3 -3
  65. package/esm2022/overlay/overlay-directives.mjs +6 -6
  66. package/esm2022/overlay/overlay-module.mjs +4 -4
  67. package/esm2022/overlay/overlay.mjs +3 -3
  68. package/esm2022/overlay/position/overlay-position-builder.mjs +3 -3
  69. package/esm2022/overlay/scroll/scroll-strategy-options.mjs +3 -3
  70. package/esm2022/platform/platform-module.mjs +4 -4
  71. package/esm2022/platform/platform.mjs +3 -3
  72. package/esm2022/portal/portal-directives.mjs +16 -16
  73. package/esm2022/scrolling/fixed-size-virtual-scroll.mjs +3 -3
  74. package/esm2022/scrolling/scroll-dispatcher.mjs +3 -3
  75. package/esm2022/scrolling/scrollable.mjs +3 -3
  76. package/esm2022/scrolling/scrolling-module.mjs +8 -8
  77. package/esm2022/scrolling/viewport-ruler.mjs +3 -3
  78. package/esm2022/scrolling/virtual-for-of.mjs +3 -3
  79. package/esm2022/scrolling/virtual-scroll-viewport.mjs +20 -27
  80. package/esm2022/scrolling/virtual-scrollable-element.mjs +3 -3
  81. package/esm2022/scrolling/virtual-scrollable-window.mjs +3 -3
  82. package/esm2022/scrolling/virtual-scrollable.mjs +3 -3
  83. package/esm2022/stepper/step-header.mjs +3 -3
  84. package/esm2022/stepper/step-label.mjs +3 -3
  85. package/esm2022/stepper/stepper-button.mjs +6 -6
  86. package/esm2022/stepper/stepper-module.mjs +4 -4
  87. package/esm2022/stepper/stepper.mjs +6 -6
  88. package/esm2022/table/cell.mjs +21 -21
  89. package/esm2022/table/coalesced-style-scheduler.mjs +3 -3
  90. package/esm2022/table/row.mjs +27 -27
  91. package/esm2022/table/table-module.mjs +4 -4
  92. package/esm2022/table/table.mjs +18 -18
  93. package/esm2022/table/text-column.mjs +3 -3
  94. package/esm2022/text-field/autofill.mjs +6 -6
  95. package/esm2022/text-field/autosize.mjs +3 -3
  96. package/esm2022/text-field/text-field-module.mjs +4 -4
  97. package/esm2022/tree/nested-node.mjs +3 -3
  98. package/esm2022/tree/node.mjs +3 -3
  99. package/esm2022/tree/outlet.mjs +3 -3
  100. package/esm2022/tree/padding.mjs +3 -3
  101. package/esm2022/tree/toggle.mjs +3 -3
  102. package/esm2022/tree/tree-module.mjs +4 -4
  103. package/esm2022/tree/tree.mjs +6 -6
  104. package/esm2022/version.mjs +1 -1
  105. package/fesm2022/a11y.mjs +41 -41
  106. package/fesm2022/a11y.mjs.map +1 -1
  107. package/fesm2022/accordion.mjs +10 -10
  108. package/fesm2022/bidi.mjs +10 -10
  109. package/fesm2022/cdk.mjs +1 -1
  110. package/fesm2022/cdk.mjs.map +1 -1
  111. package/fesm2022/clipboard.mjs +10 -10
  112. package/fesm2022/collections.mjs +3 -3
  113. package/fesm2022/dialog.mjs +10 -10
  114. package/fesm2022/drag-drop.mjs +242 -156
  115. package/fesm2022/drag-drop.mjs.map +1 -1
  116. package/fesm2022/layout.mjs +10 -10
  117. package/fesm2022/listbox.mjs +10 -10
  118. package/fesm2022/menu.mjs +49 -49
  119. package/fesm2022/observers/private.mjs +3 -3
  120. package/fesm2022/observers.mjs +69 -41
  121. package/fesm2022/observers.mjs.map +1 -1
  122. package/fesm2022/overlay.mjs +34 -34
  123. package/fesm2022/platform.mjs +7 -7
  124. package/fesm2022/portal.mjs +16 -16
  125. package/fesm2022/scrolling.mjs +50 -57
  126. package/fesm2022/scrolling.mjs.map +1 -1
  127. package/fesm2022/stepper.mjs +22 -22
  128. package/fesm2022/table.mjs +76 -76
  129. package/fesm2022/text-field.mjs +13 -13
  130. package/fesm2022/tree.mjs +25 -25
  131. package/observers/index.d.ts +2 -3
  132. package/package.json +1 -1
  133. package/schematics/ng-add/index.js +1 -1
  134. package/schematics/ng-add/index.mjs +1 -1
  135. package/scrolling/index.d.ts +0 -2
@@ -6,11 +6,11 @@ import { take, skip, debounceTime, map, startWith, takeUntil } from 'rxjs/operat
6
6
  import * as i1 from '@angular/cdk/platform';
7
7
 
8
8
  class LayoutModule {
9
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: LayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
10
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-next.1", ngImport: i0, type: LayoutModule }); }
11
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: LayoutModule }); }
9
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: LayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
10
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-next.5", ngImport: i0, type: LayoutModule }); }
11
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: LayoutModule }); }
12
12
  }
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: LayoutModule, decorators: [{
13
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: LayoutModule, decorators: [{
14
14
  type: NgModule,
15
15
  args: [{}]
16
16
  }] });
@@ -43,10 +43,10 @@ class MediaMatcher {
43
43
  }
44
44
  return this._matchMedia(query);
45
45
  }
46
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MediaMatcher, deps: [{ token: i1.Platform }, { token: CSP_NONCE, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
47
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MediaMatcher, providedIn: 'root' }); }
46
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: MediaMatcher, deps: [{ token: i1.Platform }, { token: CSP_NONCE, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
47
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: MediaMatcher, providedIn: 'root' }); }
48
48
  }
49
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MediaMatcher, decorators: [{
49
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: MediaMatcher, decorators: [{
50
50
  type: Injectable,
51
51
  args: [{ providedIn: 'root' }]
52
52
  }], ctorParameters: () => [{ type: i1.Platform }, { type: undefined, decorators: [{
@@ -171,10 +171,10 @@ class BreakpointObserver {
171
171
  this._queries.set(query, output);
172
172
  return output;
173
173
  }
174
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: BreakpointObserver, deps: [{ token: MediaMatcher }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }
175
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: BreakpointObserver, providedIn: 'root' }); }
174
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: BreakpointObserver, deps: [{ token: MediaMatcher }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable }); }
175
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: BreakpointObserver, providedIn: 'root' }); }
176
176
  }
177
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: BreakpointObserver, decorators: [{
177
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: BreakpointObserver, decorators: [{
178
178
  type: Injectable,
179
179
  args: [{ providedIn: 'root' }]
180
180
  }], ctorParameters: () => [{ type: MediaMatcher }, { type: i0.NgZone }] });
@@ -135,10 +135,10 @@ class CdkOption {
135
135
  }
136
136
  return this.isActive() ? this.enabledTabIndex : -1;
137
137
  }
138
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkOption, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
139
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0-next.1", type: CdkOption, isStandalone: true, selector: "[cdkOption]", inputs: { id: "id", value: ["cdkOption", "value"], typeaheadLabel: ["cdkOptionTypeaheadLabel", "typeaheadLabel"], disabled: ["cdkOptionDisabled", "disabled", booleanAttribute], enabledTabIndex: ["tabindex", "enabledTabIndex"] }, host: { attributes: { "role": "option" }, listeners: { "click": "_clicked.next($event)", "focus": "_handleFocus()" }, properties: { "id": "id", "attr.aria-selected": "isSelected()", "attr.tabindex": "_getTabIndex()", "attr.aria-disabled": "disabled", "class.cdk-option-active": "isActive()" }, classAttribute: "cdk-option" }, exportAs: ["cdkOption"], ngImport: i0 }); }
138
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkOption, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
139
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0-next.5", type: CdkOption, isStandalone: true, selector: "[cdkOption]", inputs: { id: "id", value: ["cdkOption", "value"], typeaheadLabel: ["cdkOptionTypeaheadLabel", "typeaheadLabel"], disabled: ["cdkOptionDisabled", "disabled", booleanAttribute], enabledTabIndex: ["tabindex", "enabledTabIndex"] }, host: { attributes: { "role": "option" }, listeners: { "click": "_clicked.next($event)", "focus": "_handleFocus()" }, properties: { "id": "id", "attr.aria-selected": "isSelected()", "attr.tabindex": "_getTabIndex()", "attr.aria-disabled": "disabled", "class.cdk-option-active": "isActive()" }, classAttribute: "cdk-option" }, exportAs: ["cdkOption"], ngImport: i0 }); }
140
140
  }
141
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkOption, decorators: [{
141
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkOption, decorators: [{
142
142
  type: Directive,
143
143
  args: [{
144
144
  selector: '[cdkOption]',
@@ -805,8 +805,8 @@ class CdkListbox {
805
805
  });
806
806
  });
807
807
  }
808
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkListbox, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
809
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0-next.1", type: CdkListbox, isStandalone: true, selector: "[cdkListbox]", inputs: { id: "id", enabledTabIndex: ["tabindex", "enabledTabIndex"], value: ["cdkListboxValue", "value"], multiple: ["cdkListboxMultiple", "multiple", booleanAttribute], disabled: ["cdkListboxDisabled", "disabled", booleanAttribute], useActiveDescendant: ["cdkListboxUseActiveDescendant", "useActiveDescendant", booleanAttribute], orientation: ["cdkListboxOrientation", "orientation"], compareWith: ["cdkListboxCompareWith", "compareWith"], navigationWrapDisabled: ["cdkListboxNavigationWrapDisabled", "navigationWrapDisabled", booleanAttribute], navigateDisabledOptions: ["cdkListboxNavigatesDisabledOptions", "navigateDisabledOptions", booleanAttribute] }, outputs: { valueChange: "cdkListboxValueChange" }, host: { attributes: { "role": "listbox" }, listeners: { "focus": "_handleFocus()", "keydown": "_handleKeydown($event)", "focusout": "_handleFocusOut($event)", "focusin": "_handleFocusIn()" }, properties: { "id": "id", "attr.tabindex": "_getTabIndex()", "attr.aria-disabled": "disabled", "attr.aria-multiselectable": "multiple", "attr.aria-activedescendant": "_getAriaActiveDescendant()", "attr.aria-orientation": "orientation" }, classAttribute: "cdk-listbox" }, providers: [
808
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkListbox, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
809
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0-next.5", type: CdkListbox, isStandalone: true, selector: "[cdkListbox]", inputs: { id: "id", enabledTabIndex: ["tabindex", "enabledTabIndex"], value: ["cdkListboxValue", "value"], multiple: ["cdkListboxMultiple", "multiple", booleanAttribute], disabled: ["cdkListboxDisabled", "disabled", booleanAttribute], useActiveDescendant: ["cdkListboxUseActiveDescendant", "useActiveDescendant", booleanAttribute], orientation: ["cdkListboxOrientation", "orientation"], compareWith: ["cdkListboxCompareWith", "compareWith"], navigationWrapDisabled: ["cdkListboxNavigationWrapDisabled", "navigationWrapDisabled", booleanAttribute], navigateDisabledOptions: ["cdkListboxNavigatesDisabledOptions", "navigateDisabledOptions", booleanAttribute] }, outputs: { valueChange: "cdkListboxValueChange" }, host: { attributes: { "role": "listbox" }, listeners: { "focus": "_handleFocus()", "keydown": "_handleKeydown($event)", "focusout": "_handleFocusOut($event)", "focusin": "_handleFocusIn()" }, properties: { "id": "id", "attr.tabindex": "_getTabIndex()", "attr.aria-disabled": "disabled", "attr.aria-multiselectable": "multiple", "attr.aria-activedescendant": "_getAriaActiveDescendant()", "attr.aria-orientation": "orientation" }, classAttribute: "cdk-listbox" }, providers: [
810
810
  {
811
811
  provide: NG_VALUE_ACCESSOR,
812
812
  useExisting: forwardRef(() => CdkListbox),
@@ -814,7 +814,7 @@ class CdkListbox {
814
814
  },
815
815
  ], queries: [{ propertyName: "options", predicate: CdkOption, descendants: true }], exportAs: ["cdkListbox"], ngImport: i0 }); }
816
816
  }
817
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkListbox, decorators: [{
817
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkListbox, decorators: [{
818
818
  type: Directive,
819
819
  args: [{
820
820
  selector: '[cdkListbox]',
@@ -881,11 +881,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1",
881
881
 
882
882
  const EXPORTED_DECLARATIONS = [CdkListbox, CdkOption];
883
883
  class CdkListboxModule {
884
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkListboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
885
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkListboxModule, imports: [CdkListbox, CdkOption], exports: [CdkListbox, CdkOption] }); }
886
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkListboxModule }); }
884
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkListboxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
885
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkListboxModule, imports: [CdkListbox, CdkOption], exports: [CdkListbox, CdkOption] }); }
886
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkListboxModule }); }
887
887
  }
888
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkListboxModule, decorators: [{
888
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkListboxModule, decorators: [{
889
889
  type: NgModule,
890
890
  args: [{
891
891
  imports: [...EXPORTED_DECLARATIONS],
package/fesm2022/menu.mjs CHANGED
@@ -14,10 +14,10 @@ import { _getEventTarget } from '@angular/cdk/platform';
14
14
  * A grouping container for `CdkMenuItemRadio` instances, similar to a `role="radiogroup"` element.
15
15
  */
16
16
  class CdkMenuGroup {
17
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkMenuGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
18
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.1", type: CdkMenuGroup, isStandalone: true, selector: "[cdkMenuGroup]", host: { attributes: { "role": "group" }, classAttribute: "cdk-menu-group" }, providers: [{ provide: UniqueSelectionDispatcher, useClass: UniqueSelectionDispatcher }], exportAs: ["cdkMenuGroup"], ngImport: i0 }); }
17
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkMenuGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
18
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.5", type: CdkMenuGroup, isStandalone: true, selector: "[cdkMenuGroup]", host: { attributes: { "role": "group" }, classAttribute: "cdk-menu-group" }, providers: [{ provide: UniqueSelectionDispatcher, useClass: UniqueSelectionDispatcher }], exportAs: ["cdkMenuGroup"], ngImport: i0 }); }
19
19
  }
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkMenuGroup, decorators: [{
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkMenuGroup, decorators: [{
21
21
  type: Directive,
22
22
  args: [{
23
23
  selector: '[cdkMenuGroup]',
@@ -179,10 +179,10 @@ class MenuStack {
179
179
  setHasFocus(hasFocus) {
180
180
  this._hasFocus.next(hasFocus);
181
181
  }
182
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MenuStack, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
183
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MenuStack }); }
182
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: MenuStack, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
183
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: MenuStack }); }
184
184
  }
185
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MenuStack, decorators: [{
185
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: MenuStack, decorators: [{
186
186
  type: Injectable
187
187
  }] });
188
188
 
@@ -268,10 +268,10 @@ class CdkMenuTriggerBase {
268
268
  });
269
269
  return this._childMenuInjector;
270
270
  }
271
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkMenuTriggerBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
272
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.1", type: CdkMenuTriggerBase, isStandalone: true, host: { properties: { "attr.aria-controls": "childMenu?.id", "attr.data-cdk-menu-stack-id": "menuStack.id" } }, ngImport: i0 }); }
271
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkMenuTriggerBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
272
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.5", type: CdkMenuTriggerBase, isStandalone: true, host: { properties: { "attr.aria-controls": "childMenu?.id", "attr.data-cdk-menu-stack-id": "menuStack.id" } }, ngImport: i0 }); }
273
273
  }
274
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkMenuTriggerBase, decorators: [{
274
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkMenuTriggerBase, decorators: [{
275
275
  type: Directive,
276
276
  args: [{
277
277
  host: {
@@ -465,10 +465,10 @@ class TargetMenuAim {
465
465
  });
466
466
  });
467
467
  }
468
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: TargetMenuAim, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
469
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: TargetMenuAim }); }
468
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: TargetMenuAim, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
469
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: TargetMenuAim }); }
470
470
  }
471
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: TargetMenuAim, decorators: [{
471
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: TargetMenuAim, decorators: [{
472
472
  type: Injectable
473
473
  }] });
474
474
  /**
@@ -476,10 +476,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1",
476
476
  * element with either the `cdkMenu` or `cdkMenuBar` directive and child menu items.
477
477
  */
478
478
  class CdkTargetMenuAim {
479
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkTargetMenuAim, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
480
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.1", type: CdkTargetMenuAim, isStandalone: true, selector: "[cdkTargetMenuAim]", providers: [{ provide: MENU_AIM, useClass: TargetMenuAim }], exportAs: ["cdkTargetMenuAim"], ngImport: i0 }); }
479
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkTargetMenuAim, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
480
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.5", type: CdkTargetMenuAim, isStandalone: true, selector: "[cdkTargetMenuAim]", providers: [{ provide: MENU_AIM, useClass: TargetMenuAim }], exportAs: ["cdkTargetMenuAim"], ngImport: i0 }); }
481
481
  }
482
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkTargetMenuAim, decorators: [{
482
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkTargetMenuAim, decorators: [{
483
483
  type: Directive,
484
484
  args: [{
485
485
  selector: '[cdkTargetMenuAim]',
@@ -767,13 +767,13 @@ class CdkMenuTrigger extends CdkMenuTriggerBase {
767
767
  element.setAttribute('type', 'button');
768
768
  }
769
769
  }
770
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkMenuTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
771
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.1", type: CdkMenuTrigger, isStandalone: true, selector: "[cdkMenuTriggerFor]", inputs: { menuTemplateRef: ["cdkMenuTriggerFor", "menuTemplateRef"], menuPosition: ["cdkMenuPosition", "menuPosition"], menuData: ["cdkMenuTriggerData", "menuData"] }, outputs: { opened: "cdkMenuOpened", closed: "cdkMenuClosed" }, host: { listeners: { "focusin": "_setHasFocus(true)", "focusout": "_setHasFocus(false)", "keydown": "_toggleOnKeydown($event)", "click": "_handleClick()" }, properties: { "attr.aria-haspopup": "menuTemplateRef ? \"menu\" : null", "attr.aria-expanded": "menuTemplateRef == null ? null : isOpen()" }, classAttribute: "cdk-menu-trigger" }, providers: [
770
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkMenuTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
771
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.5", type: CdkMenuTrigger, isStandalone: true, selector: "[cdkMenuTriggerFor]", inputs: { menuTemplateRef: ["cdkMenuTriggerFor", "menuTemplateRef"], menuPosition: ["cdkMenuPosition", "menuPosition"], menuData: ["cdkMenuTriggerData", "menuData"] }, outputs: { opened: "cdkMenuOpened", closed: "cdkMenuClosed" }, host: { listeners: { "focusin": "_setHasFocus(true)", "focusout": "_setHasFocus(false)", "keydown": "_toggleOnKeydown($event)", "click": "_handleClick()" }, properties: { "attr.aria-haspopup": "menuTemplateRef ? \"menu\" : null", "attr.aria-expanded": "menuTemplateRef == null ? null : isOpen()" }, classAttribute: "cdk-menu-trigger" }, providers: [
772
772
  { provide: MENU_TRIGGER, useExisting: CdkMenuTrigger },
773
773
  PARENT_OR_NEW_MENU_STACK_PROVIDER,
774
774
  ], exportAs: ["cdkMenuTriggerFor"], usesInheritance: true, ngImport: i0 }); }
775
775
  }
776
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkMenuTrigger, decorators: [{
776
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkMenuTrigger, decorators: [{
777
777
  type: Directive,
778
778
  args: [{
779
779
  selector: '[cdkMenuTriggerFor]',
@@ -1021,10 +1021,10 @@ class CdkMenuItem {
1021
1021
  element.setAttribute('type', 'button');
1022
1022
  }
1023
1023
  }
1024
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkMenuItem, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1025
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0-next.1", type: CdkMenuItem, isStandalone: true, selector: "[cdkMenuItem]", inputs: { disabled: ["cdkMenuItemDisabled", "disabled", booleanAttribute], typeaheadLabel: ["cdkMenuitemTypeaheadLabel", "typeaheadLabel"] }, outputs: { triggered: "cdkMenuItemTriggered" }, host: { attributes: { "role": "menuitem" }, listeners: { "blur": "_resetTabIndex()", "focus": "_setTabIndex()", "click": "trigger()", "keydown": "_onKeydown($event)" }, properties: { "tabindex": "_tabindex", "attr.aria-disabled": "disabled || null" }, classAttribute: "cdk-menu-item" }, exportAs: ["cdkMenuItem"], ngImport: i0 }); }
1024
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkMenuItem, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1025
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0-next.5", type: CdkMenuItem, isStandalone: true, selector: "[cdkMenuItem]", inputs: { disabled: ["cdkMenuItemDisabled", "disabled", booleanAttribute], typeaheadLabel: ["cdkMenuitemTypeaheadLabel", "typeaheadLabel"] }, outputs: { triggered: "cdkMenuItemTriggered" }, host: { attributes: { "role": "menuitem" }, listeners: { "blur": "_resetTabIndex()", "focus": "_setTabIndex()", "click": "trigger()", "keydown": "_onKeydown($event)" }, properties: { "tabindex": "_tabindex", "attr.aria-disabled": "disabled || null" }, classAttribute: "cdk-menu-item" }, exportAs: ["cdkMenuItem"], ngImport: i0 }); }
1026
1026
  }
1027
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkMenuItem, decorators: [{
1027
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkMenuItem, decorators: [{
1028
1028
  type: Directive,
1029
1029
  args: [{
1030
1030
  selector: '[cdkMenuItem]',
@@ -1239,10 +1239,10 @@ class CdkMenuBase extends CdkMenuGroup {
1239
1239
  this.menuAim.initialize(this, this.pointerTracker);
1240
1240
  }
1241
1241
  }
1242
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkMenuBase, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
1243
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.1", type: CdkMenuBase, isStandalone: true, inputs: { id: "id" }, host: { attributes: { "role": "menu" }, listeners: { "focus": "focusFirstItem()", "focusin": "menuStack.setHasFocus(true)", "focusout": "menuStack.setHasFocus(false)" }, properties: { "tabindex": "_getTabIndex()", "id": "id", "attr.aria-orientation": "orientation", "attr.data-cdk-menu-stack-id": "menuStack.id" } }, queries: [{ propertyName: "items", predicate: CdkMenuItem, descendants: true }], usesInheritance: true, ngImport: i0 }); }
1242
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkMenuBase, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
1243
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.5", type: CdkMenuBase, isStandalone: true, inputs: { id: "id" }, host: { attributes: { "role": "menu" }, listeners: { "focus": "focusFirstItem()", "focusin": "menuStack.setHasFocus(true)", "focusout": "menuStack.setHasFocus(false)" }, properties: { "tabindex": "_getTabIndex()", "id": "id", "attr.aria-orientation": "orientation", "attr.data-cdk-menu-stack-id": "menuStack.id" } }, queries: [{ propertyName: "items", predicate: CdkMenuItem, descendants: true }], usesInheritance: true, ngImport: i0 }); }
1244
1244
  }
1245
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkMenuBase, decorators: [{
1245
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkMenuBase, decorators: [{
1246
1246
  type: Directive,
1247
1247
  args: [{
1248
1248
  host: {
@@ -1355,14 +1355,14 @@ class CdkMenu extends CdkMenuBase {
1355
1355
  .pipe(takeUntil(this.destroyed))
1356
1356
  .subscribe(event => this._toggleMenuFocus(event));
1357
1357
  }
1358
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkMenu, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1359
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.1", type: CdkMenu, isStandalone: true, selector: "[cdkMenu]", outputs: { closed: "closed" }, host: { attributes: { "role": "menu" }, listeners: { "keydown": "_handleKeyEvent($event)" }, properties: { "class.cdk-menu-inline": "isInline" }, classAttribute: "cdk-menu" }, providers: [
1358
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkMenu, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1359
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.5", type: CdkMenu, isStandalone: true, selector: "[cdkMenu]", outputs: { closed: "closed" }, host: { attributes: { "role": "menu" }, listeners: { "keydown": "_handleKeyEvent($event)" }, properties: { "class.cdk-menu-inline": "isInline" }, classAttribute: "cdk-menu" }, providers: [
1360
1360
  { provide: CdkMenuGroup, useExisting: CdkMenu },
1361
1361
  { provide: CDK_MENU, useExisting: CdkMenu },
1362
1362
  PARENT_OR_NEW_INLINE_MENU_STACK_PROVIDER('vertical'),
1363
1363
  ], exportAs: ["cdkMenu"], usesInheritance: true, ngImport: i0 }); }
1364
1364
  }
1365
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkMenu, decorators: [{
1365
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkMenu, decorators: [{
1366
1366
  type: Directive,
1367
1367
  args: [{
1368
1368
  selector: '[cdkMenu]',
@@ -1477,14 +1477,14 @@ class CdkMenuBar extends CdkMenuBase {
1477
1477
  .pipe(takeUntil(this.destroyed))
1478
1478
  .subscribe(event => this._toggleOpenMenu(event));
1479
1479
  }
1480
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkMenuBar, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
1481
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.1", type: CdkMenuBar, isStandalone: true, selector: "[cdkMenuBar]", host: { attributes: { "role": "menubar" }, listeners: { "keydown": "_handleKeyEvent($event)" }, classAttribute: "cdk-menu-bar" }, providers: [
1480
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkMenuBar, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
1481
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.5", type: CdkMenuBar, isStandalone: true, selector: "[cdkMenuBar]", host: { attributes: { "role": "menubar" }, listeners: { "keydown": "_handleKeyEvent($event)" }, classAttribute: "cdk-menu-bar" }, providers: [
1482
1482
  { provide: CdkMenuGroup, useExisting: CdkMenuBar },
1483
1483
  { provide: CDK_MENU, useExisting: CdkMenuBar },
1484
1484
  { provide: MENU_STACK, useFactory: () => MenuStack.inline('horizontal') },
1485
1485
  ], exportAs: ["cdkMenuBar"], usesInheritance: true, ngImport: i0 }); }
1486
1486
  }
1487
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkMenuBar, decorators: [{
1487
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkMenuBar, decorators: [{
1488
1488
  type: Directive,
1489
1489
  args: [{
1490
1490
  selector: '[cdkMenuBar]',
@@ -1512,10 +1512,10 @@ class CdkMenuItemSelectable extends CdkMenuItem {
1512
1512
  /** Whether the item should close the menu if triggered by the spacebar. */
1513
1513
  this.closeOnSpacebarTrigger = false;
1514
1514
  }
1515
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkMenuItemSelectable, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
1516
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0-next.1", type: CdkMenuItemSelectable, isStandalone: true, inputs: { checked: ["cdkMenuItemChecked", "checked", booleanAttribute] }, host: { properties: { "attr.aria-checked": "!!checked", "attr.aria-disabled": "disabled || null" } }, usesInheritance: true, ngImport: i0 }); }
1515
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkMenuItemSelectable, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
1516
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0-next.5", type: CdkMenuItemSelectable, isStandalone: true, inputs: { checked: ["cdkMenuItemChecked", "checked", booleanAttribute] }, host: { properties: { "attr.aria-checked": "!!checked", "attr.aria-disabled": "disabled || null" } }, usesInheritance: true, ngImport: i0 }); }
1517
1517
  }
1518
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkMenuItemSelectable, decorators: [{
1518
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkMenuItemSelectable, decorators: [{
1519
1519
  type: Directive,
1520
1520
  args: [{
1521
1521
  host: {
@@ -1566,13 +1566,13 @@ class CdkMenuItemRadio extends CdkMenuItemSelectable {
1566
1566
  this.checked = this._id === id;
1567
1567
  });
1568
1568
  }
1569
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkMenuItemRadio, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1570
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.1", type: CdkMenuItemRadio, isStandalone: true, selector: "[cdkMenuItemRadio]", host: { attributes: { "role": "menuitemradio" }, properties: { "class.cdk-menu-item-radio": "true" } }, providers: [
1569
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkMenuItemRadio, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1570
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.5", type: CdkMenuItemRadio, isStandalone: true, selector: "[cdkMenuItemRadio]", host: { attributes: { "role": "menuitemradio" }, properties: { "class.cdk-menu-item-radio": "true" } }, providers: [
1571
1571
  { provide: CdkMenuItemSelectable, useExisting: CdkMenuItemRadio },
1572
1572
  { provide: CdkMenuItem, useExisting: CdkMenuItemSelectable },
1573
1573
  ], exportAs: ["cdkMenuItemRadio"], usesInheritance: true, ngImport: i0 }); }
1574
1574
  }
1575
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkMenuItemRadio, decorators: [{
1575
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkMenuItemRadio, decorators: [{
1576
1576
  type: Directive,
1577
1577
  args: [{
1578
1578
  selector: '[cdkMenuItemRadio]',
@@ -1605,13 +1605,13 @@ class CdkMenuItemCheckbox extends CdkMenuItemSelectable {
1605
1605
  this.checked = !this.checked;
1606
1606
  }
1607
1607
  }
1608
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkMenuItemCheckbox, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
1609
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.1", type: CdkMenuItemCheckbox, isStandalone: true, selector: "[cdkMenuItemCheckbox]", host: { attributes: { "role": "menuitemcheckbox" }, properties: { "class.cdk-menu-item-checkbox": "true" } }, providers: [
1608
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkMenuItemCheckbox, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
1609
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.0-next.5", type: CdkMenuItemCheckbox, isStandalone: true, selector: "[cdkMenuItemCheckbox]", host: { attributes: { "role": "menuitemcheckbox" }, properties: { "class.cdk-menu-item-checkbox": "true" } }, providers: [
1610
1610
  { provide: CdkMenuItemSelectable, useExisting: CdkMenuItemCheckbox },
1611
1611
  { provide: CdkMenuItem, useExisting: CdkMenuItemSelectable },
1612
1612
  ], exportAs: ["cdkMenuItemCheckbox"], usesInheritance: true, ngImport: i0 }); }
1613
1613
  }
1614
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkMenuItemCheckbox, decorators: [{
1614
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkMenuItemCheckbox, decorators: [{
1615
1615
  type: Directive,
1616
1616
  args: [{
1617
1617
  selector: '[cdkMenuItemCheckbox]',
@@ -1648,10 +1648,10 @@ class ContextMenuTracker {
1648
1648
  ContextMenuTracker._openContextMenuTrigger = trigger;
1649
1649
  }
1650
1650
  }
1651
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: ContextMenuTracker, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1652
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: ContextMenuTracker, providedIn: 'root' }); }
1651
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: ContextMenuTracker, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1652
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: ContextMenuTracker, providedIn: 'root' }); }
1653
1653
  }
1654
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: ContextMenuTracker, decorators: [{
1654
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: ContextMenuTracker, decorators: [{
1655
1655
  type: Injectable,
1656
1656
  args: [{ providedIn: 'root' }]
1657
1657
  }] });
@@ -1799,13 +1799,13 @@ class CdkContextMenuTrigger extends CdkMenuTriggerBase {
1799
1799
  this._subscribeToOutsideClicks(userEvent);
1800
1800
  }
1801
1801
  }
1802
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkContextMenuTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1803
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0-next.1", type: CdkContextMenuTrigger, isStandalone: true, selector: "[cdkContextMenuTriggerFor]", inputs: { menuTemplateRef: ["cdkContextMenuTriggerFor", "menuTemplateRef"], menuPosition: ["cdkContextMenuPosition", "menuPosition"], menuData: ["cdkContextMenuTriggerData", "menuData"], disabled: ["cdkContextMenuDisabled", "disabled", booleanAttribute] }, outputs: { opened: "cdkContextMenuOpened", closed: "cdkContextMenuClosed" }, host: { listeners: { "contextmenu": "_openOnContextMenu($event)" }, properties: { "attr.data-cdk-menu-stack-id": "null" } }, providers: [
1802
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkContextMenuTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1803
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0-next.5", type: CdkContextMenuTrigger, isStandalone: true, selector: "[cdkContextMenuTriggerFor]", inputs: { menuTemplateRef: ["cdkContextMenuTriggerFor", "menuTemplateRef"], menuPosition: ["cdkContextMenuPosition", "menuPosition"], menuData: ["cdkContextMenuTriggerData", "menuData"], disabled: ["cdkContextMenuDisabled", "disabled", booleanAttribute] }, outputs: { opened: "cdkContextMenuOpened", closed: "cdkContextMenuClosed" }, host: { listeners: { "contextmenu": "_openOnContextMenu($event)" }, properties: { "attr.data-cdk-menu-stack-id": "null" } }, providers: [
1804
1804
  { provide: MENU_TRIGGER, useExisting: CdkContextMenuTrigger },
1805
1805
  { provide: MENU_STACK, useClass: MenuStack },
1806
1806
  ], exportAs: ["cdkContextMenuTriggerFor"], usesInheritance: true, ngImport: i0 }); }
1807
1807
  }
1808
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkContextMenuTrigger, decorators: [{
1808
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkContextMenuTrigger, decorators: [{
1809
1809
  type: Directive,
1810
1810
  args: [{
1811
1811
  selector: '[cdkContextMenuTriggerFor]',
@@ -1844,8 +1844,8 @@ const MENU_DIRECTIVES = [
1844
1844
  ];
1845
1845
  /** Module that declares components and directives for the CDK menu. */
1846
1846
  class CdkMenuModule {
1847
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1848
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkMenuModule, imports: [OverlayModule, CdkMenuBar,
1847
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1848
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkMenuModule, imports: [OverlayModule, CdkMenuBar,
1849
1849
  CdkMenu,
1850
1850
  CdkMenuItem,
1851
1851
  CdkMenuItemRadio,
@@ -1862,9 +1862,9 @@ class CdkMenuModule {
1862
1862
  CdkMenuGroup,
1863
1863
  CdkContextMenuTrigger,
1864
1864
  CdkTargetMenuAim] }); }
1865
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkMenuModule, imports: [OverlayModule] }); }
1865
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkMenuModule, imports: [OverlayModule] }); }
1866
1866
  }
1867
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkMenuModule, decorators: [{
1867
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkMenuModule, decorators: [{
1868
1868
  type: NgModule,
1869
1869
  args: [{
1870
1870
  imports: [OverlayModule, ...MENU_DIRECTIVES],
@@ -107,10 +107,10 @@ class SharedResizeObserver {
107
107
  }
108
108
  return this._observers.get(box).observe(target);
109
109
  }
110
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: SharedResizeObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
111
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: SharedResizeObserver, providedIn: 'root' }); }
110
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: SharedResizeObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
111
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: SharedResizeObserver, providedIn: 'root' }); }
112
112
  }
113
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: SharedResizeObserver, decorators: [{
113
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: SharedResizeObserver, decorators: [{
114
114
  type: Injectable,
115
115
  args: [{
116
116
  providedIn: 'root',
@@ -1,9 +1,35 @@
1
1
  import { coerceElement, coerceNumberProperty } from '@angular/cdk/coercion';
2
2
  import * as i0 from '@angular/core';
3
- import { Injectable, EventEmitter, booleanAttribute, Directive, Output, Input, NgModule } from '@angular/core';
3
+ import { Injectable, inject, NgZone, EventEmitter, booleanAttribute, Directive, Output, Input, NgModule } from '@angular/core';
4
4
  import { Observable, Subject } from 'rxjs';
5
- import { debounceTime } from 'rxjs/operators';
5
+ import { map, filter, debounceTime } from 'rxjs/operators';
6
6
 
7
+ // Angular may add, remove, or edit comment nodes during change detection. We don't care about
8
+ // these changes because they don't affect the user-preceived content, and worse it can cause
9
+ // infinite change detection cycles where the change detection updates a comment, triggering the
10
+ // MutationObserver, triggering another change detection and kicking the cycle off again.
11
+ function shouldIgnoreRecord(record) {
12
+ // Ignore changes to comment text.
13
+ if (record.type === 'characterData' && record.target instanceof Comment) {
14
+ return true;
15
+ }
16
+ // Ignore addition / removal of comments.
17
+ if (record.type === 'childList') {
18
+ for (let i = 0; i < record.addedNodes.length; i++) {
19
+ if (!(record.addedNodes[i] instanceof Comment)) {
20
+ return false;
21
+ }
22
+ }
23
+ for (let i = 0; i < record.removedNodes.length; i++) {
24
+ if (!(record.removedNodes[i] instanceof Comment)) {
25
+ return false;
26
+ }
27
+ }
28
+ return true;
29
+ }
30
+ // Observe everything else.
31
+ return false;
32
+ }
7
33
  /**
8
34
  * Factory that creates a new MutationObserver and allows us to stub it out in unit tests.
9
35
  * @docs-private
@@ -12,10 +38,10 @@ class MutationObserverFactory {
12
38
  create(callback) {
13
39
  return typeof MutationObserver === 'undefined' ? null : new MutationObserver(callback);
14
40
  }
15
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MutationObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
16
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MutationObserverFactory, providedIn: 'root' }); }
41
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: MutationObserverFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
42
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: MutationObserverFactory, providedIn: 'root' }); }
17
43
  }
18
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: MutationObserverFactory, decorators: [{
44
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: MutationObserverFactory, decorators: [{
19
45
  type: Injectable,
20
46
  args: [{ providedIn: 'root' }]
21
47
  }] });
@@ -25,6 +51,7 @@ class ContentObserver {
25
51
  this._mutationObserverFactory = _mutationObserverFactory;
26
52
  /** Keeps track of the existing MutationObservers so they can be reused. */
27
53
  this._observedElements = new Map();
54
+ this._ngZone = inject(NgZone);
28
55
  }
29
56
  ngOnDestroy() {
30
57
  this._observedElements.forEach((_, element) => this._cleanupObserver(element));
@@ -33,7 +60,13 @@ class ContentObserver {
33
60
  const element = coerceElement(elementOrRef);
34
61
  return new Observable((observer) => {
35
62
  const stream = this._observeElement(element);
36
- const subscription = stream.subscribe(observer);
63
+ const subscription = stream
64
+ .pipe(map(records => records.filter(record => !shouldIgnoreRecord(record))), filter(records => !!records.length))
65
+ .subscribe(records => {
66
+ this._ngZone.run(() => {
67
+ observer.next(records);
68
+ });
69
+ });
37
70
  return () => {
38
71
  subscription.unsubscribe();
39
72
  this._unobserveElement(element);
@@ -45,22 +78,24 @@ class ContentObserver {
45
78
  * new one if not.
46
79
  */
47
80
  _observeElement(element) {
48
- if (!this._observedElements.has(element)) {
49
- const stream = new Subject();
50
- const observer = this._mutationObserverFactory.create(mutations => stream.next(mutations));
51
- if (observer) {
52
- observer.observe(element, {
53
- characterData: true,
54
- childList: true,
55
- subtree: true,
56
- });
81
+ return this._ngZone.runOutsideAngular(() => {
82
+ if (!this._observedElements.has(element)) {
83
+ const stream = new Subject();
84
+ const observer = this._mutationObserverFactory.create(mutations => stream.next(mutations));
85
+ if (observer) {
86
+ observer.observe(element, {
87
+ characterData: true,
88
+ childList: true,
89
+ subtree: true,
90
+ });
91
+ }
92
+ this._observedElements.set(element, { observer, stream, count: 1 });
57
93
  }
58
- this._observedElements.set(element, { observer, stream, count: 1 });
59
- }
60
- else {
61
- this._observedElements.get(element).count++;
62
- }
63
- return this._observedElements.get(element).stream;
94
+ else {
95
+ this._observedElements.get(element).count++;
96
+ }
97
+ return this._observedElements.get(element).stream;
98
+ });
64
99
  }
65
100
  /**
66
101
  * Un-observes the given element and cleans up the underlying MutationObserver if nobody else is
@@ -85,10 +120,10 @@ class ContentObserver {
85
120
  this._observedElements.delete(element);
86
121
  }
87
122
  }
88
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: ContentObserver, deps: [{ token: MutationObserverFactory }], target: i0.ɵɵFactoryTarget.Injectable }); }
89
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: ContentObserver, providedIn: 'root' }); }
123
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: ContentObserver, deps: [{ token: MutationObserverFactory }], target: i0.ɵɵFactoryTarget.Injectable }); }
124
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: ContentObserver, providedIn: 'root' }); }
90
125
  }
91
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: ContentObserver, decorators: [{
126
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: ContentObserver, decorators: [{
92
127
  type: Injectable,
93
128
  args: [{ providedIn: 'root' }]
94
129
  }], ctorParameters: () => [{ type: MutationObserverFactory }] });
@@ -116,10 +151,9 @@ class CdkObserveContent {
116
151
  this._debounce = coerceNumberProperty(value);
117
152
  this._subscribe();
118
153
  }
119
- constructor(_contentObserver, _elementRef, _ngZone) {
154
+ constructor(_contentObserver, _elementRef) {
120
155
  this._contentObserver = _contentObserver;
121
156
  this._elementRef = _elementRef;
122
- this._ngZone = _ngZone;
123
157
  /** Event emitted for each change in the element's content. */
124
158
  this.event = new EventEmitter();
125
159
  this._disabled = false;
@@ -136,28 +170,22 @@ class CdkObserveContent {
136
170
  _subscribe() {
137
171
  this._unsubscribe();
138
172
  const stream = this._contentObserver.observe(this._elementRef);
139
- // TODO(mmalerba): We shouldn't be emitting on this @Output() outside the zone.
140
- // Consider brining it back inside the zone next time we're making breaking changes.
141
- // Bringing it back inside can cause things like infinite change detection loops and changed
142
- // after checked errors if people's code isn't handling it properly.
143
- this._ngZone.runOutsideAngular(() => {
144
- this._currentSubscription = (this.debounce ? stream.pipe(debounceTime(this.debounce)) : stream).subscribe(this.event);
145
- });
173
+ this._currentSubscription = (this.debounce ? stream.pipe(debounceTime(this.debounce)) : stream).subscribe(this.event);
146
174
  }
147
175
  _unsubscribe() {
148
176
  this._currentSubscription?.unsubscribe();
149
177
  }
150
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkObserveContent, deps: [{ token: ContentObserver }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive }); }
151
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0-next.1", type: CdkObserveContent, isStandalone: true, selector: "[cdkObserveContent]", inputs: { disabled: ["cdkObserveContentDisabled", "disabled", booleanAttribute], debounce: "debounce" }, outputs: { event: "cdkObserveContent" }, exportAs: ["cdkObserveContent"], ngImport: i0 }); }
178
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkObserveContent, deps: [{ token: ContentObserver }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
179
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.0-next.5", type: CdkObserveContent, isStandalone: true, selector: "[cdkObserveContent]", inputs: { disabled: ["cdkObserveContentDisabled", "disabled", booleanAttribute], debounce: "debounce" }, outputs: { event: "cdkObserveContent" }, exportAs: ["cdkObserveContent"], ngImport: i0 }); }
152
180
  }
153
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: CdkObserveContent, decorators: [{
181
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: CdkObserveContent, decorators: [{
154
182
  type: Directive,
155
183
  args: [{
156
184
  selector: '[cdkObserveContent]',
157
185
  exportAs: 'cdkObserveContent',
158
186
  standalone: true,
159
187
  }]
160
- }], ctorParameters: () => [{ type: ContentObserver }, { type: i0.ElementRef }, { type: i0.NgZone }], propDecorators: { event: [{
188
+ }], ctorParameters: () => [{ type: ContentObserver }, { type: i0.ElementRef }], propDecorators: { event: [{
161
189
  type: Output,
162
190
  args: ['cdkObserveContent']
163
191
  }], disabled: [{
@@ -167,11 +195,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1",
167
195
  type: Input
168
196
  }] } });
169
197
  class ObserversModule {
170
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: ObserversModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
171
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-next.1", ngImport: i0, type: ObserversModule, imports: [CdkObserveContent], exports: [CdkObserveContent] }); }
172
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: ObserversModule, providers: [MutationObserverFactory] }); }
198
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: ObserversModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
199
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.0-next.5", ngImport: i0, type: ObserversModule, imports: [CdkObserveContent], exports: [CdkObserveContent] }); }
200
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: ObserversModule, providers: [MutationObserverFactory] }); }
173
201
  }
174
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.1", ngImport: i0, type: ObserversModule, decorators: [{
202
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0-next.5", ngImport: i0, type: ObserversModule, decorators: [{
175
203
  type: NgModule,
176
204
  args: [{
177
205
  imports: [CdkObserveContent],