@angular/cdk 19.0.0-next.8 → 19.0.0-next.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/a11y.mjs +40 -43
- package/fesm2022/a11y.mjs.map +1 -1
- package/fesm2022/accordion.mjs +10 -12
- package/fesm2022/accordion.mjs.map +1 -1
- package/fesm2022/bidi.mjs +10 -11
- package/fesm2022/bidi.mjs.map +1 -1
- package/fesm2022/cdk.mjs +1 -1
- package/fesm2022/cdk.mjs.map +1 -1
- package/fesm2022/clipboard.mjs +10 -11
- package/fesm2022/clipboard.mjs.map +1 -1
- package/fesm2022/collections.mjs +3 -3
- package/fesm2022/collections.mjs.map +1 -1
- package/fesm2022/dialog.mjs +11 -11
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/drag-drop.mjs +32 -38
- package/fesm2022/drag-drop.mjs.map +1 -1
- package/fesm2022/layout.mjs +10 -10
- package/fesm2022/layout.mjs.map +1 -1
- package/fesm2022/listbox.mjs +10 -12
- package/fesm2022/listbox.mjs.map +1 -1
- package/fesm2022/menu.mjs +49 -61
- 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 -14
- package/fesm2022/observers.mjs.map +1 -1
- package/fesm2022/overlay.mjs +38 -40
- package/fesm2022/overlay.mjs.map +1 -1
- package/fesm2022/platform.mjs +7 -7
- package/fesm2022/platform.mjs.map +1 -1
- package/fesm2022/portal.mjs +16 -20
- package/fesm2022/portal.mjs.map +1 -1
- package/fesm2022/private.mjs +7 -7
- package/fesm2022/private.mjs.map +1 -1
- package/fesm2022/scrolling.mjs +36 -41
- package/fesm2022/scrolling.mjs.map +1 -1
- package/fesm2022/stepper.mjs +22 -28
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table.mjs +77 -98
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/text-field.mjs +17 -19
- package/fesm2022/text-field.mjs.map +1 -1
- package/fesm2022/tree.mjs +41 -34
- package/fesm2022/tree.mjs.map +1 -1
- package/package.json +1 -1
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/scrolling/index.d.ts +1 -1
- package/table/index.d.ts +1 -1
- package/tree/index.d.ts +3 -2
package/fesm2022/menu.mjs
CHANGED
|
@@ -14,15 +14,14 @@ import { _getEventTarget } from '@angular/cdk/platform';
|
|
|
14
14
|
* A grouping container for `CdkMenuItemRadio` instances, similar to a `role="radiogroup"` element.
|
|
15
15
|
*/
|
|
16
16
|
class CdkMenuGroup {
|
|
17
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
18
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.
|
|
17
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkMenuGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
18
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.10", type: CdkMenuGroup, isStandalone: true, selector: "[cdkMenuGroup]", host: { attributes: { "role": "group" }, classAttribute: "cdk-menu-group" }, providers: [{ provide: UniqueSelectionDispatcher, useClass: UniqueSelectionDispatcher }], exportAs: ["cdkMenuGroup"], ngImport: i0 }); }
|
|
19
19
|
}
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkMenuGroup, decorators: [{
|
|
21
21
|
type: Directive,
|
|
22
22
|
args: [{
|
|
23
23
|
selector: '[cdkMenuGroup]',
|
|
24
24
|
exportAs: 'cdkMenuGroup',
|
|
25
|
-
standalone: true,
|
|
26
25
|
host: {
|
|
27
26
|
'role': 'group',
|
|
28
27
|
'class': 'cdk-menu-group',
|
|
@@ -179,10 +178,10 @@ class MenuStack {
|
|
|
179
178
|
setHasFocus(hasFocus) {
|
|
180
179
|
this._hasFocus.next(hasFocus);
|
|
181
180
|
}
|
|
182
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
183
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
181
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: MenuStack, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
182
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: MenuStack }); }
|
|
184
183
|
}
|
|
185
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
184
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: MenuStack, decorators: [{
|
|
186
185
|
type: Injectable
|
|
187
186
|
}] });
|
|
188
187
|
|
|
@@ -278,17 +277,16 @@ class CdkMenuTriggerBase {
|
|
|
278
277
|
});
|
|
279
278
|
return this._childMenuInjector;
|
|
280
279
|
}
|
|
281
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
282
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.
|
|
280
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkMenuTriggerBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
281
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.10", type: CdkMenuTriggerBase, isStandalone: true, host: { properties: { "attr.aria-controls": "childMenu?.id", "attr.data-cdk-menu-stack-id": "menuStack.id" } }, ngImport: i0 }); }
|
|
283
282
|
}
|
|
284
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
283
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkMenuTriggerBase, decorators: [{
|
|
285
284
|
type: Directive,
|
|
286
285
|
args: [{
|
|
287
286
|
host: {
|
|
288
287
|
'[attr.aria-controls]': 'childMenu?.id',
|
|
289
288
|
'[attr.data-cdk-menu-stack-id]': 'menuStack.id',
|
|
290
289
|
},
|
|
291
|
-
standalone: true,
|
|
292
290
|
}]
|
|
293
291
|
}] });
|
|
294
292
|
|
|
@@ -475,10 +473,10 @@ class TargetMenuAim {
|
|
|
475
473
|
});
|
|
476
474
|
});
|
|
477
475
|
}
|
|
478
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
479
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
476
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: TargetMenuAim, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
477
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: TargetMenuAim }); }
|
|
480
478
|
}
|
|
481
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
479
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: TargetMenuAim, decorators: [{
|
|
482
480
|
type: Injectable
|
|
483
481
|
}] });
|
|
484
482
|
/**
|
|
@@ -486,15 +484,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.8",
|
|
|
486
484
|
* element with either the `cdkMenu` or `cdkMenuBar` directive and child menu items.
|
|
487
485
|
*/
|
|
488
486
|
class CdkTargetMenuAim {
|
|
489
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
490
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.
|
|
487
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkTargetMenuAim, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
488
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.10", type: CdkTargetMenuAim, isStandalone: true, selector: "[cdkTargetMenuAim]", providers: [{ provide: MENU_AIM, useClass: TargetMenuAim }], exportAs: ["cdkTargetMenuAim"], ngImport: i0 }); }
|
|
491
489
|
}
|
|
492
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
490
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkTargetMenuAim, decorators: [{
|
|
493
491
|
type: Directive,
|
|
494
492
|
args: [{
|
|
495
493
|
selector: '[cdkTargetMenuAim]',
|
|
496
494
|
exportAs: 'cdkTargetMenuAim',
|
|
497
|
-
standalone: true,
|
|
498
495
|
providers: [{ provide: MENU_AIM, useClass: TargetMenuAim }],
|
|
499
496
|
}]
|
|
500
497
|
}] });
|
|
@@ -777,18 +774,17 @@ class CdkMenuTrigger extends CdkMenuTriggerBase {
|
|
|
777
774
|
element.setAttribute('type', 'button');
|
|
778
775
|
}
|
|
779
776
|
}
|
|
780
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
781
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.
|
|
777
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkMenuTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
778
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.10", 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: [
|
|
782
779
|
{ provide: MENU_TRIGGER, useExisting: CdkMenuTrigger },
|
|
783
780
|
PARENT_OR_NEW_MENU_STACK_PROVIDER,
|
|
784
781
|
], exportAs: ["cdkMenuTriggerFor"], usesInheritance: true, ngImport: i0 }); }
|
|
785
782
|
}
|
|
786
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
783
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkMenuTrigger, decorators: [{
|
|
787
784
|
type: Directive,
|
|
788
785
|
args: [{
|
|
789
786
|
selector: '[cdkMenuTriggerFor]',
|
|
790
787
|
exportAs: 'cdkMenuTriggerFor',
|
|
791
|
-
standalone: true,
|
|
792
788
|
host: {
|
|
793
789
|
'class': 'cdk-menu-trigger',
|
|
794
790
|
'[attr.aria-haspopup]': 'menuTemplateRef ? "menu" : null',
|
|
@@ -1031,15 +1027,14 @@ class CdkMenuItem {
|
|
|
1031
1027
|
element.setAttribute('type', 'button');
|
|
1032
1028
|
}
|
|
1033
1029
|
}
|
|
1034
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
1035
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.0.0-next.
|
|
1030
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkMenuItem, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1031
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.0.0-next.10", 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 }); }
|
|
1036
1032
|
}
|
|
1037
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
1033
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkMenuItem, decorators: [{
|
|
1038
1034
|
type: Directive,
|
|
1039
1035
|
args: [{
|
|
1040
1036
|
selector: '[cdkMenuItem]',
|
|
1041
1037
|
exportAs: 'cdkMenuItem',
|
|
1042
|
-
standalone: true,
|
|
1043
1038
|
host: {
|
|
1044
1039
|
'role': 'menuitem',
|
|
1045
1040
|
'class': 'cdk-menu-item',
|
|
@@ -1252,10 +1247,10 @@ class CdkMenuBase extends CdkMenuGroup {
|
|
|
1252
1247
|
this.menuAim.initialize(this, this.pointerTracker);
|
|
1253
1248
|
}
|
|
1254
1249
|
}
|
|
1255
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
1256
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.
|
|
1250
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkMenuBase, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1251
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.10", type: CdkMenuBase, isStandalone: true, inputs: { id: "id" }, host: { attributes: { "role": "menu" }, listeners: { "focus": "focusFirstItem()", "focusin": "menuStack.setHasFocus(true)", "focusout": "menuStack.setHasFocus(false)" }, properties: { "tabindex": "_getTabIndex()", "id": "id", "attr.aria-orientation": "orientation", "attr.data-cdk-menu-stack-id": "menuStack.id" } }, queries: [{ propertyName: "items", predicate: CdkMenuItem, descendants: true }], usesInheritance: true, ngImport: i0 }); }
|
|
1257
1252
|
}
|
|
1258
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
1253
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkMenuBase, decorators: [{
|
|
1259
1254
|
type: Directive,
|
|
1260
1255
|
args: [{
|
|
1261
1256
|
host: {
|
|
@@ -1269,7 +1264,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.8",
|
|
|
1269
1264
|
'(focusin)': 'menuStack.setHasFocus(true)',
|
|
1270
1265
|
'(focusout)': 'menuStack.setHasFocus(false)',
|
|
1271
1266
|
},
|
|
1272
|
-
standalone: true,
|
|
1273
1267
|
}]
|
|
1274
1268
|
}], propDecorators: { id: [{
|
|
1275
1269
|
type: Input
|
|
@@ -1368,19 +1362,18 @@ class CdkMenu extends CdkMenuBase {
|
|
|
1368
1362
|
.pipe(takeUntil(this.destroyed))
|
|
1369
1363
|
.subscribe(event => this._toggleMenuFocus(event));
|
|
1370
1364
|
}
|
|
1371
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
1372
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.
|
|
1365
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkMenu, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1366
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.10", 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: [
|
|
1373
1367
|
{ provide: CdkMenuGroup, useExisting: CdkMenu },
|
|
1374
1368
|
{ provide: CDK_MENU, useExisting: CdkMenu },
|
|
1375
1369
|
PARENT_OR_NEW_INLINE_MENU_STACK_PROVIDER('vertical'),
|
|
1376
1370
|
], exportAs: ["cdkMenu"], usesInheritance: true, ngImport: i0 }); }
|
|
1377
1371
|
}
|
|
1378
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
1372
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkMenu, decorators: [{
|
|
1379
1373
|
type: Directive,
|
|
1380
1374
|
args: [{
|
|
1381
1375
|
selector: '[cdkMenu]',
|
|
1382
1376
|
exportAs: 'cdkMenu',
|
|
1383
|
-
standalone: true,
|
|
1384
1377
|
host: {
|
|
1385
1378
|
'role': 'menu',
|
|
1386
1379
|
'class': 'cdk-menu',
|
|
@@ -1490,19 +1483,18 @@ class CdkMenuBar extends CdkMenuBase {
|
|
|
1490
1483
|
.pipe(takeUntil(this.destroyed))
|
|
1491
1484
|
.subscribe(event => this._toggleOpenMenu(event));
|
|
1492
1485
|
}
|
|
1493
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
1494
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.
|
|
1486
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkMenuBar, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1487
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.10", type: CdkMenuBar, isStandalone: true, selector: "[cdkMenuBar]", host: { attributes: { "role": "menubar" }, listeners: { "keydown": "_handleKeyEvent($event)" }, classAttribute: "cdk-menu-bar" }, providers: [
|
|
1495
1488
|
{ provide: CdkMenuGroup, useExisting: CdkMenuBar },
|
|
1496
1489
|
{ provide: CDK_MENU, useExisting: CdkMenuBar },
|
|
1497
1490
|
{ provide: MENU_STACK, useFactory: () => MenuStack.inline('horizontal') },
|
|
1498
1491
|
], exportAs: ["cdkMenuBar"], usesInheritance: true, ngImport: i0 }); }
|
|
1499
1492
|
}
|
|
1500
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
1493
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkMenuBar, decorators: [{
|
|
1501
1494
|
type: Directive,
|
|
1502
1495
|
args: [{
|
|
1503
1496
|
selector: '[cdkMenuBar]',
|
|
1504
1497
|
exportAs: 'cdkMenuBar',
|
|
1505
|
-
standalone: true,
|
|
1506
1498
|
host: {
|
|
1507
1499
|
'role': 'menubar',
|
|
1508
1500
|
'class': 'cdk-menu-bar',
|
|
@@ -1525,17 +1517,16 @@ class CdkMenuItemSelectable extends CdkMenuItem {
|
|
|
1525
1517
|
/** Whether the item should close the menu if triggered by the spacebar. */
|
|
1526
1518
|
this.closeOnSpacebarTrigger = false;
|
|
1527
1519
|
}
|
|
1528
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
1529
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.0.0-next.
|
|
1520
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkMenuItemSelectable, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1521
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.0.0-next.10", type: CdkMenuItemSelectable, isStandalone: true, inputs: { checked: ["cdkMenuItemChecked", "checked", booleanAttribute] }, host: { properties: { "attr.aria-checked": "!!checked", "attr.aria-disabled": "disabled || null" } }, usesInheritance: true, ngImport: i0 }); }
|
|
1530
1522
|
}
|
|
1531
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
1523
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkMenuItemSelectable, decorators: [{
|
|
1532
1524
|
type: Directive,
|
|
1533
1525
|
args: [{
|
|
1534
1526
|
host: {
|
|
1535
1527
|
'[attr.aria-checked]': '!!checked',
|
|
1536
1528
|
'[attr.aria-disabled]': 'disabled || null',
|
|
1537
1529
|
},
|
|
1538
|
-
standalone: true,
|
|
1539
1530
|
}]
|
|
1540
1531
|
}], propDecorators: { checked: [{
|
|
1541
1532
|
type: Input,
|
|
@@ -1579,18 +1570,17 @@ class CdkMenuItemRadio extends CdkMenuItemSelectable {
|
|
|
1579
1570
|
this.checked = this._id === id;
|
|
1580
1571
|
});
|
|
1581
1572
|
}
|
|
1582
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
1583
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.
|
|
1573
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkMenuItemRadio, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1574
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.10", type: CdkMenuItemRadio, isStandalone: true, selector: "[cdkMenuItemRadio]", host: { attributes: { "role": "menuitemradio" }, properties: { "class.cdk-menu-item-radio": "true" } }, providers: [
|
|
1584
1575
|
{ provide: CdkMenuItemSelectable, useExisting: CdkMenuItemRadio },
|
|
1585
1576
|
{ provide: CdkMenuItem, useExisting: CdkMenuItemSelectable },
|
|
1586
1577
|
], exportAs: ["cdkMenuItemRadio"], usesInheritance: true, ngImport: i0 }); }
|
|
1587
1578
|
}
|
|
1588
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
1579
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkMenuItemRadio, decorators: [{
|
|
1589
1580
|
type: Directive,
|
|
1590
1581
|
args: [{
|
|
1591
1582
|
selector: '[cdkMenuItemRadio]',
|
|
1592
1583
|
exportAs: 'cdkMenuItemRadio',
|
|
1593
|
-
standalone: true,
|
|
1594
1584
|
host: {
|
|
1595
1585
|
'role': 'menuitemradio',
|
|
1596
1586
|
'[class.cdk-menu-item-radio]': 'true',
|
|
@@ -1618,18 +1608,17 @@ class CdkMenuItemCheckbox extends CdkMenuItemSelectable {
|
|
|
1618
1608
|
this.checked = !this.checked;
|
|
1619
1609
|
}
|
|
1620
1610
|
}
|
|
1621
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
1622
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.
|
|
1611
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkMenuItemCheckbox, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1612
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.0.0-next.10", type: CdkMenuItemCheckbox, isStandalone: true, selector: "[cdkMenuItemCheckbox]", host: { attributes: { "role": "menuitemcheckbox" }, properties: { "class.cdk-menu-item-checkbox": "true" } }, providers: [
|
|
1623
1613
|
{ provide: CdkMenuItemSelectable, useExisting: CdkMenuItemCheckbox },
|
|
1624
1614
|
{ provide: CdkMenuItem, useExisting: CdkMenuItemSelectable },
|
|
1625
1615
|
], exportAs: ["cdkMenuItemCheckbox"], usesInheritance: true, ngImport: i0 }); }
|
|
1626
1616
|
}
|
|
1627
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
1617
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkMenuItemCheckbox, decorators: [{
|
|
1628
1618
|
type: Directive,
|
|
1629
1619
|
args: [{
|
|
1630
1620
|
selector: '[cdkMenuItemCheckbox]',
|
|
1631
1621
|
exportAs: 'cdkMenuItemCheckbox',
|
|
1632
|
-
standalone: true,
|
|
1633
1622
|
host: {
|
|
1634
1623
|
'role': 'menuitemcheckbox',
|
|
1635
1624
|
'[class.cdk-menu-item-checkbox]': 'true',
|
|
@@ -1661,10 +1650,10 @@ class ContextMenuTracker {
|
|
|
1661
1650
|
ContextMenuTracker._openContextMenuTrigger = trigger;
|
|
1662
1651
|
}
|
|
1663
1652
|
}
|
|
1664
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
1665
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
1653
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: ContextMenuTracker, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1654
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: ContextMenuTracker, providedIn: 'root' }); }
|
|
1666
1655
|
}
|
|
1667
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
1656
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: ContextMenuTracker, decorators: [{
|
|
1668
1657
|
type: Injectable,
|
|
1669
1658
|
args: [{ providedIn: 'root' }]
|
|
1670
1659
|
}] });
|
|
@@ -1814,18 +1803,17 @@ class CdkContextMenuTrigger extends CdkMenuTriggerBase {
|
|
|
1814
1803
|
this._subscribeToOutsideClicks(userEvent);
|
|
1815
1804
|
}
|
|
1816
1805
|
}
|
|
1817
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
1818
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.0.0-next.
|
|
1806
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkContextMenuTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1807
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.0.0-next.10", 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: [
|
|
1819
1808
|
{ provide: MENU_TRIGGER, useExisting: CdkContextMenuTrigger },
|
|
1820
1809
|
{ provide: MENU_STACK, useClass: MenuStack },
|
|
1821
1810
|
], exportAs: ["cdkContextMenuTriggerFor"], usesInheritance: true, ngImport: i0 }); }
|
|
1822
1811
|
}
|
|
1823
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
1812
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkContextMenuTrigger, decorators: [{
|
|
1824
1813
|
type: Directive,
|
|
1825
1814
|
args: [{
|
|
1826
1815
|
selector: '[cdkContextMenuTriggerFor]',
|
|
1827
1816
|
exportAs: 'cdkContextMenuTriggerFor',
|
|
1828
|
-
standalone: true,
|
|
1829
1817
|
host: {
|
|
1830
1818
|
'[attr.data-cdk-menu-stack-id]': 'null',
|
|
1831
1819
|
'(contextmenu)': '_openOnContextMenu($event)',
|
|
@@ -1859,8 +1847,8 @@ const MENU_DIRECTIVES = [
|
|
|
1859
1847
|
];
|
|
1860
1848
|
/** Module that declares components and directives for the CDK menu. */
|
|
1861
1849
|
class CdkMenuModule {
|
|
1862
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
1863
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0-next.
|
|
1850
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1851
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkMenuModule, imports: [OverlayModule, CdkMenuBar,
|
|
1864
1852
|
CdkMenu,
|
|
1865
1853
|
CdkMenuItem,
|
|
1866
1854
|
CdkMenuItemRadio,
|
|
@@ -1877,9 +1865,9 @@ class CdkMenuModule {
|
|
|
1877
1865
|
CdkMenuGroup,
|
|
1878
1866
|
CdkContextMenuTrigger,
|
|
1879
1867
|
CdkTargetMenuAim] }); }
|
|
1880
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
1868
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkMenuModule, imports: [OverlayModule] }); }
|
|
1881
1869
|
}
|
|
1882
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.
|
|
1870
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.10", ngImport: i0, type: CdkMenuModule, decorators: [{
|
|
1883
1871
|
type: NgModule,
|
|
1884
1872
|
args: [{
|
|
1885
1873
|
imports: [OverlayModule, ...MENU_DIRECTIVES],
|