@angular/cdk-experimental 13.0.0-next.8 → 13.0.0-rc.3
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.
- package/column-resize/column-resize_public_index.d.ts +4 -0
- package/column-resize/index.d.ts +5 -1
- package/column-resize/package.json +2 -2
- package/combobox/combobox_public_index.d.ts +4 -0
- package/combobox/index.d.ts +5 -1
- package/combobox/package.json +2 -2
- package/dialog/dialog_public_index.d.ts +4 -0
- package/dialog/index.d.ts +5 -1
- package/dialog/package.json +2 -2
- package/esm2020/column-resize/column-resize-directives/column-resize-flex.mjs +5 -11
- package/esm2020/column-resize/column-resize-directives/column-resize.mjs +5 -11
- package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize-flex.mjs +4 -4
- package/esm2020/column-resize/column-resize-directives/default-enabled-column-resize.mjs +4 -4
- package/esm2020/column-resize/column-resize-module.mjs +9 -9
- package/esm2020/column-resize/column-resize-notifier.mjs +13 -8
- package/esm2020/column-resize/column-resize.mjs +17 -9
- package/esm2020/column-resize/column-resize_public_index.mjs +5 -0
- package/esm2020/column-resize/column-size-store.mjs +4 -4
- package/esm2020/column-resize/event-dispatcher.mjs +8 -8
- package/esm2020/column-resize/index.mjs +6 -2
- package/esm2020/column-resize/overlay-handle.mjs +20 -16
- package/esm2020/column-resize/resizable.mjs +25 -14
- package/esm2020/column-resize/resize-ref.mjs +1 -1
- package/esm2020/column-resize/resize-strategy.mjs +13 -12
- package/esm2020/combobox/combobox-module.mjs +5 -5
- package/esm2020/combobox/combobox-panel.mjs +5 -5
- package/esm2020/combobox/combobox-popup.mjs +7 -7
- package/esm2020/combobox/combobox.mjs +27 -15
- package/esm2020/combobox/combobox_public_index.mjs +5 -0
- package/esm2020/combobox/index.mjs +6 -2
- package/esm2020/dialog/dialog-container.mjs +26 -15
- package/esm2020/dialog/dialog-injectors.mjs +2 -2
- package/esm2020/dialog/dialog-module.mjs +9 -21
- package/esm2020/dialog/dialog-ref.mjs +3 -2
- package/esm2020/dialog/dialog.mjs +19 -14
- package/esm2020/dialog/dialog_public_index.mjs +5 -0
- package/esm2020/dialog/index.mjs +6 -2
- package/esm2020/listbox/index.mjs +6 -2
- package/esm2020/listbox/listbox-module.mjs +5 -5
- package/esm2020/listbox/listbox.mjs +24 -25
- package/esm2020/listbox/listbox_public_index.mjs +5 -0
- package/esm2020/menu/context-menu.mjs +9 -11
- package/esm2020/menu/index.mjs +6 -2
- package/esm2020/menu/menu-aim.mjs +7 -7
- package/esm2020/menu/menu-bar.mjs +4 -4
- package/esm2020/menu/menu-errors.mjs +1 -1
- package/esm2020/menu/menu-group.mjs +4 -4
- package/esm2020/menu/menu-item-checkbox.mjs +4 -4
- package/esm2020/menu/menu-item-radio.mjs +4 -4
- package/esm2020/menu/menu-item-selectable.mjs +4 -4
- package/esm2020/menu/menu-item-trigger.mjs +4 -4
- package/esm2020/menu/menu-item.mjs +4 -4
- package/esm2020/menu/menu-module.mjs +5 -5
- package/esm2020/menu/menu-panel.mjs +4 -4
- package/esm2020/menu/menu.mjs +4 -4
- package/esm2020/menu/menu_public_index.mjs +5 -0
- package/esm2020/menu/pointer-focus-tracker.mjs +1 -1
- package/esm2020/popover-edit/edit-event-dispatcher.mjs +11 -11
- package/esm2020/popover-edit/edit-ref.mjs +4 -4
- package/esm2020/popover-edit/edit-services.mjs +4 -4
- package/esm2020/popover-edit/focus-dispatcher.mjs +5 -5
- package/esm2020/popover-edit/focus-escape-notifier.mjs +4 -4
- package/esm2020/popover-edit/index.mjs +6 -2
- package/esm2020/popover-edit/lens-directives.mjs +11 -11
- package/esm2020/popover-edit/polyfill.mjs +8 -6
- package/esm2020/popover-edit/popover-edit-module.mjs +17 -17
- package/esm2020/popover-edit/popover-edit-position-strategy-factory.mjs +13 -10
- package/esm2020/popover-edit/popover-edit_public_index.mjs +5 -0
- package/esm2020/popover-edit/table-directives.mjs +50 -33
- package/esm2020/scrolling/auto-size-virtual-scroll.mjs +32 -22
- package/esm2020/scrolling/index.mjs +6 -2
- package/esm2020/scrolling/scrolling-module.mjs +5 -5
- package/esm2020/scrolling/scrolling_public_index.mjs +5 -0
- package/esm2020/selection/index.mjs +6 -2
- package/esm2020/selection/row-selection.mjs +10 -6
- package/esm2020/selection/select-all.mjs +5 -5
- package/esm2020/selection/selection-column.mjs +5 -5
- package/esm2020/selection/selection-module.mjs +8 -25
- package/esm2020/selection/selection-set.mjs +1 -1
- package/esm2020/selection/selection-toggle.mjs +11 -7
- package/esm2020/selection/selection.mjs +13 -12
- package/esm2020/selection/selection_public_index.mjs +5 -0
- package/esm2020/table-scroll-container/index.mjs +6 -2
- package/esm2020/table-scroll-container/table-scroll-container-module.mjs +5 -5
- package/esm2020/table-scroll-container/table-scroll-container.mjs +5 -9
- package/esm2020/table-scroll-container/table-scroll-container_public_index.mjs +5 -0
- package/esm2020/version.mjs +1 -1
- package/fesm2015/cdk-experimental.mjs +1 -1
- package/fesm2015/cdk-experimental.mjs.map +1 -1
- package/fesm2015/column-resize.mjs +122 -97
- package/fesm2015/column-resize.mjs.map +1 -1
- package/fesm2015/combobox.mjs +45 -25
- package/fesm2015/combobox.mjs.map +1 -1
- package/fesm2015/dialog.mjs +59 -46
- package/fesm2015/dialog.mjs.map +1 -1
- package/fesm2015/listbox.mjs +34 -27
- package/fesm2015/listbox.mjs.map +1 -1
- package/fesm2015/menu.mjs +53 -47
- package/fesm2015/menu.mjs.map +1 -1
- package/fesm2015/popover-edit.mjs +122 -92
- package/fesm2015/popover-edit.mjs.map +1 -1
- package/fesm2015/scrolling.mjs +42 -24
- package/fesm2015/scrolling.mjs.map +1 -1
- package/fesm2015/selection.mjs +53 -53
- package/fesm2015/selection.mjs.map +1 -1
- package/fesm2015/table-scroll-container.mjs +16 -12
- package/fesm2015/table-scroll-container.mjs.map +1 -1
- package/fesm2020/cdk-experimental.mjs +1 -1
- package/fesm2020/cdk-experimental.mjs.map +1 -1
- package/fesm2020/column-resize.mjs +123 -98
- package/fesm2020/column-resize.mjs.map +1 -1
- package/fesm2020/combobox.mjs +45 -25
- package/fesm2020/combobox.mjs.map +1 -1
- package/fesm2020/dialog.mjs +59 -46
- package/fesm2020/dialog.mjs.map +1 -1
- package/fesm2020/listbox.mjs +34 -27
- package/fesm2020/listbox.mjs.map +1 -1
- package/fesm2020/menu.mjs +53 -47
- package/fesm2020/menu.mjs.map +1 -1
- package/fesm2020/popover-edit.mjs +122 -92
- package/fesm2020/popover-edit.mjs.map +1 -1
- package/fesm2020/scrolling.mjs +42 -24
- package/fesm2020/scrolling.mjs.map +1 -1
- package/fesm2020/selection.mjs +53 -53
- package/fesm2020/selection.mjs.map +1 -1
- package/fesm2020/table-scroll-container.mjs +16 -12
- package/fesm2020/table-scroll-container.mjs.map +1 -1
- package/listbox/index.d.ts +5 -1
- package/listbox/listbox_public_index.d.ts +4 -0
- package/listbox/package.json +2 -2
- package/menu/index.d.ts +5 -1
- package/menu/menu_public_index.d.ts +4 -0
- package/menu/package.json +2 -2
- package/package.json +20 -20
- package/popover-edit/index.d.ts +5 -1
- package/popover-edit/package.json +2 -2
- package/popover-edit/popover-edit_public_index.d.ts +4 -0
- package/scrolling/index.d.ts +5 -1
- package/scrolling/package.json +2 -2
- package/scrolling/scrolling_public_index.d.ts +4 -0
- package/selection/index.d.ts +5 -1
- package/selection/package.json +2 -2
- package/selection/selection_public_index.d.ts +4 -0
- package/table-scroll-container/index.d.ts +5 -1
- package/table-scroll-container/package.json +2 -2
- package/table-scroll-container/table-scroll-container_public_index.d.ts +4 -0
package/fesm2015/menu.mjs
CHANGED
|
@@ -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-
|
|
227
|
-
TargetMenuAim.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-
|
|
228
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-
|
|
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: [{
|
|
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-next.15",
|
|
|
234
234
|
*/
|
|
235
235
|
class CdkTargetMenuAim {
|
|
236
236
|
}
|
|
237
|
-
CdkTargetMenuAim.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-
|
|
238
|
-
CdkTargetMenuAim.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-
|
|
239
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-
|
|
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: [{
|
|
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-
|
|
669
|
-
CdkMenuItemTrigger.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-
|
|
670
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-
|
|
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: [{
|
|
671
671
|
type: Directive,
|
|
672
672
|
args: [{
|
|
673
673
|
selector: '[cdkMenuTriggerFor]',
|
|
@@ -918,9 +918,9 @@ class CdkMenuItem {
|
|
|
918
918
|
this._destroyed.next();
|
|
919
919
|
}
|
|
920
920
|
}
|
|
921
|
-
CdkMenuItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-
|
|
922
|
-
CdkMenuItem.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-
|
|
923
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-
|
|
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: [{
|
|
924
924
|
type: Directive,
|
|
925
925
|
args: [{
|
|
926
926
|
selector: '[cdkMenuItem]',
|
|
@@ -1033,9 +1033,9 @@ class CdkMenuItemSelectable extends CdkMenuItem {
|
|
|
1033
1033
|
}
|
|
1034
1034
|
}
|
|
1035
1035
|
}
|
|
1036
|
-
CdkMenuItemSelectable.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-
|
|
1037
|
-
CdkMenuItemSelectable.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-
|
|
1038
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-
|
|
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: [{
|
|
1039
1039
|
type: Directive
|
|
1040
1040
|
}], propDecorators: { toggled: [{
|
|
1041
1041
|
type: Output,
|
|
@@ -1091,9 +1091,9 @@ class CdkMenuGroup {
|
|
|
1091
1091
|
this._selectableChanges.complete();
|
|
1092
1092
|
}
|
|
1093
1093
|
}
|
|
1094
|
-
CdkMenuGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-
|
|
1095
|
-
CdkMenuGroup.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-
|
|
1096
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-
|
|
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: [{
|
|
1097
1097
|
type: Directive,
|
|
1098
1098
|
args: [{
|
|
1099
1099
|
selector: '[cdkMenuGroup]',
|
|
@@ -1187,9 +1187,9 @@ class CdkMenuPanel {
|
|
|
1187
1187
|
(_a = this._menuStack) === null || _a === void 0 ? void 0 : _a.push(child);
|
|
1188
1188
|
}
|
|
1189
1189
|
}
|
|
1190
|
-
CdkMenuPanel.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-
|
|
1191
|
-
CdkMenuPanel.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-
|
|
1192
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-
|
|
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: [{
|
|
1193
1193
|
type: Directive,
|
|
1194
1194
|
args: [{ selector: 'ng-template[cdkMenuPanel]', exportAs: 'cdkMenuPanel' }]
|
|
1195
1195
|
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
@@ -1440,12 +1440,12 @@ class CdkMenu extends CdkMenuGroup {
|
|
|
1440
1440
|
this.closed.complete();
|
|
1441
1441
|
}
|
|
1442
1442
|
}
|
|
1443
|
-
CdkMenu.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-
|
|
1444
|
-
CdkMenu.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-
|
|
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: [
|
|
1445
1445
|
{ provide: CdkMenuGroup, useExisting: CdkMenu },
|
|
1446
1446
|
{ provide: CDK_MENU, useExisting: CdkMenu },
|
|
1447
1447
|
], 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-
|
|
1448
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: CdkMenu, decorators: [{
|
|
1449
1449
|
type: Directive,
|
|
1450
1450
|
args: [{
|
|
1451
1451
|
selector: '[cdkMenu]',
|
|
@@ -1710,13 +1710,13 @@ class CdkMenuBar extends CdkMenuGroup {
|
|
|
1710
1710
|
(_a = this._pointerTracker) === null || _a === void 0 ? void 0 : _a.destroy();
|
|
1711
1711
|
}
|
|
1712
1712
|
}
|
|
1713
|
-
CdkMenuBar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-
|
|
1714
|
-
CdkMenuBar.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-
|
|
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: [
|
|
1715
1715
|
{ provide: CdkMenuGroup, useExisting: CdkMenuBar },
|
|
1716
1716
|
{ provide: CDK_MENU, useExisting: CdkMenuBar },
|
|
1717
1717
|
{ provide: MenuStack, useClass: MenuStack },
|
|
1718
1718
|
], queries: [{ propertyName: "_allItems", predicate: CdkMenuItem, descendants: true }], exportAs: ["cdkMenuBar"], usesInheritance: true, ngImport: i0 });
|
|
1719
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-
|
|
1719
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: CdkMenuBar, decorators: [{
|
|
1720
1720
|
type: Directive,
|
|
1721
1721
|
args: [{
|
|
1722
1722
|
selector: '[cdkMenuBar]',
|
|
@@ -1797,12 +1797,12 @@ class CdkMenuItemRadio extends CdkMenuItemSelectable {
|
|
|
1797
1797
|
this._removeDispatcherListener();
|
|
1798
1798
|
}
|
|
1799
1799
|
}
|
|
1800
|
-
CdkMenuItemRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-
|
|
1801
|
-
CdkMenuItemRadio.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-
|
|
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: [
|
|
1802
1802
|
{ provide: CdkMenuItemSelectable, useExisting: CdkMenuItemRadio },
|
|
1803
1803
|
{ provide: CdkMenuItem, useExisting: CdkMenuItemSelectable },
|
|
1804
1804
|
], exportAs: ["cdkMenuItemRadio"], usesInheritance: true, ngImport: i0 });
|
|
1805
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-
|
|
1805
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: CdkMenuItemRadio, decorators: [{
|
|
1806
1806
|
type: Directive,
|
|
1807
1807
|
args: [{
|
|
1808
1808
|
selector: '[cdkMenuItemRadio]',
|
|
@@ -1859,12 +1859,12 @@ class CdkMenuItemCheckbox extends CdkMenuItemSelectable {
|
|
|
1859
1859
|
}
|
|
1860
1860
|
}
|
|
1861
1861
|
}
|
|
1862
|
-
CdkMenuItemCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-
|
|
1863
|
-
CdkMenuItemCheckbox.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-
|
|
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: [
|
|
1864
1864
|
{ provide: CdkMenuItemSelectable, useExisting: CdkMenuItemCheckbox },
|
|
1865
1865
|
{ provide: CdkMenuItem, useExisting: CdkMenuItemSelectable },
|
|
1866
1866
|
], exportAs: ["cdkMenuItemCheckbox"], usesInheritance: true, ngImport: i0 });
|
|
1867
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-
|
|
1867
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: CdkMenuItemCheckbox, decorators: [{
|
|
1868
1868
|
type: Directive,
|
|
1869
1869
|
args: [{
|
|
1870
1870
|
selector: '[cdkMenuItemCheckbox]',
|
|
@@ -1904,9 +1904,9 @@ class ContextMenuTracker {
|
|
|
1904
1904
|
}
|
|
1905
1905
|
}
|
|
1906
1906
|
}
|
|
1907
|
-
ContextMenuTracker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-
|
|
1908
|
-
ContextMenuTracker.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.0.0-
|
|
1909
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-
|
|
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: [{
|
|
1910
1910
|
type: Injectable,
|
|
1911
1911
|
args: [{ providedIn: 'root' }]
|
|
1912
1912
|
}] });
|
|
@@ -1971,15 +1971,13 @@ class CdkContextMenuTrigger {
|
|
|
1971
1971
|
// since we're moving this menu we need to close any submenus first otherwise they end up
|
|
1972
1972
|
// disconnected from this one.
|
|
1973
1973
|
this._menuStack.closeSubMenuOf(this._menuPanel._menu);
|
|
1974
|
-
this._overlayRef.getConfig()
|
|
1975
|
-
.positionStrategy.setOrigin(coordinates);
|
|
1974
|
+
this._overlayRef.getConfig().positionStrategy.setOrigin(coordinates);
|
|
1976
1975
|
this._overlayRef.updatePosition();
|
|
1977
1976
|
}
|
|
1978
1977
|
else {
|
|
1979
1978
|
this.opened.next();
|
|
1980
1979
|
if (this._overlayRef) {
|
|
1981
|
-
this._overlayRef.getConfig()
|
|
1982
|
-
.positionStrategy.setOrigin(coordinates);
|
|
1980
|
+
this._overlayRef.getConfig().positionStrategy.setOrigin(coordinates);
|
|
1983
1981
|
this._overlayRef.updatePosition();
|
|
1984
1982
|
}
|
|
1985
1983
|
else {
|
|
@@ -2123,13 +2121,13 @@ class CdkContextMenuTrigger {
|
|
|
2123
2121
|
}
|
|
2124
2122
|
}
|
|
2125
2123
|
}
|
|
2126
|
-
CdkContextMenuTrigger.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-
|
|
2127
|
-
CdkContextMenuTrigger.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0-
|
|
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: [
|
|
2128
2126
|
// In cases where the first menu item in the context menu is a trigger the submenu opens on a
|
|
2129
2127
|
// hover event. Offsetting the opened context menu by 2px prevents this from occurring.
|
|
2130
2128
|
{ provide: CDK_CONTEXT_MENU_DEFAULT_OPTIONS, useValue: { offsetX: 2, offsetY: 2 } },
|
|
2131
2129
|
], exportAs: ["cdkContextMenuTriggerFor"], ngImport: i0 });
|
|
2132
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-
|
|
2130
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-rc.3", ngImport: i0, type: CdkContextMenuTrigger, decorators: [{
|
|
2133
2131
|
type: Directive,
|
|
2134
2132
|
args: [{
|
|
2135
2133
|
selector: '[cdkContextMenuTriggerFor]',
|
|
@@ -2185,8 +2183,8 @@ const EXPORTED_DECLARATIONS = [
|
|
|
2185
2183
|
];
|
|
2186
2184
|
class CdkMenuModule {
|
|
2187
2185
|
}
|
|
2188
|
-
CdkMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0-
|
|
2189
|
-
CdkMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0-
|
|
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,
|
|
2190
2188
|
CdkMenu,
|
|
2191
2189
|
CdkMenuPanel,
|
|
2192
2190
|
CdkMenuItem,
|
|
@@ -2205,8 +2203,8 @@ CdkMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version:
|
|
|
2205
2203
|
CdkMenuGroup,
|
|
2206
2204
|
CdkContextMenuTrigger,
|
|
2207
2205
|
CdkTargetMenuAim] });
|
|
2208
|
-
CdkMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0-
|
|
2209
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-
|
|
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: [{
|
|
2210
2208
|
type: NgModule,
|
|
2211
2209
|
args: [{
|
|
2212
2210
|
imports: [OverlayModule],
|
|
@@ -2223,6 +2221,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0-next.15",
|
|
|
2223
2221
|
* found in the LICENSE file at https://angular.io/license
|
|
2224
2222
|
*/
|
|
2225
2223
|
|
|
2224
|
+
/**
|
|
2225
|
+
* @license
|
|
2226
|
+
* Copyright Google LLC All Rights Reserved.
|
|
2227
|
+
*
|
|
2228
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
2229
|
+
* found in the LICENSE file at https://angular.io/license
|
|
2230
|
+
*/
|
|
2231
|
+
|
|
2226
2232
|
/**
|
|
2227
2233
|
* Generated bundle index. Do not edit.
|
|
2228
2234
|
*/
|