vuesp-components 2.0.2 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,7 +1,7 @@
1
- import { openBlock as a, createElementBlock as f, createStaticVNode as De, createElementVNode as l, defineComponent as V, resolveComponent as ge, Fragment as j, createCommentVNode as B, normalizeClass as z, createVNode as g, withCtx as h, createBlock as D, renderSlot as $, markRaw as F, computed as A, resolveDynamicComponent as X, mergeProps as N, shallowRef as me, Teleport as pe, Transition as Z, unref as S, withModifiers as E, normalizeStyle as G, ref as H, resolveDirective as Te, withDirectives as oe, renderList as P, createTextVNode as L, toDisplayString as w, TransitionGroup as he, watch as ae, normalizeProps as W, guardReactiveProps as q, withKeys as Ie, vShow as Me, isRef as Le, vModelText as je, onMounted as be } from "vue";
1
+ import { openBlock as a, createElementBlock as f, createStaticVNode as De, createElementVNode as l, defineComponent as V, resolveComponent as ge, Fragment as j, createCommentVNode as B, normalizeClass as z, createVNode as g, withCtx as h, createBlock as T, renderSlot as k, markRaw as F, computed as D, resolveDynamicComponent as X, mergeProps as N, shallowRef as me, Teleport as pe, Transition as Z, unref as A, withModifiers as E, normalizeStyle as G, ref as H, resolveDirective as Te, withDirectives as oe, renderList as P, createTextVNode as L, toDisplayString as $, TransitionGroup as he, watch as ae, normalizeProps as W, guardReactiveProps as q, withKeys as Ie, vShow as Me, isRef as Le, vModelText as je, onMounted as be } from "vue";
2
2
  import { u as ye, a as Ne, b as xe, c as _e, d as ne, e as Oe } from "./useSwipeDown-E8KeNvRa.js";
3
3
  import { getDataValue as Ee } from "./dashboard/index.es.js";
4
- import { getFunction as oa, getParamsData as aa, getStateItem as na, setStateItem as ia } from "./dashboard/index.es.js";
4
+ import { getFunction as aa, getParamsData as na, getStateItem as ia, setStateItem as ra } from "./dashboard/index.es.js";
5
5
  import { dateUtcToString as He, timeUtcToString as Pe, findMenuItem as Fe, clone as Ue } from "./helpers/index.es.js";
6
6
  const Re = {
7
7
  mounted(e, s) {
@@ -65,10 +65,10 @@ const ke = /* @__PURE__ */ ee(Je, [["render", Xe]]), Ye = { class: "no-scrollbar
65
65
  }, [
66
66
  g(i, { to: "/" }, {
67
67
  default: h(() => [
68
- e.isSidebar ? (a(), D(ke, {
68
+ e.isSidebar ? (a(), T(ke, {
69
69
  key: 0,
70
70
  class: "h-[30px] text-primary"
71
- })) : (a(), D(ie, {
71
+ })) : (a(), T(ie, {
72
72
  key: 1,
73
73
  class: "h-[30px] text-primary"
74
74
  }))
@@ -77,7 +77,7 @@ const ke = /* @__PURE__ */ ee(Je, [["render", Xe]]), Ye = { class: "no-scrollbar
77
77
  })
78
78
  ], 2),
79
79
  l("div", Ye, [
80
- $(t.$slots, "default")
80
+ k(t.$slots, "default")
81
81
  ])
82
82
  ], 2)
83
83
  ], 64);
@@ -189,7 +189,7 @@ const Ce = /* @__PURE__ */ ee(pt, [["render", bt]]), yt = "relative flex justify
189
189
  block: { type: Boolean },
190
190
  outline: { type: Boolean, default: !1 },
191
191
  color: { default: "gray" },
192
- size: { default: "normal" },
192
+ size: { default: "md" },
193
193
  type: { default: "button" },
194
194
  href: { default: "" },
195
195
  to: { default: "" },
@@ -198,20 +198,20 @@ const Ce = /* @__PURE__ */ ee(pt, [["render", bt]]), yt = "relative flex justify
198
198
  },
199
199
  emits: ["click"],
200
200
  setup(e, { emit: s }) {
201
- const n = s, u = (x) => n("click", x), t = e.outline ? "border border-green-600 text-green-600" : "bg-green-600 dark:bg-green-800", c = e.outline ? "border border-red-600 text-red-600" : "bg-red-600 dark:bg-red-800", i = e.outline ? "border border-gray-600 text-gray-600" : "bg-gray-500 dark:bg-gray-800", m = e.outline ? "border border-blue-600 text-blue-600" : "bg-blue-700 dark:bg-blue-800", d = { green: t, red: c, gray: i, blue: m }, r = {
201
+ const n = s, u = (S) => n("click", S), t = e.outline ? "border border-green-600 text-green-600" : "bg-green-600 dark:bg-green-800", c = e.outline ? "border border-red-600 text-red-600" : "bg-red-600 dark:bg-red-800", i = e.outline ? "border border-gray-600 text-gray-600" : "bg-gray-500 dark:bg-gray-800", m = e.outline ? "border border-blue-600 text-blue-600" : "bg-blue-700 dark:bg-blue-800", d = (e.outline, ""), r = { green: t, red: c, gray: i, blue: m, transparent: d }, o = {
202
202
  button: "px-4",
203
203
  icon: "rounded-full border border-gray-200 dark:border-gray-800"
204
- }, o = {
205
- button: { normal: "h-10", small: "h-8" },
206
- icon: { normal: "size-10", small: "size-8" }
207
- }, p = A(() => [yt, y(e.color), v(e.type), b(e.type, e.size), { "w-full": e.block }]), C = A(() => e.href || e.to ? "router-link" : "button"), b = (x, T) => {
208
- var M;
209
- return ((M = o[x]) == null ? void 0 : M[T]) || "";
210
- }, v = (x) => (r == null ? void 0 : r[x]) || "", y = (x) => e.type === "icon" ? "" : `${e.outline ? "dark:text-white" : "text-white"} ${(d == null ? void 0 : d[x]) || ""}`;
211
- return (x, T) => (a(), D(X(C.value), N(x.$attrs, {
204
+ }, p = {
205
+ button: { sm: "h-8", md: "h-10", lg: "h-12", xl: "h-14" },
206
+ icon: { sm: "size-8", md: "size-10", lg: "size-12", xl: "size-14" }
207
+ }, w = D(() => [yt, C(e.color), y(e.type), v(e.type, e.size), { "w-full": e.block }]), b = D(() => e.href || e.to ? "router-link" : "button"), v = (S, M) => {
208
+ var U;
209
+ return ((U = p[S]) == null ? void 0 : U[M]) || "";
210
+ }, y = (S) => (o == null ? void 0 : o[S]) || "", C = (S) => e.type === "icon" ? "" : `${e.outline ? "dark:text-white" : "text-white"} ${(r == null ? void 0 : r[S]) || ""}`;
211
+ return (S, M) => (a(), T(X(b.value), N(S.$attrs, {
212
212
  href: e.href,
213
213
  to: e.to,
214
- class: p.value,
214
+ class: w.value,
215
215
  disabled: !!e.disabled,
216
216
  onClick: u
217
217
  }), {
@@ -219,9 +219,9 @@ const Ce = /* @__PURE__ */ ee(pt, [["render", bt]]), yt = "relative flex justify
219
219
  l("span", {
220
220
  class: z(e.loading ? "opacity-0" : "")
221
221
  }, [
222
- $(x.$slots, "default")
222
+ k(S.$slots, "default")
223
223
  ], 2),
224
- e.loading ? (a(), D(Ce, {
224
+ e.loading ? (a(), T(Ce, {
225
225
  key: 0,
226
226
  class: "absolute left-1/2 -translate-x-1/2"
227
227
  })) : B("", !0)
@@ -250,22 +250,22 @@ const K = F({ name: "ri-close-line", render: _t }), kt = { class: "absolute righ
250
250
  },
251
251
  emits: ["close", "click", "open"],
252
252
  setup(e, { emit: s }) {
253
- const n = s, { show: u, overlay: t, onClose: c, onOpen: i } = ye(n), m = me(null), d = me(null), { opacity: r, transform: o } = Ne(m, d, c), b = { click: (x) => {
254
- n("click", x);
255
- }, open: i, set: (x) => {
256
- x ? i() : c(new Event("hide"));
257
- } }, v = A(() => ({
253
+ const n = s, { show: u, overlay: t, onClose: c, onOpen: i } = ye(n), m = me(null), d = me(null), { opacity: r, transform: o } = Ne(m, d, c), b = { click: (C) => {
254
+ n("click", C);
255
+ }, open: i, set: (C) => {
256
+ C ? i() : c(new Event("hide"));
257
+ } }, v = D(() => ({
258
258
  auto: "max-h-[calc(100dvh-24px)] md:max-h-[calc(100dvh-100px)]",
259
259
  full: "h-[calc(100dvh-24px)] md:h-[calc(100dvh-100px)]",
260
260
  screen: "h-dvh"
261
- })), y = A(() => ({
261
+ })), y = D(() => ({
262
262
  auto: "max-h-[calc(100dvh-24px-16px)] md:max-h-[calc(100dvh-100px-16px)]",
263
263
  full: "h-[calc(100dvh-24px-16px)] md:h-[calc(100dvh-100px-16px)]",
264
264
  screen: "h-[calc(100dvh-16px)]"
265
265
  }));
266
- return (x, T) => {
267
- const M = K, R = O;
268
- return a(), D(pe, { to: "body" }, [
266
+ return (C, S) => {
267
+ const M = K, U = O;
268
+ return a(), T(pe, { to: "body" }, [
269
269
  g(Z, {
270
270
  "enter-active-class": "duration-300 ease-out",
271
271
  "enter-from-class": "transform opacity-0 translate-y-full xl:-translate-y-2",
@@ -275,46 +275,46 @@ const K = F({ name: "ri-close-line", render: _t }), kt = { class: "absolute righ
275
275
  "leave-to-class": "transform opacity-0 translate-y-full xl:-translate-y-2"
276
276
  }, {
277
277
  default: h(() => [
278
- S(u) ? (a(), f("div", {
278
+ A(u) ? (a(), f("div", {
279
279
  key: 0,
280
280
  ref_key: "container",
281
281
  ref: d,
282
282
  class: "fixed bottom-0 left-0 w-full z-15"
283
283
  }, [
284
- S(t) ? (a(), f("div", {
284
+ A(t) ? (a(), f("div", {
285
285
  key: 0,
286
286
  class: "fixed h-full w-full top-0 left-0 bg-black/40 bg-blur xl:hidden animate-opacity overscroll-contain",
287
- style: G({ opacity: S(r) }),
288
- onClick: T[0] || (T[0] = //@ts-ignore
289
- (...Q) => S(c) && S(c)(...Q)),
290
- onWheel: T[1] || (T[1] = E(() => {
287
+ style: G({ opacity: A(r) }),
288
+ onClick: S[0] || (S[0] = //@ts-ignore
289
+ (...Q) => A(c) && A(c)(...Q)),
290
+ onWheel: S[1] || (S[1] = E(() => {
291
291
  }, ["prevent"])),
292
- onTouchmove: T[2] || (T[2] = E(() => {
292
+ onTouchmove: S[2] || (S[2] = E(() => {
293
293
  }, ["prevent"]))
294
294
  }, null, 36)) : B("", !0),
295
295
  l("div", {
296
296
  class: z(["bg-white dark:bg-gray-800 w-full shadow-bottom-nav relative", v.value[e.size]]),
297
- style: G({ transform: S(o) })
297
+ style: G({ transform: A(o) })
298
298
  }, [
299
299
  l("div", {
300
300
  ref_key: "target",
301
301
  ref: m,
302
- class: "flex justify-center py-2 md:pb-6",
303
- onWheel: T[3] || (T[3] = E(() => {
302
+ class: "flex justify-center py-3 md:pb-6",
303
+ onWheel: S[3] || (S[3] = E(() => {
304
304
  }, ["prevent"])),
305
- onTouchmove: T[4] || (T[4] = E(() => {
305
+ onTouchmove: S[4] || (S[4] = E(() => {
306
306
  }, ["prevent"]))
307
- }, [...T[5] || (T[5] = [
307
+ }, [...S[5] || (S[5] = [
308
308
  l("div", { class: "self-end h-1 w-12 bg-gray-400" }, null, -1)
309
309
  ])], 544),
310
310
  l("div", kt, [
311
- g(R, {
311
+ g(U, {
312
312
  class: "size-5 md:size-6",
313
313
  color: "transparent",
314
314
  size: "none",
315
315
  icon: "",
316
316
  "aria-label": "Close",
317
- onClick: S(c)
317
+ onClick: A(c)
318
318
  }, {
319
319
  default: h(() => [
320
320
  g(M, { class: "size-4" })
@@ -325,8 +325,8 @@ const K = F({ name: "ri-close-line", render: _t }), kt = { class: "absolute righ
325
325
  l("div", {
326
326
  class: z(["overflow-y-auto max-h-[calc(100dvh-24px-16px)] overscroll-contain", y.value[e.size]])
327
327
  }, [
328
- $(x.$slots, "default", {
329
- onClose: S(c),
328
+ k(C.$slots, "default", {
329
+ onClose: A(c),
330
330
  on: b
331
331
  })
332
332
  ], 2)
@@ -350,7 +350,7 @@ const K = F({ name: "ri-close-line", render: _t }), kt = { class: "absolute righ
350
350
  },
351
351
  emits: ["click", "show", "close"],
352
352
  setup(e, { emit: s }) {
353
- const n = s, t = xe(_e).greaterOrEqual("lg"), c = H(!1), i = A(() => ({ top: e.top, left: e.left, right: e.right, "max-height": e.height })), m = (v) => {
353
+ const n = s, t = xe(_e).greaterOrEqual("lg"), c = H(!1), i = D(() => ({ top: e.top, left: e.left, right: e.right, "max-height": e.height })), m = (v) => {
354
354
  t && c.value && o(v);
355
355
  }, d = (v) => {
356
356
  n("click", c.value), !e.disabled && (c.value ? e.hideOnClick && o(v) : r(v));
@@ -360,19 +360,19 @@ const K = F({ name: "ri-close-line", render: _t }), kt = { class: "absolute righ
360
360
  c.value = !1, n("close", v);
361
361
  }, p = (v) => {
362
362
  v ? r(new Event("show")) : o(new Event("hide"));
363
- }, C = () => {
363
+ }, w = () => {
364
364
  o(new Event("hide"));
365
365
  }, b = { click: d, open: r, set: p };
366
366
  return (v, y) => {
367
- const x = Te("outside");
367
+ const C = Te("outside");
368
368
  return oe((a(), f("div", $t, [
369
369
  l("div", wt, [
370
- $(v.$slots, "activator", {
370
+ k(v.$slots, "activator", {
371
371
  on: b,
372
372
  isShow: c.value
373
373
  })
374
374
  ]),
375
- S(t) ? (a(), D(Z, {
375
+ A(t) ? (a(), T(Z, {
376
376
  key: 0,
377
377
  "enter-active-class": "duration-300 ease-out",
378
378
  "enter-from-class": "transform opacity-0 -translate-y-2",
@@ -387,7 +387,7 @@ const K = F({ name: "ri-close-line", render: _t }), kt = { class: "absolute righ
387
387
  class: "z-5 min-w-full absolute",
388
388
  style: G(i.value)
389
389
  }, [
390
- $(v.$slots, "default", {
390
+ k(v.$slots, "default", {
391
391
  on: b,
392
392
  show: r,
393
393
  hide: o,
@@ -397,13 +397,13 @@ const K = F({ name: "ri-close-line", render: _t }), kt = { class: "absolute righ
397
397
  ]),
398
398
  _: 3
399
399
  })) : B("", !0),
400
- !S(t) && c.value ? (a(), D(re, {
400
+ !A(t) && c.value ? (a(), T(re, {
401
401
  key: 1,
402
- onClose: C
402
+ onClose: w
403
403
  }, {
404
- default: h(({ on: T }) => [
405
- $(v.$slots, "default", {
406
- on: T,
404
+ default: h(({ on: S }) => [
405
+ k(v.$slots, "default", {
406
+ on: S,
407
407
  show: r,
408
408
  hide: o,
409
409
  isShow: c.value
@@ -412,7 +412,7 @@ const K = F({ name: "ri-close-line", render: _t }), kt = { class: "absolute righ
412
412
  _: 3
413
413
  })) : B("", !0)
414
414
  ])), [
415
- [x, m]
415
+ [C, m]
416
416
  ]);
417
417
  };
418
418
  }
@@ -430,11 +430,11 @@ const K = F({ name: "ri-close-line", render: _t }), kt = { class: "absolute righ
430
430
  }, [
431
431
  (a(!0), f(j, null, P(e.items, (i) => (a(), f("li", {
432
432
  key: i.name,
433
- class: "whitespace-nowrap cursor-pointer flex items-center min-h-[40px] border-b last:border-b-0 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-700/30 w-full",
433
+ class: "whitespace-nowrap cursor-pointer flex items-center min-h-[40px] border-b last:border-b-0 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-700/30 w-full px-4",
434
434
  onClick: (m) => u(i, m)
435
435
  }, [
436
- $(t.$slots, "default", { item: i }, () => [
437
- L(w(i.name), 1)
436
+ k(t.$slots, "default", { item: i }, () => [
437
+ L($(i.name), 1)
438
438
  ])
439
439
  ], 8, Ct))), 128))
440
440
  ], 2));
@@ -451,13 +451,13 @@ const K = F({ name: "ri-close-line", render: _t }), kt = { class: "absolute righ
451
451
  { name: "Theme", value: 1 },
452
452
  { name: "Notification", value: 2 },
453
453
  { name: "Logout", value: 3 }
454
- ], t = A(() => !!e.notifications.find((o) => o.isNew)), c = (o) => n("sidebar", o), i = (o) => n("notif", o), m = async () => await fetch("/", { headers: { Authorization: "Basic AAAAAAAAAAAAAAAAAAA=" } }), d = () => {
454
+ ], t = D(() => !!e.notifications.find((o) => o.isNew)), c = (o) => n("sidebar", o), i = (o) => n("notif", o), m = async () => await fetch("/", { headers: { Authorization: "Basic AAAAAAAAAAAAAAAAAAA=" } }), d = () => {
455
455
  e.changeTheme && e.changeTheme();
456
456
  }, r = ({ value: o }, p) => {
457
457
  o == 1 && d(), o == 2 && i(p), o == 3 && m();
458
458
  };
459
459
  return (o, p) => {
460
- const C = gt, b = ge("router-link"), v = ft, y = ct, x = we, T = ot, M = $e;
460
+ const w = gt, b = ge("router-link"), v = ft, y = ct, C = we, S = ot, M = $e;
461
461
  return a(), f("header", zt, [
462
462
  l("div", Vt, [
463
463
  l("div", Bt, [
@@ -467,7 +467,7 @@ const K = F({ name: "ri-close-line", render: _t }), kt = { class: "absolute righ
467
467
  onClick: c
468
468
  }, {
469
469
  default: h(() => [
470
- g(C, { class: "size-5" })
470
+ g(w, { class: "size-5" })
471
471
  ]),
472
472
  _: 1
473
473
  }),
@@ -504,7 +504,7 @@ const K = F({ name: "ri-close-line", render: _t }), kt = { class: "absolute righ
504
504
  }, [...p[0] || (p[0] = [
505
505
  l("span", { class: "absolute -z-1 inline-flex h-full w-full animate-ping rounded-full bg-orange-400 opacity-75" }, null, -1)
506
506
  ])], 2),
507
- g(x, { class: "size-5" })
507
+ g(C, { class: "size-5" })
508
508
  ]),
509
509
  _: 1
510
510
  }),
@@ -514,7 +514,7 @@ const K = F({ name: "ri-close-line", render: _t }), kt = { class: "absolute righ
514
514
  onClick: E(m, ["prevent"])
515
515
  }, {
516
516
  default: h(() => [
517
- g(T, { class: "size-5" })
517
+ g(S, { class: "size-5" })
518
518
  ]),
519
519
  _: 1
520
520
  })
@@ -525,12 +525,12 @@ const K = F({ name: "ri-close-line", render: _t }), kt = { class: "absolute righ
525
525
  right: "0",
526
526
  top: "0"
527
527
  }, {
528
- activator: h(({ on: R }) => [
528
+ activator: h(({ on: U }) => [
529
529
  g(O, {
530
530
  type: "icon",
531
531
  color: "gray",
532
532
  class: "flex",
533
- onClick: R.click
533
+ onClick: U.click
534
534
  }, {
535
535
  default: h(() => [
536
536
  g(M)
@@ -543,8 +543,8 @@ const K = F({ name: "ri-close-line", render: _t }), kt = { class: "absolute righ
543
543
  items: u,
544
544
  onClick: r
545
545
  }, {
546
- default: h(({ item: R }) => [
547
- l("span", Tt, w(R.name), 1)
546
+ default: h(({ item: U }) => [
547
+ l("span", Tt, $(U.name), 1)
548
548
  ]),
549
549
  _: 1
550
550
  })
@@ -594,8 +594,8 @@ const K = F({ name: "ri-close-line", render: _t }), kt = { class: "absolute righ
594
594
  _: 1
595
595
  }),
596
596
  l("div", Lt, [
597
- l("div", null, w(n.text), 1),
598
- l("div", jt, w(S(He)(n.date)) + " (" + w(S(Pe)(n.date)) + ")", 1)
597
+ l("div", null, $(n.text), 1),
598
+ l("div", jt, $(A(He)(n.date)) + " (" + $(A(Pe)(n.date)) + ")", 1)
599
599
  ]),
600
600
  g(O, {
601
601
  class: "shrink-0",
@@ -622,7 +622,7 @@ const K = F({ name: "ri-close-line", render: _t }), kt = { class: "absolute righ
622
622
  },
623
623
  emits: ["close", "remove", "read"],
624
624
  setup(e, { emit: s }) {
625
- const n = e, u = s, t = A(() => !!n.notifications.find((r) => r.isNew)), c = A(() => !!n.notifications.length), i = (r) => u("close", r), m = (r) => u("remove", r), d = (r) => u("read", r);
625
+ const n = e, u = s, t = D(() => !!n.notifications.find((r) => r.isNew)), c = D(() => !!n.notifications.length), i = (r) => u("close", r), m = (r) => u("remove", r), d = (r) => u("read", r);
626
626
  return (r, o) => (a(), f(j, null, [
627
627
  n.value ? (a(), f("div", {
628
628
  key: 0,
@@ -633,7 +633,7 @@ const K = F({ name: "ri-close-line", render: _t }), kt = { class: "absolute righ
633
633
  class: z([n.value ? "translate-x-0 " : "translate-x-full", "overflow-x-hidden fixed top-[73px] right-0 flex h-[calc(100%-73px)] w-[290px] md:w-80 border-l border-gray-200 flex-col overflow-y-auto transition-all duration-350 dark:border-gray-800 bg-white dark:bg-gray-900"])
634
634
  }, [
635
635
  l("div", Ot, [
636
- $(r.$slots, "header", { isNew: t.value }),
636
+ k(r.$slots, "header", { isNew: t.value }),
637
637
  c.value ? (a(), f("div", Et, [
638
638
  g(he, {
639
639
  "enter-active-class": "transition-all duration-300 ",
@@ -648,18 +648,18 @@ const K = F({ name: "ri-close-line", render: _t }), kt = { class: "absolute righ
648
648
  key: p.date,
649
649
  class: "relative"
650
650
  }, [
651
- $(r.$slots, "card", { item: p }, () => [
651
+ k(r.$slots, "card", { item: p }, () => [
652
652
  g(Nt, N({ ref_for: !0 }, p, {
653
653
  class: "bg-gray-200/50 dark:bg-gray-800/50 rounded-md",
654
- onRemove: (C) => m(p),
655
- onRead: (C) => d(p)
654
+ onRemove: (w) => m(p),
655
+ onRead: (w) => d(p)
656
656
  }), null, 16, ["onRemove", "onRead"])
657
657
  ])
658
658
  ]))), 128))
659
659
  ]),
660
660
  _: 3
661
661
  })
662
- ])) : $(r.$slots, "empty", { key: 1 })
662
+ ])) : k(r.$slots, "empty", { key: 1 })
663
663
  ])
664
664
  ], 2)
665
665
  ], 64));
@@ -669,7 +669,7 @@ function Rt(e, s) {
669
669
  return a(), f("div", Ft, [
670
670
  s[0] || (s[0] = l("div", { class: "absolute h-full w-full top-0 left-0 bg-black/60 bg-blur" }, null, -1)),
671
671
  l("div", Ut, [
672
- $(e.$slots, "default")
672
+ k(e.$slots, "default")
673
673
  ])
674
674
  ]);
675
675
  }
@@ -711,23 +711,23 @@ const Kt = F({ name: "ri-arrow-right-s-line", render: Gt }), Jt = { class: "mb-4
711
711
  (a(!0), f(j, null, P(e.menu, (r) => (a(), f("li", {
712
712
  key: r.name
713
713
  }, [
714
- (a(), D(X(r.path ? "router-link" : "span"), {
714
+ (a(), T(X(r.path ? "router-link" : "span"), {
715
715
  to: r.path,
716
716
  class: z(["flex gap-2 items-center px-3 py-2 rounded-lg", c(r.path) ? "bg-blue-500/10" : "hover:bg-gray-500/10"]),
717
717
  onClick: E((o) => t(r), ["prevent", "stop"])
718
718
  }, {
719
719
  default: h(() => [
720
720
  l("div", Qt, [
721
- $(i.$slots, "icon", { item: r })
721
+ k(i.$slots, "icon", { item: r })
722
722
  ]),
723
723
  l("span", {
724
724
  class: z(["flex-1 first-letter:uppercase text-sm", e.isSidebar ? "lg:hidden" : ""])
725
- }, w(r.name), 3),
725
+ }, $(r.name), 3),
726
726
  l("button", {
727
727
  class: z(["cursor-pointer", [e.isSidebar ? "lg:hidden" : ""]]),
728
728
  onClick: E((o) => t(r), ["prevent", "stop"])
729
729
  }, [
730
- r.children ? (a(), D(d, { key: 0 })) : B("", !0)
730
+ r.children ? (a(), T(d, { key: 0 })) : B("", !0)
731
731
  ], 10, Xt)
732
732
  ]),
733
733
  _: 2
@@ -737,19 +737,19 @@ const Kt = F({ name: "ri-arrow-right-s-line", render: Gt }), Jt = { class: "mb-4
737
737
  class: z(["translate transform overflow-hidden mt-2", [e.isSidebar ? "lg:hidden" : "", u.value === r.name ? "block" : "hidden"]])
738
738
  }, [
739
739
  l("ul", Yt, [
740
- (a(!0), f(j, null, P(r.children, ({ name: o, path: p, icon: C }) => (a(), f("li", { key: o }, [
741
- (a(), D(X(p ? "router-link" : "span"), {
740
+ (a(!0), f(j, null, P(r.children, ({ name: o, path: p, icon: w }) => (a(), f("li", { key: o }, [
741
+ (a(), T(X(p ? "router-link" : "span"), {
742
742
  to: p,
743
743
  class: z(["flex gap-2 items-center px-3 py-2 rounded-lg", c(p) ? "bg-blue-500/10" : "hover:bg-gray-500/10"])
744
744
  }, {
745
745
  default: h(() => [
746
746
  l("div", Zt, [
747
747
  l("div", el, [
748
- $(i.$slots, "icon-children", {
749
- item: { name: o, path: p, icon: C }
748
+ k(i.$slots, "icon-children", {
749
+ item: { name: o, path: p, icon: w }
750
750
  })
751
751
  ]),
752
- l("span", tl, w(o), 1)
752
+ l("span", tl, $(o), 1)
753
753
  ])
754
754
  ]),
755
755
  _: 2
@@ -783,7 +783,7 @@ const Kt = F({ name: "ri-arrow-right-s-line", render: Gt }), Jt = { class: "mb-4
783
783
  length: { default: 0 }
784
784
  },
785
785
  setup(e) {
786
- const s = H(!1), n = A(() => !!e.length), u = A(() => !!(n.value && t.value === 100 && !e.status)), t = A(() => e.status ? Math.ceil(e.size * 100 / e.length) : 100), c = ne(() => {
786
+ const s = H(!1), n = D(() => !!e.length), u = D(() => !!(n.value && t.value === 100 && !e.status)), t = D(() => e.status ? Math.ceil(e.size * 100 / e.length) : 100), c = ne(() => {
787
787
  s.value = !1;
788
788
  }, e.timeout);
789
789
  return ae(
@@ -793,7 +793,7 @@ const Kt = F({ name: "ri-arrow-right-s-line", render: Gt }), Jt = { class: "mb-4
793
793
  }
794
794
  ), (i, m) => {
795
795
  const d = K;
796
- return a(), D(Z, {
796
+ return a(), T(Z, {
797
797
  "enter-active-class": "duration-300 ease-out",
798
798
  "enter-from-class": "transform opacity-0 translate-x-full",
799
799
  "enter-to-class": "opacity-100 translate-x-0",
@@ -804,7 +804,7 @@ const Kt = F({ name: "ri-arrow-right-s-line", render: Gt }), Jt = { class: "mb-4
804
804
  default: h(() => [
805
805
  s.value ? (a(), f("div", sl, [
806
806
  l("div", ol, [
807
- $(i.$slots, "default", { isDone: u.value }, () => [
807
+ k(i.$slots, "default", { isDone: u.value }, () => [
808
808
  m[1] || (m[1] = l("div", { class: "flex-auto" }, "Progress...", -1)),
809
809
  u.value ? (a(), f("span", al, "Done")) : B("", !0)
810
810
  ]),
@@ -821,12 +821,12 @@ const Kt = F({ name: "ri-arrow-right-s-line", render: Gt }), Jt = { class: "mb-4
821
821
  style: G(`width: ${t.value}%`)
822
822
  }, null, 4)) : B("", !0),
823
823
  n.value ? (a(), f("div", nl, [
824
- l("div", il, w(t.value) + "%", 1),
824
+ l("div", il, $(t.value) + "%", 1),
825
825
  l("div", {
826
826
  class: "bg-blue-600 rounded-full h-4 overflow-hidden relative transition-all duration-500",
827
827
  style: G(`width: ${t.value}%`)
828
828
  }, [
829
- l("div", rl, w(t.value) + "%", 1)
829
+ l("div", rl, $(t.value) + "%", 1)
830
830
  ], 4)
831
831
  ])) : B("", !0)
832
832
  ])) : B("", !0)
@@ -843,7 +843,7 @@ const Kt = F({ name: "ri-arrow-right-s-line", render: Gt }), Jt = { class: "mb-4
843
843
  AppNotification: Ht,
844
844
  AppOverlay: Wt,
845
845
  AppProgress: cl
846
- }, Symbol.toStringTag, { value: "Module" })), ul = { class: "my-4 text-gray-700 dark:text-gray-400" }, fl = { class: "flex flex-col md:flex-row flex-wrap md:gap-4 text-sm" }, ml = { class: "flex gap-2" }, vl = { class: "text-gray-700 dark:text-gray-400" }, gl = { class: "flex gap-2" }, pl = { class: "flex gap-2" }, hl = { class: "text-gray-700 dark:text-gray-400" }, bl = { class: "flex gap-2" }, yl = { class: "text-gray-700 dark:text-gray-400" }, xl = { class: "flex flex-col gap-4 text-sm" }, _l = { class: "flex gap-4" }, Ko = /* @__PURE__ */ V({
846
+ }, Symbol.toStringTag, { value: "Module" })), ul = { class: "my-4 text-gray-700 dark:text-gray-400" }, fl = { class: "flex flex-col md:flex-row flex-wrap md:gap-4 text-sm" }, ml = { class: "flex gap-2" }, vl = { class: "text-gray-700 dark:text-gray-400" }, gl = { class: "flex gap-2" }, pl = { class: "flex gap-2" }, hl = { class: "text-gray-700 dark:text-gray-400" }, bl = { class: "flex gap-2" }, yl = { class: "text-gray-700 dark:text-gray-400" }, xl = { class: "flex flex-col gap-4 text-sm" }, _l = { class: "flex gap-4" }, Jo = /* @__PURE__ */ V({
847
847
  __name: "BlockInfo",
848
848
  props: {
849
849
  empty: {},
@@ -858,7 +858,7 @@ const Kt = F({ name: "ri-arrow-right-s-line", render: Gt }), Jt = { class: "mb-4
858
858
  name: {}
859
859
  },
860
860
  setup(e) {
861
- const s = A(() => e.firmware.join(".")), n = A(() => {
861
+ const s = D(() => e.firmware.join(".")), n = D(() => {
862
862
  var t, c, i, m, d, r, o;
863
863
  const u = [];
864
864
  return (t = e.pkg) != null && t.homepage && u.push({ name: "homepage", href: e.pkg.homepage }), (i = (c = e.pkg) == null ? void 0 : c.repository) != null && i.url && u.push({ name: "repository", href: e.pkg.repository.url }), (d = (m = e.pkg) == null ? void 0 : m.bugs) != null && d.url && u.push({ name: "bugs", href: e.pkg.bugs.url }), (r = e.pkg) != null && r.author && u.push({ name: "author", href: `mailto:${(o = e.pkg) == null ? void 0 : o.author}` }), u;
@@ -866,28 +866,28 @@ const Kt = F({ name: "ri-arrow-right-s-line", render: Gt }), Jt = { class: "mb-4
866
866
  return (u, t) => {
867
867
  var c, i;
868
868
  return a(), f("div", null, [
869
- l("p", ul, w((c = e.pkg) == null ? void 0 : c.description), 1),
869
+ l("p", ul, $((c = e.pkg) == null ? void 0 : c.description), 1),
870
870
  l("div", fl, [
871
871
  l("div", ml, [
872
872
  t[0] || (t[0] = L(" Firmware (hw): ", -1)),
873
- l("span", vl, w(s.value), 1)
873
+ l("span", vl, $(s.value), 1)
874
874
  ]),
875
875
  l("div", gl, [
876
876
  l("div", pl, [
877
877
  t[1] || (t[1] = L(" Version (web): ", -1)),
878
- l("span", hl, w((i = e.pkg) == null ? void 0 : i.version), 1)
878
+ l("span", hl, $((i = e.pkg) == null ? void 0 : i.version), 1)
879
879
  ])
880
880
  ]),
881
881
  t[3] || (t[3] = l("div", { class: "flex-auto" }, null, -1)),
882
882
  l("div", bl, [
883
883
  t[2] || (t[2] = L(" ID: ", -1)),
884
- l("span", yl, w(e.id.toString(16)), 1)
884
+ l("span", yl, $(e.id.toString(16)), 1)
885
885
  ])
886
886
  ]),
887
887
  t[4] || (t[4] = l("hr", { class: "dark:text-gray-700 text-gray-200 my-2" }, null, -1)),
888
888
  l("div", xl, [
889
889
  l("div", _l, [
890
- $(u.$slots, "links", { links: n.value })
890
+ k(u.$slots, "links", { links: n.value })
891
891
  ])
892
892
  ])
893
893
  ]);
@@ -906,7 +906,7 @@ function $l(e, s) {
906
906
  }, null, -1)
907
907
  ])]);
908
908
  }
909
- const ce = F({ name: "ri-arrow-drop-right-line", render: $l }), wl = { class: "flex items-center gap-1.5" }, Jo = /* @__PURE__ */ V({
909
+ const ce = F({ name: "ri-arrow-drop-right-line", render: $l }), wl = { class: "flex items-center gap-1.5" }, Qo = /* @__PURE__ */ V({
910
910
  __name: "BlockBreadcrumb",
911
911
  props: {
912
912
  items: { default: () => [] }
@@ -922,18 +922,18 @@ const ce = F({ name: "ri-arrow-drop-right-line", render: $l }), wl = { class: "f
922
922
  key: d,
923
923
  class: z(["inline-flex items-center gap-1.5 text-sm text-gray-500 dark:text-gray-400", m.path ? "" : "text-gray-800 dark:text-white/90"])
924
924
  }, [
925
- $(t.$slots, "default", { item: m }, () => [
926
- (a(), D(X(m.path ? "a" : "span"), {
925
+ k(t.$slots, "default", { item: m }, () => [
926
+ (a(), T(X(m.path ? "a" : "span"), {
927
927
  href: m.path,
928
928
  onClick: (r) => u(m)
929
929
  }, {
930
930
  default: h(() => [
931
- L(w(m.name), 1)
931
+ L($(m.name), 1)
932
932
  ]),
933
933
  _: 2
934
934
  }, 1032, ["href", "onClick"]))
935
935
  ]),
936
- m.path ? (a(), D(i, {
936
+ m.path ? (a(), T(i, {
937
937
  key: 0,
938
938
  class: "rotate-270"
939
939
  })) : B("", !0)
@@ -964,20 +964,23 @@ const ce = F({ name: "ri-arrow-drop-right-line", render: $l }), wl = { class: "f
964
964
  e.loading ? (a(), f("div", Cl)) : B("", !0),
965
965
  e.loading ? (a(), f("div", zl)) : B("", !0),
966
966
  e.title ? (a(), f("div", Vl, [
967
- l("h3", Bl, w(e.title), 1),
967
+ l("h3", Bl, $(e.title), 1),
968
968
  l("div", null, [
969
- $(s.$slots, "header")
969
+ k(s.$slots, "header")
970
970
  ])
971
971
  ])) : B("", !0),
972
972
  l("div", Sl, [
973
- $(s.$slots, "default")
973
+ k(s.$slots, "default")
974
974
  ])
975
975
  ], 2));
976
976
  }
977
977
  }), Dl = {
978
978
  key: 0,
979
- class: "text-title-md uppercase font-bold"
980
- }, Tl = { class: "px-4 pb-8 md:px-6" }, de = /* @__PURE__ */ V({
979
+ class: "text-title-md uppercase font-bold px-6 mb-4"
980
+ }, Tl = { class: "px-4 pb-4 md:px-6" }, Il = {
981
+ key: 0,
982
+ class: "text-title-md uppercase font-bold mb-4"
983
+ }, de = /* @__PURE__ */ V({
981
984
  __name: "VDialog",
982
985
  props: {
983
986
  title: {},
@@ -1000,13 +1003,13 @@ const ce = F({ name: "ri-arrow-drop-right-line", render: $l }), wl = { class: "f
1000
1003
  none: "",
1001
1004
  white: "bg-white dark:bg-gray-900",
1002
1005
  gray: ""
1003
- }, o = A(() => [d[e.size], r[e.color]]), p = t.greaterOrEqual("lg");
1006
+ }, o = D(() => [d[e.size], r[e.color]]), p = t.greaterOrEqual("lg");
1004
1007
  return s({
1005
1008
  show: c,
1006
1009
  onClose: i
1007
- }), (C, b) => {
1010
+ }), (w, b) => {
1008
1011
  const v = K;
1009
- return e.isOnlyDialog || S(p) ? (a(), D(pe, {
1012
+ return e.isOnlyDialog || A(p) ? (a(), T(pe, {
1010
1013
  key: 0,
1011
1014
  to: "body"
1012
1015
  }, [
@@ -1017,10 +1020,10 @@ const ce = F({ name: "ri-arrow-drop-right-line", render: $l }), wl = { class: "f
1017
1020
  "leave-active-class": "duration-200 ease-in",
1018
1021
  "leave-from-class": "opacity-100 translate-y-0",
1019
1022
  "leave-to-class": "transform opacity-0 -translate-y-2",
1020
- onAfterEnter: S(m)
1023
+ onAfterEnter: A(m)
1021
1024
  }, {
1022
1025
  default: h(() => [
1023
- S(c) ? (a(), f("div", {
1026
+ A(c) ? (a(), f("div", {
1024
1027
  key: 0,
1025
1028
  class: "z-20 fixed top-0 h-dvh w-full left-0 flex flex-col",
1026
1029
  onWheel: b[4] || (b[4] = E(() => {
@@ -1029,7 +1032,7 @@ const ce = F({ name: "ri-arrow-drop-right-line", render: $l }), wl = { class: "f
1029
1032
  l("div", {
1030
1033
  class: "absolute h-full w-full top-0 left-0 bg-black/40 bg-blur",
1031
1034
  onClick: b[0] || (b[0] = //@ts-ignore
1032
- (...y) => S(i) && S(i)(...y))
1035
+ (...y) => A(i) && A(i)(...y))
1033
1036
  }),
1034
1037
  l("div", {
1035
1038
  class: z(["flex-auto flex align-center overflow-y-auto overscroll-contain", (e.size === "full", "")])
@@ -1038,15 +1041,16 @@ const ce = F({ name: "ri-arrow-drop-right-line", render: $l }), wl = { class: "f
1038
1041
  class: z(["m-auto w-full flex flex-col z-20 overflow-auto h-full scrollbar overscroll-contain bg-gray-50 dark:bg-gray-900 shadow-lg rounded-sm z-30", o.value])
1039
1042
  }, [
1040
1043
  l("div", {
1041
- class: z(["flex justify-end", e.size === "full" ? "absolute top-0 right-0" : ""]),
1044
+ class: z(["flex justify-end", e.size === "full" ? "absolute top-0 right-4" : ""]),
1042
1045
  onWheel: b[1] || (b[1] = E(() => {
1043
1046
  }, ["prevent"])),
1044
1047
  onTouchmove: b[2] || (b[2] = E(() => {
1045
1048
  }, ["prevent"]))
1046
1049
  }, [
1047
1050
  g(O, {
1048
- type: "icon",
1049
- onClick: S(i)
1051
+ color: "transparent",
1052
+ size: "md",
1053
+ onClick: A(i)
1050
1054
  }, {
1051
1055
  default: h(() => [
1052
1056
  g(v)
@@ -1054,15 +1058,15 @@ const ce = F({ name: "ri-arrow-drop-right-line", render: $l }), wl = { class: "f
1054
1058
  _: 1
1055
1059
  }, 8, ["onClick"])
1056
1060
  ], 34),
1057
- $(C.$slots, "header", { close: S(i) }, () => [
1058
- e.title ? (a(), f("h4", Dl, w(e.title), 1)) : B("", !0)
1061
+ k(w.$slots, "header", { close: A(i) }, () => [
1062
+ e.title ? (a(), f("h4", Dl, $(e.title), 1)) : B("", !0)
1059
1063
  ]),
1060
1064
  l("div", {
1061
- class: z(["relative overflow-auto h-full md:h-auto max-h-dvh scrollbar overflow-y-auto overscroll-contain", e.size === "full" ? "flex-auto" : "md:max-h-147.5 px-9 pb-9"]),
1065
+ class: z(["relative overflow-auto h-full md:h-auto max-h-dvh scrollbar overflow-y-auto overscroll-contain", e.size === "full" ? "flex-auto" : "md:max-h-147.5 px-6 pb-6"]),
1062
1066
  onClose: b[3] || (b[3] = //@ts-ignore
1063
- (...y) => S(i) && S(i)(...y))
1067
+ (...y) => A(i) && A(i)(...y))
1064
1068
  }, [
1065
- $(C.$slots, "default", { close: S(i) })
1069
+ k(w.$slots, "default", { close: A(i) })
1066
1070
  ], 34)
1067
1071
  ], 2)
1068
1072
  ], 2)
@@ -1070,21 +1074,22 @@ const ce = F({ name: "ri-arrow-drop-right-line", render: $l }), wl = { class: "f
1070
1074
  ]),
1071
1075
  _: 3
1072
1076
  }, 8, ["onAfterEnter"])
1073
- ])) : (a(), D(re, {
1077
+ ])) : (a(), T(re, {
1074
1078
  key: 1,
1075
1079
  size: e.popupSize,
1076
- onClose: S(i)
1080
+ onClose: A(i)
1077
1081
  }, {
1078
1082
  default: h(() => [
1079
1083
  l("div", Tl, [
1080
- $(C.$slots, "default")
1084
+ e.title ? (a(), f("h4", Il, $(e.title), 1)) : B("", !0),
1085
+ k(w.$slots, "default")
1081
1086
  ])
1082
1087
  ]),
1083
1088
  _: 3
1084
1089
  }, 8, ["size", "onClose"]));
1085
1090
  };
1086
1091
  }
1087
- }), Il = { class: "flex-auto flex justify-between" }, Ml = { class: "text-sm text-gray-500 font-medium line-clamp-2 overflow-hidden" }, Ll = { class: "text-sm text-ellipsis overflow-hidden text-nowrap" }, jl = { class: "flex-auto flex items-center justify-between gap-6 me-2" }, Nl = { class: "min-h-60 relative" }, Ol = { class: "pt-6" }, El = { class: "text-center text-3xl text-ellipsis overflow-hidden" }, Hl = { class: "text-center text-xl mt-4" }, J = /* @__PURE__ */ V({
1092
+ }), Ml = { class: "flex-auto flex justify-between" }, Ll = { class: "text-sm text-gray-500 font-medium line-clamp-2 overflow-hidden" }, jl = { class: "text-sm text-ellipsis overflow-hidden text-nowrap" }, Nl = { class: "flex-auto flex items-center justify-between gap-6 me-2" }, Ol = { class: "min-h-60 relative" }, El = { class: "pt-6" }, Hl = { class: "text-center text-3xl text-ellipsis overflow-hidden" }, Pl = { class: "text-center text-xl mt-4" }, J = /* @__PURE__ */ V({
1088
1093
  __name: "CardBase",
1089
1094
  props: {
1090
1095
  size: {},
@@ -1102,36 +1107,36 @@ const ce = F({ name: "ri-arrow-drop-right-line", render: $l }), wl = { class: "f
1102
1107
  },
1103
1108
  emits: ["edit", "close", "click", "open", "setState"],
1104
1109
  setup(e, { emit: s }) {
1105
- const n = e, u = s, t = H(!1), c = A(() => ["button", "dimmer"].includes(n.type || "") && n.value ? "text-amber-500" : "text-gray-400"), i = (o) => u("edit", o), m = () => t.value = !0, d = (o) => u("open", o), r = (o) => {
1110
+ const n = e, u = s, t = H(!1), c = D(() => ["button", "dimmer"].includes(n.type || "") && n.value ? "text-amber-500" : "text-gray-400"), i = (o) => u("edit", o), m = () => t.value = !0, d = (o) => u("open", o), r = (o) => {
1106
1111
  t.value = !1, u("close", o);
1107
1112
  };
1108
1113
  return (o, p) => {
1109
- const C = $e, b = de;
1114
+ const w = $e, b = de;
1110
1115
  return a(), f("div", {
1111
1116
  class: "flex flex-col border relative aspect-square rounded-md bg-white dark:bg-gray-900 border-b border-gray-300 dark:border-gray-700 p-2 hover:border-blue-400 dark:hover:border-blue-700 transition-all cursor-pointer",
1112
1117
  onClick: m
1113
1118
  }, [
1114
- l("div", Il, [
1119
+ l("div", Ml, [
1115
1120
  l("div", {
1116
1121
  class: z(c.value)
1117
1122
  }, null, 2),
1118
- $(o.$slots, "header", W(q(n)))
1123
+ k(o.$slots, "header", W(q(n)))
1119
1124
  ]),
1120
1125
  l("div", null, [
1121
- $(o.$slots, "body", W(q(n)), () => [
1122
- l("h6", Ml, [
1123
- $(o.$slots, "name", W(q(n)), () => [
1124
- L(w(n.name), 1)
1126
+ k(o.$slots, "body", W(q(n)), () => [
1127
+ l("h6", Ll, [
1128
+ k(o.$slots, "name", W(q(n)), () => [
1129
+ L($(n.name), 1)
1125
1130
  ])
1126
1131
  ]),
1127
- l("div", Ll, [
1128
- $(o.$slots, "value", W(q(n)), () => [
1129
- L(w(n.valueTo || n.value), 1)
1132
+ l("div", jl, [
1133
+ k(o.$slots, "value", W(q(n)), () => [
1134
+ L($(n.valueTo || n.value), 1)
1130
1135
  ])
1131
1136
  ])
1132
1137
  ])
1133
1138
  ]),
1134
- t.value ? (a(), D(b, {
1139
+ t.value ? (a(), T(b, {
1135
1140
  key: 0,
1136
1141
  size: n.size || "sm",
1137
1142
  title: e.name,
@@ -1139,30 +1144,30 @@ const ce = F({ name: "ri-arrow-drop-right-line", render: $l }), wl = { class: "f
1139
1144
  onOpen: d
1140
1145
  }, {
1141
1146
  header: h(() => [
1142
- l("div", jl, [
1147
+ l("div", Nl, [
1143
1148
  g(O, {
1144
1149
  type: "icon",
1145
1150
  onClick: i
1146
1151
  }, {
1147
1152
  default: h(() => [
1148
- g(C)
1153
+ g(w)
1149
1154
  ]),
1150
1155
  _: 1
1151
1156
  })
1152
1157
  ])
1153
1158
  ]),
1154
1159
  default: h(() => [
1155
- l("div", Nl, [
1156
- l("div", Ol, [
1157
- l("h3", El, [
1158
- $(o.$slots, "dialog-name", W(q(n)), () => [
1159
- L(w(n.name), 1)
1160
+ l("div", Ol, [
1161
+ l("div", El, [
1162
+ l("h3", Hl, [
1163
+ k(o.$slots, "dialog-name", W(q(n)), () => [
1164
+ L($(n.name), 1)
1160
1165
  ])
1161
1166
  ]),
1162
- $(o.$slots, "dialog", W(q(n))),
1163
- l("p", Hl, [
1164
- $(o.$slots, "dialog-value", W(q(n)), () => [
1165
- L(w(n.valueTo || n.value), 1)
1167
+ k(o.$slots, "dialog", W(q(n))),
1168
+ l("p", Pl, [
1169
+ k(o.$slots, "dialog-value", W(q(n)), () => [
1170
+ L($(n.valueTo || n.value), 1)
1166
1171
  ])
1167
1172
  ])
1168
1173
  ])
@@ -1173,20 +1178,20 @@ const ce = F({ name: "ri-arrow-drop-right-line", render: $l }), wl = { class: "f
1173
1178
  ]);
1174
1179
  };
1175
1180
  }
1176
- }), Pl = {
1181
+ }), Fl = {
1177
1182
  viewBox: "0 0 24 24",
1178
1183
  width: "1.2em",
1179
1184
  height: "1.2em"
1180
1185
  };
1181
- function Fl(e, s) {
1182
- return a(), f("svg", Pl, [...s[0] || (s[0] = [
1186
+ function Ul(e, s) {
1187
+ return a(), f("svg", Fl, [...s[0] || (s[0] = [
1183
1188
  l("path", {
1184
1189
  fill: "currentColor",
1185
1190
  d: "M13 9h8L11 24v-9H4l9-15zm-2 2V7.22L7.532 13H13v4.394L17.263 11z"
1186
1191
  }, null, -1)
1187
1192
  ])]);
1188
1193
  }
1189
- const Ul = F({ name: "ri-flashlight-line", render: Fl }), Rl = { class: "flex justify-end" }, Wl = { class: "flex justify-center py-4" }, ql = /* @__PURE__ */ V({
1194
+ const Rl = F({ name: "ri-flashlight-line", render: Ul }), Wl = { class: "flex justify-end" }, ql = { class: "flex justify-center py-4" }, Gl = /* @__PURE__ */ V({
1190
1195
  __name: "CardButton",
1191
1196
  props: {
1192
1197
  size: {},
@@ -1209,10 +1214,10 @@ const Ul = F({ name: "ri-flashlight-line", render: Fl }), Rl = { class: "flex ju
1209
1214
  return { disabled: d };
1210
1215
  }, c = (m) => u("click", m), i = () => u("setState", !n.value);
1211
1216
  return (m, d) => {
1212
- const r = Ul;
1213
- return a(), D(J, N(n, { onClick: c }), {
1217
+ const r = Rl;
1218
+ return a(), T(J, N(n, { onClick: c }), {
1214
1219
  header: h((o) => [
1215
- l("div", Rl, [
1220
+ l("div", Wl, [
1216
1221
  g(O, N(t(o), {
1217
1222
  type: "icon",
1218
1223
  class: "text-gray-500",
@@ -1226,7 +1231,7 @@ const Ul = F({ name: "ri-flashlight-line", render: Fl }), Rl = { class: "flex ju
1226
1231
  ])
1227
1232
  ]),
1228
1233
  dialog: h((o) => [
1229
- l("div", Wl, [
1234
+ l("div", ql, [
1230
1235
  g(O, N(t(o), {
1231
1236
  type: "icon",
1232
1237
  class: ["size-18", n.value ? "text-amber-500" : "text-blue-600 dark:text-blue-400"],
@@ -1243,10 +1248,10 @@ const Ul = F({ name: "ri-flashlight-line", render: Fl }), Rl = { class: "flex ju
1243
1248
  }, 16);
1244
1249
  };
1245
1250
  }
1246
- }), Gl = { class: "w-full relative" }, Kl = ["disabled"], Jl = {
1251
+ }), Kl = { class: "w-full relative" }, Jl = ["disabled"], Ql = {
1247
1252
  key: 0,
1248
1253
  class: "text-red-400 h-[24px] px-2 text-xs"
1249
- }, Ql = "after:absolute after:h-1 after:w-full after:left-0 after:translate-y-[6px] after:-z-10 dark:after:bg-gray-800 after:bg-white after:transition-all", U = /* @__PURE__ */ V({
1254
+ }, Xl = "after:absolute after:h-1 after:w-full after:left-0 after:translate-y-[6px] after:-z-10 dark:after:bg-gray-800 after:bg-white after:transition-all", R = /* @__PURE__ */ V({
1250
1255
  __name: "VTextField",
1251
1256
  props: {
1252
1257
  modelValue: { default: null },
@@ -1264,25 +1269,25 @@ const Ul = F({ name: "ri-flashlight-line", render: Fl }), Rl = { class: "flex ju
1264
1269
  const n = s, u = {
1265
1270
  input: "w-full h-full px-4 outline-none overflow-ellipsis flex-auto overflow-hidden w-[calc(100% - 20px)] bg-transparent",
1266
1271
  textarea: "h-full w-full px-4 py-2 outline-none flex-auto bg-transparent"
1267
- }, t = H(!1), c = A(() => [
1272
+ }, t = H(!1), c = D(() => [
1268
1273
  e.component === "input" ? "h-[40px]" : "min-h-[40px]",
1269
1274
  e.message ? "border-red-500 hover:border-red-400" : "",
1270
1275
  e.disabled ? "border-gray-400 opacity-40" : "border-gray-300 hover:border-gray-400 dark:border-gray-700/50 hover:dark:border-gray-600/50"
1271
- ]), i = A(() => u[e.component]), m = (x) => x || x === 0, d = A(() => [Ql, t.value || m(e.modelValue) || e.active ? "top-0 left-3 text-xs" : "top-1/2"]), r = A(() => e.component === "input"), o = (x) => {
1272
- t.value = !1, n("blur", x);
1273
- }, p = (x) => {
1274
- t.value = !0, n("blur", x);
1275
- }, C = ({ target: x }) => n("update:modelValue", x.value), b = (x) => n("enter", x), v = (x) => n("click", x), y = (x) => {
1276
- e.disabled || n("on-icon", x);
1276
+ ]), i = D(() => u[e.component]), m = (C) => C || C === 0, d = D(() => [Xl, t.value || m(e.modelValue) || e.active ? "top-0 left-3 text-xs" : "top-1/2"]), r = D(() => e.component === "input"), o = (C) => {
1277
+ t.value = !1, n("blur", C);
1278
+ }, p = (C) => {
1279
+ t.value = !0, n("blur", C);
1280
+ }, w = ({ target: C }) => n("update:modelValue", C.value), b = (C) => n("enter", C), v = (C) => n("click", C), y = (C) => {
1281
+ e.disabled || n("on-icon", C);
1277
1282
  };
1278
- return (x, T) => (a(), f("div", Gl, [
1283
+ return (C, S) => (a(), f("div", Kl, [
1279
1284
  l("label", {
1280
1285
  class: z(["relative w-full border border-gray-300 dark:border-gray-700 flex items-center rounded transition bg-white dark:bg-gray-800", c.value])
1281
1286
  }, [
1282
1287
  l("span", {
1283
1288
  class: z(["absolute left-4 transition-all rounded -translate-y-1/2 text-gray-600 dark:text-gray-400", d.value])
1284
- }, w(e.label), 3),
1285
- (a(), D(X(e.component), N(x.$attrs, {
1289
+ }, $(e.label), 3),
1290
+ (a(), T(X(e.component), N(C.$attrs, {
1286
1291
  value: e.modelValue,
1287
1292
  disabled: !!e.disabled,
1288
1293
  type: e.type,
@@ -1292,27 +1297,27 @@ const Ul = F({ name: "ri-flashlight-line", render: Fl }), Rl = { class: "flex ju
1292
1297
  class: i.value,
1293
1298
  onFocus: p,
1294
1299
  onBlur: o,
1295
- onInput: C,
1300
+ onInput: w,
1296
1301
  onClick: v,
1297
1302
  onKeypress: Ie(b, ["enter"])
1298
1303
  }), null, 16, ["value", "disabled", "type", "readonly", "rows", "wrap", "class"])),
1299
- x.$slots.icon ? (a(), f("button", {
1304
+ C.$slots.icon ? (a(), f("button", {
1300
1305
  key: 0,
1301
1306
  disabled: !!e.disabled,
1302
1307
  class: z([{ "cursor-pointer": !e.disabled }, "flex-[0_0_50px] h-full flex items-center justify-center text-gray-400 border-l border-gray-300 dark:border-gray-700/50"]),
1303
1308
  onClick: y
1304
1309
  }, [
1305
- $(x.$slots, "icon")
1306
- ], 10, Kl)) : B("", !0)
1310
+ k(C.$slots, "icon")
1311
+ ], 10, Jl)) : B("", !0)
1307
1312
  ], 2),
1308
- e.hideMessage ? B("", !0) : (a(), f("div", Jl, [
1309
- $(x.$slots, "message", {}, () => [
1310
- L(w(e.message), 1)
1313
+ e.hideMessage ? B("", !0) : (a(), f("div", Ql, [
1314
+ k(C.$slots, "message", {}, () => [
1315
+ L($(e.message), 1)
1311
1316
  ])
1312
1317
  ]))
1313
1318
  ]));
1314
1319
  }
1315
- }), Xl = { class: "flex justify-center relative mx-2 my-6" }, Yl = /* @__PURE__ */ V({
1320
+ }), Yl = { class: "flex justify-center relative mx-2 my-6" }, Zl = /* @__PURE__ */ V({
1316
1321
  __name: "CardDate",
1317
1322
  props: {
1318
1323
  size: {},
@@ -1338,10 +1343,10 @@ const Ul = F({ name: "ri-flashlight-line", render: Fl }), Rl = { class: "flex ju
1338
1343
  const { disabled: p } = o;
1339
1344
  return { label: d, modelValue: t(r), disabled: p };
1340
1345
  }, m = (d) => u("click", d);
1341
- return (d, r) => (a(), D(J, N(n, { onClick: m }), {
1346
+ return (d, r) => (a(), T(J, N(n, { onClick: m }), {
1342
1347
  dialog: h((o) => [
1343
- l("div", Xl, [
1344
- g(U, N(i(o), {
1348
+ l("div", Yl, [
1349
+ g(R, N(i(o), {
1345
1350
  type: "datetime-local",
1346
1351
  onChange: c
1347
1352
  }), null, 16)
@@ -1350,15 +1355,15 @@ const Ul = F({ name: "ri-flashlight-line", render: Fl }), Rl = { class: "flex ju
1350
1355
  _: 1
1351
1356
  }, 16));
1352
1357
  }
1353
- }), Zl = { class: "flex justify-end" }, es = {
1358
+ }), es = { class: "flex justify-end" }, ts = {
1354
1359
  class: /* @__PURE__ */ z("text-blue-600 dark:text-blue-400")
1355
- }, ts = {
1360
+ }, ls = {
1356
1361
  width: "32",
1357
1362
  height: "32",
1358
1363
  viewBox: "-7.5 -7.5 75 75",
1359
1364
  version: "1.1",
1360
1365
  style: { transform: "rotate(-90deg)" }
1361
- }, ls = ["stroke-dashoffset"], ss = { class: "absolute top-1/2 left-1/2 -translate-1/2 text-white z-10 font-bold text-xl" }, os = /* @__PURE__ */ V({
1366
+ }, ss = ["stroke-dashoffset"], os = { class: "absolute top-1/2 left-1/2 -translate-1/2 text-white z-10 font-bold text-xl" }, as = /* @__PURE__ */ V({
1362
1367
  __name: "CardDimmer",
1363
1368
  props: {
1364
1369
  size: {},
@@ -1377,14 +1382,14 @@ const Ul = F({ name: "ri-flashlight-line", render: Fl }), Rl = { class: "flex ju
1377
1382
  emits: ["edit", "close", "click", "open", "setState"],
1378
1383
  setup(e, { emit: s }) {
1379
1384
  const n = e, u = s, t = ({ opts: r, value: o }) => Math.round(100 * +o / ((r == null ? void 0 : r.max) || 255)), c = ({ opts: r, value: o }) => Math.round(187 - +o / ((r == null ? void 0 : r.max) || 255) * 187), i = ({ value: r, opts: o }) => {
1380
- const { min: p = 0, max: C = 255, step: b = 1, disabled: v } = o || {};
1381
- return { min: p, max: C, step: b, value: r, disabled: !!v, class: v ? "" : "cursor-pointer" };
1385
+ const { min: p = 0, max: w = 255, step: b = 1, disabled: v } = o || {};
1386
+ return { min: p, max: w, step: b, value: r, disabled: !!v, class: v ? "" : "cursor-pointer" };
1382
1387
  }, m = (r) => u("click", r), d = (r) => u("setState", +r.target.value || 0);
1383
- return (r, o) => (a(), D(J, N(n, { onClick: m }), {
1388
+ return (r, o) => (a(), T(J, N(n, { onClick: m }), {
1384
1389
  header: h((p) => [
1385
- l("div", Zl, [
1386
- l("div", es, [
1387
- (a(), f("svg", ts, [
1390
+ l("div", es, [
1391
+ l("div", ts, [
1392
+ (a(), f("svg", ls, [
1388
1393
  o[0] || (o[0] = l("circle", {
1389
1394
  class: "stroke-gray-300 dark:stroke-gray-700",
1390
1395
  r: "30",
@@ -1403,7 +1408,7 @@ const Ul = F({ name: "ri-flashlight-line", render: Fl }), Rl = { class: "flex ju
1403
1408
  "stroke-dashoffset": c(p),
1404
1409
  fill: "transparent",
1405
1410
  "stroke-dasharray": "187"
1406
- }, null, 8, ls)
1411
+ }, null, 8, ss)
1407
1412
  ]))
1408
1413
  ])
1409
1414
  ])
@@ -1417,7 +1422,7 @@ const Ul = F({ name: "ri-flashlight-line", render: Fl }), Rl = { class: "flex ju
1417
1422
  class: "absolute h-10 top-0 left-0 bg-blue-600 dark:bg-blue-400 z-0 rounded-md transition-[width_0.3s_linear]",
1418
1423
  style: G(`width: ${t(p)}%`)
1419
1424
  }, null, 4),
1420
- l("div", ss, w(t(p)) + " %", 1),
1425
+ l("div", os, $(t(p)) + " %", 1),
1421
1426
  l("input", N({ type: "range" }, i(p), {
1422
1427
  class: "w-full h-10 z-10 appearance-none opacity-0",
1423
1428
  onChange: d
@@ -1427,7 +1432,7 @@ const Ul = F({ name: "ri-flashlight-line", render: Fl }), Rl = { class: "flex ju
1427
1432
  _: 1
1428
1433
  }, 16));
1429
1434
  }
1430
- }), as = /* @__PURE__ */ V({
1435
+ }), ns = /* @__PURE__ */ V({
1431
1436
  __name: "CardInfo",
1432
1437
  props: {
1433
1438
  size: {},
@@ -1446,14 +1451,14 @@ const Ul = F({ name: "ri-flashlight-line", render: Fl }), Rl = { class: "flex ju
1446
1451
  emits: ["edit", "close", "click", "open", "setState"],
1447
1452
  setup(e, { emit: s }) {
1448
1453
  const n = e, u = s, t = (c) => u("click", c);
1449
- return (c, i) => (a(), D(J, N(n, { onClick: t }), {
1454
+ return (c, i) => (a(), T(J, N(n, { onClick: t }), {
1450
1455
  default: h(() => [
1451
- $(c.$slots, "dialog")
1456
+ k(c.$slots, "dialog")
1452
1457
  ]),
1453
1458
  _: 3
1454
1459
  }, 16));
1455
1460
  }
1456
- }), ns = { class: "flex justify-center relative mx-2 my-6" }, is = /* @__PURE__ */ V({
1461
+ }), is = { class: "flex justify-center relative mx-2 my-6" }, rs = /* @__PURE__ */ V({
1457
1462
  __name: "CardInput",
1458
1463
  props: {
1459
1464
  size: {},
@@ -1477,10 +1482,10 @@ const Ul = F({ name: "ri-flashlight-line", render: Fl }), Rl = { class: "flex ju
1477
1482
  }, c = (m) => u("setState", m.target.value), i = (m) => u("click", m);
1478
1483
  return (m, d) => {
1479
1484
  const r = ce;
1480
- return a(), D(J, N(n, { onClick: i }), {
1485
+ return a(), T(J, N(n, { onClick: i }), {
1481
1486
  dialog: h((o) => [
1482
- l("div", ns, [
1483
- g(U, N(t(o), {
1487
+ l("div", is, [
1488
+ g(R, N(t(o), {
1484
1489
  autofocus: "",
1485
1490
  onEnter: c,
1486
1491
  onBlur: c
@@ -1496,23 +1501,23 @@ const Ul = F({ name: "ri-flashlight-line", render: Fl }), Rl = { class: "flex ju
1496
1501
  }, 16);
1497
1502
  };
1498
1503
  }
1499
- }), rs = {
1504
+ }), cs = {
1500
1505
  viewBox: "0 0 24 24",
1501
1506
  width: "1.2em",
1502
1507
  height: "1.2em"
1503
1508
  };
1504
- function cs(e, s) {
1505
- return a(), f("svg", rs, [...s[0] || (s[0] = [
1509
+ function ds(e, s) {
1510
+ return a(), f("svg", cs, [...s[0] || (s[0] = [
1506
1511
  l("path", {
1507
1512
  fill: "currentColor",
1508
1513
  d: "m12 10.828l-4.95 4.95l-1.414-1.414L12 8l6.364 6.364l-1.414 1.414z"
1509
1514
  }, null, -1)
1510
1515
  ])]);
1511
1516
  }
1512
- const ds = F({ name: "ri-arrow-up-s-line", render: cs }), us = { class: "pb-8 px-4 md:pb-8 md:px-4 lg:p-4 bg-white dark:bg-gray-800 rounded min-w-68.25 shadow-bottom-nav" }, fs = {
1517
+ const us = F({ name: "ri-arrow-up-s-line", render: ds }), fs = { class: "bg-white dark:bg-gray-800 rounded min-w-68.25 shadow-bottom-nav" }, ms = {
1513
1518
  key: 0,
1514
- class: "md:hidden text-title-md font-bold mb-4 uppercase"
1515
- }, ms = { class: "h-full h-hull max-h-78 overflow-auto scrollbar overscroll-contain" }, Y = /* @__PURE__ */ V({
1519
+ class: "md:hidden text-title-md font-bold mb-4 uppercase px-4"
1520
+ }, vs = { class: "h-full h-hull max-h-78 overflow-auto scrollbar overscroll-contain" }, Y = /* @__PURE__ */ V({
1516
1521
  inheritAttrs: !1,
1517
1522
  __name: "VSelect",
1518
1523
  props: {
@@ -1527,14 +1532,14 @@ const ds = F({ name: "ri-arrow-up-s-line", render: cs }), us = { class: "pb-8 px
1527
1532
  n("select", t), c == null || c.set(!1);
1528
1533
  }
1529
1534
  return (t, c) => {
1530
- const i = ds;
1531
- return a(), D(te, {
1535
+ const i = us;
1536
+ return a(), T(te, {
1532
1537
  "hide-on-click": !1,
1533
1538
  class: "relative"
1534
1539
  }, {
1535
1540
  activator: h(({ on: m, isShow: d }) => [
1536
- $(t.$slots, "activator", W(q({ on: m, isShow: d })), () => [
1537
- g(U, {
1541
+ k(t.$slots, "activator", W(q({ on: m, isShow: d })), () => [
1542
+ g(R, {
1538
1543
  "model-value": e.modelValue,
1539
1544
  readonly: "",
1540
1545
  hideMessage: "",
@@ -1552,16 +1557,16 @@ const ds = F({ name: "ri-arrow-up-s-line", render: cs }), us = { class: "pb-8 px
1552
1557
  ])
1553
1558
  ]),
1554
1559
  default: h(({ on: m }) => [
1555
- l("div", us, [
1556
- e.label ? (a(), f("h5", fs, w(e.label), 1)) : B("", !0),
1557
- l("div", ms, [
1560
+ l("div", fs, [
1561
+ e.label ? (a(), f("h5", ms, $(e.label), 1)) : B("", !0),
1562
+ l("div", vs, [
1558
1563
  g(le, {
1559
1564
  items: e.items,
1560
1565
  onClick: (d) => u(d, m)
1561
1566
  }, {
1562
1567
  default: h(({ item: d }) => [
1563
- $(t.$slots, "item", { item: d }, () => [
1564
- L(w(d.name), 1)
1568
+ k(t.$slots, "item", { item: d }, () => [
1569
+ L($(d.name), 1)
1565
1570
  ])
1566
1571
  ]),
1567
1572
  _: 3
@@ -1573,7 +1578,7 @@ const ds = F({ name: "ri-arrow-up-s-line", render: cs }), us = { class: "pb-8 px
1573
1578
  });
1574
1579
  };
1575
1580
  }
1576
- }), vs = { class: "flex justify-center py-4" }, gs = /* @__PURE__ */ V({
1581
+ }), gs = { class: "flex justify-center py-4" }, ps = /* @__PURE__ */ V({
1577
1582
  __name: "CardList",
1578
1583
  props: {
1579
1584
  size: {},
@@ -1595,25 +1600,25 @@ const ds = F({ name: "ri-arrow-up-s-line", render: cs }), us = { class: "pb-8 px
1595
1600
  var o;
1596
1601
  return Array.isArray(d == null ? void 0 : d.items) && ((o = d == null ? void 0 : d.items.find((p) => p.value === r)) == null ? void 0 : o.name) || r;
1597
1602
  }, m = ({ name: d, value: r, opts: o = {} }) => {
1598
- const { items: p = [], disabled: C } = o;
1599
- return { label: d, modelValue: r, items: p, disabled: C };
1603
+ const { items: p = [], disabled: w } = o;
1604
+ return { label: d, modelValue: r, items: p, disabled: w };
1600
1605
  };
1601
- return (d, r) => (a(), D(J, N(n, { onClick: t }), {
1606
+ return (d, r) => (a(), T(J, N(n, { onClick: t }), {
1602
1607
  value: h((o) => [
1603
- L(w(i(o)), 1)
1608
+ L($(i(o)), 1)
1604
1609
  ]),
1605
1610
  "dialog-value": h((o) => [
1606
- L(w(i(o)), 1)
1611
+ L($(i(o)), 1)
1607
1612
  ]),
1608
1613
  dialog: h((o) => [
1609
- l("div", vs, [
1614
+ l("div", gs, [
1610
1615
  g(Y, N(m(o), { onChange: c }), null, 16)
1611
1616
  ])
1612
1617
  ]),
1613
1618
  _: 1
1614
1619
  }, 16));
1615
1620
  }
1616
- }), ps = [
1621
+ }), hs = [
1617
1622
  "Dots",
1618
1623
  "Air",
1619
1624
  "Bulb",
@@ -1652,20 +1657,20 @@ const ds = F({ name: "ri-arrow-up-s-line", render: cs }), us = { class: "pb-8 px
1652
1657
  "Theme",
1653
1658
  "Info",
1654
1659
  "Plus"
1655
- ], hs = ["Button", "Info", "Dimmer", "Date", "Input", "List"], bs = ps.map((e, s) => ({ id: ++s, name: `${e}`, value: e })), ys = hs.map((e, s) => ({ id: ++s, name: `${e}`, value: `${e.toLowerCase()}` })), xs = {
1660
+ ], bs = ["Button", "Info", "Dimmer", "Date", "Input", "List"], ys = hs.map((e, s) => ({ id: ++s, name: `${e}`, value: e })), xs = bs.map((e, s) => ({ id: ++s, name: `${e}`, value: `${e.toLowerCase()}` })), _s = {
1656
1661
  viewBox: "0 0 24 24",
1657
1662
  width: "1.2em",
1658
1663
  height: "1.2em"
1659
1664
  };
1660
- function _s(e, s) {
1661
- return a(), f("svg", xs, [...s[0] || (s[0] = [
1665
+ function ks(e, s) {
1666
+ return a(), f("svg", _s, [...s[0] || (s[0] = [
1662
1667
  l("path", {
1663
1668
  fill: "currentColor",
1664
1669
  d: "M11 11V5h2v6h6v2h-6v6h-2v-6H5v-2z"
1665
1670
  }, null, -1)
1666
1671
  ])]);
1667
1672
  }
1668
- const ue = F({ name: "ri-add-line", render: _s }), ks = { class: "flex w-full relative" }, $s = { class: "flex gap-2 flex-wrap flex-auto px-2 py-1" }, ws = ["disabled"], ze = /* @__PURE__ */ V({
1673
+ const ue = F({ name: "ri-add-line", render: ks }), $s = { class: "flex w-full relative" }, ws = { class: "flex gap-2 flex-wrap flex-auto px-2 py-1" }, Cs = ["disabled"], ze = /* @__PURE__ */ V({
1669
1674
  __name: "VTextWrapper",
1670
1675
  props: {
1671
1676
  active: { type: Boolean },
@@ -1675,18 +1680,18 @@ const ue = F({ name: "ri-add-line", render: _s }), ks = { class: "flex w-full re
1675
1680
  },
1676
1681
  emits: ["icon"],
1677
1682
  setup(e, { emit: s }) {
1678
- const n = s, u = A(() => e.active ? "top-0 left-3 text-xs" : "top-1/2"), t = A(() => [e.disabled ? "border-gray-400 opacity-40" : "border-gray-300 hover:border-gray-400 dark:border-gray-700/50 hover:dark:border-gray-600/50"]);
1683
+ const n = s, u = D(() => e.active ? "top-0 left-3 text-xs" : "top-1/2"), t = D(() => [e.disabled ? "border-gray-400 opacity-40" : "border-gray-300 hover:border-gray-400 dark:border-gray-700/50 hover:dark:border-gray-600/50"]);
1679
1684
  return (c, i) => {
1680
1685
  const m = ue;
1681
- return a(), f("div", ks, [
1686
+ return a(), f("div", $s, [
1682
1687
  l("div", {
1683
1688
  class: z(["relative w-full min-h-[40px] border border-gray-300 dark:border-gray-700 flex items-center rounded transition bg-white dark:bg-gray-800", t.value])
1684
1689
  }, [
1685
1690
  l("span", {
1686
1691
  class: z(["absolute left-4 transition-all rounded -translate-y-1/2 text-gray-600 dark:text-gray-400", u.value])
1687
- }, w(e.label), 3),
1688
- l("div", $s, [
1689
- $(c.$slots, "default")
1692
+ }, $(e.label), 3),
1693
+ l("div", ws, [
1694
+ k(c.$slots, "default")
1690
1695
  ]),
1691
1696
  e.hideIcon ? B("", !0) : (a(), f("button", {
1692
1697
  key: 0,
@@ -1694,47 +1699,47 @@ const ue = F({ name: "ri-add-line", render: _s }), ks = { class: "flex w-full re
1694
1699
  class: z([{ "cursor-pointer": !e.disabled }, "h-full flex items-center justify-center text-gray-400 border-l border-gray-300 dark:border-gray-700/50 flex-[0_0_50px]"]),
1695
1700
  onClick: i[0] || (i[0] = (d) => n("icon", d))
1696
1701
  }, [
1697
- $(c.$slots, "icon", {}, () => [
1702
+ k(c.$slots, "icon", {}, () => [
1698
1703
  g(m, { class: "size-4" })
1699
1704
  ])
1700
- ], 10, ws))
1705
+ ], 10, Cs))
1701
1706
  ], 2)
1702
1707
  ]);
1703
1708
  };
1704
1709
  }
1705
- }), Cs = {
1710
+ }), zs = {
1706
1711
  viewBox: "0 0 24 24",
1707
1712
  width: "1.2em",
1708
1713
  height: "1.2em"
1709
1714
  };
1710
- function zs(e, s) {
1711
- return a(), f("svg", Cs, [...s[0] || (s[0] = [
1715
+ function Vs(e, s) {
1716
+ return a(), f("svg", zs, [...s[0] || (s[0] = [
1712
1717
  l("path", {
1713
1718
  fill: "currentColor",
1714
1719
  d: "M7 19v-6h10v6h2V7.828L16.172 5H5v14zM4 3h13l4 4v13a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1m5 12v4h6v-4z"
1715
1720
  }, null, -1)
1716
1721
  ])]);
1717
1722
  }
1718
- const Vs = F({ name: "ri-save-line", render: zs }), Bs = {
1723
+ const Bs = F({ name: "ri-save-line", render: Vs }), Ss = {
1719
1724
  viewBox: "0 0 24 24",
1720
1725
  width: "1.2em",
1721
1726
  height: "1.2em"
1722
1727
  };
1723
- function Ss(e, s) {
1724
- return a(), f("svg", Bs, [...s[0] || (s[0] = [
1728
+ function As(e, s) {
1729
+ return a(), f("svg", Ss, [...s[0] || (s[0] = [
1725
1730
  l("path", {
1726
1731
  fill: "currentColor",
1727
1732
  d: "M2 4a1 1 0 0 1 1-1h7.414l2 2H21a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H3c-.55 0-1-.45-1-1zm8.586 2l-1-1H4v2h5.586zM4 9v10h16V7h-7.586l-2 2z"
1728
1733
  }, null, -1)
1729
1734
  ])]);
1730
1735
  }
1731
- const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
1736
+ const Ds = F({ name: "ri-folder6-line", render: As }), Ts = ["onClick"], Is = {
1732
1737
  key: 0,
1733
1738
  class: "me-1"
1734
- }, Is = { class: "flex items-center z-10" }, Ms = ["onClick"], Ls = {
1739
+ }, Ms = { class: "flex items-center z-10" }, Ls = ["onClick"], js = {
1735
1740
  key: 0,
1736
1741
  class: "flex ps-5"
1737
- }, js = { class: "font-medium me-4" }, Ns = ["onClick"], Ve = /* @__PURE__ */ V({
1742
+ }, Ns = { class: "font-medium me-4" }, Os = ["onClick"], Ve = /* @__PURE__ */ V({
1738
1743
  __name: "VListObject",
1739
1744
  props: {
1740
1745
  items: { default: () => ({}) },
@@ -1749,7 +1754,7 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
1749
1754
  n("click", { key: r, path: m(r), isObject: o });
1750
1755
  };
1751
1756
  return (r, o) => {
1752
- const p = As, C = Vs;
1757
+ const p = Ds, w = Bs;
1753
1758
  return a(), f("ul", null, [
1754
1759
  (a(!0), f(j, null, P(e.items, (b, v) => (a(), f("li", {
1755
1760
  key: v,
@@ -1759,23 +1764,23 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
1759
1764
  class: z(["flex items-center cursor-pointer ps-2 h-8", i(b) ? `${u()}` : ""]),
1760
1765
  onClick: (y) => c(v)
1761
1766
  }, [
1762
- i(b) ? (a(), f("div", Ts, [
1767
+ i(b) ? (a(), f("div", Is, [
1763
1768
  g(p, { class: "size-5" })
1764
1769
  ])) : B("", !0),
1765
- l("div", null, w(v), 1),
1770
+ l("div", null, $(v), 1),
1766
1771
  !e.onlyValue && i(b) ? (a(), f(j, { key: 1 }, [
1767
1772
  o[1] || (o[1] = l("div", { class: "flex-auto" }, null, -1)),
1768
- l("div", Is, [
1773
+ l("div", Ms, [
1769
1774
  l("button", {
1770
1775
  class: "px-2 cursor-pointer text-gray-400 hover:text-gray-200",
1771
1776
  onClick: E((y) => d(v, i(b)), ["stop"])
1772
1777
  }, [
1773
- g(C, { class: "size-5" })
1774
- ], 8, Ms)
1778
+ g(w, { class: "size-5" })
1779
+ ], 8, Ls)
1775
1780
  ])
1776
1781
  ], 64)) : B("", !0)
1777
- ], 10, Ds),
1778
- i(b) ? (a(), f("div", Ls, [
1782
+ ], 10, Ts),
1783
+ i(b) ? (a(), f("div", js, [
1779
1784
  oe(g(Ve, {
1780
1785
  class: "flex-auto",
1781
1786
  path: m(v),
@@ -1787,19 +1792,19 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
1787
1792
  ])
1788
1793
  ])) : (a(), f(j, { key: 1 }, [
1789
1794
  o[2] || (o[2] = l("div", { class: "flex-auto" }, null, -1)),
1790
- l("div", js, w(b), 1),
1795
+ l("div", Ns, $(b), 1),
1791
1796
  l("button", {
1792
1797
  class: "px-2 cursor-pointer z-10",
1793
1798
  onClick: E((y) => d(v, i(b)), ["stop"])
1794
1799
  }, [
1795
- g(C, { class: "size-5" })
1796
- ], 8, Ns)
1800
+ g(w, { class: "size-5" })
1801
+ ], 8, Os)
1797
1802
  ], 64))
1798
1803
  ], 2))), 128))
1799
1804
  ]);
1800
1805
  };
1801
1806
  }
1802
- }), Os = { class: "" }, Es = { class: "flex border-b border-gray-200 dark:border-gray-700" }, Hs = ["onClick"], Ps = { class: "relative my-4" }, Fs = { key: 0 }, Us = /* @__PURE__ */ V({
1807
+ }), Es = { class: "" }, Hs = { class: "flex border-b border-gray-200 dark:border-gray-700" }, Ps = ["onClick"], Fs = { class: "relative my-4" }, Us = { key: 0 }, Rs = /* @__PURE__ */ V({
1803
1808
  __name: "VTabs",
1804
1809
  props: {
1805
1810
  value: {},
@@ -1813,8 +1818,8 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
1813
1818
  return s({
1814
1819
  setActiveTab: i,
1815
1820
  activeTab: t
1816
- }), (m, d) => (a(), f("div", Os, [
1817
- l("div", Es, [
1821
+ }), (m, d) => (a(), f("div", Es, [
1822
+ l("div", Hs, [
1818
1823
  (a(!0), f(j, null, P(e.items, (r, o) => (a(), f("div", {
1819
1824
  key: o,
1820
1825
  class: "relative"
@@ -1822,10 +1827,10 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
1822
1827
  l("button", {
1823
1828
  class: z(["font-medium text-lg transition cursor-pointer before:h-[2px] before:absolute before:w-full before:bg-blue-700 before:left-0 before:bottom-0 px-4 py-2", c(o)]),
1824
1829
  onClick: (p) => i(o)
1825
- }, w(r.title), 11, Hs)
1830
+ }, $(r.title), 11, Ps)
1826
1831
  ]))), 128))
1827
1832
  ]),
1828
- l("div", Ps, [
1833
+ l("div", Fs, [
1829
1834
  (a(!0), f(j, null, P(e.items, (r, o) => (a(), f("div", {
1830
1835
  key: o,
1831
1836
  class: "tab-panel"
@@ -1839,8 +1844,8 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
1839
1844
  "leave-to-class": "transform opacity-0 -translate-x-2"
1840
1845
  }, {
1841
1846
  default: h(() => [
1842
- t.value === o ? (a(), f("div", Fs, [
1843
- $(m.$slots, `tab-${o}`)
1847
+ t.value === o ? (a(), f("div", Us, [
1848
+ k(m.$slots, `tab-${o}`)
1844
1849
  ])) : B("", !0)
1845
1850
  ]),
1846
1851
  _: 2
@@ -1849,7 +1854,7 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
1849
1854
  ])
1850
1855
  ]));
1851
1856
  }
1852
- }), Rs = { class: "flex gap-1 text-amber-500 self-start text-nowrap select-none" }, Ws = ["title", "onMouseenter", "onMouseleave"], qs = { class: "flex flex-auto" }, Gs = ["disabled"], se = /* @__PURE__ */ V({
1857
+ }), Ws = { class: "flex gap-1 text-amber-500 self-start text-nowrap select-none" }, qs = ["title", "onMouseenter", "onMouseleave"], Gs = { class: "flex flex-auto" }, Ks = ["disabled"], se = /* @__PURE__ */ V({
1853
1858
  __name: "VFunc",
1854
1859
  props: {
1855
1860
  label: {},
@@ -1878,8 +1883,8 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
1878
1883
  e.value && (u.value = e.value);
1879
1884
  }
1880
1885
  ), (r, o) => {
1881
- const p = K, C = ue;
1882
- return a(), D(ze, {
1886
+ const p = K, w = ue;
1887
+ return a(), T(ze, {
1883
1888
  active: !!e.value,
1884
1889
  disabled: e.disabled,
1885
1890
  label: e.label,
@@ -1887,17 +1892,17 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
1887
1892
  onIcon: d
1888
1893
  }, {
1889
1894
  icon: h(() => [
1890
- e.value ? (a(), D(p, {
1895
+ e.value ? (a(), T(p, {
1891
1896
  key: 0,
1892
1897
  class: "size-4"
1893
- })) : (a(), D(C, {
1898
+ })) : (a(), T(w, {
1894
1899
  key: 1,
1895
1900
  class: "size-4"
1896
1901
  }))
1897
1902
  ]),
1898
1903
  default: h(() => [
1899
1904
  e.value ? (a(), f(j, { key: 0 }, [
1900
- l("div", Rs, [
1905
+ l("div", Ws, [
1901
1906
  o[3] || (o[3] = L(" ( ", -1)),
1902
1907
  (a(!0), f(j, null, P(e.args, (b, v) => (a(), f(j, { key: b }, [
1903
1908
  l("span", {
@@ -1905,12 +1910,12 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
1905
1910
  title: b,
1906
1911
  onMouseenter: (y) => t("hover", "enter", v),
1907
1912
  onMouseleave: (y) => t("hover", "leave", v)
1908
- }, w(c[v]), 41, Ws),
1913
+ }, $(c[v]), 41, qs),
1909
1914
  o[2] || (o[2] = l("span", { class: "last:hidden" }, ",", -1))
1910
1915
  ], 64))), 128)),
1911
1916
  o[4] || (o[4] = L(" ) => ", -1))
1912
1917
  ]),
1913
- l("div", qs, [
1918
+ l("div", Gs, [
1914
1919
  oe(l("textarea", {
1915
1920
  ref_key: "textarea",
1916
1921
  ref: n,
@@ -1919,9 +1924,9 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
1919
1924
  type: "text",
1920
1925
  disabled: e.disabled,
1921
1926
  onInput: o[1] || (o[1] = //@ts-ignore
1922
- (...b) => S(m) && S(m)(...b))
1923
- }, null, 40, Gs), [
1924
- [je, S(u)]
1927
+ (...b) => A(m) && A(m)(...b))
1928
+ }, null, 40, Ks), [
1929
+ [je, A(u)]
1925
1930
  ])
1926
1931
  ])
1927
1932
  ], 64)) : B("", !0)
@@ -1930,7 +1935,7 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
1930
1935
  }, 8, ["active", "disabled", "label", "hideIcon"]);
1931
1936
  };
1932
1937
  }
1933
- }), Ks = ["checked", "disabled"], Js = { class: "text-sm ms-2 peer-disabled:opacity-40" }, Qs = /* @__PURE__ */ V({
1938
+ }), Js = ["checked", "disabled"], Qs = { class: "text-sm ms-2 peer-disabled:opacity-40" }, Xs = /* @__PURE__ */ V({
1934
1939
  __name: "VCheckbox",
1935
1940
  props: {
1936
1941
  modelValue: { type: [Number, Boolean], default: !1 },
@@ -1952,7 +1957,7 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
1952
1957
  disabled: e.disabled,
1953
1958
  class: "peer size-5 transition-all appearance-none rounded border border-gray-300 dark:border-gray-700 disabled:opacity-40 not-disabled:cursor-pointer",
1954
1959
  onChange: u
1955
- }, null, 40, Ks),
1960
+ }, null, 40, Js),
1956
1961
  i[0] || (i[0] = l("button", { class: "absolute opacity-0 peer-checked:opacity-100 peer-disabled:opacity-40 top-1/2 left-[10px] transform -translate-x-1/2 -translate-y-1/2 pointer-events-none" }, [
1957
1962
  l("svg", {
1958
1963
  class: "h-3.5 w-3.5",
@@ -1968,18 +1973,18 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
1968
1973
  })
1969
1974
  ])
1970
1975
  ], -1)),
1971
- l("span", Js, [
1972
- $(c.$slots, "default")
1976
+ l("span", Qs, [
1977
+ k(c.$slots, "default")
1973
1978
  ])
1974
1979
  ], 2));
1975
1980
  }
1976
- }), Xs = { class: "flex flex-col" }, Ys = { class: "flex gap-4 mb-6" }, Zs = {
1981
+ }), Ys = { class: "flex flex-col" }, Zs = { class: "flex gap-4 mb-6" }, eo = {
1977
1982
  key: 0,
1978
1983
  class: "flex gap-4"
1979
- }, eo = {
1984
+ }, to = {
1980
1985
  key: 1,
1981
1986
  class: ""
1982
- }, to = { class: "flex flex-col md:flex-row gap-4" }, lo = { class: "flex gap-4" }, so = { class: "flex justify-between flex-auto" }, oo = ["onClick"], ao = /* @__PURE__ */ V({
1987
+ }, lo = { class: "flex flex-col md:flex-row gap-4" }, so = { class: "flex gap-4" }, oo = { class: "flex justify-between flex-auto" }, ao = ["onClick"], no = /* @__PURE__ */ V({
1983
1988
  __name: "ItemOptions",
1984
1989
  props: {
1985
1990
  min: { default: 0 },
@@ -1992,25 +1997,25 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
1992
1997
  },
1993
1998
  emits: ["update"],
1994
1999
  setup(e, { emit: s }) {
1995
- const n = s, u = A(() => e.list.map((v, y) => ({ ...v, id: ++y }))), t = H({ name: "", value: "" }), c = A(() => e.list.length + 1), i = A(() => {
2000
+ const n = s, u = D(() => e.list.map((v, y) => ({ ...v, id: ++y }))), t = H({ name: "", value: "" }), c = D(() => e.list.length + 1), i = D(() => {
1996
2001
  var v;
1997
2002
  return !((v = t.value) != null && v.id);
1998
- }), m = (v) => e.type === v, d = (v, y) => n("update", v, y), r = (v) => v.map(({ name: y, value: x }) => ({ name: y, value: x })), o = ({ id: v, name: y, value: x }) => t.value = { id: v, name: y, value: x }, p = () => {
2003
+ }), m = (v) => e.type === v, d = (v, y) => n("update", v, y), r = (v) => v.map(({ name: y, value: C }) => ({ name: y, value: C })), o = ({ id: v, name: y, value: C }) => t.value = { id: v, name: y, value: C }, p = () => {
1999
2004
  const v = c.value;
2000
2005
  t.value = { name: `New_${v}`, value: v, id: v }, d("items", r([t.value, ...u.value]));
2001
- }, C = (v) => {
2006
+ }, w = (v) => {
2002
2007
  t.value.name === v.name && (t.value = { name: "", value: "" }), d("items", r(u.value.filter((y) => y.value !== v.value)));
2003
2008
  }, b = ne(() => {
2004
2009
  const v = t.value;
2005
2010
  if (!v.name || !v.value) return;
2006
- const y = u.value.map((x) => x.id === v.id ? v : x);
2011
+ const y = u.value.map((C) => C.id === v.id ? v : C);
2007
2012
  d("items", r(y));
2008
2013
  }, 300);
2009
2014
  return (v, y) => {
2010
- const x = K, T = ue;
2011
- return a(), f("div", Xs, [
2012
- l("div", Ys, [
2013
- g(Qs, {
2015
+ const C = K, S = ue;
2016
+ return a(), f("div", Ys, [
2017
+ l("div", Zs, [
2018
+ g(Xs, {
2014
2019
  modelValue: e.disabled,
2015
2020
  "onUpdate:modelValue": y[0] || (y[0] = (M) => d("disabled", M ? 1 : 0))
2016
2021
  }, {
@@ -2020,39 +2025,39 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
2020
2025
  _: 1
2021
2026
  }, 8, ["modelValue"])
2022
2027
  ]),
2023
- m("dimmer") ? (a(), f("div", Zs, [
2024
- g(U, {
2028
+ m("dimmer") ? (a(), f("div", eo, [
2029
+ g(R, {
2025
2030
  modelValue: e.min,
2026
2031
  label: "Min",
2027
2032
  "onUpdate:modelValue": y[1] || (y[1] = (M) => d("min", +M))
2028
2033
  }, null, 8, ["modelValue"]),
2029
- g(U, {
2034
+ g(R, {
2030
2035
  modelValue: e.max,
2031
2036
  label: "Max",
2032
2037
  "onUpdate:modelValue": y[2] || (y[2] = (M) => d("max", +M))
2033
2038
  }, null, 8, ["modelValue"]),
2034
- g(U, {
2039
+ g(R, {
2035
2040
  modelValue: e.step,
2036
2041
  label: "Step",
2037
2042
  "onUpdate:modelValue": y[3] || (y[3] = (M) => d("step", +M))
2038
2043
  }, null, 8, ["modelValue"])
2039
2044
  ])) : B("", !0),
2040
- m("list") ? (a(), f("div", eo, [
2041
- l("div", to, [
2042
- g(U, {
2045
+ m("list") ? (a(), f("div", to, [
2046
+ l("div", lo, [
2047
+ g(R, {
2043
2048
  modelValue: t.value.name,
2044
2049
  "onUpdate:modelValue": [
2045
2050
  y[4] || (y[4] = (M) => t.value.name = M),
2046
- S(b)
2051
+ A(b)
2047
2052
  ],
2048
2053
  disabled: i.value,
2049
2054
  label: "Name"
2050
2055
  }, null, 8, ["modelValue", "disabled", "onUpdate:modelValue"]),
2051
- g(U, {
2056
+ g(R, {
2052
2057
  modelValue: t.value.value,
2053
2058
  "onUpdate:modelValue": [
2054
2059
  y[5] || (y[5] = (M) => t.value.value = M),
2055
- S(b)
2060
+ A(b)
2056
2061
  ],
2057
2062
  disabled: i.value,
2058
2063
  label: "Value"
@@ -2063,7 +2068,7 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
2063
2068
  _: 1
2064
2069
  }, 8, ["modelValue", "disabled", "onUpdate:modelValue"])
2065
2070
  ]),
2066
- l("div", lo, [
2071
+ l("div", so, [
2067
2072
  g(Y, {
2068
2073
  "model-value": t.value.value,
2069
2074
  label: "List",
@@ -2071,14 +2076,14 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
2071
2076
  onChange: o
2072
2077
  }, {
2073
2078
  item: h(({ item: M }) => [
2074
- l("div", so, [
2075
- l("span", null, w(M.name), 1),
2079
+ l("div", oo, [
2080
+ l("span", null, $(M.name), 1),
2076
2081
  l("button", {
2077
2082
  class: "cursor-pointer size-4",
2078
- onClick: E((R) => C(M), ["prevent", "stop"])
2083
+ onClick: E((U) => w(M), ["prevent", "stop"])
2079
2084
  }, [
2080
- g(x)
2081
- ], 8, oo)
2085
+ g(C)
2086
+ ], 8, ao)
2082
2087
  ])
2083
2088
  ]),
2084
2089
  _: 1
@@ -2089,7 +2094,7 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
2089
2094
  onClick: p
2090
2095
  }, {
2091
2096
  default: h(() => [
2092
- g(T)
2097
+ g(S)
2093
2098
  ]),
2094
2099
  _: 1
2095
2100
  })
@@ -2098,7 +2103,7 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
2098
2103
  ]);
2099
2104
  };
2100
2105
  }
2101
- }), no = { class: "flex flex-col" }, io = { class: "flex flex-col md:flex-row gap-6 min-h-[300px]" }, ro = { class: "flex-auto order-1" }, co = { class: "flex-auto gap-x-2 order-1" }, uo = { class: "grid grid-cols-1 md:grid-cols-2 gap-x-4" }, fo = { class: "flex gap-2 items-center" }, mo = { class: "flex flex-col gap-4" }, vo = { class: "flex gap-2 flex-wrap flex-auto px-2 py-1" }, go = { class: "relative group" }, po = { class: "select-none" }, ho = ["onClick"], bo = { class: "flex justify-center order-0 md:order-1 md:mt-11" }, yo = { class: "flex-[0_0_130px] size-[130px]" }, xo = { class: "flex gap-4 justify-end" }, _o = { class: "relative min-h-[200px] max-h-100dvh overflow-auto scrollbar" }, ko = /* @__PURE__ */ V({
2106
+ }), io = { class: "flex flex-col" }, ro = { class: "flex flex-col md:flex-row gap-6 min-h-[300px]" }, co = { class: "flex-auto order-1" }, uo = { class: "flex-auto gap-x-2 order-1" }, fo = { class: "grid grid-cols-1 md:grid-cols-2 gap-x-4" }, mo = { class: "flex gap-2 items-center" }, vo = { class: "flex flex-col gap-4" }, go = { class: "flex gap-2 flex-wrap flex-auto px-2 py-1" }, po = { class: "relative group" }, ho = { class: "select-none" }, bo = ["onClick"], yo = { class: "flex justify-center order-0 md:order-1 md:mt-11" }, xo = { class: "flex-[0_0_130px] size-[130px]" }, _o = { class: "flex gap-4 justify-end" }, ko = { class: "relative min-h-[200px] max-h-100dvh overflow-auto scrollbar" }, $o = /* @__PURE__ */ V({
2102
2107
  __name: "ItemEdit",
2103
2108
  props: {
2104
2109
  item: {},
@@ -2116,70 +2121,70 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
2116
2121
  set: "",
2117
2122
  get: "",
2118
2123
  getTo: ""
2119
- }), c = H(!1), i = A(() => {
2120
- var _;
2121
- return !((_ = e.item) != null && _.id);
2122
- }), m = A(() => t.value.type === "info"), d = A(() => {
2123
- var _;
2124
- return (_ = t.value.args) == null ? void 0 : _.length;
2125
- }), r = A(() => t.value.args.length > 3), o = A(() => {
2126
- const { id: _, args: k } = t.value;
2127
- return !_ || !k.length;
2128
- }), p = ({ value: _ }) => t.value.icon = _, C = ({ value: _ }) => {
2129
- const k = _;
2130
- t.value.type = k, delete t.value.opts, ["button", "list", "dimmer"].includes(k) && (_ === "button" && (t.value.opts = {}), _ === "list" && (t.value.opts = { items: [] }), _ === "dimmer" && (t.value.opts = { min: 0, max: 255, step: 1 }));
2131
- }, b = (_) => {
2132
- _ === "get" && (t.value.get ? delete t.value.get : t.value.get = "v"), _ === "set" && (t.value.set ? delete t.value.set : t.value.set = "v"), _ === "getTo" && (t.value.getTo ? delete t.value.getTo : t.value.getTo = "v");
2133
- }, v = (_) => n("button", _, t.value), y = (_) => t.value.args = t.value.args.filter((k) => k !== _), x = ({ path: _ }) => {
2134
- t.value.args.length || (t.value.id = _), t.value.args.push(_), c.value = !1;
2135
- }, T = H(-1), M = (_) => T.value === _, R = (_, k) => {
2136
- _ === "enter" && (T.value = k), _ === "leave" && (T.value = -1);
2137
- }, Q = (_, k) => {
2138
- _ === "set" && (t.value.set = k), _ === "get" && (t.value.get = k), _ === "getTo" && (t.value.getTo = k), k || delete t.value[_];
2124
+ }), c = H(!1), i = D(() => {
2125
+ var x;
2126
+ return !((x = e.item) != null && x.id);
2127
+ }), m = D(() => t.value.type === "info"), d = D(() => {
2128
+ var x;
2129
+ return (x = t.value.args) == null ? void 0 : x.length;
2130
+ }), r = D(() => t.value.args.length > 3), o = D(() => {
2131
+ const { id: x, args: _ } = t.value;
2132
+ return !x || !_.length;
2133
+ }), p = ({ value: x }) => t.value.icon = x, w = ({ value: x }) => {
2134
+ const _ = x;
2135
+ t.value.type = _, delete t.value.opts, ["button", "list", "dimmer"].includes(_) && (x === "button" && (t.value.opts = {}), x === "list" && (t.value.opts = { items: [] }), x === "dimmer" && (t.value.opts = { min: 0, max: 255, step: 1 }));
2136
+ }, b = (x) => {
2137
+ x === "get" && (t.value.get ? delete t.value.get : t.value.get = "v"), x === "set" && (t.value.set ? delete t.value.set : t.value.set = "v"), x === "getTo" && (t.value.getTo ? delete t.value.getTo : t.value.getTo = "v");
2138
+ }, v = (x) => n("button", x, t.value), y = (x) => t.value.args = t.value.args.filter((_) => _ !== x), C = ({ path: x }) => {
2139
+ t.value.args.length || (t.value.id = x), t.value.args.push(x), c.value = !1;
2140
+ }, S = H(-1), M = (x) => S.value === x, U = (x, _) => {
2141
+ x === "enter" && (S.value = _), x === "leave" && (S.value = -1);
2142
+ }, Q = (x, _) => {
2143
+ x === "set" && (t.value.set = _), x === "get" && (t.value.get = _), x === "getTo" && (t.value.getTo = _), _ || delete t.value[x];
2139
2144
  }, Be = () => {
2140
- var _;
2141
- !t.value.args.length && !((_ = e.item) != null && _.id) && (c.value = !0);
2142
- }, Se = (_, k) => {
2143
- t.value.opts || (t.value.opts = {}), t.value.opts[_] = k, _ === "disabled" && !k && delete t.value.opts[_];
2145
+ var x;
2146
+ !t.value.args.length && !((x = e.item) != null && x.id) && (c.value = !0);
2147
+ }, Se = (x, _) => {
2148
+ t.value.opts || (t.value.opts = {}), t.value.opts[x] = _, x === "disabled" && !_ && delete t.value.opts[x];
2144
2149
  };
2145
2150
  return be(() => {
2146
- var _;
2147
- (_ = e.item) != null && _.id && (t.value = Ue(e.item));
2148
- }), (_, k) => {
2151
+ var x;
2152
+ (x = e.item) != null && x.id && (t.value = Ue(e.item));
2153
+ }), (x, _) => {
2149
2154
  const Ae = K;
2150
- return a(), f("div", no, [
2151
- l("div", io, [
2152
- l("div", ro, [
2153
- g(Us, {
2155
+ return a(), f("div", io, [
2156
+ l("div", ro, [
2157
+ l("div", co, [
2158
+ g(Rs, {
2154
2159
  class: "flex-auto",
2155
2160
  value: 0,
2156
2161
  items: u
2157
2162
  }, {
2158
2163
  "tab-0": h(() => [
2159
- l("div", co, [
2160
- g(U, {
2164
+ l("div", uo, [
2165
+ g(R, {
2161
2166
  modelValue: t.value.id,
2162
- "onUpdate:modelValue": k[0] || (k[0] = (I) => t.value.id = I),
2167
+ "onUpdate:modelValue": _[0] || (_[0] = (I) => t.value.id = I),
2163
2168
  label: "ID",
2164
2169
  disabled: !i.value,
2165
2170
  onClick: Be
2166
2171
  }, null, 8, ["modelValue", "disabled"]),
2167
- g(U, {
2172
+ g(R, {
2168
2173
  modelValue: t.value.name,
2169
- "onUpdate:modelValue": k[1] || (k[1] = (I) => t.value.name = I),
2174
+ "onUpdate:modelValue": _[1] || (_[1] = (I) => t.value.name = I),
2170
2175
  label: "Name"
2171
2176
  }, null, 8, ["modelValue"]),
2172
- l("div", uo, [
2177
+ l("div", fo, [
2173
2178
  g(Y, {
2174
2179
  "model-value": t.value.icon,
2175
2180
  label: "Icon",
2176
2181
  class: "mb-6",
2177
- items: S(bs),
2182
+ items: A(ys),
2178
2183
  onChange: p
2179
2184
  }, {
2180
2185
  item: h(({ item: I }) => [
2181
- l("div", fo, [
2182
- l("div", null, w(I.name), 1)
2186
+ l("div", mo, [
2187
+ l("div", null, $(I.name), 1)
2183
2188
  ])
2184
2189
  ]),
2185
2190
  _: 1
@@ -2187,41 +2192,41 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
2187
2192
  g(Y, {
2188
2193
  "model-value": t.value.type,
2189
2194
  label: "Type",
2190
- items: S(ys),
2191
- onChange: C
2195
+ items: A(xs),
2196
+ onChange: w
2192
2197
  }, null, 8, ["model-value", "items"])
2193
2198
  ])
2194
2199
  ])
2195
2200
  ]),
2196
2201
  "tab-1": h(() => [
2197
- l("div", mo, [
2202
+ l("div", vo, [
2198
2203
  g(ze, {
2199
2204
  active: !!t.value.args.length,
2200
2205
  disabled: r.value,
2201
2206
  label: "Arguments",
2202
- onIcon: k[2] || (k[2] = (I) => c.value = !0)
2207
+ onIcon: _[2] || (_[2] = (I) => c.value = !0)
2203
2208
  }, {
2204
2209
  default: h(() => [
2205
- l("div", vo, [
2210
+ l("div", go, [
2206
2211
  (a(!0), f(j, null, P(t.value.args, (I, fe) => (a(), f("div", {
2207
2212
  key: I,
2208
2213
  class: "flex items-center rounded-full bg-gray-200 dark:bg-gray-900/50 px-2 py-[2px] text-xs"
2209
2214
  }, [
2210
- l("div", go, [
2211
- l("span", po, w(I), 1),
2215
+ l("div", po, [
2216
+ l("span", ho, $(I), 1),
2212
2217
  l("div", {
2213
2218
  class: z(["fixed left-1/2 top-1/2 p-4 text-white bg-gray-900 rounded-md group-hover:visible invisible opacity-0 group-hover:opacity-100 z-50 transition-all -translate-1/2", M(fe) ? "visible opacity-100" : ""])
2214
2219
  }, [
2215
- l("pre", null, w(S(Ee)(I, e.object)), 1)
2220
+ l("pre", null, $(A(Ee)(I, e.object)), 1)
2216
2221
  ], 2)
2217
2222
  ]),
2218
2223
  fe ? (a(), f("button", {
2219
2224
  key: 0,
2220
2225
  class: "cursor-pointer ms-1",
2221
- onClick: (Uo) => y(I)
2226
+ onClick: (Ro) => y(I)
2222
2227
  }, [
2223
2228
  g(Ae, { class: "size-5" })
2224
- ], 8, ho)) : B("", !0)
2229
+ ], 8, bo)) : B("", !0)
2225
2230
  ]))), 128))
2226
2231
  ])
2227
2232
  ]),
@@ -2232,32 +2237,32 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
2232
2237
  args: t.value.args,
2233
2238
  disabled: !d.value || m.value,
2234
2239
  label: "Set",
2235
- onIcon: k[3] || (k[3] = (I) => b("set")),
2236
- onHover: R,
2237
- onChange: k[4] || (k[4] = (I) => Q("set", I))
2240
+ onIcon: _[3] || (_[3] = (I) => b("set")),
2241
+ onHover: U,
2242
+ onChange: _[4] || (_[4] = (I) => Q("set", I))
2238
2243
  }, null, 8, ["value", "args", "disabled"]),
2239
2244
  g(se, {
2240
2245
  value: t.value.get,
2241
2246
  args: t.value.args,
2242
2247
  disabled: !d.value,
2243
2248
  label: "Get",
2244
- onIcon: k[5] || (k[5] = (I) => b("get")),
2245
- onHover: R,
2246
- onChange: k[6] || (k[6] = (I) => Q("get", I))
2249
+ onIcon: _[5] || (_[5] = (I) => b("get")),
2250
+ onHover: U,
2251
+ onChange: _[6] || (_[6] = (I) => Q("get", I))
2247
2252
  }, null, 8, ["value", "args", "disabled"]),
2248
2253
  g(se, {
2249
2254
  value: t.value.getTo,
2250
2255
  args: t.value.args,
2251
2256
  disabled: !d.value,
2252
2257
  label: "GetTo",
2253
- onIcon: k[7] || (k[7] = (I) => b("getTo")),
2254
- onHover: R,
2255
- onChange: k[8] || (k[8] = (I) => Q("getTo", I))
2258
+ onIcon: _[7] || (_[7] = (I) => b("getTo")),
2259
+ onHover: U,
2260
+ onChange: _[8] || (_[8] = (I) => Q("getTo", I))
2256
2261
  }, null, 8, ["value", "args", "disabled"])
2257
2262
  ])
2258
2263
  ]),
2259
2264
  "tab-2": h(() => [
2260
- g(ao, N(t.value.opts, {
2265
+ g(no, N(t.value.opts, {
2261
2266
  value: t.value.value,
2262
2267
  type: t.value.type,
2263
2268
  onUpdate: Se
@@ -2266,21 +2271,21 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
2266
2271
  _: 1
2267
2272
  })
2268
2273
  ]),
2269
- l("div", bo, [
2270
- l("div", yo, [
2271
- $(_.$slots, "default", { item: t.value })
2274
+ l("div", yo, [
2275
+ l("div", xo, [
2276
+ k(x.$slots, "default", { item: t.value })
2272
2277
  ])
2273
2278
  ])
2274
2279
  ]),
2275
- l("div", xo, [
2280
+ l("div", _o, [
2276
2281
  g(O, {
2277
2282
  class: "px-4",
2278
2283
  color: "red",
2279
2284
  outline: "",
2280
- onClick: k[9] || (k[9] = (I) => v("remove"))
2285
+ onClick: _[9] || (_[9] = (I) => v("remove"))
2281
2286
  }, {
2282
- default: h(() => [...k[13] || (k[13] = [
2283
- L(w("Remove"), -1)
2287
+ default: h(() => [..._[13] || (_[13] = [
2288
+ L($("Remove"), -1)
2284
2289
  ])]),
2285
2290
  _: 1
2286
2291
  }),
@@ -2288,10 +2293,10 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
2288
2293
  class: "px-4",
2289
2294
  color: "gray",
2290
2295
  outline: "",
2291
- onClick: k[10] || (k[10] = (I) => v("cancel"))
2296
+ onClick: _[10] || (_[10] = (I) => v("cancel"))
2292
2297
  }, {
2293
- default: h(() => [...k[14] || (k[14] = [
2294
- L(w("Cancel"), -1)
2298
+ default: h(() => [..._[14] || (_[14] = [
2299
+ L($("Cancel"), -1)
2295
2300
  ])]),
2296
2301
  _: 1
2297
2302
  }),
@@ -2299,26 +2304,26 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
2299
2304
  class: "px-4",
2300
2305
  color: "blue",
2301
2306
  disabled: o.value,
2302
- onClick: k[11] || (k[11] = (I) => v(i.value ? "add" : "save"))
2307
+ onClick: _[11] || (_[11] = (I) => v(i.value ? "add" : "save"))
2303
2308
  }, {
2304
2309
  default: h(() => [
2305
- L(w(i.value ? "Add" : "Save"), 1)
2310
+ L($(i.value ? "Add" : "Save"), 1)
2306
2311
  ]),
2307
2312
  _: 1
2308
2313
  }, 8, ["disabled"])
2309
2314
  ]),
2310
- c.value ? (a(), D(de, {
2315
+ c.value ? (a(), T(de, {
2311
2316
  key: 0,
2312
2317
  size: "md",
2313
2318
  title: "Select",
2314
- onClose: k[12] || (k[12] = (I) => c.value = !1)
2319
+ onClose: _[12] || (_[12] = (I) => c.value = !1)
2315
2320
  }, {
2316
2321
  default: h(() => [
2317
- l("div", _o, [
2322
+ l("div", ko, [
2318
2323
  g(Ve, {
2319
2324
  items: e.object,
2320
2325
  onlyValue: !d.value,
2321
- onClick: x
2326
+ onClick: C
2322
2327
  }, null, 8, ["items", "onlyValue"])
2323
2328
  ])
2324
2329
  ]),
@@ -2327,17 +2332,17 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
2327
2332
  ]);
2328
2333
  };
2329
2334
  }
2330
- }), $o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2335
+ }), wo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2331
2336
  __proto__: null,
2332
2337
  CardBase: J,
2333
- CardButton: ql,
2334
- CardDate: Yl,
2335
- CardDimmer: os,
2336
- CardInfo: as,
2337
- CardInput: is,
2338
- CardList: gs,
2339
- ItemEdit: ko
2340
- }, Symbol.toStringTag, { value: "Module" })), Qo = /* @__PURE__ */ V({
2338
+ CardButton: Gl,
2339
+ CardDate: Zl,
2340
+ CardDimmer: as,
2341
+ CardInfo: ns,
2342
+ CardInput: rs,
2343
+ CardList: ps,
2344
+ ItemEdit: $o
2345
+ }, Symbol.toStringTag, { value: "Module" })), Xo = /* @__PURE__ */ V({
2341
2346
  __name: "VAutocomplete",
2342
2347
  props: {
2343
2348
  modelValue: { default: "" },
@@ -2351,12 +2356,12 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
2351
2356
  const n = s, u = (c) => n("update:modelValue", c), t = (c, i) => {
2352
2357
  c.click(new Event("click")), n("select", i);
2353
2358
  };
2354
- return (c, i) => (a(), D(te, N(c.$attrs, {
2359
+ return (c, i) => (a(), T(te, N(c.$attrs, {
2355
2360
  top: "50px",
2356
2361
  "hide-on-click": ""
2357
2362
  }), {
2358
2363
  activator: h(({ on: m }) => [
2359
- g(U, {
2364
+ g(R, {
2360
2365
  "model-value": e.modelValue,
2361
2366
  name: e.name,
2362
2367
  message: e.message,
@@ -2371,8 +2376,8 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
2371
2376
  onClick: (d) => t(m, d)
2372
2377
  }, {
2373
2378
  default: h(({ item: d }) => [
2374
- $(c.$slots, "default", { item: d }, () => [
2375
- L(w(d.name), 1)
2379
+ k(c.$slots, "default", { item: d }, () => [
2380
+ L($(d.name), 1)
2376
2381
  ])
2377
2382
  ]),
2378
2383
  _: 3
@@ -2381,7 +2386,7 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
2381
2386
  _: 3
2382
2387
  }, 16));
2383
2388
  }
2384
- }), wo = { class: "v-expansion__content max-h-0 overflow-hidden transition-all duration-300" }, Co = { class: "p-4" }, Xo = /* @__PURE__ */ V({
2389
+ }), Co = { class: "v-expansion__content max-h-0 overflow-hidden transition-all duration-300" }, zo = { class: "p-4" }, Yo = /* @__PURE__ */ V({
2385
2390
  __name: "VExpansion",
2386
2391
  props: {
2387
2392
  label: { default: "" },
@@ -2408,22 +2413,22 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
2408
2413
  class: "cursor-pointer min-h-[60px] px-4 flex items-center justify-between",
2409
2414
  onClick: t
2410
2415
  }, [
2411
- l("h4", null, w(e.label), 1),
2416
+ l("h4", null, $(e.label), 1),
2412
2417
  l("div", {
2413
2418
  class: z(["transition text-gray-400", { "rotate-180": n.value }])
2414
2419
  }, [
2415
2420
  g(m)
2416
2421
  ], 2)
2417
2422
  ]),
2418
- l("div", wo, [
2419
- l("div", Co, [
2420
- $(c.$slots, "default")
2423
+ l("div", Co, [
2424
+ l("div", zo, [
2425
+ k(c.$slots, "default")
2421
2426
  ])
2422
2427
  ])
2423
2428
  ], 512);
2424
2429
  };
2425
2430
  }
2426
- }), zo = { class: "flex items-center cursor-pointer" }, Yo = /* @__PURE__ */ V({
2431
+ }), Vo = { class: "flex items-center cursor-pointer" }, Zo = /* @__PURE__ */ V({
2427
2432
  __name: "VFile",
2428
2433
  emits: ["change"],
2429
2434
  setup(e, { emit: s }) {
@@ -2431,15 +2436,15 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
2431
2436
  const c = t.target;
2432
2437
  c.files && n("change", c.files);
2433
2438
  };
2434
- return (t, c) => (a(), f("label", zo, [
2439
+ return (t, c) => (a(), f("label", Vo, [
2435
2440
  l("input", N({
2436
2441
  type: "file",
2437
2442
  class: "hidden"
2438
2443
  }, t.$attrs, { onChange: u }), null, 16),
2439
- $(t.$slots, "default")
2444
+ k(t.$slots, "default")
2440
2445
  ]));
2441
2446
  }
2442
- }), Vo = { class: "relative flex items-end gap-0.5 w-10" }, Bo = ["title"], So = { class: "absolute -top-1 -left-1 text-xs text-gray-600 dark:text-gray-300" }, Ao = /* @__PURE__ */ V({
2447
+ }), Bo = { class: "relative flex items-end gap-0.5 w-10" }, So = ["title"], Ao = { class: "absolute -top-1 -left-1 text-xs text-gray-600 dark:text-gray-300" }, Do = /* @__PURE__ */ V({
2443
2448
  __name: "VWifiIcon",
2444
2449
  props: {
2445
2450
  rssi: { default: 0 },
@@ -2447,20 +2452,20 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
2447
2452
  },
2448
2453
  setup(e) {
2449
2454
  const s = 2 * (e.rssi + 100), n = (u) => u < s;
2450
- return (u, t) => (a(), f("div", Vo, [
2455
+ return (u, t) => (a(), f("div", Bo, [
2451
2456
  (a(), f(j, null, P([10, 15, 25, 40, 70], (c, i) => l("div", {
2452
2457
  key: c,
2453
2458
  class: z(["w-1 h-5 rounded-lg", [n(c) ? "bg-gray-900 dark:bg-gray-100" : "bg-gray-300 dark:bg-gray-700"]]),
2454
2459
  style: G(`height: ${(i + 1) * 5}px`),
2455
2460
  title: `rssi: ${e.rssi} channel: ${e.channel}`
2456
- }, null, 14, Bo)), 64)),
2457
- l("div", So, w(e.channel), 1)
2461
+ }, null, 14, So)), 64)),
2462
+ l("div", Ao, $(e.channel), 1)
2458
2463
  ]));
2459
2464
  }
2460
- }), Do = ["onDragstart", "onDragenter"], To = {
2465
+ }), To = ["onDragstart", "onDragenter"], Io = {
2461
2466
  key: 0,
2462
2467
  class: "absolute inset-0 border border-dashed border-blue-600 rounded-lg"
2463
- }, Zo = /* @__PURE__ */ V({
2468
+ }, ea = /* @__PURE__ */ V({
2464
2469
  __name: "VDragDrop",
2465
2470
  props: {
2466
2471
  items: {},
@@ -2471,24 +2476,24 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
2471
2476
  const n = s, u = H(null), t = H(0), c = H(-1), i = ({ id: p }) => ({
2472
2477
  "opacity-30 scale-105 z-10": u.value === p,
2473
2478
  "transition-transform duration-200": u.value !== p
2474
- }), m = (p, C, b) => {
2475
- u.value = C, t.value = b, p.dataTransfer.effectAllowed = "move";
2479
+ }), m = (p, w, b) => {
2480
+ u.value = w, t.value = b, p.dataTransfer.effectAllowed = "move";
2476
2481
  }, d = (p) => {
2477
2482
  u.value !== null && (c.value = p);
2478
2483
  }, r = () => {
2479
2484
  u.value = null, c.value = -1;
2480
2485
  }, o = (p) => {
2481
2486
  if (p.preventDefault(), u.value && c.value !== -1) {
2482
- const C = e.items.findIndex((v) => v[e.itemKey] === u.value), b = c.value;
2483
- if (C !== b && b !== -1) {
2484
- const v = [...e.items], [y] = v.splice(C, 1);
2485
- v.splice(b, 0, y), n("update:items", v), n("order-change", { fromIndex: C, toIndex: b, movedItem: y, newOrder: v });
2487
+ const w = e.items.findIndex((v) => v[e.itemKey] === u.value), b = c.value;
2488
+ if (w !== b && b !== -1) {
2489
+ const v = [...e.items], [y] = v.splice(w, 1);
2490
+ v.splice(b, 0, y), n("update:items", v), n("order-change", { fromIndex: w, toIndex: b, movedItem: y, newOrder: v });
2486
2491
  }
2487
2492
  }
2488
2493
  c.value = -1;
2489
2494
  };
2490
- return (p, C) => (a(), f("div", {
2491
- onDragover: C[1] || (C[1] = E(() => {
2495
+ return (p, w) => (a(), f("div", {
2496
+ onDragover: w[1] || (w[1] = E(() => {
2492
2497
  }, ["prevent"])),
2493
2498
  onDrop: o
2494
2499
  }, [
@@ -2509,26 +2514,26 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
2509
2514
  onDragstart: (y) => m(y, b.id, v),
2510
2515
  onDragenter: (y) => d(v),
2511
2516
  onDragend: r,
2512
- onDragover: C[0] || (C[0] = E(() => {
2517
+ onDragover: w[0] || (w[0] = E(() => {
2513
2518
  }, ["prevent"]))
2514
2519
  }, [
2515
- $(p.$slots, "default", {
2520
+ k(p.$slots, "default", {
2516
2521
  item: b,
2517
2522
  key: b.id,
2518
2523
  index: v,
2519
2524
  isDragging: u.value === b.id
2520
2525
  }),
2521
- c.value === v && u.value !== b.id ? (a(), f("div", To)) : B("", !0)
2522
- ], 42, Do))), 128))
2526
+ c.value === v && u.value !== b.id ? (a(), f("div", Io)) : B("", !0)
2527
+ ], 42, To))), 128))
2523
2528
  ]),
2524
2529
  _: 3
2525
2530
  })
2526
2531
  ], 32));
2527
2532
  }
2528
- }), Io = { class: "min-w-full" }, Mo = { class: "border-y border-gray-100 py-3 dark:border-gray-800" }, Lo = { class: "bg-gray-50 dark:bg-gray-800" }, jo = { class: "flex items-center" }, No = { class: "divide-y divide-gray-100 dark:divide-gray-800" }, Oo = ["onClick"], Eo = { class: "flex items-center text-gray-700 dark:text-gray-400" }, Ho = { key: 1 }, Po = {
2533
+ }), Mo = { class: "min-w-full" }, Lo = { class: "border-y border-gray-100 py-3 dark:border-gray-800" }, jo = { class: "bg-gray-50 dark:bg-gray-800" }, No = { class: "flex items-center" }, Oo = { class: "divide-y divide-gray-100 dark:divide-gray-800" }, Eo = ["onClick"], Ho = { class: "flex items-center text-gray-700 dark:text-gray-400" }, Po = { key: 1 }, Fo = {
2529
2534
  class: "py-3 whitespace-nowrap",
2530
2535
  colspan: "9"
2531
- }, Fo = { class: "flex items-center justify-center text-theme-sm text-gray-700 dark:text-gray-400 px-2" }, ea = /* @__PURE__ */ V({
2536
+ }, Uo = { class: "flex items-center justify-center text-theme-sm text-gray-700 dark:text-gray-400 px-2" }, ta = /* @__PURE__ */ V({
2532
2537
  __name: "VTable",
2533
2538
  props: {
2534
2539
  headers: { default: () => [] },
@@ -2537,20 +2542,20 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
2537
2542
  emits: ["click"],
2538
2543
  setup(e, { emit: s }) {
2539
2544
  const n = s, u = (i, m) => n("click", { item: i, event: m }), t = (i) => (i == null ? void 0 : i.className) || "", c = (i, { key: m }) => i == null ? void 0 : i[m];
2540
- return (i, m) => (a(), f("table", Io, [
2541
- l("thead", Mo, [
2542
- l("tr", Lo, [
2545
+ return (i, m) => (a(), f("table", Mo, [
2546
+ l("thead", Lo, [
2547
+ l("tr", jo, [
2543
2548
  (a(!0), f(j, null, P(e.headers, (d, r) => (a(), f("th", {
2544
2549
  key: r,
2545
2550
  class: z(["py-2 whitespace-nowrap text-gray-500 dark:text-gray-400 font-normal px-4", t(d)])
2546
2551
  }, [
2547
- $(i.$slots, "header", { item: d }, () => [
2548
- l("div", jo, w(d.name), 1)
2552
+ k(i.$slots, "header", { item: d }, () => [
2553
+ l("div", No, $(d.name), 1)
2549
2554
  ])
2550
2555
  ], 2))), 128))
2551
2556
  ])
2552
2557
  ]),
2553
- l("tbody", No, [
2558
+ l("tbody", Oo, [
2554
2559
  e.items.length ? (a(!0), f(j, { key: 0 }, P(e.items, (d, r) => (a(), f("tr", {
2555
2560
  key: r,
2556
2561
  class: "hover:bg-gray-50/50 dark:hover:bg-gray-800/50",
@@ -2560,16 +2565,16 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
2560
2565
  key: p,
2561
2566
  class: "py-2 whitespace-nowrap px-4"
2562
2567
  }, [
2563
- l("div", Eo, [
2564
- $(i.$slots, o.key, { item: d }, () => [
2565
- L(w(c(d, o)), 1)
2568
+ l("div", Ho, [
2569
+ k(i.$slots, o.key, { item: d }, () => [
2570
+ L($(c(d, o)), 1)
2566
2571
  ])
2567
2572
  ])
2568
2573
  ]))), 128))
2569
- ], 8, Oo))), 128)) : (a(), f("tr", Ho, [
2570
- l("td", Po, [
2571
- l("div", Fo, [
2572
- $(i.$slots, "empty", {}, () => [
2574
+ ], 8, Eo))), 128)) : (a(), f("tr", Po, [
2575
+ l("td", Fo, [
2576
+ l("div", Uo, [
2577
+ k(i.$slots, "empty", {}, () => [
2573
2578
  m[0] || (m[0] = L("The list is empty", -1))
2574
2579
  ])
2575
2580
  ])
@@ -2578,7 +2583,7 @@ const As = F({ name: "ri-folder6-line", render: Ss }), Ds = ["onClick"], Ts = {
2578
2583
  ])
2579
2584
  ]));
2580
2585
  }
2581
- }), ve = { ...dl, ...$o, VButton: O, VLoader: Ce, VDropdown: te, VList: le, VTextField: U, VSelect: Y, VWifiIcon: Ao, CardMain: Al, VIconLogoMini: ke, VIconLogo: ie, VDialog: de, VPopup: re }, ta = {
2586
+ }), ve = { ...dl, ...wo, VButton: O, VLoader: Ce, VDropdown: te, VList: le, VTextField: R, VSelect: Y, VWifiIcon: Do, CardMain: Al, VIconLogoMini: ke, VIconLogo: ie, VDialog: de, VPopup: re }, la = {
2582
2587
  install: (e) => {
2583
2588
  Object.keys(ve).forEach((s) => {
2584
2589
  e.component(s, ve[s]);
@@ -2592,26 +2597,26 @@ export {
2592
2597
  Ht as AppNotification,
2593
2598
  Wt as AppOverlay,
2594
2599
  cl as AppProgress,
2595
- Jo as BlockBreadcrumb,
2596
- Ko as BlockInfo,
2600
+ Qo as BlockBreadcrumb,
2601
+ Jo as BlockInfo,
2597
2602
  J as CardBase,
2598
- ql as CardButton,
2599
- Yl as CardDate,
2600
- os as CardDimmer,
2601
- as as CardInfo,
2602
- is as CardInput,
2603
- gs as CardList,
2603
+ Gl as CardButton,
2604
+ Zl as CardDate,
2605
+ as as CardDimmer,
2606
+ ns as CardInfo,
2607
+ rs as CardInput,
2608
+ ps as CardList,
2604
2609
  Al as CardMain,
2605
2610
  Nt as CardNotification,
2606
- ko as ItemEdit,
2607
- Qo as VAutocomplete,
2611
+ $o as ItemEdit,
2612
+ Xo as VAutocomplete,
2608
2613
  O as VButton,
2609
- Qs as VCheckbox,
2614
+ Xs as VCheckbox,
2610
2615
  de as VDialog,
2611
- Zo as VDragDrop,
2616
+ ea as VDragDrop,
2612
2617
  te as VDropdown,
2613
- Xo as VExpansion,
2614
- Yo as VFile,
2618
+ Yo as VExpansion,
2619
+ Zo as VFile,
2615
2620
  se as VFunc,
2616
2621
  ie as VIconLogo,
2617
2622
  ke as VIconLogoMini,
@@ -2620,14 +2625,14 @@ export {
2620
2625
  Ce as VLoader,
2621
2626
  re as VPopup,
2622
2627
  Y as VSelect,
2623
- ea as VTable,
2624
- U as VTextField,
2628
+ ta as VTable,
2629
+ R as VTextField,
2625
2630
  ze as VTextWrapper,
2626
- Ao as VWifiIcon,
2627
- ta as default,
2631
+ Do as VWifiIcon,
2632
+ la as default,
2628
2633
  Ee as getDataValue,
2629
- oa as getFunction,
2630
- aa as getParamsData,
2631
- na as getStateItem,
2632
- ia as setStateItem
2634
+ aa as getFunction,
2635
+ na as getParamsData,
2636
+ ia as getStateItem,
2637
+ ra as setStateItem
2633
2638
  };