@stlhorizon/vue-ui 1.2.2 → 1.2.3

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.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { computed as u, createElementBlock as r, openBlock as a, normalizeClass as c, ref as H, createBlock as M, toDisplayString as p, unref as D, createCommentVNode as f, renderSlot as h, resolveDynamicComponent as X, createVNode as y, mergeProps as me, createElementVNode as o, useId as be, watch as oe, createTextVNode as N, withCtx as S, normalizeStyle as ce, nextTick as Ce, Transition as ae, Fragment as Q, renderList as K, onMounted as ve, onUnmounted as ye, Teleport as Ve, markRaw as Te, TransitionGroup as Re, withDirectives as xe, vModelText as _e, provide as He, inject as Oe, vShow as Me, createSlots as qe, withModifiers as $e, resolveComponent as G } from "vue";
1
+ import { computed as u, createElementBlock as r, openBlock as a, normalizeClass as d, ref as H, createBlock as M, toDisplayString as p, unref as D, createCommentVNode as f, renderSlot as h, resolveDynamicComponent as X, createVNode as y, mergeProps as me, createElementVNode as o, useId as be, watch as oe, createTextVNode as N, withCtx as S, normalizeStyle as ce, nextTick as Ce, Transition as ae, Fragment as Q, renderList as K, onMounted as ve, onUnmounted as ye, Teleport as Ve, markRaw as Te, TransitionGroup as Re, withDirectives as xe, vModelText as _e, provide as He, inject as Oe, vShow as Me, createSlots as qe, withModifiers as $e, resolveComponent as G } from "vue";
2
2
  import { cva as x } from "class-variance-authority";
3
3
  import { clsx as Ee } from "clsx";
4
4
  function v(...e) {
@@ -138,17 +138,17 @@ const Ue = {
138
138
  },
139
139
  setup(e) {
140
140
  const s = e, t = u(() => {
141
- const d = Ue[s.name];
142
- return d ? d.template : (console.warn(`Icon "${s.name}" not found`), "");
141
+ const c = Ue[s.name];
142
+ return c ? c.template : (console.warn(`Icon "${s.name}" not found`), "");
143
143
  }), l = u(() => {
144
- const d = {
144
+ const c = {
145
145
  xs: "w-3 h-3",
146
146
  sm: "w-4 h-4",
147
147
  md: "w-5 h-5",
148
148
  lg: "w-6 h-6",
149
149
  xl: "w-8 h-8"
150
150
  };
151
- return d[s.size] || d.md;
151
+ return c[s.size] || c.md;
152
152
  }), n = u(
153
153
  () => s.color ? `text-${s.color}` : "text-current"
154
154
  ), i = u(() => [
@@ -156,9 +156,9 @@ const Ue = {
156
156
  n.value,
157
157
  "inline-block"
158
158
  ]);
159
- return (d, m) => (a(), r("span", {
159
+ return (c, m) => (a(), r("span", {
160
160
  innerHTML: t.value,
161
- class: c(i.value),
161
+ class: d(i.value),
162
162
  "aria-hidden": !e.ariaLabel,
163
163
  "aria-label": e.ariaLabel,
164
164
  role: e.ariaLabel ? "img" : void 0
@@ -202,7 +202,7 @@ const Ue = {
202
202
  }
203
203
  ), n = u(
204
204
  () => v(l({ size: s.size, variant: s.variant }), s.class)
205
- ), i = u(() => "aspect-square h-full w-full object-cover"), d = u(
205
+ ), i = u(() => "aspect-square h-full w-full object-cover"), c = u(
206
206
  () => v(
207
207
  "flex h-full w-full items-center justify-center rounded-full bg-muted font-medium text-muted-foreground",
208
208
  {
@@ -224,21 +224,21 @@ const Ue = {
224
224
  t.value = !0;
225
225
  };
226
226
  return (w, C) => (a(), r("div", {
227
- class: c(n.value)
227
+ class: d(n.value)
228
228
  }, [
229
229
  e.src ? (a(), r("img", {
230
230
  key: 0,
231
231
  src: e.src,
232
232
  alt: e.alt,
233
- class: c(i.value),
233
+ class: d(i.value),
234
234
  onError: b
235
235
  }, null, 42, Ge)) : e.initials ? (a(), r("span", {
236
236
  key: 1,
237
- class: c(d.value)
237
+ class: d(c.value)
238
238
  }, p(e.initials), 3)) : (a(), M(Y, {
239
239
  key: 2,
240
240
  name: "User",
241
- class: c(m.value)
241
+ class: d(m.value)
242
242
  }, null, 8, ["class"]))
243
243
  ], 2));
244
244
  }
@@ -283,7 +283,7 @@ const Ue = {
283
283
  <path stroke-linecap="round" stroke-linejoin="round" d="M6 18 18 6M6 6l12 12" />
284
284
  </svg>
285
285
  `
286
- }, l = e, n = s, i = () => n("dismiss"), d = x(
286
+ }, l = e, n = s, i = () => n("dismiss"), c = x(
287
287
  "inline-flex items-center font-medium border transition-all duration-200",
288
288
  {
289
289
  variants: {
@@ -316,11 +316,11 @@ const Ue = {
316
316
  lg: "w-5 h-5"
317
317
  }[l.size]]);
318
318
  return (b, w) => (a(), r("span", {
319
- class: c(D(v)(D(d)({ variant: e.variant, size: e.size, shape: e.shape }), b.$attrs.class))
319
+ class: d(D(v)(D(c)({ variant: e.variant, size: e.size, shape: e.shape }), b.$attrs.class))
320
320
  }, [
321
321
  e.icon ? (a(), M(X(e.icon), {
322
322
  key: 0,
323
- class: c(m.value)
323
+ class: d(m.value)
324
324
  }, null, 8, ["class"])) : f("", !0),
325
325
  h(b.$slots, "default"),
326
326
  e.dismissible ? (a(), r("button", {
@@ -482,7 +482,7 @@ const Ue = {
482
482
  <path stroke-linecap="round" stroke-linejoin="round" d="M5 12h14" />
483
483
  </svg>
484
484
  `
485
- }, n = e, i = s, d = H(null), m = u(() => n.id || be()), b = u(() => Array.isArray(n.modelValue) ? n.modelValue.includes(n.value) : n.modelValue), w = (B) => {
485
+ }, n = e, i = s, c = H(null), m = u(() => n.id || be()), b = u(() => Array.isArray(n.modelValue) ? n.modelValue.includes(n.value) : n.modelValue), w = (B) => {
486
486
  const $ = B.target.checked;
487
487
  if (Array.isArray(n.modelValue)) {
488
488
  const I = [...n.modelValue];
@@ -497,7 +497,7 @@ const Ue = {
497
497
  i("update:modelValue", $);
498
498
  i("change", $);
499
499
  }, C = () => {
500
- !n.disabled && d.value && d.value.click();
500
+ !n.disabled && c.value && c.value.click();
501
501
  }, j = u(() => {
502
502
  if (n.error) return `${m.value}-error`;
503
503
  }), T = u(() => ({
@@ -540,24 +540,24 @@ const Ue = {
540
540
  "text-xs text-slate-500 mt-1"
541
541
  ]);
542
542
  return oe(() => n.indeterminate, (B) => {
543
- d.value && (d.value.indeterminate = B);
543
+ c.value && (c.value.indeterminate = B);
544
544
  }, { immediate: !0 }), (B, $) => (a(), r("div", et, [
545
545
  o("div", tt, [
546
546
  o("input", {
547
547
  id: m.value,
548
548
  ref_key: "checkboxRef",
549
- ref: d,
549
+ ref: c,
550
550
  type: "checkbox",
551
551
  checked: b.value,
552
552
  indeterminate: e.indeterminate,
553
553
  disabled: e.disabled,
554
554
  required: e.required,
555
- class: c(R.value),
555
+ class: d(R.value),
556
556
  "aria-describedby": j.value,
557
557
  onChange: w
558
558
  }, null, 42, at),
559
559
  o("div", {
560
- class: c(z.value),
560
+ class: d(z.value),
561
561
  onClick: C
562
562
  }, [
563
563
  b.value && !e.indeterminate ? (a(), M(t, {
@@ -572,7 +572,7 @@ const Ue = {
572
572
  o("div", st, [
573
573
  o("label", {
574
574
  for: m.value,
575
- class: c(k.value)
575
+ class: d(k.value)
576
576
  }, [
577
577
  h(B.$slots, "default", {}, () => [
578
578
  N(p(e.label), 1)
@@ -580,7 +580,7 @@ const Ue = {
580
580
  ], 10, lt),
581
581
  e.description ? (a(), r("p", {
582
582
  key: 0,
583
- class: c(g.value)
583
+ class: d(g.value)
584
584
  }, p(e.description), 3)) : f("", !0)
585
585
  ])
586
586
  ]));
@@ -676,7 +676,7 @@ const Ue = {
676
676
  }
677
677
  }), l = u(() => s.spacing ? s.spacing : "");
678
678
  return (n, i) => (a(), r("div", {
679
- class: c(D(v)(D(t)({ orientation: e.orientation, size: e.size, color: e.color }), { "opacity-50": e.faded }, l.value))
679
+ class: d(D(v)(D(t)({ orientation: e.orientation, size: e.size, color: e.color }), { "opacity-50": e.faded }, l.value))
680
680
  }, [
681
681
  e.label && e.orientation === "horizontal" ? (a(), r("span", nt, p(e.label), 1)) : f("", !0)
682
682
  ], 2));
@@ -733,13 +733,13 @@ const Ue = {
733
733
  ), i = u(
734
734
  () => l({ size: s.size })
735
735
  );
736
- return (d, m) => (a(), r("div", {
737
- class: c(n.value),
736
+ return (c, m) => (a(), r("div", {
737
+ class: d(n.value),
738
738
  role: "status",
739
739
  "aria-label": e.label
740
740
  }, [
741
741
  (a(), r("svg", {
742
- class: c(i.value),
742
+ class: d(i.value),
743
743
  xmlns: "http://www.w3.org/2000/svg",
744
744
  fill: "none",
745
745
  viewBox: "0 0 24 24"
@@ -795,7 +795,7 @@ const Ue = {
795
795
  },
796
796
  emits: ["load", "error"],
797
797
  setup(e, { emit: s }) {
798
- const t = e, l = s, n = H(!0), i = H(!1), d = x(
798
+ const t = e, l = s, n = H(!0), i = H(!1), c = x(
799
799
  "relative overflow-hidden bg-muted",
800
800
  {
801
801
  variants: {
@@ -809,7 +809,7 @@ const Ue = {
809
809
  }
810
810
  }
811
811
  ), m = u(
812
- () => v(d({ aspectRatio: t.aspectRatio }), t.class)
812
+ () => v(c({ aspectRatio: t.aspectRatio }), t.class)
813
813
  ), b = u(
814
814
  () => v(
815
815
  "h-full w-full transition-opacity duration-300",
@@ -833,19 +833,19 @@ const Ue = {
833
833
  n.value = !1, i.value = !0, l("error", R);
834
834
  };
835
835
  return (R, z) => (a(), r("div", {
836
- class: c(m.value)
836
+ class: d(m.value)
837
837
  }, [
838
838
  o("img", {
839
839
  src: e.src,
840
840
  alt: e.alt,
841
- class: c(b.value),
841
+ class: d(b.value),
842
842
  loading: e.loading,
843
843
  onLoad: j,
844
844
  onError: T
845
845
  }, null, 42, dt),
846
846
  n.value ? (a(), r("div", {
847
847
  key: 0,
848
- class: c(w.value)
848
+ class: d(w.value)
849
849
  }, [
850
850
  e.showSpinner ? (a(), M(je, {
851
851
  key: 0,
@@ -854,7 +854,7 @@ const Ue = {
854
854
  ], 2)) : f("", !0),
855
855
  i.value ? (a(), r("div", {
856
856
  key: 1,
857
- class: c(C.value)
857
+ class: d(C.value)
858
858
  }, [
859
859
  y(Y, {
860
860
  name: "ImageOff",
@@ -939,7 +939,7 @@ const Ue = {
939
939
  },
940
940
  emits: ["update:modelValue", "blur", "focus", "clear", "keydown"],
941
941
  setup(e, { expose: s, emit: t }) {
942
- const l = e, n = t, i = H(null), d = u(() => l.id || be()), m = ($) => {
942
+ const l = e, n = t, i = H(null), c = u(() => l.id || be()), m = ($) => {
943
943
  n("update:modelValue", $.target.value);
944
944
  }, b = ($) => {
945
945
  n("blur", $);
@@ -950,7 +950,7 @@ const Ue = {
950
950
  }, j = () => {
951
951
  n("update:modelValue", ""), n("clear"), i.value?.focus();
952
952
  }, T = u(() => !!l.error || l.variant === "error"), R = u(() => {
953
- if (l.error) return `${d.value}-error`;
953
+ if (l.error) return `${c.value}-error`;
954
954
  }), z = u(() => ({
955
955
  sm: "px-3 py-1.5 text-sm",
956
956
  md: "px-3 py-2 text-sm",
@@ -982,11 +982,11 @@ const Ue = {
982
982
  }), ($, I) => (a(), r("div", ut, [
983
983
  e.iconLeft ? (a(), r("div", mt, [
984
984
  (a(), M(X(e.iconLeft), {
985
- class: c(g.value)
985
+ class: d(g.value)
986
986
  }, null, 8, ["class"]))
987
987
  ])) : f("", !0),
988
988
  o("input", {
989
- id: d.value,
989
+ id: c.value,
990
990
  ref_key: "inputRef",
991
991
  ref: i,
992
992
  type: e.type,
@@ -996,7 +996,7 @@ const Ue = {
996
996
  readonly: e.readonly,
997
997
  required: e.required,
998
998
  autocomplete: e.autocomplete,
999
- class: c(B.value),
999
+ class: d(B.value),
1000
1000
  "aria-describedby": R.value,
1001
1001
  "aria-invalid": T.value,
1002
1002
  onInput: m,
@@ -1018,7 +1018,7 @@ const Ue = {
1018
1018
  })
1019
1019
  ], 8, gt)) : e.iconRight ? (a(), M(X(e.iconRight), {
1020
1020
  key: 1,
1021
- class: c(g.value)
1021
+ class: d(g.value)
1022
1022
  }, null, 8, ["class"])) : f("", !0)
1023
1023
  ])) : f("", !0)
1024
1024
  ]));
@@ -1056,7 +1056,7 @@ const Ue = {
1056
1056
  )
1057
1057
  );
1058
1058
  return (n, i) => (a(), r("label", {
1059
- class: c(l.value),
1059
+ class: d(l.value),
1060
1060
  for: e.htmlFor
1061
1061
  }, [
1062
1062
  h(n.$slots, "default")
@@ -1137,7 +1137,7 @@ const Ue = {
1137
1137
  disabled: !1
1138
1138
  }
1139
1139
  }
1140
- ), d = (b) => {
1140
+ ), c = (b) => {
1141
1141
  if (t.disabled) {
1142
1142
  b.preventDefault();
1143
1143
  return;
@@ -1149,20 +1149,20 @@ const Ue = {
1149
1149
  to: l.value === "router-link" ? e.to : void 0,
1150
1150
  target: e.external ? "_blank" : e.target,
1151
1151
  rel: e.external ? "noopener noreferrer" : e.rel,
1152
- class: c(D(v)(D(i)({ variant: e.variant, size: e.size, underline: e.underline, block: e.block, disabled: e.disabled }), b.$attrs.class)),
1153
- onClick: d
1152
+ class: d(D(v)(D(i)({ variant: e.variant, size: e.size, underline: e.underline, block: e.block, disabled: e.disabled }), b.$attrs.class)),
1153
+ onClick: c
1154
1154
  }, {
1155
1155
  default: S(() => [
1156
1156
  e.icon && e.iconPosition === "left" ? (a(), M(Y, {
1157
1157
  key: 0,
1158
1158
  name: e.icon,
1159
- class: c(n.value)
1159
+ class: d(n.value)
1160
1160
  }, null, 8, ["name", "class"])) : f("", !0),
1161
1161
  h(b.$slots, "default"),
1162
1162
  e.icon && e.iconPosition === "right" ? (a(), M(Y, {
1163
1163
  key: 1,
1164
1164
  name: e.icon,
1165
- class: c(n.value)
1165
+ class: d(n.value)
1166
1166
  }, null, 8, ["name", "class"])) : f("", !0),
1167
1167
  e.external && e.showExternalIcon ? (a(), M(Y, {
1168
1168
  key: 2,
@@ -1219,17 +1219,17 @@ const Ue = {
1219
1219
  }
1220
1220
  )
1221
1221
  );
1222
- return (d, m) => (a(), r("div", {
1223
- class: c(l.value)
1222
+ return (c, m) => (a(), r("div", {
1223
+ class: d(l.value)
1224
1224
  }, [
1225
1225
  e.src ? (a(), r("img", {
1226
1226
  key: 0,
1227
1227
  src: e.src,
1228
1228
  alt: e.alt || "Logo",
1229
- class: c(n.value)
1229
+ class: d(n.value)
1230
1230
  }, null, 10, ht)) : (a(), r("div", {
1231
1231
  key: 1,
1232
- class: c(i.value)
1232
+ class: d(i.value)
1233
1233
  }, p(e.text || "Logo"), 3))
1234
1234
  ], 2));
1235
1235
  }
@@ -1317,16 +1317,16 @@ const Ue = {
1317
1317
  }
1318
1318
  ), i = u(
1319
1319
  () => v(l({ size: s.size }), s.class)
1320
- ), d = u(
1320
+ ), c = u(
1321
1321
  () => n({ variant: s.variant })
1322
1322
  ), m = u(
1323
1323
  () => "absolute inset-0 flex items-center justify-center text-xs font-medium text-primary-foreground"
1324
1324
  );
1325
1325
  return (b, w) => (a(), r("div", {
1326
- class: c(i.value)
1326
+ class: d(i.value)
1327
1327
  }, [
1328
1328
  o("div", {
1329
- class: c(d.value),
1329
+ class: d(c.value),
1330
1330
  style: ce({ width: `${t.value}%` }),
1331
1331
  role: "progressbar",
1332
1332
  "aria-valuenow": t.value,
@@ -1335,7 +1335,7 @@ const Ue = {
1335
1335
  }, null, 14, kt),
1336
1336
  e.showLabel ? (a(), r("span", {
1337
1337
  key: 0,
1338
- class: c(m.value)
1338
+ class: d(m.value)
1339
1339
  }, p(t.value) + "% ", 3)) : f("", !0)
1340
1340
  ], 2));
1341
1341
  }
@@ -1368,7 +1368,7 @@ const Ue = {
1368
1368
  }
1369
1369
  }
1370
1370
  }
1371
- ), d = u(
1371
+ ), c = u(
1372
1372
  () => v(
1373
1373
  i({ size: t.size }),
1374
1374
  t.disabled && "cursor-not-allowed opacity-50",
@@ -1397,17 +1397,17 @@ const Ue = {
1397
1397
  role: "radio",
1398
1398
  "aria-checked": n.value,
1399
1399
  disabled: e.disabled,
1400
- class: c(d.value),
1400
+ class: d(c.value),
1401
1401
  onClick: w
1402
1402
  }, [
1403
1403
  n.value ? (a(), r("div", {
1404
1404
  key: 0,
1405
- class: c(m.value)
1405
+ class: d(m.value)
1406
1406
  }, null, 2)) : f("", !0)
1407
1407
  ], 10, $t),
1408
1408
  e.label ? (a(), r("label", {
1409
1409
  key: 0,
1410
- class: c(b.value),
1410
+ class: d(b.value),
1411
1411
  onClick: w
1412
1412
  }, p(e.label), 3)) : f("", !0)
1413
1413
  ]));
@@ -1446,7 +1446,7 @@ const Ue = {
1446
1446
  );
1447
1447
  return (n, i) => (a(), r("select", me({
1448
1448
  value: e.modelValue,
1449
- onChange: i[0] || (i[0] = (d) => n.$emit("update:modelValue", d.target.value)),
1449
+ onChange: i[0] || (i[0] = (c) => n.$emit("update:modelValue", c.target.value)),
1450
1450
  disabled: e.disabled,
1451
1451
  class: l.value
1452
1452
  }, n.$attrs), [
@@ -1529,7 +1529,7 @@ const Ue = {
1529
1529
  }
1530
1530
  ]
1531
1531
  }
1532
- ), d = u(
1532
+ ), c = u(
1533
1533
  () => v(
1534
1534
  n({
1535
1535
  size: t.size,
@@ -1550,11 +1550,11 @@ const Ue = {
1550
1550
  role: "switch",
1551
1551
  "aria-checked": e.modelValue,
1552
1552
  disabled: e.disabled,
1553
- class: c(d.value),
1553
+ class: d(c.value),
1554
1554
  onClick: b
1555
1555
  }, [
1556
1556
  o("span", {
1557
- class: c(m.value)
1557
+ class: d(m.value)
1558
1558
  }, null, 2)
1559
1559
  ], 10, Bt));
1560
1560
  }
@@ -1627,7 +1627,7 @@ const Ue = {
1627
1627
  }), s.class)
1628
1628
  );
1629
1629
  return (n, i) => (a(), M(X(e.as), {
1630
- class: c(l.value)
1630
+ class: d(l.value)
1631
1631
  }, {
1632
1632
  default: S(() => [
1633
1633
  h(n.$slots, "default")
@@ -1666,10 +1666,10 @@ const Ue = {
1666
1666
  },
1667
1667
  emits: ["update:modelValue", "blur", "focus", "keydown"],
1668
1668
  setup(e, { expose: s, emit: t }) {
1669
- const l = e, n = t, i = H(null), d = u(() => l.id || be()), m = (g) => {
1669
+ const l = e, n = t, i = H(null), c = u(() => l.id || be()), m = (g) => {
1670
1670
  n("update:modelValue", g.target.value), l.autoResize && Ce(() => k());
1671
1671
  }, b = (g) => n("blur", g), w = (g) => n("focus", g), C = (g) => n("keydown", g), j = u(() => !!l.error || l.variant === "error"), T = u(
1672
- () => l.error ? `${d.value}-error` : void 0
1672
+ () => l.error ? `${c.value}-error` : void 0
1673
1673
  ), R = x(
1674
1674
  "block w-full rounded-lg border transition-colors duration-200 placeholder:text-slate-400 focus:outline-none focus:ring-2 focus:ring-offset-0 disabled:bg-slate-50 disabled:text-slate-500 disabled:cursor-not-allowed",
1675
1675
  {
@@ -1711,7 +1711,7 @@ const Ue = {
1711
1711
  blur: () => i.value?.blur(),
1712
1712
  select: () => i.value?.select()
1713
1713
  }), (g, B) => (a(), r("textarea", {
1714
- id: d.value,
1714
+ id: c.value,
1715
1715
  ref_key: "textareaRef",
1716
1716
  ref: i,
1717
1717
  value: e.modelValue,
@@ -1721,7 +1721,7 @@ const Ue = {
1721
1721
  required: e.required,
1722
1722
  rows: e.rows,
1723
1723
  maxlength: e.maxlength,
1724
- class: c(z.value),
1724
+ class: d(z.value),
1725
1725
  "aria-describedby": T.value,
1726
1726
  "aria-invalid": j.value,
1727
1727
  onInput: m,
@@ -1775,7 +1775,7 @@ const Ue = {
1775
1775
  }
1776
1776
  }
1777
1777
  }
1778
- ), d = u(
1778
+ ), c = u(
1779
1779
  () => v(n({ placement: s.placement }), s.class)
1780
1780
  ), m = u(
1781
1781
  () => i({ placement: s.placement })
@@ -1803,12 +1803,12 @@ const Ue = {
1803
1803
  default: S(() => [
1804
1804
  t.value ? (a(), r("div", {
1805
1805
  key: 0,
1806
- class: c(d.value),
1806
+ class: d(c.value),
1807
1807
  role: "tooltip"
1808
1808
  }, [
1809
1809
  N(p(e.content) + " ", 1),
1810
1810
  o("div", {
1811
- class: c(m.value)
1811
+ class: d(m.value)
1812
1812
  }, null, 2)
1813
1813
  ], 2)) : f("", !0)
1814
1814
  ]),
@@ -1910,7 +1910,7 @@ const Ue = {
1910
1910
  center: "text-center",
1911
1911
  right: "text-right",
1912
1912
  justify: "text-justify"
1913
- })[s.align]), d = u(() => [
1913
+ })[s.align]), c = u(() => [
1914
1914
  l.value,
1915
1915
  n.value,
1916
1916
  i.value,
@@ -1922,7 +1922,7 @@ const Ue = {
1922
1922
  }
1923
1923
  ]);
1924
1924
  return (m, b) => (a(), M(X(t.value), {
1925
- class: c(d.value)
1925
+ class: d(c.value)
1926
1926
  }, {
1927
1927
  default: S(() => [
1928
1928
  h(m.$slots, "default")
@@ -1961,7 +1961,7 @@ const Ue = {
1961
1961
  setup(e, { emit: s }) {
1962
1962
  const t = e, l = s, n = H(!0), i = () => {
1963
1963
  n.value = !1, l("dismiss");
1964
- }, d = (g) => {
1964
+ }, c = (g) => {
1965
1965
  l("action", g), g.onClick && g.onClick();
1966
1966
  };
1967
1967
  if (t.autoClose) {
@@ -2051,19 +2051,19 @@ const Ue = {
2051
2051
  default: S(() => [
2052
2052
  n.value ? (a(), r("div", {
2053
2053
  key: 0,
2054
- class: c(D(v)(D(R)({ variant: e.variant }), g.$attrs.class)),
2054
+ class: d(D(v)(D(R)({ variant: e.variant }), g.$attrs.class)),
2055
2055
  role: "alert"
2056
2056
  }, [
2057
2057
  o("div", Lt, [
2058
2058
  e.showIcon ? (a(), r("div", Dt, [
2059
2059
  (a(), M(X(T.value), {
2060
- class: c(z.value)
2060
+ class: d(z.value)
2061
2061
  }, null, 8, ["class"]))
2062
2062
  ])) : f("", !0),
2063
2063
  o("div", At, [
2064
2064
  e.title ? (a(), r("h4", Pt, p(e.title), 1)) : f("", !0),
2065
2065
  o("div", {
2066
- class: c(["text-sm", { "mt-0": !e.title, "mt-1": e.title }])
2066
+ class: d(["text-sm", { "mt-0": !e.title, "mt-1": e.title }])
2067
2067
  }, [
2068
2068
  h(g.$slots, "default", {}, () => [
2069
2069
  N(p(e.message), 1)
@@ -2075,7 +2075,7 @@ const Ue = {
2075
2075
  key: $.label,
2076
2076
  variant: $.variant || "outline",
2077
2077
  size: $.size || "sm",
2078
- onClick: (I) => d($)
2078
+ onClick: (I) => c($)
2079
2079
  }, {
2080
2080
  default: S(() => [
2081
2081
  N(p($.label), 1)
@@ -2088,7 +2088,7 @@ const Ue = {
2088
2088
  e.dismissible ? (a(), r("button", {
2089
2089
  key: 1,
2090
2090
  onClick: i,
2091
- class: c(k.value),
2091
+ class: d(k.value),
2092
2092
  "aria-label": e.dismissLabel
2093
2093
  }, [
2094
2094
  y(j, { class: "w-4 h-4" })
@@ -2134,23 +2134,23 @@ const Ue = {
2134
2134
  );
2135
2135
  return (n, i) => (a(), r("nav", {
2136
2136
  "aria-label": e.ariaLabel,
2137
- class: c(["flex", l.value])
2137
+ class: d(["flex", l.value])
2138
2138
  }, [
2139
2139
  o("ol", Ht, [
2140
- (a(!0), r(Q, null, K(e.items, (d, m) => (a(), r("li", {
2140
+ (a(!0), r(Q, null, K(e.items, (c, m) => (a(), r("li", {
2141
2141
  key: m,
2142
2142
  class: "flex items-center"
2143
2143
  }, [
2144
- (a(), M(X(d.href ? "a" : "span"), {
2145
- href: d.href,
2146
- class: c([
2144
+ (a(), M(X(c.href ? "a" : "span"), {
2145
+ href: c.href,
2146
+ class: d([
2147
2147
  "text-sm font-medium transition-colors hover:text-foreground",
2148
2148
  m === e.items.length - 1 ? "text-foreground" : "text-muted-foreground hover:text-foreground"
2149
2149
  ]),
2150
2150
  "aria-current": m === e.items.length - 1 ? "page" : void 0
2151
2151
  }, {
2152
2152
  default: S(() => [
2153
- N(p(d.label), 1)
2153
+ N(p(c.label), 1)
2154
2154
  ]),
2155
2155
  _: 2
2156
2156
  }, 1032, ["href", "class", "aria-current"])),
@@ -2195,7 +2195,7 @@ const Ue = {
2195
2195
  () => v(t({ orientation: s.orientation }))
2196
2196
  );
2197
2197
  return (n, i) => (a(), r("div", {
2198
- class: c(l.value),
2198
+ class: d(l.value),
2199
2199
  role: "group",
2200
2200
  "aria-label": e.ariaLabel
2201
2201
  }, [
@@ -2265,7 +2265,7 @@ const Ue = {
2265
2265
  padding: "md"
2266
2266
  }
2267
2267
  }
2268
- ), d = x(
2268
+ ), c = x(
2269
2269
  "border-b border-slate-100 last:border-b-0",
2270
2270
  {
2271
2271
  variants: {
@@ -2313,23 +2313,23 @@ const Ue = {
2313
2313
  }
2314
2314
  });
2315
2315
  return (C, j) => (a(), r("div", {
2316
- class: c(D(v)(D(i)({ variant: e.variant, padding: e.padding, hoverable: e.hoverable, clickable: e.clickable, loading: e.loading }))),
2316
+ class: d(D(v)(D(i)({ variant: e.variant, padding: e.padding, hoverable: e.hoverable, clickable: e.clickable, loading: e.loading }))),
2317
2317
  onClick: n
2318
2318
  }, [
2319
2319
  C.$slots.header || e.title || e.subtitle ? (a(), r("div", {
2320
2320
  key: 0,
2321
- class: c(D(v)(D(d)({ padding: e.padding })))
2321
+ class: d(D(v)(D(c)({ padding: e.padding })))
2322
2322
  }, [
2323
2323
  h(C.$slots, "header", {}, () => [
2324
2324
  o("div", Ut, [
2325
2325
  o("div", Zt, [
2326
2326
  e.title ? (a(), r("h3", {
2327
2327
  key: 0,
2328
- class: c(Yt)
2328
+ class: d(Yt)
2329
2329
  }, p(e.title), 1)) : f("", !0),
2330
2330
  e.subtitle ? (a(), r("p", {
2331
2331
  key: 1,
2332
- class: c(Xt)
2332
+ class: d(Xt)
2333
2333
  }, p(e.subtitle), 1)) : f("", !0)
2334
2334
  ]),
2335
2335
  C.$slots.actions ? (a(), r("div", Gt, [
@@ -2340,26 +2340,26 @@ const Ue = {
2340
2340
  ], 2)) : f("", !0),
2341
2341
  C.$slots.image || e.image ? (a(), r("div", {
2342
2342
  key: 1,
2343
- class: c(D(v)(D(w)({ padding: e.padding })))
2343
+ class: d(D(v)(D(w)({ padding: e.padding })))
2344
2344
  }, [
2345
2345
  h(C.$slots, "image", {}, () => [
2346
2346
  e.image ? (a(), r("img", {
2347
2347
  key: 0,
2348
2348
  src: e.image,
2349
2349
  alt: e.imageAlt,
2350
- class: c(Qt)
2350
+ class: d(Qt)
2351
2351
  }, null, 8, Kt)) : f("", !0)
2352
2352
  ])
2353
2353
  ], 2)) : f("", !0),
2354
2354
  C.$slots.default ? (a(), r("div", {
2355
2355
  key: 2,
2356
- class: c(D(v)(D(m)({ padding: e.padding })))
2356
+ class: d(D(v)(D(m)({ padding: e.padding })))
2357
2357
  }, [
2358
2358
  h(C.$slots, "default")
2359
2359
  ], 2)) : f("", !0),
2360
2360
  C.$slots.footer ? (a(), r("div", {
2361
2361
  key: 3,
2362
- class: c(D(v)(D(b)({ padding: e.padding })))
2362
+ class: d(D(v)(D(b)({ padding: e.padding })))
2363
2363
  }, [
2364
2364
  h(C.$slots, "footer")
2365
2365
  ], 2)) : f("", !0)
@@ -2371,7 +2371,7 @@ const Ue = {
2371
2371
  __name: "CardHeader",
2372
2372
  setup(e) {
2373
2373
  return (s, t) => (a(), r("div", {
2374
- class: c(D(v)("flex flex-col space-y-1.5 p-6", s.$attrs.class))
2374
+ class: d(D(v)("flex flex-col space-y-1.5 p-6", s.$attrs.class))
2375
2375
  }, [
2376
2376
  h(s.$slots, "default")
2377
2377
  ], 2));
@@ -2398,7 +2398,7 @@ const Ue = {
2398
2398
  () => v(t({ variant: s.variant }))
2399
2399
  );
2400
2400
  return (n, i) => (a(), r("div", {
2401
- class: c(l.value)
2401
+ class: d(l.value)
2402
2402
  }, [
2403
2403
  h(n.$slots, "default")
2404
2404
  ], 2));
@@ -2425,7 +2425,7 @@ const Ue = {
2425
2425
  () => v(t({ variant: s.variant }))
2426
2426
  );
2427
2427
  return (n, i) => (a(), r("div", {
2428
- class: c(l.value)
2428
+ class: d(l.value)
2429
2429
  }, [
2430
2430
  h(n.$slots, "default")
2431
2431
  ], 2));
@@ -2436,7 +2436,7 @@ const Ue = {
2436
2436
  __name: "CardContent",
2437
2437
  setup(e) {
2438
2438
  return (s, t) => (a(), r("div", {
2439
- class: c(D(v)("p-6 pt-0", s.$attrs.class))
2439
+ class: d(D(v)("p-6 pt-0", s.$attrs.class))
2440
2440
  }, [
2441
2441
  h(s.$slots, "default")
2442
2442
  ], 2));
@@ -2447,7 +2447,7 @@ const Ue = {
2447
2447
  __name: "CardTitle",
2448
2448
  setup(e) {
2449
2449
  return (s, t) => (a(), r("h3", {
2450
- class: c(D(v)("text-2xl font-semibold leading-none tracking-tight", s.$attrs.class))
2450
+ class: d(D(v)("text-2xl font-semibold leading-none tracking-tight", s.$attrs.class))
2451
2451
  }, [
2452
2452
  h(s.$slots, "default")
2453
2453
  ], 2));
@@ -2498,12 +2498,12 @@ const Ue = {
2498
2498
  id: e.id,
2499
2499
  value: e.modelValue,
2500
2500
  type: "date",
2501
- class: c(l.value),
2501
+ class: d(l.value),
2502
2502
  disabled: e.disabled,
2503
2503
  required: e.required,
2504
2504
  min: e.min,
2505
2505
  max: e.max,
2506
- onInput: i[0] || (i[0] = (d) => n.$emit("update:modelValue", d.target.value))
2506
+ onInput: i[0] || (i[0] = (c) => n.$emit("update:modelValue", c.target.value))
2507
2507
  }, null, 42, na),
2508
2508
  y(Y, {
2509
2509
  name: "calendar",
@@ -2553,7 +2553,7 @@ const Ue = {
2553
2553
  }
2554
2554
  }
2555
2555
  }
2556
- ), d = u(
2556
+ ), c = u(
2557
2557
  () => v(n({ variant: s.variant }), "h-10 px-4 py-2")
2558
2558
  ), m = u(
2559
2559
  () => v(i({ placement: s.placement }))
@@ -2572,7 +2572,7 @@ const Ue = {
2572
2572
  ref: l
2573
2573
  }, [
2574
2574
  o("button", {
2575
- class: c(d.value),
2575
+ class: d(c.value),
2576
2576
  onClick: b,
2577
2577
  "aria-expanded": t.value,
2578
2578
  "aria-haspopup": !0
@@ -2596,7 +2596,7 @@ const Ue = {
2596
2596
  default: S(() => [
2597
2597
  t.value ? (a(), r("div", {
2598
2598
  key: 0,
2599
- class: c(m.value),
2599
+ class: d(m.value),
2600
2600
  role: "menu",
2601
2601
  "aria-orientation": "vertical"
2602
2602
  }, [
@@ -2637,15 +2637,15 @@ const Ue = {
2637
2637
  }
2638
2638
  ), i = u(
2639
2639
  () => v(n({ variant: t.variant }))
2640
- ), d = (m) => {
2640
+ ), c = (m) => {
2641
2641
  t.disabled || l("click", m);
2642
2642
  };
2643
2643
  return (m, b) => (a(), M(X(e.href ? "a" : "button"), {
2644
2644
  href: e.href,
2645
- class: c(i.value),
2645
+ class: d(i.value),
2646
2646
  disabled: e.disabled,
2647
2647
  role: "menuitem",
2648
- onClick: d
2648
+ onClick: c
2649
2649
  }, {
2650
2650
  default: S(() => [
2651
2651
  e.icon ? (a(), M(Y, {
@@ -2680,7 +2680,7 @@ const Ue = {
2680
2680
  },
2681
2681
  emits: ["files-selected", "file-removed"],
2682
2682
  setup(e, { emit: s }) {
2683
- const t = e, l = s, n = H([]), i = H(!1), d = H(null), m = x(
2683
+ const t = e, l = s, n = H([]), i = H(!1), c = H(null), m = x(
2684
2684
  "border-2 border-dashed rounded-lg cursor-pointer transition-colors hover:bg-muted/50",
2685
2685
  {
2686
2686
  variants: {
@@ -2706,7 +2706,7 @@ const Ue = {
2706
2706
  }, T = ($) => {
2707
2707
  $.preventDefault(), i.value = !1;
2708
2708
  }, R = () => {
2709
- d.value?.click();
2709
+ c.value?.click();
2710
2710
  }, z = ($) => {
2711
2711
  const I = Array.from($.target.files);
2712
2712
  k(I);
@@ -2722,7 +2722,7 @@ const Ue = {
2722
2722
  };
2723
2723
  return ($, I) => (a(), r("div", ua, [
2724
2724
  o("div", {
2725
- class: c(b.value),
2725
+ class: d(b.value),
2726
2726
  onDrop: w,
2727
2727
  onDragover: C,
2728
2728
  onDragenter: j,
@@ -2731,7 +2731,7 @@ const Ue = {
2731
2731
  }, [
2732
2732
  o("input", {
2733
2733
  ref_key: "fileInput",
2734
- ref: d,
2734
+ ref: c,
2735
2735
  type: "file",
2736
2736
  multiple: e.multiple,
2737
2737
  accept: e.accept,
@@ -2809,7 +2809,7 @@ const Ue = {
2809
2809
  <path stroke-linecap="round" stroke-linejoin="round" d="M9 12.75 11.25 15 15 9.75M21 12a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z" />
2810
2810
  </svg>
2811
2811
  `
2812
- }, l = e, n = be(), i = u(() => !!l.error), d = u(() => {
2812
+ }, l = e, n = be(), i = u(() => !!l.error), c = u(() => {
2813
2813
  const T = [];
2814
2814
  return l.error ? T.push(`${n}-error`) : l.helpText && T.push(`${n}-help`), T.length > 0 ? T.join(" ") : void 0;
2815
2815
  }), m = x("", {
@@ -2864,25 +2864,25 @@ const Ue = {
2864
2864
  defaultVariants: { size: "md" }
2865
2865
  });
2866
2866
  return (T, R) => (a(), r("div", {
2867
- class: c(D(v)(D(m)({ size: e.size }), T.$attrs.class))
2867
+ class: d(D(v)(D(m)({ size: e.size }), T.$attrs.class))
2868
2868
  }, [
2869
2869
  e.label ? (a(), r("label", {
2870
2870
  key: 0,
2871
2871
  for: D(n),
2872
- class: c(D(v)(D(b)({ size: e.size })))
2872
+ class: d(D(v)(D(b)({ size: e.size })))
2873
2873
  }, [
2874
2874
  N(p(e.label) + " ", 1),
2875
2875
  e.required ? (a(), r("span", wa, "*")) : f("", !0)
2876
2876
  ], 10, ka)) : f("", !0),
2877
2877
  e.description ? (a(), r("p", {
2878
2878
  key: 1,
2879
- class: c(D(v)(D(w)({ size: e.size })))
2879
+ class: d(D(v)(D(w)({ size: e.size })))
2880
2880
  }, p(e.description), 3)) : f("", !0),
2881
2881
  o("div", Ca, [
2882
2882
  h(T.$slots, "default", {
2883
2883
  fieldId: D(n),
2884
2884
  hasError: i.value,
2885
- ariaDescribedBy: d.value
2885
+ ariaDescribedBy: c.value
2886
2886
  })
2887
2887
  ]),
2888
2888
  y(ae, {
@@ -2897,7 +2897,7 @@ const Ue = {
2897
2897
  i.value ? (a(), r("div", {
2898
2898
  key: 0,
2899
2899
  id: `${D(n)}-error`,
2900
- class: c(D(v)(D(C)({ size: e.size, intent: "error" }))),
2900
+ class: d(D(v)(D(C)({ size: e.size, intent: "error" }))),
2901
2901
  role: "alert",
2902
2902
  "aria-live": "polite"
2903
2903
  }, [
@@ -2910,7 +2910,7 @@ const Ue = {
2910
2910
  e.helpText && !i.value ? (a(), r("p", {
2911
2911
  key: 2,
2912
2912
  id: `${D(n)}-help`,
2913
- class: c(D(v)(D(j)({ size: e.size })))
2913
+ class: d(D(v)(D(j)({ size: e.size })))
2914
2914
  }, p(e.helpText), 11, Sa)) : f("", !0),
2915
2915
  y(ae, {
2916
2916
  "enter-active-class": "transition-all duration-200",
@@ -2923,7 +2923,7 @@ const Ue = {
2923
2923
  default: S(() => [
2924
2924
  e.success && !i.value ? (a(), r("div", {
2925
2925
  key: 0,
2926
- class: c(D(v)(D(C)({ size: e.size, intent: "success" })))
2926
+ class: d(D(v)(D(C)({ size: e.size, intent: "success" })))
2927
2927
  }, [
2928
2928
  y(t, { class: "w-4 h-4 flex-shrink-0 mt-0.5" }),
2929
2929
  o("span", null, p(e.success), 1)
@@ -2960,7 +2960,7 @@ const Ue = {
2960
2960
  () => v(t({ variant: s.variant }))
2961
2961
  );
2962
2962
  return (n, i) => (a(), r("div", {
2963
- class: c(l.value)
2963
+ class: d(l.value)
2964
2964
  }, [
2965
2965
  n.$slots.prefix ? (a(), r("div", Ba, [
2966
2966
  h(n.$slots, "prefix")
@@ -3013,7 +3013,7 @@ const Ue = {
3013
3013
  interactive: "transition-colors rounded-md"
3014
3014
  }
3015
3015
  }
3016
- }), d = u(
3016
+ }), c = u(
3017
3017
  () => v(n({ variant: t.variant }))
3018
3018
  ), m = u(
3019
3019
  () => v(i({ variant: t.variant }))
@@ -3021,12 +3021,12 @@ const Ue = {
3021
3021
  l("click", w);
3022
3022
  };
3023
3023
  return (w, C) => (a(), r("li", {
3024
- class: c(d.value),
3024
+ class: d(c.value),
3025
3025
  role: e.role
3026
3026
  }, [
3027
3027
  (a(), M(X(e.href ? "a" : "div"), {
3028
3028
  href: e.href,
3029
- class: c(m.value),
3029
+ class: d(m.value),
3030
3030
  onClick: b
3031
3031
  }, {
3032
3032
  default: S(() => [
@@ -3083,15 +3083,15 @@ const Ue = {
3083
3083
  }
3084
3084
  ), i = u(
3085
3085
  () => v(n({ variant: t.variant }))
3086
- ), d = (m) => {
3086
+ ), c = (m) => {
3087
3087
  t.disabled || l("click", m);
3088
3088
  };
3089
3089
  return (m, b) => (a(), M(X(e.href ? "a" : "button"), {
3090
3090
  href: e.href,
3091
- class: c(i.value),
3091
+ class: d(i.value),
3092
3092
  disabled: e.disabled,
3093
3093
  role: "menuitem",
3094
- onClick: d
3094
+ onClick: c
3095
3095
  }, {
3096
3096
  default: S(() => [
3097
3097
  e.icon ? (a(), M(Y, {
@@ -3127,11 +3127,11 @@ const Ue = {
3127
3127
  setup(e, { emit: s }) {
3128
3128
  const t = e, l = s, n = () => {
3129
3129
  l("update:modelValue", !1), l("close");
3130
- }, i = (d) => {
3131
- t.closeOnBackdrop && d.target === d.currentTarget && n();
3130
+ }, i = (c) => {
3131
+ t.closeOnBackdrop && c.target === c.currentTarget && n();
3132
3132
  };
3133
- return oe(() => t.modelValue, (d) => {
3134
- if (d) {
3133
+ return oe(() => t.modelValue, (c) => {
3134
+ if (c) {
3135
3135
  const m = (b) => {
3136
3136
  b.key === "Escape" && n();
3137
3137
  };
@@ -3139,7 +3139,7 @@ const Ue = {
3139
3139
  document.removeEventListener("keydown", m);
3140
3140
  };
3141
3141
  }
3142
- }), (d, m) => (a(), M(Ve, { to: "body" }, [
3142
+ }), (c, m) => (a(), M(Ve, { to: "body" }, [
3143
3143
  y(ae, {
3144
3144
  "enter-active-class": "transition-opacity duration-300",
3145
3145
  "enter-from-class": "opacity-0",
@@ -3166,7 +3166,7 @@ const Ue = {
3166
3166
  }),
3167
3167
  m[0] || (m[0] = o("span", { class: "sr-only" }, "Close", -1))
3168
3168
  ])) : f("", !0),
3169
- h(d.$slots, "default")
3169
+ h(c.$slots, "default")
3170
3170
  ])
3171
3171
  ])) : f("", !0)
3172
3172
  ]),
@@ -3214,7 +3214,7 @@ const Ue = {
3214
3214
  () => v(t({ variant: s.variant }))
3215
3215
  );
3216
3216
  return (n, i) => (a(), r("div", {
3217
- class: c(l.value)
3217
+ class: d(l.value)
3218
3218
  }, [
3219
3219
  h(n.$slots, "default")
3220
3220
  ], 2));
@@ -3240,7 +3240,7 @@ const Ue = {
3240
3240
  () => v(t({ variant: s.variant }))
3241
3241
  );
3242
3242
  return (n, i) => (a(), r("div", {
3243
- class: c(l.value)
3243
+ class: d(l.value)
3244
3244
  }, [
3245
3245
  h(n.$slots, "default")
3246
3246
  ], 2));
@@ -3289,7 +3289,7 @@ const Ue = {
3289
3289
  }
3290
3290
  }
3291
3291
  }
3292
- ), d = {
3292
+ ), c = {
3293
3293
  default: "info",
3294
3294
  success: "check-circle",
3295
3295
  warning: "alert-triangle",
@@ -3305,7 +3305,7 @@ const Ue = {
3305
3305
  }
3306
3306
  }), b = u(
3307
3307
  () => v(i({ variant: t.variant }), "p-4")
3308
- ), w = u(() => d[t.variant]), C = u(() => m({ variant: t.variant })), j = () => {
3308
+ ), w = u(() => c[t.variant]), C = u(() => m({ variant: t.variant })), j = () => {
3309
3309
  n.value = !1, l("dismiss");
3310
3310
  };
3311
3311
  return ve(() => {
@@ -3323,7 +3323,7 @@ const Ue = {
3323
3323
  default: S(() => [
3324
3324
  n.value ? (a(), r("div", {
3325
3325
  key: 0,
3326
- class: c(b.value),
3326
+ class: d(b.value),
3327
3327
  role: "alert",
3328
3328
  "aria-live": e.variant === "destructive" ? "assertive" : "polite"
3329
3329
  }, [
@@ -3331,14 +3331,14 @@ const Ue = {
3331
3331
  e.showIcon ? (a(), r("div", Qa, [
3332
3332
  y(Y, {
3333
3333
  name: w.value,
3334
- class: c(C.value)
3334
+ class: d(C.value)
3335
3335
  }, null, 8, ["name", "class"])
3336
3336
  ])) : f("", !0),
3337
3337
  o("div", Ya, [
3338
3338
  e.title ? (a(), r("div", Xa, p(e.title), 1)) : f("", !0),
3339
3339
  e.message ? (a(), r("div", {
3340
3340
  key: 1,
3341
- class: c(["text-sm", { "mt-1": e.title }])
3341
+ class: d(["text-sm", { "mt-1": e.title }])
3342
3342
  }, p(e.message), 3)) : f("", !0),
3343
3343
  h(T.$slots, "default")
3344
3344
  ]),
@@ -3397,7 +3397,7 @@ const es = {
3397
3397
  success: l = "Success",
3398
3398
  error: n = "Error",
3399
3399
  ...i
3400
- } = s, d = re(t, {
3400
+ } = s, c = re(t, {
3401
3401
  ...i,
3402
3402
  variant: "loading",
3403
3403
  duration: 0,
@@ -3405,14 +3405,14 @@ const es = {
3405
3405
  dismissible: !1
3406
3406
  });
3407
3407
  return e.then((m) => {
3408
- ue(d);
3408
+ ue(c);
3409
3409
  const b = typeof l == "function" ? l(m) : l;
3410
3410
  return re(b, {
3411
3411
  ...i,
3412
3412
  variant: "success"
3413
3413
  }), m;
3414
3414
  }).catch((m) => {
3415
- ue(d);
3415
+ ue(c);
3416
3416
  const b = typeof n == "function" ? n(m) : n;
3417
3417
  throw re(b, {
3418
3418
  ...i,
@@ -3488,7 +3488,7 @@ const es = {
3488
3488
  "bottom-right": "bottom-0 right-0 flex-col-reverse"
3489
3489
  }, i = u(
3490
3490
  () => v(n[s.position])
3491
- ), d = x(
3491
+ ), c = x(
3492
3492
  "group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all",
3493
3493
  {
3494
3494
  variants: {
@@ -3503,7 +3503,7 @@ const es = {
3503
3503
  },
3504
3504
  defaultVariants: { variant: "default" }
3505
3505
  }
3506
- ), m = (z) => v(d({ variant: z.variant })), b = {
3506
+ ), m = (z) => v(c({ variant: z.variant })), b = {
3507
3507
  default: "bell",
3508
3508
  info: "info",
3509
3509
  success: "check-circle",
@@ -3523,7 +3523,7 @@ const es = {
3523
3523
  }, T = (z) => z.icon !== !1, R = (z) => z.dismissible !== !1 && (z.closeButton || s.closeButton || z.dismissible);
3524
3524
  return (z, k) => (a(), M(Ve, { to: "body" }, [
3525
3525
  o("div", {
3526
- class: c(D(v)(
3526
+ class: d(D(v)(
3527
3527
  i.value,
3528
3528
  "fixed z-[100] flex max-h-screen w-full p-4 md:max-w-[420px]"
3529
3529
  ))
@@ -3542,14 +3542,14 @@ const es = {
3542
3542
  default: S(() => [
3543
3543
  (a(!0), r(Q, null, K(D(t), (g) => (a(), r("div", {
3544
3544
  key: g.id,
3545
- class: c([m(g), "group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all"]),
3545
+ class: d([m(g), "group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all"]),
3546
3546
  role: "alert",
3547
3547
  "aria-live": g.variant === "error" ? "assertive" : "polite"
3548
3548
  }, [
3549
3549
  T(g) ? (a(), M(Y, {
3550
3550
  key: 0,
3551
3551
  name: C(g),
3552
- class: c([j(g), "h-4 w-4 shrink-0"])
3552
+ class: d([j(g), "h-4 w-4 shrink-0"])
3553
3553
  }, null, 8, ["name", "class"])) : f("", !0),
3554
3554
  o("div", ls, [
3555
3555
  g.title ? (a(), r("div", ns, p(g.title), 1)) : f("", !0),
@@ -3643,21 +3643,21 @@ const es = {
3643
3643
  <circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"/>
3644
3644
  <path class="opacity-75" fill="currentColor" 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"/>
3645
3645
  </svg>`
3646
- }, i = e, d = s, m = H(null), b = H(null), w = H(!1), C = H(-1), j = H(null), T = (A) => {
3646
+ }, i = e, c = s, m = H(null), b = H(null), w = H(!1), C = H(-1), j = H(null), T = (A) => {
3647
3647
  const U = A.target.value;
3648
- d("update:modelValue", U), j.value && clearTimeout(j.value), j.value = setTimeout(() => {
3649
- U.length >= i.minLength ? (d("search", U), w.value = !0) : w.value = !1;
3648
+ c("update:modelValue", U), j.value && clearTimeout(j.value), j.value = setTimeout(() => {
3649
+ U.length >= i.minLength ? (c("search", U), w.value = !0) : w.value = !1;
3650
3650
  }, i.debounce);
3651
3651
  }, R = (A) => {
3652
- d("focus", A), i.modelValue.length >= i.minLength && (w.value = !0);
3652
+ c("focus", A), i.modelValue.length >= i.minLength && (w.value = !0);
3653
3653
  }, z = (A) => {
3654
- d("blur", A), setTimeout(() => {
3654
+ c("blur", A), setTimeout(() => {
3655
3655
  w.value = !1, C.value = -1;
3656
3656
  }, 150);
3657
3657
  }, k = () => {
3658
- d("update:modelValue", ""), d("clear"), w.value = !1, b.value?.focus();
3658
+ c("update:modelValue", ""), c("clear"), w.value = !1, b.value?.focus();
3659
3659
  }, g = (A) => {
3660
- d("select", A), w.value = !1, C.value = -1;
3660
+ c("select", A), w.value = !1, C.value = -1;
3661
3661
  }, B = (A) => {
3662
3662
  if (!(!w.value || i.results.length === 0))
3663
3663
  switch (A.key) {
@@ -3717,7 +3717,7 @@ const es = {
3717
3717
  o("div", us, [
3718
3718
  o("div", ms, [
3719
3719
  y(t, {
3720
- class: c(te.value)
3720
+ class: d(te.value)
3721
3721
  }, null, 8, ["class"])
3722
3722
  ]),
3723
3723
  o("input", {
@@ -3726,7 +3726,7 @@ const es = {
3726
3726
  value: e.modelValue,
3727
3727
  placeholder: e.placeholder,
3728
3728
  disabled: e.disabled,
3729
- class: c(E.value),
3729
+ class: d(E.value),
3730
3730
  onInput: T,
3731
3731
  onFocus: R,
3732
3732
  onBlur: z,
@@ -3756,12 +3756,12 @@ const es = {
3756
3756
  default: S(() => [
3757
3757
  w.value && (e.results.length > 0 || e.showNoResults) ? (a(), r("div", {
3758
3758
  key: 0,
3759
- class: c(se.value)
3759
+ class: d(se.value)
3760
3760
  }, [
3761
3761
  e.results.length > 0 ? (a(), r("div", bs, [
3762
3762
  (a(!0), r(Q, null, K(e.results, (J, le) => (a(), r("button", {
3763
3763
  key: J.id || le,
3764
- class: c(q(le)),
3764
+ class: d(q(le)),
3765
3765
  onClick: (_) => g(J),
3766
3766
  onMouseenter: (_) => C.value = le
3767
3767
  }, [
@@ -3803,13 +3803,13 @@ const es = {
3803
3803
  emits: ["update:modelValue"],
3804
3804
  setup(e, { emit: s }) {
3805
3805
  const t = e, l = s, n = H(t.modelValue);
3806
- oe(() => t.modelValue, (d) => {
3807
- n.value = d;
3806
+ oe(() => t.modelValue, (c) => {
3807
+ n.value = c;
3808
3808
  });
3809
3809
  const i = () => {
3810
3810
  l("update:modelValue", Number(n.value));
3811
3811
  };
3812
- return (d, m) => (a(), r("div", zs, [
3812
+ return (c, m) => (a(), r("div", zs, [
3813
3813
  xe(o("input", {
3814
3814
  type: "range",
3815
3815
  min: e.min,
@@ -3850,7 +3850,7 @@ const es = {
3850
3850
  setup(e) {
3851
3851
  return (s, t) => (a(), r("div", Is, [
3852
3852
  o("div", {
3853
- class: c([
3853
+ class: d([
3854
3854
  "flex items-center justify-center w-8 h-8 rounded-full border-2",
3855
3855
  e.active ? "bg-blue-500 border-blue-500 text-white" : e.completed ? "bg-green-500 border-green-500 text-white" : "border-slate-300 text-slate-500"
3856
3856
  ])
@@ -3876,12 +3876,12 @@ const es = {
3876
3876
  activeIndex: t,
3877
3877
  tabs: l,
3878
3878
  registerTab: (i) => (l.value.push({ label: i }), l.value.length - 1)
3879
- }), (i, d) => (a(), r("div", null, [
3879
+ }), (i, c) => (a(), r("div", null, [
3880
3880
  o("div", Fs, [
3881
3881
  (a(!0), r(Q, null, K(l.value, (m, b) => (a(), r("button", {
3882
3882
  key: b,
3883
3883
  onClick: (w) => n(b),
3884
- class: c([
3884
+ class: d([
3885
3885
  "px-4 py-2 -mb-px border-b-2 font-medium text-sm transition-colors",
3886
3886
  t.value === b ? "border-blue-500 text-blue-600" : "border-transparent text-slate-500 hover:text-slate-700 hover:border-slate-300"
3887
3887
  ])
@@ -3903,7 +3903,7 @@ const es = {
3903
3903
  l.value = t.registerTab(s.label), n.value = t.activeIndex.value === l.value, watch(t.activeIndex, (i) => {
3904
3904
  n.value = i === l.value;
3905
3905
  });
3906
- }), (i, d) => xe((a(), r("div", null, [
3906
+ }), (i, c) => xe((a(), r("div", null, [
3907
3907
  h(i.$slots, "default")
3908
3908
  ], 512)), [
3909
3909
  [Me, n.value]
@@ -3943,7 +3943,7 @@ const es = {
3943
3943
  `
3944
3944
  }, l = e, n = s, i = H(
3945
3945
  l.multiple ? Array.isArray(l.modelValue) ? [...l.modelValue] : [] : typeof l.modelValue == "number" ? [l.modelValue] : []
3946
- ), d = (q) => {
3946
+ ), c = (q) => {
3947
3947
  if (!(l.disabled || l.items[q]?.disabled)) {
3948
3948
  if (l.multiple) {
3949
3949
  const W = i.value.indexOf(q);
@@ -4052,36 +4052,36 @@ const es = {
4052
4052
  l.multiple ? i.value = Array.isArray(q) ? [...q] : [] : i.value = typeof q == "number" ? [q] : [];
4053
4053
  }
4054
4054
  ), (q, W) => (a(), r("div", {
4055
- class: c(g.value)
4055
+ class: d(g.value)
4056
4056
  }, [
4057
4057
  (a(!0), r(Q, null, K(e.items, (A, U) => (a(), r("div", {
4058
4058
  key: A.id || U,
4059
- class: c(B.value)
4059
+ class: d(B.value)
4060
4060
  }, [
4061
4061
  o("button", {
4062
- class: c($(U)),
4062
+ class: d($(U)),
4063
4063
  "aria-expanded": m(U),
4064
4064
  "aria-controls": `panel-${A.id || U}`,
4065
4065
  id: `header-${A.id || U}`,
4066
- onClick: (J) => d(U)
4066
+ onClick: (J) => c(U)
4067
4067
  }, [
4068
4068
  o("div", qs, [
4069
4069
  A.icon ? (a(), M(X(A.icon), {
4070
4070
  key: 0,
4071
- class: c(E.value)
4071
+ class: d(E.value)
4072
4072
  }, null, 8, ["class"])) : f("", !0),
4073
4073
  o("div", Es, [
4074
4074
  o("h3", {
4075
- class: c(I.value)
4075
+ class: d(I.value)
4076
4076
  }, p(A.title), 3),
4077
4077
  A.subtitle ? (a(), r("p", {
4078
4078
  key: 0,
4079
- class: c(P.value)
4079
+ class: d(P.value)
4080
4080
  }, p(A.subtitle), 3)) : f("", !0)
4081
4081
  ])
4082
4082
  ]),
4083
4083
  o("div", {
4084
- class: c(te(U))
4084
+ class: d(te(U))
4085
4085
  }, [
4086
4086
  y(t, { class: "w-5 h-5 transition-transform duration-200" })
4087
4087
  ], 2)
@@ -4097,7 +4097,7 @@ const es = {
4097
4097
  default: S(() => [
4098
4098
  m(U) ? (a(), r("div", {
4099
4099
  key: 0,
4100
- class: c(se.value),
4100
+ class: d(se.value),
4101
4101
  id: `panel-${A.id || U}`,
4102
4102
  "aria-labelledby": `header-${A.id || U}`,
4103
4103
  role: "region"
@@ -4148,7 +4148,7 @@ const es = {
4148
4148
  flush: ""
4149
4149
  }
4150
4150
  }
4151
- }), d = x(
4151
+ }), c = x(
4152
4152
  "flex items-center justify-between w-full text-left transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2",
4153
4153
  {
4154
4154
  variants: {
@@ -4170,22 +4170,22 @@ const es = {
4170
4170
  }), b = u(
4171
4171
  () => v(i({ variant: t.variant }))
4172
4172
  ), w = u(
4173
- () => v(d({ size: t.size }))
4173
+ () => v(c({ size: t.size }))
4174
4174
  ), C = u(
4175
4175
  () => v(m({ size: t.size }))
4176
4176
  );
4177
4177
  return (j, T) => (a(), r("div", {
4178
- class: c(b.value)
4178
+ class: d(b.value)
4179
4179
  }, [
4180
4180
  y(ee, {
4181
- class: c(w.value),
4181
+ class: d(w.value),
4182
4182
  "aria-expanded": l.value,
4183
4183
  onClick: n
4184
4184
  }, {
4185
4185
  default: S(() => [
4186
4186
  h(j.$slots, "header", { isOpen: l.value }),
4187
4187
  y(s, {
4188
- class: c(D(v)("w-5 h-5 transition-transform ml-2", { "rotate-180": l.value }))
4188
+ class: d(D(v)("w-5 h-5 transition-transform ml-2", { "rotate-180": l.value }))
4189
4189
  }, null, 8, ["class"])
4190
4190
  ]),
4191
4191
  _: 3
@@ -4201,7 +4201,7 @@ const es = {
4201
4201
  default: S(() => [
4202
4202
  l.value ? (a(), r("div", {
4203
4203
  key: 0,
4204
- class: c(C.value)
4204
+ class: d(C.value)
4205
4205
  }, [
4206
4206
  h(j.$slots, "content", { isOpen: l.value })
4207
4207
  ], 2)) : f("", !0)
@@ -4222,7 +4222,7 @@ const es = {
4222
4222
  template: `<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
4223
4223
  <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7" />
4224
4224
  </svg>`
4225
- }, l = /* @__PURE__ */ new Date(), n = H(l.getMonth()), i = H(l.getFullYear()), d = H(null), m = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], b = u(
4225
+ }, l = /* @__PURE__ */ new Date(), n = H(l.getMonth()), i = H(l.getFullYear()), c = H(null), m = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], b = u(
4226
4226
  () => new Date(i.value, n.value).toLocaleString("default", {
4227
4227
  month: "long"
4228
4228
  })
@@ -4243,10 +4243,10 @@ const es = {
4243
4243
  return l.getDate() === $ && l.getMonth() === n.value && l.getFullYear() === i.value;
4244
4244
  }
4245
4245
  function g($) {
4246
- return d.value && d.value.getDate() === $ && d.value.getMonth() === n.value && d.value.getFullYear() === i.value;
4246
+ return c.value && c.value.getDate() === $ && c.value.getMonth() === n.value && c.value.getFullYear() === i.value;
4247
4247
  }
4248
4248
  function B($) {
4249
- d.value = new Date(i.value, n.value, $), emit("update:modelValue", d.value);
4249
+ c.value = new Date(i.value, n.value, $), emit("update:modelValue", c.value);
4250
4250
  }
4251
4251
  return ($, I) => (a(), r("div", Qs, [
4252
4252
  o("div", Ys, [
@@ -4283,7 +4283,7 @@ const es = {
4283
4283
  (a(!0), r(Q, null, K(w.value, (P) => (a(), M(ee, {
4284
4284
  key: P,
4285
4285
  onClick: (E) => B(P),
4286
- class: c([
4286
+ class: d([
4287
4287
  "w-10 h-10 rounded-full flex items-center justify-center mx-auto",
4288
4288
  k(P) ? "bg-blue-500 text-white font-semibold" : "",
4289
4289
  g(P) ? "bg-blue-100 text-blue-600 font-semibold" : "hover:bg-slate-100"
@@ -4371,21 +4371,21 @@ const es = {
4371
4371
  variant: s.variant,
4372
4372
  padding: s.padding
4373
4373
  }))
4374
- ), d = u(
4374
+ ), c = u(
4375
4375
  () => v(l({ size: "md" }))
4376
4376
  ), m = u(
4377
4377
  () => v(n({ size: "md" }))
4378
4378
  );
4379
4379
  return (b, w) => e.title || e.description || b.$slots.header ? (a(), r("div", {
4380
4380
  key: 0,
4381
- class: c(i.value)
4381
+ class: d(i.value)
4382
4382
  }, [
4383
4383
  h(b.$slots, "header", {}, () => [
4384
4384
  o("div", tl, [
4385
4385
  o("div", null, [
4386
4386
  e.title ? (a(), M(he, {
4387
4387
  key: 0,
4388
- class: c(d.value)
4388
+ class: d(c.value)
4389
4389
  }, {
4390
4390
  default: S(() => [
4391
4391
  N(p(e.title), 1)
@@ -4394,7 +4394,7 @@ const es = {
4394
4394
  }, 8, ["class"])) : f("", !0),
4395
4395
  e.description ? (a(), M(he, {
4396
4396
  key: 1,
4397
- class: c(m.value)
4397
+ class: d(m.value)
4398
4398
  }, {
4399
4399
  default: S(() => [
4400
4400
  N(p(e.description), 1)
@@ -4512,8 +4512,8 @@ const es = {
4512
4512
  density: "normal",
4513
4513
  align: "left"
4514
4514
  }
4515
- }), d = (k) => typeof k == "string" ? k : k?.key || k?.field || "unknown", m = (k, g) => {
4516
- const B = d(g);
4515
+ }), c = (k) => typeof k == "string" ? k : k?.key || k?.field || "unknown", m = (k, g) => {
4516
+ const B = c(g);
4517
4517
  return typeof g == "object" && g.accessor ? g.accessor(k) : B && B.includes(".") ? B.split(".").reduce(($, I) => $?.[I], k) : k?.[B];
4518
4518
  }, b = (k, g) => {
4519
4519
  const B = m(k, g);
@@ -4552,12 +4552,12 @@ const es = {
4552
4552
  )
4553
4553
  );
4554
4554
  return (k, g) => (a(), r("tr", {
4555
- class: c(j.value),
4555
+ class: d(j.value),
4556
4556
  onClick: w
4557
4557
  }, [
4558
4558
  e.selectable ? (a(), r("td", {
4559
4559
  key: 0,
4560
- class: c(R.value)
4560
+ class: d(R.value)
4561
4561
  }, [
4562
4562
  y(ke, {
4563
4563
  modelValue: e.isSelected,
@@ -4565,10 +4565,10 @@ const es = {
4565
4565
  }, null, 8, ["modelValue"])
4566
4566
  ], 2)) : f("", !0),
4567
4567
  (a(!0), r(Q, null, K(e.columns, (B) => (a(), r("td", {
4568
- key: d(B),
4569
- class: c(T(B))
4568
+ key: c(B),
4569
+ class: d(T(B))
4570
4570
  }, [
4571
- h(k.$slots, `cell-${d(B)}`, {
4571
+ h(k.$slots, `cell-${c(B)}`, {
4572
4572
  item: e.item,
4573
4573
  value: m(e.item, B),
4574
4574
  column: B,
@@ -4579,7 +4579,7 @@ const es = {
4579
4579
  ], 2))), 128)),
4580
4580
  k.$slots.actions ? (a(), r("td", {
4581
4581
  key: 1,
4582
- class: c(z.value)
4582
+ class: d(z.value)
4583
4583
  }, [
4584
4584
  h(k.$slots, "actions", {
4585
4585
  item: e.item,
@@ -4697,7 +4697,7 @@ const es = {
4697
4697
  defaultVariants: {
4698
4698
  size: "md"
4699
4699
  }
4700
- }), d = x("border border-slate-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 text-sm min-w-[60px] focus:border-transparent", {
4700
+ }), c = x("border border-slate-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 text-sm min-w-[60px] focus:border-transparent", {
4701
4701
  variants: {
4702
4702
  size: {
4703
4703
  sm: "px-2 py-1",
@@ -4729,7 +4729,7 @@ const es = {
4729
4729
  ), j = u(
4730
4730
  () => v(i({ size: "md" }))
4731
4731
  ), T = u(
4732
- () => v(d({ size: "sm" }))
4732
+ () => v(c({ size: "sm" }))
4733
4733
  ), R = (z, k) => {
4734
4734
  let g = "inactive";
4735
4735
  return k ? g = "disabled" : z && (g = "active"), v(n({
@@ -4739,7 +4739,7 @@ const es = {
4739
4739
  };
4740
4740
  return (z, k) => e.showPagination || z.$slots.footer ? (a(), r("div", {
4741
4741
  key: 0,
4742
- class: c(C.value)
4742
+ class: d(C.value)
4743
4743
  }, [
4744
4744
  o("div", sl, [
4745
4745
  e.selectable && e.selectedCount > 0 ? (a(), r("div", ll, p(e.selectedCount) + " of " + p(e.total) + " selected ", 1)) : (a(), r("div", nl, " Showing " + p(m.value) + " to " + p(b.value) + " of " + p(e.total) + " entries ", 1)),
@@ -4750,7 +4750,7 @@ const es = {
4750
4750
  o("div", il, [
4751
4751
  y(Ie, {
4752
4752
  for: "pageSize",
4753
- class: c(j.value),
4753
+ class: d(j.value),
4754
4754
  inline: !0
4755
4755
  }, {
4756
4756
  default: S(() => [...k[5] || (k[5] = [
@@ -4762,7 +4762,7 @@ const es = {
4762
4762
  id: "pageSize",
4763
4763
  "model-value": e.pageSize.toString(),
4764
4764
  "onUpdate:modelValue": k[0] || (k[0] = (g) => z.$emit("update:pageSize", parseInt(g))),
4765
- class: c(T.value)
4765
+ class: d(T.value)
4766
4766
  }, {
4767
4767
  default: S(() => [
4768
4768
  (a(!0), r(Q, null, K(e.pageSizeOptions, (g) => (a(), M(Le, {
@@ -4778,7 +4778,7 @@ const es = {
4778
4778
  o("button", {
4779
4779
  disabled: e.currentPage === 1,
4780
4780
  onClick: k[1] || (k[1] = (g) => z.$emit("update:currentPage", 1)),
4781
- class: c(R(!1, e.currentPage === 1)),
4781
+ class: d(R(!1, e.currentPage === 1)),
4782
4782
  title: "First page"
4783
4783
  }, [...k[6] || (k[6] = [
4784
4784
  o("svg", {
@@ -4798,7 +4798,7 @@ const es = {
4798
4798
  o("button", {
4799
4799
  disabled: e.currentPage === 1,
4800
4800
  onClick: k[2] || (k[2] = (g) => z.$emit("update:currentPage", e.currentPage - 1)),
4801
- class: c(R(!1, e.currentPage === 1)),
4801
+ class: d(R(!1, e.currentPage === 1)),
4802
4802
  title: "Previous page"
4803
4803
  }, [...k[7] || (k[7] = [
4804
4804
  o("svg", {
@@ -4819,13 +4819,13 @@ const es = {
4819
4819
  (a(!0), r(Q, null, K(w.value, (g) => (a(), r("button", {
4820
4820
  key: g,
4821
4821
  onClick: (B) => z.$emit("update:currentPage", g),
4822
- class: c(R(g === e.currentPage, !1))
4822
+ class: d(R(g === e.currentPage, !1))
4823
4823
  }, p(g), 11, fl))), 128))
4824
4824
  ]),
4825
4825
  o("button", {
4826
4826
  disabled: e.currentPage === e.totalPages,
4827
4827
  onClick: k[3] || (k[3] = (g) => z.$emit("update:currentPage", e.currentPage + 1)),
4828
- class: c(R(!1, e.currentPage === e.totalPages)),
4828
+ class: d(R(!1, e.currentPage === e.totalPages)),
4829
4829
  title: "Next page"
4830
4830
  }, [...k[8] || (k[8] = [
4831
4831
  o("svg", {
@@ -4845,7 +4845,7 @@ const es = {
4845
4845
  o("button", {
4846
4846
  disabled: e.currentPage === e.totalPages,
4847
4847
  onClick: k[4] || (k[4] = (g) => z.$emit("update:currentPage", e.totalPages)),
4848
- class: c(R(!1, e.currentPage === e.totalPages)),
4848
+ class: d(R(!1, e.currentPage === e.totalPages)),
4849
4849
  title: "Last page"
4850
4850
  }, [...k[9] || (k[9] = [
4851
4851
  o("svg", {
@@ -4964,7 +4964,7 @@ const es = {
4964
4964
  },
4965
4965
  emits: ["selection-change", "sort-change", "row-click"],
4966
4966
  setup(e, { emit: s }) {
4967
- const t = e, l = s, n = H(1), i = H(t.pageSize), d = H(t.sortBy), m = H(t.sortOrder), b = x("bg-white border border-slate-200 rounded-lg overflow-hidden", {
4967
+ const t = e, l = s, n = H(1), i = H(t.pageSize), c = H(t.sortBy), m = H(t.sortOrder), b = x("bg-white border border-slate-200 rounded-lg overflow-hidden", {
4968
4968
  variants: {
4969
4969
  variant: {
4970
4970
  default: "shadow-sm",
@@ -5010,8 +5010,8 @@ const es = {
5010
5010
  }
5011
5011
  }), T = u(() => {
5012
5012
  let V = [...t.data];
5013
- if (d.value) {
5014
- const O = t.columns.find((Z) => Z.key === d.value);
5013
+ if (c.value) {
5014
+ const O = t.columns.find((Z) => Z.key === c.value);
5015
5015
  O && V.sort((Z, ne) => {
5016
5016
  const de = $(Z, O), ge = $(ne, O);
5017
5017
  return de < ge ? m.value === "asc" ? -1 : 1 : de > ge ? m.value === "asc" ? 1 : -1 : 0;
@@ -5039,7 +5039,7 @@ const es = {
5039
5039
  const V = g.value ? [] : [...T.value];
5040
5040
  l("selection-change", V);
5041
5041
  }, se = (V) => {
5042
- V.sortable && (d.value === V.key ? m.value = m.value === "asc" ? "desc" : "asc" : (d.value = V.key, m.value = "asc"), l("sort-change", { column: V.key, direction: m.value }));
5042
+ V.sortable && (c.value === V.key ? m.value = m.value === "asc" ? "desc" : "asc" : (c.value = V.key, m.value = "asc"), l("sort-change", { column: V.key, direction: m.value }));
5043
5043
  }, q = (V) => {
5044
5044
  l("row-click", V);
5045
5045
  }, W = u(
@@ -5083,15 +5083,15 @@ const es = {
5083
5083
  "text-center"
5084
5084
  )), ie = (V, O) => v(
5085
5085
  {
5086
- "text-blue-600": d.value === V.key && m.value === O,
5087
- "text-slate-300": d.value !== V.key || m.value !== O
5086
+ "text-blue-600": c.value === V.key && m.value === O,
5087
+ "text-slate-300": c.value !== V.key || m.value !== O
5088
5088
  }
5089
5089
  );
5090
5090
  return oe(() => t.selectedItems, (V) => {
5091
5091
  }, { deep: !0 }), oe(() => t.pageSize, (V) => {
5092
5092
  i.value = V;
5093
5093
  }), (V, O) => (a(), r("div", {
5094
- class: c(W.value)
5094
+ class: d(W.value)
5095
5095
  }, [
5096
5096
  e.title || e.description || V.$slots.header ? (a(), M(Ae, {
5097
5097
  key: 0,
@@ -5110,15 +5110,15 @@ const es = {
5110
5110
  }, 8, ["title", "description", "variant", "padding"])) : f("", !0),
5111
5111
  o("div", bl, [
5112
5112
  o("table", {
5113
- class: c(A.value)
5113
+ class: d(A.value)
5114
5114
  }, [
5115
5115
  o("thead", {
5116
- class: c(U.value)
5116
+ class: d(U.value)
5117
5117
  }, [
5118
5118
  o("tr", null, [
5119
5119
  e.selectable ? (a(), r("th", {
5120
5120
  key: 0,
5121
- class: c(_.value)
5121
+ class: d(_.value)
5122
5122
  }, [
5123
5123
  y(ke, {
5124
5124
  modelValue: g.value,
@@ -5128,14 +5128,14 @@ const es = {
5128
5128
  ], 2)) : f("", !0),
5129
5129
  (a(!0), r(Q, null, K(e.columns, (Z) => (a(), r("th", {
5130
5130
  key: Z.key,
5131
- class: c(le(Z)),
5131
+ class: d(le(Z)),
5132
5132
  onClick: (ne) => se(Z)
5133
5133
  }, [
5134
5134
  o("div", yl, [
5135
5135
  o("span", null, p(Z.label), 1),
5136
5136
  Z.sortable ? (a(), r("div", xl, [
5137
5137
  (a(), r("svg", {
5138
- class: c([ie(Z, "asc"), "w-3 h-3 transition-colors"]),
5138
+ class: d([ie(Z, "asc"), "w-3 h-3 transition-colors"]),
5139
5139
  fill: "none",
5140
5140
  viewBox: "0 0 24 24",
5141
5141
  "stroke-width": "1.5",
@@ -5148,7 +5148,7 @@ const es = {
5148
5148
  }, null, -1)
5149
5149
  ])], 2)),
5150
5150
  (a(), r("svg", {
5151
- class: c([ie(Z, "desc"), "w-3 h-3 transition-colors"]),
5151
+ class: d([ie(Z, "desc"), "w-3 h-3 transition-colors"]),
5152
5152
  fill: "none",
5153
5153
  viewBox: "0 0 24 24",
5154
5154
  "stroke-width": "1.5",
@@ -5165,12 +5165,12 @@ const es = {
5165
5165
  ], 10, hl))), 128)),
5166
5166
  V.$slots.actions ? (a(), r("th", {
5167
5167
  key: 1,
5168
- class: c(L.value)
5168
+ class: d(L.value)
5169
5169
  }, " Actions ", 2)) : f("", !0)
5170
5170
  ])
5171
5171
  ], 2),
5172
5172
  o("tbody", {
5173
- class: c(J.value)
5173
+ class: d(J.value)
5174
5174
  }, [
5175
5175
  (a(!0), r(Q, null, K(z.value, (Z, ne) => (a(), M(Pe, {
5176
5176
  key: I(Z, ne),
@@ -5201,7 +5201,7 @@ const es = {
5201
5201
  z.value.length === 0 ? (a(), r("tr", kl, [
5202
5202
  o("td", {
5203
5203
  colspan: k.value,
5204
- class: c(F.value)
5204
+ class: d(F.value)
5205
5205
  }, [
5206
5206
  h(V.$slots, "empty", {}, () => [
5207
5207
  o("div", Cl, [
@@ -5290,9 +5290,9 @@ const es = {
5290
5290
  },
5291
5291
  setup(e) {
5292
5292
  const s = e, t = u(() => {
5293
- const d = s.value ?? l();
5294
- return s.column.formatter ? s.column.formatter(d, s.item) : d;
5295
- }), l = () => s.column.accessor ? s.column.accessor(s.item) : s.column.key.split(".").reduce((d, m) => d?.[m], s.item), n = x("whitespace-nowrap", {
5293
+ const c = s.value ?? l();
5294
+ return s.column.formatter ? s.column.formatter(c, s.item) : c;
5295
+ }), l = () => s.column.accessor ? s.column.accessor(s.item) : s.column.key.split(".").reduce((c, m) => c?.[m], s.item), n = x("whitespace-nowrap", {
5296
5296
  variants: {
5297
5297
  align: {
5298
5298
  left: "text-left",
@@ -5317,10 +5317,10 @@ const es = {
5317
5317
  textSize: "sm"
5318
5318
  }
5319
5319
  }), i = u(() => {
5320
- const d = s.align || s.column.align || "left", m = `text-${s.textColor}`, b = s.width ? `w-${s.width}` : "";
5320
+ const c = s.align || s.column.align || "left", m = `text-${s.textColor}`, b = s.width ? `w-${s.width}` : "";
5321
5321
  return v(
5322
5322
  n({
5323
- align: d,
5323
+ align: c,
5324
5324
  padding: s.padding,
5325
5325
  textSize: s.textSize
5326
5326
  }),
@@ -5329,10 +5329,10 @@ const es = {
5329
5329
  s.column.cellClasses
5330
5330
  );
5331
5331
  });
5332
- return (d, m) => (a(), r("td", {
5333
- class: c(i.value)
5332
+ return (c, m) => (a(), r("td", {
5333
+ class: d(i.value)
5334
5334
  }, [
5335
- h(d.$slots, "default", {}, () => [
5335
+ h(c.$slots, "default", {}, () => [
5336
5336
  N(p(t.value), 1)
5337
5337
  ])
5338
5338
  ], 2));
@@ -5414,7 +5414,7 @@ const es = {
5414
5414
  template: '<svg fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M3 16.5v2.25A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75V16.5M16.5 12L12 16.5m0 0L7.5 12m4.5 4.5V3" /></svg>'
5415
5415
  }, i = {
5416
5416
  template: '<svg fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M12 4.5v15m7.5-7.5h-15" /></svg>'
5417
- }, d = e, m = s, b = x("flex flex-wrap items-center gap-4 border-b border-slate-200", {
5417
+ }, c = e, m = s, b = x("flex flex-wrap items-center gap-4 border-b border-slate-200", {
5418
5418
  variants: {
5419
5419
  variant: {
5420
5420
  default: "bg-slate-50",
@@ -5471,23 +5471,23 @@ const es = {
5471
5471
  defaultVariants: {
5472
5472
  variant: "default"
5473
5473
  }
5474
- }), T = u(() => d.searchQuery || d.selectedStatus || d.dateFrom || d.dateTo), R = u(() => {
5474
+ }), T = u(() => c.searchQuery || c.selectedStatus || c.dateFrom || c.dateTo), R = u(() => {
5475
5475
  const _ = [];
5476
- if (d.searchQuery && d.searchQuery.trim() && _.push({
5476
+ if (c.searchQuery && c.searchQuery.trim() && _.push({
5477
5477
  key: "search",
5478
5478
  label: "Search",
5479
- value: d.searchQuery
5480
- }), d.selectedStatus) {
5481
- const L = d.statusOptions.find((F) => F.value === d.selectedStatus);
5479
+ value: c.searchQuery
5480
+ }), c.selectedStatus) {
5481
+ const L = c.statusOptions.find((F) => F.value === c.selectedStatus);
5482
5482
  _.push({
5483
5483
  key: "status",
5484
5484
  label: "Status",
5485
- value: L?.label || d.selectedStatus
5485
+ value: L?.label || c.selectedStatus
5486
5486
  });
5487
5487
  }
5488
- if (d.dateFrom || d.dateTo) {
5488
+ if (c.dateFrom || c.dateTo) {
5489
5489
  let L = "";
5490
- d.dateFrom && d.dateTo ? L = `${d.dateFrom} to ${d.dateTo}` : d.dateFrom ? L = `From ${d.dateFrom}` : d.dateTo && (L = `Until ${d.dateTo}`), L && _.push({
5490
+ c.dateFrom && c.dateTo ? L = `${c.dateFrom} to ${c.dateTo}` : c.dateFrom ? L = `From ${c.dateFrom}` : c.dateTo && (L = `Until ${c.dateTo}`), L && _.push({
5491
5491
  key: "date",
5492
5492
  label: "Date Range",
5493
5493
  value: L
@@ -5496,8 +5496,8 @@ const es = {
5496
5496
  return _;
5497
5497
  }), z = u(
5498
5498
  () => v(b({
5499
- variant: d.variant,
5500
- padding: d.padding
5499
+ variant: c.variant,
5500
+ padding: c.padding
5501
5501
  }))
5502
5502
  ), k = u(
5503
5503
  () => "absolute left-3 top-1/2 transform -translate-y-1/2 w-4 h-4 text-slate-400"
@@ -5524,7 +5524,7 @@ const es = {
5524
5524
  ), se = u(
5525
5525
  () => v(C({ variant: "success", size: "md" }))
5526
5526
  ), q = u(
5527
- () => v(j({ variant: d.variant }))
5527
+ () => v(j({ variant: c.variant }))
5528
5528
  ), W = u(
5529
5529
  () => "text-sm text-blue-700 font-medium"
5530
5530
  ), A = u(
@@ -5548,23 +5548,23 @@ const es = {
5548
5548
  };
5549
5549
  return (_, L) => (a(), r("div", null, [
5550
5550
  o("div", {
5551
- class: c(z.value)
5551
+ class: d(z.value)
5552
5552
  }, [
5553
5553
  o("div", Bl, [
5554
5554
  o("div", Vl, [
5555
5555
  y(t, {
5556
- class: c(k.value)
5556
+ class: d(k.value)
5557
5557
  }, null, 8, ["class"]),
5558
5558
  y(pe, {
5559
5559
  "model-value": e.searchQuery,
5560
5560
  onInput: L[0] || (L[0] = (F) => _.$emit("update:searchQuery", F.target.value)),
5561
5561
  placeholder: e.searchPlaceholder,
5562
- class: c(g.value)
5562
+ class: d(g.value)
5563
5563
  }, null, 8, ["model-value", "placeholder", "class"]),
5564
5564
  e.searchQuery ? (a(), M(ee, {
5565
5565
  key: 0,
5566
5566
  onClick: L[1] || (L[1] = (F) => _.$emit("update:searchQuery", "")),
5567
- class: c(B.value)
5567
+ class: d(B.value)
5568
5568
  }, {
5569
5569
  default: S(() => [
5570
5570
  y(l, { class: "w-4 h-4" })
@@ -5577,7 +5577,7 @@ const es = {
5577
5577
  y(we, {
5578
5578
  "model-value": e.selectedStatus,
5579
5579
  onChange: L[2] || (L[2] = (F) => _.$emit("update:selectedStatus", F.target.value)),
5580
- class: c($.value)
5580
+ class: d($.value)
5581
5581
  }, {
5582
5582
  default: S(() => [
5583
5583
  L[7] || (L[7] = o("option", { value: "" }, "All Status", -1)),
@@ -5594,16 +5594,16 @@ const es = {
5594
5594
  type: "date",
5595
5595
  "model-value": e.dateFrom,
5596
5596
  onInput: L[3] || (L[3] = (F) => _.$emit("update:dateFrom", F.target.value)),
5597
- class: c(I.value)
5597
+ class: d(I.value)
5598
5598
  }, null, 8, ["model-value", "class"]),
5599
5599
  o("span", {
5600
- class: c(P.value)
5600
+ class: d(P.value)
5601
5601
  }, "to", 2),
5602
5602
  y(pe, {
5603
5603
  type: "date",
5604
5604
  "model-value": e.dateTo,
5605
5605
  onInput: L[4] || (L[4] = (F) => _.$emit("update:dateTo", F.target.value)),
5606
- class: c(I.value)
5606
+ class: d(I.value)
5607
5607
  }, null, 8, ["model-value", "class"])
5608
5608
  ])) : f("", !0),
5609
5609
  _.$slots.filters ? (a(), r("div", Il, [
@@ -5613,7 +5613,7 @@ const es = {
5613
5613
  T.value ? (a(), M(ee, {
5614
5614
  key: 0,
5615
5615
  onClick: J,
5616
- class: c(E.value)
5616
+ class: d(E.value)
5617
5617
  }, {
5618
5618
  default: S(() => [...L[8] || (L[8] = [
5619
5619
  N(" Clear Filters ", -1)
@@ -5623,7 +5623,7 @@ const es = {
5623
5623
  e.showExport ? (a(), M(ee, {
5624
5624
  key: 1,
5625
5625
  onClick: L[5] || (L[5] = (F) => _.$emit("export")),
5626
- class: c(te.value)
5626
+ class: d(te.value)
5627
5627
  }, {
5628
5628
  default: S(() => [
5629
5629
  y(n, { class: "w-4 h-4" }),
@@ -5634,7 +5634,7 @@ const es = {
5634
5634
  e.showAdd ? (a(), M(ee, {
5635
5635
  key: 2,
5636
5636
  onClick: L[6] || (L[6] = (F) => _.$emit("add")),
5637
- class: c(se.value)
5637
+ class: d(se.value)
5638
5638
  }, {
5639
5639
  default: S(() => [
5640
5640
  y(i, { class: "w-4 h-4" }),
@@ -5646,20 +5646,20 @@ const es = {
5646
5646
  ], 2),
5647
5647
  R.value.length > 0 ? (a(), r("div", {
5648
5648
  key: 0,
5649
- class: c(q.value)
5649
+ class: d(q.value)
5650
5650
  }, [
5651
5651
  o("div", Dl, [
5652
5652
  o("span", {
5653
- class: c(W.value)
5653
+ class: d(W.value)
5654
5654
  }, "Active filters:", 2),
5655
5655
  (a(!0), r(Q, null, K(R.value, (F) => (a(), r("div", {
5656
5656
  key: F.key,
5657
- class: c(A.value)
5657
+ class: d(A.value)
5658
5658
  }, [
5659
5659
  o("span", null, p(F.label) + ": " + p(F.value), 1),
5660
5660
  y(ee, {
5661
5661
  onClick: (ie) => le(F.key),
5662
- class: c(U.value)
5662
+ class: d(U.value)
5663
5663
  }, {
5664
5664
  default: S(() => [
5665
5665
  y(l, { class: "w-3 h-3" })
@@ -5738,7 +5738,7 @@ const es = {
5738
5738
  },
5739
5739
  emits: ["bulk-action", "update:density", "toggle-column", "refresh"],
5740
5740
  setup(e, { emit: s }) {
5741
- const t = e, l = s, n = H(!1), i = H(null), d = H(null), m = u(() => t.selectedItems.length), b = [
5741
+ const t = e, l = s, n = H(!1), i = H(null), c = H(null), m = u(() => t.selectedItems.length), b = [
5742
5742
  { value: "compact", label: "Compact", icon: Jl },
5743
5743
  { value: "normal", label: "Normal", icon: Wl },
5744
5744
  { value: "comfortable", label: "Comfortable", icon: Xl }
@@ -5814,7 +5814,7 @@ const es = {
5814
5814
  ), E = u(
5815
5815
  () => "text-sm text-slate-700 flex-1 select-none"
5816
5816
  ), te = (_) => {
5817
- i.value && d.value && !i.value.contains(_.target) && !d.value.contains(_.target) && (n.value = !1);
5817
+ i.value && c.value && !i.value.contains(_.target) && !c.value.contains(_.target) && (n.value = !1);
5818
5818
  }, se = () => {
5819
5819
  n.value = !n.value;
5820
5820
  }, q = (_) => v(C({ variant: _.variant || "secondary" })), W = (_) => {
@@ -5835,7 +5835,7 @@ const es = {
5835
5835
  }), ye(() => {
5836
5836
  document.removeEventListener("click", te);
5837
5837
  }), (_, L) => (a(), r("div", {
5838
- class: c(R.value)
5838
+ class: d(R.value)
5839
5839
  }, [
5840
5840
  o("div", Pl, [
5841
5841
  m.value > 0 ? (a(), r("div", Fl, [
@@ -5844,7 +5844,7 @@ const es = {
5844
5844
  (a(!0), r(Q, null, K(e.bulkActions, (F) => (a(), M(ee, {
5845
5845
  key: F.key,
5846
5846
  onClick: (ie) => _.$emit("bulk-action", { action: F.key, items: e.selectedItems }),
5847
- class: c(q(F))
5847
+ class: d(q(F))
5848
5848
  }, {
5849
5849
  default: S(() => [
5850
5850
  F.icon ? (a(), M(X(F.icon), {
@@ -5858,18 +5858,18 @@ const es = {
5858
5858
  ])
5859
5859
  ])) : e.totalItems > 0 ? (a(), r("div", {
5860
5860
  key: 1,
5861
- class: c(z.value)
5861
+ class: d(z.value)
5862
5862
  }, p(e.totalItems) + " " + p(e.totalItems === 1 ? "item" : "items"), 3)) : f("", !0)
5863
5863
  ]),
5864
5864
  o("div", _l, [
5865
5865
  e.showDensityToggle ? (a(), r("div", {
5866
5866
  key: 0,
5867
- class: c(k.value)
5867
+ class: d(k.value)
5868
5868
  }, [
5869
5869
  (a(), r(Q, null, K(b, (F) => o("button", {
5870
5870
  key: F.value,
5871
5871
  onClick: (ie) => _.$emit("update:density", F.value),
5872
- class: c(W(F.value)),
5872
+ class: d(W(F.value)),
5873
5873
  title: F.label,
5874
5874
  type: "button"
5875
5875
  }, [
@@ -5879,7 +5879,7 @@ const es = {
5879
5879
  e.showColumnToggle ? (a(), r("div", Ol, [
5880
5880
  o("button", {
5881
5881
  onClick: $e(se, ["stop"]),
5882
- class: c(g.value),
5882
+ class: d(g.value),
5883
5883
  type: "button",
5884
5884
  ref_key: "columnToggleButton",
5885
5885
  ref: i
@@ -5889,29 +5889,29 @@ const es = {
5889
5889
  ], 2),
5890
5890
  xe(o("div", {
5891
5891
  ref_key: "columnMenu",
5892
- ref: d,
5893
- class: c(B.value),
5892
+ ref: c,
5893
+ class: d(B.value),
5894
5894
  onClick: L[0] || (L[0] = $e(() => {
5895
5895
  }, ["stop"]))
5896
5896
  }, [
5897
5897
  o("div", ql, [
5898
5898
  o("div", {
5899
- class: c($.value)
5899
+ class: d($.value)
5900
5900
  }, " Show Columns ", 2),
5901
5901
  o("div", El, [
5902
5902
  (a(!0), r(Q, null, K(e.toggleableColumns, (F) => (a(), r("div", {
5903
5903
  key: F.key,
5904
- class: c(I.value)
5904
+ class: d(I.value)
5905
5905
  }, [
5906
5906
  o("label", Ul, [
5907
5907
  o("input", {
5908
5908
  type: "checkbox",
5909
5909
  checked: J(F.key),
5910
5910
  onChange: (ie) => le(F.key, ie.target.checked),
5911
- class: c(P.value)
5911
+ class: d(P.value)
5912
5912
  }, null, 42, Zl),
5913
5913
  o("span", {
5914
- class: c(E.value)
5914
+ class: d(E.value)
5915
5915
  }, p(F.label), 3)
5916
5916
  ])
5917
5917
  ], 2))), 128))
@@ -5925,11 +5925,11 @@ const es = {
5925
5925
  key: 2,
5926
5926
  onClick: L[1] || (L[1] = (F) => _.$emit("refresh")),
5927
5927
  disabled: e.isRefreshing,
5928
- class: c(A()),
5928
+ class: d(A()),
5929
5929
  type: "button"
5930
5930
  }, [
5931
5931
  y(Yl, {
5932
- class: c(U())
5932
+ class: d(U())
5933
5933
  }, null, 8, ["class"]),
5934
5934
  L[3] || (L[3] = o("span", null, "Refresh", -1))
5935
5935
  ], 10, Gl)) : f("", !0),
@@ -5949,9 +5949,9 @@ const es = {
5949
5949
  },
5950
5950
  setup(e) {
5951
5951
  return (s, t) => {
5952
- const l = G("Logo"), n = G("Text"), i = G("Typography"), d = G("Link"), m = G("Icon"), b = G("Divider");
5952
+ const l = G("Logo"), n = G("Text"), i = G("Typography"), c = G("Link"), m = G("Icon"), b = G("Divider");
5953
5953
  return a(), r("footer", {
5954
- class: c(D(v)("bg-gray-50 border-t border-gray-200", e.className))
5954
+ class: d(D(v)("bg-gray-50 border-t border-gray-200", e.className))
5955
5955
  }, [
5956
5956
  o("div", sn, [
5957
5957
  o("div", ln, [
@@ -5978,7 +5978,7 @@ const es = {
5978
5978
  _: 1
5979
5979
  }),
5980
5980
  o("div", rn, [
5981
- y(d, {
5981
+ y(c, {
5982
5982
  href: "#",
5983
5983
  class: "block text-gray-600 hover:text-gray-900"
5984
5984
  }, {
@@ -5987,7 +5987,7 @@ const es = {
5987
5987
  ])]),
5988
5988
  _: 1
5989
5989
  }),
5990
- y(d, {
5990
+ y(c, {
5991
5991
  href: "#",
5992
5992
  class: "block text-gray-600 hover:text-gray-900"
5993
5993
  }, {
@@ -5996,7 +5996,7 @@ const es = {
5996
5996
  ])]),
5997
5997
  _: 1
5998
5998
  }),
5999
- y(d, {
5999
+ y(c, {
6000
6000
  href: "#",
6001
6001
  class: "block text-gray-600 hover:text-gray-900"
6002
6002
  }, {
@@ -6020,7 +6020,7 @@ const es = {
6020
6020
  _: 1
6021
6021
  }),
6022
6022
  o("div", on, [
6023
- y(d, {
6023
+ y(c, {
6024
6024
  href: "#",
6025
6025
  class: "text-gray-600 hover:text-gray-900"
6026
6026
  }, {
@@ -6032,7 +6032,7 @@ const es = {
6032
6032
  ]),
6033
6033
  _: 1
6034
6034
  }),
6035
- y(d, {
6035
+ y(c, {
6036
6036
  href: "#",
6037
6037
  class: "text-gray-600 hover:text-gray-900"
6038
6038
  }, {
@@ -6060,7 +6060,7 @@ const es = {
6060
6060
  ]),
6061
6061
  h(s.$slots, "legal", {}, () => [
6062
6062
  o("div", cn, [
6063
- y(d, {
6063
+ y(c, {
6064
6064
  href: "#",
6065
6065
  class: "text-gray-600 hover:text-gray-900"
6066
6066
  }, {
@@ -6069,7 +6069,7 @@ const es = {
6069
6069
  ])]),
6070
6070
  _: 1
6071
6071
  }),
6072
- y(d, {
6072
+ y(c, {
6073
6073
  href: "#",
6074
6074
  class: "text-gray-600 hover:text-gray-900"
6075
6075
  }, {
@@ -6096,9 +6096,9 @@ const es = {
6096
6096
  emits: ["toggle-mobile-menu"],
6097
6097
  setup(e) {
6098
6098
  return (s, t) => {
6099
- const l = G("Logo"), n = G("MainNavigation"), i = G("Button"), d = G("Icon");
6099
+ const l = G("Logo"), n = G("MainNavigation"), i = G("Button"), c = G("Icon");
6100
6100
  return a(), r("header", {
6101
- class: c(D(v)("bg-white border-b border-gray-200 shadow-sm", e.className))
6101
+ class: d(D(v)("bg-white border-b border-gray-200 shadow-sm", e.className))
6102
6102
  }, [
6103
6103
  o("div", mn, [
6104
6104
  o("div", fn, [
@@ -6139,7 +6139,7 @@ const es = {
6139
6139
  onClick: t[0] || (t[0] = (m) => s.$emit("toggle-mobile-menu"))
6140
6140
  }, {
6141
6141
  default: S(() => [
6142
- y(d, {
6142
+ y(c, {
6143
6143
  name: "menu",
6144
6144
  class: "h-5 w-5"
6145
6145
  })
@@ -6171,9 +6171,9 @@ const es = {
6171
6171
  },
6172
6172
  setup(e) {
6173
6173
  return (s, t) => {
6174
- const l = G("Logo"), n = G("SidebarNavigation"), i = G("Divider"), d = G("Avatar"), m = G("Text");
6174
+ const l = G("Logo"), n = G("SidebarNavigation"), i = G("Divider"), c = G("Avatar"), m = G("Text");
6175
6175
  return a(), r("aside", {
6176
- class: c(D(v)("bg-white border-r border-gray-200 h-full", e.className))
6176
+ class: d(D(v)("bg-white border-r border-gray-200 h-full", e.className))
6177
6177
  }, [
6178
6178
  o("div", yn, [
6179
6179
  o("div", xn, [
@@ -6190,7 +6190,7 @@ const es = {
6190
6190
  h(s.$slots, "footer", {}, () => [
6191
6191
  y(i, { class: "mb-4" }),
6192
6192
  o("div", Cn, [
6193
- y(d, { size: "sm" }),
6193
+ y(c, { size: "sm" }),
6194
6194
  o("div", null, [
6195
6195
  y(m, { class: "text-sm font-medium" }, {
6196
6196
  default: S(() => [...t[0] || (t[0] = [
@@ -6223,7 +6223,7 @@ const es = {
6223
6223
  },
6224
6224
  setup(e) {
6225
6225
  return (s, t) => (a(), r("div", {
6226
- class: c([
6226
+ class: d([
6227
6227
  "relative flex",
6228
6228
  e.orientation === "vertical" ? "flex-col" : "flex-row"
6229
6229
  ])
@@ -6256,7 +6256,7 @@ const es = {
6256
6256
  },
6257
6257
  setup(e) {
6258
6258
  return (s, t) => (a(), r("div", {
6259
- class: c([
6259
+ class: d([
6260
6260
  "relative flex",
6261
6261
  e.orientation === "vertical" ? "items-start mb-8 last:mb-0" : "flex-col items-center mx-8 last:mx-0"
6262
6262
  ])
@@ -6268,7 +6268,7 @@ const es = {
6268
6268
  ])
6269
6269
  ]),
6270
6270
  o("div", {
6271
- class: c([
6271
+ class: d([
6272
6272
  "ml-6",
6273
6273
  e.orientation === "horizontal" ? "mt-2 text-center" : ""
6274
6274
  ])
@@ -6297,74 +6297,26 @@ const es = {
6297
6297
  }, In = {
6298
6298
  name: "AuthLayout",
6299
6299
  props: {
6300
- title: {
6301
- type: String,
6302
- default: null
6303
- },
6304
- subtitle: {
6305
- type: String,
6306
- default: null
6307
- },
6308
- primaryLogoPrefix: {
6309
- type: String,
6310
- default: "e"
6311
- },
6312
- primaryLogoText: {
6313
- type: String,
6314
- default: "HORIZON"
6315
- },
6316
- secondaryLogoPrefix: {
6317
- type: String,
6318
- default: "e"
6319
- },
6320
- secondaryLogoText: {
6321
- type: String,
6322
- default: "Risk & Compliance"
6323
- },
6324
- quote: {
6325
- type: String,
6326
- default: ""
6327
- },
6328
- primaryColor: {
6329
- type: String,
6330
- default: "#e74c3c"
6331
- },
6332
- backgroundColor: {
6333
- type: String,
6334
- default: "#2c2c2c"
6335
- },
6300
+ title: { type: String, default: null },
6301
+ subtitle: { type: String, default: null },
6302
+ primaryLogoPrefix: { type: String, default: "e" },
6303
+ primaryLogoText: { type: String, default: "HORIZON" },
6304
+ secondaryLogoPrefix: { type: String, default: "e" },
6305
+ secondaryLogoText: { type: String, default: "Risk & Compliance" },
6306
+ quote: { type: String, default: "" },
6307
+ primaryColor: { type: String, default: "#e74c3c" },
6308
+ backgroundColor: { type: String, default: "#2c2c2c" },
6336
6309
  backgroundImage: {
6337
6310
  type: String,
6338
6311
  default: "https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-4.0.3&auto=format&fit=crop&w=2069&q=80"
6339
6312
  },
6340
- backgroundOpacity: {
6341
- type: Number,
6342
- default: 0.4
6343
- },
6344
- companyName: {
6345
- type: String,
6346
- default: "SOFTWARE"
6347
- },
6348
- companyType: {
6349
- type: String,
6350
- default: "TECHNOLOGIES"
6351
- },
6352
- companyTagline: {
6353
- type: String,
6354
- default: "People | Processes | Governance"
6355
- },
6356
- companyInitials: {
6357
- type: String,
6358
- default: "ST"
6359
- },
6360
- appName: {
6361
- type: String,
6362
- default: "eHorizon eBoard X"
6363
- },
6364
- appVersion: {
6365
- type: String,
6366
- default: "Version 2.0"
6367
- },
6313
+ backgroundOpacity: { type: Number, default: 0.4 },
6314
+ companyName: { type: String, default: "SOFTWARE" },
6315
+ companyType: { type: String, default: "TECHNOLOGIES" },
6316
+ companyTagline: { type: String, default: "People | Processes | Governance" },
6317
+ companyInitials: { type: String, default: "ST" },
6318
+ appName: { type: String, default: "eHorizon eBoard X" },
6319
+ appVersion: { type: String, default: "Version 2.0" },
6368
6320
  copyright: {
6369
6321
  type: String,
6370
6322
  default: "Copyright © 2025 Software Technologies Limited"
@@ -6378,10 +6330,8 @@ const es = {
6378
6330
  ]
6379
6331
  }
6380
6332
  },
6381
- setup(e) {
6382
- return {
6383
- currentYear: u(() => (/* @__PURE__ */ new Date()).getFullYear())
6384
- };
6333
+ setup() {
6334
+ return { currentYear: u(() => (/* @__PURE__ */ new Date()).getFullYear()) };
6385
6335
  }
6386
6336
  }, Ln = { class: "container mx-auto px-4 relative z-10" }, Dn = { class: "grid lg:grid-cols-10 gap-8 items-center min-h-screen" }, An = { class: "lg:col-span-6 text-white text-center lg:text-left space-y-6" }, Pn = { class: "mb-6" }, Fn = { class: "text-4xl lg:text-6xl font-bold mb-2" }, Nn = { class: "text-white" }, Rn = { class: "flex items-center justify-center lg:justify-start mb-6" }, _n = { class: "text-3xl lg:text-4xl font-bold text-white" }, Hn = { class: "lg:col-span-4" }, On = { class: "bg-white rounded-lg shadow-xl p-6 lg:p-8 max-w-md mx-auto" }, qn = {
6387
6337
  key: 0,
@@ -6397,6 +6347,7 @@ const es = {
6397
6347
  class: "mt-6 text-center"
6398
6348
  }, Yn = { class: "absolute bottom-4 right-4 text-right" }, Xn = { class: "flex items-end justify-end mb-2" }, Wn = { class: "text-right mr-3" }, Jn = { class: "text-red-500 font-bold text-xs" }, er = { class: "text-white text-xs" }, tr = { class: "text-white/70 text-xs" }, ar = { class: "w-8 h-8 bg-red-500 rounded flex items-center justify-center text-white font-bold text-xs" }, sr = { class: "text-white/70 text-xs" }, lr = { class: "absolute bottom-4 left-4 flex gap-2" }, nr = ["href"];
6399
6349
  function rr(e, s, t, l, n, i) {
6350
+ const c = G("router-view");
6400
6351
  return a(), r("div", {
6401
6352
  class: "min-h-screen relative flex items-center justify-center",
6402
6353
  style: ce({ backgroundColor: t.backgroundColor })
@@ -6445,7 +6396,8 @@ function rr(e, s, t, l, n, i) {
6445
6396
  ])
6446
6397
  ])) : f("", !0),
6447
6398
  o("div", Gn, [
6448
- h(e.$slots, "default")
6399
+ h(e.$slots, "default"),
6400
+ y(c)
6449
6401
  ]),
6450
6402
  e.$slots["card-footer"] ? (a(), r("div", Kn, [
6451
6403
  h(e.$slots, "card-footer")
@@ -6472,16 +6424,16 @@ function rr(e, s, t, l, n, i) {
6472
6424
  ])
6473
6425
  ]),
6474
6426
  o("div", lr, [
6475
- (a(!0), r(Q, null, K(t.socialLinks, (d) => (a(), r("a", {
6476
- key: d.name,
6477
- href: d.url,
6478
- class: c([
6427
+ (a(!0), r(Q, null, K(t.socialLinks, (m) => (a(), r("a", {
6428
+ key: m.name,
6429
+ href: m.url,
6430
+ class: d([
6479
6431
  "w-8 h-7 flex items-center justify-center rounded text-xs transition-colors",
6480
- d.variant === "primary" ? "bg-blue-600 hover:bg-blue-700 text-white" : d.variant === "info" ? "bg-cyan-500 hover:bg-cyan-600 text-white" : "bg-gray-600 hover:bg-gray-700 text-white"
6432
+ m.variant === "primary" ? "bg-blue-600 hover:bg-blue-700 text-white" : m.variant === "info" ? "bg-cyan-500 hover:bg-cyan-600 text-white" : "bg-gray-600 hover:bg-gray-700 text-white"
6481
6433
  ])
6482
6434
  }, [
6483
6435
  o("i", {
6484
- class: c(d.icon)
6436
+ class: d(m.icon)
6485
6437
  }, null, 2)
6486
6438
  ], 10, nr))), 128))
6487
6439
  ])
@@ -6513,9 +6465,9 @@ const or = /* @__PURE__ */ Ne(In, [["render", rr]]), ir = { class: "min-h-screen
6513
6465
  },
6514
6466
  setup(e) {
6515
6467
  return (s, t) => {
6516
- const l = G("Logo"), n = G("MainNavigation"), i = G("Button"), d = G("Header"), m = G("Breadcrumb"), b = G("Text"), w = G("Footer");
6468
+ const l = G("Logo"), n = G("MainNavigation"), i = G("Button"), c = G("Header"), m = G("Breadcrumb"), b = G("Text"), w = G("Footer");
6517
6469
  return a(), r("div", ir, [
6518
- y(d, null, {
6470
+ y(c, null, {
6519
6471
  logo: S(() => [
6520
6472
  h(s.$slots, "logo", {}, () => [
6521
6473
  y(l)
@@ -6702,7 +6654,7 @@ const or = /* @__PURE__ */ Ne(In, [["render", rr]]), ir = { class: "min-h-screen
6702
6654
  }
6703
6655
  };
6704
6656
  return E[e.errorType] || E.generic;
6705
- }), l = u(() => t.value.icon), n = u(() => e.errorTitle || t.value.title), i = u(() => e.errorMessage || t.value.message), d = () => {
6657
+ }), l = u(() => t.value.icon), n = u(() => e.errorTitle || t.value.title), i = u(() => e.errorMessage || t.value.message), c = () => {
6706
6658
  window.history.length > 1 ? window.history.back() : window.location.href = e.homeUrl, s("back");
6707
6659
  }, m = () => {
6708
6660
  window.location.reload(), s("retry");
@@ -6738,7 +6690,7 @@ const or = /* @__PURE__ */ Ne(In, [["render", rr]]), ir = { class: "min-h-screen
6738
6690
  errorIcon: l,
6739
6691
  errorTitle: n,
6740
6692
  errorMessage: i,
6741
- goBack: d,
6693
+ goBack: c,
6742
6694
  retry: m,
6743
6695
  layoutClasses: b,
6744
6696
  backgroundClasses: w,
@@ -6757,24 +6709,24 @@ const or = /* @__PURE__ */ Ne(In, [["render", rr]]), ir = { class: "min-h-screen
6757
6709
  }
6758
6710
  }, br = { class: "flex justify-center" }, hr = { class: "flex items-center gap-3" }, yr = { class: "text-2xl font-bold text-slate-900" }, xr = { class: "flex flex-col sm:flex-row gap-3 justify-center" }, kr = { class: "text-sm text-slate-600" }, wr = ["href"];
6759
6711
  function Cr(e, s, t, l, n, i) {
6760
- const d = G("Button");
6712
+ const c = G("Button");
6761
6713
  return a(), r("div", {
6762
- class: c(l.layoutClasses)
6714
+ class: d(l.layoutClasses)
6763
6715
  }, [
6764
6716
  t.showBackground ? (a(), r("div", {
6765
6717
  key: 0,
6766
- class: c(l.backgroundClasses)
6718
+ class: d(l.backgroundClasses)
6767
6719
  }, [
6768
6720
  h(e.$slots, "background", {}, () => [
6769
6721
  s[0] || (s[0] = o("div", { class: "absolute inset-0 bg-gradient-to-br from-slate-50 to-slate-100" }, null, -1))
6770
6722
  ])
6771
6723
  ], 2)) : f("", !0),
6772
6724
  o("div", {
6773
- class: c(l.contentClasses)
6725
+ class: d(l.contentClasses)
6774
6726
  }, [
6775
6727
  e.$slots.header || t.showLogo ? (a(), r("div", {
6776
6728
  key: 0,
6777
- class: c(l.headerClasses)
6729
+ class: d(l.headerClasses)
6778
6730
  }, [
6779
6731
  h(e.$slots, "header", {}, () => [
6780
6732
  o("div", br, [
@@ -6790,30 +6742,30 @@ function Cr(e, s, t, l, n, i) {
6790
6742
  ])
6791
6743
  ], 2)) : f("", !0),
6792
6744
  o("div", {
6793
- class: c(l.errorContentClasses)
6745
+ class: d(l.errorContentClasses)
6794
6746
  }, [
6795
6747
  e.$slots.illustration || t.showDefaultIllustration ? (a(), r("div", {
6796
6748
  key: 0,
6797
- class: c(l.illustrationClasses)
6749
+ class: d(l.illustrationClasses)
6798
6750
  }, [
6799
6751
  h(e.$slots, "illustration", {}, () => [
6800
6752
  (a(), M(X(l.errorIcon), {
6801
- class: c(l.iconClasses)
6753
+ class: d(l.iconClasses)
6802
6754
  }, null, 8, ["class"]))
6803
6755
  ])
6804
6756
  ], 2)) : f("", !0),
6805
6757
  o("div", {
6806
- class: c(l.detailsClasses)
6758
+ class: d(l.detailsClasses)
6807
6759
  }, [
6808
6760
  o("h1", {
6809
- class: c(l.titleClasses)
6761
+ class: d(l.titleClasses)
6810
6762
  }, [
6811
6763
  h(e.$slots, "title", {}, () => [
6812
6764
  N(p(l.errorTitle), 1)
6813
6765
  ])
6814
6766
  ], 2),
6815
6767
  o("p", {
6816
- class: c(l.messageClasses)
6768
+ class: d(l.messageClasses)
6817
6769
  }, [
6818
6770
  h(e.$slots, "message", {}, () => [
6819
6771
  N(p(l.errorMessage), 1)
@@ -6821,16 +6773,16 @@ function Cr(e, s, t, l, n, i) {
6821
6773
  ], 2),
6822
6774
  t.errorCode ? (a(), r("div", {
6823
6775
  key: 0,
6824
- class: c(l.codeClasses)
6776
+ class: d(l.codeClasses)
6825
6777
  }, " Error Code: " + p(t.errorCode), 3)) : f("", !0)
6826
6778
  ], 2),
6827
6779
  e.$slots.actions || t.showDefaultActions ? (a(), r("div", {
6828
6780
  key: 1,
6829
- class: c(l.actionsClasses)
6781
+ class: d(l.actionsClasses)
6830
6782
  }, [
6831
6783
  h(e.$slots, "actions", {}, () => [
6832
6784
  o("div", xr, [
6833
- t.showHomeButton ? (a(), M(d, {
6785
+ t.showHomeButton ? (a(), M(c, {
6834
6786
  key: 0,
6835
6787
  href: t.homeUrl,
6836
6788
  variant: "primary",
@@ -6841,7 +6793,7 @@ function Cr(e, s, t, l, n, i) {
6841
6793
  ]),
6842
6794
  _: 1
6843
6795
  }, 8, ["href"])) : f("", !0),
6844
- t.showBackButton ? (a(), M(d, {
6796
+ t.showBackButton ? (a(), M(c, {
6845
6797
  key: 1,
6846
6798
  variant: "outline",
6847
6799
  size: "lg",
@@ -6852,7 +6804,7 @@ function Cr(e, s, t, l, n, i) {
6852
6804
  ]),
6853
6805
  _: 1
6854
6806
  }, 8, ["onClick"])) : f("", !0),
6855
- t.showRetryButton ? (a(), M(d, {
6807
+ t.showRetryButton ? (a(), M(c, {
6856
6808
  key: 2,
6857
6809
  variant: "ghost",
6858
6810
  size: "lg",
@@ -6868,7 +6820,7 @@ function Cr(e, s, t, l, n, i) {
6868
6820
  ], 2)) : f("", !0),
6869
6821
  e.$slots.help || t.helpText ? (a(), r("div", {
6870
6822
  key: 2,
6871
- class: c(l.helpClasses)
6823
+ class: d(l.helpClasses)
6872
6824
  }, [
6873
6825
  h(e.$slots, "help", {}, () => [
6874
6826
  o("p", kr, [