vuesp-components 5.4.0 → 5.5.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,12 +1,12 @@
1
- import { defineComponent as D, resolveComponent as kt, openBlock as c, createElementBlock as f, Fragment as P, createCommentVNode as C, createElementVNode as t, normalizeClass as F, createVNode as g, withCtx as b, createBlock as L, renderSlot as O, computed as T, withModifiers as ne, toDisplayString as p, unref as x, TransitionGroup as ha, renderList as X, mergeProps as te, ref as j, watch as Se, reactive as Rt, onMounted as Be, onUnmounted as st, resolveDynamicComponent as Xe, Transition as Ft, normalizeStyle as Ge, createTextVNode as E, normalizeProps as ve, guardReactiveProps as fe, withDirectives as $t, vShow as el, vModelText as Ot, nextTick as Nt, toValue as tl, useTemplateRef as ya, createSlots as al, isRef as ll, Teleport as sl } from "vue";
2
- import { a as nl, V as ba, i as V, j as I, g as Pt, f as Ct, k as Dt, b as ol, h as il, d as xe, u as rl, _ as He, e as oe } from "../VDialog.vue_vue_type_script_setup_true_lang-Bh-tnwGM.js";
3
- import { I as sm, l as nm, m as om } from "../VDialog.vue_vue_type_script_setup_true_lang-Bh-tnwGM.js";
1
+ import { defineComponent as D, resolveComponent as kt, openBlock as c, createElementBlock as f, Fragment as P, createCommentVNode as C, createElementVNode as t, normalizeClass as R, createVNode as g, withCtx as b, createBlock as L, renderSlot as O, computed as T, withModifiers as ne, toDisplayString as p, unref as x, TransitionGroup as ha, renderList as X, mergeProps as te, ref as j, watch as Se, reactive as Rt, onMounted as Be, onUnmounted as st, resolveDynamicComponent as Xe, Transition as Ft, normalizeStyle as Ge, createTextVNode as E, normalizeProps as ve, guardReactiveProps as fe, withDirectives as $t, vShow as el, vModelText as Ot, nextTick as Nt, toValue as tl, useTemplateRef as ya, createSlots as al, isRef as ll, Teleport as sl } from "vue";
2
+ import { a as nl, V as ba, i as V, j as I, g as Pt, f as Ct, k as Dt, b as ol, h as il, d as xe, u as rl, _ as He, e as oe } from "../VDialog.vue_vue_type_script_setup_true_lang-IsyzXM12.js";
3
+ import { I as am, l as lm, m as sm } from "../VDialog.vue_vue_type_script_setup_true_lang-IsyzXM12.js";
4
4
  import { f as dl, t as cl, g as ul, u as ht, s as ml, d as vl, m as fl, c as gl } from "../app-3Zj29UoC.js";
5
5
  import { e as _t, f as pl, g as hl, o as yl } from "../useDialog-Buvn63AR.js";
6
6
  import { useForm as bl, useSerialConsole as xl } from "../composables/index.es.js";
7
7
  import { required as kl, maxLen as wl } from "../validate/index.es.js";
8
8
  import { a as $l } from "../paths-D9y4c97_.js";
9
- const Cl = { class: "no-scrollbar flex flex-col overflow-y-auto duration-300 ease-linear h-full" }, yu = /* @__PURE__ */ D({
9
+ const Cl = { class: "no-scrollbar flex flex-col overflow-y-auto duration-300 ease-linear h-full" }, pu = /* @__PURE__ */ D({
10
10
  __name: "AppAside",
11
11
  props: {
12
12
  isSidebar: { type: Boolean, default: !1 }
@@ -25,10 +25,10 @@ const Cl = { class: "no-scrollbar flex flex-col overflow-y-auto duration-300 eas
25
25
  onClick: o
26
26
  })) : C("", !0),
27
27
  t("aside", {
28
- class: F([e.isSidebar ? "translate-x-0 lg:w-24" : "-translate-x-full", "overflow-x-hidden fixed top-0 left-0 z-10 flex lg:static h-full w-75 flex-col overflow-y-auto border-r border-gray-light-10/70 bg-white/70 px-5 backdrop-blur-2xl transition-all duration-350 lg:translate-x-0 dark:border-white/10 dark:bg-night-main/70"])
28
+ class: R([e.isSidebar ? "translate-x-0 lg:w-24" : "-translate-x-full", "overflow-x-hidden fixed top-0 left-0 z-10 flex lg:static h-full w-75 flex-col overflow-y-auto border-r border-gray-light-10/70 bg-white/70 px-5 backdrop-blur-2xl transition-all duration-350 lg:translate-x-0 dark:border-white/10 dark:bg-night-main/70"])
29
29
  }, [
30
30
  t("div", {
31
- class: F([e.isSidebar ? "justify-center" : "justify-between", "sidebar-header flex items-center gap-2 border-b border-gray-light-10/60 pt-6 pb-6 justify-between dark:border-white/5"])
31
+ class: R([e.isSidebar ? "justify-center" : "justify-between", "sidebar-header flex items-center gap-2 border-b border-gray-light-10/60 pt-6 pb-6 justify-between dark:border-white/5"])
32
32
  }, [
33
33
  g(r, { to: "/" }, {
34
34
  default: b(() => [
@@ -50,7 +50,7 @@ const Cl = { class: "no-scrollbar flex flex-col overflow-y-auto duration-300 eas
50
50
  ], 64);
51
51
  };
52
52
  }
53
- }), _l = { class: "glass-header relative sticky top-0 left-0 z-10 w-full border-b shadow-card" }, Sl = { class: "py-4" }, zl = { class: "container mx-auto flex flex-auto items-center" }, Tl = { class: "lg:hidden h-7" }, El = { class: "gap-4 hidden items-center lg:flex" }, Al = { class: "lg:hidden flex gap-4" }, Bl = { class: "ms-2" }, bu = /* @__PURE__ */ D({
53
+ }), _l = { class: "glass-header relative sticky top-0 left-0 z-10 w-full border-b shadow-card" }, Sl = { class: "py-4" }, zl = { class: "container mx-auto flex flex-auto items-center" }, Tl = { class: "lg:hidden h-7" }, El = { class: "gap-4 hidden items-center lg:flex" }, Al = { class: "lg:hidden flex gap-4" }, Bl = { class: "ms-2" }, hu = /* @__PURE__ */ D({
54
54
  __name: "AppHeader",
55
55
  props: {
56
56
  changeTheme: { type: Function },
@@ -121,7 +121,7 @@ const Cl = { class: "no-scrollbar flex flex-col overflow-y-auto duration-300 eas
121
121
  }, {
122
122
  default: b(() => [
123
123
  t("span", {
124
- class: F([a.value ? "flex" : "hidden", "absolute right-0 top-0.5 z-1 h-2 w-2 rounded-full bg-orange-400"])
124
+ class: R([a.value ? "flex" : "hidden", "absolute right-0 top-0.5 z-1 h-2 w-2 rounded-full bg-orange-400"])
125
125
  }, [...v[0] || (v[0] = [
126
126
  t("span", { class: "absolute -z-1 inline-flex h-full w-full animate-ping rounded-full bg-orange-400 opacity-75" }, null, -1)
127
127
  ])], 2),
@@ -203,7 +203,7 @@ const Cl = { class: "no-scrollbar flex flex-col overflow-y-auto duration-300 eas
203
203
  const l = e, o = n, a = ["", "bg-green-500", "bg-red-500", "bg-yellow-500", "bg-blue-500"], i = (s) => a[s], r = (s) => o("remove", s), u = (s) => o("read", s);
204
204
  return (s, d) => (c(), f("div", Ll, [
205
205
  t("div", {
206
- class: F(["absolute left-0 top-0 w-1 h-full", i(l.color)])
206
+ class: R(["absolute left-0 top-0 w-1 h-full", i(l.color)])
207
207
  }, null, 2),
208
208
  g(V, {
209
209
  class: "shrink-0",
@@ -212,7 +212,7 @@ const Cl = { class: "no-scrollbar flex flex-col overflow-y-auto duration-300 eas
212
212
  }, {
213
213
  default: b(() => [
214
214
  t("span", {
215
- class: F([l.isNew ? "flex" : "hidden", "absolute right-0 top-0.5 z-1 h-2 w-2 rounded-full bg-orange-400"])
215
+ class: R([l.isNew ? "flex" : "hidden", "absolute right-0 top-0.5 z-1 h-2 w-2 rounded-full bg-orange-400"])
216
216
  }, [...d[0] || (d[0] = [
217
217
  t("span", { class: "absolute -z-1 inline-flex h-full w-full animate-ping rounded-full bg-orange-400 opacity-75" }, null, -1)
218
218
  ])], 2),
@@ -246,7 +246,7 @@ const Cl = { class: "no-scrollbar flex flex-col overflow-y-auto duration-300 eas
246
246
  }), Rl = { class: "no-scrollbar flex flex-col overflow-y-auto duration-300 ease-linear h-full" }, Fl = {
247
247
  key: 0,
248
248
  class: "flex flex-col gap-2 p-2"
249
- }, xu = /* @__PURE__ */ D({
249
+ }, yu = /* @__PURE__ */ D({
250
250
  __name: "AppNotification",
251
251
  props: {
252
252
  value: { type: Boolean },
@@ -262,7 +262,7 @@ const Cl = { class: "no-scrollbar flex flex-col overflow-y-auto duration-300 eas
262
262
  onClick: r
263
263
  })) : C("", !0),
264
264
  t("aside", {
265
- class: F([l.value ? "translate-x-0 " : "translate-x-full", "overflow-x-hidden fixed top-18 bottom-0 right-0 flex w-72 md:w-80 border-l border-gray-light-10/70 flex-col overflow-y-auto transition-all duration-350 dark:border-white/10 bg-white/90 backdrop-blur-2xl dark:bg-night-main/80"])
265
+ class: R([l.value ? "translate-x-0 " : "translate-x-full", "overflow-x-hidden fixed top-18 bottom-0 right-0 flex w-72 md:w-80 border-l border-gray-light-10/70 flex-col overflow-y-auto transition-all duration-350 dark:border-white/10 bg-white/90 backdrop-blur-2xl dark:bg-night-main/80"])
266
266
  }, [
267
267
  t("div", Rl, [
268
268
  O(d.$slots, "header", { isNew: a.value }),
@@ -305,7 +305,7 @@ function Dl(e, n) {
305
305
  ])
306
306
  ]);
307
307
  }
308
- const ku = /* @__PURE__ */ Dt(Ol, [["render", Dl]]), jl = {
308
+ const bu = /* @__PURE__ */ Dt(Ol, [["render", Dl]]), jl = {
309
309
  key: 0,
310
310
  class: "min-w-0 flex-1 truncate text-sm"
311
311
  }, Ul = ["title"], Hl = {
@@ -347,7 +347,7 @@ const ku = /* @__PURE__ */ Dt(Ol, [["render", Dl]]), jl = {
347
347
  const $ = kt("router-link"), y = kt("AppNavItem", !0);
348
348
  return c(), f("li", null, [
349
349
  t("div", {
350
- class: F(["group relative flex items-center rounded-md transition-colors", [
350
+ class: R(["group relative flex items-center rounded-md transition-colors", [
351
351
  s.value ? "bg-gradient-to-r from-cyan-main/15 via-cyan-main/5 to-transparent text-cyan-main before:absolute before:left-0 before:top-1/2 before:h-5 before:w-0.5 before:-translate-y-1/2 before:rounded-full before:bg-cyan-main" : "text-gray-dark-25 hover:bg-black/5 dark:text-gray-light-10 dark:hover:bg-white/5",
352
352
  e.compact ? "lg:justify-center lg:px-2" : ""
353
353
  ]])
@@ -355,7 +355,7 @@ const ku = /* @__PURE__ */ Dt(Ol, [["render", Dl]]), jl = {
355
355
  e.item.path ? (c(), L($, {
356
356
  key: 0,
357
357
  to: e.item.path,
358
- class: F(["flex min-w-0 flex-1 items-center gap-2.5 px-3 py-2", e.compact ? "lg:justify-center lg:px-0" : ""]),
358
+ class: R(["flex min-w-0 flex-1 items-center gap-2.5 px-3 py-2", e.compact ? "lg:justify-center lg:px-0" : ""]),
359
359
  title: e.compact ? e.item.name : void 0,
360
360
  onClick: h[0] || (h[0] = (w) => o("select"))
361
361
  }, {
@@ -370,7 +370,7 @@ const ku = /* @__PURE__ */ Dt(Ol, [["render", Dl]]), jl = {
370
370
  }, 8, ["to", "class", "title"])) : (c(), f("button", {
371
371
  key: 1,
372
372
  type: "button",
373
- class: F(["flex min-w-0 flex-1 items-center gap-2.5 px-3 py-2 text-left", e.compact ? "lg:justify-center lg:px-0" : ""]),
373
+ class: R(["flex min-w-0 flex-1 items-center gap-2.5 px-3 py-2 text-left", e.compact ? "lg:justify-center lg:px-0" : ""]),
374
374
  title: e.compact ? e.item.name : void 0,
375
375
  onClick: m
376
376
  }, [
@@ -390,13 +390,13 @@ const ku = /* @__PURE__ */ Dt(Ol, [["render", Dl]]), jl = {
390
390
  }, [
391
391
  g(I, {
392
392
  name: "chevron-down",
393
- class: F(["size-4 transition-transform", r.value ? "" : "-rotate-90"])
393
+ class: R(["size-4 transition-transform", r.value ? "" : "-rotate-90"])
394
394
  }, null, 8, ["class"])
395
395
  ], 8, Kl)) : C("", !0)
396
396
  ], 2),
397
397
  i.value && !e.compact ? (c(), f("div", {
398
398
  key: 0,
399
- class: F(["nav-collapse", { open: r.value }]),
399
+ class: R(["nav-collapse", { open: r.value }]),
400
400
  inert: !r.value
401
401
  }, [
402
402
  t("div", null, [
@@ -407,7 +407,7 @@ const ku = /* @__PURE__ */ Dt(Ol, [["render", Dl]]), jl = {
407
407
  level: e.level + 1,
408
408
  "active-path": e.activePath,
409
409
  compact: e.compact,
410
- onSelect: h[1] || (h[1] = (R) => o("select"))
410
+ onSelect: h[1] || (h[1] = (F) => o("select"))
411
411
  }, null, 8, ["item", "level", "active-path", "compact"]))), 128))
412
412
  ])
413
413
  ])
@@ -453,7 +453,7 @@ const ku = /* @__PURE__ */ Dt(Ol, [["render", Dl]]), jl = {
453
453
  a.value || l("sidebar", !1);
454
454
  }, w = (K) => {
455
455
  y(), o.value !== K.name && (o.value = o.value === K.name ? "" : K.name);
456
- }, R = () => {
456
+ }, F = () => {
457
457
  const K = { services: !0, settings: !0 };
458
458
  try {
459
459
  const ee = localStorage.getItem(e.storageKey);
@@ -464,7 +464,7 @@ const ku = /* @__PURE__ */ Dt(Ol, [["render", Dl]]), jl = {
464
464
  m();
465
465
  }, H = (K) => e.fullPath === K, W = (K) => K ? e.fullPath === K || e.fullPath.startsWith(K) : !1;
466
466
  return Se(() => e.fullPath, m), Se(() => e.groups, m, { deep: !0 }), Be(() => {
467
- $(), R(), window.addEventListener("resize", $, { passive: !0 });
467
+ $(), F(), window.addEventListener("resize", $, { passive: !0 });
468
468
  }), st(() => {
469
469
  window.removeEventListener("resize", $);
470
470
  }), Se(
@@ -476,7 +476,7 @@ const ku = /* @__PURE__ */ Dt(Ol, [["render", Dl]]), jl = {
476
476
  ), (K, ee) => (c(), f("nav", Jl, [
477
477
  e.groups.length ? (c(!0), f(P, { key: 0 }, X(e.groups, (S, B) => (c(), f("div", {
478
478
  key: S.key ?? S.title,
479
- class: F(r.value && B ? "mt-2 border-t border-gray-light-10/60 pt-2 dark:border-white/10" : "")
479
+ class: R(r.value && B ? "mt-2 border-t border-gray-light-10/60 pt-2 dark:border-white/10" : "")
480
480
  }, [
481
481
  r.value ? C("", !0) : (c(), f("button", {
482
482
  key: 0,
@@ -488,11 +488,11 @@ const ku = /* @__PURE__ */ Dt(Ol, [["render", Dl]]), jl = {
488
488
  t("span", null, p(S.title), 1),
489
489
  g(I, {
490
490
  name: "chevron-down",
491
- class: F(["size-3.5 transition-transform", s(S) ? "-rotate-90" : ""])
491
+ class: R(["size-3.5 transition-transform", s(S) ? "-rotate-90" : ""])
492
492
  }, null, 8, ["class"])
493
493
  ], 8, Yl)),
494
494
  t("div", {
495
- class: F(["nav-collapse", { open: r.value || !s(S) }]),
495
+ class: R(["nav-collapse", { open: r.value || !s(S) }]),
496
496
  inert: !r.value && s(S)
497
497
  }, [
498
498
  t("div", null, [
@@ -514,7 +514,7 @@ const ku = /* @__PURE__ */ Dt(Ol, [["render", Dl]]), jl = {
514
514
  }, [
515
515
  (c(), L(Xe(S.path ? "router-link" : "span"), {
516
516
  to: S.path,
517
- class: F(["flex gap-2 items-center px-3 py-2 rounded", H(S.path) ? "bg-cyan-main/10 text-cyan-main" : "hover:bg-white/5"]),
517
+ class: R(["flex gap-2 items-center px-3 py-2 rounded", H(S.path) ? "bg-cyan-main/10 text-cyan-main" : "hover:bg-white/5"]),
518
518
  onClick: ne((B) => w(S), ["prevent", "stop"])
519
519
  }, {
520
520
  default: b(() => [
@@ -522,10 +522,10 @@ const ku = /* @__PURE__ */ Dt(Ol, [["render", Dl]]), jl = {
522
522
  O(K.$slots, "icon", { item: S }, void 0, !0)
523
523
  ]),
524
524
  t("span", {
525
- class: F(["flex-1 first-letter:uppercase text-sm", e.isSidebar ? "lg:hidden" : ""])
525
+ class: R(["flex-1 first-letter:uppercase text-sm", e.isSidebar ? "lg:hidden" : ""])
526
526
  }, p(S.name), 3),
527
527
  t("button", {
528
- class: F(["cursor-pointer", [e.isSidebar ? "lg:hidden" : ""]]),
528
+ class: R(["cursor-pointer", [e.isSidebar ? "lg:hidden" : ""]]),
529
529
  onClick: ne((B) => w(S), ["prevent", "stop"])
530
530
  }, [
531
531
  S.children ? (c(), L(I, {
@@ -539,13 +539,13 @@ const ku = /* @__PURE__ */ Dt(Ol, [["render", Dl]]), jl = {
539
539
  }, 1032, ["to", "class", "onClick"])),
540
540
  S.children ? (c(), f("div", {
541
541
  key: 0,
542
- class: F(["translate transform overflow-hidden mt-2", [e.isSidebar ? "lg:hidden" : "", o.value === S.name ? "block" : "hidden"]])
542
+ class: R(["translate transform overflow-hidden mt-2", [e.isSidebar ? "lg:hidden" : "", o.value === S.name ? "block" : "hidden"]])
543
543
  }, [
544
544
  t("ul", ls, [
545
545
  (c(!0), f(P, null, X(S.children, ({ name: B, path: q, icon: ae, children: ze }) => (c(), f("li", { key: B }, [
546
546
  (c(), L(Xe(q ? "router-link" : "span"), {
547
547
  to: q,
548
- class: F(["flex gap-2 items-center px-3 py-2 rounded", H(q) ? "bg-cyan-main/10 text-cyan-main" : "hover:bg-white/5"])
548
+ class: R(["flex gap-2 items-center px-3 py-2 rounded", H(q) ? "bg-cyan-main/10 text-cyan-main" : "hover:bg-white/5"])
549
549
  }, {
550
550
  default: b(() => [
551
551
  t("div", ss, [
@@ -566,7 +566,7 @@ const ku = /* @__PURE__ */ Dt(Ol, [["render", Dl]]), jl = {
566
566
  }, [
567
567
  (c(), L(Xe(de.path ? "router-link" : "span"), {
568
568
  to: de.path,
569
- class: F(["flex gap-2 items-center px-3 py-2 rounded", H(de.path) ? "bg-cyan-main/10 text-cyan-main" : "hover:bg-white/5"])
569
+ class: R(["flex gap-2 items-center px-3 py-2 rounded", H(de.path) ? "bg-cyan-main/10 text-cyan-main" : "hover:bg-white/5"])
570
570
  }, {
571
571
  default: b(() => [
572
572
  t("div", ds, [
@@ -588,7 +588,7 @@ const ku = /* @__PURE__ */ Dt(Ol, [["render", Dl]]), jl = {
588
588
  ]))
589
589
  ]));
590
590
  }
591
- }), wu = /* @__PURE__ */ Dt(ms, [["__scopeId", "data-v-4c019515"]]), vs = {
591
+ }), xu = /* @__PURE__ */ Dt(ms, [["__scopeId", "data-v-4c019515"]]), vs = {
592
592
  key: 0,
593
593
  class: "glass-inset w-full min-w-64 max-w-xs rounded-xl p-4 shadow-lg",
594
594
  role: "alert"
@@ -598,7 +598,7 @@ const ku = /* @__PURE__ */ Dt(Ol, [["render", Dl]]), jl = {
598
598
  }, ps = {
599
599
  key: 0,
600
600
  class: "relative mt-2 block h-4 w-full select-none overflow-hidden rounded-md bg-gray-light-10/70 dark:bg-white/10"
601
- }, hs = { class: "absolute left-36 top-1/2 -translate-1/2 text-sm font-bold text-black dark:text-white text-center leading-none" }, ys = { class: "absolute left-36 top-1/2 -translate-1/2 text-sm font-bold text-white text-center leading-none" }, $u = /* @__PURE__ */ D({
601
+ }, hs = { class: "absolute left-36 top-1/2 -translate-1/2 text-sm font-bold text-black dark:text-white text-center leading-none" }, ys = { class: "absolute left-36 top-1/2 -translate-1/2 text-sm font-bold text-white text-center leading-none" }, ku = /* @__PURE__ */ D({
602
602
  __name: "AppProgress",
603
603
  props: {
604
604
  status: { default: 0 },
@@ -658,7 +658,7 @@ const ku = /* @__PURE__ */ Dt(Ol, [["render", Dl]]), jl = {
658
658
  _: 3
659
659
  }));
660
660
  }
661
- }), bs = { class: "my-4 text-gray-dark-30 dark:text-gray-main" }, xs = { class: "flex flex-col md:flex-row flex-wrap md:gap-4 text-sm" }, ks = { class: "flex gap-2" }, ws = { class: "text-gray-dark-30 dark:text-gray-main" }, $s = { class: "flex gap-2" }, Cs = { class: "flex gap-2" }, _s = { class: "text-gray-dark-30 dark:text-gray-main" }, Ss = { class: "flex gap-2" }, zs = { class: "text-gray-dark-30 dark:text-gray-main" }, Ts = { class: "flex flex-col gap-4 text-sm" }, Es = { class: "flex gap-4" }, Cu = /* @__PURE__ */ D({
661
+ }), bs = { class: "my-4 text-gray-dark-30 dark:text-gray-main" }, xs = { class: "flex flex-col md:flex-row flex-wrap md:gap-4 text-sm" }, ks = { class: "flex gap-2" }, ws = { class: "text-gray-dark-30 dark:text-gray-main" }, $s = { class: "flex gap-2" }, Cs = { class: "flex gap-2" }, _s = { class: "text-gray-dark-30 dark:text-gray-main" }, Ss = { class: "flex gap-2" }, zs = { class: "text-gray-dark-30 dark:text-gray-main" }, Ts = { class: "flex flex-col gap-4 text-sm" }, Es = { class: "flex gap-4" }, wu = /* @__PURE__ */ D({
662
662
  __name: "BlockInfo",
663
663
  props: {
664
664
  id: { default: 0 },
@@ -709,7 +709,7 @@ const ku = /* @__PURE__ */ Dt(Ol, [["render", Dl]]), jl = {
709
709
  }), As = ["onClick"], Bs = { class: "mr-2" }, Ls = { class: "text-sm" }, Is = { class: "text-gray-main text-xs" }, Vs = {
710
710
  key: 0,
711
711
  class: "flex justify-center"
712
- }, Ms = { class: "flex justify-end mt-4" }, _u = /* @__PURE__ */ D({
712
+ }, Ms = { class: "flex justify-end mt-4" }, $u = /* @__PURE__ */ D({
713
713
  __name: "BlockScan",
714
714
  props: {
715
715
  items: { default: () => [] }
@@ -757,7 +757,7 @@ const ku = /* @__PURE__ */ Dt(Ol, [["render", Dl]]), jl = {
757
757
  ]);
758
758
  };
759
759
  }
760
- }), Rs = { class: "md:flex items-center mb-4" }, Fs = { class: "flex-auto text-gray-dark-25 dark:text-gray-light-10 mb-2" }, Os = { class: "md:max-w-50" }, Ns = { class: "flex items-center mb-4" }, Ps = { class: "flex-auto text-gray-dark-25 dark:text-gray-light-10" }, Ds = { class: "flex items-center mb-4" }, js = { class: "flex-auto text-gray-dark-25 dark:text-gray-light-10" }, Su = /* @__PURE__ */ D({
760
+ }), Rs = { class: "md:flex items-center mb-4" }, Fs = { class: "flex-auto text-gray-dark-25 dark:text-gray-light-10 mb-2" }, Os = { class: "md:max-w-50" }, Ns = { class: "flex items-center mb-4" }, Ps = { class: "flex-auto text-gray-dark-25 dark:text-gray-light-10" }, Ds = { class: "flex items-center mb-4" }, js = { class: "flex-auto text-gray-dark-25 dark:text-gray-light-10" }, Cu = /* @__PURE__ */ D({
761
761
  __name: "BlockService",
762
762
  props: {
763
763
  locale: {},
@@ -814,7 +814,7 @@ const ku = /* @__PURE__ */ Dt(Ol, [["render", Dl]]), jl = {
814
814
  ], 64);
815
815
  };
816
816
  }
817
- }), Us = { class: "grid grid-cols-1 gap-4 lg:max-w-90 min-w-64" }, Hs = { class: "flex flex-col w-full items-center gap-2" }, Ks = ["title"], qs = { class: "absolute left-28 top-1/2 -translate-1/2 text-center text-sm font-bold leading-none text-gray-dark-40 dark:text-white" }, Ws = { class: "absolute left-28 top-1/2 -translate-1/2 text-sm font-bold text-white text-center leading-none" }, Xs = { class: "flex justify-between w-full text-xs" }, Gs = { class: "text-gray-dark-25 dark:text-white/50" }, Js = { class: "text-sm" }, Ys = { class: "text-gray-dark-25 dark:text-white/50 text-left" }, Zs = { class: "text-right text-xs" }, zu = /* @__PURE__ */ D({
817
+ }), Us = { class: "grid grid-cols-1 gap-4 lg:max-w-90 min-w-64" }, Hs = { class: "flex flex-col w-full items-center gap-2" }, Ks = ["title"], qs = { class: "absolute left-28 top-1/2 -translate-1/2 text-center text-sm font-bold leading-none text-gray-dark-40 dark:text-white" }, Ws = { class: "absolute left-28 top-1/2 -translate-1/2 text-sm font-bold text-white text-center leading-none" }, Xs = { class: "flex justify-between w-full text-xs" }, Gs = { class: "text-gray-dark-25 dark:text-white/50" }, Js = { class: "text-sm" }, Ys = { class: "text-gray-dark-25 dark:text-white/50 text-left" }, Zs = { class: "text-right text-xs" }, _u = /* @__PURE__ */ D({
818
818
  __name: "BlockStatus",
819
819
  props: {
820
820
  id: { default: 0 },
@@ -920,7 +920,7 @@ const ku = /* @__PURE__ */ Dt(Ol, [["render", Dl]]), jl = {
920
920
  O(a.$slots, "default")
921
921
  ]));
922
922
  }
923
- }), an = { class: "md:flex" }, ln = { class: "text-gray-dark-25 dark:text-gray-light-10 first-letter:uppercase min-w-19" }, Tu = /* @__PURE__ */ D({
923
+ }), an = { class: "md:flex" }, ln = { class: "text-gray-dark-25 dark:text-gray-light-10 first-letter:uppercase min-w-19" }, Su = /* @__PURE__ */ D({
924
924
  __name: "BlockUpdate",
925
925
  emits: ["update"],
926
926
  setup(e, { emit: n }) {
@@ -974,7 +974,7 @@ const ku = /* @__PURE__ */ Dt(Ol, [["render", Dl]]), jl = {
974
974
  ]);
975
975
  };
976
976
  }
977
- }), sn = { class: "flex items-center gap-1.5" }, Eu = /* @__PURE__ */ D({
977
+ }), sn = { class: "flex items-center gap-1.5" }, zu = /* @__PURE__ */ D({
978
978
  __name: "BlockBreadcrumb",
979
979
  props: {
980
980
  items: { default: () => [] }
@@ -986,7 +986,7 @@ const ku = /* @__PURE__ */ Dt(Ol, [["render", Dl]]), jl = {
986
986
  t("ol", sn, [
987
987
  (c(!0), f(P, null, X(e.items, (r, u) => (c(), f("li", {
988
988
  key: u,
989
- class: F(["inline-flex items-center gap-1.5 text-sm text-gray-dark-25 dark:text-gray-main", r.path ? "" : "text-gray-dark-30 dark:text-white/90"])
989
+ class: R(["inline-flex items-center gap-1.5 text-sm text-gray-dark-25 dark:text-gray-main", r.path ? "" : "text-gray-dark-30 dark:text-white/90"])
990
990
  }, [
991
991
  O(a.$slots, "default", { item: r }, () => [
992
992
  (c(), L(Xe(r.path ? "a" : "span"), {
@@ -1035,15 +1035,15 @@ const ku = /* @__PURE__ */ Dt(Ol, [["render", Dl]]), jl = {
1035
1035
  l("click", { key: y, path: v(y), isObject: w });
1036
1036
  };
1037
1037
  return (y, w) => (c(), f("ul", null, [
1038
- (c(!0), f(P, null, X(e.items, (R, H) => (c(), f("li", {
1038
+ (c(!0), f(P, null, X(e.items, (F, H) => (c(), f("li", {
1039
1039
  key: H,
1040
- class: F(m(R) ? "" : `flex items-center ${o()}`)
1040
+ class: R(m(F) ? "" : `flex items-center ${o()}`)
1041
1041
  }, [
1042
1042
  t("div", {
1043
- class: F(["flex items-center cursor-pointer ps-2 h-8", m(R) ? `${o()}` : ""]),
1044
- onClick: (W) => d(H, R)
1043
+ class: R(["flex items-center cursor-pointer ps-2 h-8", m(F) ? `${o()}` : ""]),
1044
+ onClick: (W) => d(H, F)
1045
1045
  }, [
1046
- m(R) ? (c(), f("div", on, [
1046
+ m(F) ? (c(), f("div", on, [
1047
1047
  g(I, {
1048
1048
  name: "folder",
1049
1049
  class: "size-5"
@@ -1052,7 +1052,7 @@ const ku = /* @__PURE__ */ Dt(Ol, [["render", Dl]]), jl = {
1052
1052
  t("div", rn, p(H), 1),
1053
1053
  x(s) ? (c(), L(V, {
1054
1054
  key: 1,
1055
- class: F(Et),
1055
+ class: R(Et),
1056
1056
  variant: "ghost",
1057
1057
  size: "sm",
1058
1058
  onClick: ne((W) => x(r)(v(H)), ["stop"])
@@ -1067,17 +1067,17 @@ const ku = /* @__PURE__ */ Dt(Ol, [["render", Dl]]), jl = {
1067
1067
  }, 8, ["onClick"])) : C("", !0),
1068
1068
  x(i) === v(H) ? (c(), f("span", {
1069
1069
  key: 2,
1070
- class: F(["text-gray-dark-25 transition-all duration-1000 text-sm", x(u) ? "opacity-100" : "opacity-0"])
1070
+ class: R(["text-gray-dark-25 transition-all duration-1000 text-sm", x(u) ? "opacity-100" : "opacity-0"])
1071
1071
  }, p(y.$t("copied")), 3)) : C("", !0),
1072
- !e.onlyValue && m(R) && h(H) ? (c(), f(P, { key: 3 }, [
1072
+ !e.onlyValue && m(F) && h(H) ? (c(), f(P, { key: 3 }, [
1073
1073
  w[1] || (w[1] = t("div", { class: "flex-auto" }, null, -1)),
1074
1074
  t("div", dn, [
1075
1075
  g(V, {
1076
- class: F(Et),
1076
+ class: R(Et),
1077
1077
  variant: "ghost",
1078
1078
  size: "sm",
1079
1079
  title: y.$t("add"),
1080
- onClick: ne((W) => $(H, m(R)), ["stop"])
1080
+ onClick: ne((W) => $(H, m(F)), ["stop"])
1081
1081
  }, {
1082
1082
  default: b(() => [
1083
1083
  g(I, {
@@ -1090,11 +1090,11 @@ const ku = /* @__PURE__ */ Dt(Ol, [["render", Dl]]), jl = {
1090
1090
  ])
1091
1091
  ], 64)) : C("", !0)
1092
1092
  ], 10, nn),
1093
- m(R) ? (c(), f("div", cn, [
1093
+ m(F) ? (c(), f("div", cn, [
1094
1094
  $t(g(jt, {
1095
1095
  class: "flex-auto",
1096
1096
  path: v(H),
1097
- items: R,
1097
+ items: F,
1098
1098
  onlyValue: e.onlyValue,
1099
1099
  canAdd: e.canAdd,
1100
1100
  onClick: w[0] || (w[0] = (W) => l("click", W))
@@ -1103,14 +1103,14 @@ const ku = /* @__PURE__ */ Dt(Ol, [["render", Dl]]), jl = {
1103
1103
  ])
1104
1104
  ])) : (c(), f(P, { key: 1 }, [
1105
1105
  w[2] || (w[2] = t("div", { class: "flex-auto gap-3" }, null, -1)),
1106
- t("div", un, p(R), 1),
1106
+ t("div", un, p(F), 1),
1107
1107
  h(H) ? (c(), L(V, {
1108
1108
  key: 0,
1109
- class: F(Et),
1109
+ class: R(Et),
1110
1110
  variant: "ghost",
1111
1111
  size: "sm",
1112
1112
  title: y.$t("add"),
1113
- onClick: ne((W) => $(H, m(R)), ["stop"])
1113
+ onClick: ne((W) => $(H, m(F)), ["stop"])
1114
1114
  }, {
1115
1115
  default: b(() => [
1116
1116
  g(I, {
@@ -1139,13 +1139,13 @@ const ku = /* @__PURE__ */ Dt(Ol, [["render", Dl]]), jl = {
1139
1139
  const l = e, o = n, { labelClass: a, borderClass: i, contentClass: r, slotClass: u } = rl(l, "wrapper");
1140
1140
  return (s, d) => (c(), f("div", mn, [
1141
1141
  t("div", {
1142
- class: F(["glass-inset relative flex w-full items-center rounded-md transition focus-within:border-cyan-main/60", [x(u), x(i)]])
1142
+ class: R(["glass-inset relative flex w-full items-center rounded-md transition focus-within:border-cyan-main/60", [x(u), x(i)]])
1143
1143
  }, [
1144
1144
  t("span", {
1145
- class: F(["absolute -translate-y-1/2 rounded transition-all", x(a)])
1145
+ class: R(["absolute -translate-y-1/2 rounded transition-all", x(a)])
1146
1146
  }, p(l.label), 3),
1147
1147
  t("div", {
1148
- class: F(x(r))
1148
+ class: R(x(r))
1149
1149
  }, [
1150
1150
  O(s.$slots, "default")
1151
1151
  ], 2),
@@ -1155,7 +1155,7 @@ const ku = /* @__PURE__ */ Dt(Ol, [["render", Dl]]), jl = {
1155
1155
  disabled: l.disabled || l.iconDisabled,
1156
1156
  "aria-label": l.iconLabel || void 0,
1157
1157
  title: l.iconLabel || void 0,
1158
- class: F(["flex h-full flex-[0_0_50px] items-center justify-center rounded-r-md border-l border-gray-light-10 text-gray-main transition hover:text-cyan-main disabled:pointer-events-none disabled:opacity-40 dark:border-white/10", { "cursor-pointer": !l.disabled && !l.iconDisabled }]),
1158
+ class: R(["flex h-full flex-[0_0_50px] items-center justify-center rounded-r-md border-l border-gray-light-10 text-gray-main transition hover:text-cyan-main disabled:pointer-events-none disabled:opacity-40 dark:border-white/10", { "cursor-pointer": !l.disabled && !l.iconDisabled }]),
1159
1159
  onClick: d[0] || (d[0] = (m) => o("icon", m))
1160
1160
  }, [
1161
1161
  O(s.$slots, "icon", {}, () => [
@@ -1298,7 +1298,7 @@ v + ' кВт·ч<br>выработка за день'`),
1298
1298
  return (o, a) => (c(), f("div", gn, [
1299
1299
  t("div", pn, [
1300
1300
  t("div", {
1301
- class: F(["grid min-w-0 flex-1 gap-2", { "sm:grid-cols-2": e.hasFormat }])
1301
+ class: R(["grid min-w-0 flex-1 gap-2", { "sm:grid-cols-2": e.hasFormat }])
1302
1302
  }, [
1303
1303
  e.field.plain ? (c(), L(oe, {
1304
1304
  key: 0,
@@ -1574,7 +1574,7 @@ v + ' кВт·ч<br>выработка за день'`),
1574
1574
  scale: (n, l = 1, o = 0) => gt(n) * l + o,
1575
1575
  round: (n, l = 0) => Number(gt(n).toFixed(l)),
1576
1576
  clamp: (n, l, o) => Math.min(o, Math.max(l, gt(n)))
1577
- }), Au = (e, n, l) => {
1577
+ }), Tu = (e, n, l) => {
1578
1578
  const o = { ...Kt(n), ...l };
1579
1579
  return e.slice(0, ut).map((a) => bt(yt(a, o, n)));
1580
1580
  }, In = (e, n, l, o) => {
@@ -1714,15 +1714,15 @@ v + ' кВт·ч<br>выработка за день'`),
1714
1714
  emits: ["close", "update"],
1715
1715
  setup(e, { emit: n }) {
1716
1716
  const l = n, o = T(() => ({ ...Ht, ...e.style })), a = (y, w) => {
1717
- var R;
1718
- return ((R = y.find((H) => H.value === w)) == null ? void 0 : R.name) ?? "";
1717
+ var F;
1718
+ return ((F = y.find((H) => H.value === w)) == null ? void 0 : F.name) ?? "";
1719
1719
  }, i = T(() => a(ia, o.value.size)), r = T(() => a(ra, o.value.color)), u = T(() => a(da, o.value.weight)), s = T(() => a(ca, o.value.align)), d = (y) => {
1720
1720
  l("update", { ...o.value, ...y });
1721
1721
  }, m = (y) => d({ size: y.value }), v = (y) => d({ color: y.value }), h = (y) => d({ weight: y.value }), $ = (y) => d({ align: y.value });
1722
1722
  return (y, w) => (c(), L(He, {
1723
1723
  title: "Стиль показателя",
1724
1724
  size: "md",
1725
- onClose: w[1] || (w[1] = (R) => l("close"))
1725
+ onClose: w[1] || (w[1] = (F) => l("close"))
1726
1726
  }, {
1727
1727
  default: b(() => [
1728
1728
  t("div", Pn, [
@@ -1733,7 +1733,7 @@ v + ' кВт·ч<br>выработка за день'`),
1733
1733
  t("div", Un, [
1734
1734
  w[3] || (w[3] = t("span", { class: "block text-xs text-gray-dark-25 dark:text-gray-main" }, "Предпросмотр", -1)),
1735
1735
  t("span", {
1736
- class: F(["mt-1 block whitespace-pre", x(It)(o.value)])
1736
+ class: R(["mt-1 block whitespace-pre", x(It)(o.value)])
1737
1737
  }, p(e.preview || "1 234 кВт·ч"), 3)
1738
1738
  ]),
1739
1739
  t("div", Hn, [
@@ -1765,7 +1765,7 @@ v + ' кВт·ч<br>выработка за день'`),
1765
1765
  t("div", Kn, [
1766
1766
  g(V, {
1767
1767
  color: "blue",
1768
- onClick: w[0] || (w[0] = (R) => l("close"))
1768
+ onClick: w[0] || (w[0] = (F) => l("close"))
1769
1769
  }, {
1770
1770
  default: b(() => [...w[4] || (w[4] = [
1771
1771
  E("Готово", -1)
@@ -1843,7 +1843,7 @@ v + ' кВт·ч<br>выработка за день'`),
1843
1843
  _.metrics[M] || (_.metrics[M] = JSON.parse(JSON.stringify(Y)));
1844
1844
  return _;
1845
1845
  }, r = j(i(e.config)), u = j("general"), s = j(!1), d = j(!1), m = j(null), v = j(null), h = j(null), $ = j(null), y = j(null), w = j(null);
1846
- let R = JSON.stringify(r.value), H = null;
1846
+ let F = JSON.stringify(r.value), H = null;
1847
1847
  const W = T(() => qt(e.definition, r.value, e.context)), K = T(() => W.value.metrics ?? {}), ee = T(
1848
1848
  () => o.map((k) => ({
1849
1849
  ...k,
@@ -1897,7 +1897,7 @@ v + ' кВт·ч<br>выработка за день'`),
1897
1897
  }, G = (k) => `v + ' ${k.unit ?? "ед."}'`, ue = () => {
1898
1898
  H && (clearTimeout(H), H = null);
1899
1899
  const k = i(r.value), _ = JSON.stringify(k);
1900
- _ !== R && (R = _, l("update:config", k));
1900
+ _ !== F && (F = _, l("update:config", k));
1901
1901
  };
1902
1902
  Se(r, () => {
1903
1903
  H && clearTimeout(H), H = setTimeout(ue, 500);
@@ -2056,7 +2056,7 @@ v + ' кВт·ч<br>выработка за день'`),
2056
2056
  (c(!0), f(P, null, X(ee.value, (M) => (c(), f("button", {
2057
2057
  key: M.key,
2058
2058
  type: "button",
2059
- class: F(["flex items-center gap-2 rounded-md px-3 py-2 text-left transition", u.value === M.key ? "bg-cyan-main/10 text-cyan-main" : "hover:bg-white/5"]),
2059
+ class: R(["flex items-center gap-2 rounded-md px-3 py-2 text-left transition", u.value === M.key ? "bg-cyan-main/10 text-cyan-main" : "hover:bg-white/5"]),
2060
2060
  onClick: (Y) => u.value = M.key
2061
2061
  }, [
2062
2062
  t("span", Yn, [
@@ -2153,7 +2153,7 @@ v + ' кВт·ч<br>выработка за день'`),
2153
2153
  ce.value.length ? (c(), f("div", co, [
2154
2154
  (c(!0), f(P, null, X(ce.value, (M, Y) => (c(), f("div", {
2155
2155
  key: M.id,
2156
- class: F(["rounded-xl transition", { "ring-1 ring-cyan-main/50": w.value === Y }]),
2156
+ class: R(["rounded-xl transition", { "ring-1 ring-cyan-main/50": w.value === Y }]),
2157
2157
  onDragover: ne((re) => Ze(Y), ["prevent"]),
2158
2158
  onDrop: ne((re) => ot(Y), ["prevent"])
2159
2159
  }, [
@@ -2251,7 +2251,7 @@ v + ' кВт·ч<br>выработка за день'`),
2251
2251
  }, xo = {
2252
2252
  key: 0,
2253
2253
  class: "py-8 text-center text-sm text-gray-dark-25 dark:text-gray-main"
2254
- }, Bu = /* @__PURE__ */ D({
2254
+ }, Eu = /* @__PURE__ */ D({
2255
2255
  __name: "BlockPicker",
2256
2256
  props: {
2257
2257
  definitions: {}
@@ -2287,7 +2287,7 @@ v + ' кВт·ч<br>выработка за день'`),
2287
2287
  _: 1
2288
2288
  }));
2289
2289
  }
2290
- }), Lu = /* @__PURE__ */ D({
2290
+ }), Au = /* @__PURE__ */ D({
2291
2291
  __name: "BlockView",
2292
2292
  props: {
2293
2293
  definition: {},
@@ -2340,7 +2340,7 @@ v + ' кВт·ч<br>выработка за день'`),
2340
2340
  }), wo = { class: "flex flex-col gap-3" }, $o = {
2341
2341
  key: 0,
2342
2342
  class: "text-sm text-red-500"
2343
- }, Co = { class: "flex justify-end gap-2" }, Iu = /* @__PURE__ */ D({
2343
+ }, Co = { class: "flex justify-end gap-2" }, Bu = /* @__PURE__ */ D({
2344
2344
  __name: "BlockImport",
2345
2345
  emits: ["close", "import"],
2346
2346
  setup(e, { emit: n }) {
@@ -2461,7 +2461,7 @@ v + ' кВт·ч<br>выработка за день'`),
2461
2461
  e.hover ? "hover:border-cyan-main/25 hover:shadow-cyan-glow" : ""
2462
2462
  ]);
2463
2463
  return (i, r) => (c(), L(Xe(e.as), {
2464
- class: F(a.value),
2464
+ class: R(a.value),
2465
2465
  "aria-disabled": e.disabled || void 0
2466
2466
  }, {
2467
2467
  default: b(() => [
@@ -2526,10 +2526,10 @@ v + ' кВт·ч<br>выработка за день'`),
2526
2526
  }, s = (Q, Z) => {
2527
2527
  const N = typeof Q == "number" ? Q : Number.parseFloat(String(Q));
2528
2528
  return Number.isFinite(N) ? N : Z;
2529
- }, d = T(() => s(u("solar", "solar-power", 0), e.solarPower)), m = T(() => s(u("grid", "grid-power", 0), e.gridPower)), v = T(() => s(u("battery", "battery-power", 0), e.batteryPower)), h = T(() => s(u("battery", "battery-soc", 1), e.batterySoc)), $ = T(() => s(u("house", "house-load", 0), e.loadPower)), y = T(() => d.value > 0 && e.solarFlow !== "idle"), w = T(() => e.solarFlow === "reverse"), R = T(() => m.value !== 0 || ["import", "export"].includes(e.gridFlow)), H = T(() => v.value !== 0 || ["charge", "discharge"].includes(e.batteryFlow)), W = T(() => e.gridFlow === "export" ? !0 : e.gridFlow === "import" ? !1 : m.value < 0), K = T(() => e.batteryFlow === "charge" ? !0 : e.batteryFlow === "discharge" ? !1 : v.value > 0), ee = T(() => $.value > 0 && e.houseFlow !== "idle"), S = T(() => e.houseFlow !== "reverse"), B = T(() => i($.value)), q = T(() => r("inverter")), ae = hl(), ze = T(() => ae.value === "reduce"), de = T(() => [
2529
+ }, d = T(() => s(u("solar", "solar-power", 0), e.solarPower)), m = T(() => s(u("grid", "grid-power", 0), e.gridPower)), v = T(() => s(u("battery", "battery-power", 0), e.batteryPower)), h = T(() => s(u("battery", "battery-soc", 1), e.batterySoc)), $ = T(() => s(u("house", "house-load", 0), e.loadPower)), y = T(() => d.value > 0 && e.solarFlow !== "idle"), w = T(() => e.solarFlow === "reverse"), F = T(() => m.value !== 0 || ["import", "export"].includes(e.gridFlow)), H = T(() => v.value !== 0 || ["charge", "discharge"].includes(e.batteryFlow)), W = T(() => e.gridFlow === "export" ? !0 : e.gridFlow === "import" ? !1 : m.value < 0), K = T(() => e.batteryFlow === "charge" ? !0 : e.batteryFlow === "discharge" ? !1 : v.value > 0), ee = T(() => $.value > 0 && e.houseFlow !== "idle"), S = T(() => e.houseFlow !== "reverse"), B = T(() => i($.value)), q = T(() => r("inverter")), ae = hl(), ze = T(() => ae.value === "reduce"), de = T(() => [
2530
2530
  { id: "solar", active: y.value, reverse: w.value, speed: o(d.value) },
2531
2531
  { id: "battery", active: H.value, reverse: K.value, speed: o(v.value) },
2532
- { id: "grid", active: R.value, reverse: W.value, speed: o(m.value) },
2532
+ { id: "grid", active: F.value, reverse: W.value, speed: o(m.value) },
2533
2533
  { id: "home", active: ee.value, reverse: S.value, speed: o($.value) }
2534
2534
  ]), Re = T(() => de.value.filter((Q) => Q.active)), Ye = T(() => [
2535
2535
  {
@@ -2622,10 +2622,10 @@ v + ' кВт·ч<br>выработка за день'`),
2622
2622
  header: b(() => [
2623
2623
  t("div", Lo, [
2624
2624
  t("span", {
2625
- class: F(["inline-flex items-center gap-2 rounded-full border px-2.5 py-1 text-xs font-medium", e.online ? "border-emerald-500/25 bg-emerald-500/10 text-emerald-600 dark:text-emerald-400" : "border-gray-light-10/60 bg-gray-dark-25/10 text-gray-dark-25 dark:border-white/10 dark:text-gray-main"])
2625
+ class: R(["inline-flex items-center gap-2 rounded-full border px-2.5 py-1 text-xs font-medium", e.online ? "border-emerald-500/25 bg-emerald-500/10 text-emerald-600 dark:text-emerald-400" : "border-gray-light-10/60 bg-gray-dark-25/10 text-gray-dark-25 dark:border-white/10 dark:text-gray-main"])
2626
2626
  }, [
2627
2627
  t("span", {
2628
- class: F(["size-1.5 rounded-full", e.online ? "animate-pulse bg-emerald-500" : "bg-gray-main"])
2628
+ class: R(["size-1.5 rounded-full", e.online ? "animate-pulse bg-emerald-500" : "bg-gray-main"])
2629
2629
  }, null, 2),
2630
2630
  E(" " + p(e.online ? "Онлайн" : "Не в сети"), 1)
2631
2631
  ], 2),
@@ -2695,7 +2695,7 @@ v + ' кВт·ч<br>выработка за день'`),
2695
2695
  fill: "none"
2696
2696
  }, null, 8, Ro),
2697
2697
  t("path", {
2698
- class: F(["animate-energy-flow stroke-gray-light-30 stroke-2 [stroke-linecap:round] [stroke-dasharray:16_22] opacity-75 drop-shadow-cyan-glow-xs motion-reduce:animate-none motion-reduce:[stroke-dasharray:none]", { "[animation-direction:reverse]": N.reverse }]),
2698
+ class: R(["animate-energy-flow stroke-gray-light-30 stroke-2 [stroke-linecap:round] [stroke-dasharray:16_22] opacity-75 drop-shadow-cyan-glow-xs motion-reduce:animate-none motion-reduce:[stroke-dasharray:none]", { "[animation-direction:reverse]": N.reverse }]),
2699
2699
  d: le.value.paths[N.id],
2700
2700
  style: Ge({ animationDuration: `${N.speed}s` }),
2701
2701
  fill: "none"
@@ -2734,19 +2734,19 @@ v + ' кВт·ч<br>выработка за день'`),
2734
2734
  key: N.key,
2735
2735
  ref_for: !0,
2736
2736
  ref: (G) => nt(N.key, G),
2737
- class: F(N.wrapper)
2737
+ class: R(N.wrapper)
2738
2738
  }, [
2739
2739
  t("div", {
2740
- class: F(["relative flex w-full max-w-none flex-col gap-3 rounded-2xl border p-4 shadow-cyan-glow-soft lg:max-w-56", N.card])
2740
+ class: R(["relative flex w-full max-w-none flex-col gap-3 rounded-2xl border p-4 shadow-cyan-glow-soft lg:max-w-56", N.card])
2741
2741
  }, [
2742
2742
  t("div", jo, [
2743
2743
  t("span", {
2744
- class: F(["grid size-8 shrink-0 place-items-center rounded-lg", N.surface])
2744
+ class: R(["grid size-8 shrink-0 place-items-center rounded-lg", N.surface])
2745
2745
  }, [
2746
2746
  g(I, {
2747
2747
  name: N.icon,
2748
2748
  size: 16,
2749
- class: F(N.tone)
2749
+ class: R(N.tone)
2750
2750
  }, null, 8, ["name", "class"])
2751
2751
  ], 2),
2752
2752
  t("span", Uo, p(N.label), 1)
@@ -2758,7 +2758,7 @@ v + ' кВт·ч<br>выработка за день'`),
2758
2758
  }, [
2759
2759
  t("span", Ko, p(G.label), 1),
2760
2760
  t("span", {
2761
- class: F(["mt-0.5 block whitespace-pre", x(It)(G.style)])
2761
+ class: R(["mt-0.5 block whitespace-pre", x(It)(G.style)])
2762
2762
  }, p(G.value), 3)
2763
2763
  ]))), 128))
2764
2764
  ])) : C("", !0)
@@ -2792,7 +2792,7 @@ v + ' кВт·ч<br>выработка за день'`),
2792
2792
  }, [
2793
2793
  t("dt", ti, p(N.label), 1),
2794
2794
  t("dd", {
2795
- class: F(["mt-0.5 whitespace-pre", x(It)(N.style)])
2795
+ class: R(["mt-0.5 whitespace-pre", x(It)(N.style)])
2796
2796
  }, p(N.value), 3)
2797
2797
  ]))), 128))
2798
2798
  ]),
@@ -2868,7 +2868,7 @@ v + ' кВт·ч<br>выработка за день'`),
2868
2868
  { key: "inverterTitle", plain: !0, block: "inverter", label: "Заголовок", type: "string", default: "Инвертор" },
2869
2869
  { key: "loadLabel", plain: !0, block: "inverter", label: "Подпись нагрузки", type: "string", default: "нагрузка" }
2870
2870
  ]
2871
- }, Vu = /* @__PURE__ */ D({
2871
+ }, Lu = /* @__PURE__ */ D({
2872
2872
  inheritAttrs: !1,
2873
2873
  __name: "EnergyFlowBlock",
2874
2874
  props: {
@@ -3039,7 +3039,7 @@ v + ' кВт·ч<br>выработка за день'`),
3039
3039
  }
3040
3040
  return o;
3041
3041
  }, write: n };
3042
- }, Mu = Li(), Ru = (e, n, l = {}) => {
3042
+ }, Iu = Li(), Vu = (e, n, l = {}) => {
3043
3043
  const o = l.provider ?? mi, a = l.id ?? e.defaultId ?? e.type, i = j({
3044
3044
  id: a,
3045
3045
  type: e.type,
@@ -3110,7 +3110,7 @@ v + ' кВт·ч<br>выработка за день'`),
3110
3110
  }, [
3111
3111
  t("div", Ii, [
3112
3112
  t("div", {
3113
- class: F([i.value, "size-8 animate-shake"])
3113
+ class: R([i.value, "size-8 animate-shake"])
3114
3114
  }, [
3115
3115
  O(v.$slots, "icon", ve(fe(l)))
3116
3116
  ], 2),
@@ -3195,7 +3195,7 @@ v + ' кВт·ч<br>выработка за день'`),
3195
3195
  }, 8, ["size", "title"])) : C("", !0)
3196
3196
  ]));
3197
3197
  }
3198
- }), Di = { class: "flex justify-end" }, ji = { class: "flex justify-center py-4" }, Fu = /* @__PURE__ */ D({
3198
+ }), Di = { class: "flex justify-end" }, ji = { class: "flex justify-center py-4" }, Mu = /* @__PURE__ */ D({
3199
3199
  __name: "CardButton",
3200
3200
  props: {
3201
3201
  size: {},
@@ -3264,7 +3264,7 @@ v + ' кВт·ч<br>выработка за день'`),
3264
3264
  _: 3
3265
3265
  }, 16));
3266
3266
  }
3267
- }), Ui = { class: "flex justify-center relative mx-2 my-6" }, Ou = /* @__PURE__ */ D({
3267
+ }), Ui = { class: "flex justify-center relative mx-2 my-6" }, Ru = /* @__PURE__ */ D({
3268
3268
  __name: "CardDate",
3269
3269
  props: {
3270
3270
  size: {},
@@ -3342,14 +3342,14 @@ v + ' кВт·ч<br>выработка за день'`),
3342
3342
  }, 16));
3343
3343
  }
3344
3344
  }), Hi = { class: "flex justify-end" }, Ki = {
3345
- class: /* @__PURE__ */ F("text-blue-600 dark:text-blue-400")
3345
+ class: /* @__PURE__ */ R("text-blue-600 dark:text-blue-400")
3346
3346
  }, qi = {
3347
3347
  width: "30",
3348
3348
  height: "30",
3349
3349
  viewBox: "-7.5 -7.5 75 75",
3350
3350
  version: "1.1",
3351
3351
  style: { transform: "rotate(-90deg)" }
3352
- }, Wi = ["stroke-dashoffset"], Xi = { class: "absolute top-1/2 left-1/2 -translate-1/2 text-white z-10 font-bold text-xl" }, Nu = /* @__PURE__ */ D({
3352
+ }, Wi = ["stroke-dashoffset"], Xi = { class: "absolute top-1/2 left-1/2 -translate-1/2 text-white z-10 font-bold text-xl" }, Fu = /* @__PURE__ */ D({
3353
3353
  __name: "CardDimmer",
3354
3354
  props: {
3355
3355
  size: {},
@@ -3420,7 +3420,7 @@ v + ' кВт·ч<br>выработка за день'`),
3420
3420
  ]),
3421
3421
  dialog: b((h) => [
3422
3422
  t("div", {
3423
- class: F(["flex justify-center relative mx-2 my-6", u(h).disabled ? "opacity-40" : ""])
3423
+ class: R(["flex justify-center relative mx-2 my-6", u(h).disabled ? "opacity-40" : ""])
3424
3424
  }, [
3425
3425
  v[4] || (v[4] = t("div", { class: "absolute h-10 w-full top-0 left-0 bg-gray-main dark:bg-gray-dark-30 z-0 rounded-md" }, null, -1)),
3426
3426
  t("div", {
@@ -3437,7 +3437,7 @@ v + ' кВт·ч<br>выработка за день'`),
3437
3437
  _: 3
3438
3438
  }, 16));
3439
3439
  }
3440
- }), Pu = /* @__PURE__ */ D({
3440
+ }), Ou = /* @__PURE__ */ D({
3441
3441
  __name: "CardInfo",
3442
3442
  props: {
3443
3443
  size: {},
@@ -3472,7 +3472,7 @@ v + ' кВт·ч<br>выработка за день'`),
3472
3472
  _: 3
3473
3473
  }, 16));
3474
3474
  }
3475
- }), Gi = { class: "flex justify-center relative mx-2 my-6" }, Du = /* @__PURE__ */ D({
3475
+ }), Gi = { class: "flex justify-center relative mx-2 my-6" }, Nu = /* @__PURE__ */ D({
3476
3476
  __name: "CardInput",
3477
3477
  props: {
3478
3478
  size: {},
@@ -3531,7 +3531,7 @@ v + ' кВт·ч<br>выработка за день'`),
3531
3531
  _: 3
3532
3532
  }, 16));
3533
3533
  }
3534
- }), Ji = { class: "flex justify-center py-4" }, ju = /* @__PURE__ */ D({
3534
+ }), Ji = { class: "flex justify-center py-4" }, Pu = /* @__PURE__ */ D({
3535
3535
  __name: "CardList",
3536
3536
  props: {
3537
3537
  size: {},
@@ -3615,7 +3615,7 @@ v + ' кВт·ч<br>выработка за день'`),
3615
3615
  _: 3
3616
3616
  }, 16));
3617
3617
  }
3618
- }), Yi = { class: "flex justify-end" }, Zi = { class: "font-mono" }, Qi = { class: "px-2 pb-2" }, er = { class: "grid grid-cols-4 gap-2" }, tr = ["title", "aria-label", "onClick"], ar = { class: "mt-3 flex items-center justify-center gap-2" }, lr = ["value"], Uu = /* @__PURE__ */ D({
3618
+ }), Yi = { class: "flex justify-end" }, Zi = { class: "font-mono" }, Qi = { class: "px-2 pb-2" }, er = { class: "grid grid-cols-4 gap-2" }, tr = ["title", "aria-label", "onClick"], ar = { class: "mt-3 flex items-center justify-center gap-2" }, lr = ["value"], Du = /* @__PURE__ */ D({
3619
3619
  __name: "CardPalette",
3620
3620
  props: {
3621
3621
  size: {},
@@ -3681,11 +3681,11 @@ v + ' кВт·ч<br>выработка за день'`),
3681
3681
  (c(), f(P, null, X(a, (w) => t("button", {
3682
3682
  key: w,
3683
3683
  type: "button",
3684
- class: F(["aspect-square rounded-lg border border-white/20 transition-transform hover:scale-105", s(w) ? "ring-2 ring-white ring-offset-2 ring-offset-gray-dark-40" : ""]),
3684
+ class: R(["aspect-square rounded-lg border border-white/20 transition-transform hover:scale-105", s(w) ? "ring-2 ring-white ring-offset-2 ring-offset-gray-dark-40" : ""]),
3685
3685
  style: Ge({ background: w }),
3686
3686
  title: w,
3687
3687
  "aria-label": w,
3688
- onClick: (R) => d(w)
3688
+ onClick: (F) => d(w)
3689
3689
  }, null, 14, tr)), 64))
3690
3690
  ]),
3691
3691
  t("div", ar, [
@@ -3703,7 +3703,7 @@ v + ' кВт·ч<br>выработка за день'`),
3703
3703
  _: 3
3704
3704
  }, 16));
3705
3705
  }
3706
- }), sr = { class: "glass-inset rounded-md p-1" }, nr = { class: "flex gap-1" }, or = ["onClick"], ir = { class: "relative my-4" }, rr = { key: 0 }, dr = /* @__PURE__ */ D({
3706
+ }), sr = ["onClick"], nr = { class: "relative my-4" }, or = { key: 0 }, ir = /* @__PURE__ */ D({
3707
3707
  __name: "VTabs",
3708
3708
  props: {
3709
3709
  value: {},
@@ -3721,34 +3721,38 @@ v + ' кВт·ч<br>выработка за день'`),
3721
3721
  setActiveTab: r,
3722
3722
  activeTab: a
3723
3723
  }), (u, s) => (c(), f("div", null, [
3724
- t("div", sr, [
3725
- t("div", nr, [
3724
+ t("div", {
3725
+ class: R(["glass-inset rounded-md p-1", e.size === "sm" ? "h-8" : ""])
3726
+ }, [
3727
+ t("div", {
3728
+ class: R(["flex gap-1", e.size === "sm" ? "h-full" : ""])
3729
+ }, [
3726
3730
  (c(!0), f(P, null, X(e.items, (d, m) => (c(), f("div", {
3727
3731
  key: m,
3728
- class: "relative flex-auto"
3732
+ class: R(["relative flex-auto", e.size === "sm" ? "h-full" : ""])
3729
3733
  }, [
3730
3734
  t("button", {
3731
3735
  type: "button",
3732
- class: "w-full",
3736
+ class: R(["w-full", e.size === "sm" ? "h-full" : ""]),
3733
3737
  onClick: (v) => r(m)
3734
3738
  }, [
3735
3739
  t("div", {
3736
- class: F([[i(m), e.size === "sm" ? "px-2 py-1 text-xs" : "px-3 py-2 text-sm"], "rounded-md font-medium transition"])
3740
+ class: R([[i(m), e.size === "sm" ? "flex h-full items-center justify-center px-2 text-xs" : "px-3 py-2 text-sm"], "rounded-md font-medium transition"])
3737
3741
  }, [
3738
3742
  O(u.$slots, "header", {
3739
3743
  tab: d,
3740
3744
  i: m
3741
3745
  }, () => [
3742
3746
  t("div", {
3743
- class: F(e.size === "sm" ? "px-2 py-0.5" : "px-3 py-1")
3747
+ class: R(e.size === "sm" ? "px-2" : "px-3 py-1")
3744
3748
  }, p(d.title), 3)
3745
3749
  ])
3746
3750
  ], 2)
3747
- ], 8, or)
3748
- ]))), 128))
3749
- ])
3750
- ]),
3751
- t("div", ir, [
3751
+ ], 10, sr)
3752
+ ], 2))), 128))
3753
+ ], 2)
3754
+ ], 2),
3755
+ t("div", nr, [
3752
3756
  (c(!0), f(P, null, X(e.items, (d, m) => (c(), f("div", {
3753
3757
  key: m,
3754
3758
  class: "tab-panel"
@@ -3762,7 +3766,7 @@ v + ' кВт·ч<br>выработка за день'`),
3762
3766
  "leave-to-class": "transform opacity-0 -translate-x-2"
3763
3767
  }, {
3764
3768
  default: b(() => [
3765
- a.value === m ? (c(), f("div", rr, [
3769
+ a.value === m ? (c(), f("div", or, [
3766
3770
  O(u.$slots, `tab-${m}`)
3767
3771
  ])) : C("", !0)
3768
3772
  ]),
@@ -3772,7 +3776,7 @@ v + ' кВт·ч<br>выработка за день'`),
3772
3776
  ])
3773
3777
  ]));
3774
3778
  }
3775
- }), cr = ["checked", "disabled"], ur = { class: "text-sm ms-2 peer-disabled:opacity-40" }, rt = /* @__PURE__ */ D({
3779
+ }), rr = ["checked", "disabled"], dr = { class: "text-sm ms-2 peer-disabled:opacity-40" }, rt = /* @__PURE__ */ D({
3776
3780
  __name: "VCheckbox",
3777
3781
  props: {
3778
3782
  modelValue: { type: [Number, Boolean], default: !1 },
@@ -3785,7 +3789,7 @@ v + ' кВт·ч<br>выработка за день'`),
3785
3789
  l("update:modelValue", r.checked);
3786
3790
  }, a = (i) => l("click", i);
3787
3791
  return (i, r) => (c(), f("label", {
3788
- class: F(["inline-flex items-center relative", { "cursor-pointer": !e.disabled }]),
3792
+ class: R(["inline-flex items-center relative", { "cursor-pointer": !e.disabled }]),
3789
3793
  onClick: a
3790
3794
  }, [
3791
3795
  t("input", {
@@ -3794,7 +3798,7 @@ v + ' кВт·ч<br>выработка за день'`),
3794
3798
  disabled: e.disabled,
3795
3799
  class: "peer size-5 appearance-none rounded-md border border-gray-light-10/80 bg-transparent transition-all checked:border-blue-main disabled:opacity-40 not-disabled:cursor-pointer dark:border-white/15",
3796
3800
  onChange: o
3797
- }, null, 40, cr),
3801
+ }, null, 40, rr),
3798
3802
  r[0] || (r[0] = t("button", { class: "pointer-events-none absolute left-2.5 top-1/2 -translate-x-1/2 -translate-y-1/2 text-blue-main opacity-0 peer-checked:opacity-100 peer-disabled:opacity-40 dark:text-white" }, [
3799
3803
  t("svg", {
3800
3804
  class: "h-3.5 w-3.5",
@@ -3810,15 +3814,15 @@ v + ' кВт·ч<br>выработка за день'`),
3810
3814
  })
3811
3815
  ])
3812
3816
  ], -1)),
3813
- t("span", ur, [
3817
+ t("span", dr, [
3814
3818
  O(i.$slots, "default")
3815
3819
  ])
3816
3820
  ], 2));
3817
3821
  }
3818
- }), mr = { class: "flex flex-col" }, vr = { class: "flex gap-4 mb-6" }, fr = {
3822
+ }), cr = { class: "flex flex-col" }, ur = { class: "flex gap-4 mb-6" }, mr = {
3819
3823
  key: 0,
3820
3824
  class: "flex gap-4"
3821
- }, gr = { key: 1 }, pr = { class: "flex flex-col md:flex-row gap-4" }, hr = { class: "flex gap-4" }, yr = { class: "flex justify-between flex-auto" }, br = ["onClick"], xr = /* @__PURE__ */ D({
3825
+ }, vr = { key: 1 }, fr = { class: "flex flex-col md:flex-row gap-4" }, gr = { class: "flex gap-4" }, pr = { class: "flex justify-between flex-auto" }, hr = ["onClick"], yr = /* @__PURE__ */ D({
3822
3826
  __name: "ItemOptions",
3823
3827
  props: {
3824
3828
  min: { default: 0 },
@@ -3834,7 +3838,7 @@ v + ' кВт·ч<br>выработка за день'`),
3834
3838
  const l = n, o = T(() => e.items.map((y, w) => ({ ...y, id: ++w }))), a = j({ name: "", value: "" }), i = T(() => e.items.length + 1), r = T(() => {
3835
3839
  var y;
3836
3840
  return !((y = a.value) != null && y.id);
3837
- }), u = (y) => e.type === y, s = (y, w) => l("update", y, w), d = (y) => y.map(({ name: w, value: R }) => ({ name: w, value: R })), m = ({ id: y, name: w, value: R }) => a.value = { id: y, name: w, value: R }, v = () => {
3841
+ }), u = (y) => e.type === y, s = (y, w) => l("update", y, w), d = (y) => y.map(({ name: w, value: F }) => ({ name: w, value: F })), m = ({ id: y, name: w, value: F }) => a.value = { id: y, name: w, value: F }, v = () => {
3838
3842
  const y = i.value;
3839
3843
  a.value = { name: `New_${y}`, value: `${y}`, id: y }, s("items", d([...o.value, a.value]));
3840
3844
  }, h = (y) => {
@@ -3842,14 +3846,14 @@ v + ' кВт·ч<br>выработка за день'`),
3842
3846
  }, $ = _t(() => {
3843
3847
  const y = a.value;
3844
3848
  if (!y.name || !y.value) return;
3845
- const w = o.value.map((R) => R.id === y.id ? y : R);
3849
+ const w = o.value.map((F) => F.id === y.id ? y : F);
3846
3850
  s("items", d(w));
3847
3851
  }, 300);
3848
- return (y, w) => (c(), f("div", mr, [
3849
- t("div", vr, [
3852
+ return (y, w) => (c(), f("div", cr, [
3853
+ t("div", ur, [
3850
3854
  g(rt, {
3851
3855
  modelValue: e.disabled,
3852
- "onUpdate:modelValue": w[0] || (w[0] = (R) => s("disabled", R ? 1 : 0))
3856
+ "onUpdate:modelValue": w[0] || (w[0] = (F) => s("disabled", F ? 1 : 0))
3853
3857
  }, {
3854
3858
  default: b(() => [...w[6] || (w[6] = [
3855
3859
  E("Disabled", -1)
@@ -3857,29 +3861,29 @@ v + ' кВт·ч<br>выработка за день'`),
3857
3861
  _: 1
3858
3862
  }, 8, ["modelValue"])
3859
3863
  ]),
3860
- u("dimmer") ? (c(), f("div", fr, [
3864
+ u("dimmer") ? (c(), f("div", mr, [
3861
3865
  g(oe, {
3862
3866
  modelValue: e.min,
3863
3867
  label: "Min",
3864
- "onUpdate:modelValue": w[1] || (w[1] = (R) => s("min", +R))
3868
+ "onUpdate:modelValue": w[1] || (w[1] = (F) => s("min", +F))
3865
3869
  }, null, 8, ["modelValue"]),
3866
3870
  g(oe, {
3867
3871
  modelValue: e.max,
3868
3872
  label: "Max",
3869
- "onUpdate:modelValue": w[2] || (w[2] = (R) => s("max", +R))
3873
+ "onUpdate:modelValue": w[2] || (w[2] = (F) => s("max", +F))
3870
3874
  }, null, 8, ["modelValue"]),
3871
3875
  g(oe, {
3872
3876
  modelValue: e.step,
3873
3877
  label: "Step",
3874
- "onUpdate:modelValue": w[3] || (w[3] = (R) => s("step", +R))
3878
+ "onUpdate:modelValue": w[3] || (w[3] = (F) => s("step", +F))
3875
3879
  }, null, 8, ["modelValue"])
3876
3880
  ])) : C("", !0),
3877
- u("list") ? (c(), f("div", gr, [
3878
- t("div", pr, [
3881
+ u("list") ? (c(), f("div", vr, [
3882
+ t("div", fr, [
3879
3883
  g(oe, {
3880
3884
  modelValue: a.value.name,
3881
3885
  "onUpdate:modelValue": [
3882
- w[4] || (w[4] = (R) => a.value.name = R),
3886
+ w[4] || (w[4] = (F) => a.value.name = F),
3883
3887
  x($)
3884
3888
  ],
3885
3889
  disabled: r.value,
@@ -3888,14 +3892,14 @@ v + ' кВт·ч<br>выработка за день'`),
3888
3892
  g(oe, {
3889
3893
  modelValue: a.value.value,
3890
3894
  "onUpdate:modelValue": [
3891
- w[5] || (w[5] = (R) => a.value.value = R),
3895
+ w[5] || (w[5] = (F) => a.value.value = F),
3892
3896
  x($)
3893
3897
  ],
3894
3898
  disabled: r.value,
3895
3899
  label: "Value"
3896
3900
  }, null, 8, ["modelValue", "disabled", "onUpdate:modelValue"])
3897
3901
  ]),
3898
- t("div", hr, [
3902
+ t("div", gr, [
3899
3903
  g(xe, {
3900
3904
  "model-value": a.value.value,
3901
3905
  label: "List",
@@ -3904,18 +3908,18 @@ v + ' кВт·ч<br>выработка за день'`),
3904
3908
  bottom: "0",
3905
3909
  onChange: m
3906
3910
  }, {
3907
- item: b(({ item: R }) => [
3908
- t("div", yr, [
3909
- t("span", null, p(R.name), 1),
3911
+ item: b(({ item: F }) => [
3912
+ t("div", pr, [
3913
+ t("span", null, p(F.name), 1),
3910
3914
  t("button", {
3911
3915
  class: "cursor-pointer size-4",
3912
- onClick: ne((H) => h(R), ["prevent", "stop"])
3916
+ onClick: ne((H) => h(F), ["prevent", "stop"])
3913
3917
  }, [
3914
3918
  g(I, {
3915
3919
  name: "close",
3916
3920
  class: "size-5"
3917
3921
  })
3918
- ], 8, br)
3922
+ ], 8, hr)
3919
3923
  ])
3920
3924
  ]),
3921
3925
  _: 1
@@ -3937,7 +3941,7 @@ v + ' кВт·ч<br>выработка за день'`),
3937
3941
  ])) : C("", !0)
3938
3942
  ]));
3939
3943
  }
3940
- }), kr = { class: "flex flex-col" }, wr = { class: "flex flex-col md:flex-row gap-6 min-h-72" }, $r = { class: "flex-auto order-1" }, Cr = { class: "flex-auto gap-x-2 order-1" }, _r = { class: "grid grid-cols-1 md:grid-cols-2 gap-6" }, Sr = { class: "flex gap-2 items-center" }, zr = { class: "flex flex-col gap-4" }, Tr = { class: "flex gap-2 flex-wrap flex-auto px-2 py-1" }, Er = { class: "relative group" }, Ar = { class: "select-none" }, Br = ["onClick"], Lr = { class: "flex justify-center order-0 md:order-1" }, Ir = { class: "size-32 shrink-0" }, Vr = { class: "flex gap-4 justify-end" }, Mr = { class: "relative min-h-52 max-h-100dvh overflow-auto scrollbar" }, Hu = /* @__PURE__ */ D({
3944
+ }), br = { class: "flex flex-col" }, xr = { class: "flex flex-col md:flex-row gap-6 min-h-72" }, kr = { class: "flex-auto order-1" }, wr = { class: "flex-auto gap-x-2 order-1" }, $r = { class: "grid grid-cols-1 md:grid-cols-2 gap-6" }, Cr = { class: "flex gap-2 items-center" }, _r = { class: "flex flex-col gap-4" }, Sr = { class: "flex gap-2 flex-wrap flex-auto px-2 py-1" }, zr = { class: "relative group" }, Tr = { class: "select-none" }, Er = ["onClick"], Ar = { class: "flex justify-center order-0 md:order-1" }, Br = { class: "size-32 shrink-0" }, Lr = { class: "flex gap-4 justify-end" }, Ir = { class: "relative min-h-52 max-h-100dvh overflow-auto scrollbar" }, ju = /* @__PURE__ */ D({
3941
3945
  __name: "ItemEdit",
3942
3946
  props: {
3943
3947
  items: {},
@@ -3976,7 +3980,7 @@ v + ' кВт·ч<br>выработка за день'`),
3976
3980
  a.value.type = B, delete a.value.opts, ["button", "list", "dimmer"].includes(B) && (S === "button" && (a.value.opts = {}), S === "list" && (a.value.opts = { items: [] }), S === "dimmer" && (a.value.opts = { min: 0, max: 255, step: 1 }));
3977
3981
  }, y = (S) => {
3978
3982
  S === "set" && (a.value.set ? delete a.value.set : a.value.set = "v"), S === "get" && (a.value.get ? delete a.value.get : a.value.get = "a"), S === "getTo" && (a.value.getTo ? delete a.value.getTo : a.value.getTo = "v");
3979
- }, w = (S) => l("button", S, a.value), R = (S) => a.value.args = a.value.args.filter((B) => B !== S), H = ({ path: S }) => {
3983
+ }, w = (S) => l("button", S, a.value), F = (S) => a.value.args = a.value.args.filter((B) => B !== S), H = ({ path: S }) => {
3980
3984
  !a.value.args.length && !a.value.id && (a.value.id = S), a.value.args.push(S), i.value = !1;
3981
3985
  }, W = (S, B) => {
3982
3986
  S === "set" && (a.value.set = B), S === "get" && (a.value.get = B), S === "getTo" && (a.value.getTo = B), B || delete a.value[S];
@@ -3988,16 +3992,16 @@ v + ' кВт·ч<br>выработка за день'`),
3988
3992
  return Be(() => {
3989
3993
  var S;
3990
3994
  (S = e.item) != null && S.id && (a.value = vl(e.item));
3991
- }), (S, B) => (c(), f("div", kr, [
3992
- t("div", wr, [
3993
- t("div", $r, [
3994
- g(dr, {
3995
+ }), (S, B) => (c(), f("div", br, [
3996
+ t("div", xr, [
3997
+ t("div", kr, [
3998
+ g(ir, {
3995
3999
  class: "flex-auto min-h-75",
3996
4000
  value: 0,
3997
4001
  items: o
3998
4002
  }, {
3999
4003
  "tab-0": b(() => [
4000
- t("div", Cr, [
4004
+ t("div", wr, [
4001
4005
  g(oe, {
4002
4006
  modelValue: a.value.id,
4003
4007
  "onUpdate:modelValue": B[0] || (B[0] = (q) => a.value.id = q),
@@ -4028,7 +4032,7 @@ v + ' кВт·ч<br>выработка за день'`),
4028
4032
  "onUpdate:modelValue": B[1] || (B[1] = (q) => a.value.name = q),
4029
4033
  label: "Name"
4030
4034
  }, null, 8, ["modelValue"]),
4031
- t("div", _r, [
4035
+ t("div", $r, [
4032
4036
  g(xe, {
4033
4037
  "model-value": a.value.icon,
4034
4038
  bottom: "0",
@@ -4039,7 +4043,7 @@ v + ' кВт·ч<br>выработка за день'`),
4039
4043
  onChange: h
4040
4044
  }, {
4041
4045
  item: b(({ item: q }) => [
4042
- t("div", Sr, [
4046
+ t("div", Cr, [
4043
4047
  O(S.$slots, "icon", {
4044
4048
  icon: q.value
4045
4049
  }),
@@ -4060,7 +4064,7 @@ v + ' кВт·ч<br>выработка за день'`),
4060
4064
  ])
4061
4065
  ]),
4062
4066
  "tab-1": b(() => [
4063
- t("div", zr, [
4067
+ t("div", _r, [
4064
4068
  g(Ut, {
4065
4069
  active: !!a.value.args.length,
4066
4070
  disabled: m.value,
@@ -4068,24 +4072,24 @@ v + ' кВт·ч<br>выработка за день'`),
4068
4072
  onIcon: B[2] || (B[2] = (q) => i.value = !0)
4069
4073
  }, {
4070
4074
  default: b(() => [
4071
- t("div", Tr, [
4075
+ t("div", Sr, [
4072
4076
  (c(!0), f(P, null, X(a.value.args, (q, ae) => (c(), f("div", {
4073
4077
  key: q,
4074
4078
  class: "flex items-center rounded-full bg-gray-light-10 dark:bg-gray-dark-40/50 px-2 py-1 text-xs"
4075
4079
  }, [
4076
- t("div", Er, [
4077
- t("span", Ar, p(q), 1)
4080
+ t("div", zr, [
4081
+ t("span", Tr, p(q), 1)
4078
4082
  ]),
4079
4083
  ae || a.value.args.length < 2 ? (c(), f("button", {
4080
4084
  key: 0,
4081
4085
  class: "ms-1 shrink-0 cursor-pointer text-gray-main transition hover:text-rose-500",
4082
- onClick: (ze) => R(q)
4086
+ onClick: (ze) => F(q)
4083
4087
  }, [
4084
4088
  g(I, {
4085
4089
  name: "close",
4086
4090
  class: "size-5"
4087
4091
  })
4088
- ], 8, Br)) : C("", !0)
4092
+ ], 8, Er)) : C("", !0)
4089
4093
  ]))), 128))
4090
4094
  ])
4091
4095
  ]),
@@ -4125,7 +4129,7 @@ v + ' кВт·ч<br>выработка за день'`),
4125
4129
  ])
4126
4130
  ]),
4127
4131
  "tab-2": b(() => [
4128
- g(xr, te(a.value.opts, {
4132
+ g(yr, te(a.value.opts, {
4129
4133
  value: a.value.value,
4130
4134
  type: a.value.type,
4131
4135
  onUpdate: ee
@@ -4134,13 +4138,13 @@ v + ' кВт·ч<br>выработка за день'`),
4134
4138
  _: 3
4135
4139
  })
4136
4140
  ]),
4137
- t("div", Lr, [
4138
- t("div", Ir, [
4141
+ t("div", Ar, [
4142
+ t("div", Br, [
4139
4143
  O(S.$slots, "default", { item: a.value })
4140
4144
  ])
4141
4145
  ])
4142
4146
  ]),
4143
- t("div", Vr, [
4147
+ t("div", Lr, [
4144
4148
  g(V, {
4145
4149
  class: "px-4",
4146
4150
  color: "blue",
@@ -4171,7 +4175,7 @@ v + ' кВт·ч<br>выработка за день'`),
4171
4175
  onClose: B[11] || (B[11] = (q) => i.value = !1)
4172
4176
  }, {
4173
4177
  default: b(() => [
4174
- t("div", Mr, [
4178
+ t("div", Ir, [
4175
4179
  g(jt, {
4176
4180
  items: e.object,
4177
4181
  onlyValue: !d.value,
@@ -4183,12 +4187,12 @@ v + ' кВт·ч<br>выработка за день'`),
4183
4187
  }, 8, ["title"])) : C("", !0)
4184
4188
  ]));
4185
4189
  }
4186
- }), ma = { position: "relative", boxSizing: "border-box", overflow: "hidden", fontSize: "16px", fontFamily: 'Menlo, Consolas, "Liberation Mono", Monaco, "Lucida Console", monospace' }, Rr = { 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" }, Fr = { 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" }, Or = { 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" }, Aa = (e) => Ba(e);
4190
+ }), ma = { position: "relative", boxSizing: "border-box", overflow: "hidden", fontSize: "16px", fontFamily: 'Menlo, Consolas, "Liberation Mono", Monaco, "Lucida Console", monospace' }, Vr = { 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" }, Mr = { 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" }, Rr = { 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" }, Aa = (e) => Ba(e);
4187
4191
  function va(e) {
4188
4192
  const n = Array.isArray(e) ? e : [e];
4189
4193
  return n.length === 0 ? Aa : (l) => n.reduce((o, a, i) => a(o, { html: i > 0 }), l);
4190
4194
  }
4191
- class Nr {
4195
+ class Fr {
4192
4196
  constructor(n, l = {}) {
4193
4197
  if (this.lines = null, !n) throw new Error("selector is not defined");
4194
4198
  if (this.root = n instanceof Node ? n : document.querySelector(n), !this.root) throw new Error(`element with "${n}" selector is not exist`);
@@ -4202,7 +4206,7 @@ class Nr {
4202
4206
  const l = this.root.style;
4203
4207
  n.forEach((o) => {
4204
4208
  this.initialRootStyles[o] = l[o] || "";
4205
- }), Object.assign(this.root.style, ma, this.options.styles), Object.assign(this.textarea.style, Rr), Object.assign(this.pre.style, Fr), 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();
4209
+ }), Object.assign(this.root.style, ma, this.options.styles), Object.assign(this.textarea.style, Vr), Object.assign(this.pre.style, Mr), 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();
4206
4210
  }
4207
4211
  addTextareaEvents() {
4208
4212
  this.handleEvent = (n) => {
@@ -4238,7 +4242,7 @@ class Nr {
4238
4242
  }
4239
4243
  updateLines() {
4240
4244
  if (!this.options.lineNumbers) return;
4241
- this.lines || (this.lines = document.createElement("pre"), this.root.appendChild(this.lines), Object.assign(this.lines.style, Or));
4245
+ this.lines || (this.lines = document.createElement("pre"), this.root.appendChild(this.lines), Object.assign(this.lines.style, Rr));
4242
4246
  const n = this.value.split(`
4243
4247
  `), l = n.length.toString().length;
4244
4248
  this.root.style.paddingLeft = `${l + 1}ch`, this.lines.innerHTML = n.map((o, a) => `${`<span class="yace-line" style="position: absolute; opacity: .3; left: 0; width: ${l}ch; text-align: right">${1 + a}</span>`}${`<span style="color: transparent; pointer-events: none">${Ba(o)}</span>`}`).join(`
@@ -4257,16 +4261,16 @@ function pt(e) {
4257
4261
  function Ba(e) {
4258
4262
  return e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#039;");
4259
4263
  }
4260
- const fa = { 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" }, Pr = { add: "=" }, Dr = { ";": "semicolon", "=": "equal", ",": "comma", "-": "minus", ".": "period", "/": "slash", "`": "backquote", "[": "bracketleft", "\\": "backslash", "]": "bracketright", "'": "quote" };
4264
+ const fa = { 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" }, Or = { add: "=" }, Nr = { ";": "semicolon", "=": "equal", ",": "comma", "-": "minus", ".": "period", "/": "slash", "`": "backquote", "[": "bracketleft", "\\": "backslash", "]": "bracketright", "'": "quote" };
4261
4265
  function mt(e, n) {
4262
- const l = e.split("+").reduce((s, d) => fa[d] ? (s.modifiers[fa[d]] = !0, s) : { ...s, key: Pr[d] || d.toLowerCase() }, { modifiers: { altKey: !1, ctrlKey: !1, metaKey: !1, shiftKey: !1 }, key: null }), o = Object.keys(l.modifiers).every((s) => l.modifiers[s] ? n[s] : !n[s]);
4266
+ const l = e.split("+").reduce((s, d) => fa[d] ? (s.modifiers[fa[d]] = !0, s) : { ...s, key: Or[d] || d.toLowerCase() }, { modifiers: { altKey: !1, ctrlKey: !1, metaKey: !1, shiftKey: !1 }, key: null }), o = Object.keys(l.modifiers).every((s) => l.modifiers[s] ? n[s] : !n[s]);
4263
4267
  if (!l.key) return o;
4264
- const a = n.key != null && n.key.toLowerCase() === l.key, i = (r = l.key, /^[a-z]$/.test(r) ? `key${r}` : /^[0-9]$/.test(r) ? `digit${r}` : Dr[r] || null);
4268
+ const a = n.key != null && n.key.toLowerCase() === l.key, i = (r = l.key, /^[a-z]$/.test(r) ? `key${r}` : /^[0-9]$/.test(r) ? `digit${r}` : Nr[r] || null);
4265
4269
  var r;
4266
4270
  const u = !n.isComposing && i != null && n.code != null && n.code.toLowerCase() === i;
4267
4271
  return o && (a || u);
4268
4272
  }
4269
- function jr(e = {}) {
4273
+ function Pr(e = {}) {
4270
4274
  const n = Math.max(1, e.limit == null ? 300 : e.limit), l = e.coalesceMs == null ? 300 : e.coalesceMs;
4271
4275
  let o = [], a = null, i = null;
4272
4276
  const r = (u) => {
@@ -4285,7 +4289,7 @@ function jr(e = {}) {
4285
4289
  }
4286
4290
  };
4287
4291
  }
4288
- const Ur = () => (e, n) => {
4292
+ const Dr = () => (e, n) => {
4289
4293
  const { value: l, selectionStart: o, selectionEnd: a } = e;
4290
4294
  if (!mt("enter", n) || n.type !== "keydown") return;
4291
4295
  const i = l.substring(0, o).split(`
@@ -4295,7 +4299,7 @@ const Ur = () => (e, n) => {
4295
4299
  const u = `
4296
4300
  ` + r[0];
4297
4301
  return { value: l.substring(0, o) + u + l.substring(a), selectionStart: o + u.length, selectionEnd: o + u.length };
4298
- }, Hr = () => (e, n) => {
4302
+ }, jr = () => (e, n) => {
4299
4303
  if (typeof KeyboardEvent > "u" || !(n instanceof KeyboardEvent) || n.key !== "Enter")
4300
4304
  return;
4301
4305
  const { value: l, selectionStart: o, selectionEnd: a } = e;
@@ -4317,7 +4321,7 @@ const Ur = () => (e, n) => {
4317
4321
  };
4318
4322
  };
4319
4323
  let Wt = [], ke = null, be = 0, Ve = [], We = null, tt = null, Xt, La, _e = null, lt = null;
4320
- const Kr = (e) => {
4324
+ const Ur = (e) => {
4321
4325
  const { customSuggestions: n = [], minPrefixLength: l = 1, maxSuggestions: o = 20, tabSize: a = 2, tooltip: i = { enabled: !0 }, i18n: r, renderMenu: u, renderTooltip: s } = e;
4322
4326
  if (!u || !s)
4323
4327
  throw new Error("renderMenu and renderTooltip are required");
@@ -4352,7 +4356,7 @@ const Kr = (e) => {
4352
4356
  case "Backspace":
4353
4357
  setTimeout(() => {
4354
4358
  if (tt) {
4355
- const y = tt.value, w = tt.selectionStart, R = xt(y, w), H = y.slice(R, w);
4359
+ const y = tt.value, w = tt.selectionStart, F = xt(y, w), H = y.slice(F, w);
4356
4360
  if (H.length < l)
4357
4361
  Pe();
4358
4362
  else {
@@ -4374,7 +4378,7 @@ const Kr = (e) => {
4374
4378
  if (K.length > 0)
4375
4379
  return Bt(d, K[0]);
4376
4380
  }
4377
- const R = " ".repeat(a), H = v.slice(0, h) + R + v.slice(h), W = h + a;
4381
+ const F = " ".repeat(a), H = v.slice(0, h) + F + v.slice(h), W = h + a;
4378
4382
  return {
4379
4383
  value: H,
4380
4384
  selectionStart: W,
@@ -4384,7 +4388,7 @@ const Kr = (e) => {
4384
4388
  if (!(m.key.length !== 1 || m.ctrlKey || m.metaKey || m.altKey))
4385
4389
  return We && clearTimeout(We), We = setTimeout(() => {
4386
4390
  We = null;
4387
- const y = $.value, w = $.selectionStart, R = xt(y, w), H = y.slice(R, w);
4391
+ const y = $.value, w = $.selectionStart, F = xt(y, w), H = y.slice(F, w);
4388
4392
  if (H.length < l) {
4389
4393
  Pe();
4390
4394
  return;
@@ -4394,7 +4398,7 @@ const Kr = (e) => {
4394
4398
  Pe();
4395
4399
  return;
4396
4400
  }
4397
- Ve = W, be = 0, ke ? at() : qr($, W);
4401
+ Ve = W, be = 0, ke ? at() : Hr($, W);
4398
4402
  }, 0), { ...d };
4399
4403
  };
4400
4404
  };
@@ -4417,7 +4421,7 @@ function xt(e, n) {
4417
4421
  l--;
4418
4422
  return l;
4419
4423
  }
4420
- function qr(e, n) {
4424
+ function Hr(e, n) {
4421
4425
  Pe(), Ve = n, be = 0;
4422
4426
  const l = Ia(e);
4423
4427
  ke = Xt(n, be, (o) => {
@@ -4447,17 +4451,17 @@ function Bt(e, n) {
4447
4451
  const s = [];
4448
4452
  let d;
4449
4453
  for (; (d = r.exec(i)) !== null; ) {
4450
- const y = d[1], w = d.index, R = d[0].length;
4451
- s.push({ index: w, text: y, length: R });
4454
+ const y = d[1], w = d.index, F = d[0].length;
4455
+ s.push({ index: w, text: y, length: F });
4452
4456
  }
4453
4457
  u = i.replace(/\$\{([^}]*)\}/g, "$1");
4454
4458
  const m = s[0];
4455
4459
  let v = a + u.length, h = a + u.length;
4456
4460
  if (m) {
4457
- let y = 0, w = 0, R = !1;
4458
- for (; w < i.length && !R; ) {
4461
+ let y = 0, w = 0, F = !1;
4462
+ for (; w < i.length && !F; ) {
4459
4463
  const H = s.find((W) => W.index === w);
4460
- H ? (y += H.text.length, w += H.length, H === m && (v = a + y - H.text.length, h = a + y, R = !0)) : (y++, w++);
4464
+ H ? (y += H.text.length, w += H.length, H === m && (v = a + y - H.text.length, h = a + y, F = !0)) : (y++, w++);
4461
4465
  }
4462
4466
  }
4463
4467
  return {
@@ -4509,7 +4513,7 @@ typeof document < "u" && document.addEventListener("mousedown", (e) => {
4509
4513
  const n = e.target;
4510
4514
  ke && !ke.contains(n) && Pe(), _e && !_e.contains(n) && dt();
4511
4515
  });
4512
- const Lt = (e) => e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;"), Wr = {
4516
+ const Lt = (e) => e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;"), Kr = {
4513
4517
  comment: "text-gray-dark-25 dark:text-gray-main",
4514
4518
  str: "text-amber-dark-75 dark:text-amber-dark-35",
4515
4519
  num: "text-green-dark-55 dark:text-green-light-25",
@@ -4517,16 +4521,16 @@ const Lt = (e) => e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "
4517
4521
  var: "text-cyan-dark-30 dark:text-cyan-light-40",
4518
4522
  event: "text-amber-dark-75 dark:text-amber-light-45",
4519
4523
  operator: "text-amber-dark-40"
4520
- }, Xr = ["else", "end", "call", "fade"], Gr = (e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), Jr = (e) => {
4521
- const n = e.filter((u) => u.type !== "var").map((u) => u.label), r = `(\\/\\/[^\\n]*)|('[^'\\n]*')|(\\b\\d+(?:\\.\\d+)?\\b)|(\\b(?:${Array.from(/* @__PURE__ */ new Set([...Xr, ...n])).map(Gr).join("|")})\\b)|(\\$[a-zA-Z_][a-zA-Z0-9_]*)|(\\b(?:btn_\\d+(?:_\\d+)?)\\b)|([;:(){}])`;
4524
+ }, qr = ["else", "end", "call", "fade"], Wr = (e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), Xr = (e) => {
4525
+ const n = e.filter((u) => u.type !== "var").map((u) => u.label), r = `(\\/\\/[^\\n]*)|('[^'\\n]*')|(\\b\\d+(?:\\.\\d+)?\\b)|(\\b(?:${Array.from(/* @__PURE__ */ new Set([...qr, ...n])).map(Wr).join("|")})\\b)|(\\$[a-zA-Z_][a-zA-Z0-9_]*)|(\\b(?:btn_\\d+(?:_\\d+)?)\\b)|([;:(){}])`;
4522
4526
  return new RegExp(r, "g");
4523
- }, Yr = (e) => (n) => {
4524
- const l = Jr(e);
4527
+ }, Gr = (e) => (n) => {
4528
+ const l = Xr(e);
4525
4529
  let o = "", a = 0;
4526
4530
  for (const i of n.matchAll(l)) {
4527
4531
  const [r, u, s, d, m, v, h, $] = i;
4528
4532
  let y = "";
4529
- u ? y = "comment" : s ? y = "str" : d ? y = "num" : m ? y = "word" : v ? y = "var" : h ? y = "event" : $ && (y = "operator"), o += Lt(n.slice(a, i.index)), o += `<span class="${Wr[y] ?? ""}">${Lt(r)}</span>`, a = i.index + r.length;
4533
+ u ? y = "comment" : s ? y = "str" : d ? y = "num" : m ? y = "word" : v ? y = "var" : h ? y = "event" : $ && (y = "operator"), o += Lt(n.slice(a, i.index)), o += `<span class="${Kr[y] ?? ""}">${Lt(r)}</span>`, a = i.index + r.length;
4530
4534
  }
4531
4535
  return o += Lt(n.slice(a)), o;
4532
4536
  }, Va = {
@@ -4534,7 +4538,7 @@ const Lt = (e) => e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "
4534
4538
  func: "text-yellow-600 dark:text-yellow-400",
4535
4539
  var: "text-cyan-600 dark:text-cyan-400",
4536
4540
  event: "text-purple-600 dark:text-purple-400"
4537
- }, Zr = (e, n, l) => {
4541
+ }, Jr = (e, n, l) => {
4538
4542
  const o = document.createElement("div");
4539
4543
  return o.className = `
4540
4544
  fixed z-[10000] min-w-64 max-w-100 max-h-64
@@ -4557,7 +4561,7 @@ const Lt = (e) => e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "
4557
4561
  ${a.description ? `<span class="text-xs text-gray-main dark:text-gray-dark-25">${a.description}</span>` : ""}
4558
4562
  `, u.addEventListener("click", () => l(i)), o.appendChild(u);
4559
4563
  }), o;
4560
- }, Qr = (e, n) => {
4564
+ }, Yr = (e, n) => {
4561
4565
  const l = document.createElement("div");
4562
4566
  l.className = `
4563
4567
  fixed z-[10001] px-3 py-2 font-mono text-sm max-w-75
@@ -4576,7 +4580,7 @@ const Lt = (e) => e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "
4576
4580
  absolute -bottom-1 left-1/2 w-2.5 h-2.5 -translate-x-1/2 rotate-45
4577
4581
  bg-white dark:bg-gray-dark-30 border-r border-b border-gray-light-10 dark:border-gray-dark-30
4578
4582
  `, l.appendChild(i), l;
4579
- }, ed = [
4583
+ }, Zr = [
4580
4584
  { label: "if", type: "word", insert: `if:\${$u0<10};
4581
4585
 
4582
4586
  else;
@@ -4625,7 +4629,7 @@ end;`, detail: "event(name: string)" },
4625
4629
  { label: "$e", type: "var", insert: "$e${0}", detail: "var event" },
4626
4630
  { label: "$c", type: "var", insert: "$c${0}", detail: "var call" },
4627
4631
  { label: "$p", type: "var", insert: "$p${0}", detail: "gpio" }
4628
- ], Ku = /* @__PURE__ */ D({
4632
+ ], Uu = /* @__PURE__ */ D({
4629
4633
  __name: "ScriptEditor",
4630
4634
  props: {
4631
4635
  modelValue: {},
@@ -4635,21 +4639,21 @@ end;`, detail: "event(name: string)" },
4635
4639
  setup(e, { emit: n }) {
4636
4640
  const l = n;
4637
4641
  let o;
4638
- const a = [...ed, ...e.suggestions];
4642
+ const a = [...Zr, ...e.suggestions];
4639
4643
  return Se(
4640
4644
  () => e.modelValue,
4641
4645
  (i) => {
4642
4646
  o.update({ value: i });
4643
4647
  }
4644
4648
  ), Be(() => {
4645
- o = new Nr("#editor", {
4649
+ o = new Fr("#editor", {
4646
4650
  value: e.modelValue,
4647
4651
  lineNumbers: !0,
4648
- highlighters: [Yr(a)],
4652
+ highlighters: [Gr(a)],
4649
4653
  plugins: [
4650
- jr(),
4651
- Ur(),
4652
- Kr({
4654
+ Pr(),
4655
+ Dr(),
4656
+ Ur({
4653
4657
  customSuggestions: a,
4654
4658
  minPrefixLength: 1,
4655
4659
  maxSuggestions: 20,
@@ -4657,10 +4661,10 @@ end;`, detail: "event(name: string)" },
4657
4661
  tooltip: {
4658
4662
  enabled: !0
4659
4663
  },
4660
- renderMenu: Zr,
4661
- renderTooltip: Qr
4664
+ renderMenu: Jr,
4665
+ renderTooltip: Yr
4662
4666
  }),
4663
- Hr()
4667
+ jr()
4664
4668
  ],
4665
4669
  styles: { fontSize: "14px" }
4666
4670
  }), o.onUpdate((i) => {
@@ -4672,16 +4676,16 @@ end;`, detail: "event(name: string)" },
4672
4676
  t("div", { id: "editor" }, null, -1)
4673
4677
  ])]));
4674
4678
  }
4675
- }), td = { class: "max-w-4xl mx-auto" }, ad = {
4679
+ }), Qr = { class: "max-w-4xl mx-auto" }, ed = {
4676
4680
  key: 0,
4677
4681
  class: "text-sm"
4678
- }, ld = {
4682
+ }, td = {
4679
4683
  key: 0,
4680
4684
  class: "text-gray-dark-25"
4681
- }, sd = {
4685
+ }, ad = {
4682
4686
  key: 1,
4683
4687
  class: "text-red-600"
4684
- }, nd = ["innerHTML"], od = "https://raw.githubusercontent.com/bondrogeen/vuesp/refs/heads/master/github/docs/scriptrunner/", id = "https://cdn.jsdelivr.net/npm/marked/lib/marked.umd.js", qu = /* @__PURE__ */ D({
4688
+ }, ld = ["innerHTML"], sd = "https://raw.githubusercontent.com/bondrogeen/vuesp/refs/heads/master/github/docs/scriptrunner/", nd = "https://cdn.jsdelivr.net/npm/marked/lib/marked.umd.js", Hu = /* @__PURE__ */ D({
4685
4689
  __name: "ScriptViewDocs",
4686
4690
  props: {
4687
4691
  lang: { default: "en" }
@@ -4703,7 +4707,7 @@ end;`, detail: "event(name: string)" },
4703
4707
  return;
4704
4708
  }
4705
4709
  const h = document.createElement("script");
4706
- h.src = id, h.async = !0, h.onload = () => {
4710
+ h.src = nd, h.async = !0, h.onload = () => {
4707
4711
  window.marked ? (window.marked.setOptions({
4708
4712
  gfm: !0,
4709
4713
  breaks: !0,
@@ -4722,8 +4726,8 @@ end;`, detail: "event(name: string)" },
4722
4726
  continue;
4723
4727
  }
4724
4728
  if ($ && y.includes(":")) {
4725
- const [w, R] = y.split(":").map((H) => H.trim());
4726
- w && R && (w.toLowerCase().includes("version") && (h.version = R), (w.toLowerCase().includes("обновлено") || w.toLowerCase().includes("updated")) && (h.updated = R));
4729
+ const [w, F] = y.split(":").map((H) => H.trim());
4730
+ w && F && (w.toLowerCase().includes("version") && (h.version = F), (w.toLowerCase().includes("обновлено") || w.toLowerCase().includes("updated")) && (h.updated = F));
4727
4731
  }
4728
4732
  }
4729
4733
  return h;
@@ -4734,7 +4738,7 @@ end;`, detail: "event(name: string)" },
4734
4738
  }
4735
4739
  a.value = !0, i.value = null, l.value = "";
4736
4740
  try {
4737
- const v = `${od}${m}.md`, h = await fetch(v);
4741
+ const v = `${sd}${m}.md`, h = await fetch(v);
4738
4742
  if (!h.ok)
4739
4743
  throw new Error(`HTTP ${h.status}: ${h.statusText}`);
4740
4744
  const $ = await h.text();
@@ -4755,18 +4759,18 @@ end;`, detail: "event(name: string)" },
4755
4759
  const v = m instanceof Error ? m.message : "";
4756
4760
  i.value = v, console.error("Initialization error:", m);
4757
4761
  }
4758
- }), (m, v) => (c(), f("div", td, [
4759
- a.value || i.value ? (c(), f("div", ad, [
4760
- a.value ? (c(), f("span", ld, "⏳")) : C("", !0),
4761
- i.value ? (c(), f("span", sd, "❌ " + p(i.value), 1)) : C("", !0)
4762
+ }), (m, v) => (c(), f("div", Qr, [
4763
+ a.value || i.value ? (c(), f("div", ed, [
4764
+ a.value ? (c(), f("span", td, "⏳")) : C("", !0),
4765
+ i.value ? (c(), f("span", ad, "❌ " + p(i.value), 1)) : C("", !0)
4762
4766
  ])) : C("", !0),
4763
4767
  t("div", {
4764
4768
  class: "docs-content",
4765
4769
  innerHTML: l.value
4766
- }, null, 8, nd)
4770
+ }, null, 8, ld)
4767
4771
  ]));
4768
4772
  }
4769
- }), rd = { class: "my-4" }, Wu = /* @__PURE__ */ D({
4773
+ }), od = { class: "my-4" }, Ku = /* @__PURE__ */ D({
4770
4774
  __name: "ScriptDialog",
4771
4775
  props: {
4772
4776
  idScript: {}
@@ -4786,7 +4790,7 @@ end;`, detail: "event(name: string)" },
4786
4790
  e.idScript || (r.value = "boot");
4787
4791
  }), (m, v) => {
4788
4792
  const h = oe, $ = V;
4789
- return c(), f("div", rd, [
4793
+ return c(), f("div", od, [
4790
4794
  g(h, te({
4791
4795
  modelValue: x(r),
4792
4796
  "onUpdate:modelValue": v[0] || (v[0] = (y) => ll(r) ? r.value = y : null)
@@ -4808,7 +4812,7 @@ end;`, detail: "event(name: string)" },
4808
4812
  ]);
4809
4813
  };
4810
4814
  }
4811
- }), dd = {
4815
+ }), id = {
4812
4816
  connect: "Подключить",
4813
4817
  disconnect: "Отключить",
4814
4818
  connected: "Подключено",
@@ -4901,7 +4905,7 @@ end;`, detail: "event(name: string)" },
4901
4905
  apply: "Применить",
4902
4906
  reset: "Сбросить",
4903
4907
  unsaved: "Есть несохранённые изменения"
4904
- }, cd = {
4908
+ }, rd = {
4905
4909
  connect: "Connect",
4906
4910
  disconnect: "Disconnect",
4907
4911
  connected: "Connected",
@@ -4994,82 +4998,82 @@ end;`, detail: "event(name: string)" },
4994
4998
  apply: "Apply",
4995
4999
  reset: "Reset",
4996
5000
  unsaved: "Unsaved changes"
4997
- }, pa = { ru: dd, en: cd }, ud = (e) => pa[e] ?? pa.ru, md = { class: "flex flex-wrap items-center gap-3 border-b border-gray-light-10/70 px-3 py-2.5 dark:border-white/10" }, vd = { class: "flex items-center gap-2" }, fd = { class: "text-sm font-medium" }, gd = { class: "min-w-0 truncate font-mono text-xs text-gray-dark-25 dark:text-gray-main" }, pd = { class: "ml-auto flex flex-wrap items-center gap-2" }, hd = {
5001
+ }, pa = { ru: id, en: rd }, dd = (e) => pa[e] ?? pa.ru, cd = { class: "flex flex-wrap items-center gap-3 border-b border-gray-light-10/70 px-3 py-2.5 dark:border-white/10" }, ud = { class: "flex items-center gap-2" }, md = { class: "text-sm font-medium" }, vd = { class: "min-w-0 truncate font-mono text-xs text-gray-dark-25 dark:text-gray-main" }, fd = { class: "ml-auto flex flex-wrap items-center gap-2" }, gd = {
4998
5002
  key: 0,
4999
5003
  class: "border-b border-gray-light-10/70 px-3 py-3 dark:border-white/10"
5000
- }, yd = {
5004
+ }, pd = {
5001
5005
  key: 0,
5002
5006
  class: "mt-3"
5003
- }, bd = { class: "flex flex-wrap items-center gap-3" }, xd = {
5007
+ }, hd = { class: "flex flex-wrap items-center gap-3" }, yd = {
5004
5008
  key: 2,
5005
5009
  class: "text-xs text-amber-600 dark:text-amber-400"
5006
- }, kd = {
5010
+ }, bd = {
5007
5011
  key: 1,
5008
5012
  class: "mt-3 grid gap-3 sm:grid-cols-3"
5009
- }, wd = { class: "text-[11px] text-gray-dark-25 dark:text-gray-main sm:col-span-3" }, $d = {
5013
+ }, xd = { class: "text-[11px] text-gray-dark-25 dark:text-gray-main sm:col-span-3" }, kd = {
5010
5014
  key: 2,
5011
5015
  class: "mt-3"
5012
- }, Cd = { class: "text-[11px] text-gray-dark-25 dark:text-gray-main" }, _d = { class: "mt-1 flex flex-wrap items-center gap-2" }, Sd = { class: "font-mono text-gray-dark-40 dark:text-gray-light-10" }, zd = ["title", "aria-label", "onClick"], Td = {
5016
+ }, wd = { class: "text-[11px] text-gray-dark-25 dark:text-gray-main" }, $d = { class: "mt-1 flex flex-wrap items-center gap-2" }, Cd = { class: "font-mono text-gray-dark-40 dark:text-gray-light-10" }, _d = ["title", "aria-label", "onClick"], Sd = {
5013
5017
  key: 0,
5014
5018
  class: "text-[11px] text-gray-dark-25 dark:text-gray-main"
5015
- }, Ed = { class: "mt-2 flex items-end gap-2" }, Ad = {
5019
+ }, zd = { class: "mt-2 flex items-end gap-2" }, Td = {
5016
5020
  key: 3,
5017
5021
  class: "mt-3"
5018
- }, Bd = { class: "flex flex-wrap items-center justify-between gap-2 border-b border-gray-light-10/70 bg-gray-dark-40/[0.03] px-3 py-2 dark:border-white/10 dark:bg-black/20" }, Ld = { class: "flex flex-wrap items-center gap-2" }, Id = { class: "flex items-center gap-1 rounded-md border border-gray-light-10/70 p-0.5 dark:border-white/10" }, Vd = { class: "text-[11px] text-gray-dark-25 dark:text-gray-main" }, Md = { class: "flex items-center gap-1" }, Rd = {
5022
+ }, Ed = { class: "flex flex-wrap items-center justify-between gap-2 border-b border-gray-light-10/70 bg-gray-dark-40/[0.03] px-3 py-2 dark:border-white/10 dark:bg-black/20" }, Ad = { class: "flex flex-wrap items-center gap-2" }, Bd = { class: "flex h-8 items-center gap-1 rounded-md ring-1 ring-inset ring-gray-light-10/70 dark:ring-white/10" }, Ld = { class: "text-[11px] text-gray-dark-25 dark:text-gray-main" }, Id = { class: "flex items-center gap-1" }, Vd = {
5019
5023
  key: 0,
5020
5024
  class: "flex w-full flex-wrap items-center gap-2 pt-2"
5021
- }, Fd = {
5025
+ }, Md = {
5022
5026
  key: 0,
5023
- class: "flex items-center gap-1 rounded-md border border-gray-light-10/70 p-0.5 dark:border-white/10"
5024
- }, Od = {
5027
+ class: "flex h-8 items-center gap-1 rounded-md ring-1 ring-inset ring-gray-light-10/70 dark:ring-white/10"
5028
+ }, Rd = {
5025
5029
  key: 1,
5026
5030
  class: "border-b border-gray-light-10/70 px-3 py-2 dark:border-white/10"
5027
- }, Nd = { class: "relative" }, Pd = {
5031
+ }, Fd = { class: "relative" }, Od = {
5028
5032
  key: 0,
5029
5033
  class: "flex h-full flex-col items-center justify-center gap-3 text-center text-gray-dark-25 dark:text-gray-light-10"
5030
- }, Dd = { class: "grid size-12 place-items-center rounded-full bg-gray-dark-40/5 text-gray-main dark:bg-white/5" }, jd = ["onClick"], Ud = ["title", "aria-label", "onClick"], Hd = {
5034
+ }, Nd = { class: "grid size-12 place-items-center rounded-full bg-gray-dark-40/5 text-gray-main dark:bg-white/5" }, Pd = ["onClick"], Dd = ["title", "aria-label", "onClick"], jd = {
5031
5035
  key: 1,
5032
5036
  class: "mr-2 text-gray-dark-25 dark:text-gray-main"
5033
- }, Kd = {
5037
+ }, Ud = {
5034
5038
  key: 0,
5035
5039
  class: "rounded-sm bg-amber-main/40 text-gray-dark-40 dark:text-white"
5036
- }, qd = { key: 1 }, Wd = {
5040
+ }, Hd = { key: 1 }, Kd = {
5037
5041
  key: 0,
5038
5042
  class: "absolute bottom-3 right-3 z-10 flex"
5039
- }, Xd = {
5043
+ }, qd = {
5040
5044
  key: 2,
5041
5045
  class: "border-t border-gray-light-10/70 px-3 py-2 dark:border-white/10"
5042
- }, Gd = { class: "flex items-center justify-between gap-2" }, Jd = { class: "text-[11px] font-medium text-gray-dark-40 dark:text-gray-light-10" }, Yd = { class: "mt-1 overflow-x-auto" }, Zd = { class: "w-full min-w-[40rem] border-collapse font-mono text-[11px] text-gray-dark-25 dark:text-gray-main" }, Qd = { class: "text-left text-gray-main" }, ec = { class: "px-1 py-1 font-normal" }, tc = { class: "px-1 py-0.5 text-gray-main" }, ac = { class: "px-1 py-0.5 text-gray-dark-40 dark:text-gray-light-10" }, lc = { class: "px-1 py-0.5" }, sc = { class: "px-1 py-0.5" }, nc = { class: "px-1 py-0.5" }, oc = { class: "px-1 py-0.5" }, ic = { class: "px-1 py-0.5" }, rc = { class: "px-1 py-0.5" }, dc = { class: "px-1 py-0.5" }, cc = { class: "px-1 py-0.5" }, uc = {
5046
+ }, Wd = { class: "flex items-center justify-between gap-2" }, Xd = { class: "text-[11px] font-medium text-gray-dark-40 dark:text-gray-light-10" }, Gd = { class: "mt-1 overflow-x-auto" }, Jd = { class: "w-full min-w-[40rem] border-collapse font-mono text-[11px] text-gray-dark-25 dark:text-gray-main" }, Yd = { class: "text-left text-gray-main" }, Zd = { class: "px-1 py-1 font-normal" }, Qd = { class: "px-1 py-0.5 text-gray-main" }, ec = { class: "px-1 py-0.5 text-gray-dark-40 dark:text-gray-light-10" }, tc = { class: "px-1 py-0.5" }, ac = { class: "px-1 py-0.5" }, lc = { class: "px-1 py-0.5" }, sc = { class: "px-1 py-0.5" }, nc = { class: "px-1 py-0.5" }, oc = { class: "px-1 py-0.5" }, ic = { class: "px-1 py-0.5" }, rc = { class: "px-1 py-0.5" }, dc = {
5043
5047
  key: 3,
5044
5048
  class: "flex flex-wrap items-center gap-3 border-t border-gray-light-10/70 px-3 py-1.5 text-[11px] text-gray-dark-25 dark:border-white/10 dark:text-gray-main"
5045
- }, mc = { class: "font-mono" }, vc = { class: "text-emerald-600 dark:text-emerald-400" }, fc = { class: "text-gray-main" }, gc = { class: "font-mono" }, pc = { class: "text-sky-600 dark:text-sky-400" }, hc = { class: "text-gray-main" }, yc = {
5049
+ }, cc = { class: "font-mono" }, uc = { class: "text-emerald-600 dark:text-emerald-400" }, mc = { class: "text-gray-main" }, vc = { class: "font-mono" }, fc = { class: "text-sky-600 dark:text-sky-400" }, gc = { class: "text-gray-main" }, pc = {
5046
5050
  key: 0,
5047
5051
  class: "font-medium text-amber-main"
5048
- }, bc = {
5052
+ }, hc = {
5049
5053
  key: 1,
5050
5054
  class: "text-gray-main"
5051
- }, xc = { class: "rounded-b-xl border-t border-gray-light-10/70 bg-gray-dark-40/[0.02] p-3 dark:border-white/10 dark:bg-black/15" }, kc = { class: "mb-4 flex items-end gap-2" }, wc = {
5055
+ }, yc = { class: "rounded-b-xl border-t border-gray-light-10/70 bg-gray-dark-40/[0.02] p-3 dark:border-white/10 dark:bg-black/15" }, bc = { class: "mb-4 flex items-end gap-2" }, xc = {
5052
5056
  key: 0,
5053
5057
  class: "mt-1 flex flex-wrap items-center gap-2"
5054
- }, $c = { class: "mr-1 text-[11px] text-gray-dark-25 dark:text-gray-main" }, Cc = { class: "ml-auto flex flex-wrap items-center gap-2" }, _c = { class: "flex items-center gap-1 rounded-md border border-gray-light-10/70 p-0.5 dark:border-white/10" }, Sc = {
5058
+ }, kc = { class: "mr-1 text-[11px] text-gray-dark-25 dark:text-gray-main" }, wc = { class: "ml-auto flex flex-wrap items-center gap-2" }, $c = { class: "flex h-8 items-center gap-1 rounded-md ring-1 ring-inset ring-gray-light-10/70 dark:ring-white/10" }, Cc = {
5055
5059
  key: 1,
5056
5060
  class: "mt-2 flex flex-wrap items-center gap-2 text-[11px]"
5057
- }, zc = { class: "text-amber-main" }, Tc = {
5061
+ }, _c = { class: "text-amber-main" }, Sc = {
5058
5062
  key: 2,
5059
5063
  class: "mt-2 flex flex-wrap items-center gap-3"
5060
- }, Ec = { class: "w-36 shrink-0" }, Ac = {
5064
+ }, zc = { class: "w-36 shrink-0" }, Tc = {
5061
5065
  key: 4,
5062
5066
  class: "mt-3"
5063
- }, Bc = { class: "mt-2 flex flex-wrap items-center gap-2" }, Lc = { class: "text-[11px] text-gray-dark-25 dark:text-gray-main" }, Ic = {
5067
+ }, Ec = { class: "mt-2 flex flex-wrap items-center gap-2" }, Ac = { class: "text-[11px] text-gray-dark-25 dark:text-gray-main" }, Bc = {
5064
5068
  key: 5,
5065
5069
  class: "mt-2 text-[11px] text-gray-dark-25 dark:text-gray-main"
5066
- }, Vc = {
5070
+ }, Lc = {
5067
5071
  key: 6,
5068
5072
  class: "mt-1 text-xs text-red-main"
5069
- }, Mc = {
5073
+ }, Ic = {
5070
5074
  key: 4,
5071
5075
  class: "border-t border-gray-light-10/70 px-3 py-2 dark:border-white/10"
5072
- }, Xu = /* @__PURE__ */ D({
5076
+ }, qu = /* @__PURE__ */ D({
5073
5077
  __name: "SerialConsole",
5074
5078
  props: {
5075
5079
  status: { default: "disconnected" },
@@ -5091,7 +5095,7 @@ end;`, detail: "event(name: string)" },
5091
5095
  },
5092
5096
  emits: ["connect", "disconnect", "clear", "send"],
5093
5097
  setup(e, { emit: n }) {
5094
- const l = e, o = n, a = j(!1), i = j(!1), r = j(null), u = j(null), s = T(() => ({ ...ud(l.locale), ...l.labels })), d = T(() => ({
5098
+ const l = e, o = n, a = j(!1), i = j(!1), r = j(null), u = j(null), s = T(() => ({ ...dd(l.locale), ...l.labels })), d = T(() => ({
5095
5099
  connection: !0,
5096
5100
  pause: !0,
5097
5101
  framing: !0,
@@ -5108,7 +5112,7 @@ end;`, detail: "event(name: string)" },
5108
5112
  rxBytes: $,
5109
5113
  txBytes: y,
5110
5114
  rxRate: w,
5111
- txRate: R,
5115
+ txRate: F,
5112
5116
  input: H,
5113
5117
  hexSend: W,
5114
5118
  escape: K,
@@ -5256,22 +5260,23 @@ end;`, detail: "event(name: string)" },
5256
5260
  return (U, z) => (c(), L($a, {
5257
5261
  variant: "glass",
5258
5262
  padding: "none",
5259
- class: F(e.compact ? "" : "relative")
5263
+ class: R(e.compact ? "" : "relative")
5260
5264
  }, {
5261
5265
  default: b(() => [
5262
- t("div", md, [
5263
- t("div", vd, [
5266
+ t("div", cd, [
5267
+ t("div", ud, [
5264
5268
  t("span", {
5265
- class: F(["size-2.5 rounded-full", M.value])
5269
+ class: R(["size-2.5 rounded-full", M.value])
5266
5270
  }, null, 2),
5267
- t("span", fd, p(_.value), 1)
5271
+ t("span", md, p(_.value), 1)
5268
5272
  ]),
5269
5273
  z[24] || (z[24] = t("span", { class: "hidden h-4 w-px bg-gray-light-10/70 dark:bg-white/10 sm:block" }, null, -1)),
5270
- t("span", gd, p(e.portLabel ? `${s.value.usb} ${e.portLabel}` : s.value.noPort), 1),
5271
- t("div", pd, [
5274
+ t("span", vd, p(e.portLabel ? `${s.value.usb} ${e.portLabel}` : s.value.noPort), 1),
5275
+ t("div", fd, [
5272
5276
  O(U.$slots, "header-actions"),
5273
5277
  d.value.connection !== !1 ? (c(), L(V, {
5274
5278
  key: 0,
5279
+ size: "sm",
5275
5280
  color: k.value ? "red" : "blue",
5276
5281
  variant: k.value ? "outline" : "solid",
5277
5282
  onClick: qa
@@ -5282,6 +5287,7 @@ end;`, detail: "event(name: string)" },
5282
5287
  _: 1
5283
5288
  }, 8, ["color", "variant"])) : C("", !0),
5284
5289
  g(V, {
5290
+ size: "sm",
5285
5291
  type: "icon",
5286
5292
  variant: "ghost",
5287
5293
  color: "gray",
@@ -5299,13 +5305,14 @@ end;`, detail: "event(name: string)" },
5299
5305
  }, 8, ["title", "aria-label"])
5300
5306
  ])
5301
5307
  ]),
5302
- a.value ? (c(), f("div", hd, [
5308
+ a.value ? (c(), f("div", gd, [
5303
5309
  O(U.$slots, "settings"),
5304
- U.$slots["settings-actions"] || e.onApply || e.onReset ? (c(), f("div", yd, [
5310
+ U.$slots["settings-actions"] || e.onApply || e.onReset ? (c(), f("div", pd, [
5305
5311
  O(U.$slots, "settings-actions", {}, () => [
5306
- t("div", bd, [
5312
+ t("div", hd, [
5307
5313
  e.onApply ? (c(), L(V, {
5308
5314
  key: 0,
5315
+ size: "sm",
5309
5316
  color: "blue",
5310
5317
  onClick: e.onApply
5311
5318
  }, {
@@ -5316,6 +5323,7 @@ end;`, detail: "event(name: string)" },
5316
5323
  }, 8, ["onClick"])) : C("", !0),
5317
5324
  e.onReset ? (c(), L(V, {
5318
5325
  key: 1,
5326
+ size: "sm",
5319
5327
  variant: "outline",
5320
5328
  color: "gray",
5321
5329
  onClick: e.onReset
@@ -5325,13 +5333,14 @@ end;`, detail: "event(name: string)" },
5325
5333
  ]),
5326
5334
  _: 1
5327
5335
  }, 8, ["onClick"])) : C("", !0),
5328
- e.dirty ? (c(), f("span", xd, p(s.value.unsaved), 1)) : C("", !0)
5336
+ e.dirty ? (c(), f("span", yd, p(s.value.unsaved), 1)) : C("", !0)
5329
5337
  ])
5330
5338
  ])
5331
5339
  ])) : C("", !0),
5332
- d.value.encoding || d.value.framing ? (c(), f("div", kd, [
5340
+ d.value.encoding || d.value.framing ? (c(), f("div", bd, [
5333
5341
  d.value.encoding ? (c(), L(xe, {
5334
5342
  key: 0,
5343
+ size: "sm",
5335
5344
  "model-value": it(re, x(h).encoding),
5336
5345
  "hide-message": "",
5337
5346
  items: re,
@@ -5340,6 +5349,7 @@ end;`, detail: "event(name: string)" },
5340
5349
  }, null, 8, ["model-value", "label"])) : C("", !0),
5341
5350
  d.value.framing ? (c(), L(xe, {
5342
5351
  key: 1,
5352
+ size: "sm",
5343
5353
  "model-value": it(Gt, x(h).framing),
5344
5354
  "hide-message": "",
5345
5355
  items: Gt,
@@ -5348,22 +5358,23 @@ end;`, detail: "event(name: string)" },
5348
5358
  }, null, 8, ["model-value", "label"])) : C("", !0),
5349
5359
  d.value.framing && x(h).framing === "gap" ? (c(), L(xe, {
5350
5360
  key: 2,
5361
+ size: "sm",
5351
5362
  "model-value": it(x(Jt), x(h).gapMs),
5352
5363
  "hide-message": "",
5353
5364
  items: x(Jt),
5354
5365
  label: s.value.gap,
5355
5366
  onChange: Na
5356
5367
  }, null, 8, ["model-value", "items", "label"])) : C("", !0),
5357
- t("p", wd, p(s.value.framingHint), 1)
5368
+ t("p", xd, p(s.value.framingHint), 1)
5358
5369
  ])) : C("", !0),
5359
- d.value.quickCommands ? (c(), f("div", $d, [
5360
- t("p", Cd, p(s.value.quickCommands), 1),
5361
- t("div", _d, [
5370
+ d.value.quickCommands ? (c(), f("div", kd, [
5371
+ t("p", wd, p(s.value.quickCommands), 1),
5372
+ t("div", $d, [
5362
5373
  (c(!0), f(P, null, X(x(je), (A) => (c(), f("span", {
5363
5374
  key: A,
5364
5375
  class: "inline-flex items-center gap-1 rounded-md border border-gray-light-10/70 py-1 pl-2 pr-1 text-xs dark:border-white/10"
5365
5376
  }, [
5366
- t("span", Sd, p(A), 1),
5377
+ t("span", Cd, p(A), 1),
5367
5378
  t("button", {
5368
5379
  type: "button",
5369
5380
  class: "grid size-5 place-items-center rounded text-gray-main transition hover:bg-red-main/10 hover:text-red-main",
@@ -5375,12 +5386,13 @@ end;`, detail: "event(name: string)" },
5375
5386
  name: "close",
5376
5387
  size: 12
5377
5388
  })
5378
- ], 8, zd)
5389
+ ], 8, _d)
5379
5390
  ]))), 128)),
5380
- x(je).length ? C("", !0) : (c(), f("span", Td, p(s.value.quickEmpty), 1))
5391
+ x(je).length ? C("", !0) : (c(), f("span", Sd, p(s.value.quickEmpty), 1))
5381
5392
  ]),
5382
- t("div", Ed, [
5393
+ t("div", zd, [
5383
5394
  g(oe, {
5395
+ size: "sm",
5384
5396
  class: "max-w-xs",
5385
5397
  "hide-message": "",
5386
5398
  "model-value": x(qe),
@@ -5402,15 +5414,15 @@ end;`, detail: "event(name: string)" },
5402
5414
  }, 8, ["disabled", "onClick"])
5403
5415
  ])
5404
5416
  ])) : C("", !0),
5405
- U.$slots["settings-extra"] ? (c(), f("div", Ad, [
5417
+ U.$slots["settings-extra"] ? (c(), f("div", Td, [
5406
5418
  O(U.$slots, "settings-extra")
5407
5419
  ])) : C("", !0)
5408
5420
  ])) : C("", !0),
5409
- t("div", Bd, [
5410
- t("div", Ld, [
5411
- t("div", Id, [
5421
+ t("div", Ed, [
5422
+ t("div", Ad, [
5423
+ t("div", Bd, [
5412
5424
  g(V, {
5413
- size: "xs",
5425
+ size: "sm",
5414
5426
  variant: x(ge) === "text" ? "soft" : "ghost",
5415
5427
  color: x(ge) === "text" ? "blue" : "gray",
5416
5428
  onClick: z[2] || (z[2] = (A) => ge.value = "text")
@@ -5421,7 +5433,7 @@ end;`, detail: "event(name: string)" },
5421
5433
  _: 1
5422
5434
  }, 8, ["variant", "color"]),
5423
5435
  g(V, {
5424
- size: "xs",
5436
+ size: "sm",
5425
5437
  variant: x(ge) === "hex" ? "soft" : "ghost",
5426
5438
  color: x(ge) === "hex" ? "blue" : "gray",
5427
5439
  onClick: z[3] || (z[3] = (A) => ge.value = "hex")
@@ -5433,7 +5445,7 @@ end;`, detail: "event(name: string)" },
5433
5445
  }, 8, ["variant", "color"]),
5434
5446
  d.value.binary ? (c(), L(V, {
5435
5447
  key: 0,
5436
- size: "xs",
5448
+ size: "sm",
5437
5449
  variant: x(ge) === "bin" ? "soft" : "ghost",
5438
5450
  color: x(ge) === "bin" ? "blue" : "gray",
5439
5451
  onClick: z[4] || (z[4] = (A) => ge.value = "bin")
@@ -5472,9 +5484,9 @@ end;`, detail: "event(name: string)" },
5472
5484
  _: 1
5473
5485
  }, 8, ["model-value"]),
5474
5486
  z[25] || (z[25] = t("span", { class: "hidden h-4 w-px bg-gray-light-10/70 dark:bg-white/10 sm:block" }, null, -1)),
5475
- t("span", Vd, p(x(we) ? `${x(v).length}/${x(m).length}` : x(m).length) + " " + p(s.value.lines), 1)
5487
+ t("span", Ld, p(x(we) ? `${x(v).length}/${x(m).length}` : x(m).length) + " " + p(s.value.lines), 1)
5476
5488
  ]),
5477
- t("div", Md, [
5489
+ t("div", Id, [
5478
5490
  d.value.pause ? (c(), L(V, {
5479
5491
  key: 0,
5480
5492
  type: "icon",
@@ -5542,7 +5554,7 @@ end;`, detail: "event(name: string)" },
5542
5554
  g(I, {
5543
5555
  name: x(Ne) ? "check" : "copy",
5544
5556
  size: 16,
5545
- class: F(x(Ne) ? "text-green-main" : "")
5557
+ class: R(x(Ne) ? "text-green-main" : "")
5546
5558
  }, null, 8, ["name", "class"])
5547
5559
  ]),
5548
5560
  _: 1
@@ -5599,10 +5611,10 @@ end;`, detail: "event(name: string)" },
5599
5611
  }, 8, ["disabled", "title", "aria-label", "onClick"])) : C("", !0),
5600
5612
  O(U.$slots, "toolbar-extra")
5601
5613
  ]),
5602
- d.value.filter || d.value.regex || d.value.bookmarks ? (c(), f("div", Rd, [
5603
- d.value.filter ? (c(), f("div", Fd, [
5614
+ d.value.filter || d.value.regex || d.value.bookmarks ? (c(), f("div", Vd, [
5615
+ d.value.filter ? (c(), f("div", Md, [
5604
5616
  g(V, {
5605
- size: "xs",
5617
+ size: "sm",
5606
5618
  variant: x(B) === "all" ? "soft" : "ghost",
5607
5619
  color: x(B) === "all" ? "blue" : "gray",
5608
5620
  onClick: z[10] || (z[10] = (A) => B.value = "all")
@@ -5613,7 +5625,7 @@ end;`, detail: "event(name: string)" },
5613
5625
  _: 1
5614
5626
  }, 8, ["variant", "color"]),
5615
5627
  g(V, {
5616
- size: "xs",
5628
+ size: "sm",
5617
5629
  variant: x(B) === "rx" ? "soft" : "ghost",
5618
5630
  color: x(B) === "rx" ? "green" : "gray",
5619
5631
  onClick: z[11] || (z[11] = (A) => B.value = "rx")
@@ -5624,7 +5636,7 @@ end;`, detail: "event(name: string)" },
5624
5636
  _: 1
5625
5637
  }, 8, ["variant", "color"]),
5626
5638
  g(V, {
5627
- size: "xs",
5639
+ size: "sm",
5628
5640
  variant: x(B) === "tx" ? "soft" : "ghost",
5629
5641
  color: x(B) === "tx" ? "blue" : "gray",
5630
5642
  onClick: z[12] || (z[12] = (A) => B.value = "tx")
@@ -5637,7 +5649,7 @@ end;`, detail: "event(name: string)" },
5637
5649
  ])) : C("", !0),
5638
5650
  d.value.regex ? (c(), L(V, {
5639
5651
  key: 1,
5640
- size: "xs",
5652
+ size: "sm",
5641
5653
  variant: x(q) ? "soft" : "ghost",
5642
5654
  color: x(q) ? "blue" : "gray",
5643
5655
  onClick: z[13] || (z[13] = (A) => q.value = !x(q))
@@ -5649,7 +5661,7 @@ end;`, detail: "event(name: string)" },
5649
5661
  }, 8, ["variant", "color"])) : C("", !0),
5650
5662
  d.value.bookmarks ? (c(), L(V, {
5651
5663
  key: 2,
5652
- size: "xs",
5664
+ size: "sm",
5653
5665
  variant: x(ae) ? "soft" : "ghost",
5654
5666
  color: x(ae) ? "amber" : "gray",
5655
5667
  onClick: z[14] || (z[14] = (A) => ae.value = !x(ae))
@@ -5665,8 +5677,9 @@ end;`, detail: "event(name: string)" },
5665
5677
  }, 8, ["variant", "color"])) : C("", !0)
5666
5678
  ])) : C("", !0)
5667
5679
  ]),
5668
- i.value ? (c(), f("div", Od, [
5680
+ i.value ? (c(), f("div", Rd, [
5669
5681
  g(oe, {
5682
+ size: "sm",
5670
5683
  "model-value": x(we),
5671
5684
  "hide-message": "",
5672
5685
  label: s.value.search,
@@ -5674,15 +5687,15 @@ end;`, detail: "event(name: string)" },
5674
5687
  "onUpdate:modelValue": z[15] || (z[15] = (A) => we.value = String(A))
5675
5688
  }, null, 8, ["model-value", "label", "placeholder"])
5676
5689
  ])) : C("", !0),
5677
- t("div", Nd, [
5690
+ t("div", Fd, [
5678
5691
  t("div", {
5679
5692
  ref_key: "logEl",
5680
5693
  ref: r,
5681
5694
  class: "h-[min(52vh,30rem)] min-h-[18rem] overflow-auto bg-gray-dark-40/[0.05] p-4 font-mono text-xs leading-6 scrollbar dark:bg-black/35",
5682
5695
  onScroll: Da
5683
5696
  }, [
5684
- x(v).length ? C("", !0) : (c(), f("div", Pd, [
5685
- t("span", Dd, [
5697
+ x(v).length ? C("", !0) : (c(), f("div", Od, [
5698
+ t("span", Nd, [
5686
5699
  g(I, {
5687
5700
  name: "code",
5688
5701
  size: 24
@@ -5694,7 +5707,7 @@ end;`, detail: "event(name: string)" },
5694
5707
  var me;
5695
5708
  return c(), f("div", {
5696
5709
  key: A.id,
5697
- class: F(["break-all", [
5710
+ class: R(["break-all", [
5698
5711
  d.value.inspector ? "cursor-pointer rounded px-1 -mx-1 transition hover:bg-gray-dark-40/5 dark:hover:bg-white/5" : "",
5699
5712
  ((me = x(Z)) == null ? void 0 : me.id) === A.id ? "bg-blue-main/10 dark:bg-blue-main/15" : ""
5700
5713
  ]]),
@@ -5703,7 +5716,7 @@ end;`, detail: "event(name: string)" },
5703
5716
  d.value.bookmarks ? (c(), f("button", {
5704
5717
  key: 0,
5705
5718
  type: "button",
5706
- class: F(["mr-1 inline-flex align-middle text-gray-main opacity-40 transition hover:opacity-100", x(ze)(A) ? "text-amber-main opacity-100" : ""]),
5719
+ class: R(["mr-1 inline-flex align-middle text-gray-main opacity-40 transition hover:opacity-100", x(ze)(A) ? "text-amber-main opacity-100" : ""]),
5707
5720
  title: s.value.bookmark,
5708
5721
  "aria-label": s.value.bookmark,
5709
5722
  onClick: ne((Ue) => x(de)(A), ["stop"])
@@ -5712,22 +5725,22 @@ end;`, detail: "event(name: string)" },
5712
5725
  name: "star",
5713
5726
  size: 12
5714
5727
  })
5715
- ], 10, Ud)) : C("", !0),
5716
- x(G) ? (c(), f("span", Hd, p(A.at), 1)) : C("", !0),
5728
+ ], 10, Dd)) : C("", !0),
5729
+ x(G) ? (c(), f("span", jd, p(A.at), 1)) : C("", !0),
5717
5730
  t("span", {
5718
- class: F(A.dir === "rx" ? "text-emerald-600 dark:text-emerald-400" : "text-sky-600 dark:text-sky-400")
5731
+ class: R(A.dir === "rx" ? "text-emerald-600 dark:text-emerald-400" : "text-sky-600 dark:text-sky-400")
5719
5732
  }, p(A.dir.toUpperCase()), 3),
5720
5733
  t("span", {
5721
- class: F(["ml-2 text-gray-dark-40 dark:text-gray-light-10", x(ue) ? "whitespace-pre-wrap break-all" : "whitespace-pre"])
5734
+ class: R(["ml-2 text-gray-dark-40 dark:text-gray-light-10", x(ue) ? "whitespace-pre-wrap break-all" : "whitespace-pre"])
5722
5735
  }, [
5723
5736
  (c(!0), f(P, null, X(x(ye)(x(he)(A)), (Ue, Ee) => (c(), f(P, { key: Ee }, [
5724
- Ue.match ? (c(), f("mark", Kd, p(Ue.text), 1)) : (c(), f("span", qd, p(Ue.text), 1))
5737
+ Ue.match ? (c(), f("mark", Ud, p(Ue.text), 1)) : (c(), f("span", Hd, p(Ue.text), 1))
5725
5738
  ], 64))), 128))
5726
5739
  ], 2)
5727
- ], 10, jd);
5740
+ ], 10, Pd);
5728
5741
  }), 128))
5729
5742
  ], 544),
5730
- !x(Te) && x(v).length ? (c(), f("div", Wd, [
5743
+ !x(Te) && x(v).length ? (c(), f("div", Kd, [
5731
5744
  g(V, {
5732
5745
  size: "sm",
5733
5746
  color: "blue",
@@ -5746,9 +5759,9 @@ end;`, detail: "event(name: string)" },
5746
5759
  })
5747
5760
  ])) : C("", !0)
5748
5761
  ]),
5749
- d.value.inspector && x(Z) ? (c(), f("div", Xd, [
5750
- t("div", Gd, [
5751
- t("span", Jd, p(s.value.inspector) + " · " + p(x(Z).bytes) + " " + p(s.value.bytes), 1),
5762
+ d.value.inspector && x(Z) ? (c(), f("div", qd, [
5763
+ t("div", Wd, [
5764
+ t("span", Xd, p(s.value.inspector) + " · " + p(x(Z).bytes) + " " + p(s.value.bytes), 1),
5752
5765
  g(V, {
5753
5766
  type: "icon",
5754
5767
  size: "sm",
@@ -5767,11 +5780,11 @@ end;`, detail: "event(name: string)" },
5767
5780
  _: 1
5768
5781
  }, 8, ["title", "aria-label"])
5769
5782
  ]),
5770
- t("div", Yd, [
5771
- t("table", Zd, [
5783
+ t("div", Gd, [
5784
+ t("table", Jd, [
5772
5785
  t("thead", null, [
5773
- t("tr", Qd, [
5774
- t("th", ec, p(s.value.offset), 1),
5786
+ t("tr", Yd, [
5787
+ t("th", Zd, p(s.value.offset), 1),
5775
5788
  z[26] || (z[26] = t("th", { class: "px-1 py-1 font-normal" }, "HEX", -1)),
5776
5789
  z[27] || (z[27] = t("th", { class: "px-1 py-1 font-normal" }, "u8", -1)),
5777
5790
  z[28] || (z[28] = t("th", { class: "px-1 py-1 font-normal" }, "i8", -1)),
@@ -5788,38 +5801,39 @@ end;`, detail: "event(name: string)" },
5788
5801
  key: A.offset,
5789
5802
  class: "border-t border-gray-light-10/40 dark:border-white/5"
5790
5803
  }, [
5791
- t("td", tc, p(A.offset), 1),
5792
- t("td", ac, p(A.hex), 1),
5793
- t("td", lc, p(A.u8), 1),
5794
- t("td", sc, p(A.i8), 1),
5795
- t("td", nc, p(A.u16le), 1),
5796
- t("td", oc, p(A.u16be), 1),
5797
- t("td", ic, p(A.u32le), 1),
5798
- t("td", rc, p(A.u32be), 1),
5799
- t("td", dc, p(A.f32le), 1),
5800
- t("td", cc, p(A.f32be), 1)
5804
+ t("td", Qd, p(A.offset), 1),
5805
+ t("td", ec, p(A.hex), 1),
5806
+ t("td", tc, p(A.u8), 1),
5807
+ t("td", ac, p(A.i8), 1),
5808
+ t("td", lc, p(A.u16le), 1),
5809
+ t("td", sc, p(A.u16be), 1),
5810
+ t("td", nc, p(A.u32le), 1),
5811
+ t("td", oc, p(A.u32be), 1),
5812
+ t("td", ic, p(A.f32le), 1),
5813
+ t("td", rc, p(A.f32be), 1)
5801
5814
  ]))), 128))
5802
5815
  ])
5803
5816
  ])
5804
5817
  ])
5805
5818
  ])) : C("", !0),
5806
- d.value.counters ? (c(), f("div", uc, [
5807
- t("span", mc, [
5808
- t("span", vc, p(s.value.rx), 1),
5819
+ d.value.counters ? (c(), f("div", dc, [
5820
+ t("span", cc, [
5821
+ t("span", uc, p(s.value.rx), 1),
5809
5822
  E(" " + p(x(et)(x($))) + " ", 1),
5810
- t("span", fc, p(x(et)(x(w)) + s.value.perSecond), 1)
5823
+ t("span", mc, p(x(et)(x(w)) + s.value.perSecond), 1)
5811
5824
  ]),
5812
- t("span", gc, [
5813
- t("span", pc, p(s.value.tx), 1),
5825
+ t("span", vc, [
5826
+ t("span", fc, p(s.value.tx), 1),
5814
5827
  E(" " + p(x(et)(x(y))) + " ", 1),
5815
- t("span", hc, p(x(et)(x(R)) + s.value.perSecond), 1)
5828
+ t("span", gc, p(x(et)(x(F)) + s.value.perSecond), 1)
5816
5829
  ]),
5817
- x(h).paused ? (c(), f("span", yc, p(s.value.paused), 1)) : C("", !0),
5818
- x(zt) ? (c(), f("span", bc, p(s.value.sessionRestored), 1)) : C("", !0)
5830
+ x(h).paused ? (c(), f("span", pc, p(s.value.paused), 1)) : C("", !0),
5831
+ x(zt) ? (c(), f("span", hc, p(s.value.sessionRestored), 1)) : C("", !0)
5819
5832
  ])) : C("", !0),
5820
- t("div", xc, [
5821
- t("div", kc, [
5833
+ t("div", yc, [
5834
+ t("div", bc, [
5822
5835
  g(oe, {
5836
+ size: "sm",
5823
5837
  class: "flex-1",
5824
5838
  "hide-message": "",
5825
5839
  "model-value": x(H),
@@ -5831,7 +5845,8 @@ end;`, detail: "event(name: string)" },
5831
5845
  onKeydown: x(Ae)
5832
5846
  }, null, 8, ["model-value", "error", "label", "placeholder", "onEnter", "onKeydown"]),
5833
5847
  g(V, {
5834
- class: "h-10 shrink-0",
5848
+ size: "sm",
5849
+ class: "shrink-0",
5835
5850
  color: "blue",
5836
5851
  disabled: !Y.value,
5837
5852
  onClick: x(J)
@@ -5842,11 +5857,11 @@ end;`, detail: "event(name: string)" },
5842
5857
  _: 1
5843
5858
  }, 8, ["disabled", "onClick"])
5844
5859
  ]),
5845
- d.value.quickCommands ? (c(), f("div", wc, [
5846
- t("span", $c, p(s.value.quickCommands), 1),
5860
+ d.value.quickCommands ? (c(), f("div", xc, [
5861
+ t("span", kc, p(s.value.quickCommands), 1),
5847
5862
  (c(!0), f(P, null, X(x(je), (A) => (c(), L(V, {
5848
5863
  key: A,
5849
- size: "xs",
5864
+ size: "sm",
5850
5865
  variant: "outline",
5851
5866
  color: "blue",
5852
5867
  disabled: !k.value || x(W),
@@ -5857,8 +5872,9 @@ end;`, detail: "event(name: string)" },
5857
5872
  ]),
5858
5873
  _: 2
5859
5874
  }, 1032, ["disabled", "onClick"]))), 128)),
5860
- t("div", Cc, [
5875
+ t("div", wc, [
5861
5876
  g(xe, {
5877
+ size: "sm",
5862
5878
  class: "w-28",
5863
5879
  "hide-message": "",
5864
5880
  "model-value": it(Yt, x(Le)),
@@ -5867,9 +5883,9 @@ end;`, detail: "event(name: string)" },
5867
5883
  disabled: x(W),
5868
5884
  onChange: Pa
5869
5885
  }, null, 8, ["model-value", "label", "disabled"]),
5870
- t("div", _c, [
5886
+ t("div", $c, [
5871
5887
  g(V, {
5872
- size: "xs",
5888
+ size: "sm",
5873
5889
  variant: x(W) ? "ghost" : "soft",
5874
5890
  color: x(W) ? "gray" : "blue",
5875
5891
  onClick: z[18] || (z[18] = (A) => W.value = !1)
@@ -5880,7 +5896,7 @@ end;`, detail: "event(name: string)" },
5880
5896
  _: 1
5881
5897
  }, 8, ["variant", "color"]),
5882
5898
  g(V, {
5883
- size: "xs",
5899
+ size: "sm",
5884
5900
  variant: x(W) ? "soft" : "ghost",
5885
5901
  color: x(W) ? "blue" : "gray",
5886
5902
  onClick: z[19] || (z[19] = (A) => W.value = !0)
@@ -5893,11 +5909,11 @@ end;`, detail: "event(name: string)" },
5893
5909
  ])
5894
5910
  ])
5895
5911
  ])) : C("", !0),
5896
- x(Ke) && e.noReplyHint ? (c(), f("div", Sc, [
5897
- t("span", zc, p(e.noReplyHint.text), 1),
5912
+ x(Ke) && e.noReplyHint ? (c(), f("div", Cc, [
5913
+ t("span", _c, p(e.noReplyHint.text), 1),
5898
5914
  e.noReplyHint.actionLabel && e.noReplyHint.onAction ? (c(), L(V, {
5899
5915
  key: 0,
5900
- size: "xs",
5916
+ size: "sm",
5901
5917
  variant: "soft",
5902
5918
  color: "gray",
5903
5919
  onClick: x(Tt)
@@ -5908,7 +5924,7 @@ end;`, detail: "event(name: string)" },
5908
5924
  _: 1
5909
5925
  }, 8, ["onClick"])) : C("", !0)
5910
5926
  ])) : C("", !0),
5911
- d.value.escape || d.value.repeat || d.value.file ? (c(), f("div", Tc, [
5927
+ d.value.escape || d.value.repeat || d.value.file ? (c(), f("div", Sc, [
5912
5928
  d.value.escape && !x(W) ? (c(), L(rt, {
5913
5929
  key: 0,
5914
5930
  "model-value": x(K),
@@ -5921,7 +5937,7 @@ end;`, detail: "event(name: string)" },
5921
5937
  }, 8, ["model-value"])) : C("", !0),
5922
5938
  d.value.repeat ? (c(), f(P, { key: 1 }, [
5923
5939
  g(V, {
5924
- size: "xs",
5940
+ size: "sm",
5925
5941
  variant: "soft",
5926
5942
  color: x(ee) ? "red" : "blue",
5927
5943
  onClick: x(ce)
@@ -5931,8 +5947,9 @@ end;`, detail: "event(name: string)" },
5931
5947
  ]),
5932
5948
  _: 1
5933
5949
  }, 8, ["color", "onClick"]),
5934
- t("div", Ec, [
5950
+ t("div", zc, [
5935
5951
  g(xe, {
5952
+ size: "sm",
5936
5953
  "hide-message": "",
5937
5954
  "model-value": it(Zt.value, x(S)),
5938
5955
  items: Zt.value,
@@ -5943,7 +5960,7 @@ end;`, detail: "event(name: string)" },
5943
5960
  ], 64)) : C("", !0),
5944
5961
  d.value.file ? (c(), L(V, {
5945
5962
  key: 2,
5946
- size: "xs",
5963
+ size: "sm",
5947
5964
  variant: "ghost",
5948
5965
  color: "gray",
5949
5966
  onClick: z[21] || (z[21] = (A) => {
@@ -5962,7 +5979,7 @@ end;`, detail: "event(name: string)" },
5962
5979
  })) : C("", !0),
5963
5980
  d.value.scenario ? (c(), L(V, {
5964
5981
  key: 3,
5965
- size: "xs",
5982
+ size: "sm",
5966
5983
  variant: x(Re) ? "soft" : "ghost",
5967
5984
  color: "gray",
5968
5985
  onClick: z[22] || (z[22] = (A) => Re.value = !x(Re))
@@ -5986,10 +6003,11 @@ end;`, detail: "event(name: string)" },
5986
6003
  ])) : C("", !0),
5987
6004
  x(W) ? (c(), f("p", {
5988
6005
  key: 3,
5989
- class: F(["mt-1 text-[11px]", x($e) ? "text-red-main" : "text-gray-dark-25 dark:text-gray-main"])
6006
+ class: R(["mt-1 text-[11px]", x($e) ? "text-red-main" : "text-gray-dark-25 dark:text-gray-main"])
5990
6007
  }, p(x($e) || `${x(pe).length} ${s.value.bytes} · ${s.value.hexHint}`), 3)) : C("", !0),
5991
- d.value.scenario && x(Re) ? (c(), f("div", Ac, [
6008
+ d.value.scenario && x(Re) ? (c(), f("div", Tc, [
5992
6009
  g(oe, {
6010
+ size: "sm",
5993
6011
  component: "textarea",
5994
6012
  "hide-message": "",
5995
6013
  "model-value": x(Ye),
@@ -5997,9 +6015,9 @@ end;`, detail: "event(name: string)" },
5997
6015
  placeholder: s.value.scenarioPlaceholder,
5998
6016
  "onUpdate:modelValue": z[23] || (z[23] = (A) => Ye.value = String(A))
5999
6017
  }, null, 8, ["model-value", "label", "placeholder"]),
6000
- t("div", Bc, [
6018
+ t("div", Ec, [
6001
6019
  g(V, {
6002
- size: "xs",
6020
+ size: "sm",
6003
6021
  color: "blue",
6004
6022
  disabled: x(Fe) || !k.value,
6005
6023
  onClick: x(De)
@@ -6010,7 +6028,7 @@ end;`, detail: "event(name: string)" },
6010
6028
  _: 1
6011
6029
  }, 8, ["disabled", "onClick"]),
6012
6030
  g(V, {
6013
- size: "xs",
6031
+ size: "sm",
6014
6032
  variant: "outline",
6015
6033
  color: "gray",
6016
6034
  disabled: !x(Fe),
@@ -6021,29 +6039,29 @@ end;`, detail: "event(name: string)" },
6021
6039
  ]),
6022
6040
  _: 1
6023
6041
  }, 8, ["disabled", "onClick"]),
6024
- t("span", Lc, p(s.value.scenarioHint), 1)
6042
+ t("span", Ac, p(s.value.scenarioHint), 1)
6025
6043
  ])
6026
6044
  ])) : C("", !0),
6027
- e.compact ? C("", !0) : (c(), f("p", Ic, p(s.value.shortcuts), 1)),
6028
- e.error ? (c(), f("p", Vc, p(s.value.error) + ": " + p(e.error), 1)) : C("", !0)
6045
+ e.compact ? C("", !0) : (c(), f("p", Bc, p(s.value.shortcuts), 1)),
6046
+ e.error ? (c(), f("p", Lc, p(s.value.error) + ": " + p(e.error), 1)) : C("", !0)
6029
6047
  ]),
6030
- U.$slots.footer ? (c(), f("div", Mc, [
6048
+ U.$slots.footer ? (c(), f("div", Ic, [
6031
6049
  O(U.$slots, "footer")
6032
6050
  ])) : C("", !0)
6033
6051
  ]),
6034
6052
  _: 3
6035
6053
  }, 8, ["class"]));
6036
6054
  }
6037
- }), Rc = ["aria-label"], Fc = { class: "hidden lg:inline" }, Oc = ["aria-label"], Nc = { class: "flex items-center gap-3 border-b border-gray-light-10/70 px-4 dark:border-white/10" }, Pc = ["placeholder"], Dc = { class: "max-h-[55vh] overflow-y-auto p-2" }, jc = ["href"], Uc = { class: "min-w-0" }, Hc = { class: "flex flex-wrap items-baseline gap-2" }, Kc = { class: "text-sm font-medium text-gray-dark-40 dark:text-white" }, qc = {
6055
+ }), Vc = ["aria-label"], Mc = { class: "hidden lg:inline" }, Rc = ["aria-label"], Fc = { class: "flex items-center gap-3 border-b border-gray-light-10/70 px-4 dark:border-white/10" }, Oc = ["placeholder"], Nc = { class: "max-h-[55vh] overflow-y-auto p-2" }, Pc = ["href"], Dc = { class: "min-w-0" }, jc = { class: "flex flex-wrap items-baseline gap-2" }, Uc = { class: "text-sm font-medium text-gray-dark-40 dark:text-white" }, Hc = {
6038
6056
  key: 0,
6039
6057
  class: "text-xs uppercase tracking-wider text-gray-main"
6040
- }, Wc = {
6058
+ }, Kc = {
6041
6059
  key: 0,
6042
6060
  class: "mt-0.5 block truncate text-xs text-gray-dark-25 dark:text-gray-main"
6043
- }, Xc = {
6061
+ }, qc = {
6044
6062
  key: 0,
6045
6063
  class: "px-4 py-10 text-center text-sm text-gray-dark-25 dark:text-gray-main"
6046
- }, Gu = /* @__PURE__ */ D({
6064
+ }, Wu = /* @__PURE__ */ D({
6047
6065
  __name: "VisionSearch",
6048
6066
  props: {
6049
6067
  items: {},
@@ -6083,9 +6101,9 @@ end;`, detail: "event(name: string)" },
6083
6101
  name: "search",
6084
6102
  size: 17
6085
6103
  }),
6086
- t("span", Fc, p(e.label), 1),
6104
+ t("span", Mc, p(e.label), 1),
6087
6105
  m[1] || (m[1] = t("kbd", { class: "hidden rounded border border-gray-light-10/60 px-1.5 py-0.5 font-mono text-xs text-gray-main dark:border-white/10 dark:text-gray-dark-25 lg:inline" }, "⌘K", -1))
6088
- ], 8, Rc),
6106
+ ], 8, Vc),
6089
6107
  (c(), L(sl, { to: "body" }, [
6090
6108
  l.value ? (c(), f("div", {
6091
6109
  key: 0,
@@ -6098,7 +6116,7 @@ end;`, detail: "event(name: string)" },
6098
6116
  "aria-modal": "true",
6099
6117
  "aria-label": e.dialogLabel
6100
6118
  }, [
6101
- t("div", Nc, [
6119
+ t("div", Fc, [
6102
6120
  g(I, {
6103
6121
  name: "search",
6104
6122
  size: 18,
@@ -6111,12 +6129,12 @@ end;`, detail: "event(name: string)" },
6111
6129
  type: "search",
6112
6130
  placeholder: e.placeholder,
6113
6131
  class: "h-14 min-w-0 flex-1 bg-transparent text-sm text-gray-dark-40 placeholder:text-gray-main focus:outline-none dark:text-white dark:placeholder:text-gray-main"
6114
- }, null, 8, Pc), [
6132
+ }, null, 8, Oc), [
6115
6133
  [Ot, o.value]
6116
6134
  ]),
6117
6135
  m[2] || (m[2] = t("kbd", { class: "hidden rounded border border-gray-light-10/60 px-1.5 py-0.5 font-mono text-xs text-gray-main dark:border-white/10 dark:text-gray-dark-25 sm:inline" }, "Esc", -1))
6118
6136
  ]),
6119
- t("div", Dc, [
6137
+ t("div", Nc, [
6120
6138
  (c(!0), f(P, null, X(i.value, (v) => (c(), f("a", {
6121
6139
  key: `${v.group}-${v.to}-${v.title}`,
6122
6140
  href: v.to,
@@ -6128,22 +6146,22 @@ end;`, detail: "event(name: string)" },
6128
6146
  size: 16,
6129
6147
  class: "mt-0.5 shrink-0 text-gray-main"
6130
6148
  }),
6131
- t("span", Uc, [
6132
- t("span", Hc, [
6133
- t("span", Kc, p(v.title), 1),
6134
- v.group ? (c(), f("span", qc, p(v.group), 1)) : C("", !0)
6149
+ t("span", Dc, [
6150
+ t("span", jc, [
6151
+ t("span", Uc, p(v.title), 1),
6152
+ v.group ? (c(), f("span", Hc, p(v.group), 1)) : C("", !0)
6135
6153
  ]),
6136
- v.description ? (c(), f("span", Wc, p(v.description), 1)) : C("", !0)
6154
+ v.description ? (c(), f("span", Kc, p(v.description), 1)) : C("", !0)
6137
6155
  ])
6138
- ], 8, jc))), 128)),
6139
- i.value.length ? C("", !0) : (c(), f("p", Xc, p(e.emptyText), 1))
6156
+ ], 8, Pc))), 128)),
6157
+ i.value.length ? C("", !0) : (c(), f("p", qc, p(e.emptyText), 1))
6140
6158
  ])
6141
- ], 8, Oc)
6159
+ ], 8, Rc)
6142
6160
  ])) : C("", !0)
6143
6161
  ]))
6144
6162
  ], 64));
6145
6163
  }
6146
- }), Gc = ["aria-label", "title"], Ju = /* @__PURE__ */ D({
6164
+ }), Wc = ["aria-label", "title"], Xu = /* @__PURE__ */ D({
6147
6165
  __name: "VisionThemeToggle",
6148
6166
  props: {
6149
6167
  labelLight: { default: "Включить светлую тему" },
@@ -6168,9 +6186,9 @@ end;`, detail: "event(name: string)" },
6168
6186
  name: n.value === "dark" ? "sun" : "moon",
6169
6187
  size: 18
6170
6188
  }, null, 8, ["name"])
6171
- ], 8, Gc));
6189
+ ], 8, Wc));
6172
6190
  }
6173
- }), Yu = /* @__PURE__ */ D({
6191
+ }), Gu = /* @__PURE__ */ D({
6174
6192
  __name: "VAutocomplete",
6175
6193
  props: {
6176
6194
  modelValue: { default: "" },
@@ -6215,7 +6233,7 @@ end;`, detail: "event(name: string)" },
6215
6233
  _: 3
6216
6234
  }, 16));
6217
6235
  }
6218
- }), Jc = { class: "v-expansion__content max-h-0 overflow-hidden transition-all duration-300" }, Yc = { class: "p-4" }, Zu = /* @__PURE__ */ D({
6236
+ }), Xc = { class: "v-expansion__content max-h-0 overflow-hidden transition-all duration-300" }, Gc = { class: "p-4" }, Ju = /* @__PURE__ */ D({
6219
6237
  __name: "VExpansion",
6220
6238
  props: {
6221
6239
  label: { default: "" },
@@ -6242,7 +6260,7 @@ end;`, detail: "event(name: string)" },
6242
6260
  }, [
6243
6261
  t("h4", null, p(e.label), 1),
6244
6262
  t("div", {
6245
- class: F(["transition text-gray-main", { "rotate-x-180": l.value }])
6263
+ class: R(["transition text-gray-main", { "rotate-x-180": l.value }])
6246
6264
  }, [
6247
6265
  g(I, {
6248
6266
  name: "chevron-down",
@@ -6250,17 +6268,17 @@ end;`, detail: "event(name: string)" },
6250
6268
  })
6251
6269
  ], 2)
6252
6270
  ]),
6253
- t("div", Jc, [
6254
- t("div", Yc, [
6271
+ t("div", Xc, [
6272
+ t("div", Gc, [
6255
6273
  O(i.$slots, "default")
6256
6274
  ])
6257
6275
  ])
6258
6276
  ], 512));
6259
6277
  }
6260
- }), Zc = ["onDragstart", "onDragenter"], Qc = {
6278
+ }), Jc = ["onDragstart", "onDragenter"], Yc = {
6261
6279
  key: 0,
6262
6280
  class: "absolute inset-0 border border-dashed border-blue-600 rounded"
6263
- }, Qu = /* @__PURE__ */ D({
6281
+ }, Yu = /* @__PURE__ */ D({
6264
6282
  __name: "VDragDrop",
6265
6283
  props: {
6266
6284
  items: {},
@@ -6304,7 +6322,7 @@ end;`, detail: "event(name: string)" },
6304
6322
  default: b(() => [
6305
6323
  (c(!0), f(P, null, X(e.items, ($, y) => (c(), f("div", {
6306
6324
  key: `${$.id}_drug`,
6307
- class: F(["relative group", r($)]),
6325
+ class: R(["relative group", r($)]),
6308
6326
  draggable: "true",
6309
6327
  onDragstart: (w) => u(w, $.id, y),
6310
6328
  onDragenter: (w) => s(y),
@@ -6318,17 +6336,17 @@ end;`, detail: "event(name: string)" },
6318
6336
  index: y,
6319
6337
  isDragging: o.value === $.id
6320
6338
  }),
6321
- i.value === y && o.value !== $.id ? (c(), f("div", Qc)) : C("", !0)
6322
- ], 42, Zc))), 128))
6339
+ i.value === y && o.value !== $.id ? (c(), f("div", Yc)) : C("", !0)
6340
+ ], 42, Jc))), 128))
6323
6341
  ]),
6324
6342
  _: 3
6325
6343
  })
6326
6344
  ], 32));
6327
6345
  }
6328
- }), eu = { class: "glass-inset overflow-x-auto rounded-md" }, tu = { class: "min-w-full" }, au = { class: "border-y border-gray-light-10/70 py-3 dark:border-white/10" }, lu = { class: "bg-gray-light-30/70 dark:bg-white/[0.04]" }, su = { class: "flex items-center" }, nu = { class: "divide-y divide-gray-light-30 dark:divide-white/5" }, ou = ["onClick"], iu = { class: "flex items-center text-gray-dark-30 dark:text-white/70" }, ru = { key: 1 }, du = {
6346
+ }), Zc = { class: "glass-inset overflow-x-auto rounded-md" }, Qc = { class: "min-w-full" }, eu = { class: "border-y border-gray-light-10/70 py-3 dark:border-white/10" }, tu = { class: "bg-gray-light-30/70 dark:bg-white/[0.04]" }, au = { class: "flex items-center" }, lu = { class: "divide-y divide-gray-light-30 dark:divide-white/5" }, su = ["onClick"], nu = { class: "flex items-center text-gray-dark-30 dark:text-white/70" }, ou = { key: 1 }, iu = {
6329
6347
  class: "py-3 whitespace-nowrap",
6330
6348
  colspan: "9"
6331
- }, cu = { class: "flex items-center justify-center px-2 text-sm text-gray-dark-25 dark:text-white/50" }, em = /* @__PURE__ */ D({
6349
+ }, ru = { class: "flex items-center justify-center px-2 text-sm text-gray-dark-25 dark:text-white/50" }, Zu = /* @__PURE__ */ D({
6332
6350
  __name: "VTable",
6333
6351
  props: {
6334
6352
  headers: { default: () => [] },
@@ -6337,24 +6355,24 @@ end;`, detail: "event(name: string)" },
6337
6355
  emits: ["click"],
6338
6356
  setup(e, { emit: n }) {
6339
6357
  const l = n, o = (r, u) => l("click", r, u), a = (r) => (r == null ? void 0 : r.className) || "", i = (r, { key: u }) => r == null ? void 0 : r[u];
6340
- return (r, u) => (c(), f("div", eu, [
6341
- t("table", tu, [
6342
- t("thead", au, [
6343
- t("tr", lu, [
6358
+ return (r, u) => (c(), f("div", Zc, [
6359
+ t("table", Qc, [
6360
+ t("thead", eu, [
6361
+ t("tr", tu, [
6344
6362
  (c(!0), f(P, null, X(e.headers, (s, d) => (c(), f("th", {
6345
6363
  key: d,
6346
- class: F(["px-4 py-2 whitespace-nowrap font-normal text-gray-dark-25 dark:text-white/50", a(s)])
6364
+ class: R(["px-4 py-2 whitespace-nowrap font-normal text-gray-dark-25 dark:text-white/50", a(s)])
6347
6365
  }, [
6348
6366
  O(r.$slots, "header", {
6349
6367
  item: s,
6350
6368
  i: d
6351
6369
  }, () => [
6352
- t("div", su, p(s.name), 1)
6370
+ t("div", au, p(s.name), 1)
6353
6371
  ])
6354
6372
  ], 2))), 128))
6355
6373
  ])
6356
6374
  ]),
6357
- t("tbody", nu, [
6375
+ t("tbody", lu, [
6358
6376
  e.items.length ? (c(!0), f(P, { key: 0 }, X(e.items, (s, d) => (c(), f("tr", {
6359
6377
  key: d,
6360
6378
  class: "transition-colors hover:bg-cyan-main/[0.04] dark:hover:bg-white/[0.04]",
@@ -6364,7 +6382,7 @@ end;`, detail: "event(name: string)" },
6364
6382
  key: v,
6365
6383
  class: "py-2 px-4"
6366
6384
  }, [
6367
- t("div", iu, [
6385
+ t("div", nu, [
6368
6386
  O(r.$slots, m.key, {
6369
6387
  item: s,
6370
6388
  i: d
@@ -6373,9 +6391,9 @@ end;`, detail: "event(name: string)" },
6373
6391
  ])
6374
6392
  ])
6375
6393
  ]))), 128))
6376
- ], 8, ou))), 128)) : (c(), f("tr", ru, [
6377
- t("td", du, [
6378
- t("div", cu, [
6394
+ ], 8, su))), 128)) : (c(), f("tr", ou, [
6395
+ t("td", iu, [
6396
+ t("div", ru, [
6379
6397
  O(r.$slots, "empty", {}, () => [
6380
6398
  u[0] || (u[0] = E("The list is empty", -1))
6381
6399
  ])
@@ -6386,7 +6404,7 @@ end;`, detail: "event(name: string)" },
6386
6404
  ])
6387
6405
  ]));
6388
6406
  }
6389
- }), tm = /* @__PURE__ */ D({
6407
+ }), Qu = /* @__PURE__ */ D({
6390
6408
  __name: "VTooltip",
6391
6409
  props: {
6392
6410
  timeout: {},
@@ -6427,53 +6445,53 @@ end;`, detail: "event(name: string)" },
6427
6445
  }
6428
6446
  });
6429
6447
  export {
6430
- yu as AppAside,
6431
- bu as AppHeader,
6432
- wu as AppNav,
6433
- xu as AppNotification,
6434
- ku as AppOverlay,
6435
- $u as AppProgress,
6436
- Eu as BlockBreadcrumb,
6448
+ pu as AppAside,
6449
+ hu as AppHeader,
6450
+ xu as AppNav,
6451
+ yu as AppNotification,
6452
+ bu as AppOverlay,
6453
+ ku as AppProgress,
6454
+ zu as BlockBreadcrumb,
6437
6455
  wa as BlockDataSettings,
6438
6456
  fo as BlockHost,
6439
- Iu as BlockImport,
6440
- Cu as BlockInfo,
6441
- Bu as BlockPicker,
6442
- _u as BlockScan,
6443
- Su as BlockService,
6457
+ Bu as BlockImport,
6458
+ wu as BlockInfo,
6459
+ Eu as BlockPicker,
6460
+ $u as BlockScan,
6461
+ Cu as BlockService,
6444
6462
  ko as BlockShell,
6445
- zu as BlockStatus,
6446
- Tu as BlockUpdate,
6447
- Lu as BlockView,
6463
+ _u as BlockStatus,
6464
+ Su as BlockUpdate,
6465
+ Au as BlockView,
6448
6466
  Je as CardBase,
6449
- Fu as CardButton,
6450
- Ou as CardDate,
6451
- Nu as CardDimmer,
6452
- Pu as CardInfo,
6453
- Du as CardInput,
6454
- ju as CardList,
6467
+ Mu as CardButton,
6468
+ Ru as CardDate,
6469
+ Fu as CardDimmer,
6470
+ Ou as CardInfo,
6471
+ Nu as CardInput,
6472
+ Pu as CardList,
6455
6473
  Ml as CardNotification,
6456
- Uu as CardPalette,
6474
+ Du as CardPalette,
6457
6475
  Ht as DEFAULT_METRIC_STYLE,
6458
- ed as DEFAULT_SUGGESTIONS,
6459
- Vu as EnergyFlowBlock,
6460
- sm as ICONS,
6461
- nm as ICON_NAMES,
6462
- Hu as ItemEdit,
6476
+ Zr as DEFAULT_SUGGESTIONS,
6477
+ Lu as EnergyFlowBlock,
6478
+ am as ICONS,
6479
+ lm as ICON_NAMES,
6480
+ ju as ItemEdit,
6463
6481
  Vt as MAX_METRICS,
6464
6482
  ut as MAX_METRIC_ARGS,
6465
- Wu as ScriptDialog,
6466
- Ku as ScriptEditor,
6467
- qu as ScriptViewDocs,
6468
- Xu as SerialConsole,
6469
- Yu as VAutocomplete,
6483
+ Ku as ScriptDialog,
6484
+ Uu as ScriptEditor,
6485
+ Hu as ScriptViewDocs,
6486
+ qu as SerialConsole,
6487
+ Gu as VAutocomplete,
6470
6488
  V as VButton,
6471
6489
  $a as VCard,
6472
6490
  rt as VCheckbox,
6473
6491
  He as VDialog,
6474
- Qu as VDragDrop,
6492
+ Yu as VDragDrop,
6475
6493
  Pt as VDropdown,
6476
- Zu as VExpansion,
6494
+ Ju as VExpansion,
6477
6495
  tn as VFile,
6478
6496
  ct as VFunc,
6479
6497
  I as VIcon,
@@ -6482,28 +6500,28 @@ export {
6482
6500
  Ct as VList,
6483
6501
  jt as VListObject,
6484
6502
  il as VLoader,
6485
- om as VPopup,
6503
+ sm as VPopup,
6486
6504
  xe as VSelect,
6487
- em as VTable,
6488
- dr as VTabs,
6505
+ Zu as VTable,
6506
+ ir as VTabs,
6489
6507
  oe as VTextField,
6490
6508
  Ut as VTextWrapper,
6491
- tm as VTooltip,
6509
+ Qu as VTooltip,
6492
6510
  ol as VWifiIcon,
6493
- Gu as VisionSearch,
6494
- Ju as VisionThemeToggle,
6511
+ Wu as VisionSearch,
6512
+ Xu as VisionThemeToggle,
6495
6513
  ci as createBlockContext,
6496
6514
  Li as createDeviceBlockStorage,
6497
6515
  ui as createDeviceContext,
6498
- Mu as deviceBlockStorage,
6516
+ Iu as deviceBlockStorage,
6499
6517
  mi as deviceProvider,
6500
6518
  di as energyFlowDefinition,
6501
- Yr as fullHighlighter,
6519
+ Gr as fullHighlighter,
6502
6520
  It as metricClasses,
6503
6521
  qt as resolveBlockBindings,
6504
6522
  Vn as resolveBlockMetrics,
6505
6523
  In as resolveMetric,
6506
- Au as resolveMetricArgValues,
6507
- ud as serialConsoleLabels,
6508
- Ru as useBlock
6524
+ Tu as resolveMetricArgValues,
6525
+ dd as serialConsoleLabels,
6526
+ Vu as useBlock
6509
6527
  };