@hotelinking/ui 14.47.13 → 14.47.15

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.
Files changed (3) hide show
  1. package/dist/ui.cjs +1 -1
  2. package/dist/ui.es.js +449 -449
  3. package/package.json +1 -1
package/dist/ui.es.js CHANGED
@@ -1,10 +1,10 @@
1
- import { defineComponent as M, createBlock as k, createElementBlock as n, openBlock as l, resolveDynamicComponent as Re, normalizeClass as y, computed as Y, createCommentVNode as b, renderSlot as E, createElementVNode as e, ref as N, watch as H, unref as c, withCtx as f, createVNode as m, toDisplayString as g, createTextVNode as z, Transition as re, Fragment as $, renderList as S, withDirectives as B, vModelDynamic as ct, vShow as D, withModifiers as ye, vModelText as se, createStaticVNode as te, resolveComponent as Fe, vModelCheckbox as Ee, reactive as ae, isRef as xe, TransitionGroup as gt, onMounted as mt, shallowRef as pt, mergeProps as ve } from "vue";
2
- import { Menu as _e, MenuButton as $e, MenuItems as Ce, MenuItem as Se, Combobox as Ue, ComboboxLabel as He, ComboboxInput as Ze, ComboboxButton as Je, ComboboxOptions as We, ComboboxOption as Ge, SwitchGroup as ft, Switch as ht, SwitchLabel as yt, TransitionRoot as Be, Dialog as Me, TransitionChild as X, DialogPanel as je, DialogTitle as Qe, Disclosure as De, DisclosureButton as Q, DisclosurePanel as Te, Listbox as vt, ListboxLabel as bt, ListboxButton as wt, ListboxOptions as kt, ListboxOption as xt, Popover as _t, PopoverButton as $t, PopoverPanel as Ct } from "@headlessui/vue";
1
+ import { defineComponent as M, createBlock as x, createElementBlock as n, openBlock as l, resolveDynamicComponent as Ee, normalizeClass as y, computed as Y, createCommentVNode as b, renderSlot as E, createElementVNode as e, ref as A, watch as H, unref as c, withCtx as f, createVNode as m, toDisplayString as g, createTextVNode as z, Transition as ae, Fragment as $, renderList as S, withDirectives as B, vModelDynamic as ct, vShow as D, withModifiers as ve, vModelText as oe, createStaticVNode as le, resolveComponent as Oe, vModelCheckbox as Ue, reactive as ne, isRef as _e, TransitionGroup as gt, onMounted as mt, shallowRef as pt, mergeProps as be } from "vue";
2
+ import { Menu as $e, MenuButton as Ce, MenuItems as Se, MenuItem as Be, Combobox as He, ComboboxLabel as Ze, ComboboxInput as Je, ComboboxButton as We, ComboboxOptions as Ge, ComboboxOption as Qe, SwitchGroup as ft, Switch as ht, SwitchLabel as yt, TransitionRoot as Me, Dialog as je, TransitionChild as ee, DialogPanel as De, DialogTitle as Ke, Disclosure as Te, DisclosureButton as Q, DisclosurePanel as ze, Listbox as vt, ListboxLabel as bt, ListboxButton as wt, ListboxOptions as kt, ListboxOption as xt, Popover as _t, PopoverButton as $t, PopoverPanel as Ct } from "@headlessui/vue";
3
3
  import V from "dayjs";
4
- import ze from "vue3-apexcharts";
4
+ import Le from "vue3-apexcharts";
5
5
  import St from "vue3-draggable";
6
6
  import Bt from "@vueform/slider";
7
- const O = /* @__PURE__ */ M({
7
+ const F = /* @__PURE__ */ M({
8
8
  __name: "uiIcon",
9
9
  props: {
10
10
  icon: {},
@@ -22,7 +22,7 @@ const O = /* @__PURE__ */ M({
22
22
  "h-12 w-12": u.size === "huge",
23
23
  "h-20 w-20": u.size === "massive"
24
24
  }, "animate-pulse rounded-full bg-gray-200 dark:bg-gray-300"])
25
- }, null, 2)) : (l(), k(Re(u.icon), {
25
+ }, null, 2)) : (l(), x(Ee(u.icon), {
26
26
  key: 0,
27
27
  class: y({
28
28
  "h-4 w-4": u.size === "medium",
@@ -72,7 +72,7 @@ const O = /* @__PURE__ */ M({
72
72
  class: y(o.value),
73
73
  type: "button"
74
74
  }, [
75
- t.icon ? (l(), k(O, {
75
+ t.icon ? (l(), x(F, {
76
76
  key: 0,
77
77
  icon: t.icon,
78
78
  color: "white",
@@ -86,7 +86,7 @@ const O = /* @__PURE__ */ M({
86
86
  class: y(s.value),
87
87
  type: "button"
88
88
  }, [
89
- t.icon ? (l(), k(O, {
89
+ t.icon ? (l(), x(F, {
90
90
  key: 0,
91
91
  icon: t.icon,
92
92
  class: "-ml-0.5 mr-2",
@@ -102,7 +102,7 @@ const O = /* @__PURE__ */ M({
102
102
  }, Tt = { class: "flex items-center h-5" }, zt = ["checked", "value", "disabled"], Lt = { class: "ml-3 text-sm" }, Ft = { class: "text-black" }, Ot = {
103
103
  key: 1,
104
104
  class: "flex items-center animate-pulse"
105
- }, Ke = /* @__PURE__ */ M({
105
+ }, Xe = /* @__PURE__ */ M({
106
106
  __name: "uiCheckbox",
107
107
  props: {
108
108
  check: { type: Boolean, default: !1 },
@@ -113,7 +113,7 @@ const O = /* @__PURE__ */ M({
113
113
  },
114
114
  emits: ["checkboxChanged"],
115
115
  setup(p, { emit: u }) {
116
- const r = u, i = p, s = N(i.check), o = () => {
116
+ const r = u, i = p, s = A(i.check), o = () => {
117
117
  i.disabled || (s.value = !s.value, r("checkboxChanged", { checked: s.value, value: i.value }));
118
118
  };
119
119
  return H(() => i.check, (t) => {
@@ -208,7 +208,7 @@ function Pt(p, u) {
208
208
  })
209
209
  ]);
210
210
  }
211
- function Xe(p, u) {
211
+ function et(p, u) {
212
212
  return l(), n("svg", {
213
213
  xmlns: "http://www.w3.org/2000/svg",
214
214
  fill: "none",
@@ -225,7 +225,7 @@ function Xe(p, u) {
225
225
  })
226
226
  ]);
227
227
  }
228
- function et(p, u) {
228
+ function tt(p, u) {
229
229
  return l(), n("svg", {
230
230
  xmlns: "http://www.w3.org/2000/svg",
231
231
  fill: "none",
@@ -276,7 +276,7 @@ function Yt(p, u) {
276
276
  })
277
277
  ]);
278
278
  }
279
- function tt(p, u) {
279
+ function lt(p, u) {
280
280
  return l(), n("svg", {
281
281
  xmlns: "http://www.w3.org/2000/svg",
282
282
  fill: "none",
@@ -293,7 +293,7 @@ function tt(p, u) {
293
293
  })
294
294
  ]);
295
295
  }
296
- function Le(p, u) {
296
+ function Fe(p, u) {
297
297
  return l(), n("svg", {
298
298
  xmlns: "http://www.w3.org/2000/svg",
299
299
  fill: "none",
@@ -310,7 +310,7 @@ function Le(p, u) {
310
310
  })
311
311
  ]);
312
312
  }
313
- function oe(p, u) {
313
+ function re(p, u) {
314
314
  return l(), n("svg", {
315
315
  xmlns: "http://www.w3.org/2000/svg",
316
316
  fill: "none",
@@ -327,7 +327,7 @@ function oe(p, u) {
327
327
  })
328
328
  ]);
329
329
  }
330
- function lt(p, u) {
330
+ function st(p, u) {
331
331
  return l(), n("svg", {
332
332
  xmlns: "http://www.w3.org/2000/svg",
333
333
  fill: "none",
@@ -344,7 +344,7 @@ function lt(p, u) {
344
344
  })
345
345
  ]);
346
346
  }
347
- function ne(p, u) {
347
+ function ie(p, u) {
348
348
  return l(), n("svg", {
349
349
  xmlns: "http://www.w3.org/2000/svg",
350
350
  fill: "none",
@@ -361,7 +361,7 @@ function ne(p, u) {
361
361
  })
362
362
  ]);
363
363
  }
364
- function be(p, u) {
364
+ function we(p, u) {
365
365
  return l(), n("svg", {
366
366
  xmlns: "http://www.w3.org/2000/svg",
367
367
  fill: "none",
@@ -378,7 +378,7 @@ function be(p, u) {
378
378
  })
379
379
  ]);
380
380
  }
381
- function st(p, u) {
381
+ function ot(p, u) {
382
382
  return l(), n("svg", {
383
383
  xmlns: "http://www.w3.org/2000/svg",
384
384
  fill: "none",
@@ -497,7 +497,7 @@ function Ht(p, u) {
497
497
  })
498
498
  ]);
499
499
  }
500
- function ot(p, u) {
500
+ function rt(p, u) {
501
501
  return l(), n("svg", {
502
502
  xmlns: "http://www.w3.org/2000/svg",
503
503
  fill: "none",
@@ -514,7 +514,7 @@ function ot(p, u) {
514
514
  })
515
515
  ]);
516
516
  }
517
- function Oe(p, u) {
517
+ function Ae(p, u) {
518
518
  return l(), n("svg", {
519
519
  xmlns: "http://www.w3.org/2000/svg",
520
520
  fill: "none",
@@ -548,7 +548,7 @@ function Zt(p, u) {
548
548
  })
549
549
  ]);
550
550
  }
551
- function pe(p, u) {
551
+ function fe(p, u) {
552
552
  return l(), n("svg", {
553
553
  xmlns: "http://www.w3.org/2000/svg",
554
554
  fill: "none",
@@ -565,7 +565,7 @@ function pe(p, u) {
565
565
  })
566
566
  ]);
567
567
  }
568
- function fe(p, u) {
568
+ function he(p, u) {
569
569
  return l(), n("svg", {
570
570
  xmlns: "http://www.w3.org/2000/svg",
571
571
  fill: "none",
@@ -609,7 +609,7 @@ const Jt = {
609
609
  }, Gt = { class: "-py-1" }, Qt = ["onClick"], Kt = {
610
610
  key: 1,
611
611
  class: "animate-pulse px-4 py-2 bg-gray-200 rounded-md inline-flex items-center relative text-left h-10"
612
- }, he = /* @__PURE__ */ M({
612
+ }, ye = /* @__PURE__ */ M({
613
613
  __name: "uiDropdown",
614
614
  props: {
615
615
  items: {},
@@ -630,11 +630,11 @@ const Jt = {
630
630
  };
631
631
  return (t, a) => t.loading ? (l(), n("div", Kt, [
632
632
  a[0] || (a[0] = e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28" }, null, -1)),
633
- m(c(oe), {
633
+ m(c(re), {
634
634
  "aria-hidden": "true",
635
635
  class: "-mr-1 ml-2 h-5 w-5 text-gray-200 dark:text-gray-300"
636
636
  })
637
- ])) : (l(), k(c(_e), {
637
+ ])) : (l(), x(c($e), {
638
638
  key: 0,
639
639
  as: "div",
640
640
  class: y(["relative text-left", { "opacity-25": t.disabled }])
@@ -647,15 +647,15 @@ const Jt = {
647
647
  t.label ? (l(), n("label", Jt, g(t.label), 1)) : b("", !0),
648
648
  t.requiredText ? (l(), n("span", Wt, g(t.requiredText), 1)) : b("", !0)
649
649
  ], 2),
650
- m(c($e), { class: "text-black inline-flex justify-between w-full rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-sm font-medium hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-black" }, {
650
+ m(c(Ce), { class: "text-black inline-flex justify-between w-full rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-sm font-medium hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-black" }, {
651
651
  default: f(() => [
652
652
  z(g(s.value) + " ", 1),
653
- t.verticalPosition === "bottom" ? (l(), k(c(oe), {
653
+ t.verticalPosition === "bottom" ? (l(), x(c(re), {
654
654
  key: 0,
655
655
  "aria-hidden": "true",
656
656
  class: "-mr-1 ml-2 h-5 w-5"
657
657
  })) : b("", !0),
658
- t.verticalPosition === "top" ? (l(), k(c(st), {
658
+ t.verticalPosition === "top" ? (l(), x(c(ot), {
659
659
  key: 1,
660
660
  "aria-hidden": "true",
661
661
  class: "-mr-1 ml-2 h-5 w-5"
@@ -664,7 +664,7 @@ const Jt = {
664
664
  _: 1
665
665
  })
666
666
  ]),
667
- m(re, {
667
+ m(ae, {
668
668
  "enter-active-class": "transition ease-out duration-100",
669
669
  "enter-from-class": "transform opacity-0 scale-95",
670
670
  "enter-to-class": "transform opacity-100 scale-100",
@@ -673,7 +673,7 @@ const Jt = {
673
673
  "leave-to-class": "transform opacity-0 scale-95"
674
674
  }, {
675
675
  default: f(() => [
676
- t.disabled ? b("", !0) : (l(), k(c(Ce), {
676
+ t.disabled ? b("", !0) : (l(), x(c(Se), {
677
677
  key: 0,
678
678
  class: y([{
679
679
  "right-0": t.position === "right",
@@ -684,7 +684,7 @@ const Jt = {
684
684
  }, {
685
685
  default: f(() => [
686
686
  e("div", Gt, [
687
- (l(!0), n($, null, S(t.items, (d, h) => (l(), k(c(Se), { key: h }, {
687
+ (l(!0), n($, null, S(t.items, (d, h) => (l(), x(c(Be), { key: h }, {
688
688
  default: f(() => [
689
689
  e("a", {
690
690
  onClick: (v) => o(d),
@@ -741,7 +741,7 @@ const Jt = {
741
741
  },
742
742
  emits: ["inputChanged", "rightAddOnClicked", "addOnClicked"],
743
743
  setup(p, { emit: u }) {
744
- const r = u, i = p, s = N(i.value);
744
+ const r = u, i = p, s = A(i.value);
745
745
  H(() => i.value, (t) => {
746
746
  s.value = t, s.value && r("inputChanged", { name: i.name, value: s.value });
747
747
  });
@@ -799,27 +799,27 @@ const Jt = {
799
799
  class: "inline-flex items-center px-3 rounded-r-md border border-l-0 border-black bg-black hover:bg-lime-400 hover:text-black text-white sm:text-sm cursor-pointer"
800
800
  }, g(t.rightAddOn), 1)) : b("", !0),
801
801
  e("div", ol, [
802
- t.icon ? (l(), k(O, {
802
+ t.icon ? (l(), x(F, {
803
803
  key: 0,
804
804
  icon: t.icon,
805
805
  color: t.color,
806
806
  loading: t.loading
807
807
  }, null, 8, ["icon", "color", "loading"])) : b("", !0),
808
- B(m(O, {
809
- icon: c(Le),
808
+ B(m(F, {
809
+ icon: c(Fe),
810
810
  color: "green",
811
811
  loading: t.loading
812
812
  }, null, 8, ["icon", "loading"]), [
813
813
  [D, t.color === "green"]
814
814
  ]),
815
- B(m(O, {
815
+ B(m(F, {
816
816
  icon: c(W),
817
817
  color: "yellow",
818
818
  loading: t.loading
819
819
  }, null, 8, ["icon", "loading"]), [
820
820
  [D, t.color === "yellow"]
821
821
  ]),
822
- B(m(O, {
822
+ B(m(F, {
823
823
  icon: c(K),
824
824
  color: "red",
825
825
  loading: t.loading
@@ -866,7 +866,7 @@ const Jt = {
866
866
  },
867
867
  emits: ["filesUploaded"],
868
868
  setup(p, { emit: u }) {
869
- let r = N("");
869
+ let r = A("");
870
870
  const i = u, s = p, o = (d) => {
871
871
  a(d.dataTransfer.files), i("filesUploaded", { id: s.id, files: d.dataTransfer.files });
872
872
  }, t = (d) => {
@@ -898,12 +898,12 @@ const Jt = {
898
898
  ],
899
899
  "dropArea flex justify-center rounded-md border-2 border-dashed px-6 pt-5 pb-6"
900
900
  ]),
901
- onDragover: h[0] || (h[0] = ye(() => {
901
+ onDragover: h[0] || (h[0] = ve(() => {
902
902
  }, ["prevent"])),
903
- onDrop: ye(o, ["prevent"])
903
+ onDrop: ve(o, ["prevent"])
904
904
  }, [
905
905
  e("div", cl, [
906
- m(O, {
906
+ m(F, {
907
907
  icon: d.icon,
908
908
  size: "massive",
909
909
  color: "black",
@@ -936,8 +936,8 @@ const Jt = {
936
936
  ])
937
937
  ], 34),
938
938
  B(e("p", yl, [
939
- m(O, {
940
- icon: c(fe),
939
+ m(F, {
940
+ icon: c(he),
941
941
  color: "red",
942
942
  class: "mr-2",
943
943
  loading: d.loading
@@ -970,7 +970,7 @@ const Jt = {
970
970
  },
971
971
  emits: ["selectChanged"],
972
972
  setup(p, { expose: u, emit: r }) {
973
- const i = N(""), s = r, o = p, t = Y(() => i.value === "" ? o.items : o.items.filter((v) => v.name.toLowerCase().includes(i.value.toLowerCase()))), a = (v) => v?.name ?? "", d = (v) => {
973
+ const i = A(""), s = r, o = p, t = Y(() => i.value === "" ? o.items : o.items.filter((v) => v.name.toLowerCase().includes(i.value.toLowerCase()))), a = (v) => v?.name ?? "", d = (v) => {
974
974
  s("selectChanged", v);
975
975
  }, h = Y({
976
976
  get: () => o.select,
@@ -982,11 +982,11 @@ const Jt = {
982
982
  handleChange: d
983
983
  }), (v, j) => v.loading ? (l(), n("div", _l, [
984
984
  j[3] || (j[3] = e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, null, -1)),
985
- m(c(be), {
985
+ m(c(we), {
986
986
  "aria-hidden": "true",
987
987
  class: "-mr-1 ml-2 h-5 w-5 text-gray-300 dark:text-gray-400"
988
988
  })
989
- ])) : (l(), k(c(Ue), {
989
+ ])) : (l(), x(c(He), {
990
990
  key: 0,
991
991
  modelValue: h.value,
992
992
  "onUpdate:modelValue": [
@@ -998,7 +998,7 @@ const Jt = {
998
998
  }, {
999
999
  default: f(() => [
1000
1000
  e("div", wl, [
1001
- m(c(He), { class: "block text-sm font-medium" }, {
1001
+ m(c(Ze), { class: "block text-sm font-medium" }, {
1002
1002
  default: f(() => [
1003
1003
  z(g(v.label), 1)
1004
1004
  ]),
@@ -1007,7 +1007,7 @@ const Jt = {
1007
1007
  v.requiredText ? (l(), n("span", kl, g(v.requiredText), 1)) : b("", !0)
1008
1008
  ]),
1009
1009
  e("div", xl, [
1010
- m(c(Ze), {
1010
+ m(c(Je), {
1011
1011
  onChange: j[0] || (j[0] = (w) => i.value = w.target.value),
1012
1012
  onBlur: j[1] || (j[1] = (w) => i.value = ""),
1013
1013
  displayValue: a,
@@ -1026,21 +1026,21 @@ const Jt = {
1026
1026
  "text-green-600": v.color === "green"
1027
1027
  }, "w-full rounded-md border py-2 pl-3 pr-10 shadow-sm focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 sm:text-sm"])
1028
1028
  }, null, 8, ["class"]),
1029
- m(c(Je), { class: "absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none" }, {
1029
+ m(c(We), { class: "absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none" }, {
1030
1030
  default: f(() => [
1031
- m(c(be), {
1031
+ m(c(we), {
1032
1032
  "aria-hidden": "true",
1033
1033
  class: "h-5 w-5 text-gray-400"
1034
1034
  })
1035
1035
  ]),
1036
1036
  _: 1
1037
1037
  }),
1038
- t.value.length > 0 ? (l(), k(c(We), {
1038
+ t.value.length > 0 ? (l(), x(c(Ge), {
1039
1039
  key: 0,
1040
1040
  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"
1041
1041
  }, {
1042
1042
  default: f(() => [
1043
- (l(!0), n($, null, S(t.value, (w) => (l(), k(c(Ge), {
1043
+ (l(!0), n($, null, S(t.value, (w) => (l(), x(c(Qe), {
1044
1044
  key: w.id,
1045
1045
  value: w,
1046
1046
  as: "template"
@@ -1062,7 +1062,7 @@ const Jt = {
1062
1062
  T ? "text-white" : "text-indigo-600"
1063
1063
  ])
1064
1064
  }, [
1065
- m(c(Le), {
1065
+ m(c(Fe), {
1066
1066
  "aria-hidden": "true",
1067
1067
  class: "h-5 w-5",
1068
1068
  loading: !0
@@ -1124,7 +1124,7 @@ function Sl(p, u) {
1124
1124
  const Bl = { class: "flex justify-between" }, Ml = {
1125
1125
  key: 0,
1126
1126
  class: "text-[10px] uppercase justify-self-end self-center"
1127
- }, ee = /* @__PURE__ */ M({
1127
+ }, te = /* @__PURE__ */ M({
1128
1128
  __name: "uiSelect_v2",
1129
1129
  props: {
1130
1130
  items: {},
@@ -1140,12 +1140,12 @@ const Bl = { class: "flex justify-between" }, Ml = {
1140
1140
  },
1141
1141
  emits: ["selectChanged"],
1142
1142
  setup(p, { emit: u }) {
1143
- const r = p, i = u, s = N(""), o = N(r.select), t = Y(
1143
+ const r = p, i = u, s = A(""), o = A(r.select), t = Y(
1144
1144
  () => s.value === "" ? r.items : r.items.filter((d) => d.name.toLowerCase().includes(s.value.toLowerCase()))
1145
1145
  ), a = (d) => {
1146
1146
  s.value = "", i("selectChanged", d);
1147
1147
  };
1148
- return (d, h) => (l(), k(c(Ue), {
1148
+ return (d, h) => (l(), x(c(He), {
1149
1149
  as: "div",
1150
1150
  modelValue: o.value,
1151
1151
  "onUpdate:modelValue": [
@@ -1155,7 +1155,7 @@ const Bl = { class: "flex justify-between" }, Ml = {
1155
1155
  }, {
1156
1156
  default: f(() => [
1157
1157
  e("div", Bl, [
1158
- m(c(He), { class: "block text-sm font-medium" }, {
1158
+ m(c(Ze), { class: "block text-sm font-medium" }, {
1159
1159
  default: f(() => [
1160
1160
  z(g(d.label), 1)
1161
1161
  ]),
@@ -1166,7 +1166,7 @@ const Bl = { class: "flex justify-between" }, Ml = {
1166
1166
  e("div", {
1167
1167
  class: y([{ "mt-1": d.label }, "relative"])
1168
1168
  }, [
1169
- m(c(Ze), {
1169
+ m(c(Je), {
1170
1170
  class: y([{
1171
1171
  "!border-transparent !shadow-none": d.isWrapped,
1172
1172
  "mt-1": d.requiredText || d.label,
@@ -1187,7 +1187,7 @@ const Bl = { class: "flex justify-between" }, Ml = {
1187
1187
  onBlur: h[1] || (h[1] = (v) => s.value = ""),
1188
1188
  "display-value": (v) => v.label || v.name
1189
1189
  }, null, 8, ["class", "display-value"]),
1190
- m(c(Je), { class: "h-full absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none" }, {
1190
+ m(c(We), { class: "h-full absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none" }, {
1191
1191
  default: f(() => [
1192
1192
  m(c(Sl), {
1193
1193
  class: "size-5 mt-1",
@@ -1196,12 +1196,12 @@ const Bl = { class: "flex justify-between" }, Ml = {
1196
1196
  ]),
1197
1197
  _: 1
1198
1198
  }),
1199
- t.value.length > 0 ? (l(), k(c(We), {
1199
+ t.value.length > 0 ? (l(), x(c(Ge), {
1200
1200
  key: 0,
1201
1201
  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/5 focus:outline-none sm:text-sm"
1202
1202
  }, {
1203
1203
  default: f(() => [
1204
- (l(!0), n($, null, S(t.value, (v) => (l(), k(c(Ge), {
1204
+ (l(!0), n($, null, S(t.value, (v) => (l(), x(c(Qe), {
1205
1205
  key: v.id,
1206
1206
  value: v,
1207
1207
  as: "template"
@@ -1314,7 +1314,7 @@ const Bl = { class: "flex justify-between" }, Ml = {
1314
1314
  setup(p, { emit: u }) {
1315
1315
  const r = u, i = p, s = (t) => {
1316
1316
  r("inputChanged", t.target.value);
1317
- }, o = N(i.value);
1317
+ }, o = A(i.value);
1318
1318
  return H(() => i.value, (t) => {
1319
1319
  o.value = t, r("inputChanged", { name: i.name, value: o.value });
1320
1320
  }), (t, a) => t.loading ? (l(), n("div", Ol, a[1] || (a[1] = [
@@ -1347,7 +1347,7 @@ const Bl = { class: "flex justify-between" }, Ml = {
1347
1347
  }]),
1348
1348
  onChange: s
1349
1349
  }, null, 42, Fl), [
1350
- [se, o.value]
1350
+ [oe, o.value]
1351
1351
  ])
1352
1352
  ], 2),
1353
1353
  B(e("p", {
@@ -1358,8 +1358,8 @@ const Bl = { class: "flex justify-between" }, Ml = {
1358
1358
  "text-green-600": t.color === "green"
1359
1359
  }, "mt-2 text-xs flex flex-row items-center"])
1360
1360
  }, [
1361
- m(O, {
1362
- icon: c(fe),
1361
+ m(F, {
1362
+ icon: c(he),
1363
1363
  color: "red",
1364
1364
  class: "mr-2",
1365
1365
  loading: !1
@@ -1386,13 +1386,13 @@ const Bl = { class: "flex justify-between" }, Ml = {
1386
1386
  },
1387
1387
  emits: ["toggleChanged", "actionClicked"],
1388
1388
  setup(p, { emit: u }) {
1389
- const r = p, i = N(r.checked);
1389
+ const r = p, i = A(r.checked);
1390
1390
  return H(() => r.checked, (s) => i.value = s), (s, o) => s.loading ? (l(), n("div", Pl, o[3] || (o[3] = [
1391
1391
  e("div", { class: "relative bg-gray-200 rounded-full w-12 h-6 p-1 flex items-center" }, [
1392
1392
  e("div", { class: "rounded-full bg-gray-300 dark:bg-gray-400 h-4 w-4" })
1393
1393
  ], -1),
1394
1394
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-16 ml-2" }, null, -1)
1395
- ]))) : (l(), k(c(ft), {
1395
+ ]))) : (l(), x(c(ft), {
1396
1396
  key: 0,
1397
1397
  as: "div",
1398
1398
  class: "flex items-center relative"
@@ -1459,7 +1459,7 @@ const Bl = { class: "flex justify-between" }, Ml = {
1459
1459
  r("alertEvent", s.event);
1460
1460
  };
1461
1461
  return (s, o) => s.loading ? (l(), n("div", Jl, o[0] || (o[0] = [
1462
- te('<div class="p-4 border-l-4 bg-gray-100 border-gray-400 rounded"><div class="flex"><div class="flex-shrink-0"><div class="h-6 w-6 animate-pulse rounded-full bg-gray-200 dark:bg-gray-300"></div></div><div class="ml-3 w-full"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-2/3 mb-2"></div><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full mb-2"></div><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-3/5"></div></div></div></div>', 1)
1462
+ le('<div class="p-4 border-l-4 bg-gray-100 border-gray-400 rounded"><div class="flex"><div class="flex-shrink-0"><div class="h-6 w-6 animate-pulse rounded-full bg-gray-200 dark:bg-gray-300"></div></div><div class="ml-3 w-full"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-2/3 mb-2"></div><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full mb-2"></div><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-3/5"></div></div></div></div>', 1)
1463
1463
  ]))) : (l(), n("div", Yl, [
1464
1464
  e("div", {
1465
1465
  class: y([{
@@ -1471,22 +1471,22 @@ const Bl = { class: "flex justify-between" }, Ml = {
1471
1471
  }, [
1472
1472
  e("div", ql, [
1473
1473
  e("div", Rl, [
1474
- s.type === "info" ? (l(), k(c(ot), {
1474
+ s.type === "info" ? (l(), x(c(rt), {
1475
1475
  key: 0,
1476
1476
  class: "h-8 w-8 text-lime-400",
1477
1477
  "aria-hidden": "true"
1478
1478
  })) : b("", !0),
1479
- s.type === "danger" ? (l(), k(c(fe), {
1479
+ s.type === "danger" ? (l(), x(c(he), {
1480
1480
  key: 1,
1481
1481
  class: "h-8 w-8 text-red-600",
1482
1482
  "aria-hidden": "true"
1483
1483
  })) : b("", !0),
1484
- s.type === "warning" ? (l(), k(c(W), {
1484
+ s.type === "warning" ? (l(), x(c(W), {
1485
1485
  key: 2,
1486
1486
  class: "h-8 w-8 text-yellow-400",
1487
1487
  "aria-hidden": "true"
1488
1488
  })) : b("", !0),
1489
- s.type === "success" ? (l(), k(c(tt), {
1489
+ s.type === "success" ? (l(), x(c(lt), {
1490
1490
  key: 3,
1491
1491
  class: "h-8 w-8 text-green-600",
1492
1492
  "aria-hidden": "true"
@@ -1573,7 +1573,7 @@ const Bl = { class: "flex justify-between" }, Ml = {
1573
1573
  e("span", null, g(s.name), 1)
1574
1574
  ], 8, Xl)
1575
1575
  ])) : (l(), n("div", es, [
1576
- m(c(ne), {
1576
+ m(c(ie), {
1577
1577
  class: "flex-shrink-0 h-3 w-3 text-gray-400",
1578
1578
  "aria-hidden": "true"
1579
1579
  }),
@@ -1606,7 +1606,7 @@ const Bl = { class: "flex justify-between" }, Ml = {
1606
1606
  emits: ["cardSelected"],
1607
1607
  setup(p, { emit: u }) {
1608
1608
  return (r, i) => r.loading ? (l(), n("div", ds, i[1] || (i[1] = [
1609
- te('<div class="flex items-center flex-col sm:flex-row justify-center sm:justify-start w-full"><div class="w-16 h-16 rounded-full bg-gray-200 flex self-center"></div><div class="w-full ml-4"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full mt-4 sm:mt-0 sm:w-16 mb-2"></div><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full sm:w-32"></div></div></div>', 1)
1609
+ le('<div class="flex items-center flex-col sm:flex-row justify-center sm:justify-start w-full"><div class="w-16 h-16 rounded-full bg-gray-200 flex self-center"></div><div class="w-full ml-4"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full mt-4 sm:mt-0 sm:w-16 mb-2"></div><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full sm:w-32"></div></div></div>', 1)
1610
1610
  ]))) : (l(), n("div", {
1611
1611
  key: 0,
1612
1612
  class: "rounded-lg bg-white shadow p-6 cursor-pointer",
@@ -1623,7 +1623,7 @@ const Bl = { class: "flex justify-between" }, Ml = {
1623
1623
  ])
1624
1624
  ]),
1625
1625
  r.tags && r.tags?.length > 0 ? (l(), n("div", is, [
1626
- (l(!0), n($, null, S(r.tags, (s) => (l(), k(Z, {
1626
+ (l(!0), n($, null, S(r.tags, (s) => (l(), x(Z, {
1627
1627
  class: "mb-1 mr-1",
1628
1628
  key: s.name,
1629
1629
  color: s.color,
@@ -1637,7 +1637,7 @@ const Bl = { class: "flex justify-between" }, Ml = {
1637
1637
  ])) : b("", !0)
1638
1638
  ]));
1639
1639
  }
1640
- }), rt = /* @__PURE__ */ M({
1640
+ }), at = /* @__PURE__ */ M({
1641
1641
  __name: "uiFilter",
1642
1642
  props: {
1643
1643
  items: {},
@@ -1651,8 +1651,8 @@ const Bl = { class: "flex justify-between" }, Ml = {
1651
1651
  o.value.forEach((a) => {
1652
1652
  a.active = a.value === t.value;
1653
1653
  }), r("filterSelected", t);
1654
- }, o = N(i.items);
1655
- return (t, a) => (l(), k(he, {
1654
+ }, o = A(i.items);
1655
+ return (t, a) => (l(), x(ye, {
1656
1656
  class: "text-nowrap",
1657
1657
  loading: t.loading,
1658
1658
  onOptionSelected: a[0] || (a[0] = (d) => s(d)),
@@ -1664,7 +1664,7 @@ const Bl = { class: "flex justify-between" }, Ml = {
1664
1664
  }), cs = { class: "fixed inset-0 z-10 overflow-y-auto" }, gs = { class: "flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0" }, ms = { class: "absolute top-0 right-0 hidden pt-4 pr-4 sm:block" }, ps = { class: "sm:flex sm:items-start" }, fs = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left w-full break-words" }, hs = { class: "mt-4 text-gray-500 text-sm" }, ys = {
1665
1665
  key: 0,
1666
1666
  class: "mt-8"
1667
- }, vs = ["onClick"], at = /* @__PURE__ */ M({
1667
+ }, vs = ["onClick"], nt = /* @__PURE__ */ M({
1668
1668
  __name: "uiModal",
1669
1669
  props: {
1670
1670
  title: {},
@@ -1680,18 +1680,18 @@ const Bl = { class: "flex justify-between" }, Ml = {
1680
1680
  const r = p, i = u, s = (o) => {
1681
1681
  i("modalAction", { modal: r.modalName, action: o });
1682
1682
  };
1683
- return (o, t) => (l(), k(c(Be), {
1683
+ return (o, t) => (l(), x(c(Me), {
1684
1684
  as: "template",
1685
1685
  show: o.open
1686
1686
  }, {
1687
1687
  default: f(() => [
1688
- m(c(Me), {
1688
+ m(c(je), {
1689
1689
  as: "div",
1690
1690
  class: "relative z-50",
1691
1691
  onClose: t[1] || (t[1] = (a) => s("close"))
1692
1692
  }, {
1693
1693
  default: f(() => [
1694
- m(c(X), {
1694
+ m(c(ee), {
1695
1695
  as: "template",
1696
1696
  enter: "ease-out duration-300",
1697
1697
  "enter-from": "opacity-0",
@@ -1708,7 +1708,7 @@ const Bl = { class: "flex justify-between" }, Ml = {
1708
1708
  }),
1709
1709
  e("div", cs, [
1710
1710
  e("div", gs, [
1711
- m(c(X), {
1711
+ m(c(ee), {
1712
1712
  as: "template",
1713
1713
  enter: "ease-out duration-300",
1714
1714
  "enter-from": "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",
@@ -1718,7 +1718,7 @@ const Bl = { class: "flex justify-between" }, Ml = {
1718
1718
  "leave-to": "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"
1719
1719
  }, {
1720
1720
  default: f(() => [
1721
- m(c(je), {
1721
+ m(c(De), {
1722
1722
  class: y([{
1723
1723
  "sm:my-8 w-full sm:w-9/12 md:w-2/3 lg:w-1/2": o.size === "big",
1724
1724
  "w-full sm:my-8 sm:w-full sm:max-w-lg sm:p-6": o.size === "medium"
@@ -1732,7 +1732,7 @@ const Bl = { class: "flex justify-between" }, Ml = {
1732
1732
  onClick: t[0] || (t[0] = (a) => s("close"))
1733
1733
  }, [
1734
1734
  t[3] || (t[3] = e("span", { class: "sr-only" }, "X", -1)),
1735
- m(O, {
1735
+ m(F, {
1736
1736
  icon: c(K),
1737
1737
  "aria-hidden": "true",
1738
1738
  loading: o.loading
@@ -1754,7 +1754,7 @@ const Bl = { class: "flex justify-between" }, Ml = {
1754
1754
  }, null, 512), [
1755
1755
  [D, o.type === "danger"]
1756
1756
  ]),
1757
- B(m(c(Le), {
1757
+ B(m(c(Fe), {
1758
1758
  class: "h-6 w-6 text-green-600",
1759
1759
  "aria-hidden": "true"
1760
1760
  }, null, 512), [
@@ -1774,7 +1774,7 @@ const Bl = { class: "flex justify-between" }, Ml = {
1774
1774
  ])
1775
1775
  ], 2),
1776
1776
  e("div", fs, [
1777
- m(c(Qe), {
1777
+ m(c(Ke), {
1778
1778
  as: "h3",
1779
1779
  class: "text-lg font-medium leading-6"
1780
1780
  }, {
@@ -1831,7 +1831,7 @@ const Bl = { class: "flex justify-between" }, Ml = {
1831
1831
  class: y([{ fixed: s.fixed }, "inset-0 flex items-end px-4 py-6 pointer-events-none sm:p-6 sm:items-start"])
1832
1832
  }, [
1833
1833
  e("div", bs, [
1834
- m(re, {
1834
+ m(ae, {
1835
1835
  "enter-active-class": "transform ease-out duration-300 transition",
1836
1836
  "enter-from-class": "translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-2",
1837
1837
  "enter-to-class": "translate-y-0 opacity-100 sm:translate-x-0",
@@ -1844,13 +1844,13 @@ const Bl = { class: "flex justify-between" }, Ml = {
1844
1844
  e("div", ks, [
1845
1845
  e("div", xs, [
1846
1846
  e("div", _s, [
1847
- B(m(c(tt), {
1847
+ B(m(c(lt), {
1848
1848
  "aria-hidden": "true",
1849
1849
  class: "h-6 w-6 text-green-600"
1850
1850
  }, null, 512), [
1851
1851
  [D, s.type === "success"]
1852
1852
  ]),
1853
- B(m(c(fe), {
1853
+ B(m(c(he), {
1854
1854
  "aria-hidden": "true",
1855
1855
  class: "h-6 w-6 text-red-600"
1856
1856
  }, null, 512), [
@@ -1862,7 +1862,7 @@ const Bl = { class: "flex justify-between" }, Ml = {
1862
1862
  }, null, 512), [
1863
1863
  [D, s.type === "warning"]
1864
1864
  ]),
1865
- B(m(c(ot), {
1865
+ B(m(c(rt), {
1866
1866
  "aria-hidden": "true",
1867
1867
  class: "h-6 w-6 text-black"
1868
1868
  }, null, 512), [
@@ -1914,7 +1914,7 @@ const Bl = { class: "flex justify-between" }, Ml = {
1914
1914
  key: i.id,
1915
1915
  class: "flex items-center justify-between gap-x-6 py-5"
1916
1916
  }, r[0] || (r[0] = [
1917
- te('<div class="min-w-0 w-full"><div class="flex items-start gap-x-3"><p class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2"></p></div></div><div class="flex flex-none items-center gap-x-4"><div class="hidden rounded-md bg-gray-200 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"><p class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-10"></p></div></div>', 2)
1917
+ le('<div class="min-w-0 w-full"><div class="flex items-start gap-x-3"><p class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2"></p></div></div><div class="flex flex-none items-center gap-x-4"><div class="hidden rounded-md bg-gray-200 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"><p class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-10"></p></div></div>', 2)
1918
1918
  ])))), 128))
1919
1919
  ])) : (l(), n("ul", js, [
1920
1920
  (l(!0), n($, null, S(u.tasks, (i) => (l(), n("li", {
@@ -1955,9 +1955,9 @@ const Bl = { class: "flex justify-between" }, Ml = {
1955
1955
  function Vs(p) {
1956
1956
  return p && p.__esModule && Object.prototype.hasOwnProperty.call(p, "default") ? p.default : p;
1957
1957
  }
1958
- var de = { exports: {} }, Ys = de.exports, Ae;
1958
+ var ue = { exports: {} }, Ys = ue.exports, Ie;
1959
1959
  function qs() {
1960
- return Ae || (Ae = 1, (function(p, u) {
1960
+ return Ie || (Ie = 1, (function(p, u) {
1961
1961
  (function(r, i) {
1962
1962
  p.exports = i(V);
1963
1963
  })(Ys, (function(r) {
@@ -1969,12 +1969,12 @@ function qs() {
1969
1969
  } };
1970
1970
  return s.default.locale(o, null, !0), o;
1971
1971
  }));
1972
- })(de)), de.exports;
1972
+ })(ue)), ue.exports;
1973
1973
  }
1974
1974
  qs();
1975
- var ue = { exports: {} }, Rs = ue.exports, Ie;
1975
+ var ce = { exports: {} }, Rs = ce.exports, Ne;
1976
1976
  function Es() {
1977
- return Ie || (Ie = 1, (function(p, u) {
1977
+ return Ne || (Ne = 1, (function(p, u) {
1978
1978
  (function(r, i) {
1979
1979
  p.exports = i(V);
1980
1980
  })(Rs, (function(r) {
@@ -1991,12 +1991,12 @@ function Es() {
1991
1991
  }, weekStart: 1, yearStart: 4, formats: { LTS: "HH:mm:ss", LT: "HH:mm", L: "DD.MM.YYYY", LL: "D. MMMM YYYY", LLL: "D. MMMM YYYY HH:mm", LLLL: "dddd, D. MMMM YYYY HH:mm" }, relativeTime: { future: "in %s", past: "vor %s", s: t, m: t, mm: t, h: t, hh: t, d: t, dd: t, M: t, MM: t, y: t, yy: t } };
1992
1992
  return s.default.locale(a, null, !0), a;
1993
1993
  }));
1994
- })(ue)), ue.exports;
1994
+ })(ce)), ce.exports;
1995
1995
  }
1996
1996
  Es();
1997
- var ce = { exports: {} }, Us = ce.exports, Ne;
1997
+ var ge = { exports: {} }, Us = ge.exports, Pe;
1998
1998
  function Hs() {
1999
- return Ne || (Ne = 1, (function(p, u) {
1999
+ return Pe || (Pe = 1, (function(p, u) {
2000
2000
  (function(r, i) {
2001
2001
  p.exports = i();
2002
2002
  })(Us, (function() {
@@ -2005,12 +2005,12 @@ function Hs() {
2005
2005
  return "[" + r + (i[(s - 20) % 10] || i[s] || i[0]) + "]";
2006
2006
  } };
2007
2007
  }));
2008
- })(ce)), ce.exports;
2008
+ })(ge)), ge.exports;
2009
2009
  }
2010
2010
  Hs();
2011
- var ge = { exports: {} }, Zs = ge.exports, Pe;
2011
+ var me = { exports: {} }, Zs = me.exports, Ve;
2012
2012
  function Js() {
2013
- return Pe || (Pe = 1, (function(p, u) {
2013
+ return Ve || (Ve = 1, (function(p, u) {
2014
2014
  (function(r, i) {
2015
2015
  p.exports = i(V);
2016
2016
  })(Zs, (function(r) {
@@ -2022,17 +2022,17 @@ function Js() {
2022
2022
  } };
2023
2023
  return s.default.locale(o, null, !0), o;
2024
2024
  }));
2025
- })(ge)), ge.exports;
2025
+ })(me)), me.exports;
2026
2026
  }
2027
2027
  Js();
2028
- const le = (p, u) => {
2028
+ const se = (p, u) => {
2029
2029
  const r = p.__vccOpts || p;
2030
2030
  for (const [i, s] of u)
2031
2031
  r[i] = s;
2032
2032
  return r;
2033
2033
  }, Ws = {
2034
2034
  name: "dateSelector",
2035
- components: { ChevronLeftIcon: lt, ChevronRightIcon: ne },
2035
+ components: { ChevronLeftIcon: st, ChevronRightIcon: ie },
2036
2036
  computed: {
2037
2037
  currentDate() {
2038
2038
  return V(this.selectedDate).locale("es");
@@ -2062,7 +2062,7 @@ const le = (p, u) => {
2062
2062
  }
2063
2063
  }, Gs = { class: "dateSelector flex items-center flex-row" }, Qs = { class: "pagination flex items-center my-1 md:my-0" }, Ks = { class: "date mx-4 font-bold text-center text-black select-none uppercase" }, Xs = { class: "pagination flex items-center my-1 sm:my-0" };
2064
2064
  function eo(p, u, r, i, s, o) {
2065
- const t = Fe("ChevronLeftIcon"), a = Fe("ChevronRightIcon");
2065
+ const t = Oe("ChevronLeftIcon"), a = Oe("ChevronRightIcon");
2066
2066
  return l(), n("div", Gs, [
2067
2067
  e("div", Qs, [
2068
2068
  e("div", {
@@ -2122,7 +2122,7 @@ function eo(p, u, r, i, s, o) {
2122
2122
  ])
2123
2123
  ]);
2124
2124
  }
2125
- const to = /* @__PURE__ */ le(Ws, [["render", eo]]), lo = {
2125
+ const to = /* @__PURE__ */ se(Ws, [["render", eo]]), lo = {
2126
2126
  name: "SkeletonTable"
2127
2127
  }, so = { class: "px-4 sm:px-6 lg:px-8 animate-pulse" }, oo = { class: "flow-root" }, ro = { class: "-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8" }, ao = { class: "inline-block min-w-full py-2 align-middle px-1" }, no = { class: "overflow-hidden shadow ring-1 ring-black ring-opacity-5 sm:rounded-lg" }, io = { class: "min-w-full divide-y divide-gray-300" }, uo = { class: "divide-y divide-gray-200 bg-white" };
2128
2128
  function co(p, u, r, i, s, o) {
@@ -2203,10 +2203,10 @@ function co(p, u, r, i, s, o) {
2203
2203
  ])
2204
2204
  ]);
2205
2205
  }
2206
- const nt = /* @__PURE__ */ le(lo, [["render", co]]);
2207
- var me = { exports: {} }, go = me.exports, Ve;
2206
+ const it = /* @__PURE__ */ se(lo, [["render", co]]);
2207
+ var pe = { exports: {} }, go = pe.exports, Ye;
2208
2208
  function mo() {
2209
- return Ve || (Ve = 1, (function(p, u) {
2209
+ return Ye || (Ye = 1, (function(p, u) {
2210
2210
  (function(r, i) {
2211
2211
  p.exports = i();
2212
2212
  })(go, (function() {
@@ -2217,7 +2217,7 @@ function mo() {
2217
2217
  };
2218
2218
  };
2219
2219
  }));
2220
- })(me)), me.exports;
2220
+ })(pe)), pe.exports;
2221
2221
  }
2222
2222
  var po = mo();
2223
2223
  const fo = /* @__PURE__ */ Vs(po), ho = {
@@ -2252,7 +2252,7 @@ function wo(p, u, r, i, s, o) {
2252
2252
  e("p", bo, g(o.currentDay.month), 1)
2253
2253
  ], 2);
2254
2254
  }
2255
- const ko = /* @__PURE__ */ le(ho, [["render", wo]]), xo = {
2255
+ const ko = /* @__PURE__ */ se(ho, [["render", wo]]), xo = {
2256
2256
  name: "dayPrice",
2257
2257
  props: {
2258
2258
  currency: String,
@@ -2288,7 +2288,7 @@ function $o(p, u, r, i, s, o) {
2288
2288
  }, g(o.currentDay.price) + g(r.currency), 3)
2289
2289
  ]);
2290
2290
  }
2291
- const ie = /* @__PURE__ */ le(xo, [["render", $o]]), Co = {
2291
+ const de = /* @__PURE__ */ se(xo, [["render", $o]]), Co = {
2292
2292
  key: 0,
2293
2293
  class: "px-4 sm:px-6 lg:px-8"
2294
2294
  }, So = { class: "flow-root" }, Bo = { class: "overflow-x-auto sm:-mx-6 lg:-mx-8 shadow ring-1 ring-black ring-opacity-5 sm:rounded-lg" }, Mo = { class: "inline-block min-w-full align-middle" }, jo = { class: "min-w-full text-sm" }, Do = { class: "bg-white" }, To = {
@@ -2353,24 +2353,24 @@ const ie = /* @__PURE__ */ le(xo, [["render", $o]]), Co = {
2353
2353
  },
2354
2354
  emits: ["dateChanged", "changeCategoryBulkPrices", "changeCategorySelectionPrice", "changeCategoryUpgradePrice", "changeRoomPrice", "tableAction"],
2355
2355
  setup(p, { emit: u }) {
2356
- const r = p, i = u, s = N(/* @__PURE__ */ new Date()), o = N(r.today), t = N([]);
2356
+ const r = p, i = u, s = A(/* @__PURE__ */ new Date()), o = A(r.today), t = A([]);
2357
2357
  H(() => r.today, (C) => {
2358
2358
  o.value = C;
2359
2359
  });
2360
2360
  const a = Y(() => {
2361
2361
  let C = [];
2362
- for (let q = 0; q < 14; q++)
2363
- C.push(V(o.value).add(q, "day"));
2362
+ for (let R = 0; R < 14; R++)
2363
+ C.push(V(o.value).add(R, "day"));
2364
2364
  return C;
2365
2365
  }), d = Y(() => t.value.length > 0 && t.value.length < r.rooms.length), h = (C) => {
2366
2366
  V(C).isBefore(s.value) || (o.value = C, i("dateChanged", o.value));
2367
2367
  }, v = (C) => {
2368
- let q = r.category.selectionPrices.find((P) => V(P.date).isSame(C.date));
2369
- return q ? q.price : C.price;
2368
+ let R = r.category.selectionPrices.find((I) => V(I.date).isSame(C.date));
2369
+ return R ? R.price : C.price;
2370
2370
  }, j = (C) => {
2371
- t.value = C.target.checked ? r.rooms.map((q) => q.id) : [];
2372
- }, w = () => i("changeCategoryBulkPrices"), T = (C) => i("changeCategorySelectionPrice", C), _ = (C) => i("changeCategoryUpgradePrice", C), A = (C) => i("tableAction", C), F = (C, q, P) => i("changeRoomPrice", { price: C, roomId: q, roomName: P });
2373
- return (C, q) => C.loading ? (l(), k(nt, { key: 1 })) : (l(), n("div", Co, [
2371
+ t.value = C.target.checked ? r.rooms.map((R) => R.id) : [];
2372
+ }, w = () => i("changeCategoryBulkPrices"), T = (C) => i("changeCategorySelectionPrice", C), _ = (C) => i("changeCategoryUpgradePrice", C), O = (C) => i("tableAction", C), L = (C, R, I) => i("changeRoomPrice", { price: C, roomId: R, roomName: I });
2373
+ return (C, R) => C.loading ? (l(), x(it, { key: 1 })) : (l(), n("div", Co, [
2374
2374
  e("div", So, [
2375
2375
  e("div", Bo, [
2376
2376
  e("div", Mo, [
@@ -2380,17 +2380,17 @@ const ie = /* @__PURE__ */ le(xo, [["render", $o]]), Co = {
2380
2380
  e("th", To, [
2381
2381
  m(to, {
2382
2382
  selectedDate: o.value,
2383
- onDateSelected: q[0] || (q[0] = (P) => h(P))
2383
+ onDateSelected: R[0] || (R[0] = (I) => h(I))
2384
2384
  }, null, 8, ["selectedDate"])
2385
2385
  ]),
2386
- (l(!0), n($, null, S(a.value, (P, x) => (l(), n("th", {
2386
+ (l(!0), n($, null, S(a.value, (I, k) => (l(), n("th", {
2387
2387
  scope: "col",
2388
- key: x,
2388
+ key: k,
2389
2389
  class: "text-sm font-semibold p-0"
2390
2390
  }, [
2391
2391
  m(ko, {
2392
2392
  class: "border-l border-gray-200 px-6 py-3",
2393
- day: P
2393
+ day: I
2394
2394
  }, null, 8, ["day"])
2395
2395
  ]))), 128))
2396
2396
  ]),
@@ -2412,14 +2412,14 @@ const ie = /* @__PURE__ */ le(xo, [["render", $o]]), Co = {
2412
2412
  ]),
2413
2413
  C.type === "discounts" ? (l(), n("tr", Lo, [
2414
2414
  e("td", Fo, g(C.literals.pricesDiscount), 1),
2415
- (l(!0), n($, null, S(C.category.selectionPrices, (P, x) => (l(), n("td", {
2416
- key: x,
2415
+ (l(!0), n($, null, S(C.category.selectionPrices, (I, k) => (l(), n("td", {
2416
+ key: k,
2417
2417
  class: "p-0"
2418
2418
  }, [
2419
- m(ie, {
2420
- onClick: (I) => T(P),
2419
+ m(de, {
2420
+ onClick: (N) => T(I),
2421
2421
  class: "border-l border-gray-200 px-6 py-3 text-black hover:text-lime-400 font-bold cursor-pointer",
2422
- price: P,
2422
+ price: I,
2423
2423
  currency: C.currency.symbol,
2424
2424
  isBasePrice: !0
2425
2425
  }, null, 8, ["onClick", "price", "currency"])
@@ -2427,14 +2427,14 @@ const ie = /* @__PURE__ */ le(xo, [["render", $o]]), Co = {
2427
2427
  ])) : b("", !0),
2428
2428
  C.type === "prices" ? (l(), n("tr", Oo, [
2429
2429
  e("td", Ao, g(C.literals.pricesSelection), 1),
2430
- (l(!0), n($, null, S(C.category.selectionPrices, (P, x) => (l(), n("td", {
2431
- key: x,
2430
+ (l(!0), n($, null, S(C.category.selectionPrices, (I, k) => (l(), n("td", {
2431
+ key: k,
2432
2432
  class: "p-0"
2433
2433
  }, [
2434
- m(ie, {
2435
- onClick: (I) => T(P),
2434
+ m(de, {
2435
+ onClick: (N) => T(I),
2436
2436
  class: "border-l border-gray-200 px-6 py-3 text-black hover:text-lime-400 font-bold cursor-pointer",
2437
- price: P,
2437
+ price: I,
2438
2438
  currency: C.currency.symbol,
2439
2439
  isBasePrice: !0
2440
2440
  }, null, 8, ["onClick", "price", "currency"])
@@ -2442,14 +2442,14 @@ const ie = /* @__PURE__ */ le(xo, [["render", $o]]), Co = {
2442
2442
  ])) : b("", !0),
2443
2443
  C.type === "prices" ? (l(), n("tr", Io, [
2444
2444
  e("td", No, g(C.literals.pricesUpgrade), 1),
2445
- (l(!0), n($, null, S(C.category.upgradePrices, (P, x) => (l(), n("td", {
2446
- key: x,
2445
+ (l(!0), n($, null, S(C.category.upgradePrices, (I, k) => (l(), n("td", {
2446
+ key: k,
2447
2447
  class: "p-0"
2448
2448
  }, [
2449
- m(ie, {
2450
- onClick: (I) => _(P),
2449
+ m(de, {
2450
+ onClick: (N) => _(I),
2451
2451
  class: "border-l border-gray-200 px-6 py-3 text-black hover:text-lime-400 font-bold cursor-pointer bg-gray-100",
2452
- price: P,
2452
+ price: I,
2453
2453
  currency: C.currency.symbol,
2454
2454
  isBasePrice: !0
2455
2455
  }, null, 8, ["onClick", "price", "currency"])
@@ -2458,12 +2458,12 @@ const ie = /* @__PURE__ */ le(xo, [["render", $o]]), Co = {
2458
2458
  e("tr", null, [
2459
2459
  e("th", Po, [
2460
2460
  t.value?.length > 0 && C.actions?.length > 0 ? (l(), n("div", Vo, [
2461
- (l(!0), n($, null, S(C.actions, (P, x) => (l(), n("button", {
2462
- onClick: (I) => A({ action: P.id, items: t.value }),
2463
- key: x,
2461
+ (l(!0), n($, null, S(C.actions, (I, k) => (l(), n("button", {
2462
+ onClick: (N) => O({ action: I.id, items: t.value }),
2463
+ key: k,
2464
2464
  type: "button",
2465
2465
  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"
2466
- }, g(P.name), 9, Yo))), 128))
2466
+ }, g(I.name), 9, Yo))), 128))
2467
2467
  ])) : b("", !0),
2468
2468
  e("span", null, g(C.literals.pricesSelection), 1)
2469
2469
  ])
@@ -2481,14 +2481,14 @@ const ie = /* @__PURE__ */ le(xo, [["render", $o]]), Co = {
2481
2481
  ]),
2482
2482
  e("th", Uo, g(C.literals.building), 1),
2483
2483
  e("th", Ho, g(C.literals.floor), 1),
2484
- q[2] || (q[2] = e("th", {
2484
+ R[2] || (R[2] = e("th", {
2485
2485
  colspan: "14",
2486
2486
  scope: "colgroup",
2487
2487
  class: "bg-gray-100 py-2 pl-4 pr-3 text-left font-semibold"
2488
2488
  }, null, -1))
2489
2489
  ]),
2490
- (l(!0), n($, null, S(C.rooms, (P) => (l(), n("tr", {
2491
- key: P.name,
2490
+ (l(!0), n($, null, S(C.rooms, (I) => (l(), n("tr", {
2491
+ key: I.name,
2492
2492
  class: y([{ "even:bg-gray-100": C.type === "prices", "odd:bg-gray-100": C.type === "discounts" }])
2493
2493
  }, [
2494
2494
  e("td", Zo, [
@@ -2496,25 +2496,25 @@ const ie = /* @__PURE__ */ le(xo, [["render", $o]]), Co = {
2496
2496
  B(e("input", {
2497
2497
  type: "checkbox",
2498
2498
  class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-lime-400 focus:ring-lime-400",
2499
- value: P.name,
2500
- "onUpdate:modelValue": q[1] || (q[1] = (x) => t.value = x)
2499
+ value: I.name,
2500
+ "onUpdate:modelValue": R[1] || (R[1] = (k) => t.value = k)
2501
2501
  }, null, 8, Wo), [
2502
- [Ee, t.value]
2502
+ [Ue, t.value]
2503
2503
  ]),
2504
- e("span", Go, g(P.name), 1)
2504
+ e("span", Go, g(I.name), 1)
2505
2505
  ]),
2506
- e("td", Qo, g(P.building), 1),
2507
- e("td", Ko, g(P.floor), 1),
2508
- (l(!0), n($, null, S(P.selectionPrices, (x, I) => (l(), n("td", {
2506
+ e("td", Qo, g(I.building), 1),
2507
+ e("td", Ko, g(I.floor), 1),
2508
+ (l(!0), n($, null, S(I.selectionPrices, (k, N) => (l(), n("td", {
2509
2509
  class: "p-0",
2510
- key: I
2510
+ key: N
2511
2511
  }, [
2512
- m(ie, {
2513
- onClick: (L) => F(x, P.id, P.name),
2512
+ m(de, {
2513
+ onClick: (q) => L(k, I.id, I.name),
2514
2514
  class: "border-l border-gray-200 px-6 py-3 text-black hover:text-lime-400 cursor-pointer",
2515
- price: x,
2515
+ price: k,
2516
2516
  currency: C.currency.symbol,
2517
- basePrice: v(x)
2517
+ basePrice: v(k)
2518
2518
  }, null, 8, ["onClick", "price", "currency", "basePrice"])
2519
2519
  ]))), 128))
2520
2520
  ], 2))), 128))
@@ -2550,8 +2550,8 @@ const ie = /* @__PURE__ */ le(xo, [["render", $o]]), Co = {
2550
2550
  },
2551
2551
  emits: ["selectedRange", "chartUpdated", "dataPointSelection", "maximizeChart"],
2552
2552
  setup(p, { emit: u }) {
2553
- const r = u, i = N((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":"))), s = p;
2554
- let o = ae(s.dates || { from: "", to: i });
2553
+ const r = u, i = A((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":"))), s = p;
2554
+ let o = ne(s.dates || { from: "", to: i });
2555
2555
  H(() => s.dates, (_) => {
2556
2556
  _ && (o = _);
2557
2557
  });
@@ -2566,10 +2566,10 @@ const ie = /* @__PURE__ */ le(xo, [["render", $o]]), Co = {
2566
2566
  },
2567
2567
  colors: function() {
2568
2568
  return s.isNps ? [
2569
- function({ value: _, seriesIndex: A, dataPointIndex: F, w: C }) {
2570
- if (F <= 5) return "#F87171";
2571
- if (F > 5 && F <= 7) return "#eab308";
2572
- if (F >= 8) return "#84cc16";
2569
+ function({ value: _, seriesIndex: O, dataPointIndex: L, w: C }) {
2570
+ if (L <= 5) return "#F87171";
2571
+ if (L > 5 && L <= 7) return "#eab308";
2572
+ if (L >= 8) return "#84cc16";
2573
2573
  }
2574
2574
  ] : [
2575
2575
  "#000000",
@@ -2613,10 +2613,10 @@ const ie = /* @__PURE__ */ le(xo, [["render", $o]]), Co = {
2613
2613
  }), s.type === "area" && (a.tooltip = { intersect: !1, shared: !0 });
2614
2614
  const d = () => (a.chart.stacked = s.stacked, s.options && (s.options.xaxis.hideOverlappingLabels = !0, s.options.xaxis.decimalsInFloat = 2, s.options.xaxis.tickAmount = 10), { ...a, ...s.options, plotOptions: { bar: { horizontal: s.horizontal } } }), h = () => {
2615
2615
  o.from !== "" && o.to !== "" && V(o.from).isBefore(V(o.to)) && r("selectedRange", { range: o, chartId: s.id });
2616
- }, v = Y(() => s.series), j = Y(() => d()), w = () => r("chartUpdated"), T = (_, A, F) => {
2617
- r("dataPointSelection", { id: s.id, chartContext: A, config: F, event: _ });
2616
+ }, v = Y(() => s.series), j = Y(() => d()), w = () => r("chartUpdated"), T = (_, O, L) => {
2617
+ r("dataPointSelection", { id: s.id, chartContext: O, config: L, event: _ });
2618
2618
  };
2619
- return (_, A) => (l(), n($, null, [
2619
+ return (_, O) => (l(), n($, null, [
2620
2620
  B(e("div", {
2621
2621
  class: y(["h-[" + _.height + "px]", "card chart apex-chart p-4 bg-white shadow rounded-lg overflow-hidden flex grow"])
2622
2622
  }, [
@@ -2629,7 +2629,7 @@ const ie = /* @__PURE__ */ le(xo, [["render", $o]]), Co = {
2629
2629
  loading: !1
2630
2630
  }, {
2631
2631
  default: f(() => [
2632
- m(O, {
2632
+ m(F, {
2633
2633
  icon: c(Rt),
2634
2634
  loading: !1,
2635
2635
  color: "red"
@@ -2644,7 +2644,7 @@ const ie = /* @__PURE__ */ le(xo, [["render", $o]]), Co = {
2644
2644
  loading: !1
2645
2645
  }, {
2646
2646
  default: f(() => [
2647
- m(O, {
2647
+ m(F, {
2648
2648
  icon: c(qt),
2649
2649
  loading: !1,
2650
2650
  color: "yellow"
@@ -2659,7 +2659,7 @@ const ie = /* @__PURE__ */ le(xo, [["render", $o]]), Co = {
2659
2659
  loading: !1
2660
2660
  }, {
2661
2661
  default: f(() => [
2662
- m(O, {
2662
+ m(F, {
2663
2663
  icon: c(Et),
2664
2664
  loading: !1,
2665
2665
  color: "green"
@@ -2673,40 +2673,40 @@ const ie = /* @__PURE__ */ le(xo, [["render", $o]]), Co = {
2673
2673
  e("div", nr, [
2674
2674
  B(e("input", {
2675
2675
  type: "datetime-local",
2676
- "onUpdate:modelValue": A[0] || (A[0] = (F) => c(o).from = F),
2676
+ "onUpdate:modelValue": O[0] || (O[0] = (L) => c(o).from = L),
2677
2677
  max: i.value.toString(),
2678
2678
  onChange: h,
2679
2679
  name: "from",
2680
2680
  id: "from",
2681
2681
  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"
2682
2682
  }, null, 40, ir), [
2683
- [se, c(o).from]
2683
+ [oe, c(o).from]
2684
2684
  ])
2685
2685
  ]),
2686
2686
  e("div", dr, [
2687
2687
  B(e("input", {
2688
2688
  type: "datetime-local",
2689
- "onUpdate:modelValue": A[1] || (A[1] = (F) => c(o).to = F),
2689
+ "onUpdate:modelValue": O[1] || (O[1] = (L) => c(o).to = L),
2690
2690
  max: i.value.toString(),
2691
2691
  onChange: h,
2692
2692
  name: "to",
2693
2693
  id: "to",
2694
2694
  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"
2695
2695
  }, null, 40, ur), [
2696
- [se, c(o).to]
2696
+ [oe, c(o).to]
2697
2697
  ])
2698
2698
  ]),
2699
- m(O, {
2699
+ m(F, {
2700
2700
  class: "ml-4 cursor-pointer",
2701
2701
  size: "big",
2702
2702
  loading: _.loading,
2703
- icon: c(Xe),
2704
- onClick: A[2] || (A[2] = (F) => _.$emit("maximizeChart", _.id))
2703
+ icon: c(et),
2704
+ onClick: O[2] || (O[2] = (L) => _.$emit("maximizeChart", _.id))
2705
2705
  }, null, 8, ["loading", "icon"])
2706
2706
  ])
2707
2707
  ]),
2708
2708
  B(e("div", cr, [
2709
- m(c(ze), {
2709
+ m(c(Le), {
2710
2710
  class: "chart",
2711
2711
  type: _.type,
2712
2712
  series: v.value,
@@ -2722,13 +2722,13 @@ const ie = /* @__PURE__ */ le(xo, [["render", $o]]), Co = {
2722
2722
  B(e("div", {
2723
2723
  class: y(["h-[" + _.height + "px]", "w-full flex items-center justify-center flex-col"])
2724
2724
  }, [
2725
- m(O, {
2725
+ m(F, {
2726
2726
  icon: c(W),
2727
2727
  color: "gray",
2728
2728
  loading: !1,
2729
2729
  size: "massive"
2730
2730
  }, null, 8, ["icon"]),
2731
- A[3] || (A[3] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data for this time frame", -1))
2731
+ O[3] || (O[3] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data for this time frame", -1))
2732
2732
  ], 2), [
2733
2733
  [D, _.empty]
2734
2734
  ])
@@ -2737,7 +2737,7 @@ const ie = /* @__PURE__ */ le(xo, [["render", $o]]), Co = {
2737
2737
  ]),
2738
2738
  B(e("div", {
2739
2739
  class: y(["h-[" + _.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80"])
2740
- }, A[4] || (A[4] = [
2740
+ }, O[4] || (O[4] = [
2741
2741
  e("div", {
2742
2742
  role: "status",
2743
2743
  class: "w-full animate-pulse h-full flex flex-col"
@@ -2780,7 +2780,7 @@ function fr(p, u, r, i, s, o) {
2780
2780
  ], -1)
2781
2781
  ]));
2782
2782
  }
2783
- const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
2783
+ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
2784
2784
  __name: "uiLoadingScreen",
2785
2785
  props: {
2786
2786
  title: {},
@@ -2833,7 +2833,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
2833
2833
  },
2834
2834
  emits: ["changePage"],
2835
2835
  setup(p, { emit: u }) {
2836
- const r = u, i = p, s = N(3), o = Y(
2836
+ const r = u, i = p, s = A(3), o = Y(
2837
2837
  () => Math.max(1, Number(i.current) - Number(s.value))
2838
2838
  ), t = Y(
2839
2839
  () => Math.min(Number(i.current) + Number(s.value), Number(i.total))
@@ -2878,7 +2878,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
2878
2878
  e("span", Mr, [
2879
2879
  E(d.$slots, "previous")
2880
2880
  ]),
2881
- m(c(lt), {
2881
+ m(c(st), {
2882
2882
  class: "h-5 w-5",
2883
2883
  "aria-hidden": "true"
2884
2884
  })
@@ -2901,7 +2901,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
2901
2901
  e("span", Dr, [
2902
2902
  E(d.$slots, "next")
2903
2903
  ]),
2904
- m(c(ne), {
2904
+ m(c(ie), {
2905
2905
  class: "h-5 w-5",
2906
2906
  "aria-hidden": "true"
2907
2907
  })
@@ -2953,7 +2953,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
2953
2953
  ]))), 64)) : (l(!0), n($, { key: 0 }, S(s.value, (a) => (l(), n($, {
2954
2954
  key: a.name
2955
2955
  }, [
2956
- a.children ? (l(), k(c(De), {
2956
+ a.children ? (l(), x(c(Te), {
2957
2957
  key: 1,
2958
2958
  as: "div",
2959
2959
  class: "space-y-1"
@@ -2963,7 +2963,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
2963
2963
  class: y([a.current ? "bg-indigo-600 text-white" : "text-gray-600 hover:bg-gray-50 hover:text-gray-900", "group w-full flex items-center pl-2 pr-1 py-2 text-left text-sm font-medium rounded-md focus:outline-none"])
2964
2964
  }, {
2965
2965
  default: f(() => [
2966
- a.icon ? (l(), k(O, {
2966
+ a.icon ? (l(), x(F, {
2967
2967
  key: 0,
2968
2968
  loading: o.loading,
2969
2969
  icon: a.icon,
@@ -2976,15 +2976,15 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
2976
2976
  o.loading ? (l(), n("div", Yr, t[0] || (t[0] = [
2977
2977
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, null, -1)
2978
2978
  ]))) : (l(), n("span", Vr, g(a.name), 1)),
2979
- m(c(ne), {
2979
+ m(c(ie), {
2980
2980
  class: y([d ? "text-black rotate-90" : "text-gray-400", "mr-3 flex-shrink-0 h-3 w-3 transform group-hover:text-gray-400 transition-colors ease-in-out duration-150"])
2981
2981
  }, null, 8, ["class"])
2982
2982
  ]),
2983
2983
  _: 2
2984
2984
  }, 1032, ["class"]),
2985
- m(c(Te), { class: "space-y-1" }, {
2985
+ m(c(ze), { class: "space-y-1" }, {
2986
2986
  default: f(() => [
2987
- (l(!0), n($, null, S(a.children, (h) => (l(), k(c(Q), {
2987
+ (l(!0), n($, null, S(a.children, (h) => (l(), x(c(Q), {
2988
2988
  onClick: (v) => i("sideBarClick", h.id),
2989
2989
  key: h.name,
2990
2990
  class: y([h.current ? "bg-gray-200" : "hover:text-gray-900 hover:bg-gray-100", "group text-gray-600 w-full flex items-center text-left pl-11 pr-2 py-2 text-sm font-medium rounded-md"])
@@ -3007,7 +3007,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3007
3007
  "group w-full flex items-center pl-2 py-2 text-sm font-medium rounded-md"
3008
3008
  ])
3009
3009
  }, [
3010
- a.icon ? (l(), k(O, {
3010
+ a.icon ? (l(), x(F, {
3011
3011
  key: 0,
3012
3012
  loading: o.loading,
3013
3013
  icon: a.icon,
@@ -3043,7 +3043,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3043
3043
  }, oa = { class: "ml-2 space-y-1" }, ra = { class: "font-bold mb-4" }, aa = {
3044
3044
  key: 1,
3045
3045
  class: "flex flex-col grow h-full"
3046
- }, na = { class: "flex-1 overflow-y-auto pr-6" }, ia = { class: "h-12 flex flex-row items-center" }, we = /* @__PURE__ */ M({
3046
+ }, na = { class: "flex-1 overflow-y-auto pr-6" }, ia = { class: "h-12 flex flex-row items-center" }, ke = /* @__PURE__ */ M({
3047
3047
  __name: "uiSidebarV2",
3048
3048
  props: {
3049
3049
  navigation: {},
@@ -3097,7 +3097,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3097
3097
  (l(!0), n($, null, S(i.value, (t) => (l(), n("li", {
3098
3098
  key: t.name
3099
3099
  }, [
3100
- t.children ? (l(), k(c(De), {
3100
+ t.children ? (l(), x(c(Te), {
3101
3101
  key: 1,
3102
3102
  as: "div"
3103
3103
  }, {
@@ -3107,7 +3107,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3107
3107
  class: y([t.current ? "bg-lime-100" : "hover:bg-lime-100", "flex w-full items-center gap-x-3 rounded-md p-2 text-left text-sm font-semibold leading-6 text-gray-700"])
3108
3108
  }, {
3109
3109
  default: f(() => [
3110
- m(O, {
3110
+ m(F, {
3111
3111
  icon: t.icon,
3112
3112
  color: "primary",
3113
3113
  size: "big",
@@ -3116,7 +3116,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3116
3116
  class: "shrink-0"
3117
3117
  }, null, 8, ["icon"]),
3118
3118
  z(" " + g(t.name) + " ", 1),
3119
- m(c(ne), {
3119
+ m(c(ie), {
3120
3120
  class: y([t.children.some((a) => a.current) || t.current ? "rotate-90 text-black" : "text-gray-400", "ml-auto h-5 w-5 shrink-0"]),
3121
3121
  "aria-hidden": "true"
3122
3122
  }, null, 8, ["class"])
@@ -3124,7 +3124,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3124
3124
  _: 2
3125
3125
  }, 1032, ["onClick", "class"]),
3126
3126
  B(e("div", null, [
3127
- m(c(Te), {
3127
+ m(c(ze), {
3128
3128
  as: "ul",
3129
3129
  class: "mt-1 px-2",
3130
3130
  static: ""
@@ -3157,7 +3157,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3157
3157
  onClick: (a) => s.$emit("sideBarClick", t.id),
3158
3158
  class: y([t.current ? "bg-lime-100" : "hover:bg-lime-100", "group flex gap-x-3 rounded-md p-2 text-sm font-semibold leading-6 text-gray-700 cursor-pointer"])
3159
3159
  }, [
3160
- m(O, {
3160
+ m(F, {
3161
3161
  icon: t.icon,
3162
3162
  color: "primary",
3163
3163
  size: "big",
@@ -3173,7 +3173,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3173
3173
  ])),
3174
3174
  s.isFilterNavigation && s.filterNavigation ? (l(), n("ul", sa, [
3175
3175
  e("li", oa, [
3176
- s.filterNavigation.hasSearch && s.filterNavigation.search ? (l(), k(J, {
3176
+ s.filterNavigation.hasSearch && s.filterNavigation.search ? (l(), x(J, {
3177
3177
  key: 0,
3178
3178
  name: s.filterNavigation.search.name,
3179
3179
  label: s.filterNavigation.search.label,
@@ -3188,7 +3188,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3188
3188
  key: a
3189
3189
  }, [
3190
3190
  e("p", ra, g(t.label), 1),
3191
- (l(!0), n($, null, S(t.filters, (d, h) => (l(), k(Ke, {
3191
+ (l(!0), n($, null, S(t.filters, (d, h) => (l(), x(Xe, {
3192
3192
  class: "mb-2",
3193
3193
  value: d.value,
3194
3194
  loading: d.loading
@@ -3208,7 +3208,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3208
3208
  }), da = { key: 0 }, ua = { class: "ml-16 text-sm font-medium truncate" }, ca = { class: "ml-16 flex items-baseline pb-5" }, ga = { class: "text-2xl font-semibold" }, ma = {
3209
3209
  key: 0,
3210
3210
  class: "text-black ml-2 flex items-baseline text-sm font-semibold"
3211
- }, pa = { class: "absolute bottom-0 inset-x-0 bg-lime-50 px-4 py-4 sm:px-6" }, fa = { class: "text-sm" }, ha = { key: 1 }, ya = { class: "relative bg-white pt-5 px-4 sm:pt-6 sm:px-6 shadow rounded-lg overflow-hidden h-full pb-6" }, va = { class: "absolute bg-gray-200 rounded-md p-3 animate-pulse" }, it = /* @__PURE__ */ M({
3211
+ }, pa = { class: "absolute bottom-0 inset-x-0 bg-lime-50 px-4 py-4 sm:px-6" }, fa = { class: "text-sm" }, ha = { key: 1 }, ya = { class: "relative bg-white pt-5 px-4 sm:pt-6 sm:px-6 shadow rounded-lg overflow-hidden h-full pb-6" }, va = { class: "absolute bg-gray-200 rounded-md p-3 animate-pulse" }, dt = /* @__PURE__ */ M({
3212
3212
  __name: "uiStats",
3213
3213
  props: {
3214
3214
  item: {},
@@ -3220,7 +3220,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3220
3220
  e("div", ya, [
3221
3221
  e("dt", null, [
3222
3222
  e("div", va, [
3223
- m(O, {
3223
+ m(F, {
3224
3224
  loading: r.loading,
3225
3225
  icon: r.item.icon,
3226
3226
  class: "h-6 w-6 text-white",
@@ -3247,7 +3247,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3247
3247
  "bg-yellow-400": r.item.color === "yellow"
3248
3248
  }])
3249
3249
  }, [
3250
- m(O, {
3250
+ m(F, {
3251
3251
  icon: r.item.icon,
3252
3252
  class: "h-6 w-6",
3253
3253
  "aria-hidden": "true",
@@ -3270,12 +3270,12 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3270
3270
  "ml-2 flex items-baseline text-sm font-semibold"
3271
3271
  ])
3272
3272
  }, [
3273
- r.item.changeType === "increase" ? (l(), k(c(Pt), {
3273
+ r.item.changeType === "increase" ? (l(), x(c(Pt), {
3274
3274
  key: 0,
3275
3275
  class: "self-center flex-shrink-0 h-3 w-3 text-green-500",
3276
3276
  "aria-hidden": "true"
3277
3277
  })) : b("", !0),
3278
- r.item.changeType === "decrease" ? (l(), k(c(It), {
3278
+ r.item.changeType === "decrease" ? (l(), x(c(It), {
3279
3279
  key: 1,
3280
3280
  class: "self-center flex-shrink-0 h-3 w-3 text-red-500",
3281
3281
  "aria-hidden": "true"
@@ -3319,7 +3319,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3319
3319
  emits: ["itemClicked"],
3320
3320
  setup(p) {
3321
3321
  return (u, r) => u.loading ? (l(), n("div", Ma, [
3322
- r[1] || (r[1] = te('<div class="px-4 py-5 sm:px-6 animate-pulse"><h3 class="text-lg font-medium leading-6"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4"></div></h3><div class="mt-1 max-w-2xl text-sm text-gray-500"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-2/5"></div></div></div>', 1)),
3322
+ r[1] || (r[1] = le('<div class="px-4 py-5 sm:px-6 animate-pulse"><h3 class="text-lg font-medium leading-6"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4"></div></h3><div class="mt-1 max-w-2xl text-sm text-gray-500"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-2/5"></div></div></div>', 1)),
3323
3323
  e("div", ja, [
3324
3324
  e("dl", null, [
3325
3325
  (l(), n($, null, S(5, (i) => e("div", {
@@ -3348,7 +3348,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3348
3348
  }, [
3349
3349
  e("dt", $a, g(i.title), 1),
3350
3350
  i.type === "tags" ? (l(), n("dd", Ca, [
3351
- (l(!0), n($, null, S(i.tags, (o, t) => (l(), k(Z, {
3351
+ (l(!0), n($, null, S(i.tags, (o, t) => (l(), x(Z, {
3352
3352
  loading: u.loading,
3353
3353
  key: t,
3354
3354
  color: o.color,
@@ -3395,7 +3395,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3395
3395
  })
3396
3396
  ], -1)),
3397
3397
  e("div", null, [
3398
- m(O, {
3398
+ m(F, {
3399
3399
  icon: c(Zt),
3400
3400
  loading: !1,
3401
3401
  color: "white",
@@ -3428,7 +3428,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3428
3428
  },
3429
3429
  emits: ["tableAction", "orderBy", "customEmit", "selectedItemsDeleted"],
3430
3430
  setup(p, { emit: u }) {
3431
- let r = N([]), i = N(""), s = N(!1);
3431
+ let r = A([]), i = A(""), s = A(!1);
3432
3432
  const o = u, t = p, a = Y(
3433
3433
  () => r.value.length > 0 && r.value.length < t.items.length
3434
3434
  ), d = (w, T) => {
@@ -3440,15 +3440,15 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3440
3440
  }, j = (w) => t.hiddenColumns && t.hiddenColumns.length > 0 ? !t.hiddenColumns.includes(w) : !0;
3441
3441
  return H(() => t.resetSelected, (w) => {
3442
3442
  s.value = w, w && s.value && (r.value = [], s.value = !w, o("selectedItemsDeleted"));
3443
- }), (w, T) => w.loading ? (l(), k(nt, { key: 1 })) : (l(), n("div", Fa, [
3443
+ }), (w, T) => w.loading ? (l(), x(it, { key: 1 })) : (l(), n("div", Fa, [
3444
3444
  e("div", Oa, [
3445
3445
  e("div", Aa, [
3446
3446
  e("div", Ia, [
3447
3447
  e("div", Na, [
3448
3448
  c(r)?.length > 0 && w.actions?.length > 0 ? (l(), n("div", Pa, [
3449
- (l(!0), n($, null, S(w.actions, (_, A) => (l(), n("button", {
3450
- onClick: (F) => w.$emit("tableAction", { action: _.id, items: c(r) }),
3451
- key: A,
3449
+ (l(!0), n($, null, S(w.actions, (_, O) => (l(), n("button", {
3450
+ onClick: (L) => w.$emit("tableAction", { action: _.id, items: c(r) }),
3451
+ key: O,
3452
3452
  type: "button",
3453
3453
  class: "inline-flex items-center rounded bg-lime-400 hover:bg-black px-2.5 py-1.5 text-xs font-medium text-white shadow-sm disabled:cursor-not-allowed disabled:opacity-30"
3454
3454
  }, g(_.name), 9, Va))), 128))
@@ -3469,14 +3469,14 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3469
3469
  onChange: h
3470
3470
  }, null, 40, Ra)) : b("", !0)
3471
3471
  ], 2),
3472
- (l(!0), n($, null, S(w.header, (_, A) => B((l(), n("th", {
3473
- key: A,
3472
+ (l(!0), n($, null, S(w.header, (_, O) => B((l(), n("th", {
3473
+ key: O,
3474
3474
  class: "py-3.5 pr-3 text-left font-semibold relative",
3475
3475
  scope: "col",
3476
- onMouseover: (F) => d(_.name, !0),
3477
- onMouseleave: (F) => d(_.name, !1)
3476
+ onMouseover: (L) => d(_.name, !0),
3477
+ onMouseleave: (L) => d(_.name, !1)
3478
3478
  }, [
3479
- _.tooltip ? B((l(), k(La, {
3479
+ _.tooltip ? B((l(), x(La, {
3480
3480
  key: 0,
3481
3481
  tip: _.tooltip
3482
3482
  }, null, 8, ["tip"])), [
@@ -3485,7 +3485,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3485
3485
  _.value ? (l(), n("button", {
3486
3486
  key: 1,
3487
3487
  class: "group flex items-center uppercase text-xs relative text-nowrap",
3488
- onClick: (F) => o("orderBy", { value: _.value, orderDirection: w.orderDirection === "asc" ? "desc" : "asc" })
3488
+ onClick: (L) => o("orderBy", { value: _.value, orderDirection: w.orderDirection === "asc" ? "desc" : "asc" })
3489
3489
  }, [
3490
3490
  e("span", null, g(_.name), 1),
3491
3491
  e("span", {
@@ -3493,8 +3493,8 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3493
3493
  _.value === w.orderedBy ? "bg-black text-white group-hover:bg-lime-400 group-hover:text-black" : "group-hover:visible group-focus:visible"
3494
3494
  ], "ml-2 flex-none rounded group-hover:bg-lime-200 group-hover:text-white"])
3495
3495
  }, [
3496
- m(O, {
3497
- icon: w.orderDirection === "asc" ? c(oe) : c(st),
3496
+ m(F, {
3497
+ icon: w.orderDirection === "asc" ? c(re) : c(ot),
3498
3498
  loading: w.loading,
3499
3499
  color: _.value === w.orderedBy ? "white" : "primary"
3500
3500
  }, null, 8, ["icon", "loading", "color"])
@@ -3503,16 +3503,16 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3503
3503
  e("span", null, g(_.name), 1)
3504
3504
  ]))
3505
3505
  ], 40, Ea)), [
3506
- [D, j(A)]
3506
+ [D, j(O)]
3507
3507
  ])), 128))
3508
3508
  ])
3509
3509
  ]),
3510
3510
  e("tbody", Za, [
3511
- (l(!0), n($, null, S(w.items, (_, A) => (l(), n("tr", {
3511
+ (l(!0), n($, null, S(w.items, (_, O) => (l(), n("tr", {
3512
3512
  key: _.id,
3513
3513
  class: y([
3514
3514
  c(r).includes(_.id) && "bg-gray-50",
3515
- A % 2 == 0 ? void 0 : "bg-gray-50"
3515
+ O % 2 == 0 ? void 0 : "bg-gray-50"
3516
3516
  ])
3517
3517
  }, [
3518
3518
  e("td", {
@@ -3521,39 +3521,39 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3521
3521
  c(r).includes(_.id) ? (l(), n("div", Ja)) : b("", !0),
3522
3522
  w.actions?.length > 0 ? B((l(), n("input", {
3523
3523
  key: 1,
3524
- "onUpdate:modelValue": T[0] || (T[0] = (F) => xe(r) ? r.value = F : r = F),
3524
+ "onUpdate:modelValue": T[0] || (T[0] = (L) => _e(r) ? r.value = L : r = L),
3525
3525
  value: _.id,
3526
3526
  class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-black focus:ring-lime-400 flex-wrap",
3527
3527
  type: "checkbox"
3528
3528
  }, null, 8, Wa)), [
3529
- [Ee, c(r)]
3529
+ [Ue, c(r)]
3530
3530
  ]) : b("", !0)
3531
3531
  ], 2),
3532
- (l(!0), n($, null, S(_.row, (F, C) => B((l(), n("td", {
3532
+ (l(!0), n($, null, S(_.row, (L, C) => B((l(), n("td", {
3533
3533
  key: C,
3534
3534
  class: y([
3535
3535
  "whitespace-nowrap py-4 pr-3 text-sm",
3536
3536
  c(r).includes(_.id) ? "text-black font-bold" : ""
3537
3537
  ])
3538
3538
  }, [
3539
- typeof F == "object" && F.type === "tag" ? (l(), k(Z, {
3539
+ typeof L == "object" && L.type === "tag" ? (l(), x(Z, {
3540
3540
  key: 0,
3541
3541
  loading: w.loading,
3542
- color: F.color
3542
+ color: L.color
3543
3543
  }, {
3544
3544
  default: f(() => [
3545
- z(g(F.content), 1)
3545
+ z(g(L.content), 1)
3546
3546
  ]),
3547
3547
  _: 2
3548
- }, 1032, ["loading", "color"])) : typeof F == "object" && F.type === "link" ? (l(), n("span", {
3548
+ }, 1032, ["loading", "color"])) : typeof L == "object" && L.type === "link" ? (l(), n("span", {
3549
3549
  key: 1,
3550
3550
  class: "text-black font-bold underline hover:text-lime-400 cursor-pointer",
3551
- onClick: (q) => v(F)
3552
- }, g(F.content), 9, Ga)) : typeof F == "object" && F.type === "href" ? (l(), n("a", {
3551
+ onClick: (R) => v(L)
3552
+ }, g(L.content), 9, Ga)) : typeof L == "object" && L.type === "href" ? (l(), n("a", {
3553
3553
  key: 2,
3554
3554
  class: "text-black font-bold underline hover:text-lime-400 cursor-pointer",
3555
- href: F.href
3556
- }, g(F.content), 9, Qa)) : (l(), n("span", Ka, g(F), 1))
3555
+ href: L.href
3556
+ }, g(L.content), 9, Qa)) : (l(), n("span", Ka, g(L), 1))
3557
3557
  ], 2)), [
3558
3558
  [D, j(C)]
3559
3559
  ])), 128))
@@ -3654,7 +3654,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3654
3654
  },
3655
3655
  emits: ["timelineEventClicked", "timelineFooterClicked"],
3656
3656
  setup(p, { emit: u }) {
3657
- const i = ae(p.timeline);
3657
+ const i = ne(p.timeline);
3658
3658
  return (s, o) => s.loading ? (l(), n("div", _n, [
3659
3659
  o[3] || (o[3] = e("div", { class: "px-4 py-5 sm:px-6 animate-pulse" }, [
3660
3660
  e("h1", { class: "text-xl font-bold" }, [
@@ -3667,7 +3667,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3667
3667
  (l(), n($, null, S(10, (t, a) => e("li", { key: a }, [
3668
3668
  e("div", Bn, [
3669
3669
  t !== 10 ? (l(), n("span", Mn)) : b("", !0),
3670
- o[2] || (o[2] = te('<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))
3670
+ o[2] || (o[2] = le('<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))
3671
3671
  ])
3672
3672
  ])), 64))
3673
3673
  ])
@@ -3705,7 +3705,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3705
3705
  "bg-yellow-400": t?.iconBackground === "warning"
3706
3706
  }, "h-8 w-8 rounded-full flex items-center justify-center ring-4 ring-white"])
3707
3707
  }, [
3708
- m(O, {
3708
+ m(F, {
3709
3709
  loading: s.loading,
3710
3710
  icon: t?.icon,
3711
3711
  "aria-hidden": "true",
@@ -3746,7 +3746,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3746
3746
  }, g(s.timeline.footerText), 1)
3747
3747
  ])
3748
3748
  ])) : (l(), n("div", xn, [
3749
- m(O, {
3749
+ m(F, {
3750
3750
  icon: c(W),
3751
3751
  color: "gray",
3752
3752
  loading: !1,
@@ -3772,7 +3772,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3772
3772
  emits: ["topBarClick"],
3773
3773
  setup(p, { emit: u }) {
3774
3774
  const r = p, i = Y(() => r.navigation ? Array.isArray(r.navigation) ? r.navigation : [r.navigation] : []);
3775
- return (s, o) => (l(), k(c(De), {
3775
+ return (s, o) => (l(), x(c(Te), {
3776
3776
  as: "nav",
3777
3777
  class: "bg-white shadow z-10"
3778
3778
  }, {
@@ -3784,11 +3784,11 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3784
3784
  m(c(Q), { class: "inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500" }, {
3785
3785
  default: f(() => [
3786
3786
  o[1] || (o[1] = e("span", { class: "sr-only" }, "Open main menu", -1)),
3787
- t ? (l(), k(c(K), {
3787
+ t ? (l(), x(c(K), {
3788
3788
  key: 1,
3789
3789
  class: "block h-6 w-6",
3790
3790
  "aria-hidden": "true"
3791
- })) : (l(), k(c(et), {
3791
+ })) : (l(), x(c(tt), {
3792
3792
  key: 0,
3793
3793
  class: "block h-6 w-6",
3794
3794
  "aria-hidden": "true"
@@ -3811,13 +3811,13 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3811
3811
  ]),
3812
3812
  e("div", On, [
3813
3813
  e("div", An, [
3814
- m(c(_e), {
3814
+ m(c($e), {
3815
3815
  as: "div",
3816
3816
  class: "ml-3 relative"
3817
3817
  }, {
3818
3818
  default: f(() => [
3819
3819
  e("div", null, [
3820
- B(m(c($e), { class: "bg-white rounded-full flex text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 relative" }, {
3820
+ B(m(c(Ce), { class: "bg-white rounded-full flex text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 relative" }, {
3821
3821
  default: f(() => [
3822
3822
  B(e("div", In, o[2] || (o[2] = [
3823
3823
  e("span", { class: "animate-ping absolute inline-flex h-4 w-4 bg-red-500 rounded-full opacity-75" }, null, -1)
@@ -3834,7 +3834,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3834
3834
  [D, s.accountLogo]
3835
3835
  ])
3836
3836
  ]),
3837
- m(re, {
3837
+ m(ae, {
3838
3838
  "enter-active-class": "transition ease-out duration-200",
3839
3839
  "enter-from-class": "transform opacity-0 scale-95",
3840
3840
  "enter-to-class": "transform opacity-100 scale-100",
@@ -3843,9 +3843,9 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3843
3843
  "leave-to-class": "transform opacity-0 scale-95"
3844
3844
  }, {
3845
3845
  default: f(() => [
3846
- m(c(Ce), { 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" }, {
3846
+ m(c(Se), { 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" }, {
3847
3847
  default: f(() => [
3848
- (l(!0), n($, null, S(s.profileMenu, (a) => (l(), k(c(Se), {
3848
+ (l(!0), n($, null, S(s.profileMenu, (a) => (l(), x(c(Be), {
3849
3849
  key: a.name
3850
3850
  }, {
3851
3851
  default: f(({ active: d }) => [
@@ -3872,10 +3872,10 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3872
3872
  ])
3873
3873
  ])
3874
3874
  ]),
3875
- m(c(Te), { class: "lg:hidden" }, {
3875
+ m(c(ze), { class: "lg:hidden" }, {
3876
3876
  default: f(() => [
3877
3877
  e("div", Vn, [
3878
- (l(!0), n($, null, S(i.value, (a) => (l(), k(c(Q), {
3878
+ (l(!0), n($, null, S(i.value, (a) => (l(), x(c(Q), {
3879
3879
  as: "template",
3880
3880
  key: a.id,
3881
3881
  class: y(["block pl-3 pr-4 py-2 border-l-4 text-base font-medium sm:pl-5 sm:pr-6", {
@@ -3905,7 +3905,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3905
3905
  ])) : b("", !0)
3906
3906
  ]),
3907
3907
  e("div", Wn, [
3908
- (l(!0), n($, null, S(s.profileMenu, (a) => (l(), k(c(Q), {
3908
+ (l(!0), n($, null, S(s.profileMenu, (a) => (l(), x(c(Q), {
3909
3909
  as: "template",
3910
3910
  key: a.name,
3911
3911
  class: "block px-4 py-2 text-base font-medium text-gray-500 hover:text-gray-800 hover:bg-gray-100 sm:px-6"
@@ -4028,7 +4028,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4028
4028
  }, null, 8, ["range"])
4029
4029
  ]),
4030
4030
  B(e("div", li, [
4031
- m(c(ze), {
4031
+ m(c(Le), {
4032
4032
  type: h.type,
4033
4033
  series: t.value,
4034
4034
  width: "100%",
@@ -4042,7 +4042,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4042
4042
  [D, !h.empty]
4043
4043
  ]),
4044
4044
  B(e("div", si, [
4045
- m(O, {
4045
+ m(F, {
4046
4046
  icon: c(W),
4047
4047
  color: "gray",
4048
4048
  loading: !1,
@@ -4098,7 +4098,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4098
4098
  emits: ["action", "noResultsOptionSelected"],
4099
4099
  setup(p) {
4100
4100
  return (u, r) => (l(), n("div", ai, [
4101
- m(O, {
4101
+ m(F, {
4102
4102
  class: "mx-auto",
4103
4103
  loading: !1,
4104
4104
  icon: c(W),
@@ -4109,7 +4109,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4109
4109
  e("h2", ii, g(u.title), 1),
4110
4110
  e("p", di, g(u.message), 1),
4111
4111
  e("div", ui, [
4112
- (l(!0), n($, null, S(u.actions, (i, s) => (l(), k(U, {
4112
+ (l(!0), n($, null, S(u.actions, (i, s) => (l(), x(U, {
4113
4113
  key: s,
4114
4114
  loading: !1,
4115
4115
  onClick: (o) => u.$emit("action", i.action)
@@ -4119,7 +4119,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4119
4119
  ]),
4120
4120
  _: 2
4121
4121
  }, 1032, ["onClick"]))), 128)),
4122
- u.items ? (l(), k(he, {
4122
+ u.items ? (l(), x(ye, {
4123
4123
  key: 0,
4124
4124
  items: u.items,
4125
4125
  loading: !1,
@@ -4138,12 +4138,12 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4138
4138
  },
4139
4139
  emits: ["closeRightBar"],
4140
4140
  setup(p, { emit: u }) {
4141
- return (r, i) => (l(), k(c(Be), {
4141
+ return (r, i) => (l(), x(c(Me), {
4142
4142
  as: "template",
4143
4143
  show: r.open
4144
4144
  }, {
4145
4145
  default: f(() => [
4146
- m(c(Me), {
4146
+ m(c(je), {
4147
4147
  as: "div",
4148
4148
  class: "relative z-10",
4149
4149
  onClose: i[1] || (i[1] = (s) => r.$emit("closeRightBar"))
@@ -4153,7 +4153,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4153
4153
  e("div", gi, [
4154
4154
  e("div", mi, [
4155
4155
  e("div", pi, [
4156
- m(c(X), {
4156
+ m(c(ee), {
4157
4157
  as: "template",
4158
4158
  enter: "transform transition ease-in-out duration-500 sm:duration-700",
4159
4159
  "enter-from": "translate-x-full",
@@ -4163,12 +4163,12 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4163
4163
  "leave-to": "translate-x-full"
4164
4164
  }, {
4165
4165
  default: f(() => [
4166
- m(c(je), { class: "pointer-events-auto w-screen max-w-md" }, {
4166
+ m(c(De), { class: "pointer-events-auto w-screen max-w-md" }, {
4167
4167
  default: f(() => [
4168
4168
  e("div", fi, [
4169
4169
  e("div", hi, [
4170
4170
  e("div", yi, [
4171
- m(c(Qe), { class: "text-base font-semibold leading-6" }, {
4171
+ m(c(Ke), { class: "text-base font-semibold leading-6" }, {
4172
4172
  default: f(() => [
4173
4173
  z(g(r.title), 1)
4174
4174
  ]),
@@ -4232,11 +4232,11 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4232
4232
  },
4233
4233
  emits: ["modalAction", "deleteImage", "imgClicked"],
4234
4234
  setup(p, { emit: u }) {
4235
- const r = u, i = N(!1), s = (o) => {
4235
+ const r = u, i = A(!1), s = (o) => {
4236
4236
  i.value = !1, r("modalAction", o);
4237
4237
  };
4238
4238
  return (o, t) => (l(), n("div", _i, [
4239
- o.loading ? b("", !0) : (l(), k(at, {
4239
+ o.loading ? b("", !0) : (l(), x(nt, {
4240
4240
  key: 0,
4241
4241
  open: i.value,
4242
4242
  modalName: "deleteAllImagesModal",
@@ -4276,9 +4276,9 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4276
4276
  e("p", Mi, g(a.title), 1),
4277
4277
  e("div", ji, [
4278
4278
  e("p", Di, g(a.size), 1),
4279
- m(O, {
4279
+ m(F, {
4280
4280
  class: "cursor-pointer",
4281
- icon: c(pe),
4281
+ icon: c(fe),
4282
4282
  color: "red",
4283
4283
  loading: !1,
4284
4284
  onClick: (d) => o.$emit("deleteImage", a)
@@ -4286,7 +4286,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4286
4286
  ])
4287
4287
  ]))), 128))
4288
4288
  ])),
4289
- o.gallery.length > 0 && !o.loading ? (l(), k(U, {
4289
+ o.gallery.length > 0 && !o.loading ? (l(), x(U, {
4290
4290
  key: 3,
4291
4291
  onClick: t[1] || (t[1] = (a) => i.value = !0),
4292
4292
  class: "mt-8",
@@ -4313,7 +4313,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4313
4313
  emits: ["dragAndDropUpdated"],
4314
4314
  setup(p, { emit: u }) {
4315
4315
  const r = u, i = p;
4316
- let s = N(i.elements);
4316
+ let s = A(i.elements);
4317
4317
  H(() => i.elements, (t) => {
4318
4318
  s.value = t;
4319
4319
  });
@@ -4321,19 +4321,19 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4321
4321
  r("dragAndDropUpdated", t);
4322
4322
  };
4323
4323
  return (t, a) => t.loading ? (l(), n("div", Pi, a[2] || (a[2] = [
4324
- te('<div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div>', 5)
4325
- ]))) : (l(), k(c(St), {
4324
+ le('<div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div>', 5)
4325
+ ]))) : (l(), x(c(St), {
4326
4326
  key: 0,
4327
4327
  modelValue: c(s),
4328
4328
  "onUpdate:modelValue": [
4329
- a[0] || (a[0] = (d) => xe(s) ? s.value = d : s = d),
4329
+ a[0] || (a[0] = (d) => _e(s) ? s.value = d : s = d),
4330
4330
  a[1] || (a[1] = (d) => o(d))
4331
4331
  ]
4332
4332
  }, {
4333
4333
  item: f(({ item: d }) => [
4334
4334
  e("div", Li, [
4335
4335
  e("div", Fi, [
4336
- m(O, {
4336
+ m(F, {
4337
4337
  icon: c(Vt),
4338
4338
  loading: !1,
4339
4339
  color: "gray",
@@ -4373,8 +4373,8 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4373
4373
  },
4374
4374
  emits: ["selectedRange", "chartUpdated", "dataPointSelection", "maximizeChart"],
4375
4375
  setup(p, { emit: u }) {
4376
- const r = u, i = p, s = N((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":")));
4377
- let o = ae(i.dates || { from: "", to: s });
4376
+ const r = u, i = p, s = A((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":")));
4377
+ let o = ne(i.dates || { from: "", to: s });
4378
4378
  H(() => i.dates, (T) => {
4379
4379
  T && (o = T);
4380
4380
  });
@@ -4410,8 +4410,8 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4410
4410
  }
4411
4411
  }
4412
4412
  };
4413
- const a = () => ({ ...t, ...i.options }), d = Y(() => i.series), h = Y(() => a()), v = () => r("chartUpdated"), j = (T, _, A) => {
4414
- r("dataPointSelection", { id: i.id, chartContext: _, config: A, event: T });
4413
+ const a = () => ({ ...t, ...i.options }), d = Y(() => i.series), h = Y(() => a()), v = () => r("chartUpdated"), j = (T, _, O) => {
4414
+ r("dataPointSelection", { id: i.id, chartContext: _, config: O, event: T });
4415
4415
  }, w = () => {
4416
4416
  o.from !== "" && o.to !== "" && V(o.from).isBefore(V(o.to)) && r("selectedRange", { range: o, chartId: i.id });
4417
4417
  };
@@ -4425,40 +4425,40 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4425
4425
  e("div", Ei, [
4426
4426
  B(e("input", {
4427
4427
  type: "datetime-local",
4428
- "onUpdate:modelValue": _[0] || (_[0] = (A) => c(o).from = A),
4428
+ "onUpdate:modelValue": _[0] || (_[0] = (O) => c(o).from = O),
4429
4429
  max: s.value.toString(),
4430
4430
  onChange: w,
4431
4431
  name: "from",
4432
4432
  id: "from",
4433
4433
  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"
4434
4434
  }, null, 40, Ui), [
4435
- [se, c(o).from]
4435
+ [oe, c(o).from]
4436
4436
  ])
4437
4437
  ]),
4438
4438
  e("div", Hi, [
4439
4439
  B(e("input", {
4440
4440
  type: "datetime-local",
4441
- "onUpdate:modelValue": _[1] || (_[1] = (A) => c(o).to = A),
4441
+ "onUpdate:modelValue": _[1] || (_[1] = (O) => c(o).to = O),
4442
4442
  max: s.value.toString(),
4443
4443
  onChange: w,
4444
4444
  name: "to",
4445
4445
  id: "to",
4446
4446
  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"
4447
4447
  }, null, 40, Zi), [
4448
- [se, c(o).to]
4448
+ [oe, c(o).to]
4449
4449
  ])
4450
4450
  ]),
4451
- m(O, {
4451
+ m(F, {
4452
4452
  class: "ml-4 cursor-pointer",
4453
4453
  size: "big",
4454
4454
  loading: T.loading,
4455
- icon: c(Xe),
4456
- onClick: _[2] || (_[2] = (A) => T.$emit("maximizeChart", T.id))
4455
+ icon: c(et),
4456
+ onClick: _[2] || (_[2] = (O) => T.$emit("maximizeChart", T.id))
4457
4457
  }, null, 8, ["loading", "icon"])
4458
4458
  ])
4459
4459
  ]),
4460
4460
  B(e("div", Ji, [
4461
- m(c(ze), {
4461
+ m(c(Le), {
4462
4462
  class: "flex items-center justify-center mt-4",
4463
4463
  type: "donut",
4464
4464
  series: d.value,
@@ -4472,7 +4472,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4472
4472
  [D, !T.empty]
4473
4473
  ]),
4474
4474
  B(e("div", Wi, [
4475
- m(O, {
4475
+ m(F, {
4476
4476
  icon: c(W),
4477
4477
  color: "gray",
4478
4478
  loading: !1,
@@ -4537,8 +4537,8 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4537
4537
  },
4538
4538
  emits: ["uiDateRangeButtonClicked"],
4539
4539
  setup(p, { emit: u }) {
4540
- const r = p, i = N((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":")));
4541
- let s = ae(r.values || { from: "", to: i });
4540
+ const r = p, i = A((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":")));
4541
+ let s = ne(r.values || { from: "", to: i });
4542
4542
  const o = u;
4543
4543
  H(() => r.values, (a) => {
4544
4544
  a && (s = a);
@@ -4627,7 +4627,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4627
4627
  },
4628
4628
  emits: ["sliderUpdated"],
4629
4629
  setup(p, { emit: u }) {
4630
- const r = u, s = N(p.sliderValue);
4630
+ const r = u, s = A(p.sliderValue);
4631
4631
  return (o, t) => (l(), n("div", null, [
4632
4632
  e("div", td, [
4633
4633
  o.label ? (l(), n("label", ld, g(o.label), 1)) : b("", !0),
@@ -4636,7 +4636,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4636
4636
  e("div", {
4637
4637
  class: y([{ "mt-1": o.label }, "pt-16 px-6 pb-6 bg-gray-50 border border-black rounded-lg shadow-sm"])
4638
4638
  }, [
4639
- o.loading ? (l(), n("p", od)) : (l(), k(c(Bt), {
4639
+ o.loading ? (l(), n("p", od)) : (l(), x(c(Bt), {
4640
4640
  key: 0,
4641
4641
  modelValue: s.value,
4642
4642
  "onUpdate:modelValue": t[0] || (t[0] = (a) => s.value = a),
@@ -4688,7 +4688,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4688
4688
  return (r, i) => r.loading ? (l(), n("div", md, [
4689
4689
  e("div", pd, [
4690
4690
  e("div", fd, [
4691
- m(O, {
4691
+ m(F, {
4692
4692
  icon: r.icon,
4693
4693
  size: "huge",
4694
4694
  class: "text-white",
@@ -4699,7 +4699,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4699
4699
  i[3] || (i[3] = e("div", { class: "h-4 bg-gray-200 rounded-full dark:bg-gray-300 w-1/3 mx-auto" }, null, -1)),
4700
4700
  e("dl", hd, [
4701
4701
  e("dd", yd, [
4702
- (l(!0), n($, null, S(r.tags, (s, o) => (l(), k(Z, {
4702
+ (l(!0), n($, null, S(r.tags, (s, o) => (l(), x(Z, {
4703
4703
  key: o,
4704
4704
  loading: r.loading,
4705
4705
  event: s.event,
@@ -4725,7 +4725,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4725
4725
  "bg-gray-100": r.color === "light"
4726
4726
  }])
4727
4727
  }, [
4728
- m(O, {
4728
+ m(F, {
4729
4729
  icon: r.icon,
4730
4730
  size: "huge",
4731
4731
  color: "black",
@@ -4744,7 +4744,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4744
4744
  ]),
4745
4745
  e("dl", cd, [
4746
4746
  e("dd", gd, [
4747
- (l(!0), n($, null, S(r.tags, (s, o) => (l(), k(Z, {
4747
+ (l(!0), n($, null, S(r.tags, (s, o) => (l(), x(Z, {
4748
4748
  key: o,
4749
4749
  loading: !1,
4750
4750
  event: s.event,
@@ -4770,21 +4770,21 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4770
4770
  },
4771
4771
  emits: ["productBarClick", "sideBarClick", "selectChanged", "topBarClick", "checkboxChanged", "inputChanged", "sidebarToggle", "bellClick"],
4772
4772
  setup(p, { emit: u }) {
4773
- const r = p, i = u, s = N(r.sidebarOpen), o = () => {
4773
+ const r = p, i = u, s = A(r.sidebarOpen), o = () => {
4774
4774
  s.value = !s.value, i("sidebarToggle", s.value);
4775
4775
  };
4776
4776
  return (t, a) => (l(), n("div", null, [
4777
- m(c(Be), {
4777
+ m(c(Me), {
4778
4778
  as: "template",
4779
4779
  show: s.value
4780
4780
  }, {
4781
4781
  default: f(() => [
4782
- m(c(Me), {
4782
+ m(c(je), {
4783
4783
  class: "relative z-50 lg:hidden",
4784
4784
  onClose: o
4785
4785
  }, {
4786
4786
  default: f(() => [
4787
- m(c(X), {
4787
+ m(c(ee), {
4788
4788
  as: "template",
4789
4789
  enter: "transition-opacity ease-linear duration-300",
4790
4790
  "enter-from": "opacity-0",
@@ -4800,7 +4800,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4800
4800
  __: [10]
4801
4801
  }),
4802
4802
  e("div", bd, [
4803
- m(c(X), {
4803
+ m(c(ee), {
4804
4804
  as: "template",
4805
4805
  enter: "transition ease-in-out duration-300 transform",
4806
4806
  "enter-from": "-translate-x-full",
@@ -4810,9 +4810,9 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4810
4810
  "leave-to": "-translate-x-full"
4811
4811
  }, {
4812
4812
  default: f(() => [
4813
- m(c(je), { class: "relative mr-16 flex w-full max-w-xs flex-1" }, {
4813
+ m(c(De), { class: "relative mr-16 flex w-full max-w-xs flex-1" }, {
4814
4814
  default: f(() => [
4815
- m(c(X), {
4815
+ m(c(ee), {
4816
4816
  as: "template",
4817
4817
  enter: "ease-in-out duration-300",
4818
4818
  "enter-from": "opacity-0",
@@ -4838,7 +4838,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4838
4838
  ]),
4839
4839
  _: 1
4840
4840
  }),
4841
- m(we, {
4841
+ m(ke, {
4842
4842
  productsSidebar: t.sidebar.productsSidebar,
4843
4843
  isFilterNavigation: t.sidebar.isFilterNavigation,
4844
4844
  navigation: t.sidebar.navigation,
@@ -4864,7 +4864,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4864
4864
  _: 1
4865
4865
  }, 8, ["show"]),
4866
4866
  e("div", kd, [
4867
- m(we, {
4867
+ m(ke, {
4868
4868
  productsSidebar: t.sidebar.productsSidebar,
4869
4869
  isFilterNavigation: t.sidebar.isFilterNavigation,
4870
4870
  navigation: t.sidebar.navigation,
@@ -4885,7 +4885,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4885
4885
  onClick: o
4886
4886
  }, [
4887
4887
  a[12] || (a[12] = e("span", { class: "sr-only" }, "Open sidebar", -1)),
4888
- m(c(et), {
4888
+ m(c(tt), {
4889
4889
  class: "h-6 w-6",
4890
4890
  "aria-hidden": "true"
4891
4891
  })
@@ -4895,7 +4895,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4895
4895
  "aria-hidden": "true"
4896
4896
  }, null, -1)),
4897
4897
  e("div", $d, [
4898
- m(ee, {
4898
+ m(te, {
4899
4899
  isWrapped: !0,
4900
4900
  class: "w-full self-center relative",
4901
4901
  items: t.topbar.selectItems,
@@ -4923,12 +4923,12 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4923
4923
  class: "hidden lg:block lg:h-6 lg:w-px lg:bg-gray-200",
4924
4924
  "aria-hidden": "true"
4925
4925
  }, null, -1)),
4926
- m(c(_e), {
4926
+ m(c($e), {
4927
4927
  as: "div",
4928
4928
  class: "relative"
4929
4929
  }, {
4930
4930
  default: f(() => [
4931
- m(c($e), { class: "-m-1.5 flex items-center p-1.5" }, {
4931
+ m(c(Ce), { class: "-m-1.5 flex items-center p-1.5" }, {
4932
4932
  default: f(() => [
4933
4933
  a[15] || (a[15] = e("span", { class: "sr-only" }, "Open user menu", -1)),
4934
4934
  e("img", {
@@ -4937,7 +4937,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4937
4937
  alt: ""
4938
4938
  }, null, 8, Bd),
4939
4939
  e("span", Md, [
4940
- m(c(oe), {
4940
+ m(c(re), {
4941
4941
  class: "ml-2 h-5 w-5 text-gray-400",
4942
4942
  "aria-hidden": "true"
4943
4943
  })
@@ -4946,7 +4946,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4946
4946
  _: 1,
4947
4947
  __: [15]
4948
4948
  }),
4949
- m(re, {
4949
+ m(ae, {
4950
4950
  "enter-active-class": "transition ease-out duration-100",
4951
4951
  "enter-from-class": "transform opacity-0 scale-95",
4952
4952
  "enter-to-class": "transform opacity-100 scale-100",
@@ -4955,9 +4955,9 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4955
4955
  "leave-to-class": "transform opacity-0 scale-95"
4956
4956
  }, {
4957
4957
  default: f(() => [
4958
- m(c(Ce), { 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" }, {
4958
+ m(c(Se), { 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" }, {
4959
4959
  default: f(() => [
4960
- (l(!0), n($, null, S(t.topbar.profileMenu, (d) => (l(), k(c(Se), {
4960
+ (l(!0), n($, null, S(t.topbar.profileMenu, (d) => (l(), x(c(Be), {
4961
4961
  key: d.name
4962
4962
  }, {
4963
4963
  default: f(({ active: h }) => [
@@ -4995,12 +4995,12 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4995
4995
  loading: { type: Boolean, default: !0 }
4996
4996
  },
4997
4997
  setup(p) {
4998
- const u = p, r = () => u.dynamicStats.length <= 5 ? `lg:grid-cols-${u.dynamicStats.length}` : `lg:grid-cols-${Math.floor(u.dynamicStats.length / 2)} xl:grid-cols-${u.dynamicStats.length}`, i = N(0), s = N(r());
4998
+ const u = p, r = () => u.dynamicStats.length <= 5 ? `lg:grid-cols-${u.dynamicStats.length}` : `lg:grid-cols-${Math.floor(u.dynamicStats.length / 2)} xl:grid-cols-${u.dynamicStats.length}`, i = A(0), s = A(r());
4999
4999
  return mt(() => i.value += 1), (o, t) => (l(), n("div", {
5000
5000
  class: y([s.value, "grid grid-cols-1 md:grid-cols-2 gap-4"]),
5001
5001
  key: i.value
5002
5002
  }, [
5003
- (l(!0), n($, null, S(o.dynamicStats, (a, d) => (l(), k(it, {
5003
+ (l(!0), n($, null, S(o.dynamicStats, (a, d) => (l(), x(dt, {
5004
5004
  key: d,
5005
5005
  item: a,
5006
5006
  loading: o.loading
@@ -5016,7 +5016,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
5016
5016
  }, Pd = ["onClick"], Vd = { class: "absolute mt-1 w-full rounded-md bg-white shadow-lg z-50" }, Yd = {
5017
5017
  key: 1,
5018
5018
  class: "animate-pulse px-4 py-2.5 bg-gray-200 rounded-md flex justify-between items-center w-full"
5019
- }, dt = /* @__PURE__ */ M({
5019
+ }, ut = /* @__PURE__ */ M({
5020
5020
  __name: "uiSelectMultiple",
5021
5021
  props: {
5022
5022
  items: {},
@@ -5033,7 +5033,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
5033
5033
  emits: ["selectChanged"],
5034
5034
  setup(p, { emit: u }) {
5035
5035
  const r = u, i = p;
5036
- let s = N(Array.isArray(i.select) ? i.select : i.select ? [i.select] : []);
5036
+ let s = A(Array.isArray(i.select) ? i.select : i.select ? [i.select] : []);
5037
5037
  const o = (a) => {
5038
5038
  r("selectChanged", a);
5039
5039
  };
@@ -5042,15 +5042,15 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
5042
5042
  }
5043
5043
  return (a, d) => a.loading ? (l(), n("div", Yd, [
5044
5044
  d[4] || (d[4] = e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, null, -1)),
5045
- m(c(be), {
5045
+ m(c(we), {
5046
5046
  "aria-hidden": "true",
5047
5047
  class: "-mr-1 ml-2 h-5 w-5"
5048
5048
  })
5049
- ])) : (l(), k(c(vt), {
5049
+ ])) : (l(), x(c(vt), {
5050
5050
  key: 0,
5051
5051
  modelValue: c(s),
5052
5052
  "onUpdate:modelValue": [
5053
- d[0] || (d[0] = (h) => xe(s) ? s.value = h : s = h),
5053
+ d[0] || (d[0] = (h) => _e(s) ? s.value = h : s = h),
5054
5054
  o
5055
5055
  ],
5056
5056
  name: "selectorMultiple",
@@ -5100,7 +5100,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
5100
5100
  stroke: "currentColor",
5101
5101
  viewBox: "0 0 24 24",
5102
5102
  xmlns: "http://www.w3.org/2000/svg",
5103
- onClick: ye((v) => t(h), ["stop", "prevent"])
5103
+ onClick: ve((v) => t(h), ["stop", "prevent"])
5104
5104
  }, d[1] || (d[1] = [
5105
5105
  e("path", {
5106
5106
  "stroke-linecap": "round",
@@ -5133,7 +5133,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
5133
5133
  e("div", Vd, [
5134
5134
  m(c(kt), { class: "shadow-2xs focus:outline-hidden max-h-60 overflow-auto rounded-md py-1 text-base leading-6 sm:text-sm sm:leading-5" }, {
5135
5135
  default: f(() => [
5136
- (l(!0), n($, null, S(a.items, (h) => (l(), k(c(xt), {
5136
+ (l(!0), n($, null, S(a.items, (h) => (l(), x(c(xt), {
5137
5137
  key: h.id,
5138
5138
  value: h,
5139
5139
  as: "template"
@@ -5184,7 +5184,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
5184
5184
  _: 1
5185
5185
  }, 8, ["modelValue", "disabled"]));
5186
5186
  }
5187
- }), qd = { class: "flex flex-col lg:flex-row items-center" }, ke = /* @__PURE__ */ M({
5187
+ }), qd = { class: "flex flex-col lg:flex-row items-center" }, xe = /* @__PURE__ */ M({
5188
5188
  __name: "uiSmartFilter",
5189
5189
  props: {
5190
5190
  items: {},
@@ -5196,38 +5196,38 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
5196
5196
  },
5197
5197
  emits: ["smartFilterSelected", "smartInputChanged", "smartSelectChanged", "smartOptionSelected", "rightAddOnClicked"],
5198
5198
  setup(p, { emit: u }) {
5199
- const r = p, i = u, s = pt(J), o = N(r.items[0].props), t = (a) => {
5199
+ const r = p, i = u, s = pt(J), o = A(r.items[0].props), t = (a) => {
5200
5200
  switch (a.type) {
5201
5201
  case "uiInput":
5202
5202
  s.value = J, i("smartFilterSelected", a.value);
5203
5203
  break;
5204
5204
  case "uiDropdown":
5205
- s.value = he, i("smartFilterSelected", a.value);
5205
+ s.value = ye, i("smartFilterSelected", a.value);
5206
5206
  break;
5207
5207
  case "uiSelect":
5208
- s.value = ee, i("smartFilterSelected", a.value);
5208
+ s.value = te, i("smartFilterSelected", a.value);
5209
5209
  break;
5210
5210
  case "uiSelectMultiple":
5211
- s.value = dt, i("smartFilterSelected", a.value);
5211
+ s.value = ut, i("smartFilterSelected", a.value);
5212
5212
  break;
5213
5213
  }
5214
5214
  o.value = a.props;
5215
5215
  };
5216
5216
  return (a, d) => (l(), n("div", qd, [
5217
- m(rt, {
5217
+ m(at, {
5218
5218
  items: a.items,
5219
5219
  loading: a.loading,
5220
5220
  onFilterSelected: t,
5221
5221
  class: "w-full lg:w-auto"
5222
5222
  }, null, 8, ["items", "loading"]),
5223
- (l(), k(Re(s.value), ve({ class: "w-full mt-2 lg:mt-0 lg:ml-2 lg:grow" }, o.value, {
5223
+ (l(), x(Ee(s.value), be({ class: "w-full mt-2 lg:mt-0 lg:ml-2 lg:grow" }, o.value, {
5224
5224
  loading: !1,
5225
5225
  onInputChanged: d[0] || (d[0] = (h) => i("smartInputChanged", h)),
5226
5226
  onSelectChanged: d[1] || (d[1] = (h) => i("smartSelectChanged", h)),
5227
5227
  onOptionSelected: d[2] || (d[2] = (h) => i("smartOptionSelected", h)),
5228
5228
  onRightAddOnClicked: d[3] || (d[3] = (h) => i("rightAddOnClicked"))
5229
5229
  }), null, 16)),
5230
- a.showFilterButton ? (l(), k(U, {
5230
+ a.showFilterButton ? (l(), x(U, {
5231
5231
  key: 0,
5232
5232
  class: "mt-2 lg:mt-0 w-full lg:w-auto ml-2",
5233
5233
  loading: a.loading
@@ -5243,7 +5243,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
5243
5243
  function Ud(p, u) {
5244
5244
  return l(), n("span", Ed, "AND");
5245
5245
  }
5246
- const Ye = /* @__PURE__ */ le(Rd, [["render", Ud]]), Hd = { class: "flex flex-col sm:flex-row items-center w-full" }, Zd = { class: "flex mt-4" }, Jd = /* @__PURE__ */ M({
5246
+ const qe = /* @__PURE__ */ se(Rd, [["render", Ud]]), Hd = { class: "flex flex-col sm:flex-row items-center w-full" }, Zd = { class: "flex mt-4" }, Jd = /* @__PURE__ */ M({
5247
5247
  __name: "uiSmartFilterMultiple",
5248
5248
  props: {
5249
5249
  items: {},
@@ -5255,7 +5255,7 @@ const Ye = /* @__PURE__ */ le(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
5255
5255
  },
5256
5256
  emits: ["smartFilterMultipleSent", "smartFilterSelected", "smartInputChanged", "smartSelectChanged", "smartOptionSelected", "rightAddOnClicked"],
5257
5257
  setup(p, { emit: u }) {
5258
- const r = p, i = u, s = N([JSON.parse(JSON.stringify(r))]), o = N([{ name: r.items[0].name, value: null }]), t = () => {
5258
+ const r = p, i = u, s = A([JSON.parse(JSON.stringify(r))]), o = A([{ name: r.items[0].name, value: null }]), t = () => {
5259
5259
  s.value.push(JSON.parse(JSON.stringify(r))), o.value.push({ name: r.items[0].name, value: null });
5260
5260
  }, a = () => {
5261
5261
  o.value.pop(), s.value.pop();
@@ -5266,21 +5266,21 @@ const Ye = /* @__PURE__ */ le(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
5266
5266
  };
5267
5267
  return (v, j) => (l(), n("div", null, [
5268
5268
  e("div", Hd, [
5269
- m(ke, ve(s.value[0], {
5269
+ m(xe, be(s.value[0], {
5270
5270
  class: "w-full sm:grow",
5271
5271
  onSmartInputChanged: j[0] || (j[0] = (w) => o.value[0].value = w),
5272
5272
  onSmartSelectChanged: j[1] || (j[1] = (w) => o.value[0].value = w),
5273
5273
  onSmartOptionSelected: j[2] || (j[2] = (w) => o.value[0].value = w),
5274
5274
  onSmartFilterSelected: j[3] || (j[3] = (w) => o.value[0].name = w)
5275
5275
  }), null, 16),
5276
- s.value.length > 1 ? (l(), k(Ye, {
5276
+ s.value.length > 1 ? (l(), x(qe, {
5277
5277
  key: 0,
5278
5278
  class: "w-full ml-0 mt-2 sm:mt-0 sm:w-20 sm:ml-2"
5279
5279
  })) : b("", !0),
5280
- s.value.length === 1 ? (l(), k(U, {
5280
+ s.value.length === 1 ? (l(), x(U, {
5281
5281
  key: 1,
5282
5282
  loading: !1,
5283
- icon: c(Oe),
5283
+ icon: c(Ae),
5284
5284
  class: "w-full sm:w-auto sm:ml-2 ml-0 mt-2 sm:mt-0",
5285
5285
  onClick: t
5286
5286
  }, {
@@ -5294,21 +5294,21 @@ const Ye = /* @__PURE__ */ le(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
5294
5294
  class: "flex flex-col sm:flex-row items-center w-full mt-4",
5295
5295
  key: w
5296
5296
  }, [
5297
- m(ke, ve({ ref_for: !0 }, s.value[w], {
5297
+ m(xe, be({ ref_for: !0 }, s.value[w], {
5298
5298
  class: "w-full sm:grow",
5299
5299
  onSmartInputChanged: (T) => o.value[w].value = T,
5300
5300
  onSmartSelectChanged: (T) => o.value[w].value = T,
5301
5301
  onSmartOptionSelected: (T) => o.value[w].value = T,
5302
5302
  onSmartFilterSelected: (T) => o.value[w].name = T
5303
5303
  }), null, 16, ["onSmartInputChanged", "onSmartSelectChanged", "onSmartOptionSelected", "onSmartFilterSelected"]),
5304
- s.value.length > w && s.value.length !== w + 1 ? (l(), k(Ye, {
5304
+ s.value.length > w && s.value.length !== w + 1 ? (l(), x(qe, {
5305
5305
  key: 0,
5306
5306
  class: "w-full ml-0 mt-2 sm:mt-0 sm:w-20 sm:ml-2"
5307
5307
  })) : b("", !0),
5308
- s.value.length === w + 1 ? (l(), k(U, {
5308
+ s.value.length === w + 1 ? (l(), x(U, {
5309
5309
  key: 1,
5310
5310
  loading: !1,
5311
- icon: c(pe),
5311
+ icon: c(fe),
5312
5312
  color: "red",
5313
5313
  class: "sm:ml-2 ml-0 mt-2 sm:mt-0",
5314
5314
  onClick: a
@@ -5318,10 +5318,10 @@ const Ye = /* @__PURE__ */ le(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
5318
5318
  ]),
5319
5319
  _: 1
5320
5320
  }, 8, ["icon"])) : b("", !0),
5321
- s.value.length === w + 1 ? (l(), k(U, {
5321
+ s.value.length === w + 1 ? (l(), x(U, {
5322
5322
  key: 2,
5323
5323
  loading: !1,
5324
- icon: c(Oe),
5324
+ icon: c(Ae),
5325
5325
  class: "sm:ml-2 ml-0 mt-2 sm:mt-0",
5326
5326
  onClick: t
5327
5327
  }, {
@@ -5376,108 +5376,108 @@ const Ye = /* @__PURE__ */ le(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
5376
5376
  },
5377
5377
  emits: ["smartFiltersSent", "smartFiltersCleared", "smartFilterDeleted"],
5378
5378
  setup(p, { emit: u }) {
5379
- const r = p, i = u, s = N({ id: "1", name: r.literals.and }), o = ae([]), t = N(r.availableCategories[0] || {}), a = (x) => x ? x === "uiInput" ? r.literals.contains : r.literals.is : "", d = (x) => {
5380
- o.splice(0, o.length), x.logicOperator === "and" || x.logicOperator === r.literals.and ? s.value = { id: "1", name: r.literals.and } : (x.logicOperator === "or" || x.logicOperator === r.literals.or) && (s.value = { id: "2", name: r.literals.or }), x.filters.forEach((I) => {
5381
- const L = r.availableCategories.find((R) => R.name === I.name);
5382
- if (L) {
5383
- const R = {
5384
- label: I.label,
5385
- name: I.name,
5386
- type: I.type,
5387
- props: { ...L.defaultProps }
5379
+ const r = p, i = u, s = A({ id: "1", name: r.literals.and }), o = ne([]), t = A(r.availableCategories[0] || {}), a = (k) => k ? k === "uiInput" ? r.literals.contains : r.literals.is : "", d = (k) => {
5380
+ o.splice(0, o.length), k.logicOperator === "and" || k.logicOperator === r.literals.and ? s.value = { id: "1", name: r.literals.and } : (k.logicOperator === "or" || k.logicOperator === r.literals.or) && (s.value = { id: "2", name: r.literals.or }), k.filters.forEach((N) => {
5381
+ const q = r.availableCategories.find((P) => P.name === N.name);
5382
+ if (q) {
5383
+ const P = {
5384
+ label: N.label,
5385
+ name: N.name,
5386
+ type: N.type,
5387
+ props: { ...q.defaultProps }
5388
5388
  };
5389
- if (I.type === "uiInput")
5390
- R.props.value = I.value || "";
5391
- else if (I.type === "uiSelect") {
5392
- const G = L.defaultProps.items?.find((ut) => ut.name === I.value);
5393
- G ? R.props.select = G : L.defaultProps.items && L.defaultProps.items.length > 0 && (R.props.select = L.defaultProps.items[0]);
5389
+ if (N.type === "uiInput")
5390
+ P.props.value = N.value || "";
5391
+ else if (N.type === "uiSelect") {
5392
+ const G = q.defaultProps.items?.find((X) => X.name === N.value);
5393
+ G ? P.props.select = G : q.defaultProps.items && q.defaultProps.items.length > 0 && (P.props.select = q.defaultProps.items[0]);
5394
5394
  }
5395
- o.push(R);
5395
+ o.push(P);
5396
5396
  }
5397
5397
  });
5398
5398
  };
5399
- H(() => r.literals, (x) => {
5400
- s.value.id === "1" ? s.value.name = x.and : s.value.id === "2" && (s.value.name = x.or);
5401
- }, { deep: !0 }), H(() => r.availableCategories, (x) => {
5402
- x.length > 0 && (!t.value.name || !x.some((I) => I.name === t.value.name)) && (t.value = x[0]);
5403
- }, { deep: !0, immediate: !0 }), H(() => r.filters, (x) => {
5404
- x && d(x);
5399
+ H(() => r.literals, (k) => {
5400
+ s.value.id === "1" ? s.value.name = k.and : s.value.id === "2" && (s.value.name = k.or);
5401
+ }, { deep: !0 }), H(() => r.availableCategories, (k) => {
5402
+ k.length > 0 && (!t.value.name || !k.some((N) => N.name === t.value.name)) && (t.value = k[0]);
5403
+ }, { deep: !0, immediate: !0 }), H(() => r.filters, (k) => {
5404
+ k && d(k);
5405
5405
  }, { deep: !0, immediate: !0 });
5406
5406
  const h = Y(() => [
5407
5407
  { id: "1", name: r.literals.and },
5408
5408
  { id: "2", name: r.literals.or }
5409
- ]), v = Y(() => r.availableCategories.map((x) => ({
5410
- id: x.name,
5411
- name: x.name,
5412
- label: x.label
5409
+ ]), v = Y(() => r.availableCategories.map((k) => ({
5410
+ id: k.name,
5411
+ name: k.name,
5412
+ label: k.label
5413
5413
  }))), j = Y(() => ({
5414
5414
  id: t.value.name,
5415
5415
  label: t.value.label,
5416
5416
  name: t.value.name
5417
- })), w = Y(() => o.map((x) => x.type === "uiInput" ? {
5418
- name: x.name,
5417
+ })), w = Y(() => o.map((k) => k.type === "uiInput" ? {
5418
+ name: k.label,
5419
5419
  operator: r.literals.contains,
5420
- value: x.props.value || ""
5421
- } : x.type === "uiSelect" ? {
5422
- name: x.name,
5420
+ value: k.props.value || ""
5421
+ } : k.type === "uiSelect" ? {
5422
+ name: k.label,
5423
5423
  operator: r.literals.is,
5424
- value: x.props.select?.name || ""
5424
+ value: k.props.select?.name || ""
5425
5425
  } : {
5426
- name: x.name,
5426
+ name: k.label,
5427
5427
  operator: r.literals.contains,
5428
5428
  value: ""
5429
- })), T = (x) => {
5430
- s.value = Array.isArray(x) ? x[0] || { id: "1", name: r.literals.and } : x;
5431
- }, _ = (x) => {
5432
- const I = Array.isArray(x) ? x[0] : x, L = r.availableCategories.find((R) => R.name === I.id);
5433
- L && (t.value = L);
5434
- }, A = () => {
5429
+ })), T = (k) => {
5430
+ s.value = Array.isArray(k) ? k[0] || { id: "1", name: r.literals.and } : k;
5431
+ }, _ = (k) => {
5432
+ const N = Array.isArray(k) ? k[0] : k, q = r.availableCategories.find((P) => P.name === N.id);
5433
+ q && (t.value = q);
5434
+ }, O = () => {
5435
5435
  if (!t.value || !t.value.name)
5436
5436
  return;
5437
- const x = {
5437
+ const k = {
5438
5438
  label: t.value.label,
5439
5439
  name: t.value.name,
5440
5440
  type: t.value.componentType,
5441
5441
  props: { ...t.value.defaultProps }
5442
5442
  };
5443
- o.push(x);
5444
- }, F = (x, I) => {
5445
- if (x < 0 || x >= o.length) return;
5446
- const L = o[x];
5447
- L.type === "uiInput" ? typeof I == "string" && (L.props.value = I) : L.type === "uiSelect" && (Array.isArray(I) ? L.props.select = I[0] : typeof I == "object" && I !== null && (L.props.select = I));
5448
- }, C = (x) => {
5449
- x >= 0 && x < o.length && (o.splice(x, 1), i("smartFilterDeleted", x));
5450
- }, q = () => {
5443
+ o.push(k);
5444
+ }, L = (k, N) => {
5445
+ if (k < 0 || k >= o.length) return;
5446
+ const q = o[k];
5447
+ q.type === "uiInput" ? typeof N == "string" && (q.props.value = N) : q.type === "uiSelect" && (Array.isArray(N) ? q.props.select = N[0] : typeof N == "object" && N !== null && (q.props.select = N));
5448
+ }, C = (k) => {
5449
+ k >= 0 && k < o.length && (o.splice(k, 1), i("smartFilterDeleted", k));
5450
+ }, R = () => {
5451
5451
  o.splice(0, o.length), i("smartFiltersCleared");
5452
- }, P = () => {
5453
- const I = {
5452
+ }, I = (k) => {
5453
+ const q = {
5454
5454
  logicOperator: s.value.id === "1" ? "and" : "or",
5455
- filters: o.map((L) => ({
5456
- name: L.name,
5457
- label: L.label,
5458
- type: L.type,
5459
- value: L.type === "uiInput" ? L.props.value : L.props.select?.id
5455
+ filters: o.map((P) => ({
5456
+ name: P.name,
5457
+ label: P.label,
5458
+ type: P.type,
5459
+ value: P.type === "uiInput" ? P.props.value : P.props.select?.id
5460
5460
  }))
5461
5461
  };
5462
- i("smartFiltersSent", I);
5462
+ i("smartFiltersSent", q), k();
5463
5463
  };
5464
- return (x, I) => (l(), k(c(_t), { class: "relative" }, {
5464
+ return (k, N) => (l(), x(c(_t), { class: "relative" }, {
5465
5465
  default: f(() => [
5466
- m(c($t), { class: "inline-flex items-center gap-x-2 text-sm/6 font-semibold text-gray-900 outline-none" }, {
5466
+ m(c($t), { class: "inline-flex items-center gap-x-2 text-sm/6 font-semibold text-gray-900 outline-none flex-wrap gap-y-1" }, {
5467
5467
  default: f(() => [
5468
5468
  e("span", null, g(r.literals.filters) + ": ", 1),
5469
- (l(!0), n($, null, S(w.value, (L, R) => (l(), n($, { key: R }, [
5470
- e("span", Wd, g(L.name) + " " + g(L.operator) + ": " + g(L.value), 1),
5471
- R < w.value.length - 1 ? (l(), n("span", Gd, g(s.value.name), 1)) : b("", !0)
5469
+ (l(!0), n($, null, S(w.value, (q, P) => (l(), n($, { key: P }, [
5470
+ e("span", Wd, g(q.name) + " " + g(q.operator) + ": " + g(q.value), 1),
5471
+ P < w.value.length - 1 ? (l(), n("span", Gd, g(s.value.name), 1)) : b("", !0)
5472
5472
  ], 64))), 128)),
5473
- m(c(oe), {
5473
+ m(c(re), {
5474
5474
  class: "size-5",
5475
5475
  "aria-hidden": "true"
5476
5476
  })
5477
5477
  ]),
5478
5478
  _: 1
5479
5479
  }),
5480
- m(re, {
5480
+ m(ae, {
5481
5481
  "enter-active-class": "transition ease-out duration-200",
5482
5482
  "enter-from-class": "opacity-0 translate-y-1",
5483
5483
  "enter-to-class": "opacity-100 translate-y-0",
@@ -5487,11 +5487,11 @@ const Ye = /* @__PURE__ */ le(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
5487
5487
  }, {
5488
5488
  default: f(() => [
5489
5489
  m(c(Ct), { class: "absolute z-10 mt-2 flex w-screen max-w-max bg-transparent" }, {
5490
- default: f(() => [
5490
+ default: f(({ close: q }) => [
5491
5491
  e("div", Qd, [
5492
5492
  e("div", Kd, [
5493
5493
  e("div", Xd, [
5494
- m(ee, {
5494
+ m(te, {
5495
5495
  loading: !1,
5496
5496
  class: "w-60",
5497
5497
  items: v.value,
@@ -5500,19 +5500,19 @@ const Ye = /* @__PURE__ */ le(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
5500
5500
  }, null, 8, ["items", "select"]),
5501
5501
  m(U, {
5502
5502
  loading: !1,
5503
- onClick: A,
5503
+ onClick: O,
5504
5504
  disabled: !t.value || !t.value.name
5505
5505
  }, {
5506
- default: f(() => I[0] || (I[0] = [
5506
+ default: f(() => N[0] || (N[0] = [
5507
5507
  z(" Agregar Filtro ", -1)
5508
5508
  ])),
5509
5509
  _: 1,
5510
5510
  __: [0]
5511
5511
  }, 8, ["disabled"])
5512
5512
  ]),
5513
- (l(!0), n($, null, S(o, (L, R) => (l(), n("div", {
5513
+ (l(!0), n($, null, S(o, (P, G) => (l(), n("div", {
5514
5514
  class: "flex items-center gap-x-2 w-full",
5515
- key: L.name
5515
+ key: P.name
5516
5516
  }, [
5517
5517
  m(Z, {
5518
5518
  loading: !1,
@@ -5520,7 +5520,7 @@ const Ye = /* @__PURE__ */ le(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
5520
5520
  color: "gray"
5521
5521
  }, {
5522
5522
  default: f(() => [
5523
- z(g(L.label), 1)
5523
+ z(g(P.label), 1)
5524
5524
  ]),
5525
5525
  _: 2
5526
5526
  }, 1024),
@@ -5530,26 +5530,26 @@ const Ye = /* @__PURE__ */ le(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
5530
5530
  color: "gray"
5531
5531
  }, {
5532
5532
  default: f(() => [
5533
- z(g(a(L.type)), 1)
5533
+ z(g(a(P.type)), 1)
5534
5534
  ]),
5535
5535
  _: 2
5536
5536
  }, 1024),
5537
- L.type === "uiSelect" ? (l(), k(ee, {
5537
+ P.type === "uiSelect" ? (l(), x(te, {
5538
5538
  key: 0,
5539
5539
  class: "grow",
5540
5540
  loading: !1,
5541
- items: L.props.items || [],
5542
- select: L.props.select || L.props.items?.[0] || { id: "0", name: "Select..." },
5543
- onSelectChanged: (G) => F(R, G)
5544
- }, null, 8, ["items", "select", "onSelectChanged"])) : L.type === "uiInput" ? (l(), k(J, {
5541
+ items: P.props.items || [],
5542
+ select: P.props.select || P.props.items?.[0] || { id: "0", name: "Select..." },
5543
+ onSelectChanged: (X) => L(G, X)
5544
+ }, null, 8, ["items", "select", "onSelectChanged"])) : P.type === "uiInput" ? (l(), x(J, {
5545
5545
  key: 1,
5546
5546
  class: "grow",
5547
5547
  loading: !1,
5548
- name: L.props.name || "",
5549
- value: L.props.value || "",
5550
- onInput: (G) => F(R, G.target.value)
5548
+ name: P.props.name || "",
5549
+ value: P.props.value || "",
5550
+ onInput: (X) => L(G, X.target.value)
5551
5551
  }, null, 8, ["name", "value", "onInput"])) : b("", !0),
5552
- R === 0 ? (l(), k(ee, {
5552
+ G === 0 ? (l(), x(te, {
5553
5553
  key: 2,
5554
5554
  onSelectChanged: T,
5555
5555
  class: "w-24 uppercase",
@@ -5557,7 +5557,7 @@ const Ye = /* @__PURE__ */ le(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
5557
5557
  items: h.value,
5558
5558
  select: s.value
5559
5559
  }, null, 8, ["items", "select"])) : b("", !0),
5560
- R > 0 ? (l(), k(Z, {
5560
+ G > 0 ? (l(), x(Z, {
5561
5561
  key: 3,
5562
5562
  loading: !1,
5563
5563
  size: "big",
@@ -5569,12 +5569,12 @@ const Ye = /* @__PURE__ */ le(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
5569
5569
  ]),
5570
5570
  _: 1
5571
5571
  })) : b("", !0),
5572
- m(O, {
5573
- icon: c(pe),
5572
+ m(F, {
5573
+ icon: c(fe),
5574
5574
  color: "red",
5575
5575
  loading: !1,
5576
5576
  class: "cursor-pointer",
5577
- onClick: (G) => C(R),
5577
+ onClick: (X) => C(G),
5578
5578
  title: "Eliminar filtro"
5579
5579
  }, null, 8, ["icon", "onClick"])
5580
5580
  ]))), 128))
@@ -5583,8 +5583,8 @@ const Ye = /* @__PURE__ */ le(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
5583
5583
  m(U, {
5584
5584
  loading: !1,
5585
5585
  color: "red",
5586
- icon: c(pe),
5587
- onClick: q
5586
+ icon: c(fe),
5587
+ onClick: R
5588
5588
  }, {
5589
5589
  default: f(() => [
5590
5590
  z(g(r.literals.deleteAll), 1)
@@ -5594,13 +5594,13 @@ const Ye = /* @__PURE__ */ le(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
5594
5594
  m(U, {
5595
5595
  loading: !1,
5596
5596
  icon: c(At),
5597
- onClick: P
5597
+ onClick: (P) => I(q)
5598
5598
  }, {
5599
5599
  default: f(() => [
5600
5600
  z(g(r.literals.filter), 1)
5601
5601
  ]),
5602
- _: 1
5603
- }, 8, ["icon"])
5602
+ _: 2
5603
+ }, 1032, ["icon", "onClick"])
5604
5604
  ])
5605
5605
  ])
5606
5606
  ]),
@@ -5613,29 +5613,29 @@ const Ye = /* @__PURE__ */ le(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
5613
5613
  _: 1
5614
5614
  }));
5615
5615
  }
5616
- }), qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5616
+ }), Re = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5617
5617
  __proto__: null,
5618
5618
  uiAlert: Wl,
5619
5619
  uiBreadcrumbs: ss,
5620
5620
  uiButton: U,
5621
5621
  uiCard: us,
5622
5622
  uiChart: gr,
5623
- uiCheckbox: Ke,
5623
+ uiCheckbox: Xe,
5624
5624
  uiCircleChart: Qi,
5625
5625
  uiDateRange: ed,
5626
5626
  uiDeviceStatus: vd,
5627
5627
  uiDragAndDrop: Vi,
5628
- uiDropdown: he,
5628
+ uiDropdown: ye,
5629
5629
  uiDynamicStats: Ld,
5630
- uiFilter: rt,
5630
+ uiFilter: at,
5631
5631
  uiFooter: hr,
5632
5632
  uiFunnelChartV2: ri,
5633
5633
  uiGallery: zi,
5634
- uiIcon: O,
5634
+ uiIcon: F,
5635
5635
  uiInput: J,
5636
5636
  uiInputFile: bl,
5637
5637
  uiLoadingScreen: yr,
5638
- uiModal: at,
5638
+ uiModal: nt,
5639
5639
  uiNoResults: ci,
5640
5640
  uiNotification: Ms,
5641
5641
  uiPagination: zr,
@@ -5644,14 +5644,14 @@ const Ye = /* @__PURE__ */ le(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
5644
5644
  uiRightSidebar: xi,
5645
5645
  uiSectionTitle: nd,
5646
5646
  uiSelect: $l,
5647
- uiSelectMultiple: dt,
5648
- uiSelect_v2: ee,
5647
+ uiSelectMultiple: ut,
5648
+ uiSelect_v2: te,
5649
5649
  uiSidebar: Ur,
5650
- uiSidebarV2: we,
5651
- uiSmartFilter: ke,
5650
+ uiSidebarV2: ke,
5651
+ uiSmartFilter: xe,
5652
5652
  uiSmartFilterMultiple: Jd,
5653
5653
  uiSmartFilterMultipleV2: tu,
5654
- uiStats: it,
5654
+ uiStats: dt,
5655
5655
  uiStripedCard: Da,
5656
5656
  uiTable: Xa,
5657
5657
  uiTabs: an,
@@ -5678,8 +5678,8 @@ const Ye = /* @__PURE__ */ le(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
5678
5678
  "datetime-local"
5679
5679
  ], su = ["black", "gray", "white"], pu = [...lu, ...su], ou = ["small", "medium", "big"], ru = ["bigger", "huge", "massive"], fu = [...ou, ...ru], hu = ["default", "success", "warning", "danger"];
5680
5680
  function au(p) {
5681
- for (const u in qe)
5682
- p.component(u, qe[u]);
5681
+ for (const u in Re)
5682
+ p.component(u, Re[u]);
5683
5683
  }
5684
5684
  const yu = { install: au };
5685
5685
  export {
@@ -5697,22 +5697,22 @@ export {
5697
5697
  U as uiButton,
5698
5698
  us as uiCard,
5699
5699
  gr as uiChart,
5700
- Ke as uiCheckbox,
5700
+ Xe as uiCheckbox,
5701
5701
  Qi as uiCircleChart,
5702
5702
  ed as uiDateRange,
5703
5703
  vd as uiDeviceStatus,
5704
5704
  Vi as uiDragAndDrop,
5705
- he as uiDropdown,
5705
+ ye as uiDropdown,
5706
5706
  Ld as uiDynamicStats,
5707
- rt as uiFilter,
5707
+ at as uiFilter,
5708
5708
  hr as uiFooter,
5709
5709
  ri as uiFunnelChartV2,
5710
5710
  zi as uiGallery,
5711
- O as uiIcon,
5711
+ F as uiIcon,
5712
5712
  J as uiInput,
5713
5713
  bl as uiInputFile,
5714
5714
  yr as uiLoadingScreen,
5715
- at as uiModal,
5715
+ nt as uiModal,
5716
5716
  ci as uiNoResults,
5717
5717
  Ms as uiNotification,
5718
5718
  zr as uiPagination,
@@ -5721,14 +5721,14 @@ export {
5721
5721
  xi as uiRightSidebar,
5722
5722
  nd as uiSectionTitle,
5723
5723
  $l as uiSelect,
5724
- dt as uiSelectMultiple,
5725
- ee as uiSelect_v2,
5724
+ ut as uiSelectMultiple,
5725
+ te as uiSelect_v2,
5726
5726
  Ur as uiSidebar,
5727
- we as uiSidebarV2,
5728
- ke as uiSmartFilter,
5727
+ ke as uiSidebarV2,
5728
+ xe as uiSmartFilter,
5729
5729
  Jd as uiSmartFilterMultiple,
5730
5730
  tu as uiSmartFilterMultipleV2,
5731
- it as uiStats,
5731
+ dt as uiStats,
5732
5732
  Da as uiStripedCard,
5733
5733
  Xa as uiTable,
5734
5734
  an as uiTabs,