@angular/aria 21.0.0-next.9 → 21.0.0-rc.1
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 +373 -0
- package/_adev_assets/aria-combobox.json +383 -0
- package/_adev_assets/aria-grid.json +647 -0
- package/_adev_assets/aria-listbox.json +511 -0
- package/_adev_assets/aria-menu.json +852 -0
- package/_adev_assets/aria-tabs.json +987 -0
- package/_adev_assets/aria-toolbar.json +696 -0
- package/_adev_assets/aria-tree.json +1071 -0
- package/fesm2022/_widget-chunk.mjs +949 -0
- package/fesm2022/_widget-chunk.mjs.map +1 -0
- package/fesm2022/accordion.mjs +372 -174
- package/fesm2022/accordion.mjs.map +1 -1
- package/fesm2022/aria.mjs +1 -2
- package/fesm2022/aria.mjs.map +1 -1
- package/fesm2022/combobox.mjs +308 -116
- package/fesm2022/combobox.mjs.map +1 -1
- package/fesm2022/grid.mjs +566 -0
- package/fesm2022/grid.mjs.map +1 -0
- package/fesm2022/listbox.mjs +384 -184
- package/fesm2022/listbox.mjs.map +1 -1
- package/fesm2022/menu.mjs +591 -0
- package/fesm2022/menu.mjs.map +1 -0
- package/fesm2022/private.mjs +2338 -0
- package/fesm2022/private.mjs.map +1 -0
- package/fesm2022/tabs.mjs +484 -276
- package/fesm2022/tabs.mjs.map +1 -1
- package/fesm2022/toolbar.mjs +366 -200
- package/fesm2022/toolbar.mjs.map +1 -1
- package/fesm2022/tree.mjs +515 -267
- package/fesm2022/tree.mjs.map +1 -1
- package/package.json +12 -12
- package/types/_grid-chunk.d.ts +608 -0
- package/types/accordion.d.ts +8 -8
- package/types/combobox.d.ts +20 -7
- package/types/grid.d.ts +120 -0
- package/types/listbox.d.ts +9 -7
- package/types/menu.d.ts +170 -0
- package/types/{ui-patterns.d.ts → private.d.ts} +555 -433
- package/types/tabs.d.ts +8 -8
- package/types/toolbar.d.ts +31 -28
- package/types/tree.d.ts +11 -9
- package/fesm2022/deferred-content.mjs +0 -60
- package/fesm2022/deferred-content.mjs.map +0 -1
- package/fesm2022/radio-group.mjs +0 -197
- package/fesm2022/radio-group.mjs.map +0 -1
- package/fesm2022/ui-patterns.mjs +0 -2504
- package/fesm2022/ui-patterns.mjs.map +0 -1
- package/types/deferred-content.d.ts +0 -38
- package/types/radio-group.d.ts +0 -82
|
@@ -0,0 +1,566 @@
|
|
|
1
|
+
import { _IdGenerator } from '@angular/cdk/a11y';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { inject, ElementRef, contentChildren, computed, input, booleanAttribute, afterRenderEffect, Directive, contentChild, model } from '@angular/core';
|
|
4
|
+
import { Directionality } from '@angular/cdk/bidi';
|
|
5
|
+
import { GridPattern, GridRowPattern, GridCellPattern, GridCellWidgetPattern } from './_widget-chunk.mjs';
|
|
6
|
+
|
|
7
|
+
class Grid {
|
|
8
|
+
_elementRef = inject(ElementRef);
|
|
9
|
+
_rows = contentChildren(GridRow, ...(ngDevMode ? [{
|
|
10
|
+
debugName: "_rows",
|
|
11
|
+
descendants: true
|
|
12
|
+
}] : [{
|
|
13
|
+
descendants: true
|
|
14
|
+
}]));
|
|
15
|
+
_rowPatterns = computed(() => this._rows().map(r => r._pattern), ...(ngDevMode ? [{
|
|
16
|
+
debugName: "_rowPatterns"
|
|
17
|
+
}] : []));
|
|
18
|
+
textDirection = inject(Directionality).valueSignal;
|
|
19
|
+
element = computed(() => this._elementRef.nativeElement, ...(ngDevMode ? [{
|
|
20
|
+
debugName: "element"
|
|
21
|
+
}] : []));
|
|
22
|
+
enableSelection = input(false, ...(ngDevMode ? [{
|
|
23
|
+
debugName: "enableSelection",
|
|
24
|
+
transform: booleanAttribute
|
|
25
|
+
}] : [{
|
|
26
|
+
transform: booleanAttribute
|
|
27
|
+
}]));
|
|
28
|
+
disabled = input(false, ...(ngDevMode ? [{
|
|
29
|
+
debugName: "disabled",
|
|
30
|
+
transform: booleanAttribute
|
|
31
|
+
}] : [{
|
|
32
|
+
transform: booleanAttribute
|
|
33
|
+
}]));
|
|
34
|
+
softDisabled = input(true, ...(ngDevMode ? [{
|
|
35
|
+
debugName: "softDisabled",
|
|
36
|
+
transform: booleanAttribute
|
|
37
|
+
}] : [{
|
|
38
|
+
transform: booleanAttribute
|
|
39
|
+
}]));
|
|
40
|
+
focusMode = input('roving', ...(ngDevMode ? [{
|
|
41
|
+
debugName: "focusMode"
|
|
42
|
+
}] : []));
|
|
43
|
+
rowWrap = input('loop', ...(ngDevMode ? [{
|
|
44
|
+
debugName: "rowWrap"
|
|
45
|
+
}] : []));
|
|
46
|
+
colWrap = input('loop', ...(ngDevMode ? [{
|
|
47
|
+
debugName: "colWrap"
|
|
48
|
+
}] : []));
|
|
49
|
+
multi = input(false, ...(ngDevMode ? [{
|
|
50
|
+
debugName: "multi",
|
|
51
|
+
transform: booleanAttribute
|
|
52
|
+
}] : [{
|
|
53
|
+
transform: booleanAttribute
|
|
54
|
+
}]));
|
|
55
|
+
selectionMode = input('follow', ...(ngDevMode ? [{
|
|
56
|
+
debugName: "selectionMode"
|
|
57
|
+
}] : []));
|
|
58
|
+
enableRangeSelection = input(false, ...(ngDevMode ? [{
|
|
59
|
+
debugName: "enableRangeSelection",
|
|
60
|
+
transform: booleanAttribute
|
|
61
|
+
}] : [{
|
|
62
|
+
transform: booleanAttribute
|
|
63
|
+
}]));
|
|
64
|
+
_pattern = new GridPattern({
|
|
65
|
+
...this,
|
|
66
|
+
rows: this._rowPatterns,
|
|
67
|
+
getCell: e => this._getCell(e)
|
|
68
|
+
});
|
|
69
|
+
constructor() {
|
|
70
|
+
afterRenderEffect(() => this._pattern.setDefaultStateEffect());
|
|
71
|
+
afterRenderEffect(() => this._pattern.resetStateEffect());
|
|
72
|
+
afterRenderEffect(() => this._pattern.focusEffect());
|
|
73
|
+
}
|
|
74
|
+
_getCell(element) {
|
|
75
|
+
const cellElement = element.closest('[ngGridCell]');
|
|
76
|
+
if (cellElement === undefined) return;
|
|
77
|
+
const widgetElement = element.closest('[ngGridCellWidget]');
|
|
78
|
+
for (const row of this._rowPatterns()) {
|
|
79
|
+
for (const cell of row.inputs.cells()) {
|
|
80
|
+
if (cell.element() === cellElement || widgetElement !== undefined && cell.element() === widgetElement) {
|
|
81
|
+
return cell;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
88
|
+
minVersion: "12.0.0",
|
|
89
|
+
version: "20.2.0-next.2",
|
|
90
|
+
ngImport: i0,
|
|
91
|
+
type: Grid,
|
|
92
|
+
deps: [],
|
|
93
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
94
|
+
});
|
|
95
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
96
|
+
minVersion: "17.2.0",
|
|
97
|
+
version: "20.2.0-next.2",
|
|
98
|
+
type: Grid,
|
|
99
|
+
isStandalone: true,
|
|
100
|
+
selector: "[ngGrid]",
|
|
101
|
+
inputs: {
|
|
102
|
+
enableSelection: {
|
|
103
|
+
classPropertyName: "enableSelection",
|
|
104
|
+
publicName: "enableSelection",
|
|
105
|
+
isSignal: true,
|
|
106
|
+
isRequired: false,
|
|
107
|
+
transformFunction: null
|
|
108
|
+
},
|
|
109
|
+
disabled: {
|
|
110
|
+
classPropertyName: "disabled",
|
|
111
|
+
publicName: "disabled",
|
|
112
|
+
isSignal: true,
|
|
113
|
+
isRequired: false,
|
|
114
|
+
transformFunction: null
|
|
115
|
+
},
|
|
116
|
+
softDisabled: {
|
|
117
|
+
classPropertyName: "softDisabled",
|
|
118
|
+
publicName: "softDisabled",
|
|
119
|
+
isSignal: true,
|
|
120
|
+
isRequired: false,
|
|
121
|
+
transformFunction: null
|
|
122
|
+
},
|
|
123
|
+
focusMode: {
|
|
124
|
+
classPropertyName: "focusMode",
|
|
125
|
+
publicName: "focusMode",
|
|
126
|
+
isSignal: true,
|
|
127
|
+
isRequired: false,
|
|
128
|
+
transformFunction: null
|
|
129
|
+
},
|
|
130
|
+
rowWrap: {
|
|
131
|
+
classPropertyName: "rowWrap",
|
|
132
|
+
publicName: "rowWrap",
|
|
133
|
+
isSignal: true,
|
|
134
|
+
isRequired: false,
|
|
135
|
+
transformFunction: null
|
|
136
|
+
},
|
|
137
|
+
colWrap: {
|
|
138
|
+
classPropertyName: "colWrap",
|
|
139
|
+
publicName: "colWrap",
|
|
140
|
+
isSignal: true,
|
|
141
|
+
isRequired: false,
|
|
142
|
+
transformFunction: null
|
|
143
|
+
},
|
|
144
|
+
multi: {
|
|
145
|
+
classPropertyName: "multi",
|
|
146
|
+
publicName: "multi",
|
|
147
|
+
isSignal: true,
|
|
148
|
+
isRequired: false,
|
|
149
|
+
transformFunction: null
|
|
150
|
+
},
|
|
151
|
+
selectionMode: {
|
|
152
|
+
classPropertyName: "selectionMode",
|
|
153
|
+
publicName: "selectionMode",
|
|
154
|
+
isSignal: true,
|
|
155
|
+
isRequired: false,
|
|
156
|
+
transformFunction: null
|
|
157
|
+
},
|
|
158
|
+
enableRangeSelection: {
|
|
159
|
+
classPropertyName: "enableRangeSelection",
|
|
160
|
+
publicName: "enableRangeSelection",
|
|
161
|
+
isSignal: true,
|
|
162
|
+
isRequired: false,
|
|
163
|
+
transformFunction: null
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
host: {
|
|
167
|
+
attributes: {
|
|
168
|
+
"role": "grid"
|
|
169
|
+
},
|
|
170
|
+
listeners: {
|
|
171
|
+
"keydown": "_pattern.onKeydown($event)",
|
|
172
|
+
"pointerdown": "_pattern.onPointerdown($event)",
|
|
173
|
+
"pointermove": "_pattern.onPointermove($event)",
|
|
174
|
+
"pointerup": "_pattern.onPointerup($event)",
|
|
175
|
+
"focusin": "_pattern.onFocusIn()",
|
|
176
|
+
"focusout": "_pattern.onFocusOut($event)"
|
|
177
|
+
},
|
|
178
|
+
properties: {
|
|
179
|
+
"tabindex": "_pattern.tabIndex()",
|
|
180
|
+
"attr.aria-disabled": "_pattern.disabled()",
|
|
181
|
+
"attr.aria-activedescendant": "_pattern.activeDescendant()"
|
|
182
|
+
},
|
|
183
|
+
classAttribute: "grid"
|
|
184
|
+
},
|
|
185
|
+
queries: [{
|
|
186
|
+
propertyName: "_rows",
|
|
187
|
+
predicate: GridRow,
|
|
188
|
+
descendants: true,
|
|
189
|
+
isSignal: true
|
|
190
|
+
}],
|
|
191
|
+
exportAs: ["ngGrid"],
|
|
192
|
+
ngImport: i0
|
|
193
|
+
});
|
|
194
|
+
}
|
|
195
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
196
|
+
minVersion: "12.0.0",
|
|
197
|
+
version: "20.2.0-next.2",
|
|
198
|
+
ngImport: i0,
|
|
199
|
+
type: Grid,
|
|
200
|
+
decorators: [{
|
|
201
|
+
type: Directive,
|
|
202
|
+
args: [{
|
|
203
|
+
selector: '[ngGrid]',
|
|
204
|
+
exportAs: 'ngGrid',
|
|
205
|
+
host: {
|
|
206
|
+
'class': 'grid',
|
|
207
|
+
'role': 'grid',
|
|
208
|
+
'[tabindex]': '_pattern.tabIndex()',
|
|
209
|
+
'[attr.aria-disabled]': '_pattern.disabled()',
|
|
210
|
+
'[attr.aria-activedescendant]': '_pattern.activeDescendant()',
|
|
211
|
+
'(keydown)': '_pattern.onKeydown($event)',
|
|
212
|
+
'(pointerdown)': '_pattern.onPointerdown($event)',
|
|
213
|
+
'(pointermove)': '_pattern.onPointermove($event)',
|
|
214
|
+
'(pointerup)': '_pattern.onPointerup($event)',
|
|
215
|
+
'(focusin)': '_pattern.onFocusIn()',
|
|
216
|
+
'(focusout)': '_pattern.onFocusOut($event)'
|
|
217
|
+
}
|
|
218
|
+
}]
|
|
219
|
+
}],
|
|
220
|
+
ctorParameters: () => []
|
|
221
|
+
});
|
|
222
|
+
class GridRow {
|
|
223
|
+
_elementRef = inject(ElementRef);
|
|
224
|
+
_cells = contentChildren(GridCell, ...(ngDevMode ? [{
|
|
225
|
+
debugName: "_cells",
|
|
226
|
+
descendants: true
|
|
227
|
+
}] : [{
|
|
228
|
+
descendants: true
|
|
229
|
+
}]));
|
|
230
|
+
_cellPatterns = computed(() => this._cells().map(c => c._pattern), ...(ngDevMode ? [{
|
|
231
|
+
debugName: "_cellPatterns"
|
|
232
|
+
}] : []));
|
|
233
|
+
_grid = inject(Grid);
|
|
234
|
+
grid = computed(() => this._grid._pattern, ...(ngDevMode ? [{
|
|
235
|
+
debugName: "grid"
|
|
236
|
+
}] : []));
|
|
237
|
+
element = computed(() => this._elementRef.nativeElement, ...(ngDevMode ? [{
|
|
238
|
+
debugName: "element"
|
|
239
|
+
}] : []));
|
|
240
|
+
role = input('row', ...(ngDevMode ? [{
|
|
241
|
+
debugName: "role"
|
|
242
|
+
}] : []));
|
|
243
|
+
rowIndex = input(...(ngDevMode ? [undefined, {
|
|
244
|
+
debugName: "rowIndex"
|
|
245
|
+
}] : []));
|
|
246
|
+
_pattern = new GridRowPattern({
|
|
247
|
+
...this,
|
|
248
|
+
cells: this._cellPatterns
|
|
249
|
+
});
|
|
250
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
251
|
+
minVersion: "12.0.0",
|
|
252
|
+
version: "20.2.0-next.2",
|
|
253
|
+
ngImport: i0,
|
|
254
|
+
type: GridRow,
|
|
255
|
+
deps: [],
|
|
256
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
257
|
+
});
|
|
258
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
259
|
+
minVersion: "17.2.0",
|
|
260
|
+
version: "20.2.0-next.2",
|
|
261
|
+
type: GridRow,
|
|
262
|
+
isStandalone: true,
|
|
263
|
+
selector: "[ngGridRow]",
|
|
264
|
+
inputs: {
|
|
265
|
+
role: {
|
|
266
|
+
classPropertyName: "role",
|
|
267
|
+
publicName: "role",
|
|
268
|
+
isSignal: true,
|
|
269
|
+
isRequired: false,
|
|
270
|
+
transformFunction: null
|
|
271
|
+
},
|
|
272
|
+
rowIndex: {
|
|
273
|
+
classPropertyName: "rowIndex",
|
|
274
|
+
publicName: "rowIndex",
|
|
275
|
+
isSignal: true,
|
|
276
|
+
isRequired: false,
|
|
277
|
+
transformFunction: null
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
host: {
|
|
281
|
+
properties: {
|
|
282
|
+
"attr.role": "role()"
|
|
283
|
+
},
|
|
284
|
+
classAttribute: "grid-row"
|
|
285
|
+
},
|
|
286
|
+
queries: [{
|
|
287
|
+
propertyName: "_cells",
|
|
288
|
+
predicate: GridCell,
|
|
289
|
+
descendants: true,
|
|
290
|
+
isSignal: true
|
|
291
|
+
}],
|
|
292
|
+
exportAs: ["ngGridRow"],
|
|
293
|
+
ngImport: i0
|
|
294
|
+
});
|
|
295
|
+
}
|
|
296
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
297
|
+
minVersion: "12.0.0",
|
|
298
|
+
version: "20.2.0-next.2",
|
|
299
|
+
ngImport: i0,
|
|
300
|
+
type: GridRow,
|
|
301
|
+
decorators: [{
|
|
302
|
+
type: Directive,
|
|
303
|
+
args: [{
|
|
304
|
+
selector: '[ngGridRow]',
|
|
305
|
+
exportAs: 'ngGridRow',
|
|
306
|
+
host: {
|
|
307
|
+
'class': 'grid-row',
|
|
308
|
+
'[attr.role]': 'role()'
|
|
309
|
+
}
|
|
310
|
+
}]
|
|
311
|
+
}]
|
|
312
|
+
});
|
|
313
|
+
class GridCell {
|
|
314
|
+
_elementRef = inject(ElementRef);
|
|
315
|
+
_widgets = contentChild(GridCellWidget, ...(ngDevMode ? [{
|
|
316
|
+
debugName: "_widgets"
|
|
317
|
+
}] : []));
|
|
318
|
+
_widgetPattern = computed(() => this._widgets()?._pattern, ...(ngDevMode ? [{
|
|
319
|
+
debugName: "_widgetPattern"
|
|
320
|
+
}] : []));
|
|
321
|
+
_row = inject(GridRow);
|
|
322
|
+
_id = inject(_IdGenerator).getId('ng-grid-cell-', true);
|
|
323
|
+
element = computed(() => this._elementRef.nativeElement, ...(ngDevMode ? [{
|
|
324
|
+
debugName: "element"
|
|
325
|
+
}] : []));
|
|
326
|
+
role = input('gridcell', ...(ngDevMode ? [{
|
|
327
|
+
debugName: "role"
|
|
328
|
+
}] : []));
|
|
329
|
+
rowSpan = input(1, ...(ngDevMode ? [{
|
|
330
|
+
debugName: "rowSpan"
|
|
331
|
+
}] : []));
|
|
332
|
+
colSpan = input(1, ...(ngDevMode ? [{
|
|
333
|
+
debugName: "colSpan"
|
|
334
|
+
}] : []));
|
|
335
|
+
rowIndex = input(...(ngDevMode ? [undefined, {
|
|
336
|
+
debugName: "rowIndex"
|
|
337
|
+
}] : []));
|
|
338
|
+
colIndex = input(...(ngDevMode ? [undefined, {
|
|
339
|
+
debugName: "colIndex"
|
|
340
|
+
}] : []));
|
|
341
|
+
disabled = input(false, ...(ngDevMode ? [{
|
|
342
|
+
debugName: "disabled",
|
|
343
|
+
transform: booleanAttribute
|
|
344
|
+
}] : [{
|
|
345
|
+
transform: booleanAttribute
|
|
346
|
+
}]));
|
|
347
|
+
selected = model(false, ...(ngDevMode ? [{
|
|
348
|
+
debugName: "selected"
|
|
349
|
+
}] : []));
|
|
350
|
+
selectable = input(true, ...(ngDevMode ? [{
|
|
351
|
+
debugName: "selectable"
|
|
352
|
+
}] : []));
|
|
353
|
+
_pattern = new GridCellPattern({
|
|
354
|
+
...this,
|
|
355
|
+
id: () => this._id,
|
|
356
|
+
grid: this._row.grid,
|
|
357
|
+
row: () => this._row._pattern,
|
|
358
|
+
widget: this._widgetPattern
|
|
359
|
+
});
|
|
360
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
361
|
+
minVersion: "12.0.0",
|
|
362
|
+
version: "20.2.0-next.2",
|
|
363
|
+
ngImport: i0,
|
|
364
|
+
type: GridCell,
|
|
365
|
+
deps: [],
|
|
366
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
367
|
+
});
|
|
368
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
369
|
+
minVersion: "17.2.0",
|
|
370
|
+
version: "20.2.0-next.2",
|
|
371
|
+
type: GridCell,
|
|
372
|
+
isStandalone: true,
|
|
373
|
+
selector: "[ngGridCell]",
|
|
374
|
+
inputs: {
|
|
375
|
+
role: {
|
|
376
|
+
classPropertyName: "role",
|
|
377
|
+
publicName: "role",
|
|
378
|
+
isSignal: true,
|
|
379
|
+
isRequired: false,
|
|
380
|
+
transformFunction: null
|
|
381
|
+
},
|
|
382
|
+
rowSpan: {
|
|
383
|
+
classPropertyName: "rowSpan",
|
|
384
|
+
publicName: "rowSpan",
|
|
385
|
+
isSignal: true,
|
|
386
|
+
isRequired: false,
|
|
387
|
+
transformFunction: null
|
|
388
|
+
},
|
|
389
|
+
colSpan: {
|
|
390
|
+
classPropertyName: "colSpan",
|
|
391
|
+
publicName: "colSpan",
|
|
392
|
+
isSignal: true,
|
|
393
|
+
isRequired: false,
|
|
394
|
+
transformFunction: null
|
|
395
|
+
},
|
|
396
|
+
rowIndex: {
|
|
397
|
+
classPropertyName: "rowIndex",
|
|
398
|
+
publicName: "rowIndex",
|
|
399
|
+
isSignal: true,
|
|
400
|
+
isRequired: false,
|
|
401
|
+
transformFunction: null
|
|
402
|
+
},
|
|
403
|
+
colIndex: {
|
|
404
|
+
classPropertyName: "colIndex",
|
|
405
|
+
publicName: "colIndex",
|
|
406
|
+
isSignal: true,
|
|
407
|
+
isRequired: false,
|
|
408
|
+
transformFunction: null
|
|
409
|
+
},
|
|
410
|
+
disabled: {
|
|
411
|
+
classPropertyName: "disabled",
|
|
412
|
+
publicName: "disabled",
|
|
413
|
+
isSignal: true,
|
|
414
|
+
isRequired: false,
|
|
415
|
+
transformFunction: null
|
|
416
|
+
},
|
|
417
|
+
selected: {
|
|
418
|
+
classPropertyName: "selected",
|
|
419
|
+
publicName: "selected",
|
|
420
|
+
isSignal: true,
|
|
421
|
+
isRequired: false,
|
|
422
|
+
transformFunction: null
|
|
423
|
+
},
|
|
424
|
+
selectable: {
|
|
425
|
+
classPropertyName: "selectable",
|
|
426
|
+
publicName: "selectable",
|
|
427
|
+
isSignal: true,
|
|
428
|
+
isRequired: false,
|
|
429
|
+
transformFunction: null
|
|
430
|
+
}
|
|
431
|
+
},
|
|
432
|
+
outputs: {
|
|
433
|
+
selected: "selectedChange"
|
|
434
|
+
},
|
|
435
|
+
host: {
|
|
436
|
+
properties: {
|
|
437
|
+
"attr.role": "role()",
|
|
438
|
+
"attr.id": "_pattern.id()",
|
|
439
|
+
"attr.rowspan": "_pattern.rowSpan()",
|
|
440
|
+
"attr.colspan": "_pattern.colSpan()",
|
|
441
|
+
"attr.data-active": "_pattern.active()",
|
|
442
|
+
"attr.data-anchor": "_pattern.anchor()",
|
|
443
|
+
"attr.aria-disabled": "_pattern.disabled()",
|
|
444
|
+
"attr.aria-rowspan": "_pattern.rowSpan()",
|
|
445
|
+
"attr.aria-colspan": "_pattern.colSpan()",
|
|
446
|
+
"attr.aria-rowindex": "_pattern.ariaRowIndex()",
|
|
447
|
+
"attr.aria-colindex": "_pattern.ariaColIndex()",
|
|
448
|
+
"attr.aria-selected": "_pattern.ariaSelected()",
|
|
449
|
+
"tabindex": "_pattern.tabIndex()"
|
|
450
|
+
},
|
|
451
|
+
classAttribute: "grid-cell"
|
|
452
|
+
},
|
|
453
|
+
queries: [{
|
|
454
|
+
propertyName: "_widgets",
|
|
455
|
+
first: true,
|
|
456
|
+
predicate: GridCellWidget,
|
|
457
|
+
descendants: true,
|
|
458
|
+
isSignal: true
|
|
459
|
+
}],
|
|
460
|
+
exportAs: ["ngGridCell"],
|
|
461
|
+
ngImport: i0
|
|
462
|
+
});
|
|
463
|
+
}
|
|
464
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
465
|
+
minVersion: "12.0.0",
|
|
466
|
+
version: "20.2.0-next.2",
|
|
467
|
+
ngImport: i0,
|
|
468
|
+
type: GridCell,
|
|
469
|
+
decorators: [{
|
|
470
|
+
type: Directive,
|
|
471
|
+
args: [{
|
|
472
|
+
selector: '[ngGridCell]',
|
|
473
|
+
exportAs: 'ngGridCell',
|
|
474
|
+
host: {
|
|
475
|
+
'class': 'grid-cell',
|
|
476
|
+
'[attr.role]': 'role()',
|
|
477
|
+
'[attr.id]': '_pattern.id()',
|
|
478
|
+
'[attr.rowspan]': '_pattern.rowSpan()',
|
|
479
|
+
'[attr.colspan]': '_pattern.colSpan()',
|
|
480
|
+
'[attr.data-active]': '_pattern.active()',
|
|
481
|
+
'[attr.data-anchor]': '_pattern.anchor()',
|
|
482
|
+
'[attr.aria-disabled]': '_pattern.disabled()',
|
|
483
|
+
'[attr.aria-rowspan]': '_pattern.rowSpan()',
|
|
484
|
+
'[attr.aria-colspan]': '_pattern.colSpan()',
|
|
485
|
+
'[attr.aria-rowindex]': '_pattern.ariaRowIndex()',
|
|
486
|
+
'[attr.aria-colindex]': '_pattern.ariaColIndex()',
|
|
487
|
+
'[attr.aria-selected]': '_pattern.ariaSelected()',
|
|
488
|
+
'[tabindex]': '_pattern.tabIndex()'
|
|
489
|
+
}
|
|
490
|
+
}]
|
|
491
|
+
}]
|
|
492
|
+
});
|
|
493
|
+
class GridCellWidget {
|
|
494
|
+
_elementRef = inject(ElementRef);
|
|
495
|
+
_cell = inject(GridCell);
|
|
496
|
+
element = computed(() => this._elementRef.nativeElement, ...(ngDevMode ? [{
|
|
497
|
+
debugName: "element"
|
|
498
|
+
}] : []));
|
|
499
|
+
activate = model(false, ...(ngDevMode ? [{
|
|
500
|
+
debugName: "activate"
|
|
501
|
+
}] : []));
|
|
502
|
+
_pattern = new GridCellWidgetPattern({
|
|
503
|
+
...this,
|
|
504
|
+
cell: () => this._cell._pattern
|
|
505
|
+
});
|
|
506
|
+
focus() {
|
|
507
|
+
this.element().focus();
|
|
508
|
+
}
|
|
509
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
510
|
+
minVersion: "12.0.0",
|
|
511
|
+
version: "20.2.0-next.2",
|
|
512
|
+
ngImport: i0,
|
|
513
|
+
type: GridCellWidget,
|
|
514
|
+
deps: [],
|
|
515
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
516
|
+
});
|
|
517
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
518
|
+
minVersion: "17.1.0",
|
|
519
|
+
version: "20.2.0-next.2",
|
|
520
|
+
type: GridCellWidget,
|
|
521
|
+
isStandalone: true,
|
|
522
|
+
selector: "[ngGridCellWidget]",
|
|
523
|
+
inputs: {
|
|
524
|
+
activate: {
|
|
525
|
+
classPropertyName: "activate",
|
|
526
|
+
publicName: "activate",
|
|
527
|
+
isSignal: true,
|
|
528
|
+
isRequired: false,
|
|
529
|
+
transformFunction: null
|
|
530
|
+
}
|
|
531
|
+
},
|
|
532
|
+
outputs: {
|
|
533
|
+
activate: "activateChange"
|
|
534
|
+
},
|
|
535
|
+
host: {
|
|
536
|
+
properties: {
|
|
537
|
+
"attr.data-active": "_pattern.active()",
|
|
538
|
+
"tabindex": "_pattern.tabIndex()"
|
|
539
|
+
},
|
|
540
|
+
classAttribute: "grid-cell-widget"
|
|
541
|
+
},
|
|
542
|
+
exportAs: ["ngGridCellWidget"],
|
|
543
|
+
ngImport: i0
|
|
544
|
+
});
|
|
545
|
+
}
|
|
546
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
547
|
+
minVersion: "12.0.0",
|
|
548
|
+
version: "20.2.0-next.2",
|
|
549
|
+
ngImport: i0,
|
|
550
|
+
type: GridCellWidget,
|
|
551
|
+
decorators: [{
|
|
552
|
+
type: Directive,
|
|
553
|
+
args: [{
|
|
554
|
+
selector: '[ngGridCellWidget]',
|
|
555
|
+
exportAs: 'ngGridCellWidget',
|
|
556
|
+
host: {
|
|
557
|
+
'class': 'grid-cell-widget',
|
|
558
|
+
'[attr.data-active]': '_pattern.active()',
|
|
559
|
+
'[tabindex]': '_pattern.tabIndex()'
|
|
560
|
+
}
|
|
561
|
+
}]
|
|
562
|
+
}]
|
|
563
|
+
});
|
|
564
|
+
|
|
565
|
+
export { Grid, GridCell, GridCellWidget, GridRow };
|
|
566
|
+
//# sourceMappingURL=grid.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grid.mjs","sources":["../../../../../k8-fastbuild-ST-199a4f3c4e20/bin/src/aria/grid/grid.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {_IdGenerator} from '@angular/cdk/a11y';\nimport {\n afterRenderEffect,\n booleanAttribute,\n computed,\n contentChild,\n contentChildren,\n Directive,\n ElementRef,\n inject,\n input,\n model,\n Signal,\n} from '@angular/core';\nimport {Directionality} from '@angular/cdk/bidi';\nimport {GridPattern, GridRowPattern, GridCellPattern, GridCellWidgetPattern} from '../private';\n\n/** A directive that provides grid-based navigation and selection behavior. */\n@Directive({\n selector: '[ngGrid]',\n exportAs: 'ngGrid',\n host: {\n 'class': 'grid',\n 'role': 'grid',\n '[tabindex]': '_pattern.tabIndex()',\n '[attr.aria-disabled]': '_pattern.disabled()',\n '[attr.aria-activedescendant]': '_pattern.activeDescendant()',\n '(keydown)': '_pattern.onKeydown($event)',\n '(pointerdown)': '_pattern.onPointerdown($event)',\n '(pointermove)': '_pattern.onPointermove($event)',\n '(pointerup)': '_pattern.onPointerup($event)',\n '(focusin)': '_pattern.onFocusIn()',\n '(focusout)': '_pattern.onFocusOut($event)',\n },\n})\nexport class Grid {\n /** A reference to the host element. */\n private readonly _elementRef = inject(ElementRef);\n\n /** The rows that make up the grid. */\n private readonly _rows = contentChildren(GridRow, {descendants: true});\n\n /** The UI patterns for the rows in the grid. */\n private readonly _rowPatterns: Signal<GridRowPattern[]> = computed(() =>\n this._rows().map(r => r._pattern),\n );\n\n /** Text direction. */\n readonly textDirection = inject(Directionality).valueSignal;\n\n /** The host native element. */\n readonly element = computed(() => this._elementRef.nativeElement);\n\n /** Whether selection is enabled for the grid. */\n readonly enableSelection = input(false, {transform: booleanAttribute});\n\n /** Whether the grid is disabled. */\n readonly disabled = input(false, {transform: booleanAttribute});\n\n /** Whether to allow disabled items to receive focus. */\n readonly softDisabled = input(true, {transform: booleanAttribute});\n\n /** The focus strategy used by the grid. */\n readonly focusMode = input<'roving' | 'activedescendant'>('roving');\n\n /** The wrapping behavior for keyboard navigation along the row axis. */\n readonly rowWrap = input<'continuous' | 'loop' | 'nowrap'>('loop');\n\n /** The wrapping behavior for keyboard navigation along the column axis. */\n readonly colWrap = input<'continuous' | 'loop' | 'nowrap'>('loop');\n\n /** Whether multiple cells in the grid can be selected. */\n readonly multi = input(false, {transform: booleanAttribute});\n\n /** The selection strategy used by the grid. */\n readonly selectionMode = input<'follow' | 'explicit'>('follow');\n\n /** Whether enable range selections (with modifier keys or dragging). */\n readonly enableRangeSelection = input(false, {transform: booleanAttribute});\n\n /** The UI pattern for the grid. */\n readonly _pattern = new GridPattern({\n ...this,\n rows: this._rowPatterns,\n getCell: e => this._getCell(e),\n });\n\n constructor() {\n afterRenderEffect(() => this._pattern.setDefaultStateEffect());\n afterRenderEffect(() => this._pattern.resetStateEffect());\n afterRenderEffect(() => this._pattern.focusEffect());\n }\n\n /** Gets the cell pattern for a given element. */\n private _getCell(element: Element): GridCellPattern | undefined {\n const cellElement = element.closest('[ngGridCell]');\n if (cellElement === undefined) return;\n\n const widgetElement = element.closest('[ngGridCellWidget]');\n for (const row of this._rowPatterns()) {\n for (const cell of row.inputs.cells()) {\n if (\n cell.element() === cellElement ||\n (widgetElement !== undefined && cell.element() === widgetElement)\n ) {\n return cell;\n }\n }\n }\n return;\n }\n}\n\n/** A directive that represents a row in a grid. */\n@Directive({\n selector: '[ngGridRow]',\n exportAs: 'ngGridRow',\n host: {\n 'class': 'grid-row',\n '[attr.role]': 'role()',\n },\n})\nexport class GridRow {\n /** A reference to the host element. */\n private readonly _elementRef = inject(ElementRef);\n\n /** The cells that make up this row. */\n private readonly _cells = contentChildren(GridCell, {descendants: true});\n\n /** The UI patterns for the cells in this row. */\n private readonly _cellPatterns: Signal<GridCellPattern[]> = computed(() =>\n this._cells().map(c => c._pattern),\n );\n\n /** The parent grid. */\n private readonly _grid = inject(Grid);\n\n /** The parent grid UI pattern. */\n readonly grid = computed(() => this._grid._pattern);\n\n /** The host native element. */\n readonly element = computed(() => this._elementRef.nativeElement);\n\n /** The ARIA role for the row. */\n readonly role = input<'row' | 'rowheader'>('row');\n\n /** The index of this row within the grid. */\n readonly rowIndex = input<number>();\n\n /** The UI pattern for the grid row. */\n readonly _pattern = new GridRowPattern({\n ...this,\n cells: this._cellPatterns,\n });\n}\n\n/** A directive that represents a cell in a grid. */\n@Directive({\n selector: '[ngGridCell]',\n exportAs: 'ngGridCell',\n host: {\n 'class': 'grid-cell',\n '[attr.role]': 'role()',\n '[attr.id]': '_pattern.id()',\n '[attr.rowspan]': '_pattern.rowSpan()',\n '[attr.colspan]': '_pattern.colSpan()',\n '[attr.data-active]': '_pattern.active()',\n '[attr.data-anchor]': '_pattern.anchor()',\n '[attr.aria-disabled]': '_pattern.disabled()',\n '[attr.aria-rowspan]': '_pattern.rowSpan()',\n '[attr.aria-colspan]': '_pattern.colSpan()',\n '[attr.aria-rowindex]': '_pattern.ariaRowIndex()',\n '[attr.aria-colindex]': '_pattern.ariaColIndex()',\n '[attr.aria-selected]': '_pattern.ariaSelected()',\n '[tabindex]': '_pattern.tabIndex()',\n },\n})\nexport class GridCell {\n /** A reference to the host element. */\n private readonly _elementRef = inject(ElementRef);\n\n /** The widget contained within this cell, if any. */\n private readonly _widgets = contentChild(GridCellWidget);\n\n /** The UI pattern for the widget in this cell. */\n private readonly _widgetPattern: Signal<GridCellWidgetPattern | undefined> = computed(\n () => this._widgets()?._pattern,\n );\n\n /** The parent row. */\n private readonly _row = inject(GridRow);\n\n /** A unique identifier for the cell. */\n private readonly _id = inject(_IdGenerator).getId('ng-grid-cell-', true);\n\n /** The host native element. */\n readonly element = computed(() => this._elementRef.nativeElement);\n\n /** The ARIA role for the cell. */\n readonly role = input<'gridcell' | 'columnheader'>('gridcell');\n\n /** The number of rows the cell should span. */\n readonly rowSpan = input<number>(1);\n\n /** The number of columns the cell should span. */\n readonly colSpan = input<number>(1);\n\n /** The index of this cell's row within the grid. */\n readonly rowIndex = input<number>();\n\n /** The index of this cell's column within the grid. */\n readonly colIndex = input<number>();\n\n /** Whether the cell is disabled. */\n readonly disabled = input(false, {transform: booleanAttribute});\n\n /** Whether the cell is selected. */\n readonly selected = model<boolean>(false);\n\n /** Whether the cell is selectable. */\n readonly selectable = input<boolean>(true);\n\n /** The UI pattern for the grid cell. */\n readonly _pattern = new GridCellPattern({\n ...this,\n id: () => this._id,\n grid: this._row.grid,\n row: () => this._row._pattern,\n widget: this._widgetPattern,\n });\n}\n\n/** A directive that represents a widget inside a grid cell. */\n@Directive({\n selector: '[ngGridCellWidget]',\n exportAs: 'ngGridCellWidget',\n host: {\n 'class': 'grid-cell-widget',\n '[attr.data-active]': '_pattern.active()',\n '[tabindex]': '_pattern.tabIndex()',\n },\n})\nexport class GridCellWidget {\n /** A reference to the host element. */\n private readonly _elementRef = inject(ElementRef);\n\n /** The parent cell. */\n private readonly _cell = inject(GridCell);\n\n /** The host native element. */\n readonly element = computed(() => this._elementRef.nativeElement);\n\n /** Whether the widget is activated and the grid navigation should be paused. */\n readonly activate = model<boolean>(false);\n\n /** The UI pattern for the grid cell widget. */\n readonly _pattern = new GridCellWidgetPattern({\n ...this,\n cell: () => this._cell._pattern,\n });\n\n /** Focuses the widget. */\n focus(): void {\n this.element().focus();\n }\n}\n"],"names":["Grid","_elementRef","inject","ElementRef","_rows","contentChildren","GridRow","descendants","_rowPatterns","computed","map","r","_pattern","ngDevMode","debugName","textDirection","Directionality","valueSignal","element","nativeElement","enableSelection","input","transform","booleanAttribute","disabled","softDisabled","focusMode","rowWrap","colWrap","multi","selectionMode","enableRangeSelection","GridPattern","rows","getCell","e","_getCell","constructor","afterRenderEffect","setDefaultStateEffect","resetStateEffect","focusEffect","cellElement","closest","undefined","widgetElement","row","cell","inputs","cells","deps","target","i0","ɵɵFactoryTarget","Directive","ɵdir","ɵɵngDeclareDirective","minVersion","version","type","isSignal","exportAs","ngImport","decorators","args","selector","host","_cells","GridCell","_cellPatterns","c","_grid","grid","role","rowIndex","GridRowPattern","_widgets","contentChild","GridCellWidget","_widgetPattern","_row","_id","_IdGenerator","getId","rowSpan","colSpan","colIndex","selected","model","selectable","GridCellPattern","id","widget","_cell","activate","GridCellWidgetPattern","focus","isStandalone","classPropertyName","publicName","isRequired","transformFunction","outputs","properties","classAttribute"],"mappings":";;;;;;MA2CaA,IAAI,CAAA;AAEEC,EAAAA,WAAW,GAAGC,MAAM,CAACC,UAAU,CAAC;EAGhCC,KAAK,GAAGC,eAAe,CAACC,OAAO;;AAAGC,IAAAA,WAAW,EAAE;GAAI,CAAA,GAAA,CAAlB;AAACA,IAAAA,WAAW,EAAE;GAAK,GAAC;EAGrDC,YAAY,GAA6BC,QAAQ,CAAC,MACjE,IAAI,CAACL,KAAK,EAAE,CAACM,GAAG,CAACC,CAAC,IAAIA,CAAC,CAACC,QAAQ,CAAC,EAAA,IAAAC,SAAA,GAAA,CAAA;AAAAC,IAAAA,SAAA,EAAA;AAAA,GAAA,CAAA,GAAA,EAAA,CAAA,CAClC;AAGQC,EAAAA,aAAa,GAAGb,MAAM,CAACc,cAAc,CAAC,CAACC,WAAW;AAGlDC,EAAAA,OAAO,GAAGT,QAAQ,CAAC,MAAM,IAAI,CAACR,WAAW,CAACkB,aAAa,EAAA,IAAAN,SAAA,GAAA,CAAA;AAAAC,IAAAA,SAAA,EAAA;AAAA,GAAA,CAAA,GAAA,EAAA,CAAA,CAAC;EAGxDM,eAAe,GAAGC,KAAK,CAAC,KAAK;;AAAGC,IAAAA,SAAS,EAAEC;GAAgB,CAAA,GAAA,CAA5B;AAACD,IAAAA,SAAS,EAAEC;GAAiB,GAAC;EAG7DC,QAAQ,GAAGH,KAAK,CAAC,KAAK;;AAAGC,IAAAA,SAAS,EAAEC;GAAgB,CAAA,GAAA,CAA5B;AAACD,IAAAA,SAAS,EAAEC;GAAi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