@angular/cdk-experimental 13.0.0 → 13.0.1

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 (95) hide show
  1. package/dialog/dialog-container.d.ts +0 -5
  2. package/esm2020/column-resize/column-resize-directives/column-resize-flex.mjs +4 -4
  3. package/esm2020/column-resize/column-resize-directives/column-resize.mjs +4 -4
  4. package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize-flex.mjs +4 -4
  5. package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize.mjs +4 -4
  6. package/esm2020/column-resize/column-resize-module.mjs +9 -9
  7. package/esm2020/column-resize/column-resize-notifier.mjs +7 -7
  8. package/esm2020/column-resize/column-resize.mjs +4 -4
  9. package/esm2020/column-resize/column-size-store.mjs +4 -4
  10. package/esm2020/column-resize/event-dispatcher.mjs +4 -4
  11. package/esm2020/column-resize/overlay-handle.mjs +4 -4
  12. package/esm2020/column-resize/resizable.mjs +4 -4
  13. package/esm2020/column-resize/resize-strategy.mjs +10 -10
  14. package/esm2020/combobox/combobox-module.mjs +5 -5
  15. package/esm2020/combobox/combobox-panel.mjs +4 -4
  16. package/esm2020/combobox/combobox-popup.mjs +4 -4
  17. package/esm2020/combobox/combobox.mjs +4 -4
  18. package/esm2020/dialog/dialog-container.mjs +11 -38
  19. package/esm2020/dialog/dialog-module.mjs +5 -5
  20. package/esm2020/dialog/dialog.mjs +4 -4
  21. package/esm2020/listbox/listbox-module.mjs +5 -5
  22. package/esm2020/listbox/listbox.mjs +7 -7
  23. package/esm2020/menu/context-menu.mjs +7 -7
  24. package/esm2020/menu/menu-aim.mjs +7 -7
  25. package/esm2020/menu/menu-bar.mjs +7 -27
  26. package/esm2020/menu/menu-group.mjs +4 -4
  27. package/esm2020/menu/menu-item-checkbox.mjs +4 -4
  28. package/esm2020/menu/menu-item-radio.mjs +4 -4
  29. package/esm2020/menu/menu-item-selectable.mjs +4 -4
  30. package/esm2020/menu/menu-item-trigger.mjs +4 -4
  31. package/esm2020/menu/menu-item.mjs +11 -58
  32. package/esm2020/menu/menu-module.mjs +5 -5
  33. package/esm2020/menu/menu-panel.mjs +4 -4
  34. package/esm2020/menu/menu.mjs +7 -23
  35. package/esm2020/popover-edit/edit-event-dispatcher.mjs +4 -4
  36. package/esm2020/popover-edit/edit-ref.mjs +4 -4
  37. package/esm2020/popover-edit/edit-services.mjs +4 -4
  38. package/esm2020/popover-edit/focus-dispatcher.mjs +4 -4
  39. package/esm2020/popover-edit/focus-escape-notifier.mjs +4 -4
  40. package/esm2020/popover-edit/lens-directives.mjs +28 -56
  41. package/esm2020/popover-edit/popover-edit-module.mjs +5 -5
  42. package/esm2020/popover-edit/popover-edit-position-strategy-factory.mjs +7 -7
  43. package/esm2020/popover-edit/table-directives.mjs +21 -25
  44. package/esm2020/scrolling/auto-size-virtual-scroll.mjs +4 -4
  45. package/esm2020/scrolling/scrolling-module.mjs +5 -5
  46. package/esm2020/selection/row-selection.mjs +4 -4
  47. package/esm2020/selection/select-all.mjs +4 -4
  48. package/esm2020/selection/selection-column.mjs +4 -4
  49. package/esm2020/selection/selection-module.mjs +5 -5
  50. package/esm2020/selection/selection-toggle.mjs +4 -4
  51. package/esm2020/selection/selection.mjs +4 -4
  52. package/esm2020/table-scroll-container/table-scroll-container-module.mjs +5 -5
  53. package/esm2020/table-scroll-container/table-scroll-container.mjs +4 -4
  54. package/esm2020/version.mjs +1 -1
  55. package/fesm2015/cdk-experimental.mjs +1 -1
  56. package/fesm2015/cdk-experimental.mjs.map +1 -1
  57. package/fesm2015/column-resize.mjs +50 -50
  58. package/fesm2015/column-resize.mjs.map +1 -1
  59. package/fesm2015/combobox.mjs +13 -13
  60. package/fesm2015/combobox.mjs.map +1 -1
  61. package/fesm2015/dialog.mjs +17 -44
  62. package/fesm2015/dialog.mjs.map +1 -1
  63. package/fesm2015/listbox.mjs +10 -10
  64. package/fesm2015/listbox.mjs.map +1 -1
  65. package/fesm2015/menu.mjs +54 -137
  66. package/fesm2015/menu.mjs.map +1 -1
  67. package/fesm2015/popover-edit.mjs +71 -103
  68. package/fesm2015/popover-edit.mjs.map +1 -1
  69. package/fesm2015/scrolling.mjs +7 -7
  70. package/fesm2015/scrolling.mjs.map +1 -1
  71. package/fesm2015/selection.mjs +19 -19
  72. package/fesm2015/selection.mjs.map +1 -1
  73. package/fesm2015/table-scroll-container.mjs +7 -7
  74. package/fesm2015/table-scroll-container.mjs.map +1 -1
  75. package/fesm2020/cdk-experimental.mjs +1 -1
  76. package/fesm2020/cdk-experimental.mjs.map +1 -1
  77. package/fesm2020/column-resize.mjs +50 -50
  78. package/fesm2020/column-resize.mjs.map +1 -1
  79. package/fesm2020/combobox.mjs +13 -13
  80. package/fesm2020/combobox.mjs.map +1 -1
  81. package/fesm2020/dialog.mjs +17 -44
  82. package/fesm2020/dialog.mjs.map +1 -1
  83. package/fesm2020/listbox.mjs +10 -10
  84. package/fesm2020/listbox.mjs.map +1 -1
  85. package/fesm2020/menu.mjs +54 -137
  86. package/fesm2020/menu.mjs.map +1 -1
  87. package/fesm2020/popover-edit.mjs +71 -103
  88. package/fesm2020/popover-edit.mjs.map +1 -1
  89. package/fesm2020/scrolling.mjs +7 -7
  90. package/fesm2020/scrolling.mjs.map +1 -1
  91. package/fesm2020/selection.mjs +19 -19
  92. package/fesm2020/selection.mjs.map +1 -1
  93. package/fesm2020/table-scroll-container.mjs +7 -7
  94. package/fesm2020/table-scroll-container.mjs.map +1 -1
  95. package/package.json +2 -2
package/fesm2015/menu.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InjectionToken, Injectable, Directive, EventEmitter, Optional, Inject, Input, Output, Self, HostListener, ContentChildren, NgModule } from '@angular/core';
2
+ import { InjectionToken, Injectable, Directive, EventEmitter, Optional, Inject, Input, Output, Self, ContentChildren, NgModule } from '@angular/core';
3
3
  import * as i1 from '@angular/cdk/overlay';
4
4
  import { OverlayConfig, OverlayModule } from '@angular/cdk/overlay';
5
5
  import { FocusKeyManager } from '@angular/cdk/a11y';
@@ -223,9 +223,9 @@ class TargetMenuAim {
223
223
  this._destroyed.complete();
224
224
  }
225
225
  }
226
- TargetMenuAim.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: TargetMenuAim, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
227
- TargetMenuAim.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: TargetMenuAim });
228
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: TargetMenuAim, decorators: [{
226
+ TargetMenuAim.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: TargetMenuAim, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
227
+ TargetMenuAim.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: TargetMenuAim });
228
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: TargetMenuAim, decorators: [{
229
229
  type: Injectable
230
230
  }], ctorParameters: function () { return [{ type: i0.NgZone }]; } });
231
231
  /**
@@ -234,9 +234,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ng
234
234
  */
235
235
  class CdkTargetMenuAim {
236
236
  }
237
- CdkTargetMenuAim.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: CdkTargetMenuAim, deps: [], target: i0.ɵɵFactoryTarget.Directive });
238
- CdkTargetMenuAim.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-rc.3", type: CdkTargetMenuAim, selector: "[cdkTargetMenuAim]", providers: [{ provide: MENU_AIM, useClass: TargetMenuAim }], exportAs: ["cdkTargetMenuAim"], ngImport: i0 });
239
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: CdkTargetMenuAim, decorators: [{
237
+ CdkTargetMenuAim.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: CdkTargetMenuAim, deps: [], target: i0.ɵɵFactoryTarget.Directive });
238
+ CdkTargetMenuAim.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.1", type: CdkTargetMenuAim, selector: "[cdkTargetMenuAim]", providers: [{ provide: MENU_AIM, useClass: TargetMenuAim }], exportAs: ["cdkTargetMenuAim"], ngImport: i0 });
239
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: CdkTargetMenuAim, decorators: [{
240
240
  type: Directive,
241
241
  args: [{
242
242
  selector: '[cdkTargetMenuAim]',
@@ -665,9 +665,9 @@ class CdkMenuItemTrigger {
665
665
  }
666
666
  }
667
667
  }
668
- CdkMenuItemTrigger.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: CdkMenuItemTrigger, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: i1.Overlay }, { token: i0.NgZone }, { token: CDK_MENU, optional: true }, { token: MENU_AIM, optional: true }, { token: i2.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
669
- CdkMenuItemTrigger.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-rc.3", type: CdkMenuItemTrigger, selector: "[cdkMenuTriggerFor]", inputs: { menuPanel: ["cdkMenuTriggerFor", "menuPanel"] }, outputs: { opened: "cdkMenuOpened", closed: "cdkMenuClosed" }, host: { attributes: { "aria-haspopup": "menu" }, listeners: { "keydown": "_toggleOnKeydown($event)", "click": "toggle()" }, properties: { "attr.aria-expanded": "isMenuOpen()" }, classAttribute: "cdk-menu-trigger" }, exportAs: ["cdkMenuTriggerFor"], ngImport: i0 });
670
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: CdkMenuItemTrigger, decorators: [{
668
+ CdkMenuItemTrigger.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: CdkMenuItemTrigger, deps: [{ token: i0.ElementRef }, { token: i0.ViewContainerRef }, { token: i1.Overlay }, { token: i0.NgZone }, { token: CDK_MENU, optional: true }, { token: MENU_AIM, optional: true }, { token: i2.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
669
+ CdkMenuItemTrigger.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.1", type: CdkMenuItemTrigger, selector: "[cdkMenuTriggerFor]", inputs: { menuPanel: ["cdkMenuTriggerFor", "menuPanel"] }, outputs: { opened: "cdkMenuOpened", closed: "cdkMenuClosed" }, host: { attributes: { "aria-haspopup": "menu" }, listeners: { "keydown": "_toggleOnKeydown($event)", "click": "toggle()" }, properties: { "attr.aria-expanded": "isMenuOpen()" }, classAttribute: "cdk-menu-trigger" }, exportAs: ["cdkMenuTriggerFor"], ngImport: i0 });
670
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: CdkMenuItemTrigger, decorators: [{
671
671
  type: Directive,
672
672
  args: [{
673
673
  selector: '[cdkMenuTriggerFor]',
@@ -765,20 +765,12 @@ class CdkMenuItem {
765
765
  focus() {
766
766
  this._elementRef.nativeElement.focus();
767
767
  }
768
- // In Ivy the `host` metadata will be merged, whereas in ViewEngine it is overridden. In order
769
- // to avoid double event listeners, we need to use `HostListener`. Once Ivy is the default, we
770
- // can move this back into `host`.
771
- // tslint:disable:no-host-decorator-in-concrete
772
768
  /** Reset the _tabindex to -1. */
773
769
  _resetTabIndex() {
774
770
  if (!this._isStandaloneItem()) {
775
771
  this._tabindex = -1;
776
772
  }
777
773
  }
778
- // In Ivy the `host` metadata will be merged, whereas in ViewEngine it is overridden. In order
779
- // to avoid double event listeners, we need to use `HostListener`. Once Ivy is the default, we
780
- // can move this back into `host`.
781
- // tslint:disable:no-host-decorator-in-concrete
782
774
  /**
783
775
  * Set the tab index to 0 if not disabled and it's a focus event, or a mouse enter if this element
784
776
  * is not in a menu bar.
@@ -797,10 +789,6 @@ class CdkMenuItem {
797
789
  _isStandaloneItem() {
798
790
  return !this._parentMenu;
799
791
  }
800
- // In Ivy the `host` metadata will be merged, whereas in ViewEngine it is overridden. In order
801
- // to avoid double event listeners, we need to use `HostListener`. Once Ivy is the default, we
802
- // can move this back into `host`.
803
- // tslint:disable:no-host-decorator-in-concrete
804
792
  /**
805
793
  * If the menu item is not disabled and the element does not have a menu trigger attached, emit
806
794
  * on the cdkMenuItemTriggered emitter and close all open menus.
@@ -843,10 +831,6 @@ class CdkMenuItem {
843
831
  removeIcons(clone);
844
832
  return ((_a = clone.textContent) === null || _a === void 0 ? void 0 : _a.trim()) || '';
845
833
  }
846
- // In Ivy the `host` metadata will be merged, whereas in ViewEngine it is overridden. In order
847
- // to avoid double event listeners, we need to use `HostListener`. Once Ivy is the default, we
848
- // can move this back into `host`.
849
- // tslint:disable:no-host-decorator-in-concrete
850
834
  /**
851
835
  * Handles keyboard events for the menu item, specifically either triggering the user defined
852
836
  * callback or opening/closing the current menu based on whether the left or right arrow key was
@@ -918,9 +902,9 @@ class CdkMenuItem {
918
902
  this._destroyed.next();
919
903
  }
920
904
  }
921
- CdkMenuItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: CdkMenuItem, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: CDK_MENU, optional: true }, { token: MENU_AIM, optional: true }, { token: i2.Directionality, optional: true }, { token: CdkMenuItemTrigger, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive });
922
- CdkMenuItem.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-rc.3", type: CdkMenuItem, selector: "[cdkMenuItem]", inputs: { disabled: "disabled" }, outputs: { triggered: "cdkMenuItemTriggered" }, host: { attributes: { "type": "button", "role": "menuitem" }, listeners: { "blur": "_resetTabIndex()", "mouseout": "_resetTabIndex()", "focus": "_setTabIndex()", "mouseenter": "_setTabIndex($event)", "click": "trigger()", "keydown": "_onKeydown($event)" }, properties: { "tabindex": "_tabindex", "attr.aria-disabled": "disabled || null" }, classAttribute: "cdk-menu-item" }, exportAs: ["cdkMenuItem"], ngImport: i0 });
923
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: CdkMenuItem, decorators: [{
905
+ CdkMenuItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: CdkMenuItem, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: CDK_MENU, optional: true }, { token: MENU_AIM, optional: true }, { token: i2.Directionality, optional: true }, { token: CdkMenuItemTrigger, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive });
906
+ CdkMenuItem.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.1", type: CdkMenuItem, selector: "[cdkMenuItem]", inputs: { disabled: "disabled" }, outputs: { triggered: "cdkMenuItemTriggered" }, host: { attributes: { "type": "button", "role": "menuitem" }, listeners: { "blur": "_resetTabIndex()", "mouseout": "_resetTabIndex()", "focus": "_setTabIndex()", "mouseenter": "_setTabIndex($event)", "click": "trigger()", "keydown": "_onKeydown($event)" }, properties: { "tabindex": "_tabindex", "attr.aria-disabled": "disabled || null" }, classAttribute: "cdk-menu-item" }, exportAs: ["cdkMenuItem"], ngImport: i0 });
907
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: CdkMenuItem, decorators: [{
924
908
  type: Directive,
925
909
  args: [{
926
910
  selector: '[cdkMenuItem]',
@@ -931,6 +915,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ng
931
915
  'role': 'menuitem',
932
916
  'class': 'cdk-menu-item',
933
917
  '[attr.aria-disabled]': 'disabled || null',
918
+ '(blur)': '_resetTabIndex()',
919
+ '(mouseout)': '_resetTabIndex()',
920
+ '(focus)': '_setTabIndex()',
921
+ '(mouseenter)': '_setTabIndex($event)',
922
+ '(click)': 'trigger()',
923
+ '(keydown)': '_onKeydown($event)',
934
924
  },
935
925
  }]
936
926
  }], ctorParameters: function () {
@@ -956,43 +946,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ng
956
946
  }], triggered: [{
957
947
  type: Output,
958
948
  args: ['cdkMenuItemTriggered']
959
- }],
960
- /** Reset the _tabindex to -1. */
961
- _resetTabIndex: [{
962
- type: HostListener,
963
- args: ['blur']
964
- }, {
965
- type: HostListener,
966
- args: ['mouseout']
967
- }],
968
- /**
969
- * Set the tab index to 0 if not disabled and it's a focus event, or a mouse enter if this element
970
- * is not in a menu bar.
971
- */
972
- _setTabIndex: [{
973
- type: HostListener,
974
- args: ['focus']
975
- }, {
976
- type: HostListener,
977
- args: ['mouseenter', ['$event']]
978
- }],
979
- /**
980
- * If the menu item is not disabled and the element does not have a menu trigger attached, emit
981
- * on the cdkMenuItemTriggered emitter and close all open menus.
982
- */
983
- trigger: [{
984
- type: HostListener,
985
- args: ['click']
986
- }],
987
- /**
988
- * Handles keyboard events for the menu item, specifically either triggering the user defined
989
- * callback or opening/closing the current menu based on whether the left or right arrow key was
990
- * pressed.
991
- * @param event the keyboard event to handle
992
- */
993
- _onKeydown: [{
994
- type: HostListener,
995
- args: ['keydown', ['$event']]
996
949
  }] } });
997
950
 
998
951
  /**
@@ -1033,9 +986,9 @@ class CdkMenuItemSelectable extends CdkMenuItem {
1033
986
  }
1034
987
  }
1035
988
  }
1036
- CdkMenuItemSelectable.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: CdkMenuItemSelectable, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1037
- CdkMenuItemSelectable.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-rc.3", type: CdkMenuItemSelectable, inputs: { checked: "checked", name: "name", id: "id" }, outputs: { toggled: "cdkMenuItemToggled" }, usesInheritance: true, ngImport: i0 });
1038
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: CdkMenuItemSelectable, decorators: [{
989
+ CdkMenuItemSelectable.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: CdkMenuItemSelectable, deps: null, target: i0.ɵɵFactoryTarget.Directive });
990
+ CdkMenuItemSelectable.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.1", type: CdkMenuItemSelectable, inputs: { checked: "checked", name: "name", id: "id" }, outputs: { toggled: "cdkMenuItemToggled" }, usesInheritance: true, ngImport: i0 });
991
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: CdkMenuItemSelectable, decorators: [{
1039
992
  type: Directive
1040
993
  }], propDecorators: { toggled: [{
1041
994
  type: Output,
@@ -1091,9 +1044,9 @@ class CdkMenuGroup {
1091
1044
  this._selectableChanges.complete();
1092
1045
  }
1093
1046
  }
1094
- CdkMenuGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: CdkMenuGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1095
- CdkMenuGroup.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-rc.3", type: CdkMenuGroup, selector: "[cdkMenuGroup]", outputs: { change: "change" }, host: { attributes: { "role": "group" }, classAttribute: "cdk-menu-group" }, providers: [{ provide: UniqueSelectionDispatcher, useClass: UniqueSelectionDispatcher }], queries: [{ propertyName: "_selectableItems", predicate: CdkMenuItemSelectable, descendants: true }], exportAs: ["cdkMenuGroup"], ngImport: i0 });
1096
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: CdkMenuGroup, decorators: [{
1047
+ CdkMenuGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: CdkMenuGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1048
+ CdkMenuGroup.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.1", type: CdkMenuGroup, selector: "[cdkMenuGroup]", outputs: { change: "change" }, host: { attributes: { "role": "group" }, classAttribute: "cdk-menu-group" }, providers: [{ provide: UniqueSelectionDispatcher, useClass: UniqueSelectionDispatcher }], queries: [{ propertyName: "_selectableItems", predicate: CdkMenuItemSelectable, descendants: true }], exportAs: ["cdkMenuGroup"], ngImport: i0 });
1049
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: CdkMenuGroup, decorators: [{
1097
1050
  type: Directive,
1098
1051
  args: [{
1099
1052
  selector: '[cdkMenuGroup]',
@@ -1187,9 +1140,9 @@ class CdkMenuPanel {
1187
1140
  (_a = this._menuStack) === null || _a === void 0 ? void 0 : _a.push(child);
1188
1141
  }
1189
1142
  }
1190
- CdkMenuPanel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: CdkMenuPanel, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
1191
- CdkMenuPanel.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-rc.3", type: CdkMenuPanel, selector: "ng-template[cdkMenuPanel]", exportAs: ["cdkMenuPanel"], ngImport: i0 });
1192
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: CdkMenuPanel, decorators: [{
1143
+ CdkMenuPanel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: CdkMenuPanel, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
1144
+ CdkMenuPanel.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.1", type: CdkMenuPanel, selector: "ng-template[cdkMenuPanel]", exportAs: ["cdkMenuPanel"], ngImport: i0 });
1145
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: CdkMenuPanel, decorators: [{
1193
1146
  type: Directive,
1194
1147
  args: [{ selector: 'ng-template[cdkMenuPanel]', exportAs: 'cdkMenuPanel' }]
1195
1148
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
@@ -1245,10 +1198,6 @@ class CdkMenu extends CdkMenuGroup {
1245
1198
  this._subscribeToMouseManager();
1246
1199
  (_a = this._menuAim) === null || _a === void 0 ? void 0 : _a.initialize(this, this._pointerTracker);
1247
1200
  }
1248
- // In Ivy the `host` metadata will be merged, whereas in ViewEngine it is overridden. In order
1249
- // to avoid double event listeners, we need to use `HostListener`. Once Ivy is the default, we
1250
- // can move this back into `host`.
1251
- // tslint:disable:no-host-decorator-in-concrete
1252
1201
  /** Place focus on the first MenuItem in the menu and set the focus origin. */
1253
1202
  focusFirstItem(focusOrigin = 'program') {
1254
1203
  this._keyManager.setFocusOrigin(focusOrigin);
@@ -1259,10 +1208,6 @@ class CdkMenu extends CdkMenuGroup {
1259
1208
  this._keyManager.setFocusOrigin(focusOrigin);
1260
1209
  this._keyManager.setLastItemActive();
1261
1210
  }
1262
- // In Ivy the `host` metadata will be merged, whereas in ViewEngine it is overridden. In order
1263
- // to avoid double event listeners, we need to use `HostListener`. Once Ivy is the default, we
1264
- // can move this back into `host`.
1265
- // tslint:disable:no-host-decorator-in-concrete
1266
1211
  /** Handle keyboard events for the Menu. */
1267
1212
  _handleKeyEvent(event) {
1268
1213
  const keyManager = this._keyManager;
@@ -1440,12 +1385,12 @@ class CdkMenu extends CdkMenuGroup {
1440
1385
  this.closed.complete();
1441
1386
  }
1442
1387
  }
1443
- CdkMenu.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: CdkMenu, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }, { token: MENU_AIM, optional: true, self: true }, { token: i2.Directionality, optional: true }, { token: CdkMenuPanel, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
1444
- CdkMenu.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-rc.3", type: CdkMenu, selector: "[cdkMenu]", inputs: { orientation: ["cdkMenuOrientation", "orientation"], _explicitPanel: ["cdkMenuPanel", "_explicitPanel"] }, outputs: { closed: "closed" }, host: { attributes: { "role": "menu" }, listeners: { "focus": "focusFirstItem()", "keydown": "_handleKeyEvent($event)" }, properties: { "tabindex": "_isInline() ? 0 : null", "class.cdk-menu-inline": "_isInline()", "attr.aria-orientation": "orientation" }, classAttribute: "cdk-menu" }, providers: [
1388
+ CdkMenu.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: CdkMenu, deps: [{ token: i0.NgZone }, { token: i0.ElementRef }, { token: MENU_AIM, optional: true, self: true }, { token: i2.Directionality, optional: true }, { token: CdkMenuPanel, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
1389
+ CdkMenu.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.1", type: CdkMenu, selector: "[cdkMenu]", inputs: { orientation: ["cdkMenuOrientation", "orientation"], _explicitPanel: ["cdkMenuPanel", "_explicitPanel"] }, outputs: { closed: "closed" }, host: { attributes: { "role": "menu" }, listeners: { "focus": "focusFirstItem()", "keydown": "_handleKeyEvent($event)" }, properties: { "tabindex": "_isInline() ? 0 : null", "class.cdk-menu-inline": "_isInline()", "attr.aria-orientation": "orientation" }, classAttribute: "cdk-menu" }, providers: [
1445
1390
  { provide: CdkMenuGroup, useExisting: CdkMenu },
1446
1391
  { provide: CDK_MENU, useExisting: CdkMenu },
1447
1392
  ], queries: [{ propertyName: "_nestedGroups", predicate: CdkMenuGroup, descendants: true }, { propertyName: "_allItems", predicate: CdkMenuItem, descendants: true }], exportAs: ["cdkMenu"], usesInheritance: true, ngImport: i0 });
1448
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: CdkMenu, decorators: [{
1393
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: CdkMenu, decorators: [{
1449
1394
  type: Directive,
1450
1395
  args: [{
1451
1396
  selector: '[cdkMenu]',
@@ -1456,6 +1401,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ng
1456
1401
  'class': 'cdk-menu',
1457
1402
  '[class.cdk-menu-inline]': '_isInline()',
1458
1403
  '[attr.aria-orientation]': 'orientation',
1404
+ '(focus)': 'focusFirstItem()',
1405
+ '(keydown)': '_handleKeyEvent($event)',
1459
1406
  },
1460
1407
  providers: [
1461
1408
  { provide: CdkMenuGroup, useExisting: CdkMenu },
@@ -1489,16 +1436,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ng
1489
1436
  }], _explicitPanel: [{
1490
1437
  type: Input,
1491
1438
  args: ['cdkMenuPanel']
1492
- }],
1493
- /** Place focus on the first MenuItem in the menu and set the focus origin. */
1494
- focusFirstItem: [{
1495
- type: HostListener,
1496
- args: ['focus']
1497
- }],
1498
- /** Handle keyboard events for the Menu. */
1499
- _handleKeyEvent: [{
1500
- type: HostListener,
1501
- args: ['keydown', ['$event']]
1502
1439
  }] } });
1503
1440
 
1504
1441
  /**
@@ -1539,10 +1476,6 @@ class CdkMenuBar extends CdkMenuGroup {
1539
1476
  this._subscribeToMouseManager();
1540
1477
  (_a = this._menuAim) === null || _a === void 0 ? void 0 : _a.initialize(this, this._pointerTracker);
1541
1478
  }
1542
- // In Ivy the `host` metadata will be merged, whereas in ViewEngine it is overridden. In order
1543
- // to avoid double event listeners, we need to use `HostListener`. Once Ivy is the default, we
1544
- // can move this back into `host`.
1545
- // tslint:disable:no-host-decorator-in-concrete
1546
1479
  /** Place focus on the first MenuItem in the menu and set the focus origin. */
1547
1480
  focusFirstItem(focusOrigin = 'program') {
1548
1481
  this._keyManager.setFocusOrigin(focusOrigin);
@@ -1553,10 +1486,6 @@ class CdkMenuBar extends CdkMenuGroup {
1553
1486
  this._keyManager.setFocusOrigin(focusOrigin);
1554
1487
  this._keyManager.setLastItemActive();
1555
1488
  }
1556
- // In Ivy the `host` metadata will be merged, whereas in ViewEngine it is overridden. In order
1557
- // to avoid double event listeners, we need to use `HostListener`. Once Ivy is the default, we
1558
- // can move this back into `host`.
1559
- // tslint:disable:no-host-decorator-in-concrete
1560
1489
  /**
1561
1490
  * Handle keyboard events, specifically changing the focused element and/or toggling the active
1562
1491
  * items menu.
@@ -1710,13 +1639,13 @@ class CdkMenuBar extends CdkMenuGroup {
1710
1639
  (_a = this._pointerTracker) === null || _a === void 0 ? void 0 : _a.destroy();
1711
1640
  }
1712
1641
  }
1713
- CdkMenuBar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: CdkMenuBar, deps: [{ token: MenuStack }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: MENU_AIM, optional: true, self: true }, { token: i2.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
1714
- CdkMenuBar.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-rc.3", type: CdkMenuBar, selector: "[cdkMenuBar]", inputs: { orientation: ["cdkMenuBarOrientation", "orientation"] }, host: { attributes: { "role": "menubar", "tabindex": "0" }, listeners: { "focus": "focusFirstItem()", "keydown": "_handleKeyEvent($event)" }, properties: { "attr.aria-orientation": "orientation" }, classAttribute: "cdk-menu-bar" }, providers: [
1642
+ CdkMenuBar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: CdkMenuBar, deps: [{ token: MenuStack }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: MENU_AIM, optional: true, self: true }, { token: i2.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
1643
+ CdkMenuBar.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.1", type: CdkMenuBar, selector: "[cdkMenuBar]", inputs: { orientation: ["cdkMenuBarOrientation", "orientation"] }, host: { attributes: { "role": "menubar", "tabindex": "0" }, listeners: { "focus": "focusFirstItem()", "keydown": "_handleKeyEvent($event)" }, properties: { "attr.aria-orientation": "orientation" }, classAttribute: "cdk-menu-bar" }, providers: [
1715
1644
  { provide: CdkMenuGroup, useExisting: CdkMenuBar },
1716
1645
  { provide: CDK_MENU, useExisting: CdkMenuBar },
1717
1646
  { provide: MenuStack, useClass: MenuStack },
1718
1647
  ], queries: [{ propertyName: "_allItems", predicate: CdkMenuItem, descendants: true }], exportAs: ["cdkMenuBar"], usesInheritance: true, ngImport: i0 });
1719
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: CdkMenuBar, decorators: [{
1648
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: CdkMenuBar, decorators: [{
1720
1649
  type: Directive,
1721
1650
  args: [{
1722
1651
  selector: '[cdkMenuBar]',
@@ -1726,6 +1655,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ng
1726
1655
  'class': 'cdk-menu-bar',
1727
1656
  'tabindex': '0',
1728
1657
  '[attr.aria-orientation]': 'orientation',
1658
+ '(focus)': 'focusFirstItem()',
1659
+ '(keydown)': '_handleKeyEvent($event)',
1729
1660
  },
1730
1661
  providers: [
1731
1662
  { provide: CdkMenuGroup, useExisting: CdkMenuBar },
@@ -1750,20 +1681,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ng
1750
1681
  }], _allItems: [{
1751
1682
  type: ContentChildren,
1752
1683
  args: [CdkMenuItem, { descendants: true }]
1753
- }],
1754
- /** Place focus on the first MenuItem in the menu and set the focus origin. */
1755
- focusFirstItem: [{
1756
- type: HostListener,
1757
- args: ['focus']
1758
- }],
1759
- /**
1760
- * Handle keyboard events, specifically changing the focused element and/or toggling the active
1761
- * items menu.
1762
- * @param event the KeyboardEvent to handle.
1763
- */
1764
- _handleKeyEvent: [{
1765
- type: HostListener,
1766
- args: ['keydown', ['$event']]
1767
1684
  }] } });
1768
1685
 
1769
1686
  /**
@@ -1797,12 +1714,12 @@ class CdkMenuItemRadio extends CdkMenuItemSelectable {
1797
1714
  this._removeDispatcherListener();
1798
1715
  }
1799
1716
  }
1800
- CdkMenuItemRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: CdkMenuItemRadio, deps: [{ token: i1$1.UniqueSelectionDispatcher }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: CDK_MENU, optional: true }, { token: MENU_AIM, optional: true }, { token: i2.Directionality, optional: true }, { token: CdkMenuItemTrigger, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive });
1801
- CdkMenuItemRadio.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-rc.3", type: CdkMenuItemRadio, selector: "[cdkMenuItemRadio]", host: { attributes: { "type": "button", "role": "menuitemradio" }, properties: { "tabindex": "_tabindex", "attr.aria-checked": "checked || null", "attr.aria-disabled": "disabled || null" } }, providers: [
1717
+ CdkMenuItemRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: CdkMenuItemRadio, deps: [{ token: i1$1.UniqueSelectionDispatcher }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: CDK_MENU, optional: true }, { token: MENU_AIM, optional: true }, { token: i2.Directionality, optional: true }, { token: CdkMenuItemTrigger, optional: true, self: true }], target: i0.ɵɵFactoryTarget.Directive });
1718
+ CdkMenuItemRadio.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.1", type: CdkMenuItemRadio, selector: "[cdkMenuItemRadio]", host: { attributes: { "type": "button", "role": "menuitemradio" }, properties: { "tabindex": "_tabindex", "attr.aria-checked": "checked || null", "attr.aria-disabled": "disabled || null" } }, providers: [
1802
1719
  { provide: CdkMenuItemSelectable, useExisting: CdkMenuItemRadio },
1803
1720
  { provide: CdkMenuItem, useExisting: CdkMenuItemSelectable },
1804
1721
  ], exportAs: ["cdkMenuItemRadio"], usesInheritance: true, ngImport: i0 });
1805
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: CdkMenuItemRadio, decorators: [{
1722
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: CdkMenuItemRadio, decorators: [{
1806
1723
  type: Directive,
1807
1724
  args: [{
1808
1725
  selector: '[cdkMenuItemRadio]',
@@ -1859,12 +1776,12 @@ class CdkMenuItemCheckbox extends CdkMenuItemSelectable {
1859
1776
  }
1860
1777
  }
1861
1778
  }
1862
- CdkMenuItemCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: CdkMenuItemCheckbox, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1863
- CdkMenuItemCheckbox.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-rc.3", type: CdkMenuItemCheckbox, selector: "[cdkMenuItemCheckbox]", host: { attributes: { "type": "button", "role": "menuitemcheckbox" }, properties: { "tabindex": "_tabindex", "attr.aria-checked": "checked || null", "attr.aria-disabled": "disabled || null" } }, providers: [
1779
+ CdkMenuItemCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: CdkMenuItemCheckbox, deps: null, target: i0.ɵɵFactoryTarget.Directive });
1780
+ CdkMenuItemCheckbox.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.1", type: CdkMenuItemCheckbox, selector: "[cdkMenuItemCheckbox]", host: { attributes: { "type": "button", "role": "menuitemcheckbox" }, properties: { "tabindex": "_tabindex", "attr.aria-checked": "checked || null", "attr.aria-disabled": "disabled || null" } }, providers: [
1864
1781
  { provide: CdkMenuItemSelectable, useExisting: CdkMenuItemCheckbox },
1865
1782
  { provide: CdkMenuItem, useExisting: CdkMenuItemSelectable },
1866
1783
  ], exportAs: ["cdkMenuItemCheckbox"], usesInheritance: true, ngImport: i0 });
1867
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: CdkMenuItemCheckbox, decorators: [{
1784
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: CdkMenuItemCheckbox, decorators: [{
1868
1785
  type: Directive,
1869
1786
  args: [{
1870
1787
  selector: '[cdkMenuItemCheckbox]',
@@ -1904,9 +1821,9 @@ class ContextMenuTracker {
1904
1821
  }
1905
1822
  }
1906
1823
  }
1907
- ContextMenuTracker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: ContextMenuTracker, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1908
- ContextMenuTracker.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: ContextMenuTracker, providedIn: 'root' });
1909
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: ContextMenuTracker, decorators: [{
1824
+ ContextMenuTracker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ContextMenuTracker, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1825
+ ContextMenuTracker.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ContextMenuTracker, providedIn: 'root' });
1826
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: ContextMenuTracker, decorators: [{
1910
1827
  type: Injectable,
1911
1828
  args: [{ providedIn: 'root' }]
1912
1829
  }] });
@@ -2121,13 +2038,13 @@ class CdkContextMenuTrigger {
2121
2038
  }
2122
2039
  }
2123
2040
  }
2124
- CdkContextMenuTrigger.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: CdkContextMenuTrigger, deps: [{ token: i0.ViewContainerRef }, { token: i1.Overlay }, { token: ContextMenuTracker }, { token: CDK_CONTEXT_MENU_DEFAULT_OPTIONS }, { token: i2.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
2125
- CdkContextMenuTrigger.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-rc.3", type: CdkContextMenuTrigger, selector: "[cdkContextMenuTriggerFor]", inputs: { menuPanel: ["cdkContextMenuTriggerFor", "menuPanel"], disabled: ["cdkContextMenuDisabled", "disabled"] }, outputs: { opened: "cdkContextMenuOpened", closed: "cdkContextMenuClosed" }, host: { listeners: { "contextmenu": "_openOnContextMenu($event)" } }, providers: [
2041
+ CdkContextMenuTrigger.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: CdkContextMenuTrigger, deps: [{ token: i0.ViewContainerRef }, { token: i1.Overlay }, { token: ContextMenuTracker }, { token: CDK_CONTEXT_MENU_DEFAULT_OPTIONS }, { token: i2.Directionality, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
2042
+ CdkContextMenuTrigger.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.1", type: CdkContextMenuTrigger, selector: "[cdkContextMenuTriggerFor]", inputs: { menuPanel: ["cdkContextMenuTriggerFor", "menuPanel"], disabled: ["cdkContextMenuDisabled", "disabled"] }, outputs: { opened: "cdkContextMenuOpened", closed: "cdkContextMenuClosed" }, host: { listeners: { "contextmenu": "_openOnContextMenu($event)" } }, providers: [
2126
2043
  // In cases where the first menu item in the context menu is a trigger the submenu opens on a
2127
2044
  // hover event. Offsetting the opened context menu by 2px prevents this from occurring.
2128
2045
  { provide: CDK_CONTEXT_MENU_DEFAULT_OPTIONS, useValue: { offsetX: 2, offsetY: 2 } },
2129
2046
  ], exportAs: ["cdkContextMenuTriggerFor"], ngImport: i0 });
2130
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: CdkContextMenuTrigger, decorators: [{
2047
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: CdkContextMenuTrigger, decorators: [{
2131
2048
  type: Directive,
2132
2049
  args: [{
2133
2050
  selector: '[cdkContextMenuTriggerFor]',
@@ -2183,8 +2100,8 @@ const EXPORTED_DECLARATIONS = [
2183
2100
  ];
2184
2101
  class CdkMenuModule {
2185
2102
  }
2186
- CdkMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: CdkMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2187
- CdkMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: CdkMenuModule, declarations: [CdkMenuBar,
2103
+ CdkMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: CdkMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2104
+ CdkMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: CdkMenuModule, declarations: [CdkMenuBar,
2188
2105
  CdkMenu,
2189
2106
  CdkMenuPanel,
2190
2107
  CdkMenuItem,
@@ -2203,8 +2120,8 @@ CdkMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
2203
2120
  CdkMenuGroup,
2204
2121
  CdkContextMenuTrigger,
2205
2122
  CdkTargetMenuAim] });
2206
- CdkMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: CdkMenuModule, imports: [[OverlayModule]] });
2207
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: CdkMenuModule, decorators: [{
2123
+ CdkMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: CdkMenuModule, imports: [[OverlayModule]] });
2124
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.1", ngImport: i0, type: CdkMenuModule, decorators: [{
2208
2125
  type: NgModule,
2209
2126
  args: [{
2210
2127
  imports: [OverlayModule],