@bobbykim/manguito-theme 0.23.1 → 0.24.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,10 +1,10 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode(".collapse-enter-active[data-v-5d535dc4],.collapse-leave-active[data-v-5d535dc4]{transition-property:height,opacity;transition-duration:.5s;transition-timing-function:ease}.dropup-bottom[data-v-85c54efe]{bottom:var(--button-height)}.dropdown-content-enter-active[data-v-85c54efe],.dropdown-content-leave-active[data-v-85c54efe]{transition:all .3s}.dropdown-content-enter-from[data-v-85c54efe],.dropdown-content-leave-to[data-v-85c54efe]{opacity:0;transform:translateY(-10px)}.hamburger__icon[data-v-1b9c33a1]:before,.hamburger__icon[data-v-1b9c33a1]:after{position:absolute;left:0;transition:all .3s linear}.hamburger__icon[data-v-1b9c33a1]:before{top:-.5rem}.hamburger__icon[data-v-1b9c33a1]:after{top:.5rem}.hamburger__button:focus .hamburger__icon[data-v-1b9c33a1],.hamburger__button:hover .hamburger__icon[data-v-1b9c33a1]{scale:1.05}.hamburger__checkbox:checked+.hamburger__icon[data-v-1b9c33a1]{background-color:transparent}.hamburger__checkbox:checked+.hamburger__icon[data-v-1b9c33a1]:before{top:0;transform:rotate(135deg)}.hamburger__checkbox:checked+.hamburger__icon[data-v-1b9c33a1]:after{top:0;transform:rotate(-135deg)}.collapse-enter-active[data-v-56d20376]{transition:height .5s ease-in}.collapse-leave-active[data-v-56d20376]{transition:height .5s ease-out}.header-desktop[data-v-c48d5ce1]{width:100%}@media screen and (min-width: 1024px){.header-desktop[data-v-c48d5ce1]{width:var(--header-width)}}.slide-down-enter-active[data-v-c48d5ce1]{transition:transform .3s ease-in .2s,opacity .5s ease-in}.slide-down-leave-active[data-v-c48d5ce1]{transition:transform .5s ease-in,opacity .3s ease-in .2s}.slide-down-enter-from[data-v-c48d5ce1],.slide-down-leave-to[data-v-c48d5ce1]{opacity:0;transform:translateY(-100%)}.vertical-placement[data-v-1302a12c]{top:var(--vertical-placement);left:50%;transform:translateY(calc(-1 * var(--vertical-placement))) translate(-50%)}.fade-enter-active[data-v-1302a12c],.fade-leave-active[data-v-1302a12c]{transition-property:opacity;transition-duration:.3s;transition-timing-function:linear}.fade-enter-from[data-v-1302a12c],.fade-leave-to[data-v-1302a12c]{opacity:0}.slide-down-enter-active[data-v-1302a12c]{animation:slide-down-1302a12c .3s ease}.slide-down-leave-active[data-v-1302a12c]{animation:slide-down-1302a12c reverse .3s ease}@keyframes slide-down-1302a12c{0%{opacity:0;transform:translateY(-100%) translate(-50%)}to{opacity:1;transform:translateY(calc(-1 * var(--vertical-placement))) translate(-50%)}}.sidebar-body[data-v-15e6bcbe]{width:100%}.sidebar-body-height[data-v-15e6bcbe]{min-height:calc(100vh - var(--header-height) - var(--footer-height))}.fade-enter-active[data-v-15e6bcbe],.fade-leave-active[data-v-15e6bcbe]{transition-property:opacity;transition-duration:.3s;transition-timing-function:linear}.fade-enter-from[data-v-15e6bcbe],.fade-leave-to[data-v-15e6bcbe]{opacity:0}.sidebar-left-enter-active[data-v-15e6bcbe],.sidebar-left-leave-active[data-v-15e6bcbe],.sidebar-right-enter-active[data-v-15e6bcbe],.sidebar-right-leave-active[data-v-15e6bcbe]{transition-property:transform,opacity;transition-duration:.3s;transition-timing-function:linear}.sidebar-left-enter-from[data-v-15e6bcbe],.sidebar-left-leave-to[data-v-15e6bcbe]{transform:translate(-100%)}.sidebar-right-enter-from[data-v-15e6bcbe],.sidebar-right-leave-to[data-v-15e6bcbe]{transform:translate(100%)}@media screen and (min-width: 768px){.sidebar-body[data-v-15e6bcbe]{width:var(--sidebar-width)}.sidebar-left-enter-from[data-v-15e6bcbe],.sidebar-left-leave-to[data-v-15e6bcbe]{transform:translate(calc(-1 * var(--sidebar-width)))}.sidebar-right-enter-from[data-v-15e6bcbe],.sidebar-right-leave-to[data-v-15e6bcbe]{transform:translate(var(--sidebar-width))}}.container-hts[data-v-1014eb3f]{max-height:var(--container-hts)}.slide-prev-enter-active[data-v-1014eb3f]{transition:all .5s linear}.slide-prev-leave-active[data-v-1014eb3f]{transition:all .5s}.slide-prev-enter-from[data-v-1014eb3f]{transform:translate(-100%);opacity:0}.slide-prev-leave-to[data-v-1014eb3f]{transform:translate(100%);opacity:0}.slide-next-enter-active[data-v-1014eb3f]{transition:all .5s linear}.slide-next-leave-active[data-v-1014eb3f]{transition:all .5s}.slide-next-enter-from[data-v-1014eb3f]{transform:translate(100%);opacity:0}.slide-next-leave-to[data-v-1014eb3f]{transform:translate(-100%);opacity:0}.slide-prev-enter-active[data-v-05e275d0]{transition:all .5s linear}.slide-prev-leave-active[data-v-05e275d0]{transition:all .5s}.slide-prev-enter-from[data-v-05e275d0]{transform:translate(-100%);opacity:0}.slide-prev-leave-to[data-v-05e275d0]{transform:translate(100%);opacity:0}.slide-next-enter-active[data-v-05e275d0]{transition:all .5s linear}.slide-next-leave-active[data-v-05e275d0]{transition:all .5s}.slide-next-enter-from[data-v-05e275d0]{transform:translate(100%);opacity:0}.slide-next-leave-to[data-v-05e275d0]{transform:translate(-100%);opacity:0}")),document.head.appendChild(a)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
- var se = Object.defineProperty;
3
- var ae = (s, r, e) => r in s ? se(s, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[r] = e;
4
- var n = (s, r, e) => ae(s, typeof r != "symbol" ? r + "" : r, e);
5
- import { defineComponent as A, useSlots as D, ref as C, computed as V, watch as L, openBlock as g, createElementBlock as h, normalizeClass as v, createElementVNode as y, renderSlot as B, createCommentVNode as T, onMounted as F, createVNode as S, unref as R, withCtx as E, Transition as G, withDirectives as W, vShow as P, h as le, render as J, provide as Y, withKeys as oe, inject as j, createBlock as z, normalizeStyle as X, vModelCheckbox as ie, Teleport as ne, toDisplayString as Q } from "vue";
6
- import { useMutationObserver as de, useWindowSize as ce, useWindowScroll as ge, useScrollLock as K, useElementSize as ue } from "@vueuse/core";
7
- class he {
1
+ (function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode(".collapse-enter-active[data-v-5d535dc4],.collapse-leave-active[data-v-5d535dc4]{transition-property:height,opacity;transition-duration:.5s;transition-timing-function:ease}.dropup-bottom[data-v-85c54efe]{bottom:var(--button-height)}.dropdown-content-enter-active[data-v-85c54efe],.dropdown-content-leave-active[data-v-85c54efe]{transition:all .3s}.dropdown-content-enter-from[data-v-85c54efe],.dropdown-content-leave-to[data-v-85c54efe]{opacity:0;transform:translateY(-10px)}.hamburger__icon[data-v-1b9c33a1]:before,.hamburger__icon[data-v-1b9c33a1]:after{position:absolute;left:0;transition:all .3s linear}.hamburger__icon[data-v-1b9c33a1]:before{top:-.5rem}.hamburger__icon[data-v-1b9c33a1]:after{top:.5rem}.hamburger__button:focus .hamburger__icon[data-v-1b9c33a1],.hamburger__button:hover .hamburger__icon[data-v-1b9c33a1]{scale:1.05}.hamburger__checkbox:checked+.hamburger__icon[data-v-1b9c33a1]{background-color:transparent}.hamburger__checkbox:checked+.hamburger__icon[data-v-1b9c33a1]:before{top:0;transform:rotate(135deg)}.hamburger__checkbox:checked+.hamburger__icon[data-v-1b9c33a1]:after{top:0;transform:rotate(-135deg)}.collapse-enter-active[data-v-56d20376]{transition:height .5s ease-in}.collapse-leave-active[data-v-56d20376]{transition:height .5s ease-out}.header-desktop[data-v-c48d5ce1]{width:100%}@media screen and (min-width: 1024px){.header-desktop[data-v-c48d5ce1]{width:var(--header-width)}}.slide-down-enter-active[data-v-c48d5ce1]{transition:transform .3s ease-in .2s,opacity .5s ease-in}.slide-down-leave-active[data-v-c48d5ce1]{transition:transform .5s ease-in,opacity .3s ease-in .2s}.slide-down-enter-from[data-v-c48d5ce1],.slide-down-leave-to[data-v-c48d5ce1]{opacity:0;transform:translateY(-100%)}.vertical-placement[data-v-37ba23d2]{top:var(--vertical-placement);left:50%;transform:translateY(calc(-1 * var(--vertical-placement))) translate(-50%)}.fade-enter-active[data-v-37ba23d2],.fade-leave-active[data-v-37ba23d2]{transition-property:opacity;transition-duration:.3s;transition-timing-function:linear}.fade-enter-from[data-v-37ba23d2],.fade-leave-to[data-v-37ba23d2]{opacity:0}.slide-down-enter-active[data-v-37ba23d2]{animation:slide-down-37ba23d2 .3s ease}.slide-down-leave-active[data-v-37ba23d2]{animation:slide-down-37ba23d2 reverse .3s ease}@keyframes slide-down-37ba23d2{0%{opacity:0;transform:translateY(-100%) translate(-50%)}to{opacity:1;transform:translateY(calc(-1 * var(--vertical-placement))) translate(-50%)}}.sidebar-body[data-v-048c4fe4]{width:100%}.sidebar-body-height[data-v-048c4fe4]{min-height:calc(100vh - var(--header-height) - var(--footer-height))}.fade-enter-active[data-v-048c4fe4],.fade-leave-active[data-v-048c4fe4]{transition-property:opacity;transition-duration:.3s;transition-timing-function:linear}.fade-enter-from[data-v-048c4fe4],.fade-leave-to[data-v-048c4fe4]{opacity:0}.sidebar-left-enter-active[data-v-048c4fe4],.sidebar-left-leave-active[data-v-048c4fe4],.sidebar-right-enter-active[data-v-048c4fe4],.sidebar-right-leave-active[data-v-048c4fe4]{transition-property:transform,opacity;transition-duration:.3s;transition-timing-function:linear}.sidebar-left-enter-from[data-v-048c4fe4],.sidebar-left-leave-to[data-v-048c4fe4]{transform:translate(-100%)}.sidebar-right-enter-from[data-v-048c4fe4],.sidebar-right-leave-to[data-v-048c4fe4]{transform:translate(100%)}@media screen and (min-width: 768px){.sidebar-body[data-v-048c4fe4]{width:var(--sidebar-width)}.sidebar-left-enter-from[data-v-048c4fe4],.sidebar-left-leave-to[data-v-048c4fe4]{transform:translate(calc(-1 * var(--sidebar-width)))}.sidebar-right-enter-from[data-v-048c4fe4],.sidebar-right-leave-to[data-v-048c4fe4]{transform:translate(var(--sidebar-width))}}.container-hts[data-v-1014eb3f]{max-height:var(--container-hts)}.slide-prev-enter-active[data-v-1014eb3f]{transition:all .5s linear}.slide-prev-leave-active[data-v-1014eb3f]{transition:all .5s}.slide-prev-enter-from[data-v-1014eb3f]{transform:translate(-100%);opacity:0}.slide-prev-leave-to[data-v-1014eb3f]{transform:translate(100%);opacity:0}.slide-next-enter-active[data-v-1014eb3f]{transition:all .5s linear}.slide-next-leave-active[data-v-1014eb3f]{transition:all .5s}.slide-next-enter-from[data-v-1014eb3f]{transform:translate(100%);opacity:0}.slide-next-leave-to[data-v-1014eb3f]{transform:translate(-100%);opacity:0}.slide-prev-enter-active[data-v-05e275d0]{transition:all .5s linear}.slide-prev-leave-active[data-v-05e275d0]{transition:all .5s}.slide-prev-enter-from[data-v-05e275d0]{transform:translate(-100%);opacity:0}.slide-prev-leave-to[data-v-05e275d0]{transform:translate(100%);opacity:0}.slide-next-enter-active[data-v-05e275d0]{transition:all .5s linear}.slide-next-leave-active[data-v-05e275d0]{transition:all .5s}.slide-next-enter-from[data-v-05e275d0]{transform:translate(100%);opacity:0}.slide-next-leave-to[data-v-05e275d0]{transform:translate(-100%);opacity:0}")),document.head.appendChild(a)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
2
+ var ae = Object.defineProperty;
3
+ var le = (s, r, e) => r in s ? ae(s, r, { enumerable: !0, configurable: !0, writable: !0, value: e }) : s[r] = e;
4
+ var n = (s, r, e) => le(s, typeof r != "symbol" ? r + "" : r, e);
5
+ import { defineComponent as A, useSlots as D, ref as k, computed as V, watch as L, openBlock as g, createElementBlock as h, normalizeClass as f, createElementVNode as C, renderSlot as B, createCommentVNode as w, onMounted as F, createVNode as S, unref as R, withCtx as E, Transition as I, withDirectives as M, vShow as P, h as oe, render as Q, provide as Y, withKeys as ie, inject as j, createBlock as z, normalizeStyle as X, vModelCheckbox as ne, Teleport as de, toDisplayString as Z } from "vue";
6
+ import { useMutationObserver as ce, useWindowSize as ge, useWindowScroll as ue, useScrollLock as K, useElementSize as he } from "@vueuse/core";
7
+ class pe {
8
8
  constructor() {
9
9
  // body text class
10
10
  n(this, "bodyText", {
@@ -28,7 +28,7 @@ class he {
28
28
  });
29
29
  }
30
30
  }
31
- class pe {
31
+ class be {
32
32
  constructor() {
33
33
  // Border width class
34
34
  n(this, "borderWidth", {
@@ -131,7 +131,7 @@ class pe {
131
131
  });
132
132
  }
133
133
  }
134
- class be {
134
+ class fe {
135
135
  constructor() {
136
136
  // bg color class
137
137
  n(this, "bgColor", {
@@ -609,7 +609,7 @@ class be {
609
609
  });
610
610
  }
611
611
  }
612
- class fe {
612
+ class ve {
613
613
  constructor() {
614
614
  // h1 class
615
615
  n(this, "heading1", {
@@ -641,7 +641,7 @@ class fe {
641
641
  });
642
642
  }
643
643
  }
644
- class ve {
644
+ class me {
645
645
  constructor() {
646
646
  // opacity
647
647
  n(this, "backgroundOpacity", {
@@ -670,7 +670,7 @@ class ve {
670
670
  });
671
671
  }
672
672
  }
673
- class me {
673
+ class xe {
674
674
  constructor() {
675
675
  // spacing: margin
676
676
  n(this, "margin", {
@@ -857,53 +857,53 @@ class me {
857
857
  });
858
858
  }
859
859
  }
860
- class xe {
860
+ class ye {
861
861
  constructor(r) {
862
862
  n(this, "classType");
863
863
  this.classType = r;
864
864
  }
865
865
  validateColorType(r) {
866
866
  const e = /(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)/;
867
- return typeof r != "string" || !e.test(r) ? !1 : H.colorType.includes(this.classType);
867
+ return typeof r != "string" || !e.test(r) ? !1 : W.colorType.includes(this.classType);
868
868
  }
869
869
  validateSpaceType(r) {
870
870
  const e = /(0|3xs|2xs|xs|sm|md|lg|xl|2xl|3xl)/;
871
- return typeof r != "string" || !e.test(r) ? !1 : H.spacingType.includes(this.classType);
871
+ return typeof r != "string" || !e.test(r) ? !1 : W.spacingType.includes(this.classType);
872
872
  }
873
873
  validateHeadingTextSizeType(r) {
874
874
  const e = /(sm|md|lg|xl)/;
875
- return typeof r != "string" || !e.test(r) ? !1 : H.headingSizeType.includes(
875
+ return typeof r != "string" || !e.test(r) ? !1 : W.headingSizeType.includes(
876
876
  this.classType
877
877
  );
878
878
  }
879
879
  validateBodyTextSizeType(r) {
880
880
  const e = /(xs|sm|md|lg|xl)/;
881
- return typeof r != "string" || !e.test(r) ? !1 : H.textType.includes(this.classType);
881
+ return typeof r != "string" || !e.test(r) ? !1 : W.textType.includes(this.classType);
882
882
  }
883
883
  validateFontWeightType(r) {
884
884
  const e = /(light|normal|bold)/;
885
- return typeof r != "string" || !e.test(r) ? !1 : H.fontWeightType.includes(
885
+ return typeof r != "string" || !e.test(r) ? !1 : W.fontWeightType.includes(
886
886
  this.classType
887
887
  );
888
888
  }
889
889
  validateOpacityType(r) {
890
890
  const e = /\b(0|[1-9]0|100)\b/;
891
- return typeof r != "number" || !e.test(r.toString()) ? !1 : H.scaleType.includes(this.classType);
891
+ return typeof r != "number" || !e.test(r.toString()) ? !1 : W.scaleType.includes(this.classType);
892
892
  }
893
893
  validateRangeType(r) {
894
894
  const e = /\b([1-9]|1[0-2])\b/;
895
- return typeof r != "number" || !e.test(r.toString()) ? !1 : H.borderWidthType.includes(
895
+ return typeof r != "number" || !e.test(r.toString()) ? !1 : W.borderWidthType.includes(
896
896
  this.classType
897
897
  );
898
898
  }
899
899
  validateAlignment(r) {
900
900
  const e = /(left|center|right)/;
901
- return typeof r != "string" || !e.test(r) ? !1 : H.textAlignType.includes(
901
+ return typeof r != "string" || !e.test(r) ? !1 : W.textAlignType.includes(
902
902
  this.classType
903
903
  );
904
904
  }
905
905
  }
906
- const H = {
906
+ const W = {
907
907
  colorType: [
908
908
  "BGCOLOR",
909
909
  "BEFOREBG",
@@ -962,7 +962,7 @@ const H = {
962
962
  "GAP"
963
963
  ]
964
964
  };
965
- class ye {
965
+ class Ce {
966
966
  constructor(r, e) {
967
967
  n(this, "classType");
968
968
  n(this, "classValue");
@@ -973,7 +973,7 @@ class ye {
973
973
  n(this, "spacingClass");
974
974
  n(this, "textClass");
975
975
  n(this, "validator");
976
- this.classType = r, this.classValue = e, this.colorClass = new be(), this.headingSizeClass = new fe(), this.borderWidthClass = new pe(), this.opacityClass = new ve(), this.spacingClass = new me(), this.textClass = new he(), this.validator = new xe(r);
976
+ this.classType = r, this.classValue = e, this.colorClass = new fe(), this.headingSizeClass = new ve(), this.borderWidthClass = new be(), this.opacityClass = new me(), this.spacingClass = new xe(), this.textClass = new pe(), this.validator = new ye(r);
977
977
  }
978
978
  generateClass() {
979
979
  switch (this.classType) {
@@ -1284,7 +1284,7 @@ class ye {
1284
1284
  return this.validator.validateSpaceType(this.classValue) ? this.spacingClass.gap[this.classValue] : " ";
1285
1285
  }
1286
1286
  }
1287
- const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex justify-between gap-2xs" }, ke = { class: "w-full" }, ot = /* @__PURE__ */ A({
1287
+ const T = (s, r) => new Ce(s, r).generateClass(), ke = { class: "w-full flex justify-between gap-2xs" }, we = { class: "w-full" }, lt = /* @__PURE__ */ A({
1288
1288
  __name: "Alert",
1289
1289
  props: {
1290
1290
  color: { default: "danger" },
@@ -1297,9 +1297,9 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
1297
1297
  setup(s, { expose: r, emit: e }) {
1298
1298
  const l = s;
1299
1299
  D();
1300
- const t = e, d = C(l.show), a = V(() => {
1301
- const { color: u, rounded: c, shadow: m } = l, f = [w("BGCOLOR", u)];
1302
- return c && f.push("rounded-md"), m && f.push("drop-shadow-md"), f.join(" ");
1300
+ const t = e, d = k(l.show), a = V(() => {
1301
+ const { color: u, rounded: c, shadow: x } = l, v = [T("BGCOLOR", u)];
1302
+ return c && v.push("rounded-md"), x && v.push("drop-shadow-md"), v.join(" ");
1303
1303
  }), o = (u) => {
1304
1304
  d.value = !1, t("close", u);
1305
1305
  }, i = () => {
@@ -1317,10 +1317,10 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
1317
1317
  role: "alert",
1318
1318
  "aria-live": "polite",
1319
1319
  "aria-atomic": "true",
1320
- class: v(["py-[0.75rem] px-[1.25rem] relative", [a.value]])
1320
+ class: f(["py-[0.75rem] px-[1.25rem] relative", [a.value]])
1321
1321
  }, [
1322
- y("div", Ce, [
1323
- y("div", ke, [
1322
+ C("div", ke, [
1323
+ C("div", we, [
1324
1324
  B(u.$slots, "default")
1325
1325
  ]),
1326
1326
  u.dismissible ? (g(), h("button", {
@@ -1328,19 +1328,19 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
1328
1328
  onClick: o,
1329
1329
  class: "flex items-center opacity-60 hover:opacity-40 transition-opacity duration-300 ease-linear"
1330
1330
  }, c[0] || (c[0] = [
1331
- y("svg", {
1331
+ C("svg", {
1332
1332
  xmlns: "http://www.w3.org/2000/svg",
1333
1333
  viewBox: "0 0 384 512",
1334
1334
  fill: "currentColor",
1335
1335
  class: "h-xs"
1336
1336
  }, [
1337
- y("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" })
1337
+ C("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" })
1338
1338
  ], -1)
1339
- ]))) : T("", !0)
1339
+ ]))) : w("", !0)
1340
1340
  ])
1341
- ], 2)) : T("", !0);
1341
+ ], 2)) : w("", !0);
1342
1342
  }
1343
- }), U = (s, r) => de(
1343
+ }), U = (s, r) => ce(
1344
1344
  s,
1345
1345
  (e) => {
1346
1346
  let l = !1;
@@ -1355,12 +1355,12 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
1355
1355
  { attributes: !0 }
1356
1356
  ), Te = A({
1357
1357
  setup(s, { slots: r }) {
1358
- const e = C(!1);
1358
+ const e = k(!1);
1359
1359
  return F(() => {
1360
1360
  e.value = !0;
1361
1361
  }), () => e.value && r.default ? r.default() : null;
1362
1362
  }
1363
- }), we = ["accordion", "visible"], Be = /* @__PURE__ */ A({
1363
+ }), Be = ["accordion", "visible"], Re = /* @__PURE__ */ A({
1364
1364
  __name: "Collapse",
1365
1365
  props: {
1366
1366
  accordion: {},
@@ -1371,7 +1371,7 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
1371
1371
  setup(s, { expose: r, emit: e }) {
1372
1372
  const l = s;
1373
1373
  D();
1374
- const t = e, d = C(), a = C(l.visible), o = () => {
1374
+ const t = e, d = k(), a = k(l.visible), o = () => {
1375
1375
  a.value = !a.value;
1376
1376
  }, i = () => {
1377
1377
  a.value = !0;
@@ -1379,15 +1379,15 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
1379
1379
  a.value = !1;
1380
1380
  }, c = () => {
1381
1381
  t("open", !0);
1382
- }, m = () => {
1382
+ }, x = () => {
1383
1383
  t("close", !1);
1384
- }, f = (p) => {
1384
+ }, v = (p) => {
1385
1385
  p.style.height = "auto", p.style.opacity = "0";
1386
1386
  const _ = getComputedStyle(p).height;
1387
1387
  p.style.height = "0px", p.offsetHeight, p.style.height = _, p.style.opacity = "1";
1388
1388
  }, O = (p) => {
1389
1389
  p.style.height = "auto", p.style.opacity = "1";
1390
- }, N = (p) => {
1390
+ }, $ = (p) => {
1391
1391
  p.style.height = getComputedStyle(p).height, p.offsetHeight, p.style.height = "0px", p.style.opacity = "0";
1392
1392
  };
1393
1393
  return U(d, (p = !1) => {
@@ -1398,7 +1398,7 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
1398
1398
  a.value = p;
1399
1399
  }
1400
1400
  ), L(a, (p) => {
1401
- p === !0 ? c() : p === !1 && m();
1401
+ p === !0 ? c() : p === !1 && x();
1402
1402
  }), r({
1403
1403
  toggle: o,
1404
1404
  close: u,
@@ -1411,18 +1411,18 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
1411
1411
  }, [
1412
1412
  S(R(Te), null, {
1413
1413
  default: E(() => [
1414
- S(G, {
1414
+ S(I, {
1415
1415
  name: "collapse",
1416
1416
  tag: "div",
1417
- onEnter: f,
1417
+ onEnter: v,
1418
1418
  onAfterEnter: O,
1419
- onLeave: N,
1419
+ onLeave: $,
1420
1420
  class: "overflow-y-clip"
1421
1421
  }, {
1422
1422
  default: E(() => [
1423
- W(y("div", null, [
1424
- y("div", {
1425
- class: v(p.className)
1423
+ M(C("div", null, [
1424
+ C("div", {
1425
+ class: f(p.className)
1426
1426
  }, [
1427
1427
  B(p.$slots, "default", {}, void 0, !0)
1428
1428
  ], 2)
@@ -1435,14 +1435,14 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
1435
1435
  ]),
1436
1436
  _: 3
1437
1437
  })
1438
- ], 8, we));
1438
+ ], 8, Be));
1439
1439
  }
1440
- }), I = (s, r) => {
1440
+ }), N = (s, r) => {
1441
1441
  const e = s.__vccOpts || s;
1442
1442
  for (const [l, t] of r)
1443
1443
  e[l] = t;
1444
1444
  return e;
1445
- }, it = /* @__PURE__ */ I(Be, [["__scopeId", "data-v-5d535dc4"]]), Re = A({
1445
+ }, ot = /* @__PURE__ */ N(Re, [["__scopeId", "data-v-5d535dc4"]]), Oe = A({
1446
1446
  props: {
1447
1447
  direction: {
1448
1448
  type: String,
@@ -1473,8 +1473,8 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
1473
1473
  const r = "invisible opacity-0 group-hover:visible group-hover:opacity-100 z-[100] tooltip", e = V(() => {
1474
1474
  const { color: d, textColor: a } = s;
1475
1475
  return [
1476
- w("BGCOLOR", d),
1477
- w("TEXTCOLOR", a)
1476
+ T("BGCOLOR", d),
1477
+ T("TEXTCOLOR", a)
1478
1478
  ].join(" ");
1479
1479
  }), l = V(() => ({ width: `${s.width}px` })), t = V(() => {
1480
1480
  switch (s.direction) {
@@ -1488,7 +1488,7 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
1488
1488
  return "tooltip-right";
1489
1489
  }
1490
1490
  });
1491
- return () => le("div", {
1491
+ return () => oe("div", {
1492
1492
  class: [
1493
1493
  r,
1494
1494
  s.customClass,
@@ -1509,7 +1509,7 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
1509
1509
  unmounted(s) {
1510
1510
  document.body.removeEventListener("click", s.__ClickOutsideHandler);
1511
1511
  }
1512
- }, nt = {
1512
+ }, it = {
1513
1513
  mounted(s, r) {
1514
1514
  s.__ClickToggleHandler = (e) => {
1515
1515
  e.preventDefault();
@@ -1529,7 +1529,7 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
1529
1529
  unmounted(s) {
1530
1530
  s.removeEventListener("click", s.__ClickToggleHandler);
1531
1531
  }
1532
- }, dt = {
1532
+ }, nt = {
1533
1533
  mounted(s, r) {
1534
1534
  s.__HandleToggler = (e) => {
1535
1535
  e.preventDefault();
@@ -1562,7 +1562,7 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
1562
1562
  unmounted(s) {
1563
1563
  s.removeEventListener("click", s.__HandleToggler);
1564
1564
  }
1565
- }, ct = {
1565
+ }, dt = {
1566
1566
  mounted(s, r) {
1567
1567
  s.__HandleTooltip = (e, l) => {
1568
1568
  e.classList.add("relative", "group", "overflow-visible");
@@ -1579,7 +1579,7 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
1579
1579
  let u;
1580
1580
  const c = Object.keys(l.modifiers);
1581
1581
  c.length > 0 && (u = c[0]);
1582
- const m = S(Re, {
1582
+ const x = S(Oe, {
1583
1583
  direction: u,
1584
1584
  title: t,
1585
1585
  color: d,
@@ -1587,9 +1587,9 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
1587
1587
  width: o,
1588
1588
  customClass: i
1589
1589
  });
1590
- J(m, e);
1590
+ Q(x, e);
1591
1591
  }, s.__UnmountTooltip = (e) => {
1592
- J(null, e);
1592
+ Q(null, e);
1593
1593
  }, s.__HandleTooltip(s, r);
1594
1594
  },
1595
1595
  updated(s, r) {
@@ -1598,13 +1598,13 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
1598
1598
  unmounted(s) {
1599
1599
  s.__UnmountTooltip(s);
1600
1600
  }
1601
- }, Z = Symbol(), gt = /* @__PURE__ */ A({
1601
+ }, ee = Symbol(), ct = /* @__PURE__ */ A({
1602
1602
  __name: "DropdownContainer",
1603
1603
  emits: ["click-outside", "toggle"],
1604
1604
  setup(s, { emit: r }) {
1605
1605
  D();
1606
- const e = r, l = C(), t = C(!1), d = C(0);
1607
- Y(Z, {
1606
+ const e = r, l = k(), t = k(!1), d = k(0);
1607
+ Y(ee, {
1608
1608
  active: t,
1609
1609
  buttonHeight: d,
1610
1610
  closeDropdown: () => {
@@ -1620,11 +1620,11 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
1620
1620
  };
1621
1621
  return F(() => {
1622
1622
  d.value = l.value.scrollHeight;
1623
- }), (c, m) => W((g(), h("div", {
1623
+ }), (c, x) => M((g(), h("div", {
1624
1624
  class: "relative",
1625
1625
  ref_key: "dropdownTarget",
1626
1626
  ref: l,
1627
- onKeyup: oe(u, ["esc"])
1627
+ onKeyup: ie(u, ["esc"])
1628
1628
  }, [
1629
1629
  B(c.$slots, "toggler", {
1630
1630
  toggle: o,
@@ -1635,36 +1635,36 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
1635
1635
  [R(q), i]
1636
1636
  ]);
1637
1637
  }
1638
- }), Oe = /* @__PURE__ */ A({
1638
+ }), Ve = /* @__PURE__ */ A({
1639
1639
  __name: "DropdownContent",
1640
1640
  props: {
1641
1641
  className: { default: "" }
1642
1642
  },
1643
1643
  setup(s) {
1644
- const { height: r } = ce();
1644
+ const { height: r } = ge();
1645
1645
  D();
1646
- const e = C(), { active: l, buttonHeight: t, closeDropdown: d } = j(
1647
- Z
1646
+ const e = k(), { active: l, buttonHeight: t, closeDropdown: d } = j(
1647
+ ee
1648
1648
  ), a = V(() => ({ "--button-height": `${t}px` })), o = V(() => {
1649
1649
  if (!(!l || !e.value) && r.value - e.value.getBoundingClientRect().bottom < 0)
1650
1650
  return "dropup-bottom";
1651
1651
  });
1652
- return (i, u) => (g(), z(G, { name: "dropdown-content" }, {
1652
+ return (i, u) => (g(), z(I, { name: "dropdown-content" }, {
1653
1653
  default: E(() => [
1654
1654
  R(l) ? (g(), h("div", {
1655
1655
  key: 0,
1656
1656
  ref_key: "contentRef",
1657
1657
  ref: e,
1658
- class: v(["absolute my-2xs max-w-[14rem] w-max overflow-hidden", [o.value, i.className]]),
1658
+ class: f(["absolute my-2xs max-w-[14rem] w-max overflow-hidden", [o.value, i.className]]),
1659
1659
  style: X(a.value)
1660
1660
  }, [
1661
1661
  B(i.$slots, "default", { itemClick: R(d) }, void 0, !0)
1662
- ], 6)) : T("", !0)
1662
+ ], 6)) : w("", !0)
1663
1663
  ]),
1664
1664
  _: 3
1665
1665
  }));
1666
1666
  }
1667
- }), ut = /* @__PURE__ */ I(Oe, [["__scopeId", "data-v-85c54efe"]]), Ve = ["aria-label", "aria-expanded"], Ae = /* @__PURE__ */ A({
1667
+ }), gt = /* @__PURE__ */ N(Ve, [["__scopeId", "data-v-85c54efe"]]), Ae = ["aria-label", "aria-expanded"], _e = /* @__PURE__ */ A({
1668
1668
  __name: "NavDrawer",
1669
1669
  props: {
1670
1670
  color: { default: "dark-2" },
@@ -1684,38 +1684,38 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
1684
1684
  return i;
1685
1685
  }
1686
1686
  }), a = (i, u, c) => {
1687
- const m = [
1688
- w("RINGCOLOR", i),
1689
- w("OFFSETRING", c)
1687
+ const x = [
1688
+ T("RINGCOLOR", i),
1689
+ T("OFFSETRING", c)
1690
1690
  ];
1691
- return u && (m.push(w("BORDER", i)), m.push("border")), m.join(" ");
1691
+ return u && (x.push(T("BORDER", i)), x.push("border")), x.join(" ");
1692
1692
  }, o = (i) => [
1693
- w("BGCOLOR", i),
1694
- w("BEFOREBG", i),
1695
- w("AFTERBG", i)
1693
+ T("BGCOLOR", i),
1694
+ T("BEFOREBG", i),
1695
+ T("AFTERBG", i)
1696
1696
  ].join(" ");
1697
1697
  return (i, u) => (g(), h("button", {
1698
- class: v(["p-3xs rounded-md aspect-square outline-none focus:ring-4 ring-offset-2 transition-all duration-300 ease-linear hover:opacity-70 focus:opacity-70 hamburger__button", a(i.color, i.displayBorder, i.navColor)]),
1698
+ class: f(["p-3xs rounded-md aspect-square outline-none focus:ring-4 ring-offset-2 transition-all duration-300 ease-linear hover:opacity-70 focus:opacity-70 hamburger__button", a(i.color, i.displayBorder, i.navColor)]),
1699
1699
  onClick: t,
1700
1700
  "aria-label": i.toggle ? "Close" : "Open",
1701
1701
  "aria-expanded": i.toggle
1702
1702
  }, [
1703
- W(y("input", {
1703
+ M(C("input", {
1704
1704
  type: "checkbox",
1705
1705
  "onUpdate:modelValue": u[0] || (u[0] = (c) => d.value = c),
1706
1706
  class: "hidden hamburger__checkbox"
1707
1707
  }, null, 512), [
1708
- [ie, d.value]
1708
+ [ne, d.value]
1709
1709
  ]),
1710
- y("div", {
1711
- class: v(["relative h-[3px] w-sm hamburger__icon before:w-sm after:w-sm before:h-[3px] after:h-[3px] transition-all duration-300 ease-linear", o(i.color)])
1710
+ C("div", {
1711
+ class: f(["relative h-[3px] w-sm hamburger__icon before:w-sm after:w-sm before:h-[3px] after:h-[3px] transition-all duration-300 ease-linear", o(i.color)])
1712
1712
  }, null, 2)
1713
- ], 10, Ve));
1713
+ ], 10, Ae));
1714
1714
  }
1715
- }), ee = /* @__PURE__ */ I(Ae, [["__scopeId", "data-v-1b9c33a1"]]), _e = { class: "flex flex-wrap items-center py-xs md:py-2xs mx-xs md:mx-sm align-middle justify-between sm:max-w-[640px] md:max-w-[768px] lg:max-w-[1024px] xl:max-w-[1280px] 2xl:max-w-[1536px]" }, Le = { class: "min-h-[24px]" }, Se = { class: "ml-auto" }, Ee = {
1715
+ }), te = /* @__PURE__ */ N(_e, [["__scopeId", "data-v-1b9c33a1"]]), Le = { class: "flex flex-wrap items-center py-xs md:py-2xs mx-xs md:mx-sm align-middle justify-between sm:max-w-[640px] md:max-w-[768px] lg:max-w-[1024px] xl:max-w-[1280px] 2xl:max-w-[1536px]" }, Se = { class: "min-h-[24px]" }, Ee = { class: "ml-auto" }, De = {
1716
1716
  key: 0,
1717
1717
  class: "hidden lg:block"
1718
- }, De = { class: "overflow-hidden lg:hidden" }, Ge = { key: 0 }, Ie = /* @__PURE__ */ A({
1718
+ }, Ge = { class: "overflow-hidden lg:hidden" }, Ie = { key: 0 }, He = /* @__PURE__ */ A({
1719
1719
  __name: "HeaderHorizontal",
1720
1720
  props: {
1721
1721
  bgColor: { default: "light-1" },
@@ -1728,7 +1728,7 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
1728
1728
  },
1729
1729
  emits: ["toggle-drawer"],
1730
1730
  setup(s, { expose: r, emit: e }) {
1731
- const l = s, t = D(), d = C(!1), { y: a } = ge(), o = e, i = () => {
1731
+ const l = s, t = D(), d = k(!1), { y: a } = ue(), o = e, i = () => {
1732
1732
  d.value = !1;
1733
1733
  }, u = (b) => {
1734
1734
  d.value = !d.value, o("toggle-drawer", b, d.value);
@@ -1736,28 +1736,28 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
1736
1736
  b.style.height = "auto";
1737
1737
  const p = getComputedStyle(b).height;
1738
1738
  b.style.height = "0px", b.offsetHeight, b.style.height = p;
1739
- }, m = (b) => {
1739
+ }, x = (b) => {
1740
1740
  b.style.height = "auto";
1741
- }, f = (b) => {
1741
+ }, v = (b) => {
1742
1742
  b.style.height = getComputedStyle(b).height, b.offsetHeight, b.style.height = "0px";
1743
1743
  }, O = V(() => {
1744
- const { bgColor: b, sticky: p } = l, _ = [w("BGCOLOR", b)];
1744
+ const { bgColor: b, sticky: p } = l, _ = [T("BGCOLOR", b)];
1745
1745
  return p === "all" ? (_.push("sticky top-0"), _.join(" ")) : p === "tablet" ? (_.push("md:sticky top-0"), _.join(" ")) : (p === "pc" && _.push("lg:sticky top-0"), _.join(" "));
1746
- }), N = V(() => {
1746
+ }), $ = V(() => {
1747
1747
  const { fadeInOnScroll: b, scrollDistance: p } = l;
1748
1748
  return b ? a.value >= p ? "lg:shadow-md bg-opacity-70" : "bg-opacity-100" : "";
1749
1749
  });
1750
1750
  return r({
1751
1751
  headerClose: i
1752
1752
  }), (b, p) => (g(), h("header", {
1753
- class: v(["w-full items-center z-50 transition ease-in duration-500 delay-150", [N.value, O.value]])
1753
+ class: f(["w-full items-center z-50 transition ease-in duration-500 delay-150", [$.value, O.value]])
1754
1754
  }, [
1755
- y("nav", _e, [
1756
- y("div", Le, [
1755
+ C("nav", Le, [
1756
+ C("div", Se, [
1757
1757
  B(b.$slots, "content", {}, void 0, !0)
1758
1758
  ]),
1759
- y("div", Se, [
1760
- S(ee, {
1759
+ C("div", Ee, [
1760
+ S(te, {
1761
1761
  color: b.drawerBtnColor,
1762
1762
  "display-border": b.drawerBtnBorder,
1763
1763
  class: "block lg:hidden",
@@ -1765,40 +1765,40 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
1765
1765
  toggle: d.value,
1766
1766
  "nav-color": b.bgColor
1767
1767
  }, null, 8, ["color", "display-border", "toggle", "nav-color"]),
1768
- t["content-right"] ? (g(), h("div", Ee, [
1768
+ t["content-right"] ? (g(), h("div", De, [
1769
1769
  B(b.$slots, "content-right", {}, void 0, !0)
1770
- ])) : T("", !0)
1770
+ ])) : w("", !0)
1771
1771
  ])
1772
1772
  ]),
1773
- y("div", De, [
1774
- S(G, {
1773
+ C("div", Ge, [
1774
+ S(I, {
1775
1775
  name: "collapse",
1776
1776
  onEnter: c,
1777
- onAfterEnter: m,
1778
- onLeave: f
1777
+ onAfterEnter: x,
1778
+ onLeave: v
1779
1779
  }, {
1780
1780
  default: E(() => [
1781
1781
  d.value ? (g(), h("div", {
1782
1782
  key: 0,
1783
- class: v(["bg-opacity-80 rounded-md my-2xs mx-xs overflow-hidden", R(w)("BGCOLOR", b.mobileMenuBgColor)])
1783
+ class: f(["bg-opacity-80 rounded-md my-2xs mx-xs overflow-hidden", R(T)("BGCOLOR", b.mobileMenuBgColor)])
1784
1784
  }, [
1785
- t["mobile-content"] ? (g(), h("div", Ge, [
1785
+ t["mobile-content"] ? (g(), h("div", Ie, [
1786
1786
  B(b.$slots, "mobile-content", { headerClose: i }, void 0, !0)
1787
- ])) : T("", !0)
1788
- ], 2)) : T("", !0)
1787
+ ])) : w("", !0)
1788
+ ], 2)) : w("", !0)
1789
1789
  ]),
1790
1790
  _: 3
1791
1791
  })
1792
1792
  ])
1793
1793
  ], 2));
1794
1794
  }
1795
- }), ht = /* @__PURE__ */ I(Ie, [["__scopeId", "data-v-56d20376"]]), He = { class: "flex flex-col justify-between h-full" }, Ne = { key: 0 }, We = { class: "block lg:hidden relative z-40" }, $e = {
1795
+ }), ut = /* @__PURE__ */ N(He, [["__scopeId", "data-v-56d20376"]]), Ne = { class: "flex flex-col justify-between h-full" }, We = { key: 0 }, $e = { class: "block lg:hidden relative z-40" }, Me = {
1796
1796
  key: 0,
1797
1797
  class: "block fixed lg:hidden top-0 right-0 mr-xs mt-xs z-50"
1798
- }, Me = {
1798
+ }, Fe = {
1799
1799
  key: 0,
1800
1800
  class: "h-full"
1801
- }, Fe = /* @__PURE__ */ A({
1801
+ }, Xe = /* @__PURE__ */ A({
1802
1802
  __name: "HeaderVertical",
1803
1803
  props: {
1804
1804
  bgColor: { default: "light-1" },
@@ -1808,38 +1808,38 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
1808
1808
  },
1809
1809
  emits: ["toggle-drawer"],
1810
1810
  setup(s, { expose: r, emit: e }) {
1811
- const l = s, t = D(), d = e, a = C(!1), o = (c) => {
1811
+ const l = s, t = D(), d = e, a = k(!1), o = (c) => {
1812
1812
  a.value = !a.value, d("toggle-drawer", c, a.value);
1813
1813
  }, i = () => {
1814
1814
  a.value = !1;
1815
1815
  }, u = V(() => ({ "--header-width": `${l.headerWidth}px` }));
1816
1816
  return F(() => {
1817
1817
  const c = K(document);
1818
- L(a, (m) => {
1819
- c.value = m;
1818
+ L(a, (x) => {
1819
+ c.value = x;
1820
1820
  });
1821
1821
  }), r({
1822
1822
  headerClose: i
1823
- }), (c, m) => (g(), h("header", {
1823
+ }), (c, x) => (g(), h("header", {
1824
1824
  class: "relative",
1825
1825
  style: X(u.value)
1826
1826
  }, [
1827
- y("nav", {
1828
- class: v(["hidden lg:block lg:sticky lg:top-0 lg:left-0 lg:h-[100vh] py-sm header-desktop overscroll-contain overflow-y-scroll", [R(w)("BGCOLOR", c.bgColor)]])
1827
+ C("nav", {
1828
+ class: f(["hidden lg:block lg:sticky lg:top-0 lg:left-0 lg:h-[100vh] py-sm header-desktop overscroll-contain overflow-y-scroll", [R(T)("BGCOLOR", c.bgColor)]])
1829
1829
  }, [
1830
- y("div", He, [
1831
- y("div", null, [
1830
+ C("div", Ne, [
1831
+ C("div", null, [
1832
1832
  B(c.$slots, "content", {}, void 0, !0)
1833
1833
  ]),
1834
- t["content-bottom"] ? (g(), h("div", Ne, [
1834
+ t["content-bottom"] ? (g(), h("div", We, [
1835
1835
  B(c.$slots, "content-bottom", {}, void 0, !0)
1836
- ])) : T("", !0)
1836
+ ])) : w("", !0)
1837
1837
  ])
1838
1838
  ], 2),
1839
- (g(), z(ne, { to: "body" }, [
1840
- y("div", We, [
1841
- t["mobile-content"] ? (g(), h("div", $e, [
1842
- S(ee, {
1839
+ (g(), z(de, { to: "body" }, [
1840
+ C("div", $e, [
1841
+ t["mobile-content"] ? (g(), h("div", Me, [
1842
+ S(te, {
1843
1843
  color: c.drawerBtnColor,
1844
1844
  "display-border": c.drawerBtnBorder,
1845
1845
  class: "block lg:hidden relative",
@@ -1847,20 +1847,20 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
1847
1847
  toggle: a.value,
1848
1848
  "nav-color": c.bgColor
1849
1849
  }, null, 8, ["color", "display-border", "toggle", "nav-color"])
1850
- ])) : T("", !0),
1851
- S(G, {
1850
+ ])) : w("", !0),
1851
+ S(I, {
1852
1852
  name: "slide-down",
1853
1853
  appear: ""
1854
1854
  }, {
1855
1855
  default: E(() => [
1856
1856
  a.value ? (g(), h("nav", {
1857
1857
  key: 0,
1858
- class: v(["fixed inset-0 overflow-y-scroll overscroll-contain py-lg px-sm", R(w)("BGCOLOR", c.bgColor)])
1858
+ class: f(["fixed inset-0 overflow-y-scroll overscroll-contain py-lg px-sm", R(T)("BGCOLOR", c.bgColor)])
1859
1859
  }, [
1860
- t["mobile-content"] ? (g(), h("div", Me, [
1860
+ t["mobile-content"] ? (g(), h("div", Fe, [
1861
1861
  B(c.$slots, "mobile-content", { headerClose: i }, void 0, !0)
1862
- ])) : T("", !0)
1863
- ], 2)) : T("", !0)
1862
+ ])) : w("", !0)
1863
+ ], 2)) : w("", !0)
1864
1864
  ]),
1865
1865
  _: 3
1866
1866
  })
@@ -1868,10 +1868,7 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
1868
1868
  ]))
1869
1869
  ], 4));
1870
1870
  }
1871
- }), pt = /* @__PURE__ */ I(Fe, [["__scopeId", "data-v-c48d5ce1"]]), Xe = ["visible"], ze = {
1872
- key: 0,
1873
- class: "vertical-placement fixed w-full max-w-md z-[110] px-xs"
1874
- }, Pe = {
1871
+ }), ht = /* @__PURE__ */ N(Xe, [["__scopeId", "data-v-c48d5ce1"]]), ze = ["visible"], Pe = {
1875
1872
  key: 0,
1876
1873
  class: "sticky top-0"
1877
1874
  }, Ye = {
@@ -1888,53 +1885,65 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
1888
1885
  noHeader: { type: Boolean, default: !1 },
1889
1886
  color: { default: "light-1" },
1890
1887
  backdropColor: { default: "dark-4" },
1891
- placement: { default: "center" }
1888
+ placement: { default: "center" },
1889
+ modalWidth: { default: "small" }
1892
1890
  },
1893
1891
  emits: ["open", "close"],
1894
1892
  setup(s, { expose: r, emit: e }) {
1895
- const l = s, t = D(), d = e, a = C(), o = C(l.visible), i = C(!1), u = () => {
1893
+ const l = s, t = D(), d = e, a = k(), o = k(l.visible), i = k(!1), u = () => {
1896
1894
  o.value = !o.value;
1897
1895
  }, c = () => {
1898
1896
  o.value = !0;
1899
- }, m = () => {
1897
+ }, x = () => {
1900
1898
  i.value === !0 && (o.value = !1);
1901
- }, f = () => {
1899
+ }, v = () => {
1902
1900
  d("open", !0);
1903
1901
  }, O = () => {
1904
1902
  d("close", !1);
1905
- }, N = V(() => {
1906
- let x;
1907
- return l.placement === "top" ? x = 25 : l.placement === "bottom" ? x = 75 : x = 50, { "--vertical-placement": x + "%" };
1908
- }), b = () => {
1903
+ }, $ = V(() => {
1904
+ const y = {
1905
+ top: 25,
1906
+ center: 50,
1907
+ bottom: 75
1908
+ }, { placement: G } = l;
1909
+ return { "--vertical-placement": (y[G] ?? y.center) + "%" };
1910
+ }), b = V(() => {
1911
+ const { modalWidth: y } = l, G = {
1912
+ small: "max-w-md",
1913
+ medium: "max-w-md md:max-w-xl",
1914
+ large: "max-w-md md:max-w-4xl"
1915
+ };
1916
+ return G[y] ?? G.small;
1917
+ }), p = () => {
1909
1918
  i.value = !0;
1910
- }, p = () => {
1919
+ }, _ = () => {
1911
1920
  i.value = !1;
1912
1921
  };
1913
- return U(a, (x = !1) => {
1914
- o.value = x;
1922
+ return U(a, (y = !1) => {
1923
+ o.value = y;
1915
1924
  }), L(
1916
1925
  () => l.visible,
1917
- (x) => {
1918
- o.value = x;
1926
+ (y) => {
1927
+ o.value = y;
1919
1928
  }
1920
- ), L(o, (x) => {
1921
- x === !0 ? f() : x === !1 && i.value === !0 && O();
1929
+ ), L(o, (y) => {
1930
+ y === !0 ? v() : y === !1 && i.value === !0 && O();
1922
1931
  }), F(() => {
1923
- const x = K(document);
1924
- L(o, ($) => {
1925
- x.value = $;
1932
+ const y = K(document);
1933
+ L(o, (G) => {
1934
+ y.value = G;
1926
1935
  });
1927
1936
  }), r({
1928
1937
  toggle: u,
1929
- close: m,
1938
+ close: x,
1930
1939
  open: c
1931
- }), (x, $) => (g(), h("div", {
1932
- style: X(N.value),
1940
+ }), (y, G) => (g(), h("div", {
1941
+ style: X($.value),
1933
1942
  visible: o.value,
1934
1943
  ref_key: "modalRef",
1935
1944
  ref: a
1936
1945
  }, [
1937
- x.noBackdrop ? T("", !0) : (g(), z(G, {
1946
+ y.noBackdrop ? w("", !0) : (g(), z(I, {
1938
1947
  key: 0,
1939
1948
  name: "fade",
1940
1949
  appear: "",
@@ -1943,69 +1952,72 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
1943
1952
  default: E(() => [
1944
1953
  o.value ? (g(), h("section", {
1945
1954
  key: 0,
1946
- onClick: m,
1947
- class: v(["fixed inset-0 overflow-y-auto bg-opacity-70 backdrop-blur z-[100]", R(w)("BGCOLOR", x.backdropColor)])
1948
- }, null, 2)) : T("", !0)
1955
+ onClick: x,
1956
+ class: f(["fixed inset-0 overflow-y-auto bg-opacity-70 backdrop-blur z-[100]", R(T)("BGCOLOR", y.backdropColor)])
1957
+ }, null, 2)) : w("", !0)
1949
1958
  ]),
1950
1959
  _: 1
1951
1960
  })),
1952
- S(G, {
1961
+ S(I, {
1953
1962
  name: "slide-down",
1954
1963
  tag: "div",
1955
- onAfterEnter: b,
1956
- onAfterLeave: p,
1964
+ onAfterEnter: p,
1965
+ onAfterLeave: _,
1957
1966
  appear: ""
1958
1967
  }, {
1959
1968
  default: E(() => [
1960
- o.value ? (g(), h("div", ze, [
1961
- W((g(), h("div", {
1962
- class: v([[R(w)("BGCOLOR", x.color), x.className], "relative overscroll-contain overflow-y-scroll max-h-[80vh] md:max-h-[60vh]"])
1969
+ o.value ? (g(), h("div", {
1970
+ key: 0,
1971
+ class: f(["vertical-placement fixed w-full z-[110] px-xs", b.value])
1972
+ }, [
1973
+ M((g(), h("div", {
1974
+ class: f([[R(T)("BGCOLOR", y.color), y.className], "relative overscroll-contain overflow-y-scroll max-h-[80vh] md:max-h-[60vh]"])
1963
1975
  }, [
1964
- x.noHeader ? T("", !0) : (g(), h("div", Pe, [
1965
- B(x.$slots, "header", {
1966
- close: m,
1976
+ y.noHeader ? w("", !0) : (g(), h("div", Pe, [
1977
+ B(y.$slots, "header", {
1978
+ close: x,
1967
1979
  status: o.value
1968
1980
  }, () => [
1969
- y("div", {
1970
- class: v(["flex justify-between items-center p-xs border-b-2", R(w)("BGCOLOR", x.color)])
1981
+ C("div", {
1982
+ class: f(["flex justify-between items-center p-xs border-b-2", R(T)("BGCOLOR", y.color)])
1971
1983
  }, [
1972
- x.title ? (g(), h("h3", {
1984
+ y.title ? (g(), h("h3", {
1973
1985
  key: 0,
1974
- class: v(["h3-md", R(w)("TEXTCOLOR", x.titleColor)])
1975
- }, Q(x.title), 3)) : T("", !0),
1976
- y("button", { onClick: m }, [
1986
+ class: f(["h3-md", R(T)("TEXTCOLOR", y.titleColor)])
1987
+ }, Z(y.title), 3)) : w("", !0),
1988
+ C("button", { onClick: x }, [
1977
1989
  (g(), h("svg", {
1978
1990
  xmlns: "http://www.w3.org/2000/svg",
1979
1991
  height: "1em",
1980
1992
  viewBox: "0 0 384 512",
1981
- class: v(["hover:opacity-75 focus:opacity-75 transition-opacity duration-300 ease-in h-sm", [R(w)("SVGFILL", x.titleColor)]])
1982
- }, $[0] || ($[0] = [
1983
- y("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)
1993
+ class: f(["hover:opacity-75 focus:opacity-75 transition-opacity duration-300 ease-in h-sm", [R(T)("SVGFILL", y.titleColor)]])
1994
+ }, G[0] || (G[0] = [
1995
+ C("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)
1984
1996
  ]), 2))
1985
1997
  ])
1986
1998
  ], 2)
1987
1999
  ], !0)
1988
2000
  ])),
1989
- B(x.$slots, "body", {
1990
- close: m,
2001
+ B(y.$slots, "body", {
2002
+ close: x,
1991
2003
  status: o.value
1992
2004
  }, void 0, !0),
1993
2005
  t.footer ? (g(), h("div", Ye, [
1994
- B(x.$slots, "footer", {
1995
- close: m,
2006
+ B(y.$slots, "footer", {
2007
+ close: x,
1996
2008
  status: o.value
1997
2009
  }, void 0, !0)
1998
- ])) : T("", !0)
2010
+ ])) : w("", !0)
1999
2011
  ], 2)), [
2000
- [R(q), m]
2012
+ [R(q), x]
2001
2013
  ])
2002
- ])) : T("", !0)
2014
+ ], 2)) : w("", !0)
2003
2015
  ]),
2004
2016
  _: 3
2005
2017
  })
2006
- ], 12, Xe));
2018
+ ], 12, ze));
2007
2019
  }
2008
- }), bt = /* @__PURE__ */ I(je, [["__scopeId", "data-v-1302a12c"]]), Ke = ["visible"], Ue = { class: "sidebar-body-height" }, qe = /* @__PURE__ */ A({
2020
+ }), pt = /* @__PURE__ */ N(je, [["__scopeId", "data-v-37ba23d2"]]), Ke = ["visible"], Ue = { class: "sidebar-body-height" }, qe = /* @__PURE__ */ A({
2009
2021
  __name: "Sidebar",
2010
2022
  props: {
2011
2023
  title: {},
@@ -2021,50 +2033,53 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
2021
2033
  },
2022
2034
  emits: ["open", "close"],
2023
2035
  setup(s, { expose: r, emit: e }) {
2024
- const l = s, t = D(), d = e, a = C(l.visible), o = C(!1), i = C(), u = C(), c = C(), m = () => {
2036
+ const l = s, t = D(), d = e, a = k(l.visible), o = k(!1), i = k(), u = k(), c = k(), x = () => {
2025
2037
  a.value = !a.value;
2026
- }, f = () => {
2038
+ }, v = () => {
2027
2039
  a.value = !0;
2028
2040
  }, O = () => {
2029
2041
  o.value === !0 && (a.value = !1);
2030
- }, N = () => {
2042
+ }, $ = () => {
2031
2043
  d("open", !0);
2032
2044
  }, b = () => {
2033
2045
  d("close", !1);
2034
- }, p = V(() => ({
2035
- "--sidebar-width": `${l.width}px`,
2036
- "--header-height": u.value && a.value ? u.value.scrollHeight + "px" : "0px",
2037
- "--footer-height": c.value && a.value ? c.value.scrollHeight + "px" : "0px"
2038
- })), _ = V(() => l.placement === "left" ? "sidebar-left" : "sidebar-right"), x = () => {
2046
+ }, p = V(() => {
2047
+ const m = (H) => H && a.value ? `${H.scrollHeight}px` : "0px";
2048
+ return {
2049
+ "--sidebar-width": `${l.width}px`,
2050
+ "--header-height": m(u.value),
2051
+ "--footer-height": m(c.value)
2052
+ };
2053
+ }), _ = V(() => l.placement === "left" ? "sidebar-left" : "sidebar-right"), J = () => {
2039
2054
  o.value = !0;
2040
- }, $ = () => {
2055
+ }, y = () => {
2041
2056
  o.value = !1;
2042
2057
  };
2043
- return U(i, (k = !1) => {
2044
- a.value = k;
2058
+ return U(i, (m = !1) => {
2059
+ a.value = m;
2045
2060
  }), L(
2046
2061
  () => l.visible,
2047
- (k) => {
2048
- a.value = k;
2062
+ (m) => {
2063
+ a.value = m;
2049
2064
  }
2050
- ), L(a, (k) => {
2051
- k === !0 ? N() : k === !1 && o.value === !0 && b();
2065
+ ), L(a, (m) => {
2066
+ m === !0 ? $() : m === !1 && o.value === !0 && b();
2052
2067
  }), F(() => {
2053
- const k = K(document);
2054
- L(a, (M) => {
2055
- k.value = M;
2068
+ const m = K(document);
2069
+ L(a, (H) => {
2070
+ m.value = H;
2056
2071
  });
2057
2072
  }), r({
2058
- toggle: m,
2059
- open: f,
2073
+ toggle: x,
2074
+ open: v,
2060
2075
  close: O
2061
- }), (k, M) => (g(), h("div", {
2076
+ }), (m, H) => (g(), h("div", {
2062
2077
  style: X(p.value),
2063
2078
  visible: a.value,
2064
2079
  ref_key: "sidebarRef",
2065
2080
  ref: i
2066
2081
  }, [
2067
- k.noBackdrop ? T("", !0) : (g(), z(G, {
2082
+ m.noBackdrop ? w("", !0) : (g(), z(I, {
2068
2083
  key: 0,
2069
2084
  name: "fade",
2070
2085
  appear: "",
@@ -2074,39 +2089,39 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
2074
2089
  a.value ? (g(), h("section", {
2075
2090
  key: 0,
2076
2091
  onClick: O,
2077
- class: v(["fixed inset-0 overflow-y-auto bg-opacity-70 backdrop-blur z-[100]", R(w)("BGCOLOR", k.backdropColor)])
2078
- }, null, 2)) : T("", !0)
2092
+ class: f(["fixed inset-0 overflow-y-auto bg-opacity-70 backdrop-blur z-[100]", R(T)("BGCOLOR", m.backdropColor)])
2093
+ }, null, 2)) : w("", !0)
2079
2094
  ]),
2080
2095
  _: 1
2081
2096
  })),
2082
- S(G, {
2097
+ S(I, {
2083
2098
  name: _.value,
2084
- onAfterEnter: x,
2085
- onAfterLeave: $,
2099
+ onAfterEnter: J,
2100
+ onAfterLeave: y,
2086
2101
  appear: ""
2087
2102
  }, {
2088
2103
  default: E(() => [
2089
- a.value ? W((g(), h("div", {
2104
+ a.value ? M((g(), h("div", {
2090
2105
  key: 0,
2091
- class: v(["sidebar-body fixed h-full overflow-hidden inset-y-0 shadow z-[110]", [k.placement === "left" ? "left-0" : "right-0"]])
2106
+ class: f(["sidebar-body fixed h-full overflow-hidden inset-y-0 shadow z-[110]", [m.placement === "left" ? "left-0" : "right-0"]])
2092
2107
  }, [
2093
- y("div", {
2094
- class: v(["relative h-full overscroll-contain overflow-y-scroll", [R(w)("BGCOLOR", k.color), k.className]])
2108
+ C("div", {
2109
+ class: f(["relative h-full overscroll-contain overflow-y-scroll", [R(T)("BGCOLOR", m.color), m.className]])
2095
2110
  }, [
2096
- k.noHeader ? T("", !0) : (g(), h("div", {
2111
+ m.noHeader ? w("", !0) : (g(), h("div", {
2097
2112
  key: 0,
2098
2113
  class: "sticky top-0 z-10",
2099
2114
  ref_key: "headerRef",
2100
2115
  ref: u
2101
2116
  }, [
2102
- B(k.$slots, "header", {
2117
+ B(m.$slots, "header", {
2103
2118
  close: O,
2104
2119
  status: a.value
2105
2120
  }, () => [
2106
- y("div", {
2107
- class: v(["flex justify-between items-center p-xs", R(w)("BGCOLOR", k.color)])
2121
+ C("div", {
2122
+ class: f(["flex justify-between items-center p-xs", R(T)("BGCOLOR", m.color)])
2108
2123
  }, [
2109
- k.placement === "right" ? (g(), h("button", {
2124
+ m.placement === "right" ? (g(), h("button", {
2110
2125
  key: 0,
2111
2126
  onClick: O
2112
2127
  }, [
@@ -2114,16 +2129,16 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
2114
2129
  xmlns: "http://www.w3.org/2000/svg",
2115
2130
  height: "1em",
2116
2131
  viewBox: "0 0 384 512",
2117
- class: v(["hover:opacity-75 focus:opacity-75 transition-opacity duration-300 ease-in h-sm", [R(w)("SVGFILL", k.titleColor)]])
2118
- }, M[0] || (M[0] = [
2119
- y("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)
2132
+ class: f(["hover:opacity-75 focus:opacity-75 transition-opacity duration-300 ease-in h-sm", [R(T)("SVGFILL", m.titleColor)]])
2133
+ }, H[0] || (H[0] = [
2134
+ C("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)
2120
2135
  ]), 2))
2121
- ])) : T("", !0),
2122
- k.title ? (g(), h("h3", {
2136
+ ])) : w("", !0),
2137
+ m.title ? (g(), h("h3", {
2123
2138
  key: 1,
2124
- class: v(["h3-md", R(w)("TEXTCOLOR", k.titleColor)])
2125
- }, Q(k.title), 3)) : T("", !0),
2126
- k.placement === "left" ? (g(), h("button", {
2139
+ class: f(["h3-md", R(T)("TEXTCOLOR", m.titleColor)])
2140
+ }, Z(m.title), 3)) : w("", !0),
2141
+ m.placement === "left" ? (g(), h("button", {
2127
2142
  key: 2,
2128
2143
  onClick: O
2129
2144
  }, [
@@ -2131,16 +2146,16 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
2131
2146
  xmlns: "http://www.w3.org/2000/svg",
2132
2147
  height: "1em",
2133
2148
  viewBox: "0 0 384 512",
2134
- class: v(["hover:opacity-75 focus:opacity-75 transition-opacity duration-300 ease-in h-sm", [R(w)("SVGFILL", k.titleColor)]])
2135
- }, M[1] || (M[1] = [
2136
- y("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)
2149
+ class: f(["hover:opacity-75 focus:opacity-75 transition-opacity duration-300 ease-in h-sm", [R(T)("SVGFILL", m.titleColor)]])
2150
+ }, H[1] || (H[1] = [
2151
+ C("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)
2137
2152
  ]), 2))
2138
- ])) : T("", !0)
2153
+ ])) : w("", !0)
2139
2154
  ], 2)
2140
2155
  ], !0)
2141
2156
  ], 512)),
2142
- y("div", Ue, [
2143
- B(k.$slots, "body", {
2157
+ C("div", Ue, [
2158
+ B(m.$slots, "body", {
2144
2159
  close: O,
2145
2160
  status: a.value
2146
2161
  }, void 0, !0)
@@ -2151,21 +2166,21 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
2151
2166
  ref_key: "footerRef",
2152
2167
  ref: c
2153
2168
  }, [
2154
- B(k.$slots, "footer", {
2169
+ B(m.$slots, "footer", {
2155
2170
  close: O,
2156
2171
  status: a.value
2157
2172
  }, void 0, !0)
2158
- ], 512)) : T("", !0)
2173
+ ], 512)) : w("", !0)
2159
2174
  ], 2)
2160
2175
  ], 2)), [
2161
2176
  [R(q), O]
2162
- ]) : T("", !0)
2177
+ ]) : w("", !0)
2163
2178
  ]),
2164
2179
  _: 3
2165
2180
  }, 8, ["name"])
2166
2181
  ], 12, Ke));
2167
2182
  }
2168
- }), ft = /* @__PURE__ */ I(qe, [["__scopeId", "data-v-15e6bcbe"]]), te = Symbol(), Je = { class: "container-hts transition-[max-height] duration-300 grid grid-cols-1 grid-rows-1" }, Qe = /* @__PURE__ */ A({
2183
+ }), bt = /* @__PURE__ */ N(qe, [["__scopeId", "data-v-048c4fe4"]]), re = Symbol(), Je = { class: "container-hts transition-[max-height] duration-300 grid grid-cols-1 grid-rows-1" }, Qe = /* @__PURE__ */ A({
2169
2184
  __name: "TabContainer",
2170
2185
  props: {
2171
2186
  bodyClass: { default: "" },
@@ -2174,8 +2189,8 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
2174
2189
  },
2175
2190
  setup(s, { expose: r }) {
2176
2191
  D();
2177
- const e = C(0), l = C(0), t = C("slide-next");
2178
- Y(te, {
2192
+ const e = k(0), l = k(0), t = k("slide-next");
2193
+ Y(re, {
2179
2194
  activeTabIdx: e,
2180
2195
  containerHeight: l,
2181
2196
  updateHeight: (i) => {
@@ -2193,11 +2208,11 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
2193
2208
  i > u ? t.value = "slide-next" : t.value = "slide-prev";
2194
2209
  }
2195
2210
  ), (i, u) => (g(), h("div", {
2196
- class: v(i.bodyClass),
2211
+ class: f(i.bodyClass),
2197
2212
  style: X(o.value)
2198
2213
  }, [
2199
- y("div", {
2200
- class: v(i.btnContainerClass),
2214
+ C("div", {
2215
+ class: f(i.btnContainerClass),
2201
2216
  role: "tablist"
2202
2217
  }, [
2203
2218
  B(i.$slots, "tab-button", {
@@ -2205,11 +2220,11 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
2205
2220
  activeTab: e.value
2206
2221
  }, void 0, !0)
2207
2222
  ], 2),
2208
- y("div", {
2209
- class: v(i.contentContainerClass)
2223
+ C("div", {
2224
+ class: f(i.contentContainerClass)
2210
2225
  }, [
2211
- y("div", Je, [
2212
- S(G, { name: t.value }, {
2226
+ C("div", Je, [
2227
+ S(I, { name: t.value }, {
2213
2228
  default: E(() => [
2214
2229
  (g(), h("div", {
2215
2230
  key: e.value,
@@ -2224,7 +2239,7 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
2224
2239
  ], 2)
2225
2240
  ], 6));
2226
2241
  }
2227
- }), vt = /* @__PURE__ */ I(Qe, [["__scopeId", "data-v-1014eb3f"]]), Ze = ["id"], mt = /* @__PURE__ */ A({
2242
+ }), ft = /* @__PURE__ */ N(Qe, [["__scopeId", "data-v-1014eb3f"]]), Ze = ["id"], vt = /* @__PURE__ */ A({
2228
2243
  __name: "TabContent",
2229
2244
  props: {
2230
2245
  tabNumber: {},
@@ -2233,13 +2248,13 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
2233
2248
  },
2234
2249
  setup(s) {
2235
2250
  const r = s, { activeTabIdx: e, updateHeight: l } = j(
2236
- te
2237
- ), t = C(null), { height: d } = ue(t), a = V(() => e.value === r.tabNumber ? (l(d.value), !0) : !1);
2238
- return (o, i) => W((g(), h("div", {
2251
+ re
2252
+ ), t = k(null), { height: d } = he(t), a = V(() => e.value === r.tabNumber ? (l(d.value), !0) : !1);
2253
+ return (o, i) => M((g(), h("div", {
2239
2254
  ref_key: "slotRef",
2240
2255
  ref: t,
2241
2256
  id: o.id,
2242
- class: v([o.tabClass, "w-full"]),
2257
+ class: f([o.tabClass, "w-full"]),
2243
2258
  role: "tabpanel",
2244
2259
  tabindex: "-1"
2245
2260
  }, [
@@ -2248,7 +2263,7 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
2248
2263
  [P, a.value]
2249
2264
  ]);
2250
2265
  }
2251
- }), re = Symbol(), et = /* @__PURE__ */ A({
2266
+ }), se = Symbol(), et = /* @__PURE__ */ A({
2252
2267
  __name: "CarouselContainer",
2253
2268
  props: {
2254
2269
  bodyClass: { default: "" },
@@ -2258,57 +2273,57 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
2258
2273
  loop: { type: Boolean, default: !1 }
2259
2274
  },
2260
2275
  setup(s, { expose: r }) {
2261
- const e = s, l = D(), t = C(0), d = C([]), a = C(0), o = C("slide-next"), i = (f) => {
2262
- d.value.push(f), a.value = [...new Set(d.value)].length;
2263
- }, u = (f) => {
2264
- t.value = f;
2276
+ const e = s, l = D(), t = k(0), d = k([]), a = k(0), o = k("slide-next"), i = (v) => {
2277
+ d.value.push(v), a.value = [...new Set(d.value)].length;
2278
+ }, u = (v) => {
2279
+ t.value = v;
2265
2280
  };
2266
- Y(re, {
2281
+ Y(se, {
2267
2282
  activeIdx: t,
2268
2283
  setSlide: i
2269
2284
  });
2270
2285
  const c = () => {
2271
- const { loop: f } = e;
2272
- f && t.value === a.value - 1 ? t.value = 0 : t.value < a.value - 1 && (t.value = t.value + 1);
2273
- }, m = () => {
2274
- const { loop: f } = e;
2275
- f && t.value === 0 ? t.value = a.value - 1 : t.value > 0 && (t.value = t.value - 1);
2286
+ const { loop: v } = e;
2287
+ v && t.value === a.value - 1 ? t.value = 0 : t.value < a.value - 1 && (t.value = t.value + 1);
2288
+ }, x = () => {
2289
+ const { loop: v } = e;
2290
+ v && t.value === 0 ? t.value = a.value - 1 : t.value > 0 && (t.value = t.value - 1);
2276
2291
  };
2277
2292
  return L(
2278
2293
  () => t.value,
2279
- (f, O) => {
2280
- f > O || f === 0 && O === a.value - 1 ? o.value = "slide-next" : o.value = "slide-prev";
2294
+ (v, O) => {
2295
+ v > O || v === 0 && O === a.value - 1 ? o.value = "slide-next" : o.value = "slide-prev";
2281
2296
  }
2282
2297
  ), r({
2283
2298
  numberOfSlides: a,
2284
- prev: m,
2299
+ prev: x,
2285
2300
  next: c,
2286
2301
  setActive: u
2287
- }), (f, O) => (g(), h("div", {
2288
- class: v([f.bodyClass, "relative overflow-x-hidden"])
2302
+ }), (v, O) => (g(), h("div", {
2303
+ class: f([v.bodyClass, "relative overflow-x-hidden"])
2289
2304
  }, [
2290
2305
  l["controller-top"] ? (g(), h("div", {
2291
2306
  key: 0,
2292
- class: v(f.controllerTopClass)
2307
+ class: f(v.controllerTopClass)
2293
2308
  }, [
2294
- B(f.$slots, "controller-top", {
2309
+ B(v.$slots, "controller-top", {
2295
2310
  next: c,
2296
- prev: m,
2311
+ prev: x,
2297
2312
  setActive: u,
2298
2313
  activeSlide: t.value,
2299
2314
  numberOfSlides: a.value
2300
2315
  }, void 0, !0)
2301
- ], 2)) : T("", !0),
2302
- y("div", {
2303
- class: v(["grid grid-cols-1 grid-rows-1", f.contentContainerClass])
2316
+ ], 2)) : w("", !0),
2317
+ C("div", {
2318
+ class: f(["grid grid-cols-1 grid-rows-1", v.contentContainerClass])
2304
2319
  }, [
2305
- S(G, { name: o.value }, {
2320
+ S(I, { name: o.value }, {
2306
2321
  default: E(() => [
2307
2322
  (g(), h("div", {
2308
2323
  key: t.value,
2309
2324
  class: "col-start-1 col-end-1 row-start-1 row-end-1"
2310
2325
  }, [
2311
- B(f.$slots, "content", {}, void 0, !0)
2326
+ B(v.$slots, "content", {}, void 0, !0)
2312
2327
  ]))
2313
2328
  ]),
2314
2329
  _: 3
@@ -2316,19 +2331,19 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
2316
2331
  ], 2),
2317
2332
  l["controller-bottom"] ? (g(), h("div", {
2318
2333
  key: 1,
2319
- class: v(f.controllerBottomClass)
2334
+ class: f(v.controllerBottomClass)
2320
2335
  }, [
2321
- B(f.$slots, "controller-bottom", {
2336
+ B(v.$slots, "controller-bottom", {
2322
2337
  next: c,
2323
- prev: m,
2338
+ prev: x,
2324
2339
  setActive: u,
2325
2340
  activeSlide: t.value,
2326
2341
  numberOfSlides: a.value
2327
2342
  }, void 0, !0)
2328
- ], 2)) : T("", !0)
2343
+ ], 2)) : w("", !0)
2329
2344
  ], 2));
2330
2345
  }
2331
- }), xt = /* @__PURE__ */ I(et, [["__scopeId", "data-v-05e275d0"]]), tt = ["id"], yt = /* @__PURE__ */ A({
2346
+ }), mt = /* @__PURE__ */ N(et, [["__scopeId", "data-v-05e275d0"]]), tt = ["id"], xt = /* @__PURE__ */ A({
2332
2347
  __name: "CarouselContent",
2333
2348
  props: {
2334
2349
  slideNumber: {},
@@ -2337,18 +2352,18 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
2337
2352
  },
2338
2353
  setup(s) {
2339
2354
  const r = s, { activeIdx: e, setSlide: l } = j(
2340
- re
2341
- ), t = C(null);
2355
+ se
2356
+ ), t = k(null);
2342
2357
  l(r.slideNumber), D();
2343
2358
  const d = V(() => {
2344
2359
  const { slideNumber: a } = r;
2345
2360
  return e.value === a;
2346
2361
  });
2347
- return (a, o) => W((g(), h("div", {
2362
+ return (a, o) => M((g(), h("div", {
2348
2363
  ref_key: "slideRef",
2349
2364
  ref: t,
2350
2365
  id: a.id,
2351
- class: v([a.slideClass, "w-full"]),
2366
+ class: f([a.slideClass, "w-full"]),
2352
2367
  role: "tabpanel",
2353
2368
  tabindex: "-1"
2354
2369
  }, [
@@ -2359,22 +2374,22 @@ const w = (s, r) => new ye(s, r).generateClass(), Ce = { class: "w-full flex jus
2359
2374
  }
2360
2375
  });
2361
2376
  export {
2362
- ot as Alert,
2363
- xt as CarouselContainer,
2364
- yt as CarouselContent,
2377
+ lt as Alert,
2378
+ mt as CarouselContainer,
2379
+ xt as CarouselContent,
2365
2380
  Te as ClientSideRender,
2366
- it as Collapse,
2367
- gt as DropdownContainer,
2368
- ut as DropdownContent,
2369
- ht as HeaderHorizontal,
2370
- pt as HeaderVertical,
2371
- bt as Modal,
2372
- ft as Sidebar,
2373
- vt as TabContainer,
2374
- mt as TabContent,
2375
- w as default,
2381
+ ot as Collapse,
2382
+ ct as DropdownContainer,
2383
+ gt as DropdownContent,
2384
+ ut as HeaderHorizontal,
2385
+ ht as HeaderVertical,
2386
+ pt as Modal,
2387
+ bt as Sidebar,
2388
+ ft as TabContainer,
2389
+ vt as TabContent,
2390
+ T as default,
2376
2391
  q as vClickOutside,
2377
- dt as vCollapse,
2378
- nt as vToggle,
2379
- ct as vTooltip
2392
+ nt as vCollapse,
2393
+ it as vToggle,
2394
+ dt as vTooltip
2380
2395
  };