@bobbykim/mcl-header 0.7.9 → 0.8.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.
@@ -1,1553 +1,99 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('.nav__decorator[data-v-21c9812e]:before{content:"";position:absolute;bottom:0;left:0;height:100%;width:0;transition:width .3s linear}.nav__text:focus+.nav__decorator[data-v-21c9812e]:before,.nav__text:hover+.nav__decorator[data-v-21c9812e]:before{width:100%}.nav__decorator[data-v-f1056ea0]:before{content:"";position:absolute;bottom:0;left:0;height:100%;width:0;transition:width .3s linear}.nav__text:focus+.nav__decorator[data-v-f1056ea0]:before,.nav__text:hover+.nav__decorator[data-v-f1056ea0]:before{width:100%}.nav__decorator[data-v-d99c76b1]:before{content:"";position:absolute;bottom:0;left:0;height:100%;width:0;transition:width .3s linear}.nav__text:focus+.nav__decorator[data-v-d99c76b1]:before,.nav__text:hover+.nav__decorator[data-v-d99c76b1]:before{width:100%}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
- import { defineComponent as S, computed as O, h as ae, ref as D, openBlock as n, createElementBlock as u, createElementVNode as o, withDirectives as J, normalizeClass as B, toDisplayString as G, unref as w, createCommentVNode as A, createVNode as M, withCtx as R, Fragment as N, renderList as X, withKeys as Y, useSlots as Q, createBlock as V, renderSlot as $ } from "vue";
3
- import r, { Collapse as Z, DropdownContainer as se, DropdownContent as ie, HeaderHorizontal as oe, HeaderVertical as ne } from "@bobbykim/manguito-theme";
4
- class de {
5
- // body text class
6
- bodyText = {
7
- xs: "text-xs",
8
- sm: "text-sm",
9
- md: "text-md",
10
- lg: "text-lg",
11
- xl: "text-xl"
12
- };
13
- // font weight class
14
- fontweight = {
15
- light: "font-light",
16
- normal: "font-normal",
17
- bold: "font-bold"
18
- };
19
- // text alignment
20
- textAlign = {
21
- left: "text-left",
22
- center: "text-center",
23
- right: "text-right"
24
- };
25
- }
26
- class ce {
27
- // Border width class
28
- borderWidth = {
29
- 1: "border-[1px]",
30
- 2: "border-[2px]",
31
- 3: "border-[3px]",
32
- 4: "border-[4px]",
33
- 5: "border-[5px]",
34
- 6: "border-[6px]",
35
- 7: "border-[7px]",
36
- 8: "border-[8px]",
37
- 9: "border-[9px]",
38
- 10: "border-[10px]",
39
- 11: "border-[11px]",
40
- 12: "border-[12px]"
41
- };
42
- borderXWidth = {
43
- 1: "border-x-[1px]",
44
- 2: "border-x-[2px]",
45
- 3: "border-x-[3px]",
46
- 4: "border-x-[4px]",
47
- 5: "border-x-[5px]",
48
- 6: "border-x-[6px]",
49
- 7: "border-x-[7px]",
50
- 8: "border-x-[8px]",
51
- 9: "border-x-[9px]",
52
- 10: "border-x-[10px]",
53
- 11: "border-x-[11px]",
54
- 12: "border-x-[12px]"
55
- };
56
- borderYWidth = {
57
- 1: "border-y-[1px]",
58
- 2: "border-y-[2px]",
59
- 3: "border-y-[3px]",
60
- 4: "border-y-[4px]",
61
- 5: "border-y-[5px]",
62
- 6: "border-y-[6px]",
63
- 7: "border-y-[7px]",
64
- 8: "border-y-[8px]",
65
- 9: "border-y-[9px]",
66
- 10: "border-y-[10px]",
67
- 11: "border-y-[11px]",
68
- 12: "border-y-[12px]"
69
- };
70
- borderTopWidth = {
71
- 1: "border-t-[1px]",
72
- 2: "border-t-[2px]",
73
- 3: "border-t-[3px]",
74
- 4: "border-t-[4px]",
75
- 5: "border-t-[5px]",
76
- 6: "border-t-[6px]",
77
- 7: "border-t-[7px]",
78
- 8: "border-t-[8px]",
79
- 9: "border-t-[9px]",
80
- 10: "border-t-[10px]",
81
- 11: "border-t-[11px]",
82
- 12: "border-t-[12px]"
83
- };
84
- borderBottomWidth = {
85
- 1: "border-b-[1px]",
86
- 2: "border-b-[2px]",
87
- 3: "border-b-[3px]",
88
- 4: "border-b-[4px]",
89
- 5: "border-b-[5px]",
90
- 6: "border-b-[6px]",
91
- 7: "border-b-[7px]",
92
- 8: "border-b-[8px]",
93
- 9: "border-b-[9px]",
94
- 10: "border-b-[10px]",
95
- 11: "border-b-[11px]",
96
- 12: "border-b-[12px]"
97
- };
98
- borderLeftWidth = {
99
- 1: "border-l-[1px]",
100
- 2: "border-l-[2px]",
101
- 3: "border-l-[3px]",
102
- 4: "border-l-[4px]",
103
- 5: "border-l-[5px]",
104
- 6: "border-l-[6px]",
105
- 7: "border-l-[7px]",
106
- 8: "border-l-[8px]",
107
- 9: "border-l-[9px]",
108
- 10: "border-l-[10px]",
109
- 11: "border-l-[11px]",
110
- 12: "border-l-[12px]"
111
- };
112
- borderRightWidth = {
113
- 1: "border-r-[1px]",
114
- 2: "border-r-[2px]",
115
- 3: "border-r-[3px]",
116
- 4: "border-r-[4px]",
117
- 5: "border-r-[5px]",
118
- 6: "border-r-[6px]",
119
- 7: "border-r-[7px]",
120
- 8: "border-r-[8px]",
121
- 9: "border-r-[9px]",
122
- 10: "border-r-[10px]",
123
- 11: "border-r-[11px]",
124
- 12: "border-r-[12px]"
125
- };
126
- }
127
- class ge {
128
- // bg color class
129
- bgColor = {
130
- primary: "bg-primary",
131
- secondary: "bg-secondary",
132
- success: "bg-success",
133
- danger: "bg-danger",
134
- info: "bg-info",
135
- warning: "bg-warning",
136
- "light-1": "bg-light-1",
137
- "light-2": "bg-light-2",
138
- "light-3": "bg-light-3",
139
- "light-4": "bg-light-4",
140
- "dark-1": "bg-dark-1",
141
- "dark-2": "bg-dark-2",
142
- "dark-3": "bg-dark-3",
143
- "dark-4": "bg-dark-4",
144
- black: "bg-black",
145
- white: "bg-white",
146
- transparent: "bg-transparent"
147
- };
148
- // hover: bg color class
149
- hoverBgColor = {
150
- primary: "hover:bg-primary",
151
- secondary: "hover:bg-secondary",
152
- success: "hover:bg-success",
153
- danger: "hover:bg-danger",
154
- info: "hover:bg-info",
155
- warning: "hover:bg-warning",
156
- "light-1": "hover:bg-light-1",
157
- "light-2": "hover:bg-light-2",
158
- "light-3": "hover:bg-light-3",
159
- "light-4": "hover:bg-light-4",
160
- "dark-1": "hover:bg-dark-1",
161
- "dark-2": "hover:bg-dark-2",
162
- "dark-3": "hover:bg-dark-3",
163
- "dark-4": "hover:bg-dark-4",
164
- black: "hover:bg-black",
165
- white: "hover:bg-white",
166
- transparent: "hover:bg-transparent"
167
- };
168
- // focus: bg color class
169
- focusBgColor = {
170
- primary: "focus:bg-primary",
171
- secondary: "focus:bg-secondary",
172
- success: "focus:bg-success",
173
- danger: "focus:bg-danger",
174
- info: "focus:bg-info",
175
- warning: "focus:bg-warning",
176
- "light-1": "focus:bg-light-1",
177
- "light-2": "focus:bg-light-2",
178
- "light-3": "focus:bg-light-3",
179
- "light-4": "focus:bg-light-4",
180
- "dark-1": "focus:bg-dark-1",
181
- "dark-2": "focus:bg-dark-2",
182
- "dark-3": "focus:bg-dark-3",
183
- "dark-4": "focus:bg-dark-4",
184
- black: "focus:bg-black",
185
- white: "focus:bg-white",
186
- transparent: "focus:bg-transparent"
187
- };
188
- // ::before bg color class
189
- beforeBgColor = {
190
- primary: "before:bg-primary",
191
- secondary: "before:bg-secondary",
192
- success: "before:bg-success",
193
- danger: "before:bg-danger",
194
- info: "before:bg-info",
195
- warning: "before:bg-warning",
196
- "light-1": "before:bg-light-1",
197
- "light-2": "before:bg-light-2",
198
- "light-3": "before:bg-light-3",
199
- "light-4": "before:bg-light-4",
200
- "dark-1": "before:bg-dark-1",
201
- "dark-2": "before:bg-dark-2",
202
- "dark-3": "before:bg-dark-3",
203
- "dark-4": "before:bg-dark-4",
204
- black: "before:bg-black",
205
- white: "before:bg-white",
206
- transparent: "before:bg-transparent"
207
- };
208
- // ::after bg color class
209
- afterBgColor = {
210
- primary: "after:bg-primary",
211
- secondary: "after:bg-secondary",
212
- success: "after:bg-success",
213
- danger: "after:bg-danger",
214
- info: "after:bg-info",
215
- warning: "after:bg-warning",
216
- "light-1": "after:bg-light-1",
217
- "light-2": "after:bg-light-2",
218
- "light-3": "after:bg-light-3",
219
- "light-4": "after:bg-light-4",
220
- "dark-1": "after:bg-dark-1",
221
- "dark-2": "after:bg-dark-2",
222
- "dark-3": "after:bg-dark-3",
223
- "dark-4": "after:bg-dark-4",
224
- black: "after:bg-black",
225
- white: "after:bg-white",
226
- transparent: "after:bg-transparent"
227
- };
228
- // active:bg color class
229
- bgActiveColor = {
230
- primary: "active:bg-primary",
231
- secondary: "active:bg-secondary",
232
- success: "active:bg-success",
233
- danger: "active:bg-danger",
234
- info: "active:bg-info",
235
- warning: "active:bg-warning",
236
- "light-1": "active:bg-light-1",
237
- "light-2": "active:bg-light-2",
238
- "light-3": "active:bg-light-3",
239
- "light-4": "active:bg-light-4",
240
- "dark-1": "active:bg-dark-1",
241
- "dark-2": "active:bg-dark-2",
242
- "dark-3": "active:bg-dark-3",
243
- "dark-4": "active:bg-dark-4",
244
- black: "active:bg-black",
245
- white: "active:bg-white",
246
- transparent: "active:bg-transparent"
247
- };
248
- // text color class
249
- textColor = {
250
- primary: "text-primary",
251
- secondary: "text-secondary",
252
- success: "text-success",
253
- danger: "text-danger",
254
- info: "text-info",
255
- warning: "text-warning",
256
- "light-1": "text-light-1",
257
- "light-2": "text-light-2",
258
- "light-3": "text-light-3",
259
- "light-4": "text-light-4",
260
- "dark-1": "text-dark-1",
261
- "dark-2": "text-dark-2",
262
- "dark-3": "text-dark-3",
263
- "dark-4": "text-dark-4",
264
- black: "text-black",
265
- white: "text-white",
266
- transparent: "text-transparent"
267
- };
268
- // hover text color class
269
- hoverTextColor = {
270
- primary: "hover:text-primary",
271
- secondary: "hover:text-secondary",
272
- success: "hover:text-success",
273
- danger: "hover:text-danger",
274
- info: "hover:text-info",
275
- warning: "hover:text-warning",
276
- "light-1": "hover:text-light-1",
277
- "light-2": "hover:text-light-2",
278
- "light-3": "hover:text-light-3",
279
- "light-4": "hover:text-light-4",
280
- "dark-1": "hover:text-dark-1",
281
- "dark-2": "hover:text-dark-2",
282
- "dark-3": "hover:text-dark-3",
283
- "dark-4": "hover:text-dark-4",
284
- black: "hover:text-black",
285
- white: "hover:text-white",
286
- transparent: "hover:text-transparent"
287
- };
288
- // focus text color class
289
- focusTextColor = {
290
- primary: "focus:text-primary",
291
- secondary: "focus:text-secondary",
292
- success: "focus:text-success",
293
- danger: "focus:text-danger",
294
- info: "focus:text-info",
295
- warning: "focus:text-warning",
296
- "light-1": "focus:text-light-1",
297
- "light-2": "focus:text-light-2",
298
- "light-3": "focus:text-light-3",
299
- "light-4": "focus:text-light-4",
300
- "dark-1": "focus:text-dark-1",
301
- "dark-2": "focus:text-dark-2",
302
- "dark-3": "focus:text-dark-3",
303
- "dark-4": "focus:text-dark-4",
304
- black: "focus:text-black",
305
- white: "focus:text-white",
306
- transparent: "focus:text-transparent"
307
- };
308
- // disabled text color class
309
- disabledTextColor = {
310
- primary: "disabled:text-primary",
311
- secondary: "disabled:text-secondary",
312
- success: "disabled:text-success",
313
- danger: "disabled:text-danger",
314
- info: "disabled:text-info",
315
- warning: "disabled:text-warning",
316
- "light-1": "disabled:text-light-1",
317
- "light-2": "disabled:text-light-2",
318
- "light-3": "disabled:text-light-3",
319
- "light-4": "disabled:text-light-4",
320
- "dark-1": "disabled:text-dark-1",
321
- "dark-2": "disabled:text-dark-2",
322
- "dark-3": "disabled:text-dark-3",
323
- "dark-4": "disabled:text-dark-4",
324
- black: "disabled:text-black",
325
- white: "disabled:text-white",
326
- transparent: "disabled:text-transparent"
327
- };
328
- // SVG fill color class
329
- svgFillColor = {
330
- primary: "fill-primary",
331
- secondary: "fill-secondary",
332
- success: "fill-success",
333
- danger: "fill-danger",
334
- info: "fill-info",
335
- warning: "fill-warning",
336
- "light-1": "fill-light-1",
337
- "light-2": "fill-light-2",
338
- "light-3": "fill-light-3",
339
- "light-4": "fill-light-4",
340
- "dark-1": "fill-dark-1",
341
- "dark-2": "fill-dark-2",
342
- "dark-3": "fill-dark-3",
343
- "dark-4": "fill-dark-4",
344
- black: "fill-black",
345
- white: "fill-white",
346
- transparent: "fill-transparent"
347
- };
348
- // ring color class
349
- ringColor = {
350
- primary: "ring-primary",
351
- secondary: "ring-secondary",
352
- success: "ring-success",
353
- danger: "ring-danger",
354
- info: "ring-info",
355
- warning: "ring-warning",
356
- "light-1": "ring-light-1",
357
- "light-2": "ring-light-2",
358
- "light-3": "ring-light-3",
359
- "light-4": "ring-light-4",
360
- "dark-1": "ring-dark-1",
361
- "dark-2": "ring-dark-2",
362
- "dark-3": "ring-dark-3",
363
- "dark-4": "ring-dark-4",
364
- black: "ring-black",
365
- white: "ring-white",
366
- transparent: "ring-transparent"
367
- };
368
- // focus:ring color class
369
- ringFocusColor = {
370
- primary: "focus:ring-primary",
371
- secondary: "focus:ring-secondary",
372
- success: "focus:ring-success",
373
- danger: "focus:ring-danger",
374
- info: "focus:ring-info",
375
- warning: "focus:ring-warning",
376
- "light-1": "focus:ring-light-1",
377
- "light-2": "focus:ring-light-2",
378
- "light-3": "focus:ring-light-3",
379
- "light-4": "focus:ring-light-4",
380
- "dark-1": "focus:ring-dark-1",
381
- "dark-2": "focus:ring-dark-2",
382
- "dark-3": "focus:ring-dark-3",
383
- "dark-4": "focus:ring-dark-4",
384
- black: "focus:ring-black",
385
- white: "focus:ring-white",
386
- transparent: "focus:ring-transparent"
387
- };
388
- // active:ring color class
389
- ringActiveColor = {
390
- primary: "active:ring-primary",
391
- secondary: "active:ring-secondary",
392
- success: "active:ring-success",
393
- danger: "active:ring-danger",
394
- info: "active:ring-info",
395
- warning: "active:ring-warning",
396
- "light-1": "active:ring-light-1",
397
- "light-2": "active:ring-light-2",
398
- "light-3": "active:ring-light-3",
399
- "light-4": "active:ring-light-4",
400
- "dark-1": "active:ring-dark-1",
401
- "dark-2": "active:ring-dark-2",
402
- "dark-3": "active:ring-dark-3",
403
- "dark-4": "active:ring-dark-4",
404
- black: "active:ring-black",
405
- white: "active:ring-white",
406
- transparent: "active:ring-transparent"
407
- };
408
- // ring-offset color class
409
- ringOffsetColor = {
410
- primary: "ring-offset-primary",
411
- secondary: "ring-offset-secondary",
412
- success: "ring-offset-success",
413
- danger: "ring-offset-danger",
414
- info: "ring-offset-info",
415
- warning: "ring-offset-warning",
416
- "light-1": "ring-offset-light-1",
417
- "light-2": "ring-offset-light-2",
418
- "light-3": "ring-offset-light-3",
419
- "light-4": "ring-offset-light-4",
420
- "dark-1": "ring-offset-dark-1",
421
- "dark-2": "ring-offset-dark-2",
422
- "dark-3": "ring-offset-dark-3",
423
- "dark-4": "ring-offset-dark-4",
424
- black: "ring-offset-black",
425
- white: "ring-offset-white",
426
- transparent: "ring-offset-transparent"
427
- };
428
- // outline class
429
- outlineColor = {
430
- primary: "outline-primary",
431
- secondary: "outline-secondary",
432
- success: "outline-success",
433
- danger: "outline-danger",
434
- info: "outline-info",
435
- warning: "outline-warning",
436
- "light-1": "outline-light-1",
437
- "light-2": "outline-light-2",
438
- "light-3": "outline-light-3",
439
- "light-4": "outline-light-4",
440
- "dark-1": "outline-dark-1",
441
- "dark-2": "outline-dark-2",
442
- "dark-3": "outline-dark-3",
443
- "dark-4": "outline-dark-4",
444
- black: "outline-black",
445
- white: "outline-white",
446
- transparent: "outline-transparent"
447
- };
448
- // focus:outline class
449
- focusOutlineColor = {
450
- primary: "focus:outline-primary",
451
- secondary: "focus:outline-secondary",
452
- success: "focus:outline-success",
453
- danger: "focus:outline-danger",
454
- info: "focus:outline-info",
455
- warning: "focus:outline-warning",
456
- "light-1": "focus:outline-light-1",
457
- "light-2": "focus:outline-light-2",
458
- "light-3": "focus:outline-light-3",
459
- "light-4": "focus:outline-light-4",
460
- "dark-1": "focus:outline-dark-1",
461
- "dark-2": "focus:outline-dark-2",
462
- "dark-3": "focus:outline-dark-3",
463
- "dark-4": "focus:outline-dark-4",
464
- black: "focus:outline-black",
465
- white: "focus:outline-white",
466
- transparent: "focus:outline-transparent"
467
- };
468
- // active:outline class
469
- activeOutlineColor = {
470
- primary: "active:outline-primary",
471
- secondary: "active:outline-secondary",
472
- success: "active:outline-success",
473
- danger: "active:outline-danger",
474
- info: "active:outline-info",
475
- warning: "active:outline-warning",
476
- "light-1": "active:outline-light-1",
477
- "light-2": "active:outline-light-2",
478
- "light-3": "active:outline-light-3",
479
- "light-4": "active:outline-light-4",
480
- "dark-1": "active:outline-dark-1",
481
- "dark-2": "active:outline-dark-2",
482
- "dark-3": "active:outline-dark-3",
483
- "dark-4": "active:outline-dark-4",
484
- black: "active:outline-black",
485
- white: "active:outline-white",
486
- transparent: "active:outline-transparent"
487
- };
488
- // btn color class
489
- btnColor = {
490
- primary: "btn-primary",
491
- secondary: "btn-secondary",
492
- success: "btn-success",
493
- danger: "btn-danger",
494
- info: "btn-info",
495
- warning: "btn-warning",
496
- "light-1": "btn-light-1",
497
- "light-2": "btn-light-2",
498
- "light-3": "btn-light-3",
499
- "light-4": "btn-light-4",
500
- "dark-1": "btn-dark-1",
501
- "dark-2": "btn-dark-2",
502
- "dark-3": "btn-dark-3",
503
- "dark-4": "btn-dark-4",
504
- black: "btn-black",
505
- white: "btn-white",
506
- transparent: "btn-transparent"
507
- };
508
- // list color class
509
- listColor = {
510
- primary: "mcl-list-primary",
511
- secondary: "mcl-list-secondary",
512
- success: "mcl-list-success",
513
- danger: "mcl-list-danger",
514
- info: "mcl-list-info",
515
- warning: "mcl-list-warning",
516
- "light-1": "mcl-list-light-1",
517
- "light-2": "mcl-list-light-2",
518
- "light-3": "mcl-list-light-3",
519
- "light-4": "mcl-list-light-4",
520
- "dark-1": "mcl-list-dark-1",
521
- "dark-2": "mcl-list-dark-2",
522
- "dark-3": "mcl-list-dark-3",
523
- "dark-4": "mcl-list-dark-4",
524
- black: "mcl-list-black",
525
- white: "mcl-list-white",
526
- transparent: "mcl-list-transparent"
527
- };
528
- // border color classes
529
- borderColor = {
530
- primary: "border-primary",
531
- secondary: "border-secondary",
532
- success: "border-success",
533
- danger: "border-danger",
534
- info: "border-info",
535
- warning: "border-warning",
536
- "light-1": "border-light-1",
537
- "light-2": "border-light-2",
538
- "light-3": "border-light-3",
539
- "light-4": "border-light-4",
540
- "dark-1": "border-dark-1",
541
- "dark-2": "border-dark-2",
542
- "dark-3": "border-dark-3",
543
- "dark-4": "border-dark-4",
544
- black: "border-black",
545
- white: "border-white",
546
- transparent: "border-transparent"
547
- };
548
- borderXColor = {
549
- primary: "border-x-primary",
550
- secondary: "border-x-secondary",
551
- success: "border-x-success",
552
- danger: "border-x-danger",
553
- info: "border-x-info",
554
- warning: "border-x-warning",
555
- "light-1": "border-x-light-1",
556
- "light-2": "border-x-light-2",
557
- "light-3": "border-x-light-3",
558
- "light-4": "border-x-light-4",
559
- "dark-1": "border-x-dark-1",
560
- "dark-2": "border-x-dark-2",
561
- "dark-3": "border-x-dark-3",
562
- "dark-4": "border-x-dark-4",
563
- black: "border-x-black",
564
- white: "border-x-white",
565
- transparent: "border-x-transparent"
566
- };
567
- borderYColor = {
568
- primary: "border-y-primary",
569
- secondary: "border-y-secondary",
570
- success: "border-y-success",
571
- danger: "border-y-danger",
572
- info: "border-y-info",
573
- warning: "border-y-warning",
574
- "light-1": "border-y-light-1",
575
- "light-2": "border-y-light-2",
576
- "light-3": "border-y-light-3",
577
- "light-4": "border-y-light-4",
578
- "dark-1": "border-y-dark-1",
579
- "dark-2": "border-y-dark-2",
580
- "dark-3": "border-y-dark-3",
581
- "dark-4": "border-y-dark-4",
582
- black: "border-y-black",
583
- white: "border-y-white",
584
- transparent: "border-y-transparent"
585
- };
586
- borderTopColor = {
587
- primary: "border-t-primary",
588
- secondary: "border-t-secondary",
589
- success: "border-t-success",
590
- danger: "border-t-danger",
591
- info: "border-t-info",
592
- warning: "border-t-warning",
593
- "light-1": "border-t-light-1",
594
- "light-2": "border-t-light-2",
595
- "light-3": "border-t-light-3",
596
- "light-4": "border-t-light-4",
597
- "dark-1": "border-t-dark-1",
598
- "dark-2": "border-t-dark-2",
599
- "dark-3": "border-t-dark-3",
600
- "dark-4": "border-t-dark-4",
601
- black: "border-t-black",
602
- white: "border-t-white",
603
- transparent: "border-t-transparent"
604
- };
605
- borderBottomColor = {
606
- primary: "border-b-primary",
607
- secondary: "border-b-secondary",
608
- success: "border-b-success",
609
- danger: "border-b-danger",
610
- info: "border-b-info",
611
- warning: "border-b-warning",
612
- "light-1": "border-b-light-1",
613
- "light-2": "border-b-light-2",
614
- "light-3": "border-b-light-3",
615
- "light-4": "border-b-light-4",
616
- "dark-1": "border-b-dark-1",
617
- "dark-2": "border-b-dark-2",
618
- "dark-3": "border-b-dark-3",
619
- "dark-4": "border-b-dark-4",
620
- black: "border-b-black",
621
- white: "border-b-white",
622
- transparent: "border-b-transparent"
623
- };
624
- borderLeftColor = {
625
- primary: "border-l-primary",
626
- secondary: "border-l-secondary",
627
- success: "border-l-success",
628
- danger: "border-l-danger",
629
- info: "border-l-info",
630
- warning: "border-l-warning",
631
- "light-1": "border-l-light-1",
632
- "light-2": "border-l-light-2",
633
- "light-3": "border-l-light-3",
634
- "light-4": "border-l-light-4",
635
- "dark-1": "border-l-dark-1",
636
- "dark-2": "border-l-dark-2",
637
- "dark-3": "border-l-dark-3",
638
- "dark-4": "border-l-dark-4",
639
- black: "border-l-black",
640
- white: "border-l-white",
641
- transparent: "border-l-transparent"
642
- };
643
- borderRightColor = {
644
- primary: "border-r-primary",
645
- secondary: "border-r-secondary",
646
- success: "border-r-success",
647
- danger: "border-r-danger",
648
- info: "border-r-info",
649
- warning: "border-r-warning",
650
- "light-1": "border-r-light-1",
651
- "light-2": "border-r-light-2",
652
- "light-3": "border-r-light-3",
653
- "light-4": "border-r-light-4",
654
- "dark-1": "border-r-dark-1",
655
- "dark-2": "border-r-dark-2",
656
- "dark-3": "border-r-dark-3",
657
- "dark-4": "border-r-dark-4",
658
- black: "border-r-black",
659
- white: "border-r-white",
660
- transparent: "border-r-transparent"
661
- };
662
- }
663
- class he {
664
- // h1 class
665
- heading1 = {
666
- sm: "h1-sm",
667
- md: "h1-md",
668
- lg: "h1-lg",
669
- xl: "h1-xl"
670
- };
671
- // h2 class
672
- heading2 = {
673
- sm: "h2-sm",
674
- md: "h2-md",
675
- lg: "h2-lg",
676
- xl: "h2-xl"
677
- };
678
- // h3 class
679
- heading3 = {
680
- sm: "h3-sm",
681
- md: "h3-md",
682
- lg: "h3-lg",
683
- xl: "h3-xl"
684
- };
685
- // h4 class
686
- heading4 = {
687
- sm: "h4-sm",
688
- md: "h4-md",
689
- lg: "h4-lg",
690
- xl: "h4-xl"
691
- };
692
- }
693
- let ue = class {
694
- // opacity
695
- backgroundOpacity = {
696
- 10: "bg-opacity-10",
697
- 20: "bg-opacity-20",
698
- 30: "bg-opacity-30",
699
- 40: "bg-opacity-40",
700
- 50: "bg-opacity-50",
701
- 60: "bg-opacity-60",
702
- 70: "bg-opacity-70",
703
- 80: "bg-opacity-80",
704
- 90: "bg-opacity-90",
705
- 100: "bg-opacity-100"
706
- };
707
- opacity = {
708
- 10: "opacity-10",
709
- 20: "opacity-20",
710
- 30: "opacity-30",
711
- 40: "opacity-40",
712
- 50: "opacity-50",
713
- 60: "opacity-60",
714
- 70: "opacity-70",
715
- 80: "opacity-80",
716
- 90: "opacity-90",
717
- 100: "opacity-100"
718
- };
719
- outlineOpacity = {
720
- 10: "outline-opacity-10",
721
- 20: "outline-opacity-20",
722
- 30: "outline-opacity-30",
723
- 40: "outline-opacity-40",
724
- 50: "outline-opacity-50",
725
- 60: "outline-opacity-60",
726
- 70: "outline-opacity-70",
727
- 80: "outline-opacity-80",
728
- 90: "outline-opacity-90",
729
- 100: "outline-opacity-100"
730
- };
731
- };
732
- class be {
733
- // spacing: margin
734
- margin = {
735
- 0: "m-0",
736
- "3xs": "m-3xs",
737
- "2xs": "m-2xs",
738
- xs: "m-xs",
739
- sm: "m-sm",
740
- md: "m-md",
741
- lg: "m-lg",
742
- xl: "m-xl",
743
- "2xl": "m-2xl",
744
- "3xl": "m-3xl"
745
- };
746
- marginX = {
747
- 0: "mx-0",
748
- "3xs": "mx-3xs",
749
- "2xs": "mx-2xs",
750
- xs: "mx-xs",
751
- sm: "mx-sm",
752
- md: "mx-md",
753
- lg: "mx-lg",
754
- xl: "mx-xl",
755
- "2xl": "mx-2xl",
756
- "3xl": "mx-3xl"
757
- };
758
- marginY = {
759
- 0: "my-0",
760
- "3xs": "my-3xs",
761
- "2xs": "my-2xs",
762
- xs: "my-xs",
763
- sm: "my-sm",
764
- md: "my-md",
765
- lg: "my-lg",
766
- xl: "my-xl",
767
- "2xl": "my-2xl",
768
- "3xl": "my-3xl"
769
- };
770
- marginTop = {
771
- 0: "mt-0",
772
- "3xs": "mt-3xs",
773
- "2xs": "mt-2xs",
774
- xs: "mt-xs",
775
- sm: "mt-sm",
776
- md: "mt-md",
777
- lg: "mt-lg",
778
- xl: "mt-xl",
779
- "2xl": "mt-2xl",
780
- "3xl": "mt-3xl"
781
- };
782
- marginBottom = {
783
- 0: "mb-0",
784
- "3xs": "mb-3xs",
785
- "2xs": "mb-2xs",
786
- xs: "mb-xs",
787
- sm: "mb-sm",
788
- md: "mb-md",
789
- lg: "mb-lg",
790
- xl: "mb-xl",
791
- "2xl": "mb-2xl",
792
- "3xl": "mb-3xl"
793
- };
794
- marginLeft = {
795
- 0: "ml-0",
796
- "3xs": "ml-3xs",
797
- "2xs": "ml-2xs",
798
- xs: "ml-xs",
799
- sm: "ml-sm",
800
- md: "ml-md",
801
- lg: "ml-lg",
802
- xl: "ml-xl",
803
- "2xl": "ml-2xl",
804
- "3xl": "ml-3xl"
805
- };
806
- marginRight = {
807
- 0: "mr-0",
808
- "3xs": "mr-3xs",
809
- "2xs": "mr-2xs",
810
- xs: "mr-xs",
811
- sm: "mr-sm",
812
- md: "mr-md",
813
- lg: "mr-lg",
814
- xl: "mr-xl",
815
- "2xl": "mr-2xl",
816
- "3xl": "mr-3xl"
817
- };
818
- // spacing: padding
819
- padding = {
820
- 0: "p-0",
821
- "3xs": "p-3xs",
822
- "2xs": "p-2xs",
823
- xs: "p-xs",
824
- sm: "p-sm",
825
- md: "p-md",
826
- lg: "p-lg",
827
- xl: "p-xl",
828
- "2xl": "p-2xl",
829
- "3xl": "p-3xl"
830
- };
831
- paddingX = {
832
- 0: "px-0",
833
- "3xs": "px-3xs",
834
- "2xs": "px-2xs",
835
- xs: "px-xs",
836
- sm: "px-sm",
837
- md: "px-md",
838
- lg: "px-lg",
839
- xl: "px-xl",
840
- "2xl": "px-2xl",
841
- "3xl": "px-3xl"
842
- };
843
- paddingY = {
844
- 0: "py-0",
845
- "3xs": "py-3xs",
846
- "2xs": "py-2xs",
847
- xs: "py-xs",
848
- sm: "py-sm",
849
- md: "py-md",
850
- lg: "py-lg",
851
- xl: "py-xl",
852
- "2xl": "py-2xl",
853
- "3xl": "py-3xl"
854
- };
855
- paddingTop = {
856
- 0: "pt-0",
857
- "3xs": "pt-3xs",
858
- "2xs": "pt-2xs",
859
- xs: "pt-xs",
860
- sm: "pt-sm",
861
- md: "pt-md",
862
- lg: "pt-lg",
863
- xl: "pt-xl",
864
- "2xl": "pt-2xl",
865
- "3xl": "pt-3xl"
866
- };
867
- paddingBottom = {
868
- 0: "pb-0",
869
- "3xs": "pb-3xs",
870
- "2xs": "pb-2xs",
871
- xs: "pb-xs",
872
- sm: "pb-sm",
873
- md: "pb-md",
874
- lg: "pb-lg",
875
- xl: "pb-xl",
876
- "2xl": "pb-2xl",
877
- "3xl": "pb-3xl"
878
- };
879
- paddingLeft = {
880
- 0: "pl-0",
881
- "3xs": "pl-3xs",
882
- "2xs": "pl-2xs",
883
- xs: "pl-xs",
884
- sm: "pl-sm",
885
- md: "pl-md",
886
- lg: "pl-lg",
887
- xl: "pl-xl",
888
- "2xl": "pl-2xl",
889
- "3xl": "pl-3xl"
890
- };
891
- paddingRight = {
892
- 0: "pr-0",
893
- "3xs": "pr-3xs",
894
- "2xs": "pr-2xs",
895
- xs: "pr-xs",
896
- sm: "pr-sm",
897
- md: "pr-md",
898
- lg: "pr-lg",
899
- xl: "pr-xl",
900
- "2xl": "pr-2xl",
901
- "3xl": "pr-3xl"
902
- };
903
- // spacing gap class for flex/grid
904
- gap = {
905
- 0: "gap-0",
906
- "3xs": "gap-3xs",
907
- "2xs": "gap-2xs",
908
- xs: "gap-xs",
909
- sm: "gap-sm",
910
- md: "gap-md",
911
- lg: "gap-lg",
912
- xl: "gap-xl",
913
- "2xl": "gap-2xl",
914
- "3xl": "gap-3xl"
915
- };
916
- }
917
- let xe = class {
918
- classType;
919
- constructor(t) {
920
- this.classType = t;
921
- }
922
- validateColorType(t) {
923
- return typeof t != "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(t) ? !1 : E.colorType.includes(this.classType);
924
- }
925
- validateSpaceType(t) {
926
- return typeof t != "string" || !/(0|3xs|2xs|xs|sm|md|lg|xl|2xl|3xl)/.test(t) ? !1 : E.spacingType.includes(this.classType);
927
- }
928
- validateHeadingTextSizeType(t) {
929
- return typeof t != "string" || !/(sm|md|lg|xl)/.test(t) ? !1 : E.headingSizeType.includes(
930
- this.classType
931
- );
932
- }
933
- validateBodyTextSizeType(t) {
934
- return typeof t != "string" || !/(xs|sm|md|lg|xl)/.test(t) ? !1 : E.textType.includes(this.classType);
935
- }
936
- validateFontWeightType(t) {
937
- return typeof t != "string" || !/(light|normal|bold)/.test(t) ? !1 : E.fontWeightType.includes(
938
- this.classType
939
- );
940
- }
941
- validateOpacityType(t) {
942
- return typeof t != "number" || !/\b(0|[1-9]0|100)\b/.test(t.toString()) ? !1 : E.scaleType.includes(this.classType);
943
- }
944
- validateRangeType(t) {
945
- return typeof t != "number" || !/\b([1-9]|1[0-2])\b/.test(t.toString()) ? !1 : E.borderWidthType.includes(
946
- this.classType
947
- );
948
- }
949
- validateAlignment(t) {
950
- return typeof t != "string" || !/(left|center|right)/.test(t) ? !1 : E.textAlignType.includes(
951
- this.classType
952
- );
953
- }
954
- };
955
- const E = {
956
- colorType: [
957
- "BGCOLOR",
958
- "BEFOREBG",
959
- "AFTERBG",
960
- "HVBGCOLOR",
961
- "FCBGCOLOR",
962
- "ACTIVEBG",
963
- "TEXTCOLOR",
964
- "HVTEXTCOLOR",
965
- "FCTEXTCOLOR",
966
- "DISABLEDTEXTCOLOR",
967
- "SVGFILL",
968
- "RINGCOLOR",
969
- "FOCUSRING",
970
- "ACTIVERING",
971
- "OUTLINE",
972
- "FOCUSOUTLINE",
973
- "ACTIVEOUTLINE",
974
- "OFFSETRING",
975
- "BTNCOLOR",
976
- "LISTCOLOR",
977
- "BORDER",
978
- "BORDERX",
979
- "BORDERY",
980
- "BORDERT",
981
- "BORDERB",
982
- "BORDERL",
983
- "BORDERR"
984
- ],
985
- textType: ["BODYTEXT"],
986
- fontWeightType: ["FONTWEIGHT"],
987
- textAlignType: ["TEXTALIGN"],
988
- headingSizeType: ["H1", "H2", "H3", "H4"],
989
- borderWidthType: [
990
- "BORDERW",
991
- "BORDERXW",
992
- "BORDERYW",
993
- "BORDERTW",
994
- "BORDERBW",
995
- "BORDERLW",
996
- "BORDERRW"
997
- ],
998
- scaleType: ["BGOPACITY", "OPACITY", "OUTLINEOPACITY"],
999
- spacingType: [
1000
- "MARGIN",
1001
- "MARGINX",
1002
- "MARGINY",
1003
- "MARGINT",
1004
- "MARGINB",
1005
- "MARGINL",
1006
- "MARGINR",
1007
- "PADDING",
1008
- "PADDINGX",
1009
- "PADDINGY",
1010
- "PADDINGT",
1011
- "PADDINGB",
1012
- "PADDINGL",
1013
- "PADDINGR",
1014
- "GAP"
1015
- ]
1016
- };
1017
- class fe {
1018
- classType;
1019
- classValue;
1020
- colorClass;
1021
- headingSizeClass;
1022
- borderWidthClass;
1023
- opacityClass;
1024
- spacingClass;
1025
- textClass;
1026
- validator;
1027
- constructor(t, a) {
1028
- this.classType = t, this.classValue = a, this.colorClass = new ge(), this.headingSizeClass = new he(), this.borderWidthClass = new ce(), this.opacityClass = new ue(), this.spacingClass = new be(), this.textClass = new de(), this.validator = new xe(t);
1029
- }
1030
- generateClass() {
1031
- switch (this.classType) {
1032
- // case: color classes
1033
- case "BGCOLOR":
1034
- return this.getBgColorClass();
1035
- case "HVBGCOLOR":
1036
- return this.getHoverBgColorClass();
1037
- case "FCBGCOLOR":
1038
- return this.getFocusBgColorClass();
1039
- case "BEFOREBG":
1040
- return this.getBeforeBgColorClass();
1041
- case "AFTERBG":
1042
- return this.getAfterBgColorClass();
1043
- case "ACTIVEBG":
1044
- return this.getActiveBgColorClass();
1045
- case "TEXTCOLOR":
1046
- return this.getTextColorClass();
1047
- case "HVTEXTCOLOR":
1048
- return this.getHoverTextColorClass();
1049
- case "FCTEXTCOLOR":
1050
- return this.getFocusTextColorClass();
1051
- case "DISABLEDTEXTCOLOR":
1052
- return this.getDisabledTextColorClass();
1053
- case "SVGFILL":
1054
- return this.getSvgFillColorClass();
1055
- case "RINGCOLOR":
1056
- return this.getRingColorClass();
1057
- case "FOCUSRING":
1058
- return this.getFocusRingColorClass();
1059
- case "ACTIVERING":
1060
- return this.getActiveRingColorClass();
1061
- case "OFFSETRING":
1062
- return this.getRingOffsetColorClass();
1063
- case "OUTLINE":
1064
- return this.getOutlineColorClass();
1065
- case "FOCUSOUTLINE":
1066
- return this.getFocusOutlineColorClass();
1067
- case "ACTIVEOUTLINE":
1068
- return this.getActiveOutlineColorClass();
1069
- case "BTNCOLOR":
1070
- return this.getBtnColorClass();
1071
- case "LISTCOLOR":
1072
- return this.getListColorClass();
1073
- case "BORDER":
1074
- return this.getBorderColorClass();
1075
- case "BORDERX":
1076
- return this.getBorderXColorClass();
1077
- case "BORDERY":
1078
- return this.getBorderYColorClass();
1079
- case "BORDERT":
1080
- return this.getBorderTopColorClass();
1081
- case "BORDERB":
1082
- return this.getBorderBottomColorClass();
1083
- case "BORDERL":
1084
- return this.getBorderLeftColorClass();
1085
- case "BORDERR":
1086
- return this.getBorderRightColorClass();
1087
- // case: heading classes
1088
- case "H1":
1089
- return this.getH1Class();
1090
- case "H2":
1091
- return this.getH2Class();
1092
- case "H3":
1093
- return this.getH3Class();
1094
- case "H4":
1095
- return this.getH4Class();
1096
- // case: body text class
1097
- case "BODYTEXT":
1098
- return this.getBodyTextSizeClass();
1099
- // case: font weight class
1100
- case "FONTWEIGHT":
1101
- return this.getFontWeightClass();
1102
- // case: text alignment class
1103
- case "TEXTALIGN":
1104
- return this.getTextAlignClass();
1105
- // case: border width classes
1106
- case "BORDERW":
1107
- return this.getBorderWidthClass();
1108
- case "BORDERXW":
1109
- return this.getBorderXWidthClass();
1110
- case "BORDERYW":
1111
- return this.getBorderYWidthClass();
1112
- case "BORDERTW":
1113
- return this.getBorderTopWidthClass();
1114
- case "BORDERBW":
1115
- return this.getBorderBottomWidthClass();
1116
- case "BORDERLW":
1117
- return this.getBorderLeftWidthClass();
1118
- case "BORDERRW":
1119
- return this.getBorderRightWidthClass();
1120
- // case: opacity classes
1121
- case "OPACITY":
1122
- return this.getOpacityClass();
1123
- case "BGOPACITY":
1124
- return this.getBgOpacityClass();
1125
- case "OUTLINEOPACITY":
1126
- return this.getOutlineOpacityClass();
1127
- // case: margins
1128
- case "MARGIN":
1129
- return this.getMarginClass();
1130
- case "MARGINX":
1131
- return this.getMarginXClass();
1132
- case "MARGINY":
1133
- return this.getMarginYClass();
1134
- case "MARGINT":
1135
- return this.getMarginTopClass();
1136
- case "MARGINB":
1137
- return this.getMarginBottomClass();
1138
- case "MARGINL":
1139
- return this.getMarginLeftClass();
1140
- case "MARGINR":
1141
- return this.getMarginRightClass();
1142
- // case: paddings
1143
- case "PADDING":
1144
- return this.getPaddingClass();
1145
- case "PADDINGX":
1146
- return this.getPaddingXClass();
1147
- case "PADDINGY":
1148
- return this.getPaddingYClass();
1149
- case "PADDINGT":
1150
- return this.getPaddingTopClass();
1151
- case "PADDINGB":
1152
- return this.getPaddingBottomClass();
1153
- case "PADDINGL":
1154
- return this.getPaddingLeftClass();
1155
- case "PADDINGR":
1156
- return this.getPaddingRightClass();
1157
- // case: gap
1158
- case "GAP":
1159
- return this.getGapClass();
1160
- default:
1161
- return " ";
1162
- }
1163
- }
1164
- // handle color class
1165
- // bg color
1166
- getBgColorClass() {
1167
- return this.validator.validateColorType(this.classValue) ? this.colorClass.bgColor[this.classValue] : " ";
1168
- }
1169
- getHoverBgColorClass() {
1170
- return this.validator.validateColorType(this.classValue) ? this.colorClass.hoverBgColor[this.classValue] : " ";
1171
- }
1172
- getFocusBgColorClass() {
1173
- return this.validator.validateColorType(this.classValue) ? this.colorClass.focusBgColor[this.classValue] : " ";
1174
- }
1175
- getBeforeBgColorClass() {
1176
- return this.validator.validateColorType(this.classValue) ? this.colorClass.beforeBgColor[this.classValue] : " ";
1177
- }
1178
- getAfterBgColorClass() {
1179
- return this.validator.validateColorType(this.classValue) ? this.colorClass.afterBgColor[this.classValue] : " ";
1180
- }
1181
- getActiveBgColorClass() {
1182
- return this.validator.validateColorType(this.classValue) ? this.colorClass.bgActiveColor[this.classValue] : " ";
1183
- }
1184
- // text color
1185
- getTextColorClass() {
1186
- return this.validator.validateColorType(this.classValue) ? this.colorClass.textColor[this.classValue] : " ";
1187
- }
1188
- getHoverTextColorClass() {
1189
- return this.validator.validateColorType(this.classValue) ? this.colorClass.hoverTextColor[this.classValue] : " ";
1190
- }
1191
- getFocusTextColorClass() {
1192
- return this.validator.validateColorType(this.classValue) ? this.colorClass.focusTextColor[this.classValue] : " ";
1193
- }
1194
- getDisabledTextColorClass() {
1195
- return this.validator.validateColorType(this.classValue) ? this.colorClass.disabledTextColor[this.classValue] : " ";
1196
- }
1197
- // svg color
1198
- getSvgFillColorClass() {
1199
- return this.validator.validateColorType(this.classValue) ? this.colorClass.svgFillColor[this.classValue] : " ";
1200
- }
1201
- // ring color
1202
- getRingColorClass() {
1203
- return this.validator.validateColorType(this.classValue) ? this.colorClass.ringColor[this.classValue] : " ";
1204
- }
1205
- getFocusRingColorClass() {
1206
- return this.validator.validateColorType(this.classValue) ? this.colorClass.ringFocusColor[this.classValue] : " ";
1207
- }
1208
- getActiveRingColorClass() {
1209
- return this.validator.validateColorType(this.classValue) ? this.colorClass.ringActiveColor[this.classValue] : " ";
1210
- }
1211
- getRingOffsetColorClass() {
1212
- return this.validator.validateColorType(this.classValue) ? this.colorClass.ringOffsetColor[this.classValue] : " ";
1213
- }
1214
- // outline color
1215
- getOutlineColorClass() {
1216
- return this.validator.validateColorType(this.classValue) ? this.colorClass.outlineColor[this.classValue] : " ";
1217
- }
1218
- getFocusOutlineColorClass() {
1219
- return this.validator.validateColorType(this.classValue) ? this.colorClass.focusOutlineColor[this.classValue] : " ";
1220
- }
1221
- getActiveOutlineColorClass() {
1222
- return this.validator.validateColorType(this.classValue) ? this.colorClass.activeOutlineColor[this.classValue] : " ";
1223
- }
1224
- // btn & list
1225
- getBtnColorClass() {
1226
- return this.validator.validateColorType(this.classValue) ? this.colorClass.btnColor[this.classValue] : " ";
1227
- }
1228
- getListColorClass() {
1229
- return this.validator.validateColorType(this.classValue) ? this.colorClass.listColor[this.classValue] : " ";
1230
- }
1231
- // border color
1232
- getBorderColorClass() {
1233
- return this.validator.validateColorType(this.classValue) ? this.colorClass.borderColor[this.classValue] : " ";
1234
- }
1235
- getBorderXColorClass() {
1236
- return this.validator.validateColorType(this.classValue) ? this.colorClass.borderXColor[this.classValue] : " ";
1237
- }
1238
- getBorderYColorClass() {
1239
- return this.validator.validateColorType(this.classValue) ? this.colorClass.borderYColor[this.classValue] : " ";
1240
- }
1241
- getBorderTopColorClass() {
1242
- return this.validator.validateColorType(this.classValue) ? this.colorClass.borderTopColor[this.classValue] : " ";
1243
- }
1244
- getBorderBottomColorClass() {
1245
- return this.validator.validateColorType(this.classValue) ? this.colorClass.borderBottomColor[this.classValue] : " ";
1246
- }
1247
- getBorderLeftColorClass() {
1248
- return this.validator.validateColorType(this.classValue) ? this.colorClass.borderLeftColor[this.classValue] : " ";
1249
- }
1250
- getBorderRightColorClass() {
1251
- return this.validator.validateColorType(this.classValue) ? this.colorClass.borderRightColor[this.classValue] : " ";
1252
- }
1253
- // handle heading classes
1254
- getH1Class() {
1255
- return this.validator.validateHeadingTextSizeType(this.classValue) ? this.headingSizeClass.heading1[this.classValue] : " ";
1256
- }
1257
- getH2Class() {
1258
- return this.validator.validateHeadingTextSizeType(this.classValue) ? this.headingSizeClass.heading2[this.classValue] : " ";
1259
- }
1260
- getH3Class() {
1261
- return this.validator.validateHeadingTextSizeType(this.classValue) ? this.headingSizeClass.heading3[this.classValue] : " ";
1262
- }
1263
- getH4Class() {
1264
- return this.validator.validateHeadingTextSizeType(this.classValue) ? this.headingSizeClass.heading4[this.classValue] : " ";
1265
- }
1266
- // handle body text size classes
1267
- getBodyTextSizeClass() {
1268
- return this.validator.validateBodyTextSizeType(this.classValue) ? this.textClass.bodyText[this.classValue] : " ";
1269
- }
1270
- // handle font weight classes
1271
- getFontWeightClass() {
1272
- return this.validator.validateFontWeightType(this.classValue) ? this.textClass.fontweight[this.classValue] : " ";
1273
- }
1274
- // handle text align classes
1275
- getTextAlignClass() {
1276
- return this.validator.validateAlignment(this.classValue) ? this.textClass.textAlign[this.classValue] : " ";
1277
- }
1278
- // handle border width class
1279
- getBorderWidthClass() {
1280
- return this.validator.validateRangeType(this.classValue) ? this.borderWidthClass.borderWidth[this.classValue] : " ";
1281
- }
1282
- getBorderXWidthClass() {
1283
- return this.validator.validateRangeType(this.classValue) ? this.borderWidthClass.borderXWidth[this.classValue] : " ";
1284
- }
1285
- getBorderYWidthClass() {
1286
- return this.validator.validateRangeType(this.classValue) ? this.borderWidthClass.borderYWidth[this.classValue] : " ";
1287
- }
1288
- getBorderTopWidthClass() {
1289
- return this.validator.validateRangeType(this.classValue) ? this.borderWidthClass.borderTopWidth[this.classValue] : " ";
1290
- }
1291
- getBorderBottomWidthClass() {
1292
- return this.validator.validateRangeType(this.classValue) ? this.borderWidthClass.borderBottomWidth[this.classValue] : " ";
1293
- }
1294
- getBorderLeftWidthClass() {
1295
- return this.validator.validateRangeType(this.classValue) ? this.borderWidthClass.borderLeftWidth[this.classValue] : " ";
1296
- }
1297
- getBorderRightWidthClass() {
1298
- return this.validator.validateRangeType(this.classValue) ? this.borderWidthClass.borderRightWidth[this.classValue] : " ";
1299
- }
1300
- // handle opacity classes
1301
- getOpacityClass() {
1302
- return this.validator.validateOpacityType(this.classValue) ? this.opacityClass.opacity[this.classValue] : " ";
1303
- }
1304
- getBgOpacityClass() {
1305
- return this.validator.validateOpacityType(this.classValue) ? this.opacityClass.backgroundOpacity[this.classValue] : " ";
1306
- }
1307
- getOutlineOpacityClass() {
1308
- return this.validator.validateOpacityType(this.classValue) ? this.opacityClass.outlineOpacity[this.classValue] : " ";
1309
- }
1310
- // spacing classes
1311
- // margins
1312
- getMarginClass() {
1313
- return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.margin[this.classValue] : " ";
1314
- }
1315
- getMarginXClass() {
1316
- return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.marginX[this.classValue] : " ";
1317
- }
1318
- getMarginYClass() {
1319
- return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.marginY[this.classValue] : " ";
1320
- }
1321
- getMarginTopClass() {
1322
- return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.marginTop[this.classValue] : " ";
1323
- }
1324
- getMarginBottomClass() {
1325
- return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.marginBottom[this.classValue] : " ";
1326
- }
1327
- getMarginLeftClass() {
1328
- return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.marginLeft[this.classValue] : " ";
1329
- }
1330
- getMarginRightClass() {
1331
- return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.marginRight[this.classValue] : " ";
1332
- }
1333
- // paddings
1334
- getPaddingClass() {
1335
- return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.padding[this.classValue] : " ";
1336
- }
1337
- getPaddingXClass() {
1338
- return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.paddingX[this.classValue] : " ";
1339
- }
1340
- getPaddingYClass() {
1341
- return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.paddingY[this.classValue] : " ";
1342
- }
1343
- getPaddingTopClass() {
1344
- return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.paddingTop[this.classValue] : " ";
1345
- }
1346
- getPaddingBottomClass() {
1347
- return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.paddingBottom[this.classValue] : " ";
1348
- }
1349
- getPaddingLeftClass() {
1350
- return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.paddingLeft[this.classValue] : " ";
1351
- }
1352
- getPaddingRightClass() {
1353
- return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.paddingRight[this.classValue] : " ";
1354
- }
1355
- // gaps
1356
- getGapClass() {
1357
- return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.gap[this.classValue] : " ";
1358
- }
1359
- }
1360
- const P = (e, t) => new fe(e, t).generateClass(), j = {
1361
- left: "tooltip-left",
1362
- top: "tooltip-top",
1363
- bottom: "tooltip-bottom",
1364
- right: "tooltip-right"
1365
- };
1366
- S({
1367
- name: "Tooltip",
1368
- props: {
1369
- direction: {
1370
- type: String,
1371
- default: "right"
1372
- },
1373
- color: {
1374
- type: String,
1375
- default: "dark-3"
1376
- },
1377
- textColor: {
1378
- type: String,
1379
- default: "white"
1380
- },
1381
- width: {
1382
- type: [Number, String],
1383
- default: 80
1384
- },
1385
- customClass: {
1386
- type: String,
1387
- default: ""
1388
- },
1389
- title: {
1390
- type: String,
1391
- required: !0
1392
- }
1393
- },
1394
- setup(e) {
1395
- const t = "invisible opacity-0 group-hover:visible group-hover:opacity-100 z-[100] tooltip", a = O(() => [
1396
- P("BGCOLOR", e.color),
1397
- P("TEXTCOLOR", e.textColor)
1398
- ].join(" ")), b = O(() => ({ width: `${e.width}px` })), c = O(() => j[e.direction] || j.right), m = O(() => [
1399
- t,
1400
- c.value,
1401
- a.value,
1402
- e.customClass
1403
- ]);
1404
- return () => ae("div", {
1405
- class: m.value,
1406
- role: "tooltip",
1407
- innerHTML: e.title,
1408
- style: [b.value]
1409
- });
1410
- }
1411
- });
1412
- const me = (e, t) => {
1413
- if (e.tagName === "A") {
1414
- const a = e.getAttribute("href");
1415
- return a ? a.charAt(0) === "#" ? a.substring(1) : a : null;
1416
- }
1417
- return t || null;
1418
- }, Ce = (e) => e ? document.getElementById(e) : null, ke = (e) => e.hasAttribute("visible"), _ = (e) => {
1419
- const t = e.getAttribute("visible") === "true" ? "false" : "true";
1420
- e.setAttribute("visible", t);
1421
- }, pe = (e) => {
1422
- const t = `div[accordion="${e}"]`;
1423
- return Array.from(document.querySelectorAll(t));
1424
- }, ve = (e, t) => {
1425
- pe(t).forEach((a) => {
1426
- a.id === e.id ? _(a) : a.getAttribute("visible") === "true" && a.setAttribute("visible", "false");
1427
- });
1428
- }, ye = (e) => {
1429
- _(e);
1430
- }, Te = (e) => (t) => {
1431
- t.preventDefault();
1432
- const a = t.target, b = me(a, e), c = Ce(b);
1433
- if (!c) {
1434
- console.warn(`[v-collapse] Target element not found: ${b}`);
1435
- return;
1436
- }
1437
- if (!ke(c)) {
1438
- console.warn(
1439
- `[v-collapse] Target element missing 'visible' attribute: ${b}`
1440
- );
1441
- return;
1442
- }
1443
- const m = c.getAttribute("accordion");
1444
- m ? ve(c, m) : ye(c);
1445
- }, ee = {
1446
- mounted(e, t) {
1447
- e.__HandleToggler = Te(t.arg), e.addEventListener("click", e.__HandleToggler);
1448
- },
1449
- unmounted(e) {
1450
- e.__HandleToggler && (e.removeEventListener("click", e.__HandleToggler), delete e.__HandleToggler);
1451
- }
1452
- }, Be = { class: "flex w-full flex-col" }, we = { class: "self-center" }, Oe = { class: "pt-2xs relative" }, Re = { class: "relative flex flex-col" }, Le = ["href", "target", "onClick"], Ve = /* @__PURE__ */ S({
1
+ (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('.nav__decorator[data-v-e72ce0b4]:before{content:"";position:absolute;bottom:0;left:0;height:100%;width:0;transition:width .3s linear}.nav__text:focus+.nav__decorator[data-v-e72ce0b4]:before,.nav__text:hover+.nav__decorator[data-v-e72ce0b4]:before{width:100%}.nav__decorator[data-v-1a311f8c]:before{content:"";position:absolute;bottom:0;left:0;height:100%;width:0;transition:width .3s linear}.nav__text:focus+.nav__decorator[data-v-1a311f8c]:before,.nav__text:hover+.nav__decorator[data-v-1a311f8c]:before{width:100%}.nav__decorator[data-v-d390be01]:before{content:"";position:absolute;bottom:0;left:0;height:100%;width:0;transition:width .3s linear}.nav__text:focus+.nav__decorator[data-v-d390be01]:before,.nav__text:hover+.nav__decorator[data-v-d390be01]:before{width:100%}')),document.head.appendChild(t)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
+ import { defineComponent as R, ref as H, computed as S, openBlock as r, createElementBlock as d, createElementVNode as o, normalizeClass as y, toDisplayString as M, unref as w, createCommentVNode as $, createVNode as D, withCtx as I, Fragment as N, renderList as j, withKeys as G, useSlots as P, createBlock as V, renderSlot as E } from "vue";
3
+ import { generateClass as t, Collapse as Q, DropdownContainer as p, DropdownContent as _, HeaderHorizontal as ee, AccordionGroup as W, HeaderVertical as te } from "@bobbykim/manguito-theme";
4
+ const le = { class: "flex w-full flex-col" }, oe = { class: "self-center" }, ne = { class: "relative pt-2xs" }, ie = { class: "relative flex flex-col" }, ae = ["href", "target", "onClick"], re = /* @__PURE__ */ R({
1453
5
  __name: "NavCollapse",
1454
6
  props: {
1455
7
  navId: {},
1456
- navAccordionGroup: {},
1457
8
  navItem: {},
1458
9
  bgColor: { default: "light-2" },
1459
10
  hoverBgColor: { default: "dark-1" },
1460
11
  menuTextSize: { default: "md" },
1461
12
  menuTextColor: { default: "dark-3" },
1462
13
  menuTextBold: { type: Boolean, default: !1 },
1463
- displayHighlight: { type: Boolean, default: !0 },
14
+ showHighlight: { type: Boolean, default: !0 },
1464
15
  highlightColor: { default: "primary" },
1465
16
  asLink: { type: Boolean, default: !0 }
1466
17
  },
1467
18
  emits: ["child-click", "label-click"],
1468
- setup(e, { emit: t }) {
1469
- const a = e, b = t, c = D(!1), m = O(() => {
1470
- const { navId: s } = a;
1471
- return `nav-${s.toLowerCase().replaceAll(" ", "-")}`;
1472
- }), C = O(() => {
1473
- const { navAccordionGroup: s } = a;
1474
- return `accordion-${s.toLocaleLowerCase().replaceAll(" ", "-")}`;
1475
- }), x = (s) => {
1476
- c.value = s;
1477
- }, p = (s, d) => {
1478
- b("label-click", s, d, c.value);
1479
- }, y = (s, d) => {
1480
- const { asLink: i } = a;
1481
- !i && s.preventDefault(), b("child-click", s, d);
1482
- }, T = (s, d, i) => {
1483
- const f = [
1484
- r("BODYTEXT", s),
1485
- r("TEXTCOLOR", d)
19
+ setup(e, { emit: L }) {
20
+ const T = e, k = L, g = H(!1), C = S(() => {
21
+ const { navId: a } = T;
22
+ return `nav-${a.toLowerCase().replaceAll(" ", "-")}`;
23
+ }), f = H(), c = (a) => {
24
+ g.value = a;
25
+ }, x = (a, s) => {
26
+ f.value?.toggle(), k("label-click", a, s, g.value);
27
+ }, v = (a, s) => {
28
+ const { asLink: n } = T;
29
+ !n && a.preventDefault(), k("child-click", a, s);
30
+ }, b = (a, s, n) => {
31
+ const m = [
32
+ t.bodyTextVariant({ size: a }),
33
+ t.textColorVariant({ color: s })
1486
34
  ];
1487
- return i && f.push("font-bold"), f.join(" ");
35
+ return n && m.push("font-bold"), m.join(" ");
1488
36
  };
1489
- return (s, d) => (n(), u("div", Be, [
1490
- o("div", we, [
1491
- J((n(), u("button", {
1492
- class: B(["nav__text gap-3xs flex items-center align-middle tracking-wider outline-none", T(e.menuTextSize, e.menuTextColor, e.menuTextBold)]),
1493
- onClick: d[0] || (d[0] = (i) => p(i, e.navItem.title))
37
+ return (a, s) => (r(), d("div", le, [
38
+ o("div", oe, [
39
+ o("button", {
40
+ class: y(["nav__text flex items-center gap-3xs align-middle tracking-wider outline-none", b(e.menuTextSize, e.menuTextColor, e.menuTextBold)]),
41
+ onClick: s[0] || (s[0] = (n) => x(n, e.navItem.title))
1494
42
  }, [
1495
- o("span", null, G(e.navItem.title), 1),
1496
- (n(), u("svg", {
43
+ o("span", null, M(e.navItem.title), 1),
44
+ (r(), d("svg", {
1497
45
  xmlns: "http://www.w3.org/2000/svg",
1498
46
  viewBox: "0 0 448 512",
1499
- class: B(["h-[0.8rem] fill-current", [
1500
- c.value ? "rotate-180" : "rotate-0",
47
+ class: y(["h-[0.8rem] fill-current", [
48
+ g.value ? "rotate-180" : "rotate-0",
1501
49
  "transition-transform duration-300 ease-in"
1502
50
  ]])
1503
- }, [...d[1] || (d[1] = [
51
+ }, [...s[1] || (s[1] = [
1504
52
  o("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)
1505
53
  ])], 2))
1506
- ], 2)), [
1507
- [w(ee), void 0, m.value]
1508
- ]),
1509
- e.displayHighlight ? (n(), u("div", {
54
+ ], 2),
55
+ e.showHighlight ? (r(), d("div", {
1510
56
  key: 0,
1511
- class: B(["nav__decorator relative -top-0.5 h-1.5", w(r)("BEFOREBG", e.highlightColor)])
1512
- }, null, 2)) : A("", !0)
57
+ class: y(["nav__decorator relative -top-0.5 h-1.5", w(t).beforeBgColorVariant({ color: e.highlightColor })])
58
+ }, null, 2)) : $("", !0)
1513
59
  ]),
1514
- M(w(Z), {
1515
- id: m.value,
1516
- visible: !1,
1517
- accordion: C.value,
1518
- onOpen: x,
1519
- onClose: x
60
+ D(w(Q), {
61
+ ref_key: "collapseRef",
62
+ ref: f,
63
+ id: C.value,
64
+ onOpen: c,
65
+ onClose: c
1520
66
  }, {
1521
- default: R(() => [
1522
- o("div", Oe, [
1523
- e.displayHighlight ? (n(), u("div", {
67
+ default: I(() => [
68
+ o("div", ne, [
69
+ e.showHighlight ? (r(), d("div", {
1524
70
  key: 0,
1525
- class: B(["w-md absolute -left-4 h-full bg-opacity-25", w(r)("BGCOLOR", e.highlightColor)])
1526
- }, null, 2)) : A("", !0),
1527
- o("div", Re, [
1528
- (n(!0), u(N, null, X(e.navItem.children, (i, f) => (n(), u("a", {
1529
- href: i.url,
1530
- target: i.target,
1531
- class: B(["pb-2xs w-full last:pb-0", [
1532
- w(r)("TEXTCOLOR", e.menuTextColor),
1533
- w(r)("BODYTEXT", e.menuTextSize)
71
+ class: y(["absolute -left-4 h-full w-md bg-opacity-25", w(t).bgColorVariant({ color: e.highlightColor })])
72
+ }, null, 2)) : $("", !0),
73
+ o("div", ie, [
74
+ (r(!0), d(N, null, j(e.navItem.children, (n, m) => (r(), d("a", {
75
+ href: n.url,
76
+ target: n.target,
77
+ class: y(["w-full pb-2xs last:pb-0", [
78
+ w(t).textColorVariant({ color: e.menuTextColor }),
79
+ w(t).bodyTextVariant({ size: e.menuTextSize })
1534
80
  ]]),
1535
- key: f,
1536
- onClick: (v) => y(v, i)
1537
- }, G(i.title), 11, Le))), 128))
81
+ key: m,
82
+ onClick: (i) => v(i, n)
83
+ }, M(n.title), 11, ae))), 128))
1538
84
  ])
1539
85
  ])
1540
86
  ]),
1541
87
  _: 1
1542
- }, 8, ["id", "accordion"])
88
+ }, 8, ["id"])
1543
89
  ]));
1544
90
  }
1545
- }), F = (e, t) => {
1546
- const a = e.__vccOpts || e;
1547
- for (const [b, c] of t)
1548
- a[b] = c;
1549
- return a;
1550
- }, Ie = /* @__PURE__ */ F(Ve, [["__scopeId", "data-v-21c9812e"]]), Ae = ["onClick"], Ee = ["href", "target", "onClick"], De = /* @__PURE__ */ S({
91
+ }), F = (e, L) => {
92
+ const T = e.__vccOpts || e;
93
+ for (const [k, g] of L)
94
+ T[k] = g;
95
+ return T;
96
+ }, se = /* @__PURE__ */ F(re, [["__scopeId", "data-v-e72ce0b4"]]), ce = ["onClick"], ue = ["href", "target", "onClick"], de = /* @__PURE__ */ R({
1551
97
  __name: "NavDropdown",
1552
98
  props: {
1553
99
  navItem: {},
@@ -1555,77 +101,80 @@ const me = (e, t) => {
1555
101
  menuTextSize: { default: "md" },
1556
102
  menuTextColor: { default: "dark-3" },
1557
103
  menuTextBold: { type: Boolean, default: !1 },
1558
- displayHighlight: { type: Boolean, default: !0 },
104
+ showHighlight: { type: Boolean, default: !0 },
1559
105
  highlightColor: { default: "primary" },
1560
106
  asLink: { type: Boolean, default: !0 }
1561
107
  },
1562
108
  emits: ["label-click", "child-click"],
1563
- setup(e, { emit: t }) {
1564
- const a = e, b = t, c = D(-1), m = D(), C = (T, s, d) => {
1565
- const i = [
1566
- r("BODYTEXT", T),
1567
- r("TEXTCOLOR", s)
109
+ setup(e, { emit: L }) {
110
+ const T = e, k = L, g = H(-1), C = H(), f = (b, a, s) => {
111
+ const n = [
112
+ t.bodyTextVariant({ size: b }),
113
+ t.textColorVariant({ color: a })
1568
114
  ];
1569
- return d && i.push("font-bold"), i.join(" ");
1570
- }, x = (T) => {
1571
- const s = a.navItem.children.length;
1572
- m.value !== void 0 && (T === "down" && c.value < s - 1 && c.value++, T === "up" && c.value > 0 && c.value--, m.value[c.value].focus());
1573
- }, p = (T, s, d) => {
1574
- c.value = -1, b("label-click", T, s, d);
1575
- }, y = (T, s) => {
1576
- const { asLink: d } = a;
1577
- !d && T.preventDefault(), b("child-click", T, s);
115
+ return s && n.push("font-bold"), n.join(" ");
116
+ }, c = (b) => {
117
+ const a = T.navItem.children.length;
118
+ C.value !== void 0 && (b === "down" && g.value < a - 1 && g.value++, b === "up" && g.value > 0 && g.value--, C.value[g.value].focus());
119
+ }, x = (b, a, s) => {
120
+ g.value = -1, k("label-click", b, a, s);
121
+ }, v = (b, a) => {
122
+ const { asLink: s } = T;
123
+ !s && b.preventDefault(), k("child-click", b, a);
1578
124
  };
1579
- return (T, s) => (n(), u("div", {
125
+ return (b, a) => (r(), d("div", {
1580
126
  onKeyup: [
1581
- s[0] || (s[0] = Y((d) => x("down"), ["down"])),
1582
- s[1] || (s[1] = Y((d) => x("up"), ["up"]))
127
+ a[0] || (a[0] = G((s) => c("down"), ["down"])),
128
+ a[1] || (a[1] = G((s) => c("up"), ["up"]))
1583
129
  ]
1584
130
  }, [
1585
- M(w(se), null, {
1586
- toggler: R(({ toggle: d, dropdownState: i }) => [
131
+ D(w(p), null, {
132
+ toggler: I(({ toggle: s, dropdownState: n }) => [
1587
133
  o("div", null, [
1588
134
  o("button", {
1589
- class: B(["nav__text gap-3xs flex items-center align-middle tracking-wider outline-none", C(e.menuTextSize, e.menuTextColor, e.menuTextBold)]),
1590
- onClick: (f) => (d(f), p(f, e.navItem.title, i))
135
+ class: y(["nav__text flex items-center gap-3xs align-middle tracking-wider outline-none", f(e.menuTextSize, e.menuTextColor, e.menuTextBold)]),
136
+ onClick: (m) => (s(m), x(m, e.navItem.title, n))
1591
137
  }, [
1592
- o("span", null, G(e.navItem.title), 1),
1593
- (n(), u("svg", {
138
+ o("span", null, M(e.navItem.title), 1),
139
+ (r(), d("svg", {
1594
140
  xmlns: "http://www.w3.org/2000/svg",
1595
141
  viewBox: "0 0 448 512",
1596
- class: B(["h-[0.8rem] fill-current", [
1597
- i ? "rotate-180" : "rotate-0",
142
+ class: y(["h-[0.8rem] fill-current", [
143
+ n ? "rotate-180" : "rotate-0",
1598
144
  "transition-transform duration-300 ease-in"
1599
145
  ]])
1600
- }, [...s[2] || (s[2] = [
146
+ }, [...a[2] || (a[2] = [
1601
147
  o("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)
1602
148
  ])], 2))
1603
- ], 10, Ae),
1604
- e.displayHighlight ? (n(), u("div", {
149
+ ], 10, ce),
150
+ e.showHighlight ? (r(), d("div", {
1605
151
  key: 0,
1606
- class: B(["nav__decorator relative -top-0.5 h-1.5", w(r)("BEFOREBG", e.highlightColor)])
1607
- }, null, 2)) : A("", !0)
152
+ class: y([
153
+ "nav__decorator relative -top-0.5 h-1.5",
154
+ w(t).beforeBgColorVariant({ color: e.highlightColor })
155
+ ])
156
+ }, null, 2)) : $("", !0)
1608
157
  ])
1609
158
  ]),
1610
- default: R(() => [
1611
- M(w(ie), { className: "border drop-shadow-sm" }, {
1612
- default: R(({ itemClick: d }) => [
1613
- (n(!0), u(N, null, X(e.navItem.children, (i, f) => (n(), u("a", {
1614
- href: i.url,
1615
- target: i.target,
1616
- key: f,
159
+ default: I(() => [
160
+ D(w(_), { "custom-class": "border drop-shadow-sm" }, {
161
+ default: I(({ itemClick: s }) => [
162
+ (r(!0), d(N, null, j(e.navItem.children, (n, m) => (r(), d("a", {
163
+ href: n.url,
164
+ target: n.target,
165
+ key: m,
1617
166
  ref_for: !0,
1618
167
  ref_key: "navItemRef",
1619
- ref: m,
1620
- class: B(["px-xs py-2xs block w-full transition-all duration-200 ease-linear hover:bg-opacity-50 focus:bg-opacity-50", [
1621
- w(r)("BGCOLOR", e.bgColor),
1622
- w(r)("HVBGCOLOR", e.highlightColor),
1623
- w(r)("FCBGCOLOR", e.highlightColor),
1624
- w(r)("TEXTCOLOR", e.menuTextColor),
1625
- w(r)("BODYTEXT", e.menuTextSize)
168
+ ref: C,
169
+ class: y(["block w-full px-xs py-2xs transition-all duration-200 ease-linear hover:bg-opacity-50 focus:bg-opacity-50", [
170
+ w(t).bgColorVariant({ color: e.bgColor }),
171
+ w(t).hoverBgColorVariant({ color: e.highlightColor }),
172
+ w(t).focusBgColorVariant({ color: e.highlightColor }),
173
+ w(t).textColorVariant({ color: e.menuTextColor }),
174
+ w(t).bodyTextVariant({ size: e.menuTextSize })
1626
175
  ]]),
1627
- onClick: (v) => (d(), y(v, i))
1628
- }, G(i.title), 11, Ee))), 128))
176
+ onClick: (i) => (s(), v(i, n))
177
+ }, M(n.title), 11, ue))), 128))
1629
178
  ]),
1630
179
  _: 1
1631
180
  })
@@ -1634,47 +183,47 @@ const me = (e, t) => {
1634
183
  })
1635
184
  ], 32));
1636
185
  }
1637
- }), Se = /* @__PURE__ */ F(De, [["__scopeId", "data-v-f1056ea0"]]), He = ["href", "target", "innerHTML"], Ge = /* @__PURE__ */ S({
186
+ }), he = /* @__PURE__ */ F(de, [["__scopeId", "data-v-1a311f8c"]]), fe = ["href", "target", "innerHTML"], me = /* @__PURE__ */ R({
1638
187
  __name: "NavLink",
1639
188
  props: {
1640
189
  navItem: {},
1641
190
  menuTextSize: { default: "md" },
1642
191
  menuTextColor: { default: "dark-3" },
1643
192
  menuTextBold: { type: Boolean, default: !1 },
1644
- displayHighlight: { type: Boolean, default: !0 },
193
+ showHighlight: { type: Boolean, default: !0 },
1645
194
  highlightColor: { default: "primary" },
1646
195
  asLink: { type: Boolean, default: !0 }
1647
196
  },
1648
197
  emits: ["nav-link"],
1649
- setup(e, { emit: t }) {
1650
- const a = e, b = t, c = (C, x, p) => {
1651
- const y = [
1652
- r("BODYTEXT", C),
1653
- r("TEXTCOLOR", x)
198
+ setup(e, { emit: L }) {
199
+ const T = e, k = L, g = (f, c, x) => {
200
+ const v = [
201
+ t.bodyTextVariant({ size: f }),
202
+ t.textColorVariant({ color: c })
1654
203
  ];
1655
- return p && y.push("font-bold"), y.join(" ");
1656
- }, m = (C, x) => {
1657
- const { asLink: p } = a;
1658
- !p && C.preventDefault(), b("nav-link", C, x);
204
+ return x && v.push("font-bold"), v.join(" ");
205
+ }, C = (f, c) => {
206
+ const { asLink: x } = T;
207
+ !x && f.preventDefault(), k("nav-link", f, c);
1659
208
  };
1660
- return (C, x) => (n(), u("div", null, [
209
+ return (f, c) => (r(), d("div", null, [
1661
210
  o("a", {
1662
211
  href: e.navItem.url,
1663
212
  target: e.navItem.target,
1664
213
  innerHTML: e.navItem.title,
1665
- class: B(["nav__text tracking-wider outline-none", c(e.menuTextSize, e.menuTextColor, e.menuTextBold)]),
1666
- onClick: x[0] || (x[0] = (p) => m(p, e.navItem))
1667
- }, null, 10, He),
1668
- e.displayHighlight ? (n(), u("div", {
214
+ class: y(["nav__text tracking-wider outline-none", g(e.menuTextSize, e.menuTextColor, e.menuTextBold)]),
215
+ onClick: c[0] || (c[0] = (x) => C(x, e.navItem))
216
+ }, null, 10, fe),
217
+ e.showHighlight ? (r(), d("div", {
1669
218
  key: 0,
1670
- class: B(["nav__decorator relative -top-0.5 h-1.5", w(r)("BEFOREBG", e.highlightColor)])
1671
- }, null, 2)) : A("", !0)
219
+ class: y(["nav__decorator relative -top-0.5 h-1.5", w(t).beforeBgColorVariant({ color: e.highlightColor })])
220
+ }, null, 2)) : $("", !0)
1672
221
  ]));
1673
222
  }
1674
- }), U = /* @__PURE__ */ F(Ge, [["__scopeId", "data-v-d99c76b1"]]), Ne = { class: "flex flex-shrink-0 items-center self-center" }, Xe = { class: "h-md md:h-lg lg:h-xl mr-2xs md:mr-sm align-middle" }, ze = ["href", "target"], We = ["src", "alt"], $e = ["src", "alt"], Me = { class: "flex flex-col justify-center ml-2" }, Fe = ["href", "target"], Ye = ["innerHTML"], Pe = { class: "hidden lg:flex flex-wrap" }, je = {
223
+ }), U = /* @__PURE__ */ F(me, [["__scopeId", "data-v-d390be01"]]), ge = { class: "flex flex-shrink-0 items-center self-center" }, ke = { class: "mr-2xs h-md align-middle md:mr-sm md:h-lg lg:h-xl" }, xe = ["href", "target"], Ce = ["src", "alt"], ve = ["src", "alt"], be = { class: "ml-2 flex flex-col justify-center" }, ye = ["href", "target"], we = ["innerHTML"], Te = { class: "hidden flex-wrap lg:flex" }, Be = {
1675
224
  key: 0,
1676
225
  class: "hidden lg:block"
1677
- }, Ue = { class: "flex flex-col items-center justify-center p-xs" }, Ke = { key: 0 }, kt = /* @__PURE__ */ S({
226
+ }, Le = { class: "flex flex-col items-center justify-center p-xs" }, Ie = { key: 0 }, Xe = /* @__PURE__ */ R({
1678
227
  __name: "MclHeaderA",
1679
228
  props: {
1680
229
  logo: {},
@@ -1691,161 +240,164 @@ const me = (e, t) => {
1691
240
  menuTextSize: { default: "md" },
1692
241
  menuTextColor: { default: "dark-3" },
1693
242
  menuTextBold: { type: Boolean, default: !1 },
1694
- displayHighlight: { type: Boolean, default: !0 },
243
+ showHighlight: { type: Boolean, default: !0 },
1695
244
  highlightColor: { default: "primary" },
1696
245
  bgColor: { default: "light-1" },
1697
246
  mobileMenuBgColor: { default: "light-2" },
1698
247
  drawerBtnColor: { default: "dark-1" },
1699
- drawerBtnBorder: { type: Boolean, default: !0 },
248
+ showDrawerBorder: { type: Boolean, default: !0 },
1700
249
  fadeInOnScroll: { type: Boolean, default: !0 },
1701
250
  scrollDistance: { default: 50 }
1702
251
  },
1703
252
  emits: ["toggle-drawer", "title-click", "menu-click", "collapse-click"],
1704
- setup(e, { expose: t, emit: a }) {
1705
- const b = e, c = D(), m = Q(), C = a, x = () => {
1706
- c.value?.headerClose();
1707
- }, p = (i) => {
1708
- const { titleBlockAsLink: f, titleBlockLink: v, titleBlockLinkTarget: l } = b;
1709
- f || i.preventDefault(), C("title-click", i, v, l), x();
1710
- }, y = (i, f) => {
1711
- const { menuItemAsLink: v } = b;
1712
- v || i.preventDefault(), C("menu-click", i, f), x();
1713
- }, T = (i, f, v) => {
1714
- C("collapse-click", i, f, v);
1715
- }, s = (i, f) => [
1716
- r("H2", i),
1717
- r("TEXTCOLOR", f)
1718
- ].join(" "), d = (i) => {
1719
- const f = i;
1720
- return typeof f.children > "u" ? !1 : f.children.length > 0;
253
+ setup(e, { expose: L, emit: T }) {
254
+ const k = e, g = H(), C = P(), f = T, c = () => {
255
+ g.value?.headerClose();
256
+ }, x = (n) => {
257
+ const { titleBlockAsLink: m, titleBlockLink: i, titleBlockLinkTarget: l } = k;
258
+ m || n.preventDefault(), f("title-click", n, i, l), c();
259
+ }, v = (n, m) => {
260
+ const { menuItemAsLink: i } = k;
261
+ i || n.preventDefault(), f("menu-click", n, m), c();
262
+ }, b = (n, m, i) => {
263
+ f("collapse-click", n, m, i);
264
+ }, a = (n, m) => [
265
+ t.h2Variant({ size: n }),
266
+ t.textColorVariant({ color: m })
267
+ ].join(" "), s = (n) => {
268
+ const m = n;
269
+ return typeof m.children > "u" ? !1 : m.children.length > 0;
1721
270
  };
1722
- return t({
1723
- headerClose: x
1724
- }), (i, f) => (n(), V(w(oe), {
271
+ return L({
272
+ headerClose: c
273
+ }), (n, m) => (r(), V(w(ee), {
1725
274
  ref_key: "componentRef",
1726
- ref: c,
275
+ ref: g,
1727
276
  "bg-color": e.bgColor,
1728
- "drawer-btn-border": e.drawerBtnBorder,
277
+ "drawer-btn-border": e.showDrawerBorder,
1729
278
  "drawer-btn-color": e.drawerBtnColor,
1730
279
  "fade-in-on-scroll": e.fadeInOnScroll,
1731
280
  "mobile-menu-bg-color": e.mobileMenuBgColor
1732
281
  }, {
1733
- content: R(() => [
1734
- o("div", Ne, [
1735
- o("div", Xe, [
282
+ content: I(() => [
283
+ o("div", ge, [
284
+ o("div", ke, [
1736
285
  o("a", {
1737
286
  href: e.titleBlockLink,
1738
287
  target: e.titleBlockLinkTarget,
1739
- onClick: p
288
+ onClick: x
1740
289
  }, [
1741
290
  o("img", {
1742
291
  src: e.logo,
1743
292
  alt: e.logoAlt,
1744
- class: B(["h-full", [e.logoSmall ? "hidden lg:inline-block" : "inline-block"]])
1745
- }, null, 10, We),
1746
- e.logoSmall ? (n(), u("img", {
293
+ class: y(["h-full", [e.logoSmall ? "hidden lg:inline-block" : "inline-block"]])
294
+ }, null, 10, Ce),
295
+ e.logoSmall ? (r(), d("img", {
1747
296
  key: 0,
1748
297
  src: e.logoSmall,
1749
298
  alt: e.logoAlt,
1750
- class: "inline-block lg:hidden h-full"
1751
- }, null, 8, $e)) : A("", !0)
1752
- ], 8, ze)
299
+ class: "inline-block h-full lg:hidden"
300
+ }, null, 8, ve)) : $("", !0)
301
+ ], 8, xe)
1753
302
  ]),
1754
- o("div", Me, [
303
+ o("div", be, [
1755
304
  o("a", {
1756
305
  href: e.titleBlockLink,
1757
306
  target: e.titleBlockLinkTarget,
1758
- onClick: p
307
+ onClick: x
1759
308
  }, [
1760
309
  o("h2", {
1761
- class: B(["inline-block align-middle tracking-wider", s(e.titleSize, e.titleColor)]),
310
+ class: y(["inline-block align-middle tracking-wider", a(e.titleSize, e.titleColor)]),
1762
311
  innerHTML: e.title
1763
- }, null, 10, Ye)
1764
- ], 8, Fe),
1765
- o("ul", Pe, [
1766
- (n(!0), u(N, null, X(e.menuItems, (v, l) => (n(), u("li", {
312
+ }, null, 10, we)
313
+ ], 8, ye),
314
+ o("ul", Te, [
315
+ (r(!0), d(N, null, j(e.menuItems, (i, l) => (r(), d("li", {
1767
316
  class: "mr-xs last:mr-0",
1768
317
  key: `menu-${l}`
1769
318
  }, [
1770
- d(v) ? (n(), V(Se, {
319
+ s(i) ? (r(), V(he, {
1771
320
  key: 1,
1772
- "nav-item": v,
321
+ "nav-item": i,
1773
322
  "menu-text-color": e.menuTextColor,
1774
323
  "menu-text-size": e.menuTextSize,
1775
324
  "menu-text-bold": e.menuTextBold,
1776
- "display-highlight": e.displayHighlight,
325
+ "display-highlight": e.showHighlight,
1777
326
  "highlight-color": e.highlightColor,
1778
327
  "bg-color": e.bgColor,
1779
328
  "as-link": e.menuItemAsLink,
1780
- onChildClick: y,
1781
- onLabelClick: T
1782
- }, null, 8, ["nav-item", "menu-text-color", "menu-text-size", "menu-text-bold", "display-highlight", "highlight-color", "bg-color", "as-link"])) : (n(), V(U, {
329
+ onChildClick: v,
330
+ onLabelClick: b
331
+ }, null, 8, ["nav-item", "menu-text-color", "menu-text-size", "menu-text-bold", "display-highlight", "highlight-color", "bg-color", "as-link"])) : (r(), V(U, {
1783
332
  key: 0,
1784
- "nav-item": v,
333
+ "nav-item": i,
1785
334
  "menu-text-color": e.menuTextColor,
1786
335
  "menu-text-size": e.menuTextSize,
1787
336
  "menu-text-bold": e.menuTextBold,
1788
- "display-highlight": e.displayHighlight,
337
+ "display-highlight": e.showHighlight,
1789
338
  "highlight-color": e.highlightColor,
1790
339
  "as-link": e.menuItemAsLink,
1791
- onNavLink: y
340
+ onNavLink: v
1792
341
  }, null, 8, ["nav-item", "menu-text-color", "menu-text-size", "menu-text-bold", "display-highlight", "highlight-color", "as-link"]))
1793
342
  ]))), 128))
1794
343
  ])
1795
344
  ])
1796
345
  ])
1797
346
  ]),
1798
- "content-right": R(() => [
1799
- m["content-right"] ? (n(), u("div", je, [
1800
- $(i.$slots, "content-right")
1801
- ])) : A("", !0)
347
+ "content-right": I(() => [
348
+ C["content-right"] ? (r(), d("div", Be, [
349
+ E(n.$slots, "content-right")
350
+ ])) : $("", !0)
1802
351
  ]),
1803
- "mobile-content": R(() => [
352
+ "mobile-content": I(() => [
1804
353
  o("div", null, [
1805
- o("ul", Ue, [
1806
- (n(!0), u(N, null, X(e.menuItems, (v, l) => (n(), u("li", {
1807
- class: "mb-2xs last:mb-0",
1808
- key: `mobile-${l}`
1809
- }, [
1810
- d(v) ? (n(), V(Ie, {
1811
- key: 1,
1812
- "nav-id": v.title,
1813
- "nav-item": v,
1814
- "menu-text-color": e.menuTextColor,
1815
- "menu-text-size": e.menuTextSize,
1816
- "menu-text-bold": e.menuTextBold,
1817
- "display-highlight": e.displayHighlight,
1818
- "highlight-color": e.highlightColor,
1819
- "nav-accordion-group": e.title,
1820
- "as-link": e.menuItemAsLink,
1821
- onChildClick: y,
1822
- onLabelClick: T
1823
- }, null, 8, ["nav-id", "nav-item", "menu-text-color", "menu-text-size", "menu-text-bold", "display-highlight", "highlight-color", "nav-accordion-group", "as-link"])) : (n(), V(U, {
1824
- key: 0,
1825
- "nav-item": v,
1826
- "menu-text-color": e.menuTextColor,
1827
- "menu-text-size": e.menuTextSize,
1828
- "menu-text-bold": e.menuTextBold,
1829
- "display-highlight": e.displayHighlight,
1830
- "highlight-color": e.highlightColor,
1831
- "as-link": e.menuItemAsLink,
1832
- onNavLink: y
1833
- }, null, 8, ["nav-item", "menu-text-color", "menu-text-size", "menu-text-bold", "display-highlight", "highlight-color", "as-link"]))
1834
- ]))), 128))
1835
- ]),
1836
- m["mobile-bottom"] ? (n(), u("div", Ke, [
1837
- $(i.$slots, "mobile-bottom", { headerClose: x })
1838
- ])) : A("", !0)
354
+ D(w(W), null, {
355
+ default: I(() => [
356
+ o("ul", Le, [
357
+ (r(!0), d(N, null, j(e.menuItems, (i, l) => (r(), d("li", {
358
+ class: "mb-2xs last:mb-0",
359
+ key: `mobile-${l}`
360
+ }, [
361
+ s(i) ? (r(), V(se, {
362
+ key: 1,
363
+ "nav-id": i.title,
364
+ "nav-item": i,
365
+ "menu-text-color": e.menuTextColor,
366
+ "menu-text-size": e.menuTextSize,
367
+ "menu-text-bold": e.menuTextBold,
368
+ "display-highlight": e.showHighlight,
369
+ "highlight-color": e.highlightColor,
370
+ "as-link": e.menuItemAsLink,
371
+ onChildClick: v,
372
+ onLabelClick: b
373
+ }, null, 8, ["nav-id", "nav-item", "menu-text-color", "menu-text-size", "menu-text-bold", "display-highlight", "highlight-color", "as-link"])) : (r(), V(U, {
374
+ key: 0,
375
+ "nav-item": i,
376
+ "menu-text-color": e.menuTextColor,
377
+ "menu-text-size": e.menuTextSize,
378
+ "menu-text-bold": e.menuTextBold,
379
+ "display-highlight": e.showHighlight,
380
+ "highlight-color": e.highlightColor,
381
+ "as-link": e.menuItemAsLink,
382
+ onNavLink: v
383
+ }, null, 8, ["nav-item", "menu-text-color", "menu-text-size", "menu-text-bold", "display-highlight", "highlight-color", "as-link"]))
384
+ ]))), 128))
385
+ ])
386
+ ]),
387
+ _: 1
388
+ }),
389
+ C["mobile-bottom"] ? (r(), d("div", Ie, [
390
+ E(n.$slots, "mobile-bottom", { headerClose: c })
391
+ ])) : $("", !0)
1839
392
  ])
1840
393
  ]),
1841
394
  _: 3
1842
395
  }, 8, ["bg-color", "drawer-btn-border", "drawer-btn-color", "fade-in-on-scroll", "mobile-menu-bg-color"]));
1843
396
  }
1844
- }), qe = { class: "relative flex items-center justify-center gap-2" }, Je = ["href", "target", "onClick"], Qe = { class: "relative" }, K = /* @__PURE__ */ S({
397
+ }), ze = { class: "relative flex items-center justify-center gap-2" }, Ve = ["href", "target", "onClick"], $e = { class: "relative" }, q = /* @__PURE__ */ R({
1845
398
  __name: "NavCollapseVertical",
1846
399
  props: {
1847
400
  navId: {},
1848
- navAccordionGroup: {},
1849
401
  navLocation: {},
1850
402
  menuItem: {},
1851
403
  textColor: { default: "dark-3" },
@@ -1856,131 +408,133 @@ const me = (e, t) => {
1856
408
  asLink: { type: Boolean, default: !0 }
1857
409
  },
1858
410
  emits: ["label-click", "child-click"],
1859
- setup(e, { expose: t, emit: a }) {
1860
- const b = e, c = D(!1), m = D(), C = a, x = (l) => {
1861
- c.value = l;
1862
- }, p = () => {
1863
- m.value?.close();
1864
- }, y = (l, g) => {
1865
- C("label-click", l, g, c.value);
1866
- }, T = (l, g) => {
1867
- const { asLink: h } = b;
1868
- h || l.preventDefault(), C("child-click", l, g), m.value?.close(), p();
1869
- }, s = O(() => {
1870
- const { navId: l, navLocation: g } = b, k = l.toLowerCase().replaceAll(" ", "-");
1871
- return `nav-${g}-${k}`;
1872
- }), d = O(() => {
1873
- const { navAccordionGroup: l, navLocation: g } = b, h = l.toLowerCase().replaceAll(" ", "-");
1874
- return `nav-accordion-group-${g}-${h}`;
1875
- }), i = O(() => {
1876
- const { textColor: l, textSize: g, dHl: h, hlColor: k, fontBold: I } = b, L = [r("BODYTEXT", g)];
1877
- if (!h) {
1878
- const z = [
1879
- r("TEXTCOLOR", l),
1880
- r("HVTEXTCOLOR", k),
1881
- r("FCTEXTCOLOR", k)
411
+ setup(e, { expose: L, emit: T }) {
412
+ const k = e, g = H(!1), C = H(), f = T, c = (i) => {
413
+ g.value = i;
414
+ }, x = () => {
415
+ C.value?.close();
416
+ }, v = (i, l) => {
417
+ C.value?.toggle(), f("label-click", i, l, g.value);
418
+ }, b = (i, l) => {
419
+ const { asLink: u } = k;
420
+ u || i.preventDefault(), f("child-click", i, l), C.value?.close(), x();
421
+ }, a = S(() => {
422
+ const { navId: i, navLocation: l } = k, h = i.toLowerCase().replaceAll(" ", "-");
423
+ return `nav-${l}-${h}`;
424
+ }), s = S(() => {
425
+ const { textColor: i, textSize: l, dHl: u, hlColor: h, fontBold: B } = k, z = [
426
+ t.bodyTextVariant({ size: l })
427
+ ];
428
+ if (!u) {
429
+ const K = [
430
+ t.textColorVariant({ color: i }),
431
+ t.hoverTextColorVariant({ color: h }),
432
+ t.focusTextColorVariant({ color: h })
1882
433
  ];
1883
- L.push(z.join(" "));
434
+ z.push(K.join(" "));
1884
435
  }
1885
- if (h) {
1886
- const z = r("BEFOREBG", k);
1887
- L.push("before:inset-y-0 before:left-0 before:transition-[width] before:duration-300 before:ease-linear before:w-0 hover:before:w-full focus:before:w-full " + z);
1888
- const W = [
1889
- r("TEXTCOLOR", k),
1890
- r("HVTEXTCOLOR", l),
1891
- r("FCTEXTCOLOR", l)
436
+ if (u) {
437
+ const K = t.beforeBgColorVariant({
438
+ color: h
439
+ });
440
+ z.push("before:inset-y-0 before:left-0 before:transition-[width] before:duration-300 before:ease-linear before:w-0 hover:before:w-full focus:before:w-full " + K);
441
+ const O = [
442
+ t.textColorVariant({ color: h }),
443
+ t.hoverTextColorVariant({ color: i }),
444
+ t.focusTextColorVariant({ color: i })
1892
445
  ];
1893
- L.push(W.join(" "));
446
+ z.push(O.join(" "));
1894
447
  }
1895
- return I && L.push("font-bold"), L.join(" ");
1896
- }), f = O(() => {
1897
- const { dHl: l, hlColor: g, navLocation: h } = b, k = [];
1898
- if (!l)
448
+ return B && z.push("font-bold"), z.join(" ");
449
+ }), n = S(() => {
450
+ const { dHl: i, hlColor: l, navLocation: u } = k, h = [];
451
+ if (!i)
1899
452
  return "";
1900
- const I = "before:absolute before:w-xs before:h-full before:bg-primary before:bg-opacity-70 ", L = h === "desktop" ? "before:left-0 " : "before:right-0 ";
1901
- return k.push(I + L + r("BEFOREBG", g)), k.join(" ");
1902
- }), v = O(() => {
1903
- const { textColor: l, textSize: g, dHl: h, hlColor: k, fontBold: I, navLocation: L } = b;
1904
- let z = g === "xl" ? "lg" : g === "lg" ? "md" : g === "md" ? "sm" : "xs";
1905
- const H = [
1906
- r("TEXTCOLOR", l),
1907
- r("BODYTEXT", z)
453
+ const B = "before:absolute before:w-xs before:h-full before:mcl-bg-primary before:bg-opacity-70 ", z = u === "desktop" ? "before:left-0 " : "before:right-0 ";
454
+ return h.push(
455
+ B + z + t.beforeBgColorVariant({ color: l })
456
+ ), h.join(" ");
457
+ }), m = S(() => {
458
+ const { textColor: i, textSize: l, dHl: u, hlColor: h, fontBold: B, navLocation: z } = k;
459
+ let K = l === "xl" ? "lg" : l === "lg" ? "md" : l === "md" ? "sm" : "xs";
460
+ const A = [
461
+ t.textColorVariant({ color: i }),
462
+ t.bodyTextVariant({ size: K })
1908
463
  ];
1909
- if (L === "mobile" && H.push("text-end"), !h) {
1910
- const W = [
1911
- r("TEXTCOLOR", l),
1912
- r("HVTEXTCOLOR", k),
1913
- r("FCTEXTCOLOR", k)
464
+ if (z === "mobile" && A.push("text-end"), !u) {
465
+ const O = [
466
+ t.textColorVariant({ color: i }),
467
+ t.hoverTextColorVariant({ color: h }),
468
+ t.focusTextColorVariant({ color: h })
1914
469
  ];
1915
- H.push(W.join(" "));
470
+ A.push(O.join(" "));
1916
471
  }
1917
- if (h) {
1918
- const W = r("BEFOREBG", k), te = "before:inset-y-0 before:duration-300 before:ease-linear before:w-0 hover:before:w-full focus:before:w-full before:bg-opacity-70 ", le = L === "desktop" ? "before:left-0 before:transition-[width] " : "before:left-full hover:before:left-0 focus:before:left-0 before:transition-[all] ";
1919
- H.push(te + le + W);
1920
- const re = [
1921
- r("TEXTCOLOR", k),
1922
- r("HVTEXTCOLOR", l),
1923
- r("FCTEXTCOLOR", l)
472
+ if (u) {
473
+ const O = t.beforeBgColorVariant({
474
+ color: h
475
+ }), X = "before:inset-y-0 before:duration-300 before:ease-linear before:w-0 hover:before:w-full focus:before:w-full before:bg-opacity-70 ", Y = z === "desktop" ? "before:left-0 before:transition-[width] " : "before:left-full hover:before:left-0 focus:before:left-0 before:transition-[all] ";
476
+ A.push(X + Y + O);
477
+ const Z = [
478
+ t.textColorVariant({ color: h }),
479
+ t.hoverTextColorVariant({ color: i }),
480
+ t.focusTextColorVariant({ color: i })
1924
481
  ];
1925
- H.push(re.join(" "));
482
+ A.push(Z.join(" "));
1926
483
  }
1927
- return I && H.push("font-bold"), H.join(" ");
484
+ return B && A.push("font-bold"), A.join(" ");
1928
485
  });
1929
- return t({
1930
- closeCollapse: p
1931
- }), (l, g) => (n(), u("div", null, [
1932
- J((n(), u("button", {
1933
- class: B(["px-xs py-2xs relative block w-full text-center transition-colors duration-300 ease-linear before:absolute", [i.value]]),
1934
- onClick: g[0] || (g[0] = (h) => y(h, e.menuItem.title))
486
+ return L({
487
+ closeCollapse: x
488
+ }), (i, l) => (r(), d("div", null, [
489
+ o("button", {
490
+ class: y(["relative block w-full px-xs py-2xs text-center transition-colors duration-300 ease-linear before:absolute", [s.value]]),
491
+ onClick: l[0] || (l[0] = (u) => v(u, e.menuItem.title))
1935
492
  }, [
1936
- o("div", qe, [
1937
- o("span", null, G(e.menuItem.title), 1),
1938
- (n(), u("svg", {
493
+ o("div", ze, [
494
+ o("span", null, M(e.menuItem.title), 1),
495
+ (r(), d("svg", {
1939
496
  xmlns: "http://www.w3.org/2000/svg",
1940
497
  viewBox: "0 0 448 512",
1941
- class: B(["h-[0.8rem] fill-current", [
1942
- c.value ? "rotate-180" : "rotate-0",
498
+ class: y(["h-[0.8rem] fill-current", [
499
+ g.value ? "rotate-180" : "rotate-0",
1943
500
  "transition-transform duration-300 ease-in"
1944
501
  ]])
1945
- }, [...g[1] || (g[1] = [
502
+ }, [...l[1] || (l[1] = [
1946
503
  o("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)
1947
504
  ])], 2))
1948
505
  ])
1949
- ], 2)), [
1950
- [w(ee), void 0, s.value]
1951
- ]),
1952
- M(w(Z), {
506
+ ], 2),
507
+ D(w(Q), {
1953
508
  ref_key: "collapseRef",
1954
- ref: m,
1955
- id: s.value,
1956
- accordion: d.value,
1957
- onOpen: x,
1958
- onClose: x
509
+ ref: C,
510
+ id: a.value,
511
+ onOpen: c,
512
+ onClose: c
1959
513
  }, {
1960
- default: R(() => [
514
+ default: I(() => [
1961
515
  o("ul", {
1962
- class: B(["relative", [f.value]])
516
+ class: y(["relative", [n.value]])
1963
517
  }, [
1964
- (n(!0), u(N, null, X(e.menuItem.children, (h, k) => (n(), u("li", {
1965
- key: k,
1966
- class: B([e.navLocation === "desktop" ? "ml-xs" : "mr-xs"])
518
+ (r(!0), d(N, null, j(e.menuItem.children, (u, h) => (r(), d("li", {
519
+ key: h,
520
+ class: y([e.navLocation === "desktop" ? "ml-xs" : "mr-xs"])
1967
521
  }, [
1968
522
  o("a", {
1969
- href: h.url,
1970
- target: h.target,
1971
- onClick: (I) => T(I, h),
1972
- class: B(["px-2xs py-3xs relative block w-full overflow-x-hidden transition-colors duration-300 ease-linear before:absolute", [v.value]])
523
+ href: u.url,
524
+ target: u.target,
525
+ onClick: (B) => b(B, u),
526
+ class: y(["relative block w-full overflow-x-hidden px-2xs py-3xs transition-colors duration-300 ease-linear before:absolute", [m.value]])
1973
527
  }, [
1974
- o("span", Qe, G(h.title), 1)
1975
- ], 10, Je)
528
+ o("span", $e, M(u.title), 1)
529
+ ], 10, Ve)
1976
530
  ], 2))), 128))
1977
531
  ], 2)
1978
532
  ]),
1979
533
  _: 1
1980
- }, 8, ["id", "accordion"])
534
+ }, 8, ["id"])
1981
535
  ]));
1982
536
  }
1983
- }), Ze = ["href", "target"], _e = { class: "relative" }, q = /* @__PURE__ */ S({
537
+ }), He = ["href", "target"], Ae = { class: "relative" }, J = /* @__PURE__ */ R({
1984
538
  __name: "NavLinkVertical",
1985
539
  props: {
1986
540
  menuItem: {},
@@ -1992,42 +546,46 @@ const me = (e, t) => {
1992
546
  asLink: { type: Boolean, default: !0 }
1993
547
  },
1994
548
  emits: ["menu-click"],
1995
- setup(e, { emit: t }) {
1996
- const a = e, b = t, c = (C, x) => {
1997
- const { asLink: p } = a;
1998
- p || C.preventDefault(), b("menu-click", C, x);
1999
- }, m = O(() => {
2000
- const { textColor: C, textSize: x, dHl: p, hlColor: y, fontBold: T } = a, s = [r("BODYTEXT", x)];
2001
- if (!p) {
2002
- const d = [
2003
- r("TEXTCOLOR", C),
2004
- r("HVTEXTCOLOR", y),
2005
- r("FCTEXTCOLOR", y)
549
+ setup(e, { emit: L }) {
550
+ const T = e, k = L, g = (f, c) => {
551
+ const { asLink: x } = T;
552
+ x || f.preventDefault(), k("menu-click", f, c);
553
+ }, C = S(() => {
554
+ const { textColor: f, textSize: c, dHl: x, hlColor: v, fontBold: b } = T, a = [
555
+ t.bodyTextVariant({ size: c })
556
+ ];
557
+ if (!x) {
558
+ const s = [
559
+ t.textColorVariant({ color: f }),
560
+ t.hoverTextColorVariant({ color: v }),
561
+ t.focusTextColorVariant({ color: v })
2006
562
  ];
2007
- s.push(d.join(" "));
563
+ a.push(s.join(" "));
2008
564
  }
2009
- if (p) {
2010
- const d = r("BEFOREBG", y);
2011
- s.push("before:inset-y-0 before:left-0 before:transition-[width] before:duration-300 before:ease-linear before:w-0 hover:before:w-full focus:before:w-full " + d);
2012
- const f = [
2013
- r("TEXTCOLOR", y),
2014
- r("HVTEXTCOLOR", C),
2015
- r("FCTEXTCOLOR", C)
565
+ if (x) {
566
+ const s = t.beforeBgColorVariant({
567
+ color: v
568
+ });
569
+ a.push("before:inset-y-0 before:left-0 before:transition-[width] before:duration-300 before:ease-linear before:w-0 hover:before:w-full focus:before:w-full " + s);
570
+ const m = [
571
+ t.textColorVariant({ color: v }),
572
+ t.hoverTextColorVariant({ color: f }),
573
+ t.focusTextColorVariant({ color: f })
2016
574
  ];
2017
- s.push(f.join(" "));
575
+ a.push(m.join(" "));
2018
576
  }
2019
- return T && s.push("font-bold"), s.join(" ");
577
+ return b && a.push("font-bold"), a.join(" ");
2020
578
  });
2021
- return (C, x) => (n(), u("a", {
2022
- class: B([[m.value], "px-xs py-2xs relative text-center block w-full before:absolute transition-colors duration-300 ease-linear"]),
579
+ return (f, c) => (r(), d("a", {
580
+ class: y([[C.value], "relative block w-full px-xs py-2xs text-center transition-colors duration-300 ease-linear before:absolute"]),
2023
581
  href: e.menuItem.url,
2024
582
  target: e.menuItem.target ? e.menuItem.target : "_self",
2025
- onClick: x[0] || (x[0] = (p) => c(p, e.menuItem))
583
+ onClick: c[0] || (c[0] = (x) => g(x, e.menuItem))
2026
584
  }, [
2027
- o("span", _e, G(e.menuItem.title), 1)
2028
- ], 10, Ze));
585
+ o("span", Ae, M(e.menuItem.title), 1)
586
+ ], 10, He));
2029
587
  }
2030
- }), et = { class: "p-md text-center" }, tt = ["href", "target"], lt = ["src", "alt"], rt = ["href", "target"], at = ["innerHTML"], st = { class: "flex flex-col" }, it = { key: 0 }, ot = { class: "flex flex-col justify-between h-full" }, nt = { class: "p-md text-center" }, dt = ["href", "target"], ct = ["src", "alt"], gt = ["href", "target"], ht = ["innerHTML"], ut = { class: "flex flex-col" }, bt = { key: 0 }, pt = /* @__PURE__ */ S({
588
+ }), Se = { class: "p-md text-center" }, Me = ["href", "target"], De = ["src", "alt"], Ne = ["href", "target"], je = ["innerHTML"], Re = { class: "flex flex-col" }, Ke = { key: 0 }, Oe = { class: "flex h-full flex-col justify-between" }, Ee = { class: "p-md text-center" }, We = ["href", "target"], Fe = ["src", "alt"], Ge = ["href", "target"], Ue = ["innerHTML"], qe = { class: "flex flex-col" }, Je = { key: 0 }, Ye = /* @__PURE__ */ R({
2031
589
  __name: "MclHeaderB",
2032
590
  props: {
2033
591
  logo: {},
@@ -2043,185 +601,193 @@ const me = (e, t) => {
2043
601
  menuTextSize: { default: "md" },
2044
602
  menuTextColor: { default: "dark-3" },
2045
603
  menuTextBold: { type: Boolean, default: !1 },
2046
- displayHighlight: { type: Boolean, default: !0 },
604
+ showHighlight: { type: Boolean, default: !0 },
2047
605
  highlightColor: { default: "primary" },
2048
606
  bgColor: { default: "light-1" },
2049
607
  drawerBtnColor: { default: "dark-1" },
2050
- drawerBtnBorder: { type: Boolean, default: !0 },
608
+ showDrawerBorder: { type: Boolean, default: !0 },
2051
609
  headerWidth: { default: 160 }
2052
610
  },
2053
611
  emits: ["toggle-drawer", "title-click", "menu-click", "collapse-click"],
2054
- setup(e, { expose: t, emit: a }) {
2055
- const b = e, c = Q(), m = a, C = D(), x = D(), p = (l, g) => {
2056
- m("toggle-drawer", l, g);
2057
- }, y = () => {
2058
- C.value?.headerClose();
2059
- }, T = () => {
2060
- for (let l = 0; l < x.value.length; l++)
2061
- x.value[l].closeCollapse();
2062
- }, s = (l) => {
2063
- const { titleBlockAsLink: g, titleBlockLink: h, titleBlockLinkTarget: k } = b;
2064
- g || l.preventDefault(), m("title-click", l, h, k), y(), T();
2065
- }, d = (l, g) => {
2066
- const { menuItemAsLink: h } = b;
2067
- h || l.preventDefault(), m("menu-click", l, g), y(), T();
2068
- }, i = (l, g, h) => {
2069
- m("collapse-click", l, g, h);
2070
- }, f = O(() => {
2071
- const { titleSize: l, titleColor: g } = b;
612
+ setup(e, { expose: L, emit: T }) {
613
+ const k = e, g = P(), C = T, f = H(), c = H(), x = (l, u) => {
614
+ C("toggle-drawer", l, u);
615
+ }, v = () => {
616
+ f.value?.headerClose();
617
+ }, b = () => {
618
+ for (let l = 0; l < c.value.length; l++)
619
+ c.value[l].closeCollapse();
620
+ }, a = (l) => {
621
+ const { titleBlockAsLink: u, titleBlockLink: h, titleBlockLinkTarget: B } = k;
622
+ u || l.preventDefault(), C("title-click", l, h, B), v(), b();
623
+ }, s = (l, u) => {
624
+ const { menuItemAsLink: h } = k;
625
+ h || l.preventDefault(), C("menu-click", l, u), v(), b();
626
+ }, n = (l, u, h) => {
627
+ C("collapse-click", l, u, h);
628
+ }, m = S(() => {
629
+ const { titleSize: l, titleColor: u } = k;
2072
630
  return [
2073
- r("H3", l),
2074
- r("TEXTCOLOR", g)
631
+ t.h3Variant({ size: l }),
632
+ t.textColorVariant({ color: u })
2075
633
  ].join(" ");
2076
- }), v = (l) => {
2077
- const g = l;
2078
- return typeof g.children > "u" ? !1 : g.children.length > 0;
634
+ }), i = (l) => {
635
+ const u = l;
636
+ return typeof u.children > "u" ? !1 : u.children.length > 0;
2079
637
  };
2080
- return t({
2081
- headerClose: y
2082
- }), (l, g) => (n(), V(w(ne), {
638
+ return L({
639
+ headerClose: v
640
+ }), (l, u) => (r(), V(w(te), {
2083
641
  "bg-color": e.bgColor,
2084
642
  "drawer-btn-color": e.drawerBtnColor,
2085
- "drawer-btn-border": e.drawerBtnBorder,
643
+ "drawer-btn-border": e.showDrawerBorder,
2086
644
  "header-width": e.headerWidth,
2087
- onToggleDrawer: p,
645
+ onToggleDrawer: x,
2088
646
  ref_key: "componentRef",
2089
- ref: C
647
+ ref: f
2090
648
  }, {
2091
- default: R(() => [
2092
- $(l.$slots, "default")
649
+ default: I(() => [
650
+ E(l.$slots, "default")
2093
651
  ]),
2094
- content: R(() => [
652
+ content: I(() => [
2095
653
  o("div", null, [
2096
- o("div", et, [
654
+ o("div", Se, [
2097
655
  o("a", {
2098
656
  href: e.titleBlockLink,
2099
657
  target: e.titleBlockLinkTarget,
2100
- onClick: s
658
+ onClick: a
2101
659
  }, [
2102
660
  o("img", {
2103
661
  src: e.logo,
2104
662
  alt: e.logoAlt,
2105
- class: "h-full inline-block max-h-xl"
2106
- }, null, 8, lt)
2107
- ], 8, tt)
663
+ class: "inline-block h-full max-h-xl"
664
+ }, null, 8, De)
665
+ ], 8, Me)
2108
666
  ]),
2109
667
  o("div", null, [
2110
668
  o("a", {
2111
669
  href: e.titleBlockLink,
2112
670
  target: e.titleBlockLinkTarget,
2113
- onClick: s
671
+ onClick: a
2114
672
  }, [
2115
673
  o("h3", {
2116
- class: B([f.value, "text-center mb-md"]),
674
+ class: y([m.value, "mb-md text-center"]),
2117
675
  innerHTML: e.title
2118
- }, null, 10, at)
2119
- ], 8, rt)
676
+ }, null, 10, je)
677
+ ], 8, Ne)
2120
678
  ]),
2121
- o("ul", st, [
2122
- (n(!0), u(N, null, X(e.menuItems, (h, k) => (n(), u("li", {
2123
- key: `menu-${k}`
2124
- }, [
2125
- v(h) ? (n(), V(K, {
2126
- key: 1,
2127
- ref_for: !0,
2128
- ref_key: "collapseRef",
2129
- ref: x,
2130
- "nav-id": h.title,
2131
- "nav-location": "desktop",
2132
- "nav-accordion-group": e.title,
2133
- "menu-item": h,
2134
- "as-link": e.menuItemAsLink,
2135
- "text-color": e.menuTextColor,
2136
- "text-size": e.menuTextSize,
2137
- "font-bold": e.menuTextBold,
2138
- "d-hl": e.displayHighlight,
2139
- "hl-color": e.highlightColor,
2140
- onChildClick: d,
2141
- onLabelClick: i
2142
- }, null, 8, ["nav-id", "nav-accordion-group", "menu-item", "as-link", "text-color", "text-size", "font-bold", "d-hl", "hl-color"])) : (n(), V(q, {
2143
- key: 0,
2144
- "menu-item": h,
2145
- "as-link": e.menuItemAsLink,
2146
- "text-color": e.menuTextColor,
2147
- "text-size": e.menuTextSize,
2148
- "font-bold": e.menuTextBold,
2149
- "d-hl": e.displayHighlight,
2150
- "hl-color": e.highlightColor,
2151
- onMenuClick: d
2152
- }, null, 8, ["menu-item", "as-link", "text-color", "text-size", "font-bold", "d-hl", "hl-color"]))
2153
- ]))), 128))
2154
- ])
679
+ D(w(W), null, {
680
+ default: I(() => [
681
+ o("ul", Re, [
682
+ (r(!0), d(N, null, j(e.menuItems, (h, B) => (r(), d("li", {
683
+ key: `menu-${B}`
684
+ }, [
685
+ i(h) ? (r(), V(q, {
686
+ key: 1,
687
+ ref_for: !0,
688
+ ref_key: "collapseRef",
689
+ ref: c,
690
+ "nav-id": h.title,
691
+ "nav-location": "desktop",
692
+ "menu-item": h,
693
+ "as-link": e.menuItemAsLink,
694
+ "text-color": e.menuTextColor,
695
+ "text-size": e.menuTextSize,
696
+ "font-bold": e.menuTextBold,
697
+ "d-hl": e.showHighlight,
698
+ "hl-color": e.highlightColor,
699
+ onChildClick: s,
700
+ onLabelClick: n
701
+ }, null, 8, ["nav-id", "menu-item", "as-link", "text-color", "text-size", "font-bold", "d-hl", "hl-color"])) : (r(), V(J, {
702
+ key: 0,
703
+ "menu-item": h,
704
+ "as-link": e.menuItemAsLink,
705
+ "text-color": e.menuTextColor,
706
+ "text-size": e.menuTextSize,
707
+ "font-bold": e.menuTextBold,
708
+ "d-hl": e.showHighlight,
709
+ "hl-color": e.highlightColor,
710
+ onMenuClick: s
711
+ }, null, 8, ["menu-item", "as-link", "text-color", "text-size", "font-bold", "d-hl", "hl-color"]))
712
+ ]))), 128))
713
+ ])
714
+ ]),
715
+ _: 1
716
+ })
2155
717
  ])
2156
718
  ]),
2157
- "content-bottom": R(() => [
2158
- c["content-bottom"] ? (n(), u("div", it, [
2159
- $(l.$slots, "content-bottom")
2160
- ])) : A("", !0)
719
+ "content-bottom": I(() => [
720
+ g["content-bottom"] ? (r(), d("div", Ke, [
721
+ E(l.$slots, "content-bottom")
722
+ ])) : $("", !0)
2161
723
  ]),
2162
- "mobile-content": R(({ headerClose: h }) => [
2163
- o("div", ot, [
724
+ "mobile-content": I(({ headerClose: h }) => [
725
+ o("div", Oe, [
2164
726
  o("div", null, [
2165
- o("div", nt, [
727
+ o("div", Ee, [
2166
728
  o("a", {
2167
729
  href: e.titleBlockLink,
2168
730
  target: e.titleBlockLinkTarget,
2169
- onClick: s
731
+ onClick: a
2170
732
  }, [
2171
733
  o("img", {
2172
734
  src: e.logo,
2173
735
  alt: e.logoAlt,
2174
- class: "h-full inline-block max-h-xl"
2175
- }, null, 8, ct)
2176
- ], 8, dt)
736
+ class: "inline-block h-full max-h-xl"
737
+ }, null, 8, Fe)
738
+ ], 8, We)
2177
739
  ]),
2178
740
  o("div", null, [
2179
741
  o("a", {
2180
742
  href: e.titleBlockLink,
2181
743
  target: e.titleBlockLinkTarget,
2182
- onClick: s
744
+ onClick: a
2183
745
  }, [
2184
746
  o("h3", {
2185
- class: B([f.value, "text-center mb-md"]),
747
+ class: y([m.value, "mb-md text-center"]),
2186
748
  innerHTML: e.title
2187
- }, null, 10, ht)
2188
- ], 8, gt)
749
+ }, null, 10, Ue)
750
+ ], 8, Ge)
2189
751
  ]),
2190
- o("ul", ut, [
2191
- (n(!0), u(N, null, X(e.menuItems, (k, I) => (n(), u("li", {
2192
- key: `menu-${I}`
2193
- }, [
2194
- v(k) ? (n(), V(K, {
2195
- key: 1,
2196
- "nav-id": k.title,
2197
- "nav-location": "mobile",
2198
- "nav-accordion-group": e.title,
2199
- "menu-item": k,
2200
- "as-link": e.menuItemAsLink,
2201
- "text-color": e.menuTextColor,
2202
- "text-size": e.menuTextSize,
2203
- "font-bold": e.menuTextBold,
2204
- "d-hl": e.displayHighlight,
2205
- "hl-color": e.highlightColor,
2206
- onChildClick: d,
2207
- onLabelClick: i
2208
- }, null, 8, ["nav-id", "nav-accordion-group", "menu-item", "as-link", "text-color", "text-size", "font-bold", "d-hl", "hl-color"])) : (n(), V(q, {
2209
- key: 0,
2210
- "menu-item": k,
2211
- "as-link": e.menuItemAsLink,
2212
- "text-color": e.menuTextColor,
2213
- "text-size": e.menuTextSize,
2214
- "font-bold": e.menuTextBold,
2215
- "d-hl": e.displayHighlight,
2216
- "hl-color": e.highlightColor,
2217
- onMenuClick: d
2218
- }, null, 8, ["menu-item", "as-link", "text-color", "text-size", "font-bold", "d-hl", "hl-color"]))
2219
- ]))), 128))
2220
- ])
752
+ D(w(W), null, {
753
+ default: I(() => [
754
+ o("ul", qe, [
755
+ (r(!0), d(N, null, j(e.menuItems, (B, z) => (r(), d("li", {
756
+ key: `menu-${z}`
757
+ }, [
758
+ i(B) ? (r(), V(q, {
759
+ key: 1,
760
+ "nav-id": B.title,
761
+ "nav-location": "mobile",
762
+ "menu-item": B,
763
+ "as-link": e.menuItemAsLink,
764
+ "text-color": e.menuTextColor,
765
+ "text-size": e.menuTextSize,
766
+ "font-bold": e.menuTextBold,
767
+ "d-hl": e.showHighlight,
768
+ "hl-color": e.highlightColor,
769
+ onChildClick: s,
770
+ onLabelClick: n
771
+ }, null, 8, ["nav-id", "menu-item", "as-link", "text-color", "text-size", "font-bold", "d-hl", "hl-color"])) : (r(), V(J, {
772
+ key: 0,
773
+ "menu-item": B,
774
+ "as-link": e.menuItemAsLink,
775
+ "text-color": e.menuTextColor,
776
+ "text-size": e.menuTextSize,
777
+ "font-bold": e.menuTextBold,
778
+ "d-hl": e.showHighlight,
779
+ "hl-color": e.highlightColor,
780
+ onMenuClick: s
781
+ }, null, 8, ["menu-item", "as-link", "text-color", "text-size", "font-bold", "d-hl", "hl-color"]))
782
+ ]))), 128))
783
+ ])
784
+ ]),
785
+ _: 1
786
+ })
2221
787
  ]),
2222
- c["mobile-bottom"] ? (n(), u("div", bt, [
2223
- $(l.$slots, "mobile-bottom", { headerClose: h })
2224
- ])) : A("", !0)
788
+ g["mobile-bottom"] ? (r(), d("div", Je, [
789
+ E(l.$slots, "mobile-bottom", { headerClose: h })
790
+ ])) : $("", !0)
2225
791
  ])
2226
792
  ]),
2227
793
  _: 3
@@ -2229,6 +795,6 @@ const me = (e, t) => {
2229
795
  }
2230
796
  });
2231
797
  export {
2232
- kt as MclHeaderA,
2233
- pt as MclHeaderB
798
+ Xe as MclHeaderA,
799
+ Ye as MclHeaderB
2234
800
  };