vuesp-components 2.1.7 → 2.1.8

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,8 +1,8 @@
1
1
  import { getDataValue as dt } from "./dashboard/index.es.js";
2
2
  import { dashboardCards as ei, getFunction as ti, getParamsData as li, getStateItem as ni, setStateItem as si } from "./dashboard/index.es.js";
3
- import { openBlock as f, createElementBlock as p, createStaticVNode as ut, createElementVNode as o, defineComponent as V, resolveComponent as He, Fragment as O, createCommentVNode as T, normalizeClass as B, createVNode as b, withCtx as y, createBlock as M, renderSlot as _, markRaw as F, computed as L, resolveDynamicComponent as de, mergeProps as P, shallowRef as Me, Teleport as Ne, Transition as ie, unref as E, withModifiers as N, normalizeStyle as Z, ref as D, resolveDirective as ft, withDirectives as Ce, renderList as U, createTextVNode as I, toDisplayString as k, TransitionGroup as Pe, watch as ue, normalizeProps as R, guardReactiveProps as W, withKeys as mt, createPropsRestProxy as vt, onMounted as fe, onUnmounted as Fe, reactive as pt, useTemplateRef as Ue, vShow as ht, vModelText as gt, createSlots as bt } from "vue";
4
- import { u as Re, a as yt, b as We, c as Ke, d as ze, e as xt, o as _t } from "./useSwipeDown-BctVX4c1.js";
5
- import { dateUtcToString as kt, timeUtcToString as $t, findMenuItem as wt, toByte as pe, secToTime as Ct, clone as zt } from "./helpers/index.es.js";
3
+ import { openBlock as f, createElementBlock as p, createStaticVNode as ut, createElementVNode as o, defineComponent as V, resolveComponent as He, Fragment as O, createCommentVNode as E, normalizeClass as B, createVNode as b, withCtx as y, createBlock as M, renderSlot as $, markRaw as F, computed as L, resolveDynamicComponent as de, mergeProps as P, shallowRef as Me, Teleport as Ne, Transition as ae, unref as T, withModifiers as N, normalizeStyle as Z, ref as D, resolveDirective as ft, withDirectives as Ce, renderList as U, createTextVNode as I, toDisplayString as k, TransitionGroup as Pe, watch as ue, normalizeProps as R, guardReactiveProps as W, withKeys as mt, createPropsRestProxy as vt, onMounted as fe, onUnmounted as Fe, reactive as pt, useTemplateRef as Ue, vShow as ht, vModelText as gt, createSlots as bt } from "vue";
4
+ import { u as Re, a as yt, b as We, c as Ke, d as ze, e as xt, o as $t } from "./useSwipeDown-BctVX4c1.js";
5
+ import { f as kt, t as _t, g as wt, u as pe, s as Ct, d as zt } from "./app-CG8zhRFf.js";
6
6
  const St = {
7
7
  mounted(e, l) {
8
8
  e.clickOutsideEvent = function(n) {
@@ -17,16 +17,16 @@ const St = {
17
17
  for (const [s, t] of l)
18
18
  n[s] = t;
19
19
  return n;
20
- }, Bt = {}, Tt = {
20
+ }, Bt = {}, Et = {
21
21
  viewBox: "0 0 179 40",
22
22
  fill: "currentColor"
23
23
  };
24
- function Et(e, l) {
25
- return f(), p("svg", Tt, [...l[0] || (l[0] = [
24
+ function Tt(e, l) {
25
+ return f(), p("svg", Et, [...l[0] || (l[0] = [
26
26
  ut('<g transform="matrix(0.13287749,0,0,0.13643171,26.823508,13.407673)"><path d="m -19.25933,-16.057909 c 0,39.1906 -14.287,86.055995 -38.669,116.999999 -7.898,10.024 -30.4718,32.819 -43.7731,17.695 -9.4823,-10.781 -3.53183,-36.917714 -0.86893,-48.907714 9.1618,-41.251693 19.72123,-78.8733849 30.31103,-119.787285 -27.50968,14.537655 -68.26323,-24.154322 -70.36602,-2.214449 -12.32038,69.23655 -28.82323,204.245118 16.36602,215.925448 81.802,10.63 120.333,-82.698004 129.4249996,-148.710999 2.182,-15.84009991 4.123,-31.9832 2.401,-48 -2.342,-21.78506 -24.7959996,-32.68227 -43.7859996,-21.58643 -11.424,6.67523 -12.148,29.93713 -1.935,38.01393 5.462,4.3199 14.927,3.091 20.895,0.5725 z"></path><path d="m 104.76548,-63.374174 0.008,91.15236 -26.35225,25.003926 26.35676,25.415735 4.8e-4,91.161403 4.03033,0.0237 c 0,0 0.0729,-90.913243 -0.0476,-91.163063 l 26.24012,-24.776315 -26.23835,-25.66073 0.007,-91.147024 z"></path><path d="m 803.85444,82.816565 c -5.5092,-1.69169 -15.7197,-2.12913 -19.9329,1.03114 -5.56,4.548 -0.63,22.670005 -0.76,28.973005 0.3943,19.76599 20.7146,30.35978 36.02,33 0,0 45.06,4.77 68,-5.439 35.89996,-15.975 40.75996,-63.180005 13.91,-89.457 -15.2385,-18.333755 -72.7584,-32.66908 -78.91,-50.10399958 -6.54,-7.52040002 -2.52,-22.38120042 5.1,-27.89120042 10.47,-7.5605 25.91,-7.3647 37.9,-5.017 13.11,2.5659 14.15,13.6285 18,24.9082004 1.48,4.3522 2.88,12.3564 8.1,13.6674 2.25,0.5623 4.67,-0.1094 6.9,-0.3827 16.42996,-2.011 11.28456,-11.418391 12.09456,-24.2037914 0.38,-6.0219 2.2254,-16.238609 -1.1246,-21.752209 -5.98996,-9.87979 -17.48276,-9.960049 -30.96996,-15.3287 -11.9944,-2.919504 -32.57,-5.50288 -50,-1.25772 -13.92,3.39017 -28.5,10.49772 -37.24,22.25772 -16.31,21.9622 -9.6,57.1861 10.26,74.6998 22.17,19.5582 58.4,21.7732 76.41,46.304195 16.9,23.013005 -18.71,37.732005 -37.1,36.158005 -39.9169,-0.34531 -23.6297,-30.723925 -36.6571,-40.166145 z"></path><path d="m 321.18154,-32.17929 21,9 -46,120.999995 c -13.02939,-49.349215 -25.65589,-93.5184936 -37,-121.999995 5.741,-1.2008 17.946,-4.1139 20.397,-10.1049 2.328,-5.6934 -1.142,-13.0456 -1.397,-18.8951 -9.12189,0.745226 -79.43846,-2.275099 -82.411,2.3179 -1.02172,5.2378 -3.84926,12.95938 -1.985,17.2878 4.036,8.5605 18.82154,3.517306 23.75154,13.866906 25.90475,54.255645 38.51776,106.713979 60.87446,156.527394 37.33703,54.02331 63.06896,-92.52485 72.275,-119 4.089,-11.8192996 7.212,-30.0265 15.194,-39.7724 15.1599,-17.433642 28.97616,-5.381825 21.868,-28.07945 -5.23694,-5.944366 -63.1086,-2.739072 -64.389,-1.54476 -3.452,4.31661 -7.5289,7.804293 -2.178,19.39661 z"></path><path d="m 401.18154,-53.17929 c -0.998,4.83681 -4.908,16.1206 -1.357,20.3511 4.914,5.8555 20.341,3.7676 21.463,12.689 3.596,28.5694004 -0.4,58.2962 0.855,86.9599 0.882,20.149995 3.491,41.865 17.134,57.961 36.351,42.885 114.137,25.661 128.322,-27.961005 9.142,-34.561995 3.01191,-80.803507 3.08491,-116.292007 0.033,-15.7886 15.53509,-3.553988 22.46909,-13.356888 3.337,-4.7169 -1.212,-15.187 -1.971,-20.3511 -20.45735,-0.261837 -40.85188,-0.262234 -61.258,1.02779 l -3.742,11.97221 c 0.84877,13.898543 11.37685,10.038234 23.90801,11.758642 0.32053,9.189207 0.091,48.923358 0.092,71.241358 10e-4,19.4 0.471,40.338995 -8.89,58 -15.56,29.358 -61.659,29.409 -74.878,-2.000005 -10.636,-25.273 -6.147,-56.234995 -6.233,-82.999995 -0.035,-10.9870996 -2.501,-25.3419996 0.319,-35.9568 2.549,-9.5978 16.626,-6.4297 22.064,-12.6921 3.287,-3.7858 -0.52,-15.71299 -1.382,-20.3511 z"></path><path d="m 760.05964,143.05268 c -5.1123,-31.58627 4.9497,-52.437285 -1.4781,-59.628975 -3.17,-3.163 -17.48,-3.877 -20.39,-0.285 -7.636,9.412 -6.012,27.571005 -14.737,36.079005 -3.136,3.058 -10.272,1.461 -14.273,1.689 -13.102,0.746 -25.895,-0.086 -39,-0.086 l -1,-68 c 7.223,0.913 21.685,-1.996 27.722,1.269 6.665,3.604 3.577,17.035995 10.556,20.532995 5.15472,-0.0642 13.05488,0.47604 17.494,-1.405 5.21328,-7.758815 3.74312,-60.612259 -0.015,-62.640795 -5.5141,-0.237113 -13.29293,-2.8563906 -17.543,-1.1527996 -6.595,2.8734996 -5.002,15.2292996 -10.608,19.7931996 -5.233,4.2609 -21.417,2.0768 -27.606,0.6034 l 0.018,-19.9999996 0.982,-42.0000004 h 36 c 4.195,0 11.017,-1.271 14.725,1.0278 9.479,5.8759 5.235,25.2669004 13.705,30.94060042 4.66,3.12049998 14.21,-2.03520002 19.57,-1.96840002 -1.7258,-10.0332024 5.1749,-44.7657364 -0.6,-49.9722104 -8.573,-0.17431 -123.95249,0.09746 -142.26,0.5756 -2.813,3.26479 -4.226,15.59871 -1.533,19.00621 4.834,6.1168 16.163,4.3646 20.481,9.9544 4.51586,28.5714044 7.89004,96.377815 0.594,132.328 -2.185,7.787 -16.181,5.969 -20.654,11.832 -1.59611,5.22999 -0.7409,13.33851 1.536,18.048 5.16025,7.51372 110.02916,3.17366 148.3141,3.45997 z"></path><path d="m 964.1815,-23.17929 c 0,43.4127 3.83,88.767 -0.06,131.985 -0.8,8.923 -14.88,7.544 -20.62,12.09 -4.2,3.326 -1.95,14.442 -0.17,18.777 15.7137,4.67091 86.3037,9.27518 89.39,-4.852 0.57,-3.057 2.36,-9.582 0.42,-12.297 -5.77,-8.041 -28.93,-2.391 -30.81,-13.747 -0.063,-55.41713 -0.3488,-55.25935 -0.15,-140.956 16.19,0 34.24,-2.9842 46.98,9.0934 18.26,17.2977004 11.94,53.4098 -8.98,65.6236 -7.67,4.477 -18.44,3.283 -27,3.283 v 23 c 23.19,0 50.85,-0.216 69,-17.093 28.42,-26.4403 19.73,-83.9314 -16,-99.7334 -4.6952,-8.320027 -96.8662,-17.196078 -120.68,-4.43208 -2.7,1.3721 -3.6701,5.98455 -3.17,8.34798 -3.3313,17.201533 8.54,18.6194 21.85,20.9105 z"></path></g>', 1)
27
27
  ])]);
28
28
  }
29
- const Se = /* @__PURE__ */ ge(Bt, [["render", Et]]), Lt = {}, Mt = {
29
+ const Se = /* @__PURE__ */ ge(Bt, [["render", Tt]]), Lt = {}, Mt = {
30
30
  width: "40",
31
31
  height: "40",
32
32
  viewBox: "0 0 40 40",
@@ -56,7 +56,7 @@ const qe = /* @__PURE__ */ ge(Lt, [["render", At]]), Dt = { class: "no-scrollbar
56
56
  key: 0,
57
57
  class: "lg:hidden overlay fixed left-0 top-0 h-full w-full bg-black/40 z-10 bg-blur",
58
58
  onClick: s
59
- })) : T("", !0),
59
+ })) : E("", !0),
60
60
  o("aside", {
61
61
  class: B([e.isSidebar ? "translate-x-0 lg:w-[90px]" : "-translate-x-full", "overflow-x-hidden fixed top-0 left-0 z-10 flex lg:static h-full w-[290px] flex-col overflow-y-auto border-r border-gray-200 px-5 transition-all duration-350 lg:translate-x-0 dark:border-gray-800 bg-white dark:bg-gray-900"])
62
62
  }, [
@@ -77,7 +77,7 @@ const qe = /* @__PURE__ */ ge(Lt, [["render", At]]), Dt = { class: "no-scrollbar
77
77
  })
78
78
  ], 2),
79
79
  o("div", Dt, [
80
- _(t.$slots, "default")
80
+ $(t.$slots, "default")
81
81
  ])
82
82
  ], 2)
83
83
  ], 64);
@@ -202,10 +202,10 @@ const Ve = /* @__PURE__ */ ge(Qt, [["render", el]]), tl = "relative flex justify
202
202
  }, m = {
203
203
  button: { sm: "h-8", md: "h-10", lg: "h-12", xl: "h-14" },
204
204
  icon: { sm: "size-8", md: "size-10", lg: "size-12", xl: "size-14" }
205
- }, v = L(() => [tl, $(e.color), x(e.type), h(e.type, e.size)]), g = L(() => e.href || e.to ? "router-link" : "button"), h = (C, z) => {
205
+ }, v = L(() => [tl, _(e.color), x(e.type), h(e.type, e.size)]), g = L(() => e.href || e.to ? "router-link" : "button"), h = (C, z) => {
206
206
  var j;
207
207
  return ((j = m[C]) == null ? void 0 : j[z]) || "";
208
- }, x = (C) => (c == null ? void 0 : c[C]) || "", $ = (C) => i == null ? void 0 : i[C];
208
+ }, x = (C) => (c == null ? void 0 : c[C]) || "", _ = (C) => i == null ? void 0 : i[C];
209
209
  return (C, z) => (f(), M(de(g.value), P(C.$attrs, {
210
210
  href: e.href,
211
211
  to: e.to,
@@ -216,12 +216,12 @@ const Ve = /* @__PURE__ */ ge(Qt, [["render", el]]), tl = "relative flex justify
216
216
  o("span", {
217
217
  class: B(e.loading ? "opacity-0" : "")
218
218
  }, [
219
- _(C.$slots, "default")
219
+ $(C.$slots, "default")
220
220
  ], 2),
221
221
  e.loading ? (f(), M(Ve, {
222
222
  key: 0,
223
223
  class: "absolute left-1/2 -translate-x-1/2"
224
- })) : T("", !0)
224
+ })) : E("", !0)
225
225
  ]),
226
226
  _: 3
227
227
  }, 16, ["href", "to", "class"]));
@@ -247,10 +247,10 @@ const le = F({ name: "ri-close-line", render: nl }), sl = { class: "flex items-c
247
247
  },
248
248
  emits: ["close", "click", "open"],
249
249
  setup(e, { emit: l }) {
250
- const n = l, { show: s, overlay: t, onClose: a, onOpen: r } = Re(n), d = Me(null), u = Me(null), { opacity: i, transform: c } = yt(d, u, a), g = { click: ($) => {
251
- n("click", $);
252
- }, open: r, set: ($) => {
253
- $ ? r() : a(new Event("hide"));
250
+ const n = l, { show: s, overlay: t, onClose: a, onOpen: r } = Re(n), d = Me(null), u = Me(null), { opacity: i, transform: c } = yt(d, u, a), g = { click: (_) => {
251
+ n("click", _);
252
+ }, open: r, set: (_) => {
253
+ _ ? r() : a(new Event("hide"));
254
254
  } }, h = L(() => ({
255
255
  auto: "max-h-[calc(100dvh-50px)]",
256
256
  full: "h-[calc(100dvh-24px)] md:h-[calc(100dvh-100px)]",
@@ -260,10 +260,10 @@ const le = F({ name: "ri-close-line", render: nl }), sl = { class: "flex items-c
260
260
  full: "h-[calc(100dvh-24px-16px)] md:h-[calc(100dvh-100px-16px)]",
261
261
  screen: "h-[calc(100dvh-16px)]"
262
262
  }));
263
- return ($, C) => {
263
+ return (_, C) => {
264
264
  const z = le, j = A;
265
265
  return f(), M(Ne, { to: "body" }, [
266
- b(ie, {
266
+ b(ae, {
267
267
  "enter-active-class": "duration-300 ease-out",
268
268
  "enter-from-class": "transform opacity-0 translate-y-full xl:-translate-y-2",
269
269
  "enter-to-class": "opacity-100 translate-y-0",
@@ -272,26 +272,26 @@ const le = F({ name: "ri-close-line", render: nl }), sl = { class: "flex items-c
272
272
  "leave-to-class": "transform opacity-0 translate-y-full xl:-translate-y-2"
273
273
  }, {
274
274
  default: y(() => [
275
- E(s) ? (f(), p("div", {
275
+ T(s) ? (f(), p("div", {
276
276
  key: 0,
277
277
  ref_key: "container",
278
278
  ref: u,
279
279
  class: "fixed bottom-0 left-0 w-full z-15"
280
280
  }, [
281
- E(t) ? (f(), p("div", {
281
+ T(t) ? (f(), p("div", {
282
282
  key: 0,
283
283
  class: "fixed h-full w-full top-0 left-0 bg-black/40 bg-blur xl:hidden animate-opacity overscroll-contain",
284
- style: Z({ opacity: E(i) }),
284
+ style: Z({ opacity: T(i) }),
285
285
  onClick: C[0] || (C[0] = //@ts-ignore
286
- (...X) => E(a) && E(a)(...X)),
286
+ (...X) => T(a) && T(a)(...X)),
287
287
  onWheel: C[1] || (C[1] = N(() => {
288
288
  }, ["prevent"])),
289
289
  onTouchmove: C[2] || (C[2] = N(() => {
290
290
  }, ["prevent"]))
291
- }, null, 36)) : T("", !0),
291
+ }, null, 36)) : E("", !0),
292
292
  o("div", {
293
293
  class: B(["bg-white dark:bg-gray-900 w-full shadow-nav relative", h.value[e.size]]),
294
- style: Z({ transform: E(c) })
294
+ style: Z({ transform: T(c) })
295
295
  }, [
296
296
  o("div", {
297
297
  ref_key: "target",
@@ -305,14 +305,14 @@ const le = F({ name: "ri-close-line", render: nl }), sl = { class: "flex items-c
305
305
  o("div", { class: "self-end h-1 w-12 bg-gray-400" }, null, -1)
306
306
  ])], 544),
307
307
  o("div", sl, [
308
- _($.$slots, "button", { close: E(a) }),
308
+ $(_.$slots, "button", { close: T(a) }),
309
309
  b(j, {
310
310
  class: "size-5 md:size-6",
311
311
  color: "transparent",
312
312
  size: "none",
313
313
  icon: "",
314
314
  "aria-label": "Close",
315
- onClick: E(a)
315
+ onClick: T(a)
316
316
  }, {
317
317
  default: y(() => [
318
318
  b(z, { class: "size-5" })
@@ -323,13 +323,13 @@ const le = F({ name: "ri-close-line", render: nl }), sl = { class: "flex items-c
323
323
  o("div", {
324
324
  class: B(["overflow-y-auto max-h-[calc(100dvh-24px-16px)] overscroll-contain scrollbar", x.value[e.size]])
325
325
  }, [
326
- _($.$slots, "default", {
327
- close: E(a),
326
+ $(_.$slots, "default", {
327
+ close: T(a),
328
328
  on: g
329
329
  })
330
330
  ], 2)
331
331
  ], 6)
332
- ], 512)) : T("", !0)
332
+ ], 512)) : E("", !0)
333
333
  ]),
334
334
  _: 3
335
335
  })
@@ -365,15 +365,15 @@ const le = F({ name: "ri-close-line", render: nl }), sl = { class: "flex items-c
365
365
  c(new Event("hide"));
366
366
  }, g = { click: u, open: i, set: m };
367
367
  return (h, x) => {
368
- const $ = ft("outside");
368
+ const _ = ft("outside");
369
369
  return Ce((f(), p("div", ol, [
370
370
  o("div", al, [
371
- _(h.$slots, "activator", {
371
+ $(h.$slots, "activator", {
372
372
  on: g,
373
373
  isShow: a.value
374
374
  })
375
375
  ]),
376
- E(t) ? (f(), M(ie, {
376
+ T(t) ? (f(), M(ae, {
377
377
  key: 0,
378
378
  "enter-active-class": "duration-300 ease-out",
379
379
  "enter-from-class": "transform opacity-0 -translate-y-2",
@@ -388,23 +388,23 @@ const le = F({ name: "ri-close-line", render: nl }), sl = { class: "flex items-c
388
388
  class: "z-30 min-w-full absolute",
389
389
  style: Z(r.value)
390
390
  }, [
391
- _(h.$slots, "default", {
391
+ $(h.$slots, "default", {
392
392
  on: g,
393
393
  show: i,
394
394
  hide: c,
395
395
  isShow: a.value
396
396
  })
397
- ], 4)) : T("", !0)
397
+ ], 4)) : E("", !0)
398
398
  ]),
399
399
  _: 3
400
- })) : T("", !0),
401
- !E(t) && a.value ? (f(), M(Xe, {
400
+ })) : E("", !0),
401
+ !T(t) && a.value ? (f(), M(Xe, {
402
402
  key: 1,
403
403
  title: e.title,
404
404
  onClose: v
405
405
  }, {
406
406
  default: y(({ on: C }) => [
407
- _(h.$slots, "default", {
407
+ $(h.$slots, "default", {
408
408
  on: C,
409
409
  show: i,
410
410
  hide: c,
@@ -412,9 +412,9 @@ const le = F({ name: "ri-close-line", render: nl }), sl = { class: "flex items-c
412
412
  })
413
413
  ]),
414
414
  _: 3
415
- }, 8, ["title"])) : T("", !0)
415
+ }, 8, ["title"])) : E("", !0)
416
416
  ])), [
417
- [$, d]
417
+ [_, d]
418
418
  ]);
419
419
  };
420
420
  }
@@ -432,7 +432,7 @@ const le = F({ name: "ri-close-line", render: nl }), sl = { class: "flex items-c
432
432
  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",
433
433
  onClick: (d) => s(r, d)
434
434
  }, [
435
- _(t.$slots, "default", { item: r }, () => [
435
+ $(t.$slots, "default", { item: r }, () => [
436
436
  I(k(r.name), 1)
437
437
  ])
438
438
  ], 8, rl))), 128))
@@ -456,7 +456,7 @@ const le = F({ name: "ri-close-line", render: nl }), sl = { class: "flex items-c
456
456
  c == 1 && u(), c == 2 && r(m), c == 3 && d();
457
457
  };
458
458
  return (c, m) => {
459
- const v = Yt, g = He("router-link"), h = Gt, x = Wt, $ = Je, C = Nt, z = Ge;
459
+ const v = Yt, g = He("router-link"), h = Gt, x = Wt, _ = Je, C = Nt, z = Ge;
460
460
  return f(), p("header", cl, [
461
461
  o("div", dl, [
462
462
  o("div", ul, [
@@ -500,7 +500,7 @@ const le = F({ name: "ri-close-line", render: nl }), sl = { class: "flex items-c
500
500
  }, [...m[0] || (m[0] = [
501
501
  o("span", { class: "absolute -z-1 inline-flex h-full w-full animate-ping rounded-full bg-orange-400 opacity-75" }, null, -1)
502
502
  ])], 2),
503
- b($, { class: "size-5" })
503
+ b(_, { class: "size-5" })
504
504
  ]),
505
505
  _: 1
506
506
  }),
@@ -588,7 +588,7 @@ const le = F({ name: "ri-close-line", render: nl }), sl = { class: "flex items-c
588
588
  }),
589
589
  o("div", gl, [
590
590
  o("div", null, k(n.text), 1),
591
- o("div", bl, k(E(kt)(n.date)) + " (" + k(E($t)(n.date)) + ")", 1)
591
+ o("div", bl, k(T(kt)(n.date)) + " (" + k(T(_t)(n.date)) + ")", 1)
592
592
  ]),
593
593
  b(A, {
594
594
  class: "shrink-0",
@@ -604,7 +604,7 @@ const le = F({ name: "ri-close-line", render: nl }), sl = { class: "flex items-c
604
604
  ]);
605
605
  };
606
606
  }
607
- }), xl = { class: "no-scrollbar flex flex-col overflow-y-auto duration-300 ease-linear h-full" }, _l = {
607
+ }), xl = { class: "no-scrollbar flex flex-col overflow-y-auto duration-300 ease-linear h-full" }, $l = {
608
608
  key: 0,
609
609
  class: "flex flex-col gap-2 p-2"
610
610
  }, Sa = /* @__PURE__ */ V({
@@ -621,13 +621,13 @@ const le = F({ name: "ri-close-line", render: nl }), sl = { class: "flex items-c
621
621
  key: 0,
622
622
  class: "overlay fixed left-0 top-0 h-full w-full bg-black/40 bg-blur",
623
623
  onClick: r
624
- })) : T("", !0),
624
+ })) : E("", !0),
625
625
  o("aside", {
626
626
  class: B([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"])
627
627
  }, [
628
628
  o("div", xl, [
629
- _(i.$slots, "header", { isNew: t.value }),
630
- a.value ? (f(), p("div", _l, [
629
+ $(i.$slots, "header", { isNew: t.value }),
630
+ a.value ? (f(), p("div", $l, [
631
631
  b(Pe, {
632
632
  "enter-active-class": "transition-all duration-300 ",
633
633
  "enter-from-class": "opacity-0 translate-x-1/2",
@@ -641,7 +641,7 @@ const le = F({ name: "ri-close-line", render: nl }), sl = { class: "flex items-c
641
641
  key: m.date,
642
642
  class: "relative"
643
643
  }, [
644
- _(i.$slots, "card", { item: m }, () => [
644
+ $(i.$slots, "card", { item: m }, () => [
645
645
  b(yl, P({ ref_for: !0 }, m, {
646
646
  class: "bg-gray-200/50 dark:bg-gray-800/50 rounded-md",
647
647
  onRemove: (v) => d(m),
@@ -652,17 +652,17 @@ const le = F({ name: "ri-close-line", render: nl }), sl = { class: "flex items-c
652
652
  ]),
653
653
  _: 3
654
654
  })
655
- ])) : _(i.$slots, "empty", {}, void 0, void 0, 1)
655
+ ])) : $(i.$slots, "empty", {}, void 0, void 0, 1)
656
656
  ])
657
657
  ], 2)
658
658
  ], 64));
659
659
  }
660
- }), kl = {}, $l = { class: "fixed h-full w-full top-0 left-0 z-20" }, wl = { class: "absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2" };
660
+ }), kl = {}, _l = { class: "fixed h-full w-full top-0 left-0 z-20" }, wl = { class: "absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2" };
661
661
  function Cl(e, l) {
662
- return f(), p("div", $l, [
662
+ return f(), p("div", _l, [
663
663
  l[0] || (l[0] = o("div", { class: "absolute h-full w-full top-0 left-0 bg-black/60 bg-blur" }, null, -1)),
664
664
  o("div", wl, [
665
- _(e.$slots, "default")
665
+ $(e.$slots, "default")
666
666
  ])
667
667
  ]);
668
668
  }
@@ -679,7 +679,7 @@ function Sl(e, l) {
679
679
  }, null, -1)
680
680
  ])]);
681
681
  }
682
- const Vl = F({ name: "ri-arrow-right-s-line", render: Sl }), Bl = { class: "mb-4 flex flex-col gap-2" }, Tl = { class: "size-6 flex-[0_0_24px] opacity-60" }, El = ["onClick"], Ll = { class: "flex flex-col gap-2" }, Ml = { class: "flex gap-2 ms-8" }, Al = { class: "size-5 flex-[0_0_24px]" }, Dl = { class: "flex-1 first-letter:uppercase text-sm" }, Ba = /* @__PURE__ */ V({
682
+ const Vl = F({ name: "ri-arrow-right-s-line", render: Sl }), Bl = { class: "mb-4 flex flex-col gap-2" }, El = { class: "size-6 flex-[0_0_24px] opacity-60" }, Tl = ["onClick"], Ll = { class: "flex flex-col gap-2" }, Ml = { class: "flex gap-2 ms-8" }, Al = { class: "size-5 flex-[0_0_24px]" }, Dl = { class: "flex-1 first-letter:uppercase text-sm" }, Ba = /* @__PURE__ */ V({
683
683
  __name: "AppNav",
684
684
  props: {
685
685
  menu: { default: () => [] },
@@ -710,8 +710,8 @@ const Vl = F({ name: "ri-arrow-right-s-line", render: Sl }), Bl = { class: "mb-4
710
710
  onClick: N((c) => t(i), ["prevent", "stop"])
711
711
  }, {
712
712
  default: y(() => [
713
- o("div", Tl, [
714
- _(r.$slots, "icon", { item: i })
713
+ o("div", El, [
714
+ $(r.$slots, "icon", { item: i })
715
715
  ]),
716
716
  o("span", {
717
717
  class: B(["flex-1 first-letter:uppercase text-sm", e.isSidebar ? "lg:hidden" : ""])
@@ -720,8 +720,8 @@ const Vl = F({ name: "ri-arrow-right-s-line", render: Sl }), Bl = { class: "mb-4
720
720
  class: B(["cursor-pointer", [e.isSidebar ? "lg:hidden" : ""]]),
721
721
  onClick: N((c) => t(i), ["prevent", "stop"])
722
722
  }, [
723
- i.children ? (f(), M(u, { key: 0 })) : T("", !0)
724
- ], 10, El)
723
+ i.children ? (f(), M(u, { key: 0 })) : E("", !0)
724
+ ], 10, Tl)
725
725
  ]),
726
726
  _: 2
727
727
  }, 1032, ["to", "class", "onClick"])),
@@ -738,7 +738,7 @@ const Vl = F({ name: "ri-arrow-right-s-line", render: Sl }), Bl = { class: "mb-4
738
738
  default: y(() => [
739
739
  o("div", Ml, [
740
740
  o("div", Al, [
741
- _(r.$slots, "icon-children", {
741
+ $(r.$slots, "icon-children", {
742
742
  item: { name: c, path: m, icon: v }
743
743
  })
744
744
  ]),
@@ -749,7 +749,7 @@ const Vl = F({ name: "ri-arrow-right-s-line", render: Sl }), Bl = { class: "mb-4
749
749
  }, 1032, ["to", "class"]))
750
750
  ]))), 128))
751
751
  ])
752
- ], 2)) : T("", !0)
752
+ ], 2)) : E("", !0)
753
753
  ]))), 128))
754
754
  ])
755
755
  ]);
@@ -765,7 +765,7 @@ const Vl = F({ name: "ri-arrow-right-s-line", render: Sl }), Bl = { class: "mb-4
765
765
  }, Hl = {
766
766
  key: 1,
767
767
  class: "relative block h-4 w-full rounded overflow-hidden bg-gray-200 dark:bg-gray-900/50 select-none mt-2"
768
- }, Nl = { class: "absolute left-[140px] top-1/2 -translate-1/2 text-sm font-bold text-black dark:text-white text-center leading-none" }, Pl = { class: "absolute left-[140px] top-1/2 -translate-1/2 text-sm font-bold text-white text-center leading-none" }, Ta = /* @__PURE__ */ V({
768
+ }, Nl = { class: "absolute left-[140px] top-1/2 -translate-1/2 text-sm font-bold text-black dark:text-white text-center leading-none" }, Pl = { class: "absolute left-[140px] top-1/2 -translate-1/2 text-sm font-bold text-white text-center leading-none" }, Ea = /* @__PURE__ */ V({
769
769
  __name: "AppProgress",
770
770
  props: {
771
771
  timeout: { default: 5e3 },
@@ -786,7 +786,7 @@ const Vl = F({ name: "ri-arrow-right-s-line", render: Sl }), Bl = { class: "mb-4
786
786
  }
787
787
  ), (r, d) => {
788
788
  const u = le;
789
- return f(), M(ie, {
789
+ return f(), M(ae, {
790
790
  "enter-active-class": "duration-300 ease-out",
791
791
  "enter-from-class": "transform opacity-0 translate-x-full",
792
792
  "enter-to-class": "opacity-100 translate-x-0",
@@ -797,9 +797,9 @@ const Vl = F({ name: "ri-arrow-right-s-line", render: Sl }), Bl = { class: "mb-4
797
797
  default: y(() => [
798
798
  l.value ? (f(), p("div", Il, [
799
799
  o("div", Ol, [
800
- _(r.$slots, "default", { isDone: s.value }, () => [
800
+ $(r.$slots, "default", { isDone: s.value }, () => [
801
801
  d[1] || (d[1] = o("div", { class: "flex-auto" }, "Progress...", -1)),
802
- s.value ? (f(), p("span", jl, "Done")) : T("", !0)
802
+ s.value ? (f(), p("span", jl, "Done")) : E("", !0)
803
803
  ]),
804
804
  o("button", {
805
805
  class: "cursor-pointer transition text-gray-700 dark:text-gray-400 self-start hover:text-gray-600",
@@ -812,7 +812,7 @@ const Vl = F({ name: "ri-arrow-right-s-line", render: Sl }), Bl = { class: "mb-4
812
812
  key: 0,
813
813
  class: "h-[2px] fixed top-0 left-0 w-full bg-blue-600 transition-all duration-500",
814
814
  style: Z(`width: ${t.value}%`)
815
- }, null, 4)) : T("", !0),
815
+ }, null, 4)) : E("", !0),
816
816
  n.value ? (f(), p("div", Hl, [
817
817
  o("div", Nl, k(t.value) + "%", 1),
818
818
  o("div", {
@@ -821,14 +821,14 @@ const Vl = F({ name: "ri-arrow-right-s-line", render: Sl }), Bl = { class: "mb-4
821
821
  }, [
822
822
  o("div", Pl, k(t.value) + "%", 1)
823
823
  ], 4)
824
- ])) : T("", !0)
825
- ])) : T("", !0)
824
+ ])) : E("", !0)
825
+ ])) : E("", !0)
826
826
  ]),
827
827
  _: 3
828
828
  });
829
829
  };
830
830
  }
831
- }), Fl = { class: "my-4 text-gray-700 dark:text-gray-400" }, Ul = { class: "flex flex-col md:flex-row flex-wrap md:gap-4 text-sm" }, Rl = { class: "flex gap-2" }, Wl = { class: "text-gray-700 dark:text-gray-400" }, Kl = { class: "flex gap-2" }, ql = { class: "flex gap-2" }, Gl = { class: "text-gray-700 dark:text-gray-400" }, Jl = { class: "flex gap-2" }, Xl = { class: "text-gray-700 dark:text-gray-400" }, Yl = { class: "flex flex-col gap-4 text-sm" }, Ql = { class: "flex gap-4" }, Ea = /* @__PURE__ */ V({
831
+ }), Fl = { class: "my-4 text-gray-700 dark:text-gray-400" }, Ul = { class: "flex flex-col md:flex-row flex-wrap md:gap-4 text-sm" }, Rl = { class: "flex gap-2" }, Wl = { class: "text-gray-700 dark:text-gray-400" }, Kl = { class: "flex gap-2" }, ql = { class: "flex gap-2" }, Gl = { class: "text-gray-700 dark:text-gray-400" }, Jl = { class: "flex gap-2" }, Xl = { class: "text-gray-700 dark:text-gray-400" }, Yl = { class: "flex flex-col gap-4 text-sm" }, Ql = { class: "flex gap-4" }, Ta = /* @__PURE__ */ V({
832
832
  __name: "BlockInfo",
833
833
  props: {
834
834
  pkg: {},
@@ -871,7 +871,7 @@ const Vl = F({ name: "ri-arrow-right-s-line", render: Sl }), Bl = { class: "mb-4
871
871
  t[4] || (t[4] = o("hr", { class: "dark:text-gray-700 text-gray-200 my-2" }, null, -1)),
872
872
  o("div", Yl, [
873
873
  o("div", Ql, [
874
- _(s.$slots, "links", { links: n.value })
874
+ $(s.$slots, "links", { links: n.value })
875
875
  ])
876
876
  ])
877
877
  ]);
@@ -929,7 +929,7 @@ const Vl = F({ name: "ri-arrow-right-s-line", render: Sl }), Bl = { class: "mb-4
929
929
  ]),
930
930
  _: 1
931
931
  }, 8, ["items"]),
932
- e.items.length ? T("", !0) : (f(), p("div", an, [
932
+ e.items.length ? E("", !0) : (f(), p("div", an, [
933
933
  b(c, { class: "text-primary" })
934
934
  ])),
935
935
  o("div", rn, [
@@ -984,21 +984,21 @@ const un = F({ name: "ri-arrow-up-s-line", render: dn }), fn = { class: "w-full
984
984
  e.component === "input" ? "h-[40px]" : "min-h-[40px]",
985
985
  e.message ? "border-red-500 hover:border-red-400" : "",
986
986
  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"
987
- ]), r = L(() => s[e.component]), d = ($) => $ || $ === 0, u = L(() => [pn, t.value || d(e.modelValue) || e.active ? "top-0 left-3 text-xs" : "top-1/2"]), i = L(() => e.component === "input"), c = ($) => {
988
- t.value = !1, n("blur", $);
989
- }, m = ($) => {
990
- t.value = !0, n("focus", $);
991
- }, v = ({ target: $ }) => n("update:modelValue", $.value), g = ($) => n("enter", $), h = ($) => n("click", $), x = ($) => {
992
- e.disabled || n("on-icon", $);
987
+ ]), r = L(() => s[e.component]), d = (_) => _ || _ === 0, u = L(() => [pn, t.value || d(e.modelValue) || e.active ? "top-0 left-3 text-xs" : "top-1/2"]), i = L(() => e.component === "input"), c = (_) => {
988
+ t.value = !1, n("blur", _);
989
+ }, m = (_) => {
990
+ t.value = !0, n("focus", _);
991
+ }, v = ({ target: _ }) => n("update:modelValue", _.value), g = (_) => n("enter", _), h = (_) => n("click", _), x = (_) => {
992
+ e.disabled || n("on-icon", _);
993
993
  };
994
- return ($, C) => (f(), p("div", fn, [
994
+ return (_, C) => (f(), p("div", fn, [
995
995
  o("label", {
996
996
  class: B(["relative w-full border border-gray-300 dark:border-gray-700 flex items-center rounded transition bg-white dark:bg-gray-800", a.value])
997
997
  }, [
998
998
  o("span", {
999
999
  class: B(["absolute left-4 transition-all rounded -translate-y-1/2 text-gray-600 dark:text-gray-400", u.value])
1000
1000
  }, k(e.label), 3),
1001
- (f(), M(de(e.component), P($.$attrs, {
1001
+ (f(), M(de(e.component), P(_.$attrs, {
1002
1002
  value: e.modelValue,
1003
1003
  disabled: !!e.disabled,
1004
1004
  type: e.type,
@@ -1012,17 +1012,17 @@ const un = F({ name: "ri-arrow-up-s-line", render: dn }), fn = { class: "w-full
1012
1012
  onClick: h,
1013
1013
  onKeypress: mt(g, ["enter"])
1014
1014
  }), null, 16, ["value", "disabled", "type", "readonly", "rows", "wrap", "class"])),
1015
- $.$slots.icon ? (f(), p("button", {
1015
+ _.$slots.icon ? (f(), p("button", {
1016
1016
  key: 0,
1017
1017
  disabled: !!e.disabled,
1018
1018
  class: B([{ "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"]),
1019
1019
  onClick: x
1020
1020
  }, [
1021
- _($.$slots, "icon")
1022
- ], 10, mn)) : T("", !0)
1021
+ $(_.$slots, "icon")
1022
+ ], 10, mn)) : E("", !0)
1023
1023
  ], 2),
1024
- e.hideMessage ? T("", !0) : (f(), p("div", vn, [
1025
- _($.$slots, "message", {}, () => [
1024
+ e.hideMessage ? E("", !0) : (f(), p("div", vn, [
1025
+ $(_.$slots, "message", {}, () => [
1026
1026
  I(k(e.message), 1)
1027
1027
  ])
1028
1028
  ]))
@@ -1061,7 +1061,7 @@ const un = F({ name: "ri-arrow-up-s-line", render: dn }), fn = { class: "w-full
1061
1061
  class: "relative"
1062
1062
  }), {
1063
1063
  activator: y(({ on: u, isShow: i }) => [
1064
- _(a.$slots, "activator", R(W({ on: u, isShow: i })), () => [
1064
+ $(a.$slots, "activator", R(W({ on: u, isShow: i })), () => [
1065
1065
  b(J, {
1066
1066
  "model-value": e.modelValue,
1067
1067
  disabled: e.disabled,
@@ -1083,14 +1083,14 @@ const un = F({ name: "ri-arrow-up-s-line", render: dn }), fn = { class: "w-full
1083
1083
  ]),
1084
1084
  default: y(({ on: u }) => [
1085
1085
  o("div", hn, [
1086
- e.label ? (f(), p("h4", gn, k(e.label), 1)) : T("", !0),
1086
+ e.label ? (f(), p("h4", gn, k(e.label), 1)) : E("", !0),
1087
1087
  o("div", bn, [
1088
1088
  b(me, {
1089
1089
  items: e.items,
1090
1090
  onClick: (i) => t(i, u)
1091
1091
  }, {
1092
1092
  default: y(({ item: i }) => [
1093
- _(a.$slots, "item", { item: i }, () => [
1093
+ $(a.$slots, "item", { item: i }, () => [
1094
1094
  I(k(i.name), 1)
1095
1095
  ])
1096
1096
  ]),
@@ -1103,7 +1103,7 @@ const un = F({ name: "ri-arrow-up-s-line", render: dn }), fn = { class: "w-full
1103
1103
  }, 16);
1104
1104
  };
1105
1105
  }
1106
- }), yn = { class: "md:flex items-center mb-4" }, xn = { class: "flex-auto text-gray-600 bg:text-gray-400 mb-2" }, _n = { class: "md:max-w-50" }, kn = { class: "flex items-center mb-4" }, $n = { class: "flex-auto text-gray-600 bg:text-gray-400" }, wn = { class: "flex items-center mb-4" }, Cn = { class: "flex-auto text-gray-600 bg:text-gray-400" }, Ma = /* @__PURE__ */ V({
1106
+ }), yn = { class: "md:flex items-center mb-4" }, xn = { class: "flex-auto text-gray-600 bg:text-gray-400 mb-2" }, $n = { class: "md:max-w-50" }, kn = { class: "flex items-center mb-4" }, _n = { class: "flex-auto text-gray-600 bg:text-gray-400" }, wn = { class: "flex items-center mb-4" }, Cn = { class: "flex-auto text-gray-600 bg:text-gray-400" }, Ma = /* @__PURE__ */ V({
1107
1107
  __name: "BlockService",
1108
1108
  props: {
1109
1109
  locale: {},
@@ -1120,7 +1120,7 @@ const un = F({ name: "ri-arrow-up-s-line", render: dn }), fn = { class: "w-full
1120
1120
  return f(), p(O, null, [
1121
1121
  o("div", yn, [
1122
1122
  o("div", xn, k(a.$t("selectLang")), 1),
1123
- o("div", _n, [
1123
+ o("div", $n, [
1124
1124
  b(d, {
1125
1125
  "model-value": t(e.locale),
1126
1126
  label: a.$t("lang"),
@@ -1130,7 +1130,7 @@ const un = F({ name: "ri-arrow-up-s-line", render: dn }), fn = { class: "w-full
1130
1130
  ])
1131
1131
  ]),
1132
1132
  o("div", kn, [
1133
- o("div", $n, k(a.$t("rebootDev")), 1),
1133
+ o("div", _n, k(a.$t("rebootDev")), 1),
1134
1134
  b(u, {
1135
1135
  class: "min-w-[100px]",
1136
1136
  color: "red",
@@ -1159,7 +1159,7 @@ const un = F({ name: "ri-arrow-up-s-line", render: dn }), fn = { class: "w-full
1159
1159
  ], 64);
1160
1160
  };
1161
1161
  }
1162
- }), zn = { class: "grid grid-cols-1 gap-4 lg:max-w-[360px] min-w-[250px]" }, Sn = { class: "flex flex-col w-full items-center gap-2" }, Vn = ["title"], Bn = { class: "absolute left-[110px] top-1/2 -translate-1/2 text-sm font-bold text-black dark:text-white text-center leading-none" }, Tn = { class: "absolute left-[110px] top-1/2 -translate-1/2 text-sm font-bold text-white text-center leading-none" }, En = { class: "flex justify-between w-full text-xs" }, Ln = { class: "text-gray-500 dark:text-gray-400" }, Mn = { class: "text-sm" }, An = { class: "text-gray-500 dark:text-gray-400 text-left" }, Dn = { class: "text-right text-xs" }, Aa = /* @__PURE__ */ V({
1162
+ }), zn = { class: "grid grid-cols-1 gap-4 lg:max-w-[360px] min-w-[250px]" }, Sn = { class: "flex flex-col w-full items-center gap-2" }, Vn = ["title"], Bn = { class: "absolute left-[110px] top-1/2 -translate-1/2 text-sm font-bold text-black dark:text-white text-center leading-none" }, En = { class: "absolute left-[110px] top-1/2 -translate-1/2 text-sm font-bold text-white text-center leading-none" }, Tn = { class: "flex justify-between w-full text-xs" }, Ln = { class: "text-gray-500 dark:text-gray-400" }, Mn = { class: "text-sm" }, An = { class: "text-gray-500 dark:text-gray-400 text-left" }, Dn = { class: "text-right text-xs" }, Aa = /* @__PURE__ */ V({
1163
1163
  __name: "BlockStatus",
1164
1164
  props: {
1165
1165
  pkg: {},
@@ -1207,16 +1207,16 @@ const un = F({ name: "ri-arrow-up-s-line", render: dn }), fn = { class: "w-full
1207
1207
  class: "bg-blue-600 rounded h-4 overflow-hidden relative transition-all duration-500",
1208
1208
  style: Z(`width: ${r.value}%`)
1209
1209
  }, [
1210
- o("div", Tn, k(r.value) + "%", 1)
1210
+ o("div", En, k(r.value) + "%", 1)
1211
1211
  ], 4)
1212
1212
  ], 8, Vn),
1213
- o("div", En, [
1213
+ o("div", Tn, [
1214
1214
  (f(!0), p(O, null, U(t.value, (g) => (f(), p("div", {
1215
1215
  key: g.name,
1216
1216
  class: "flex-auto"
1217
1217
  }, [
1218
1218
  o("div", Ln, [
1219
- _(u.$slots, "name", { item: g })
1219
+ $(u.$slots, "name", { item: g })
1220
1220
  ]),
1221
1221
  o("div", null, k(g.value), 1)
1222
1222
  ]))), 128))
@@ -1228,13 +1228,13 @@ const un = F({ name: "ri-arrow-up-s-line", render: dn }), fn = { class: "w-full
1228
1228
  class: "flex justify-between items-center"
1229
1229
  }, [
1230
1230
  o("div", An, [
1231
- _(u.$slots, "name", { item: g })
1231
+ $(u.$slots, "name", { item: g })
1232
1232
  ]),
1233
1233
  o("div", Dn, k(g.value), 1)
1234
1234
  ]))), 128))
1235
1235
  ]),
1236
1236
  o("div", null, [
1237
- _(u.$slots, "default", {
1237
+ $(u.$slots, "default", {
1238
1238
  home: (c = e.pkg) == null ? void 0 : c.homepage,
1239
1239
  repo: (v = (m = e.pkg) == null ? void 0 : m.repository) == null ? void 0 : v.url
1240
1240
  })
@@ -1255,7 +1255,7 @@ const un = F({ name: "ri-arrow-up-s-line", render: dn }), fn = { class: "w-full
1255
1255
  type: "file",
1256
1256
  class: "hidden"
1257
1257
  }, t.$attrs, { onChange: s }), null, 16),
1258
- _(t.$slots, "default")
1258
+ $(t.$slots, "default")
1259
1259
  ]));
1260
1260
  }
1261
1261
  }), jn = { class: "md:flex" }, Hn = { class: "text-gray-600 bg:text-gray-400 first-letter:uppercase min-w-19" }, Da = /* @__PURE__ */ V({
@@ -1290,7 +1290,7 @@ const un = F({ name: "ri-arrow-up-s-line", render: dn }), fn = { class: "w-full
1290
1290
  default: y(() => [
1291
1291
  o("div", jn, [
1292
1292
  o("h6", Hn, k(m) + ":", 1),
1293
- _(d.$slots, "default", {
1293
+ $(d.$slots, "default", {
1294
1294
  file: t(c)
1295
1295
  })
1296
1296
  ])
@@ -1341,7 +1341,7 @@ const Qe = F({ name: "ri-arrow-drop-right-line", render: Pn }), Fn = { class: "f
1341
1341
  key: u,
1342
1342
  class: B(["inline-flex items-center gap-1.5 text-sm text-gray-500 dark:text-gray-400", d.path ? "" : "text-gray-800 dark:text-white/90"])
1343
1343
  }, [
1344
- _(t.$slots, "default", { item: d }, () => [
1344
+ $(t.$slots, "default", { item: d }, () => [
1345
1345
  (f(), M(de(d.path ? "a" : "span"), {
1346
1346
  href: d.path,
1347
1347
  onClick: (i) => s(d)
@@ -1355,7 +1355,7 @@ const Qe = F({ name: "ri-arrow-drop-right-line", render: Pn }), Fn = { class: "f
1355
1355
  d.path ? (f(), M(r, {
1356
1356
  key: 0,
1357
1357
  class: "rotate-270"
1358
- })) : T("", !0)
1358
+ })) : E("", !0)
1359
1359
  ], 2))), 128))
1360
1360
  ])
1361
1361
  ]);
@@ -1380,16 +1380,16 @@ const Qe = F({ name: "ri-arrow-drop-right-line", render: Pn }), Fn = { class: "f
1380
1380
  return (l, n) => (f(), p("div", {
1381
1381
  class: B(["relative rounded-md border border-gray-200 dark:border-gray-800 bg-white dark:bg-white/[0.03] p-5 sm:p-6 hover-effect", { "overflow-hidden": e.loading }])
1382
1382
  }, [
1383
- e.loading ? (f(), p("div", Un)) : T("", !0),
1384
- e.loading ? (f(), p("div", Rn)) : T("", !0),
1383
+ e.loading ? (f(), p("div", Un)) : E("", !0),
1384
+ e.loading ? (f(), p("div", Rn)) : E("", !0),
1385
1385
  e.title ? (f(), p("div", Wn, [
1386
1386
  o("h3", Kn, k(e.title), 1),
1387
1387
  o("div", null, [
1388
- _(l.$slots, "header")
1388
+ $(l.$slots, "header")
1389
1389
  ])
1390
- ])) : T("", !0),
1390
+ ])) : E("", !0),
1391
1391
  o("div", qn, [
1392
- _(l.$slots, "default")
1392
+ $(l.$slots, "default")
1393
1393
  ])
1394
1394
  ], 2));
1395
1395
  }
@@ -1438,21 +1438,21 @@ const Yn = F({ name: "ri-file-copy2-line", render: Xn }), Qn = { class: "text-ti
1438
1438
  onClose: r
1439
1439
  }), (v, g) => {
1440
1440
  const h = le;
1441
- return e.isOnlyDialog || E(m) ? (f(), M(Ne, {
1441
+ return e.isOnlyDialog || T(m) ? (f(), M(Ne, {
1442
1442
  key: 0,
1443
1443
  to: "body"
1444
1444
  }, [
1445
- b(ie, {
1445
+ b(ae, {
1446
1446
  "enter-active-class": "duration-300 ease-out",
1447
1447
  "enter-from-class": "transform opacity-0 -translate-y-2",
1448
1448
  "enter-to-class": "opacity-100 translate-y-0",
1449
1449
  "leave-active-class": "duration-200 ease-in",
1450
1450
  "leave-from-class": "opacity-100 translate-y-0",
1451
1451
  "leave-to-class": "transform opacity-0 -translate-y-2",
1452
- onAfterEnter: E(d)
1452
+ onAfterEnter: T(d)
1453
1453
  }, {
1454
1454
  default: y(() => [
1455
- E(a) ? (f(), p("div", {
1455
+ T(a) ? (f(), p("div", {
1456
1456
  key: 0,
1457
1457
  class: "z-20 fixed top-0 h-dvh w-full left-0 flex flex-col",
1458
1458
  onWheel: g[4] || (g[4] = N(() => {
@@ -1461,7 +1461,7 @@ const Yn = F({ name: "ri-file-copy2-line", render: Xn }), Qn = { class: "text-ti
1461
1461
  o("div", {
1462
1462
  class: "absolute h-full w-full top-0 left-0 bg-black/40 bg-blur",
1463
1463
  onClick: g[0] || (g[0] = //@ts-ignore
1464
- (...x) => E(r) && E(r)(...x))
1464
+ (...x) => T(r) && T(r)(...x))
1465
1465
  }),
1466
1466
  o("div", {
1467
1467
  class: B(["flex-auto flex align-center overflow-y-auto overscroll-contain", (e.size === "full", "")])
@@ -1477,11 +1477,11 @@ const Yn = F({ name: "ri-file-copy2-line", render: Xn }), Qn = { class: "text-ti
1477
1477
  }, ["prevent"]))
1478
1478
  }, [
1479
1479
  o("h4", Qn, k(e.title), 1),
1480
- _(v.$slots, "header-btn", { close: E(r) }),
1480
+ $(v.$slots, "header-btn", { close: T(r) }),
1481
1481
  b(A, {
1482
1482
  color: "transparent",
1483
1483
  size: "md",
1484
- onClick: E(r)
1484
+ onClick: T(r)
1485
1485
  }, {
1486
1486
  default: y(() => [
1487
1487
  b(h)
@@ -1492,23 +1492,23 @@ const Yn = F({ name: "ri-file-copy2-line", render: Xn }), Qn = { class: "text-ti
1492
1492
  o("div", {
1493
1493
  class: B(["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"]),
1494
1494
  onClose: g[3] || (g[3] = //@ts-ignore
1495
- (...x) => E(r) && E(r)(...x))
1495
+ (...x) => T(r) && T(r)(...x))
1496
1496
  }, [
1497
- _(v.$slots, "default", { close: E(r) })
1497
+ $(v.$slots, "default", { close: T(r) })
1498
1498
  ], 34)
1499
1499
  ], 2)
1500
1500
  ], 2)
1501
- ], 32)) : T("", !0)
1501
+ ], 32)) : E("", !0)
1502
1502
  ]),
1503
1503
  _: 3
1504
1504
  }, 8, ["onAfterEnter"])
1505
1505
  ])) : (f(), M(Xe, {
1506
1506
  key: 1,
1507
1507
  size: e.popupSize,
1508
- onClose: E(r)
1508
+ onClose: T(r)
1509
1509
  }, {
1510
1510
  button: y(() => [
1511
- _(v.$slots, "header-btn", { close: E(r) })
1511
+ $(v.$slots, "header-btn", { close: T(r) })
1512
1512
  ]),
1513
1513
  default: y(({ close: x }) => [
1514
1514
  o("div", Zn, [
@@ -1519,9 +1519,9 @@ const Yn = F({ name: "ri-file-copy2-line", render: Xn }), Qn = { class: "text-ti
1519
1519
  onTouchmove: g[6] || (g[6] = N(() => {
1520
1520
  }, ["prevent"]))
1521
1521
  }, [
1522
- e.title ? (f(), p("h4", es, k(e.title), 1)) : T("", !0)
1522
+ e.title ? (f(), p("h4", es, k(e.title), 1)) : E("", !0)
1523
1523
  ], 34),
1524
- _(v.$slots, "default", { close: x })
1524
+ $(v.$slots, "default", { close: x })
1525
1525
  ])
1526
1526
  ]),
1527
1527
  _: 3
@@ -1531,7 +1531,7 @@ const Yn = F({ name: "ri-file-copy2-line", render: Xn }), Qn = { class: "text-ti
1531
1531
  }), ts = { class: "flex-auto flex justify-between" }, ls = { class: "text-sm text-gray-500 font-medium line-clamp-2 overflow-hidden" }, ns = { class: "text-sm text-ellipsis overflow-hidden text-nowrap" }, ss = {
1532
1532
  key: 0,
1533
1533
  class: "absolute left-1/2 top-1/2 size-[calc(50%)] text-gray-200/30 dark:text-gray-800/30 -translate-1/2"
1534
- }, os = { class: "min-h-60 relative" }, as = { class: "pt-6" }, is = { class: "text-center text-3xl text-ellipsis overflow-hidden" }, rs = { class: "text-center text-xl mt-4" }, re = /* @__PURE__ */ V({
1534
+ }, os = { class: "min-h-60 relative" }, as = { class: "pt-6" }, is = { class: "text-center text-3xl text-ellipsis overflow-hidden" }, rs = { class: "text-center text-xl mt-4" }, ie = /* @__PURE__ */ V({
1535
1535
  __name: "CardBase",
1536
1536
  props: {
1537
1537
  size: {},
@@ -1562,27 +1562,27 @@ const Yn = F({ name: "ri-file-copy2-line", render: Xn }), Qn = { class: "text-ti
1562
1562
  o("div", {
1563
1563
  class: B([a.value, "size-8 animate-shake"])
1564
1564
  }, [
1565
- _(m.$slots, "icon", R(W(n)))
1565
+ $(m.$slots, "icon", R(W(n)))
1566
1566
  ], 2),
1567
- _(m.$slots, "header", R(W(n)))
1567
+ $(m.$slots, "header", R(W(n)))
1568
1568
  ]),
1569
1569
  o("div", null, [
1570
- _(m.$slots, "body", R(W(n)), () => [
1570
+ $(m.$slots, "body", R(W(n)), () => [
1571
1571
  o("h6", ls, [
1572
- _(m.$slots, "name", R(W(n)), () => [
1572
+ $(m.$slots, "name", R(W(n)), () => [
1573
1573
  I(k(n.name), 1)
1574
1574
  ])
1575
1575
  ]),
1576
1576
  o("div", ns, [
1577
- _(m.$slots, "value", R(W(n)), () => [
1577
+ $(m.$slots, "value", R(W(n)), () => [
1578
1578
  I(k(n.valueTo || n.value), 1)
1579
1579
  ])
1580
1580
  ])
1581
1581
  ])
1582
1582
  ]),
1583
1583
  n.icon ? (f(), p("div", ss, [
1584
- _(m.$slots, "icon", R(W(n)))
1585
- ])) : T("", !0),
1584
+ $(m.$slots, "icon", R(W(n)))
1585
+ ])) : E("", !0),
1586
1586
  t.value ? (f(), M(Be, {
1587
1587
  key: 1,
1588
1588
  size: n.size || "sm",
@@ -1614,13 +1614,13 @@ const Yn = F({ name: "ri-file-copy2-line", render: Xn }), Qn = { class: "text-ti
1614
1614
  o("div", os, [
1615
1615
  o("div", as, [
1616
1616
  o("h3", is, [
1617
- _(m.$slots, "dialog-name", R(W(n)), () => [
1617
+ $(m.$slots, "dialog-name", R(W(n)), () => [
1618
1618
  I(k(n.name), 1)
1619
1619
  ])
1620
1620
  ]),
1621
- _(m.$slots, "dialog", R(W(n))),
1621
+ $(m.$slots, "dialog", R(W(n))),
1622
1622
  o("p", rs, [
1623
- _(m.$slots, "dialog-value", R(W(n)), () => [
1623
+ $(m.$slots, "dialog-value", R(W(n)), () => [
1624
1624
  I(k(n.valueTo || n.value), 1)
1625
1625
  ])
1626
1626
  ])
@@ -1628,7 +1628,7 @@ const Yn = F({ name: "ri-file-copy2-line", render: Xn }), Qn = { class: "text-ti
1628
1628
  ])
1629
1629
  ]),
1630
1630
  _: 3
1631
- }, 8, ["size", "title"])) : T("", !0)
1631
+ }, 8, ["size", "title"])) : E("", !0)
1632
1632
  ]);
1633
1633
  };
1634
1634
  }
@@ -1669,13 +1669,13 @@ const us = F({ name: "ri-shut-down-line", render: ds }), fs = { class: "flex jus
1669
1669
  }, a = () => s("setState", !n.value);
1670
1670
  return (r, d) => {
1671
1671
  const u = us;
1672
- return f(), M(re, P(n, {
1672
+ return f(), M(ie, P(n, {
1673
1673
  onClick: d[0] || (d[0] = (i) => s("click", i)),
1674
1674
  onEdit: d[1] || (d[1] = (i) => s("edit", i)),
1675
1675
  onClone: d[2] || (d[2] = (i) => s("clone", i))
1676
1676
  }), {
1677
1677
  icon: y((i) => [
1678
- _(r.$slots, "icon", R(W(i)))
1678
+ $(r.$slots, "icon", R(W(i)))
1679
1679
  ]),
1680
1680
  header: y((i) => [
1681
1681
  o("div", fs, [
@@ -1754,13 +1754,13 @@ const hs = F({ name: "ri-time-line", render: ps }), gs = { class: "flex justify-
1754
1754
  };
1755
1755
  return (i, c) => {
1756
1756
  const m = hs;
1757
- return f(), M(re, P(n, {
1757
+ return f(), M(ie, P(n, {
1758
1758
  onClick: c[0] || (c[0] = (v) => s("click", v)),
1759
1759
  onEdit: c[1] || (c[1] = (v) => s("edit", v)),
1760
1760
  onClone: c[2] || (c[2] = (v) => s("clone", v))
1761
1761
  }), {
1762
1762
  icon: y((v) => [
1763
- _(i.$slots, "icon", R(W(v)))
1763
+ $(i.$slots, "icon", R(W(v)))
1764
1764
  ]),
1765
1765
  header: y((v) => [
1766
1766
  o("div", null, [
@@ -1799,13 +1799,13 @@ const hs = F({ name: "ri-time-line", render: ps }), gs = { class: "flex justify-
1799
1799
  }
1800
1800
  }), bs = { class: "flex justify-end" }, ys = { class: "flex justify-end" }, xs = {
1801
1801
  class: /* @__PURE__ */ B("text-blue-600 dark:text-blue-400")
1802
- }, _s = {
1802
+ }, $s = {
1803
1803
  width: "30",
1804
1804
  height: "30",
1805
1805
  viewBox: "-7.5 -7.5 75 75",
1806
1806
  version: "1.1",
1807
1807
  style: { transform: "rotate(-90deg)" }
1808
- }, ks = ["stroke-dashoffset"], $s = { class: "absolute top-1/2 left-1/2 -translate-1/2 text-white z-10 font-bold text-xl" }, Ha = /* @__PURE__ */ V({
1808
+ }, ks = ["stroke-dashoffset"], _s = { class: "absolute top-1/2 left-1/2 -translate-1/2 text-white z-10 font-bold text-xl" }, Ha = /* @__PURE__ */ V({
1809
1809
  __name: "CardDimmer",
1810
1810
  props: {
1811
1811
  size: {},
@@ -1829,13 +1829,13 @@ const hs = F({ name: "ri-time-line", render: ps }), gs = { class: "flex justify-
1829
1829
  }, u = (c) => s("setState", +c.target.value || 0), i = ({ value: c }) => {
1830
1830
  +c != 0 ? (t.value = +c, s("setState", 0)) : s("setState", c ? 0 : t.value || 255);
1831
1831
  };
1832
- return (c, m) => (f(), M(re, P(n, {
1832
+ return (c, m) => (f(), M(ie, P(n, {
1833
1833
  onClick: m[0] || (m[0] = (v) => s("click", v)),
1834
1834
  onEdit: m[1] || (m[1] = (v) => s("edit", v)),
1835
1835
  onClone: m[2] || (m[2] = (v) => s("clone", v))
1836
1836
  }), {
1837
1837
  icon: y((v) => [
1838
- _(c.$slots, "icon", R(W(v)))
1838
+ $(c.$slots, "icon", R(W(v)))
1839
1839
  ]),
1840
1840
  header: y((v) => [
1841
1841
  o("div", bs, [
@@ -1846,7 +1846,7 @@ const hs = F({ name: "ri-time-line", render: ps }), gs = { class: "flex justify-
1846
1846
  }), {
1847
1847
  default: y(() => [
1848
1848
  o("div", xs, [
1849
- (f(), p("svg", _s, [
1849
+ (f(), p("svg", $s, [
1850
1850
  m[3] || (m[3] = o("circle", {
1851
1851
  class: "stroke-gray-300 dark:stroke-gray-700",
1852
1852
  r: "30",
@@ -1883,7 +1883,7 @@ const hs = F({ name: "ri-time-line", render: ps }), gs = { class: "flex justify-
1883
1883
  class: "absolute h-10 top-0 left-0 bg-blue-600 dark:bg-blue-400 z-0 rounded-md transition-[width_0.3s_linear]",
1884
1884
  style: Z(`width: ${a(v)}%`)
1885
1885
  }, null, 4),
1886
- o("div", $s, k(a(v)) + " %", 1),
1886
+ o("div", _s, k(a(v)) + " %", 1),
1887
1887
  o("input", P({ type: "range" }, d(v), {
1888
1888
  class: "w-full h-10 z-10 appearance-none opacity-0",
1889
1889
  onChange: u
@@ -1912,16 +1912,16 @@ const hs = F({ name: "ri-time-line", render: ps }), gs = { class: "flex justify-
1912
1912
  emits: ["edit", "close", "click", "clone", "open", "setState"],
1913
1913
  setup(e, { emit: l }) {
1914
1914
  const n = e, s = l;
1915
- return (t, a) => (f(), M(re, P(n, {
1915
+ return (t, a) => (f(), M(ie, P(n, {
1916
1916
  onClick: a[0] || (a[0] = (r) => s("click", r)),
1917
1917
  onEdit: a[1] || (a[1] = (r) => s("edit", r)),
1918
1918
  onClone: a[2] || (a[2] = (r) => s("clone", r))
1919
1919
  }), {
1920
1920
  icon: y((r) => [
1921
- _(t.$slots, "icon", R(W(r)))
1921
+ $(t.$slots, "icon", R(W(r)))
1922
1922
  ]),
1923
1923
  default: y(() => [
1924
- _(t.$slots, "dialog")
1924
+ $(t.$slots, "dialog")
1925
1925
  ]),
1926
1926
  _: 3
1927
1927
  }, 16));
@@ -1955,13 +1955,13 @@ const hs = F({ name: "ri-time-line", render: ps }), gs = { class: "flex justify-
1955
1955
  }
1956
1956
  ), (d, u) => {
1957
1957
  const i = Qe;
1958
- return f(), M(re, P(n, {
1958
+ return f(), M(ie, P(n, {
1959
1959
  onClick: u[1] || (u[1] = (c) => s("click", c)),
1960
1960
  onEdit: u[2] || (u[2] = (c) => s("edit", c)),
1961
1961
  onClone: u[3] || (u[3] = (c) => s("clone", c))
1962
1962
  }), {
1963
1963
  icon: y((c) => [
1964
- _(d.$slots, "icon", R(W(c)))
1964
+ $(d.$slots, "icon", R(W(c)))
1965
1965
  ]),
1966
1966
  dialog: y((c) => [
1967
1967
  o("div", ws, [
@@ -2024,13 +2024,13 @@ const Ss = F({ name: "ri-list-check", render: zs }), Vs = { class: "flex justify
2024
2024
  };
2025
2025
  return (d, u) => {
2026
2026
  const i = Ss;
2027
- return f(), M(re, P(n, {
2027
+ return f(), M(ie, P(n, {
2028
2028
  onClick: u[1] || (u[1] = (c) => s("click", c)),
2029
2029
  onEdit: u[2] || (u[2] = (c) => s("edit", c)),
2030
2030
  onClone: u[3] || (u[3] = (c) => s("clone", c))
2031
2031
  }), {
2032
2032
  icon: y((c) => [
2033
- _(d.$slots, "icon", R(W(c)))
2033
+ $(d.$slots, "icon", R(W(c)))
2034
2034
  ]),
2035
2035
  value: y((c) => [
2036
2036
  I(k(a(c)), 1)
@@ -2083,7 +2083,7 @@ const Ss = F({ name: "ri-list-check", render: zs }), Vs = { class: "flex justify
2083
2083
  width: "1.2em",
2084
2084
  height: "1.2em"
2085
2085
  };
2086
- function Ts(e, l) {
2086
+ function Es(e, l) {
2087
2087
  return f(), p("svg", Bs, [...l[0] || (l[0] = [
2088
2088
  o("path", {
2089
2089
  fill: "currentColor",
@@ -2091,7 +2091,7 @@ function Ts(e, l) {
2091
2091
  }, null, -1)
2092
2092
  ])]);
2093
2093
  }
2094
- const Es = F({ name: "ri-menu-search-line", render: Ts }), Ls = {
2094
+ const Ts = F({ name: "ri-menu-search-line", render: Es }), Ls = {
2095
2095
  viewBox: "0 0 24 24",
2096
2096
  width: "1.2em",
2097
2097
  height: "1.2em"
@@ -2125,15 +2125,15 @@ const ye = F({ name: "ri-add-line", render: Ms }), As = { class: "flex w-full re
2125
2125
  class: B(["absolute left-4 transition-all rounded -translate-y-1/2 text-gray-600 dark:text-gray-400", s.value])
2126
2126
  }, k(e.label), 3),
2127
2127
  o("div", Ds, [
2128
- _(a.$slots, "default")
2128
+ $(a.$slots, "default")
2129
2129
  ]),
2130
- e.hideIcon ? T("", !0) : (f(), p("button", {
2130
+ e.hideIcon ? E("", !0) : (f(), p("button", {
2131
2131
  key: 0,
2132
2132
  disabled: e.disabled,
2133
2133
  class: B([{ "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]"]),
2134
2134
  onClick: r[0] || (r[0] = (u) => n("icon", u))
2135
2135
  }, [
2136
- _(a.$slots, "icon", {}, () => [
2136
+ $(a.$slots, "icon", {}, () => [
2137
2137
  b(d, { class: "size-4" })
2138
2138
  ])
2139
2139
  ], 10, Is))
@@ -2188,7 +2188,7 @@ const Fs = F({ name: "ri-folder6-line", render: Ps }), Us = ["onClick"], Rs = {
2188
2188
  n("click", { key: g, path: m(g), isObject: h });
2189
2189
  };
2190
2190
  return (g, h) => {
2191
- const x = Fs, $ = Hs, C = ye;
2191
+ const x = Fs, _ = Hs, C = ye;
2192
2192
  return f(), p("ul", null, [
2193
2193
  (f(!0), p(O, null, U(e.items, (z, j) => (f(), p("li", {
2194
2194
  key: j,
@@ -2200,24 +2200,24 @@ const Fs = F({ name: "ri-folder6-line", render: Ps }), Us = ["onClick"], Rs = {
2200
2200
  }, [
2201
2201
  c(z) ? (f(), p("div", Rs, [
2202
2202
  b(x, { class: "size-5" })
2203
- ])) : T("", !0),
2203
+ ])) : E("", !0),
2204
2204
  o("div", Ws, k(j), 1),
2205
- E(u) ? (f(), M(A, {
2205
+ T(u) ? (f(), M(A, {
2206
2206
  key: 1,
2207
2207
  class: "opacity-20 hover:opacity-70 transition-all",
2208
2208
  color: "transparent",
2209
2209
  size: "sm",
2210
- onClick: N((X) => E(r)(m(j)), ["stop"])
2210
+ onClick: N((X) => T(r)(m(j)), ["stop"])
2211
2211
  }, {
2212
2212
  default: y(() => [
2213
- b($, { class: "size-5" })
2213
+ b(_, { class: "size-5" })
2214
2214
  ]),
2215
2215
  _: 1
2216
- }, 8, ["onClick"])) : T("", !0),
2217
- E(a) === m(j) ? (f(), p("span", {
2216
+ }, 8, ["onClick"])) : E("", !0),
2217
+ T(a) === m(j) ? (f(), p("span", {
2218
2218
  key: 2,
2219
- class: B(["text-gray-500 transition-all duration-1000 text-sm", E(d) ? "opacity-100" : "opacity-0"])
2220
- }, k(g.$t("copied")), 3)) : T("", !0),
2219
+ class: B(["text-gray-500 transition-all duration-1000 text-sm", T(d) ? "opacity-100" : "opacity-0"])
2220
+ }, k(g.$t("copied")), 3)) : E("", !0),
2221
2221
  !e.onlyValue && c(z) ? (f(), p(O, { key: 3 }, [
2222
2222
  h[1] || (h[1] = o("div", { class: "flex-auto" }, null, -1)),
2223
2223
  o("div", Ks, [
@@ -2234,7 +2234,7 @@ const Fs = F({ name: "ri-folder6-line", render: Ps }), Us = ["onClick"], Rs = {
2234
2234
  _: 1
2235
2235
  }, 8, ["title", "onClick"])
2236
2236
  ])
2237
- ], 64)) : T("", !0)
2237
+ ], 64)) : E("", !0)
2238
2238
  ], 10, Us),
2239
2239
  c(z) ? (f(), p("div", qs, [
2240
2240
  Ce(b(et, {
@@ -2293,7 +2293,7 @@ const Fs = F({ name: "ri-folder6-line", render: Ps }), Us = ["onClick"], Rs = {
2293
2293
  o("div", {
2294
2294
  class: B([a(c), "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"])
2295
2295
  }, [
2296
- _(d.$slots, "header", {
2296
+ $(d.$slots, "header", {
2297
2297
  tab: i,
2298
2298
  i: c
2299
2299
  }, () => [
@@ -2308,7 +2308,7 @@ const Fs = F({ name: "ri-folder6-line", render: Ps }), Us = ["onClick"], Rs = {
2308
2308
  key: c,
2309
2309
  class: "tab-panel"
2310
2310
  }, [
2311
- b(ie, {
2311
+ b(ae, {
2312
2312
  "enter-active-class": "transition-all duration-300 ease-out",
2313
2313
  "enter-from-class": "transform opacity-0 translate-x-2",
2314
2314
  "enter-to-class": "transform opacity-100 translate-x-0",
@@ -2318,8 +2318,8 @@ const Fs = F({ name: "ri-folder6-line", render: Ps }), Us = ["onClick"], Rs = {
2318
2318
  }, {
2319
2319
  default: y(() => [
2320
2320
  t.value === c ? (f(), p("div", eo, [
2321
- _(d.$slots, `tab-${c}`)
2322
- ])) : T("", !0)
2321
+ $(d.$slots, `tab-${c}`)
2322
+ ])) : E("", !0)
2323
2323
  ]),
2324
2324
  _: 2
2325
2325
  }, 1024)
@@ -2327,7 +2327,7 @@ const Fs = F({ name: "ri-folder6-line", render: Ps }), Us = ["onClick"], Rs = {
2327
2327
  ])
2328
2328
  ]));
2329
2329
  }
2330
- }), lo = { class: "flex gap-1 text-amber-500 self-start text-nowrap select-none" }, no = ["title", "onMouseenter", "onMouseleave"], so = { class: "flex flex-auto" }, oo = ["disabled"], _e = /* @__PURE__ */ V({
2330
+ }), lo = { class: "flex gap-1 text-amber-500 self-start text-nowrap select-none" }, no = ["title", "onMouseenter", "onMouseleave"], so = { class: "flex flex-auto" }, oo = ["disabled"], $e = /* @__PURE__ */ V({
2331
2331
  __name: "VFunc",
2332
2332
  props: {
2333
2333
  label: {},
@@ -2393,12 +2393,12 @@ const Fs = F({ name: "ri-folder6-line", render: Ps }), Us = ["onClick"], Rs = {
2393
2393
  type: "text",
2394
2394
  disabled: e.disabled,
2395
2395
  onInput: i[1] || (i[1] = //@ts-ignore
2396
- (...v) => E(r) && E(r)(...v))
2396
+ (...v) => T(r) && T(r)(...v))
2397
2397
  }, null, 40, oo), [
2398
2398
  [gt, t.value]
2399
2399
  ])
2400
2400
  ])
2401
- ], 64)) : T("", !0)
2401
+ ], 64)) : E("", !0)
2402
2402
  ]),
2403
2403
  _: 1
2404
2404
  }, 8, ["active", "disabled", "label", "hideIcon"]);
@@ -2443,7 +2443,7 @@ const Fs = F({ name: "ri-folder6-line", render: Ps }), Us = ["onClick"], Rs = {
2443
2443
  ])
2444
2444
  ], -1)),
2445
2445
  o("span", io, [
2446
- _(a.$slots, "default")
2446
+ $(a.$slots, "default")
2447
2447
  ])
2448
2448
  ], 2));
2449
2449
  }
@@ -2469,7 +2469,7 @@ const Fs = F({ name: "ri-folder6-line", render: Ps }), Us = ["onClick"], Rs = {
2469
2469
  const n = l, s = L(() => e.items.map((h, x) => ({ ...h, id: ++x }))), t = D({ name: "", value: "" }), a = L(() => e.items.length + 1), r = L(() => {
2470
2470
  var h;
2471
2471
  return !((h = t.value) != null && h.id);
2472
- }), d = (h) => e.type === h, u = (h, x) => n("update", h, x), i = (h) => h.map(({ name: x, value: $ }) => ({ name: x, value: $ })), c = ({ id: h, name: x, value: $ }) => t.value = { id: h, name: x, value: $ }, m = () => {
2472
+ }), d = (h) => e.type === h, u = (h, x) => n("update", h, x), i = (h) => h.map(({ name: x, value: _ }) => ({ name: x, value: _ })), c = ({ id: h, name: x, value: _ }) => t.value = { id: h, name: x, value: _ }, m = () => {
2473
2473
  const h = a.value;
2474
2474
  t.value = { name: `New_${h}`, value: `${h}`, id: h }, u("items", i([...s.value, t.value]));
2475
2475
  }, v = (h) => {
@@ -2477,11 +2477,11 @@ const Fs = F({ name: "ri-folder6-line", render: Ps }), Us = ["onClick"], Rs = {
2477
2477
  }, g = ze(() => {
2478
2478
  const h = t.value;
2479
2479
  if (!h.name || !h.value) return;
2480
- const x = s.value.map(($) => $.id === h.id ? h : $);
2480
+ const x = s.value.map((_) => _.id === h.id ? h : _);
2481
2481
  u("items", i(x));
2482
2482
  }, 300);
2483
2483
  return (h, x) => {
2484
- const $ = le, C = ye;
2484
+ const _ = le, C = ye;
2485
2485
  return f(), p("div", co, [
2486
2486
  o("div", uo, [
2487
2487
  b(ro, {
@@ -2510,14 +2510,14 @@ const Fs = F({ name: "ri-folder6-line", render: Ps }), Us = ["onClick"], Rs = {
2510
2510
  label: "Step",
2511
2511
  "onUpdate:modelValue": x[3] || (x[3] = (z) => u("step", +z))
2512
2512
  }, null, 8, ["modelValue"])
2513
- ])) : T("", !0),
2513
+ ])) : E("", !0),
2514
2514
  d("list") ? (f(), p("div", mo, [
2515
2515
  o("div", vo, [
2516
2516
  b(J, {
2517
2517
  modelValue: t.value.name,
2518
2518
  "onUpdate:modelValue": [
2519
2519
  x[4] || (x[4] = (z) => t.value.name = z),
2520
- E(g)
2520
+ T(g)
2521
2521
  ],
2522
2522
  disabled: r.value,
2523
2523
  label: "Name"
@@ -2526,7 +2526,7 @@ const Fs = F({ name: "ri-folder6-line", render: Ps }), Us = ["onClick"], Rs = {
2526
2526
  modelValue: t.value.value,
2527
2527
  "onUpdate:modelValue": [
2528
2528
  x[5] || (x[5] = (z) => t.value.value = z),
2529
- E(g)
2529
+ T(g)
2530
2530
  ],
2531
2531
  disabled: r.value,
2532
2532
  label: "Value"
@@ -2548,7 +2548,7 @@ const Fs = F({ name: "ri-folder6-line", render: Ps }), Us = ["onClick"], Rs = {
2548
2548
  class: "cursor-pointer size-4",
2549
2549
  onClick: N((j) => v(z), ["prevent", "stop"])
2550
2550
  }, [
2551
- b($)
2551
+ b(_)
2552
2552
  ], 8, go)
2553
2553
  ])
2554
2554
  ]),
@@ -2565,11 +2565,11 @@ const Fs = F({ name: "ri-folder6-line", render: Ps }), Us = ["onClick"], Rs = {
2565
2565
  _: 1
2566
2566
  })
2567
2567
  ])
2568
- ])) : T("", !0)
2568
+ ])) : E("", !0)
2569
2569
  ]);
2570
2570
  };
2571
2571
  }
2572
- }), yo = { class: "flex flex-col" }, xo = { class: "flex flex-col md:flex-row gap-6 min-h-[300px]" }, _o = { class: "flex-auto order-1" }, ko = { class: "flex-auto gap-x-2 order-1" }, $o = { class: "grid grid-cols-1 md:grid-cols-2 gap-6" }, wo = { class: "flex gap-2 items-center" }, Co = { class: "flex flex-col gap-4" }, zo = { class: "flex gap-2 flex-wrap flex-auto px-2 py-1" }, So = { class: "relative group" }, Vo = { class: "select-none" }, Bo = ["onClick"], To = { class: "flex justify-center order-0 md:order-1 md:mt-11" }, Eo = { class: "flex-[0_0_130px] size-[130px]" }, Lo = { class: "flex gap-4 justify-end" }, Mo = { class: "relative min-h-[200px] max-h-100dvh overflow-auto scrollbar" }, Ua = /* @__PURE__ */ V({
2572
+ }), yo = { class: "flex flex-col" }, xo = { class: "flex flex-col md:flex-row gap-6 min-h-[300px]" }, $o = { class: "flex-auto order-1" }, ko = { class: "flex-auto gap-x-2 order-1" }, _o = { class: "grid grid-cols-1 md:grid-cols-2 gap-6" }, wo = { class: "flex gap-2 items-center" }, Co = { class: "flex flex-col gap-4" }, zo = { class: "flex gap-2 flex-wrap flex-auto px-2 py-1" }, So = { class: "relative group" }, Vo = { class: "select-none" }, Bo = ["onClick"], Eo = { class: "flex justify-center order-0 md:order-1 md:mt-11" }, To = { class: "flex-[0_0_130px] size-[130px]" }, Lo = { class: "flex gap-4 justify-end" }, Mo = { class: "relative min-h-[200px] max-h-100dvh overflow-auto scrollbar" }, Ua = /* @__PURE__ */ V({
2573
2573
  __name: "ItemEdit",
2574
2574
  props: {
2575
2575
  items: {},
@@ -2608,7 +2608,7 @@ const Fs = F({ name: "ri-folder6-line", render: Ps }), Us = ["onClick"], Rs = {
2608
2608
  t.value.type = S, delete t.value.opts, ["button", "list", "dimmer"].includes(S) && (w === "button" && (t.value.opts = {}), w === "list" && (t.value.opts = { items: [] }), w === "dimmer" && (t.value.opts = { min: 0, max: 255, step: 1 }));
2609
2609
  }, h = (w) => {
2610
2610
  w === "get" && (t.value.get ? delete t.value.get : t.value.get = "v"), w === "set" && (t.value.set ? delete t.value.set : t.value.set = "v"), w === "getTo" && (t.value.getTo ? delete t.value.getTo : t.value.getTo = "v");
2611
- }, x = (w) => n("button", w, t.value), $ = (w) => t.value.args = t.value.args.filter((S) => S !== w), C = ({ path: w }) => {
2611
+ }, x = (w) => n("button", w, t.value), _ = (w) => t.value.args = t.value.args.filter((S) => S !== w), C = ({ path: w }) => {
2612
2612
  !t.value.args.length && !t.value.id && (t.value.id = w), t.value.args.push(w), a.value = !1;
2613
2613
  }, z = D(-1), j = (w) => z.value === w, X = (w, S) => {
2614
2614
  w === "enter" && (z.value = S), w === "leave" && (z.value = -1);
@@ -2623,10 +2623,10 @@ const Fs = F({ name: "ri-folder6-line", render: Ps }), Us = ["onClick"], Rs = {
2623
2623
  var w;
2624
2624
  (w = e.item) != null && w.id && (t.value = zt(e.item));
2625
2625
  }), (w, S) => {
2626
- const rt = Es, ct = le;
2626
+ const rt = Ts, ct = le;
2627
2627
  return f(), p("div", yo, [
2628
2628
  o("div", xo, [
2629
- o("div", _o, [
2629
+ o("div", $o, [
2630
2630
  b(to, {
2631
2631
  class: "flex-auto min-h-75",
2632
2632
  value: 0,
@@ -2661,7 +2661,7 @@ const Fs = F({ name: "ri-folder6-line", render: Ps }), Us = ["onClick"], Rs = {
2661
2661
  "onUpdate:modelValue": S[1] || (S[1] = (H) => t.value.name = H),
2662
2662
  label: "Name"
2663
2663
  }, null, 8, ["modelValue"]),
2664
- o("div", $o, [
2664
+ o("div", _o, [
2665
2665
  b(te, {
2666
2666
  "model-value": t.value.icon,
2667
2667
  bottom: "0",
@@ -2673,7 +2673,7 @@ const Fs = F({ name: "ri-folder6-line", render: Ps }), Us = ["onClick"], Rs = {
2673
2673
  }, {
2674
2674
  item: y(({ item: H }) => [
2675
2675
  o("div", wo, [
2676
- _(w.$slots, "icon", {
2676
+ $(w.$slots, "icon", {
2677
2677
  icon: H.value
2678
2678
  }),
2679
2679
  o("div", null, k(H.name), 1)
@@ -2711,22 +2711,22 @@ const Fs = F({ name: "ri-folder6-line", render: Ps }), Us = ["onClick"], Rs = {
2711
2711
  o("div", {
2712
2712
  class: B(["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", j(Le) ? "visible opacity-100" : ""])
2713
2713
  }, [
2714
- o("pre", null, k(E(dt)(H, e.object)), 1)
2714
+ o("pre", null, k(T(dt)(H, e.object)), 1)
2715
2715
  ], 2)
2716
2716
  ]),
2717
2717
  Le || t.value.args.length < 2 ? (f(), p("button", {
2718
2718
  key: 0,
2719
2719
  class: "cursor-pointer ms-1",
2720
- onClick: (xa) => $(H)
2720
+ onClick: (xa) => _(H)
2721
2721
  }, [
2722
2722
  b(ct, { class: "size-5" })
2723
- ], 8, Bo)) : T("", !0)
2723
+ ], 8, Bo)) : E("", !0)
2724
2724
  ]))), 128))
2725
2725
  ])
2726
2726
  ]),
2727
2727
  _: 1
2728
2728
  }, 8, ["active", "disabled"]),
2729
- b(_e, {
2729
+ b($e, {
2730
2730
  value: t.value.set,
2731
2731
  args: t.value.args,
2732
2732
  disabled: !i.value || u.value,
@@ -2735,7 +2735,7 @@ const Fs = F({ name: "ri-folder6-line", render: Ps }), Us = ["onClick"], Rs = {
2735
2735
  onHover: X,
2736
2736
  onChange: S[4] || (S[4] = (H) => xe("set", H))
2737
2737
  }, null, 8, ["value", "args", "disabled"]),
2738
- b(_e, {
2738
+ b($e, {
2739
2739
  value: t.value.get,
2740
2740
  args: t.value.args,
2741
2741
  disabled: !i.value,
@@ -2744,7 +2744,7 @@ const Fs = F({ name: "ri-folder6-line", render: Ps }), Us = ["onClick"], Rs = {
2744
2744
  onHover: X,
2745
2745
  onChange: S[6] || (S[6] = (H) => xe("get", H))
2746
2746
  }, null, 8, ["value", "args", "disabled"]),
2747
- b(_e, {
2747
+ b($e, {
2748
2748
  value: t.value.getTo,
2749
2749
  args: t.value.args,
2750
2750
  disabled: !i.value,
@@ -2765,9 +2765,9 @@ const Fs = F({ name: "ri-folder6-line", render: Ps }), Us = ["onClick"], Rs = {
2765
2765
  _: 3
2766
2766
  })
2767
2767
  ]),
2768
- o("div", To, [
2769
- o("div", Eo, [
2770
- _(w.$slots, "default", { item: t.value })
2768
+ o("div", Eo, [
2769
+ o("div", To, [
2770
+ $(w.$slots, "default", { item: t.value })
2771
2771
  ])
2772
2772
  ])
2773
2773
  ]),
@@ -2811,7 +2811,7 @@ const Fs = F({ name: "ri-folder6-line", render: Ps }), Us = ["onClick"], Rs = {
2811
2811
  ])
2812
2812
  ]),
2813
2813
  _: 1
2814
- }, 8, ["title"])) : T("", !0)
2814
+ }, 8, ["title"])) : E("", !0)
2815
2815
  ]);
2816
2816
  };
2817
2817
  }
@@ -2948,40 +2948,44 @@ const Po = () => (e, l) => {
2948
2948
  selectionEnd: v
2949
2949
  };
2950
2950
  }, Uo = [
2951
- { label: "if", type: "keyword", insertText: `if:\${$v0<10};
2951
+ { label: "if", type: "word", insert: `if:\${$v0<10};
2952
2952
 
2953
2953
  else;
2954
2954
 
2955
2955
  end;`, detail: "if:${$v0<10};else;end;" },
2956
- { label: "while", type: "keyword", insertText: `$v0=0;
2956
+ { label: "while", type: "word", insert: `$v0=0;
2957
2957
  while:\${$v0<10};
2958
2958
  log($v0);
2959
2959
  $v0=$v0+1;
2960
2960
  wait(1s);
2961
- end;`, detail: "while" },
2962
- { label: "on", type: "function", insertText: "on('${event}')\nend;", detail: "event" },
2963
- { label: "wait", type: "function", insertText: "wait(${1s})", detail: "delay 1s" },
2964
- { label: "log", type: "function", insertText: "log('${test}')", detail: "log" },
2965
- { label: "len", type: "function", insertText: "len(${$a0})", detail: "length" },
2966
- { label: "set", type: "function", insertText: "set(${$a0}, ${2}, ${10})", detail: "array" },
2967
- { label: "get", type: "function", insertText: "get(${$a0}, ${0})", detail: "array" },
2968
- { label: "ord", type: "function", insertText: "ord(${$s0})", detail: "ord" },
2969
- { label: "chr", type: "function", insertText: "chr(${65})", detail: "chr" },
2970
- { label: "btn_13", type: "event", detail: "btn" },
2971
- { label: "btn_13_1", type: "event", detail: "btn" },
2972
- { label: "btn_13_0", type: "event", detail: "btn" },
2973
- { label: "$v${0}=", type: "variable", detail: "uint" },
2974
- { label: "$i${0}=", type: "variable", detail: "int" },
2975
- { label: "$f${0}=", type: "variable", detail: "float" },
2976
- { label: "$s${0}=", type: "variable", detail: "string" },
2977
- { label: "$p${13}=", type: "variable", detail: "gpio" }
2961
+ end;`, detail: "while:${$v0<2}; end;" },
2962
+ { label: "udp", type: "func", insert: "udp(${},'call(1)')", detail: "udp(id:number, text:string)" },
2963
+ { label: "on", type: "func", insert: `on('\${event}');
2964
+
2965
+ end;`, detail: "event(name: string)" },
2966
+ { label: "wait", type: "func", insert: "wait(${1s});", detail: "wait(10ms | 1s | 1m | 1h)" },
2967
+ { label: "log", type: "func", insert: "log(${});", detail: "log(text: string | number)" },
2968
+ { label: "len", type: "func", insert: "len(${$a0});", detail: "len(arr: array)" },
2969
+ { label: "set", type: "func", insert: "set(${$a0},${2},${10});", detail: "set(arr: array, index: number, value: number)" },
2970
+ { label: "get", type: "func", insert: "get(${$a0},${0});", detail: "get(arr: array, index: number)" },
2971
+ { label: "ord", type: "func", insert: "ord(${$s0});", detail: "ord(char: string)" },
2972
+ { label: "chr", type: "func", insert: "chr(${65});", detail: "chr(v: number)" },
2973
+ // { label: 'btn_13', type: 'event', detail: 'event name' },
2974
+ // { label: 'btn_13_1', type: 'event', detail: 'event name' },
2975
+ // { label: 'btn_13_0', type: 'event', detail: 'event name' },
2976
+ { label: "$v", type: "var", insert: "$v${0}", detail: "var (uint) " },
2977
+ { label: "$i", type: "var", insert: "$i${0}", detail: "var (int)" },
2978
+ { label: "$f", type: "var", insert: "$f${0}", detail: "var (float)" },
2979
+ { label: "$s", type: "var", insert: "$s${0}", detail: "var (string)" },
2980
+ { label: "$a", type: "var", insert: "$a${0}", detail: "var (array)" },
2981
+ { label: "$p", type: "var", insert: "$p${0}", detail: "gpio" }
2978
2982
  ];
2979
- let Te = [], q = null, K = 0, Y = [], ee = null, ne = null, Ee, nt, G = null, ae = null;
2983
+ let Ee = [], q = null, K = 0, Y = [], ee = null, ne = null, Te, nt, G = null, oe = null;
2980
2984
  const Ro = (e) => {
2981
2985
  const { customSuggestions: l = [], minPrefixLength: n = 1, maxSuggestions: s = 20, tabSize: t = 2, tooltip: a = { enabled: !0 }, i18n: r, renderMenu: d, renderTooltip: u } = e;
2982
2986
  if (!d || !u)
2983
2987
  throw new Error("renderMenu and renderTooltip are required");
2984
- return Te = [...Uo, ...l].map((i) => r(i)), Ee = d, nt = u, (i, c) => {
2988
+ return Ee = [...Uo, ...l].map((i) => r(i)), Te = d, nt = u, (i, c) => {
2985
2989
  if (!(c instanceof KeyboardEvent))
2986
2990
  return;
2987
2991
  const { value: m, selectionStart: v } = i, g = c.target;
@@ -2997,13 +3001,13 @@ const Ro = (e) => {
2997
3001
  return c.preventDefault(), K > 0 && (K--, se()), { ...i };
2998
3002
  case "Enter":
2999
3003
  if (c.preventDefault(), Y[K]) {
3000
- const h = $e(i, Y[K]);
3004
+ const h = _e(i, Y[K]);
3001
3005
  return Q(), h;
3002
3006
  }
3003
3007
  return;
3004
3008
  case "Tab":
3005
3009
  if (c.preventDefault(), Y[K]) {
3006
- const h = $e(i, Y[K]);
3010
+ const h = _e(i, Y[K]);
3007
3011
  return Q(), h;
3008
3012
  }
3009
3013
  return;
@@ -3012,7 +3016,7 @@ const Ro = (e) => {
3012
3016
  case "Backspace":
3013
3017
  setTimeout(() => {
3014
3018
  if (ne) {
3015
- const h = ne.value, x = ne.selectionStart, $ = he(h, x), C = h.slice($, x);
3019
+ const h = ne.value, x = ne.selectionStart, _ = he(h, x), C = h.slice(_, x);
3016
3020
  if (C.length < n)
3017
3021
  Q();
3018
3022
  else {
@@ -3032,9 +3036,9 @@ const Ro = (e) => {
3032
3036
  if (x.length > 0) {
3033
3037
  const j = ke(x);
3034
3038
  if (j.length > 0)
3035
- return $e(i, j[0]);
3039
+ return _e(i, j[0]);
3036
3040
  }
3037
- const $ = " ".repeat(t), C = m.slice(0, v) + $ + m.slice(v), z = v + t;
3041
+ const _ = " ".repeat(t), C = m.slice(0, v) + _ + m.slice(v), z = v + t;
3038
3042
  return {
3039
3043
  value: C,
3040
3044
  selectionStart: z,
@@ -3044,7 +3048,7 @@ const Ro = (e) => {
3044
3048
  if (!(c.key.length !== 1 || c.ctrlKey || c.metaKey || c.altKey))
3045
3049
  return ee && clearTimeout(ee), ee = setTimeout(() => {
3046
3050
  ee = null;
3047
- const h = g.value, x = g.selectionStart, $ = he(h, x), C = h.slice($, x);
3051
+ const h = g.value, x = g.selectionStart, _ = he(h, x), C = h.slice(_, x);
3048
3052
  if (C.length < n) {
3049
3053
  Q();
3050
3054
  return;
@@ -3060,7 +3064,7 @@ const Ro = (e) => {
3060
3064
  };
3061
3065
  function ke(e) {
3062
3066
  const l = e.toLowerCase();
3063
- return Te.filter((n) => {
3067
+ return Ee.filter((n) => {
3064
3068
  const s = n.label.toLowerCase();
3065
3069
  return s.startsWith(l) || s.includes(l) || s.split("_").map((t) => t[0]).join("").startsWith(l);
3066
3070
  }).sort((n, s) => {
@@ -3080,7 +3084,7 @@ function he(e, l) {
3080
3084
  function Wo(e, l) {
3081
3085
  Q(), Y = l, K = 0;
3082
3086
  const n = st(e);
3083
- q = Ee(l, K, (s) => {
3087
+ q = Te(l, K, (s) => {
3084
3088
  K = s, se();
3085
3089
  }), Object.assign(q.style, {
3086
3090
  position: "fixed",
@@ -3091,7 +3095,7 @@ function Wo(e, l) {
3091
3095
  }
3092
3096
  function se() {
3093
3097
  if (!q || !ne) return;
3094
- const e = Ee(Y, K, (n) => {
3098
+ const e = Te(Y, K, (n) => {
3095
3099
  K = n, se();
3096
3100
  }), l = q.getBoundingClientRect();
3097
3101
  q.replaceWith(e), q = e, Object.assign(q.style, {
@@ -3101,23 +3105,23 @@ function se() {
3101
3105
  zIndex: "10000"
3102
3106
  });
3103
3107
  }
3104
- function $e(e, l) {
3105
- const { value: n, selectionStart: s } = e, t = he(n, s), a = l.insertText || l.label, r = /\$\{([^}]*)\}/g;
3108
+ function _e(e, l) {
3109
+ const { value: n, selectionStart: s } = e, t = he(n, s), a = l.insert || l.label, r = /\$\{([^}]*)\}/g;
3106
3110
  let d = a;
3107
3111
  const u = [];
3108
3112
  let i;
3109
3113
  for (; (i = r.exec(a)) !== null; ) {
3110
- const h = i[1], x = i.index, $ = i[0].length;
3111
- u.push({ index: x, text: h, length: $ });
3114
+ const h = i[1], x = i.index, _ = i[0].length;
3115
+ u.push({ index: x, text: h, length: _ });
3112
3116
  }
3113
3117
  d = a.replace(/\$\{([^}]*)\}/g, "$1");
3114
3118
  const c = u[0];
3115
3119
  let m = t + d.length, v = t + d.length;
3116
3120
  if (c) {
3117
- let h = 0, x = 0, $ = !1;
3118
- for (; x < a.length && !$; ) {
3121
+ let h = 0, x = 0, _ = !1;
3122
+ for (; x < a.length && !_; ) {
3119
3123
  const C = u.find((z) => z.index === x);
3120
- C ? (h += C.text.length, x += C.length, C === c && (m = t + h - C.text.length, v = t + h, $ = !0)) : (h++, x++);
3124
+ C ? (h += C.text.length, x += C.length, C === c && (m = t + h - C.text.length, v = t + h, _ = !0)) : (h++, x++);
3121
3125
  }
3122
3126
  }
3123
3127
  return {
@@ -3138,39 +3142,38 @@ function st(e) {
3138
3142
  };
3139
3143
  }
3140
3144
  function Oe(e) {
3141
- ae && clearTimeout(ae), ae = setTimeout(() => {
3145
+ oe && clearTimeout(oe), oe = setTimeout(() => {
3142
3146
  const l = e.selectionStart, n = e.selectionEnd;
3143
3147
  if (l === n) {
3144
- oe();
3148
+ re();
3145
3149
  return;
3146
3150
  }
3147
3151
  const s = e.value.substring(l, n).trim();
3148
3152
  if (!s) {
3149
- oe();
3153
+ re();
3150
3154
  return;
3151
3155
  }
3152
- const t = Te.find((d) => d.label === s);
3156
+ const t = Ee.find((d) => d.label === s);
3153
3157
  if (!t) {
3154
- oe();
3158
+ re();
3155
3159
  return;
3156
3160
  }
3157
3161
  const a = st(e), r = nt(t, a);
3158
3162
  r.style.opacity = "0", G && G.remove(), G = r, document.body.appendChild(G), requestAnimationFrame(() => {
3159
3163
  G && (G.style.opacity = "1");
3160
- }), setTimeout(() => oe(), 3e3);
3164
+ }), setTimeout(() => re(), 3e3);
3161
3165
  }, 300);
3162
3166
  }
3163
- function oe() {
3164
- ae && (clearTimeout(ae), ae = null), G && (G.style.opacity = "0", setTimeout(() => {
3167
+ function re() {
3168
+ oe && (clearTimeout(oe), oe = null), G && (G.style.opacity = "0", setTimeout(() => {
3165
3169
  G && (G.remove(), G = null);
3166
3170
  }, 150));
3167
3171
  }
3168
3172
  document.addEventListener("mousedown", (e) => {
3169
3173
  const l = e.target;
3170
- q && !q.contains(l) && Q(), G && !G.contains(l) && oe();
3174
+ q && !q.contains(l) && Q(), G && !G.contains(l) && re();
3171
3175
  });
3172
- document.addEventListener("scroll", oe, !0);
3173
- const we = (e) => e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;"), Ko = /(\/\/[^\n]*)|('[^'\n]*')|(\b\d+(?:\.\d+)?\b)|(\b(?:on|call|wait|while|log|if|else|end|set|get|len|ord|chr|read_temp|read_hum|read_motion)\b)|(\$[vifsp]\d+)|(\b(?:btn_\d+_\d+|btn_\d+)\b)|([;:(){}])/g, qo = (e) => {
3176
+ const we = (e) => e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;"), Ko = /(\/\/[^\n]*)|('[^'\n]*')|(\b\d+(?:\.\d+)?\b)|(\b(?:on|call|wait|while|log|if|else|end|set|get|len|ord|chr|read_temp|read_hum|read_motion)\b)|(\$[vifspa]\d+)|(\b(?:btn_\d+_\d+|btn_\d+)\b)|([;:(){}])/g, qo = (e) => {
3174
3177
  let l = "", n = 0;
3175
3178
  for (const s of e.matchAll(Ko)) {
3176
3179
  const [t, a, r, d, u, i, c, m] = s;
@@ -3179,9 +3182,9 @@ const we = (e) => e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "
3179
3182
  }
3180
3183
  return l += we(e.slice(n)), l;
3181
3184
  }, ot = {
3182
- keyword: "text-blue-600 dark:text-blue-400",
3183
- function: "text-yellow-600 dark:text-yellow-400",
3184
- variable: "text-cyan-600 dark:text-cyan-400",
3185
+ word: "text-blue-600 dark:text-blue-400",
3186
+ func: "text-yellow-600 dark:text-yellow-400",
3187
+ var: "text-cyan-600 dark:text-cyan-400",
3185
3188
  event: "text-purple-600 dark:text-purple-400"
3186
3189
  }, Go = (e, l, n) => {
3187
3190
  const s = document.createElement("div");
@@ -3320,8 +3323,8 @@ const we = (e) => e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "
3320
3323
  continue;
3321
3324
  }
3322
3325
  if (g && h.includes(":")) {
3323
- const [x, $] = h.split(":").map((C) => C.trim());
3324
- x && $ && (x.toLowerCase().includes("version") && (v.version = $), (x.toLowerCase().includes("обновлено") || x.toLowerCase().includes("updated")) && (v.updated = $));
3326
+ const [x, _] = h.split(":").map((C) => C.trim());
3327
+ x && _ && (x.toLowerCase().includes("version") && (v.version = _), (x.toLowerCase().includes("обновлено") || x.toLowerCase().includes("updated")) && (v.updated = _));
3325
3328
  }
3326
3329
  }
3327
3330
  return v;
@@ -3355,9 +3358,9 @@ const we = (e) => e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "
3355
3358
  }
3356
3359
  }), (c, m) => (f(), p("div", Xo, [
3357
3360
  t.value || a.value ? (f(), p("div", Yo, [
3358
- t.value ? (f(), p("span", Qo, "⏳")) : T("", !0),
3359
- a.value ? (f(), p("span", Zo, "❌ " + k(a.value), 1)) : T("", !0)
3360
- ])) : T("", !0),
3361
+ t.value ? (f(), p("span", Qo, "⏳")) : E("", !0),
3362
+ a.value ? (f(), p("span", Zo, "❌ " + k(a.value), 1)) : E("", !0)
3363
+ ])) : E("", !0),
3361
3364
  o("div", {
3362
3365
  class: "docs-content",
3363
3366
  innerHTML: n.value
@@ -3398,7 +3401,7 @@ const we = (e) => e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "
3398
3401
  onClick: (u) => t(d, u)
3399
3402
  }, {
3400
3403
  default: y(({ item: u }) => [
3401
- _(a.$slots, "default", { item: u }, () => [
3404
+ $(a.$slots, "default", { item: u }, () => [
3402
3405
  I(k(u.name), 1)
3403
3406
  ])
3404
3407
  ]),
@@ -3457,7 +3460,7 @@ const oa = F({ name: "ri-arrow-drop-down-line", render: sa }), aa = { class: "v-
3457
3460
  ]),
3458
3461
  o("div", aa, [
3459
3462
  o("div", ia, [
3460
- _(a.$slots, "default")
3463
+ $(a.$slots, "default")
3461
3464
  ])
3462
3465
  ])
3463
3466
  ], 512);
@@ -3518,13 +3521,13 @@ const oa = F({ name: "ri-arrow-drop-down-line", render: sa }), aa = { class: "v-
3518
3521
  onDragover: v[0] || (v[0] = N(() => {
3519
3522
  }, ["prevent"]))
3520
3523
  }, [
3521
- _(m.$slots, "default", {
3524
+ $(m.$slots, "default", {
3522
3525
  item: g,
3523
3526
  key: g.id,
3524
3527
  index: h,
3525
3528
  isDragging: s.value === g.id
3526
3529
  }),
3527
- a.value === h && s.value !== g.id ? (f(), p("div", ca)) : T("", !0)
3530
+ a.value === h && s.value !== g.id ? (f(), p("div", ca)) : E("", !0)
3528
3531
  ], 42, ra))), 128))
3529
3532
  ]),
3530
3533
  _: 3
@@ -3550,7 +3553,7 @@ const oa = F({ name: "ri-arrow-drop-down-line", render: sa }), aa = { class: "v-
3550
3553
  key: i,
3551
3554
  class: B(["py-2 whitespace-nowrap text-gray-500 dark:text-gray-400 font-normal px-4", t(u)])
3552
3555
  }, [
3553
- _(r.$slots, "header", {
3556
+ $(r.$slots, "header", {
3554
3557
  item: u,
3555
3558
  i
3556
3559
  }, () => [
@@ -3570,7 +3573,7 @@ const oa = F({ name: "ri-arrow-drop-down-line", render: sa }), aa = { class: "v-
3570
3573
  class: "py-2 px-4"
3571
3574
  }, [
3572
3575
  o("div", ha, [
3573
- _(r.$slots, c.key, {
3576
+ $(r.$slots, c.key, {
3574
3577
  item: u,
3575
3578
  i
3576
3579
  }, () => [
@@ -3581,7 +3584,7 @@ const oa = F({ name: "ri-arrow-drop-down-line", render: sa }), aa = { class: "v-
3581
3584
  ], 8, pa))), 128)) : (f(), p("tr", ga, [
3582
3585
  o("td", ba, [
3583
3586
  o("div", ya, [
3584
- _(r.$slots, "empty", {}, () => [
3587
+ $(r.$slots, "empty", {}, () => [
3585
3588
  d[0] || (d[0] = I("The list is empty", -1))
3586
3589
  ])
3587
3590
  ])
@@ -3602,7 +3605,7 @@ const oa = F({ name: "ri-arrow-drop-down-line", render: sa }), aa = { class: "v-
3602
3605
  }, s = () => {
3603
3606
  l.value = !1;
3604
3607
  }, t = Ue("tooltip");
3605
- return _t(t, () => s()), (a, r) => (f(), p("div", {
3608
+ return $t(t, () => s()), (a, r) => (f(), p("div", {
3606
3609
  ref: "tooltip",
3607
3610
  class: "relative v-tooltip",
3608
3611
  onMouseenter: n,
@@ -3612,9 +3615,9 @@ const oa = F({ name: "ri-arrow-drop-down-line", render: sa }), aa = { class: "v-
3612
3615
  type: "button",
3613
3616
  onClick: n
3614
3617
  }, [
3615
- _(a.$slots, "activator")
3618
+ $(a.$slots, "activator")
3616
3619
  ]),
3617
- b(ie, {
3620
+ b(ae, {
3618
3621
  "enter-active-class": "duration-300 ease-out",
3619
3622
  "enter-from-class": "transform opacity-0 -translate-y-2",
3620
3623
  "enter-to-class": "opacity-100 translate-y-0",
@@ -3623,7 +3626,7 @@ const oa = F({ name: "ri-arrow-drop-down-line", render: sa }), aa = { class: "v-
3623
3626
  "leave-to-class": "transform opacity-0 -translate-y-2"
3624
3627
  }, {
3625
3628
  default: y(() => [
3626
- _(a.$slots, "default", { show: l.value })
3629
+ $(a.$slots, "default", { show: l.value })
3627
3630
  ]),
3628
3631
  _: 3
3629
3632
  })
@@ -3654,14 +3657,14 @@ export {
3654
3657
  Ba as AppNav,
3655
3658
  Sa as AppNotification,
3656
3659
  Va as AppOverlay,
3657
- Ta as AppProgress,
3660
+ Ea as AppProgress,
3658
3661
  Ia as BlockBreadcrumb,
3659
- Ea as BlockInfo,
3662
+ Ta as BlockInfo,
3660
3663
  La as BlockScan,
3661
3664
  Ma as BlockService,
3662
3665
  Aa as BlockStatus,
3663
3666
  Da as BlockUpdate,
3664
- re as CardBase,
3667
+ ie as CardBase,
3665
3668
  Oa as CardButton,
3666
3669
  ja as CardDate,
3667
3670
  Ha as CardDimmer,
@@ -3681,7 +3684,7 @@ export {
3681
3684
  be as VDropdown,
3682
3685
  qa as VExpansion,
3683
3686
  On as VFile,
3684
- _e as VFunc,
3687
+ $e as VFunc,
3685
3688
  Se as VIconLogo,
3686
3689
  qe as VIconLogoMini,
3687
3690
  me as VList,