@angular/cdk 17.0.0-next.2 → 17.0.0-next.4

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 (162) hide show
  1. package/a11y/index.d.ts +4 -5
  2. package/accordion/index.d.ts +6 -8
  3. package/drag-drop/index.d.ts +14 -12
  4. package/esm2022/a11y/a11y-module.mjs +5 -5
  5. package/esm2022/a11y/aria-describer/aria-describer.mjs +4 -4
  6. package/esm2022/a11y/focus-monitor/focus-monitor.mjs +7 -7
  7. package/esm2022/a11y/focus-trap/configurable-focus-trap-factory.mjs +4 -4
  8. package/esm2022/a11y/focus-trap/focus-trap-manager.mjs +4 -4
  9. package/esm2022/a11y/focus-trap/focus-trap.mjs +11 -22
  10. package/esm2022/a11y/high-contrast-mode/high-contrast-mode-detector.mjs +4 -4
  11. package/esm2022/a11y/input-modality/input-modality-detector.mjs +4 -4
  12. package/esm2022/a11y/interactivity-checker/interactivity-checker.mjs +4 -4
  13. package/esm2022/a11y/live-announcer/live-announcer.mjs +7 -7
  14. package/esm2022/accordion/accordion-item.mjs +11 -17
  15. package/esm2022/accordion/accordion-module.mjs +5 -5
  16. package/esm2022/accordion/accordion.mjs +10 -16
  17. package/esm2022/bidi/bidi-module.mjs +5 -5
  18. package/esm2022/bidi/dir.mjs +4 -4
  19. package/esm2022/bidi/directionality.mjs +4 -4
  20. package/esm2022/clipboard/clipboard-module.mjs +5 -5
  21. package/esm2022/clipboard/clipboard.mjs +4 -4
  22. package/esm2022/clipboard/copy-to-clipboard.mjs +4 -4
  23. package/esm2022/collections/unique-selection-dispatcher.mjs +4 -4
  24. package/esm2022/dialog/dialog-container.mjs +4 -4
  25. package/esm2022/dialog/dialog-module.mjs +5 -5
  26. package/esm2022/dialog/dialog.mjs +4 -4
  27. package/esm2022/drag-drop/directives/drag-handle.mjs +7 -8
  28. package/esm2022/drag-drop/directives/drag-placeholder.mjs +4 -4
  29. package/esm2022/drag-drop/directives/drag-preview.mjs +9 -15
  30. package/esm2022/drag-drop/directives/drag.mjs +8 -8
  31. package/esm2022/drag-drop/directives/drop-list-group.mjs +8 -15
  32. package/esm2022/drag-drop/directives/drop-list.mjs +12 -12
  33. package/esm2022/drag-drop/drag-drop-module.mjs +5 -5
  34. package/esm2022/drag-drop/drag-drop-registry.mjs +4 -4
  35. package/esm2022/drag-drop/drag-drop.mjs +4 -4
  36. package/esm2022/drag-drop/drag-ref.mjs +5 -6
  37. package/esm2022/layout/breakpoints-observer.mjs +4 -4
  38. package/esm2022/layout/layout-module.mjs +5 -5
  39. package/esm2022/layout/media-matcher.mjs +4 -4
  40. package/esm2022/listbox/listbox-module.mjs +5 -5
  41. package/esm2022/listbox/listbox.mjs +25 -37
  42. package/esm2022/menu/context-menu-trigger.mjs +11 -18
  43. package/esm2022/menu/menu-aim.mjs +7 -7
  44. package/esm2022/menu/menu-bar.mjs +4 -4
  45. package/esm2022/menu/menu-base.mjs +4 -4
  46. package/esm2022/menu/menu-group.mjs +4 -4
  47. package/esm2022/menu/menu-item-checkbox.mjs +4 -4
  48. package/esm2022/menu/menu-item-radio.mjs +4 -4
  49. package/esm2022/menu/menu-item-selectable.mjs +8 -15
  50. package/esm2022/menu/menu-item.mjs +8 -15
  51. package/esm2022/menu/menu-module.mjs +5 -5
  52. package/esm2022/menu/menu-stack.mjs +4 -4
  53. package/esm2022/menu/menu-trigger-base.mjs +4 -4
  54. package/esm2022/menu/menu-trigger.mjs +4 -4
  55. package/esm2022/menu/menu.mjs +4 -4
  56. package/esm2022/observers/observe-content.mjs +18 -18
  57. package/esm2022/observers/private/shared-resize-observer.mjs +4 -4
  58. package/esm2022/overlay/dispatchers/base-overlay-dispatcher.mjs +4 -4
  59. package/esm2022/overlay/dispatchers/overlay-keyboard-dispatcher.mjs +4 -4
  60. package/esm2022/overlay/dispatchers/overlay-outside-click-dispatcher.mjs +4 -4
  61. package/esm2022/overlay/fullscreen-overlay-container.mjs +4 -4
  62. package/esm2022/overlay/overlay-container.mjs +4 -4
  63. package/esm2022/overlay/overlay-directives.mjs +22 -53
  64. package/esm2022/overlay/overlay-module.mjs +5 -5
  65. package/esm2022/overlay/overlay.mjs +4 -4
  66. package/esm2022/overlay/position/overlay-position-builder.mjs +4 -4
  67. package/esm2022/overlay/scroll/scroll-strategy-options.mjs +4 -4
  68. package/esm2022/platform/platform-module.mjs +5 -5
  69. package/esm2022/platform/platform.mjs +4 -4
  70. package/esm2022/portal/portal-directives.mjs +17 -17
  71. package/esm2022/scrolling/fixed-size-virtual-scroll.mjs +4 -4
  72. package/esm2022/scrolling/scroll-dispatcher.mjs +4 -4
  73. package/esm2022/scrolling/scrollable.mjs +4 -4
  74. package/esm2022/scrolling/scrolling-module.mjs +9 -9
  75. package/esm2022/scrolling/viewport-ruler.mjs +4 -4
  76. package/esm2022/scrolling/virtual-for-of.mjs +4 -4
  77. package/esm2022/scrolling/virtual-scroll-viewport.mjs +17 -19
  78. package/esm2022/scrolling/virtual-scrollable-element.mjs +4 -4
  79. package/esm2022/scrolling/virtual-scrollable-window.mjs +4 -4
  80. package/esm2022/scrolling/virtual-scrollable.mjs +4 -4
  81. package/esm2022/stepper/step-header.mjs +4 -4
  82. package/esm2022/stepper/step-label.mjs +4 -4
  83. package/esm2022/stepper/stepper-button.mjs +7 -7
  84. package/esm2022/stepper/stepper-module.mjs +5 -5
  85. package/esm2022/stepper/stepper.mjs +35 -49
  86. package/esm2022/table/cell.mjs +29 -29
  87. package/esm2022/table/coalesced-style-scheduler.mjs +4 -4
  88. package/esm2022/table/row.mjs +28 -28
  89. package/esm2022/table/table-module.mjs +5 -5
  90. package/esm2022/table/table.mjs +28 -27
  91. package/esm2022/table/text-column.mjs +4 -4
  92. package/esm2022/text-field/autofill.mjs +7 -7
  93. package/esm2022/text-field/autosize.mjs +7 -8
  94. package/esm2022/text-field/text-field-module.mjs +5 -5
  95. package/esm2022/tree/nested-node.mjs +4 -4
  96. package/esm2022/tree/node.mjs +4 -4
  97. package/esm2022/tree/outlet.mjs +4 -4
  98. package/esm2022/tree/padding.mjs +4 -4
  99. package/esm2022/tree/toggle.mjs +4 -4
  100. package/esm2022/tree/tree-module.mjs +5 -5
  101. package/esm2022/tree/tree.mjs +7 -7
  102. package/esm2022/version.mjs +1 -1
  103. package/fesm2022/a11y.mjs +45 -55
  104. package/fesm2022/a11y.mjs.map +1 -1
  105. package/fesm2022/accordion.mjs +22 -33
  106. package/fesm2022/accordion.mjs.map +1 -1
  107. package/fesm2022/bidi.mjs +10 -10
  108. package/fesm2022/bidi.mjs.map +1 -1
  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/clipboard.mjs.map +1 -1
  113. package/fesm2022/collections.mjs +3 -3
  114. package/fesm2022/collections.mjs.map +1 -1
  115. package/fesm2022/dialog.mjs +10 -10
  116. package/fesm2022/dialog.mjs.map +1 -1
  117. package/fesm2022/drag-drop.mjs +50 -62
  118. package/fesm2022/drag-drop.mjs.map +1 -1
  119. package/fesm2022/layout.mjs +10 -10
  120. package/fesm2022/layout.mjs.map +1 -1
  121. package/fesm2022/listbox.mjs +28 -40
  122. package/fesm2022/listbox.mjs.map +1 -1
  123. package/fesm2022/menu.mjs +59 -78
  124. package/fesm2022/menu.mjs.map +1 -1
  125. package/fesm2022/observers/private.mjs +3 -3
  126. package/fesm2022/observers/private.mjs.map +1 -1
  127. package/fesm2022/observers.mjs +17 -17
  128. package/fesm2022/observers.mjs.map +1 -1
  129. package/fesm2022/overlay.mjs +50 -80
  130. package/fesm2022/overlay.mjs.map +1 -1
  131. package/fesm2022/platform.mjs +7 -7
  132. package/fesm2022/platform.mjs.map +1 -1
  133. package/fesm2022/portal.mjs +16 -16
  134. package/fesm2022/portal.mjs.map +1 -1
  135. package/fesm2022/scrolling.mjs +49 -50
  136. package/fesm2022/scrolling.mjs.map +1 -1
  137. package/fesm2022/stepper.mjs +50 -64
  138. package/fesm2022/stepper.mjs.map +1 -1
  139. package/fesm2022/table.mjs +92 -89
  140. package/fesm2022/table.mjs.map +1 -1
  141. package/fesm2022/text-field.mjs +16 -17
  142. package/fesm2022/text-field.mjs.map +1 -1
  143. package/fesm2022/tree.mjs +25 -25
  144. package/fesm2022/tree.mjs.map +1 -1
  145. package/listbox/index.d.ts +14 -13
  146. package/menu/index.d.ts +6 -10
  147. package/observers/index.d.ts +2 -2
  148. package/overlay/index.d.ts +10 -16
  149. package/package.json +1 -1
  150. package/schematics/ng-add/index.js +1 -1
  151. package/schematics/ng-add/index.mjs +1 -1
  152. package/schematics/update-tool/component-resource-collector.d.ts +1 -0
  153. package/schematics/update-tool/component-resource-collector.js +17 -8
  154. package/schematics/update-tool/component-resource-collector.mjs +17 -8
  155. package/schematics/utils/project-main-file.js +4 -3
  156. package/schematics/utils/project-main-file.mjs +4 -3
  157. package/schematics/utils/project-targets.js +2 -2
  158. package/schematics/utils/project-targets.mjs +2 -2
  159. package/scrolling/index.d.ts +2 -4
  160. package/stepper/index.d.ts +12 -14
  161. package/table/index.d.ts +6 -4
  162. package/text-field/index.d.ts +2 -2
package/fesm2022/menu.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Directive, InjectionToken, Optional, SkipSelf, Inject, Injectable, inject, Injector, ViewContainerRef, EventEmitter, NgZone, ElementRef, ChangeDetectorRef, Input, Output, ContentChildren, NgModule } from '@angular/core';
2
+ import { Directive, InjectionToken, Optional, SkipSelf, Inject, Injectable, inject, Injector, ViewContainerRef, EventEmitter, NgZone, ElementRef, ChangeDetectorRef, booleanAttribute, Input, Output, ContentChildren, NgModule } from '@angular/core';
3
3
  import { Overlay, OverlayConfig, STANDARD_DROPDOWN_BELOW_POSITIONS, STANDARD_DROPDOWN_ADJACENT_POSITIONS, OverlayModule } from '@angular/cdk/overlay';
4
4
  import { ENTER, SPACE, UP_ARROW, hasModifierKey, DOWN_ARROW, LEFT_ARROW, RIGHT_ARROW, TAB, ESCAPE } from '@angular/cdk/keycodes';
5
5
  import { startWith, debounceTime, distinctUntilChanged, filter, takeUntil, mergeMap, mapTo, mergeAll, switchMap, skip } from 'rxjs/operators';
@@ -7,7 +7,6 @@ import { UniqueSelectionDispatcher } from '@angular/cdk/collections';
7
7
  import { Subject, merge, fromEvent, defer, partition } from 'rxjs';
8
8
  import { TemplatePortal } from '@angular/cdk/portal';
9
9
  import { InputModalityDetector, FocusKeyManager } from '@angular/cdk/a11y';
10
- import { coerceBooleanProperty } from '@angular/cdk/coercion';
11
10
  import { Directionality } from '@angular/cdk/bidi';
12
11
  import { _getEventTarget } from '@angular/cdk/platform';
13
12
 
@@ -15,10 +14,10 @@ import { _getEventTarget } from '@angular/cdk/platform';
15
14
  * A grouping container for `CdkMenuItemRadio` instances, similar to a `role="radiogroup"` element.
16
15
  */
17
16
  class CdkMenuGroup {
18
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CdkMenuGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
19
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.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: "17.0.0-next.4", ngImport: i0, type: CdkMenuGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
18
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.4", type: CdkMenuGroup, isStandalone: true, selector: "[cdkMenuGroup]", host: { attributes: { "role": "group" }, classAttribute: "cdk-menu-group" }, providers: [{ provide: UniqueSelectionDispatcher, useClass: UniqueSelectionDispatcher }], exportAs: ["cdkMenuGroup"], ngImport: i0 }); }
20
19
  }
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CdkMenuGroup, decorators: [{
20
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CdkMenuGroup, decorators: [{
22
21
  type: Directive,
23
22
  args: [{
24
23
  selector: '[cdkMenuGroup]',
@@ -173,10 +172,10 @@ class MenuStack {
173
172
  setHasFocus(hasFocus) {
174
173
  this._hasFocus.next(hasFocus);
175
174
  }
176
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MenuStack, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
177
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MenuStack }); }
175
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: MenuStack, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
176
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: MenuStack }); }
178
177
  }
179
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: MenuStack, decorators: [{
178
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: MenuStack, decorators: [{
180
179
  type: Injectable
181
180
  }] });
182
181
 
@@ -262,10 +261,10 @@ class CdkMenuTriggerBase {
262
261
  });
263
262
  return this._childMenuInjector;
264
263
  }
265
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CdkMenuTriggerBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
266
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: CdkMenuTriggerBase, host: { properties: { "attr.aria-controls": "childMenu?.id", "attr.data-cdk-menu-stack-id": "menuStack.id" } }, ngImport: i0 }); }
264
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CdkMenuTriggerBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
265
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.4", type: CdkMenuTriggerBase, host: { properties: { "attr.aria-controls": "childMenu?.id", "attr.data-cdk-menu-stack-id": "menuStack.id" } }, ngImport: i0 }); }
267
266
  }
268
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CdkMenuTriggerBase, decorators: [{
267
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CdkMenuTriggerBase, decorators: [{
269
268
  type: Directive,
270
269
  args: [{
271
270
  host: {
@@ -458,10 +457,10 @@ class TargetMenuAim {
458
457
  });
459
458
  });
460
459
  }
461
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: TargetMenuAim, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
462
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: TargetMenuAim }); }
460
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: TargetMenuAim, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
461
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: TargetMenuAim }); }
463
462
  }
464
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: TargetMenuAim, decorators: [{
463
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: TargetMenuAim, decorators: [{
465
464
  type: Injectable
466
465
  }] });
467
466
  /**
@@ -469,10 +468,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImpor
469
468
  * element with either the `cdkMenu` or `cdkMenuBar` directive and child menu items.
470
469
  */
471
470
  class CdkTargetMenuAim {
472
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CdkTargetMenuAim, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
473
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: CdkTargetMenuAim, isStandalone: true, selector: "[cdkTargetMenuAim]", providers: [{ provide: MENU_AIM, useClass: TargetMenuAim }], exportAs: ["cdkTargetMenuAim"], ngImport: i0 }); }
471
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CdkTargetMenuAim, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
472
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.4", type: CdkTargetMenuAim, isStandalone: true, selector: "[cdkTargetMenuAim]", providers: [{ provide: MENU_AIM, useClass: TargetMenuAim }], exportAs: ["cdkTargetMenuAim"], ngImport: i0 }); }
474
473
  }
475
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CdkTargetMenuAim, decorators: [{
474
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CdkTargetMenuAim, decorators: [{
476
475
  type: Directive,
477
476
  args: [{
478
477
  selector: '[cdkTargetMenuAim]',
@@ -760,13 +759,13 @@ class CdkMenuTrigger extends CdkMenuTriggerBase {
760
759
  element.setAttribute('type', 'button');
761
760
  }
762
761
  }
763
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CdkMenuTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
764
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.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: [
762
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CdkMenuTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
763
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.4", 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: [
765
764
  { provide: MENU_TRIGGER, useExisting: CdkMenuTrigger },
766
765
  PARENT_OR_NEW_MENU_STACK_PROVIDER,
767
766
  ], exportAs: ["cdkMenuTriggerFor"], usesInheritance: true, ngImport: i0 }); }
768
767
  }
769
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CdkMenuTrigger, decorators: [{
768
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CdkMenuTrigger, decorators: [{
770
769
  type: Directive,
771
770
  args: [{
772
771
  selector: '[cdkMenuTriggerFor]',
@@ -800,13 +799,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImpor
800
799
  * behavior when clicked.
801
800
  */
802
801
  class CdkMenuItem {
803
- /** Whether the CdkMenuItem is disabled - defaults to false */
804
- get disabled() {
805
- return this._disabled;
806
- }
807
- set disabled(value) {
808
- this._disabled = coerceBooleanProperty(value);
809
- }
810
802
  /** Whether the menu item opens a menu. */
811
803
  get hasMenu() {
812
804
  return this._menuTrigger?.menuTemplateRef != null;
@@ -824,7 +816,8 @@ class CdkMenuItem {
824
816
  this._parentMenu = inject(CDK_MENU, { optional: true });
825
817
  /** Reference to the CdkMenuItemTrigger directive if one is added to the same element */
826
818
  this._menuTrigger = inject(CdkMenuTrigger, { optional: true, self: true });
827
- this._disabled = false;
819
+ /** Whether the CdkMenuItem is disabled - defaults to false */
820
+ this.disabled = false;
828
821
  /**
829
822
  * If this MenuItem is a regular MenuItem, outputs when it is triggered by a keyboard or mouse
830
823
  * event.
@@ -1020,10 +1013,10 @@ class CdkMenuItem {
1020
1013
  element.setAttribute('type', 'button');
1021
1014
  }
1022
1015
  }
1023
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CdkMenuItem, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1024
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: CdkMenuItem, isStandalone: true, selector: "[cdkMenuItem]", inputs: { disabled: ["cdkMenuItemDisabled", "disabled"], 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 }); }
1016
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CdkMenuItem, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1017
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.0.0-next.4", 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 }); }
1025
1018
  }
1026
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CdkMenuItem, decorators: [{
1019
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CdkMenuItem, decorators: [{
1027
1020
  type: Directive,
1028
1021
  args: [{
1029
1022
  selector: '[cdkMenuItem]',
@@ -1042,7 +1035,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImpor
1042
1035
  }]
1043
1036
  }], ctorParameters: function () { return []; }, propDecorators: { disabled: [{
1044
1037
  type: Input,
1045
- args: ['cdkMenuItemDisabled']
1038
+ args: [{ alias: 'cdkMenuItemDisabled', transform: booleanAttribute }]
1046
1039
  }], typeaheadLabel: [{
1047
1040
  type: Input,
1048
1041
  args: ['cdkMenuitemTypeaheadLabel']
@@ -1238,10 +1231,10 @@ class CdkMenuBase extends CdkMenuGroup {
1238
1231
  this.menuAim.initialize(this, this.pointerTracker);
1239
1232
  }
1240
1233
  }
1241
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CdkMenuBase, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
1242
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: CdkMenuBase, 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 }); }
1234
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CdkMenuBase, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
1235
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.4", type: CdkMenuBase, 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 }); }
1243
1236
  }
1244
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CdkMenuBase, decorators: [{
1237
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CdkMenuBase, decorators: [{
1245
1238
  type: Directive,
1246
1239
  args: [{
1247
1240
  host: {
@@ -1353,14 +1346,14 @@ class CdkMenu extends CdkMenuBase {
1353
1346
  .pipe(takeUntil(this.destroyed))
1354
1347
  .subscribe(event => this._toggleMenuFocus(event));
1355
1348
  }
1356
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CdkMenu, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1357
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.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: [
1349
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CdkMenu, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1350
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.4", 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
1351
  { provide: CdkMenuGroup, useExisting: CdkMenu },
1359
1352
  { provide: CDK_MENU, useExisting: CdkMenu },
1360
1353
  PARENT_OR_NEW_INLINE_MENU_STACK_PROVIDER('vertical'),
1361
1354
  ], exportAs: ["cdkMenu"], usesInheritance: true, ngImport: i0 }); }
1362
1355
  }
1363
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CdkMenu, decorators: [{
1356
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CdkMenu, decorators: [{
1364
1357
  type: Directive,
1365
1358
  args: [{
1366
1359
  selector: '[cdkMenu]',
@@ -1475,14 +1468,14 @@ class CdkMenuBar extends CdkMenuBase {
1475
1468
  .pipe(takeUntil(this.destroyed))
1476
1469
  .subscribe(event => this._toggleOpenMenu(event));
1477
1470
  }
1478
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CdkMenuBar, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
1479
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: CdkMenuBar, isStandalone: true, selector: "[cdkMenuBar]", host: { attributes: { "role": "menubar" }, listeners: { "keydown": "_handleKeyEvent($event)" }, classAttribute: "cdk-menu-bar" }, providers: [
1471
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CdkMenuBar, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
1472
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.4", type: CdkMenuBar, isStandalone: true, selector: "[cdkMenuBar]", host: { attributes: { "role": "menubar" }, listeners: { "keydown": "_handleKeyEvent($event)" }, classAttribute: "cdk-menu-bar" }, providers: [
1480
1473
  { provide: CdkMenuGroup, useExisting: CdkMenuBar },
1481
1474
  { provide: CDK_MENU, useExisting: CdkMenuBar },
1482
1475
  { provide: MENU_STACK, useFactory: () => MenuStack.inline('horizontal') },
1483
1476
  ], exportAs: ["cdkMenuBar"], usesInheritance: true, ngImport: i0 }); }
1484
1477
  }
1485
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CdkMenuBar, decorators: [{
1478
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CdkMenuBar, decorators: [{
1486
1479
  type: Directive,
1487
1480
  args: [{
1488
1481
  selector: '[cdkMenuBar]',
@@ -1505,21 +1498,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImpor
1505
1498
  class CdkMenuItemSelectable extends CdkMenuItem {
1506
1499
  constructor() {
1507
1500
  super(...arguments);
1508
- this._checked = false;
1501
+ /** Whether the element is checked */
1502
+ this.checked = false;
1509
1503
  /** Whether the item should close the menu if triggered by the spacebar. */
1510
1504
  this.closeOnSpacebarTrigger = false;
1511
1505
  }
1512
- /** Whether the element is checked */
1513
- get checked() {
1514
- return this._checked;
1515
- }
1516
- set checked(value) {
1517
- this._checked = coerceBooleanProperty(value);
1518
- }
1519
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CdkMenuItemSelectable, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
1520
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: CdkMenuItemSelectable, inputs: { checked: ["cdkMenuItemChecked", "checked"] }, host: { properties: { "attr.aria-checked": "!!checked", "attr.aria-disabled": "disabled || null" } }, usesInheritance: true, ngImport: i0 }); }
1506
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CdkMenuItemSelectable, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
1507
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.0.0-next.4", type: CdkMenuItemSelectable, inputs: { checked: ["cdkMenuItemChecked", "checked", booleanAttribute] }, host: { properties: { "attr.aria-checked": "!!checked", "attr.aria-disabled": "disabled || null" } }, usesInheritance: true, ngImport: i0 }); }
1521
1508
  }
1522
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CdkMenuItemSelectable, decorators: [{
1509
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CdkMenuItemSelectable, decorators: [{
1523
1510
  type: Directive,
1524
1511
  args: [{
1525
1512
  host: {
@@ -1529,7 +1516,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImpor
1529
1516
  }]
1530
1517
  }], propDecorators: { checked: [{
1531
1518
  type: Input,
1532
- args: ['cdkMenuItemChecked']
1519
+ args: [{ alias: 'cdkMenuItemChecked', transform: booleanAttribute }]
1533
1520
  }] } });
1534
1521
 
1535
1522
  /** Counter used to set a unique id and name for a selectable item */
@@ -1569,13 +1556,13 @@ class CdkMenuItemRadio extends CdkMenuItemSelectable {
1569
1556
  this.checked = this._id === id;
1570
1557
  });
1571
1558
  }
1572
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CdkMenuItemRadio, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1573
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: CdkMenuItemRadio, isStandalone: true, selector: "[cdkMenuItemRadio]", host: { attributes: { "role": "menuitemradio" }, properties: { "class.cdk-menu-item-radio": "true" } }, providers: [
1559
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CdkMenuItemRadio, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1560
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.4", type: CdkMenuItemRadio, isStandalone: true, selector: "[cdkMenuItemRadio]", host: { attributes: { "role": "menuitemradio" }, properties: { "class.cdk-menu-item-radio": "true" } }, providers: [
1574
1561
  { provide: CdkMenuItemSelectable, useExisting: CdkMenuItemRadio },
1575
1562
  { provide: CdkMenuItem, useExisting: CdkMenuItemSelectable },
1576
1563
  ], exportAs: ["cdkMenuItemRadio"], usesInheritance: true, ngImport: i0 }); }
1577
1564
  }
1578
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CdkMenuItemRadio, decorators: [{
1565
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CdkMenuItemRadio, decorators: [{
1579
1566
  type: Directive,
1580
1567
  args: [{
1581
1568
  selector: '[cdkMenuItemRadio]',
@@ -1608,13 +1595,13 @@ class CdkMenuItemCheckbox extends CdkMenuItemSelectable {
1608
1595
  this.checked = !this.checked;
1609
1596
  }
1610
1597
  }
1611
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CdkMenuItemCheckbox, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
1612
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: CdkMenuItemCheckbox, isStandalone: true, selector: "[cdkMenuItemCheckbox]", host: { attributes: { "role": "menuitemcheckbox" }, properties: { "class.cdk-menu-item-checkbox": "true" } }, providers: [
1598
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CdkMenuItemCheckbox, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
1599
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.0.0-next.4", type: CdkMenuItemCheckbox, isStandalone: true, selector: "[cdkMenuItemCheckbox]", host: { attributes: { "role": "menuitemcheckbox" }, properties: { "class.cdk-menu-item-checkbox": "true" } }, providers: [
1613
1600
  { provide: CdkMenuItemSelectable, useExisting: CdkMenuItemCheckbox },
1614
1601
  { provide: CdkMenuItem, useExisting: CdkMenuItemSelectable },
1615
1602
  ], exportAs: ["cdkMenuItemCheckbox"], usesInheritance: true, ngImport: i0 }); }
1616
1603
  }
1617
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CdkMenuItemCheckbox, decorators: [{
1604
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CdkMenuItemCheckbox, decorators: [{
1618
1605
  type: Directive,
1619
1606
  args: [{
1620
1607
  selector: '[cdkMenuItemCheckbox]',
@@ -1651,10 +1638,10 @@ class ContextMenuTracker {
1651
1638
  ContextMenuTracker._openContextMenuTrigger = trigger;
1652
1639
  }
1653
1640
  }
1654
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ContextMenuTracker, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1655
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ContextMenuTracker, providedIn: 'root' }); }
1641
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: ContextMenuTracker, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1642
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: ContextMenuTracker, providedIn: 'root' }); }
1656
1643
  }
1657
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: ContextMenuTracker, decorators: [{
1644
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: ContextMenuTracker, decorators: [{
1658
1645
  type: Injectable,
1659
1646
  args: [{ providedIn: 'root' }]
1660
1647
  }] });
@@ -1663,13 +1650,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImpor
1663
1650
  * It is aware of nested context menus and will trigger only the lowest level non-disabled context menu.
1664
1651
  */
1665
1652
  class CdkContextMenuTrigger extends CdkMenuTriggerBase {
1666
- /** Whether the context menu is disabled. */
1667
- get disabled() {
1668
- return this._disabled;
1669
- }
1670
- set disabled(value) {
1671
- this._disabled = coerceBooleanProperty(value);
1672
- }
1673
1653
  constructor() {
1674
1654
  super();
1675
1655
  /** The CDK overlay service. */
@@ -1678,7 +1658,8 @@ class CdkContextMenuTrigger extends CdkMenuTriggerBase {
1678
1658
  this._directionality = inject(Directionality, { optional: true });
1679
1659
  /** The app's context menu tracking registry */
1680
1660
  this._contextMenuTracker = inject(ContextMenuTracker);
1681
- this._disabled = false;
1661
+ /** Whether the context menu is disabled. */
1662
+ this.disabled = false;
1682
1663
  this._setMenuStackCloseListener();
1683
1664
  }
1684
1665
  /**
@@ -1800,13 +1781,13 @@ class CdkContextMenuTrigger extends CdkMenuTriggerBase {
1800
1781
  this._subscribeToOutsideClicks(ignoreFirstOutsideAuxClick);
1801
1782
  }
1802
1783
  }
1803
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CdkContextMenuTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1804
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.1.1", type: CdkContextMenuTrigger, isStandalone: true, selector: "[cdkContextMenuTriggerFor]", inputs: { menuTemplateRef: ["cdkContextMenuTriggerFor", "menuTemplateRef"], menuPosition: ["cdkContextMenuPosition", "menuPosition"], menuData: ["cdkContextMenuTriggerData", "menuData"], disabled: ["cdkContextMenuDisabled", "disabled"] }, outputs: { opened: "cdkContextMenuOpened", closed: "cdkContextMenuClosed" }, host: { listeners: { "contextmenu": "_openOnContextMenu($event)" }, properties: { "attr.data-cdk-menu-stack-id": "null" } }, providers: [
1784
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CdkContextMenuTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
1785
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "17.0.0-next.4", 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: [
1805
1786
  { provide: MENU_TRIGGER, useExisting: CdkContextMenuTrigger },
1806
1787
  { provide: MENU_STACK, useClass: MenuStack },
1807
1788
  ], exportAs: ["cdkContextMenuTriggerFor"], usesInheritance: true, ngImport: i0 }); }
1808
1789
  }
1809
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CdkContextMenuTrigger, decorators: [{
1790
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CdkContextMenuTrigger, decorators: [{
1810
1791
  type: Directive,
1811
1792
  args: [{
1812
1793
  selector: '[cdkContextMenuTriggerFor]',
@@ -1829,7 +1810,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImpor
1829
1810
  }]
1830
1811
  }], ctorParameters: function () { return []; }, propDecorators: { disabled: [{
1831
1812
  type: Input,
1832
- args: ['cdkContextMenuDisabled']
1813
+ args: [{ alias: 'cdkContextMenuDisabled', transform: booleanAttribute }]
1833
1814
  }] } });
1834
1815
 
1835
1816
  const MENU_DIRECTIVES = [
@@ -1845,8 +1826,8 @@ const MENU_DIRECTIVES = [
1845
1826
  ];
1846
1827
  /** Module that declares components and directives for the CDK menu. */
1847
1828
  class CdkMenuModule {
1848
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CdkMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1849
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.1.1", ngImport: i0, type: CdkMenuModule, imports: [OverlayModule, CdkMenuBar,
1829
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CdkMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
1830
+ static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.0.0-next.4", ngImport: i0, type: CdkMenuModule, imports: [OverlayModule, CdkMenuBar,
1850
1831
  CdkMenu,
1851
1832
  CdkMenuItem,
1852
1833
  CdkMenuItemRadio,
@@ -1863,9 +1844,9 @@ class CdkMenuModule {
1863
1844
  CdkMenuGroup,
1864
1845
  CdkContextMenuTrigger,
1865
1846
  CdkTargetMenuAim] }); }
1866
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CdkMenuModule, imports: [OverlayModule] }); }
1847
+ static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CdkMenuModule, imports: [OverlayModule] }); }
1867
1848
  }
1868
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.1.1", ngImport: i0, type: CdkMenuModule, decorators: [{
1849
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.0-next.4", ngImport: i0, type: CdkMenuModule, decorators: [{
1869
1850
  type: NgModule,
1870
1851
  args: [{
1871
1852
  imports: [OverlayModule, ...MENU_DIRECTIVES],