@angular/cdk-experimental 14.0.0-next.6 → 14.0.0-next.9

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 (114) hide show
  1. package/combobox/combobox-module.d.ts +3 -4
  2. package/combobox/combobox-popup.d.ts +6 -8
  3. package/combobox/combobox.d.ts +15 -18
  4. package/combobox/public-api.d.ts +0 -1
  5. package/dialog/dialog-config.d.ts +6 -1
  6. package/esm2020/column-resize/column-resize-directives/column-resize-flex.mjs +3 -3
  7. package/esm2020/column-resize/column-resize-directives/column-resize.mjs +3 -3
  8. package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize-flex.mjs +3 -3
  9. package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize.mjs +3 -3
  10. package/esm2020/column-resize/column-resize-module.mjs +8 -8
  11. package/esm2020/column-resize/column-resize-notifier.mjs +6 -6
  12. package/esm2020/column-resize/column-resize.mjs +3 -3
  13. package/esm2020/column-resize/column-size-store.mjs +3 -3
  14. package/esm2020/column-resize/event-dispatcher.mjs +3 -3
  15. package/esm2020/column-resize/overlay-handle.mjs +3 -3
  16. package/esm2020/column-resize/resizable.mjs +3 -3
  17. package/esm2020/column-resize/resize-strategy.mjs +9 -9
  18. package/esm2020/combobox/combobox-module.mjs +6 -7
  19. package/esm2020/combobox/combobox-popup.mjs +12 -23
  20. package/esm2020/combobox/combobox.mjs +50 -34
  21. package/esm2020/combobox/public-api.mjs +1 -2
  22. package/esm2020/dialog/dialog-config.mjs +1 -1
  23. package/esm2020/dialog/dialog-container.mjs +12 -7
  24. package/esm2020/dialog/dialog-module.mjs +4 -4
  25. package/esm2020/dialog/dialog.mjs +5 -5
  26. package/esm2020/listbox/listbox-module.mjs +4 -4
  27. package/esm2020/listbox/listbox.mjs +26 -44
  28. package/esm2020/menu/context-menu.mjs +46 -118
  29. package/esm2020/menu/menu-aim.mjs +6 -6
  30. package/esm2020/menu/menu-bar.mjs +46 -134
  31. package/esm2020/menu/menu-base.mjs +129 -0
  32. package/esm2020/menu/menu-errors.mjs +1 -9
  33. package/esm2020/menu/menu-group.mjs +9 -9
  34. package/esm2020/menu/menu-interface.mjs +1 -1
  35. package/esm2020/menu/menu-item-checkbox.mjs +3 -3
  36. package/esm2020/menu/menu-item-radio.mjs +13 -8
  37. package/esm2020/menu/menu-item-selectable.mjs +3 -3
  38. package/esm2020/menu/menu-item-trigger.mjs +66 -151
  39. package/esm2020/menu/menu-item.mjs +51 -45
  40. package/esm2020/menu/menu-module.mjs +5 -9
  41. package/esm2020/menu/menu-stack.mjs +31 -6
  42. package/esm2020/menu/menu-trigger.mjs +70 -0
  43. package/esm2020/menu/menu.mjs +58 -155
  44. package/esm2020/menu/public-api.mjs +3 -3
  45. package/esm2020/popover-edit/edit-event-dispatcher.mjs +3 -3
  46. package/esm2020/popover-edit/edit-ref.mjs +3 -3
  47. package/esm2020/popover-edit/edit-services.mjs +3 -3
  48. package/esm2020/popover-edit/focus-dispatcher.mjs +3 -3
  49. package/esm2020/popover-edit/focus-escape-notifier.mjs +3 -3
  50. package/esm2020/popover-edit/lens-directives.mjs +9 -9
  51. package/esm2020/popover-edit/popover-edit-module.mjs +4 -4
  52. package/esm2020/popover-edit/popover-edit-position-strategy-factory.mjs +6 -6
  53. package/esm2020/popover-edit/table-directives.mjs +15 -15
  54. package/esm2020/scrolling/auto-size-virtual-scroll.mjs +3 -3
  55. package/esm2020/scrolling/scrolling-module.mjs +4 -4
  56. package/esm2020/selection/row-selection.mjs +3 -3
  57. package/esm2020/selection/select-all.mjs +3 -3
  58. package/esm2020/selection/selection-column.mjs +3 -3
  59. package/esm2020/selection/selection-module.mjs +4 -4
  60. package/esm2020/selection/selection-toggle.mjs +3 -3
  61. package/esm2020/selection/selection.mjs +3 -3
  62. package/esm2020/table-scroll-container/table-scroll-container-module.mjs +4 -4
  63. package/esm2020/table-scroll-container/table-scroll-container.mjs +3 -3
  64. package/esm2020/version.mjs +1 -1
  65. package/fesm2015/cdk-experimental.mjs +1 -1
  66. package/fesm2015/cdk-experimental.mjs.map +1 -1
  67. package/fesm2015/column-resize.mjs +50 -50
  68. package/fesm2015/combobox.mjs +63 -106
  69. package/fesm2015/combobox.mjs.map +1 -1
  70. package/fesm2015/dialog.mjs +20 -14
  71. package/fesm2015/dialog.mjs.map +1 -1
  72. package/fesm2015/listbox.mjs +31 -47
  73. package/fesm2015/listbox.mjs.map +1 -1
  74. package/fesm2015/menu.mjs +587 -766
  75. package/fesm2015/menu.mjs.map +1 -1
  76. package/fesm2015/popover-edit.mjs +49 -49
  77. package/fesm2015/scrolling.mjs +7 -7
  78. package/fesm2015/selection.mjs +19 -19
  79. package/fesm2015/table-scroll-container.mjs +7 -7
  80. package/fesm2020/cdk-experimental.mjs +1 -1
  81. package/fesm2020/cdk-experimental.mjs.map +1 -1
  82. package/fesm2020/column-resize.mjs +50 -50
  83. package/fesm2020/combobox.mjs +62 -103
  84. package/fesm2020/combobox.mjs.map +1 -1
  85. package/fesm2020/dialog.mjs +19 -14
  86. package/fesm2020/dialog.mjs.map +1 -1
  87. package/fesm2020/listbox.mjs +29 -46
  88. package/fesm2020/listbox.mjs.map +1 -1
  89. package/fesm2020/menu.mjs +482 -655
  90. package/fesm2020/menu.mjs.map +1 -1
  91. package/fesm2020/popover-edit.mjs +49 -49
  92. package/fesm2020/scrolling.mjs +7 -7
  93. package/fesm2020/selection.mjs +19 -19
  94. package/fesm2020/table-scroll-container.mjs +7 -7
  95. package/listbox/listbox.d.ts +16 -13
  96. package/menu/context-menu.d.ts +7 -46
  97. package/menu/menu-bar.d.ts +9 -50
  98. package/menu/menu-base.d.ts +64 -0
  99. package/menu/menu-errors.d.ts +0 -5
  100. package/menu/menu-group.d.ts +2 -2
  101. package/menu/menu-interface.d.ts +1 -1
  102. package/menu/menu-item-radio.d.ts +4 -3
  103. package/menu/menu-item-trigger.d.ts +8 -38
  104. package/menu/menu-item.d.ts +11 -6
  105. package/menu/menu-module.d.ts +9 -10
  106. package/menu/menu-stack.d.ts +22 -6
  107. package/menu/menu-trigger.d.ts +48 -0
  108. package/menu/menu.d.ts +11 -67
  109. package/menu/public-api.d.ts +2 -2
  110. package/package.json +2 -2
  111. package/combobox/combobox-panel.d.ts +0 -27
  112. package/esm2020/combobox/combobox-panel.mjs +0 -48
  113. package/esm2020/menu/menu-panel.mjs +0 -37
  114. package/menu/menu-panel.d.ts +0 -30
@@ -222,9 +222,9 @@ class EditEventDispatcher {
222
222
  return this.allRows.pipe(map(mapper), this._startWithNullDistinct);
223
223
  }
224
224
  }
225
- EditEventDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: EditEventDispatcher, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
226
- EditEventDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: EditEventDispatcher });
227
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: EditEventDispatcher, decorators: [{
225
+ EditEventDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: EditEventDispatcher, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
226
+ EditEventDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: EditEventDispatcher });
227
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: EditEventDispatcher, decorators: [{
228
228
  type: Injectable
229
229
  }], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
230
230
  function computeHoverContentState([firstRow, lastRow, activeRow, hoverRow,]) {
@@ -329,9 +329,9 @@ class EditRef {
329
329
  this._form.reset(value || this._revertFormValue);
330
330
  }
331
331
  }
332
- EditRef.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: EditRef, deps: [{ token: i1.ControlContainer, self: true }, { token: EditEventDispatcher }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
333
- EditRef.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: EditRef });
334
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: EditRef, decorators: [{
332
+ EditRef.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: EditRef, deps: [{ token: i1.ControlContainer, self: true }, { token: EditEventDispatcher }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
333
+ EditRef.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: EditRef });
334
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: EditRef, decorators: [{
335
335
  type: Injectable
336
336
  }], ctorParameters: function () { return [{ type: i1.ControlContainer, decorators: [{
337
337
  type: Self
@@ -405,9 +405,9 @@ class FocusDispatcher {
405
405
  event.preventDefault();
406
406
  }
407
407
  }
408
- FocusDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: FocusDispatcher, deps: [{ token: i1$1.Directionality }], target: i0.ɵɵFactoryTarget.Injectable });
409
- FocusDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: FocusDispatcher, providedIn: 'root' });
410
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: FocusDispatcher, decorators: [{
408
+ FocusDispatcher.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: FocusDispatcher, deps: [{ token: i1$1.Directionality }], target: i0.ɵɵFactoryTarget.Injectable });
409
+ FocusDispatcher.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: FocusDispatcher, providedIn: 'root' });
410
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: FocusDispatcher, decorators: [{
411
411
  type: Injectable,
412
412
  args: [{ providedIn: 'root' }]
413
413
  }], ctorParameters: function () { return [{ type: i1$1.Directionality }]; } });
@@ -540,9 +540,9 @@ class CdkEditControl {
540
540
  this.elementRef.nativeElement.dispatchEvent(new Event('submit'));
541
541
  }
542
542
  }
543
- CdkEditControl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkEditControl, deps: [{ token: i0.ElementRef }, { token: EditRef }], target: i0.ɵɵFactoryTarget.Directive });
544
- CdkEditControl.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.5", type: CdkEditControl, selector: "form[cdkEditControl]", inputs: { clickOutBehavior: ["cdkEditControlClickOutBehavior", "clickOutBehavior"], preservedFormValue: ["cdkEditControlPreservedFormValue", "preservedFormValue"], ignoreSubmitUnlessValid: ["cdkEditControlIgnoreSubmitUnlessValid", "ignoreSubmitUnlessValid"] }, outputs: { preservedFormValueChange: "cdkEditControlPreservedFormValueChange" }, host: { listeners: { "ngSubmit": "handleFormSubmit()", "document:click": "handlePossibleClickOut($event)", "keydown": "_handleKeydown($event)" } }, providers: [EditRef], ngImport: i0 });
545
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkEditControl, decorators: [{
543
+ CdkEditControl.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkEditControl, deps: [{ token: i0.ElementRef }, { token: EditRef }], target: i0.ɵɵFactoryTarget.Directive });
544
+ CdkEditControl.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", type: CdkEditControl, selector: "form[cdkEditControl]", inputs: { clickOutBehavior: ["cdkEditControlClickOutBehavior", "clickOutBehavior"], preservedFormValue: ["cdkEditControlPreservedFormValue", "preservedFormValue"], ignoreSubmitUnlessValid: ["cdkEditControlIgnoreSubmitUnlessValid", "ignoreSubmitUnlessValid"] }, outputs: { preservedFormValueChange: "cdkEditControlPreservedFormValueChange" }, host: { listeners: { "ngSubmit": "handleFormSubmit()", "document:click": "handlePossibleClickOut($event)", "keydown": "_handleKeydown($event)" } }, providers: [EditRef], ngImport: i0 });
545
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkEditControl, decorators: [{
546
546
  type: Directive,
547
547
  args: [{
548
548
  selector: 'form[cdkEditControl]',
@@ -571,9 +571,9 @@ class CdkEditRevert {
571
571
  this.editRef.reset();
572
572
  }
573
573
  }
574
- CdkEditRevert.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkEditRevert, deps: [{ token: EditRef }], target: i0.ɵɵFactoryTarget.Directive });
575
- CdkEditRevert.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.5", type: CdkEditRevert, selector: "button[cdkEditRevert]", inputs: { type: "type" }, host: { attributes: { "type": "button" }, listeners: { "click": "revertEdit()" } }, ngImport: i0 });
576
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkEditRevert, decorators: [{
574
+ CdkEditRevert.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkEditRevert, deps: [{ token: EditRef }], target: i0.ɵɵFactoryTarget.Directive });
575
+ CdkEditRevert.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", type: CdkEditRevert, selector: "button[cdkEditRevert]", inputs: { type: "type" }, host: { attributes: { "type": "button" }, listeners: { "click": "revertEdit()" } }, ngImport: i0 });
576
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkEditRevert, decorators: [{
577
577
  type: Directive,
578
578
  args: [{
579
579
  selector: 'button[cdkEditRevert]',
@@ -605,9 +605,9 @@ class CdkEditClose {
605
605
  this.editRef.close();
606
606
  }
607
607
  }
608
- CdkEditClose.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkEditClose, deps: [{ token: i0.ElementRef }, { token: EditRef }], target: i0.ɵɵFactoryTarget.Directive });
609
- CdkEditClose.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.5", type: CdkEditClose, selector: "[cdkEditClose]", host: { listeners: { "click": "closeEdit()", "keydown.enter": "closeEdit()", "keydown.space": "closeEdit()" } }, ngImport: i0 });
610
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkEditClose, decorators: [{
608
+ CdkEditClose.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkEditClose, deps: [{ token: i0.ElementRef }, { token: EditRef }], target: i0.ɵɵFactoryTarget.Directive });
609
+ CdkEditClose.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", type: CdkEditClose, selector: "[cdkEditClose]", host: { listeners: { "click": "closeEdit()", "keydown.enter": "closeEdit()", "keydown.space": "closeEdit()" } }, ngImport: i0 });
610
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkEditClose, decorators: [{
611
611
  type: Directive,
612
612
  args: [{
613
613
  selector: '[cdkEditClose]',
@@ -632,9 +632,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5",
632
632
  */
633
633
  class PopoverEditPositionStrategyFactory {
634
634
  }
635
- PopoverEditPositionStrategyFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: PopoverEditPositionStrategyFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
636
- PopoverEditPositionStrategyFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: PopoverEditPositionStrategyFactory });
637
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: PopoverEditPositionStrategyFactory, decorators: [{
635
+ PopoverEditPositionStrategyFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: PopoverEditPositionStrategyFactory, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
636
+ PopoverEditPositionStrategyFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: PopoverEditPositionStrategyFactory });
637
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: PopoverEditPositionStrategyFactory, decorators: [{
638
638
  type: Injectable
639
639
  }] });
640
640
  /**
@@ -683,9 +683,9 @@ class DefaultPopoverEditPositionStrategyFactory extends PopoverEditPositionStrat
683
683
  return { width: lastCell.getBoundingClientRect().right - firstCell.getBoundingClientRect().left };
684
684
  }
685
685
  }
686
- DefaultPopoverEditPositionStrategyFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: DefaultPopoverEditPositionStrategyFactory, deps: [{ token: i1$1.Directionality }, { token: i2.Overlay }], target: i0.ɵɵFactoryTarget.Injectable });
687
- DefaultPopoverEditPositionStrategyFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: DefaultPopoverEditPositionStrategyFactory });
688
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: DefaultPopoverEditPositionStrategyFactory, decorators: [{
686
+ DefaultPopoverEditPositionStrategyFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: DefaultPopoverEditPositionStrategyFactory, deps: [{ token: i1$1.Directionality }, { token: i2.Overlay }], target: i0.ɵɵFactoryTarget.Injectable });
687
+ DefaultPopoverEditPositionStrategyFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: DefaultPopoverEditPositionStrategyFactory });
688
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: DefaultPopoverEditPositionStrategyFactory, decorators: [{
689
689
  type: Injectable
690
690
  }], ctorParameters: function () { return [{ type: i1$1.Directionality }, { type: i2.Overlay }]; } });
691
691
 
@@ -715,9 +715,9 @@ class EditServices {
715
715
  this.viewportRuler = viewportRuler;
716
716
  }
717
717
  }
718
- EditServices.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: EditServices, deps: [{ token: i1$1.Directionality }, { token: EditEventDispatcher }, { token: FocusDispatcher }, { token: i4.FocusTrapFactory }, { token: i0.NgZone }, { token: i2.Overlay }, { token: PopoverEditPositionStrategyFactory }, { token: i7.ScrollDispatcher }, { token: i7.ViewportRuler }], target: i0.ɵɵFactoryTarget.Injectable });
719
- EditServices.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: EditServices });
720
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: EditServices, decorators: [{
718
+ EditServices.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: EditServices, deps: [{ token: i1$1.Directionality }, { token: EditEventDispatcher }, { token: FocusDispatcher }, { token: i4.FocusTrapFactory }, { token: i0.NgZone }, { token: i2.Overlay }, { token: PopoverEditPositionStrategyFactory }, { token: i7.ScrollDispatcher }, { token: i7.ViewportRuler }], target: i0.ɵɵFactoryTarget.Injectable });
719
+ EditServices.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: EditServices });
720
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: EditServices, decorators: [{
721
721
  type: Injectable
722
722
  }], ctorParameters: function () { return [{ type: i1$1.Directionality }, { type: EditEventDispatcher }, { type: FocusDispatcher }, { type: i4.FocusTrapFactory }, { type: i0.NgZone }, { type: i2.Overlay }, { type: PopoverEditPositionStrategyFactory }, { type: i7.ScrollDispatcher }, { type: i7.ViewportRuler }]; } });
723
723
 
@@ -768,9 +768,9 @@ class FocusEscapeNotifierFactory {
768
768
  return new FocusEscapeNotifier(element, this._checker, this._ngZone, this._document);
769
769
  }
770
770
  }
771
- FocusEscapeNotifierFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: FocusEscapeNotifierFactory, deps: [{ token: i4.InteractivityChecker }, { token: i0.NgZone }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
772
- FocusEscapeNotifierFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: FocusEscapeNotifierFactory, providedIn: 'root' });
773
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: FocusEscapeNotifierFactory, decorators: [{
771
+ FocusEscapeNotifierFactory.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: FocusEscapeNotifierFactory, deps: [{ token: i4.InteractivityChecker }, { token: i0.NgZone }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
772
+ FocusEscapeNotifierFactory.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: FocusEscapeNotifierFactory, providedIn: 'root' });
773
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: FocusEscapeNotifierFactory, decorators: [{
774
774
  type: Injectable,
775
775
  args: [{ providedIn: 'root' }]
776
776
  }], ctorParameters: function () { return [{ type: i4.InteractivityChecker }, { type: i0.NgZone }, { type: undefined, decorators: [{
@@ -840,9 +840,9 @@ class CdkEditable {
840
840
  });
841
841
  }
842
842
  }
843
- CdkEditable.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkEditable, deps: [{ token: i0.ElementRef }, { token: EditEventDispatcher }, { token: FocusDispatcher }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
844
- CdkEditable.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.5", type: CdkEditable, selector: "table[editable], cdk-table[editable], mat-table[editable]", providers: [EditEventDispatcher, EditServices], ngImport: i0 });
845
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkEditable, decorators: [{
843
+ CdkEditable.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkEditable, deps: [{ token: i0.ElementRef }, { token: EditEventDispatcher }, { token: FocusDispatcher }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
844
+ CdkEditable.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", type: CdkEditable, selector: "table[editable], cdk-table[editable], mat-table[editable]", providers: [EditEventDispatcher, EditServices], ngImport: i0 });
845
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkEditable, decorators: [{
846
846
  type: Directive,
847
847
  args: [{
848
848
  selector: 'table[editable], cdk-table[editable], mat-table[editable]',
@@ -998,9 +998,9 @@ class CdkPopoverEdit {
998
998
  }
999
999
  }
1000
1000
  }
1001
- CdkPopoverEdit.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkPopoverEdit, deps: [{ token: EditServices }, { token: i0.ElementRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
1002
- CdkPopoverEdit.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.5", type: CdkPopoverEdit, selector: "[cdkPopoverEdit]:not([cdkPopoverEditTabOut])", inputs: { template: ["cdkPopoverEdit", "template"], context: ["cdkPopoverEditContext", "context"], colspan: ["cdkPopoverEditColspan", "colspan"], disabled: ["cdkPopoverEditDisabled", "disabled"] }, host: { properties: { "attr.tabindex": "disabled ? null : 0", "attr.aria-haspopup": "!disabled" }, classAttribute: "cdk-popover-edit-cell" }, ngImport: i0 });
1003
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkPopoverEdit, decorators: [{
1001
+ CdkPopoverEdit.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkPopoverEdit, deps: [{ token: EditServices }, { token: i0.ElementRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
1002
+ CdkPopoverEdit.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", type: CdkPopoverEdit, selector: "[cdkPopoverEdit]:not([cdkPopoverEditTabOut])", inputs: { template: ["cdkPopoverEdit", "template"], context: ["cdkPopoverEditContext", "context"], colspan: ["cdkPopoverEditColspan", "colspan"], disabled: ["cdkPopoverEditDisabled", "disabled"] }, host: { properties: { "attr.tabindex": "disabled ? null : 0", "attr.aria-haspopup": "!disabled" }, classAttribute: "cdk-popover-edit-cell" }, ngImport: i0 });
1003
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkPopoverEdit, decorators: [{
1004
1004
  type: Directive,
1005
1005
  args: [{
1006
1006
  selector: '[cdkPopoverEdit]:not([cdkPopoverEditTabOut])',
@@ -1032,9 +1032,9 @@ class CdkPopoverEditTabOut extends CdkPopoverEdit {
1032
1032
  });
1033
1033
  }
1034
1034
  }
1035
- CdkPopoverEditTabOut.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkPopoverEditTabOut, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: EditServices }, { token: FocusEscapeNotifierFactory }], target: i0.ɵɵFactoryTarget.Directive });
1036
- CdkPopoverEditTabOut.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.5", type: CdkPopoverEditTabOut, selector: "[cdkPopoverEdit][cdkPopoverEditTabOut]", inputs: { template: ["cdkPopoverEdit", "template"], context: ["cdkPopoverEditContext", "context"], colspan: ["cdkPopoverEditColspan", "colspan"], disabled: ["cdkPopoverEditDisabled", "disabled"] }, host: { properties: { "attr.tabindex": "disabled ? null : 0", "attr.aria-haspopup": "!disabled" }, classAttribute: "cdk-popover-edit-cell" }, usesInheritance: true, ngImport: i0 });
1037
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkPopoverEditTabOut, decorators: [{
1035
+ CdkPopoverEditTabOut.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkPopoverEditTabOut, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: EditServices }, { token: FocusEscapeNotifierFactory }], target: i0.ɵɵFactoryTarget.Directive });
1036
+ CdkPopoverEditTabOut.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", type: CdkPopoverEditTabOut, selector: "[cdkPopoverEdit][cdkPopoverEditTabOut]", inputs: { template: ["cdkPopoverEdit", "template"], context: ["cdkPopoverEditContext", "context"], colspan: ["cdkPopoverEditColspan", "colspan"], disabled: ["cdkPopoverEditDisabled", "disabled"] }, host: { properties: { "attr.tabindex": "disabled ? null : 0", "attr.aria-haspopup": "!disabled" }, classAttribute: "cdk-popover-edit-cell" }, usesInheritance: true, ngImport: i0 });
1037
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkPopoverEditTabOut, decorators: [{
1038
1038
  type: Directive,
1039
1039
  args: [{
1040
1040
  selector: '[cdkPopoverEdit][cdkPopoverEditTabOut]',
@@ -1120,9 +1120,9 @@ class CdkRowHoverContent {
1120
1120
  });
1121
1121
  }
1122
1122
  }
1123
- CdkRowHoverContent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkRowHoverContent, deps: [{ token: EditServices }, { token: i0.ElementRef }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
1124
- CdkRowHoverContent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.5", type: CdkRowHoverContent, selector: "[cdkRowHoverContent]", ngImport: i0 });
1125
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkRowHoverContent, decorators: [{
1123
+ CdkRowHoverContent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkRowHoverContent, deps: [{ token: EditServices }, { token: i0.ElementRef }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
1124
+ CdkRowHoverContent.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", type: CdkRowHoverContent, selector: "[cdkRowHoverContent]", ngImport: i0 });
1125
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkRowHoverContent, decorators: [{
1126
1126
  type: Directive,
1127
1127
  args: [{
1128
1128
  selector: '[cdkRowHoverContent]',
@@ -1147,9 +1147,9 @@ class CdkEditOpen {
1147
1147
  evt.stopPropagation();
1148
1148
  }
1149
1149
  }
1150
- CdkEditOpen.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkEditOpen, deps: [{ token: i0.ElementRef }, { token: EditEventDispatcher }], target: i0.ɵɵFactoryTarget.Directive });
1151
- CdkEditOpen.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.5", type: CdkEditOpen, selector: "[cdkEditOpen]", host: { listeners: { "click": "openEdit($event)" } }, ngImport: i0 });
1152
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkEditOpen, decorators: [{
1150
+ CdkEditOpen.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkEditOpen, deps: [{ token: i0.ElementRef }, { token: EditEventDispatcher }], target: i0.ɵɵFactoryTarget.Directive });
1151
+ CdkEditOpen.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", type: CdkEditOpen, selector: "[cdkEditOpen]", host: { listeners: { "click": "openEdit($event)" } }, ngImport: i0 });
1152
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkEditOpen, decorators: [{
1153
1153
  type: Directive,
1154
1154
  args: [{
1155
1155
  selector: '[cdkEditOpen]',
@@ -1178,8 +1178,8 @@ const EXPORTED_DECLARATIONS = [
1178
1178
  ];
1179
1179
  class CdkPopoverEditModule {
1180
1180
  }
1181
- CdkPopoverEditModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkPopoverEditModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1182
- CdkPopoverEditModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkPopoverEditModule, declarations: [CdkPopoverEdit,
1181
+ CdkPopoverEditModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkPopoverEditModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
1182
+ CdkPopoverEditModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkPopoverEditModule, declarations: [CdkPopoverEdit,
1183
1183
  CdkPopoverEditTabOut,
1184
1184
  CdkRowHoverContent,
1185
1185
  CdkEditControl,
@@ -1194,13 +1194,13 @@ CdkPopoverEditModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", ve
1194
1194
  CdkEditClose,
1195
1195
  CdkEditable,
1196
1196
  CdkEditOpen] });
1197
- CdkPopoverEditModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkPopoverEditModule, providers: [
1197
+ CdkPopoverEditModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkPopoverEditModule, providers: [
1198
1198
  {
1199
1199
  provide: PopoverEditPositionStrategyFactory,
1200
1200
  useClass: DefaultPopoverEditPositionStrategyFactory,
1201
1201
  },
1202
1202
  ], imports: [[OverlayModule]] });
1203
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkPopoverEditModule, decorators: [{
1203
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkPopoverEditModule, decorators: [{
1204
1204
  type: NgModule,
1205
1205
  args: [{
1206
1206
  imports: [OverlayModule],
@@ -394,15 +394,15 @@ class CdkAutoSizeVirtualScroll {
394
394
  this._scrollStrategy.updateBufferSize(this.minBufferPx, this.maxBufferPx);
395
395
  }
396
396
  }
397
- CdkAutoSizeVirtualScroll.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkAutoSizeVirtualScroll, deps: [], target: i0.ɵɵFactoryTarget.Directive });
398
- CdkAutoSizeVirtualScroll.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.5", type: CdkAutoSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[autosize]", inputs: { minBufferPx: "minBufferPx", maxBufferPx: "maxBufferPx" }, providers: [
397
+ CdkAutoSizeVirtualScroll.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkAutoSizeVirtualScroll, deps: [], target: i0.ɵɵFactoryTarget.Directive });
398
+ CdkAutoSizeVirtualScroll.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", type: CdkAutoSizeVirtualScroll, selector: "cdk-virtual-scroll-viewport[autosize]", inputs: { minBufferPx: "minBufferPx", maxBufferPx: "maxBufferPx" }, providers: [
399
399
  {
400
400
  provide: VIRTUAL_SCROLL_STRATEGY,
401
401
  useFactory: _autoSizeVirtualScrollStrategyFactory,
402
402
  deps: [forwardRef(() => CdkAutoSizeVirtualScroll)],
403
403
  },
404
404
  ], usesOnChanges: true, ngImport: i0 });
405
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkAutoSizeVirtualScroll, decorators: [{
405
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkAutoSizeVirtualScroll, decorators: [{
406
406
  type: Directive,
407
407
  args: [{
408
408
  selector: 'cdk-virtual-scroll-viewport[autosize]',
@@ -429,10 +429,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5",
429
429
  */
430
430
  class ScrollingModule {
431
431
  }
432
- ScrollingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: ScrollingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
433
- ScrollingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: ScrollingModule, declarations: [CdkAutoSizeVirtualScroll], exports: [CdkAutoSizeVirtualScroll] });
434
- ScrollingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: ScrollingModule });
435
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: ScrollingModule, decorators: [{
432
+ ScrollingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: ScrollingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
433
+ ScrollingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: ScrollingModule, declarations: [CdkAutoSizeVirtualScroll], exports: [CdkAutoSizeVirtualScroll] });
434
+ ScrollingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: ScrollingModule });
435
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: ScrollingModule, decorators: [{
436
436
  type: NgModule,
437
437
  args: [{
438
438
  exports: [CdkAutoSizeVirtualScroll],
@@ -247,9 +247,9 @@ class CdkSelection {
247
247
  }
248
248
  }
249
249
  }
250
- CdkSelection.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkSelection, deps: [], target: i0.ɵɵFactoryTarget.Directive });
251
- CdkSelection.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.5", type: CdkSelection, selector: "[cdkSelection]", inputs: { dataSource: "dataSource", trackByFn: ["trackBy", "trackByFn"], multiple: ["cdkSelectionMultiple", "multiple"] }, outputs: { change: "cdkSelectionChange" }, exportAs: ["cdkSelection"], ngImport: i0 });
252
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkSelection, decorators: [{
250
+ CdkSelection.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkSelection, deps: [], target: i0.ɵɵFactoryTarget.Directive });
251
+ CdkSelection.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", type: CdkSelection, selector: "[cdkSelection]", inputs: { dataSource: "dataSource", trackByFn: ["trackBy", "trackByFn"], multiple: ["cdkSelectionMultiple", "multiple"] }, outputs: { change: "cdkSelectionChange" }, exportAs: ["cdkSelection"], ngImport: i0 });
252
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkSelection, decorators: [{
253
253
  type: Directive,
254
254
  args: [{
255
255
  selector: '[cdkSelection]',
@@ -348,9 +348,9 @@ class CdkSelectAll {
348
348
  this._destroyed.complete();
349
349
  }
350
350
  }
351
- CdkSelectAll.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkSelectAll, deps: [{ token: CdkSelection, optional: true }, { token: NG_VALUE_ACCESSOR, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive });
352
- CdkSelectAll.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.5", type: CdkSelectAll, selector: "[cdkSelectAll]", exportAs: ["cdkSelectAll"], ngImport: i0 });
353
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkSelectAll, decorators: [{
351
+ CdkSelectAll.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkSelectAll, deps: [{ token: CdkSelection, optional: true }, { token: NG_VALUE_ACCESSOR, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive });
352
+ CdkSelectAll.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", type: CdkSelectAll, selector: "[cdkSelectAll]", exportAs: ["cdkSelectAll"], ngImport: i0 });
353
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkSelectAll, decorators: [{
354
354
  type: Directive,
355
355
  args: [{
356
356
  selector: '[cdkSelectAll]',
@@ -435,9 +435,9 @@ class CdkSelectionToggle {
435
435
  return this._selection.isSelected(this.value, this.index);
436
436
  }
437
437
  }
438
- CdkSelectionToggle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkSelectionToggle, deps: [{ token: CdkSelection, optional: true }, { token: NG_VALUE_ACCESSOR, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive });
439
- CdkSelectionToggle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.5", type: CdkSelectionToggle, selector: "[cdkSelectionToggle]", inputs: { value: ["cdkSelectionToggleValue", "value"], index: ["cdkSelectionToggleIndex", "index"] }, exportAs: ["cdkSelectionToggle"], ngImport: i0 });
440
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkSelectionToggle, decorators: [{
438
+ CdkSelectionToggle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkSelectionToggle, deps: [{ token: CdkSelection, optional: true }, { token: NG_VALUE_ACCESSOR, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive });
439
+ CdkSelectionToggle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", type: CdkSelectionToggle, selector: "[cdkSelectionToggle]", inputs: { value: ["cdkSelectionToggleValue", "value"], index: ["cdkSelectionToggleIndex", "index"] }, exportAs: ["cdkSelectionToggle"], ngImport: i0 });
440
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkSelectionToggle, decorators: [{
441
441
  type: Directive,
442
442
  args: [{
443
443
  selector: '[cdkSelectionToggle]',
@@ -514,8 +514,8 @@ class CdkSelectionColumn {
514
514
  }
515
515
  }
516
516
  }
517
- CdkSelectionColumn.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkSelectionColumn, deps: [{ token: CdkTable, optional: true }, { token: CdkSelection, optional: true }], target: i0.ɵɵFactoryTarget.Component });
518
- CdkSelectionColumn.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "14.0.0-next.5", type: CdkSelectionColumn, selector: "cdk-selection-column", inputs: { name: ["cdkSelectionColumnName", "name"] }, viewQueries: [{ propertyName: "_columnDef", first: true, predicate: CdkColumnDef, descendants: true, static: true }, { propertyName: "_cell", first: true, predicate: CdkCellDef, descendants: true, static: true }, { propertyName: "_headerCell", first: true, predicate: CdkHeaderCellDef, descendants: true, static: true }], ngImport: i0, template: `
517
+ CdkSelectionColumn.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkSelectionColumn, deps: [{ token: CdkTable, optional: true }, { token: CdkSelection, optional: true }], target: i0.ɵɵFactoryTarget.Component });
518
+ CdkSelectionColumn.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "14.0.0-next.9", type: CdkSelectionColumn, selector: "cdk-selection-column", inputs: { name: ["cdkSelectionColumnName", "name"] }, viewQueries: [{ propertyName: "_columnDef", first: true, predicate: CdkColumnDef, descendants: true, static: true }, { propertyName: "_cell", first: true, predicate: CdkCellDef, descendants: true, static: true }, { propertyName: "_headerCell", first: true, predicate: CdkHeaderCellDef, descendants: true, static: true }], ngImport: i0, template: `
519
519
  <ng-container cdkColumnDef>
520
520
  <th cdkHeaderCell *cdkHeaderCellDef>
521
521
  <input type="checkbox" *ngIf="selection.multiple"
@@ -536,7 +536,7 @@ CdkSelectionColumn.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ver
536
536
  </td>
537
537
  </ng-container>
538
538
  `, isInline: true, directives: [{ type: i1.CdkColumnDef, selector: "[cdkColumnDef]", inputs: ["sticky", "cdkColumnDef", "stickyEnd"] }, { type: i1.CdkHeaderCellDef, selector: "[cdkHeaderCellDef]" }, { type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: CdkSelectAll, selector: "[cdkSelectAll]", exportAs: ["cdkSelectAll"] }, { type: i1.CdkCellDef, selector: "[cdkCellDef]" }, { type: CdkSelectionToggle, selector: "[cdkSelectionToggle]", inputs: ["cdkSelectionToggleValue", "cdkSelectionToggleIndex"], exportAs: ["cdkSelectionToggle"] }], pipes: { "async": i2.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
539
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkSelectionColumn, decorators: [{
539
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkSelectionColumn, decorators: [{
540
540
  type: Component,
541
541
  args: [{
542
542
  selector: 'cdk-selection-column',
@@ -613,9 +613,9 @@ class CdkRowSelection {
613
613
  this._index = coerceNumberProperty(index);
614
614
  }
615
615
  }
616
- CdkRowSelection.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkRowSelection, deps: [{ token: CdkSelection }], target: i0.ɵɵFactoryTarget.Directive });
617
- CdkRowSelection.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.5", type: CdkRowSelection, selector: "[cdkRowSelection]", inputs: { value: ["cdkRowSelectionValue", "value"], index: ["cdkRowSelectionIndex", "index"] }, host: { properties: { "class.cdk-selected": "_selection.isSelected(this.value, this.index)", "attr.aria-selected": "_selection.isSelected(this.value, this.index)" } }, ngImport: i0 });
618
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkRowSelection, decorators: [{
616
+ CdkRowSelection.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkRowSelection, deps: [{ token: CdkSelection }], target: i0.ɵɵFactoryTarget.Directive });
617
+ CdkRowSelection.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", type: CdkRowSelection, selector: "[cdkRowSelection]", inputs: { value: ["cdkRowSelectionValue", "value"], index: ["cdkRowSelectionIndex", "index"] }, host: { properties: { "class.cdk-selected": "_selection.isSelected(this.value, this.index)", "attr.aria-selected": "_selection.isSelected(this.value, this.index)" } }, ngImport: i0 });
618
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkRowSelection, decorators: [{
619
619
  type: Directive,
620
620
  args: [{
621
621
  selector: '[cdkRowSelection]',
@@ -641,14 +641,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5",
641
641
  */
642
642
  class CdkSelectionModule {
643
643
  }
644
- CdkSelectionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkSelectionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
645
- CdkSelectionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkSelectionModule, declarations: [CdkSelection,
644
+ CdkSelectionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkSelectionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
645
+ CdkSelectionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkSelectionModule, declarations: [CdkSelection,
646
646
  CdkSelectionToggle,
647
647
  CdkSelectAll,
648
648
  CdkSelectionColumn,
649
649
  CdkRowSelection], imports: [CommonModule, CdkTableModule], exports: [CdkSelection, CdkSelectionToggle, CdkSelectAll, CdkSelectionColumn, CdkRowSelection] });
650
- CdkSelectionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkSelectionModule, imports: [[CommonModule, CdkTableModule]] });
651
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkSelectionModule, decorators: [{
650
+ CdkSelectionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkSelectionModule, imports: [[CommonModule, CdkTableModule]] });
651
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkSelectionModule, decorators: [{
652
652
  type: NgModule,
653
653
  args: [{
654
654
  imports: [CommonModule, CdkTableModule],
@@ -101,9 +101,9 @@ class CdkTableScrollContainer {
101
101
  }
102
102
  }
103
103
  }
104
- CdkTableScrollContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkTableScrollContainer, deps: [{ token: i0.ElementRef }, { token: DOCUMENT }, { token: i1.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
105
- CdkTableScrollContainer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.5", type: CdkTableScrollContainer, selector: "[cdkTableScrollContainer]", host: { classAttribute: "cdk-table-scroll-container" }, providers: [{ provide: STICKY_POSITIONING_LISTENER, useExisting: CdkTableScrollContainer }], ngImport: i0 });
106
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkTableScrollContainer, decorators: [{
104
+ CdkTableScrollContainer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkTableScrollContainer, deps: [{ token: i0.ElementRef }, { token: DOCUMENT }, { token: i1.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
105
+ CdkTableScrollContainer.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.9", type: CdkTableScrollContainer, selector: "[cdkTableScrollContainer]", host: { classAttribute: "cdk-table-scroll-container" }, providers: [{ provide: STICKY_POSITIONING_LISTENER, useExisting: CdkTableScrollContainer }], ngImport: i0 });
106
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkTableScrollContainer, decorators: [{
107
107
  type: Directive,
108
108
  args: [{
109
109
  selector: '[cdkTableScrollContainer]',
@@ -138,10 +138,10 @@ function computeMargin(sizes) {
138
138
  */
139
139
  class CdkTableScrollContainerModule {
140
140
  }
141
- CdkTableScrollContainerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkTableScrollContainerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
142
- CdkTableScrollContainerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkTableScrollContainerModule, declarations: [CdkTableScrollContainer], exports: [CdkTableScrollContainer] });
143
- CdkTableScrollContainerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkTableScrollContainerModule });
144
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: CdkTableScrollContainerModule, decorators: [{
141
+ CdkTableScrollContainerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkTableScrollContainerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
142
+ CdkTableScrollContainerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkTableScrollContainerModule, declarations: [CdkTableScrollContainer], exports: [CdkTableScrollContainer] });
143
+ CdkTableScrollContainerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkTableScrollContainerModule });
144
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.9", ngImport: i0, type: CdkTableScrollContainerModule, decorators: [{
145
145
  type: NgModule,
146
146
  args: [{
147
147
  declarations: [CdkTableScrollContainer],
@@ -5,17 +5,20 @@
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
7
7
  */
8
- import { AfterContentInit, ElementRef, EventEmitter, InjectionToken, OnDestroy, OnInit, QueryList } from '@angular/core';
8
+ import { AfterContentInit, ElementRef, EventEmitter, OnDestroy, OnInit, QueryList } from '@angular/core';
9
9
  import { ActiveDescendantKeyManager, Highlightable, ListKeyManagerOption } from '@angular/cdk/a11y';
10
10
  import { BooleanInput } from '@angular/cdk/coercion';
11
11
  import { SelectionModel } from '@angular/cdk/collections';
12
12
  import { Observable } from 'rxjs';
13
13
  import { ControlValueAccessor } from '@angular/forms';
14
- import { CdkComboboxPanel } from '@angular/cdk-experimental/combobox';
15
14
  import { Directionality } from '@angular/cdk/bidi';
15
+ import { CdkCombobox } from '@angular/cdk-experimental/combobox';
16
16
  import * as i0 from "@angular/core";
17
- export declare const CDK_LISTBOX_VALUE_ACCESSOR: any;
18
- export declare const PANEL: InjectionToken<CdkComboboxPanel<unknown>>;
17
+ export declare const CDK_LISTBOX_VALUE_ACCESSOR: {
18
+ provide: import("@angular/core").InjectionToken<readonly ControlValueAccessor[]>;
19
+ useExisting: import("@angular/core").Type<any>;
20
+ multi: boolean;
21
+ };
19
22
  export declare class CdkOption<T = unknown> implements ListKeyManagerOption, Highlightable {
20
23
  private readonly _elementRef;
21
24
  readonly listbox: CdkListbox<T>;
@@ -32,6 +35,11 @@ export declare class CdkOption<T = unknown> implements ListKeyManagerOption, Hig
32
35
  /** The form value of the option. */
33
36
  get value(): T;
34
37
  set value(value: T);
38
+ /**
39
+ * The text used to locate this item during menu typeahead. If not specified,
40
+ * the `textContent` of the item will be used.
41
+ */
42
+ typeahead: string;
35
43
  readonly selectionChange: EventEmitter<OptionSelectionChangeEvent<T>>;
36
44
  constructor(_elementRef: ElementRef, listbox: CdkListbox<T>);
37
45
  /** Toggles the selected state, emits a change event through the injected listbox. */
@@ -54,18 +62,15 @@ export declare class CdkOption<T = unknown> implements ListKeyManagerOption, Hig
54
62
  _getTabIndex(): string | null;
55
63
  /** Get the label for this element which is required by the FocusableOption interface. */
56
64
  getLabel(): string;
57
- /** Remove any child from the given element which can be identified as an icon. */
58
- private _removeIcons;
59
- getElementRef(): ElementRef<any>;
60
65
  /** Sets the active property to true to enable the active css class. */
61
66
  setActiveStyles(): void;
62
67
  /** Sets the active property to false to disable the active css class. */
63
68
  setInactiveStyles(): void;
64
69
  static ɵfac: i0.ɵɵFactoryDeclaration<CdkOption<any>, never>;
65
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkOption<any>, "[cdkOption]", ["cdkOption"], { "id": "id"; "selected": "selected"; "disabled": "disabled"; "value": "value"; }, { "selectionChange": "selectionChange"; }, never>;
70
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CdkOption<any>, "[cdkOption]", ["cdkOption"], { "id": "id"; "selected": "selected"; "disabled": "disabled"; "value": "value"; "typeahead": "typeahead"; }, { "selectionChange": "selectionChange"; }, never>;
66
71
  }
67
72
  export declare class CdkListbox<T> implements AfterContentInit, OnDestroy, OnInit, ControlValueAccessor {
68
- readonly _parentPanel?: CdkComboboxPanel<T> | undefined;
73
+ private readonly _combobox;
69
74
  private readonly _dir?;
70
75
  _listKeyManager: ActiveDescendantKeyManager<CdkOption<T>>;
71
76
  _selectionModel: SelectionModel<CdkOption<T>>;
@@ -101,12 +106,10 @@ export declare class CdkListbox<T> implements AfterContentInit, OnDestroy, OnIni
101
106
  /** Determines the orientation for the list key manager. Affects keyboard interaction. */
102
107
  orientation: 'horizontal' | 'vertical';
103
108
  compareWith: (o1: T, o2: T) => boolean;
104
- private readonly _explicitPanel;
105
- constructor(_parentPanel?: CdkComboboxPanel<T> | undefined, _dir?: Directionality | undefined);
109
+ constructor(_combobox: CdkCombobox, _dir?: Directionality | undefined);
106
110
  ngOnInit(): void;
107
111
  ngAfterContentInit(): void;
108
112
  ngOnDestroy(): void;
109
- private _registerWithPanel;
110
113
  private _initKeyManager;
111
114
  private _initSelectionModel;
112
115
  _keydown(event: KeyboardEvent): void;
@@ -151,7 +154,7 @@ export declare class CdkListbox<T> implements AfterContentInit, OnDestroy, OnIni
151
154
  /** Selects an option that has the corresponding given value. */
152
155
  private _setSelectionByValue;
153
156
  static ɵfac: i0.ɵɵFactoryDeclaration<CdkListbox<any>, [{ optional: true; }, { optional: true; }]>;
154
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkListbox<any>, "[cdkListbox]", ["cdkListbox"], { "id": "id"; "multiple": "multiple"; "disabled": "disabled"; "useActiveDescendant": "useActiveDescendant"; "autoFocus": "autoFocus"; "orientation": "listboxOrientation"; "compareWith": "compareWith"; "_explicitPanel": "parentPanel"; }, { "selectionChange": "selectionChange"; }, ["_options"]>;
157
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CdkListbox<any>, "[cdkListbox]", ["cdkListbox"], { "id": "id"; "multiple": "multiple"; "disabled": "disabled"; "useActiveDescendant": "useActiveDescendant"; "autoFocus": "autoFocus"; "orientation": "listboxOrientation"; "compareWith": "compareWith"; }, { "selectionChange": "selectionChange"; }, ["_options"]>;
155
158
  }
156
159
  /** Change event that is being fired whenever the selected state of an option changes. */
157
160
  export interface ListboxSelectionChangeEvent<T> {
@@ -5,11 +5,12 @@
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
7
7
  */
8
- import { EventEmitter, InjectionToken, OnDestroy, ViewContainerRef } from '@angular/core';
8
+ import { Injector, OnDestroy, ViewContainerRef } from '@angular/core';
9
9
  import { Directionality } from '@angular/cdk/bidi';
10
10
  import { Overlay } from '@angular/cdk/overlay';
11
11
  import { BooleanInput } from '@angular/cdk/coercion';
12
- import { CdkMenuPanel } from './menu-panel';
12
+ import { MenuStack } from './menu-stack';
13
+ import { MenuTrigger } from './menu-trigger';
13
14
  import * as i0 from "@angular/core";
14
15
  /** Tracks the last open context menu trigger across the entire application. */
15
16
  export declare class ContextMenuTracker {
@@ -23,15 +24,6 @@ export declare class ContextMenuTracker {
23
24
  static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuTracker, never>;
24
25
  static ɵprov: i0.ɵɵInjectableDeclaration<ContextMenuTracker>;
25
26
  }
26
- /** Configuration options passed to the context menu. */
27
- export declare type ContextMenuOptions = {
28
- /** The opened menus X coordinate offset from the triggering position. */
29
- offsetX: number;
30
- /** The opened menus Y coordinate offset from the triggering position. */
31
- offsetY: number;
32
- };
33
- /** Injection token for the ContextMenu options object. */
34
- export declare const CDK_CONTEXT_MENU_DEFAULT_OPTIONS: InjectionToken<ContextMenuOptions>;
35
27
  /** The coordinates of where the context menu should open. */
36
28
  export declare type ContextMenuCoordinates = {
37
29
  x: number;
@@ -42,36 +34,16 @@ export declare type ContextMenuCoordinates = {
42
34
  * right-clicks within that element. It is aware of nested Context Menus and the lowest level
43
35
  * non-disabled context menu will trigger.
44
36
  */
45
- export declare class CdkContextMenuTrigger implements OnDestroy {
37
+ export declare class CdkContextMenuTrigger extends MenuTrigger implements OnDestroy {
46
38
  protected readonly _viewContainerRef: ViewContainerRef;
47
39
  private readonly _overlay;
48
40
  private readonly _contextMenuTracker;
49
- private readonly _options;
50
41
  private readonly _directionality?;
51
- /** Template reference variable to the menu to open on right click. */
52
- get menuPanel(): CdkMenuPanel;
53
- set menuPanel(panel: CdkMenuPanel);
54
- /** Reference to the MenuPanel this trigger toggles. */
55
- private _menuPanel;
56
- /** Emits when the attached menu is requested to open. */
57
- readonly opened: EventEmitter<void>;
58
- /** Emits when the attached menu is requested to close. */
59
- readonly closed: EventEmitter<void>;
60
42
  /** Whether the context menu should be disabled. */
61
43
  get disabled(): boolean;
62
44
  set disabled(value: BooleanInput);
63
45
  private _disabled;
64
- /** A reference to the overlay which manages the triggered menu. */
65
- private _overlayRef;
66
- /** The content of the menu panel opened by this trigger. */
67
- private _panelContent;
68
- /** Emits when the element is destroyed. */
69
- private readonly _destroyed;
70
- /** The menu stack for this trigger and its associated menus. */
71
- private readonly _menuStack;
72
- /** Emits when the outside pointer events listener on the overlay should be stopped. */
73
- private readonly _stopOutsideClicksListener;
74
- constructor(_viewContainerRef: ViewContainerRef, _overlay: Overlay, _contextMenuTracker: ContextMenuTracker, _options: ContextMenuOptions, _directionality?: Directionality | undefined);
46
+ constructor(injector: Injector, _viewContainerRef: ViewContainerRef, _overlay: Overlay, _contextMenuTracker: ContextMenuTracker, menuStack: MenuStack, _directionality?: Directionality | undefined);
75
47
  /**
76
48
  * Open the attached menu at the specified location.
77
49
  * @param coordinates where to open the context menu
@@ -85,8 +57,6 @@ export declare class CdkContextMenuTrigger implements OnDestroy {
85
57
  * @param event the mouse event which opens the context menu.
86
58
  */
87
59
  _openOnContextMenu(event: MouseEvent): void;
88
- /** Whether the attached menu is open. */
89
- isOpen(): boolean;
90
60
  /**
91
61
  * Get the configuration object used to create the overlay.
92
62
  * @param coordinates the location to place the opened menu
@@ -97,10 +67,6 @@ export declare class CdkContextMenuTrigger implements OnDestroy {
97
67
  * @param coordinates the location to place the opened menu
98
68
  */
99
69
  private _getOverlayPositionStrategy;
100
- /**
101
- * Determine and return where to position the opened menu relative to the mouse location.
102
- */
103
- private _getOverlayPositions;
104
70
  /**
105
71
  * Get the portal to be attached to the overlay which contains the menu. Allows for the menu
106
72
  * content to change dynamically and be reflected in the application.
@@ -113,11 +79,6 @@ export declare class CdkContextMenuTrigger implements OnDestroy {
113
79
  * click occurs outside the menus.
114
80
  */
115
81
  private _subscribeToOutsideClicks;
116
- ngOnDestroy(): void;
117
- /** Destroy and unset the overlay reference it if exists. */
118
- private _destroyOverlay;
119
- /** Set the menu panels menu stack back to null. */
120
- private _resetPanelMenuStack;
121
- static ɵfac: i0.ɵɵFactoryDeclaration<CdkContextMenuTrigger, [null, null, null, null, { optional: true; }]>;
122
- static ɵdir: i0.ɵɵDirectiveDeclaration<CdkContextMenuTrigger, "[cdkContextMenuTriggerFor]", ["cdkContextMenuTriggerFor"], { "menuPanel": "cdkContextMenuTriggerFor"; "disabled": "cdkContextMenuDisabled"; }, { "opened": "cdkContextMenuOpened"; "closed": "cdkContextMenuClosed"; }, never>;
82
+ static ɵfac: i0.ɵɵFactoryDeclaration<CdkContextMenuTrigger, [null, null, null, null, null, { optional: true; }]>;
83
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CdkContextMenuTrigger, "[cdkContextMenuTriggerFor]", ["cdkContextMenuTriggerFor"], { "_menuTemplateRef": "cdkContextMenuTriggerFor"; "menuPosition": "cdkContextMenuPosition"; "disabled": "cdkContextMenuDisabled"; }, { "opened": "cdkContextMenuOpened"; "closed": "cdkContextMenuClosed"; }, never>;
123
84
  }