@angular/cdk 16.0.0-next.4 → 16.0.0-next.5
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/a11y/index.d.ts +2 -2
- package/accordion/index.d.ts +2 -2
- package/bidi/index.d.ts +1 -1
- package/clipboard/index.d.ts +1 -1
- package/drag-drop/index.d.ts +6 -6
- package/esm2020/a11y/a11y-module.mjs +4 -4
- package/esm2020/a11y/aria-describer/aria-describer.mjs +3 -3
- package/esm2020/a11y/focus-monitor/focus-monitor.mjs +6 -6
- package/esm2020/a11y/focus-trap/configurable-focus-trap-factory.mjs +3 -3
- package/esm2020/a11y/focus-trap/focus-trap-manager.mjs +3 -3
- package/esm2020/a11y/focus-trap/focus-trap.mjs +6 -6
- package/esm2020/a11y/high-contrast-mode/high-contrast-mode-detector.mjs +3 -3
- package/esm2020/a11y/input-modality/input-modality-detector.mjs +3 -3
- package/esm2020/a11y/interactivity-checker/interactivity-checker.mjs +3 -3
- package/esm2020/a11y/live-announcer/live-announcer.mjs +6 -6
- package/esm2020/accordion/accordion-item.mjs +3 -3
- package/esm2020/accordion/accordion-module.mjs +4 -4
- package/esm2020/accordion/accordion.mjs +3 -3
- package/esm2020/bidi/bidi-module.mjs +4 -4
- package/esm2020/bidi/dir.mjs +3 -3
- package/esm2020/bidi/directionality.mjs +3 -3
- package/esm2020/clipboard/clipboard-module.mjs +4 -4
- package/esm2020/clipboard/clipboard.mjs +3 -3
- package/esm2020/clipboard/copy-to-clipboard.mjs +3 -3
- package/esm2020/collections/unique-selection-dispatcher.mjs +3 -3
- package/esm2020/dialog/dialog-container.mjs +3 -3
- package/esm2020/dialog/dialog-module.mjs +4 -4
- package/esm2020/dialog/dialog.mjs +3 -3
- package/esm2020/drag-drop/directives/drag-handle.mjs +3 -3
- package/esm2020/drag-drop/directives/drag-placeholder.mjs +3 -3
- package/esm2020/drag-drop/directives/drag-preview.mjs +3 -3
- package/esm2020/drag-drop/directives/drag.mjs +3 -3
- package/esm2020/drag-drop/directives/drop-list-group.mjs +3 -3
- package/esm2020/drag-drop/directives/drop-list.mjs +3 -3
- package/esm2020/drag-drop/drag-drop-module.mjs +4 -4
- package/esm2020/drag-drop/drag-drop-registry.mjs +3 -3
- package/esm2020/drag-drop/drag-drop.mjs +3 -3
- package/esm2020/layout/breakpoints-observer.mjs +3 -3
- package/esm2020/layout/layout-module.mjs +4 -4
- package/esm2020/layout/media-matcher.mjs +3 -3
- package/esm2020/listbox/listbox-module.mjs +4 -4
- package/esm2020/listbox/listbox.mjs +6 -6
- package/esm2020/menu/context-menu-trigger.mjs +6 -6
- package/esm2020/menu/menu-aim.mjs +6 -6
- package/esm2020/menu/menu-bar.mjs +3 -3
- package/esm2020/menu/menu-base.mjs +3 -3
- package/esm2020/menu/menu-group.mjs +3 -3
- package/esm2020/menu/menu-item-checkbox.mjs +3 -3
- package/esm2020/menu/menu-item-radio.mjs +3 -3
- package/esm2020/menu/menu-item-selectable.mjs +3 -3
- package/esm2020/menu/menu-item.mjs +3 -3
- package/esm2020/menu/menu-module.mjs +4 -4
- package/esm2020/menu/menu-stack.mjs +3 -3
- package/esm2020/menu/menu-trigger-base.mjs +3 -3
- package/esm2020/menu/menu-trigger.mjs +5 -4
- package/esm2020/menu/menu.mjs +3 -3
- package/esm2020/observers/observe-content.mjs +13 -13
- package/esm2020/overlay/dispatchers/base-overlay-dispatcher.mjs +3 -3
- package/esm2020/overlay/dispatchers/overlay-keyboard-dispatcher.mjs +3 -3
- package/esm2020/overlay/dispatchers/overlay-outside-click-dispatcher.mjs +3 -3
- package/esm2020/overlay/fullscreen-overlay-container.mjs +3 -3
- package/esm2020/overlay/overlay-container.mjs +3 -3
- package/esm2020/overlay/overlay-directives.mjs +6 -6
- package/esm2020/overlay/overlay-module.mjs +4 -4
- package/esm2020/overlay/overlay.mjs +3 -3
- package/esm2020/overlay/position/overlay-position-builder.mjs +3 -3
- package/esm2020/overlay/scroll/scroll-strategy-options.mjs +3 -3
- package/esm2020/platform/platform-module.mjs +4 -4
- package/esm2020/platform/platform.mjs +3 -3
- package/esm2020/portal/portal-directives.mjs +16 -16
- package/esm2020/scrolling/fixed-size-virtual-scroll.mjs +3 -3
- package/esm2020/scrolling/scroll-dispatcher.mjs +3 -3
- package/esm2020/scrolling/scrollable.mjs +3 -3
- package/esm2020/scrolling/scrolling-module.mjs +8 -8
- package/esm2020/scrolling/viewport-ruler.mjs +3 -3
- package/esm2020/scrolling/virtual-for-of.mjs +3 -3
- package/esm2020/scrolling/virtual-scroll-viewport.mjs +3 -3
- package/esm2020/scrolling/virtual-scrollable-element.mjs +3 -3
- package/esm2020/scrolling/virtual-scrollable-window.mjs +3 -3
- package/esm2020/scrolling/virtual-scrollable.mjs +3 -3
- package/esm2020/stepper/step-header.mjs +3 -3
- package/esm2020/stepper/step-label.mjs +3 -3
- package/esm2020/stepper/stepper-button.mjs +6 -6
- package/esm2020/stepper/stepper-module.mjs +4 -4
- package/esm2020/stepper/stepper.mjs +6 -6
- package/esm2020/table/cell.mjs +21 -21
- package/esm2020/table/coalesced-style-scheduler.mjs +3 -3
- package/esm2020/table/row.mjs +27 -27
- package/esm2020/table/table-module.mjs +4 -4
- package/esm2020/table/table.mjs +18 -18
- package/esm2020/table/text-column.mjs +3 -3
- package/esm2020/text-field/autofill.mjs +6 -6
- package/esm2020/text-field/autosize.mjs +3 -3
- package/esm2020/text-field/text-field-module.mjs +4 -4
- package/esm2020/tree/nested-node.mjs +3 -3
- package/esm2020/tree/node.mjs +3 -3
- package/esm2020/tree/outlet.mjs +3 -3
- package/esm2020/tree/padding.mjs +3 -3
- package/esm2020/tree/toggle.mjs +3 -3
- package/esm2020/tree/tree-module.mjs +4 -4
- package/esm2020/tree/tree.mjs +6 -6
- package/esm2020/version.mjs +1 -1
- package/fesm2015/a11y.mjs +40 -175
- package/fesm2015/a11y.mjs.map +1 -1
- package/fesm2015/accordion.mjs +10 -47
- package/fesm2015/accordion.mjs.map +1 -1
- package/fesm2015/bidi.mjs +10 -54
- package/fesm2015/bidi.mjs.map +1 -1
- package/fesm2015/cdk.mjs +1 -24
- package/fesm2015/cdk.mjs.map +1 -1
- package/fesm2015/clipboard.mjs +10 -54
- package/fesm2015/clipboard.mjs.map +1 -1
- package/fesm2015/coercion.mjs +0 -58
- package/fesm2015/coercion.mjs.map +1 -1
- package/fesm2015/collections.mjs +3 -68
- package/fesm2015/collections.mjs.map +1 -1
- package/fesm2015/dialog.mjs +10 -61
- package/fesm2015/dialog.mjs.map +1 -1
- package/fesm2015/drag-drop.mjs +28 -184
- package/fesm2015/drag-drop.mjs.map +1 -1
- package/fesm2015/keycodes.mjs +0 -30
- package/fesm2015/keycodes.mjs.map +1 -1
- package/fesm2015/layout.mjs +10 -54
- package/fesm2015/layout.mjs.map +1 -1
- package/fesm2015/listbox.mjs +10 -40
- package/fesm2015/listbox.mjs.map +1 -1
- package/fesm2015/menu.mjs +51 -184
- package/fesm2015/menu.mjs.map +1 -1
- package/fesm2015/observers.mjs +13 -36
- package/fesm2015/observers.mjs.map +1 -1
- package/fesm2015/overlay.mjs +34 -178
- package/fesm2015/overlay.mjs.map +1 -1
- package/fesm2015/platform.mjs +7 -72
- package/fesm2015/platform.mjs.map +1 -1
- package/fesm2015/portal.mjs +16 -67
- package/fesm2015/portal.mjs.map +1 -1
- package/fesm2015/scrolling.mjs +35 -86
- package/fesm2015/scrolling.mjs.map +1 -1
- package/fesm2015/stepper.mjs +22 -73
- package/fesm2015/stepper.mjs.map +1 -1
- package/fesm2015/table.mjs +76 -162
- package/fesm2015/table.mjs.map +1 -1
- package/fesm2015/testing/selenium-webdriver.mjs +0 -23
- package/fesm2015/testing/selenium-webdriver.mjs.map +1 -1
- package/fesm2015/testing/testbed.mjs +1 -58
- package/fesm2015/testing/testbed.mjs.map +1 -1
- package/fesm2015/testing.mjs +0 -37
- package/fesm2015/testing.mjs.map +1 -1
- package/fesm2015/text-field.mjs +13 -50
- package/fesm2015/text-field.mjs.map +1 -1
- package/fesm2015/tree.mjs +25 -104
- package/fesm2015/tree.mjs.map +1 -1
- package/fesm2020/a11y.mjs +40 -197
- package/fesm2020/a11y.mjs.map +1 -1
- package/fesm2020/accordion.mjs +10 -47
- package/fesm2020/accordion.mjs.map +1 -1
- package/fesm2020/bidi.mjs +10 -54
- package/fesm2020/bidi.mjs.map +1 -1
- package/fesm2020/cdk.mjs +1 -24
- package/fesm2020/cdk.mjs.map +1 -1
- package/fesm2020/clipboard.mjs +10 -54
- package/fesm2020/clipboard.mjs.map +1 -1
- package/fesm2020/coercion.mjs +0 -58
- package/fesm2020/coercion.mjs.map +1 -1
- package/fesm2020/collections.mjs +3 -84
- package/fesm2020/collections.mjs.map +1 -1
- package/fesm2020/dialog.mjs +10 -68
- package/fesm2020/dialog.mjs.map +1 -1
- package/fesm2020/drag-drop.mjs +28 -199
- package/fesm2020/drag-drop.mjs.map +1 -1
- package/fesm2020/keycodes.mjs +0 -30
- package/fesm2020/keycodes.mjs.map +1 -1
- package/fesm2020/layout.mjs +10 -54
- package/fesm2020/layout.mjs.map +1 -1
- package/fesm2020/listbox.mjs +10 -40
- package/fesm2020/listbox.mjs.map +1 -1
- package/fesm2020/menu.mjs +50 -184
- package/fesm2020/menu.mjs.map +1 -1
- package/fesm2020/observers.mjs +13 -36
- package/fesm2020/observers.mjs.map +1 -1
- package/fesm2020/overlay.mjs +34 -206
- package/fesm2020/overlay.mjs.map +1 -1
- package/fesm2020/platform.mjs +7 -72
- package/fesm2020/platform.mjs.map +1 -1
- package/fesm2020/portal.mjs +16 -67
- package/fesm2020/portal.mjs.map +1 -1
- package/fesm2020/scrolling.mjs +35 -136
- package/fesm2020/scrolling.mjs.map +1 -1
- package/fesm2020/stepper.mjs +22 -73
- package/fesm2020/stepper.mjs.map +1 -1
- package/fesm2020/table.mjs +76 -169
- package/fesm2020/table.mjs.map +1 -1
- package/fesm2020/testing/selenium-webdriver.mjs +0 -37
- package/fesm2020/testing/selenium-webdriver.mjs.map +1 -1
- package/fesm2020/testing/testbed.mjs +1 -72
- package/fesm2020/testing/testbed.mjs.map +1 -1
- package/fesm2020/testing.mjs +0 -66
- package/fesm2020/testing.mjs.map +1 -1
- package/fesm2020/text-field.mjs +13 -50
- package/fesm2020/text-field.mjs.map +1 -1
- package/fesm2020/tree.mjs +25 -111
- package/fesm2020/tree.mjs.map +1 -1
- package/listbox/index.d.ts +2 -2
- package/menu/index.d.ts +5 -5
- package/observers/index.d.ts +1 -1
- package/overlay/index.d.ts +1 -1
- package/package.json +1 -1
- package/portal/index.d.ts +2 -2
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-add/index.mjs +1 -1
- package/scrolling/index.d.ts +3 -3
- package/stepper/index.d.ts +4 -4
- package/table/index.d.ts +6 -6
- package/text-field/index.d.ts +1 -1
- package/tree/index.d.ts +6 -6
package/fesm2020/menu.mjs
CHANGED
|
@@ -11,21 +11,14 @@ import { coerceBooleanProperty } from '@angular/cdk/coercion';
|
|
|
11
11
|
import { Directionality } from '@angular/cdk/bidi';
|
|
12
12
|
import { _getEventTarget } from '@angular/cdk/platform';
|
|
13
13
|
|
|
14
|
-
/**
|
|
15
|
-
* @license
|
|
16
|
-
* Copyright Google LLC All Rights Reserved.
|
|
17
|
-
*
|
|
18
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
19
|
-
* found in the LICENSE file at https://angular.io/license
|
|
20
|
-
*/
|
|
21
14
|
/**
|
|
22
15
|
* A grouping container for `CdkMenuItemRadio` instances, similar to a `role="radiogroup"` element.
|
|
23
16
|
*/
|
|
24
17
|
class CdkMenuGroup {
|
|
25
18
|
}
|
|
26
|
-
CdkMenuGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
27
|
-
CdkMenuGroup.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
19
|
+
CdkMenuGroup.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkMenuGroup, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
20
|
+
CdkMenuGroup.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: CdkMenuGroup, isStandalone: true, selector: "[cdkMenuGroup]", host: { attributes: { "role": "group" }, classAttribute: "cdk-menu-group" }, providers: [{ provide: UniqueSelectionDispatcher, useClass: UniqueSelectionDispatcher }], exportAs: ["cdkMenuGroup"], ngImport: i0 });
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkMenuGroup, decorators: [{
|
|
29
22
|
type: Directive,
|
|
30
23
|
args: [{
|
|
31
24
|
selector: '[cdkMenuGroup]',
|
|
@@ -39,23 +32,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
39
32
|
}]
|
|
40
33
|
}] });
|
|
41
34
|
|
|
42
|
-
/**
|
|
43
|
-
* @license
|
|
44
|
-
* Copyright Google LLC All Rights Reserved.
|
|
45
|
-
*
|
|
46
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
47
|
-
* found in the LICENSE file at https://angular.io/license
|
|
48
|
-
*/
|
|
49
35
|
/** Injection token used to return classes implementing the Menu interface */
|
|
50
36
|
const CDK_MENU = new InjectionToken('cdk-menu');
|
|
51
37
|
|
|
52
|
-
/**
|
|
53
|
-
* @license
|
|
54
|
-
* Copyright Google LLC All Rights Reserved.
|
|
55
|
-
*
|
|
56
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
57
|
-
* found in the LICENSE file at https://angular.io/license
|
|
58
|
-
*/
|
|
59
38
|
/** Injection token used for an implementation of MenuStack. */
|
|
60
39
|
const MENU_STACK = new InjectionToken('cdk-menu-stack');
|
|
61
40
|
/** Provider that provides the parent menu stack, or a new menu stack if there is no parent one. */
|
|
@@ -195,19 +174,12 @@ class MenuStack {
|
|
|
195
174
|
this._hasFocus.next(hasFocus);
|
|
196
175
|
}
|
|
197
176
|
}
|
|
198
|
-
MenuStack.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
199
|
-
MenuStack.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
200
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
177
|
+
MenuStack.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MenuStack, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
178
|
+
MenuStack.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MenuStack });
|
|
179
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: MenuStack, decorators: [{
|
|
201
180
|
type: Injectable
|
|
202
181
|
}] });
|
|
203
182
|
|
|
204
|
-
/**
|
|
205
|
-
* @license
|
|
206
|
-
* Copyright Google LLC All Rights Reserved.
|
|
207
|
-
*
|
|
208
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
209
|
-
* found in the LICENSE file at https://angular.io/license
|
|
210
|
-
*/
|
|
211
183
|
/** Injection token used for an implementation of MenuStack. */
|
|
212
184
|
const MENU_TRIGGER = new InjectionToken('cdk-menu-trigger');
|
|
213
185
|
/**
|
|
@@ -291,9 +263,9 @@ class CdkMenuTriggerBase {
|
|
|
291
263
|
return this._childMenuInjector;
|
|
292
264
|
}
|
|
293
265
|
}
|
|
294
|
-
CdkMenuTriggerBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
295
|
-
CdkMenuTriggerBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.
|
|
296
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
266
|
+
CdkMenuTriggerBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkMenuTriggerBase, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
267
|
+
CdkMenuTriggerBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: CdkMenuTriggerBase, host: { properties: { "attr.aria-controls": "childMenu?.id", "attr.data-cdk-menu-stack-id": "menuStack.id" } }, ngImport: i0 });
|
|
268
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkMenuTriggerBase, decorators: [{
|
|
297
269
|
type: Directive,
|
|
298
270
|
args: [{
|
|
299
271
|
host: {
|
|
@@ -303,13 +275,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
303
275
|
}]
|
|
304
276
|
}] });
|
|
305
277
|
|
|
306
|
-
/**
|
|
307
|
-
* @license
|
|
308
|
-
* Copyright Google LLC All Rights Reserved.
|
|
309
|
-
*
|
|
310
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
311
|
-
* found in the LICENSE file at https://angular.io/license
|
|
312
|
-
*/
|
|
313
278
|
/**
|
|
314
279
|
* Throws an exception when an instance of the PointerFocusTracker is not provided.
|
|
315
280
|
* @docs-private
|
|
@@ -325,13 +290,6 @@ function throwMissingMenuReference() {
|
|
|
325
290
|
throw Error('expected a reference to the parent menu');
|
|
326
291
|
}
|
|
327
292
|
|
|
328
|
-
/**
|
|
329
|
-
* @license
|
|
330
|
-
* Copyright Google LLC All Rights Reserved.
|
|
331
|
-
*
|
|
332
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
333
|
-
* found in the LICENSE file at https://angular.io/license
|
|
334
|
-
*/
|
|
335
293
|
/** Injection token used for an implementation of MenuAim. */
|
|
336
294
|
const MENU_AIM = new InjectionToken('cdk-menu-aim');
|
|
337
295
|
/** Capture every nth mouse move event. */
|
|
@@ -501,9 +459,9 @@ class TargetMenuAim {
|
|
|
501
459
|
});
|
|
502
460
|
}
|
|
503
461
|
}
|
|
504
|
-
TargetMenuAim.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
505
|
-
TargetMenuAim.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
506
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
462
|
+
TargetMenuAim.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: TargetMenuAim, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
463
|
+
TargetMenuAim.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: TargetMenuAim });
|
|
464
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: TargetMenuAim, decorators: [{
|
|
507
465
|
type: Injectable
|
|
508
466
|
}] });
|
|
509
467
|
/**
|
|
@@ -512,9 +470,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
512
470
|
*/
|
|
513
471
|
class CdkTargetMenuAim {
|
|
514
472
|
}
|
|
515
|
-
CdkTargetMenuAim.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
516
|
-
CdkTargetMenuAim.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.
|
|
517
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
473
|
+
CdkTargetMenuAim.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkTargetMenuAim, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
474
|
+
CdkTargetMenuAim.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: CdkTargetMenuAim, isStandalone: true, selector: "[cdkTargetMenuAim]", providers: [{ provide: MENU_AIM, useClass: TargetMenuAim }], exportAs: ["cdkTargetMenuAim"], ngImport: i0 });
|
|
475
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkTargetMenuAim, decorators: [{
|
|
518
476
|
type: Directive,
|
|
519
477
|
args: [{
|
|
520
478
|
selector: '[cdkTargetMenuAim]',
|
|
@@ -524,13 +482,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
524
482
|
}]
|
|
525
483
|
}] });
|
|
526
484
|
|
|
527
|
-
/**
|
|
528
|
-
* @license
|
|
529
|
-
* Copyright Google LLC All Rights Reserved.
|
|
530
|
-
*
|
|
531
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
532
|
-
* found in the LICENSE file at https://angular.io/license
|
|
533
|
-
*/
|
|
534
485
|
/**
|
|
535
486
|
* A directive that turns its host element into a trigger for a popup menu.
|
|
536
487
|
* It can be combined with cdkMenuItem to create sub-menus. If the element is in a top level
|
|
@@ -636,6 +587,7 @@ class CdkMenuTrigger extends CdkMenuTriggerBase {
|
|
|
636
587
|
// already do the same on `keydown` events for enter and space.
|
|
637
588
|
if (this._inputModalityDetector.mostRecentModality !== 'keyboard') {
|
|
638
589
|
this.toggle();
|
|
590
|
+
this.childMenu?.focusFirstItem('mouse');
|
|
639
591
|
}
|
|
640
592
|
}
|
|
641
593
|
/**
|
|
@@ -783,12 +735,12 @@ class CdkMenuTrigger extends CdkMenuTriggerBase {
|
|
|
783
735
|
}
|
|
784
736
|
}
|
|
785
737
|
}
|
|
786
|
-
CdkMenuTrigger.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
787
|
-
CdkMenuTrigger.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.
|
|
738
|
+
CdkMenuTrigger.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkMenuTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
739
|
+
CdkMenuTrigger.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", 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: [
|
|
788
740
|
{ provide: MENU_TRIGGER, useExisting: CdkMenuTrigger },
|
|
789
741
|
PARENT_OR_NEW_MENU_STACK_PROVIDER,
|
|
790
742
|
], exportAs: ["cdkMenuTriggerFor"], usesInheritance: true, ngImport: i0 });
|
|
791
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
743
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkMenuTrigger, decorators: [{
|
|
792
744
|
type: Directive,
|
|
793
745
|
args: [{
|
|
794
746
|
selector: '[cdkMenuTriggerFor]',
|
|
@@ -816,13 +768,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
816
768
|
}]
|
|
817
769
|
}], ctorParameters: function () { return []; } });
|
|
818
770
|
|
|
819
|
-
/**
|
|
820
|
-
* @license
|
|
821
|
-
* Copyright Google LLC All Rights Reserved.
|
|
822
|
-
*
|
|
823
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
824
|
-
* found in the LICENSE file at https://angular.io/license
|
|
825
|
-
*/
|
|
826
771
|
/**
|
|
827
772
|
* Directive which provides the ability for an element to be focused and navigated to using the
|
|
828
773
|
* keyboard when residing in a CdkMenu, CdkMenuBar, or CdkMenuGroup. It performs user defined
|
|
@@ -1051,9 +996,9 @@ class CdkMenuItem {
|
|
|
1051
996
|
}
|
|
1052
997
|
}
|
|
1053
998
|
}
|
|
1054
|
-
CdkMenuItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
1055
|
-
CdkMenuItem.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.
|
|
1056
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
999
|
+
CdkMenuItem.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkMenuItem, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1000
|
+
CdkMenuItem.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: CdkMenuItem, isStandalone: true, selector: "[cdkMenuItem]", inputs: { disabled: ["cdkMenuItemDisabled", "disabled"], typeaheadLabel: ["cdkMenuitemTypeaheadLabel", "typeaheadLabel"] }, outputs: { triggered: "cdkMenuItemTriggered" }, host: { attributes: { "role": "menuitem" }, listeners: { "blur": "_resetTabIndex()", "focus": "_setTabIndex()", "click": "_handleClick()", "keydown": "_onKeydown($event)" }, properties: { "tabindex": "_tabindex", "attr.aria-disabled": "disabled || null" }, classAttribute: "cdk-menu-item" }, exportAs: ["cdkMenuItem"], ngImport: i0 });
|
|
1001
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkMenuItem, decorators: [{
|
|
1057
1002
|
type: Directive,
|
|
1058
1003
|
args: [{
|
|
1059
1004
|
selector: '[cdkMenuItem]',
|
|
@@ -1081,13 +1026,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
1081
1026
|
args: ['cdkMenuItemTriggered']
|
|
1082
1027
|
}] } });
|
|
1083
1028
|
|
|
1084
|
-
/**
|
|
1085
|
-
* @license
|
|
1086
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1087
|
-
*
|
|
1088
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1089
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1090
|
-
*/
|
|
1091
1029
|
/**
|
|
1092
1030
|
* PointerFocusTracker keeps track of the currently active item under mouse focus. It also has
|
|
1093
1031
|
* observables which emit when the users mouse enters and leaves a tracked element.
|
|
@@ -1130,13 +1068,6 @@ class PointerFocusTracker {
|
|
|
1130
1068
|
}
|
|
1131
1069
|
}
|
|
1132
1070
|
|
|
1133
|
-
/**
|
|
1134
|
-
* @license
|
|
1135
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1136
|
-
*
|
|
1137
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1138
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1139
|
-
*/
|
|
1140
1071
|
/** Counter used to create unique IDs for menus. */
|
|
1141
1072
|
let nextId$1 = 0;
|
|
1142
1073
|
/**
|
|
@@ -1283,9 +1214,9 @@ class CdkMenuBase extends CdkMenuGroup {
|
|
|
1283
1214
|
}
|
|
1284
1215
|
}
|
|
1285
1216
|
}
|
|
1286
|
-
CdkMenuBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
1287
|
-
CdkMenuBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.
|
|
1288
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
1217
|
+
CdkMenuBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkMenuBase, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1218
|
+
CdkMenuBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: CdkMenuBase, 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 });
|
|
1219
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkMenuBase, decorators: [{
|
|
1289
1220
|
type: Directive,
|
|
1290
1221
|
args: [{
|
|
1291
1222
|
host: {
|
|
@@ -1307,13 +1238,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
1307
1238
|
args: [CdkMenuItem, { descendants: true }]
|
|
1308
1239
|
}] } });
|
|
1309
1240
|
|
|
1310
|
-
/**
|
|
1311
|
-
* @license
|
|
1312
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1313
|
-
*
|
|
1314
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1315
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1316
|
-
*/
|
|
1317
1241
|
/**
|
|
1318
1242
|
* Directive which configures the element as a Menu which should contain child elements marked as
|
|
1319
1243
|
* CdkMenuItem or CdkMenuGroup. Sets the appropriate role and aria-attributes for a menu and
|
|
@@ -1405,13 +1329,13 @@ class CdkMenu extends CdkMenuBase {
|
|
|
1405
1329
|
.subscribe(event => this._toggleMenuFocus(event));
|
|
1406
1330
|
}
|
|
1407
1331
|
}
|
|
1408
|
-
CdkMenu.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
1409
|
-
CdkMenu.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.
|
|
1332
|
+
CdkMenu.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkMenu, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1333
|
+
CdkMenu.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", 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: [
|
|
1410
1334
|
{ provide: CdkMenuGroup, useExisting: CdkMenu },
|
|
1411
1335
|
{ provide: CDK_MENU, useExisting: CdkMenu },
|
|
1412
1336
|
PARENT_OR_NEW_INLINE_MENU_STACK_PROVIDER('vertical'),
|
|
1413
1337
|
], exportAs: ["cdkMenu"], usesInheritance: true, ngImport: i0 });
|
|
1414
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
1338
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkMenu, decorators: [{
|
|
1415
1339
|
type: Directive,
|
|
1416
1340
|
args: [{
|
|
1417
1341
|
selector: '[cdkMenu]',
|
|
@@ -1433,13 +1357,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
1433
1357
|
type: Output
|
|
1434
1358
|
}] } });
|
|
1435
1359
|
|
|
1436
|
-
/**
|
|
1437
|
-
* @license
|
|
1438
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1439
|
-
*
|
|
1440
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1441
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1442
|
-
*/
|
|
1443
1360
|
/**
|
|
1444
1361
|
* Directive applied to an element which configures it as a MenuBar by setting the appropriate
|
|
1445
1362
|
* role, aria attributes, and accessible keyboard and mouse handling logic. The component that
|
|
@@ -1534,13 +1451,13 @@ class CdkMenuBar extends CdkMenuBase {
|
|
|
1534
1451
|
.subscribe(event => this._toggleOpenMenu(event));
|
|
1535
1452
|
}
|
|
1536
1453
|
}
|
|
1537
|
-
CdkMenuBar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
1538
|
-
CdkMenuBar.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.
|
|
1454
|
+
CdkMenuBar.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkMenuBar, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1455
|
+
CdkMenuBar.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: CdkMenuBar, isStandalone: true, selector: "[cdkMenuBar]", host: { attributes: { "role": "menubar" }, listeners: { "keydown": "_handleKeyEvent($event)" }, classAttribute: "cdk-menu-bar" }, providers: [
|
|
1539
1456
|
{ provide: CdkMenuGroup, useExisting: CdkMenuBar },
|
|
1540
1457
|
{ provide: CDK_MENU, useExisting: CdkMenuBar },
|
|
1541
1458
|
{ provide: MENU_STACK, useFactory: () => MenuStack.inline('horizontal') },
|
|
1542
1459
|
], exportAs: ["cdkMenuBar"], usesInheritance: true, ngImport: i0 });
|
|
1543
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
1460
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkMenuBar, decorators: [{
|
|
1544
1461
|
type: Directive,
|
|
1545
1462
|
args: [{
|
|
1546
1463
|
selector: '[cdkMenuBar]',
|
|
@@ -1559,13 +1476,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
1559
1476
|
}]
|
|
1560
1477
|
}] });
|
|
1561
1478
|
|
|
1562
|
-
/**
|
|
1563
|
-
* @license
|
|
1564
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1565
|
-
*
|
|
1566
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1567
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1568
|
-
*/
|
|
1569
1479
|
/** Base class providing checked state for selectable MenuItems. */
|
|
1570
1480
|
class CdkMenuItemSelectable extends CdkMenuItem {
|
|
1571
1481
|
constructor() {
|
|
@@ -1582,9 +1492,9 @@ class CdkMenuItemSelectable extends CdkMenuItem {
|
|
|
1582
1492
|
this._checked = coerceBooleanProperty(value);
|
|
1583
1493
|
}
|
|
1584
1494
|
}
|
|
1585
|
-
CdkMenuItemSelectable.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
1586
|
-
CdkMenuItemSelectable.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.
|
|
1587
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
1495
|
+
CdkMenuItemSelectable.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkMenuItemSelectable, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1496
|
+
CdkMenuItemSelectable.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: CdkMenuItemSelectable, inputs: { checked: ["cdkMenuItemChecked", "checked"] }, host: { properties: { "attr.aria-checked": "!!checked", "attr.aria-disabled": "disabled || null" } }, usesInheritance: true, ngImport: i0 });
|
|
1497
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkMenuItemSelectable, decorators: [{
|
|
1588
1498
|
type: Directive,
|
|
1589
1499
|
args: [{
|
|
1590
1500
|
host: {
|
|
@@ -1597,13 +1507,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
1597
1507
|
args: ['cdkMenuItemChecked']
|
|
1598
1508
|
}] } });
|
|
1599
1509
|
|
|
1600
|
-
/**
|
|
1601
|
-
* @license
|
|
1602
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1603
|
-
*
|
|
1604
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1605
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1606
|
-
*/
|
|
1607
1510
|
/** Counter used to set a unique id and name for a selectable item */
|
|
1608
1511
|
let nextId = 0;
|
|
1609
1512
|
/**
|
|
@@ -1642,12 +1545,12 @@ class CdkMenuItemRadio extends CdkMenuItemSelectable {
|
|
|
1642
1545
|
});
|
|
1643
1546
|
}
|
|
1644
1547
|
}
|
|
1645
|
-
CdkMenuItemRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
1646
|
-
CdkMenuItemRadio.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.
|
|
1548
|
+
CdkMenuItemRadio.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkMenuItemRadio, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1549
|
+
CdkMenuItemRadio.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: CdkMenuItemRadio, isStandalone: true, selector: "[cdkMenuItemRadio]", host: { attributes: { "role": "menuitemradio" }, properties: { "class.cdk-menu-item-radio": "true" } }, providers: [
|
|
1647
1550
|
{ provide: CdkMenuItemSelectable, useExisting: CdkMenuItemRadio },
|
|
1648
1551
|
{ provide: CdkMenuItem, useExisting: CdkMenuItemSelectable },
|
|
1649
1552
|
], exportAs: ["cdkMenuItemRadio"], usesInheritance: true, ngImport: i0 });
|
|
1650
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
1553
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkMenuItemRadio, decorators: [{
|
|
1651
1554
|
type: Directive,
|
|
1652
1555
|
args: [{
|
|
1653
1556
|
selector: '[cdkMenuItemRadio]',
|
|
@@ -1664,13 +1567,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
1664
1567
|
}]
|
|
1665
1568
|
}], ctorParameters: function () { return []; } });
|
|
1666
1569
|
|
|
1667
|
-
/**
|
|
1668
|
-
* @license
|
|
1669
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1670
|
-
*
|
|
1671
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1672
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1673
|
-
*/
|
|
1674
1570
|
/**
|
|
1675
1571
|
* A directive providing behavior for the "menuitemcheckbox" ARIA role, which behaves similarly to a
|
|
1676
1572
|
* conventional checkbox.
|
|
@@ -1688,12 +1584,12 @@ class CdkMenuItemCheckbox extends CdkMenuItemSelectable {
|
|
|
1688
1584
|
}
|
|
1689
1585
|
}
|
|
1690
1586
|
}
|
|
1691
|
-
CdkMenuItemCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
1692
|
-
CdkMenuItemCheckbox.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.
|
|
1587
|
+
CdkMenuItemCheckbox.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkMenuItemCheckbox, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
1588
|
+
CdkMenuItemCheckbox.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: CdkMenuItemCheckbox, isStandalone: true, selector: "[cdkMenuItemCheckbox]", host: { attributes: { "role": "menuitemcheckbox" }, properties: { "class.cdk-menu-item-checkbox": "true" } }, providers: [
|
|
1693
1589
|
{ provide: CdkMenuItemSelectable, useExisting: CdkMenuItemCheckbox },
|
|
1694
1590
|
{ provide: CdkMenuItem, useExisting: CdkMenuItemSelectable },
|
|
1695
1591
|
], exportAs: ["cdkMenuItemCheckbox"], usesInheritance: true, ngImport: i0 });
|
|
1696
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
1592
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkMenuItemCheckbox, decorators: [{
|
|
1697
1593
|
type: Directive,
|
|
1698
1594
|
args: [{
|
|
1699
1595
|
selector: '[cdkMenuItemCheckbox]',
|
|
@@ -1710,13 +1606,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
1710
1606
|
}]
|
|
1711
1607
|
}] });
|
|
1712
1608
|
|
|
1713
|
-
/**
|
|
1714
|
-
* @license
|
|
1715
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1716
|
-
*
|
|
1717
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1718
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1719
|
-
*/
|
|
1720
1609
|
/** The preferred menu positions for the context menu. */
|
|
1721
1610
|
const CONTEXT_MENU_POSITIONS = STANDARD_DROPDOWN_BELOW_POSITIONS.map(position => {
|
|
1722
1611
|
// In cases where the first menu item in the context menu is a trigger the submenu opens on a
|
|
@@ -1738,9 +1627,9 @@ class ContextMenuTracker {
|
|
|
1738
1627
|
}
|
|
1739
1628
|
}
|
|
1740
1629
|
}
|
|
1741
|
-
ContextMenuTracker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
1742
|
-
ContextMenuTracker.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
1743
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
1630
|
+
ContextMenuTracker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: ContextMenuTracker, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1631
|
+
ContextMenuTracker.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: ContextMenuTracker, providedIn: 'root' });
|
|
1632
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: ContextMenuTracker, decorators: [{
|
|
1744
1633
|
type: Injectable,
|
|
1745
1634
|
args: [{ providedIn: 'root' }]
|
|
1746
1635
|
}] });
|
|
@@ -1887,12 +1776,12 @@ class CdkContextMenuTrigger extends CdkMenuTriggerBase {
|
|
|
1887
1776
|
}
|
|
1888
1777
|
}
|
|
1889
1778
|
}
|
|
1890
|
-
CdkContextMenuTrigger.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
1891
|
-
CdkContextMenuTrigger.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.
|
|
1779
|
+
CdkContextMenuTrigger.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkContextMenuTrigger, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1780
|
+
CdkContextMenuTrigger.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.0.0-next.7", type: CdkContextMenuTrigger, isStandalone: true, selector: "[cdkContextMenuTriggerFor]", inputs: { menuTemplateRef: ["cdkContextMenuTriggerFor", "menuTemplateRef"], menuPosition: ["cdkContextMenuPosition", "menuPosition"], menuData: ["cdkContextMenuTriggerData", "menuData"], disabled: ["cdkContextMenuDisabled", "disabled"] }, outputs: { opened: "cdkContextMenuOpened", closed: "cdkContextMenuClosed" }, host: { listeners: { "contextmenu": "_openOnContextMenu($event)" }, properties: { "attr.data-cdk-menu-stack-id": "null" } }, providers: [
|
|
1892
1781
|
{ provide: MENU_TRIGGER, useExisting: CdkContextMenuTrigger },
|
|
1893
1782
|
{ provide: MENU_STACK, useClass: MenuStack },
|
|
1894
1783
|
], exportAs: ["cdkContextMenuTriggerFor"], usesInheritance: true, ngImport: i0 });
|
|
1895
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
1784
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkContextMenuTrigger, decorators: [{
|
|
1896
1785
|
type: Directive,
|
|
1897
1786
|
args: [{
|
|
1898
1787
|
selector: '[cdkContextMenuTriggerFor]',
|
|
@@ -1918,13 +1807,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
1918
1807
|
args: ['cdkContextMenuDisabled']
|
|
1919
1808
|
}] } });
|
|
1920
1809
|
|
|
1921
|
-
/**
|
|
1922
|
-
* @license
|
|
1923
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1924
|
-
*
|
|
1925
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1926
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1927
|
-
*/
|
|
1928
1810
|
const MENU_DIRECTIVES = [
|
|
1929
1811
|
CdkMenuBar,
|
|
1930
1812
|
CdkMenu,
|
|
@@ -1939,8 +1821,8 @@ const MENU_DIRECTIVES = [
|
|
|
1939
1821
|
/** Module that declares components and directives for the CDK menu. */
|
|
1940
1822
|
class CdkMenuModule {
|
|
1941
1823
|
}
|
|
1942
|
-
CdkMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
1943
|
-
CdkMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.
|
|
1824
|
+
CdkMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1825
|
+
CdkMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkMenuModule, imports: [OverlayModule, CdkMenuBar,
|
|
1944
1826
|
CdkMenu,
|
|
1945
1827
|
CdkMenuItem,
|
|
1946
1828
|
CdkMenuItemRadio,
|
|
@@ -1957,8 +1839,8 @@ CdkMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version:
|
|
|
1957
1839
|
CdkMenuGroup,
|
|
1958
1840
|
CdkContextMenuTrigger,
|
|
1959
1841
|
CdkTargetMenuAim] });
|
|
1960
|
-
CdkMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
1961
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.
|
|
1842
|
+
CdkMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkMenuModule, imports: [OverlayModule] });
|
|
1843
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.7", ngImport: i0, type: CdkMenuModule, decorators: [{
|
|
1962
1844
|
type: NgModule,
|
|
1963
1845
|
args: [{
|
|
1964
1846
|
imports: [OverlayModule, ...MENU_DIRECTIVES],
|
|
@@ -1966,22 +1848,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0-next.2",
|
|
|
1966
1848
|
}]
|
|
1967
1849
|
}] });
|
|
1968
1850
|
|
|
1969
|
-
/**
|
|
1970
|
-
* @license
|
|
1971
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1972
|
-
*
|
|
1973
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1974
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1975
|
-
*/
|
|
1976
|
-
|
|
1977
|
-
/**
|
|
1978
|
-
* @license
|
|
1979
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1980
|
-
*
|
|
1981
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1982
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1983
|
-
*/
|
|
1984
|
-
|
|
1985
1851
|
/**
|
|
1986
1852
|
* Generated bundle index. Do not edit.
|
|
1987
1853
|
*/
|