@angular/aria 21.0.0-rc.1 → 21.0.0-rc.3
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/_adev_assets/aria-accordion.json +429 -59
- package/_adev_assets/aria-combobox.json +261 -41
- package/_adev_assets/aria-grid.json +339 -85
- package/_adev_assets/aria-listbox.json +99 -70
- package/_adev_assets/aria-menu.json +355 -158
- package/_adev_assets/aria-tabs.json +198 -305
- package/_adev_assets/aria-toolbar.json +70 -221
- package/_adev_assets/aria-tree.json +153 -363
- package/fesm2022/_widget-chunk.mjs +388 -57
- package/fesm2022/_widget-chunk.mjs.map +1 -1
- package/fesm2022/accordion.mjs +125 -72
- package/fesm2022/accordion.mjs.map +1 -1
- package/fesm2022/aria.mjs +1 -1
- package/fesm2022/aria.mjs.map +1 -1
- package/fesm2022/combobox.mjs +129 -24
- package/fesm2022/combobox.mjs.map +1 -1
- package/fesm2022/grid.mjs +203 -65
- package/fesm2022/grid.mjs.map +1 -1
- package/fesm2022/listbox.mjs +50 -39
- package/fesm2022/listbox.mjs.map +1 -1
- package/fesm2022/menu.mjs +179 -71
- package/fesm2022/menu.mjs.map +1 -1
- package/fesm2022/private.mjs +418 -440
- package/fesm2022/private.mjs.map +1 -1
- package/fesm2022/tabs.mjs +105 -73
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +52 -44
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tree.mjs +106 -63
- package/fesm2022/tree.mjs.map +1 -1
- package/package.json +2 -2
- package/types/_grid-chunk.d.ts +216 -35
- package/types/accordion.d.ts +134 -35
- package/types/combobox.d.ts +141 -12
- package/types/grid.d.ts +150 -32
- package/types/listbox.d.ts +60 -28
- package/types/menu.d.ts +133 -49
- package/types/private.d.ts +210 -250
- package/types/tabs.d.ts +124 -44
- package/types/toolbar.d.ts +58 -36
- package/types/tree.d.ts +121 -49
|
@@ -9,12 +9,22 @@
|
|
|
9
9
|
"isAbstract": false,
|
|
10
10
|
"entryType": "undecorated_class",
|
|
11
11
|
"members": [
|
|
12
|
+
{
|
|
13
|
+
"name": "element",
|
|
14
|
+
"type": "HTMLElement",
|
|
15
|
+
"memberType": "property",
|
|
16
|
+
"memberTags": [
|
|
17
|
+
"readonly"
|
|
18
|
+
],
|
|
19
|
+
"description": "A reference to the host element.",
|
|
20
|
+
"jsdocTags": []
|
|
21
|
+
},
|
|
12
22
|
{
|
|
13
23
|
"name": "id",
|
|
14
24
|
"type": "any",
|
|
15
25
|
"memberType": "property",
|
|
16
26
|
"memberTags": [
|
|
17
|
-
"
|
|
27
|
+
"readonly"
|
|
18
28
|
],
|
|
19
29
|
"description": "A unique identifier for the tree.",
|
|
20
30
|
"jsdocTags": []
|
|
@@ -56,7 +66,7 @@
|
|
|
56
66
|
"memberTags": [
|
|
57
67
|
"readonly"
|
|
58
68
|
],
|
|
59
|
-
"description": "The selection strategy used by the tree.",
|
|
69
|
+
"description": "The selection strategy used by the tree.\n- `explicit`: Items are selected explicitly by the user (e.g., via click or spacebar).\n- `follow`: The focused item is automatically selected.",
|
|
60
70
|
"jsdocTags": []
|
|
61
71
|
},
|
|
62
72
|
{
|
|
@@ -66,7 +76,7 @@
|
|
|
66
76
|
"memberTags": [
|
|
67
77
|
"readonly"
|
|
68
78
|
],
|
|
69
|
-
"description": "The focus strategy used by the tree.",
|
|
79
|
+
"description": "The focus strategy used by the tree.\n- `roving`: Focus is moved to the active item using `tabindex`.\n- `activedescendant`: Focus remains on the tree container, and `aria-activedescendant` is used to indicate the active item.",
|
|
70
80
|
"jsdocTags": []
|
|
71
81
|
},
|
|
72
82
|
{
|
|
@@ -86,7 +96,7 @@
|
|
|
86
96
|
"memberTags": [
|
|
87
97
|
"readonly"
|
|
88
98
|
],
|
|
89
|
-
"description": "Whether to allow disabled items to receive focus.",
|
|
99
|
+
"description": "Whether to allow disabled items to receive focus. When `true`, disabled items are\nfocusable but not interactive. When `false`, disabled items are skipped during navigation.",
|
|
90
100
|
"jsdocTags": []
|
|
91
101
|
},
|
|
92
102
|
{
|
|
@@ -96,17 +106,17 @@
|
|
|
96
106
|
"memberTags": [
|
|
97
107
|
"readonly"
|
|
98
108
|
],
|
|
99
|
-
"description": "
|
|
109
|
+
"description": "The delay in seconds before the typeahead search is reset.",
|
|
100
110
|
"jsdocTags": []
|
|
101
111
|
},
|
|
102
112
|
{
|
|
103
|
-
"name": "
|
|
113
|
+
"name": "values",
|
|
104
114
|
"type": "any",
|
|
105
115
|
"memberType": "property",
|
|
106
116
|
"memberTags": [
|
|
107
117
|
"readonly"
|
|
108
118
|
],
|
|
109
|
-
"description": "
|
|
119
|
+
"description": "The values of the currently selected items.",
|
|
110
120
|
"jsdocTags": []
|
|
111
121
|
},
|
|
112
122
|
{
|
|
@@ -136,140 +146,9 @@
|
|
|
136
146
|
"memberTags": [
|
|
137
147
|
"readonly"
|
|
138
148
|
],
|
|
139
|
-
"description": "The aria-current type.",
|
|
149
|
+
"description": "The `aria-current` type. It can be used in navigation trees to indicate the currently active item.\nSee https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Reference/Attributes/aria-current for more details.",
|
|
140
150
|
"jsdocTags": []
|
|
141
151
|
},
|
|
142
|
-
{
|
|
143
|
-
"name": "onFocus",
|
|
144
|
-
"signatures": [
|
|
145
|
-
{
|
|
146
|
-
"name": "onFocus",
|
|
147
|
-
"entryType": "function",
|
|
148
|
-
"description": "",
|
|
149
|
-
"generics": [],
|
|
150
|
-
"isNewType": false,
|
|
151
|
-
"jsdocTags": [],
|
|
152
|
-
"params": [],
|
|
153
|
-
"rawComment": "",
|
|
154
|
-
"returnType": "void"
|
|
155
|
-
}
|
|
156
|
-
],
|
|
157
|
-
"implementation": {
|
|
158
|
-
"params": [],
|
|
159
|
-
"isNewType": false,
|
|
160
|
-
"returnType": "void",
|
|
161
|
-
"generics": [],
|
|
162
|
-
"name": "onFocus",
|
|
163
|
-
"description": "",
|
|
164
|
-
"entryType": "function",
|
|
165
|
-
"jsdocTags": [],
|
|
166
|
-
"rawComment": ""
|
|
167
|
-
},
|
|
168
|
-
"entryType": "function",
|
|
169
|
-
"description": "",
|
|
170
|
-
"jsdocTags": [],
|
|
171
|
-
"rawComment": "",
|
|
172
|
-
"memberType": "method",
|
|
173
|
-
"memberTags": []
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
"name": "register",
|
|
177
|
-
"signatures": [
|
|
178
|
-
{
|
|
179
|
-
"name": "register",
|
|
180
|
-
"entryType": "function",
|
|
181
|
-
"description": "",
|
|
182
|
-
"generics": [],
|
|
183
|
-
"isNewType": false,
|
|
184
|
-
"jsdocTags": [],
|
|
185
|
-
"params": [
|
|
186
|
-
{
|
|
187
|
-
"name": "child",
|
|
188
|
-
"description": "",
|
|
189
|
-
"type": "TreeItem<V>",
|
|
190
|
-
"isOptional": false,
|
|
191
|
-
"isRestParam": false
|
|
192
|
-
}
|
|
193
|
-
],
|
|
194
|
-
"rawComment": "",
|
|
195
|
-
"returnType": "void"
|
|
196
|
-
}
|
|
197
|
-
],
|
|
198
|
-
"implementation": {
|
|
199
|
-
"params": [
|
|
200
|
-
{
|
|
201
|
-
"name": "child",
|
|
202
|
-
"description": "",
|
|
203
|
-
"type": "TreeItem<V>",
|
|
204
|
-
"isOptional": false,
|
|
205
|
-
"isRestParam": false
|
|
206
|
-
}
|
|
207
|
-
],
|
|
208
|
-
"isNewType": false,
|
|
209
|
-
"returnType": "void",
|
|
210
|
-
"generics": [],
|
|
211
|
-
"name": "register",
|
|
212
|
-
"description": "",
|
|
213
|
-
"entryType": "function",
|
|
214
|
-
"jsdocTags": [],
|
|
215
|
-
"rawComment": ""
|
|
216
|
-
},
|
|
217
|
-
"entryType": "function",
|
|
218
|
-
"description": "",
|
|
219
|
-
"jsdocTags": [],
|
|
220
|
-
"rawComment": "",
|
|
221
|
-
"memberType": "method",
|
|
222
|
-
"memberTags": []
|
|
223
|
-
},
|
|
224
|
-
{
|
|
225
|
-
"name": "unregister",
|
|
226
|
-
"signatures": [
|
|
227
|
-
{
|
|
228
|
-
"name": "unregister",
|
|
229
|
-
"entryType": "function",
|
|
230
|
-
"description": "",
|
|
231
|
-
"generics": [],
|
|
232
|
-
"isNewType": false,
|
|
233
|
-
"jsdocTags": [],
|
|
234
|
-
"params": [
|
|
235
|
-
{
|
|
236
|
-
"name": "child",
|
|
237
|
-
"description": "",
|
|
238
|
-
"type": "TreeItem<V>",
|
|
239
|
-
"isOptional": false,
|
|
240
|
-
"isRestParam": false
|
|
241
|
-
}
|
|
242
|
-
],
|
|
243
|
-
"rawComment": "",
|
|
244
|
-
"returnType": "void"
|
|
245
|
-
}
|
|
246
|
-
],
|
|
247
|
-
"implementation": {
|
|
248
|
-
"params": [
|
|
249
|
-
{
|
|
250
|
-
"name": "child",
|
|
251
|
-
"description": "",
|
|
252
|
-
"type": "TreeItem<V>",
|
|
253
|
-
"isOptional": false,
|
|
254
|
-
"isRestParam": false
|
|
255
|
-
}
|
|
256
|
-
],
|
|
257
|
-
"isNewType": false,
|
|
258
|
-
"returnType": "void",
|
|
259
|
-
"generics": [],
|
|
260
|
-
"name": "unregister",
|
|
261
|
-
"description": "",
|
|
262
|
-
"entryType": "function",
|
|
263
|
-
"jsdocTags": [],
|
|
264
|
-
"rawComment": ""
|
|
265
|
-
},
|
|
266
|
-
"entryType": "function",
|
|
267
|
-
"description": "",
|
|
268
|
-
"jsdocTags": [],
|
|
269
|
-
"rawComment": "",
|
|
270
|
-
"memberType": "method",
|
|
271
|
-
"memberTags": []
|
|
272
|
-
},
|
|
273
152
|
{
|
|
274
153
|
"name": "scrollActiveItemIntoView",
|
|
275
154
|
"signatures": [
|
|
@@ -325,14 +204,27 @@
|
|
|
325
204
|
"name": "V"
|
|
326
205
|
}
|
|
327
206
|
],
|
|
328
|
-
"description": "A
|
|
329
|
-
"jsdocTags": [
|
|
330
|
-
|
|
207
|
+
"description": "A container that transforms nested lists into an accessible, ARIA-compliant tree structure.\nIt manages the overall state of the tree, including selection, expansion, and keyboard\nnavigation.\n\n```html\n<ul ngTree [(value)]=\"selectedItems\" [multi]=\"true\">\n <ng-template\n [ngTemplateOutlet]=\"treeNodes\"\n [ngTemplateOutletContext]=\"{nodes: treeData, parent: tree}\"\n />\n</ul>\n\n<ng-template #treeNodes let-nodes=\"nodes\" let-parent=\"parent\">",
|
|
208
|
+
"jsdocTags": [
|
|
209
|
+
{
|
|
210
|
+
"name": "for",
|
|
211
|
+
"comment": "(node of nodes; track node.name) {\n<li ngTreeItem [parent]=\"parent\" [value]=\"node.name\" [label]=\"node.name\">\n{{ node.name }}"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"name": "if",
|
|
215
|
+
"comment": "(node.children) {\n <ul role=\"group\">\n <ng-template ngTreeItemGroup [ownedBy]=\"treeItem\" #group=\"ngTreeItemGroup\">\n <ng-template\n [ngTemplateOutlet]=\"treeNodes\"\n [ngTemplateOutletContext]=\"{nodes: node.children, parent: group}\"\n />\n </ng-template>\n </ul>\n}\n</li>\n}\n</ng-template>\n```"
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"name": "developerPreview",
|
|
219
|
+
"comment": "21.0"
|
|
220
|
+
}
|
|
221
|
+
],
|
|
222
|
+
"rawComment": "/**\n * A container that transforms nested lists into an accessible, ARIA-compliant tree structure.\n * It manages the overall state of the tree, including selection, expansion, and keyboard\n * navigation.\n *\n * ```html\n * <ul ngTree [(value)]=\"selectedItems\" [multi]=\"true\">\n * <ng-template\n * [ngTemplateOutlet]=\"treeNodes\"\n * [ngTemplateOutletContext]=\"{nodes: treeData, parent: tree}\"\n * />\n * </ul>\n *\n * <ng-template #treeNodes let-nodes=\"nodes\" let-parent=\"parent\">\n * @for (node of nodes; track node.name) {\n * <li ngTreeItem [parent]=\"parent\" [value]=\"node.name\" [label]=\"node.name\">\n * {{ node.name }}\n * @if (node.children) {\n * <ul role=\"group\">\n * <ng-template ngTreeItemGroup [ownedBy]=\"treeItem\" #group=\"ngTreeItemGroup\">\n * <ng-template\n * [ngTemplateOutlet]=\"treeNodes\"\n * [ngTemplateOutletContext]=\"{nodes: node.children, parent: group}\"\n * />\n * </ng-template>\n * </ul>\n * }\n * </li>\n * }\n * </ng-template>\n * ```\n *\n * @developerPreview 21.0\n */",
|
|
331
223
|
"implements": [],
|
|
332
224
|
"source": {
|
|
333
225
|
"filePath": "/src/aria/tree/tree.ts",
|
|
334
|
-
"startLine":
|
|
335
|
-
"endLine":
|
|
226
|
+
"startLine": 83,
|
|
227
|
+
"endLine": 240
|
|
336
228
|
}
|
|
337
229
|
},
|
|
338
230
|
{
|
|
@@ -342,14 +234,27 @@
|
|
|
342
234
|
"members": [
|
|
343
235
|
{
|
|
344
236
|
"name": "element",
|
|
345
|
-
"type": "
|
|
237
|
+
"type": "HTMLElement",
|
|
346
238
|
"memberType": "property",
|
|
347
239
|
"memberTags": [
|
|
348
240
|
"readonly"
|
|
349
241
|
],
|
|
350
|
-
"description": "
|
|
242
|
+
"description": "A reference to the host element.",
|
|
351
243
|
"jsdocTags": []
|
|
352
244
|
},
|
|
245
|
+
{
|
|
246
|
+
"name": "id",
|
|
247
|
+
"type": "any",
|
|
248
|
+
"memberType": "property",
|
|
249
|
+
"memberTags": [
|
|
250
|
+
"readonly",
|
|
251
|
+
"input"
|
|
252
|
+
],
|
|
253
|
+
"description": "A unique identifier for the tree item.",
|
|
254
|
+
"jsdocTags": [],
|
|
255
|
+
"inputAlias": "id",
|
|
256
|
+
"isRequiredInput": false
|
|
257
|
+
},
|
|
353
258
|
{
|
|
354
259
|
"name": "value",
|
|
355
260
|
"type": "any",
|
|
@@ -402,6 +307,21 @@
|
|
|
402
307
|
"inputAlias": "selectable",
|
|
403
308
|
"isRequiredInput": false
|
|
404
309
|
},
|
|
310
|
+
{
|
|
311
|
+
"name": "expanded",
|
|
312
|
+
"type": "any",
|
|
313
|
+
"memberType": "property",
|
|
314
|
+
"memberTags": [
|
|
315
|
+
"readonly",
|
|
316
|
+
"input",
|
|
317
|
+
"output"
|
|
318
|
+
],
|
|
319
|
+
"description": "Whether the tree item is expanded.",
|
|
320
|
+
"jsdocTags": [],
|
|
321
|
+
"inputAlias": "expanded",
|
|
322
|
+
"isRequiredInput": false,
|
|
323
|
+
"outputAlias": "expandedChange"
|
|
324
|
+
},
|
|
405
325
|
{
|
|
406
326
|
"name": "label",
|
|
407
327
|
"type": "any",
|
|
@@ -435,6 +355,46 @@
|
|
|
435
355
|
"description": "The tree root.",
|
|
436
356
|
"jsdocTags": []
|
|
437
357
|
},
|
|
358
|
+
{
|
|
359
|
+
"name": "active",
|
|
360
|
+
"type": "any",
|
|
361
|
+
"memberType": "property",
|
|
362
|
+
"memberTags": [
|
|
363
|
+
"readonly"
|
|
364
|
+
],
|
|
365
|
+
"description": "Whether the item is active.",
|
|
366
|
+
"jsdocTags": []
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"name": "level",
|
|
370
|
+
"type": "any",
|
|
371
|
+
"memberType": "property",
|
|
372
|
+
"memberTags": [
|
|
373
|
+
"readonly"
|
|
374
|
+
],
|
|
375
|
+
"description": "The level of the current item in a tree.",
|
|
376
|
+
"jsdocTags": []
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"name": "selected",
|
|
380
|
+
"type": "any",
|
|
381
|
+
"memberType": "property",
|
|
382
|
+
"memberTags": [
|
|
383
|
+
"readonly"
|
|
384
|
+
],
|
|
385
|
+
"description": "Whether the item is selected.",
|
|
386
|
+
"jsdocTags": []
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"name": "visible",
|
|
390
|
+
"type": "any",
|
|
391
|
+
"memberType": "property",
|
|
392
|
+
"memberTags": [
|
|
393
|
+
"readonly"
|
|
394
|
+
],
|
|
395
|
+
"description": "Whether this item is visible due to all of its parents being expanded.",
|
|
396
|
+
"jsdocTags": []
|
|
397
|
+
},
|
|
438
398
|
{
|
|
439
399
|
"name": "ngOnInit",
|
|
440
400
|
"signatures": [
|
|
@@ -500,88 +460,6 @@
|
|
|
500
460
|
"rawComment": "",
|
|
501
461
|
"memberType": "method",
|
|
502
462
|
"memberTags": []
|
|
503
|
-
},
|
|
504
|
-
{
|
|
505
|
-
"name": "register",
|
|
506
|
-
"signatures": [
|
|
507
|
-
{
|
|
508
|
-
"name": "register",
|
|
509
|
-
"entryType": "function",
|
|
510
|
-
"description": "",
|
|
511
|
-
"generics": [],
|
|
512
|
-
"isNewType": false,
|
|
513
|
-
"jsdocTags": [],
|
|
514
|
-
"params": [
|
|
515
|
-
{
|
|
516
|
-
"name": "group",
|
|
517
|
-
"description": "",
|
|
518
|
-
"type": "TreeItemGroup<V>",
|
|
519
|
-
"isOptional": false,
|
|
520
|
-
"isRestParam": false
|
|
521
|
-
}
|
|
522
|
-
],
|
|
523
|
-
"rawComment": "",
|
|
524
|
-
"returnType": "void"
|
|
525
|
-
}
|
|
526
|
-
],
|
|
527
|
-
"implementation": {
|
|
528
|
-
"params": [
|
|
529
|
-
{
|
|
530
|
-
"name": "group",
|
|
531
|
-
"description": "",
|
|
532
|
-
"type": "TreeItemGroup<V>",
|
|
533
|
-
"isOptional": false,
|
|
534
|
-
"isRestParam": false
|
|
535
|
-
}
|
|
536
|
-
],
|
|
537
|
-
"isNewType": false,
|
|
538
|
-
"returnType": "void",
|
|
539
|
-
"generics": [],
|
|
540
|
-
"name": "register",
|
|
541
|
-
"description": "",
|
|
542
|
-
"entryType": "function",
|
|
543
|
-
"jsdocTags": [],
|
|
544
|
-
"rawComment": ""
|
|
545
|
-
},
|
|
546
|
-
"entryType": "function",
|
|
547
|
-
"description": "",
|
|
548
|
-
"jsdocTags": [],
|
|
549
|
-
"rawComment": "",
|
|
550
|
-
"memberType": "method",
|
|
551
|
-
"memberTags": []
|
|
552
|
-
},
|
|
553
|
-
{
|
|
554
|
-
"name": "unregister",
|
|
555
|
-
"signatures": [
|
|
556
|
-
{
|
|
557
|
-
"name": "unregister",
|
|
558
|
-
"entryType": "function",
|
|
559
|
-
"description": "",
|
|
560
|
-
"generics": [],
|
|
561
|
-
"isNewType": false,
|
|
562
|
-
"jsdocTags": [],
|
|
563
|
-
"params": [],
|
|
564
|
-
"rawComment": "",
|
|
565
|
-
"returnType": "void"
|
|
566
|
-
}
|
|
567
|
-
],
|
|
568
|
-
"implementation": {
|
|
569
|
-
"params": [],
|
|
570
|
-
"isNewType": false,
|
|
571
|
-
"returnType": "void",
|
|
572
|
-
"generics": [],
|
|
573
|
-
"name": "unregister",
|
|
574
|
-
"description": "",
|
|
575
|
-
"entryType": "function",
|
|
576
|
-
"jsdocTags": [],
|
|
577
|
-
"rawComment": ""
|
|
578
|
-
},
|
|
579
|
-
"entryType": "function",
|
|
580
|
-
"description": "",
|
|
581
|
-
"jsdocTags": [],
|
|
582
|
-
"rawComment": "",
|
|
583
|
-
"memberType": "method",
|
|
584
|
-
"memberTags": []
|
|
585
463
|
}
|
|
586
464
|
],
|
|
587
465
|
"generics": [
|
|
@@ -589,9 +467,14 @@
|
|
|
589
467
|
"name": "V"
|
|
590
468
|
}
|
|
591
469
|
],
|
|
592
|
-
"description": "A selectable and expandable
|
|
593
|
-
"jsdocTags": [
|
|
594
|
-
|
|
470
|
+
"description": "A selectable and expandable item in an `ngTree`.\n\nThe `ngTreeItem` directive represents an individual node within an `ngTree`. It can be\nselected, expanded (if it has children), and disabled. The `parent` input establishes\nthe hierarchical relationship within the tree.\n\n```html\n<li ngTreeItem [parent]=\"parentTreeOrGroup\" value=\"item-id\" label=\"Item Label\">\n Item Label\n</li>\n```",
|
|
471
|
+
"jsdocTags": [
|
|
472
|
+
{
|
|
473
|
+
"name": "developerPreview",
|
|
474
|
+
"comment": "21.0"
|
|
475
|
+
}
|
|
476
|
+
],
|
|
477
|
+
"rawComment": "/**\n * A selectable and expandable item in an `ngTree`.\n *\n * The `ngTreeItem` directive represents an individual node within an `ngTree`. It can be\n * selected, expanded (if it has children), and disabled. The `parent` input establishes\n * the hierarchical relationship within the tree.\n *\n * ```html\n * <li ngTreeItem [parent]=\"parentTreeOrGroup\" value=\"item-id\" label=\"Item Label\">\n * Item Label\n * </li>\n * ```\n *\n * @developerPreview 21.0\n */",
|
|
595
478
|
"extends": "DeferredContentAware",
|
|
596
479
|
"implements": [
|
|
597
480
|
"OnInit",
|
|
@@ -605,8 +488,8 @@
|
|
|
605
488
|
],
|
|
606
489
|
"source": {
|
|
607
490
|
"filePath": "/src/aria/tree/tree.ts",
|
|
608
|
-
"startLine":
|
|
609
|
-
"endLine":
|
|
491
|
+
"startLine": 257,
|
|
492
|
+
"endLine": 385
|
|
610
493
|
}
|
|
611
494
|
},
|
|
612
495
|
{
|
|
@@ -615,13 +498,13 @@
|
|
|
615
498
|
"entryType": "undecorated_class",
|
|
616
499
|
"members": [
|
|
617
500
|
{
|
|
618
|
-
"name": "
|
|
619
|
-
"type": "
|
|
501
|
+
"name": "element",
|
|
502
|
+
"type": "HTMLElement",
|
|
620
503
|
"memberType": "property",
|
|
621
504
|
"memberTags": [
|
|
622
505
|
"readonly"
|
|
623
506
|
],
|
|
624
|
-
"description": "
|
|
507
|
+
"description": "A reference to the host element.",
|
|
625
508
|
"jsdocTags": []
|
|
626
509
|
},
|
|
627
510
|
{
|
|
@@ -699,104 +582,6 @@
|
|
|
699
582
|
"rawComment": "",
|
|
700
583
|
"memberType": "method",
|
|
701
584
|
"memberTags": []
|
|
702
|
-
},
|
|
703
|
-
{
|
|
704
|
-
"name": "register",
|
|
705
|
-
"signatures": [
|
|
706
|
-
{
|
|
707
|
-
"name": "register",
|
|
708
|
-
"entryType": "function",
|
|
709
|
-
"description": "",
|
|
710
|
-
"generics": [],
|
|
711
|
-
"isNewType": false,
|
|
712
|
-
"jsdocTags": [],
|
|
713
|
-
"params": [
|
|
714
|
-
{
|
|
715
|
-
"name": "child",
|
|
716
|
-
"description": "",
|
|
717
|
-
"type": "TreeItem<V>",
|
|
718
|
-
"isOptional": false,
|
|
719
|
-
"isRestParam": false
|
|
720
|
-
}
|
|
721
|
-
],
|
|
722
|
-
"rawComment": "",
|
|
723
|
-
"returnType": "void"
|
|
724
|
-
}
|
|
725
|
-
],
|
|
726
|
-
"implementation": {
|
|
727
|
-
"params": [
|
|
728
|
-
{
|
|
729
|
-
"name": "child",
|
|
730
|
-
"description": "",
|
|
731
|
-
"type": "TreeItem<V>",
|
|
732
|
-
"isOptional": false,
|
|
733
|
-
"isRestParam": false
|
|
734
|
-
}
|
|
735
|
-
],
|
|
736
|
-
"isNewType": false,
|
|
737
|
-
"returnType": "void",
|
|
738
|
-
"generics": [],
|
|
739
|
-
"name": "register",
|
|
740
|
-
"description": "",
|
|
741
|
-
"entryType": "function",
|
|
742
|
-
"jsdocTags": [],
|
|
743
|
-
"rawComment": ""
|
|
744
|
-
},
|
|
745
|
-
"entryType": "function",
|
|
746
|
-
"description": "",
|
|
747
|
-
"jsdocTags": [],
|
|
748
|
-
"rawComment": "",
|
|
749
|
-
"memberType": "method",
|
|
750
|
-
"memberTags": []
|
|
751
|
-
},
|
|
752
|
-
{
|
|
753
|
-
"name": "unregister",
|
|
754
|
-
"signatures": [
|
|
755
|
-
{
|
|
756
|
-
"name": "unregister",
|
|
757
|
-
"entryType": "function",
|
|
758
|
-
"description": "",
|
|
759
|
-
"generics": [],
|
|
760
|
-
"isNewType": false,
|
|
761
|
-
"jsdocTags": [],
|
|
762
|
-
"params": [
|
|
763
|
-
{
|
|
764
|
-
"name": "child",
|
|
765
|
-
"description": "",
|
|
766
|
-
"type": "TreeItem<V>",
|
|
767
|
-
"isOptional": false,
|
|
768
|
-
"isRestParam": false
|
|
769
|
-
}
|
|
770
|
-
],
|
|
771
|
-
"rawComment": "",
|
|
772
|
-
"returnType": "void"
|
|
773
|
-
}
|
|
774
|
-
],
|
|
775
|
-
"implementation": {
|
|
776
|
-
"params": [
|
|
777
|
-
{
|
|
778
|
-
"name": "child",
|
|
779
|
-
"description": "",
|
|
780
|
-
"type": "TreeItem<V>",
|
|
781
|
-
"isOptional": false,
|
|
782
|
-
"isRestParam": false
|
|
783
|
-
}
|
|
784
|
-
],
|
|
785
|
-
"isNewType": false,
|
|
786
|
-
"returnType": "void",
|
|
787
|
-
"generics": [],
|
|
788
|
-
"name": "unregister",
|
|
789
|
-
"description": "",
|
|
790
|
-
"entryType": "function",
|
|
791
|
-
"jsdocTags": [],
|
|
792
|
-
"rawComment": ""
|
|
793
|
-
},
|
|
794
|
-
"entryType": "function",
|
|
795
|
-
"description": "",
|
|
796
|
-
"jsdocTags": [],
|
|
797
|
-
"rawComment": "",
|
|
798
|
-
"memberType": "method",
|
|
799
|
-
"memberTags": []
|
|
800
585
|
}
|
|
801
586
|
],
|
|
802
587
|
"generics": [
|
|
@@ -804,17 +589,22 @@
|
|
|
804
589
|
"name": "V"
|
|
805
590
|
}
|
|
806
591
|
],
|
|
807
|
-
"description": "
|
|
808
|
-
"jsdocTags": [
|
|
809
|
-
|
|
592
|
+
"description": "Group that contains children tree items.\n\nThe `ngTreeItemGroup` structural directive should be applied to an `ng-template` that\nwraps the child `ngTreeItem` elements. It is used to define a group of children for an\nexpandable `ngTreeItem`. The `ownedBy` input links the group to its parent `ngTreeItem`.\n\n```html\n<li ngTreeItem [value]=\"'parent-id'\">\n Parent Item\n <ul role=\"group\">\n <ng-template ngTreeItemGroup [ownedBy]=\"parentTreeItemRef\">\n <li ngTreeItem [value]=\"'child-id'\">Child Item</li>\n </ng-template>\n </ul>\n</li>\n```",
|
|
593
|
+
"jsdocTags": [
|
|
594
|
+
{
|
|
595
|
+
"name": "developerPreview",
|
|
596
|
+
"comment": "21.0"
|
|
597
|
+
}
|
|
598
|
+
],
|
|
599
|
+
"rawComment": "/**\n * Group that contains children tree items.\n *\n * The `ngTreeItemGroup` structural directive should be applied to an `ng-template` that\n * wraps the child `ngTreeItem` elements. It is used to define a group of children for an\n * expandable `ngTreeItem`. The `ownedBy` input links the group to its parent `ngTreeItem`.\n *\n * ```html\n * <li ngTreeItem [value]=\"'parent-id'\">\n * Parent Item\n * <ul role=\"group\">\n * <ng-template ngTreeItemGroup [ownedBy]=\"parentTreeItemRef\">\n * <li ngTreeItem [value]=\"'child-id'\">Child Item</li>\n * </ng-template>\n * </ul>\n * </li>\n * ```\n *\n * @developerPreview 21.0\n */",
|
|
810
600
|
"implements": [
|
|
811
601
|
"OnInit",
|
|
812
602
|
"OnDestroy"
|
|
813
603
|
],
|
|
814
604
|
"source": {
|
|
815
605
|
"filePath": "/src/aria/tree/tree.ts",
|
|
816
|
-
"startLine":
|
|
817
|
-
"endLine":
|
|
606
|
+
"startLine": 407,
|
|
607
|
+
"endLine": 451
|
|
818
608
|
}
|
|
819
609
|
}
|
|
820
610
|
],
|
|
@@ -919,6 +709,10 @@
|
|
|
919
709
|
"Tree",
|
|
920
710
|
"@angular/aria/tree"
|
|
921
711
|
],
|
|
712
|
+
[
|
|
713
|
+
"Tree.element",
|
|
714
|
+
"@angular/aria/tree"
|
|
715
|
+
],
|
|
922
716
|
[
|
|
923
717
|
"Tree.id",
|
|
924
718
|
"@angular/aria/tree"
|
|
@@ -956,7 +750,7 @@
|
|
|
956
750
|
"@angular/aria/tree"
|
|
957
751
|
],
|
|
958
752
|
[
|
|
959
|
-
"Tree.
|
|
753
|
+
"Tree.values",
|
|
960
754
|
"@angular/aria/tree"
|
|
961
755
|
],
|
|
962
756
|
[
|
|
@@ -971,18 +765,6 @@
|
|
|
971
765
|
"Tree.currentType",
|
|
972
766
|
"@angular/aria/tree"
|
|
973
767
|
],
|
|
974
|
-
[
|
|
975
|
-
"Tree.onFocus",
|
|
976
|
-
"@angular/aria/tree"
|
|
977
|
-
],
|
|
978
|
-
[
|
|
979
|
-
"Tree.register",
|
|
980
|
-
"@angular/aria/tree"
|
|
981
|
-
],
|
|
982
|
-
[
|
|
983
|
-
"Tree.unregister",
|
|
984
|
-
"@angular/aria/tree"
|
|
985
|
-
],
|
|
986
768
|
[
|
|
987
769
|
"Tree.scrollActiveItemIntoView",
|
|
988
770
|
"@angular/aria/tree"
|
|
@@ -995,6 +777,10 @@
|
|
|
995
777
|
"TreeItem.element",
|
|
996
778
|
"@angular/aria/tree"
|
|
997
779
|
],
|
|
780
|
+
[
|
|
781
|
+
"TreeItem.id",
|
|
782
|
+
"@angular/aria/tree"
|
|
783
|
+
],
|
|
998
784
|
[
|
|
999
785
|
"TreeItem.value",
|
|
1000
786
|
"@angular/aria/tree"
|
|
@@ -1011,6 +797,10 @@
|
|
|
1011
797
|
"TreeItem.selectable",
|
|
1012
798
|
"@angular/aria/tree"
|
|
1013
799
|
],
|
|
800
|
+
[
|
|
801
|
+
"TreeItem.expanded",
|
|
802
|
+
"@angular/aria/tree"
|
|
803
|
+
],
|
|
1014
804
|
[
|
|
1015
805
|
"TreeItem.label",
|
|
1016
806
|
"@angular/aria/tree"
|
|
@@ -1024,47 +814,47 @@
|
|
|
1024
814
|
"@angular/aria/tree"
|
|
1025
815
|
],
|
|
1026
816
|
[
|
|
1027
|
-
"TreeItem.
|
|
817
|
+
"TreeItem.active",
|
|
1028
818
|
"@angular/aria/tree"
|
|
1029
819
|
],
|
|
1030
820
|
[
|
|
1031
|
-
"TreeItem.
|
|
821
|
+
"TreeItem.level",
|
|
1032
822
|
"@angular/aria/tree"
|
|
1033
823
|
],
|
|
1034
824
|
[
|
|
1035
|
-
"TreeItem.
|
|
825
|
+
"TreeItem.selected",
|
|
1036
826
|
"@angular/aria/tree"
|
|
1037
827
|
],
|
|
1038
828
|
[
|
|
1039
|
-
"TreeItem.
|
|
829
|
+
"TreeItem.visible",
|
|
1040
830
|
"@angular/aria/tree"
|
|
1041
831
|
],
|
|
1042
832
|
[
|
|
1043
|
-
"
|
|
833
|
+
"TreeItem.ngOnInit",
|
|
1044
834
|
"@angular/aria/tree"
|
|
1045
835
|
],
|
|
1046
836
|
[
|
|
1047
|
-
"
|
|
837
|
+
"TreeItem.ngOnDestroy",
|
|
1048
838
|
"@angular/aria/tree"
|
|
1049
839
|
],
|
|
1050
840
|
[
|
|
1051
|
-
"TreeItemGroup
|
|
841
|
+
"TreeItemGroup",
|
|
1052
842
|
"@angular/aria/tree"
|
|
1053
843
|
],
|
|
1054
844
|
[
|
|
1055
|
-
"TreeItemGroup.
|
|
845
|
+
"TreeItemGroup.element",
|
|
1056
846
|
"@angular/aria/tree"
|
|
1057
847
|
],
|
|
1058
848
|
[
|
|
1059
|
-
"TreeItemGroup.
|
|
849
|
+
"TreeItemGroup.ownedBy",
|
|
1060
850
|
"@angular/aria/tree"
|
|
1061
851
|
],
|
|
1062
852
|
[
|
|
1063
|
-
"TreeItemGroup.
|
|
853
|
+
"TreeItemGroup.ngOnInit",
|
|
1064
854
|
"@angular/aria/tree"
|
|
1065
855
|
],
|
|
1066
856
|
[
|
|
1067
|
-
"TreeItemGroup.
|
|
857
|
+
"TreeItemGroup.ngOnDestroy",
|
|
1068
858
|
"@angular/aria/tree"
|
|
1069
859
|
]
|
|
1070
860
|
]
|