@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
package/fesm2022/accordion.mjs
CHANGED
|
@@ -2,191 +2,389 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { inject, input, signal, afterRenderEffect, Directive, ElementRef, booleanAttribute, computed, contentChildren, model } from '@angular/core';
|
|
3
3
|
import { _IdGenerator } from '@angular/cdk/a11y';
|
|
4
4
|
import { Directionality } from '@angular/cdk/bidi';
|
|
5
|
-
import * as i1 from '@angular/aria/
|
|
6
|
-
import { DeferredContentAware, DeferredContent } from '@angular/aria/
|
|
7
|
-
import { AccordionPanelPattern, AccordionTriggerPattern, AccordionGroupPattern } from '@angular/aria/ui-patterns';
|
|
5
|
+
import * as i1 from '@angular/aria/private';
|
|
6
|
+
import { DeferredContentAware, AccordionPanelPattern, AccordionTriggerPattern, AccordionGroupPattern, DeferredContent } from '@angular/aria/private';
|
|
8
7
|
|
|
9
|
-
/**
|
|
10
|
-
* Represents the content panel of an accordion item. It is controlled by an
|
|
11
|
-
* associated `AccordionTrigger`.
|
|
12
|
-
*/
|
|
13
8
|
class AccordionPanel {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
9
|
+
_deferredContentAware = inject(DeferredContentAware);
|
|
10
|
+
_id = inject(_IdGenerator).getId('accordion-trigger-', true);
|
|
11
|
+
value = input.required(...(ngDevMode ? [{
|
|
12
|
+
debugName: "value"
|
|
13
|
+
}] : []));
|
|
14
|
+
accordionTrigger = signal(undefined, ...(ngDevMode ? [{
|
|
15
|
+
debugName: "accordionTrigger"
|
|
16
|
+
}] : []));
|
|
17
|
+
_pattern = new AccordionPanelPattern({
|
|
18
|
+
id: () => this._id,
|
|
19
|
+
value: this.value,
|
|
20
|
+
accordionTrigger: () => this.accordionTrigger()
|
|
21
|
+
});
|
|
22
|
+
constructor() {
|
|
23
|
+
afterRenderEffect(() => {
|
|
24
|
+
this._deferredContentAware.contentVisible.set(!this._pattern.hidden());
|
|
27
25
|
});
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
26
|
+
}
|
|
27
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
28
|
+
minVersion: "12.0.0",
|
|
29
|
+
version: "20.2.0-next.2",
|
|
30
|
+
ngImport: i0,
|
|
31
|
+
type: AccordionPanel,
|
|
32
|
+
deps: [],
|
|
33
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
34
|
+
});
|
|
35
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
36
|
+
minVersion: "17.1.0",
|
|
37
|
+
version: "20.2.0-next.2",
|
|
38
|
+
type: AccordionPanel,
|
|
39
|
+
isStandalone: true,
|
|
40
|
+
selector: "[ngAccordionPanel]",
|
|
41
|
+
inputs: {
|
|
42
|
+
value: {
|
|
43
|
+
classPropertyName: "value",
|
|
44
|
+
publicName: "value",
|
|
45
|
+
isSignal: true,
|
|
46
|
+
isRequired: true,
|
|
47
|
+
transformFunction: null
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
host: {
|
|
51
|
+
attributes: {
|
|
52
|
+
"role": "region"
|
|
53
|
+
},
|
|
54
|
+
properties: {
|
|
55
|
+
"attr.id": "_pattern.id()",
|
|
56
|
+
"attr.aria-labelledby": "_pattern.accordionTrigger()?.id()",
|
|
57
|
+
"attr.inert": "_pattern.hidden() ? true : null"
|
|
58
|
+
},
|
|
59
|
+
classAttribute: "ng-accordion-panel"
|
|
60
|
+
},
|
|
61
|
+
exportAs: ["ngAccordionPanel"],
|
|
62
|
+
hostDirectives: [{
|
|
63
|
+
directive: i1.DeferredContentAware,
|
|
64
|
+
inputs: ["preserveContent", "preserveContent"]
|
|
65
|
+
}],
|
|
66
|
+
ngImport: i0
|
|
67
|
+
});
|
|
36
68
|
}
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
69
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
70
|
+
minVersion: "12.0.0",
|
|
71
|
+
version: "20.2.0-next.2",
|
|
72
|
+
ngImport: i0,
|
|
73
|
+
type: AccordionPanel,
|
|
74
|
+
decorators: [{
|
|
75
|
+
type: Directive,
|
|
76
|
+
args: [{
|
|
77
|
+
selector: '[ngAccordionPanel]',
|
|
78
|
+
exportAs: 'ngAccordionPanel',
|
|
79
|
+
hostDirectives: [{
|
|
80
|
+
directive: DeferredContentAware,
|
|
81
|
+
inputs: ['preserveContent']
|
|
82
|
+
}],
|
|
83
|
+
host: {
|
|
84
|
+
'class': 'ng-accordion-panel',
|
|
85
|
+
'role': 'region',
|
|
86
|
+
'[attr.id]': '_pattern.id()',
|
|
87
|
+
'[attr.aria-labelledby]': '_pattern.accordionTrigger()?.id()',
|
|
88
|
+
'[attr.inert]': '_pattern.hidden() ? true : null'
|
|
89
|
+
}
|
|
90
|
+
}]
|
|
91
|
+
}],
|
|
92
|
+
ctorParameters: () => []
|
|
93
|
+
});
|
|
61
94
|
class AccordionTrigger {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
95
|
+
_id = inject(_IdGenerator).getId('ng-accordion-trigger-', true);
|
|
96
|
+
_elementRef = inject(ElementRef);
|
|
97
|
+
_accordionGroup = inject(AccordionGroup);
|
|
98
|
+
value = input.required(...(ngDevMode ? [{
|
|
99
|
+
debugName: "value"
|
|
100
|
+
}] : []));
|
|
101
|
+
disabled = input(false, ...(ngDevMode ? [{
|
|
102
|
+
debugName: "disabled",
|
|
103
|
+
transform: booleanAttribute
|
|
104
|
+
}] : [{
|
|
105
|
+
transform: booleanAttribute
|
|
106
|
+
}]));
|
|
107
|
+
hardDisabled = computed(() => this._pattern.disabled() && this._pattern.tabIndex() < 0, ...(ngDevMode ? [{
|
|
108
|
+
debugName: "hardDisabled"
|
|
109
|
+
}] : []));
|
|
110
|
+
accordionPanel = signal(undefined, ...(ngDevMode ? [{
|
|
111
|
+
debugName: "accordionPanel"
|
|
112
|
+
}] : []));
|
|
113
|
+
_pattern = new AccordionTriggerPattern({
|
|
114
|
+
id: () => this._id,
|
|
115
|
+
value: this.value,
|
|
116
|
+
disabled: this.disabled,
|
|
117
|
+
element: () => this._elementRef.nativeElement,
|
|
118
|
+
accordionGroup: computed(() => this._accordionGroup._pattern),
|
|
119
|
+
accordionPanel: this.accordionPanel
|
|
120
|
+
});
|
|
121
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
122
|
+
minVersion: "12.0.0",
|
|
123
|
+
version: "20.2.0-next.2",
|
|
124
|
+
ngImport: i0,
|
|
125
|
+
type: AccordionTrigger,
|
|
126
|
+
deps: [],
|
|
127
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
128
|
+
});
|
|
129
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
130
|
+
minVersion: "17.1.0",
|
|
131
|
+
version: "20.2.0-next.2",
|
|
132
|
+
type: AccordionTrigger,
|
|
133
|
+
isStandalone: true,
|
|
134
|
+
selector: "[ngAccordionTrigger]",
|
|
135
|
+
inputs: {
|
|
136
|
+
value: {
|
|
137
|
+
classPropertyName: "value",
|
|
138
|
+
publicName: "value",
|
|
139
|
+
isSignal: true,
|
|
140
|
+
isRequired: true,
|
|
141
|
+
transformFunction: null
|
|
142
|
+
},
|
|
143
|
+
disabled: {
|
|
144
|
+
classPropertyName: "disabled",
|
|
145
|
+
publicName: "disabled",
|
|
146
|
+
isSignal: true,
|
|
147
|
+
isRequired: false,
|
|
148
|
+
transformFunction: null
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
host: {
|
|
152
|
+
attributes: {
|
|
153
|
+
"role": "button"
|
|
154
|
+
},
|
|
155
|
+
listeners: {
|
|
156
|
+
"keydown": "_pattern.onKeydown($event)",
|
|
157
|
+
"pointerdown": "_pattern.onPointerdown($event)",
|
|
158
|
+
"focusin": "_pattern.onFocus($event)"
|
|
159
|
+
},
|
|
160
|
+
properties: {
|
|
161
|
+
"attr.data-active": "_pattern.active()",
|
|
162
|
+
"id": "_pattern.id()",
|
|
163
|
+
"attr.aria-expanded": "_pattern.expanded()",
|
|
164
|
+
"attr.aria-controls": "_pattern.controls()",
|
|
165
|
+
"attr.aria-disabled": "_pattern.disabled()",
|
|
166
|
+
"attr.disabled": "hardDisabled() ? true : null",
|
|
167
|
+
"attr.tabindex": "_pattern.tabIndex()"
|
|
168
|
+
},
|
|
169
|
+
classAttribute: "ng-accordion-trigger"
|
|
170
|
+
},
|
|
171
|
+
exportAs: ["ngAccordionTrigger"],
|
|
172
|
+
ngImport: i0
|
|
173
|
+
});
|
|
91
174
|
}
|
|
92
|
-
i0.ɵɵngDeclareClassMetadata({
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
175
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
176
|
+
minVersion: "12.0.0",
|
|
177
|
+
version: "20.2.0-next.2",
|
|
178
|
+
ngImport: i0,
|
|
179
|
+
type: AccordionTrigger,
|
|
180
|
+
decorators: [{
|
|
181
|
+
type: Directive,
|
|
182
|
+
args: [{
|
|
183
|
+
selector: '[ngAccordionTrigger]',
|
|
184
|
+
exportAs: 'ngAccordionTrigger',
|
|
185
|
+
host: {
|
|
186
|
+
'class': 'ng-accordion-trigger',
|
|
187
|
+
'[attr.data-active]': '_pattern.active()',
|
|
188
|
+
'role': 'button',
|
|
189
|
+
'[id]': '_pattern.id()',
|
|
190
|
+
'[attr.aria-expanded]': '_pattern.expanded()',
|
|
191
|
+
'[attr.aria-controls]': '_pattern.controls()',
|
|
192
|
+
'[attr.aria-disabled]': '_pattern.disabled()',
|
|
193
|
+
'[attr.disabled]': 'hardDisabled() ? true : null',
|
|
194
|
+
'[attr.tabindex]': '_pattern.tabIndex()',
|
|
195
|
+
'(keydown)': '_pattern.onKeydown($event)',
|
|
196
|
+
'(pointerdown)': '_pattern.onPointerdown($event)',
|
|
197
|
+
'(focusin)': '_pattern.onFocus($event)'
|
|
198
|
+
}
|
|
199
|
+
}]
|
|
200
|
+
}]
|
|
201
|
+
});
|
|
117
202
|
class AccordionGroup {
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
203
|
+
_elementRef = inject(ElementRef);
|
|
204
|
+
_triggers = contentChildren(AccordionTrigger, ...(ngDevMode ? [{
|
|
205
|
+
debugName: "_triggers",
|
|
206
|
+
descendants: true
|
|
207
|
+
}] : [{
|
|
208
|
+
descendants: true
|
|
209
|
+
}]));
|
|
210
|
+
_panels = contentChildren(AccordionPanel, ...(ngDevMode ? [{
|
|
211
|
+
debugName: "_panels",
|
|
212
|
+
descendants: true
|
|
213
|
+
}] : [{
|
|
214
|
+
descendants: true
|
|
215
|
+
}]));
|
|
216
|
+
textDirection = inject(Directionality).valueSignal;
|
|
217
|
+
disabled = input(false, ...(ngDevMode ? [{
|
|
218
|
+
debugName: "disabled",
|
|
219
|
+
transform: booleanAttribute
|
|
220
|
+
}] : [{
|
|
221
|
+
transform: booleanAttribute
|
|
222
|
+
}]));
|
|
223
|
+
multiExpandable = input(true, ...(ngDevMode ? [{
|
|
224
|
+
debugName: "multiExpandable",
|
|
225
|
+
transform: booleanAttribute
|
|
226
|
+
}] : [{
|
|
227
|
+
transform: booleanAttribute
|
|
228
|
+
}]));
|
|
229
|
+
value = model([], ...(ngDevMode ? [{
|
|
230
|
+
debugName: "value"
|
|
231
|
+
}] : []));
|
|
232
|
+
softDisabled = input(true, ...(ngDevMode ? [{
|
|
233
|
+
debugName: "softDisabled",
|
|
234
|
+
transform: booleanAttribute
|
|
235
|
+
}] : [{
|
|
236
|
+
transform: booleanAttribute
|
|
237
|
+
}]));
|
|
238
|
+
wrap = input(false, ...(ngDevMode ? [{
|
|
239
|
+
debugName: "wrap",
|
|
240
|
+
transform: booleanAttribute
|
|
241
|
+
}] : [{
|
|
242
|
+
transform: booleanAttribute
|
|
243
|
+
}]));
|
|
244
|
+
_pattern = new AccordionGroupPattern({
|
|
245
|
+
...this,
|
|
246
|
+
activeItem: signal(undefined),
|
|
247
|
+
items: computed(() => this._triggers().map(trigger => trigger._pattern)),
|
|
248
|
+
expandedIds: this.value,
|
|
249
|
+
orientation: () => 'vertical',
|
|
250
|
+
element: () => this._elementRef.nativeElement
|
|
251
|
+
});
|
|
252
|
+
constructor() {
|
|
253
|
+
afterRenderEffect(() => {
|
|
254
|
+
const triggers = this._triggers();
|
|
255
|
+
const panels = this._panels();
|
|
256
|
+
for (const trigger of triggers) {
|
|
257
|
+
const panel = panels.find(p => p.value() === trigger.value());
|
|
258
|
+
trigger.accordionPanel.set(panel?._pattern);
|
|
259
|
+
if (panel) {
|
|
260
|
+
panel.accordionTrigger.set(trigger._pattern);
|
|
261
|
+
}
|
|
262
|
+
}
|
|
147
263
|
});
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
264
|
+
}
|
|
265
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
266
|
+
minVersion: "12.0.0",
|
|
267
|
+
version: "20.2.0-next.2",
|
|
268
|
+
ngImport: i0,
|
|
269
|
+
type: AccordionGroup,
|
|
270
|
+
deps: [],
|
|
271
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
272
|
+
});
|
|
273
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
274
|
+
minVersion: "17.2.0",
|
|
275
|
+
version: "20.2.0-next.2",
|
|
276
|
+
type: AccordionGroup,
|
|
277
|
+
isStandalone: true,
|
|
278
|
+
selector: "[ngAccordionGroup]",
|
|
279
|
+
inputs: {
|
|
280
|
+
disabled: {
|
|
281
|
+
classPropertyName: "disabled",
|
|
282
|
+
publicName: "disabled",
|
|
283
|
+
isSignal: true,
|
|
284
|
+
isRequired: false,
|
|
285
|
+
transformFunction: null
|
|
286
|
+
},
|
|
287
|
+
multiExpandable: {
|
|
288
|
+
classPropertyName: "multiExpandable",
|
|
289
|
+
publicName: "multiExpandable",
|
|
290
|
+
isSignal: true,
|
|
291
|
+
isRequired: false,
|
|
292
|
+
transformFunction: null
|
|
293
|
+
},
|
|
294
|
+
value: {
|
|
295
|
+
classPropertyName: "value",
|
|
296
|
+
publicName: "value",
|
|
297
|
+
isSignal: true,
|
|
298
|
+
isRequired: false,
|
|
299
|
+
transformFunction: null
|
|
300
|
+
},
|
|
301
|
+
softDisabled: {
|
|
302
|
+
classPropertyName: "softDisabled",
|
|
303
|
+
publicName: "softDisabled",
|
|
304
|
+
isSignal: true,
|
|
305
|
+
isRequired: false,
|
|
306
|
+
transformFunction: null
|
|
307
|
+
},
|
|
308
|
+
wrap: {
|
|
309
|
+
classPropertyName: "wrap",
|
|
310
|
+
publicName: "wrap",
|
|
311
|
+
isSignal: true,
|
|
312
|
+
isRequired: false,
|
|
313
|
+
transformFunction: null
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
outputs: {
|
|
317
|
+
value: "valueChange"
|
|
318
|
+
},
|
|
319
|
+
host: {
|
|
320
|
+
classAttribute: "ng-accordion-group"
|
|
321
|
+
},
|
|
322
|
+
queries: [{
|
|
323
|
+
propertyName: "_triggers",
|
|
324
|
+
predicate: AccordionTrigger,
|
|
325
|
+
descendants: true,
|
|
326
|
+
isSignal: true
|
|
327
|
+
}, {
|
|
328
|
+
propertyName: "_panels",
|
|
329
|
+
predicate: AccordionPanel,
|
|
330
|
+
descendants: true,
|
|
331
|
+
isSignal: true
|
|
332
|
+
}],
|
|
333
|
+
exportAs: ["ngAccordionGroup"],
|
|
334
|
+
ngImport: i0
|
|
335
|
+
});
|
|
164
336
|
}
|
|
165
|
-
i0.ɵɵngDeclareClassMetadata({
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
337
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
338
|
+
minVersion: "12.0.0",
|
|
339
|
+
version: "20.2.0-next.2",
|
|
340
|
+
ngImport: i0,
|
|
341
|
+
type: AccordionGroup,
|
|
342
|
+
decorators: [{
|
|
343
|
+
type: Directive,
|
|
344
|
+
args: [{
|
|
345
|
+
selector: '[ngAccordionGroup]',
|
|
346
|
+
exportAs: 'ngAccordionGroup',
|
|
347
|
+
host: {
|
|
348
|
+
'class': 'ng-accordion-group'
|
|
349
|
+
}
|
|
350
|
+
}]
|
|
351
|
+
}],
|
|
352
|
+
ctorParameters: () => []
|
|
353
|
+
});
|
|
179
354
|
class AccordionContent {
|
|
180
|
-
|
|
181
|
-
|
|
355
|
+
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
356
|
+
minVersion: "12.0.0",
|
|
357
|
+
version: "20.2.0-next.2",
|
|
358
|
+
ngImport: i0,
|
|
359
|
+
type: AccordionContent,
|
|
360
|
+
deps: [],
|
|
361
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
362
|
+
});
|
|
363
|
+
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
364
|
+
minVersion: "14.0.0",
|
|
365
|
+
version: "20.2.0-next.2",
|
|
366
|
+
type: AccordionContent,
|
|
367
|
+
isStandalone: true,
|
|
368
|
+
selector: "ng-template[ngAccordionContent]",
|
|
369
|
+
hostDirectives: [{
|
|
370
|
+
directive: i1.DeferredContent
|
|
371
|
+
}],
|
|
372
|
+
ngImport: i0
|
|
373
|
+
});
|
|
182
374
|
}
|
|
183
|
-
i0.ɵɵngDeclareClassMetadata({
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
375
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
376
|
+
minVersion: "12.0.0",
|
|
377
|
+
version: "20.2.0-next.2",
|
|
378
|
+
ngImport: i0,
|
|
379
|
+
type: AccordionContent,
|
|
380
|
+
decorators: [{
|
|
381
|
+
type: Directive,
|
|
382
|
+
args: [{
|
|
383
|
+
selector: 'ng-template[ngAccordionContent]',
|
|
384
|
+
hostDirectives: [DeferredContent]
|
|
385
|
+
}]
|
|
386
|
+
}]
|
|
387
|
+
});
|
|
190
388
|
|
|
191
389
|
export { AccordionContent, AccordionGroup, AccordionPanel, AccordionTrigger };
|
|
192
390
|
//# sourceMappingURL=accordion.mjs.map
|