@eaera-com/eaera-widgets-v2 0.1.80 → 0.1.82
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/dist/components/base/EaeraCollapse.d.ts +7 -1
- package/dist/components/base/EaeraCollapse.mjs +1 -1
- package/dist/components/chunks/EaeraCollapse-DWofxWoM.mjs +1 -0
- package/dist/components/index.mjs +1 -1
- package/dist/design-system/components/_collapse.scss +31 -1
- package/dist/design-system/themes/aurora/layers/_layer1-palettes.scss +0 -29
- package/dist/design-system/themes/aurora/layers/_layer3-tokens.scss +3 -0
- package/dist/design-system/themes/core/layers/_layer1-palettes.scss +0 -29
- package/dist/design-system/themes/core/layers/_layer3-tokens.scss +3 -0
- package/dist/design-system/themes/netr/bridges/_element-plus-bridge.scss +58 -0
- package/dist/design-system/themes/netr/elevation/_elevation-tokens.scss +67 -0
- package/dist/design-system/themes/netr/elevation/_elevation-utils.scss +94 -0
- package/dist/design-system/themes/netr/index.scss +133 -0
- package/dist/design-system/themes/netr/layers/_layer1-palettes.scss +318 -0
- package/dist/design-system/themes/netr/layers/_layer2-alias.scss +250 -0
- package/dist/design-system/themes/netr/layers/_layer3-tokens.scss +242 -0
- package/dist/design-system/themes/netr/themes/_dark-mode.scss +177 -0
- package/dist/design-system/themes/netr/tokens/_border-radius.scss +28 -0
- package/dist/design-system/themes/netr/tokens/_control-height.scss +18 -0
- package/dist/design-system/themes/netr/tokens/_screen-size.scss +10 -0
- package/dist/design-system/themes/netr/tokens/_spacing.scss +29 -0
- package/dist/design-system/themes/netr/typography/_typography-primitives.scss +11 -0
- package/dist/design-system/themes/netr/typography/_typography-semantic.scss +5 -0
- package/dist/design-system/themes/netr/typography/_typography-tokens.scss +185 -0
- package/dist/design-system/themes/netr/typography/_typography-utils.scss +375 -0
- package/dist/eaera-widgets-v2.es.js +46 -41
- package/dist/eaera-widgets-v2.umd.cjs +1 -1
- package/package.json +1 -1
- package/dist/components/chunks/EaeraCollapse-LNaBdM2I.mjs +0 -1
|
@@ -0,0 +1,375 @@
|
|
|
1
|
+
// ============================================================================
|
|
2
|
+
// TYPOGRAPHY UTILITIES
|
|
3
|
+
// ============================================================================
|
|
4
|
+
// Helper mixins and classes for applying typography tokens
|
|
5
|
+
// Usage:
|
|
6
|
+
// @use '../typography/typography-utils' as typo;
|
|
7
|
+
// .my-element { @include typo.display-lg; }
|
|
8
|
+
// Or use CSS classes directly: <h1 class="typo-dis-lg">
|
|
9
|
+
//
|
|
10
|
+
// IMPORTANT: Uses Figma naming convention:
|
|
11
|
+
// - font (NOT family)
|
|
12
|
+
// - sz (NOT size)
|
|
13
|
+
// - line-hg (NOT line-height)
|
|
14
|
+
// - wg (NOT weight)
|
|
15
|
+
// - tracking (NOT letter-spacing)
|
|
16
|
+
// ============================================================================
|
|
17
|
+
|
|
18
|
+
// ─────────────────────────────────────────────────────────────────────────
|
|
19
|
+
// MIXINS - Use in SCSS
|
|
20
|
+
// ─────────────────────────────────────────────────────────────────────────
|
|
21
|
+
|
|
22
|
+
// Display styles
|
|
23
|
+
@mixin display-lg {
|
|
24
|
+
font-family: var(--er-typo-dis-lg-font);
|
|
25
|
+
font-size: var(--er-typo-dis-lg-sz);
|
|
26
|
+
line-height: var(--er-typo-dis-lg-line-hg);
|
|
27
|
+
font-weight: var(--er-typo-dis-lg-wg);
|
|
28
|
+
letter-spacing: var(--er-typo-dis-lg-tracking);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@mixin display-lg-em {
|
|
32
|
+
font-family: var(--er-typo-dis-lg-font);
|
|
33
|
+
font-size: var(--er-typo-dis-lg-sz);
|
|
34
|
+
line-height: var(--er-typo-dis-lg-line-hg);
|
|
35
|
+
font-weight: var(--er-typo-dis-lg-wg-em);
|
|
36
|
+
letter-spacing: var(--er-typo-dis-lg-tracking);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@mixin display-md {
|
|
40
|
+
font-family: var(--er-typo-dis-md-font);
|
|
41
|
+
font-size: var(--er-typo-dis-md-sz);
|
|
42
|
+
line-height: var(--er-typo-dis-md-line-hg);
|
|
43
|
+
font-weight: var(--er-typo-dis-md-wg);
|
|
44
|
+
letter-spacing: var(--er-typo-dis-md-tracking);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@mixin display-md-em {
|
|
48
|
+
font-family: var(--er-typo-dis-md-font);
|
|
49
|
+
font-size: var(--er-typo-dis-md-sz);
|
|
50
|
+
line-height: var(--er-typo-dis-md-line-hg);
|
|
51
|
+
font-weight: var(--er-typo-dis-md-wg-em);
|
|
52
|
+
letter-spacing: var(--er-typo-dis-md-tracking);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@mixin display-sm {
|
|
56
|
+
font-family: var(--er-typo-dis-sm-font);
|
|
57
|
+
font-size: var(--er-typo-dis-sm-sz);
|
|
58
|
+
line-height: var(--er-typo-dis-sm-line-hg);
|
|
59
|
+
font-weight: var(--er-typo-dis-sm-wg);
|
|
60
|
+
letter-spacing: var(--er-typo-dis-sm-tracking);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@mixin display-sm-em {
|
|
64
|
+
font-family: var(--er-typo-dis-sm-font);
|
|
65
|
+
font-size: var(--er-typo-dis-sm-sz);
|
|
66
|
+
line-height: var(--er-typo-dis-sm-line-hg);
|
|
67
|
+
font-weight: var(--er-typo-dis-sm-wg-em);
|
|
68
|
+
letter-spacing: var(--er-typo-dis-sm-tracking);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
// Headline styles
|
|
72
|
+
@mixin headline-lg {
|
|
73
|
+
font-family: var(--er-typo-head-lg-font);
|
|
74
|
+
font-size: var(--er-typo-head-lg-sz);
|
|
75
|
+
line-height: var(--er-typo-head-lg-line-hg);
|
|
76
|
+
font-weight: var(--er-typo-head-lg-wg);
|
|
77
|
+
letter-spacing: var(--er-typo-head-lg-tracking);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
@mixin headline-lg-em {
|
|
81
|
+
font-family: var(--er-typo-head-lg-font);
|
|
82
|
+
font-size: var(--er-typo-head-lg-sz);
|
|
83
|
+
line-height: var(--er-typo-head-lg-line-hg);
|
|
84
|
+
font-weight: var(--er-typo-head-lg-wg-em);
|
|
85
|
+
letter-spacing: var(--er-typo-head-lg-tracking);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
@mixin headline-md {
|
|
89
|
+
font-family: var(--er-typo-head-md-font);
|
|
90
|
+
font-size: var(--er-typo-head-md-sz);
|
|
91
|
+
line-height: var(--er-typo-head-md-line-hg);
|
|
92
|
+
font-weight: var(--er-typo-head-md-wg);
|
|
93
|
+
letter-spacing: var(--er-typo-head-md-tracking);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
@mixin headline-md-em {
|
|
97
|
+
font-family: var(--er-typo-head-md-font);
|
|
98
|
+
font-size: var(--er-typo-head-md-sz);
|
|
99
|
+
line-height: var(--er-typo-head-md-line-hg);
|
|
100
|
+
font-weight: var(--er-typo-head-md-wg-em);
|
|
101
|
+
letter-spacing: var(--er-typo-head-md-tracking);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
@mixin headline-sm {
|
|
105
|
+
font-family: var(--er-typo-head-sm-font);
|
|
106
|
+
font-size: var(--er-typo-head-sm-sz);
|
|
107
|
+
line-height: var(--er-typo-head-sm-line-hg);
|
|
108
|
+
font-weight: var(--er-typo-head-sm-wg);
|
|
109
|
+
letter-spacing: var(--er-typo-head-sm-tracking);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
@mixin headline-sm-em {
|
|
113
|
+
font-family: var(--er-typo-head-sm-font);
|
|
114
|
+
font-size: var(--er-typo-head-sm-sz);
|
|
115
|
+
line-height: var(--er-typo-head-sm-line-hg);
|
|
116
|
+
font-weight: var(--er-typo-head-sm-wg-em);
|
|
117
|
+
letter-spacing: var(--er-typo-head-sm-tracking);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
// Title styles
|
|
121
|
+
@mixin title-lg {
|
|
122
|
+
font-family: var(--er-typo-title-lg-font);
|
|
123
|
+
font-size: var(--er-typo-title-lg-sz);
|
|
124
|
+
line-height: var(--er-typo-title-lg-line-hg);
|
|
125
|
+
font-weight: var(--er-typo-title-lg-wg);
|
|
126
|
+
letter-spacing: var(--er-typo-title-lg-tracking);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
@mixin title-lg-em {
|
|
130
|
+
font-family: var(--er-typo-title-lg-font);
|
|
131
|
+
font-size: var(--er-typo-title-lg-sz);
|
|
132
|
+
font-weight: var(--er-typo-title-lg-wg-em);
|
|
133
|
+
line-height: var(--er-typo-title-lg-line-hg);
|
|
134
|
+
letter-spacing: var(--er-typo-title-lg-tracking);
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
@mixin title-md {
|
|
138
|
+
font-family: var(--er-typo-title-md-font);
|
|
139
|
+
font-size: var(--er-typo-title-md-sz);
|
|
140
|
+
line-height: var(--er-typo-title-md-line-hg);
|
|
141
|
+
font-weight: var(--er-typo-title-md-wg);
|
|
142
|
+
letter-spacing: var(--er-typo-title-md-tracking);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
@mixin title-md-em {
|
|
146
|
+
font-family: var(--er-typo-title-md-font);
|
|
147
|
+
font-size: var(--er-typo-title-md-sz);
|
|
148
|
+
line-height: var(--er-typo-title-md-line-hg);
|
|
149
|
+
font-weight: var(--er-typo-title-md-wg-em);
|
|
150
|
+
letter-spacing: var(--er-typo-title-md-tracking);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
@mixin title-sm {
|
|
154
|
+
font-family: var(--er-typo-title-sm-font);
|
|
155
|
+
font-size: var(--er-typo-title-sm-sz);
|
|
156
|
+
line-height: var(--er-typo-title-sm-line-hg);
|
|
157
|
+
font-weight: var(--er-typo-title-sm-wg);
|
|
158
|
+
letter-spacing: var(--er-typo-title-sm-tracking);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
@mixin title-sm-em {
|
|
162
|
+
font-family: var(--er-typo-title-sm-font);
|
|
163
|
+
font-size: var(--er-typo-title-sm-sz);
|
|
164
|
+
line-height: var(--er-typo-title-sm-line-hg);
|
|
165
|
+
font-weight: var(--er-typo-title-sm-wg-em);
|
|
166
|
+
letter-spacing: var(--er-typo-title-sm-tracking);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
// Label styles
|
|
170
|
+
@mixin label-lg {
|
|
171
|
+
font-family: var(--er-typo-label-lg-font);
|
|
172
|
+
font-size: var(--er-typo-label-lg-sz);
|
|
173
|
+
line-height: var(--er-typo-label-lg-line-hg);
|
|
174
|
+
font-weight: var(--er-typo-label-lg-wg);
|
|
175
|
+
letter-spacing: var(--er-typo-label-lg-tracking);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
@mixin label-lg-em {
|
|
179
|
+
font-family: var(--er-typo-label-lg-font);
|
|
180
|
+
font-size: var(--er-typo-label-lg-sz);
|
|
181
|
+
line-height: var(--er-typo-label-lg-line-hg);
|
|
182
|
+
font-weight: var(--er-typo-label-lg-wg-em);
|
|
183
|
+
letter-spacing: var(--er-typo-label-lg-tracking);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
@mixin label-md {
|
|
187
|
+
font-family: var(--er-typo-label-md-font);
|
|
188
|
+
font-size: var(--er-typo-label-md-sz);
|
|
189
|
+
line-height: var(--er-typo-label-md-line-hg);
|
|
190
|
+
font-weight: var(--er-typo-label-md-wg);
|
|
191
|
+
letter-spacing: var(--er-typo-label-md-tracking);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
@mixin label-md-em {
|
|
195
|
+
font-family: var(--er-typo-label-md-font);
|
|
196
|
+
font-size: var(--er-typo-label-md-sz);
|
|
197
|
+
line-height: var(--er-typo-label-md-line-hg);
|
|
198
|
+
font-weight: var(--er-typo-label-md-wg-em);
|
|
199
|
+
letter-spacing: var(--er-typo-label-md-tracking);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
@mixin label-sm {
|
|
203
|
+
font-family: var(--er-typo-label-sm-font);
|
|
204
|
+
font-size: var(--er-typo-label-sm-sz);
|
|
205
|
+
line-height: var(--er-typo-label-sm-line-hg);
|
|
206
|
+
font-weight: var(--er-typo-label-sm-wg);
|
|
207
|
+
letter-spacing: var(--er-typo-label-sm-tracking);
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
@mixin label-sm-em {
|
|
211
|
+
font-family: var(--er-typo-label-sm-font);
|
|
212
|
+
font-size: var(--er-typo-label-sm-sz);
|
|
213
|
+
line-height: var(--er-typo-label-sm-line-hg);
|
|
214
|
+
font-weight: var(--er-typo-label-sm-wg-em);
|
|
215
|
+
letter-spacing: var(--er-typo-label-sm-tracking);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
// Body styles
|
|
219
|
+
@mixin body-lg {
|
|
220
|
+
font-family: var(--er-typo-body-lg-font);
|
|
221
|
+
font-size: var(--er-typo-body-lg-sz);
|
|
222
|
+
line-height: var(--er-typo-body-lg-line-hg);
|
|
223
|
+
font-weight: var(--er-typo-body-lg-wg);
|
|
224
|
+
letter-spacing: var(--er-typo-body-lg-tracking);
|
|
225
|
+
font-variant-numeric: lining-nums tabular-nums;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
@mixin body-lg-em {
|
|
229
|
+
font-family: var(--er-typo-body-lg-font);
|
|
230
|
+
font-size: var(--er-typo-body-lg-sz);
|
|
231
|
+
line-height: var(--er-typo-body-lg-line-hg);
|
|
232
|
+
font-weight: var(--er-typo-body-lg-wg-em);
|
|
233
|
+
letter-spacing: var(--er-typo-body-lg-tracking);
|
|
234
|
+
font-variant-numeric: lining-nums tabular-nums;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
@mixin body-md {
|
|
238
|
+
font-family: var(--er-typo-body-md-font);
|
|
239
|
+
font-size: var(--er-typo-body-md-sz);
|
|
240
|
+
line-height: var(--er-typo-body-md-line-hg);
|
|
241
|
+
font-weight: var(--er-typo-body-md-wg);
|
|
242
|
+
letter-spacing: var(--er-typo-body-md-tracking);
|
|
243
|
+
font-variant-numeric: lining-nums tabular-nums;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
@mixin body-md-em {
|
|
247
|
+
font-family: var(--er-typo-body-md-font);
|
|
248
|
+
font-size: var(--er-typo-body-md-sz);
|
|
249
|
+
line-height: var(--er-typo-body-md-line-hg);
|
|
250
|
+
font-weight: var(--er-typo-body-md-wg-em);
|
|
251
|
+
letter-spacing: var(--er-typo-body-md-tracking);
|
|
252
|
+
font-variant-numeric: lining-nums tabular-nums;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
@mixin body-sm {
|
|
256
|
+
font-family: var(--er-typo-body-sm-font);
|
|
257
|
+
font-size: var(--er-typo-body-sm-sz);
|
|
258
|
+
line-height: var(--er-typo-body-sm-line-hg);
|
|
259
|
+
font-weight: var(--er-typo-body-sm-wg);
|
|
260
|
+
letter-spacing: var(--er-typo-body-sm-tracking);
|
|
261
|
+
font-variant-numeric: lining-nums tabular-nums;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
@mixin body-sm-em {
|
|
265
|
+
font-family: var(--er-typo-body-sm-font);
|
|
266
|
+
font-size: var(--er-typo-body-sm-sz);
|
|
267
|
+
line-height: var(--er-typo-body-sm-line-hg);
|
|
268
|
+
font-weight: var(--er-typo-body-sm-wg-em);
|
|
269
|
+
letter-spacing: var(--er-typo-body-sm-tracking);
|
|
270
|
+
font-variant-numeric: lining-nums tabular-nums;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
// ─────────────────────────────────────────────────────────────────────────
|
|
274
|
+
// UTILITY CLASSES - Use in HTML
|
|
275
|
+
// ─────────────────────────────────────────────────────────────────────────
|
|
276
|
+
|
|
277
|
+
// Display classes
|
|
278
|
+
.typo-dis-lg {
|
|
279
|
+
@include display-lg;
|
|
280
|
+
}
|
|
281
|
+
.typo-dis-lg-em {
|
|
282
|
+
@include display-lg-em;
|
|
283
|
+
}
|
|
284
|
+
.typo-dis-md {
|
|
285
|
+
@include display-md;
|
|
286
|
+
}
|
|
287
|
+
.typo-dis-md-em {
|
|
288
|
+
@include display-md-em;
|
|
289
|
+
}
|
|
290
|
+
.typo-dis-sm {
|
|
291
|
+
@include display-sm;
|
|
292
|
+
}
|
|
293
|
+
.typo-dis-sm-em {
|
|
294
|
+
@include display-sm-em;
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
// Headline classes
|
|
298
|
+
.typo-head-lg {
|
|
299
|
+
@include headline-lg;
|
|
300
|
+
}
|
|
301
|
+
.typo-head-lg-em {
|
|
302
|
+
@include headline-lg-em;
|
|
303
|
+
}
|
|
304
|
+
.typo-head-md {
|
|
305
|
+
@include headline-md;
|
|
306
|
+
}
|
|
307
|
+
.typo-head-md-em {
|
|
308
|
+
@include headline-md-em;
|
|
309
|
+
}
|
|
310
|
+
.typo-head-sm {
|
|
311
|
+
@include headline-sm;
|
|
312
|
+
}
|
|
313
|
+
.typo-head-sm-em {
|
|
314
|
+
@include headline-sm-em;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
// Title classes
|
|
318
|
+
.typo-title-lg {
|
|
319
|
+
@include title-lg;
|
|
320
|
+
}
|
|
321
|
+
.typo-title-lg-em {
|
|
322
|
+
@include title-lg-em;
|
|
323
|
+
}
|
|
324
|
+
.typo-title-md {
|
|
325
|
+
@include title-md;
|
|
326
|
+
}
|
|
327
|
+
.typo-title-md-em {
|
|
328
|
+
@include title-md-em;
|
|
329
|
+
}
|
|
330
|
+
.typo-title-sm {
|
|
331
|
+
@include title-sm;
|
|
332
|
+
}
|
|
333
|
+
.typo-title-sm-em {
|
|
334
|
+
@include title-sm-em;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
// Label classes
|
|
338
|
+
.typo-label-lg {
|
|
339
|
+
@include label-lg;
|
|
340
|
+
}
|
|
341
|
+
.typo-label-lg-em {
|
|
342
|
+
@include label-lg-em;
|
|
343
|
+
}
|
|
344
|
+
.typo-label-md {
|
|
345
|
+
@include label-md;
|
|
346
|
+
}
|
|
347
|
+
.typo-label-md-em {
|
|
348
|
+
@include label-md-em;
|
|
349
|
+
}
|
|
350
|
+
.typo-label-sm {
|
|
351
|
+
@include label-sm;
|
|
352
|
+
}
|
|
353
|
+
.typo-label-sm-em {
|
|
354
|
+
@include label-sm-em;
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
// Body classes
|
|
358
|
+
.typo-body-lg {
|
|
359
|
+
@include body-lg;
|
|
360
|
+
}
|
|
361
|
+
.typo-body-lg-em {
|
|
362
|
+
@include body-lg-em;
|
|
363
|
+
}
|
|
364
|
+
.typo-body-md {
|
|
365
|
+
@include body-md;
|
|
366
|
+
}
|
|
367
|
+
.typo-body-md-em {
|
|
368
|
+
@include body-md-em;
|
|
369
|
+
}
|
|
370
|
+
.typo-body-sm {
|
|
371
|
+
@include body-sm;
|
|
372
|
+
}
|
|
373
|
+
.typo-body-sm-em {
|
|
374
|
+
@include body-sm-em;
|
|
375
|
+
}
|
|
@@ -73818,69 +73818,74 @@ overview`,
|
|
|
73818
73818
|
insetContent: { type: Boolean },
|
|
73819
73819
|
sectionSeparated: { type: Boolean },
|
|
73820
73820
|
keyName: { default: "id" },
|
|
73821
|
-
size: {},
|
|
73821
|
+
size: { default: "lg" },
|
|
73822
|
+
noIcon: { type: Boolean, default: !1 },
|
|
73822
73823
|
collapseSuffix: { default: () => s2(s0) }
|
|
73823
73824
|
}, {
|
|
73824
73825
|
modelValue: { default: "1" },
|
|
73825
73826
|
modelModifiers: {}
|
|
73826
73827
|
}),
|
|
73827
|
-
emits: ["update:modelValue"],
|
|
73828
|
-
setup(t, { expose: e }) {
|
|
73829
|
-
const
|
|
73830
|
-
|
|
73831
|
-
|
|
73832
|
-
|
|
73833
|
-
|
|
73834
|
-
|
|
73828
|
+
emits: /* @__PURE__ */ B1(["change"], ["update:modelValue"]),
|
|
73829
|
+
setup(t, { expose: e, emit: s }) {
|
|
73830
|
+
const a = t, n = s, i = K1(t, "modelValue"), c = P(null), d = y(() => [
|
|
73831
|
+
a.className,
|
|
73832
|
+
a.size !== "custom" ? a.size : "title-custom",
|
|
73833
|
+
a.noIcon && "no-icon",
|
|
73834
|
+
a.insetContent && "inset-content",
|
|
73835
|
+
a.sectionSeparated && "separated"
|
|
73836
|
+
]), h = (f) => {
|
|
73837
|
+
n("change", f);
|
|
73838
|
+
};
|
|
73835
73839
|
return e({
|
|
73836
|
-
collapseRef:
|
|
73837
|
-
activeNames: y(() =>
|
|
73838
|
-
setActiveNames: (
|
|
73839
|
-
}), (
|
|
73840
|
+
collapseRef: c,
|
|
73841
|
+
activeNames: y(() => c.value?.activeNames),
|
|
73842
|
+
setActiveNames: (f) => c.value?.setActiveNames(f)
|
|
73843
|
+
}), (f, v) => (l(), U(m(Os), {
|
|
73840
73844
|
ref_key: "collapseRef",
|
|
73841
|
-
ref:
|
|
73842
|
-
modelValue:
|
|
73843
|
-
"onUpdate:modelValue":
|
|
73844
|
-
class: Q(["custom-collapse",
|
|
73845
|
-
accordion: t.accordion
|
|
73845
|
+
ref: c,
|
|
73846
|
+
modelValue: i.value,
|
|
73847
|
+
"onUpdate:modelValue": v[0] || (v[0] = (u) => i.value = u),
|
|
73848
|
+
class: Q(["custom-collapse", d.value]),
|
|
73849
|
+
accordion: t.accordion,
|
|
73850
|
+
onChange: h
|
|
73846
73851
|
}, {
|
|
73847
73852
|
default: z(() => [
|
|
73848
|
-
(l(!0), r(h1, null, y1(t.data, (
|
|
73849
|
-
name:
|
|
73850
|
-
title:
|
|
73851
|
-
class: Q(["custom-collapse-item",
|
|
73852
|
-
key:
|
|
73853
|
-
disabled:
|
|
73854
|
-
icon: t.collapseSuffix
|
|
73853
|
+
(l(!0), r(h1, null, y1(t.data, (u, g) => (l(), U(m(Ns), {
|
|
73854
|
+
name: u[t.keyName],
|
|
73855
|
+
title: u.title,
|
|
73856
|
+
class: Q(["custom-collapse-item", u.className]),
|
|
73857
|
+
key: u[t.keyName],
|
|
73858
|
+
disabled: u.disabled || t.disabledAll,
|
|
73859
|
+
icon: t.noIcon ? void 0 : t.collapseSuffix
|
|
73855
73860
|
}, X1({
|
|
73856
73861
|
default: z(() => [
|
|
73857
|
-
H(
|
|
73858
|
-
item:
|
|
73859
|
-
index:
|
|
73862
|
+
H(f.$slots, "content", {
|
|
73863
|
+
item: u,
|
|
73864
|
+
index: g
|
|
73860
73865
|
}),
|
|
73861
|
-
H(
|
|
73862
|
-
item:
|
|
73863
|
-
index:
|
|
73866
|
+
H(f.$slots, `content_${u[t.keyName]}`, {
|
|
73867
|
+
item: u,
|
|
73868
|
+
index: g
|
|
73864
73869
|
})
|
|
73865
73870
|
]),
|
|
73866
73871
|
_: 2
|
|
73867
73872
|
}, [
|
|
73868
|
-
|
|
73873
|
+
f.$slots.icon ? {
|
|
73869
73874
|
name: "icon",
|
|
73870
|
-
fn: z((
|
|
73871
|
-
H(
|
|
73872
|
-
item:
|
|
73873
|
-
index:
|
|
73874
|
-
}, { ref_for: !0 },
|
|
73875
|
+
fn: z((_) => [
|
|
73876
|
+
H(f.$slots, "icon", E1({
|
|
73877
|
+
item: u,
|
|
73878
|
+
index: g
|
|
73879
|
+
}, { ref_for: !0 }, _))
|
|
73875
73880
|
]),
|
|
73876
73881
|
key: "0"
|
|
73877
73882
|
} : void 0,
|
|
73878
|
-
|
|
73883
|
+
f.$slots.title ? {
|
|
73879
73884
|
name: "title",
|
|
73880
73885
|
fn: z(() => [
|
|
73881
|
-
H(
|
|
73882
|
-
item:
|
|
73883
|
-
index:
|
|
73886
|
+
H(f.$slots, "title", {
|
|
73887
|
+
item: u,
|
|
73888
|
+
index: g
|
|
73884
73889
|
})
|
|
73885
73890
|
]),
|
|
73886
73891
|
key: "1"
|