@hotelinking/ui 16.46.12 → 16.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ui.es.js CHANGED
@@ -1,5 +1,5 @@
1
- import { defineComponent as M, createBlock as k, createElementBlock as s, openBlock as l, resolveDynamicComponent as je, normalizeClass as v, computed as A, createCommentVNode as x, renderSlot as E, createElementVNode as t, ref as P, watch as Z, unref as f, withCtx as h, createVNode as m, toDisplayString as u, createTextVNode as j, Transition as fe, Fragment as $, renderList as S, withDirectives as z, vModelDynamic as nl, vShow as L, withModifiers as Pe, vModelText as ge, createStaticVNode as se, resolveComponent as Ke, vModelCheckbox as ot, onMounted as ze, mergeProps as Ve, reactive as he, normalizeStyle as Fe, nextTick as pe, onUnmounted as ol, TransitionGroup as il, isRef as it } from "vue";
2
- import { Menu as qe, MenuButton as Ye, MenuItems as Re, MenuItem as He, Combobox as rt, ComboboxLabel as dt, ComboboxInput as ct, ComboboxButton as ut, ComboboxOptions as gt, ComboboxOption as mt, SwitchGroup as rl, Switch as dl, SwitchLabel as cl, TransitionRoot as Ue, Dialog as Ee, TransitionChild as ie, DialogPanel as Ze, DialogTitle as ft, Disclosure as Te, DisclosureButton as le, DisclosurePanel as De, Popover as ul, PopoverButton as gl, PopoverPanel as ml, Listbox as fl, ListboxLabel as hl, ListboxButton as yl, ListboxOptions as bl, ListboxOption as vl } from "@headlessui/vue";
1
+ import { defineComponent as M, createBlock as k, createElementBlock as s, openBlock as l, resolveDynamicComponent as je, normalizeClass as v, computed as z, createCommentVNode as x, renderSlot as E, createElementVNode as t, ref as P, watch as Z, unref as f, withCtx as h, createVNode as m, toDisplayString as u, createTextVNode as j, Transition as fe, Fragment as $, renderList as S, withDirectives as T, vModelDynamic as nl, vShow as L, withModifiers as Pe, vModelText as ge, createStaticVNode as se, resolveComponent as Ke, vModelCheckbox as ot, onMounted as ze, mergeProps as Ve, reactive as he, normalizeStyle as Fe, nextTick as pe, onUnmounted as ol, TransitionGroup as il, isRef as it } from "vue";
2
+ import { Menu as qe, MenuButton as Ye, MenuItems as He, MenuItem as Re, Combobox as rt, ComboboxLabel as dt, ComboboxInput as ct, ComboboxButton as ut, ComboboxOptions as gt, ComboboxOption as mt, SwitchGroup as rl, Switch as dl, SwitchLabel as cl, TransitionRoot as Ue, Dialog as Ee, TransitionChild as ie, DialogPanel as Ze, DialogTitle as ft, Disclosure as Te, DisclosureButton as le, DisclosurePanel as De, Popover as ul, PopoverButton as gl, PopoverPanel as ml, Listbox as fl, ListboxLabel as hl, ListboxButton as yl, ListboxOptions as bl, ListboxOption as vl } from "@headlessui/vue";
3
3
  import Y from "dayjs";
4
4
  import xl from "@vueform/slider";
5
5
  const O = /* @__PURE__ */ M({
@@ -59,10 +59,10 @@ const O = /* @__PURE__ */ M({
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
- }, a = A(() => {
62
+ }, a = z(() => {
63
63
  const n = [wl];
64
64
  return g.color && i[g.color] && n.push(i[g.color]), g.size && o[g.size] && n.push(o[g.size]), g.block && n.push("w-full flex items-center justify-center"), n.join(" ");
65
- }), r = A(() => [
65
+ }), r = z(() => [
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 (n, d) => e.loading ? (l(), s("button", {
@@ -478,7 +478,7 @@ function Ol(e, g) {
478
478
  })
479
479
  ]);
480
480
  }
481
- function Nl(e, g) {
481
+ function _l(e, g) {
482
482
  return l(), s("svg", {
483
483
  xmlns: "http://www.w3.org/2000/svg",
484
484
  fill: "none",
@@ -495,7 +495,7 @@ function Nl(e, g) {
495
495
  })
496
496
  ]);
497
497
  }
498
- function Il(e, g) {
498
+ function Nl(e, g) {
499
499
  return l(), s("svg", {
500
500
  xmlns: "http://www.w3.org/2000/svg",
501
501
  fill: "none",
@@ -529,7 +529,7 @@ function pt(e, g) {
529
529
  })
530
530
  ]);
531
531
  }
532
- function _l(e, g) {
532
+ function Il(e, g) {
533
533
  return l(), s("svg", {
534
534
  xmlns: "http://www.w3.org/2000/svg",
535
535
  fill: "none",
@@ -546,7 +546,7 @@ function _l(e, g) {
546
546
  })
547
547
  ]);
548
548
  }
549
- function Ne(e, g) {
549
+ function _e(e, g) {
550
550
  return l(), s("svg", {
551
551
  xmlns: "http://www.w3.org/2000/svg",
552
552
  fill: "none",
@@ -604,7 +604,7 @@ const Vl = {
604
604
  key: 1,
605
605
  "data-test": "required",
606
606
  class: "place-self-center text-[10px] uppercase justify-self-end mt-1"
607
- }, Yl = { class: "-py-1" }, Rl = ["onClick"], Hl = {
607
+ }, Yl = { class: "-py-1" }, Hl = ["onClick"], Rl = {
608
608
  key: 1,
609
609
  class: "animate-pulse px-4 py-2 bg-gray-200 rounded-md inline-flex items-center relative text-left h-10"
610
610
  }, me = /* @__PURE__ */ M({
@@ -620,13 +620,13 @@ const Vl = {
620
620
  },
621
621
  emits: ["optionSelected"],
622
622
  setup(e, { emit: g }) {
623
- const i = g, o = e, a = A(() => {
623
+ const i = g, o = e, a = z(() => {
624
624
  let n = o.items.find((d) => d.active === !0);
625
625
  return n ? n.name : o.label;
626
626
  }), r = (n) => {
627
627
  o.disabled || i("optionSelected", n);
628
628
  };
629
- return (n, d) => e.loading ? (l(), s("div", Hl, [
629
+ return (n, d) => e.loading ? (l(), s("div", Rl, [
630
630
  d[0] || (d[0] = t("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28" }, null, -1)),
631
631
  m(f(ne), {
632
632
  "aria-hidden": "true",
@@ -671,7 +671,7 @@ const Vl = {
671
671
  "leave-to-class": "transform opacity-0 scale-95"
672
672
  }, {
673
673
  default: h(() => [
674
- e.disabled ? x("", !0) : (l(), k(f(Re), {
674
+ e.disabled ? x("", !0) : (l(), k(f(He), {
675
675
  key: 0,
676
676
  class: v([{
677
677
  "right-0": e.position === "right",
@@ -682,7 +682,7 @@ const Vl = {
682
682
  }, {
683
683
  default: h(() => [
684
684
  t("div", Yl, [
685
- (l(!0), s($, null, S(e.items, (c, b) => (l(), k(f(He), { key: b }, {
685
+ (l(!0), s($, null, S(e.items, (c, b) => (l(), k(f(Re), { key: b }, {
686
686
  default: h(() => [
687
687
  t("a", {
688
688
  onClick: (p) => r(c),
@@ -690,7 +690,7 @@ const Vl = {
690
690
  c.active ? "bg-lime-400" : "text-black",
691
691
  "block px-4 py-2 text-sm cursor-pointer"
692
692
  ])
693
- }, u(c.name), 11, Rl)
693
+ }, u(c.name), 11, Hl)
694
694
  ]),
695
695
  _: 2
696
696
  }, 1024))), 128))
@@ -764,7 +764,7 @@ const Vl = {
764
764
  onClick: d[0] || (d[0] = (c) => n.$emit("addOnClicked")),
765
765
  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"
766
766
  }, u(e.addOn), 1)) : x("", !0),
767
- z(t("input", {
767
+ T(t("input", {
768
768
  "onUpdate:modelValue": d[1] || (d[1] = (c) => a.value = c),
769
769
  max: e.max,
770
770
  class: v([{
@@ -803,21 +803,21 @@ const Vl = {
803
803
  color: e.color,
804
804
  loading: e.loading
805
805
  }, null, 8, ["icon", "color", "loading"])) : x("", !0),
806
- z(m(O, {
806
+ T(m(O, {
807
807
  icon: f(We),
808
808
  color: "green",
809
809
  loading: e.loading
810
810
  }, null, 8, ["icon", "loading"]), [
811
811
  [L, e.color === "green"]
812
812
  ]),
813
- z(m(O, {
813
+ T(m(O, {
814
814
  icon: f(ee),
815
815
  color: "yellow",
816
816
  loading: e.loading
817
817
  }, null, 8, ["icon", "loading"]), [
818
818
  [L, e.color === "yellow"]
819
819
  ]),
820
- z(m(O, {
820
+ T(m(O, {
821
821
  icon: f(oe),
822
822
  color: "red",
823
823
  loading: e.loading
@@ -826,7 +826,7 @@ const Vl = {
826
826
  ])
827
827
  ])
828
828
  ], 2),
829
- z(t("p", {
829
+ T(t("p", {
830
830
  class: v([{
831
831
  "text-gray-400": e.color === "gray",
832
832
  "text-red-600": e.color === "red",
@@ -847,7 +847,7 @@ const Vl = {
847
847
  }, ss = { class: "space-y-1 flex flex-col items-center justify-center" }, as = { class: "flex text-sm flex-col sm:flex-row text-center" }, ns = ["for"], os = ["id", "name", "accept"], is = { class: "pl-1" }, rs = { class: "text-xs pb-4" }, ds = { class: "mt-2 text-xs flex flex-row items-center text-red-600" }, cs = {
848
848
  key: 1,
849
849
  class: "animate-pulse"
850
- }, Ie = /* @__PURE__ */ M({
850
+ }, Ne = /* @__PURE__ */ M({
851
851
  __name: "uiInputFile",
852
852
  props: {
853
853
  name: {},
@@ -928,12 +928,12 @@ const Vl = {
928
928
  t("p", is, u(e.dragAndDrop), 1)
929
929
  ]),
930
930
  t("p", rs, u(e.fileTypesAndSizes), 1),
931
- z(t("p", { class: "font-bold text-xs uppercase block p-2 bg-lime-50 rounded" }, u(f(i)), 513), [
931
+ T(t("p", { class: "font-bold text-xs uppercase block p-2 bg-lime-50 rounded" }, u(f(i)), 513), [
932
932
  [L, f(i) !== null]
933
933
  ])
934
934
  ])
935
935
  ], 34),
936
- z(t("p", ds, [
936
+ T(t("p", ds, [
937
937
  m(O, {
938
938
  icon: f(Ae),
939
939
  color: "red",
@@ -968,9 +968,9 @@ const Vl = {
968
968
  },
969
969
  emits: ["selectChanged"],
970
970
  setup(e, { expose: g, emit: i }) {
971
- const o = P(""), a = i, r = e, n = A(() => o.value === "" ? r.items : r.items.filter((p) => p.name.toLowerCase().includes(o.value.toLowerCase()))), d = (p) => p?.name ?? "", c = (p) => {
971
+ const o = P(""), a = i, r = e, n = z(() => o.value === "" ? r.items : r.items.filter((p) => p.name.toLowerCase().includes(o.value.toLowerCase()))), d = (p) => p?.name ?? "", c = (p) => {
972
972
  a("selectChanged", p);
973
- }, b = A({
973
+ }, b = z({
974
974
  get: () => r.select,
975
975
  set: (p) => {
976
976
  c(p);
@@ -988,7 +988,7 @@ const Vl = {
988
988
  key: 0,
989
989
  modelValue: b.value,
990
990
  "onUpdate:modelValue": [
991
- C[2] || (C[2] = (_) => b.value = _),
991
+ C[2] || (C[2] = (I) => b.value = I),
992
992
  c
993
993
  ],
994
994
  disabled: e.disabled,
@@ -1006,8 +1006,8 @@ const Vl = {
1006
1006
  ]),
1007
1007
  t("div", ms, [
1008
1008
  m(f(ct), {
1009
- onChange: C[0] || (C[0] = (_) => o.value = _.target.value),
1010
- onBlur: C[1] || (C[1] = (_) => o.value = ""),
1009
+ onChange: C[0] || (C[0] = (I) => o.value = I.target.value),
1010
+ onBlur: C[1] || (C[1] = (I) => o.value = ""),
1011
1011
  displayValue: d,
1012
1012
  class: v([{
1013
1013
  "mt-1": e.requiredText || e.label,
@@ -1038,26 +1038,26 @@ const Vl = {
1038
1038
  class: "absolute z-10 mt-1 max-h-60 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"
1039
1039
  }, {
1040
1040
  default: h(() => [
1041
- (l(!0), s($, null, S(n.value, (_) => (l(), k(f(mt), {
1042
- key: _.id,
1043
- value: _,
1041
+ (l(!0), s($, null, S(n.value, (I) => (l(), k(f(mt), {
1042
+ key: I.id,
1043
+ value: I,
1044
1044
  as: "template"
1045
1045
  }, {
1046
- default: h(({ active: H, selected: T }) => [
1046
+ default: h(({ active: R, selected: D }) => [
1047
1047
  t("li", {
1048
1048
  class: v([
1049
1049
  "relative cursor-default select-none py-2 pl-3 pr-9",
1050
- H ? "bg-indigo-600 text-white" : "text-gray-900"
1050
+ R ? "bg-indigo-600 text-white" : "text-gray-900"
1051
1051
  ])
1052
1052
  }, [
1053
1053
  t("span", {
1054
- class: v(["block truncate", T && "font-semibold"])
1055
- }, u(_.name), 3),
1056
- T ? (l(), s("span", {
1054
+ class: v(["block truncate", D && "font-semibold"])
1055
+ }, u(I.name), 3),
1056
+ D ? (l(), s("span", {
1057
1057
  key: 0,
1058
1058
  class: v([
1059
1059
  "absolute inset-y-0 right-0 flex items-center pr-4",
1060
- H ? "text-white" : "text-indigo-600"
1060
+ R ? "text-white" : "text-indigo-600"
1061
1061
  ])
1062
1062
  }, [
1063
1063
  m(f(We), {
@@ -1074,7 +1074,7 @@ const Vl = {
1074
1074
  _: 1
1075
1075
  })) : x("", !0)
1076
1076
  ]),
1077
- z(t("p", {
1077
+ T(t("p", {
1078
1078
  class: v([{
1079
1079
  "text-gray-400": e.color === "gray",
1080
1080
  "text-red-600": e.color === "red",
@@ -1138,7 +1138,7 @@ const bs = { class: "flex justify-between" }, vs = {
1138
1138
  },
1139
1139
  emits: ["selectChanged"],
1140
1140
  setup(e, { emit: g }) {
1141
- const i = e, o = g, a = P(""), r = P(i.select), n = A(
1141
+ const i = e, o = g, a = P(""), r = P(i.select), n = z(
1142
1142
  () => a.value === "" ? i.items : i.items.filter((c) => {
1143
1143
  const b = a.value.toLowerCase();
1144
1144
  return c.name.toLowerCase().includes(b) || (c.label?.toLowerCase().includes(b) ?? !1);
@@ -1212,14 +1212,14 @@ const bs = { class: "flex justify-between" }, vs = {
1212
1212
  key: p.id,
1213
1213
  value: p
1214
1214
  }, {
1215
- default: h(({ active: C, selected: _ }) => [
1215
+ default: h(({ active: C, selected: I }) => [
1216
1216
  t("li", {
1217
1217
  class: v(["relative cursor-default select-none py-2 pl-3 pr-9", C ? "bg-lime-400 outline-none" : "text-gray-900"])
1218
1218
  }, [
1219
1219
  t("span", {
1220
- class: v(["block truncate", _ && "font-semibold"])
1220
+ class: v(["block truncate", I && "font-semibold"])
1221
1221
  }, u(p.label || p.name), 3),
1222
- _ ? (l(), s("span", {
1222
+ I ? (l(), s("span", {
1223
1223
  key: 0,
1224
1224
  class: v(["absolute inset-y-0 right-0 flex items-center pr-4", C ? "text-black" : "text-lime-400"])
1225
1225
  }, [
@@ -1236,7 +1236,7 @@ const bs = { class: "flex justify-between" }, vs = {
1236
1236
  _: 1
1237
1237
  })) : x("", !0)
1238
1238
  ], 2),
1239
- z(t("p", {
1239
+ T(t("p", {
1240
1240
  class: v([{
1241
1241
  // Colores de texto de error según la prop color
1242
1242
  "text-gray-400": e.color === "gray",
@@ -1333,7 +1333,7 @@ const bs = { class: "flex justify-between" }, vs = {
1333
1333
  t("div", {
1334
1334
  class: v({ "mt-1": e.label })
1335
1335
  }, [
1336
- z(t("textarea", {
1336
+ T(t("textarea", {
1337
1337
  disabled: e.disabled,
1338
1338
  rows: "4",
1339
1339
  "onUpdate:modelValue": d[0] || (d[0] = (c) => r.value = c),
@@ -1355,7 +1355,7 @@ const bs = { class: "flex justify-between" }, vs = {
1355
1355
  [ge, r.value]
1356
1356
  ])
1357
1357
  ], 2),
1358
- z(t("p", {
1358
+ T(t("p", {
1359
1359
  class: v([{
1360
1360
  "text-gray-300": e.color === "gray",
1361
1361
  "text-red-600": e.color === "red",
@@ -1455,7 +1455,7 @@ const bs = { class: "flex justify-between" }, vs = {
1455
1455
  }, Ls = { key: 0 }, Ps = ["onClick"], Fs = {
1456
1456
  key: 1,
1457
1457
  class: "flex items-center"
1458
- }, Os = ["onClick"], Ns = {
1458
+ }, Os = ["onClick"], _s = {
1459
1459
  key: 1,
1460
1460
  class: "flex flex-row items-center animate-pulse"
1461
1461
  }, kt = /* @__PURE__ */ M({
@@ -1466,7 +1466,7 @@ const bs = { class: "flex justify-between" }, vs = {
1466
1466
  },
1467
1467
  emits: ["breadCrumbClicked"],
1468
1468
  setup(e, { emit: g }) {
1469
- return (i, o) => e.loading ? (l(), s("div", Ns, [...o[0] || (o[0] = [
1469
+ return (i, o) => e.loading ? (l(), s("div", _s, [...o[0] || (o[0] = [
1470
1470
  t("div", { class: "animate-pulse rounded-full bg-gray-200 dark:bg-gray-300 h-4 w-4 mr-4" }, null, -1),
1471
1471
  t("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/5 mr-4" }, null, -1),
1472
1472
  t("div", { class: "animate-pulse rounded-full bg-gray-200 dark:bg-gray-300 h-4 w-4 mr-4" }, null, -1),
@@ -1479,7 +1479,7 @@ const bs = { class: "flex justify-between" }, vs = {
1479
1479
  onClick: (n) => i.$emit("breadCrumbClicked", a.routeName),
1480
1480
  class: "flex flex-row items-center justify-center text-black hover:text-lime-400 underline font-bold cursor-pointer"
1481
1481
  }, [
1482
- m(f(Il), {
1482
+ m(f(Nl), {
1483
1483
  class: "flex-shrink-0 h-3 w-3 text-gray-400 mr-4",
1484
1484
  "aria-hidden": "true"
1485
1485
  }),
@@ -1500,10 +1500,10 @@ const bs = { class: "flex justify-between" }, vs = {
1500
1500
  ])
1501
1501
  ]));
1502
1502
  }
1503
- }), Is = { key: 0 }, _s = { class: "mb-12" }, Vs = { class: "mx-auto flex flex-col" }, qs = { class: "hidden sm:block" }, Ys = { class: "text-2xl font-bold leading-7 sm:text-4xl sm:truncate mt-6" }, Rs = {
1503
+ }), Ns = { key: 0 }, Is = { class: "mb-12" }, Vs = { class: "mx-auto flex flex-col" }, qs = { class: "hidden sm:block" }, Ys = { class: "text-2xl font-bold leading-7 sm:text-4xl sm:truncate mt-6" }, Hs = {
1504
1504
  key: 0,
1505
1505
  class: "flex flex-col lg:flex-row justify-between items-start"
1506
- }, Hs = {
1506
+ }, Rs = {
1507
1507
  key: 0,
1508
1508
  class: "lg:w-2/3 xl:w-1/2"
1509
1509
  }, Us = {
@@ -1533,8 +1533,8 @@ const bs = { class: "flex justify-between" }, vs = {
1533
1533
  setup(e) {
1534
1534
  return (g, i) => e.loading ? (l(), s("div", Zs, [...i[2] || (i[2] = [
1535
1535
  se('<div class="flex flex-row items-center"><div class="animate-pulse rounded-full bg-gray-200 dark:bg-gray-300 h-4 w-4 mr-4"></div><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/5 mr-4"></div><div class="animate-pulse rounded-full bg-gray-200 dark:bg-gray-300 h-4 w-4 mr-4"></div><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/5"></div></div><h1 class="text-2xl font-bold leading-7 sm:text-4xl sm:truncate mt-6"><div class="h-8 bg-gray-200 rounded-full dark:bg-gray-300 w-3/4 sm:w-1/2"></div></h1>', 2)
1536
- ])])) : (l(), s("div", Is, [
1537
- t("header", _s, [
1536
+ ])])) : (l(), s("div", Ns, [
1537
+ t("header", Is, [
1538
1538
  t("div", Vs, [
1539
1539
  t("div", qs, [
1540
1540
  m(kt, {
@@ -1546,8 +1546,8 @@ const bs = { class: "flex justify-between" }, vs = {
1546
1546
  t("h1", Ys, u(e.title), 1)
1547
1547
  ])
1548
1548
  ]),
1549
- e.subtitle || e.description || e.buttonText ? (l(), s("div", Rs, [
1550
- e.subtitle || e.description ? (l(), s("div", Hs, [
1549
+ e.subtitle || e.description || e.buttonText ? (l(), s("div", Hs, [
1550
+ e.subtitle || e.description ? (l(), s("div", Rs, [
1551
1551
  e.subtitle ? (l(), s("h3", Us, u(e.subtitle), 1)) : x("", !0),
1552
1552
  e.description ? (l(), s("p", Es, u(e.description), 1)) : x("", !0)
1553
1553
  ])) : x("", !0),
@@ -1822,25 +1822,25 @@ const bs = { class: "flex justify-between" }, vs = {
1822
1822
  "bg-yellow-100": e.type === "warning"
1823
1823
  }])
1824
1824
  }, [
1825
- z(m(f(oe), {
1825
+ T(m(f(oe), {
1826
1826
  class: "h-6 w-6 text-red-600",
1827
1827
  "aria-hidden": "true"
1828
1828
  }, null, 512), [
1829
1829
  [L, e.type === "danger"]
1830
1830
  ]),
1831
- z(m(f(We), {
1831
+ T(m(f(We), {
1832
1832
  class: "h-6 w-6 text-green-600",
1833
1833
  "aria-hidden": "true"
1834
1834
  }, null, 512), [
1835
1835
  [L, e.type === "success"]
1836
1836
  ]),
1837
- z(m(f(ee), {
1837
+ T(m(f(ee), {
1838
1838
  class: "h-6 w-6 text-yellow-600",
1839
1839
  "aria-hidden": "true"
1840
1840
  }, null, 512), [
1841
1841
  [L, e.type === "warning"]
1842
1842
  ]),
1843
- z(m(f(Nl), {
1843
+ T(m(f(_l), {
1844
1844
  class: "h-6 w-6 text-black",
1845
1845
  "aria-hidden": "true"
1846
1846
  }, null, 512), [
@@ -1899,7 +1899,7 @@ const bs = { class: "flex justify-between" }, vs = {
1899
1899
  },
1900
1900
  emits: ["closeNotification"],
1901
1901
  setup(e, { emit: g }) {
1902
- const i = e, o = A(() => i.show);
1902
+ const i = e, o = z(() => i.show);
1903
1903
  return (a, r) => (l(), s("div", {
1904
1904
  "aria-live": "assertive",
1905
1905
  class: v([{ fixed: e.fixed }, "inset-0 flex items-end px-4 py-6 pointer-events-none sm:p-6 sm:items-start z-[9999]"])
@@ -1918,25 +1918,25 @@ const bs = { class: "flex justify-between" }, vs = {
1918
1918
  t("div", ka, [
1919
1919
  t("div", $a, [
1920
1920
  t("div", Ca, [
1921
- z(m(f(bt), {
1921
+ T(m(f(bt), {
1922
1922
  "aria-hidden": "true",
1923
1923
  class: "h-6 w-6 text-green-600"
1924
1924
  }, null, 512), [
1925
1925
  [L, e.type === "success"]
1926
1926
  ]),
1927
- z(m(f(Ae), {
1927
+ T(m(f(Ae), {
1928
1928
  "aria-hidden": "true",
1929
1929
  class: "h-6 w-6 text-red-600"
1930
1930
  }, null, 512), [
1931
1931
  [L, e.type === "danger"]
1932
1932
  ]),
1933
- z(m(f(ee), {
1933
+ T(m(f(ee), {
1934
1934
  "aria-hidden": "true",
1935
1935
  class: "h-6 w-6 text-yellow-400"
1936
1936
  }, null, 512), [
1937
1937
  [L, e.type === "warning"]
1938
1938
  ]),
1939
- z(m(f(pt), {
1939
+ T(m(f(pt), {
1940
1940
  "aria-hidden": "true",
1941
1941
  class: "h-6 w-6 text-black"
1942
1942
  }, null, 512), [
@@ -1973,7 +1973,7 @@ const bs = { class: "flex justify-between" }, vs = {
1973
1973
  key: 0,
1974
1974
  role: "list",
1975
1975
  class: "divide-y divide-gray-100"
1976
- }, Da = { class: "min-w-0" }, Aa = { class: "flex items-start gap-x-3" }, La = { class: "text-sm font-semibold leading-6 text-gray-900" }, Pa = { class: "mt-1 flex items-center gap-x-2 text-xs leading-5 text-gray-500" }, Fa = { class: "truncate" }, Oa = { class: "flex flex-none items-center gap-x-4" }, Na = ["href"], Ia = { class: "sr-only" }, _a = {
1976
+ }, Da = { class: "min-w-0" }, Aa = { class: "flex items-start gap-x-3" }, La = { class: "text-sm font-semibold leading-6 text-gray-900" }, Pa = { class: "mt-1 flex items-center gap-x-2 text-xs leading-5 text-gray-500" }, Fa = { class: "truncate" }, Oa = { class: "flex flex-none items-center gap-x-4" }, _a = ["href"], Na = { class: "sr-only" }, Ia = {
1977
1977
  key: 1,
1978
1978
  class: "divide-y divide-gray-100 animate-pulse"
1979
1979
  }, Va = /* @__PURE__ */ M({
@@ -1983,7 +1983,7 @@ const bs = { class: "flex justify-between" }, vs = {
1983
1983
  loading: { type: Boolean, default: !0 }
1984
1984
  },
1985
1985
  setup(e) {
1986
- return (g, i) => e.loading ? (l(), s("ul", _a, [
1986
+ return (g, i) => e.loading ? (l(), s("ul", Ia, [
1987
1987
  (l(!0), s($, null, S(e.tasks, (o) => (l(), s("li", {
1988
1988
  key: o.id,
1989
1989
  class: "flex items-center justify-between gap-x-6 py-5"
@@ -2019,8 +2019,8 @@ const bs = { class: "flex justify-between" }, vs = {
2019
2019
  class: "hidden rounded-md bg-white px-2.5 py-1.5 text-sm font-semibold text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 hover:bg-gray-50 sm:block"
2020
2020
  }, [
2021
2021
  j(u(o.action), 1),
2022
- t("span", Ia, ", " + u(o.name), 1)
2023
- ], 8, Na)
2022
+ t("span", Na, ", " + u(o.name), 1)
2023
+ ], 8, _a)
2024
2024
  ])
2025
2025
  ]))), 128))
2026
2026
  ]));
@@ -2030,7 +2030,7 @@ function qa(e) {
2030
2030
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
2031
2031
  }
2032
2032
  var ke = { exports: {} }, Ya = ke.exports, et;
2033
- function Ra() {
2033
+ function Ha() {
2034
2034
  return et || (et = 1, (function(e, g) {
2035
2035
  (function(i, o) {
2036
2036
  e.exports = o(Y);
@@ -2045,13 +2045,13 @@ function Ra() {
2045
2045
  }));
2046
2046
  })(ke)), ke.exports;
2047
2047
  }
2048
- Ra();
2049
- var $e = { exports: {} }, Ha = $e.exports, tt;
2048
+ Ha();
2049
+ var $e = { exports: {} }, Ra = $e.exports, tt;
2050
2050
  function Ua() {
2051
2051
  return tt || (tt = 1, (function(e, g) {
2052
2052
  (function(i, o) {
2053
2053
  e.exports = o(Y);
2054
- })(Ha, (function(i) {
2054
+ })(Ra, (function(i) {
2055
2055
  function o(c) {
2056
2056
  return c && typeof c == "object" && "default" in c ? c : { default: c };
2057
2057
  }
@@ -2378,10 +2378,10 @@ const we = /* @__PURE__ */ be($n, [["render", Bn]]), Mn = {
2378
2378
  }, Fn = { key: 0 }, On = {
2379
2379
  colspan: "6",
2380
2380
  class: "pl-4"
2381
- }, Nn = { key: 1 }, In = {
2381
+ }, _n = { key: 1 }, Nn = {
2382
2382
  colspan: "6",
2383
2383
  class: "pl-4"
2384
- }, _n = { key: 2 }, Vn = {
2384
+ }, In = { key: 2 }, Vn = {
2385
2385
  colspan: "6",
2386
2386
  class: "pl-4"
2387
2387
  }, qn = {
@@ -2391,7 +2391,7 @@ const we = /* @__PURE__ */ be($n, [["render", Bn]]), Mn = {
2391
2391
  }, Yn = {
2392
2392
  key: 0,
2393
2393
  class: "absolute top-0 left-12 flex h-12 items-center space-x-3 sm:left-48 bg-white shadow rounded px-4 py-1 z-10"
2394
- }, Rn = ["onClick"], Hn = {
2394
+ }, Hn = ["onClick"], Rn = {
2395
2395
  colspan: "2",
2396
2396
  scope: "colgroup",
2397
2397
  class: "relative bg-gray-100 py-3.5 pl-4 pr-3 text-left font-semibold"
@@ -2430,23 +2430,23 @@ const we = /* @__PURE__ */ be($n, [["render", Bn]]), Mn = {
2430
2430
  emits: ["dateChanged", "changeCategoryBulkPrices", "changeCategorySelectionPrice", "changeCategoryUpgradePrice", "changeRoomPrice", "tableAction"],
2431
2431
  setup(e, { emit: g }) {
2432
2432
  const i = e, o = g, a = P(/* @__PURE__ */ new Date()), r = P(i.today), n = P([]);
2433
- Z(() => i.today, (R) => {
2434
- r.value = R;
2433
+ Z(() => i.today, (H) => {
2434
+ r.value = H;
2435
2435
  });
2436
- const d = A(() => {
2437
- let R = [];
2436
+ const d = z(() => {
2437
+ let H = [];
2438
2438
  for (let U = 0; U < 14; U++)
2439
- R.push(Y(r.value).add(U, "day"));
2440
- return R;
2441
- }), c = A(() => n.value.length > 0 && n.value.length < i.rooms.length), b = (R) => {
2442
- Y(R).isBefore(a.value) || (r.value = R, o("dateChanged", r.value));
2443
- }, p = (R) => {
2444
- let U = i.category.selectionPrices.find((I) => Y(I.date).isSame(R.date));
2445
- return U ? U.price : R.price;
2446
- }, C = (R) => {
2447
- n.value = R.target.checked ? i.rooms.map((U) => U.id) : [];
2448
- }, _ = () => o("changeCategoryBulkPrices"), H = (R) => o("changeCategorySelectionPrice", R), T = (R) => o("changeCategoryUpgradePrice", R), V = (R) => o("tableAction", R), W = (R, U, I) => o("changeRoomPrice", { price: R, roomId: U, roomName: I });
2449
- return (R, U) => e.loading ? (l(), k($t, { key: 1 })) : (l(), s("div", Mn, [
2439
+ H.push(Y(r.value).add(U, "day"));
2440
+ return H;
2441
+ }), c = z(() => n.value.length > 0 && n.value.length < i.rooms.length), b = (H) => {
2442
+ Y(H).isBefore(a.value) || (r.value = H, o("dateChanged", r.value));
2443
+ }, p = (H) => {
2444
+ let U = i.category.selectionPrices.find((N) => Y(N.date).isSame(H.date));
2445
+ return U ? U.price : H.price;
2446
+ }, C = (H) => {
2447
+ n.value = H.target.checked ? i.rooms.map((U) => U.id) : [];
2448
+ }, I = () => o("changeCategoryBulkPrices"), R = (H) => o("changeCategorySelectionPrice", H), D = (H) => o("changeCategoryUpgradePrice", H), V = (H) => o("tableAction", H), W = (H, U, N) => o("changeRoomPrice", { price: H, roomId: U, roomName: N });
2449
+ return (H, U) => e.loading ? (l(), k($t, { key: 1 })) : (l(), s("div", Mn, [
2450
2450
  t("div", jn, [
2451
2451
  t("div", zn, [
2452
2452
  t("div", Tn, [
@@ -2456,17 +2456,17 @@ const we = /* @__PURE__ */ be($n, [["render", Bn]]), Mn = {
2456
2456
  t("th", Ln, [
2457
2457
  m(ln, {
2458
2458
  selectedDate: r.value,
2459
- onDateSelected: U[0] || (U[0] = (I) => b(I))
2459
+ onDateSelected: U[0] || (U[0] = (N) => b(N))
2460
2460
  }, null, 8, ["selectedDate"])
2461
2461
  ]),
2462
- (l(!0), s($, null, S(d.value, (I, w) => (l(), s("th", {
2462
+ (l(!0), s($, null, S(d.value, (N, w) => (l(), s("th", {
2463
2463
  scope: "col",
2464
2464
  key: w,
2465
2465
  class: "text-sm font-semibold p-0"
2466
2466
  }, [
2467
2467
  m(kn, {
2468
2468
  class: "border-l border-gray-200 px-6 py-3",
2469
- day: I
2469
+ day: N
2470
2470
  }, null, 8, ["day"])
2471
2471
  ]))), 128))
2472
2472
  ]),
@@ -2477,7 +2477,7 @@ const we = /* @__PURE__ */ be($n, [["render", Bn]]), Mn = {
2477
2477
  loading: e.loading,
2478
2478
  class: "ml-4",
2479
2479
  size: "small",
2480
- onClick: _
2480
+ onClick: I
2481
2481
  }, {
2482
2482
  default: h(() => [
2483
2483
  j(u(e.literals.changeInBulk), 1)
@@ -2488,44 +2488,44 @@ const we = /* @__PURE__ */ be($n, [["render", Bn]]), Mn = {
2488
2488
  ]),
2489
2489
  e.type === "discounts" ? (l(), s("tr", Fn, [
2490
2490
  t("td", On, u(e.literals.pricesDiscount), 1),
2491
- (l(!0), s($, null, S(e.category.selectionPrices, (I, w) => (l(), s("td", {
2491
+ (l(!0), s($, null, S(e.category.selectionPrices, (N, w) => (l(), s("td", {
2492
2492
  key: w,
2493
2493
  class: "p-0"
2494
2494
  }, [
2495
2495
  m(we, {
2496
- onClick: (F) => H(I),
2496
+ onClick: (F) => R(N),
2497
2497
  class: "border-l border-gray-200 px-6 py-3 text-black hover:text-lime-400 font-bold cursor-pointer",
2498
- price: I,
2498
+ price: N,
2499
2499
  currency: e.currency.symbol,
2500
2500
  isBasePrice: !0
2501
2501
  }, null, 8, ["onClick", "price", "currency"])
2502
2502
  ]))), 128))
2503
2503
  ])) : x("", !0),
2504
- e.type === "prices" ? (l(), s("tr", Nn, [
2505
- t("td", In, u(e.literals.pricesSelection), 1),
2506
- (l(!0), s($, null, S(e.category.selectionPrices, (I, w) => (l(), s("td", {
2504
+ e.type === "prices" ? (l(), s("tr", _n, [
2505
+ t("td", Nn, u(e.literals.pricesSelection), 1),
2506
+ (l(!0), s($, null, S(e.category.selectionPrices, (N, w) => (l(), s("td", {
2507
2507
  key: w,
2508
2508
  class: "p-0"
2509
2509
  }, [
2510
2510
  m(we, {
2511
- onClick: (F) => H(I),
2511
+ onClick: (F) => R(N),
2512
2512
  class: "border-l border-gray-200 px-6 py-3 text-black hover:text-lime-400 font-bold cursor-pointer",
2513
- price: I,
2513
+ price: N,
2514
2514
  currency: e.currency.symbol,
2515
2515
  isBasePrice: !0
2516
2516
  }, null, 8, ["onClick", "price", "currency"])
2517
2517
  ]))), 128))
2518
2518
  ])) : x("", !0),
2519
- e.type === "prices" ? (l(), s("tr", _n, [
2519
+ e.type === "prices" ? (l(), s("tr", In, [
2520
2520
  t("td", Vn, u(e.literals.pricesUpgrade), 1),
2521
- (l(!0), s($, null, S(e.category.upgradePrices, (I, w) => (l(), s("td", {
2521
+ (l(!0), s($, null, S(e.category.upgradePrices, (N, w) => (l(), s("td", {
2522
2522
  key: w,
2523
2523
  class: "p-0"
2524
2524
  }, [
2525
2525
  m(we, {
2526
- onClick: (F) => T(I),
2526
+ onClick: (F) => D(N),
2527
2527
  class: "border-l border-gray-200 px-6 py-3 text-black hover:text-lime-400 font-bold cursor-pointer bg-gray-100",
2528
- price: I,
2528
+ price: N,
2529
2529
  currency: e.currency.symbol,
2530
2530
  isBasePrice: !0
2531
2531
  }, null, 8, ["onClick", "price", "currency"])
@@ -2534,18 +2534,18 @@ const we = /* @__PURE__ */ be($n, [["render", Bn]]), Mn = {
2534
2534
  t("tr", null, [
2535
2535
  t("th", qn, [
2536
2536
  n.value?.length > 0 && e.actions?.length > 0 ? (l(), s("div", Yn, [
2537
- (l(!0), s($, null, S(e.actions, (I, w) => (l(), s("button", {
2538
- onClick: (F) => V({ action: I.id, items: n.value }),
2537
+ (l(!0), s($, null, S(e.actions, (N, w) => (l(), s("button", {
2538
+ onClick: (F) => V({ action: N.id, items: n.value }),
2539
2539
  key: w,
2540
2540
  type: "button",
2541
2541
  class: "inline-flex items-center rounded bg-lime-400 hover:bg-black hover:text-white px-2.5 py-1.5 text-xs font-medium shadow-sm disabled:cursor-not-allowed disabled:opacity-30"
2542
- }, u(I.name), 9, Rn))), 128))
2542
+ }, u(N.name), 9, Hn))), 128))
2543
2543
  ])) : x("", !0),
2544
2544
  t("span", null, u(e.literals.pricesSelection), 1)
2545
2545
  ])
2546
2546
  ]),
2547
2547
  t("tr", null, [
2548
- t("th", Hn, [
2548
+ t("th", Rn, [
2549
2549
  t("input", {
2550
2550
  type: "checkbox",
2551
2551
  class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-lime-400 focus:ring-lime-400",
@@ -2563,30 +2563,30 @@ const we = /* @__PURE__ */ be($n, [["render", Bn]]), Mn = {
2563
2563
  class: "bg-gray-100 py-2 pl-4 pr-3 text-left font-semibold"
2564
2564
  }, null, -1))
2565
2565
  ]),
2566
- (l(!0), s($, null, S(e.rooms, (I) => (l(), s("tr", {
2567
- key: I.name,
2566
+ (l(!0), s($, null, S(e.rooms, (N) => (l(), s("tr", {
2567
+ key: N.name,
2568
2568
  class: v([{ "even:bg-gray-100": e.type === "prices", "odd:bg-gray-100": e.type === "discounts" }])
2569
2569
  }, [
2570
2570
  t("td", Jn, [
2571
2571
  n.value.length > 0 ? (l(), s("div", Gn)) : x("", !0),
2572
- z(t("input", {
2572
+ T(t("input", {
2573
2573
  type: "checkbox",
2574
2574
  class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-lime-400 focus:ring-lime-400",
2575
- value: I.name,
2575
+ value: N.name,
2576
2576
  "onUpdate:modelValue": U[1] || (U[1] = (w) => n.value = w)
2577
2577
  }, null, 8, Qn), [
2578
2578
  [ot, n.value]
2579
2579
  ]),
2580
- t("span", Kn, u(I.name), 1)
2580
+ t("span", Kn, u(N.name), 1)
2581
2581
  ]),
2582
- t("td", Xn, u(I.building), 1),
2583
- t("td", eo, u(I.floor), 1),
2584
- (l(!0), s($, null, S(I.selectionPrices, (w, F) => (l(), s("td", {
2582
+ t("td", Xn, u(N.building), 1),
2583
+ t("td", eo, u(N.floor), 1),
2584
+ (l(!0), s($, null, S(N.selectionPrices, (w, F) => (l(), s("td", {
2585
2585
  class: "p-0",
2586
2586
  key: F
2587
2587
  }, [
2588
2588
  m(we, {
2589
- onClick: (q) => W(w, I.id, I.name),
2589
+ onClick: (q) => W(w, N.id, N.name),
2590
2590
  class: "border-l border-gray-200 px-6 py-3 text-black hover:text-lime-400 cursor-pointer",
2591
2591
  price: w,
2592
2592
  currency: e.currency.symbol,
@@ -2650,8 +2650,8 @@ const we = /* @__PURE__ */ be($n, [["render", Bn]]), Mn = {
2650
2650
  setup(e, { emit: g }) {
2651
2651
  const i = g, o = P((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":"))), a = e;
2652
2652
  let r = he(a.dates || { from: "", to: o });
2653
- Z(() => a.dates, (T) => {
2654
- T && (r = T);
2653
+ Z(() => a.dates, (D) => {
2654
+ D && (r = D);
2655
2655
  });
2656
2656
  let d = {
2657
2657
  chart: {
@@ -2664,10 +2664,10 @@ const we = /* @__PURE__ */ be($n, [["render", Bn]]), Mn = {
2664
2664
  },
2665
2665
  colors: function() {
2666
2666
  return a.isNps ? [
2667
- function({ dataPointIndex: T }) {
2668
- if (T <= 5) return "#F87171";
2669
- if (T > 5 && T <= 7) return "#eab308";
2670
- if (T >= 8) return "#84cc16";
2667
+ function({ dataPointIndex: D }) {
2668
+ if (D <= 5) return "#F87171";
2669
+ if (D > 5 && D <= 7) return "#eab308";
2670
+ if (D >= 8) return "#84cc16";
2671
2671
  }
2672
2672
  ] : [
2673
2673
  "#000000",
@@ -2711,11 +2711,11 @@ const we = /* @__PURE__ */ be($n, [["render", Bn]]), Mn = {
2711
2711
  }), a.type === "area" && (d.tooltip = { intersect: !1, shared: !0 });
2712
2712
  const c = () => (d.chart.stacked = a.stacked, a.options && (a.options.xaxis.hideOverlappingLabels = !0, a.options.xaxis.decimalsInFloat = 2, a.options.xaxis.tickAmount = 10), { ...d, ...a.options, plotOptions: { bar: { horizontal: a.horizontal } } }), b = () => {
2713
2713
  r.from !== "" && r.to !== "" && Y(r.from).isBefore(Y(r.to)) && i("selectedRange", { range: r, chartId: a.id });
2714
- }, p = A(() => a.series), C = A(() => c()), _ = () => i("chartUpdated"), H = (T, V, W) => {
2715
- i("dataPointSelection", { id: a.id, chartContext: V, config: W, event: T });
2714
+ }, p = z(() => a.series), C = z(() => c()), I = () => i("chartUpdated"), R = (D, V, W) => {
2715
+ i("dataPointSelection", { id: a.id, chartContext: V, config: W, event: D });
2716
2716
  };
2717
- return (T, V) => (l(), s($, null, [
2718
- z(t("div", {
2717
+ return (D, V) => (l(), s($, null, [
2718
+ T(t("div", {
2719
2719
  class: "card chart apex-chart p-4 bg-white shadow rounded-lg overflow-hidden flex grow",
2720
2720
  style: Fe({ height: e.height + "px" })
2721
2721
  }, [
@@ -2770,7 +2770,7 @@ const we = /* @__PURE__ */ be($n, [["render", Bn]]), Mn = {
2770
2770
  ])) : x("", !0),
2771
2771
  t("div", ro, [
2772
2772
  t("div", co, [
2773
- z(t("input", {
2773
+ T(t("input", {
2774
2774
  type: "datetime-local",
2775
2775
  "onUpdate:modelValue": V[0] || (V[0] = (W) => f(r).from = W),
2776
2776
  max: o.value.toString(),
@@ -2783,7 +2783,7 @@ const we = /* @__PURE__ */ be($n, [["render", Bn]]), Mn = {
2783
2783
  ])
2784
2784
  ]),
2785
2785
  t("div", go, [
2786
- z(t("input", {
2786
+ T(t("input", {
2787
2787
  type: "datetime-local",
2788
2788
  "onUpdate:modelValue": V[1] || (V[1] = (W) => f(r).to = W),
2789
2789
  max: o.value.toString(),
@@ -2800,25 +2800,25 @@ const we = /* @__PURE__ */ be($n, [["render", Bn]]), Mn = {
2800
2800
  size: "big",
2801
2801
  loading: e.loading,
2802
2802
  icon: f(ht),
2803
- onClick: V[2] || (V[2] = (W) => T.$emit("maximizeChart", e.id))
2803
+ onClick: V[2] || (V[2] = (W) => D.$emit("maximizeChart", e.id))
2804
2804
  }, null, 8, ["loading", "icon"])
2805
2805
  ])
2806
2806
  ]),
2807
- z(t("div", fo, [
2807
+ T(t("div", fo, [
2808
2808
  m(Je, {
2809
2809
  class: "chart",
2810
2810
  type: e.type,
2811
2811
  series: p.value,
2812
2812
  height: "100%",
2813
2813
  options: C.value,
2814
- onUpdated: _,
2815
- onMounted: _,
2816
- onDataPointSelection: H
2814
+ onUpdated: I,
2815
+ onMounted: I,
2816
+ onDataPointSelection: R
2817
2817
  }, null, 8, ["type", "series", "options"])
2818
2818
  ], 512), [
2819
2819
  [L, !e.empty]
2820
2820
  ]),
2821
- z(t("div", ho, [
2821
+ T(t("div", ho, [
2822
2822
  m(O, {
2823
2823
  icon: f(ee),
2824
2824
  color: "gray",
@@ -2832,7 +2832,7 @@ const we = /* @__PURE__ */ be($n, [["render", Bn]]), Mn = {
2832
2832
  ], 4), [
2833
2833
  [L, !e.loading]
2834
2834
  ]),
2835
- z(t("div", yo, [...V[4] || (V[4] = [
2835
+ T(t("div", yo, [...V[4] || (V[4] = [
2836
2836
  t("div", {
2837
2837
  role: "status",
2838
2838
  class: "w-full animate-pulse h-full flex flex-col"
@@ -2895,10 +2895,10 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
2895
2895
  alt: "loading animation"
2896
2896
  })
2897
2897
  ], -1)),
2898
- z(t("h2", { class: "text-xs font-bold text-center uppercase mb-2" }, u(e.title), 513), [
2898
+ T(t("h2", { class: "text-xs font-bold text-center uppercase mb-2" }, u(e.title), 513), [
2899
2899
  [L, e.title]
2900
2900
  ]),
2901
- z(t("p", { class: "text-xs text-center uppercase md:w-1/4" }, u(e.message), 513), [
2901
+ T(t("p", { class: "text-xs text-center uppercase md:w-1/4" }, u(e.message), 513), [
2902
2902
  [L, e.message]
2903
2903
  ])
2904
2904
  ], 2));
@@ -2932,7 +2932,7 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
2932
2932
  },
2933
2933
  emits: ["sideBarClick"],
2934
2934
  setup(e, { emit: g }) {
2935
- const i = e, o = g, a = A(() => i.navigation ? Array.isArray(i.navigation) ? i.navigation : [i.navigation] : []);
2935
+ const i = e, o = g, a = z(() => i.navigation ? Array.isArray(i.navigation) ? i.navigation : [i.navigation] : []);
2936
2936
  return (r, n) => (l(), s("div", $o, [
2937
2937
  t("div", Co, [
2938
2938
  t("div", So, [
@@ -3016,10 +3016,10 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
3016
3016
  ])
3017
3017
  ]));
3018
3018
  }
3019
- }), Oo = { class: "flex flex-row grow border-r border-gray-200 bg-white pr-6 h-screen" }, No = { class: "bg-black w-16 mr-6 flex-shrink-0" }, Io = ["onClick"], _o = ["src", "alt"], Vo = {
3019
+ }), Oo = { class: "flex flex-row grow border-r border-gray-200 bg-white pr-6 h-screen" }, _o = { class: "bg-black w-16 mr-6 flex-shrink-0" }, No = ["onClick"], Io = ["src", "alt"], Vo = {
3020
3020
  key: 0,
3021
3021
  class: "flex flex-col grow h-full"
3022
- }, qo = ["src"], Yo = { class: "flex flex-1 flex-col overflow-hidden mt-8" }, Ro = { class: "flex-1 overflow-y-auto pr-6" }, Ho = {
3022
+ }, qo = ["src"], Yo = { class: "flex flex-1 flex-col overflow-hidden mt-8" }, Ho = { class: "flex-1 overflow-y-auto pr-6" }, Ro = {
3023
3023
  key: 0,
3024
3024
  role: "list",
3025
3025
  class: "flex flex-col gap-y-7 mb-4"
@@ -3033,7 +3033,7 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
3033
3033
  }, Wo = { class: "ml-2 space-y-1" }, Jo = { class: "font-bold mb-4" }, Go = {
3034
3034
  key: 1,
3035
3035
  class: "flex flex-col grow h-full"
3036
- }, Qo = { class: "flex-1 overflow-y-auto pr-6" }, Ko = { class: "h-12 flex flex-row items-center" }, _e = /* @__PURE__ */ M({
3036
+ }, Qo = { class: "flex-1 overflow-y-auto pr-6" }, Ko = { class: "h-12 flex flex-row items-center" }, Ie = /* @__PURE__ */ M({
3037
3037
  __name: "uiSidebarV2",
3038
3038
  props: {
3039
3039
  navigation: {},
@@ -3045,9 +3045,9 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
3045
3045
  },
3046
3046
  emits: ["productBarClick", "sideBarClick", "inputChanged"],
3047
3047
  setup(e, { emit: g }) {
3048
- const i = e, o = A(() => i.navigation ? Array.isArray(i.navigation) ? i.navigation : [i.navigation] : []);
3048
+ const i = e, o = z(() => i.navigation ? Array.isArray(i.navigation) ? i.navigation : [i.navigation] : []);
3049
3049
  return (a, r) => (l(), s("div", Oo, [
3050
- t("div", No, [
3050
+ t("div", _o, [
3051
3051
  t("ul", null, [
3052
3052
  (l(!0), s($, null, S(e.productsSidebar, (n, d) => (l(), s("li", {
3053
3053
  key: d,
@@ -3057,8 +3057,8 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
3057
3057
  t("img", {
3058
3058
  src: n.icon,
3059
3059
  alt: n.name
3060
- }, null, 8, _o)
3061
- ], 10, Io))), 128))
3060
+ }, null, 8, Io)
3061
+ ], 10, No))), 128))
3062
3062
  ])
3063
3063
  ]),
3064
3064
  e.loading ? (l(), s("div", Go, [
@@ -3080,8 +3080,8 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
3080
3080
  }, null, 8, qo)
3081
3081
  ]),
3082
3082
  t("nav", Yo, [
3083
- t("div", Ro, [
3084
- e.isFilterNavigation ? x("", !0) : (l(), s("ul", Ho, [
3083
+ t("div", Ho, [
3084
+ e.isFilterNavigation ? x("", !0) : (l(), s("ul", Ro, [
3085
3085
  t("li", null, [
3086
3086
  t("ul", Uo, [
3087
3087
  (l(!0), s($, null, S(o.value, (n) => (l(), s("li", {
@@ -3113,7 +3113,7 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
3113
3113
  ]),
3114
3114
  _: 2
3115
3115
  }, 1032, ["onClick", "class"]),
3116
- z(t("div", null, [
3116
+ T(t("div", null, [
3117
3117
  m(f(De), {
3118
3118
  as: "ul",
3119
3119
  class: "mt-1 px-2",
@@ -3272,7 +3272,7 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
3272
3272
  })) : x("", !0),
3273
3273
  j(" " + u(e.item.change), 1)
3274
3274
  ], 2)) : x("", !0),
3275
- z(t("div", ai, [
3275
+ T(t("div", ai, [
3276
3276
  t("div", ni, [
3277
3277
  t("span", {
3278
3278
  onClick: o[0] || (o[0] = (a) => i.$emit("statClick", e.item.id)),
@@ -3386,7 +3386,7 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
3386
3386
  ], -1)),
3387
3387
  t("div", null, [
3388
3388
  m(O, {
3389
- icon: f(_l),
3389
+ icon: f(Il),
3390
3390
  loading: !1,
3391
3391
  color: "white",
3392
3392
  size: "big"
@@ -3421,21 +3421,21 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
3421
3421
  setup(e, { emit: g }) {
3422
3422
  const i = e, o = g, a = P({ id: "1", name: i.literals.and }), r = he([]), n = P(i.availableCategories[0] || {}), d = (w) => w ? w === "uiInput" ? i.literals.contains : i.literals.is : "", c = (w) => {
3423
3423
  r.splice(0, r.length), w.logicOperator === "and" || w.logicOperator === i.literals.and ? a.value = { id: "1", name: i.literals.and } : (w.logicOperator === "or" || w.logicOperator === i.literals.or) && (a.value = { id: "2", name: i.literals.or }), w.filters.forEach((F) => {
3424
- const q = i.availableCategories.find((N) => N.name === F.name);
3424
+ const q = i.availableCategories.find((_) => _.name === F.name);
3425
3425
  if (q) {
3426
- const N = {
3426
+ const _ = {
3427
3427
  label: F.label,
3428
3428
  name: F.name,
3429
3429
  type: F.type,
3430
3430
  props: { ...q.defaultProps }
3431
3431
  };
3432
3432
  if (F.type === "uiInput")
3433
- N.props.value = F.value || "";
3433
+ _.props.value = F.value || "";
3434
3434
  else if (F.type === "uiSelect") {
3435
3435
  const G = q.defaultProps.items?.find((te) => te.name === F.value);
3436
- G ? N.props.select = G : q.defaultProps.items && q.defaultProps.items.length > 0 && (N.props.select = q.defaultProps.items[0]);
3436
+ G ? _.props.select = G : q.defaultProps.items && q.defaultProps.items.length > 0 && (_.props.select = q.defaultProps.items[0]);
3437
3437
  }
3438
- r.push(N);
3438
+ r.push(_);
3439
3439
  }
3440
3440
  });
3441
3441
  };
@@ -3446,18 +3446,18 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
3446
3446
  }, { deep: !0, immediate: !0 }), Z(() => i.filters, (w) => {
3447
3447
  w && c(w);
3448
3448
  }, { deep: !0, immediate: !0 });
3449
- const b = A(() => [
3449
+ const b = z(() => [
3450
3450
  { id: "1", name: i.literals.and },
3451
3451
  { id: "2", name: i.literals.or }
3452
- ]), p = A(() => i.availableCategories.map((w) => ({
3452
+ ]), p = z(() => i.availableCategories.map((w) => ({
3453
3453
  id: w.name,
3454
3454
  name: w.name,
3455
3455
  label: w.label
3456
- }))), C = A(() => ({
3456
+ }))), C = z(() => ({
3457
3457
  id: n.value.name,
3458
3458
  label: n.value.label,
3459
3459
  name: n.value.name
3460
- })), _ = A(() => r.map((w) => w.type === "uiInput" ? {
3460
+ })), I = z(() => r.map((w) => w.type === "uiInput" ? {
3461
3461
  name: w.label,
3462
3462
  operator: i.literals.contains,
3463
3463
  value: w.props.value || ""
@@ -3469,10 +3469,10 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
3469
3469
  name: w.label,
3470
3470
  operator: i.literals.contains,
3471
3471
  value: ""
3472
- })), H = (w) => {
3472
+ })), R = (w) => {
3473
3473
  a.value = Array.isArray(w) ? w[0] || { id: "1", name: i.literals.and } : w;
3474
- }, T = (w) => {
3475
- const F = Array.isArray(w) ? w[0] : w, q = i.availableCategories.find((N) => N.name === F.id);
3474
+ }, D = (w) => {
3475
+ const F = Array.isArray(w) ? w[0] : w, q = i.availableCategories.find((_) => _.name === F.id);
3476
3476
  q && (n.value = q);
3477
3477
  }, V = () => {
3478
3478
  if (!n.value || !n.value.name)
@@ -3488,18 +3488,18 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
3488
3488
  if (w < 0 || w >= r.length) return;
3489
3489
  const q = r[w];
3490
3490
  q.type === "uiInput" ? typeof F == "string" && (q.props.value = F) : q.type === "uiSelect" && (Array.isArray(F) ? q.props.select = F[0] : typeof F == "object" && F !== null && (q.props.select = F));
3491
- }, R = (w) => {
3491
+ }, H = (w) => {
3492
3492
  w >= 0 && w < r.length && (r.splice(w, 1), o("smartFilterDeleted", w));
3493
3493
  }, U = () => {
3494
3494
  r.splice(0, r.length), o("smartFiltersCleared");
3495
- }, I = (w) => {
3495
+ }, N = (w) => {
3496
3496
  const q = {
3497
3497
  logicOperator: a.value.id === "1" ? "and" : "or",
3498
- filters: r.map((N) => ({
3499
- name: N.name,
3500
- label: N.label,
3501
- type: N.type,
3502
- value: N.type === "uiInput" ? N.props.value : N.props.select?.id
3498
+ filters: r.map((_) => ({
3499
+ name: _.name,
3500
+ label: _.label,
3501
+ type: _.type,
3502
+ value: _.type === "uiInput" ? _.props.value : _.props.select?.id
3503
3503
  }))
3504
3504
  };
3505
3505
  o("smartFiltersSent", q), w();
@@ -3514,9 +3514,9 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
3514
3514
  m(f(gl), { class: "inline-flex items-center gap-x-2 text-sm/6 font-semibold text-gray-900 outline-none flex-wrap gap-y-1" }, {
3515
3515
  default: h(() => [
3516
3516
  t("span", null, u(i.literals.filters) + ": ", 1),
3517
- (l(!0), s($, null, S(_.value, (q, N) => (l(), s($, { key: N }, [
3517
+ (l(!0), s($, null, S(I.value, (q, _) => (l(), s($, { key: _ }, [
3518
3518
  t("span", Ci, u(q.name) + " " + u(q.operator) + ": " + u(q.value), 1),
3519
- N < _.value.length - 1 ? (l(), s("span", Si, u(a.value.name), 1)) : x("", !0)
3519
+ _ < I.value.length - 1 ? (l(), s("span", Si, u(a.value.name), 1)) : x("", !0)
3520
3520
  ], 64))), 128)),
3521
3521
  m(f(ne), {
3522
3522
  class: "size-5",
@@ -3544,7 +3544,7 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
3544
3544
  class: "w-60",
3545
3545
  items: p.value,
3546
3546
  select: C.value,
3547
- onSelectChanged: T
3547
+ onSelectChanged: D
3548
3548
  }, null, 8, ["loading", "items", "select"]),
3549
3549
  m(J, {
3550
3550
  loading: i.loading,
@@ -3557,9 +3557,9 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
3557
3557
  _: 1
3558
3558
  }, 8, ["loading", "disabled"])
3559
3559
  ]),
3560
- (l(!0), s($, null, S(r, (N, G) => (l(), s("div", {
3560
+ (l(!0), s($, null, S(r, (_, G) => (l(), s("div", {
3561
3561
  class: "flex items-center gap-x-2 w-full",
3562
- key: N.name
3562
+ key: _.name
3563
3563
  }, [
3564
3564
  m(Q, {
3565
3565
  loading: i.loading,
@@ -3567,7 +3567,7 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
3567
3567
  color: "gray"
3568
3568
  }, {
3569
3569
  default: h(() => [
3570
- j(u(N.label), 1)
3570
+ j(u(_.label), 1)
3571
3571
  ]),
3572
3572
  _: 2
3573
3573
  }, 1032, ["loading"]),
@@ -3577,28 +3577,28 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
3577
3577
  color: "gray"
3578
3578
  }, {
3579
3579
  default: h(() => [
3580
- j(u(d(N.type)), 1)
3580
+ j(u(d(_.type)), 1)
3581
3581
  ]),
3582
3582
  _: 2
3583
3583
  }, 1032, ["loading"]),
3584
- N.type === "uiSelect" ? (l(), k(ue, {
3584
+ _.type === "uiSelect" ? (l(), k(ue, {
3585
3585
  key: 0,
3586
3586
  class: "grow",
3587
3587
  loading: i.loading,
3588
- items: N.props.items || [],
3589
- select: N.props.select || N.props.items?.[0] || { id: "0", name: "Select..." },
3588
+ items: _.props.items || [],
3589
+ select: _.props.select || _.props.items?.[0] || { id: "0", name: "Select..." },
3590
3590
  onSelectChanged: (te) => W(G, te)
3591
- }, null, 8, ["loading", "items", "select", "onSelectChanged"])) : N.type === "uiInput" ? (l(), k(ae, {
3591
+ }, null, 8, ["loading", "items", "select", "onSelectChanged"])) : _.type === "uiInput" ? (l(), k(ae, {
3592
3592
  key: 1,
3593
3593
  class: "grow",
3594
3594
  loading: i.loading,
3595
- name: N.props.name || "",
3596
- value: N.props.value || "",
3595
+ name: _.props.name || "",
3596
+ value: _.props.value || "",
3597
3597
  onInput: (te) => W(G, te.target.value)
3598
3598
  }, null, 8, ["loading", "name", "value", "onInput"])) : x("", !0),
3599
3599
  G === 0 ? (l(), k(ue, {
3600
3600
  key: 2,
3601
- onSelectChanged: H,
3601
+ onSelectChanged: R,
3602
3602
  class: "w-24 uppercase",
3603
3603
  loading: i.loading,
3604
3604
  items: b.value,
@@ -3617,11 +3617,11 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
3617
3617
  _: 1
3618
3618
  }, 8, ["loading"])) : x("", !0),
3619
3619
  m(O, {
3620
- icon: f(Ne),
3620
+ icon: f(_e),
3621
3621
  color: "red",
3622
3622
  loading: i.loading,
3623
3623
  class: "cursor-pointer",
3624
- onClick: (te) => R(G),
3624
+ onClick: (te) => H(G),
3625
3625
  title: "Eliminar filtro"
3626
3626
  }, null, 8, ["icon", "loading", "onClick"])
3627
3627
  ]))), 128))
@@ -3630,7 +3630,7 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
3630
3630
  m(J, {
3631
3631
  loading: i.loading,
3632
3632
  color: "red",
3633
- icon: f(Ne),
3633
+ icon: f(_e),
3634
3634
  onClick: U
3635
3635
  }, {
3636
3636
  default: h(() => [
@@ -3641,7 +3641,7 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
3641
3641
  m(J, {
3642
3642
  loading: i.loading,
3643
3643
  icon: f(jl),
3644
- onClick: (N) => I(q)
3644
+ onClick: (_) => N(q)
3645
3645
  }, {
3646
3646
  default: h(() => [
3647
3647
  j(u(i.literals.filter), 1)
@@ -3669,10 +3669,10 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
3669
3669
  }, Fi = {
3670
3670
  href: "#",
3671
3671
  class: "ml-3 relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50"
3672
- }, Oi = { class: "hidden sm:flex-1 sm:flex sm:items-center sm:justify-between" }, Ni = { class: "text-sm text-gray-700" }, Ii = { class: "font-bold mx-1" }, _i = { class: "font-bold mx-1" }, Vi = { class: "font-bold mx-1" }, qi = {
3672
+ }, Oi = { class: "hidden sm:flex-1 sm:flex sm:items-center sm:justify-between" }, _i = { class: "text-sm text-gray-700" }, Ni = { class: "font-bold mx-1" }, Ii = { class: "font-bold mx-1" }, Vi = { class: "font-bold mx-1" }, qi = {
3673
3673
  class: "relative z-0 inline-flex rounded-md shadow-sm -space-x-px",
3674
3674
  "aria-label": "Pagination"
3675
- }, Yi = { class: "sr-only" }, Ri = ["onClick"], Hi = { class: "sr-only" }, Ui = {
3675
+ }, Yi = { class: "sr-only" }, Hi = ["onClick"], Ri = { class: "sr-only" }, Ui = {
3676
3676
  key: 1,
3677
3677
  class: "py-6 flex flex-row justify-between items-center animate-pulse"
3678
3678
  }, Ei = /* @__PURE__ */ M({
@@ -3685,11 +3685,11 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
3685
3685
  },
3686
3686
  emits: ["changePage"],
3687
3687
  setup(e, { emit: g }) {
3688
- const i = g, o = e, a = P(3), r = A(
3688
+ const i = g, o = e, a = P(3), r = z(
3689
3689
  () => Math.max(1, Number(o.current) - Number(a.value))
3690
- ), n = A(
3690
+ ), n = z(
3691
3691
  () => Math.min(Number(o.current) + Number(a.value), Number(o.total))
3692
- ), d = A(() => {
3692
+ ), d = z(() => {
3693
3693
  let c = [];
3694
3694
  for (let b = Number(r.value); b <= Number(n.value); b++)
3695
3695
  c.push(b);
@@ -3709,11 +3709,11 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
3709
3709
  ]),
3710
3710
  t("div", Oi, [
3711
3711
  t("div", null, [
3712
- t("p", Ni, [
3712
+ t("p", _i, [
3713
3713
  E(c.$slots, "showing"),
3714
- t("span", Ii, u(e.current), 1),
3714
+ t("span", Ni, u(e.current), 1),
3715
3715
  E(c.$slots, "of"),
3716
- t("span", _i, u(e.total), 1),
3716
+ t("span", Ii, u(e.total), 1),
3717
3717
  E(c.$slots, "pages"),
3718
3718
  b[2] || (b[2] = t("span", { class: "font-bold mx-1" }, "/", -1)),
3719
3719
  E(c.$slots, "fromTotal"),
@@ -3722,7 +3722,7 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
3722
3722
  ]),
3723
3723
  t("div", null, [
3724
3724
  t("nav", qi, [
3725
- z(t("button", {
3725
+ T(t("button", {
3726
3726
  ref: "test-first-button",
3727
3727
  onClick: b[0] || (b[0] = (p) => i("changePage", e.current - 1)),
3728
3728
  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"
@@ -3744,13 +3744,13 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
3744
3744
  class: v([[
3745
3745
  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"
3746
3746
  ], "relative inline-flex items-center px-4 py-2 border text-sm font-medium"])
3747
- }, u(p), 11, Ri))), 128)),
3748
- z(t("button", {
3747
+ }, u(p), 11, Hi))), 128)),
3748
+ T(t("button", {
3749
3749
  ref: "test-last-button",
3750
3750
  onClick: b[1] || (b[1] = (p) => i("changePage", e.current + 1)),
3751
3751
  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"
3752
3752
  }, [
3753
- t("span", Hi, [
3753
+ t("span", Ri, [
3754
3754
  E(c.$slots, "next")
3755
3755
  ]),
3756
3756
  m(f(ye), {
@@ -3820,33 +3820,33 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
3820
3820
  setup(e, { emit: g }) {
3821
3821
  const i = {
3822
3822
  uiTag: Q
3823
- }, o = g, a = e, r = P([]), n = P(""), d = P(!1), c = P(null), b = P(null), p = P(!1), C = P(null), _ = P(null), H = A(() => r.value.length > 0), T = A(() => a.actions && a.actions.length > 0 || !1), V = A(
3823
+ }, o = g, a = e, r = P([]), n = P(""), d = P(!1), c = P(null), b = P(null), p = P(!1), C = P(null), I = P(null), R = z(() => r.value.length > 0), D = z(() => a.actions && a.actions.length > 0 || !1), V = z(
3824
3824
  () => r.value.length === a.items.length && a.items.length > 0
3825
- ), W = A(
3825
+ ), W = z(
3826
3826
  () => r.value.length > 0 && r.value.length < a.items.length
3827
- ), R = A(
3828
- () => a.header.filter((y, D) => Qe(D))
3829
- ), U = A(() => [
3827
+ ), H = z(
3828
+ () => a.header.filter((y, A) => Qe(A))
3829
+ ), U = z(() => [
3830
3830
  a.actions ? "px-6 sm:px-8" : "px-3",
3831
3831
  "relative"
3832
- ]), I = A(() => [
3832
+ ]), N = z(() => [
3833
3833
  a.actions && a.actions.length > 0 ? "w-2" : "w-0",
3834
3834
  "relative"
3835
- ]), w = A(
3835
+ ]), w = z(
3836
3836
  () => a.smartFilterCategories && a.smartFilterCategories.length > 0
3837
- ), F = A(
3837
+ ), F = z(
3838
3838
  () => a.tableActionsDropdown && a.tableActionsDropdown.items && a.tableActionsDropdown.items.length > 0
3839
- ), q = A(
3839
+ ), q = z(
3840
3840
  () => a.tableActionButtons && a.tableActionButtons.length > 0
3841
- ), N = A(
3841
+ ), _ = z(
3842
3842
  () => w.value || F.value || q.value
3843
- ), G = A(
3843
+ ), G = z(
3844
3844
  () => a.paginationCurrent !== void 0 || a.paginationTotal !== void 0
3845
- ), te = A(
3845
+ ), te = z(
3846
3846
  () => a.paginationCurrent !== void 0 && a.paginationTotal !== void 0 && a.paginationTotalItems !== void 0
3847
- ), Ge = A(
3847
+ ), Ge = z(
3848
3848
  () => a.pageSizeOptions && a.pageSizeOptions.length > 0
3849
- ), Bt = A(() => a.pageSizeOptions ? a.pageSizeOptions.map((y) => ({
3849
+ ), Bt = z(() => a.pageSizeOptions ? a.pageSizeOptions.map((y) => ({
3850
3850
  name: y.name,
3851
3851
  value: String(y.value),
3852
3852
  active: !!(y.active || a.currentPageSize && y.value === a.currentPageSize)
@@ -3860,14 +3860,14 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
3860
3860
  filter: "Filtrar"
3861
3861
  }, jt = (y) => {
3862
3862
  y.action === "close" ? ve.value = !1 : (ve.value = !1, a.selectAllItemsModal && o("modalAction", { modal: a.selectAllItemsModal.modalName, action: y.action }));
3863
- }, Qe = (y) => a.hiddenColumns && a.hiddenColumns.length > 0 ? !a.hiddenColumns.includes(y) : !0, Le = (y) => r.value.includes(y), zt = (y) => n.value === y, Tt = (y) => y.filter((D, B) => Qe(B)), Dt = (y, D) => {
3863
+ }, Qe = (y) => a.hiddenColumns && a.hiddenColumns.length > 0 ? !a.hiddenColumns.includes(y) : !0, Le = (y) => r.value.includes(y), zt = (y) => n.value === y, Tt = (y) => y.filter((A, B) => Qe(B)), Dt = (y, A) => {
3864
3864
  const B = [];
3865
- return Le(y.id) && B.push("bg-gray-50"), D % 2 !== 0 && B.push("bg-gray-50"), B;
3865
+ return Le(y.id) && B.push("bg-gray-50"), A % 2 !== 0 && B.push("bg-gray-50"), B;
3866
3866
  }, At = (y) => {
3867
- const D = ["whitespace-nowrap", "py-4", "pr-3", "text-sm"];
3868
- return Le(y) && D.push("text-black", "font-bold"), D;
3867
+ const A = ["whitespace-nowrap", "py-4", "pr-3", "text-sm"];
3868
+ return Le(y) && A.push("text-black", "font-bold"), A;
3869
3869
  }, Lt = (y) => {
3870
- const D = [
3870
+ const A = [
3871
3871
  "absolute",
3872
3872
  "left-4",
3873
3873
  "top-1/2",
@@ -3880,10 +3880,10 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
3880
3880
  "focus:ring-lime-400",
3881
3881
  "flex-wrap"
3882
3882
  ];
3883
- return y && D.push("bg-gray-100"), D;
3883
+ return y && A.push("bg-gray-100"), A;
3884
3884
  }, Pt = (y) => {
3885
- const D = [];
3886
- return y === a.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;
3885
+ const A = [];
3886
+ return y === a.orderedBy ? A.push("bg-black", "text-white", "group-hover:bg-lime-400", "group-hover:text-black") : A.push("group-hover:visible", "group-focus:visible"), A;
3887
3887
  }, Ft = (y) => typeof y == "object" && y.type === "tag" ? i.uiTag : typeof y == "object" && y.type === "link" ? "span" : typeof y == "object" && y.type === "href" ? "a" : "span", Ot = (y) => typeof y == "object" && y.type === "tag" ? {
3888
3888
  loading: a.loading,
3889
3889
  color: y.color || "primary",
@@ -3894,17 +3894,17 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
3894
3894
  class: "text-black font-bold underline hover:text-lime-400 cursor-pointer"
3895
3895
  } : typeof y == "object" && y.type === "link" ? {
3896
3896
  class: "text-black font-bold underline hover:text-lime-400 cursor-pointer"
3897
- } : {}, Nt = (y) => typeof y == "object" ? y.content || "" : y || "", It = (y) => y === a.orderedBy ? a.orderDirection === "asc" ? ne : xt : ne, _t = (y) => y === a.orderedBy ? "white" : "primary", Vt = (y) => {
3897
+ } : {}, _t = (y) => typeof y == "object" ? y.content || "" : y || "", Nt = (y) => y === a.orderedBy ? a.orderDirection === "asc" ? ne : xt : ne, It = (y) => y === a.orderedBy ? "white" : "primary", Vt = (y) => {
3898
3898
  o("tableAction", { action: y.id, items: r.value });
3899
3899
  }, qt = (y) => {
3900
- const D = y.target;
3901
- D.checked ? ve.value = !0 : o("deselectAllItems"), r.value = D.checked ? a.items.map((B) => B.disabled ? null : B.id) : [];
3900
+ const A = y.target;
3901
+ A.checked ? ve.value = !0 : o("deselectAllItems"), r.value = A.checked ? a.items.map((B) => B.disabled ? null : B.id) : [];
3902
3902
  }, Yt = (y) => {
3903
- const D = a.orderDirection === "asc" ? "desc" : "asc";
3904
- o("orderBy", { value: y, orderDirection: D });
3905
- }, Rt = (y) => {
3906
- typeof y == "object" && y.type === "link" && o("customEmit", { data: y });
3903
+ const A = a.orderDirection === "asc" ? "desc" : "asc";
3904
+ o("orderBy", { value: y, orderDirection: A });
3907
3905
  }, Ht = (y) => {
3906
+ typeof y == "object" && y.type === "link" && o("customEmit", { data: y });
3907
+ }, Rt = (y) => {
3908
3908
  typeof y == "object" && y.type === "tag" && o("customEmit", { data: y });
3909
3909
  }, Ut = (y) => {
3910
3910
  n.value !== y && (n.value = y);
@@ -3921,9 +3921,9 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
3921
3921
  }, Qt = (y) => {
3922
3922
  o("changePageSize", y.value);
3923
3923
  }, Kt = (y) => {
3924
- const D = Number(y.value);
3925
- y.checked ? o("columnsVisibilityChanged", { index: D, hidden: !0 }) : o("columnsVisibilityChanged", { index: D, hidden: !1 });
3926
- }, Xt = (y) => !!(a.hiddenColumns && a.hiddenColumns.includes(y)), el = A(() => a.smartFilterCategories ? a.smartFilterCategories.map((y) => ({
3924
+ const A = Number(y.value);
3925
+ y.checked ? o("columnsVisibilityChanged", { index: A, hidden: !0 }) : o("columnsVisibilityChanged", { index: A, hidden: !1 });
3926
+ }, Xt = (y) => !!(a.hiddenColumns && a.hiddenColumns.includes(y)), el = z(() => a.smartFilterCategories ? a.smartFilterCategories.map((y) => ({
3927
3927
  id: y.id,
3928
3928
  label: y.name,
3929
3929
  // uiSmartFilterMultipleV2 usa 'label' en lugar de 'name'
@@ -3931,11 +3931,11 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
3931
3931
  // Mantenemos name para compatibilidad
3932
3932
  componentType: y.componentType,
3933
3933
  defaultProps: y.defaultProps
3934
- })) : []), tl = A(() => C.value !== null ? { maxHeight: `${C.value}px` } : {}), ll = A(() => C.value !== null ? { maxHeight: `${C.value}px` } : {}), de = () => {
3934
+ })) : []), tl = z(() => C.value !== null ? { maxHeight: `${C.value}px` } : {}), ll = z(() => C.value !== null ? { maxHeight: `${C.value}px` } : {}), de = () => {
3935
3935
  if (!b.value) return;
3936
- const y = b.value.getBoundingClientRect(), D = window.innerHeight - y.top - 40;
3936
+ const y = b.value.getBoundingClientRect(), A = window.innerHeight - y.top - 40;
3937
3937
  let B = 0;
3938
- N.value && (B += 100), G.value && (B += 80), C.value = Math.max(300, D - B);
3938
+ _.value && (B += 100), G.value && (B += 80), C.value = Math.max(300, A - B);
3939
3939
  }, ce = () => {
3940
3940
  c.value && (p.value = c.value.scrollHeight > c.value.clientHeight);
3941
3941
  };
@@ -3949,7 +3949,7 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
3949
3949
  y || pe(() => {
3950
3950
  de(), ce();
3951
3951
  });
3952
- }), Z([N, G], () => {
3952
+ }), Z([_, G], () => {
3953
3953
  pe(() => {
3954
3954
  de(), ce();
3955
3955
  });
@@ -3959,18 +3959,18 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
3959
3959
  const y = () => {
3960
3960
  de(), ce();
3961
3961
  };
3962
- _.value = y, window.addEventListener("resize", y);
3962
+ I.value = y, window.addEventListener("resize", y);
3963
3963
  });
3964
3964
  }), ol(() => {
3965
- _.value && (window.removeEventListener("resize", _.value), _.value = null);
3966
- }), (y, D) => e.loading ? (l(), k($t, { key: 1 })) : (l(), s("div", Zi, [
3965
+ I.value && (window.removeEventListener("resize", I.value), I.value = null);
3966
+ }), (y, A) => e.loading ? (l(), k($t, { key: 1 })) : (l(), s("div", Zi, [
3967
3967
  e.selectAllItemsModal ? (l(), k(Me, {
3968
3968
  key: 0,
3969
3969
  title: e.selectAllItemsModal.title,
3970
3970
  modalName: e.selectAllItemsModal.modalName,
3971
3971
  open: ve.value,
3972
3972
  actions: e.selectAllItemsModal.actions,
3973
- onModalAction: D[0] || (D[0] = (B) => jt(B))
3973
+ onModalAction: A[0] || (A[0] = (B) => jt(B))
3974
3974
  }, {
3975
3975
  default: h(() => [
3976
3976
  j(u(e.selectAllItemsModal.content), 1)
@@ -3981,8 +3981,8 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
3981
3981
  title: "Seleccione las columnas que desea ocultar",
3982
3982
  modalName: "columnsModal",
3983
3983
  open: xe.value,
3984
- onClose: D[1] || (D[1] = (B) => xe.value = !1),
3985
- onModalAction: D[2] || (D[2] = (B) => B.action === "close" ? xe.value = !1 : null)
3984
+ onClose: A[1] || (A[1] = (B) => xe.value = !1),
3985
+ onModalAction: A[2] || (A[2] = (B) => B.action === "close" ? xe.value = !1 : null)
3986
3986
  }, {
3987
3987
  default: h(() => [
3988
3988
  (l(!0), s($, null, S(a.header, (B, X) => (l(), k(re, {
@@ -4001,7 +4001,7 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
4001
4001
  ]),
4002
4002
  _: 1
4003
4003
  }, 8, ["open"]),
4004
- N.value ? (l(), s("div", Wi, [
4004
+ _.value ? (l(), s("div", Wi, [
4005
4005
  w.value ? (l(), s("div", Ji, [
4006
4006
  m(Di, {
4007
4007
  "available-categories": el.value,
@@ -4047,7 +4047,7 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
4047
4047
  t("div", Xi, [
4048
4048
  t("div", er, [
4049
4049
  t("div", tr, [
4050
- H.value && T.value ? (l(), s("div", lr, [
4050
+ R.value && D.value ? (l(), s("div", lr, [
4051
4051
  (l(!0), s($, null, S(e.actions, (B, X) => (l(), s("button", {
4052
4052
  key: X,
4053
4053
  type: "button",
@@ -4068,7 +4068,7 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
4068
4068
  scope: "col",
4069
4069
  class: v(U.value)
4070
4070
  }, [
4071
- T.value ? (l(), s("input", {
4071
+ D.value ? (l(), s("input", {
4072
4072
  key: 0,
4073
4073
  checked: V.value,
4074
4074
  indeterminate: W.value,
@@ -4077,12 +4077,12 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
4077
4077
  onChange: qt
4078
4078
  }, null, 40, or)) : x("", !0)
4079
4079
  ], 2),
4080
- (l(!0), s($, null, S(R.value, (B, X) => (l(), s("th", {
4080
+ (l(!0), s($, null, S(H.value, (B, X) => (l(), s("th", {
4081
4081
  key: X,
4082
4082
  class: "py-3.5 pr-3 text-left font-semibold relative",
4083
4083
  scope: "col",
4084
4084
  onMouseover: (K) => Ut(B.name),
4085
- onMouseleave: D[3] || (D[3] = (K) => Et())
4085
+ onMouseleave: A[3] || (A[3] = (K) => Et())
4086
4086
  }, [
4087
4087
  B.tooltip && zt(B.name) ? (l(), k($i, {
4088
4088
  key: 0,
@@ -4098,9 +4098,9 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
4098
4098
  class: v([Pt(B.value), "ml-2 flex-none rounded group-hover:bg-lime-200 group-hover:text-white"])
4099
4099
  }, [
4100
4100
  m(O, {
4101
- icon: It(B.value),
4101
+ icon: Nt(B.value),
4102
4102
  loading: e.loading,
4103
- color: _t(B.value)
4103
+ color: It(B.value)
4104
4104
  }, null, 8, ["icon", "loading", "color"])
4105
4105
  ], 2)
4106
4106
  ], 8, rr)) : (l(), s("p", dr, [
@@ -4115,12 +4115,12 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
4115
4115
  class: v(Dt(B, X))
4116
4116
  }, [
4117
4117
  t("td", {
4118
- class: v(I.value)
4118
+ class: v(N.value)
4119
4119
  }, [
4120
4120
  Le(B.id) ? (l(), s("div", ur)) : x("", !0),
4121
- T.value ? z((l(), s("input", {
4121
+ D.value ? T((l(), s("input", {
4122
4122
  key: 1,
4123
- "onUpdate:modelValue": D[4] || (D[4] = (K) => r.value = K),
4123
+ "onUpdate:modelValue": A[4] || (A[4] = (K) => r.value = K),
4124
4124
  value: B.id,
4125
4125
  class: v(Lt(B.disabled)),
4126
4126
  type: "checkbox",
@@ -4134,11 +4134,11 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
4134
4134
  class: v(At(B.id))
4135
4135
  }, [
4136
4136
  (l(), k(je(Ft(K)), Ve({ ref_for: !0 }, Ot(K), {
4137
- onClick: (al) => Rt(K),
4138
- onTagEvent: (al) => Ht(K)
4137
+ onClick: (al) => Ht(K),
4138
+ onTagEvent: (al) => Rt(K)
4139
4139
  }), {
4140
4140
  default: h(() => [
4141
- j(u(Nt(K)), 1)
4141
+ j(u(_t(K)), 1)
4142
4142
  ]),
4143
4143
  _: 2
4144
4144
  }, 1040, ["onClick", "onTagEvent"]))
@@ -4171,22 +4171,22 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
4171
4171
  loading: a.loading,
4172
4172
  onChangePage: Gt
4173
4173
  }, {
4174
- previous: h(() => [...D[5] || (D[5] = [
4174
+ previous: h(() => [...A[5] || (A[5] = [
4175
4175
  j("Anterior", -1)
4176
4176
  ])]),
4177
- next: h(() => [...D[6] || (D[6] = [
4177
+ next: h(() => [...A[6] || (A[6] = [
4178
4178
  j("Siguiente", -1)
4179
4179
  ])]),
4180
- showing: h(() => [...D[7] || (D[7] = [
4180
+ showing: h(() => [...A[7] || (A[7] = [
4181
4181
  j("Mostrando", -1)
4182
4182
  ])]),
4183
- of: h(() => [...D[8] || (D[8] = [
4183
+ of: h(() => [...A[8] || (A[8] = [
4184
4184
  j("de", -1)
4185
4185
  ])]),
4186
- pages: h(() => [...D[9] || (D[9] = [
4186
+ pages: h(() => [...A[9] || (A[9] = [
4187
4187
  j("páginas", -1)
4188
4188
  ])]),
4189
- fromTotal: h(() => [...D[10] || (D[10] = [
4189
+ fromTotal: h(() => [...A[10] || (A[10] = [
4190
4190
  j("Elementos totales:", -1)
4191
4191
  ])]),
4192
4192
  _: 1
@@ -4259,20 +4259,20 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
4259
4259
  }, zr = { class: "relative flex space-x-3" }, Tr = { class: "min-w-0 flex-1 pt-1.5 flex justify-between space-x-4 items-center" }, Dr = { class: "text-sm text-gray-500" }, Ar = ["onClick"], Lr = { class: "text-right text-sm whitespace-nowrap text-gray-500" }, Pr = ["datetime"], Fr = {
4260
4260
  key: 1,
4261
4261
  class: "bg-lime-50 px-4 py-4 sm:px-6 z-10"
4262
- }, Or = { class: "text-sm" }, Nr = {
4262
+ }, Or = { class: "text-sm" }, _r = {
4263
4263
  key: 2,
4264
4264
  class: "h-full w-full flex items-center justify-center flex-col px-4 py-5 sm:p-6"
4265
- }, Ir = {
4265
+ }, Nr = {
4266
4266
  key: 1,
4267
4267
  class: "bg-white overflow-hidden shadow rounded-lg"
4268
- }, _r = { class: "px-4 py-5 sm:p-6 animate-pulse" }, Vr = { class: "flow-root" }, qr = {
4268
+ }, Ir = { class: "px-4 py-5 sm:p-6 animate-pulse" }, Vr = { class: "flow-root" }, qr = {
4269
4269
  class: "-mb-8",
4270
4270
  role: "list"
4271
- }, Yr = { class: "relative pb-8" }, Rr = {
4271
+ }, Yr = { class: "relative pb-8" }, Hr = {
4272
4272
  key: 0,
4273
4273
  class: "absolute left-4 top-4 -ml-px h-full w-0.5 bg-gray-200",
4274
4274
  "aria-hidden": "true"
4275
- }, Hr = /* @__PURE__ */ M({
4275
+ }, Rr = /* @__PURE__ */ M({
4276
4276
  __name: "uiTimeline",
4277
4277
  props: {
4278
4278
  name: {},
@@ -4284,18 +4284,18 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
4284
4284
  emits: ["timelineEventClicked", "timelineFooterClicked"],
4285
4285
  setup(e, { emit: g }) {
4286
4286
  const o = he(e.timeline);
4287
- return (a, r) => e.loading ? (l(), s("div", Ir, [
4287
+ return (a, r) => e.loading ? (l(), s("div", Nr, [
4288
4288
  r[3] || (r[3] = t("div", { class: "px-4 py-5 sm:px-6 animate-pulse" }, [
4289
4289
  t("h1", { class: "text-xl font-bold" }, [
4290
4290
  t("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4" })
4291
4291
  ])
4292
4292
  ], -1)),
4293
- t("div", _r, [
4293
+ t("div", Ir, [
4294
4294
  t("div", Vr, [
4295
4295
  t("ul", qr, [
4296
4296
  (l(), s($, null, S(10, (n, d) => t("li", { key: d }, [
4297
4297
  t("div", Yr, [
4298
- n !== 10 ? (l(), s("span", Rr)) : x("", !0),
4298
+ n !== 10 ? (l(), s("span", Hr)) : x("", !0),
4299
4299
  r[2] || (r[2] = se('<div class="relative flex space-x-3"><div><span class="h-8 w-8 rounded-full bg-gray-300 flex items-center justify-center ring-4 ring-white"></span></div><div class="min-w-0 flex-1 pt-1.5 flex justify-between space-x-4 items-center"><div><div class="text-sm text-gray-500 flex-1"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full"></div></div></div><div class="text-right text-sm whitespace-nowrap text-gray-500 flex-1"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4"></div></div></div></div>', 1))
4300
4300
  ])
4301
4301
  ])), 64))
@@ -4374,7 +4374,7 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
4374
4374
  onClick: r[0] || (r[0] = (n) => a.$emit("timelineFooterClicked", e.timeline.id))
4375
4375
  }, u(e.timeline.footerText), 1)
4376
4376
  ])
4377
- ])) : (l(), s("div", Nr, [
4377
+ ])) : (l(), s("div", _r, [
4378
4378
  m(O, {
4379
4379
  icon: f(ee),
4380
4380
  color: "gray",
@@ -4400,7 +4400,7 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
4400
4400
  },
4401
4401
  emits: ["topBarClick"],
4402
4402
  setup(e, { emit: g }) {
4403
- const i = e, o = A(() => i.navigation ? Array.isArray(i.navigation) ? i.navigation : [i.navigation] : []);
4403
+ const i = e, o = z(() => i.navigation ? Array.isArray(i.navigation) ? i.navigation : [i.navigation] : []);
4404
4404
  return (a, r) => (l(), k(f(Te), {
4405
4405
  as: "nav",
4406
4406
  class: "bg-white shadow z-10"
@@ -4445,9 +4445,9 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
4445
4445
  }, {
4446
4446
  default: h(() => [
4447
4447
  t("div", null, [
4448
- z(m(f(Ye), { class: "bg-white rounded-full flex text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 relative" }, {
4448
+ T(m(f(Ye), { class: "bg-white rounded-full flex text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 relative" }, {
4449
4449
  default: h(() => [
4450
- z(t("div", Kr, [...r[2] || (r[2] = [
4450
+ T(t("div", Kr, [...r[2] || (r[2] = [
4451
4451
  t("span", { class: "animate-ping absolute inline-flex h-4 w-4 bg-red-500 rounded-full opacity-75" }, null, -1)
4452
4452
  ])], 512), [
4453
4453
  [L, e.alerted]
@@ -4471,9 +4471,9 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
4471
4471
  "leave-to-class": "transform opacity-0 scale-95"
4472
4472
  }, {
4473
4473
  default: h(() => [
4474
- m(f(Re), { class: "origin-top-right absolute right-0 mt-2 w-48 rounded-md shadow-lg py-1 bg-white ring-1 ring-black ring-opacity-5 focus:outline-none" }, {
4474
+ m(f(He), { class: "origin-top-right absolute right-0 mt-2 w-48 rounded-md shadow-lg py-1 bg-white ring-1 ring-black ring-opacity-5 focus:outline-none" }, {
4475
4475
  default: h(() => [
4476
- (l(!0), s($, null, S(e.profileMenu, (d) => (l(), k(f(He), {
4476
+ (l(!0), s($, null, S(e.profileMenu, (d) => (l(), k(f(Re), {
4477
4477
  key: d.name
4478
4478
  }, {
4479
4479
  default: h(({ active: c }) => [
@@ -4560,7 +4560,7 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
4560
4560
  emits: ["rangeSelected"],
4561
4561
  setup(e, { emit: g }) {
4562
4562
  const i = g, o = e;
4563
- let a = A(() => o.range);
4563
+ let a = z(() => o.range);
4564
4564
  const r = (n) => {
4565
4565
  a = n, i("rangeSelected", n);
4566
4566
  };
@@ -4641,11 +4641,11 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
4641
4641
  }
4642
4642
  }
4643
4643
  };
4644
- const r = A(() => ({ ...o.options, ...a })), n = A(() => o.series), d = () => i("chartUpdated"), c = (b, p, C) => {
4644
+ const r = z(() => ({ ...o.options, ...a })), n = z(() => o.series), d = () => i("chartUpdated"), c = (b, p, C) => {
4645
4645
  i("dataPointSelection", { id: o.id, chartContext: p, config: C, event: b });
4646
4646
  };
4647
4647
  return (b, p) => (l(), s($, null, [
4648
- z(t("div", {
4648
+ T(t("div", {
4649
4649
  class: v(["h-[" + e.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow"])
4650
4650
  }, [
4651
4651
  t("div", hd, [
@@ -4655,7 +4655,7 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
4655
4655
  onRangeSelected: p[0] || (p[0] = (C) => b.$emit("selectedRange", { range: C, chartId: e.id }))
4656
4656
  }, null, 8, ["range"])
4657
4657
  ]),
4658
- z(t("div", bd, [
4658
+ T(t("div", bd, [
4659
4659
  m(Je, {
4660
4660
  type: e.type,
4661
4661
  series: n.value,
@@ -4669,7 +4669,7 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
4669
4669
  ], 512), [
4670
4670
  [L, !e.empty]
4671
4671
  ]),
4672
- z(t("div", vd, [
4672
+ T(t("div", vd, [
4673
4673
  m(O, {
4674
4674
  icon: f(ee),
4675
4675
  color: "gray",
@@ -4683,7 +4683,7 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
4683
4683
  ], 2), [
4684
4684
  [L, !e.loading]
4685
4685
  ]),
4686
- z(t("div", xd, [...p[2] || (p[2] = [
4686
+ T(t("div", xd, [...p[2] || (p[2] = [
4687
4687
  t("div", {
4688
4688
  role: "status",
4689
4689
  class: "w-full animate-pulse h-full flex flex-col"
@@ -4841,11 +4841,11 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
4841
4841
  _: 3
4842
4842
  }, 8, ["show"]));
4843
4843
  }
4844
- }), Nd = { class: "uiGallery" }, Id = {
4844
+ }), _d = { class: "uiGallery" }, Nd = {
4845
4845
  key: 1,
4846
4846
  role: "list",
4847
4847
  class: "grid grid-cols-2 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-4 lg:grid-cols-6"
4848
- }, _d = { class: "group aspect-h-7 aspect-w-10 block w-full overflow-hidden rounded-lg bg-gray-100 focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 focus-within:ring-offset-gray-100" }, Vd = ["src"], qd = ["onClick"], Yd = { class: "pointer-events-none mt-2 block truncate text-sm font-medium text-gray-900" }, Rd = { class: "flex items-center justify-between" }, Hd = { class: "pointer-events-none block text-sm font-medium" }, Ud = {
4848
+ }, Id = { class: "group aspect-h-7 aspect-w-10 block w-full overflow-hidden rounded-lg bg-gray-100 focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 focus-within:ring-offset-gray-100" }, Vd = ["src"], qd = ["onClick"], Yd = { class: "pointer-events-none mt-2 block truncate text-sm font-medium text-gray-900" }, Hd = { class: "flex items-center justify-between" }, Rd = { class: "pointer-events-none block text-sm font-medium" }, Ud = {
4849
4849
  key: 2,
4850
4850
  role: "list",
4851
4851
  class: "grid grid-cols-2 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-4 lg:grid-cols-6"
@@ -4862,7 +4862,7 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
4862
4862
  const i = g, o = P(!1), a = (r) => {
4863
4863
  o.value = !1, i("modalAction", r);
4864
4864
  };
4865
- return (r, n) => (l(), s("div", Nd, [
4865
+ return (r, n) => (l(), s("div", _d, [
4866
4866
  e.loading ? x("", !0) : (l(), k(Me, {
4867
4867
  key: 0,
4868
4868
  open: o.value,
@@ -4883,12 +4883,12 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
4883
4883
  t("p", { class: "animate-pulse h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28 mt-4" }, null, -1),
4884
4884
  t("p", { class: "animate-pulse h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-14 mt-2" }, null, -1)
4885
4885
  ])])), 64))
4886
- ])) : (l(), s("ul", Id, [
4886
+ ])) : (l(), s("ul", Nd, [
4887
4887
  (l(!0), s($, null, S(e.gallery, (d) => (l(), s("li", {
4888
4888
  key: d.source,
4889
4889
  class: "relative"
4890
4890
  }, [
4891
- t("div", _d, [
4891
+ t("div", Id, [
4892
4892
  t("img", {
4893
4893
  src: d.source,
4894
4894
  alt: "",
@@ -4901,11 +4901,11 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
4901
4901
  }, null, 8, qd)
4902
4902
  ]),
4903
4903
  t("p", Yd, u(d.title), 1),
4904
- t("div", Rd, [
4905
- t("p", Hd, u(d.size), 1),
4904
+ t("div", Hd, [
4905
+ t("p", Rd, u(d.size), 1),
4906
4906
  m(O, {
4907
4907
  class: "cursor-pointer",
4908
- icon: f(Ne),
4908
+ icon: f(_e),
4909
4909
  color: "red",
4910
4910
  loading: !1,
4911
4911
  onClick: (c) => r.$emit("deleteImage", d)
@@ -5033,8 +5033,8 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
5033
5033
  setup(e, { emit: g }) {
5034
5034
  const i = g, o = e, a = P((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":")));
5035
5035
  let r = he(o.dates || { from: "", to: a });
5036
- Z(() => o.dates, (H) => {
5037
- H && (r = H);
5036
+ Z(() => o.dates, (R) => {
5037
+ R && (r = R);
5038
5038
  });
5039
5039
  let n = {
5040
5040
  chart: {
@@ -5068,24 +5068,24 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
5068
5068
  }
5069
5069
  }
5070
5070
  };
5071
- const d = () => ({ ...n, ...o.options }), c = A(() => o.series), b = A(() => d()), p = () => i("chartUpdated"), C = (H, T, V) => {
5072
- i("dataPointSelection", { id: o.id, chartContext: T, config: V, event: H });
5073
- }, _ = () => {
5071
+ const d = () => ({ ...n, ...o.options }), c = z(() => o.series), b = z(() => d()), p = () => i("chartUpdated"), C = (R, D, V) => {
5072
+ i("dataPointSelection", { id: o.id, chartContext: D, config: V, event: R });
5073
+ }, I = () => {
5074
5074
  r.from !== "" && r.to !== "" && Y(r.from).isBefore(Y(r.to)) && i("selectedRange", { range: r, chartId: o.id });
5075
5075
  };
5076
- return (H, T) => (l(), s($, null, [
5077
- z(t("div", {
5076
+ return (R, D) => (l(), s($, null, [
5077
+ T(t("div", {
5078
5078
  class: v(["h-[" + e.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow"])
5079
5079
  }, [
5080
5080
  t("div", sc, [
5081
5081
  t("div", ac, u(e.title), 1),
5082
5082
  t("div", nc, [
5083
5083
  t("div", oc, [
5084
- z(t("input", {
5084
+ T(t("input", {
5085
5085
  type: "datetime-local",
5086
- "onUpdate:modelValue": T[0] || (T[0] = (V) => f(r).from = V),
5086
+ "onUpdate:modelValue": D[0] || (D[0] = (V) => f(r).from = V),
5087
5087
  max: a.value.toString(),
5088
- onChange: _,
5088
+ onChange: I,
5089
5089
  name: "from",
5090
5090
  id: "from",
5091
5091
  class: "text-xs relative block w-full rounded rounded-r-none border-0 bg-transparent py-1.5 text-gray-900 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:z-10 focus:ring-2 focus:ring-inset focus:ring-indigo-600"
@@ -5094,11 +5094,11 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
5094
5094
  ])
5095
5095
  ]),
5096
5096
  t("div", rc, [
5097
- z(t("input", {
5097
+ T(t("input", {
5098
5098
  type: "datetime-local",
5099
- "onUpdate:modelValue": T[1] || (T[1] = (V) => f(r).to = V),
5099
+ "onUpdate:modelValue": D[1] || (D[1] = (V) => f(r).to = V),
5100
5100
  max: a.value.toString(),
5101
- onChange: _,
5101
+ onChange: I,
5102
5102
  name: "to",
5103
5103
  id: "to",
5104
5104
  class: "text-xs relative block w-full -mr-2 rounded rounded-l-none border-0 bg-transparent py-1.5 text-gray-900 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:z-10 focus:ring-2 focus:ring-inset focus:ring-indigo-600"
@@ -5111,11 +5111,11 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
5111
5111
  size: "big",
5112
5112
  loading: e.loading,
5113
5113
  icon: f(ht),
5114
- onClick: T[2] || (T[2] = (V) => H.$emit("maximizeChart", e.id))
5114
+ onClick: D[2] || (D[2] = (V) => R.$emit("maximizeChart", e.id))
5115
5115
  }, null, 8, ["loading", "icon"])
5116
5116
  ])
5117
5117
  ]),
5118
- z(t("div", cc, [
5118
+ T(t("div", cc, [
5119
5119
  m(Je, {
5120
5120
  class: "flex items-center justify-center mt-4",
5121
5121
  type: "donut",
@@ -5129,21 +5129,21 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
5129
5129
  ], 512), [
5130
5130
  [L, !e.empty]
5131
5131
  ]),
5132
- z(t("div", uc, [
5132
+ T(t("div", uc, [
5133
5133
  m(O, {
5134
5134
  icon: f(ee),
5135
5135
  color: "gray",
5136
5136
  loading: !1,
5137
5137
  size: "huge"
5138
5138
  }, null, 8, ["icon"]),
5139
- T[3] || (T[3] = t("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1))
5139
+ D[3] || (D[3] = t("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1))
5140
5140
  ], 512), [
5141
5141
  [L, e.empty]
5142
5142
  ])
5143
5143
  ], 2), [
5144
5144
  [L, !e.loading]
5145
5145
  ]),
5146
- z(t("div", gc, [...T[4] || (T[4] = [
5146
+ T(t("div", gc, [...D[4] || (D[4] = [
5147
5147
  t("div", {
5148
5148
  role: "status",
5149
5149
  class: "w-full animate-pulse h-full flex flex-col"
@@ -5392,7 +5392,7 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
5392
5392
  ], 2),
5393
5393
  t("h3", Bc, [
5394
5394
  j(u(e.name) + " ", 1),
5395
- z(t("span", {
5395
+ T(t("span", {
5396
5396
  class: "text-black hover:text-lime-400 underline cursor-pointer",
5397
5397
  onClick: o[0] || (o[0] = (a) => i.$emit("deviceStatusQtyClicked", e.id))
5398
5398
  }, "(" + u(e.qty) + ")", 513), [
@@ -5418,7 +5418,7 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
5418
5418
  ])
5419
5419
  ]));
5420
5420
  }
5421
- }), Fc = { class: "fixed inset-0 flex" }, Oc = { class: "absolute left-full top-0 flex w-16 justify-center pt-5" }, Nc = { class: "hidden lg:fixed lg:inset-y-0 lg:z-50 lg:flex lg:w-[25rem] lg:flex-col" }, Ic = { class: "lg:pl-[25rem]" }, _c = { 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" }, Vc = { class: "flex flex-1 gap-x-4 self-stretch lg:gap-x-6" }, qc = { class: "flex items-center gap-x-4 lg:gap-x-6" }, Yc = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute top-1 left-2" }, Rc = ["src"], Hc = { class: "hidden lg:flex lg:items-center" }, Uc = ["onClick"], Ec = { class: "py-7" }, Zc = { class: "px-7 lg:px-10" }, Wc = /* @__PURE__ */ M({
5421
+ }), Fc = { class: "fixed inset-0 flex" }, Oc = { class: "absolute left-full top-0 flex w-16 justify-center pt-5" }, _c = { class: "hidden lg:fixed lg:inset-y-0 lg:z-50 lg:flex lg:w-[25rem] lg:flex-col" }, Nc = { class: "lg:pl-[25rem]" }, Ic = { 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" }, Vc = { class: "flex flex-1 gap-x-4 self-stretch lg:gap-x-6" }, qc = { class: "flex items-center gap-x-4 lg:gap-x-6" }, Yc = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute top-1 left-2" }, Hc = ["src"], Rc = { class: "hidden lg:flex lg:items-center" }, Uc = ["onClick"], Ec = { class: "py-7" }, Zc = { class: "px-7 lg:px-10" }, Wc = /* @__PURE__ */ M({
5422
5422
  __name: "uiWrapper",
5423
5423
  props: {
5424
5424
  topbar: {},
@@ -5494,7 +5494,7 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
5494
5494
  ]),
5495
5495
  _: 1
5496
5496
  }),
5497
- m(_e, {
5497
+ m(Ie, {
5498
5498
  productsSidebar: e.sidebar.productsSidebar,
5499
5499
  isFilterNavigation: e.sidebar.isFilterNavigation,
5500
5500
  navigation: e.sidebar.navigation,
@@ -5519,8 +5519,8 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
5519
5519
  ]),
5520
5520
  _: 1
5521
5521
  }, 8, ["show"]),
5522
- t("div", Nc, [
5523
- m(_e, {
5522
+ t("div", _c, [
5523
+ m(Ie, {
5524
5524
  productsSidebar: e.sidebar.productsSidebar,
5525
5525
  isFilterNavigation: e.sidebar.isFilterNavigation,
5526
5526
  navigation: e.sidebar.navigation,
@@ -5533,8 +5533,8 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
5533
5533
  onInputChanged: d[7] || (d[7] = (c) => n.$emit("inputChanged", c))
5534
5534
  }, null, 8, ["productsSidebar", "isFilterNavigation", "navigation", "filterNavigation", "logo"])
5535
5535
  ]),
5536
- t("div", Ic, [
5537
- t("div", _c, [
5536
+ t("div", Nc, [
5537
+ t("div", Ic, [
5538
5538
  t("button", {
5539
5539
  type: "button",
5540
5540
  class: "-m-2.5 p-2.5 text-gray-700 lg:hidden",
@@ -5565,7 +5565,7 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
5565
5565
  onClick: d[9] || (d[9] = (c) => o("bellClick"))
5566
5566
  }, [
5567
5567
  d[14] || (d[14] = t("span", { class: "sr-only" }, "View notifications", -1)),
5568
- z(t("div", Yc, [...d[13] || (d[13] = [
5568
+ T(t("div", Yc, [...d[13] || (d[13] = [
5569
5569
  t("span", { class: "animate-ping absolute inline-flex h-4 w-4 bg-red-500 rounded-full opacity-75" }, null, -1)
5570
5570
  ])], 512), [
5571
5571
  [L, e.topbar.alerted]
@@ -5591,8 +5591,8 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
5591
5591
  class: "h-8 w-8 rounded-full bg-gray-50",
5592
5592
  src: e.topbar.accountLogo,
5593
5593
  alt: ""
5594
- }, null, 8, Rc),
5595
- t("span", Hc, [
5594
+ }, null, 8, Hc),
5595
+ t("span", Rc, [
5596
5596
  m(f(ne), {
5597
5597
  class: "ml-2 h-5 w-5 text-gray-400",
5598
5598
  "aria-hidden": "true"
@@ -5610,9 +5610,9 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
5610
5610
  "leave-to-class": "transform opacity-0 scale-95"
5611
5611
  }, {
5612
5612
  default: h(() => [
5613
- m(f(Re), { class: "absolute right-0 z-10 mt-2.5 w-52 origin-top-right rounded-md bg-white py-2 shadow-lg ring-1 ring-gray-900/5 focus:outline-none" }, {
5613
+ m(f(He), { class: "absolute right-0 z-10 mt-2.5 w-52 origin-top-right rounded-md bg-white py-2 shadow-lg ring-1 ring-gray-900/5 focus:outline-none" }, {
5614
5614
  default: h(() => [
5615
- (l(!0), s($, null, S(e.topbar.profileMenu, (c) => (l(), k(f(He), {
5615
+ (l(!0), s($, null, S(e.topbar.profileMenu, (c) => (l(), k(f(Re), {
5616
5616
  key: c.name
5617
5617
  }, {
5618
5618
  default: h(({ active: b }) => [
@@ -5827,7 +5827,7 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
5827
5827
  _: 1
5828
5828
  })
5829
5829
  ]),
5830
- z(t("p", {
5830
+ T(t("p", {
5831
5831
  class: v([{
5832
5832
  "text-gray-400": e.color === "gray",
5833
5833
  "text-red-600": e.color === "red",
@@ -5854,11 +5854,11 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
5854
5854
  },
5855
5855
  emits: ["compareButtonClicked", "filesUploaded", "checkboxChanged", "generateNewFile"],
5856
5856
  setup(e, { emit: g }) {
5857
- const i = e, o = g, a = A(() => i.toCompare && Object.keys(i.toCompare).length > 0 && i.toCompare.constructor === Object), r = A(() => a.value ? Object.entries(i.toCompare).map(([b, p]) => ({
5857
+ const i = e, o = g, a = z(() => i.toCompare && Object.keys(i.toCompare).length > 0 && i.toCompare.constructor === Object), r = z(() => a.value ? Object.entries(i.toCompare).map(([b, p]) => ({
5858
5858
  name: b,
5859
5859
  commands: p
5860
- })) : []), n = (b, p, C, _) => {
5861
- o("checkboxChanged", b, p, C, _);
5860
+ })) : []), n = (b, p, C, I) => {
5861
+ o("checkboxChanged", b, p, C, I);
5862
5862
  }, d = () => {
5863
5863
  o("compareButtonClicked");
5864
5864
  }, c = () => {
@@ -5867,7 +5867,7 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
5867
5867
  return (b, p) => (l(), s("div", nu, [
5868
5868
  t("div", ou, [
5869
5869
  t("div", iu, [
5870
- m(Ie, {
5870
+ m(Ne, {
5871
5871
  name: "file1",
5872
5872
  id: "file1",
5873
5873
  placeholder: e.literals.inputFile1Placeholder,
@@ -5878,7 +5878,7 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
5878
5878
  icon: f(Xe),
5879
5879
  onFilesUploaded: p[0] || (p[0] = (C) => o("filesUploaded", C))
5880
5880
  }, null, 8, ["placeholder", "dragAndDrop", "fileTypesAndSizes", "icon"]),
5881
- m(Ie, {
5881
+ m(Ne, {
5882
5882
  name: "file2",
5883
5883
  id: "file2",
5884
5884
  placeholder: e.literals.inputFile2Placeholder,
@@ -5922,14 +5922,14 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
5922
5922
  class: "p-6 bg-gray-50 border border-gray-300 rounded-lg shadow-sm"
5923
5923
  }, [
5924
5924
  m(f(Te), null, {
5925
- default: h(({ open: _ }) => [
5925
+ default: h(({ open: I }) => [
5926
5926
  m(f(le), { class: "flex items-center justify-between w-full" }, {
5927
5927
  default: h(() => [
5928
5928
  t("h2", cu, u(C.name), 1),
5929
5929
  m(O, {
5930
5930
  icon: f(ne),
5931
5931
  loading: !1,
5932
- class: v(["cursor-pointer transition-transform duration-300 ease-in-out", { "rotate-180 transform": _ }])
5932
+ class: v(["cursor-pointer transition-transform duration-300 ease-in-out", { "rotate-180 transform": I }])
5933
5933
  }, null, 8, ["icon", "class"])
5934
5934
  ]),
5935
5935
  _: 2
@@ -5940,16 +5940,16 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
5940
5940
  t("div", gu, [
5941
5941
  t("p", mu, u(e.literals.file1Content), 1),
5942
5942
  t("div", fu, [
5943
- (l(!0), s($, null, S(C.commands[0]?.entries || [], (H, T) => (l(), k(re, {
5944
- key: `file1_${C.name}_${T}`,
5945
- name: `file1_${C.name}_${T}`,
5946
- id: `file1_${C.name}_${T}`,
5943
+ (l(!0), s($, null, S(C.commands[0]?.entries || [], (R, D) => (l(), k(re, {
5944
+ key: `file1_${C.name}_${D}`,
5945
+ name: `file1_${C.name}_${D}`,
5946
+ id: `file1_${C.name}_${D}`,
5947
5947
  loading: !1,
5948
- value: `file1_${C.name}_${T}`,
5949
- onCheckboxChanged: (V) => n(C.name, "1", T, V.checked)
5948
+ value: `file1_${C.name}_${D}`,
5949
+ onCheckboxChanged: (V) => n(C.name, "1", D, V.checked)
5950
5950
  }, {
5951
5951
  default: h(() => [
5952
- j(u(H), 1)
5952
+ j(u(R), 1)
5953
5953
  ]),
5954
5954
  _: 2
5955
5955
  }, 1032, ["name", "id", "value", "onCheckboxChanged"]))), 128))
@@ -5958,16 +5958,16 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
5958
5958
  t("div", hu, [
5959
5959
  t("p", yu, u(e.literals.file2Content), 1),
5960
5960
  t("div", bu, [
5961
- (l(!0), s($, null, S(C.commands[1]?.entries || [], (H, T) => (l(), k(re, {
5962
- key: `file2_${C.name}_${T}`,
5963
- name: `file2_${C.name}_${T}`,
5964
- id: `file2_${C.name}_${T}`,
5961
+ (l(!0), s($, null, S(C.commands[1]?.entries || [], (R, D) => (l(), k(re, {
5962
+ key: `file2_${C.name}_${D}`,
5963
+ name: `file2_${C.name}_${D}`,
5964
+ id: `file2_${C.name}_${D}`,
5965
5965
  loading: !1,
5966
- value: `file2_${C.name}_${T}`,
5967
- onCheckboxChanged: (V) => n(C.name, "2", T, V.checked)
5966
+ value: `file2_${C.name}_${D}`,
5967
+ onCheckboxChanged: (V) => n(C.name, "2", D, V.checked)
5968
5968
  }, {
5969
5969
  default: h(() => [
5970
- j(u(H), 1)
5970
+ j(u(R), 1)
5971
5971
  ]),
5972
5972
  _: 2
5973
5973
  }, 1032, ["name", "id", "value", "onCheckboxChanged"]))), 128))
@@ -6017,14 +6017,14 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
6017
6017
  key: 0,
6018
6018
  class: "absolute left-4 top-4 -ml-px mt-0.5 h-full w-0.5 bg-gray-300",
6019
6019
  "aria-hidden": "true"
6020
- }, Fu = ["onClick"], Ou = { class: "ml-4 flex min-w-0 flex-col text-left" }, Nu = { class: "text-sm font-medium text-left" }, Iu = { class: "text-sm text-left" }, _u = /* @__PURE__ */ M({
6020
+ }, Fu = ["onClick"], Ou = { class: "ml-4 flex min-w-0 flex-col text-left" }, _u = { class: "text-sm font-medium text-left" }, Nu = { class: "text-sm text-left" }, Iu = /* @__PURE__ */ M({
6021
6021
  __name: "uiSteps",
6022
6022
  props: {
6023
6023
  steps: {}
6024
6024
  },
6025
6025
  emits: ["stepCompleted", "stepCurrent", "stepUpcoming", "stepClick"],
6026
6026
  setup(e, { emit: g }) {
6027
- const i = e, o = g, a = A(() => i.steps.map((n) => ({
6027
+ const i = e, o = g, a = z(() => i.steps.map((n) => ({
6028
6028
  ...n,
6029
6029
  // Solo mantener el status si es "complete" o "current", de lo contrario usar "upcoming"
6030
6030
  status: n.status === "complete" || n.status === "current" ? n.status : "upcoming"
@@ -6099,8 +6099,8 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
6099
6099
  ])
6100
6100
  ], -1)),
6101
6101
  t("span", Ou, [
6102
- t("span", Nu, u(c.name), 1),
6103
- t("span", Iu, u(c.description), 1)
6102
+ t("span", _u, u(c.name), 1),
6103
+ t("span", Nu, u(c.description), 1)
6104
6104
  ])
6105
6105
  ], 8, Fu)
6106
6106
  ], 64))
@@ -6108,8 +6108,47 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
6108
6108
  ])
6109
6109
  ]));
6110
6110
  }
6111
+ }), Vu = { class: "grid min-h-full place-items-center bg-white px-6 py-24 sm:py-32 lg:px-8" }, qu = { class: "text-center" }, Yu = { class: "mt-4 text-balance text-5xl font-semibold tracking-tight text-gray-900 sm:text-7xl" }, Hu = { class: "mt-6 text-pretty text-lg font-medium text-gray-500 sm:text-xl/8" }, Ru = { class: "mt-10 flex items-center justify-center gap-x-6" }, Uu = ["href"], Eu = /* @__PURE__ */ M({
6112
+ __name: "ui404",
6113
+ props: {
6114
+ lang: { default: "esp" },
6115
+ supportLink: { default: "https://www.hotelinking.com/soporte-24-7/" }
6116
+ },
6117
+ setup(e) {
6118
+ const g = e, i = {
6119
+ esp: {
6120
+ title: "Página no encontrada",
6121
+ description: "Lo sentimos, no pudimos encontrar la página que estás buscando.",
6122
+ goBackHome: "Volver al inicio",
6123
+ contactSupport: "Contactar soporte"
6124
+ },
6125
+ eng: {
6126
+ title: "Page not found",
6127
+ description: "Sorry, we couldn't find the page you're looking for.",
6128
+ goBackHome: "Go back home",
6129
+ contactSupport: "Contact support"
6130
+ }
6131
+ }, o = z(() => i[g.lang]);
6132
+ return (a, r) => (l(), s("main", Vu, [
6133
+ t("div", qu, [
6134
+ r[1] || (r[1] = t("p", { class: "text-base font-semibold text-lime-400" }, "404", -1)),
6135
+ t("h1", Yu, u(o.value.title), 1),
6136
+ t("p", Hu, u(o.value.description), 1),
6137
+ t("div", Ru, [
6138
+ t("a", {
6139
+ href: e.supportLink,
6140
+ class: "text-sm font-semibold text-gray-900"
6141
+ }, [
6142
+ j(u(o.value.contactSupport) + " ", 1),
6143
+ r[0] || (r[0] = t("span", { "aria-hidden": "true" }, "→", -1))
6144
+ ], 8, Uu)
6145
+ ])
6146
+ ])
6147
+ ]));
6148
+ }
6111
6149
  }), nt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6112
6150
  __proto__: null,
6151
+ ui404: Eu,
6113
6152
  uiAlert: sa,
6114
6153
  uiBreadcrumbs: kt,
6115
6154
  uiButton: J,
@@ -6129,7 +6168,7 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
6129
6168
  uiGallery: Ed,
6130
6169
  uiIcon: O,
6131
6170
  uiInput: ae,
6132
- uiInputFile: Ie,
6171
+ uiInputFile: Ne,
6133
6172
  uiLoadingScreen: ko,
6134
6173
  uiModal: Me,
6135
6174
  uiNoResults: St,
@@ -6142,50 +6181,51 @@ const wo = /* @__PURE__ */ be(vo, [["render", po]]), ko = /* @__PURE__ */ M({
6142
6181
  uiSelectMultiple: au,
6143
6182
  uiSelect_v2: ue,
6144
6183
  uiSidebar: Fo,
6145
- uiSidebarV2: _e,
6184
+ uiSidebarV2: Ie,
6146
6185
  uiStats: Ct,
6147
- uiSteps: _u,
6186
+ uiSteps: Iu,
6148
6187
  uiStripedCard: pi,
6149
6188
  uiTable: hr,
6150
6189
  uiTabs: kr,
6151
6190
  uiTag: Q,
6152
6191
  uiTaskList: Va,
6153
6192
  uiTextArea: Bs,
6154
- uiTimeline: Hr,
6193
+ uiTimeline: Rr,
6155
6194
  uiToggle: Ts,
6156
6195
  uiTopbar: gd,
6157
6196
  uiViewHeader: Ws,
6158
6197
  uiWrapper: Wc
6159
- }, Symbol.toStringTag, { value: "Module" })), Vu = [
6198
+ }, Symbol.toStringTag, { value: "Module" })), Zu = [
6160
6199
  "primary",
6161
6200
  "secondary",
6162
6201
  "light",
6163
6202
  "green",
6164
6203
  "yellow",
6165
6204
  "red"
6166
- ], Ju = [
6205
+ ], l0 = [
6167
6206
  "text",
6168
6207
  "email",
6169
6208
  "password",
6170
6209
  "number",
6171
6210
  "date",
6172
6211
  "datetime-local"
6173
- ], qu = ["black", "gray", "white"], Gu = [...Vu, ...qu], Yu = ["small", "medium", "big"], Ru = ["bigger", "huge", "massive"], Qu = [...Yu, ...Ru], Ku = ["default", "success", "warning", "danger"];
6174
- function Hu(e) {
6212
+ ], Wu = ["black", "gray", "white"], s0 = [...Zu, ...Wu], Ju = ["small", "medium", "big"], Gu = ["bigger", "huge", "massive"], a0 = [...Ju, ...Gu], n0 = ["default", "success", "warning", "danger"];
6213
+ function Qu(e) {
6175
6214
  for (const g in nt)
6176
6215
  e.component(g, nt[g]);
6177
6216
  }
6178
- const Xu = { install: Hu };
6217
+ const o0 = { install: Qu };
6179
6218
  export {
6180
- Gu as AllColors,
6181
- Qu as AllSizes,
6182
- Ru as BiggerSizes,
6183
- Vu as Colors,
6184
- qu as MonoColors,
6185
- Yu as Sizes,
6186
- Ku as Types,
6187
- Ju as UiInputTypes,
6188
- Xu as default,
6219
+ s0 as AllColors,
6220
+ a0 as AllSizes,
6221
+ Gu as BiggerSizes,
6222
+ Zu as Colors,
6223
+ Wu as MonoColors,
6224
+ Ju as Sizes,
6225
+ n0 as Types,
6226
+ l0 as UiInputTypes,
6227
+ o0 as default,
6228
+ Eu as ui404,
6189
6229
  sa as uiAlert,
6190
6230
  kt as uiBreadcrumbs,
6191
6231
  J as uiButton,
@@ -6205,7 +6245,7 @@ export {
6205
6245
  Ed as uiGallery,
6206
6246
  O as uiIcon,
6207
6247
  ae as uiInput,
6208
- Ie as uiInputFile,
6248
+ Ne as uiInputFile,
6209
6249
  ko as uiLoadingScreen,
6210
6250
  Me as uiModal,
6211
6251
  St as uiNoResults,
@@ -6218,16 +6258,16 @@ export {
6218
6258
  au as uiSelectMultiple,
6219
6259
  ue as uiSelect_v2,
6220
6260
  Fo as uiSidebar,
6221
- _e as uiSidebarV2,
6261
+ Ie as uiSidebarV2,
6222
6262
  Ct as uiStats,
6223
- _u as uiSteps,
6263
+ Iu as uiSteps,
6224
6264
  pi as uiStripedCard,
6225
6265
  hr as uiTable,
6226
6266
  kr as uiTabs,
6227
6267
  Q as uiTag,
6228
6268
  Va as uiTaskList,
6229
6269
  Bs as uiTextArea,
6230
- Hr as uiTimeline,
6270
+ Rr as uiTimeline,
6231
6271
  Ts as uiToggle,
6232
6272
  gd as uiTopbar,
6233
6273
  Ws as uiViewHeader,