@hotelinking/ui 10.42.9 → 10.42.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ui.es.js CHANGED
@@ -1,10 +1,10 @@
1
- import { defineComponent as B, openBlock as s, createBlock as _, resolveDynamicComponent as Ne, normalizeClass as y, createElementBlock as n, createCommentVNode as b, renderSlot as R, createElementVNode as e, ref as N, watch as q, computed as Y, unref as u, withCtx as v, toDisplayString as g, createVNode as p, createTextVNode as L, Transition as ce, Fragment as k, renderList as $, withDirectives as C, vModelDynamic as et, vShow as D, withModifiers as Se, vModelText as ee, createStaticVNode as K, resolveComponent as Be, vModelCheckbox as Ae, reactive as Q, isRef as Pe, TransitionGroup as tt, onMounted as st, mergeProps as ot } from "vue";
1
+ import { defineComponent as M, createBlock as _, createElementBlock as n, openBlock as s, resolveDynamicComponent as Ne, normalizeClass as y, createCommentVNode as w, renderSlot as R, createElementVNode as e, ref as A, watch as q, computed as Y, unref as u, withCtx as v, createVNode as p, toDisplayString as g, createTextVNode as L, Transition as ce, Fragment as k, renderList as $, withDirectives as C, vModelDynamic as et, vShow as D, withModifiers as Se, vModelText as ee, createStaticVNode as K, resolveComponent as Be, vModelCheckbox as Ae, reactive as Q, isRef as Pe, TransitionGroup as tt, onMounted as st, mergeProps as ot } from "vue";
2
2
  import { Menu as he, MenuButton as ye, MenuItems as ve, MenuItem as be, Combobox as Ye, ComboboxLabel as lt, ComboboxInput as Ie, ComboboxButton as Fe, ComboboxOptions as Ve, ComboboxOption as Re, SwitchGroup as rt, Switch as nt, SwitchLabel as at, TransitionRoot as we, Dialog as xe, TransitionChild as G, DialogPanel as ke, DialogTitle as qe, Disclosure as _e, DisclosureButton as Z, DisclosurePanel as $e } from "@headlessui/vue";
3
- import T from "dayjs";
3
+ import z from "dayjs";
4
4
  import Ce from "vue3-apexcharts";
5
5
  import it from "vue3-draggable";
6
6
  import dt from "@vueform/slider";
7
- const j = /* @__PURE__ */ B({
7
+ const j = /* @__PURE__ */ M({
8
8
  __name: "uiIcon",
9
9
  props: {
10
10
  icon: {},
@@ -13,7 +13,7 @@ const j = /* @__PURE__ */ B({
13
13
  loading: { type: Boolean, default: !0 }
14
14
  },
15
15
  setup(m) {
16
- return (i, o) => i.loading ? (s(), n("div", {
16
+ return (i, l) => i.loading ? (s(), n("div", {
17
17
  key: 1,
18
18
  class: y([{
19
19
  "h-4 w-4": i.size === "medium",
@@ -44,7 +44,7 @@ const j = /* @__PURE__ */ B({
44
44
  }), ut = ["disabled"], ct = {
45
45
  key: 1,
46
46
  class: "animate-pulse px-4 py-2.5 text-sm rounded-md inline-flex items-center border border-transparent font-medium shadow-sm text-white focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:opacity-25 bg-gray-200"
47
- }, J = /* @__PURE__ */ B({
47
+ }, J = /* @__PURE__ */ M({
48
48
  __name: "uiButton",
49
49
  props: {
50
50
  block: { type: Boolean },
@@ -55,15 +55,15 @@ const j = /* @__PURE__ */ B({
55
55
  size: { default: "medium" }
56
56
  },
57
57
  setup(m) {
58
- return (i, o) => i.loading ? (s(), n("button", ct, [
58
+ return (i, l) => i.loading ? (s(), n("button", ct, [
59
59
  i.icon ? (s(), _(j, {
60
60
  key: 0,
61
61
  icon: i.icon,
62
62
  color: "white",
63
63
  class: "-ml-0.5 mr-2",
64
64
  loading: i.loading
65
- }, null, 8, ["icon", "loading"])) : b("", !0),
66
- o[0] || (o[0] = e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-16" }, null, -1))
65
+ }, null, 8, ["icon", "loading"])) : w("", !0),
66
+ l[0] || (l[0] = e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-16" }, null, -1))
67
67
  ])) : (s(), n("button", {
68
68
  key: 0,
69
69
  disabled: i.disabled,
@@ -86,7 +86,7 @@ const j = /* @__PURE__ */ B({
86
86
  color: "white",
87
87
  class: "-ml-0.5 mr-2",
88
88
  loading: i.loading
89
- }, null, 8, ["icon", "loading"])) : b("", !0),
89
+ }, null, 8, ["icon", "loading"])) : w("", !0),
90
90
  R(i.$slots, "default")
91
91
  ], 10, ut));
92
92
  }
@@ -96,7 +96,7 @@ const j = /* @__PURE__ */ B({
96
96
  }, pt = { class: "flex items-center h-5" }, mt = ["checked", "value", "disabled"], ft = { class: "ml-3 text-sm" }, ht = { class: "text-gray-500" }, yt = {
97
97
  key: 1,
98
98
  class: "flex items-center animate-pulse"
99
- }, He = /* @__PURE__ */ B({
99
+ }, He = /* @__PURE__ */ M({
100
100
  __name: "uiCheckbox",
101
101
  props: {
102
102
  check: { type: Boolean, default: !1 },
@@ -107,8 +107,8 @@ const j = /* @__PURE__ */ B({
107
107
  },
108
108
  emits: ["checkboxChanged"],
109
109
  setup(m, { emit: i }) {
110
- const o = i, a = m, r = N(a.check), l = () => {
111
- a.disabled || (r.value = !r.value, o("checkboxChanged", { checked: r.value, value: a.value }));
110
+ const l = i, a = m, r = A(a.check), o = () => {
111
+ a.disabled || (r.value = !r.value, l("checkboxChanged", { checked: r.value, value: a.value }));
112
112
  };
113
113
  return q(() => a.check, (t) => {
114
114
  t && (r.value = t);
@@ -123,7 +123,7 @@ const j = /* @__PURE__ */ B({
123
123
  disabled: t.disabled,
124
124
  class: "focus:ring-indigo-500 h-4 w-4 text-indigo-600 border-gray-300 rounded disabled:opacity-25",
125
125
  type: "checkbox",
126
- onChange: c[0] || (c[0] = (d) => l())
126
+ onChange: c[0] || (c[0] = (d) => o())
127
127
  }, null, 40, mt)
128
128
  ]),
129
129
  e("div", ft, [
@@ -585,7 +585,7 @@ const zt = { class: "flex justify-between" }, Lt = {
585
585
  }, Nt = { class: "py-1" }, At = ["onClick"], Pt = {
586
586
  key: 1,
587
587
  class: "animate-pulse px-4 py-2 bg-gray-200 rounded-md inline-flex items-center relative text-left"
588
- }, me = /* @__PURE__ */ B({
588
+ }, me = /* @__PURE__ */ M({
589
589
  __name: "uiDropdown",
590
590
  props: {
591
591
  items: {},
@@ -597,11 +597,11 @@ const zt = { class: "flex justify-between" }, Lt = {
597
597
  },
598
598
  emits: ["optionSelected"],
599
599
  setup(m, { emit: i }) {
600
- const o = i, a = m, r = Y(() => {
600
+ const l = i, a = m, r = Y(() => {
601
601
  let t = a.items.find((c) => c.active === !0);
602
602
  return t ? t.name : a.label;
603
- }), l = (t) => {
604
- a.disabled || o("optionSelected", t);
603
+ }), o = (t) => {
604
+ a.disabled || l("optionSelected", t);
605
605
  };
606
606
  return (t, c) => t.loading ? (s(), n("div", Pt, [
607
607
  c[0] || (c[0] = e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28" }, null, -1)),
@@ -617,8 +617,8 @@ const zt = { class: "flex justify-between" }, Lt = {
617
617
  default: v(() => [
618
618
  e("div", null, [
619
619
  e("div", zt, [
620
- t.label ? (s(), n("label", Lt, g(t.label), 1)) : b("", !0),
621
- t.requiredText ? (s(), n("span", Ot, g(t.requiredText), 1)) : b("", !0)
620
+ t.label ? (s(), n("label", Lt, g(t.label), 1)) : w("", !0),
621
+ t.requiredText ? (s(), n("span", Ot, g(t.requiredText), 1)) : w("", !0)
622
622
  ]),
623
623
  p(u(ye), { class: "inline-flex justify-between w-full rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-indigo-500" }, {
624
624
  default: v(() => [
@@ -640,16 +640,16 @@ const zt = { class: "flex justify-between" }, Lt = {
640
640
  "leave-to-class": "transform opacity-0 scale-95"
641
641
  }, {
642
642
  default: v(() => [
643
- t.disabled ? b("", !0) : (s(), _(u(ve), {
643
+ t.disabled ? w("", !0) : (s(), _(u(ve), {
644
644
  key: 0,
645
645
  class: y([{ "right-0": t.position === "right", "left-0": t.position === "left" }, "origin-top-right absolute mt-2 w-56 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none z-10"])
646
646
  }, {
647
647
  default: v(() => [
648
648
  e("div", Nt, [
649
- (s(!0), n(k, null, $(t.items, (d, f) => (s(), _(u(be), { key: f }, {
649
+ (s(!0), n(k, null, $(t.items, (d, h) => (s(), _(u(be), { key: h }, {
650
650
  default: v(() => [
651
651
  e("a", {
652
- onClick: (h) => l(d),
652
+ onClick: (f) => o(d),
653
653
  class: y([
654
654
  d.active ? "bg-gray-100 text-gray-900" : "text-gray-700",
655
655
  "block px-4 py-2 text-sm cursor-pointer"
@@ -681,7 +681,7 @@ const zt = { class: "flex justify-between" }, Lt = {
681
681
  }, Ut = {
682
682
  key: 0,
683
683
  class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-2/3 md:w-1/4 mb-1.5"
684
- }, E = /* @__PURE__ */ B({
684
+ }, E = /* @__PURE__ */ M({
685
685
  __name: "uiInput",
686
686
  props: {
687
687
  label: {},
@@ -702,22 +702,22 @@ const zt = { class: "flex justify-between" }, Lt = {
702
702
  },
703
703
  emits: ["inputChanged", "rightAddOnClicked", "addOnClicked"],
704
704
  setup(m, { emit: i }) {
705
- const o = i, a = m, r = N(a.value);
705
+ const l = i, a = m, r = A(a.value);
706
706
  q(() => a.value, (t) => {
707
- r.value = t, r.value && o("inputChanged", { name: a.name, value: r.value });
707
+ r.value = t, r.value && l("inputChanged", { name: a.name, value: r.value });
708
708
  });
709
- const l = (t) => {
710
- t.target.name && o("inputChanged", { value: t.target.value, name: t.target.name });
709
+ const o = (t) => {
710
+ t.target.name && l("inputChanged", { value: t.target.value, name: t.target.name });
711
711
  };
712
712
  return (t, c) => t.loading ? (s(), n("div", Ht, [
713
- t.label !== void 0 ? (s(), n("div", Ut)) : b("", !0),
713
+ t.label !== void 0 ? (s(), n("div", Ut)) : w("", !0),
714
714
  c[3] || (c[3] = e("div", { class: "animate-pulse px-4 py-3.5 bg-gray-200 rounded-md inline-flex items-center relative text-left w-full" }, [
715
715
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28" })
716
716
  ], -1))
717
717
  ])) : (s(), n("div", Yt, [
718
718
  e("div", It, [
719
- t.label ? (s(), n("label", Ft, g(t.label), 1)) : b("", !0),
720
- t.requiredText ? (s(), n("span", Vt, g(t.requiredText), 1)) : b("", !0)
719
+ t.label ? (s(), n("label", Ft, g(t.label), 1)) : w("", !0),
720
+ t.requiredText ? (s(), n("span", Vt, g(t.requiredText), 1)) : w("", !0)
721
721
  ]),
722
722
  e("div", {
723
723
  class: y([{ "mt-1": t.label }, "relative flex"])
@@ -726,7 +726,7 @@ const zt = { class: "flex justify-between" }, Lt = {
726
726
  key: 0,
727
727
  onClick: c[0] || (c[0] = (d) => t.$emit("addOnClicked")),
728
728
  class: "inline-flex items-center px-3 rounded-l-md border border-r-0 border-gray-300 bg-gray-50 text-gray-500 sm:text-sm cursor-pointer"
729
- }, g(t.addOn), 1)) : b("", !0),
729
+ }, g(t.addOn), 1)) : w("", !0),
730
730
  C(e("input", {
731
731
  "onUpdate:modelValue": c[1] || (c[1] = (d) => r.value = d),
732
732
  max: t.max,
@@ -750,7 +750,7 @@ const zt = { class: "flex justify-between" }, Lt = {
750
750
  name: t.name,
751
751
  placeholder: t.placeholder,
752
752
  type: t.type,
753
- onInput: l
753
+ onInput: o
754
754
  }, null, 42, Rt), [
755
755
  [et, r.value]
756
756
  ]),
@@ -758,14 +758,14 @@ const zt = { class: "flex justify-between" }, Lt = {
758
758
  key: 1,
759
759
  onClick: c[2] || (c[2] = (d) => t.$emit("rightAddOnClicked")),
760
760
  class: "inline-flex items-center px-3 rounded-r-md border border-l-0 border-gray-300 bg-gray-50 hover:bg-gray-200 text-gray-500 sm:text-sm cursor-pointer"
761
- }, g(t.rightAddOn), 1)) : b("", !0),
761
+ }, g(t.rightAddOn), 1)) : w("", !0),
762
762
  e("div", qt, [
763
763
  t.icon ? (s(), _(j, {
764
764
  key: 0,
765
765
  icon: t.icon,
766
766
  color: t.color,
767
767
  loading: t.loading
768
- }, null, 8, ["icon", "color", "loading"])) : b("", !0),
768
+ }, null, 8, ["icon", "color", "loading"])) : w("", !0),
769
769
  C(p(j, {
770
770
  icon: u(ge),
771
771
  color: "green",
@@ -810,7 +810,7 @@ const zt = { class: "flex justify-between" }, Lt = {
810
810
  }, Gt = { class: "space-y-1 flex flex-col items-center justify-center" }, Qt = { class: "flex text-sm text-gray-600 flex-col sm:flex-row text-center" }, Kt = ["for"], Xt = ["id", "name", "accept"], es = { class: "pl-1" }, ts = { class: "text-xs text-gray-500 pb-4" }, ss = { class: "mt-2 text-xs flex flex-row items-center text-red-300" }, os = {
811
811
  key: 1,
812
812
  class: "animate-pulse"
813
- }, ls = /* @__PURE__ */ B({
813
+ }, ls = /* @__PURE__ */ M({
814
814
  __name: "uiInputFile",
815
815
  props: {
816
816
  name: {},
@@ -827,19 +827,19 @@ const zt = { class: "flex justify-between" }, Lt = {
827
827
  },
828
828
  emits: ["filesUploaded"],
829
829
  setup(m, { emit: i }) {
830
- let o = N("");
831
- const a = i, r = m, l = (d) => {
830
+ let l = A("");
831
+ const a = i, r = m, o = (d) => {
832
832
  c(d.dataTransfer.files), a("filesUploaded", { id: r.id, files: d.dataTransfer.files });
833
833
  }, t = (d) => {
834
834
  c(d.target.files), a("filesUploaded", { id: r.id, files: d.target.files });
835
835
  }, c = (d) => {
836
- o.value = "";
837
- let f = 1;
838
- Object.values(d).forEach((h) => {
839
- f++, o.value += h.name, f >= 1 && f < d.length && (o.value += ", ");
836
+ l.value = "";
837
+ let h = 1;
838
+ Object.values(d).forEach((f) => {
839
+ h++, l.value += f.name, h >= 1 && h < d.length && (l.value += ", ");
840
840
  });
841
841
  };
842
- return (d, f) => d.loading ? (s(), n("div", os, f[1] || (f[1] = [
842
+ return (d, h) => d.loading ? (s(), n("div", os, h[1] || (h[1] = [
843
843
  e("div", { class: "flex justify-center items-center flex-col rounded-md border-2 border-dashed px-6 pt-5 pb-6 border-gray-200" }, [
844
844
  e("div", { class: "rounded-full h-20 w-20 bg-gray-200 mb-4" }),
845
845
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full md:w-1/3 mb-3" }),
@@ -847,8 +847,8 @@ const zt = { class: "flex justify-between" }, Lt = {
847
847
  ], -1)
848
848
  ]))) : (s(), n("div", Et, [
849
849
  e("div", Zt, [
850
- d.label ? (s(), n("label", Jt, g(d.label), 1)) : b("", !0),
851
- d.requiredText ? (s(), n("span", Wt, g(d.requiredText), 1)) : b("", !0)
850
+ d.label ? (s(), n("label", Jt, g(d.label), 1)) : w("", !0),
851
+ d.requiredText ? (s(), n("span", Wt, g(d.requiredText), 1)) : w("", !0)
852
852
  ]),
853
853
  e("div", {
854
854
  class: y([
@@ -859,9 +859,9 @@ const zt = { class: "flex justify-between" }, Lt = {
859
859
  ],
860
860
  "dropArea flex justify-center rounded-md border-2 border-dashed px-6 pt-5 pb-6"
861
861
  ]),
862
- onDragover: f[0] || (f[0] = Se(() => {
862
+ onDragover: h[0] || (h[0] = Se(() => {
863
863
  }, ["prevent"])),
864
- onDrop: Se(l, ["prevent"])
864
+ onDrop: Se(o, ["prevent"])
865
865
  }, [
866
866
  e("div", Gt, [
867
867
  p(j, {
@@ -891,8 +891,8 @@ const zt = { class: "flex justify-between" }, Lt = {
891
891
  e("p", es, g(d.dragAndDrop), 1)
892
892
  ]),
893
893
  e("p", ts, g(d.fileTypesAndSizes), 1),
894
- C(e("p", { class: "font-bold text-xs uppercase block p-2 bg-gray-200 rounded" }, g(u(o)), 513), [
895
- [D, u(o) !== null]
894
+ C(e("p", { class: "font-bold text-xs uppercase block p-2 bg-gray-200 rounded" }, g(u(l)), 513), [
895
+ [D, u(l) !== null]
896
896
  ])
897
897
  ])
898
898
  ], 34),
@@ -915,7 +915,7 @@ const zt = { class: "flex justify-between" }, Lt = {
915
915
  }, as = { class: "relative mt-1" }, is = {
916
916
  key: 1,
917
917
  class: "animate-pulse px-4 py-2.5 bg-gray-200 rounded-md flex justify-between items-center w-full"
918
- }, ds = /* @__PURE__ */ B({
918
+ }, ds = /* @__PURE__ */ M({
919
919
  __name: "uiSelect",
920
920
  props: {
921
921
  items: {},
@@ -928,51 +928,60 @@ const zt = { class: "flex justify-between" }, Lt = {
928
928
  requiredText: {}
929
929
  },
930
930
  emits: ["selectChanged"],
931
- setup(m, { emit: i }) {
932
- const o = N(""), a = i, r = m, l = Y(() => o.value === "" ? r.items : r.items.filter((d) => d.name.toLowerCase().includes(o.value.toLowerCase()))), t = (d) => (d == null ? void 0 : d.name) ?? "", c = Y(() => r.select);
933
- return (d, f) => d.loading ? (s(), n("div", is, [
934
- f[4] || (f[4] = e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, null, -1)),
931
+ setup(m, { expose: i, emit: l }) {
932
+ const a = A(""), r = l, o = m, t = Y(() => a.value === "" ? o.items : o.items.filter((f) => f.name.toLowerCase().includes(a.value.toLowerCase()))), c = (f) => (f == null ? void 0 : f.name) ?? "", d = (f) => {
933
+ r("selectChanged", f);
934
+ }, h = Y({
935
+ get: () => o.select,
936
+ set: (f) => {
937
+ d(f);
938
+ }
939
+ });
940
+ return i({
941
+ handleChange: d
942
+ }), (f, b) => f.loading ? (s(), n("div", is, [
943
+ b[3] || (b[3] = e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, null, -1)),
935
944
  p(u(fe), {
936
945
  "aria-hidden": "true",
937
946
  class: "-mr-1 ml-2 h-5 w-5 text-gray-300 dark:text-gray-400"
938
947
  })
939
948
  ])) : (s(), _(u(Ye), {
940
949
  key: 0,
941
- modelValue: c.value,
950
+ modelValue: h.value,
942
951
  "onUpdate:modelValue": [
943
- f[2] || (f[2] = (h) => c.value = h),
944
- f[3] || (f[3] = (h) => a("selectChanged", h))
952
+ b[2] || (b[2] = (T) => h.value = T),
953
+ d
945
954
  ],
946
- disabled: d.disabled,
955
+ disabled: f.disabled,
947
956
  as: "div"
948
957
  }, {
949
958
  default: v(() => [
950
959
  e("div", rs, [
951
960
  p(u(lt), { class: "block text-sm font-medium" }, {
952
961
  default: v(() => [
953
- L(g(d.label), 1)
962
+ L(g(f.label), 1)
954
963
  ]),
955
964
  _: 1
956
965
  }),
957
- d.requiredText ? (s(), n("span", ns, g(d.requiredText), 1)) : b("", !0)
966
+ f.requiredText ? (s(), n("span", ns, g(f.requiredText), 1)) : w("", !0)
958
967
  ]),
959
968
  e("div", as, [
960
969
  p(u(Ie), {
961
- onChange: f[0] || (f[0] = (h) => o.value = h.target.value),
962
- onBlur: f[1] || (f[1] = (h) => o.value = ""),
963
- displayValue: t,
970
+ onChange: b[0] || (b[0] = (T) => a.value = T.target.value),
971
+ onBlur: b[1] || (b[1] = (T) => a.value = ""),
972
+ displayValue: c,
964
973
  class: y([{
965
- "border-gray-300": d.color === "gray",
966
- "border-red-400": d.color === "red",
967
- "border-yellow-400": d.color === "yellow",
968
- "border-green-400": d.color === "green",
969
- "bg-gray-100": d.disabled,
970
- "bg-white": !d.disabled,
971
- "text-black": d.color === "gray",
972
- "text-gray-300": d.disabled,
973
- "text-red-400": d.color === "red",
974
- "text-yellow-400": d.color === "yellow",
975
- "text-green-400": d.color === "green"
974
+ "border-gray-300": f.color === "gray",
975
+ "border-red-400": f.color === "red",
976
+ "border-yellow-400": f.color === "yellow",
977
+ "border-green-400": f.color === "green",
978
+ "bg-gray-100": f.disabled,
979
+ "bg-white": !f.disabled,
980
+ "text-black": f.color === "gray",
981
+ "text-gray-300": f.disabled,
982
+ "text-red-400": f.color === "red",
983
+ "text-yellow-400": f.color === "yellow",
984
+ "text-green-400": f.color === "green"
976
985
  }, "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"])
977
986
  }, null, 8, ["class"]),
978
987
  p(u(Fe), { class: "absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none" }, {
@@ -984,31 +993,31 @@ const zt = { class: "flex justify-between" }, Lt = {
984
993
  ]),
985
994
  _: 1
986
995
  }),
987
- l.value.length > 0 ? (s(), _(u(Ve), {
996
+ t.value.length > 0 ? (s(), _(u(Ve), {
988
997
  key: 0,
989
998
  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"
990
999
  }, {
991
1000
  default: v(() => [
992
- (s(!0), n(k, null, $(l.value, (h) => (s(), _(u(Re), {
993
- key: h.id,
994
- value: h,
1001
+ (s(!0), n(k, null, $(t.value, (T) => (s(), _(u(Re), {
1002
+ key: T.id,
1003
+ value: T,
995
1004
  as: "template"
996
1005
  }, {
997
- default: v(({ active: w, selected: z }) => [
1006
+ default: v(({ active: O, selected: S }) => [
998
1007
  e("li", {
999
1008
  class: y([
1000
1009
  "relative cursor-default select-none py-2 pl-3 pr-9",
1001
- w ? "bg-indigo-600 text-white" : "text-gray-900"
1010
+ O ? "bg-indigo-600 text-white" : "text-gray-900"
1002
1011
  ])
1003
1012
  }, [
1004
1013
  e("span", {
1005
- class: y(["block truncate", z && "font-semibold"])
1006
- }, g(h.name), 3),
1007
- z ? (s(), n("span", {
1014
+ class: y(["block truncate", S && "font-semibold"])
1015
+ }, g(T.name), 3),
1016
+ S ? (s(), n("span", {
1008
1017
  key: 0,
1009
1018
  class: y([
1010
1019
  "absolute inset-y-0 right-0 flex items-center pr-4",
1011
- w ? "text-white" : "text-indigo-600"
1020
+ O ? "text-white" : "text-indigo-600"
1012
1021
  ])
1013
1022
  }, [
1014
1023
  p(u(ge), {
@@ -1016,24 +1025,24 @@ const zt = { class: "flex justify-between" }, Lt = {
1016
1025
  class: "h-5 w-5",
1017
1026
  loading: !0
1018
1027
  })
1019
- ], 2)) : b("", !0)
1028
+ ], 2)) : w("", !0)
1020
1029
  ], 2)
1021
1030
  ]),
1022
1031
  _: 2
1023
1032
  }, 1032, ["value"]))), 128))
1024
1033
  ]),
1025
1034
  _: 1
1026
- })) : b("", !0)
1035
+ })) : w("", !0)
1027
1036
  ]),
1028
1037
  C(e("p", {
1029
1038
  class: y([{
1030
- "text-gray-400": d.color === "gray",
1031
- "text-red-400": d.color === "red",
1032
- "text-yellow-400": d.color === "yellow",
1033
- "text-green-400": d.color === "green"
1039
+ "text-gray-400": f.color === "gray",
1040
+ "text-red-400": f.color === "red",
1041
+ "text-yellow-400": f.color === "yellow",
1042
+ "text-green-400": f.color === "green"
1034
1043
  }, "mt-2 text-xs flex flex-row items-center"])
1035
- }, g(d.error), 3), [
1036
- [D, d.error]
1044
+ }, g(f.error), 3), [
1045
+ [D, f.error]
1037
1046
  ])
1038
1047
  ]),
1039
1048
  _: 1
@@ -1042,7 +1051,7 @@ const zt = { class: "flex justify-between" }, Lt = {
1042
1051
  }), us = {
1043
1052
  key: 1,
1044
1053
  class: "inline-flex items-center px-3 py-2.5 rounded text-xs font-medium leading-none animate-pulse bg-gray-200"
1045
- }, H = /* @__PURE__ */ B({
1054
+ }, H = /* @__PURE__ */ M({
1046
1055
  __name: "uiTag",
1047
1056
  props: {
1048
1057
  color: { default: "primary" },
@@ -1054,31 +1063,31 @@ const zt = { class: "flex justify-between" }, Lt = {
1054
1063
  },
1055
1064
  emits: ["tagEvent"],
1056
1065
  setup(m, { emit: i }) {
1057
- const o = i, a = m, r = () => {
1058
- a.event != null && o("tagEvent", a.event);
1066
+ const l = i, a = m, r = () => {
1067
+ a.event != null && l("tagEvent", a.event);
1059
1068
  };
1060
- return (l, t) => l.loading ? (s(), n("div", us, t[0] || (t[0] = [
1069
+ return (o, t) => o.loading ? (s(), n("div", us, t[0] || (t[0] = [
1061
1070
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-12" }, null, -1)
1062
1071
  ]))) : (s(), n("span", {
1063
1072
  key: 0,
1064
1073
  onClick: r,
1065
1074
  class: y([{
1066
- "bg-indigo-100 text-indigo-800 border border-indigo-200": l.color === "primary",
1067
- "hover:bg-indigo-200 cursor-pointer": l.event !== void 0 && l.color === "primary",
1068
- "bg-red-100 text-red-800 border border-red-200": l.color === "red",
1069
- "hover:bg-red-200 cursor-pointer": l.event !== void 0 && l.color === "red",
1070
- "bg-yellow-100 text-yellow-800 border border-yellow-200": l.color === "yellow",
1071
- "hover:bg-yellow-200 cursor-pointer": l.event !== void 0 && l.color === "yellow",
1072
- "bg-green-100 text-green-800 border border-green-200": l.color === "green",
1073
- "hover:bg-green-200 cursor-pointer": l.event !== void 0 && l.color === "green",
1074
- "bg-black text-white border border-black": l.color === "black",
1075
- "text-black border border-gray-200 bg-white": l.color === "white",
1076
- "px-3 py-2": l.size === "medium",
1077
- "px-2 pt-1 pb-0.5": l.size === "small",
1078
- "px-4 py-3": l.size === "big"
1075
+ "bg-indigo-100 text-indigo-800 border border-indigo-200": o.color === "primary",
1076
+ "hover:bg-indigo-200 cursor-pointer": o.event !== void 0 && o.color === "primary",
1077
+ "bg-red-100 text-red-800 border border-red-200": o.color === "red",
1078
+ "hover:bg-red-200 cursor-pointer": o.event !== void 0 && o.color === "red",
1079
+ "bg-yellow-100 text-yellow-800 border border-yellow-200": o.color === "yellow",
1080
+ "hover:bg-yellow-200 cursor-pointer": o.event !== void 0 && o.color === "yellow",
1081
+ "bg-green-100 text-green-800 border border-green-200": o.color === "green",
1082
+ "hover:bg-green-200 cursor-pointer": o.event !== void 0 && o.color === "green",
1083
+ "bg-black text-white border border-black": o.color === "black",
1084
+ "text-black border border-gray-200 bg-white": o.color === "white",
1085
+ "px-3 py-2": o.size === "medium",
1086
+ "px-2 pt-1 pb-0.5": o.size === "small",
1087
+ "px-4 py-3": o.size === "big"
1079
1088
  }, "inline-flex items-center rounded text-xs font-medium leading-none"])
1080
1089
  }, [
1081
- R(l.$slots, "default")
1090
+ R(o.$slots, "default")
1082
1091
  ], 2));
1083
1092
  }
1084
1093
  }), cs = { key: 0 }, gs = { class: "flex justify-between" }, ps = {
@@ -1090,7 +1099,7 @@ const zt = { class: "flex justify-between" }, Lt = {
1090
1099
  }, fs = ["disabled", "placeholder"], hs = {
1091
1100
  key: 1,
1092
1101
  class: "animate-pulse"
1093
- }, ys = /* @__PURE__ */ B({
1102
+ }, ys = /* @__PURE__ */ M({
1094
1103
  __name: "uiTextArea",
1095
1104
  props: {
1096
1105
  name: {},
@@ -1105,18 +1114,18 @@ const zt = { class: "flex justify-between" }, Lt = {
1105
1114
  },
1106
1115
  emits: ["inputChanged"],
1107
1116
  setup(m, { emit: i }) {
1108
- const o = i, a = m, r = (t) => {
1109
- o("inputChanged", t.target.value);
1110
- }, l = N(a.value);
1117
+ const l = i, a = m, r = (t) => {
1118
+ l("inputChanged", t.target.value);
1119
+ }, o = A(a.value);
1111
1120
  return q(() => a.value, (t) => {
1112
- l.value = t, o("inputChanged", { name: a.name, value: l.value });
1121
+ o.value = t, l("inputChanged", { name: a.name, value: o.value });
1113
1122
  }), (t, c) => t.loading ? (s(), n("div", hs, c[1] || (c[1] = [
1114
1123
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-2/3 md:w-1/4 mb-1.5" }, null, -1),
1115
1124
  e("div", { class: "h-24 bg-gray-200 rounded-lg flex inline-flex items-center relative inline-block text-left w-full" }, null, -1)
1116
1125
  ]))) : (s(), n("div", cs, [
1117
1126
  e("div", gs, [
1118
- t.label ? (s(), n("label", ps, g(t.label), 1)) : b("", !0),
1119
- t.requiredText ? (s(), n("span", ms, g(t.requiredText), 1)) : b("", !0)
1127
+ t.label ? (s(), n("label", ps, g(t.label), 1)) : w("", !0),
1128
+ t.requiredText ? (s(), n("span", ms, g(t.requiredText), 1)) : w("", !0)
1120
1129
  ]),
1121
1130
  e("div", {
1122
1131
  class: y({ "mt-1": t.label })
@@ -1124,7 +1133,7 @@ const zt = { class: "flex justify-between" }, Lt = {
1124
1133
  C(e("textarea", {
1125
1134
  disabled: t.disabled,
1126
1135
  rows: "4",
1127
- "onUpdate:modelValue": c[0] || (c[0] = (d) => l.value = d),
1136
+ "onUpdate:modelValue": c[0] || (c[0] = (d) => o.value = d),
1128
1137
  placeholder: t.placeholder,
1129
1138
  class: y(["shadow-sm focus:ring-indigo-500 focus:border-indigo-500 block w-full sm:text-sm rounded-md", {
1130
1139
  "border-gray-300": t.color === "gray",
@@ -1139,7 +1148,7 @@ const zt = { class: "flex justify-between" }, Lt = {
1139
1148
  }]),
1140
1149
  onChange: r
1141
1150
  }, null, 42, fs), [
1142
- [ee, l.value]
1151
+ [ee, o.value]
1143
1152
  ])
1144
1153
  ], 2),
1145
1154
  C(e("p", {
@@ -1168,7 +1177,7 @@ const zt = { class: "flex justify-between" }, Lt = {
1168
1177
  }, ws = {
1169
1178
  key: 1,
1170
1179
  class: "animate-pulse flex items-center"
1171
- }, xs = /* @__PURE__ */ B({
1180
+ }, xs = /* @__PURE__ */ M({
1172
1181
  __name: "uiToggle",
1173
1182
  props: {
1174
1183
  item: {},
@@ -1178,8 +1187,8 @@ const zt = { class: "flex justify-between" }, Lt = {
1178
1187
  },
1179
1188
  emits: ["toggleChanged", "actionClicked"],
1180
1189
  setup(m, { emit: i }) {
1181
- const o = m, a = N(o.checked);
1182
- return q(() => o.checked, (r) => a.value = r), (r, l) => r.loading ? (s(), n("div", ws, l[3] || (l[3] = [
1190
+ const l = m, a = A(l.checked);
1191
+ return q(() => l.checked, (r) => a.value = r), (r, o) => r.loading ? (s(), n("div", ws, o[3] || (o[3] = [
1183
1192
  e("div", { class: "relative bg-gray-200 rounded-full w-12 h-6 p-1 flex items-center" }, [
1184
1193
  e("div", { class: "rounded-full bg-gray-300 dark:bg-gray-400 h-4 w-4" })
1185
1194
  ], -1),
@@ -1192,9 +1201,9 @@ const zt = { class: "flex justify-between" }, Lt = {
1192
1201
  default: v(() => [
1193
1202
  p(u(nt), {
1194
1203
  disabled: r.disabled,
1195
- onClick: l[0] || (l[0] = (t) => r.$emit("toggleChanged", { item: r.item, active: !a.value })),
1204
+ onClick: o[0] || (o[0] = (t) => r.$emit("toggleChanged", { item: r.item, active: !a.value })),
1196
1205
  modelValue: a.value,
1197
- "onUpdate:modelValue": l[1] || (l[1] = (t) => a.value = t),
1206
+ "onUpdate:modelValue": o[1] || (o[1] = (t) => a.value = t),
1198
1207
  class: y([
1199
1208
  a.value ? "bg-indigo-600" : "bg-gray-200",
1200
1209
  "relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2"
@@ -1218,15 +1227,15 @@ const zt = { class: "flex justify-between" }, Lt = {
1218
1227
  }, {
1219
1228
  default: v(() => [
1220
1229
  e("span", vs, g(r.item.title), 1),
1221
- r.item.subtitle ? (s(), n("span", bs, g(r.item.subtitle), 1)) : b("", !0)
1230
+ r.item.subtitle ? (s(), n("span", bs, g(r.item.subtitle), 1)) : w("", !0)
1222
1231
  ]),
1223
1232
  _: 1
1224
1233
  }),
1225
1234
  r.item.action ? (s(), n("span", {
1226
1235
  key: 0,
1227
1236
  class: "cursor-pointer text-indigo-600 hover:text-indigo-400 uppercase text-xs absolute right-0 bottom-0.5",
1228
- onClick: l[2] || (l[2] = (t) => r.$emit("actionClicked", r.item))
1229
- }, g(r.item.action), 1)) : b("", !0)
1237
+ onClick: o[2] || (o[2] = (t) => r.$emit("actionClicked", r.item))
1238
+ }, g(r.item.action), 1)) : w("", !0)
1230
1239
  ]),
1231
1240
  _: 1
1232
1241
  }));
@@ -1237,7 +1246,7 @@ const zt = { class: "flex justify-between" }, Lt = {
1237
1246
  }, _s = { class: "flex" }, $s = { class: "flex-shrink-0" }, Cs = { class: "ml-3" }, Ss = { class: "mt-4" }, Bs = { class: "-mx-2 -my-1.5 flex" }, Ms = ["onClick"], Ds = {
1238
1247
  key: 1,
1239
1248
  class: "flex flex-col animate-pulse"
1240
- }, js = /* @__PURE__ */ B({
1249
+ }, js = /* @__PURE__ */ M({
1241
1250
  __name: "uiAlert",
1242
1251
  props: {
1243
1252
  actions: {},
@@ -1247,10 +1256,10 @@ const zt = { class: "flex justify-between" }, Lt = {
1247
1256
  },
1248
1257
  emits: ["alertEvent"],
1249
1258
  setup(m, { emit: i }) {
1250
- const o = i, a = (r) => {
1251
- o("alertEvent", r.event);
1259
+ const l = i, a = (r) => {
1260
+ l("alertEvent", r.event);
1252
1261
  };
1253
- return (r, l) => r.loading ? (s(), n("div", Ds, l[0] || (l[0] = [
1262
+ return (r, o) => r.loading ? (s(), n("div", Ds, o[0] || (o[0] = [
1254
1263
  K('<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)
1255
1264
  ]))) : (s(), n("div", ks, [
1256
1265
  e("div", {
@@ -1267,22 +1276,22 @@ const zt = { class: "flex justify-between" }, Lt = {
1267
1276
  key: 0,
1268
1277
  class: "h-8 w-8 text-indigo-400",
1269
1278
  "aria-hidden": "true"
1270
- })) : b("", !0),
1279
+ })) : w("", !0),
1271
1280
  r.type === "danger" ? (s(), _(u(pe), {
1272
1281
  key: 1,
1273
1282
  class: "h-8 w-8 text-red-400",
1274
1283
  "aria-hidden": "true"
1275
- })) : b("", !0),
1284
+ })) : w("", !0),
1276
1285
  r.type === "warning" ? (s(), _(u(U), {
1277
1286
  key: 2,
1278
1287
  class: "h-8 w-8 text-yellow-400",
1279
1288
  "aria-hidden": "true"
1280
- })) : b("", !0),
1289
+ })) : w("", !0),
1281
1290
  r.type === "success" ? (s(), _(u(Ze), {
1282
1291
  key: 3,
1283
1292
  class: "h-8 w-8 text-green-400",
1284
1293
  "aria-hidden": "true"
1285
- })) : b("", !0)
1294
+ })) : w("", !0)
1286
1295
  ]),
1287
1296
  e("div", Cs, [
1288
1297
  e("h3", {
@@ -1337,7 +1346,7 @@ const zt = { class: "flex justify-between" }, Lt = {
1337
1346
  }, As = ["onClick"], Ps = {
1338
1347
  key: 1,
1339
1348
  class: "flex flex-row items-center animate-pulse"
1340
- }, Ys = /* @__PURE__ */ B({
1349
+ }, Ys = /* @__PURE__ */ M({
1341
1350
  __name: "uiBreadcrumbs",
1342
1351
  props: {
1343
1352
  pages: {},
@@ -1345,17 +1354,17 @@ const zt = { class: "flex justify-between" }, Lt = {
1345
1354
  },
1346
1355
  emits: ["breadCrumbClicked"],
1347
1356
  setup(m, { emit: i }) {
1348
- return (o, a) => o.loading ? (s(), n("div", Ps, a[0] || (a[0] = [
1357
+ return (l, a) => l.loading ? (s(), n("div", Ps, a[0] || (a[0] = [
1349
1358
  e("div", { class: "animate-pulse rounded-full bg-gray-200 dark:bg-gray-300 h-4 w-4 mr-4" }, null, -1),
1350
1359
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/5 mr-4" }, null, -1),
1351
1360
  e("div", { class: "animate-pulse rounded-full bg-gray-200 dark:bg-gray-300 h-4 w-4 mr-4" }, null, -1),
1352
1361
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/5" }, null, -1)
1353
1362
  ]))) : (s(), n("nav", Ts, [
1354
1363
  e("ol", zs, [
1355
- (s(!0), n(k, null, $(o.pages, (r, l) => (s(), n("li", { key: l }, [
1356
- l === 0 ? (s(), n("div", Ls, [
1364
+ (s(!0), n(k, null, $(l.pages, (r, o) => (s(), n("li", { key: o }, [
1365
+ o === 0 ? (s(), n("div", Ls, [
1357
1366
  e("p", {
1358
- onClick: (t) => o.$emit("breadCrumbClicked", r.routeName),
1367
+ onClick: (t) => l.$emit("breadCrumbClicked", r.routeName),
1359
1368
  class: "flex flex-row items-center justify-center text-indigo-600 hover:text-indigo-800 cursor-pointer"
1360
1369
  }, [
1361
1370
  p(u(Mt), {
@@ -1370,7 +1379,7 @@ const zt = { class: "flex justify-between" }, Lt = {
1370
1379
  "aria-hidden": "true"
1371
1380
  }),
1372
1381
  e("span", {
1373
- onClick: (t) => o.$emit("breadCrumbClicked", r.routeName),
1382
+ onClick: (t) => l.$emit("breadCrumbClicked", r.routeName),
1374
1383
  class: y(["cursor-pointer ml-4 text-xs text-gray-400 hover:text-gray-500", { "text-indigo-600 hover:text-indigo-800": !r.current }]),
1375
1384
  "aria-current": "page"
1376
1385
  }, g(r.name), 11, As)
@@ -1385,7 +1394,7 @@ const zt = { class: "flex justify-between" }, Lt = {
1385
1394
  }, Hs = {
1386
1395
  key: 1,
1387
1396
  class: "rounded-lg bg-white shadow p-6 cursor-pointer animate-pulse"
1388
- }, Us = /* @__PURE__ */ B({
1397
+ }, Us = /* @__PURE__ */ M({
1389
1398
  __name: "uiCard",
1390
1399
  props: {
1391
1400
  id: {},
@@ -1397,42 +1406,42 @@ const zt = { class: "flex justify-between" }, Lt = {
1397
1406
  },
1398
1407
  emits: ["cardSelected"],
1399
1408
  setup(m, { emit: i }) {
1400
- return (o, a) => {
1409
+ return (l, a) => {
1401
1410
  var r;
1402
- return o.loading ? (s(), n("div", Hs, a[1] || (a[1] = [
1411
+ return l.loading ? (s(), n("div", Hs, a[1] || (a[1] = [
1403
1412
  K('<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)
1404
1413
  ]))) : (s(), n("div", {
1405
1414
  key: 0,
1406
1415
  class: "rounded-lg bg-white shadow p-6 cursor-pointer",
1407
- onClick: a[0] || (a[0] = (l) => o.$emit("cardSelected", { id: o.id, name: o.name, type: o.type, tags: o.tags }))
1416
+ onClick: a[0] || (a[0] = (o) => l.$emit("cardSelected", { id: l.id, name: l.name, type: l.type, tags: l.tags }))
1408
1417
  }, [
1409
1418
  e("div", Is, [
1410
1419
  e("img", {
1411
1420
  class: "w-16 h-16 rounded-full mb-4 sm:mb-0 sm:mr-4",
1412
- src: o.logo
1421
+ src: l.logo
1413
1422
  }, null, 8, Fs),
1414
1423
  e("div", null, [
1415
- e("h4", Vs, g(o.name), 1),
1416
- e("p", Rs, g(o.type), 1)
1424
+ e("h4", Vs, g(l.name), 1),
1425
+ e("p", Rs, g(l.type), 1)
1417
1426
  ])
1418
1427
  ]),
1419
- o.tags && ((r = o.tags) == null ? void 0 : r.length) > 0 ? (s(), n("div", qs, [
1420
- (s(!0), n(k, null, $(o.tags, (l) => (s(), _(H, {
1428
+ l.tags && ((r = l.tags) == null ? void 0 : r.length) > 0 ? (s(), n("div", qs, [
1429
+ (s(!0), n(k, null, $(l.tags, (o) => (s(), _(H, {
1421
1430
  class: "mb-1 mr-1",
1422
- key: l.name,
1423
- color: l.color,
1424
- loading: o.loading
1431
+ key: o.name,
1432
+ color: o.color,
1433
+ loading: l.loading
1425
1434
  }, {
1426
1435
  default: v(() => [
1427
- L(g(l.name), 1)
1436
+ L(g(o.name), 1)
1428
1437
  ]),
1429
1438
  _: 2
1430
1439
  }, 1032, ["color", "loading"]))), 128))
1431
- ])) : b("", !0)
1440
+ ])) : w("", !0)
1432
1441
  ]));
1433
1442
  };
1434
1443
  }
1435
- }), Ge = /* @__PURE__ */ B({
1444
+ }), Ge = /* @__PURE__ */ M({
1436
1445
  __name: "uiFilter",
1437
1446
  props: {
1438
1447
  items: {},
@@ -1442,24 +1451,24 @@ const zt = { class: "flex justify-between" }, Lt = {
1442
1451
  },
1443
1452
  emits: ["filterSelected"],
1444
1453
  setup(m, { emit: i }) {
1445
- const o = i, a = m, r = (t) => {
1446
- l.value.forEach((c) => {
1454
+ const l = i, a = m, r = (t) => {
1455
+ o.value.forEach((c) => {
1447
1456
  c.active = c.value === t.value;
1448
- }), o("filterSelected", t);
1449
- }, l = N(a.items);
1457
+ }), l("filterSelected", t);
1458
+ }, o = A(a.items);
1450
1459
  return (t, c) => (s(), _(me, {
1451
1460
  class: "text-nowrap",
1452
1461
  loading: t.loading,
1453
1462
  onOptionSelected: c[0] || (c[0] = (d) => r(d)),
1454
1463
  position: t.position,
1455
- items: l.value,
1464
+ items: o.value,
1456
1465
  label: t.label
1457
1466
  }, null, 8, ["loading", "position", "items", "label"]));
1458
1467
  }
1459
1468
  }), Es = { class: "fixed inset-0 z-10 overflow-y-auto" }, Zs = { class: "flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0" }, Js = { class: "absolute top-0 right-0 hidden pt-4 pr-4 sm:block" }, Ws = { class: "sm:flex sm:items-start" }, Gs = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left sm:mr-4 sm:w-10/12 break-words" }, Qs = { class: "mt-4 text-gray-500 text-sm" }, Ks = {
1460
1469
  key: 0,
1461
1470
  class: "mt-8"
1462
- }, Xs = ["onClick"], Qe = /* @__PURE__ */ B({
1471
+ }, Xs = ["onClick"], Qe = /* @__PURE__ */ M({
1463
1472
  __name: "uiModal",
1464
1473
  props: {
1465
1474
  title: {},
@@ -1471,12 +1480,12 @@ const zt = { class: "flex justify-between" }, Lt = {
1471
1480
  },
1472
1481
  emits: ["modalAction"],
1473
1482
  setup(m, { emit: i }) {
1474
- const o = m, a = i, r = (l) => {
1475
- a("modalAction", { modal: o.modalName, action: l });
1483
+ const l = m, a = i, r = (o) => {
1484
+ a("modalAction", { modal: l.modalName, action: o });
1476
1485
  };
1477
- return (l, t) => (s(), _(u(we), {
1486
+ return (o, t) => (s(), _(u(we), {
1478
1487
  as: "template",
1479
- show: l.open
1488
+ show: o.open
1480
1489
  }, {
1481
1490
  default: v(() => [
1482
1491
  p(u(xe), {
@@ -1523,42 +1532,42 @@ const zt = { class: "flex justify-between" }, Lt = {
1523
1532
  p(j, {
1524
1533
  icon: u(W),
1525
1534
  "aria-hidden": "true",
1526
- loading: l.loading
1535
+ loading: o.loading
1527
1536
  }, null, 8, ["icon", "loading"])
1528
1537
  ])
1529
1538
  ]),
1530
1539
  e("div", Ws, [
1531
1540
  e("div", {
1532
1541
  class: y(["mx-auto flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full sm:mx-0 sm:h-10 sm:w-10", {
1533
- "bg-red-100": l.type === "danger",
1534
- "bg-green-100": l.type === "success",
1535
- "bg-indigo-100": l.type === "default",
1536
- "bg-yellow-100": l.type === "warning"
1542
+ "bg-red-100": o.type === "danger",
1543
+ "bg-green-100": o.type === "success",
1544
+ "bg-indigo-100": o.type === "default",
1545
+ "bg-yellow-100": o.type === "warning"
1537
1546
  }])
1538
1547
  }, [
1539
1548
  C(p(u(W), {
1540
1549
  class: "h-6 w-6 text-red-600",
1541
1550
  "aria-hidden": "true"
1542
1551
  }, null, 512), [
1543
- [D, l.type === "danger"]
1552
+ [D, o.type === "danger"]
1544
1553
  ]),
1545
1554
  C(p(u(ge), {
1546
1555
  class: "h-6 w-6 text-green-600",
1547
1556
  "aria-hidden": "true"
1548
1557
  }, null, 512), [
1549
- [D, l.type === "success"]
1558
+ [D, o.type === "success"]
1550
1559
  ]),
1551
1560
  C(p(u(U), {
1552
1561
  class: "h-6 w-6 text-yellow-600",
1553
1562
  "aria-hidden": "true"
1554
1563
  }, null, 512), [
1555
- [D, l.type === "warning"]
1564
+ [D, o.type === "warning"]
1556
1565
  ]),
1557
1566
  C(p(u(Bt), {
1558
1567
  class: "h-6 w-6 text-indigo-600",
1559
1568
  "aria-hidden": "true"
1560
1569
  }, null, 512), [
1561
- [D, l.type === "default"]
1570
+ [D, o.type === "default"]
1562
1571
  ])
1563
1572
  ], 2),
1564
1573
  e("div", Gs, [
@@ -1567,21 +1576,21 @@ const zt = { class: "flex justify-between" }, Lt = {
1567
1576
  class: "text-lg font-medium leading-6 text-gray-900"
1568
1577
  }, {
1569
1578
  default: v(() => [
1570
- L(g(l.title), 1)
1579
+ L(g(o.title), 1)
1571
1580
  ]),
1572
1581
  _: 1
1573
1582
  }),
1574
1583
  e("div", Qs, [
1575
- R(l.$slots, "default")
1584
+ R(o.$slots, "default")
1576
1585
  ]),
1577
- l.actions ? (s(), n("div", Ks, [
1578
- (s(!0), n(k, null, $(l.actions, (c, d) => (s(), n("button", {
1586
+ o.actions ? (s(), n("div", Ks, [
1587
+ (s(!0), n(k, null, $(o.actions, (c, d) => (s(), n("button", {
1579
1588
  key: d,
1580
1589
  type: "button",
1581
1590
  class: "inline-flex w-full justify-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-base font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 mb-2 sm:mb-0 mr-2 sm:w-auto sm:text-sm",
1582
- onClick: (f) => r(c.value)
1591
+ onClick: (h) => r(c.value)
1583
1592
  }, g(c.name), 9, Xs))), 128))
1584
- ])) : b("", !0)
1593
+ ])) : w("", !0)
1585
1594
  ])
1586
1595
  ])
1587
1596
  ]),
@@ -1602,7 +1611,7 @@ const zt = { class: "flex justify-between" }, Lt = {
1602
1611
  }), eo = { class: "w-full flex flex-col items-center space-y-4 sm:items-end" }, to = {
1603
1612
  key: 0,
1604
1613
  class: "max-w-sm w-full bg-white shadow-lg rounded-lg pointer-events-auto ring-1 ring-black ring-opacity-5 overflow-hidden"
1605
- }, so = { class: "p-4" }, oo = { class: "flex items-start" }, lo = { class: "flex-shrink-0 mt-0.5" }, ro = { class: "ml-3 w-0 flex-1 pt-0.5" }, no = { class: "font-medium text-gray-900" }, ao = { class: "mt-1 text-sm text-gray-500" }, io = { class: "ml-4 flex-shrink-0 flex" }, uo = /* @__PURE__ */ B({
1614
+ }, so = { class: "p-4" }, oo = { class: "flex items-start" }, lo = { class: "flex-shrink-0 mt-0.5" }, ro = { class: "ml-3 w-0 flex-1 pt-0.5" }, no = { class: "font-medium text-gray-900" }, ao = { class: "mt-1 text-sm text-gray-500" }, io = { class: "ml-4 flex-shrink-0 flex" }, uo = /* @__PURE__ */ M({
1606
1615
  __name: "uiNotification",
1607
1616
  props: {
1608
1617
  type: { default: "info" },
@@ -1613,8 +1622,8 @@ const zt = { class: "flex justify-between" }, Lt = {
1613
1622
  },
1614
1623
  emits: ["closeNotification"],
1615
1624
  setup(m, { emit: i }) {
1616
- const o = m, a = Y(() => o.show);
1617
- return (r, l) => (s(), n("div", {
1625
+ const l = m, a = Y(() => l.show);
1626
+ return (r, o) => (s(), n("div", {
1618
1627
  "aria-live": "assertive",
1619
1628
  class: y([{ fixed: r.fixed }, "inset-0 flex items-end px-4 py-6 pointer-events-none sm:p-6 sm:items-start"])
1620
1629
  }, [
@@ -1665,9 +1674,9 @@ const zt = { class: "flex justify-between" }, Lt = {
1665
1674
  e("button", {
1666
1675
  class: "bg-white rounded-md inline-flex text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500",
1667
1676
  type: "button",
1668
- onClick: l[0] || (l[0] = (t) => r.$emit("closeNotification"))
1677
+ onClick: o[0] || (o[0] = (t) => r.$emit("closeNotification"))
1669
1678
  }, [
1670
- l[1] || (l[1] = e("span", { class: "sr-only" }, "Close", -1)),
1679
+ o[1] || (o[1] = e("span", { class: "sr-only" }, "Close", -1)),
1671
1680
  p(u(W), {
1672
1681
  "aria-hidden": "true",
1673
1682
  class: "h-5 w-5"
@@ -1676,7 +1685,7 @@ const zt = { class: "flex justify-between" }, Lt = {
1676
1685
  ])
1677
1686
  ])
1678
1687
  ])
1679
- ])) : b("", !0)
1688
+ ])) : w("", !0)
1680
1689
  ]),
1681
1690
  _: 1
1682
1691
  })
@@ -1690,18 +1699,18 @@ const zt = { class: "flex justify-between" }, Lt = {
1690
1699
  }, go = { class: "min-w-0" }, po = { class: "flex items-start gap-x-3" }, mo = { class: "text-sm font-semibold leading-6 text-gray-900" }, fo = { class: "mt-1 flex items-center gap-x-2 text-xs leading-5 text-gray-500" }, ho = { class: "truncate" }, yo = { class: "flex flex-none items-center gap-x-4" }, vo = ["href"], bo = { class: "sr-only" }, wo = {
1691
1700
  key: 1,
1692
1701
  class: "divide-y divide-gray-100 animate-pulse"
1693
- }, xo = /* @__PURE__ */ B({
1702
+ }, xo = /* @__PURE__ */ M({
1694
1703
  __name: "uiTaskList",
1695
1704
  props: {
1696
1705
  tasks: {},
1697
1706
  loading: { type: Boolean, default: !0 }
1698
1707
  },
1699
1708
  setup(m) {
1700
- return (i, o) => i.loading ? (s(), n("ul", wo, [
1709
+ return (i, l) => i.loading ? (s(), n("ul", wo, [
1701
1710
  (s(!0), n(k, null, $(i.tasks, (a) => (s(), n("li", {
1702
1711
  key: a.id,
1703
1712
  class: "flex items-center justify-between gap-x-6 py-5"
1704
- }, o[0] || (o[0] = [
1713
+ }, l[0] || (l[0] = [
1705
1714
  K('<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)
1706
1715
  ])))), 128))
1707
1716
  ])) : (s(), n("ul", co, [
@@ -1746,16 +1755,16 @@ function ko(m) {
1746
1755
  var re = { exports: {} }, _o = re.exports, Me;
1747
1756
  function $o() {
1748
1757
  return Me || (Me = 1, function(m, i) {
1749
- (function(o, a) {
1750
- m.exports = a(T);
1751
- })(_o, function(o) {
1758
+ (function(l, a) {
1759
+ m.exports = a(z);
1760
+ })(_o, function(l) {
1752
1761
  function a(t) {
1753
1762
  return t && typeof t == "object" && "default" in t ? t : { default: t };
1754
1763
  }
1755
- var r = a(o), l = { name: "es", monthsShort: "ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"), weekdays: "domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"), weekdaysShort: "dom._lun._mar._mié._jue._vie._sáb.".split("_"), weekdaysMin: "do_lu_ma_mi_ju_vi_sá".split("_"), months: "enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"), weekStart: 1, formats: { LT: "H:mm", LTS: "H:mm:ss", L: "DD/MM/YYYY", LL: "D [de] MMMM [de] YYYY", LLL: "D [de] MMMM [de] YYYY H:mm", LLLL: "dddd, D [de] MMMM [de] YYYY H:mm" }, relativeTime: { future: "en %s", past: "hace %s", s: "unos segundos", m: "un minuto", mm: "%d minutos", h: "una hora", hh: "%d horas", d: "un día", dd: "%d días", M: "un mes", MM: "%d meses", y: "un año", yy: "%d años" }, ordinal: function(t) {
1764
+ var r = a(l), o = { name: "es", monthsShort: "ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"), weekdays: "domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"), weekdaysShort: "dom._lun._mar._mié._jue._vie._sáb.".split("_"), weekdaysMin: "do_lu_ma_mi_ju_vi_sá".split("_"), months: "enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"), weekStart: 1, formats: { LT: "H:mm", LTS: "H:mm:ss", L: "DD/MM/YYYY", LL: "D [de] MMMM [de] YYYY", LLL: "D [de] MMMM [de] YYYY H:mm", LLLL: "dddd, D [de] MMMM [de] YYYY H:mm" }, relativeTime: { future: "en %s", past: "hace %s", s: "unos segundos", m: "un minuto", mm: "%d minutos", h: "una hora", hh: "%d horas", d: "un día", dd: "%d días", M: "un mes", MM: "%d meses", y: "un año", yy: "%d años" }, ordinal: function(t) {
1756
1765
  return t + "º";
1757
1766
  } };
1758
- return r.default.locale(l, null, !0), l;
1767
+ return r.default.locale(o, null, !0), o;
1759
1768
  });
1760
1769
  }(re)), re.exports;
1761
1770
  }
@@ -1763,16 +1772,16 @@ $o();
1763
1772
  var ne = { exports: {} }, Co = ne.exports, De;
1764
1773
  function So() {
1765
1774
  return De || (De = 1, function(m, i) {
1766
- (function(o, a) {
1767
- m.exports = a(T);
1768
- })(Co, function(o) {
1775
+ (function(l, a) {
1776
+ m.exports = a(z);
1777
+ })(Co, function(l) {
1769
1778
  function a(d) {
1770
1779
  return d && typeof d == "object" && "default" in d ? d : { default: d };
1771
1780
  }
1772
- var r = a(o), l = { s: "ein paar Sekunden", m: ["eine Minute", "einer Minute"], mm: "%d Minuten", h: ["eine Stunde", "einer Stunde"], hh: "%d Stunden", d: ["ein Tag", "einem Tag"], dd: ["%d Tage", "%d Tagen"], M: ["ein Monat", "einem Monat"], MM: ["%d Monate", "%d Monaten"], y: ["ein Jahr", "einem Jahr"], yy: ["%d Jahre", "%d Jahren"] };
1773
- function t(d, f, h) {
1774
- var w = l[h];
1775
- return Array.isArray(w) && (w = w[f ? 0 : 1]), w.replace("%d", d);
1781
+ var r = a(l), o = { s: "ein paar Sekunden", m: ["eine Minute", "einer Minute"], mm: "%d Minuten", h: ["eine Stunde", "einer Stunde"], hh: "%d Stunden", d: ["ein Tag", "einem Tag"], dd: ["%d Tage", "%d Tagen"], M: ["ein Monat", "einem Monat"], MM: ["%d Monate", "%d Monaten"], y: ["ein Jahr", "einem Jahr"], yy: ["%d Jahre", "%d Jahren"] };
1782
+ function t(d, h, f) {
1783
+ var b = o[f];
1784
+ return Array.isArray(b) && (b = b[h ? 0 : 1]), b.replace("%d", d);
1776
1785
  }
1777
1786
  var c = { name: "de", weekdays: "Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"), weekdaysShort: "So._Mo._Di._Mi._Do._Fr._Sa.".split("_"), weekdaysMin: "So_Mo_Di_Mi_Do_Fr_Sa".split("_"), months: "Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"), monthsShort: "Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"), ordinal: function(d) {
1778
1787
  return d + ".";
@@ -1785,12 +1794,12 @@ So();
1785
1794
  var ae = { exports: {} }, Bo = ae.exports, je;
1786
1795
  function Mo() {
1787
1796
  return je || (je = 1, function(m, i) {
1788
- (function(o, a) {
1797
+ (function(l, a) {
1789
1798
  m.exports = a();
1790
1799
  })(Bo, function() {
1791
- return { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(o) {
1792
- var a = ["th", "st", "nd", "rd"], r = o % 100;
1793
- return "[" + o + (a[(r - 20) % 10] || a[r] || a[0]) + "]";
1800
+ return { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(l) {
1801
+ var a = ["th", "st", "nd", "rd"], r = l % 100;
1802
+ return "[" + l + (a[(r - 20) % 10] || a[r] || a[0]) + "]";
1794
1803
  } };
1795
1804
  });
1796
1805
  }(ae)), ae.exports;
@@ -1799,37 +1808,37 @@ Mo();
1799
1808
  var ie = { exports: {} }, Do = ie.exports, Te;
1800
1809
  function jo() {
1801
1810
  return Te || (Te = 1, function(m, i) {
1802
- (function(o, a) {
1803
- m.exports = a(T);
1804
- })(Do, function(o) {
1811
+ (function(l, a) {
1812
+ m.exports = a(z);
1813
+ })(Do, function(l) {
1805
1814
  function a(t) {
1806
1815
  return t && typeof t == "object" && "default" in t ? t : { default: t };
1807
1816
  }
1808
- var r = a(o), l = { name: "fr", weekdays: "dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"), weekdaysShort: "dim._lun._mar._mer._jeu._ven._sam.".split("_"), weekdaysMin: "di_lu_ma_me_je_ve_sa".split("_"), months: "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"), monthsShort: "janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"), weekStart: 1, yearStart: 4, formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, relativeTime: { future: "dans %s", past: "il y a %s", s: "quelques secondes", m: "une minute", mm: "%d minutes", h: "une heure", hh: "%d heures", d: "un jour", dd: "%d jours", M: "un mois", MM: "%d mois", y: "un an", yy: "%d ans" }, ordinal: function(t) {
1817
+ var r = a(l), o = { name: "fr", weekdays: "dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"), weekdaysShort: "dim._lun._mar._mer._jeu._ven._sam.".split("_"), weekdaysMin: "di_lu_ma_me_je_ve_sa".split("_"), months: "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"), monthsShort: "janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"), weekStart: 1, yearStart: 4, formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, relativeTime: { future: "dans %s", past: "il y a %s", s: "quelques secondes", m: "une minute", mm: "%d minutes", h: "une heure", hh: "%d heures", d: "un jour", dd: "%d jours", M: "un mois", MM: "%d mois", y: "un an", yy: "%d ans" }, ordinal: function(t) {
1809
1818
  return "" + t + (t === 1 ? "er" : "");
1810
1819
  } };
1811
- return r.default.locale(l, null, !0), l;
1820
+ return r.default.locale(o, null, !0), o;
1812
1821
  });
1813
1822
  }(ie)), ie.exports;
1814
1823
  }
1815
1824
  jo();
1816
1825
  const se = (m, i) => {
1817
- const o = m.__vccOpts || m;
1826
+ const l = m.__vccOpts || m;
1818
1827
  for (const [a, r] of i)
1819
- o[a] = r;
1820
- return o;
1828
+ l[a] = r;
1829
+ return l;
1821
1830
  }, To = {
1822
1831
  name: "dateSelector",
1823
1832
  components: { ChevronLeftIcon: Je, ChevronRightIcon: te },
1824
1833
  computed: {
1825
1834
  currentDate() {
1826
- return T(this.selectedDate).locale("es");
1835
+ return z(this.selectedDate).locale("es");
1827
1836
  },
1828
1837
  today() {
1829
- return T(/* @__PURE__ */ new Date()).locale("es");
1838
+ return z(/* @__PURE__ */ new Date()).locale("es");
1830
1839
  },
1831
1840
  formatedDate() {
1832
- return T(this.currentDate).locale("es").format("DD MMM YYYY");
1841
+ return z(this.currentDate).locale("es").format("DD MMM YYYY");
1833
1842
  }
1834
1843
  },
1835
1844
  props: {
@@ -1840,25 +1849,25 @@ const se = (m, i) => {
1840
1849
  },
1841
1850
  methods: {
1842
1851
  selectDate(m, i) {
1843
- let o;
1852
+ let l;
1844
1853
  if (i === "previous") {
1845
1854
  if (this.currentDate <= this.today) return;
1846
- m === "day" && (o = T(this.currentDate).subtract(1, "day")), m === "month" && (o = T(this.currentDate).subtract(1, "month")), m === "year" && (o = T(this.currentDate).subtract(1, "year")), o <= this.today && (o = this.currentDate = this.today);
1855
+ m === "day" && (l = z(this.currentDate).subtract(1, "day")), m === "month" && (l = z(this.currentDate).subtract(1, "month")), m === "year" && (l = z(this.currentDate).subtract(1, "year")), l <= this.today && (l = this.currentDate = this.today);
1847
1856
  }
1848
- i === "next" && (m === "day" && (o = T(this.selectedDate).add(1, "day")), m === "month" && (o = T(this.selectedDate).add(1, "month")), m === "year" && (o = T(this.selectedDate).add(1, "year"))), this.$emit("dateSelected", o);
1857
+ i === "next" && (m === "day" && (l = z(this.selectedDate).add(1, "day")), m === "month" && (l = z(this.selectedDate).add(1, "month")), m === "year" && (l = z(this.selectedDate).add(1, "year"))), this.$emit("dateSelected", l);
1849
1858
  }
1850
1859
  }
1851
1860
  }, zo = { class: "dateSelector flex items-center text-white flex-row" }, Lo = { class: "pagination flex items-center my-1 md:my-0" }, Oo = { class: "date mx-4 font-bold text-center text-indigo-600 select-none uppercase" }, No = { class: "pagination flex items-center my-1 sm:my-0" };
1852
- function Ao(m, i, o, a, r, l) {
1861
+ function Ao(m, i, l, a, r, o) {
1853
1862
  const t = Be("ChevronLeftIcon"), c = Be("ChevronRightIcon");
1854
1863
  return s(), n("div", zo, [
1855
1864
  e("div", Lo, [
1856
1865
  e("div", {
1857
1866
  class: y([{
1858
- "bg-indigo-600 hover:bg-indigo-800 cursor-pointer": l.currentDate > l.today,
1859
- "bg-indigo-300": l.currentDate <= l.today
1867
+ "bg-indigo-600 hover:bg-indigo-800 cursor-pointer": o.currentDate > o.today,
1868
+ "bg-indigo-300": o.currentDate <= o.today
1860
1869
  }, "previousYear flex items-center p-1 rounded mx-0.5 shadow-sm"]),
1861
- onClick: i[0] || (i[0] = (d) => l.selectDate("year", "previous"))
1870
+ onClick: i[0] || (i[0] = (d) => o.selectDate("year", "previous"))
1862
1871
  }, [
1863
1872
  p(t, { class: "h-4" }),
1864
1873
  p(t, { class: "h-4 -ml-3" }),
@@ -1866,42 +1875,42 @@ function Ao(m, i, o, a, r, l) {
1866
1875
  ], 2),
1867
1876
  e("div", {
1868
1877
  class: y([{
1869
- "bg-indigo-600 hover:bg-indigo-800 cursor-pointer": l.currentDate > l.today,
1870
- "bg-indigo-300": l.currentDate <= l.today
1878
+ "bg-indigo-600 hover:bg-indigo-800 cursor-pointer": o.currentDate > o.today,
1879
+ "bg-indigo-300": o.currentDate <= o.today
1871
1880
  }, "previousYear flex items-center p-1 rounded mx-0.5 shadow-sm"]),
1872
- onClick: i[1] || (i[1] = (d) => l.selectDate("month", "previous"))
1881
+ onClick: i[1] || (i[1] = (d) => o.selectDate("month", "previous"))
1873
1882
  }, [
1874
1883
  p(t, { class: "h-4" }),
1875
1884
  p(t, { class: "h-4 -ml-3" })
1876
1885
  ], 2),
1877
1886
  e("div", {
1878
1887
  class: y([{
1879
- "bg-indigo-600 hover:bg-indigo-800 cursor-pointer": l.currentDate > l.today,
1880
- "bg-indigo-300": l.currentDate <= l.today
1888
+ "bg-indigo-600 hover:bg-indigo-800 cursor-pointer": o.currentDate > o.today,
1889
+ "bg-indigo-300": o.currentDate <= o.today
1881
1890
  }, "previousYear flex items-center p-1 rounded mx-0.5 shadow-sm"]),
1882
- onClick: i[2] || (i[2] = (d) => l.selectDate("day", "previous"))
1891
+ onClick: i[2] || (i[2] = (d) => o.selectDate("day", "previous"))
1883
1892
  }, [
1884
1893
  p(t, { class: "h-4" })
1885
1894
  ], 2)
1886
1895
  ]),
1887
- e("div", Oo, g(l.formatedDate), 1),
1896
+ e("div", Oo, g(o.formatedDate), 1),
1888
1897
  e("div", No, [
1889
1898
  e("div", {
1890
1899
  class: "previousDay flex items-center cursor-pointer bg-indigo-600 p-1 rounded mx-0.5 hover:bg-indigo-800 shadow-sm",
1891
- onClick: i[3] || (i[3] = (d) => l.selectDate("day", "next"))
1900
+ onClick: i[3] || (i[3] = (d) => o.selectDate("day", "next"))
1892
1901
  }, [
1893
1902
  p(c, { class: "h-4" })
1894
1903
  ]),
1895
1904
  e("div", {
1896
1905
  class: "previousMonth flex items-center cursor-pointer bg-indigo-600 p-1 rounded mx-0.5 hover:bg-indigo-800 shadow-sm",
1897
- onClick: i[4] || (i[4] = (d) => l.selectDate("month", "next"))
1906
+ onClick: i[4] || (i[4] = (d) => o.selectDate("month", "next"))
1898
1907
  }, [
1899
1908
  p(c, { class: "h-4" }),
1900
1909
  p(c, { class: "h-4 -ml-3" })
1901
1910
  ]),
1902
1911
  e("div", {
1903
1912
  class: "previousYear flex items-center cursor-pointer bg-indigo-600 p-1 rounded mx-0.5 hover:bg-indigo-800 shadow-sm",
1904
- onClick: i[5] || (i[5] = (d) => l.selectDate("year", "next"))
1913
+ onClick: i[5] || (i[5] = (d) => o.selectDate("year", "next"))
1905
1914
  }, [
1906
1915
  p(c, { class: "h-4" }),
1907
1916
  p(c, { class: "h-4 -ml-3" }),
@@ -1913,7 +1922,7 @@ function Ao(m, i, o, a, r, l) {
1913
1922
  const Po = /* @__PURE__ */ se(To, [["render", Ao]]), Yo = {
1914
1923
  name: "SkeletonTable"
1915
1924
  }, Io = { class: "px-4 sm:px-6 lg:px-8 animate-pulse" }, Fo = { class: "flow-root" }, Vo = { class: "-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8" }, Ro = { class: "inline-block min-w-full py-2 align-middle px-1" }, qo = { class: "overflow-hidden shadow ring-1 ring-black ring-opacity-5 sm:rounded-lg" }, Ho = { class: "min-w-full divide-y divide-gray-300" }, Uo = { class: "divide-y divide-gray-200 bg-white" };
1916
- function Eo(m, i, o, a, r, l) {
1925
+ function Eo(m, i, l, a, r, o) {
1917
1926
  return s(), n("div", Io, [
1918
1927
  e("div", Fo, [
1919
1928
  e("div", Vo, [
@@ -1995,13 +2004,13 @@ const Ke = /* @__PURE__ */ se(Yo, [["render", Eo]]);
1995
2004
  var de = { exports: {} }, Zo = de.exports, ze;
1996
2005
  function Jo() {
1997
2006
  return ze || (ze = 1, function(m, i) {
1998
- (function(o, a) {
2007
+ (function(l, a) {
1999
2008
  m.exports = a();
2000
2009
  })(Zo, function() {
2001
- return function(o, a, r) {
2010
+ return function(l, a, r) {
2002
2011
  a.prototype.isToday = function() {
2003
- var l = "YYYY-MM-DD", t = r();
2004
- return this.format(l) === t.format(l);
2012
+ var o = "YYYY-MM-DD", t = r();
2013
+ return this.format(o) === t.format(o);
2005
2014
  };
2006
2015
  };
2007
2016
  });
@@ -2015,29 +2024,29 @@ const Go = /* @__PURE__ */ ko(Wo), Qo = {
2015
2024
  },
2016
2025
  computed: {
2017
2026
  currentDay() {
2018
- return T.extend(Go), {
2019
- dayName: T(this.day).locale("es").format("ddd"),
2020
- day: T(this.day).locale("es").format("DD"),
2021
- month: T(this.day).locale("es").format("MMM."),
2022
- isWeekend: T(this.day).format("d") == 6 || T(this.day).format("d") == 0,
2023
- isToday: T(this.day).isToday()
2027
+ return z.extend(Go), {
2028
+ dayName: z(this.day).locale("es").format("ddd"),
2029
+ day: z(this.day).locale("es").format("DD"),
2030
+ month: z(this.day).locale("es").format("MMM."),
2031
+ isWeekend: z(this.day).format("d") == 6 || z(this.day).format("d") == 0,
2032
+ isToday: z(this.day).isToday()
2024
2033
  };
2025
2034
  }
2026
2035
  }
2027
2036
  }, Ko = { class: "text-xs" }, Xo = { class: "font-bold text-lg" }, el = { class: "text-xs font-medium" };
2028
- function tl(m, i, o, a, r, l) {
2037
+ function tl(m, i, l, a, r, o) {
2029
2038
  return s(), n("div", {
2030
2039
  class: y([
2031
2040
  "day select-none text-center",
2032
2041
  {
2033
- "bg-indigo-200 text-white": l.currentDay.isWeekend,
2034
- "bg-[#0ff] text-white": l.currentDay.isToday
2042
+ "bg-indigo-200 text-white": o.currentDay.isWeekend,
2043
+ "bg-[#0ff] text-white": o.currentDay.isToday
2035
2044
  }
2036
2045
  ])
2037
2046
  }, [
2038
- e("p", Ko, g(l.currentDay.dayName), 1),
2039
- e("p", Xo, g(l.currentDay.day), 1),
2040
- e("p", el, g(l.currentDay.month), 1)
2047
+ e("p", Ko, g(o.currentDay.dayName), 1),
2048
+ e("p", Xo, g(o.currentDay.day), 1),
2049
+ e("p", el, g(o.currentDay.month), 1)
2041
2050
  ], 2);
2042
2051
  }
2043
2052
  const sl = /* @__PURE__ */ se(Qo, [["render", tl]]), ol = {
@@ -2054,24 +2063,24 @@ const sl = /* @__PURE__ */ se(Qo, [["render", tl]]), ol = {
2054
2063
  computed: {
2055
2064
  currentDay() {
2056
2065
  return {
2057
- isWeekend: T(this.price.date).format("d") == 6 || T(this.price.date).format("d") == 0,
2066
+ isWeekend: z(this.price.date).format("d") == 6 || z(this.price.date).format("d") == 0,
2058
2067
  price: this.price.price
2059
2068
  };
2060
2069
  }
2061
2070
  }
2062
2071
  }, ll = { class: "priceDay" };
2063
- function rl(m, i, o, a, r, l) {
2072
+ function rl(m, i, l, a, r, o) {
2064
2073
  return s(), n("div", ll, [
2065
2074
  e("div", {
2066
2075
  class: y([
2067
2076
  {
2068
- "bg-indigo-200 text-white": l.currentDay.isWeekend,
2069
- "bg-green-300 text-white": o.price.price > o.basePrice,
2070
- "bg-yellow-300 text-white": o.price.price < o.basePrice
2077
+ "bg-indigo-200 text-white": o.currentDay.isWeekend,
2078
+ "bg-green-300 text-white": l.price.price > l.basePrice,
2079
+ "bg-yellow-300 text-white": l.price.price < l.basePrice
2071
2080
  },
2072
2081
  "select-none text-center rounded-lg p-1"
2073
2082
  ])
2074
- }, g(l.currentDay.price) + g(o.currency), 3)
2083
+ }, g(o.currentDay.price) + g(l.currency), 3)
2075
2084
  ]);
2076
2085
  }
2077
2086
  const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
@@ -2125,7 +2134,7 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2125
2134
  }, Ll = {
2126
2135
  colspan: "2",
2127
2136
  class: "pl-4"
2128
- }, Ol = /* @__PURE__ */ B({
2137
+ }, Ol = /* @__PURE__ */ M({
2129
2138
  __name: "uiPriceCalendar",
2130
2139
  props: {
2131
2140
  loading: { type: Boolean },
@@ -2139,23 +2148,23 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2139
2148
  },
2140
2149
  emits: ["dateChanged", "changeCategoryBulkPrices", "changeCategorySelectionPrice", "changeCategoryUpgradePrice", "changeRoomPrice", "tableAction"],
2141
2150
  setup(m, { emit: i }) {
2142
- const o = m, a = i, r = N(/* @__PURE__ */ new Date()), l = N(o.today), t = N([]);
2143
- q(() => o.today, (x) => {
2144
- l.value = x;
2151
+ const l = m, a = i, r = A(/* @__PURE__ */ new Date()), o = A(l.today), t = A([]);
2152
+ q(() => l.today, (x) => {
2153
+ o.value = x;
2145
2154
  });
2146
2155
  const c = Y(() => {
2147
2156
  let x = [];
2148
2157
  for (let I = 0; I < 14; I++)
2149
- x.push(T(l.value).add(I, "day"));
2158
+ x.push(z(o.value).add(I, "day"));
2150
2159
  return x;
2151
- }), d = Y(() => t.value.length > 0 && t.value.length < o.rooms.length), f = (x) => {
2152
- T(x).isBefore(r.value) || (l.value = x, a("dateChanged", l.value));
2153
- }, h = (x) => {
2154
- let I = o.category.selectionPrices.find((P) => T(P.date).isSame(x.date));
2160
+ }), d = Y(() => t.value.length > 0 && t.value.length < l.rooms.length), h = (x) => {
2161
+ z(x).isBefore(r.value) || (o.value = x, a("dateChanged", o.value));
2162
+ }, f = (x) => {
2163
+ let I = l.category.selectionPrices.find((P) => z(P.date).isSame(x.date));
2155
2164
  return I ? I.price : x.price;
2156
- }, w = (x) => {
2157
- t.value = x.target.checked ? o.rooms.map((I) => I.id) : [];
2158
- }, z = () => a("changeCategoryBulkPrices"), A = (x) => a("changeCategorySelectionPrice", x), M = (x) => a("changeCategoryUpgradePrice", x), S = (x) => a("tableAction", x), F = (x, I, P) => a("changeRoomPrice", { price: x, roomId: I, roomName: P });
2165
+ }, b = (x) => {
2166
+ t.value = x.target.checked ? l.rooms.map((I) => I.id) : [];
2167
+ }, T = () => a("changeCategoryBulkPrices"), O = (x) => a("changeCategorySelectionPrice", x), S = (x) => a("changeCategoryUpgradePrice", x), B = (x) => a("tableAction", x), F = (x, I, P) => a("changeRoomPrice", { price: x, roomId: I, roomName: P });
2159
2168
  return (x, I) => {
2160
2169
  var P, oe;
2161
2170
  return x.loading ? (s(), _(Ke, { key: 1 })) : (s(), n("div", nl, [
@@ -2167,18 +2176,18 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2167
2176
  e("tr", null, [
2168
2177
  e("th", gl, [
2169
2178
  p(Po, {
2170
- selectedDate: l.value,
2171
- onDateSelected: I[0] || (I[0] = (O) => f(O))
2179
+ selectedDate: o.value,
2180
+ onDateSelected: I[0] || (I[0] = (N) => h(N))
2172
2181
  }, null, 8, ["selectedDate"])
2173
2182
  ]),
2174
- (s(!0), n(k, null, $(c.value, (O, V) => (s(), n("th", {
2183
+ (s(!0), n(k, null, $(c.value, (N, V) => (s(), n("th", {
2175
2184
  scope: "col",
2176
2185
  key: V,
2177
2186
  class: "text-sm font-semibold text-gray-900 p-0"
2178
2187
  }, [
2179
2188
  p(sl, {
2180
2189
  class: "border-l border-gray-200 px-6 py-3",
2181
- day: O
2190
+ day: N
2182
2191
  }, null, 8, ["day"])
2183
2192
  ]))), 128))
2184
2193
  ]),
@@ -2189,7 +2198,7 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2189
2198
  loading: x.loading,
2190
2199
  class: "ml-4",
2191
2200
  size: "small",
2192
- onClick: z
2201
+ onClick: T
2193
2202
  }, {
2194
2203
  default: v(() => [
2195
2204
  L(g(x.literals.changeInBulk), 1)
@@ -2200,59 +2209,59 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2200
2209
  ]),
2201
2210
  x.type === "discounts" ? (s(), n("tr", ml, [
2202
2211
  e("td", fl, g(x.literals.pricesDiscount), 1),
2203
- (s(!0), n(k, null, $(x.category.selectionPrices, (O, V) => (s(), n("td", {
2212
+ (s(!0), n(k, null, $(x.category.selectionPrices, (N, V) => (s(), n("td", {
2204
2213
  key: V,
2205
2214
  class: "p-0"
2206
2215
  }, [
2207
2216
  p(le, {
2208
- onClick: (X) => A(O),
2217
+ onClick: (X) => O(N),
2209
2218
  class: "border-l border-gray-200 px-6 py-3 text-indigo-600 hover:text-indigo-400 font-bold cursor-pointer",
2210
- price: O,
2219
+ price: N,
2211
2220
  currency: x.currency.symbol,
2212
2221
  isBasePrice: !0
2213
2222
  }, null, 8, ["onClick", "price", "currency"])
2214
2223
  ]))), 128))
2215
- ])) : b("", !0),
2224
+ ])) : w("", !0),
2216
2225
  x.type === "prices" ? (s(), n("tr", hl, [
2217
2226
  e("td", yl, g(x.literals.pricesSelection), 1),
2218
- (s(!0), n(k, null, $(x.category.selectionPrices, (O, V) => (s(), n("td", {
2227
+ (s(!0), n(k, null, $(x.category.selectionPrices, (N, V) => (s(), n("td", {
2219
2228
  key: V,
2220
2229
  class: "p-0"
2221
2230
  }, [
2222
2231
  p(le, {
2223
- onClick: (X) => A(O),
2232
+ onClick: (X) => O(N),
2224
2233
  class: "border-l border-gray-200 px-6 py-3 text-indigo-600 hover:text-indigo-400 font-bold cursor-pointer",
2225
- price: O,
2234
+ price: N,
2226
2235
  currency: x.currency.symbol,
2227
2236
  isBasePrice: !0
2228
2237
  }, null, 8, ["onClick", "price", "currency"])
2229
2238
  ]))), 128))
2230
- ])) : b("", !0),
2239
+ ])) : w("", !0),
2231
2240
  x.type === "prices" ? (s(), n("tr", vl, [
2232
2241
  e("td", bl, g(x.literals.pricesUpgrade), 1),
2233
- (s(!0), n(k, null, $(x.category.upgradePrices, (O, V) => (s(), n("td", {
2242
+ (s(!0), n(k, null, $(x.category.upgradePrices, (N, V) => (s(), n("td", {
2234
2243
  key: V,
2235
2244
  class: "p-0"
2236
2245
  }, [
2237
2246
  p(le, {
2238
- onClick: (X) => M(O),
2247
+ onClick: (X) => S(N),
2239
2248
  class: "border-l border-gray-200 px-6 py-3 text-indigo-600 hover:text-indigo-400 font-bold cursor-pointer bg-gray-100",
2240
- price: O,
2249
+ price: N,
2241
2250
  currency: x.currency.symbol,
2242
2251
  isBasePrice: !0
2243
2252
  }, null, 8, ["onClick", "price", "currency"])
2244
2253
  ]))), 128))
2245
- ])) : b("", !0),
2254
+ ])) : w("", !0),
2246
2255
  e("tr", null, [
2247
2256
  e("th", wl, [
2248
2257
  ((P = t.value) == null ? void 0 : P.length) > 0 && ((oe = x.actions) == null ? void 0 : oe.length) > 0 ? (s(), n("div", xl, [
2249
- (s(!0), n(k, null, $(x.actions, (O, V) => (s(), n("button", {
2250
- onClick: (X) => S({ action: O.id, items: t.value }),
2258
+ (s(!0), n(k, null, $(x.actions, (N, V) => (s(), n("button", {
2259
+ onClick: (X) => B({ action: N.id, items: t.value }),
2251
2260
  key: V,
2252
2261
  type: "button",
2253
2262
  class: "inline-flex items-center rounded bg-indigo-600 hover:bg-indigo-800 px-2.5 py-1.5 text-xs font-medium text-white shadow-sm disabled:cursor-not-allowed disabled:opacity-30"
2254
- }, g(O.name), 9, kl))), 128))
2255
- ])) : b("", !0),
2263
+ }, g(N.name), 9, kl))), 128))
2264
+ ])) : w("", !0),
2256
2265
  e("span", null, g(x.literals.pricesSelection), 1)
2257
2266
  ])
2258
2267
  ]),
@@ -2263,7 +2272,7 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2263
2272
  class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-600",
2264
2273
  checked: d.value || t.value.length === x.rooms.length,
2265
2274
  indeterminate: d.value,
2266
- onChange: w
2275
+ onChange: b
2267
2276
  }, null, 40, $l),
2268
2277
  e("span", Cl, g(x.literals.room), 1)
2269
2278
  ]),
@@ -2275,34 +2284,34 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2275
2284
  class: "bg-gray-100 py-2 pl-4 pr-3 text-left font-semibold text-gray-900"
2276
2285
  }, null, -1))
2277
2286
  ]),
2278
- (s(!0), n(k, null, $(x.rooms, (O) => (s(), n("tr", {
2279
- key: O.name,
2287
+ (s(!0), n(k, null, $(x.rooms, (N) => (s(), n("tr", {
2288
+ key: N.name,
2280
2289
  class: y([{ "even:bg-gray-100": x.type === "prices", "odd:bg-gray-100": x.type === "discounts" }])
2281
2290
  }, [
2282
2291
  e("td", Ml, [
2283
- t.value.length > 0 ? (s(), n("div", Dl)) : b("", !0),
2292
+ t.value.length > 0 ? (s(), n("div", Dl)) : w("", !0),
2284
2293
  C(e("input", {
2285
2294
  type: "checkbox",
2286
2295
  class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-600",
2287
- value: O.name,
2296
+ value: N.name,
2288
2297
  "onUpdate:modelValue": I[1] || (I[1] = (V) => t.value = V)
2289
2298
  }, null, 8, jl), [
2290
2299
  [Ae, t.value]
2291
2300
  ]),
2292
- e("span", Tl, g(O.name), 1)
2301
+ e("span", Tl, g(N.name), 1)
2293
2302
  ]),
2294
- e("td", zl, g(O.building), 1),
2295
- e("td", Ll, g(O.floor), 1),
2296
- (s(!0), n(k, null, $(O.selectionPrices, (V, X) => (s(), n("td", {
2303
+ e("td", zl, g(N.building), 1),
2304
+ e("td", Ll, g(N.floor), 1),
2305
+ (s(!0), n(k, null, $(N.selectionPrices, (V, X) => (s(), n("td", {
2297
2306
  class: "p-0",
2298
2307
  key: X
2299
2308
  }, [
2300
2309
  p(le, {
2301
- onClick: (hd) => F(V, O.id, O.name),
2310
+ onClick: (hd) => F(V, N.id, N.name),
2302
2311
  class: "border-l border-gray-200 px-6 py-3 text-indigo-600 hover:text-indigo-400 cursor-pointer",
2303
2312
  price: V,
2304
2313
  currency: x.currency.symbol,
2305
- basePrice: h(V)
2314
+ basePrice: f(V)
2306
2315
  }, null, 8, ["onClick", "price", "currency", "basePrice"])
2307
2316
  ]))), 128))
2308
2317
  ], 2))), 128))
@@ -2317,7 +2326,7 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2317
2326
  }), Nl = { class: "chart-header flex flex-row items-center w-full justify-between" }, Al = { class: "text-sm font-medium text-gray-500 truncate mr-8" }, Pl = {
2318
2327
  key: 0,
2319
2328
  class: "flex items-center gap-x-2 grow"
2320
- }, Yl = { class: "self-center ml-2" }, Il = { class: "self-center ml-2" }, Fl = { class: "self-center ml-2" }, Vl = { class: "hidden sm:flex items-center" }, Rl = { class: "w-1/2 min-w-0 flex-1" }, ql = ["max"], Hl = { class: "min-w-0 flex-1" }, Ul = ["max"], El = { class: "chart-content relative" }, Zl = /* @__PURE__ */ B({
2329
+ }, Yl = { class: "self-center ml-2" }, Il = { class: "self-center ml-2" }, Fl = { class: "self-center ml-2" }, Vl = { class: "hidden sm:flex items-center" }, Rl = { class: "w-1/2 min-w-0 flex-1" }, ql = ["max"], Hl = { class: "min-w-0 flex-1" }, Ul = ["max"], El = { class: "chart-content relative" }, Zl = /* @__PURE__ */ M({
2321
2330
  __name: "uiChart",
2322
2331
  props: {
2323
2332
  labels: {},
@@ -2339,10 +2348,10 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2339
2348
  },
2340
2349
  emits: ["selectedRange", "chartUpdated", "dataPointSelection", "maximizeChart"],
2341
2350
  setup(m, { emit: i }) {
2342
- const o = i, a = N((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":"))), r = m;
2343
- let l = Q(r.dates || { from: "", to: a });
2344
- q(() => r.dates, (M) => {
2345
- M && (l = M);
2351
+ const l = i, a = A((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":"))), r = m;
2352
+ let o = Q(r.dates || { from: "", to: a });
2353
+ q(() => r.dates, (S) => {
2354
+ S && (o = S);
2346
2355
  });
2347
2356
  let c = {
2348
2357
  chart: {
@@ -2355,7 +2364,7 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2355
2364
  },
2356
2365
  colors: function() {
2357
2366
  return r.isNps ? [
2358
- function({ value: M, seriesIndex: S, dataPointIndex: F, w: x }) {
2367
+ function({ value: S, seriesIndex: B, dataPointIndex: F, w: x }) {
2359
2368
  if (F <= 5) return "#F87171";
2360
2369
  if (F > 5 && F <= 7) return "#eab308";
2361
2370
  if (F >= 8) return "#84cc16";
@@ -2400,18 +2409,18 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2400
2409
  }
2401
2410
  ]
2402
2411
  }), r.type === "area" && (c.tooltip = { intersect: !0, shared: !1 });
2403
- const d = () => (c.chart.stacked = r.stacked, { ...c, ...r.options, plotOptions: { bar: { horizontal: r.horizontal } } }), f = () => {
2404
- l.from !== "" && l.to !== "" && T(l.from).isBefore(T(l.to)) && o("selectedRange", { range: l, chartId: r.id });
2405
- }, h = Y(() => r.series), w = Y(() => d()), z = () => o("chartUpdated"), A = (M, S, F) => {
2406
- o("dataPointSelection", { id: r.id, chartContext: S, config: F, event: M });
2412
+ const d = () => (c.chart.stacked = r.stacked, { ...c, ...r.options, plotOptions: { bar: { horizontal: r.horizontal } } }), h = () => {
2413
+ o.from !== "" && o.to !== "" && z(o.from).isBefore(z(o.to)) && l("selectedRange", { range: o, chartId: r.id });
2414
+ }, f = Y(() => r.series), b = Y(() => d()), T = () => l("chartUpdated"), O = (S, B, F) => {
2415
+ l("dataPointSelection", { id: r.id, chartContext: B, config: F, event: S });
2407
2416
  };
2408
- return (M, S) => (s(), n(k, null, [
2417
+ return (S, B) => (s(), n(k, null, [
2409
2418
  C(e("div", {
2410
- class: y(["h-[" + M.height + "px]", "card chart apex-chart p-4 bg-white shadow rounded-lg overflow-hidden flex grow"])
2419
+ class: y(["h-[" + S.height + "px]", "card chart apex-chart p-4 bg-white shadow rounded-lg overflow-hidden flex grow"])
2411
2420
  }, [
2412
2421
  e("div", Nl, [
2413
- e("div", Al, g(M.title), 1),
2414
- M.isNps && M.npsLiterals ? (s(), n("div", Pl, [
2422
+ e("div", Al, g(S.title), 1),
2423
+ S.isNps && S.npsLiterals ? (s(), n("div", Pl, [
2415
2424
  p(H, {
2416
2425
  size: "small",
2417
2426
  color: "red",
@@ -2423,7 +2432,7 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2423
2432
  loading: !1,
2424
2433
  color: "red"
2425
2434
  }, null, 8, ["icon"]),
2426
- e("span", Yl, g(M.npsLiterals.unhappy), 1)
2435
+ e("span", Yl, g(S.npsLiterals.unhappy), 1)
2427
2436
  ]),
2428
2437
  _: 1
2429
2438
  }),
@@ -2438,7 +2447,7 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2438
2447
  loading: !1,
2439
2448
  color: "yellow"
2440
2449
  }, null, 8, ["icon"]),
2441
- e("span", Il, g(M.npsLiterals.neutral), 1)
2450
+ e("span", Il, g(S.npsLiterals.neutral), 1)
2442
2451
  ]),
2443
2452
  _: 1
2444
2453
  }),
@@ -2453,63 +2462,63 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2453
2462
  loading: !1,
2454
2463
  color: "green"
2455
2464
  }, null, 8, ["icon"]),
2456
- e("span", Fl, g(M.npsLiterals.happy), 1)
2465
+ e("span", Fl, g(S.npsLiterals.happy), 1)
2457
2466
  ]),
2458
2467
  _: 1
2459
2468
  })
2460
- ])) : b("", !0),
2469
+ ])) : w("", !0),
2461
2470
  e("div", Vl, [
2462
2471
  e("div", Rl, [
2463
2472
  C(e("input", {
2464
2473
  type: "datetime-local",
2465
- "onUpdate:modelValue": S[0] || (S[0] = (F) => u(l).from = F),
2474
+ "onUpdate:modelValue": B[0] || (B[0] = (F) => u(o).from = F),
2466
2475
  max: a.value.toString(),
2467
- onChange: f,
2476
+ onChange: h,
2468
2477
  name: "from",
2469
2478
  id: "from",
2470
2479
  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"
2471
2480
  }, null, 40, ql), [
2472
- [ee, u(l).from]
2481
+ [ee, u(o).from]
2473
2482
  ])
2474
2483
  ]),
2475
2484
  e("div", Hl, [
2476
2485
  C(e("input", {
2477
2486
  type: "datetime-local",
2478
- "onUpdate:modelValue": S[1] || (S[1] = (F) => u(l).to = F),
2487
+ "onUpdate:modelValue": B[1] || (B[1] = (F) => u(o).to = F),
2479
2488
  max: a.value.toString(),
2480
- onChange: f,
2489
+ onChange: h,
2481
2490
  name: "to",
2482
2491
  id: "to",
2483
2492
  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"
2484
2493
  }, null, 40, Ul), [
2485
- [ee, u(l).to]
2494
+ [ee, u(o).to]
2486
2495
  ])
2487
2496
  ]),
2488
2497
  p(j, {
2489
2498
  class: "ml-4 cursor-pointer",
2490
2499
  size: "big",
2491
- loading: M.loading,
2500
+ loading: S.loading,
2492
2501
  icon: u(Ue),
2493
- onClick: S[2] || (S[2] = (F) => M.$emit("maximizeChart", M.id))
2502
+ onClick: B[2] || (B[2] = (F) => S.$emit("maximizeChart", S.id))
2494
2503
  }, null, 8, ["loading", "icon"])
2495
2504
  ])
2496
2505
  ]),
2497
2506
  C(e("div", El, [
2498
2507
  p(u(Ce), {
2499
2508
  class: "chart",
2500
- type: M.type,
2501
- series: h.value,
2502
- height: M.height,
2503
- options: w.value,
2504
- onUpdated: z,
2505
- onMounted: z,
2506
- onDataPointSelection: A
2509
+ type: S.type,
2510
+ series: f.value,
2511
+ height: S.height,
2512
+ options: b.value,
2513
+ onUpdated: T,
2514
+ onMounted: T,
2515
+ onDataPointSelection: O
2507
2516
  }, null, 8, ["type", "series", "height", "options"])
2508
2517
  ], 512), [
2509
- [D, !M.empty]
2518
+ [D, !S.empty]
2510
2519
  ]),
2511
2520
  C(e("div", {
2512
- class: y(["h-[" + M.height + "px]", "w-full flex items-center justify-center flex-col"])
2521
+ class: y(["h-[" + S.height + "px]", "w-full flex items-center justify-center flex-col"])
2513
2522
  }, [
2514
2523
  p(j, {
2515
2524
  icon: u(U),
@@ -2517,16 +2526,16 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2517
2526
  loading: !1,
2518
2527
  size: "massive"
2519
2528
  }, null, 8, ["icon"]),
2520
- S[3] || (S[3] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data for this time frame", -1))
2529
+ B[3] || (B[3] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data for this time frame", -1))
2521
2530
  ], 2), [
2522
- [D, M.empty]
2531
+ [D, S.empty]
2523
2532
  ])
2524
2533
  ], 2), [
2525
- [D, !M.loading]
2534
+ [D, !S.loading]
2526
2535
  ]),
2527
2536
  C(e("div", {
2528
- class: y(["h-[" + M.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80"])
2529
- }, S[4] || (S[4] = [
2537
+ class: y(["h-[" + S.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80"])
2538
+ }, B[4] || (B[4] = [
2530
2539
  e("div", {
2531
2540
  role: "status",
2532
2541
  class: "w-full animate-pulse h-full flex flex-col"
@@ -2553,14 +2562,14 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2553
2562
  ])
2554
2563
  ], -1)
2555
2564
  ]), 2), [
2556
- [D, M.loading]
2565
+ [D, S.loading]
2557
2566
  ])
2558
2567
  ], 64));
2559
2568
  }
2560
2569
  }), Jl = {
2561
2570
  name: "uiFooter"
2562
2571
  }, Wl = { class: "bg-white" };
2563
- function Gl(m, i, o, a, r, l) {
2572
+ function Gl(m, i, l, a, r, o) {
2564
2573
  return s(), n("footer", Wl, i[0] || (i[0] = [
2565
2574
  e("div", { class: "mx-auto py-6 px-4 sm:px-6 md:flex md:items-center md:justify-between lg:px-8" }, [
2566
2575
  e("div", { class: "mt-8 md:mt-0 md:order-1" }, [
@@ -2569,7 +2578,7 @@ function Gl(m, i, o, a, r, l) {
2569
2578
  ], -1)
2570
2579
  ]));
2571
2580
  }
2572
- const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2581
+ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
2573
2582
  __name: "uiLoadingScreen",
2574
2583
  props: {
2575
2584
  title: {},
@@ -2577,13 +2586,13 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2577
2586
  fixed: { type: Boolean, default: !0 }
2578
2587
  },
2579
2588
  setup(m) {
2580
- return (i, o) => (s(), n("div", {
2589
+ return (i, l) => (s(), n("div", {
2581
2590
  class: y([
2582
2591
  { fixed: i.fixed },
2583
2592
  "load-screen h-full w-full top-0 left-0 z-[100] flex flex-col items-center justify-center bg-gray-50"
2584
2593
  ])
2585
2594
  }, [
2586
- o[0] || (o[0] = e("div", { class: "spinner h-12 w-12 mb-6" }, [
2595
+ l[0] || (l[0] = e("div", { class: "spinner h-12 w-12 mb-6" }, [
2587
2596
  e("img", {
2588
2597
  src: "https://images.hotelinking.com/ui/loader.gif",
2589
2598
  alt: "loading animation"
@@ -2612,7 +2621,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2612
2621
  }, ir = { class: "sr-only" }, dr = ["onClick"], ur = { class: "sr-only" }, cr = {
2613
2622
  key: 1,
2614
2623
  class: "py-6 flex flex-row justify-between items-center animate-pulse"
2615
- }, gr = /* @__PURE__ */ B({
2624
+ }, gr = /* @__PURE__ */ M({
2616
2625
  __name: "uiPagination",
2617
2626
  props: {
2618
2627
  current: {},
@@ -2621,17 +2630,17 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2621
2630
  },
2622
2631
  emits: ["changePage"],
2623
2632
  setup(m, { emit: i }) {
2624
- const o = i, a = m, r = N(3), l = Y(
2633
+ const l = i, a = m, r = A(3), o = Y(
2625
2634
  () => Math.max(1, Number(a.current) - Number(r.value))
2626
2635
  ), t = Y(
2627
2636
  () => Math.min(Number(a.current) + Number(r.value), Number(a.total))
2628
2637
  ), c = Y(() => {
2629
2638
  let d = [];
2630
- for (let f = Number(l.value); f <= Number(t.value); f++)
2631
- d.push(f);
2639
+ for (let h = Number(o.value); h <= Number(t.value); h++)
2640
+ d.push(h);
2632
2641
  return d;
2633
2642
  });
2634
- return (d, f) => d.loading ? (s(), n("div", cr, f[2] || (f[2] = [
2643
+ return (d, h) => d.loading ? (s(), n("div", cr, h[2] || (h[2] = [
2635
2644
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/5" }, null, -1),
2636
2645
  e("div", { class: "h-10 w-32 bg-gray-200 rounded dark:bg-gray-300" }, null, -1)
2637
2646
  ]))) : (s(), n("div", Xl, [
@@ -2655,7 +2664,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2655
2664
  e("div", null, [
2656
2665
  e("nav", ar, [
2657
2666
  C(e("button", {
2658
- onClick: f[0] || (f[0] = (h) => o("changePage", d.current - 1)),
2667
+ onClick: h[0] || (h[0] = (f) => l("changePage", d.current - 1)),
2659
2668
  class: "relative inline-flex items-center px-2 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50"
2660
2669
  }, [
2661
2670
  e("span", ir, [
@@ -2668,16 +2677,16 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2668
2677
  ], 512), [
2669
2678
  [D, d.current !== 1]
2670
2679
  ]),
2671
- (s(!0), n(k, null, $(c.value, (h) => (s(), n("button", {
2672
- onClick: (w) => o("changePage", h),
2673
- key: h,
2680
+ (s(!0), n(k, null, $(c.value, (f) => (s(), n("button", {
2681
+ onClick: (b) => l("changePage", f),
2682
+ key: f,
2674
2683
  "aria-current": "page",
2675
2684
  class: y([[
2676
- h === d.current ? "z-10 bg-indigo-50 border-indigo-500 text-indigo-600" : "bg-white border-gray-300 text-gray-500 hover:bg-gray-50"
2685
+ f === d.current ? "z-10 bg-indigo-50 border-indigo-500 text-indigo-600" : "bg-white border-gray-300 text-gray-500 hover:bg-gray-50"
2677
2686
  ], "relative inline-flex items-center px-4 py-2 border text-sm font-medium"])
2678
- }, g(h), 11, dr))), 128)),
2687
+ }, g(f), 11, dr))), 128)),
2679
2688
  C(e("button", {
2680
- onClick: f[1] || (f[1] = (h) => o("changePage", d.current + 1)),
2689
+ onClick: h[1] || (h[1] = (f) => l("changePage", d.current + 1)),
2681
2690
  class: "relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50"
2682
2691
  }, [
2683
2692
  e("span", ur, [
@@ -2713,7 +2722,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2713
2722
  }, _r = {
2714
2723
  key: 1,
2715
2724
  class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2"
2716
- }, $r = { class: "h-12 flex flex-row items-center" }, Cr = /* @__PURE__ */ B({
2725
+ }, $r = { class: "h-12 flex flex-row items-center" }, Cr = /* @__PURE__ */ M({
2717
2726
  __name: "uiSidebar",
2718
2727
  props: {
2719
2728
  navigation: {},
@@ -2724,40 +2733,40 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2724
2733
  },
2725
2734
  emits: ["sideBarClick"],
2726
2735
  setup(m, { emit: i }) {
2727
- const o = i;
2736
+ const l = i;
2728
2737
  return (a, r) => (s(), n("div", pr, [
2729
2738
  e("div", mr, [
2730
2739
  e("div", fr, [
2731
2740
  e("nav", hr, [
2732
- a.loading ? (s(), n(k, { key: 1 }, $(5, (l) => e("div", $r, r[1] || (r[1] = [
2741
+ a.loading ? (s(), n(k, { key: 1 }, $(5, (o) => e("div", $r, r[1] || (r[1] = [
2733
2742
  e("div", { class: "w-6 h-6 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 mr-4" }, null, -1),
2734
2743
  e("div", { class: "h-3 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 grow" }, null, -1)
2735
- ]))), 64)) : (s(!0), n(k, { key: 0 }, $(a.navigation, (l) => (s(), n(k, {
2736
- key: l.name
2744
+ ]))), 64)) : (s(!0), n(k, { key: 0 }, $(a.navigation, (o) => (s(), n(k, {
2745
+ key: o.name
2737
2746
  }, [
2738
- l.children ? (s(), _(u(_e), {
2747
+ o.children ? (s(), _(u(_e), {
2739
2748
  key: 1,
2740
2749
  as: "div",
2741
2750
  class: "space-y-1"
2742
2751
  }, {
2743
2752
  default: v(({ open: t }) => [
2744
2753
  p(u(Z), {
2745
- class: y([l.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"])
2754
+ class: y([o.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"])
2746
2755
  }, {
2747
2756
  default: v(() => [
2748
- l.icon ? (s(), _(j, {
2757
+ o.icon ? (s(), _(j, {
2749
2758
  key: 0,
2750
2759
  loading: a.loading,
2751
- icon: l.icon,
2760
+ icon: o.icon,
2752
2761
  class: y([
2753
- l.current ? "text-white" : "text-gray-400 group-hover:text-gray-500",
2762
+ o.current ? "text-white" : "text-gray-400 group-hover:text-gray-500",
2754
2763
  "mr-3 flex-shrink-0 h-6 w-6"
2755
2764
  ]),
2756
2765
  "aria-hidden": "true"
2757
- }, null, 8, ["loading", "icon", "class"])) : b("", !0),
2766
+ }, null, 8, ["loading", "icon", "class"])) : w("", !0),
2758
2767
  a.loading ? (s(), n("div", xr, r[0] || (r[0] = [
2759
2768
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, null, -1)
2760
- ]))) : (s(), n("span", wr, g(l.name), 1)),
2769
+ ]))) : (s(), n("span", wr, g(o.name), 1)),
2761
2770
  p(u(te), {
2762
2771
  class: y([t ? "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"])
2763
2772
  }, null, 8, ["class"])
@@ -2766,8 +2775,8 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2766
2775
  }, 1032, ["class"]),
2767
2776
  p(u($e), { class: "space-y-1" }, {
2768
2777
  default: v(() => [
2769
- (s(!0), n(k, null, $(l.children, (c) => (s(), _(u(Z), {
2770
- onClick: (d) => o("sideBarClick", c.id),
2778
+ (s(!0), n(k, null, $(o.children, (c) => (s(), _(u(Z), {
2779
+ onClick: (d) => l("sideBarClick", c.id),
2771
2780
  key: c.name,
2772
2781
  class: y([c.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"])
2773
2782
  }, {
@@ -2783,23 +2792,23 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2783
2792
  _: 2
2784
2793
  }, 1024)) : (s(), n("div", yr, [
2785
2794
  e("button", {
2786
- onClick: (t) => o("sideBarClick", l.id),
2795
+ onClick: (t) => l("sideBarClick", o.id),
2787
2796
  class: y([
2788
- l.current ? "bg-indigo-600 text-white" : "text-gray-600 hover:bg-gray-50 hover:text-gray-900",
2797
+ o.current ? "bg-indigo-600 text-white" : "text-gray-600 hover:bg-gray-50 hover:text-gray-900",
2789
2798
  "group w-full flex items-center pl-2 py-2 text-sm font-medium rounded-md"
2790
2799
  ])
2791
2800
  }, [
2792
- l.icon ? (s(), _(j, {
2801
+ o.icon ? (s(), _(j, {
2793
2802
  key: 0,
2794
2803
  loading: a.loading,
2795
- icon: l.icon,
2804
+ icon: o.icon,
2796
2805
  class: y([
2797
- l.current ? "text-white" : "text-gray-400 group-hover:text-gray-500",
2806
+ o.current ? "text-white" : "text-gray-400 group-hover:text-gray-500",
2798
2807
  "mr-3 flex-shrink-0 h-6 w-6"
2799
2808
  ]),
2800
2809
  "aria-hidden": "true"
2801
- }, null, 8, ["loading", "icon", "class"])) : b("", !0),
2802
- a.loading ? b("", !0) : (s(), n("span", br, g(l.name), 1))
2810
+ }, null, 8, ["loading", "icon", "class"])) : w("", !0),
2811
+ a.loading ? w("", !0) : (s(), n("span", br, g(o.name), 1))
2803
2812
  ], 10, vr)
2804
2813
  ]))
2805
2814
  ], 64))), 128))
@@ -2811,7 +2820,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2811
2820
  }), Sr = { key: 0 }, Br = { class: "ml-16 text-sm font-medium text-gray-500 truncate" }, Mr = { class: "ml-16 flex items-baseline pb-5" }, Dr = { class: "text-2xl font-semibold text-gray-900" }, jr = {
2812
2821
  key: 0,
2813
2822
  class: "text-black ml-2 flex items-baseline text-sm font-semibold"
2814
- }, Tr = { class: "absolute bottom-0 inset-x-0 bg-gray-50 px-4 py-4 sm:px-6" }, zr = { class: "text-sm" }, Lr = { key: 1 }, Or = { class: "relative bg-white pt-5 px-4 sm:pt-6 sm:px-6 shadow rounded-lg overflow-hidden h-full pb-6" }, Nr = { class: "absolute bg-gray-200 rounded-md p-3 animate-pulse" }, Xe = /* @__PURE__ */ B({
2823
+ }, Tr = { class: "absolute bottom-0 inset-x-0 bg-gray-50 px-4 py-4 sm:px-6" }, zr = { class: "text-sm" }, Lr = { key: 1 }, Or = { class: "relative bg-white pt-5 px-4 sm:pt-6 sm:px-6 shadow rounded-lg overflow-hidden h-full pb-6" }, Nr = { class: "absolute bg-gray-200 rounded-md p-3 animate-pulse" }, Xe = /* @__PURE__ */ M({
2815
2824
  __name: "uiStats",
2816
2825
  props: {
2817
2826
  item: {},
@@ -2819,13 +2828,13 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2819
2828
  },
2820
2829
  emits: ["statClick"],
2821
2830
  setup(m, { emit: i }) {
2822
- return (o, a) => o.loading ? (s(), n("div", Lr, [
2831
+ return (l, a) => l.loading ? (s(), n("div", Lr, [
2823
2832
  e("div", Or, [
2824
2833
  e("dt", null, [
2825
2834
  e("div", Nr, [
2826
2835
  p(j, {
2827
- loading: o.loading,
2828
- icon: o.item.icon,
2836
+ loading: l.loading,
2837
+ icon: l.item.icon,
2829
2838
  class: "h-6 w-6 text-white",
2830
2839
  "aria-hidden": "true"
2831
2840
  }, null, 8, ["loading", "icon"])
@@ -2840,62 +2849,62 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2840
2849
  ])
2841
2850
  ])) : (s(), n("div", Sr, [
2842
2851
  e("div", {
2843
- class: y(["relative bg-white pt-5 px-4 sm:pt-6 sm:px-6 shadow rounded-lg overflow-hidden h-full", { "pb-12": o.item.showFooter }])
2852
+ class: y(["relative bg-white pt-5 px-4 sm:pt-6 sm:px-6 shadow rounded-lg overflow-hidden h-full", { "pb-12": l.item.showFooter }])
2844
2853
  }, [
2845
2854
  e("dt", null, [
2846
2855
  e("div", {
2847
2856
  class: y(["absolute rounded-md p-3", {
2848
- "bg-indigo-500": !o.item.color,
2849
- "bg-green-500": o.item.color === "green",
2850
- "bg-red-500": o.item.color === "red",
2851
- "bg-yellow-500": o.item.color === "yellow",
2852
- "bg-cyan-300": o.item.color === "secondary"
2857
+ "bg-indigo-500": !l.item.color,
2858
+ "bg-green-500": l.item.color === "green",
2859
+ "bg-red-500": l.item.color === "red",
2860
+ "bg-yellow-500": l.item.color === "yellow",
2861
+ "bg-cyan-300": l.item.color === "secondary"
2853
2862
  }])
2854
2863
  }, [
2855
2864
  p(j, {
2856
- icon: o.item.icon,
2865
+ icon: l.item.icon,
2857
2866
  class: "h-6 w-6 text-white",
2858
2867
  "aria-hidden": "true",
2859
- loading: o.loading
2868
+ loading: l.loading
2860
2869
  }, null, 8, ["icon", "loading"])
2861
2870
  ], 2),
2862
- e("p", Br, g(o.item.name), 1)
2871
+ e("p", Br, g(l.item.name), 1)
2863
2872
  ]),
2864
2873
  e("dd", Mr, [
2865
- e("p", Dr, g(o.item.stat), 1),
2866
- o.item.explanation ? (s(), n("p", jr, g(o.item.explanation), 1)) : b("", !0),
2867
- o.item.changeType ? (s(), n("p", {
2874
+ e("p", Dr, g(l.item.stat), 1),
2875
+ l.item.explanation ? (s(), n("p", jr, g(l.item.explanation), 1)) : w("", !0),
2876
+ l.item.changeType ? (s(), n("p", {
2868
2877
  key: 1,
2869
2878
  class: y([
2870
2879
  {
2871
- "text-green-600": o.item.changeType === "increase",
2872
- "text-red-600": o.item.changeType === "decrease",
2873
- "text-black": o.item.changeType === "neutral"
2880
+ "text-green-600": l.item.changeType === "increase",
2881
+ "text-red-600": l.item.changeType === "decrease",
2882
+ "text-black": l.item.changeType === "neutral"
2874
2883
  },
2875
2884
  "ml-2 flex items-baseline text-sm font-semibold"
2876
2885
  ])
2877
2886
  }, [
2878
- o.item.changeType === "increase" ? (s(), _(u(wt), {
2887
+ l.item.changeType === "increase" ? (s(), _(u(wt), {
2879
2888
  key: 0,
2880
2889
  class: "self-center flex-shrink-0 h-3 w-3 text-green-500",
2881
2890
  "aria-hidden": "true"
2882
- })) : b("", !0),
2883
- o.item.changeType === "decrease" ? (s(), _(u(vt), {
2891
+ })) : w("", !0),
2892
+ l.item.changeType === "decrease" ? (s(), _(u(vt), {
2884
2893
  key: 1,
2885
2894
  class: "self-center flex-shrink-0 h-3 w-3 text-red-500",
2886
2895
  "aria-hidden": "true"
2887
- })) : b("", !0),
2888
- L(" " + g(o.item.change), 1)
2889
- ], 2)) : b("", !0),
2896
+ })) : w("", !0),
2897
+ L(" " + g(l.item.change), 1)
2898
+ ], 2)) : w("", !0),
2890
2899
  C(e("div", Tr, [
2891
2900
  e("div", zr, [
2892
2901
  e("span", {
2893
- onClick: a[0] || (a[0] = (r) => o.$emit("statClick", o.item.id)),
2902
+ onClick: a[0] || (a[0] = (r) => l.$emit("statClick", l.item.id)),
2894
2903
  class: "font-medium text-indigo-600 hover:text-indigo-500 cursor-pointer"
2895
- }, g(o.item.actionText), 1)
2904
+ }, g(l.item.actionText), 1)
2896
2905
  ])
2897
2906
  ], 512), [
2898
- [D, o.item.showFooter]
2907
+ [D, l.item.showFooter]
2899
2908
  ])
2900
2909
  ])
2901
2910
  ], 2)
@@ -2913,7 +2922,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2913
2922
  }, Ur = {
2914
2923
  key: 1,
2915
2924
  class: "overflow-hidden bg-white shadow sm:rounded-lg"
2916
- }, Er = { class: "border-t border-gray-200" }, Zr = /* @__PURE__ */ B({
2925
+ }, Er = { class: "border-t border-gray-200" }, Zr = /* @__PURE__ */ M({
2917
2926
  __name: "uiStripedCard",
2918
2927
  props: {
2919
2928
  title: {},
@@ -2923,7 +2932,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2923
2932
  },
2924
2933
  emits: ["itemClicked"],
2925
2934
  setup(m, { emit: i }) {
2926
- return (o, a) => o.loading ? (s(), n("div", Ur, [
2935
+ return (l, a) => l.loading ? (s(), n("div", Ur, [
2927
2936
  a[1] || (a[1] = K('<div class="px-4 py-5 sm:px-6 animate-pulse"><h3 class="text-lg font-medium leading-6 text-gray-900"><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)),
2928
2937
  e("div", Er, [
2929
2938
  e("dl", null, [
@@ -2942,19 +2951,19 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2942
2951
  ])
2943
2952
  ])) : (s(), n("div", Ar, [
2944
2953
  e("div", Pr, [
2945
- e("h3", Yr, g(o.title), 1),
2946
- e("p", Ir, g(o.subtitle), 1)
2954
+ e("h3", Yr, g(l.title), 1),
2955
+ e("p", Ir, g(l.subtitle), 1)
2947
2956
  ]),
2948
2957
  e("div", Fr, [
2949
2958
  e("dl", null, [
2950
- (s(!0), n(k, null, $(o.items, (r, l) => (s(), n("div", {
2951
- key: l,
2952
- class: y(["px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6", [l % 2 === 0 ? "bg-gray-50" : "bg-white"]])
2959
+ (s(!0), n(k, null, $(l.items, (r, o) => (s(), n("div", {
2960
+ key: o,
2961
+ class: y(["px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6", [o % 2 === 0 ? "bg-gray-50" : "bg-white"]])
2953
2962
  }, [
2954
2963
  e("dt", Vr, g(r.title), 1),
2955
2964
  r.type === "tags" ? (s(), n("dd", Rr, [
2956
2965
  (s(!0), n(k, null, $(r.tags, (t, c) => (s(), _(H, {
2957
- loading: o.loading,
2966
+ loading: l.loading,
2958
2967
  key: c,
2959
2968
  color: t.color,
2960
2969
  class: "mr-2 mb-2"
@@ -2967,7 +2976,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2967
2976
  ])) : r.type === "link" ? (s(), n("dd", {
2968
2977
  key: 1,
2969
2978
  class: "mt-1 text-sm text-indigo-600 hover:text-indigo-400 sm:col-span-2 sm:mt-0 cursor-pointer",
2970
- onClick: (t) => o.$emit("itemClicked", r.emits)
2979
+ onClick: (t) => l.$emit("itemClicked", r.emits)
2971
2980
  }, g(r.text), 9, qr)) : (s(), n("dd", Hr, g(r.text), 1))
2972
2981
  ], 2))), 128))
2973
2982
  ])
@@ -2983,8 +2992,8 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2983
2992
  }
2984
2993
  },
2985
2994
  setup(m) {
2986
- return (i, o) => (s(), n("div", Jr, [
2987
- o[0] || (o[0] = e("svg", {
2995
+ return (i, l) => (s(), n("div", Jr, [
2996
+ l[0] || (l[0] = e("svg", {
2988
2997
  class: "absolute -top-3 left-0",
2989
2998
  xmlns: "http://www.w3.org/2000/svg",
2990
2999
  width: "27.687",
@@ -3019,7 +3028,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3019
3028
  }, cn = { class: "divide-y divide-gray-200 bg-white" }, gn = {
3020
3029
  key: 0,
3021
3030
  class: "absolute inset-y-0 left-0 w-0.5 bg-indigo-600"
3022
- }, pn = ["value"], mn = ["onClick"], fn = ["href"], hn = { key: 3 }, yn = /* @__PURE__ */ B({
3031
+ }, pn = ["value"], mn = ["onClick"], fn = ["href"], hn = { key: 3 }, yn = /* @__PURE__ */ M({
3023
3032
  __name: "uiTable",
3024
3033
  props: {
3025
3034
  resetSelected: { type: Boolean, default: !1 },
@@ -3032,119 +3041,119 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3032
3041
  },
3033
3042
  emits: ["tableAction", "orderBy", "customEmit", "selectedItemsDeleted"],
3034
3043
  setup(m, { emit: i }) {
3035
- let o = N([]), a = N(""), r = N(!1);
3036
- const l = i, t = m, c = Y(
3037
- () => o.value.length > 0 && o.value.length < t.items.length
3038
- ), d = (w, z) => {
3039
- a.value !== w && z && (a.value = w), z || (a.value = void 0);
3040
- }, f = (w) => {
3041
- o.value = w.target.checked ? t.items.map((z) => z.id) : [];
3042
- }, h = (w) => {
3043
- l("customEmit", w);
3044
+ let l = A([]), a = A(""), r = A(!1);
3045
+ const o = i, t = m, c = Y(
3046
+ () => l.value.length > 0 && l.value.length < t.items.length
3047
+ ), d = (b, T) => {
3048
+ a.value !== b && T && (a.value = b), T || (a.value = void 0);
3049
+ }, h = (b) => {
3050
+ l.value = b.target.checked ? t.items.map((T) => T.id) : [];
3051
+ }, f = (b) => {
3052
+ o("customEmit", b);
3044
3053
  };
3045
- return q(() => t.resetSelected, (w) => {
3046
- r.value = w, w && r.value && (o.value = [], r.value = !w, l("selectedItemsDeleted"));
3047
- }), (w, z) => {
3048
- var A, M;
3049
- return w.loading ? (s(), _(Ke, { key: 1 })) : (s(), n("div", Qr, [
3054
+ return q(() => t.resetSelected, (b) => {
3055
+ r.value = b, b && r.value && (l.value = [], r.value = !b, o("selectedItemsDeleted"));
3056
+ }), (b, T) => {
3057
+ var O, S;
3058
+ return b.loading ? (s(), _(Ke, { key: 1 })) : (s(), n("div", Qr, [
3050
3059
  e("div", Kr, [
3051
3060
  e("div", Xr, [
3052
3061
  e("div", en, [
3053
3062
  e("div", tn, [
3054
- ((A = u(o)) == null ? void 0 : A.length) > 0 && ((M = w.actions) == null ? void 0 : M.length) > 0 ? (s(), n("div", sn, [
3055
- (s(!0), n(k, null, $(w.actions, (S, F) => (s(), n("button", {
3056
- onClick: (x) => w.$emit("tableAction", { action: S.id, items: u(o) }),
3063
+ ((O = u(l)) == null ? void 0 : O.length) > 0 && ((S = b.actions) == null ? void 0 : S.length) > 0 ? (s(), n("div", sn, [
3064
+ (s(!0), n(k, null, $(b.actions, (B, F) => (s(), n("button", {
3065
+ onClick: (x) => b.$emit("tableAction", { action: B.id, items: u(l) }),
3057
3066
  key: F,
3058
3067
  type: "button",
3059
3068
  class: "inline-flex items-center rounded bg-indigo-600 hover:bg-indigo-800 px-2.5 py-1.5 text-xs font-medium text-white shadow-sm disabled:cursor-not-allowed disabled:opacity-30"
3060
- }, g(S.name), 9, on))), 128))
3061
- ])) : b("", !0),
3069
+ }, g(B.name), 9, on))), 128))
3070
+ ])) : w("", !0),
3062
3071
  e("table", ln, [
3063
3072
  e("thead", rn, [
3064
3073
  e("tr", null, [
3065
3074
  e("th", {
3066
3075
  scope: "col",
3067
- class: y([w.actions ? "px-6 sm:px-8" : "px-3", "relative"])
3076
+ class: y([b.actions ? "px-6 sm:px-8" : "px-3", "relative"])
3068
3077
  }, [
3069
- w.actions ? (s(), n("input", {
3078
+ b.actions ? (s(), n("input", {
3070
3079
  key: 0,
3071
- checked: c.value || u(o).length === w.items.length,
3080
+ checked: c.value || u(l).length === b.items.length,
3072
3081
  indeterminate: c.value,
3073
3082
  class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500",
3074
3083
  type: "checkbox",
3075
- onChange: f
3076
- }, null, 40, nn)) : b("", !0)
3084
+ onChange: h
3085
+ }, null, 40, nn)) : w("", !0)
3077
3086
  ], 2),
3078
- (s(!0), n(k, null, $(w.header, (S, F) => (s(), n("th", {
3087
+ (s(!0), n(k, null, $(b.header, (B, F) => (s(), n("th", {
3079
3088
  key: F,
3080
3089
  class: "py-3.5 pr-3 text-left font-semibold text-gray-900 relative",
3081
3090
  scope: "col",
3082
- onMouseover: (x) => d(S.name, !0),
3083
- onMouseleave: (x) => d(S.name, !1)
3091
+ onMouseover: (x) => d(B.name, !0),
3092
+ onMouseleave: (x) => d(B.name, !1)
3084
3093
  }, [
3085
- S.tooltip ? C((s(), _(Gr, {
3094
+ B.tooltip ? C((s(), _(Gr, {
3086
3095
  key: 0,
3087
- tip: S.tooltip
3096
+ tip: B.tooltip
3088
3097
  }, null, 8, ["tip"])), [
3089
- [D, u(a) === S.name]
3090
- ]) : b("", !0),
3091
- S.value ? (s(), n("button", {
3098
+ [D, u(a) === B.name]
3099
+ ]) : w("", !0),
3100
+ B.value ? (s(), n("button", {
3092
3101
  key: 1,
3093
3102
  class: "group flex items-center uppercase text-xs relative text-nowrap",
3094
- onClick: (x) => l("orderBy", { value: S.value, orderDirection: w.orderDirection === "asc" ? "desc" : "asc" })
3103
+ onClick: (x) => o("orderBy", { value: B.value, orderDirection: b.orderDirection === "asc" ? "desc" : "asc" })
3095
3104
  }, [
3096
- e("span", null, g(S.name), 1),
3105
+ e("span", null, g(B.name), 1),
3097
3106
  e("span", {
3098
3107
  class: y([[
3099
- S.value === w.orderedBy ? "bg-indigo-600 text-white group-hover:bg-gray-300" : "text-gray-400 group-hover:visible group-focus:visible"
3108
+ B.value === b.orderedBy ? "bg-indigo-600 text-white group-hover:bg-gray-300" : "text-gray-400 group-hover:visible group-focus:visible"
3100
3109
  ], "ml-2 flex-none rounded group-hover:bg-indigo-200 group-hover:text-white"])
3101
3110
  }, [
3102
3111
  p(j, {
3103
- icon: w.orderDirection === "asc" ? u(ue) : u(_t),
3104
- loading: w.loading,
3105
- color: S.value === w.orderedBy ? "white" : "primary"
3112
+ icon: b.orderDirection === "asc" ? u(ue) : u(_t),
3113
+ loading: b.loading,
3114
+ color: B.value === b.orderedBy ? "white" : "primary"
3106
3115
  }, null, 8, ["icon", "loading", "color"])
3107
3116
  ], 2)
3108
3117
  ], 8, dn)) : (s(), n("p", un, [
3109
- e("span", null, g(S.name), 1)
3118
+ e("span", null, g(B.name), 1)
3110
3119
  ]))
3111
3120
  ], 40, an))), 128))
3112
3121
  ])
3113
3122
  ]),
3114
3123
  e("tbody", cn, [
3115
- (s(!0), n(k, null, $(w.items, (S, F) => {
3124
+ (s(!0), n(k, null, $(b.items, (B, F) => {
3116
3125
  var x, I;
3117
3126
  return s(), n("tr", {
3118
- key: S.id,
3127
+ key: B.id,
3119
3128
  class: y([
3120
- u(o).includes(S.id) && "bg-gray-50",
3129
+ u(l).includes(B.id) && "bg-gray-50",
3121
3130
  F % 2 === 0 ? void 0 : "bg-gray-50"
3122
3131
  ])
3123
3132
  }, [
3124
3133
  e("td", {
3125
- class: y([((x = w.actions) == null ? void 0 : x.length) > 0 ? "w-2" : "w-0", "relative"])
3134
+ class: y([((x = b.actions) == null ? void 0 : x.length) > 0 ? "w-2" : "w-0", "relative"])
3126
3135
  }, [
3127
- u(o).includes(S.id) ? (s(), n("div", gn)) : b("", !0),
3128
- ((I = w.actions) == null ? void 0 : I.length) > 0 ? C((s(), n("input", {
3136
+ u(l).includes(B.id) ? (s(), n("div", gn)) : w("", !0),
3137
+ ((I = b.actions) == null ? void 0 : I.length) > 0 ? C((s(), n("input", {
3129
3138
  key: 1,
3130
- "onUpdate:modelValue": z[0] || (z[0] = (P) => Pe(o) ? o.value = P : o = P),
3131
- value: S.id,
3139
+ "onUpdate:modelValue": T[0] || (T[0] = (P) => Pe(l) ? l.value = P : l = P),
3140
+ value: B.id,
3132
3141
  class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500 flex-wrap",
3133
3142
  type: "checkbox"
3134
3143
  }, null, 8, pn)), [
3135
- [Ae, u(o)]
3136
- ]) : b("", !0)
3144
+ [Ae, u(l)]
3145
+ ]) : w("", !0)
3137
3146
  ], 2),
3138
- (s(!0), n(k, null, $(S.row, (P, oe) => (s(), n("td", {
3147
+ (s(!0), n(k, null, $(B.row, (P, oe) => (s(), n("td", {
3139
3148
  key: oe,
3140
3149
  class: y([
3141
3150
  "whitespace-nowrap py-4 pr-3 text-sm",
3142
- u(o).includes(S.id) ? "text-indigo-600" : "text-gray-900"
3151
+ u(l).includes(B.id) ? "text-indigo-600" : "text-gray-900"
3143
3152
  ])
3144
3153
  }, [
3145
3154
  typeof P == "object" && P.type === "tag" ? (s(), _(H, {
3146
3155
  key: 0,
3147
- loading: w.loading,
3156
+ loading: b.loading,
3148
3157
  color: P.color
3149
3158
  }, {
3150
3159
  default: v(() => [
@@ -3154,7 +3163,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3154
3163
  }, 1032, ["loading", "color"])) : typeof P == "object" && P.type === "link" ? (s(), n("span", {
3155
3164
  key: 1,
3156
3165
  class: "text-indigo-600 hover:text-indigo-400 cursor-pointer",
3157
- onClick: (O) => h(P)
3166
+ onClick: (N) => f(P)
3158
3167
  }, g(P.content), 9, mn)) : typeof P == "object" && P.type === "href" ? (s(), n("a", {
3159
3168
  key: 2,
3160
3169
  class: "text-indigo-600 hover:text-indigo-400 cursor-pointer",
@@ -3175,21 +3184,21 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3175
3184
  }), vn = { class: "lg:hidden" }, bn = ["value"], wn = { class: "hidden lg:block" }, xn = { class: "border-b border-gray-200" }, kn = {
3176
3185
  class: "-mb-px flex space-x-8",
3177
3186
  "aria-label": "Tabs"
3178
- }, _n = ["onClick", "aria-current"], $n = /* @__PURE__ */ B({
3187
+ }, _n = ["onClick", "aria-current"], $n = /* @__PURE__ */ M({
3179
3188
  __name: "uiTabs",
3180
3189
  props: {
3181
3190
  tabs: {}
3182
3191
  },
3183
3192
  emits: ["tabClicked"],
3184
3193
  setup(m, { emit: i }) {
3185
- const o = i, a = (r) => {
3186
- const l = r.target;
3187
- l.value && o("tabClicked", l.value);
3194
+ const l = i, a = (r) => {
3195
+ const o = r.target;
3196
+ o.value && l("tabClicked", o.value);
3188
3197
  };
3189
- return (r, l) => (s(), n("div", null, [
3198
+ return (r, o) => (s(), n("div", null, [
3190
3199
  e("div", vn, [
3191
3200
  e("select", {
3192
- onChange: l[0] || (l[0] = (t) => a(t)),
3201
+ onChange: o[0] || (o[0] = (t) => a(t)),
3193
3202
  id: "tabs",
3194
3203
  name: "tabs",
3195
3204
  class: "block w-full rounded-md border-gray-300 py-2 pl-3 pr-10 text-base focus:border-indigo-500 focus:outline-none focus:ring-indigo-500 sm:text-sm"
@@ -3205,7 +3214,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3205
3214
  e("nav", kn, [
3206
3215
  (s(!0), n(k, null, $(r.tabs, (t) => (s(), n("a", {
3207
3216
  key: t.name,
3208
- onClick: (c) => o("tabClicked", t.id),
3217
+ onClick: (c) => l("tabClicked", t.id),
3209
3218
  class: y([
3210
3219
  t.current ? "border-indigo-500 text-indigo-600" : "border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-200",
3211
3220
  "whitespace-nowrap flex py-4 px-1 border-b-2 font-medium text-sm cursor-pointer"
@@ -3219,7 +3228,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3219
3228
  t.current ? "bg-indigo-100 text-indigo-600" : "bg-gray-100 text-gray-900",
3220
3229
  "hidden ml-3 py-0.5 px-2.5 rounded-full text-xs font-medium md:inline-block"
3221
3230
  ])
3222
- }, g(t.count), 3)) : b("", !0)
3231
+ }, g(t.count), 3)) : w("", !0)
3223
3232
  ], 10, _n))), 128))
3224
3233
  ])
3225
3234
  ])
@@ -3249,7 +3258,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3249
3258
  key: 0,
3250
3259
  class: "absolute left-4 top-4 -ml-px h-full w-0.5 bg-gray-200",
3251
3260
  "aria-hidden": "true"
3252
- }, En = /* @__PURE__ */ B({
3261
+ }, En = /* @__PURE__ */ M({
3253
3262
  __name: "uiTimeline",
3254
3263
  props: {
3255
3264
  name: {},
@@ -3261,8 +3270,8 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3261
3270
  emits: ["timelineEventClicked", "timelineFooterClicked"],
3262
3271
  setup(m, { emit: i }) {
3263
3272
  const a = Q(m.timeline);
3264
- return (r, l) => r.loading ? (s(), n("div", Fn, [
3265
- l[3] || (l[3] = e("div", { class: "px-4 py-5 sm:px-6 animate-pulse" }, [
3273
+ return (r, o) => r.loading ? (s(), n("div", Fn, [
3274
+ o[3] || (o[3] = e("div", { class: "px-4 py-5 sm:px-6 animate-pulse" }, [
3266
3275
  e("h1", { class: "text-xl font-bold" }, [
3267
3276
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4" })
3268
3277
  ])
@@ -3272,14 +3281,14 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3272
3281
  e("ul", qn, [
3273
3282
  (s(), n(k, null, $(10, (t, c) => e("li", { key: c }, [
3274
3283
  e("div", Hn, [
3275
- t !== 10 ? (s(), n("span", Un)) : b("", !0),
3276
- l[2] || (l[2] = K('<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))
3284
+ t !== 10 ? (s(), n("span", Un)) : w("", !0),
3285
+ o[2] || (o[2] = K('<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))
3277
3286
  ])
3278
3287
  ])), 64))
3279
3288
  ])
3280
3289
  ])
3281
3290
  ]),
3282
- l[4] || (l[4] = e("div", { class: "bg-gray-50 px-4 py-4 sm:px-6 z-10 animate-pulse" }, [
3291
+ o[4] || (o[4] = e("div", { class: "bg-gray-50 px-4 py-4 sm:px-6 z-10 animate-pulse" }, [
3283
3292
  e("div", { class: "text-sm" }, [
3284
3293
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4" })
3285
3294
  ])
@@ -3303,7 +3312,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3303
3312
  var d;
3304
3313
  return s(), n("li", { key: c }, [
3305
3314
  e("div", Dn, [
3306
- c < ((d = a.items) == null ? void 0 : d.length) - 1 ? (s(), n("span", jn)) : b("", !0),
3315
+ c < ((d = a.items) == null ? void 0 : d.length) - 1 ? (s(), n("span", jn)) : w("", !0),
3307
3316
  e("div", Tn, [
3308
3317
  e("div", null, [
3309
3318
  e("span", {
@@ -3322,7 +3331,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3322
3331
  e("div", null, [
3323
3332
  e("p", Ln, [
3324
3333
  e("a", {
3325
- onClick: (f) => r.$emit("timelineEventClicked", t.linkId),
3334
+ onClick: (h) => r.$emit("timelineEventClicked", t.linkId),
3326
3335
  class: "font-medium text-indigo-600 hover:text-indigo-800 cursor-pointer"
3327
3336
  }, g(t == null ? void 0 : t.target), 9, On),
3328
3337
  L(" " + g(t == null ? void 0 : t.content), 1)
@@ -3342,12 +3351,12 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3342
3351
  _: 1
3343
3352
  })
3344
3353
  ])
3345
- ])) : b("", !0),
3354
+ ])) : w("", !0),
3346
3355
  a.items ? (s(), n("div", Pn, [
3347
3356
  e("div", Yn, [
3348
3357
  e("a", {
3349
3358
  class: "cursor-pointer font-medium text-indigo-600 hover:text-indigo-500",
3350
- onClick: l[0] || (l[0] = (t) => r.$emit("timelineFooterClicked", r.timeline.id))
3359
+ onClick: o[0] || (o[0] = (t) => r.$emit("timelineFooterClicked", r.timeline.id))
3351
3360
  }, g(r.timeline.footerText), 1)
3352
3361
  ])
3353
3362
  ])) : (s(), n("div", In, [
@@ -3357,14 +3366,14 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3357
3366
  loading: !1,
3358
3367
  size: "huge"
3359
3368
  }, null, 8, ["icon"]),
3360
- l[1] || (l[1] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1))
3369
+ o[1] || (o[1] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1))
3361
3370
  ]))
3362
3371
  ], 2));
3363
3372
  }
3364
3373
  }), Zn = { class: "mx-auto px-6 lg:px-8" }, Jn = { class: "flex justify-between h-20" }, Wn = { class: "flex" }, Gn = { class: "-ml-2 mr-2 flex items-center lg:hidden" }, Qn = ["src"], Kn = { class: "flex items-center" }, Xn = { class: "lg:ml-4 lg:flex-shrink-0 lg:flex lg:items-center hidden" }, ea = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute -top-0 -left-1" }, ta = ["src"], sa = ["onClick"], oa = { class: "pt-2 pb-3 space-y-1" }, la = ["onClick"], ra = { class: "pt-4 pb-3 border-t border-gray-200" }, na = { class: "flex items-center px-4 sm:px-6" }, aa = { class: "flex-shrink-0" }, ia = ["src"], da = {
3365
3374
  key: 0,
3366
3375
  class: "ml-3"
3367
- }, ua = { class: "text-base font-medium text-gray-800" }, ca = { class: "text-sm font-medium text-gray-500" }, ga = { class: "mt-3 space-y-1" }, pa = ["onClick"], ma = /* @__PURE__ */ B({
3376
+ }, ua = { class: "text-base font-medium text-gray-800" }, ca = { class: "text-sm font-medium text-gray-500" }, ga = { class: "mt-3 space-y-1" }, pa = ["onClick"], ma = /* @__PURE__ */ M({
3368
3377
  __name: "uiTopbar",
3369
3378
  props: {
3370
3379
  logo: {},
@@ -3376,7 +3385,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3376
3385
  },
3377
3386
  emits: ["topBarClick"],
3378
3387
  setup(m, { emit: i }) {
3379
- return (o, a) => (s(), _(u(_e), {
3388
+ return (l, a) => (s(), _(u(_e), {
3380
3389
  as: "nav",
3381
3390
  class: "bg-white shadow z-10"
3382
3391
  }, {
@@ -3403,11 +3412,11 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3403
3412
  ]),
3404
3413
  e("div", {
3405
3414
  class: "flex-shrink-0 flex items-center cursor-pointer",
3406
- onClick: a[0] || (a[0] = (l) => o.$emit("topBarClick", "logo"))
3415
+ onClick: a[0] || (a[0] = (o) => l.$emit("topBarClick", "logo"))
3407
3416
  }, [
3408
3417
  e("img", {
3409
3418
  class: "h-10",
3410
- src: o.logo,
3419
+ src: l.logo,
3411
3420
  alt: "Hotelinking suite product logo"
3412
3421
  }, null, 8, Qn)
3413
3422
  ])
@@ -3425,16 +3434,16 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3425
3434
  C(e("div", ea, a[2] || (a[2] = [
3426
3435
  e("span", { class: "animate-ping absolute inline-flex h-4 w-4 bg-red-500 rounded-full opacity-75" }, null, -1)
3427
3436
  ]), 512), [
3428
- [D, o.alerted]
3437
+ [D, l.alerted]
3429
3438
  ]),
3430
3439
  e("img", {
3431
3440
  class: "h-10 w-10 rounded-full",
3432
- src: o.accountLogo
3441
+ src: l.accountLogo
3433
3442
  }, null, 8, ta)
3434
3443
  ]),
3435
3444
  _: 1
3436
3445
  }, 512), [
3437
- [D, o.accountLogo]
3446
+ [D, l.accountLogo]
3438
3447
  ])
3439
3448
  ]),
3440
3449
  p(ce, {
@@ -3448,17 +3457,17 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3448
3457
  default: v(() => [
3449
3458
  p(u(ve), { 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" }, {
3450
3459
  default: v(() => [
3451
- (s(!0), n(k, null, $(o.profileMenu, (l) => (s(), _(u(be), {
3452
- key: l.name
3460
+ (s(!0), n(k, null, $(l.profileMenu, (o) => (s(), _(u(be), {
3461
+ key: o.name
3453
3462
  }, {
3454
3463
  default: v(({ active: t }) => [
3455
3464
  e("p", {
3456
- onClick: (c) => o.$emit("topBarClick", l.id),
3465
+ onClick: (c) => l.$emit("topBarClick", o.id),
3457
3466
  class: y(["cursor-pointer", [
3458
3467
  t ? "bg-gray-100" : "",
3459
3468
  "block px-4 py-2 text-sm text-gray-700"
3460
3469
  ]])
3461
- }, g(l.name), 11, sa)
3470
+ }, g(o.name), 11, sa)
3462
3471
  ]),
3463
3472
  _: 2
3464
3473
  }, 1024))), 128))
@@ -3478,18 +3487,18 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3478
3487
  p(u($e), { class: "lg:hidden" }, {
3479
3488
  default: v(() => [
3480
3489
  e("div", oa, [
3481
- (s(!0), n(k, null, $(o.navigation, (l) => (s(), _(u(Z), {
3490
+ (s(!0), n(k, null, $(l.navigation, (o) => (s(), _(u(Z), {
3482
3491
  as: "template",
3483
- key: l.name,
3492
+ key: o.name,
3484
3493
  class: y(["block pl-3 pr-4 py-2 border-l-4 text-base font-medium sm:pl-5 sm:pr-6", {
3485
- "bg-indigo-50 border-indigo-500 text-indigo-700": l.current && l.current === !0,
3486
- "border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700": !l.current
3494
+ "bg-indigo-50 border-indigo-500 text-indigo-700": o.current && o.current === !0,
3495
+ "border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700": !o.current
3487
3496
  }])
3488
3497
  }, {
3489
3498
  default: v(() => [
3490
3499
  e("p", {
3491
- onClick: (t) => o.$emit("topBarClick", l.id)
3492
- }, g(l.name), 9, la)
3500
+ onClick: (t) => l.$emit("topBarClick", o.id)
3501
+ }, g(o.name), 9, la)
3493
3502
  ]),
3494
3503
  _: 2
3495
3504
  }, 1032, ["class"]))), 128))
@@ -3499,24 +3508,24 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3499
3508
  e("div", aa, [
3500
3509
  e("img", {
3501
3510
  class: "h-10 w-10 rounded-full",
3502
- src: o.accountLogo
3511
+ src: l.accountLogo
3503
3512
  }, null, 8, ia)
3504
3513
  ]),
3505
- o.brand ? (s(), n("div", da, [
3506
- e("div", ua, g(o.brand.title), 1),
3507
- e("div", ca, g(o.brand.subtitle), 1)
3508
- ])) : b("", !0)
3514
+ l.brand ? (s(), n("div", da, [
3515
+ e("div", ua, g(l.brand.title), 1),
3516
+ e("div", ca, g(l.brand.subtitle), 1)
3517
+ ])) : w("", !0)
3509
3518
  ]),
3510
3519
  e("div", ga, [
3511
- (s(!0), n(k, null, $(o.profileMenu, (l) => (s(), _(u(Z), {
3520
+ (s(!0), n(k, null, $(l.profileMenu, (o) => (s(), _(u(Z), {
3512
3521
  as: "template",
3513
- key: l.name,
3522
+ key: o.name,
3514
3523
  class: "block px-4 py-2 text-base font-medium text-gray-500 hover:text-gray-800 hover:bg-gray-100 sm:px-6"
3515
3524
  }, {
3516
3525
  default: v(() => [
3517
3526
  e("p", {
3518
- onClick: (t) => o.$emit("topBarClick", l.id)
3519
- }, g(l.name), 9, pa)
3527
+ onClick: (t) => l.$emit("topBarClick", o.id)
3528
+ }, g(o.name), 9, pa)
3520
3529
  ]),
3521
3530
  _: 2
3522
3531
  }, 1024))), 128))
@@ -3529,36 +3538,36 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3529
3538
  _: 1
3530
3539
  }));
3531
3540
  }
3532
- }), fa = { class: "chart-selector flex flex-row items-center justify-center" }, ha = /* @__PURE__ */ B({
3541
+ }), fa = { class: "chart-selector flex flex-row items-center justify-center" }, ha = /* @__PURE__ */ M({
3533
3542
  __name: "RangeSelector",
3534
3543
  props: { range: { type: String } },
3535
3544
  emits: ["rangeSelected"],
3536
3545
  setup(m, { emit: i }) {
3537
- const o = i, a = m;
3546
+ const l = i, a = m;
3538
3547
  let r = Y(() => a.range);
3539
- const l = (t) => {
3540
- r = t, o("rangeSelected", t);
3548
+ const o = (t) => {
3549
+ r = t, l("rangeSelected", t);
3541
3550
  };
3542
3551
  return (t, c) => (s(), n("ul", fa, [
3543
3552
  e("li", {
3544
3553
  class: y({ selected: u(r) === "24h" }),
3545
- onClick: c[0] || (c[0] = (d) => l("24h"))
3554
+ onClick: c[0] || (c[0] = (d) => o("24h"))
3546
3555
  }, " 24H ", 2),
3547
3556
  e("li", {
3548
3557
  class: y({ selected: u(r) === "7d" }),
3549
- onClick: c[1] || (c[1] = (d) => l("7d"))
3558
+ onClick: c[1] || (c[1] = (d) => o("7d"))
3550
3559
  }, "7D", 2),
3551
3560
  e("li", {
3552
3561
  class: y({ selected: u(r) === "1m" }),
3553
- onClick: c[2] || (c[2] = (d) => l("1m"))
3562
+ onClick: c[2] || (c[2] = (d) => o("1m"))
3554
3563
  }, "1M", 2),
3555
3564
  e("li", {
3556
3565
  class: y({ selected: u(r) === "3m" }),
3557
- onClick: c[3] || (c[3] = (d) => l("3m"))
3566
+ onClick: c[3] || (c[3] = (d) => o("3m"))
3558
3567
  }, "3M", 2)
3559
3568
  ]));
3560
3569
  }
3561
- }), ya = { class: "chart-header flex flex-row justify-between" }, va = { class: "text-sm font-medium text-gray-500 truncate" }, ba = { class: "chart-content" }, wa = { class: "h-full w-full flex items-center justify-center flex-col" }, xa = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, ka = /* @__PURE__ */ B({
3570
+ }), ya = { class: "chart-header flex flex-row justify-between" }, va = { class: "text-sm font-medium text-gray-500 truncate" }, ba = { class: "chart-content" }, wa = { class: "h-full w-full flex items-center justify-center flex-col" }, xa = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, ka = /* @__PURE__ */ M({
3562
3571
  __name: "uiFunnelChartV2",
3563
3572
  props: {
3564
3573
  labels: {},
@@ -3580,7 +3589,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3580
3589
  },
3581
3590
  emits: ["selectedRange", "chartUpdated", "dataPointSelection", "maximizeChart"],
3582
3591
  setup(m, { emit: i }) {
3583
- const o = i, a = m;
3592
+ const l = i, a = m;
3584
3593
  let r = {
3585
3594
  chart: {
3586
3595
  type: "bar",
@@ -3596,8 +3605,8 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3596
3605
  ],
3597
3606
  dataLabels: {
3598
3607
  enabled: !0,
3599
- formatter: function(f, h) {
3600
- return h.w.globals.labels[h.dataPointIndex] + ": " + f;
3608
+ formatter: function(h, f) {
3609
+ return f.w.globals.labels[f.dataPointIndex] + ": " + h;
3601
3610
  }
3602
3611
  },
3603
3612
  markers: {
@@ -3616,33 +3625,33 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3616
3625
  }
3617
3626
  }
3618
3627
  };
3619
- const l = Y(() => ({ ...a.options, ...r })), t = Y(() => a.series), c = () => o("chartUpdated"), d = (f, h, w) => {
3620
- o("dataPointSelection", { id: a.id, chartContext: h, config: w, event: f });
3628
+ const o = Y(() => ({ ...a.options, ...r })), t = Y(() => a.series), c = () => l("chartUpdated"), d = (h, f, b) => {
3629
+ l("dataPointSelection", { id: a.id, chartContext: f, config: b, event: h });
3621
3630
  };
3622
- return (f, h) => (s(), n(k, null, [
3631
+ return (h, f) => (s(), n(k, null, [
3623
3632
  C(e("div", {
3624
- class: y(["h-[" + f.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow"])
3633
+ class: y(["h-[" + h.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow"])
3625
3634
  }, [
3626
3635
  e("div", ya, [
3627
- e("div", va, g(f.title), 1),
3636
+ e("div", va, g(h.title), 1),
3628
3637
  p(ha, {
3629
- range: f.range,
3630
- onRangeSelected: h[0] || (h[0] = (w) => f.$emit("selectedRange", { range: w, chartId: f.id }))
3638
+ range: h.range,
3639
+ onRangeSelected: f[0] || (f[0] = (b) => h.$emit("selectedRange", { range: b, chartId: h.id }))
3631
3640
  }, null, 8, ["range"])
3632
3641
  ]),
3633
3642
  C(e("div", ba, [
3634
3643
  p(u(Ce), {
3635
- type: f.type,
3644
+ type: h.type,
3636
3645
  series: t.value,
3637
3646
  width: "100%",
3638
- height: f.height,
3639
- options: l.value,
3647
+ height: h.height,
3648
+ options: o.value,
3640
3649
  onUpdated: c,
3641
3650
  onMounted: c,
3642
3651
  onDataPointSelection: d
3643
3652
  }, null, 8, ["type", "series", "height", "options"])
3644
3653
  ], 512), [
3645
- [D, !f.empty]
3654
+ [D, !h.empty]
3646
3655
  ]),
3647
3656
  C(e("div", wa, [
3648
3657
  p(j, {
@@ -3651,14 +3660,14 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3651
3660
  loading: !1,
3652
3661
  size: "huge"
3653
3662
  }, null, 8, ["icon"]),
3654
- h[1] || (h[1] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1))
3663
+ f[1] || (f[1] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1))
3655
3664
  ], 512), [
3656
- [D, f.empty]
3665
+ [D, h.empty]
3657
3666
  ])
3658
3667
  ], 2), [
3659
- [D, !f.loading]
3668
+ [D, !h.loading]
3660
3669
  ]),
3661
- C(e("div", xa, h[2] || (h[2] = [
3670
+ C(e("div", xa, f[2] || (f[2] = [
3662
3671
  e("div", {
3663
3672
  role: "status",
3664
3673
  class: "w-full animate-pulse h-full flex flex-col"
@@ -3685,11 +3694,11 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3685
3694
  ])
3686
3695
  ], -1)
3687
3696
  ]), 512), [
3688
- [D, f.loading]
3697
+ [D, h.loading]
3689
3698
  ])
3690
3699
  ], 64));
3691
3700
  }
3692
- }), _a = { class: "w-full flex flex-col items-center justify-center p-10 grow" }, $a = { class: "text-2xl mt-4 font-bold" }, Ca = { class: "buttons flex flex-row items-center justify-center mt-8 gap-x-1" }, Sa = /* @__PURE__ */ B({
3701
+ }), _a = { class: "w-full flex flex-col items-center justify-center p-10 grow" }, $a = { class: "text-2xl mt-4 font-bold" }, Ca = { class: "buttons flex flex-row items-center justify-center mt-8 gap-x-1" }, Sa = /* @__PURE__ */ M({
3693
3702
  __name: "uiNoResults",
3694
3703
  props: {
3695
3704
  title: {},
@@ -3700,7 +3709,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3700
3709
  },
3701
3710
  emits: ["action", "noResultsOptionSelected"],
3702
3711
  setup(m) {
3703
- return (i, o) => (s(), n("div", _a, [
3712
+ return (i, l) => (s(), n("div", _a, [
3704
3713
  p(j, {
3705
3714
  loading: !1,
3706
3715
  icon: u(U),
@@ -3713,7 +3722,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3713
3722
  (s(!0), n(k, null, $(i.actions, (a, r) => (s(), _(J, {
3714
3723
  key: r,
3715
3724
  loading: !1,
3716
- onClick: (l) => i.$emit("action", a.action)
3725
+ onClick: (o) => i.$emit("action", a.action)
3717
3726
  }, {
3718
3727
  default: v(() => [
3719
3728
  L(g(a.text), 1)
@@ -3724,12 +3733,12 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3724
3733
  key: 0,
3725
3734
  items: i.items,
3726
3735
  loading: !1,
3727
- onOptionSelected: o[0] || (o[0] = (a) => i.$emit("noResultsOptionSelected", a))
3728
- }, null, 8, ["items"])) : b("", !0)
3736
+ onOptionSelected: l[0] || (l[0] = (a) => i.$emit("noResultsOptionSelected", a))
3737
+ }, null, 8, ["items"])) : w("", !0)
3729
3738
  ])
3730
3739
  ]));
3731
3740
  }
3732
- }), Ba = { class: "fixed inset-0 overflow-hidden" }, Ma = { class: "absolute inset-0 overflow-hidden" }, Da = { class: "pointer-events-none fixed inset-y-0 right-0 flex max-w-full pl-10" }, ja = { class: "flex h-full flex-col overflow-y-scroll bg-white shadow-xl" }, Ta = { class: "bg-indigo-700 px-4 py-6 sm:px-6" }, za = { class: "flex items-center justify-between" }, La = { class: "ml-3 flex h-7 items-center" }, Oa = { class: "mt-1" }, Na = { class: "text-sm text-indigo-300" }, Aa = { class: "relative flex-1 px-4 py-6 sm:px-6" }, Pa = /* @__PURE__ */ B({
3741
+ }), Ba = { class: "fixed inset-0 overflow-hidden" }, Ma = { class: "absolute inset-0 overflow-hidden" }, Da = { class: "pointer-events-none fixed inset-y-0 right-0 flex max-w-full pl-10" }, ja = { class: "flex h-full flex-col overflow-y-scroll bg-white shadow-xl" }, Ta = { class: "bg-indigo-700 px-4 py-6 sm:px-6" }, za = { class: "flex items-center justify-between" }, La = { class: "ml-3 flex h-7 items-center" }, Oa = { class: "mt-1" }, Na = { class: "text-sm text-indigo-300" }, Aa = { class: "relative flex-1 px-4 py-6 sm:px-6" }, Pa = /* @__PURE__ */ M({
3733
3742
  __name: "uiRightSidebar",
3734
3743
  props: {
3735
3744
  title: {},
@@ -3738,15 +3747,15 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3738
3747
  },
3739
3748
  emits: ["closeRightBar"],
3740
3749
  setup(m, { emit: i }) {
3741
- return (o, a) => (s(), _(u(we), {
3750
+ return (l, a) => (s(), _(u(we), {
3742
3751
  as: "template",
3743
- show: o.open
3752
+ show: l.open
3744
3753
  }, {
3745
3754
  default: v(() => [
3746
3755
  p(u(xe), {
3747
3756
  as: "div",
3748
3757
  class: "relative z-10",
3749
- onClose: a[1] || (a[1] = (r) => o.$emit("closeRightBar"))
3758
+ onClose: a[1] || (a[1] = (r) => l.$emit("closeRightBar"))
3750
3759
  }, {
3751
3760
  default: v(() => [
3752
3761
  a[4] || (a[4] = e("div", { class: "fixed inset-0" }, null, -1)),
@@ -3770,7 +3779,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3770
3779
  e("div", za, [
3771
3780
  p(u(qe), { class: "text-base font-semibold leading-6 text-white" }, {
3772
3781
  default: v(() => [
3773
- L(g(o.title), 1)
3782
+ L(g(l.title), 1)
3774
3783
  ]),
3775
3784
  _: 1
3776
3785
  }),
@@ -3778,7 +3787,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3778
3787
  e("button", {
3779
3788
  type: "button",
3780
3789
  class: "relative rounded-md bg-indigo-700 text-indigo-200 hover:text-white outline-none",
3781
- onClick: a[0] || (a[0] = (r) => o.$emit("closeRightBar"))
3790
+ onClick: a[0] || (a[0] = (r) => l.$emit("closeRightBar"))
3782
3791
  }, [
3783
3792
  a[2] || (a[2] = e("span", { class: "absolute -inset-2.5" }, null, -1)),
3784
3793
  a[3] || (a[3] = e("span", { class: "sr-only" }, "Close panel", -1)),
@@ -3790,11 +3799,11 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3790
3799
  ])
3791
3800
  ]),
3792
3801
  e("div", Oa, [
3793
- e("p", Na, g(o.description), 1)
3802
+ e("p", Na, g(l.description), 1)
3794
3803
  ])
3795
3804
  ]),
3796
3805
  e("div", Aa, [
3797
- R(o.$slots, "default")
3806
+ R(l.$slots, "default")
3798
3807
  ])
3799
3808
  ])
3800
3809
  ]),
@@ -3821,7 +3830,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3821
3830
  key: 2,
3822
3831
  role: "list",
3823
3832
  class: "grid grid-cols-2 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-4 lg:grid-cols-6"
3824
- }, Za = /* @__PURE__ */ B({
3833
+ }, Za = /* @__PURE__ */ M({
3825
3834
  __name: "uiGallery",
3826
3835
  props: {
3827
3836
  galleryId: {},
@@ -3831,32 +3840,32 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3831
3840
  },
3832
3841
  emits: ["modalAction", "deleteImage", "imgClicked"],
3833
3842
  setup(m, { emit: i }) {
3834
- const o = i, a = N(!1), r = (l) => {
3835
- a.value = !1, o("modalAction", l);
3843
+ const l = i, a = A(!1), r = (o) => {
3844
+ a.value = !1, l("modalAction", o);
3836
3845
  };
3837
- return (l, t) => (s(), n("div", Ya, [
3838
- l.loading ? b("", !0) : (s(), _(Qe, {
3846
+ return (o, t) => (s(), n("div", Ya, [
3847
+ o.loading ? w("", !0) : (s(), _(Qe, {
3839
3848
  key: 0,
3840
3849
  open: a.value,
3841
3850
  modalName: "deleteAllImagesModal",
3842
- title: l.literals.modalTitle,
3851
+ title: o.literals.modalTitle,
3843
3852
  type: "warning",
3844
- actions: [{ value: "close", name: l.literals.closeAction }, { value: `deleteGallery_${l.galleryId}`, name: l.literals.deleteAction }],
3853
+ actions: [{ value: "close", name: o.literals.closeAction }, { value: `deleteGallery_${o.galleryId}`, name: o.literals.deleteAction }],
3845
3854
  onModalAction: t[0] || (t[0] = (c) => r(c))
3846
3855
  }, {
3847
3856
  default: v(() => [
3848
- e("p", null, g(l.literals.modalText), 1)
3857
+ e("p", null, g(o.literals.modalText), 1)
3849
3858
  ]),
3850
3859
  _: 1
3851
3860
  }, 8, ["open", "title", "actions"])),
3852
- l.loading ? (s(), n("ul", Ea, [
3861
+ o.loading ? (s(), n("ul", Ea, [
3853
3862
  (s(), n(k, null, $(4, (c) => e("li", null, t[2] || (t[2] = [
3854
3863
  e("div", { class: "group aspect-h-7 aspect-w-10 block w-full overflow-hidden rounded-lg bg-gray-200 animate-pulse dark:bg-gray-200 focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 focus-within:ring-offset-gray-100" }, null, -1),
3855
3864
  e("p", { class: "animate-pulse h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28 mt-4" }, null, -1),
3856
3865
  e("p", { class: "animate-pulse h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-14 mt-2" }, null, -1)
3857
3866
  ]))), 64))
3858
3867
  ])) : (s(), n("ul", Ia, [
3859
- (s(!0), n(k, null, $(l.gallery, (c) => (s(), n("li", {
3868
+ (s(!0), n(k, null, $(o.gallery, (c) => (s(), n("li", {
3860
3869
  key: c.source,
3861
3870
  class: "relative"
3862
3871
  }, [
@@ -3869,7 +3878,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3869
3878
  e("button", {
3870
3879
  type: "button",
3871
3880
  class: "absolute inset-0 focus:outline-none",
3872
- onClick: (d) => l.$emit("imgClicked", c)
3881
+ onClick: (d) => o.$emit("imgClicked", c)
3873
3882
  }, null, 8, Ra)
3874
3883
  ]),
3875
3884
  e("p", qa, g(c.title), 1),
@@ -3880,12 +3889,12 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3880
3889
  icon: u(Tt),
3881
3890
  color: "red",
3882
3891
  loading: !1,
3883
- onClick: (d) => l.$emit("deleteImage", c)
3892
+ onClick: (d) => o.$emit("deleteImage", c)
3884
3893
  }, null, 8, ["icon", "onClick"])
3885
3894
  ])
3886
3895
  ]))), 128))
3887
3896
  ])),
3888
- l.gallery.length > 0 && !l.loading ? (s(), _(J, {
3897
+ o.gallery.length > 0 && !o.loading ? (s(), _(J, {
3889
3898
  key: 3,
3890
3899
  onClick: t[1] || (t[1] = (c) => a.value = !0),
3891
3900
  class: "mt-8",
@@ -3894,16 +3903,16 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3894
3903
  size: "small"
3895
3904
  }, {
3896
3905
  default: v(() => [
3897
- L(g(l.literals.deleteAllImages), 1)
3906
+ L(g(o.literals.deleteAllImages), 1)
3898
3907
  ]),
3899
3908
  _: 1
3900
- })) : b("", !0)
3909
+ })) : w("", !0)
3901
3910
  ]));
3902
3911
  }
3903
3912
  }), Ja = { class: "cursor-move mb-1 relative flex items-center space-x-3 rounded-lg border border-gray-300 bg-white p-4 shadow-sm focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 hover:border-gray-400" }, Wa = { class: "flex flex-row items-center w-full" }, Ga = { class: "content text-sm grow" }, Qa = { class: "font-bold" }, Ka = { key: 0 }, Xa = { class: "font-bold text-gray-400" }, ei = {
3904
3913
  key: 1,
3905
3914
  class: "animate-pulse"
3906
- }, ti = /* @__PURE__ */ B({
3915
+ }, ti = /* @__PURE__ */ M({
3907
3916
  __name: "uiDragAndDrop",
3908
3917
  props: {
3909
3918
  elements: {},
@@ -3911,13 +3920,13 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3911
3920
  },
3912
3921
  emits: ["dragAndDropUpdated"],
3913
3922
  setup(m, { emit: i }) {
3914
- const o = i, a = m;
3915
- let r = N(a.elements);
3923
+ const l = i, a = m;
3924
+ let r = A(a.elements);
3916
3925
  q(() => a.elements, (t) => {
3917
3926
  r.value = t;
3918
3927
  });
3919
- const l = (t) => {
3920
- o("dragAndDropUpdated", t);
3928
+ const o = (t) => {
3929
+ l("dragAndDropUpdated", t);
3921
3930
  };
3922
3931
  return (t, c) => t.loading ? (s(), n("div", ei, c[2] || (c[2] = [
3923
3932
  K('<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)
@@ -3926,7 +3935,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3926
3935
  modelValue: u(r),
3927
3936
  "onUpdate:modelValue": [
3928
3937
  c[0] || (c[0] = (d) => Pe(r) ? r.value = d : r = d),
3929
- c[1] || (c[1] = (d) => l(d))
3938
+ c[1] || (c[1] = (d) => o(d))
3930
3939
  ]
3931
3940
  }, {
3932
3941
  item: v(({ item: d }) => [
@@ -3941,7 +3950,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3941
3950
  }, null, 8, ["icon"]),
3942
3951
  e("div", Ga, [
3943
3952
  e("p", Qa, g(d.name), 1),
3944
- d.description ? (s(), n("p", Ka, g(d.description), 1)) : b("", !0)
3953
+ d.description ? (s(), n("p", Ka, g(d.description), 1)) : w("", !0)
3945
3954
  ]),
3946
3955
  e("div", Xa, g(u(r).indexOf(d) + 1), 1)
3947
3956
  ])
@@ -3950,7 +3959,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3950
3959
  _: 1
3951
3960
  }, 8, ["modelValue"]));
3952
3961
  }
3953
- }), si = { class: "chart-header flex flex-row justify-between" }, oi = { class: "text-sm font-medium text-gray-500 truncate" }, li = { class: "hidden sm:flex items-center" }, ri = { class: "w-1/2 min-w-0 flex-1" }, ni = ["max"], ai = { class: "min-w-0 flex-1" }, ii = ["max"], di = { class: "chart-content" }, ui = { class: "h-full w-full flex items-center justify-center flex-col" }, ci = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, gi = /* @__PURE__ */ B({
3962
+ }), si = { class: "chart-header flex flex-row justify-between" }, oi = { class: "text-sm font-medium text-gray-500 truncate" }, li = { class: "hidden sm:flex items-center" }, ri = { class: "w-1/2 min-w-0 flex-1" }, ni = ["max"], ai = { class: "min-w-0 flex-1" }, ii = ["max"], di = { class: "chart-content" }, ui = { class: "h-full w-full flex items-center justify-center flex-col" }, ci = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, gi = /* @__PURE__ */ M({
3954
3963
  __name: "uiCircleChart",
3955
3964
  props: {
3956
3965
  labels: {},
@@ -3972,10 +3981,10 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3972
3981
  },
3973
3982
  emits: ["selectedRange", "chartUpdated", "dataPointSelection", "maximizeChart"],
3974
3983
  setup(m, { emit: i }) {
3975
- const o = i, a = m, r = N((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":")));
3976
- let l = Q(a.dates || { from: "", to: r });
3977
- q(() => a.dates, (A) => {
3978
- A && (l = A);
3984
+ const l = i, a = m, r = A((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":")));
3985
+ let o = Q(a.dates || { from: "", to: r });
3986
+ q(() => a.dates, (O) => {
3987
+ O && (o = O);
3979
3988
  });
3980
3989
  let t = {
3981
3990
  chart: {
@@ -4009,50 +4018,50 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4009
4018
  }
4010
4019
  }
4011
4020
  };
4012
- const c = () => ({ ...t, ...a.options }), d = Y(() => a.series), f = Y(() => c()), h = () => o("chartUpdated"), w = (A, M, S) => {
4013
- o("dataPointSelection", { id: a.id, chartContext: M, config: S, event: A });
4014
- }, z = () => {
4015
- l.from !== "" && l.to !== "" && T(l.from).isBefore(T(l.to)) && o("selectedRange", { range: l, chartId: a.id });
4021
+ const c = () => ({ ...t, ...a.options }), d = Y(() => a.series), h = Y(() => c()), f = () => l("chartUpdated"), b = (O, S, B) => {
4022
+ l("dataPointSelection", { id: a.id, chartContext: S, config: B, event: O });
4023
+ }, T = () => {
4024
+ o.from !== "" && o.to !== "" && z(o.from).isBefore(z(o.to)) && l("selectedRange", { range: o, chartId: a.id });
4016
4025
  };
4017
- return (A, M) => (s(), n(k, null, [
4026
+ return (O, S) => (s(), n(k, null, [
4018
4027
  C(e("div", {
4019
- class: y(["h-[" + A.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow"])
4028
+ class: y(["h-[" + O.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow"])
4020
4029
  }, [
4021
4030
  e("div", si, [
4022
- e("div", oi, g(A.title), 1),
4031
+ e("div", oi, g(O.title), 1),
4023
4032
  e("div", li, [
4024
4033
  e("div", ri, [
4025
4034
  C(e("input", {
4026
4035
  type: "datetime-local",
4027
- "onUpdate:modelValue": M[0] || (M[0] = (S) => u(l).from = S),
4036
+ "onUpdate:modelValue": S[0] || (S[0] = (B) => u(o).from = B),
4028
4037
  max: r.value.toString(),
4029
- onChange: z,
4038
+ onChange: T,
4030
4039
  name: "from",
4031
4040
  id: "from",
4032
4041
  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"
4033
4042
  }, null, 40, ni), [
4034
- [ee, u(l).from]
4043
+ [ee, u(o).from]
4035
4044
  ])
4036
4045
  ]),
4037
4046
  e("div", ai, [
4038
4047
  C(e("input", {
4039
4048
  type: "datetime-local",
4040
- "onUpdate:modelValue": M[1] || (M[1] = (S) => u(l).to = S),
4049
+ "onUpdate:modelValue": S[1] || (S[1] = (B) => u(o).to = B),
4041
4050
  max: r.value.toString(),
4042
- onChange: z,
4051
+ onChange: T,
4043
4052
  name: "to",
4044
4053
  id: "to",
4045
4054
  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"
4046
4055
  }, null, 40, ii), [
4047
- [ee, u(l).to]
4056
+ [ee, u(o).to]
4048
4057
  ])
4049
4058
  ]),
4050
4059
  p(j, {
4051
4060
  class: "ml-4 cursor-pointer",
4052
4061
  size: "big",
4053
- loading: A.loading,
4062
+ loading: O.loading,
4054
4063
  icon: u(Ue),
4055
- onClick: M[2] || (M[2] = (S) => A.$emit("maximizeChart", A.id))
4064
+ onClick: S[2] || (S[2] = (B) => O.$emit("maximizeChart", O.id))
4056
4065
  }, null, 8, ["loading", "icon"])
4057
4066
  ])
4058
4067
  ]),
@@ -4061,14 +4070,14 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4061
4070
  class: "flex items-center justify-center mt-4",
4062
4071
  type: "donut",
4063
4072
  series: d.value,
4064
- options: f.value,
4065
- height: A.height - 80,
4066
- onUpdated: h,
4067
- onMounted: h,
4068
- onDataPointSelection: w
4073
+ options: h.value,
4074
+ height: O.height - 80,
4075
+ onUpdated: f,
4076
+ onMounted: f,
4077
+ onDataPointSelection: b
4069
4078
  }, null, 8, ["series", "options", "height"])
4070
4079
  ], 512), [
4071
- [D, !A.empty]
4080
+ [D, !O.empty]
4072
4081
  ]),
4073
4082
  C(e("div", ui, [
4074
4083
  p(j, {
@@ -4077,14 +4086,14 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4077
4086
  loading: !1,
4078
4087
  size: "huge"
4079
4088
  }, null, 8, ["icon"]),
4080
- M[3] || (M[3] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1))
4089
+ S[3] || (S[3] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1))
4081
4090
  ], 512), [
4082
- [D, A.empty]
4091
+ [D, O.empty]
4083
4092
  ])
4084
4093
  ], 2), [
4085
- [D, !A.loading]
4094
+ [D, !O.loading]
4086
4095
  ]),
4087
- C(e("div", ci, M[4] || (M[4] = [
4096
+ C(e("div", ci, S[4] || (S[4] = [
4088
4097
  e("div", {
4089
4098
  role: "status",
4090
4099
  class: "w-full animate-pulse h-full flex flex-col"
@@ -4111,7 +4120,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4111
4120
  ])
4112
4121
  ], -1)
4113
4122
  ]), 512), [
4114
- [D, A.loading]
4123
+ [D, O.loading]
4115
4124
  ])
4116
4125
  ], 64));
4117
4126
  }
@@ -4121,7 +4130,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4121
4130
  }, mi = {
4122
4131
  key: 1,
4123
4132
  class: "flex flex-col lg:flex-row w-full gap-y-4 gap-x-2"
4124
- }, fi = /* @__PURE__ */ B({
4133
+ }, fi = /* @__PURE__ */ M({
4125
4134
  __name: "uiDateRange",
4126
4135
  props: {
4127
4136
  id: {},
@@ -4136,14 +4145,14 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4136
4145
  },
4137
4146
  emits: ["uiDateRangeButtonClicked"],
4138
4147
  setup(m, { emit: i }) {
4139
- const o = m, a = N((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":")));
4140
- let r = Q(o.values || { from: "", to: a });
4141
- const l = i;
4142
- q(() => o.values, (c) => {
4148
+ const l = m, a = A((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":")));
4149
+ let r = Q(l.values || { from: "", to: a });
4150
+ const o = i;
4151
+ q(() => l.values, (c) => {
4143
4152
  c && (r = c);
4144
4153
  });
4145
4154
  const t = () => {
4146
- l("uiDateRangeButtonClicked", r);
4155
+ o("uiDateRangeButtonClicked", r);
4147
4156
  };
4148
4157
  return (c, d) => c.loading ? (s(), n("div", mi, [
4149
4158
  p(E, {
@@ -4172,7 +4181,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4172
4181
  disabled: c.disabled,
4173
4182
  label: c.label,
4174
4183
  max: a.value.toString(),
4175
- onInputChanged: d[0] || (d[0] = (f) => u(r).from = f.value)
4184
+ onInputChanged: d[0] || (d[0] = (h) => u(r).from = h.value)
4176
4185
  }, null, 8, ["addOn", "name", "color", "value", "error", "disabled", "label", "max"]),
4177
4186
  p(E, {
4178
4187
  type: "datetime-local",
@@ -4186,7 +4195,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4186
4195
  disabled: c.disabled,
4187
4196
  label: void 0,
4188
4197
  max: a.value.toString(),
4189
- onInputChanged: d[1] || (d[1] = (f) => u(r).to = f.value)
4198
+ onInputChanged: d[1] || (d[1] = (h) => u(r).to = h.value)
4190
4199
  }, null, 8, ["class", "addOn", "name", "color", "value", "error", "disabled", "max"]),
4191
4200
  p(J, {
4192
4201
  disabled: c.disabled,
@@ -4211,7 +4220,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4211
4220
  }, bi = {
4212
4221
  key: 1,
4213
4222
  class: "h-2 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 w-full"
4214
- }, wi = /* @__PURE__ */ B({
4223
+ }, wi = /* @__PURE__ */ M({
4215
4224
  __name: "uiRangeSlider",
4216
4225
  props: {
4217
4226
  loading: { type: Boolean, default: !0 },
@@ -4224,23 +4233,23 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4224
4233
  },
4225
4234
  emits: ["sliderUpdated"],
4226
4235
  setup(m, { emit: i }) {
4227
- const o = i, r = N(m.sliderValue);
4228
- return (l, t) => (s(), n("div", null, [
4236
+ const l = i, r = A(m.sliderValue);
4237
+ return (o, t) => (s(), n("div", null, [
4229
4238
  e("div", hi, [
4230
- l.label ? (s(), n("label", yi, g(l.label), 1)) : b("", !0),
4231
- l.requiredText ? (s(), n("span", vi, g(l.requiredText), 1)) : b("", !0)
4239
+ o.label ? (s(), n("label", yi, g(o.label), 1)) : w("", !0),
4240
+ o.requiredText ? (s(), n("span", vi, g(o.requiredText), 1)) : w("", !0)
4232
4241
  ]),
4233
4242
  e("div", {
4234
- class: y([{ "mt-1": l.label }, "pt-16 px-6 pb-6 bg-gray-50 border border-gray-300 rounded-lg shadow-sm"])
4243
+ class: y([{ "mt-1": o.label }, "pt-16 px-6 pb-6 bg-gray-50 border border-gray-300 rounded-lg shadow-sm"])
4235
4244
  }, [
4236
- l.loading ? (s(), n("p", bi)) : (s(), _(u(dt), {
4245
+ o.loading ? (s(), n("p", bi)) : (s(), _(u(dt), {
4237
4246
  key: 0,
4238
4247
  modelValue: r.value,
4239
4248
  "onUpdate:modelValue": t[0] || (t[0] = (c) => r.value = c),
4240
- min: l.min,
4241
- max: l.max,
4242
- disabled: l.disabled,
4243
- onChange: t[1] || (t[1] = (c) => o("sliderUpdated", c)),
4249
+ min: o.min,
4250
+ max: o.max,
4251
+ disabled: o.disabled,
4252
+ onChange: t[1] || (t[1] = (c) => l("sliderUpdated", c)),
4244
4253
  classes: {
4245
4254
  base: "w-full h-full relative z-1 bg-gray-300 rounded",
4246
4255
  tooltip: "absolute block text-sm font-semibold whitespace-nowrap py-1 px-1.5 min-w-5 text-center text-white rounded border border-indigo-600 bg-indigo-600 transform h:-translate-x-1/2 h:left-1/2 v:-translate-y-1/2 v:top-1/2 slider-disabled:bg-gray-400 slider-disabled:border-gray-400 merge-h:translate-x-1/2 merge-h:left-auto merge-v:-translate-x-4 merge-v:top-auto tt-focus:hidden tt-focused:block tt-drag:hidden tt-dragging:block"
@@ -4249,14 +4258,14 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4249
4258
  ], 2)
4250
4259
  ]));
4251
4260
  }
4252
- }), xi = { class: "mt-1 mb-8 text-sm text-gray-500" }, ki = /* @__PURE__ */ B({
4261
+ }), xi = { class: "mt-1 mb-8 text-sm text-gray-500" }, ki = /* @__PURE__ */ M({
4253
4262
  __name: "uiSectionTitle",
4254
4263
  props: {
4255
4264
  title: {},
4256
4265
  description: {}
4257
4266
  },
4258
4267
  setup(m) {
4259
- return (i, o) => (s(), n(k, null, [
4268
+ return (i, l) => (s(), n(k, null, [
4260
4269
  e("h3", {
4261
4270
  class: y(["text-lg font-medium leading-6 text-gray-900", { "mb-8": i.description === void 0 }])
4262
4271
  }, g(i.title), 3),
@@ -4269,7 +4278,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4269
4278
  }, $i = { class: "flex flex-1 flex-col p-8" }, Ci = { class: "text-2xl font-bold text-gray-900" }, Si = { class: "mt-1 flex flex-grow flex-col justify-between" }, Bi = { class: "mt-3 flex flex-wrap gap-x-1 gap-y-1 justify-center" }, Mi = {
4270
4279
  key: 1,
4271
4280
  class: "col-span-1 flex flex-col divide-y divide-gray-200 rounded-lg bg-white text-center shadow"
4272
- }, Di = { class: "flex flex-1 flex-col p-8" }, ji = { class: "rounded-md p-3 flex items-center justify-center mx-auto mb-4 bg-gray-200" }, Ti = { class: "mt-1 flex flex-grow flex-col justify-between" }, zi = { class: "mt-3 flex flex-wrap gap-x-1 gap-y-1 justify-center" }, Li = /* @__PURE__ */ B({
4281
+ }, Di = { class: "flex flex-1 flex-col p-8" }, ji = { class: "rounded-md p-3 flex items-center justify-center mx-auto mb-4 bg-gray-200" }, Ti = { class: "mt-1 flex flex-grow flex-col justify-between" }, zi = { class: "mt-3 flex flex-wrap gap-x-1 gap-y-1 justify-center" }, Li = /* @__PURE__ */ M({
4273
4282
  __name: "uiDeviceStatus",
4274
4283
  props: {
4275
4284
  id: {},
@@ -4282,26 +4291,26 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4282
4291
  },
4283
4292
  emits: ["deviceStatusTagClicked", "deviceStatusQtyClicked"],
4284
4293
  setup(m, { emit: i }) {
4285
- return (o, a) => o.loading ? (s(), n("div", Mi, [
4294
+ return (l, a) => l.loading ? (s(), n("div", Mi, [
4286
4295
  e("div", Di, [
4287
4296
  e("div", ji, [
4288
4297
  p(j, {
4289
- icon: o.icon,
4298
+ icon: l.icon,
4290
4299
  size: "huge",
4291
4300
  class: "text-white",
4292
4301
  "aria-hidden": "true",
4293
- loading: o.loading
4302
+ loading: l.loading
4294
4303
  }, null, 8, ["icon", "loading"])
4295
4304
  ]),
4296
4305
  a[3] || (a[3] = e("div", { class: "h-4 bg-gray-200 rounded-full dark:bg-gray-300 w-1/3 mx-auto" }, null, -1)),
4297
4306
  e("dl", Ti, [
4298
4307
  e("dd", zi, [
4299
- (s(!0), n(k, null, $(o.tags, (r, l) => (s(), _(H, {
4300
- key: l,
4301
- loading: o.loading,
4308
+ (s(!0), n(k, null, $(l.tags, (r, o) => (s(), _(H, {
4309
+ key: o,
4310
+ loading: l.loading,
4302
4311
  event: r.event,
4303
4312
  color: r.color,
4304
- onTagEvent: a[2] || (a[2] = (t) => o.$emit("deviceStatusTagClicked", t))
4313
+ onTagEvent: a[2] || (a[2] = (t) => l.$emit("deviceStatusTagClicked", t))
4305
4314
  }, {
4306
4315
  default: v(() => [
4307
4316
  L(g(r.name), 1)
@@ -4315,16 +4324,16 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4315
4324
  e("div", $i, [
4316
4325
  e("div", {
4317
4326
  class: y(["rounded-md p-3 flex items-center justify-center mx-auto mb-4", {
4318
- "bg-green-500": !o.color || o.color === "green",
4319
- "bg-red-500": o.color === "red",
4320
- "bg-yellow-500": o.color === "yellow",
4321
- "bg-indigo-500": o.color === "primary",
4322
- "bg-cyan-300": o.color === "secondary",
4323
- "bg-gray-100": o.color === "light"
4327
+ "bg-green-500": !l.color || l.color === "green",
4328
+ "bg-red-500": l.color === "red",
4329
+ "bg-yellow-500": l.color === "yellow",
4330
+ "bg-indigo-500": l.color === "primary",
4331
+ "bg-cyan-300": l.color === "secondary",
4332
+ "bg-gray-100": l.color === "light"
4324
4333
  }])
4325
4334
  }, [
4326
4335
  p(j, {
4327
- icon: o.icon,
4336
+ icon: l.icon,
4328
4337
  size: "huge",
4329
4338
  class: "text-white",
4330
4339
  "aria-hidden": "true",
@@ -4332,22 +4341,22 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4332
4341
  }, null, 8, ["icon"])
4333
4342
  ], 2),
4334
4343
  e("h3", Ci, [
4335
- L(g(o.name) + " ", 1),
4344
+ L(g(l.name) + " ", 1),
4336
4345
  C(e("span", {
4337
4346
  class: "text-indigo-600 hover:text-indigo-900 cursor-pointer",
4338
- onClick: a[0] || (a[0] = (r) => o.$emit("deviceStatusQtyClicked", o.id))
4339
- }, "(" + g(o.qty) + ")", 513), [
4340
- [D, o.qty > 0]
4347
+ onClick: a[0] || (a[0] = (r) => l.$emit("deviceStatusQtyClicked", l.id))
4348
+ }, "(" + g(l.qty) + ")", 513), [
4349
+ [D, l.qty > 0]
4341
4350
  ])
4342
4351
  ]),
4343
4352
  e("dl", Si, [
4344
4353
  e("dd", Bi, [
4345
- (s(!0), n(k, null, $(o.tags, (r, l) => (s(), _(H, {
4346
- key: l,
4354
+ (s(!0), n(k, null, $(l.tags, (r, o) => (s(), _(H, {
4355
+ key: o,
4347
4356
  loading: !1,
4348
4357
  event: r.event,
4349
4358
  color: r.color,
4350
- onTagEvent: a[1] || (a[1] = (t) => o.$emit("deviceStatusTagClicked", t))
4359
+ onTagEvent: a[1] || (a[1] = (t) => l.$emit("deviceStatusTagClicked", t))
4351
4360
  }, {
4352
4361
  default: v(() => [
4353
4362
  L(g(r.name), 1)
@@ -4376,7 +4385,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4376
4385
  }, Ui = { class: "ml-2 space-y-1" }, Ei = { class: "font-bold mb-4" }, Zi = {
4377
4386
  key: 1,
4378
4387
  class: "flex flex-col grow gap-y-5 overflow-y-auto pr-6"
4379
- }, Ji = { class: "h-12 flex flex-row items-center" }, Le = /* @__PURE__ */ B({
4388
+ }, Ji = { class: "h-12 flex flex-row items-center" }, Le = /* @__PURE__ */ M({
4380
4389
  __name: "uiSidebarV2",
4381
4390
  props: {
4382
4391
  navigation: {},
@@ -4388,13 +4397,13 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4388
4397
  },
4389
4398
  emits: ["productBarClick", "sideBarClick"],
4390
4399
  setup(m, { emit: i }) {
4391
- return (o, a) => (s(), n("div", Oi, [
4400
+ return (l, a) => (s(), n("div", Oi, [
4392
4401
  e("div", Ni, [
4393
4402
  e("ul", null, [
4394
- (s(!0), n(k, null, $(o.productsSidebar, (r, l) => (s(), n("li", {
4395
- key: l,
4403
+ (s(!0), n(k, null, $(l.productsSidebar, (r, o) => (s(), n("li", {
4404
+ key: o,
4396
4405
  class: y([{ "!bg-indigo-900": r.active }, "w-full h-16 flex items-center justify-center cursor-pointer bg-indigo-600 hover:bg-indigo-700"]),
4397
- onClick: (t) => o.$emit("productBarClick", r.name)
4406
+ onClick: (t) => l.$emit("productBarClick", r.name)
4398
4407
  }, [
4399
4408
  p(j, {
4400
4409
  icon: r.icon,
@@ -4405,7 +4414,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4405
4414
  ], 10, Ai))), 128))
4406
4415
  ])
4407
4416
  ]),
4408
- o.loading ? (s(), n("div", Zi, [
4417
+ l.loading ? (s(), n("div", Zi, [
4409
4418
  (s(), n(k, null, $(5, (r) => e("div", Ji, a[0] || (a[0] = [
4410
4419
  e("div", { class: "w-6 h-6 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 mr-4" }, null, -1),
4411
4420
  e("div", { class: "h-3 animate-pulse bg-gray-200 rounded-full w-1/2 dark:bg-gray-300" }, null, -1)
@@ -4414,15 +4423,15 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4414
4423
  e("div", Yi, [
4415
4424
  e("img", {
4416
4425
  class: "h-8 w-auto",
4417
- src: o.logo,
4426
+ src: l.logo,
4418
4427
  alt: "Your Company"
4419
4428
  }, null, 8, Ii)
4420
4429
  ]),
4421
4430
  e("nav", Fi, [
4422
- o.isFilterNavigation ? b("", !0) : (s(), n("ul", Vi, [
4431
+ l.isFilterNavigation ? w("", !0) : (s(), n("ul", Vi, [
4423
4432
  e("li", null, [
4424
4433
  e("ul", Ri, [
4425
- (s(!0), n(k, null, $(o.navigation, (r) => (s(), n("li", {
4434
+ (s(!0), n(k, null, $(l.navigation, (r) => (s(), n("li", {
4426
4435
  key: r.name
4427
4436
  }, [
4428
4437
  r.children ? (s(), _(u(_e), {
@@ -4431,7 +4440,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4431
4440
  }, {
4432
4441
  default: v(() => [
4433
4442
  p(u(Z), {
4434
- onClick: (l) => o.$emit("sideBarClick", r.id),
4443
+ onClick: (o) => l.$emit("sideBarClick", r.id),
4435
4444
  class: y([r.current ? "bg-gray-100" : "hover:bg-gray-100", "flex w-full items-center gap-x-3 rounded-md p-2 text-left text-sm font-semibold leading-6 text-gray-700"])
4436
4445
  }, {
4437
4446
  default: v(() => [
@@ -4445,7 +4454,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4445
4454
  }, null, 8, ["icon"]),
4446
4455
  L(" " + g(r.name) + " ", 1),
4447
4456
  p(u(te), {
4448
- class: y([r.children.some((l) => l.current) || r.current ? "rotate-90 text-primary-500" : "text-gray-400", "ml-auto h-5 w-5 shrink-0"]),
4457
+ class: y([r.children.some((o) => o.current) || r.current ? "rotate-90 text-primary-500" : "text-gray-400", "ml-auto h-5 w-5 shrink-0"]),
4449
4458
  "aria-hidden": "true"
4450
4459
  }, null, 8, ["class"])
4451
4460
  ]),
@@ -4458,16 +4467,16 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4458
4467
  static: ""
4459
4468
  }, {
4460
4469
  default: v(() => [
4461
- (s(!0), n(k, null, $(r.children, (l) => (s(), n("li", {
4462
- key: l.name
4470
+ (s(!0), n(k, null, $(r.children, (o) => (s(), n("li", {
4471
+ key: o.name
4463
4472
  }, [
4464
4473
  p(u(Z), {
4465
4474
  as: "a",
4466
- onClick: (t) => o.$emit("sideBarClick", l.id),
4467
- class: y([l.current ? "bg-gray-100" : "hover:bg-gray-100", "block rounded-md py-2 pl-9 pr-2 text-sm leading-6 text-gray-700 cursor-pointer"])
4475
+ onClick: (t) => l.$emit("sideBarClick", o.id),
4476
+ class: y([o.current ? "bg-gray-100" : "hover:bg-gray-100", "block rounded-md py-2 pl-9 pr-2 text-sm leading-6 text-gray-700 cursor-pointer"])
4468
4477
  }, {
4469
4478
  default: v(() => [
4470
- L(g(l.name), 1)
4479
+ L(g(o.name), 1)
4471
4480
  ]),
4472
4481
  _: 2
4473
4482
  }, 1032, ["onClick", "class"])
@@ -4476,13 +4485,13 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4476
4485
  _: 2
4477
4486
  }, 1024)
4478
4487
  ], 512), [
4479
- [D, r.children.some((l) => l.current) || r.current]
4488
+ [D, r.children.some((o) => o.current) || r.current]
4480
4489
  ])
4481
4490
  ]),
4482
4491
  _: 2
4483
4492
  }, 1024)) : (s(), n("div", {
4484
4493
  key: 0,
4485
- onClick: (l) => o.$emit("sideBarClick", r.id),
4494
+ onClick: (o) => l.$emit("sideBarClick", r.id),
4486
4495
  class: y([r.current ? "bg-gray-100" : "hover:bg-gray-100", "group flex gap-x-3 rounded-md p-2 text-sm font-semibold leading-6 text-gray-700 cursor-pointer"])
4487
4496
  }, [
4488
4497
  p(j, {
@@ -4499,20 +4508,20 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4499
4508
  ])
4500
4509
  ])
4501
4510
  ])),
4502
- o.isFilterNavigation && o.filterNavigation ? (s(), n("ul", Hi, [
4511
+ l.isFilterNavigation && l.filterNavigation ? (s(), n("ul", Hi, [
4503
4512
  e("li", Ui, [
4504
- o.filterNavigation.hasSearch && o.filterNavigation.search ? (s(), _(E, {
4513
+ l.filterNavigation.hasSearch && l.filterNavigation.search ? (s(), _(E, {
4505
4514
  key: 0,
4506
- name: o.filterNavigation.search.name,
4507
- label: o.filterNavigation.search.label,
4508
- placeholder: o.filterNavigation.search.placeholder,
4509
- value: o.filterNavigation.search.value,
4510
- loading: o.filterNavigation.search.loading
4511
- }, null, 8, ["name", "label", "placeholder", "value", "loading"])) : b("", !0)
4515
+ name: l.filterNavigation.search.name,
4516
+ label: l.filterNavigation.search.label,
4517
+ placeholder: l.filterNavigation.search.placeholder,
4518
+ value: l.filterNavigation.search.value,
4519
+ loading: l.filterNavigation.search.loading
4520
+ }, null, 8, ["name", "label", "placeholder", "value", "loading"])) : w("", !0)
4512
4521
  ]),
4513
- (s(!0), n(k, null, $(o.filterNavigation.items, (r, l) => (s(), n("li", {
4522
+ (s(!0), n(k, null, $(l.filterNavigation.items, (r, o) => (s(), n("li", {
4514
4523
  class: "ml-2",
4515
- key: l
4524
+ key: o
4516
4525
  }, [
4517
4526
  e("p", Ei, g(r.label), 1),
4518
4527
  (s(!0), n(k, null, $(r.filters, (t, c) => (s(), _(He, {
@@ -4526,7 +4535,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4526
4535
  _: 2
4527
4536
  }, 1032, ["value", "loading"]))), 256))
4528
4537
  ]))), 128))
4529
- ])) : b("", !0)
4538
+ ])) : w("", !0)
4530
4539
  ])
4531
4540
  ]))
4532
4541
  ]));
@@ -4538,7 +4547,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4538
4547
  }, sd = { class: "relative block h-full w-full border-0 py-0 pl-8 pr-0 text-gray-900 placeholder:text-gray-400 focus:ring-0 sm:text-sm" }, od = { class: "flex items-center gap-x-4 lg:gap-x-6" }, ld = {
4539
4548
  type: "button",
4540
4549
  class: "-m-2.5 p-2.5 text-gray-400 hover:text-gray-500 relative"
4541
- }, rd = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute top-1 left-2" }, nd = ["src"], ad = { class: "hidden lg:flex lg:items-center" }, id = ["onClick"], dd = { class: "py-7" }, ud = { class: "px-7 lg:px-10" }, cd = /* @__PURE__ */ B({
4550
+ }, rd = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute top-1 left-2" }, nd = ["src"], ad = { class: "hidden lg:flex lg:items-center" }, id = ["onClick"], dd = { class: "py-7" }, ud = { class: "px-7 lg:px-10" }, cd = /* @__PURE__ */ M({
4542
4551
  __name: "uiWrapper",
4543
4552
  props: {
4544
4553
  topbar: {},
@@ -4546,8 +4555,8 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4546
4555
  },
4547
4556
  emits: ["productBarClick", "sideBarClick", "selectChanged", "topBarClick"],
4548
4557
  setup(m, { emit: i }) {
4549
- const o = m, a = N(""), r = Y(() => a.value === "" ? o.topbar.selectItems : o.topbar.selectItems.filter((d) => d.name.toLowerCase().includes(a.value.toLowerCase()))), l = (d) => (d == null ? void 0 : d.name) ?? "", t = Y(() => o.topbar.selectedItem), c = N(!1);
4550
- return (d, f) => (s(), n("div", null, [
4558
+ const l = m, a = A(""), r = Y(() => a.value === "" ? l.topbar.selectItems : l.topbar.selectItems.filter((d) => d.name.toLowerCase().includes(a.value.toLowerCase()))), o = (d) => (d == null ? void 0 : d.name) ?? "", t = Y(() => l.topbar.selectedItem), c = A(!1);
4559
+ return (d, h) => (s(), n("div", null, [
4551
4560
  p(u(we), {
4552
4561
  as: "template",
4553
4562
  show: c.value
@@ -4555,7 +4564,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4555
4564
  default: v(() => [
4556
4565
  p(u(xe), {
4557
4566
  class: "relative z-50 lg:hidden",
4558
- onClose: f[3] || (f[3] = (h) => c.value = !1)
4567
+ onClose: h[3] || (h[3] = (f) => c.value = !1)
4559
4568
  }, {
4560
4569
  default: v(() => [
4561
4570
  p(u(G), {
@@ -4567,7 +4576,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4567
4576
  "leave-from": "opacity-100",
4568
4577
  "leave-to": "opacity-0"
4569
4578
  }, {
4570
- default: v(() => f[11] || (f[11] = [
4579
+ default: v(() => h[11] || (h[11] = [
4571
4580
  e("div", { class: "fixed inset-0 bg-gray-900/80" }, null, -1)
4572
4581
  ])),
4573
4582
  _: 1
@@ -4599,9 +4608,9 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4599
4608
  e("button", {
4600
4609
  type: "button",
4601
4610
  class: "-m-2.5 p-2.5",
4602
- onClick: f[0] || (f[0] = (h) => c.value = !1)
4611
+ onClick: h[0] || (h[0] = (f) => c.value = !1)
4603
4612
  }, [
4604
- f[12] || (f[12] = e("span", { class: "sr-only" }, "Close sidebar", -1)),
4613
+ h[12] || (h[12] = e("span", { class: "sr-only" }, "Close sidebar", -1)),
4605
4614
  p(u(W), {
4606
4615
  class: "h-6 w-6 text-white",
4607
4616
  "aria-hidden": "true"
@@ -4618,8 +4627,8 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4618
4627
  filterNavigation: d.sidebar.filterNavigation,
4619
4628
  loading: !1,
4620
4629
  logo: d.topbar.logo,
4621
- onSideBarClick: f[1] || (f[1] = (h) => d.$emit("sideBarClick", h)),
4622
- onProductBarClick: f[2] || (f[2] = (h) => d.$emit("productBarClick", h))
4630
+ onSideBarClick: h[1] || (h[1] = (f) => d.$emit("sideBarClick", f)),
4631
+ onProductBarClick: h[2] || (h[2] = (f) => d.$emit("productBarClick", f))
4623
4632
  }, null, 8, ["productsSidebar", "isFilterNavigation", "navigation", "filterNavigation", "logo"])
4624
4633
  ]),
4625
4634
  _: 1
@@ -4642,8 +4651,8 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4642
4651
  filterNavigation: d.sidebar.filterNavigation,
4643
4652
  loading: !1,
4644
4653
  logo: d.topbar.logo,
4645
- onSideBarClick: f[4] || (f[4] = (h) => d.$emit("sideBarClick", h)),
4646
- onProductBarClick: f[5] || (f[5] = (h) => d.$emit("productBarClick", h))
4654
+ onSideBarClick: h[4] || (h[4] = (f) => d.$emit("sideBarClick", f)),
4655
+ onProductBarClick: h[5] || (h[5] = (f) => d.$emit("productBarClick", f))
4647
4656
  }, null, 8, ["productsSidebar", "isFilterNavigation", "navigation", "filterNavigation", "logo"])
4648
4657
  ]),
4649
4658
  e("div", Ki, [
@@ -4651,21 +4660,21 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4651
4660
  e("button", {
4652
4661
  type: "button",
4653
4662
  class: "-m-2.5 p-2.5 text-gray-700 lg:hidden",
4654
- onClick: f[6] || (f[6] = (h) => c.value = !0)
4663
+ onClick: h[6] || (h[6] = (f) => c.value = !0)
4655
4664
  }, [
4656
- f[13] || (f[13] = e("span", { class: "sr-only" }, "Open sidebar", -1)),
4665
+ h[13] || (h[13] = e("span", { class: "sr-only" }, "Open sidebar", -1)),
4657
4666
  p(u(Ee), {
4658
4667
  class: "h-6 w-6",
4659
4668
  "aria-hidden": "true"
4660
4669
  })
4661
4670
  ]),
4662
- f[19] || (f[19] = e("div", {
4671
+ h[19] || (h[19] = e("div", {
4663
4672
  class: "h-6 w-px bg-gray-200 lg:hidden",
4664
4673
  "aria-hidden": "true"
4665
4674
  }, null, -1)),
4666
4675
  e("div", ed, [
4667
4676
  e("form", td, [
4668
- f[14] || (f[14] = e("label", {
4677
+ h[14] || (h[14] = e("label", {
4669
4678
  for: "search-field",
4670
4679
  class: "sr-only"
4671
4680
  }, "Search", -1)),
@@ -4678,17 +4687,17 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4678
4687
  as: "div",
4679
4688
  modelValue: t.value,
4680
4689
  "onUpdate:modelValue": [
4681
- f[9] || (f[9] = (h) => t.value = h),
4682
- f[10] || (f[10] = (h) => d.$emit("selectChanged", h))
4690
+ h[9] || (h[9] = (f) => t.value = f),
4691
+ h[10] || (h[10] = (f) => d.$emit("selectChanged", f))
4683
4692
  ]
4684
4693
  }, {
4685
4694
  default: v(() => [
4686
4695
  e("div", sd, [
4687
4696
  p(u(Ie), {
4688
4697
  class: "block h-full w-full border-0 py-0 pl-8 pr-0 text-gray-900 placeholder:text-gray-400 focus:ring-0 sm:text-sm",
4689
- onChange: f[7] || (f[7] = (h) => a.value = h.target.value),
4690
- onBlur: f[8] || (f[8] = (h) => a.value = ""),
4691
- displayValue: l
4698
+ onChange: h[7] || (h[7] = (f) => a.value = f.target.value),
4699
+ onBlur: h[8] || (h[8] = (f) => a.value = ""),
4700
+ displayValue: o
4692
4701
  }),
4693
4702
  p(u(Fe), { class: "absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none" }, {
4694
4703
  default: v(() => [
@@ -4701,31 +4710,31 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4701
4710
  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"
4702
4711
  }, {
4703
4712
  default: v(() => [
4704
- (s(!0), n(k, null, $(r.value, (h) => (s(), _(u(Re), {
4705
- key: h.id,
4706
- value: h,
4713
+ (s(!0), n(k, null, $(r.value, (f) => (s(), _(u(Re), {
4714
+ key: f.id,
4715
+ value: f,
4707
4716
  as: "template"
4708
4717
  }, {
4709
- default: v(({ active: w, selected: z }) => [
4718
+ default: v(({ active: b, selected: T }) => [
4710
4719
  e("li", {
4711
- class: y(["relative cursor-default select-none py-2 pl-8 pr-4", w ? "bg-indigo-600 text-white" : "text-gray-900"])
4720
+ class: y(["relative cursor-default select-none py-2 pl-8 pr-4", b ? "bg-indigo-600 text-white" : "text-gray-900"])
4712
4721
  }, [
4713
4722
  e("span", {
4714
- class: y(["block truncate", z && "font-semibold"])
4715
- }, g(h.name), 3),
4716
- z ? (s(), n("span", {
4723
+ class: y(["block truncate", T && "font-semibold"])
4724
+ }, g(f.name), 3),
4725
+ T ? (s(), n("span", {
4717
4726
  key: 0,
4718
- class: y(["absolute inset-y-0 left-0 flex items-center pl-1.5", w ? "text-white" : "text-indigo-600"])
4727
+ class: y(["absolute inset-y-0 left-0 flex items-center pl-1.5", b ? "text-white" : "text-indigo-600"])
4719
4728
  }, [
4720
4729
  p(u(ge), { class: "h-5 w-5" })
4721
- ], 2)) : b("", !0)
4730
+ ], 2)) : w("", !0)
4722
4731
  ], 2)
4723
4732
  ]),
4724
4733
  _: 2
4725
4734
  }, 1032, ["value"]))), 128))
4726
4735
  ]),
4727
4736
  _: 1
4728
- })) : b("", !0)
4737
+ })) : w("", !0)
4729
4738
  ])
4730
4739
  ]),
4731
4740
  _: 1
@@ -4733,8 +4742,8 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4733
4742
  ]),
4734
4743
  e("div", od, [
4735
4744
  e("button", ld, [
4736
- f[16] || (f[16] = e("span", { class: "sr-only" }, "View notifications", -1)),
4737
- C(e("div", rd, f[15] || (f[15] = [
4745
+ h[16] || (h[16] = e("span", { class: "sr-only" }, "View notifications", -1)),
4746
+ C(e("div", rd, h[15] || (h[15] = [
4738
4747
  e("span", { class: "animate-ping absolute inline-flex h-4 w-4 bg-red-500 rounded-full opacity-75" }, null, -1)
4739
4748
  ]), 512), [
4740
4749
  [D, d.topbar.alerted]
@@ -4744,7 +4753,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4744
4753
  "aria-hidden": "true"
4745
4754
  })
4746
4755
  ]),
4747
- f[18] || (f[18] = e("div", {
4756
+ h[18] || (h[18] = e("div", {
4748
4757
  class: "hidden lg:block lg:h-6 lg:w-px lg:bg-gray-200",
4749
4758
  "aria-hidden": "true"
4750
4759
  }, null, -1)),
@@ -4755,7 +4764,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4755
4764
  default: v(() => [
4756
4765
  p(u(ye), { class: "-m-1.5 flex items-center p-1.5" }, {
4757
4766
  default: v(() => [
4758
- f[17] || (f[17] = e("span", { class: "sr-only" }, "Open user menu", -1)),
4767
+ h[17] || (h[17] = e("span", { class: "sr-only" }, "Open user menu", -1)),
4759
4768
  e("img", {
4760
4769
  class: "h-8 w-8 rounded-full bg-gray-50",
4761
4770
  src: d.topbar.accountLogo,
@@ -4781,14 +4790,14 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4781
4790
  default: v(() => [
4782
4791
  p(u(ve), { 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" }, {
4783
4792
  default: v(() => [
4784
- (s(!0), n(k, null, $(d.topbar.profileMenu, (h) => (s(), _(u(be), {
4785
- key: h.name
4793
+ (s(!0), n(k, null, $(d.topbar.profileMenu, (f) => (s(), _(u(be), {
4794
+ key: f.name
4786
4795
  }, {
4787
- default: v(({ active: w }) => [
4796
+ default: v(({ active: b }) => [
4788
4797
  e("a", {
4789
- onClick: (z) => d.$emit("topBarClick", h.id),
4790
- class: y([w ? "bg-gray-50" : "", "block px-3 py-1 text-sm leading-6 text-gray-900"])
4791
- }, g(h.name), 11, id)
4798
+ onClick: (T) => d.$emit("topBarClick", f.id),
4799
+ class: y([b ? "bg-gray-50" : "", "block px-3 py-1 text-sm leading-6 text-gray-900"])
4800
+ }, g(f.name), 11, id)
4792
4801
  ]),
4793
4802
  _: 2
4794
4803
  }, 1024))), 128))
@@ -4812,26 +4821,26 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4812
4821
  ])
4813
4822
  ]));
4814
4823
  }
4815
- }), gd = /* @__PURE__ */ B({
4824
+ }), gd = /* @__PURE__ */ M({
4816
4825
  __name: "uiDynamicStats",
4817
4826
  props: {
4818
4827
  dynamicStats: {},
4819
4828
  loading: { type: Boolean, default: !0 }
4820
4829
  },
4821
4830
  setup(m) {
4822
- const i = m, o = () => i.dynamicStats.length <= 5 ? `lg:grid-cols-${i.dynamicStats.length}` : `lg:grid-cols-${Math.floor(i.dynamicStats.length / 2)} xl:grid-cols-${i.dynamicStats.length}`, a = N(0), r = N(o());
4823
- return st(() => a.value += 1), (l, t) => (s(), n("div", {
4831
+ const i = m, l = () => i.dynamicStats.length <= 5 ? `lg:grid-cols-${i.dynamicStats.length}` : `lg:grid-cols-${Math.floor(i.dynamicStats.length / 2)} xl:grid-cols-${i.dynamicStats.length}`, a = A(0), r = A(l());
4832
+ return st(() => a.value += 1), (o, t) => (s(), n("div", {
4824
4833
  class: y([r.value, "grid grid-cols-1 md:grid-cols-2 gap-4"]),
4825
4834
  key: a.value
4826
4835
  }, [
4827
- (s(!0), n(k, null, $(l.dynamicStats, (c, d) => (s(), _(Xe, {
4836
+ (s(!0), n(k, null, $(o.dynamicStats, (c, d) => (s(), _(Xe, {
4828
4837
  key: d,
4829
4838
  item: c,
4830
- loading: l.loading
4839
+ loading: o.loading
4831
4840
  }, null, 8, ["item", "loading"]))), 128))
4832
4841
  ], 2));
4833
4842
  }
4834
- }), pd = { class: "flex flex-col lg:flex-row items-center" }, md = /* @__PURE__ */ B({
4843
+ }), pd = { class: "flex flex-col lg:flex-row items-center" }, md = /* @__PURE__ */ M({
4835
4844
  __name: "uiSmartFilter",
4836
4845
  props: {
4837
4846
  items: {},
@@ -4843,32 +4852,32 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4843
4852
  },
4844
4853
  emits: ["smartFilterSelected", "smartInputChanged", "smartOptionSelected", "rightAddOnClicked"],
4845
4854
  setup(m, { emit: i }) {
4846
- const o = m, a = i, r = N(o.filterType);
4847
- let l = Q(o.inputProps), t = Q(o.dropdownProps);
4848
- q(() => o.filterType, (h) => r.value = h), q(() => o.inputProps, (h) => l = h), q(() => o.dropdownProps, (h) => t = h);
4849
- const c = Y(() => r.value === "input" ? l : t), d = Y(() => r.value === "input" ? E : me), f = (h) => {
4850
- r.value = h.type, a("smartFilterSelected", h);
4855
+ const l = m, a = i, r = A(l.filterType);
4856
+ let o = Q(l.inputProps), t = Q(l.dropdownProps);
4857
+ q(() => l.filterType, (f) => r.value = f), q(() => l.inputProps, (f) => o = f), q(() => l.dropdownProps, (f) => t = f);
4858
+ const c = Y(() => r.value === "input" ? o : t), d = Y(() => r.value === "input" ? E : me), h = (f) => {
4859
+ r.value = f.type, a("smartFilterSelected", f);
4851
4860
  };
4852
- return (h, w) => (s(), n("div", pd, [
4861
+ return (f, b) => (s(), n("div", pd, [
4853
4862
  p(Ge, {
4854
- items: h.items,
4855
- loading: h.loading,
4856
- onFilterSelected: f
4863
+ items: f.items,
4864
+ loading: f.loading,
4865
+ onFilterSelected: h
4857
4866
  }, null, 8, ["items", "loading"]),
4858
4867
  (s(), _(Ne(d.value), ot({
4859
- class: [{ "rounded-md": !h.inputProps.rightAddOn, "rounded-l-md": h.inputProps.rightAddOn, "rounded-r-none": h.inputProps.rightAddOn }, "w-full mt-2 lg:mt-0 lg:mx-2 lg:grow"]
4868
+ class: [{ "rounded-md": !f.inputProps.rightAddOn, "rounded-l-md": f.inputProps.rightAddOn, "rounded-r-none": f.inputProps.rightAddOn }, "w-full mt-2 lg:mt-0 lg:mx-2 lg:grow"]
4860
4869
  }, c.value, {
4861
- loading: h.loading,
4862
- onInputChanged: w[0] || (w[0] = (z) => a("smartInputChanged", z)),
4863
- onOptionSelected: w[1] || (w[1] = (z) => a("smartOptionSelected", z)),
4864
- onRightAddOnClicked: w[2] || (w[2] = (z) => a("rightAddOnClicked"))
4870
+ loading: f.loading,
4871
+ onInputChanged: b[0] || (b[0] = (T) => a("smartInputChanged", T)),
4872
+ onOptionSelected: b[1] || (b[1] = (T) => a("smartOptionSelected", T)),
4873
+ onRightAddOnClicked: b[2] || (b[2] = (T) => a("rightAddOnClicked"))
4865
4874
  }), null, 16, ["class", "loading"])),
4866
4875
  p(J, {
4867
4876
  class: "mt-2 lg:mt-0",
4868
- loading: h.loading
4877
+ loading: f.loading
4869
4878
  }, {
4870
4879
  default: v(() => [
4871
- L(g(h.buttonLiteral), 1)
4880
+ L(g(f.buttonLiteral), 1)
4872
4881
  ]),
4873
4882
  _: 1
4874
4883
  }, 8, ["loading"])