vuesp-components 1.3.7 → 1.3.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -4,8 +4,8 @@ import { getFunction as _n, getParamsData as $n, getStateItem as wn, setStateIte
4
4
  import { dateUtcToString as je, timeUtcToString as Ne, findMenuItem as Oe, clone as Pe } from "./helpers/index.es.js";
5
5
  const Fe = {
6
6
  mounted(t, e) {
7
- t.clickOutsideEvent = function(o) {
8
- t === o.target || t.contains(o.target) || e.value(o, t);
7
+ t.clickOutsideEvent = function(n) {
8
+ t === n.target || t.contains(n.target) || e.value(n, t);
9
9
  }, document.addEventListener("click", t.clickOutsideEvent);
10
10
  },
11
11
  unmounted(t) {
@@ -567,8 +567,8 @@ const ql = { render: Wl }, B = /* @__PURE__ */ V({
567
567
  IconTheme: ll,
568
568
  IconInfo: Rl,
569
569
  IconPlus: ql
570
- }, o = M(() => t.name ? e[`Icon${t.name}`] : ve);
571
- return (r, a) => (s(), A(G(o.value), { name: "Icon" }));
570
+ }, n = M(() => t.name ? e[`Icon${t.name}`] : ve);
571
+ return (r, a) => (s(), A(G(n.value), { name: r.name }, null, 8, ["name"]));
572
572
  }
573
573
  }), Gl = { class: "no-scrollbar flex flex-col overflow-y-auto duration-300 ease-linear h-full" }, Kl = /* @__PURE__ */ V({
574
574
  __name: "AppAside",
@@ -577,8 +577,8 @@ const ql = { render: Wl }, B = /* @__PURE__ */ V({
577
577
  },
578
578
  emits: ["sidebar"],
579
579
  setup(t, { emit: e }) {
580
- const o = e, r = () => {
581
- t.isSidebar && o("sidebar", !t.isSidebar);
580
+ const n = e, r = () => {
581
+ t.isSidebar && n("sidebar", !t.isSidebar);
582
582
  };
583
583
  return (a, u) => {
584
584
  const d = oe("router-link");
@@ -617,10 +617,10 @@ const ql = { render: Wl }, B = /* @__PURE__ */ V({
617
617
  };
618
618
  }
619
619
  }), ge = (t, e) => {
620
- const o = t.__vccOpts || t;
620
+ const n = t.__vccOpts || t;
621
621
  for (const [r, a] of e)
622
- o[r] = a;
623
- return o;
622
+ n[r] = a;
623
+ return n;
624
624
  }, Zl = {}, Jl = {
625
625
  class: "animate-spin h-6 w-6",
626
626
  fill: "none",
@@ -658,7 +658,7 @@ const be = /* @__PURE__ */ ge(Zl, [["render", Ql]]), Xl = "relative flex justify
658
658
  },
659
659
  emits: ["click"],
660
660
  setup(t, { emit: e }) {
661
- const o = e, r = (m) => o("click", m), a = t.outline ? "border border-green-600 text-green-600" : "bg-green-600 dark:bg-green-800", u = t.outline ? "border border-red-600 text-red-600" : "bg-red-600 dark:bg-red-800", d = t.outline ? "border border-gray-600 text-gray-600" : "bg-gray-500 dark:bg-gray-800", f = t.outline ? "border border-blue-600 text-blue-600" : "bg-blue-700 dark:bg-blue-800", c = { green: a, red: u, gray: d, blue: f }, n = {
661
+ const n = e, r = (m) => n("click", m), a = t.outline ? "border border-green-600 text-green-600" : "bg-green-600 dark:bg-green-800", u = t.outline ? "border border-red-600 text-red-600" : "bg-red-600 dark:bg-red-800", d = t.outline ? "border border-gray-600 text-gray-600" : "bg-gray-500 dark:bg-gray-800", f = t.outline ? "border border-blue-600 text-blue-600" : "bg-blue-700 dark:bg-blue-800", c = { green: a, red: u, gray: d, blue: f }, o = {
662
662
  button: "px-4",
663
663
  icon: "rounded-full border border-gray-200 dark:border-gray-800"
664
664
  }, i = {
@@ -667,7 +667,7 @@ const be = /* @__PURE__ */ ge(Zl, [["render", Ql]]), Xl = "relative flex justify
667
667
  }, h = M(() => [Xl, w(t.color), b(t.type), $(t.type, t.size), { "w-full": t.block }]), y = M(() => t.href || t.to ? "router-link" : "button"), $ = (m, E) => {
668
668
  var Q;
669
669
  return ((Q = i[m]) == null ? void 0 : Q[E]) || "";
670
- }, b = (m) => (n == null ? void 0 : n[m]) || "", w = (m) => t.type === "icon" ? "" : `${t.outline ? "dark:text-white" : "text-white"} ${(c == null ? void 0 : c[m]) || ""}`;
670
+ }, b = (m) => (o == null ? void 0 : o[m]) || "", w = (m) => t.type === "icon" ? "" : `${t.outline ? "dark:text-white" : "text-white"} ${(c == null ? void 0 : c[m]) || ""}`;
671
671
  return (m, E) => (s(), A(G(y.value), H(m.$attrs, {
672
672
  href: m.href,
673
673
  to: m.to,
@@ -704,18 +704,18 @@ const be = /* @__PURE__ */ ge(Zl, [["render", Ql]]), Xl = "relative flex justify
704
704
  },
705
705
  emits: ["close", "open"],
706
706
  setup(t, { emit: e }) {
707
- const o = e, r = L(!1), a = { sm: "max-w-[330px]", md: "max-w-[600px]", lg: "max-w-[960px]" }, u = M(() => a[t.size]), d = (n) => {
707
+ const n = e, r = L(!1), a = { sm: "max-w-[330px]", md: "max-w-[600px]", lg: "max-w-[960px]" }, u = M(() => a[t.size]), d = (o) => {
708
708
  r.value = !1, setTimeout(() => {
709
- o("close", n);
709
+ n("close", o);
710
710
  }, 300);
711
- }, f = (n) => {
712
- t.callback && t.callback(), d(n);
713
- }, c = () => o("open", r.value);
711
+ }, f = (o) => {
712
+ t.callback && t.callback(), d(o);
713
+ }, c = () => n("open", r.value);
714
714
  return ne(() => {
715
715
  setTimeout(() => {
716
716
  r.value = !0;
717
717
  }, 300);
718
- }), (n, i) => (s(), A(we, { to: "body" }, [
718
+ }), (o, i) => (s(), A(we, { to: "body" }, [
719
719
  p(X, {
720
720
  "enter-active-class": "duration-300 ease-out",
721
721
  "enter-from-class": "transform opacity-0 -translate-y-2",
@@ -741,8 +741,8 @@ const be = /* @__PURE__ */ ge(Zl, [["render", Ql]]), Xl = "relative flex justify
741
741
  class: z(["m-auto w-full bg-gray-50 dark:bg-gray-900 shadow-lg flex flex-col rounded-sm z-30", u.value])
742
742
  }, [
743
743
  l("div", ea, [
744
- C(n.$slots, "header", {}, () => [
745
- l("h4", null, _(n.title), 1)
744
+ C(o.$slots, "header", {}, () => [
745
+ l("h4", null, _(o.title), 1)
746
746
  ]),
747
747
  p(j, {
748
748
  type: "icon",
@@ -755,19 +755,19 @@ const be = /* @__PURE__ */ ge(Zl, [["render", Ql]]), Xl = "relative flex justify
755
755
  })
756
756
  ]),
757
757
  l("div", ta, [
758
- C(n.$slots, "default", {}, () => [
759
- l("div", { innerHTML: n.message }, null, 8, la)
758
+ C(o.$slots, "default", {}, () => [
759
+ l("div", { innerHTML: o.message }, null, 8, la)
760
760
  ])
761
761
  ]),
762
- n.$slots.footer || n.callback ? (s(), v("div", aa, [
763
- C(n.$slots, "footer", {}, () => [
762
+ o.$slots.footer || o.callback ? (s(), v("div", aa, [
763
+ C(o.$slots, "footer", {}, () => [
764
764
  p(j, {
765
765
  color: "blue",
766
766
  size: "small",
767
767
  onClick: f
768
768
  }, {
769
769
  default: g(() => [
770
- T(_(n.button), 1)
770
+ T(_(o.button), 1)
771
771
  ]),
772
772
  _: 1
773
773
  })
@@ -792,21 +792,21 @@ const be = /* @__PURE__ */ ge(Zl, [["render", Ql]]), Xl = "relative flex justify
792
792
  },
793
793
  emits: ["click", "show", "close"],
794
794
  setup(t, { emit: e }) {
795
- const o = e, r = L(!1), a = M(() => ({ top: t.top, left: t.left, right: t.right, "max-height": t.height })), u = (i) => {
795
+ const n = e, r = L(!1), a = M(() => ({ top: t.top, left: t.left, right: t.right, "max-height": t.height })), u = (i) => {
796
796
  r.value && c(i);
797
797
  }, d = (i) => {
798
- r.value ? t.hideOnClick && c(i) : f(i), o("click", r.value);
798
+ r.value ? t.hideOnClick && c(i) : f(i), n("click", r.value);
799
799
  }, f = (i) => {
800
- r.value = !0, o("show", i);
800
+ r.value = !0, n("show", i);
801
801
  }, c = (i) => {
802
- r.value = !1, o("close", i);
803
- }, n = { click: d, open: f };
802
+ r.value = !1, n("close", i);
803
+ }, o = { click: d, open: f };
804
804
  return (i, h) => {
805
805
  const y = Ce("outside");
806
806
  return re((s(), v("div", sa, [
807
807
  l("div", oa, [
808
808
  C(i.$slots, "activator", {
809
- on: n,
809
+ on: o,
810
810
  show: r.value
811
811
  })
812
812
  ]),
@@ -826,7 +826,7 @@ const be = /* @__PURE__ */ ge(Zl, [["render", Ql]]), Xl = "relative flex justify
826
826
  onClick: d
827
827
  }, [
828
828
  C(i.$slots, "default", {
829
- on: n,
829
+ on: o,
830
830
  show: f,
831
831
  hide: c,
832
832
  isShown: r.value
@@ -848,11 +848,11 @@ const be = /* @__PURE__ */ ge(Zl, [["render", Ql]]), Xl = "relative flex justify
848
848
  },
849
849
  emits: ["click"],
850
850
  setup(t, { emit: e }) {
851
- const o = t, r = e, a = (u, d) => r("click", u, d);
851
+ const n = t, r = e, a = (u, d) => r("click", u, d);
852
852
  return (u, d) => (s(), v("ul", {
853
- class: z(o.className ?? "bg-white dark:bg-gray-800")
853
+ class: z(n.className ?? "bg-white dark:bg-gray-800")
854
854
  }, [
855
- (s(!0), v(D, null, N(o.list, (f) => (s(), v("li", {
855
+ (s(!0), v(D, null, N(n.list, (f) => (s(), v("li", {
856
856
  key: `${f.value}_${f.name}`,
857
857
  class: "whitespace-nowrap cursor-pointer flex items-center min-h-[40px] py-1 px-6 border-b last:border-b-0 dark:border-gray-700 border-gray-200 hover:bg-gray-50 dark:hover:bg-gray-700/30",
858
858
  onClick: (c) => a(f, c)
@@ -871,13 +871,13 @@ const be = /* @__PURE__ */ ge(Zl, [["render", Ql]]), Xl = "relative flex justify
871
871
  },
872
872
  emits: ["sidebar", "notif"],
873
873
  setup(t, { emit: e }) {
874
- const o = e, r = [
874
+ const n = e, r = [
875
875
  { name: "Theme", value: 1 },
876
876
  { name: "Notification", value: 2 },
877
877
  { name: "Logout", value: 3 }
878
- ], a = M(() => !!t.notifications.find((i) => i.isNew)), u = (i) => o("sidebar", i), d = (i) => o("notif", i), f = async () => await fetch("/", { headers: { Authorization: "Basic AAAAAAAAAAAAAAAAAAA=" } }), c = () => {
878
+ ], a = M(() => !!t.notifications.find((i) => i.isNew)), u = (i) => n("sidebar", i), d = (i) => n("notif", i), f = async () => await fetch("/", { headers: { Authorization: "Basic AAAAAAAAAAAAAAAAAAA=" } }), c = () => {
879
879
  t.changeTheme && t.changeTheme();
880
- }, n = ({ value: i }, h) => {
880
+ }, o = ({ value: i }, h) => {
881
881
  i == 1 && c(), i == 2 && d(h), i == 3 && f();
882
882
  };
883
883
  return (i, h) => {
@@ -976,7 +976,7 @@ const be = /* @__PURE__ */ ge(Zl, [["render", Ql]]), Xl = "relative flex justify
976
976
  default: g(() => [
977
977
  p(ee, {
978
978
  list: r,
979
- onClick: n
979
+ onClick: o
980
980
  }, {
981
981
  default: g(({ item: $ }) => [
982
982
  l("span", fa, _($.name), 1)
@@ -1005,10 +1005,10 @@ const be = /* @__PURE__ */ ge(Zl, [["render", Ql]]), Xl = "relative flex justify
1005
1005
  },
1006
1006
  emits: ["remove", "read"],
1007
1007
  setup(t, { emit: e }) {
1008
- const o = t, r = e, a = ["", "bg-green-500", "bg-red-500", "bg-yellow-500", "bg-blue-500"], u = (c) => a[c], d = (c) => r("remove", c), f = (c) => r("read", c);
1009
- return (c, n) => (s(), v("div", pa, [
1008
+ const n = t, r = e, a = ["", "bg-green-500", "bg-red-500", "bg-yellow-500", "bg-blue-500"], u = (c) => a[c], d = (c) => r("remove", c), f = (c) => r("read", c);
1009
+ return (c, o) => (s(), v("div", pa, [
1010
1010
  l("div", {
1011
- class: z(["absolute left-0 top-0 w-[3px] h-full", u(o.color)])
1011
+ class: z(["absolute left-0 top-0 w-[3px] h-full", u(n.color)])
1012
1012
  }, null, 2),
1013
1013
  p(j, {
1014
1014
  class: "shrink-0",
@@ -1018,8 +1018,8 @@ const be = /* @__PURE__ */ ge(Zl, [["render", Ql]]), Xl = "relative flex justify
1018
1018
  }, {
1019
1019
  default: g(() => [
1020
1020
  l("span", {
1021
- class: z([o.isNew ? "flex" : "hidden", "absolute right-0 top-0.5 z-1 h-2 w-2 rounded-full bg-orange-400"])
1022
- }, n[0] || (n[0] = [
1021
+ class: z([n.isNew ? "flex" : "hidden", "absolute right-0 top-0.5 z-1 h-2 w-2 rounded-full bg-orange-400"])
1022
+ }, o[0] || (o[0] = [
1023
1023
  l("span", { class: "absolute -z-1 inline-flex h-full w-full animate-ping rounded-full bg-orange-400 opacity-75" }, null, -1)
1024
1024
  ]), 2),
1025
1025
  p(B, {
@@ -1030,8 +1030,8 @@ const be = /* @__PURE__ */ ge(Zl, [["render", Ql]]), Xl = "relative flex justify
1030
1030
  _: 1
1031
1031
  }),
1032
1032
  l("div", ma, [
1033
- l("div", null, _(o.text), 1),
1034
- l("div", ga, _(F(je)(o.date)) + " (" + _(F(Ne)(o.date)) + ")", 1)
1033
+ l("div", null, _(n.text), 1),
1034
+ l("div", ga, _(F(je)(n.date)) + " (" + _(F(Ne)(n.date)) + ")", 1)
1035
1035
  ]),
1036
1036
  p(j, {
1037
1037
  class: "shrink-0",
@@ -1060,18 +1060,18 @@ const be = /* @__PURE__ */ ge(Zl, [["render", Ql]]), Xl = "relative flex justify
1060
1060
  },
1061
1061
  emits: ["close", "remove", "read"],
1062
1062
  setup(t, { emit: e }) {
1063
- const o = t, r = e, a = M(() => !!o.notifications.find((n) => n.isNew)), u = M(() => !!o.notifications.length), d = (n) => r("close", n), f = (n) => r("remove", n), c = (n) => r("read", n);
1064
- return (n, i) => (s(), v(D, null, [
1065
- o.value ? (s(), v("div", {
1063
+ const n = t, r = e, a = M(() => !!n.notifications.find((o) => o.isNew)), u = M(() => !!n.notifications.length), d = (o) => r("close", o), f = (o) => r("remove", o), c = (o) => r("read", o);
1064
+ return (o, i) => (s(), v(D, null, [
1065
+ n.value ? (s(), v("div", {
1066
1066
  key: 0,
1067
1067
  class: "overlay fixed left-0 top-0 h-full w-full bg-black/40 bg-blur",
1068
1068
  onClick: d
1069
1069
  })) : I("", !0),
1070
1070
  l("aside", {
1071
- class: z([o.value ? "translate-x-0 " : "translate-x-full", "overflow-x-hidden fixed top-[73px] right-0 flex h-[calc(100%-73px)] w-[290px] md:w-80 border-l border-gray-200 flex-col overflow-y-auto transition-all duration-350 dark:border-gray-800 bg-white dark:bg-gray-900"])
1071
+ class: z([n.value ? "translate-x-0 " : "translate-x-full", "overflow-x-hidden fixed top-[73px] right-0 flex h-[calc(100%-73px)] w-[290px] md:w-80 border-l border-gray-200 flex-col overflow-y-auto transition-all duration-350 dark:border-gray-800 bg-white dark:bg-gray-900"])
1072
1072
  }, [
1073
1073
  l("div", ya, [
1074
- C(n.$slots, "header", { isNew: a.value }),
1074
+ C(o.$slots, "header", { isNew: a.value }),
1075
1075
  u.value ? (s(), v("div", xa, [
1076
1076
  p(me, {
1077
1077
  "enter-active-class": "transition-all duration-300 ",
@@ -1082,11 +1082,11 @@ const be = /* @__PURE__ */ ge(Zl, [["render", Ql]]), Xl = "relative flex justify
1082
1082
  "leave-to-class": "opacity-0 translate-x-1/2"
1083
1083
  }, {
1084
1084
  default: g(() => [
1085
- (s(!0), v(D, null, N(o.notifications, (h) => (s(), v("div", {
1085
+ (s(!0), v(D, null, N(n.notifications, (h) => (s(), v("div", {
1086
1086
  key: h.date,
1087
1087
  class: "relative"
1088
1088
  }, [
1089
- C(n.$slots, "card", { item: h }, () => [
1089
+ C(o.$slots, "card", { item: h }, () => [
1090
1090
  p(ba, H({ ref_for: !0 }, h, {
1091
1091
  class: "bg-gray-200/50 dark:bg-gray-800/50 rounded-md",
1092
1092
  onRemove: (y) => f(h),
@@ -1097,7 +1097,7 @@ const be = /* @__PURE__ */ ge(Zl, [["render", Ql]]), Xl = "relative flex justify
1097
1097
  ]),
1098
1098
  _: 3
1099
1099
  })
1100
- ])) : C(n.$slots, "empty", { key: 1 })
1100
+ ])) : C(o.$slots, "empty", { key: 1 })
1101
1101
  ])
1102
1102
  ], 2)
1103
1103
  ], 64));
@@ -1120,8 +1120,8 @@ const za = /* @__PURE__ */ ge(_a, [["render", Ca]]), Va = { class: "mb-4 flex fl
1120
1120
  },
1121
1121
  emits: ["sidebar"],
1122
1122
  setup(t, { emit: e }) {
1123
- const o = e, r = L(""), a = ({ name: d }) => {
1124
- t.isSidebar && o("sidebar", !t.isSidebar), r.value !== d && (r.value = r.value === d ? "" : d);
1123
+ const n = e, r = L(""), a = ({ name: d }) => {
1124
+ t.isSidebar && n("sidebar", !t.isSidebar), r.value !== d && (r.value = r.value === d ? "" : d);
1125
1125
  }, u = (d) => t.fullPath === d;
1126
1126
  return W(
1127
1127
  () => t.menu,
@@ -1137,7 +1137,7 @@ const za = /* @__PURE__ */ ge(_a, [["render", Ca]]), Va = { class: "mb-4 flex fl
1137
1137
  (s(), A(G(c.path ? "router-link" : "span"), {
1138
1138
  to: c.path,
1139
1139
  class: z(["flex gap-2 items-center px-3 py-2 rounded-lg", u(c.path) ? "bg-blue-500/10" : "hover:bg-gray-500/10"]),
1140
- onClick: P((n) => a(c), ["prevent", "stop"])
1140
+ onClick: P((o) => a(c), ["prevent", "stop"])
1141
1141
  }, {
1142
1142
  default: g(() => [
1143
1143
  p(B, {
@@ -1149,7 +1149,7 @@ const za = /* @__PURE__ */ ge(_a, [["render", Ca]]), Va = { class: "mb-4 flex fl
1149
1149
  }, _(c.name), 3),
1150
1150
  l("button", {
1151
1151
  class: z(["cursor-pointer", [d.isSidebar ? "lg:hidden" : ""]]),
1152
- onClick: P((n) => a(c), ["prevent", "stop"])
1152
+ onClick: P((o) => a(c), ["prevent", "stop"])
1153
1153
  }, [
1154
1154
  c.children ? (s(), A(B, {
1155
1155
  key: 0,
@@ -1164,7 +1164,7 @@ const za = /* @__PURE__ */ ge(_a, [["render", Ca]]), Va = { class: "mb-4 flex fl
1164
1164
  class: z(["translate transform overflow-hidden mt-2", [d.isSidebar ? "lg:hidden" : "", r.value === c.name ? "block" : "hidden"]])
1165
1165
  }, [
1166
1166
  l("ul", Ma, [
1167
- (s(!0), v(D, null, N(c.children, ({ name: n, path: i, icon: h }) => (s(), v("li", { key: n }, [
1167
+ (s(!0), v(D, null, N(c.children, ({ name: o, path: i, icon: h }) => (s(), v("li", { key: o }, [
1168
1168
  (s(), A(G(i ? "router-link" : "span"), {
1169
1169
  to: i,
1170
1170
  class: z(["flex gap-2 items-center px-3 py-2 rounded-lg", u(i) ? "bg-blue-500/10" : "hover:bg-gray-500/10"])
@@ -1176,7 +1176,7 @@ const za = /* @__PURE__ */ ge(_a, [["render", Ca]]), Va = { class: "mb-4 flex fl
1176
1176
  name: h,
1177
1177
  class: "size-5 flex-[0_0_24px]"
1178
1178
  }, null, 8, ["name"])) : I("", !0),
1179
- l("span", Aa, _(n), 1)
1179
+ l("span", Aa, _(o), 1)
1180
1180
  ])
1181
1181
  ]),
1182
1182
  _: 2
@@ -1201,56 +1201,56 @@ function fe(...t) {
1201
1201
  return typeof e == "function" ? Ve(Be(() => ({ get: e, set: se }))) : L(e);
1202
1202
  }
1203
1203
  function Ha(t, e) {
1204
- function o(...r) {
1204
+ function n(...r) {
1205
1205
  return new Promise((a, u) => {
1206
1206
  Promise.resolve(t(() => e.apply(this, r), { fn: e, thisArg: this, args: r })).then(a).catch(u);
1207
1207
  });
1208
1208
  }
1209
- return o;
1209
+ return n;
1210
1210
  }
1211
1211
  function La(t, e = {}) {
1212
- let o, r, a = se;
1212
+ let n, r, a = se;
1213
1213
  const u = (c) => {
1214
1214
  clearTimeout(c), a(), a = se;
1215
1215
  };
1216
1216
  let d;
1217
1217
  return (c) => {
1218
- const n = Z(t), i = Z(e.maxWait);
1219
- return o && u(o), n <= 0 || i !== void 0 && i <= 0 ? (r && (u(r), r = void 0), Promise.resolve(c())) : new Promise((h, y) => {
1218
+ const o = Z(t), i = Z(e.maxWait);
1219
+ return n && u(n), o <= 0 || i !== void 0 && i <= 0 ? (r && (u(r), r = void 0), Promise.resolve(c())) : new Promise((h, y) => {
1220
1220
  a = e.rejectOnCancel ? y : h, d = c, i && !r && (r = setTimeout(() => {
1221
- o && u(o), r = void 0, h(d());
1222
- }, i)), o = setTimeout(() => {
1221
+ n && u(n), r = void 0, h(d());
1222
+ }, i)), n = setTimeout(() => {
1223
1223
  r && u(r), r = void 0, h(c());
1224
- }, n);
1224
+ }, o);
1225
1225
  });
1226
1226
  };
1227
1227
  }
1228
1228
  // @__NO_SIDE_EFFECTS__
1229
- function ie(t, e = 200, o = {}) {
1229
+ function ie(t, e = 200, n = {}) {
1230
1230
  return Ha(
1231
- La(e, o),
1231
+ La(e, n),
1232
1232
  t
1233
1233
  );
1234
1234
  }
1235
1235
  const de = Da ? window : void 0;
1236
1236
  function he(t) {
1237
1237
  var e;
1238
- const o = Z(t);
1239
- return (e = o == null ? void 0 : o.$el) != null ? e : o;
1238
+ const n = Z(t);
1239
+ return (e = n == null ? void 0 : n.$el) != null ? e : n;
1240
1240
  }
1241
1241
  // @__NO_SIDE_EFFECTS__
1242
1242
  function ja(t) {
1243
1243
  return M(() => !!t());
1244
1244
  }
1245
- function Na(t, e, o = {}) {
1246
- const { window: r = de, ...a } = o;
1245
+ function Na(t, e, n = {}) {
1246
+ const { window: r = de, ...a } = n;
1247
1247
  let u;
1248
1248
  const d = /* @__PURE__ */ ja(() => r && "ResizeObserver" in r), f = () => {
1249
1249
  u && (u.disconnect(), u = void 0);
1250
1250
  }, c = M(() => {
1251
1251
  const h = Z(t);
1252
1252
  return Array.isArray(h) ? h.map((y) => he(y)) : [he(h)];
1253
- }), n = W(
1253
+ }), o = W(
1254
1254
  c,
1255
1255
  (h) => {
1256
1256
  if (f(), d.value && r) {
@@ -1261,7 +1261,7 @@ function Na(t, e, o = {}) {
1261
1261
  },
1262
1262
  { immediate: !0, flush: "post" }
1263
1263
  ), i = () => {
1264
- f(), n();
1264
+ f(), o();
1265
1265
  };
1266
1266
  return Ta(i), {
1267
1267
  isSupported: d,
@@ -1272,9 +1272,9 @@ function Oa(t = de, e) {
1272
1272
  t && typeof t.requestAnimationFrame == "function" ? t.requestAnimationFrame(e) : e();
1273
1273
  }
1274
1274
  function Pa(t = {}) {
1275
- var e, o;
1276
- const { window: r = de } = t, a = fe(t == null ? void 0 : t.element), u = fe((e = t == null ? void 0 : t.input) != null ? e : ""), d = (o = t == null ? void 0 : t.styleProp) != null ? o : "height", f = ue(1), c = ue(0);
1277
- function n() {
1275
+ var e, n;
1276
+ const { window: r = de } = t, a = fe(t == null ? void 0 : t.element), u = fe((e = t == null ? void 0 : t.input) != null ? e : ""), d = (n = t == null ? void 0 : t.styleProp) != null ? n : "height", f = ue(1), c = ue(0);
1277
+ function o() {
1278
1278
  var i;
1279
1279
  if (!a.value)
1280
1280
  return;
@@ -1283,17 +1283,17 @@ function Pa(t = {}) {
1283
1283
  const y = Z(t == null ? void 0 : t.styleTarget);
1284
1284
  y ? y.style[d] = `${f.value}px` : h = `${f.value}px`, a.value.style[d] = h;
1285
1285
  }
1286
- return W([u, a], () => Ae(n), { immediate: !0 }), W(f, () => {
1286
+ return W([u, a], () => Ae(o), { immediate: !0 }), W(f, () => {
1287
1287
  var i;
1288
1288
  return (i = t == null ? void 0 : t.onResize) == null ? void 0 : i.call(t);
1289
1289
  }), Na(a, ([{ contentRect: i }]) => {
1290
1290
  c.value !== i.width && Oa(r, () => {
1291
- c.value = i.width, n();
1291
+ c.value = i.width, o();
1292
1292
  });
1293
- }), t != null && t.watch && W(t.watch, n, { immediate: !0, deep: !0 }), {
1293
+ }), t != null && t.watch && W(t.watch, o, { immediate: !0, deep: !0 }), {
1294
1294
  textarea: a,
1295
1295
  input: u,
1296
- triggerResize: n
1296
+ triggerResize: o
1297
1297
  };
1298
1298
  }
1299
1299
  const Fa = {
@@ -1317,7 +1317,7 @@ const Fa = {
1317
1317
  length: { default: 0 }
1318
1318
  },
1319
1319
  setup(t) {
1320
- const e = L(!1), o = M(() => !!t.length), r = M(() => !!(o.value && a.value === 100 && !t.status)), a = M(() => t.status ? Math.ceil(t.size * 100 / t.length) : 100), u = /* @__PURE__ */ ie(() => {
1320
+ const e = L(!1), n = M(() => !!t.length), r = M(() => !!(n.value && a.value === 100 && !t.status)), a = M(() => t.status ? Math.ceil(t.size * 100 / t.length) : 100), u = /* @__PURE__ */ ie(() => {
1321
1321
  e.value = !1;
1322
1322
  }, t.timeout);
1323
1323
  return W(
@@ -1350,12 +1350,12 @@ const Fa = {
1350
1350
  })
1351
1351
  ])
1352
1352
  ]),
1353
- o.value ? (s(), v("div", {
1353
+ n.value ? (s(), v("div", {
1354
1354
  key: 0,
1355
1355
  class: "h-[2px] fixed top-0 left-0 w-full bg-blue-600 transition-all duration-500",
1356
1356
  style: K(`width: ${a.value}%`)
1357
1357
  }, null, 4)) : I("", !0),
1358
- o.value ? (s(), v("div", Ua, [
1358
+ n.value ? (s(), v("div", Ua, [
1359
1359
  l("div", Wa, _(a.value) + "%", 1),
1360
1360
  l("div", {
1361
1361
  class: "bg-blue-600 rounded-full h-4 overflow-hidden relative transition-all duration-500",
@@ -1392,10 +1392,10 @@ const Fa = {
1392
1392
  name: {}
1393
1393
  },
1394
1394
  setup(t) {
1395
- const e = M(() => t.firmware.join(".")), o = M(() => {
1396
- var a, u, d, f, c, n, i;
1395
+ const e = M(() => t.firmware.join(".")), n = M(() => {
1396
+ var a, u, d, f, c, o, i;
1397
1397
  const r = [];
1398
- return (a = t.pkg) != null && a.homepage && r.push({ name: "homepage", href: t.pkg.homepage }), (d = (u = t.pkg) == null ? void 0 : u.repository) != null && d.url && r.push({ name: "repository", href: t.pkg.repository.url }), (c = (f = t.pkg) == null ? void 0 : f.bugs) != null && c.url && r.push({ name: "bugs", href: t.pkg.bugs.url }), (n = t.pkg) != null && n.author && r.push({ name: "author", href: `mailto:${(i = t.pkg) == null ? void 0 : i.author}` }), r;
1398
+ return (a = t.pkg) != null && a.homepage && r.push({ name: "homepage", href: t.pkg.homepage }), (d = (u = t.pkg) == null ? void 0 : u.repository) != null && d.url && r.push({ name: "repository", href: t.pkg.repository.url }), (c = (f = t.pkg) == null ? void 0 : f.bugs) != null && c.url && r.push({ name: "bugs", href: t.pkg.bugs.url }), (o = t.pkg) != null && o.author && r.push({ name: "author", href: `mailto:${(i = t.pkg) == null ? void 0 : i.author}` }), r;
1399
1399
  });
1400
1400
  return (r, a) => {
1401
1401
  var u, d;
@@ -1421,7 +1421,7 @@ const Fa = {
1421
1421
  a[4] || (a[4] = l("hr", { class: "dark:text-gray-700 text-gray-200 my-2" }, null, -1)),
1422
1422
  l("div", ss, [
1423
1423
  l("div", os, [
1424
- C(r.$slots, "links", { links: o.value })
1424
+ C(r.$slots, "links", { links: n.value })
1425
1425
  ])
1426
1426
  ])
1427
1427
  ]);
@@ -1434,7 +1434,7 @@ const Fa = {
1434
1434
  },
1435
1435
  emits: ["click"],
1436
1436
  setup(t, { emit: e }) {
1437
- const o = e, r = (a) => o("click", a);
1437
+ const n = e, r = (a) => n("click", a);
1438
1438
  return (a, u) => (s(), v("nav", null, [
1439
1439
  l("ol", ns, [
1440
1440
  (s(!0), v(D, null, N(a.items, (d, f) => (s(), v("li", {
@@ -1467,27 +1467,29 @@ const Fa = {
1467
1467
  }, is = {
1468
1468
  key: 1,
1469
1469
  class: "absolute top-0 left-0 w-full h-full bg-gray-50 dark:bg-gray-900 z-10 opacity-50"
1470
- }, ds = { class: "mb-6 flex items-center justify-between" }, cs = { class: "text-lg font-semibold text-gray-800 dark:text-white/90" }, us = { class: "max-w-full" }, vs = /* @__PURE__ */ V({
1470
+ }, ds = {
1471
+ key: 2,
1472
+ class: "mb-6 flex items-center justify-between"
1473
+ }, cs = { class: "text-lg font-semibold text-gray-800 dark:text-white/90" }, us = { class: "max-w-full" }, vs = /* @__PURE__ */ V({
1471
1474
  __name: "CardMain",
1472
1475
  props: {
1473
1476
  title: {},
1474
1477
  loading: { type: Boolean }
1475
1478
  },
1476
1479
  setup(t) {
1477
- const e = t;
1478
- return (o, r) => (s(), v("div", {
1480
+ return (e, n) => (s(), v("div", {
1479
1481
  class: z(["relative rounded-md border border-gray-200 bg-white p-5 dark:border-gray-800 dark:bg-white/[0.03] sm:p-6", { "overflow-hidden": e.loading }])
1480
1482
  }, [
1481
- o.loading ? (s(), v("div", rs)) : I("", !0),
1482
- o.loading ? (s(), v("div", is)) : I("", !0),
1483
- l("div", ds, [
1483
+ e.loading ? (s(), v("div", rs)) : I("", !0),
1484
+ e.loading ? (s(), v("div", is)) : I("", !0),
1485
+ e.title ? (s(), v("div", ds, [
1484
1486
  l("h3", cs, _(e.title), 1),
1485
1487
  l("div", null, [
1486
- C(o.$slots, "header")
1488
+ C(e.$slots, "header")
1487
1489
  ])
1488
- ]),
1490
+ ])) : I("", !0),
1489
1491
  l("div", us, [
1490
- C(o.$slots, "default")
1492
+ C(e.$slots, "default")
1491
1493
  ])
1492
1494
  ], 2));
1493
1495
  }
@@ -1509,7 +1511,7 @@ const Fa = {
1509
1511
  },
1510
1512
  emits: ["edit", "close", "click", "open", "setState"],
1511
1513
  setup(t, { emit: e }) {
1512
- const o = t, r = e, a = L(!1), u = M(() => ["button", "dimmer"].includes(o.type || "") && o.value ? "text-amber-500" : "text-gray-400"), d = M(() => o.icon || ""), f = (h) => r("edit", h), c = () => a.value = !0, n = (h) => r("open", h), i = (h) => {
1514
+ const n = t, r = e, a = L(!1), u = M(() => ["button", "dimmer"].includes(n.type || "") && n.value ? "text-amber-500" : "text-gray-400"), d = M(() => n.icon || ""), f = (h) => r("edit", h), c = () => a.value = !0, o = (h) => r("open", h), i = (h) => {
1513
1515
  a.value = !1, r("close", h);
1514
1516
  };
1515
1517
  return (h, y) => {
@@ -1524,21 +1526,21 @@ const Fa = {
1524
1526
  }, [
1525
1527
  p(B, {
1526
1528
  name: d.value,
1527
- class: z(["size-8", o.value ? "animate-shake" : ""])
1529
+ class: z(["size-8", n.value ? "animate-shake" : ""])
1528
1530
  }, null, 8, ["name", "class"])
1529
1531
  ], 2),
1530
- C(h.$slots, "header", R(U(o)))
1532
+ C(h.$slots, "header", R(U(n)))
1531
1533
  ]),
1532
1534
  l("div", null, [
1533
- C(h.$slots, "body", R(U(o)), () => [
1535
+ C(h.$slots, "body", R(U(n)), () => [
1534
1536
  l("h6", hs, [
1535
- C(h.$slots, "name", R(U(o)), () => [
1536
- T(_(o.name), 1)
1537
+ C(h.$slots, "name", R(U(n)), () => [
1538
+ T(_(n.name), 1)
1537
1539
  ])
1538
1540
  ]),
1539
1541
  l("div", ps, [
1540
- C(h.$slots, "value", R(U(o)), () => [
1541
- T(_(o.valueTo || o.value), 1)
1542
+ C(h.$slots, "value", R(U(n)), () => [
1543
+ T(_(n.valueTo || n.value), 1)
1542
1544
  ])
1543
1545
  ])
1544
1546
  ])
@@ -1550,10 +1552,10 @@ const Fa = {
1550
1552
  }, null, 8, ["name"])) : I("", !0),
1551
1553
  a.value ? (s(), A($, {
1552
1554
  key: 1,
1553
- size: o.size || "sm",
1555
+ size: n.size || "sm",
1554
1556
  title: h.name,
1555
1557
  onClose: i,
1556
- onOpen: n
1558
+ onOpen: o
1557
1559
  }, {
1558
1560
  header: g(() => [
1559
1561
  l("div", ms, [
@@ -1572,14 +1574,14 @@ const Fa = {
1572
1574
  l("div", gs, [
1573
1575
  l("div", bs, [
1574
1576
  l("h3", ys, [
1575
- C(h.$slots, "dialog-name", R(U(o)), () => [
1576
- T(_(o.name), 1)
1577
+ C(h.$slots, "dialog-name", R(U(n)), () => [
1578
+ T(_(n.name), 1)
1577
1579
  ])
1578
1580
  ]),
1579
- C(h.$slots, "dialog", R(U(o))),
1581
+ C(h.$slots, "dialog", R(U(n))),
1580
1582
  l("p", xs, [
1581
- C(h.$slots, "dialog-value", R(U(o)), () => [
1582
- T(_(o.valueTo || o.value), 1)
1583
+ C(h.$slots, "dialog-value", R(U(n)), () => [
1584
+ T(_(n.valueTo || n.value), 1)
1583
1585
  ])
1584
1586
  ])
1585
1587
  ])
@@ -1608,14 +1610,14 @@ const Fa = {
1608
1610
  },
1609
1611
  emits: ["edit", "close", "click", "open", "setState"],
1610
1612
  setup(t, { emit: e }) {
1611
- const o = t, r = e, a = ({ opts: f = {} }) => {
1613
+ const n = t, r = e, a = ({ opts: f = {} }) => {
1612
1614
  const { disabled: c } = f;
1613
1615
  return { disabled: c };
1614
- }, u = (f) => r("click", f), d = () => r("setState", !o.value);
1615
- return (f, c) => (s(), A(q, H(o, { onClick: u }), {
1616
- header: g((n) => [
1616
+ }, u = (f) => r("click", f), d = () => r("setState", !n.value);
1617
+ return (f, c) => (s(), A(q, H(n, { onClick: u }), {
1618
+ header: g((o) => [
1617
1619
  l("div", ks, [
1618
- p(j, H(a(n), {
1620
+ p(j, H(a(o), {
1619
1621
  type: "icon",
1620
1622
  class: "text-gray-500",
1621
1623
  onClick: P(d, ["stop"])
@@ -1630,11 +1632,11 @@ const Fa = {
1630
1632
  }, 1040)
1631
1633
  ])
1632
1634
  ]),
1633
- dialog: g((n) => [
1635
+ dialog: g((o) => [
1634
1636
  l("div", _s, [
1635
- p(j, H(a(n), {
1637
+ p(j, H(a(o), {
1636
1638
  type: "icon",
1637
- class: ["size-18", o.value ? "text-amber-500" : "text-blue-600 dark:text-blue-400"],
1639
+ class: ["size-18", n.value ? "text-amber-500" : "text-blue-600 dark:text-blue-400"],
1638
1640
  onClick: P(d, ["stop"])
1639
1641
  }), {
1640
1642
  default: g(() => [
@@ -1668,19 +1670,19 @@ const Fa = {
1668
1670
  },
1669
1671
  emits: ["update:modelValue", "click", "on-icon", "enter", "blur"],
1670
1672
  setup(t, { emit: e }) {
1671
- const o = e, r = {
1673
+ const n = e, r = {
1672
1674
  input: "w-full h-full px-4 outline-none overflow-ellipsis flex-auto overflow-hidden w-[calc(100% - 20px)] bg-transparent",
1673
1675
  textarea: "h-full w-full px-4 py-2 outline-none flex-auto bg-transparent"
1674
1676
  }, a = L(!1), u = M(() => [
1675
1677
  t.component === "input" ? "h-[40px]" : "min-h-[40px]",
1676
1678
  t.message ? "border-red-500 hover:border-red-400" : "",
1677
1679
  t.disabled ? "border-gray-400 opacity-40" : "border-gray-300 hover:border-gray-400 dark:border-gray-700/50 hover:dark:border-gray-600/50"
1678
- ]), d = M(() => r[t.component]), f = (m) => m || m === 0, c = M(() => [Vs, a.value || f(t.modelValue) || t.active ? "top-0 left-3 text-xs" : "top-1/2"]), n = M(() => t.component === "input"), i = (m) => {
1679
- a.value = !1, o("blur", m);
1680
+ ]), d = M(() => r[t.component]), f = (m) => m || m === 0, c = M(() => [Vs, a.value || f(t.modelValue) || t.active ? "top-0 left-3 text-xs" : "top-1/2"]), o = M(() => t.component === "input"), i = (m) => {
1681
+ a.value = !1, n("blur", m);
1680
1682
  }, h = (m) => {
1681
- a.value = !0, o("blur", m);
1682
- }, y = ({ target: m }) => o("update:modelValue", m.value), $ = (m) => o("enter", m), b = (m) => o("click", m), w = (m) => {
1683
- t.disabled || o("on-icon", m);
1683
+ a.value = !0, n("blur", m);
1684
+ }, y = ({ target: m }) => n("update:modelValue", m.value), $ = (m) => n("enter", m), b = (m) => n("click", m), w = (m) => {
1685
+ t.disabled || n("on-icon", m);
1684
1686
  };
1685
1687
  return (m, E) => (s(), v("div", ws, [
1686
1688
  l("label", {
@@ -1694,8 +1696,8 @@ const Fa = {
1694
1696
  disabled: !!m.disabled,
1695
1697
  type: m.type,
1696
1698
  readonly: m.readonly,
1697
- rows: n.value ? null : "2",
1698
- wrap: n.value ? null : "soft",
1699
+ rows: o.value ? null : "2",
1700
+ wrap: o.value ? null : "soft",
1699
1701
  class: d.value,
1700
1702
  onFocus: h,
1701
1703
  onBlur: i,
@@ -1737,15 +1739,15 @@ const Fa = {
1737
1739
  },
1738
1740
  emits: ["edit", "close", "click", "open", "setState"],
1739
1741
  setup(t, { emit: e }) {
1740
- const o = t, r = e, a = (c) => new Date(+c * 1e3).toISOString().slice(0, 16), u = (c) => {
1742
+ const n = t, r = e, a = (c) => new Date(+c * 1e3).toISOString().slice(0, 16), u = (c) => {
1741
1743
  var i;
1742
- const n = (i = c == null ? void 0 : c.target) == null ? void 0 : i.valueAsNumber;
1743
- n && r("setState", n / 1e3);
1744
- }, d = ({ name: c, value: n, opts: i = {} }) => {
1744
+ const o = (i = c == null ? void 0 : c.target) == null ? void 0 : i.valueAsNumber;
1745
+ o && r("setState", o / 1e3);
1746
+ }, d = ({ name: c, value: o, opts: i = {} }) => {
1745
1747
  const { disabled: h } = i;
1746
- return { label: c, modelValue: a(n), disabled: h };
1748
+ return { label: c, modelValue: a(o), disabled: h };
1747
1749
  }, f = (c) => r("click", c);
1748
- return (c, n) => (s(), A(q, H(o, { onClick: f }), {
1750
+ return (c, o) => (s(), A(q, H(n, { onClick: f }), {
1749
1751
  dialog: g((i) => [
1750
1752
  l("div", Bs, [
1751
1753
  p(O, H(d(i), {
@@ -1783,11 +1785,11 @@ const Fa = {
1783
1785
  },
1784
1786
  emits: ["edit", "close", "click", "open", "setState"],
1785
1787
  setup(t, { emit: e }) {
1786
- const o = t, r = e, a = ({ opts: n, value: i }) => Math.round(100 * +i / ((n == null ? void 0 : n.max) || 255)), u = ({ opts: n, value: i }) => Math.round(187 - +i / ((n == null ? void 0 : n.max) || 255) * 187), d = ({ value: n, opts: i }) => {
1788
+ const n = t, r = e, a = ({ opts: o, value: i }) => Math.round(100 * +i / ((o == null ? void 0 : o.max) || 255)), u = ({ opts: o, value: i }) => Math.round(187 - +i / ((o == null ? void 0 : o.max) || 255) * 187), d = ({ value: o, opts: i }) => {
1787
1789
  const { min: h = 0, max: y = 255, step: $ = 1, disabled: b } = i || {};
1788
- return { min: h, max: y, step: $, value: n, disabled: !!b, class: b ? "" : "cursor-pointer" };
1789
- }, f = (n) => r("click", n), c = (n) => r("setState", +n.target.value || 0);
1790
- return (n, i) => (s(), A(q, H(o, { onClick: f }), {
1790
+ return { min: h, max: y, step: $, value: o, disabled: !!b, class: b ? "" : "cursor-pointer" };
1791
+ }, f = (o) => r("click", o), c = (o) => r("setState", +o.target.value || 0);
1792
+ return (o, i) => (s(), A(q, H(n, { onClick: f }), {
1791
1793
  header: g((h) => [
1792
1794
  l("div", Is, [
1793
1795
  l("div", As, [
@@ -1852,8 +1854,8 @@ const Fa = {
1852
1854
  },
1853
1855
  emits: ["edit", "close", "click", "open", "setState"],
1854
1856
  setup(t, { emit: e }) {
1855
- const o = t, r = e, a = (u) => r("click", u);
1856
- return (u, d) => (s(), A(q, H(o, { onClick: a }), {
1857
+ const n = t, r = e, a = (u) => r("click", u);
1858
+ return (u, d) => (s(), A(q, H(n, { onClick: a }), {
1857
1859
  default: g(() => [
1858
1860
  C(u.$slots, "dialog")
1859
1861
  ]),
@@ -1878,14 +1880,14 @@ const Fa = {
1878
1880
  },
1879
1881
  emits: ["edit", "close", "click", "open", "setState"],
1880
1882
  setup(t, { emit: e }) {
1881
- const o = t, r = e, a = ({ name: f, value: c, opts: n = {} }) => {
1882
- const { disabled: i } = n;
1883
+ const n = t, r = e, a = ({ name: f, value: c, opts: o = {} }) => {
1884
+ const { disabled: i } = o;
1883
1885
  return { label: f, modelValue: c, disabled: i };
1884
1886
  }, u = (f) => r("setState", f.target.value), d = (f) => r("click", f);
1885
- return (f, c) => (s(), A(q, H(o, { onClick: d }), {
1886
- dialog: g((n) => [
1887
+ return (f, c) => (s(), A(q, H(n, { onClick: d }), {
1888
+ dialog: g((o) => [
1887
1889
  l("div", js, [
1888
- p(O, H(a(n), {
1890
+ p(O, H(a(o), {
1889
1891
  autofocus: "",
1890
1892
  onEnter: u,
1891
1893
  onBlur: u
@@ -1913,17 +1915,17 @@ const Fa = {
1913
1915
  },
1914
1916
  emits: ["update:modelValue", "change"],
1915
1917
  setup(t, { emit: e }) {
1916
- const o = e, r = M(() => {
1918
+ const n = e, r = M(() => {
1917
1919
  const f = t.list.find((c) => c.value === t.value);
1918
1920
  return (f == null ? void 0 : f.name) || "";
1919
1921
  }), a = (f) => ({ "rotate-x-180": f }), u = (f) => {
1920
- const c = f.target, n = (c == null ? void 0 : c.value) || 0, i = t.list.find((h) => h.value == n);
1921
- i && o("change", i);
1922
+ const c = f.target, o = (c == null ? void 0 : c.value) || 0, i = t.list.find((h) => h.value == o);
1923
+ i && n("change", i);
1922
1924
  }, d = (f, c) => {
1923
- f.click(new Event("click")), o("change", c);
1925
+ f.click(new Event("click")), n("change", c);
1924
1926
  };
1925
1927
  return (f, c) => (s(), A(Y, H({ class: "relative w-full" }, f.$attrs, { top: "46px" }), {
1926
- activator: g(({ on: n, show: i }) => [
1928
+ activator: g(({ on: o, show: i }) => [
1927
1929
  p(O, {
1928
1930
  "model-value": r.value,
1929
1931
  readonly: "",
@@ -1931,8 +1933,8 @@ const Fa = {
1931
1933
  disabled: f.disabled,
1932
1934
  active: "",
1933
1935
  label: f.label,
1934
- onClick: n.click,
1935
- onOnIcon: n.click
1936
+ onClick: o.click,
1937
+ onOnIcon: o.click
1936
1938
  }, {
1937
1939
  icon: g(() => [
1938
1940
  p(B, {
@@ -1954,10 +1956,10 @@ const Fa = {
1954
1956
  }, _(h.name), 9, Os))), 128))
1955
1957
  ], 32)
1956
1958
  ]),
1957
- default: g(({ on: n }) => [
1959
+ default: g(({ on: o }) => [
1958
1960
  p(ee, {
1959
1961
  list: f.list,
1960
- onClick: (i) => d(n, i)
1962
+ onClick: (i) => d(o, i)
1961
1963
  }, {
1962
1964
  default: g(({ item: i }) => [
1963
1965
  C(f.$slots, "default", { item: i }, () => [
@@ -1988,14 +1990,14 @@ const Fa = {
1988
1990
  },
1989
1991
  emits: ["edit", "close", "click", "open", "setState"],
1990
1992
  setup(t, { emit: e }) {
1991
- const o = t, r = e, a = (c) => r("click", c), u = ({ value: c }) => r("setState", c), d = ({ opts: c, value: n }) => {
1993
+ const n = t, r = e, a = (c) => r("click", c), u = ({ value: c }) => r("setState", c), d = ({ opts: c, value: o }) => {
1992
1994
  var i;
1993
- return Array.isArray(c == null ? void 0 : c.list) && ((i = c == null ? void 0 : c.list.find((h) => h.value === n)) == null ? void 0 : i.name) || n;
1994
- }, f = ({ name: c, value: n, opts: i = {} }) => {
1995
+ return Array.isArray(c == null ? void 0 : c.list) && ((i = c == null ? void 0 : c.list.find((h) => h.value === o)) == null ? void 0 : i.name) || o;
1996
+ }, f = ({ name: c, value: o, opts: i = {} }) => {
1995
1997
  const { list: h = [], disabled: y } = i;
1996
- return { label: c, value: n, list: h, disabled: y };
1998
+ return { label: c, value: o, list: h, disabled: y };
1997
1999
  };
1998
- return (c, n) => (s(), A(q, H(o, { onClick: a }), {
2000
+ return (c, o) => (s(), A(q, H(n, { onClick: a }), {
1999
2001
  value: g((i) => [
2000
2002
  T(_(d(i)), 1)
2001
2003
  ]),
@@ -2059,7 +2061,7 @@ const Fa = {
2059
2061
  },
2060
2062
  emits: ["icon"],
2061
2063
  setup(t, { emit: e }) {
2062
- const o = e, r = M(() => t.active ? "top-0 left-3 text-xs" : "top-1/2"), a = M(() => [t.disabled ? "border-gray-400 opacity-40" : "border-gray-300 hover:border-gray-400 dark:border-gray-700/50 hover:dark:border-gray-600/50"]);
2064
+ const n = e, r = M(() => t.active ? "top-0 left-3 text-xs" : "top-1/2"), a = M(() => [t.disabled ? "border-gray-400 opacity-40" : "border-gray-300 hover:border-gray-400 dark:border-gray-700/50 hover:dark:border-gray-600/50"]);
2063
2065
  return (u, d) => (s(), v("div", qs, [
2064
2066
  l("div", {
2065
2067
  class: z(["relative w-full min-h-[40px] border border-gray-300 dark:border-gray-700 flex items-center rounded transition bg-white dark:bg-gray-800", a.value])
@@ -2074,7 +2076,7 @@ const Fa = {
2074
2076
  key: 0,
2075
2077
  disabled: u.disabled,
2076
2078
  class: z([{ "cursor-pointer": !u.disabled }, "h-full flex items-center justify-center text-gray-400 border-l border-gray-300 dark:border-gray-700/50 flex-[0_0_50px]"]),
2077
- onClick: d[0] || (d[0] = (f) => o("icon", f))
2079
+ onClick: d[0] || (d[0] = (f) => n("icon", f))
2078
2080
  }, [
2079
2081
  C(u.$slots, "icon", {}, () => [
2080
2082
  p(B, {
@@ -2101,13 +2103,13 @@ const Fa = {
2101
2103
  },
2102
2104
  emits: ["click"],
2103
2105
  setup(t, { emit: e }) {
2104
- const o = e, r = () => "before:absolute before:w-full before:h-8 before:t-0 before:left-0 before:border-b before:border-gray-200 dark:before:border-gray-800/50 hover:before:bg-gray-400/10", a = L({}), u = (n) => {
2105
- a.value[n] = !a.value[n];
2106
- }, d = (n) => typeof n == "object", f = (n) => `${t.path ? t.path + "." : ""}${n}`, c = (n, i) => {
2107
- o("click", { key: n, path: f(n), isObject: i });
2106
+ const n = e, r = () => "before:absolute before:w-full before:h-8 before:t-0 before:left-0 before:border-b before:border-gray-200 dark:before:border-gray-800/50 hover:before:bg-gray-400/10", a = L({}), u = (o) => {
2107
+ a.value[o] = !a.value[o];
2108
+ }, d = (o) => typeof o == "object", f = (o) => `${t.path ? t.path + "." : ""}${o}`, c = (o, i) => {
2109
+ n("click", { key: o, path: f(o), isObject: i });
2108
2110
  };
2109
- return (n, i) => (s(), v("ul", null, [
2110
- (s(!0), v(D, null, N(n.items, (h, y) => (s(), v("li", {
2111
+ return (o, i) => (s(), v("ul", null, [
2112
+ (s(!0), v(D, null, N(o.items, (h, y) => (s(), v("li", {
2111
2113
  key: y,
2112
2114
  class: z(d(h) ? "" : `flex items-center ${r()}`)
2113
2115
  }, [
@@ -2122,7 +2124,7 @@ const Fa = {
2122
2124
  })
2123
2125
  ])) : I("", !0),
2124
2126
  l("div", null, _(y), 1),
2125
- !n.onlyValue && d(h) ? (s(), v(D, { key: 1 }, [
2127
+ !o.onlyValue && d(h) ? (s(), v(D, { key: 1 }, [
2126
2128
  i[1] || (i[1] = l("div", { class: "flex-auto" }, null, -1)),
2127
2129
  l("div", Qs, [
2128
2130
  l("button", {
@@ -2142,8 +2144,8 @@ const Fa = {
2142
2144
  class: "flex-auto",
2143
2145
  path: f(y),
2144
2146
  items: h,
2145
- onlyValue: n.onlyValue,
2146
- onClick: i[0] || (i[0] = ($) => o("click", $))
2147
+ onlyValue: o.onlyValue,
2148
+ onClick: i[0] || (i[0] = ($) => n("click", $))
2147
2149
  }, null, 8, ["path", "items", "onlyValue"]), [
2148
2150
  [Te, a.value[y]]
2149
2151
  ])
@@ -2170,8 +2172,8 @@ const Fa = {
2170
2172
  items: {}
2171
2173
  },
2172
2174
  emits: ["click"],
2173
- setup(t, { expose: e, emit: o }) {
2174
- const r = o, a = L(t.value || 0), u = (f) => [a.value === f ? "" : "before:hidden"], d = (f) => {
2175
+ setup(t, { expose: e, emit: n }) {
2176
+ const r = n, a = L(t.value || 0), u = (f) => [a.value === f ? "" : "before:hidden"], d = (f) => {
2175
2177
  a.value = f, r("click", f);
2176
2178
  };
2177
2179
  return e({
@@ -2179,18 +2181,18 @@ const Fa = {
2179
2181
  activeTab: a
2180
2182
  }), (f, c) => (s(), v("div", lo, [
2181
2183
  l("div", ao, [
2182
- (s(!0), v(D, null, N(f.items, (n, i) => (s(), v("div", {
2184
+ (s(!0), v(D, null, N(f.items, (o, i) => (s(), v("div", {
2183
2185
  key: i,
2184
2186
  class: "relative"
2185
2187
  }, [
2186
2188
  l("button", {
2187
2189
  class: z(["font-medium text-lg transition cursor-pointer before:h-[2px] before:absolute before:w-full before:bg-blue-700 before:left-0 before:bottom-0 px-4 py-2", u(i)]),
2188
2190
  onClick: (h) => d(i)
2189
- }, _(n.title), 11, so)
2191
+ }, _(o.title), 11, so)
2190
2192
  ]))), 128))
2191
2193
  ]),
2192
2194
  l("div", oo, [
2193
- (s(!0), v(D, null, N(f.items, (n, i) => (s(), v("div", {
2195
+ (s(!0), v(D, null, N(f.items, (o, i) => (s(), v("div", {
2194
2196
  key: i,
2195
2197
  class: "tab-panel"
2196
2198
  }, [
@@ -2224,32 +2226,32 @@ const Fa = {
2224
2226
  },
2225
2227
  emits: ["change", "icon", "hover"],
2226
2228
  setup(t, { emit: e }) {
2227
- const { textarea: o, input: r } = Pa(), a = e, u = ["v", "a", "b", "c"];
2229
+ const { textarea: n, input: r } = Pa(), a = e, u = ["v", "a", "b", "c"];
2228
2230
  r.value = t.value || "";
2229
- const d = (n) => {
2231
+ const d = (o) => {
2230
2232
  try {
2231
- return new Function(n), !0;
2233
+ return new Function(o), !0;
2232
2234
  } catch (i) {
2233
2235
  return console.warn(i), !1;
2234
2236
  }
2235
- }, f = /* @__PURE__ */ ie((n) => {
2236
- const i = n.target;
2237
+ }, f = /* @__PURE__ */ ie((o) => {
2238
+ const i = o.target;
2237
2239
  d(i.value) && a("change", i.value);
2238
- }, 500), c = (n) => a("icon", n);
2240
+ }, 500), c = (o) => a("icon", o);
2239
2241
  return W(
2240
2242
  () => t.value,
2241
2243
  () => {
2242
2244
  t.value && (r.value = t.value);
2243
2245
  }
2244
- ), (n, i) => (s(), A(xe, {
2245
- active: !!n.value,
2246
- disabled: n.disabled,
2247
- label: n.label,
2248
- hideIcon: n.hideIcon,
2246
+ ), (o, i) => (s(), A(xe, {
2247
+ active: !!o.value,
2248
+ disabled: o.disabled,
2249
+ label: o.label,
2250
+ hideIcon: o.hideIcon,
2249
2251
  onIcon: c
2250
2252
  }, {
2251
2253
  icon: g(() => [
2252
- n.value ? (s(), A(B, {
2254
+ o.value ? (s(), A(B, {
2253
2255
  key: 0,
2254
2256
  name: "Close",
2255
2257
  class: "size-4"
@@ -2260,10 +2262,10 @@ const Fa = {
2260
2262
  }))
2261
2263
  ]),
2262
2264
  default: g(() => [
2263
- n.value ? (s(), v(D, { key: 0 }, [
2265
+ o.value ? (s(), v(D, { key: 0 }, [
2264
2266
  l("div", io, [
2265
2267
  i[3] || (i[3] = T(" ( ")),
2266
- (s(!0), v(D, null, N(n.args, (h, y) => (s(), v(D, { key: h }, [
2268
+ (s(!0), v(D, null, N(o.args, (h, y) => (s(), v(D, { key: h }, [
2267
2269
  l("span", {
2268
2270
  class: "text-blue-400/80",
2269
2271
  title: h,
@@ -2277,11 +2279,11 @@ const Fa = {
2277
2279
  l("div", uo, [
2278
2280
  re(l("textarea", {
2279
2281
  ref_key: "textarea",
2280
- ref: o,
2282
+ ref: n,
2281
2283
  "onUpdate:modelValue": i[0] || (i[0] = (h) => De(r) ? r.value = h : null),
2282
2284
  class: "outline-0 w-full resize-none",
2283
2285
  type: "text",
2284
- disabled: n.disabled,
2286
+ disabled: o.disabled,
2285
2287
  onInput: i[1] || (i[1] = //@ts-ignore
2286
2288
  (...h) => F(f) && F(f)(...h))
2287
2289
  }, null, 40, vo), [
@@ -2301,10 +2303,10 @@ const Fa = {
2301
2303
  },
2302
2304
  emits: ["update:modelValue", "click"],
2303
2305
  setup(t, { emit: e }) {
2304
- const o = e, r = (u) => {
2306
+ const n = e, r = (u) => {
2305
2307
  const d = u.target;
2306
- o("update:modelValue", d.checked);
2307
- }, a = (u) => o("click", u);
2308
+ n("update:modelValue", d.checked);
2309
+ }, a = (u) => n("click", u);
2308
2310
  return (u, d) => (s(), v("label", {
2309
2311
  class: z(["inline-flex items-center relative", { "cursor-pointer": !u.disabled }]),
2310
2312
  onClick: a
@@ -2355,19 +2357,19 @@ const Fa = {
2355
2357
  },
2356
2358
  emits: ["update"],
2357
2359
  setup(t, { emit: e }) {
2358
- const o = e, r = M(() => t.list.map((b, w) => ({ ...b, id: ++w }))), a = L({ name: "", value: "" }), u = M(() => t.list.length + 1), d = M(() => {
2360
+ const n = e, r = M(() => t.list.map((b, w) => ({ ...b, id: ++w }))), a = L({ name: "", value: "" }), u = M(() => t.list.length + 1), d = M(() => {
2359
2361
  var b;
2360
2362
  return !((b = a.value) != null && b.id);
2361
- }), f = (b) => t.type === b, c = (b, w) => o("update", b, w), n = (b) => b.map(({ name: w, value: m }) => ({ name: w, value: m })), i = ({ id: b, name: w, value: m }) => a.value = { id: b, name: w, value: m }, h = () => {
2363
+ }), f = (b) => t.type === b, c = (b, w) => n("update", b, w), o = (b) => b.map(({ name: w, value: m }) => ({ name: w, value: m })), i = ({ id: b, name: w, value: m }) => a.value = { id: b, name: w, value: m }, h = () => {
2362
2364
  const b = u.value;
2363
- a.value = { name: `New_${b}`, value: b, id: b }, c("list", n([a.value, ...r.value]));
2365
+ a.value = { name: `New_${b}`, value: b, id: b }, c("list", o([a.value, ...r.value]));
2364
2366
  }, y = (b) => {
2365
- a.value.name === b.name && (a.value = { name: "", value: "" }), c("list", n(r.value.filter((w) => w.value !== b.value)));
2367
+ a.value.name === b.name && (a.value = { name: "", value: "" }), c("list", o(r.value.filter((w) => w.value !== b.value)));
2366
2368
  }, $ = /* @__PURE__ */ ie(() => {
2367
2369
  const b = a.value;
2368
2370
  if (!b.name || !b.value) return;
2369
2371
  const w = r.value.map((m) => m.id === b.id ? b : m);
2370
- c("list", n(w));
2372
+ c("list", o(w));
2371
2373
  }, 300);
2372
2374
  return (b, w) => (s(), v("div", mo, [
2373
2375
  l("div", go, [
@@ -2466,7 +2468,7 @@ const Fa = {
2466
2468
  },
2467
2469
  emits: ["button"],
2468
2470
  setup(t, { emit: e }) {
2469
- const o = e, r = [{ title: "Main" }, { title: "Data" }, { title: "Options" }], a = L({
2471
+ const n = e, r = [{ title: "Main" }, { title: "Data" }, { title: "Options" }], a = L({
2470
2472
  id: "",
2471
2473
  name: "",
2472
2474
  type: "button",
@@ -2482,7 +2484,7 @@ const Fa = {
2482
2484
  }), f = M(() => a.value.type === "info"), c = M(() => {
2483
2485
  var x;
2484
2486
  return (x = a.value.args) == null ? void 0 : x.length;
2485
- }), n = M(() => a.value.args.length > 3), i = M(() => {
2487
+ }), o = M(() => a.value.args.length > 3), i = M(() => {
2486
2488
  const { id: x, args: k } = a.value;
2487
2489
  return !x || !k.length;
2488
2490
  }), h = ({ value: x }) => a.value.icon = x, y = ({ value: x }) => {
@@ -2490,7 +2492,7 @@ const Fa = {
2490
2492
  a.value.type = k, delete a.value.opts, ["button", "list", "dimmer"].includes(k) && (x === "button" && (a.value.opts = {}), x === "list" && (a.value.opts = { list: [] }), x === "dimmer" && (a.value.opts = { min: 0, max: 255, step: 1 }));
2491
2493
  }, $ = (x) => {
2492
2494
  x === "get" && (a.value.get ? delete a.value.get : a.value.get = "v"), x === "set" && (a.value.set ? delete a.value.set : a.value.set = "v"), x === "getTo" && (a.value.getTo ? delete a.value.getTo : a.value.getTo = "v");
2493
- }, b = (x) => o("button", x, a.value), w = (x) => a.value.args = a.value.args.filter((k) => k !== x), m = ({ path: x }) => {
2495
+ }, b = (x) => n("button", x, a.value), w = (x) => a.value.args = a.value.args.filter((k) => k !== x), m = ({ path: x }) => {
2494
2496
  a.value.args.length || (a.value.id = x), a.value.args.push(x), u.value = !1;
2495
2497
  }, E = L(-1), Q = (x) => E.value === x, te = (x, k) => {
2496
2498
  x === "enter" && (E.value = k), x === "leave" && (E.value = -1);
@@ -2559,7 +2561,7 @@ const Fa = {
2559
2561
  l("div", Ao, [
2560
2562
  p(xe, {
2561
2563
  active: !!a.value.args.length,
2562
- disabled: n.value,
2564
+ disabled: o.value,
2563
2565
  label: "Arguments",
2564
2566
  onIcon: k[2] || (k[2] = (S) => u.value = !0)
2565
2567
  }, {
@@ -2712,8 +2714,8 @@ const Fa = {
2712
2714
  },
2713
2715
  emits: ["update:modelValue", "select"],
2714
2716
  setup(t, { emit: e }) {
2715
- const o = e, r = (u) => o("update:modelValue", u), a = (u, d) => {
2716
- u.click(new Event("click")), o("select", d);
2717
+ const n = e, r = (u) => n("update:modelValue", u), a = (u, d) => {
2718
+ u.click(new Event("click")), n("select", d);
2717
2719
  };
2718
2720
  return (u, d) => (s(), A(Y, H(u.$attrs, {
2719
2721
  top: "50px",
@@ -2752,12 +2754,12 @@ const Fa = {
2752
2754
  value: { type: Boolean, default: !1 }
2753
2755
  },
2754
2756
  setup(t) {
2755
- const e = L(null), o = L(t.value), r = () => {
2757
+ const e = L(null), n = L(t.value), r = () => {
2756
2758
  if (!e.value) return;
2757
2759
  const u = e.value.querySelector(".v-expansion__content");
2758
- u && (u.style.maxHeight = o.value ? `${u.scrollHeight}px` : "0");
2760
+ u && (u.style.maxHeight = n.value ? `${u.scrollHeight}px` : "0");
2759
2761
  }, a = () => {
2760
- o.value = !o.value, r();
2762
+ n.value = !n.value, r();
2761
2763
  };
2762
2764
  return ne(() => {
2763
2765
  r();
@@ -2772,7 +2774,7 @@ const Fa = {
2772
2774
  }, [
2773
2775
  l("h4", null, _(u.label), 1),
2774
2776
  l("div", {
2775
- class: z(["transition text-gray-400", { "rotate-180": o.value }])
2777
+ class: z(["transition text-gray-400", { "rotate-180": n.value }])
2776
2778
  }, [
2777
2779
  p(B, { name: "Chevron" })
2778
2780
  ], 2)
@@ -2788,9 +2790,9 @@ const Fa = {
2788
2790
  __name: "VFile",
2789
2791
  emits: ["change"],
2790
2792
  setup(t, { emit: e }) {
2791
- const o = e, r = async (a) => {
2793
+ const n = e, r = async (a) => {
2792
2794
  const u = a.target;
2793
- u.files && o("change", u.files);
2795
+ u.files && n("change", u.files);
2794
2796
  };
2795
2797
  return (a, u) => (s(), v("label", Uo, [
2796
2798
  l("input", H({
@@ -2807,11 +2809,11 @@ const Fa = {
2807
2809
  channel: { default: 0 }
2808
2810
  },
2809
2811
  setup(t) {
2810
- const e = 2 * (t.rssi + 100), o = (r) => r < e;
2812
+ const e = 2 * (t.rssi + 100), n = (r) => r < e;
2811
2813
  return (r, a) => (s(), v("div", Wo, [
2812
2814
  (s(), v(D, null, N([10, 15, 25, 40, 70], (u, d) => l("div", {
2813
2815
  key: u,
2814
- class: z(["w-1 h-5 rounded-lg", [o(u) ? "bg-gray-900 dark:bg-gray-100" : "bg-gray-300 dark:bg-gray-700"]]),
2816
+ class: z(["w-1 h-5 rounded-lg", [n(u) ? "bg-gray-900 dark:bg-gray-100" : "bg-gray-300 dark:bg-gray-700"]]),
2815
2817
  style: K(`height: ${(d + 1) * 5}px`),
2816
2818
  title: `rssi: ${r.rssi} channel: ${r.channel}`
2817
2819
  }, null, 14, qo)), 64)),
@@ -2829,21 +2831,21 @@ const Fa = {
2829
2831
  },
2830
2832
  emits: ["update:items", "order-change"],
2831
2833
  setup(t, { emit: e }) {
2832
- const o = e, r = L(null), a = L(0), u = L(-1), d = ({ id: h }) => ({
2834
+ const n = e, r = L(null), a = L(0), u = L(-1), d = ({ id: h }) => ({
2833
2835
  "opacity-30 scale-105 z-10": r.value === h,
2834
2836
  "transition-transform duration-200": r.value !== h
2835
2837
  }), f = (h, y, $) => {
2836
2838
  r.value = y, a.value = $, h.dataTransfer.effectAllowed = "move";
2837
2839
  }, c = (h) => {
2838
2840
  r.value !== null && (u.value = h);
2839
- }, n = () => {
2841
+ }, o = () => {
2840
2842
  r.value = null, u.value = -1;
2841
2843
  }, i = (h) => {
2842
2844
  if (h.preventDefault(), r.value && u.value !== -1) {
2843
2845
  const y = t.items.findIndex((b) => b[t.itemKey] === r.value), $ = u.value;
2844
2846
  if (y !== $ && $ !== -1) {
2845
2847
  const b = [...t.items], [w] = b.splice(y, 1);
2846
- b.splice($, 0, w), o("update:items", b), o("order-change", { fromIndex: y, toIndex: $, movedItem: w, newOrder: b });
2848
+ b.splice($, 0, w), n("update:items", b), n("order-change", { fromIndex: y, toIndex: $, movedItem: w, newOrder: b });
2847
2849
  }
2848
2850
  }
2849
2851
  u.value = -1;
@@ -2869,7 +2871,7 @@ const Fa = {
2869
2871
  draggable: "true",
2870
2872
  onDragstart: (w) => f(w, $.id, b),
2871
2873
  onDragenter: (w) => c(b),
2872
- onDragend: n,
2874
+ onDragend: o,
2873
2875
  onDragover: y[0] || (y[0] = P(() => {
2874
2876
  }, ["prevent"]))
2875
2877
  }, [
@@ -2897,12 +2899,12 @@ const Fa = {
2897
2899
  },
2898
2900
  emits: ["click"],
2899
2901
  setup(t, { emit: e }) {
2900
- const o = e, r = (d, f) => o("click", { item: d, event: f }), a = (d) => (d == null ? void 0 : d.className) || "", u = (d, { key: f }) => d == null ? void 0 : d[f];
2902
+ const n = e, r = (d, f) => n("click", { item: d, event: f }), a = (d) => (d == null ? void 0 : d.className) || "", u = (d, { key: f }) => d == null ? void 0 : d[f];
2901
2903
  return (d, f) => (s(), v("table", Qo, [
2902
2904
  l("thead", Xo, [
2903
2905
  l("tr", Yo, [
2904
- (s(!0), v(D, null, N(d.headers, (c, n) => (s(), v("th", {
2905
- key: n,
2906
+ (s(!0), v(D, null, N(d.headers, (c, o) => (s(), v("th", {
2907
+ key: o,
2906
2908
  class: z(["py-2 whitespace-nowrap text-gray-500 dark:text-gray-400 font-normal px-4", a(c)])
2907
2909
  }, [
2908
2910
  C(d.$slots, "header", { item: c }, () => [
@@ -2912,8 +2914,8 @@ const Fa = {
2912
2914
  ])
2913
2915
  ]),
2914
2916
  l("tbody", tn, [
2915
- d.items.length ? (s(!0), v(D, { key: 0 }, N(d.items, (c, n) => (s(), v("tr", {
2916
- key: n,
2917
+ d.items.length ? (s(!0), v(D, { key: 0 }, N(d.items, (c, o) => (s(), v("tr", {
2918
+ key: o,
2917
2919
  class: "hover:bg-gray-50/50 dark:hover:bg-gray-800/50",
2918
2920
  onClick: (i) => r(c, i)
2919
2921
  }, [
@@ -2943,7 +2945,7 @@ const Fa = {
2943
2945
  install: (t) => {
2944
2946
  Object.keys(pe).forEach((e) => {
2945
2947
  t.component(e, pe[e]);
2946
- }), Ee.forEach(({ name: e, directive: o }) => t.directive(e, o));
2948
+ }), Ee.forEach(({ name: e, directive: n }) => t.directive(e, n));
2947
2949
  }
2948
2950
  };
2949
2951
  export {