@stlhorizon/vue-ui 3.25.11 → 3.25.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as Aa, computed as y, watch as ye, h as ve, createBlock as W, openBlock as s, unref as Z, normalizeClass as m, ref as U, createElementBlock as i, toDisplayString as w, createCommentVNode as v, renderSlot as q, resolveDynamicComponent as Be, createVNode as P, mergeProps as zt, createElementVNode as l, useId as Da, createTextVNode as oe, withCtx as J, normalizeStyle as be, onMounted as Oe, onUnmounted as Ne, Teleport as gt, withDirectives as Ge, withKeys as ia, withModifiers as $e, vModelText as rt, Fragment as Y, renderList as X, nextTick as ft, Transition as we, onBeforeUnmount as Tn, reactive as Bn, resolveComponent as Ce, markRaw as jn, TransitionGroup as Ks, provide as Xs, inject as Pn, vShow as On, getCurrentInstance as Js, createStaticVNode as Qs } from "vue";
1
+ import { defineComponent as Aa, computed as y, watch as ye, h as ve, createBlock as W, openBlock as s, unref as Z, normalizeClass as m, ref as U, createElementBlock as i, toDisplayString as w, createCommentVNode as v, renderSlot as q, resolveDynamicComponent as Be, createVNode as P, mergeProps as zt, createElementVNode as l, useId as Da, createTextVNode as oe, withCtx as J, normalizeStyle as be, onMounted as Oe, onUnmounted as Ne, Teleport as gt, withDirectives as Ge, withKeys as ia, withModifiers as $e, vModelText as rt, Fragment as H, renderList as X, nextTick as ft, Transition as we, onBeforeUnmount as Tn, reactive as Bn, resolveComponent as Ce, markRaw as jn, TransitionGroup as Ks, provide as Xs, inject as Pn, vShow as On, getCurrentInstance as Js, createStaticVNode as Qs } from "vue";
2
2
  import { cva as ee } from "class-variance-authority";
3
3
  import { clsx as Zs } from "clsx";
4
4
  function O(...e) {
@@ -5240,7 +5240,7 @@ const Q = {
5240
5240
  ])
5241
5241
  ]),
5242
5242
  x.value.length > 0 ? (s(), i("div", gu, [
5243
- (s(!0), i(Y, null, X(x.value, (R) => (s(), i("button", {
5243
+ (s(!0), i(H, null, X(x.value, (R) => (s(), i("button", {
5244
5244
  key: R.value,
5245
5245
  type: "button",
5246
5246
  class: m(["cursor-pointer select-none relative py-2 pl-3 pr-9 w-full text-left hover:bg-blue-50 focus:bg-blue-50 focus:outline-none transition-colors duration-150", { "bg-blue-50 text-blue-900": e.modelValue === R.value }]),
@@ -6116,7 +6116,7 @@ const Q = {
6116
6116
  ], 2),
6117
6117
  S.$slots.actions || e.actions.length > 0 ? (s(), i("div", Mu, [
6118
6118
  q(S.$slots, "actions", {}, () => [
6119
- (s(!0), i(Y, null, X(e.actions, (z) => (s(), W(Se, {
6119
+ (s(!0), i(H, null, X(e.actions, (z) => (s(), W(Se, {
6120
6120
  key: z.label,
6121
6121
  variant: z.variant || "outline",
6122
6122
  size: z.size || "sm",
@@ -6182,7 +6182,7 @@ const Q = {
6182
6182
  class: m(["flex", n.value])
6183
6183
  }, [
6184
6184
  l("ol", Bu, [
6185
- (s(!0), i(Y, null, X(e.items, (u, d) => (s(), i("li", {
6185
+ (s(!0), i(H, null, X(e.items, (u, d) => (s(), i("li", {
6186
6186
  key: d,
6187
6187
  class: "flex items-center"
6188
6188
  }, [
@@ -6823,7 +6823,7 @@ const Q = {
6823
6823
  async function E() {
6824
6824
  t.disabled || (r.value = !r.value, r.value && await ne());
6825
6825
  }
6826
- function H() {
6826
+ function Y() {
6827
6827
  r.value = !1;
6828
6828
  }
6829
6829
  function b() {
@@ -6860,7 +6860,7 @@ const Q = {
6860
6860
  r.value && ne();
6861
6861
  }
6862
6862
  function f(K) {
6863
- K.key === "Escape" && r.value && H();
6863
+ K.key === "Escape" && r.value && Y();
6864
6864
  }
6865
6865
  return Oe(() => {
6866
6866
  document.addEventListener("keydown", f), window.addEventListener("resize", p);
@@ -6985,17 +6985,17 @@ const Q = {
6985
6985
  ])])
6986
6986
  ]),
6987
6987
  l("div", od, [
6988
- (s(), i(Y, null, X(_, (ce) => l("div", {
6988
+ (s(), i(H, null, X(_, (ce) => l("div", {
6989
6989
  key: ce,
6990
6990
  class: "text-center text-xs font-medium text-slate-500 py-1"
6991
6991
  }, w(ce), 1)), 64))
6992
6992
  ]),
6993
6993
  l("div", id, [
6994
- (s(!0), i(Y, null, X(S.value, (ce, ae) => (s(), i("div", {
6994
+ (s(!0), i(H, null, X(S.value, (ce, ae) => (s(), i("div", {
6995
6995
  key: "prev-" + ae,
6996
6996
  class: "text-center text-xs text-slate-300 py-1.5"
6997
6997
  }, w(ce), 1))), 128)),
6998
- (s(!0), i(Y, null, X(j.value, (ce) => (s(), i("button", {
6998
+ (s(!0), i(H, null, X(j.value, (ce) => (s(), i("button", {
6999
6999
  key: ce,
7000
7000
  type: "button",
7001
7001
  disabled: R(ce),
@@ -7007,7 +7007,7 @@ const Q = {
7007
7007
  ]),
7008
7008
  onClick: (ae) => h(ce)
7009
7009
  }, w(ce), 11, ud))), 128)),
7010
- (s(!0), i(Y, null, X(k.value, (ce, ae) => (s(), i("div", {
7010
+ (s(!0), i(H, null, X(k.value, (ce, ae) => (s(), i("div", {
7011
7011
  key: "next-" + ae,
7012
7012
  class: "text-center text-xs text-slate-300 py-1.5"
7013
7013
  }, w(ce), 1))), 128))
@@ -7026,7 +7026,7 @@ const Q = {
7026
7026
  r.value ? (s(), i("div", {
7027
7027
  key: 0,
7028
7028
  class: "fixed inset-0 z-[9999]",
7029
- onClick: H
7029
+ onClick: Y
7030
7030
  })) : v("", !0)
7031
7031
  ]))
7032
7032
  ]));
@@ -7252,8 +7252,8 @@ const Q = {
7252
7252
  uploading: !0
7253
7253
  }));
7254
7254
  d.value.push(...V), V.forEach((F) => {
7255
- const R = 2e3 + Math.random() * 2e3, re = 50, E = 100 / (R / re), H = setInterval(() => {
7256
- F.progress += E, F.progress >= 100 && (F.progress = 100, F.uploading = !1, clearInterval(H), t.multiple ? (r.value.push(F.file), n("files-selected", r.value)) : (r.value = [F.file], n("files-selected", F.file)), d.value.splice(d.value.indexOf(F), 1));
7255
+ const R = 2e3 + Math.random() * 2e3, re = 50, E = 100 / (R / re), Y = setInterval(() => {
7256
+ F.progress += E, F.progress >= 100 && (F.progress = 100, F.uploading = !1, clearInterval(Y), t.multiple ? (r.value.push(F.file), n("files-selected", r.value)) : (r.value = [F.file], n("files-selected", F.file)), d.value.splice(d.value.indexOf(F), 1));
7257
7257
  }, re);
7258
7258
  });
7259
7259
  }, k = (D) => {
@@ -7302,7 +7302,7 @@ const Q = {
7302
7302
  ])
7303
7303
  ], 34)) : v("", !0),
7304
7304
  r.value.length > 0 || d.value.length > 0 ? (s(), i("div", kd, [
7305
- (s(!0), i(Y, null, X(d.value, (V, F) => (s(), i("div", {
7305
+ (s(!0), i(H, null, X(d.value, (V, F) => (s(), i("div", {
7306
7306
  key: `uploading-${F}`,
7307
7307
  class: "flex items-center justify-between p-3 bg-white border border-gray-200 rounded-lg shadow-sm"
7308
7308
  }, [
@@ -7321,7 +7321,7 @@ const Q = {
7321
7321
  ])
7322
7322
  ])
7323
7323
  ]))), 128)),
7324
- (s(!0), i(Y, null, X(r.value, (V, F) => (s(), i("div", {
7324
+ (s(!0), i(H, null, X(r.value, (V, F) => (s(), i("div", {
7325
7325
  key: `uploaded-${F}`,
7326
7326
  class: "flex items-center justify-between p-3 bg-white border border-gray-200 rounded-lg shadow-sm hover:shadow-md transition-shadow"
7327
7327
  }, [
@@ -8177,7 +8177,7 @@ const dc = {
8177
8177
  class: "space-y-2"
8178
8178
  }, {
8179
8179
  default: J(() => [
8180
- (s(!0), i(Y, null, X(Z(t), (S) => (s(), i("div", {
8180
+ (s(!0), i(H, null, X(Z(t), (S) => (s(), i("div", {
8181
8181
  key: S.id,
8182
8182
  class: m([d(S), "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"]),
8183
8183
  role: "alert",
@@ -8323,9 +8323,9 @@ const dc = {
8323
8323
  ]);
8324
8324
  }
8325
8325
  }, o = e, u = a, d = U(null), c = U(null), x = U(!1), C = U(-1), A = U(null), _ = (E) => {
8326
- const H = E.target.value;
8327
- u("update:modelValue", H), A.value && clearTimeout(A.value), A.value = setTimeout(() => {
8328
- H.length >= o.minLength ? (u("search", H), x.value = !0) : x.value = !1;
8326
+ const Y = E.target.value;
8327
+ u("update:modelValue", Y), A.value && clearTimeout(A.value), A.value = setTimeout(() => {
8328
+ Y.length >= o.minLength ? (u("search", Y), x.value = !0) : x.value = !1;
8329
8329
  }, o.debounce);
8330
8330
  }, T = (E) => {
8331
8331
  u("focus", E), o.modelValue.length >= o.minLength && (x.value = !0);
@@ -8355,8 +8355,8 @@ const dc = {
8355
8355
  }
8356
8356
  }, z = (E) => {
8357
8357
  if (!o.highlightMatches || !o.modelValue || !E) return E;
8358
- const H = new RegExp(`(${o.modelValue})`, "gi");
8359
- return E.replace(H, "$1");
8358
+ const Y = new RegExp(`(${o.modelValue})`, "gi");
8359
+ return E.replace(Y, "$1");
8360
8360
  }, D = ee(
8361
8361
  "block w-full rounded-lg border bg-white transition-colors duration-200 placeholder:text-slate-400 disabled:bg-slate-50 disabled:text-slate-500 disabled:cursor-not-allowed focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500",
8362
8362
  {
@@ -8388,7 +8388,7 @@ const dc = {
8388
8388
  };
8389
8389
  return Oe(() => document.addEventListener("click", ne)), Ne(() => {
8390
8390
  document.removeEventListener("click", ne), A.value && clearTimeout(A.value);
8391
- }), ye(() => o.results, () => C.value = -1), (E, H) => (s(), i("div", {
8391
+ }), ye(() => o.results, () => C.value = -1), (E, Y) => (s(), i("div", {
8392
8392
  ref_key: "searchRef",
8393
8393
  ref: d,
8394
8394
  class: "relative"
@@ -8438,7 +8438,7 @@ const dc = {
8438
8438
  class: m(R.value)
8439
8439
  }, [
8440
8440
  e.results.length > 0 ? (s(), i("div", Ac, [
8441
- (s(!0), i(Y, null, X(e.results, (b, $) => (s(), i("button", {
8441
+ (s(!0), i(H, null, X(e.results, (b, $) => (s(), i("button", {
8442
8442
  key: b.id || $,
8443
8443
  class: m(re($)),
8444
8444
  onClick: (h) => S(b),
@@ -8572,7 +8572,7 @@ const dc = {
8572
8572
  }
8573
8573
  }), (c, x) => (s(), i("div", Hc, [
8574
8574
  l("div", Wc, [
8575
- (s(!0), i(Y, null, X(o.value, (C, A) => (s(), i("button", {
8575
+ (s(!0), i(H, null, X(o.value, (C, A) => (s(), i("button", {
8576
8576
  id: `tab-${A}`,
8577
8577
  key: A,
8578
8578
  disabled: t.loading,
@@ -8752,7 +8752,7 @@ const dc = {
8752
8752
  ), (z, D) => (s(), i("div", {
8753
8753
  class: m(T.value)
8754
8754
  }, [
8755
- (s(!0), i(Y, null, X(e.items, (L, V) => (s(), i("div", {
8755
+ (s(!0), i(H, null, X(e.items, (L, V) => (s(), i("div", {
8756
8756
  key: L.id || V,
8757
8757
  class: m(j.value)
8758
8758
  }, [
@@ -9018,13 +9018,13 @@ const dc = {
9018
9018
  } else
9019
9019
  c.value = null;
9020
9020
  }, { immediate: !0 });
9021
- function H(b) {
9021
+ function Y(b) {
9022
9022
  b.key === "Escape" && r.value && V();
9023
9023
  }
9024
9024
  return Oe(() => {
9025
- document.addEventListener("keydown", H);
9025
+ document.addEventListener("keydown", Y);
9026
9026
  }), Tn(() => {
9027
- document.removeEventListener("keydown", H);
9027
+ document.removeEventListener("keydown", Y);
9028
9028
  }), (b, $) => (s(), i("div", of, [
9029
9029
  l("div", uf, [
9030
9030
  l("input", {
@@ -9135,17 +9135,17 @@ const dc = {
9135
9135
  ])])
9136
9136
  ]),
9137
9137
  l("div", mf, [
9138
- (s(), i(Y, null, X(x, (h) => l("div", {
9138
+ (s(), i(H, null, X(x, (h) => l("div", {
9139
9139
  key: h,
9140
9140
  class: "text-center text-xs font-medium text-slate-600 py-1"
9141
9141
  }, w(h), 1)), 64))
9142
9142
  ]),
9143
9143
  l("div", gf, [
9144
- (s(!0), i(Y, null, X(T.value, (h, B) => (s(), i("div", {
9144
+ (s(!0), i(H, null, X(T.value, (h, B) => (s(), i("div", {
9145
9145
  key: "prev-" + B,
9146
9146
  class: "text-center text-sm text-slate-300 py-2"
9147
9147
  }, w(h), 1))), 128)),
9148
- (s(!0), i(Y, null, X(A.value, (h) => (s(), i("button", {
9148
+ (s(!0), i(H, null, X(A.value, (h) => (s(), i("button", {
9149
9149
  key: h,
9150
9150
  type: "button",
9151
9151
  disabled: D(h),
@@ -9156,7 +9156,7 @@ const dc = {
9156
9156
  ]),
9157
9157
  onClick: (B) => re(h)
9158
9158
  }, w(h), 11, vf))), 128)),
9159
- (s(!0), i(Y, null, X(j.value, (h, B) => (s(), i("div", {
9159
+ (s(!0), i(H, null, X(j.value, (h, B) => (s(), i("div", {
9160
9160
  key: "next-" + B,
9161
9161
  class: "text-center text-sm text-slate-300 py-2"
9162
9162
  }, w(h), 1))), 128))
@@ -9449,7 +9449,7 @@ const dc = {
9449
9449
  class: "overflow-visible"
9450
9450
  }, [
9451
9451
  e.showGrid ? (s(), i("g", zf, [
9452
- (s(!0), i(Y, null, X(C.value, (V) => (s(), i("line", {
9452
+ (s(!0), i(H, null, X(C.value, (V) => (s(), i("line", {
9453
9453
  key: `grid-${V}`,
9454
9454
  x1: e.padding.left,
9455
9455
  y1: V,
@@ -9462,7 +9462,7 @@ const dc = {
9462
9462
  }, null, 8, Af))), 128))
9463
9463
  ])) : v("", !0),
9464
9464
  l("defs", null, [
9465
- (s(!0), i(Y, null, X(e.data, (V, F) => (s(), i("linearGradient", {
9465
+ (s(!0), i(H, null, X(e.data, (V, F) => (s(), i("linearGradient", {
9466
9466
  id: `barGradient-${F}`,
9467
9467
  key: `gradient-${F}`,
9468
9468
  x1: "0%",
@@ -9483,7 +9483,7 @@ const dc = {
9483
9483
  ], 8, Df))), 128))
9484
9484
  ]),
9485
9485
  l("g", null, [
9486
- (s(!0), i(Y, null, X(e.data, (V, F) => (s(), i("rect", {
9486
+ (s(!0), i(H, null, X(e.data, (V, F) => (s(), i("rect", {
9487
9487
  key: `bar-${F}`,
9488
9488
  x: A(F),
9489
9489
  y: _(V),
@@ -9513,7 +9513,7 @@ const dc = {
9513
9513
  ], 42, Ff))), 128))
9514
9514
  ]),
9515
9515
  e.showXAxis ? (s(), i("g", jf, [
9516
- (s(!0), i(Y, null, X(e.labels, (V, F) => (s(), i("text", {
9516
+ (s(!0), i(H, null, X(e.labels, (V, F) => (s(), i("text", {
9517
9517
  key: `xlabel-${F}`,
9518
9518
  x: A(F) + c.value / 2,
9519
9519
  y: e.height - e.padding.bottom + 20,
@@ -9530,7 +9530,7 @@ const dc = {
9530
9530
  }, w(e.xAxisLabel), 9, _f)
9531
9531
  ])) : v("", !0),
9532
9532
  e.showYAxis ? (s(), i("g", Lf, [
9533
- (s(!0), i(Y, null, X(C.value, (V) => (s(), i("text", {
9533
+ (s(!0), i(H, null, X(C.value, (V) => (s(), i("text", {
9534
9534
  key: `ylabel-${V}`,
9535
9535
  x: e.padding.left - 10,
9536
9536
  y: V + 4,
@@ -9746,7 +9746,7 @@ const dc = {
9746
9746
  class: "overflow-visible"
9747
9747
  }, [
9748
9748
  e.showGrid ? (s(), i("g", Jf, [
9749
- (s(!0), i(Y, null, X(x.value, (k) => (s(), i("line", {
9749
+ (s(!0), i(H, null, X(x.value, (k) => (s(), i("line", {
9750
9750
  key: `grid-${k}`,
9751
9751
  x1: e.padding.left,
9752
9752
  y1: k,
@@ -9765,7 +9765,7 @@ const dc = {
9765
9765
  class: m(e.lineClasses)
9766
9766
  }, null, 10, Zf),
9767
9767
  e.showPoints ? (s(), i("g", em, [
9768
- (s(!0), i(Y, null, X(u.value, (k, z) => (s(), i("circle", {
9768
+ (s(!0), i(H, null, X(u.value, (k, z) => (s(), i("circle", {
9769
9769
  key: `point-${z}`,
9770
9770
  cx: k.x,
9771
9771
  cy: k.y,
@@ -9785,7 +9785,7 @@ const dc = {
9785
9785
  "fill-opacity": e.fillOpacity
9786
9786
  }, null, 8, am)) : v("", !0),
9787
9787
  e.showXAxis ? (s(), i("g", nm, [
9788
- (s(!0), i(Y, null, X(e.labels, (k, z) => (s(), i("text", {
9788
+ (s(!0), i(H, null, X(e.labels, (k, z) => (s(), i("text", {
9789
9789
  key: `xlabel-${z}`,
9790
9790
  x: C(z),
9791
9791
  y: e.height - e.padding.bottom + 20,
@@ -9794,7 +9794,7 @@ const dc = {
9794
9794
  }, w(k), 11, sm))), 128))
9795
9795
  ])) : v("", !0),
9796
9796
  e.showYAxis ? (s(), i("g", rm, [
9797
- (s(!0), i(Y, null, X(x.value, (k) => (s(), i("text", {
9797
+ (s(!0), i(H, null, X(x.value, (k) => (s(), i("text", {
9798
9798
  key: `ylabel-${k}`,
9799
9799
  x: e.padding.left - 10,
9800
9800
  y: k + 4,
@@ -9908,7 +9908,7 @@ const dc = {
9908
9908
  });
9909
9909
  }
9910
9910
  if (d.value) {
9911
- const E = t.dataSources.find((H) => H.value === d.value);
9911
+ const E = t.dataSources.find((Y) => Y.value === d.value);
9912
9912
  ne.push({
9913
9913
  key: "dataSource",
9914
9914
  label: "Data Source",
@@ -9971,7 +9971,7 @@ const dc = {
9971
9971
  class: "absolute left-3 top-1/2 transform -translate-y-1/2 w-4 h-4 text-gray-400"
9972
9972
  }),
9973
9973
  Ge(l("input", {
9974
- "onUpdate:modelValue": E[0] || (E[0] = (H) => r.value = H),
9974
+ "onUpdate:modelValue": E[0] || (E[0] = (Y) => r.value = Y),
9975
9975
  type: "date",
9976
9976
  class: m(_.value),
9977
9977
  placeholder: "From date"
@@ -9986,7 +9986,7 @@ const dc = {
9986
9986
  class: "absolute left-3 top-1/2 transform -translate-y-1/2 w-4 h-4 text-gray-400"
9987
9987
  }),
9988
9988
  Ge(l("input", {
9989
- "onUpdate:modelValue": E[1] || (E[1] = (H) => o.value = H),
9989
+ "onUpdate:modelValue": E[1] || (E[1] = (Y) => o.value = Y),
9990
9990
  type: "date",
9991
9991
  class: m(_.value),
9992
9992
  placeholder: "To date"
@@ -9999,7 +9999,7 @@ const dc = {
9999
9999
  l("div", vm, [
10000
10000
  P(Ye, {
10001
10001
  modelValue: u.value,
10002
- "onUpdate:modelValue": E[2] || (E[2] = (H) => u.value = H),
10002
+ "onUpdate:modelValue": E[2] || (E[2] = (Y) => u.value = Y),
10003
10003
  class: m(T.value),
10004
10004
  onChange: V
10005
10005
  }, {
@@ -10020,16 +10020,16 @@ const dc = {
10020
10020
  l("div", bm, [
10021
10021
  P(Ye, {
10022
10022
  modelValue: d.value,
10023
- "onUpdate:modelValue": E[3] || (E[3] = (H) => d.value = H),
10023
+ "onUpdate:modelValue": E[3] || (E[3] = (Y) => d.value = Y),
10024
10024
  class: m(T.value),
10025
10025
  onChange: F
10026
10026
  }, {
10027
10027
  default: J(() => [
10028
10028
  E[8] || (E[8] = l("option", { value: "" }, " All Sources ", -1)),
10029
- (s(!0), i(Y, null, X(e.dataSources, (H) => (s(), i("option", {
10030
- key: H.value,
10031
- value: H.value
10032
- }, w(H.label), 9, pm))), 128))
10029
+ (s(!0), i(H, null, X(e.dataSources, (Y) => (s(), i("option", {
10030
+ key: Y.value,
10031
+ value: Y.value
10032
+ }, w(Y.label), 9, pm))), 128))
10033
10033
  ]),
10034
10034
  _: 1
10035
10035
  }, 8, ["modelValue", "class"]),
@@ -10060,7 +10060,7 @@ const dc = {
10060
10060
  e.showExport ? (s(), W(Se, {
10061
10061
  key: 1,
10062
10062
  class: m(M.value),
10063
- onClick: E[4] || (E[4] = (H) => ne.$emit("export"))
10063
+ onClick: E[4] || (E[4] = (Y) => ne.$emit("export"))
10064
10064
  }, {
10065
10065
  default: J(() => [
10066
10066
  P(Q, {
@@ -10074,7 +10074,7 @@ const dc = {
10074
10074
  e.showRefresh ? (s(), W(Se, {
10075
10075
  key: 2,
10076
10076
  class: m(S.value),
10077
- onClick: E[5] || (E[5] = (H) => ne.$emit("refresh"))
10077
+ onClick: E[5] || (E[5] = (Y) => ne.$emit("refresh"))
10078
10078
  }, {
10079
10079
  default: J(() => [
10080
10080
  P(Q, {
@@ -10095,18 +10095,18 @@ const dc = {
10095
10095
  l("span", {
10096
10096
  class: m(z.value)
10097
10097
  }, "Active filters:", 2),
10098
- (s(!0), i(Y, null, X(C.value, (H) => (s(), i("div", {
10099
- key: H.key,
10098
+ (s(!0), i(H, null, X(C.value, (Y) => (s(), i("div", {
10099
+ key: Y.key,
10100
10100
  class: m(D.value)
10101
10101
  }, [
10102
10102
  P(Q, {
10103
- icon: H.icon,
10103
+ icon: Y.icon,
10104
10104
  class: "w-3 h-3"
10105
10105
  }, null, 8, ["icon"]),
10106
- l("span", null, w(H.label) + ": " + w(H.value), 1),
10106
+ l("span", null, w(Y.label) + ": " + w(Y.value), 1),
10107
10107
  l("button", {
10108
10108
  class: m(L.value),
10109
- onClick: (b) => re(H.key)
10109
+ onClick: (b) => re(Y.key)
10110
10110
  }, [
10111
10111
  P(Q, {
10112
10112
  icon: "xmark",
@@ -10403,7 +10403,7 @@ const dc = {
10403
10403
  "onUpdate:modelValue": j[0] || (j[0] = (M) => T.$emit("update:pageSize", parseInt(M)))
10404
10404
  }, {
10405
10405
  default: J(() => [
10406
- (s(!0), i(Y, null, X(e.pageSizeOptions, (M) => (s(), W(Es, {
10406
+ (s(!0), i(H, null, X(e.pageSizeOptions, (M) => (s(), W(Es, {
10407
10407
  key: M,
10408
10408
  value: M.toString(),
10409
10409
  label: M.toString()
@@ -10454,7 +10454,7 @@ const dc = {
10454
10454
  ], -1)
10455
10455
  ])], 10, jm),
10456
10456
  l("div", Pm, [
10457
- (s(!0), i(Y, null, X(c.value, (M) => (s(), i("button", {
10457
+ (s(!0), i(H, null, X(c.value, (M) => (s(), i("button", {
10458
10458
  key: M,
10459
10459
  class: m(_(M === e.currentPage, !1)),
10460
10460
  onClick: (S) => T.$emit("update:currentPage", M)
@@ -10615,25 +10615,25 @@ const dc = {
10615
10615
  l("div", Nm, [
10616
10616
  e.text && e.textPosition === "top" ? (s(), i("div", Rm, w(e.text), 1)) : v("", !0),
10617
10617
  e.type === "spin" ? (s(), i("div", Um)) : e.type === "pulse" ? (s(), i("div", qm)) : e.type === "bounce" ? (s(), i("div", Ym, [
10618
- (s(), i(Y, null, X(3, (n) => l("div", {
10618
+ (s(), i(H, null, X(3, (n) => l("div", {
10619
10619
  key: n,
10620
10620
  class: "loader__bounce-dot",
10621
10621
  style: be({ animationDelay: `${(n - 1) * 0.1}s` })
10622
10622
  }, null, 4)), 64))
10623
10623
  ])) : e.type === "ripple" ? (s(), i("div", Hm, [
10624
- (s(), i(Y, null, X(2, (n) => l("div", {
10624
+ (s(), i(H, null, X(2, (n) => l("div", {
10625
10625
  key: n,
10626
10626
  class: "loader__ripple-ring",
10627
10627
  style: be({ animationDelay: `${(n - 1) * 0.5}s` })
10628
10628
  }, null, 4)), 64))
10629
10629
  ])) : e.type === "bars" ? (s(), i("div", Wm, [
10630
- (s(), i(Y, null, X(5, (n) => l("div", {
10630
+ (s(), i(H, null, X(5, (n) => l("div", {
10631
10631
  key: n,
10632
10632
  class: "loader__bar",
10633
10633
  style: be({ animationDelay: `${(n - 1) * 0.1}s` })
10634
10634
  }, null, 4)), 64))
10635
10635
  ])) : e.type === "dots" ? (s(), i("div", Gm, [
10636
- (s(), i(Y, null, X(3, (n) => l("div", {
10636
+ (s(), i(H, null, X(3, (n) => l("div", {
10637
10637
  key: n,
10638
10638
  class: "loader__dot",
10639
10639
  style: be({ animationDelay: `${(n - 1) * 0.16}s` })
@@ -10886,7 +10886,7 @@ const dc = {
10886
10886
  if (d.value) {
10887
10887
  const le = n.columns.find((de) => de.key === d.value);
10888
10888
  le && G.sort((de, Fe) => {
10889
- const ge = H(de, le), it = H(Fe, le);
10889
+ const ge = Y(de, le), it = Y(Fe, le);
10890
10890
  return ge < it ? c.value === "asc" ? -1 : 1 : ge > it ? c.value === "asc" ? 1 : -1 : 0;
10891
10891
  });
10892
10892
  }
@@ -10929,7 +10929,7 @@ const dc = {
10929
10929
  })[G] || "ghost", ne = y(() => M.value.length > 0 && M.value.every((G) => $(G))), E = y(() => {
10930
10930
  const G = M.value.filter((le) => $(le)).length;
10931
10931
  return G > 0 && G < M.value.length;
10932
- }), H = (G, le) => le.accessor ? le.accessor(G) : le.key.split(".").reduce((de, Fe) => de?.[Fe], G), b = (G, le) => G[n.rowKey] || le, $ = (G) => n.selectedItems.some(
10932
+ }), Y = (G, le) => le.accessor ? le.accessor(G) : le.key.split(".").reduce((de, Fe) => de?.[Fe], G), b = (G, le) => G[n.rowKey] || le, $ = (G) => n.selectedItems.some(
10933
10933
  (le) => b(le) === b(G)
10934
10934
  ), h = (G) => {
10935
10935
  const le = [...n.selectedItems], de = le.findIndex(
@@ -10978,7 +10978,7 @@ const dc = {
10978
10978
  const de = [];
10979
10979
  return n.striped && le % 2 === 1 && de.push("bg-slate-50/50"), n.hoverable && !n.clickableRows && de.push("hover:bg-slate-50"), n.clickableRows && de.push("cursor-pointer hover:bg-slate-100"), n.selectable && $(G) && de.push("bg-blue-50 border-blue-200"), n.variant === "bordered" ? de.push("border-b border-slate-200") : n.variant === "minimal" && de.push("border-b border-slate-100"), O("transition-colors", ...de);
10980
10980
  }, je = (G, le) => {
10981
- const de = H(G, le);
10981
+ const de = Y(G, le);
10982
10982
  return typeof le == "object" && le.formatter ? le.formatter(de, G) : de == null ? "" : de instanceof Date ? de.toLocaleDateString() : Array.isArray(de) ? de.join(", ") : de;
10983
10983
  }, ht = (G, le = 10) => {
10984
10984
  if (!G) return G;
@@ -11095,7 +11095,7 @@ const dc = {
11095
11095
  }, null, 8, ["model-value", "indeterminate", "disabled"]))
11096
11096
  ])
11097
11097
  ], 2)) : v("", !0),
11098
- (s(!0), i(Y, null, X(e.columns, (de) => (s(), i("th", {
11098
+ (s(!0), i(H, null, X(e.columns, (de) => (s(), i("th", {
11099
11099
  key: de.key,
11100
11100
  class: m(ke(de)),
11101
11101
  onClick: (Fe) => g(de)
@@ -11147,7 +11147,7 @@ const dc = {
11147
11147
  l("tbody", {
11148
11148
  class: m(xe.value)
11149
11149
  }, [
11150
- e.showSkeleton && (e.loading || e.dataLoading) ? (s(!0), i(Y, { key: 0 }, X(e.skeletonRows, (de) => (s(), i("tr", {
11150
+ e.showSkeleton && (e.loading || e.dataLoading) ? (s(!0), i(H, { key: 0 }, X(e.skeletonRows, (de) => (s(), i("tr", {
11151
11151
  key: `skeleton-${de}`,
11152
11152
  class: "animate-pulse"
11153
11153
  }, [
@@ -11157,7 +11157,7 @@ const dc = {
11157
11157
  }, [...le[3] || (le[3] = [
11158
11158
  l("div", { class: "w-4 h-4 bg-slate-200 rounded" }, null, -1)
11159
11159
  ])], 2)) : v("", !0),
11160
- (s(!0), i(Y, null, X(e.columns, (Fe) => (s(), i("td", {
11160
+ (s(!0), i(H, null, X(e.columns, (Fe) => (s(), i("td", {
11161
11161
  key: Fe.key,
11162
11162
  class: m(ze())
11163
11163
  }, [...le[4] || (le[4] = [
@@ -11172,7 +11172,7 @@ const dc = {
11172
11172
  l("div", { class: "w-6 h-6 bg-slate-200 rounded" })
11173
11173
  ], -1)
11174
11174
  ])], 2)) : v("", !0)
11175
- ]))), 128)) : k.value.length > 0 ? (s(!0), i(Y, { key: 1 }, X(k.value, (de, Fe) => (s(), i("tr", {
11175
+ ]))), 128)) : k.value.length > 0 ? (s(!0), i(H, { key: 1 }, X(k.value, (de, Fe) => (s(), i("tr", {
11176
11176
  key: b(de, Fe),
11177
11177
  class: m(Pe(de, Fe)),
11178
11178
  onClick: (ge) => p({ item: de, index: Fe })
@@ -11186,13 +11186,13 @@ const dc = {
11186
11186
  "onUpdate:modelValue": (ge) => h(de)
11187
11187
  }, null, 8, ["model-value", "onUpdate:modelValue"])
11188
11188
  ], 2)) : v("", !0),
11189
- (s(!0), i(Y, null, X(e.columns, (ge) => (s(), i("td", {
11189
+ (s(!0), i(H, null, X(e.columns, (ge) => (s(), i("td", {
11190
11190
  key: ge.key,
11191
11191
  class: m(ze())
11192
11192
  }, [
11193
11193
  q(G.$slots, `cell-${ge.key}`, {
11194
11194
  item: de,
11195
- value: H(de, ge),
11195
+ value: Y(de, ge),
11196
11196
  column: ge,
11197
11197
  index: Fe
11198
11198
  }, () => [
@@ -11212,7 +11212,7 @@ const dc = {
11212
11212
  item: de,
11213
11213
  index: Fe
11214
11214
  }, void 0, !0) : e.actions.length > 0 ? (s(), i("div", o0, [
11215
- (s(!0), i(Y, null, X(L(de), (ge) => (s(), W(Ns, {
11215
+ (s(!0), i(H, null, X(L(de), (ge) => (s(), W(Ns, {
11216
11216
  key: ge.key,
11217
11217
  content: typeof ge.tooltip == "function" ? ge.tooltip(de) : ge.tooltip || ge.label || ge.key,
11218
11218
  placement: "top"
@@ -11454,7 +11454,7 @@ const dc = {
11454
11454
  "onUpdate:modelValue": S[0] || (S[0] = (k) => M.$emit("toggle-selection", e.item))
11455
11455
  }, null, 8, ["model-value"])
11456
11456
  ], 2)) : v("", !0),
11457
- (s(!0), i(Y, null, X(e.columns, (k) => (s(), i("td", {
11457
+ (s(!0), i(H, null, X(e.columns, (k) => (s(), i("td", {
11458
11458
  key: u(k),
11459
11459
  class: m(_(k))
11460
11460
  }, [
@@ -11829,7 +11829,7 @@ const dc = {
11829
11829
  (he) => he.key === se ? { ...he, [I]: N } : he
11830
11830
  );
11831
11831
  n("update:numberFilters", ue);
11832
- }, H = (se) => se.selected && se.selected.length > 0, b = (se) => `text-xs px-2 py-1 rounded ${H(se) ? "bg-blue-100 text-blue-700" : "bg-gray-100 text-gray-600"}`, $ = (se, I) => {
11832
+ }, Y = (se) => se.selected && se.selected.length > 0, b = (se) => `text-xs px-2 py-1 rounded ${Y(se) ? "bg-blue-100 text-blue-700" : "bg-gray-100 text-gray-600"}`, $ = (se, I) => {
11833
11833
  if (!I) return;
11834
11834
  const N = t.multiSelectFilters.map((ue) => {
11835
11835
  if (ue.key === se) {
@@ -12040,7 +12040,7 @@ const dc = {
12040
12040
  break;
12041
12041
  }
12042
12042
  };
12043
- return (se, I) => (s(), i(Y, null, [
12043
+ return (se, I) => (s(), i(H, null, [
12044
12044
  l("div", w0, [
12045
12045
  l("div", {
12046
12046
  class: m(ce.value)
@@ -12069,7 +12069,7 @@ const dc = {
12069
12069
  ], 2)) : v("", !0)
12070
12070
  ])
12071
12071
  ])) : v("", !0),
12072
- (s(!0), i(Y, null, X(e.selectFilters, (N) => (s(), i("div", {
12072
+ (s(!0), i(H, null, X(e.selectFilters, (N) => (s(), i("div", {
12073
12073
  key: N.key,
12074
12074
  class: "min-w-36"
12075
12075
  }, [
@@ -12081,7 +12081,7 @@ const dc = {
12081
12081
  }, {
12082
12082
  default: J(() => [
12083
12083
  l("option", z0, w(N.placeholder || `All ${N.label}`), 1),
12084
- (s(!0), i(Y, null, X(N.options, (ue) => (s(), i("option", {
12084
+ (s(!0), i(H, null, X(N.options, (ue) => (s(), i("option", {
12085
12085
  key: ue.value,
12086
12086
  value: ue.value
12087
12087
  }, w(ue.label), 9, A0))), 128))
@@ -12103,7 +12103,7 @@ const dc = {
12103
12103
  }, {
12104
12104
  default: J(() => [
12105
12105
  I[5] || (I[5] = l("option", { value: "" }, " All Status ", -1)),
12106
- (s(!0), i(Y, null, X(e.statusOptions, (N) => (s(), i("option", {
12106
+ (s(!0), i(H, null, X(e.statusOptions, (N) => (s(), i("option", {
12107
12107
  key: N.value,
12108
12108
  value: N.value
12109
12109
  }, w(N.label), 9, V0))), 128))
@@ -12225,7 +12225,7 @@ const dc = {
12225
12225
  class: m(ht.value)
12226
12226
  }, [
12227
12227
  l("div", P0, [
12228
- (s(!0), i(Y, null, X(e.dateFilters, (N) => (s(), i("div", {
12228
+ (s(!0), i(H, null, X(e.dateFilters, (N) => (s(), i("div", {
12229
12229
  key: N.key,
12230
12230
  class: "space-y-3"
12231
12231
  }, [
@@ -12280,7 +12280,7 @@ const dc = {
12280
12280
  ], 10, R0)) : v("", !0)
12281
12281
  ])
12282
12282
  ]))), 128)),
12283
- (s(!0), i(Y, null, X(e.numberFilters, (N) => (s(), i("div", {
12283
+ (s(!0), i(H, null, X(e.numberFilters, (N) => (s(), i("div", {
12284
12284
  key: N.key,
12285
12285
  class: "space-y-3"
12286
12286
  }, [
@@ -12329,7 +12329,7 @@ const dc = {
12329
12329
  ], 10, K0)) : v("", !0)
12330
12330
  ])
12331
12331
  ]))), 128)),
12332
- (s(!0), i(Y, null, X(e.multiSelectFilters, (N) => (s(), i("div", {
12332
+ (s(!0), i(H, null, X(e.multiSelectFilters, (N) => (s(), i("div", {
12333
12333
  key: N.key,
12334
12334
  class: "space-y-3"
12335
12335
  }, [
@@ -12339,7 +12339,7 @@ const dc = {
12339
12339
  }, w(N.label), 3),
12340
12340
  l("span", {
12341
12341
  class: m(b(N))
12342
- }, w(H(N) ? `${N.selected.length} selected` : "None"), 3)
12342
+ }, w(Y(N) ? `${N.selected.length} selected` : "None"), 3)
12343
12343
  ]),
12344
12344
  l("div", J0, [
12345
12345
  P(Ye, {
@@ -12349,7 +12349,7 @@ const dc = {
12349
12349
  }, {
12350
12350
  default: J(() => [
12351
12351
  l("option", Q0, " Select " + w(N.label), 1),
12352
- (s(!0), i(Y, null, X(N.options, (ue) => (s(), i("option", {
12352
+ (s(!0), i(H, null, X(N.options, (ue) => (s(), i("option", {
12353
12353
  key: ue.value,
12354
12354
  value: ue.value
12355
12355
  }, w(ue.label), 9, Z0))), 128))
@@ -12362,7 +12362,7 @@ const dc = {
12362
12362
  })
12363
12363
  ]),
12364
12364
  N.selected.length > 0 ? (s(), i("div", eg, [
12365
- (s(!0), i(Y, null, X(N.selected, (ue) => (s(), i("span", {
12365
+ (s(!0), i(H, null, X(N.selected, (ue) => (s(), i("span", {
12366
12366
  key: ue,
12367
12367
  class: "inline-flex items-center gap-1 bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded-full"
12368
12368
  }, [
@@ -12389,7 +12389,7 @@ const dc = {
12389
12389
  l("span", {
12390
12390
  class: m(le.value)
12391
12391
  }, "Active filters:", 2),
12392
- (s(!0), i(Y, null, X(ie.value, (N) => (s(), i("div", {
12392
+ (s(!0), i(H, null, X(ie.value, (N) => (s(), i("div", {
12393
12393
  key: N.key,
12394
12394
  class: m(de.value)
12395
12395
  }, [
@@ -12632,7 +12632,7 @@ const dc = {
12632
12632
  }));
12633
12633
  }, E = () => O(_({
12634
12634
  state: t.isRefreshing ? "refreshing" : "normal"
12635
- })), H = () => O("w-4 h-4", {
12635
+ })), Y = () => O("w-4 h-4", {
12636
12636
  "animate-spin": t.isRefreshing
12637
12637
  }), b = (h) => t.visibleColumns.includes(h), $ = (h, B) => {
12638
12638
  n("toggle-column", { column: h, visible: B });
@@ -12650,7 +12650,7 @@ const dc = {
12650
12650
  d.value > 0 ? (s(), i("div", gg, [
12651
12651
  l("span", vg, w(d.value) + " selected ", 1),
12652
12652
  l("div", hg, [
12653
- (s(!0), i(Y, null, X(e.bulkActions, (p) => (s(), W(Se, {
12653
+ (s(!0), i(H, null, X(e.bulkActions, (p) => (s(), W(Se, {
12654
12654
  key: p.key,
12655
12655
  class: m(re(p)),
12656
12656
  onClick: (f) => h.$emit("bulk-action", { action: p.key, items: e.selectedItems })
@@ -12676,7 +12676,7 @@ const dc = {
12676
12676
  key: 0,
12677
12677
  class: m(M.value)
12678
12678
  }, [
12679
- (s(), i(Y, null, X(c, (p) => l("button", {
12679
+ (s(), i(H, null, X(c, (p) => l("button", {
12680
12680
  key: p.value,
12681
12681
  class: m(ne(p.value)),
12682
12682
  title: p.label,
@@ -12715,7 +12715,7 @@ const dc = {
12715
12715
  class: m(z.value)
12716
12716
  }, " Show Columns ", 2),
12717
12717
  l("div", wg, [
12718
- (s(!0), i(Y, null, X(e.toggleableColumns, (p) => (s(), i("div", {
12718
+ (s(!0), i(H, null, X(e.toggleableColumns, (p) => (s(), i("div", {
12719
12719
  key: p.key,
12720
12720
  class: m(D.value)
12721
12721
  }, [
@@ -12746,7 +12746,7 @@ const dc = {
12746
12746
  }, [
12747
12747
  P(g, {
12748
12748
  icon: "sync",
12749
- class: m(H())
12749
+ class: m(Y())
12750
12750
  }, null, 8, ["class"]),
12751
12751
  B[3] || (B[3] = l("span", null, "Refresh", -1))
12752
12752
  ], 10, Cg)) : v("", !0),
@@ -13061,7 +13061,7 @@ const dc = {
13061
13061
  error: "bg-red-100 text-red-600"
13062
13062
  };
13063
13063
  return B[h.type] || B.info;
13064
- }, H = (h) => {
13064
+ }, Y = (h) => {
13065
13065
  if (!h) return "";
13066
13066
  const B = h.split("\\");
13067
13067
  return B[B.length - 1].replace(/([A-Z])/g, " $1").trim().split(" ").map((p) => p.charAt(0).toUpperCase() + p.slice(1).toLowerCase()).join(" ");
@@ -13171,7 +13171,7 @@ const dc = {
13171
13171
  l("p", nv, w(e.organisationSwitcherDescription), 1)
13172
13172
  ]),
13173
13173
  l("div", sv, [
13174
- (s(!0), i(Y, null, X(e.organisations, (p) => (s(), i("button", {
13174
+ (s(!0), i(H, null, X(e.organisations, (p) => (s(), i("button", {
13175
13175
  key: p.org_id || p.organisation_name,
13176
13176
  class: m(Z(O)(
13177
13177
  "flex items-center w-full px-3 sm:px-4 py-2.5 sm:py-3 text-sm transition-all group",
@@ -13284,7 +13284,7 @@ const dc = {
13284
13284
  class: "w-10 h-10 sm:w-12 sm:h-12 mx-auto text-gray-300 mb-2"
13285
13285
  }),
13286
13286
  B[5] || (B[5] = l("p", { class: "text-sm text-gray-500" }, " No notifications ", -1))
13287
- ])) : (s(!0), i(Y, { key: 1 }, X(e.notifications, (p) => (s(), i("div", {
13287
+ ])) : (s(!0), i(H, { key: 1 }, X(e.notifications, (p) => (s(), i("div", {
13288
13288
  key: p.id,
13289
13289
  class: m([
13290
13290
  "p-3 sm:p-4 border-b border-gray-100 hover:bg-gray-50 cursor-pointer transition-colors",
@@ -13338,7 +13338,7 @@ const dc = {
13338
13338
  icon: "file",
13339
13339
  class: "w-2.5 h-2.5 sm:w-3 sm:h-3 mr-0.5 sm:mr-1"
13340
13340
  }),
13341
- l("span", _v, w(H(p.model)), 1)
13341
+ l("span", _v, w(Y(p.model)), 1)
13342
13342
  ])) : v("", !0),
13343
13343
  p.due_date ? (s(), i("span", {
13344
13344
  key: 1,
@@ -13407,7 +13407,7 @@ const dc = {
13407
13407
  l("p", Kv, w(e.user.email), 1)
13408
13408
  ]),
13409
13409
  l("div", Xv, [
13410
- (s(!0), i(Y, null, X(e.profileMenuItems, (p) => (s(), i(Y, {
13410
+ (s(!0), i(H, null, X(e.profileMenuItems, (p) => (s(), i(H, {
13411
13411
  key: p.name
13412
13412
  }, [
13413
13413
  p.route ? (s(), W(g, {
@@ -13587,7 +13587,7 @@ const dc = {
13587
13587
  onKeydown: M
13588
13588
  }, [
13589
13589
  C.value.length === 0 ? (s(), i("div", lh, w(e.placeholder || "Select options"), 1)) : (s(), i("div", oh, [
13590
- (s(!0), i(Y, null, X(C.value, (D) => (s(), W(Ls, {
13590
+ (s(!0), i(H, null, X(C.value, (D) => (s(), W(Ls, {
13591
13591
  key: D,
13592
13592
  variant: "primary",
13593
13593
  size: "sm"
@@ -13642,7 +13642,7 @@ const dc = {
13642
13642
  ])
13643
13643
  ]),
13644
13644
  d.value.length > 0 ? (s(), i("div", uh, [
13645
- (s(!0), i(Y, null, X(d.value, (D) => (s(), i("button", {
13645
+ (s(!0), i(H, null, X(d.value, (D) => (s(), i("button", {
13646
13646
  key: D.value,
13647
13647
  type: "button",
13648
13648
  class: m(["cursor-pointer select-none relative py-2.5 pl-3 pr-9 w-full text-left hover:bg-blue-50 focus:bg-blue-50 focus:outline-none transition-colors duration-150", { "bg-blue-50": e.modelValue.includes(D.value) }]),
@@ -13919,7 +13919,7 @@ const dc = {
13919
13919
  } catch (h) {
13920
13920
  console.error("Error in onChange handler:", h);
13921
13921
  }
13922
- }, H = (b, $) => {
13922
+ }, Y = (b, $) => {
13923
13923
  if (R(b.name, $), b.onChange && typeof b.onChange == "function")
13924
13924
  try {
13925
13925
  b.onChange($, u.value);
@@ -13947,7 +13947,7 @@ const dc = {
13947
13947
  onSubmit: $e(D, ["prevent"])
13948
13948
  }, [
13949
13949
  l("div", bh, [
13950
- (s(!0), i(Y, null, X(e.fields, (h) => (s(), i("div", {
13950
+ (s(!0), i(H, null, X(e.fields, (h) => (s(), i("div", {
13951
13951
  key: h.name,
13952
13952
  class: m(h.wrapperClass || "col-span-12")
13953
13953
  }, [
@@ -13964,10 +13964,6 @@ const dc = {
13964
13964
  "error-message": d.value[h.name]
13965
13965
  }, {
13966
13966
  default: J(({ fieldId: B, hasError: g, ariaDescribedBy: p }) => [
13967
- (s(!0), i(Y, null, X(e.fields, (f) => (s(), i("div", {
13968
- key: f.name,
13969
- class: m(f.wrapperClass || "col-span-12")
13970
- }, null, 2))), 128)),
13971
13967
  ["text", "number", "password", "color", "email", "tel", "url", "search"].includes(h.type) ? (s(), W(Ae, {
13972
13968
  key: 0,
13973
13969
  id: B,
@@ -14073,7 +14069,7 @@ const dc = {
14073
14069
  _: 2
14074
14070
  }, 1032, ["for"])
14075
14071
  ])) : h.type === "radio" ? (s(), i("div", kh, [
14076
- (s(!0), i(Y, null, X(h.options, (f) => (s(), i("div", {
14072
+ (s(!0), i(H, null, X(h.options, (f) => (s(), i("div", {
14077
14073
  key: f.value,
14078
14074
  class: "flex items-center"
14079
14075
  }, [
@@ -14115,7 +14111,7 @@ const dc = {
14115
14111
  "max-files": h.maxFiles,
14116
14112
  variant: h.variant || "default",
14117
14113
  onFilesSelected: (f) => E(h, f),
14118
- onFileRemoved: (f) => H(h, f)
14114
+ onFileRemoved: (f) => Y(h, f)
14119
14115
  }, null, 8, ["multiple", "accept", "max-size", "max-files", "variant", "onFilesSelected", "onFileRemoved"]),
14120
14116
  h.helpText ? (s(), i("p", zh, w(h.helpText), 1)) : v("", !0)
14121
14117
  ])) : h.type === "slider" ? (s(), W(Ha, {
@@ -14500,7 +14496,7 @@ const dc = {
14500
14496
  if (g === 0) return "0 Bytes";
14501
14497
  const p = 1024, f = ["Bytes", "KB", "MB", "GB"], K = Math.floor(Math.log(g) / Math.log(p));
14502
14498
  return parseFloat((g / Math.pow(p, K)).toFixed(2)) + " " + f[K];
14503
- }, H = (g) => {
14499
+ }, Y = (g) => {
14504
14500
  const p = g.name.split(".").pop()?.toLowerCase();
14505
14501
  return ["jpg", "jpeg", "png", "gif", "webp", "svg", "bmp"].includes(p) ? "image" : ["pdf"].includes(p) || ["doc", "docx"].includes(p) ? "file-text" : ["xls", "xlsx", "csv"].includes(p) ? "table" : ["zip", "rar", "7z", "tar", "gz"].includes(p) ? "archive" : ["mp4", "mov", "avi", "mkv", "webm"].includes(p) ? "video" : ["mp3", "wav", "ogg", "flac"].includes(p) ? "music" : "file";
14506
14502
  }, b = (g) => {
@@ -14541,7 +14537,7 @@ const dc = {
14541
14537
  class: "space-y-6",
14542
14538
  onSubmit: $e($, ["prevent"])
14543
14539
  }, [
14544
- (s(!0), i(Y, null, X(e.fields, (f) => (s(), i("div", {
14540
+ (s(!0), i(H, null, X(e.fields, (f) => (s(), i("div", {
14545
14541
  key: f.name
14546
14542
  }, [
14547
14543
  f.type === "hidden" ? Ge((s(), i("input", {
@@ -14653,7 +14649,7 @@ const dc = {
14653
14649
  _: 2
14654
14650
  }, 1032, ["for"])
14655
14651
  ])) : f.type === "radio" ? (s(), i("div", Ih, [
14656
- (s(!0), i(Y, null, X(f.options, (ae) => (s(), i("div", {
14652
+ (s(!0), i(H, null, X(f.options, (ae) => (s(), i("div", {
14657
14653
  key: ae.value,
14658
14654
  class: "flex items-center"
14659
14655
  }, [
@@ -14746,7 +14742,7 @@ const dc = {
14746
14742
  ], 42, qh),
14747
14743
  f.helpText ? (s(), i("p", Jh, w(f.helpText), 1)) : v("", !0),
14748
14744
  c.value[f.name]?.length > 0 ? (s(), i("div", Qh, [
14749
- (s(!0), i(Y, null, X(c.value[f.name], (ae) => (s(), i("div", {
14745
+ (s(!0), i(H, null, X(c.value[f.name], (ae) => (s(), i("div", {
14750
14746
  key: ae.id,
14751
14747
  class: "flex items-center justify-between p-3 bg-white border border-gray-200 rounded-lg"
14752
14748
  }, [
@@ -14803,7 +14799,7 @@ const dc = {
14803
14799
  ]))), 128))
14804
14800
  ])) : v("", !0),
14805
14801
  o.value[f.name]?.length > 0 ? (s(), i("div", ob, [
14806
- (s(!0), i(Y, null, X(o.value[f.name], (ae, xe) => (s(), i("div", {
14802
+ (s(!0), i(H, null, X(o.value[f.name], (ae, xe) => (s(), i("div", {
14807
14803
  key: `uploaded-${xe}`,
14808
14804
  class: "flex items-center justify-between p-3 bg-white border border-gray-200 rounded-lg hover:shadow-sm transition-shadow"
14809
14805
  }, [
@@ -14815,7 +14811,7 @@ const dc = {
14815
14811
  ])
14816
14812
  }, [
14817
14813
  (s(), i("svg", ub, [
14818
- H(ae) === "image" ? (s(), i("path", db)) : (s(), i("path", cb))
14814
+ Y(ae) === "image" ? (s(), i("path", db)) : (s(), i("path", cb))
14819
14815
  ]))
14820
14816
  ], 2),
14821
14817
  l("div", fb, [
@@ -15118,7 +15114,7 @@ const dc = {
15118
15114
  S(B);
15119
15115
  }, E = (B) => {
15120
15116
  x.value = B, r("search", { query: B, menu: d.value?.name });
15121
- }, H = () => {
15117
+ }, Y = () => {
15122
15118
  x.value = "";
15123
15119
  }, b = (B) => {
15124
15120
  const g = n.currentPath;
@@ -15193,7 +15189,7 @@ const dc = {
15193
15189
  ])) : v("", !0),
15194
15190
  l("nav", Sb, [
15195
15191
  l("div", zb, [
15196
- (s(!0), i(Y, null, X(e.navigationItems, (f) => (s(), i(Y, {
15192
+ (s(!0), i(H, null, X(e.navigationItems, (f) => (s(), i(H, {
15197
15193
  key: f.name || f.label
15198
15194
  }, [
15199
15195
  f.type === "link" ? (s(), i("div", Ab, [
@@ -15353,7 +15349,7 @@ const dc = {
15353
15349
  x.value ? (s(), i("button", {
15354
15350
  key: 0,
15355
15351
  class: "absolute right-2 top-1/2 transform -translate-y-1/2 text-gray-400 hover:text-gray-600 transition-colors p-1",
15356
- onClick: H
15352
+ onClick: Y
15357
15353
  }, [
15358
15354
  P(Q, {
15359
15355
  icon: "times",
@@ -15373,7 +15369,7 @@ const dc = {
15373
15369
  g[4] || (g[4] = l("p", { class: "text-sm text-gray-500 mb-1" }, " No results found ", -1)),
15374
15370
  g[5] || (g[5] = l("p", { class: "text-xs text-gray-400" }, " Try a different search term ", -1))
15375
15371
  ])) : (s(), i("div", qb, [
15376
- (s(!0), i(Y, null, X(j.value, (f) => (s(), W(p, {
15372
+ (s(!0), i(H, null, X(j.value, (f) => (s(), W(p, {
15377
15373
  key: f.name,
15378
15374
  to: f.route,
15379
15375
  class: m(
@@ -15461,7 +15457,7 @@ const dc = {
15461
15457
  ]),
15462
15458
  l("nav", Wb, [
15463
15459
  l("div", Gb, [
15464
- (s(!0), i(Y, null, X(e.managementSettings, (f) => (s(), i(Y, {
15460
+ (s(!0), i(H, null, X(e.managementSettings, (f) => (s(), i(H, {
15465
15461
  key: f.name
15466
15462
  }, [
15467
15463
  f.type === "section" ? (s(), i("div", Kb, w(f.label), 1)) : f.route ? (s(), W(p, {
@@ -15759,7 +15755,7 @@ function Tp(e, a, t, n, r, o) {
15759
15755
  ])
15760
15756
  ])) : v("", !0),
15761
15757
  l("div", Vp, [
15762
- (s(!0), i(Y, null, X(t.socialLinks, (c) => (s(), i("a", {
15758
+ (s(!0), i(H, null, X(t.socialLinks, (c) => (s(), i("a", {
15763
15759
  key: c.name,
15764
15760
  href: c.url,
15765
15761
  class: m([
@@ -16082,7 +16078,7 @@ const Bp = /* @__PURE__ */ Vt(rp, [["render", Tp]]), jp = { class: "min-h-screen
16082
16078
  "w-32 h-32 flex items-center justify-center"
16083
16079
  ]), E = y(() => [
16084
16080
  "space-y-4"
16085
- ]), H = y(() => [
16081
+ ]), Y = y(() => [
16086
16082
  "text-6xl font-bold text-slate-300 mb-4"
16087
16083
  ]), b = y(() => [
16088
16084
  "text-3xl font-bold text-slate-900"
@@ -16121,7 +16117,7 @@ const Bp = /* @__PURE__ */ Vt(rp, [["render", Tp]]), jp = { class: "min-h-screen
16121
16117
  illustrationClasses: re,
16122
16118
  iconContainerClasses: ne,
16123
16119
  detailsClasses: E,
16124
- codeClasses: H,
16120
+ codeClasses: Y,
16125
16121
  titleClasses: b,
16126
16122
  messageClasses: $,
16127
16123
  actionsClasses: h,
@@ -16272,7 +16268,7 @@ function ry(e, a, t, n, r, o) {
16272
16268
  l("div", Zp, [
16273
16269
  l("h3", ey, w(n.additionalInfoConfig.title), 1),
16274
16270
  l("ul", ty, [
16275
- (s(!0), i(Y, null, X(n.additionalInfoConfig.items, (u, d) => (s(), i("li", {
16271
+ (s(!0), i(H, null, X(n.additionalInfoConfig.items, (u, d) => (s(), i("li", {
16276
16272
  key: d,
16277
16273
  class: "flex items-start gap-3 text-sm text-slate-600"
16278
16274
  }, [
@@ -16418,7 +16414,7 @@ const ly = /* @__PURE__ */ Vt(Ip, [["render", ry]]), oy = { class: "w-full h-ful
16418
16414
  const D = o.value;
16419
16415
  let L = -Math.PI / 2;
16420
16416
  return t.data.map((V, F) => {
16421
- const R = V || 0, re = (R / D * 100).toFixed(1), ne = R / D * 2 * Math.PI, E = L + ne, H = _(
16417
+ const R = V || 0, re = (R / D * 100).toFixed(1), ne = R / D * 2 * Math.PI, E = L + ne, Y = _(
16422
16418
  d.value,
16423
16419
  c.value,
16424
16420
  x.value,
@@ -16428,7 +16424,7 @@ const ly = /* @__PURE__ */ Vt(Ip, [["render", ry]]), oy = { class: "w-full h-ful
16428
16424
  ), b = t.doughnut ? (x.value + C.value) / 2 : x.value * 0.7, $ = L + ne / 2, h = d.value + Math.cos($) * b, B = c.value + Math.sin($) * b, g = {
16429
16425
  value: R,
16430
16426
  percentage: re,
16431
- path: H,
16427
+ path: Y,
16432
16428
  labelX: h,
16433
16429
  labelY: B,
16434
16430
  label: t.labels[F] || `Item ${F + 1}`,
@@ -16438,12 +16434,12 @@ const ly = /* @__PURE__ */ Vt(Ip, [["render", ry]]), oy = { class: "w-full h-ful
16438
16434
  return L = E, g;
16439
16435
  }).filter((V) => V.value > 0);
16440
16436
  }), _ = (D, L, V, F, R, re) => {
16441
- const ne = D + V * Math.cos(R), E = L + V * Math.sin(R), H = D + V * Math.cos(re), b = L + V * Math.sin(re), $ = re - R > Math.PI ? 1 : 0;
16437
+ const ne = D + V * Math.cos(R), E = L + V * Math.sin(R), Y = D + V * Math.cos(re), b = L + V * Math.sin(re), $ = re - R > Math.PI ? 1 : 0;
16442
16438
  if (F === 0)
16443
- return `M ${D} ${L} L ${ne} ${E} A ${V} ${V} 0 ${$} 1 ${H} ${b} Z`;
16439
+ return `M ${D} ${L} L ${ne} ${E} A ${V} ${V} 0 ${$} 1 ${Y} ${b} Z`;
16444
16440
  {
16445
16441
  const h = D + F * Math.cos(re), B = L + F * Math.sin(re), g = D + F * Math.cos(R), p = L + F * Math.sin(R);
16446
- return `M ${ne} ${E} A ${V} ${V} 0 ${$} 1 ${H} ${b} L ${h} ${B} A ${F} ${F} 0 ${$} 0 ${g} ${p} Z`;
16442
+ return `M ${ne} ${E} A ${V} ${V} 0 ${$} 1 ${Y} ${b} L ${h} ${B} A ${F} ${F} 0 ${$} 0 ${g} ${p} Z`;
16447
16443
  }
16448
16444
  }, T = (D) => t.colors[D % t.colors.length], j = (D) => {
16449
16445
  if (t.legendPosition === "right")
@@ -16489,7 +16485,7 @@ const ly = /* @__PURE__ */ Vt(Ip, [["render", ry]]), oy = { class: "w-full h-ful
16489
16485
  class: "overflow-visible"
16490
16486
  }, [
16491
16487
  l("g", null, [
16492
- (s(!0), i(Y, null, X(A.value, (V, F) => (s(), i("path", {
16488
+ (s(!0), i(H, null, X(A.value, (V, F) => (s(), i("path", {
16493
16489
  key: `slice-${F}`,
16494
16490
  d: V.path,
16495
16491
  fill: T(F),
@@ -16525,7 +16521,7 @@ const ly = /* @__PURE__ */ Vt(Ip, [["render", ry]]), oy = { class: "w-full h-ful
16525
16521
  }, " Total ", 10, gy)
16526
16522
  ])) : v("", !0),
16527
16523
  e.showValues ? (s(), i("g", vy, [
16528
- (s(!0), i(Y, null, X(A.value, (V, F) => (s(), i("text", {
16524
+ (s(!0), i(H, null, X(A.value, (V, F) => (s(), i("text", {
16529
16525
  key: `value-${F}`,
16530
16526
  x: V.labelX,
16531
16527
  y: V.labelY,
@@ -16535,7 +16531,7 @@ const ly = /* @__PURE__ */ Vt(Ip, [["render", ry]]), oy = { class: "w-full h-ful
16535
16531
  }, w(e.showPercentages ? `${V.percentage}%` : V.value), 11, hy))), 128))
16536
16532
  ])) : v("", !0),
16537
16533
  e.showLegend ? (s(), i("g", by, [
16538
- (s(!0), i(Y, null, X(A.value, (V, F) => (s(), i("g", {
16534
+ (s(!0), i(H, null, X(A.value, (V, F) => (s(), i("g", {
16539
16535
  key: `legend-${F}`,
16540
16536
  transform: `translate(${j(F)}, ${M(F)})`
16541
16537
  }, [
@@ -16649,11 +16645,11 @@ const ly = /* @__PURE__ */ Vt(Ip, [["render", ry]]), oy = { class: "w-full h-ful
16649
16645
  });
16650
16646
  const x = () => {
16651
16647
  d.value = !d.value;
16652
- }, C = (E, H) => {
16653
- c.value[E] = H, n("customize", { ...c.value });
16648
+ }, C = (E, Y) => {
16649
+ c.value[E] = Y, n("customize", { ...c.value });
16654
16650
  }, A = U(null), _ = U(!1), T = (E) => {
16655
16651
  if (!_.value) return;
16656
- const H = {
16652
+ const Y = {
16657
16653
  r: () => n("refresh"),
16658
16654
  R: () => n("refresh"),
16659
16655
  c: () => x(),
@@ -16663,7 +16659,7 @@ const ly = /* @__PURE__ */ Vt(Ip, [["render", ry]]), oy = { class: "w-full h-ful
16663
16659
  H: () => S.value = !S.value,
16664
16660
  "?": () => S.value = !S.value
16665
16661
  };
16666
- H[E.key] && (E.preventDefault(), H[E.key](), n("keypress", E.key));
16662
+ Y[E.key] && (E.preventDefault(), Y[E.key](), n("keypress", E.key));
16667
16663
  }, j = () => {
16668
16664
  _.value = !0;
16669
16665
  }, M = () => {
@@ -16678,28 +16674,28 @@ const ly = /* @__PURE__ */ Vt(Ip, [["render", ry]]), oy = { class: "w-full h-ful
16678
16674
  const L = (E) => {
16679
16675
  if (!E.dataTransfer) return;
16680
16676
  z.value = !0, n("dragstart", t.id);
16681
- const H = E.target.getBoundingClientRect();
16677
+ const Y = E.target.getBoundingClientRect();
16682
16678
  D = E.target.cloneNode(!0), Object.assign(D.style, {
16683
16679
  position: "fixed",
16684
- width: `${H.width}px`,
16685
- height: `${H.height}px`,
16680
+ width: `${Y.width}px`,
16681
+ height: `${Y.height}px`,
16686
16682
  pointerEvents: "none",
16687
16683
  opacity: "0.8",
16688
16684
  zIndex: "1000",
16689
- left: `${E.clientX - H.width / 2}px`,
16690
- top: `${E.clientY - H.height / 2}px`
16691
- }), document.body.appendChild(D), E.dataTransfer.setDragImage(D, H.width / 2, H.height / 2), E.dataTransfer.effectAllowed = "move", E.dataTransfer.setData("text/plain", t.id);
16685
+ left: `${E.clientX - Y.width / 2}px`,
16686
+ top: `${E.clientY - Y.height / 2}px`
16687
+ }), document.body.appendChild(D), E.dataTransfer.setDragImage(D, Y.width / 2, Y.height / 2), E.dataTransfer.effectAllowed = "move", E.dataTransfer.setData("text/plain", t.id);
16692
16688
  }, V = (E) => {
16693
16689
  D && E.clientX && E.clientY && (D.style.left = `${E.clientX - D.offsetWidth / 2}px`, D.style.top = `${E.clientY - D.offsetHeight / 2}px`);
16694
16690
  }, F = () => {
16695
16691
  z.value = !1, n("dragend", t.id), D && (document.body.removeChild(D), D = null);
16696
16692
  }, R = y(() => {
16697
16693
  if (!t.chartType || !t.chartData) return null;
16698
- const E = t.chartData.datasets?.[0]?.data || t.chartData.data || [], H = t.chartData.labels || [], b = E.filter((p) => p != null && !isNaN(p));
16694
+ const E = t.chartData.datasets?.[0]?.data || t.chartData.data || [], Y = t.chartData.labels || [], b = E.filter((p) => p != null && !isNaN(p));
16699
16695
  if (b.length === 0) return null;
16700
16696
  const $ = t.chartType === "pie" || t.chartType === "doughnut", h = $ ? 450 : 400, B = $ ? 450 : 400, g = {
16701
16697
  data: b,
16702
- labels: H.slice(0, b.length),
16698
+ labels: Y.slice(0, b.length),
16703
16699
  width: h,
16704
16700
  height: B,
16705
16701
  ...t.chartOptions
@@ -16727,7 +16723,7 @@ const ly = /* @__PURE__ */ Vt(Ip, [["render", ry]]), oy = { class: "w-full h-ful
16727
16723
  window.addEventListener("dragover", V), window.addEventListener("keydown", T);
16728
16724
  }), Ne(() => {
16729
16725
  window.removeEventListener("dragover", V), window.removeEventListener("keydown", T), D && document.body.removeChild(D);
16730
- }), (E, H) => r.value ? (s(), i("div", {
16726
+ }), (E, Y) => r.value ? (s(), i("div", {
16731
16727
  key: 0,
16732
16728
  ref_key: "widgetRef",
16733
16729
  ref: A,
@@ -16758,7 +16754,7 @@ const ly = /* @__PURE__ */ Vt(Ip, [["render", ry]]), oy = { class: "w-full h-ful
16758
16754
  l("button", {
16759
16755
  class: "p-2 rounded-lg hover:bg-white/80 transition-all duration-200 hover:scale-105 active:scale-95",
16760
16756
  title: "Keyboard shortcuts (?)",
16761
- onClick: H[0] || (H[0] = (b) => S.value = !S.value)
16757
+ onClick: Y[0] || (Y[0] = (b) => S.value = !S.value)
16762
16758
  }, [
16763
16759
  P(Q, {
16764
16760
  icon: "circle-info",
@@ -16781,7 +16777,7 @@ const ly = /* @__PURE__ */ Vt(Ip, [["render", ry]]), oy = { class: "w-full h-ful
16781
16777
  class: "p-2 rounded-lg hover:bg-white/80 transition-all duration-200 hover:scale-105 active:scale-95",
16782
16778
  disabled: e.loading,
16783
16779
  title: "Refresh (R)",
16784
- onClick: H[1] || (H[1] = (b) => E.$emit("refresh"))
16780
+ onClick: Y[1] || (Y[1] = (b) => E.$emit("refresh"))
16785
16781
  }, [
16786
16782
  P(Q, {
16787
16783
  icon: "refresh",
@@ -16795,10 +16791,10 @@ const ly = /* @__PURE__ */ Vt(Ip, [["render", ry]]), oy = { class: "w-full h-ful
16795
16791
  ])) : v("", !0),
16796
16792
  d.value ? (s(), i("div", Ty, [
16797
16793
  l("div", By, [
16798
- H[4] || (H[4] = l("h4", { class: "font-semibold text-sm text-slate-900" }, " Customize Widget ", -1)),
16794
+ Y[4] || (Y[4] = l("h4", { class: "font-semibold text-sm text-slate-900" }, " Customize Widget ", -1)),
16799
16795
  l("button", {
16800
16796
  class: "p-1 rounded hover:bg-slate-100",
16801
- onClick: H[2] || (H[2] = (b) => d.value = !1)
16797
+ onClick: Y[2] || (Y[2] = (b) => d.value = !1)
16802
16798
  }, [
16803
16799
  P(Q, {
16804
16800
  icon: "x",
@@ -16807,7 +16803,7 @@ const ly = /* @__PURE__ */ Vt(Ip, [["render", ry]]), oy = { class: "w-full h-ful
16807
16803
  ])
16808
16804
  ]),
16809
16805
  l("div", jy, [
16810
- (s(!0), i(Y, null, X(e.customizationOptions, (b) => (s(), i("div", {
16806
+ (s(!0), i(H, null, X(e.customizationOptions, (b) => (s(), i("div", {
16811
16807
  key: b.id,
16812
16808
  class: "flex items-center justify-between"
16813
16809
  }, [
@@ -16835,10 +16831,10 @@ const ly = /* @__PURE__ */ Vt(Ip, [["render", ry]]), oy = { class: "w-full h-ful
16835
16831
  ])) : v("", !0),
16836
16832
  S.value ? (s(), i("div", _y, [
16837
16833
  l("div", Ly, [
16838
- H[5] || (H[5] = l("h4", { class: "font-semibold text-sm text-slate-900" }, " Keyboard Shortcuts ", -1)),
16834
+ Y[5] || (Y[5] = l("h4", { class: "font-semibold text-sm text-slate-900" }, " Keyboard Shortcuts ", -1)),
16839
16835
  l("button", {
16840
16836
  class: "p-1 rounded hover:bg-slate-100",
16841
- onClick: H[3] || (H[3] = (b) => S.value = !1)
16837
+ onClick: Y[3] || (Y[3] = (b) => S.value = !1)
16842
16838
  }, [
16843
16839
  P(Q, {
16844
16840
  icon: "x",
@@ -16847,7 +16843,7 @@ const ly = /* @__PURE__ */ Vt(Ip, [["render", ry]]), oy = { class: "w-full h-ful
16847
16843
  ])
16848
16844
  ]),
16849
16845
  l("div", Ey, [
16850
- (s(), i(Y, null, X(k, (b) => l("div", {
16846
+ (s(), i(H, null, X(k, (b) => l("div", {
16851
16847
  key: b.key,
16852
16848
  class: "flex items-center justify-between text-sm"
16853
16849
  }, [
@@ -17401,7 +17397,7 @@ function vx(e, a, t, n, r, o) {
17401
17397
  l("div", s1, [
17402
17398
  r.viewMode === "year" ? (s(), i("div", r1, [
17403
17399
  l("div", l1, [
17404
- (s(!0), i(Y, null, X(o.yearViewMonths, (u) => (s(), i("div", {
17400
+ (s(!0), i(H, null, X(o.yearViewMonths, (u) => (s(), i("div", {
17405
17401
  key: u.index,
17406
17402
  class: "bg-white rounded-lg border border-gray-200 overflow-hidden hover:shadow-lg transition-shadow cursor-pointer",
17407
17403
  onClick: (d) => o.selectMonthFromYear(u.index)
@@ -17411,13 +17407,13 @@ function vx(e, a, t, n, r, o) {
17411
17407
  ]),
17412
17408
  l("div", d1, [
17413
17409
  l("div", c1, [
17414
- (s(!0), i(Y, null, X(r.weekDaysShort, (d) => (s(), i("div", {
17410
+ (s(!0), i(H, null, X(r.weekDaysShort, (d) => (s(), i("div", {
17415
17411
  key: d,
17416
17412
  class: "text-center text-[10px] font-bold text-gray-600"
17417
17413
  }, w(d), 1))), 128))
17418
17414
  ]),
17419
17415
  l("div", f1, [
17420
- (s(!0), i(Y, null, X(u.days, (d, c) => (s(), i("div", {
17416
+ (s(!0), i(H, null, X(u.days, (d, c) => (s(), i("div", {
17421
17417
  key: c,
17422
17418
  class: m(["aspect-square flex items-center justify-center text-xs rounded-md relative transition-all hover:scale-110", [
17423
17419
  // Base styles
@@ -17443,13 +17439,13 @@ function vx(e, a, t, n, r, o) {
17443
17439
  ])) : v("", !0),
17444
17440
  r.viewMode === "month" ? (s(), i("div", m1, [
17445
17441
  l("div", g1, [
17446
- (s(!0), i(Y, null, X(r.weekDays, (u) => (s(), i("div", {
17442
+ (s(!0), i(H, null, X(r.weekDays, (u) => (s(), i("div", {
17447
17443
  key: u,
17448
17444
  class: "text-center text-xs font-semibold text-gray-600 py-3 uppercase tracking-wider"
17449
17445
  }, w(u), 1))), 128))
17450
17446
  ]),
17451
17447
  l("div", v1, [
17452
- (s(!0), i(Y, null, X(o.calendarDays, (u, d) => (s(), i("div", {
17448
+ (s(!0), i(H, null, X(o.calendarDays, (u, d) => (s(), i("div", {
17453
17449
  key: d,
17454
17450
  class: m(["border-r border-b border-gray-200 p-1 min-h-[120px] relative cursor-pointer hover:bg-gray-50 transition-colors", [
17455
17451
  u.isCurrentMonth ? "bg-white" : "bg-gray-50",
@@ -17467,7 +17463,7 @@ function vx(e, a, t, n, r, o) {
17467
17463
  }, w(u.dayNumber), 3)
17468
17464
  ]),
17469
17465
  l("div", p1, [
17470
- (s(!0), i(Y, null, X(u.events.slice(0, 3), (c, x) => (s(), i("div", {
17466
+ (s(!0), i(H, null, X(u.events.slice(0, 3), (c, x) => (s(), i("div", {
17471
17467
  key: x,
17472
17468
  class: m(["text-xs px-2 py-1 rounded cursor-pointer truncate border-l-2 text-white font-medium hover:opacity-90 transition-opacity", o.getEventColorClass(c.color)]),
17473
17469
  onClick: $e((C) => o.selectEvent(c, u), ["stop"])
@@ -17479,7 +17475,7 @@ function vx(e, a, t, n, r, o) {
17479
17475
  ])) : r.viewMode === "week" ? (s(), i("div", w1, [
17480
17476
  l("div", k1, [
17481
17477
  a[10] || (a[10] = l("div", { class: "border-r border-gray-200 p-2" }, null, -1)),
17482
- (s(!0), i(Y, null, X(o.weekViewDays, (u) => (s(), i("div", {
17478
+ (s(!0), i(H, null, X(o.weekViewDays, (u) => (s(), i("div", {
17483
17479
  key: u.date,
17484
17480
  class: m(["text-center p-2 border-r border-gray-200", u.isToday ? "bg-blue-50" : ""])
17485
17481
  }, [
@@ -17493,11 +17489,11 @@ function vx(e, a, t, n, r, o) {
17493
17489
  ]),
17494
17490
  l("div", C1, [
17495
17491
  a[11] || (a[11] = l("div", { class: "border-r border-gray-200 px-2 py-1 text-xs text-gray-600 text-right flex items-center justify-end" }, " All Day ", -1)),
17496
- (s(!0), i(Y, null, X(o.weekViewDays, (u) => (s(), i("div", {
17492
+ (s(!0), i(H, null, X(o.weekViewDays, (u) => (s(), i("div", {
17497
17493
  key: "allday-" + u.date,
17498
17494
  class: m(["border-r border-gray-200 p-1 space-y-1", u.isToday ? "bg-blue-50 bg-opacity-30" : ""])
17499
17495
  }, [
17500
- (s(!0), i(Y, null, X(o.getAllDayEvents(u.events), (d) => (s(), i("div", {
17496
+ (s(!0), i(H, null, X(o.getAllDayEvents(u.events), (d) => (s(), i("div", {
17501
17497
  key: d.id,
17502
17498
  class: m(["rounded border-l-2 p-1 text-xs font-medium text-white cursor-pointer hover:opacity-90 transition-opacity", o.getEventColorClass(d.color)]),
17503
17499
  onClick: (c) => o.selectEvent(d, u)
@@ -17509,20 +17505,20 @@ function vx(e, a, t, n, r, o) {
17509
17505
  l("div", A1, [
17510
17506
  l("div", D1, [
17511
17507
  l("div", M1, [
17512
- (s(!0), i(Y, null, X(r.timeSlots, (u) => (s(), i("div", {
17508
+ (s(!0), i(H, null, X(r.timeSlots, (u) => (s(), i("div", {
17513
17509
  key: u.time,
17514
17510
  class: "h-16 border-b border-gray-200 px-2 py-1 text-xs text-gray-600 text-right"
17515
17511
  }, w(u.display), 1))), 128))
17516
17512
  ]),
17517
- (s(!0), i(Y, null, X(o.weekViewDays, (u) => (s(), i("div", {
17513
+ (s(!0), i(H, null, X(o.weekViewDays, (u) => (s(), i("div", {
17518
17514
  key: u.date,
17519
17515
  class: "border-r border-gray-200 relative"
17520
17516
  }, [
17521
- (s(!0), i(Y, null, X(r.timeSlots, (d) => (s(), i("div", {
17517
+ (s(!0), i(H, null, X(r.timeSlots, (d) => (s(), i("div", {
17522
17518
  key: d.time,
17523
17519
  class: m(["h-16 border-b border-gray-200 hover:bg-gray-50 transition-colors cursor-pointer relative", u.isToday ? "bg-blue-50 bg-opacity-30" : ""])
17524
17520
  }, [
17525
- (s(!0), i(Y, null, X(o.getEventsAtTime(u.events, d), (c) => (s(), i("div", {
17521
+ (s(!0), i(H, null, X(o.getEventsAtTime(u.events, d), (c) => (s(), i("div", {
17526
17522
  key: c.id,
17527
17523
  class: m(["absolute inset-x-1 top-1 bottom-1 rounded border-l-2 p-1 text-xs font-medium text-white cursor-pointer hover:opacity-90 transition-opacity overflow-hidden", o.getEventColorClass(c.color)]),
17528
17524
  onClick: (x) => o.selectEvent(c, u)
@@ -17548,7 +17544,7 @@ function vx(e, a, t, n, r, o) {
17548
17544
  o.getAllDayEvents(o.dayViewDate.events).length > 0 ? (s(), i("div", _1, [
17549
17545
  a[12] || (a[12] = l("h4", { class: "text-xs font-semibold text-gray-600 uppercase tracking-wide mb-2" }, " All Day Events ", -1)),
17550
17546
  l("div", L1, [
17551
- (s(!0), i(Y, null, X(o.getAllDayEvents(o.dayViewDate.events), (u) => (s(), i("div", {
17547
+ (s(!0), i(H, null, X(o.getAllDayEvents(o.dayViewDate.events), (u) => (s(), i("div", {
17552
17548
  key: u.id,
17553
17549
  class: m(["rounded border-l-4 p-3 text-sm font-medium text-white cursor-pointer hover:opacity-90 transition-opacity shadow-sm", o.getEventColorClass(u.color)]),
17554
17550
  onClick: (d) => o.selectEvent(u, o.dayViewDate)
@@ -17561,17 +17557,17 @@ function vx(e, a, t, n, r, o) {
17561
17557
  l("div", R1, [
17562
17558
  l("div", U1, [
17563
17559
  l("div", q1, [
17564
- (s(!0), i(Y, null, X(r.timeSlots, (u) => (s(), i("div", {
17560
+ (s(!0), i(H, null, X(r.timeSlots, (u) => (s(), i("div", {
17565
17561
  key: u.time,
17566
17562
  class: "h-16 border-b border-gray-200 px-2 py-1 text-xs text-gray-600 text-right"
17567
17563
  }, w(u.display), 1))), 128))
17568
17564
  ]),
17569
17565
  l("div", Y1, [
17570
- (s(!0), i(Y, null, X(r.timeSlots, (u) => (s(), i("div", {
17566
+ (s(!0), i(H, null, X(r.timeSlots, (u) => (s(), i("div", {
17571
17567
  key: u.time,
17572
17568
  class: m(["h-16 border-b border-gray-200 hover:bg-gray-50 transition-colors cursor-pointer relative", o.dayViewDate.isToday ? "bg-blue-50 bg-opacity-30" : ""])
17573
17569
  }, [
17574
- (s(!0), i(Y, null, X(o.getEventsAtTime(o.dayViewDate.events, u), (d) => (s(), i("div", {
17570
+ (s(!0), i(H, null, X(o.getEventsAtTime(o.dayViewDate.events, u), (d) => (s(), i("div", {
17575
17571
  key: d.id,
17576
17572
  class: m(["absolute inset-x-2 top-1 bottom-1 rounded border-l-4 p-2 text-sm font-medium text-white cursor-pointer hover:opacity-90 transition-opacity shadow-sm", o.getEventColorClass(d.color)]),
17577
17573
  onClick: (c) => o.selectEvent(d, o.dayViewDate)
@@ -17805,21 +17801,21 @@ const hx = /* @__PURE__ */ Vt(Xy, [["render", vx], ["__scopeId", "data-v-6e1ab61
17805
17801
  const R = (t.height - t.padding.bottom - F) / o.value * t.maxValue;
17806
17802
  return Math.round(R);
17807
17803
  }, z = (F) => F.charAt(0).toUpperCase() + F.slice(1), D = (F, R, re) => {
17808
- const ne = t.data[R], E = t.groupKeys[re], H = ne[E] || 0, b = t.labels[R] || `Item ${R + 1}`, $ = z(E);
17804
+ const ne = t.data[R], E = t.groupKeys[re], Y = ne[E] || 0, b = t.labels[R] || `Item ${R + 1}`, $ = z(E);
17809
17805
  r.value = {
17810
17806
  visible: !0,
17811
17807
  x: F.clientX,
17812
17808
  y: F.clientY,
17813
17809
  label: b,
17814
17810
  barLabel: $,
17815
- value: H,
17811
+ value: Y,
17816
17812
  color: S(re)
17817
- }, n("bar-hover", { dataIndex: R, barIndex: re, key: E, value: H, label: b });
17813
+ }, n("bar-hover", { dataIndex: R, barIndex: re, key: E, value: Y, label: b });
17818
17814
  }, L = () => {
17819
17815
  r.value.visible = !1;
17820
17816
  }, V = (F, R) => {
17821
- const re = t.data[F], ne = t.groupKeys[R], E = re[ne] || 0, H = t.labels[F] || `Item ${F + 1}`;
17822
- n("bar-click", { dataIndex: F, barIndex: R, key: ne, value: E, label: H });
17817
+ const re = t.data[F], ne = t.groupKeys[R], E = re[ne] || 0, Y = t.labels[F] || `Item ${F + 1}`;
17818
+ n("bar-click", { dataIndex: F, barIndex: R, key: ne, value: E, label: Y });
17823
17819
  };
17824
17820
  return (F, R) => (s(), i("div", bx, [
17825
17821
  (s(), i("svg", {
@@ -17829,7 +17825,7 @@ const hx = /* @__PURE__ */ Vt(Xy, [["render", vx], ["__scopeId", "data-v-6e1ab61
17829
17825
  class: "overflow-visible"
17830
17826
  }, [
17831
17827
  e.showGrid ? (s(), i("g", yx, [
17832
- (s(!0), i(Y, null, X(A.value, (re) => (s(), i("line", {
17828
+ (s(!0), i(H, null, X(A.value, (re) => (s(), i("line", {
17833
17829
  key: `grid-${re}`,
17834
17830
  x1: e.padding.left,
17835
17831
  y1: re,
@@ -17842,7 +17838,7 @@ const hx = /* @__PURE__ */ Vt(Xy, [["render", vx], ["__scopeId", "data-v-6e1ab61
17842
17838
  }, null, 8, xx))), 128))
17843
17839
  ])) : v("", !0),
17844
17840
  l("defs", null, [
17845
- (s(!0), i(Y, null, X(e.groupKeys, (re, ne) => (s(), i("linearGradient", {
17841
+ (s(!0), i(H, null, X(e.groupKeys, (re, ne) => (s(), i("linearGradient", {
17846
17842
  id: `barGradient-${ne}`,
17847
17843
  key: `gradient-${ne}`,
17848
17844
  x1: "0%",
@@ -17863,28 +17859,28 @@ const hx = /* @__PURE__ */ Vt(Xy, [["render", vx], ["__scopeId", "data-v-6e1ab61
17863
17859
  ], 8, wx))), 128))
17864
17860
  ]),
17865
17861
  l("g", null, [
17866
- (s(!0), i(Y, null, X(e.data, (re, ne) => (s(), i("g", {
17862
+ (s(!0), i(H, null, X(e.data, (re, ne) => (s(), i("g", {
17867
17863
  key: `bar-group-${ne}`
17868
17864
  }, [
17869
- (s(!0), i(Y, null, X(e.groupKeys, (E, H) => (s(), i("rect", {
17870
- key: `bar-${ne}-${H}`,
17871
- x: T(ne, H),
17865
+ (s(!0), i(H, null, X(e.groupKeys, (E, Y) => (s(), i("rect", {
17866
+ key: `bar-${ne}-${Y}`,
17867
+ x: T(ne, Y),
17872
17868
  y: j(re[E] || 0),
17873
17869
  width: x.value,
17874
17870
  height: M(re[E] || 0),
17875
- fill: `url(#barGradient-${H})`,
17871
+ fill: `url(#barGradient-${Y})`,
17876
17872
  class: m(e.barClasses),
17877
17873
  rx: "4",
17878
- onMouseenter: (b) => D(b, ne, H),
17874
+ onMouseenter: (b) => D(b, ne, Y),
17879
17875
  onMouseleave: L,
17880
- onClick: (b) => V(ne, H)
17876
+ onClick: (b) => V(ne, Y)
17881
17877
  }, [
17882
17878
  l("animate", {
17883
17879
  attributeName: "height",
17884
17880
  from: 0,
17885
17881
  to: M(re[E] || 0),
17886
17882
  dur: "0.6s",
17887
- begin: `${H * 0.1}s`,
17883
+ begin: `${Y * 0.1}s`,
17888
17884
  fill: "freeze"
17889
17885
  }, null, 8, Sx),
17890
17886
  l("animate", {
@@ -17892,14 +17888,14 @@ const hx = /* @__PURE__ */ Vt(Xy, [["render", vx], ["__scopeId", "data-v-6e1ab61
17892
17888
  from: e.padding.top + o.value,
17893
17889
  to: j(re[E] || 0),
17894
17890
  dur: "0.6s",
17895
- begin: `${H * 0.1}s`,
17891
+ begin: `${Y * 0.1}s`,
17896
17892
  fill: "freeze"
17897
17893
  }, null, 8, zx)
17898
17894
  ], 42, Cx))), 128))
17899
17895
  ]))), 128))
17900
17896
  ]),
17901
17897
  e.showXAxis ? (s(), i("g", Ax, [
17902
- (s(!0), i(Y, null, X(e.labels, (re, ne) => (s(), i("text", {
17898
+ (s(!0), i(H, null, X(e.labels, (re, ne) => (s(), i("text", {
17903
17899
  key: `xlabel-${ne}`,
17904
17900
  x: _(ne) + d.value / 2,
17905
17901
  y: e.height - e.padding.bottom + 20,
@@ -17916,7 +17912,7 @@ const hx = /* @__PURE__ */ Vt(Xy, [["render", vx], ["__scopeId", "data-v-6e1ab61
17916
17912
  }, w(e.xAxisLabel), 9, Vx)
17917
17913
  ])) : v("", !0),
17918
17914
  e.showYAxis ? (s(), i("g", Fx, [
17919
- (s(!0), i(Y, null, X(A.value, (re) => (s(), i("text", {
17915
+ (s(!0), i(H, null, X(A.value, (re) => (s(), i("text", {
17920
17916
  key: `ylabel-${re}`,
17921
17917
  x: e.padding.left - 10,
17922
17918
  y: re + 4,