@hotelinking/ui 10.41.5 → 10.41.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/ui.cjs +1 -1
  2. package/dist/ui.es.js +1097 -1092
  3. package/package.json +1 -1
package/dist/ui.es.js CHANGED
@@ -1,10 +1,10 @@
1
- import { defineComponent as M, openBlock as s, createBlock as _, resolveDynamicComponent as Ke, normalizeClass as h, createElementBlock as n, createCommentVNode as b, renderSlot as I, createElementVNode as e, ref as Y, watch as Z, computed as O, unref as c, withCtx as v, toDisplayString as u, createVNode as g, createTextVNode as D, Transition as de, Fragment as k, renderList as $, withDirectives as C, vModelDynamic as Xe, vShow as S, withModifiers as Be, vModelText as ge, createStaticVNode as Q, resolveComponent as Me, vModelCheckbox as Ae, reactive as me, isRef as Ye, TransitionGroup as et, onMounted as tt } from "vue";
2
- import { Menu as fe, MenuButton as ye, MenuItems as he, MenuItem as ve, Combobox as Pe, ComboboxLabel as st, ComboboxInput as Oe, ComboboxButton as Ve, ComboboxOptions as Fe, ComboboxOption as Ie, SwitchGroup as ot, Switch as lt, SwitchLabel as rt, TransitionRoot as be, Dialog as we, TransitionChild as W, DialogPanel as xe, DialogTitle as Re, Disclosure as ke, DisclosureButton as E, DisclosurePanel as _e } from "@headlessui/vue";
3
- import L from "dayjs";
1
+ import { defineComponent as B, openBlock as s, createBlock as _, resolveDynamicComponent as Ke, normalizeClass as y, createElementBlock as n, createCommentVNode as b, renderSlot as F, createElementVNode as e, ref as Y, watch as Z, computed as V, unref as c, withCtx as v, toDisplayString as u, createVNode as g, createTextVNode as T, Transition as de, Fragment as k, renderList as $, withDirectives as C, vModelDynamic as Xe, vShow as M, withModifiers as Be, vModelText as ge, createStaticVNode as Q, resolveComponent as Me, vModelCheckbox as Ae, reactive as me, isRef as Ye, TransitionGroup as et, onMounted as tt } from "vue";
2
+ import { Menu as fe, MenuButton as he, MenuItems as ye, MenuItem as ve, Combobox as Oe, ComboboxLabel as st, ComboboxInput as Pe, ComboboxButton as Ve, ComboboxOptions as Ie, ComboboxOption as Fe, SwitchGroup as ot, Switch as lt, SwitchLabel as rt, TransitionRoot as be, Dialog as we, TransitionChild as W, DialogPanel as xe, DialogTitle as Re, Disclosure as ke, DisclosureButton as E, DisclosurePanel as _e } from "@headlessui/vue";
3
+ import j from "dayjs";
4
4
  import $e from "vue3-apexcharts";
5
5
  import nt from "vue3-draggable";
6
6
  import at from "@vueform/slider";
7
- const j = /* @__PURE__ */ M({
7
+ const D = /* @__PURE__ */ B({
8
8
  __name: "uiIcon",
9
9
  props: {
10
10
  icon: {},
@@ -13,9 +13,9 @@ const j = /* @__PURE__ */ M({
13
13
  loading: { type: Boolean, default: !0 }
14
14
  },
15
15
  setup(p) {
16
- return (i, o) => i.loading ? (s(), n("div", {
16
+ return (i, l) => 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",
@@ -24,7 +24,7 @@ const j = /* @__PURE__ */ M({
24
24
  }, "animate-pulse rounded-full bg-gray-200 dark:bg-gray-300"])
25
25
  }, null, 2)) : (s(), _(Ke(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",
@@ -44,7 +44,7 @@ const j = /* @__PURE__ */ M({
44
44
  }), it = ["disabled"], dt = {
45
45
  key: 1,
46
46
  class: "animate-pulse px-4 py-2.5 text-sm rounded-md inline-flex items-center border border-transparent font-medium shadow-sm text-white focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:opacity-25 bg-gray-200"
47
- }, G = /* @__PURE__ */ M({
47
+ }, G = /* @__PURE__ */ B({
48
48
  __name: "uiButton",
49
49
  props: {
50
50
  block: { type: Boolean },
@@ -55,19 +55,19 @@ const j = /* @__PURE__ */ M({
55
55
  size: { default: "medium" }
56
56
  },
57
57
  setup(p) {
58
- return (i, o) => i.loading ? (s(), n("button", dt, [
59
- i.icon ? (s(), _(j, {
58
+ return (i, l) => i.loading ? (s(), n("button", dt, [
59
+ i.icon ? (s(), _(D, {
60
60
  key: 0,
61
61
  icon: i.icon,
62
62
  color: "white",
63
63
  class: "-ml-0.5 mr-2",
64
64
  loading: i.loading
65
65
  }, null, 8, ["icon", "loading"])) : b("", !0),
66
- o[0] || (o[0] = e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-16" }, null, -1))
66
+ l[0] || (l[0] = e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-16" }, null, -1))
67
67
  ])) : (s(), n("button", {
68
68
  key: 0,
69
69
  disabled: i.disabled,
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",
@@ -80,14 +80,14 @@ const j = /* @__PURE__ */ M({
80
80
  }, "inline-flex items-center border border-transparent font-medium focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:opacity-25"]),
81
81
  type: "button"
82
82
  }, [
83
- i.icon ? (s(), _(j, {
83
+ i.icon ? (s(), _(D, {
84
84
  key: 0,
85
85
  icon: i.icon,
86
86
  color: "white",
87
87
  class: "-ml-0.5 mr-2",
88
88
  loading: i.loading
89
89
  }, null, 8, ["icon", "loading"])) : b("", !0),
90
- I(i.$slots, "default")
90
+ F(i.$slots, "default")
91
91
  ], 10, it));
92
92
  }
93
93
  }), ut = {
@@ -96,7 +96,7 @@ const j = /* @__PURE__ */ M({
96
96
  }, ct = { class: "flex items-center h-5" }, gt = ["checked", "value", "disabled"], pt = { class: "ml-3 text-sm" }, mt = { class: "text-gray-500" }, ft = {
97
97
  key: 1,
98
98
  class: "flex items-center animate-pulse"
99
- }, qe = /* @__PURE__ */ M({
99
+ }, qe = /* @__PURE__ */ B({
100
100
  __name: "uiCheckbox",
101
101
  props: {
102
102
  check: { type: Boolean, default: !1 },
@@ -107,8 +107,8 @@ const j = /* @__PURE__ */ M({
107
107
  },
108
108
  emits: ["checkboxChanged"],
109
109
  setup(p, { emit: i }) {
110
- const o = i, a = p, r = Y(a.check), l = () => {
111
- a.disabled || (r.value = !r.value, o("checkboxChanged", { checked: r.value, value: a.value }));
110
+ const l = i, a = p, r = Y(a.check), o = () => {
111
+ a.disabled || (r.value = !r.value, l("checkboxChanged", { checked: r.value, value: a.value }));
112
112
  };
113
113
  return Z(() => a.check, (t) => {
114
114
  t && (r.value = t);
@@ -123,18 +123,18 @@ const j = /* @__PURE__ */ M({
123
123
  disabled: t.disabled,
124
124
  class: "focus:ring-indigo-500 h-4 w-4 text-indigo-600 border-gray-300 rounded disabled:opacity-25",
125
125
  type: "checkbox",
126
- onChange: m[0] || (m[0] = (d) => l())
126
+ onChange: m[0] || (m[0] = (d) => o())
127
127
  }, null, 40, gt)
128
128
  ]),
129
129
  e("div", pt, [
130
130
  e("span", mt, [
131
- I(t.$slots, "default")
131
+ F(t.$slots, "default")
132
132
  ])
133
133
  ])
134
134
  ]));
135
135
  }
136
136
  });
137
- function yt(p, i) {
137
+ function ht(p, i) {
138
138
  return s(), n("svg", {
139
139
  xmlns: "http://www.w3.org/2000/svg",
140
140
  fill: "none",
@@ -151,7 +151,7 @@ function yt(p, i) {
151
151
  })
152
152
  ]);
153
153
  }
154
- function ht(p, i) {
154
+ function yt(p, i) {
155
155
  return s(), n("svg", {
156
156
  xmlns: "http://www.w3.org/2000/svg",
157
157
  fill: "none",
@@ -508,7 +508,7 @@ function St(p, i) {
508
508
  })
509
509
  ]);
510
510
  }
511
- function jt(p, i) {
511
+ function Dt(p, i) {
512
512
  return s(), n("svg", {
513
513
  xmlns: "http://www.w3.org/2000/svg",
514
514
  fill: "none",
@@ -525,7 +525,7 @@ function jt(p, i) {
525
525
  })
526
526
  ]);
527
527
  }
528
- function Dt(p, i) {
528
+ function jt(p, i) {
529
529
  return s(), n("svg", {
530
530
  xmlns: "http://www.w3.org/2000/svg",
531
531
  fill: "none",
@@ -585,7 +585,7 @@ const Tt = { class: "flex justify-between" }, zt = {
585
585
  }, Nt = { class: "py-1" }, At = ["onClick"], Yt = {
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
- }, Ce = /* @__PURE__ */ M({
588
+ }, Ce = /* @__PURE__ */ B({
589
589
  __name: "uiDropdown",
590
590
  props: {
591
591
  items: {},
@@ -597,11 +597,11 @@ const Tt = { class: "flex justify-between" }, zt = {
597
597
  },
598
598
  emits: ["optionSelected"],
599
599
  setup(p, { emit: i }) {
600
- const o = i, a = p, r = O(() => {
600
+ const l = i, a = p, r = V(() => {
601
601
  let t = a.items.find((m) => m.active === !0);
602
602
  return t ? t.name : a.label;
603
- }), l = (t) => {
604
- a.disabled || o("optionSelected", t);
603
+ }), o = (t) => {
604
+ a.disabled || l("optionSelected", t);
605
605
  };
606
606
  return (t, m) => t.loading ? (s(), n("div", Yt, [
607
607
  m[0] || (m[0] = e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28" }, null, -1)),
@@ -612,7 +612,7 @@ const Tt = { class: "flex justify-between" }, zt = {
612
612
  ])) : (s(), _(c(fe), {
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, [
@@ -620,9 +620,9 @@ const Tt = { class: "flex justify-between" }, zt = {
620
620
  t.label ? (s(), n("label", zt, u(t.label), 1)) : b("", !0),
621
621
  t.requiredText ? (s(), n("span", Lt, u(t.requiredText), 1)) : b("", !0)
622
622
  ]),
623
- g(c(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" }, {
623
+ g(c(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" }, {
624
624
  default: v(() => [
625
- D(u(r.value) + " ", 1),
625
+ T(u(r.value) + " ", 1),
626
626
  g(c(ie), {
627
627
  "aria-hidden": "true",
628
628
  class: "-mr-1 ml-2 h-5 w-5"
@@ -640,17 +640,17 @@ const Tt = { class: "flex justify-between" }, zt = {
640
640
  "leave-to-class": "transform opacity-0 scale-95"
641
641
  }, {
642
642
  default: v(() => [
643
- t.disabled ? b("", !0) : (s(), _(c(he), {
643
+ t.disabled ? b("", !0) : (s(), _(c(ye), {
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
648
  e("div", Nt, [
649
649
  (s(!0), n(k, null, $(t.items, (d, f) => (s(), _(c(ve), { key: f }, {
650
650
  default: v(() => [
651
651
  e("a", {
652
- onClick: (y) => l(d),
653
- class: h([
652
+ onClick: (h) => o(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,19 +669,19 @@ const Tt = { class: "flex justify-between" }, zt = {
669
669
  _: 1
670
670
  }, 8, ["class"]));
671
671
  }
672
- }), Pt = { key: 0 }, Ot = { class: "flex justify-between" }, Vt = {
672
+ }), Ot = { key: 0 }, Pt = { class: "flex justify-between" }, Vt = {
673
673
  key: 0,
674
674
  class: "block text-sm font-medium text-gray-700"
675
- }, Ft = {
675
+ }, It = {
676
676
  key: 1,
677
677
  class: "text-[10px] text-gray-500 uppercase justify-self-end"
678
- }, It = ["disabled", "name", "placeholder", "type"], Rt = { class: "absolute inset-y-0 right-0 pr-3 flex items-center pointer-events-none" }, qt = {
678
+ }, Ft = ["disabled", "name", "placeholder", "type"], Rt = { class: "absolute inset-y-0 right-0 pr-3 flex items-center pointer-events-none" }, qt = {
679
679
  key: 1,
680
680
  class: "animate-pulse"
681
681
  }, Ht = {
682
682
  key: 0,
683
683
  class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-2/3 md:w-1/4 mb-1.5"
684
- }, J = /* @__PURE__ */ M({
684
+ }, J = /* @__PURE__ */ B({
685
685
  __name: "uiInput",
686
686
  props: {
687
687
  label: {},
@@ -700,25 +700,25 @@ const Tt = { class: "flex justify-between" }, zt = {
700
700
  },
701
701
  emits: ["inputChanged", "rightAddOnClicked", "addOnClicked"],
702
702
  setup(p, { emit: i }) {
703
- const o = i, a = p, r = Y(a.value);
703
+ const l = i, a = p, r = Y(a.value);
704
704
  Z(() => a.value, (t) => {
705
- r.value = t, r.value && o("inputChanged", { name: a.name, value: r.value });
705
+ r.value = t, r.value && l("inputChanged", { name: a.name, value: r.value });
706
706
  });
707
- const l = (t) => {
708
- t.target.name && o("inputChanged", { value: t.target.value, name: t.target.name });
707
+ const o = (t) => {
708
+ t.target.name && l("inputChanged", { value: t.target.value, name: t.target.name });
709
709
  };
710
710
  return (t, m) => t.loading ? (s(), n("div", qt, [
711
711
  t.label !== void 0 ? (s(), n("div", Ht)) : b("", !0),
712
712
  m[3] || (m[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" }, [
713
713
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28" })
714
714
  ], -1))
715
- ])) : (s(), n("div", Pt, [
716
- e("div", Ot, [
715
+ ])) : (s(), n("div", Ot, [
716
+ e("div", Pt, [
717
717
  t.label ? (s(), n("label", Vt, u(t.label), 1)) : b("", !0),
718
- t.requiredText ? (s(), n("span", Ft, u(t.requiredText), 1)) : b("", !0)
718
+ t.requiredText ? (s(), n("span", It, u(t.requiredText), 1)) : b("", !0)
719
719
  ]),
720
720
  e("div", {
721
- class: h([{ "mt-1": t.label }, "relative flex"])
721
+ class: y([{ "mt-1": t.label }, "relative flex"])
722
722
  }, [
723
723
  t.addOn ? (s(), n("span", {
724
724
  key: 0,
@@ -727,7 +727,7 @@ const Tt = { class: "flex justify-between" }, zt = {
727
727
  }, u(t.addOn), 1)) : b("", !0),
728
728
  C(e("input", {
729
729
  "onUpdate:modelValue": m[1] || (m[1] = (d) => r.value = d),
730
- class: h([{
730
+ class: y([{
731
731
  "border-gray-300": t.color === "gray",
732
732
  "border-red-400": t.color === "red",
733
733
  "border-yellow-400": t.color === "yellow",
@@ -747,8 +747,8 @@ const Tt = { class: "flex justify-between" }, zt = {
747
747
  name: t.name,
748
748
  placeholder: t.placeholder,
749
749
  type: t.type,
750
- onInput: l
751
- }, null, 42, It), [
750
+ onInput: o
751
+ }, null, 42, Ft), [
752
752
  [Xe, r.value]
753
753
  ]),
754
754
  t.rightAddOn ? (s(), n("span", {
@@ -757,44 +757,44 @@ const Tt = { class: "flex justify-between" }, zt = {
757
757
  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"
758
758
  }, u(t.rightAddOn), 1)) : b("", !0),
759
759
  e("div", Rt, [
760
- t.icon ? (s(), _(j, {
760
+ t.icon ? (s(), _(D, {
761
761
  key: 0,
762
762
  icon: t.icon,
763
763
  color: t.color,
764
764
  loading: t.loading
765
765
  }, null, 8, ["icon", "color", "loading"])) : b("", !0),
766
- C(g(j, {
766
+ C(g(D, {
767
767
  icon: c(ue),
768
768
  color: "green",
769
769
  loading: t.loading
770
770
  }, null, 8, ["icon", "loading"]), [
771
- [S, t.color === "green"]
771
+ [M, t.color === "green"]
772
772
  ]),
773
- C(g(j, {
773
+ C(g(D, {
774
774
  icon: c(q),
775
775
  color: "yellow",
776
776
  loading: t.loading
777
777
  }, null, 8, ["icon", "loading"]), [
778
- [S, t.color === "yellow"]
778
+ [M, t.color === "yellow"]
779
779
  ]),
780
- C(g(j, {
780
+ C(g(D, {
781
781
  icon: c(U),
782
782
  color: "red",
783
783
  loading: t.loading
784
784
  }, null, 8, ["icon", "loading"]), [
785
- [S, t.color === "red"]
785
+ [M, t.color === "red"]
786
786
  ])
787
787
  ])
788
788
  ], 2),
789
789
  C(e("p", {
790
- class: h([{
790
+ class: y([{
791
791
  "text-gray-400": t.color === "gray",
792
792
  "text-red-400": t.color === "red",
793
793
  "text-yellow-400": t.color === "yellow",
794
794
  "text-green-400": t.color === "green"
795
795
  }, "mt-2 text-xs flex flex-row items-center"])
796
796
  }, u(t.error), 3), [
797
- [S, t.error]
797
+ [M, t.error]
798
798
  ])
799
799
  ]));
800
800
  }
@@ -807,7 +807,7 @@ const Tt = { class: "flex justify-between" }, zt = {
807
807
  }, Wt = { class: "space-y-1 flex flex-col items-center justify-center" }, Gt = { class: "flex text-sm text-gray-600 flex-col sm:flex-row text-center" }, Qt = ["for"], Kt = ["id", "name", "accept"], Xt = { class: "pl-1" }, es = { class: "text-xs text-gray-500 pb-4" }, ts = { class: "mt-2 text-xs flex flex-row items-center text-red-300" }, ss = {
808
808
  key: 1,
809
809
  class: "animate-pulse"
810
- }, os = /* @__PURE__ */ M({
810
+ }, os = /* @__PURE__ */ B({
811
811
  __name: "uiInputFile",
812
812
  props: {
813
813
  name: {},
@@ -818,22 +818,22 @@ const Tt = { class: "flex justify-between" }, zt = {
818
818
  fileTypesAndSizes: {},
819
819
  error: {},
820
820
  accept: {},
821
- icon: { default: ht },
821
+ icon: { default: yt },
822
822
  loading: { type: Boolean, default: !0 },
823
823
  label: {}
824
824
  },
825
825
  emits: ["filesUploaded"],
826
826
  setup(p, { emit: i }) {
827
- let o = Y("");
828
- const a = i, r = p, l = (d) => {
827
+ let l = Y("");
828
+ const a = i, r = p, o = (d) => {
829
829
  m(d.dataTransfer.files), a("filesUploaded", { id: r.id, files: d.dataTransfer.files });
830
830
  }, t = (d) => {
831
831
  m(d.target.files), a("filesUploaded", { id: r.id, files: d.target.files });
832
832
  }, m = (d) => {
833
- o.value = "";
833
+ l.value = "";
834
834
  let f = 1;
835
- Object.values(d).forEach((y) => {
836
- f++, o.value += y.name, f >= 1 && f < d.length && (o.value += ", ");
835
+ Object.values(d).forEach((h) => {
836
+ f++, l.value += h.name, f >= 1 && f < d.length && (l.value += ", ");
837
837
  });
838
838
  };
839
839
  return (d, f) => d.loading ? (s(), n("div", ss, f[1] || (f[1] = [
@@ -848,7 +848,7 @@ const Tt = { class: "flex justify-between" }, zt = {
848
848
  d.requiredText ? (s(), n("span", Jt, u(d.requiredText), 1)) : b("", !0)
849
849
  ]),
850
850
  e("div", {
851
- class: h([
851
+ class: y([
852
852
  [
853
853
  { "mt-1": d.label },
854
854
  { "border-gray-300 hover:border-gray-400": !d.error },
@@ -858,10 +858,10 @@ const Tt = { class: "flex justify-between" }, zt = {
858
858
  ]),
859
859
  onDragover: f[0] || (f[0] = Be(() => {
860
860
  }, ["prevent"])),
861
- onDrop: Be(l, ["prevent"])
861
+ onDrop: Be(o, ["prevent"])
862
862
  }, [
863
863
  e("div", Wt, [
864
- g(j, {
864
+ g(D, {
865
865
  icon: d.icon,
866
866
  size: "massive",
867
867
  color: "gray",
@@ -888,21 +888,21 @@ const Tt = { class: "flex justify-between" }, zt = {
888
888
  e("p", Xt, u(d.dragAndDrop), 1)
889
889
  ]),
890
890
  e("p", es, u(d.fileTypesAndSizes), 1),
891
- C(e("p", { class: "font-bold text-xs uppercase block p-2 bg-gray-200 rounded" }, u(c(o)), 513), [
892
- [S, c(o) !== null]
891
+ C(e("p", { class: "font-bold text-xs uppercase block p-2 bg-gray-200 rounded" }, u(c(l)), 513), [
892
+ [M, c(l) !== null]
893
893
  ])
894
894
  ])
895
895
  ], 34),
896
896
  C(e("p", ts, [
897
- g(j, {
897
+ g(D, {
898
898
  icon: c(ce),
899
899
  color: "red",
900
900
  class: "mr-2",
901
901
  loading: d.loading
902
902
  }, null, 8, ["icon", "loading"]),
903
- D(" " + u(d.error), 1)
903
+ T(" " + u(d.error), 1)
904
904
  ], 512), [
905
- [S, d.error]
905
+ [M, d.error]
906
906
  ])
907
907
  ]));
908
908
  }
@@ -912,7 +912,7 @@ const Tt = { class: "flex justify-between" }, zt = {
912
912
  }, ns = { class: "relative mt-1" }, as = {
913
913
  key: 1,
914
914
  class: "animate-pulse px-4 py-2.5 bg-gray-200 rounded-md flex justify-between items-center w-full"
915
- }, is = /* @__PURE__ */ M({
915
+ }, is = /* @__PURE__ */ B({
916
916
  __name: "uiSelect",
917
917
  props: {
918
918
  items: {},
@@ -926,19 +926,19 @@ const Tt = { class: "flex justify-between" }, zt = {
926
926
  },
927
927
  emits: ["selectChanged"],
928
928
  setup(p, { emit: i }) {
929
- const o = Y(""), a = i, r = p, l = O(() => o.value === "" ? r.items : r.items.filter((d) => d.name.toLowerCase().includes(o.value.toLowerCase()))), t = (d) => (d == null ? void 0 : d.name) ?? "", m = O(() => r.select);
929
+ const l = Y(""), a = i, r = p, o = V(() => l.value === "" ? r.items : r.items.filter((d) => d.name.toLowerCase().includes(l.value.toLowerCase()))), t = (d) => (d == null ? void 0 : d.name) ?? "", m = V(() => r.select);
930
930
  return (d, f) => d.loading ? (s(), n("div", as, [
931
931
  f[4] || (f[4] = e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, null, -1)),
932
932
  g(c(pe), {
933
933
  "aria-hidden": "true",
934
934
  class: "-mr-1 ml-2 h-5 w-5 text-gray-300 dark:text-gray-400"
935
935
  })
936
- ])) : (s(), _(c(Pe), {
936
+ ])) : (s(), _(c(Oe), {
937
937
  key: 0,
938
938
  modelValue: m.value,
939
939
  "onUpdate:modelValue": [
940
- f[2] || (f[2] = (y) => m.value = y),
941
- f[3] || (f[3] = (y) => a("selectChanged", y))
940
+ f[2] || (f[2] = (h) => m.value = h),
941
+ f[3] || (f[3] = (h) => a("selectChanged", h))
942
942
  ],
943
943
  disabled: d.disabled,
944
944
  as: "div"
@@ -947,18 +947,18 @@ const Tt = { class: "flex justify-between" }, zt = {
947
947
  e("div", ls, [
948
948
  g(c(st), { class: "block text-sm font-medium" }, {
949
949
  default: v(() => [
950
- D(u(d.label), 1)
950
+ T(u(d.label), 1)
951
951
  ]),
952
952
  _: 1
953
953
  }),
954
954
  d.requiredText ? (s(), n("span", rs, u(d.requiredText), 1)) : b("", !0)
955
955
  ]),
956
956
  e("div", ns, [
957
- g(c(Oe), {
958
- onChange: f[0] || (f[0] = (y) => o.value = y.target.value),
959
- onBlur: f[1] || (f[1] = (y) => o.value = ""),
957
+ g(c(Pe), {
958
+ onChange: f[0] || (f[0] = (h) => l.value = h.target.value),
959
+ onBlur: f[1] || (f[1] = (h) => l.value = ""),
960
960
  displayValue: t,
961
- class: h([{
961
+ class: y([{
962
962
  "border-gray-300": d.color === "gray",
963
963
  "border-red-400": d.color === "red",
964
964
  "border-yellow-400": d.color === "yellow",
@@ -981,29 +981,29 @@ const Tt = { class: "flex justify-between" }, zt = {
981
981
  ]),
982
982
  _: 1
983
983
  }),
984
- l.value.length > 0 ? (s(), _(c(Fe), {
984
+ o.value.length > 0 ? (s(), _(c(Ie), {
985
985
  key: 0,
986
986
  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"
987
987
  }, {
988
988
  default: v(() => [
989
- (s(!0), n(k, null, $(l.value, (y) => (s(), _(c(Ie), {
990
- key: y.id,
991
- value: y,
989
+ (s(!0), n(k, null, $(o.value, (h) => (s(), _(c(Fe), {
990
+ key: h.id,
991
+ value: h,
992
992
  as: "template"
993
993
  }, {
994
- default: v(({ active: w, selected: B }) => [
994
+ default: v(({ active: w, selected: N }) => [
995
995
  e("li", {
996
- class: h([
996
+ class: y([
997
997
  "relative cursor-default select-none py-2 pl-3 pr-9",
998
998
  w ? "bg-indigo-600 text-white" : "text-gray-900"
999
999
  ])
1000
1000
  }, [
1001
1001
  e("span", {
1002
- class: h(["block truncate", B && "font-semibold"])
1003
- }, u(y.name), 3),
1004
- B ? (s(), n("span", {
1002
+ class: y(["block truncate", N && "font-semibold"])
1003
+ }, u(h.name), 3),
1004
+ N ? (s(), n("span", {
1005
1005
  key: 0,
1006
- class: h([
1006
+ class: y([
1007
1007
  "absolute inset-y-0 right-0 flex items-center pr-4",
1008
1008
  w ? "text-white" : "text-indigo-600"
1009
1009
  ])
@@ -1023,14 +1023,14 @@ const Tt = { class: "flex justify-between" }, zt = {
1023
1023
  })) : b("", !0)
1024
1024
  ]),
1025
1025
  C(e("p", {
1026
- class: h([{
1026
+ class: y([{
1027
1027
  "text-gray-400": d.color === "gray",
1028
1028
  "text-red-400": d.color === "red",
1029
1029
  "text-yellow-400": d.color === "yellow",
1030
1030
  "text-green-400": d.color === "green"
1031
1031
  }, "mt-2 text-xs flex flex-row items-center"])
1032
1032
  }, u(d.error), 3), [
1033
- [S, d.error]
1033
+ [M, d.error]
1034
1034
  ])
1035
1035
  ]),
1036
1036
  _: 1
@@ -1039,7 +1039,7 @@ const Tt = { class: "flex justify-between" }, zt = {
1039
1039
  }), ds = {
1040
1040
  key: 1,
1041
1041
  class: "inline-flex items-center px-3 py-2.5 rounded text-xs font-medium leading-none animate-pulse bg-gray-200"
1042
- }, R = /* @__PURE__ */ M({
1042
+ }, R = /* @__PURE__ */ B({
1043
1043
  __name: "uiTag",
1044
1044
  props: {
1045
1045
  color: { default: "primary" },
@@ -1051,31 +1051,31 @@ const Tt = { class: "flex justify-between" }, zt = {
1051
1051
  },
1052
1052
  emits: ["tagEvent"],
1053
1053
  setup(p, { emit: i }) {
1054
- const o = i, a = p, r = () => {
1055
- a.event != null && o("tagEvent", a.event);
1054
+ const l = i, a = p, r = () => {
1055
+ a.event != null && l("tagEvent", a.event);
1056
1056
  };
1057
- return (l, t) => l.loading ? (s(), n("div", ds, t[0] || (t[0] = [
1057
+ return (o, t) => o.loading ? (s(), n("div", ds, t[0] || (t[0] = [
1058
1058
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-12" }, null, -1)
1059
1059
  ]))) : (s(), n("span", {
1060
1060
  key: 0,
1061
1061
  onClick: r,
1062
- class: h([{
1063
- "bg-indigo-100 text-indigo-800 border border-indigo-200": l.color === "primary",
1064
- "hover:bg-indigo-200 cursor-pointer": l.event !== void 0 && l.color === "primary",
1065
- "bg-red-100 text-red-800 border border-red-200": l.color === "red",
1066
- "hover:bg-red-200 cursor-pointer": l.event !== void 0 && l.color === "red",
1067
- "bg-yellow-100 text-yellow-800 border border-yellow-200": l.color === "yellow",
1068
- "hover:bg-yellow-200 cursor-pointer": l.event !== void 0 && l.color === "yellow",
1069
- "bg-green-100 text-green-800 border border-green-200": l.color === "green",
1070
- "hover:bg-green-200 cursor-pointer": l.event !== void 0 && l.color === "green",
1071
- "bg-black text-white border border-black": l.color === "black",
1072
- "text-black border border-gray-200 bg-white": l.color === "white",
1073
- "px-3 py-2": l.size === "medium",
1074
- "px-2 pt-1 pb-0.5": l.size === "small",
1075
- "px-4 py-3": l.size === "big"
1062
+ class: y([{
1063
+ "bg-indigo-100 text-indigo-800 border border-indigo-200": o.color === "primary",
1064
+ "hover:bg-indigo-200 cursor-pointer": o.event !== void 0 && o.color === "primary",
1065
+ "bg-red-100 text-red-800 border border-red-200": o.color === "red",
1066
+ "hover:bg-red-200 cursor-pointer": o.event !== void 0 && o.color === "red",
1067
+ "bg-yellow-100 text-yellow-800 border border-yellow-200": o.color === "yellow",
1068
+ "hover:bg-yellow-200 cursor-pointer": o.event !== void 0 && o.color === "yellow",
1069
+ "bg-green-100 text-green-800 border border-green-200": o.color === "green",
1070
+ "hover:bg-green-200 cursor-pointer": o.event !== void 0 && o.color === "green",
1071
+ "bg-black text-white border border-black": o.color === "black",
1072
+ "text-black border border-gray-200 bg-white": o.color === "white",
1073
+ "px-3 py-2": o.size === "medium",
1074
+ "px-2 pt-1 pb-0.5": o.size === "small",
1075
+ "px-4 py-3": o.size === "big"
1076
1076
  }, "inline-flex items-center rounded text-xs font-medium leading-none"])
1077
1077
  }, [
1078
- I(l.$slots, "default")
1078
+ F(o.$slots, "default")
1079
1079
  ], 2));
1080
1080
  }
1081
1081
  }), us = { key: 0 }, cs = { class: "flex justify-between" }, gs = {
@@ -1087,7 +1087,7 @@ const Tt = { class: "flex justify-between" }, zt = {
1087
1087
  }, ms = ["disabled", "placeholder"], fs = {
1088
1088
  key: 1,
1089
1089
  class: "animate-pulse"
1090
- }, ys = /* @__PURE__ */ M({
1090
+ }, hs = /* @__PURE__ */ B({
1091
1091
  __name: "uiTextArea",
1092
1092
  props: {
1093
1093
  name: {},
@@ -1102,11 +1102,11 @@ const Tt = { class: "flex justify-between" }, zt = {
1102
1102
  },
1103
1103
  emits: ["inputChanged"],
1104
1104
  setup(p, { emit: i }) {
1105
- const o = i, a = p, r = (t) => {
1106
- o("inputChanged", t.target.value);
1107
- }, l = Y(a.value);
1105
+ const l = i, a = p, r = (t) => {
1106
+ l("inputChanged", t.target.value);
1107
+ }, o = Y(a.value);
1108
1108
  return Z(() => a.value, (t) => {
1109
- l.value = t, o("inputChanged", { name: a.name, value: l.value });
1109
+ o.value = t, l("inputChanged", { name: a.name, value: o.value });
1110
1110
  }), (t, m) => t.loading ? (s(), n("div", fs, m[1] || (m[1] = [
1111
1111
  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),
1112
1112
  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,14 +1116,14 @@ const Tt = { class: "flex justify-between" }, zt = {
1116
1116
  t.requiredText ? (s(), n("span", ps, u(t.requiredText), 1)) : b("", !0)
1117
1117
  ]),
1118
1118
  e("div", {
1119
- class: h({ "mt-1": t.label })
1119
+ class: y({ "mt-1": t.label })
1120
1120
  }, [
1121
1121
  C(e("textarea", {
1122
1122
  disabled: t.disabled,
1123
1123
  rows: "4",
1124
- "onUpdate:modelValue": m[0] || (m[0] = (d) => l.value = d),
1124
+ "onUpdate:modelValue": m[0] || (m[0] = (d) => o.value = d),
1125
1125
  placeholder: t.placeholder,
1126
- class: h(["shadow-sm focus:ring-indigo-500 focus:border-indigo-500 block w-full sm:text-sm rounded-md", {
1126
+ class: y(["shadow-sm focus:ring-indigo-500 focus:border-indigo-500 block w-full sm:text-sm rounded-md", {
1127
1127
  "border-gray-300": t.color === "gray",
1128
1128
  "border-red-300": t.color === "red",
1129
1129
  "border-yellow-400": t.color === "yellow",
@@ -1136,36 +1136,36 @@ const Tt = { class: "flex justify-between" }, zt = {
1136
1136
  }]),
1137
1137
  onChange: r
1138
1138
  }, null, 42, ms), [
1139
- [ge, l.value]
1139
+ [ge, o.value]
1140
1140
  ])
1141
1141
  ], 2),
1142
1142
  C(e("p", {
1143
- class: h([{
1143
+ class: y([{
1144
1144
  "text-gray-300": t.color === "gray",
1145
1145
  "text-red-300": t.color === "red",
1146
1146
  "text-yellow-400": t.color === "yellow",
1147
1147
  "text-green-400": t.color === "green"
1148
1148
  }, "mt-2 text-xs flex flex-row items-center"])
1149
1149
  }, [
1150
- g(j, {
1150
+ g(D, {
1151
1151
  icon: c(ce),
1152
1152
  color: "red",
1153
1153
  class: "mr-2",
1154
1154
  loading: !1
1155
1155
  }, null, 8, ["icon"]),
1156
- D(" " + u(t.error), 1)
1156
+ T(" " + u(t.error), 1)
1157
1157
  ], 2), [
1158
- [S, t.error]
1158
+ [M, t.error]
1159
1159
  ])
1160
1160
  ]));
1161
1161
  }
1162
- }), hs = { class: "text-sm font-medium text-gray-900" }, vs = {
1162
+ }), ys = { class: "text-sm font-medium text-gray-900" }, vs = {
1163
1163
  key: 0,
1164
1164
  class: "text-sm text-gray-500 ml-2"
1165
1165
  }, bs = {
1166
1166
  key: 1,
1167
1167
  class: "animate-pulse flex items-center"
1168
- }, ws = /* @__PURE__ */ M({
1168
+ }, ws = /* @__PURE__ */ B({
1169
1169
  __name: "uiToggle",
1170
1170
  props: {
1171
1171
  item: {},
@@ -1175,8 +1175,8 @@ const Tt = { class: "flex justify-between" }, zt = {
1175
1175
  },
1176
1176
  emits: ["toggleChanged", "actionClicked"],
1177
1177
  setup(p, { emit: i }) {
1178
- const o = p, a = Y(o.checked);
1179
- return Z(() => o.checked, (r) => a.value = r), (r, l) => r.loading ? (s(), n("div", bs, l[3] || (l[3] = [
1178
+ const l = p, a = Y(l.checked);
1179
+ return Z(() => l.checked, (r) => a.value = r), (r, o) => r.loading ? (s(), n("div", bs, o[3] || (o[3] = [
1180
1180
  e("div", { class: "relative bg-gray-200 rounded-full w-12 h-6 p-1 flex items-center" }, [
1181
1181
  e("div", { class: "rounded-full bg-gray-300 dark:bg-gray-400 h-4 w-4" })
1182
1182
  ], -1),
@@ -1189,10 +1189,10 @@ const Tt = { class: "flex justify-between" }, zt = {
1189
1189
  default: v(() => [
1190
1190
  g(c(lt), {
1191
1191
  disabled: r.disabled,
1192
- onClick: l[0] || (l[0] = (t) => r.$emit("toggleChanged", { item: r.item, active: !a.value })),
1192
+ onClick: o[0] || (o[0] = (t) => r.$emit("toggleChanged", { item: r.item, active: !a.value })),
1193
1193
  modelValue: a.value,
1194
- "onUpdate:modelValue": l[1] || (l[1] = (t) => a.value = t),
1195
- class: h([
1194
+ "onUpdate:modelValue": o[1] || (o[1] = (t) => a.value = t),
1195
+ class: y([
1196
1196
  a.value ? "bg-indigo-600" : "bg-gray-200",
1197
1197
  "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"
1198
1198
  ])
@@ -1200,7 +1200,7 @@ const Tt = { class: "flex justify-between" }, zt = {
1200
1200
  default: v(() => [
1201
1201
  e("span", {
1202
1202
  "aria-hidden": "true",
1203
- class: h([
1203
+ class: y([
1204
1204
  a.value ? "translate-x-5" : "translate-x-0",
1205
1205
  r.disabled ? "bg-gray-300" : "",
1206
1206
  "pointer-events-none inline-block h-5 w-5 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out"
@@ -1214,7 +1214,7 @@ const Tt = { class: "flex justify-between" }, zt = {
1214
1214
  class: "ml-3"
1215
1215
  }, {
1216
1216
  default: v(() => [
1217
- e("span", hs, u(r.item.title), 1),
1217
+ e("span", ys, u(r.item.title), 1),
1218
1218
  r.item.subtitle ? (s(), n("span", vs, u(r.item.subtitle), 1)) : b("", !0)
1219
1219
  ]),
1220
1220
  _: 1
@@ -1222,7 +1222,7 @@ const Tt = { class: "flex justify-between" }, zt = {
1222
1222
  r.item.action ? (s(), n("span", {
1223
1223
  key: 0,
1224
1224
  class: "cursor-pointer text-indigo-600 hover:text-indigo-400 uppercase text-xs absolute right-0 bottom-0.5",
1225
- onClick: l[2] || (l[2] = (t) => r.$emit("actionClicked", r.item))
1225
+ onClick: o[2] || (o[2] = (t) => r.$emit("actionClicked", r.item))
1226
1226
  }, u(r.item.action), 1)) : b("", !0)
1227
1227
  ]),
1228
1228
  _: 1
@@ -1234,7 +1234,7 @@ const Tt = { class: "flex justify-between" }, zt = {
1234
1234
  }, ks = { class: "flex" }, _s = { class: "flex-shrink-0" }, $s = { class: "ml-3" }, Cs = { class: "mt-4" }, Bs = { class: "-mx-2 -my-1.5 flex" }, Ms = ["onClick"], Ss = {
1235
1235
  key: 1,
1236
1236
  class: "flex flex-col animate-pulse"
1237
- }, js = /* @__PURE__ */ M({
1237
+ }, Ds = /* @__PURE__ */ B({
1238
1238
  __name: "uiAlert",
1239
1239
  props: {
1240
1240
  actions: {},
@@ -1244,14 +1244,14 @@ const Tt = { class: "flex justify-between" }, zt = {
1244
1244
  },
1245
1245
  emits: ["alertEvent"],
1246
1246
  setup(p, { emit: i }) {
1247
- const o = i, a = (r) => {
1248
- o("alertEvent", r.event);
1247
+ const l = i, a = (r) => {
1248
+ l("alertEvent", r.event);
1249
1249
  };
1250
- return (r, l) => r.loading ? (s(), n("div", Ss, l[0] || (l[0] = [
1250
+ return (r, o) => r.loading ? (s(), n("div", Ss, o[0] || (o[0] = [
1251
1251
  Q('<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)
1252
1252
  ]))) : (s(), n("div", xs, [
1253
1253
  e("div", {
1254
- class: h([{
1254
+ class: y([{
1255
1255
  "bg-indigo-50 border-indigo-400": r.type === "info",
1256
1256
  "bg-red-50 border-red-400": r.type === "danger",
1257
1257
  "bg-yellow-50 border-yellow-400": r.type === "warning",
@@ -1283,20 +1283,20 @@ const Tt = { class: "flex justify-between" }, zt = {
1283
1283
  ]),
1284
1284
  e("div", $s, [
1285
1285
  e("h3", {
1286
- class: h([{
1286
+ class: y([{
1287
1287
  "text-red-800": r.type === "danger",
1288
1288
  "text-yellow-800": r.type === "warning",
1289
1289
  "text-green-800": r.type === "success"
1290
1290
  }, "text-sm font-medium"])
1291
1291
  }, u(r.title), 3),
1292
1292
  e("div", {
1293
- class: h([{
1293
+ class: y([{
1294
1294
  "text-red-700": r.type === "danger",
1295
1295
  "text-yellow-700": r.type === "warning",
1296
1296
  "text-green-700": r.type === "success"
1297
1297
  }, "mt-2 text-sm"])
1298
1298
  }, [
1299
- I(r.$slots, "default")
1299
+ F(r.$slots, "default")
1300
1300
  ], 2),
1301
1301
  e("div", Cs, [
1302
1302
  e("div", Bs, [
@@ -1304,7 +1304,7 @@ const Tt = { class: "flex justify-between" }, zt = {
1304
1304
  onClick: (d) => a(t),
1305
1305
  type: "button",
1306
1306
  key: m,
1307
- class: h([
1307
+ class: y([
1308
1308
  {
1309
1309
  "bg-green-50 text-green-800 hover:bg-green-100 focus:ring-green-600 focus:ring-offset-green-50": r.type === "success",
1310
1310
  "bg-indigo-50 text-indigo-800 hover:bg-indigo-100 focus:ring-indigo-600 focus:ring-offset-indigo-50": r.type === "info",
@@ -1321,7 +1321,7 @@ const Tt = { class: "flex justify-between" }, zt = {
1321
1321
  ], 2)
1322
1322
  ]));
1323
1323
  }
1324
- }), Ds = {
1324
+ }), js = {
1325
1325
  key: 0,
1326
1326
  class: "inline-flex",
1327
1327
  "aria-label": "Breadcrumb"
@@ -1334,7 +1334,7 @@ const Tt = { class: "flex justify-between" }, zt = {
1334
1334
  }, As = ["onClick"], Ys = {
1335
1335
  key: 1,
1336
1336
  class: "flex flex-row items-center animate-pulse"
1337
- }, Ps = /* @__PURE__ */ M({
1337
+ }, Os = /* @__PURE__ */ B({
1338
1338
  __name: "uiBreadcrumbs",
1339
1339
  props: {
1340
1340
  pages: {},
@@ -1342,17 +1342,17 @@ const Tt = { class: "flex justify-between" }, zt = {
1342
1342
  },
1343
1343
  emits: ["breadCrumbClicked"],
1344
1344
  setup(p, { emit: i }) {
1345
- return (o, a) => o.loading ? (s(), n("div", Ys, a[0] || (a[0] = [
1345
+ return (l, a) => l.loading ? (s(), n("div", Ys, a[0] || (a[0] = [
1346
1346
  e("div", { class: "animate-pulse rounded-full bg-gray-200 dark:bg-gray-300 h-4 w-4 mr-4" }, null, -1),
1347
1347
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/5 mr-4" }, null, -1),
1348
1348
  e("div", { class: "animate-pulse rounded-full bg-gray-200 dark:bg-gray-300 h-4 w-4 mr-4" }, null, -1),
1349
1349
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/5" }, null, -1)
1350
- ]))) : (s(), n("nav", Ds, [
1350
+ ]))) : (s(), n("nav", js, [
1351
1351
  e("ol", Ts, [
1352
- (s(!0), n(k, null, $(o.pages, (r, l) => (s(), n("li", { key: l }, [
1353
- l === 0 ? (s(), n("div", zs, [
1352
+ (s(!0), n(k, null, $(l.pages, (r, o) => (s(), n("li", { key: o }, [
1353
+ o === 0 ? (s(), n("div", zs, [
1354
1354
  e("p", {
1355
- onClick: (t) => o.$emit("breadCrumbClicked", r.routeName),
1355
+ onClick: (t) => l.$emit("breadCrumbClicked", r.routeName),
1356
1356
  class: "flex flex-row items-center justify-center text-indigo-600 hover:text-indigo-800 cursor-pointer"
1357
1357
  }, [
1358
1358
  g(c(Mt), {
@@ -1367,8 +1367,8 @@ const Tt = { class: "flex justify-between" }, zt = {
1367
1367
  "aria-hidden": "true"
1368
1368
  }),
1369
1369
  e("span", {
1370
- onClick: (t) => o.$emit("breadCrumbClicked", r.routeName),
1371
- class: h(["cursor-pointer ml-4 text-xs text-gray-400 hover:text-gray-500", { "text-indigo-600 hover:text-indigo-800": !r.current }]),
1370
+ onClick: (t) => l.$emit("breadCrumbClicked", r.routeName),
1371
+ class: y(["cursor-pointer ml-4 text-xs text-gray-400 hover:text-gray-500", { "text-indigo-600 hover:text-indigo-800": !r.current }]),
1372
1372
  "aria-current": "page"
1373
1373
  }, u(r.name), 11, As)
1374
1374
  ]))
@@ -1376,13 +1376,13 @@ const Tt = { class: "flex justify-between" }, zt = {
1376
1376
  ])
1377
1377
  ]));
1378
1378
  }
1379
- }), Os = { class: "flex items-center flex-col sm:flex-row justify-center sm:justify-start" }, Vs = ["src"], Fs = { class: "font-bold text-center sm:text-left" }, Is = { class: "mt-1 text-xs text-center sm:text-left" }, Rs = {
1379
+ }), Ps = { class: "flex items-center flex-col sm:flex-row justify-center sm:justify-start" }, Vs = ["src"], Is = { class: "font-bold text-center sm:text-left" }, Fs = { class: "mt-1 text-xs text-center sm:text-left" }, Rs = {
1380
1380
  key: 0,
1381
1381
  class: "flex flex-wrap mt-4 justify-center sm:justify-start"
1382
1382
  }, qs = {
1383
1383
  key: 1,
1384
1384
  class: "rounded-lg bg-white shadow p-6 cursor-pointer animate-pulse"
1385
- }, Hs = /* @__PURE__ */ M({
1385
+ }, Hs = /* @__PURE__ */ B({
1386
1386
  __name: "uiCard",
1387
1387
  props: {
1388
1388
  id: {},
@@ -1394,34 +1394,34 @@ const Tt = { class: "flex justify-between" }, zt = {
1394
1394
  },
1395
1395
  emits: ["cardSelected"],
1396
1396
  setup(p, { emit: i }) {
1397
- return (o, a) => {
1397
+ return (l, a) => {
1398
1398
  var r;
1399
- return o.loading ? (s(), n("div", qs, a[1] || (a[1] = [
1399
+ return l.loading ? (s(), n("div", qs, a[1] || (a[1] = [
1400
1400
  Q('<div class="flex items-center flex-col sm:flex-row justify-center sm:justify-start w-full"><div class="w-16 h-16 rounded-full bg-gray-200 flex self-center"></div><div class="w-full ml-4"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full mt-4 sm:mt-0 sm:w-16 mb-2"></div><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full sm:w-32"></div></div></div>', 1)
1401
1401
  ]))) : (s(), n("div", {
1402
1402
  key: 0,
1403
1403
  class: "rounded-lg bg-white shadow p-6 cursor-pointer",
1404
- onClick: a[0] || (a[0] = (l) => o.$emit("cardSelected", { id: o.id, name: o.name, type: o.type, tags: o.tags }))
1404
+ onClick: a[0] || (a[0] = (o) => l.$emit("cardSelected", { id: l.id, name: l.name, type: l.type, tags: l.tags }))
1405
1405
  }, [
1406
- e("div", Os, [
1406
+ e("div", Ps, [
1407
1407
  e("img", {
1408
1408
  class: "w-16 h-16 rounded-full mb-4 sm:mb-0 sm:mr-4",
1409
- src: o.logo
1409
+ src: l.logo
1410
1410
  }, null, 8, Vs),
1411
1411
  e("div", null, [
1412
- e("h4", Fs, u(o.name), 1),
1413
- e("p", Is, u(o.type), 1)
1412
+ e("h4", Is, u(l.name), 1),
1413
+ e("p", Fs, u(l.type), 1)
1414
1414
  ])
1415
1415
  ]),
1416
- o.tags && ((r = o.tags) == null ? void 0 : r.length) > 0 ? (s(), n("div", Rs, [
1417
- (s(!0), n(k, null, $(o.tags, (l) => (s(), _(R, {
1416
+ l.tags && ((r = l.tags) == null ? void 0 : r.length) > 0 ? (s(), n("div", Rs, [
1417
+ (s(!0), n(k, null, $(l.tags, (o) => (s(), _(R, {
1418
1418
  class: "mb-1 mr-1",
1419
- key: l.name,
1420
- color: l.color,
1421
- loading: o.loading
1419
+ key: o.name,
1420
+ color: o.color,
1421
+ loading: l.loading
1422
1422
  }, {
1423
1423
  default: v(() => [
1424
- D(u(l.name), 1)
1424
+ T(u(o.name), 1)
1425
1425
  ]),
1426
1426
  _: 2
1427
1427
  }, 1032, ["color", "loading"]))), 128))
@@ -1429,7 +1429,7 @@ const Tt = { class: "flex justify-between" }, zt = {
1429
1429
  ]));
1430
1430
  };
1431
1431
  }
1432
- }), Es = /* @__PURE__ */ M({
1432
+ }), Es = /* @__PURE__ */ B({
1433
1433
  __name: "uiFilter",
1434
1434
  props: {
1435
1435
  items: {},
@@ -1439,23 +1439,23 @@ const Tt = { class: "flex justify-between" }, zt = {
1439
1439
  },
1440
1440
  emits: ["filterSelected"],
1441
1441
  setup(p, { emit: i }) {
1442
- const o = i, a = p, r = (t) => {
1443
- l.value.forEach((m) => {
1442
+ const l = i, a = p, r = (t) => {
1443
+ o.value.forEach((m) => {
1444
1444
  m.active = m.value === t.value;
1445
- }), o("filterSelected", t);
1446
- }, l = Y(a.items);
1445
+ }), l("filterSelected", t);
1446
+ }, o = Y(a.items);
1447
1447
  return (t, m) => (s(), _(Ce, {
1448
1448
  loading: t.loading,
1449
1449
  onOptionSelected: m[0] || (m[0] = (d) => r(d)),
1450
1450
  position: t.position,
1451
- items: l.value,
1451
+ items: o.value,
1452
1452
  label: t.label
1453
1453
  }, null, 8, ["loading", "position", "items", "label"]));
1454
1454
  }
1455
1455
  }), Us = { class: "fixed inset-0 z-10 overflow-y-auto" }, Zs = { class: "flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0" }, Js = { class: "absolute top-0 right-0 hidden pt-4 pr-4 sm:block" }, Ws = { class: "sm:flex sm:items-start" }, Gs = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left sm:mr-4 sm:w-10/12 break-words" }, Qs = { class: "mt-4 text-gray-500 text-sm" }, Ks = {
1456
1456
  key: 0,
1457
1457
  class: "mt-8"
1458
- }, Xs = ["onClick"], Je = /* @__PURE__ */ M({
1458
+ }, Xs = ["onClick"], Je = /* @__PURE__ */ B({
1459
1459
  __name: "uiModal",
1460
1460
  props: {
1461
1461
  title: {},
@@ -1467,12 +1467,12 @@ const Tt = { class: "flex justify-between" }, zt = {
1467
1467
  },
1468
1468
  emits: ["modalAction"],
1469
1469
  setup(p, { emit: i }) {
1470
- const o = p, a = i, r = (l) => {
1471
- a("modalAction", { modal: o.modalName, action: l });
1470
+ const l = p, a = i, r = (o) => {
1471
+ a("modalAction", { modal: l.modalName, action: o });
1472
1472
  };
1473
- return (l, t) => (s(), _(c(be), {
1473
+ return (o, t) => (s(), _(c(be), {
1474
1474
  as: "template",
1475
- show: l.open
1475
+ show: o.open
1476
1476
  }, {
1477
1477
  default: v(() => [
1478
1478
  g(c(we), {
@@ -1516,45 +1516,45 @@ const Tt = { class: "flex justify-between" }, zt = {
1516
1516
  onClick: t[0] || (t[0] = (m) => r("close"))
1517
1517
  }, [
1518
1518
  t[3] || (t[3] = e("span", { class: "sr-only" }, "X", -1)),
1519
- g(j, {
1519
+ g(D, {
1520
1520
  icon: c(U),
1521
1521
  "aria-hidden": "true",
1522
- loading: l.loading
1522
+ loading: o.loading
1523
1523
  }, null, 8, ["icon", "loading"])
1524
1524
  ])
1525
1525
  ]),
1526
1526
  e("div", Ws, [
1527
1527
  e("div", {
1528
- 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", {
1529
- "bg-red-100": l.type === "danger",
1530
- "bg-green-100": l.type === "success",
1531
- "bg-indigo-100": l.type === "default",
1532
- "bg-yellow-100": l.type === "warning"
1528
+ 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", {
1529
+ "bg-red-100": o.type === "danger",
1530
+ "bg-green-100": o.type === "success",
1531
+ "bg-indigo-100": o.type === "default",
1532
+ "bg-yellow-100": o.type === "warning"
1533
1533
  }])
1534
1534
  }, [
1535
1535
  C(g(c(U), {
1536
1536
  class: "h-6 w-6 text-red-600",
1537
1537
  "aria-hidden": "true"
1538
1538
  }, null, 512), [
1539
- [S, l.type === "danger"]
1539
+ [M, o.type === "danger"]
1540
1540
  ]),
1541
1541
  C(g(c(ue), {
1542
1542
  class: "h-6 w-6 text-green-600",
1543
1543
  "aria-hidden": "true"
1544
1544
  }, null, 512), [
1545
- [S, l.type === "success"]
1545
+ [M, o.type === "success"]
1546
1546
  ]),
1547
1547
  C(g(c(q), {
1548
1548
  class: "h-6 w-6 text-yellow-600",
1549
1549
  "aria-hidden": "true"
1550
1550
  }, null, 512), [
1551
- [S, l.type === "warning"]
1551
+ [M, o.type === "warning"]
1552
1552
  ]),
1553
1553
  C(g(c(Bt), {
1554
1554
  class: "h-6 w-6 text-indigo-600",
1555
1555
  "aria-hidden": "true"
1556
1556
  }, null, 512), [
1557
- [S, l.type === "default"]
1557
+ [M, o.type === "default"]
1558
1558
  ])
1559
1559
  ], 2),
1560
1560
  e("div", Gs, [
@@ -1563,15 +1563,15 @@ const Tt = { class: "flex justify-between" }, zt = {
1563
1563
  class: "text-lg font-medium leading-6 text-gray-900"
1564
1564
  }, {
1565
1565
  default: v(() => [
1566
- D(u(l.title), 1)
1566
+ T(u(o.title), 1)
1567
1567
  ]),
1568
1568
  _: 1
1569
1569
  }),
1570
1570
  e("div", Qs, [
1571
- I(l.$slots, "default")
1571
+ F(o.$slots, "default")
1572
1572
  ]),
1573
- l.actions ? (s(), n("div", Ks, [
1574
- (s(!0), n(k, null, $(l.actions, (m, d) => (s(), n("button", {
1573
+ o.actions ? (s(), n("div", Ks, [
1574
+ (s(!0), n(k, null, $(o.actions, (m, d) => (s(), n("button", {
1575
1575
  key: d,
1576
1576
  type: "button",
1577
1577
  class: "inline-flex w-full justify-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-base font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 mb-2 sm:mb-0 mr-2 sm:w-auto sm:text-sm",
@@ -1598,7 +1598,7 @@ const Tt = { class: "flex justify-between" }, zt = {
1598
1598
  }), eo = { class: "w-full flex flex-col items-center space-y-4 sm:items-end" }, to = {
1599
1599
  key: 0,
1600
1600
  class: "max-w-sm w-full bg-white shadow-lg rounded-lg pointer-events-auto ring-1 ring-black ring-opacity-5 overflow-hidden"
1601
- }, so = { class: "p-4" }, oo = { class: "flex items-start" }, lo = { class: "flex-shrink-0 mt-0.5" }, ro = { class: "ml-3 w-0 flex-1 pt-0.5" }, no = { class: "font-medium text-gray-900" }, ao = { class: "mt-1 text-sm text-gray-500" }, io = { class: "ml-4 flex-shrink-0 flex" }, uo = /* @__PURE__ */ M({
1601
+ }, so = { class: "p-4" }, oo = { class: "flex items-start" }, lo = { class: "flex-shrink-0 mt-0.5" }, ro = { class: "ml-3 w-0 flex-1 pt-0.5" }, no = { class: "font-medium text-gray-900" }, ao = { class: "mt-1 text-sm text-gray-500" }, io = { class: "ml-4 flex-shrink-0 flex" }, uo = /* @__PURE__ */ B({
1602
1602
  __name: "uiNotification",
1603
1603
  props: {
1604
1604
  type: { default: "info" },
@@ -1609,10 +1609,10 @@ const Tt = { class: "flex justify-between" }, zt = {
1609
1609
  },
1610
1610
  emits: ["closeNotification"],
1611
1611
  setup(p, { emit: i }) {
1612
- const o = p, a = O(() => o.show);
1613
- return (r, l) => (s(), n("div", {
1612
+ const l = p, a = V(() => l.show);
1613
+ return (r, o) => (s(), n("div", {
1614
1614
  "aria-live": "assertive",
1615
- class: h([{ fixed: r.fixed }, "inset-0 flex items-end px-4 py-6 pointer-events-none sm:p-6 sm:items-start"])
1615
+ class: y([{ fixed: r.fixed }, "inset-0 flex items-end px-4 py-6 pointer-events-none sm:p-6 sm:items-start"])
1616
1616
  }, [
1617
1617
  e("div", eo, [
1618
1618
  g(de, {
@@ -1632,25 +1632,25 @@ const Tt = { class: "flex justify-between" }, zt = {
1632
1632
  "aria-hidden": "true",
1633
1633
  class: "h-6 w-6 text-green-400"
1634
1634
  }, null, 512), [
1635
- [S, r.type === "success"]
1635
+ [M, r.type === "success"]
1636
1636
  ]),
1637
1637
  C(g(c(ce), {
1638
1638
  "aria-hidden": "true",
1639
1639
  class: "h-6 w-6 text-red-400"
1640
1640
  }, null, 512), [
1641
- [S, r.type === "danger"]
1641
+ [M, r.type === "danger"]
1642
1642
  ]),
1643
1643
  C(g(c(q), {
1644
1644
  "aria-hidden": "true",
1645
1645
  class: "h-6 w-6 text-yellow-400"
1646
1646
  }, null, 512), [
1647
- [S, r.type === "warning"]
1647
+ [M, r.type === "warning"]
1648
1648
  ]),
1649
1649
  C(g(c(Ze), {
1650
1650
  "aria-hidden": "true",
1651
1651
  class: "h-6 w-6 text-indigo-600"
1652
1652
  }, null, 512), [
1653
- [S, r.type === "info"]
1653
+ [M, r.type === "info"]
1654
1654
  ])
1655
1655
  ]),
1656
1656
  e("div", ro, [
@@ -1661,9 +1661,9 @@ const Tt = { class: "flex justify-between" }, zt = {
1661
1661
  e("button", {
1662
1662
  class: "bg-white rounded-md inline-flex text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500",
1663
1663
  type: "button",
1664
- onClick: l[0] || (l[0] = (t) => r.$emit("closeNotification"))
1664
+ onClick: o[0] || (o[0] = (t) => r.$emit("closeNotification"))
1665
1665
  }, [
1666
- l[1] || (l[1] = e("span", { class: "sr-only" }, "Close", -1)),
1666
+ o[1] || (o[1] = e("span", { class: "sr-only" }, "Close", -1)),
1667
1667
  g(c(U), {
1668
1668
  "aria-hidden": "true",
1669
1669
  class: "h-5 w-5"
@@ -1683,21 +1683,21 @@ const Tt = { class: "flex justify-between" }, zt = {
1683
1683
  key: 0,
1684
1684
  role: "list",
1685
1685
  class: "divide-y divide-gray-100"
1686
- }, 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 = {
1686
+ }, 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 = {
1687
1687
  key: 1,
1688
1688
  class: "divide-y divide-gray-100 animate-pulse"
1689
- }, xo = /* @__PURE__ */ M({
1689
+ }, xo = /* @__PURE__ */ B({
1690
1690
  __name: "uiTaskList",
1691
1691
  props: {
1692
1692
  tasks: {},
1693
1693
  loading: { type: Boolean, default: !0 }
1694
1694
  },
1695
1695
  setup(p) {
1696
- return (i, o) => i.loading ? (s(), n("ul", wo, [
1696
+ return (i, l) => i.loading ? (s(), n("ul", wo, [
1697
1697
  (s(!0), n(k, null, $(i.tasks, (a) => (s(), n("li", {
1698
1698
  key: a.id,
1699
1699
  class: "flex items-center justify-between gap-x-6 py-5"
1700
- }, o[0] || (o[0] = [
1700
+ }, l[0] || (l[0] = [
1701
1701
  Q('<div class="min-w-0 w-full"><div class="flex items-start gap-x-3"><p class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2"></p></div></div><div class="flex flex-none items-center gap-x-4"><div class="hidden rounded-md bg-gray-200 px-2.5 py-1.5 text-sm font-semibold text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 hover:bg-gray-50 sm:block"><p class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-10"></p></div></div>', 2)
1702
1702
  ])))), 128))
1703
1703
  ])) : (s(), n("ul", co, [
@@ -1709,7 +1709,7 @@ const Tt = { class: "flex justify-between" }, zt = {
1709
1709
  e("div", po, [
1710
1710
  e("p", mo, u(a.name), 1),
1711
1711
  e("p", {
1712
- class: h([
1712
+ class: y([
1713
1713
  {
1714
1714
  "text-green-700 bg-green-50 ring-green-600/20": a.status === "Complete",
1715
1715
  "text-gray-600 bg-gray-50 ring-gray-500/10": a.status === "In progress",
@@ -1720,15 +1720,15 @@ const Tt = { class: "flex justify-between" }, zt = {
1720
1720
  }, u(a.statusLiteral), 3)
1721
1721
  ]),
1722
1722
  e("div", fo, [
1723
- e("p", yo, u(a.description), 1)
1723
+ e("p", ho, u(a.description), 1)
1724
1724
  ])
1725
1725
  ]),
1726
- e("div", ho, [
1726
+ e("div", yo, [
1727
1727
  e("a", {
1728
1728
  href: a.href,
1729
1729
  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"
1730
1730
  }, [
1731
- D(u(a.action), 1),
1731
+ T(u(a.action), 1),
1732
1732
  e("span", bo, ", " + u(a.name), 1)
1733
1733
  ], 8, vo)
1734
1734
  ])
@@ -1742,32 +1742,32 @@ function ko(p) {
1742
1742
  var oe = { exports: {} }, _o = oe.exports, Se;
1743
1743
  function $o() {
1744
1744
  return Se || (Se = 1, function(p, i) {
1745
- (function(o, a) {
1746
- p.exports = a(L);
1747
- })(_o, function(o) {
1745
+ (function(l, a) {
1746
+ p.exports = a(j);
1747
+ })(_o, function(l) {
1748
1748
  function a(t) {
1749
1749
  return t && typeof t == "object" && "default" in t ? t : { default: t };
1750
1750
  }
1751
- var r = a(o), l = { name: "es", monthsShort: "ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"), weekdays: "domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"), weekdaysShort: "dom._lun._mar._mié._jue._vie._sáb.".split("_"), weekdaysMin: "do_lu_ma_mi_ju_vi_sá".split("_"), months: "enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"), weekStart: 1, formats: { LT: "H:mm", LTS: "H:mm:ss", L: "DD/MM/YYYY", LL: "D [de] MMMM [de] YYYY", LLL: "D [de] MMMM [de] YYYY H:mm", LLLL: "dddd, D [de] MMMM [de] YYYY H:mm" }, relativeTime: { future: "en %s", past: "hace %s", s: "unos segundos", m: "un minuto", mm: "%d minutos", h: "una hora", hh: "%d horas", d: "un día", dd: "%d días", M: "un mes", MM: "%d meses", y: "un año", yy: "%d años" }, ordinal: function(t) {
1751
+ var r = a(l), o = { name: "es", monthsShort: "ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"), weekdays: "domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"), weekdaysShort: "dom._lun._mar._mié._jue._vie._sáb.".split("_"), weekdaysMin: "do_lu_ma_mi_ju_vi_sá".split("_"), months: "enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"), weekStart: 1, formats: { LT: "H:mm", LTS: "H:mm:ss", L: "DD/MM/YYYY", LL: "D [de] MMMM [de] YYYY", LLL: "D [de] MMMM [de] YYYY H:mm", LLLL: "dddd, D [de] MMMM [de] YYYY H:mm" }, relativeTime: { future: "en %s", past: "hace %s", s: "unos segundos", m: "un minuto", mm: "%d minutos", h: "una hora", hh: "%d horas", d: "un día", dd: "%d días", M: "un mes", MM: "%d meses", y: "un año", yy: "%d años" }, ordinal: function(t) {
1752
1752
  return t + "º";
1753
1753
  } };
1754
- return r.default.locale(l, null, !0), l;
1754
+ return r.default.locale(o, null, !0), o;
1755
1755
  });
1756
1756
  }(oe)), oe.exports;
1757
1757
  }
1758
1758
  $o();
1759
- var le = { exports: {} }, Co = le.exports, je;
1759
+ var le = { exports: {} }, Co = le.exports, De;
1760
1760
  function Bo() {
1761
- return je || (je = 1, function(p, i) {
1762
- (function(o, a) {
1763
- p.exports = a(L);
1764
- })(Co, function(o) {
1761
+ return De || (De = 1, function(p, i) {
1762
+ (function(l, a) {
1763
+ p.exports = a(j);
1764
+ })(Co, function(l) {
1765
1765
  function a(d) {
1766
1766
  return d && typeof d == "object" && "default" in d ? d : { default: d };
1767
1767
  }
1768
- 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"] };
1769
- function t(d, f, y) {
1770
- var w = l[y];
1768
+ var r = a(l), o = { s: "ein paar Sekunden", m: ["eine Minute", "einer Minute"], mm: "%d Minuten", h: ["eine Stunde", "einer Stunde"], hh: "%d Stunden", d: ["ein Tag", "einem Tag"], dd: ["%d Tage", "%d Tagen"], M: ["ein Monat", "einem Monat"], MM: ["%d Monate", "%d Monaten"], y: ["ein Jahr", "einem Jahr"], yy: ["%d Jahre", "%d Jahren"] };
1769
+ function t(d, f, h) {
1770
+ var w = o[h];
1771
1771
  return Array.isArray(w) && (w = w[f ? 0 : 1]), w.replace("%d", d);
1772
1772
  }
1773
1773
  var m = { name: "de", weekdays: "Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"), weekdaysShort: "So._Mo._Di._Mi._Do._Fr._Sa.".split("_"), weekdaysMin: "So_Mo_Di_Mi_Do_Fr_Sa".split("_"), months: "Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"), monthsShort: "Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"), ordinal: function(d) {
@@ -1778,54 +1778,54 @@ function Bo() {
1778
1778
  }(le)), le.exports;
1779
1779
  }
1780
1780
  Bo();
1781
- var re = { exports: {} }, Mo = re.exports, De;
1781
+ var re = { exports: {} }, Mo = re.exports, je;
1782
1782
  function So() {
1783
- return De || (De = 1, function(p, i) {
1784
- (function(o, a) {
1783
+ return je || (je = 1, function(p, i) {
1784
+ (function(l, a) {
1785
1785
  p.exports = a();
1786
1786
  })(Mo, function() {
1787
- return { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(o) {
1788
- var a = ["th", "st", "nd", "rd"], r = o % 100;
1789
- return "[" + o + (a[(r - 20) % 10] || a[r] || a[0]) + "]";
1787
+ return { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(l) {
1788
+ var a = ["th", "st", "nd", "rd"], r = l % 100;
1789
+ return "[" + l + (a[(r - 20) % 10] || a[r] || a[0]) + "]";
1790
1790
  } };
1791
1791
  });
1792
1792
  }(re)), re.exports;
1793
1793
  }
1794
1794
  So();
1795
- var ne = { exports: {} }, jo = ne.exports, Te;
1796
- function Do() {
1795
+ var ne = { exports: {} }, Do = ne.exports, Te;
1796
+ function jo() {
1797
1797
  return Te || (Te = 1, function(p, i) {
1798
- (function(o, a) {
1799
- p.exports = a(L);
1800
- })(jo, function(o) {
1798
+ (function(l, a) {
1799
+ p.exports = a(j);
1800
+ })(Do, function(l) {
1801
1801
  function a(t) {
1802
1802
  return t && typeof t == "object" && "default" in t ? t : { default: t };
1803
1803
  }
1804
- var r = a(o), l = { name: "fr", weekdays: "dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"), weekdaysShort: "dim._lun._mar._mer._jeu._ven._sam.".split("_"), weekdaysMin: "di_lu_ma_me_je_ve_sa".split("_"), months: "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"), monthsShort: "janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"), weekStart: 1, yearStart: 4, formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, relativeTime: { future: "dans %s", past: "il y a %s", s: "quelques secondes", m: "une minute", mm: "%d minutes", h: "une heure", hh: "%d heures", d: "un jour", dd: "%d jours", M: "un mois", MM: "%d mois", y: "un an", yy: "%d ans" }, ordinal: function(t) {
1804
+ var r = a(l), o = { name: "fr", weekdays: "dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"), weekdaysShort: "dim._lun._mar._mer._jeu._ven._sam.".split("_"), weekdaysMin: "di_lu_ma_me_je_ve_sa".split("_"), months: "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"), monthsShort: "janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"), weekStart: 1, yearStart: 4, formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, relativeTime: { future: "dans %s", past: "il y a %s", s: "quelques secondes", m: "une minute", mm: "%d minutes", h: "une heure", hh: "%d heures", d: "un jour", dd: "%d jours", M: "un mois", MM: "%d mois", y: "un an", yy: "%d ans" }, ordinal: function(t) {
1805
1805
  return "" + t + (t === 1 ? "er" : "");
1806
1806
  } };
1807
- return r.default.locale(l, null, !0), l;
1807
+ return r.default.locale(o, null, !0), o;
1808
1808
  });
1809
1809
  }(ne)), ne.exports;
1810
1810
  }
1811
- Do();
1811
+ jo();
1812
1812
  const ee = (p, i) => {
1813
- const o = p.__vccOpts || p;
1813
+ const l = p.__vccOpts || p;
1814
1814
  for (const [a, r] of i)
1815
- o[a] = r;
1816
- return o;
1815
+ l[a] = r;
1816
+ return l;
1817
1817
  }, To = {
1818
1818
  name: "dateSelector",
1819
1819
  components: { ChevronLeftIcon: Ue, ChevronRightIcon: X },
1820
1820
  computed: {
1821
1821
  currentDate() {
1822
- return L(this.selectedDate).locale("es");
1822
+ return j(this.selectedDate).locale("es");
1823
1823
  },
1824
1824
  today() {
1825
- return L(/* @__PURE__ */ new Date()).locale("es");
1825
+ return j(/* @__PURE__ */ new Date()).locale("es");
1826
1826
  },
1827
1827
  formatedDate() {
1828
- return L(this.currentDate).locale("es").format("DD MMM YYYY");
1828
+ return j(this.currentDate).locale("es").format("DD MMM YYYY");
1829
1829
  }
1830
1830
  },
1831
1831
  props: {
@@ -1836,68 +1836,68 @@ const ee = (p, i) => {
1836
1836
  },
1837
1837
  methods: {
1838
1838
  selectDate(p, i) {
1839
- let o;
1839
+ let l;
1840
1840
  if (i === "previous") {
1841
1841
  if (this.currentDate <= this.today) return;
1842
- p === "day" && (o = L(this.currentDate).subtract(1, "day")), p === "month" && (o = L(this.currentDate).subtract(1, "month")), p === "year" && (o = L(this.currentDate).subtract(1, "year")), o <= this.today && (o = this.currentDate = this.today);
1842
+ p === "day" && (l = j(this.currentDate).subtract(1, "day")), p === "month" && (l = j(this.currentDate).subtract(1, "month")), p === "year" && (l = j(this.currentDate).subtract(1, "year")), l <= this.today && (l = this.currentDate = this.today);
1843
1843
  }
1844
- i === "next" && (p === "day" && (o = L(this.selectedDate).add(1, "day")), p === "month" && (o = L(this.selectedDate).add(1, "month")), p === "year" && (o = L(this.selectedDate).add(1, "year"))), this.$emit("dateSelected", o);
1844
+ i === "next" && (p === "day" && (l = j(this.selectedDate).add(1, "day")), p === "month" && (l = j(this.selectedDate).add(1, "month")), p === "year" && (l = j(this.selectedDate).add(1, "year"))), this.$emit("dateSelected", l);
1845
1845
  }
1846
1846
  }
1847
1847
  }, 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" }, Ao = { class: "pagination flex items-center my-1 sm:my-0" };
1848
- function Yo(p, i, o, a, r, l) {
1848
+ function Yo(p, i, l, a, r, o) {
1849
1849
  const t = Me("ChevronLeftIcon"), m = Me("ChevronRightIcon");
1850
1850
  return s(), n("div", zo, [
1851
1851
  e("div", Lo, [
1852
1852
  e("div", {
1853
- class: h([{
1854
- "bg-indigo-600 hover:bg-indigo-800 cursor-pointer": l.currentDate > l.today,
1855
- "bg-indigo-300": l.currentDate <= l.today
1853
+ class: y([{
1854
+ "bg-indigo-600 hover:bg-indigo-800 cursor-pointer": o.currentDate > o.today,
1855
+ "bg-indigo-300": o.currentDate <= o.today
1856
1856
  }, "previousYear flex items-center p-1 rounded mx-0.5 shadow-sm"]),
1857
- onClick: i[0] || (i[0] = (d) => l.selectDate("year", "previous"))
1857
+ onClick: i[0] || (i[0] = (d) => o.selectDate("year", "previous"))
1858
1858
  }, [
1859
1859
  g(t, { class: "h-4" }),
1860
1860
  g(t, { class: "h-4 -ml-3" }),
1861
1861
  g(t, { class: "h-4 -ml-3" })
1862
1862
  ], 2),
1863
1863
  e("div", {
1864
- class: h([{
1865
- "bg-indigo-600 hover:bg-indigo-800 cursor-pointer": l.currentDate > l.today,
1866
- "bg-indigo-300": l.currentDate <= l.today
1864
+ class: y([{
1865
+ "bg-indigo-600 hover:bg-indigo-800 cursor-pointer": o.currentDate > o.today,
1866
+ "bg-indigo-300": o.currentDate <= o.today
1867
1867
  }, "previousYear flex items-center p-1 rounded mx-0.5 shadow-sm"]),
1868
- onClick: i[1] || (i[1] = (d) => l.selectDate("month", "previous"))
1868
+ onClick: i[1] || (i[1] = (d) => o.selectDate("month", "previous"))
1869
1869
  }, [
1870
1870
  g(t, { class: "h-4" }),
1871
1871
  g(t, { class: "h-4 -ml-3" })
1872
1872
  ], 2),
1873
1873
  e("div", {
1874
- class: h([{
1875
- "bg-indigo-600 hover:bg-indigo-800 cursor-pointer": l.currentDate > l.today,
1876
- "bg-indigo-300": l.currentDate <= l.today
1874
+ class: y([{
1875
+ "bg-indigo-600 hover:bg-indigo-800 cursor-pointer": o.currentDate > o.today,
1876
+ "bg-indigo-300": o.currentDate <= o.today
1877
1877
  }, "previousYear flex items-center p-1 rounded mx-0.5 shadow-sm"]),
1878
- onClick: i[2] || (i[2] = (d) => l.selectDate("day", "previous"))
1878
+ onClick: i[2] || (i[2] = (d) => o.selectDate("day", "previous"))
1879
1879
  }, [
1880
1880
  g(t, { class: "h-4" })
1881
1881
  ], 2)
1882
1882
  ]),
1883
- e("div", No, u(l.formatedDate), 1),
1883
+ e("div", No, u(o.formatedDate), 1),
1884
1884
  e("div", Ao, [
1885
1885
  e("div", {
1886
1886
  class: "previousDay flex items-center cursor-pointer bg-indigo-600 p-1 rounded mx-0.5 hover:bg-indigo-800 shadow-sm",
1887
- onClick: i[3] || (i[3] = (d) => l.selectDate("day", "next"))
1887
+ onClick: i[3] || (i[3] = (d) => o.selectDate("day", "next"))
1888
1888
  }, [
1889
1889
  g(m, { class: "h-4" })
1890
1890
  ]),
1891
1891
  e("div", {
1892
1892
  class: "previousMonth flex items-center cursor-pointer bg-indigo-600 p-1 rounded mx-0.5 hover:bg-indigo-800 shadow-sm",
1893
- onClick: i[4] || (i[4] = (d) => l.selectDate("month", "next"))
1893
+ onClick: i[4] || (i[4] = (d) => o.selectDate("month", "next"))
1894
1894
  }, [
1895
1895
  g(m, { class: "h-4" }),
1896
1896
  g(m, { class: "h-4 -ml-3" })
1897
1897
  ]),
1898
1898
  e("div", {
1899
1899
  class: "previousYear flex items-center cursor-pointer bg-indigo-600 p-1 rounded mx-0.5 hover:bg-indigo-800 shadow-sm",
1900
- onClick: i[5] || (i[5] = (d) => l.selectDate("year", "next"))
1900
+ onClick: i[5] || (i[5] = (d) => o.selectDate("year", "next"))
1901
1901
  }, [
1902
1902
  g(m, { class: "h-4" }),
1903
1903
  g(m, { class: "h-4 -ml-3" }),
@@ -1906,13 +1906,13 @@ function Yo(p, i, o, a, r, l) {
1906
1906
  ])
1907
1907
  ]);
1908
1908
  }
1909
- const Po = /* @__PURE__ */ ee(To, [["render", Yo]]), Oo = {
1909
+ const Oo = /* @__PURE__ */ ee(To, [["render", Yo]]), Po = {
1910
1910
  name: "SkeletonTable"
1911
- }, Vo = { class: "px-4 sm:px-6 lg:px-8 animate-pulse" }, Fo = { class: "flow-root" }, Io = { 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" }, Eo = { class: "divide-y divide-gray-200 bg-white" };
1912
- function Uo(p, i, o, a, r, l) {
1911
+ }, Vo = { class: "px-4 sm:px-6 lg:px-8 animate-pulse" }, Io = { class: "flow-root" }, Fo = { 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" }, Eo = { class: "divide-y divide-gray-200 bg-white" };
1912
+ function Uo(p, i, l, a, r, o) {
1913
1913
  return s(), n("div", Vo, [
1914
- e("div", Fo, [
1915
- e("div", Io, [
1914
+ e("div", Io, [
1915
+ e("div", Fo, [
1916
1916
  e("div", Ro, [
1917
1917
  e("div", qo, [
1918
1918
  e("table", Ho, [
@@ -1973,7 +1973,7 @@ function Uo(p, i, o, a, r, l) {
1973
1973
  }, [
1974
1974
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-6" }),
1975
1975
  e("span", { class: "sr-only" }, [
1976
- D(", {"),
1976
+ T(", {"),
1977
1977
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-6" })
1978
1978
  ])
1979
1979
  ])
@@ -1987,17 +1987,17 @@ function Uo(p, i, o, a, r, l) {
1987
1987
  ])
1988
1988
  ]);
1989
1989
  }
1990
- const We = /* @__PURE__ */ ee(Oo, [["render", Uo]]);
1990
+ const We = /* @__PURE__ */ ee(Po, [["render", Uo]]);
1991
1991
  var ae = { exports: {} }, Zo = ae.exports, ze;
1992
1992
  function Jo() {
1993
1993
  return ze || (ze = 1, function(p, i) {
1994
- (function(o, a) {
1994
+ (function(l, a) {
1995
1995
  p.exports = a();
1996
1996
  })(Zo, function() {
1997
- return function(o, a, r) {
1997
+ return function(l, a, r) {
1998
1998
  a.prototype.isToday = function() {
1999
- var l = "YYYY-MM-DD", t = r();
2000
- return this.format(l) === t.format(l);
1999
+ var o = "YYYY-MM-DD", t = r();
2000
+ return this.format(o) === t.format(o);
2001
2001
  };
2002
2002
  };
2003
2003
  });
@@ -2011,29 +2011,29 @@ const Go = /* @__PURE__ */ ko(Wo), Qo = {
2011
2011
  },
2012
2012
  computed: {
2013
2013
  currentDay() {
2014
- return L.extend(Go), {
2015
- dayName: L(this.day).locale("es").format("ddd"),
2016
- day: L(this.day).locale("es").format("DD"),
2017
- month: L(this.day).locale("es").format("MMM."),
2018
- isWeekend: L(this.day).format("d") == 6 || L(this.day).format("d") == 0,
2019
- isToday: L(this.day).isToday()
2014
+ return j.extend(Go), {
2015
+ dayName: j(this.day).locale("es").format("ddd"),
2016
+ day: j(this.day).locale("es").format("DD"),
2017
+ month: j(this.day).locale("es").format("MMM."),
2018
+ isWeekend: j(this.day).format("d") == 6 || j(this.day).format("d") == 0,
2019
+ isToday: j(this.day).isToday()
2020
2020
  };
2021
2021
  }
2022
2022
  }
2023
2023
  }, Ko = { class: "text-xs" }, Xo = { class: "font-bold text-lg" }, el = { class: "text-xs font-medium" };
2024
- function tl(p, i, o, a, r, l) {
2024
+ function tl(p, i, l, a, r, o) {
2025
2025
  return s(), n("div", {
2026
- class: h([
2026
+ class: y([
2027
2027
  "day select-none text-center",
2028
2028
  {
2029
- "bg-indigo-200 text-white": l.currentDay.isWeekend,
2030
- "bg-[#0ff] text-white": l.currentDay.isToday
2029
+ "bg-indigo-200 text-white": o.currentDay.isWeekend,
2030
+ "bg-[#0ff] text-white": o.currentDay.isToday
2031
2031
  }
2032
2032
  ])
2033
2033
  }, [
2034
- e("p", Ko, u(l.currentDay.dayName), 1),
2035
- e("p", Xo, u(l.currentDay.day), 1),
2036
- e("p", el, u(l.currentDay.month), 1)
2034
+ e("p", Ko, u(o.currentDay.dayName), 1),
2035
+ e("p", Xo, u(o.currentDay.day), 1),
2036
+ e("p", el, u(o.currentDay.month), 1)
2037
2037
  ], 2);
2038
2038
  }
2039
2039
  const sl = /* @__PURE__ */ ee(Qo, [["render", tl]]), ol = {
@@ -2050,24 +2050,24 @@ const sl = /* @__PURE__ */ ee(Qo, [["render", tl]]), ol = {
2050
2050
  computed: {
2051
2051
  currentDay() {
2052
2052
  return {
2053
- isWeekend: L(this.price.date).format("d") == 6 || L(this.price.date).format("d") == 0,
2053
+ isWeekend: j(this.price.date).format("d") == 6 || j(this.price.date).format("d") == 0,
2054
2054
  price: this.price.price
2055
2055
  };
2056
2056
  }
2057
2057
  }
2058
2058
  }, ll = { class: "priceDay" };
2059
- function rl(p, i, o, a, r, l) {
2059
+ function rl(p, i, l, a, r, o) {
2060
2060
  return s(), n("div", ll, [
2061
2061
  e("div", {
2062
- class: h([
2062
+ class: y([
2063
2063
  {
2064
- "bg-indigo-200 text-white": l.currentDay.isWeekend,
2065
- "bg-green-300 text-white": o.price.price > o.basePrice,
2066
- "bg-yellow-300 text-white": o.price.price < o.basePrice
2064
+ "bg-indigo-200 text-white": o.currentDay.isWeekend,
2065
+ "bg-green-300 text-white": l.price.price > l.basePrice,
2066
+ "bg-yellow-300 text-white": l.price.price < l.basePrice
2067
2067
  },
2068
2068
  "select-none text-center rounded-lg p-1"
2069
2069
  ])
2070
- }, u(l.currentDay.price) + u(o.currency), 3)
2070
+ }, u(o.currentDay.price) + u(l.currency), 3)
2071
2071
  ]);
2072
2072
  }
2073
2073
  const se = /* @__PURE__ */ ee(ol, [["render", rl]]), nl = {
@@ -2084,7 +2084,7 @@ const se = /* @__PURE__ */ ee(ol, [["render", rl]]), nl = {
2084
2084
  }, ml = { key: 0 }, fl = {
2085
2085
  colspan: "6",
2086
2086
  class: "pl-4"
2087
- }, yl = { key: 1 }, hl = {
2087
+ }, hl = { key: 1 }, yl = {
2088
2088
  colspan: "6",
2089
2089
  class: "pl-4"
2090
2090
  }, vl = { key: 2 }, bl = {
@@ -2112,16 +2112,16 @@ const se = /* @__PURE__ */ ee(ol, [["render", rl]]), nl = {
2112
2112
  }, Sl = {
2113
2113
  colspan: "2",
2114
2114
  class: "relative py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 sm:pl-6"
2115
- }, jl = {
2115
+ }, Dl = {
2116
2116
  key: 0,
2117
2117
  class: "absolute inset-y-0 left-0 w-0.5 bg-indigo-600"
2118
- }, Dl = ["value"], Tl = { class: "pl-6" }, zl = {
2118
+ }, jl = ["value"], Tl = { class: "pl-6" }, zl = {
2119
2119
  colspan: "2",
2120
2120
  class: "pl-4"
2121
2121
  }, Ll = {
2122
2122
  colspan: "2",
2123
2123
  class: "pl-4"
2124
- }, Nl = /* @__PURE__ */ M({
2124
+ }, Nl = /* @__PURE__ */ B({
2125
2125
  __name: "uiPriceCalendar",
2126
2126
  props: {
2127
2127
  loading: { type: Boolean },
@@ -2135,25 +2135,25 @@ const se = /* @__PURE__ */ ee(ol, [["render", rl]]), nl = {
2135
2135
  },
2136
2136
  emits: ["dateChanged", "changeCategoryBulkPrices", "changeCategorySelectionPrice", "changeCategoryUpgradePrice", "changeRoomPrice", "tableAction"],
2137
2137
  setup(p, { emit: i }) {
2138
- const o = p, a = i, r = Y(/* @__PURE__ */ new Date()), l = Y(o.today), t = Y([]);
2139
- Z(() => o.today, (x) => {
2140
- l.value = x;
2138
+ const l = p, a = i, r = Y(/* @__PURE__ */ new Date()), o = Y(l.today), t = Y([]);
2139
+ Z(() => l.today, (x) => {
2140
+ o.value = x;
2141
2141
  });
2142
- const m = O(() => {
2142
+ const m = V(() => {
2143
2143
  let x = [];
2144
- for (let P = 0; P < 14; P++)
2145
- x.push(L(l.value).add(P, "day"));
2144
+ for (let O = 0; O < 14; O++)
2145
+ x.push(j(o.value).add(O, "day"));
2146
2146
  return x;
2147
- }), d = O(() => t.value.length > 0 && t.value.length < o.rooms.length), f = (x) => {
2148
- L(x).isBefore(r.value) || (l.value = x, a("dateChanged", l.value));
2149
- }, y = (x) => {
2150
- let P = o.category.selectionPrices.find((N) => L(N.date).isSame(x.date));
2151
- return P ? P.price : x.price;
2147
+ }), d = V(() => t.value.length > 0 && t.value.length < l.rooms.length), f = (x) => {
2148
+ j(x).isBefore(r.value) || (o.value = x, a("dateChanged", o.value));
2149
+ }, h = (x) => {
2150
+ let O = l.category.selectionPrices.find((A) => j(A.date).isSame(x.date));
2151
+ return O ? O.price : x.price;
2152
2152
  }, w = (x) => {
2153
- t.value = x.target.checked ? o.rooms.map((P) => P.id) : [];
2154
- }, B = () => a("changeCategoryBulkPrices"), A = (x) => a("changeCategorySelectionPrice", x), V = (x) => a("changeCategoryUpgradePrice", x), z = (x) => a("tableAction", x), H = (x, P, N) => a("changeRoomPrice", { price: x, roomId: P, roomName: N });
2155
- return (x, P) => {
2156
- var N, te;
2153
+ t.value = x.target.checked ? l.rooms.map((O) => O.id) : [];
2154
+ }, N = () => a("changeCategoryBulkPrices"), H = (x) => a("changeCategorySelectionPrice", x), L = (x) => a("changeCategoryUpgradePrice", x), S = (x) => a("tableAction", x), P = (x, O, A) => a("changeRoomPrice", { price: x, roomId: O, roomName: A });
2155
+ return (x, O) => {
2156
+ var A, te;
2157
2157
  return x.loading ? (s(), _(We, { key: 1 })) : (s(), n("div", nl, [
2158
2158
  e("div", al, [
2159
2159
  e("div", il, [
@@ -2162,19 +2162,19 @@ const se = /* @__PURE__ */ ee(ol, [["render", rl]]), nl = {
2162
2162
  e("tbody", cl, [
2163
2163
  e("tr", null, [
2164
2164
  e("th", gl, [
2165
- g(Po, {
2166
- selectedDate: l.value,
2167
- onDateSelected: P[0] || (P[0] = (T) => f(T))
2165
+ g(Oo, {
2166
+ selectedDate: o.value,
2167
+ onDateSelected: O[0] || (O[0] = (z) => f(z))
2168
2168
  }, null, 8, ["selectedDate"])
2169
2169
  ]),
2170
- (s(!0), n(k, null, $(m.value, (T, F) => (s(), n("th", {
2170
+ (s(!0), n(k, null, $(m.value, (z, I) => (s(), n("th", {
2171
2171
  scope: "col",
2172
- key: F,
2172
+ key: I,
2173
2173
  class: "text-sm font-semibold text-gray-900 p-0"
2174
2174
  }, [
2175
2175
  g(sl, {
2176
2176
  class: "border-l border-gray-200 px-6 py-3",
2177
- day: T
2177
+ day: z
2178
2178
  }, null, 8, ["day"])
2179
2179
  ]))), 128))
2180
2180
  ]),
@@ -2185,10 +2185,10 @@ const se = /* @__PURE__ */ ee(ol, [["render", rl]]), nl = {
2185
2185
  loading: x.loading,
2186
2186
  class: "ml-4",
2187
2187
  size: "small",
2188
- onClick: B
2188
+ onClick: N
2189
2189
  }, {
2190
2190
  default: v(() => [
2191
- D(u(x.literals.changeInBulk), 1)
2191
+ T(u(x.literals.changeInBulk), 1)
2192
2192
  ]),
2193
2193
  _: 1
2194
2194
  }, 8, ["loading"])
@@ -2196,29 +2196,29 @@ const se = /* @__PURE__ */ ee(ol, [["render", rl]]), nl = {
2196
2196
  ]),
2197
2197
  x.type === "discounts" ? (s(), n("tr", ml, [
2198
2198
  e("td", fl, u(x.literals.pricesDiscount), 1),
2199
- (s(!0), n(k, null, $(x.category.selectionPrices, (T, F) => (s(), n("td", {
2200
- key: F,
2199
+ (s(!0), n(k, null, $(x.category.selectionPrices, (z, I) => (s(), n("td", {
2200
+ key: I,
2201
2201
  class: "p-0"
2202
2202
  }, [
2203
2203
  g(se, {
2204
- onClick: (K) => A(T),
2204
+ onClick: (K) => H(z),
2205
2205
  class: "border-l border-gray-200 px-6 py-3 text-indigo-600 hover:text-indigo-400 font-bold cursor-pointer",
2206
- price: T,
2206
+ price: z,
2207
2207
  currency: x.currency.symbol,
2208
2208
  isBasePrice: !0
2209
2209
  }, null, 8, ["onClick", "price", "currency"])
2210
2210
  ]))), 128))
2211
2211
  ])) : b("", !0),
2212
- x.type === "prices" ? (s(), n("tr", yl, [
2213
- e("td", hl, u(x.literals.pricesSelection), 1),
2214
- (s(!0), n(k, null, $(x.category.selectionPrices, (T, F) => (s(), n("td", {
2215
- key: F,
2212
+ x.type === "prices" ? (s(), n("tr", hl, [
2213
+ e("td", yl, u(x.literals.pricesSelection), 1),
2214
+ (s(!0), n(k, null, $(x.category.selectionPrices, (z, I) => (s(), n("td", {
2215
+ key: I,
2216
2216
  class: "p-0"
2217
2217
  }, [
2218
2218
  g(se, {
2219
- onClick: (K) => A(T),
2219
+ onClick: (K) => H(z),
2220
2220
  class: "border-l border-gray-200 px-6 py-3 text-indigo-600 hover:text-indigo-400 font-bold cursor-pointer",
2221
- price: T,
2221
+ price: z,
2222
2222
  currency: x.currency.symbol,
2223
2223
  isBasePrice: !0
2224
2224
  }, null, 8, ["onClick", "price", "currency"])
@@ -2226,14 +2226,14 @@ const se = /* @__PURE__ */ ee(ol, [["render", rl]]), nl = {
2226
2226
  ])) : b("", !0),
2227
2227
  x.type === "prices" ? (s(), n("tr", vl, [
2228
2228
  e("td", bl, u(x.literals.pricesUpgrade), 1),
2229
- (s(!0), n(k, null, $(x.category.upgradePrices, (T, F) => (s(), n("td", {
2230
- key: F,
2229
+ (s(!0), n(k, null, $(x.category.upgradePrices, (z, I) => (s(), n("td", {
2230
+ key: I,
2231
2231
  class: "p-0"
2232
2232
  }, [
2233
2233
  g(se, {
2234
- onClick: (K) => V(T),
2234
+ onClick: (K) => L(z),
2235
2235
  class: "border-l border-gray-200 px-6 py-3 text-indigo-600 hover:text-indigo-400 font-bold cursor-pointer bg-gray-100",
2236
- price: T,
2236
+ price: z,
2237
2237
  currency: x.currency.symbol,
2238
2238
  isBasePrice: !0
2239
2239
  }, null, 8, ["onClick", "price", "currency"])
@@ -2241,13 +2241,13 @@ const se = /* @__PURE__ */ ee(ol, [["render", rl]]), nl = {
2241
2241
  ])) : b("", !0),
2242
2242
  e("tr", null, [
2243
2243
  e("th", wl, [
2244
- ((N = t.value) == null ? void 0 : N.length) > 0 && ((te = x.actions) == null ? void 0 : te.length) > 0 ? (s(), n("div", xl, [
2245
- (s(!0), n(k, null, $(x.actions, (T, F) => (s(), n("button", {
2246
- onClick: (K) => z({ action: T.id, items: t.value }),
2247
- key: F,
2244
+ ((A = t.value) == null ? void 0 : A.length) > 0 && ((te = x.actions) == null ? void 0 : te.length) > 0 ? (s(), n("div", xl, [
2245
+ (s(!0), n(k, null, $(x.actions, (z, I) => (s(), n("button", {
2246
+ onClick: (K) => S({ action: z.id, items: t.value }),
2247
+ key: I,
2248
2248
  type: "button",
2249
2249
  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"
2250
- }, u(T.name), 9, kl))), 128))
2250
+ }, u(z.name), 9, kl))), 128))
2251
2251
  ])) : b("", !0),
2252
2252
  e("span", null, u(x.literals.pricesSelection), 1)
2253
2253
  ])
@@ -2265,40 +2265,40 @@ const se = /* @__PURE__ */ ee(ol, [["render", rl]]), nl = {
2265
2265
  ]),
2266
2266
  e("th", Bl, u(x.literals.building), 1),
2267
2267
  e("th", Ml, u(x.literals.floor), 1),
2268
- P[2] || (P[2] = e("th", {
2268
+ O[2] || (O[2] = e("th", {
2269
2269
  colspan: "14",
2270
2270
  scope: "colgroup",
2271
2271
  class: "bg-gray-100 py-2 pl-4 pr-3 text-left font-semibold text-gray-900"
2272
2272
  }, null, -1))
2273
2273
  ]),
2274
- (s(!0), n(k, null, $(x.rooms, (T) => (s(), n("tr", {
2275
- key: T.name,
2276
- class: h([{ "even:bg-gray-100": x.type === "prices", "odd:bg-gray-100": x.type === "discounts" }])
2274
+ (s(!0), n(k, null, $(x.rooms, (z) => (s(), n("tr", {
2275
+ key: z.name,
2276
+ class: y([{ "even:bg-gray-100": x.type === "prices", "odd:bg-gray-100": x.type === "discounts" }])
2277
2277
  }, [
2278
2278
  e("td", Sl, [
2279
- t.value.length > 0 ? (s(), n("div", jl)) : b("", !0),
2279
+ t.value.length > 0 ? (s(), n("div", Dl)) : b("", !0),
2280
2280
  C(e("input", {
2281
2281
  type: "checkbox",
2282
2282
  class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-600",
2283
- value: T.name,
2284
- "onUpdate:modelValue": P[1] || (P[1] = (F) => t.value = F)
2285
- }, null, 8, Dl), [
2283
+ value: z.name,
2284
+ "onUpdate:modelValue": O[1] || (O[1] = (I) => t.value = I)
2285
+ }, null, 8, jl), [
2286
2286
  [Ae, t.value]
2287
2287
  ]),
2288
- e("span", Tl, u(T.name), 1)
2288
+ e("span", Tl, u(z.name), 1)
2289
2289
  ]),
2290
- e("td", zl, u(T.building), 1),
2291
- e("td", Ll, u(T.floor), 1),
2292
- (s(!0), n(k, null, $(T.selectionPrices, (F, K) => (s(), n("td", {
2290
+ e("td", zl, u(z.building), 1),
2291
+ e("td", Ll, u(z.floor), 1),
2292
+ (s(!0), n(k, null, $(z.selectionPrices, (I, K) => (s(), n("td", {
2293
2293
  class: "p-0",
2294
2294
  key: K
2295
2295
  }, [
2296
2296
  g(se, {
2297
- onClick: (id) => H(F, T.id, T.name),
2297
+ onClick: (ud) => P(I, z.id, z.name),
2298
2298
  class: "border-l border-gray-200 px-6 py-3 text-indigo-600 hover:text-indigo-400 cursor-pointer",
2299
- price: F,
2299
+ price: I,
2300
2300
  currency: x.currency.symbol,
2301
- basePrice: y(F)
2301
+ basePrice: h(I)
2302
2302
  }, null, 8, ["onClick", "price", "currency", "basePrice"])
2303
2303
  ]))), 128))
2304
2304
  ], 2))), 128))
@@ -2310,10 +2310,10 @@ const se = /* @__PURE__ */ ee(ol, [["render", rl]]), nl = {
2310
2310
  ]));
2311
2311
  };
2312
2312
  }
2313
- }), Al = { class: "chart-header flex flex-row items-center w-full justify-between" }, Yl = { class: "text-sm font-medium text-gray-500 truncate mr-8" }, Pl = {
2313
+ }), Al = { class: "chart-header flex flex-row items-center w-full justify-between" }, Yl = { class: "text-sm font-medium text-gray-500 truncate mr-8" }, Ol = {
2314
2314
  key: 0,
2315
2315
  class: "flex items-center gap-x-2 grow"
2316
- }, Ol = { class: "self-center ml-2" }, Vl = { class: "self-center ml-2" }, Fl = { class: "self-center ml-2" }, Il = { class: "hidden sm:flex items-center" }, Rl = { class: "w-1/2 min-w-0 flex-1" }, ql = { class: "min-w-0 flex-1" }, Hl = { class: "chart-content relative" }, El = { class: "h-full w-full flex items-center justify-center flex-col" }, Ul = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, Zl = /* @__PURE__ */ M({
2316
+ }, Pl = { class: "self-center ml-2" }, Vl = { class: "self-center ml-2" }, Il = { class: "self-center ml-2" }, Fl = { 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" }, El = ["max"], Ul = { class: "chart-content relative" }, Zl = { class: "h-full w-full flex items-center justify-center flex-col" }, Jl = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, Wl = /* @__PURE__ */ B({
2317
2317
  __name: "uiChart",
2318
2318
  props: {
2319
2319
  labels: {},
@@ -2334,8 +2334,8 @@ const se = /* @__PURE__ */ ee(ol, [["render", rl]]), nl = {
2334
2334
  },
2335
2335
  emits: ["selectedRange", "chartUpdated", "dataPointSelection", "maximizeChart"],
2336
2336
  setup(p, { emit: i }) {
2337
- const o = i, a = me({ from: "", to: "" }), r = p;
2338
- let t = {
2337
+ const l = i, a = Y((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":"))), r = me({ from: "", to: a.value }), o = p;
2338
+ let m = {
2339
2339
  chart: {
2340
2340
  toolbar: {
2341
2341
  show: !1
@@ -2345,11 +2345,11 @@ const se = /* @__PURE__ */ ee(ol, [["render", rl]]), nl = {
2345
2345
  }
2346
2346
  },
2347
2347
  colors: function() {
2348
- return r.isNps ? [
2349
- function({ value: B, seriesIndex: A, dataPointIndex: V, w: z }) {
2350
- if (V <= 5) return "#F87171";
2351
- if (V > 5 && V <= 7) return "#eab308";
2352
- if (V >= 8) return "#84cc16";
2348
+ return o.isNps ? [
2349
+ function({ value: L, seriesIndex: S, dataPointIndex: P, w: x }) {
2350
+ if (P <= 5) return "#F87171";
2351
+ if (P > 5 && P <= 7) return "#eab308";
2352
+ if (P >= 8) return "#84cc16";
2353
2353
  }
2354
2354
  ] : [
2355
2355
  "#715aff",
@@ -2375,10 +2375,10 @@ const se = /* @__PURE__ */ ee(ol, [["render", rl]]), nl = {
2375
2375
  }
2376
2376
  }
2377
2377
  };
2378
- r.annotations && (t.annotations = {
2378
+ o.annotations && (m.annotations = {
2379
2379
  yaxis: [
2380
2380
  {
2381
- y: r.annotations.high,
2381
+ y: o.annotations.high,
2382
2382
  borderColor: "#4f46e5",
2383
2383
  label: {
2384
2384
  borderColor: "#4f46e5",
@@ -2386,33 +2386,35 @@ const se = /* @__PURE__ */ ee(ol, [["render", rl]]), nl = {
2386
2386
  color: "#fff",
2387
2387
  background: "#4f46e5"
2388
2388
  },
2389
- text: r.annotations.text
2389
+ text: o.annotations.text
2390
2390
  }
2391
2391
  }
2392
2392
  ]
2393
- }), r.type === "area" && (t.tooltip = { intersect: !0, shared: !1 });
2394
- const m = () => (t.chart.stacked = r.stacked, { ...t, ...r.options, plotOptions: { bar: { horizontal: r.horizontal } } }), d = O(() => r.series), f = O(() => m()), y = () => o("chartUpdated"), w = (B, A, V) => {
2395
- o("dataPointSelection", { id: r.id, chartContext: A, config: V, event: B });
2393
+ }), o.type === "area" && (m.tooltip = { intersect: !0, shared: !1 });
2394
+ const d = () => (m.chart.stacked = o.stacked, { ...m, ...o.options, plotOptions: { bar: { horizontal: o.horizontal } } }), f = () => {
2395
+ r.from != "" && r.to != "" && j(r.from).isBefore(j(r.to)) && l("selectedRange", { range: r, chartId: o.id });
2396
+ }, h = V(() => o.series), w = V(() => d()), N = () => l("chartUpdated"), H = (L, S, P) => {
2397
+ l("dataPointSelection", { id: o.id, chartContext: S, config: P, event: L });
2396
2398
  };
2397
- return (B, A) => (s(), n(k, null, [
2399
+ return (L, S) => (s(), n(k, null, [
2398
2400
  C(e("div", {
2399
- class: h(["h-[" + B.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow"])
2401
+ class: y(["h-[" + L.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow"])
2400
2402
  }, [
2401
2403
  e("div", Al, [
2402
- e("div", Yl, u(B.title), 1),
2403
- B.isNps && B.npsLiterals ? (s(), n("div", Pl, [
2404
+ e("div", Yl, u(L.title), 1),
2405
+ L.isNps && L.npsLiterals ? (s(), n("div", Ol, [
2404
2406
  g(R, {
2405
2407
  size: "small",
2406
2408
  color: "red",
2407
2409
  loading: !1
2408
2410
  }, {
2409
2411
  default: v(() => [
2410
- g(j, {
2412
+ g(D, {
2411
2413
  icon: c($t),
2412
2414
  loading: !1,
2413
2415
  color: "red"
2414
2416
  }, null, 8, ["icon"]),
2415
- e("span", Ol, u(B.npsLiterals.unhappy), 1)
2417
+ e("span", Pl, u(L.npsLiterals.unhappy), 1)
2416
2418
  ]),
2417
2419
  _: 1
2418
2420
  }),
@@ -2422,12 +2424,12 @@ const se = /* @__PURE__ */ ee(ol, [["render", rl]]), nl = {
2422
2424
  loading: !1
2423
2425
  }, {
2424
2426
  default: v(() => [
2425
- g(j, {
2427
+ g(D, {
2426
2428
  icon: c(_t),
2427
2429
  loading: !1,
2428
2430
  color: "yellow"
2429
2431
  }, null, 8, ["icon"]),
2430
- e("span", Vl, u(B.npsLiterals.neutral), 1)
2432
+ e("span", Vl, u(L.npsLiterals.neutral), 1)
2431
2433
  ]),
2432
2434
  _: 1
2433
2435
  }),
@@ -2437,78 +2439,81 @@ const se = /* @__PURE__ */ ee(ol, [["render", rl]]), nl = {
2437
2439
  loading: !1
2438
2440
  }, {
2439
2441
  default: v(() => [
2440
- g(j, {
2442
+ g(D, {
2441
2443
  icon: c(Ct),
2442
2444
  loading: !1,
2443
2445
  color: "green"
2444
2446
  }, null, 8, ["icon"]),
2445
- e("span", Fl, u(B.npsLiterals.happy), 1)
2447
+ e("span", Il, u(L.npsLiterals.happy), 1)
2446
2448
  ]),
2447
2449
  _: 1
2448
2450
  })
2449
2451
  ])) : b("", !0),
2450
- e("div", Il, [
2452
+ e("div", Fl, [
2451
2453
  e("div", Rl, [
2452
2454
  C(e("input", {
2453
2455
  type: "datetime-local",
2454
- "onUpdate:modelValue": A[0] || (A[0] = (V) => a.from = V),
2456
+ "onUpdate:modelValue": S[0] || (S[0] = (P) => r.from = P),
2457
+ max: a.value.toString(),
2458
+ onChange: f,
2455
2459
  name: "from",
2456
2460
  id: "from",
2457
2461
  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"
2458
- }, null, 512), [
2459
- [ge, a.from]
2462
+ }, null, 40, ql), [
2463
+ [ge, r.from]
2460
2464
  ])
2461
2465
  ]),
2462
- e("div", ql, [
2466
+ e("div", Hl, [
2463
2467
  C(e("input", {
2464
2468
  type: "datetime-local",
2465
- "onUpdate:modelValue": A[1] || (A[1] = (V) => a.to = V),
2466
- onInput: A[2] || (A[2] = (V) => B.$emit("selectedRange", { range: a, chartId: B.id })),
2469
+ "onUpdate:modelValue": S[1] || (S[1] = (P) => r.to = P),
2470
+ max: a.value.toString(),
2471
+ onChange: f,
2467
2472
  name: "to",
2468
2473
  id: "to",
2469
2474
  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"
2470
- }, null, 544), [
2471
- [ge, a.to]
2475
+ }, null, 40, El), [
2476
+ [ge, r.to]
2472
2477
  ])
2473
2478
  ]),
2474
- g(j, {
2479
+ g(D, {
2475
2480
  class: "ml-4 cursor-pointer",
2476
2481
  size: "big",
2477
- loading: B.loading,
2482
+ loading: L.loading,
2478
2483
  icon: c(bt),
2479
- onClick: A[3] || (A[3] = (V) => B.$emit("maximizeChart", B.id))
2484
+ onClick: S[2] || (S[2] = (P) => L.$emit("maximizeChart", L.id))
2480
2485
  }, null, 8, ["loading", "icon"])
2481
2486
  ])
2482
2487
  ]),
2483
- C(e("div", Hl, [
2488
+ C(e("div", Ul, [
2484
2489
  g(c($e), {
2485
- type: B.type,
2486
- series: d.value,
2490
+ type: L.type,
2491
+ series: h.value,
2487
2492
  width: "100%",
2488
- height: B.height,
2489
- options: f.value,
2490
- onUpdated: y,
2491
- onMounted: y,
2492
- onDataPointSelection: w
2493
+ height: L.height,
2494
+ options: w.value,
2495
+ onUpdated: N,
2496
+ onMounted: N,
2497
+ onDataPointSelection: H
2493
2498
  }, null, 8, ["type", "series", "height", "options"])
2494
2499
  ], 512), [
2495
- [S, !B.empty]
2500
+ [M, !L.empty]
2496
2501
  ]),
2497
- C(e("div", El, [
2498
- g(j, {
2502
+ C(e("div", Zl, [
2503
+ g(D, {
2499
2504
  icon: c(q),
2500
2505
  color: "gray",
2501
2506
  loading: !1,
2502
2507
  size: "huge"
2503
2508
  }, null, 8, ["icon"]),
2504
- A[4] || (A[4] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1))
2509
+ S[3] || (S[3] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1))
2505
2510
  ], 512), [
2506
- [S, B.empty]
2511
+ [M, L.empty]
2507
2512
  ])
2508
2513
  ], 2), [
2509
- [S, !B.loading]
2514
+ [M, !L.loading]
2510
2515
  ]),
2511
- C(e("div", Ul, A[5] || (A[5] = [
2516
+ C(e("div", Jl, S[4] || (S[4] = [
2512
2517
  e("div", {
2513
2518
  role: "status",
2514
2519
  class: "w-full animate-pulse h-full flex flex-col"
@@ -2535,15 +2540,15 @@ const se = /* @__PURE__ */ ee(ol, [["render", rl]]), nl = {
2535
2540
  ])
2536
2541
  ], -1)
2537
2542
  ]), 512), [
2538
- [S, B.loading]
2543
+ [M, L.loading]
2539
2544
  ])
2540
2545
  ], 64));
2541
2546
  }
2542
- }), Jl = {
2547
+ }), Gl = {
2543
2548
  name: "uiFooter"
2544
- }, Wl = { class: "bg-white" };
2545
- function Gl(p, i, o, a, r, l) {
2546
- return s(), n("footer", Wl, i[0] || (i[0] = [
2549
+ }, Ql = { class: "bg-white" };
2550
+ function Kl(p, i, l, a, r, o) {
2551
+ return s(), n("footer", Ql, i[0] || (i[0] = [
2547
2552
  e("div", { class: "mx-auto py-6 px-4 sm:px-6 md:flex md:items-center md:justify-between lg:px-8" }, [
2548
2553
  e("div", { class: "mt-8 md:mt-0 md:order-1" }, [
2549
2554
  e("p", { class: "text-center text-base text-gray-400" }, "© Made by Hotelinking.")
@@ -2551,7 +2556,7 @@ function Gl(p, i, o, a, r, l) {
2551
2556
  ], -1)
2552
2557
  ]));
2553
2558
  }
2554
- const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
2559
+ const Xl = /* @__PURE__ */ ee(Gl, [["render", Kl]]), er = /* @__PURE__ */ B({
2555
2560
  __name: "uiLoadingScreen",
2556
2561
  props: {
2557
2562
  title: {},
@@ -2559,42 +2564,42 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
2559
2564
  fixed: { type: Boolean, default: !0 }
2560
2565
  },
2561
2566
  setup(p) {
2562
- return (i, o) => (s(), n("div", {
2563
- class: h([
2567
+ return (i, l) => (s(), n("div", {
2568
+ class: y([
2564
2569
  { fixed: i.fixed },
2565
2570
  "load-screen h-full w-full top-0 left-0 z-[100] flex flex-col items-center justify-center bg-gray-50"
2566
2571
  ])
2567
2572
  }, [
2568
- o[0] || (o[0] = e("div", { class: "spinner h-12 w-12 mb-6" }, [
2573
+ l[0] || (l[0] = e("div", { class: "spinner h-12 w-12 mb-6" }, [
2569
2574
  e("img", {
2570
2575
  src: "https://images.hotelinking.com/ui/loader.gif",
2571
2576
  alt: "loading animation"
2572
2577
  })
2573
2578
  ], -1)),
2574
2579
  C(e("h2", { class: "text-xs font-bold text-center uppercase mb-2" }, u(i.title), 513), [
2575
- [S, i.title]
2580
+ [M, i.title]
2576
2581
  ]),
2577
2582
  C(e("p", { class: "text-xs text-center uppercase md:w-1/4" }, u(i.message), 513), [
2578
- [S, i.message]
2583
+ [M, i.message]
2579
2584
  ])
2580
2585
  ], 2));
2581
2586
  }
2582
- }), Xl = {
2587
+ }), tr = {
2583
2588
  key: 0,
2584
2589
  class: "py-6 flex items-center justify-between"
2585
- }, er = { class: "flex-1 flex justify-between sm:hidden" }, tr = {
2590
+ }, sr = { class: "flex-1 flex justify-between sm:hidden" }, or = {
2586
2591
  href: "#",
2587
2592
  class: "relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50"
2588
- }, sr = {
2593
+ }, lr = {
2589
2594
  href: "#",
2590
2595
  class: "ml-3 relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50"
2591
- }, or = { class: "hidden sm:flex-1 sm:flex sm:items-center sm:justify-between" }, lr = { class: "text-sm text-gray-700" }, rr = { class: "font-bold" }, nr = { class: "font-bold" }, ar = {
2596
+ }, rr = { class: "hidden sm:flex-1 sm:flex sm:items-center sm:justify-between" }, nr = { class: "text-sm text-gray-700" }, ar = { class: "font-bold" }, ir = { class: "font-bold" }, dr = {
2592
2597
  class: "relative z-0 inline-flex rounded-md shadow-sm -space-x-px",
2593
2598
  "aria-label": "Pagination"
2594
- }, ir = { class: "sr-only" }, dr = ["onClick"], ur = { class: "sr-only" }, cr = {
2599
+ }, ur = { class: "sr-only" }, cr = ["onClick"], gr = { class: "sr-only" }, pr = {
2595
2600
  key: 1,
2596
2601
  class: "py-6 flex flex-row justify-between items-center animate-pulse"
2597
- }, gr = /* @__PURE__ */ M({
2602
+ }, mr = /* @__PURE__ */ B({
2598
2603
  __name: "uiPagination",
2599
2604
  props: {
2600
2605
  current: {},
@@ -2603,99 +2608,99 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
2603
2608
  },
2604
2609
  emits: ["changePage"],
2605
2610
  setup(p, { emit: i }) {
2606
- const o = i, a = p, r = Y(3), l = O(
2611
+ const l = i, a = p, r = Y(3), o = V(
2607
2612
  () => Math.max(1, Number(a.current) - Number(r.value))
2608
- ), t = O(
2613
+ ), t = V(
2609
2614
  () => Math.min(Number(a.current) + Number(r.value), Number(a.total))
2610
- ), m = O(() => {
2615
+ ), m = V(() => {
2611
2616
  let d = [];
2612
- for (let f = Number(l.value); f <= Number(t.value); f++)
2617
+ for (let f = Number(o.value); f <= Number(t.value); f++)
2613
2618
  d.push(f);
2614
2619
  return d;
2615
2620
  });
2616
- return (d, f) => d.loading ? (s(), n("div", cr, f[2] || (f[2] = [
2621
+ return (d, f) => d.loading ? (s(), n("div", pr, f[2] || (f[2] = [
2617
2622
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/5" }, null, -1),
2618
2623
  e("div", { class: "h-10 w-32 bg-gray-200 rounded dark:bg-gray-300" }, null, -1)
2619
- ]))) : (s(), n("div", Xl, [
2620
- e("div", er, [
2621
- e("a", tr, [
2622
- I(d.$slots, "previous")
2624
+ ]))) : (s(), n("div", tr, [
2625
+ e("div", sr, [
2626
+ e("a", or, [
2627
+ F(d.$slots, "previous")
2623
2628
  ]),
2624
- e("a", sr, [
2625
- I(d.$slots, "next")
2629
+ e("a", lr, [
2630
+ F(d.$slots, "next")
2626
2631
  ])
2627
2632
  ]),
2628
- e("div", or, [
2633
+ e("div", rr, [
2629
2634
  e("div", null, [
2630
- e("p", lr, [
2631
- I(d.$slots, "showing"),
2632
- e("span", rr, u(d.current + " "), 1),
2633
- I(d.$slots, "of"),
2634
- e("span", nr, u(d.total), 1)
2635
+ e("p", nr, [
2636
+ F(d.$slots, "showing"),
2637
+ e("span", ar, u(d.current + " "), 1),
2638
+ F(d.$slots, "of"),
2639
+ e("span", ir, u(d.total), 1)
2635
2640
  ])
2636
2641
  ]),
2637
2642
  e("div", null, [
2638
- e("nav", ar, [
2643
+ e("nav", dr, [
2639
2644
  C(e("button", {
2640
- onClick: f[0] || (f[0] = (y) => o("changePage", d.current - 1)),
2645
+ onClick: f[0] || (f[0] = (h) => l("changePage", d.current - 1)),
2641
2646
  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"
2642
2647
  }, [
2643
- e("span", ir, [
2644
- I(d.$slots, "previous")
2648
+ e("span", ur, [
2649
+ F(d.$slots, "previous")
2645
2650
  ]),
2646
2651
  g(c(Ue), {
2647
2652
  class: "h-5 w-5",
2648
2653
  "aria-hidden": "true"
2649
2654
  })
2650
2655
  ], 512), [
2651
- [S, d.current !== 1]
2656
+ [M, d.current !== 1]
2652
2657
  ]),
2653
- (s(!0), n(k, null, $(m.value, (y) => (s(), n("button", {
2654
- onClick: (w) => o("changePage", y),
2655
- key: y,
2658
+ (s(!0), n(k, null, $(m.value, (h) => (s(), n("button", {
2659
+ onClick: (w) => l("changePage", h),
2660
+ key: h,
2656
2661
  "aria-current": "page",
2657
- class: h([[
2658
- 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"
2662
+ class: y([[
2663
+ 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"
2659
2664
  ], "relative inline-flex items-center px-4 py-2 border text-sm font-medium"])
2660
- }, u(y), 11, dr))), 128)),
2665
+ }, u(h), 11, cr))), 128)),
2661
2666
  C(e("button", {
2662
- onClick: f[1] || (f[1] = (y) => o("changePage", d.current + 1)),
2667
+ onClick: f[1] || (f[1] = (h) => l("changePage", d.current + 1)),
2663
2668
  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"
2664
2669
  }, [
2665
- e("span", ur, [
2666
- I(d.$slots, "next")
2670
+ e("span", gr, [
2671
+ F(d.$slots, "next")
2667
2672
  ]),
2668
2673
  g(c(X), {
2669
2674
  class: "h-5 w-5",
2670
2675
  "aria-hidden": "true"
2671
2676
  })
2672
2677
  ], 512), [
2673
- [S, d.current !== d.total]
2678
+ [M, d.current !== d.total]
2674
2679
  ])
2675
2680
  ])
2676
2681
  ])
2677
2682
  ])
2678
2683
  ]));
2679
2684
  }
2680
- }), 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 = {
2685
+ }), fr = { class: "hidden md:flex md:flex-col sticky md:inset-y-0" }, hr = { class: "flex flex-col flex-grow overflow-y-auto" }, yr = { class: "grow flex flex-col" }, vr = {
2681
2686
  class: "flex-1 space-y-1",
2682
2687
  "aria-label": "Sidebar"
2683
- }, hr = { key: 0 }, vr = ["onClick"], br = {
2688
+ }, br = { key: 0 }, wr = ["onClick"], xr = {
2684
2689
  key: 1,
2685
2690
  class: "text-left"
2686
- }, wr = {
2691
+ }, kr = {
2687
2692
  key: 1,
2688
2693
  class: "flex-1 text-left"
2689
- }, xr = {
2694
+ }, _r = {
2690
2695
  key: 2,
2691
2696
  class: "flex-1"
2692
- }, kr = {
2697
+ }, $r = {
2693
2698
  key: 0,
2694
2699
  class: "align-left"
2695
- }, _r = {
2700
+ }, Cr = {
2696
2701
  key: 1,
2697
2702
  class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2"
2698
- }, $r = { class: "h-12 flex flex-row items-center" }, Cr = /* @__PURE__ */ M({
2703
+ }, Br = { class: "h-12 flex flex-row items-center" }, Mr = /* @__PURE__ */ B({
2699
2704
  __name: "uiSidebar",
2700
2705
  props: {
2701
2706
  navigation: {},
@@ -2706,55 +2711,55 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
2706
2711
  },
2707
2712
  emits: ["sideBarClick"],
2708
2713
  setup(p, { emit: i }) {
2709
- const o = i;
2710
- return (a, r) => (s(), n("div", pr, [
2711
- e("div", mr, [
2712
- e("div", fr, [
2713
- e("nav", yr, [
2714
- a.loading ? (s(), n(k, { key: 1 }, $(5, (l) => e("div", $r, r[1] || (r[1] = [
2714
+ const l = i;
2715
+ return (a, r) => (s(), n("div", fr, [
2716
+ e("div", hr, [
2717
+ e("div", yr, [
2718
+ e("nav", vr, [
2719
+ a.loading ? (s(), n(k, { key: 1 }, $(5, (o) => e("div", Br, r[1] || (r[1] = [
2715
2720
  e("div", { class: "w-6 h-6 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 mr-4" }, null, -1),
2716
2721
  e("div", { class: "h-3 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 grow" }, null, -1)
2717
- ]))), 64)) : (s(!0), n(k, { key: 0 }, $(a.navigation, (l) => (s(), n(k, {
2718
- key: l.name
2722
+ ]))), 64)) : (s(!0), n(k, { key: 0 }, $(a.navigation, (o) => (s(), n(k, {
2723
+ key: o.name
2719
2724
  }, [
2720
- l.children ? (s(), _(c(ke), {
2725
+ o.children ? (s(), _(c(ke), {
2721
2726
  key: 1,
2722
2727
  as: "div",
2723
2728
  class: "space-y-1"
2724
2729
  }, {
2725
2730
  default: v(({ open: t }) => [
2726
2731
  g(c(E), {
2727
- 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"])
2732
+ class: y([o.current ? "bg-indigo-600 text-white" : "text-gray-600 hover:bg-gray-50 hover:text-gray-900", "group w-full flex items-center pl-2 pr-1 py-2 text-left text-sm font-medium rounded-md focus:outline-none"])
2728
2733
  }, {
2729
2734
  default: v(() => [
2730
- l.icon ? (s(), _(j, {
2735
+ o.icon ? (s(), _(D, {
2731
2736
  key: 0,
2732
2737
  loading: a.loading,
2733
- icon: l.icon,
2734
- class: h([
2735
- l.current ? "text-white" : "text-gray-400 group-hover:text-gray-500",
2738
+ icon: o.icon,
2739
+ class: y([
2740
+ o.current ? "text-white" : "text-gray-400 group-hover:text-gray-500",
2736
2741
  "mr-3 flex-shrink-0 h-6 w-6"
2737
2742
  ]),
2738
2743
  "aria-hidden": "true"
2739
2744
  }, null, 8, ["loading", "icon", "class"])) : b("", !0),
2740
- a.loading ? (s(), n("div", xr, r[0] || (r[0] = [
2745
+ a.loading ? (s(), n("div", _r, r[0] || (r[0] = [
2741
2746
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, null, -1)
2742
- ]))) : (s(), n("span", wr, u(l.name), 1)),
2747
+ ]))) : (s(), n("span", kr, u(o.name), 1)),
2743
2748
  g(c(X), {
2744
- 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"])
2749
+ 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"])
2745
2750
  }, null, 8, ["class"])
2746
2751
  ]),
2747
2752
  _: 2
2748
2753
  }, 1032, ["class"]),
2749
2754
  g(c(_e), { class: "space-y-1" }, {
2750
2755
  default: v(() => [
2751
- (s(!0), n(k, null, $(l.children, (m) => (s(), _(c(E), {
2752
- onClick: (d) => o("sideBarClick", m.id),
2756
+ (s(!0), n(k, null, $(o.children, (m) => (s(), _(c(E), {
2757
+ onClick: (d) => l("sideBarClick", m.id),
2753
2758
  key: m.name,
2754
- class: h([m.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"])
2759
+ class: y([m.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"])
2755
2760
  }, {
2756
2761
  default: v(() => [
2757
- a.loading ? (s(), n("div", _r)) : (s(), n("span", kr, u(m.name), 1))
2762
+ a.loading ? (s(), n("div", Cr)) : (s(), n("span", $r, u(m.name), 1))
2758
2763
  ]),
2759
2764
  _: 2
2760
2765
  }, 1032, ["onClick", "class"]))), 128))
@@ -2763,26 +2768,26 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
2763
2768
  }, 1024)
2764
2769
  ]),
2765
2770
  _: 2
2766
- }, 1024)) : (s(), n("div", hr, [
2771
+ }, 1024)) : (s(), n("div", br, [
2767
2772
  e("button", {
2768
- onClick: (t) => o("sideBarClick", l.id),
2769
- class: h([
2770
- l.current ? "bg-indigo-600 text-white" : "text-gray-600 hover:bg-gray-50 hover:text-gray-900",
2773
+ onClick: (t) => l("sideBarClick", o.id),
2774
+ class: y([
2775
+ o.current ? "bg-indigo-600 text-white" : "text-gray-600 hover:bg-gray-50 hover:text-gray-900",
2771
2776
  "group w-full flex items-center pl-2 py-2 text-sm font-medium rounded-md"
2772
2777
  ])
2773
2778
  }, [
2774
- l.icon ? (s(), _(j, {
2779
+ o.icon ? (s(), _(D, {
2775
2780
  key: 0,
2776
2781
  loading: a.loading,
2777
- icon: l.icon,
2778
- class: h([
2779
- l.current ? "text-white" : "text-gray-400 group-hover:text-gray-500",
2782
+ icon: o.icon,
2783
+ class: y([
2784
+ o.current ? "text-white" : "text-gray-400 group-hover:text-gray-500",
2780
2785
  "mr-3 flex-shrink-0 h-6 w-6"
2781
2786
  ]),
2782
2787
  "aria-hidden": "true"
2783
2788
  }, null, 8, ["loading", "icon", "class"])) : b("", !0),
2784
- a.loading ? b("", !0) : (s(), n("span", br, u(l.name), 1))
2785
- ], 10, vr)
2789
+ a.loading ? b("", !0) : (s(), n("span", xr, u(o.name), 1))
2790
+ ], 10, wr)
2786
2791
  ]))
2787
2792
  ], 64))), 128))
2788
2793
  ])
@@ -2790,10 +2795,10 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
2790
2795
  ])
2791
2796
  ]));
2792
2797
  }
2793
- }), Br = { key: 0 }, Mr = { class: "ml-16 text-sm font-medium text-gray-500 truncate" }, Sr = { class: "ml-16 flex items-baseline pb-5" }, jr = { class: "text-2xl font-semibold text-gray-900" }, Dr = {
2798
+ }), Sr = { key: 0 }, Dr = { class: "ml-16 text-sm font-medium text-gray-500 truncate" }, jr = { class: "ml-16 flex items-baseline pb-5" }, Tr = { class: "text-2xl font-semibold text-gray-900" }, zr = {
2794
2799
  key: 0,
2795
2800
  class: "text-black ml-2 flex items-baseline text-sm font-semibold"
2796
- }, 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" }, Ar = { class: "absolute bg-gray-200 rounded-md p-3 animate-pulse" }, Ge = /* @__PURE__ */ M({
2801
+ }, Lr = { class: "absolute bottom-0 inset-x-0 bg-gray-50 px-4 py-4 sm:px-6" }, Nr = { class: "text-sm" }, Ar = { key: 1 }, Yr = { 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" }, Ge = /* @__PURE__ */ B({
2797
2802
  __name: "uiStats",
2798
2803
  props: {
2799
2804
  item: {},
@@ -2801,13 +2806,13 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
2801
2806
  },
2802
2807
  emits: ["statClick"],
2803
2808
  setup(p, { emit: i }) {
2804
- return (o, a) => o.loading ? (s(), n("div", Lr, [
2805
- e("div", Nr, [
2809
+ return (l, a) => l.loading ? (s(), n("div", Ar, [
2810
+ e("div", Yr, [
2806
2811
  e("dt", null, [
2807
- e("div", Ar, [
2808
- g(j, {
2809
- loading: o.loading,
2810
- icon: o.item.icon,
2812
+ e("div", Or, [
2813
+ g(D, {
2814
+ loading: l.loading,
2815
+ icon: l.item.icon,
2811
2816
  class: "h-6 w-6 text-white",
2812
2817
  "aria-hidden": "true"
2813
2818
  }, null, 8, ["loading", "icon"])
@@ -2820,82 +2825,82 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
2820
2825
  ], -1))
2821
2826
  ])
2822
2827
  ])
2823
- ])) : (s(), n("div", Br, [
2828
+ ])) : (s(), n("div", Sr, [
2824
2829
  e("div", {
2825
- 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 }])
2830
+ class: y(["relative bg-white pt-5 px-4 sm:pt-6 sm:px-6 shadow rounded-lg overflow-hidden h-full", { "pb-12": l.item.showFooter }])
2826
2831
  }, [
2827
2832
  e("dt", null, [
2828
2833
  e("div", {
2829
- class: h(["absolute rounded-md p-3", {
2830
- "bg-indigo-500": !o.item.color,
2831
- "bg-green-500": o.item.color === "green",
2832
- "bg-red-500": o.item.color === "red",
2833
- "bg-yellow-500": o.item.color === "yellow",
2834
- "bg-cyan-300": o.item.color === "secondary"
2834
+ class: y(["absolute rounded-md p-3", {
2835
+ "bg-indigo-500": !l.item.color,
2836
+ "bg-green-500": l.item.color === "green",
2837
+ "bg-red-500": l.item.color === "red",
2838
+ "bg-yellow-500": l.item.color === "yellow",
2839
+ "bg-cyan-300": l.item.color === "secondary"
2835
2840
  }])
2836
2841
  }, [
2837
- g(j, {
2838
- icon: o.item.icon,
2842
+ g(D, {
2843
+ icon: l.item.icon,
2839
2844
  class: "h-6 w-6 text-white",
2840
2845
  "aria-hidden": "true",
2841
- loading: o.loading
2846
+ loading: l.loading
2842
2847
  }, null, 8, ["icon", "loading"])
2843
2848
  ], 2),
2844
- e("p", Mr, u(o.item.name), 1)
2849
+ e("p", Dr, u(l.item.name), 1)
2845
2850
  ]),
2846
- e("dd", Sr, [
2847
- e("p", jr, u(o.item.stat), 1),
2848
- o.item.explanation ? (s(), n("p", Dr, u(o.item.explanation), 1)) : b("", !0),
2849
- o.item.changeType ? (s(), n("p", {
2851
+ e("dd", jr, [
2852
+ e("p", Tr, u(l.item.stat), 1),
2853
+ l.item.explanation ? (s(), n("p", zr, u(l.item.explanation), 1)) : b("", !0),
2854
+ l.item.changeType ? (s(), n("p", {
2850
2855
  key: 1,
2851
- class: h([
2856
+ class: y([
2852
2857
  {
2853
- "text-green-600": o.item.changeType === "increase",
2854
- "text-red-600": o.item.changeType === "decrease",
2855
- "text-black": o.item.changeType === "neutral"
2858
+ "text-green-600": l.item.changeType === "increase",
2859
+ "text-red-600": l.item.changeType === "decrease",
2860
+ "text-black": l.item.changeType === "neutral"
2856
2861
  },
2857
2862
  "ml-2 flex items-baseline text-sm font-semibold"
2858
2863
  ])
2859
2864
  }, [
2860
- o.item.changeType === "increase" ? (s(), _(c(vt), {
2865
+ l.item.changeType === "increase" ? (s(), _(c(vt), {
2861
2866
  key: 0,
2862
2867
  class: "self-center flex-shrink-0 h-3 w-3 text-green-500",
2863
2868
  "aria-hidden": "true"
2864
2869
  })) : b("", !0),
2865
- o.item.changeType === "decrease" ? (s(), _(c(yt), {
2870
+ l.item.changeType === "decrease" ? (s(), _(c(ht), {
2866
2871
  key: 1,
2867
2872
  class: "self-center flex-shrink-0 h-3 w-3 text-red-500",
2868
2873
  "aria-hidden": "true"
2869
2874
  })) : b("", !0),
2870
- D(" " + u(o.item.change), 1)
2875
+ T(" " + u(l.item.change), 1)
2871
2876
  ], 2)) : b("", !0),
2872
- C(e("div", Tr, [
2873
- e("div", zr, [
2877
+ C(e("div", Lr, [
2878
+ e("div", Nr, [
2874
2879
  e("span", {
2875
- onClick: a[0] || (a[0] = (r) => o.$emit("statClick", o.item.id)),
2880
+ onClick: a[0] || (a[0] = (r) => l.$emit("statClick", l.item.id)),
2876
2881
  class: "font-medium text-indigo-600 hover:text-indigo-500 cursor-pointer"
2877
- }, u(o.item.actionText), 1)
2882
+ }, u(l.item.actionText), 1)
2878
2883
  ])
2879
2884
  ], 512), [
2880
- [S, o.item.showFooter]
2885
+ [M, l.item.showFooter]
2881
2886
  ])
2882
2887
  ])
2883
2888
  ], 2)
2884
2889
  ]));
2885
2890
  }
2886
- }), Yr = {
2891
+ }), Pr = {
2887
2892
  key: 0,
2888
2893
  class: "overflow-hidden bg-white shadow sm:rounded-lg"
2889
- }, Pr = { class: "px-4 py-5 sm:px-6" }, Or = { class: "text-lg font-medium leading-6 text-gray-900" }, Vr = { class: "mt-1 max-w-2xl text-sm text-gray-500" }, Fr = { class: "border-t border-gray-200" }, Ir = { class: "text-sm font-medium text-gray-500" }, Rr = {
2894
+ }, Vr = { class: "px-4 py-5 sm:px-6" }, Ir = { class: "text-lg font-medium leading-6 text-gray-900" }, Fr = { class: "mt-1 max-w-2xl text-sm text-gray-500" }, Rr = { class: "border-t border-gray-200" }, qr = { class: "text-sm font-medium text-gray-500" }, Hr = {
2890
2895
  key: 0,
2891
2896
  class: "mt-1 text-sm text-gray-900 sm:col-span-2 sm:mt-0 break-normal"
2892
- }, qr = ["onClick"], Hr = {
2897
+ }, Er = ["onClick"], Ur = {
2893
2898
  key: 2,
2894
2899
  class: "mt-1 text-sm text-gray-900 sm:col-span-2 sm:mt-0 break-words"
2895
- }, Er = {
2900
+ }, Zr = {
2896
2901
  key: 1,
2897
2902
  class: "overflow-hidden bg-white shadow sm:rounded-lg"
2898
- }, Ur = { class: "border-t border-gray-200" }, Zr = /* @__PURE__ */ M({
2903
+ }, Jr = { class: "border-t border-gray-200" }, Wr = /* @__PURE__ */ B({
2899
2904
  __name: "uiStripedCard",
2900
2905
  props: {
2901
2906
  title: {},
@@ -2905,13 +2910,13 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
2905
2910
  },
2906
2911
  emits: ["itemClicked"],
2907
2912
  setup(p, { emit: i }) {
2908
- return (o, a) => o.loading ? (s(), n("div", Er, [
2913
+ return (l, a) => l.loading ? (s(), n("div", Zr, [
2909
2914
  a[1] || (a[1] = Q('<div class="px-4 py-5 sm:px-6 animate-pulse"><h3 class="text-lg font-medium leading-6 text-gray-900"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4"></div></h3><div class="mt-1 max-w-2xl text-sm text-gray-500"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-2/5"></div></div></div>', 1)),
2910
- e("div", Ur, [
2915
+ e("div", Jr, [
2911
2916
  e("dl", null, [
2912
2917
  (s(), n(k, null, $(5, (r) => e("div", {
2913
2918
  key: r,
2914
- 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"]])
2919
+ 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"]])
2915
2920
  }, a[0] || (a[0] = [
2916
2921
  e("dt", { class: "text-sm font-medium text-gray-500" }, [
2917
2922
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-12" })
@@ -2922,41 +2927,41 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
2922
2927
  ]), 2)), 64))
2923
2928
  ])
2924
2929
  ])
2925
- ])) : (s(), n("div", Yr, [
2926
- e("div", Pr, [
2927
- e("h3", Or, u(o.title), 1),
2928
- e("p", Vr, u(o.subtitle), 1)
2930
+ ])) : (s(), n("div", Pr, [
2931
+ e("div", Vr, [
2932
+ e("h3", Ir, u(l.title), 1),
2933
+ e("p", Fr, u(l.subtitle), 1)
2929
2934
  ]),
2930
- e("div", Fr, [
2935
+ e("div", Rr, [
2931
2936
  e("dl", null, [
2932
- (s(!0), n(k, null, $(o.items, (r, l) => (s(), n("div", {
2933
- key: l,
2934
- 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"]])
2937
+ (s(!0), n(k, null, $(l.items, (r, o) => (s(), n("div", {
2938
+ key: o,
2939
+ class: y(["px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6", [o % 2 === 0 ? "bg-gray-50" : "bg-white"]])
2935
2940
  }, [
2936
- e("dt", Ir, u(r.title), 1),
2937
- r.type === "tags" ? (s(), n("dd", Rr, [
2941
+ e("dt", qr, u(r.title), 1),
2942
+ r.type === "tags" ? (s(), n("dd", Hr, [
2938
2943
  (s(!0), n(k, null, $(r.tags, (t, m) => (s(), _(R, {
2939
- loading: o.loading,
2944
+ loading: l.loading,
2940
2945
  key: m,
2941
2946
  color: t.color,
2942
2947
  class: "mr-2 mb-2"
2943
2948
  }, {
2944
2949
  default: v(() => [
2945
- D(u(t.text), 1)
2950
+ T(u(t.text), 1)
2946
2951
  ]),
2947
2952
  _: 2
2948
2953
  }, 1032, ["loading", "color"]))), 128))
2949
2954
  ])) : r.type === "link" ? (s(), n("dd", {
2950
2955
  key: 1,
2951
2956
  class: "mt-1 text-sm text-indigo-600 hover:text-indigo-400 sm:col-span-2 sm:mt-0 cursor-pointer",
2952
- onClick: (t) => o.$emit("itemClicked", r.emits)
2953
- }, u(r.text), 9, qr)) : (s(), n("dd", Hr, u(r.text), 1))
2957
+ onClick: (t) => l.$emit("itemClicked", r.emits)
2958
+ }, u(r.text), 9, Er)) : (s(), n("dd", Ur, u(r.text), 1))
2954
2959
  ], 2))), 128))
2955
2960
  ])
2956
2961
  ])
2957
2962
  ]));
2958
2963
  }
2959
- }), Jr = { class: "absolute top-10 bg-indigo-600 text-white text-xs p-2 rounded z-10 font-light w-60 flex flex-row items-start" }, Wr = { class: "ml-2" }, Gr = {
2964
+ }), Gr = { class: "absolute top-10 bg-indigo-600 text-white text-xs p-2 rounded z-10 font-light w-60 flex flex-row items-start" }, Qr = { class: "ml-2" }, Kr = {
2960
2965
  __name: "tooltip",
2961
2966
  props: {
2962
2967
  tip: {
@@ -2965,8 +2970,8 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
2965
2970
  }
2966
2971
  },
2967
2972
  setup(p) {
2968
- return (i, o) => (s(), n("div", Jr, [
2969
- o[0] || (o[0] = e("svg", {
2973
+ return (i, l) => (s(), n("div", Gr, [
2974
+ l[0] || (l[0] = e("svg", {
2970
2975
  class: "absolute -top-3 left-0",
2971
2976
  xmlns: "http://www.w3.org/2000/svg",
2972
2977
  width: "27.687",
@@ -2982,26 +2987,26 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
2982
2987
  })
2983
2988
  ], -1)),
2984
2989
  e("div", null, [
2985
- g(j, {
2986
- icon: c(jt),
2990
+ g(D, {
2991
+ icon: c(Dt),
2987
2992
  loading: !1,
2988
2993
  color: "white",
2989
2994
  size: "big"
2990
2995
  }, null, 8, ["icon"])
2991
2996
  ]),
2992
- e("span", Wr, u(p.tip), 1)
2997
+ e("span", Qr, u(p.tip), 1)
2993
2998
  ]));
2994
2999
  }
2995
- }, Qr = { key: 0 }, Kr = { class: "flex flex-col" }, Xr = { class: "-my-2 overflow-x-auto" }, en = { class: "inline-block min-w-full py-2 align-middle px-1" }, tn = { class: "relative overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg" }, sn = {
3000
+ }, Xr = { key: 0 }, en = { class: "flex flex-col" }, tn = { class: "-my-2 overflow-x-auto" }, sn = { class: "inline-block min-w-full py-2 align-middle px-1" }, on = { class: "relative overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg" }, ln = {
2996
3001
  key: 0,
2997
3002
  class: "absolute top-0 left-12 flex h-12 items-center space-x-3 sm:left-16 bg-white shadow rounded px-4 py-1 z-10"
2998
- }, on = ["onClick"], ln = { class: "min-w-full table-fixed divide-y divide-gray-300" }, rn = { class: "bg-gray-50" }, nn = ["checked", "indeterminate"], an = ["onMouseover", "onMouseleave"], dn = ["onClick"], un = {
3003
+ }, rn = ["onClick"], nn = { class: "min-w-full table-fixed divide-y divide-gray-300" }, an = { class: "bg-gray-50" }, dn = ["checked", "indeterminate"], un = ["onMouseover", "onMouseleave"], cn = ["onClick"], gn = {
2999
3004
  key: 2,
3000
3005
  class: "group flex items-center uppercase text-xs"
3001
- }, cn = { class: "divide-y divide-gray-200 bg-white" }, gn = {
3006
+ }, pn = { class: "divide-y divide-gray-200 bg-white" }, mn = {
3002
3007
  key: 0,
3003
3008
  class: "absolute inset-y-0 left-0 w-0.5 bg-indigo-600"
3004
- }, pn = ["value"], mn = ["onClick"], fn = ["href"], yn = { key: 3 }, hn = /* @__PURE__ */ M({
3009
+ }, fn = ["value"], hn = ["onClick"], yn = ["href"], vn = { key: 3 }, bn = /* @__PURE__ */ B({
3005
3010
  __name: "uiTable",
3006
3011
  props: {
3007
3012
  resetSelected: { type: Boolean, default: !1 },
@@ -3014,134 +3019,134 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
3014
3019
  },
3015
3020
  emits: ["tableAction", "orderBy", "customEmit", "selectedItemsDeleted"],
3016
3021
  setup(p, { emit: i }) {
3017
- let o = Y([]), a = Y(""), r = Y(!1);
3018
- const l = i, t = p, m = O(
3019
- () => o.value.length > 0 && o.value.length < t.items.length
3020
- ), d = (w, B) => {
3021
- a.value !== w && B && (a.value = w), B || (a.value = void 0);
3022
+ let l = Y([]), a = Y(""), r = Y(!1);
3023
+ const o = i, t = p, m = V(
3024
+ () => l.value.length > 0 && l.value.length < t.items.length
3025
+ ), d = (w, N) => {
3026
+ a.value !== w && N && (a.value = w), N || (a.value = void 0);
3022
3027
  }, f = (w) => {
3023
- o.value = w.target.checked ? t.items.map((B) => B.id) : [];
3024
- }, y = (w) => {
3025
- l("customEmit", w);
3028
+ l.value = w.target.checked ? t.items.map((N) => N.id) : [];
3029
+ }, h = (w) => {
3030
+ o("customEmit", w);
3026
3031
  };
3027
3032
  return Z(() => t.resetSelected, (w) => {
3028
- r.value = w, w && r.value && (o.value = [], r.value = !w, l("selectedItemsDeleted"));
3029
- }), (w, B) => {
3030
- var A, V;
3031
- return w.loading ? (s(), _(We, { key: 1 })) : (s(), n("div", Qr, [
3032
- e("div", Kr, [
3033
- e("div", Xr, [
3034
- e("div", en, [
3035
- e("div", tn, [
3036
- ((A = c(o)) == null ? void 0 : A.length) > 0 && ((V = w.actions) == null ? void 0 : V.length) > 0 ? (s(), n("div", sn, [
3037
- (s(!0), n(k, null, $(w.actions, (z, H) => (s(), n("button", {
3038
- onClick: (x) => w.$emit("tableAction", { action: z.id, items: c(o) }),
3039
- key: H,
3033
+ r.value = w, w && r.value && (l.value = [], r.value = !w, o("selectedItemsDeleted"));
3034
+ }), (w, N) => {
3035
+ var H, L;
3036
+ return w.loading ? (s(), _(We, { key: 1 })) : (s(), n("div", Xr, [
3037
+ e("div", en, [
3038
+ e("div", tn, [
3039
+ e("div", sn, [
3040
+ e("div", on, [
3041
+ ((H = c(l)) == null ? void 0 : H.length) > 0 && ((L = w.actions) == null ? void 0 : L.length) > 0 ? (s(), n("div", ln, [
3042
+ (s(!0), n(k, null, $(w.actions, (S, P) => (s(), n("button", {
3043
+ onClick: (x) => w.$emit("tableAction", { action: S.id, items: c(l) }),
3044
+ key: P,
3040
3045
  type: "button",
3041
3046
  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"
3042
- }, u(z.name), 9, on))), 128))
3047
+ }, u(S.name), 9, rn))), 128))
3043
3048
  ])) : b("", !0),
3044
- e("table", ln, [
3045
- e("thead", rn, [
3049
+ e("table", nn, [
3050
+ e("thead", an, [
3046
3051
  e("tr", null, [
3047
3052
  e("th", {
3048
3053
  scope: "col",
3049
- class: h([w.actions ? "px-6 sm:px-8" : "px-3", "relative"])
3054
+ class: y([w.actions ? "px-6 sm:px-8" : "px-3", "relative"])
3050
3055
  }, [
3051
3056
  w.actions ? (s(), n("input", {
3052
3057
  key: 0,
3053
- checked: m.value || c(o).length === w.items.length,
3058
+ checked: m.value || c(l).length === w.items.length,
3054
3059
  indeterminate: m.value,
3055
3060
  class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500",
3056
3061
  type: "checkbox",
3057
3062
  onChange: f
3058
- }, null, 40, nn)) : b("", !0)
3063
+ }, null, 40, dn)) : b("", !0)
3059
3064
  ], 2),
3060
- (s(!0), n(k, null, $(w.header, (z, H) => (s(), n("th", {
3061
- key: H,
3065
+ (s(!0), n(k, null, $(w.header, (S, P) => (s(), n("th", {
3066
+ key: P,
3062
3067
  class: "py-3.5 pr-3 text-left font-semibold text-gray-900 relative",
3063
3068
  scope: "col",
3064
- onMouseover: (x) => d(z.name, !0),
3065
- onMouseleave: (x) => d(z.name, !1)
3069
+ onMouseover: (x) => d(S.name, !0),
3070
+ onMouseleave: (x) => d(S.name, !1)
3066
3071
  }, [
3067
- z.tooltip ? C((s(), _(Gr, {
3072
+ S.tooltip ? C((s(), _(Kr, {
3068
3073
  key: 0,
3069
- tip: z.tooltip
3074
+ tip: S.tooltip
3070
3075
  }, null, 8, ["tip"])), [
3071
- [S, c(a) === z.name]
3076
+ [M, c(a) === S.name]
3072
3077
  ]) : b("", !0),
3073
- z.value ? (s(), n("button", {
3078
+ S.value ? (s(), n("button", {
3074
3079
  key: 1,
3075
3080
  class: "group flex items-center uppercase text-xs relative text-nowrap",
3076
- onClick: (x) => l("orderBy", { value: z.value, orderDirection: w.orderDirection === "asc" ? "desc" : "asc" })
3081
+ onClick: (x) => o("orderBy", { value: S.value, orderDirection: w.orderDirection === "asc" ? "desc" : "asc" })
3077
3082
  }, [
3078
- e("span", null, u(z.name), 1),
3083
+ e("span", null, u(S.name), 1),
3079
3084
  e("span", {
3080
- class: h([[
3081
- z.value === w.orderedBy ? "bg-indigo-600 text-white group-hover:bg-gray-300" : "text-gray-400 group-hover:visible group-focus:visible"
3085
+ class: y([[
3086
+ S.value === w.orderedBy ? "bg-indigo-600 text-white group-hover:bg-gray-300" : "text-gray-400 group-hover:visible group-focus:visible"
3082
3087
  ], "ml-2 flex-none rounded group-hover:bg-indigo-200 group-hover:text-white"])
3083
3088
  }, [
3084
- g(j, {
3089
+ g(D, {
3085
3090
  icon: w.orderDirection === "asc" ? c(ie) : c(kt),
3086
3091
  loading: w.loading,
3087
- color: z.value === w.orderedBy ? "white" : "primary"
3092
+ color: S.value === w.orderedBy ? "white" : "primary"
3088
3093
  }, null, 8, ["icon", "loading", "color"])
3089
3094
  ], 2)
3090
- ], 8, dn)) : (s(), n("p", un, [
3091
- e("span", null, u(z.name), 1)
3095
+ ], 8, cn)) : (s(), n("p", gn, [
3096
+ e("span", null, u(S.name), 1)
3092
3097
  ]))
3093
- ], 40, an))), 128))
3098
+ ], 40, un))), 128))
3094
3099
  ])
3095
3100
  ]),
3096
- e("tbody", cn, [
3097
- (s(!0), n(k, null, $(w.items, (z, H) => {
3098
- var x, P;
3101
+ e("tbody", pn, [
3102
+ (s(!0), n(k, null, $(w.items, (S, P) => {
3103
+ var x, O;
3099
3104
  return s(), n("tr", {
3100
- key: z.id,
3101
- class: h([
3102
- c(o).includes(z.id) && "bg-gray-50",
3103
- H % 2 === 0 ? void 0 : "bg-gray-50"
3105
+ key: S.id,
3106
+ class: y([
3107
+ c(l).includes(S.id) && "bg-gray-50",
3108
+ P % 2 === 0 ? void 0 : "bg-gray-50"
3104
3109
  ])
3105
3110
  }, [
3106
3111
  e("td", {
3107
- class: h([((x = w.actions) == null ? void 0 : x.length) > 0 ? "w-2" : "w-0", "relative"])
3112
+ class: y([((x = w.actions) == null ? void 0 : x.length) > 0 ? "w-2" : "w-0", "relative"])
3108
3113
  }, [
3109
- c(o).includes(z.id) ? (s(), n("div", gn)) : b("", !0),
3110
- ((P = w.actions) == null ? void 0 : P.length) > 0 ? C((s(), n("input", {
3114
+ c(l).includes(S.id) ? (s(), n("div", mn)) : b("", !0),
3115
+ ((O = w.actions) == null ? void 0 : O.length) > 0 ? C((s(), n("input", {
3111
3116
  key: 1,
3112
- "onUpdate:modelValue": B[0] || (B[0] = (N) => Ye(o) ? o.value = N : o = N),
3113
- value: z.id,
3117
+ "onUpdate:modelValue": N[0] || (N[0] = (A) => Ye(l) ? l.value = A : l = A),
3118
+ value: S.id,
3114
3119
  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",
3115
3120
  type: "checkbox"
3116
- }, null, 8, pn)), [
3117
- [Ae, c(o)]
3121
+ }, null, 8, fn)), [
3122
+ [Ae, c(l)]
3118
3123
  ]) : b("", !0)
3119
3124
  ], 2),
3120
- (s(!0), n(k, null, $(z.row, (N, te) => (s(), n("td", {
3125
+ (s(!0), n(k, null, $(S.row, (A, te) => (s(), n("td", {
3121
3126
  key: te,
3122
- class: h([
3127
+ class: y([
3123
3128
  "whitespace-nowrap py-4 pr-3 text-sm",
3124
- c(o).includes(z.id) ? "text-indigo-600" : "text-gray-900"
3129
+ c(l).includes(S.id) ? "text-indigo-600" : "text-gray-900"
3125
3130
  ])
3126
3131
  }, [
3127
- typeof N == "object" && N.type === "tag" ? (s(), _(R, {
3132
+ typeof A == "object" && A.type === "tag" ? (s(), _(R, {
3128
3133
  key: 0,
3129
3134
  loading: w.loading,
3130
- color: N.color
3135
+ color: A.color
3131
3136
  }, {
3132
3137
  default: v(() => [
3133
- D(u(N.content), 1)
3138
+ T(u(A.content), 1)
3134
3139
  ]),
3135
3140
  _: 2
3136
- }, 1032, ["loading", "color"])) : typeof N == "object" && N.type === "link" ? (s(), n("span", {
3141
+ }, 1032, ["loading", "color"])) : typeof A == "object" && A.type === "link" ? (s(), n("span", {
3137
3142
  key: 1,
3138
3143
  class: "text-indigo-600 hover:text-indigo-400 cursor-pointer",
3139
- onClick: (T) => y(N)
3140
- }, u(N.content), 9, mn)) : typeof N == "object" && N.type === "href" ? (s(), n("a", {
3144
+ onClick: (z) => h(A)
3145
+ }, u(A.content), 9, hn)) : typeof A == "object" && A.type === "href" ? (s(), n("a", {
3141
3146
  key: 2,
3142
3147
  class: "text-indigo-600 hover:text-indigo-400 cursor-pointer",
3143
- href: N.href
3144
- }, u(N.content), 9, fn)) : (s(), n("span", yn, u(N), 1))
3148
+ href: A.href
3149
+ }, u(A.content), 9, yn)) : (s(), n("span", vn, u(A), 1))
3145
3150
  ], 2))), 128))
3146
3151
  ], 2);
3147
3152
  }), 128))
@@ -3154,24 +3159,24 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
3154
3159
  ]));
3155
3160
  };
3156
3161
  }
3157
- }), vn = { class: "lg:hidden" }, bn = ["value"], wn = { class: "hidden lg:block" }, xn = { class: "border-b border-gray-200" }, kn = {
3162
+ }), wn = { class: "lg:hidden" }, xn = ["value"], kn = { class: "hidden lg:block" }, _n = { class: "border-b border-gray-200" }, $n = {
3158
3163
  class: "-mb-px flex space-x-8",
3159
3164
  "aria-label": "Tabs"
3160
- }, _n = ["onClick", "aria-current"], $n = /* @__PURE__ */ M({
3165
+ }, Cn = ["onClick", "aria-current"], Bn = /* @__PURE__ */ B({
3161
3166
  __name: "uiTabs",
3162
3167
  props: {
3163
3168
  tabs: {}
3164
3169
  },
3165
3170
  emits: ["tabClicked"],
3166
3171
  setup(p, { emit: i }) {
3167
- const o = i, a = (r) => {
3168
- const l = r.target;
3169
- l.value && o("tabClicked", l.value);
3172
+ const l = i, a = (r) => {
3173
+ const o = r.target;
3174
+ o.value && l("tabClicked", o.value);
3170
3175
  };
3171
- return (r, l) => (s(), n("div", null, [
3172
- e("div", vn, [
3176
+ return (r, o) => (s(), n("div", null, [
3177
+ e("div", wn, [
3173
3178
  e("select", {
3174
- onChange: l[0] || (l[0] = (t) => a(t)),
3179
+ onChange: o[0] || (o[0] = (t) => a(t)),
3175
3180
  id: "tabs",
3176
3181
  name: "tabs",
3177
3182
  class: "block w-full rounded-md border-gray-300 py-2 pl-3 pr-10 text-base focus:border-indigo-500 focus:outline-none focus:ring-indigo-500 sm:text-sm"
@@ -3179,59 +3184,59 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
3179
3184
  (s(!0), n(k, null, $(r.tabs, (t) => (s(), n("option", {
3180
3185
  value: t.id,
3181
3186
  key: t.name
3182
- }, u(t.name), 9, bn))), 128))
3187
+ }, u(t.name), 9, xn))), 128))
3183
3188
  ], 32)
3184
3189
  ]),
3185
- e("div", wn, [
3186
- e("div", xn, [
3187
- e("nav", kn, [
3190
+ e("div", kn, [
3191
+ e("div", _n, [
3192
+ e("nav", $n, [
3188
3193
  (s(!0), n(k, null, $(r.tabs, (t) => (s(), n("a", {
3189
3194
  key: t.name,
3190
- onClick: (m) => o("tabClicked", t.id),
3191
- class: h([
3195
+ onClick: (m) => l("tabClicked", t.id),
3196
+ class: y([
3192
3197
  t.current ? "border-indigo-500 text-indigo-600" : "border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-200",
3193
3198
  "whitespace-nowrap flex py-4 px-1 border-b-2 font-medium text-sm cursor-pointer"
3194
3199
  ]),
3195
3200
  "aria-current": t.current ? "page" : void 0
3196
3201
  }, [
3197
- D(u(t.name) + " ", 1),
3202
+ T(u(t.name) + " ", 1),
3198
3203
  t.count ? (s(), n("span", {
3199
3204
  key: 0,
3200
- class: h([
3205
+ class: y([
3201
3206
  t.current ? "bg-indigo-100 text-indigo-600" : "bg-gray-100 text-gray-900",
3202
3207
  "hidden ml-3 py-0.5 px-2.5 rounded-full text-xs font-medium md:inline-block"
3203
3208
  ])
3204
3209
  }, u(t.count), 3)) : b("", !0)
3205
- ], 10, _n))), 128))
3210
+ ], 10, Cn))), 128))
3206
3211
  ])
3207
3212
  ])
3208
3213
  ])
3209
3214
  ]));
3210
3215
  }
3211
- }), Cn = { class: "px-4 py-5 sm:px-6" }, Bn = { class: "text-xl font-bold" }, Mn = {
3216
+ }), Mn = { class: "px-4 py-5 sm:px-6" }, Sn = { class: "text-xl font-bold" }, Dn = {
3212
3217
  key: 0,
3213
3218
  class: "px-4 py-5 sm:p-6"
3214
- }, Sn = { class: "flow-root" }, jn = { class: "relative pb-8" }, Dn = {
3219
+ }, jn = { class: "flow-root" }, Tn = { class: "relative pb-8" }, zn = {
3215
3220
  key: 0,
3216
3221
  class: "absolute left-4 top-4 -ml-px h-full w-0.5 bg-gray-200",
3217
3222
  "aria-hidden": "true"
3218
- }, 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"], An = { class: "text-right text-sm whitespace-nowrap text-gray-500" }, Yn = ["datetime"], Pn = {
3223
+ }, Ln = { class: "relative flex space-x-3" }, Nn = { class: "min-w-0 flex-1 pt-1.5 flex justify-between space-x-4 items-center" }, An = { class: "text-sm text-gray-500" }, Yn = ["onClick"], On = { class: "text-right text-sm whitespace-nowrap text-gray-500" }, Pn = ["datetime"], Vn = {
3219
3224
  key: 1,
3220
3225
  class: "bg-gray-50 px-4 py-4 sm:px-6 z-10"
3221
- }, On = { class: "text-sm" }, Vn = {
3226
+ }, In = { class: "text-sm" }, Fn = {
3222
3227
  key: 2,
3223
3228
  class: "h-full w-full flex items-center justify-center flex-col mb-5"
3224
- }, Fn = {
3229
+ }, Rn = {
3225
3230
  key: 1,
3226
3231
  class: "bg-white overflow-hidden shadow rounded-lg"
3227
- }, In = { class: "px-4 py-5 sm:p-6 animate-pulse" }, Rn = { class: "flow-root" }, qn = {
3232
+ }, qn = { class: "px-4 py-5 sm:p-6 animate-pulse" }, Hn = { class: "flow-root" }, En = {
3228
3233
  class: "-mb-8",
3229
3234
  role: "list"
3230
- }, Hn = { class: "relative pb-8" }, En = {
3235
+ }, Un = { class: "relative pb-8" }, Zn = {
3231
3236
  key: 0,
3232
3237
  class: "absolute left-4 top-4 -ml-px h-full w-0.5 bg-gray-200",
3233
3238
  "aria-hidden": "true"
3234
- }, Un = /* @__PURE__ */ M({
3239
+ }, Jn = /* @__PURE__ */ B({
3235
3240
  __name: "uiTimeline",
3236
3241
  props: {
3237
3242
  name: {},
@@ -3243,38 +3248,38 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
3243
3248
  emits: ["timelineEventClicked", "timelineFooterClicked"],
3244
3249
  setup(p, { emit: i }) {
3245
3250
  const a = me(p.timeline);
3246
- return (r, l) => r.loading ? (s(), n("div", Fn, [
3247
- l[3] || (l[3] = e("div", { class: "px-4 py-5 sm:px-6 animate-pulse" }, [
3251
+ return (r, o) => r.loading ? (s(), n("div", Rn, [
3252
+ o[3] || (o[3] = e("div", { class: "px-4 py-5 sm:px-6 animate-pulse" }, [
3248
3253
  e("h1", { class: "text-xl font-bold" }, [
3249
3254
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4" })
3250
3255
  ])
3251
3256
  ], -1)),
3252
- e("div", In, [
3253
- e("div", Rn, [
3254
- e("ul", qn, [
3257
+ e("div", qn, [
3258
+ e("div", Hn, [
3259
+ e("ul", En, [
3255
3260
  (s(), n(k, null, $(10, (t, m) => e("li", { key: m }, [
3256
- e("div", Hn, [
3257
- t !== 10 ? (s(), n("span", En)) : b("", !0),
3258
- l[2] || (l[2] = Q('<div class="relative flex space-x-3"><div><span class="h-8 w-8 rounded-full bg-gray-300 flex items-center justify-center ring-4 ring-white"></span></div><div class="min-w-0 flex-1 pt-1.5 flex justify-between space-x-4 items-center"><div><div class="text-sm text-gray-500 flex-1"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full"></div></div></div><div class="text-right text-sm whitespace-nowrap text-gray-500 flex-1"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4"></div></div></div></div>', 1))
3261
+ e("div", Un, [
3262
+ t !== 10 ? (s(), n("span", Zn)) : b("", !0),
3263
+ o[2] || (o[2] = Q('<div class="relative flex space-x-3"><div><span class="h-8 w-8 rounded-full bg-gray-300 flex items-center justify-center ring-4 ring-white"></span></div><div class="min-w-0 flex-1 pt-1.5 flex justify-between space-x-4 items-center"><div><div class="text-sm text-gray-500 flex-1"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full"></div></div></div><div class="text-right text-sm whitespace-nowrap text-gray-500 flex-1"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4"></div></div></div></div>', 1))
3259
3264
  ])
3260
3265
  ])), 64))
3261
3266
  ])
3262
3267
  ])
3263
3268
  ]),
3264
- l[4] || (l[4] = e("div", { class: "bg-gray-50 px-4 py-4 sm:px-6 z-10 animate-pulse" }, [
3269
+ o[4] || (o[4] = e("div", { class: "bg-gray-50 px-4 py-4 sm:px-6 z-10 animate-pulse" }, [
3265
3270
  e("div", { class: "text-sm" }, [
3266
3271
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4" })
3267
3272
  ])
3268
3273
  ], -1))
3269
3274
  ])) : (s(), n("div", {
3270
3275
  key: 0,
3271
- class: h(["h-[" + r.height + "px]", "bg-white overflow-hidden shadow rounded-lg"])
3276
+ class: y(["h-[" + r.height + "px]", "bg-white overflow-hidden shadow rounded-lg"])
3272
3277
  }, [
3273
- e("div", Cn, [
3274
- e("h1", Bn, u(r.name), 1)
3278
+ e("div", Mn, [
3279
+ e("h1", Sn, u(r.name), 1)
3275
3280
  ]),
3276
- a.items ? (s(), n("div", Mn, [
3277
- e("div", Sn, [
3281
+ a.items ? (s(), n("div", Dn, [
3282
+ e("div", jn, [
3278
3283
  g(et, {
3279
3284
  name: "list",
3280
3285
  tag: "ul",
@@ -3284,14 +3289,14 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
3284
3289
  (s(!0), n(k, null, $(a.items, (t, m) => {
3285
3290
  var d;
3286
3291
  return s(), n("li", { key: m }, [
3287
- e("div", jn, [
3288
- m < ((d = a.items) == null ? void 0 : d.length) - 1 ? (s(), n("span", Dn)) : b("", !0),
3289
- e("div", Tn, [
3292
+ e("div", Tn, [
3293
+ m < ((d = a.items) == null ? void 0 : d.length) - 1 ? (s(), n("span", zn)) : b("", !0),
3294
+ e("div", Ln, [
3290
3295
  e("div", null, [
3291
3296
  e("span", {
3292
- 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"])
3297
+ 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"])
3293
3298
  }, [
3294
- g(j, {
3299
+ g(D, {
3295
3300
  loading: r.loading,
3296
3301
  icon: t == null ? void 0 : t.icon,
3297
3302
  "aria-hidden": "true",
@@ -3300,20 +3305,20 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
3300
3305
  }, null, 8, ["loading", "icon"])
3301
3306
  ], 2)
3302
3307
  ]),
3303
- e("div", zn, [
3308
+ e("div", Nn, [
3304
3309
  e("div", null, [
3305
- e("p", Ln, [
3310
+ e("p", An, [
3306
3311
  e("a", {
3307
3312
  onClick: (f) => r.$emit("timelineEventClicked", t.linkId),
3308
3313
  class: "font-medium text-indigo-600 hover:text-indigo-800 cursor-pointer"
3309
- }, u(t == null ? void 0 : t.target), 9, Nn),
3310
- D(" " + u(t == null ? void 0 : t.content), 1)
3314
+ }, u(t == null ? void 0 : t.target), 9, Yn),
3315
+ T(" " + u(t == null ? void 0 : t.content), 1)
3311
3316
  ])
3312
3317
  ]),
3313
- e("div", An, [
3318
+ e("div", On, [
3314
3319
  e("time", {
3315
3320
  datetime: t == null ? void 0 : t.datetime
3316
- }, u(t == null ? void 0 : t.date), 9, Yn)
3321
+ }, u(t == null ? void 0 : t.date), 9, Pn)
3317
3322
  ])
3318
3323
  ])
3319
3324
  ])
@@ -3325,28 +3330,28 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
3325
3330
  })
3326
3331
  ])
3327
3332
  ])) : b("", !0),
3328
- a.items ? (s(), n("div", Pn, [
3329
- e("div", On, [
3333
+ a.items ? (s(), n("div", Vn, [
3334
+ e("div", In, [
3330
3335
  e("a", {
3331
3336
  class: "cursor-pointer font-medium text-indigo-600 hover:text-indigo-500",
3332
- onClick: l[0] || (l[0] = (t) => r.$emit("timelineFooterClicked", r.timeline.id))
3337
+ onClick: o[0] || (o[0] = (t) => r.$emit("timelineFooterClicked", r.timeline.id))
3333
3338
  }, u(r.timeline.footerText), 1)
3334
3339
  ])
3335
- ])) : (s(), n("div", Vn, [
3336
- g(j, {
3340
+ ])) : (s(), n("div", Fn, [
3341
+ g(D, {
3337
3342
  icon: c(q),
3338
3343
  color: "gray",
3339
3344
  loading: !1,
3340
3345
  size: "huge"
3341
3346
  }, null, 8, ["icon"]),
3342
- l[1] || (l[1] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1))
3347
+ o[1] || (o[1] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1))
3343
3348
  ]))
3344
3349
  ], 2));
3345
3350
  }
3346
- }), Zn = { class: "mx-auto px-6 lg:px-8" }, Jn = { class: "flex justify-between h-20" }, Wn = { class: "flex" }, Gn = { class: "-ml-2 mr-2 flex items-center lg:hidden" }, Qn = ["src"], Kn = { class: "flex items-center" }, Xn = { class: "lg:ml-4 lg:flex-shrink-0 lg:flex lg:items-center hidden" }, ea = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute -top-0 -left-1" }, ta = ["src"], sa = ["onClick"], oa = { class: "pt-2 pb-3 space-y-1" }, la = ["onClick"], ra = { class: "pt-4 pb-3 border-t border-gray-200" }, na = { class: "flex items-center px-4 sm:px-6" }, aa = { class: "flex-shrink-0" }, ia = ["src"], da = {
3351
+ }), Wn = { class: "mx-auto px-6 lg:px-8" }, Gn = { class: "flex justify-between h-20" }, Qn = { class: "flex" }, Kn = { class: "-ml-2 mr-2 flex items-center lg:hidden" }, Xn = ["src"], ea = { class: "flex items-center" }, ta = { class: "lg:ml-4 lg:flex-shrink-0 lg:flex lg:items-center hidden" }, sa = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute -top-0 -left-1" }, oa = ["src"], la = ["onClick"], ra = { class: "pt-2 pb-3 space-y-1" }, na = ["onClick"], aa = { class: "pt-4 pb-3 border-t border-gray-200" }, ia = { class: "flex items-center px-4 sm:px-6" }, da = { class: "flex-shrink-0" }, ua = ["src"], ca = {
3347
3352
  key: 0,
3348
3353
  class: "ml-3"
3349
- }, ua = { class: "text-base font-medium text-gray-800" }, ca = { class: "text-sm font-medium text-gray-500" }, ga = { class: "mt-3 space-y-1" }, pa = ["onClick"], ma = /* @__PURE__ */ M({
3354
+ }, ga = { class: "text-base font-medium text-gray-800" }, pa = { class: "text-sm font-medium text-gray-500" }, ma = { class: "mt-3 space-y-1" }, fa = ["onClick"], ha = /* @__PURE__ */ B({
3350
3355
  __name: "uiTopbar",
3351
3356
  props: {
3352
3357
  logo: {},
@@ -3358,15 +3363,15 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
3358
3363
  },
3359
3364
  emits: ["topBarClick"],
3360
3365
  setup(p, { emit: i }) {
3361
- return (o, a) => (s(), _(c(ke), {
3366
+ return (l, a) => (s(), _(c(ke), {
3362
3367
  as: "nav",
3363
3368
  class: "bg-white shadow z-10"
3364
3369
  }, {
3365
3370
  default: v(({ open: r }) => [
3366
- e("div", Zn, [
3367
- e("div", Jn, [
3368
- e("div", Wn, [
3369
- e("div", Gn, [
3371
+ e("div", Wn, [
3372
+ e("div", Gn, [
3373
+ e("div", Qn, [
3374
+ e("div", Kn, [
3370
3375
  g(c(E), { class: "inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500" }, {
3371
3376
  default: v(() => [
3372
3377
  a[1] || (a[1] = e("span", { class: "sr-only" }, "Open main menu", -1)),
@@ -3385,38 +3390,38 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
3385
3390
  ]),
3386
3391
  e("div", {
3387
3392
  class: "flex-shrink-0 flex items-center cursor-pointer",
3388
- onClick: a[0] || (a[0] = (l) => o.$emit("topBarClick", "logo"))
3393
+ onClick: a[0] || (a[0] = (o) => l.$emit("topBarClick", "logo"))
3389
3394
  }, [
3390
3395
  e("img", {
3391
3396
  class: "h-10",
3392
- src: o.logo,
3397
+ src: l.logo,
3393
3398
  alt: "Hotelinking suite product logo"
3394
- }, null, 8, Qn)
3399
+ }, null, 8, Xn)
3395
3400
  ])
3396
3401
  ]),
3397
- e("div", Kn, [
3398
- e("div", Xn, [
3402
+ e("div", ea, [
3403
+ e("div", ta, [
3399
3404
  g(c(fe), {
3400
3405
  as: "div",
3401
3406
  class: "ml-3 relative"
3402
3407
  }, {
3403
3408
  default: v(() => [
3404
3409
  e("div", null, [
3405
- C(g(c(ye), { class: "bg-white rounded-full flex text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 relative" }, {
3410
+ C(g(c(he), { class: "bg-white rounded-full flex text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 relative" }, {
3406
3411
  default: v(() => [
3407
- C(e("div", ea, a[2] || (a[2] = [
3412
+ C(e("div", sa, a[2] || (a[2] = [
3408
3413
  e("span", { class: "animate-ping absolute inline-flex h-4 w-4 bg-red-500 rounded-full opacity-75" }, null, -1)
3409
3414
  ]), 512), [
3410
- [S, o.alerted]
3415
+ [M, l.alerted]
3411
3416
  ]),
3412
3417
  e("img", {
3413
3418
  class: "h-10 w-10 rounded-full",
3414
- src: o.accountLogo
3415
- }, null, 8, ta)
3419
+ src: l.accountLogo
3420
+ }, null, 8, oa)
3416
3421
  ]),
3417
3422
  _: 1
3418
3423
  }, 512), [
3419
- [S, o.accountLogo]
3424
+ [M, l.accountLogo]
3420
3425
  ])
3421
3426
  ]),
3422
3427
  g(de, {
@@ -3428,19 +3433,19 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
3428
3433
  "leave-to-class": "transform opacity-0 scale-95"
3429
3434
  }, {
3430
3435
  default: v(() => [
3431
- g(c(he), { class: "origin-top-right absolute right-0 mt-2 w-48 rounded-md shadow-lg py-1 bg-white ring-1 ring-black ring-opacity-5 focus:outline-none" }, {
3436
+ g(c(ye), { class: "origin-top-right absolute right-0 mt-2 w-48 rounded-md shadow-lg py-1 bg-white ring-1 ring-black ring-opacity-5 focus:outline-none" }, {
3432
3437
  default: v(() => [
3433
- (s(!0), n(k, null, $(o.profileMenu, (l) => (s(), _(c(ve), {
3434
- key: l.name
3438
+ (s(!0), n(k, null, $(l.profileMenu, (o) => (s(), _(c(ve), {
3439
+ key: o.name
3435
3440
  }, {
3436
3441
  default: v(({ active: t }) => [
3437
3442
  e("p", {
3438
- onClick: (m) => o.$emit("topBarClick", l.id),
3439
- class: h(["cursor-pointer", [
3443
+ onClick: (m) => l.$emit("topBarClick", o.id),
3444
+ class: y(["cursor-pointer", [
3440
3445
  t ? "bg-gray-100" : "",
3441
3446
  "block px-4 py-2 text-sm text-gray-700"
3442
3447
  ]])
3443
- }, u(l.name), 11, sa)
3448
+ }, u(o.name), 11, la)
3444
3449
  ]),
3445
3450
  _: 2
3446
3451
  }, 1024))), 128))
@@ -3459,46 +3464,46 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
3459
3464
  ]),
3460
3465
  g(c(_e), { class: "lg:hidden" }, {
3461
3466
  default: v(() => [
3462
- e("div", oa, [
3463
- (s(!0), n(k, null, $(o.navigation, (l) => (s(), _(c(E), {
3467
+ e("div", ra, [
3468
+ (s(!0), n(k, null, $(l.navigation, (o) => (s(), _(c(E), {
3464
3469
  as: "template",
3465
- key: l.name,
3466
- class: h(["block pl-3 pr-4 py-2 border-l-4 text-base font-medium sm:pl-5 sm:pr-6", {
3467
- "bg-indigo-50 border-indigo-500 text-indigo-700": l.current && l.current === !0,
3468
- "border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700": !l.current
3470
+ key: o.name,
3471
+ class: y(["block pl-3 pr-4 py-2 border-l-4 text-base font-medium sm:pl-5 sm:pr-6", {
3472
+ "bg-indigo-50 border-indigo-500 text-indigo-700": o.current && o.current === !0,
3473
+ "border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700": !o.current
3469
3474
  }])
3470
3475
  }, {
3471
3476
  default: v(() => [
3472
3477
  e("p", {
3473
- onClick: (t) => o.$emit("topBarClick", l.id)
3474
- }, u(l.name), 9, la)
3478
+ onClick: (t) => l.$emit("topBarClick", o.id)
3479
+ }, u(o.name), 9, na)
3475
3480
  ]),
3476
3481
  _: 2
3477
3482
  }, 1032, ["class"]))), 128))
3478
3483
  ]),
3479
- e("div", ra, [
3480
- e("div", na, [
3481
- e("div", aa, [
3484
+ e("div", aa, [
3485
+ e("div", ia, [
3486
+ e("div", da, [
3482
3487
  e("img", {
3483
3488
  class: "h-10 w-10 rounded-full",
3484
- src: o.accountLogo
3485
- }, null, 8, ia)
3489
+ src: l.accountLogo
3490
+ }, null, 8, ua)
3486
3491
  ]),
3487
- o.brand ? (s(), n("div", da, [
3488
- e("div", ua, u(o.brand.title), 1),
3489
- e("div", ca, u(o.brand.subtitle), 1)
3492
+ l.brand ? (s(), n("div", ca, [
3493
+ e("div", ga, u(l.brand.title), 1),
3494
+ e("div", pa, u(l.brand.subtitle), 1)
3490
3495
  ])) : b("", !0)
3491
3496
  ]),
3492
- e("div", ga, [
3493
- (s(!0), n(k, null, $(o.profileMenu, (l) => (s(), _(c(E), {
3497
+ e("div", ma, [
3498
+ (s(!0), n(k, null, $(l.profileMenu, (o) => (s(), _(c(E), {
3494
3499
  as: "template",
3495
- key: l.name,
3500
+ key: o.name,
3496
3501
  class: "block px-4 py-2 text-base font-medium text-gray-500 hover:text-gray-800 hover:bg-gray-100 sm:px-6"
3497
3502
  }, {
3498
3503
  default: v(() => [
3499
3504
  e("p", {
3500
- onClick: (t) => o.$emit("topBarClick", l.id)
3501
- }, u(l.name), 9, pa)
3505
+ onClick: (t) => l.$emit("topBarClick", o.id)
3506
+ }, u(o.name), 9, fa)
3502
3507
  ]),
3503
3508
  _: 2
3504
3509
  }, 1024))), 128))
@@ -3511,36 +3516,36 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
3511
3516
  _: 1
3512
3517
  }));
3513
3518
  }
3514
- }), fa = { class: "chart-selector flex flex-row items-center justify-center" }, Qe = /* @__PURE__ */ M({
3519
+ }), ya = { class: "chart-selector flex flex-row items-center justify-center" }, Qe = /* @__PURE__ */ B({
3515
3520
  __name: "RangeSelector",
3516
3521
  props: { range: { type: String } },
3517
3522
  emits: ["rangeSelected"],
3518
3523
  setup(p, { emit: i }) {
3519
- const o = i, a = p;
3520
- let r = O(() => a.range);
3521
- const l = (t) => {
3522
- r = t, o("rangeSelected", t);
3524
+ const l = i, a = p;
3525
+ let r = V(() => a.range);
3526
+ const o = (t) => {
3527
+ r = t, l("rangeSelected", t);
3523
3528
  };
3524
- return (t, m) => (s(), n("ul", fa, [
3529
+ return (t, m) => (s(), n("ul", ya, [
3525
3530
  e("li", {
3526
- class: h({ selected: c(r) === "24h" }),
3527
- onClick: m[0] || (m[0] = (d) => l("24h"))
3531
+ class: y({ selected: c(r) === "24h" }),
3532
+ onClick: m[0] || (m[0] = (d) => o("24h"))
3528
3533
  }, " 24H ", 2),
3529
3534
  e("li", {
3530
- class: h({ selected: c(r) === "7d" }),
3531
- onClick: m[1] || (m[1] = (d) => l("7d"))
3535
+ class: y({ selected: c(r) === "7d" }),
3536
+ onClick: m[1] || (m[1] = (d) => o("7d"))
3532
3537
  }, "7D", 2),
3533
3538
  e("li", {
3534
- class: h({ selected: c(r) === "1m" }),
3535
- onClick: m[2] || (m[2] = (d) => l("1m"))
3539
+ class: y({ selected: c(r) === "1m" }),
3540
+ onClick: m[2] || (m[2] = (d) => o("1m"))
3536
3541
  }, "1M", 2),
3537
3542
  e("li", {
3538
- class: h({ selected: c(r) === "3m" }),
3539
- onClick: m[3] || (m[3] = (d) => l("3m"))
3543
+ class: y({ selected: c(r) === "3m" }),
3544
+ onClick: m[3] || (m[3] = (d) => o("3m"))
3540
3545
  }, "3M", 2)
3541
3546
  ]));
3542
3547
  }
3543
- }), ya = { class: "chart-header flex flex-row justify-between" }, ha = { class: "text-sm font-medium text-gray-500 truncate" }, va = { class: "chart-content" }, ba = { class: "h-full w-full flex items-center justify-center flex-col" }, wa = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, xa = /* @__PURE__ */ M({
3548
+ }), va = { class: "chart-header flex flex-row justify-between" }, ba = { class: "text-sm font-medium text-gray-500 truncate" }, wa = { class: "chart-content" }, xa = { class: "h-full w-full flex items-center justify-center flex-col" }, ka = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, _a = /* @__PURE__ */ B({
3544
3549
  __name: "uiFunnelChartV2",
3545
3550
  props: {
3546
3551
  labels: {},
@@ -3561,7 +3566,7 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
3561
3566
  },
3562
3567
  emits: ["selectedRange", "chartUpdated", "dataPointSelection", "maximizeChart"],
3563
3568
  setup(p, { emit: i }) {
3564
- const o = i, a = p;
3569
+ const l = i, a = p;
3565
3570
  let r = {
3566
3571
  chart: {
3567
3572
  type: "bar",
@@ -3577,8 +3582,8 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
3577
3582
  ],
3578
3583
  dataLabels: {
3579
3584
  enabled: !0,
3580
- formatter: function(f, y) {
3581
- return y.w.globals.labels[y.dataPointIndex] + ": " + f;
3585
+ formatter: function(f, h) {
3586
+ return h.w.globals.labels[h.dataPointIndex] + ": " + f;
3582
3587
  }
3583
3588
  },
3584
3589
  markers: {
@@ -3597,49 +3602,49 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
3597
3602
  }
3598
3603
  }
3599
3604
  };
3600
- const l = O(() => ({ ...a.options, ...r })), t = O(() => a.series), m = () => o("chartUpdated"), d = (f, y, w) => {
3601
- o("dataPointSelection", { id: a.id, chartContext: y, config: w, event: f });
3605
+ const o = V(() => ({ ...a.options, ...r })), t = V(() => a.series), m = () => l("chartUpdated"), d = (f, h, w) => {
3606
+ l("dataPointSelection", { id: a.id, chartContext: h, config: w, event: f });
3602
3607
  };
3603
- return (f, y) => (s(), n(k, null, [
3608
+ return (f, h) => (s(), n(k, null, [
3604
3609
  C(e("div", {
3605
- 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"])
3610
+ 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"])
3606
3611
  }, [
3607
- e("div", ya, [
3608
- e("div", ha, u(f.title), 1),
3612
+ e("div", va, [
3613
+ e("div", ba, u(f.title), 1),
3609
3614
  g(Qe, {
3610
3615
  range: f.range,
3611
- onRangeSelected: y[0] || (y[0] = (w) => f.$emit("selectedRange", { range: w, chartId: f.id }))
3616
+ onRangeSelected: h[0] || (h[0] = (w) => f.$emit("selectedRange", { range: w, chartId: f.id }))
3612
3617
  }, null, 8, ["range"])
3613
3618
  ]),
3614
- C(e("div", va, [
3619
+ C(e("div", wa, [
3615
3620
  g(c($e), {
3616
3621
  type: f.type,
3617
3622
  series: t.value,
3618
3623
  width: "100%",
3619
3624
  height: f.height,
3620
- options: l.value,
3625
+ options: o.value,
3621
3626
  onUpdated: m,
3622
3627
  onMounted: m,
3623
3628
  onDataPointSelection: d
3624
3629
  }, null, 8, ["type", "series", "height", "options"])
3625
3630
  ], 512), [
3626
- [S, !f.empty]
3631
+ [M, !f.empty]
3627
3632
  ]),
3628
- C(e("div", ba, [
3629
- g(j, {
3633
+ C(e("div", xa, [
3634
+ g(D, {
3630
3635
  icon: c(q),
3631
3636
  color: "gray",
3632
3637
  loading: !1,
3633
3638
  size: "huge"
3634
3639
  }, null, 8, ["icon"]),
3635
- y[1] || (y[1] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1))
3640
+ h[1] || (h[1] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1))
3636
3641
  ], 512), [
3637
- [S, f.empty]
3642
+ [M, f.empty]
3638
3643
  ])
3639
3644
  ], 2), [
3640
- [S, !f.loading]
3645
+ [M, !f.loading]
3641
3646
  ]),
3642
- C(e("div", wa, y[2] || (y[2] = [
3647
+ C(e("div", ka, h[2] || (h[2] = [
3643
3648
  e("div", {
3644
3649
  role: "status",
3645
3650
  class: "w-full animate-pulse h-full flex flex-col"
@@ -3666,11 +3671,11 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
3666
3671
  ])
3667
3672
  ], -1)
3668
3673
  ]), 512), [
3669
- [S, f.loading]
3674
+ [M, f.loading]
3670
3675
  ])
3671
3676
  ], 64));
3672
3677
  }
3673
- }), ka = { class: "w-full flex flex-col items-center justify-center p-10 grow" }, _a = { class: "text-2xl mt-4 font-bold" }, $a = { class: "buttons flex flex-row items-center justify-center mt-8 gap-x-1" }, Ca = /* @__PURE__ */ M({
3678
+ }), $a = { class: "w-full flex flex-col items-center justify-center p-10 grow" }, Ca = { class: "text-2xl mt-4 font-bold" }, Ba = { class: "buttons flex flex-row items-center justify-center mt-8 gap-x-1" }, Ma = /* @__PURE__ */ B({
3674
3679
  __name: "uiNoResults",
3675
3680
  props: {
3676
3681
  title: {},
@@ -3681,23 +3686,23 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
3681
3686
  },
3682
3687
  emits: ["action", "noResultsOptionSelected"],
3683
3688
  setup(p) {
3684
- return (i, o) => (s(), n("div", ka, [
3685
- g(j, {
3689
+ return (i, l) => (s(), n("div", $a, [
3690
+ g(D, {
3686
3691
  loading: !1,
3687
3692
  icon: c(q),
3688
3693
  size: "massive",
3689
3694
  color: "gray"
3690
3695
  }, null, 8, ["icon"]),
3691
- e("h2", _a, u(i.title), 1),
3696
+ e("h2", Ca, u(i.title), 1),
3692
3697
  e("p", null, u(i.message), 1),
3693
- e("div", $a, [
3698
+ e("div", Ba, [
3694
3699
  (s(!0), n(k, null, $(i.actions, (a, r) => (s(), _(G, {
3695
3700
  key: r,
3696
3701
  loading: !1,
3697
- onClick: (l) => i.$emit("action", a.action)
3702
+ onClick: (o) => i.$emit("action", a.action)
3698
3703
  }, {
3699
3704
  default: v(() => [
3700
- D(u(a.text), 1)
3705
+ T(u(a.text), 1)
3701
3706
  ]),
3702
3707
  _: 2
3703
3708
  }, 1032, ["onClick"]))), 128)),
@@ -3705,12 +3710,12 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
3705
3710
  key: 0,
3706
3711
  items: i.items,
3707
3712
  loading: !1,
3708
- onOptionSelected: o[0] || (o[0] = (a) => i.$emit("noResultsOptionSelected", a))
3713
+ onOptionSelected: l[0] || (l[0] = (a) => i.$emit("noResultsOptionSelected", a))
3709
3714
  }, null, 8, ["items"])) : b("", !0)
3710
3715
  ])
3711
3716
  ]));
3712
3717
  }
3713
- }), Ba = { class: "fixed inset-0 overflow-hidden" }, Ma = { class: "absolute inset-0 overflow-hidden" }, Sa = { 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" }, Da = { class: "bg-indigo-700 px-4 py-6 sm:px-6" }, Ta = { class: "flex items-center justify-between" }, za = { class: "ml-3 flex h-7 items-center" }, La = { class: "mt-1" }, Na = { class: "text-sm text-indigo-300" }, Aa = { class: "relative flex-1 px-4 py-6 sm:px-6" }, Ya = /* @__PURE__ */ M({
3718
+ }), Sa = { class: "fixed inset-0 overflow-hidden" }, Da = { class: "absolute inset-0 overflow-hidden" }, ja = { class: "pointer-events-none fixed inset-y-0 right-0 flex max-w-full pl-10" }, Ta = { class: "flex h-full flex-col overflow-y-scroll bg-white shadow-xl" }, za = { class: "bg-indigo-700 px-4 py-6 sm:px-6" }, La = { class: "flex items-center justify-between" }, Na = { class: "ml-3 flex h-7 items-center" }, Aa = { class: "mt-1" }, Ya = { class: "text-sm text-indigo-300" }, Oa = { class: "relative flex-1 px-4 py-6 sm:px-6" }, Pa = /* @__PURE__ */ B({
3714
3719
  __name: "uiRightSidebar",
3715
3720
  props: {
3716
3721
  title: {},
@@ -3719,21 +3724,21 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
3719
3724
  },
3720
3725
  emits: ["closeRightBar"],
3721
3726
  setup(p, { emit: i }) {
3722
- return (o, a) => (s(), _(c(be), {
3727
+ return (l, a) => (s(), _(c(be), {
3723
3728
  as: "template",
3724
- show: o.open
3729
+ show: l.open
3725
3730
  }, {
3726
3731
  default: v(() => [
3727
3732
  g(c(we), {
3728
3733
  as: "div",
3729
3734
  class: "relative z-10",
3730
- onClose: a[1] || (a[1] = (r) => o.$emit("closeRightBar"))
3735
+ onClose: a[1] || (a[1] = (r) => l.$emit("closeRightBar"))
3731
3736
  }, {
3732
3737
  default: v(() => [
3733
3738
  a[4] || (a[4] = e("div", { class: "fixed inset-0" }, null, -1)),
3734
- e("div", Ba, [
3735
- e("div", Ma, [
3736
- e("div", Sa, [
3739
+ e("div", Sa, [
3740
+ e("div", Da, [
3741
+ e("div", ja, [
3737
3742
  g(c(W), {
3738
3743
  as: "template",
3739
3744
  enter: "transform transition ease-in-out duration-500 sm:duration-700",
@@ -3746,20 +3751,20 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
3746
3751
  default: v(() => [
3747
3752
  g(c(xe), { class: "pointer-events-auto w-screen max-w-md" }, {
3748
3753
  default: v(() => [
3749
- e("div", ja, [
3750
- e("div", Da, [
3751
- e("div", Ta, [
3754
+ e("div", Ta, [
3755
+ e("div", za, [
3756
+ e("div", La, [
3752
3757
  g(c(Re), { class: "text-base font-semibold leading-6 text-white" }, {
3753
3758
  default: v(() => [
3754
- D(u(o.title), 1)
3759
+ T(u(l.title), 1)
3755
3760
  ]),
3756
3761
  _: 1
3757
3762
  }),
3758
- e("div", za, [
3763
+ e("div", Na, [
3759
3764
  e("button", {
3760
3765
  type: "button",
3761
3766
  class: "relative rounded-md bg-indigo-700 text-indigo-200 hover:text-white outline-none",
3762
- onClick: a[0] || (a[0] = (r) => o.$emit("closeRightBar"))
3767
+ onClick: a[0] || (a[0] = (r) => l.$emit("closeRightBar"))
3763
3768
  }, [
3764
3769
  a[2] || (a[2] = e("span", { class: "absolute -inset-2.5" }, null, -1)),
3765
3770
  a[3] || (a[3] = e("span", { class: "sr-only" }, "Close panel", -1)),
@@ -3770,12 +3775,12 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
3770
3775
  ])
3771
3776
  ])
3772
3777
  ]),
3773
- e("div", La, [
3774
- e("p", Na, u(o.description), 1)
3778
+ e("div", Aa, [
3779
+ e("p", Ya, u(l.description), 1)
3775
3780
  ])
3776
3781
  ]),
3777
- e("div", Aa, [
3778
- I(o.$slots, "default")
3782
+ e("div", Oa, [
3783
+ F(l.$slots, "default")
3779
3784
  ])
3780
3785
  ])
3781
3786
  ]),
@@ -3794,15 +3799,15 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
3794
3799
  _: 3
3795
3800
  }, 8, ["show"]));
3796
3801
  }
3797
- }), Pa = { class: "uiGallery" }, Oa = {
3802
+ }), Va = { class: "uiGallery" }, Ia = {
3798
3803
  key: 1,
3799
3804
  role: "list",
3800
3805
  class: "grid grid-cols-2 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-4 lg:grid-cols-6"
3801
- }, Va = { 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" }, Fa = ["src"], Ia = ["onClick"], Ra = { class: "pointer-events-none mt-2 block truncate text-sm font-medium text-gray-900" }, qa = { class: "flex items-center justify-between" }, Ha = { class: "pointer-events-none block text-sm font-medium text-gray-500" }, Ea = {
3806
+ }, 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" }, Ra = ["src"], qa = ["onClick"], Ha = { class: "pointer-events-none mt-2 block truncate text-sm font-medium text-gray-900" }, Ea = { class: "flex items-center justify-between" }, Ua = { class: "pointer-events-none block text-sm font-medium text-gray-500" }, Za = {
3802
3807
  key: 2,
3803
3808
  role: "list",
3804
3809
  class: "grid grid-cols-2 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-4 lg:grid-cols-6"
3805
- }, Ua = /* @__PURE__ */ M({
3810
+ }, Ja = /* @__PURE__ */ B({
3806
3811
  __name: "uiGallery",
3807
3812
  props: {
3808
3813
  galleryId: {},
@@ -3812,61 +3817,61 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
3812
3817
  },
3813
3818
  emits: ["modalAction", "deleteImage", "imgClicked"],
3814
3819
  setup(p, { emit: i }) {
3815
- const o = i, a = Y(!1), r = (l) => {
3816
- a.value = !1, o("modalAction", l);
3820
+ const l = i, a = Y(!1), r = (o) => {
3821
+ a.value = !1, l("modalAction", o);
3817
3822
  };
3818
- return (l, t) => (s(), n("div", Pa, [
3819
- l.loading ? b("", !0) : (s(), _(Je, {
3823
+ return (o, t) => (s(), n("div", Va, [
3824
+ o.loading ? b("", !0) : (s(), _(Je, {
3820
3825
  key: 0,
3821
3826
  open: a.value,
3822
3827
  modalName: "deleteAllImagesModal",
3823
- title: l.literals.modalTitle,
3828
+ title: o.literals.modalTitle,
3824
3829
  type: "warning",
3825
- actions: [{ value: "close", name: l.literals.closeAction }, { value: `deleteGallery_${l.galleryId}`, name: l.literals.deleteAction }],
3830
+ actions: [{ value: "close", name: o.literals.closeAction }, { value: `deleteGallery_${o.galleryId}`, name: o.literals.deleteAction }],
3826
3831
  onModalAction: t[0] || (t[0] = (m) => r(m))
3827
3832
  }, {
3828
3833
  default: v(() => [
3829
- e("p", null, u(l.literals.modalText), 1)
3834
+ e("p", null, u(o.literals.modalText), 1)
3830
3835
  ]),
3831
3836
  _: 1
3832
3837
  }, 8, ["open", "title", "actions"])),
3833
- l.loading ? (s(), n("ul", Ea, [
3838
+ o.loading ? (s(), n("ul", Za, [
3834
3839
  (s(), n(k, null, $(4, (m) => e("li", null, t[2] || (t[2] = [
3835
3840
  e("div", { class: "group aspect-h-7 aspect-w-10 block w-full overflow-hidden rounded-lg bg-gray-200 animate-pulse dark:bg-gray-200 focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 focus-within:ring-offset-gray-100" }, null, -1),
3836
3841
  e("p", { class: "animate-pulse h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28 mt-4" }, null, -1),
3837
3842
  e("p", { class: "animate-pulse h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-14 mt-2" }, null, -1)
3838
3843
  ]))), 64))
3839
- ])) : (s(), n("ul", Oa, [
3840
- (s(!0), n(k, null, $(l.gallery, (m) => (s(), n("li", {
3844
+ ])) : (s(), n("ul", Ia, [
3845
+ (s(!0), n(k, null, $(o.gallery, (m) => (s(), n("li", {
3841
3846
  key: m.source,
3842
3847
  class: "relative"
3843
3848
  }, [
3844
- e("div", Va, [
3849
+ e("div", Fa, [
3845
3850
  e("img", {
3846
3851
  src: m.source,
3847
3852
  alt: "",
3848
3853
  class: "pointer-events-none object-cover group-hover:opacity-75"
3849
- }, null, 8, Fa),
3854
+ }, null, 8, Ra),
3850
3855
  e("button", {
3851
3856
  type: "button",
3852
3857
  class: "absolute inset-0 focus:outline-none",
3853
- onClick: (d) => l.$emit("imgClicked", m)
3854
- }, null, 8, Ia)
3858
+ onClick: (d) => o.$emit("imgClicked", m)
3859
+ }, null, 8, qa)
3855
3860
  ]),
3856
- e("p", Ra, u(m.title), 1),
3857
- e("div", qa, [
3858
- e("p", Ha, u(m.size), 1),
3859
- g(j, {
3861
+ e("p", Ha, u(m.title), 1),
3862
+ e("div", Ea, [
3863
+ e("p", Ua, u(m.size), 1),
3864
+ g(D, {
3860
3865
  class: "cursor-pointer",
3861
- icon: c(Dt),
3866
+ icon: c(jt),
3862
3867
  color: "red",
3863
3868
  loading: !1,
3864
- onClick: (d) => l.$emit("deleteImage", m)
3869
+ onClick: (d) => o.$emit("deleteImage", m)
3865
3870
  }, null, 8, ["icon", "onClick"])
3866
3871
  ])
3867
3872
  ]))), 128))
3868
3873
  ])),
3869
- l.gallery.length > 0 && !l.loading ? (s(), _(G, {
3874
+ o.gallery.length > 0 && !o.loading ? (s(), _(G, {
3870
3875
  key: 3,
3871
3876
  onClick: t[1] || (t[1] = (m) => a.value = !0),
3872
3877
  class: "mt-8",
@@ -3875,16 +3880,16 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
3875
3880
  size: "small"
3876
3881
  }, {
3877
3882
  default: v(() => [
3878
- D(u(l.literals.deleteAllImages), 1)
3883
+ T(u(o.literals.deleteAllImages), 1)
3879
3884
  ]),
3880
3885
  _: 1
3881
3886
  })) : b("", !0)
3882
3887
  ]));
3883
3888
  }
3884
- }), Za = { class: "cursor-move mb-1 relative flex items-center space-x-3 rounded-lg border border-gray-300 bg-white p-4 shadow-sm focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 hover:border-gray-400" }, Ja = { class: "flex flex-row items-center w-full" }, Wa = { class: "content text-sm grow" }, Ga = { class: "font-bold" }, Qa = { key: 0 }, Ka = { class: "font-bold text-gray-400" }, Xa = {
3889
+ }), Wa = { class: "cursor-move mb-1 relative flex items-center space-x-3 rounded-lg border border-gray-300 bg-white p-4 shadow-sm focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 hover:border-gray-400" }, Ga = { class: "flex flex-row items-center w-full" }, Qa = { class: "content text-sm grow" }, Ka = { class: "font-bold" }, Xa = { key: 0 }, ei = { class: "font-bold text-gray-400" }, ti = {
3885
3890
  key: 1,
3886
3891
  class: "animate-pulse"
3887
- }, ei = /* @__PURE__ */ M({
3892
+ }, si = /* @__PURE__ */ B({
3888
3893
  __name: "uiDragAndDrop",
3889
3894
  props: {
3890
3895
  elements: {},
@@ -3892,46 +3897,46 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
3892
3897
  },
3893
3898
  emits: ["dragAndDropUpdated"],
3894
3899
  setup(p, { emit: i }) {
3895
- const o = i, a = p;
3900
+ const l = i, a = p;
3896
3901
  let r = Y(a.elements);
3897
3902
  Z(() => a.elements, (t) => {
3898
3903
  r.value = t;
3899
3904
  });
3900
- const l = (t) => {
3901
- o("dragAndDropUpdated", t);
3905
+ const o = (t) => {
3906
+ l("dragAndDropUpdated", t);
3902
3907
  };
3903
- return (t, m) => t.loading ? (s(), n("div", Xa, m[2] || (m[2] = [
3908
+ return (t, m) => t.loading ? (s(), n("div", ti, m[2] || (m[2] = [
3904
3909
  Q('<div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div>', 5)
3905
3910
  ]))) : (s(), _(c(nt), {
3906
3911
  key: 0,
3907
3912
  modelValue: c(r),
3908
3913
  "onUpdate:modelValue": [
3909
3914
  m[0] || (m[0] = (d) => Ye(r) ? r.value = d : r = d),
3910
- m[1] || (m[1] = (d) => l(d))
3915
+ m[1] || (m[1] = (d) => o(d))
3911
3916
  ]
3912
3917
  }, {
3913
3918
  item: v(({ item: d }) => [
3914
- e("div", Za, [
3915
- e("div", Ja, [
3916
- g(j, {
3919
+ e("div", Wa, [
3920
+ e("div", Ga, [
3921
+ g(D, {
3917
3922
  icon: c(wt),
3918
3923
  loading: !1,
3919
3924
  color: "gray",
3920
3925
  class: "mr-4",
3921
3926
  size: "big"
3922
3927
  }, null, 8, ["icon"]),
3923
- e("div", Wa, [
3924
- e("p", Ga, u(d.name), 1),
3925
- d.description ? (s(), n("p", Qa, u(d.description), 1)) : b("", !0)
3928
+ e("div", Qa, [
3929
+ e("p", Ka, u(d.name), 1),
3930
+ d.description ? (s(), n("p", Xa, u(d.description), 1)) : b("", !0)
3926
3931
  ]),
3927
- e("div", Ka, u(c(r).indexOf(d) + 1), 1)
3932
+ e("div", ei, u(c(r).indexOf(d) + 1), 1)
3928
3933
  ])
3929
3934
  ])
3930
3935
  ]),
3931
3936
  _: 1
3932
3937
  }, 8, ["modelValue"]));
3933
3938
  }
3934
- }), ti = { class: "chart-header flex flex-row justify-between" }, si = { class: "text-sm font-medium text-gray-500 truncate" }, oi = { class: "chart-content" }, li = { class: "h-full w-full flex items-center justify-center flex-col" }, ri = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, ni = /* @__PURE__ */ M({
3939
+ }), oi = { class: "chart-header flex flex-row justify-between" }, li = { class: "text-sm font-medium text-gray-500 truncate" }, ri = { class: "chart-content" }, ni = { class: "h-full w-full flex items-center justify-center flex-col" }, ai = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, ii = /* @__PURE__ */ B({
3935
3940
  __name: "uiCircleChart",
3936
3941
  props: {
3937
3942
  labels: {},
@@ -3952,7 +3957,7 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
3952
3957
  },
3953
3958
  emits: ["selectedRange", "chartUpdated", "dataPointSelection", "maximizeChart"],
3954
3959
  setup(p, { emit: i }) {
3955
- const o = i, a = p;
3960
+ const l = i, a = p;
3956
3961
  let r = {
3957
3962
  chart: {
3958
3963
  toolbar: {
@@ -3985,36 +3990,36 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
3985
3990
  }
3986
3991
  }
3987
3992
  };
3988
- const l = () => ({ ...r, ...a.options }), t = O(() => a.series), m = O(() => l()), d = () => o("chartUpdated"), f = (y, w, B) => {
3989
- o("dataPointSelection", { id: a.id, chartContext: w, config: B, event: y });
3993
+ const o = () => ({ ...r, ...a.options }), t = V(() => a.series), m = V(() => o()), d = () => l("chartUpdated"), f = (h, w, N) => {
3994
+ l("dataPointSelection", { id: a.id, chartContext: w, config: N, event: h });
3990
3995
  };
3991
- return (y, w) => (s(), n(k, null, [
3996
+ return (h, w) => (s(), n(k, null, [
3992
3997
  C(e("div", {
3993
- class: h(["h-[" + y.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow"])
3998
+ class: y(["h-[" + h.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow"])
3994
3999
  }, [
3995
- e("div", ti, [
3996
- e("div", si, u(y.title), 1),
4000
+ e("div", oi, [
4001
+ e("div", li, u(h.title), 1),
3997
4002
  g(Qe, {
3998
- range: y.range,
3999
- onRangeSelected: w[0] || (w[0] = (B) => y.$emit("selectedRange", { range: B, chartId: y.id }))
4003
+ range: h.range,
4004
+ onRangeSelected: w[0] || (w[0] = (N) => h.$emit("selectedRange", { range: N, chartId: h.id }))
4000
4005
  }, null, 8, ["range"])
4001
4006
  ]),
4002
- C(e("div", oi, [
4007
+ C(e("div", ri, [
4003
4008
  g(c($e), {
4004
4009
  class: "flex items-center justify-center",
4005
4010
  type: "donut",
4006
4011
  series: t.value,
4007
4012
  options: m.value,
4008
- height: y.height,
4013
+ height: h.height,
4009
4014
  onUpdated: d,
4010
4015
  onMounted: d,
4011
4016
  onDataPointSelection: f
4012
4017
  }, null, 8, ["series", "options", "height"])
4013
4018
  ], 512), [
4014
- [S, !y.empty]
4019
+ [M, !h.empty]
4015
4020
  ]),
4016
- C(e("div", li, [
4017
- g(j, {
4021
+ C(e("div", ni, [
4022
+ g(D, {
4018
4023
  icon: c(q),
4019
4024
  color: "gray",
4020
4025
  loading: !1,
@@ -4022,12 +4027,12 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
4022
4027
  }, null, 8, ["icon"]),
4023
4028
  w[1] || (w[1] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1))
4024
4029
  ], 512), [
4025
- [S, y.empty]
4030
+ [M, h.empty]
4026
4031
  ])
4027
4032
  ], 2), [
4028
- [S, !y.loading]
4033
+ [M, !h.loading]
4029
4034
  ]),
4030
- C(e("div", ri, w[2] || (w[2] = [
4035
+ C(e("div", ai, w[2] || (w[2] = [
4031
4036
  e("div", {
4032
4037
  role: "status",
4033
4038
  class: "w-full animate-pulse h-full flex flex-col"
@@ -4054,17 +4059,17 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
4054
4059
  ])
4055
4060
  ], -1)
4056
4061
  ]), 512), [
4057
- [S, y.loading]
4062
+ [M, h.loading]
4058
4063
  ])
4059
4064
  ], 64));
4060
4065
  }
4061
- }), ai = {
4066
+ }), di = {
4062
4067
  key: 0,
4063
4068
  class: "flex flex-col lg:flex-row w-full gap-y-4 gap-x-2"
4064
- }, ii = {
4069
+ }, ui = {
4065
4070
  key: 1,
4066
4071
  class: "flex flex-col lg:flex-row w-full gap-y-4 gap-x-2"
4067
- }, di = /* @__PURE__ */ M({
4072
+ }, ci = /* @__PURE__ */ B({
4068
4073
  __name: "uiDateRange",
4069
4074
  props: {
4070
4075
  id: {},
@@ -4079,13 +4084,13 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
4079
4084
  },
4080
4085
  emits: ["uiDateRangeButtonClicked"],
4081
4086
  setup(p, { emit: i }) {
4082
- let o = me({ from: "", to: "" });
4083
- const a = (r, l) => {
4084
- r === "from" ? o.from = l : o.to = l;
4087
+ let l = me({ from: "", to: "" });
4088
+ const a = (r, o) => {
4089
+ r === "from" ? l.from = o : l.to = o;
4085
4090
  };
4086
- return (r, l) => {
4091
+ return (r, o) => {
4087
4092
  var t, m, d, f;
4088
- return r.loading ? (s(), n("div", ii, [
4093
+ return r.loading ? (s(), n("div", ui, [
4089
4094
  g(J, {
4090
4095
  name: "dateFrom",
4091
4096
  loading: !0
@@ -4095,12 +4100,12 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
4095
4100
  loading: !0
4096
4101
  }),
4097
4102
  g(G, { loading: !0 }, {
4098
- default: v(() => l[3] || (l[3] = [
4099
- D("Search")
4103
+ default: v(() => o[3] || (o[3] = [
4104
+ T("Search")
4100
4105
  ])),
4101
4106
  _: 1
4102
4107
  })
4103
- ])) : (s(), n("div", ai, [
4108
+ ])) : (s(), n("div", di, [
4104
4109
  g(J, {
4105
4110
  type: "datetime-local",
4106
4111
  loading: !1,
@@ -4111,12 +4116,12 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
4111
4116
  error: r.error,
4112
4117
  disabled: r.disabled,
4113
4118
  label: r.label,
4114
- onInputChanged: l[0] || (l[0] = (y) => a("from", y.value))
4119
+ onInputChanged: o[0] || (o[0] = (h) => a("from", h.value))
4115
4120
  }, null, 8, ["addOn", "name", "color", "value", "error", "disabled", "label"]),
4116
4121
  g(J, {
4117
4122
  type: "datetime-local",
4118
4123
  loading: !1,
4119
- class: h([{ "mt-6": r.label }]),
4124
+ class: y([{ "mt-6": r.label }]),
4120
4125
  addOn: r.literals.to,
4121
4126
  name: `dateTo_${r.id}`,
4122
4127
  color: r.color,
@@ -4124,33 +4129,33 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
4124
4129
  error: r.error,
4125
4130
  disabled: r.disabled,
4126
4131
  label: void 0,
4127
- onInputChanged: l[1] || (l[1] = (y) => a("to", y.value))
4132
+ onInputChanged: o[1] || (o[1] = (h) => a("to", h.value))
4128
4133
  }, null, 8, ["class", "addOn", "name", "color", "value", "error", "disabled"]),
4129
4134
  g(G, {
4130
4135
  disabled: r.disabled,
4131
4136
  color: "primary",
4132
4137
  loading: !1,
4133
- class: h([{ "mt-6": r.label }, "h-10"]),
4134
- onClick: l[2] || (l[2] = (y) => r.$emit("uiDateRangeButtonClicked", c(o)))
4138
+ class: y([{ "mt-6": r.label }, "h-10"]),
4139
+ onClick: o[2] || (o[2] = (h) => r.$emit("uiDateRangeButtonClicked", c(l)))
4135
4140
  }, {
4136
4141
  default: v(() => [
4137
- D(u(r.literals.search), 1)
4142
+ T(u(r.literals.search), 1)
4138
4143
  ]),
4139
4144
  _: 1
4140
4145
  }, 8, ["disabled", "class"])
4141
4146
  ]));
4142
4147
  };
4143
4148
  }
4144
- }), ui = { class: "flex justify-between items-center" }, ci = {
4149
+ }), gi = { class: "flex justify-between items-center" }, pi = {
4145
4150
  key: 0,
4146
4151
  class: "block text-sm font-medium text-gray-700"
4147
- }, gi = {
4152
+ }, mi = {
4148
4153
  key: 1,
4149
4154
  class: "text-[10px] text-gray-500 uppercase justify-self-end"
4150
- }, pi = {
4155
+ }, fi = {
4151
4156
  key: 1,
4152
4157
  class: "h-2 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 w-full"
4153
- }, mi = /* @__PURE__ */ M({
4158
+ }, hi = /* @__PURE__ */ B({
4154
4159
  __name: "uiRangeSlider",
4155
4160
  props: {
4156
4161
  loading: { type: Boolean, default: !0 },
@@ -4163,23 +4168,23 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
4163
4168
  },
4164
4169
  emits: ["sliderUpdated"],
4165
4170
  setup(p, { emit: i }) {
4166
- const o = i, r = Y(p.sliderValue);
4167
- return (l, t) => (s(), n("div", null, [
4168
- e("div", ui, [
4169
- l.label ? (s(), n("label", ci, u(l.label), 1)) : b("", !0),
4170
- l.requiredText ? (s(), n("span", gi, u(l.requiredText), 1)) : b("", !0)
4171
+ const l = i, r = Y(p.sliderValue);
4172
+ return (o, t) => (s(), n("div", null, [
4173
+ e("div", gi, [
4174
+ o.label ? (s(), n("label", pi, u(o.label), 1)) : b("", !0),
4175
+ o.requiredText ? (s(), n("span", mi, u(o.requiredText), 1)) : b("", !0)
4171
4176
  ]),
4172
4177
  e("div", {
4173
- class: h([{ "mt-1": l.label }, "pt-16 px-6 pb-6 bg-gray-50 border border-gray-300 rounded-lg shadow-sm"])
4178
+ class: y([{ "mt-1": o.label }, "pt-16 px-6 pb-6 bg-gray-50 border border-gray-300 rounded-lg shadow-sm"])
4174
4179
  }, [
4175
- l.loading ? (s(), n("p", pi)) : (s(), _(c(at), {
4180
+ o.loading ? (s(), n("p", fi)) : (s(), _(c(at), {
4176
4181
  key: 0,
4177
4182
  modelValue: r.value,
4178
4183
  "onUpdate:modelValue": t[0] || (t[0] = (m) => r.value = m),
4179
- min: l.min,
4180
- max: l.max,
4181
- disabled: l.disabled,
4182
- onChange: t[1] || (t[1] = (m) => o("sliderUpdated", m)),
4184
+ min: o.min,
4185
+ max: o.max,
4186
+ disabled: o.disabled,
4187
+ onChange: t[1] || (t[1] = (m) => l("sliderUpdated", m)),
4183
4188
  classes: {
4184
4189
  base: "w-full h-full relative z-1 bg-gray-300 rounded",
4185
4190
  tooltip: "absolute block text-sm font-semibold whitespace-nowrap py-1 px-1.5 min-w-5 text-center text-white rounded border border-indigo-600 bg-indigo-600 transform h:-translate-x-1/2 h:left-1/2 v:-translate-y-1/2 v:top-1/2 slider-disabled:bg-gray-400 slider-disabled:border-gray-400 merge-h:translate-x-1/2 merge-h:left-auto merge-v:-translate-x-4 merge-v:top-auto tt-focus:hidden tt-focused:block tt-drag:hidden tt-dragging:block"
@@ -4188,27 +4193,27 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
4188
4193
  ], 2)
4189
4194
  ]));
4190
4195
  }
4191
- }), fi = { class: "mt-1 mb-8 text-sm text-gray-500" }, yi = /* @__PURE__ */ M({
4196
+ }), yi = { class: "mt-1 mb-8 text-sm text-gray-500" }, vi = /* @__PURE__ */ B({
4192
4197
  __name: "uiSectionTitle",
4193
4198
  props: {
4194
4199
  title: {},
4195
4200
  description: {}
4196
4201
  },
4197
4202
  setup(p) {
4198
- return (i, o) => (s(), n(k, null, [
4203
+ return (i, l) => (s(), n(k, null, [
4199
4204
  e("h3", {
4200
- class: h(["text-lg font-medium leading-6 text-gray-900", { "mb-8": i.description === void 0 }])
4205
+ class: y(["text-lg font-medium leading-6 text-gray-900", { "mb-8": i.description === void 0 }])
4201
4206
  }, u(i.title), 3),
4202
- e("p", fi, u(i.description), 1)
4207
+ e("p", yi, u(i.description), 1)
4203
4208
  ], 64));
4204
4209
  }
4205
- }), hi = {
4210
+ }), bi = {
4206
4211
  key: 0,
4207
4212
  class: "col-span-1 flex flex-col divide-y divide-gray-200 rounded-lg bg-white text-center shadow"
4208
- }, vi = { class: "flex flex-1 flex-col p-8" }, bi = { class: "text-2xl font-bold text-gray-900" }, wi = { class: "mt-1 flex flex-grow flex-col justify-between" }, xi = { class: "mt-3 flex flex-wrap gap-x-1 gap-y-1 justify-center" }, ki = {
4213
+ }, wi = { class: "flex flex-1 flex-col p-8" }, xi = { class: "text-2xl font-bold text-gray-900" }, ki = { class: "mt-1 flex flex-grow flex-col justify-between" }, _i = { class: "mt-3 flex flex-wrap gap-x-1 gap-y-1 justify-center" }, $i = {
4209
4214
  key: 1,
4210
4215
  class: "col-span-1 flex flex-col divide-y divide-gray-200 rounded-lg bg-white text-center shadow"
4211
- }, _i = { class: "flex flex-1 flex-col p-8" }, $i = { class: "rounded-md p-3 flex items-center justify-center mx-auto mb-4 bg-gray-200" }, Ci = { class: "mt-1 flex flex-grow flex-col justify-between" }, Bi = { class: "mt-3 flex flex-wrap gap-x-1 gap-y-1 justify-center" }, Mi = /* @__PURE__ */ M({
4216
+ }, Ci = { class: "flex flex-1 flex-col p-8" }, Bi = { class: "rounded-md p-3 flex items-center justify-center mx-auto mb-4 bg-gray-200" }, Mi = { class: "mt-1 flex flex-grow flex-col justify-between" }, Si = { class: "mt-3 flex flex-wrap gap-x-1 gap-y-1 justify-center" }, Di = /* @__PURE__ */ B({
4212
4217
  __name: "uiDeviceStatus",
4213
4218
  props: {
4214
4219
  id: {},
@@ -4221,75 +4226,75 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
4221
4226
  },
4222
4227
  emits: ["deviceStatusTagClicked", "deviceStatusQtyClicked"],
4223
4228
  setup(p, { emit: i }) {
4224
- return (o, a) => o.loading ? (s(), n("div", ki, [
4225
- e("div", _i, [
4226
- e("div", $i, [
4227
- g(j, {
4228
- icon: o.icon,
4229
+ return (l, a) => l.loading ? (s(), n("div", $i, [
4230
+ e("div", Ci, [
4231
+ e("div", Bi, [
4232
+ g(D, {
4233
+ icon: l.icon,
4229
4234
  size: "huge",
4230
4235
  class: "text-white",
4231
4236
  "aria-hidden": "true",
4232
- loading: o.loading
4237
+ loading: l.loading
4233
4238
  }, null, 8, ["icon", "loading"])
4234
4239
  ]),
4235
4240
  a[3] || (a[3] = e("div", { class: "h-4 bg-gray-200 rounded-full dark:bg-gray-300 w-1/3 mx-auto" }, null, -1)),
4236
- e("dl", Ci, [
4237
- e("dd", Bi, [
4238
- (s(!0), n(k, null, $(o.tags, (r, l) => (s(), _(R, {
4239
- key: l,
4240
- loading: o.loading,
4241
+ e("dl", Mi, [
4242
+ e("dd", Si, [
4243
+ (s(!0), n(k, null, $(l.tags, (r, o) => (s(), _(R, {
4244
+ key: o,
4245
+ loading: l.loading,
4241
4246
  event: r.event,
4242
4247
  color: r.color,
4243
- onTagEvent: a[2] || (a[2] = (t) => o.$emit("deviceStatusTagClicked", t))
4248
+ onTagEvent: a[2] || (a[2] = (t) => l.$emit("deviceStatusTagClicked", t))
4244
4249
  }, {
4245
4250
  default: v(() => [
4246
- D(u(r.name), 1)
4251
+ T(u(r.name), 1)
4247
4252
  ]),
4248
4253
  _: 2
4249
4254
  }, 1032, ["loading", "event", "color"]))), 128))
4250
4255
  ])
4251
4256
  ])
4252
4257
  ])
4253
- ])) : (s(), n("div", hi, [
4254
- e("div", vi, [
4258
+ ])) : (s(), n("div", bi, [
4259
+ e("div", wi, [
4255
4260
  e("div", {
4256
- class: h(["rounded-md p-3 flex items-center justify-center mx-auto mb-4", {
4257
- "bg-green-500": !o.color || o.color === "green",
4258
- "bg-red-500": o.color === "red",
4259
- "bg-yellow-500": o.color === "yellow",
4260
- "bg-indigo-500": o.color === "primary",
4261
- "bg-cyan-300": o.color === "secondary",
4262
- "bg-gray-100": o.color === "light"
4261
+ class: y(["rounded-md p-3 flex items-center justify-center mx-auto mb-4", {
4262
+ "bg-green-500": !l.color || l.color === "green",
4263
+ "bg-red-500": l.color === "red",
4264
+ "bg-yellow-500": l.color === "yellow",
4265
+ "bg-indigo-500": l.color === "primary",
4266
+ "bg-cyan-300": l.color === "secondary",
4267
+ "bg-gray-100": l.color === "light"
4263
4268
  }])
4264
4269
  }, [
4265
- g(j, {
4266
- icon: o.icon,
4270
+ g(D, {
4271
+ icon: l.icon,
4267
4272
  size: "huge",
4268
4273
  class: "text-white",
4269
4274
  "aria-hidden": "true",
4270
4275
  loading: !1
4271
4276
  }, null, 8, ["icon"])
4272
4277
  ], 2),
4273
- e("h3", bi, [
4274
- D(u(o.name) + " ", 1),
4278
+ e("h3", xi, [
4279
+ T(u(l.name) + " ", 1),
4275
4280
  C(e("span", {
4276
4281
  class: "text-indigo-600 hover:text-indigo-900 cursor-pointer",
4277
- onClick: a[0] || (a[0] = (r) => o.$emit("deviceStatusQtyClicked", o.id))
4278
- }, "(" + u(o.qty) + ")", 513), [
4279
- [S, o.qty > 0]
4282
+ onClick: a[0] || (a[0] = (r) => l.$emit("deviceStatusQtyClicked", l.id))
4283
+ }, "(" + u(l.qty) + ")", 513), [
4284
+ [M, l.qty > 0]
4280
4285
  ])
4281
4286
  ]),
4282
- e("dl", wi, [
4283
- e("dd", xi, [
4284
- (s(!0), n(k, null, $(o.tags, (r, l) => (s(), _(R, {
4285
- key: l,
4287
+ e("dl", ki, [
4288
+ e("dd", _i, [
4289
+ (s(!0), n(k, null, $(l.tags, (r, o) => (s(), _(R, {
4290
+ key: o,
4286
4291
  loading: !1,
4287
4292
  event: r.event,
4288
4293
  color: r.color,
4289
- onTagEvent: a[1] || (a[1] = (t) => o.$emit("deviceStatusTagClicked", t))
4294
+ onTagEvent: a[1] || (a[1] = (t) => l.$emit("deviceStatusTagClicked", t))
4290
4295
  }, {
4291
4296
  default: v(() => [
4292
- D(u(r.name), 1)
4297
+ T(u(r.name), 1)
4293
4298
  ]),
4294
4299
  _: 2
4295
4300
  }, 1032, ["event", "color"]))), 128))
@@ -4298,24 +4303,24 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
4298
4303
  ])
4299
4304
  ]));
4300
4305
  }
4301
- }), Si = { class: "flex flex-row grow border-r border-gray-200 bg-white pr-6" }, ji = { class: "bg-indigo-600 w-16 mr-6" }, Di = ["onClick"], Ti = {
4306
+ }), ji = { class: "flex flex-row grow border-r border-gray-200 bg-white pr-6" }, Ti = { class: "bg-indigo-600 w-16 mr-6" }, zi = ["onClick"], Li = {
4302
4307
  key: 0,
4303
4308
  class: "flex flex-col grow gap-y-5 overflow-y-auto pr-6"
4304
- }, zi = { class: "flex h-16 shrink-0 items-center" }, Li = ["src"], Ni = { class: "flex flex-1 flex-col" }, Ai = {
4309
+ }, Ni = { class: "flex h-16 shrink-0 items-center" }, Ai = ["src"], Yi = { class: "flex flex-1 flex-col" }, Oi = {
4305
4310
  key: 0,
4306
4311
  role: "list",
4307
4312
  class: "flex flex-1 flex-col gap-y-7 mb-4"
4308
- }, Yi = {
4313
+ }, Pi = {
4309
4314
  role: "list",
4310
4315
  class: "ml-2 space-y-1"
4311
- }, Pi = ["onClick"], Oi = {
4316
+ }, Vi = ["onClick"], Ii = {
4312
4317
  key: 1,
4313
4318
  role: "list",
4314
4319
  class: "flex flex-1 flex-col gap-y-7 mb-4"
4315
- }, Vi = { class: "ml-2 space-y-1" }, Fi = { class: "font-bold mb-4" }, Ii = {
4320
+ }, Fi = { class: "ml-2 space-y-1" }, Ri = { class: "font-bold mb-4" }, qi = {
4316
4321
  key: 1,
4317
4322
  class: "flex flex-col grow gap-y-5 overflow-y-auto pr-6"
4318
- }, Ri = { class: "h-12 flex flex-row items-center" }, Le = /* @__PURE__ */ M({
4323
+ }, Hi = { class: "h-12 flex flex-row items-center" }, Le = /* @__PURE__ */ B({
4319
4324
  __name: "uiSidebarV2",
4320
4325
  props: {
4321
4326
  navigation: {},
@@ -4327,41 +4332,41 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
4327
4332
  },
4328
4333
  emits: ["productBarClick", "sideBarClick"],
4329
4334
  setup(p, { emit: i }) {
4330
- return (o, a) => (s(), n("div", Si, [
4331
- e("div", ji, [
4335
+ return (l, a) => (s(), n("div", ji, [
4336
+ e("div", Ti, [
4332
4337
  e("ul", null, [
4333
- (s(!0), n(k, null, $(o.productsSidebar, (r, l) => (s(), n("li", {
4334
- key: l,
4335
- 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"]),
4336
- onClick: (t) => o.$emit("productBarClick", r.name)
4338
+ (s(!0), n(k, null, $(l.productsSidebar, (r, o) => (s(), n("li", {
4339
+ key: o,
4340
+ 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"]),
4341
+ onClick: (t) => l.$emit("productBarClick", r.name)
4337
4342
  }, [
4338
- g(j, {
4343
+ g(D, {
4339
4344
  icon: r.icon,
4340
4345
  loading: !1,
4341
4346
  color: "white",
4342
4347
  size: "bigger"
4343
4348
  }, null, 8, ["icon"])
4344
- ], 10, Di))), 128))
4349
+ ], 10, zi))), 128))
4345
4350
  ])
4346
4351
  ]),
4347
- o.loading ? (s(), n("div", Ii, [
4348
- (s(), n(k, null, $(5, (r) => e("div", Ri, a[0] || (a[0] = [
4352
+ l.loading ? (s(), n("div", qi, [
4353
+ (s(), n(k, null, $(5, (r) => e("div", Hi, a[0] || (a[0] = [
4349
4354
  e("div", { class: "w-6 h-6 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 mr-4" }, null, -1),
4350
4355
  e("div", { class: "h-3 animate-pulse bg-gray-200 rounded-full w-1/2 dark:bg-gray-300" }, null, -1)
4351
4356
  ]))), 64))
4352
- ])) : (s(), n("div", Ti, [
4353
- e("div", zi, [
4357
+ ])) : (s(), n("div", Li, [
4358
+ e("div", Ni, [
4354
4359
  e("img", {
4355
4360
  class: "h-8 w-auto",
4356
- src: o.logo,
4361
+ src: l.logo,
4357
4362
  alt: "Your Company"
4358
- }, null, 8, Li)
4363
+ }, null, 8, Ai)
4359
4364
  ]),
4360
- e("nav", Ni, [
4361
- o.isFilterNavigation ? b("", !0) : (s(), n("ul", Ai, [
4365
+ e("nav", Yi, [
4366
+ l.isFilterNavigation ? b("", !0) : (s(), n("ul", Oi, [
4362
4367
  e("li", null, [
4363
- e("ul", Yi, [
4364
- (s(!0), n(k, null, $(o.navigation, (r) => (s(), n("li", {
4368
+ e("ul", Pi, [
4369
+ (s(!0), n(k, null, $(l.navigation, (r) => (s(), n("li", {
4365
4370
  key: r.name
4366
4371
  }, [
4367
4372
  r.children ? (s(), _(c(ke), {
@@ -4370,11 +4375,11 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
4370
4375
  }, {
4371
4376
  default: v(() => [
4372
4377
  g(c(E), {
4373
- onClick: (l) => o.$emit("sideBarClick", r.id),
4374
- 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"])
4378
+ onClick: (o) => l.$emit("sideBarClick", r.id),
4379
+ 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"])
4375
4380
  }, {
4376
4381
  default: v(() => [
4377
- g(j, {
4382
+ g(D, {
4378
4383
  icon: r.icon,
4379
4384
  color: "primary",
4380
4385
  size: "big",
@@ -4382,9 +4387,9 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
4382
4387
  "aria-hidden": "true",
4383
4388
  class: "shrink-0"
4384
4389
  }, null, 8, ["icon"]),
4385
- D(" " + u(r.name) + " ", 1),
4390
+ T(" " + u(r.name) + " ", 1),
4386
4391
  g(c(X), {
4387
- 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"]),
4392
+ class: y([r.children.some((o) => o.current) || r.current ? "rotate-90 text-primary-500" : "text-gray-400", "ml-auto h-5 w-5 shrink-0"]),
4388
4393
  "aria-hidden": "true"
4389
4394
  }, null, 8, ["class"])
4390
4395
  ]),
@@ -4397,16 +4402,16 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
4397
4402
  static: ""
4398
4403
  }, {
4399
4404
  default: v(() => [
4400
- (s(!0), n(k, null, $(r.children, (l) => (s(), n("li", {
4401
- key: l.name
4405
+ (s(!0), n(k, null, $(r.children, (o) => (s(), n("li", {
4406
+ key: o.name
4402
4407
  }, [
4403
4408
  g(c(E), {
4404
4409
  as: "a",
4405
- onClick: (t) => o.$emit("sideBarClick", l.id),
4406
- 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"])
4410
+ onClick: (t) => l.$emit("sideBarClick", o.id),
4411
+ class: y([o.current ? "bg-gray-100" : "hover:bg-gray-100", "block rounded-md py-2 pl-9 pr-2 text-sm leading-6 text-gray-700 cursor-pointer"])
4407
4412
  }, {
4408
4413
  default: v(() => [
4409
- D(u(l.name), 1)
4414
+ T(u(o.name), 1)
4410
4415
  ]),
4411
4416
  _: 2
4412
4417
  }, 1032, ["onClick", "class"])
@@ -4415,16 +4420,16 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
4415
4420
  _: 2
4416
4421
  }, 1024)
4417
4422
  ], 512), [
4418
- [S, r.children.some((l) => l.current) || r.current]
4423
+ [M, r.children.some((o) => o.current) || r.current]
4419
4424
  ])
4420
4425
  ]),
4421
4426
  _: 2
4422
4427
  }, 1024)) : (s(), n("div", {
4423
4428
  key: 0,
4424
- onClick: (l) => o.$emit("sideBarClick", r.id),
4425
- 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"])
4429
+ onClick: (o) => l.$emit("sideBarClick", r.id),
4430
+ 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"])
4426
4431
  }, [
4427
- g(j, {
4432
+ g(D, {
4428
4433
  icon: r.icon,
4429
4434
  color: "primary",
4430
4435
  size: "big",
@@ -4432,35 +4437,35 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
4432
4437
  "aria-hidden": "true",
4433
4438
  class: "shrink-0"
4434
4439
  }, null, 8, ["icon"]),
4435
- D(" " + u(r.name), 1)
4436
- ], 10, Pi))
4440
+ T(" " + u(r.name), 1)
4441
+ ], 10, Vi))
4437
4442
  ]))), 128))
4438
4443
  ])
4439
4444
  ])
4440
4445
  ])),
4441
- o.isFilterNavigation && o.filterNavigation ? (s(), n("ul", Oi, [
4442
- e("li", Vi, [
4443
- o.filterNavigation.hasSearch && o.filterNavigation.search ? (s(), _(J, {
4446
+ l.isFilterNavigation && l.filterNavigation ? (s(), n("ul", Ii, [
4447
+ e("li", Fi, [
4448
+ l.filterNavigation.hasSearch && l.filterNavigation.search ? (s(), _(J, {
4444
4449
  key: 0,
4445
- name: o.filterNavigation.search.name,
4446
- label: o.filterNavigation.search.label,
4447
- placeholder: o.filterNavigation.search.placeholder,
4448
- value: o.filterNavigation.search.value,
4449
- loading: o.filterNavigation.search.loading
4450
+ name: l.filterNavigation.search.name,
4451
+ label: l.filterNavigation.search.label,
4452
+ placeholder: l.filterNavigation.search.placeholder,
4453
+ value: l.filterNavigation.search.value,
4454
+ loading: l.filterNavigation.search.loading
4450
4455
  }, null, 8, ["name", "label", "placeholder", "value", "loading"])) : b("", !0)
4451
4456
  ]),
4452
- (s(!0), n(k, null, $(o.filterNavigation.items, (r, l) => (s(), n("li", {
4457
+ (s(!0), n(k, null, $(l.filterNavigation.items, (r, o) => (s(), n("li", {
4453
4458
  class: "ml-2",
4454
- key: l
4459
+ key: o
4455
4460
  }, [
4456
- e("p", Fi, u(r.label), 1),
4461
+ e("p", Ri, u(r.label), 1),
4457
4462
  (s(!0), n(k, null, $(r.filters, (t, m) => (s(), _(qe, {
4458
4463
  class: "mb-2",
4459
4464
  value: t.value,
4460
4465
  loading: t.loading
4461
4466
  }, {
4462
4467
  default: v(() => [
4463
- D(u(t.text), 1)
4468
+ T(u(t.text), 1)
4464
4469
  ]),
4465
4470
  _: 2
4466
4471
  }, 1032, ["value", "loading"]))), 256))
@@ -4470,14 +4475,14 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
4470
4475
  ]))
4471
4476
  ]));
4472
4477
  }
4473
- }), qi = { class: "fixed inset-0 flex" }, Hi = { class: "absolute left-full top-0 flex w-16 justify-center pt-5" }, Ei = { class: "hidden lg:fixed lg:inset-y-0 lg:z-50 lg:flex lg:w-[25rem] lg:flex-col" }, Ui = { class: "lg:pl-[25rem]" }, Zi = { class: "sticky top-0 z-10 flex h-16 shrink-0 items-center gap-x-4 border-b border-gray-200 bg-white px-4 shadow-sm sm:gap-x-6 sm:px-6 lg:px-8" }, Ji = { class: "flex flex-1 gap-x-4 self-stretch lg:gap-x-6" }, Wi = {
4478
+ }), Ei = { class: "fixed inset-0 flex" }, Ui = { class: "absolute left-full top-0 flex w-16 justify-center pt-5" }, Zi = { class: "hidden lg:fixed lg:inset-y-0 lg:z-50 lg:flex lg:w-[25rem] lg:flex-col" }, Ji = { class: "lg:pl-[25rem]" }, Wi = { class: "sticky top-0 z-10 flex h-16 shrink-0 items-center gap-x-4 border-b border-gray-200 bg-white px-4 shadow-sm sm:gap-x-6 sm:px-6 lg:px-8" }, Gi = { class: "flex flex-1 gap-x-4 self-stretch lg:gap-x-6" }, Qi = {
4474
4479
  class: "relative flex flex-1",
4475
4480
  action: "#",
4476
4481
  method: "GET"
4477
- }, Gi = { class: "relative block h-full w-full border-0 py-0 pl-8 pr-0 text-gray-900 placeholder:text-gray-400 focus:ring-0 sm:text-sm" }, Qi = { class: "flex items-center gap-x-4 lg:gap-x-6" }, Ki = {
4482
+ }, Ki = { class: "relative block h-full w-full border-0 py-0 pl-8 pr-0 text-gray-900 placeholder:text-gray-400 focus:ring-0 sm:text-sm" }, Xi = { class: "flex items-center gap-x-4 lg:gap-x-6" }, ed = {
4478
4483
  type: "button",
4479
4484
  class: "-m-2.5 p-2.5 text-gray-400 hover:text-gray-500 relative"
4480
- }, Xi = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute top-1 left-2" }, ed = ["src"], td = { class: "hidden lg:flex lg:items-center" }, sd = ["onClick"], od = { class: "py-7" }, ld = { class: "px-7 lg:px-10" }, rd = /* @__PURE__ */ M({
4485
+ }, td = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute top-1 left-2" }, sd = ["src"], od = { class: "hidden lg:flex lg:items-center" }, ld = ["onClick"], rd = { class: "py-7" }, nd = { class: "px-7 lg:px-10" }, ad = /* @__PURE__ */ B({
4481
4486
  __name: "uiWrapper",
4482
4487
  props: {
4483
4488
  topbar: {},
@@ -4485,7 +4490,7 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
4485
4490
  },
4486
4491
  emits: ["productBarClick", "sideBarClick", "selectChanged", "topBarClick"],
4487
4492
  setup(p, { emit: i }) {
4488
- const o = p, a = Y(""), r = O(() => 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 = O(() => o.topbar.selectedItem), m = Y(!1);
4493
+ const l = p, a = Y(""), r = V(() => a.value === "" ? l.topbar.selectItems : l.topbar.selectItems.filter((d) => d.name.toLowerCase().includes(a.value.toLowerCase()))), o = (d) => (d == null ? void 0 : d.name) ?? "", t = V(() => l.topbar.selectedItem), m = Y(!1);
4489
4494
  return (d, f) => (s(), n("div", null, [
4490
4495
  g(c(be), {
4491
4496
  as: "template",
@@ -4494,7 +4499,7 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
4494
4499
  default: v(() => [
4495
4500
  g(c(we), {
4496
4501
  class: "relative z-50 lg:hidden",
4497
- onClose: f[3] || (f[3] = (y) => m.value = !1)
4502
+ onClose: f[3] || (f[3] = (h) => m.value = !1)
4498
4503
  }, {
4499
4504
  default: v(() => [
4500
4505
  g(c(W), {
@@ -4511,7 +4516,7 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
4511
4516
  ])),
4512
4517
  _: 1
4513
4518
  }),
4514
- e("div", qi, [
4519
+ e("div", Ei, [
4515
4520
  g(c(W), {
4516
4521
  as: "template",
4517
4522
  enter: "transition ease-in-out duration-300 transform",
@@ -4534,11 +4539,11 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
4534
4539
  "leave-to": "opacity-0"
4535
4540
  }, {
4536
4541
  default: v(() => [
4537
- e("div", Hi, [
4542
+ e("div", Ui, [
4538
4543
  e("button", {
4539
4544
  type: "button",
4540
4545
  class: "-m-2.5 p-2.5",
4541
- onClick: f[0] || (f[0] = (y) => m.value = !1)
4546
+ onClick: f[0] || (f[0] = (h) => m.value = !1)
4542
4547
  }, [
4543
4548
  f[12] || (f[12] = e("span", { class: "sr-only" }, "Close sidebar", -1)),
4544
4549
  g(c(U), {
@@ -4557,8 +4562,8 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
4557
4562
  filterNavigation: d.sidebar.filterNavigation,
4558
4563
  loading: !1,
4559
4564
  logo: d.topbar.logo,
4560
- onSideBarClick: f[1] || (f[1] = (y) => d.$emit("sideBarClick", y)),
4561
- onProductBarClick: f[2] || (f[2] = (y) => d.$emit("productBarClick", y))
4565
+ onSideBarClick: f[1] || (f[1] = (h) => d.$emit("sideBarClick", h)),
4566
+ onProductBarClick: f[2] || (f[2] = (h) => d.$emit("productBarClick", h))
4562
4567
  }, null, 8, ["productsSidebar", "isFilterNavigation", "navigation", "filterNavigation", "logo"])
4563
4568
  ]),
4564
4569
  _: 1
@@ -4573,7 +4578,7 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
4573
4578
  ]),
4574
4579
  _: 1
4575
4580
  }, 8, ["show"]),
4576
- e("div", Ei, [
4581
+ e("div", Zi, [
4577
4582
  g(Le, {
4578
4583
  productsSidebar: d.sidebar.productsSidebar,
4579
4584
  isFilterNavigation: d.sidebar.isFilterNavigation,
@@ -4581,16 +4586,16 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
4581
4586
  filterNavigation: d.sidebar.filterNavigation,
4582
4587
  loading: !1,
4583
4588
  logo: d.topbar.logo,
4584
- onSideBarClick: f[4] || (f[4] = (y) => d.$emit("sideBarClick", y)),
4585
- onProductBarClick: f[5] || (f[5] = (y) => d.$emit("productBarClick", y))
4589
+ onSideBarClick: f[4] || (f[4] = (h) => d.$emit("sideBarClick", h)),
4590
+ onProductBarClick: f[5] || (f[5] = (h) => d.$emit("productBarClick", h))
4586
4591
  }, null, 8, ["productsSidebar", "isFilterNavigation", "navigation", "filterNavigation", "logo"])
4587
4592
  ]),
4588
- e("div", Ui, [
4589
- e("div", Zi, [
4593
+ e("div", Ji, [
4594
+ e("div", Wi, [
4590
4595
  e("button", {
4591
4596
  type: "button",
4592
4597
  class: "-m-2.5 p-2.5 text-gray-700 lg:hidden",
4593
- onClick: f[6] || (f[6] = (y) => m.value = !0)
4598
+ onClick: f[6] || (f[6] = (h) => m.value = !0)
4594
4599
  }, [
4595
4600
  f[13] || (f[13] = e("span", { class: "sr-only" }, "Open sidebar", -1)),
4596
4601
  g(c(He), {
@@ -4602,8 +4607,8 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
4602
4607
  class: "h-6 w-px bg-gray-200 lg:hidden",
4603
4608
  "aria-hidden": "true"
4604
4609
  }, null, -1)),
4605
- e("div", Ji, [
4606
- e("form", Wi, [
4610
+ e("div", Gi, [
4611
+ e("form", Qi, [
4607
4612
  f[14] || (f[14] = e("label", {
4608
4613
  for: "search-field",
4609
4614
  class: "sr-only"
@@ -4612,22 +4617,22 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
4612
4617
  class: "pointer-events-none absolute inset-y-0 left-0 h-full w-5 text-gray-400",
4613
4618
  "aria-hidden": "true"
4614
4619
  }),
4615
- g(c(Pe), {
4620
+ g(c(Oe), {
4616
4621
  class: "w-full",
4617
4622
  as: "div",
4618
4623
  modelValue: t.value,
4619
4624
  "onUpdate:modelValue": [
4620
- f[9] || (f[9] = (y) => t.value = y),
4621
- f[10] || (f[10] = (y) => d.$emit("selectChanged", y))
4625
+ f[9] || (f[9] = (h) => t.value = h),
4626
+ f[10] || (f[10] = (h) => d.$emit("selectChanged", h))
4622
4627
  ]
4623
4628
  }, {
4624
4629
  default: v(() => [
4625
- e("div", Gi, [
4626
- g(c(Oe), {
4630
+ e("div", Ki, [
4631
+ g(c(Pe), {
4627
4632
  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",
4628
- onChange: f[7] || (f[7] = (y) => a.value = y.target.value),
4629
- onBlur: f[8] || (f[8] = (y) => a.value = ""),
4630
- displayValue: l
4633
+ onChange: f[7] || (f[7] = (h) => a.value = h.target.value),
4634
+ onBlur: f[8] || (f[8] = (h) => a.value = ""),
4635
+ displayValue: o
4631
4636
  }),
4632
4637
  g(c(Ve), { class: "absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none" }, {
4633
4638
  default: v(() => [
@@ -4635,26 +4640,26 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
4635
4640
  ]),
4636
4641
  _: 1
4637
4642
  }),
4638
- r.value.length > 0 ? (s(), _(c(Fe), {
4643
+ r.value.length > 0 ? (s(), _(c(Ie), {
4639
4644
  key: 0,
4640
4645
  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"
4641
4646
  }, {
4642
4647
  default: v(() => [
4643
- (s(!0), n(k, null, $(r.value, (y) => (s(), _(c(Ie), {
4644
- key: y.id,
4645
- value: y,
4648
+ (s(!0), n(k, null, $(r.value, (h) => (s(), _(c(Fe), {
4649
+ key: h.id,
4650
+ value: h,
4646
4651
  as: "template"
4647
4652
  }, {
4648
- default: v(({ active: w, selected: B }) => [
4653
+ default: v(({ active: w, selected: N }) => [
4649
4654
  e("li", {
4650
- class: h(["relative cursor-default select-none py-2 pl-8 pr-4", w ? "bg-indigo-600 text-white" : "text-gray-900"])
4655
+ class: y(["relative cursor-default select-none py-2 pl-8 pr-4", w ? "bg-indigo-600 text-white" : "text-gray-900"])
4651
4656
  }, [
4652
4657
  e("span", {
4653
- class: h(["block truncate", B && "font-semibold"])
4654
- }, u(y.name), 3),
4655
- B ? (s(), n("span", {
4658
+ class: y(["block truncate", N && "font-semibold"])
4659
+ }, u(h.name), 3),
4660
+ N ? (s(), n("span", {
4656
4661
  key: 0,
4657
- class: h(["absolute inset-y-0 left-0 flex items-center pl-1.5", w ? "text-white" : "text-indigo-600"])
4662
+ class: y(["absolute inset-y-0 left-0 flex items-center pl-1.5", w ? "text-white" : "text-indigo-600"])
4658
4663
  }, [
4659
4664
  g(c(ue), { class: "h-5 w-5" })
4660
4665
  ], 2)) : b("", !0)
@@ -4670,13 +4675,13 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
4670
4675
  _: 1
4671
4676
  }, 8, ["modelValue"])
4672
4677
  ]),
4673
- e("div", Qi, [
4674
- e("button", Ki, [
4678
+ e("div", Xi, [
4679
+ e("button", ed, [
4675
4680
  f[16] || (f[16] = e("span", { class: "sr-only" }, "View notifications", -1)),
4676
- C(e("div", Xi, f[15] || (f[15] = [
4681
+ C(e("div", td, f[15] || (f[15] = [
4677
4682
  e("span", { class: "animate-ping absolute inline-flex h-4 w-4 bg-red-500 rounded-full opacity-75" }, null, -1)
4678
4683
  ]), 512), [
4679
- [S, d.topbar.alerted]
4684
+ [M, d.topbar.alerted]
4680
4685
  ]),
4681
4686
  g(c(xt), {
4682
4687
  class: "h-6 w-6",
@@ -4692,15 +4697,15 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
4692
4697
  class: "relative"
4693
4698
  }, {
4694
4699
  default: v(() => [
4695
- g(c(ye), { class: "-m-1.5 flex items-center p-1.5" }, {
4700
+ g(c(he), { class: "-m-1.5 flex items-center p-1.5" }, {
4696
4701
  default: v(() => [
4697
4702
  f[17] || (f[17] = e("span", { class: "sr-only" }, "Open user menu", -1)),
4698
4703
  e("img", {
4699
4704
  class: "h-8 w-8 rounded-full bg-gray-50",
4700
4705
  src: d.topbar.accountLogo,
4701
4706
  alt: ""
4702
- }, null, 8, ed),
4703
- e("span", td, [
4707
+ }, null, 8, sd),
4708
+ e("span", od, [
4704
4709
  g(c(ie), {
4705
4710
  class: "ml-2 h-5 w-5 text-gray-400",
4706
4711
  "aria-hidden": "true"
@@ -4718,16 +4723,16 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
4718
4723
  "leave-to-class": "transform opacity-0 scale-95"
4719
4724
  }, {
4720
4725
  default: v(() => [
4721
- g(c(he), { class: "absolute right-0 z-10 mt-2.5 w-52 origin-top-right rounded-md bg-white py-2 shadow-lg ring-1 ring-gray-900/5 focus:outline-none" }, {
4726
+ g(c(ye), { 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" }, {
4722
4727
  default: v(() => [
4723
- (s(!0), n(k, null, $(d.topbar.profileMenu, (y) => (s(), _(c(ve), {
4724
- key: y.name
4728
+ (s(!0), n(k, null, $(d.topbar.profileMenu, (h) => (s(), _(c(ve), {
4729
+ key: h.name
4725
4730
  }, {
4726
4731
  default: v(({ active: w }) => [
4727
4732
  e("a", {
4728
- onClick: (B) => d.$emit("topBarClick", y.id),
4729
- class: h([w ? "bg-gray-50" : "", "block px-3 py-1 text-sm leading-6 text-gray-900"])
4730
- }, u(y.name), 11, sd)
4733
+ onClick: (N) => d.$emit("topBarClick", h.id),
4734
+ class: y([w ? "bg-gray-50" : "", "block px-3 py-1 text-sm leading-6 text-gray-900"])
4735
+ }, u(h.name), 11, ld)
4731
4736
  ]),
4732
4737
  _: 2
4733
4738
  }, 1024))), 128))
@@ -4743,123 +4748,123 @@ const Ql = /* @__PURE__ */ ee(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ M({
4743
4748
  ])
4744
4749
  ])
4745
4750
  ]),
4746
- e("main", od, [
4747
- e("div", ld, [
4748
- I(d.$slots, "default")
4751
+ e("main", rd, [
4752
+ e("div", nd, [
4753
+ F(d.$slots, "default")
4749
4754
  ])
4750
4755
  ])
4751
4756
  ])
4752
4757
  ]));
4753
4758
  }
4754
- }), nd = /* @__PURE__ */ M({
4759
+ }), id = /* @__PURE__ */ B({
4755
4760
  __name: "uiDynamicStats",
4756
4761
  props: {
4757
4762
  dynamicStats: {},
4758
4763
  loading: { type: Boolean, default: !0 }
4759
4764
  },
4760
4765
  setup(p) {
4761
- const i = p, 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 = Y(0), r = Y(o());
4762
- return tt(() => a.value += 1), (l, t) => (s(), n("div", {
4763
- class: h([r.value, "grid grid-cols-1 md:grid-cols-2 gap-4"]),
4766
+ const i = p, l = () => i.dynamicStats.length <= 5 ? `lg:grid-cols-${i.dynamicStats.length}` : `lg:grid-cols-${Math.floor(i.dynamicStats.length / 2)} xl:grid-cols-${i.dynamicStats.length}`, a = Y(0), r = Y(l());
4767
+ return tt(() => a.value += 1), (o, t) => (s(), n("div", {
4768
+ class: y([r.value, "grid grid-cols-1 md:grid-cols-2 gap-4"]),
4764
4769
  key: a.value
4765
4770
  }, [
4766
- (s(!0), n(k, null, $(l.dynamicStats, (m, d) => (s(), _(Ge, {
4771
+ (s(!0), n(k, null, $(o.dynamicStats, (m, d) => (s(), _(Ge, {
4767
4772
  key: d,
4768
4773
  item: m,
4769
- loading: l.loading
4774
+ loading: o.loading
4770
4775
  }, null, 8, ["item", "loading"]))), 128))
4771
4776
  ], 2));
4772
4777
  }
4773
4778
  }), Ne = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4774
4779
  __proto__: null,
4775
- uiAlert: js,
4776
- uiBreadcrumbs: Ps,
4780
+ uiAlert: Ds,
4781
+ uiBreadcrumbs: Os,
4777
4782
  uiButton: G,
4778
4783
  uiCard: Hs,
4779
- uiChart: Zl,
4784
+ uiChart: Wl,
4780
4785
  uiCheckbox: qe,
4781
- uiCircleChart: ni,
4782
- uiDateRange: di,
4783
- uiDeviceStatus: Mi,
4784
- uiDragAndDrop: ei,
4786
+ uiCircleChart: ii,
4787
+ uiDateRange: ci,
4788
+ uiDeviceStatus: Di,
4789
+ uiDragAndDrop: si,
4785
4790
  uiDropdown: Ce,
4786
- uiDynamicStats: nd,
4791
+ uiDynamicStats: id,
4787
4792
  uiFilter: Es,
4788
- uiFooter: Ql,
4789
- uiFunnelChartV2: xa,
4790
- uiGallery: Ua,
4791
- uiIcon: j,
4793
+ uiFooter: Xl,
4794
+ uiFunnelChartV2: _a,
4795
+ uiGallery: Ja,
4796
+ uiIcon: D,
4792
4797
  uiInput: J,
4793
4798
  uiInputFile: os,
4794
- uiLoadingScreen: Kl,
4799
+ uiLoadingScreen: er,
4795
4800
  uiModal: Je,
4796
- uiNoResults: Ca,
4801
+ uiNoResults: Ma,
4797
4802
  uiNotification: uo,
4798
- uiPagination: gr,
4803
+ uiPagination: mr,
4799
4804
  uiPriceCalendar: Nl,
4800
- uiRangeSlider: mi,
4801
- uiRightSidebar: Ya,
4802
- uiSectionTitle: yi,
4805
+ uiRangeSlider: hi,
4806
+ uiRightSidebar: Pa,
4807
+ uiSectionTitle: vi,
4803
4808
  uiSelect: is,
4804
- uiSidebar: Cr,
4809
+ uiSidebar: Mr,
4805
4810
  uiStats: Ge,
4806
- uiStripedCard: Zr,
4807
- uiTable: hn,
4808
- uiTabs: $n,
4811
+ uiStripedCard: Wr,
4812
+ uiTable: bn,
4813
+ uiTabs: Bn,
4809
4814
  uiTag: R,
4810
4815
  uiTaskList: xo,
4811
- uiTextArea: ys,
4812
- uiTimeline: Un,
4816
+ uiTextArea: hs,
4817
+ uiTimeline: Jn,
4813
4818
  uiToggle: ws,
4814
- uiTopbar: ma,
4815
- uiWrapper: rd
4819
+ uiTopbar: ha,
4820
+ uiWrapper: ad
4816
4821
  }, Symbol.toStringTag, { value: "Module" }));
4817
- function ad(p) {
4822
+ function dd(p) {
4818
4823
  for (const i in Ne)
4819
4824
  p.component(i, Ne[i]);
4820
4825
  }
4821
- const fd = { install: ad };
4826
+ const yd = { install: dd };
4822
4827
  export {
4823
- fd as default,
4824
- js as uiAlert,
4825
- Ps as uiBreadcrumbs,
4828
+ yd as default,
4829
+ Ds as uiAlert,
4830
+ Os as uiBreadcrumbs,
4826
4831
  G as uiButton,
4827
4832
  Hs as uiCard,
4828
- Zl as uiChart,
4833
+ Wl as uiChart,
4829
4834
  qe as uiCheckbox,
4830
- ni as uiCircleChart,
4831
- di as uiDateRange,
4832
- Mi as uiDeviceStatus,
4833
- ei as uiDragAndDrop,
4835
+ ii as uiCircleChart,
4836
+ ci as uiDateRange,
4837
+ Di as uiDeviceStatus,
4838
+ si as uiDragAndDrop,
4834
4839
  Ce as uiDropdown,
4835
- nd as uiDynamicStats,
4840
+ id as uiDynamicStats,
4836
4841
  Es as uiFilter,
4837
- Ql as uiFooter,
4838
- xa as uiFunnelChartV2,
4839
- Ua as uiGallery,
4840
- j as uiIcon,
4842
+ Xl as uiFooter,
4843
+ _a as uiFunnelChartV2,
4844
+ Ja as uiGallery,
4845
+ D as uiIcon,
4841
4846
  J as uiInput,
4842
4847
  os as uiInputFile,
4843
- Kl as uiLoadingScreen,
4848
+ er as uiLoadingScreen,
4844
4849
  Je as uiModal,
4845
- Ca as uiNoResults,
4850
+ Ma as uiNoResults,
4846
4851
  uo as uiNotification,
4847
- gr as uiPagination,
4852
+ mr as uiPagination,
4848
4853
  Nl as uiPriceCalendar,
4849
- mi as uiRangeSlider,
4850
- Ya as uiRightSidebar,
4851
- yi as uiSectionTitle,
4854
+ hi as uiRangeSlider,
4855
+ Pa as uiRightSidebar,
4856
+ vi as uiSectionTitle,
4852
4857
  is as uiSelect,
4853
- Cr as uiSidebar,
4858
+ Mr as uiSidebar,
4854
4859
  Ge as uiStats,
4855
- Zr as uiStripedCard,
4856
- hn as uiTable,
4857
- $n as uiTabs,
4860
+ Wr as uiStripedCard,
4861
+ bn as uiTable,
4862
+ Bn as uiTabs,
4858
4863
  R as uiTag,
4859
4864
  xo as uiTaskList,
4860
- ys as uiTextArea,
4861
- Un as uiTimeline,
4865
+ hs as uiTextArea,
4866
+ Jn as uiTimeline,
4862
4867
  ws as uiToggle,
4863
- ma as uiTopbar,
4864
- rd as uiWrapper
4868
+ ha as uiTopbar,
4869
+ ad as uiWrapper
4865
4870
  };