@contentstudio/ui 0.2.6 → 0.2.7

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/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  var Eb = Object.defineProperty;
2
2
  var Ub = (t, a, o) => a in t ? Eb(t, a, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[a] = o;
3
3
  var et = (t, a, o) => (Ub(t, typeof a != "symbol" ? a + "" : a, o), o);
4
- import { defineComponent as Z, computed as h, openBlock as u, createElementBlock as m, normalizeClass as x, normalizeStyle as W, renderSlot as H, createElementVNode as v, createCommentVNode as I, withKeys as Jw, withModifiers as Ae, toDisplayString as R, createTextVNode as ee, ref as D, mergeProps as ue, unref as J, Fragment as re, renderList as be, withDirectives as Qe, createBlock as Y, resolveDynamicComponent as ge, vShow as G2, Teleport as ho, createVNode as X, Transition as Me, withCtx as K, shallowRef as Yw, watch as ne, getCurrentScope as eb, onScopeDispose as tb, shallowReadonly as eo, readonly as Nb, toValue as Zb, inject as Le, onMounted as Se, provide as Xe, nextTick as ze, onBeforeUnmount as Mo, reactive as uo, createApp as dw, createSlots as Wb, useSlots as _b, h as at, createStaticVNode as Gb, onUnmounted as xo, watchEffect as qo, toRaw as Oe, isVNode as ab, cloneVNode as Xb } from "vue";
5
- import { c as ot, d as ao, g as oo, a as ob } from "./tailwind-bbe195b2.js";
6
- import { b as hA, u as uA, p as yA, e as pA, q as kA, k as mA, o as vA, r as fA, n as gA, l as MA, s as xA, j as wA, i as bA, f as LA, h as CA, w as IA, m as SA, t as zA, v as qA, x as AA } from "./tailwind-bbe195b2.js";
4
+ import { defineComponent as Z, computed as h, openBlock as u, createElementBlock as m, normalizeClass as x, normalizeStyle as W, renderSlot as H, createElementVNode as v, createCommentVNode as S, withKeys as Jw, withModifiers as Ae, toDisplayString as R, createTextVNode as ee, ref as D, mergeProps as ue, unref as J, Fragment as re, renderList as be, withDirectives as Qe, createBlock as Y, resolveDynamicComponent as ge, vShow as G2, Teleport as ho, createVNode as X, Transition as Me, withCtx as K, shallowRef as Yw, watch as ne, getCurrentScope as eb, onScopeDispose as tb, shallowReadonly as eo, readonly as Nb, toValue as Zb, inject as Le, onMounted as Se, provide as Xe, nextTick as ze, onBeforeUnmount as Mo, reactive as uo, createApp as dw, createSlots as Wb, useSlots as _b, h as at, createStaticVNode as Gb, onUnmounted as xo, watchEffect as qo, toRaw as Oe, isVNode as ab, cloneVNode as Xb } from "vue";
5
+ import { c as ot, d as ao, g as oo, a as ob } from "./tailwind-151a5d8c.js";
6
+ import { b as hA, u as uA, p as yA, e as pA, q as kA, k as mA, o as vA, r as fA, n as gA, l as MA, s as xA, j as wA, i as bA, f as LA, h as CA, w as IA, m as SA, t as zA, v as qA, x as AA } from "./tailwind-151a5d8c.js";
7
7
  const Je = {
8
8
  primary: {
9
9
  base: "primary",
@@ -395,7 +395,7 @@ const Je = {
395
395
  })
396
396
  ], -1))
397
397
  ])
398
- ])) : I("", !0),
398
+ ])) : S("", !0),
399
399
  H(r.$slots, "rightSection")
400
400
  ], 14, tL));
401
401
  }
@@ -542,7 +542,7 @@ const Je = {
542
542
  "stroke-linecap": "round",
543
543
  "stroke-linejoin": "round"
544
544
  }, null, -1)
545
- ]), 2)) : I("", !0),
545
+ ]), 2)) : S("", !0),
546
546
  M.indeterminate ? (u(), m("svg", {
547
547
  key: 1,
548
548
  class: x(y.value),
@@ -556,7 +556,7 @@ const Je = {
556
556
  "stroke-linecap": "round",
557
557
  "stroke-linejoin": "round"
558
558
  }, null, -1)
559
- ]), 2)) : I("", !0)
559
+ ]), 2)) : S("", !0)
560
560
  ], 42, oL),
561
561
  M.label || M.description ? (u(), m("div", {
562
562
  key: 0,
@@ -566,13 +566,13 @@ const Je = {
566
566
  key: 0,
567
567
  class: x([d.value, M.labelClass]),
568
568
  onClick: l
569
- }, R(M.label), 3)) : I("", !0),
569
+ }, R(M.label), 3)) : S("", !0),
570
570
  M.description ? (u(), m("div", {
571
571
  key: 1,
572
572
  class: x(r.value)
573
- }, R(M.description), 3)) : I("", !0),
574
- M.error ? (u(), m("div", cL, R(M.error), 1)) : I("", !0)
575
- ], 2)) : I("", !0)
573
+ }, R(M.description), 3)) : S("", !0),
574
+ M.error ? (u(), m("div", cL, R(M.error), 1)) : S("", !0)
575
+ ], 2)) : S("", !0)
576
576
  ], 2));
577
577
  }
578
578
  }), sL = ["aria-checked", "aria-disabled"], rL = ["id", "checked", "disabled", "value"], iL = ["for"], wq = /* @__PURE__ */ Z({
@@ -677,7 +677,7 @@ const Je = {
677
677
  l.value ? (u(), m("div", {
678
678
  key: 0,
679
679
  class: x([p.value, "cstu-absolute cstu-left-1/2 cstu-top-1/2 cstu--translate-x-1/2 cstu--translate-y-1/2 cstu-transition-transform cstu-duration-200 cstu-ease-in-out"])
680
- }, null, 2)) : I("", !0)
680
+ }, null, 2)) : S("", !0)
681
681
  ], 2),
682
682
  v("div", {
683
683
  class: x(M.value)
@@ -690,7 +690,7 @@ const Je = {
690
690
  H(b.$slots, "label", {}, () => [
691
691
  ee(R(b.label), 1)
692
692
  ])
693
- ], 10, iL)) : I("", !0),
693
+ ], 10, iL)) : S("", !0),
694
694
  b.description ? (u(), m("div", {
695
695
  key: 1,
696
696
  class: x(y.value)
@@ -698,7 +698,7 @@ const Je = {
698
698
  H(b.$slots, "description", {}, () => [
699
699
  ee(R(b.description), 1)
700
700
  ])
701
- ], 2)) : I("", !0),
701
+ ], 2)) : S("", !0),
702
702
  b.error ? (u(), m("div", {
703
703
  key: 2,
704
704
  class: x(f.value)
@@ -706,7 +706,7 @@ const Je = {
706
706
  H(b.$slots, "error", {}, () => [
707
707
  ee(R(b.error), 1)
708
708
  ])
709
- ], 2)) : I("", !0)
709
+ ], 2)) : S("", !0)
710
710
  ], 2)
711
711
  ], 10, sL));
712
712
  }
@@ -765,6 +765,7 @@ const lL = {
765
765
  pattern: {},
766
766
  title: {},
767
767
  inputClass: {},
768
+ inputContainerClass: {},
768
769
  maxLength: {}
769
770
  },
770
771
  emits: ["update:modelValue", "focus", "blur", "change"],
@@ -795,15 +796,18 @@ const lL = {
795
796
  labelSize: "cstu-text-base cstu-font-medium",
796
797
  descriptionSize: "cstu-text-sm"
797
798
  }
798
- }, d = h(() => `${l[s.size || "md"].inputClass.split(" ")[0]} cstu-transition-all cstu-duration-300`), r = h(() => l[s.size || "md"].labelSize), i = h(() => l[s.size || "md"].descriptionSize), p = h(() => "cstu-text-sm"), k = h(() => He(s.radius || "md")), y = h(() => {
799
+ }, d = h(() => {
800
+ const I = `${l[s.size || "md"].inputClass.split(" ")[0]} cstu-transition-all cstu-duration-300`;
801
+ return s.inputContainerClass ? `${I} ${s.inputContainerClass}` : I;
802
+ }), r = h(() => l[s.size || "md"].labelSize), i = h(() => l[s.size || "md"].descriptionSize), p = h(() => "cstu-text-sm"), k = h(() => He(s.radius || "md")), y = h(() => {
799
803
  const C = s.variant || "default", g = {
800
804
  default: "cstu-bg-white cstu-border cstu-transition-colors cstu-duration-150 cstu-px-3",
801
805
  filled: "cstu-bg-gray-100 cstu-border cstu-border-transparent cstu-transition-colors cstu-duration-150 cstu-px-3",
802
806
  unstyled: "cstu-bg-transparent cstu-border-0"
803
- }, S = f.value ? "" : C === "default" ? "cstu-border-gray-300/45" : "", O = f.value ? "cstu-border-red-500" : "";
807
+ }, I = f.value ? "" : C === "default" ? "cstu-border-gray-300/45" : "", O = f.value ? "cstu-border-red-500" : "";
804
808
  return C === "unstyled" ? [g[C]] : [
805
809
  g[C],
806
- S,
810
+ I,
807
811
  O,
808
812
  // Hover classes - only apply on hover
809
813
  f.value ? "hover:cstu-border-red-500" : "hover:cstu-border-primary-500",
@@ -834,8 +838,8 @@ const lL = {
834
838
  return (C = n.value) == null ? void 0 : C.select();
835
839
  },
836
840
  setSelectionRange: (C, g) => {
837
- var S;
838
- return (S = n.value) == null ? void 0 : S.setSelectionRange(C, g);
841
+ var I;
842
+ return (I = n.value) == null ? void 0 : I.setSelectionRange(C, g);
839
843
  },
840
844
  setRangeText: (C) => {
841
845
  var g;
@@ -862,11 +866,11 @@ const lL = {
862
866
  }, [
863
867
  H(C.$slots, "label", {}, () => [
864
868
  ee(R(s.label) + " ", 1),
865
- s.withAsterisk || s.required ? (u(), m("span", hL, "*")) : I("", !0)
869
+ s.withAsterisk || s.required ? (u(), m("span", hL, "*")) : S("", !0)
866
870
  ])
867
871
  ], 10, dL),
868
872
  H(C.$slots, "labelIcon")
869
- ])) : I("", !0),
873
+ ])) : S("", !0),
870
874
  v("div", null, [
871
875
  v("div", {
872
876
  class: x([
@@ -881,7 +885,7 @@ const lL = {
881
885
  }, [
882
886
  C.$slots.leftSection ? (u(), m("div", uL, [
883
887
  H(C.$slots, "leftSection")
884
- ])) : I("", !0),
888
+ ])) : S("", !0),
885
889
  v("input", ue({
886
890
  ref_key: "inputRef",
887
891
  ref: n,
@@ -904,14 +908,14 @@ const lL = {
904
908
  "cstu-text-red-500": f.value && !s.modelValue
905
909
  }
906
910
  ],
907
- onInput: g[0] || (g[0] = (S) => C.$emit("update:modelValue", S.target.value)),
911
+ onInput: g[0] || (g[0] = (I) => C.$emit("update:modelValue", I.target.value)),
908
912
  onFocus: w,
909
913
  onBlur: b,
910
914
  onChange: z
911
915
  }, s.inputProps), null, 16, yL),
912
916
  C.$slots.rightSection ? (u(), m("div", pL, [
913
917
  H(C.$slots, "rightSection")
914
- ])) : I("", !0)
918
+ ])) : S("", !0)
915
919
  ], 2)
916
920
  ]),
917
921
  s.description && !f.value || C.$slots.description && !f.value || s.description && s.showBothErrorAndDescription ? (u(), m("div", kL, [
@@ -922,7 +926,7 @@ const lL = {
922
926
  ee(R(s.description), 1)
923
927
  ])
924
928
  ], 2)
925
- ])) : I("", !0),
929
+ ])) : S("", !0),
926
930
  f.value && s.error || f.value && !s.error && C.$slots.error ? (u(), m("div", mL, [
927
931
  v("p", {
928
932
  class: x(["cstu-text-red-500", i.value])
@@ -931,7 +935,7 @@ const lL = {
931
935
  ee(R(s.error), 1)
932
936
  ])
933
937
  ], 2)
934
- ])) : I("", !0)
938
+ ])) : S("", !0)
935
939
  ], 2));
936
940
  }
937
941
  }), vL = ["disabled"], fL = {
@@ -1002,7 +1006,7 @@ const lL = {
1002
1006
  d: "M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",
1003
1007
  "clip-rule": "evenodd"
1004
1008
  }, null, -1)
1005
- ]))) : I("", !0)
1009
+ ]))) : S("", !0)
1006
1010
  ]),
1007
1011
  k.loading ? (u(), m("span", gL, y[1] || (y[1] = [
1008
1012
  v("svg", {
@@ -1025,12 +1029,12 @@ const lL = {
1025
1029
  d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
1026
1030
  })
1027
1031
  ], -1)
1028
- ]))) : I("", !0),
1032
+ ]))) : S("", !0),
1029
1033
  H(k.$slots, "label", {}, () => [
1030
1034
  k.label ? (u(), m("span", {
1031
1035
  key: 0,
1032
1036
  class: x(["whitespace-nowrap", k.loading ? "opacity-75" : ""])
1033
- }, R(k.label), 3)) : I("", !0)
1037
+ }, R(k.label), 3)) : S("", !0)
1034
1038
  ])
1035
1039
  ], 10, vL));
1036
1040
  }
@@ -1139,12 +1143,12 @@ const lL = {
1139
1143
  }, [
1140
1144
  v("div", ML, [
1141
1145
  H(y.$slots, "default", {}, void 0, !0),
1142
- y.disabled ? I("", !0) : (u(), m("div", {
1146
+ y.disabled ? S("", !0) : (u(), m("div", {
1143
1147
  key: 0,
1144
1148
  class: x(["indicator-dot", [i.value, s.value]]),
1145
1149
  style: W(p.value)
1146
1150
  }, [
1147
- y.label && !y.dot ? (u(), m("span", xL, R(y.label), 1)) : I("", !0)
1151
+ y.label && !y.dot ? (u(), m("span", xL, R(y.label), 1)) : S("", !0)
1148
1152
  ], 6))
1149
1153
  ])
1150
1154
  ], 6));
@@ -1269,14 +1273,14 @@ const Ux = (t, a) => {
1269
1273
  });
1270
1274
  return (w, b) => (u(), m("div", null, [
1271
1275
  w.label || w.$slots.label || w.showValue ? (u(), m("div", LL, [
1272
- w.label && !w.$slots.label ? (u(), m("span", CL, R(w.label), 1)) : I("", !0),
1273
- w.$slots.label ? H(w.$slots, "label", { key: 1 }) : I("", !0),
1276
+ w.label && !w.$slots.label ? (u(), m("span", CL, R(w.label), 1)) : S("", !0),
1277
+ w.$slots.label ? H(w.$slots, "label", { key: 1 }) : S("", !0),
1274
1278
  w.showValue && w.valuePosition === "top" && !w.$slots.value ? (u(), m("span", {
1275
1279
  key: 2,
1276
1280
  class: x(["cstu-text-sm cstu-font-medium cstu-text-gray-500", { "flex justify-end w-full": !w.label }])
1277
- }, R(o.value) + "% ", 3)) : I("", !0),
1278
- w.showValue && w.valuePosition === "top" && w.$slots.value ? H(w.$slots, "value", { key: 3 }) : I("", !0)
1279
- ])) : I("", !0),
1281
+ }, R(o.value) + "% ", 3)) : S("", !0),
1282
+ w.showValue && w.valuePosition === "top" && w.$slots.value ? H(w.$slots, "value", { key: 3 }) : S("", !0)
1283
+ ])) : S("", !0),
1280
1284
  v("div", {
1281
1285
  class: x(["cstu-relative", { "cstu-flex cstu-items-center cstu-gap-2": w.showValue && w.valuePosition === "right" }])
1282
1286
  }, [
@@ -1343,9 +1347,9 @@ const Ux = (t, a) => {
1343
1347
  ])
1344
1348
  }, null, 6)
1345
1349
  ])
1346
- ], 6)) : I("", !0),
1347
- w.showValue && w.valuePosition === "right" && !w.$slots.value ? (u(), m("span", zL, R(o.value) + "% ", 1)) : I("", !0),
1348
- w.showValue && w.valuePosition === "right" && w.$slots.value ? H(w.$slots, "value", { key: 2 }) : I("", !0)
1350
+ ], 6)) : S("", !0),
1351
+ w.showValue && w.valuePosition === "right" && !w.$slots.value ? (u(), m("span", zL, R(o.value) + "% ", 1)) : S("", !0),
1352
+ w.showValue && w.valuePosition === "right" && w.$slots.value ? H(w.$slots, "value", { key: 2 }) : S("", !0)
1349
1353
  ], 2)
1350
1354
  ]));
1351
1355
  }
@@ -1435,7 +1439,7 @@ const qL = {
1435
1439
  }, [
1436
1440
  z.$slots.icon ? (u(), m("div", qL, [
1437
1441
  H(z.$slots, "icon")
1438
- ])) : I("", !0),
1442
+ ])) : S("", !0),
1439
1443
  v("div", {
1440
1444
  class: x(["flex-grow", [z.$slots.icon && "ml-3"]])
1441
1445
  }, [
@@ -1446,7 +1450,7 @@ const qL = {
1446
1450
  d.value
1447
1451
  ])
1448
1452
  }, R(z.title), 3)
1449
- ])) : I("", !0),
1453
+ ])) : S("", !0),
1450
1454
  z.message ? (u(), m("div", {
1451
1455
  key: 1,
1452
1456
  class: x([
@@ -1454,7 +1458,7 @@ const qL = {
1454
1458
  z.variant === "filled" ? "text-white/90" : "text-gray-600",
1455
1459
  i.value
1456
1460
  ])
1457
- }, R(z.message), 3)) : I("", !0),
1461
+ }, R(z.message), 3)) : S("", !0),
1458
1462
  H(z.$slots, "default")
1459
1463
  ], 2),
1460
1464
  z.closable ? (u(), m("div", HL, [
@@ -1477,7 +1481,7 @@ const qL = {
1477
1481
  v("path", { d: "M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z" })
1478
1482
  ], -1)
1479
1483
  ]), 10, VL)
1480
- ])) : I("", !0)
1484
+ ])) : S("", !0)
1481
1485
  ], 2)
1482
1486
  ], 2));
1483
1487
  }
@@ -1701,7 +1705,7 @@ const DL = /* @__PURE__ */ Z({
1701
1705
  })
1702
1706
  ], -1)
1703
1707
  ]))
1704
- ])) : I("", !0),
1708
+ ])) : S("", !0),
1705
1709
  o.iconPosition === "top" ? (u(), m("div", RL, [
1706
1710
  v("div", OL, [
1707
1711
  v("div", {
@@ -1713,7 +1717,7 @@ const DL = /* @__PURE__ */ Z({
1713
1717
  r.title ? (u(), m("div", {
1714
1718
  key: 0,
1715
1719
  class: x(["text-lg font-medium text-gray-900 mb-2", o.centered ? "text-center" : ""])
1716
- }, R(r.title), 3)) : I("", !0)
1720
+ }, R(r.title), 3)) : S("", !0)
1717
1721
  ])
1718
1722
  ]),
1719
1723
  v("div", EL, [
@@ -1721,7 +1725,7 @@ const DL = /* @__PURE__ */ Z({
1721
1725
  r.content ? (u(), m("div", {
1722
1726
  key: 0,
1723
1727
  class: x(["text-sm text-gray-600 mb-2", o.centered ? "text-center" : ""])
1724
- }, R(r.content), 3)) : I("", !0),
1728
+ }, R(r.content), 3)) : S("", !0),
1725
1729
  H(r.$slots, "default")
1726
1730
  ])
1727
1731
  ]),
@@ -1744,7 +1748,7 @@ const DL = /* @__PURE__ */ Z({
1744
1748
  ee(R(r.cancelText), 1)
1745
1749
  ]),
1746
1750
  _: 1
1747
- }, 8, ["class"])) : I("", !0),
1751
+ }, 8, ["class"])) : S("", !0),
1748
1752
  r.withDefaultActions ? (u(), Y(ke, {
1749
1753
  key: 1,
1750
1754
  onClick: d,
@@ -1757,9 +1761,9 @@ const DL = /* @__PURE__ */ Z({
1757
1761
  ee(R(r.confirmText), 1)
1758
1762
  ]),
1759
1763
  _: 1
1760
- }, 8, ["color", "class"])) : I("", !0)
1764
+ }, 8, ["color", "class"])) : S("", !0)
1761
1765
  ])
1762
- ], 2)) : I("", !0)
1766
+ ], 2)) : S("", !0)
1763
1767
  ])
1764
1768
  ])
1765
1769
  ])) : o.iconPosition === "left" ? (u(), m("div", NL, [
@@ -1771,7 +1775,7 @@ const DL = /* @__PURE__ */ Z({
1771
1775
  v("div", WL, [
1772
1776
  H(r.$slots, "icon")
1773
1777
  ]),
1774
- r.title ? (u(), m("div", _L, R(r.title), 1)) : I("", !0)
1778
+ r.title ? (u(), m("div", _L, R(r.title), 1)) : S("", !0)
1775
1779
  ], 2)
1776
1780
  ])
1777
1781
  ]),
@@ -1780,7 +1784,7 @@ const DL = /* @__PURE__ */ Z({
1780
1784
  r.content ? (u(), m("div", {
1781
1785
  key: 0,
1782
1786
  class: x(["text-sm text-gray-600 mb-2", o.centered ? "text-center" : ""])
1783
- }, R(r.content), 3)) : I("", !0),
1787
+ }, R(r.content), 3)) : S("", !0),
1784
1788
  H(r.$slots, "default")
1785
1789
  ])
1786
1790
  ]),
@@ -1803,7 +1807,7 @@ const DL = /* @__PURE__ */ Z({
1803
1807
  ee(R(r.cancelText), 1)
1804
1808
  ]),
1805
1809
  _: 1
1806
- }, 8, ["class"])) : I("", !0),
1810
+ }, 8, ["class"])) : S("", !0),
1807
1811
  r.withDefaultActions ? (u(), Y(ke, {
1808
1812
  key: 1,
1809
1813
  onClick: d,
@@ -1816,9 +1820,9 @@ const DL = /* @__PURE__ */ Z({
1816
1820
  ee(R(r.confirmText), 1)
1817
1821
  ]),
1818
1822
  _: 1
1819
- }, 8, ["color", "class"])) : I("", !0)
1823
+ }, 8, ["color", "class"])) : S("", !0)
1820
1824
  ])
1821
- ], 2)) : I("", !0)
1825
+ ], 2)) : S("", !0)
1822
1826
  ])
1823
1827
  ])
1824
1828
  ])) : (u(), m("div", KL, [
@@ -1827,7 +1831,7 @@ const DL = /* @__PURE__ */ Z({
1827
1831
  r.title ? (u(), m("div", {
1828
1832
  key: 0,
1829
1833
  class: x(["text-lg font-medium text-gray-900 mb-2", o.centered ? "text-center" : ""])
1830
- }, R(r.title), 3)) : I("", !0)
1834
+ }, R(r.title), 3)) : S("", !0)
1831
1835
  ])
1832
1836
  ]),
1833
1837
  v("div", JL, [
@@ -1835,7 +1839,7 @@ const DL = /* @__PURE__ */ Z({
1835
1839
  r.content ? (u(), m("div", {
1836
1840
  key: 0,
1837
1841
  class: x(["text-sm text-gray-600", o.centered ? "text-center" : ""])
1838
- }, R(r.content), 3)) : I("", !0),
1842
+ }, R(r.content), 3)) : S("", !0),
1839
1843
  H(r.$slots, "default")
1840
1844
  ])
1841
1845
  ]),
@@ -1858,7 +1862,7 @@ const DL = /* @__PURE__ */ Z({
1858
1862
  ee(R(r.cancelText), 1)
1859
1863
  ]),
1860
1864
  _: 1
1861
- }, 8, ["class"])) : I("", !0),
1865
+ }, 8, ["class"])) : S("", !0),
1862
1866
  r.withDefaultActions ? (u(), Y(ke, {
1863
1867
  key: 1,
1864
1868
  onClick: d,
@@ -1871,15 +1875,15 @@ const DL = /* @__PURE__ */ Z({
1871
1875
  ee(R(r.confirmText), 1)
1872
1876
  ]),
1873
1877
  _: 1
1874
- }, 8, ["color", "class"])) : I("", !0)
1878
+ }, 8, ["color", "class"])) : S("", !0)
1875
1879
  ])
1876
- ], 2)) : I("", !0)
1880
+ ], 2)) : S("", !0)
1877
1881
  ])
1878
1882
  ])
1879
1883
  ]))
1880
1884
  ])
1881
1885
  ], 2)
1882
- ], 4)) : I("", !0)
1886
+ ], 4)) : S("", !0)
1883
1887
  ]),
1884
1888
  _: 3
1885
1889
  })
@@ -2061,7 +2065,7 @@ const rC = async (t, a, o) => {
2061
2065
  x: z,
2062
2066
  y: C,
2063
2067
  data: g,
2064
- reset: S
2068
+ reset: I
2065
2069
  } = await b({
2066
2070
  x: p,
2067
2071
  y: k,
@@ -2082,11 +2086,11 @@ const rC = async (t, a, o) => {
2082
2086
  ...f[w],
2083
2087
  ...g
2084
2088
  }
2085
- }, S && M <= 50 && (M++, typeof S == "object" && (S.placement && (y = S.placement), S.rects && (i = S.rects === !0 ? await l.getElementRects({
2089
+ }, I && M <= 50 && (M++, typeof I == "object" && (I.placement && (y = I.placement), I.rects && (i = I.rects === !0 ? await l.getElementRects({
2086
2090
  reference: t,
2087
2091
  floating: a,
2088
2092
  strategy: n
2089
- }) : S.rects), {
2093
+ }) : I.rects), {
2090
2094
  x: p,
2091
2095
  y: k
2092
2096
  } = Dw(i, y, r)), A = -1);
@@ -2131,17 +2135,17 @@ async function Cw(t, a) {
2131
2135
  } : {
2132
2136
  x: 1,
2133
2137
  y: 1
2134
- }, S = Dx(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
2138
+ }, I = Dx(s.convertOffsetParentRelativeRectToViewportRelativeRect ? await s.convertOffsetParentRelativeRectToViewportRelativeRect({
2135
2139
  elements: d,
2136
2140
  rect: z,
2137
2141
  offsetParent: C,
2138
2142
  strategy: r
2139
2143
  }) : z);
2140
2144
  return {
2141
- top: (b.top - S.top + M.top) / g.y,
2142
- bottom: (S.bottom - b.bottom + M.bottom) / g.y,
2143
- left: (b.left - S.left + M.left) / g.x,
2144
- right: (S.right - b.right + M.right) / g.x
2145
+ top: (b.top - I.top + M.top) / g.y,
2146
+ bottom: (I.bottom - b.bottom + M.bottom) / g.y,
2147
+ left: (b.left - I.left + M.left) / g.x,
2148
+ right: (I.right - b.right + M.right) / g.x
2145
2149
  };
2146
2150
  }
2147
2151
  const iC = (t) => ({
@@ -2165,10 +2169,10 @@ const iC = (t) => ({
2165
2169
  const k = db(p), y = {
2166
2170
  x: o,
2167
2171
  y: c
2168
- }, f = Lw(n), M = bw(f), A = await l.getDimensions(i), w = f === "y", b = w ? "top" : "left", z = w ? "bottom" : "right", C = w ? "clientHeight" : "clientWidth", g = s.reference[M] + s.reference[f] - y[f] - s.floating[M], S = y[f] - s.reference[f], O = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(i));
2172
+ }, f = Lw(n), M = bw(f), A = await l.getDimensions(i), w = f === "y", b = w ? "top" : "left", z = w ? "bottom" : "right", C = w ? "clientHeight" : "clientWidth", g = s.reference[M] + s.reference[f] - y[f] - s.floating[M], I = y[f] - s.reference[f], O = await (l.getOffsetParent == null ? void 0 : l.getOffsetParent(i));
2169
2173
  let U = O ? O[C] : 0;
2170
2174
  (!U || !await (l.isElement == null ? void 0 : l.isElement(O))) && (U = d.floating[C] || s.floating[M]);
2171
- const F = g / 2 - S / 2, Q = U / 2 - A[M] / 2 - 1, j = so(k[b], Q), $ = so(k[z], Q), G = j, oe = U - A[M] - $, te = U / 2 - A[M] / 2 + F, le = hw(G, te, oe), ve = !r.arrow && Ue(n) != null && te !== le && s.reference[M] / 2 - (te < G ? j : $) - A[M] / 2 < 0, me = ve ? te < G ? te - G : te - oe : 0;
2175
+ const F = g / 2 - I / 2, Q = U / 2 - A[M] / 2 - 1, j = so(k[b], Q), $ = so(k[z], Q), G = j, oe = U - A[M] - $, te = U / 2 - A[M] / 2 + F, le = hw(G, te, oe), ve = !r.arrow && Ue(n) != null && te !== le && s.reference[M] / 2 - (te < G ? j : $) - A[M] / 2 < 0, me = ve ? te < G ? te - G : te - oe : 0;
2172
2176
  return {
2173
2177
  [f]: y[f] + me,
2174
2178
  data: {
@@ -2213,7 +2217,7 @@ const dC = function(t) {
2213
2217
  placement: A[0]
2214
2218
  }
2215
2219
  };
2216
- const g = [w[Ye(z)], w[C[0]], w[C[1]]], S = [...((c = l.autoPlacement) == null ? void 0 : c.overflows) || [], {
2220
+ const g = [w[Ye(z)], w[C[0]], w[C[1]]], I = [...((c = l.autoPlacement) == null ? void 0 : c.overflows) || [], {
2217
2221
  placement: z,
2218
2222
  overflows: g
2219
2223
  }], O = A[b + 1];
@@ -2221,13 +2225,13 @@ const dC = function(t) {
2221
2225
  return {
2222
2226
  data: {
2223
2227
  index: b + 1,
2224
- overflows: S
2228
+ overflows: I
2225
2229
  },
2226
2230
  reset: {
2227
2231
  placement: O
2228
2232
  }
2229
2233
  };
2230
- const U = S.map((j) => {
2234
+ const U = I.map((j) => {
2231
2235
  const $ = Ue(j.placement);
2232
2236
  return [j.placement, $ && p ? (
2233
2237
  // Check along the mainAxis and main crossAxis side.
@@ -2245,7 +2249,7 @@ const dC = function(t) {
2245
2249
  return Q !== d ? {
2246
2250
  data: {
2247
2251
  index: b + 1,
2248
- overflows: S
2252
+ overflows: I
2249
2253
  },
2250
2254
  reset: {
2251
2255
  placement: Q
@@ -2277,9 +2281,9 @@ const dC = function(t) {
2277
2281
  } = yo(t, a);
2278
2282
  if ((o = s.arrow) != null && o.alignmentOffset)
2279
2283
  return {};
2280
- const b = Ye(n), z = ro(d), C = Ye(d) === d, g = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), S = y || (C || !A ? [Tx(d)] : oC(d)), O = M !== "none";
2281
- !y && O && S.push(...nC(d, A, M, g));
2282
- const U = [d, ...S], F = await Cw(a, w), Q = [];
2284
+ const b = Ye(n), z = ro(d), C = Ye(d) === d, g = await (r.isRTL == null ? void 0 : r.isRTL(i.floating)), I = y || (C || !A ? [Tx(d)] : oC(d)), O = M !== "none";
2285
+ !y && O && I.push(...nC(d, A, M, g));
2286
+ const U = [d, ...I], F = await Cw(a, w), Q = [];
2283
2287
  let j = ((c = s.flip) == null ? void 0 : c.overflows) || [];
2284
2288
  if (p && Q.push(F[b]), k) {
2285
2289
  const te = lb(n, l, g);
@@ -2855,7 +2859,7 @@ function HC(t, a) {
2855
2859
  threshold: _2(0, so(1, r)) || 1
2856
2860
  };
2857
2861
  let g = !0;
2858
- function S(O) {
2862
+ function I(O) {
2859
2863
  const U = O[0].intersectionRatio;
2860
2864
  if (U !== r) {
2861
2865
  if (!g)
@@ -2867,13 +2871,13 @@ function HC(t, a) {
2867
2871
  U === 1 && !vb(i, t.getBoundingClientRect()) && l(), g = !1;
2868
2872
  }
2869
2873
  try {
2870
- o = new IntersectionObserver(S, {
2874
+ o = new IntersectionObserver(I, {
2871
2875
  ...C,
2872
2876
  // Handle <iframe>s
2873
2877
  root: n.ownerDocument
2874
2878
  });
2875
2879
  } catch {
2876
- o = new IntersectionObserver(S, C);
2880
+ o = new IntersectionObserver(I, C);
2877
2881
  }
2878
2882
  o.observe(t);
2879
2883
  }
@@ -3012,7 +3016,7 @@ function Kx(t, a, o) {
3012
3016
  function g() {
3013
3017
  typeof z == "function" && (z(), z = void 0);
3014
3018
  }
3015
- function S() {
3019
+ function I() {
3016
3020
  if (g(), c === void 0) {
3017
3021
  C();
3018
3022
  return;
@@ -3027,7 +3031,7 @@ function Kx(t, a, o) {
3027
3031
  }
3028
3032
  return ne([s, l, d, n], C, {
3029
3033
  flush: "sync"
3030
- }), ne([i, p], S, {
3034
+ }), ne([i, p], I, {
3031
3035
  flush: "sync"
3032
3036
  }), ne(n, O, {
3033
3037
  flush: "sync"
@@ -3160,11 +3164,11 @@ const wb = Symbol("hover-card"), bb = /* @__PURE__ */ Z({
3160
3164
  g && await M();
3161
3165
  });
3162
3166
  const A = h(() => {
3163
- var g, S;
3164
- return (S = (g = y.value) == null ? void 0 : g.arrow) == null ? void 0 : S.x;
3167
+ var g, I;
3168
+ return (I = (g = y.value) == null ? void 0 : g.arrow) == null ? void 0 : I.x;
3165
3169
  }), w = h(() => {
3166
- var g, S;
3167
- return (S = (g = y.value) == null ? void 0 : g.arrow) == null ? void 0 : S.y;
3170
+ var g, I;
3171
+ return (I = (g = y.value) == null ? void 0 : g.arrow) == null ? void 0 : I.y;
3168
3172
  }), b = h(() => {
3169
3173
  switch (f.value) {
3170
3174
  case "top":
@@ -3198,12 +3202,12 @@ const wb = Symbol("hover-card"), bb = /* @__PURE__ */ Z({
3198
3202
  lg: "w-[400px]",
3199
3203
  xl: "w-[480px]"
3200
3204
  })[a.size]);
3201
- return (g, S) => (u(), m("div", {
3205
+ return (g, I) => (u(), m("div", {
3202
3206
  ref_key: "reference",
3203
3207
  ref: n,
3204
3208
  class: "relative inline-block",
3205
- onMouseenter: S[2] || (S[2] = (O) => !g.disabled && J(d)()),
3206
- onMouseleave: S[3] || (S[3] = (O) => !g.disabled && J(r)())
3209
+ onMouseenter: I[2] || (I[2] = (O) => !g.disabled && J(d)()),
3210
+ onMouseleave: I[3] || (I[3] = (O) => !g.disabled && J(r)())
3207
3211
  }, [
3208
3212
  X(bb, null, {
3209
3213
  default: K(() => [
@@ -3235,8 +3239,8 @@ const wb = Symbol("hover-card"), bb = /* @__PURE__ */ Z({
3235
3239
  zIndex: g.zIndex || 1e3
3236
3240
  }),
3237
3241
  class: x(["min-w-[200px]", [C.value]]),
3238
- onMouseenter: S[0] || (S[0] = (O) => !g.disabled && J(d)()),
3239
- onMouseleave: S[1] || (S[1] = (O) => !g.disabled && J(r)())
3242
+ onMouseenter: I[0] || (I[0] = (O) => !g.disabled && J(d)()),
3243
+ onMouseleave: I[1] || (I[1] = (O) => !g.disabled && J(r)())
3240
3244
  }, [
3241
3245
  v("div", FC, [
3242
3246
  H(g.$slots, "dropdown")
@@ -3255,12 +3259,12 @@ const wb = Symbol("hover-card"), bb = /* @__PURE__ */ Z({
3255
3259
  "transform-origin": "center",
3256
3260
  transform: `rotate(45deg) ${z.value}`
3257
3261
  })
3258
- }, null, 4)) : I("", !0)
3259
- ], 38)) : I("", !0)
3262
+ }, null, 4)) : S("", !0)
3263
+ ], 38)) : S("", !0)
3260
3264
  ]),
3261
3265
  _: 3
3262
3266
  })
3263
- ])) : I("", !0)
3267
+ ])) : S("", !0)
3264
3268
  ], 544));
3265
3269
  }
3266
3270
  });
@@ -3385,7 +3389,7 @@ const RC = { class: "cstu-modal-title" }, OC = ["innerHTML"], EC = /* @__PURE__
3385
3389
  key: 0,
3386
3390
  class: "cstu-modal-backdrop",
3387
3391
  style: W({ zIndex: t.zIndex - 10 })
3388
- }, null, 4)) : I("", !0)
3392
+ }, null, 4)) : S("", !0)
3389
3393
  ]),
3390
3394
  _: 1
3391
3395
  }),
@@ -3493,7 +3497,7 @@ const RC = { class: "cstu-modal-title" }, OC = ["innerHTML"], EC = /* @__PURE__
3493
3497
  ], 2),
3494
3498
  i[5] || (i[5] = v("span", { tabindex: "0" }, null, -1))
3495
3499
  ], 2)
3496
- ], 6)) : I("", !0)
3500
+ ], 6)) : S("", !0)
3497
3501
  ]),
3498
3502
  _: 1
3499
3503
  })
@@ -3633,7 +3637,7 @@ const RC = { class: "cstu-modal-title" }, OC = ["innerHTML"], EC = /* @__PURE__
3633
3637
  key: 0,
3634
3638
  class: "cstu-modal-backdrop",
3635
3639
  style: W({ zIndex: t.zIndex - 10 })
3636
- }, null, 4)) : I("", !0)
3640
+ }, null, 4)) : S("", !0)
3637
3641
  ]),
3638
3642
  _: 1
3639
3643
  }),
@@ -3753,7 +3757,7 @@ const RC = { class: "cstu-modal-title" }, OC = ["innerHTML"], EC = /* @__PURE__
3753
3757
  ], 2),
3754
3758
  i[6] || (i[6] = v("span", { tabindex: "0" }, null, -1))
3755
3759
  ], 2)
3756
- ], 6)) : I("", !0)
3760
+ ], 6)) : S("", !0)
3757
3761
  ]),
3758
3762
  _: 1
3759
3763
  })
@@ -4113,7 +4117,7 @@ const _C = ["id"], GC = ["id", "aria-labelledby"], XC = ["aria-label"], KC = ["i
4113
4117
  const $ = j.target, G = $.closest(".cstu-dropdown-menu"), oe = $.tagName && ["input", "select", "textarea", "button"].includes($.tagName.toLowerCase()), te = $.closest(".cstu-modal-content");
4114
4118
  G || oe || te && $ !== j.currentTarget || !n.noCloseOnBackdrop && $ === j.currentTarget && b("backdrop");
4115
4119
  }
4116
- function S(j) {
4120
+ function I(j) {
4117
4121
  j.key === "Escape" && l.value && !n.noCloseOnEsc && !n.busy && b("esc");
4118
4122
  }
4119
4123
  function O() {
@@ -4175,7 +4179,7 @@ const _C = ["id"], GC = ["id", "aria-labelledby"], XC = ["aria-label"], KC = ["i
4175
4179
  show: w,
4176
4180
  hide: b,
4177
4181
  toggle: z
4178
- }), document.addEventListener("keydown", S), document.addEventListener("focusin", F), n.modelValue && (w(), l.value && ze(() => {
4182
+ }), document.addEventListener("keydown", I), document.addEventListener("focusin", F), n.modelValue && (w(), l.value && ze(() => {
4179
4183
  setTimeout(() => {
4180
4184
  const j = document.getElementById(n.id);
4181
4185
  let $ = null;
@@ -4183,7 +4187,7 @@ const _C = ["id"], GC = ["id", "aria-labelledby"], XC = ["aria-label"], KC = ["i
4183
4187
  }, 50);
4184
4188
  }));
4185
4189
  }), Mo(() => {
4186
- Zw(n.id), document.removeEventListener("keydown", S), document.removeEventListener("focusin", F), l.value && (l.value = !1, s("update:modelValue", !1));
4190
+ Zw(n.id), document.removeEventListener("keydown", I), document.removeEventListener("focusin", F), l.value && (l.value = !1, s("update:modelValue", !1));
4187
4191
  }), a({
4188
4192
  hide: b,
4189
4193
  show: w,
@@ -4200,7 +4204,7 @@ const _C = ["id"], GC = ["id", "aria-labelledby"], XC = ["aria-label"], KC = ["i
4200
4204
  id: `${n.id}-backdrop`,
4201
4205
  class: x(["cstu-modal-backdrop", t.backdropClass]),
4202
4206
  style: W({ zIndex: y.value - 10 })
4203
- }, null, 14, _C)) : I("", !0)
4207
+ }, null, 14, _C)) : S("", !0)
4204
4208
  ]),
4205
4209
  _: 1
4206
4210
  }),
@@ -4250,7 +4254,7 @@ const _C = ["id"], GC = ["id", "aria-labelledby"], XC = ["aria-label"], KC = ["i
4250
4254
  "aria-label": t.ariaLabel,
4251
4255
  onClick: $[3] || ($[3] = (G) => G.target === G.currentTarget && G.stopPropagation())
4252
4256
  }, [
4253
- t.hideHeader ? I("", !0) : (u(), m("header", {
4257
+ t.hideHeader ? S("", !0) : (u(), m("header", {
4254
4258
  key: 0,
4255
4259
  class: x([
4256
4260
  "cstu-modal-header",
@@ -4265,7 +4269,7 @@ const _C = ["id"], GC = ["id", "aria-labelledby"], XC = ["aria-label"], KC = ["i
4265
4269
  class: x([n.titleClass || "cstu-modal-title", { "sr-only": t.titleSrOnly }])
4266
4270
  }, R(t.title), 11, KC)
4267
4271
  ]),
4268
- t.hideHeaderClose ? I("", !0) : (u(), m("button", {
4272
+ t.hideHeaderClose ? S("", !0) : (u(), m("button", {
4269
4273
  key: 0,
4270
4274
  type: "button",
4271
4275
  "aria-label": t.closeTitle,
@@ -4297,10 +4301,10 @@ const _C = ["id"], GC = ["id", "aria-labelledby"], XC = ["aria-label"], KC = ["i
4297
4301
  ])
4298
4302
  }, [
4299
4303
  H(j.$slots, "default", {}, () => [
4300
- t.content ? (u(), m("div", JC, R(t.content), 1)) : I("", !0)
4304
+ t.content ? (u(), m("div", JC, R(t.content), 1)) : S("", !0)
4301
4305
  ])
4302
4306
  ], 2),
4303
- t.hideFooter ? I("", !0) : (u(), m("footer", {
4307
+ t.hideFooter ? S("", !0) : (u(), m("footer", {
4304
4308
  key: 1,
4305
4309
  class: x([
4306
4310
  "cstu-modal-footer",
@@ -4309,7 +4313,7 @@ const _C = ["id"], GC = ["id", "aria-labelledby"], XC = ["aria-label"], KC = ["i
4309
4313
  ])
4310
4314
  }, [
4311
4315
  H(j.$slots, "modal-footer", {}, () => [
4312
- t.okOnly ? I("", !0) : (u(), Y(ke, {
4316
+ t.okOnly ? S("", !0) : (u(), Y(ke, {
4313
4317
  key: 0,
4314
4318
  variant: t.cancelVariant,
4315
4319
  color: t.cancelColor,
@@ -4338,7 +4342,7 @@ const _C = ["id"], GC = ["id", "aria-labelledby"], XC = ["aria-label"], KC = ["i
4338
4342
  ], 10, XC),
4339
4343
  $[7] || ($[7] = v("span", { tabindex: "0" }, null, -1))
4340
4344
  ], 2)
4341
- ], 14, GC)) : I("", !0)
4345
+ ], 14, GC)) : S("", !0)
4342
4346
  ]),
4343
4347
  _: 3
4344
4348
  })
@@ -4791,7 +4795,7 @@ const dI = /* @__PURE__ */ Z({
4791
4795
  H(d.$slots, "default")
4792
4796
  ], 2)), [
4793
4797
  [G2, s.value]
4794
- ]) : I("", !0);
4798
+ ]) : S("", !0);
4795
4799
  }
4796
4800
  });
4797
4801
  Hw.List = iI;
@@ -4843,24 +4847,24 @@ const hI = {
4843
4847
  ]), i = h(() => {
4844
4848
  const f = [], M = o.total;
4845
4849
  if (o.siblings * 2 + 3 + o.boundaries * 2 >= M)
4846
- return Array.from({ length: M }, (S, O) => O + 1);
4850
+ return Array.from({ length: M }, (I, O) => O + 1);
4847
4851
  const w = Math.max(n.value - o.siblings, o.boundaries + 1), b = Math.min(n.value + o.siblings, M - o.boundaries), z = w > o.boundaries + 2, C = b < M - (o.boundaries + 1), g = /* @__PURE__ */ new Set();
4848
- for (let S = 1; S <= o.boundaries; S++)
4849
- f.push(S), g.add(S);
4852
+ for (let I = 1; I <= o.boundaries; I++)
4853
+ f.push(I), g.add(I);
4850
4854
  if (z)
4851
4855
  f.push("dots");
4852
4856
  else if (!z && w > o.boundaries)
4853
- for (let S = o.boundaries + 1; S < w; S++)
4854
- g.has(S) || (f.push(S), g.add(S));
4855
- for (let S = w; S <= b; S++)
4856
- g.has(S) || (f.push(S), g.add(S));
4857
+ for (let I = o.boundaries + 1; I < w; I++)
4858
+ g.has(I) || (f.push(I), g.add(I));
4859
+ for (let I = w; I <= b; I++)
4860
+ g.has(I) || (f.push(I), g.add(I));
4857
4861
  if (C)
4858
4862
  f.push("dots");
4859
4863
  else if (!C && b < M - o.boundaries)
4860
- for (let S = b + 1; S < M - o.boundaries + 1; S++)
4861
- g.has(S) || (f.push(S), g.add(S));
4862
- for (let S = M - o.boundaries + 1; S <= M; S++)
4863
- g.has(S) || (f.push(S), g.add(S));
4864
+ for (let I = b + 1; I < M - o.boundaries + 1; I++)
4865
+ g.has(I) || (f.push(I), g.add(I));
4866
+ for (let I = M - o.boundaries + 1; I <= M; I++)
4867
+ g.has(I) || (f.push(I), g.add(I));
4864
4868
  return f;
4865
4869
  }), p = (f) => {
4866
4870
  f < 1 || f > o.total || o.disabled || (n.value = f, c("update:modelValue", f));
@@ -4906,7 +4910,7 @@ const hI = {
4906
4910
  ], -1)
4907
4911
  ])),
4908
4912
  _: 1
4909
- }, 8, ["variant", "size", "disabled", "class"])) : I("", !0),
4913
+ }, 8, ["variant", "size", "disabled", "class"])) : S("", !0),
4910
4914
  o.withControls ? (u(), Y(ke, {
4911
4915
  key: 1,
4912
4916
  variant: y.value,
@@ -4933,7 +4937,7 @@ const hI = {
4933
4937
  ], -1)
4934
4938
  ])),
4935
4939
  _: 1
4936
- }, 8, ["variant", "size", "disabled", "class"])) : I("", !0),
4940
+ }, 8, ["variant", "size", "disabled", "class"])) : S("", !0),
4937
4941
  o.withPages ? (u(), m("div", hI, [
4938
4942
  (u(!0), m(re, null, be(i.value, (A, w) => (u(), m(re, { key: w }, [
4939
4943
  A !== "dots" ? (u(), Y(ke, {
@@ -4983,7 +4987,7 @@ const hI = {
4983
4987
  ], -1)
4984
4988
  ]), 2))
4985
4989
  ], 64))), 128))
4986
- ])) : I("", !0),
4990
+ ])) : S("", !0),
4987
4991
  o.withControls ? (u(), Y(ke, {
4988
4992
  key: 3,
4989
4993
  variant: y.value,
@@ -5010,7 +5014,7 @@ const hI = {
5010
5014
  ], -1)
5011
5015
  ])),
5012
5016
  _: 1
5013
- }, 8, ["variant", "size", "disabled", "class"])) : I("", !0),
5017
+ }, 8, ["variant", "size", "disabled", "class"])) : S("", !0),
5014
5018
  o.withEdges ? (u(), Y(ke, {
5015
5019
  key: 4,
5016
5020
  variant: y.value,
@@ -5038,7 +5042,7 @@ const hI = {
5038
5042
  ], -1)
5039
5043
  ])),
5040
5044
  _: 1
5041
- }, 8, ["variant", "size", "disabled", "class"])) : I("", !0)
5045
+ }, 8, ["variant", "size", "disabled", "class"])) : S("", !0)
5042
5046
  ], 2));
5043
5047
  }
5044
5048
  }), Cb = {
@@ -5111,7 +5115,7 @@ const hI = {
5111
5115
  }), M = (L) => {
5112
5116
  o.disabled || (o.trigger === "click" || o.trigger === "manual") && U();
5113
5117
  }, A = () => {
5114
- o.disabled || o.trigger === "hover" && S();
5118
+ o.disabled || o.trigger === "hover" && I();
5115
5119
  }, w = () => {
5116
5120
  o.disabled || o.trigger === "hover" && setTimeout(() => {
5117
5121
  O("hover");
@@ -5124,14 +5128,14 @@ const hI = {
5124
5128
  o.closeOnClickOutside && O("backdrop");
5125
5129
  }, g = (L) => {
5126
5130
  o.closeOnEscape && L.key === "Escape" && (L.preventDefault(), O("escape"));
5127
- }, S = () => {
5131
+ }, I = () => {
5128
5132
  o.disabled || n.value || (r.value = document.activeElement, n.value = !0, ze(() => {
5129
5133
  f(), o.trapFocus && F();
5130
5134
  }), c("open"), c("update:open", !0));
5131
5135
  }, O = (L = "programmatic") => {
5132
5136
  n.value && (n.value = !1, o.trapFocus && Q(r.value), c("close", L), c("update:open", !1));
5133
5137
  }, U = () => {
5134
- n.value ? O() : S();
5138
+ n.value ? O() : I();
5135
5139
  }, F = () => {
5136
5140
  if (!l.value)
5137
5141
  return;
@@ -5154,7 +5158,7 @@ const hI = {
5154
5158
  ne(
5155
5159
  () => o.open,
5156
5160
  (L) => {
5157
- L !== n.value && (L ? S() : O());
5161
+ L !== n.value && (L ? I() : O());
5158
5162
  }
5159
5163
  ), ne(s, (L) => {
5160
5164
  L && f();
@@ -5293,7 +5297,7 @@ const hI = {
5293
5297
  }]),
5294
5298
  style: W({ zIndex: L.zIndex - 10 }),
5295
5299
  onClick: C
5296
- }, null, 6)) : I("", !0)
5300
+ }, null, 6)) : S("", !0)
5297
5301
  ]),
5298
5302
  _: 1
5299
5303
  }),
@@ -5325,7 +5329,7 @@ const hI = {
5325
5329
  onKeydown: Jw(g, ["esc"])
5326
5330
  }, [
5327
5331
  v("div", yI, [
5328
- o.hideHeader ? I("", !0) : (u(), m("div", {
5332
+ o.hideHeader ? S("", !0) : (u(), m("div", {
5329
5333
  key: 0,
5330
5334
  class: x(ve.value)
5331
5335
  }, [
@@ -5343,7 +5347,7 @@ const hI = {
5343
5347
  class: "cstu-ml-auto",
5344
5348
  "aria-label": "Close popover",
5345
5349
  onClick: E[0] || (E[0] = Ae((ae) => O("headerClose"), ["stop"]))
5346
- }, null, 8, ["color"])) : I("", !0)
5350
+ }, null, 8, ["color"])) : S("", !0)
5347
5351
  ])
5348
5352
  ], 2)),
5349
5353
  v("div", {
@@ -5353,10 +5357,10 @@ const hI = {
5353
5357
  L.content ? (u(), m("div", {
5354
5358
  key: 0,
5355
5359
  class: x(J(W2)(o.size || "sm"))
5356
- }, R(L.content), 3)) : I("", !0)
5360
+ }, R(L.content), 3)) : S("", !0)
5357
5361
  ])
5358
5362
  ], 2),
5359
- o.hideFooter ? I("", !0) : (u(), m("div", {
5363
+ o.hideFooter ? S("", !0) : (u(), m("div", {
5360
5364
  key: 1,
5361
5365
  class: x(ie.value)
5362
5366
  }, [
@@ -5377,7 +5381,7 @@ const hI = {
5377
5381
  ], 46, uI)), [
5378
5382
  [J(Cb), z]
5379
5383
  ])
5380
- ], 4)) : I("", !0)
5384
+ ], 4)) : S("", !0)
5381
5385
  ]),
5382
5386
  _: 3
5383
5387
  })
@@ -5447,7 +5451,7 @@ const Bq = /* @__PURE__ */ Z({
5447
5451
  (u(), Y(ge(f)))
5448
5452
  ])
5449
5453
  ], 6),
5450
- s(M) ? I("", !0) : (u(), m("div", {
5454
+ s(M) ? S("", !0) : (u(), m("div", {
5451
5455
  key: 0,
5452
5456
  class: x([
5453
5457
  "cstu-breadcrumb-separator",
@@ -5458,7 +5462,7 @@ const Bq = /* @__PURE__ */ Z({
5458
5462
  H(k.$slots, "separator", {}, () => [
5459
5463
  typeof a.separator == "string" ? (u(), m(re, { key: 0 }, [
5460
5464
  ee(R(a.separator), 1)
5461
- ], 64)) : a.separator ? (u(), Y(ge(a.separator), { key: 1 })) : I("", !0)
5465
+ ], 64)) : a.separator ? (u(), Y(ge(a.separator), { key: 1 })) : S("", !0)
5462
5466
  ])
5463
5467
  ], 2))
5464
5468
  ], 64))), 128)) : H(k.$slots, "default", { key: 0 })
@@ -5535,7 +5539,7 @@ const kI = {
5535
5539
  labelSize: "cstu-text-base cstu-font-medium",
5536
5540
  descriptionSize: "cstu-text-sm"
5537
5541
  }
5538
- }, S = h(() => `${g[y.value].inputClass.split(" ")[0]} cstu-transition-all cstu-duration-300`), O = h(() => g[y.value].labelSize), U = h(() => g[y.value].descriptionSize), F = h(() => {
5542
+ }, I = h(() => `${g[y.value].inputClass.split(" ")[0]} cstu-transition-all cstu-duration-300`), O = h(() => g[y.value].labelSize), U = h(() => g[y.value].descriptionSize), F = h(() => {
5539
5543
  switch (y.value) {
5540
5544
  case "xs":
5541
5545
  return "cstu-text-xs";
@@ -5637,16 +5641,16 @@ const kI = {
5637
5641
  }, s.labelProps), [
5638
5642
  H(L.$slots, "label", {}, () => [
5639
5643
  ee(R(s.label) + " ", 1),
5640
- p.value || i.value ? (u(), m("span", vI, "*")) : I("", !0)
5644
+ p.value || i.value ? (u(), m("span", vI, "*")) : S("", !0)
5641
5645
  ])
5642
5646
  ], 16, mI),
5643
5647
  H(L.$slots, "labelIcon")
5644
- ])) : I("", !0),
5648
+ ])) : S("", !0),
5645
5649
  v("div", null, [
5646
5650
  v("div", {
5647
5651
  class: x([
5648
5652
  "cstu-flex cstu-items-start cstu-gap-2 cstu-py-2",
5649
- S.value,
5653
+ I.value,
5650
5654
  Q.value,
5651
5655
  oe.value,
5652
5656
  $.value,
@@ -5658,7 +5662,7 @@ const kI = {
5658
5662
  }, [
5659
5663
  L.$slots.leftSection ? (u(), m("div", fI, [
5660
5664
  H(L.$slots, "leftSection")
5661
- ])) : I("", !0),
5665
+ ])) : S("", !0),
5662
5666
  v("textarea", ue({
5663
5667
  ref_key: "textareaRef",
5664
5668
  ref: n,
@@ -5689,7 +5693,7 @@ const kI = {
5689
5693
  }, s.textareaProps), null, 16, gI),
5690
5694
  L.$slots.rightSection ? (u(), m("div", MI, [
5691
5695
  H(L.$slots, "rightSection")
5692
- ])) : I("", !0)
5696
+ ])) : S("", !0)
5693
5697
  ], 6)
5694
5698
  ]),
5695
5699
  s.description && !j.value || L.$slots.description && !j.value || k.value && s.description || k.value && L.$slots.description ? (u(), m("div", ue({
@@ -5703,7 +5707,7 @@ const kI = {
5703
5707
  ee(R(s.description), 1)
5704
5708
  ])
5705
5709
  ], 2)
5706
- ], 16)) : I("", !0),
5710
+ ], 16)) : S("", !0),
5707
5711
  j.value && s.error || j.value && L.$slots.error || k.value && s.error || k.value && L.$slots.error ? (u(), m("div", ue({
5708
5712
  key: 2,
5709
5713
  class: "cstu-mt-1"
@@ -5715,7 +5719,7 @@ const kI = {
5715
5719
  ee(R(s.error), 1)
5716
5720
  ])
5717
5721
  ], 2)
5718
- ], 16)) : I("", !0)
5722
+ ], 16)) : S("", !0)
5719
5723
  ], 2));
5720
5724
  }
5721
5725
  });
@@ -36204,7 +36208,7 @@ const CI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
36204
36208
  size: i.value,
36205
36209
  color: p.value
36206
36210
  }), null, 16, ["size", "color"])
36207
- ], 2)) : I("", !0)
36211
+ ], 2)) : S("", !0)
36208
36212
  ]),
36209
36213
  _: 1
36210
36214
  }),
@@ -36246,8 +36250,8 @@ const zI = ["data-active"], Fq = /* @__PURE__ */ Z({
36246
36250
  ne(n, (g) => {
36247
36251
  g && ze(() => {
36248
36252
  var O;
36249
- const S = (O = l.value) == null ? void 0 : O.querySelectorAll("input");
36250
- S && S.length && S.forEach((U) => {
36253
+ const I = (O = l.value) == null ? void 0 : O.querySelectorAll("input");
36254
+ I && I.length && I.forEach((U) => {
36251
36255
  U.addEventListener("click", r, { capture: !0 }), U.addEventListener("mousedown", r, { capture: !0 }), U.addEventListener("focus", r, { capture: !0 });
36252
36256
  });
36253
36257
  });
@@ -36255,9 +36259,9 @@ const zI = ["data-active"], Fq = /* @__PURE__ */ Z({
36255
36259
  });
36256
36260
  function r(g) {
36257
36261
  if ((g.type === "mousedown" || g.type === "click") && g.stopPropagation(), g.type === "mousedown" || g.type === "click") {
36258
- const S = g.target;
36262
+ const I = g.target;
36259
36263
  setTimeout(() => {
36260
- S.focus();
36264
+ I.focus();
36261
36265
  }, 0);
36262
36266
  }
36263
36267
  }
@@ -36321,14 +36325,14 @@ const zI = ["data-active"], Fq = /* @__PURE__ */ Z({
36321
36325
  C();
36322
36326
  return;
36323
36327
  }
36324
- const S = g.target, O = S.closest(".cstu-dropdown-menu"), U = (F = d.value) == null ? void 0 : F.contains(S);
36328
+ const I = g.target, O = I.closest(".cstu-dropdown-menu"), U = (F = d.value) == null ? void 0 : F.contains(I);
36325
36329
  O || U || o.disabled || C();
36326
36330
  }
36327
36331
  Xe("dropdownClose", w);
36328
36332
  function b() {
36329
36333
  o.disabled || (n.value ? (n.value = !1, c("close"), c("update:open", !1)) : (n.value = !0, c("update:open", !0), setTimeout(() => {
36330
- var S, O;
36331
- (S = l.value) == null || S.focus();
36334
+ var I, O;
36335
+ (I = l.value) == null || I.focus();
36332
36336
  const g = (O = l.value) == null ? void 0 : O.querySelector(".active");
36333
36337
  g == null || g.scrollIntoView({ behavior: "smooth" });
36334
36338
  }, 100)));
@@ -36339,7 +36343,7 @@ const zI = ["data-active"], Fq = /* @__PURE__ */ Z({
36339
36343
  function C(g = !1) {
36340
36344
  n.value = !1, !g && (c("close"), c("update:open", !1));
36341
36345
  }
36342
- return (g, S) => Qe((u(), m("div", {
36346
+ return (g, I) => Qe((u(), m("div", {
36343
36347
  class: x(["cstu-inline-block cstu-text-left cstu-dropdown-container", [
36344
36348
  { "cstu-relative": g.parentPositionRelative },
36345
36349
  { "cstu-grayscale cstu-filter cstu-cursor-not-allowed cstu-opacity-70": g.disabled },
@@ -36364,16 +36368,16 @@ const zI = ["data-active"], Fq = /* @__PURE__ */ Z({
36364
36368
  }, [
36365
36369
  H(g.$slots, "icon", { closeDropdown: C }),
36366
36370
  H(g.$slots, "selected", { closeDropdown: C }, () => [
36367
- S[2] || (S[2] = ee("Select"))
36371
+ I[2] || (I[2] = ee("Select"))
36368
36372
  ]),
36369
36373
  g.showArrow ? (u(), m("span", {
36370
36374
  key: 0,
36371
36375
  class: x(["cstu-transition cstu-leading-none", { "cstu-rotate-180": n.value }])
36372
36376
  }, [
36373
36377
  H(g.$slots, "arrow", { closeDropdown: C }, () => [
36374
- S[3] || (S[3] = Gb('<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none"><g clip-path="url(#clip0_33663_12905)"><path d="M6 8.95312C5.91113 8.95312 5.82739 8.93604 5.74878 8.90186C5.67017 8.86768 5.6001 8.81982 5.53857 8.7583L0.93457 4.1543C0.886719 4.09961 0.845703 4.03467 0.811523 3.95947C0.777344 3.88428 0.760254 3.80225 0.760254 3.71338C0.760254 3.53564 0.823486 3.38354 0.949951 3.25708C1.07642 3.13062 1.23193 3.06738 1.4165 3.06738C1.49854 3.06738 1.57715 3.08276 1.65234 3.11353C1.72754 3.14429 1.7959 3.18701 1.85742 3.2417L6 7.40479L10.1426 3.2417C10.2041 3.18701 10.2725 3.14429 10.3477 3.11353C10.4229 3.08276 10.5015 3.06738 10.5835 3.06738C10.7681 3.06738 10.9236 3.13062 11.05 3.25708C11.1765 3.38354 11.2397 3.53564 11.2397 3.71338C11.2397 3.80225 11.2227 3.88428 11.1885 3.95947C11.1543 4.03467 11.1133 4.09961 11.0654 4.1543L6.46143 8.7583C6.3999 8.81982 6.32983 8.86768 6.25122 8.90186C6.17261 8.93604 6.08887 8.95312 6 8.95312Z" fill="#99A3A9"></path></g><defs><clipPath id="clip0_33663_12905"><rect width="10.5" height="11" fill="white" transform="matrix(1 0 0 -1 0.75 11.5)"></rect></clipPath></defs></svg>', 1))
36378
+ I[3] || (I[3] = Gb('<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none"><g clip-path="url(#clip0_33663_12905)"><path d="M6 8.95312C5.91113 8.95312 5.82739 8.93604 5.74878 8.90186C5.67017 8.86768 5.6001 8.81982 5.53857 8.7583L0.93457 4.1543C0.886719 4.09961 0.845703 4.03467 0.811523 3.95947C0.777344 3.88428 0.760254 3.80225 0.760254 3.71338C0.760254 3.53564 0.823486 3.38354 0.949951 3.25708C1.07642 3.13062 1.23193 3.06738 1.4165 3.06738C1.49854 3.06738 1.57715 3.08276 1.65234 3.11353C1.72754 3.14429 1.7959 3.18701 1.85742 3.2417L6 7.40479L10.1426 3.2417C10.2041 3.18701 10.2725 3.14429 10.3477 3.11353C10.4229 3.08276 10.5015 3.06738 10.5835 3.06738C10.7681 3.06738 10.9236 3.13062 11.05 3.25708C11.1765 3.38354 11.2397 3.53564 11.2397 3.71338C11.2397 3.80225 11.2227 3.88428 11.1885 3.95947C11.1543 4.03467 11.1133 4.09961 11.0654 4.1543L6.46143 8.7583C6.3999 8.81982 6.32983 8.86768 6.25122 8.90186C6.17261 8.93604 6.08887 8.95312 6 8.95312Z" fill="#99A3A9"></path></g><defs><clipPath id="clip0_33663_12905"><rect width="10.5" height="11" fill="white" transform="matrix(1 0 0 -1 0.75 11.5)"></rect></clipPath></defs></svg>', 1))
36375
36379
  ])
36376
- ], 2)) : I("", !0)
36380
+ ], 2)) : S("", !0)
36377
36381
  ], 2),
36378
36382
  X(Me, null, {
36379
36383
  default: K(() => {
@@ -36390,9 +36394,9 @@ const zI = ["data-active"], Fq = /* @__PURE__ */ Z({
36390
36394
  g.dropdownClasses,
36391
36395
  { "cstu-min-w-[225px]": !o.matchWidth }
36392
36396
  ]]),
36393
- onClick: S[0] || (S[0] = Ae(() => {
36397
+ onClick: I[0] || (I[0] = Ae(() => {
36394
36398
  }, ["stop"])),
36395
- onMousedown: S[1] || (S[1] = Ae(() => {
36399
+ onMousedown: I[1] || (I[1] = Ae(() => {
36396
36400
  }, ["stop"]))
36397
36401
  }, [
36398
36402
  v("div", {
@@ -36406,7 +36410,7 @@ const zI = ["data-active"], Fq = /* @__PURE__ */ Z({
36406
36410
  }, [
36407
36411
  H(g.$slots, "default", { closeDropdown: C })
36408
36412
  ], 40, zI)
36409
- ], 38)) : I("", !0)
36413
+ ], 38)) : S("", !0)
36410
36414
  ]))
36411
36415
  ];
36412
36416
  }),
@@ -36497,10 +36501,10 @@ const zI = ["data-active"], Fq = /* @__PURE__ */ Z({
36497
36501
  }), Mo(() => {
36498
36502
  document.removeEventListener("click", k);
36499
36503
  });
36500
- function A(g, S, O = {}) {
36504
+ function A(g, I, O = {}) {
36501
36505
  if (we(g))
36502
36506
  return {};
36503
- switch (S) {
36507
+ switch (I) {
36504
36508
  case "filled":
36505
36509
  return {
36506
36510
  backgroundColor: g,
@@ -36541,7 +36545,7 @@ const zI = ["data-active"], Fq = /* @__PURE__ */ Z({
36541
36545
  active: !0,
36542
36546
  focus: !0
36543
36547
  })), b = h(() => {
36544
- const g = "cstu-inline-flex cstu-items-center cstu-justify-center cstu-font-medium cstu-transition-all cstu-duration-200", S = we(o.color) ? ce(o.color, o.variant, {
36548
+ const g = "cstu-inline-flex cstu-items-center cstu-justify-center cstu-font-medium cstu-transition-all cstu-duration-200", I = we(o.color) ? ce(o.color, o.variant, {
36545
36549
  hover: !0,
36546
36550
  active: !0,
36547
36551
  focus: !0
@@ -36551,7 +36555,7 @@ const zI = ["data-active"], Fq = /* @__PURE__ */ Z({
36551
36555
  });
36552
36556
  return [
36553
36557
  g,
36554
- S,
36558
+ I,
36555
36559
  O,
36556
36560
  U
36557
36561
  ];
@@ -36572,7 +36576,7 @@ const zI = ["data-active"], Fq = /* @__PURE__ */ Z({
36572
36576
  xl: "cstu-rounded-e-2xl",
36573
36577
  full: "cstu-rounded-e-full"
36574
36578
  })[o.radius] || "cstu-rounded-e-lg");
36575
- return (g, S) => (u(), m("div", qI, [
36579
+ return (g, I) => (u(), m("div", qI, [
36576
36580
  v("button", {
36577
36581
  class: x([
36578
36582
  b.value,
@@ -36582,11 +36586,11 @@ const zI = ["data-active"], Fq = /* @__PURE__ */ Z({
36582
36586
  ]),
36583
36587
  style: W(w.value),
36584
36588
  disabled: g.disabled || g.loading,
36585
- onClick: S[0] || (S[0] = (O) => g.$emit("click"))
36589
+ onClick: I[0] || (I[0] = (O) => g.$emit("click"))
36586
36590
  }, [
36587
36591
  g.loading ? (u(), m("span", HI, [
36588
36592
  H(g.$slots, "loader", {}, () => [
36589
- S[3] || (S[3] = v("svg", {
36593
+ I[3] || (I[3] = v("svg", {
36590
36594
  class: "cstu-animate-spin cstu-h-4 cstu-w-4",
36591
36595
  xmlns: "http://www.w3.org/2000/svg",
36592
36596
  fill: "none",
@@ -36607,7 +36611,7 @@ const zI = ["data-active"], Fq = /* @__PURE__ */ Z({
36607
36611
  })
36608
36612
  ], -1))
36609
36613
  ])
36610
- ])) : I("", !0),
36614
+ ])) : S("", !0),
36611
36615
  H(g.$slots, "default")
36612
36616
  ], 14, AI),
36613
36617
  g.showDivider ? (u(), m("div", {
@@ -36624,7 +36628,7 @@ const zI = ["data-active"], Fq = /* @__PURE__ */ Z({
36624
36628
  g.variant === "outline" ? J(we)(o.color) ? `cstu-bg-${J(Je)[o.color].base}-400/50` : "cstu-bg-gray-400/50" : "cstu-bg-white/20"
36625
36629
  ]])
36626
36630
  }, null, 2)
36627
- ], 2)) : I("", !0),
36631
+ ], 2)) : S("", !0),
36628
36632
  v("button", {
36629
36633
  ref_key: "triggerRef",
36630
36634
  ref: s,
@@ -36667,15 +36671,15 @@ const zI = ["data-active"], Fq = /* @__PURE__ */ Z({
36667
36671
  top: `${J(r) ?? 0}px`,
36668
36672
  left: `${J(d) ?? 0}px`
36669
36673
  }),
36670
- onClick: S[1] || (S[1] = Ae(() => {
36674
+ onClick: I[1] || (I[1] = Ae(() => {
36671
36675
  }, ["stop"])),
36672
- onMousedown: S[2] || (S[2] = Ae(() => {
36676
+ onMousedown: I[2] || (I[2] = Ae(() => {
36673
36677
  }, ["stop"]))
36674
36678
  }, [
36675
36679
  v("div", jI, [
36676
36680
  H(g.$slots, "menu")
36677
36681
  ])
36678
- ], 38)) : I("", !0)
36682
+ ], 38)) : S("", !0)
36679
36683
  ]),
36680
36684
  _: 3
36681
36685
  })
@@ -36748,7 +36752,7 @@ const zI = ["data-active"], Fq = /* @__PURE__ */ Z({
36748
36752
  transition: `transform ${p.transitionDuration}ms ease`,
36749
36753
  boxShadow: "0 1px 2px 0 rgb(0 0 0 / 0.05)"
36750
36754
  })
36751
- }, null, 6)) : I("", !0),
36755
+ }, null, 6)) : S("", !0),
36752
36756
  v("div", {
36753
36757
  class: x([
36754
36758
  "cstu-relative cstu-flex",
@@ -36790,14 +36794,14 @@ const zI = ["data-active"], Fq = /* @__PURE__ */ Z({
36790
36794
  y.icon ? (u(), m("span", {
36791
36795
  key: 0,
36792
36796
  class: x(y.icon)
36793
- }, null, 2)) : I("", !0),
36794
- c.modelValue === y.value ? H(p.$slots, "leftSection", { key: 1 }) : I("", !0),
36797
+ }, null, 2)) : S("", !0),
36798
+ c.modelValue === y.value ? H(p.$slots, "leftSection", { key: 1 }) : S("", !0),
36795
36799
  c.modelValue === y.value ? H(p.$slots, "default", { key: 2 }, () => [
36796
36800
  ee(R(y.label), 1)
36797
36801
  ]) : (u(), m(re, { key: 3 }, [
36798
36802
  ee(R(y.label), 1)
36799
36803
  ], 64)),
36800
- c.modelValue === y.value ? H(p.$slots, "rightSection", { key: 4 }) : I("", !0)
36804
+ c.modelValue === y.value ? H(p.$slots, "rightSection", { key: 4 }) : S("", !0)
36801
36805
  ], 2)
36802
36806
  ], 10, PI))), 128))
36803
36807
  ], 2)
@@ -36884,22 +36888,22 @@ const zI = ["data-active"], Fq = /* @__PURE__ */ Z({
36884
36888
  disabled: r.disabled
36885
36889
  })
36886
36890
  ])
36887
- }, R(r.label), 11, TI)) : I("", !0),
36891
+ }, R(r.label), 11, TI)) : S("", !0),
36888
36892
  r.description ? (u(), m("span", {
36889
36893
  key: 1,
36890
36894
  class: x([
36891
36895
  l(r.size),
36892
36896
  r.error ? "cstu-text-red-600" : "cstu-text-gray-500"
36893
36897
  ])
36894
- }, R(r.description), 3)) : I("", !0),
36898
+ }, R(r.description), 3)) : S("", !0),
36895
36899
  r.error ? (u(), m("span", {
36896
36900
  key: 2,
36897
36901
  class: x([
36898
36902
  d(r.size),
36899
36903
  "cstu-text-red-600 cstu-mt-1"
36900
36904
  ])
36901
- }, R(r.error), 3)) : I("", !0)
36902
- ])) : I("", !0),
36905
+ }, R(r.error), 3)) : S("", !0)
36906
+ ])) : S("", !0),
36903
36907
  v("label", {
36904
36908
  class: x([
36905
36909
  "cstu-relative cstu-inline-flex cstu-shrink-0 cstu-cursor-pointer",
@@ -36975,7 +36979,7 @@ const zI = ["data-active"], Fq = /* @__PURE__ */ Z({
36975
36979
  "cstu-text-sm": r.size === "xl"
36976
36980
  }
36977
36981
  ])
36978
- }, R(r.thumbIcon), 3)) : I("", !0),
36982
+ }, R(r.thumbIcon), 3)) : S("", !0),
36979
36983
  r.$slots.thumbIcon ? H(r.$slots, "thumbIcon", {
36980
36984
  key: 1,
36981
36985
  checked: r.modelValue,
@@ -36984,7 +36988,7 @@ const zI = ["data-active"], Fq = /* @__PURE__ */ Z({
36984
36988
  key: 2,
36985
36989
  checked: r.modelValue,
36986
36990
  size: r.size
36987
- }) : I("", !0)
36991
+ }) : S("", !0)
36988
36992
  ], 2)
36989
36993
  ], 2)
36990
36994
  ], 2)
@@ -37086,7 +37090,7 @@ const zI = ["data-active"], Fq = /* @__PURE__ */ Z({
37086
37090
  typeof i.leftSection == "string" ? (u(), m(re, { key: 0 }, [
37087
37091
  ee(R(i.leftSection), 1)
37088
37092
  ], 64)) : (u(), Y(ge(i.leftSection), { key: 1 }))
37089
- ])) : I("", !0),
37093
+ ])) : S("", !0),
37090
37094
  v("span", {
37091
37095
  class: x([[{ "overflow-hidden max-w-full": i.circle }, i.textClass], "badge-label"])
37092
37096
  }, [
@@ -37096,7 +37100,7 @@ const zI = ["data-active"], Fq = /* @__PURE__ */ Z({
37096
37100
  typeof i.rightSection == "string" ? (u(), m(re, { key: 0 }, [
37097
37101
  ee(R(i.rightSection), 1)
37098
37102
  ], 64)) : (u(), Y(ge(i.rightSection), { key: 1 }))
37099
- ])) : I("", !0)
37103
+ ])) : S("", !0)
37100
37104
  ]),
37101
37105
  _: 3
37102
37106
  }, 16, ["class", "style"]));
@@ -37927,12 +37931,12 @@ function qS(t) {
37927
37931
  y().addEventListener(Rx.ENTRANCE_ANIMATION_END, A, {
37928
37932
  once: !0
37929
37933
  });
37930
- const C = (S) => {
37934
+ const C = (I) => {
37931
37935
  const O = y();
37932
- S.target === O && (O.dispatchEvent(new Event(Rx.ENTRANCE_ANIMATION_END)), O.removeEventListener("animationend", C), O.removeEventListener("animationcancel", C), n.value === vo.Enter && S.type !== "animationcancel" && O.classList.remove(...z));
37936
+ I.target === O && (O.dispatchEvent(new Event(Rx.ENTRANCE_ANIMATION_END)), O.removeEventListener("animationend", C), O.removeEventListener("animationcancel", C), n.value === vo.Enter && I.type !== "animationcancel" && O.classList.remove(...z));
37933
37937
  }, g = () => {
37934
- const S = y();
37935
- S.classList.add(...z), S.addEventListener("animationend", C), S.addEventListener("animationcancel", C);
37938
+ const I = y();
37939
+ I.classList.add(...z), I.addEventListener("animationend", C), I.addEventListener("animationcancel", C);
37936
37940
  };
37937
37941
  t.pauseOnFocusLoss && f(), g();
37938
37942
  }
@@ -38543,7 +38547,7 @@ const FS = { class: "cstu-toast__icon-wrapper" }, $S = { class: "cstu-toast__ico
38543
38547
  "stroke-linejoin": "round"
38544
38548
  }, null, 8, hz)
38545
38549
  ]))
38546
- ])) : I("", !0)
38550
+ ])) : S("", !0)
38547
38551
  ], 6));
38548
38552
  }
38549
38553
  });
@@ -38844,7 +38848,7 @@ const mz = {
38844
38848
  backdropFilter: i.overlayBlur > 0 ? `blur(${i.overlayBlur}px)` : "none"
38845
38849
  },
38846
38850
  onClick: l
38847
- }, i.overlayProps), null, 16)) : I("", !0)
38851
+ }, i.overlayProps), null, 16)) : S("", !0)
38848
38852
  ]),
38849
38853
  _: 1
38850
38854
  }),
@@ -38859,7 +38863,7 @@ const mz = {
38859
38863
  }, i.$attrs), [
38860
38864
  i.$slots.header || i.title || i.withCloseButton ? (u(), m("div", mz, [
38861
38865
  H(i.$slots, "header", {}, () => [
38862
- i.title ? (u(), m("div", vz, R(i.title), 1)) : I("", !0)
38866
+ i.title ? (u(), m("div", vz, R(i.title), 1)) : S("", !0)
38863
38867
  ]),
38864
38868
  i.withCloseButton ? (u(), m("button", ue({
38865
38869
  key: 0,
@@ -38881,12 +38885,12 @@ const mz = {
38881
38885
  d: "M6 18L18 6M6 6l12 12"
38882
38886
  })
38883
38887
  ], -1)
38884
- ]), 16)) : I("", !0)
38885
- ])) : I("", !0),
38888
+ ]), 16)) : S("", !0)
38889
+ ])) : S("", !0),
38886
38890
  v("div", fz, [
38887
38891
  H(i.$slots, "default")
38888
38892
  ])
38889
- ], 16)) : I("", !0)
38893
+ ], 16)) : S("", !0)
38890
38894
  ]),
38891
38895
  _: 3
38892
38896
  }, 8, ["name"])
@@ -38994,7 +38998,7 @@ const gz = {
38994
38998
  xl: 16
38995
38999
  }[c.size];
38996
39000
  return c.vertical ? (B.width = `${P}px`, B.left = "50%", B.transform = "translateX(-50%)") : B.height = `${P}px`, B;
38997
- }), g = h(() => z.value), S = h(() => ce(c.color, "filled", {
39001
+ }), g = h(() => z.value), I = h(() => ce(c.color, "filled", {
38998
39002
  hover: !1,
38999
39003
  active: !1,
39000
39004
  focus: !1
@@ -39162,15 +39166,15 @@ const gz = {
39162
39166
  }, [
39163
39167
  H(B.$slots, "label", {}, () => [
39164
39168
  ee(R(c.label) + " ", 1),
39165
- c.withAsterisk || c.required ? (u(), m("span", xz, "*")) : I("", !0)
39169
+ c.withAsterisk || c.required ? (u(), m("span", xz, "*")) : S("", !0)
39166
39170
  ])
39167
39171
  ], 10, Mz),
39168
39172
  H(B.$slots, "labelIcon")
39169
- ])) : I("", !0),
39173
+ ])) : S("", !0),
39170
39174
  c.description && (!M.value || c.showBothErrorAndDescription) ? (u(), m("div", {
39171
39175
  key: 1,
39172
39176
  class: x(["cstu-mb-2", f.value])
39173
- }, R(c.description), 3)) : I("", !0),
39177
+ }, R(c.description), 3)) : S("", !0),
39174
39178
  v("div", {
39175
39179
  ref_key: "sliderRef",
39176
39180
  ref: s,
@@ -39198,7 +39202,7 @@ const gz = {
39198
39202
  class: x([
39199
39203
  "cstu-absolute cstu-rounded-full cstu-transition-all cstu-duration-200",
39200
39204
  g.value,
39201
- S.value,
39205
+ I.value,
39202
39206
  c.vertical ? "cstu-w-full cstu-left-0" : "cstu-h-full cstu-top-1/2 cstu--translate-y-1/2"
39203
39207
  ]),
39204
39208
  style: W(O.value)
@@ -39222,7 +39226,7 @@ const gz = {
39222
39226
  }, null, 2)
39223
39227
  ])
39224
39228
  ], 4))), 128))
39225
- ])) : I("", !0),
39229
+ ])) : S("", !0),
39226
39230
  c.marks && c.marks.length > 0 ? (u(), m("div", bz, [
39227
39231
  (u(!0), m(re, null, be(c.marks, (P) => Qe((u(), m("div", {
39228
39232
  key: `label-${P.value}`,
@@ -39244,7 +39248,7 @@ const gz = {
39244
39248
  ], 4)), [
39245
39249
  [G2, P.label]
39246
39250
  ])), 128))
39247
- ])) : I("", !0),
39251
+ ])) : S("", !0),
39248
39252
  v("div", {
39249
39253
  ref_key: "thumbRef",
39250
39254
  ref: l,
@@ -39270,7 +39274,7 @@ const gz = {
39270
39274
  H(B.$slots, "thumb", { value: r.value }, () => [
39271
39275
  B.$slots.thumbContent ? (u(), m("div", Cz, [
39272
39276
  H(B.$slots, "thumbContent", { value: r.value })
39273
- ])) : I("", !0)
39277
+ ])) : S("", !0)
39274
39278
  ])
39275
39279
  ], 46, Lz),
39276
39280
  Qe(v("div", {
@@ -39283,8 +39287,8 @@ const gz = {
39283
39287
  }, [
39284
39288
  v("div", Iz, [
39285
39289
  v("span", Sz, R(me(r.value)), 1),
39286
- c.vertical ? I("", !0) : (u(), m("div", zz)),
39287
- c.vertical ? (u(), m("div", qz)) : I("", !0)
39290
+ c.vertical ? S("", !0) : (u(), m("div", zz)),
39291
+ c.vertical ? (u(), m("div", qz)) : S("", !0)
39288
39292
  ])
39289
39293
  ], 6), [
39290
39294
  [G2, c.showLabels && (c.labelAlwaysOn || i.value || p.value)]
@@ -39293,7 +39297,7 @@ const gz = {
39293
39297
  c.error && M.value ? (u(), m("div", {
39294
39298
  key: 2,
39295
39299
  class: x(["cstu-mt-1 cstu-text-red-500", A.value])
39296
- }, R(c.error), 3)) : I("", !0)
39300
+ }, R(c.error), 3)) : S("", !0)
39297
39301
  ], 2));
39298
39302
  }
39299
39303
  }), Az = {
@@ -39399,7 +39403,7 @@ const gz = {
39399
39403
  xl: 12
39400
39404
  }[c.size];
39401
39405
  return c.vertical ? (q.width = `${V}px`, q.left = "50%", q.transform = "translateX(-50%)") : q.height = `${V}px`, q;
39402
- }), S = h(() => C.value), O = h(() => ce(c.color, "filled", {
39406
+ }), I = h(() => C.value), O = h(() => ce(c.color, "filled", {
39403
39407
  hover: !1,
39404
39408
  active: !1,
39405
39409
  focus: !1
@@ -39577,15 +39581,15 @@ const gz = {
39577
39581
  }, [
39578
39582
  H(q.$slots, "label", {}, () => [
39579
39583
  ee(R(c.label) + " ", 1),
39580
- c.withAsterisk || c.required ? (u(), m("span", Vz, "*")) : I("", !0)
39584
+ c.withAsterisk || c.required ? (u(), m("span", Vz, "*")) : S("", !0)
39581
39585
  ])
39582
39586
  ], 10, Hz),
39583
39587
  H(q.$slots, "labelIcon")
39584
- ])) : I("", !0),
39588
+ ])) : S("", !0),
39585
39589
  c.description && (!A.value || c.showBothErrorAndDescription) ? (u(), m("div", {
39586
39590
  key: 1,
39587
39591
  class: x(["cstu-mb-2", M.value])
39588
- }, R(c.description), 3)) : I("", !0),
39592
+ }, R(c.description), 3)) : S("", !0),
39589
39593
  v("div", {
39590
39594
  ref_key: "sliderRef",
39591
39595
  ref: s,
@@ -39612,7 +39616,7 @@ const gz = {
39612
39616
  v("div", {
39613
39617
  class: x([
39614
39618
  "cstu-absolute cstu-rounded-full cstu-transition-all cstu-duration-200",
39615
- S.value,
39619
+ I.value,
39616
39620
  O.value,
39617
39621
  c.vertical ? "cstu-w-full cstu-left-0" : "cstu-h-full cstu-top-1/2 cstu--translate-y-1/2"
39618
39622
  ]),
@@ -39637,7 +39641,7 @@ const gz = {
39637
39641
  }, null, 2)
39638
39642
  ])
39639
39643
  ], 4))), 128))
39640
- ])) : I("", !0),
39644
+ ])) : S("", !0),
39641
39645
  c.marks && c.marks.length > 0 ? (u(), m("div", Pz, [
39642
39646
  (u(!0), m(re, null, be(c.marks, (V) => Qe((u(), m("div", {
39643
39647
  key: `label-${V.value}`,
@@ -39659,7 +39663,7 @@ const gz = {
39659
39663
  ], 4)), [
39660
39664
  [G2, V.label]
39661
39665
  ])), 128))
39662
- ])) : I("", !0),
39666
+ ])) : S("", !0),
39663
39667
  (u(!0), m(re, null, be(r.value, (V, T) => (u(), m("div", {
39664
39668
  key: `thumb-${T}`,
39665
39669
  ref_for: !0,
@@ -39693,7 +39697,7 @@ const gz = {
39693
39697
  value: V,
39694
39698
  index: T
39695
39699
  })
39696
- ])) : I("", !0)
39700
+ ])) : S("", !0)
39697
39701
  ])
39698
39702
  ], 46, Bz))), 128)),
39699
39703
  (u(!0), m(re, null, be(r.value, (V, T) => Qe((u(), m("div", {
@@ -39707,8 +39711,8 @@ const gz = {
39707
39711
  }, [
39708
39712
  v("div", Dz, [
39709
39713
  v("span", Fz, R(ie(V)), 1),
39710
- c.vertical ? I("", !0) : (u(), m("div", $z)),
39711
- c.vertical ? (u(), m("div", Rz)) : I("", !0)
39714
+ c.vertical ? S("", !0) : (u(), m("div", $z)),
39715
+ c.vertical ? (u(), m("div", Rz)) : S("", !0)
39712
39716
  ])
39713
39717
  ], 6)), [
39714
39718
  [G2, c.showLabels && (c.labelAlwaysOn || i.value || k.value === T)]
@@ -39717,7 +39721,7 @@ const gz = {
39717
39721
  c.error && A.value ? (u(), m("div", {
39718
39722
  key: 2,
39719
39723
  class: x(["cstu-mt-1 cstu-text-red-500", w.value])
39720
- }, R(c.error), 3)) : I("", !0)
39724
+ }, R(c.error), 3)) : S("", !0)
39721
39725
  ], 2));
39722
39726
  }
39723
39727
  }), Jq = {}, Oz = {
@@ -40006,8 +40010,8 @@ const Zz = /* @__PURE__ */ Z({
40006
40010
  return;
40007
40011
  const w = [];
40008
40012
  Object.entries(A).forEach(([z, C]) => {
40009
- C && Object.entries(C).forEach(([g, S]) => {
40010
- w.push(`--cstu-${z}-${g}: ${S};`);
40013
+ C && Object.entries(C).forEach(([g, I]) => {
40014
+ w.push(`--cstu-${z}-${g}: ${I};`);
40011
40015
  });
40012
40016
  });
40013
40017
  const b = w.join(" ");
@@ -40179,7 +40183,7 @@ const oA = /* @__PURE__ */ Ux(Zz, [["__scopeId", "data-v-0cf20e42"]]), Wz = { cl
40179
40183
  title: C.title
40180
40184
  }, [
40181
40185
  (u(), Y(ge(C.icon), { class: "w-4 h-4" })),
40182
- b.showLabels ? (u(), m("span", Qz, R(C.label), 1)) : I("", !0)
40186
+ b.showLabels ? (u(), m("span", Qz, R(C.label), 1)) : S("", !0)
40183
40187
  ], 10, Kz)), 64))
40184
40188
  ])
40185
40189
  ])) : b.variant === "dropdown" ? (u(), m("div", Jz, [
@@ -40226,12 +40230,12 @@ const oA = /* @__PURE__ */ Ux(Zz, [["__scopeId", "data-v-0cf20e42"]]), Wz = { cl
40226
40230
  d: "M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",
40227
40231
  "clip-rule": "evenodd"
40228
40232
  }, null, -1)
40229
- ]))) : I("", !0)
40233
+ ]))) : S("", !0)
40230
40234
  ], 10, oq)), 64))
40231
40235
  ])
40232
- ])) : I("", !0)
40236
+ ])) : S("", !0)
40233
40237
  ])
40234
- ])) : I("", !0)
40238
+ ])) : S("", !0)
40235
40239
  ]));
40236
40240
  }
40237
40241
  });
@@ -40343,7 +40347,7 @@ const nA = lq, dq = {
40343
40347
  var F;
40344
40348
  (F = n.value) == null || F.focus();
40345
40349
  }, 0);
40346
- }, S = (F) => {
40350
+ }, I = (F) => {
40347
40351
  s.collapseOnBlur && !s.modelValue && (l.value = s.displayMode === "full-width"), z("blur", F);
40348
40352
  }, O = (F) => {
40349
40353
  z("change", F);
@@ -40406,11 +40410,11 @@ const nA = lq, dq = {
40406
40410
  }, [
40407
40411
  H(F.$slots, "label", {}, () => [
40408
40412
  ee(R(s.label) + " ", 1),
40409
- s.withAsterisk || s.required ? (u(), m("span", uq, "*")) : I("", !0)
40413
+ s.withAsterisk || s.required ? (u(), m("span", uq, "*")) : S("", !0)
40410
40414
  ])
40411
40415
  ], 10, hq),
40412
40416
  H(F.$slots, "labelIcon")
40413
- ])) : I("", !0),
40417
+ ])) : S("", !0),
40414
40418
  v("div", null, [
40415
40419
  v("div", {
40416
40420
  class: x([
@@ -40478,7 +40482,7 @@ const nA = lq, dq = {
40478
40482
  style: A.value,
40479
40483
  onInput: Q[0] || (Q[0] = ($) => F.$emit("update:modelValue", $.target.value)),
40480
40484
  onFocus: C,
40481
- onBlur: S,
40485
+ onBlur: I,
40482
40486
  onChange: O
40483
40487
  }, s.inputProps), null, 16, yq),
40484
40488
  s.withClearButton && s.modelValue && l.value ? (u(), m("div", {
@@ -40499,7 +40503,7 @@ const nA = lq, dq = {
40499
40503
  })
40500
40504
  ], -1))
40501
40505
  ])
40502
- ])) : I("", !0)
40506
+ ])) : S("", !0)
40503
40507
  ], 6)
40504
40508
  ]),
40505
40509
  s.description && !b.value || s.description && s.showBothErrorAndDescription ? (u(), m("div", pq, [
@@ -40510,7 +40514,7 @@ const nA = lq, dq = {
40510
40514
  ee(R(s.description), 1)
40511
40515
  ])
40512
40516
  ], 2)
40513
- ])) : I("", !0),
40517
+ ])) : S("", !0),
40514
40518
  b.value && s.error || b.value && !s.error && F.$slots.error ? (u(), m("div", kq, [
40515
40519
  v("p", {
40516
40520
  class: x(["cstu-text-red-500", p.value])
@@ -40519,7 +40523,7 @@ const nA = lq, dq = {
40519
40523
  ee(R(s.error), 1)
40520
40524
  ])
40521
40525
  ], 2)
40522
- ])) : I("", !0)
40526
+ ])) : S("", !0)
40523
40527
  ], 2);
40524
40528
  };
40525
40529
  }
@@ -40581,7 +40585,7 @@ const nA = lq, dq = {
40581
40585
  return (i, p) => (u(), m("div", {
40582
40586
  class: x(["space-y-1 cstu-select-none", d.value])
40583
40587
  }, [
40584
- i.hideTrigger ? I("", !0) : (u(), Y(mq, {
40588
+ i.hideTrigger ? S("", !0) : (u(), Y(mq, {
40585
40589
  key: 0,
40586
40590
  role: "button",
40587
40591
  disabled: i.disabled,
@@ -40593,7 +40597,7 @@ const nA = lq, dq = {
40593
40597
  }, {
40594
40598
  default: K(() => [
40595
40599
  H(i.$slots, "trigger", { open: s.value }),
40596
- i.hideArrow ? I("", !0) : (u(), m("svg", {
40600
+ i.hideArrow ? S("", !0) : (u(), m("svg", {
40597
40601
  key: 0,
40598
40602
  xmlns: "http://www.w3.org/2000/svg",
40599
40603
  width: "10",
@@ -40689,7 +40693,7 @@ const nA = lq, dq = {
40689
40693
  "clip-rule": "evenodd"
40690
40694
  })
40691
40695
  ], -1)
40692
- ]), 34)) : I("", !0)
40696
+ ]), 34)) : S("", !0)
40693
40697
  ], 2));
40694
40698
  }
40695
40699
  });