@angular/cdk 20.0.0-rc.2 → 20.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.
- package/accordion/index.d.ts +3 -1
- package/fesm2022/{a11y-module-D8XVc0lA.mjs → a11y-module-DHa4AVFz.mjs} +27 -27
- package/fesm2022/{a11y-module-D8XVc0lA.mjs.map → a11y-module-DHa4AVFz.mjs.map} +1 -1
- package/fesm2022/a11y.mjs +19 -19
- package/fesm2022/a11y.mjs.map +1 -1
- package/fesm2022/accordion.mjs +20 -14
- package/fesm2022/accordion.mjs.map +1 -1
- package/fesm2022/{activedescendant-key-manager-DC3-fwQI.mjs → activedescendant-key-manager-CZAE5aFC.mjs} +2 -2
- package/fesm2022/{activedescendant-key-manager-DC3-fwQI.mjs.map → activedescendant-key-manager-CZAE5aFC.mjs.map} +1 -1
- package/fesm2022/bidi.mjs +9 -9
- package/fesm2022/bidi.mjs.map +1 -1
- package/fesm2022/{breakpoints-observer-Bf1rpjsP.mjs → breakpoints-observer-QutrMj4x.mjs} +8 -8
- package/fesm2022/{breakpoints-observer-Bf1rpjsP.mjs.map → breakpoints-observer-QutrMj4x.mjs.map} +1 -1
- package/fesm2022/cdk.mjs +1 -1
- package/fesm2022/cdk.mjs.map +1 -1
- package/fesm2022/clipboard.mjs +10 -10
- package/fesm2022/clipboard.mjs.map +1 -1
- package/fesm2022/collections.mjs +1 -1
- package/fesm2022/dialog.mjs +18 -18
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/{directionality-DBlSyD_q.mjs → directionality-CChdj3az.mjs} +4 -4
- package/fesm2022/{directionality-DBlSyD_q.mjs.map → directionality-CChdj3az.mjs.map} +1 -1
- package/fesm2022/drag-drop.mjs +35 -35
- package/fesm2022/drag-drop.mjs.map +1 -1
- package/fesm2022/{focus-key-manager-C1rAQJ5z.mjs → focus-key-manager-CPmlyB_c.mjs} +2 -2
- package/fesm2022/{focus-key-manager-C1rAQJ5z.mjs.map → focus-key-manager-CPmlyB_c.mjs.map} +1 -1
- package/fesm2022/{focus-monitor-B7II9-mT.mjs → focus-monitor-DLjkiju1.mjs} +11 -11
- package/fesm2022/{focus-monitor-B7II9-mT.mjs.map → focus-monitor-DLjkiju1.mjs.map} +1 -1
- package/fesm2022/{id-generator-CGk_WAHZ.mjs → id-generator-LuoRZSid.mjs} +4 -4
- package/fesm2022/{id-generator-CGk_WAHZ.mjs.map → id-generator-LuoRZSid.mjs.map} +1 -1
- package/fesm2022/layout.mjs +6 -6
- package/fesm2022/layout.mjs.map +1 -1
- package/fesm2022/{list-key-manager-CyOIXo8P.mjs → list-key-manager-C7tp3RbG.mjs} +13 -13
- package/fesm2022/list-key-manager-C7tp3RbG.mjs.map +1 -0
- package/fesm2022/listbox.mjs +15 -15
- package/fesm2022/listbox.mjs.map +1 -1
- package/fesm2022/menu.mjs +58 -58
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/observers/private.mjs +3 -3
- package/fesm2022/observers/private.mjs.map +1 -1
- package/fesm2022/observers.mjs +13 -13
- package/fesm2022/observers.mjs.map +1 -1
- package/fesm2022/{overlay-module-epEhkaPq.mjs → overlay-module-Bd2UplUU.mjs} +39 -39
- package/fesm2022/{overlay-module-epEhkaPq.mjs.map → overlay-module-Bd2UplUU.mjs.map} +1 -1
- package/fesm2022/overlay.mjs +9 -9
- package/fesm2022/overlay.mjs.map +1 -1
- package/fesm2022/{platform-CwM6AZ0b.mjs → platform-DNDzkVcI.mjs} +4 -4
- package/fesm2022/{platform-CwM6AZ0b.mjs.map → platform-DNDzkVcI.mjs.map} +1 -1
- package/fesm2022/platform.mjs +5 -5
- package/fesm2022/platform.mjs.map +1 -1
- package/fesm2022/portal.mjs +16 -16
- package/fesm2022/portal.mjs.map +1 -1
- package/fesm2022/private.mjs +4 -4
- package/fesm2022/private.mjs.map +1 -1
- package/fesm2022/scrolling.mjs +37 -37
- package/fesm2022/scrolling.mjs.map +1 -1
- package/fesm2022/stepper.mjs +127 -108
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/{style-loader-Dwx3yBB7.mjs → style-loader-B2sGQXxD.mjs} +4 -4
- package/fesm2022/{style-loader-Dwx3yBB7.mjs.map → style-loader-B2sGQXxD.mjs.map} +1 -1
- package/fesm2022/table.mjs +75 -75
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/text-field.mjs +18 -18
- package/fesm2022/text-field.mjs.map +1 -1
- package/fesm2022/tree.mjs +26 -26
- package/fesm2022/tree.mjs.map +1 -1
- package/fesm2022/{unique-selection-dispatcher-IvBdhaDc.mjs → unique-selection-dispatcher-Cewa_Eg3.mjs} +4 -4
- package/fesm2022/{unique-selection-dispatcher-IvBdhaDc.mjs.map → unique-selection-dispatcher-Cewa_Eg3.mjs.map} +1 -1
- package/package.json +3 -3
- package/schematics/ng-add/index.js +1 -1
- package/stepper/index.d.ts +18 -10
- package/fesm2022/list-key-manager-CyOIXo8P.mjs.map +0 -1
package/fesm2022/menu.mjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Directive, InjectionToken, Optional, SkipSelf, Inject, inject, Injectable, Injector, ViewContainerRef, EventEmitter, NgZone, RendererFactory2, ElementRef, ChangeDetectorRef, Renderer2, booleanAttribute, Input, Output, signal, computed, ContentChildren, NgModule } from '@angular/core';
|
|
3
3
|
import { startWith, debounceTime, distinctUntilChanged, takeUntil, mergeMap, mapTo, mergeAll, switchMap, skipWhile, skip } from 'rxjs/operators';
|
|
4
|
-
import { U as UniqueSelectionDispatcher } from './unique-selection-dispatcher-
|
|
4
|
+
import { U as UniqueSelectionDispatcher } from './unique-selection-dispatcher-Cewa_Eg3.mjs';
|
|
5
5
|
import { Subject, merge, partition } from 'rxjs';
|
|
6
|
-
import { _ as _IdGenerator } from './id-generator-
|
|
7
|
-
import { o as createRepositionScrollStrategy, c as createOverlayRef, i as OverlayConfig, h as createFlexibleConnectedPositionStrategy, g as STANDARD_DROPDOWN_BELOW_POSITIONS, S as STANDARD_DROPDOWN_ADJACENT_POSITIONS, t as OverlayModule } from './overlay-module-
|
|
6
|
+
import { _ as _IdGenerator } from './id-generator-LuoRZSid.mjs';
|
|
7
|
+
import { o as createRepositionScrollStrategy, c as createOverlayRef, i as OverlayConfig, h as createFlexibleConnectedPositionStrategy, g as STANDARD_DROPDOWN_BELOW_POSITIONS, S as STANDARD_DROPDOWN_ADJACENT_POSITIONS, t as OverlayModule } from './overlay-module-Bd2UplUU.mjs';
|
|
8
8
|
import { TemplatePortal } from './portal.mjs';
|
|
9
9
|
import { c as ENTER, S as SPACE, U as UP_ARROW, D as DOWN_ARROW, L as LEFT_ARROW, R as RIGHT_ARROW, T as TAB, g as ESCAPE } from './keycodes-CpHkExLC.mjs';
|
|
10
|
-
import { I as InputModalityDetector, F as FocusMonitor } from './focus-monitor-
|
|
11
|
-
import { D as Directionality } from './directionality-
|
|
10
|
+
import { I as InputModalityDetector, F as FocusMonitor } from './focus-monitor-DLjkiju1.mjs';
|
|
11
|
+
import { D as Directionality } from './directionality-CChdj3az.mjs';
|
|
12
12
|
import { hasModifierKey } from './keycodes.mjs';
|
|
13
13
|
import { _ as _getEventTarget } from './shadow-dom-B0oHn41l.mjs';
|
|
14
|
-
import { F as FocusKeyManager } from './focus-key-manager-
|
|
14
|
+
import { F as FocusKeyManager } from './focus-key-manager-CPmlyB_c.mjs';
|
|
15
15
|
import '@angular/common';
|
|
16
|
-
import './platform-
|
|
16
|
+
import './platform-DNDzkVcI.mjs';
|
|
17
17
|
import './test-environment-CT0XxPyp.mjs';
|
|
18
|
-
import './style-loader-
|
|
18
|
+
import './style-loader-B2sGQXxD.mjs';
|
|
19
19
|
import './css-pixel-value-C_HEqLhI.mjs';
|
|
20
20
|
import './array-I1yfCXUO.mjs';
|
|
21
21
|
import './scrolling.mjs';
|
|
@@ -26,17 +26,17 @@ import './recycle-view-repeater-strategy-DoWdPqVw.mjs';
|
|
|
26
26
|
import './data-source-D34wiQZj.mjs';
|
|
27
27
|
import './fake-event-detection-DWOdFTFz.mjs';
|
|
28
28
|
import './passive-listeners-esHZRgIN.mjs';
|
|
29
|
-
import './list-key-manager-
|
|
29
|
+
import './list-key-manager-C7tp3RbG.mjs';
|
|
30
30
|
import './typeahead-9ZW4Dtsf.mjs';
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
33
|
* A grouping container for `CdkMenuItemRadio` instances, similar to a `role="radiogroup"` element.
|
|
34
34
|
*/
|
|
35
35
|
class CdkMenuGroup {
|
|
36
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0
|
|
37
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0
|
|
36
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: CdkMenuGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
37
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0", type: CdkMenuGroup, isStandalone: true, selector: "[cdkMenuGroup]", host: { attributes: { "role": "group" }, classAttribute: "cdk-menu-group" }, providers: [{ provide: UniqueSelectionDispatcher, useClass: UniqueSelectionDispatcher }], exportAs: ["cdkMenuGroup"], ngImport: i0 });
|
|
38
38
|
}
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: CdkMenuGroup, decorators: [{
|
|
40
40
|
type: Directive,
|
|
41
41
|
args: [{
|
|
42
42
|
selector: '[cdkMenuGroup]',
|
|
@@ -193,10 +193,10 @@ class MenuStack {
|
|
|
193
193
|
setHasFocus(hasFocus) {
|
|
194
194
|
this._hasFocus.next(hasFocus);
|
|
195
195
|
}
|
|
196
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0
|
|
197
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0
|
|
196
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: MenuStack, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
197
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: MenuStack });
|
|
198
198
|
}
|
|
199
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0
|
|
199
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: MenuStack, decorators: [{
|
|
200
200
|
type: Injectable
|
|
201
201
|
}] });
|
|
202
202
|
|
|
@@ -305,10 +305,10 @@ class CdkMenuTriggerBase {
|
|
|
305
305
|
});
|
|
306
306
|
return this._childMenuInjector;
|
|
307
307
|
}
|
|
308
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0
|
|
309
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0
|
|
308
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: CdkMenuTriggerBase, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
309
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0", type: CdkMenuTriggerBase, isStandalone: true, host: { properties: { "attr.aria-controls": "childMenu?.id", "attr.data-cdk-menu-stack-id": "menuStack.id" } }, ngImport: i0 });
|
|
310
310
|
}
|
|
311
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0
|
|
311
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: CdkMenuTriggerBase, decorators: [{
|
|
312
312
|
type: Directive,
|
|
313
313
|
args: [{
|
|
314
314
|
host: {
|
|
@@ -510,10 +510,10 @@ class TargetMenuAim {
|
|
|
510
510
|
});
|
|
511
511
|
});
|
|
512
512
|
}
|
|
513
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0
|
|
514
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0
|
|
513
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: TargetMenuAim, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
514
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: TargetMenuAim });
|
|
515
515
|
}
|
|
516
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0
|
|
516
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: TargetMenuAim, decorators: [{
|
|
517
517
|
type: Injectable
|
|
518
518
|
}] });
|
|
519
519
|
/**
|
|
@@ -521,10 +521,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-rc.1", ng
|
|
|
521
521
|
* element with either the `cdkMenu` or `cdkMenuBar` directive and child menu items.
|
|
522
522
|
*/
|
|
523
523
|
class CdkTargetMenuAim {
|
|
524
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0
|
|
525
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0
|
|
524
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: CdkTargetMenuAim, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
525
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0", type: CdkTargetMenuAim, isStandalone: true, selector: "[cdkTargetMenuAim]", providers: [{ provide: MENU_AIM, useClass: TargetMenuAim }], exportAs: ["cdkTargetMenuAim"], ngImport: i0 });
|
|
526
526
|
}
|
|
527
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0
|
|
527
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: CdkTargetMenuAim, decorators: [{
|
|
528
528
|
type: Directive,
|
|
529
529
|
args: [{
|
|
530
530
|
selector: '[cdkTargetMenuAim]',
|
|
@@ -819,13 +819,13 @@ class CdkMenuTrigger extends CdkMenuTriggerBase {
|
|
|
819
819
|
element.setAttribute('type', 'button');
|
|
820
820
|
}
|
|
821
821
|
}
|
|
822
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0
|
|
823
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0
|
|
822
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: CdkMenuTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
823
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0", type: CdkMenuTrigger, isStandalone: true, selector: "[cdkMenuTriggerFor]", inputs: { menuTemplateRef: ["cdkMenuTriggerFor", "menuTemplateRef"], menuPosition: ["cdkMenuPosition", "menuPosition"], menuData: ["cdkMenuTriggerData", "menuData"] }, outputs: { opened: "cdkMenuOpened", closed: "cdkMenuClosed" }, host: { listeners: { "focusin": "_setHasFocus(true)", "focusout": "_setHasFocus(false)", "keydown": "_toggleOnKeydown($event)", "click": "_handleClick()" }, properties: { "attr.aria-haspopup": "menuTemplateRef ? \"menu\" : null", "attr.aria-expanded": "menuTemplateRef == null ? null : isOpen()" }, classAttribute: "cdk-menu-trigger" }, providers: [
|
|
824
824
|
{ provide: MENU_TRIGGER, useExisting: CdkMenuTrigger },
|
|
825
825
|
PARENT_OR_NEW_MENU_STACK_PROVIDER,
|
|
826
826
|
], exportAs: ["cdkMenuTriggerFor"], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
827
827
|
}
|
|
828
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0
|
|
828
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: CdkMenuTrigger, decorators: [{
|
|
829
829
|
type: Directive,
|
|
830
830
|
args: [{
|
|
831
831
|
selector: '[cdkMenuTriggerFor]',
|
|
@@ -1083,10 +1083,10 @@ class CdkMenuItem {
|
|
|
1083
1083
|
element.setAttribute('type', 'button');
|
|
1084
1084
|
}
|
|
1085
1085
|
}
|
|
1086
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0
|
|
1087
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.0.0
|
|
1086
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: CdkMenuItem, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1087
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.0.0", type: CdkMenuItem, isStandalone: true, selector: "[cdkMenuItem]", inputs: { disabled: ["cdkMenuItemDisabled", "disabled", booleanAttribute], typeaheadLabel: ["cdkMenuitemTypeaheadLabel", "typeaheadLabel"] }, outputs: { triggered: "cdkMenuItemTriggered" }, host: { attributes: { "role": "menuitem" }, listeners: { "blur": "_resetTabIndex()", "focus": "_setTabIndex()", "click": "trigger()", "keydown": "_onKeydown($event)" }, properties: { "tabindex": "_tabindex", "attr.aria-disabled": "disabled || null" }, classAttribute: "cdk-menu-item" }, exportAs: ["cdkMenuItem"], ngImport: i0 });
|
|
1088
1088
|
}
|
|
1089
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0
|
|
1089
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: CdkMenuItem, decorators: [{
|
|
1090
1090
|
type: Directive,
|
|
1091
1091
|
args: [{
|
|
1092
1092
|
selector: '[cdkMenuItem]',
|
|
@@ -1335,10 +1335,10 @@ class CdkMenuBase extends CdkMenuGroup {
|
|
|
1335
1335
|
}
|
|
1336
1336
|
});
|
|
1337
1337
|
}
|
|
1338
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0
|
|
1339
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0
|
|
1338
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: CdkMenuBase, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1339
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0", type: CdkMenuBase, isStandalone: true, inputs: { id: "id" }, host: { attributes: { "role": "menu" }, listeners: { "focusin": "menuStack.setHasFocus(true)", "focusout": "menuStack.setHasFocus(false)" }, properties: { "tabindex": "_getTabIndex()", "id": "id", "attr.aria-orientation": "orientation", "attr.data-cdk-menu-stack-id": "menuStack.id" } }, queries: [{ propertyName: "items", predicate: CdkMenuItem, descendants: true }], usesInheritance: true, ngImport: i0 });
|
|
1340
1340
|
}
|
|
1341
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0
|
|
1341
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: CdkMenuBase, decorators: [{
|
|
1342
1342
|
type: Directive,
|
|
1343
1343
|
args: [{
|
|
1344
1344
|
host: {
|
|
@@ -1449,14 +1449,14 @@ class CdkMenu extends CdkMenuBase {
|
|
|
1449
1449
|
.pipe(takeUntil(this.destroyed))
|
|
1450
1450
|
.subscribe(event => this._toggleMenuFocus(event));
|
|
1451
1451
|
}
|
|
1452
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0
|
|
1453
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0
|
|
1452
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: CdkMenu, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1453
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0", type: CdkMenu, isStandalone: true, selector: "[cdkMenu]", outputs: { closed: "closed" }, host: { attributes: { "role": "menu" }, listeners: { "keydown": "_handleKeyEvent($event)" }, properties: { "class.cdk-menu-inline": "isInline" }, classAttribute: "cdk-menu" }, providers: [
|
|
1454
1454
|
{ provide: CdkMenuGroup, useExisting: CdkMenu },
|
|
1455
1455
|
{ provide: CDK_MENU, useExisting: CdkMenu },
|
|
1456
1456
|
PARENT_OR_NEW_INLINE_MENU_STACK_PROVIDER('vertical'),
|
|
1457
1457
|
], exportAs: ["cdkMenu"], usesInheritance: true, ngImport: i0 });
|
|
1458
1458
|
}
|
|
1459
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0
|
|
1459
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: CdkMenu, decorators: [{
|
|
1460
1460
|
type: Directive,
|
|
1461
1461
|
args: [{
|
|
1462
1462
|
selector: '[cdkMenu]',
|
|
@@ -1567,14 +1567,14 @@ class CdkMenuBar extends CdkMenuBase {
|
|
|
1567
1567
|
.pipe(takeUntil(this.destroyed))
|
|
1568
1568
|
.subscribe(event => this._toggleOpenMenu(event));
|
|
1569
1569
|
}
|
|
1570
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0
|
|
1571
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0
|
|
1570
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: CdkMenuBar, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1571
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0", type: CdkMenuBar, isStandalone: true, selector: "[cdkMenuBar]", host: { attributes: { "role": "menubar" }, listeners: { "keydown": "_handleKeyEvent($event)" }, classAttribute: "cdk-menu-bar" }, providers: [
|
|
1572
1572
|
{ provide: CdkMenuGroup, useExisting: CdkMenuBar },
|
|
1573
1573
|
{ provide: CDK_MENU, useExisting: CdkMenuBar },
|
|
1574
1574
|
{ provide: MENU_STACK, useFactory: () => MenuStack.inline('horizontal') },
|
|
1575
1575
|
], exportAs: ["cdkMenuBar"], usesInheritance: true, ngImport: i0 });
|
|
1576
1576
|
}
|
|
1577
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0
|
|
1577
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: CdkMenuBar, decorators: [{
|
|
1578
1578
|
type: Directive,
|
|
1579
1579
|
args: [{
|
|
1580
1580
|
selector: '[cdkMenuBar]',
|
|
@@ -1598,10 +1598,10 @@ class CdkMenuItemSelectable extends CdkMenuItem {
|
|
|
1598
1598
|
checked = false;
|
|
1599
1599
|
/** Whether the item should close the menu if triggered by the spacebar. */
|
|
1600
1600
|
closeOnSpacebarTrigger = false;
|
|
1601
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0
|
|
1602
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.0.0
|
|
1601
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: CdkMenuItemSelectable, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1602
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.0.0", type: CdkMenuItemSelectable, isStandalone: true, inputs: { checked: ["cdkMenuItemChecked", "checked", booleanAttribute] }, host: { properties: { "attr.aria-checked": "!!checked", "attr.aria-disabled": "disabled || null" } }, usesInheritance: true, ngImport: i0 });
|
|
1603
1603
|
}
|
|
1604
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0
|
|
1604
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: CdkMenuItemSelectable, decorators: [{
|
|
1605
1605
|
type: Directive,
|
|
1606
1606
|
args: [{
|
|
1607
1607
|
host: {
|
|
@@ -1651,13 +1651,13 @@ class CdkMenuItemRadio extends CdkMenuItemSelectable {
|
|
|
1651
1651
|
this.checked = this._id === id;
|
|
1652
1652
|
});
|
|
1653
1653
|
}
|
|
1654
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0
|
|
1655
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0
|
|
1654
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: CdkMenuItemRadio, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1655
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0", type: CdkMenuItemRadio, isStandalone: true, selector: "[cdkMenuItemRadio]", host: { attributes: { "role": "menuitemradio" }, properties: { "class.cdk-menu-item-radio": "true" } }, providers: [
|
|
1656
1656
|
{ provide: CdkMenuItemSelectable, useExisting: CdkMenuItemRadio },
|
|
1657
1657
|
{ provide: CdkMenuItem, useExisting: CdkMenuItemSelectable },
|
|
1658
1658
|
], exportAs: ["cdkMenuItemRadio"], usesInheritance: true, ngImport: i0 });
|
|
1659
1659
|
}
|
|
1660
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0
|
|
1660
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: CdkMenuItemRadio, decorators: [{
|
|
1661
1661
|
type: Directive,
|
|
1662
1662
|
args: [{
|
|
1663
1663
|
selector: '[cdkMenuItemRadio]',
|
|
@@ -1689,13 +1689,13 @@ class CdkMenuItemCheckbox extends CdkMenuItemSelectable {
|
|
|
1689
1689
|
this.checked = !this.checked;
|
|
1690
1690
|
}
|
|
1691
1691
|
}
|
|
1692
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0
|
|
1693
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0
|
|
1692
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: CdkMenuItemCheckbox, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1693
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.0", type: CdkMenuItemCheckbox, isStandalone: true, selector: "[cdkMenuItemCheckbox]", host: { attributes: { "role": "menuitemcheckbox" }, properties: { "class.cdk-menu-item-checkbox": "true" } }, providers: [
|
|
1694
1694
|
{ provide: CdkMenuItemSelectable, useExisting: CdkMenuItemCheckbox },
|
|
1695
1695
|
{ provide: CdkMenuItem, useExisting: CdkMenuItemSelectable },
|
|
1696
1696
|
], exportAs: ["cdkMenuItemCheckbox"], usesInheritance: true, ngImport: i0 });
|
|
1697
1697
|
}
|
|
1698
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0
|
|
1698
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: CdkMenuItemCheckbox, decorators: [{
|
|
1699
1699
|
type: Directive,
|
|
1700
1700
|
args: [{
|
|
1701
1701
|
selector: '[cdkMenuItemCheckbox]',
|
|
@@ -1733,10 +1733,10 @@ class ContextMenuTracker {
|
|
|
1733
1733
|
ContextMenuTracker._openContextMenuTrigger = trigger;
|
|
1734
1734
|
}
|
|
1735
1735
|
}
|
|
1736
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0
|
|
1737
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0
|
|
1736
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: ContextMenuTracker, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1737
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: ContextMenuTracker, providedIn: 'root' });
|
|
1738
1738
|
}
|
|
1739
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0
|
|
1739
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: ContextMenuTracker, decorators: [{
|
|
1740
1740
|
type: Injectable,
|
|
1741
1741
|
args: [{ providedIn: 'root' }]
|
|
1742
1742
|
}] });
|
|
@@ -1883,13 +1883,13 @@ class CdkContextMenuTrigger extends CdkMenuTriggerBase {
|
|
|
1883
1883
|
this._subscribeToOutsideClicks(userEvent);
|
|
1884
1884
|
}
|
|
1885
1885
|
}
|
|
1886
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0
|
|
1887
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.0.0
|
|
1886
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: CdkContextMenuTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1887
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.0.0", type: CdkContextMenuTrigger, isStandalone: true, selector: "[cdkContextMenuTriggerFor]", inputs: { menuTemplateRef: ["cdkContextMenuTriggerFor", "menuTemplateRef"], menuPosition: ["cdkContextMenuPosition", "menuPosition"], menuData: ["cdkContextMenuTriggerData", "menuData"], disabled: ["cdkContextMenuDisabled", "disabled", booleanAttribute] }, outputs: { opened: "cdkContextMenuOpened", closed: "cdkContextMenuClosed" }, host: { listeners: { "contextmenu": "_openOnContextMenu($event)" }, properties: { "attr.data-cdk-menu-stack-id": "null" } }, providers: [
|
|
1888
1888
|
{ provide: MENU_TRIGGER, useExisting: CdkContextMenuTrigger },
|
|
1889
1889
|
{ provide: MENU_STACK, useClass: MenuStack },
|
|
1890
1890
|
], exportAs: ["cdkContextMenuTriggerFor"], usesInheritance: true, ngImport: i0 });
|
|
1891
1891
|
}
|
|
1892
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0
|
|
1892
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: CdkContextMenuTrigger, decorators: [{
|
|
1893
1893
|
type: Directive,
|
|
1894
1894
|
args: [{
|
|
1895
1895
|
selector: '[cdkContextMenuTriggerFor]',
|
|
@@ -1927,8 +1927,8 @@ const MENU_DIRECTIVES = [
|
|
|
1927
1927
|
];
|
|
1928
1928
|
/** Module that declares components and directives for the CDK menu. */
|
|
1929
1929
|
class CdkMenuModule {
|
|
1930
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0
|
|
1931
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0
|
|
1930
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: CdkMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1931
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.0", ngImport: i0, type: CdkMenuModule, imports: [OverlayModule, CdkMenuBar,
|
|
1932
1932
|
CdkMenu,
|
|
1933
1933
|
CdkMenuItem,
|
|
1934
1934
|
CdkMenuItemRadio,
|
|
@@ -1945,9 +1945,9 @@ class CdkMenuModule {
|
|
|
1945
1945
|
CdkMenuGroup,
|
|
1946
1946
|
CdkContextMenuTrigger,
|
|
1947
1947
|
CdkTargetMenuAim] });
|
|
1948
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0
|
|
1948
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: CdkMenuModule, imports: [OverlayModule] });
|
|
1949
1949
|
}
|
|
1950
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0
|
|
1950
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0", ngImport: i0, type: CdkMenuModule, decorators: [{
|
|
1951
1951
|
type: NgModule,
|
|
1952
1952
|
args: [{
|
|
1953
1953
|
imports: [OverlayModule, ...MENU_DIRECTIVES],
|