@hotelinking/ui 16.49.18 → 16.49.20

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/ui.es.js CHANGED
@@ -1,8 +1,8 @@
1
- import { defineComponent as A, createBlock as w, createElementBlock as s, openBlock as l, resolveDynamicComponent as Fe, normalizeClass as x, computed as j, createCommentVNode as b, renderSlot as G, createElementVNode as t, ref as V, watch as Z, unref as f, withCtx as y, createVNode as m, toDisplayString as u, createTextVNode as B, Transition as we, Fragment as k, renderList as S, withDirectives as D, vModelDynamic as yl, vShow as O, withModifiers as ne, vModelText as xe, createStaticVNode as ee, resolveComponent as it, vModelCheckbox as yt, onMounted as Oe, mergeProps as Le, reactive as ke, normalizeStyle as qe, nextTick as be, onUnmounted as bl, TransitionGroup as vl, isRef as bt } from "vue";
1
+ import { defineComponent as T, createBlock as w, createElementBlock as s, openBlock as l, resolveDynamicComponent as Fe, normalizeClass as x, computed as A, createCommentVNode as b, renderSlot as G, createElementVNode as t, ref as V, watch as Z, unref as f, withCtx as y, createVNode as m, toDisplayString as u, createTextVNode as B, Transition as we, Fragment as k, renderList as S, withDirectives as L, vModelDynamic as yl, vShow as O, withModifiers as ne, vModelText as xe, createStaticVNode as ee, resolveComponent as it, vModelCheckbox as yt, onMounted as Oe, mergeProps as Le, reactive as ke, normalizeStyle as qe, nextTick as be, onUnmounted as bl, TransitionGroup as vl, isRef as bt } from "vue";
2
2
  import { Menu as Ze, MenuButton as We, MenuItems as Ge, MenuItem as Je, Combobox as vt, ComboboxLabel as xt, ComboboxInput as pt, ComboboxButton as wt, ComboboxOptions as kt, ComboboxOption as $t, SwitchGroup as xl, Switch as pl, SwitchLabel as wl, TransitionRoot as Ke, Dialog as Qe, TransitionChild as ce, DialogPanel as Xe, DialogTitle as Ct, Disclosure as _e, DisclosureButton as se, DisclosurePanel as Ie, Popover as kl, PopoverButton as $l, PopoverPanel as Cl, Listbox as Sl, ListboxLabel as Bl, ListboxButton as Ml, ListboxOptions as zl, ListboxOption as jl } from "@headlessui/vue";
3
3
  import Y from "dayjs";
4
4
  import Al from "@vueform/slider";
5
- const L = /* @__PURE__ */ A({
5
+ const P = /* @__PURE__ */ T({
6
6
  __name: "uiIcon",
7
7
  props: {
8
8
  icon: {},
@@ -38,7 +38,7 @@ const L = /* @__PURE__ */ A({
38
38
  })
39
39
  }, null, 8, ["class"]));
40
40
  }
41
- }), Tl = ["disabled"], Dl = "group inline-flex items-center border border-transparent font-medium focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:opacity-25 text-nowrap", U = /* @__PURE__ */ A({
41
+ }), Tl = ["disabled"], Dl = "group inline-flex items-center border border-transparent font-medium focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:opacity-25 text-nowrap", U = /* @__PURE__ */ T({
42
42
  __name: "uiButton",
43
43
  props: {
44
44
  block: { type: Boolean },
@@ -59,10 +59,10 @@ const L = /* @__PURE__ */ A({
59
59
  small: "px-2.5 py-1.5 text-xs rounded leading-none",
60
60
  medium: "px-4 py-2 text-sm rounded-md",
61
61
  big: "px-6 py-3 text-base rounded-md"
62
- }, n = j(() => {
62
+ }, n = A(() => {
63
63
  const a = [Dl];
64
64
  return g.color && i[g.color] && a.push(i[g.color]), g.size && o[g.size] && a.push(o[g.size]), g.block && a.push("w-full flex items-center justify-center"), a.join(" ");
65
- }), r = j(() => [
65
+ }), r = A(() => [
66
66
  "animate-pulse px-4 py-2.5 text-sm rounded-md inline-flex items-center border border-transparent font-medium shadow-sm text-white focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:opacity-25 bg-gray-200"
67
67
  ].join(" "));
68
68
  return (a, d) => e.loading ? (l(), s("button", {
@@ -70,7 +70,7 @@ const L = /* @__PURE__ */ A({
70
70
  class: x(r.value),
71
71
  type: "button"
72
72
  }, [
73
- e.icon ? (l(), w(L, {
73
+ e.icon ? (l(), w(P, {
74
74
  key: 0,
75
75
  icon: e.icon,
76
76
  color: "white",
@@ -84,7 +84,7 @@ const L = /* @__PURE__ */ A({
84
84
  class: x(n.value),
85
85
  type: "button"
86
86
  }, [
87
- e.icon ? (l(), w(L, {
87
+ e.icon ? (l(), w(P, {
88
88
  key: 0,
89
89
  icon: e.icon,
90
90
  class: "-ml-0.5 mr-2",
@@ -100,7 +100,7 @@ const L = /* @__PURE__ */ A({
100
100
  }, Pl = { class: "flex items-center h-5" }, Fl = ["checked", "value", "disabled"], Ol = { class: "ml-3 text-sm" }, _l = { class: "text-black" }, Il = {
101
101
  key: 1,
102
102
  class: "flex items-center animate-pulse"
103
- }, ue = /* @__PURE__ */ A({
103
+ }, ue = /* @__PURE__ */ T({
104
104
  __name: "uiCheckbox",
105
105
  props: {
106
106
  check: { type: Boolean, default: !1 },
@@ -714,7 +714,7 @@ const ts = {
714
714
  }, ss = { class: "-py-1" }, ns = ["onClick"], as = {
715
715
  key: 1,
716
716
  class: "animate-pulse px-4 py-2 bg-gray-200 rounded-md inline-flex items-center relative text-left h-10"
717
- }, ge = /* @__PURE__ */ A({
717
+ }, ge = /* @__PURE__ */ T({
718
718
  __name: "uiDropdown",
719
719
  props: {
720
720
  items: {},
@@ -727,7 +727,7 @@ const ts = {
727
727
  },
728
728
  emits: ["optionSelected"],
729
729
  setup(e, { emit: g }) {
730
- const i = g, o = e, n = j(() => {
730
+ const i = g, o = e, n = A(() => {
731
731
  let a = o.items.find((d) => d.active === !0);
732
732
  return a ? a.name : o.label;
733
733
  }), r = (a) => {
@@ -825,7 +825,7 @@ const ts = {
825
825
  }, ms = {
826
826
  key: 0,
827
827
  class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-2/3 md:w-1/4 mb-1.5"
828
- }, ae = /* @__PURE__ */ A({
828
+ }, ae = /* @__PURE__ */ T({
829
829
  __name: "uiInput",
830
830
  props: {
831
831
  label: {},
@@ -871,7 +871,7 @@ const ts = {
871
871
  onClick: d[0] || (d[0] = (c) => a.$emit("addOnClicked")),
872
872
  class: "inline-flex items-center px-3 rounded-l-md border border-r-0 border-gray-800 bg-black text-white hover:text-black hover:bg-lime-400 sm:text-sm cursor-pointer"
873
873
  }, u(e.addOn), 1)) : b("", !0),
874
- D(t("input", {
874
+ L(t("input", {
875
875
  "onUpdate:modelValue": d[1] || (d[1] = (c) => n.value = c),
876
876
  max: e.max,
877
877
  class: x([{
@@ -904,27 +904,27 @@ const ts = {
904
904
  class: "inline-flex items-center px-3 rounded-r-md border border-l-0 border-black bg-black hover:bg-lime-400 hover:text-black text-white sm:text-sm cursor-pointer"
905
905
  }, u(e.rightAddOn), 1)) : b("", !0),
906
906
  t("div", us, [
907
- e.icon ? (l(), w(L, {
907
+ e.icon ? (l(), w(P, {
908
908
  key: 0,
909
909
  icon: e.icon,
910
910
  color: e.color,
911
911
  loading: e.loading
912
912
  }, null, 8, ["icon", "color", "loading"])) : b("", !0),
913
- D(m(L, {
913
+ L(m(P, {
914
914
  icon: f(et),
915
915
  color: "green",
916
916
  loading: e.loading
917
917
  }, null, 8, ["icon", "loading"]), [
918
918
  [O, e.color === "green"]
919
919
  ]),
920
- D(m(L, {
920
+ L(m(P, {
921
921
  icon: f(te),
922
922
  color: "yellow",
923
923
  loading: e.loading
924
924
  }, null, 8, ["icon", "loading"]), [
925
925
  [O, e.color === "yellow"]
926
926
  ]),
927
- D(m(L, {
927
+ L(m(P, {
928
928
  icon: f(ie),
929
929
  color: "red",
930
930
  loading: e.loading
@@ -933,7 +933,7 @@ const ts = {
933
933
  ])
934
934
  ])
935
935
  ], 2),
936
- D(t("p", {
936
+ L(t("p", {
937
937
  class: x([{
938
938
  "text-gray-400": e.color === "gray",
939
939
  "text-red-600": e.color === "red",
@@ -954,7 +954,7 @@ const ts = {
954
954
  }, vs = { class: "space-y-1 flex flex-col items-center justify-center" }, xs = { class: "flex text-sm flex-col sm:flex-row text-center" }, ps = ["for"], ws = ["id", "name", "accept"], ks = { class: "pl-1" }, $s = { class: "text-xs pb-4" }, Cs = { class: "mt-2 text-xs flex flex-row items-center text-red-600" }, Ss = {
955
955
  key: 1,
956
956
  class: "animate-pulse"
957
- }, Ee = /* @__PURE__ */ A({
957
+ }, Ee = /* @__PURE__ */ T({
958
958
  __name: "uiInputFile",
959
959
  props: {
960
960
  name: {},
@@ -1008,7 +1008,7 @@ const ts = {
1008
1008
  onDrop: ne(r, ["prevent"])
1009
1009
  }, [
1010
1010
  t("div", vs, [
1011
- m(L, {
1011
+ m(P, {
1012
1012
  icon: e.icon,
1013
1013
  size: "massive",
1014
1014
  color: "black",
@@ -1035,13 +1035,13 @@ const ts = {
1035
1035
  t("p", ks, u(e.dragAndDrop), 1)
1036
1036
  ]),
1037
1037
  t("p", $s, u(e.fileTypesAndSizes), 1),
1038
- D(t("p", { class: "font-bold text-xs uppercase block p-2 bg-lime-50 rounded" }, u(f(i)), 513), [
1038
+ L(t("p", { class: "font-bold text-xs uppercase block p-2 bg-lime-50 rounded" }, u(f(i)), 513), [
1039
1039
  [O, f(i) !== null]
1040
1040
  ])
1041
1041
  ])
1042
1042
  ], 34),
1043
- D(t("p", Cs, [
1044
- m(L, {
1043
+ L(t("p", Cs, [
1044
+ m(P, {
1045
1045
  icon: f(Ve),
1046
1046
  color: "red",
1047
1047
  class: "mr-2",
@@ -1059,7 +1059,7 @@ const ts = {
1059
1059
  }, zs = { class: "relative" }, js = {
1060
1060
  key: 1,
1061
1061
  class: "animate-pulse px-4 py-2.5 bg-gray-200 rounded-md flex justify-between items-center w-full"
1062
- }, As = /* @__PURE__ */ A({
1062
+ }, As = /* @__PURE__ */ T({
1063
1063
  __name: "uiSelect",
1064
1064
  props: {
1065
1065
  items: {},
@@ -1075,9 +1075,9 @@ const ts = {
1075
1075
  },
1076
1076
  emits: ["selectChanged"],
1077
1077
  setup(e, { expose: g, emit: i }) {
1078
- const o = V(""), n = i, r = e, a = j(() => o.value === "" ? r.items : r.items.filter((p) => p.name.toLowerCase().includes(o.value.toLowerCase()))), d = (p) => p?.name ?? "", c = (p) => {
1078
+ const o = V(""), n = i, r = e, a = A(() => o.value === "" ? r.items : r.items.filter((p) => p.name.toLowerCase().includes(o.value.toLowerCase()))), d = (p) => p?.name ?? "", c = (p) => {
1079
1079
  n("selectChanged", p);
1080
- }, v = j({
1080
+ }, v = A({
1081
1081
  get: () => r.select,
1082
1082
  set: (p) => {
1083
1083
  c(p);
@@ -1150,7 +1150,7 @@ const ts = {
1150
1150
  value: N,
1151
1151
  as: "template"
1152
1152
  }, {
1153
- default: y(({ active: E, selected: P }) => [
1153
+ default: y(({ active: E, selected: M }) => [
1154
1154
  t("li", {
1155
1155
  class: x([
1156
1156
  "relative cursor-default select-none py-2 pl-3 pr-9",
@@ -1158,9 +1158,9 @@ const ts = {
1158
1158
  ])
1159
1159
  }, [
1160
1160
  t("span", {
1161
- class: x(["block truncate", P && "font-semibold"])
1161
+ class: x(["block truncate", M && "font-semibold"])
1162
1162
  }, u(N.name), 3),
1163
- P ? (l(), s("span", {
1163
+ M ? (l(), s("span", {
1164
1164
  key: 0,
1165
1165
  class: x([
1166
1166
  "absolute inset-y-0 right-0 flex items-center pr-4",
@@ -1181,7 +1181,7 @@ const ts = {
1181
1181
  _: 1
1182
1182
  })) : b("", !0)
1183
1183
  ]),
1184
- D(t("p", {
1184
+ L(t("p", {
1185
1185
  class: x([{
1186
1186
  "text-gray-400": e.color === "gray",
1187
1187
  "text-red-600": e.color === "red",
@@ -1229,7 +1229,7 @@ function Ts(e, g) {
1229
1229
  const Ds = { class: "flex justify-between" }, Ls = {
1230
1230
  key: 0,
1231
1231
  class: "text-[10px] uppercase justify-self-end self-center"
1232
- }, ve = /* @__PURE__ */ A({
1232
+ }, ve = /* @__PURE__ */ T({
1233
1233
  __name: "uiSelect_v2",
1234
1234
  props: {
1235
1235
  items: {},
@@ -1245,7 +1245,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
1245
1245
  },
1246
1246
  emits: ["selectChanged"],
1247
1247
  setup(e, { emit: g }) {
1248
- const i = e, o = g, n = V(""), r = V(i.select), a = j(
1248
+ const i = e, o = g, n = V(""), r = V(i.select), a = A(
1249
1249
  () => n.value === "" ? i.items : i.items.filter((c) => {
1250
1250
  const v = n.value.toLowerCase();
1251
1251
  return c.name.toLowerCase().includes(v) || (c.label?.toLowerCase().includes(v) ?? !1);
@@ -1345,7 +1345,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
1345
1345
  _: 1
1346
1346
  })) : b("", !0)
1347
1347
  ], 2),
1348
- D(t("p", {
1348
+ L(t("p", {
1349
1349
  class: x([{
1350
1350
  // Colores de texto de error según la prop color
1351
1351
  "text-gray-400": e.color === "gray",
@@ -1363,7 +1363,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
1363
1363
  }), Ps = {
1364
1364
  key: 1,
1365
1365
  class: "inline-flex items-center px-3 py-2.5 rounded text-xs font-medium leading-none animate-pulse bg-gray-200"
1366
- }, J = /* @__PURE__ */ A({
1366
+ }, J = /* @__PURE__ */ T({
1367
1367
  __name: "uiTag",
1368
1368
  props: {
1369
1369
  color: { default: "primary" },
@@ -1411,7 +1411,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
1411
1411
  }, Vs = ["disabled", "placeholder"], Ns = {
1412
1412
  key: 1,
1413
1413
  class: "animate-pulse"
1414
- }, Rs = /* @__PURE__ */ A({
1414
+ }, Rs = /* @__PURE__ */ T({
1415
1415
  __name: "uiTextArea",
1416
1416
  props: {
1417
1417
  name: {},
@@ -1442,7 +1442,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
1442
1442
  t("div", {
1443
1443
  class: x({ "mt-1": e.label })
1444
1444
  }, [
1445
- D(t("textarea", {
1445
+ L(t("textarea", {
1446
1446
  disabled: e.disabled,
1447
1447
  rows: "4",
1448
1448
  "onUpdate:modelValue": d[0] || (d[0] = (c) => r.value = c),
@@ -1464,7 +1464,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
1464
1464
  [xe, r.value]
1465
1465
  ])
1466
1466
  ], 2),
1467
- D(t("p", {
1467
+ L(t("p", {
1468
1468
  class: x([{
1469
1469
  "text-gray-300": e.color === "gray",
1470
1470
  "text-red-600": e.color === "red",
@@ -1472,7 +1472,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
1472
1472
  "text-green-600": e.color === "green"
1473
1473
  }, "mt-2 text-xs flex flex-row items-center"])
1474
1474
  }, [
1475
- m(L, {
1475
+ m(P, {
1476
1476
  icon: f(Ve),
1477
1477
  color: "red",
1478
1478
  class: "mr-2",
@@ -1490,7 +1490,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
1490
1490
  }, Ys = {
1491
1491
  key: 1,
1492
1492
  class: "animate-pulse flex items-center"
1493
- }, Es = /* @__PURE__ */ A({
1493
+ }, Es = /* @__PURE__ */ T({
1494
1494
  __name: "uiToggle",
1495
1495
  props: {
1496
1496
  item: {},
@@ -1567,7 +1567,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
1567
1567
  }, Ks = ["onClick"], Qs = {
1568
1568
  key: 1,
1569
1569
  class: "flex flex-row items-center animate-pulse"
1570
- }, Dt = /* @__PURE__ */ A({
1570
+ }, Dt = /* @__PURE__ */ T({
1571
1571
  __name: "uiBreadcrumbs",
1572
1572
  props: {
1573
1573
  pages: {},
@@ -1624,7 +1624,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
1624
1624
  }, dn = {
1625
1625
  key: 1,
1626
1626
  class: "animate-pulse mb-12"
1627
- }, cn = /* @__PURE__ */ A({
1627
+ }, cn = /* @__PURE__ */ T({
1628
1628
  __name: "uiViewHeader",
1629
1629
  props: {
1630
1630
  pages: {},
@@ -1683,7 +1683,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
1683
1683
  }, gn = { class: "flex" }, mn = { class: "flex-shrink-0" }, fn = { class: "ml-3" }, hn = { class: "mt-4" }, yn = { class: "-my-1.5 -mx-2 gap-x-2 flex" }, bn = ["onClick"], vn = {
1684
1684
  key: 1,
1685
1685
  class: "flex flex-col animate-pulse"
1686
- }, xn = /* @__PURE__ */ A({
1686
+ }, xn = /* @__PURE__ */ T({
1687
1687
  __name: "uiAlert",
1688
1688
  props: {
1689
1689
  actions: {},
@@ -1776,7 +1776,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
1776
1776
  }, Sn = {
1777
1777
  key: 1,
1778
1778
  class: "rounded-lg bg-white shadow p-6 cursor-pointer animate-pulse h-full flex flex-col"
1779
- }, Bn = /* @__PURE__ */ A({
1779
+ }, Bn = /* @__PURE__ */ T({
1780
1780
  __name: "uiCard",
1781
1781
  props: {
1782
1782
  id: {},
@@ -1841,7 +1841,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
1841
1841
  }, Nn = { class: "flex flex-col xl:flex-row xl:flex-wrap items-stretch xl:items-center gap-2" }, Rn = {
1842
1842
  key: 1,
1843
1843
  class: "rounded-lg bg-white shadow p-6 animate-pulse h-full flex flex-col"
1844
- }, qn = { class: "flex items-center justify-between mb-4" }, Hn = { class: "flex items-center gap-3" }, Yn = { class: "flex flex-col pt-4 border-t border-gray-200 mt-auto" }, En = { class: "flex flex-col xl:flex-row xl:flex-wrap items-stretch xl:items-center gap-2" }, Un = /* @__PURE__ */ A({
1844
+ }, qn = { class: "flex items-center justify-between mb-4" }, Hn = { class: "flex items-center gap-3" }, Yn = { class: "flex flex-col pt-4 border-t border-gray-200 mt-auto" }, En = { class: "flex flex-col xl:flex-row xl:flex-wrap items-stretch xl:items-center gap-2" }, Un = /* @__PURE__ */ T({
1845
1845
  __name: "uiCardWithImage",
1846
1846
  props: {
1847
1847
  id: {},
@@ -1912,7 +1912,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
1912
1912
  ])) : (l(), s("div", Mn, [
1913
1913
  t("div", zn, [
1914
1914
  t("div", jn, [
1915
- m(L, {
1915
+ m(P, {
1916
1916
  icon: e.icon || f(Zl),
1917
1917
  size: "medium",
1918
1918
  color: "primary",
@@ -1936,7 +1936,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
1936
1936
  class: "p-1 hover:bg-gray-100 rounded transition-colors",
1937
1937
  type: "button"
1938
1938
  }, [
1939
- m(L, {
1939
+ m(P, {
1940
1940
  icon: f(Ul),
1941
1941
  size: "medium",
1942
1942
  color: "primary",
@@ -1950,14 +1950,14 @@ const Ds = { class: "flex justify-between" }, Ls = {
1950
1950
  ]),
1951
1951
  t("div", Ln, [
1952
1952
  o.value ? (l(), s("div", Pn, [
1953
- m(L, {
1953
+ m(P, {
1954
1954
  icon: f(Xl),
1955
1955
  size: "bigger",
1956
1956
  color: "gray",
1957
1957
  loading: !1
1958
1958
  }, null, 8, ["icon"])
1959
1959
  ])) : b("", !0),
1960
- D(t("img", {
1960
+ L(t("img", {
1961
1961
  src: e.image,
1962
1962
  alt: e.title,
1963
1963
  class: "w-full h-36 object-cover rounded-lg",
@@ -2021,7 +2021,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
2021
2021
  ])
2022
2022
  ]));
2023
2023
  }
2024
- }), Zn = /* @__PURE__ */ A({
2024
+ }), Zn = /* @__PURE__ */ T({
2025
2025
  __name: "uiFilter",
2026
2026
  props: {
2027
2027
  items: {},
@@ -2048,7 +2048,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
2048
2048
  }), Wn = { class: "fixed inset-0 z-10 overflow-y-auto" }, Gn = { class: "flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0" }, Jn = { class: "absolute top-0 right-0 hidden pt-4 pr-4 sm:block" }, Kn = { class: "sm:flex sm:items-start" }, Qn = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left w-full break-words" }, Xn = { class: "mt-4 text-gray-500 text-sm" }, ea = {
2049
2049
  key: 0,
2050
2050
  class: "mt-8"
2051
- }, ta = ["onClick"], Pe = /* @__PURE__ */ A({
2051
+ }, ta = ["onClick"], Pe = /* @__PURE__ */ T({
2052
2052
  __name: "uiModal",
2053
2053
  props: {
2054
2054
  title: {},
@@ -2116,7 +2116,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
2116
2116
  onClick: a[0] || (a[0] = (d) => n("close"))
2117
2117
  }, [
2118
2118
  a[3] || (a[3] = t("span", { class: "sr-only" }, "X", -1)),
2119
- m(L, {
2119
+ m(P, {
2120
2120
  icon: f(ie),
2121
2121
  "aria-hidden": "true",
2122
2122
  loading: e.loading
@@ -2132,25 +2132,25 @@ const Ds = { class: "flex justify-between" }, Ls = {
2132
2132
  "bg-yellow-100": e.type === "warning"
2133
2133
  }])
2134
2134
  }, [
2135
- D(m(f(ie), {
2135
+ L(m(f(ie), {
2136
2136
  class: "h-6 w-6 text-red-600",
2137
2137
  "aria-hidden": "true"
2138
2138
  }, null, 512), [
2139
2139
  [O, e.type === "danger"]
2140
2140
  ]),
2141
- D(m(f(et), {
2141
+ L(m(f(et), {
2142
2142
  class: "h-6 w-6 text-green-600",
2143
2143
  "aria-hidden": "true"
2144
2144
  }, null, 512), [
2145
2145
  [O, e.type === "success"]
2146
2146
  ]),
2147
- D(m(f(te), {
2147
+ L(m(f(te), {
2148
2148
  class: "h-6 w-6 text-yellow-600",
2149
2149
  "aria-hidden": "true"
2150
2150
  }, null, 512), [
2151
2151
  [O, e.type === "warning"]
2152
2152
  ]),
2153
- D(m(f(Kl), {
2153
+ L(m(f(Kl), {
2154
2154
  class: "h-6 w-6 text-black",
2155
2155
  "aria-hidden": "true"
2156
2156
  }, null, 512), [
@@ -2198,7 +2198,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
2198
2198
  }), la = { class: "w-full flex flex-col items-center space-y-4 sm:items-end" }, sa = {
2199
2199
  key: 0,
2200
2200
  class: "max-w-sm w-full bg-white shadow-lg rounded-lg pointer-events-auto ring-1 ring-black ring-opacity-5 overflow-hidden"
2201
- }, na = { class: "p-4" }, aa = { class: "flex items-start" }, oa = { class: "flex-shrink-0 mt-0.5" }, ia = { class: "ml-3 w-0 flex-1 pt-0.5" }, ra = { class: "font-medium text-gray-900" }, da = { class: "mt-1 text-sm text-gray-500" }, ca = { class: "ml-4 flex-shrink-0 flex" }, ua = /* @__PURE__ */ A({
2201
+ }, na = { class: "p-4" }, aa = { class: "flex items-start" }, oa = { class: "flex-shrink-0 mt-0.5" }, ia = { class: "ml-3 w-0 flex-1 pt-0.5" }, ra = { class: "font-medium text-gray-900" }, da = { class: "mt-1 text-sm text-gray-500" }, ca = { class: "ml-4 flex-shrink-0 flex" }, ua = /* @__PURE__ */ T({
2202
2202
  __name: "uiNotification",
2203
2203
  props: {
2204
2204
  type: { default: "info" },
@@ -2209,7 +2209,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
2209
2209
  },
2210
2210
  emits: ["closeNotification"],
2211
2211
  setup(e, { emit: g }) {
2212
- const i = e, o = j(() => i.show);
2212
+ const i = e, o = A(() => i.show);
2213
2213
  return (n, r) => (l(), s("div", {
2214
2214
  "aria-live": "assertive",
2215
2215
  class: x([{ fixed: e.fixed }, "inset-0 flex items-end px-4 py-6 pointer-events-none sm:p-6 sm:items-start z-[9999]"])
@@ -2228,25 +2228,25 @@ const Ds = { class: "flex justify-between" }, Ls = {
2228
2228
  t("div", na, [
2229
2229
  t("div", aa, [
2230
2230
  t("div", oa, [
2231
- D(m(f(Mt), {
2231
+ L(m(f(Mt), {
2232
2232
  "aria-hidden": "true",
2233
2233
  class: "h-6 w-6 text-green-600"
2234
2234
  }, null, 512), [
2235
2235
  [O, e.type === "success"]
2236
2236
  ]),
2237
- D(m(f(Ve), {
2237
+ L(m(f(Ve), {
2238
2238
  "aria-hidden": "true",
2239
2239
  class: "h-6 w-6 text-red-600"
2240
2240
  }, null, 512), [
2241
2241
  [O, e.type === "danger"]
2242
2242
  ]),
2243
- D(m(f(te), {
2243
+ L(m(f(te), {
2244
2244
  "aria-hidden": "true",
2245
2245
  class: "h-6 w-6 text-yellow-400"
2246
2246
  }, null, 512), [
2247
2247
  [O, e.type === "warning"]
2248
2248
  ]),
2249
- D(m(f(At), {
2249
+ L(m(f(At), {
2250
2250
  "aria-hidden": "true",
2251
2251
  class: "h-6 w-6 text-black"
2252
2252
  }, null, 512), [
@@ -2286,7 +2286,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
2286
2286
  }, ma = { class: "min-w-0" }, fa = { class: "flex items-start gap-x-3" }, ha = { class: "text-sm font-semibold leading-6 text-gray-900" }, ya = { class: "mt-1 flex items-center gap-x-2 text-xs leading-5 text-gray-500" }, ba = { class: "truncate" }, va = { class: "flex flex-none items-center gap-x-4" }, xa = ["href"], pa = { class: "sr-only" }, wa = {
2287
2287
  key: 1,
2288
2288
  class: "divide-y divide-gray-100 animate-pulse"
2289
- }, ka = /* @__PURE__ */ A({
2289
+ }, ka = /* @__PURE__ */ T({
2290
2290
  __name: "uiTaskList",
2291
2291
  props: {
2292
2292
  tasks: {},
@@ -2680,7 +2680,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
2680
2680
  }, xo = { class: "sr-only" }, po = ["onClick"], wo = { class: "sr-only" }, ko = {
2681
2681
  key: 1,
2682
2682
  class: "py-6 flex flex-row justify-between items-center animate-pulse"
2683
- }, Pt = /* @__PURE__ */ A({
2683
+ }, Pt = /* @__PURE__ */ T({
2684
2684
  __name: "uiPagination",
2685
2685
  props: {
2686
2686
  current: {},
@@ -2690,11 +2690,11 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
2690
2690
  },
2691
2691
  emits: ["changePage"],
2692
2692
  setup(e, { emit: g }) {
2693
- const i = g, o = e, n = V(3), r = j(
2693
+ const i = g, o = e, n = V(3), r = A(
2694
2694
  () => Math.max(1, Number(o.current) - Number(n.value))
2695
- ), a = j(
2695
+ ), a = A(
2696
2696
  () => Math.min(Number(o.current) + Number(n.value), Number(o.total))
2697
- ), d = j(() => {
2697
+ ), d = A(() => {
2698
2698
  let c = [];
2699
2699
  for (let v = Number(r.value); v <= Number(a.value); v++)
2700
2700
  c.push(v);
@@ -2727,7 +2727,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
2727
2727
  ]),
2728
2728
  t("div", null, [
2729
2729
  t("nav", vo, [
2730
- D(t("button", {
2730
+ L(t("button", {
2731
2731
  ref: "test-first-button",
2732
2732
  onClick: v[0] || (v[0] = (p) => i("changePage", e.current - 1)),
2733
2733
  class: "relative inline-flex items-center px-2 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50"
@@ -2750,7 +2750,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
2750
2750
  p === e.current ? "z-10 bg-lime-50 border-lime-400 text-black" : "bg-white border-gray-300 text-gray-500 hover:bg-gray-50"
2751
2751
  ], "relative inline-flex items-center px-4 py-2 border text-sm font-medium"])
2752
2752
  }, u(p), 11, po))), 128)),
2753
- D(t("button", {
2753
+ L(t("button", {
2754
2754
  ref: "test-last-button",
2755
2755
  onClick: v[1] || (v[1] = (p) => i("changePage", e.current + 1)),
2756
2756
  class: "relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50"
@@ -2824,7 +2824,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
2824
2824
  }, Ko = {
2825
2825
  key: 1,
2826
2826
  class: "flex flex-row justify-between items-center mt-4"
2827
- }, Qo = { key: 0 }, Xo = /* @__PURE__ */ A({
2827
+ }, Qo = { key: 0 }, Xo = /* @__PURE__ */ T({
2828
2828
  __name: "uiPriceCalendar",
2829
2829
  props: {
2830
2830
  loading: { type: Boolean },
@@ -2847,29 +2847,29 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
2847
2847
  Z(() => i.today, ($) => {
2848
2848
  r.value = $;
2849
2849
  });
2850
- const d = j(() => {
2850
+ const d = A(() => {
2851
2851
  let $ = [];
2852
2852
  for (let F = 0; F < 14; F++)
2853
2853
  $.push(Y(r.value).add(F, "day"));
2854
2854
  return $;
2855
- }), c = j(() => a.value.length > 0 && a.value.length < i.rooms.length), v = j(
2855
+ }), c = A(() => a.value.length > 0 && a.value.length < i.rooms.length), v = A(
2856
2856
  () => i.paginationCurrent !== void 0 || i.paginationTotal !== void 0
2857
- ), p = j(
2857
+ ), p = A(
2858
2858
  () => i.paginationCurrent !== void 0 && i.paginationTotal !== void 0 && i.paginationTotalItems !== void 0
2859
- ), C = j(
2859
+ ), C = A(
2860
2860
  () => i.pageSizeOptions && i.pageSizeOptions.length > 0
2861
- ), N = j(() => i.pageSizeOptions ? i.pageSizeOptions.map(($) => ({
2861
+ ), N = A(() => i.pageSizeOptions ? i.pageSizeOptions.map(($) => ({
2862
2862
  name: $.name,
2863
2863
  value: String($.value),
2864
2864
  active: !!($.active || i.currentPageSize && $.value === i.currentPageSize)
2865
2865
  })) : []), E = ($) => {
2866
2866
  Y($).isBefore(n.value) || (r.value = $, o("dateChanged", r.value));
2867
- }, P = ($) => {
2867
+ }, M = ($) => {
2868
2868
  let F = i.category.selectionPrices.find((I) => Y(I.date).isSame($.date));
2869
2869
  return F ? F.price : $.price;
2870
2870
  }, R = ($) => {
2871
2871
  a.value = $.target.checked ? i.rooms.map((F) => F.id) : [];
2872
- }, K = () => o("changeCategoryBulkPrices"), re = ($) => o("changeCategorySelectionPrice", $), me = ($) => o("changeCategoryUpgradePrice", $), fe = ($) => o("tableAction", $), z = ($, F, I) => o("changeRoomPrice", { price: $, roomId: F, roomName: I }), q = ($) => {
2872
+ }, K = () => o("changeCategoryBulkPrices"), re = ($) => o("changeCategorySelectionPrice", $), me = ($) => o("changeCategoryUpgradePrice", $), fe = ($) => o("tableAction", $), j = ($, F, I) => o("changeRoomPrice", { price: $, roomId: F, roomName: I }), q = ($) => {
2873
2873
  o("changePage", $);
2874
2874
  }, H = ($) => {
2875
2875
  o("changePageSize", $.value);
@@ -2998,7 +2998,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
2998
2998
  }, [
2999
2999
  t("td", Eo, [
3000
3000
  a.value.length > 0 ? (l(), s("div", Uo)) : b("", !0),
3001
- D(t("input", {
3001
+ L(t("input", {
3002
3002
  type: "checkbox",
3003
3003
  class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-lime-400 focus:ring-lime-400",
3004
3004
  value: I.name,
@@ -3015,11 +3015,11 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
3015
3015
  key: le
3016
3016
  }, [
3017
3017
  m(Me, {
3018
- onClick: (st) => z(W, I.id, I.name),
3018
+ onClick: (st) => j(W, I.id, I.name),
3019
3019
  class: "border-l border-gray-200 px-6 py-3 text-black hover:text-lime-400 cursor-pointer",
3020
3020
  price: W,
3021
3021
  currency: e.currency.symbol,
3022
- basePrice: P(W)
3022
+ basePrice: M(W)
3023
3023
  }, null, 8, ["onClick", "price", "currency", "basePrice"])
3024
3024
  ]))), 128))
3025
3025
  ], 2))), 128))
@@ -3073,7 +3073,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
3073
3073
  ])) : (l(), w(Lt, { key: 2 }))
3074
3074
  ], 64));
3075
3075
  }
3076
- }), tt = /* @__PURE__ */ A({
3076
+ }), tt = /* @__PURE__ */ T({
3077
3077
  __name: "ApexChartWrapper",
3078
3078
  emits: ["updated", "mounted", "dataPointSelection"],
3079
3079
  setup(e) {
@@ -3098,7 +3098,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
3098
3098
  }), ei = { class: "chart-header flex flex-row items-center w-full justify-between" }, ti = { class: "text-lg font-bold truncate mr-8" }, li = {
3099
3099
  key: 0,
3100
3100
  class: "flex items-center gap-x-2 grow"
3101
- }, si = { class: "self-center ml-2" }, ni = { class: "self-center ml-2" }, ai = { class: "self-center ml-2" }, oi = { class: "hidden sm:flex items-center" }, ii = { class: "w-1/2 min-w-0 flex-1" }, ri = ["max"], di = { class: "min-w-0 flex-1" }, ci = ["max"], ui = { class: "chart-content pb-6" }, gi = { class: "'w-full h-full flex items-center justify-center flex-col" }, mi = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, fi = /* @__PURE__ */ A({
3101
+ }, si = { class: "self-center ml-2" }, ni = { class: "self-center ml-2" }, ai = { class: "self-center ml-2" }, oi = { class: "hidden sm:flex items-center" }, ii = { class: "w-1/2 min-w-0 flex-1" }, ri = ["max"], di = { class: "min-w-0 flex-1" }, ci = ["max"], ui = { class: "chart-content pb-6" }, gi = { class: "'w-full h-full flex items-center justify-center flex-col" }, mi = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, fi = /* @__PURE__ */ T({
3102
3102
  __name: "uiChart",
3103
3103
  props: {
3104
3104
  labels: {},
@@ -3122,8 +3122,8 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
3122
3122
  setup(e, { emit: g }) {
3123
3123
  const i = g, o = V((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":"))), n = e;
3124
3124
  let r = ke(n.dates || { from: "", to: o });
3125
- Z(() => n.dates, (P) => {
3126
- P && (r = P);
3125
+ Z(() => n.dates, (M) => {
3126
+ M && (r = M);
3127
3127
  });
3128
3128
  let d = {
3129
3129
  chart: {
@@ -3132,20 +3132,21 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
3132
3132
  },
3133
3133
  zoom: {
3134
3134
  enabled: !0
3135
+ },
3136
+ animations: {
3137
+ enabled: !0,
3138
+ easing: "easeinout",
3139
+ speed: 800
3135
3140
  }
3136
3141
  },
3137
3142
  colors: function() {
3138
3143
  return n.isNps ? [
3139
- function({ dataPointIndex: P }) {
3140
- if (P <= 5) return "#F87171";
3141
- if (P > 5 && P <= 7) return "#eab308";
3142
- if (P >= 8) return "#84cc16";
3144
+ function({ dataPointIndex: M }) {
3145
+ if (M <= 5) return "#F87171";
3146
+ if (M > 5 && M <= 7) return "#eab308";
3147
+ if (M >= 8) return "#84cc16";
3143
3148
  }
3144
- ] : [
3145
- "#000000",
3146
- "#a3e635",
3147
- "#38f7ea"
3148
- ];
3149
+ ] : n.type === "rangeBar" ? ["#00E396", "#FEB019", "#FF4560"] : ["#000000", "#a3e635", "#38f7ea"];
3149
3150
  }(),
3150
3151
  stroke: {
3151
3152
  show: !0,
@@ -3180,14 +3181,73 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
3180
3181
  }
3181
3182
  }
3182
3183
  ]
3183
- }), n.type === "area" && (d.tooltip = { intersect: !1, shared: !0 });
3184
- const c = () => (d.chart.stacked = n.stacked, n.options && (n.options.xaxis.hideOverlappingLabels = !0, n.options.xaxis.decimalsInFloat = 2, n.options.xaxis.tickAmount = 10), { ...d, ...n.options, plotOptions: { bar: { horizontal: n.horizontal } } }), v = () => {
3184
+ }), n.type === "area" ? d.tooltip = { intersect: !1, shared: !0 } : n.type !== "rangeBar" && (d.tooltip = { intersect: !1, shared: !1 });
3185
+ const c = () => {
3186
+ d.chart.stacked = n.stacked, n.options && (n.options.xaxis.hideOverlappingLabels = !0, n.options.xaxis.decimalsInFloat = 2, n.options.xaxis.tickAmount = 10);
3187
+ const M = { ...d, ...n.options };
3188
+ return n.type === "rangeBar" ? (M.tooltip = {
3189
+ enabled: !0,
3190
+ shared: !1,
3191
+ intersect: !1,
3192
+ followCursor: !1
3193
+ }, M.chart = {
3194
+ ...M.chart,
3195
+ animations: {
3196
+ enabled: !1
3197
+ // Deshabilitado para datasets grandes
3198
+ },
3199
+ toolbar: {
3200
+ show: !1
3201
+ },
3202
+ zoom: {
3203
+ enabled: !1
3204
+ // Deshabilitado para evitar cálculos costosos
3205
+ },
3206
+ selection: {
3207
+ enabled: !1
3208
+ // Deshabilitado para mejor rendimiento
3209
+ }
3210
+ }, M.dataLabels = {
3211
+ enabled: !1
3212
+ }, M.markers = {
3213
+ strokeWidth: 0,
3214
+ size: 0,
3215
+ hover: {
3216
+ size: 0
3217
+ }
3218
+ }, M.plotOptions = {
3219
+ bar: {
3220
+ horizontal: n.horizontal,
3221
+ rangeBarGroupRows: !0,
3222
+ // Agrupa filas que no se solapan para mejor rendimiento
3223
+ barHeight: "70%",
3224
+ borderRadius: 0
3225
+ // Sin bordes redondeados para mejor rendimiento
3226
+ }
3227
+ }, M.xaxis && !M.xaxis.type && (M.xaxis.type = "datetime"), M.grid || (M.grid = {
3228
+ show: !0,
3229
+ borderColor: "#e0e0e0",
3230
+ strokeDashArray: 0,
3231
+ position: "back",
3232
+ xaxis: {
3233
+ lines: {
3234
+ show: !1
3235
+ // Sin líneas X para mejor rendimiento
3236
+ }
3237
+ },
3238
+ yaxis: {
3239
+ lines: {
3240
+ show: !0
3241
+ }
3242
+ }
3243
+ })) : M.plotOptions = { bar: { horizontal: n.horizontal } }, M;
3244
+ }, v = () => {
3185
3245
  r.from !== "" && r.to !== "" && Y(r.from).isBefore(Y(r.to)) && i("selectedRange", { range: r, chartId: n.id });
3186
- }, p = j(() => n.series), C = j(() => c()), N = () => i("chartUpdated"), E = (P, R, K) => {
3187
- i("dataPointSelection", { id: n.id, chartContext: R, config: K, event: P });
3246
+ }, p = A(() => n.series), C = A(() => c()), N = () => i("chartUpdated"), E = (M, R, K) => {
3247
+ i("dataPointSelection", { id: n.id, chartContext: R, config: K, event: M });
3188
3248
  };
3189
- return (P, R) => (l(), s(k, null, [
3190
- D(t("div", {
3249
+ return (M, R) => (l(), s(k, null, [
3250
+ L(t("div", {
3191
3251
  class: "card chart apex-chart p-4 bg-white shadow rounded-lg overflow-hidden flex grow",
3192
3252
  style: qe({ height: e.height + "px" })
3193
3253
  }, [
@@ -3200,7 +3260,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
3200
3260
  loading: !1
3201
3261
  }, {
3202
3262
  default: y(() => [
3203
- m(L, {
3263
+ m(P, {
3204
3264
  icon: f(Gl),
3205
3265
  loading: !1,
3206
3266
  color: "red"
@@ -3215,7 +3275,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
3215
3275
  loading: !1
3216
3276
  }, {
3217
3277
  default: y(() => [
3218
- m(L, {
3278
+ m(P, {
3219
3279
  icon: f(El),
3220
3280
  loading: !1,
3221
3281
  color: "yellow"
@@ -3230,7 +3290,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
3230
3290
  loading: !1
3231
3291
  }, {
3232
3292
  default: y(() => [
3233
- m(L, {
3293
+ m(P, {
3234
3294
  icon: f(Jl),
3235
3295
  loading: !1,
3236
3296
  color: "green"
@@ -3242,7 +3302,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
3242
3302
  ])) : b("", !0),
3243
3303
  t("div", oi, [
3244
3304
  t("div", ii, [
3245
- D(t("input", {
3305
+ L(t("input", {
3246
3306
  type: "datetime-local",
3247
3307
  "onUpdate:modelValue": R[0] || (R[0] = (K) => f(r).from = K),
3248
3308
  max: o.value.toString(),
@@ -3255,7 +3315,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
3255
3315
  ])
3256
3316
  ]),
3257
3317
  t("div", di, [
3258
- D(t("input", {
3318
+ L(t("input", {
3259
3319
  type: "datetime-local",
3260
3320
  "onUpdate:modelValue": R[1] || (R[1] = (K) => f(r).to = K),
3261
3321
  max: o.value.toString(),
@@ -3267,16 +3327,16 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
3267
3327
  [xe, f(r).to]
3268
3328
  ])
3269
3329
  ]),
3270
- m(L, {
3330
+ m(P, {
3271
3331
  class: "ml-4 cursor-pointer",
3272
3332
  size: "big",
3273
3333
  loading: e.loading,
3274
3334
  icon: f(St),
3275
- onClick: R[2] || (R[2] = (K) => P.$emit("maximizeChart", e.id))
3335
+ onClick: R[2] || (R[2] = (K) => M.$emit("maximizeChart", e.id))
3276
3336
  }, null, 8, ["loading", "icon"])
3277
3337
  ])
3278
3338
  ]),
3279
- D(t("div", ui, [
3339
+ L(t("div", ui, [
3280
3340
  m(tt, {
3281
3341
  class: "chart",
3282
3342
  type: e.type,
@@ -3290,8 +3350,8 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
3290
3350
  ], 512), [
3291
3351
  [O, !e.empty]
3292
3352
  ]),
3293
- D(t("div", gi, [
3294
- m(L, {
3353
+ L(t("div", gi, [
3354
+ m(P, {
3295
3355
  icon: f(te),
3296
3356
  color: "gray",
3297
3357
  loading: !1,
@@ -3304,7 +3364,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
3304
3364
  ], 4), [
3305
3365
  [O, !e.loading]
3306
3366
  ]),
3307
- D(t("div", mi, [...R[4] || (R[4] = [
3367
+ L(t("div", mi, [...R[4] || (R[4] = [
3308
3368
  t("div", {
3309
3369
  role: "status",
3310
3370
  class: "w-full animate-pulse h-full flex flex-col"
@@ -3347,7 +3407,7 @@ function bi(e, g, i, o, n, r) {
3347
3407
  ], -1)
3348
3408
  ])]);
3349
3409
  }
3350
- const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
3410
+ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
3351
3411
  __name: "uiLoadingScreen",
3352
3412
  props: {
3353
3413
  title: {},
@@ -3367,10 +3427,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
3367
3427
  alt: "loading animation"
3368
3428
  })
3369
3429
  ], -1)),
3370
- D(t("h2", { class: "text-xs font-bold text-center uppercase mb-2" }, u(e.title), 513), [
3430
+ L(t("h2", { class: "text-xs font-bold text-center uppercase mb-2" }, u(e.title), 513), [
3371
3431
  [O, e.title]
3372
3432
  ]),
3373
- D(t("p", { class: "text-xs text-center uppercase md:w-1/4" }, u(e.message), 513), [
3433
+ L(t("p", { class: "text-xs text-center uppercase md:w-1/4" }, u(e.message), 513), [
3374
3434
  [O, e.message]
3375
3435
  ])
3376
3436
  ], 2));
@@ -3393,7 +3453,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
3393
3453
  }, Ai = {
3394
3454
  key: 1,
3395
3455
  class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2"
3396
- }, Ti = { class: "h-12 flex flex-row items-center" }, Di = /* @__PURE__ */ A({
3456
+ }, Ti = { class: "h-12 flex flex-row items-center" }, Di = /* @__PURE__ */ T({
3397
3457
  __name: "uiSidebar",
3398
3458
  props: {
3399
3459
  navigation: {},
@@ -3404,7 +3464,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
3404
3464
  },
3405
3465
  emits: ["sideBarClick"],
3406
3466
  setup(e, { emit: g }) {
3407
- const i = e, o = g, n = j(() => i.navigation ? Array.isArray(i.navigation) ? i.navigation : [i.navigation] : []);
3467
+ const i = e, o = g, n = A(() => i.navigation ? Array.isArray(i.navigation) ? i.navigation : [i.navigation] : []);
3408
3468
  return (r, a) => (l(), s("div", pi, [
3409
3469
  t("div", wi, [
3410
3470
  t("div", ki, [
@@ -3425,7 +3485,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
3425
3485
  class: x([d.current ? "bg-indigo-600 text-white" : "text-gray-600 hover:bg-gray-50 hover:text-gray-900", "group w-full flex items-center pl-2 pr-1 py-2 text-left text-sm font-medium rounded-md focus:outline-none"])
3426
3486
  }, {
3427
3487
  default: y(() => [
3428
- d.icon ? (l(), w(L, {
3488
+ d.icon ? (l(), w(P, {
3429
3489
  key: 0,
3430
3490
  loading: e.loading,
3431
3491
  icon: d.icon,
@@ -3469,7 +3529,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
3469
3529
  "group w-full flex items-center pl-2 py-2 text-sm font-medium rounded-md"
3470
3530
  ])
3471
3531
  }, [
3472
- d.icon ? (l(), w(L, {
3532
+ d.icon ? (l(), w(P, {
3473
3533
  key: 0,
3474
3534
  loading: e.loading,
3475
3535
  icon: d.icon,
@@ -3505,7 +3565,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
3505
3565
  }, Ei = { class: "ml-2 space-y-1" }, Ui = { class: "font-bold mb-4" }, Zi = {
3506
3566
  key: 1,
3507
3567
  class: "flex flex-col grow h-full"
3508
- }, Wi = { class: "flex-1 overflow-y-auto pr-6" }, Gi = { class: "h-12 flex flex-row items-center" }, Ue = /* @__PURE__ */ A({
3568
+ }, Wi = { class: "flex-1 overflow-y-auto pr-6" }, Gi = { class: "h-12 flex flex-row items-center" }, Ue = /* @__PURE__ */ T({
3509
3569
  __name: "uiSidebarV2",
3510
3570
  props: {
3511
3571
  navigation: {},
@@ -3517,7 +3577,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
3517
3577
  },
3518
3578
  emits: ["productBarClick", "sideBarClick", "inputChanged"],
3519
3579
  setup(e, { emit: g }) {
3520
- const i = e, o = j(() => i.navigation ? Array.isArray(i.navigation) ? i.navigation : [i.navigation] : []);
3580
+ const i = e, o = A(() => i.navigation ? Array.isArray(i.navigation) ? i.navigation : [i.navigation] : []);
3521
3581
  return (n, r) => (l(), s("div", Li, [
3522
3582
  t("div", Pi, [
3523
3583
  t("ul", null, [
@@ -3569,7 +3629,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
3569
3629
  class: x([a.current ? "bg-lime-100" : "hover:bg-lime-100", "flex w-full items-center gap-x-3 rounded-md p-2 text-left text-sm font-semibold leading-6 text-gray-700"])
3570
3630
  }, {
3571
3631
  default: y(() => [
3572
- m(L, {
3632
+ m(P, {
3573
3633
  icon: a.icon,
3574
3634
  color: "primary",
3575
3635
  size: "big",
@@ -3585,7 +3645,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
3585
3645
  ]),
3586
3646
  _: 2
3587
3647
  }, 1032, ["onClick", "class"]),
3588
- D(t("div", null, [
3648
+ L(t("div", null, [
3589
3649
  m(f(Ie), {
3590
3650
  as: "ul",
3591
3651
  class: "mt-1 px-2",
@@ -3619,7 +3679,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
3619
3679
  onClick: (d) => n.$emit("sideBarClick", a.id),
3620
3680
  class: x([a.current ? "bg-lime-100" : "hover:bg-lime-100", "group flex gap-x-3 rounded-md p-2 text-sm font-semibold leading-6 text-gray-700 cursor-pointer"])
3621
3681
  }, [
3622
- m(L, {
3682
+ m(P, {
3623
3683
  icon: a.icon,
3624
3684
  color: "primary",
3625
3685
  size: "big",
@@ -3670,7 +3730,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
3670
3730
  }), Ji = { key: 0 }, Ki = ["title"], Qi = { class: "ml-16 flex items-baseline pb-5" }, Xi = { class: "text-2xl font-semibold" }, er = {
3671
3731
  key: 0,
3672
3732
  class: "text-black ml-2 flex items-baseline text-sm font-semibold"
3673
- }, tr = { class: "absolute bottom-0 inset-x-0 bg-gray-50 px-4 py-4 sm:px-6" }, lr = { class: "text-sm" }, sr = { key: 1 }, nr = { class: "relative bg-white pt-5 px-4 sm:pt-6 sm:px-6 shadow rounded-lg overflow-hidden h-full pb-6" }, ar = { class: "absolute bg-gray-200 rounded-md p-3 animate-pulse" }, Ft = /* @__PURE__ */ A({
3733
+ }, tr = { class: "absolute bottom-0 inset-x-0 bg-gray-50 px-4 py-4 sm:px-6" }, lr = { class: "text-sm" }, sr = { key: 1 }, nr = { class: "relative bg-white pt-5 px-4 sm:pt-6 sm:px-6 shadow rounded-lg overflow-hidden h-full pb-6" }, ar = { class: "absolute bg-gray-200 rounded-md p-3 animate-pulse" }, Ft = /* @__PURE__ */ T({
3674
3734
  __name: "uiStats",
3675
3735
  props: {
3676
3736
  item: {},
@@ -3682,7 +3742,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
3682
3742
  t("div", nr, [
3683
3743
  t("dt", null, [
3684
3744
  t("div", ar, [
3685
- m(L, {
3745
+ m(P, {
3686
3746
  loading: e.loading,
3687
3747
  icon: e.item.icon,
3688
3748
  class: "h-6 w-6 text-white",
@@ -3709,7 +3769,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
3709
3769
  "bg-yellow-400": e.item.color === "yellow"
3710
3770
  }])
3711
3771
  }, [
3712
- m(L, {
3772
+ m(P, {
3713
3773
  icon: e.item.icon,
3714
3774
  class: "h-6 w-6",
3715
3775
  "aria-hidden": "true",
@@ -3747,7 +3807,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
3747
3807
  })) : b("", !0),
3748
3808
  B(" " + u(e.item.change), 1)
3749
3809
  ], 2)) : b("", !0),
3750
- D(t("div", tr, [
3810
+ L(t("div", tr, [
3751
3811
  t("div", lr, [
3752
3812
  t("span", {
3753
3813
  onClick: o[0] || (o[0] = (n) => i.$emit("statClick", e.item.id)),
@@ -3773,7 +3833,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
3773
3833
  }, hr = {
3774
3834
  key: 1,
3775
3835
  class: "overflow-hidden bg-white shadow sm:rounded-lg"
3776
- }, yr = { class: "border-t border-gray-200" }, br = /* @__PURE__ */ A({
3836
+ }, yr = { class: "border-t border-gray-200" }, br = /* @__PURE__ */ T({
3777
3837
  __name: "uiStripedCard",
3778
3838
  props: {
3779
3839
  title: {},
@@ -3860,7 +3920,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
3860
3920
  })
3861
3921
  ], -1)),
3862
3922
  t("div", null, [
3863
- m(L, {
3923
+ m(P, {
3864
3924
  icon: f(es),
3865
3925
  loading: !1,
3866
3926
  color: "white",
@@ -3876,7 +3936,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
3876
3936
  }, $r = { class: "w-screen max-w-md flex-auto rounded bg-white text-sm/6 shadow-lg ring-1 ring-gray-900/5 lg:max-w-3xl" }, Cr = { class: "p-6 gap-y-2 flex flex-col" }, Sr = { class: "flex items-center gap-x-2 w-full" }, Br = { class: "px-6 pb-6 gap-x-2 flex justify-end" }, Mr = {
3877
3937
  key: 1,
3878
3938
  class: "relative animate-pulse"
3879
- }, zr = /* @__PURE__ */ A({
3939
+ }, zr = /* @__PURE__ */ T({
3880
3940
  __name: "uiSmartFilterMultipleV2",
3881
3941
  props: {
3882
3942
  literals: { default: () => ({
@@ -3894,8 +3954,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
3894
3954
  },
3895
3955
  emits: ["smartFiltersSent", "smartFiltersCleared", "smartFilterDeleted"],
3896
3956
  setup(e, { emit: g }) {
3897
- const i = e, o = g, n = V({ id: "1", name: i.literals.and }), r = ke([]), a = V(i.availableCategories[0] || {}), d = (z) => z ? z === "uiInput" ? i.literals.contains : i.literals.is : "", c = (z) => {
3898
- r.splice(0, r.length), z.logicOperator === "and" || z.logicOperator === i.literals.and ? n.value = { id: "1", name: i.literals.and } : (z.logicOperator === "or" || z.logicOperator === i.literals.or) && (n.value = { id: "2", name: i.literals.or }), z.filters.forEach((q) => {
3957
+ const i = e, o = g, n = V({ id: "1", name: i.literals.and }), r = ke([]), a = V(i.availableCategories[0] || {}), d = (j) => j ? j === "uiInput" ? i.literals.contains : i.literals.is : "", c = (j) => {
3958
+ r.splice(0, r.length), j.logicOperator === "and" || j.logicOperator === i.literals.and ? n.value = { id: "1", name: i.literals.and } : (j.logicOperator === "or" || j.logicOperator === i.literals.or) && (n.value = { id: "2", name: i.literals.or }), j.filters.forEach((q) => {
3899
3959
  const H = i.availableCategories.find(($) => $.name === q.name);
3900
3960
  if (H) {
3901
3961
  const $ = {
@@ -3914,60 +3974,60 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
3914
3974
  }
3915
3975
  });
3916
3976
  };
3917
- Z(() => i.literals, (z) => {
3918
- n.value.id === "1" ? n.value.name = z.and : n.value.id === "2" && (n.value.name = z.or);
3919
- }, { deep: !0 }), Z(() => i.availableCategories, (z) => {
3920
- z.length > 0 && (!a.value.name || !z.some((q) => q.name === a.value.name)) && (a.value = z[0]);
3921
- }, { deep: !0, immediate: !0 }), Z(() => i.filters, (z) => {
3922
- z && c(z);
3977
+ Z(() => i.literals, (j) => {
3978
+ n.value.id === "1" ? n.value.name = j.and : n.value.id === "2" && (n.value.name = j.or);
3979
+ }, { deep: !0 }), Z(() => i.availableCategories, (j) => {
3980
+ j.length > 0 && (!a.value.name || !j.some((q) => q.name === a.value.name)) && (a.value = j[0]);
3981
+ }, { deep: !0, immediate: !0 }), Z(() => i.filters, (j) => {
3982
+ j && c(j);
3923
3983
  }, { deep: !0, immediate: !0 });
3924
- const v = j(() => [
3984
+ const v = A(() => [
3925
3985
  { id: "1", name: i.literals.and },
3926
3986
  { id: "2", name: i.literals.or }
3927
- ]), p = j(() => i.availableCategories.map((z) => ({
3928
- id: z.name,
3929
- name: z.name,
3930
- label: z.label
3931
- }))), C = j(() => ({
3987
+ ]), p = A(() => i.availableCategories.map((j) => ({
3988
+ id: j.name,
3989
+ name: j.name,
3990
+ label: j.label
3991
+ }))), C = A(() => ({
3932
3992
  id: a.value.name,
3933
3993
  label: a.value.label,
3934
3994
  name: a.value.name
3935
- })), N = j(() => r.map((z) => z.type === "uiInput" ? {
3936
- name: z.label,
3995
+ })), N = A(() => r.map((j) => j.type === "uiInput" ? {
3996
+ name: j.label,
3937
3997
  operator: i.literals.contains,
3938
- value: z.props.value || ""
3939
- } : z.type === "uiSelect" ? {
3940
- name: z.label,
3998
+ value: j.props.value || ""
3999
+ } : j.type === "uiSelect" ? {
4000
+ name: j.label,
3941
4001
  operator: i.literals.is,
3942
- value: z.props.select?.name || ""
4002
+ value: j.props.select?.name || ""
3943
4003
  } : {
3944
- name: z.label,
4004
+ name: j.label,
3945
4005
  operator: i.literals.contains,
3946
4006
  value: ""
3947
- })), E = (z) => {
3948
- n.value = Array.isArray(z) ? z[0] || { id: "1", name: i.literals.and } : z;
3949
- }, P = (z) => {
3950
- const q = Array.isArray(z) ? z[0] : z, H = i.availableCategories.find(($) => $.name === q.id);
4007
+ })), E = (j) => {
4008
+ n.value = Array.isArray(j) ? j[0] || { id: "1", name: i.literals.and } : j;
4009
+ }, M = (j) => {
4010
+ const q = Array.isArray(j) ? j[0] : j, H = i.availableCategories.find(($) => $.name === q.id);
3951
4011
  H && (a.value = H);
3952
4012
  }, R = () => {
3953
4013
  if (!a.value || !a.value.name)
3954
4014
  return;
3955
- const z = {
4015
+ const j = {
3956
4016
  label: a.value.label,
3957
4017
  name: a.value.name,
3958
4018
  type: a.value.componentType,
3959
4019
  props: { ...a.value.defaultProps }
3960
4020
  };
3961
- r.push(z);
3962
- }, K = (z, q) => {
3963
- if (z < 0 || z >= r.length) return;
3964
- const H = r[z];
4021
+ r.push(j);
4022
+ }, K = (j, q) => {
4023
+ if (j < 0 || j >= r.length) return;
4024
+ const H = r[j];
3965
4025
  H.type === "uiInput" ? typeof q == "string" && (H.props.value = q) : H.type === "uiSelect" && (Array.isArray(q) ? H.props.select = q[0] : typeof q == "object" && q !== null && (H.props.select = q));
3966
- }, re = (z) => {
3967
- z >= 0 && z < r.length && (r.splice(z, 1), o("smartFilterDeleted", z));
4026
+ }, re = (j) => {
4027
+ j >= 0 && j < r.length && (r.splice(j, 1), o("smartFilterDeleted", j));
3968
4028
  }, me = () => {
3969
4029
  r.splice(0, r.length), o("smartFiltersCleared");
3970
- }, fe = (z) => {
4030
+ }, fe = (j) => {
3971
4031
  const H = {
3972
4032
  logicOperator: n.value.id === "1" ? "and" : "or",
3973
4033
  filters: r.map(($) => ({
@@ -3977,9 +4037,9 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
3977
4037
  value: $.type === "uiInput" ? $.props.value : $.props.select?.name
3978
4038
  }))
3979
4039
  };
3980
- o("smartFiltersSent", H), z();
4040
+ o("smartFiltersSent", H), j();
3981
4041
  };
3982
- return (z, q) => e.loading ? (l(), s("div", Mr, [...q[1] || (q[1] = [
4042
+ return (j, q) => e.loading ? (l(), s("div", Mr, [...q[1] || (q[1] = [
3983
4043
  ee('<div class="inline-flex items-center gap-x-2 text-sm/6 font-semibold text-gray-900 outline-none flex-wrap gap-y-1"><div class="h-4 bg-gray-200 rounded-lg w-32"></div><div class="h-4 bg-gray-200 rounded-lg w-20"></div><div class="h-4 bg-gray-200 rounded-lg w-16"></div><div class="h-5 w-5 bg-gray-200 rounded-lg"></div></div>', 1)
3984
4044
  ])])) : (l(), w(f(kl), {
3985
4045
  key: 0,
@@ -4019,7 +4079,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
4019
4079
  class: "w-60",
4020
4080
  items: p.value,
4021
4081
  select: C.value,
4022
- onSelectChanged: P
4082
+ onSelectChanged: M
4023
4083
  }, null, 8, ["loading", "items", "select"]),
4024
4084
  m(U, {
4025
4085
  loading: i.loading,
@@ -4091,7 +4151,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
4091
4151
  ]),
4092
4152
  _: 1
4093
4153
  }, 8, ["loading"])) : b("", !0),
4094
- m(L, {
4154
+ m(P, {
4095
4155
  icon: f(pe),
4096
4156
  color: "red",
4097
4157
  loading: i.loading,
@@ -4135,7 +4195,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
4135
4195
  _: 1
4136
4196
  }));
4137
4197
  }
4138
- }), jr = { class: "w-full flex flex-col justify-center p-10 grow" }, Ar = { class: "text-center" }, Tr = { class: "text-2xl mt-4 font-bold" }, Dr = { class: "mt-4" }, Lr = { class: "buttons flex mt-8 gap-x-1 justify-center flex-col gap-y-2 md:flex-row md:gap-y-0" }, lt = /* @__PURE__ */ A({
4198
+ }), jr = { class: "w-full flex flex-col justify-center p-10 grow" }, Ar = { class: "text-center" }, Tr = { class: "text-2xl mt-4 font-bold" }, Dr = { class: "mt-4" }, Lr = { class: "buttons flex mt-8 gap-x-1 justify-center flex-col gap-y-2 md:flex-row md:gap-y-0" }, lt = /* @__PURE__ */ T({
4139
4199
  __name: "uiNoResults",
4140
4200
  props: {
4141
4201
  title: {},
@@ -4147,7 +4207,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
4147
4207
  emits: ["action", "noResultsOptionSelected"],
4148
4208
  setup(e) {
4149
4209
  return (g, i) => (l(), s("div", jr, [
4150
- m(L, {
4210
+ m(P, {
4151
4211
  class: "mx-auto",
4152
4212
  loading: !1,
4153
4213
  icon: f(te),
@@ -4214,7 +4274,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
4214
4274
  }, rd = ["onClick"], dd = { key: 0 }, cd = {
4215
4275
  key: 2,
4216
4276
  class: "devicesFooter px-1 flex flex-row justify-between items-center"
4217
- }, ud = { key: 0 }, gd = /* @__PURE__ */ A({
4277
+ }, ud = { key: 0 }, gd = /* @__PURE__ */ T({
4218
4278
  __name: "uiTable",
4219
4279
  props: {
4220
4280
  selectAllItemsModal: {},
@@ -4243,33 +4303,33 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
4243
4303
  setup(e, { emit: g }) {
4244
4304
  const i = {
4245
4305
  uiTag: J
4246
- }, o = g, n = e, r = V([]), a = V(""), d = V(!1), c = V(null), v = V(null), p = V(!1), C = V(null), N = V(null), E = j(() => n.items && n.items.length > 0), P = j(() => r.value.length > 0), R = j(() => n.actions && n.actions.length > 0 || !1), K = j(
4306
+ }, o = g, n = e, r = V([]), a = V(""), d = V(!1), c = V(null), v = V(null), p = V(!1), C = V(null), N = V(null), E = A(() => n.items && n.items.length > 0), M = A(() => r.value.length > 0), R = A(() => n.actions && n.actions.length > 0 || !1), K = A(
4247
4307
  () => r.value.length === n.items.length && n.items.length > 0
4248
- ), re = j(
4308
+ ), re = A(
4249
4309
  () => r.value.length > 0 && r.value.length < n.items.length
4250
- ), me = j(
4251
- () => n.header.filter((h, T) => nt(T))
4252
- ), fe = j(() => [
4310
+ ), me = A(
4311
+ () => n.header.filter((h, D) => nt(D))
4312
+ ), fe = A(() => [
4253
4313
  n.actions ? "px-6 sm:px-8" : "px-3",
4254
4314
  "relative"
4255
- ]), z = j(() => [
4315
+ ]), j = A(() => [
4256
4316
  n.actions && n.actions.length > 0 ? "w-2" : "w-0",
4257
4317
  "relative"
4258
- ]), q = j(
4318
+ ]), q = A(
4259
4319
  () => n.smartFilterCategories && n.smartFilterCategories.length > 0
4260
- ), H = j(
4320
+ ), H = A(
4261
4321
  () => n.tableActionsDropdown && n.tableActionsDropdown.items && n.tableActionsDropdown.items.length > 0
4262
- ), $ = j(
4322
+ ), $ = A(
4263
4323
  () => n.tableActionButtons && n.tableActionButtons.length > 0
4264
- ), F = j(
4324
+ ), F = A(
4265
4325
  () => q.value || H.value || $.value
4266
- ), I = j(
4326
+ ), I = A(
4267
4327
  () => n.paginationCurrent !== void 0 || n.paginationTotal !== void 0
4268
- ), W = j(
4328
+ ), W = A(
4269
4329
  () => n.paginationCurrent !== void 0 && n.paginationTotal !== void 0 && n.paginationTotalItems !== void 0
4270
- ), le = j(
4330
+ ), le = A(
4271
4331
  () => n.pageSizeOptions && n.pageSizeOptions.length > 0
4272
- ), st = j(() => n.pageSizeOptions ? n.pageSizeOptions.map((h) => ({
4332
+ ), st = A(() => n.pageSizeOptions ? n.pageSizeOptions.map((h) => ({
4273
4333
  name: h.name,
4274
4334
  value: String(h.value),
4275
4335
  active: !!(h.active || n.currentPageSize && h.value === n.currentPageSize)
@@ -4283,14 +4343,14 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
4283
4343
  filter: "Filtrar"
4284
4344
  }, _t = (h) => {
4285
4345
  h.action === "close" ? Se.value = !1 : (Se.value = !1, n.selectAllItemsModal && o("modalAction", { modal: n.selectAllItemsModal.modalName, action: h.action }));
4286
- }, nt = (h) => n.hiddenColumns && n.hiddenColumns.length > 0 ? !n.hiddenColumns.includes(h) : !0, Ne = (h) => r.value.includes(h), It = (h) => a.value === h, Vt = (h) => h.filter((T, M) => nt(M)), Nt = (h, T) => {
4287
- const M = [];
4288
- return Ne(h.id) && M.push("bg-gray-50"), T % 2 !== 0 && M.push("bg-gray-50"), M;
4346
+ }, nt = (h) => n.hiddenColumns && n.hiddenColumns.length > 0 ? !n.hiddenColumns.includes(h) : !0, Ne = (h) => r.value.includes(h), It = (h) => a.value === h, Vt = (h) => h.filter((D, z) => nt(z)), Nt = (h, D) => {
4347
+ const z = [];
4348
+ return Ne(h.id) && z.push("bg-gray-50"), D % 2 !== 0 && z.push("bg-gray-50"), z;
4289
4349
  }, Rt = (h) => {
4290
- const T = ["whitespace-nowrap", "py-4", "pr-3", "text-sm"];
4291
- return Ne(h) && T.push("text-black", "font-bold"), T;
4350
+ const D = ["whitespace-nowrap", "py-4", "pr-3", "text-sm"];
4351
+ return Ne(h) && D.push("text-black", "font-bold"), D;
4292
4352
  }, qt = (h) => {
4293
- const T = [
4353
+ const D = [
4294
4354
  "absolute",
4295
4355
  "left-4",
4296
4356
  "top-1/2",
@@ -4303,10 +4363,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
4303
4363
  "focus:ring-lime-400",
4304
4364
  "flex-wrap"
4305
4365
  ];
4306
- return h && T.push("bg-gray-100"), T;
4366
+ return h && D.push("bg-gray-100"), D;
4307
4367
  }, Ht = (h) => {
4308
- const T = [];
4309
- return h === n.orderedBy ? T.push("bg-black", "text-white", "group-hover:bg-lime-400", "group-hover:text-black") : T.push("group-hover:visible", "group-focus:visible"), T;
4368
+ const D = [];
4369
+ return h === n.orderedBy ? D.push("bg-black", "text-white", "group-hover:bg-lime-400", "group-hover:text-black") : D.push("group-hover:visible", "group-focus:visible"), D;
4310
4370
  }, Yt = (h) => typeof h == "object" && h.type === "tag" ? i.uiTag : typeof h == "object" && h.type === "link" ? "span" : typeof h == "object" && h.type === "href" ? "a" : typeof h == "object" && h.type === "guest" ? "div" : typeof h == "object" && h.type === "action" ? "button" : "span", at = (h) => typeof h == "object" && h.type === "tag" ? {
4311
4371
  loading: n.loading,
4312
4372
  color: h.color || "primary",
@@ -4325,13 +4385,13 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
4325
4385
  } : {}, ot = (h) => typeof h == "object" ? h.content || "" : h || "", Et = (h) => h === n.orderedBy ? n.orderDirection === "asc" ? oe : jt : oe, Ut = (h) => h === n.orderedBy ? "white" : "primary", Zt = (h) => {
4326
4386
  o("tableAction", { action: h.id, items: r.value });
4327
4387
  }, Wt = (h) => {
4328
- const T = h.target;
4329
- T.checked ? Se.value = !0 : o("deselectAllItems"), r.value = T.checked ? n.items.map((M) => M.disabled ? null : M.id) : [];
4388
+ const D = h.target;
4389
+ D.checked ? Se.value = !0 : o("deselectAllItems"), r.value = D.checked ? n.items.map((z) => z.disabled ? null : z.id) : [];
4330
4390
  }, Gt = (h) => {
4331
- const T = n.orderDirection === "asc" ? "desc" : "asc";
4332
- o("orderBy", { value: h, orderDirection: T });
4333
- }, de = (h, T) => {
4334
- typeof h == "object" && (h.type === "link" || h.type === "action") && o("customEmit", { data: h, rowId: T });
4391
+ const D = n.orderDirection === "asc" ? "desc" : "asc";
4392
+ o("orderBy", { value: h, orderDirection: D });
4393
+ }, de = (h, D) => {
4394
+ typeof h == "object" && (h.type === "link" || h.type === "action") && o("customEmit", { data: h, rowId: D });
4335
4395
  }, Jt = (h) => {
4336
4396
  typeof h == "object" && h.type === "tag" && o("customEmit", { data: h });
4337
4397
  }, Kt = (h) => {
@@ -4353,13 +4413,13 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
4353
4413
  }, al = (h) => {
4354
4414
  o("changePageSize", h.value);
4355
4415
  }, ol = (h) => {
4356
- const T = Number(h.value);
4357
- h.checked ? o("columnsVisibilityChanged", { index: T, hidden: !0 }) : o("columnsVisibilityChanged", { index: T, hidden: !1 });
4416
+ const D = Number(h.value);
4417
+ h.checked ? o("columnsVisibilityChanged", { index: D, hidden: !0 }) : o("columnsVisibilityChanged", { index: D, hidden: !1 });
4358
4418
  }, il = (h) => {
4359
4419
  o("noResultsAction", h);
4360
4420
  }, rl = (h) => {
4361
4421
  o("noResultsOptionSelected", h);
4362
- }, dl = (h) => !!(n.hiddenColumns && n.hiddenColumns.includes(h)), cl = j(() => n.smartFilterCategories ? n.smartFilterCategories.map((h) => ({
4422
+ }, dl = (h) => !!(n.hiddenColumns && n.hiddenColumns.includes(h)), cl = A(() => n.smartFilterCategories ? n.smartFilterCategories.map((h) => ({
4363
4423
  id: h.id,
4364
4424
  label: h.name,
4365
4425
  // uiSmartFilterMultipleV2 usa 'label' en lugar de 'name'
@@ -4367,10 +4427,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
4367
4427
  // Mantenemos name para compatibilidad
4368
4428
  componentType: h.componentType,
4369
4429
  defaultProps: h.defaultProps
4370
- })) : []), ul = j(() => p.value && n.items.length > 25 ? "overflow-y-auto" : ""), gl = j(() => {
4430
+ })) : []), ul = A(() => p.value && n.items.length > 25 ? "overflow-y-auto" : ""), gl = A(() => {
4371
4431
  const h = "bg-lime-50 z-10";
4372
4432
  return p.value && n.items.length > 25 ? `${h} sticky top-0` : h;
4373
- }), ml = j(() => ({})), fl = j(() => p.value && C.value !== null && n.items.length > 25 ? { maxHeight: `${C.value}px` } : {}), he = () => {
4433
+ }), ml = A(() => ({})), fl = A(() => p.value && C.value !== null && n.items.length > 25 ? { maxHeight: `${C.value}px` } : {}), he = () => {
4374
4434
  if (!v.value || !c.value) return;
4375
4435
  if (n.items.length <= 25) {
4376
4436
  C.value = null, p.value = !1;
@@ -4379,9 +4439,9 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
4379
4439
  const h = c.value.querySelector("table");
4380
4440
  h && be(() => {
4381
4441
  if (!c.value || !h) return;
4382
- const T = h.querySelector("thead"), M = h.querySelector("tbody");
4383
- if (!T || !M) return;
4384
- const Q = T.offsetHeight, _ = M.querySelector("tr");
4442
+ const D = h.querySelector("thead"), z = h.querySelector("tbody");
4443
+ if (!D || !z) return;
4444
+ const Q = D.offsetHeight, _ = z.querySelector("tr");
4385
4445
  if (!_) return;
4386
4446
  const Re = _.offsetHeight, X = Q + Re * 25;
4387
4447
  C.value = X, p.value = !0;
@@ -4417,14 +4477,14 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
4417
4477
  });
4418
4478
  }), bl(() => {
4419
4479
  N.value && (window.removeEventListener("resize", N.value), N.value = null);
4420
- }), (h, T) => !e.loading && E.value ? (l(), s("div", Pr, [
4480
+ }), (h, D) => !e.loading && E.value ? (l(), s("div", Pr, [
4421
4481
  e.selectAllItemsModal ? (l(), w(Pe, {
4422
4482
  key: 0,
4423
4483
  title: e.selectAllItemsModal.title,
4424
4484
  modalName: e.selectAllItemsModal.modalName,
4425
4485
  open: Se.value,
4426
4486
  actions: e.selectAllItemsModal.actions,
4427
- onModalAction: T[0] || (T[0] = (M) => _t(M))
4487
+ onModalAction: D[0] || (D[0] = (z) => _t(z))
4428
4488
  }, {
4429
4489
  default: y(() => [
4430
4490
  B(u(e.selectAllItemsModal.content), 1)
@@ -4435,11 +4495,11 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
4435
4495
  title: "Seleccione las columnas que desea ocultar",
4436
4496
  modalName: "columnsModal",
4437
4497
  open: Be.value,
4438
- onClose: T[1] || (T[1] = (M) => Be.value = !1),
4439
- onModalAction: T[2] || (T[2] = (M) => M.action === "close" ? Be.value = !1 : null)
4498
+ onClose: D[1] || (D[1] = (z) => Be.value = !1),
4499
+ onModalAction: D[2] || (D[2] = (z) => z.action === "close" ? Be.value = !1 : null)
4440
4500
  }, {
4441
4501
  default: y(() => [
4442
- (l(!0), s(k, null, S(n.header, (M, Q) => (l(), w(ue, {
4502
+ (l(!0), s(k, null, S(n.header, (z, Q) => (l(), w(ue, {
4443
4503
  onCheckboxChanged: ol,
4444
4504
  check: dl(Q),
4445
4505
  class: "mb-2",
@@ -4448,7 +4508,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
4448
4508
  value: String(Q)
4449
4509
  }, {
4450
4510
  default: y(() => [
4451
- B(u(M.name), 1)
4511
+ B(u(z.name), 1)
4452
4512
  ]),
4453
4513
  _: 2
4454
4514
  }, 1032, ["check", "value"]))), 128))
@@ -4469,18 +4529,18 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
4469
4529
  ])) : b("", !0),
4470
4530
  H.value || $.value ? (l(), s("div", _r, [
4471
4531
  $.value ? (l(), s("div", Ir, [
4472
- (l(!0), s(k, null, S(n.tableActionButtons, (M) => (l(), w(U, {
4473
- key: M.id,
4474
- loading: M.loading !== void 0 ? M.loading : n.loading,
4475
- disabled: M.disabled,
4476
- color: M.color || "primary",
4477
- size: M.size || "medium",
4478
- icon: M.icon,
4532
+ (l(!0), s(k, null, S(n.tableActionButtons, (z) => (l(), w(U, {
4533
+ key: z.id,
4534
+ loading: z.loading !== void 0 ? z.loading : n.loading,
4535
+ disabled: z.disabled,
4536
+ color: z.color || "primary",
4537
+ size: z.size || "medium",
4538
+ icon: z.icon,
4479
4539
  class: "w-auto",
4480
- onClick: (Q) => sl(M)
4540
+ onClick: (Q) => sl(z)
4481
4541
  }, {
4482
4542
  default: y(() => [
4483
- B(u(M.text), 1)
4543
+ B(u(z.text), 1)
4484
4544
  ]),
4485
4545
  _: 2
4486
4546
  }, 1032, ["loading", "disabled", "color", "size", "icon", "onClick"]))), 128))
@@ -4504,13 +4564,13 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
4504
4564
  t("div", Nr, [
4505
4565
  t("div", Rr, [
4506
4566
  t("div", qr, [
4507
- P.value && R.value ? (l(), s("div", Hr, [
4508
- (l(!0), s(k, null, S(e.actions, (M, Q) => (l(), s("button", {
4567
+ M.value && R.value ? (l(), s("div", Hr, [
4568
+ (l(!0), s(k, null, S(e.actions, (z, Q) => (l(), s("button", {
4509
4569
  key: Q,
4510
4570
  type: "button",
4511
4571
  class: "inline-flex items-center rounded bg-lime-400 hover:bg-black px-2.5 py-1.5 text-xs font-medium text-white shadow-sm disabled:cursor-not-allowed disabled:opacity-30",
4512
- onClick: (_) => Zt(M)
4513
- }, u(M.name), 9, Yr))), 128))
4572
+ onClick: (_) => Zt(z)
4573
+ }, u(z.name), 9, Yr))), 128))
4514
4574
  ])) : b("", !0),
4515
4575
  t("div", {
4516
4576
  ref_key: "tableScrollContainer",
@@ -4536,61 +4596,61 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
4536
4596
  onChange: Wt
4537
4597
  }, null, 40, Ur)) : b("", !0)
4538
4598
  ], 2),
4539
- (l(!0), s(k, null, S(me.value, (M, Q) => (l(), s("th", {
4599
+ (l(!0), s(k, null, S(me.value, (z, Q) => (l(), s("th", {
4540
4600
  key: Q,
4541
4601
  class: "py-3.5 pr-3 text-left font-semibold relative",
4542
4602
  scope: "col",
4543
- onMouseover: (_) => Kt(M.name),
4544
- onMouseleave: T[3] || (T[3] = (_) => Qt())
4603
+ onMouseover: (_) => Kt(z.name),
4604
+ onMouseleave: D[3] || (D[3] = (_) => Qt())
4545
4605
  }, [
4546
- M.tooltip && It(M.name) ? (l(), w(pr, {
4606
+ z.tooltip && It(z.name) ? (l(), w(pr, {
4547
4607
  key: 0,
4548
- tip: M.tooltip
4608
+ tip: z.tooltip
4549
4609
  }, null, 8, ["tip"])) : b("", !0),
4550
- M.value ? (l(), s("button", {
4610
+ z.value ? (l(), s("button", {
4551
4611
  key: 1,
4552
4612
  class: "group flex items-center uppercase text-xs relative text-nowrap",
4553
- onClick: (_) => Gt(M.value)
4613
+ onClick: (_) => Gt(z.value)
4554
4614
  }, [
4555
- t("span", null, u(M.name), 1),
4615
+ t("span", null, u(z.name), 1),
4556
4616
  t("span", {
4557
- class: x([Ht(M.value), "ml-2 flex-none rounded group-hover:bg-lime-200 group-hover:text-white"])
4617
+ class: x([Ht(z.value), "ml-2 flex-none rounded group-hover:bg-lime-200 group-hover:text-white"])
4558
4618
  }, [
4559
- m(L, {
4560
- icon: Et(M.value),
4619
+ m(P, {
4620
+ icon: Et(z.value),
4561
4621
  loading: e.loading,
4562
- color: Ut(M.value)
4622
+ color: Ut(z.value)
4563
4623
  }, null, 8, ["icon", "loading", "color"])
4564
4624
  ], 2)
4565
4625
  ], 8, Wr)) : (l(), s("p", Gr, [
4566
- t("span", null, u(M.name), 1)
4626
+ t("span", null, u(z.name), 1)
4567
4627
  ]))
4568
4628
  ], 40, Zr))), 128))
4569
4629
  ])
4570
4630
  ], 2),
4571
4631
  t("tbody", Jr, [
4572
- (l(!0), s(k, null, S(e.items, (M, Q) => (l(), s("tr", {
4573
- key: M.id,
4574
- class: x(Nt(M, Q))
4632
+ (l(!0), s(k, null, S(e.items, (z, Q) => (l(), s("tr", {
4633
+ key: z.id,
4634
+ class: x(Nt(z, Q))
4575
4635
  }, [
4576
4636
  t("td", {
4577
- class: x(z.value)
4637
+ class: x(j.value)
4578
4638
  }, [
4579
- Ne(M.id) ? (l(), s("div", Kr)) : b("", !0),
4580
- R.value ? D((l(), s("input", {
4639
+ Ne(z.id) ? (l(), s("div", Kr)) : b("", !0),
4640
+ R.value ? L((l(), s("input", {
4581
4641
  key: 1,
4582
- "onUpdate:modelValue": T[4] || (T[4] = (_) => r.value = _),
4583
- value: M.id,
4584
- class: x(qt(M.disabled)),
4642
+ "onUpdate:modelValue": D[4] || (D[4] = (_) => r.value = _),
4643
+ value: z.id,
4644
+ class: x(qt(z.disabled)),
4585
4645
  type: "checkbox",
4586
- disabled: M.disabled
4646
+ disabled: z.disabled
4587
4647
  }, null, 10, Qr)), [
4588
4648
  [yt, r.value]
4589
4649
  ]) : b("", !0)
4590
4650
  ], 2),
4591
- (l(!0), s(k, null, S(Vt(M.row), (_, Re) => (l(), s("td", {
4651
+ (l(!0), s(k, null, S(Vt(z.row), (_, Re) => (l(), s("td", {
4592
4652
  key: Re,
4593
- class: x(Rt(M.id))
4653
+ class: x(Rt(z.id))
4594
4654
  }, [
4595
4655
  typeof _ == "object" && _.type === "guest" ? (l(), s("div", Xr, [
4596
4656
  t("span", ed, u(_.content), 1),
@@ -4599,9 +4659,9 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
4599
4659
  key: 1,
4600
4660
  type: "button",
4601
4661
  class: "inline-flex items-center gap-2 px-3 py-1.5 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-lime-400 focus:ring-offset-2",
4602
- onClick: (X) => de(_, M.id)
4662
+ onClick: (X) => de(_, z.id)
4603
4663
  }, [
4604
- _.icon ? (l(), w(L, {
4664
+ _.icon ? (l(), w(P, {
4605
4665
  key: 0,
4606
4666
  loading: e.loading,
4607
4667
  icon: _.icon,
@@ -4613,10 +4673,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
4613
4673
  key: 2,
4614
4674
  ref_for: !0
4615
4675
  }, at(_), {
4616
- onClick: (X) => de(_, M.id)
4676
+ onClick: (X) => de(_, z.id)
4617
4677
  }), [
4618
4678
  B(u(ot(_)) + " ", 1),
4619
- _.icon ? (l(), w(L, {
4679
+ _.icon ? (l(), w(P, {
4620
4680
  key: 0,
4621
4681
  loading: e.loading,
4622
4682
  icon: _.icon,
@@ -4628,10 +4688,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
4628
4688
  t("span", null, u(_.content), 1),
4629
4689
  t("button", {
4630
4690
  type: "button",
4631
- onClick: (X) => de({ type: "action", action: "reveal", value: _.value }, M.id),
4691
+ onClick: (X) => de({ type: "action", action: "reveal", value: _.value }, z.id),
4632
4692
  class: "inline-flex items-center p-1 text-gray-500 hover:text-gray-700 focus:outline-none"
4633
4693
  }, [
4634
- m(L, {
4694
+ m(P, {
4635
4695
  loading: e.loading,
4636
4696
  icon: f(Wl),
4637
4697
  size: "small",
@@ -4640,10 +4700,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
4640
4700
  ], 8, ad),
4641
4701
  t("button", {
4642
4702
  type: "button",
4643
- onClick: (X) => de({ type: "action", action: "copy", value: _.value }, M.id),
4703
+ onClick: (X) => de({ type: "action", action: "copy", value: _.value }, z.id),
4644
4704
  class: "inline-flex items-center p-1 text-gray-500 hover:text-gray-700 focus:outline-none"
4645
4705
  }, [
4646
- m(L, {
4706
+ m(P, {
4647
4707
  loading: e.loading,
4648
4708
  icon: f(Ye),
4649
4709
  size: "small",
@@ -4654,10 +4714,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
4654
4714
  (l(!0), s(k, null, S(_.actions, (X, hl) => (l(), s("button", {
4655
4715
  key: hl,
4656
4716
  type: "button",
4657
- onClick: (kg) => de({ type: "action", action: X.action }, M.id),
4717
+ onClick: (kg) => de({ type: "action", action: X.action }, z.id),
4658
4718
  class: x(X.action === "viewCode" ? "inline-flex items-center gap-1 px-3 py-1.5 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-lime-400 focus:ring-offset-2" : "inline-flex items-center p-1 text-gray-500 hover:text-gray-700 focus:outline-none")
4659
4719
  }, [
4660
- m(L, {
4720
+ m(P, {
4661
4721
  loading: e.loading,
4662
4722
  icon: X.icon,
4663
4723
  size: "small",
@@ -4706,22 +4766,22 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
4706
4766
  loading: n.loading,
4707
4767
  onChangePage: nl
4708
4768
  }, {
4709
- previous: y(() => [...T[5] || (T[5] = [
4769
+ previous: y(() => [...D[5] || (D[5] = [
4710
4770
  B("Anterior", -1)
4711
4771
  ])]),
4712
- next: y(() => [...T[6] || (T[6] = [
4772
+ next: y(() => [...D[6] || (D[6] = [
4713
4773
  B("Siguiente", -1)
4714
4774
  ])]),
4715
- showing: y(() => [...T[7] || (T[7] = [
4775
+ showing: y(() => [...D[7] || (D[7] = [
4716
4776
  B("Mostrando", -1)
4717
4777
  ])]),
4718
- of: y(() => [...T[8] || (T[8] = [
4778
+ of: y(() => [...D[8] || (D[8] = [
4719
4779
  B("de", -1)
4720
4780
  ])]),
4721
- pages: y(() => [...T[9] || (T[9] = [
4781
+ pages: y(() => [...D[9] || (D[9] = [
4722
4782
  B("páginas", -1)
4723
4783
  ])]),
4724
- fromTotal: y(() => [...T[10] || (T[10] = [
4784
+ fromTotal: y(() => [...D[10] || (D[10] = [
4725
4785
  B("Elementos totales:", -1)
4726
4786
  ])]),
4727
4787
  _: 1
@@ -4742,7 +4802,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
4742
4802
  }), md = { class: "lg:hidden" }, fd = ["value"], hd = { class: "hidden lg:block overflow-x-auto" }, yd = { class: "border-b border-gray-200" }, bd = {
4743
4803
  class: "-mb-px flex space-x-8",
4744
4804
  "aria-label": "Tabs"
4745
- }, vd = ["onClick", "aria-current"], xd = /* @__PURE__ */ A({
4805
+ }, vd = ["onClick", "aria-current"], xd = /* @__PURE__ */ T({
4746
4806
  __name: "uiTabs",
4747
4807
  props: {
4748
4808
  tabs: {}
@@ -4816,7 +4876,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
4816
4876
  key: 0,
4817
4877
  class: "absolute left-4 top-4 -ml-px h-full w-0.5 bg-gray-200",
4818
4878
  "aria-hidden": "true"
4819
- }, Rd = /* @__PURE__ */ A({
4879
+ }, Rd = /* @__PURE__ */ T({
4820
4880
  __name: "uiTimeline",
4821
4881
  props: {
4822
4882
  name: {},
@@ -4878,7 +4938,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
4878
4938
  "bg-yellow-400": a?.iconBackground === "warning"
4879
4939
  }, "h-8 w-8 rounded-full flex items-center justify-center ring-4 ring-white"])
4880
4940
  }, [
4881
- m(L, {
4941
+ m(P, {
4882
4942
  loading: e.loading,
4883
4943
  icon: a?.icon,
4884
4944
  "aria-hidden": "true",
@@ -4919,7 +4979,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
4919
4979
  }, u(e.timeline.footerText), 1)
4920
4980
  ])
4921
4981
  ])) : (l(), s("div", Pd, [
4922
- m(L, {
4982
+ m(P, {
4923
4983
  icon: f(te),
4924
4984
  color: "gray",
4925
4985
  loading: !1,
@@ -4932,7 +4992,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
4932
4992
  }), qd = { class: "mx-auto px-6 lg:px-8" }, Hd = { class: "flex justify-between h-20" }, Yd = { class: "flex" }, Ed = { class: "-ml-2 mr-2 flex items-center lg:hidden" }, Ud = ["src"], Zd = { class: "flex items-center" }, Wd = { class: "lg:ml-4 lg:flex-shrink-0 lg:flex lg:items-center hidden" }, Gd = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute -top-0 -left-1" }, Jd = ["src"], Kd = ["onClick"], Qd = { class: "pt-2 pb-3 space-y-1" }, Xd = ["onClick"], ec = { class: "pt-4 pb-3 border-t border-gray-200" }, tc = { class: "flex items-center px-4 sm:px-6" }, lc = { class: "flex-shrink-0" }, sc = ["src"], nc = {
4933
4993
  key: 0,
4934
4994
  class: "ml-3"
4935
- }, ac = { class: "text-base font-medium text-gray-800" }, oc = { class: "text-sm font-medium text-gray-500" }, ic = { class: "mt-3 space-y-1" }, rc = ["onClick"], dc = /* @__PURE__ */ A({
4995
+ }, ac = { class: "text-base font-medium text-gray-800" }, oc = { class: "text-sm font-medium text-gray-500" }, ic = { class: "mt-3 space-y-1" }, rc = ["onClick"], dc = /* @__PURE__ */ T({
4936
4996
  __name: "uiTopbar",
4937
4997
  props: {
4938
4998
  logo: {},
@@ -4944,7 +5004,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
4944
5004
  },
4945
5005
  emits: ["topBarClick"],
4946
5006
  setup(e, { emit: g }) {
4947
- const i = e, o = j(() => i.navigation ? Array.isArray(i.navigation) ? i.navigation : [i.navigation] : []);
5007
+ const i = e, o = A(() => i.navigation ? Array.isArray(i.navigation) ? i.navigation : [i.navigation] : []);
4948
5008
  return (n, r) => (l(), w(f(_e), {
4949
5009
  as: "nav",
4950
5010
  class: "bg-white shadow z-10"
@@ -4989,9 +5049,9 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
4989
5049
  }, {
4990
5050
  default: y(() => [
4991
5051
  t("div", null, [
4992
- D(m(f(We), { class: "bg-white rounded-full flex text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 relative" }, {
5052
+ L(m(f(We), { class: "bg-white rounded-full flex text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 relative" }, {
4993
5053
  default: y(() => [
4994
- D(t("div", Gd, [...r[2] || (r[2] = [
5054
+ L(t("div", Gd, [...r[2] || (r[2] = [
4995
5055
  t("span", { class: "animate-ping absolute inline-flex h-4 w-4 bg-red-500 rounded-full opacity-75" }, null, -1)
4996
5056
  ])], 512), [
4997
5057
  [O, e.alerted]
@@ -5098,13 +5158,13 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
5098
5158
  _: 1
5099
5159
  }));
5100
5160
  }
5101
- }), cc = { class: "chart-selector flex flex-row items-center justify-center" }, uc = /* @__PURE__ */ A({
5161
+ }), cc = { class: "chart-selector flex flex-row items-center justify-center" }, uc = /* @__PURE__ */ T({
5102
5162
  __name: "RangeSelector",
5103
5163
  props: { range: { type: String } },
5104
5164
  emits: ["rangeSelected"],
5105
5165
  setup(e, { emit: g }) {
5106
5166
  const i = g, o = e;
5107
- let n = j(() => o.range);
5167
+ let n = A(() => o.range);
5108
5168
  const r = (a) => {
5109
5169
  n = a, i("rangeSelected", a);
5110
5170
  };
@@ -5127,7 +5187,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
5127
5187
  }, "3M", 2)
5128
5188
  ]));
5129
5189
  }
5130
- }), gc = { class: "chart-header flex flex-row justify-between" }, mc = { class: "text-sm font-medium text-gray-500 truncate" }, fc = { class: "chart-content" }, hc = { class: "h-full w-full flex items-center justify-center flex-col" }, yc = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, bc = /* @__PURE__ */ A({
5190
+ }), gc = { class: "chart-header flex flex-row justify-between" }, mc = { class: "text-sm font-medium text-gray-500 truncate" }, fc = { class: "chart-content" }, hc = { class: "h-full w-full flex items-center justify-center flex-col" }, yc = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, bc = /* @__PURE__ */ T({
5131
5191
  __name: "uiFunnelChartV2",
5132
5192
  props: {
5133
5193
  labels: {},
@@ -5185,11 +5245,11 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
5185
5245
  }
5186
5246
  }
5187
5247
  };
5188
- const r = j(() => ({ ...o.options, ...n })), a = j(() => o.series), d = () => i("chartUpdated"), c = (v, p, C) => {
5248
+ const r = A(() => ({ ...o.options, ...n })), a = A(() => o.series), d = () => i("chartUpdated"), c = (v, p, C) => {
5189
5249
  i("dataPointSelection", { id: o.id, chartContext: p, config: C, event: v });
5190
5250
  };
5191
5251
  return (v, p) => (l(), s(k, null, [
5192
- D(t("div", {
5252
+ L(t("div", {
5193
5253
  class: x(["h-[" + e.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow"])
5194
5254
  }, [
5195
5255
  t("div", gc, [
@@ -5199,7 +5259,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
5199
5259
  onRangeSelected: p[0] || (p[0] = (C) => v.$emit("selectedRange", { range: C, chartId: e.id }))
5200
5260
  }, null, 8, ["range"])
5201
5261
  ]),
5202
- D(t("div", fc, [
5262
+ L(t("div", fc, [
5203
5263
  m(tt, {
5204
5264
  type: e.type,
5205
5265
  series: a.value,
@@ -5213,8 +5273,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
5213
5273
  ], 512), [
5214
5274
  [O, !e.empty]
5215
5275
  ]),
5216
- D(t("div", hc, [
5217
- m(L, {
5276
+ L(t("div", hc, [
5277
+ m(P, {
5218
5278
  icon: f(te),
5219
5279
  color: "gray",
5220
5280
  loading: !1,
@@ -5227,7 +5287,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
5227
5287
  ], 2), [
5228
5288
  [O, !e.loading]
5229
5289
  ]),
5230
- D(t("div", yc, [...p[2] || (p[2] = [
5290
+ L(t("div", yc, [...p[2] || (p[2] = [
5231
5291
  t("div", {
5232
5292
  role: "status",
5233
5293
  class: "w-full animate-pulse h-full flex flex-col"
@@ -5258,7 +5318,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
5258
5318
  ])
5259
5319
  ], 64));
5260
5320
  }
5261
- }), vc = { class: "fixed inset-0 overflow-hidden" }, xc = { class: "absolute inset-0 overflow-hidden" }, pc = { class: "pointer-events-none fixed inset-y-0 right-0 flex max-w-full pl-10" }, wc = { class: "flex h-full flex-col overflow-y-scroll bg-white shadow-xl" }, kc = { class: "bg-lime-400 px-4 py-6 sm:px-6" }, $c = { class: "flex items-center justify-between" }, Cc = { class: "ml-3 flex h-7 items-center" }, Sc = { class: "mt-1" }, Bc = { class: "text-sm" }, Mc = { class: "relative flex-1 px-4 py-6 sm:px-6" }, zc = /* @__PURE__ */ A({
5321
+ }), vc = { class: "fixed inset-0 overflow-hidden" }, xc = { class: "absolute inset-0 overflow-hidden" }, pc = { class: "pointer-events-none fixed inset-y-0 right-0 flex max-w-full pl-10" }, wc = { class: "flex h-full flex-col overflow-y-scroll bg-white shadow-xl" }, kc = { class: "bg-lime-400 px-4 py-6 sm:px-6" }, $c = { class: "flex items-center justify-between" }, Cc = { class: "ml-3 flex h-7 items-center" }, Sc = { class: "mt-1" }, Bc = { class: "text-sm" }, Mc = { class: "relative flex-1 px-4 py-6 sm:px-6" }, zc = /* @__PURE__ */ T({
5262
5322
  __name: "uiRightSidebar",
5263
5323
  props: {
5264
5324
  title: {},
@@ -5350,7 +5410,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
5350
5410
  key: 2,
5351
5411
  role: "list",
5352
5412
  class: "grid grid-cols-2 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-4 lg:grid-cols-6"
5353
- }, Ic = /* @__PURE__ */ A({
5413
+ }, Ic = /* @__PURE__ */ T({
5354
5414
  __name: "uiGallery",
5355
5415
  props: {
5356
5416
  galleryId: {},
@@ -5404,7 +5464,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
5404
5464
  t("p", Pc, u(d.title), 1),
5405
5465
  t("div", Fc, [
5406
5466
  t("p", Oc, u(d.size), 1),
5407
- m(L, {
5467
+ m(P, {
5408
5468
  class: "cursor-pointer",
5409
5469
  icon: f(pe),
5410
5470
  color: "red",
@@ -5432,7 +5492,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
5432
5492
  }), Vc = {
5433
5493
  key: 1,
5434
5494
  class: "animate-pulse"
5435
- }, Nc = /* @__PURE__ */ A({
5495
+ }, Nc = /* @__PURE__ */ T({
5436
5496
  __name: "DraggableWrapper",
5437
5497
  emits: ["update:modelValue"],
5438
5498
  setup(e) {
@@ -5463,7 +5523,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
5463
5523
  }), Rc = { class: "cursor-move mb-1 relative flex items-center space-x-3 rounded-lg border border-gray-300 bg-white p-4 shadow-sm focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 hover:border-gray-400" }, qc = { class: "flex flex-row items-center w-full" }, Hc = { class: "content text-sm grow" }, Yc = { class: "font-bold" }, Ec = { key: 0 }, Uc = { class: "font-bold text-gray-400" }, Zc = {
5464
5524
  key: 1,
5465
5525
  class: "animate-pulse"
5466
- }, Wc = /* @__PURE__ */ A({
5526
+ }, Wc = /* @__PURE__ */ T({
5467
5527
  __name: "uiDragAndDrop",
5468
5528
  props: {
5469
5529
  elements: {},
@@ -5492,7 +5552,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
5492
5552
  item: y(({ item: c }) => [
5493
5553
  t("div", Rc, [
5494
5554
  t("div", qc, [
5495
- m(L, {
5555
+ m(P, {
5496
5556
  icon: f(Hl),
5497
5557
  loading: !1,
5498
5558
  color: "gray",
@@ -5510,7 +5570,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
5510
5570
  _: 1
5511
5571
  }, 8, ["modelValue"]));
5512
5572
  }
5513
- }), Gc = { class: "chart-header flex flex-row justify-between" }, Jc = { class: "text-sm font-medium text-gray-500 truncate" }, Kc = { class: "hidden sm:flex items-center" }, Qc = { class: "w-1/2 min-w-0 flex-1" }, Xc = ["max"], eu = { class: "min-w-0 flex-1" }, tu = ["max"], lu = { class: "chart-content" }, su = { class: "h-full w-full flex items-center justify-center flex-col" }, nu = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, au = /* @__PURE__ */ A({
5573
+ }), Gc = { class: "chart-header flex flex-row justify-between" }, Jc = { class: "text-sm font-medium text-gray-500 truncate" }, Kc = { class: "hidden sm:flex items-center" }, Qc = { class: "w-1/2 min-w-0 flex-1" }, Xc = ["max"], eu = { class: "min-w-0 flex-1" }, tu = ["max"], lu = { class: "chart-content" }, su = { class: "h-full w-full flex items-center justify-center flex-col" }, nu = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, au = /* @__PURE__ */ T({
5514
5574
  __name: "uiCircleChart",
5515
5575
  props: {
5516
5576
  labels: {},
@@ -5569,22 +5629,22 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
5569
5629
  }
5570
5630
  }
5571
5631
  };
5572
- const d = () => ({ ...a, ...o.options }), c = j(() => o.series), v = j(() => d()), p = () => i("chartUpdated"), C = (E, P, R) => {
5573
- i("dataPointSelection", { id: o.id, chartContext: P, config: R, event: E });
5632
+ const d = () => ({ ...a, ...o.options }), c = A(() => o.series), v = A(() => d()), p = () => i("chartUpdated"), C = (E, M, R) => {
5633
+ i("dataPointSelection", { id: o.id, chartContext: M, config: R, event: E });
5574
5634
  }, N = () => {
5575
5635
  r.from !== "" && r.to !== "" && Y(r.from).isBefore(Y(r.to)) && i("selectedRange", { range: r, chartId: o.id });
5576
5636
  };
5577
- return (E, P) => (l(), s(k, null, [
5578
- D(t("div", {
5637
+ return (E, M) => (l(), s(k, null, [
5638
+ L(t("div", {
5579
5639
  class: x(["h-[" + e.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow"])
5580
5640
  }, [
5581
5641
  t("div", Gc, [
5582
5642
  t("div", Jc, u(e.title), 1),
5583
5643
  t("div", Kc, [
5584
5644
  t("div", Qc, [
5585
- D(t("input", {
5645
+ L(t("input", {
5586
5646
  type: "datetime-local",
5587
- "onUpdate:modelValue": P[0] || (P[0] = (R) => f(r).from = R),
5647
+ "onUpdate:modelValue": M[0] || (M[0] = (R) => f(r).from = R),
5588
5648
  max: n.value.toString(),
5589
5649
  onChange: N,
5590
5650
  name: "from",
@@ -5595,9 +5655,9 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
5595
5655
  ])
5596
5656
  ]),
5597
5657
  t("div", eu, [
5598
- D(t("input", {
5658
+ L(t("input", {
5599
5659
  type: "datetime-local",
5600
- "onUpdate:modelValue": P[1] || (P[1] = (R) => f(r).to = R),
5660
+ "onUpdate:modelValue": M[1] || (M[1] = (R) => f(r).to = R),
5601
5661
  max: n.value.toString(),
5602
5662
  onChange: N,
5603
5663
  name: "to",
@@ -5607,16 +5667,16 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
5607
5667
  [xe, f(r).to]
5608
5668
  ])
5609
5669
  ]),
5610
- m(L, {
5670
+ m(P, {
5611
5671
  class: "ml-4 cursor-pointer",
5612
5672
  size: "big",
5613
5673
  loading: e.loading,
5614
5674
  icon: f(St),
5615
- onClick: P[2] || (P[2] = (R) => E.$emit("maximizeChart", e.id))
5675
+ onClick: M[2] || (M[2] = (R) => E.$emit("maximizeChart", e.id))
5616
5676
  }, null, 8, ["loading", "icon"])
5617
5677
  ])
5618
5678
  ]),
5619
- D(t("div", lu, [
5679
+ L(t("div", lu, [
5620
5680
  m(tt, {
5621
5681
  class: "flex items-center justify-center mt-4",
5622
5682
  type: "donut",
@@ -5630,21 +5690,21 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
5630
5690
  ], 512), [
5631
5691
  [O, !e.empty]
5632
5692
  ]),
5633
- D(t("div", su, [
5634
- m(L, {
5693
+ L(t("div", su, [
5694
+ m(P, {
5635
5695
  icon: f(te),
5636
5696
  color: "gray",
5637
5697
  loading: !1,
5638
5698
  size: "huge"
5639
5699
  }, null, 8, ["icon"]),
5640
- P[3] || (P[3] = t("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1))
5700
+ M[3] || (M[3] = t("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1))
5641
5701
  ], 512), [
5642
5702
  [O, e.empty]
5643
5703
  ])
5644
5704
  ], 2), [
5645
5705
  [O, !e.loading]
5646
5706
  ]),
5647
- D(t("div", nu, [...P[4] || (P[4] = [
5707
+ L(t("div", nu, [...M[4] || (M[4] = [
5648
5708
  t("div", {
5649
5709
  role: "status",
5650
5710
  class: "w-full animate-pulse h-full flex flex-col"
@@ -5681,7 +5741,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
5681
5741
  }, iu = {
5682
5742
  key: 1,
5683
5743
  class: "flex flex-col lg:flex-row w-full gap-y-4 gap-x-2"
5684
- }, ru = /* @__PURE__ */ A({
5744
+ }, ru = /* @__PURE__ */ T({
5685
5745
  __name: "uiDateRange",
5686
5746
  props: {
5687
5747
  id: {},
@@ -5772,7 +5832,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
5772
5832
  }, gu = {
5773
5833
  key: 1,
5774
5834
  class: "h-2 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 w-full"
5775
- }, mu = /* @__PURE__ */ A({
5835
+ }, mu = /* @__PURE__ */ T({
5776
5836
  __name: "uiRangeSlider",
5777
5837
  props: {
5778
5838
  loading: { type: Boolean, default: !0 },
@@ -5813,7 +5873,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
5813
5873
  }), fu = {
5814
5874
  key: 0,
5815
5875
  class: "mt-1 mb-8 text-sm"
5816
- }, hu = /* @__PURE__ */ A({
5876
+ }, hu = /* @__PURE__ */ T({
5817
5877
  __name: "uiSectionTitle",
5818
5878
  props: {
5819
5879
  title: {},
@@ -5854,7 +5914,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
5854
5914
  }, zu = {
5855
5915
  key: 4,
5856
5916
  class: "h-3 w-8 bg-gray-200 rounded animate-pulse"
5857
- }, ju = /* @__PURE__ */ A({
5917
+ }, ju = /* @__PURE__ */ T({
5858
5918
  __name: "uiSecondarySidebar",
5859
5919
  props: {
5860
5920
  title: {},
@@ -5879,7 +5939,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
5879
5939
  return (r, a) => (l(), s("aside", yu, [
5880
5940
  t("div", bu, [
5881
5941
  e.title ? (l(), s("div", vu, [
5882
- e.titleIcon ? (l(), w(L, {
5942
+ e.titleIcon ? (l(), w(P, {
5883
5943
  key: 0,
5884
5944
  icon: e.titleIcon,
5885
5945
  loading: e.loading,
@@ -5902,7 +5962,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
5902
5962
  d.selectedItemId === v.id ? d.selectionStyle === "primary" ? "bg-gray-800 text-white" : "bg-gray-100 text-gray-900" : "text-gray-700 hover:bg-gray-100"
5903
5963
  ])
5904
5964
  }, [
5905
- v.icon || d.defaultIcon ? (l(), w(L, {
5965
+ v.icon || d.defaultIcon ? (l(), w(P, {
5906
5966
  key: 0,
5907
5967
  icon: v.icon || d.defaultIcon,
5908
5968
  loading: e.loading,
@@ -5929,7 +5989,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
5929
5989
  }, Tu = { class: "flex flex-1 flex-col p-8" }, Du = { class: "text-2xl font-bold" }, Lu = { class: "mt-1 flex flex-grow flex-col justify-between" }, Pu = { class: "mt-3 flex flex-wrap gap-x-1 gap-y-1 justify-center" }, Fu = {
5930
5990
  key: 1,
5931
5991
  class: "col-span-1 flex flex-col divide-y divide-gray-200 rounded-lg bg-white text-center shadow"
5932
- }, Ou = { class: "flex flex-1 flex-col p-8" }, _u = { class: "rounded-md p-3 flex items-center justify-center mx-auto mb-4 bg-gray-200" }, Iu = { class: "mt-1 flex flex-grow flex-col justify-between" }, Vu = { class: "mt-3 flex flex-wrap gap-x-1 gap-y-1 justify-center" }, Nu = /* @__PURE__ */ A({
5992
+ }, Ou = { class: "flex flex-1 flex-col p-8" }, _u = { class: "rounded-md p-3 flex items-center justify-center mx-auto mb-4 bg-gray-200" }, Iu = { class: "mt-1 flex flex-grow flex-col justify-between" }, Vu = { class: "mt-3 flex flex-wrap gap-x-1 gap-y-1 justify-center" }, Nu = /* @__PURE__ */ T({
5933
5993
  __name: "uiDeviceStatus",
5934
5994
  props: {
5935
5995
  id: {},
@@ -5945,7 +6005,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
5945
6005
  return (i, o) => e.loading ? (l(), s("div", Fu, [
5946
6006
  t("div", Ou, [
5947
6007
  t("div", _u, [
5948
- m(L, {
6008
+ m(P, {
5949
6009
  icon: e.icon,
5950
6010
  size: "huge",
5951
6011
  class: "text-white",
@@ -5982,7 +6042,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
5982
6042
  "bg-gray-100": e.color === "light"
5983
6043
  }])
5984
6044
  }, [
5985
- m(L, {
6045
+ m(P, {
5986
6046
  icon: e.icon,
5987
6047
  size: "huge",
5988
6048
  color: "black",
@@ -5992,7 +6052,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
5992
6052
  ], 2),
5993
6053
  t("h3", Du, [
5994
6054
  B(u(e.name) + " ", 1),
5995
- D(t("span", {
6055
+ L(t("span", {
5996
6056
  class: "text-black hover:text-lime-400 underline cursor-pointer",
5997
6057
  onClick: o[0] || (o[0] = (n) => i.$emit("deviceStatusQtyClicked", e.id))
5998
6058
  }, "(" + u(e.qty) + ")", 513), [
@@ -6018,7 +6078,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
6018
6078
  ])
6019
6079
  ]));
6020
6080
  }
6021
- }), Ru = { class: "fixed inset-0 flex" }, qu = { class: "absolute left-full top-0 flex w-16 justify-center pt-5" }, Hu = { class: "hidden lg:fixed lg:inset-y-0 lg:z-50 lg:flex lg:w-[25rem] lg:flex-col" }, Yu = { class: "lg:pl-[25rem] flex flex-col h-screen" }, Eu = { class: "sticky top-0 z-10 flex h-16 shrink-0 items-center gap-x-4 border-b border-gray-200 bg-white px-4 shadow-sm sm:gap-x-6 sm:px-6 lg:px-8" }, Uu = { class: "flex flex-1 gap-x-4 self-stretch lg:gap-x-6" }, Zu = { class: "flex items-center gap-x-4 lg:gap-x-6 ml-auto" }, Wu = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute top-1 left-2" }, Gu = ["src"], Ju = { class: "hidden lg:flex lg:items-center" }, Ku = ["onClick"], Qu = { class: "bg-gray-50 flex-1 overflow-auto" }, Xu = { class: "p-7 lg:p-10" }, e0 = /* @__PURE__ */ A({
6081
+ }), Ru = { class: "fixed inset-0 flex" }, qu = { class: "absolute left-full top-0 flex w-16 justify-center pt-5" }, Hu = { class: "hidden lg:fixed lg:inset-y-0 lg:z-50 lg:flex lg:w-[25rem] lg:flex-col" }, Yu = { class: "lg:pl-[25rem] flex flex-col h-screen" }, Eu = { class: "sticky top-0 z-10 flex h-16 shrink-0 items-center gap-x-4 border-b border-gray-200 bg-white px-4 shadow-sm sm:gap-x-6 sm:px-6 lg:px-8" }, Uu = { class: "flex flex-1 gap-x-4 self-stretch lg:gap-x-6" }, Zu = { class: "flex items-center gap-x-4 lg:gap-x-6 ml-auto" }, Wu = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute top-1 left-2" }, Gu = ["src"], Ju = { class: "hidden lg:flex lg:items-center" }, Ku = ["onClick"], Qu = { class: "bg-gray-50 flex-1 overflow-auto" }, Xu = { class: "p-7 lg:p-10" }, e0 = /* @__PURE__ */ T({
6022
6082
  __name: "uiWrapper",
6023
6083
  props: {
6024
6084
  topbar: {},
@@ -6166,7 +6226,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
6166
6226
  onClick: d[9] || (d[9] = (c) => o("bellClick"))
6167
6227
  }, [
6168
6228
  d[14] || (d[14] = t("span", { class: "sr-only" }, "View notifications", -1)),
6169
- D(t("div", Wu, [...d[13] || (d[13] = [
6229
+ L(t("div", Wu, [...d[13] || (d[13] = [
6170
6230
  t("span", { class: "animate-ping absolute inline-flex h-4 w-4 bg-red-500 rounded-full opacity-75" }, null, -1)
6171
6231
  ])], 512), [
6172
6232
  [O, e.topbar.alerted]
@@ -6248,7 +6308,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
6248
6308
  ])
6249
6309
  ]));
6250
6310
  }
6251
- }), t0 = /* @__PURE__ */ A({
6311
+ }), t0 = /* @__PURE__ */ T({
6252
6312
  __name: "uiDynamicStats",
6253
6313
  props: {
6254
6314
  dynamicStats: {},
@@ -6280,7 +6340,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
6280
6340
  }, i0 = ["onClick"], r0 = { class: "absolute mt-1 w-full rounded-md bg-white shadow-lg z-50" }, d0 = {
6281
6341
  key: 1,
6282
6342
  class: "animate-pulse px-4 py-2.5 bg-gray-200 rounded-md flex justify-between items-center w-full"
6283
- }, c0 = /* @__PURE__ */ A({
6343
+ }, c0 = /* @__PURE__ */ T({
6284
6344
  __name: "uiSelectMultiple",
6285
6345
  props: {
6286
6346
  items: {},
@@ -6432,7 +6492,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
6432
6492
  _: 1
6433
6493
  })
6434
6494
  ]),
6435
- D(t("p", {
6495
+ L(t("p", {
6436
6496
  class: x([{
6437
6497
  "text-gray-400": e.color === "gray",
6438
6498
  "text-red-600": e.color === "red",
@@ -6450,7 +6510,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
6450
6510
  }), u0 = { class: "space-y-6" }, g0 = { class: "mb-6" }, m0 = { class: "grid grid-cols-1 md:grid-cols-2 gap-4" }, f0 = { class: "mt-4 mb-12 space-y-4" }, h0 = { class: "space-y-4" }, y0 = { class: "text-xl font-bold text-gray-800" }, b0 = { class: "grid grid-cols-1 md:grid-cols-2 gap-4 mt-4 transition-all duration-300 ease-in-out" }, v0 = { class: "bg-white border border-gray-300 rounded-lg p-4" }, x0 = { class: "font-bold mb-4 text-sm text-gray-700" }, p0 = { class: "space-y-2" }, w0 = { class: "bg-white border border-gray-300 rounded-lg p-4" }, k0 = { class: "font-bold mb-4 text-sm text-gray-700" }, $0 = { class: "space-y-2" }, C0 = {
6451
6511
  key: 0,
6452
6512
  class: "mt-6"
6453
- }, S0 = /* @__PURE__ */ A({
6513
+ }, S0 = /* @__PURE__ */ T({
6454
6514
  __name: "Comparator",
6455
6515
  props: {
6456
6516
  toCompare: {},
@@ -6459,7 +6519,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
6459
6519
  },
6460
6520
  emits: ["compareButtonClicked", "filesUploaded", "checkboxChanged", "generateNewFile"],
6461
6521
  setup(e, { emit: g }) {
6462
- const i = e, o = g, n = j(() => i.toCompare && Object.keys(i.toCompare).length > 0 && i.toCompare.constructor === Object), r = j(() => n.value ? Object.entries(i.toCompare).map(([v, p]) => ({
6522
+ const i = e, o = g, n = A(() => i.toCompare && Object.keys(i.toCompare).length > 0 && i.toCompare.constructor === Object), r = A(() => n.value ? Object.entries(i.toCompare).map(([v, p]) => ({
6463
6523
  name: v,
6464
6524
  commands: p
6465
6525
  })) : []), a = (v, p, C, N) => {
@@ -6531,7 +6591,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
6531
6591
  m(f(se), { class: "flex items-center justify-between w-full" }, {
6532
6592
  default: y(() => [
6533
6593
  t("h2", y0, u(C.name), 1),
6534
- m(L, {
6594
+ m(P, {
6535
6595
  icon: f(oe),
6536
6596
  loading: !1,
6537
6597
  class: x(["cursor-pointer transition-transform duration-300 ease-in-out", { "rotate-180 transform": N }])
@@ -6545,13 +6605,13 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
6545
6605
  t("div", v0, [
6546
6606
  t("p", x0, u(e.literals.file1Content), 1),
6547
6607
  t("div", p0, [
6548
- (l(!0), s(k, null, S(C.commands[0]?.entries || [], (E, P) => (l(), w(ue, {
6549
- key: `file1_${C.name}_${P}`,
6550
- name: `file1_${C.name}_${P}`,
6551
- id: `file1_${C.name}_${P}`,
6608
+ (l(!0), s(k, null, S(C.commands[0]?.entries || [], (E, M) => (l(), w(ue, {
6609
+ key: `file1_${C.name}_${M}`,
6610
+ name: `file1_${C.name}_${M}`,
6611
+ id: `file1_${C.name}_${M}`,
6552
6612
  loading: !1,
6553
- value: `file1_${C.name}_${P}`,
6554
- onCheckboxChanged: (R) => a(C.name, "1", P, R.checked)
6613
+ value: `file1_${C.name}_${M}`,
6614
+ onCheckboxChanged: (R) => a(C.name, "1", M, R.checked)
6555
6615
  }, {
6556
6616
  default: y(() => [
6557
6617
  B(u(E), 1)
@@ -6563,13 +6623,13 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
6563
6623
  t("div", w0, [
6564
6624
  t("p", k0, u(e.literals.file2Content), 1),
6565
6625
  t("div", $0, [
6566
- (l(!0), s(k, null, S(C.commands[1]?.entries || [], (E, P) => (l(), w(ue, {
6567
- key: `file2_${C.name}_${P}`,
6568
- name: `file2_${C.name}_${P}`,
6569
- id: `file2_${C.name}_${P}`,
6626
+ (l(!0), s(k, null, S(C.commands[1]?.entries || [], (E, M) => (l(), w(ue, {
6627
+ key: `file2_${C.name}_${M}`,
6628
+ name: `file2_${C.name}_${M}`,
6629
+ id: `file2_${C.name}_${M}`,
6570
6630
  loading: !1,
6571
- value: `file2_${C.name}_${P}`,
6572
- onCheckboxChanged: (R) => a(C.name, "2", P, R.checked)
6631
+ value: `file2_${C.name}_${M}`,
6632
+ onCheckboxChanged: (R) => a(C.name, "2", M, R.checked)
6573
6633
  }, {
6574
6634
  default: y(() => [
6575
6635
  B(u(E), 1)
@@ -6622,14 +6682,14 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
6622
6682
  key: 0,
6623
6683
  class: "absolute left-4 top-4 -ml-px mt-0.5 h-full w-0.5 bg-gray-300",
6624
6684
  "aria-hidden": "true"
6625
- }, R0 = ["onClick"], q0 = { class: "ml-4 flex min-w-0 flex-col text-left" }, H0 = { class: "text-sm font-medium text-left" }, Y0 = { class: "text-sm text-left" }, E0 = /* @__PURE__ */ A({
6685
+ }, R0 = ["onClick"], q0 = { class: "ml-4 flex min-w-0 flex-col text-left" }, H0 = { class: "text-sm font-medium text-left" }, Y0 = { class: "text-sm text-left" }, E0 = /* @__PURE__ */ T({
6626
6686
  __name: "uiSteps",
6627
6687
  props: {
6628
6688
  steps: {}
6629
6689
  },
6630
6690
  emits: ["stepCompleted", "stepCurrent", "stepUpcoming", "stepClick"],
6631
6691
  setup(e, { emit: g }) {
6632
- const i = e, o = g, n = j(() => i.steps.map((a) => ({
6692
+ const i = e, o = g, n = A(() => i.steps.map((a) => ({
6633
6693
  ...a,
6634
6694
  // Solo mantener el status si es "complete" o "current", de lo contrario usar "upcoming"
6635
6695
  status: a.status === "complete" || a.status === "current" ? a.status : "upcoming"
@@ -6736,14 +6796,14 @@ const Z0 = { "aria-label": "Progress" }, W0 = {
6736
6796
  key: 3,
6737
6797
  class: "absolute right-0 top-0 hidden h-full w-5 lg:block",
6738
6798
  "aria-hidden": "true"
6739
- }, dg = /* @__PURE__ */ A({
6799
+ }, dg = /* @__PURE__ */ T({
6740
6800
  __name: "uiStepsV4",
6741
6801
  props: {
6742
6802
  steps: {}
6743
6803
  },
6744
6804
  emits: ["stepCompleted", "stepCurrent", "stepUpcoming", "stepClick"],
6745
6805
  setup(e, { emit: g }) {
6746
- const i = e, o = g, n = j(() => i.steps.map((a, d) => ({
6806
+ const i = e, o = g, n = A(() => i.steps.map((a, d) => ({
6747
6807
  ...a,
6748
6808
  // Si no tiene id, usar el índice + 1 formateado
6749
6809
  id: a.id || String(d + 1).padStart(2, "0"),
@@ -6816,7 +6876,7 @@ const Z0 = { "aria-label": "Progress" }, W0 = {
6816
6876
  ])
6817
6877
  ]));
6818
6878
  }
6819
- }), cg = { class: "grid min-h-full place-items-center bg-white px-6 py-24 sm:py-32 lg:px-8" }, ug = { class: "text-center" }, gg = { class: "mt-4 text-balance text-5xl font-semibold tracking-tight text-gray-900 sm:text-7xl" }, mg = { class: "mt-6 text-pretty text-lg font-medium text-gray-500 sm:text-xl/8" }, fg = { class: "mt-10 flex items-center justify-center gap-x-6" }, hg = ["href"], yg = /* @__PURE__ */ A({
6879
+ }), cg = { class: "grid min-h-full place-items-center bg-white px-6 py-24 sm:py-32 lg:px-8" }, ug = { class: "text-center" }, gg = { class: "mt-4 text-balance text-5xl font-semibold tracking-tight text-gray-900 sm:text-7xl" }, mg = { class: "mt-6 text-pretty text-lg font-medium text-gray-500 sm:text-xl/8" }, fg = { class: "mt-10 flex items-center justify-center gap-x-6" }, hg = ["href"], yg = /* @__PURE__ */ T({
6820
6880
  __name: "ui404",
6821
6881
  props: {
6822
6882
  lang: { default: "es" },
@@ -6836,7 +6896,7 @@ const Z0 = { "aria-label": "Progress" }, W0 = {
6836
6896
  goBackHome: "Go back home",
6837
6897
  contactSupport: "Contact support"
6838
6898
  }
6839
- }, o = j(() => i[g.lang]);
6899
+ }, o = A(() => i[g.lang]);
6840
6900
  return (n, r) => (l(), s("main", cg, [
6841
6901
  t("div", ug, [
6842
6902
  r[1] || (r[1] = t("p", { class: "text-base font-semibold text-lime-400" }, "404", -1)),
@@ -6875,7 +6935,7 @@ const Z0 = { "aria-label": "Progress" }, W0 = {
6875
6935
  uiFooter: vi,
6876
6936
  uiFunnelChartV2: bc,
6877
6937
  uiGallery: Ic,
6878
- uiIcon: L,
6938
+ uiIcon: P,
6879
6939
  uiInput: ae,
6880
6940
  uiInputFile: Ee,
6881
6941
  uiLoadingScreen: xi,
@@ -6955,7 +7015,7 @@ export {
6955
7015
  vi as uiFooter,
6956
7016
  bc as uiFunnelChartV2,
6957
7017
  Ic as uiGallery,
6958
- L as uiIcon,
7018
+ P as uiIcon,
6959
7019
  ae as uiInput,
6960
7020
  Ee as uiInputFile,
6961
7021
  xi as uiLoadingScreen,