sprintify-ui 0.0.83 → 0.0.84

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.
@@ -1,5 +1,5 @@
1
1
  import Sl from "axios";
2
- import { defineComponent as H, inject as ke, resolveComponent as _e, openBlock as b, createBlock as te, withCtx as U, createElementVNode as v, normalizeClass as q, withModifiers as Ge, renderSlot as Q, createElementBlock as T, createCommentVNode as K, toDisplayString as W, h as Ie, unref as p, computed as C, ref as D, watch as Ee, Teleport as Et, createVNode as R, Transition as Re, TransitionGroup as Hr, Fragment as pe, renderList as we, normalizeStyle as De, onMounted as xe, onBeforeMount as $l, withDirectives as Ne, vShow as tt, normalizeProps as Ze, guardReactiveProps as Xe, mergeProps as st, resolveDynamicComponent as Nt, createTextVNode as Ue, onBeforeUnmount as qt, cloneVNode as Bl, provide as ye, watchEffect as He, nextTick as ze, onUnmounted as ot, reactive as Cl, isRef as jt, withKeys as An, vModelText as Tn, useSlots as _l, createStaticVNode as Kr, getCurrentInstance as Il, pushScopeId as El, popScopeId as Al, createSlots as Tl, vModelSelect as Sn, readonly as on } from "vue";
2
+ import { defineComponent as H, inject as ke, resolveComponent as _e, openBlock as b, createBlock as te, withCtx as U, createElementVNode as v, normalizeClass as q, withModifiers as Ge, renderSlot as Q, createElementBlock as T, createCommentVNode as K, toDisplayString as G, h as Ie, unref as p, computed as C, ref as D, watch as Ee, Teleport as Et, createVNode as R, Transition as Re, TransitionGroup as Hr, Fragment as pe, renderList as we, normalizeStyle as De, onMounted as xe, onBeforeMount as $l, withDirectives as Ne, vShow as tt, normalizeProps as Ze, guardReactiveProps as Xe, mergeProps as st, resolveDynamicComponent as Nt, createTextVNode as Ue, onBeforeUnmount as qt, cloneVNode as Bl, provide as ye, watchEffect as He, nextTick as ze, onUnmounted as ot, reactive as Cl, isRef as jt, withKeys as An, vModelText as Tn, useSlots as _l, createStaticVNode as Kr, getCurrentInstance as Il, pushScopeId as El, popScopeId as Al, createSlots as Tl, vModelSelect as Sn, readonly as on } from "vue";
3
3
  import { useI18n as nt, createI18n as Ll } from "vue-i18n";
4
4
  import { defineStore as Xn } from "pinia";
5
5
  import xr from "qs";
@@ -143,7 +143,7 @@ function Kl(e, r, n, l, o, a) {
143
143
  e.title ? (b(), T("h3", {
144
144
  key: 0,
145
145
  class: q(["mb-1 font-medium leading-tight", [e.titleClass]])
146
- }, W(e.title), 3)) : K("", !0),
146
+ }, G(e.title), 3)) : K("", !0),
147
147
  e.$slots.default ? (b(), T("div", {
148
148
  key: 1,
149
149
  class: q([e.textClass, "text-sm leading-tight"])
@@ -1381,9 +1381,9 @@ const Ra = {
1381
1381
  ], 2),
1382
1382
  v("div", Ka, [
1383
1383
  Q(r.$slots, "default", {}, () => [
1384
- v("h3", Ga, W(e.title), 1),
1384
+ v("h3", Ga, G(e.title), 1),
1385
1385
  v("div", Wa, [
1386
- v("p", Qa, W(e.message), 1)
1386
+ v("p", Qa, G(e.message), 1)
1387
1387
  ])
1388
1388
  ])
1389
1389
  ])
@@ -1398,12 +1398,12 @@ const Ra = {
1398
1398
  "btn-success": e.color == "success"
1399
1399
  }]),
1400
1400
  onClick: n[0] || (n[0] = (a) => r.$emit("confirm"))
1401
- }, W((l = e.confirmText) != null ? l : r.$t("sui.confirm")), 3),
1401
+ }, G((l = e.confirmText) != null ? l : r.$t("sui.confirm")), 3),
1402
1402
  v("button", {
1403
1403
  type: "button",
1404
1404
  class: "btn w-full sm:mr-2 sm:w-auto",
1405
1405
  onClick: n[1] || (n[1] = (a) => r.$emit("cancel"))
1406
- }, W((o = e.cancelText) != null ? o : r.$t("sui.cancel")), 1)
1406
+ }, G((o = e.cancelText) != null ? o : r.$t("sui.cancel")), 1)
1407
1407
  ])
1408
1408
  ]);
1409
1409
  };
@@ -1580,7 +1580,7 @@ var Ja = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1580
1580
  }), o.d(l, "removeScrollableTarget", function() {
1581
1581
  return ve;
1582
1582
  }), o.d(l, "addScrollableSelector", function() {
1583
- return G;
1583
+ return W;
1584
1584
  }), o.d(l, "removeScrollableSelector", function() {
1585
1585
  return de;
1586
1586
  }), o.d(l, "addLockableTarget", function() {
@@ -1676,7 +1676,7 @@ var Ja = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1676
1676
  });
1677
1677
  });
1678
1678
  }
1679
- }, G = function(B) {
1679
+ }, W = function(B) {
1680
1680
  if (B) {
1681
1681
  var Z = a(B);
1682
1682
  Z.map(function(ae) {
@@ -1913,7 +1913,7 @@ Available fill gap methods: `).concat(Z, "."));
1913
1913
  getCurrentTargetScrollBarWidth: ne,
1914
1914
  getPageScrollBarWidth: Y,
1915
1915
  getCurrentPageScrollBarWidth: se,
1916
- addScrollableSelector: G,
1916
+ addScrollableSelector: W,
1917
1917
  removeScrollableSelector: de,
1918
1918
  addScrollableTarget: fe,
1919
1919
  removeScrollableTarget: ve,
@@ -2068,8 +2068,8 @@ const Za = {
2068
2068
  "text-yellow-500": a.color == "warning",
2069
2069
  "text-green-500": a.color == "success"
2070
2070
  }])
2071
- }, W(a.title), 3),
2072
- v("p", is, W(a.text), 1)
2071
+ }, G(a.title), 3),
2072
+ v("p", is, G(a.text), 1)
2073
2073
  ])
2074
2074
  ])
2075
2075
  ])
@@ -2277,28 +2277,28 @@ const ds = { class: "relative" }, fs = { class: "relative" }, ms = ["value", "pl
2277
2277
  C(() => l.valueKey),
2278
2278
  C(() => !1)
2279
2279
  ), M = $.isSelected, w = $.normalizedOptions, I = $.normalizedModelValue, t = C(() => {
2280
- var G;
2281
- return (G = O.value[Math.min(m.value, O.value.length - 1)]) != null ? G : null;
2280
+ var W;
2281
+ return (W = O.value[Math.min(m.value, O.value.length - 1)]) != null ? W : null;
2282
2282
  });
2283
2283
  Ee(
2284
2284
  () => I.value,
2285
2285
  () => {
2286
- var G;
2287
- l.modelValueShow !== !1 && (I.value ? j((G = I.value) == null ? void 0 : G.label) : j(""));
2286
+ var W;
2287
+ l.modelValueShow !== !1 && (I.value ? j((W = I.value) == null ? void 0 : W.label) : j(""));
2288
2288
  },
2289
2289
  { immediate: !0 }
2290
2290
  );
2291
- const O = C(() => E.value === !1 ? w.value : w.value.filter((G) => l.filter !== void 0 ? l.filter(G) : G.label ? G.label.toLowerCase().includes(i.value.toLowerCase()) : !1));
2291
+ const O = C(() => E.value === !1 ? w.value : w.value.filter((W) => l.filter !== void 0 ? l.filter(W) : W.label ? W.label.toLowerCase().includes(i.value.toLowerCase()) : !1));
2292
2292
  xe(() => {
2293
2293
  window.addEventListener("mousedown", F);
2294
2294
  }), $l(() => {
2295
2295
  window.removeEventListener("mousedown", F);
2296
2296
  });
2297
- function F(G) {
2297
+ function F(W) {
2298
2298
  if (!f.value)
2299
2299
  return;
2300
- const de = G.target;
2301
- !de || (de !== k.value && G.preventDefault(), f.value.contains(de) ? N() : g());
2300
+ const de = W.target;
2301
+ !de || (f.value.contains(de) ? N() : g());
2302
2302
  }
2303
2303
  function N() {
2304
2304
  clearInterval(s), re(), L.value || (L.value = !0, n("open"));
@@ -2308,38 +2308,38 @@ const ds = { class: "relative" }, fs = { class: "relative" }, ms = ["value", "pl
2308
2308
  l.modelValueShow && I.value && j(I.value.label);
2309
2309
  }, 10), n("close");
2310
2310
  }
2311
- const S = (G) => {
2311
+ const S = (W) => {
2312
2312
  var de;
2313
- N(), E.value = !0, m.value = 0, j(xt(G, "target.value") + ""), n("typing", i.value), (de = y.value) == null || de.scrollTo({
2313
+ N(), E.value = !0, m.value = 0, j(xt(W, "target.value") + ""), n("typing", i.value), (de = y.value) == null || de.scrollTo({
2314
2314
  top: 0
2315
2315
  }), i.value == "" && _(null);
2316
- }, h = (G) => {
2317
- const de = G.key;
2316
+ }, h = (W) => {
2317
+ const de = W.key;
2318
2318
  if (!l.loading) {
2319
2319
  if (de === "ArrowDown") {
2320
- G.preventDefault(), m.value < O.value.length - 1 ? m.value++ : m.value = 0;
2320
+ W.preventDefault(), m.value < O.value.length - 1 ? m.value++ : m.value = 0;
2321
2321
  return;
2322
2322
  }
2323
2323
  if (de === "ArrowUp") {
2324
- G.preventDefault(), m.value > 0 ? m.value-- : m.value = Math.max(
2324
+ W.preventDefault(), m.value > 0 ? m.value-- : m.value = Math.max(
2325
2325
  0,
2326
2326
  O.value.length - 1
2327
2327
  );
2328
2328
  return;
2329
2329
  }
2330
2330
  if (de === "Enter") {
2331
- G.preventDefault(), t.value && c(t.value);
2331
+ W.preventDefault(), t.value && c(t.value);
2332
2332
  return;
2333
2333
  }
2334
2334
  }
2335
2335
  }, d = () => {
2336
2336
  _(null), n("clear");
2337
2337
  };
2338
- function c(G) {
2339
- re(), _(G), l.dropdownShow == "focus" && g();
2338
+ function c(W) {
2339
+ re(), _(W), l.dropdownShow == "focus" && g();
2340
2340
  }
2341
- function _(G) {
2342
- const de = G ? G.option : null;
2341
+ function _(W) {
2342
+ const de = W ? W.option : null;
2343
2343
  if (de) {
2344
2344
  const he = O.value.findIndex(
2345
2345
  (Oe) => Oe.value == de.value
@@ -2348,18 +2348,18 @@ const ds = { class: "relative" }, fs = { class: "relative" }, ms = ["value", "pl
2348
2348
  }
2349
2349
  E.value = !1, a(de);
2350
2350
  }
2351
- function j(G) {
2352
- i.value = G;
2351
+ function j(W) {
2352
+ i.value = W;
2353
2353
  }
2354
2354
  function re() {
2355
- var G;
2356
- (G = k.value) == null || G.focus();
2355
+ var W;
2356
+ (W = k.value) == null || W.focus();
2357
2357
  }
2358
2358
  function J() {
2359
- var G;
2360
- (G = k.value) == null || G.blur();
2359
+ var W;
2360
+ (W = k.value) == null || W.blur();
2361
2361
  }
2362
- const ne = (G) => t.value && t.value.value == G.value ? "bg-slate-200" : "bg-white", Y = C(() => l.size == "xs" ? "text-xs" : (l.size == "sm", "text-sm")), se = C(() => l.size == "xs" ? "xs:text-xs xs:pl-7 text-base pl-9" : l.size == "sm" ? "xs:text-sm xs:pl-8 text-base pl-9" : "text-base pl-9"), fe = C(() => l.size == "xs" ? "xs:h-4 xs:w-4 h-5 w-5" : l.size == "sm" ? "xs:h-5 xs:w-5 h-5 w-5" : "h-5 w-5"), ve = C(() => l.size == "xs" || l.size == "sm" ? "xs:pl-2 pl-2.5" : "pl-2.5");
2362
+ const ne = (W) => t.value && t.value.value == W.value ? "bg-slate-200" : "bg-white", Y = C(() => l.size == "xs" ? "text-xs" : (l.size == "sm", "text-sm")), se = C(() => l.size == "xs" ? "xs:text-xs xs:pl-7 text-base pl-9" : l.size == "sm" ? "xs:text-sm xs:pl-8 text-base pl-9" : "text-base pl-9"), fe = C(() => l.size == "xs" ? "xs:h-4 xs:w-4 h-5 w-5" : l.size == "sm" ? "xs:h-5 xs:w-5 h-5 w-5" : "h-5 w-5"), ve = C(() => l.size == "xs" || l.size == "sm" ? "xs:pl-2 pl-2.5" : "pl-2.5");
2363
2363
  return xe(() => {
2364
2364
  Qr(
2365
2365
  y.value,
@@ -2374,7 +2374,7 @@ const ds = { class: "relative" }, fs = { class: "relative" }, ms = ["value", "pl
2374
2374
  close: g,
2375
2375
  open: N,
2376
2376
  setKeywords: j
2377
- }), (G, de) => (b(), T("div", {
2377
+ }), (W, de) => (b(), T("div", {
2378
2378
  ref_key: "autocomplete",
2379
2379
  ref: f
2380
2380
  }, [
@@ -2385,7 +2385,7 @@ const ds = { class: "relative" }, fs = { class: "relative" }, ms = ["value", "pl
2385
2385
  ref: k,
2386
2386
  value: p(i),
2387
2387
  type: "text",
2388
- placeholder: e.placeholder ? e.placeholder : G.$t("sui.autocomplete_placeholder"),
2388
+ placeholder: e.placeholder ? e.placeholder : W.$t("sui.autocomplete_placeholder"),
2389
2389
  class: q(["w-full rounded disabled:cursor-not-allowed disabled:text-slate-300", [
2390
2390
  p(o) ? "border-red-600" : "border-slate-300",
2391
2391
  p(se),
@@ -2432,8 +2432,8 @@ const ds = { class: "relative" }, fs = { class: "relative" }, ms = ["value", "pl
2432
2432
  ref: y,
2433
2433
  class: "max-h-[214px] min-h-[75px] w-full overflow-y-auto"
2434
2434
  }, [
2435
- p(O).length == 0 ? Q(G.$slots, "empty", { key: 0 }, () => [
2436
- v("div", vs, W(G.$t("sui.nothing_found")), 1)
2435
+ p(O).length == 0 ? Q(W.$slots, "empty", { key: 0 }, () => [
2436
+ v("div", vs, G(W.$t("sui.nothing_found")), 1)
2437
2437
  ]) : (b(), T("ul", {
2438
2438
  key: 1,
2439
2439
  class: q([e.inline ? "p-0 pt-1" : "p-1"])
@@ -2449,7 +2449,7 @@ const ds = { class: "relative" }, fs = { class: "relative" }, ms = ["value", "pl
2449
2449
  onClick: (oe) => c(he),
2450
2450
  onMouseenter: (oe) => m.value = Oe
2451
2451
  }, [
2452
- Q(G.$slots, "option", {
2452
+ Q(W.$slots, "option", {
2453
2453
  option: he.option,
2454
2454
  selected: p(M)(he),
2455
2455
  active: p(t) && p(t).value == he.value
@@ -2457,7 +2457,7 @@ const ds = { class: "relative" }, fs = { class: "relative" }, ms = ["value", "pl
2457
2457
  v("div", {
2458
2458
  class: q(["flex items-center rounded px-2 py-1 text-sm", [ne(he), p(Y)]])
2459
2459
  }, [
2460
- v("div", ys, W(he.label), 1),
2460
+ v("div", ys, G(he.label), 1),
2461
2461
  v("div", bs, [
2462
2462
  p(M)(he) ? (b(), te(p(be), {
2463
2463
  key: 0,
@@ -2472,8 +2472,8 @@ const ds = { class: "relative" }, fs = { class: "relative" }, ms = ["value", "pl
2472
2472
  ], 2))
2473
2473
  ], 512),
2474
2474
  v("div", null, [
2475
- G.$slots.footer ? (b(), T("div", ws, [
2476
- Q(G.$slots, "footer", {
2475
+ W.$slots.footer ? (b(), T("div", ws, [
2476
+ Q(W.$slots, "footer", {
2477
2477
  options: p(O),
2478
2478
  keywords: p(i)
2479
2479
  })
@@ -2633,7 +2633,7 @@ const ds = { class: "relative" }, fs = { class: "relative" }, ms = ["value", "pl
2633
2633
  ]),
2634
2634
  empty: U((t) => [
2635
2635
  Q(w.$slots, "empty", st(t, { firstSearch: p(a) }), () => [
2636
- p(a) ? (b(), T("div", Ss, W(w.$t("sui.nothing_found")), 1)) : K("", !0)
2636
+ p(a) ? (b(), T("div", Ss, G(w.$t("sui.nothing_found")), 1)) : K("", !0)
2637
2637
  ])
2638
2638
  ]),
2639
2639
  _: 3
@@ -2706,8 +2706,8 @@ const ds = { class: "relative" }, fs = { class: "relative" }, ms = ["value", "pl
2706
2706
  marginRight: e.detailsPosition == "left" ? p(o) : "0"
2707
2707
  })
2708
2708
  }, [
2709
- v("div", Bs, W(e.user.full_name), 1),
2710
- v("div", Cs, W(e.user.email), 1)
2709
+ v("div", Bs, G(e.user.full_name), 1),
2710
+ v("div", Cs, G(e.user.email), 1)
2711
2711
  ], 6)) : K("", !0)
2712
2712
  ]),
2713
2713
  _: 1
@@ -3008,7 +3008,7 @@ const ds = { class: "relative" }, fs = { class: "relative" }, ms = ["value", "pl
3008
3008
  R(a, {
3009
3009
  icon: i.icon
3010
3010
  }, null, 8, ["icon"])
3011
- ])) : (b(), T("span", qs, W(p(Ml)(i.label)), 1))
3011
+ ])) : (b(), T("span", qs, G(p(Ml)(i.label)), 1))
3012
3012
  ], 10, Vs)
3013
3013
  ]),
3014
3014
  _: 2
@@ -3028,7 +3028,7 @@ const ds = { class: "relative" }, fs = { class: "relative" }, ms = ["value", "pl
3028
3028
  icon: "heroicons-solid:arrow-left",
3029
3029
  class: "mr-2"
3030
3030
  }),
3031
- v("span", null, W(p(n).label), 1)
3031
+ v("span", null, G(p(n).label), 1)
3032
3032
  ])
3033
3033
  ]),
3034
3034
  _: 1
@@ -3187,7 +3187,7 @@ const Qs = /* @__PURE__ */ qe(Us, [["render", Ws]]), Ys = ["type", "disabled", "
3187
3187
  option: y,
3188
3188
  disabled: e.disabled
3189
3189
  }, () => [
3190
- Ue(W(y.label), 1)
3190
+ Ue(G(y.label), 1)
3191
3191
  ])
3192
3192
  ], 10, Ys)
3193
3193
  ], 4))), 128))
@@ -3285,7 +3285,7 @@ const cr = /* @__PURE__ */ qe(Zs, [["render", ei]]), ti = {
3285
3285
  class: q({
3286
3286
  "text-red-600": p(l) > e.max
3287
3287
  })
3288
- }, W(p(l)) + "/" + W(e.max), 3)) : e.min && p(l) < e.min ? (b(), T("div", ti, W(o.$t("sui.min_x_characters", { x: e.min })) + " (" + W(p(l)) + "/" + W(e.min) + ") ", 1)) : K("", !0)
3288
+ }, G(p(l)) + "/" + G(e.max), 3)) : e.min && p(l) < e.min ? (b(), T("div", ti, G(o.$t("sui.min_x_characters", { x: e.min })) + " (" + G(p(l)) + "/" + G(e.min) + ") ", 1)) : K("", !0)
3289
3289
  ]));
3290
3290
  }
3291
3291
  }), ri = { class: "pointer-events-none absolute left-full z-[1] items-center" }, oi = { class: "ml-2 whitespace-nowrap rounded bg-slate-900 bg-opacity-80 px-3 py-2 text-xs leading-tight text-white backdrop-blur" }, li = {
@@ -3351,8 +3351,8 @@ const cr = /* @__PURE__ */ qe(Zs, [["render", ei]]), ti = {
3351
3351
  class: "mr-1 text-green-500",
3352
3352
  icon: "heroicons:check-circle-solid"
3353
3353
  }),
3354
- Ue(" " + W(k.$t("sui.copied")), 1)
3355
- ])) : (b(), T("div", ai, W(k.$t("sui.click_to_copy")), 1))
3354
+ Ue(" " + G(k.$t("sui.copied")), 1)
3355
+ ])) : (b(), T("div", ai, G(k.$t("sui.click_to_copy")), 1))
3356
3356
  ])
3357
3357
  ], 512), [
3358
3358
  [tt, p(n)]
@@ -3428,7 +3428,7 @@ const go = /* @__PURE__ */ qe(ii, [["render", ui]]), zt = /* @__PURE__ */ H({
3428
3428
  }), l = C(() => r.size == "xs" ? "text-[10px]" : r.size == "sm" ? "text-xs" : r.size == "base" ? "text-sm" : "text-xs"), o = C(() => r.color == "danger" ? "bg-red-500 text-white" : r.color == "primary" ? "bg-primary-500 text-white" : r.color == "dark" ? "bg-slate-900 text-white" : r.color == "light" ? "bg-slate-200 text-slate-900" : "bg-white text-slate-900");
3429
3429
  return (a, s) => (b(), T("div", {
3430
3430
  class: q(["inline-flex h-4 w-auto items-center justify-center rounded-full px-1.5", [p(l), p(o)]])
3431
- }, W(p(n)), 3));
3431
+ }, G(p(n)), 3));
3432
3432
  }
3433
3433
  });
3434
3434
  function Gt(e) {
@@ -3894,7 +3894,7 @@ list should be an Array.`), u.length === 0)
3894
3894
  var Me = me.length;
3895
3895
  (!je || je < 0) && (je = 0), (!Ae || Ae < 0 || Me < Ae) && (Ae = Me);
3896
3896
  for (var Ce = "", Be = je; Be < Ae; Be++)
3897
- Ce += G(me[Be]);
3897
+ Ce += W(me[Be]);
3898
3898
  return Ce;
3899
3899
  }(ie, x, A);
3900
3900
  break;
@@ -4018,7 +4018,7 @@ list should be an Array.`), u.length === 0)
4018
4018
  }
4019
4019
  }, w.prototype.inspect = function() {
4020
4020
  for (var u = [], x = this.length, A = 0; A < x; A++)
4021
- if (u[A] = G(this[A]), A === o.INSPECT_MAX_BYTES) {
4021
+ if (u[A] = W(this[A]), A === o.INSPECT_MAX_BYTES) {
4022
4022
  u[A + 1] = "...";
4023
4023
  break;
4024
4024
  }
@@ -4044,7 +4044,7 @@ list should be an Array.`), u.length === 0)
4044
4044
  return Object.prototype.toString.call(x) === "[object Array]";
4045
4045
  })(u);
4046
4046
  }
4047
- function G(u) {
4047
+ function W(u) {
4048
4048
  return u < 16 ? "0" + u.toString(16) : u.toString(16);
4049
4049
  }
4050
4050
  function de(u) {
@@ -4114,9 +4114,9 @@ list should be an Array.`), u.length === 0)
4114
4114
  }, digest: function(J) {
4115
4115
  var ne = $.concat(re), ne = _ ? function(Y, se, fe) {
4116
4116
  $.isBuffer(se) || (se = new $(se)), $.isBuffer(fe) || (fe = new $(fe)), se.length > O ? se = Y(se) : se.length < O && (se = $.concat([se, F], O));
4117
- for (var ve = new $(O), G = new $(O), de = 0; de < O; de++)
4118
- ve[de] = 54 ^ se[de], G[de] = 92 ^ se[de];
4119
- return fe = Y($.concat([ve, fe])), Y($.concat([G, fe]));
4117
+ for (var ve = new $(O), W = new $(O), de = 0; de < O; de++)
4118
+ ve[de] = 54 ^ se[de], W[de] = 92 ^ se[de];
4119
+ return fe = Y($.concat([ve, fe])), Y($.concat([W, fe]));
4120
4120
  }(j, _, ne) : j(ne);
4121
4121
  return re = null, J ? ne.toString(J) : ne;
4122
4122
  } };
@@ -4195,7 +4195,7 @@ list should be an Array.`), u.length === 0)
4195
4195
  for (var F, N, g, S = Array(80), h = 1732584193, d = -271733879, c = -1732584194, _ = 271733878, j = -1009589776, re = 0; re < t.length; re += 16) {
4196
4196
  for (var J = h, ne = d, Y = c, se = _, fe = j, ve = 0; ve < 80; ve++) {
4197
4197
  S[ve] = ve < 16 ? t[re + ve] : I(S[ve - 3] ^ S[ve - 8] ^ S[ve - 14] ^ S[ve - 16], 1);
4198
- var G = w(w(I(h, 5), (G = d, N = c, g = _, (F = ve) < 20 ? G & N | ~G & g : !(F < 40) && F < 60 ? G & N | G & g | N & g : G ^ N ^ g)), w(w(j, S[ve]), (F = ve) < 20 ? 1518500249 : F < 40 ? 1859775393 : F < 60 ? -1894007588 : -899497514)), j = _, _ = c, c = I(d, 30), d = h, h = G;
4198
+ var W = w(w(I(h, 5), (W = d, N = c, g = _, (F = ve) < 20 ? W & N | ~W & g : !(F < 40) && F < 60 ? W & N | W & g | N & g : W ^ N ^ g)), w(w(j, S[ve]), (F = ve) < 20 ? 1518500249 : F < 40 ? 1859775393 : F < 60 ? -1894007588 : -899497514)), j = _, _ = c, c = I(d, 30), d = h, h = W;
4199
4199
  }
4200
4200
  h = w(h, J), d = w(d, ne), c = w(c, Y), _ = w(_, se), j = w(j, fe);
4201
4201
  }
@@ -4222,8 +4222,8 @@ list should be an Array.`), u.length === 0)
4222
4222
  var N, g = new Array(1116352408, 1899447441, 3049323471, 3921009573, 961987163, 1508970993, 2453635748, 2870763221, 3624381080, 310598401, 607225278, 1426881987, 1925078388, 2162078206, 2614888103, 3248222580, 3835390401, 4022224774, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, 2554220882, 2821834349, 2952996808, 3210313671, 3336571891, 3584528711, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, 2177026350, 2456956037, 2730485921, 2820302411, 3259730800, 3345764771, 3516065817, 3600352804, 4094571909, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, 2227730452, 2361852424, 2428436474, 2756734187, 3204031479, 3329325298), S = new Array(1779033703, 3144134277, 1013904242, 2773480762, 1359893119, 2600822924, 528734635, 1541459225), h = new Array(64);
4223
4223
  O[F >> 5] |= 128 << 24 - F % 32, O[15 + (F + 64 >> 9 << 4)] = F;
4224
4224
  for (var d, c, _ = 0; _ < O.length; _ += 16) {
4225
- for (var j = S[0], re = S[1], J = S[2], ne = S[3], Y = S[4], se = S[5], fe = S[6], ve = S[7], G = 0; G < 64; G++)
4226
- h[G] = G < 16 ? O[G + _] : $($($((c = h[G - 2], I(c, 17) ^ I(c, 19) ^ t(c, 10)), h[G - 7]), (c = h[G - 15], I(c, 7) ^ I(c, 18) ^ t(c, 3))), h[G - 16]), N = $($($($(ve, I(c = Y, 6) ^ I(c, 11) ^ I(c, 25)), Y & se ^ ~Y & fe), g[G]), h[G]), d = $(I(d = j, 2) ^ I(d, 13) ^ I(d, 22), j & re ^ j & J ^ re & J), ve = fe, fe = se, se = Y, Y = $(ne, N), ne = J, J = re, re = j, j = $(N, d);
4225
+ for (var j = S[0], re = S[1], J = S[2], ne = S[3], Y = S[4], se = S[5], fe = S[6], ve = S[7], W = 0; W < 64; W++)
4226
+ h[W] = W < 16 ? O[W + _] : $($($((c = h[W - 2], I(c, 17) ^ I(c, 19) ^ t(c, 10)), h[W - 7]), (c = h[W - 15], I(c, 7) ^ I(c, 18) ^ t(c, 3))), h[W - 16]), N = $($($($(ve, I(c = Y, 6) ^ I(c, 11) ^ I(c, 25)), Y & se ^ ~Y & fe), g[W]), h[W]), d = $(I(d = j, 2) ^ I(d, 13) ^ I(d, 22), j & re ^ j & J ^ re & J), ve = fe, fe = se, se = Y, Y = $(ne, N), ne = J, J = re, re = j, j = $(N, d);
4227
4227
  S[0] = $(j, S[0]), S[1] = $(re, S[1]), S[2] = $(J, S[2]), S[3] = $(ne, S[3]), S[4] = $(Y, S[4]), S[5] = $(se, S[5]), S[6] = $(fe, S[6]), S[7] = $(ve, S[7]);
4228
4228
  }
4229
4229
  return S;
@@ -5402,7 +5402,7 @@ const su = { class: "flex items-center" }, iu = {
5402
5402
  icon: e.icon,
5403
5403
  class: q(p(o))
5404
5404
  }, null, 8, ["icon", "class"])) : K("", !0),
5405
- Ue(" " + W(e.label), 1)
5405
+ Ue(" " + G(e.label), 1)
5406
5406
  ]),
5407
5407
  e.count ? (b(), T("div", iu, [
5408
5408
  R(zt, {
@@ -5687,10 +5687,10 @@ const su = { class: "flex items-center" }, iu = {
5687
5687
  c != e.modelValue && L(c) ? "hover:border-slate-300 hover:text-slate-700" : ""
5688
5688
  ]]),
5689
5689
  onClick: (j) => $(c)
5690
- }, W(c), 11, mu))), 128))
5690
+ }, G(c), 11, mu))), 128))
5691
5691
  ], 2),
5692
5692
  p(f) ? (b(), T("div", pu, [
5693
- v("span", hu, W(S.$t("sui.page")), 1),
5693
+ v("span", hu, G(S.$t("sui.page")), 1),
5694
5694
  Ne(v("input", {
5695
5695
  "onUpdate:modelValue": h[1] || (h[1] = (c) => jt(o) ? o.value = c : null),
5696
5696
  type: "number",
@@ -5704,7 +5704,7 @@ const su = { class: "flex items-center" }, iu = {
5704
5704
  }, null, 40, vu), [
5705
5705
  [Tn, p(o)]
5706
5706
  ]),
5707
- v("span", gu, W(S.$t("sui.of")) + " " + W(e.lastPage), 1)
5707
+ v("span", gu, G(S.$t("sui.of")) + " " + G(e.lastPage), 1)
5708
5708
  ])) : K("", !0),
5709
5709
  v("div", yu, [
5710
5710
  v("button", {
@@ -5720,7 +5720,7 @@ const su = { class: "flex items-center" }, iu = {
5720
5720
  ])
5721
5721
  ]),
5722
5722
  p(f) ? K("", !0) : (b(), T("div", wu, [
5723
- v("span", xu, W(S.$t("sui.go_to_page")), 1),
5723
+ v("span", xu, G(S.$t("sui.go_to_page")), 1),
5724
5724
  Ne(v("input", {
5725
5725
  "onUpdate:modelValue": h[4] || (h[4] = (c) => jt(l) ? l.value = c : null),
5726
5726
  type: "number",
@@ -6074,7 +6074,7 @@ const Eu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Au = { class: "min
6074
6074
  function ve(P = !1) {
6075
6075
  de(P, !0);
6076
6076
  }
6077
- function G(P = !1) {
6077
+ function W(P = !1) {
6078
6078
  de(P, !1);
6079
6079
  }
6080
6080
  function de(P = !1, X = !0) {
@@ -6124,7 +6124,7 @@ const Eu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Au = { class: "min
6124
6124
  }), r({
6125
6125
  fetch: de,
6126
6126
  fetchWithLoading: ve,
6127
- fetchWithoutLoading: G,
6127
+ fetchWithoutLoading: W,
6128
6128
  scrollIntoView: x,
6129
6129
  query: I
6130
6130
  }), (P, X) => {
@@ -6187,7 +6187,7 @@ const Eu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Au = { class: "min
6187
6187
  class: "h-6 w-6 text-slate-500 xs:mr-2",
6188
6188
  icon: "heroicons:adjustments-horizontal-solid"
6189
6189
  }),
6190
- v("span", Du, W(P.$t("sui.filters")), 1)
6190
+ v("span", Du, G(P.$t("sui.filters")), 1)
6191
6191
  ])) : K("", !0),
6192
6192
  e.actions && e.actions.length ? (b(), te(At, {
6193
6193
  key: 2,
@@ -6218,7 +6218,7 @@ const Eu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Au = { class: "min
6218
6218
  onPageChange: J
6219
6219
  }),
6220
6220
  p(oe) ? (b(), T("div", Pu, [
6221
- v("p", Vu, W((p(oe).current_page - 1) * p(oe).per_page + 1) + " - " + W(P.$t("sui.pagination_detail", {
6221
+ v("p", Vu, G((p(oe).current_page - 1) * p(oe).per_page + 1) + " - " + G(P.$t("sui.pagination_detail", {
6222
6222
  page: Math.min(
6223
6223
  p(oe).current_page * p(oe).per_page,
6224
6224
  p(oe).total
@@ -6269,7 +6269,7 @@ const Eu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Au = { class: "min
6269
6269
  }, {
6270
6270
  default: U(() => [
6271
6271
  v("div", Ru, [
6272
- v("h2", Uu, W(P.$t("sui.filters")), 1),
6272
+ v("h2", Uu, G(P.$t("sui.filters")), 1),
6273
6273
  v("div", Hu, [
6274
6274
  Q(P.$slots, "filters", {
6275
6275
  query: p(I),
@@ -6281,7 +6281,7 @@ const Eu = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, Au = { class: "min
6281
6281
  v("button", {
6282
6282
  class: "btn btn-primary mt-4",
6283
6283
  onClick: X[4] || (X[4] = (me) => L.value = !1)
6284
- }, W(P.$t("sui.apply_filters")), 1)
6284
+ }, G(P.$t("sui.apply_filters")), 1)
6285
6285
  ])
6286
6286
  ])
6287
6287
  ]),
@@ -6533,21 +6533,21 @@ const Qo = /* @__PURE__ */ qe(Wu, [["render", Zu], ["__scopeId", "data-v-945515f
6533
6533
  fe(u) ? (se(u), n("details-close", u)) : (Y(u), n("details-open", u)), n("update:openedDetailed", a.value);
6534
6534
  }
6535
6535
  function Y(u) {
6536
- const x = G(u);
6536
+ const x = W(u);
6537
6537
  a.value.push(x);
6538
6538
  }
6539
6539
  function se(u) {
6540
- const x = G(u), A = a.value.indexOf(x);
6540
+ const x = W(u), A = a.value.indexOf(x);
6541
6541
  A >= 0 && a.value.splice(A, 1);
6542
6542
  }
6543
6543
  function fe(u) {
6544
- const x = G(u);
6544
+ const x = W(u);
6545
6545
  return a.value.indexOf(x) >= 0;
6546
6546
  }
6547
6547
  function ve(u) {
6548
6548
  return l.detailed && fe(u);
6549
6549
  }
6550
- function G(u) {
6550
+ function W(u) {
6551
6551
  const x = l.rowKey;
6552
6552
  return !x.length || !u ? u : u[x];
6553
6553
  }
@@ -6643,7 +6643,7 @@ const Qo = /* @__PURE__ */ qe(Wu, [["render", Zu], ["__scopeId", "data-v-945515f
6643
6643
  "text-blue-600": V.sortable && p(m) === V
6644
6644
  }])
6645
6645
  }, [
6646
- v("span", cc, W(V.label), 1),
6646
+ v("span", cc, G(V.label), 1),
6647
6647
  Ne(v("span", null, [
6648
6648
  R(A, {
6649
6649
  icon: "mdi:chevron-down",
@@ -6686,14 +6686,14 @@ const Qo = /* @__PURE__ */ qe(Wu, [["render", Zu], ["__scopeId", "data-v-945515f
6686
6686
  return [
6687
6687
  v("div", vc, [
6688
6688
  v("div", null, [
6689
- v("span", gc, W(u.$t("sui.x_rows_selected", {
6689
+ v("span", gc, G(u.$t("sui.x_rows_selected", {
6690
6690
  count: p(s).length
6691
6691
  })) + ".", 1),
6692
6692
  v("button", {
6693
6693
  type: "button",
6694
6694
  class: "mr-3 inline text-slate-700 underline",
6695
6695
  onClick: x[0] || (x[0] = (z) => _())
6696
- }, W(u.$t("sui.deselect_all")), 1)
6696
+ }, G(u.$t("sui.deselect_all")), 1)
6697
6697
  ]),
6698
6698
  (V = e.checkableActions) != null && V.length ? (b(), te(At, {
6699
6699
  key: 0,
@@ -6969,7 +6969,7 @@ const Yo = /* @__PURE__ */ qe(Ec, [["__scopeId", "data-v-9ab7d17a"]]), Jo = H({
6969
6969
  value: i.newKey,
6970
6970
  onChange: (m) => o(m, i.newKey)
6971
6971
  }, null, 40, Ac),
6972
- v("span", Tc, W(i.label), 1)
6972
+ v("span", Tc, G(i.label), 1)
6973
6973
  ])
6974
6974
  ]))), 128))
6975
6975
  ]));
@@ -7183,9 +7183,9 @@ const Pc = /* @__PURE__ */ qe(Mc, [["render", Dc]]), Vc = { class: "flex justify
7183
7183
  "max-height": e.maxHeight,
7184
7184
  "visible-columns": p(w),
7185
7185
  onSort: se,
7186
- onCheck: c[0] || (c[0] = (G) => d.$emit("check", G)),
7187
- "onUpdate:checkedRows": c[1] || (c[1] = (G) => d.$emit("update:checked-rows", G)),
7188
- onCheckAll: c[2] || (c[2] = (G) => d.$emit("checkAll", G)),
7186
+ onCheck: c[0] || (c[0] = (W) => d.$emit("check", W)),
7187
+ "onUpdate:checkedRows": c[1] || (c[1] = (W) => d.$emit("update:checked-rows", W)),
7188
+ onCheckAll: c[2] || (c[2] = (W) => d.$emit("checkAll", W)),
7189
7189
  onCellClick: k
7190
7190
  }, {
7191
7191
  default: U(() => [
@@ -7196,13 +7196,13 @@ const Pc = /* @__PURE__ */ qe(Mc, [["render", Dc]]), Vc = { class: "flex justify
7196
7196
  clickable: !1,
7197
7197
  "custom-key": "actions"
7198
7198
  }, {
7199
- default: U(({ row: G }) => [
7199
+ default: U(({ row: W }) => [
7200
7200
  v("div", Vc, [
7201
- Q(d.$slots, "rowActions", { row: G }),
7201
+ Q(d.$slots, "rowActions", { row: W }),
7202
7202
  e.editButton && e.editUrl ? (b(), te(j, {
7203
7203
  key: 0,
7204
- to: e.editUrl(G),
7205
- disabled: !E(G)
7204
+ to: e.editUrl(W),
7205
+ disabled: !E(W)
7206
7206
  }, {
7207
7207
  default: U(() => [
7208
7208
  v("button", Nc, [
@@ -7218,8 +7218,8 @@ const Pc = /* @__PURE__ */ qe(Mc, [["render", Dc]]), Vc = { class: "flex justify
7218
7218
  key: 1,
7219
7219
  type: "button",
7220
7220
  class: "btn btn-white bg-transparent p-2",
7221
- disabled: !L(G),
7222
- onClick: (de) => $(G)
7221
+ disabled: !L(W),
7222
+ onClick: (de) => $(W)
7223
7223
  }, [
7224
7224
  R(_, {
7225
7225
  icon: "heroicons:trash-solid",
@@ -7231,11 +7231,11 @@ const Pc = /* @__PURE__ */ qe(Mc, [["render", Dc]]), Vc = { class: "flex justify
7231
7231
  _: 3
7232
7232
  }, 8, ["visible"])
7233
7233
  ]),
7234
- detail: U((G) => [
7235
- Q(d.$slots, "detail", Ze(Xe(G)))
7234
+ detail: U((W) => [
7235
+ Q(d.$slots, "detail", Ze(Xe(W)))
7236
7236
  ]),
7237
- checkedHeader: U((G) => [
7238
- Q(d.$slots, "checkedHeader", Ze(Xe(G)))
7237
+ checkedHeader: U((W) => [
7238
+ Q(d.$slots, "checkedHeader", Ze(Xe(W)))
7239
7239
  ]),
7240
7240
  empty: U(() => [
7241
7241
  fe ? (b(), T("div", zc, [
@@ -7244,12 +7244,12 @@ const Pc = /* @__PURE__ */ qe(Mc, [["render", Dc]]), Vc = { class: "flex justify
7244
7244
  icon: "heroicons:x-circle",
7245
7245
  class: "h-10 w-10 text-red-600"
7246
7246
  }),
7247
- v("p", Uc, W(d.$t("sui.whoops")), 1)
7247
+ v("p", Uc, G(d.$t("sui.whoops")), 1)
7248
7248
  ])
7249
7249
  ])) : ve ? (b(), T("div", Hc, [
7250
7250
  v("div", Kc, [
7251
7251
  R(Pc, { class: "w-32" }),
7252
- v("p", Gc, W(d.$t("sui.nothing_found")), 1)
7252
+ v("p", Gc, G(d.$t("sui.nothing_found")), 1)
7253
7253
  ])
7254
7254
  ])) : K("", !0)
7255
7255
  ]),
@@ -7279,7 +7279,7 @@ const Pc = /* @__PURE__ */ qe(Mc, [["render", Dc]]), Vc = { class: "flex justify
7279
7279
  name: "sidebarBottom",
7280
7280
  fn: U(() => [
7281
7281
  v("div", Wc, [
7282
- v("h3", Qc, W(d.$t("sui.columns")), 1),
7282
+ v("h3", Qc, G(d.$t("sui.columns")), 1),
7283
7283
  R(_t, null, {
7284
7284
  default: U(() => [
7285
7285
  R(cr, { size: "sm" }, {
@@ -7559,11 +7559,11 @@ const Pc = /* @__PURE__ */ qe(Mc, [["render", Dc]]), Vc = { class: "flex justify
7559
7559
  placeholder: $.$t("sui.year"),
7560
7560
  onChange: M[1] || (M[1] = (w) => k())
7561
7561
  }, [
7562
- v("option", ld, W($.$t("sui.year")), 1),
7562
+ v("option", ld, G($.$t("sui.year")), 1),
7563
7563
  (b(!0), T(pe, null, we(p(s), (w) => (b(), T("option", {
7564
7564
  key: w,
7565
7565
  value: w
7566
- }, W(w), 9, ad))), 128))
7566
+ }, G(w), 9, ad))), 128))
7567
7567
  ], 42, od), [
7568
7568
  [Sn, p(f).year]
7569
7569
  ])
@@ -7583,11 +7583,11 @@ const Pc = /* @__PURE__ */ qe(Mc, [["render", Dc]]), Vc = { class: "flex justify
7583
7583
  placeholder: $.$t("sui.month"),
7584
7584
  onChange: M[3] || (M[3] = (w) => k())
7585
7585
  }, [
7586
- v("option", ud, W($.$t("sui.month")), 1),
7586
+ v("option", ud, G($.$t("sui.month")), 1),
7587
7587
  (b(!0), T(pe, null, we(p(i), (w, I) => (b(), T("option", {
7588
7588
  key: w,
7589
7589
  value: I + 1
7590
- }, W(w), 9, cd))), 128))
7590
+ }, G(w), 9, cd))), 128))
7591
7591
  ], 42, id), [
7592
7592
  [Sn, p(f).month]
7593
7593
  ])
@@ -7607,11 +7607,11 @@ const Pc = /* @__PURE__ */ qe(Mc, [["render", Dc]]), Vc = { class: "flex justify
7607
7607
  placeholder: $.$t("sui.day"),
7608
7608
  onChange: M[5] || (M[5] = (w) => k())
7609
7609
  }, [
7610
- v("option", md, W($.$t("sui.day")), 1),
7610
+ v("option", md, G($.$t("sui.day")), 1),
7611
7611
  (b(!0), T(pe, null, we(p(m), (w) => (b(), T("option", {
7612
7612
  key: w,
7613
7613
  value: w
7614
- }, W(w), 9, pd))), 128))
7614
+ }, G(w), 9, pd))), 128))
7615
7615
  ], 42, fd), [
7616
7616
  [Sn, p(f).day]
7617
7617
  ])
@@ -7623,7 +7623,7 @@ const Pc = /* @__PURE__ */ qe(Mc, [["render", Dc]]), Vc = { class: "flex justify
7623
7623
  class: "mt-1 appearance-none border-transparent bg-transparent text-sm text-slate-700 underline outline-none disabled:cursor-not-allowed disabled:opacity-50",
7624
7624
  onClick: M[6] || (M[6] = (w) => y())
7625
7625
  }, [
7626
- v("span", null, W($.$t("sui.clear")), 1)
7626
+ v("span", null, G($.$t("sui.clear")), 1)
7627
7627
  ], 8, hd)
7628
7628
  ]));
7629
7629
  }
@@ -7812,7 +7812,7 @@ function Ad(e, r, n, l, o, a) {
7812
7812
  return b(), T("label", {
7813
7813
  class: q(e.classes)
7814
7814
  }, [
7815
- Ue(W(e.label), 1),
7815
+ Ue(G(e.label), 1),
7816
7816
  e.required ? (b(), T("span", Ed, " *")) : K("", !0)
7817
7817
  ], 2);
7818
7818
  }
@@ -7872,7 +7872,7 @@ const Zo = /* @__PURE__ */ qe(Id, [["render", Ad]]), Td = ["data-name"], Xo = /*
7872
7872
  class: "mt-1"
7873
7873
  }, {
7874
7874
  default: U(() => [
7875
- Ue(W(p(k)), 1)
7875
+ Ue(G(p(k)), 1)
7876
7876
  ]),
7877
7877
  _: 1
7878
7878
  })) : p(n) == "alert" ? (b(), te(er, {
@@ -7882,7 +7882,7 @@ const Zo = /* @__PURE__ */ qe(Id, [["render", Ad]]), Td = ["data-name"], Xo = /*
7882
7882
  class: "mt-4"
7883
7883
  }, {
7884
7884
  default: U(() => [
7885
- Ue(W(p(k)), 1)
7885
+ Ue(G(p(k)), 1)
7886
7886
  ]),
7887
7887
  _: 1
7888
7888
  })) : K("", !0)
@@ -7995,7 +7995,7 @@ const Zo = /* @__PURE__ */ qe(Id, [["render", Ad]]), Td = ["data-name"], Xo = /*
7995
7995
  p(k),
7996
7996
  p(y)
7997
7997
  ]])
7998
- }, W(e.prefix), 3)) : K("", !0),
7998
+ }, G(e.prefix), 3)) : K("", !0),
7999
7999
  v("input", {
8000
8000
  ref: "input",
8001
8001
  value: e.modelValue,
@@ -8025,7 +8025,7 @@ const Zo = /* @__PURE__ */ qe(Id, [["render", Ad]]), Td = ["data-name"], Xo = /*
8025
8025
  p(k),
8026
8026
  p(y)
8027
8027
  ]])
8028
- }, W(e.suffix), 3)) : K("", !0),
8028
+ }, G(e.suffix), 3)) : K("", !0),
8029
8029
  e.iconRight ? (b(), T("div", {
8030
8030
  key: 3,
8031
8031
  class: q(["flex shrink-0 items-center justify-center rounded-r border-l px-3 transition-colors", [p(f), p(k), p(y)]])
@@ -8221,7 +8221,7 @@ const Zo = /* @__PURE__ */ qe(Id, [["render", Ad]]), Td = ["data-name"], Xo = /*
8221
8221
  color: "danger"
8222
8222
  }, {
8223
8223
  default: U(() => [
8224
- Ue(W(p(k)), 1)
8224
+ Ue(G(p(k)), 1)
8225
8225
  ]),
8226
8226
  _: 1
8227
8227
  })) : K("", !0)
@@ -8916,10 +8916,10 @@ const ef = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
8916
8916
  const se = () => {
8917
8917
  L.value = null, ve();
8918
8918
  }, fe = () => {
8919
- G();
8919
+ W();
8920
8920
  }, ve = () => {
8921
8921
  de("");
8922
- }, G = () => {
8922
+ }, W = () => {
8923
8923
  ze(() => {
8924
8924
  E.value = Math.max(
8925
8925
  0,
@@ -8959,7 +8959,7 @@ const ef = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
8959
8959
  }, [
8960
8960
  v("div", {
8961
8961
  class: q(["py-[5px] pl-3 text-sm", [e.disabled ? "pr-3" : "pr-1"]])
8962
- }, W(ge.label), 3),
8962
+ }, G(ge.label), 3),
8963
8963
  e.disabled ? K("", !0) : (b(), T("button", {
8964
8964
  key: 0,
8965
8965
  type: "button",
@@ -8993,7 +8993,7 @@ const ef = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
8993
8993
  class: "max-h-[214px] min-h-[75px] w-full overflow-y-auto"
8994
8994
  }, [
8995
8995
  p(O).length == 0 ? Q(oe.$slots, "empty", { key: 0 }, () => [
8996
- v("div", cf, W(oe.$t("sui.nothing_found")), 1)
8996
+ v("div", cf, G(oe.$t("sui.nothing_found")), 1)
8997
8997
  ]) : (b(), T("ul", df, [
8998
8998
  (b(!0), T(pe, null, we(p(O), (ge) => (b(), T("li", {
8999
8999
  key: ge.value,
@@ -9012,7 +9012,7 @@ const ef = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
9012
9012
  }, () => [
9013
9013
  v("div", {
9014
9014
  class: q(["rounded px-2 py-1 text-sm", c(ge)])
9015
- }, W(ge.label), 3)
9015
+ }, G(ge.label), 3)
9016
9016
  ])
9017
9017
  ], 40, ff)
9018
9018
  ]))), 128))
@@ -9142,7 +9142,7 @@ const ef = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
9142
9142
  ]),
9143
9143
  empty: U((I) => [
9144
9144
  Q(M.$slots, "empty", st(I, { firstSearch: p(a) }), () => [
9145
- p(a) ? (b(), T("div", vf, W(M.$t("sui.nothing_found")), 1)) : K("", !0)
9145
+ p(a) ? (b(), T("div", vf, G(M.$t("sui.nothing_found")), 1)) : K("", !0)
9146
9146
  ])
9147
9147
  ]),
9148
9148
  _: 3
@@ -9292,7 +9292,7 @@ const ef = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
9292
9292
  key: 2,
9293
9293
  class: "max-w-8 h-1/2 max-h-8 w-1/2 text-slate-600",
9294
9294
  icon: "mdi:music"
9295
- })) : (b(), T("span", xf, W(p(o)), 1))
9295
+ })) : (b(), T("span", xf, G(p(o)), 1))
9296
9296
  ]))
9297
9297
  ]),
9298
9298
  _: 1
@@ -9331,8 +9331,8 @@ const ef = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
9331
9331
  }, {
9332
9332
  default: U(() => [
9333
9333
  v("div", Bf, [
9334
- v("p", Cf, W(p(n)), 1),
9335
- v("p", _f, W(p(l)), 1)
9334
+ v("p", Cf, G(p(n)), 1),
9335
+ v("p", _f, G(p(l)), 1)
9336
9336
  ])
9337
9337
  ]),
9338
9338
  _: 1
@@ -9519,10 +9519,10 @@ const ef = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
9519
9519
  class: "mx-auto mb-3 h-6 w-6 text-slate-500"
9520
9520
  }),
9521
9521
  v("div", Ef, [
9522
- v("p", Af, W(g.$t("sui.drop_or_click_to_upload")), 1),
9522
+ v("p", Af, G(g.$t("sui.drop_or_click_to_upload")), 1),
9523
9523
  v("div", Tf, [
9524
- p(t) ? (b(), T("p", Lf, W(p(t)), 1)) : K("", !0),
9525
- v("p", null, W(p(O)), 1)
9524
+ p(t) ? (b(), T("p", Lf, G(p(t)), 1)) : K("", !0),
9525
+ v("p", null, G(p(O)), 1)
9526
9526
  ])
9527
9527
  ])
9528
9528
  ], 2)
@@ -9543,7 +9543,7 @@ const ef = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
9543
9543
  onRemove: (_) => $(c)
9544
9544
  }, {
9545
9545
  default: U(() => [
9546
- Ue(W(d.file_name), 1)
9546
+ Ue(G(d.file_name), 1)
9547
9547
  ]),
9548
9548
  _: 2
9549
9549
  }, 1032, ["media", "show-remove", "onRemove"])
@@ -9558,7 +9558,7 @@ const ef = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
9558
9558
  onRemove: (_) => L(c)
9559
9559
  }, {
9560
9560
  default: U(() => [
9561
- Ue(W(d.file_name), 1)
9561
+ Ue(G(d.file_name), 1)
9562
9562
  ]),
9563
9563
  _: 2
9564
9564
  }, 1032, ["media", "show-remove", "onRemove"])
@@ -9797,7 +9797,7 @@ const ef = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
9797
9797
  icon: e.icon,
9798
9798
  class: q(p(l))
9799
9799
  }, null, 8, ["icon", "class"])) : K("", !0),
9800
- Ue(" " + W(e.label), 1)
9800
+ Ue(" " + G(e.label), 1)
9801
9801
  ]),
9802
9802
  e.count ? (b(), T("div", Rf, [
9803
9803
  R(zt, {
@@ -9870,8 +9870,8 @@ function Yf(e, r, n, l, o, a) {
9870
9870
  class: q(["pb-8 md:grid md:grid-cols-3 md:gap-8", [e.bordered ? "mb-8 border-b border-slate-300" : ""]])
9871
9871
  }, [
9872
9872
  v("div", Kf, [
9873
- v("h3", Gf, W(e.title), 1),
9874
- e.description ? (b(), T("p", Wf, W(e.description), 1)) : K("", !0)
9873
+ v("h3", Gf, G(e.title), 1),
9874
+ e.description ? (b(), T("p", Wf, G(e.description), 1)) : K("", !0)
9875
9875
  ]),
9876
9876
  v("div", Qf, [
9877
9877
  Q(e.$slots, "default")
@@ -10017,7 +10017,7 @@ function sm(e, r, n, l, o, a) {
10017
10017
  x: e.radius,
10018
10018
  y: e.radius + e.fontSize / 10,
10019
10019
  style: De({ fontSize: e.fontSize + "px", fontWeight: 600 })
10020
- }, W(Math.round(e.progress * 100)) + "% ", 13, am)
10020
+ }, G(Math.round(e.progress * 100)) + "% ", 13, am)
10021
10021
  ], 8, rm);
10022
10022
  }
10023
10023
  const im = /* @__PURE__ */ qe(nm, [["render", sm], ["__scopeId", "data-v-e5ae83e3"]]), um = { class: "space-y-3" }, cm = ["for"], dm = ["id", "name", "checked", "required", "disabled", "value", "onInput"], fm = { class: "text-sm" }, mm = /* @__PURE__ */ H({
@@ -10101,7 +10101,7 @@ const im = /* @__PURE__ */ qe(nm, [["render", sm], ["__scopeId", "data-v-e5ae83e
10101
10101
  onInput: (y) => p(a)(k.option)
10102
10102
  }, null, 42, dm),
10103
10103
  Q(m.$slots, "option", { option: k }, () => [
10104
- v("span", fm, W(k.label), 1)
10104
+ v("span", fm, G(k.label), 1)
10105
10105
  ])
10106
10106
  ], 10, cm)
10107
10107
  ]))), 128))
@@ -10155,7 +10155,7 @@ const im = /* @__PURE__ */ qe(nm, [["render", sm], ["__scopeId", "data-v-e5ae83e
10155
10155
  class: "mt-1 inline appearance-none border-b border-dashed border-slate-400 bg-transparent px-0.5 py-0 text-slate-900 hover:text-slate-600",
10156
10156
  onClick: m[0] || (m[0] = (f) => l.value = !0)
10157
10157
  }, [
10158
- v("span", pm, W(i.$t("sui.read_more")), 1)
10158
+ v("span", pm, G(i.$t("sui.read_more")), 1)
10159
10159
  ])) : K("", !0)
10160
10160
  ]));
10161
10161
  }
@@ -10242,10 +10242,10 @@ const im = /* @__PURE__ */ qe(nm, [["render", sm], ["__scopeId", "data-v-e5ae83e
10242
10242
  disabled: "",
10243
10243
  hidden: "",
10244
10244
  value: l
10245
- }, W(e.placeholder ? e.placeholder : w.$t("sui.select_an_option")), 1)) : (b(), T("option", {
10245
+ }, G(e.placeholder ? e.placeholder : w.$t("sui.select_an_option")), 1)) : (b(), T("option", {
10246
10246
  key: 1,
10247
10247
  value: l
10248
- }, W(e.placeholder ? e.placeholder : w.$t("sui.select_an_option")), 1)),
10248
+ }, G(e.placeholder ? e.placeholder : w.$t("sui.select_an_option")), 1)),
10249
10249
  Q(w.$slots, "default")
10250
10250
  ], 42, vm));
10251
10251
  }
@@ -10305,10 +10305,10 @@ const im = /* @__PURE__ */ qe(nm, [["render", sm], ["__scopeId", "data-v-e5ae83e
10305
10305
  class: q(p(l))
10306
10306
  }, null, 8, ["icon", "class"])) : K("", !0)
10307
10307
  ], 2),
10308
- v("div", bm, W(e.title), 1),
10309
- e.description ? (b(), T("div", wm, W(e.description), 1)) : K("", !0),
10308
+ v("div", bm, G(e.title), 1),
10309
+ e.description ? (b(), T("div", wm, G(e.description), 1)) : K("", !0),
10310
10310
  e.linkText ? (b(), T("div", xm, [
10311
- v("div", km, W(e.linkText), 1),
10311
+ v("div", km, G(e.linkText), 1),
10312
10312
  v("div", null, [
10313
10313
  R(p(be), {
10314
10314
  icon: "heroicons:arrow-right-20-solid",
@@ -10435,11 +10435,11 @@ function Vm(e, r, n, l, o, a) {
10435
10435
  class: q(["inline-flex rounded-xl p-4", [e.centerClass]])
10436
10436
  }, [
10437
10437
  v("section", null, [
10438
- v("header", Om, W(e.label), 1),
10438
+ v("header", Om, G(e.label), 1),
10439
10439
  v("div", {
10440
10440
  class: q(["flex", [e.centerClass]])
10441
10441
  }, [
10442
- v("div", jm, W(e.primaryValue), 1),
10442
+ v("div", jm, G(e.primaryValue), 1),
10443
10443
  e.secondaryValue ? (b(), T("div", {
10444
10444
  key: 0,
10445
10445
  class: q(["ml-1 flex rounded-md px-1 text-lg font-bold", [e.backgroundClass, e.textClass, e.centerClass]])
@@ -10450,10 +10450,10 @@ function Vm(e, r, n, l, o, a) {
10450
10450
  class: q(e.iconClass)
10451
10451
  }, null, 8, ["icon", "class"])
10452
10452
  ])) : K("", !0),
10453
- v("div", Dm, W(e.secondaryValue), 1)
10453
+ v("div", Dm, G(e.secondaryValue), 1)
10454
10454
  ], 2)) : K("", !0)
10455
10455
  ], 2),
10456
- v("footer", Pm, W(e.caption), 1)
10456
+ v("footer", Pm, G(e.caption), 1)
10457
10457
  ])
10458
10458
  ], 2);
10459
10459
  }
@@ -10751,7 +10751,7 @@ const Zm = /* @__PURE__ */ qe(Km, [["render", Jm]]), Xm = { role: "presentation"
10751
10751
  maxHeight: e.maxHeight + "px",
10752
10752
  gridArea: o
10753
10753
  })
10754
- }, W(e.modelValue) + " " + W(" "), 7)
10754
+ }, G(e.modelValue) + " " + G(" "), 7)
10755
10755
  ], 4));
10756
10756
  }
10757
10757
  });
@@ -10791,13 +10791,13 @@ const lp = { class: "relative flex space-x-3" }, ap = { class: "text-sm leading-
10791
10791
  class: q(["flex min-w-0 flex-1 justify-between space-x-4", { "pt-1.5": !e.item.description }])
10792
10792
  }, [
10793
10793
  v("div", null, [
10794
- v("p", ap, W(e.item.title), 1),
10795
- e.item.description ? (b(), T("p", sp, W(e.item.description), 1)) : K("", !0)
10794
+ v("p", ap, G(e.item.title), 1),
10795
+ e.item.description ? (b(), T("p", sp, G(e.item.description), 1)) : K("", !0)
10796
10796
  ]),
10797
10797
  e.item.date ? (b(), T("div", ip, [
10798
10798
  v("time", {
10799
10799
  datetime: e.item.date
10800
- }, W(e.item.date), 9, up)
10800
+ }, G(e.item.date), 9, up)
10801
10801
  ])) : K("", !0)
10802
10802
  ], 2)
10803
10803
  ]));
@@ -10877,7 +10877,7 @@ const lp = { class: "relative flex space-x-3" }, ap = { class: "text-sm leading-
10877
10877
  onClose: (s) => p(r).remove(a)
10878
10878
  }, {
10879
10879
  default: U(() => [
10880
- Ue(W(a.message), 1)
10880
+ Ue(G(a.message), 1)
10881
10881
  ]),
10882
10882
  _: 2
10883
10883
  }, 1032, ["color", "to", "action", "closable", "onClose"]))), 128)),
@@ -10942,7 +10942,7 @@ const lp = { class: "relative flex space-x-3" }, ap = { class: "text-sm leading-
10942
10942
  icon: e.icon,
10943
10943
  class: q(p(l))
10944
10944
  }, null, 8, ["icon", "class"])) : K("", !0),
10945
- Ue(" " + W(e.label), 1)
10945
+ Ue(" " + G(e.label), 1)
10946
10946
  ]),
10947
10947
  e.count ? (b(), T("div", gp, [
10948
10948
  R(zt, {
@@ -11011,7 +11011,7 @@ const lp = { class: "relative flex space-x-3" }, ap = { class: "text-sm leading-
11011
11011
  ]
11012
11012
  }, {
11013
11013
  default: U(() => [
11014
- Ue(W(m.label), 1)
11014
+ Ue(G(m.label), 1)
11015
11015
  ]),
11016
11016
  _: 2
11017
11017
  }, 1032, ["item", "dark", "item-class"])
@@ -12445,7 +12445,7 @@ const wp = ml.exports, xp = ["innerHTML"], kp = {
12445
12445
  class: "text-sm leading-tight text-slate-800",
12446
12446
  innerHTML: e.notification.text
12447
12447
  }, null, 8, xp),
12448
- p(a) ? (b(), T("p", kp, W(p(a)), 1)) : K("", !0)
12448
+ p(a) ? (b(), T("p", kp, G(p(a)), 1)) : K("", !0)
12449
12449
  ], 2));
12450
12450
  }
12451
12451
  }), Sp = { key: 1 }, $p = /* @__PURE__ */ H({
@@ -12564,7 +12564,7 @@ const wp = ml.exports, xp = ["innerHTML"], kp = {
12564
12564
  icon: "heroicons:inbox-stack",
12565
12565
  class: "mx-auto mb-2 h-8 w-8 text-slate-400"
12566
12566
  }),
12567
- v("p", _p, W(s.$t("sui.notifications_empty")), 1)
12567
+ v("p", _p, G(s.$t("sui.notifications_empty")), 1)
12568
12568
  ])
12569
12569
  ])) : K("", !0),
12570
12570
  e.notificationsConfig.footerTo ? (b(), T("div", Ip, [
@@ -12579,7 +12579,7 @@ const wp = ml.exports, xp = ["innerHTML"], kp = {
12579
12579
  onClick: k
12580
12580
  }, {
12581
12581
  default: U(() => [
12582
- v("div", Ep, W(e.notificationsConfig.footerLabel ? e.notificationsConfig.footerLabel : s.$t("sui.see_all_notifications")), 1)
12582
+ v("div", Ep, G(e.notificationsConfig.footerLabel ? e.notificationsConfig.footerLabel : s.$t("sui.see_all_notifications")), 1)
12583
12583
  ]),
12584
12584
  _: 2
12585
12585
  }, 1032, ["href", "onClick"])
@@ -12857,7 +12857,7 @@ const wp = ml.exports, xp = ["innerHTML"], kp = {
12857
12857
  onClose: (k) => p(r).remove(f)
12858
12858
  }, {
12859
12859
  default: U(() => [
12860
- Ue(W(f.message), 1)
12860
+ Ue(G(f.message), 1)
12861
12861
  ]),
12862
12862
  _: 2
12863
12863
  }, 1032, ["color", "to", "action", "closable", "onClose"]))), 128)),
@@ -12965,7 +12965,7 @@ const wp = ml.exports, xp = ["innerHTML"], kp = {
12965
12965
  m.title ? (b(), T("h2", {
12966
12966
  key: 0,
12967
12967
  class: q(["mb-3 pl-3 text-xs font-semibold uppercase tracking-widest", e.dark ? "text-slate-400" : "text-slate-500"])
12968
- }, W(m.title), 3)) : K("", !0),
12968
+ }, G(m.title), 3)) : K("", !0),
12969
12969
  v("div", null, [
12970
12970
  v("div", ah, [
12971
12971
  (b(!0), T(pe, null, we(m.actions, (f) => (b(), te(Zn, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sprintify-ui",
3
- "version": "0.0.83",
3
+ "version": "0.0.84",
4
4
  "scripts": {
5
5
  "build": "rimraf dist && vue-tsc && vite build",
6
6
  "build-fast": "rimraf dist && vite build",
@@ -326,12 +326,6 @@ function onMouseDown(event: MouseEvent) {
326
326
  return;
327
327
  }
328
328
 
329
- // If the element that was not clicked on the input,
330
- // prevent default
331
- if (clickedElement !== inputElement.value) {
332
- event.preventDefault();
333
- }
334
-
335
329
  // `el` is the element you're detecting clicks outside of
336
330
  if (autocomplete.value.contains(clickedElement)) {
337
331
  open();