vuesp-components 2.3.3 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,20 +1,20 @@
1
- import { defineComponent as M, resolveComponent as Ae, openBlock as p, createElementBlock as v, Fragment as B, createCommentVNode as z, createElementVNode as a, normalizeClass as T, createVNode as g, withCtx as x, createBlock as I, renderSlot as k, markRaw as O, computed as E, withModifiers as F, toDisplayString as _, unref as q, TransitionGroup as De, renderList as N, mergeProps as j, ref as L, watch as ae, resolveDynamicComponent as me, Transition as ke, normalizeStyle as ve, createTextVNode as H, normalizeProps as K, guardReactiveProps as R, onMounted as Q, onUnmounted as we, reactive as nt, useTemplateRef as Ie, withDirectives as he, vShow as lt, vModelText as He, createSlots as st, isRef as at, useModel as ot, vModelDynamic as it, mergeModels as rt, Teleport as dt, nextTick as je } from "vue";
2
- import { a as ct, V as Pe, j as A, h as Ne, g as Ce, k as ce, l as ut, d as mt, i as pt, e as se, _ as Oe, f as J } from "../VDialog.vue_vue_type_script_setup_true_lang-DFNvEwYK.js";
3
- import { b as Jo, m as Zo } from "../VDialog.vue_vue_type_script_setup_true_lang-DFNvEwYK.js";
4
- import { f as ft, t as vt, g as ht, u as pe, s as gt, d as bt, m as xt, c as yt } from "../app-B45sALrX.js";
5
- import { d as Me, e as _t, o as $t } from "../useDialog-ALG4kFE7.js";
6
- import { getDataValue as kt } from "../dashboard/index.es.js";
7
- import { useForm as wt } from "../composables/index.es.js";
8
- import { required as Ct, maxLen as Mt } from "../validate/index.es.js";
9
- const zt = { class: "no-scrollbar flex flex-col overflow-y-auto duration-300 ease-linear h-full" }, ho = /* @__PURE__ */ M({
1
+ import { defineComponent as S, resolveComponent as Ae, openBlock as p, createElementBlock as v, Fragment as B, createCommentVNode as V, createElementVNode as o, normalizeClass as E, createVNode as g, withCtx as x, createBlock as I, renderSlot as k, markRaw as O, computed as M, withModifiers as R, toDisplayString as _, unref as q, TransitionGroup as De, renderList as N, mergeProps as H, ref as L, watch as oe, resolveDynamicComponent as ue, Transition as $e, normalizeStyle as ve, createTextVNode as j, normalizeProps as F, guardReactiveProps as U, onMounted as Q, onUnmounted as ke, reactive as nt, useTemplateRef as Ie, withDirectives as we, vShow as st, vModelText as je, createSlots as lt, isRef as ot, Teleport as at, nextTick as He } from "vue";
2
+ import { a as it, V as Pe, j as A, h as Ne, g as Ce, k as de, l as rt, d as dt, i as ct, e as le, _ as Oe, f as J, m as me } from "../VDialog.vue_vue_type_script_setup_true_lang-B-VlZkin.js";
3
+ import { b as ja, n as Ha } from "../VDialog.vue_vue_type_script_setup_true_lang-B-VlZkin.js";
4
+ import { f as ut, t as mt, g as pt, u as pe, s as ft, d as vt, m as ht, c as gt } from "../app-B45sALrX.js";
5
+ import { d as Se, e as bt, o as xt } from "../useDialog-ALG4kFE7.js";
6
+ import { getDataValue as yt } from "../dashboard/index.es.js";
7
+ import { useForm as _t } from "../composables/index.es.js";
8
+ import { required as $t, maxLen as kt } from "../validate/index.es.js";
9
+ const wt = { class: "no-scrollbar flex flex-col overflow-y-auto duration-300 ease-linear h-full" }, aa = /* @__PURE__ */ S({
10
10
  __name: "AppAside",
11
11
  props: {
12
12
  isSidebar: { type: Boolean, default: !1 }
13
13
  },
14
14
  emits: ["sidebar"],
15
15
  setup(e, { emit: n }) {
16
- const s = n, l = () => {
17
- e.isSidebar && s("sidebar", !e.isSidebar);
16
+ const l = n, s = () => {
17
+ e.isSidebar && l("sidebar", !e.isSidebar);
18
18
  };
19
19
  return (t, r) => {
20
20
  const c = Ae("router-link");
@@ -22,17 +22,17 @@ const zt = { class: "no-scrollbar flex flex-col overflow-y-auto duration-300 eas
22
22
  e.isSidebar ? (p(), v("div", {
23
23
  key: 0,
24
24
  class: "lg:hidden overlay fixed left-0 top-0 h-full w-full bg-black/40 z-10 bg-blur",
25
- onClick: l
26
- })) : z("", !0),
27
- a("aside", {
28
- class: T([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/70 bg-white/70 px-5 backdrop-blur-2xl transition-all duration-350 lg:translate-x-0 dark:border-white/10 dark:bg-[#07112c]/70"])
25
+ onClick: s
26
+ })) : V("", !0),
27
+ o("aside", {
28
+ class: E([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/70 bg-white/70 px-5 backdrop-blur-2xl transition-all duration-350 lg:translate-x-0 dark:border-white/10 dark:bg-[#07112c]/70"])
29
29
  }, [
30
- a("div", {
31
- class: T([e.isSidebar ? "justify-center" : "justify-between", "sidebar-header flex items-center gap-2 border-b border-gray-200/60 pt-6 pb-6 justify-between dark:border-white/5"])
30
+ o("div", {
31
+ class: E([e.isSidebar ? "justify-center" : "justify-between", "sidebar-header flex items-center gap-2 border-b border-gray-200/60 pt-6 pb-6 justify-between dark:border-white/5"])
32
32
  }, [
33
33
  g(c, { to: "/" }, {
34
34
  default: x(() => [
35
- e.isSidebar ? (p(), I(ct, {
35
+ e.isSidebar ? (p(), I(it, {
36
36
  key: 0,
37
37
  class: "h-[30px] text-primary"
38
38
  })) : (p(), I(Pe, {
@@ -43,92 +43,92 @@ const zt = { class: "no-scrollbar flex flex-col overflow-y-auto duration-300 eas
43
43
  _: 1
44
44
  })
45
45
  ], 2),
46
- a("div", zt, [
46
+ o("div", wt, [
47
47
  k(t.$slots, "default")
48
48
  ])
49
49
  ], 2)
50
50
  ], 64);
51
51
  };
52
52
  }
53
- }), St = {
53
+ }), Ct = {
54
54
  viewBox: "0 0 24 24",
55
55
  width: "1.2em",
56
56
  height: "1.2em"
57
57
  };
58
- function Vt(e, n) {
59
- return p(), v("svg", St, [...n[0] || (n[0] = [
60
- a("path", {
58
+ function St(e, n) {
59
+ return p(), v("svg", Ct, [...n[0] || (n[0] = [
60
+ o("path", {
61
61
  fill: "currentColor",
62
62
  d: "M4.5 10.5c-.825 0-1.5.675-1.5 1.5s.675 1.5 1.5 1.5S6 12.825 6 12s-.675-1.5-1.5-1.5m15 0c-.825 0-1.5.675-1.5 1.5s.675 1.5 1.5 1.5S21 12.825 21 12s-.675-1.5-1.5-1.5m-7.5 0c-.825 0-1.5.675-1.5 1.5s.675 1.5 1.5 1.5s1.5-.675 1.5-1.5s-.675-1.5-1.5-1.5"
63
63
  }, null, -1)
64
64
  ])]);
65
65
  }
66
- const Ue = O({ name: "ri-more-line", render: Vt }), Tt = {
66
+ const Ke = O({ name: "ri-more-line", render: St }), zt = {
67
67
  viewBox: "0 0 24 24",
68
68
  width: "1.2em",
69
69
  height: "1.2em"
70
70
  };
71
- function Lt(e, n) {
72
- return p(), v("svg", Tt, [...n[0] || (n[0] = [
73
- a("path", {
71
+ function Vt(e, n) {
72
+ return p(), v("svg", zt, [...n[0] || (n[0] = [
73
+ o("path", {
74
74
  fill: "currentColor",
75
75
  d: "M4 18h2v2h12V4H6v2H4V3a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1zm2-7h7v2H6v3l-5-4l5-4z"
76
76
  }, null, -1)
77
77
  ])]);
78
78
  }
79
- const Et = O({ name: "ri-logout-box-line", render: Lt }), Bt = {
79
+ const Tt = O({ name: "ri-logout-box-line", render: Vt }), Et = {
80
80
  viewBox: "0 0 24 24",
81
81
  width: "1.2em",
82
82
  height: "1.2em"
83
83
  };
84
- function At(e, n) {
85
- return p(), v("svg", Bt, [...n[0] || (n[0] = [
86
- a("path", {
84
+ function Lt(e, n) {
85
+ return p(), v("svg", Et, [...n[0] || (n[0] = [
86
+ o("path", {
87
87
  fill: "currentColor",
88
88
  d: "M5 18h14v-6.969C19 7.148 15.866 4 12 4s-7 3.148-7 7.031zm7-16c4.97 0 9 4.043 9 9.031V20H3v-8.969C3 6.043 7.03 2 12 2M9.5 21h5a2.5 2.5 0 0 1-5 0"
89
89
  }, null, -1)
90
90
  ])]);
91
91
  }
92
- const Ke = O({ name: "ri-notification-line", render: At }), Dt = {
92
+ const Fe = O({ name: "ri-notification-line", render: Lt }), Bt = {
93
93
  viewBox: "0 0 24 24",
94
94
  width: "1.2em",
95
95
  height: "1.2em"
96
96
  };
97
- function It(e, n) {
98
- return p(), v("svg", Dt, [...n[0] || (n[0] = [
99
- a("path", {
97
+ function Mt(e, n) {
98
+ return p(), v("svg", Bt, [...n[0] || (n[0] = [
99
+ o("path", {
100
100
  fill: "currentColor",
101
101
  d: "M10 7a7 7 0 0 0 12 4.9v.1c0 5.523-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2h.1A6.98 6.98 0 0 0 10 7m-6 5a8 8 0 0 0 15.062 3.762A9 9 0 0 1 8.238 4.938A8 8 0 0 0 4 12"
102
102
  }, null, -1)
103
103
  ])]);
104
104
  }
105
- const Ht = O({ name: "ri-moon-line", render: It }), jt = {
105
+ const At = O({ name: "ri-moon-line", render: Mt }), Dt = {
106
106
  viewBox: "0 0 24 24",
107
107
  width: "1.2em",
108
108
  height: "1.2em"
109
109
  };
110
- function Pt(e, n) {
111
- return p(), v("svg", jt, [...n[0] || (n[0] = [
112
- a("path", {
110
+ function It(e, n) {
111
+ return p(), v("svg", Dt, [...n[0] || (n[0] = [
112
+ o("path", {
113
113
  fill: "currentColor",
114
114
  d: "M12 18a6 6 0 1 1 0-12a6 6 0 0 1 0 12m0-2a4 4 0 1 0 0-8a4 4 0 0 0 0 8M11 1h2v3h-2zm0 19h2v3h-2zM3.515 4.929l1.414-1.414L7.05 5.636L5.636 7.05zM16.95 18.364l1.414-1.414l2.121 2.121l-1.414 1.414zm2.121-14.85l1.414 1.415l-2.121 2.121l-1.414-1.414zM5.636 16.95l1.414 1.414l-2.121 2.121l-1.414-1.414zM23 11v2h-3v-2zM4 11v2H1v-2z"
115
115
  }, null, -1)
116
116
  ])]);
117
117
  }
118
- const Nt = O({ name: "ri-sun-line", render: Pt }), Ot = {
118
+ const jt = O({ name: "ri-sun-line", render: It }), Ht = {
119
119
  viewBox: "0 0 24 24",
120
120
  width: "1.2em",
121
121
  height: "1.2em"
122
122
  };
123
- function Ut(e, n) {
124
- return p(), v("svg", Ot, [...n[0] || (n[0] = [
125
- a("path", {
123
+ function Pt(e, n) {
124
+ return p(), v("svg", Ht, [...n[0] || (n[0] = [
125
+ o("path", {
126
126
  fill: "currentColor",
127
127
  d: "M3 4h18v2H3zm0 7h18v2H3zm0 7h18v2H3z"
128
128
  }, null, -1)
129
129
  ])]);
130
130
  }
131
- const Kt = O({ name: "ri-menu-line", render: Ut }), Rt = { class: "glass-header relative sticky top-0 left-0 z-10 w-full border-b shadow-[0_20px_60px_-35px_rgba(0,0,0,0.9)]" }, Ft = { class: "px-4 py-4 sm:px-6 lg:px-8" }, Wt = { class: "container mx-auto flex flex-auto items-center" }, qt = { class: "lg:hidden h-[30px]" }, Gt = { class: "gap-4 hidden lg:flex" }, Jt = { class: "lg:hidden flex gap-4" }, Zt = { class: "ms-2" }, go = /* @__PURE__ */ M({
131
+ const Nt = O({ name: "ri-menu-line", render: Pt }), Ot = { class: "glass-header relative sticky top-0 left-0 z-10 w-full border-b shadow-[0_20px_60px_-35px_rgba(0,0,0,0.9)]" }, Kt = { class: "px-4 py-4 sm:px-6 lg:px-8" }, Ft = { class: "container mx-auto flex flex-auto items-center" }, Ut = { class: "lg:hidden h-[30px]" }, Rt = { class: "gap-4 hidden lg:flex" }, Wt = { class: "lg:hidden flex gap-4" }, qt = { class: "ms-2" }, ia = /* @__PURE__ */ S({
132
132
  __name: "AppHeader",
133
133
  props: {
134
134
  changeTheme: { type: Function },
@@ -136,21 +136,21 @@ const Kt = O({ name: "ri-menu-line", render: Ut }), Rt = { class: "glass-header
136
136
  },
137
137
  emits: ["sidebar", "notif"],
138
138
  setup(e, { emit: n }) {
139
- const s = n, l = [
139
+ const l = n, s = [
140
140
  { name: "Theme", value: 1 },
141
141
  { name: "Notification", value: 2 },
142
142
  { name: "Logout", value: 3 }
143
- ], t = E(() => !!e.notifications.find((i) => i.isNew)), r = (i) => s("sidebar", i), c = (i) => s("notif", i), d = async () => await fetch("/", { headers: { Authorization: "Basic AAAAAAAAAAAAAAAAAAA=" } }), m = () => {
143
+ ], t = M(() => !!e.notifications.find((i) => i.isNew)), r = (i) => l("sidebar", i), c = (i) => l("notif", i), d = async () => await fetch("/", { headers: { Authorization: "Basic AAAAAAAAAAAAAAAAAAA=" } }), m = () => {
144
144
  e.changeTheme && e.changeTheme();
145
- }, o = ({ value: i }, u) => {
145
+ }, a = ({ value: i }, u) => {
146
146
  i == 1 && m(), i == 2 && c(u), i == 3 && d();
147
147
  };
148
148
  return (i, u) => {
149
- const f = Kt, b = Ae("router-link"), h = Nt, y = Ht, S = Ke, V = Et, w = Ue;
150
- return p(), v("header", Rt, [
151
- u[3] || (u[3] = a("div", { class: "pointer-events-none absolute inset-x-0 top-0 h-px bg-gradient-to-r from-transparent via-white/35 to-transparent" }, null, -1)),
152
- a("div", Ft, [
153
- a("div", Wt, [
149
+ const f = Nt, b = Ae("router-link"), h = jt, y = At, z = Fe, T = Tt, w = Ke;
150
+ return p(), v("header", Ot, [
151
+ u[3] || (u[3] = o("div", { class: "pointer-events-none absolute inset-x-0 top-0 h-px bg-gradient-to-r from-transparent via-white/35 to-transparent" }, null, -1)),
152
+ o("div", Kt, [
153
+ o("div", Ft, [
154
154
  g(A, {
155
155
  type: "icon",
156
156
  onClick: r
@@ -160,8 +160,8 @@ const Kt = O({ name: "ri-menu-line", render: Ut }), Rt = { class: "glass-header
160
160
  ]),
161
161
  _: 1
162
162
  }),
163
- u[1] || (u[1] = a("div", { class: "lg:hidden flex-auto" }, null, -1)),
164
- a("div", qt, [
163
+ u[1] || (u[1] = o("div", { class: "lg:hidden flex-auto" }, null, -1)),
164
+ o("div", Ut, [
165
165
  g(b, { to: "/" }, {
166
166
  default: x(() => [
167
167
  g(Pe, { class: "h-[30px] text-primary" })
@@ -169,8 +169,8 @@ const Kt = O({ name: "ri-menu-line", render: Ut }), Rt = { class: "glass-header
169
169
  _: 1
170
170
  })
171
171
  ]),
172
- u[2] || (u[2] = a("div", { class: "flex-auto" }, null, -1)),
173
- a("div", Gt, [
172
+ u[2] || (u[2] = o("div", { class: "flex-auto" }, null, -1)),
173
+ o("div", Rt, [
174
174
  g(A, {
175
175
  type: "icon",
176
176
  onClick: m
@@ -186,26 +186,26 @@ const Kt = O({ name: "ri-menu-line", render: Ut }), Rt = { class: "glass-header
186
186
  onClick: c
187
187
  }, {
188
188
  default: x(() => [
189
- a("span", {
190
- class: T([t.value ? "flex" : "hidden", "absolute right-0 top-0.5 z-1 h-2 w-2 rounded-full bg-orange-400"])
189
+ o("span", {
190
+ class: E([t.value ? "flex" : "hidden", "absolute right-0 top-0.5 z-1 h-2 w-2 rounded-full bg-orange-400"])
191
191
  }, [...u[0] || (u[0] = [
192
- a("span", { class: "absolute -z-1 inline-flex h-full w-full animate-ping rounded-full bg-orange-400 opacity-75" }, null, -1)
192
+ o("span", { class: "absolute -z-1 inline-flex h-full w-full animate-ping rounded-full bg-orange-400 opacity-75" }, null, -1)
193
193
  ])], 2),
194
- g(S, { class: "size-5" })
194
+ g(z, { class: "size-5" })
195
195
  ]),
196
196
  _: 1
197
197
  }),
198
198
  g(A, {
199
199
  type: "icon",
200
- onClick: F(d, ["prevent"])
200
+ onClick: R(d, ["prevent"])
201
201
  }, {
202
202
  default: x(() => [
203
- g(V, { class: "size-5" })
203
+ g(T, { class: "size-5" })
204
204
  ]),
205
205
  _: 1
206
206
  })
207
207
  ]),
208
- a("div", Jt, [
208
+ o("div", Wt, [
209
209
  g(Ne, {
210
210
  left: "unset",
211
211
  right: "0",
@@ -225,11 +225,11 @@ const Kt = O({ name: "ri-menu-line", render: Ut }), Rt = { class: "glass-header
225
225
  ]),
226
226
  default: x(() => [
227
227
  g(Ce, {
228
- items: l,
229
- onClick: o
228
+ items: s,
229
+ onClick: a
230
230
  }, {
231
231
  default: x(({ item: P }) => [
232
- a("span", Zt, _(P.name), 1)
232
+ o("span", qt, _(P.name), 1)
233
233
  ]),
234
234
  _: 1
235
235
  })
@@ -242,7 +242,7 @@ const Kt = O({ name: "ri-menu-line", render: Ut }), Rt = { class: "glass-header
242
242
  ]);
243
243
  };
244
244
  }
245
- }), Xt = { class: "relative flex items-center gap-2 w-full p-2 overflow-hidden" }, Yt = { class: "flex-auto text-xs" }, Qt = { class: "text-gray-500 dark:text-gray-400 mt-1" }, en = /* @__PURE__ */ M({
245
+ }), Gt = { class: "relative flex items-center gap-2 w-full p-2 overflow-hidden" }, Jt = { class: "flex-auto text-xs" }, Zt = { class: "text-gray-500 dark:text-gray-400 mt-1" }, Xt = /* @__PURE__ */ S({
246
246
  __name: "CardNotification",
247
247
  props: {
248
248
  empty: {},
@@ -255,12 +255,12 @@ const Kt = O({ name: "ri-menu-line", render: Ut }), Rt = { class: "glass-header
255
255
  },
256
256
  emits: ["remove", "read"],
257
257
  setup(e, { emit: n }) {
258
- const s = e, l = n, t = ["", "bg-green-500", "bg-red-500", "bg-yellow-500", "bg-blue-500"], r = (m) => t[m], c = (m) => l("remove", m), d = (m) => l("read", m);
259
- return (m, o) => {
260
- const i = Ke, u = ce;
261
- return p(), v("div", Xt, [
262
- a("div", {
263
- class: T(["absolute left-0 top-0 w-[3px] h-full", r(s.color)])
258
+ const l = e, s = n, t = ["", "bg-green-500", "bg-red-500", "bg-yellow-500", "bg-blue-500"], r = (m) => t[m], c = (m) => s("remove", m), d = (m) => s("read", m);
259
+ return (m, a) => {
260
+ const i = Fe, u = de;
261
+ return p(), v("div", Gt, [
262
+ o("div", {
263
+ class: E(["absolute left-0 top-0 w-[3px] h-full", r(l.color)])
264
264
  }, null, 2),
265
265
  g(A, {
266
266
  class: "shrink-0",
@@ -268,18 +268,18 @@ const Kt = O({ name: "ri-menu-line", render: Ut }), Rt = { class: "glass-header
268
268
  onClick: d
269
269
  }, {
270
270
  default: x(() => [
271
- a("span", {
272
- class: T([s.isNew ? "flex" : "hidden", "absolute right-0 top-0.5 z-1 h-2 w-2 rounded-full bg-orange-400"])
273
- }, [...o[0] || (o[0] = [
274
- a("span", { class: "absolute -z-1 inline-flex h-full w-full animate-ping rounded-full bg-orange-400 opacity-75" }, null, -1)
271
+ o("span", {
272
+ class: E([l.isNew ? "flex" : "hidden", "absolute right-0 top-0.5 z-1 h-2 w-2 rounded-full bg-orange-400"])
273
+ }, [...a[0] || (a[0] = [
274
+ o("span", { class: "absolute -z-1 inline-flex h-full w-full animate-ping rounded-full bg-orange-400 opacity-75" }, null, -1)
275
275
  ])], 2),
276
276
  g(i, { class: "size-5" })
277
277
  ]),
278
278
  _: 1
279
279
  }),
280
- a("div", Yt, [
281
- a("div", null, _(s.text), 1),
282
- a("div", Qt, _(q(ft)(s.date)) + " (" + _(q(vt)(s.date)) + ")", 1)
280
+ o("div", Jt, [
281
+ o("div", null, _(l.text), 1),
282
+ o("div", Zt, _(q(ut)(l.date)) + " (" + _(q(mt)(l.date)) + ")", 1)
283
283
  ]),
284
284
  g(A, {
285
285
  class: "shrink-0",
@@ -295,10 +295,10 @@ const Kt = O({ name: "ri-menu-line", render: Ut }), Rt = { class: "glass-header
295
295
  ]);
296
296
  };
297
297
  }
298
- }), tn = { class: "no-scrollbar flex flex-col overflow-y-auto duration-300 ease-linear h-full" }, nn = {
298
+ }), Yt = { class: "no-scrollbar flex flex-col overflow-y-auto duration-300 ease-linear h-full" }, Qt = {
299
299
  key: 0,
300
300
  class: "flex flex-col gap-2 p-2"
301
- }, bo = /* @__PURE__ */ M({
301
+ }, ra = /* @__PURE__ */ S({
302
302
  __name: "AppNotification",
303
303
  props: {
304
304
  value: { type: Boolean },
@@ -306,19 +306,19 @@ const Kt = O({ name: "ri-menu-line", render: Ut }), Rt = { class: "glass-header
306
306
  },
307
307
  emits: ["close", "remove", "read"],
308
308
  setup(e, { emit: n }) {
309
- const s = e, l = n, t = E(() => !!s.notifications.find((o) => o.isNew)), r = E(() => !!s.notifications.length), c = (o) => l("close", o), d = (o) => l("remove", o), m = (o) => l("read", o);
310
- return (o, i) => (p(), v(B, null, [
311
- s.value ? (p(), v("div", {
309
+ const l = e, s = n, t = M(() => !!l.notifications.find((a) => a.isNew)), r = M(() => !!l.notifications.length), c = (a) => s("close", a), d = (a) => s("remove", a), m = (a) => s("read", a);
310
+ return (a, i) => (p(), v(B, null, [
311
+ l.value ? (p(), v("div", {
312
312
  key: 0,
313
313
  class: "overlay fixed left-0 top-0 h-full w-full bg-black/40 bg-blur",
314
314
  onClick: c
315
- })) : z("", !0),
316
- a("aside", {
317
- class: T([s.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/70 flex-col overflow-y-auto transition-all duration-350 dark:border-white/10 bg-white/90 backdrop-blur-2xl dark:bg-[#07112c]/80"])
315
+ })) : V("", !0),
316
+ o("aside", {
317
+ class: E([l.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/70 flex-col overflow-y-auto transition-all duration-350 dark:border-white/10 bg-white/90 backdrop-blur-2xl dark:bg-[#07112c]/80"])
318
318
  }, [
319
- a("div", tn, [
320
- k(o.$slots, "header", { isNew: t.value }),
321
- r.value ? (p(), v("div", nn, [
319
+ o("div", Yt, [
320
+ k(a.$slots, "header", { isNew: t.value }),
321
+ r.value ? (p(), v("div", Qt, [
322
322
  g(De, {
323
323
  "enter-active-class": "transition-all duration-300 ",
324
324
  "enter-from-class": "opacity-0 translate-x-1/2",
@@ -328,12 +328,12 @@ const Kt = O({ name: "ri-menu-line", render: Ut }), Rt = { class: "glass-header
328
328
  "leave-to-class": "opacity-0 translate-x-1/2"
329
329
  }, {
330
330
  default: x(() => [
331
- (p(!0), v(B, null, N(s.notifications, (u) => (p(), v("div", {
331
+ (p(!0), v(B, null, N(l.notifications, (u) => (p(), v("div", {
332
332
  key: u.date,
333
333
  class: "relative"
334
334
  }, [
335
- k(o.$slots, "card", { item: u }, () => [
336
- g(en, j({ ref_for: !0 }, u, {
335
+ k(a.$slots, "card", { item: u }, () => [
336
+ g(Xt, H({ ref_for: !0 }, u, {
337
337
  class: "rounded-md border border-gray-200/60 bg-white/50 dark:border-white/5 dark:bg-white/[0.03]",
338
338
  onRemove: (f) => d(u),
339
339
  onRead: (f) => m(u)
@@ -343,37 +343,37 @@ const Kt = O({ name: "ri-menu-line", render: Ut }), Rt = { class: "glass-header
343
343
  ]),
344
344
  _: 3
345
345
  })
346
- ])) : k(o.$slots, "empty", {}, void 0, void 0, 1)
346
+ ])) : k(a.$slots, "empty", {}, void 0, void 0, 1)
347
347
  ])
348
348
  ], 2)
349
349
  ], 64));
350
350
  }
351
- }), ln = {}, sn = { class: "fixed h-full w-full top-0 left-0 z-20" }, an = { class: "absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2" };
352
- function on(e, n) {
353
- return p(), v("div", sn, [
354
- n[0] || (n[0] = a("div", { class: "absolute h-full w-full top-0 left-0 bg-black/60 bg-blur" }, null, -1)),
355
- a("div", an, [
351
+ }), en = {}, tn = { class: "fixed h-full w-full top-0 left-0 z-20" }, nn = { class: "absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2" };
352
+ function sn(e, n) {
353
+ return p(), v("div", tn, [
354
+ n[0] || (n[0] = o("div", { class: "absolute h-full w-full top-0 left-0 bg-black/60 bg-blur" }, null, -1)),
355
+ o("div", nn, [
356
356
  k(e.$slots, "default")
357
357
  ])
358
358
  ]);
359
359
  }
360
- const xo = /* @__PURE__ */ ut(ln, [["render", on]]), rn = {
360
+ const da = /* @__PURE__ */ rt(en, [["render", sn]]), ln = {
361
361
  viewBox: "0 0 24 24",
362
362
  width: "1.2em",
363
363
  height: "1.2em"
364
364
  };
365
- function dn(e, n) {
366
- return p(), v("svg", rn, [...n[0] || (n[0] = [
367
- a("path", {
365
+ function on(e, n) {
366
+ return p(), v("svg", ln, [...n[0] || (n[0] = [
367
+ o("path", {
368
368
  fill: "currentColor",
369
369
  d: "m13.172 12l-4.95-4.95l1.414-1.413L16 12l-6.364 6.364l-1.414-1.415z"
370
370
  }, null, -1)
371
371
  ])]);
372
372
  }
373
- const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4 flex flex-col gap-2" }, mn = { class: "size-6 flex-[0_0_24px] opacity-60" }, pn = ["onClick"], fn = { class: "flex flex-col gap-2" }, vn = { class: "flex gap-2 ms-8" }, hn = { class: "size-5 flex-[0_0_24px]" }, gn = { class: "flex-1 first-letter:uppercase text-sm" }, bn = {
373
+ const an = O({ name: "ri-arrow-right-s-line", render: on }), rn = { class: "mb-4 flex flex-col gap-2" }, dn = { class: "size-6 flex-[0_0_24px] opacity-60" }, cn = ["onClick"], un = { class: "flex flex-col gap-2" }, mn = { class: "flex gap-2 ms-8" }, pn = { class: "size-5 flex-[0_0_24px]" }, fn = { class: "flex-1 first-letter:uppercase text-sm" }, vn = {
374
374
  key: 0,
375
375
  class: "mt-2"
376
- }, xn = { class: "flex flex-col gap-2" }, yn = { class: "flex gap-2 ms-14" }, _n = { class: "size-5 flex-[0_0_24px]" }, $n = { class: "flex-1 first-letter:uppercase text-sm" }, yo = /* @__PURE__ */ M({
376
+ }, hn = { class: "flex flex-col gap-2" }, gn = { class: "flex gap-2 ms-14" }, bn = { class: "size-5 flex-[0_0_24px]" }, xn = { class: "flex-1 first-letter:uppercase text-sm" }, ca = /* @__PURE__ */ S({
377
377
  __name: "AppNav",
378
378
  props: {
379
379
  menu: { default: () => [] },
@@ -382,9 +382,9 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
382
382
  },
383
383
  emits: ["sidebar"],
384
384
  setup(e, { emit: n }) {
385
- const s = n, l = L(""), t = ({ name: o }) => {
386
- e.isSidebar && s("sidebar", !e.isSidebar), l.value !== o && (l.value = l.value === o ? "" : o);
387
- }, r = (o) => e.fullPath === o, c = (o) => o ? e.fullPath === o || e.fullPath.startsWith(o) : !1, d = (o, i) => !o.path || i === "/" || o.path === "/" ? !1 : o.path === i || i.includes(o.path), m = (o, i) => (o == null ? void 0 : o.find(
385
+ const l = n, s = L(""), t = ({ name: a }) => {
386
+ e.isSidebar && l("sidebar", !e.isSidebar), s.value !== a && (s.value = s.value === a ? "" : a);
387
+ }, r = (a) => e.fullPath === a, c = (a) => a ? e.fullPath === a || e.fullPath.startsWith(a) : !1, d = (a, i) => !a.path || i === "/" || a.path === "/" ? !1 : a.path === i || i.includes(a.path), m = (a, i) => (a == null ? void 0 : a.find(
388
388
  (u) => {
389
389
  var f;
390
390
  return d(u, i) || ((f = u.children) == null ? void 0 : f.some(
@@ -395,103 +395,103 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
395
395
  ));
396
396
  }
397
397
  )) ?? null;
398
- return ae(
398
+ return oe(
399
399
  () => e.menu,
400
400
  () => {
401
- var o;
402
- return l.value = ((o = m(e.menu, e.fullPath) ?? ht(e.menu, e.fullPath)) == null ? void 0 : o.name) || "";
401
+ var a;
402
+ return s.value = ((a = m(e.menu, e.fullPath) ?? pt(e.menu, e.fullPath)) == null ? void 0 : a.name) || "";
403
403
  }
404
- ), (o, i) => {
405
- const u = cn;
404
+ ), (a, i) => {
405
+ const u = an;
406
406
  return p(), v("nav", null, [
407
- a("ul", un, [
407
+ o("ul", rn, [
408
408
  (p(!0), v(B, null, N(e.menu, (f) => (p(), v("li", {
409
409
  key: f.name
410
410
  }, [
411
- (p(), I(me(f.path ? "router-link" : "span"), {
411
+ (p(), I(ue(f.path ? "router-link" : "span"), {
412
412
  to: f.path,
413
- class: T(["flex gap-2 items-center px-3 py-2 rounded", r(f.path) ? "bg-primary/10 text-primary" : "hover:bg-white/5"]),
414
- onClick: F((b) => t(f), ["prevent", "stop"])
413
+ class: E(["flex gap-2 items-center px-3 py-2 rounded", r(f.path) ? "bg-primary/10 text-primary" : "hover:bg-white/5"]),
414
+ onClick: R((b) => t(f), ["prevent", "stop"])
415
415
  }, {
416
416
  default: x(() => [
417
- a("div", mn, [
418
- k(o.$slots, "icon", { item: f })
417
+ o("div", dn, [
418
+ k(a.$slots, "icon", { item: f })
419
419
  ]),
420
- a("span", {
421
- class: T(["flex-1 first-letter:uppercase text-sm", e.isSidebar ? "lg:hidden" : ""])
420
+ o("span", {
421
+ class: E(["flex-1 first-letter:uppercase text-sm", e.isSidebar ? "lg:hidden" : ""])
422
422
  }, _(f.name), 3),
423
- a("button", {
424
- class: T(["cursor-pointer", [e.isSidebar ? "lg:hidden" : ""]]),
425
- onClick: F((b) => t(f), ["prevent", "stop"])
423
+ o("button", {
424
+ class: E(["cursor-pointer", [e.isSidebar ? "lg:hidden" : ""]]),
425
+ onClick: R((b) => t(f), ["prevent", "stop"])
426
426
  }, [
427
- f.children ? (p(), I(u, { key: 0 })) : z("", !0)
428
- ], 10, pn)
427
+ f.children ? (p(), I(u, { key: 0 })) : V("", !0)
428
+ ], 10, cn)
429
429
  ]),
430
430
  _: 2
431
431
  }, 1032, ["to", "class", "onClick"])),
432
432
  f.children ? (p(), v("div", {
433
433
  key: 0,
434
- class: T(["translate transform overflow-hidden mt-2", [e.isSidebar ? "lg:hidden" : "", l.value === f.name ? "block" : "hidden"]])
434
+ class: E(["translate transform overflow-hidden mt-2", [e.isSidebar ? "lg:hidden" : "", s.value === f.name ? "block" : "hidden"]])
435
435
  }, [
436
- a("ul", fn, [
437
- (p(!0), v(B, null, N(f.children, ({ name: b, path: h, icon: y, children: S }) => (p(), v("li", { key: b }, [
438
- (p(), I(me(h ? "router-link" : "span"), {
436
+ o("ul", un, [
437
+ (p(!0), v(B, null, N(f.children, ({ name: b, path: h, icon: y, children: z }) => (p(), v("li", { key: b }, [
438
+ (p(), I(ue(h ? "router-link" : "span"), {
439
439
  to: h,
440
- class: T(["flex gap-2 items-center px-3 py-2 rounded", r(h) ? "bg-primary/10 text-primary" : "hover:bg-white/5"])
440
+ class: E(["flex gap-2 items-center px-3 py-2 rounded", r(h) ? "bg-primary/10 text-primary" : "hover:bg-white/5"])
441
441
  }, {
442
442
  default: x(() => [
443
- a("div", vn, [
444
- a("div", hn, [
445
- k(o.$slots, "icon-children", {
443
+ o("div", mn, [
444
+ o("div", pn, [
445
+ k(a.$slots, "icon-children", {
446
446
  item: { name: b, path: h, icon: y }
447
447
  })
448
448
  ]),
449
- a("span", gn, _(b), 1)
449
+ o("span", fn, _(b), 1)
450
450
  ])
451
451
  ]),
452
452
  _: 2
453
453
  }, 1032, ["to", "class"])),
454
- S != null && S.length && c(h) ? (p(), v("div", bn, [
455
- a("ul", xn, [
456
- (p(!0), v(B, null, N(S, (V) => (p(), v("li", {
457
- key: V.name
454
+ z != null && z.length && c(h) ? (p(), v("div", vn, [
455
+ o("ul", hn, [
456
+ (p(!0), v(B, null, N(z, (T) => (p(), v("li", {
457
+ key: T.name
458
458
  }, [
459
- (p(), I(me(V.path ? "router-link" : "span"), {
460
- to: V.path,
461
- class: T(["flex gap-2 items-center px-3 py-2 rounded", r(V.path) ? "bg-primary/10 text-primary" : "hover:bg-white/5"])
459
+ (p(), I(ue(T.path ? "router-link" : "span"), {
460
+ to: T.path,
461
+ class: E(["flex gap-2 items-center px-3 py-2 rounded", r(T.path) ? "bg-primary/10 text-primary" : "hover:bg-white/5"])
462
462
  }, {
463
463
  default: x(() => [
464
- a("div", yn, [
465
- a("div", _n, [
466
- k(o.$slots, "icon-children", { item: V })
464
+ o("div", gn, [
465
+ o("div", bn, [
466
+ k(a.$slots, "icon-children", { item: T })
467
467
  ]),
468
- a("span", $n, _(V.name), 1)
468
+ o("span", xn, _(T.name), 1)
469
469
  ])
470
470
  ]),
471
471
  _: 2
472
472
  }, 1032, ["to", "class"]))
473
473
  ]))), 128))
474
474
  ])
475
- ])) : z("", !0)
475
+ ])) : V("", !0)
476
476
  ]))), 128))
477
477
  ])
478
- ], 2)) : z("", !0)
478
+ ], 2)) : V("", !0)
479
479
  ]))), 128))
480
480
  ])
481
481
  ]);
482
482
  };
483
483
  }
484
- }), kn = {
484
+ }), yn = {
485
485
  key: 0,
486
486
  class: "glass-panel w-full min-w-[260px] max-w-xs p-4 shadow-lg",
487
487
  role: "alert"
488
- }, wn = { class: "flex items-center gap-4 text-sm" }, Cn = {
488
+ }, _n = { class: "flex items-center gap-4 text-sm" }, $n = {
489
489
  key: 0,
490
490
  class: "text-green-600"
491
- }, Mn = {
491
+ }, kn = {
492
492
  key: 1,
493
493
  class: "relative mt-2 block h-4 w-full select-none overflow-hidden rounded-md bg-gray-200/70 dark:bg-white/10"
494
- }, zn = { class: "absolute left-[140px] top-1/2 -translate-1/2 text-sm font-bold text-black dark:text-white text-center leading-none" }, Sn = { class: "absolute left-[140px] top-1/2 -translate-1/2 text-sm font-bold text-white text-center leading-none" }, _o = /* @__PURE__ */ M({
494
+ }, wn = { class: "absolute left-[140px] top-1/2 -translate-1/2 text-sm font-bold text-black dark:text-white text-center leading-none" }, Cn = { class: "absolute left-[140px] top-1/2 -translate-1/2 text-sm font-bold text-white text-center leading-none" }, ua = /* @__PURE__ */ S({
495
495
  __name: "AppProgress",
496
496
  props: {
497
497
  timeout: { default: 5e3 },
@@ -502,17 +502,17 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
502
502
  length: { default: 0 }
503
503
  },
504
504
  setup(e) {
505
- const n = L(!1), s = E(() => !!e.length), l = E(() => !!(s.value && t.value === 100 && !e.status)), t = E(() => e.status ? Math.ceil(e.size * 100 / e.length) : 100), r = Me(() => {
505
+ const n = L(!1), l = M(() => !!e.length), s = M(() => !!(l.value && t.value === 100 && !e.status)), t = M(() => e.status ? Math.ceil(e.size * 100 / e.length) : 100), r = Se(() => {
506
506
  n.value = !1;
507
507
  }, e.timeout);
508
- return ae(
508
+ return oe(
509
509
  () => [e.size, e.status],
510
510
  () => {
511
511
  n.value = !0, r();
512
512
  }
513
513
  ), (c, d) => {
514
- const m = ce;
515
- return p(), I(ke, {
514
+ const m = de;
515
+ return p(), I($e, {
516
516
  "enter-active-class": "duration-300 ease-out",
517
517
  "enter-from-class": "transform opacity-0 translate-x-full",
518
518
  "enter-to-class": "opacity-100 translate-x-0",
@@ -521,40 +521,40 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
521
521
  "leave-to-class": "transform opacity-0 -translate-y-8"
522
522
  }, {
523
523
  default: x(() => [
524
- n.value ? (p(), v("div", kn, [
525
- a("div", wn, [
526
- k(c.$slots, "default", { isDone: l.value }, () => [
527
- d[1] || (d[1] = a("div", { class: "flex-auto" }, "Progress...", -1)),
528
- l.value ? (p(), v("span", Cn, "Done")) : z("", !0)
524
+ n.value ? (p(), v("div", yn, [
525
+ o("div", _n, [
526
+ k(c.$slots, "default", { isDone: s.value }, () => [
527
+ d[1] || (d[1] = o("div", { class: "flex-auto" }, "Progress...", -1)),
528
+ s.value ? (p(), v("span", $n, "Done")) : V("", !0)
529
529
  ]),
530
- a("button", {
530
+ o("button", {
531
531
  class: "cursor-pointer transition text-gray-700 dark:text-gray-400 self-start hover:text-gray-600",
532
- onClick: d[0] || (d[0] = (o) => n.value = !1)
532
+ onClick: d[0] || (d[0] = (a) => n.value = !1)
533
533
  }, [
534
534
  g(m, { class: "size-4" })
535
535
  ])
536
536
  ]),
537
- s.value ? (p(), v("div", {
537
+ l.value ? (p(), v("div", {
538
538
  key: 0,
539
539
  class: "h-[2px] fixed top-0 left-0 w-full bg-blue-600 transition-all duration-500",
540
540
  style: ve(`width: ${t.value}%`)
541
- }, null, 4)) : z("", !0),
542
- s.value ? (p(), v("div", Mn, [
543
- a("div", zn, _(t.value) + "%", 1),
544
- a("div", {
541
+ }, null, 4)) : V("", !0),
542
+ l.value ? (p(), v("div", kn, [
543
+ o("div", wn, _(t.value) + "%", 1),
544
+ o("div", {
545
545
  class: "bg-blue-600 rounded h-4 overflow-hidden relative transition-all duration-500",
546
546
  style: ve(`width: ${t.value}%`)
547
547
  }, [
548
- a("div", Sn, _(t.value) + "%", 1)
548
+ o("div", Cn, _(t.value) + "%", 1)
549
549
  ], 4)
550
- ])) : z("", !0)
551
- ])) : z("", !0)
550
+ ])) : V("", !0)
551
+ ])) : V("", !0)
552
552
  ]),
553
553
  _: 3
554
554
  });
555
555
  };
556
556
  }
557
- }), Vn = { class: "my-4 text-gray-700 dark:text-gray-400" }, Tn = { class: "flex flex-col md:flex-row flex-wrap md:gap-4 text-sm" }, Ln = { class: "flex gap-2" }, En = { class: "text-gray-700 dark:text-gray-400" }, Bn = { class: "flex gap-2" }, An = { class: "flex gap-2" }, Dn = { class: "text-gray-700 dark:text-gray-400" }, In = { class: "flex gap-2" }, Hn = { class: "text-gray-700 dark:text-gray-400" }, jn = { class: "flex flex-col gap-4 text-sm" }, Pn = { class: "flex gap-4" }, $o = /* @__PURE__ */ M({
557
+ }), Sn = { class: "my-4 text-gray-700 dark:text-gray-400" }, zn = { class: "flex flex-col md:flex-row flex-wrap md:gap-4 text-sm" }, Vn = { class: "flex gap-2" }, Tn = { class: "text-gray-700 dark:text-gray-400" }, En = { class: "flex gap-2" }, Ln = { class: "flex gap-2" }, Bn = { class: "text-gray-700 dark:text-gray-400" }, Mn = { class: "flex gap-2" }, An = { class: "text-gray-700 dark:text-gray-400" }, Dn = { class: "flex flex-col gap-4 text-sm" }, In = { class: "flex gap-4" }, ma = /* @__PURE__ */ S({
558
558
  __name: "BlockInfo",
559
559
  props: {
560
560
  pkg: {},
@@ -568,85 +568,85 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
568
568
  board: {}
569
569
  },
570
570
  setup(e) {
571
- const n = E(() => e.firmware.join(".")), s = E(() => {
572
- var t, r, c, d, m, o, i;
573
- const l = [];
574
- return (t = e.pkg) != null && t.homepage && l.push({ name: "homepage", href: e.pkg.homepage }), (c = (r = e.pkg) == null ? void 0 : r.repository) != null && c.url && l.push({ name: "repository", href: e.pkg.repository.url }), (m = (d = e.pkg) == null ? void 0 : d.bugs) != null && m.url && l.push({ name: "bugs", href: e.pkg.bugs.url }), (o = e.pkg) != null && o.author && l.push({ name: "author", href: `mailto:${(i = e.pkg) == null ? void 0 : i.author}` }), l;
571
+ const n = M(() => e.firmware.join(".")), l = M(() => {
572
+ var t, r, c, d, m, a, i;
573
+ const s = [];
574
+ return (t = e.pkg) != null && t.homepage && s.push({ name: "homepage", href: e.pkg.homepage }), (c = (r = e.pkg) == null ? void 0 : r.repository) != null && c.url && s.push({ name: "repository", href: e.pkg.repository.url }), (m = (d = e.pkg) == null ? void 0 : d.bugs) != null && m.url && s.push({ name: "bugs", href: e.pkg.bugs.url }), (a = e.pkg) != null && a.author && s.push({ name: "author", href: `mailto:${(i = e.pkg) == null ? void 0 : i.author}` }), s;
575
575
  });
576
- return (l, t) => {
576
+ return (s, t) => {
577
577
  var r, c;
578
578
  return p(), v("div", null, [
579
- a("p", Vn, _((r = e.pkg) == null ? void 0 : r.description), 1),
580
- a("div", Tn, [
581
- a("div", Ln, [
582
- t[0] || (t[0] = H(" Firmware (hw): ", -1)),
583
- a("span", En, _(n.value), 1)
579
+ o("p", Sn, _((r = e.pkg) == null ? void 0 : r.description), 1),
580
+ o("div", zn, [
581
+ o("div", Vn, [
582
+ t[0] || (t[0] = j(" Firmware (hw): ", -1)),
583
+ o("span", Tn, _(n.value), 1)
584
584
  ]),
585
- a("div", Bn, [
586
- a("div", An, [
587
- t[1] || (t[1] = H(" Version (web): ", -1)),
588
- a("span", Dn, _((c = e.pkg) == null ? void 0 : c.version), 1)
585
+ o("div", En, [
586
+ o("div", Ln, [
587
+ t[1] || (t[1] = j(" Version (web): ", -1)),
588
+ o("span", Bn, _((c = e.pkg) == null ? void 0 : c.version), 1)
589
589
  ])
590
590
  ]),
591
- t[3] || (t[3] = a("div", { class: "flex-auto" }, null, -1)),
592
- a("div", In, [
593
- t[2] || (t[2] = H(" ID: ", -1)),
594
- a("span", Hn, _(e.id.toString(16)), 1)
591
+ t[3] || (t[3] = o("div", { class: "flex-auto" }, null, -1)),
592
+ o("div", Mn, [
593
+ t[2] || (t[2] = j(" ID: ", -1)),
594
+ o("span", An, _(e.id.toString(16)), 1)
595
595
  ])
596
596
  ]),
597
- t[4] || (t[4] = a("hr", { class: "dark:text-gray-700 text-gray-200 my-2" }, null, -1)),
598
- a("div", jn, [
599
- a("div", Pn, [
600
- k(l.$slots, "links", { links: s.value })
597
+ t[4] || (t[4] = o("hr", { class: "dark:text-gray-700 text-gray-200 my-2" }, null, -1)),
598
+ o("div", Dn, [
599
+ o("div", In, [
600
+ k(s.$slots, "links", { links: l.value })
601
601
  ])
602
602
  ])
603
603
  ]);
604
604
  };
605
605
  }
606
- }), Nn = ["onClick"], On = { class: "mr-2" }, Un = { class: "text-sm" }, Kn = { class: "text-gray-400 text-xs" }, Rn = {
606
+ }), jn = ["onClick"], Hn = { class: "mr-2" }, Pn = { class: "text-sm" }, Nn = { class: "text-gray-400 text-xs" }, On = {
607
607
  key: 0,
608
608
  class: "flex justify-center"
609
- }, Fn = { class: "flex justify-end mt-4" }, ko = /* @__PURE__ */ M({
609
+ }, Kn = { class: "flex justify-end mt-4" }, pa = /* @__PURE__ */ S({
610
610
  __name: "BlockScan",
611
611
  props: {
612
612
  items: { default: () => [] }
613
613
  },
614
614
  emits: ["scan", "select"],
615
615
  setup(e, { emit: n }) {
616
- const s = n, l = ["OPEN", "WEP", "WPA_PSK", "WPA2_PSK", "WPA_WPA2_PSK", "MAX", "", "NO", "AUTO"], t = (c) => s("select", c), r = (c) => s("scan", c);
616
+ const l = n, s = ["OPEN", "WEP", "WPA_PSK", "WPA2_PSK", "WPA_WPA2_PSK", "MAX", "", "NO", "AUTO"], t = (c) => l("select", c), r = (c) => l("scan", c);
617
617
  return (c, d) => {
618
- const m = mt, o = Ce, i = pt, u = A;
618
+ const m = dt, a = Ce, i = ct, u = A;
619
619
  return p(), v("div", null, [
620
- g(o, {
620
+ g(a, {
621
621
  items: e.items,
622
622
  class: "bg-transparent! ring-0!"
623
623
  }, {
624
624
  default: x(({ item: f }) => [
625
- a("div", {
625
+ o("div", {
626
626
  class: "flex items-center w-full",
627
627
  onClick: (b) => t(f)
628
628
  }, [
629
- a("div", On, [
630
- g(m, K(R(f)), null, 16)
629
+ o("div", Hn, [
630
+ g(m, F(U(f)), null, 16)
631
631
  ]),
632
- a("div", null, [
633
- a("div", Un, _(f.ssid), 1),
634
- a("div", Kn, _(c.$t("security")) + " : " + _(l[f.encryptionType] || "unknown"), 1)
632
+ o("div", null, [
633
+ o("div", Pn, _(f.ssid), 1),
634
+ o("div", Nn, _(c.$t("security")) + " : " + _(s[f.encryptionType] || "unknown"), 1)
635
635
  ])
636
- ], 8, Nn)
636
+ ], 8, jn)
637
637
  ]),
638
638
  _: 1
639
639
  }, 8, ["items"]),
640
- e.items.length ? z("", !0) : (p(), v("div", Rn, [
640
+ e.items.length ? V("", !0) : (p(), v("div", On, [
641
641
  g(i, { class: "text-primary" })
642
642
  ])),
643
- a("div", Fn, [
643
+ o("div", Kn, [
644
644
  g(u, {
645
645
  color: "blue",
646
646
  onClick: r
647
647
  }, {
648
648
  default: x(() => [
649
- H(_(c.$t("scan")), 1)
649
+ j(_(c.$t("scan")), 1)
650
650
  ]),
651
651
  _: 1
652
652
  })
@@ -654,7 +654,7 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
654
654
  ]);
655
655
  };
656
656
  }
657
- }), Wn = { class: "md:flex items-center mb-4" }, qn = { class: "flex-auto text-gray-600 bg:text-gray-400 mb-2" }, Gn = { class: "md:max-w-50" }, Jn = { class: "flex items-center mb-4" }, Zn = { class: "flex-auto text-gray-600 bg:text-gray-400" }, Xn = { class: "flex items-center mb-4" }, Yn = { class: "flex-auto text-gray-600 bg:text-gray-400" }, wo = /* @__PURE__ */ M({
657
+ }), Fn = { class: "md:flex items-center mb-4" }, Un = { class: "flex-auto text-gray-600 bg:text-gray-400 mb-2" }, Rn = { class: "md:max-w-50" }, Wn = { class: "flex items-center mb-4" }, qn = { class: "flex-auto text-gray-600 bg:text-gray-400" }, Gn = { class: "flex items-center mb-4" }, Jn = { class: "flex-auto text-gray-600 bg:text-gray-400" }, fa = /* @__PURE__ */ S({
658
658
  __name: "BlockService",
659
659
  props: {
660
660
  locale: {},
@@ -662,47 +662,47 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
662
662
  },
663
663
  emits: ["reboot", "reset", "locale"],
664
664
  setup(e, { emit: n }) {
665
- const s = n, l = (r) => s("locale", r), t = (r) => {
665
+ const l = n, s = (r) => l("locale", r), t = (r) => {
666
666
  var c;
667
667
  return (c = e.locales.find((d) => d.value === r)) == null ? void 0 : c.name;
668
668
  };
669
669
  return (r, c) => {
670
- const d = se, m = A;
670
+ const d = le, m = A;
671
671
  return p(), v(B, null, [
672
- a("div", Wn, [
673
- a("div", qn, _(r.$t("selectLang")), 1),
674
- a("div", Gn, [
672
+ o("div", Fn, [
673
+ o("div", Un, _(r.$t("selectLang")), 1),
674
+ o("div", Rn, [
675
675
  g(d, {
676
676
  "model-value": t(e.locale),
677
677
  label: r.$t("lang"),
678
678
  items: e.locales,
679
- onChange: l
679
+ onChange: s
680
680
  }, null, 8, ["model-value", "label", "items"])
681
681
  ])
682
682
  ]),
683
- a("div", Jn, [
684
- a("div", Zn, _(r.$t("rebootDev")), 1),
683
+ o("div", Wn, [
684
+ o("div", qn, _(r.$t("rebootDev")), 1),
685
685
  g(m, {
686
686
  class: "min-w-[100px]",
687
687
  color: "red",
688
688
  outline: "",
689
- onClick: c[0] || (c[0] = (o) => s("reboot", o))
689
+ onClick: c[0] || (c[0] = (a) => l("reboot", a))
690
690
  }, {
691
691
  default: x(() => [
692
- H(_(r.$t("reboot")), 1)
692
+ j(_(r.$t("reboot")), 1)
693
693
  ]),
694
694
  _: 1
695
695
  })
696
696
  ]),
697
- a("div", Xn, [
698
- a("div", Yn, _(r.$t("resetConf")), 1),
697
+ o("div", Gn, [
698
+ o("div", Jn, _(r.$t("resetConf")), 1),
699
699
  g(m, {
700
700
  class: "min-w-[100px]",
701
701
  color: "red",
702
- onClick: c[1] || (c[1] = (o) => s("reset", o))
702
+ onClick: c[1] || (c[1] = (a) => l("reset", a))
703
703
  }, {
704
704
  default: x(() => [
705
- H(_(r.$t("reset")), 1)
705
+ j(_(r.$t("reset")), 1)
706
706
  ]),
707
707
  _: 1
708
708
  })
@@ -710,7 +710,7 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
710
710
  ], 64);
711
711
  };
712
712
  }
713
- }), Qn = { class: "grid grid-cols-1 gap-4 lg:max-w-[360px] min-w-[250px]" }, el = { class: "flex flex-col w-full items-center gap-2" }, tl = ["title"], nl = { class: "absolute left-[110px] top-1/2 -translate-1/2 text-center text-sm font-bold leading-none text-gray-900 dark:text-white" }, ll = { class: "absolute left-[110px] top-1/2 -translate-1/2 text-sm font-bold text-white text-center leading-none" }, sl = { class: "flex justify-between w-full text-xs" }, al = { class: "text-gray-500 dark:text-white/50" }, ol = { class: "text-sm" }, il = { class: "text-gray-500 dark:text-white/50 text-left" }, rl = { class: "text-right text-xs" }, Co = /* @__PURE__ */ M({
713
+ }), Zn = { class: "grid grid-cols-1 gap-4 lg:max-w-[360px] min-w-[250px]" }, Xn = { class: "flex flex-col w-full items-center gap-2" }, Yn = ["title"], Qn = { class: "absolute left-[110px] top-1/2 -translate-1/2 text-center text-sm font-bold leading-none text-gray-900 dark:text-white" }, es = { class: "absolute left-[110px] top-1/2 -translate-1/2 text-sm font-bold text-white text-center leading-none" }, ts = { class: "flex justify-between w-full text-xs" }, ns = { class: "text-gray-500 dark:text-white/50" }, ss = { class: "text-sm" }, ls = { class: "text-gray-500 dark:text-white/50 text-left" }, os = { class: "text-right text-xs" }, va = /* @__PURE__ */ S({
714
714
  __name: "BlockStatus",
715
715
  props: {
716
716
  pkg: {},
@@ -725,66 +725,66 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
725
725
  },
726
726
  setup(e) {
727
727
  const n = L(e.uptime);
728
- let s = null;
729
- const l = E(() => e.firmware.join(".")), t = E(() => [
728
+ let l = null;
729
+ const s = M(() => e.firmware.join(".")), t = M(() => [
730
730
  { name: "used", value: pe(e.usedBytes) },
731
731
  { name: "available", value: pe(e.totalBytes - e.usedBytes) },
732
732
  { name: "total", value: pe(e.totalBytes) }
733
- ]), r = E(() => {
733
+ ]), r = M(() => {
734
734
  var m;
735
735
  return [
736
- { name: "uptime", value: gt(n.value) },
736
+ { name: "uptime", value: ft(n.value) },
737
737
  { name: "id", value: `${e.id.toString(16)} (${e.id})` },
738
- { name: "firmware", value: l.value },
738
+ { name: "firmware", value: s.value },
739
739
  { name: "version", value: (m = e.pkg) == null ? void 0 : m.version }
740
740
  ];
741
- }), c = E(() => e.usedBytes ? Math.round(e.usedBytes * 100 / e.totalBytes) : 0), d = () => {
742
- n.value++, s = setTimeout(d, 1e3);
741
+ }), c = M(() => e.usedBytes ? Math.round(e.usedBytes * 100 / e.totalBytes) : 0), d = () => {
742
+ n.value++, l = setTimeout(d, 1e3);
743
743
  };
744
744
  return Q(() => {
745
745
  d();
746
- }), we(() => {
747
- n.value = 0, s && clearTimeout(s);
748
- }), (m, o) => {
746
+ }), ke(() => {
747
+ n.value = 0, l && clearTimeout(l);
748
+ }), (m, a) => {
749
749
  var i, u, f;
750
- return p(), v("div", Qn, [
751
- a("div", el, [
752
- a("div", {
750
+ return p(), v("div", Zn, [
751
+ o("div", Xn, [
752
+ o("div", {
753
753
  class: "relative block h-4 w-full select-none overflow-hidden rounded-md bg-gray-200/70 dark:bg-white/10",
754
754
  title: `${c.value}%`
755
755
  }, [
756
- a("div", nl, _(c.value) + "%", 1),
757
- a("div", {
756
+ o("div", Qn, _(c.value) + "%", 1),
757
+ o("div", {
758
758
  class: "relative h-4 overflow-hidden rounded-md bg-primary transition-all duration-500",
759
759
  style: ve(`width: ${c.value}%`)
760
760
  }, [
761
- a("div", ll, _(c.value) + "%", 1)
761
+ o("div", es, _(c.value) + "%", 1)
762
762
  ], 4)
763
- ], 8, tl),
764
- a("div", sl, [
763
+ ], 8, Yn),
764
+ o("div", ts, [
765
765
  (p(!0), v(B, null, N(t.value, (b) => (p(), v("div", {
766
766
  key: b.name,
767
767
  class: "flex-auto"
768
768
  }, [
769
- a("div", al, [
769
+ o("div", ns, [
770
770
  k(m.$slots, "name", { item: b })
771
771
  ]),
772
- a("div", null, _(b.value), 1)
772
+ o("div", null, _(b.value), 1)
773
773
  ]))), 128))
774
774
  ])
775
775
  ]),
776
- a("div", ol, [
776
+ o("div", ss, [
777
777
  (p(!0), v(B, null, N(r.value, (b) => (p(), v("div", {
778
778
  key: b.name,
779
779
  class: "flex justify-between items-center"
780
780
  }, [
781
- a("div", il, [
781
+ o("div", ls, [
782
782
  k(m.$slots, "name", { item: b })
783
783
  ]),
784
- a("div", rl, _(b.value), 1)
784
+ o("div", os, _(b.value), 1)
785
785
  ]))), 128))
786
786
  ]),
787
- a("div", null, [
787
+ o("div", null, [
788
788
  k(m.$slots, "default", {
789
789
  home: (i = e.pkg) == null ? void 0 : i.homepage,
790
790
  repo: (f = (u = e.pkg) == null ? void 0 : u.repository) == null ? void 0 : f.url
@@ -793,54 +793,54 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
793
793
  ]);
794
794
  };
795
795
  }
796
- }), dl = { class: "flex items-center cursor-pointer" }, cl = /* @__PURE__ */ M({
796
+ }), as = { class: "flex items-center cursor-pointer" }, is = /* @__PURE__ */ S({
797
797
  __name: "VFile",
798
798
  emits: ["change"],
799
799
  setup(e, { emit: n }) {
800
- const s = n, l = async (t) => {
800
+ const l = n, s = async (t) => {
801
801
  const r = t.target;
802
- r.files && s("change", r.files);
802
+ r.files && l("change", r.files);
803
803
  };
804
- return (t, r) => (p(), v("label", dl, [
805
- a("input", j({
804
+ return (t, r) => (p(), v("label", as, [
805
+ o("input", H({
806
806
  type: "file",
807
807
  class: "hidden"
808
- }, t.$attrs, { onChange: l }), null, 16),
808
+ }, t.$attrs, { onChange: s }), null, 16),
809
809
  k(t.$slots, "default")
810
810
  ]));
811
811
  }
812
- }), ul = { class: "md:flex" }, ml = { class: "text-gray-600 bg:text-gray-400 first-letter:uppercase min-w-19" }, Mo = /* @__PURE__ */ M({
812
+ }), rs = { class: "md:flex" }, ds = { class: "text-gray-600 bg:text-gray-400 first-letter:uppercase min-w-19" }, ha = /* @__PURE__ */ S({
813
813
  __name: "BlockUpdate",
814
814
  emits: ["update"],
815
815
  setup(e, { emit: n }) {
816
- const s = n, l = nt({ firmware: null, littlefs: null }), t = (d) => d ? Array.from(d).map((m) => `${m.name} (${pe(m.size)})`).join("") : "", r = (d, m) => {
817
- const o = new FormData();
816
+ const l = n, s = nt({ firmware: null, littlefs: null }), t = (d) => d ? Array.from(d).map((m) => `${m.name} (${pe(m.size)})`).join("") : "", r = (d, m) => {
817
+ const a = new FormData();
818
818
  for (let i = 0; i < d.length; i++) {
819
819
  const u = d.item(i);
820
820
  if (!u) return;
821
- o.append(`file[${i}]`, u, m);
821
+ a.append(`file[${i}]`, u, m);
822
822
  }
823
- return o;
823
+ return a;
824
824
  }, c = (d, m) => {
825
825
  if (!m) return;
826
- const o = r(m, d);
827
- o && s("update", d, o);
826
+ const a = r(m, d);
827
+ a && l("update", d, a);
828
828
  };
829
829
  return (d, m) => {
830
- const o = A;
830
+ const a = A;
831
831
  return p(), v("div", null, [
832
- (p(!0), v(B, null, N(l, (i, u) => (p(), v("div", {
832
+ (p(!0), v(B, null, N(s, (i, u) => (p(), v("div", {
833
833
  key: u,
834
834
  class: "mb-4 flex items-center"
835
835
  }, [
836
- g(cl, {
836
+ g(is, {
837
837
  accept: ".bin",
838
- onChange: (f) => l[u] = f,
838
+ onChange: (f) => s[u] = f,
839
839
  class: "flex-auto"
840
840
  }, {
841
841
  default: x(() => [
842
- a("div", ul, [
843
- a("h6", ml, _(u) + ":", 1),
842
+ o("div", rs, [
843
+ o("h6", ds, _(u) + ":", 1),
844
844
  k(d.$slots, "default", {
845
845
  file: t(i)
846
846
  })
@@ -848,14 +848,14 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
848
848
  ]),
849
849
  _: 2
850
850
  }, 1032, ["onChange"]),
851
- g(o, {
851
+ g(a, {
852
852
  class: "min-w-[100px]",
853
853
  color: "blue",
854
854
  disabled: !i,
855
855
  onClick: (f) => c(`${u}.bin`, i)
856
856
  }, {
857
857
  default: x(() => [
858
- H(_(d.$t("btnUpdate")), 1)
858
+ j(_(d.$t("btnUpdate")), 1)
859
859
  ]),
860
860
  _: 1
861
861
  }, 8, ["disabled", "onClick"])
@@ -863,42 +863,42 @@ const cn = O({ name: "ri-arrow-right-s-line", render: dn }), un = { class: "mb-4
863
863
  ]);
864
864
  };
865
865
  }
866
- }), pl = {
866
+ }), cs = {
867
867
  viewBox: "0 0 24 24",
868
868
  width: "1.2em",
869
869
  height: "1.2em"
870
870
  };
871
- function fl(e, n) {
872
- return p(), v("svg", pl, [...n[0] || (n[0] = [
873
- a("path", {
871
+ function us(e, n) {
872
+ return p(), v("svg", cs, [...n[0] || (n[0] = [
873
+ o("path", {
874
874
  fill: "currentColor",
875
875
  d: "M12.172 12L9.343 9.173l1.415-1.414L15 12l-4.242 4.242l-1.415-1.414z"
876
876
  }, null, -1)
877
877
  ])]);
878
878
  }
879
- const Re = O({ name: "ri-arrow-drop-right-line", render: fl }), vl = { class: "flex items-center gap-1.5" }, zo = /* @__PURE__ */ M({
879
+ const Ue = O({ name: "ri-arrow-drop-right-line", render: us }), ms = { class: "flex items-center gap-1.5" }, ga = /* @__PURE__ */ S({
880
880
  __name: "BlockBreadcrumb",
881
881
  props: {
882
882
  items: { default: () => [] }
883
883
  },
884
884
  emits: ["click"],
885
885
  setup(e, { emit: n }) {
886
- const s = n, l = (t) => s("click", t);
886
+ const l = n, s = (t) => l("click", t);
887
887
  return (t, r) => {
888
- const c = Re;
888
+ const c = Ue;
889
889
  return p(), v("nav", null, [
890
- a("ol", vl, [
890
+ o("ol", ms, [
891
891
  (p(!0), v(B, null, N(e.items, (d, m) => (p(), v("li", {
892
892
  key: m,
893
- class: T(["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"])
893
+ class: E(["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"])
894
894
  }, [
895
895
  k(t.$slots, "default", { item: d }, () => [
896
- (p(), I(me(d.path ? "a" : "span"), {
896
+ (p(), I(ue(d.path ? "a" : "span"), {
897
897
  href: d.path,
898
- onClick: (o) => l(d)
898
+ onClick: (a) => s(d)
899
899
  }, {
900
900
  default: x(() => [
901
- H(_(d.name), 1)
901
+ j(_(d.name), 1)
902
902
  ]),
903
903
  _: 2
904
904
  }, 1032, ["href", "onClick"]))
@@ -906,29 +906,29 @@ const Re = O({ name: "ri-arrow-drop-right-line", render: fl }), vl = { class: "f
906
906
  d.path ? (p(), I(c, {
907
907
  key: 0,
908
908
  class: "rotate-270"
909
- })) : z("", !0)
909
+ })) : V("", !0)
910
910
  ], 2))), 128))
911
911
  ])
912
912
  ]);
913
913
  };
914
914
  }
915
- }), hl = {
915
+ }), ps = {
916
916
  viewBox: "0 0 24 24",
917
917
  width: "1.2em",
918
918
  height: "1.2em"
919
919
  };
920
- function gl(e, n) {
921
- return p(), v("svg", hl, [...n[0] || (n[0] = [
922
- a("path", {
920
+ function fs(e, n) {
921
+ return p(), v("svg", ps, [...n[0] || (n[0] = [
922
+ o("path", {
923
923
  fill: "currentColor",
924
924
  d: "M7 6V3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-3v3c0 .552-.45 1-1.007 1H4.007A1 1 0 0 1 3 21l.003-14c0-.552.45-1 1.006-1zM5.002 8L5 20h10V8zM9 6h8v10h2V4H9zm-2 5h6v2H7zm0 4h6v2H7z"
925
925
  }, null, -1)
926
926
  ])]);
927
927
  }
928
- const bl = O({ name: "ri-file-copy2-line", render: gl }), xl = { class: "flex-auto flex justify-between" }, yl = { class: "text-sm text-gray-500 font-medium line-clamp-2 overflow-hidden" }, _l = { class: "text-sm text-ellipsis overflow-hidden text-nowrap" }, $l = {
928
+ const vs = O({ name: "ri-file-copy2-line", render: fs }), hs = { class: "flex-auto flex justify-between" }, gs = { class: "text-sm text-gray-500 font-medium line-clamp-2 overflow-hidden" }, bs = { class: "text-sm text-ellipsis overflow-hidden text-nowrap" }, xs = {
929
929
  key: 0,
930
930
  class: "absolute left-1/2 top-1/2 size-[calc(50%)] text-gray-200/30 dark:text-gray-800/30 -translate-1/2"
931
- }, kl = { class: "min-h-60 relative" }, wl = { class: "pt-6" }, Cl = { class: "text-center text-3xl text-ellipsis overflow-hidden" }, Ml = { class: "text-center text-xl mt-4" }, oe = /* @__PURE__ */ M({
931
+ }, ys = { class: "min-h-60 relative" }, _s = { class: "pt-6" }, $s = { class: "text-center text-3xl text-ellipsis overflow-hidden" }, ks = { class: "text-center text-xl mt-4" }, ae = /* @__PURE__ */ S({
932
932
  __name: "CardBase",
933
933
  props: {
934
934
  size: {},
@@ -948,46 +948,46 @@ const bl = O({ name: "ri-file-copy2-line", render: gl }), xl = { class: "flex-au
948
948
  },
949
949
  emits: ["edit", "close", "click", "clone", "open", "setState"],
950
950
  setup(e, { emit: n }) {
951
- const s = e, l = n, t = L(!1), r = E(() => ["button", "dimmer"].includes(s.type || "") && s.value ? "text-amber-500" : "text-gray-400"), c = (u) => l("edit", u), d = (u) => l("clone", u), m = () => t.value = !0, o = (u) => l("open", u), i = (u) => {
952
- t.value = !1, l("close", u);
951
+ const l = e, s = n, t = L(!1), r = M(() => ["button", "dimmer"].includes(l.type || "") && l.value ? "text-amber-500" : "text-gray-400"), c = (u) => s("edit", u), d = (u) => s("clone", u), m = () => t.value = !0, a = (u) => s("open", u), i = (u) => {
952
+ t.value = !1, s("close", u);
953
953
  };
954
954
  return (u, f) => {
955
- const b = Ue, h = bl;
955
+ const b = Ke, h = vs;
956
956
  return p(), v("div", {
957
957
  class: "glass-panel relative flex aspect-square cursor-pointer flex-col p-2 transition-all hover:border-primary/25 hover:shadow-[inset_0_1px_0_rgba(255,255,255,0.18),0_0_50px_-18px_rgba(40,183,240,0.25)]",
958
958
  onClick: m
959
959
  }, [
960
- a("div", xl, [
961
- a("div", {
962
- class: T([r.value, "size-8 animate-shake"])
960
+ o("div", hs, [
961
+ o("div", {
962
+ class: E([r.value, "size-8 animate-shake"])
963
963
  }, [
964
- k(u.$slots, "icon", K(R(s)))
964
+ k(u.$slots, "icon", F(U(l)))
965
965
  ], 2),
966
- k(u.$slots, "header", K(R(s)))
966
+ k(u.$slots, "header", F(U(l)))
967
967
  ]),
968
- a("div", null, [
969
- k(u.$slots, "body", K(R(s)), () => [
970
- a("h6", yl, [
971
- k(u.$slots, "name", K(R(s)), () => [
972
- H(_(s.name), 1)
968
+ o("div", null, [
969
+ k(u.$slots, "body", F(U(l)), () => [
970
+ o("h6", gs, [
971
+ k(u.$slots, "name", F(U(l)), () => [
972
+ j(_(l.name), 1)
973
973
  ])
974
974
  ]),
975
- a("div", _l, [
976
- k(u.$slots, "value", K(R(s)), () => [
977
- H(_(s.valueTo || s.value), 1)
975
+ o("div", bs, [
976
+ k(u.$slots, "value", F(U(l)), () => [
977
+ j(_(l.valueTo || l.value), 1)
978
978
  ])
979
979
  ])
980
980
  ])
981
981
  ]),
982
- s.icon ? (p(), v("div", $l, [
983
- k(u.$slots, "icon", K(R(s)))
984
- ])) : z("", !0),
982
+ l.icon ? (p(), v("div", xs, [
983
+ k(u.$slots, "icon", F(U(l)))
984
+ ])) : V("", !0),
985
985
  t.value ? (p(), I(Oe, {
986
986
  key: 1,
987
- size: s.size || "sm",
987
+ size: l.size || "sm",
988
988
  title: e.name,
989
989
  onClose: i,
990
- onOpen: o
990
+ onOpen: a
991
991
  }, {
992
992
  "header-btn": x(() => [
993
993
  g(A, {
@@ -1010,41 +1010,41 @@ const bl = O({ name: "ri-file-copy2-line", render: gl }), xl = { class: "flex-au
1010
1010
  })
1011
1011
  ]),
1012
1012
  default: x(() => [
1013
- a("div", kl, [
1014
- a("div", wl, [
1015
- a("h3", Cl, [
1016
- k(u.$slots, "dialog-name", K(R(s)), () => [
1017
- H(_(s.name), 1)
1013
+ o("div", ys, [
1014
+ o("div", _s, [
1015
+ o("h3", $s, [
1016
+ k(u.$slots, "dialog-name", F(U(l)), () => [
1017
+ j(_(l.name), 1)
1018
1018
  ])
1019
1019
  ]),
1020
- k(u.$slots, "dialog", K(R(s))),
1021
- a("p", Ml, [
1022
- k(u.$slots, "dialog-value", K(R(s)), () => [
1023
- H(_(s.valueTo || s.value), 1)
1020
+ k(u.$slots, "dialog", F(U(l))),
1021
+ o("p", ks, [
1022
+ k(u.$slots, "dialog-value", F(U(l)), () => [
1023
+ j(_(l.valueTo || l.value), 1)
1024
1024
  ])
1025
1025
  ])
1026
1026
  ])
1027
1027
  ])
1028
1028
  ]),
1029
1029
  _: 3
1030
- }, 8, ["size", "title"])) : z("", !0)
1030
+ }, 8, ["size", "title"])) : V("", !0)
1031
1031
  ]);
1032
1032
  };
1033
1033
  }
1034
- }), zl = {
1034
+ }), ws = {
1035
1035
  viewBox: "0 0 24 24",
1036
1036
  width: "1.2em",
1037
1037
  height: "1.2em"
1038
1038
  };
1039
- function Sl(e, n) {
1040
- return p(), v("svg", zl, [...n[0] || (n[0] = [
1041
- a("path", {
1039
+ function Cs(e, n) {
1040
+ return p(), v("svg", ws, [...n[0] || (n[0] = [
1041
+ o("path", {
1042
1042
  fill: "currentColor",
1043
1043
  d: "m6.265 3.807l1.147 1.639a8 8 0 1 0 9.176 0l1.147-1.639A9.99 9.99 0 0 1 22 12c0 5.523-4.477 10-10 10S2 17.523 2 12a9.99 9.99 0 0 1 4.265-8.193M11 12V2h2v10z"
1044
1044
  }, null, -1)
1045
1045
  ])]);
1046
1046
  }
1047
- const Vl = O({ name: "ri-shut-down-line", render: Sl }), Tl = { class: "flex justify-end" }, Ll = { class: "flex justify-center py-4" }, So = /* @__PURE__ */ M({
1047
+ const Ss = O({ name: "ri-shut-down-line", render: Cs }), zs = { class: "flex justify-end" }, Vs = { class: "flex justify-center py-4" }, ba = /* @__PURE__ */ S({
1048
1048
  __name: "CardButton",
1049
1049
  props: {
1050
1050
  size: {},
@@ -1064,26 +1064,26 @@ const Vl = O({ name: "ri-shut-down-line", render: Sl }), Tl = { class: "flex jus
1064
1064
  },
1065
1065
  emits: ["edit", "close", "click", "clone", "open", "setState"],
1066
1066
  setup(e, { emit: n }) {
1067
- const s = e, l = n, t = ({ opts: c = {} }) => {
1067
+ const l = e, s = n, t = ({ opts: c = {} }) => {
1068
1068
  const { disabled: d } = c;
1069
1069
  return { disabled: d };
1070
- }, r = () => l("setState", !s.value);
1070
+ }, r = () => s("setState", !l.value);
1071
1071
  return (c, d) => {
1072
- const m = Vl;
1073
- return p(), I(oe, j(s, {
1074
- onClick: d[0] || (d[0] = (o) => l("click", o)),
1075
- onEdit: d[1] || (d[1] = (o) => l("edit", o)),
1076
- onClone: d[2] || (d[2] = (o) => l("clone", o))
1072
+ const m = Ss;
1073
+ return p(), I(ae, H(l, {
1074
+ onClick: d[0] || (d[0] = (a) => s("click", a)),
1075
+ onEdit: d[1] || (d[1] = (a) => s("edit", a)),
1076
+ onClone: d[2] || (d[2] = (a) => s("clone", a))
1077
1077
  }), {
1078
- icon: x((o) => [
1079
- k(c.$slots, "icon", K(R(o)))
1078
+ icon: x((a) => [
1079
+ k(c.$slots, "icon", F(U(a)))
1080
1080
  ]),
1081
- header: x((o) => [
1082
- a("div", Tl, [
1083
- g(A, j(t(o), {
1081
+ header: x((a) => [
1082
+ o("div", zs, [
1083
+ g(A, H(t(a), {
1084
1084
  type: "icon",
1085
- class: s.value ? "text-amber-500" : "text-gray-500",
1086
- onClick: F(r, ["stop"])
1085
+ class: l.value ? "text-amber-500" : "text-gray-500",
1086
+ onClick: R(r, ["stop"])
1087
1087
  }), {
1088
1088
  default: x(() => [
1089
1089
  g(m, { class: "size-8" })
@@ -1092,12 +1092,12 @@ const Vl = O({ name: "ri-shut-down-line", render: Sl }), Tl = { class: "flex jus
1092
1092
  }, 16, ["class"])
1093
1093
  ])
1094
1094
  ]),
1095
- dialog: x((o) => [
1096
- a("div", Ll, [
1097
- g(A, j(t(o), {
1095
+ dialog: x((a) => [
1096
+ o("div", Vs, [
1097
+ g(A, H(t(a), {
1098
1098
  type: "icon",
1099
- class: ["size-18", s.value ? "text-amber-500" : "text-gray-500"],
1100
- onClick: F(r, ["stop"])
1099
+ class: ["size-18", l.value ? "text-amber-500" : "text-gray-500"],
1100
+ onClick: R(r, ["stop"])
1101
1101
  }), {
1102
1102
  default: x(() => [
1103
1103
  g(m, { class: "size-16" })
@@ -1110,20 +1110,20 @@ const Vl = O({ name: "ri-shut-down-line", render: Sl }), Tl = { class: "flex jus
1110
1110
  }, 16);
1111
1111
  };
1112
1112
  }
1113
- }), El = {
1113
+ }), Ts = {
1114
1114
  viewBox: "0 0 24 24",
1115
1115
  width: "1.2em",
1116
1116
  height: "1.2em"
1117
1117
  };
1118
- function Bl(e, n) {
1119
- return p(), v("svg", El, [...n[0] || (n[0] = [
1120
- a("path", {
1118
+ function Es(e, n) {
1119
+ return p(), v("svg", Ts, [...n[0] || (n[0] = [
1120
+ o("path", {
1121
1121
  fill: "currentColor",
1122
1122
  d: "M12 22C6.477 22 2 17.523 2 12S6.477 2 12 2s10 4.477 10 10s-4.477 10-10 10m0-2a8 8 0 1 0 0-16a8 8 0 0 0 0 16m1-8h4v2h-6V7h2z"
1123
1123
  }, null, -1)
1124
1124
  ])]);
1125
1125
  }
1126
- const Al = O({ name: "ri-time-line", render: Bl }), Dl = { class: "flex justify-center relative mx-2 my-6" }, Vo = /* @__PURE__ */ M({
1126
+ const Ls = O({ name: "ri-time-line", render: Es }), Bs = { class: "flex justify-center relative mx-2 my-6" }, xa = /* @__PURE__ */ S({
1127
1127
  __name: "CardDate",
1128
1128
  props: {
1129
1129
  size: {},
@@ -1143,41 +1143,41 @@ const Al = O({ name: "ri-time-line", render: Bl }), Dl = { class: "flex justify-
1143
1143
  },
1144
1144
  emits: ["edit", "close", "click", "clone", "open", "setState"],
1145
1145
  setup(e, { emit: n }) {
1146
- const s = e, l = n, t = Ie("time"), r = (o) => new Date(+o * 1e3).toISOString().slice(0, 16), c = (o) => {
1146
+ const l = e, s = n, t = Ie("time"), r = (a) => new Date(+a * 1e3).toISOString().slice(0, 16), c = (a) => {
1147
1147
  var u;
1148
- const i = (u = o == null ? void 0 : o.target) == null ? void 0 : u.valueAsNumber;
1149
- i && l("setState", i / 1e3);
1150
- }, d = ({ name: o, value: i, opts: u = {} }) => {
1148
+ const i = (u = a == null ? void 0 : a.target) == null ? void 0 : u.valueAsNumber;
1149
+ i && s("setState", i / 1e3);
1150
+ }, d = ({ name: a, value: i, opts: u = {} }) => {
1151
1151
  const { disabled: f } = u;
1152
- return { label: o, modelValue: r(i), disabled: f };
1152
+ return { label: a, modelValue: r(i), disabled: f };
1153
1153
  }, m = () => {
1154
1154
  var i, u;
1155
- const o = (u = (i = t.value) == null ? void 0 : i.$el) == null ? void 0 : u.querySelector("input");
1156
- o != null && o.showPicker && o.showPicker();
1155
+ const a = (u = (i = t.value) == null ? void 0 : i.$el) == null ? void 0 : u.querySelector("input");
1156
+ a != null && a.showPicker && a.showPicker();
1157
1157
  };
1158
- return (o, i) => {
1159
- const u = Al;
1160
- return p(), I(oe, j(s, {
1161
- onClick: i[0] || (i[0] = (f) => l("click", f)),
1162
- onEdit: i[1] || (i[1] = (f) => l("edit", f)),
1163
- onClone: i[2] || (i[2] = (f) => l("clone", f))
1158
+ return (a, i) => {
1159
+ const u = Ls;
1160
+ return p(), I(ae, H(l, {
1161
+ onClick: i[0] || (i[0] = (f) => s("click", f)),
1162
+ onEdit: i[1] || (i[1] = (f) => s("edit", f)),
1163
+ onClone: i[2] || (i[2] = (f) => s("clone", f))
1164
1164
  }), {
1165
1165
  icon: x((f) => [
1166
- k(o.$slots, "icon", K(R(f)))
1166
+ k(a.$slots, "icon", F(U(f)))
1167
1167
  ]),
1168
1168
  header: x((f) => [
1169
- a("div", null, [
1169
+ o("div", null, [
1170
1170
  g(A, {
1171
1171
  type: "icon",
1172
1172
  class: "text-gray-500",
1173
- onClick: F(m, ["stop"])
1173
+ onClick: R(m, ["stop"])
1174
1174
  }, {
1175
1175
  default: x(() => [
1176
1176
  g(u, { class: "size-7" })
1177
1177
  ]),
1178
1178
  _: 1
1179
1179
  }),
1180
- g(J, j({
1180
+ g(J, H({
1181
1181
  ref_key: "time",
1182
1182
  ref: t
1183
1183
  }, d(f), {
@@ -1189,8 +1189,8 @@ const Al = O({ name: "ri-time-line", render: Bl }), Dl = { class: "flex justify-
1189
1189
  ])
1190
1190
  ]),
1191
1191
  dialog: x((f) => [
1192
- a("div", Dl, [
1193
- g(J, j(d(f), {
1192
+ o("div", Bs, [
1193
+ g(J, H(d(f), {
1194
1194
  type: "datetime-local",
1195
1195
  onChange: c
1196
1196
  }), null, 16)
@@ -1200,15 +1200,15 @@ const Al = O({ name: "ri-time-line", render: Bl }), Dl = { class: "flex justify-
1200
1200
  }, 16);
1201
1201
  };
1202
1202
  }
1203
- }), Il = { class: "flex justify-end" }, Hl = { class: "flex justify-end" }, jl = {
1204
- class: /* @__PURE__ */ T("text-blue-600 dark:text-blue-400")
1205
- }, Pl = {
1203
+ }), Ms = { class: "flex justify-end" }, As = { class: "flex justify-end" }, Ds = {
1204
+ class: /* @__PURE__ */ E("text-blue-600 dark:text-blue-400")
1205
+ }, Is = {
1206
1206
  width: "30",
1207
1207
  height: "30",
1208
1208
  viewBox: "-7.5 -7.5 75 75",
1209
1209
  version: "1.1",
1210
1210
  style: { transform: "rotate(-90deg)" }
1211
- }, Nl = ["stroke-dashoffset"], Ol = { class: "absolute top-1/2 left-1/2 -translate-1/2 text-white z-10 font-bold text-xl" }, To = /* @__PURE__ */ M({
1211
+ }, js = ["stroke-dashoffset"], Hs = { class: "absolute top-1/2 left-1/2 -translate-1/2 text-white z-10 font-bold text-xl" }, ya = /* @__PURE__ */ S({
1212
1212
  __name: "CardDimmer",
1213
1213
  props: {
1214
1214
  size: {},
@@ -1228,31 +1228,31 @@ const Al = O({ name: "ri-time-line", render: Bl }), Dl = { class: "flex justify-
1228
1228
  },
1229
1229
  emits: ["edit", "close", "click", "clone", "open", "setState"],
1230
1230
  setup(e, { emit: n }) {
1231
- const s = e, l = n, t = L(0), r = ({ opts: i, value: u }) => Math.round(100 * +u / ((i == null ? void 0 : i.max) || 255)), c = ({ opts: i, value: u }) => Math.round(187 - +u / ((i == null ? void 0 : i.max) || 255) * 187), d = ({ value: i, opts: u }) => {
1231
+ const l = e, s = n, t = L(0), r = ({ opts: i, value: u }) => Math.round(100 * +u / ((i == null ? void 0 : i.max) || 255)), c = ({ opts: i, value: u }) => Math.round(187 - +u / ((i == null ? void 0 : i.max) || 255) * 187), d = ({ value: i, opts: u }) => {
1232
1232
  const { min: f = 0, max: b = 255, step: h = 1, disabled: y } = u || {};
1233
1233
  return { min: f, max: b, step: h, value: i, disabled: !!y, class: y ? "" : "cursor-pointer" };
1234
- }, m = (i) => l("setState", +i.target.value || 0), o = ({ value: i }) => {
1235
- +i != 0 ? (t.value = +i, l("setState", 0)) : l("setState", i ? 0 : t.value || 255);
1234
+ }, m = (i) => s("setState", +i.target.value || 0), a = ({ value: i }) => {
1235
+ +i != 0 ? (t.value = +i, s("setState", 0)) : s("setState", i ? 0 : t.value || 255);
1236
1236
  };
1237
- return (i, u) => (p(), I(oe, j(s, {
1238
- onClick: u[0] || (u[0] = (f) => l("click", f)),
1239
- onEdit: u[1] || (u[1] = (f) => l("edit", f)),
1240
- onClone: u[2] || (u[2] = (f) => l("clone", f))
1237
+ return (i, u) => (p(), I(ae, H(l, {
1238
+ onClick: u[0] || (u[0] = (f) => s("click", f)),
1239
+ onEdit: u[1] || (u[1] = (f) => s("edit", f)),
1240
+ onClone: u[2] || (u[2] = (f) => s("clone", f))
1241
1241
  }), {
1242
1242
  icon: x((f) => [
1243
- k(i.$slots, "icon", K(R(f)))
1243
+ k(i.$slots, "icon", F(U(f)))
1244
1244
  ]),
1245
1245
  header: x((f) => [
1246
- a("div", Il, [
1247
- a("div", Hl, [
1248
- g(A, j(d(f), {
1246
+ o("div", Ms, [
1247
+ o("div", As, [
1248
+ g(A, H(d(f), {
1249
1249
  type: "icon",
1250
- onClick: F((b) => o(f), ["stop"])
1250
+ onClick: R((b) => a(f), ["stop"])
1251
1251
  }), {
1252
1252
  default: x(() => [
1253
- a("div", jl, [
1254
- (p(), v("svg", Pl, [
1255
- u[3] || (u[3] = a("circle", {
1253
+ o("div", Ds, [
1254
+ (p(), v("svg", Is, [
1255
+ u[3] || (u[3] = o("circle", {
1256
1256
  class: "stroke-gray-300 dark:stroke-gray-700",
1257
1257
  r: "30",
1258
1258
  cx: "30",
@@ -1260,7 +1260,7 @@ const Al = O({ name: "ri-time-line", render: Bl }), Dl = { class: "flex justify-
1260
1260
  fill: "transparent",
1261
1261
  "stroke-width": "10"
1262
1262
  }, null, -1)),
1263
- a("circle", {
1263
+ o("circle", {
1264
1264
  r: "30",
1265
1265
  cx: "30",
1266
1266
  cy: "30",
@@ -1270,7 +1270,7 @@ const Al = O({ name: "ri-time-line", render: Bl }), Dl = { class: "flex justify-
1270
1270
  "stroke-dashoffset": c(f),
1271
1271
  fill: "transparent",
1272
1272
  "stroke-dasharray": "187"
1273
- }, null, 8, Nl)
1273
+ }, null, 8, js)
1274
1274
  ]))
1275
1275
  ])
1276
1276
  ]),
@@ -1280,16 +1280,16 @@ const Al = O({ name: "ri-time-line", render: Bl }), Dl = { class: "flex justify-
1280
1280
  ])
1281
1281
  ]),
1282
1282
  dialog: x((f) => [
1283
- a("div", {
1284
- class: T(["flex justify-center relative mx-2 my-6", d(f).disabled ? "opacity-40" : ""])
1283
+ o("div", {
1284
+ class: E(["flex justify-center relative mx-2 my-6", d(f).disabled ? "opacity-40" : ""])
1285
1285
  }, [
1286
- u[4] || (u[4] = a("div", { class: "absolute h-10 w-full top-0 left-0 bg-gray-400 dark:bg-gray-700 z-0 rounded-md" }, null, -1)),
1287
- a("div", {
1286
+ u[4] || (u[4] = o("div", { class: "absolute h-10 w-full top-0 left-0 bg-gray-400 dark:bg-gray-700 z-0 rounded-md" }, null, -1)),
1287
+ o("div", {
1288
1288
  class: "absolute h-10 top-0 left-0 bg-blue-600 dark:bg-blue-400 z-0 rounded-md transition-[width_0.3s_linear]",
1289
1289
  style: ve(`width: ${r(f)}%`)
1290
1290
  }, null, 4),
1291
- a("div", Ol, _(r(f)) + " %", 1),
1292
- a("input", j({ type: "range" }, d(f), {
1291
+ o("div", Hs, _(r(f)) + " %", 1),
1292
+ o("input", H({ type: "range" }, d(f), {
1293
1293
  class: "w-full h-10 z-10 appearance-none opacity-0",
1294
1294
  onChange: m
1295
1295
  }), null, 16)
@@ -1298,7 +1298,7 @@ const Al = O({ name: "ri-time-line", render: Bl }), Dl = { class: "flex justify-
1298
1298
  _: 3
1299
1299
  }, 16));
1300
1300
  }
1301
- }), Lo = /* @__PURE__ */ M({
1301
+ }), _a = /* @__PURE__ */ S({
1302
1302
  __name: "CardInfo",
1303
1303
  props: {
1304
1304
  size: {},
@@ -1318,14 +1318,14 @@ const Al = O({ name: "ri-time-line", render: Bl }), Dl = { class: "flex justify-
1318
1318
  },
1319
1319
  emits: ["edit", "close", "click", "clone", "open", "setState"],
1320
1320
  setup(e, { emit: n }) {
1321
- const s = e, l = n;
1322
- return (t, r) => (p(), I(oe, j(s, {
1323
- onClick: r[0] || (r[0] = (c) => l("click", c)),
1324
- onEdit: r[1] || (r[1] = (c) => l("edit", c)),
1325
- onClone: r[2] || (r[2] = (c) => l("clone", c))
1321
+ const l = e, s = n;
1322
+ return (t, r) => (p(), I(ae, H(l, {
1323
+ onClick: r[0] || (r[0] = (c) => s("click", c)),
1324
+ onEdit: r[1] || (r[1] = (c) => s("edit", c)),
1325
+ onClone: r[2] || (r[2] = (c) => s("clone", c))
1326
1326
  }), {
1327
1327
  icon: x((c) => [
1328
- k(t.$slots, "icon", K(R(c)))
1328
+ k(t.$slots, "icon", F(U(c)))
1329
1329
  ]),
1330
1330
  default: x(() => [
1331
1331
  k(t.$slots, "dialog")
@@ -1333,7 +1333,7 @@ const Al = O({ name: "ri-time-line", render: Bl }), Dl = { class: "flex justify-
1333
1333
  _: 3
1334
1334
  }, 16));
1335
1335
  }
1336
- }), Ul = { class: "flex justify-center relative mx-2 my-6" }, Eo = /* @__PURE__ */ M({
1336
+ }), Ps = { class: "flex justify-center relative mx-2 my-6" }, $a = /* @__PURE__ */ S({
1337
1337
  __name: "CardInput",
1338
1338
  props: {
1339
1339
  size: {},
@@ -1353,28 +1353,28 @@ const Al = O({ name: "ri-time-line", render: Bl }), Dl = { class: "flex justify-
1353
1353
  },
1354
1354
  emits: ["edit", "close", "click", "clone", "open", "setState"],
1355
1355
  setup(e, { emit: n }) {
1356
- const s = e, l = n, t = L(s.value || ""), r = ({ name: d, opts: m = {} }) => {
1357
- const { disabled: o } = m;
1358
- return { label: d, disabled: o };
1359
- }, c = (d) => l("setState", d.target.value);
1360
- return ae(
1361
- () => s.value,
1356
+ const l = e, s = n, t = L(l.value || ""), r = ({ name: d, opts: m = {} }) => {
1357
+ const { disabled: a } = m;
1358
+ return { label: d, disabled: a };
1359
+ }, c = (d) => s("setState", d.target.value);
1360
+ return oe(
1361
+ () => l.value,
1362
1362
  (d) => {
1363
1363
  t.value = d;
1364
1364
  }
1365
1365
  ), (d, m) => {
1366
- const o = Re;
1367
- return p(), I(oe, j(s, {
1368
- onClick: m[1] || (m[1] = (i) => l("click", i)),
1369
- onEdit: m[2] || (m[2] = (i) => l("edit", i)),
1370
- onClone: m[3] || (m[3] = (i) => l("clone", i))
1366
+ const a = Ue;
1367
+ return p(), I(ae, H(l, {
1368
+ onClick: m[1] || (m[1] = (i) => s("click", i)),
1369
+ onEdit: m[2] || (m[2] = (i) => s("edit", i)),
1370
+ onClone: m[3] || (m[3] = (i) => s("clone", i))
1371
1371
  }), {
1372
1372
  icon: x((i) => [
1373
- k(d.$slots, "icon", K(R(i)))
1373
+ k(d.$slots, "icon", F(U(i)))
1374
1374
  ]),
1375
1375
  dialog: x((i) => [
1376
- a("div", Ul, [
1377
- g(J, j({
1376
+ o("div", Ps, [
1377
+ g(J, H({
1378
1378
  modelValue: t.value,
1379
1379
  "onUpdate:modelValue": m[0] || (m[0] = (u) => t.value = u)
1380
1380
  }, r(i), {
@@ -1382,7 +1382,7 @@ const Al = O({ name: "ri-time-line", render: Bl }), Dl = { class: "flex justify-
1382
1382
  onBlur: c
1383
1383
  }), {
1384
1384
  icon: x(() => [
1385
- g(o, { class: "size-8" })
1385
+ g(a, { class: "size-8" })
1386
1386
  ]),
1387
1387
  _: 1
1388
1388
  }, 16, ["modelValue"])
@@ -1392,20 +1392,20 @@ const Al = O({ name: "ri-time-line", render: Bl }), Dl = { class: "flex justify-
1392
1392
  }, 16);
1393
1393
  };
1394
1394
  }
1395
- }), Kl = {
1395
+ }), Ns = {
1396
1396
  viewBox: "0 0 24 24",
1397
1397
  width: "1.2em",
1398
1398
  height: "1.2em"
1399
1399
  };
1400
- function Rl(e, n) {
1401
- return p(), v("svg", Kl, [...n[0] || (n[0] = [
1402
- a("path", {
1400
+ function Os(e, n) {
1401
+ return p(), v("svg", Ns, [...n[0] || (n[0] = [
1402
+ o("path", {
1403
1403
  fill: "currentColor",
1404
1404
  d: "M8 4h13v2H8zm-5-.5h3v3H3zm0 7h3v3H3zm0 7h3v3H3zM8 11h13v2H8zm0 7h13v2H8z"
1405
1405
  }, null, -1)
1406
1406
  ])]);
1407
1407
  }
1408
- const Fl = O({ name: "ri-list-check", render: Rl }), Wl = { class: "flex justify-center py-4" }, Bo = /* @__PURE__ */ M({
1408
+ const Ks = O({ name: "ri-list-check", render: Os }), Fs = { class: "flex justify-center py-4" }, ka = /* @__PURE__ */ S({
1409
1409
  __name: "CardList",
1410
1410
  props: {
1411
1411
  size: {},
@@ -1425,36 +1425,36 @@ const Fl = O({ name: "ri-list-check", render: Rl }), Wl = { class: "flex justify
1425
1425
  },
1426
1426
  emits: ["edit", "close", "click", "clone", "open", "setState"],
1427
1427
  setup(e, { emit: n }) {
1428
- const s = e, l = n, t = ({ value: d }) => l("setState", d), r = ({ opts: d, value: m }) => {
1429
- var o;
1430
- return Array.isArray(d == null ? void 0 : d.items) && ((o = d == null ? void 0 : d.items.find((i) => i.value == m)) == null ? void 0 : o.name) || m;
1431
- }, c = ({ name: d, value: m, opts: o = {} }) => {
1428
+ const l = e, s = n, t = ({ value: d }) => s("setState", d), r = ({ opts: d, value: m }) => {
1429
+ var a;
1430
+ return Array.isArray(d == null ? void 0 : d.items) && ((a = d == null ? void 0 : d.items.find((i) => i.value == m)) == null ? void 0 : a.name) || m;
1431
+ }, c = ({ name: d, value: m, opts: a = {} }) => {
1432
1432
  var b;
1433
- const { items: i = [], disabled: u } = o, f = ((b = i.find((h) => h.value == m)) == null ? void 0 : b.name) || m;
1433
+ const { items: i = [], disabled: u } = a, f = ((b = i.find((h) => h.value == m)) == null ? void 0 : b.name) || m;
1434
1434
  return { label: d, modelValue: f, items: i, disabled: !!u };
1435
1435
  };
1436
1436
  return (d, m) => {
1437
- const o = Fl;
1438
- return p(), I(oe, j(s, {
1439
- onClick: m[1] || (m[1] = (i) => l("click", i)),
1440
- onEdit: m[2] || (m[2] = (i) => l("edit", i)),
1441
- onClone: m[3] || (m[3] = (i) => l("clone", i))
1437
+ const a = Ks;
1438
+ return p(), I(ae, H(l, {
1439
+ onClick: m[1] || (m[1] = (i) => s("click", i)),
1440
+ onEdit: m[2] || (m[2] = (i) => s("edit", i)),
1441
+ onClone: m[3] || (m[3] = (i) => s("clone", i))
1442
1442
  }), {
1443
1443
  icon: x((i) => [
1444
- k(d.$slots, "icon", K(R(i)))
1444
+ k(d.$slots, "icon", F(U(i)))
1445
1445
  ]),
1446
1446
  value: x((i) => [
1447
- H(_(r(i)), 1)
1447
+ j(_(r(i)), 1)
1448
1448
  ]),
1449
1449
  "dialog-value": x((i) => [
1450
- H(_(r(i)), 1)
1450
+ j(_(r(i)), 1)
1451
1451
  ]),
1452
1452
  header: x((i) => [
1453
- a("div", {
1454
- onClick: m[0] || (m[0] = F(() => {
1453
+ o("div", {
1454
+ onClick: m[0] || (m[0] = R(() => {
1455
1455
  }, ["prevent", "stop"]))
1456
1456
  }, [
1457
- g(se, j(c(i), {
1457
+ g(le, H(c(i), {
1458
1458
  "is-popup": "",
1459
1459
  top: "0",
1460
1460
  left: "-115px",
@@ -1464,10 +1464,10 @@ const Fl = O({ name: "ri-list-check", render: Rl }), Wl = { class: "flex justify
1464
1464
  g(A, {
1465
1465
  type: "icon",
1466
1466
  class: "text-gray-500",
1467
- onClick: F(u.click, ["stop"])
1467
+ onClick: R(u.click, ["stop"])
1468
1468
  }, {
1469
1469
  default: x(() => [
1470
- g(o, { class: "size-6" })
1470
+ g(a, { class: "size-6" })
1471
1471
  ]),
1472
1472
  _: 1
1473
1473
  }, 8, ["onClick"])
@@ -1477,8 +1477,8 @@ const Fl = O({ name: "ri-list-check", render: Rl }), Wl = { class: "flex justify
1477
1477
  ])
1478
1478
  ]),
1479
1479
  dialog: x((i) => [
1480
- a("div", Wl, [
1481
- g(se, j(c(i), {
1480
+ o("div", Fs, [
1481
+ g(le, H(c(i), {
1482
1482
  top: "-50%",
1483
1483
  left: "50%",
1484
1484
  onChange: t
@@ -1489,33 +1489,33 @@ const Fl = O({ name: "ri-list-check", render: Rl }), Wl = { class: "flex justify
1489
1489
  }, 16);
1490
1490
  };
1491
1491
  }
1492
- }), ql = {
1492
+ }), Us = {
1493
1493
  viewBox: "0 0 24 24",
1494
1494
  width: "1.2em",
1495
1495
  height: "1.2em"
1496
1496
  };
1497
- function Gl(e, n) {
1498
- return p(), v("svg", ql, [...n[0] || (n[0] = [
1499
- a("path", {
1497
+ function Rs(e, n) {
1498
+ return p(), v("svg", Us, [...n[0] || (n[0] = [
1499
+ o("path", {
1500
1500
  fill: "currentColor",
1501
1501
  d: "M15.5 5a3.5 3.5 0 1 0 0 7a3.5 3.5 0 0 0 0-7M10 8.5a5.5 5.5 0 1 1 10.032 3.117l2.675 2.676l-1.414 1.414l-2.675-2.675A5.5 5.5 0 0 1 10 8.5M3 4h5v2H3zm0 7h5v2H3zm18 7v2H3v-2z"
1502
1502
  }, null, -1)
1503
1503
  ])]);
1504
1504
  }
1505
- const Jl = O({ name: "ri-menu-search-line", render: Gl }), Zl = {
1505
+ const Ws = O({ name: "ri-menu-search-line", render: Rs }), qs = {
1506
1506
  viewBox: "0 0 24 24",
1507
1507
  width: "1.2em",
1508
1508
  height: "1.2em"
1509
1509
  };
1510
- function Xl(e, n) {
1511
- return p(), v("svg", Zl, [...n[0] || (n[0] = [
1512
- a("path", {
1510
+ function Gs(e, n) {
1511
+ return p(), v("svg", qs, [...n[0] || (n[0] = [
1512
+ o("path", {
1513
1513
  fill: "currentColor",
1514
1514
  d: "M11 11V5h2v6h6v2h-6v6h-2v-6H5v-2z"
1515
1515
  }, null, -1)
1516
1516
  ])]);
1517
1517
  }
1518
- const ge = O({ name: "ri-add-line", render: Xl }), Yl = { class: "flex w-full relative" }, Ql = { class: "flex gap-2 flex-wrap flex-auto px-2 py-1" }, es = ["disabled"], Fe = /* @__PURE__ */ M({
1518
+ const he = O({ name: "ri-add-line", render: Gs }), Js = { class: "flex w-full relative" }, Zs = { class: "flex gap-2 flex-wrap flex-auto px-2 py-1" }, Xs = ["disabled"], Re = /* @__PURE__ */ S({
1519
1519
  __name: "VTextWrapper",
1520
1520
  props: {
1521
1521
  active: { type: Boolean },
@@ -1525,66 +1525,66 @@ const ge = O({ name: "ri-add-line", render: Xl }), Yl = { class: "flex w-full re
1525
1525
  },
1526
1526
  emits: ["icon"],
1527
1527
  setup(e, { emit: n }) {
1528
- const s = n, l = E(() => e.active ? "top-0 left-3 text-xs" : "top-1/2"), t = E(() => [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"]);
1528
+ const l = n, s = M(() => e.active ? "top-0 left-3 text-xs" : "top-1/2"), t = M(() => [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"]);
1529
1529
  return (r, c) => {
1530
- const d = ge;
1531
- return p(), v("div", Yl, [
1532
- a("div", {
1533
- class: T(["glass-inset relative flex min-h-[40px] w-full items-center rounded-md transition focus-within:border-primary/60", t.value])
1530
+ const d = he;
1531
+ return p(), v("div", Js, [
1532
+ o("div", {
1533
+ class: E(["glass-inset relative flex min-h-[40px] w-full items-center rounded-md transition focus-within:border-primary/60", t.value])
1534
1534
  }, [
1535
- a("span", {
1536
- class: T(["absolute left-4 transition-all rounded -translate-y-1/2 text-gray-600 dark:text-gray-400", l.value])
1535
+ o("span", {
1536
+ class: E(["absolute left-4 transition-all rounded -translate-y-1/2 text-gray-600 dark:text-gray-400", s.value])
1537
1537
  }, _(e.label), 3),
1538
- a("div", Ql, [
1538
+ o("div", Zs, [
1539
1539
  k(r.$slots, "default")
1540
1540
  ]),
1541
- e.hideIcon ? z("", !0) : (p(), v("button", {
1541
+ e.hideIcon ? V("", !0) : (p(), v("button", {
1542
1542
  key: 0,
1543
1543
  disabled: e.disabled,
1544
- class: T([{ "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]"]),
1545
- onClick: c[0] || (c[0] = (m) => s("icon", m))
1544
+ class: E([{ "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]"]),
1545
+ onClick: c[0] || (c[0] = (m) => l("icon", m))
1546
1546
  }, [
1547
1547
  k(r.$slots, "icon", {}, () => [
1548
1548
  g(d, { class: "size-4" })
1549
1549
  ])
1550
- ], 10, es))
1550
+ ], 10, Xs))
1551
1551
  ], 2)
1552
1552
  ]);
1553
1553
  };
1554
1554
  }
1555
- }), ts = {
1555
+ }), Ys = {
1556
1556
  viewBox: "0 0 24 24",
1557
1557
  width: "1.2em",
1558
1558
  height: "1.2em"
1559
1559
  };
1560
- function ns(e, n) {
1561
- return p(), v("svg", ts, [...n[0] || (n[0] = [
1562
- a("path", {
1560
+ function Qs(e, n) {
1561
+ return p(), v("svg", Ys, [...n[0] || (n[0] = [
1562
+ o("path", {
1563
1563
  fill: "currentColor",
1564
1564
  d: "M7 6V3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-3v3c0 .552-.45 1-1.007 1H4.007A1 1 0 0 1 3 21l.003-14c0-.552.45-1 1.006-1zM5.002 8L5 20h10V8zM9 6h8v10h2V4H9z"
1565
1565
  }, null, -1)
1566
1566
  ])]);
1567
1567
  }
1568
- const ls = O({ name: "ri-file-copy-line", render: ns }), ss = {
1568
+ const el = O({ name: "ri-file-copy-line", render: Qs }), tl = {
1569
1569
  viewBox: "0 0 24 24",
1570
1570
  width: "1.2em",
1571
1571
  height: "1.2em"
1572
1572
  };
1573
- function as(e, n) {
1574
- return p(), v("svg", ss, [...n[0] || (n[0] = [
1575
- a("path", {
1573
+ function nl(e, n) {
1574
+ return p(), v("svg", tl, [...n[0] || (n[0] = [
1575
+ o("path", {
1576
1576
  fill: "currentColor",
1577
1577
  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"
1578
1578
  }, null, -1)
1579
1579
  ])]);
1580
1580
  }
1581
- const os = O({ name: "ri-folder6-line", render: as }), is = ["onClick"], rs = {
1581
+ const sl = O({ name: "ri-folder6-line", render: nl }), ll = ["onClick"], ol = {
1582
1582
  key: 0,
1583
1583
  class: "me-1"
1584
- }, ds = { class: "dark:text-gray-300" }, cs = { class: "flex gap-3 items-center z-10" }, us = {
1584
+ }, al = { class: "dark:text-gray-300" }, il = { class: "flex gap-3 items-center z-10" }, rl = {
1585
1585
  key: 0,
1586
1586
  class: "flex ps-5"
1587
- }, ms = { class: "font-medium dark:text-gray-300" }, We = /* @__PURE__ */ M({
1587
+ }, dl = { class: "font-medium dark:text-gray-300" }, We = /* @__PURE__ */ S({
1588
1588
  __name: "VListObject",
1589
1589
  props: {
1590
1590
  items: { default: () => ({}) },
@@ -1593,82 +1593,82 @@ const os = O({ name: "ri-folder6-line", render: as }), is = ["onClick"], rs = {
1593
1593
  },
1594
1594
  emits: ["click"],
1595
1595
  setup(e, { emit: n }) {
1596
- const s = n, l = () => "before:absolute before:w-full before:h-8 before:t-0 before:left-0 before:border-b before:border-gray-200 dark:before:border-gray-800/50 hover:before:bg-gray-400/10", t = L({}), { text: r, copy: c, copied: d, isSupported: m } = _t(), o = (b) => {
1596
+ const l = n, s = () => "before:absolute before:w-full before:h-8 before:t-0 before:left-0 before:border-b before:border-gray-200 dark:before:border-gray-800/50 hover:before:bg-gray-400/10", t = L({}), { text: r, copy: c, copied: d, isSupported: m } = bt(), a = (b) => {
1597
1597
  t.value[b] = !t.value[b];
1598
1598
  }, i = (b) => typeof b == "object", u = (b) => `${e.path ? e.path + "." : ""}${b}`, f = (b, h) => {
1599
- s("click", { key: b, path: u(b), isObject: h });
1599
+ l("click", { key: b, path: u(b), isObject: h });
1600
1600
  };
1601
1601
  return (b, h) => {
1602
- const y = os, S = ls, V = ge;
1602
+ const y = sl, z = el, T = he;
1603
1603
  return p(), v("ul", null, [
1604
1604
  (p(!0), v(B, null, N(e.items, (w, P) => (p(), v("li", {
1605
1605
  key: P,
1606
- class: T(i(w) ? "" : `flex items-center ${l()}`)
1606
+ class: E(i(w) ? "" : `flex items-center ${s()}`)
1607
1607
  }, [
1608
- a("div", {
1609
- class: T(["flex items-center cursor-pointer ps-2 h-8", i(w) ? `${l()}` : ""]),
1610
- onClick: (Z) => o(P)
1608
+ o("div", {
1609
+ class: E(["flex items-center cursor-pointer ps-2 h-8", i(w) ? `${s()}` : ""]),
1610
+ onClick: (Z) => a(P)
1611
1611
  }, [
1612
- i(w) ? (p(), v("div", rs, [
1612
+ i(w) ? (p(), v("div", ol, [
1613
1613
  g(y, { class: "size-5" })
1614
- ])) : z("", !0),
1615
- a("div", ds, _(P), 1),
1614
+ ])) : V("", !0),
1615
+ o("div", al, _(P), 1),
1616
1616
  q(m) ? (p(), I(A, {
1617
1617
  key: 1,
1618
1618
  class: "opacity-20 hover:opacity-70 transition-all",
1619
1619
  color: "transparent",
1620
1620
  size: "sm",
1621
- onClick: F((Z) => q(c)(u(P)), ["stop"])
1621
+ onClick: R((Z) => q(c)(u(P)), ["stop"])
1622
1622
  }, {
1623
1623
  default: x(() => [
1624
- g(S, { class: "size-5" })
1624
+ g(z, { class: "size-5" })
1625
1625
  ]),
1626
1626
  _: 1
1627
- }, 8, ["onClick"])) : z("", !0),
1627
+ }, 8, ["onClick"])) : V("", !0),
1628
1628
  q(r) === u(P) ? (p(), v("span", {
1629
1629
  key: 2,
1630
- class: T(["text-gray-500 transition-all duration-1000 text-sm", q(d) ? "opacity-100" : "opacity-0"])
1631
- }, _(b.$t("copied")), 3)) : z("", !0),
1630
+ class: E(["text-gray-500 transition-all duration-1000 text-sm", q(d) ? "opacity-100" : "opacity-0"])
1631
+ }, _(b.$t("copied")), 3)) : V("", !0),
1632
1632
  !e.onlyValue && i(w) ? (p(), v(B, { key: 3 }, [
1633
- h[1] || (h[1] = a("div", { class: "flex-auto" }, null, -1)),
1634
- a("div", cs, [
1633
+ h[1] || (h[1] = o("div", { class: "flex-auto" }, null, -1)),
1634
+ o("div", il, [
1635
1635
  g(A, {
1636
1636
  class: "opacity-20 hover:opacity-70 transition-all",
1637
1637
  color: "transparent",
1638
1638
  size: "sm",
1639
1639
  title: b.$t("add"),
1640
- onClick: F((Z) => f(P, i(w)), ["stop"])
1640
+ onClick: R((Z) => f(P, i(w)), ["stop"])
1641
1641
  }, {
1642
1642
  default: x(() => [
1643
- g(V, { class: "size-5" })
1643
+ g(T, { class: "size-5" })
1644
1644
  ]),
1645
1645
  _: 1
1646
1646
  }, 8, ["title", "onClick"])
1647
1647
  ])
1648
- ], 64)) : z("", !0)
1649
- ], 10, is),
1650
- i(w) ? (p(), v("div", us, [
1651
- he(g(We, {
1648
+ ], 64)) : V("", !0)
1649
+ ], 10, ll),
1650
+ i(w) ? (p(), v("div", rl, [
1651
+ we(g(We, {
1652
1652
  class: "flex-auto",
1653
1653
  path: u(P),
1654
1654
  items: w,
1655
1655
  onlyValue: e.onlyValue,
1656
- onClick: h[0] || (h[0] = (Z) => s("click", Z))
1656
+ onClick: h[0] || (h[0] = (Z) => l("click", Z))
1657
1657
  }, null, 8, ["path", "items", "onlyValue"]), [
1658
- [lt, t.value[P]]
1658
+ [st, t.value[P]]
1659
1659
  ])
1660
1660
  ])) : (p(), v(B, { key: 1 }, [
1661
- h[2] || (h[2] = a("div", { class: "flex-auto gap-3" }, null, -1)),
1662
- a("div", ms, _(w), 1),
1661
+ h[2] || (h[2] = o("div", { class: "flex-auto gap-3" }, null, -1)),
1662
+ o("div", dl, _(w), 1),
1663
1663
  g(A, {
1664
1664
  class: "opacity-20 hover:opacity-70 transition-all",
1665
1665
  color: "gray",
1666
1666
  size: "sm",
1667
1667
  title: b.$t("add"),
1668
- onClick: F((Z) => f(P, i(w)), ["stop"])
1668
+ onClick: R((Z) => f(P, i(w)), ["stop"])
1669
1669
  }, {
1670
1670
  default: x(() => [
1671
- g(V, { class: "size-5" })
1671
+ g(T, { class: "size-5" })
1672
1672
  ]),
1673
1673
  _: 1
1674
1674
  }, 8, ["title", "onClick"])
@@ -1677,54 +1677,57 @@ const os = O({ name: "ri-folder6-line", render: as }), is = ["onClick"], rs = {
1677
1677
  ]);
1678
1678
  };
1679
1679
  }
1680
- }), ps = { class: "glass-inset rounded-md p-1" }, fs = { class: "flex gap-1" }, vs = ["onClick"], hs = { class: "px-4 py-2" }, gs = { class: "relative my-4" }, bs = { key: 0 }, xs = /* @__PURE__ */ M({
1680
+ }), cl = { class: "glass-inset rounded-md p-1" }, ul = { class: "flex gap-1" }, ml = ["onClick"], pl = { class: "relative my-4" }, fl = { key: 0 }, vl = /* @__PURE__ */ S({
1681
1681
  __name: "VTabs",
1682
1682
  props: {
1683
1683
  value: {},
1684
- items: {}
1684
+ items: {},
1685
+ size: { default: "md" }
1685
1686
  },
1686
1687
  emits: ["click"],
1687
- setup(e, { expose: n, emit: s }) {
1688
- const l = s, t = L(e.value || 0), r = (d) => [
1688
+ setup(e, { expose: n, emit: l }) {
1689
+ const s = l, t = L(e.value || 0), r = (d) => [
1689
1690
  t.value === d ? "bg-primary/10 text-primary" : "text-gray-500 hover:bg-white/5 dark:text-white/50 dark:hover:bg-white/5"
1690
1691
  ], c = (d) => {
1691
- t.value = d, l("click", d);
1692
+ t.value = d, s("click", d);
1692
1693
  };
1693
1694
  return n({
1694
1695
  setActiveTab: c,
1695
1696
  activeTab: t
1696
1697
  }), (d, m) => (p(), v("div", null, [
1697
- a("div", ps, [
1698
- a("div", fs, [
1699
- (p(!0), v(B, null, N(e.items, (o, i) => (p(), v("div", {
1698
+ o("div", cl, [
1699
+ o("div", ul, [
1700
+ (p(!0), v(B, null, N(e.items, (a, i) => (p(), v("div", {
1700
1701
  key: i,
1701
1702
  class: "relative flex-auto"
1702
1703
  }, [
1703
- a("button", {
1704
+ o("button", {
1704
1705
  type: "button",
1705
1706
  class: "w-full",
1706
1707
  onClick: (u) => c(i)
1707
1708
  }, [
1708
- a("div", {
1709
- class: T([r(i), "rounded-md px-3 py-2 font-medium text-lg transition"])
1709
+ o("div", {
1710
+ class: E([[r(i), e.size === "sm" ? "px-2 py-1 text-xs" : "px-3 py-2 text-sm"], "rounded-md font-medium transition"])
1710
1711
  }, [
1711
1712
  k(d.$slots, "header", {
1712
- tab: o,
1713
+ tab: a,
1713
1714
  i
1714
1715
  }, () => [
1715
- a("div", hs, _(o.title), 1)
1716
+ o("div", {
1717
+ class: E(e.size === "sm" ? "px-2 py-0.5" : "px-3 py-1")
1718
+ }, _(a.title), 3)
1716
1719
  ])
1717
1720
  ], 2)
1718
- ], 8, vs)
1721
+ ], 8, ml)
1719
1722
  ]))), 128))
1720
1723
  ])
1721
1724
  ]),
1722
- a("div", gs, [
1723
- (p(!0), v(B, null, N(e.items, (o, i) => (p(), v("div", {
1725
+ o("div", pl, [
1726
+ (p(!0), v(B, null, N(e.items, (a, i) => (p(), v("div", {
1724
1727
  key: i,
1725
1728
  class: "tab-panel"
1726
1729
  }, [
1727
- g(ke, {
1730
+ g($e, {
1728
1731
  "enter-active-class": "transition-all duration-300 ease-out",
1729
1732
  "enter-from-class": "transform opacity-0 translate-x-2",
1730
1733
  "enter-to-class": "transform opacity-100 translate-x-0",
@@ -1733,9 +1736,9 @@ const os = O({ name: "ri-folder6-line", render: as }), is = ["onClick"], rs = {
1733
1736
  "leave-to-class": "transform opacity-0 -translate-x-2"
1734
1737
  }, {
1735
1738
  default: x(() => [
1736
- t.value === i ? (p(), v("div", bs, [
1739
+ t.value === i ? (p(), v("div", fl, [
1737
1740
  k(d.$slots, `tab-${i}`)
1738
- ])) : z("", !0)
1741
+ ])) : V("", !0)
1739
1742
  ]),
1740
1743
  _: 2
1741
1744
  }, 1024)
@@ -1743,7 +1746,7 @@ const os = O({ name: "ri-folder6-line", render: as }), is = ["onClick"], rs = {
1743
1746
  ])
1744
1747
  ]));
1745
1748
  }
1746
- }), ys = { class: "flex gap-1 text-amber-500 self-start text-nowrap select-none" }, _s = ["title", "onMouseenter", "onMouseleave"], $s = { class: "flex flex-auto" }, ks = ["disabled"], xe = /* @__PURE__ */ M({
1749
+ }), hl = { class: "flex gap-1 text-amber-500 self-start text-nowrap select-none" }, gl = ["title", "onMouseenter", "onMouseleave"], bl = { class: "flex flex-auto" }, xl = ["disabled"], be = /* @__PURE__ */ S({
1747
1750
  __name: "VFunc",
1748
1751
  props: {
1749
1752
  label: {},
@@ -1754,24 +1757,24 @@ const os = O({ name: "ri-folder6-line", render: as }), is = ["onClick"], rs = {
1754
1757
  },
1755
1758
  emits: ["change", "icon", "hover"],
1756
1759
  setup(e, { emit: n }) {
1757
- const s = n, l = ["v", "a", "b", "c"], t = L(e.value || ""), r = (m) => {
1760
+ const l = n, s = ["v", "a", "b", "c"], t = L(e.value || ""), r = (m) => {
1758
1761
  try {
1759
1762
  return new Function(m), !0;
1760
- } catch (o) {
1761
- return console.warn(o), !1;
1763
+ } catch (a) {
1764
+ return console.warn(a), !1;
1762
1765
  }
1763
- }, c = Me((m) => {
1764
- const o = m.target;
1765
- r(o.value) && s("change", o.value);
1766
- }, 500), d = (m) => s("icon", m);
1767
- return ae(
1766
+ }, c = Se((m) => {
1767
+ const a = m.target;
1768
+ r(a.value) && l("change", a.value);
1769
+ }, 500), d = (m) => l("icon", m);
1770
+ return oe(
1768
1771
  () => e.value,
1769
1772
  () => {
1770
1773
  e.value && (t.value = e.value);
1771
1774
  }
1772
- ), (m, o) => {
1773
- const i = ce, u = ge;
1774
- return p(), I(Fe, {
1775
+ ), (m, a) => {
1776
+ const i = de, u = he;
1777
+ return p(), I(Re, {
1775
1778
  active: !!e.value,
1776
1779
  disabled: e.disabled,
1777
1780
  label: e.label,
@@ -1789,38 +1792,38 @@ const os = O({ name: "ri-folder6-line", render: as }), is = ["onClick"], rs = {
1789
1792
  ]),
1790
1793
  default: x(() => [
1791
1794
  e.value ? (p(), v(B, { key: 0 }, [
1792
- a("div", ys, [
1793
- o[3] || (o[3] = H(" ( ", -1)),
1795
+ o("div", hl, [
1796
+ a[3] || (a[3] = j(" ( ", -1)),
1794
1797
  (p(!0), v(B, null, N(e.args, (f, b) => (p(), v(B, { key: f }, [
1795
- a("span", {
1798
+ o("span", {
1796
1799
  class: "text-blue-400/80",
1797
1800
  title: f,
1798
- onMouseenter: (h) => s("hover", "enter", b),
1799
- onMouseleave: (h) => s("hover", "leave", b)
1800
- }, _(l[b]), 41, _s),
1801
- o[2] || (o[2] = a("span", { class: "last:hidden" }, ",", -1))
1801
+ onMouseenter: (h) => l("hover", "enter", b),
1802
+ onMouseleave: (h) => l("hover", "leave", b)
1803
+ }, _(s[b]), 41, gl),
1804
+ a[2] || (a[2] = o("span", { class: "last:hidden" }, ",", -1))
1802
1805
  ], 64))), 128)),
1803
- o[4] || (o[4] = H(" ) => ", -1))
1806
+ a[4] || (a[4] = j(" ) => ", -1))
1804
1807
  ]),
1805
- a("div", $s, [
1806
- he(a("textarea", {
1807
- "onUpdate:modelValue": o[0] || (o[0] = (f) => t.value = f),
1808
+ o("div", bl, [
1809
+ we(o("textarea", {
1810
+ "onUpdate:modelValue": a[0] || (a[0] = (f) => t.value = f),
1808
1811
  class: "outline-0 w-full resize-none field-sizing-content",
1809
1812
  type: "text",
1810
1813
  disabled: e.disabled,
1811
- onInput: o[1] || (o[1] = //@ts-ignore
1814
+ onInput: a[1] || (a[1] = //@ts-ignore
1812
1815
  (...f) => q(c) && q(c)(...f))
1813
- }, null, 40, ks), [
1814
- [He, t.value]
1816
+ }, null, 40, xl), [
1817
+ [je, t.value]
1815
1818
  ])
1816
1819
  ])
1817
- ], 64)) : z("", !0)
1820
+ ], 64)) : V("", !0)
1818
1821
  ]),
1819
1822
  _: 1
1820
1823
  }, 8, ["active", "disabled", "label", "hideIcon"]);
1821
1824
  };
1822
1825
  }
1823
- }), ws = ["checked", "disabled"], Cs = { class: "text-sm ms-2 peer-disabled:opacity-40" }, Ms = /* @__PURE__ */ M({
1826
+ }), yl = ["checked", "disabled"], _l = { class: "text-sm ms-2 peer-disabled:opacity-40" }, $l = /* @__PURE__ */ S({
1824
1827
  __name: "VCheckbox",
1825
1828
  props: {
1826
1829
  modelValue: { type: [Number, Boolean], default: !1 },
@@ -1828,48 +1831,48 @@ const os = O({ name: "ri-folder6-line", render: as }), is = ["onClick"], rs = {
1828
1831
  },
1829
1832
  emits: ["update:modelValue", "click"],
1830
1833
  setup(e, { emit: n }) {
1831
- const s = n, l = (r) => {
1834
+ const l = n, s = (r) => {
1832
1835
  const c = r.target;
1833
- s("update:modelValue", c.checked);
1834
- }, t = (r) => s("click", r);
1836
+ l("update:modelValue", c.checked);
1837
+ }, t = (r) => l("click", r);
1835
1838
  return (r, c) => (p(), v("label", {
1836
- class: T(["inline-flex items-center relative", { "cursor-pointer": !e.disabled }]),
1839
+ class: E(["inline-flex items-center relative", { "cursor-pointer": !e.disabled }]),
1837
1840
  onClick: t
1838
1841
  }, [
1839
- a("input", {
1842
+ o("input", {
1840
1843
  type: "checkbox",
1841
1844
  checked: !!e.modelValue,
1842
1845
  disabled: e.disabled,
1843
1846
  class: "peer size-5 appearance-none rounded-md border border-gray-300/80 bg-white/50 transition-all checked:border-[var(--accent-blue)] checked:bg-blue-50 dark:checked:border-[var(--accent-blue)] dark:checked:bg-[var(--accent-blue)] disabled:opacity-40 not-disabled:cursor-pointer dark:border-white/15 dark:bg-white/[0.04]",
1844
- onChange: l
1845
- }, null, 40, ws),
1846
- c[0] || (c[0] = a("button", { class: "pointer-events-none absolute left-[10px] top-1/2 -translate-x-1/2 -translate-y-1/2 text-[var(--accent-blue)] opacity-0 peer-checked:opacity-100 peer-disabled:opacity-40 dark:text-white" }, [
1847
- a("svg", {
1847
+ onChange: s
1848
+ }, null, 40, yl),
1849
+ c[0] || (c[0] = o("button", { class: "pointer-events-none absolute left-[10px] top-1/2 -translate-x-1/2 -translate-y-1/2 text-[var(--accent-blue)] opacity-0 peer-checked:opacity-100 peer-disabled:opacity-40 dark:text-white" }, [
1850
+ o("svg", {
1848
1851
  class: "h-3.5 w-3.5",
1849
1852
  viewBox: "0 0 20 20",
1850
1853
  fill: "currentColor",
1851
1854
  stroke: "currentColor",
1852
1855
  "stroke-width": "1"
1853
1856
  }, [
1854
- a("path", {
1857
+ o("path", {
1855
1858
  "fill-rule": "evenodd",
1856
1859
  d: "M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",
1857
1860
  "clip-rule": "evenodd"
1858
1861
  })
1859
1862
  ])
1860
1863
  ], -1)),
1861
- a("span", Cs, [
1864
+ o("span", _l, [
1862
1865
  k(r.$slots, "default")
1863
1866
  ])
1864
1867
  ], 2));
1865
1868
  }
1866
- }), zs = { class: "flex flex-col" }, Ss = { class: "flex gap-4 mb-6" }, Vs = {
1869
+ }), kl = { class: "flex flex-col" }, wl = { class: "flex gap-4 mb-6" }, Cl = {
1867
1870
  key: 0,
1868
1871
  class: "flex gap-4"
1869
- }, Ts = {
1872
+ }, Sl = {
1870
1873
  key: 1,
1871
1874
  class: ""
1872
- }, Ls = { class: "flex flex-col md:flex-row gap-4" }, Es = { class: "flex gap-4" }, Bs = { class: "flex justify-between flex-auto" }, As = ["onClick"], Ds = /* @__PURE__ */ M({
1875
+ }, zl = { class: "flex flex-col md:flex-row gap-4" }, Vl = { class: "flex gap-4" }, Tl = { class: "flex justify-between flex-auto" }, El = ["onClick"], Ll = /* @__PURE__ */ S({
1873
1876
  __name: "ItemOptions",
1874
1877
  props: {
1875
1878
  min: { default: 0 },
@@ -1882,35 +1885,35 @@ const os = O({ name: "ri-folder6-line", render: as }), is = ["onClick"], rs = {
1882
1885
  },
1883
1886
  emits: ["update"],
1884
1887
  setup(e, { emit: n }) {
1885
- const s = n, l = E(() => e.items.map((h, y) => ({ ...h, id: ++y }))), t = L({ name: "", value: "" }), r = E(() => e.items.length + 1), c = E(() => {
1888
+ const l = n, s = M(() => e.items.map((h, y) => ({ ...h, id: ++y }))), t = L({ name: "", value: "" }), r = M(() => e.items.length + 1), c = M(() => {
1886
1889
  var h;
1887
1890
  return !((h = t.value) != null && h.id);
1888
- }), d = (h) => e.type === h, m = (h, y) => s("update", h, y), o = (h) => h.map(({ name: y, value: S }) => ({ name: y, value: S })), i = ({ id: h, name: y, value: S }) => t.value = { id: h, name: y, value: S }, u = () => {
1891
+ }), d = (h) => e.type === h, m = (h, y) => l("update", h, y), a = (h) => h.map(({ name: y, value: z }) => ({ name: y, value: z })), i = ({ id: h, name: y, value: z }) => t.value = { id: h, name: y, value: z }, u = () => {
1889
1892
  const h = r.value;
1890
- t.value = { name: `New_${h}`, value: `${h}`, id: h }, m("items", o([...l.value, t.value]));
1893
+ t.value = { name: `New_${h}`, value: `${h}`, id: h }, m("items", a([...s.value, t.value]));
1891
1894
  }, f = (h) => {
1892
- t.value.name === h.name && (t.value = { name: "", value: "" }), m("items", o(l.value.filter((y) => y.value !== h.value)));
1893
- }, b = Me(() => {
1895
+ t.value.name === h.name && (t.value = { name: "", value: "" }), m("items", a(s.value.filter((y) => y.value !== h.value)));
1896
+ }, b = Se(() => {
1894
1897
  const h = t.value;
1895
1898
  if (!h.name || !h.value) return;
1896
- const y = l.value.map((S) => S.id === h.id ? h : S);
1897
- m("items", o(y));
1899
+ const y = s.value.map((z) => z.id === h.id ? h : z);
1900
+ m("items", a(y));
1898
1901
  }, 300);
1899
1902
  return (h, y) => {
1900
- const S = ce, V = ge;
1901
- return p(), v("div", zs, [
1902
- a("div", Ss, [
1903
- g(Ms, {
1903
+ const z = de, T = he;
1904
+ return p(), v("div", kl, [
1905
+ o("div", wl, [
1906
+ g($l, {
1904
1907
  modelValue: e.disabled,
1905
1908
  "onUpdate:modelValue": y[0] || (y[0] = (w) => m("disabled", w ? 1 : 0))
1906
1909
  }, {
1907
1910
  default: x(() => [...y[6] || (y[6] = [
1908
- H("Disabled", -1)
1911
+ j("Disabled", -1)
1909
1912
  ])]),
1910
1913
  _: 1
1911
1914
  }, 8, ["modelValue"])
1912
1915
  ]),
1913
- d("dimmer") ? (p(), v("div", Vs, [
1916
+ d("dimmer") ? (p(), v("div", Cl, [
1914
1917
  g(J, {
1915
1918
  modelValue: e.min,
1916
1919
  label: "Min",
@@ -1926,9 +1929,9 @@ const os = O({ name: "ri-folder6-line", render: as }), is = ["onClick"], rs = {
1926
1929
  label: "Step",
1927
1930
  "onUpdate:modelValue": y[3] || (y[3] = (w) => m("step", +w))
1928
1931
  }, null, 8, ["modelValue"])
1929
- ])) : z("", !0),
1930
- d("list") ? (p(), v("div", Ts, [
1931
- a("div", Ls, [
1932
+ ])) : V("", !0),
1933
+ d("list") ? (p(), v("div", Sl, [
1934
+ o("div", zl, [
1932
1935
  g(J, {
1933
1936
  modelValue: t.value.name,
1934
1937
  "onUpdate:modelValue": [
@@ -1948,24 +1951,24 @@ const os = O({ name: "ri-folder6-line", render: as }), is = ["onClick"], rs = {
1948
1951
  label: "Value"
1949
1952
  }, null, 8, ["modelValue", "disabled", "onUpdate:modelValue"])
1950
1953
  ]),
1951
- a("div", Es, [
1952
- g(se, {
1954
+ o("div", Vl, [
1955
+ g(le, {
1953
1956
  "model-value": t.value.value,
1954
1957
  label: "List",
1955
- items: l.value,
1958
+ items: s.value,
1956
1959
  top: "unset",
1957
1960
  bottom: "0",
1958
1961
  onChange: i
1959
1962
  }, {
1960
1963
  item: x(({ item: w }) => [
1961
- a("div", Bs, [
1962
- a("span", null, _(w.name), 1),
1963
- a("button", {
1964
+ o("div", Tl, [
1965
+ o("span", null, _(w.name), 1),
1966
+ o("button", {
1964
1967
  class: "cursor-pointer size-4",
1965
- onClick: F((P) => f(w), ["prevent", "stop"])
1968
+ onClick: R((P) => f(w), ["prevent", "stop"])
1966
1969
  }, [
1967
- g(S)
1968
- ], 8, As)
1970
+ g(z)
1971
+ ], 8, El)
1969
1972
  ])
1970
1973
  ]),
1971
1974
  _: 1
@@ -1976,16 +1979,16 @@ const os = O({ name: "ri-folder6-line", render: as }), is = ["onClick"], rs = {
1976
1979
  onClick: u
1977
1980
  }, {
1978
1981
  default: x(() => [
1979
- g(V)
1982
+ g(T)
1980
1983
  ]),
1981
1984
  _: 1
1982
1985
  })
1983
1986
  ])
1984
- ])) : z("", !0)
1987
+ ])) : V("", !0)
1985
1988
  ]);
1986
1989
  };
1987
1990
  }
1988
- }), Is = { class: "flex flex-col" }, Hs = { class: "flex flex-col md:flex-row gap-6 min-h-[300px]" }, js = { class: "flex-auto order-1" }, Ps = { class: "flex-auto gap-x-2 order-1" }, Ns = { class: "grid grid-cols-1 md:grid-cols-2 gap-6" }, Os = { class: "flex gap-2 items-center" }, Us = { class: "flex flex-col gap-4" }, Ks = { class: "flex gap-2 flex-wrap flex-auto px-2 py-1" }, Rs = { class: "relative group" }, Fs = { class: "select-none" }, Ws = ["onClick"], qs = { class: "flex justify-center order-0 md:order-1 md:mt-11" }, Gs = { class: "flex-[0_0_130px] size-[130px]" }, Js = { class: "flex gap-4 justify-end" }, Zs = { class: "relative min-h-[200px] max-h-100dvh overflow-auto scrollbar" }, Ao = /* @__PURE__ */ M({
1991
+ }), Bl = { class: "flex flex-col" }, Ml = { class: "flex flex-col md:flex-row gap-6 min-h-[300px]" }, Al = { class: "flex-auto order-1" }, Dl = { class: "flex-auto gap-x-2 order-1" }, Il = { class: "grid grid-cols-1 md:grid-cols-2 gap-6" }, jl = { class: "flex gap-2 items-center" }, Hl = { class: "flex flex-col gap-4" }, Pl = { class: "flex gap-2 flex-wrap flex-auto px-2 py-1" }, Nl = { class: "relative group" }, Ol = { class: "select-none" }, Kl = ["onClick"], Fl = { class: "flex justify-center order-0 md:order-1 md:mt-11" }, Ul = { class: "flex-[0_0_130px] size-[130px]" }, Rl = { class: "flex gap-4 justify-end" }, Wl = { class: "relative min-h-[200px] max-h-100dvh overflow-auto scrollbar" }, wa = /* @__PURE__ */ S({
1989
1992
  __name: "ItemEdit",
1990
1993
  props: {
1991
1994
  items: {},
@@ -1996,7 +1999,7 @@ const os = O({ name: "ri-folder6-line", render: as }), is = ["onClick"], rs = {
1996
1999
  },
1997
2000
  emits: ["button"],
1998
2001
  setup(e, { emit: n }) {
1999
- const s = n, l = [{ title: "Main" }, { title: "Data" }, { title: "Options" }], t = L({
2002
+ const l = n, s = [{ title: "Main" }, { title: "Data" }, { title: "Options" }], t = L({
2000
2003
  id: "",
2001
2004
  name: "",
2002
2005
  type: "button",
@@ -2006,16 +2009,16 @@ const os = O({ name: "ri-folder6-line", render: as }), is = ["onClick"], rs = {
2006
2009
  set: "",
2007
2010
  get: "",
2008
2011
  getTo: ""
2009
- }), r = L(!1), c = E(() => {
2012
+ }), r = L(!1), c = M(() => {
2010
2013
  var $;
2011
2014
  return !(($ = e.item) != null && $.id);
2012
- }), d = E(() => !!e.items.filter(($) => {
2015
+ }), d = M(() => !!e.items.filter(($) => {
2013
2016
  var C;
2014
2017
  return $.id !== ((C = e.item) == null ? void 0 : C.id);
2015
- }).find(($) => $.id === (t == null ? void 0 : t.value.id))), m = E(() => t.value.type === "info"), o = E(() => {
2018
+ }).find(($) => $.id === (t == null ? void 0 : t.value.id))), m = M(() => t.value.type === "info"), a = M(() => {
2016
2019
  var $;
2017
2020
  return ($ = t.value.args) == null ? void 0 : $.length;
2018
- }), i = E(() => t.value.args.length > 3), u = E(() => {
2021
+ }), i = M(() => t.value.args.length > 3), u = M(() => {
2019
2022
  if (d.value) return !0;
2020
2023
  const { id: $, args: C } = t.value;
2021
2024
  return !$ || !C.length;
@@ -2024,11 +2027,11 @@ const os = O({ name: "ri-folder6-line", render: as }), is = ["onClick"], rs = {
2024
2027
  t.value.type = C, delete t.value.opts, ["button", "list", "dimmer"].includes(C) && ($ === "button" && (t.value.opts = {}), $ === "list" && (t.value.opts = { items: [] }), $ === "dimmer" && (t.value.opts = { min: 0, max: 255, step: 1 }));
2025
2028
  }, h = ($) => {
2026
2029
  $ === "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");
2027
- }, y = ($) => s("button", $, t.value), S = ($) => t.value.args = t.value.args.filter((C) => C !== $), V = ({ path: $ }) => {
2030
+ }, y = ($) => l("button", $, t.value), z = ($) => t.value.args = t.value.args.filter((C) => C !== $), T = ({ path: $ }) => {
2028
2031
  !t.value.args.length && !t.value.id && (t.value.id = $), t.value.args.push($), r.value = !1;
2029
2032
  }, w = L(-1), P = ($) => w.value === $, Z = ($, C) => {
2030
2033
  $ === "enter" && (w.value = C), $ === "leave" && (w.value = -1);
2031
- }, be = ($, C) => {
2034
+ }, ge = ($, C) => {
2032
2035
  $ === "set" && (t.value.set = C), $ === "get" && (t.value.get = C), $ === "getTo" && (t.value.getTo = C), C || delete t.value[$];
2033
2036
  }, Ye = () => {
2034
2037
  r.value = !0;
@@ -2037,26 +2040,26 @@ const os = O({ name: "ri-folder6-line", render: as }), is = ["onClick"], rs = {
2037
2040
  };
2038
2041
  return Q(() => {
2039
2042
  var $;
2040
- ($ = e.item) != null && $.id && (t.value = bt(e.item));
2043
+ ($ = e.item) != null && $.id && (t.value = vt(e.item));
2041
2044
  }), ($, C) => {
2042
- const et = Jl, tt = ce;
2043
- return p(), v("div", Is, [
2044
- a("div", Hs, [
2045
- a("div", js, [
2046
- g(xs, {
2045
+ const et = Ws, tt = de;
2046
+ return p(), v("div", Bl, [
2047
+ o("div", Ml, [
2048
+ o("div", Al, [
2049
+ g(vl, {
2047
2050
  class: "flex-auto min-h-75",
2048
2051
  value: 0,
2049
- items: l
2052
+ items: s
2050
2053
  }, {
2051
2054
  "tab-0": x(() => [
2052
- a("div", Ps, [
2055
+ o("div", Dl, [
2053
2056
  g(J, {
2054
2057
  modelValue: t.value.id,
2055
2058
  "onUpdate:modelValue": C[0] || (C[0] = (D) => t.value.id = D),
2056
2059
  label: "ID",
2057
2060
  message: d.value ? $.$t("used") : ""
2058
- }, st({ _: 2 }, [
2059
- o.value ? void 0 : {
2061
+ }, lt({ _: 2 }, [
2062
+ a.value ? void 0 : {
2060
2063
  name: "icon",
2061
2064
  fn: x(() => [
2062
2065
  g(A, {
@@ -2077,8 +2080,8 @@ const os = O({ name: "ri-folder6-line", render: as }), is = ["onClick"], rs = {
2077
2080
  "onUpdate:modelValue": C[1] || (C[1] = (D) => t.value.name = D),
2078
2081
  label: "Name"
2079
2082
  }, null, 8, ["modelValue"]),
2080
- a("div", Ns, [
2081
- g(se, {
2083
+ o("div", Il, [
2084
+ g(le, {
2082
2085
  "model-value": t.value.icon,
2083
2086
  bottom: "0",
2084
2087
  top: "unset",
@@ -2088,16 +2091,16 @@ const os = O({ name: "ri-folder6-line", render: as }), is = ["onClick"], rs = {
2088
2091
  onChange: f
2089
2092
  }, {
2090
2093
  item: x(({ item: D }) => [
2091
- a("div", Os, [
2094
+ o("div", jl, [
2092
2095
  k($.$slots, "icon", {
2093
2096
  icon: D.value
2094
2097
  }),
2095
- a("div", null, _(D.name), 1)
2098
+ o("div", null, _(D.name), 1)
2096
2099
  ])
2097
2100
  ]),
2098
2101
  _: 3
2099
2102
  }, 8, ["model-value", "items"]),
2100
- g(se, {
2103
+ g(le, {
2101
2104
  "model-value": t.value.type,
2102
2105
  bottom: "0",
2103
2106
  top: "unset",
@@ -2109,70 +2112,70 @@ const os = O({ name: "ri-folder6-line", render: as }), is = ["onClick"], rs = {
2109
2112
  ])
2110
2113
  ]),
2111
2114
  "tab-1": x(() => [
2112
- a("div", Us, [
2113
- g(Fe, {
2115
+ o("div", Hl, [
2116
+ g(Re, {
2114
2117
  active: !!t.value.args.length,
2115
2118
  disabled: i.value,
2116
2119
  label: "Arguments",
2117
2120
  onIcon: C[2] || (C[2] = (D) => r.value = !0)
2118
2121
  }, {
2119
2122
  default: x(() => [
2120
- a("div", Ks, [
2121
- (p(!0), v(B, null, N(t.value.args, (D, Ve) => (p(), v("div", {
2123
+ o("div", Pl, [
2124
+ (p(!0), v(B, null, N(t.value.args, (D, Te) => (p(), v("div", {
2122
2125
  key: D,
2123
2126
  class: "flex items-center rounded-full bg-gray-200 dark:bg-gray-900/50 px-2 py-[2px] text-xs"
2124
2127
  }, [
2125
- a("div", Rs, [
2126
- a("span", Fs, _(D), 1),
2127
- a("div", {
2128
- class: T(["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", P(Ve) ? "visible opacity-100" : ""])
2128
+ o("div", Nl, [
2129
+ o("span", Ol, _(D), 1),
2130
+ o("div", {
2131
+ class: E(["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", P(Te) ? "visible opacity-100" : ""])
2129
2132
  }, [
2130
- a("pre", null, _(q(kt)(D, e.object)), 1)
2133
+ o("pre", null, _(q(yt)(D, e.object)), 1)
2131
2134
  ], 2)
2132
2135
  ]),
2133
- Ve || t.value.args.length < 2 ? (p(), v("button", {
2136
+ Te || t.value.args.length < 2 ? (p(), v("button", {
2134
2137
  key: 0,
2135
2138
  class: "cursor-pointer ms-1",
2136
- onClick: (io) => S(D)
2139
+ onClick: (Yo) => z(D)
2137
2140
  }, [
2138
2141
  g(tt, { class: "size-5" })
2139
- ], 8, Ws)) : z("", !0)
2142
+ ], 8, Kl)) : V("", !0)
2140
2143
  ]))), 128))
2141
2144
  ])
2142
2145
  ]),
2143
2146
  _: 1
2144
2147
  }, 8, ["active", "disabled"]),
2145
- g(xe, {
2148
+ g(be, {
2146
2149
  value: t.value.set,
2147
2150
  args: t.value.args,
2148
- disabled: !o.value || m.value,
2151
+ disabled: !a.value || m.value,
2149
2152
  label: "Set",
2150
2153
  onIcon: C[3] || (C[3] = (D) => h("set")),
2151
2154
  onHover: Z,
2152
- onChange: C[4] || (C[4] = (D) => be("set", D))
2155
+ onChange: C[4] || (C[4] = (D) => ge("set", D))
2153
2156
  }, null, 8, ["value", "args", "disabled"]),
2154
- g(xe, {
2157
+ g(be, {
2155
2158
  value: t.value.get,
2156
2159
  args: t.value.args,
2157
- disabled: !o.value,
2160
+ disabled: !a.value,
2158
2161
  label: "Get",
2159
2162
  onIcon: C[5] || (C[5] = (D) => h("get")),
2160
2163
  onHover: Z,
2161
- onChange: C[6] || (C[6] = (D) => be("get", D))
2164
+ onChange: C[6] || (C[6] = (D) => ge("get", D))
2162
2165
  }, null, 8, ["value", "args", "disabled"]),
2163
- g(xe, {
2166
+ g(be, {
2164
2167
  value: t.value.getTo,
2165
2168
  args: t.value.args,
2166
- disabled: !o.value,
2169
+ disabled: !a.value,
2167
2170
  label: "GetTo",
2168
2171
  onIcon: C[7] || (C[7] = (D) => h("getTo")),
2169
2172
  onHover: Z,
2170
- onChange: C[8] || (C[8] = (D) => be("getTo", D))
2173
+ onChange: C[8] || (C[8] = (D) => ge("getTo", D))
2171
2174
  }, null, 8, ["value", "args", "disabled"])
2172
2175
  ])
2173
2176
  ]),
2174
2177
  "tab-2": x(() => [
2175
- g(Ds, j(t.value.opts, {
2178
+ g(Ll, H(t.value.opts, {
2176
2179
  value: t.value.value,
2177
2180
  type: t.value.type,
2178
2181
  onUpdate: Qe
@@ -2181,13 +2184,13 @@ const os = O({ name: "ri-folder6-line", render: as }), is = ["onClick"], rs = {
2181
2184
  _: 3
2182
2185
  })
2183
2186
  ]),
2184
- a("div", qs, [
2185
- a("div", Gs, [
2187
+ o("div", Fl, [
2188
+ o("div", Ul, [
2186
2189
  k($.$slots, "default", { item: t.value })
2187
2190
  ])
2188
2191
  ])
2189
2192
  ]),
2190
- a("div", Js, [
2193
+ o("div", Rl, [
2191
2194
  g(A, {
2192
2195
  class: "px-4",
2193
2196
  color: "blue",
@@ -2195,7 +2198,7 @@ const os = O({ name: "ri-folder6-line", render: as }), is = ["onClick"], rs = {
2195
2198
  onClick: C[9] || (C[9] = (D) => y(c.value ? "add" : "save"))
2196
2199
  }, {
2197
2200
  default: x(() => [
2198
- H(_(c.value ? $.$t("add") : $.$t("save")), 1)
2201
+ j(_(c.value ? $.$t("add") : $.$t("save")), 1)
2199
2202
  ]),
2200
2203
  _: 1
2201
2204
  }, 8, ["disabled"]),
@@ -2206,7 +2209,7 @@ const os = O({ name: "ri-folder6-line", render: as }), is = ["onClick"], rs = {
2206
2209
  onClick: C[10] || (C[10] = (D) => y("remove"))
2207
2210
  }, {
2208
2211
  default: x(() => [
2209
- H(_($.$t("remove")), 1)
2212
+ j(_($.$t("remove")), 1)
2210
2213
  ]),
2211
2214
  _: 1
2212
2215
  })
@@ -2218,67 +2221,67 @@ const os = O({ name: "ri-folder6-line", render: as }), is = ["onClick"], rs = {
2218
2221
  onClose: C[11] || (C[11] = (D) => r.value = !1)
2219
2222
  }, {
2220
2223
  default: x(() => [
2221
- a("div", Zs, [
2224
+ o("div", Wl, [
2222
2225
  g(We, {
2223
2226
  items: e.object,
2224
- onlyValue: !o.value,
2225
- onClick: V
2227
+ onlyValue: !a.value,
2228
+ onClick: T
2226
2229
  }, null, 8, ["items", "onlyValue"])
2227
2230
  ])
2228
2231
  ]),
2229
2232
  _: 1
2230
- }, 8, ["title"])) : z("", !0)
2233
+ }, 8, ["title"])) : V("", !0)
2231
2234
  ]);
2232
2235
  };
2233
2236
  }
2234
- }), Te = { position: "relative", boxSizing: "border-box", overflow: "hidden", fontSize: "16px", fontFamily: 'Menlo, Consolas, "Liberation Mono", Monaco, "Lucida Console", monospace' }, Xs = { lineHeight: "inherit", whiteSpace: "pre-wrap", wordBreak: "keep-all", overflowWrap: "break-word", background: "none", position: "absolute", width: "100%", height: "100%", zIndex: "1", resize: "none", caretColor: "currentColor", padding: "inherit", outline: "none", fontSize: "inherit", fontFamily: "inherit", letterSpacing: "inherit", boxSizing: "border-box", border: "none", top: "0px", left: "0px", color: "inherit", overflow: "hidden", "-webkit-font-smoothing": "antialiased", "-webkit-text-fill-color": "transparent" }, Ys = { lineHeight: "inherit", position: "relative", whiteSpace: "pre-wrap", wordBreak: "keep-all", padding: "0", width: "100%", margin: "0", pointerEvents: "none", boxSizing: "border-box", overflowWrap: "break-word", fontFamily: "inherit" }, Qs = { lineHeight: "inherit", position: "absolute", width: "100%", height: "100%", whiteSpace: "pre-wrap", wordBreak: "keep-all", padding: "inherit", margin: "0", top: "0px", left: "0px", pointerEvents: "none", boxSizing: "border-box", overflowWrap: "break-word", fontFamily: "inherit" }, qe = (e) => Ge(e);
2237
+ }), Ee = { position: "relative", boxSizing: "border-box", overflow: "hidden", fontSize: "16px", fontFamily: 'Menlo, Consolas, "Liberation Mono", Monaco, "Lucida Console", monospace' }, ql = { lineHeight: "inherit", whiteSpace: "pre-wrap", wordBreak: "keep-all", overflowWrap: "break-word", background: "none", position: "absolute", width: "100%", height: "100%", zIndex: "1", resize: "none", caretColor: "currentColor", padding: "inherit", outline: "none", fontSize: "inherit", fontFamily: "inherit", letterSpacing: "inherit", boxSizing: "border-box", border: "none", top: "0px", left: "0px", color: "inherit", overflow: "hidden", "-webkit-font-smoothing": "antialiased", "-webkit-text-fill-color": "transparent" }, Gl = { lineHeight: "inherit", position: "relative", whiteSpace: "pre-wrap", wordBreak: "keep-all", padding: "0", width: "100%", margin: "0", pointerEvents: "none", boxSizing: "border-box", overflowWrap: "break-word", fontFamily: "inherit" }, Jl = { lineHeight: "inherit", position: "absolute", width: "100%", height: "100%", whiteSpace: "pre-wrap", wordBreak: "keep-all", padding: "inherit", margin: "0", top: "0px", left: "0px", pointerEvents: "none", boxSizing: "border-box", overflowWrap: "break-word", fontFamily: "inherit" }, qe = (e) => Ge(e);
2235
2238
  function Le(e) {
2236
2239
  const n = Array.isArray(e) ? e : [e];
2237
- return n.length === 0 ? qe : (s) => n.reduce((l, t, r) => t(l, { html: r > 0 }), s);
2240
+ return n.length === 0 ? qe : (l) => n.reduce((s, t, r) => t(s, { html: r > 0 }), l);
2238
2241
  }
2239
- class ea {
2240
- constructor(n, s = {}) {
2242
+ class Zl {
2243
+ constructor(n, l = {}) {
2241
2244
  if (this.lines = null, !n) throw new Error("selector is not defined");
2242
2245
  if (this.root = n instanceof Node ? n : document.querySelector(n), !this.root) throw new Error(`element with "${n}" selector is not exist`);
2243
- const l = { value: "", styles: {}, plugins: [], highlighter: qe }, { highlighters: t, ...r } = s;
2244
- this.options = { ...l, ...r, highlighter: t ? Le(t) : l.highlighter }, this.options.value = this.options.value == null ? "" : String(this.options.value), this.init();
2246
+ const s = { value: "", styles: {}, plugins: [], highlighter: qe }, { highlighters: t, ...r } = l;
2247
+ this.options = { ...s, ...r, highlighter: t ? Le(t) : s.highlighter }, this.options.value = this.options.value == null ? "" : String(this.options.value), this.init();
2245
2248
  }
2246
2249
  init() {
2247
2250
  this.textarea = document.createElement("textarea"), this.textarea.setAttribute("spellcheck", "false"), this.textarea.setAttribute("autocapitalize", "off"), this.textarea.setAttribute("autocorrect", "off"), this.textarea.setAttribute("autocomplete", "off"), this.pre = document.createElement("pre");
2248
- const n = Object.keys(Te).concat(Object.keys(this.options.styles)).concat(["paddingLeft"]);
2251
+ const n = Object.keys(Ee).concat(Object.keys(this.options.styles)).concat(["paddingLeft"]);
2249
2252
  this.initialRootStyles = {};
2250
- const s = this.root.style;
2251
- n.forEach((l) => {
2252
- this.initialRootStyles[l] = s[l] || "";
2253
- }), Object.assign(this.root.style, Te, this.options.styles), Object.assign(this.textarea.style, Xs), Object.assign(this.pre.style, Ys), this.basePaddingLeft = this.root.style.paddingLeft || "", this.root.appendChild(this.textarea), this.root.appendChild(this.pre), this.addTextareaEvents(), this.update({ value: this.options.value }), this.updateLines();
2253
+ const l = this.root.style;
2254
+ n.forEach((s) => {
2255
+ this.initialRootStyles[s] = l[s] || "";
2256
+ }), Object.assign(this.root.style, Ee, this.options.styles), Object.assign(this.textarea.style, ql), Object.assign(this.pre.style, Gl), this.basePaddingLeft = this.root.style.paddingLeft || "", this.root.appendChild(this.textarea), this.root.appendChild(this.pre), this.addTextareaEvents(), this.update({ value: this.options.value }), this.updateLines();
2254
2257
  }
2255
2258
  addTextareaEvents() {
2256
2259
  this.handleEvent = (n) => {
2257
2260
  if (n.type === "keydown" && this.textarea.readOnly) return;
2258
- const s = n;
2259
- if (s.isComposing || s.keyCode === 229) return;
2260
- const l = function(t, r) {
2261
+ const l = n;
2262
+ if (l.isComposing || l.keyCode === 229) return;
2263
+ const s = function(t, r) {
2261
2264
  const { value: c, selectionStart: d, selectionEnd: m } = r.target;
2262
- return t.reduce((o, i) => ({ ...o, ...i(o, r) }), { value: c, selectionStart: d, selectionEnd: m });
2265
+ return t.reduce((a, i) => ({ ...a, ...i(a, r) }), { value: c, selectionStart: d, selectionEnd: m });
2263
2266
  }(this.options.plugins, n);
2264
- this.update(l);
2267
+ this.update(s);
2265
2268
  }, this.textarea.addEventListener("input", this.handleEvent), this.textarea.addEventListener("keydown", this.handleEvent), this.textarea.addEventListener("compositionend", this.handleEvent);
2266
2269
  }
2267
2270
  update(n) {
2268
2271
  if (!this.textarea) return;
2269
- let { value: s, selectionStart: l, selectionEnd: t } = n;
2270
- s != null && (s = String(s), l == null && (l = this.textarea.selectionStart), t == null && (t = this.textarea.selectionEnd), this.textarea.value !== s && (this.textarea.value = s)), l != null && (this.textarea.selectionStart = l), t != null && (this.textarea.selectionEnd = t), s !== this.value && s != null && (this.value = s, this.render(), this.updateCallback && this.updateCallback(s));
2272
+ let { value: l, selectionStart: s, selectionEnd: t } = n;
2273
+ l != null && (l = String(l), s == null && (s = this.textarea.selectionStart), t == null && (t = this.textarea.selectionEnd), this.textarea.value !== l && (this.textarea.value = l)), s != null && (this.textarea.selectionStart = s), t != null && (this.textarea.selectionEnd = t), l !== this.value && l != null && (this.value = l, this.render(), this.updateCallback && this.updateCallback(l));
2271
2274
  }
2272
2275
  updateOptions(n) {
2273
2276
  if (!this.textarea) return;
2274
- const { highlighters: s, ...l } = n;
2275
- if (this.options = { ...this.options, ...l, highlighter: s ? Le(s) : this.options.highlighter }, n.styles) {
2277
+ const { highlighters: l, ...s } = n;
2278
+ if (this.options = { ...this.options, ...s, highlighter: l ? Le(l) : this.options.highlighter }, n.styles) {
2276
2279
  const t = this.root.style;
2277
2280
  Object.keys(n.styles).forEach((r) => {
2278
2281
  r in this.initialRootStyles || (this.initialRootStyles[r] = t[r] || "");
2279
2282
  }), Object.assign(this.root.style, n.styles), ("paddingLeft" in n.styles || "padding" in n.styles) && (this.basePaddingLeft = this.root.style.paddingLeft || "");
2280
2283
  }
2281
- this.lines && !this.options.lineNumbers && (ue(this.lines), this.lines = null, this.root.style.paddingLeft = this.basePaddingLeft), n.value != null && this.update({ value: n.value }), this.render();
2284
+ this.lines && !this.options.lineNumbers && (ce(this.lines), this.lines = null, this.root.style.paddingLeft = this.basePaddingLeft), n.value != null && this.update({ value: n.value }), this.render();
2282
2285
  }
2283
2286
  render() {
2284
2287
  const n = this.options.highlighter(this.value);
@@ -2286,145 +2289,145 @@ class ea {
2286
2289
  }
2287
2290
  updateLines() {
2288
2291
  if (!this.options.lineNumbers) return;
2289
- this.lines || (this.lines = document.createElement("pre"), this.root.appendChild(this.lines), Object.assign(this.lines.style, Qs));
2292
+ this.lines || (this.lines = document.createElement("pre"), this.root.appendChild(this.lines), Object.assign(this.lines.style, Jl));
2290
2293
  const n = this.value.split(`
2291
- `), s = n.length.toString().length;
2292
- this.root.style.paddingLeft = `${s + 1}ch`, this.lines.innerHTML = n.map((l, t) => `${`<span class="yace-line" style="position: absolute; opacity: .3; left: 0; width: ${s}ch; text-align: right">${1 + t}</span>`}${`<span style="color: transparent; pointer-events: none">${Ge(l)}</span>`}`).join(`
2294
+ `), l = n.length.toString().length;
2295
+ this.root.style.paddingLeft = `${l + 1}ch`, this.lines.innerHTML = n.map((s, t) => `${`<span class="yace-line" style="position: absolute; opacity: .3; left: 0; width: ${l}ch; text-align: right">${1 + t}</span>`}${`<span style="color: transparent; pointer-events: none">${Ge(s)}</span>`}`).join(`
2293
2296
  `);
2294
2297
  }
2295
2298
  destroy() {
2296
- this.textarea && (this.textarea.removeEventListener("input", this.handleEvent), this.textarea.removeEventListener("keydown", this.handleEvent), this.textarea.removeEventListener("compositionend", this.handleEvent), ue(this.textarea), ue(this.pre), ue(this.lines), Object.assign(this.root.style, this.initialRootStyles), Object.assign(this, { textarea: null, pre: null, lines: null, updateCallback: null, handleEvent: null, initialRootStyles: null, options: null, root: null }));
2299
+ this.textarea && (this.textarea.removeEventListener("input", this.handleEvent), this.textarea.removeEventListener("keydown", this.handleEvent), this.textarea.removeEventListener("compositionend", this.handleEvent), ce(this.textarea), ce(this.pre), ce(this.lines), Object.assign(this.root.style, this.initialRootStyles), Object.assign(this, { textarea: null, pre: null, lines: null, updateCallback: null, handleEvent: null, initialRootStyles: null, options: null, root: null }));
2297
2300
  }
2298
2301
  onUpdate(n) {
2299
2302
  this.updateCallback = n;
2300
2303
  }
2301
2304
  }
2302
- function ue(e) {
2305
+ function ce(e) {
2303
2306
  e && e.parentNode && e.parentNode.removeChild(e);
2304
2307
  }
2305
2308
  function Ge(e) {
2306
2309
  return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#039;");
2307
2310
  }
2308
- const Ee = { alt: "altKey", control: "ctrlKey", ctrl: "ctrlKey", meta: "metaKey", shift: "shiftKey", "ctrl/cmd": typeof window < "u" && window.navigator && /Mac|iPod|iPhone|iPad/.test(window.navigator.platform) ? "metaKey" : "ctrlKey" }, ta = { add: "=" }, na = { ";": "semicolon", "=": "equal", ",": "comma", "-": "minus", ".": "period", "/": "slash", "`": "backquote", "[": "bracketleft", "\\": "backslash", "]": "bracketright", "'": "quote" };
2311
+ const Be = { alt: "altKey", control: "ctrlKey", ctrl: "ctrlKey", meta: "metaKey", shift: "shiftKey", "ctrl/cmd": typeof window < "u" && window.navigator && /Mac|iPod|iPhone|iPad/.test(window.navigator.platform) ? "metaKey" : "ctrlKey" }, Xl = { add: "=" }, Yl = { ";": "semicolon", "=": "equal", ",": "comma", "-": "minus", ".": "period", "/": "slash", "`": "backquote", "[": "bracketleft", "\\": "backslash", "]": "bracketright", "'": "quote" };
2309
2312
  function re(e, n) {
2310
- const s = e.split("+").reduce((m, o) => Ee[o] ? (m.modifiers[Ee[o]] = !0, m) : { ...m, key: ta[o] || o.toLowerCase() }, { modifiers: { altKey: !1, ctrlKey: !1, metaKey: !1, shiftKey: !1 }, key: null }), l = Object.keys(s.modifiers).every((m) => s.modifiers[m] ? n[m] : !n[m]);
2311
- if (!s.key) return l;
2312
- const t = n.key != null && n.key.toLowerCase() === s.key, r = (c = s.key, /^[a-z]$/.test(c) ? `key${c}` : /^[0-9]$/.test(c) ? `digit${c}` : na[c] || null);
2313
+ const l = e.split("+").reduce((m, a) => Be[a] ? (m.modifiers[Be[a]] = !0, m) : { ...m, key: Xl[a] || a.toLowerCase() }, { modifiers: { altKey: !1, ctrlKey: !1, metaKey: !1, shiftKey: !1 }, key: null }), s = Object.keys(l.modifiers).every((m) => l.modifiers[m] ? n[m] : !n[m]);
2314
+ if (!l.key) return s;
2315
+ const t = n.key != null && n.key.toLowerCase() === l.key, r = (c = l.key, /^[a-z]$/.test(c) ? `key${c}` : /^[0-9]$/.test(c) ? `digit${c}` : Yl[c] || null);
2313
2316
  var c;
2314
2317
  const d = !n.isComposing && r != null && n.code != null && n.code.toLowerCase() === r;
2315
- return l && (t || d);
2318
+ return s && (t || d);
2316
2319
  }
2317
- function la(e = {}) {
2318
- const n = Math.max(1, e.limit == null ? 300 : e.limit), s = e.coalesceMs == null ? 300 : e.coalesceMs;
2319
- let l = [], t = null, r = null;
2320
+ function Ql(e = {}) {
2321
+ const n = Math.max(1, e.limit == null ? 300 : e.limit), l = e.coalesceMs == null ? 300 : e.coalesceMs;
2322
+ let s = [], t = null, r = null;
2320
2323
  const c = (d) => {
2321
- l = l.slice(0, t + 1), l.push(d), l.length > n && (l = l.slice(l.length - n)), t = l.length - 1;
2324
+ s = s.slice(0, t + 1), s.push(d), s.length > n && (s = s.slice(s.length - n)), t = s.length - 1;
2322
2325
  };
2323
2326
  return (d, m) => {
2324
- const o = m.type === "keydown" && re("ctrl/cmd+z", m), i = m.type === "keydown" && (re("ctrl/cmd+shift+z", m) || re("ctrl+y", m));
2325
- if ((o || i) && m.preventDefault(), t === null) return l = [d], void (t = 0);
2326
- if (o) return r = null, l[t].value !== d.value ? c(d) : l[t] = d, t = Math.max(0, t - 1), l[t];
2327
- if (i) return r = null, l[t].value !== d.value ? void c(d) : (t = Math.min(l.length - 1, t + 1), l[t]);
2328
- if (m.type === "keydown") return l[t].value !== d.value ? (r = null, void c(d)) : void (l[t] = d);
2327
+ const a = m.type === "keydown" && re("ctrl/cmd+z", m), i = m.type === "keydown" && (re("ctrl/cmd+shift+z", m) || re("ctrl+y", m));
2328
+ if ((a || i) && m.preventDefault(), t === null) return s = [d], void (t = 0);
2329
+ if (a) return r = null, s[t].value !== d.value ? c(d) : s[t] = d, t = Math.max(0, t - 1), s[t];
2330
+ if (i) return r = null, s[t].value !== d.value ? void c(d) : (t = Math.min(s.length - 1, t + 1), s[t]);
2331
+ if (m.type === "keydown") return s[t].value !== d.value ? (r = null, void c(d)) : void (s[t] = d);
2329
2332
  if (m.type === "input") {
2330
- const u = m.timeStamp, f = u != null && r != null && u - r <= s;
2331
- if (r = u ?? null, f) return void (l[t] = d);
2333
+ const u = m.timeStamp, f = u != null && r != null && u - r <= l;
2334
+ if (r = u ?? null, f) return void (s[t] = d);
2332
2335
  c(d);
2333
2336
  }
2334
2337
  };
2335
2338
  }
2336
- const sa = () => (e, n) => {
2337
- const { value: s, selectionStart: l, selectionEnd: t } = e;
2339
+ const eo = () => (e, n) => {
2340
+ const { value: l, selectionStart: s, selectionEnd: t } = e;
2338
2341
  if (!re("enter", n) || n.type !== "keydown") return;
2339
- const r = s.substring(0, l).split(`
2342
+ const r = l.substring(0, s).split(`
2340
2343
  `).pop(), c = /^\s+/.exec(r);
2341
2344
  if (!c) return;
2342
2345
  n.preventDefault();
2343
2346
  const d = `
2344
2347
  ` + c[0];
2345
- return { value: s.substring(0, l) + d + s.substring(t), selectionStart: l + d.length, selectionEnd: l + d.length };
2346
- }, aa = () => (e, n) => {
2348
+ return { value: l.substring(0, s) + d + l.substring(t), selectionStart: s + d.length, selectionEnd: s + d.length };
2349
+ }, to = () => (e, n) => {
2347
2350
  if (typeof KeyboardEvent > "u" || !(n instanceof KeyboardEvent) || n.key !== "Enter")
2348
2351
  return;
2349
- const { value: s, selectionStart: l, selectionEnd: t } = e;
2350
- if (l !== t)
2352
+ const { value: l, selectionStart: s, selectionEnd: t } = e;
2353
+ if (s !== t)
2351
2354
  return;
2352
- const r = s.lastIndexOf(`
2353
- `, l - 1) + 1, c = s.indexOf(`
2354
- `, l), d = c === -1 ? s.length : c;
2355
- if (s.slice(l, d).trim().length > 0)
2355
+ const r = l.lastIndexOf(`
2356
+ `, s - 1) + 1, c = l.indexOf(`
2357
+ `, s), d = c === -1 ? l.length : c;
2358
+ if (l.slice(s, d).trim().length > 0)
2356
2359
  return;
2357
- const i = s.substring(r, d).trimEnd();
2360
+ const i = l.substring(r, d).trimEnd();
2358
2361
  if (i.endsWith(";") || i.length === 0)
2359
2362
  return;
2360
- const u = s.slice(0, d) + ";" + s.slice(d), f = l + 1;
2363
+ const u = l.slice(0, d) + ";" + l.slice(d), f = s + 1;
2361
2364
  return {
2362
2365
  value: u,
2363
2366
  selectionStart: f,
2364
2367
  selectionEnd: f
2365
2368
  };
2366
2369
  };
2367
- let ze = [], W = null, U = 0, X = [], ee = null, te = null, Se, Je, G = null, le = null;
2368
- const oa = (e) => {
2369
- const { customSuggestions: n = [], minPrefixLength: s = 1, maxSuggestions: l = 20, tabSize: t = 2, tooltip: r = { enabled: !0 }, i18n: c, renderMenu: d, renderTooltip: m } = e;
2370
+ let ze = [], W = null, K = 0, X = [], ee = null, te = null, Ve, Je, G = null, se = null;
2371
+ const no = (e) => {
2372
+ const { customSuggestions: n = [], minPrefixLength: l = 1, maxSuggestions: s = 20, tabSize: t = 2, tooltip: r = { enabled: !0 }, i18n: c, renderMenu: d, renderTooltip: m } = e;
2370
2373
  if (!d || !m)
2371
2374
  throw new Error("renderMenu and renderTooltip are required");
2372
- return ze = [...n].map((o) => c(o)), Se = d, Je = m, (o, i) => {
2375
+ return ze = [...n].map((a) => c(a)), Ve = d, Je = m, (a, i) => {
2373
2376
  if (typeof KeyboardEvent > "u" || !(i instanceof KeyboardEvent))
2374
2377
  return;
2375
- const { value: u, selectionStart: f } = o, b = i.target;
2378
+ const { value: u, selectionStart: f } = a, b = i.target;
2376
2379
  if (te = b, r.enabled !== !1 && !b.dataset.tooltipInitialized && (b.dataset.tooltipInitialized = "true", b.addEventListener("mouseup", () => {
2377
- setTimeout(() => Be(b), 100);
2380
+ setTimeout(() => Me(b), 100);
2378
2381
  }), b.addEventListener("keyup", () => {
2379
- setTimeout(() => Be(b), 100);
2382
+ setTimeout(() => Me(b), 100);
2380
2383
  })), W) {
2381
2384
  switch (i.key) {
2382
2385
  case "ArrowDown":
2383
- return i.preventDefault(), U < X.length - 1 && (U++, ne()), { ...o };
2386
+ return i.preventDefault(), K < X.length - 1 && (K++, ne()), { ...a };
2384
2387
  case "ArrowUp":
2385
- return i.preventDefault(), U > 0 && (U--, ne()), { ...o };
2388
+ return i.preventDefault(), K > 0 && (K--, ne()), { ...a };
2386
2389
  case "Enter":
2387
- if (i.preventDefault(), X[U]) {
2388
- const h = _e(o, X[U]);
2390
+ if (i.preventDefault(), X[K]) {
2391
+ const h = ye(a, X[K]);
2389
2392
  return Y(), h;
2390
2393
  }
2391
2394
  return;
2392
2395
  case "Tab":
2393
- if (i.preventDefault(), X[U]) {
2394
- const h = _e(o, X[U]);
2396
+ if (i.preventDefault(), X[K]) {
2397
+ const h = ye(a, X[K]);
2395
2398
  return Y(), h;
2396
2399
  }
2397
2400
  return;
2398
2401
  case "Escape":
2399
- return i.preventDefault(), Y(), { ...o };
2402
+ return i.preventDefault(), Y(), { ...a };
2400
2403
  case "Backspace":
2401
2404
  setTimeout(() => {
2402
2405
  if (te) {
2403
- const h = te.value, y = te.selectionStart, S = fe(h, y), V = h.slice(S, y);
2404
- if (V.length < s)
2406
+ const h = te.value, y = te.selectionStart, z = fe(h, y), T = h.slice(z, y);
2407
+ if (T.length < l)
2405
2408
  Y();
2406
2409
  else {
2407
- const w = ye(V).slice(0, l);
2408
- w.length === 0 ? Y() : (X = w, U = 0, ne());
2410
+ const w = xe(T).slice(0, s);
2411
+ w.length === 0 ? Y() : (X = w, K = 0, ne());
2409
2412
  }
2410
2413
  }
2411
2414
  }, 0);
2412
2415
  return;
2413
2416
  }
2414
2417
  if (["ArrowDown", "ArrowUp", "Enter", "Tab", "Escape", "Backspace"].includes(i.key))
2415
- return { ...o };
2418
+ return { ...a };
2416
2419
  }
2417
2420
  if (re("tab", i)) {
2418
2421
  i.preventDefault();
2419
2422
  const h = fe(u, f), y = u.slice(h, f);
2420
2423
  if (y.length > 0) {
2421
- const P = ye(y);
2424
+ const P = xe(y);
2422
2425
  if (P.length > 0)
2423
- return _e(o, P[0]);
2426
+ return ye(a, P[0]);
2424
2427
  }
2425
- const S = " ".repeat(t), V = u.slice(0, f) + S + u.slice(f), w = f + t;
2428
+ const z = " ".repeat(t), T = u.slice(0, f) + z + u.slice(f), w = f + t;
2426
2429
  return {
2427
- value: V,
2430
+ value: T,
2428
2431
  selectionStart: w,
2429
2432
  selectionEnd: w
2430
2433
  };
@@ -2432,55 +2435,55 @@ const oa = (e) => {
2432
2435
  if (!(i.key.length !== 1 || i.ctrlKey || i.metaKey || i.altKey))
2433
2436
  return ee && clearTimeout(ee), ee = setTimeout(() => {
2434
2437
  ee = null;
2435
- const h = b.value, y = b.selectionStart, S = fe(h, y), V = h.slice(S, y);
2436
- if (V.length < s) {
2438
+ const h = b.value, y = b.selectionStart, z = fe(h, y), T = h.slice(z, y);
2439
+ if (T.length < l) {
2437
2440
  Y();
2438
2441
  return;
2439
2442
  }
2440
- let w = ye(V);
2441
- if (w = w.slice(0, l), w.length === 0) {
2443
+ let w = xe(T);
2444
+ if (w = w.slice(0, s), w.length === 0) {
2442
2445
  Y();
2443
2446
  return;
2444
2447
  }
2445
- X = w, U = 0, W ? ne() : ia(b, w);
2446
- }, 0), { ...o };
2448
+ X = w, K = 0, W ? ne() : so(b, w);
2449
+ }, 0), { ...a };
2447
2450
  };
2448
2451
  };
2449
- function ye(e) {
2452
+ function xe(e) {
2450
2453
  const n = e.toLowerCase();
2451
- return ze.filter((s) => {
2452
- const l = s.label.toLowerCase();
2453
- return l.startsWith(n) || l.includes(n) || l.split("_").map((t) => t[0]).join("").startsWith(n);
2454
- }).sort((s, l) => {
2455
- const t = s.label.toLowerCase(), r = l.label.toLowerCase(), c = t.startsWith(n), d = r.startsWith(n);
2454
+ return ze.filter((l) => {
2455
+ const s = l.label.toLowerCase();
2456
+ return s.startsWith(n) || s.includes(n) || s.split("_").map((t) => t[0]).join("").startsWith(n);
2457
+ }).sort((l, s) => {
2458
+ const t = l.label.toLowerCase(), r = s.label.toLowerCase(), c = t.startsWith(n), d = r.startsWith(n);
2456
2459
  if (c && !d) return -1;
2457
2460
  if (!c && d) return 1;
2458
- const m = t.indexOf(n), o = r.indexOf(n);
2459
- return m !== o ? m - o : t.length !== r.length ? t.length - r.length : t.localeCompare(r);
2461
+ const m = t.indexOf(n), a = r.indexOf(n);
2462
+ return m !== a ? m - a : t.length !== r.length ? t.length - r.length : t.localeCompare(r);
2460
2463
  });
2461
2464
  }
2462
2465
  function fe(e, n) {
2463
- let s = n;
2464
- for (; s > 0 && /[a-zA-Z0-9_$]/.test(e[s - 1]); )
2465
- s--;
2466
- return s;
2466
+ let l = n;
2467
+ for (; l > 0 && /[a-zA-Z0-9_$]/.test(e[l - 1]); )
2468
+ l--;
2469
+ return l;
2467
2470
  }
2468
- function ia(e, n) {
2469
- Y(), X = n, U = 0;
2470
- const s = Ze(e);
2471
- W = Se(n, U, (l) => {
2472
- U = l, ne();
2471
+ function so(e, n) {
2472
+ Y(), X = n, K = 0;
2473
+ const l = Ze(e);
2474
+ W = Ve(n, K, (s) => {
2475
+ K = s, ne();
2473
2476
  }), Object.assign(W.style, {
2474
2477
  position: "fixed",
2475
- left: `${s.left}px`,
2476
- top: `${s.top + 24}px`,
2478
+ left: `${l.left}px`,
2479
+ top: `${l.top + 24}px`,
2477
2480
  zIndex: "10000"
2478
2481
  }), document.body.appendChild(W);
2479
2482
  }
2480
2483
  function ne() {
2481
2484
  if (!W || !te) return;
2482
- const e = Se(X, U, (s) => {
2483
- U = s, ne();
2485
+ const e = Ve(X, K, (l) => {
2486
+ K = l, ne();
2484
2487
  }), n = W.getBoundingClientRect();
2485
2488
  W.replaceWith(e), W = e, Object.assign(W.style, {
2486
2489
  position: "fixed",
@@ -2489,55 +2492,55 @@ function ne() {
2489
2492
  zIndex: "10000"
2490
2493
  });
2491
2494
  }
2492
- function _e(e, n) {
2493
- const { value: s, selectionStart: l } = e, t = fe(s, l), r = n.insert || n.label, c = /\$\{([^}]*)\}/g;
2495
+ function ye(e, n) {
2496
+ const { value: l, selectionStart: s } = e, t = fe(l, s), r = n.insert || n.label, c = /\$\{([^}]*)\}/g;
2494
2497
  let d = r;
2495
2498
  const m = [];
2496
- let o;
2497
- for (; (o = c.exec(r)) !== null; ) {
2498
- const h = o[1], y = o.index, S = o[0].length;
2499
- m.push({ index: y, text: h, length: S });
2499
+ let a;
2500
+ for (; (a = c.exec(r)) !== null; ) {
2501
+ const h = a[1], y = a.index, z = a[0].length;
2502
+ m.push({ index: y, text: h, length: z });
2500
2503
  }
2501
2504
  d = r.replace(/\$\{([^}]*)\}/g, "$1");
2502
2505
  const i = m[0];
2503
2506
  let u = t + d.length, f = t + d.length;
2504
2507
  if (i) {
2505
- let h = 0, y = 0, S = !1;
2506
- for (; y < r.length && !S; ) {
2507
- const V = m.find((w) => w.index === y);
2508
- V ? (h += V.text.length, y += V.length, V === i && (u = t + h - V.text.length, f = t + h, S = !0)) : (h++, y++);
2508
+ let h = 0, y = 0, z = !1;
2509
+ for (; y < r.length && !z; ) {
2510
+ const T = m.find((w) => w.index === y);
2511
+ T ? (h += T.text.length, y += T.length, T === i && (u = t + h - T.text.length, f = t + h, z = !0)) : (h++, y++);
2509
2512
  }
2510
2513
  }
2511
2514
  return {
2512
- value: s.slice(0, t) + d + s.slice(l),
2515
+ value: l.slice(0, t) + d + l.slice(s),
2513
2516
  selectionStart: u,
2514
2517
  selectionEnd: f
2515
2518
  };
2516
2519
  }
2517
2520
  function Y() {
2518
- ee && (clearTimeout(ee), ee = null), W && (W.remove(), W = null, X = [], U = 0, te = null);
2521
+ ee && (clearTimeout(ee), ee = null), W && (W.remove(), W = null, X = [], K = 0, te = null);
2519
2522
  }
2520
2523
  function Ze(e) {
2521
- const n = e.getBoundingClientRect(), { value: s, selectionStart: l } = e, r = s.substring(0, l).split(`
2524
+ const n = e.getBoundingClientRect(), { value: l, selectionStart: s } = e, r = l.substring(0, s).split(`
2522
2525
  `), c = r.length, d = r[r.length - 1] || "", m = parseInt(getComputedStyle(e).lineHeight) || 20;
2523
2526
  return {
2524
2527
  left: n.left + 10 + d.length * 8,
2525
2528
  top: n.top + (c - 1) * m
2526
2529
  };
2527
2530
  }
2528
- function Be(e) {
2529
- le && clearTimeout(le), le = setTimeout(() => {
2530
- const n = e.selectionStart, s = e.selectionEnd;
2531
- if (n === s) {
2531
+ function Me(e) {
2532
+ se && clearTimeout(se), se = setTimeout(() => {
2533
+ const n = e.selectionStart, l = e.selectionEnd;
2534
+ if (n === l) {
2532
2535
  ie();
2533
2536
  return;
2534
2537
  }
2535
- const l = e.value.substring(n, s).trim();
2536
- if (!l) {
2538
+ const s = e.value.substring(n, l).trim();
2539
+ if (!s) {
2537
2540
  ie();
2538
2541
  return;
2539
2542
  }
2540
- const t = ze.find((d) => d.label === l);
2543
+ const t = ze.find((d) => d.label === s);
2541
2544
  if (!t) {
2542
2545
  ie();
2543
2546
  return;
@@ -2549,7 +2552,7 @@ function Be(e) {
2549
2552
  }, 300);
2550
2553
  }
2551
2554
  function ie() {
2552
- le && (clearTimeout(le), le = null), G && (G.style.opacity = "0", setTimeout(() => {
2555
+ se && (clearTimeout(se), se = null), G && (G.style.opacity = "0", setTimeout(() => {
2553
2556
  G && (G.remove(), G = null);
2554
2557
  }, 150));
2555
2558
  }
@@ -2557,26 +2560,26 @@ typeof document < "u" && document.addEventListener("mousedown", (e) => {
2557
2560
  const n = e.target;
2558
2561
  W && !W.contains(n) && Y(), G && !G.contains(n) && ie();
2559
2562
  });
2560
- const $e = (e) => e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;"), ra = ["else", "end", "call", "fade"], da = (e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), ca = (e) => {
2561
- const n = e.filter((d) => d.type !== "var").map((d) => d.label), c = `(\\/\\/[^\\n]*)|('[^'\\n]*')|(\\b\\d+(?:\\.\\d+)?\\b)|(\\b(?:${Array.from(/* @__PURE__ */ new Set([...ra, ...n])).map(da).join("|")})\\b)|(\\$[a-zA-Z_][a-zA-Z0-9_]*)|(\\b(?:btn_\\d+(?:_\\d+)?)\\b)|([;:(){}])`;
2563
+ const _e = (e) => e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;"), lo = ["else", "end", "call", "fade"], oo = (e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), ao = (e) => {
2564
+ const n = e.filter((d) => d.type !== "var").map((d) => d.label), c = `(\\/\\/[^\\n]*)|('[^'\\n]*')|(\\b\\d+(?:\\.\\d+)?\\b)|(\\b(?:${Array.from(/* @__PURE__ */ new Set([...lo, ...n])).map(oo).join("|")})\\b)|(\\$[a-zA-Z_][a-zA-Z0-9_]*)|(\\b(?:btn_\\d+(?:_\\d+)?)\\b)|([;:(){}])`;
2562
2565
  return new RegExp(c, "g");
2563
- }, ua = (e) => (n) => {
2564
- const s = ca(e);
2565
- let l = "", t = 0;
2566
- for (const r of n.matchAll(s)) {
2567
- const [c, d, m, o, i, u, f, b] = r;
2566
+ }, io = (e) => (n) => {
2567
+ const l = ao(e);
2568
+ let s = "", t = 0;
2569
+ for (const r of n.matchAll(l)) {
2570
+ const [c, d, m, a, i, u, f, b] = r;
2568
2571
  let h = "";
2569
- d ? h = "comment" : m ? h = "str" : o ? h = "num" : i ? h = "word" : u ? h = "var" : f ? h = "event" : b && (h = "operator"), l += $e(n.slice(t, r.index)), l += `<span class="tok--${h}">${$e(c)}</span>`, t = r.index + c.length;
2572
+ d ? h = "comment" : m ? h = "str" : a ? h = "num" : i ? h = "word" : u ? h = "var" : f ? h = "event" : b && (h = "operator"), s += _e(n.slice(t, r.index)), s += `<span class="tok--${h}">${_e(c)}</span>`, t = r.index + c.length;
2570
2573
  }
2571
- return l += $e(n.slice(t)), l;
2574
+ return s += _e(n.slice(t)), s;
2572
2575
  }, Xe = {
2573
2576
  word: "text-blue-600 dark:text-blue-400",
2574
2577
  func: "text-yellow-600 dark:text-yellow-400",
2575
2578
  var: "text-cyan-600 dark:text-cyan-400",
2576
2579
  event: "text-purple-600 dark:text-purple-400"
2577
- }, ma = (e, n, s) => {
2578
- const l = document.createElement("div");
2579
- return l.className = `
2580
+ }, ro = (e, n, l) => {
2581
+ const s = document.createElement("div");
2582
+ return s.className = `
2580
2583
  fixed z-[10000] min-w-[250px] max-w-[400px] max-h-[250px]
2581
2584
  overflow-y-auto p-1 rounded-lg shadow-lg border
2582
2585
  border-gray-200 dark:border-gray-700 bg-white dark:bg-gray-800
@@ -2595,28 +2598,28 @@ const $e = (e) => e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "
2595
2598
  ${t.detail ? `<span class="text-xs text-gray-500 dark:text-gray-400 ml-2">${t.detail}</span>` : ""}
2596
2599
  </div>
2597
2600
  ${t.description ? `<span class="text-xs text-gray-400 dark:text-gray-500">${t.description}</span>` : ""}
2598
- `, d.addEventListener("click", () => s(r)), l.appendChild(d);
2599
- }), l;
2600
- }, pa = (e, n) => {
2601
- const s = document.createElement("div");
2602
- s.className = `
2601
+ `, d.addEventListener("click", () => l(r)), s.appendChild(d);
2602
+ }), s;
2603
+ }, co = (e, n) => {
2604
+ const l = document.createElement("div");
2605
+ l.className = `
2603
2606
  fixed z-[10001] px-3 py-2 font-mono text-sm max-w-[300px]
2604
2607
  min-w-[50px] min-h-[20px] rounded-lg shadow-lg border
2605
2608
  pointer-events-none transition-opacity duration-150
2606
2609
  bg-white dark:bg-gray-800 border-gray-200 dark:border-gray-700
2607
2610
  text-gray-700 dark:text-gray-300 pointer-events-none
2608
- `, s.style.cssText = `
2611
+ `, l.style.cssText = `
2609
2612
  left: ${n.left + 40}px; top: ${n.top - 10}px;
2610
2613
  transform: translateX(-50%) translateY(-100%); opacity: 0;
2611
2614
  `;
2612
2615
  let t = `<div class="font-medium ${Xe[e.type] || "text-gray-700 dark:text-gray-300"}">${e.label}</div>`;
2613
- e.detail && (t += `<div class="text-gray-500 dark:text-gray-400 mt-0.5 text-xs">${e.detail}</div>`), e.description && (t += `<div class="text-gray-400 dark:text-gray-500 text-xs mt-1 pt-1 border-t border-gray-200 dark:border-gray-700">${e.description}</div>`), s.innerHTML = t;
2616
+ e.detail && (t += `<div class="text-gray-500 dark:text-gray-400 mt-0.5 text-xs">${e.detail}</div>`), e.description && (t += `<div class="text-gray-400 dark:text-gray-500 text-xs mt-1 pt-1 border-t border-gray-200 dark:border-gray-700">${e.description}</div>`), l.innerHTML = t;
2614
2617
  const r = document.createElement("div");
2615
2618
  return r.className = `
2616
2619
  absolute bottom-[-6px] left-1/2 w-2.5 h-2.5 -translate-x-1/2 rotate-45
2617
2620
  bg-white dark:bg-gray-800 border-r border-b border-gray-200 dark:border-gray-700
2618
- `, s.appendChild(r), s;
2619
- }, fa = [
2621
+ `, l.appendChild(r), l;
2622
+ }, uo = [
2620
2623
  { label: "if", type: "word", insert: `if:\${$v0<10};
2621
2624
 
2622
2625
  else;
@@ -2651,7 +2654,7 @@ end;`, detail: "event(name: string)" },
2651
2654
  { label: "$e", type: "var", insert: "$e${0}", detail: "var event" },
2652
2655
  { label: "$c", type: "var", insert: "$c${0}", detail: "var call" },
2653
2656
  { label: "$p", type: "var", insert: "$p${0}", detail: "gpio" }
2654
- ], Do = /* @__PURE__ */ M({
2657
+ ], Ca = /* @__PURE__ */ S({
2655
2658
  __name: "ScriptEditor",
2656
2659
  props: {
2657
2660
  modelValue: {},
@@ -2659,23 +2662,23 @@ end;`, detail: "event(name: string)" },
2659
2662
  },
2660
2663
  emits: ["update:modelValue", "update"],
2661
2664
  setup(e, { emit: n }) {
2662
- const s = n;
2663
- let l;
2664
- const t = [...fa, ...e.suggestions];
2665
- return ae(
2665
+ const l = n;
2666
+ let s;
2667
+ const t = [...uo, ...e.suggestions];
2668
+ return oe(
2666
2669
  () => e.modelValue,
2667
2670
  (r) => {
2668
- l.update({ value: r });
2671
+ s.update({ value: r });
2669
2672
  }
2670
2673
  ), Q(() => {
2671
- l = new ea("#editor", {
2674
+ s = new Zl("#editor", {
2672
2675
  value: e.modelValue,
2673
2676
  lineNumbers: !0,
2674
- highlighters: [ua(t)],
2677
+ highlighters: [io(t)],
2675
2678
  plugins: [
2676
- la(),
2677
- sa(),
2678
- oa({
2679
+ Ql(),
2680
+ eo(),
2681
+ no({
2679
2682
  customSuggestions: t,
2680
2683
  minPrefixLength: 1,
2681
2684
  maxSuggestions: 20,
@@ -2683,40 +2686,40 @@ end;`, detail: "event(name: string)" },
2683
2686
  tooltip: {
2684
2687
  enabled: !0
2685
2688
  },
2686
- renderMenu: ma,
2687
- renderTooltip: pa
2689
+ renderMenu: ro,
2690
+ renderTooltip: co
2688
2691
  }),
2689
- aa()
2692
+ to()
2690
2693
  ],
2691
2694
  styles: { fontSize: "14px" }
2692
- }), l.onUpdate((r) => {
2693
- s("update:modelValue", r);
2695
+ }), s.onUpdate((r) => {
2696
+ l("update:modelValue", r);
2694
2697
  });
2695
- }), we(() => {
2696
- l.destroy();
2698
+ }), ke(() => {
2699
+ s.destroy();
2697
2700
  }), (r, c) => (p(), v("div", null, [...c[0] || (c[0] = [
2698
- a("div", {
2701
+ o("div", {
2699
2702
  class: "",
2700
2703
  id: "editor"
2701
2704
  }, null, -1)
2702
2705
  ])]));
2703
2706
  }
2704
- }), va = { class: "max-w-4xl mx-auto" }, ha = {
2707
+ }), mo = { class: "max-w-4xl mx-auto" }, po = {
2705
2708
  key: 0,
2706
2709
  class: "text-sm"
2707
- }, ga = {
2710
+ }, fo = {
2708
2711
  key: 0,
2709
2712
  class: "text-gray-500"
2710
- }, ba = {
2713
+ }, vo = {
2711
2714
  key: 1,
2712
2715
  class: "text-red-600"
2713
- }, xa = ["innerHTML"], ya = "https://raw.githubusercontent.com/bondrogeen/vuesp/refs/heads/master/github/docs/scriptrunner/", _a = "https://cdn.jsdelivr.net/npm/marked/lib/marked.umd.js", Io = /* @__PURE__ */ M({
2716
+ }, ho = ["innerHTML"], go = "https://raw.githubusercontent.com/bondrogeen/vuesp/refs/heads/master/github/docs/scriptrunner/", bo = "https://cdn.jsdelivr.net/npm/marked/lib/marked.umd.js", Sa = /* @__PURE__ */ S({
2714
2717
  __name: "ScriptViewDocs",
2715
2718
  props: {
2716
2719
  lang: { default: "en" }
2717
2720
  },
2718
2721
  setup(e) {
2719
- const n = L(""), s = L(""), l = L(null), t = L(!1), r = L(null);
2722
+ const n = L(""), l = L(""), s = L(null), t = L(!1), r = L(null);
2720
2723
  let c = null;
2721
2724
  const d = () => new Promise((i, u) => {
2722
2725
  if (typeof window > "u" || typeof document > "u") {
@@ -2732,7 +2735,7 @@ end;`, detail: "event(name: string)" },
2732
2735
  return;
2733
2736
  }
2734
2737
  const f = document.createElement("script");
2735
- f.src = _a, f.async = !0, f.onload = () => {
2738
+ f.src = bo, f.async = !0, f.onload = () => {
2736
2739
  window.marked ? (window.marked.setOptions({
2737
2740
  gfm: !0,
2738
2741
  breaks: !0,
@@ -2751,23 +2754,23 @@ end;`, detail: "event(name: string)" },
2751
2754
  continue;
2752
2755
  }
2753
2756
  if (b && h.includes(":")) {
2754
- const [y, S] = h.split(":").map((V) => V.trim());
2755
- y && S && (y.toLowerCase().includes("version") && (f.version = S), (y.toLowerCase().includes("обновлено") || y.toLowerCase().includes("updated")) && (f.updated = S));
2757
+ const [y, z] = h.split(":").map((T) => T.trim());
2758
+ y && z && (y.toLowerCase().includes("version") && (f.version = z), (y.toLowerCase().includes("обновлено") || y.toLowerCase().includes("updated")) && (f.updated = z));
2756
2759
  }
2757
2760
  }
2758
2761
  return f;
2759
- }, o = async (i) => {
2762
+ }, a = async (i) => {
2760
2763
  if (!c) {
2761
2764
  r.value = "error";
2762
2765
  return;
2763
2766
  }
2764
- t.value = !0, r.value = null, s.value = "";
2767
+ t.value = !0, r.value = null, l.value = "";
2765
2768
  try {
2766
- const u = `${ya}${i}.md`, f = await fetch(u);
2769
+ const u = `${go}${i}.md`, f = await fetch(u);
2767
2770
  if (!f.ok)
2768
2771
  throw new Error(`HTTP ${f.status}: ${f.statusText}`);
2769
2772
  const b = await f.text();
2770
- n.value = b, l.value = m(b), s.value = c.parse(b);
2773
+ n.value = b, s.value = m(b), l.value = c.parse(b);
2771
2774
  } catch (u) {
2772
2775
  const f = u instanceof Error ? u.message : "";
2773
2776
  r.value = f, console.error("Error loading docs:", u);
@@ -2779,46 +2782,46 @@ end;`, detail: "event(name: string)" },
2779
2782
  try {
2780
2783
  c = await d();
2781
2784
  const i = e.lang ? "ru" : "en";
2782
- await o(i);
2785
+ await a(i);
2783
2786
  } catch (i) {
2784
2787
  const u = i instanceof Error ? i.message : "";
2785
2788
  r.value = u, console.error("Initialization error:", i);
2786
2789
  }
2787
- }), (i, u) => (p(), v("div", va, [
2788
- t.value || r.value ? (p(), v("div", ha, [
2789
- t.value ? (p(), v("span", ga, "⏳")) : z("", !0),
2790
- r.value ? (p(), v("span", ba, "❌ " + _(r.value), 1)) : z("", !0)
2791
- ])) : z("", !0),
2792
- a("div", {
2790
+ }), (i, u) => (p(), v("div", mo, [
2791
+ t.value || r.value ? (p(), v("div", po, [
2792
+ t.value ? (p(), v("span", fo, "⏳")) : V("", !0),
2793
+ r.value ? (p(), v("span", vo, "❌ " + _(r.value), 1)) : V("", !0)
2794
+ ])) : V("", !0),
2795
+ o("div", {
2793
2796
  class: "docs-content",
2794
- innerHTML: s.value
2795
- }, null, 8, xa)
2797
+ innerHTML: l.value
2798
+ }, null, 8, ho)
2796
2799
  ]));
2797
2800
  }
2798
- }), $a = { class: "my-4" }, Ho = /* @__PURE__ */ M({
2801
+ }), xo = { class: "my-4" }, za = /* @__PURE__ */ S({
2799
2802
  __name: "ScriptDialog",
2800
2803
  props: {
2801
2804
  idScript: {}
2802
2805
  },
2803
2806
  emits: ["add", "close"],
2804
2807
  setup(e, { emit: n }) {
2805
- const s = n, { defineField: l, handleSubmit: t, isValid: r } = wt({
2808
+ const l = n, { defineField: s, handleSubmit: t, isValid: r } = _t({
2806
2809
  validationSchema: () => ({
2807
- name: [Ct, Mt(8)]
2810
+ name: [$t, kt(8)]
2808
2811
  })
2809
- }), [c, d] = l("name"), m = () => {
2810
- s("add", c.value);
2811
- }, o = t(() => {
2812
- m(), c.value = "", s("close", new Event("close"));
2812
+ }), [c, d] = s("name"), m = () => {
2813
+ l("add", c.value);
2814
+ }, a = t(() => {
2815
+ m(), c.value = "", l("close", new Event("close"));
2813
2816
  });
2814
2817
  return Q(() => {
2815
2818
  e.idScript || (c.value = "boot");
2816
2819
  }), (i, u) => {
2817
2820
  const f = J, b = A;
2818
- return p(), v("div", $a, [
2819
- g(f, j({
2821
+ return p(), v("div", xo, [
2822
+ g(f, H({
2820
2823
  modelValue: q(c),
2821
- "onUpdate:modelValue": u[0] || (u[0] = (h) => at(c) ? c.value = h : null)
2824
+ "onUpdate:modelValue": u[0] || (u[0] = (h) => ot(c) ? c.value = h : null)
2822
2825
  }, q(d), {
2823
2826
  disabled: !e.idScript,
2824
2827
  label: i.$t("name")
@@ -2827,151 +2830,26 @@ end;`, detail: "event(name: string)" },
2827
2830
  class: "w-full",
2828
2831
  color: "blue",
2829
2832
  disabled: !q(r),
2830
- onClick: q(o)
2833
+ onClick: q(a)
2831
2834
  }, {
2832
2835
  default: x(() => [
2833
- H(_(i.$t("add")), 1)
2836
+ j(_(i.$t("add")), 1)
2834
2837
  ]),
2835
2838
  _: 1
2836
2839
  }, 8, ["disabled", "onClick"])
2837
2840
  ]);
2838
2841
  };
2839
2842
  }
2840
- }), ka = ["width", "height"], wa = ["d"], de = /* @__PURE__ */ M({
2841
- __name: "VisionIcon",
2842
- props: {
2843
- name: {},
2844
- size: { default: 20 }
2845
- },
2846
- setup(e) {
2847
- const n = {
2848
- home: ["M3 10.5 12 3l9 7.5", "M5 9.5V21h14V9.5"],
2849
- chart: ["M4 19V5", "M4 19h16", "M8 16v-5", "M12 16V8", "M16 16v-3", "M20 16V6"],
2850
- card: ["M3 6h18v12H3z", "M3 10h18"],
2851
- user: ["M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8", "M4 21a8 8 0 0 1 16 0"],
2852
- users: ["M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2", "M9 11a4 4 0 1 0 0-8 4 4 0 0 0 0 8", "M22 21v-2a4 4 0 0 0-3-3.9", "M16 3.1a4 4 0 0 1 0 7.8"],
2853
- document: ["M6 3h8l4 4v14H6z", "M14 3v4h4", "M9 12h6", "M9 16h6"],
2854
- rocket: ["M5 15c-1 3-1 4-1 5 1 0 2 0 5-1", "M9 15l-3-3c4-8 8-9 12-9 0 4-1 8-9 12z", "M14 10a1 1 0 1 0 2 0 1 1 0 0 0-2 0"],
2855
- search: ["M11 19a8 8 0 1 0 0-16 8 8 0 0 0 0 16", "M21 21l-4.3-4.3"],
2856
- settings: ["M12 15.5a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7", "M19.4 15a1.7 1.7 0 0 0 .3 1.9l.1.1-2 2-.1-.1a1.7 1.7 0 0 0-1.9-.3 1.7 1.7 0 0 0-1 1.6V21h-2.8v-.2a1.7 1.7 0 0 0-1-1.6 1.7 1.7 0 0 0-1.9.3l-.1.1-2-2 .1-.1a1.7 1.7 0 0 0 .3-1.9 1.7 1.7 0 0 0-1.6-1H3v-2.8h.2a1.7 1.7 0 0 0 1.6-1 1.7 1.7 0 0 0-.3-1.9l-.1-.1 2-2 .1.1a1.7 1.7 0 0 0 1.9.3 1.7 1.7 0 0 0 1-1.6V3h2.8v.2a1.7 1.7 0 0 0 1 1.6 1.7 1.7 0 0 0 1.9-.3l.1-.1 2 2-.1.1a1.7 1.7 0 0 0-.3 1.9 1.7 1.7 0 0 0 1.6 1h.2V12h-.2a1.7 1.7 0 0 0-1.6 1z"],
2857
- bell: ["M18 8a6 6 0 1 0-12 0c0 7-3 7-3 9h18c0-2-3-2-3-9", "M13.7 21a2 2 0 0 1-3.4 0"],
2858
- arrowRight: ["M5 12h14", "M13 6l6 6-6 6"],
2859
- arrowUpRight: ["M7 17 17 7", "M8 7h9v9"],
2860
- check: ["M20 6 9 17l-5-5"],
2861
- plus: ["M12 5v14", "M5 12h14"],
2862
- dots: ["M5 12h.01", "M12 12h.01", "M19 12h.01"],
2863
- logout: ["M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4", "M16 17l5-5-5-5", "M21 12H9"],
2864
- sun: ["M12 17a5 5 0 1 0 0-10 5 5 0 0 0 0 10", "M12 1v2", "M12 21v2", "M4.2 4.2l1.4 1.4", "M18.4 18.4l1.4 1.4", "M1 12h2", "M21 12h2", "M4.2 19.8l1.4-1.4", "M18.4 5.6l1.4-1.4"],
2865
- moon: ["M21 12.8A9 9 0 1 1 11.2 3 7 7 0 0 0 21 12.8"],
2866
- help: ["M12 22a10 10 0 1 0 0-20 10 10 0 0 0 0 20", "M9.1 9a3 3 0 1 1 5.8 1c0 2-3 2-3 4", "M12 17h.01"],
2867
- wallet: ["M3 7h18v12H3z", "M3 7l2-3h14l2 3", "M16 13h2"],
2868
- trendUp: ["M3 17l6-6 4 4 8-8", "M15 7h6v6"],
2869
- trendDown: ["M3 7l6 6 4-4 8 8", "M15 17h6v-6"],
2870
- menu: ["M4 6h16", "M4 12h16", "M4 18h16"],
2871
- close: ["M6 6l12 12", "M18 6 6 18"],
2872
- chevronDown: ["M6 9l6 6 6-6"],
2873
- download: ["M12 3v12", "M7 10l5 5 5-5", "M5 21h14"],
2874
- edit: ["M12 20h9", "M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z"],
2875
- trash: ["M3 6h18", "M8 6V4h8v2", "M19 6l-1 15H6L5 6", "M10 11v6", "M14 11v6"],
2876
- calendar: ["M4 5h16v16H4z", "M16 3v4", "M8 3v4", "M4 10h16"],
2877
- filter: ["M3 5h18", "M6 12h12", "M10 19h4"],
2878
- star: ["M12 3l2.8 5.7 6.2.9-4.5 4.4 1.1 6.2L12 17.3 6.4 20.2l1.1-6.2L3 9.6l6.2-.9z"],
2879
- bolt: ["M13 2 3 14h8l-1 8 11-13h-8z"],
2880
- wifi: ["M5 12.5a10 10 0 0 1 14 0", "M8.5 16a5 5 0 0 1 7 0", "M12 20h.01"],
2881
- click: ["M9 9l10 4-4 2-2 4z", "M4 4l3 3"],
2882
- shopping: ["M6 6h15l-1.5 9h-12z", "M6 6 5 3H2", "M9 20a1 1 0 1 0 0-2 1 1 0 0 0 0 2", "M18 20a1 1 0 1 0 0-2 1 1 0 0 0 0 2"],
2883
- box: ["M21 8l-9-5-9 5 9 5 9-5", "M3 8v8l9 5 9-5V8", "M12 13v8"],
2884
- external: ["M14 3h7v7", "M10 14 21 3", "M21 14v7H3V3h7"],
2885
- github: ["M15 22v-4a4.8 4.8 0 0 0-1-3.5c3.3-.4 6.8-1.6 6.8-7A5.4 5.4 0 0 0 19.5 4 5 5 0 0 0 19.4.5S18.2.1 15 1.8a13.4 13.4 0 0 0-7 0C4.8.1 3.6.5 3.6.5A5 5 0 0 0 3.5 4 5.4 5.4 0 0 0 2 7.5c0 5.4 3.5 6.6 6.8 7A4.8 4.8 0 0 0 8 18v4", "M8 19c-3 .9-3-1.5-4-2"]
2886
- }, s = E(() => n[e.name] ?? n.help);
2887
- return (l, t) => (p(), v("svg", {
2888
- width: e.size,
2889
- height: e.size,
2890
- viewBox: "0 0 24 24",
2891
- fill: "none",
2892
- stroke: "currentColor",
2893
- "stroke-width": "1.8",
2894
- "stroke-linecap": "round",
2895
- "stroke-linejoin": "round",
2896
- "aria-hidden": "true"
2897
- }, [
2898
- (p(!0), v(B, null, N(s.value, (r, c) => (p(), v("path", {
2899
- key: c,
2900
- d: r
2901
- }, null, 8, wa))), 128))
2902
- ], 8, ka));
2903
- }
2904
- }), jo = /* @__PURE__ */ M({
2905
- __name: "VisionCard",
2906
- props: {
2907
- padded: { type: Boolean, default: !0 }
2908
- },
2909
- setup(e) {
2910
- const n = E(() => e.padded ? "p-5 md:p-6" : "");
2911
- return (s, l) => (p(), v("div", {
2912
- class: T(["glass-panel", n.value])
2913
- }, [
2914
- k(s.$slots, "default")
2915
- ], 2));
2916
- }
2917
- }), Ca = { class: "block" }, Ma = {
2918
- key: 0,
2919
- class: "mb-2 block text-xs font-medium text-vision-muted"
2920
- }, za = ["type", "name", "placeholder", "autocomplete"], Sa = {
2921
- key: 1,
2922
- class: "mt-1 block text-xs text-vision-danger"
2923
- }, Po = /* @__PURE__ */ M({
2924
- __name: "VisionInput",
2925
- props: /* @__PURE__ */ rt({
2926
- label: { default: "" },
2927
- placeholder: { default: "" },
2928
- type: { default: "text" },
2929
- name: { default: "" },
2930
- autocomplete: { default: "off" },
2931
- icon: { default: "" },
2932
- error: { default: "" }
2933
- }, {
2934
- modelValue: { default: "" },
2935
- modelModifiers: {}
2936
- }),
2937
- emits: ["update:modelValue"],
2938
- setup(e) {
2939
- const n = ot(e, "modelValue");
2940
- return (s, l) => (p(), v("label", Ca, [
2941
- e.label ? (p(), v("span", Ma, _(e.label), 1)) : z("", !0),
2942
- a("span", {
2943
- class: T(["glass-inset flex items-center gap-3 rounded-md px-4 transition-colors focus-within:border-vision-primary/60", e.error ? "border-vision-danger/50" : "border-white/10 hover:border-white/20"])
2944
- }, [
2945
- e.icon ? (p(), I(de, {
2946
- key: 0,
2947
- name: e.icon,
2948
- size: 18,
2949
- class: "shrink-0 text-vision-muted"
2950
- }, null, 8, ["name"])) : z("", !0),
2951
- he(a("input", {
2952
- "onUpdate:modelValue": l[0] || (l[0] = (t) => n.value = t),
2953
- type: e.type,
2954
- name: e.name,
2955
- placeholder: e.placeholder,
2956
- autocomplete: e.autocomplete,
2957
- class: "h-11 min-w-0 flex-1 bg-transparent text-sm text-white placeholder:text-vision-muted/70 focus:outline-none"
2958
- }, null, 8, za), [
2959
- [it, n.value]
2960
- ])
2961
- ], 2),
2962
- e.error ? (p(), v("span", Sa, _(e.error), 1)) : z("", !0)
2963
- ]));
2964
- }
2965
- }), Va = ["aria-label"], Ta = { class: "hidden lg:inline" }, La = ["aria-label"], Ea = { class: "flex items-center gap-3 border-b border-gray-200/70 px-4 dark:border-white/10" }, Ba = ["placeholder"], Aa = { class: "max-h-[55vh] overflow-y-auto p-2" }, Da = ["href"], Ia = { class: "min-w-0" }, Ha = { class: "flex flex-wrap items-baseline gap-2" }, ja = { class: "text-sm font-medium text-gray-900 dark:text-white" }, Pa = {
2843
+ }), yo = ["aria-label"], _o = { class: "hidden lg:inline" }, $o = ["aria-label"], ko = { class: "flex items-center gap-3 border-b border-gray-200/70 px-4 dark:border-white/10" }, wo = ["placeholder"], Co = { class: "max-h-[55vh] overflow-y-auto p-2" }, So = ["href"], zo = { class: "min-w-0" }, Vo = { class: "flex flex-wrap items-baseline gap-2" }, To = { class: "text-sm font-medium text-gray-900 dark:text-white" }, Eo = {
2966
2844
  key: 0,
2967
2845
  class: "text-[10px] uppercase tracking-wider text-gray-400"
2968
- }, Na = {
2846
+ }, Lo = {
2969
2847
  key: 0,
2970
2848
  class: "mt-0.5 block truncate text-xs text-gray-500 dark:text-gray-400"
2971
- }, Oa = {
2849
+ }, Bo = {
2972
2850
  key: 0,
2973
2851
  class: "px-4 py-10 text-center text-sm text-gray-500 dark:text-gray-400"
2974
- }, No = /* @__PURE__ */ M({
2852
+ }, Va = /* @__PURE__ */ S({
2975
2853
  __name: "VisionSearch",
2976
2854
  props: {
2977
2855
  items: {},
@@ -2981,97 +2859,97 @@ end;`, detail: "event(name: string)" },
2981
2859
  emptyText: { default: "Ничего не найдено. Попробуйте другой запрос." }
2982
2860
  },
2983
2861
  setup(e) {
2984
- const n = e, s = L(!1), l = L(""), t = L(null), r = E(() => {
2985
- const o = l.value.trim().toLowerCase();
2986
- return (o ? n.items.filter((u) => `${u.title} ${u.description ?? ""} ${u.group ?? ""}`.toLowerCase().includes(o)) : n.items).slice(0, 14);
2862
+ const n = e, l = L(!1), s = L(""), t = L(null), r = M(() => {
2863
+ const a = s.value.trim().toLowerCase();
2864
+ return (a ? n.items.filter((u) => `${u.title} ${u.description ?? ""} ${u.group ?? ""}`.toLowerCase().includes(a)) : n.items).slice(0, 14);
2987
2865
  }), c = async () => {
2988
- var o;
2989
- s.value = !0, l.value = "", await je(), (o = t.value) == null || o.focus();
2866
+ var a;
2867
+ l.value = !0, s.value = "", await He(), (a = t.value) == null || a.focus();
2990
2868
  }, d = () => {
2991
- s.value = !1, l.value = "";
2992
- }, m = (o) => {
2993
- if ((o.metaKey || o.ctrlKey) && o.key.toLowerCase() === "k") {
2994
- o.preventDefault(), s.value ? d() : c();
2869
+ l.value = !1, s.value = "";
2870
+ }, m = (a) => {
2871
+ if ((a.metaKey || a.ctrlKey) && a.key.toLowerCase() === "k") {
2872
+ a.preventDefault(), l.value ? d() : c();
2995
2873
  return;
2996
2874
  }
2997
- o.key === "Escape" && s.value && d();
2875
+ a.key === "Escape" && l.value && d();
2998
2876
  };
2999
- return ae(s, (o) => {
3000
- typeof document < "u" && (document.body.style.overflow = o ? "hidden" : "");
3001
- }), Q(() => window.addEventListener("keydown", m)), we(() => {
2877
+ return oe(l, (a) => {
2878
+ typeof document < "u" && (document.body.style.overflow = a ? "hidden" : "");
2879
+ }), Q(() => window.addEventListener("keydown", m)), ke(() => {
3002
2880
  window.removeEventListener("keydown", m), typeof document < "u" && (document.body.style.overflow = "");
3003
- }), (o, i) => (p(), v(B, null, [
3004
- a("button", {
2881
+ }), (a, i) => (p(), v(B, null, [
2882
+ o("button", {
3005
2883
  type: "button",
3006
2884
  class: "inline-flex h-9 items-center gap-2 rounded-md px-2.5 text-xs text-gray-500 transition-colors hover:bg-white/50 hover:text-[var(--app-accent)] dark:text-gray-400 dark:hover:bg-white/5 dark:hover:text-white",
3007
2885
  "aria-label": e.label,
3008
2886
  onClick: c
3009
2887
  }, [
3010
- g(de, {
2888
+ g(me, {
3011
2889
  name: "search",
3012
2890
  size: 17
3013
2891
  }),
3014
- a("span", Ta, _(e.label), 1),
3015
- i[1] || (i[1] = a("kbd", { class: "hidden rounded border border-gray-300/60 px-1.5 py-0.5 font-mono text-[10px] text-gray-400 dark:border-white/10 dark:text-gray-500 lg:inline" }, "⌘K", -1))
3016
- ], 8, Va),
3017
- (p(), I(dt, { to: "body" }, [
3018
- s.value ? (p(), v("div", {
2892
+ o("span", _o, _(e.label), 1),
2893
+ i[1] || (i[1] = o("kbd", { class: "hidden rounded border border-gray-300/60 px-1.5 py-0.5 font-mono text-[10px] text-gray-400 dark:border-white/10 dark:text-gray-500 lg:inline" }, "⌘K", -1))
2894
+ ], 8, yo),
2895
+ (p(), I(at, { to: "body" }, [
2896
+ l.value ? (p(), v("div", {
3019
2897
  key: 0,
3020
2898
  class: "fixed inset-0 z-[100] flex items-start justify-center overflow-y-auto bg-slate-900/40 px-4 pt-[12vh] backdrop-blur-sm dark:bg-black/60",
3021
- onClick: F(d, ["self"])
2899
+ onClick: R(d, ["self"])
3022
2900
  }, [
3023
- a("div", {
2901
+ o("div", {
3024
2902
  class: "glass-panel w-full max-w-2xl overflow-hidden rounded-[12px] border border-gray-200/70 bg-white/95 dark:border-white/10 dark:bg-[#0b1235]/95",
3025
2903
  role: "dialog",
3026
2904
  "aria-modal": "true",
3027
2905
  "aria-label": e.dialogLabel
3028
2906
  }, [
3029
- a("div", Ea, [
3030
- g(de, {
2907
+ o("div", ko, [
2908
+ g(me, {
3031
2909
  name: "search",
3032
2910
  size: 18,
3033
2911
  class: "shrink-0 text-gray-400"
3034
2912
  }),
3035
- he(a("input", {
2913
+ we(o("input", {
3036
2914
  ref_key: "input",
3037
2915
  ref: t,
3038
- "onUpdate:modelValue": i[0] || (i[0] = (u) => l.value = u),
2916
+ "onUpdate:modelValue": i[0] || (i[0] = (u) => s.value = u),
3039
2917
  type: "search",
3040
2918
  placeholder: e.placeholder,
3041
2919
  class: "h-14 min-w-0 flex-1 bg-transparent text-sm text-gray-900 placeholder:text-gray-400 focus:outline-none dark:text-white dark:placeholder:text-gray-500"
3042
- }, null, 8, Ba), [
3043
- [He, l.value]
2920
+ }, null, 8, wo), [
2921
+ [je, s.value]
3044
2922
  ]),
3045
- i[2] || (i[2] = a("kbd", { class: "hidden rounded border border-gray-300/60 px-1.5 py-0.5 font-mono text-[10px] text-gray-400 dark:border-white/10 dark:text-gray-500 sm:inline" }, "Esc", -1))
2923
+ i[2] || (i[2] = o("kbd", { class: "hidden rounded border border-gray-300/60 px-1.5 py-0.5 font-mono text-[10px] text-gray-400 dark:border-white/10 dark:text-gray-500 sm:inline" }, "Esc", -1))
3046
2924
  ]),
3047
- a("div", Aa, [
2925
+ o("div", Co, [
3048
2926
  (p(!0), v(B, null, N(r.value, (u) => (p(), v("a", {
3049
2927
  key: `${u.group}-${u.to}-${u.title}`,
3050
2928
  href: u.to,
3051
2929
  class: "flex items-start gap-3 rounded-md px-3 py-2.5 transition-colors hover:bg-white/50 dark:hover:bg-white/5",
3052
2930
  onClick: d
3053
2931
  }, [
3054
- g(de, {
2932
+ g(me, {
3055
2933
  name: "arrowRight",
3056
2934
  size: 16,
3057
2935
  class: "mt-0.5 shrink-0 text-gray-400"
3058
2936
  }),
3059
- a("span", Ia, [
3060
- a("span", Ha, [
3061
- a("span", ja, _(u.title), 1),
3062
- u.group ? (p(), v("span", Pa, _(u.group), 1)) : z("", !0)
2937
+ o("span", zo, [
2938
+ o("span", Vo, [
2939
+ o("span", To, _(u.title), 1),
2940
+ u.group ? (p(), v("span", Eo, _(u.group), 1)) : V("", !0)
3063
2941
  ]),
3064
- u.description ? (p(), v("span", Na, _(u.description), 1)) : z("", !0)
2942
+ u.description ? (p(), v("span", Lo, _(u.description), 1)) : V("", !0)
3065
2943
  ])
3066
- ], 8, Da))), 128)),
3067
- r.value.length ? z("", !0) : (p(), v("p", Oa, _(e.emptyText), 1))
2944
+ ], 8, So))), 128)),
2945
+ r.value.length ? V("", !0) : (p(), v("p", Bo, _(e.emptyText), 1))
3068
2946
  ])
3069
- ], 8, La)
3070
- ])) : z("", !0)
2947
+ ], 8, $o)
2948
+ ])) : V("", !0)
3071
2949
  ]))
3072
2950
  ], 64));
3073
2951
  }
3074
- }), Ua = ["aria-label", "title"], Oo = /* @__PURE__ */ M({
2952
+ }), Mo = ["aria-label", "title"], Ta = /* @__PURE__ */ S({
3075
2953
  __name: "VisionThemeToggle",
3076
2954
  props: {
3077
2955
  labelLight: { default: "Включить светлую тему" },
@@ -3080,25 +2958,25 @@ end;`, detail: "event(name: string)" },
3080
2958
  titleDark: { default: "Тёмная тема" }
3081
2959
  },
3082
2960
  setup(e) {
3083
- const n = L(xt("theme") === "light" ? "light" : "dark"), s = (l) => {
3084
- n.value = l, yt(l);
2961
+ const n = L(ht("theme") === "light" ? "light" : "dark"), l = (s) => {
2962
+ n.value = s, gt(s);
3085
2963
  };
3086
2964
  return Q(async () => {
3087
- await je(), setTimeout(() => s(n.value), 0);
3088
- }), (l, t) => (p(), v("button", {
2965
+ await He(), setTimeout(() => l(n.value), 0);
2966
+ }), (s, t) => (p(), v("button", {
3089
2967
  type: "button",
3090
2968
  class: "grid size-9 place-items-center rounded-md text-gray-600 transition-colors hover:bg-white/50 hover:text-[var(--app-accent)] dark:text-gray-300 dark:hover:bg-white/5 dark:hover:text-white",
3091
2969
  "aria-label": n.value === "dark" ? e.labelLight : e.labelDark,
3092
2970
  title: n.value === "dark" ? e.titleLight : e.titleDark,
3093
- onClick: t[0] || (t[0] = (r) => s(n.value === "dark" ? "light" : "dark"))
2971
+ onClick: t[0] || (t[0] = (r) => l(n.value === "dark" ? "light" : "dark"))
3094
2972
  }, [
3095
- g(de, {
2973
+ g(me, {
3096
2974
  name: n.value === "dark" ? "sun" : "moon",
3097
2975
  size: 18
3098
2976
  }, null, 8, ["name"])
3099
- ], 8, Ua));
2977
+ ], 8, Mo));
3100
2978
  }
3101
- }), Uo = /* @__PURE__ */ M({
2979
+ }), Ea = /* @__PURE__ */ S({
3102
2980
  __name: "VAutocomplete",
3103
2981
  props: {
3104
2982
  modelValue: { default: "" },
@@ -3109,10 +2987,10 @@ end;`, detail: "event(name: string)" },
3109
2987
  },
3110
2988
  emits: ["update:modelValue", "select"],
3111
2989
  setup(e, { emit: n }) {
3112
- const s = n, l = (r) => s("update:modelValue", r), t = (r, c) => {
3113
- r.click(new Event("click")), s("select", c);
2990
+ const l = n, s = (r) => l("update:modelValue", r), t = (r, c) => {
2991
+ r.click(new Event("click")), l("select", c);
3114
2992
  };
3115
- return (r, c) => (p(), I(Ne, j(r.$attrs, {
2993
+ return (r, c) => (p(), I(Ne, H(r.$attrs, {
3116
2994
  top: "50px",
3117
2995
  "hide-on-click": ""
3118
2996
  }), {
@@ -3122,7 +3000,7 @@ end;`, detail: "event(name: string)" },
3122
3000
  name: e.name,
3123
3001
  message: e.message,
3124
3002
  label: e.label,
3125
- "onUpdate:modelValue": l,
3003
+ "onUpdate:modelValue": s,
3126
3004
  onClick: d.open
3127
3005
  }, null, 8, ["model-value", "name", "message", "label", "onClick"])
3128
3006
  ]),
@@ -3133,7 +3011,7 @@ end;`, detail: "event(name: string)" },
3133
3011
  }, {
3134
3012
  default: x(({ item: m }) => [
3135
3013
  k(r.$slots, "default", { item: m }, () => [
3136
- H(_(m.name), 1)
3014
+ j(_(m.name), 1)
3137
3015
  ])
3138
3016
  ]),
3139
3017
  _: 3
@@ -3142,65 +3020,65 @@ end;`, detail: "event(name: string)" },
3142
3020
  _: 3
3143
3021
  }, 16));
3144
3022
  }
3145
- }), Ka = {
3023
+ }), Ao = {
3146
3024
  viewBox: "0 0 24 24",
3147
3025
  width: "1.2em",
3148
3026
  height: "1.2em"
3149
3027
  };
3150
- function Ra(e, n) {
3151
- return p(), v("svg", Ka, [...n[0] || (n[0] = [
3152
- a("path", {
3028
+ function Do(e, n) {
3029
+ return p(), v("svg", Ao, [...n[0] || (n[0] = [
3030
+ o("path", {
3153
3031
  fill: "currentColor",
3154
3032
  d: "m12 15l-4.243-4.242l1.415-1.414L12 12.172l2.828-2.828l1.415 1.414z"
3155
3033
  }, null, -1)
3156
3034
  ])]);
3157
3035
  }
3158
- const Fa = O({ name: "ri-arrow-drop-down-line", render: Ra }), Wa = { class: "v-expansion__content max-h-0 overflow-hidden transition-all duration-300" }, qa = { class: "p-4" }, Ko = /* @__PURE__ */ M({
3036
+ const Io = O({ name: "ri-arrow-drop-down-line", render: Do }), jo = { class: "v-expansion__content max-h-0 overflow-hidden transition-all duration-300" }, Ho = { class: "p-4" }, La = /* @__PURE__ */ S({
3159
3037
  __name: "VExpansion",
3160
3038
  props: {
3161
3039
  label: { default: "" },
3162
3040
  value: { type: Boolean, default: !1 }
3163
3041
  },
3164
3042
  setup(e) {
3165
- const n = L(null), s = L(e.value), l = () => {
3043
+ const n = L(null), l = L(e.value), s = () => {
3166
3044
  if (!n.value) return;
3167
3045
  const r = n.value.querySelector(".v-expansion__content");
3168
- r && (r.style.maxHeight = s.value ? `${r.scrollHeight}px` : "0");
3046
+ r && (r.style.maxHeight = l.value ? `${r.scrollHeight}px` : "0");
3169
3047
  }, t = () => {
3170
- s.value = !s.value, l();
3048
+ l.value = !l.value, s();
3171
3049
  };
3172
3050
  return Q(() => {
3173
- l();
3051
+ s();
3174
3052
  }), (r, c) => {
3175
- const d = Fa;
3053
+ const d = Io;
3176
3054
  return p(), v("div", {
3177
3055
  ref_key: "root",
3178
3056
  ref: n,
3179
3057
  class: "glass-inset mb-2 overflow-hidden rounded-md"
3180
3058
  }, [
3181
- a("div", {
3059
+ o("div", {
3182
3060
  class: "cursor-pointer min-h-[60px] px-4 flex items-center justify-between",
3183
3061
  onClick: t
3184
3062
  }, [
3185
- a("h4", null, _(e.label), 1),
3186
- a("div", {
3187
- class: T(["transition text-gray-400", { "rotate-x-180": s.value }])
3063
+ o("h4", null, _(e.label), 1),
3064
+ o("div", {
3065
+ class: E(["transition text-gray-400", { "rotate-x-180": l.value }])
3188
3066
  }, [
3189
3067
  g(d, { class: "size-6" })
3190
3068
  ], 2)
3191
3069
  ]),
3192
- a("div", Wa, [
3193
- a("div", qa, [
3070
+ o("div", jo, [
3071
+ o("div", Ho, [
3194
3072
  k(r.$slots, "default")
3195
3073
  ])
3196
3074
  ])
3197
3075
  ], 512);
3198
3076
  };
3199
3077
  }
3200
- }), Ga = ["onDragstart", "onDragenter"], Ja = {
3078
+ }), Po = ["onDragstart", "onDragenter"], No = {
3201
3079
  key: 0,
3202
3080
  class: "absolute inset-0 border border-dashed border-blue-600 rounded"
3203
- }, Ro = /* @__PURE__ */ M({
3081
+ }, Ba = /* @__PURE__ */ S({
3204
3082
  __name: "VDragDrop",
3205
3083
  props: {
3206
3084
  items: {},
@@ -3208,27 +3086,27 @@ const Fa = O({ name: "ri-arrow-drop-down-line", render: Ra }), Wa = { class: "v-
3208
3086
  },
3209
3087
  emits: ["update:items", "order-change"],
3210
3088
  setup(e, { emit: n }) {
3211
- const s = n, l = L(null), t = L(0), r = L(-1), c = ({ id: u }) => ({
3212
- "opacity-30 scale-105 z-10": l.value === u,
3213
- "transition-transform duration-200": l.value !== u
3089
+ const l = n, s = L(null), t = L(0), r = L(-1), c = ({ id: u }) => ({
3090
+ "opacity-30 scale-105 z-10": s.value === u,
3091
+ "transition-transform duration-200": s.value !== u
3214
3092
  }), d = (u, f, b) => {
3215
- l.value = f, t.value = b, u.dataTransfer.effectAllowed = "move";
3093
+ s.value = f, t.value = b, u.dataTransfer.effectAllowed = "move";
3216
3094
  }, m = (u) => {
3217
- l.value !== null && (r.value = u);
3218
- }, o = () => {
3219
- l.value = null, r.value = -1;
3095
+ s.value !== null && (r.value = u);
3096
+ }, a = () => {
3097
+ s.value = null, r.value = -1;
3220
3098
  }, i = (u) => {
3221
- if (u.preventDefault(), l.value && r.value !== -1) {
3222
- const f = e.items.findIndex((h) => h[e.itemKey] === l.value), b = r.value;
3099
+ if (u.preventDefault(), s.value && r.value !== -1) {
3100
+ const f = e.items.findIndex((h) => h[e.itemKey] === s.value), b = r.value;
3223
3101
  if (f !== b && b !== -1) {
3224
3102
  const h = [...e.items], [y] = h.splice(f, 1);
3225
- h.splice(b, 0, y), s("update:items", h), s("order-change", { fromIndex: f, toIndex: b, movedItem: y, newOrder: h });
3103
+ h.splice(b, 0, y), l("update:items", h), l("order-change", { fromIndex: f, toIndex: b, movedItem: y, newOrder: h });
3226
3104
  }
3227
3105
  }
3228
3106
  r.value = -1;
3229
3107
  };
3230
3108
  return (u, f) => (p(), v("div", {
3231
- onDragover: f[1] || (f[1] = F(() => {
3109
+ onDragover: f[1] || (f[1] = R(() => {
3232
3110
  }, ["prevent"])),
3233
3111
  onDrop: i
3234
3112
  }, [
@@ -3244,31 +3122,31 @@ const Fa = O({ name: "ri-arrow-drop-down-line", render: Ra }), Wa = { class: "v-
3244
3122
  default: x(() => [
3245
3123
  (p(!0), v(B, null, N(e.items, (b, h) => (p(), v("div", {
3246
3124
  key: `${b.id}_drug`,
3247
- class: T(["relative group", c(b)]),
3125
+ class: E(["relative group", c(b)]),
3248
3126
  draggable: "true",
3249
3127
  onDragstart: (y) => d(y, b.id, h),
3250
3128
  onDragenter: (y) => m(h),
3251
- onDragend: o,
3252
- onDragover: f[0] || (f[0] = F(() => {
3129
+ onDragend: a,
3130
+ onDragover: f[0] || (f[0] = R(() => {
3253
3131
  }, ["prevent"]))
3254
3132
  }, [
3255
3133
  k(u.$slots, "default", {
3256
3134
  item: b,
3257
3135
  key: b.id,
3258
3136
  index: h,
3259
- isDragging: l.value === b.id
3137
+ isDragging: s.value === b.id
3260
3138
  }),
3261
- r.value === h && l.value !== b.id ? (p(), v("div", Ja)) : z("", !0)
3262
- ], 42, Ga))), 128))
3139
+ r.value === h && s.value !== b.id ? (p(), v("div", No)) : V("", !0)
3140
+ ], 42, Po))), 128))
3263
3141
  ]),
3264
3142
  _: 3
3265
3143
  })
3266
3144
  ], 32));
3267
3145
  }
3268
- }), Za = { class: "glass-inset overflow-hidden rounded-md" }, Xa = { class: "min-w-full" }, Ya = { class: "border-y border-gray-200/70 py-3 dark:border-white/10" }, Qa = { class: "bg-gray-100/70 dark:bg-white/[0.04]" }, eo = { class: "flex items-center" }, to = { class: "divide-y divide-gray-100 dark:divide-white/5" }, no = ["onClick"], lo = { class: "flex items-center text-gray-700 dark:text-white/70" }, so = { key: 1 }, ao = {
3146
+ }), Oo = { class: "glass-inset overflow-x-auto rounded-md" }, Ko = { class: "min-w-full" }, Fo = { class: "border-y border-gray-200/70 py-3 dark:border-white/10" }, Uo = { class: "bg-gray-100/70 dark:bg-white/[0.04]" }, Ro = { class: "flex items-center" }, Wo = { class: "divide-y divide-gray-100 dark:divide-white/5" }, qo = ["onClick"], Go = { class: "flex items-center text-gray-700 dark:text-white/70" }, Jo = { key: 1 }, Zo = {
3269
3147
  class: "py-3 whitespace-nowrap",
3270
3148
  colspan: "9"
3271
- }, oo = { class: "flex items-center justify-center px-2 text-sm text-gray-500 dark:text-white/50" }, Fo = /* @__PURE__ */ M({
3149
+ }, Xo = { class: "flex items-center justify-center px-2 text-sm text-gray-500 dark:text-white/50" }, Ma = /* @__PURE__ */ S({
3272
3150
  __name: "VTable",
3273
3151
  props: {
3274
3152
  headers: { default: () => [] },
@@ -3276,48 +3154,48 @@ const Fa = O({ name: "ri-arrow-drop-down-line", render: Ra }), Wa = { class: "v-
3276
3154
  },
3277
3155
  emits: ["click"],
3278
3156
  setup(e, { emit: n }) {
3279
- const s = n, l = (c, d) => s("click", c, d), t = (c) => (c == null ? void 0 : c.className) || "", r = (c, { key: d }) => c == null ? void 0 : c[d];
3280
- return (c, d) => (p(), v("div", Za, [
3281
- a("table", Xa, [
3282
- a("thead", Ya, [
3283
- a("tr", Qa, [
3284
- (p(!0), v(B, null, N(e.headers, (m, o) => (p(), v("th", {
3285
- key: o,
3286
- class: T(["px-4 py-2 whitespace-nowrap font-normal text-gray-500 dark:text-white/50", t(m)])
3157
+ const l = n, s = (c, d) => l("click", c, d), t = (c) => (c == null ? void 0 : c.className) || "", r = (c, { key: d }) => c == null ? void 0 : c[d];
3158
+ return (c, d) => (p(), v("div", Oo, [
3159
+ o("table", Ko, [
3160
+ o("thead", Fo, [
3161
+ o("tr", Uo, [
3162
+ (p(!0), v(B, null, N(e.headers, (m, a) => (p(), v("th", {
3163
+ key: a,
3164
+ class: E(["px-4 py-2 whitespace-nowrap font-normal text-gray-500 dark:text-white/50", t(m)])
3287
3165
  }, [
3288
3166
  k(c.$slots, "header", {
3289
3167
  item: m,
3290
- i: o
3168
+ i: a
3291
3169
  }, () => [
3292
- a("div", eo, _(m.name), 1)
3170
+ o("div", Ro, _(m.name), 1)
3293
3171
  ])
3294
3172
  ], 2))), 128))
3295
3173
  ])
3296
3174
  ]),
3297
- a("tbody", to, [
3298
- e.items.length ? (p(!0), v(B, { key: 0 }, N(e.items, (m, o) => (p(), v("tr", {
3299
- key: o,
3175
+ o("tbody", Wo, [
3176
+ e.items.length ? (p(!0), v(B, { key: 0 }, N(e.items, (m, a) => (p(), v("tr", {
3177
+ key: a,
3300
3178
  class: "transition-colors hover:bg-primary/[0.04] dark:hover:bg-white/[0.04]",
3301
- onClick: (i) => l(m, i)
3179
+ onClick: (i) => s(m, i)
3302
3180
  }, [
3303
3181
  (p(!0), v(B, null, N(e.headers, (i, u) => (p(), v("td", {
3304
3182
  key: u,
3305
3183
  class: "py-2 px-4"
3306
3184
  }, [
3307
- a("div", lo, [
3185
+ o("div", Go, [
3308
3186
  k(c.$slots, i.key, {
3309
3187
  item: m,
3310
- i: o
3188
+ i: a
3311
3189
  }, () => [
3312
- H(_(r(m, i)), 1)
3190
+ j(_(r(m, i)), 1)
3313
3191
  ])
3314
3192
  ])
3315
3193
  ]))), 128))
3316
- ], 8, no))), 128)) : (p(), v("tr", so, [
3317
- a("td", ao, [
3318
- a("div", oo, [
3194
+ ], 8, qo))), 128)) : (p(), v("tr", Jo, [
3195
+ o("td", Zo, [
3196
+ o("div", Xo, [
3319
3197
  k(c.$slots, "empty", {}, () => [
3320
- d[0] || (d[0] = H("The list is empty", -1))
3198
+ d[0] || (d[0] = j("The list is empty", -1))
3321
3199
  ])
3322
3200
  ])
3323
3201
  ])
@@ -3326,31 +3204,31 @@ const Fa = O({ name: "ri-arrow-drop-down-line", render: Ra }), Wa = { class: "v-
3326
3204
  ])
3327
3205
  ]));
3328
3206
  }
3329
- }), Wo = /* @__PURE__ */ M({
3207
+ }), Aa = /* @__PURE__ */ S({
3330
3208
  __name: "VTooltip",
3331
3209
  props: {
3332
3210
  timeout: {},
3333
3211
  disabled: { type: Boolean }
3334
3212
  },
3335
3213
  setup(e) {
3336
- const n = L(!1), s = () => {
3214
+ const n = L(!1), l = () => {
3337
3215
  e.disabled || (n.value = !0);
3338
- }, l = () => {
3216
+ }, s = () => {
3339
3217
  n.value = !1;
3340
3218
  }, t = Ie("tooltip");
3341
- return $t(t, () => l()), (r, c) => (p(), v("div", {
3219
+ return xt(t, () => s()), (r, c) => (p(), v("div", {
3342
3220
  ref: "tooltip",
3343
3221
  class: "relative v-tooltip",
3344
- onMouseenter: s,
3345
- onMouseleave: l
3222
+ onMouseenter: l,
3223
+ onMouseleave: s
3346
3224
  }, [
3347
- a("button", {
3225
+ o("button", {
3348
3226
  type: "button",
3349
- onClick: s
3227
+ onClick: l
3350
3228
  }, [
3351
3229
  k(r.$slots, "activator")
3352
3230
  ]),
3353
- g(ke, {
3231
+ g($e, {
3354
3232
  "enter-active-class": "duration-300 ease-out",
3355
3233
  "enter-from-class": "transform opacity-0 -translate-y-2",
3356
3234
  "enter-to-class": "opacity-100 translate-y-0",
@@ -3367,58 +3245,56 @@ const Fa = O({ name: "ri-arrow-drop-down-line", render: Ra }), Wa = { class: "v-
3367
3245
  }
3368
3246
  });
3369
3247
  export {
3370
- ho as AppAside,
3371
- go as AppHeader,
3372
- yo as AppNav,
3373
- bo as AppNotification,
3374
- xo as AppOverlay,
3375
- _o as AppProgress,
3376
- zo as BlockBreadcrumb,
3377
- $o as BlockInfo,
3378
- ko as BlockScan,
3379
- wo as BlockService,
3380
- Co as BlockStatus,
3381
- Mo as BlockUpdate,
3382
- oe as CardBase,
3383
- So as CardButton,
3384
- Vo as CardDate,
3385
- To as CardDimmer,
3386
- Lo as CardInfo,
3387
- Eo as CardInput,
3388
- Bo as CardList,
3389
- Jo as CardMain,
3390
- en as CardNotification,
3391
- fa as DEFAULT_SUGGESTIONS,
3392
- Ao as ItemEdit,
3393
- Ho as ScriptDialog,
3394
- Do as ScriptEditor,
3395
- Io as ScriptViewDocs,
3396
- Uo as VAutocomplete,
3248
+ aa as AppAside,
3249
+ ia as AppHeader,
3250
+ ca as AppNav,
3251
+ ra as AppNotification,
3252
+ da as AppOverlay,
3253
+ ua as AppProgress,
3254
+ ga as BlockBreadcrumb,
3255
+ ma as BlockInfo,
3256
+ pa as BlockScan,
3257
+ fa as BlockService,
3258
+ va as BlockStatus,
3259
+ ha as BlockUpdate,
3260
+ ae as CardBase,
3261
+ ba as CardButton,
3262
+ xa as CardDate,
3263
+ ya as CardDimmer,
3264
+ _a as CardInfo,
3265
+ $a as CardInput,
3266
+ ka as CardList,
3267
+ ja as CardMain,
3268
+ Xt as CardNotification,
3269
+ uo as DEFAULT_SUGGESTIONS,
3270
+ wa as ItemEdit,
3271
+ za as ScriptDialog,
3272
+ Ca as ScriptEditor,
3273
+ Sa as ScriptViewDocs,
3274
+ Ea as VAutocomplete,
3397
3275
  A as VButton,
3398
- Ms as VCheckbox,
3276
+ $l as VCheckbox,
3399
3277
  Oe as VDialog,
3400
- Ro as VDragDrop,
3278
+ Ba as VDragDrop,
3401
3279
  Ne as VDropdown,
3402
- Ko as VExpansion,
3403
- cl as VFile,
3404
- xe as VFunc,
3280
+ La as VExpansion,
3281
+ is as VFile,
3282
+ be as VFunc,
3405
3283
  Pe as VIconLogo,
3406
- ct as VIconLogoMini,
3284
+ it as VIconLogoMini,
3407
3285
  Ce as VList,
3408
3286
  We as VListObject,
3409
- pt as VLoader,
3410
- Zo as VPopup,
3411
- se as VSelect,
3412
- Fo as VTable,
3413
- xs as VTabs,
3287
+ ct as VLoader,
3288
+ Ha as VPopup,
3289
+ le as VSelect,
3290
+ Ma as VTable,
3291
+ vl as VTabs,
3414
3292
  J as VTextField,
3415
- Fe as VTextWrapper,
3416
- Wo as VTooltip,
3417
- mt as VWifiIcon,
3418
- jo as VisionCard,
3419
- de as VisionIcon,
3420
- Po as VisionInput,
3421
- No as VisionSearch,
3422
- Oo as VisionThemeToggle,
3423
- ua as fullHighlighter
3293
+ Re as VTextWrapper,
3294
+ Aa as VTooltip,
3295
+ dt as VWifiIcon,
3296
+ me as VisionIcon,
3297
+ Va as VisionSearch,
3298
+ Ta as VisionThemeToggle,
3299
+ io as fullHighlighter
3424
3300
  };