@bobbykim/mcl-collapse 0.8.6 → 0.8.8

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.
@@ -1,6 +1,1454 @@
1
- import { defineComponent as B, ref as O, useSlots as R, watch as L, createElementBlock as n, openBlock as d, normalizeClass as r, withDirectives as b, createElementVNode as u, unref as t, createCommentVNode as z, toDisplayString as A, withModifiers as D, renderSlot as y, createVNode as S, withCtx as E } from "vue";
2
- import l, { vCollapse as w, Collapse as I } from "@bobbykim/manguito-theme";
3
- const G = { class: "flex justify-between items-center" }, H = /* @__PURE__ */ B({
1
+ import { defineComponent as B, computed as f, h as W, ref as O, useSlots as V, watch as A, openBlock as b, createElementBlock as p, normalizeClass as c, withDirectives as v, unref as d, createElementVNode as x, toDisplayString as L, withModifiers as N, renderSlot as k, createCommentVNode as H, createVNode as E, withCtx as I } from "vue";
2
+ import a, { Collapse as D } from "@bobbykim/manguito-theme";
3
+ class F {
4
+ // body text class
5
+ bodyText = {
6
+ xs: "text-xs",
7
+ sm: "text-sm",
8
+ md: "text-md",
9
+ lg: "text-lg",
10
+ xl: "text-xl"
11
+ };
12
+ // font weight class
13
+ fontweight = {
14
+ light: "font-light",
15
+ normal: "font-normal",
16
+ bold: "font-bold"
17
+ };
18
+ // text alignment
19
+ textAlign = {
20
+ left: "text-left",
21
+ center: "text-center",
22
+ right: "text-right"
23
+ };
24
+ }
25
+ class X {
26
+ // Border width class
27
+ borderWidth = {
28
+ 1: "border-[1px]",
29
+ 2: "border-[2px]",
30
+ 3: "border-[3px]",
31
+ 4: "border-[4px]",
32
+ 5: "border-[5px]",
33
+ 6: "border-[6px]",
34
+ 7: "border-[7px]",
35
+ 8: "border-[8px]",
36
+ 9: "border-[9px]",
37
+ 10: "border-[10px]",
38
+ 11: "border-[11px]",
39
+ 12: "border-[12px]"
40
+ };
41
+ borderXWidth = {
42
+ 1: "border-x-[1px]",
43
+ 2: "border-x-[2px]",
44
+ 3: "border-x-[3px]",
45
+ 4: "border-x-[4px]",
46
+ 5: "border-x-[5px]",
47
+ 6: "border-x-[6px]",
48
+ 7: "border-x-[7px]",
49
+ 8: "border-x-[8px]",
50
+ 9: "border-x-[9px]",
51
+ 10: "border-x-[10px]",
52
+ 11: "border-x-[11px]",
53
+ 12: "border-x-[12px]"
54
+ };
55
+ borderYWidth = {
56
+ 1: "border-y-[1px]",
57
+ 2: "border-y-[2px]",
58
+ 3: "border-y-[3px]",
59
+ 4: "border-y-[4px]",
60
+ 5: "border-y-[5px]",
61
+ 6: "border-y-[6px]",
62
+ 7: "border-y-[7px]",
63
+ 8: "border-y-[8px]",
64
+ 9: "border-y-[9px]",
65
+ 10: "border-y-[10px]",
66
+ 11: "border-y-[11px]",
67
+ 12: "border-y-[12px]"
68
+ };
69
+ borderTopWidth = {
70
+ 1: "border-t-[1px]",
71
+ 2: "border-t-[2px]",
72
+ 3: "border-t-[3px]",
73
+ 4: "border-t-[4px]",
74
+ 5: "border-t-[5px]",
75
+ 6: "border-t-[6px]",
76
+ 7: "border-t-[7px]",
77
+ 8: "border-t-[8px]",
78
+ 9: "border-t-[9px]",
79
+ 10: "border-t-[10px]",
80
+ 11: "border-t-[11px]",
81
+ 12: "border-t-[12px]"
82
+ };
83
+ borderBottomWidth = {
84
+ 1: "border-b-[1px]",
85
+ 2: "border-b-[2px]",
86
+ 3: "border-b-[3px]",
87
+ 4: "border-b-[4px]",
88
+ 5: "border-b-[5px]",
89
+ 6: "border-b-[6px]",
90
+ 7: "border-b-[7px]",
91
+ 8: "border-b-[8px]",
92
+ 9: "border-b-[9px]",
93
+ 10: "border-b-[10px]",
94
+ 11: "border-b-[11px]",
95
+ 12: "border-b-[12px]"
96
+ };
97
+ borderLeftWidth = {
98
+ 1: "border-l-[1px]",
99
+ 2: "border-l-[2px]",
100
+ 3: "border-l-[3px]",
101
+ 4: "border-l-[4px]",
102
+ 5: "border-l-[5px]",
103
+ 6: "border-l-[6px]",
104
+ 7: "border-l-[7px]",
105
+ 8: "border-l-[8px]",
106
+ 9: "border-l-[9px]",
107
+ 10: "border-l-[10px]",
108
+ 11: "border-l-[11px]",
109
+ 12: "border-l-[12px]"
110
+ };
111
+ borderRightWidth = {
112
+ 1: "border-r-[1px]",
113
+ 2: "border-r-[2px]",
114
+ 3: "border-r-[3px]",
115
+ 4: "border-r-[4px]",
116
+ 5: "border-r-[5px]",
117
+ 6: "border-r-[6px]",
118
+ 7: "border-r-[7px]",
119
+ 8: "border-r-[8px]",
120
+ 9: "border-r-[9px]",
121
+ 10: "border-r-[10px]",
122
+ 11: "border-r-[11px]",
123
+ 12: "border-r-[12px]"
124
+ };
125
+ }
126
+ class M {
127
+ // bg color class
128
+ bgColor = {
129
+ primary: "bg-primary",
130
+ secondary: "bg-secondary",
131
+ success: "bg-success",
132
+ danger: "bg-danger",
133
+ info: "bg-info",
134
+ warning: "bg-warning",
135
+ "light-1": "bg-light-1",
136
+ "light-2": "bg-light-2",
137
+ "light-3": "bg-light-3",
138
+ "light-4": "bg-light-4",
139
+ "dark-1": "bg-dark-1",
140
+ "dark-2": "bg-dark-2",
141
+ "dark-3": "bg-dark-3",
142
+ "dark-4": "bg-dark-4",
143
+ black: "bg-black",
144
+ white: "bg-white",
145
+ transparent: "bg-transparent"
146
+ };
147
+ // hover: bg color class
148
+ hoverBgColor = {
149
+ primary: "hover:bg-primary",
150
+ secondary: "hover:bg-secondary",
151
+ success: "hover:bg-success",
152
+ danger: "hover:bg-danger",
153
+ info: "hover:bg-info",
154
+ warning: "hover:bg-warning",
155
+ "light-1": "hover:bg-light-1",
156
+ "light-2": "hover:bg-light-2",
157
+ "light-3": "hover:bg-light-3",
158
+ "light-4": "hover:bg-light-4",
159
+ "dark-1": "hover:bg-dark-1",
160
+ "dark-2": "hover:bg-dark-2",
161
+ "dark-3": "hover:bg-dark-3",
162
+ "dark-4": "hover:bg-dark-4",
163
+ black: "hover:bg-black",
164
+ white: "hover:bg-white",
165
+ transparent: "hover:bg-transparent"
166
+ };
167
+ // focus: bg color class
168
+ focusBgColor = {
169
+ primary: "focus:bg-primary",
170
+ secondary: "focus:bg-secondary",
171
+ success: "focus:bg-success",
172
+ danger: "focus:bg-danger",
173
+ info: "focus:bg-info",
174
+ warning: "focus:bg-warning",
175
+ "light-1": "focus:bg-light-1",
176
+ "light-2": "focus:bg-light-2",
177
+ "light-3": "focus:bg-light-3",
178
+ "light-4": "focus:bg-light-4",
179
+ "dark-1": "focus:bg-dark-1",
180
+ "dark-2": "focus:bg-dark-2",
181
+ "dark-3": "focus:bg-dark-3",
182
+ "dark-4": "focus:bg-dark-4",
183
+ black: "focus:bg-black",
184
+ white: "focus:bg-white",
185
+ transparent: "focus:bg-transparent"
186
+ };
187
+ // ::before bg color class
188
+ beforeBgColor = {
189
+ primary: "before:bg-primary",
190
+ secondary: "before:bg-secondary",
191
+ success: "before:bg-success",
192
+ danger: "before:bg-danger",
193
+ info: "before:bg-info",
194
+ warning: "before:bg-warning",
195
+ "light-1": "before:bg-light-1",
196
+ "light-2": "before:bg-light-2",
197
+ "light-3": "before:bg-light-3",
198
+ "light-4": "before:bg-light-4",
199
+ "dark-1": "before:bg-dark-1",
200
+ "dark-2": "before:bg-dark-2",
201
+ "dark-3": "before:bg-dark-3",
202
+ "dark-4": "before:bg-dark-4",
203
+ black: "before:bg-black",
204
+ white: "before:bg-white",
205
+ transparent: "before:bg-transparent"
206
+ };
207
+ // ::after bg color class
208
+ afterBgColor = {
209
+ primary: "after:bg-primary",
210
+ secondary: "after:bg-secondary",
211
+ success: "after:bg-success",
212
+ danger: "after:bg-danger",
213
+ info: "after:bg-info",
214
+ warning: "after:bg-warning",
215
+ "light-1": "after:bg-light-1",
216
+ "light-2": "after:bg-light-2",
217
+ "light-3": "after:bg-light-3",
218
+ "light-4": "after:bg-light-4",
219
+ "dark-1": "after:bg-dark-1",
220
+ "dark-2": "after:bg-dark-2",
221
+ "dark-3": "after:bg-dark-3",
222
+ "dark-4": "after:bg-dark-4",
223
+ black: "after:bg-black",
224
+ white: "after:bg-white",
225
+ transparent: "after:bg-transparent"
226
+ };
227
+ // active:bg color class
228
+ bgActiveColor = {
229
+ primary: "active:bg-primary",
230
+ secondary: "active:bg-secondary",
231
+ success: "active:bg-success",
232
+ danger: "active:bg-danger",
233
+ info: "active:bg-info",
234
+ warning: "active:bg-warning",
235
+ "light-1": "active:bg-light-1",
236
+ "light-2": "active:bg-light-2",
237
+ "light-3": "active:bg-light-3",
238
+ "light-4": "active:bg-light-4",
239
+ "dark-1": "active:bg-dark-1",
240
+ "dark-2": "active:bg-dark-2",
241
+ "dark-3": "active:bg-dark-3",
242
+ "dark-4": "active:bg-dark-4",
243
+ black: "active:bg-black",
244
+ white: "active:bg-white",
245
+ transparent: "active:bg-transparent"
246
+ };
247
+ // text color class
248
+ textColor = {
249
+ primary: "text-primary",
250
+ secondary: "text-secondary",
251
+ success: "text-success",
252
+ danger: "text-danger",
253
+ info: "text-info",
254
+ warning: "text-warning",
255
+ "light-1": "text-light-1",
256
+ "light-2": "text-light-2",
257
+ "light-3": "text-light-3",
258
+ "light-4": "text-light-4",
259
+ "dark-1": "text-dark-1",
260
+ "dark-2": "text-dark-2",
261
+ "dark-3": "text-dark-3",
262
+ "dark-4": "text-dark-4",
263
+ black: "text-black",
264
+ white: "text-white",
265
+ transparent: "text-transparent"
266
+ };
267
+ // hover text color class
268
+ hoverTextColor = {
269
+ primary: "hover:text-primary",
270
+ secondary: "hover:text-secondary",
271
+ success: "hover:text-success",
272
+ danger: "hover:text-danger",
273
+ info: "hover:text-info",
274
+ warning: "hover:text-warning",
275
+ "light-1": "hover:text-light-1",
276
+ "light-2": "hover:text-light-2",
277
+ "light-3": "hover:text-light-3",
278
+ "light-4": "hover:text-light-4",
279
+ "dark-1": "hover:text-dark-1",
280
+ "dark-2": "hover:text-dark-2",
281
+ "dark-3": "hover:text-dark-3",
282
+ "dark-4": "hover:text-dark-4",
283
+ black: "hover:text-black",
284
+ white: "hover:text-white",
285
+ transparent: "hover:text-transparent"
286
+ };
287
+ // focus text color class
288
+ focusTextColor = {
289
+ primary: "focus:text-primary",
290
+ secondary: "focus:text-secondary",
291
+ success: "focus:text-success",
292
+ danger: "focus:text-danger",
293
+ info: "focus:text-info",
294
+ warning: "focus:text-warning",
295
+ "light-1": "focus:text-light-1",
296
+ "light-2": "focus:text-light-2",
297
+ "light-3": "focus:text-light-3",
298
+ "light-4": "focus:text-light-4",
299
+ "dark-1": "focus:text-dark-1",
300
+ "dark-2": "focus:text-dark-2",
301
+ "dark-3": "focus:text-dark-3",
302
+ "dark-4": "focus:text-dark-4",
303
+ black: "focus:text-black",
304
+ white: "focus:text-white",
305
+ transparent: "focus:text-transparent"
306
+ };
307
+ // disabled text color class
308
+ disabledTextColor = {
309
+ primary: "disabled:text-primary",
310
+ secondary: "disabled:text-secondary",
311
+ success: "disabled:text-success",
312
+ danger: "disabled:text-danger",
313
+ info: "disabled:text-info",
314
+ warning: "disabled:text-warning",
315
+ "light-1": "disabled:text-light-1",
316
+ "light-2": "disabled:text-light-2",
317
+ "light-3": "disabled:text-light-3",
318
+ "light-4": "disabled:text-light-4",
319
+ "dark-1": "disabled:text-dark-1",
320
+ "dark-2": "disabled:text-dark-2",
321
+ "dark-3": "disabled:text-dark-3",
322
+ "dark-4": "disabled:text-dark-4",
323
+ black: "disabled:text-black",
324
+ white: "disabled:text-white",
325
+ transparent: "disabled:text-transparent"
326
+ };
327
+ // SVG fill color class
328
+ svgFillColor = {
329
+ primary: "fill-primary",
330
+ secondary: "fill-secondary",
331
+ success: "fill-success",
332
+ danger: "fill-danger",
333
+ info: "fill-info",
334
+ warning: "fill-warning",
335
+ "light-1": "fill-light-1",
336
+ "light-2": "fill-light-2",
337
+ "light-3": "fill-light-3",
338
+ "light-4": "fill-light-4",
339
+ "dark-1": "fill-dark-1",
340
+ "dark-2": "fill-dark-2",
341
+ "dark-3": "fill-dark-3",
342
+ "dark-4": "fill-dark-4",
343
+ black: "fill-black",
344
+ white: "fill-white",
345
+ transparent: "fill-transparent"
346
+ };
347
+ // ring color class
348
+ ringColor = {
349
+ primary: "ring-primary",
350
+ secondary: "ring-secondary",
351
+ success: "ring-success",
352
+ danger: "ring-danger",
353
+ info: "ring-info",
354
+ warning: "ring-warning",
355
+ "light-1": "ring-light-1",
356
+ "light-2": "ring-light-2",
357
+ "light-3": "ring-light-3",
358
+ "light-4": "ring-light-4",
359
+ "dark-1": "ring-dark-1",
360
+ "dark-2": "ring-dark-2",
361
+ "dark-3": "ring-dark-3",
362
+ "dark-4": "ring-dark-4",
363
+ black: "ring-black",
364
+ white: "ring-white",
365
+ transparent: "ring-transparent"
366
+ };
367
+ // focus:ring color class
368
+ ringFocusColor = {
369
+ primary: "focus:ring-primary",
370
+ secondary: "focus:ring-secondary",
371
+ success: "focus:ring-success",
372
+ danger: "focus:ring-danger",
373
+ info: "focus:ring-info",
374
+ warning: "focus:ring-warning",
375
+ "light-1": "focus:ring-light-1",
376
+ "light-2": "focus:ring-light-2",
377
+ "light-3": "focus:ring-light-3",
378
+ "light-4": "focus:ring-light-4",
379
+ "dark-1": "focus:ring-dark-1",
380
+ "dark-2": "focus:ring-dark-2",
381
+ "dark-3": "focus:ring-dark-3",
382
+ "dark-4": "focus:ring-dark-4",
383
+ black: "focus:ring-black",
384
+ white: "focus:ring-white",
385
+ transparent: "focus:ring-transparent"
386
+ };
387
+ // active:ring color class
388
+ ringActiveColor = {
389
+ primary: "active:ring-primary",
390
+ secondary: "active:ring-secondary",
391
+ success: "active:ring-success",
392
+ danger: "active:ring-danger",
393
+ info: "active:ring-info",
394
+ warning: "active:ring-warning",
395
+ "light-1": "active:ring-light-1",
396
+ "light-2": "active:ring-light-2",
397
+ "light-3": "active:ring-light-3",
398
+ "light-4": "active:ring-light-4",
399
+ "dark-1": "active:ring-dark-1",
400
+ "dark-2": "active:ring-dark-2",
401
+ "dark-3": "active:ring-dark-3",
402
+ "dark-4": "active:ring-dark-4",
403
+ black: "active:ring-black",
404
+ white: "active:ring-white",
405
+ transparent: "active:ring-transparent"
406
+ };
407
+ // ring-offset color class
408
+ ringOffsetColor = {
409
+ primary: "ring-offset-primary",
410
+ secondary: "ring-offset-secondary",
411
+ success: "ring-offset-success",
412
+ danger: "ring-offset-danger",
413
+ info: "ring-offset-info",
414
+ warning: "ring-offset-warning",
415
+ "light-1": "ring-offset-light-1",
416
+ "light-2": "ring-offset-light-2",
417
+ "light-3": "ring-offset-light-3",
418
+ "light-4": "ring-offset-light-4",
419
+ "dark-1": "ring-offset-dark-1",
420
+ "dark-2": "ring-offset-dark-2",
421
+ "dark-3": "ring-offset-dark-3",
422
+ "dark-4": "ring-offset-dark-4",
423
+ black: "ring-offset-black",
424
+ white: "ring-offset-white",
425
+ transparent: "ring-offset-transparent"
426
+ };
427
+ // outline class
428
+ outlineColor = {
429
+ primary: "outline-primary",
430
+ secondary: "outline-secondary",
431
+ success: "outline-success",
432
+ danger: "outline-danger",
433
+ info: "outline-info",
434
+ warning: "outline-warning",
435
+ "light-1": "outline-light-1",
436
+ "light-2": "outline-light-2",
437
+ "light-3": "outline-light-3",
438
+ "light-4": "outline-light-4",
439
+ "dark-1": "outline-dark-1",
440
+ "dark-2": "outline-dark-2",
441
+ "dark-3": "outline-dark-3",
442
+ "dark-4": "outline-dark-4",
443
+ black: "outline-black",
444
+ white: "outline-white",
445
+ transparent: "outline-transparent"
446
+ };
447
+ // focus:outline class
448
+ focusOutlineColor = {
449
+ primary: "focus:outline-primary",
450
+ secondary: "focus:outline-secondary",
451
+ success: "focus:outline-success",
452
+ danger: "focus:outline-danger",
453
+ info: "focus:outline-info",
454
+ warning: "focus:outline-warning",
455
+ "light-1": "focus:outline-light-1",
456
+ "light-2": "focus:outline-light-2",
457
+ "light-3": "focus:outline-light-3",
458
+ "light-4": "focus:outline-light-4",
459
+ "dark-1": "focus:outline-dark-1",
460
+ "dark-2": "focus:outline-dark-2",
461
+ "dark-3": "focus:outline-dark-3",
462
+ "dark-4": "focus:outline-dark-4",
463
+ black: "focus:outline-black",
464
+ white: "focus:outline-white",
465
+ transparent: "focus:outline-transparent"
466
+ };
467
+ // active:outline class
468
+ activeOutlineColor = {
469
+ primary: "active:outline-primary",
470
+ secondary: "active:outline-secondary",
471
+ success: "active:outline-success",
472
+ danger: "active:outline-danger",
473
+ info: "active:outline-info",
474
+ warning: "active:outline-warning",
475
+ "light-1": "active:outline-light-1",
476
+ "light-2": "active:outline-light-2",
477
+ "light-3": "active:outline-light-3",
478
+ "light-4": "active:outline-light-4",
479
+ "dark-1": "active:outline-dark-1",
480
+ "dark-2": "active:outline-dark-2",
481
+ "dark-3": "active:outline-dark-3",
482
+ "dark-4": "active:outline-dark-4",
483
+ black: "active:outline-black",
484
+ white: "active:outline-white",
485
+ transparent: "active:outline-transparent"
486
+ };
487
+ // btn color class
488
+ btnColor = {
489
+ primary: "btn-primary",
490
+ secondary: "btn-secondary",
491
+ success: "btn-success",
492
+ danger: "btn-danger",
493
+ info: "btn-info",
494
+ warning: "btn-warning",
495
+ "light-1": "btn-light-1",
496
+ "light-2": "btn-light-2",
497
+ "light-3": "btn-light-3",
498
+ "light-4": "btn-light-4",
499
+ "dark-1": "btn-dark-1",
500
+ "dark-2": "btn-dark-2",
501
+ "dark-3": "btn-dark-3",
502
+ "dark-4": "btn-dark-4",
503
+ black: "btn-black",
504
+ white: "btn-white",
505
+ transparent: "btn-transparent"
506
+ };
507
+ // list color class
508
+ listColor = {
509
+ primary: "mcl-list-primary",
510
+ secondary: "mcl-list-secondary",
511
+ success: "mcl-list-success",
512
+ danger: "mcl-list-danger",
513
+ info: "mcl-list-info",
514
+ warning: "mcl-list-warning",
515
+ "light-1": "mcl-list-light-1",
516
+ "light-2": "mcl-list-light-2",
517
+ "light-3": "mcl-list-light-3",
518
+ "light-4": "mcl-list-light-4",
519
+ "dark-1": "mcl-list-dark-1",
520
+ "dark-2": "mcl-list-dark-2",
521
+ "dark-3": "mcl-list-dark-3",
522
+ "dark-4": "mcl-list-dark-4",
523
+ black: "mcl-list-black",
524
+ white: "mcl-list-white",
525
+ transparent: "mcl-list-transparent"
526
+ };
527
+ // border color classes
528
+ borderColor = {
529
+ primary: "border-primary",
530
+ secondary: "border-secondary",
531
+ success: "border-success",
532
+ danger: "border-danger",
533
+ info: "border-info",
534
+ warning: "border-warning",
535
+ "light-1": "border-light-1",
536
+ "light-2": "border-light-2",
537
+ "light-3": "border-light-3",
538
+ "light-4": "border-light-4",
539
+ "dark-1": "border-dark-1",
540
+ "dark-2": "border-dark-2",
541
+ "dark-3": "border-dark-3",
542
+ "dark-4": "border-dark-4",
543
+ black: "border-black",
544
+ white: "border-white",
545
+ transparent: "border-transparent"
546
+ };
547
+ borderXColor = {
548
+ primary: "border-x-primary",
549
+ secondary: "border-x-secondary",
550
+ success: "border-x-success",
551
+ danger: "border-x-danger",
552
+ info: "border-x-info",
553
+ warning: "border-x-warning",
554
+ "light-1": "border-x-light-1",
555
+ "light-2": "border-x-light-2",
556
+ "light-3": "border-x-light-3",
557
+ "light-4": "border-x-light-4",
558
+ "dark-1": "border-x-dark-1",
559
+ "dark-2": "border-x-dark-2",
560
+ "dark-3": "border-x-dark-3",
561
+ "dark-4": "border-x-dark-4",
562
+ black: "border-x-black",
563
+ white: "border-x-white",
564
+ transparent: "border-x-transparent"
565
+ };
566
+ borderYColor = {
567
+ primary: "border-y-primary",
568
+ secondary: "border-y-secondary",
569
+ success: "border-y-success",
570
+ danger: "border-y-danger",
571
+ info: "border-y-info",
572
+ warning: "border-y-warning",
573
+ "light-1": "border-y-light-1",
574
+ "light-2": "border-y-light-2",
575
+ "light-3": "border-y-light-3",
576
+ "light-4": "border-y-light-4",
577
+ "dark-1": "border-y-dark-1",
578
+ "dark-2": "border-y-dark-2",
579
+ "dark-3": "border-y-dark-3",
580
+ "dark-4": "border-y-dark-4",
581
+ black: "border-y-black",
582
+ white: "border-y-white",
583
+ transparent: "border-y-transparent"
584
+ };
585
+ borderTopColor = {
586
+ primary: "border-t-primary",
587
+ secondary: "border-t-secondary",
588
+ success: "border-t-success",
589
+ danger: "border-t-danger",
590
+ info: "border-t-info",
591
+ warning: "border-t-warning",
592
+ "light-1": "border-t-light-1",
593
+ "light-2": "border-t-light-2",
594
+ "light-3": "border-t-light-3",
595
+ "light-4": "border-t-light-4",
596
+ "dark-1": "border-t-dark-1",
597
+ "dark-2": "border-t-dark-2",
598
+ "dark-3": "border-t-dark-3",
599
+ "dark-4": "border-t-dark-4",
600
+ black: "border-t-black",
601
+ white: "border-t-white",
602
+ transparent: "border-t-transparent"
603
+ };
604
+ borderBottomColor = {
605
+ primary: "border-b-primary",
606
+ secondary: "border-b-secondary",
607
+ success: "border-b-success",
608
+ danger: "border-b-danger",
609
+ info: "border-b-info",
610
+ warning: "border-b-warning",
611
+ "light-1": "border-b-light-1",
612
+ "light-2": "border-b-light-2",
613
+ "light-3": "border-b-light-3",
614
+ "light-4": "border-b-light-4",
615
+ "dark-1": "border-b-dark-1",
616
+ "dark-2": "border-b-dark-2",
617
+ "dark-3": "border-b-dark-3",
618
+ "dark-4": "border-b-dark-4",
619
+ black: "border-b-black",
620
+ white: "border-b-white",
621
+ transparent: "border-b-transparent"
622
+ };
623
+ borderLeftColor = {
624
+ primary: "border-l-primary",
625
+ secondary: "border-l-secondary",
626
+ success: "border-l-success",
627
+ danger: "border-l-danger",
628
+ info: "border-l-info",
629
+ warning: "border-l-warning",
630
+ "light-1": "border-l-light-1",
631
+ "light-2": "border-l-light-2",
632
+ "light-3": "border-l-light-3",
633
+ "light-4": "border-l-light-4",
634
+ "dark-1": "border-l-dark-1",
635
+ "dark-2": "border-l-dark-2",
636
+ "dark-3": "border-l-dark-3",
637
+ "dark-4": "border-l-dark-4",
638
+ black: "border-l-black",
639
+ white: "border-l-white",
640
+ transparent: "border-l-transparent"
641
+ };
642
+ borderRightColor = {
643
+ primary: "border-r-primary",
644
+ secondary: "border-r-secondary",
645
+ success: "border-r-success",
646
+ danger: "border-r-danger",
647
+ info: "border-r-info",
648
+ warning: "border-r-warning",
649
+ "light-1": "border-r-light-1",
650
+ "light-2": "border-r-light-2",
651
+ "light-3": "border-r-light-3",
652
+ "light-4": "border-r-light-4",
653
+ "dark-1": "border-r-dark-1",
654
+ "dark-2": "border-r-dark-2",
655
+ "dark-3": "border-r-dark-3",
656
+ "dark-4": "border-r-dark-4",
657
+ black: "border-r-black",
658
+ white: "border-r-white",
659
+ transparent: "border-r-transparent"
660
+ };
661
+ }
662
+ class P {
663
+ // h1 class
664
+ heading1 = {
665
+ sm: "h1-sm",
666
+ md: "h1-md",
667
+ lg: "h1-lg",
668
+ xl: "h1-xl"
669
+ };
670
+ // h2 class
671
+ heading2 = {
672
+ sm: "h2-sm",
673
+ md: "h2-md",
674
+ lg: "h2-lg",
675
+ xl: "h2-xl"
676
+ };
677
+ // h3 class
678
+ heading3 = {
679
+ sm: "h3-sm",
680
+ md: "h3-md",
681
+ lg: "h3-lg",
682
+ xl: "h3-xl"
683
+ };
684
+ // h4 class
685
+ heading4 = {
686
+ sm: "h4-sm",
687
+ md: "h4-md",
688
+ lg: "h4-lg",
689
+ xl: "h4-xl"
690
+ };
691
+ }
692
+ let Y = class {
693
+ // opacity
694
+ backgroundOpacity = {
695
+ 10: "bg-opacity-10",
696
+ 20: "bg-opacity-20",
697
+ 30: "bg-opacity-30",
698
+ 40: "bg-opacity-40",
699
+ 50: "bg-opacity-50",
700
+ 60: "bg-opacity-60",
701
+ 70: "bg-opacity-70",
702
+ 80: "bg-opacity-80",
703
+ 90: "bg-opacity-90",
704
+ 100: "bg-opacity-100"
705
+ };
706
+ opacity = {
707
+ 10: "opacity-10",
708
+ 20: "opacity-20",
709
+ 30: "opacity-30",
710
+ 40: "opacity-40",
711
+ 50: "opacity-50",
712
+ 60: "opacity-60",
713
+ 70: "opacity-70",
714
+ 80: "opacity-80",
715
+ 90: "opacity-90",
716
+ 100: "opacity-100"
717
+ };
718
+ outlineOpacity = {
719
+ 10: "outline-opacity-10",
720
+ 20: "outline-opacity-20",
721
+ 30: "outline-opacity-30",
722
+ 40: "outline-opacity-40",
723
+ 50: "outline-opacity-50",
724
+ 60: "outline-opacity-60",
725
+ 70: "outline-opacity-70",
726
+ 80: "outline-opacity-80",
727
+ 90: "outline-opacity-90",
728
+ 100: "outline-opacity-100"
729
+ };
730
+ };
731
+ class z {
732
+ // spacing: margin
733
+ margin = {
734
+ 0: "m-0",
735
+ "3xs": "m-3xs",
736
+ "2xs": "m-2xs",
737
+ xs: "m-xs",
738
+ sm: "m-sm",
739
+ md: "m-md",
740
+ lg: "m-lg",
741
+ xl: "m-xl",
742
+ "2xl": "m-2xl",
743
+ "3xl": "m-3xl"
744
+ };
745
+ marginX = {
746
+ 0: "mx-0",
747
+ "3xs": "mx-3xs",
748
+ "2xs": "mx-2xs",
749
+ xs: "mx-xs",
750
+ sm: "mx-sm",
751
+ md: "mx-md",
752
+ lg: "mx-lg",
753
+ xl: "mx-xl",
754
+ "2xl": "mx-2xl",
755
+ "3xl": "mx-3xl"
756
+ };
757
+ marginY = {
758
+ 0: "my-0",
759
+ "3xs": "my-3xs",
760
+ "2xs": "my-2xs",
761
+ xs: "my-xs",
762
+ sm: "my-sm",
763
+ md: "my-md",
764
+ lg: "my-lg",
765
+ xl: "my-xl",
766
+ "2xl": "my-2xl",
767
+ "3xl": "my-3xl"
768
+ };
769
+ marginTop = {
770
+ 0: "mt-0",
771
+ "3xs": "mt-3xs",
772
+ "2xs": "mt-2xs",
773
+ xs: "mt-xs",
774
+ sm: "mt-sm",
775
+ md: "mt-md",
776
+ lg: "mt-lg",
777
+ xl: "mt-xl",
778
+ "2xl": "mt-2xl",
779
+ "3xl": "mt-3xl"
780
+ };
781
+ marginBottom = {
782
+ 0: "mb-0",
783
+ "3xs": "mb-3xs",
784
+ "2xs": "mb-2xs",
785
+ xs: "mb-xs",
786
+ sm: "mb-sm",
787
+ md: "mb-md",
788
+ lg: "mb-lg",
789
+ xl: "mb-xl",
790
+ "2xl": "mb-2xl",
791
+ "3xl": "mb-3xl"
792
+ };
793
+ marginLeft = {
794
+ 0: "ml-0",
795
+ "3xs": "ml-3xs",
796
+ "2xs": "ml-2xs",
797
+ xs: "ml-xs",
798
+ sm: "ml-sm",
799
+ md: "ml-md",
800
+ lg: "ml-lg",
801
+ xl: "ml-xl",
802
+ "2xl": "ml-2xl",
803
+ "3xl": "ml-3xl"
804
+ };
805
+ marginRight = {
806
+ 0: "mr-0",
807
+ "3xs": "mr-3xs",
808
+ "2xs": "mr-2xs",
809
+ xs: "mr-xs",
810
+ sm: "mr-sm",
811
+ md: "mr-md",
812
+ lg: "mr-lg",
813
+ xl: "mr-xl",
814
+ "2xl": "mr-2xl",
815
+ "3xl": "mr-3xl"
816
+ };
817
+ // spacing: padding
818
+ padding = {
819
+ 0: "p-0",
820
+ "3xs": "p-3xs",
821
+ "2xs": "p-2xs",
822
+ xs: "p-xs",
823
+ sm: "p-sm",
824
+ md: "p-md",
825
+ lg: "p-lg",
826
+ xl: "p-xl",
827
+ "2xl": "p-2xl",
828
+ "3xl": "p-3xl"
829
+ };
830
+ paddingX = {
831
+ 0: "px-0",
832
+ "3xs": "px-3xs",
833
+ "2xs": "px-2xs",
834
+ xs: "px-xs",
835
+ sm: "px-sm",
836
+ md: "px-md",
837
+ lg: "px-lg",
838
+ xl: "px-xl",
839
+ "2xl": "px-2xl",
840
+ "3xl": "px-3xl"
841
+ };
842
+ paddingY = {
843
+ 0: "py-0",
844
+ "3xs": "py-3xs",
845
+ "2xs": "py-2xs",
846
+ xs: "py-xs",
847
+ sm: "py-sm",
848
+ md: "py-md",
849
+ lg: "py-lg",
850
+ xl: "py-xl",
851
+ "2xl": "py-2xl",
852
+ "3xl": "py-3xl"
853
+ };
854
+ paddingTop = {
855
+ 0: "pt-0",
856
+ "3xs": "pt-3xs",
857
+ "2xs": "pt-2xs",
858
+ xs: "pt-xs",
859
+ sm: "pt-sm",
860
+ md: "pt-md",
861
+ lg: "pt-lg",
862
+ xl: "pt-xl",
863
+ "2xl": "pt-2xl",
864
+ "3xl": "pt-3xl"
865
+ };
866
+ paddingBottom = {
867
+ 0: "pb-0",
868
+ "3xs": "pb-3xs",
869
+ "2xs": "pb-2xs",
870
+ xs: "pb-xs",
871
+ sm: "pb-sm",
872
+ md: "pb-md",
873
+ lg: "pb-lg",
874
+ xl: "pb-xl",
875
+ "2xl": "pb-2xl",
876
+ "3xl": "pb-3xl"
877
+ };
878
+ paddingLeft = {
879
+ 0: "pl-0",
880
+ "3xs": "pl-3xs",
881
+ "2xs": "pl-2xs",
882
+ xs: "pl-xs",
883
+ sm: "pl-sm",
884
+ md: "pl-md",
885
+ lg: "pl-lg",
886
+ xl: "pl-xl",
887
+ "2xl": "pl-2xl",
888
+ "3xl": "pl-3xl"
889
+ };
890
+ paddingRight = {
891
+ 0: "pr-0",
892
+ "3xs": "pr-3xs",
893
+ "2xs": "pr-2xs",
894
+ xs: "pr-xs",
895
+ sm: "pr-sm",
896
+ md: "pr-md",
897
+ lg: "pr-lg",
898
+ xl: "pr-xl",
899
+ "2xl": "pr-2xl",
900
+ "3xl": "pr-3xl"
901
+ };
902
+ // spacing gap class for flex/grid
903
+ gap = {
904
+ 0: "gap-0",
905
+ "3xs": "gap-3xs",
906
+ "2xs": "gap-2xs",
907
+ xs: "gap-xs",
908
+ sm: "gap-sm",
909
+ md: "gap-md",
910
+ lg: "gap-lg",
911
+ xl: "gap-xl",
912
+ "2xl": "gap-2xl",
913
+ "3xl": "gap-3xl"
914
+ };
915
+ }
916
+ let $ = class {
917
+ classType;
918
+ constructor(r) {
919
+ this.classType = r;
920
+ }
921
+ validateColorType(r) {
922
+ return typeof r != "string" || !/(primary|secondary|success|info|warning|danger|light-1|light-2|light-3|light-4|dark-1|dark-2|dark-3|dark-4|black|white|transparent)/.test(r) ? !1 : u.colorType.includes(this.classType);
923
+ }
924
+ validateSpaceType(r) {
925
+ return typeof r != "string" || !/(0|3xs|2xs|xs|sm|md|lg|xl|2xl|3xl)/.test(r) ? !1 : u.spacingType.includes(this.classType);
926
+ }
927
+ validateHeadingTextSizeType(r) {
928
+ return typeof r != "string" || !/(sm|md|lg|xl)/.test(r) ? !1 : u.headingSizeType.includes(
929
+ this.classType
930
+ );
931
+ }
932
+ validateBodyTextSizeType(r) {
933
+ return typeof r != "string" || !/(xs|sm|md|lg|xl)/.test(r) ? !1 : u.textType.includes(this.classType);
934
+ }
935
+ validateFontWeightType(r) {
936
+ return typeof r != "string" || !/(light|normal|bold)/.test(r) ? !1 : u.fontWeightType.includes(
937
+ this.classType
938
+ );
939
+ }
940
+ validateOpacityType(r) {
941
+ return typeof r != "number" || !/\b(0|[1-9]0|100)\b/.test(r.toString()) ? !1 : u.scaleType.includes(this.classType);
942
+ }
943
+ validateRangeType(r) {
944
+ return typeof r != "number" || !/\b([1-9]|1[0-2])\b/.test(r.toString()) ? !1 : u.borderWidthType.includes(
945
+ this.classType
946
+ );
947
+ }
948
+ validateAlignment(r) {
949
+ return typeof r != "string" || !/(left|center|right)/.test(r) ? !1 : u.textAlignType.includes(
950
+ this.classType
951
+ );
952
+ }
953
+ };
954
+ const u = {
955
+ colorType: [
956
+ "BGCOLOR",
957
+ "BEFOREBG",
958
+ "AFTERBG",
959
+ "HVBGCOLOR",
960
+ "FCBGCOLOR",
961
+ "ACTIVEBG",
962
+ "TEXTCOLOR",
963
+ "HVTEXTCOLOR",
964
+ "FCTEXTCOLOR",
965
+ "DISABLEDTEXTCOLOR",
966
+ "SVGFILL",
967
+ "RINGCOLOR",
968
+ "FOCUSRING",
969
+ "ACTIVERING",
970
+ "OUTLINE",
971
+ "FOCUSOUTLINE",
972
+ "ACTIVEOUTLINE",
973
+ "OFFSETRING",
974
+ "BTNCOLOR",
975
+ "LISTCOLOR",
976
+ "BORDER",
977
+ "BORDERX",
978
+ "BORDERY",
979
+ "BORDERT",
980
+ "BORDERB",
981
+ "BORDERL",
982
+ "BORDERR"
983
+ ],
984
+ textType: ["BODYTEXT"],
985
+ fontWeightType: ["FONTWEIGHT"],
986
+ textAlignType: ["TEXTALIGN"],
987
+ headingSizeType: ["H1", "H2", "H3", "H4"],
988
+ borderWidthType: [
989
+ "BORDERW",
990
+ "BORDERXW",
991
+ "BORDERYW",
992
+ "BORDERTW",
993
+ "BORDERBW",
994
+ "BORDERLW",
995
+ "BORDERRW"
996
+ ],
997
+ scaleType: ["BGOPACITY", "OPACITY", "OUTLINEOPACITY"],
998
+ spacingType: [
999
+ "MARGIN",
1000
+ "MARGINX",
1001
+ "MARGINY",
1002
+ "MARGINT",
1003
+ "MARGINB",
1004
+ "MARGINL",
1005
+ "MARGINR",
1006
+ "PADDING",
1007
+ "PADDINGX",
1008
+ "PADDINGY",
1009
+ "PADDINGT",
1010
+ "PADDINGB",
1011
+ "PADDINGL",
1012
+ "PADDINGR",
1013
+ "GAP"
1014
+ ]
1015
+ };
1016
+ class U {
1017
+ classType;
1018
+ classValue;
1019
+ colorClass;
1020
+ headingSizeClass;
1021
+ borderWidthClass;
1022
+ opacityClass;
1023
+ spacingClass;
1024
+ textClass;
1025
+ validator;
1026
+ constructor(r, e) {
1027
+ this.classType = r, this.classValue = e, this.colorClass = new M(), this.headingSizeClass = new P(), this.borderWidthClass = new X(), this.opacityClass = new Y(), this.spacingClass = new z(), this.textClass = new F(), this.validator = new $(r);
1028
+ }
1029
+ generateClass() {
1030
+ switch (this.classType) {
1031
+ // case: color classes
1032
+ case "BGCOLOR":
1033
+ return this.getBgColorClass();
1034
+ case "HVBGCOLOR":
1035
+ return this.getHoverBgColorClass();
1036
+ case "FCBGCOLOR":
1037
+ return this.getFocusBgColorClass();
1038
+ case "BEFOREBG":
1039
+ return this.getBeforeBgColorClass();
1040
+ case "AFTERBG":
1041
+ return this.getAfterBgColorClass();
1042
+ case "ACTIVEBG":
1043
+ return this.getActiveBgColorClass();
1044
+ case "TEXTCOLOR":
1045
+ return this.getTextColorClass();
1046
+ case "HVTEXTCOLOR":
1047
+ return this.getHoverTextColorClass();
1048
+ case "FCTEXTCOLOR":
1049
+ return this.getFocusTextColorClass();
1050
+ case "DISABLEDTEXTCOLOR":
1051
+ return this.getDisabledTextColorClass();
1052
+ case "SVGFILL":
1053
+ return this.getSvgFillColorClass();
1054
+ case "RINGCOLOR":
1055
+ return this.getRingColorClass();
1056
+ case "FOCUSRING":
1057
+ return this.getFocusRingColorClass();
1058
+ case "ACTIVERING":
1059
+ return this.getActiveRingColorClass();
1060
+ case "OFFSETRING":
1061
+ return this.getRingOffsetColorClass();
1062
+ case "OUTLINE":
1063
+ return this.getOutlineColorClass();
1064
+ case "FOCUSOUTLINE":
1065
+ return this.getFocusOutlineColorClass();
1066
+ case "ACTIVEOUTLINE":
1067
+ return this.getActiveOutlineColorClass();
1068
+ case "BTNCOLOR":
1069
+ return this.getBtnColorClass();
1070
+ case "LISTCOLOR":
1071
+ return this.getListColorClass();
1072
+ case "BORDER":
1073
+ return this.getBorderColorClass();
1074
+ case "BORDERX":
1075
+ return this.getBorderXColorClass();
1076
+ case "BORDERY":
1077
+ return this.getBorderYColorClass();
1078
+ case "BORDERT":
1079
+ return this.getBorderTopColorClass();
1080
+ case "BORDERB":
1081
+ return this.getBorderBottomColorClass();
1082
+ case "BORDERL":
1083
+ return this.getBorderLeftColorClass();
1084
+ case "BORDERR":
1085
+ return this.getBorderRightColorClass();
1086
+ // case: heading classes
1087
+ case "H1":
1088
+ return this.getH1Class();
1089
+ case "H2":
1090
+ return this.getH2Class();
1091
+ case "H3":
1092
+ return this.getH3Class();
1093
+ case "H4":
1094
+ return this.getH4Class();
1095
+ // case: body text class
1096
+ case "BODYTEXT":
1097
+ return this.getBodyTextSizeClass();
1098
+ // case: font weight class
1099
+ case "FONTWEIGHT":
1100
+ return this.getFontWeightClass();
1101
+ // case: text alignment class
1102
+ case "TEXTALIGN":
1103
+ return this.getTextAlignClass();
1104
+ // case: border width classes
1105
+ case "BORDERW":
1106
+ return this.getBorderWidthClass();
1107
+ case "BORDERXW":
1108
+ return this.getBorderXWidthClass();
1109
+ case "BORDERYW":
1110
+ return this.getBorderYWidthClass();
1111
+ case "BORDERTW":
1112
+ return this.getBorderTopWidthClass();
1113
+ case "BORDERBW":
1114
+ return this.getBorderBottomWidthClass();
1115
+ case "BORDERLW":
1116
+ return this.getBorderLeftWidthClass();
1117
+ case "BORDERRW":
1118
+ return this.getBorderRightWidthClass();
1119
+ // case: opacity classes
1120
+ case "OPACITY":
1121
+ return this.getOpacityClass();
1122
+ case "BGOPACITY":
1123
+ return this.getBgOpacityClass();
1124
+ case "OUTLINEOPACITY":
1125
+ return this.getOutlineOpacityClass();
1126
+ // case: margins
1127
+ case "MARGIN":
1128
+ return this.getMarginClass();
1129
+ case "MARGINX":
1130
+ return this.getMarginXClass();
1131
+ case "MARGINY":
1132
+ return this.getMarginYClass();
1133
+ case "MARGINT":
1134
+ return this.getMarginTopClass();
1135
+ case "MARGINB":
1136
+ return this.getMarginBottomClass();
1137
+ case "MARGINL":
1138
+ return this.getMarginLeftClass();
1139
+ case "MARGINR":
1140
+ return this.getMarginRightClass();
1141
+ // case: paddings
1142
+ case "PADDING":
1143
+ return this.getPaddingClass();
1144
+ case "PADDINGX":
1145
+ return this.getPaddingXClass();
1146
+ case "PADDINGY":
1147
+ return this.getPaddingYClass();
1148
+ case "PADDINGT":
1149
+ return this.getPaddingTopClass();
1150
+ case "PADDINGB":
1151
+ return this.getPaddingBottomClass();
1152
+ case "PADDINGL":
1153
+ return this.getPaddingLeftClass();
1154
+ case "PADDINGR":
1155
+ return this.getPaddingRightClass();
1156
+ // case: gap
1157
+ case "GAP":
1158
+ return this.getGapClass();
1159
+ default:
1160
+ return " ";
1161
+ }
1162
+ }
1163
+ // handle color class
1164
+ // bg color
1165
+ getBgColorClass() {
1166
+ return this.validator.validateColorType(this.classValue) ? this.colorClass.bgColor[this.classValue] : " ";
1167
+ }
1168
+ getHoverBgColorClass() {
1169
+ return this.validator.validateColorType(this.classValue) ? this.colorClass.hoverBgColor[this.classValue] : " ";
1170
+ }
1171
+ getFocusBgColorClass() {
1172
+ return this.validator.validateColorType(this.classValue) ? this.colorClass.focusBgColor[this.classValue] : " ";
1173
+ }
1174
+ getBeforeBgColorClass() {
1175
+ return this.validator.validateColorType(this.classValue) ? this.colorClass.beforeBgColor[this.classValue] : " ";
1176
+ }
1177
+ getAfterBgColorClass() {
1178
+ return this.validator.validateColorType(this.classValue) ? this.colorClass.afterBgColor[this.classValue] : " ";
1179
+ }
1180
+ getActiveBgColorClass() {
1181
+ return this.validator.validateColorType(this.classValue) ? this.colorClass.bgActiveColor[this.classValue] : " ";
1182
+ }
1183
+ // text color
1184
+ getTextColorClass() {
1185
+ return this.validator.validateColorType(this.classValue) ? this.colorClass.textColor[this.classValue] : " ";
1186
+ }
1187
+ getHoverTextColorClass() {
1188
+ return this.validator.validateColorType(this.classValue) ? this.colorClass.hoverTextColor[this.classValue] : " ";
1189
+ }
1190
+ getFocusTextColorClass() {
1191
+ return this.validator.validateColorType(this.classValue) ? this.colorClass.focusTextColor[this.classValue] : " ";
1192
+ }
1193
+ getDisabledTextColorClass() {
1194
+ return this.validator.validateColorType(this.classValue) ? this.colorClass.disabledTextColor[this.classValue] : " ";
1195
+ }
1196
+ // svg color
1197
+ getSvgFillColorClass() {
1198
+ return this.validator.validateColorType(this.classValue) ? this.colorClass.svgFillColor[this.classValue] : " ";
1199
+ }
1200
+ // ring color
1201
+ getRingColorClass() {
1202
+ return this.validator.validateColorType(this.classValue) ? this.colorClass.ringColor[this.classValue] : " ";
1203
+ }
1204
+ getFocusRingColorClass() {
1205
+ return this.validator.validateColorType(this.classValue) ? this.colorClass.ringFocusColor[this.classValue] : " ";
1206
+ }
1207
+ getActiveRingColorClass() {
1208
+ return this.validator.validateColorType(this.classValue) ? this.colorClass.ringActiveColor[this.classValue] : " ";
1209
+ }
1210
+ getRingOffsetColorClass() {
1211
+ return this.validator.validateColorType(this.classValue) ? this.colorClass.ringOffsetColor[this.classValue] : " ";
1212
+ }
1213
+ // outline color
1214
+ getOutlineColorClass() {
1215
+ return this.validator.validateColorType(this.classValue) ? this.colorClass.outlineColor[this.classValue] : " ";
1216
+ }
1217
+ getFocusOutlineColorClass() {
1218
+ return this.validator.validateColorType(this.classValue) ? this.colorClass.focusOutlineColor[this.classValue] : " ";
1219
+ }
1220
+ getActiveOutlineColorClass() {
1221
+ return this.validator.validateColorType(this.classValue) ? this.colorClass.activeOutlineColor[this.classValue] : " ";
1222
+ }
1223
+ // btn & list
1224
+ getBtnColorClass() {
1225
+ return this.validator.validateColorType(this.classValue) ? this.colorClass.btnColor[this.classValue] : " ";
1226
+ }
1227
+ getListColorClass() {
1228
+ return this.validator.validateColorType(this.classValue) ? this.colorClass.listColor[this.classValue] : " ";
1229
+ }
1230
+ // border color
1231
+ getBorderColorClass() {
1232
+ return this.validator.validateColorType(this.classValue) ? this.colorClass.borderColor[this.classValue] : " ";
1233
+ }
1234
+ getBorderXColorClass() {
1235
+ return this.validator.validateColorType(this.classValue) ? this.colorClass.borderXColor[this.classValue] : " ";
1236
+ }
1237
+ getBorderYColorClass() {
1238
+ return this.validator.validateColorType(this.classValue) ? this.colorClass.borderYColor[this.classValue] : " ";
1239
+ }
1240
+ getBorderTopColorClass() {
1241
+ return this.validator.validateColorType(this.classValue) ? this.colorClass.borderTopColor[this.classValue] : " ";
1242
+ }
1243
+ getBorderBottomColorClass() {
1244
+ return this.validator.validateColorType(this.classValue) ? this.colorClass.borderBottomColor[this.classValue] : " ";
1245
+ }
1246
+ getBorderLeftColorClass() {
1247
+ return this.validator.validateColorType(this.classValue) ? this.colorClass.borderLeftColor[this.classValue] : " ";
1248
+ }
1249
+ getBorderRightColorClass() {
1250
+ return this.validator.validateColorType(this.classValue) ? this.colorClass.borderRightColor[this.classValue] : " ";
1251
+ }
1252
+ // handle heading classes
1253
+ getH1Class() {
1254
+ return this.validator.validateHeadingTextSizeType(this.classValue) ? this.headingSizeClass.heading1[this.classValue] : " ";
1255
+ }
1256
+ getH2Class() {
1257
+ return this.validator.validateHeadingTextSizeType(this.classValue) ? this.headingSizeClass.heading2[this.classValue] : " ";
1258
+ }
1259
+ getH3Class() {
1260
+ return this.validator.validateHeadingTextSizeType(this.classValue) ? this.headingSizeClass.heading3[this.classValue] : " ";
1261
+ }
1262
+ getH4Class() {
1263
+ return this.validator.validateHeadingTextSizeType(this.classValue) ? this.headingSizeClass.heading4[this.classValue] : " ";
1264
+ }
1265
+ // handle body text size classes
1266
+ getBodyTextSizeClass() {
1267
+ return this.validator.validateBodyTextSizeType(this.classValue) ? this.textClass.bodyText[this.classValue] : " ";
1268
+ }
1269
+ // handle font weight classes
1270
+ getFontWeightClass() {
1271
+ return this.validator.validateFontWeightType(this.classValue) ? this.textClass.fontweight[this.classValue] : " ";
1272
+ }
1273
+ // handle text align classes
1274
+ getTextAlignClass() {
1275
+ return this.validator.validateAlignment(this.classValue) ? this.textClass.textAlign[this.classValue] : " ";
1276
+ }
1277
+ // handle border width class
1278
+ getBorderWidthClass() {
1279
+ return this.validator.validateRangeType(this.classValue) ? this.borderWidthClass.borderWidth[this.classValue] : " ";
1280
+ }
1281
+ getBorderXWidthClass() {
1282
+ return this.validator.validateRangeType(this.classValue) ? this.borderWidthClass.borderXWidth[this.classValue] : " ";
1283
+ }
1284
+ getBorderYWidthClass() {
1285
+ return this.validator.validateRangeType(this.classValue) ? this.borderWidthClass.borderYWidth[this.classValue] : " ";
1286
+ }
1287
+ getBorderTopWidthClass() {
1288
+ return this.validator.validateRangeType(this.classValue) ? this.borderWidthClass.borderTopWidth[this.classValue] : " ";
1289
+ }
1290
+ getBorderBottomWidthClass() {
1291
+ return this.validator.validateRangeType(this.classValue) ? this.borderWidthClass.borderBottomWidth[this.classValue] : " ";
1292
+ }
1293
+ getBorderLeftWidthClass() {
1294
+ return this.validator.validateRangeType(this.classValue) ? this.borderWidthClass.borderLeftWidth[this.classValue] : " ";
1295
+ }
1296
+ getBorderRightWidthClass() {
1297
+ return this.validator.validateRangeType(this.classValue) ? this.borderWidthClass.borderRightWidth[this.classValue] : " ";
1298
+ }
1299
+ // handle opacity classes
1300
+ getOpacityClass() {
1301
+ return this.validator.validateOpacityType(this.classValue) ? this.opacityClass.opacity[this.classValue] : " ";
1302
+ }
1303
+ getBgOpacityClass() {
1304
+ return this.validator.validateOpacityType(this.classValue) ? this.opacityClass.backgroundOpacity[this.classValue] : " ";
1305
+ }
1306
+ getOutlineOpacityClass() {
1307
+ return this.validator.validateOpacityType(this.classValue) ? this.opacityClass.outlineOpacity[this.classValue] : " ";
1308
+ }
1309
+ // spacing classes
1310
+ // margins
1311
+ getMarginClass() {
1312
+ return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.margin[this.classValue] : " ";
1313
+ }
1314
+ getMarginXClass() {
1315
+ return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.marginX[this.classValue] : " ";
1316
+ }
1317
+ getMarginYClass() {
1318
+ return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.marginY[this.classValue] : " ";
1319
+ }
1320
+ getMarginTopClass() {
1321
+ return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.marginTop[this.classValue] : " ";
1322
+ }
1323
+ getMarginBottomClass() {
1324
+ return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.marginBottom[this.classValue] : " ";
1325
+ }
1326
+ getMarginLeftClass() {
1327
+ return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.marginLeft[this.classValue] : " ";
1328
+ }
1329
+ getMarginRightClass() {
1330
+ return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.marginRight[this.classValue] : " ";
1331
+ }
1332
+ // paddings
1333
+ getPaddingClass() {
1334
+ return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.padding[this.classValue] : " ";
1335
+ }
1336
+ getPaddingXClass() {
1337
+ return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.paddingX[this.classValue] : " ";
1338
+ }
1339
+ getPaddingYClass() {
1340
+ return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.paddingY[this.classValue] : " ";
1341
+ }
1342
+ getPaddingTopClass() {
1343
+ return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.paddingTop[this.classValue] : " ";
1344
+ }
1345
+ getPaddingBottomClass() {
1346
+ return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.paddingBottom[this.classValue] : " ";
1347
+ }
1348
+ getPaddingLeftClass() {
1349
+ return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.paddingLeft[this.classValue] : " ";
1350
+ }
1351
+ getPaddingRightClass() {
1352
+ return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.paddingRight[this.classValue] : " ";
1353
+ }
1354
+ // gaps
1355
+ getGapClass() {
1356
+ return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.gap[this.classValue] : " ";
1357
+ }
1358
+ }
1359
+ const R = (t, r) => new U(t, r).generateClass(), w = {
1360
+ left: "tooltip-left",
1361
+ top: "tooltip-top",
1362
+ bottom: "tooltip-bottom",
1363
+ right: "tooltip-right"
1364
+ };
1365
+ B({
1366
+ name: "Tooltip",
1367
+ props: {
1368
+ direction: {
1369
+ type: String,
1370
+ default: "right"
1371
+ },
1372
+ color: {
1373
+ type: String,
1374
+ default: "dark-3"
1375
+ },
1376
+ textColor: {
1377
+ type: String,
1378
+ default: "white"
1379
+ },
1380
+ width: {
1381
+ type: [Number, String],
1382
+ default: 80
1383
+ },
1384
+ customClass: {
1385
+ type: String,
1386
+ default: ""
1387
+ },
1388
+ title: {
1389
+ type: String,
1390
+ required: !0
1391
+ }
1392
+ },
1393
+ setup(t) {
1394
+ const r = "invisible opacity-0 group-hover:visible group-hover:opacity-100 z-[100] tooltip", e = f(() => [
1395
+ R("BGCOLOR", t.color),
1396
+ R("TEXTCOLOR", t.textColor)
1397
+ ].join(" ")), l = f(() => ({ width: `${t.width}px` })), n = f(() => w[t.direction] || w.right), g = f(() => [
1398
+ r,
1399
+ n.value,
1400
+ e.value,
1401
+ t.customClass
1402
+ ]);
1403
+ return () => W("div", {
1404
+ class: g.value,
1405
+ role: "tooltip",
1406
+ innerHTML: t.title,
1407
+ style: [l.value]
1408
+ });
1409
+ }
1410
+ });
1411
+ const j = (t, r) => {
1412
+ if (t.tagName === "A") {
1413
+ const e = t.getAttribute("href");
1414
+ return e ? e.charAt(0) === "#" ? e.substring(1) : e : null;
1415
+ }
1416
+ return r || null;
1417
+ }, q = (t) => t ? document.getElementById(t) : null, J = (t) => t.hasAttribute("visible"), G = (t) => {
1418
+ const r = t.getAttribute("visible") === "true" ? "false" : "true";
1419
+ t.setAttribute("visible", r);
1420
+ }, K = (t) => {
1421
+ const r = `div[accordion="${t}"]`;
1422
+ return Array.from(document.querySelectorAll(r));
1423
+ }, Q = (t, r) => {
1424
+ K(r).forEach((e) => {
1425
+ e.id === t.id ? G(e) : e.getAttribute("visible") === "true" && e.setAttribute("visible", "false");
1426
+ });
1427
+ }, Z = (t) => {
1428
+ G(t);
1429
+ }, _ = (t) => (r) => {
1430
+ r.preventDefault();
1431
+ const e = r.target, l = j(e, t), n = q(l);
1432
+ if (!n) {
1433
+ console.warn(`[v-collapse] Target element not found: ${l}`);
1434
+ return;
1435
+ }
1436
+ if (!J(n)) {
1437
+ console.warn(
1438
+ `[v-collapse] Target element missing 'visible' attribute: ${l}`
1439
+ );
1440
+ return;
1441
+ }
1442
+ const g = n.getAttribute("accordion");
1443
+ g ? Q(n, g) : Z(n);
1444
+ }, T = {
1445
+ mounted(t, r) {
1446
+ t.__HandleToggler = _(r.arg), t.addEventListener("click", t.__HandleToggler);
1447
+ },
1448
+ unmounted(t) {
1449
+ t.__HandleToggler && (t.removeEventListener("click", t.__HandleToggler), delete t.__HandleToggler);
1450
+ }
1451
+ }, tt = { class: "flex items-center justify-between" }, dt = /* @__PURE__ */ B({
4
1452
  __name: "MclCollapseA",
5
1453
  props: {
6
1454
  collapseId: {},
@@ -18,92 +1466,92 @@ const G = { class: "flex justify-between items-center" }, H = /* @__PURE__ */ B(
18
1466
  accordion: {}
19
1467
  },
20
1468
  emits: ["collapse-open", "collapse-close"],
21
- setup(g, { emit: h }) {
22
- const c = g, i = O(c.visible), f = R(), p = h, C = (e) => {
23
- const { title: s } = c;
24
- i.value = e, p(e === !0 ? "collapse-open" : "collapse-close", e, s);
25
- }, v = (e, s, m) => {
26
- const a = ["border", l("BORDER", e)];
27
- return s && [l("BORDERL", m)].forEach((j) => {
28
- a.push(j), a.push("border-l-8");
29
- }), a.join(" ");
30
- }, o = (e, s) => [
31
- l("H3", e),
32
- l("TEXTCOLOR", s)
1469
+ setup(t, { emit: r }) {
1470
+ const e = t, l = O(e.visible), n = V(), g = r, C = (s) => {
1471
+ const { title: o } = e;
1472
+ l.value = s, g(s === !0 ? "collapse-open" : "collapse-close", s, o);
1473
+ }, m = (s, o, y) => {
1474
+ const h = ["border", a("BORDER", s)];
1475
+ return o && [a("BORDERL", y)].forEach((S) => {
1476
+ h.push(S), h.push("border-l-8");
1477
+ }), h.join(" ");
1478
+ }, i = (s, o) => [
1479
+ a("H3", s),
1480
+ a("TEXTCOLOR", o)
33
1481
  ].join(" ");
34
- return L(
35
- () => c.visible,
36
- (e) => {
37
- i.value = e;
1482
+ return A(
1483
+ () => e.visible,
1484
+ (s) => {
1485
+ l.value = s;
38
1486
  }
39
- ), (e, s) => (d(), n("div", {
40
- class: r(["overflow-hidden w-full", [
41
- e.rounded ? "rounded-lg" : "rounded-sm",
42
- v(e.borderColor, e.displayHighlight, e.highlightColor)
1487
+ ), (s, o) => (b(), p("div", {
1488
+ class: c(["w-full overflow-hidden", [
1489
+ t.rounded ? "rounded-lg" : "rounded-sm",
1490
+ m(t.borderColor, t.displayHighlight, t.highlightColor)
43
1491
  ]])
44
1492
  }, [
45
- b((d(), n("div", {
46
- class: r(["py-xs px-sm cursor-pointer transition-[border] duration-500", [
47
- i.value ? `border-b ${t(l)("BORDERB", e.borderColor)} ease-in` : "ease-out",
48
- t(l)("BGCOLOR", e.bgColor)
1493
+ v((b(), p("div", {
1494
+ class: c(["py-xs px-sm cursor-pointer transition-[border] duration-500", [
1495
+ l.value ? `border-b ${d(a)("BORDERB", t.borderColor)} ease-in` : "ease-out",
1496
+ d(a)("BGCOLOR", t.bgColor)
49
1497
  ]])
50
1498
  }, [
51
- u("div", G, [
52
- u("h3", {
53
- class: r(o(e.titleSize, e.titleColor))
54
- }, A(e.title), 3),
55
- f.tab ? (d(), n("div", {
1499
+ x("div", tt, [
1500
+ x("h3", {
1501
+ class: c(i(t.titleSize, t.titleColor))
1502
+ }, L(t.title), 3),
1503
+ n.tab ? (b(), p("div", {
56
1504
  key: 0,
57
- onClick: s[0] || (s[0] = D(() => {
1505
+ onClick: o[0] || (o[0] = N(() => {
58
1506
  }, ["stop"])),
59
1507
  class: "cursor-default"
60
1508
  }, [
61
- y(e.$slots, "tab")
62
- ])) : z("", !0)
1509
+ k(s.$slots, "tab")
1510
+ ])) : H("", !0)
63
1511
  ])
64
1512
  ], 2)), [
65
- [t(w), void 0, e.collapseId]
1513
+ [d(T), void 0, t.collapseId]
66
1514
  ]),
67
- u("div", {
68
- class: r(["overflow-hidden", t(l)("BGCOLOR", e.slotBgColor)])
1515
+ x("div", {
1516
+ class: c(["overflow-hidden", d(a)("BGCOLOR", t.slotBgColor)])
69
1517
  }, [
70
- S(t(I), {
71
- id: e.collapseId,
72
- visible: e.visible,
1518
+ E(d(D), {
1519
+ id: t.collapseId,
1520
+ visible: t.visible,
73
1521
  "class-name": "py-sm px-xs",
74
1522
  onOpen: C,
75
1523
  onClose: C,
76
- accordion: e.accordion
1524
+ accordion: t.accordion
77
1525
  }, {
78
- default: E(() => [
79
- y(e.$slots, "content")
1526
+ default: I(() => [
1527
+ k(s.$slots, "content")
80
1528
  ]),
81
1529
  _: 3
82
1530
  }, 8, ["id", "visible", "accordion"])
83
1531
  ], 2),
84
- b((d(), n("div", {
85
- class: r(["py-1.5 px-sm cursor-pointer transition-all duration-500 flex justify-center items-center border-t", [
86
- t(l)("BGCOLOR", e.bgColor),
87
- t(l)("BORDERT", e.borderColor)
1532
+ v((b(), p("div", {
1533
+ class: c(["px-sm flex cursor-pointer items-center justify-center border-t py-1.5 transition-all duration-500", [
1534
+ d(a)("BGCOLOR", t.bgColor),
1535
+ d(a)("BORDERT", t.borderColor)
88
1536
  ]])
89
1537
  }, [
90
- (d(), n("svg", {
1538
+ (b(), p("svg", {
91
1539
  xmlns: "http://www.w3.org/2000/svg",
92
1540
  viewBox: "0 0 448 512",
93
- class: r(["h-xs", [
94
- i.value ? "rotate-180" : "rotate-0",
1541
+ class: c(["h-xs", [
1542
+ l.value ? "rotate-180" : "rotate-0",
95
1543
  "transition-transform duration-300 ease-in",
96
- t(l)("SVGFILL", e.iconColor)
1544
+ d(a)("SVGFILL", t.iconColor)
97
1545
  ]])
98
- }, s[1] || (s[1] = [
99
- u("path", { d: "M224 416c-8.188 0-16.38-3.125-22.62-9.375l-192-192c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L224 338.8l169.4-169.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-192 192C240.4 412.9 232.2 416 224 416z" }, null, -1)
100
- ]), 2))
1546
+ }, [...o[1] || (o[1] = [
1547
+ x("path", { d: "M224 416c-8.188 0-16.38-3.125-22.62-9.375l-192-192c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L224 338.8l169.4-169.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-192 192C240.4 412.9 232.2 416 224 416z" }, null, -1)
1548
+ ])], 2))
101
1549
  ], 2)), [
102
- [t(w), void 0, e.collapseId]
1550
+ [d(T), void 0, t.collapseId]
103
1551
  ])
104
1552
  ], 2));
105
1553
  }
106
- }), M = { class: "flex justify-center items-center ml-xs md:ml-sm lg:ml-md" }, T = { class: "overflow-hidden" }, N = /* @__PURE__ */ B({
1554
+ }), rt = { class: "ml-xs md:ml-sm lg:ml-md flex items-center justify-center" }, et = { class: "overflow-hidden" }, nt = /* @__PURE__ */ B({
107
1555
  __name: "MclCollapseB",
108
1556
  props: {
109
1557
  collapseId: {},
@@ -120,66 +1568,66 @@ const G = { class: "flex justify-between items-center" }, H = /* @__PURE__ */ B(
120
1568
  accordion: {}
121
1569
  },
122
1570
  emits: ["collapse-open", "collapse-close"],
123
- setup(g, { emit: h }) {
124
- const c = g;
125
- R();
126
- const i = O(c.visible), f = h, p = (o) => {
127
- const { title: e } = c;
128
- i.value = o, f(o === !0 ? "collapse-open" : "collapse-close", o, e);
129
- }, C = (o, e, s, m) => {
130
- let a = [
1571
+ setup(t, { emit: r }) {
1572
+ const e = t;
1573
+ V();
1574
+ const l = O(e.visible), n = r, g = (i) => {
1575
+ const { title: s } = e;
1576
+ l.value = i, n(i === !0 ? "collapse-open" : "collapse-close", i, s);
1577
+ }, C = (i, s, o, y) => {
1578
+ let h = [
131
1579
  "border",
132
- l("BORDER", o),
133
- l("BGCOLOR", e)
1580
+ a("BORDER", i),
1581
+ a("BGCOLOR", s)
134
1582
  ];
135
- return m && a.push("shadow-md"), s ? a.push("rounded-2xl") : a.push("rounded-sm"), a.join(" ");
136
- }, v = (o, e) => [
137
- l("H3", o),
138
- l("TEXTCOLOR", e)
1583
+ return y && h.push("shadow-md"), o ? h.push("rounded-2xl") : h.push("rounded-sm"), h.join(" ");
1584
+ }, m = (i, s) => [
1585
+ a("H3", i),
1586
+ a("TEXTCOLOR", s)
139
1587
  ].join(" ");
140
- return L(
141
- () => c.visible,
142
- (o) => {
143
- i.value = o;
1588
+ return A(
1589
+ () => e.visible,
1590
+ (i) => {
1591
+ l.value = i;
144
1592
  }
145
- ), (o, e) => (d(), n("div", {
146
- class: r(["w-full overflow-hidden p-2xs", C(o.borderColor, o.bgColor, o.rounded, o.displayShadow)])
1593
+ ), (i, s) => (b(), p("div", {
1594
+ class: c(["p-2xs w-full overflow-hidden", C(t.borderColor, t.bgColor, t.rounded, t.displayShadow)])
147
1595
  }, [
148
- b((d(), n("div", {
149
- class: r(["flex justify-between items-center w-full px-4 py-2 cursor-pointer hover:bg-opacity-70 transition duration-200 ease-in", [
150
- o.rounded ? "rounded-lg" : "rounded-sm",
151
- t(l)("BGCOLOR", o.btnColor)
1596
+ v((b(), p("div", {
1597
+ class: c(["flex w-full cursor-pointer items-center justify-between px-4 py-2 transition duration-200 ease-in hover:bg-opacity-70", [
1598
+ t.rounded ? "rounded-lg" : "rounded-sm",
1599
+ d(a)("BGCOLOR", t.btnColor)
152
1600
  ]])
153
1601
  }, [
154
- u("h3", {
155
- class: r(v(o.titleSize, o.titleColor))
156
- }, A(o.title), 3),
157
- u("div", M, [
158
- (d(), n("svg", {
1602
+ x("h3", {
1603
+ class: c(m(t.titleSize, t.titleColor))
1604
+ }, L(t.title), 3),
1605
+ x("div", rt, [
1606
+ (b(), p("svg", {
159
1607
  xmlns: "http://www.w3.org/2000/svg",
160
1608
  viewBox: "0 0 448 512",
161
- class: r(["h-xs transition-transform duration-300 ease-in", [
162
- i.value ? "rotate-180" : "rotate-0",
163
- t(l)("SVGFILL", o.iconColor)
1609
+ class: c(["h-xs transition-transform duration-300 ease-in", [
1610
+ l.value ? "rotate-180" : "rotate-0",
1611
+ d(a)("SVGFILL", t.iconColor)
164
1612
  ]])
165
- }, e[0] || (e[0] = [
166
- u("path", { d: "M224 416c-8.188 0-16.38-3.125-22.62-9.375l-192-192c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L224 338.8l169.4-169.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-192 192C240.4 412.9 232.2 416 224 416z" }, null, -1)
167
- ]), 2))
1613
+ }, [...s[0] || (s[0] = [
1614
+ x("path", { d: "M224 416c-8.188 0-16.38-3.125-22.62-9.375l-192-192c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L224 338.8l169.4-169.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-192 192C240.4 412.9 232.2 416 224 416z" }, null, -1)
1615
+ ])], 2))
168
1616
  ])
169
1617
  ], 2)), [
170
- [t(w), void 0, o.collapseId]
1618
+ [d(T), void 0, t.collapseId]
171
1619
  ]),
172
- u("div", T, [
173
- S(t(I), {
174
- id: o.collapseId,
175
- visible: o.visible,
1620
+ x("div", et, [
1621
+ E(d(D), {
1622
+ id: t.collapseId,
1623
+ visible: t.visible,
176
1624
  "class-name": "px-xs pt-xs pb-2xs",
177
- accordion: o.accordion,
178
- onOpen: p,
179
- onClose: p
1625
+ accordion: t.accordion,
1626
+ onOpen: g,
1627
+ onClose: g
180
1628
  }, {
181
- default: E(() => [
182
- y(o.$slots, "default")
1629
+ default: I(() => [
1630
+ k(i.$slots, "default")
183
1631
  ]),
184
1632
  _: 3
185
1633
  }, 8, ["id", "visible", "accordion"])
@@ -188,6 +1636,6 @@ const G = { class: "flex justify-between items-center" }, H = /* @__PURE__ */ B(
188
1636
  }
189
1637
  });
190
1638
  export {
191
- H as MclCollapseA,
192
- N as MclCollapseB
1639
+ dt as MclCollapseA,
1640
+ nt as MclCollapseB
193
1641
  };