@hotelinking/ui 10.42.4 → 10.42.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ui.es.js CHANGED
@@ -1,5 +1,5 @@
1
- import { defineComponent as B, openBlock as s, createBlock as _, resolveDynamicComponent as Oe, normalizeClass as h, createElementBlock as n, createCommentVNode as b, renderSlot as q, createElementVNode as e, ref as O, watch as R, computed as P, unref as u, withCtx as v, toDisplayString as g, createVNode as p, createTextVNode as z, 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 Ye, TransitionGroup as tt, onMounted as st, mergeProps as ot } from "vue";
2
- import { Menu as ye, MenuButton as he, MenuItems as ve, MenuItem as be, Combobox as Pe, ComboboxLabel as lt, ComboboxInput as Ie, ComboboxButton as Fe, ComboboxOptions as Ve, ComboboxOption as qe, SwitchGroup as rt, Switch as nt, SwitchLabel as at, TransitionRoot as we, Dialog as xe, TransitionChild as G, DialogPanel as ke, DialogTitle as Re, Disclosure as _e, DisclosureButton as Z, DisclosurePanel as $e } from "@headlessui/vue";
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";
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
3
  import T from "dayjs";
4
4
  import Ce from "vue3-apexcharts";
5
5
  import it from "vue3-draggable";
@@ -15,16 +15,16 @@ const j = /* @__PURE__ */ B({
15
15
  setup(m) {
16
16
  return (i, o) => i.loading ? (s(), n("div", {
17
17
  key: 1,
18
- class: h([{
18
+ class: y([{
19
19
  "h-4 w-4": i.size === "medium",
20
20
  "h-6 w-6": i.size === "big",
21
21
  "h-8 w-8": i.size === "bigger",
22
22
  "h-12 w-12": i.size === "huge",
23
23
  "h-20 w-20": i.size === "massive"
24
24
  }, "animate-pulse rounded-full bg-gray-200 dark:bg-gray-300"])
25
- }, null, 2)) : (s(), _(Oe(i.icon), {
25
+ }, null, 2)) : (s(), _(Ne(i.icon), {
26
26
  key: 0,
27
- class: h({
27
+ class: y({
28
28
  "h-4 w-4": i.size === "medium",
29
29
  "h-6 w-6": i.size === "big",
30
30
  "h-8 w-8": i.size === "bigger",
@@ -67,7 +67,7 @@ const j = /* @__PURE__ */ B({
67
67
  ])) : (s(), n("button", {
68
68
  key: 0,
69
69
  disabled: i.disabled,
70
- class: h([{
70
+ class: y([{
71
71
  "bg-indigo-600 hover:bg-indigo-800 text-white shadow-sm": i.color === "primary",
72
72
  "bg-cyan-300 hover:bg-cyan-500 text-white shadow-sme": i.color === "secondary",
73
73
  "bg-red-400 hover:bg-red-600 text-white shadow-sm": i.color === "red",
@@ -87,13 +87,13 @@ const j = /* @__PURE__ */ B({
87
87
  class: "-ml-0.5 mr-2",
88
88
  loading: i.loading
89
89
  }, null, 8, ["icon", "loading"])) : b("", !0),
90
- q(i.$slots, "default")
90
+ R(i.$slots, "default")
91
91
  ], 10, ut));
92
92
  }
93
93
  }), gt = {
94
94
  key: 0,
95
95
  class: "relative flex items-start"
96
- }, pt = { class: "flex items-center h-5" }, mt = ["checked", "value", "disabled"], ft = { class: "ml-3 text-sm" }, yt = { class: "text-gray-500" }, ht = {
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
99
  }, He = /* @__PURE__ */ B({
@@ -107,12 +107,12 @@ const j = /* @__PURE__ */ B({
107
107
  },
108
108
  emits: ["checkboxChanged"],
109
109
  setup(m, { emit: i }) {
110
- const o = i, a = m, r = O(a.check), l = () => {
110
+ const o = i, a = m, r = N(a.check), l = () => {
111
111
  a.disabled || (r.value = !r.value, o("checkboxChanged", { checked: r.value, value: a.value }));
112
112
  };
113
- return R(() => a.check, (t) => {
113
+ return q(() => a.check, (t) => {
114
114
  t && (r.value = t);
115
- }), (t, c) => t.loading ? (s(), n("div", ht, c[1] || (c[1] = [
115
+ }), (t, c) => t.loading ? (s(), n("div", yt, c[1] || (c[1] = [
116
116
  e("div", { class: "w-5 h-5 rounded bg-gray-200" }, null, -1),
117
117
  e("div", { class: "ml-3 h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28" }, null, -1)
118
118
  ]))) : (s(), n("div", gt, [
@@ -127,8 +127,8 @@ const j = /* @__PURE__ */ B({
127
127
  }, null, 40, mt)
128
128
  ]),
129
129
  e("div", ft, [
130
- e("span", yt, [
131
- q(t.$slots, "default")
130
+ e("span", ht, [
131
+ R(t.$slots, "default")
132
132
  ])
133
133
  ])
134
134
  ]));
@@ -579,10 +579,10 @@ function W(m, i) {
579
579
  const zt = { class: "flex justify-between" }, Lt = {
580
580
  key: 0,
581
581
  class: "block text-sm font-medium text-gray-700 mb-1"
582
- }, Nt = {
582
+ }, Ot = {
583
583
  key: 1,
584
584
  class: "text-[10px] text-gray-500 uppercase justify-self-end mt-1"
585
- }, Ot = { class: "py-1" }, At = ["onClick"], Yt = {
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
588
  }, me = /* @__PURE__ */ B({
@@ -597,32 +597,32 @@ 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 = P(() => {
600
+ const o = 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
603
  }), l = (t) => {
604
604
  a.disabled || o("optionSelected", t);
605
605
  };
606
- return (t, c) => t.loading ? (s(), n("div", Yt, [
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)),
608
608
  p(u(ue), {
609
609
  "aria-hidden": "true",
610
610
  class: "-mr-1 ml-2 h-5 w-5 text-gray-200 dark:text-gray-300"
611
611
  })
612
- ])) : (s(), _(u(ye), {
612
+ ])) : (s(), _(u(he), {
613
613
  key: 0,
614
614
  as: "div",
615
- class: h(["relative inline-block text-left", { "opacity-25": t.disabled }])
615
+ class: y(["relative inline-block text-left", { "opacity-25": t.disabled }])
616
616
  }, {
617
617
  default: v(() => [
618
618
  e("div", null, [
619
619
  e("div", zt, [
620
620
  t.label ? (s(), n("label", Lt, g(t.label), 1)) : b("", !0),
621
- t.requiredText ? (s(), n("span", Nt, g(t.requiredText), 1)) : b("", !0)
621
+ t.requiredText ? (s(), n("span", Ot, g(t.requiredText), 1)) : b("", !0)
622
622
  ]),
623
- p(u(he), { 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" }, {
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(() => [
625
- z(g(r.value) + " ", 1),
625
+ L(g(r.value) + " ", 1),
626
626
  p(u(ue), {
627
627
  "aria-hidden": "true",
628
628
  class: "-mr-1 ml-2 h-5 w-5"
@@ -642,15 +642,15 @@ const zt = { class: "flex justify-between" }, Lt = {
642
642
  default: v(() => [
643
643
  t.disabled ? b("", !0) : (s(), _(u(ve), {
644
644
  key: 0,
645
- class: h([{ "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"])
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
- e("div", Ot, [
648
+ e("div", Nt, [
649
649
  (s(!0), n(k, null, $(t.items, (d, f) => (s(), _(u(be), { key: f }, {
650
650
  default: v(() => [
651
651
  e("a", {
652
- onClick: (y) => l(d),
653
- class: h([
652
+ onClick: (h) => l(d),
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"
656
656
  ])
@@ -669,13 +669,13 @@ const zt = { class: "flex justify-between" }, Lt = {
669
669
  _: 1
670
670
  }, 8, ["class"]));
671
671
  }
672
- }), Pt = { key: 0 }, It = { class: "flex justify-between" }, Ft = {
672
+ }), Yt = { key: 0 }, It = { class: "flex justify-between" }, Ft = {
673
673
  key: 0,
674
674
  class: "block text-sm font-medium text-gray-700"
675
675
  }, Vt = {
676
676
  key: 1,
677
677
  class: "text-[10px] text-gray-500 uppercase justify-self-end"
678
- }, qt = ["max", "disabled", "name", "placeholder", "type"], Rt = { class: "absolute inset-y-0 right-0 pr-3 flex items-center pointer-events-none" }, Ht = {
678
+ }, Rt = ["max", "disabled", "name", "placeholder", "type"], qt = { class: "absolute inset-y-0 right-0 pr-3 flex items-center pointer-events-none" }, Ht = {
679
679
  key: 1,
680
680
  class: "animate-pulse"
681
681
  }, Ut = {
@@ -702,8 +702,8 @@ 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 = O(a.value);
706
- R(() => a.value, (t) => {
705
+ const o = i, a = m, r = N(a.value);
706
+ q(() => a.value, (t) => {
707
707
  r.value = t, r.value && o("inputChanged", { name: a.name, value: r.value });
708
708
  });
709
709
  const l = (t) => {
@@ -714,13 +714,13 @@ const zt = { class: "flex justify-between" }, Lt = {
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
- ])) : (s(), n("div", Pt, [
717
+ ])) : (s(), n("div", Yt, [
718
718
  e("div", It, [
719
719
  t.label ? (s(), n("label", Ft, g(t.label), 1)) : b("", !0),
720
720
  t.requiredText ? (s(), n("span", Vt, g(t.requiredText), 1)) : b("", !0)
721
721
  ]),
722
722
  e("div", {
723
- class: h([{ "mt-1": t.label }, "relative flex"])
723
+ class: y([{ "mt-1": t.label }, "relative flex"])
724
724
  }, [
725
725
  t.addOn ? (s(), n("span", {
726
726
  key: 0,
@@ -730,7 +730,7 @@ const zt = { class: "flex justify-between" }, Lt = {
730
730
  C(e("input", {
731
731
  "onUpdate:modelValue": c[1] || (c[1] = (d) => r.value = d),
732
732
  max: t.max,
733
- class: h([{
733
+ class: y([{
734
734
  "border-gray-300": t.color === "gray",
735
735
  "border-red-400": t.color === "red",
736
736
  "border-yellow-400": t.color === "yellow",
@@ -751,7 +751,7 @@ const zt = { class: "flex justify-between" }, Lt = {
751
751
  placeholder: t.placeholder,
752
752
  type: t.type,
753
753
  onInput: l
754
- }, null, 42, qt), [
754
+ }, null, 42, Rt), [
755
755
  [et, r.value]
756
756
  ]),
757
757
  t.rightAddOn ? (s(), n("span", {
@@ -759,7 +759,7 @@ const zt = { class: "flex justify-between" }, Lt = {
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
761
  }, g(t.rightAddOn), 1)) : b("", !0),
762
- e("div", Rt, [
762
+ e("div", qt, [
763
763
  t.icon ? (s(), _(j, {
764
764
  key: 0,
765
765
  icon: t.icon,
@@ -790,7 +790,7 @@ const zt = { class: "flex justify-between" }, Lt = {
790
790
  ])
791
791
  ], 2),
792
792
  C(e("p", {
793
- class: h([{
793
+ class: y([{
794
794
  "text-gray-400": t.color === "gray",
795
795
  "text-red-400": t.color === "red",
796
796
  "text-yellow-400": t.color === "yellow",
@@ -827,7 +827,7 @@ const zt = { class: "flex justify-between" }, Lt = {
827
827
  },
828
828
  emits: ["filesUploaded"],
829
829
  setup(m, { emit: i }) {
830
- let o = O("");
830
+ let o = N("");
831
831
  const a = i, r = m, l = (d) => {
832
832
  c(d.dataTransfer.files), a("filesUploaded", { id: r.id, files: d.dataTransfer.files });
833
833
  }, t = (d) => {
@@ -835,8 +835,8 @@ const zt = { class: "flex justify-between" }, Lt = {
835
835
  }, c = (d) => {
836
836
  o.value = "";
837
837
  let f = 1;
838
- Object.values(d).forEach((y) => {
839
- f++, o.value += y.name, f >= 1 && f < d.length && (o.value += ", ");
838
+ Object.values(d).forEach((h) => {
839
+ f++, o.value += h.name, f >= 1 && f < d.length && (o.value += ", ");
840
840
  });
841
841
  };
842
842
  return (d, f) => d.loading ? (s(), n("div", os, f[1] || (f[1] = [
@@ -851,7 +851,7 @@ const zt = { class: "flex justify-between" }, Lt = {
851
851
  d.requiredText ? (s(), n("span", Wt, g(d.requiredText), 1)) : b("", !0)
852
852
  ]),
853
853
  e("div", {
854
- class: h([
854
+ class: y([
855
855
  [
856
856
  { "mt-1": d.label },
857
857
  { "border-gray-300 hover:border-gray-400": !d.error },
@@ -903,7 +903,7 @@ const zt = { class: "flex justify-between" }, Lt = {
903
903
  class: "mr-2",
904
904
  loading: d.loading
905
905
  }, null, 8, ["icon", "loading"]),
906
- z(" " + g(d.error), 1)
906
+ L(" " + g(d.error), 1)
907
907
  ], 512), [
908
908
  [D, d.error]
909
909
  ])
@@ -929,19 +929,19 @@ const zt = { class: "flex justify-between" }, Lt = {
929
929
  },
930
930
  emits: ["selectChanged"],
931
931
  setup(m, { emit: i }) {
932
- const o = O(""), a = i, r = m, l = P(() => o.value === "" ? r.items : r.items.filter((d) => d.name.toLowerCase().includes(o.value.toLowerCase()))), t = (d) => (d == null ? void 0 : d.name) ?? "", c = P(() => r.select);
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
933
  return (d, f) => d.loading ? (s(), n("div", is, [
934
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)),
935
935
  p(u(fe), {
936
936
  "aria-hidden": "true",
937
937
  class: "-mr-1 ml-2 h-5 w-5 text-gray-300 dark:text-gray-400"
938
938
  })
939
- ])) : (s(), _(u(Pe), {
939
+ ])) : (s(), _(u(Ye), {
940
940
  key: 0,
941
941
  modelValue: c.value,
942
942
  "onUpdate:modelValue": [
943
- f[2] || (f[2] = (y) => c.value = y),
944
- f[3] || (f[3] = (y) => a("selectChanged", y))
943
+ f[2] || (f[2] = (h) => c.value = h),
944
+ f[3] || (f[3] = (h) => a("selectChanged", h))
945
945
  ],
946
946
  disabled: d.disabled,
947
947
  as: "div"
@@ -950,7 +950,7 @@ const zt = { class: "flex justify-between" }, Lt = {
950
950
  e("div", rs, [
951
951
  p(u(lt), { class: "block text-sm font-medium" }, {
952
952
  default: v(() => [
953
- z(g(d.label), 1)
953
+ L(g(d.label), 1)
954
954
  ]),
955
955
  _: 1
956
956
  }),
@@ -958,10 +958,10 @@ const zt = { class: "flex justify-between" }, Lt = {
958
958
  ]),
959
959
  e("div", as, [
960
960
  p(u(Ie), {
961
- onChange: f[0] || (f[0] = (y) => o.value = y.target.value),
962
- onBlur: f[1] || (f[1] = (y) => o.value = ""),
961
+ onChange: f[0] || (f[0] = (h) => o.value = h.target.value),
962
+ onBlur: f[1] || (f[1] = (h) => o.value = ""),
963
963
  displayValue: t,
964
- class: h([{
964
+ class: y([{
965
965
  "border-gray-300": d.color === "gray",
966
966
  "border-red-400": d.color === "red",
967
967
  "border-yellow-400": d.color === "yellow",
@@ -989,24 +989,24 @@ const zt = { class: "flex justify-between" }, Lt = {
989
989
  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
990
  }, {
991
991
  default: v(() => [
992
- (s(!0), n(k, null, $(l.value, (y) => (s(), _(u(qe), {
993
- key: y.id,
994
- value: y,
992
+ (s(!0), n(k, null, $(l.value, (h) => (s(), _(u(Re), {
993
+ key: h.id,
994
+ value: h,
995
995
  as: "template"
996
996
  }, {
997
- default: v(({ active: w, selected: L }) => [
997
+ default: v(({ active: w, selected: z }) => [
998
998
  e("li", {
999
- class: h([
999
+ class: y([
1000
1000
  "relative cursor-default select-none py-2 pl-3 pr-9",
1001
1001
  w ? "bg-indigo-600 text-white" : "text-gray-900"
1002
1002
  ])
1003
1003
  }, [
1004
1004
  e("span", {
1005
- class: h(["block truncate", L && "font-semibold"])
1006
- }, g(y.name), 3),
1007
- L ? (s(), n("span", {
1005
+ class: y(["block truncate", z && "font-semibold"])
1006
+ }, g(h.name), 3),
1007
+ z ? (s(), n("span", {
1008
1008
  key: 0,
1009
- class: h([
1009
+ class: y([
1010
1010
  "absolute inset-y-0 right-0 flex items-center pr-4",
1011
1011
  w ? "text-white" : "text-indigo-600"
1012
1012
  ])
@@ -1026,7 +1026,7 @@ const zt = { class: "flex justify-between" }, Lt = {
1026
1026
  })) : b("", !0)
1027
1027
  ]),
1028
1028
  C(e("p", {
1029
- class: h([{
1029
+ class: y([{
1030
1030
  "text-gray-400": d.color === "gray",
1031
1031
  "text-red-400": d.color === "red",
1032
1032
  "text-yellow-400": d.color === "yellow",
@@ -1062,7 +1062,7 @@ const zt = { class: "flex justify-between" }, Lt = {
1062
1062
  ]))) : (s(), n("span", {
1063
1063
  key: 0,
1064
1064
  onClick: r,
1065
- class: h([{
1065
+ class: y([{
1066
1066
  "bg-indigo-100 text-indigo-800 border border-indigo-200": l.color === "primary",
1067
1067
  "hover:bg-indigo-200 cursor-pointer": l.event !== void 0 && l.color === "primary",
1068
1068
  "bg-red-100 text-red-800 border border-red-200": l.color === "red",
@@ -1078,7 +1078,7 @@ const zt = { class: "flex justify-between" }, Lt = {
1078
1078
  "px-4 py-3": l.size === "big"
1079
1079
  }, "inline-flex items-center rounded text-xs font-medium leading-none"])
1080
1080
  }, [
1081
- q(l.$slots, "default")
1081
+ R(l.$slots, "default")
1082
1082
  ], 2));
1083
1083
  }
1084
1084
  }), cs = { key: 0 }, gs = { class: "flex justify-between" }, ps = {
@@ -1087,10 +1087,10 @@ const zt = { class: "flex justify-between" }, Lt = {
1087
1087
  }, ms = {
1088
1088
  key: 1,
1089
1089
  class: "text-[10px] text-gray-500 uppercase justify-self-end"
1090
- }, fs = ["disabled", "placeholder"], ys = {
1090
+ }, fs = ["disabled", "placeholder"], hs = {
1091
1091
  key: 1,
1092
1092
  class: "animate-pulse"
1093
- }, hs = /* @__PURE__ */ B({
1093
+ }, ys = /* @__PURE__ */ B({
1094
1094
  __name: "uiTextArea",
1095
1095
  props: {
1096
1096
  name: {},
@@ -1107,10 +1107,10 @@ const zt = { class: "flex justify-between" }, Lt = {
1107
1107
  setup(m, { emit: i }) {
1108
1108
  const o = i, a = m, r = (t) => {
1109
1109
  o("inputChanged", t.target.value);
1110
- }, l = O(a.value);
1111
- return R(() => a.value, (t) => {
1110
+ }, l = N(a.value);
1111
+ return q(() => a.value, (t) => {
1112
1112
  l.value = t, o("inputChanged", { name: a.name, value: l.value });
1113
- }), (t, c) => t.loading ? (s(), n("div", ys, c[1] || (c[1] = [
1113
+ }), (t, c) => t.loading ? (s(), n("div", hs, c[1] || (c[1] = [
1114
1114
  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
1115
  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
1116
  ]))) : (s(), n("div", cs, [
@@ -1119,14 +1119,14 @@ const zt = { class: "flex justify-between" }, Lt = {
1119
1119
  t.requiredText ? (s(), n("span", ms, g(t.requiredText), 1)) : b("", !0)
1120
1120
  ]),
1121
1121
  e("div", {
1122
- class: h({ "mt-1": t.label })
1122
+ class: y({ "mt-1": t.label })
1123
1123
  }, [
1124
1124
  C(e("textarea", {
1125
1125
  disabled: t.disabled,
1126
1126
  rows: "4",
1127
1127
  "onUpdate:modelValue": c[0] || (c[0] = (d) => l.value = d),
1128
1128
  placeholder: t.placeholder,
1129
- class: h(["shadow-sm focus:ring-indigo-500 focus:border-indigo-500 block w-full sm:text-sm rounded-md", {
1129
+ class: y(["shadow-sm focus:ring-indigo-500 focus:border-indigo-500 block w-full sm:text-sm rounded-md", {
1130
1130
  "border-gray-300": t.color === "gray",
1131
1131
  "border-red-300": t.color === "red",
1132
1132
  "border-yellow-400": t.color === "yellow",
@@ -1143,7 +1143,7 @@ const zt = { class: "flex justify-between" }, Lt = {
1143
1143
  ])
1144
1144
  ], 2),
1145
1145
  C(e("p", {
1146
- class: h([{
1146
+ class: y([{
1147
1147
  "text-gray-300": t.color === "gray",
1148
1148
  "text-red-300": t.color === "red",
1149
1149
  "text-yellow-400": t.color === "yellow",
@@ -1156,7 +1156,7 @@ const zt = { class: "flex justify-between" }, Lt = {
1156
1156
  class: "mr-2",
1157
1157
  loading: !1
1158
1158
  }, null, 8, ["icon"]),
1159
- z(" " + g(t.error), 1)
1159
+ L(" " + g(t.error), 1)
1160
1160
  ], 2), [
1161
1161
  [D, t.error]
1162
1162
  ])
@@ -1178,8 +1178,8 @@ const zt = { class: "flex justify-between" }, Lt = {
1178
1178
  },
1179
1179
  emits: ["toggleChanged", "actionClicked"],
1180
1180
  setup(m, { emit: i }) {
1181
- const o = m, a = O(o.checked);
1182
- return R(() => o.checked, (r) => a.value = r), (r, l) => r.loading ? (s(), n("div", ws, l[3] || (l[3] = [
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] = [
1183
1183
  e("div", { class: "relative bg-gray-200 rounded-full w-12 h-6 p-1 flex items-center" }, [
1184
1184
  e("div", { class: "rounded-full bg-gray-300 dark:bg-gray-400 h-4 w-4" })
1185
1185
  ], -1),
@@ -1195,7 +1195,7 @@ const zt = { class: "flex justify-between" }, Lt = {
1195
1195
  onClick: l[0] || (l[0] = (t) => r.$emit("toggleChanged", { item: r.item, active: !a.value })),
1196
1196
  modelValue: a.value,
1197
1197
  "onUpdate:modelValue": l[1] || (l[1] = (t) => a.value = t),
1198
- class: h([
1198
+ class: y([
1199
1199
  a.value ? "bg-indigo-600" : "bg-gray-200",
1200
1200
  "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"
1201
1201
  ])
@@ -1203,7 +1203,7 @@ const zt = { class: "flex justify-between" }, Lt = {
1203
1203
  default: v(() => [
1204
1204
  e("span", {
1205
1205
  "aria-hidden": "true",
1206
- class: h([
1206
+ class: y([
1207
1207
  a.value ? "translate-x-5" : "translate-x-0",
1208
1208
  r.disabled ? "bg-gray-300" : "",
1209
1209
  "pointer-events-none inline-block h-5 w-5 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out"
@@ -1254,7 +1254,7 @@ const zt = { class: "flex justify-between" }, Lt = {
1254
1254
  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
1255
  ]))) : (s(), n("div", ks, [
1256
1256
  e("div", {
1257
- class: h([{
1257
+ class: y([{
1258
1258
  "bg-indigo-50 border-indigo-400": r.type === "info",
1259
1259
  "bg-red-50 border-red-400": r.type === "danger",
1260
1260
  "bg-yellow-50 border-yellow-400": r.type === "warning",
@@ -1286,20 +1286,20 @@ const zt = { class: "flex justify-between" }, Lt = {
1286
1286
  ]),
1287
1287
  e("div", Cs, [
1288
1288
  e("h3", {
1289
- class: h([{
1289
+ class: y([{
1290
1290
  "text-red-800": r.type === "danger",
1291
1291
  "text-yellow-800": r.type === "warning",
1292
1292
  "text-green-800": r.type === "success"
1293
1293
  }, "text-sm font-medium"])
1294
1294
  }, g(r.title), 3),
1295
1295
  e("div", {
1296
- class: h([{
1296
+ class: y([{
1297
1297
  "text-red-700": r.type === "danger",
1298
1298
  "text-yellow-700": r.type === "warning",
1299
1299
  "text-green-700": r.type === "success"
1300
1300
  }, "mt-2 text-sm"])
1301
1301
  }, [
1302
- q(r.$slots, "default")
1302
+ R(r.$slots, "default")
1303
1303
  ], 2),
1304
1304
  e("div", Ss, [
1305
1305
  e("div", Bs, [
@@ -1307,7 +1307,7 @@ const zt = { class: "flex justify-between" }, Lt = {
1307
1307
  onClick: (d) => a(t),
1308
1308
  type: "button",
1309
1309
  key: c,
1310
- class: h([
1310
+ class: y([
1311
1311
  {
1312
1312
  "bg-green-50 text-green-800 hover:bg-green-100 focus:ring-green-600 focus:ring-offset-green-50": r.type === "success",
1313
1313
  "bg-indigo-50 text-indigo-800 hover:bg-indigo-100 focus:ring-indigo-600 focus:ring-offset-indigo-50": r.type === "info",
@@ -1331,13 +1331,13 @@ const zt = { class: "flex justify-between" }, Lt = {
1331
1331
  }, zs = {
1332
1332
  role: "list",
1333
1333
  class: "flex items-center space-x-4 text-xs"
1334
- }, Ls = { key: 0 }, Ns = ["onClick"], Os = {
1334
+ }, Ls = { key: 0 }, Os = ["onClick"], Ns = {
1335
1335
  key: 1,
1336
1336
  class: "flex items-center"
1337
- }, As = ["onClick"], Ys = {
1337
+ }, As = ["onClick"], Ps = {
1338
1338
  key: 1,
1339
1339
  class: "flex flex-row items-center animate-pulse"
1340
- }, Ps = /* @__PURE__ */ B({
1340
+ }, Ys = /* @__PURE__ */ B({
1341
1341
  __name: "uiBreadcrumbs",
1342
1342
  props: {
1343
1343
  pages: {},
@@ -1345,7 +1345,7 @@ const zt = { class: "flex justify-between" }, Lt = {
1345
1345
  },
1346
1346
  emits: ["breadCrumbClicked"],
1347
1347
  setup(m, { emit: i }) {
1348
- return (o, a) => o.loading ? (s(), n("div", Ys, a[0] || (a[0] = [
1348
+ return (o, a) => o.loading ? (s(), n("div", Ps, a[0] || (a[0] = [
1349
1349
  e("div", { class: "animate-pulse rounded-full bg-gray-200 dark:bg-gray-300 h-4 w-4 mr-4" }, null, -1),
1350
1350
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/5 mr-4" }, null, -1),
1351
1351
  e("div", { class: "animate-pulse rounded-full bg-gray-200 dark:bg-gray-300 h-4 w-4 mr-4" }, null, -1),
@@ -1363,15 +1363,15 @@ const zt = { class: "flex justify-between" }, Lt = {
1363
1363
  "aria-hidden": "true"
1364
1364
  }),
1365
1365
  e("span", null, g(r.name), 1)
1366
- ], 8, Ns)
1367
- ])) : (s(), n("div", Os, [
1366
+ ], 8, Os)
1367
+ ])) : (s(), n("div", Ns, [
1368
1368
  p(u(te), {
1369
1369
  class: "flex-shrink-0 h-3 w-3 text-gray-400",
1370
1370
  "aria-hidden": "true"
1371
1371
  }),
1372
1372
  e("span", {
1373
1373
  onClick: (t) => o.$emit("breadCrumbClicked", r.routeName),
1374
- class: h(["cursor-pointer ml-4 text-xs text-gray-400 hover:text-gray-500", { "text-indigo-600 hover:text-indigo-800": !r.current }]),
1374
+ 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
1375
  "aria-current": "page"
1376
1376
  }, g(r.name), 11, As)
1377
1377
  ]))
@@ -1379,7 +1379,7 @@ const zt = { class: "flex justify-between" }, Lt = {
1379
1379
  ])
1380
1380
  ]));
1381
1381
  }
1382
- }), Is = { class: "flex items-center flex-col sm:flex-row justify-center sm:justify-start" }, Fs = ["src"], Vs = { class: "font-bold text-center sm:text-left" }, qs = { class: "mt-1 text-xs text-center sm:text-left" }, Rs = {
1382
+ }), Is = { class: "flex items-center flex-col sm:flex-row justify-center sm:justify-start" }, Fs = ["src"], Vs = { class: "font-bold text-center sm:text-left" }, Rs = { class: "mt-1 text-xs text-center sm:text-left" }, qs = {
1383
1383
  key: 0,
1384
1384
  class: "flex flex-wrap mt-4 justify-center sm:justify-start"
1385
1385
  }, Hs = {
@@ -1413,10 +1413,10 @@ const zt = { class: "flex justify-between" }, Lt = {
1413
1413
  }, null, 8, Fs),
1414
1414
  e("div", null, [
1415
1415
  e("h4", Vs, g(o.name), 1),
1416
- e("p", qs, g(o.type), 1)
1416
+ e("p", Rs, g(o.type), 1)
1417
1417
  ])
1418
1418
  ]),
1419
- o.tags && ((r = o.tags) == null ? void 0 : r.length) > 0 ? (s(), n("div", Rs, [
1419
+ o.tags && ((r = o.tags) == null ? void 0 : r.length) > 0 ? (s(), n("div", qs, [
1420
1420
  (s(!0), n(k, null, $(o.tags, (l) => (s(), _(H, {
1421
1421
  class: "mb-1 mr-1",
1422
1422
  key: l.name,
@@ -1424,7 +1424,7 @@ const zt = { class: "flex justify-between" }, Lt = {
1424
1424
  loading: o.loading
1425
1425
  }, {
1426
1426
  default: v(() => [
1427
- z(g(l.name), 1)
1427
+ L(g(l.name), 1)
1428
1428
  ]),
1429
1429
  _: 2
1430
1430
  }, 1032, ["color", "loading"]))), 128))
@@ -1446,7 +1446,7 @@ const zt = { class: "flex justify-between" }, Lt = {
1446
1446
  l.value.forEach((c) => {
1447
1447
  c.active = c.value === t.value;
1448
1448
  }), o("filterSelected", t);
1449
- }, l = O(a.items);
1449
+ }, l = N(a.items);
1450
1450
  return (t, c) => (s(), _(me, {
1451
1451
  class: "text-nowrap",
1452
1452
  loading: t.loading,
@@ -1529,7 +1529,7 @@ const zt = { class: "flex justify-between" }, Lt = {
1529
1529
  ]),
1530
1530
  e("div", Ws, [
1531
1531
  e("div", {
1532
- class: h(["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", {
1532
+ 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
1533
  "bg-red-100": l.type === "danger",
1534
1534
  "bg-green-100": l.type === "success",
1535
1535
  "bg-indigo-100": l.type === "default",
@@ -1562,17 +1562,17 @@ const zt = { class: "flex justify-between" }, Lt = {
1562
1562
  ])
1563
1563
  ], 2),
1564
1564
  e("div", Gs, [
1565
- p(u(Re), {
1565
+ p(u(qe), {
1566
1566
  as: "h3",
1567
1567
  class: "text-lg font-medium leading-6 text-gray-900"
1568
1568
  }, {
1569
1569
  default: v(() => [
1570
- z(g(l.title), 1)
1570
+ L(g(l.title), 1)
1571
1571
  ]),
1572
1572
  _: 1
1573
1573
  }),
1574
1574
  e("div", Qs, [
1575
- q(l.$slots, "default")
1575
+ R(l.$slots, "default")
1576
1576
  ]),
1577
1577
  l.actions ? (s(), n("div", Ks, [
1578
1578
  (s(!0), n(k, null, $(l.actions, (c, d) => (s(), n("button", {
@@ -1613,10 +1613,10 @@ const zt = { class: "flex justify-between" }, Lt = {
1613
1613
  },
1614
1614
  emits: ["closeNotification"],
1615
1615
  setup(m, { emit: i }) {
1616
- const o = m, a = P(() => o.show);
1616
+ const o = m, a = Y(() => o.show);
1617
1617
  return (r, l) => (s(), n("div", {
1618
1618
  "aria-live": "assertive",
1619
- class: h([{ fixed: r.fixed }, "inset-0 flex items-end px-4 py-6 pointer-events-none sm:p-6 sm:items-start"])
1619
+ class: y([{ fixed: r.fixed }, "inset-0 flex items-end px-4 py-6 pointer-events-none sm:p-6 sm:items-start"])
1620
1620
  }, [
1621
1621
  e("div", eo, [
1622
1622
  p(ce, {
@@ -1687,7 +1687,7 @@ const zt = { class: "flex justify-between" }, Lt = {
1687
1687
  key: 0,
1688
1688
  role: "list",
1689
1689
  class: "divide-y divide-gray-100"
1690
- }, 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" }, yo = { class: "truncate" }, ho = { class: "flex flex-none items-center gap-x-4" }, vo = ["href"], bo = { class: "sr-only" }, wo = {
1690
+ }, 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
1691
  key: 1,
1692
1692
  class: "divide-y divide-gray-100 animate-pulse"
1693
1693
  }, xo = /* @__PURE__ */ B({
@@ -1713,7 +1713,7 @@ const zt = { class: "flex justify-between" }, Lt = {
1713
1713
  e("div", po, [
1714
1714
  e("p", mo, g(a.name), 1),
1715
1715
  e("p", {
1716
- class: h([
1716
+ class: y([
1717
1717
  {
1718
1718
  "text-green-700 bg-green-50 ring-green-600/20": a.status === "Complete",
1719
1719
  "text-gray-600 bg-gray-50 ring-gray-500/10": a.status === "In progress",
@@ -1724,15 +1724,15 @@ const zt = { class: "flex justify-between" }, Lt = {
1724
1724
  }, g(a.statusLiteral), 3)
1725
1725
  ]),
1726
1726
  e("div", fo, [
1727
- e("p", yo, g(a.description), 1)
1727
+ e("p", ho, g(a.description), 1)
1728
1728
  ])
1729
1729
  ]),
1730
- e("div", ho, [
1730
+ e("div", yo, [
1731
1731
  e("a", {
1732
1732
  href: a.href,
1733
1733
  class: "hidden rounded-md bg-white px-2.5 py-1.5 text-sm font-semibold text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 hover:bg-gray-50 sm:block"
1734
1734
  }, [
1735
- z(g(a.action), 1),
1735
+ L(g(a.action), 1),
1736
1736
  e("span", bo, ", " + g(a.name), 1)
1737
1737
  ], 8, vo)
1738
1738
  ])
@@ -1770,8 +1770,8 @@ function So() {
1770
1770
  return d && typeof d == "object" && "default" in d ? d : { default: d };
1771
1771
  }
1772
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, y) {
1774
- var w = l[y];
1773
+ function t(d, f, h) {
1774
+ var w = l[h];
1775
1775
  return Array.isArray(w) && (w = w[f ? 0 : 1]), w.replace("%d", d);
1776
1776
  }
1777
1777
  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) {
@@ -1848,13 +1848,13 @@ const se = (m, i) => {
1848
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);
1849
1849
  }
1850
1850
  }
1851
- }, zo = { class: "dateSelector flex items-center text-white flex-row" }, Lo = { class: "pagination flex items-center my-1 md:my-0" }, No = { class: "date mx-4 font-bold text-center text-indigo-600 select-none uppercase" }, Oo = { class: "pagination flex items-center my-1 sm:my-0" };
1851
+ }, 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
1852
  function Ao(m, i, o, a, r, l) {
1853
1853
  const t = Be("ChevronLeftIcon"), c = Be("ChevronRightIcon");
1854
1854
  return s(), n("div", zo, [
1855
1855
  e("div", Lo, [
1856
1856
  e("div", {
1857
- class: h([{
1857
+ class: y([{
1858
1858
  "bg-indigo-600 hover:bg-indigo-800 cursor-pointer": l.currentDate > l.today,
1859
1859
  "bg-indigo-300": l.currentDate <= l.today
1860
1860
  }, "previousYear flex items-center p-1 rounded mx-0.5 shadow-sm"]),
@@ -1865,7 +1865,7 @@ function Ao(m, i, o, a, r, l) {
1865
1865
  p(t, { class: "h-4 -ml-3" })
1866
1866
  ], 2),
1867
1867
  e("div", {
1868
- class: h([{
1868
+ class: y([{
1869
1869
  "bg-indigo-600 hover:bg-indigo-800 cursor-pointer": l.currentDate > l.today,
1870
1870
  "bg-indigo-300": l.currentDate <= l.today
1871
1871
  }, "previousYear flex items-center p-1 rounded mx-0.5 shadow-sm"]),
@@ -1875,7 +1875,7 @@ function Ao(m, i, o, a, r, l) {
1875
1875
  p(t, { class: "h-4 -ml-3" })
1876
1876
  ], 2),
1877
1877
  e("div", {
1878
- class: h([{
1878
+ class: y([{
1879
1879
  "bg-indigo-600 hover:bg-indigo-800 cursor-pointer": l.currentDate > l.today,
1880
1880
  "bg-indigo-300": l.currentDate <= l.today
1881
1881
  }, "previousYear flex items-center p-1 rounded mx-0.5 shadow-sm"]),
@@ -1884,8 +1884,8 @@ function Ao(m, i, o, a, r, l) {
1884
1884
  p(t, { class: "h-4" })
1885
1885
  ], 2)
1886
1886
  ]),
1887
- e("div", No, g(l.formatedDate), 1),
1888
- e("div", Oo, [
1887
+ e("div", Oo, g(l.formatedDate), 1),
1888
+ e("div", No, [
1889
1889
  e("div", {
1890
1890
  class: "previousDay flex items-center cursor-pointer bg-indigo-600 p-1 rounded mx-0.5 hover:bg-indigo-800 shadow-sm",
1891
1891
  onClick: i[3] || (i[3] = (d) => l.selectDate("day", "next"))
@@ -1910,15 +1910,15 @@ function Ao(m, i, o, a, r, l) {
1910
1910
  ])
1911
1911
  ]);
1912
1912
  }
1913
- const Yo = /* @__PURE__ */ se(To, [["render", Ao]]), Po = {
1913
+ const Po = /* @__PURE__ */ se(To, [["render", Ao]]), Yo = {
1914
1914
  name: "SkeletonTable"
1915
- }, 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" }, qo = { class: "inline-block min-w-full py-2 align-middle px-1" }, Ro = { 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" };
1915
+ }, 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
1916
  function Eo(m, i, o, a, r, l) {
1917
1917
  return s(), n("div", Io, [
1918
1918
  e("div", Fo, [
1919
1919
  e("div", Vo, [
1920
- e("div", qo, [
1921
- e("div", Ro, [
1920
+ e("div", Ro, [
1921
+ e("div", qo, [
1922
1922
  e("table", Ho, [
1923
1923
  i[1] || (i[1] = e("thead", { class: "bg-gray-50" }, [
1924
1924
  e("tr", null, [
@@ -1977,7 +1977,7 @@ function Eo(m, i, o, a, r, l) {
1977
1977
  }, [
1978
1978
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-6" }),
1979
1979
  e("span", { class: "sr-only" }, [
1980
- z(", {"),
1980
+ L(", {"),
1981
1981
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-6" })
1982
1982
  ])
1983
1983
  ])
@@ -1991,7 +1991,7 @@ function Eo(m, i, o, a, r, l) {
1991
1991
  ])
1992
1992
  ]);
1993
1993
  }
1994
- const Ke = /* @__PURE__ */ se(Po, [["render", Eo]]);
1994
+ const Ke = /* @__PURE__ */ se(Yo, [["render", Eo]]);
1995
1995
  var de = { exports: {} }, Zo = de.exports, ze;
1996
1996
  function Jo() {
1997
1997
  return ze || (ze = 1, function(m, i) {
@@ -2027,7 +2027,7 @@ const Go = /* @__PURE__ */ ko(Wo), Qo = {
2027
2027
  }, Ko = { class: "text-xs" }, Xo = { class: "font-bold text-lg" }, el = { class: "text-xs font-medium" };
2028
2028
  function tl(m, i, o, a, r, l) {
2029
2029
  return s(), n("div", {
2030
- class: h([
2030
+ class: y([
2031
2031
  "day select-none text-center",
2032
2032
  {
2033
2033
  "bg-indigo-200 text-white": l.currentDay.isWeekend,
@@ -2063,7 +2063,7 @@ const sl = /* @__PURE__ */ se(Qo, [["render", tl]]), ol = {
2063
2063
  function rl(m, i, o, a, r, l) {
2064
2064
  return s(), n("div", ll, [
2065
2065
  e("div", {
2066
- class: h([
2066
+ class: y([
2067
2067
  {
2068
2068
  "bg-indigo-200 text-white": l.currentDay.isWeekend,
2069
2069
  "bg-green-300 text-white": o.price.price > o.basePrice,
@@ -2088,7 +2088,7 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2088
2088
  }, ml = { key: 0 }, fl = {
2089
2089
  colspan: "6",
2090
2090
  class: "pl-4"
2091
- }, yl = { key: 1 }, hl = {
2091
+ }, hl = { key: 1 }, yl = {
2092
2092
  colspan: "6",
2093
2093
  class: "pl-4"
2094
2094
  }, vl = { key: 2 }, bl = {
@@ -2125,7 +2125,7 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2125
2125
  }, Ll = {
2126
2126
  colspan: "2",
2127
2127
  class: "pl-4"
2128
- }, Nl = /* @__PURE__ */ B({
2128
+ }, Ol = /* @__PURE__ */ B({
2129
2129
  __name: "uiPriceCalendar",
2130
2130
  props: {
2131
2131
  loading: { type: Boolean },
@@ -2139,25 +2139,25 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2139
2139
  },
2140
2140
  emits: ["dateChanged", "changeCategoryBulkPrices", "changeCategorySelectionPrice", "changeCategoryUpgradePrice", "changeRoomPrice", "tableAction"],
2141
2141
  setup(m, { emit: i }) {
2142
- const o = m, a = i, r = O(/* @__PURE__ */ new Date()), l = O(o.today), t = O([]);
2143
- R(() => o.today, (x) => {
2142
+ const o = m, a = i, r = N(/* @__PURE__ */ new Date()), l = N(o.today), t = N([]);
2143
+ q(() => o.today, (x) => {
2144
2144
  l.value = x;
2145
2145
  });
2146
- const c = P(() => {
2146
+ const c = Y(() => {
2147
2147
  let x = [];
2148
2148
  for (let I = 0; I < 14; I++)
2149
2149
  x.push(T(l.value).add(I, "day"));
2150
2150
  return x;
2151
- }), d = P(() => t.value.length > 0 && t.value.length < o.rooms.length), f = (x) => {
2151
+ }), d = Y(() => t.value.length > 0 && t.value.length < o.rooms.length), f = (x) => {
2152
2152
  T(x).isBefore(r.value) || (l.value = x, a("dateChanged", l.value));
2153
- }, y = (x) => {
2154
- let I = o.category.selectionPrices.find((Y) => T(Y.date).isSame(x.date));
2153
+ }, h = (x) => {
2154
+ let I = o.category.selectionPrices.find((P) => T(P.date).isSame(x.date));
2155
2155
  return I ? I.price : x.price;
2156
2156
  }, w = (x) => {
2157
2157
  t.value = x.target.checked ? o.rooms.map((I) => I.id) : [];
2158
- }, L = () => a("changeCategoryBulkPrices"), A = (x) => a("changeCategorySelectionPrice", x), M = (x) => a("changeCategoryUpgradePrice", x), S = (x) => a("tableAction", x), F = (x, I, Y) => a("changeRoomPrice", { price: x, roomId: I, roomName: Y });
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 });
2159
2159
  return (x, I) => {
2160
- var Y, oe;
2160
+ var P, oe;
2161
2161
  return x.loading ? (s(), _(Ke, { key: 1 })) : (s(), n("div", nl, [
2162
2162
  e("div", al, [
2163
2163
  e("div", il, [
@@ -2166,19 +2166,19 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2166
2166
  e("tbody", cl, [
2167
2167
  e("tr", null, [
2168
2168
  e("th", gl, [
2169
- p(Yo, {
2169
+ p(Po, {
2170
2170
  selectedDate: l.value,
2171
- onDateSelected: I[0] || (I[0] = (N) => f(N))
2171
+ onDateSelected: I[0] || (I[0] = (O) => f(O))
2172
2172
  }, null, 8, ["selectedDate"])
2173
2173
  ]),
2174
- (s(!0), n(k, null, $(c.value, (N, V) => (s(), n("th", {
2174
+ (s(!0), n(k, null, $(c.value, (O, V) => (s(), n("th", {
2175
2175
  scope: "col",
2176
2176
  key: V,
2177
2177
  class: "text-sm font-semibold text-gray-900 p-0"
2178
2178
  }, [
2179
2179
  p(sl, {
2180
2180
  class: "border-l border-gray-200 px-6 py-3",
2181
- day: N
2181
+ day: O
2182
2182
  }, null, 8, ["day"])
2183
2183
  ]))), 128))
2184
2184
  ]),
@@ -2189,10 +2189,10 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2189
2189
  loading: x.loading,
2190
2190
  class: "ml-4",
2191
2191
  size: "small",
2192
- onClick: L
2192
+ onClick: z
2193
2193
  }, {
2194
2194
  default: v(() => [
2195
- z(g(x.literals.changeInBulk), 1)
2195
+ L(g(x.literals.changeInBulk), 1)
2196
2196
  ]),
2197
2197
  _: 1
2198
2198
  }, 8, ["loading"])
@@ -2200,29 +2200,29 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2200
2200
  ]),
2201
2201
  x.type === "discounts" ? (s(), n("tr", ml, [
2202
2202
  e("td", fl, g(x.literals.pricesDiscount), 1),
2203
- (s(!0), n(k, null, $(x.category.selectionPrices, (N, V) => (s(), n("td", {
2203
+ (s(!0), n(k, null, $(x.category.selectionPrices, (O, V) => (s(), n("td", {
2204
2204
  key: V,
2205
2205
  class: "p-0"
2206
2206
  }, [
2207
2207
  p(le, {
2208
- onClick: (X) => A(N),
2208
+ onClick: (X) => A(O),
2209
2209
  class: "border-l border-gray-200 px-6 py-3 text-indigo-600 hover:text-indigo-400 font-bold cursor-pointer",
2210
- price: N,
2210
+ price: O,
2211
2211
  currency: x.currency.symbol,
2212
2212
  isBasePrice: !0
2213
2213
  }, null, 8, ["onClick", "price", "currency"])
2214
2214
  ]))), 128))
2215
2215
  ])) : b("", !0),
2216
- x.type === "prices" ? (s(), n("tr", yl, [
2217
- e("td", hl, g(x.literals.pricesSelection), 1),
2218
- (s(!0), n(k, null, $(x.category.selectionPrices, (N, V) => (s(), n("td", {
2216
+ x.type === "prices" ? (s(), n("tr", hl, [
2217
+ e("td", yl, g(x.literals.pricesSelection), 1),
2218
+ (s(!0), n(k, null, $(x.category.selectionPrices, (O, V) => (s(), n("td", {
2219
2219
  key: V,
2220
2220
  class: "p-0"
2221
2221
  }, [
2222
2222
  p(le, {
2223
- onClick: (X) => A(N),
2223
+ onClick: (X) => A(O),
2224
2224
  class: "border-l border-gray-200 px-6 py-3 text-indigo-600 hover:text-indigo-400 font-bold cursor-pointer",
2225
- price: N,
2225
+ price: O,
2226
2226
  currency: x.currency.symbol,
2227
2227
  isBasePrice: !0
2228
2228
  }, null, 8, ["onClick", "price", "currency"])
@@ -2230,14 +2230,14 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2230
2230
  ])) : b("", !0),
2231
2231
  x.type === "prices" ? (s(), n("tr", vl, [
2232
2232
  e("td", bl, g(x.literals.pricesUpgrade), 1),
2233
- (s(!0), n(k, null, $(x.category.upgradePrices, (N, V) => (s(), n("td", {
2233
+ (s(!0), n(k, null, $(x.category.upgradePrices, (O, V) => (s(), n("td", {
2234
2234
  key: V,
2235
2235
  class: "p-0"
2236
2236
  }, [
2237
2237
  p(le, {
2238
- onClick: (X) => M(N),
2238
+ onClick: (X) => M(O),
2239
2239
  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: N,
2240
+ price: O,
2241
2241
  currency: x.currency.symbol,
2242
2242
  isBasePrice: !0
2243
2243
  }, null, 8, ["onClick", "price", "currency"])
@@ -2245,13 +2245,13 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2245
2245
  ])) : b("", !0),
2246
2246
  e("tr", null, [
2247
2247
  e("th", wl, [
2248
- ((Y = t.value) == null ? void 0 : Y.length) > 0 && ((oe = x.actions) == null ? void 0 : oe.length) > 0 ? (s(), n("div", xl, [
2249
- (s(!0), n(k, null, $(x.actions, (N, V) => (s(), n("button", {
2250
- onClick: (X) => S({ action: N.id, items: t.value }),
2248
+ ((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 }),
2251
2251
  key: V,
2252
2252
  type: "button",
2253
2253
  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(N.name), 9, kl))), 128))
2254
+ }, g(O.name), 9, kl))), 128))
2255
2255
  ])) : b("", !0),
2256
2256
  e("span", null, g(x.literals.pricesSelection), 1)
2257
2257
  ])
@@ -2275,34 +2275,34 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2275
2275
  class: "bg-gray-100 py-2 pl-4 pr-3 text-left font-semibold text-gray-900"
2276
2276
  }, null, -1))
2277
2277
  ]),
2278
- (s(!0), n(k, null, $(x.rooms, (N) => (s(), n("tr", {
2279
- key: N.name,
2280
- class: h([{ "even:bg-gray-100": x.type === "prices", "odd:bg-gray-100": x.type === "discounts" }])
2278
+ (s(!0), n(k, null, $(x.rooms, (O) => (s(), n("tr", {
2279
+ key: O.name,
2280
+ class: y([{ "even:bg-gray-100": x.type === "prices", "odd:bg-gray-100": x.type === "discounts" }])
2281
2281
  }, [
2282
2282
  e("td", Ml, [
2283
2283
  t.value.length > 0 ? (s(), n("div", Dl)) : b("", !0),
2284
2284
  C(e("input", {
2285
2285
  type: "checkbox",
2286
2286
  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: N.name,
2287
+ value: O.name,
2288
2288
  "onUpdate:modelValue": I[1] || (I[1] = (V) => t.value = V)
2289
2289
  }, null, 8, jl), [
2290
2290
  [Ae, t.value]
2291
2291
  ]),
2292
- e("span", Tl, g(N.name), 1)
2292
+ e("span", Tl, g(O.name), 1)
2293
2293
  ]),
2294
- e("td", zl, g(N.building), 1),
2295
- e("td", Ll, g(N.floor), 1),
2296
- (s(!0), n(k, null, $(N.selectionPrices, (V, X) => (s(), n("td", {
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", {
2297
2297
  class: "p-0",
2298
2298
  key: X
2299
2299
  }, [
2300
2300
  p(le, {
2301
- onClick: (yd) => F(V, N.id, N.name),
2301
+ onClick: (hd) => F(V, O.id, O.name),
2302
2302
  class: "border-l border-gray-200 px-6 py-3 text-indigo-600 hover:text-indigo-400 cursor-pointer",
2303
2303
  price: V,
2304
2304
  currency: x.currency.symbol,
2305
- basePrice: y(V)
2305
+ basePrice: h(V)
2306
2306
  }, null, 8, ["onClick", "price", "currency", "basePrice"])
2307
2307
  ]))), 128))
2308
2308
  ], 2))), 128))
@@ -2314,10 +2314,10 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2314
2314
  ]));
2315
2315
  };
2316
2316
  }
2317
- }), Ol = { class: "chart-header flex flex-row items-center w-full justify-between" }, Al = { class: "text-sm font-medium text-gray-500 truncate mr-8" }, Yl = {
2317
+ }), 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
2318
  key: 0,
2319
2319
  class: "flex items-center gap-x-2 grow"
2320
- }, Pl = { class: "self-center ml-2" }, Il = { class: "self-center ml-2" }, Fl = { class: "self-center ml-2" }, Vl = { class: "hidden sm:flex items-center" }, ql = { class: "w-1/2 min-w-0 flex-1" }, Rl = ["max"], Hl = { class: "min-w-0 flex-1" }, Ul = ["max"], El = { class: "chart-content relative" }, Zl = /* @__PURE__ */ B({
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({
2321
2321
  __name: "uiChart",
2322
2322
  props: {
2323
2323
  labels: {},
@@ -2339,9 +2339,9 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2339
2339
  },
2340
2340
  emits: ["selectedRange", "chartUpdated", "dataPointSelection", "maximizeChart"],
2341
2341
  setup(m, { emit: i }) {
2342
- const o = i, a = O((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":"))), r = m;
2342
+ const o = i, a = N((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":"))), r = m;
2343
2343
  let l = Q(r.dates || { from: "", to: a });
2344
- R(() => r.dates, (M) => {
2344
+ q(() => r.dates, (M) => {
2345
2345
  M && (l = M);
2346
2346
  });
2347
2347
  let c = {
@@ -2402,16 +2402,16 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2402
2402
  }), r.type === "area" && (c.tooltip = { intersect: !0, shared: !1 });
2403
2403
  const d = () => (c.chart.stacked = r.stacked, { ...c, ...r.options, plotOptions: { bar: { horizontal: r.horizontal } } }), f = () => {
2404
2404
  l.from !== "" && l.to !== "" && T(l.from).isBefore(T(l.to)) && o("selectedRange", { range: l, chartId: r.id });
2405
- }, y = P(() => r.series), w = P(() => d()), L = () => o("chartUpdated"), A = (M, S, F) => {
2405
+ }, h = Y(() => r.series), w = Y(() => d()), z = () => o("chartUpdated"), A = (M, S, F) => {
2406
2406
  o("dataPointSelection", { id: r.id, chartContext: S, config: F, event: M });
2407
2407
  };
2408
2408
  return (M, S) => (s(), n(k, null, [
2409
2409
  C(e("div", {
2410
- class: h(["h-[" + M.height + "px]", "card chart apex-chart p-4 bg-white shadow rounded-lg overflow-hidden flex grow"])
2410
+ class: y(["h-[" + M.height + "px]", "card chart apex-chart p-4 bg-white shadow rounded-lg overflow-hidden flex grow"])
2411
2411
  }, [
2412
- e("div", Ol, [
2412
+ e("div", Nl, [
2413
2413
  e("div", Al, g(M.title), 1),
2414
- M.isNps && M.npsLiterals ? (s(), n("div", Yl, [
2414
+ M.isNps && M.npsLiterals ? (s(), n("div", Pl, [
2415
2415
  p(H, {
2416
2416
  size: "small",
2417
2417
  color: "red",
@@ -2423,7 +2423,7 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2423
2423
  loading: !1,
2424
2424
  color: "red"
2425
2425
  }, null, 8, ["icon"]),
2426
- e("span", Pl, g(M.npsLiterals.unhappy), 1)
2426
+ e("span", Yl, g(M.npsLiterals.unhappy), 1)
2427
2427
  ]),
2428
2428
  _: 1
2429
2429
  }),
@@ -2459,7 +2459,7 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2459
2459
  })
2460
2460
  ])) : b("", !0),
2461
2461
  e("div", Vl, [
2462
- e("div", ql, [
2462
+ e("div", Rl, [
2463
2463
  C(e("input", {
2464
2464
  type: "datetime-local",
2465
2465
  "onUpdate:modelValue": S[0] || (S[0] = (F) => u(l).from = F),
@@ -2468,7 +2468,7 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2468
2468
  name: "from",
2469
2469
  id: "from",
2470
2470
  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
- }, null, 40, Rl), [
2471
+ }, null, 40, ql), [
2472
2472
  [ee, u(l).from]
2473
2473
  ])
2474
2474
  ]),
@@ -2498,18 +2498,18 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2498
2498
  p(u(Ce), {
2499
2499
  class: "chart",
2500
2500
  type: M.type,
2501
- series: y.value,
2501
+ series: h.value,
2502
2502
  height: M.height,
2503
2503
  options: w.value,
2504
- onUpdated: L,
2505
- onMounted: L,
2504
+ onUpdated: z,
2505
+ onMounted: z,
2506
2506
  onDataPointSelection: A
2507
2507
  }, null, 8, ["type", "series", "height", "options"])
2508
2508
  ], 512), [
2509
2509
  [D, !M.empty]
2510
2510
  ]),
2511
2511
  C(e("div", {
2512
- class: h(["h-[" + M.height + "px]", "w-full flex items-center justify-center flex-col"])
2512
+ class: y(["h-[" + M.height + "px]", "w-full flex items-center justify-center flex-col"])
2513
2513
  }, [
2514
2514
  p(j, {
2515
2515
  icon: u(U),
@@ -2525,7 +2525,7 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2525
2525
  [D, !M.loading]
2526
2526
  ]),
2527
2527
  C(e("div", {
2528
- class: h(["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"])
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
2529
  }, S[4] || (S[4] = [
2530
2530
  e("div", {
2531
2531
  role: "status",
@@ -2578,7 +2578,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2578
2578
  },
2579
2579
  setup(m) {
2580
2580
  return (i, o) => (s(), n("div", {
2581
- class: h([
2581
+ class: y([
2582
2582
  { fixed: i.fixed },
2583
2583
  "load-screen h-full w-full top-0 left-0 z-[100] flex flex-col items-center justify-center bg-gray-50"
2584
2584
  ])
@@ -2621,11 +2621,11 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2621
2621
  },
2622
2622
  emits: ["changePage"],
2623
2623
  setup(m, { emit: i }) {
2624
- const o = i, a = m, r = O(3), l = P(
2624
+ const o = i, a = m, r = N(3), l = Y(
2625
2625
  () => Math.max(1, Number(a.current) - Number(r.value))
2626
- ), t = P(
2626
+ ), t = Y(
2627
2627
  () => Math.min(Number(a.current) + Number(r.value), Number(a.total))
2628
- ), c = P(() => {
2628
+ ), c = Y(() => {
2629
2629
  let d = [];
2630
2630
  for (let f = Number(l.value); f <= Number(t.value); f++)
2631
2631
  d.push(f);
@@ -2637,29 +2637,29 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2637
2637
  ]))) : (s(), n("div", Xl, [
2638
2638
  e("div", er, [
2639
2639
  e("a", tr, [
2640
- q(d.$slots, "previous")
2640
+ R(d.$slots, "previous")
2641
2641
  ]),
2642
2642
  e("a", sr, [
2643
- q(d.$slots, "next")
2643
+ R(d.$slots, "next")
2644
2644
  ])
2645
2645
  ]),
2646
2646
  e("div", or, [
2647
2647
  e("div", null, [
2648
2648
  e("p", lr, [
2649
- q(d.$slots, "showing"),
2649
+ R(d.$slots, "showing"),
2650
2650
  e("span", rr, g(d.current + " "), 1),
2651
- q(d.$slots, "of"),
2651
+ R(d.$slots, "of"),
2652
2652
  e("span", nr, g(d.total), 1)
2653
2653
  ])
2654
2654
  ]),
2655
2655
  e("div", null, [
2656
2656
  e("nav", ar, [
2657
2657
  C(e("button", {
2658
- onClick: f[0] || (f[0] = (y) => o("changePage", d.current - 1)),
2658
+ onClick: f[0] || (f[0] = (h) => o("changePage", d.current - 1)),
2659
2659
  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
2660
  }, [
2661
2661
  e("span", ir, [
2662
- q(d.$slots, "previous")
2662
+ R(d.$slots, "previous")
2663
2663
  ]),
2664
2664
  p(u(Je), {
2665
2665
  class: "h-5 w-5",
@@ -2668,20 +2668,20 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2668
2668
  ], 512), [
2669
2669
  [D, d.current !== 1]
2670
2670
  ]),
2671
- (s(!0), n(k, null, $(c.value, (y) => (s(), n("button", {
2672
- onClick: (w) => o("changePage", y),
2673
- key: y,
2671
+ (s(!0), n(k, null, $(c.value, (h) => (s(), n("button", {
2672
+ onClick: (w) => o("changePage", h),
2673
+ key: h,
2674
2674
  "aria-current": "page",
2675
- class: h([[
2676
- y === 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"
2675
+ 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"
2677
2677
  ], "relative inline-flex items-center px-4 py-2 border text-sm font-medium"])
2678
- }, g(y), 11, dr))), 128)),
2678
+ }, g(h), 11, dr))), 128)),
2679
2679
  C(e("button", {
2680
- onClick: f[1] || (f[1] = (y) => o("changePage", d.current + 1)),
2680
+ onClick: f[1] || (f[1] = (h) => o("changePage", d.current + 1)),
2681
2681
  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
2682
  }, [
2683
2683
  e("span", ur, [
2684
- q(d.$slots, "next")
2684
+ R(d.$slots, "next")
2685
2685
  ]),
2686
2686
  p(u(te), {
2687
2687
  class: "h-5 w-5",
@@ -2695,10 +2695,10 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2695
2695
  ])
2696
2696
  ]));
2697
2697
  }
2698
- }), pr = { class: "hidden md:flex md:flex-col sticky md:inset-y-0" }, mr = { class: "flex flex-col flex-grow overflow-y-auto" }, fr = { class: "grow flex flex-col" }, yr = {
2698
+ }), pr = { class: "hidden md:flex md:flex-col sticky md:inset-y-0" }, mr = { class: "flex flex-col flex-grow overflow-y-auto" }, fr = { class: "grow flex flex-col" }, hr = {
2699
2699
  class: "flex-1 space-y-1",
2700
2700
  "aria-label": "Sidebar"
2701
- }, hr = { key: 0 }, vr = ["onClick"], br = {
2701
+ }, yr = { key: 0 }, vr = ["onClick"], br = {
2702
2702
  key: 1,
2703
2703
  class: "text-left"
2704
2704
  }, wr = {
@@ -2728,7 +2728,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2728
2728
  return (a, r) => (s(), n("div", pr, [
2729
2729
  e("div", mr, [
2730
2730
  e("div", fr, [
2731
- e("nav", yr, [
2731
+ e("nav", hr, [
2732
2732
  a.loading ? (s(), n(k, { key: 1 }, $(5, (l) => e("div", $r, r[1] || (r[1] = [
2733
2733
  e("div", { class: "w-6 h-6 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 mr-4" }, null, -1),
2734
2734
  e("div", { class: "h-3 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 grow" }, null, -1)
@@ -2742,14 +2742,14 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2742
2742
  }, {
2743
2743
  default: v(({ open: t }) => [
2744
2744
  p(u(Z), {
2745
- class: h([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"])
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"])
2746
2746
  }, {
2747
2747
  default: v(() => [
2748
2748
  l.icon ? (s(), _(j, {
2749
2749
  key: 0,
2750
2750
  loading: a.loading,
2751
2751
  icon: l.icon,
2752
- class: h([
2752
+ class: y([
2753
2753
  l.current ? "text-white" : "text-gray-400 group-hover:text-gray-500",
2754
2754
  "mr-3 flex-shrink-0 h-6 w-6"
2755
2755
  ]),
@@ -2759,7 +2759,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2759
2759
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, null, -1)
2760
2760
  ]))) : (s(), n("span", wr, g(l.name), 1)),
2761
2761
  p(u(te), {
2762
- class: h([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"])
2762
+ 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
2763
  }, null, 8, ["class"])
2764
2764
  ]),
2765
2765
  _: 2
@@ -2769,7 +2769,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2769
2769
  (s(!0), n(k, null, $(l.children, (c) => (s(), _(u(Z), {
2770
2770
  onClick: (d) => o("sideBarClick", c.id),
2771
2771
  key: c.name,
2772
- class: h([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"])
2772
+ 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
2773
  }, {
2774
2774
  default: v(() => [
2775
2775
  a.loading ? (s(), n("div", _r)) : (s(), n("span", kr, g(c.name), 1))
@@ -2781,10 +2781,10 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2781
2781
  }, 1024)
2782
2782
  ]),
2783
2783
  _: 2
2784
- }, 1024)) : (s(), n("div", hr, [
2784
+ }, 1024)) : (s(), n("div", yr, [
2785
2785
  e("button", {
2786
2786
  onClick: (t) => o("sideBarClick", l.id),
2787
- class: h([
2787
+ class: y([
2788
2788
  l.current ? "bg-indigo-600 text-white" : "text-gray-600 hover:bg-gray-50 hover:text-gray-900",
2789
2789
  "group w-full flex items-center pl-2 py-2 text-sm font-medium rounded-md"
2790
2790
  ])
@@ -2793,7 +2793,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2793
2793
  key: 0,
2794
2794
  loading: a.loading,
2795
2795
  icon: l.icon,
2796
- class: h([
2796
+ class: y([
2797
2797
  l.current ? "text-white" : "text-gray-400 group-hover:text-gray-500",
2798
2798
  "mr-3 flex-shrink-0 h-6 w-6"
2799
2799
  ]),
@@ -2811,7 +2811,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2811
2811
  }), 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
2812
  key: 0,
2813
2813
  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 }, Nr = { class: "relative bg-white pt-5 px-4 sm:pt-6 sm:px-6 shadow rounded-lg overflow-hidden h-full pb-6" }, Or = { class: "absolute bg-gray-200 rounded-md p-3 animate-pulse" }, Xe = /* @__PURE__ */ B({
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({
2815
2815
  __name: "uiStats",
2816
2816
  props: {
2817
2817
  item: {},
@@ -2820,9 +2820,9 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2820
2820
  emits: ["statClick"],
2821
2821
  setup(m, { emit: i }) {
2822
2822
  return (o, a) => o.loading ? (s(), n("div", Lr, [
2823
- e("div", Nr, [
2823
+ e("div", Or, [
2824
2824
  e("dt", null, [
2825
- e("div", Or, [
2825
+ e("div", Nr, [
2826
2826
  p(j, {
2827
2827
  loading: o.loading,
2828
2828
  icon: o.item.icon,
@@ -2840,11 +2840,11 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2840
2840
  ])
2841
2841
  ])) : (s(), n("div", Sr, [
2842
2842
  e("div", {
2843
- class: h(["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 }])
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 }])
2844
2844
  }, [
2845
2845
  e("dt", null, [
2846
2846
  e("div", {
2847
- class: h(["absolute rounded-md p-3", {
2847
+ class: y(["absolute rounded-md p-3", {
2848
2848
  "bg-indigo-500": !o.item.color,
2849
2849
  "bg-green-500": o.item.color === "green",
2850
2850
  "bg-red-500": o.item.color === "red",
@@ -2866,7 +2866,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2866
2866
  o.item.explanation ? (s(), n("p", jr, g(o.item.explanation), 1)) : b("", !0),
2867
2867
  o.item.changeType ? (s(), n("p", {
2868
2868
  key: 1,
2869
- class: h([
2869
+ class: y([
2870
2870
  {
2871
2871
  "text-green-600": o.item.changeType === "increase",
2872
2872
  "text-red-600": o.item.changeType === "decrease",
@@ -2885,7 +2885,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2885
2885
  class: "self-center flex-shrink-0 h-3 w-3 text-red-500",
2886
2886
  "aria-hidden": "true"
2887
2887
  })) : b("", !0),
2888
- z(" " + g(o.item.change), 1)
2888
+ L(" " + g(o.item.change), 1)
2889
2889
  ], 2)) : b("", !0),
2890
2890
  C(e("div", Tr, [
2891
2891
  e("div", zr, [
@@ -2904,10 +2904,10 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2904
2904
  }), Ar = {
2905
2905
  key: 0,
2906
2906
  class: "overflow-hidden bg-white shadow sm:rounded-lg"
2907
- }, Yr = { class: "px-4 py-5 sm:px-6" }, Pr = { class: "text-lg font-medium leading-6 text-gray-900" }, Ir = { class: "mt-1 max-w-2xl text-sm text-gray-500" }, Fr = { class: "border-t border-gray-200" }, Vr = { class: "text-sm font-medium text-gray-500" }, qr = {
2907
+ }, Pr = { class: "px-4 py-5 sm:px-6" }, Yr = { class: "text-lg font-medium leading-6 text-gray-900" }, Ir = { class: "mt-1 max-w-2xl text-sm text-gray-500" }, Fr = { class: "border-t border-gray-200" }, Vr = { class: "text-sm font-medium text-gray-500" }, Rr = {
2908
2908
  key: 0,
2909
2909
  class: "mt-1 text-sm text-gray-900 sm:col-span-2 sm:mt-0 break-normal"
2910
- }, Rr = ["onClick"], Hr = {
2910
+ }, qr = ["onClick"], Hr = {
2911
2911
  key: 2,
2912
2912
  class: "mt-1 text-sm text-gray-900 sm:col-span-2 sm:mt-0 break-words"
2913
2913
  }, Ur = {
@@ -2929,7 +2929,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2929
2929
  e("dl", null, [
2930
2930
  (s(), n(k, null, $(5, (r) => e("div", {
2931
2931
  key: r,
2932
- class: h(["px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6", [r % 2 === 0 ? "bg-gray-50" : "bg-white"]])
2932
+ class: y(["px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6", [r % 2 === 0 ? "bg-gray-50" : "bg-white"]])
2933
2933
  }, a[0] || (a[0] = [
2934
2934
  e("dt", { class: "text-sm font-medium text-gray-500" }, [
2935
2935
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-12" })
@@ -2941,18 +2941,18 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2941
2941
  ])
2942
2942
  ])
2943
2943
  ])) : (s(), n("div", Ar, [
2944
- e("div", Yr, [
2945
- e("h3", Pr, g(o.title), 1),
2944
+ e("div", Pr, [
2945
+ e("h3", Yr, g(o.title), 1),
2946
2946
  e("p", Ir, g(o.subtitle), 1)
2947
2947
  ]),
2948
2948
  e("div", Fr, [
2949
2949
  e("dl", null, [
2950
2950
  (s(!0), n(k, null, $(o.items, (r, l) => (s(), n("div", {
2951
2951
  key: l,
2952
- class: h(["px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6", [l % 2 === 0 ? "bg-gray-50" : "bg-white"]])
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"]])
2953
2953
  }, [
2954
2954
  e("dt", Vr, g(r.title), 1),
2955
- r.type === "tags" ? (s(), n("dd", qr, [
2955
+ r.type === "tags" ? (s(), n("dd", Rr, [
2956
2956
  (s(!0), n(k, null, $(r.tags, (t, c) => (s(), _(H, {
2957
2957
  loading: o.loading,
2958
2958
  key: c,
@@ -2960,7 +2960,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2960
2960
  class: "mr-2 mb-2"
2961
2961
  }, {
2962
2962
  default: v(() => [
2963
- z(g(t.text), 1)
2963
+ L(g(t.text), 1)
2964
2964
  ]),
2965
2965
  _: 2
2966
2966
  }, 1032, ["loading", "color"]))), 128))
@@ -2968,7 +2968,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2968
2968
  key: 1,
2969
2969
  class: "mt-1 text-sm text-indigo-600 hover:text-indigo-400 sm:col-span-2 sm:mt-0 cursor-pointer",
2970
2970
  onClick: (t) => o.$emit("itemClicked", r.emits)
2971
- }, g(r.text), 9, Rr)) : (s(), n("dd", Hr, g(r.text), 1))
2971
+ }, g(r.text), 9, qr)) : (s(), n("dd", Hr, g(r.text), 1))
2972
2972
  ], 2))), 128))
2973
2973
  ])
2974
2974
  ])
@@ -3019,7 +3019,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3019
3019
  }, cn = { class: "divide-y divide-gray-200 bg-white" }, gn = {
3020
3020
  key: 0,
3021
3021
  class: "absolute inset-y-0 left-0 w-0.5 bg-indigo-600"
3022
- }, pn = ["value"], mn = ["onClick"], fn = ["href"], yn = { key: 3 }, hn = /* @__PURE__ */ B({
3022
+ }, pn = ["value"], mn = ["onClick"], fn = ["href"], hn = { key: 3 }, yn = /* @__PURE__ */ B({
3023
3023
  __name: "uiTable",
3024
3024
  props: {
3025
3025
  resetSelected: { type: Boolean, default: !1 },
@@ -3032,19 +3032,19 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3032
3032
  },
3033
3033
  emits: ["tableAction", "orderBy", "customEmit", "selectedItemsDeleted"],
3034
3034
  setup(m, { emit: i }) {
3035
- let o = O([]), a = O(""), r = O(!1);
3036
- const l = i, t = m, c = P(
3035
+ let o = N([]), a = N(""), r = N(!1);
3036
+ const l = i, t = m, c = Y(
3037
3037
  () => o.value.length > 0 && o.value.length < t.items.length
3038
- ), d = (w, L) => {
3039
- a.value !== w && L && (a.value = w), L || (a.value = void 0);
3038
+ ), d = (w, z) => {
3039
+ a.value !== w && z && (a.value = w), z || (a.value = void 0);
3040
3040
  }, f = (w) => {
3041
- o.value = w.target.checked ? t.items.map((L) => L.id) : [];
3042
- }, y = (w) => {
3041
+ o.value = w.target.checked ? t.items.map((z) => z.id) : [];
3042
+ }, h = (w) => {
3043
3043
  l("customEmit", w);
3044
3044
  };
3045
- return R(() => t.resetSelected, (w) => {
3045
+ return q(() => t.resetSelected, (w) => {
3046
3046
  r.value = w, w && r.value && (o.value = [], r.value = !w, l("selectedItemsDeleted"));
3047
- }), (w, L) => {
3047
+ }), (w, z) => {
3048
3048
  var A, M;
3049
3049
  return w.loading ? (s(), _(Ke, { key: 1 })) : (s(), n("div", Qr, [
3050
3050
  e("div", Kr, [
@@ -3064,7 +3064,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3064
3064
  e("tr", null, [
3065
3065
  e("th", {
3066
3066
  scope: "col",
3067
- class: h([w.actions ? "px-6 sm:px-8" : "px-3", "relative"])
3067
+ class: y([w.actions ? "px-6 sm:px-8" : "px-3", "relative"])
3068
3068
  }, [
3069
3069
  w.actions ? (s(), n("input", {
3070
3070
  key: 0,
@@ -3095,7 +3095,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3095
3095
  }, [
3096
3096
  e("span", null, g(S.name), 1),
3097
3097
  e("span", {
3098
- class: h([[
3098
+ class: y([[
3099
3099
  S.value === w.orderedBy ? "bg-indigo-600 text-white group-hover:bg-gray-300" : "text-gray-400 group-hover:visible group-focus:visible"
3100
3100
  ], "ml-2 flex-none rounded group-hover:bg-indigo-200 group-hover:text-white"])
3101
3101
  }, [
@@ -3116,18 +3116,18 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3116
3116
  var x, I;
3117
3117
  return s(), n("tr", {
3118
3118
  key: S.id,
3119
- class: h([
3119
+ class: y([
3120
3120
  u(o).includes(S.id) && "bg-gray-50",
3121
3121
  F % 2 === 0 ? void 0 : "bg-gray-50"
3122
3122
  ])
3123
3123
  }, [
3124
3124
  e("td", {
3125
- class: h([((x = w.actions) == null ? void 0 : x.length) > 0 ? "w-2" : "w-0", "relative"])
3125
+ class: y([((x = w.actions) == null ? void 0 : x.length) > 0 ? "w-2" : "w-0", "relative"])
3126
3126
  }, [
3127
3127
  u(o).includes(S.id) ? (s(), n("div", gn)) : b("", !0),
3128
3128
  ((I = w.actions) == null ? void 0 : I.length) > 0 ? C((s(), n("input", {
3129
3129
  key: 1,
3130
- "onUpdate:modelValue": L[0] || (L[0] = (Y) => Ye(o) ? o.value = Y : o = Y),
3130
+ "onUpdate:modelValue": z[0] || (z[0] = (P) => Pe(o) ? o.value = P : o = P),
3131
3131
  value: S.id,
3132
3132
  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
3133
  type: "checkbox"
@@ -3135,31 +3135,31 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3135
3135
  [Ae, u(o)]
3136
3136
  ]) : b("", !0)
3137
3137
  ], 2),
3138
- (s(!0), n(k, null, $(S.row, (Y, oe) => (s(), n("td", {
3138
+ (s(!0), n(k, null, $(S.row, (P, oe) => (s(), n("td", {
3139
3139
  key: oe,
3140
- class: h([
3140
+ class: y([
3141
3141
  "whitespace-nowrap py-4 pr-3 text-sm",
3142
3142
  u(o).includes(S.id) ? "text-indigo-600" : "text-gray-900"
3143
3143
  ])
3144
3144
  }, [
3145
- typeof Y == "object" && Y.type === "tag" ? (s(), _(H, {
3145
+ typeof P == "object" && P.type === "tag" ? (s(), _(H, {
3146
3146
  key: 0,
3147
3147
  loading: w.loading,
3148
- color: Y.color
3148
+ color: P.color
3149
3149
  }, {
3150
3150
  default: v(() => [
3151
- z(g(Y.content), 1)
3151
+ L(g(P.content), 1)
3152
3152
  ]),
3153
3153
  _: 2
3154
- }, 1032, ["loading", "color"])) : typeof Y == "object" && Y.type === "link" ? (s(), n("span", {
3154
+ }, 1032, ["loading", "color"])) : typeof P == "object" && P.type === "link" ? (s(), n("span", {
3155
3155
  key: 1,
3156
3156
  class: "text-indigo-600 hover:text-indigo-400 cursor-pointer",
3157
- onClick: (N) => y(Y)
3158
- }, g(Y.content), 9, mn)) : typeof Y == "object" && Y.type === "href" ? (s(), n("a", {
3157
+ onClick: (O) => h(P)
3158
+ }, g(P.content), 9, mn)) : typeof P == "object" && P.type === "href" ? (s(), n("a", {
3159
3159
  key: 2,
3160
3160
  class: "text-indigo-600 hover:text-indigo-400 cursor-pointer",
3161
- href: Y.href
3162
- }, g(Y.content), 9, fn)) : (s(), n("span", yn, g(Y), 1))
3161
+ href: P.href
3162
+ }, g(P.content), 9, fn)) : (s(), n("span", hn, g(P), 1))
3163
3163
  ], 2))), 128))
3164
3164
  ], 2);
3165
3165
  }), 128))
@@ -3206,16 +3206,16 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3206
3206
  (s(!0), n(k, null, $(r.tabs, (t) => (s(), n("a", {
3207
3207
  key: t.name,
3208
3208
  onClick: (c) => o("tabClicked", t.id),
3209
- class: h([
3209
+ class: y([
3210
3210
  t.current ? "border-indigo-500 text-indigo-600" : "border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-200",
3211
3211
  "whitespace-nowrap flex py-4 px-1 border-b-2 font-medium text-sm cursor-pointer"
3212
3212
  ]),
3213
3213
  "aria-current": t.current ? "page" : void 0
3214
3214
  }, [
3215
- z(g(t.name) + " ", 1),
3215
+ L(g(t.name) + " ", 1),
3216
3216
  t.count ? (s(), n("span", {
3217
3217
  key: 0,
3218
- class: h([
3218
+ class: y([
3219
3219
  t.current ? "bg-indigo-100 text-indigo-600" : "bg-gray-100 text-gray-900",
3220
3220
  "hidden ml-3 py-0.5 px-2.5 rounded-full text-xs font-medium md:inline-block"
3221
3221
  ])
@@ -3233,16 +3233,16 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3233
3233
  key: 0,
3234
3234
  class: "absolute left-4 top-4 -ml-px h-full w-0.5 bg-gray-200",
3235
3235
  "aria-hidden": "true"
3236
- }, Tn = { class: "relative flex space-x-3" }, zn = { class: "min-w-0 flex-1 pt-1.5 flex justify-between space-x-4 items-center" }, Ln = { class: "text-sm text-gray-500" }, Nn = ["onClick"], On = { class: "text-right text-sm whitespace-nowrap text-gray-500" }, An = ["datetime"], Yn = {
3236
+ }, Tn = { class: "relative flex space-x-3" }, zn = { class: "min-w-0 flex-1 pt-1.5 flex justify-between space-x-4 items-center" }, Ln = { class: "text-sm text-gray-500" }, On = ["onClick"], Nn = { class: "text-right text-sm whitespace-nowrap text-gray-500" }, An = ["datetime"], Pn = {
3237
3237
  key: 1,
3238
3238
  class: "bg-gray-50 px-4 py-4 sm:px-6 z-10"
3239
- }, Pn = { class: "text-sm" }, In = {
3239
+ }, Yn = { class: "text-sm" }, In = {
3240
3240
  key: 2,
3241
3241
  class: "h-full w-full flex items-center justify-center flex-col mb-5"
3242
3242
  }, Fn = {
3243
3243
  key: 1,
3244
3244
  class: "bg-white overflow-hidden shadow rounded-lg"
3245
- }, Vn = { class: "px-4 py-5 sm:p-6 animate-pulse" }, qn = { class: "flow-root" }, Rn = {
3245
+ }, Vn = { class: "px-4 py-5 sm:p-6 animate-pulse" }, Rn = { class: "flow-root" }, qn = {
3246
3246
  class: "-mb-8",
3247
3247
  role: "list"
3248
3248
  }, Hn = { class: "relative pb-8" }, Un = {
@@ -3268,8 +3268,8 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3268
3268
  ])
3269
3269
  ], -1)),
3270
3270
  e("div", Vn, [
3271
- e("div", qn, [
3272
- e("ul", Rn, [
3271
+ e("div", Rn, [
3272
+ e("ul", qn, [
3273
3273
  (s(), n(k, null, $(10, (t, c) => e("li", { key: c }, [
3274
3274
  e("div", Hn, [
3275
3275
  t !== 10 ? (s(), n("span", Un)) : b("", !0),
@@ -3286,7 +3286,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3286
3286
  ], -1))
3287
3287
  ])) : (s(), n("div", {
3288
3288
  key: 0,
3289
- class: h(["h-[" + r.height + "px]", "bg-white overflow-hidden shadow rounded-lg"])
3289
+ class: y(["h-[" + r.height + "px]", "bg-white overflow-hidden shadow rounded-lg"])
3290
3290
  }, [
3291
3291
  e("div", Cn, [
3292
3292
  e("h1", Sn, g(r.name), 1)
@@ -3307,7 +3307,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3307
3307
  e("div", Tn, [
3308
3308
  e("div", null, [
3309
3309
  e("span", {
3310
- class: h([(t == null ? void 0 : t.iconBackground) || "bg-indigo-600", "h-8 w-8 rounded-full flex items-center justify-center ring-4 ring-white"])
3310
+ class: y([(t == null ? void 0 : t.iconBackground) || "bg-indigo-600", "h-8 w-8 rounded-full flex items-center justify-center ring-4 ring-white"])
3311
3311
  }, [
3312
3312
  p(j, {
3313
3313
  loading: r.loading,
@@ -3324,11 +3324,11 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3324
3324
  e("a", {
3325
3325
  onClick: (f) => r.$emit("timelineEventClicked", t.linkId),
3326
3326
  class: "font-medium text-indigo-600 hover:text-indigo-800 cursor-pointer"
3327
- }, g(t == null ? void 0 : t.target), 9, Nn),
3328
- z(" " + g(t == null ? void 0 : t.content), 1)
3327
+ }, g(t == null ? void 0 : t.target), 9, On),
3328
+ L(" " + g(t == null ? void 0 : t.content), 1)
3329
3329
  ])
3330
3330
  ]),
3331
- e("div", On, [
3331
+ e("div", Nn, [
3332
3332
  e("time", {
3333
3333
  datetime: t == null ? void 0 : t.datetime
3334
3334
  }, g(t == null ? void 0 : t.date), 9, An)
@@ -3343,8 +3343,8 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3343
3343
  })
3344
3344
  ])
3345
3345
  ])) : b("", !0),
3346
- a.items ? (s(), n("div", Yn, [
3347
- e("div", Pn, [
3346
+ a.items ? (s(), n("div", Pn, [
3347
+ e("div", Yn, [
3348
3348
  e("a", {
3349
3349
  class: "cursor-pointer font-medium text-indigo-600 hover:text-indigo-500",
3350
3350
  onClick: l[0] || (l[0] = (t) => r.$emit("timelineFooterClicked", r.timeline.id))
@@ -3414,13 +3414,13 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3414
3414
  ]),
3415
3415
  e("div", Kn, [
3416
3416
  e("div", Xn, [
3417
- p(u(ye), {
3417
+ p(u(he), {
3418
3418
  as: "div",
3419
3419
  class: "ml-3 relative"
3420
3420
  }, {
3421
3421
  default: v(() => [
3422
3422
  e("div", null, [
3423
- C(p(u(he), { class: "bg-white rounded-full flex text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 relative" }, {
3423
+ C(p(u(ye), { class: "bg-white rounded-full flex text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 relative" }, {
3424
3424
  default: v(() => [
3425
3425
  C(e("div", ea, a[2] || (a[2] = [
3426
3426
  e("span", { class: "animate-ping absolute inline-flex h-4 w-4 bg-red-500 rounded-full opacity-75" }, null, -1)
@@ -3454,7 +3454,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3454
3454
  default: v(({ active: t }) => [
3455
3455
  e("p", {
3456
3456
  onClick: (c) => o.$emit("topBarClick", l.id),
3457
- class: h(["cursor-pointer", [
3457
+ class: y(["cursor-pointer", [
3458
3458
  t ? "bg-gray-100" : "",
3459
3459
  "block px-4 py-2 text-sm text-gray-700"
3460
3460
  ]])
@@ -3481,7 +3481,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3481
3481
  (s(!0), n(k, null, $(o.navigation, (l) => (s(), _(u(Z), {
3482
3482
  as: "template",
3483
3483
  key: l.name,
3484
- class: h(["block pl-3 pr-4 py-2 border-l-4 text-base font-medium sm:pl-5 sm:pr-6", {
3484
+ class: y(["block pl-3 pr-4 py-2 border-l-4 text-base font-medium sm:pl-5 sm:pr-6", {
3485
3485
  "bg-indigo-50 border-indigo-500 text-indigo-700": l.current && l.current === !0,
3486
3486
  "border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700": !l.current
3487
3487
  }])
@@ -3529,36 +3529,36 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3529
3529
  _: 1
3530
3530
  }));
3531
3531
  }
3532
- }), fa = { class: "chart-selector flex flex-row items-center justify-center" }, ya = /* @__PURE__ */ B({
3532
+ }), fa = { class: "chart-selector flex flex-row items-center justify-center" }, ha = /* @__PURE__ */ B({
3533
3533
  __name: "RangeSelector",
3534
3534
  props: { range: { type: String } },
3535
3535
  emits: ["rangeSelected"],
3536
3536
  setup(m, { emit: i }) {
3537
3537
  const o = i, a = m;
3538
- let r = P(() => a.range);
3538
+ let r = Y(() => a.range);
3539
3539
  const l = (t) => {
3540
3540
  r = t, o("rangeSelected", t);
3541
3541
  };
3542
3542
  return (t, c) => (s(), n("ul", fa, [
3543
3543
  e("li", {
3544
- class: h({ selected: u(r) === "24h" }),
3544
+ class: y({ selected: u(r) === "24h" }),
3545
3545
  onClick: c[0] || (c[0] = (d) => l("24h"))
3546
3546
  }, " 24H ", 2),
3547
3547
  e("li", {
3548
- class: h({ selected: u(r) === "7d" }),
3548
+ class: y({ selected: u(r) === "7d" }),
3549
3549
  onClick: c[1] || (c[1] = (d) => l("7d"))
3550
3550
  }, "7D", 2),
3551
3551
  e("li", {
3552
- class: h({ selected: u(r) === "1m" }),
3552
+ class: y({ selected: u(r) === "1m" }),
3553
3553
  onClick: c[2] || (c[2] = (d) => l("1m"))
3554
3554
  }, "1M", 2),
3555
3555
  e("li", {
3556
- class: h({ selected: u(r) === "3m" }),
3556
+ class: y({ selected: u(r) === "3m" }),
3557
3557
  onClick: c[3] || (c[3] = (d) => l("3m"))
3558
3558
  }, "3M", 2)
3559
3559
  ]));
3560
3560
  }
3561
- }), ha = { 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({
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({
3562
3562
  __name: "uiFunnelChartV2",
3563
3563
  props: {
3564
3564
  labels: {},
@@ -3596,8 +3596,8 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3596
3596
  ],
3597
3597
  dataLabels: {
3598
3598
  enabled: !0,
3599
- formatter: function(f, y) {
3600
- return y.w.globals.labels[y.dataPointIndex] + ": " + f;
3599
+ formatter: function(f, h) {
3600
+ return h.w.globals.labels[h.dataPointIndex] + ": " + f;
3601
3601
  }
3602
3602
  },
3603
3603
  markers: {
@@ -3616,18 +3616,18 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3616
3616
  }
3617
3617
  }
3618
3618
  };
3619
- const l = P(() => ({ ...a.options, ...r })), t = P(() => a.series), c = () => o("chartUpdated"), d = (f, y, w) => {
3620
- o("dataPointSelection", { id: a.id, chartContext: y, config: w, event: f });
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 });
3621
3621
  };
3622
- return (f, y) => (s(), n(k, null, [
3622
+ return (f, h) => (s(), n(k, null, [
3623
3623
  C(e("div", {
3624
- class: h(["h-[" + f.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow"])
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"])
3625
3625
  }, [
3626
- e("div", ha, [
3626
+ e("div", ya, [
3627
3627
  e("div", va, g(f.title), 1),
3628
- p(ya, {
3628
+ p(ha, {
3629
3629
  range: f.range,
3630
- onRangeSelected: y[0] || (y[0] = (w) => f.$emit("selectedRange", { range: w, chartId: f.id }))
3630
+ onRangeSelected: h[0] || (h[0] = (w) => f.$emit("selectedRange", { range: w, chartId: f.id }))
3631
3631
  }, null, 8, ["range"])
3632
3632
  ]),
3633
3633
  C(e("div", ba, [
@@ -3651,14 +3651,14 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3651
3651
  loading: !1,
3652
3652
  size: "huge"
3653
3653
  }, null, 8, ["icon"]),
3654
- y[1] || (y[1] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1))
3654
+ h[1] || (h[1] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1))
3655
3655
  ], 512), [
3656
3656
  [D, f.empty]
3657
3657
  ])
3658
3658
  ], 2), [
3659
3659
  [D, !f.loading]
3660
3660
  ]),
3661
- C(e("div", xa, y[2] || (y[2] = [
3661
+ C(e("div", xa, h[2] || (h[2] = [
3662
3662
  e("div", {
3663
3663
  role: "status",
3664
3664
  class: "w-full animate-pulse h-full flex flex-col"
@@ -3716,7 +3716,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3716
3716
  onClick: (l) => i.$emit("action", a.action)
3717
3717
  }, {
3718
3718
  default: v(() => [
3719
- z(g(a.text), 1)
3719
+ L(g(a.text), 1)
3720
3720
  ]),
3721
3721
  _: 2
3722
3722
  }, 1032, ["onClick"]))), 128)),
@@ -3729,7 +3729,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3729
3729
  ])
3730
3730
  ]));
3731
3731
  }
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" }, Na = { class: "mt-1" }, Oa = { class: "text-sm text-indigo-300" }, Aa = { class: "relative flex-1 px-4 py-6 sm:px-6" }, Ya = /* @__PURE__ */ B({
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({
3733
3733
  __name: "uiRightSidebar",
3734
3734
  props: {
3735
3735
  title: {},
@@ -3768,9 +3768,9 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3768
3768
  e("div", ja, [
3769
3769
  e("div", Ta, [
3770
3770
  e("div", za, [
3771
- p(u(Re), { class: "text-base font-semibold leading-6 text-white" }, {
3771
+ p(u(qe), { class: "text-base font-semibold leading-6 text-white" }, {
3772
3772
  default: v(() => [
3773
- z(g(o.title), 1)
3773
+ L(g(o.title), 1)
3774
3774
  ]),
3775
3775
  _: 1
3776
3776
  }),
@@ -3789,12 +3789,12 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3789
3789
  ])
3790
3790
  ])
3791
3791
  ]),
3792
- e("div", Na, [
3793
- e("p", Oa, g(o.description), 1)
3792
+ e("div", Oa, [
3793
+ e("p", Na, g(o.description), 1)
3794
3794
  ])
3795
3795
  ]),
3796
3796
  e("div", Aa, [
3797
- q(o.$slots, "default")
3797
+ R(o.$slots, "default")
3798
3798
  ])
3799
3799
  ])
3800
3800
  ]),
@@ -3813,11 +3813,11 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3813
3813
  _: 3
3814
3814
  }, 8, ["show"]));
3815
3815
  }
3816
- }), Pa = { class: "uiGallery" }, Ia = {
3816
+ }), Ya = { class: "uiGallery" }, Ia = {
3817
3817
  key: 1,
3818
3818
  role: "list",
3819
3819
  class: "grid grid-cols-2 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-4 lg:grid-cols-6"
3820
- }, Fa = { class: "group aspect-h-7 aspect-w-10 block w-full overflow-hidden rounded-lg bg-gray-100 focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 focus-within:ring-offset-gray-100" }, Va = ["src"], qa = ["onClick"], Ra = { class: "pointer-events-none mt-2 block truncate text-sm font-medium text-gray-900" }, Ha = { class: "flex items-center justify-between" }, Ua = { class: "pointer-events-none block text-sm font-medium text-gray-500" }, Ea = {
3820
+ }, Fa = { class: "group aspect-h-7 aspect-w-10 block w-full overflow-hidden rounded-lg bg-gray-100 focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 focus-within:ring-offset-gray-100" }, Va = ["src"], Ra = ["onClick"], qa = { class: "pointer-events-none mt-2 block truncate text-sm font-medium text-gray-900" }, Ha = { class: "flex items-center justify-between" }, Ua = { class: "pointer-events-none block text-sm font-medium text-gray-500" }, Ea = {
3821
3821
  key: 2,
3822
3822
  role: "list",
3823
3823
  class: "grid grid-cols-2 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-4 lg:grid-cols-6"
@@ -3831,10 +3831,10 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3831
3831
  },
3832
3832
  emits: ["modalAction", "deleteImage", "imgClicked"],
3833
3833
  setup(m, { emit: i }) {
3834
- const o = i, a = O(!1), r = (l) => {
3834
+ const o = i, a = N(!1), r = (l) => {
3835
3835
  a.value = !1, o("modalAction", l);
3836
3836
  };
3837
- return (l, t) => (s(), n("div", Pa, [
3837
+ return (l, t) => (s(), n("div", Ya, [
3838
3838
  l.loading ? b("", !0) : (s(), _(Qe, {
3839
3839
  key: 0,
3840
3840
  open: a.value,
@@ -3870,9 +3870,9 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3870
3870
  type: "button",
3871
3871
  class: "absolute inset-0 focus:outline-none",
3872
3872
  onClick: (d) => l.$emit("imgClicked", c)
3873
- }, null, 8, qa)
3873
+ }, null, 8, Ra)
3874
3874
  ]),
3875
- e("p", Ra, g(c.title), 1),
3875
+ e("p", qa, g(c.title), 1),
3876
3876
  e("div", Ha, [
3877
3877
  e("p", Ua, g(c.size), 1),
3878
3878
  p(j, {
@@ -3894,7 +3894,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3894
3894
  size: "small"
3895
3895
  }, {
3896
3896
  default: v(() => [
3897
- z(g(l.literals.deleteAllImages), 1)
3897
+ L(g(l.literals.deleteAllImages), 1)
3898
3898
  ]),
3899
3899
  _: 1
3900
3900
  })) : b("", !0)
@@ -3912,8 +3912,8 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3912
3912
  emits: ["dragAndDropUpdated"],
3913
3913
  setup(m, { emit: i }) {
3914
3914
  const o = i, a = m;
3915
- let r = O(a.elements);
3916
- R(() => a.elements, (t) => {
3915
+ let r = N(a.elements);
3916
+ q(() => a.elements, (t) => {
3917
3917
  r.value = t;
3918
3918
  });
3919
3919
  const l = (t) => {
@@ -3925,7 +3925,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3925
3925
  key: 0,
3926
3926
  modelValue: u(r),
3927
3927
  "onUpdate:modelValue": [
3928
- c[0] || (c[0] = (d) => Ye(r) ? r.value = d : r = d),
3928
+ c[0] || (c[0] = (d) => Pe(r) ? r.value = d : r = d),
3929
3929
  c[1] || (c[1] = (d) => l(d))
3930
3930
  ]
3931
3931
  }, {
@@ -3972,9 +3972,9 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3972
3972
  },
3973
3973
  emits: ["selectedRange", "chartUpdated", "dataPointSelection", "maximizeChart"],
3974
3974
  setup(m, { emit: i }) {
3975
- const o = i, a = m, r = O((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":")));
3975
+ const o = i, a = m, r = N((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":")));
3976
3976
  let l = Q(a.dates || { from: "", to: r });
3977
- R(() => a.dates, (A) => {
3977
+ q(() => a.dates, (A) => {
3978
3978
  A && (l = A);
3979
3979
  });
3980
3980
  let t = {
@@ -4009,14 +4009,14 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4009
4009
  }
4010
4010
  }
4011
4011
  };
4012
- const c = () => ({ ...t, ...a.options }), d = P(() => a.series), f = P(() => c()), y = () => o("chartUpdated"), w = (A, M, S) => {
4012
+ const c = () => ({ ...t, ...a.options }), d = Y(() => a.series), f = Y(() => c()), h = () => o("chartUpdated"), w = (A, M, S) => {
4013
4013
  o("dataPointSelection", { id: a.id, chartContext: M, config: S, event: A });
4014
- }, L = () => {
4014
+ }, z = () => {
4015
4015
  l.from !== "" && l.to !== "" && T(l.from).isBefore(T(l.to)) && o("selectedRange", { range: l, chartId: a.id });
4016
4016
  };
4017
4017
  return (A, M) => (s(), n(k, null, [
4018
4018
  C(e("div", {
4019
- class: h(["h-[" + A.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow"])
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"])
4020
4020
  }, [
4021
4021
  e("div", si, [
4022
4022
  e("div", oi, g(A.title), 1),
@@ -4026,7 +4026,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4026
4026
  type: "datetime-local",
4027
4027
  "onUpdate:modelValue": M[0] || (M[0] = (S) => u(l).from = S),
4028
4028
  max: r.value.toString(),
4029
- onChange: L,
4029
+ onChange: z,
4030
4030
  name: "from",
4031
4031
  id: "from",
4032
4032
  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"
@@ -4039,7 +4039,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4039
4039
  type: "datetime-local",
4040
4040
  "onUpdate:modelValue": M[1] || (M[1] = (S) => u(l).to = S),
4041
4041
  max: r.value.toString(),
4042
- onChange: L,
4042
+ onChange: z,
4043
4043
  name: "to",
4044
4044
  id: "to",
4045
4045
  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"
@@ -4063,8 +4063,8 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4063
4063
  series: d.value,
4064
4064
  options: f.value,
4065
4065
  height: A.height - 80,
4066
- onUpdated: y,
4067
- onMounted: y,
4066
+ onUpdated: h,
4067
+ onMounted: h,
4068
4068
  onDataPointSelection: w
4069
4069
  }, null, 8, ["series", "options", "height"])
4070
4070
  ], 512), [
@@ -4136,10 +4136,10 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4136
4136
  },
4137
4137
  emits: ["uiDateRangeButtonClicked"],
4138
4138
  setup(m, { emit: i }) {
4139
- const o = m, a = O((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":")));
4139
+ const o = m, a = N((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":")));
4140
4140
  let r = Q(o.values || { from: "", to: a });
4141
4141
  const l = i;
4142
- R(() => o.values, (c) => {
4142
+ q(() => o.values, (c) => {
4143
4143
  c && (r = c);
4144
4144
  });
4145
4145
  const t = () => {
@@ -4156,7 +4156,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4156
4156
  }),
4157
4157
  p(J, { loading: !0 }, {
4158
4158
  default: v(() => d[2] || (d[2] = [
4159
- z("Search")
4159
+ L("Search")
4160
4160
  ])),
4161
4161
  _: 1
4162
4162
  })
@@ -4177,7 +4177,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4177
4177
  p(E, {
4178
4178
  type: "datetime-local",
4179
4179
  loading: !1,
4180
- class: h([{ "mt-6": c.label }]),
4180
+ class: y([{ "mt-6": c.label }]),
4181
4181
  addOn: c.literals.to,
4182
4182
  name: `dateTo_${c.id}`,
4183
4183
  color: c.color,
@@ -4192,17 +4192,17 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4192
4192
  disabled: c.disabled,
4193
4193
  color: "primary",
4194
4194
  loading: !1,
4195
- class: h([{ "mt-6": c.label }, "h-10"]),
4195
+ class: y([{ "mt-6": c.label }, "h-10"]),
4196
4196
  onClick: t
4197
4197
  }, {
4198
4198
  default: v(() => [
4199
- z(g(c.literals.search), 1)
4199
+ L(g(c.literals.search), 1)
4200
4200
  ]),
4201
4201
  _: 1
4202
4202
  }, 8, ["disabled", "class"])
4203
4203
  ]));
4204
4204
  }
4205
- }), yi = { class: "flex justify-between items-center" }, hi = {
4205
+ }), hi = { class: "flex justify-between items-center" }, yi = {
4206
4206
  key: 0,
4207
4207
  class: "block text-sm font-medium text-gray-700"
4208
4208
  }, vi = {
@@ -4224,14 +4224,14 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4224
4224
  },
4225
4225
  emits: ["sliderUpdated"],
4226
4226
  setup(m, { emit: i }) {
4227
- const o = i, r = O(m.sliderValue);
4227
+ const o = i, r = N(m.sliderValue);
4228
4228
  return (l, t) => (s(), n("div", null, [
4229
- e("div", yi, [
4230
- l.label ? (s(), n("label", hi, g(l.label), 1)) : b("", !0),
4229
+ e("div", hi, [
4230
+ l.label ? (s(), n("label", yi, g(l.label), 1)) : b("", !0),
4231
4231
  l.requiredText ? (s(), n("span", vi, g(l.requiredText), 1)) : b("", !0)
4232
4232
  ]),
4233
4233
  e("div", {
4234
- class: h([{ "mt-1": l.label }, "pt-16 px-6 pb-6 bg-gray-50 border border-gray-300 rounded-lg shadow-sm"])
4234
+ class: y([{ "mt-1": l.label }, "pt-16 px-6 pb-6 bg-gray-50 border border-gray-300 rounded-lg shadow-sm"])
4235
4235
  }, [
4236
4236
  l.loading ? (s(), n("p", bi)) : (s(), _(u(dt), {
4237
4237
  key: 0,
@@ -4258,7 +4258,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4258
4258
  setup(m) {
4259
4259
  return (i, o) => (s(), n(k, null, [
4260
4260
  e("h3", {
4261
- class: h(["text-lg font-medium leading-6 text-gray-900", { "mb-8": i.description === void 0 }])
4261
+ class: y(["text-lg font-medium leading-6 text-gray-900", { "mb-8": i.description === void 0 }])
4262
4262
  }, g(i.title), 3),
4263
4263
  e("p", xi, g(i.description), 1)
4264
4264
  ], 64));
@@ -4304,7 +4304,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4304
4304
  onTagEvent: a[2] || (a[2] = (t) => o.$emit("deviceStatusTagClicked", t))
4305
4305
  }, {
4306
4306
  default: v(() => [
4307
- z(g(r.name), 1)
4307
+ L(g(r.name), 1)
4308
4308
  ]),
4309
4309
  _: 2
4310
4310
  }, 1032, ["loading", "event", "color"]))), 128))
@@ -4314,7 +4314,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4314
4314
  ])) : (s(), n("div", _i, [
4315
4315
  e("div", $i, [
4316
4316
  e("div", {
4317
- class: h(["rounded-md p-3 flex items-center justify-center mx-auto mb-4", {
4317
+ class: y(["rounded-md p-3 flex items-center justify-center mx-auto mb-4", {
4318
4318
  "bg-green-500": !o.color || o.color === "green",
4319
4319
  "bg-red-500": o.color === "red",
4320
4320
  "bg-yellow-500": o.color === "yellow",
@@ -4332,7 +4332,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4332
4332
  }, null, 8, ["icon"])
4333
4333
  ], 2),
4334
4334
  e("h3", Ci, [
4335
- z(g(o.name) + " ", 1),
4335
+ L(g(o.name) + " ", 1),
4336
4336
  C(e("span", {
4337
4337
  class: "text-indigo-600 hover:text-indigo-900 cursor-pointer",
4338
4338
  onClick: a[0] || (a[0] = (r) => o.$emit("deviceStatusQtyClicked", o.id))
@@ -4350,7 +4350,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4350
4350
  onTagEvent: a[1] || (a[1] = (t) => o.$emit("deviceStatusTagClicked", t))
4351
4351
  }, {
4352
4352
  default: v(() => [
4353
- z(g(r.name), 1)
4353
+ L(g(r.name), 1)
4354
4354
  ]),
4355
4355
  _: 2
4356
4356
  }, 1032, ["event", "color"]))), 128))
@@ -4359,17 +4359,17 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4359
4359
  ])
4360
4360
  ]));
4361
4361
  }
4362
- }), Ni = { class: "flex flex-row grow border-r border-gray-200 bg-white pr-6" }, Oi = { class: "bg-indigo-600 w-16 mr-6" }, Ai = ["onClick"], Yi = {
4362
+ }), Oi = { class: "flex flex-row grow border-r border-gray-200 bg-white pr-6" }, Ni = { class: "bg-indigo-600 w-16 mr-6" }, Ai = ["onClick"], Pi = {
4363
4363
  key: 0,
4364
4364
  class: "flex flex-col grow gap-y-5 overflow-y-auto pr-6"
4365
- }, Pi = { class: "flex h-16 shrink-0 items-center" }, Ii = ["src"], Fi = { class: "flex flex-1 flex-col" }, Vi = {
4365
+ }, Yi = { class: "flex h-16 shrink-0 items-center" }, Ii = ["src"], Fi = { class: "flex flex-1 flex-col" }, Vi = {
4366
4366
  key: 0,
4367
4367
  role: "list",
4368
4368
  class: "flex flex-1 flex-col gap-y-7 mb-4"
4369
- }, qi = {
4369
+ }, Ri = {
4370
4370
  role: "list",
4371
4371
  class: "ml-2 space-y-1"
4372
- }, Ri = ["onClick"], Hi = {
4372
+ }, qi = ["onClick"], Hi = {
4373
4373
  key: 1,
4374
4374
  role: "list",
4375
4375
  class: "flex flex-1 flex-col gap-y-7 mb-4"
@@ -4388,12 +4388,12 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4388
4388
  },
4389
4389
  emits: ["productBarClick", "sideBarClick"],
4390
4390
  setup(m, { emit: i }) {
4391
- return (o, a) => (s(), n("div", Ni, [
4392
- e("div", Oi, [
4391
+ return (o, a) => (s(), n("div", Oi, [
4392
+ e("div", Ni, [
4393
4393
  e("ul", null, [
4394
4394
  (s(!0), n(k, null, $(o.productsSidebar, (r, l) => (s(), n("li", {
4395
4395
  key: l,
4396
- class: h([{ "!bg-indigo-900": r.active }, "w-full h-16 flex items-center justify-center cursor-pointer bg-indigo-600 hover:bg-indigo-700"]),
4396
+ 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
4397
  onClick: (t) => o.$emit("productBarClick", r.name)
4398
4398
  }, [
4399
4399
  p(j, {
@@ -4410,8 +4410,8 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4410
4410
  e("div", { class: "w-6 h-6 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 mr-4" }, null, -1),
4411
4411
  e("div", { class: "h-3 animate-pulse bg-gray-200 rounded-full w-1/2 dark:bg-gray-300" }, null, -1)
4412
4412
  ]))), 64))
4413
- ])) : (s(), n("div", Yi, [
4414
- e("div", Pi, [
4413
+ ])) : (s(), n("div", Pi, [
4414
+ e("div", Yi, [
4415
4415
  e("img", {
4416
4416
  class: "h-8 w-auto",
4417
4417
  src: o.logo,
@@ -4421,7 +4421,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4421
4421
  e("nav", Fi, [
4422
4422
  o.isFilterNavigation ? b("", !0) : (s(), n("ul", Vi, [
4423
4423
  e("li", null, [
4424
- e("ul", qi, [
4424
+ e("ul", Ri, [
4425
4425
  (s(!0), n(k, null, $(o.navigation, (r) => (s(), n("li", {
4426
4426
  key: r.name
4427
4427
  }, [
@@ -4432,7 +4432,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4432
4432
  default: v(() => [
4433
4433
  p(u(Z), {
4434
4434
  onClick: (l) => o.$emit("sideBarClick", r.id),
4435
- class: h([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"])
4435
+ 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
4436
  }, {
4437
4437
  default: v(() => [
4438
4438
  p(j, {
@@ -4443,9 +4443,9 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4443
4443
  "aria-hidden": "true",
4444
4444
  class: "shrink-0"
4445
4445
  }, null, 8, ["icon"]),
4446
- z(" " + g(r.name) + " ", 1),
4446
+ L(" " + g(r.name) + " ", 1),
4447
4447
  p(u(te), {
4448
- class: h([r.children.some((l) => l.current) || r.current ? "rotate-90 text-primary-500" : "text-gray-400", "ml-auto h-5 w-5 shrink-0"]),
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"]),
4449
4449
  "aria-hidden": "true"
4450
4450
  }, null, 8, ["class"])
4451
4451
  ]),
@@ -4464,10 +4464,10 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4464
4464
  p(u(Z), {
4465
4465
  as: "a",
4466
4466
  onClick: (t) => o.$emit("sideBarClick", l.id),
4467
- class: h([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"])
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"])
4468
4468
  }, {
4469
4469
  default: v(() => [
4470
- z(g(l.name), 1)
4470
+ L(g(l.name), 1)
4471
4471
  ]),
4472
4472
  _: 2
4473
4473
  }, 1032, ["onClick", "class"])
@@ -4483,7 +4483,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4483
4483
  }, 1024)) : (s(), n("div", {
4484
4484
  key: 0,
4485
4485
  onClick: (l) => o.$emit("sideBarClick", r.id),
4486
- class: h([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"])
4486
+ 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
4487
  }, [
4488
4488
  p(j, {
4489
4489
  icon: r.icon,
@@ -4493,8 +4493,8 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4493
4493
  "aria-hidden": "true",
4494
4494
  class: "shrink-0"
4495
4495
  }, null, 8, ["icon"]),
4496
- z(" " + g(r.name), 1)
4497
- ], 10, Ri))
4496
+ L(" " + g(r.name), 1)
4497
+ ], 10, qi))
4498
4498
  ]))), 128))
4499
4499
  ])
4500
4500
  ])
@@ -4521,7 +4521,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4521
4521
  loading: t.loading
4522
4522
  }, {
4523
4523
  default: v(() => [
4524
- z(g(t.text), 1)
4524
+ L(g(t.text), 1)
4525
4525
  ]),
4526
4526
  _: 2
4527
4527
  }, 1032, ["value", "loading"]))), 256))
@@ -4546,7 +4546,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4546
4546
  },
4547
4547
  emits: ["productBarClick", "sideBarClick", "selectChanged", "topBarClick"],
4548
4548
  setup(m, { emit: i }) {
4549
- const o = m, a = O(""), r = P(() => 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 = P(() => o.topbar.selectedItem), c = O(!1);
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
4550
  return (d, f) => (s(), n("div", null, [
4551
4551
  p(u(we), {
4552
4552
  as: "template",
@@ -4555,7 +4555,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4555
4555
  default: v(() => [
4556
4556
  p(u(xe), {
4557
4557
  class: "relative z-50 lg:hidden",
4558
- onClose: f[3] || (f[3] = (y) => c.value = !1)
4558
+ onClose: f[3] || (f[3] = (h) => c.value = !1)
4559
4559
  }, {
4560
4560
  default: v(() => [
4561
4561
  p(u(G), {
@@ -4599,7 +4599,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4599
4599
  e("button", {
4600
4600
  type: "button",
4601
4601
  class: "-m-2.5 p-2.5",
4602
- onClick: f[0] || (f[0] = (y) => c.value = !1)
4602
+ onClick: f[0] || (f[0] = (h) => c.value = !1)
4603
4603
  }, [
4604
4604
  f[12] || (f[12] = e("span", { class: "sr-only" }, "Close sidebar", -1)),
4605
4605
  p(u(W), {
@@ -4618,8 +4618,8 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4618
4618
  filterNavigation: d.sidebar.filterNavigation,
4619
4619
  loading: !1,
4620
4620
  logo: d.topbar.logo,
4621
- onSideBarClick: f[1] || (f[1] = (y) => d.$emit("sideBarClick", y)),
4622
- onProductBarClick: f[2] || (f[2] = (y) => d.$emit("productBarClick", y))
4621
+ onSideBarClick: f[1] || (f[1] = (h) => d.$emit("sideBarClick", h)),
4622
+ onProductBarClick: f[2] || (f[2] = (h) => d.$emit("productBarClick", h))
4623
4623
  }, null, 8, ["productsSidebar", "isFilterNavigation", "navigation", "filterNavigation", "logo"])
4624
4624
  ]),
4625
4625
  _: 1
@@ -4642,8 +4642,8 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4642
4642
  filterNavigation: d.sidebar.filterNavigation,
4643
4643
  loading: !1,
4644
4644
  logo: d.topbar.logo,
4645
- onSideBarClick: f[4] || (f[4] = (y) => d.$emit("sideBarClick", y)),
4646
- onProductBarClick: f[5] || (f[5] = (y) => d.$emit("productBarClick", y))
4645
+ onSideBarClick: f[4] || (f[4] = (h) => d.$emit("sideBarClick", h)),
4646
+ onProductBarClick: f[5] || (f[5] = (h) => d.$emit("productBarClick", h))
4647
4647
  }, null, 8, ["productsSidebar", "isFilterNavigation", "navigation", "filterNavigation", "logo"])
4648
4648
  ]),
4649
4649
  e("div", Ki, [
@@ -4651,7 +4651,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4651
4651
  e("button", {
4652
4652
  type: "button",
4653
4653
  class: "-m-2.5 p-2.5 text-gray-700 lg:hidden",
4654
- onClick: f[6] || (f[6] = (y) => c.value = !0)
4654
+ onClick: f[6] || (f[6] = (h) => c.value = !0)
4655
4655
  }, [
4656
4656
  f[13] || (f[13] = e("span", { class: "sr-only" }, "Open sidebar", -1)),
4657
4657
  p(u(Ee), {
@@ -4673,21 +4673,21 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4673
4673
  class: "pointer-events-none absolute inset-y-0 left-0 h-full w-5 text-gray-400",
4674
4674
  "aria-hidden": "true"
4675
4675
  }),
4676
- p(u(Pe), {
4676
+ p(u(Ye), {
4677
4677
  class: "w-full",
4678
4678
  as: "div",
4679
4679
  modelValue: t.value,
4680
4680
  "onUpdate:modelValue": [
4681
- f[9] || (f[9] = (y) => t.value = y),
4682
- f[10] || (f[10] = (y) => d.$emit("selectChanged", y))
4681
+ f[9] || (f[9] = (h) => t.value = h),
4682
+ f[10] || (f[10] = (h) => d.$emit("selectChanged", h))
4683
4683
  ]
4684
4684
  }, {
4685
4685
  default: v(() => [
4686
4686
  e("div", sd, [
4687
4687
  p(u(Ie), {
4688
4688
  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] = (y) => a.value = y.target.value),
4690
- onBlur: f[8] || (f[8] = (y) => a.value = ""),
4689
+ onChange: f[7] || (f[7] = (h) => a.value = h.target.value),
4690
+ onBlur: f[8] || (f[8] = (h) => a.value = ""),
4691
4691
  displayValue: l
4692
4692
  }),
4693
4693
  p(u(Fe), { class: "absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none" }, {
@@ -4701,21 +4701,21 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4701
4701
  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
4702
  }, {
4703
4703
  default: v(() => [
4704
- (s(!0), n(k, null, $(r.value, (y) => (s(), _(u(qe), {
4705
- key: y.id,
4706
- value: y,
4704
+ (s(!0), n(k, null, $(r.value, (h) => (s(), _(u(Re), {
4705
+ key: h.id,
4706
+ value: h,
4707
4707
  as: "template"
4708
4708
  }, {
4709
- default: v(({ active: w, selected: L }) => [
4709
+ default: v(({ active: w, selected: z }) => [
4710
4710
  e("li", {
4711
- class: h(["relative cursor-default select-none py-2 pl-8 pr-4", w ? "bg-indigo-600 text-white" : "text-gray-900"])
4711
+ class: y(["relative cursor-default select-none py-2 pl-8 pr-4", w ? "bg-indigo-600 text-white" : "text-gray-900"])
4712
4712
  }, [
4713
4713
  e("span", {
4714
- class: h(["block truncate", L && "font-semibold"])
4715
- }, g(y.name), 3),
4716
- L ? (s(), n("span", {
4714
+ class: y(["block truncate", z && "font-semibold"])
4715
+ }, g(h.name), 3),
4716
+ z ? (s(), n("span", {
4717
4717
  key: 0,
4718
- class: h(["absolute inset-y-0 left-0 flex items-center pl-1.5", w ? "text-white" : "text-indigo-600"])
4718
+ class: y(["absolute inset-y-0 left-0 flex items-center pl-1.5", w ? "text-white" : "text-indigo-600"])
4719
4719
  }, [
4720
4720
  p(u(ge), { class: "h-5 w-5" })
4721
4721
  ], 2)) : b("", !0)
@@ -4748,12 +4748,12 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4748
4748
  class: "hidden lg:block lg:h-6 lg:w-px lg:bg-gray-200",
4749
4749
  "aria-hidden": "true"
4750
4750
  }, null, -1)),
4751
- p(u(ye), {
4751
+ p(u(he), {
4752
4752
  as: "div",
4753
4753
  class: "relative"
4754
4754
  }, {
4755
4755
  default: v(() => [
4756
- p(u(he), { class: "-m-1.5 flex items-center p-1.5" }, {
4756
+ p(u(ye), { class: "-m-1.5 flex items-center p-1.5" }, {
4757
4757
  default: v(() => [
4758
4758
  f[17] || (f[17] = e("span", { class: "sr-only" }, "Open user menu", -1)),
4759
4759
  e("img", {
@@ -4781,14 +4781,14 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4781
4781
  default: v(() => [
4782
4782
  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
4783
  default: v(() => [
4784
- (s(!0), n(k, null, $(d.topbar.profileMenu, (y) => (s(), _(u(be), {
4785
- key: y.name
4784
+ (s(!0), n(k, null, $(d.topbar.profileMenu, (h) => (s(), _(u(be), {
4785
+ key: h.name
4786
4786
  }, {
4787
4787
  default: v(({ active: w }) => [
4788
4788
  e("a", {
4789
- onClick: (L) => d.$emit("topBarClick", y.id),
4790
- class: h([w ? "bg-gray-50" : "", "block px-3 py-1 text-sm leading-6 text-gray-900"])
4791
- }, g(y.name), 11, id)
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)
4792
4792
  ]),
4793
4793
  _: 2
4794
4794
  }, 1024))), 128))
@@ -4806,7 +4806,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4806
4806
  ]),
4807
4807
  e("main", dd, [
4808
4808
  e("div", ud, [
4809
- q(d.$slots, "default")
4809
+ R(d.$slots, "default")
4810
4810
  ])
4811
4811
  ])
4812
4812
  ])
@@ -4819,9 +4819,9 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4819
4819
  loading: { type: Boolean, default: !0 }
4820
4820
  },
4821
4821
  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 = O(0), r = O(o());
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
4823
  return st(() => a.value += 1), (l, t) => (s(), n("div", {
4824
- class: h([r.value, "grid grid-cols-1 md:grid-cols-2 gap-4"]),
4824
+ class: y([r.value, "grid grid-cols-1 md:grid-cols-2 gap-4"]),
4825
4825
  key: a.value
4826
4826
  }, [
4827
4827
  (s(!0), n(k, null, $(l.dynamicStats, (c, d) => (s(), _(Xe, {
@@ -4839,43 +4839,45 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4839
4839
  dropdownProps: {},
4840
4840
  filterType: { default: "input" },
4841
4841
  buttonLiteral: {},
4842
- deleteLiteral: {},
4843
4842
  loading: { type: Boolean, default: !0 }
4844
4843
  },
4845
- emits: ["smartFilterSelected", "smartInputChanged", "smartOptionSelected"],
4844
+ emits: ["smartFilterSelected", "smartInputChanged", "smartOptionSelected", "rightAddOnClicked"],
4846
4845
  setup(m, { emit: i }) {
4847
- const o = m, a = i, r = O(o.filterType);
4846
+ const o = m, a = i, r = N(o.filterType);
4848
4847
  let l = Q(o.inputProps), t = Q(o.dropdownProps);
4849
- R(() => o.filterType, (y) => r.value = y), R(() => o.inputProps, (y) => l = y), R(() => o.dropdownProps, (y) => t = y);
4850
- const c = P(() => r.value === "input" ? l : t), d = P(() => r.value === "input" ? E : me), f = (y) => {
4851
- r.value = y.type, a("smartFilterSelected", y);
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);
4852
4851
  };
4853
- return (y, w) => (s(), n("div", pd, [
4852
+ return (h, w) => (s(), n("div", pd, [
4854
4853
  p(Ge, {
4855
- items: y.items,
4856
- loading: y.loading,
4854
+ items: h.items,
4855
+ loading: h.loading,
4857
4856
  onFilterSelected: f
4858
4857
  }, null, 8, ["items", "loading"]),
4859
- (s(), _(Oe(d.value), ot({ class: "w-full mt-2 lg:mt-0 lg:mx-2 lg:grow" }, c.value, {
4860
- loading: y.loading,
4861
- onInputChanged: w[0] || (w[0] = (L) => a("smartInputChanged", L)),
4862
- onOptionSelected: w[1] || (w[1] = (L) => a("smartOptionSelected", L))
4863
- }), null, 16, ["loading"])),
4858
+ (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"]
4860
+ }, 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"))
4865
+ }), null, 16, ["class", "loading"])),
4864
4866
  p(J, {
4865
4867
  class: "mt-2 lg:mt-0",
4866
- loading: y.loading
4868
+ loading: h.loading
4867
4869
  }, {
4868
4870
  default: v(() => [
4869
- z(g(y.buttonLiteral), 1)
4871
+ L(g(h.buttonLiteral), 1)
4870
4872
  ]),
4871
4873
  _: 1
4872
4874
  }, 8, ["loading"])
4873
4875
  ]));
4874
4876
  }
4875
- }), Ne = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4877
+ }), Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4876
4878
  __proto__: null,
4877
4879
  uiAlert: js,
4878
- uiBreadcrumbs: Ps,
4880
+ uiBreadcrumbs: Ys,
4879
4881
  uiButton: J,
4880
4882
  uiCard: Us,
4881
4883
  uiChart: Zl,
@@ -4898,34 +4900,34 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4898
4900
  uiNoResults: Sa,
4899
4901
  uiNotification: uo,
4900
4902
  uiPagination: gr,
4901
- uiPriceCalendar: Nl,
4903
+ uiPriceCalendar: Ol,
4902
4904
  uiRangeSlider: wi,
4903
- uiRightSidebar: Ya,
4905
+ uiRightSidebar: Pa,
4904
4906
  uiSectionTitle: ki,
4905
4907
  uiSelect: ds,
4906
4908
  uiSidebar: Cr,
4907
4909
  uiSmartFilter: md,
4908
4910
  uiStats: Xe,
4909
4911
  uiStripedCard: Zr,
4910
- uiTable: hn,
4912
+ uiTable: yn,
4911
4913
  uiTabs: $n,
4912
4914
  uiTag: H,
4913
4915
  uiTaskList: xo,
4914
- uiTextArea: hs,
4916
+ uiTextArea: ys,
4915
4917
  uiTimeline: En,
4916
4918
  uiToggle: xs,
4917
4919
  uiTopbar: ma,
4918
4920
  uiWrapper: cd
4919
4921
  }, Symbol.toStringTag, { value: "Module" }));
4920
4922
  function fd(m) {
4921
- for (const i in Ne)
4922
- m.component(i, Ne[i]);
4923
+ for (const i in Oe)
4924
+ m.component(i, Oe[i]);
4923
4925
  }
4924
4926
  const _d = { install: fd };
4925
4927
  export {
4926
4928
  _d as default,
4927
4929
  js as uiAlert,
4928
- Ps as uiBreadcrumbs,
4930
+ Ys as uiBreadcrumbs,
4929
4931
  J as uiButton,
4930
4932
  Us as uiCard,
4931
4933
  Zl as uiChart,
@@ -4948,20 +4950,20 @@ export {
4948
4950
  Sa as uiNoResults,
4949
4951
  uo as uiNotification,
4950
4952
  gr as uiPagination,
4951
- Nl as uiPriceCalendar,
4953
+ Ol as uiPriceCalendar,
4952
4954
  wi as uiRangeSlider,
4953
- Ya as uiRightSidebar,
4955
+ Pa as uiRightSidebar,
4954
4956
  ki as uiSectionTitle,
4955
4957
  ds as uiSelect,
4956
4958
  Cr as uiSidebar,
4957
4959
  md as uiSmartFilter,
4958
4960
  Xe as uiStats,
4959
4961
  Zr as uiStripedCard,
4960
- hn as uiTable,
4962
+ yn as uiTable,
4961
4963
  $n as uiTabs,
4962
4964
  H as uiTag,
4963
4965
  xo as uiTaskList,
4964
- hs as uiTextArea,
4966
+ ys as uiTextArea,
4965
4967
  En as uiTimeline,
4966
4968
  xs as uiToggle,
4967
4969
  ma as uiTopbar,