@angular/aria 21.0.3 → 21.0.4
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/_accordion-chunk.mjs +108 -0
- package/fesm2022/_accordion-chunk.mjs.map +1 -0
- package/fesm2022/_combobox-chunk.mjs +2 -2
- package/fesm2022/_combobox-chunk.mjs.map +1 -1
- package/fesm2022/_combobox-listbox-chunk.mjs +4 -286
- package/fesm2022/_combobox-listbox-chunk.mjs.map +1 -1
- package/fesm2022/_combobox-tree-chunk.mjs +331 -0
- package/fesm2022/_combobox-tree-chunk.mjs.map +1 -0
- package/fesm2022/_deferred-content-chunk.mjs +124 -0
- package/fesm2022/_deferred-content-chunk.mjs.map +1 -0
- package/fesm2022/_expansion-chunk.mjs +41 -0
- package/fesm2022/_expansion-chunk.mjs.map +1 -0
- package/fesm2022/_list-chunk.mjs +287 -0
- package/fesm2022/_list-chunk.mjs.map +1 -0
- package/fesm2022/_list-navigation-chunk.mjs +1 -1
- package/fesm2022/_list-navigation-chunk.mjs.map +1 -1
- package/fesm2022/_menu-chunk.mjs +515 -0
- package/fesm2022/_menu-chunk.mjs.map +1 -0
- package/fesm2022/_pointer-event-manager-chunk.mjs +2 -82
- package/fesm2022/_pointer-event-manager-chunk.mjs.map +1 -1
- package/fesm2022/_signal-like-chunk.mjs +118 -0
- package/fesm2022/_signal-like-chunk.mjs.map +1 -0
- package/fesm2022/_tabs-chunk.mjs +159 -0
- package/fesm2022/_tabs-chunk.mjs.map +1 -0
- package/fesm2022/_toolbar-widget-group-chunk.mjs +148 -0
- package/fesm2022/_toolbar-widget-group-chunk.mjs.map +1 -0
- package/fesm2022/_widget-chunk.mjs +3 -2
- package/fesm2022/_widget-chunk.mjs.map +1 -1
- package/fesm2022/accordion.mjs +57 -52
- package/fesm2022/accordion.mjs.map +1 -1
- package/fesm2022/aria.mjs +1 -1
- package/fesm2022/aria.mjs.map +1 -1
- package/fesm2022/combobox.mjs +77 -40
- package/fesm2022/combobox.mjs.map +1 -1
- package/fesm2022/grid.mjs +70 -68
- package/fesm2022/grid.mjs.map +1 -1
- package/fesm2022/listbox.mjs +49 -47
- package/fesm2022/listbox.mjs.map +1 -1
- package/fesm2022/menu.mjs +69 -65
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/private.mjs +13 -1402
- package/fesm2022/private.mjs.map +1 -1
- package/fesm2022/tabs.mjs +49 -41
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +49 -45
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tree.mjs +52 -44
- package/fesm2022/tree.mjs.map +1 -1
- package/package.json +2 -2
- package/types/_accordion-chunk.d.ts +100 -0
- package/types/_combobox-chunk.d.ts +187 -91
- package/types/_deferred-content-chunk.d.ts +42 -0
- package/types/_expansion-chunk.d.ts +40 -0
- package/types/_grid-chunk.d.ts +41 -41
- package/types/_keyboard-event-manager-chunk.d.ts +68 -0
- package/types/_list-chunk.d.ts +8 -9
- package/types/_list-navigation-chunk.d.ts +8 -101
- package/types/_listbox-chunk.d.ts +17 -16
- package/types/_menu-chunk.d.ts +267 -0
- package/types/_pointer-event-manager-chunk.d.ts +34 -0
- package/types/_tabs-chunk.d.ts +153 -0
- package/types/_toolbar-chunk.d.ts +124 -0
- package/types/_tree-chunk.d.ts +185 -0
- package/types/accordion.d.ts +13 -5
- package/types/aria.d.ts +1 -1
- package/types/combobox.d.ts +122 -6
- package/types/grid.d.ts +10 -0
- package/types/listbox.d.ts +17 -5
- package/types/menu.d.ts +23 -5
- package/types/private.d.ts +25 -885
- package/types/tabs.d.ts +24 -8
- package/types/toolbar.d.ts +12 -4
- package/types/tree.d.ts +16 -5
- package/fesm2022/_combobox-popup-chunk.mjs +0 -46
- package/fesm2022/_combobox-popup-chunk.mjs.map +0 -1
- package/types/_combobox-chunk.d2.ts +0 -193
package/types/combobox.d.ts
CHANGED
|
@@ -1,11 +1,112 @@
|
|
|
1
|
-
import { Combobox, ComboboxPopup } from './_combobox-chunk.js';
|
|
2
|
-
import { ComboboxDialogPattern } from './_combobox-chunk.d2.ts';
|
|
3
1
|
import * as _angular_core from '@angular/core';
|
|
4
|
-
import * as
|
|
5
|
-
import '
|
|
2
|
+
import * as _angular_cdk_bidi from '@angular/cdk/bidi';
|
|
3
|
+
import { ComboboxListboxControls, ComboboxTreeControls, ComboboxDialogPattern, ComboboxPattern } from './_combobox-chunk.js';
|
|
4
|
+
import { DeferredContentAware, DeferredContent } from './_deferred-content-chunk.js';
|
|
5
|
+
import './_keyboard-event-manager-chunk.js';
|
|
6
6
|
import './_list-navigation-chunk.js';
|
|
7
|
+
import './_pointer-event-manager-chunk.js';
|
|
7
8
|
import './_list-chunk.js';
|
|
8
9
|
|
|
10
|
+
/**
|
|
11
|
+
* Identifies an element as a popup for an `ngCombobox`.
|
|
12
|
+
*
|
|
13
|
+
* This directive acts as a bridge, allowing the `ngCombobox` to discover and interact
|
|
14
|
+
* with the underlying control (e.g., `ngListbox`, `ngTree`, or `ngComboboxDialog`) that
|
|
15
|
+
* manages the options. It's primarily used as a host directive and is responsible for
|
|
16
|
+
* exposing the popup's control pattern to the parent combobox.
|
|
17
|
+
*
|
|
18
|
+
* @developerPreview 21.0
|
|
19
|
+
*
|
|
20
|
+
* @see [Combobox](guide/aria/combobox)
|
|
21
|
+
* @see [Select](guide/aria/select)
|
|
22
|
+
* @see [Multiselect](guide/aria/multiselect)
|
|
23
|
+
* @see [Autocomplete](guide/aria/autocomplete)
|
|
24
|
+
*/
|
|
25
|
+
declare class ComboboxPopup<V> {
|
|
26
|
+
/** The combobox that the popup belongs to. */
|
|
27
|
+
readonly combobox: Combobox<V> | null;
|
|
28
|
+
/** The popup controls exposed to the combobox. */
|
|
29
|
+
readonly _controls: _angular_core.WritableSignal<ComboboxListboxControls<any, V> | ComboboxTreeControls<any, V> | ComboboxDialogPattern | undefined>;
|
|
30
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ComboboxPopup<any>, never>;
|
|
31
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ComboboxPopup<any>, "[ngComboboxPopup]", ["ngComboboxPopup"], {}, {}, never, never, true, never>;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* The container element that wraps a combobox input and popup, and orchestrates its behavior.
|
|
36
|
+
*
|
|
37
|
+
* The `ngCombobox` directive is the main entry point for creating a combobox and customizing its
|
|
38
|
+
* behavior. It coordinates the interactions between the `ngComboboxInput` and the popup, which
|
|
39
|
+
* is defined by a `ng-template` with the `ngComboboxPopupContainer` directive. If using the
|
|
40
|
+
* `CdkOverlay`, the `cdkConnectedOverlay` directive takes the place of `ngComboboxPopupContainer`.
|
|
41
|
+
*
|
|
42
|
+
* ```html
|
|
43
|
+
* <div ngCombobox filterMode="highlight">
|
|
44
|
+
* <input
|
|
45
|
+
* ngComboboxInput
|
|
46
|
+
* placeholder="Search for a state..."
|
|
47
|
+
* [(value)]="searchString"
|
|
48
|
+
* />
|
|
49
|
+
*
|
|
50
|
+
* <ng-template ngComboboxPopupContainer>
|
|
51
|
+
* <div ngListbox [(value)]="selectedValue">
|
|
52
|
+
* @for (option of filteredOptions(); track option) {
|
|
53
|
+
* <div ngOption [value]="option" [label]="option">
|
|
54
|
+
* <span>{{option}}</span>
|
|
55
|
+
* </div>
|
|
56
|
+
* }
|
|
57
|
+
* </div>
|
|
58
|
+
* </ng-template>
|
|
59
|
+
* </div>
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @developerPreview 21.0
|
|
63
|
+
*
|
|
64
|
+
* @see [Combobox](guide/aria/combobox)
|
|
65
|
+
* @see [Select](guide/aria/select)
|
|
66
|
+
* @see [Multiselect](guide/aria/multiselect)
|
|
67
|
+
* @see [Autocomplete](guide/aria/autocomplete)
|
|
68
|
+
*/
|
|
69
|
+
declare class Combobox<V> {
|
|
70
|
+
/** A signal wrapper for directionality. */
|
|
71
|
+
protected textDirection: _angular_core.Signal<_angular_cdk_bidi.Direction>;
|
|
72
|
+
/** The element that the combobox is attached to. */
|
|
73
|
+
private readonly _elementRef;
|
|
74
|
+
/** A reference to the combobox element. */
|
|
75
|
+
readonly element: HTMLElement;
|
|
76
|
+
/** The DeferredContentAware host directive. */
|
|
77
|
+
private readonly _deferredContentAware;
|
|
78
|
+
/** The combobox popup. */
|
|
79
|
+
readonly popup: _angular_core.Signal<ComboboxPopup<V> | undefined>;
|
|
80
|
+
/**
|
|
81
|
+
* The filter mode for the combobox.
|
|
82
|
+
* - `manual`: The consumer is responsible for filtering the options.
|
|
83
|
+
* - `auto-select`: The combobox automatically selects the first matching option.
|
|
84
|
+
* - `highlight`: The combobox highlights matching text in the options without changing selection.
|
|
85
|
+
*/
|
|
86
|
+
filterMode: _angular_core.InputSignal<"manual" | "auto-select" | "highlight">;
|
|
87
|
+
/** Whether the combobox is disabled. */
|
|
88
|
+
readonly disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
89
|
+
/** Whether the combobox is read-only. */
|
|
90
|
+
readonly readonly: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
91
|
+
/** The value of the first matching item in the popup. */
|
|
92
|
+
readonly firstMatch: _angular_core.InputSignal<V | undefined>;
|
|
93
|
+
/** Whether the combobox is expanded. */
|
|
94
|
+
readonly expanded: _angular_core.Signal<boolean>;
|
|
95
|
+
/** Whether the combobox popup should always be expanded, regardless of user interaction. */
|
|
96
|
+
readonly alwaysExpanded: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
97
|
+
/** Input element connected to the combobox, if any. */
|
|
98
|
+
readonly inputElement: _angular_core.Signal<HTMLInputElement | undefined>;
|
|
99
|
+
/** The combobox ui pattern. */
|
|
100
|
+
readonly _pattern: ComboboxPattern<any, V>;
|
|
101
|
+
constructor();
|
|
102
|
+
/** Opens the combobox to the selected item. */
|
|
103
|
+
open(): void;
|
|
104
|
+
/** Closes the combobox. */
|
|
105
|
+
close(): void;
|
|
106
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Combobox<any>, never>;
|
|
107
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<Combobox<any>, "[ngCombobox]", ["ngCombobox"], { "filterMode": { "alias": "filterMode"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "readonly": { "alias": "readonly"; "required": false; "isSignal": true; }; "firstMatch": { "alias": "firstMatch"; "required": false; "isSignal": true; }; "alwaysExpanded": { "alias": "alwaysExpanded"; "required": false; "isSignal": true; }; }, {}, ["popup"], never, true, [{ directive: typeof DeferredContentAware; inputs: { "preserveContent": "preserveContent"; }; outputs: {}; }]>;
|
|
108
|
+
}
|
|
109
|
+
|
|
9
110
|
/**
|
|
10
111
|
* Integrates a native `<dialog>` element with the combobox, allowing for
|
|
11
112
|
* a modal or non-modal popup experience. It handles the opening and closing of the dialog
|
|
@@ -20,6 +121,11 @@ import './_list-chunk.js';
|
|
|
20
121
|
* ```
|
|
21
122
|
*
|
|
22
123
|
* @developerPreview 21.0
|
|
124
|
+
*
|
|
125
|
+
* @see [Combobox](guide/aria/combobox)
|
|
126
|
+
* @see [Select](guide/aria/select)
|
|
127
|
+
* @see [Multiselect](guide/aria/multiselect)
|
|
128
|
+
* @see [Autocomplete](guide/aria/autocomplete)
|
|
23
129
|
*/
|
|
24
130
|
declare class ComboboxDialog {
|
|
25
131
|
/** The dialog element. */
|
|
@@ -54,6 +160,11 @@ declare class ComboboxDialog {
|
|
|
54
160
|
* ```
|
|
55
161
|
*
|
|
56
162
|
* @developerPreview 21.0
|
|
163
|
+
*
|
|
164
|
+
* @see [Combobox](guide/aria/combobox)
|
|
165
|
+
* @see [Select](guide/aria/select)
|
|
166
|
+
* @see [Multiselect](guide/aria/multiselect)
|
|
167
|
+
* @see [Autocomplete](guide/aria/autocomplete)
|
|
57
168
|
*/
|
|
58
169
|
declare class ComboboxInput {
|
|
59
170
|
/** The element that the combobox is attached to. */
|
|
@@ -98,10 +209,15 @@ declare class ComboboxInput {
|
|
|
98
209
|
* ```
|
|
99
210
|
*
|
|
100
211
|
* @developerPreview 21.0
|
|
212
|
+
*
|
|
213
|
+
* @see [Combobox](guide/aria/combobox)
|
|
214
|
+
* @see [Select](guide/aria/select)
|
|
215
|
+
* @see [Multiselect](guide/aria/multiselect)
|
|
216
|
+
* @see [Autocomplete](guide/aria/autocomplete)
|
|
101
217
|
*/
|
|
102
218
|
declare class ComboboxPopupContainer {
|
|
103
219
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ComboboxPopupContainer, never>;
|
|
104
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ComboboxPopupContainer, "ng-template[ngComboboxPopupContainer]", ["ngComboboxPopupContainer"], {}, {}, never, never, true, [{ directive: typeof
|
|
220
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ComboboxPopupContainer, "ng-template[ngComboboxPopupContainer]", ["ngComboboxPopupContainer"], {}, {}, never, never, true, [{ directive: typeof DeferredContent; inputs: {}; outputs: {}; }]>;
|
|
105
221
|
}
|
|
106
222
|
|
|
107
|
-
export { Combobox, ComboboxDialog, ComboboxInput, ComboboxPopup, ComboboxPopupContainer };
|
|
223
|
+
export { Combobox, ComboboxDialog, ComboboxInput, ComboboxPopup, ComboboxPopupContainer, DeferredContent as ɵɵDeferredContent, DeferredContentAware as ɵɵDeferredContentAware };
|
package/types/grid.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ import * as _angular_cdk_bidi from '@angular/cdk/bidi';
|
|
|
4
4
|
import { GridPattern, GridCellPattern, GridRowPattern, GridCellWidgetPattern } from './_grid-chunk.js';
|
|
5
5
|
import * as _angular_aria_private_public_api from '@angular/aria/private/public-api';
|
|
6
6
|
import './_list-navigation-chunk.js';
|
|
7
|
+
import './_keyboard-event-manager-chunk.js';
|
|
8
|
+
import './_pointer-event-manager-chunk.js';
|
|
7
9
|
|
|
8
10
|
/**
|
|
9
11
|
* The container for a grid. It provides keyboard navigation and focus management for the grid's
|
|
@@ -25,6 +27,8 @@ import './_list-navigation-chunk.js';
|
|
|
25
27
|
* ```
|
|
26
28
|
*
|
|
27
29
|
* @developerPreview 21.0
|
|
30
|
+
*
|
|
31
|
+
* @see [Grid](guide/aria/grid)
|
|
28
32
|
*/
|
|
29
33
|
declare class Grid {
|
|
30
34
|
/** A reference to the host element. */
|
|
@@ -97,6 +101,8 @@ declare class Grid {
|
|
|
97
101
|
* ```
|
|
98
102
|
*
|
|
99
103
|
* @developerPreview 21.0
|
|
104
|
+
*
|
|
105
|
+
* @see [Grid](guide/aria/grid)
|
|
100
106
|
*/
|
|
101
107
|
declare class GridCell {
|
|
102
108
|
/** A reference to the host element. */
|
|
@@ -161,6 +167,8 @@ declare class GridCell {
|
|
|
161
167
|
* ```
|
|
162
168
|
*
|
|
163
169
|
* @developerPreview 21.0
|
|
170
|
+
*
|
|
171
|
+
* @see [Grid](guide/aria/grid)
|
|
164
172
|
*/
|
|
165
173
|
declare class GridRow {
|
|
166
174
|
/** A reference to the host element. */
|
|
@@ -198,6 +206,8 @@ declare class GridRow {
|
|
|
198
206
|
* ```
|
|
199
207
|
*
|
|
200
208
|
* @developerPreview 21.0
|
|
209
|
+
*
|
|
210
|
+
* @see [Grid](guide/aria/grid)
|
|
201
211
|
*/
|
|
202
212
|
declare class GridCellWidget {
|
|
203
213
|
/** A reference to the host element. */
|
package/types/listbox.d.ts
CHANGED
|
@@ -2,10 +2,14 @@ import * as _angular_aria_private_public_api from '@angular/aria/private/public-
|
|
|
2
2
|
import * as _angular_cdk_bidi from '@angular/cdk/bidi';
|
|
3
3
|
import * as _angular_core from '@angular/core';
|
|
4
4
|
import { ListboxPattern, OptionPattern } from './_listbox-chunk.js';
|
|
5
|
-
import { ComboboxPopup } from './
|
|
5
|
+
import { ComboboxPopup } from './combobox.js';
|
|
6
|
+
export { Combobox as ɵɵCombobox, ComboboxDialog as ɵɵComboboxDialog, ComboboxInput as ɵɵComboboxInput, ComboboxPopupContainer as ɵɵComboboxPopupContainer } from './combobox.js';
|
|
6
7
|
import './_list-navigation-chunk.js';
|
|
7
8
|
import './_list-chunk.js';
|
|
8
|
-
import '
|
|
9
|
+
import './_keyboard-event-manager-chunk.js';
|
|
10
|
+
import './_pointer-event-manager-chunk.js';
|
|
11
|
+
import './_combobox-chunk.js';
|
|
12
|
+
import './_deferred-content-chunk.js';
|
|
9
13
|
|
|
10
14
|
/**
|
|
11
15
|
* Represents a container used to display a list of items for a user to select from.
|
|
@@ -25,6 +29,11 @@ import '@angular/aria/private';
|
|
|
25
29
|
* ```
|
|
26
30
|
*
|
|
27
31
|
* @developerPreview 21.0
|
|
32
|
+
*
|
|
33
|
+
* @see [Listbox](guide/aria/listbox)
|
|
34
|
+
* @see [Autocomplete](guide/aria/autocomplete)
|
|
35
|
+
* @see [Select](guide/aria/select)
|
|
36
|
+
* @see [Multiselect](guide/aria/multiselect)
|
|
28
37
|
*/
|
|
29
38
|
declare class Listbox<V> {
|
|
30
39
|
/** A unique identifier for the listbox. */
|
|
@@ -35,8 +44,6 @@ declare class Listbox<V> {
|
|
|
35
44
|
private readonly _elementRef;
|
|
36
45
|
/** A reference to the host element. */
|
|
37
46
|
readonly element: HTMLElement;
|
|
38
|
-
/** The directionality (LTR / RTL) context for the application (or a subtree of it). */
|
|
39
|
-
private readonly _directionality;
|
|
40
47
|
/** The Options nested inside of the Listbox. */
|
|
41
48
|
private readonly _options;
|
|
42
49
|
/** A signal wrapper for directionality. */
|
|
@@ -101,6 +108,11 @@ declare class Listbox<V> {
|
|
|
101
108
|
* ```
|
|
102
109
|
*
|
|
103
110
|
* @developerPreview 21.0
|
|
111
|
+
*
|
|
112
|
+
* @see [Listbox](guide/aria/listbox)
|
|
113
|
+
* @see [Autocomplete](guide/aria/autocomplete)
|
|
114
|
+
* @see [Select](guide/aria/select)
|
|
115
|
+
* @see [Multiselect](guide/aria/multiselect)
|
|
104
116
|
*/
|
|
105
117
|
declare class Option<V> {
|
|
106
118
|
/** A reference to the host element. */
|
|
@@ -129,4 +141,4 @@ declare class Option<V> {
|
|
|
129
141
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<Option<any>, "[ngOption]", ["ngOption"], { "id": { "alias": "id"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
130
142
|
}
|
|
131
143
|
|
|
132
|
-
export { Listbox, Option };
|
|
144
|
+
export { Listbox, Option, ComboboxPopup as ɵɵComboboxPopup };
|
package/types/menu.d.ts
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
2
|
import { Signal } from '@angular/core';
|
|
3
3
|
import * as _angular_cdk_bidi from '@angular/cdk/bidi';
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
4
|
+
import { MenuBarPattern, MenuItemPattern, MenuPattern, MenuTriggerPattern } from './_menu-chunk.js';
|
|
5
|
+
import { DeferredContentAware, DeferredContent } from './_deferred-content-chunk.js';
|
|
6
|
+
import { SignalLike } from './_list-navigation-chunk.js';
|
|
7
|
+
import './_keyboard-event-manager-chunk.js';
|
|
8
|
+
import './_list-chunk.js';
|
|
6
9
|
|
|
7
10
|
/**
|
|
8
11
|
* A menu bar of menu items.
|
|
@@ -29,6 +32,9 @@ import { SignalLike, MenuBarPattern, MenuItemPattern, MenuPattern, MenuTriggerPa
|
|
|
29
32
|
* ```
|
|
30
33
|
*
|
|
31
34
|
* @developerPreview 21.0
|
|
35
|
+
*
|
|
36
|
+
* @see [Menu](guide/aria/menu)
|
|
37
|
+
* @see [MenuBar](guide/aria/menubar)
|
|
32
38
|
*/
|
|
33
39
|
declare class MenuBar<V> {
|
|
34
40
|
/** The menu items contained in the menubar. */
|
|
@@ -76,6 +82,9 @@ declare class MenuBar<V> {
|
|
|
76
82
|
* ```
|
|
77
83
|
*
|
|
78
84
|
* @developerPreview 21.0
|
|
85
|
+
*
|
|
86
|
+
* @see [Menu](guide/aria/menu)
|
|
87
|
+
* @see [MenuBar](guide/aria/menubar)
|
|
79
88
|
*/
|
|
80
89
|
declare class MenuItem<V> {
|
|
81
90
|
/** A reference to the host element. */
|
|
@@ -134,6 +143,9 @@ declare class MenuItem<V> {
|
|
|
134
143
|
* ```
|
|
135
144
|
*
|
|
136
145
|
* @developerPreview 21.0
|
|
146
|
+
*
|
|
147
|
+
* @see [Menu](guide/aria/menu)
|
|
148
|
+
* @see [MenuBar](guide/aria/menubar)
|
|
137
149
|
*/
|
|
138
150
|
declare class Menu<V> {
|
|
139
151
|
/** The DeferredContentAware host directive. */
|
|
@@ -180,7 +192,7 @@ declare class Menu<V> {
|
|
|
180
192
|
/** Closes the menu. */
|
|
181
193
|
close(): void;
|
|
182
194
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<Menu<any>, never>;
|
|
183
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<Menu<any>, "[ngMenu]", ["ngMenu"], { "id": { "alias": "id"; "required": false; "isSignal": true; }; "wrap": { "alias": "wrap"; "required": false; "isSignal": true; }; "typeaheadDelay": { "alias": "typeaheadDelay"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "expansionDelay": { "alias": "expansionDelay"; "required": false; "isSignal": true; }; }, { "onSelect": "onSelect"; }, ["_allItems"], never, true, [{ directive: typeof
|
|
195
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<Menu<any>, "[ngMenu]", ["ngMenu"], { "id": { "alias": "id"; "required": false; "isSignal": true; }; "wrap": { "alias": "wrap"; "required": false; "isSignal": true; }; "typeaheadDelay": { "alias": "typeaheadDelay"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "expansionDelay": { "alias": "expansionDelay"; "required": false; "isSignal": true; }; }, { "onSelect": "onSelect"; }, ["_allItems"], never, true, [{ directive: typeof DeferredContentAware; inputs: { "preserveContent": "preserveContent"; }; outputs: {}; }]>;
|
|
184
196
|
}
|
|
185
197
|
|
|
186
198
|
/**
|
|
@@ -200,6 +212,9 @@ declare class Menu<V> {
|
|
|
200
212
|
* ```
|
|
201
213
|
*
|
|
202
214
|
* @developerPreview 21.0
|
|
215
|
+
*
|
|
216
|
+
* @see [Menu](guide/aria/menu)
|
|
217
|
+
* @see [MenuBar](guide/aria/menubar)
|
|
203
218
|
*/
|
|
204
219
|
declare class MenuTrigger<V> {
|
|
205
220
|
/** A reference to the host element. */
|
|
@@ -245,10 +260,13 @@ declare class MenuTrigger<V> {
|
|
|
245
260
|
* ```
|
|
246
261
|
*
|
|
247
262
|
* @developerPreview 21.0
|
|
263
|
+
*
|
|
264
|
+
* @see [Menu](guide/aria/menu)
|
|
265
|
+
* @see [MenuBar](guide/aria/menubar)
|
|
248
266
|
*/
|
|
249
267
|
declare class MenuContent {
|
|
250
268
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MenuContent, never>;
|
|
251
|
-
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<MenuContent, "ng-template[ngMenuContent]", ["ngMenuContent"], {}, {}, never, never, true, [{ directive: typeof
|
|
269
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<MenuContent, "ng-template[ngMenuContent]", ["ngMenuContent"], {}, {}, never, never, true, [{ directive: typeof DeferredContent; inputs: {}; outputs: {}; }]>;
|
|
252
270
|
}
|
|
253
271
|
|
|
254
|
-
export { Menu, MenuBar, MenuContent, MenuItem, MenuTrigger };
|
|
272
|
+
export { Menu, MenuBar, MenuContent, MenuItem, MenuTrigger, DeferredContent as ɵɵDeferredContent, DeferredContentAware as ɵɵDeferredContentAware };
|