@angular/cdk 18.1.0-next.0 → 18.1.0-next.2
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/dialog/index.d.ts +2 -0
- package/drag-drop/index.d.ts +7 -5
- package/esm2022/a11y/a11y-module.mjs +5 -5
- package/esm2022/a11y/aria-describer/aria-describer.mjs +4 -4
- package/esm2022/a11y/focus-monitor/focus-monitor.mjs +7 -7
- package/esm2022/a11y/focus-trap/configurable-focus-trap-factory.mjs +4 -4
- package/esm2022/a11y/focus-trap/focus-trap-manager.mjs +4 -4
- package/esm2022/a11y/focus-trap/focus-trap.mjs +7 -7
- package/esm2022/a11y/high-contrast-mode/high-contrast-mode-detector.mjs +4 -4
- package/esm2022/a11y/input-modality/input-modality-detector.mjs +4 -4
- package/esm2022/a11y/interactivity-checker/interactivity-checker.mjs +4 -4
- package/esm2022/a11y/live-announcer/live-announcer.mjs +7 -7
- package/esm2022/accordion/accordion-item.mjs +4 -4
- package/esm2022/accordion/accordion-module.mjs +5 -5
- package/esm2022/accordion/accordion.mjs +4 -4
- package/esm2022/bidi/bidi-module.mjs +5 -5
- package/esm2022/bidi/dir.mjs +4 -4
- package/esm2022/bidi/directionality.mjs +4 -4
- package/esm2022/clipboard/clipboard-module.mjs +5 -5
- package/esm2022/clipboard/clipboard.mjs +4 -4
- package/esm2022/clipboard/copy-to-clipboard.mjs +4 -4
- package/esm2022/collections/unique-selection-dispatcher.mjs +4 -4
- package/esm2022/dialog/dialog-container.mjs +38 -33
- package/esm2022/dialog/dialog-module.mjs +5 -5
- package/esm2022/dialog/dialog.mjs +4 -4
- package/esm2022/drag-drop/directives/config.mjs +1 -1
- package/esm2022/drag-drop/directives/drag-handle.mjs +4 -4
- package/esm2022/drag-drop/directives/drag-placeholder.mjs +4 -4
- package/esm2022/drag-drop/directives/drag-preview.mjs +4 -4
- package/esm2022/drag-drop/directives/drag.mjs +4 -4
- package/esm2022/drag-drop/directives/drop-list-group.mjs +4 -4
- package/esm2022/drag-drop/directives/drop-list.mjs +4 -4
- package/esm2022/drag-drop/drag-drop-module.mjs +5 -5
- package/esm2022/drag-drop/drag-drop-registry.mjs +7 -7
- package/esm2022/drag-drop/drag-drop.mjs +4 -4
- package/esm2022/drag-drop/drag-ref.mjs +3 -2
- package/esm2022/drag-drop/drop-list-ref.mjs +20 -9
- package/esm2022/drag-drop/sorting/drop-list-sort-strategy.mjs +1 -1
- package/esm2022/drag-drop/sorting/mixed-sort-strategy.mjs +241 -0
- package/esm2022/drag-drop/sorting/single-axis-sort-strategy.mjs +2 -3
- package/esm2022/layout/breakpoints-observer.mjs +4 -4
- package/esm2022/layout/layout-module.mjs +5 -5
- package/esm2022/layout/media-matcher.mjs +4 -4
- package/esm2022/listbox/listbox-module.mjs +5 -5
- package/esm2022/listbox/listbox.mjs +7 -7
- package/esm2022/menu/context-menu-trigger.mjs +7 -7
- package/esm2022/menu/menu-aim.mjs +7 -7
- package/esm2022/menu/menu-bar.mjs +4 -4
- package/esm2022/menu/menu-base.mjs +16 -13
- package/esm2022/menu/menu-group.mjs +4 -4
- package/esm2022/menu/menu-item-checkbox.mjs +4 -4
- package/esm2022/menu/menu-item-radio.mjs +4 -4
- package/esm2022/menu/menu-item-selectable.mjs +4 -4
- package/esm2022/menu/menu-item.mjs +4 -4
- package/esm2022/menu/menu-module.mjs +5 -5
- package/esm2022/menu/menu-stack.mjs +4 -4
- package/esm2022/menu/menu-trigger-base.mjs +4 -4
- package/esm2022/menu/menu-trigger.mjs +4 -4
- package/esm2022/menu/menu.mjs +4 -4
- package/esm2022/observers/observe-content.mjs +14 -14
- package/esm2022/observers/private/shared-resize-observer.mjs +4 -4
- package/esm2022/overlay/dispatchers/base-overlay-dispatcher.mjs +4 -4
- package/esm2022/overlay/dispatchers/overlay-keyboard-dispatcher.mjs +4 -4
- package/esm2022/overlay/dispatchers/overlay-outside-click-dispatcher.mjs +4 -4
- package/esm2022/overlay/fullscreen-overlay-container.mjs +4 -4
- package/esm2022/overlay/overlay-container.mjs +4 -4
- package/esm2022/overlay/overlay-directives.mjs +7 -7
- package/esm2022/overlay/overlay-module.mjs +5 -5
- package/esm2022/overlay/overlay.mjs +4 -4
- package/esm2022/overlay/position/overlay-position-builder.mjs +4 -4
- package/esm2022/overlay/scroll/scroll-strategy-options.mjs +4 -4
- package/esm2022/platform/platform-module.mjs +5 -5
- package/esm2022/platform/platform.mjs +4 -4
- package/esm2022/portal/portal-directives.mjs +17 -17
- package/esm2022/scrolling/fixed-size-virtual-scroll.mjs +4 -4
- package/esm2022/scrolling/scroll-dispatcher.mjs +4 -4
- package/esm2022/scrolling/scrollable.mjs +4 -4
- package/esm2022/scrolling/scrolling-module.mjs +9 -9
- package/esm2022/scrolling/viewport-ruler.mjs +4 -4
- package/esm2022/scrolling/virtual-for-of.mjs +4 -4
- package/esm2022/scrolling/virtual-scroll-viewport.mjs +4 -4
- package/esm2022/scrolling/virtual-scrollable-element.mjs +4 -4
- package/esm2022/scrolling/virtual-scrollable-window.mjs +4 -4
- package/esm2022/scrolling/virtual-scrollable.mjs +4 -4
- package/esm2022/stepper/step-header.mjs +4 -4
- package/esm2022/stepper/step-label.mjs +4 -4
- package/esm2022/stepper/stepper-button.mjs +7 -7
- package/esm2022/stepper/stepper-module.mjs +5 -5
- package/esm2022/stepper/stepper.mjs +7 -7
- package/esm2022/table/cell.mjs +22 -22
- package/esm2022/table/coalesced-style-scheduler.mjs +4 -4
- package/esm2022/table/row.mjs +28 -28
- package/esm2022/table/table-module.mjs +5 -5
- package/esm2022/table/table.mjs +19 -19
- package/esm2022/table/text-column.mjs +4 -4
- package/esm2022/testing/testbed/testbed-harness-environment.mjs +6 -4
- package/esm2022/text-field/autofill.mjs +7 -7
- package/esm2022/text-field/autosize.mjs +4 -4
- package/esm2022/text-field/text-field-module.mjs +5 -5
- package/esm2022/tree/nested-node.mjs +4 -4
- package/esm2022/tree/node.mjs +4 -4
- package/esm2022/tree/outlet.mjs +4 -4
- package/esm2022/tree/padding.mjs +4 -4
- package/esm2022/tree/toggle.mjs +4 -4
- package/esm2022/tree/tree-module.mjs +5 -5
- package/esm2022/tree/tree.mjs +18 -10
- package/esm2022/version.mjs +1 -1
- package/fesm2022/a11y.mjs +40 -40
- package/fesm2022/a11y.mjs.map +1 -1
- package/fesm2022/accordion.mjs +10 -10
- package/fesm2022/accordion.mjs.map +1 -1
- package/fesm2022/bidi.mjs +10 -10
- 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 -10
- package/fesm2022/clipboard.mjs.map +1 -1
- package/fesm2022/collections.mjs +3 -3
- package/fesm2022/collections.mjs.map +1 -1
- package/fesm2022/dialog.mjs +44 -39
- package/fesm2022/dialog.mjs.map +1 -1
- package/fesm2022/drag-drop.mjs +284 -41
- 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 -10
- package/fesm2022/listbox.mjs.map +1 -1
- package/fesm2022/menu.mjs +57 -54
- 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.mjs +34 -34
- 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 -16
- package/fesm2022/portal.mjs.map +1 -1
- package/fesm2022/scrolling.mjs +35 -35
- package/fesm2022/scrolling.mjs.map +1 -1
- package/fesm2022/stepper.mjs +22 -22
- package/fesm2022/stepper.mjs.map +1 -1
- package/fesm2022/table.mjs +76 -76
- package/fesm2022/table.mjs.map +1 -1
- package/fesm2022/testing/testbed.mjs +5 -3
- package/fesm2022/testing/testbed.mjs.map +1 -1
- package/fesm2022/text-field.mjs +13 -13
- package/fesm2022/text-field.mjs.map +1 -1
- package/fesm2022/tree.mjs +35 -27
- package/fesm2022/tree.mjs.map +1 -1
- package/layout/index.d.ts +1 -1
- package/menu/index.d.ts +2 -1
- package/overlay/index.d.ts +2 -2
- package/package.json +1 -1
- package/schematics/ng-add/index.js +3 -3
- package/schematics/ng-add/index.mjs +3 -3
- package/schematics/ng-add/package-config.js +3 -4
- package/schematics/ng-add/package-config.mjs +3 -4
- package/schematics/ng-generate/drag-drop/index.js +2 -2
- package/schematics/ng-generate/drag-drop/index.mjs +2 -2
- package/schematics/ng-update/devkit-migration-rule.js +4 -4
- package/schematics/ng-update/devkit-migration-rule.mjs +4 -4
- package/schematics/ng-update/find-stylesheets.js +2 -3
- package/schematics/ng-update/find-stylesheets.mjs +2 -3
- package/schematics/ng-update/html-parsing/angular.js +5 -6
- package/schematics/ng-update/html-parsing/angular.mjs +5 -6
- package/schematics/ng-update/html-parsing/elements.js +5 -6
- package/schematics/ng-update/html-parsing/elements.mjs +5 -6
- package/schematics/ng-update/index.js +2 -3
- package/schematics/ng-update/index.mjs +2 -3
- package/schematics/ng-update/typescript/base-types.js +2 -3
- package/schematics/ng-update/typescript/base-types.mjs +2 -3
- package/schematics/ng-update/typescript/imports.js +6 -7
- package/schematics/ng-update/typescript/imports.mjs +6 -7
- package/schematics/ng-update/typescript/literal.js +3 -4
- package/schematics/ng-update/typescript/literal.mjs +3 -4
- package/schematics/ng-update/typescript/module-specifiers.js +4 -4
- package/schematics/ng-update/typescript/module-specifiers.mjs +4 -4
- package/schematics/ng-update/upgrade-data.js +3 -3
- package/schematics/ng-update/upgrade-data.mjs +3 -3
- package/schematics/update-tool/target-version.js +3 -3
- package/schematics/update-tool/target-version.mjs +3 -3
- package/schematics/update-tool/utils/decorators.js +3 -4
- package/schematics/update-tool/utils/decorators.mjs +3 -4
- package/schematics/update-tool/utils/diagnostics.js +2 -3
- package/schematics/update-tool/utils/diagnostics.mjs +2 -3
- package/schematics/update-tool/utils/functions.js +2 -3
- package/schematics/update-tool/utils/functions.mjs +2 -3
- package/schematics/update-tool/utils/imports.js +2 -3
- package/schematics/update-tool/utils/imports.mjs +2 -3
- package/schematics/update-tool/utils/line-mappings.js +3 -4
- package/schematics/update-tool/utils/line-mappings.mjs +3 -4
- package/schematics/update-tool/utils/parse-tsconfig.js +3 -3
- package/schematics/update-tool/utils/parse-tsconfig.mjs +3 -3
- package/schematics/update-tool/utils/property-name.js +3 -4
- package/schematics/update-tool/utils/property-name.mjs +3 -4
- package/schematics/update-tool/utils/virtual-host.js +4 -4
- package/schematics/update-tool/utils/virtual-host.mjs +4 -4
- package/schematics/update-tool/version-changes.js +3 -4
- package/schematics/update-tool/version-changes.mjs +3 -4
- package/schematics/utils/ast/ng-module-imports.js +2 -3
- package/schematics/utils/ast/ng-module-imports.mjs +2 -3
- package/schematics/utils/ast.js +5 -6
- package/schematics/utils/ast.mjs +5 -6
- package/schematics/utils/build-component.js +2 -3
- package/schematics/utils/build-component.mjs +2 -3
- package/schematics/utils/get-project.js +2 -3
- package/schematics/utils/get-project.mjs +2 -3
- package/schematics/utils/html-manipulation.js +4 -5
- package/schematics/utils/html-manipulation.mjs +4 -5
- package/schematics/utils/parse5-element.js +2 -3
- package/schematics/utils/parse5-element.mjs +2 -3
- package/schematics/utils/project-index-file.js +2 -3
- package/schematics/utils/project-index-file.mjs +2 -3
- package/schematics/utils/project-main-file.js +2 -3
- package/schematics/utils/project-main-file.mjs +2 -3
- package/schematics/utils/project-style-file.js +2 -3
- package/schematics/utils/project-style-file.mjs +2 -3
- package/schematics/utils/project-targets.js +4 -5
- package/schematics/utils/project-targets.mjs +4 -5
- package/schematics/utils/project-tsconfig-paths.js +3 -4
- package/schematics/utils/project-tsconfig-paths.mjs +3 -4
- package/schematics/utils/schematic-options.js +3 -4
- package/schematics/utils/schematic-options.mjs +3 -4
- package/table/index.d.ts +8 -8
- package/testing/testbed/index.d.ts +1 -1
- package/tree/index.d.ts +3 -2
package/fesm2022/menu.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive, InjectionToken, Optional, SkipSelf, Inject, Injectable, inject, Injector, ViewContainerRef, EventEmitter, NgZone, ElementRef, ChangeDetectorRef, booleanAttribute, Input, Output, ContentChildren, NgModule } from '@angular/core';
|
|
2
|
+
import { Directive, InjectionToken, Optional, SkipSelf, Inject, Injectable, inject, Injector, ViewContainerRef, EventEmitter, NgZone, ElementRef, ChangeDetectorRef, booleanAttribute, Input, Output, signal, computed, ContentChildren, NgModule } from '@angular/core';
|
|
3
3
|
import { Overlay, OverlayConfig, STANDARD_DROPDOWN_BELOW_POSITIONS, STANDARD_DROPDOWN_ADJACENT_POSITIONS, OverlayModule } from '@angular/cdk/overlay';
|
|
4
4
|
import { ENTER, SPACE, UP_ARROW, hasModifierKey, DOWN_ARROW, LEFT_ARROW, RIGHT_ARROW, TAB, ESCAPE } from '@angular/cdk/keycodes';
|
|
5
5
|
import { startWith, debounceTime, distinctUntilChanged, filter, takeUntil, mergeMap, mapTo, mergeAll, switchMap, skipWhile, skip } from 'rxjs/operators';
|
|
@@ -14,10 +14,10 @@ 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: "18.0.
|
|
18
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.
|
|
17
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0-next.1", ngImport: i0, type: CdkMenuGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
18
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.0-next.1", 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: "18.0.
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0-next.1", ngImport: i0, type: CdkMenuGroup, decorators: [{
|
|
21
21
|
type: Directive,
|
|
22
22
|
args: [{
|
|
23
23
|
selector: '[cdkMenuGroup]',
|
|
@@ -179,10 +179,10 @@ class MenuStack {
|
|
|
179
179
|
setHasFocus(hasFocus) {
|
|
180
180
|
this._hasFocus.next(hasFocus);
|
|
181
181
|
}
|
|
182
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
183
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.
|
|
182
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0-next.1", ngImport: i0, type: MenuStack, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
183
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.0-next.1", ngImport: i0, type: MenuStack }); }
|
|
184
184
|
}
|
|
185
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
185
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0-next.1", ngImport: i0, type: MenuStack, decorators: [{
|
|
186
186
|
type: Injectable
|
|
187
187
|
}] });
|
|
188
188
|
|
|
@@ -278,10 +278,10 @@ class CdkMenuTriggerBase {
|
|
|
278
278
|
});
|
|
279
279
|
return this._childMenuInjector;
|
|
280
280
|
}
|
|
281
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
282
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.
|
|
281
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0-next.1", ngImport: i0, type: CdkMenuTriggerBase, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
282
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.0-next.1", type: CdkMenuTriggerBase, isStandalone: true, host: { properties: { "attr.aria-controls": "childMenu?.id", "attr.data-cdk-menu-stack-id": "menuStack.id" } }, ngImport: i0 }); }
|
|
283
283
|
}
|
|
284
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
284
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0-next.1", ngImport: i0, type: CdkMenuTriggerBase, decorators: [{
|
|
285
285
|
type: Directive,
|
|
286
286
|
args: [{
|
|
287
287
|
host: {
|
|
@@ -475,10 +475,10 @@ class TargetMenuAim {
|
|
|
475
475
|
});
|
|
476
476
|
});
|
|
477
477
|
}
|
|
478
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
479
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.
|
|
478
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0-next.1", ngImport: i0, type: TargetMenuAim, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
479
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.0-next.1", ngImport: i0, type: TargetMenuAim }); }
|
|
480
480
|
}
|
|
481
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
481
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0-next.1", ngImport: i0, type: TargetMenuAim, decorators: [{
|
|
482
482
|
type: Injectable
|
|
483
483
|
}] });
|
|
484
484
|
/**
|
|
@@ -486,10 +486,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.0", ngImpor
|
|
|
486
486
|
* element with either the `cdkMenu` or `cdkMenuBar` directive and child menu items.
|
|
487
487
|
*/
|
|
488
488
|
class CdkTargetMenuAim {
|
|
489
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
490
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.
|
|
489
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0-next.1", ngImport: i0, type: CdkTargetMenuAim, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
490
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.0-next.1", type: CdkTargetMenuAim, isStandalone: true, selector: "[cdkTargetMenuAim]", providers: [{ provide: MENU_AIM, useClass: TargetMenuAim }], exportAs: ["cdkTargetMenuAim"], ngImport: i0 }); }
|
|
491
491
|
}
|
|
492
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
492
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0-next.1", ngImport: i0, type: CdkTargetMenuAim, decorators: [{
|
|
493
493
|
type: Directive,
|
|
494
494
|
args: [{
|
|
495
495
|
selector: '[cdkTargetMenuAim]',
|
|
@@ -777,13 +777,13 @@ class CdkMenuTrigger extends CdkMenuTriggerBase {
|
|
|
777
777
|
element.setAttribute('type', 'button');
|
|
778
778
|
}
|
|
779
779
|
}
|
|
780
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
781
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.
|
|
780
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0-next.1", ngImport: i0, type: CdkMenuTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
781
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.0-next.1", 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
782
|
{ provide: MENU_TRIGGER, useExisting: CdkMenuTrigger },
|
|
783
783
|
PARENT_OR_NEW_MENU_STACK_PROVIDER,
|
|
784
784
|
], exportAs: ["cdkMenuTriggerFor"], usesInheritance: true, ngImport: i0 }); }
|
|
785
785
|
}
|
|
786
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
786
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0-next.1", ngImport: i0, type: CdkMenuTrigger, decorators: [{
|
|
787
787
|
type: Directive,
|
|
788
788
|
args: [{
|
|
789
789
|
selector: '[cdkMenuTriggerFor]',
|
|
@@ -1031,10 +1031,10 @@ class CdkMenuItem {
|
|
|
1031
1031
|
element.setAttribute('type', 'button');
|
|
1032
1032
|
}
|
|
1033
1033
|
}
|
|
1034
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
1035
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.
|
|
1034
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0-next.1", ngImport: i0, type: CdkMenuItem, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1035
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.1.0-next.1", 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
1036
|
}
|
|
1037
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
1037
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0-next.1", ngImport: i0, type: CdkMenuItem, decorators: [{
|
|
1038
1038
|
type: Directive,
|
|
1039
1039
|
args: [{
|
|
1040
1040
|
selector: '[cdkMenuItem]',
|
|
@@ -1135,7 +1135,11 @@ class CdkMenuBase extends CdkMenuGroup {
|
|
|
1135
1135
|
/** Emits when the MenuBar is destroyed. */
|
|
1136
1136
|
this.destroyed = new Subject();
|
|
1137
1137
|
/** Whether this menu's menu stack has focus. */
|
|
1138
|
-
this._menuStackHasFocus = false;
|
|
1138
|
+
this._menuStackHasFocus = signal(false);
|
|
1139
|
+
this._tabIndexSignal = computed(() => {
|
|
1140
|
+
const tabindexIfInline = this._menuStackHasFocus() ? -1 : 0;
|
|
1141
|
+
return this.isInline ? tabindexIfInline : null;
|
|
1142
|
+
});
|
|
1139
1143
|
}
|
|
1140
1144
|
ngAfterContentInit() {
|
|
1141
1145
|
if (!this.isInline) {
|
|
@@ -1171,8 +1175,7 @@ class CdkMenuBase extends CdkMenuGroup {
|
|
|
1171
1175
|
}
|
|
1172
1176
|
/** Gets the tabindex for this menu. */
|
|
1173
1177
|
_getTabIndex() {
|
|
1174
|
-
|
|
1175
|
-
return this.isInline ? tabindexIfInline : null;
|
|
1178
|
+
return this._tabIndexSignal();
|
|
1176
1179
|
}
|
|
1177
1180
|
/**
|
|
1178
1181
|
* Close the open menu if the current active item opened the requested MenuStackItem.
|
|
@@ -1233,7 +1236,7 @@ class CdkMenuBase extends CdkMenuGroup {
|
|
|
1233
1236
|
_subscribeToMenuStackHasFocus() {
|
|
1234
1237
|
if (this.isInline) {
|
|
1235
1238
|
this.menuStack.hasFocus.pipe(takeUntil(this.destroyed)).subscribe(hasFocus => {
|
|
1236
|
-
this._menuStackHasFocus
|
|
1239
|
+
this._menuStackHasFocus.set(hasFocus);
|
|
1237
1240
|
});
|
|
1238
1241
|
}
|
|
1239
1242
|
}
|
|
@@ -1249,10 +1252,10 @@ class CdkMenuBase extends CdkMenuGroup {
|
|
|
1249
1252
|
this.menuAim.initialize(this, this.pointerTracker);
|
|
1250
1253
|
}
|
|
1251
1254
|
}
|
|
1252
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
1253
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.
|
|
1255
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0-next.1", ngImport: i0, type: CdkMenuBase, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1256
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.0-next.1", 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 }); }
|
|
1254
1257
|
}
|
|
1255
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
1258
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0-next.1", ngImport: i0, type: CdkMenuBase, decorators: [{
|
|
1256
1259
|
type: Directive,
|
|
1257
1260
|
args: [{
|
|
1258
1261
|
host: {
|
|
@@ -1365,14 +1368,14 @@ class CdkMenu extends CdkMenuBase {
|
|
|
1365
1368
|
.pipe(takeUntil(this.destroyed))
|
|
1366
1369
|
.subscribe(event => this._toggleMenuFocus(event));
|
|
1367
1370
|
}
|
|
1368
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
1369
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.
|
|
1371
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0-next.1", ngImport: i0, type: CdkMenu, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1372
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.0-next.1", 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: [
|
|
1370
1373
|
{ provide: CdkMenuGroup, useExisting: CdkMenu },
|
|
1371
1374
|
{ provide: CDK_MENU, useExisting: CdkMenu },
|
|
1372
1375
|
PARENT_OR_NEW_INLINE_MENU_STACK_PROVIDER('vertical'),
|
|
1373
1376
|
], exportAs: ["cdkMenu"], usesInheritance: true, ngImport: i0 }); }
|
|
1374
1377
|
}
|
|
1375
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
1378
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0-next.1", ngImport: i0, type: CdkMenu, decorators: [{
|
|
1376
1379
|
type: Directive,
|
|
1377
1380
|
args: [{
|
|
1378
1381
|
selector: '[cdkMenu]',
|
|
@@ -1487,14 +1490,14 @@ class CdkMenuBar extends CdkMenuBase {
|
|
|
1487
1490
|
.pipe(takeUntil(this.destroyed))
|
|
1488
1491
|
.subscribe(event => this._toggleOpenMenu(event));
|
|
1489
1492
|
}
|
|
1490
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
1491
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.
|
|
1493
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0-next.1", ngImport: i0, type: CdkMenuBar, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1494
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.0-next.1", type: CdkMenuBar, isStandalone: true, selector: "[cdkMenuBar]", host: { attributes: { "role": "menubar" }, listeners: { "keydown": "_handleKeyEvent($event)" }, classAttribute: "cdk-menu-bar" }, providers: [
|
|
1492
1495
|
{ provide: CdkMenuGroup, useExisting: CdkMenuBar },
|
|
1493
1496
|
{ provide: CDK_MENU, useExisting: CdkMenuBar },
|
|
1494
1497
|
{ provide: MENU_STACK, useFactory: () => MenuStack.inline('horizontal') },
|
|
1495
1498
|
], exportAs: ["cdkMenuBar"], usesInheritance: true, ngImport: i0 }); }
|
|
1496
1499
|
}
|
|
1497
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
1500
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0-next.1", ngImport: i0, type: CdkMenuBar, decorators: [{
|
|
1498
1501
|
type: Directive,
|
|
1499
1502
|
args: [{
|
|
1500
1503
|
selector: '[cdkMenuBar]',
|
|
@@ -1522,10 +1525,10 @@ class CdkMenuItemSelectable extends CdkMenuItem {
|
|
|
1522
1525
|
/** Whether the item should close the menu if triggered by the spacebar. */
|
|
1523
1526
|
this.closeOnSpacebarTrigger = false;
|
|
1524
1527
|
}
|
|
1525
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
1526
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.
|
|
1528
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0-next.1", ngImport: i0, type: CdkMenuItemSelectable, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1529
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.1.0-next.1", type: CdkMenuItemSelectable, isStandalone: true, inputs: { checked: ["cdkMenuItemChecked", "checked", booleanAttribute] }, host: { properties: { "attr.aria-checked": "!!checked", "attr.aria-disabled": "disabled || null" } }, usesInheritance: true, ngImport: i0 }); }
|
|
1527
1530
|
}
|
|
1528
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
1531
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0-next.1", ngImport: i0, type: CdkMenuItemSelectable, decorators: [{
|
|
1529
1532
|
type: Directive,
|
|
1530
1533
|
args: [{
|
|
1531
1534
|
host: {
|
|
@@ -1576,13 +1579,13 @@ class CdkMenuItemRadio extends CdkMenuItemSelectable {
|
|
|
1576
1579
|
this.checked = this._id === id;
|
|
1577
1580
|
});
|
|
1578
1581
|
}
|
|
1579
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
1580
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.
|
|
1582
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0-next.1", ngImport: i0, type: CdkMenuItemRadio, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1583
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.0-next.1", type: CdkMenuItemRadio, isStandalone: true, selector: "[cdkMenuItemRadio]", host: { attributes: { "role": "menuitemradio" }, properties: { "class.cdk-menu-item-radio": "true" } }, providers: [
|
|
1581
1584
|
{ provide: CdkMenuItemSelectable, useExisting: CdkMenuItemRadio },
|
|
1582
1585
|
{ provide: CdkMenuItem, useExisting: CdkMenuItemSelectable },
|
|
1583
1586
|
], exportAs: ["cdkMenuItemRadio"], usesInheritance: true, ngImport: i0 }); }
|
|
1584
1587
|
}
|
|
1585
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
1588
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0-next.1", ngImport: i0, type: CdkMenuItemRadio, decorators: [{
|
|
1586
1589
|
type: Directive,
|
|
1587
1590
|
args: [{
|
|
1588
1591
|
selector: '[cdkMenuItemRadio]',
|
|
@@ -1615,13 +1618,13 @@ class CdkMenuItemCheckbox extends CdkMenuItemSelectable {
|
|
|
1615
1618
|
this.checked = !this.checked;
|
|
1616
1619
|
}
|
|
1617
1620
|
}
|
|
1618
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
1619
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.0.
|
|
1621
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0-next.1", ngImport: i0, type: CdkMenuItemCheckbox, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1622
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.1.0-next.1", type: CdkMenuItemCheckbox, isStandalone: true, selector: "[cdkMenuItemCheckbox]", host: { attributes: { "role": "menuitemcheckbox" }, properties: { "class.cdk-menu-item-checkbox": "true" } }, providers: [
|
|
1620
1623
|
{ provide: CdkMenuItemSelectable, useExisting: CdkMenuItemCheckbox },
|
|
1621
1624
|
{ provide: CdkMenuItem, useExisting: CdkMenuItemSelectable },
|
|
1622
1625
|
], exportAs: ["cdkMenuItemCheckbox"], usesInheritance: true, ngImport: i0 }); }
|
|
1623
1626
|
}
|
|
1624
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
1627
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0-next.1", ngImport: i0, type: CdkMenuItemCheckbox, decorators: [{
|
|
1625
1628
|
type: Directive,
|
|
1626
1629
|
args: [{
|
|
1627
1630
|
selector: '[cdkMenuItemCheckbox]',
|
|
@@ -1658,10 +1661,10 @@ class ContextMenuTracker {
|
|
|
1658
1661
|
ContextMenuTracker._openContextMenuTrigger = trigger;
|
|
1659
1662
|
}
|
|
1660
1663
|
}
|
|
1661
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
1662
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.0.
|
|
1664
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0-next.1", ngImport: i0, type: ContextMenuTracker, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1665
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.1.0-next.1", ngImport: i0, type: ContextMenuTracker, providedIn: 'root' }); }
|
|
1663
1666
|
}
|
|
1664
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
1667
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0-next.1", ngImport: i0, type: ContextMenuTracker, decorators: [{
|
|
1665
1668
|
type: Injectable,
|
|
1666
1669
|
args: [{ providedIn: 'root' }]
|
|
1667
1670
|
}] });
|
|
@@ -1811,13 +1814,13 @@ class CdkContextMenuTrigger extends CdkMenuTriggerBase {
|
|
|
1811
1814
|
this._subscribeToOutsideClicks(userEvent);
|
|
1812
1815
|
}
|
|
1813
1816
|
}
|
|
1814
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
1815
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.0.
|
|
1817
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0-next.1", ngImport: i0, type: CdkContextMenuTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1818
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "18.1.0-next.1", 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: [
|
|
1816
1819
|
{ provide: MENU_TRIGGER, useExisting: CdkContextMenuTrigger },
|
|
1817
1820
|
{ provide: MENU_STACK, useClass: MenuStack },
|
|
1818
1821
|
], exportAs: ["cdkContextMenuTriggerFor"], usesInheritance: true, ngImport: i0 }); }
|
|
1819
1822
|
}
|
|
1820
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
1823
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0-next.1", ngImport: i0, type: CdkContextMenuTrigger, decorators: [{
|
|
1821
1824
|
type: Directive,
|
|
1822
1825
|
args: [{
|
|
1823
1826
|
selector: '[cdkContextMenuTriggerFor]',
|
|
@@ -1856,8 +1859,8 @@ const MENU_DIRECTIVES = [
|
|
|
1856
1859
|
];
|
|
1857
1860
|
/** Module that declares components and directives for the CDK menu. */
|
|
1858
1861
|
class CdkMenuModule {
|
|
1859
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.0.
|
|
1860
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.0.
|
|
1862
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.1.0-next.1", ngImport: i0, type: CdkMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
1863
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.1.0-next.1", ngImport: i0, type: CdkMenuModule, imports: [OverlayModule, CdkMenuBar,
|
|
1861
1864
|
CdkMenu,
|
|
1862
1865
|
CdkMenuItem,
|
|
1863
1866
|
CdkMenuItemRadio,
|
|
@@ -1874,9 +1877,9 @@ class CdkMenuModule {
|
|
|
1874
1877
|
CdkMenuGroup,
|
|
1875
1878
|
CdkContextMenuTrigger,
|
|
1876
1879
|
CdkTargetMenuAim] }); }
|
|
1877
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.0.
|
|
1880
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.1.0-next.1", ngImport: i0, type: CdkMenuModule, imports: [OverlayModule] }); }
|
|
1878
1881
|
}
|
|
1879
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.0.
|
|
1882
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.0-next.1", ngImport: i0, type: CdkMenuModule, decorators: [{
|
|
1880
1883
|
type: NgModule,
|
|
1881
1884
|
args: [{
|
|
1882
1885
|
imports: [OverlayModule, ...MENU_DIRECTIVES],
|