@bobbykim/manguito-theme 1.3.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/core.js CHANGED
@@ -1,202 +1,207 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode(".slide-prev-enter-active[data-v-e9caba8a]{transition:all .5s linear}.slide-prev-leave-active[data-v-e9caba8a]{transition:all .5s}.slide-prev-enter-from[data-v-e9caba8a]{transform:translate(-100%);opacity:0}.slide-prev-leave-to[data-v-e9caba8a]{transform:translate(100%);opacity:0}.slide-next-enter-active[data-v-e9caba8a]{transition:all .5s linear}.slide-next-leave-active[data-v-e9caba8a]{transition:all .5s}.slide-next-enter-from[data-v-e9caba8a]{transform:translate(100%);opacity:0}.slide-next-leave-to[data-v-e9caba8a]{transform:translate(-100%);opacity:0}.collapse-enter-active[data-v-7c910f65],.collapse-leave-active[data-v-7c910f65]{transition-property:height,opacity;transition-duration:.5s;transition-timing-function:ease}.dropup-bottom[data-v-dd0b7b7b]{bottom:var(--button-height)}.dropdown-content-enter-active[data-v-dd0b7b7b],.dropdown-content-leave-active[data-v-dd0b7b7b]{transition:all .3s}.dropdown-content-enter-from[data-v-dd0b7b7b],.dropdown-content-leave-to[data-v-dd0b7b7b]{opacity:0;transform:translateY(-10px)}.hamburger__icon[data-v-b0ec6d90]:before,.hamburger__icon[data-v-b0ec6d90]:after{position:absolute;left:0;transition:all .3s linear}.hamburger__icon[data-v-b0ec6d90]:before{top:-.5rem}.hamburger__icon[data-v-b0ec6d90]:after{top:.5rem}.hamburger__button:focus .hamburger__icon[data-v-b0ec6d90],.hamburger__button:hover .hamburger__icon[data-v-b0ec6d90]{scale:1.05}.hamburger__checkbox:checked+.hamburger__icon[data-v-b0ec6d90]{background-color:transparent}.hamburger__checkbox:checked+.hamburger__icon[data-v-b0ec6d90]:before{top:0;transform:rotate(135deg)}.hamburger__checkbox:checked+.hamburger__icon[data-v-b0ec6d90]:after{top:0;transform:rotate(-135deg)}.collapse-enter-active[data-v-13a13d88]{transition:height .5s ease-in}.collapse-leave-active[data-v-13a13d88]{transition:height .5s ease-out}.header-desktop[data-v-ebabc502]{width:100%}@media screen and (min-width:1024px){.header-desktop[data-v-ebabc502]{width:var(--header-width)}}.slide-down-enter-active[data-v-ebabc502]{transition:transform .3s ease-in .2s,opacity .5s ease-in}.slide-down-leave-active[data-v-ebabc502]{transition:transform .5s ease-in,opacity .3s ease-in .2s}.slide-down-enter-from[data-v-ebabc502],.slide-down-leave-to[data-v-ebabc502]{opacity:0;transform:translateY(-100%)}.vertical-placement[data-v-c9b9db1b]{top:var(--vertical-placement);left:50%;transform:translateY(calc(-1 * var(--vertical-placement))) translate(-50%)}.fade-enter-active[data-v-c9b9db1b],.fade-leave-active[data-v-c9b9db1b]{transition-property:opacity;transition-duration:.3s;transition-timing-function:linear}.fade-enter-from[data-v-c9b9db1b],.fade-leave-to[data-v-c9b9db1b]{opacity:0}.slide-down-enter-active[data-v-c9b9db1b]{animation:slide-down-c9b9db1b .3s ease}.slide-down-leave-active[data-v-c9b9db1b]{animation:slide-down-c9b9db1b reverse .3s ease}@keyframes slide-down-c9b9db1b{0%{opacity:0;transform:translateY(-100%) translate(-50%)}to{opacity:1;transform:translateY(calc(-1 * var(--vertical-placement))) translate(-50%)}}.sidebar-body[data-v-80a7a8d2]{width:100%}.sidebar-body-height[data-v-80a7a8d2]{min-height:calc(100vh - var(--header-height) - var(--footer-height))}.fade-enter-active[data-v-80a7a8d2],.fade-leave-active[data-v-80a7a8d2]{transition-property:opacity;transition-duration:.3s;transition-timing-function:linear}.fade-enter-from[data-v-80a7a8d2],.fade-leave-to[data-v-80a7a8d2]{opacity:0}.sidebar-left-enter-active[data-v-80a7a8d2],.sidebar-left-leave-active[data-v-80a7a8d2],.sidebar-right-enter-active[data-v-80a7a8d2],.sidebar-right-leave-active[data-v-80a7a8d2]{transition-property:transform,opacity;transition-duration:.3s;transition-timing-function:linear}.sidebar-left-enter-from[data-v-80a7a8d2],.sidebar-left-leave-to[data-v-80a7a8d2]{transform:translate(-100%)}.sidebar-right-enter-from[data-v-80a7a8d2],.sidebar-right-leave-to[data-v-80a7a8d2]{transform:translate(100%)}@media screen and (min-width:768px){.sidebar-body[data-v-80a7a8d2]{width:var(--sidebar-width)}.sidebar-left-enter-from[data-v-80a7a8d2],.sidebar-left-leave-to[data-v-80a7a8d2]{transform:translate(calc(-1 * var(--sidebar-width)))}.sidebar-right-enter-from[data-v-80a7a8d2],.sidebar-right-leave-to[data-v-80a7a8d2]{transform:translate(var(--sidebar-width))}}.container-hts[data-v-2d9322d9]{max-height:var(--container-hts, none)}.slide-prev-enter-active[data-v-2d9322d9]{transition:all .5s linear}.slide-prev-leave-active[data-v-2d9322d9]{transition:all .5s}.slide-prev-enter-from[data-v-2d9322d9]{transform:translate(-100%);opacity:0}.slide-prev-leave-to[data-v-2d9322d9]{transform:translate(100%);opacity:0}.slide-next-enter-active[data-v-2d9322d9]{transition:all .5s linear}.slide-next-leave-active[data-v-2d9322d9]{transition:all .5s}.slide-next-enter-from[data-v-2d9322d9]{transform:translate(100%);opacity:0}.slide-next-leave-to[data-v-2d9322d9]{transform:translate(-100%);opacity:0}")),document.head.appendChild(a)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
- import { a as ie, p as ce, b as de, c as ue, d as fe, e as he, f as ve, h as ge, m as me, i as be, j as pe, k as Ce, l as ye, n as we, o as xe, q as ke, r as Ve, s as Be, t as Re, u as Oe, v as $e, w as Te, x as Ie, y as Le, z as De, A as Ae, B as Se, C as Ee, D as Ne, E as He, F as Ge, G as _e, H as ze, I as je, J as We, K as Me, L as Fe, M as Xe, N as Pe, O as Ye, P as Ue, Q as Ke, R as qe, S as Je, T as Qe, U as Ze, V as et, W as tt, X as ot, Y as at, Z as st, _ as rt, $ as lt, a0 as nt, a1 as it, a2 as ct, a3 as dt, a4 as ut, a5 as ft, g as C } from "./index-CDXrm85l.js";
3
- import { defineComponent as O, openBlock as l, createElementBlock as i, renderSlot as y, ref as w, computed as B, watch as E, normalizeClass as h, createElementVNode as m, createCommentVNode as g, useSlots as z, toDisplayString as j, provide as J, createVNode as D, Transition as A, withCtx as S, inject as Q, withDirectives as _, vShow as Z, useId as ee, toRef as ht, unref as k, onMounted as F, withKeys as vt, createBlock as X, normalizeStyle as W, vModelCheckbox as gt, Teleport as mt } from "vue";
4
- import { useWindowSize as bt, useWindowScroll as pt, useScrollLock as Ct, useElementSize as yt } from "@vueuse/core";
5
- import { p as wt, u as xt, o as oe, a as ae } from "./useModalScrollLock-ONrBOk5v.js";
6
- import { g as kt } from "./getGlassmorphismClass-d_Ji96-u.js";
7
- import { v as te } from "./index-CzXHE-4G.js";
8
- import { useFocusTrap as se } from "@vueuse/integrations/useFocusTrap";
9
- const Co = (e, t) => {
1
+ (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".slide-prev-enter-active[data-v-db4ab321]{transition:all .5s linear}.slide-prev-leave-active[data-v-db4ab321]{transition:all .5s}.slide-prev-enter-from[data-v-db4ab321]{transform:translate(-100%);opacity:0}.slide-prev-leave-to[data-v-db4ab321]{transform:translate(100%);opacity:0}.slide-next-enter-active[data-v-db4ab321]{transition:all .5s linear}.slide-next-leave-active[data-v-db4ab321]{transition:all .5s}.slide-next-enter-from[data-v-db4ab321]{transform:translate(100%);opacity:0}.slide-next-leave-to[data-v-db4ab321]{transform:translate(-100%);opacity:0}@media(prefers-reduced-motion:reduce){.slide-prev-enter-active[data-v-db4ab321],.slide-prev-leave-active[data-v-db4ab321],.slide-next-enter-active[data-v-db4ab321],.slide-next-leave-active[data-v-db4ab321]{transition-property:opacity}.slide-prev-enter-from[data-v-db4ab321],.slide-prev-leave-to[data-v-db4ab321],.slide-next-enter-from[data-v-db4ab321],.slide-next-leave-to[data-v-db4ab321]{transform:none}}.collapse-enter-active[data-v-2762b9c9],.collapse-leave-active[data-v-2762b9c9]{transition-property:height,opacity;transition-duration:.5s;transition-timing-function:ease}@media(prefers-reduced-motion:reduce){.collapse-enter-active[data-v-2762b9c9],.collapse-leave-active[data-v-2762b9c9]{transition:none}}.dropup-bottom[data-v-504baea4]{bottom:var(--button-height)}.dropdown-content-enter-active[data-v-504baea4],.dropdown-content-leave-active[data-v-504baea4]{transition:all .3s}.dropdown-content-enter-from[data-v-504baea4],.dropdown-content-leave-to[data-v-504baea4]{opacity:0;transform:translateY(-10px)}@media(prefers-reduced-motion:reduce){.dropdown-content-enter-active[data-v-504baea4],.dropdown-content-leave-active[data-v-504baea4]{transition-property:opacity}.dropdown-content-enter-from[data-v-504baea4],.dropdown-content-leave-to[data-v-504baea4]{transform:none}}.hamburger__icon[data-v-5904b04a]:before,.hamburger__icon[data-v-5904b04a]:after{position:absolute;left:0;transition:all .3s linear}.hamburger__icon[data-v-5904b04a]:before{top:-.5rem}.hamburger__icon[data-v-5904b04a]:after{top:.5rem}.hamburger__button:focus .hamburger__icon[data-v-5904b04a],.hamburger__button:hover .hamburger__icon[data-v-5904b04a]{scale:1.05}.hamburger__checkbox:checked+.hamburger__icon[data-v-5904b04a]{background-color:transparent}.hamburger__checkbox:checked+.hamburger__icon[data-v-5904b04a]:before{top:0;transform:rotate(135deg)}.hamburger__checkbox:checked+.hamburger__icon[data-v-5904b04a]:after{top:0;transform:rotate(-135deg)}.collapse-enter-active[data-v-3b12c474]{transition:height .5s ease-in}.collapse-leave-active[data-v-3b12c474]{transition:height .5s ease-out}@media(prefers-reduced-motion:reduce){.collapse-enter-active[data-v-3b12c474],.collapse-leave-active[data-v-3b12c474]{transition:none}}.header-desktop[data-v-7325b802]{width:100%}@media screen and (min-width:1024px){.header-desktop[data-v-7325b802]{width:var(--header-width)}}.slide-down-enter-active[data-v-7325b802]{transition:transform .3s ease-in .2s,opacity .5s ease-in}.slide-down-leave-active[data-v-7325b802]{transition:transform .5s ease-in,opacity .3s ease-in .2s}.slide-down-enter-from[data-v-7325b802],.slide-down-leave-to[data-v-7325b802]{opacity:0;transform:translateY(-100%)}@media(prefers-reduced-motion:reduce){.slide-down-enter-active[data-v-7325b802],.slide-down-leave-active[data-v-7325b802]{transition:opacity .3s ease-in}.slide-down-enter-from[data-v-7325b802],.slide-down-leave-to[data-v-7325b802]{transform:none}}.vertical-placement[data-v-ea332268]{top:var(--vertical-placement);left:50%;transform:translateY(calc(-1 * var(--vertical-placement))) translate(-50%)}.fade-enter-active[data-v-ea332268],.fade-leave-active[data-v-ea332268]{transition-property:opacity;transition-duration:.3s;transition-timing-function:linear}.fade-enter-from[data-v-ea332268],.fade-leave-to[data-v-ea332268]{opacity:0}.slide-down-enter-active[data-v-ea332268]{animation:slide-down-ea332268 .3s ease}.slide-down-leave-active[data-v-ea332268]{animation:slide-down-ea332268 reverse .3s ease}@keyframes slide-down-ea332268{0%{opacity:0;transform:translateY(-100%) translate(-50%)}to{opacity:1;transform:translateY(calc(-1 * var(--vertical-placement))) translate(-50%)}}@media(prefers-reduced-motion:reduce){.slide-down-enter-active[data-v-ea332268],.slide-down-leave-active[data-v-ea332268]{animation:none;transition:opacity .3s linear}.slide-down-enter-from[data-v-ea332268],.slide-down-leave-to[data-v-ea332268]{opacity:0}}.sidebar-body[data-v-6f379e4b]{width:100%}.sidebar-body-height[data-v-6f379e4b]{min-height:calc(100vh - var(--header-height) - var(--footer-height))}.fade-enter-active[data-v-6f379e4b],.fade-leave-active[data-v-6f379e4b]{transition-property:opacity;transition-duration:.3s;transition-timing-function:linear}.fade-enter-from[data-v-6f379e4b],.fade-leave-to[data-v-6f379e4b]{opacity:0}.sidebar-left-enter-active[data-v-6f379e4b],.sidebar-left-leave-active[data-v-6f379e4b],.sidebar-right-enter-active[data-v-6f379e4b],.sidebar-right-leave-active[data-v-6f379e4b]{transition-property:transform,opacity;transition-duration:.3s;transition-timing-function:linear}.sidebar-left-enter-from[data-v-6f379e4b],.sidebar-left-leave-to[data-v-6f379e4b]{transform:translate(-100%)}.sidebar-right-enter-from[data-v-6f379e4b],.sidebar-right-leave-to[data-v-6f379e4b]{transform:translate(100%)}@media screen and (min-width:768px){.sidebar-body[data-v-6f379e4b]{width:var(--sidebar-width)}.sidebar-left-enter-from[data-v-6f379e4b],.sidebar-left-leave-to[data-v-6f379e4b]{transform:translate(calc(-1 * var(--sidebar-width)))}.sidebar-right-enter-from[data-v-6f379e4b],.sidebar-right-leave-to[data-v-6f379e4b]{transform:translate(var(--sidebar-width))}}@media(prefers-reduced-motion:reduce){.sidebar-left-enter-active[data-v-6f379e4b],.sidebar-left-leave-active[data-v-6f379e4b],.sidebar-right-enter-active[data-v-6f379e4b],.sidebar-right-leave-active[data-v-6f379e4b]{transition-property:opacity}.sidebar-left-enter-from[data-v-6f379e4b],.sidebar-left-leave-to[data-v-6f379e4b],.sidebar-right-enter-from[data-v-6f379e4b],.sidebar-right-leave-to[data-v-6f379e4b]{transform:none;opacity:0}}.container-hts[data-v-ee1145fc]{max-height:var(--container-hts, none)}.slide-prev-enter-active[data-v-ee1145fc]{transition:all .5s linear}.slide-prev-leave-active[data-v-ee1145fc]{transition:all .5s}.slide-prev-enter-from[data-v-ee1145fc]{transform:translate(-100%);opacity:0}.slide-prev-leave-to[data-v-ee1145fc]{transform:translate(100%);opacity:0}.slide-next-enter-active[data-v-ee1145fc]{transition:all .5s linear}.slide-next-leave-active[data-v-ee1145fc]{transition:all .5s}.slide-next-enter-from[data-v-ee1145fc]{transform:translate(100%);opacity:0}.slide-next-leave-to[data-v-ee1145fc]{transform:translate(-100%);opacity:0}@media(prefers-reduced-motion:reduce){.slide-prev-enter-active[data-v-ee1145fc],.slide-prev-leave-active[data-v-ee1145fc],.slide-next-enter-active[data-v-ee1145fc],.slide-next-leave-active[data-v-ee1145fc]{transition-property:opacity}.slide-prev-enter-from[data-v-ee1145fc],.slide-prev-leave-to[data-v-ee1145fc],.slide-next-enter-from[data-v-ee1145fc],.slide-next-leave-to[data-v-ee1145fc]{transform:none}}")),document.head.appendChild(e)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();
2
+ import { a as de, p as ue, b as fe, c as he, d as ve, e as ge, f as be, h as me, m as pe, i as ye, j as Ce, k as we, l as xe, n as ke, o as Ve, q as Be, r as Re, s as Oe, t as $e, u as Le, v as Ie, w as Te, x as De, y as Ae, z as Se, A as Ee, B as He, C as Ne, D as Ge, E as ze, F as Me, G as je, H as We, I as _e, J as Fe, K as Pe, L as Xe, M as Ye, N as Ue, O as Ke, P as qe, Q as Je, R as Qe, S as Ze, T as et, U as tt, V as ot, W as at, X as lt, Y as st, Z as rt, _ as nt, $ as it, a0 as ct, a1 as dt, a2 as ut, a3 as ft, a4 as ht, a5 as vt, g as y } from "./index-CDXrm85l.js";
3
+ import { defineComponent as $, openBlock as n, createElementBlock as c, renderSlot as C, ref as w, computed as R, watch as E, normalizeClass as b, createElementVNode as g, createCommentVNode as v, useSlots as M, toDisplayString as j, provide as Q, createVNode as D, Transition as A, withCtx as S, inject as Z, withDirectives as z, vShow as ee, useId as te, toRef as gt, unref as k, onMounted as F, withKeys as bt, createBlock as P, normalizeStyle as W, vModelCheckbox as mt, Teleport as pt, mergeProps as ae } from "vue";
4
+ import { useWindowSize as yt, useWindowScroll as Ct, useScrollLock as wt, useElementSize as xt } from "@vueuse/core";
5
+ import { p as kt, u as Vt, o as le, a as se } from "./useModalScrollLock-ONrBOk5v.js";
6
+ import { g as Bt } from "./getGlassmorphismClass-d_Ji96-u.js";
7
+ import { v as oe } from "./index-CzXHE-4G.js";
8
+ import { useFocusTrap as re } from "@vueuse/integrations/useFocusTrap";
9
+ const xo = (e, t) => {
10
10
  switch (e) {
11
11
  case "BGCOLOR":
12
- return ft({ color: t });
12
+ return vt({ color: t });
13
13
  case "HVBGCOLOR":
14
- return ut({ color: t });
14
+ return ht({ color: t });
15
15
  case "FCBGCOLOR":
16
- return dt({ color: t });
16
+ return ft({ color: t });
17
17
  case "BEFOREBG":
18
- return ct({ color: t });
18
+ return ut({ color: t });
19
19
  case "AFTERBG":
20
- return it({ color: t });
20
+ return dt({ color: t });
21
21
  case "ACTIVEBG":
22
- return nt({ color: t });
22
+ return ct({ color: t });
23
23
  case "TEXTCOLOR":
24
- return lt({ color: t });
24
+ return it({ color: t });
25
25
  case "HVTEXTCOLOR":
26
- return rt({ color: t });
26
+ return nt({ color: t });
27
27
  case "FCTEXTCOLOR":
28
- return st({ color: t });
28
+ return rt({ color: t });
29
29
  case "DISABLEDTEXTCOLOR":
30
- return at({ color: t });
30
+ return st({ color: t });
31
31
  case "SVGFILL":
32
- return ot({ color: t });
32
+ return lt({ color: t });
33
33
  case "RINGCOLOR":
34
- return tt({ color: t });
34
+ return at({ color: t });
35
35
  case "FOCUSRING":
36
- return et({ color: t });
36
+ return ot({ color: t });
37
37
  case "ACTIVERING":
38
- return Ze({ color: t });
38
+ return tt({ color: t });
39
39
  case "OFFSETRING":
40
- return Qe({ color: t });
40
+ return et({ color: t });
41
41
  case "OUTLINE":
42
- return Je({ color: t });
42
+ return Ze({ color: t });
43
43
  case "FOCUSOUTLINE":
44
- return qe({ color: t });
44
+ return Qe({ color: t });
45
45
  case "ACTIVEOUTLINE":
46
- return Ke({ color: t });
46
+ return Je({ color: t });
47
47
  case "BTNCOLOR":
48
- return Ue({ color: t });
48
+ return qe({ color: t });
49
49
  case "LISTCOLOR":
50
- return Ye({ color: t });
50
+ return Ke({ color: t });
51
51
  case "BORDER":
52
- return Pe({ color: t });
52
+ return Ue({ color: t });
53
53
  case "BORDERX":
54
- return Xe({ color: t });
54
+ return Ye({ color: t });
55
55
  case "BORDERY":
56
- return Fe({ color: t });
56
+ return Xe({ color: t });
57
57
  case "BORDERT":
58
- return Me({ color: t });
58
+ return Pe({ color: t });
59
59
  case "BORDERB":
60
- return We({ color: t });
60
+ return Fe({ color: t });
61
61
  case "BORDERL":
62
- return je({ color: t });
62
+ return _e({ color: t });
63
63
  case "BORDERR":
64
- return ze({ color: t });
64
+ return We({ color: t });
65
65
  case "H1":
66
- return _e({ size: t });
66
+ return je({ size: t });
67
67
  case "H2":
68
- return Ge({ size: t });
68
+ return Me({ size: t });
69
69
  case "H3":
70
- return He({ size: t });
70
+ return ze({ size: t });
71
71
  case "H4":
72
- return Ne({ size: t });
72
+ return Ge({ size: t });
73
73
  case "BODYTEXT":
74
- return Ee({ size: t });
74
+ return Ne({ size: t });
75
75
  case "FONTWEIGHT":
76
- return Se({ weight: t });
76
+ return He({ weight: t });
77
77
  case "TEXTALIGN":
78
- return Ae({ align: t });
78
+ return Ee({ align: t });
79
79
  case "BORDERW":
80
- return De({ width: t });
80
+ return Se({ width: t });
81
81
  case "BORDERXW":
82
- return Le({ width: t });
82
+ return Ae({ width: t });
83
83
  case "BORDERYW":
84
- return Ie({ width: t });
84
+ return De({ width: t });
85
85
  case "BORDERTW":
86
86
  return Te({ width: t });
87
87
  case "BORDERBW":
88
- return $e({ width: t });
88
+ return Ie({ width: t });
89
89
  case "BORDERLW":
90
- return Oe({ width: t });
90
+ return Le({ width: t });
91
91
  case "BORDERRW":
92
- return Re({ width: t });
92
+ return $e({ width: t });
93
93
  case "OPACITY":
94
- return Be({ opacity: t });
94
+ return Oe({ opacity: t });
95
95
  case "BGOPACITY":
96
- return Ve({ opacity: t });
96
+ return Re({ opacity: t });
97
97
  case "OUTLINEOPACITY":
98
- return ke({ opacity: t });
98
+ return Be({ opacity: t });
99
99
  case "MARGIN":
100
- return xe({ spacing: t });
100
+ return Ve({ spacing: t });
101
101
  case "MARGINX":
102
- return we({ spacing: t });
102
+ return ke({ spacing: t });
103
103
  case "MARGINY":
104
- return ye({ spacing: t });
104
+ return xe({ spacing: t });
105
105
  case "MARGINT":
106
- return Ce({ spacing: t });
106
+ return we({ spacing: t });
107
107
  case "MARGINB":
108
- return pe({ spacing: t });
108
+ return Ce({ spacing: t });
109
109
  case "MARGINL":
110
- return be({ spacing: t });
110
+ return ye({ spacing: t });
111
111
  case "MARGINR":
112
- return me({ spacing: t });
112
+ return pe({ spacing: t });
113
113
  case "PADDING":
114
- return ge({ spacing: t });
114
+ return me({ spacing: t });
115
115
  case "PADDINGX":
116
- return ve({ spacing: t });
116
+ return be({ spacing: t });
117
117
  case "PADDINGY":
118
- return he({ spacing: t });
118
+ return ge({ spacing: t });
119
119
  case "PADDINGT":
120
- return fe({ spacing: t });
120
+ return ve({ spacing: t });
121
121
  case "PADDINGB":
122
- return ue({ spacing: t });
122
+ return he({ spacing: t });
123
123
  case "PADDINGL":
124
- return de({ spacing: t });
124
+ return fe({ spacing: t });
125
125
  case "PADDINGR":
126
- return ce({ spacing: t });
126
+ return ue({ spacing: t });
127
127
  case "GAP":
128
- return ie({ spacing: t });
128
+ return de({ spacing: t });
129
129
  default:
130
130
  return "";
131
131
  }
132
- }, yo = /* @__PURE__ */ O({
132
+ }, ko = /* @__PURE__ */ $({
133
133
  __name: "AccordionGroup",
134
134
  setup(e) {
135
- return wt(), (t, u) => (l(), i("div", null, [
136
- y(t.$slots, "default")
135
+ return kt(), (t, u) => (n(), c("div", null, [
136
+ C(t.$slots, "default")
137
137
  ]));
138
138
  }
139
- }), Vt = { class: "flex w-full justify-between gap-2xs" }, Bt = { class: "w-full" }, wo = /* @__PURE__ */ O({
139
+ }), Rt = { class: "flex w-full justify-between gap-2xs" }, Ot = { class: "w-full" }, $t = ["aria-label"], Vo = /* @__PURE__ */ $({
140
140
  __name: "Alert",
141
141
  props: {
142
142
  color: { default: "danger" },
143
143
  rounded: { type: Boolean, default: !0 },
144
144
  shadow: { type: Boolean, default: !0 },
145
145
  show: { type: Boolean, default: !1 },
146
- dismissible: { type: Boolean, default: !1 }
146
+ dismissible: { type: Boolean, default: !1 },
147
+ dismissLabel: { default: "Dismiss" }
147
148
  },
148
149
  emits: ["close"],
149
150
  setup(e, { expose: t, emit: u }) {
150
- const d = e, a = u, c = w(d.show), s = B(() => {
151
- const { color: r, rounded: f, shadow: p } = d, b = [C.bgColorVariant({ color: r })];
152
- return f && b.push("rounded-md"), p && b.push("drop-shadow-md"), b.join(" ");
153
- }), n = (r) => {
154
- c.value = !1, a("close", r);
155
- }, o = () => {
156
- c.value = !1;
151
+ const s = e, o = u, d = w(s.show), l = R(() => {
152
+ const { color: r, rounded: f, shadow: p } = s, h = [y.bgColorVariant({ color: r })];
153
+ return f && h.push("rounded-md"), p && h.push("drop-shadow-md"), h.join(" ");
154
+ }), i = (r) => {
155
+ d.value = !1, o("close", r);
156
+ }, a = () => {
157
+ d.value = !1;
157
158
  };
158
159
  return E(
159
- () => d.show,
160
+ () => s.show,
160
161
  (r) => {
161
- c.value = r;
162
+ d.value = r;
162
163
  }
163
164
  ), t({
164
- close: o
165
- }), (r, f) => c.value ? (l(), i("div", {
165
+ close: a
166
+ }), (r, f) => d.value ? (n(), c("div", {
166
167
  key: 0,
167
168
  role: "alert",
168
169
  "aria-live": "polite",
169
170
  "aria-atomic": "true",
170
- class: h(["relative px-[1.25rem] py-[0.75rem]", [s.value]])
171
+ class: b(["relative px-[1.25rem] py-[0.75rem]", [l.value]])
171
172
  }, [
172
- m("div", Vt, [
173
- m("div", Bt, [
174
- y(r.$slots, "default")
173
+ g("div", Rt, [
174
+ g("div", Ot, [
175
+ C(r.$slots, "default")
175
176
  ]),
176
- e.dismissible ? (l(), i("button", {
177
+ e.dismissible ? (n(), c("button", {
177
178
  key: 0,
178
- onClick: n,
179
+ type: "button",
180
+ "aria-label": e.dismissLabel,
181
+ onClick: i,
179
182
  class: "flex items-center opacity-60 transition-opacity duration-300 ease-linear hover:opacity-40"
180
183
  }, [...f[0] || (f[0] = [
181
- m("svg", {
184
+ g("svg", {
182
185
  xmlns: "http://www.w3.org/2000/svg",
183
186
  viewBox: "0 0 384 512",
184
187
  fill: "currentColor",
188
+ "aria-hidden": "true",
189
+ focusable: "false",
185
190
  class: "h-xs"
186
191
  }, [
187
- m("path", { d: "M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z" })
192
+ g("path", { d: "M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z" })
188
193
  ], -1)
189
- ])])) : g("", !0)
194
+ ])], 8, $t)) : v("", !0)
190
195
  ])
191
- ], 2)) : g("", !0);
196
+ ], 2)) : v("", !0);
192
197
  }
193
- }), Rt = ["src", "alt"], Ot = {
198
+ }), Lt = ["src", "alt"], It = {
194
199
  key: 2,
195
200
  class: "flex-1 px-xs pt-xs pb-2xs"
196
- }, $t = {
201
+ }, Tt = {
197
202
  key: 3,
198
203
  class: "flex-1"
199
- }, xo = /* @__PURE__ */ O({
204
+ }, Bo = /* @__PURE__ */ $({
200
205
  __name: "Card",
201
206
  props: {
202
207
  variant: { default: "light-1" },
@@ -219,80 +224,80 @@ const Co = (e, t) => {
219
224
  cardClass: { default: "" }
220
225
  },
221
226
  setup(e) {
222
- const t = e, u = z(), d = B(() => {
227
+ const t = e, u = M(), s = R(() => {
223
228
  const {
224
- variant: n,
225
- rounded: o,
229
+ variant: i,
230
+ rounded: a,
226
231
  shadow: r,
227
232
  border: f,
228
233
  borderVariant: p,
229
- glass: b,
230
- glassBlur: v,
231
- glassOpacity: I
234
+ glass: h,
235
+ glassBlur: m,
236
+ glassOpacity: L
232
237
  } = t;
233
238
  return [
234
- C.bgColorVariant({ color: n }),
235
- o ? "rounded-lg" : "rounded-sm",
239
+ y.bgColorVariant({ color: i }),
240
+ a ? "rounded-lg" : "rounded-sm",
236
241
  r && "drop-shadow-md",
237
242
  f && "border",
238
- f && C.borderColorVariant({ color: p }),
239
- b && kt(n, v, I)
243
+ f && y.borderColorVariant({ color: p }),
244
+ h && Bt(i, m, L)
240
245
  ].filter(Boolean).join(" ");
241
- }), a = B(() => {
242
- const { titleVariant: n, titleSize: o } = t;
246
+ }), o = R(() => {
247
+ const { titleVariant: i, titleSize: a } = t;
243
248
  return [
244
- C.textColorVariant({ color: n }),
245
- C.h3Variant({ size: o })
249
+ y.textColorVariant({ color: i }),
250
+ y.h3Variant({ size: a })
246
251
  ].join(" ");
247
- }), c = B(() => {
248
- const { border: n, borderVariant: o, titleVariant: r } = t;
252
+ }), d = R(() => {
253
+ const { border: i, borderVariant: a, titleVariant: r } = t;
249
254
  return [
250
- C.textColorVariant({ color: r }),
251
- n && "border-b",
252
- C.borderColorVariant({ color: o })
255
+ y.textColorVariant({ color: r }),
256
+ i && "border-b",
257
+ y.borderColorVariant({ color: a })
253
258
  ].filter(Boolean).join(" ");
254
- }), s = B(() => {
255
- const { border: n, borderVariant: o } = t;
259
+ }), l = R(() => {
260
+ const { border: i, borderVariant: a } = t;
256
261
  return [
257
- n && "border-t",
258
- n && C.borderColorVariant({ color: o })
262
+ i && "border-t",
263
+ i && y.borderColorVariant({ color: a })
259
264
  ].filter(Boolean).join(" ");
260
265
  });
261
- return (n, o) => (l(), i("div", {
262
- class: h(["flex h-full w-full flex-col overflow-hidden", [d.value, e.cardClass]])
266
+ return (i, a) => (n(), c("div", {
267
+ class: b(["flex h-full w-full flex-col overflow-hidden", [s.value, e.cardClass]])
263
268
  }, [
264
- e.header || u.header ? y(n.$slots, "header", { key: 0 }, () => [
265
- m("div", {
266
- class: h([[c.value], "px-xs py-2xs font-bold"])
269
+ e.header || u.header ? C(i.$slots, "header", { key: 0 }, () => [
270
+ g("div", {
271
+ class: b([[d.value], "px-xs py-2xs font-bold"])
267
272
  }, [
268
- m("p", null, j(e.header), 1)
273
+ g("p", null, j(e.header), 1)
269
274
  ], 2)
270
- ]) : g("", !0),
271
- e.imageSrc && !e.noImage ? (l(), i("img", {
275
+ ]) : v("", !0),
276
+ e.imageSrc && !e.noImage ? (n(), c("img", {
272
277
  key: 1,
273
278
  src: e.imageSrc,
274
279
  alt: e.imageAlt,
275
280
  class: "aspect-video min-w-full object-cover object-top"
276
- }, null, 8, Rt)) : g("", !0),
277
- e.noBody ? g("", !0) : (l(), i("div", Ot, [
278
- m("h3", {
279
- class: h([[a.value], "mb-xs"])
281
+ }, null, 8, Lt)) : v("", !0),
282
+ e.noBody ? v("", !0) : (n(), c("div", It, [
283
+ g("h3", {
284
+ class: b([[o.value], "mb-xs"])
280
285
  }, j(e.title), 3),
281
- u.body ? y(n.$slots, "body", { key: 0 }) : g("", !0)
286
+ u.body ? C(i.$slots, "body", { key: 0 }) : v("", !0)
282
287
  ])),
283
- e.noBody && u.default ? (l(), i("div", $t, [
284
- y(n.$slots, "default")
285
- ])) : g("", !0),
286
- e.footer || u.footer ? y(n.$slots, "footer", { key: 4 }, () => [
287
- m("div", {
288
- class: h(["px-xs py-2xs", [s.value]])
288
+ e.noBody && u.default ? (n(), c("div", Tt, [
289
+ C(i.$slots, "default")
290
+ ])) : v("", !0),
291
+ e.footer || u.footer ? C(i.$slots, "footer", { key: 4 }, () => [
292
+ g("div", {
293
+ class: b(["px-xs py-2xs", [l.value]])
289
294
  }, [
290
- m("p", null, j(e.footer), 1)
295
+ g("p", null, j(e.footer), 1)
291
296
  ], 2)
292
- ]) : g("", !0)
297
+ ]) : v("", !0)
293
298
  ], 2));
294
299
  }
295
- }), re = /* @__PURE__ */ Symbol(), Tt = /* @__PURE__ */ O({
300
+ }), ne = /* @__PURE__ */ Symbol(), Dt = /* @__PURE__ */ $({
296
301
  __name: "CarouselContainer",
297
302
  props: {
298
303
  bodyClass: { default: "" },
@@ -302,82 +307,82 @@ const Co = (e, t) => {
302
307
  loop: { type: Boolean, default: !1 }
303
308
  },
304
309
  setup(e, { expose: t }) {
305
- const u = e, d = z(), a = w(0), c = w([]), s = w(0), n = w("slide-next"), o = (b) => {
306
- c.value.push(b), s.value = [...new Set(c.value)].length;
307
- }, r = (b) => {
308
- a.value = b;
310
+ const u = e, s = M(), o = w(0), d = w([]), l = w(0), i = w("slide-next"), a = (h) => {
311
+ d.value.push(h), l.value = [...new Set(d.value)].length;
312
+ }, r = (h) => {
313
+ o.value = h;
309
314
  };
310
- J(re, {
311
- activeIdx: a,
312
- setSlide: o
315
+ Q(ne, {
316
+ activeIdx: o,
317
+ setSlide: a
313
318
  });
314
319
  const f = () => {
315
- const { loop: b } = u;
316
- b && a.value === s.value - 1 ? a.value = 0 : a.value < s.value - 1 && (a.value = a.value + 1);
320
+ const { loop: h } = u;
321
+ h && o.value === l.value - 1 ? o.value = 0 : o.value < l.value - 1 && (o.value = o.value + 1);
317
322
  }, p = () => {
318
- const { loop: b } = u;
319
- b && a.value === 0 ? a.value = s.value - 1 : a.value > 0 && (a.value = a.value - 1);
323
+ const { loop: h } = u;
324
+ h && o.value === 0 ? o.value = l.value - 1 : o.value > 0 && (o.value = o.value - 1);
320
325
  };
321
326
  return E(
322
- () => a.value,
323
- (b, v) => {
324
- b > v || b === 0 && v === s.value - 1 ? n.value = "slide-next" : n.value = "slide-prev";
327
+ () => o.value,
328
+ (h, m) => {
329
+ h > m || h === 0 && m === l.value - 1 ? i.value = "slide-next" : i.value = "slide-prev";
325
330
  }
326
331
  ), t({
327
- numberOfSlides: s,
332
+ numberOfSlides: l,
328
333
  prev: p,
329
334
  next: f,
330
335
  setActive: r
331
- }), (b, v) => (l(), i("div", {
332
- class: h([e.bodyClass, "relative overflow-x-hidden"])
336
+ }), (h, m) => (n(), c("div", {
337
+ class: b([e.bodyClass, "relative overflow-x-hidden"])
333
338
  }, [
334
- d["controller-top"] ? (l(), i("div", {
339
+ s["controller-top"] ? (n(), c("div", {
335
340
  key: 0,
336
- class: h(e.controllerTopClass)
341
+ class: b(e.controllerTopClass)
337
342
  }, [
338
- y(b.$slots, "controller-top", {
343
+ C(h.$slots, "controller-top", {
339
344
  next: f,
340
345
  prev: p,
341
346
  setActive: r,
342
- activeSlide: a.value,
343
- numberOfSlides: s.value
347
+ activeSlide: o.value,
348
+ numberOfSlides: l.value
344
349
  }, void 0, !0)
345
- ], 2)) : g("", !0),
346
- m("div", {
347
- class: h(["grid grid-cols-1 grid-rows-1", e.contentContainerClass])
350
+ ], 2)) : v("", !0),
351
+ g("div", {
352
+ class: b(["grid grid-cols-1 grid-rows-1", e.contentContainerClass])
348
353
  }, [
349
- D(A, { name: n.value }, {
354
+ D(A, { name: i.value }, {
350
355
  default: S(() => [
351
- (l(), i("div", {
352
- key: a.value,
356
+ (n(), c("div", {
357
+ key: o.value,
353
358
  class: "col-start-1 col-end-1 row-start-1 row-end-1"
354
359
  }, [
355
- y(b.$slots, "content", {}, void 0, !0)
360
+ C(h.$slots, "content", {}, void 0, !0)
356
361
  ]))
357
362
  ]),
358
363
  _: 3
359
364
  }, 8, ["name"])
360
365
  ], 2),
361
- d["controller-bottom"] ? (l(), i("div", {
366
+ s["controller-bottom"] ? (n(), c("div", {
362
367
  key: 1,
363
- class: h(e.controllerBottomClass)
368
+ class: b(e.controllerBottomClass)
364
369
  }, [
365
- y(b.$slots, "controller-bottom", {
370
+ C(h.$slots, "controller-bottom", {
366
371
  next: f,
367
372
  prev: p,
368
373
  setActive: r,
369
- activeSlide: a.value,
370
- numberOfSlides: s.value
374
+ activeSlide: o.value,
375
+ numberOfSlides: l.value
371
376
  }, void 0, !0)
372
- ], 2)) : g("", !0)
377
+ ], 2)) : v("", !0)
373
378
  ], 2));
374
379
  }
375
- }), N = (e, t) => {
380
+ }), H = (e, t) => {
376
381
  const u = e.__vccOpts || e;
377
- for (const [d, a] of t)
378
- u[d] = a;
382
+ for (const [s, o] of t)
383
+ u[s] = o;
379
384
  return u;
380
- }, ko = /* @__PURE__ */ N(Tt, [["__scopeId", "data-v-e9caba8a"]]), It = ["id"], Vo = /* @__PURE__ */ O({
385
+ }, Ro = /* @__PURE__ */ H(Dt, [["__scopeId", "data-v-db4ab321"]]), At = ["id"], Oo = /* @__PURE__ */ $({
381
386
  __name: "CarouselContent",
382
387
  props: {
383
388
  slideNumber: {},
@@ -385,27 +390,27 @@ const Co = (e, t) => {
385
390
  slideClass: { default: "" }
386
391
  },
387
392
  setup(e) {
388
- const t = e, { activeIdx: u, setSlide: d } = Q(
389
- re
393
+ const t = e, { activeIdx: u, setSlide: s } = Z(
394
+ ne
390
395
  );
391
- d(t.slideNumber);
392
- const a = B(() => {
393
- const { slideNumber: c } = t;
394
- return u.value === c;
396
+ s(t.slideNumber);
397
+ const o = R(() => {
398
+ const { slideNumber: d } = t;
399
+ return u.value === d;
395
400
  });
396
- return (c, s) => _((l(), i("div", {
401
+ return (d, l) => z((n(), c("div", {
397
402
  ref: "slideRef",
398
403
  id: e.id,
399
- class: h([e.slideClass, "w-full"]),
404
+ class: b([e.slideClass, "w-full"]),
400
405
  role: "tabpanel",
401
406
  tabindex: "-1"
402
407
  }, [
403
- y(c.$slots, "default")
404
- ], 10, It)), [
405
- [Z, a.value]
408
+ C(d.$slots, "default")
409
+ ], 10, At)), [
410
+ [ee, o.value]
406
411
  ]);
407
412
  }
408
- }), Lt = ["id"], Dt = /* @__PURE__ */ O({
413
+ }), St = ["id"], Et = /* @__PURE__ */ $({
409
414
  __name: "Collapse",
410
415
  props: {
411
416
  id: {},
@@ -414,170 +419,173 @@ const Co = (e, t) => {
414
419
  },
415
420
  emits: ["open", "close"],
416
421
  setup(e, { expose: t, emit: u }) {
417
- const d = e, a = u, c = d.id ?? ee(), { isOpen: s, toggle: n, open: o, close: r } = xt(
418
- c,
419
- ht(d, "visible")
420
- ), f = (v) => {
421
- v.style.height = "auto", v.style.opacity = "0";
422
- const I = getComputedStyle(v).height;
423
- v.style.height = "0px", v.offsetHeight, v.style.height = I, v.style.opacity = "1";
424
- }, p = (v) => {
425
- v.style.height = "auto", v.style.opacity = "1";
426
- }, b = (v) => {
427
- v.style.height = getComputedStyle(v).height, v.offsetHeight, v.style.height = "0px", v.style.opacity = "0";
422
+ const s = e, o = u, d = s.id ?? te(), { isOpen: l, toggle: i, open: a, close: r } = Vt(
423
+ d,
424
+ gt(s, "visible")
425
+ ), f = (m) => {
426
+ m.style.height = "auto", m.style.opacity = "0";
427
+ const L = getComputedStyle(m).height;
428
+ m.style.height = "0px", m.offsetHeight, m.style.height = L, m.style.opacity = "1";
429
+ }, p = (m) => {
430
+ m.style.height = "auto", m.style.opacity = "1";
431
+ }, h = (m) => {
432
+ m.style.height = getComputedStyle(m).height, m.offsetHeight, m.style.height = "0px", m.style.opacity = "0";
428
433
  };
429
- return E(s, (v) => {
430
- v ? a("open", !0) : a("close", !1);
434
+ return E(l, (m) => {
435
+ m ? o("open", !0) : o("close", !1);
431
436
  }), t({
432
- isOpen: s,
433
- toggle: n,
434
- open: o,
437
+ isOpen: l,
438
+ toggle: i,
439
+ open: a,
435
440
  close: r
436
- }), (v, I) => (l(), i("div", { id: k(c) }, [
441
+ }), (m, L) => (n(), c("div", { id: k(d) }, [
437
442
  D(A, {
438
443
  name: "collapse",
439
444
  tag: "div",
440
445
  onEnter: f,
441
446
  onAfterEnter: p,
442
- onLeave: b,
447
+ onLeave: h,
443
448
  class: "overflow-y-clip"
444
449
  }, {
445
450
  default: S(() => [
446
- _(m("div", null, [
447
- m("div", {
448
- class: h(e.customClass)
451
+ z(g("div", null, [
452
+ g("div", {
453
+ class: b(e.customClass)
449
454
  }, [
450
- y(v.$slots, "default", {}, void 0, !0)
455
+ C(m.$slots, "default", {}, void 0, !0)
451
456
  ], 2)
452
457
  ], 512), [
453
- [Z, k(s)]
458
+ [ee, k(l)]
454
459
  ])
455
460
  ]),
456
461
  _: 3
457
462
  })
458
- ], 8, Lt));
463
+ ], 8, St));
459
464
  }
460
- }), Bo = /* @__PURE__ */ N(Dt, [["__scopeId", "data-v-7c910f65"]]), le = /* @__PURE__ */ Symbol(), Ro = /* @__PURE__ */ O({
465
+ }), $o = /* @__PURE__ */ H(Et, [["__scopeId", "data-v-2762b9c9"]]), ie = /* @__PURE__ */ Symbol(), Lo = /* @__PURE__ */ $({
461
466
  __name: "DropdownContainer",
462
467
  emits: ["click-outside", "toggle"],
463
468
  setup(e, { emit: t }) {
464
- const u = t, d = w(), a = w(!1), c = w(0);
465
- J(le, {
466
- active: a,
467
- buttonHeight: c,
469
+ const u = t, s = w(), o = w(!1), d = w(0);
470
+ Q(ie, {
471
+ active: o,
472
+ buttonHeight: d,
468
473
  closeDropdown: () => {
469
- a.value = !1;
474
+ o.value = !1;
470
475
  }
471
476
  });
472
- const n = (f) => {
473
- a.value = !a.value, u("toggle", f);
474
- }, o = (f) => {
475
- a.value = !1, u("click-outside", f);
477
+ const i = (f) => {
478
+ o.value = !o.value, u("toggle", f);
479
+ }, a = (f) => {
480
+ o.value = !1, u("click-outside", f);
476
481
  }, r = () => {
477
- a.value = !1;
482
+ o.value = !1;
478
483
  };
479
484
  return F(() => {
480
- c.value = d.value.scrollHeight;
481
- }), (f, p) => _((l(), i("div", {
485
+ d.value = s.value.scrollHeight;
486
+ }), (f, p) => z((n(), c("div", {
482
487
  class: "relative",
483
488
  ref_key: "dropdownTarget",
484
- ref: d,
485
- onKeyup: vt(r, ["esc"])
489
+ ref: s,
490
+ onKeyup: bt(r, ["esc"])
486
491
  }, [
487
- y(f.$slots, "toggler", {
488
- toggle: n,
489
- dropdownState: a.value
492
+ C(f.$slots, "toggler", {
493
+ toggle: i,
494
+ dropdownState: o.value
490
495
  }),
491
- y(f.$slots, "default")
496
+ C(f.$slots, "default")
492
497
  ], 32)), [
493
- [k(te), o]
498
+ [k(oe), a]
494
499
  ]);
495
500
  }
496
- }), At = /* @__PURE__ */ O({
501
+ }), Ht = /* @__PURE__ */ $({
497
502
  __name: "DropdownContent",
498
503
  props: {
499
504
  customClass: { default: "" }
500
505
  },
501
506
  setup(e) {
502
- const { height: t } = bt(), u = w(), { active: d, buttonHeight: a, closeDropdown: c } = Q(
503
- le
504
- ), s = B(() => ({ "--button-height": `${a}px` })), n = B(() => {
505
- if (!(!d || !u.value) && t.value - u.value.getBoundingClientRect().bottom < 0)
507
+ const { height: t } = yt(), u = w(), { active: s, buttonHeight: o, closeDropdown: d } = Z(
508
+ ie
509
+ ), l = R(() => ({ "--button-height": `${o}px` })), i = R(() => {
510
+ if (!(!s || !u.value) && t.value - u.value.getBoundingClientRect().bottom < 0)
506
511
  return "dropup-bottom";
507
512
  });
508
- return (o, r) => (l(), X(A, { name: "dropdown-content" }, {
513
+ return (a, r) => (n(), P(A, { name: "dropdown-content" }, {
509
514
  default: S(() => [
510
- k(d) ? (l(), i("div", {
515
+ k(s) ? (n(), c("div", {
511
516
  key: 0,
512
517
  ref_key: "contentRef",
513
518
  ref: u,
514
- class: h(["absolute my-2xs w-max max-w-[14rem] overflow-hidden", [n.value, e.customClass]]),
515
- style: W(s.value)
519
+ class: b(["absolute my-2xs w-max max-w-[14rem] overflow-hidden", [i.value, e.customClass]]),
520
+ style: W(l.value)
516
521
  }, [
517
- y(o.$slots, "default", { itemClick: k(c) }, void 0, !0)
518
- ], 6)) : g("", !0)
522
+ C(a.$slots, "default", { itemClick: k(d) }, void 0, !0)
523
+ ], 6)) : v("", !0)
519
524
  ]),
520
525
  _: 3
521
526
  }));
522
527
  }
523
- }), Oo = /* @__PURE__ */ N(At, [["__scopeId", "data-v-dd0b7b7b"]]), St = ["aria-label", "aria-expanded"], Et = /* @__PURE__ */ O({
528
+ }), Io = /* @__PURE__ */ H(Ht, [["__scopeId", "data-v-504baea4"]]), Nt = ["aria-label", "aria-expanded"], Gt = /* @__PURE__ */ $({
524
529
  __name: "NavDrawer",
525
530
  props: {
526
531
  color: { default: "dark-2" },
527
532
  showBorder: { type: Boolean, default: !0 },
528
533
  toggle: { type: Boolean },
529
- bgColor: {}
534
+ bgColor: {},
535
+ label: { default: "Menu" }
530
536
  },
531
537
  emits: ["hbg-click"],
532
538
  setup(e, { emit: t }) {
533
- const u = e, d = t, a = (o) => {
534
- d("hbg-click", o);
535
- }, c = B({
539
+ const u = e, s = t, o = (a) => {
540
+ s("hbg-click", a);
541
+ }, d = R({
536
542
  get() {
537
543
  return u.toggle;
538
544
  },
539
- set(o) {
540
- return o;
545
+ set(a) {
546
+ return a;
541
547
  }
542
- }), s = (o, r, f) => {
548
+ }), l = (a, r, f) => {
543
549
  const p = [
544
- C.ringColorVariant({ color: o }),
545
- C.ringOffsetColorVariant({ color: f })
550
+ y.ringColorVariant({ color: a }),
551
+ y.ringOffsetColorVariant({ color: f })
546
552
  ];
547
- return r && (p.push(C.borderColorVariant({ color: o })), p.push("border")), p.join(" ");
548
- }, n = (o) => [
549
- C.bgColorVariant({ color: o }),
550
- C.beforeBgColorVariant({ color: o }),
551
- C.afterBgColorVariant({ color: o })
553
+ return r && (p.push(y.borderColorVariant({ color: a })), p.push("border")), p.join(" ");
554
+ }, i = (a) => [
555
+ y.bgColorVariant({ color: a }),
556
+ y.beforeBgColorVariant({ color: a }),
557
+ y.afterBgColorVariant({ color: a })
552
558
  ].join(" ");
553
- return (o, r) => (l(), i("button", {
554
- class: h(["hamburger__button aspect-square rounded-md p-3xs ring-offset-2 transition-all duration-300 ease-linear outline-none hover:opacity-70 focus:opacity-70 focus:ring-4", s(e.color, e.showBorder, e.bgColor)]),
555
- onClick: a,
556
- "aria-label": e.toggle ? "Close" : "Open",
559
+ return (a, r) => (n(), c("button", {
560
+ class: b(["hamburger__button aspect-square rounded-md p-3xs ring-offset-2 transition-all duration-300 ease-linear outline-none hover:opacity-70 focus:opacity-70 focus:ring-4", l(e.color, e.showBorder, e.bgColor)]),
561
+ onClick: o,
562
+ "aria-label": e.label,
557
563
  "aria-expanded": e.toggle
558
564
  }, [
559
- _(m("input", {
565
+ z(g("input", {
560
566
  type: "checkbox",
561
- "onUpdate:modelValue": r[0] || (r[0] = (f) => c.value = f),
567
+ "onUpdate:modelValue": r[0] || (r[0] = (f) => d.value = f),
562
568
  class: "hamburger__checkbox hidden"
563
569
  }, null, 512), [
564
- [gt, c.value]
570
+ [mt, d.value]
565
571
  ]),
566
- m("div", {
567
- class: h(["hamburger__icon relative h-[3px] w-sm transition-all duration-300 ease-linear before:h-[3px] before:w-sm after:h-[3px] after:w-sm", n(e.color)])
572
+ g("div", {
573
+ class: b(["hamburger__icon relative h-[3px] w-sm transition-all duration-300 ease-linear before:h-[3px] before:w-sm after:h-[3px] after:w-sm", i(e.color)])
568
574
  }, null, 2)
569
- ], 10, St));
575
+ ], 10, Nt));
570
576
  }
571
- }), q = /* @__PURE__ */ N(Et, [["__scopeId", "data-v-b0ec6d90"]]), Nt = { class: "mx-xs flex flex-wrap items-center justify-between py-xs align-middle sm:max-w-[640px] md:mx-sm md:max-w-[768px] md:py-2xs lg:max-w-[1024px] xl:max-w-[1280px] 2xl:max-w-[1536px]" }, Ht = { class: "min-h-[24px]" }, Gt = { class: "ml-auto" }, _t = {
577
+ }), J = /* @__PURE__ */ H(Gt, [["__scopeId", "data-v-5904b04a"]]), zt = ["aria-label"], Mt = { class: "min-h-[24px]" }, jt = { class: "ml-auto" }, Wt = {
572
578
  key: 0,
573
579
  class: "hidden lg:block"
574
- }, zt = { class: "overflow-hidden lg:hidden" }, jt = {
580
+ }, _t = { class: "overflow-hidden lg:hidden" }, Ft = {
575
581
  key: 0,
576
582
  class: "overflow-hidden"
577
- }, Wt = { key: 0 }, Mt = /* @__PURE__ */ O({
583
+ }, Pt = { key: 0 }, Xt = /* @__PURE__ */ $({
578
584
  __name: "HeaderHorizontal",
579
585
  props: {
580
586
  bgColor: { default: "light-1" },
587
+ navLabel: { default: "Main" },
588
+ menuLabel: { default: "Menu" },
581
589
  mobileMenuBgColor: { default: "light-2" },
582
590
  drawerBtnColor: { default: "dark-1" },
583
591
  showDrawerBorder: { type: Boolean, default: !0 },
@@ -587,176 +595,187 @@ const Co = (e, t) => {
587
595
  },
588
596
  emits: ["toggle-drawer"],
589
597
  setup(e, { expose: t, emit: u }) {
590
- const d = e, a = z(), c = w(!1), { y: s } = pt(), n = u, o = () => {
591
- c.value = !1;
598
+ const s = e, o = M(), d = w(!1), { y: l } = Ct(), i = u, a = () => {
599
+ d.value = !1;
592
600
  }, r = (x) => {
593
- c.value = !c.value, n("toggle-drawer", x, c.value);
601
+ d.value = !d.value, i("toggle-drawer", x, d.value);
594
602
  }, f = (x) => {
595
603
  x.style.height = "auto";
596
- const V = getComputedStyle(x).height;
597
- x.style.height = "0px", x.offsetHeight, x.style.height = V;
604
+ const I = getComputedStyle(x).height;
605
+ x.style.height = "0px", x.offsetHeight, x.style.height = I;
598
606
  }, p = (x) => {
599
607
  x.style.height = "auto";
600
- }, b = (x) => {
608
+ }, h = (x) => {
601
609
  x.style.height = getComputedStyle(x).height, x.offsetHeight, x.style.height = "0px";
602
- }, v = B(() => {
603
- const { bgColor: x, sticky: V } = d, T = [
604
- C.bgColorVariant({ color: x })
610
+ }, m = R(() => {
611
+ const { bgColor: x, sticky: I } = s, V = [
612
+ y.bgColorVariant({ color: x })
605
613
  ];
606
- return V === "all" ? (T.push("sticky top-0"), T.join(" ")) : V === "tablet" ? (T.push("md:sticky top-0"), T.join(" ")) : (V === "pc" && T.push("lg:sticky top-0"), T.join(" "));
607
- }), I = B(() => {
608
- const { fadeInOnScroll: x, scrollDistance: V } = d;
609
- return x ? s.value >= V ? "lg:shadow-md bg-opacity-70" : "bg-opacity-100" : "";
614
+ return I === "all" ? (V.push("sticky top-0"), V.join(" ")) : I === "tablet" ? (V.push("md:sticky top-0"), V.join(" ")) : (I === "pc" && V.push("lg:sticky top-0"), V.join(" "));
615
+ }), L = R(() => {
616
+ const { fadeInOnScroll: x, scrollDistance: I } = s;
617
+ return x ? l.value >= I ? "lg:shadow-md bg-opacity-70" : "bg-opacity-100" : "";
610
618
  });
611
619
  return t({
612
- headerClose: o
613
- }), (x, V) => (l(), i("header", {
614
- class: h(["z-50 w-full items-center transition delay-150 duration-500 ease-in", [I.value, v.value]])
620
+ headerClose: a
621
+ }), (x, I) => (n(), c("header", {
622
+ class: b(["z-50 w-full items-center transition delay-150 duration-500 ease-in", [L.value, m.value]])
615
623
  }, [
616
- m("nav", Nt, [
617
- m("div", Ht, [
618
- y(x.$slots, "content", {}, void 0, !0)
624
+ g("nav", {
625
+ "aria-label": e.navLabel,
626
+ class: "mx-xs flex flex-wrap items-center justify-between py-xs align-middle sm:max-w-[640px] md:mx-sm md:max-w-[768px] md:py-2xs lg:max-w-[1024px] xl:max-w-[1280px] 2xl:max-w-[1536px]"
627
+ }, [
628
+ g("div", Mt, [
629
+ C(x.$slots, "content", {}, void 0, !0)
619
630
  ]),
620
- m("div", Gt, [
621
- D(q, {
631
+ g("div", jt, [
632
+ D(J, {
633
+ label: e.menuLabel,
622
634
  color: e.drawerBtnColor,
623
635
  "show-border": e.showDrawerBorder,
624
636
  class: "block lg:hidden",
625
637
  onHbgClick: r,
626
- toggle: c.value,
638
+ toggle: d.value,
627
639
  "bg-color": e.bgColor
628
- }, null, 8, ["color", "show-border", "toggle", "bg-color"]),
629
- a["content-right"] ? (l(), i("div", _t, [
630
- y(x.$slots, "content-right", {}, void 0, !0)
631
- ])) : g("", !0)
640
+ }, null, 8, ["label", "color", "show-border", "toggle", "bg-color"]),
641
+ o["content-right"] ? (n(), c("div", Wt, [
642
+ C(x.$slots, "content-right", {}, void 0, !0)
643
+ ])) : v("", !0)
632
644
  ])
633
- ]),
634
- m("div", zt, [
645
+ ], 8, zt),
646
+ g("div", _t, [
635
647
  D(A, {
636
648
  name: "collapse",
637
649
  onEnter: f,
638
650
  onAfterEnter: p,
639
- onLeave: b
651
+ onLeave: h
640
652
  }, {
641
653
  default: S(() => [
642
- c.value ? (l(), i("div", jt, [
643
- m("div", {
644
- class: h(["mx-xs my-2xs overflow-hidden rounded-md bg-opacity-80", k(C).bgColorVariant({ color: e.mobileMenuBgColor })])
654
+ d.value ? (n(), c("div", Ft, [
655
+ g("div", {
656
+ class: b(["mx-xs my-2xs overflow-hidden rounded-md bg-opacity-80", k(y).bgColorVariant({ color: e.mobileMenuBgColor })])
645
657
  }, [
646
- a["mobile-content"] ? (l(), i("div", Wt, [
647
- y(x.$slots, "mobile-content", { headerClose: o }, void 0, !0)
648
- ])) : g("", !0)
658
+ o["mobile-content"] ? (n(), c("div", Pt, [
659
+ C(x.$slots, "mobile-content", { headerClose: a }, void 0, !0)
660
+ ])) : v("", !0)
649
661
  ], 2)
650
- ])) : g("", !0)
662
+ ])) : v("", !0)
651
663
  ]),
652
664
  _: 3
653
665
  })
654
666
  ])
655
667
  ], 2));
656
668
  }
657
- }), $o = /* @__PURE__ */ N(Mt, [["__scopeId", "data-v-13a13d88"]]), Ft = { class: "flex h-full flex-col justify-between" }, Xt = { key: 0 }, Pt = {
669
+ }), To = /* @__PURE__ */ H(Xt, [["__scopeId", "data-v-3b12c474"]]), Yt = ["aria-label"], Ut = { class: "flex h-full flex-col justify-between" }, Kt = { key: 0 }, qt = {
658
670
  key: 0,
659
671
  class: "fixed top-0 right-0 z-50 mt-xs mr-xs block lg:hidden"
660
- }, Yt = { class: "relative z-40 block lg:hidden" }, Ut = {
672
+ }, Jt = { class: "relative z-40 block lg:hidden" }, Qt = {
661
673
  key: 0,
662
674
  class: "fixed top-0 right-0 z-50 mt-xs mr-xs block lg:hidden"
663
- }, Kt = {
675
+ }, Zt = ["aria-label"], eo = {
664
676
  key: 0,
665
677
  class: "h-full"
666
- }, qt = /* @__PURE__ */ O({
678
+ }, to = /* @__PURE__ */ $({
667
679
  __name: "HeaderVertical",
668
680
  props: {
669
681
  bgColor: { default: "light-1" },
682
+ navLabel: { default: "Main" },
683
+ menuLabel: { default: "Menu" },
670
684
  drawerBtnColor: { default: "dark-1" },
671
685
  showDrawerBorder: { type: Boolean, default: !0 },
672
686
  headerWidth: { default: 160 }
673
687
  },
674
688
  emits: ["toggle-drawer"],
675
689
  setup(e, { expose: t, emit: u }) {
676
- const d = e, a = z(), c = u, s = w(!1), n = w(!1), o = (p) => {
677
- s.value = !s.value, c("toggle-drawer", p, s.value);
690
+ const s = e, o = M(), d = u, l = w(!1), i = w(!1), a = (p) => {
691
+ l.value = !l.value, d("toggle-drawer", p, l.value);
678
692
  }, r = () => {
679
- s.value = !1;
680
- }, f = B(() => ({ "--header-width": `${d.headerWidth}px` }));
693
+ l.value = !1;
694
+ }, f = R(() => ({ "--header-width": `${s.headerWidth}px` }));
681
695
  return F(() => {
682
- n.value = !0;
683
- const p = Ct(document);
684
- E(s, (b) => {
685
- p.value = b;
696
+ i.value = !0;
697
+ const p = wt(document);
698
+ E(l, (h) => {
699
+ p.value = h;
686
700
  });
687
701
  }), t({
688
702
  headerClose: r
689
- }), (p, b) => (l(), i("header", {
703
+ }), (p, h) => (n(), c("header", {
690
704
  class: "relative",
691
705
  style: W(f.value)
692
706
  }, [
693
- m("nav", {
694
- class: h(["header-desktop hidden overflow-y-scroll overscroll-contain py-sm lg:sticky lg:top-0 lg:left-0 lg:block lg:h-[100vh]", [k(C).bgColorVariant({ color: e.bgColor })]])
707
+ g("nav", {
708
+ "aria-label": e.navLabel,
709
+ class: b(["header-desktop hidden overflow-y-scroll overscroll-contain py-sm lg:sticky lg:top-0 lg:left-0 lg:block lg:h-[100vh]", [k(y).bgColorVariant({ color: e.bgColor })]])
695
710
  }, [
696
- m("div", Ft, [
697
- m("div", null, [
698
- y(p.$slots, "content", {}, void 0, !0)
711
+ g("div", Ut, [
712
+ g("div", null, [
713
+ C(p.$slots, "content", {}, void 0, !0)
699
714
  ]),
700
- a["content-bottom"] ? (l(), i("div", Xt, [
701
- y(p.$slots, "content-bottom", {}, void 0, !0)
702
- ])) : g("", !0)
715
+ o["content-bottom"] ? (n(), c("div", Kt, [
716
+ C(p.$slots, "content-bottom", {}, void 0, !0)
717
+ ])) : v("", !0)
703
718
  ])
704
- ], 2),
705
- a["mobile-content"] && !n.value ? (l(), i("div", Pt, [
706
- D(q, {
719
+ ], 10, Yt),
720
+ o["mobile-content"] && !i.value ? (n(), c("div", qt, [
721
+ D(J, {
722
+ label: e.menuLabel,
707
723
  color: e.drawerBtnColor,
708
724
  "show-border": e.showDrawerBorder,
709
725
  class: "relative block lg:hidden",
710
- onHbgClick: o,
711
- toggle: s.value,
726
+ onHbgClick: a,
727
+ toggle: l.value,
712
728
  "bg-color": e.bgColor
713
- }, null, 8, ["color", "show-border", "toggle", "bg-color"])
714
- ])) : g("", !0),
715
- n.value ? (l(), X(mt, {
729
+ }, null, 8, ["label", "color", "show-border", "toggle", "bg-color"])
730
+ ])) : v("", !0),
731
+ i.value ? (n(), P(pt, {
716
732
  key: 1,
717
733
  to: "body"
718
734
  }, [
719
- m("div", Yt, [
720
- a["mobile-content"] ? (l(), i("div", Ut, [
721
- D(q, {
735
+ g("div", Jt, [
736
+ o["mobile-content"] ? (n(), c("div", Qt, [
737
+ D(J, {
738
+ label: e.menuLabel,
722
739
  color: e.drawerBtnColor,
723
740
  "show-border": e.showDrawerBorder,
724
741
  class: "relative block lg:hidden",
725
- onHbgClick: o,
726
- toggle: s.value,
742
+ onHbgClick: a,
743
+ toggle: l.value,
727
744
  "bg-color": e.bgColor
728
- }, null, 8, ["color", "show-border", "toggle", "bg-color"])
729
- ])) : g("", !0),
745
+ }, null, 8, ["label", "color", "show-border", "toggle", "bg-color"])
746
+ ])) : v("", !0),
730
747
  D(A, {
731
748
  name: "slide-down",
732
749
  appear: ""
733
750
  }, {
734
751
  default: S(() => [
735
- s.value ? (l(), i("nav", {
752
+ l.value ? (n(), c("nav", {
736
753
  key: 0,
737
- class: h(["fixed inset-0 overflow-y-scroll overscroll-contain px-sm py-lg", k(C).bgColorVariant({ color: e.bgColor })])
754
+ "aria-label": e.navLabel,
755
+ class: b(["fixed inset-0 overflow-y-scroll overscroll-contain px-sm py-lg", k(y).bgColorVariant({ color: e.bgColor })])
738
756
  }, [
739
- a["mobile-content"] ? (l(), i("div", Kt, [
740
- y(p.$slots, "mobile-content", { headerClose: r }, void 0, !0)
741
- ])) : g("", !0)
742
- ], 2)) : g("", !0)
757
+ o["mobile-content"] ? (n(), c("div", eo, [
758
+ C(p.$slots, "mobile-content", { headerClose: r }, void 0, !0)
759
+ ])) : v("", !0)
760
+ ], 10, Zt)) : v("", !0)
743
761
  ]),
744
762
  _: 3
745
763
  })
746
764
  ])
747
- ])) : g("", !0)
765
+ ])) : v("", !0)
748
766
  ], 4));
749
767
  }
750
- }), To = /* @__PURE__ */ N(qt, [["__scopeId", "data-v-ebabc502"]]), Jt = ["visible"], Qt = ["aria-labelledby"], Zt = {
768
+ }), Do = /* @__PURE__ */ H(to, [["__scopeId", "data-v-7325b802"]]), oo = ["visible"], ao = {
751
769
  key: 0,
752
770
  class: "sticky top-0"
753
- }, eo = ["id"], to = {
771
+ }, lo = ["id"], so = {
754
772
  key: 1,
755
773
  class: "sticky bottom-0"
756
- }, oo = /* @__PURE__ */ O({
774
+ }, ro = /* @__PURE__ */ $({
757
775
  __name: "Modal",
758
776
  props: {
759
777
  title: {},
778
+ ariaLabel: {},
760
779
  titleColor: { default: "dark-3" },
761
780
  customClass: { default: "" },
762
781
  visible: { type: Boolean, default: !1 },
@@ -769,155 +788,164 @@ const Co = (e, t) => {
769
788
  },
770
789
  emits: ["open", "close"],
771
790
  setup(e, { expose: t, emit: u }) {
772
- const d = e, a = z(), c = u, s = w(), n = w(), o = w(d.visible), r = w(!1), f = ee();
773
- let p = null;
774
- const { activate: b, deactivate: v } = se(
775
- n,
791
+ const s = e, o = M(), d = u, l = w(), i = w(), a = w(s.visible), r = w(!1), f = te(), p = () => s.showHeader && (o.header ? !s.ariaLabel : !!s.title) ? { "aria-labelledby": f } : { "aria-label": s.ariaLabel };
792
+ let h = null;
793
+ const { activate: m, deactivate: L } = re(
794
+ i,
776
795
  // Trap Tab focus only. Without allowOutsideClick the trap cancels every
777
796
  // click outside the dialog, including the backdrop's own @click (#104).
778
- { immediate: !1, allowOutsideClick: !0 }
779
- ), I = () => {
780
- o.value = !o.value;
781
- }, x = () => {
782
- o.value = !0;
797
+ // Escape closes the dialog; closing releases the trap and restores focus.
798
+ // Letting the trap handle Escape itself left the dialog open, untrapped (#110).
799
+ {
800
+ immediate: !1,
801
+ allowOutsideClick: !0,
802
+ escapeDeactivates: () => (V(), !1)
803
+ }
804
+ ), x = () => {
805
+ a.value = !a.value;
806
+ }, I = () => {
807
+ a.value = !0;
783
808
  }, V = () => {
784
- r.value === !0 && (o.value = !1);
809
+ r.value === !0 && (a.value = !1);
810
+ }, X = () => {
811
+ d("open", !0);
785
812
  }, T = () => {
786
- c("open", !0);
787
- }, L = () => {
788
- c("close", !1);
789
- }, P = B(() => {
790
- const R = {
813
+ d("close", !1);
814
+ }, Y = R(() => {
815
+ const B = {
791
816
  top: 25,
792
817
  center: 50,
793
818
  bottom: 75
794
- }, { placement: H } = d;
795
- return { "--vertical-placement": (R[H] ?? R.center) + "%" };
796
- }), Y = B(() => {
797
- const { width: R } = d, H = {
819
+ }, { placement: N } = s;
820
+ return { "--vertical-placement": (B[N] ?? B.center) + "%" };
821
+ }), U = R(() => {
822
+ const { width: B } = s, N = {
798
823
  small: "max-w-[28rem]",
799
824
  medium: "max-w-[28rem] md:max-w-[36rem]",
800
825
  large: "max-w-[28rem] md:max-w-[56rem]"
801
826
  };
802
- return H[R] ?? H.small;
803
- }), M = () => {
804
- r.value = !0, n.value && b();
805
- }, U = () => {
827
+ return N[B] ?? N.small;
828
+ }), _ = () => {
829
+ r.value = !0, i.value && m();
830
+ }, K = () => {
806
831
  r.value = !1;
807
832
  };
808
833
  return F(() => {
809
- o.value && !r.value && M();
810
- }), oe(s, (R = !1) => {
811
- o.value = R;
834
+ a.value && !r.value && _();
835
+ }), le(l, (B = !1) => {
836
+ a.value = B;
812
837
  }), E(
813
- () => d.visible,
814
- (R) => {
815
- o.value = R;
838
+ () => s.visible,
839
+ (B) => {
840
+ a.value = B;
816
841
  }
817
- ), E(o, (R) => {
818
- R === !0 ? (typeof document < "u" && (p = document.activeElement), T()) : R === !1 && (v(), p?.focus(), p = null, r.value === !0 && L());
819
- }), ae(o), t({
820
- toggle: I,
842
+ ), E(a, (B) => {
843
+ B === !0 ? (typeof document < "u" && (h = document.activeElement), X()) : B === !1 && (L(), h?.focus(), h = null, r.value === !0 && T());
844
+ }), se(a), t({
845
+ toggle: x,
821
846
  close: V,
822
- open: x
823
- }), (R, H) => (l(), i("div", {
824
- style: W(P.value),
825
- visible: o.value,
847
+ open: I
848
+ }), (B, N) => (n(), c("div", {
849
+ style: W(Y.value),
850
+ visible: a.value,
826
851
  ref_key: "modalRef",
827
- ref: s
852
+ ref: l
828
853
  }, [
829
- e.showBackdrop ? (l(), X(A, {
854
+ e.showBackdrop ? (n(), P(A, {
830
855
  key: 0,
831
856
  name: "fade",
832
857
  appear: "",
833
858
  tag: "div"
834
859
  }, {
835
860
  default: S(() => [
836
- o.value ? (l(), i("section", {
861
+ a.value ? (n(), c("section", {
837
862
  key: 0,
838
863
  onClick: V,
839
864
  "aria-hidden": "true",
840
- class: h(["fixed inset-0 z-[100] overflow-y-auto backdrop-blur bg-opacity-70", k(C).bgColorVariant({ color: e.backdropColor })])
841
- }, null, 2)) : g("", !0)
865
+ class: b(["fixed inset-0 z-[100] overflow-y-auto backdrop-blur bg-opacity-70", k(y).bgColorVariant({ color: e.backdropColor })])
866
+ }, null, 2)) : v("", !0)
842
867
  ]),
843
868
  _: 1
844
- })) : g("", !0),
869
+ })) : v("", !0),
845
870
  D(A, {
846
871
  name: "slide-down",
847
872
  tag: "div",
848
- onAfterEnter: M,
849
- onAfterLeave: U,
873
+ onAfterEnter: _,
874
+ onAfterLeave: K,
850
875
  appear: ""
851
876
  }, {
852
877
  default: S(() => [
853
- o.value ? (l(), i("div", {
878
+ a.value ? (n(), c("div", {
854
879
  key: 0,
855
- class: h(["vertical-placement fixed z-[110] w-full px-xs", Y.value])
880
+ class: b(["vertical-placement fixed z-[110] w-full px-xs", U.value])
856
881
  }, [
857
- _((l(), i("div", {
882
+ z((n(), c("div", ae({
858
883
  ref_key: "dialogRef",
859
- ref: n,
884
+ ref: i,
860
885
  role: "dialog",
861
- "aria-modal": "true",
862
- "aria-labelledby": e.title ? k(f) : void 0,
863
- class: h([[k(C).bgColorVariant({ color: e.color }), e.customClass], "relative max-h-[80vh] overflow-y-scroll overscroll-contain md:max-h-[60vh]"])
864
- }, [
865
- e.showHeader ? (l(), i("div", Zt, [
866
- y(R.$slots, "header", {
886
+ "aria-modal": "true"
887
+ }, p(), {
888
+ class: [[k(y).bgColorVariant({ color: e.color }), e.customClass], "relative max-h-[80vh] overflow-y-scroll overscroll-contain md:max-h-[60vh]"]
889
+ }), [
890
+ e.showHeader ? (n(), c("div", ao, [
891
+ C(B.$slots, "header", {
867
892
  close: V,
868
- status: o.value
893
+ status: a.value,
894
+ titleId: k(f)
869
895
  }, () => [
870
- m("div", {
871
- class: h(["flex items-center justify-between border-b-2 border-b-light-4 p-xs", k(C).bgColorVariant({ color: e.color })])
896
+ g("div", {
897
+ class: b(["flex items-center justify-between border-b-2 border-b-light-4 p-xs", k(y).bgColorVariant({ color: e.color })])
872
898
  }, [
873
- e.title ? (l(), i("h3", {
899
+ e.title ? (n(), c("h3", {
874
900
  key: 0,
875
901
  id: k(f),
876
- class: h(["h3-md", k(C).textColorVariant({ color: e.titleColor })])
877
- }, j(e.title), 11, eo)) : g("", !0),
878
- m("button", {
902
+ class: b(["h3-md", k(y).textColorVariant({ color: e.titleColor })])
903
+ }, j(e.title), 11, lo)) : v("", !0),
904
+ g("button", {
879
905
  type: "button",
880
906
  "aria-label": "Close",
881
907
  onClick: V
882
908
  }, [
883
- (l(), i("svg", {
909
+ (n(), c("svg", {
910
+ focusable: "false",
884
911
  xmlns: "http://www.w3.org/2000/svg",
885
912
  height: "1em",
886
913
  viewBox: "0 0 384 512",
887
914
  "aria-hidden": "true",
888
- class: h(["h-sm transition-opacity duration-300 ease-in hover:opacity-75 focus:opacity-75", [
889
- k(C).svgFillColorVariant({ color: e.titleColor })
915
+ class: b(["h-sm transition-opacity duration-300 ease-in hover:opacity-75 focus:opacity-75", [
916
+ k(y).svgFillColorVariant({ color: e.titleColor })
890
917
  ]])
891
- }, [...H[0] || (H[0] = [
892
- m("path", { d: "M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z" }, null, -1)
918
+ }, [...N[0] || (N[0] = [
919
+ g("path", { d: "M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z" }, null, -1)
893
920
  ])], 2))
894
921
  ])
895
922
  ], 2)
896
923
  ], !0)
897
- ])) : g("", !0),
898
- y(R.$slots, "body", {
924
+ ])) : v("", !0),
925
+ C(B.$slots, "body", {
899
926
  close: V,
900
- status: o.value
927
+ status: a.value
901
928
  }, void 0, !0),
902
- a.footer ? (l(), i("div", to, [
903
- y(R.$slots, "footer", {
929
+ o.footer ? (n(), c("div", so, [
930
+ C(B.$slots, "footer", {
904
931
  close: V,
905
- status: o.value
932
+ status: a.value
906
933
  }, void 0, !0)
907
- ])) : g("", !0)
908
- ], 10, Qt)), [
909
- [k(te), V]
934
+ ])) : v("", !0)
935
+ ], 16)), [
936
+ [k(oe), V]
910
937
  ])
911
- ], 2)) : g("", !0)
938
+ ], 2)) : v("", !0)
912
939
  ]),
913
940
  _: 3
914
941
  })
915
- ], 12, Jt));
942
+ ], 12, oo));
916
943
  }
917
- }), Io = /* @__PURE__ */ N(oo, [["__scopeId", "data-v-c9b9db1b"]]), ao = ["visible"], so = ["aria-labelledby"], ro = ["id"], lo = { class: "sidebar-body-height" }, no = /* @__PURE__ */ O({
944
+ }), Ao = /* @__PURE__ */ H(ro, [["__scopeId", "data-v-ea332268"]]), no = ["visible"], io = ["id"], co = { class: "sidebar-body-height" }, uo = /* @__PURE__ */ $({
918
945
  __name: "Sidebar",
919
946
  props: {
920
947
  title: {},
948
+ ariaLabel: {},
921
949
  titleColor: { default: "dark-3" },
922
950
  customClass: { default: "" },
923
951
  visible: { type: Boolean, default: !1 },
@@ -930,175 +958,184 @@ const Co = (e, t) => {
930
958
  },
931
959
  emits: ["open", "close"],
932
960
  setup(e, { expose: t, emit: u }) {
933
- const d = e, a = z(), c = u, s = w(d.visible), n = w(!1), o = w(), r = w(), f = w(), p = w(), b = ee();
934
- let v = null;
935
- const { activate: I, deactivate: x } = se(
961
+ const s = e, o = M(), d = u, l = w(s.visible), i = w(!1), a = w(), r = w(), f = w(), p = w(), h = te(), m = () => s.showHeader && (o.header ? !s.ariaLabel : !!s.title) ? { "aria-labelledby": h } : { "aria-label": s.ariaLabel };
962
+ let L = null;
963
+ const { activate: x, deactivate: I } = re(
936
964
  r,
937
965
  // Trap Tab focus only. Without allowOutsideClick the trap cancels every
938
966
  // click outside the dialog, including the backdrop's own @click (#104).
939
- { immediate: !1, allowOutsideClick: !0 }
967
+ // Escape closes the dialog; closing releases the trap and restores focus.
968
+ // Letting the trap handle Escape itself left the dialog open, untrapped (#110).
969
+ {
970
+ immediate: !1,
971
+ allowOutsideClick: !0,
972
+ escapeDeactivates: () => (T(), !1)
973
+ }
940
974
  ), V = () => {
941
- s.value = !s.value;
975
+ l.value = !l.value;
976
+ }, X = () => {
977
+ l.value = !0;
942
978
  }, T = () => {
943
- s.value = !0;
944
- }, L = () => {
945
- n.value === !0 && (s.value = !1);
946
- }, P = () => {
947
- c("open", !0);
979
+ i.value === !0 && (l.value = !1);
948
980
  }, Y = () => {
949
- c("close", !1);
950
- }, M = B(() => {
951
- const $ = (G) => G && s.value ? `${G.scrollHeight}px` : "0px";
981
+ d("open", !0);
982
+ }, U = () => {
983
+ d("close", !1);
984
+ }, _ = R(() => {
985
+ const O = (G) => G && l.value ? `${G.scrollHeight}px` : "0px";
952
986
  return {
953
- "--sidebar-width": `${d.width}px`,
954
- "--header-height": $(f.value),
955
- "--footer-height": $(p.value)
987
+ "--sidebar-width": `${s.width}px`,
988
+ "--header-height": O(f.value),
989
+ "--footer-height": O(p.value)
956
990
  };
957
- }), U = B(() => d.placement === "left" ? "sidebar-left" : "sidebar-right"), K = () => {
958
- n.value = !0, r.value && I();
959
- }, R = () => {
960
- n.value = !1;
991
+ }), K = R(() => s.placement === "left" ? "sidebar-left" : "sidebar-right"), q = () => {
992
+ i.value = !0, r.value && x();
993
+ }, B = () => {
994
+ i.value = !1;
961
995
  };
962
996
  return F(() => {
963
- s.value && !n.value && K();
964
- }), oe(o, ($ = !1) => {
965
- s.value = $;
997
+ l.value && !i.value && q();
998
+ }), le(a, (O = !1) => {
999
+ l.value = O;
966
1000
  }), E(
967
- () => d.visible,
968
- ($) => {
969
- s.value = $;
1001
+ () => s.visible,
1002
+ (O) => {
1003
+ l.value = O;
970
1004
  }
971
- ), E(s, ($) => {
972
- $ === !0 ? (typeof document < "u" && (v = document.activeElement), P()) : $ === !1 && (x(), v?.focus(), v = null, n.value === !0 && Y());
973
- }), ae(s), t({
1005
+ ), E(l, (O) => {
1006
+ O === !0 ? (typeof document < "u" && (L = document.activeElement), Y()) : O === !1 && (I(), L?.focus(), L = null, i.value === !0 && U());
1007
+ }), se(l), t({
974
1008
  toggle: V,
975
- open: T,
976
- close: L
977
- }), ($, G) => (l(), i("div", {
978
- style: W(M.value),
979
- visible: s.value,
1009
+ open: X,
1010
+ close: T
1011
+ }), (O, G) => (n(), c("div", {
1012
+ style: W(_.value),
1013
+ visible: l.value,
980
1014
  ref_key: "sidebarRef",
981
- ref: o
1015
+ ref: a
982
1016
  }, [
983
- e.showBackdrop ? (l(), X(A, {
1017
+ e.showBackdrop ? (n(), P(A, {
984
1018
  key: 0,
985
1019
  name: "fade",
986
1020
  appear: "",
987
1021
  tag: "div"
988
1022
  }, {
989
1023
  default: S(() => [
990
- s.value ? (l(), i("section", {
1024
+ l.value ? (n(), c("section", {
991
1025
  key: 0,
992
- onClick: L,
1026
+ onClick: T,
993
1027
  "aria-hidden": "true",
994
- class: h(["fixed inset-0 z-[100] overflow-y-auto backdrop-blur bg-opacity-70", k(C).bgColorVariant({ color: e.backdropColor })])
995
- }, null, 2)) : g("", !0)
1028
+ class: b(["fixed inset-0 z-[100] overflow-y-auto backdrop-blur bg-opacity-70", k(y).bgColorVariant({ color: e.backdropColor })])
1029
+ }, null, 2)) : v("", !0)
996
1030
  ]),
997
1031
  _: 1
998
- })) : g("", !0),
1032
+ })) : v("", !0),
999
1033
  D(A, {
1000
- name: U.value,
1001
- onAfterEnter: K,
1002
- onAfterLeave: R,
1034
+ name: K.value,
1035
+ onAfterEnter: q,
1036
+ onAfterLeave: B,
1003
1037
  appear: ""
1004
1038
  }, {
1005
1039
  default: S(() => [
1006
- s.value ? _((l(), i("div", {
1040
+ l.value ? z((n(), c("div", ae({
1007
1041
  key: 0,
1008
1042
  ref_key: "dialogRef",
1009
1043
  ref: r,
1010
1044
  role: "dialog",
1011
- "aria-modal": "true",
1012
- "aria-labelledby": e.title ? k(b) : void 0,
1013
- class: h(["sidebar-body fixed inset-y-0 z-[110] h-full overflow-hidden shadow", [e.placement === "left" ? "left-0" : "right-0"]])
1014
- }, [
1015
- m("div", {
1016
- class: h(["relative h-full overflow-y-scroll overscroll-contain", [k(C).bgColorVariant({ color: e.color }), e.customClass]])
1045
+ "aria-modal": "true"
1046
+ }, m(), {
1047
+ class: ["sidebar-body fixed inset-y-0 z-[110] h-full overflow-hidden shadow", [e.placement === "left" ? "left-0" : "right-0"]]
1048
+ }), [
1049
+ g("div", {
1050
+ class: b(["relative h-full overflow-y-scroll overscroll-contain", [k(y).bgColorVariant({ color: e.color }), e.customClass]])
1017
1051
  }, [
1018
- e.showHeader ? (l(), i("div", {
1052
+ e.showHeader ? (n(), c("div", {
1019
1053
  key: 0,
1020
1054
  class: "sticky top-0 z-10",
1021
1055
  ref_key: "headerRef",
1022
1056
  ref: f
1023
1057
  }, [
1024
- y($.$slots, "header", {
1025
- close: L,
1026
- status: s.value
1058
+ C(O.$slots, "header", {
1059
+ close: T,
1060
+ status: l.value,
1061
+ titleId: k(h)
1027
1062
  }, () => [
1028
- m("div", {
1029
- class: h(["flex items-center justify-between p-xs", k(C).bgColorVariant({ color: e.color })])
1063
+ g("div", {
1064
+ class: b(["flex items-center justify-between p-xs", k(y).bgColorVariant({ color: e.color })])
1030
1065
  }, [
1031
- e.placement === "right" ? (l(), i("button", {
1066
+ e.placement === "right" ? (n(), c("button", {
1032
1067
  key: 0,
1033
1068
  type: "button",
1034
1069
  "aria-label": "Close",
1035
- onClick: L
1070
+ onClick: T
1036
1071
  }, [
1037
- (l(), i("svg", {
1072
+ (n(), c("svg", {
1073
+ focusable: "false",
1038
1074
  xmlns: "http://www.w3.org/2000/svg",
1039
1075
  height: "1em",
1040
1076
  viewBox: "0 0 384 512",
1041
1077
  "aria-hidden": "true",
1042
- class: h(["h-sm transition-opacity duration-300 ease-in hover:opacity-75 focus:opacity-75", [
1043
- k(C).svgFillColorVariant({ color: e.titleColor })
1078
+ class: b(["h-sm transition-opacity duration-300 ease-in hover:opacity-75 focus:opacity-75", [
1079
+ k(y).svgFillColorVariant({ color: e.titleColor })
1044
1080
  ]])
1045
1081
  }, [...G[0] || (G[0] = [
1046
- m("path", { d: "M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z" }, null, -1)
1082
+ g("path", { d: "M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z" }, null, -1)
1047
1083
  ])], 2))
1048
- ])) : g("", !0),
1049
- e.title ? (l(), i("h3", {
1084
+ ])) : v("", !0),
1085
+ e.title ? (n(), c("h3", {
1050
1086
  key: 1,
1051
- id: k(b),
1052
- class: h(["h3-md", k(C).textColorVariant({ color: e.titleColor })])
1053
- }, j(e.title), 11, ro)) : g("", !0),
1054
- e.placement === "left" ? (l(), i("button", {
1087
+ id: k(h),
1088
+ class: b(["h3-md", k(y).textColorVariant({ color: e.titleColor })])
1089
+ }, j(e.title), 11, io)) : v("", !0),
1090
+ e.placement === "left" ? (n(), c("button", {
1055
1091
  key: 2,
1056
1092
  type: "button",
1057
1093
  "aria-label": "Close",
1058
- onClick: L
1094
+ onClick: T
1059
1095
  }, [
1060
- (l(), i("svg", {
1096
+ (n(), c("svg", {
1097
+ focusable: "false",
1061
1098
  xmlns: "http://www.w3.org/2000/svg",
1062
1099
  height: "1em",
1063
1100
  viewBox: "0 0 384 512",
1064
1101
  "aria-hidden": "true",
1065
- class: h(["h-sm transition-opacity duration-300 ease-in hover:opacity-75 focus:opacity-75", [
1066
- k(C).svgFillColorVariant({ color: e.titleColor })
1102
+ class: b(["h-sm transition-opacity duration-300 ease-in hover:opacity-75 focus:opacity-75", [
1103
+ k(y).svgFillColorVariant({ color: e.titleColor })
1067
1104
  ]])
1068
1105
  }, [...G[1] || (G[1] = [
1069
- m("path", { d: "M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z" }, null, -1)
1106
+ g("path", { d: "M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z" }, null, -1)
1070
1107
  ])], 2))
1071
- ])) : g("", !0)
1108
+ ])) : v("", !0)
1072
1109
  ], 2)
1073
1110
  ], !0)
1074
- ], 512)) : g("", !0),
1075
- m("div", lo, [
1076
- y($.$slots, "body", {
1077
- close: L,
1078
- status: s.value
1111
+ ], 512)) : v("", !0),
1112
+ g("div", co, [
1113
+ C(O.$slots, "body", {
1114
+ close: T,
1115
+ status: l.value
1079
1116
  }, void 0, !0)
1080
1117
  ]),
1081
- a.footer ? (l(), i("div", {
1118
+ o.footer ? (n(), c("div", {
1082
1119
  key: 1,
1083
1120
  class: "sticky bottom-0",
1084
1121
  ref_key: "footerRef",
1085
1122
  ref: p
1086
1123
  }, [
1087
- y($.$slots, "footer", {
1088
- close: L,
1089
- status: s.value
1124
+ C(O.$slots, "footer", {
1125
+ close: T,
1126
+ status: l.value
1090
1127
  }, void 0, !0)
1091
- ], 512)) : g("", !0)
1128
+ ], 512)) : v("", !0)
1092
1129
  ], 2)
1093
- ], 10, so)), [
1094
- [k(te), L]
1095
- ]) : g("", !0)
1130
+ ], 16)), [
1131
+ [k(oe), T]
1132
+ ]) : v("", !0)
1096
1133
  ]),
1097
1134
  _: 3
1098
1135
  }, 8, ["name"])
1099
- ], 12, ao));
1136
+ ], 12, no));
1100
1137
  }
1101
- }), Lo = /* @__PURE__ */ N(no, [["__scopeId", "data-v-80a7a8d2"]]), ne = /* @__PURE__ */ Symbol(), io = { class: "container-hts grid grid-cols-1 grid-rows-1 transition-[max-height] duration-300" }, co = /* @__PURE__ */ O({
1138
+ }), So = /* @__PURE__ */ H(uo, [["__scopeId", "data-v-6f379e4b"]]), ce = /* @__PURE__ */ Symbol(), fo = { class: "container-hts grid grid-cols-1 grid-rows-1 transition-[max-height] duration-300" }, ho = /* @__PURE__ */ $({
1102
1139
  __name: "TabContainer",
1103
1140
  props: {
1104
1141
  bodyClass: { default: "" },
@@ -1106,48 +1143,48 @@ const Co = (e, t) => {
1106
1143
  contentContainerClass: { default: "" }
1107
1144
  },
1108
1145
  setup(e, { expose: t }) {
1109
- const u = w(0), d = w(0), a = w(!1), c = w("slide-next");
1110
- J(ne, {
1146
+ const u = w(0), s = w(0), o = w(!1), d = w("slide-next");
1147
+ Q(ce, {
1111
1148
  activeTabIdx: u,
1112
- containerHeight: d,
1149
+ containerHeight: s,
1113
1150
  updateHeight: (r) => {
1114
- r > 0 && (a.value = !0), d.value = r;
1151
+ r > 0 && (o.value = !0), s.value = r;
1115
1152
  }
1116
1153
  });
1117
- const n = (r) => {
1154
+ const i = (r) => {
1118
1155
  u.value = r;
1119
- }, o = B(() => a.value ? { "--container-hts": `${d.value}px` } : void 0);
1156
+ }, a = R(() => o.value ? { "--container-hts": `${s.value}px` } : void 0);
1120
1157
  return t({
1121
- update: n
1158
+ update: i
1122
1159
  }), E(
1123
1160
  () => u.value,
1124
1161
  (r, f) => {
1125
- r > f ? c.value = "slide-next" : c.value = "slide-prev";
1162
+ r > f ? d.value = "slide-next" : d.value = "slide-prev";
1126
1163
  }
1127
- ), (r, f) => (l(), i("div", {
1128
- class: h(e.bodyClass),
1129
- style: W(o.value)
1164
+ ), (r, f) => (n(), c("div", {
1165
+ class: b(e.bodyClass),
1166
+ style: W(a.value)
1130
1167
  }, [
1131
- m("div", {
1132
- class: h(e.btnContainerClass),
1168
+ g("div", {
1169
+ class: b(e.btnContainerClass),
1133
1170
  role: "tablist"
1134
1171
  }, [
1135
- y(r.$slots, "tab-button", {
1136
- update: n,
1172
+ C(r.$slots, "tab-button", {
1173
+ update: i,
1137
1174
  activeTab: u.value
1138
1175
  }, void 0, !0)
1139
1176
  ], 2),
1140
- m("div", {
1141
- class: h(e.contentContainerClass)
1177
+ g("div", {
1178
+ class: b(e.contentContainerClass)
1142
1179
  }, [
1143
- m("div", io, [
1144
- D(A, { name: c.value }, {
1180
+ g("div", fo, [
1181
+ D(A, { name: d.value }, {
1145
1182
  default: S(() => [
1146
- (l(), i("div", {
1183
+ (n(), c("div", {
1147
1184
  key: u.value,
1148
1185
  class: "relative col-start-1 col-end-1 row-start-1 row-end-1"
1149
1186
  }, [
1150
- y(r.$slots, "tab-content", {}, void 0, !0)
1187
+ C(r.$slots, "tab-content", {}, void 0, !0)
1151
1188
  ]))
1152
1189
  ]),
1153
1190
  _: 3
@@ -1156,7 +1193,7 @@ const Co = (e, t) => {
1156
1193
  ], 2)
1157
1194
  ], 6));
1158
1195
  }
1159
- }), Do = /* @__PURE__ */ N(co, [["__scopeId", "data-v-2d9322d9"]]), uo = ["id"], Ao = /* @__PURE__ */ O({
1196
+ }), Eo = /* @__PURE__ */ H(ho, [["__scopeId", "data-v-ee1145fc"]]), vo = ["id"], Ho = /* @__PURE__ */ $({
1160
1197
  __name: "TabContent",
1161
1198
  props: {
1162
1199
  tabNumber: {},
@@ -1164,38 +1201,38 @@ const Co = (e, t) => {
1164
1201
  tabClass: { default: "" }
1165
1202
  },
1166
1203
  setup(e) {
1167
- const t = e, { activeTabIdx: u, updateHeight: d } = Q(
1168
- ne
1169
- ), a = w(null), { height: c } = yt(a), s = B(() => u.value === t.tabNumber ? (d(c.value), !0) : !1);
1170
- return (n, o) => _((l(), i("div", {
1204
+ const t = e, { activeTabIdx: u, updateHeight: s } = Z(
1205
+ ce
1206
+ ), o = w(null), { height: d } = xt(o), l = R(() => u.value === t.tabNumber ? (s(d.value), !0) : !1);
1207
+ return (i, a) => z((n(), c("div", {
1171
1208
  ref_key: "slotRef",
1172
- ref: a,
1209
+ ref: o,
1173
1210
  id: e.id,
1174
- class: h([e.tabClass, "w-full"]),
1211
+ class: b([e.tabClass, "w-full"]),
1175
1212
  role: "tabpanel",
1176
1213
  tabindex: "-1"
1177
1214
  }, [
1178
- y(n.$slots, "default")
1179
- ], 10, uo)), [
1180
- [Z, s.value]
1215
+ C(i.$slots, "default")
1216
+ ], 10, vo)), [
1217
+ [ee, l.value]
1181
1218
  ]);
1182
1219
  }
1183
1220
  });
1184
1221
  export {
1185
- yo as AccordionGroup,
1186
- wo as Alert,
1187
- xo as Card,
1188
- ko as CarouselContainer,
1189
- Vo as CarouselContent,
1190
- Bo as Collapse,
1191
- Ro as DropdownContainer,
1192
- Oo as DropdownContent,
1193
- $o as HeaderHorizontal,
1194
- To as HeaderVertical,
1195
- Io as Modal,
1196
- Lo as Sidebar,
1197
- Do as TabContainer,
1198
- Ao as TabContent,
1199
- Co as default,
1200
- C as generateClass
1222
+ ko as AccordionGroup,
1223
+ Vo as Alert,
1224
+ Bo as Card,
1225
+ Ro as CarouselContainer,
1226
+ Oo as CarouselContent,
1227
+ $o as Collapse,
1228
+ Lo as DropdownContainer,
1229
+ Io as DropdownContent,
1230
+ To as HeaderHorizontal,
1231
+ Do as HeaderVertical,
1232
+ Ao as Modal,
1233
+ So as Sidebar,
1234
+ Eo as TabContainer,
1235
+ Ho as TabContent,
1236
+ xo as default,
1237
+ y as generateClass
1201
1238
  };