@stlhorizon/vue-ui 1.2.2 → 1.2.4

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.
Files changed (34) hide show
  1. package/dist/index.esm.js +519 -549
  2. package/dist/index.js +13 -13
  3. package/dist/src/components/Alert.vue.d.ts +2 -2
  4. package/dist/src/components/Badge.vue.d.ts +2 -2
  5. package/dist/src/components/Breadcrumb.vue.d.ts +2 -2
  6. package/dist/src/components/Button.vue.d.ts +2 -2
  7. package/dist/src/components/Checkbox.vue.d.ts +6 -6
  8. package/dist/src/components/DataTable.vue.d.ts +2 -2
  9. package/dist/src/components/DataTableCell.vue.d.ts +2 -2
  10. package/dist/src/components/DatePicker.vue.d.ts +4 -4
  11. package/dist/src/components/FormField.vue.d.ts +8 -8
  12. package/dist/src/components/Icon.vue.d.ts +2 -2
  13. package/dist/src/components/Image.vue.d.ts +2 -2
  14. package/dist/src/components/Input.vue.d.ts +9 -9
  15. package/dist/src/components/Label.vue.d.ts +2 -2
  16. package/dist/src/components/Link.vue.d.ts +4 -4
  17. package/dist/src/components/ProgressBar.vue.d.ts +2 -2
  18. package/dist/src/components/Radio.vue.d.ts +2 -2
  19. package/dist/src/components/Search.vue.d.ts +5 -5
  20. package/dist/src/components/Spinner.vue.d.ts +2 -2
  21. package/dist/src/components/Textarea.vue.d.ts +6 -6
  22. package/dist/src/components/Typography.vue.d.ts +2 -2
  23. package/dist/src/layouts/ErrorLayout.vue.d.ts +6 -6
  24. package/dist/src/router/AuthRoutes.d.ts +15 -0
  25. package/dist/src/router/AuthRoutes.d.ts.map +1 -0
  26. package/dist/src/router/index.d.ts +1 -1
  27. package/dist/src/router/index.d.ts.map +1 -1
  28. package/dist/src/views/authentication/ForgotPasswordPage.vue.d.ts +3 -0
  29. package/dist/src/views/authentication/ForgotPasswordPage.vue.d.ts.map +1 -0
  30. package/dist/src/views/authentication/LoginPage.vue.d.ts +3 -0
  31. package/dist/src/views/authentication/LoginPage.vue.d.ts.map +1 -0
  32. package/dist/tsconfig.tsbuildinfo +1 -1
  33. package/dist/vue-ui.css +1 -1
  34. package/package.json +2 -1
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 b, 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
  {
@@ -220,25 +220,25 @@ const Ue = {
220
220
  "h-5 w-5": s.size === "lg",
221
221
  "h-6 w-6": s.size === "xl"
222
222
  })
223
- ), b = () => {
223
+ ), p = () => {
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),
234
- onError: b
233
+ class: d(i.value),
234
+ onError: p
235
235
  }, null, 42, Ge)) : e.initials ? (a(), r("span", {
236
236
  key: 1,
237
- class: c(d.value)
238
- }, p(e.initials), 3)) : (a(), M(Y, {
237
+ class: d(c.value)
238
+ }, b(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: {
@@ -315,14 +315,14 @@ const Ue = {
315
315
  md: "w-4 h-4",
316
316
  lg: "w-5 h-5"
317
317
  }[l.size]]);
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))
318
+ return (p, w) => (a(), r("span", {
319
+ class: d(D(v)(D(c)({ variant: e.variant, size: e.size, shape: e.shape }), p.$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
- h(b.$slots, "default"),
325
+ h(p.$slots, "default"),
326
326
  e.dismissible ? (a(), r("button", {
327
327
  key: 1,
328
328
  onClick: i,
@@ -415,7 +415,7 @@ const Ue = {
415
415
  }, null, -1)
416
416
  ])])) : f("", !0),
417
417
  e.loading ? f("", !0) : h(t.$slots, "icon", { key: 1 }),
418
- e.loading && e.loadingText ? (a(), r("span", Je, p(e.loadingText), 1)) : h(t.$slots, "default", { key: 3 })
418
+ e.loading && e.loadingText ? (a(), r("span", Je, b(e.loadingText), 1)) : h(t.$slots, "default", { key: 3 })
419
419
  ], 16, Xe));
420
420
  }
421
421
  }), et = { class: "flex items-center gap-3" }, tt = { class: "relative" }, at = ["id", "checked", "indeterminate", "disabled", "required", "aria-describedby"], st = { class: "flex-1" }, lt = ["for"], ke = {
@@ -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()), p = 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(() => ({
@@ -519,12 +519,12 @@ const Ue = {
519
519
  "cursor-pointer select-none",
520
520
  T.value,
521
521
  {
522
- "bg-blue-600 border-blue-600 text-white": b.value && !n.disabled && n.variant === "default",
523
- "bg-red-600 border-red-600 text-white": b.value && !n.disabled && n.variant === "error",
524
- "bg-slate-200 border-slate-300 text-slate-400": b.value && n.disabled,
525
- "bg-white border-slate-300 hover:border-slate-400": !b.value && !n.disabled && n.variant === "default",
526
- "bg-white border-red-300 hover:border-red-400": !b.value && !n.disabled && n.variant === "error",
527
- "bg-slate-50 border-slate-200": !b.value && n.disabled,
522
+ "bg-blue-600 border-blue-600 text-white": p.value && !n.disabled && n.variant === "default",
523
+ "bg-red-600 border-red-600 text-white": p.value && !n.disabled && n.variant === "error",
524
+ "bg-slate-200 border-slate-300 text-slate-400": p.value && n.disabled,
525
+ "bg-white border-slate-300 hover:border-slate-400": !p.value && !n.disabled && n.variant === "default",
526
+ "bg-white border-red-300 hover:border-red-400": !p.value && !n.disabled && n.variant === "error",
527
+ "bg-slate-50 border-slate-200": !p.value && n.disabled,
528
528
  "cursor-not-allowed": n.disabled,
529
529
  "focus-within:ring-2 focus-within:ring-offset-2": !n.disabled,
530
530
  "focus-within:ring-blue-500": !n.disabled && n.variant === "default",
@@ -540,27 +540,27 @@ 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
- checked: b.value,
551
+ checked: p.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
- b.value && !e.indeterminate ? (a(), M(t, {
563
+ p.value && !e.indeterminate ? (a(), M(t, {
564
564
  key: 0,
565
565
  class: "w-3 h-3"
566
566
  })) : e.indeterminate ? (a(), M(l, {
@@ -572,16 +572,16 @@ 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
- N(p(e.label), 1)
578
+ N(b(e.label), 1)
579
579
  ])
580
580
  ], 10, lt),
581
581
  e.description ? (a(), r("p", {
582
582
  key: 0,
583
- class: c(g.value)
584
- }, p(e.description), 3)) : f("", !0)
583
+ class: d(g.value)
584
+ }, b(e.description), 3)) : f("", !0)
585
585
  ])
586
586
  ]));
587
587
  }
@@ -676,9 +676,9 @@ 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
- e.label && e.orientation === "horizontal" ? (a(), r("span", nt, p(e.label), 1)) : f("", !0)
681
+ e.label && e.orientation === "horizontal" ? (a(), r("span", nt, b(e.label), 1)) : f("", !0)
682
682
  ], 2));
683
683
  }
684
684
  }, ot = ["aria-label"], it = {
@@ -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"
@@ -758,7 +758,7 @@ const Ue = {
758
758
  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"
759
759
  }, null, -1)
760
760
  ])], 2)),
761
- e.label ? (a(), r("span", it, p(e.label), 1)) : f("", !0)
761
+ e.label ? (a(), r("span", it, b(e.label), 1)) : f("", !0)
762
762
  ], 10, ot));
763
763
  }
764
764
  }, dt = ["src", "alt", "loading"], ct = {
@@ -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,8 +809,8 @@ const Ue = {
809
809
  }
810
810
  }
811
811
  ), m = u(
812
- () => v(d({ aspectRatio: t.aspectRatio }), t.class)
813
- ), b = u(
812
+ () => v(c({ aspectRatio: t.aspectRatio }), t.class)
813
+ ), p = u(
814
814
  () => v(
815
815
  "h-full w-full transition-opacity duration-300",
816
816
  {
@@ -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(p.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,9 +939,9 @@ 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
- }, b = ($) => {
944
+ }, p = ($) => {
945
945
  n("blur", $);
946
946
  }, w = ($) => {
947
947
  n("focus", $);
@@ -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,11 +996,11 @@ 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,
1003
- onBlur: b,
1003
+ onBlur: p,
1004
1004
  onFocus: w,
1005
1005
  onKeydown: C
1006
1006
  }, null, 42, ft),
@@ -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,32 +1137,32 @@ const Ue = {
1137
1137
  disabled: !1
1138
1138
  }
1139
1139
  }
1140
- ), d = (b) => {
1140
+ ), c = (p) => {
1141
1141
  if (t.disabled) {
1142
- b.preventDefault();
1142
+ p.preventDefault();
1143
1143
  return;
1144
1144
  }
1145
- m("click", b);
1145
+ m("click", p);
1146
1146
  }, m = s;
1147
- return (b, w) => (a(), M(X(l.value), {
1147
+ return (p, w) => (a(), M(X(l.value), {
1148
1148
  href: l.value === "a" ? e.href : void 0,
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 }), p.$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
- h(b.$slots, "default"),
1161
+ h(p.$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,18 +1219,18 @@ 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)
1233
- }, p(e.text || "Logo"), 3))
1232
+ class: d(i.value)
1233
+ }, b(e.text || "Logo"), 3))
1234
1234
  ], 2));
1235
1235
  }
1236
1236
  }, xt = ["value", "disabled", "selected"], Le = {
@@ -1260,7 +1260,7 @@ const Ue = {
1260
1260
  selected: e.selected
1261
1261
  }, [
1262
1262
  h(s.$slots, "default", {}, () => [
1263
- N(p(e.label), 1)
1263
+ N(b(e.label), 1)
1264
1264
  ])
1265
1265
  ], 8, xt));
1266
1266
  }
@@ -1290,8 +1290,8 @@ const Ue = {
1290
1290
  },
1291
1291
  setup(e) {
1292
1292
  const s = e, t = u(() => {
1293
- const b = s.value / s.max * 100;
1294
- return Math.min(Math.max(b, 0), 100);
1293
+ const p = s.value / s.max * 100;
1294
+ return Math.min(Math.max(p, 0), 100);
1295
1295
  }), l = x(
1296
1296
  "relative w-full overflow-hidden rounded-full bg-secondary",
1297
1297
  {
@@ -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
- return (b, w) => (a(), r("div", {
1326
- class: c(i.value)
1325
+ return (p, w) => (a(), r("div", {
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,8 +1335,8 @@ const Ue = {
1335
1335
  }, null, 14, kt),
1336
1336
  e.showLabel ? (a(), r("span", {
1337
1337
  key: 0,
1338
- class: c(m.value)
1339
- }, p(t.value) + "% ", 3)) : f("", !0)
1338
+ class: d(m.value)
1339
+ }, b(t.value) + "% ", 3)) : f("", !0)
1340
1340
  ], 2));
1341
1341
  }
1342
1342
  }, Ct = { class: "flex items-center space-x-2" }, $t = ["aria-checked", "disabled"], St = {
@@ -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",
@@ -1383,7 +1383,7 @@ const Ue = {
1383
1383
  "h-3 w-3": t.size === "lg"
1384
1384
  }
1385
1385
  )
1386
- ), b = u(
1386
+ ), p = u(
1387
1387
  () => v(
1388
1388
  "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",
1389
1389
  !t.disabled && "cursor-pointer"
@@ -1397,19 +1397,19 @@ 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(p.value),
1411
1411
  onClick: w
1412
- }, p(e.label), 3)) : f("", !0)
1412
+ }, b(e.label), 3)) : f("", !0)
1413
1413
  ]));
1414
1414
  }
1415
1415
  }, zt = ["value", "disabled"], we = {
@@ -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,
@@ -1542,7 +1542,7 @@ const Ue = {
1542
1542
  size: t.size,
1543
1543
  checked: t.modelValue
1544
1544
  })
1545
- ), b = () => {
1545
+ ), p = () => {
1546
1546
  t.disabled || l("update:modelValue", !t.modelValue);
1547
1547
  };
1548
1548
  return (w, C) => (a(), r("button", {
@@ -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),
1554
- onClick: b
1553
+ class: d(c.value),
1554
+ onClick: p
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
- }, 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
1671
+ }, p = (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 ? `${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,11 +1721,11 @@ 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,
1728
- onBlur: b,
1728
+ onBlur: p,
1729
1729
  onFocus: w,
1730
1730
  onKeydown: C
1731
1731
  }, null, 42, Mt));
@@ -1775,11 +1775,11 @@ 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 })
1782
- ), b = () => {
1782
+ ), p = () => {
1783
1783
  l && clearTimeout(l), l = setTimeout(() => {
1784
1784
  t.value = !0;
1785
1785
  }, s.delay);
@@ -1788,7 +1788,7 @@ const Ue = {
1788
1788
  };
1789
1789
  return (C, j) => (a(), r("div", {
1790
1790
  class: "relative inline-block",
1791
- onMouseenter: b,
1791
+ onMouseenter: p,
1792
1792
  onMouseleave: w
1793
1793
  }, [
1794
1794
  h(C.$slots, "default"),
@@ -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
- N(p(e.content) + " ", 1),
1809
+ N(b(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,
@@ -1921,8 +1921,8 @@ const Ue = {
1921
1921
  "whitespace-nowrap": s.noWrap
1922
1922
  }
1923
1923
  ]);
1924
- return (m, b) => (a(), M(X(t.value), {
1925
- class: c(d.value)
1924
+ return (m, p) => (a(), M(X(t.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) {
@@ -1975,7 +1975,7 @@ const Ue = {
1975
1975
  d="M12 9v2m0 4h.01M21 12A9 9 0 1112 3a9 9 0 019 9z" />
1976
1976
  </svg>
1977
1977
  `
1978
- }, b = {
1978
+ }, p = {
1979
1979
  template: `
1980
1980
  <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
1981
1981
  <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
@@ -2005,7 +2005,7 @@ const Ue = {
2005
2005
  `
2006
2006
  }, T = u(() => ({
2007
2007
  info: m,
2008
- success: b,
2008
+ success: p,
2009
2009
  warning: w,
2010
2010
  error: C,
2011
2011
  default: m,
@@ -2051,22 +2051,22 @@ 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
- e.title ? (a(), r("h4", Pt, p(e.title), 1)) : f("", !0),
2064
+ e.title ? (a(), r("h4", Pt, b(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
- N(p(e.message), 1)
2069
+ N(b(e.message), 1)
2070
2070
  ])
2071
2071
  ], 2),
2072
2072
  g.$slots.actions || e.actions.length > 0 ? (a(), r("div", Ft, [
@@ -2075,10 +2075,10 @@ 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
- N(p($.label), 1)
2081
+ N(b($.label), 1)
2082
2082
  ]),
2083
2083
  _: 2
2084
2084
  }, 1032, ["variant", "size", "onClick"]))), 128))
@@ -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(b(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: {
@@ -2288,7 +2288,7 @@ const Ue = {
2288
2288
  xl: "p-8"
2289
2289
  }
2290
2290
  }
2291
- }), b = x(
2291
+ }), p = x(
2292
2292
  "border-t border-slate-100 bg-slate-50/50",
2293
2293
  {
2294
2294
  variants: {
@@ -2313,24 +2313,24 @@ 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)
2329
- }, p(e.title), 1)) : f("", !0),
2328
+ class: d(Yt)
2329
+ }, b(e.title), 1)) : f("", !0),
2330
2330
  e.subtitle ? (a(), r("p", {
2331
2331
  key: 1,
2332
- class: c(Xt)
2333
- }, p(e.subtitle), 1)) : f("", !0)
2332
+ class: d(Xt)
2333
+ }, b(e.subtitle), 1)) : f("", !0)
2334
2334
  ]),
2335
2335
  C.$slots.actions ? (a(), r("div", Gt, [
2336
2336
  h(C.$slots, "actions")
@@ -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(p)({ 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,11 +2553,11 @@ 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 }))
2560
- ), b = () => {
2560
+ ), p = () => {
2561
2561
  t.value = !t.value;
2562
2562
  }, w = (C) => {
2563
2563
  l.value && !l.value.contains(C.target) && (t.value = !1);
@@ -2572,13 +2572,13 @@ const Ue = {
2572
2572
  ref: l
2573
2573
  }, [
2574
2574
  o("button", {
2575
- class: c(d.value),
2576
- onClick: b,
2575
+ class: d(c.value),
2576
+ onClick: p,
2577
2577
  "aria-expanded": t.value,
2578
2578
  "aria-haspopup": !0
2579
2579
  }, [
2580
2580
  h(C.$slots, "trigger", {}, () => [
2581
- o("span", null, p(e.triggerText), 1),
2581
+ o("span", null, b(e.triggerText), 1),
2582
2582
  y(Y, {
2583
2583
  name: "chevron-down",
2584
2584
  class: "ml-2 h-4 w-4"
@@ -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
- return (m, b) => (a(), M(X(e.href ? "a" : "button"), {
2643
+ return (m, p) => (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, {
@@ -2654,7 +2654,7 @@ const Ue = {
2654
2654
  class: "mr-2 h-4 w-4"
2655
2655
  }, null, 8, ["name"])) : f("", !0),
2656
2656
  h(m.$slots, "default"),
2657
- e.shortcut ? (a(), r("span", da, p(e.shortcut), 1)) : f("", !0)
2657
+ e.shortcut ? (a(), r("span", da, b(e.shortcut), 1)) : f("", !0)
2658
2658
  ]),
2659
2659
  _: 3
2660
2660
  }, 8, ["href", "class", "disabled"]));
@@ -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: {
@@ -2690,7 +2690,7 @@ const Ue = {
2690
2690
  }
2691
2691
  }
2692
2692
  }
2693
- ), b = u(
2693
+ ), p = u(
2694
2694
  () => v(
2695
2695
  m({ variant: t.variant }),
2696
2696
  i.value && "border-primary bg-primary/5"
@@ -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(p.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,
@@ -2747,7 +2747,7 @@ const Ue = {
2747
2747
  o("span", { class: "font-semibold" }, "Click to upload"),
2748
2748
  N(" or drag and drop ")
2749
2749
  ], -1)),
2750
- e.accept ? (a(), r("p", va, p(e.accept), 1)) : f("", !0)
2750
+ e.accept ? (a(), r("p", va, b(e.accept), 1)) : f("", !0)
2751
2751
  ])
2752
2752
  ], 34),
2753
2753
  n.value.length > 0 ? (a(), r("div", ga, [
@@ -2760,8 +2760,8 @@ const Ue = {
2760
2760
  name: "file",
2761
2761
  class: "h-4 w-4 text-muted-foreground"
2762
2762
  }),
2763
- o("span", ba, p(P.name), 1),
2764
- o("span", ha, "(" + p(B(P.size)) + ")", 1)
2763
+ o("span", ba, b(P.name), 1),
2764
+ o("span", ha, "(" + b(B(P.size)) + ")", 1)
2765
2765
  ]),
2766
2766
  o("button", {
2767
2767
  onClick: (te) => g(E),
@@ -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("", {
@@ -2821,7 +2821,7 @@ const Ue = {
2821
2821
  }
2822
2822
  },
2823
2823
  defaultVariants: { size: "md" }
2824
- }), b = x("block text-slate-900", {
2824
+ }), p = x("block text-slate-900", {
2825
2825
  variants: {
2826
2826
  size: {
2827
2827
  sm: "text-xs font-medium",
@@ -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(p)({ size: e.size })))
2873
2873
  }, [
2874
- N(p(e.label) + " ", 1),
2874
+ N(b(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 })))
2880
- }, p(e.description), 3)) : f("", !0),
2879
+ class: d(D(v)(D(w)({ size: e.size })))
2880
+ }, b(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,12 +2897,12 @@ 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
  }, [
2904
2904
  y(s, { class: "w-4 h-4 flex-shrink-0 mt-0.5" }),
2905
- o("span", null, p(e.error), 1)
2905
+ o("span", null, b(e.error), 1)
2906
2906
  ], 10, $a)) : f("", !0)
2907
2907
  ]),
2908
2908
  _: 1
@@ -2910,8 +2910,8 @@ 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 })))
2914
- }, p(e.helpText), 11, Sa)) : f("", !0),
2913
+ class: d(D(v)(D(j)({ size: e.size })))
2914
+ }, b(e.helpText), 11, Sa)) : f("", !0),
2915
2915
  y(ae, {
2916
2916
  "enter-active-class": "transition-all duration-200",
2917
2917
  "enter-from-class": "opacity-0 -translate-y-1",
@@ -2923,10 +2923,10 @@ 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
- o("span", null, p(e.success), 1)
2929
+ o("span", null, b(e.success), 1)
2930
2930
  ], 2)) : f("", !0)
2931
2931
  ]),
2932
2932
  _: 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,21 +3013,21 @@ 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 }))
3020
- ), b = (w) => {
3020
+ ), p = (w) => {
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),
3030
- onClick: b
3029
+ class: d(m.value),
3030
+ onClick: p
3031
3031
  }, {
3032
3032
  default: S(() => [
3033
3033
  w.$slots.icon || e.icon ? (a(), r("div", ja, [
@@ -3040,8 +3040,8 @@ const Ue = {
3040
3040
  ])
3041
3041
  ])) : f("", !0),
3042
3042
  o("div", Ia, [
3043
- e.title ? (a(), r("div", La, p(e.title), 1)) : f("", !0),
3044
- e.description ? (a(), r("div", Da, p(e.description), 1)) : f("", !0),
3043
+ e.title ? (a(), r("div", La, b(e.title), 1)) : f("", !0),
3044
+ e.description ? (a(), r("div", Da, b(e.description), 1)) : f("", !0),
3045
3045
  h(w.$slots, "default")
3046
3046
  ]),
3047
3047
  w.$slots.action ? (a(), r("div", Aa, [
@@ -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
- return (m, b) => (a(), M(X(e.href ? "a" : "button"), {
3089
+ return (m, p) => (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, {
@@ -3100,7 +3100,7 @@ const Ue = {
3100
3100
  class: "mr-2 h-4 w-4"
3101
3101
  }, null, 8, ["name"])) : f("", !0),
3102
3102
  h(m.$slots, "default"),
3103
- e.shortcut ? (a(), r("span", Fa, p(e.shortcut), 1)) : f("", !0),
3103
+ e.shortcut ? (a(), r("span", Fa, b(e.shortcut), 1)) : f("", !0),
3104
3104
  e.hasSubmenu ? (a(), M(Y, {
3105
3105
  key: 2,
3106
3106
  name: "chevron-right",
@@ -3127,19 +3127,19 @@ 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) {
3135
- const m = (b) => {
3136
- b.key === "Escape" && n();
3133
+ return oe(() => t.modelValue, (c) => {
3134
+ if (c) {
3135
+ const m = (p) => {
3136
+ p.key === "Escape" && n();
3137
3137
  };
3138
3138
  return document.addEventListener("keydown", m), () => {
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
  ]),
@@ -3188,8 +3188,8 @@ const Ue = {
3188
3188
  },
3189
3189
  setup(e) {
3190
3190
  return (s, t) => (a(), r("div", Ha, [
3191
- e.title ? (a(), r("h2", Oa, p(e.title), 1)) : f("", !0),
3192
- e.description ? (a(), r("p", qa, p(e.description), 1)) : f("", !0),
3191
+ e.title ? (a(), r("h2", Oa, b(e.title), 1)) : f("", !0),
3192
+ e.description ? (a(), r("p", qa, b(e.description), 1)) : f("", !0),
3193
3193
  h(s.$slots, "default")
3194
3194
  ]));
3195
3195
  }
@@ -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",
@@ -3303,9 +3303,9 @@ const Ue = {
3303
3303
  destructive: "text-destructive"
3304
3304
  }
3305
3305
  }
3306
- }), b = u(
3306
+ }), p = 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(p.value),
3327
3327
  role: "alert",
3328
3328
  "aria-live": e.variant === "destructive" ? "assertive" : "polite"
3329
3329
  }, [
@@ -3331,15 +3331,15 @@ 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
- e.title ? (a(), r("div", Xa, p(e.title), 1)) : f("", !0),
3338
+ e.title ? (a(), r("div", Xa, b(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 }])
3342
- }, p(e.message), 3)) : f("", !0),
3341
+ class: d(["text-sm", { "mt-1": e.title }])
3342
+ }, b(e.message), 3)) : f("", !0),
3343
3343
  h(T.$slots, "default")
3344
3344
  ]),
3345
3345
  e.dismissible ? (a(), r("button", {
@@ -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,16 +3405,16 @@ const es = {
3405
3405
  dismissible: !1
3406
3406
  });
3407
3407
  return e.then((m) => {
3408
- ue(d);
3409
- const b = typeof l == "function" ? l(m) : l;
3410
- return re(b, {
3408
+ ue(c);
3409
+ const p = typeof l == "function" ? l(m) : l;
3410
+ return re(p, {
3411
3411
  ...i,
3412
3412
  variant: "success"
3413
3413
  }), m;
3414
3414
  }).catch((m) => {
3415
- ue(d);
3416
- const b = typeof n == "function" ? n(m) : n;
3417
- throw re(b, {
3415
+ ue(c);
3416
+ const p = typeof n == "function" ? n(m) : n;
3417
+ throw re(p, {
3418
3418
  ...i,
3419
3419
  variant: "error"
3420
3420
  }), m;
@@ -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 })), p = {
3507
3507
  default: "bell",
3508
3508
  info: "info",
3509
3509
  success: "check-circle",
@@ -3517,13 +3517,13 @@ const es = {
3517
3517
  warning: "text-yellow-600 dark:text-yellow-400",
3518
3518
  error: "text-red-600 dark:text-red-400",
3519
3519
  loading: "text-muted-foreground animate-spin"
3520
- }, C = (z) => z.icon || b[z.variant] || b.default, j = (z) => {
3520
+ }, C = (z) => z.icon || p[z.variant] || p.default, j = (z) => {
3521
3521
  const k = w[z.variant] || w.default;
3522
3522
  return z.variant === "loading" ? `${k} animate-spin` : k;
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,19 +3542,19 @@ 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
- g.title ? (a(), r("div", ns, p(g.title), 1)) : f("", !0),
3556
- g.message ? (a(), r("div", rs, p(g.message), 1)) : f("", !0),
3557
- g.description ? (a(), r("div", os, p(g.description), 1)) : f("", !0),
3555
+ g.title ? (a(), r("div", ns, b(g.title), 1)) : f("", !0),
3556
+ g.message ? (a(), r("div", rs, b(g.message), 1)) : f("", !0),
3557
+ g.description ? (a(), r("div", os, b(g.description), 1)) : f("", !0),
3558
3558
  g.component ? (a(), M(X(g.component), me({
3559
3559
  key: 3,
3560
3560
  ref_for: !0
@@ -3564,7 +3564,7 @@ const es = {
3564
3564
  key: 1,
3565
3565
  onClick: g.action.onClick,
3566
3566
  class: "inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-xs font-medium ring-offset-background transition-colors hover:bg-secondary focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"
3567
- }, p(g.action.label), 9, is)) : f("", !0),
3567
+ }, b(g.action.label), 9, is)) : f("", !0),
3568
3568
  R(g) ? (a(), r("button", {
3569
3569
  key: 2,
3570
3570
  onClick: (B) => D(l)(g.id),
@@ -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), p = 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, p.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,16 +3717,16 @@ 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", {
3724
3724
  ref_key: "inputRef",
3725
- ref: b,
3725
+ ref: p,
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
  }, [
@@ -3780,9 +3780,9 @@ const es = {
3780
3780
  innerHTML: $(J.description)
3781
3781
  }, null, 8, ks)) : f("", !0)
3782
3782
  ]),
3783
- J.category ? (a(), r("div", ws, p(J.category), 1)) : f("", !0)
3783
+ J.category ? (a(), r("div", ws, b(J.category), 1)) : f("", !0)
3784
3784
  ], 42, hs))), 128))
3785
- ])) : e.showNoResults ? (a(), r("div", Cs, p(e.noResultsText), 1)) : f("", !0),
3785
+ ])) : e.showNoResults ? (a(), r("div", Cs, b(e.noResultsText), 1)) : f("", !0),
3786
3786
  A.$slots.footer ? (a(), r("div", $s, [
3787
3787
  h(A.$slots, "footer")
3788
3788
  ])) : f("", !0)
@@ -3803,28 +3803,28 @@ 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,
3816
3816
  max: e.max,
3817
3817
  step: e.step,
3818
- "onUpdate:modelValue": m[0] || (m[0] = (b) => n.value = b),
3818
+ "onUpdate:modelValue": m[0] || (m[0] = (p) => n.value = p),
3819
3819
  onInput: i,
3820
3820
  class: "w-full accent-blue-500 cursor-pointer"
3821
3821
  }, null, 40, Bs), [
3822
3822
  [_e, n.value]
3823
3823
  ]),
3824
3824
  o("div", Vs, [
3825
- o("span", null, p(e.min), 1),
3826
- o("span", null, p(n.value), 1),
3827
- o("span", null, p(e.max), 1)
3825
+ o("span", null, b(e.min), 1),
3826
+ o("span", null, b(n.value), 1),
3827
+ o("span", null, b(e.max), 1)
3828
3828
  ])
3829
3829
  ]));
3830
3830
  }
@@ -3850,16 +3850,16 @@ 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
  ])
3857
3857
  }, [
3858
- o("span", null, p(e.step), 1)
3858
+ o("span", null, b(e.step), 1)
3859
3859
  ], 2),
3860
3860
  o("div", Ls, [
3861
- o("div", Ds, p(e.title), 1),
3862
- e.description ? (a(), r("div", As, p(e.description), 1)) : f("", !0)
3861
+ o("div", Ds, b(e.title), 1),
3862
+ e.description ? (a(), r("div", As, b(e.description), 1)) : f("", !0)
3863
3863
  ])
3864
3864
  ]));
3865
3865
  }
@@ -3876,16 +3876,16 @@ 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
- (a(!0), r(Q, null, K(l.value, (m, b) => (a(), r("button", {
3882
- key: b,
3883
- onClick: (w) => n(b),
3884
- class: c([
3881
+ (a(!0), r(Q, null, K(l.value, (m, p) => (a(), r("button", {
3882
+ key: p,
3883
+ onClick: (w) => n(p),
3884
+ class: d([
3885
3885
  "px-4 py-2 -mb-px border-b-2 font-medium text-sm transition-colors",
3886
- t.value === b ? "border-blue-500 text-blue-600" : "border-transparent text-slate-500 hover:text-slate-700 hover:border-slate-300"
3886
+ t.value === p ? "border-blue-500 text-blue-600" : "border-transparent text-slate-500 hover:text-slate-700 hover:border-slate-300"
3887
3887
  ])
3888
- }, p(m.label), 11, Ns))), 128))
3888
+ }, b(m.label), 11, Ns))), 128))
3889
3889
  ]),
3890
3890
  o("div", Rs, [
3891
3891
  h(i.$slots, "default")
@@ -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);
@@ -3954,7 +3954,7 @@ const es = {
3954
3954
  }
3955
3955
  n("change", { index: q, expanded: i.value.includes(q) });
3956
3956
  }
3957
- }, m = (q) => i.value.includes(q), b = x("w-full", {
3957
+ }, m = (q) => i.value.includes(q), p = x("w-full", {
3958
3958
  variants: {
3959
3959
  variant: {
3960
3960
  default: "divide-y divide-slate-200",
@@ -4029,7 +4029,7 @@ const es = {
4029
4029
  }
4030
4030
  }
4031
4031
  }), g = u(
4032
- () => v(b({ variant: l.variant }))
4032
+ () => v(p({ variant: l.variant }))
4033
4033
  ), B = u(
4034
4034
  () => v(w({ variant: l.variant }))
4035
4035
  ), $ = (q) => v(
@@ -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)
4076
- }, p(A.title), 3),
4075
+ class: d(I.value)
4076
+ }, b(A.title), 3),
4077
4077
  A.subtitle ? (a(), r("p", {
4078
4078
  key: 0,
4079
- class: c(P.value)
4080
- }, p(A.subtitle), 3)) : f("", !0)
4079
+ class: d(P.value)
4080
+ }, b(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: {
@@ -4167,25 +4167,25 @@ const es = {
4167
4167
  lg: "p-6 text-lg"
4168
4168
  }
4169
4169
  }
4170
- }), b = u(
4170
+ }), p = 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(p.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"], p = 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, [
@@ -4260,7 +4260,7 @@ const es = {
4260
4260
  ]),
4261
4261
  _: 1
4262
4262
  }),
4263
- o("div", Xs, p(b.value) + " " + p(i.value), 1),
4263
+ o("div", Xs, b(p.value) + " " + b(i.value), 1),
4264
4264
  y(ee, {
4265
4265
  class: "p-2 rounded-lg hover:bg-slate-100",
4266
4266
  onClick: z,
@@ -4273,31 +4273,31 @@ const es = {
4273
4273
  })
4274
4274
  ]),
4275
4275
  o("div", Ws, [
4276
- (a(), r(Q, null, K(m, (P) => o("div", { key: P }, p(P), 1)), 64))
4276
+ (a(), r(Q, null, K(m, (P) => o("div", { key: P }, b(P), 1)), 64))
4277
4277
  ]),
4278
4278
  o("div", Js, [
4279
4279
  (a(!0), r(Q, null, K(j.value, (P) => (a(), r("div", {
4280
4280
  key: "prev-" + P,
4281
4281
  class: "text-slate-400 text-sm"
4282
- }, p(P), 1))), 128)),
4282
+ }, b(P), 1))), 128)),
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"
4290
4290
  ])
4291
4291
  }, {
4292
4292
  default: S(() => [
4293
- N(p(P), 1)
4293
+ N(b(P), 1)
4294
4294
  ]),
4295
4295
  _: 2
4296
4296
  }, 1032, ["onClick", "class"]))), 128)),
4297
4297
  (a(!0), r(Q, null, K(T.value, (P) => (a(), r("div", {
4298
4298
  key: "next-" + P,
4299
4299
  class: "text-slate-400 text-sm"
4300
- }, p(P), 1))), 128))
4300
+ }, b(P), 1))), 128))
4301
4301
  ])
4302
4302
  ]));
4303
4303
  }
@@ -4371,39 +4371,39 @@ 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
- return (b, w) => e.title || e.description || b.$slots.header ? (a(), r("div", {
4379
+ return (p, w) => e.title || e.description || p.$slots.header ? (a(), r("div", {
4380
4380
  key: 0,
4381
- class: c(i.value)
4381
+ class: d(i.value)
4382
4382
  }, [
4383
- h(b.$slots, "header", {}, () => [
4383
+ h(p.$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
- N(p(e.title), 1)
4391
+ N(b(e.title), 1)
4392
4392
  ]),
4393
4393
  _: 1
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
- N(p(e.description), 1)
4400
+ N(b(e.description), 1)
4401
4401
  ]),
4402
4402
  _: 1
4403
4403
  }, 8, ["class"])) : f("", !0)
4404
4404
  ]),
4405
- b.$slots.filters ? (a(), r("div", al, [
4406
- h(b.$slots, "filters")
4405
+ p.$slots.filters ? (a(), r("div", al, [
4406
+ h(p.$slots, "filters")
4407
4407
  ])) : f("", !0)
4408
4408
  ])
4409
4409
  ])
@@ -4512,10 +4512,10 @@ 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
- }, b = (k, g) => {
4518
+ }, p = (k, g) => {
4519
4519
  const B = m(k, g);
4520
4520
  return typeof g == "object" && g.formatter ? g.formatter(B, k) : B == null ? "" : B instanceof Date ? B.toLocaleDateString() : Array.isArray(B) ? B.join(", ") : B;
4521
4521
  }, w = () => {
@@ -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,21 +4565,21 @@ 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,
4575
4575
  index: e.index
4576
4576
  }, () => [
4577
- N(p(b(e.item, B)), 1)
4577
+ N(b(p(e.item, B)), 1)
4578
4578
  ])
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",
@@ -4708,7 +4708,7 @@ const es = {
4708
4708
  defaultVariants: {
4709
4709
  size: "sm"
4710
4710
  }
4711
- }), m = u(() => (t.currentPage - 1) * t.pageSize + 1), b = u(() => Math.min(t.currentPage * t.pageSize, t.total)), w = u(() => {
4711
+ }), m = u(() => (t.currentPage - 1) * t.pageSize + 1), p = u(() => Math.min(t.currentPage * t.pageSize, t.total)), w = u(() => {
4712
4712
  const z = [], k = t.totalPages, g = t.currentPage, B = t.maxVisiblePages;
4713
4713
  if (k <= B)
4714
4714
  for (let $ = 1; $ <= k; $++)
@@ -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,10 +4739,10 @@ 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
- 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)),
4745
+ e.selectable && e.selectedCount > 0 ? (a(), r("div", ll, b(e.selectedCount) + " of " + b(e.total) + " selected ", 1)) : (a(), r("div", nl, " Showing " + b(m.value) + " to " + b(p.value) + " of " + b(e.total) + " entries ", 1)),
4746
4746
  z.$slots.footer ? (a(), r("div", rl, [
4747
4747
  h(z.$slots, "footer")
4748
4748
  ])) : f("", !0),
@@ -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))
4823
- }, p(g), 11, fl))), 128))
4822
+ class: d(R(g === e.currentPage, !1))
4823
+ }, b(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", {
@@ -4863,7 +4863,7 @@ const es = {
4863
4863
  ], -1)
4864
4864
  ])], 10, gl)
4865
4865
  ]),
4866
- o("div", pl, " Page " + p(e.currentPage) + " of " + p(e.totalPages), 1)
4866
+ o("div", pl, " Page " + b(e.currentPage) + " of " + b(e.totalPages), 1)
4867
4867
  ])) : f("", !0)
4868
4868
  ])
4869
4869
  ], 2)) : f("", !0);
@@ -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), p = 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,11 +5039,11 @@ 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(
5046
- () => v(b({ variant: t.variant }))
5046
+ () => v(p({ variant: t.variant }))
5047
5047
  ), A = u(
5048
5048
  () => v(w({ variant: t.variant }))
5049
5049
  ), U = 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
- o("span", null, p(Z.label), 1),
5135
+ o("span", null, b(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, [
@@ -5220,7 +5220,7 @@ const es = {
5220
5220
  })
5221
5221
  ])
5222
5222
  ], -1)),
5223
- o("p", $l, p(e.emptyText), 1)
5223
+ o("p", $l, b(e.emptyText), 1)
5224
5224
  ])
5225
5225
  ])
5226
5226
  ], 10, wl)
@@ -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,23 +5317,23 @@ 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}`, p = 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
  }),
5327
5327
  m,
5328
- b,
5328
+ p,
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", {}, () => [
5336
- N(p(t.value), 1)
5335
+ h(c.$slots, "default", {}, () => [
5336
+ N(b(t.value), 1)
5337
5337
  ])
5338
5338
  ], 2));
5339
5339
  }
@@ -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, p = 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
@@ -5495,9 +5495,9 @@ const es = {
5495
5495
  }
5496
5496
  return _;
5497
5497
  }), z = u(
5498
- () => v(b({
5499
- variant: d.variant,
5500
- padding: d.padding
5498
+ () => v(p({
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,14 +5577,14 @@ 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)),
5584
5584
  (a(!0), r(Q, null, K(e.statusOptions, (F) => (a(), r("option", {
5585
5585
  key: F.value,
5586
5586
  value: F.value
5587
- }, p(F.label), 9, Ml))), 128))
5587
+ }, b(F.label), 9, Ml))), 128))
5588
5588
  ]),
5589
5589
  _: 1
5590
5590
  }, 8, ["model-value", "class"])
@@ -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
- o("span", null, p(F.label) + ": " + p(F.value), 1),
5659
+ o("span", null, b(F.label) + ": " + b(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), p = [
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,41 +5835,41 @@ 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, [
5842
- o("span", Nl, p(m.value) + " selected ", 1),
5842
+ o("span", Nl, b(m.value) + " selected ", 1),
5843
5843
  o("div", Rl, [
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), {
5851
5851
  key: 0,
5852
5852
  class: "w-4 h-4"
5853
5853
  })) : f("", !0),
5854
- N(" " + p(F.label), 1)
5854
+ N(" " + b(F.label), 1)
5855
5855
  ]),
5856
5856
  _: 2
5857
5857
  }, 1032, ["onClick", "class"]))), 128))
5858
5858
  ])
5859
5859
  ])) : e.totalItems > 0 ? (a(), r("div", {
5860
5860
  key: 1,
5861
- class: c(z.value)
5862
- }, p(e.totalItems) + " " + p(e.totalItems === 1 ? "item" : "items"), 3)) : f("", !0)
5861
+ class: d(z.value)
5862
+ }, b(e.totalItems) + " " + b(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
- (a(), r(Q, null, K(b, (F) => o("button", {
5869
+ (a(), r(Q, null, K(p, (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,30 +5889,30 @@ 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)
5915
- }, p(F.label), 3)
5914
+ class: d(E.value)
5915
+ }, b(F.label), 3)
5916
5916
  ])
5917
5917
  ], 2))), 128))
5918
5918
  ])
@@ -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"), p = 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
  }, {
@@ -6048,19 +6048,19 @@ const es = {
6048
6048
  ])
6049
6049
  ])
6050
6050
  ]),
6051
- y(b, { class: "my-8" }),
6051
+ y(p, { class: "my-8" }),
6052
6052
  o("div", dn, [
6053
6053
  h(s.$slots, "copyright", {}, () => [
6054
6054
  y(n, { class: "text-gray-600" }, {
6055
6055
  default: S(() => [
6056
- N(" © " + p((/* @__PURE__ */ new Date()).getFullYear()) + " Your Company. All rights reserved. ", 1)
6056
+ N(" © " + b((/* @__PURE__ */ new Date()).getFullYear()) + " Your Company. All rights reserved. ", 1)
6057
6057
  ]),
6058
6058
  _: 1
6059
6059
  })
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,19 +6268,19 @@ 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
  ])
6275
6275
  }, [
6276
6276
  o("h3", Vn, [
6277
6277
  h(s.$slots, "title", {}, () => [
6278
- N(p(e.title), 1)
6278
+ N(b(e.title), 1)
6279
6279
  ])
6280
6280
  ]),
6281
6281
  e.subtitle ? (a(), r("p", Tn, [
6282
6282
  h(s.$slots, "subtitle", {}, () => [
6283
- N(p(e.subtitle), 1)
6283
+ N(b(e.subtitle), 1)
6284
6284
  ])
6285
6285
  ])) : f("", !0),
6286
6286
  o("div", Mn, [
@@ -6383,20 +6383,9 @@ const es = {
6383
6383
  currentYear: u(() => (/* @__PURE__ */ new Date()).getFullYear())
6384
6384
  };
6385
6385
  }
6386
- }, 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
- key: 0,
6388
- class: "mb-6"
6389
- }, En = { class: "text-center" }, Un = { class: "text-2xl font-bold text-gray-900" }, Zn = {
6390
- key: 0,
6391
- class: "text-gray-600 mt-2"
6392
- }, Gn = { class: "space-y-6" }, Kn = {
6393
- key: 1,
6394
- class: "mt-6"
6395
- }, Qn = {
6396
- key: 0,
6397
- class: "mt-6 text-center"
6398
- }, 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
- function rr(e, s, t, l, n, i) {
6386
+ }, 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 = { class: "absolute bottom-4 right-4 text-right" }, En = { class: "flex items-end justify-end mb-2" }, Un = { class: "text-right mr-3" }, Zn = { class: "text-red-500 font-bold text-xs" }, Gn = { class: "text-white text-xs" }, Kn = { class: "text-white/70 text-xs" }, Qn = { class: "w-8 h-8 bg-red-500 rounded flex items-center justify-center text-white font-bold text-xs" }, Yn = { class: "text-white/70 text-xs" }, Xn = { class: "absolute bottom-4 left-4 flex gap-2" }, Wn = ["href"];
6387
+ function Jn(e, s, t, l, n, i) {
6388
+ const c = G("router-view");
6400
6389
  return a(), r("div", {
6401
6390
  class: "min-h-screen relative flex items-center justify-center",
6402
6391
  style: ce({ backgroundColor: t.backgroundColor })
@@ -6415,8 +6404,8 @@ function rr(e, s, t, l, n, i) {
6415
6404
  o("div", Fn, [
6416
6405
  o("span", {
6417
6406
  style: ce({ color: t.primaryColor })
6418
- }, p(t.primaryLogoPrefix), 5),
6419
- o("span", Nn, p(t.primaryLogoText), 1)
6407
+ }, b(t.primaryLogoPrefix), 5),
6408
+ o("span", Nn, b(t.primaryLogoText), 1)
6420
6409
  ]),
6421
6410
  o("div", {
6422
6411
  class: "h-0.5 w-30 mx-auto lg:mx-0",
@@ -6427,70 +6416,51 @@ function rr(e, s, t, l, n, i) {
6427
6416
  o("div", {
6428
6417
  class: "flex items-center justify-center w-15 h-15 rounded-lg mr-4 text-white font-bold text-xl",
6429
6418
  style: ce({ backgroundColor: t.primaryColor })
6430
- }, p(t.secondaryLogoPrefix), 5),
6431
- o("span", _n, p(t.secondaryLogoText), 1)
6432
- ]),
6433
- s[0] || (s[0] = o("div", { class: "max-w-md mx-auto lg:mx-0" }, [
6434
- o("p", { class: "text-sm lg:text-base font-light text-white/70 italic leading-relaxed" })
6435
- ], -1))
6419
+ }, b(t.secondaryLogoPrefix), 5),
6420
+ o("span", _n, b(t.secondaryLogoText), 1)
6421
+ ])
6436
6422
  ]),
6437
6423
  o("div", Hn, [
6438
6424
  o("div", On, [
6439
- e.$slots["card-header"] || t.title ? (a(), r("div", qn, [
6440
- h(e.$slots, "card-header", {}, () => [
6441
- o("div", En, [
6442
- o("h1", Un, p(t.title), 1),
6443
- t.subtitle ? (a(), r("p", Zn, p(t.subtitle), 1)) : f("", !0)
6444
- ])
6445
- ])
6446
- ])) : f("", !0),
6447
- o("div", Gn, [
6448
- h(e.$slots, "default")
6449
- ]),
6450
- e.$slots["card-footer"] ? (a(), r("div", Kn, [
6451
- h(e.$slots, "card-footer")
6452
- ])) : f("", !0)
6453
- ]),
6454
- e.$slots.links ? (a(), r("div", Qn, [
6455
- h(e.$slots, "links")
6456
- ])) : f("", !0)
6425
+ y(c)
6426
+ ])
6457
6427
  ])
6458
6428
  ])
6459
6429
  ]),
6460
- o("div", Yn, [
6461
- o("div", Xn, [
6462
- o("div", Wn, [
6463
- o("div", Jn, p(t.companyName), 1),
6464
- o("div", er, p(t.companyType), 1),
6465
- o("div", tr, p(t.companyTagline), 1)
6430
+ o("div", qn, [
6431
+ o("div", En, [
6432
+ o("div", Un, [
6433
+ o("div", Zn, b(t.companyName), 1),
6434
+ o("div", Gn, b(t.companyType), 1),
6435
+ o("div", Kn, b(t.companyTagline), 1)
6466
6436
  ]),
6467
- o("div", ar, p(t.companyInitials), 1)
6437
+ o("div", Qn, b(t.companyInitials), 1)
6468
6438
  ]),
6469
- o("div", sr, [
6470
- o("div", null, p(t.appName) + " (" + p(t.appVersion) + ")", 1),
6471
- o("div", null, p(t.copyright), 1)
6439
+ o("div", Yn, [
6440
+ o("div", null, b(t.appName) + " (" + b(t.appVersion) + ")", 1),
6441
+ o("div", null, b(t.copyright), 1)
6472
6442
  ])
6473
6443
  ]),
6474
- 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([
6444
+ o("div", Xn, [
6445
+ (a(!0), r(Q, null, K(t.socialLinks, (m) => (a(), r("a", {
6446
+ key: m.name,
6447
+ href: m.url,
6448
+ class: d([
6479
6449
  "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"
6450
+ 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
6451
  ])
6482
6452
  }, [
6483
6453
  o("i", {
6484
- class: c(d.icon)
6454
+ class: d(m.icon)
6485
6455
  }, null, 2)
6486
- ], 10, nr))), 128))
6456
+ ], 10, Wn))), 128))
6487
6457
  ])
6488
6458
  ], 4);
6489
6459
  }
6490
- const or = /* @__PURE__ */ Ne(In, [["render", rr]]), ir = { class: "min-h-screen bg-gray-50" }, dr = { class: "flex-1" }, cr = {
6460
+ const er = /* @__PURE__ */ Ne(In, [["render", Jn]]), tr = { class: "min-h-screen bg-gray-50" }, ar = { class: "flex-1" }, sr = {
6491
6461
  key: 0,
6492
6462
  class: "bg-white border-b border-gray-200"
6493
- }, ur = { class: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4" }, mr = { class: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8" }, fr = {
6463
+ }, lr = { class: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4" }, nr = { class: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8" }, rr = {
6494
6464
  __name: "DefaultLayout",
6495
6465
  props: {
6496
6466
  navigationItems: {
@@ -6513,9 +6483,9 @@ const or = /* @__PURE__ */ Ne(In, [["render", rr]]), ir = { class: "min-h-screen
6513
6483
  },
6514
6484
  setup(e) {
6515
6485
  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");
6517
- return a(), r("div", ir, [
6518
- y(d, null, {
6486
+ const l = G("Logo"), n = G("MainNavigation"), i = G("Button"), c = G("Header"), m = G("Breadcrumb"), p = G("Text"), w = G("Footer");
6487
+ return a(), r("div", tr, [
6488
+ y(c, null, {
6519
6489
  logo: S(() => [
6520
6490
  h(s.$slots, "logo", {}, () => [
6521
6491
  y(l)
@@ -6547,15 +6517,15 @@ const or = /* @__PURE__ */ Ne(In, [["render", rr]]), ir = { class: "min-h-screen
6547
6517
  ]),
6548
6518
  _: 3
6549
6519
  }),
6550
- o("main", dr, [
6551
- e.showBreadcrumb ? (a(), r("div", cr, [
6552
- o("div", ur, [
6520
+ o("main", ar, [
6521
+ e.showBreadcrumb ? (a(), r("div", sr, [
6522
+ o("div", lr, [
6553
6523
  h(s.$slots, "breadcrumb", {}, () => [
6554
6524
  y(m, { items: e.breadcrumbItems }, null, 8, ["items"])
6555
6525
  ])
6556
6526
  ])
6557
6527
  ])) : f("", !0),
6558
- o("div", mr, [
6528
+ o("div", nr, [
6559
6529
  h(s.$slots, "default")
6560
6530
  ])
6561
6531
  ]),
@@ -6563,7 +6533,7 @@ const or = /* @__PURE__ */ Ne(In, [["render", rr]]), ir = { class: "min-h-screen
6563
6533
  brand: S(() => [
6564
6534
  h(s.$slots, "footer-brand", {}, () => [
6565
6535
  y(l, { class: "mb-4" }),
6566
- y(b, { class: "text-gray-600 max-w-md" }, {
6536
+ y(p, { class: "text-gray-600 max-w-md" }, {
6567
6537
  default: S(() => [...t[2] || (t[2] = [
6568
6538
  N(" Your application description goes here. ", -1)
6569
6539
  ])]),
@@ -6576,14 +6546,14 @@ const or = /* @__PURE__ */ Ne(In, [["render", rr]]), ir = { class: "min-h-screen
6576
6546
  ]);
6577
6547
  };
6578
6548
  }
6579
- }, vr = {
6549
+ }, or = {
6580
6550
  template: `
6581
6551
  <svg viewBox="0 0 200 200" fill="none" xmlns="http://www.w3.org/2000/svg">
6582
6552
  <circle cx="100" cy="100" r="80" fill="#f1f5f9" stroke="#cbd5e1" stroke-width="2"/>
6583
6553
  <text x="100" y="110" text-anchor="middle" font-size="48" font-weight="bold" fill="#64748b">404</text>
6584
6554
  </svg>
6585
6555
  `
6586
- }, gr = {
6556
+ }, ir = {
6587
6557
  template: `
6588
6558
  <svg viewBox="0 0 200 200" fill="none" xmlns="http://www.w3.org/2000/svg">
6589
6559
  <circle cx="100" cy="100" r="80" fill="#fef2f2" stroke="#fecaca" stroke-width="2"/>
@@ -6596,7 +6566,7 @@ const or = /* @__PURE__ */ Ne(In, [["render", rr]]), ir = { class: "min-h-screen
6596
6566
  <path stroke-linecap="round" stroke-linejoin="round" d="M12 9v3.75m9-.75a9 9 0 1 1-18 0 9 9 0 0 1 18 0Zm-9 3.75h.008v.008H12v-.008Z" />
6597
6567
  </svg>
6598
6568
  `
6599
- }, pr = {
6569
+ }, dr = {
6600
6570
  name: "ErrorPage",
6601
6571
  components: {
6602
6572
  Button: ee
@@ -6683,12 +6653,12 @@ const or = /* @__PURE__ */ Ne(In, [["render", rr]]), ir = { class: "min-h-screen
6683
6653
  404: {
6684
6654
  title: "Page Not Found",
6685
6655
  message: "Sorry, we couldn't find the page you're looking for.",
6686
- icon: vr
6656
+ icon: or
6687
6657
  },
6688
6658
  500: {
6689
6659
  title: "Server Error",
6690
6660
  message: "Something went wrong on our end. Please try again later.",
6691
- icon: gr
6661
+ icon: ir
6692
6662
  },
6693
6663
  403: {
6694
6664
  title: "Access Denied",
@@ -6702,11 +6672,11 @@ const or = /* @__PURE__ */ Ne(In, [["render", rr]]), ir = { class: "min-h-screen
6702
6672
  }
6703
6673
  };
6704
6674
  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 = () => {
6675
+ }), l = u(() => t.value.icon), n = u(() => e.errorTitle || t.value.title), i = u(() => e.errorMessage || t.value.message), c = () => {
6706
6676
  window.history.length > 1 ? window.history.back() : window.location.href = e.homeUrl, s("back");
6707
6677
  }, m = () => {
6708
6678
  window.location.reload(), s("retry");
6709
- }, b = u(() => [
6679
+ }, p = u(() => [
6710
6680
  "min-h-screen relative flex items-center justify-center",
6711
6681
  "px-4 sm:px-6 lg:px-8"
6712
6682
  ]), w = u(() => [
@@ -6738,9 +6708,9 @@ const or = /* @__PURE__ */ Ne(In, [["render", rr]]), ir = { class: "min-h-screen
6738
6708
  errorIcon: l,
6739
6709
  errorTitle: n,
6740
6710
  errorMessage: i,
6741
- goBack: d,
6711
+ goBack: c,
6742
6712
  retry: m,
6743
- layoutClasses: b,
6713
+ layoutClasses: p,
6744
6714
  backgroundClasses: w,
6745
6715
  contentClasses: C,
6746
6716
  headerClasses: j,
@@ -6755,111 +6725,111 @@ const or = /* @__PURE__ */ Ne(In, [["render", rr]]), ir = { class: "min-h-screen
6755
6725
  helpClasses: P
6756
6726
  };
6757
6727
  }
6758
- }, 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
- function Cr(e, s, t, l, n, i) {
6760
- const d = G("Button");
6728
+ }, cr = { class: "flex justify-center" }, ur = { class: "flex items-center gap-3" }, mr = { class: "text-2xl font-bold text-slate-900" }, fr = { class: "flex flex-col sm:flex-row gap-3 justify-center" }, vr = { class: "text-sm text-slate-600" }, gr = ["href"];
6729
+ function pr(e, s, t, l, n, i) {
6730
+ const c = G("Button");
6761
6731
  return a(), r("div", {
6762
- class: c(l.layoutClasses)
6732
+ class: d(l.layoutClasses)
6763
6733
  }, [
6764
6734
  t.showBackground ? (a(), r("div", {
6765
6735
  key: 0,
6766
- class: c(l.backgroundClasses)
6736
+ class: d(l.backgroundClasses)
6767
6737
  }, [
6768
6738
  h(e.$slots, "background", {}, () => [
6769
6739
  s[0] || (s[0] = o("div", { class: "absolute inset-0 bg-gradient-to-br from-slate-50 to-slate-100" }, null, -1))
6770
6740
  ])
6771
6741
  ], 2)) : f("", !0),
6772
6742
  o("div", {
6773
- class: c(l.contentClasses)
6743
+ class: d(l.contentClasses)
6774
6744
  }, [
6775
6745
  e.$slots.header || t.showLogo ? (a(), r("div", {
6776
6746
  key: 0,
6777
- class: c(l.headerClasses)
6747
+ class: d(l.headerClasses)
6778
6748
  }, [
6779
6749
  h(e.$slots, "header", {}, () => [
6780
- o("div", br, [
6750
+ o("div", cr, [
6781
6751
  h(e.$slots, "logo", {}, () => [
6782
- o("div", hr, [
6752
+ o("div", ur, [
6783
6753
  s[1] || (s[1] = o("div", { class: "w-10 h-10 bg-blue-600 rounded-xl flex items-center justify-center" }, [
6784
6754
  o("span", { class: "text-white font-bold text-lg" }, "STL")
6785
6755
  ], -1)),
6786
- o("span", yr, p(t.brandName), 1)
6756
+ o("span", mr, b(t.brandName), 1)
6787
6757
  ])
6788
6758
  ])
6789
6759
  ])
6790
6760
  ])
6791
6761
  ], 2)) : f("", !0),
6792
6762
  o("div", {
6793
- class: c(l.errorContentClasses)
6763
+ class: d(l.errorContentClasses)
6794
6764
  }, [
6795
6765
  e.$slots.illustration || t.showDefaultIllustration ? (a(), r("div", {
6796
6766
  key: 0,
6797
- class: c(l.illustrationClasses)
6767
+ class: d(l.illustrationClasses)
6798
6768
  }, [
6799
6769
  h(e.$slots, "illustration", {}, () => [
6800
6770
  (a(), M(X(l.errorIcon), {
6801
- class: c(l.iconClasses)
6771
+ class: d(l.iconClasses)
6802
6772
  }, null, 8, ["class"]))
6803
6773
  ])
6804
6774
  ], 2)) : f("", !0),
6805
6775
  o("div", {
6806
- class: c(l.detailsClasses)
6776
+ class: d(l.detailsClasses)
6807
6777
  }, [
6808
6778
  o("h1", {
6809
- class: c(l.titleClasses)
6779
+ class: d(l.titleClasses)
6810
6780
  }, [
6811
6781
  h(e.$slots, "title", {}, () => [
6812
- N(p(l.errorTitle), 1)
6782
+ N(b(l.errorTitle), 1)
6813
6783
  ])
6814
6784
  ], 2),
6815
6785
  o("p", {
6816
- class: c(l.messageClasses)
6786
+ class: d(l.messageClasses)
6817
6787
  }, [
6818
6788
  h(e.$slots, "message", {}, () => [
6819
- N(p(l.errorMessage), 1)
6789
+ N(b(l.errorMessage), 1)
6820
6790
  ])
6821
6791
  ], 2),
6822
6792
  t.errorCode ? (a(), r("div", {
6823
6793
  key: 0,
6824
- class: c(l.codeClasses)
6825
- }, " Error Code: " + p(t.errorCode), 3)) : f("", !0)
6794
+ class: d(l.codeClasses)
6795
+ }, " Error Code: " + b(t.errorCode), 3)) : f("", !0)
6826
6796
  ], 2),
6827
6797
  e.$slots.actions || t.showDefaultActions ? (a(), r("div", {
6828
6798
  key: 1,
6829
- class: c(l.actionsClasses)
6799
+ class: d(l.actionsClasses)
6830
6800
  }, [
6831
6801
  h(e.$slots, "actions", {}, () => [
6832
- o("div", xr, [
6833
- t.showHomeButton ? (a(), M(d, {
6802
+ o("div", fr, [
6803
+ t.showHomeButton ? (a(), M(c, {
6834
6804
  key: 0,
6835
6805
  href: t.homeUrl,
6836
6806
  variant: "primary",
6837
6807
  size: "lg"
6838
6808
  }, {
6839
6809
  default: S(() => [
6840
- N(p(t.homeButtonText), 1)
6810
+ N(b(t.homeButtonText), 1)
6841
6811
  ]),
6842
6812
  _: 1
6843
6813
  }, 8, ["href"])) : f("", !0),
6844
- t.showBackButton ? (a(), M(d, {
6814
+ t.showBackButton ? (a(), M(c, {
6845
6815
  key: 1,
6846
6816
  variant: "outline",
6847
6817
  size: "lg",
6848
6818
  onClick: l.goBack
6849
6819
  }, {
6850
6820
  default: S(() => [
6851
- N(p(t.backButtonText), 1)
6821
+ N(b(t.backButtonText), 1)
6852
6822
  ]),
6853
6823
  _: 1
6854
6824
  }, 8, ["onClick"])) : f("", !0),
6855
- t.showRetryButton ? (a(), M(d, {
6825
+ t.showRetryButton ? (a(), M(c, {
6856
6826
  key: 2,
6857
6827
  variant: "ghost",
6858
6828
  size: "lg",
6859
6829
  onClick: l.retry
6860
6830
  }, {
6861
6831
  default: S(() => [
6862
- N(p(t.retryButtonText), 1)
6832
+ N(b(t.retryButtonText), 1)
6863
6833
  ]),
6864
6834
  _: 1
6865
6835
  }, 8, ["onClick"])) : f("", !0)
@@ -6868,16 +6838,16 @@ function Cr(e, s, t, l, n, i) {
6868
6838
  ], 2)) : f("", !0),
6869
6839
  e.$slots.help || t.helpText ? (a(), r("div", {
6870
6840
  key: 2,
6871
- class: c(l.helpClasses)
6841
+ class: d(l.helpClasses)
6872
6842
  }, [
6873
6843
  h(e.$slots, "help", {}, () => [
6874
- o("p", kr, [
6875
- N(p(t.helpText) + " ", 1),
6844
+ o("p", vr, [
6845
+ N(b(t.helpText) + " ", 1),
6876
6846
  t.supportUrl ? (a(), r("a", {
6877
6847
  key: 0,
6878
6848
  href: t.supportUrl,
6879
6849
  class: "text-blue-600 hover:text-blue-700 underline ml-1"
6880
- }, " Contact Support ", 8, wr)) : f("", !0)
6850
+ }, " Contact Support ", 8, gr)) : f("", !0)
6881
6851
  ])
6882
6852
  ])
6883
6853
  ], 2)) : f("", !0)
@@ -6885,7 +6855,7 @@ function Cr(e, s, t, l, n, i) {
6885
6855
  ], 2)
6886
6856
  ], 2);
6887
6857
  }
6888
- const $r = /* @__PURE__ */ Ne(pr, [["render", Cr]]), Be = {
6858
+ const br = /* @__PURE__ */ Ne(dr, [["render", pr]]), Be = {
6889
6859
  Avatar: Ke,
6890
6860
  Badge: Ye,
6891
6861
  Button: ee,
@@ -6951,10 +6921,10 @@ const $r = /* @__PURE__ */ Ne(pr, [["render", Cr]]), Be = {
6951
6921
  Sidebar: $n,
6952
6922
  Timeline: Sn,
6953
6923
  TimelineItem: jn,
6954
- AuthLayout: or,
6955
- DefaultLayout: fr,
6956
- ErrorLayout: $r
6957
- }, Vr = {
6924
+ AuthLayout: er,
6925
+ DefaultLayout: rr,
6926
+ ErrorLayout: br
6927
+ }, kr = {
6958
6928
  install(e, s = {}) {
6959
6929
  const { prefix: t = "" } = s;
6960
6930
  Object.keys(Be).forEach((l) => {
@@ -6967,7 +6937,7 @@ export {
6967
6937
  Gs as Accordion,
6968
6938
  Ks as AccordionItem,
6969
6939
  Rt as Alert,
6970
- or as AuthLayout,
6940
+ er as AuthLayout,
6971
6941
  Ke as Avatar,
6972
6942
  Ye as Badge,
6973
6943
  Ot as Breadcrumb,
@@ -6989,11 +6959,11 @@ export {
6989
6959
  Pe as DataTableRow,
6990
6960
  an as DataTableToolBar,
6991
6961
  ra as DatePicker,
6992
- fr as DefaultLayout,
6962
+ rr as DefaultLayout,
6993
6963
  rt as Divider,
6994
6964
  ia as Dropdown,
6995
6965
  ca as DropdownItem,
6996
- $r as ErrorLayout,
6966
+ br as ErrorLayout,
6997
6967
  xa as FileUpload,
6998
6968
  un as Footer,
6999
6969
  za as FormField,
@@ -7033,7 +7003,7 @@ export {
7033
7003
  It as Tooltip,
7034
7004
  he as Typography,
7035
7005
  v as cn,
7036
- Vr as default,
7006
+ kr as default,
7037
7007
  Se as toast,
7038
7008
  as as useToaster
7039
7009
  };