@hotelinking/ui 9.41.34 → 9.41.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ui.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent as B, openBlock as s, createBlock as _, resolveDynamicComponent as qe, normalizeClass as h, createElementBlock as n, createCommentVNode as b, renderSlot as F, createElementVNode as e, ref as A, watch as W, computed as P, unref as c, withCtx as v, toDisplayString as u, createVNode as g, createTextVNode as D, Transition as re, Fragment as k, renderList as $, withDirectives as C, vModelDynamic as He, vShow as S, withModifiers as xe, vModelText as Ue, createStaticVNode as Q, resolveComponent as ke, vModelCheckbox as Ce, isRef as Be, reactive as Me, TransitionGroup as Ee, onMounted as Ze } from "vue";
1
+ import { defineComponent as B, openBlock as s, createBlock as _, resolveDynamicComponent as qe, normalizeClass as h, createElementBlock as n, createCommentVNode as b, renderSlot as F, createElementVNode as e, ref as A, watch as W, computed as O, unref as c, withCtx as v, toDisplayString as u, createVNode as g, createTextVNode as D, Transition as re, Fragment as k, renderList as $, withDirectives as C, vModelDynamic as He, vShow as S, withModifiers as xe, vModelText as Ue, createStaticVNode as Q, resolveComponent as ke, vModelCheckbox as Ce, isRef as Be, reactive as Me, TransitionGroup as Ee, onMounted as Ze } from "vue";
2
2
  import { Menu as de, MenuButton as ue, MenuItems as ce, MenuItem as ge, Combobox as Se, ComboboxLabel as Je, ComboboxInput as je, ComboboxButton as De, ComboboxOptions as Te, ComboboxOption as ze, SwitchGroup as Ge, Switch as We, SwitchLabel as Qe, TransitionRoot as pe, Dialog as me, TransitionChild as J, DialogPanel as fe, DialogTitle as Le, Disclosure as ye, DisclosureButton as U, DisclosurePanel as he } from "@headlessui/vue";
3
3
  import L from "dayjs";
4
4
  import ve from "vue3-apexcharts";
@@ -13,7 +13,7 @@ const j = /* @__PURE__ */ B({
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
18
  class: h([{
19
19
  "h-4 w-4": i.size === "medium",
@@ -55,7 +55,7 @@ const j = /* @__PURE__ */ B({
55
55
  size: { default: "medium" }
56
56
  },
57
57
  setup(p) {
58
- return (i, o) => i.loading ? (s(), n("button", tt, [
58
+ return (i, l) => i.loading ? (s(), n("button", tt, [
59
59
  i.icon ? (s(), _(j, {
60
60
  key: 0,
61
61
  icon: i.icon,
@@ -63,7 +63,7 @@ const j = /* @__PURE__ */ B({
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,
@@ -93,7 +93,7 @@ const j = /* @__PURE__ */ B({
93
93
  }), st = {
94
94
  key: 0,
95
95
  class: "relative flex items-start"
96
- }, ot = { class: "flex items-center h-5" }, lt = ["checked", "value", "disabled"], rt = { class: "ml-3 text-sm" }, nt = { class: "text-gray-500" }, at = {
96
+ }, lt = { class: "flex items-center h-5" }, ot = ["checked", "value", "disabled"], rt = { class: "ml-3 text-sm" }, nt = { class: "text-gray-500" }, at = {
97
97
  key: 1,
98
98
  class: "flex items-center animate-pulse"
99
99
  }, Ne = /* @__PURE__ */ B({
@@ -107,8 +107,8 @@ const j = /* @__PURE__ */ B({
107
107
  },
108
108
  emits: ["checkboxChanged"],
109
109
  setup(p, { emit: i }) {
110
- const o = i, a = p, r = A(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 = A(a.check), o = () => {
111
+ a.disabled || (r.value = !r.value, l("checkboxChanged", { checked: r.value, value: a.value }));
112
112
  };
113
113
  return W(() => a.check, (t) => {
114
114
  t && (r.value = t);
@@ -116,15 +116,15 @@ const j = /* @__PURE__ */ B({
116
116
  e("div", { class: "w-5 h-5 rounded bg-gray-200" }, null, -1),
117
117
  e("div", { class: "ml-3 h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28" }, null, -1)
118
118
  ]))) : (s(), n("div", st, [
119
- e("div", ot, [
119
+ e("div", lt, [
120
120
  e("input", {
121
121
  checked: t.check,
122
122
  value: t.value,
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())
127
- }, null, 40, lt)
126
+ onChange: m[0] || (m[0] = (d) => o())
127
+ }, null, 40, ot)
128
128
  ]),
129
129
  e("div", rt, [
130
130
  e("span", nt, [
@@ -270,7 +270,7 @@ function ne(p, i) {
270
270
  })
271
271
  ]);
272
272
  }
273
- function le(p, i) {
273
+ function oe(p, i) {
274
274
  return s(), n("svg", {
275
275
  xmlns: "http://www.w3.org/2000/svg",
276
276
  fill: "none",
@@ -580,15 +580,15 @@ const kt = { class: "flex justify-between" }, _t = {
580
580
  },
581
581
  emits: ["optionSelected"],
582
582
  setup(p, { emit: i }) {
583
- const o = i, a = p, r = P(() => {
583
+ const l = i, a = p, r = O(() => {
584
584
  let t = a.items.find((m) => m.active === !0);
585
585
  return t ? t.name : a.label;
586
- }), l = (t) => {
587
- a.disabled || o("optionSelected", t);
586
+ }), o = (t) => {
587
+ a.disabled || l("optionSelected", t);
588
588
  };
589
589
  return (t, m) => t.loading ? (s(), n("div", Mt, [
590
590
  m[0] || (m[0] = e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28" }, null, -1)),
591
- g(c(le), {
591
+ g(c(oe), {
592
592
  "aria-hidden": "true",
593
593
  class: "-mr-1 ml-2 h-5 w-5 text-gray-200 dark:text-gray-300"
594
594
  })
@@ -606,7 +606,7 @@ const kt = { class: "flex justify-between" }, _t = {
606
606
  g(c(ue), { 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" }, {
607
607
  default: v(() => [
608
608
  D(u(r.value) + " ", 1),
609
- g(c(le), {
609
+ g(c(oe), {
610
610
  "aria-hidden": "true",
611
611
  class: "-mr-1 ml-2 h-5 w-5"
612
612
  })
@@ -632,7 +632,7 @@ const kt = { class: "flex justify-between" }, _t = {
632
632
  (s(!0), n(k, null, $(t.items, (d, f) => (s(), _(c(ge), { key: f }, {
633
633
  default: v(() => [
634
634
  e("a", {
635
- onClick: (y) => l(d),
635
+ onClick: (y) => o(d),
636
636
  class: h([
637
637
  d.active ? "bg-gray-100 text-gray-900" : "text-gray-700",
638
638
  "block px-4 py-2 text-sm cursor-pointer"
@@ -683,12 +683,12 @@ const kt = { class: "flex justify-between" }, _t = {
683
683
  },
684
684
  emits: ["inputChanged", "rightAddOnClicked", "addOnClicked"],
685
685
  setup(p, { emit: i }) {
686
- const o = i, a = p, r = A(a.value);
686
+ const l = i, a = p, r = A(a.value);
687
687
  W(() => a.value, (t) => {
688
- r.value = t, r.value && o("inputChanged", { name: a.name, value: r.value });
688
+ r.value = t, r.value && l("inputChanged", { name: a.name, value: r.value });
689
689
  });
690
- const l = (t) => {
691
- t.target.name && o("inputChanged", { value: t.target.value, name: t.target.name });
690
+ const o = (t) => {
691
+ t.target.name && l("inputChanged", { value: t.target.value, name: t.target.name });
692
692
  };
693
693
  return (t, m) => t.loading ? (s(), n("div", Nt, [
694
694
  t.label !== void 0 ? (s(), n("div", At)) : b("", !0),
@@ -730,7 +730,7 @@ const kt = { class: "flex justify-between" }, _t = {
730
730
  name: t.name,
731
731
  placeholder: t.placeholder,
732
732
  type: t.type,
733
- onInput: l
733
+ onInput: o
734
734
  }, null, 42, zt), [
735
735
  [He, r.value]
736
736
  ]),
@@ -807,16 +807,16 @@ const kt = { class: "flex justify-between" }, _t = {
807
807
  },
808
808
  emits: ["filesUploaded"],
809
809
  setup(p, { emit: i }) {
810
- let o = A("");
811
- const a = i, r = p, l = (d) => {
810
+ let l = A("");
811
+ const a = i, r = p, o = (d) => {
812
812
  m(d.dataTransfer.files), a("filesUploaded", { id: r.id, files: d.dataTransfer.files });
813
813
  }, t = (d) => {
814
814
  m(d.target.files), a("filesUploaded", { id: r.id, files: d.target.files });
815
815
  }, m = (d) => {
816
- o.value = "";
816
+ l.value = "";
817
817
  let f = 1;
818
818
  Object.values(d).forEach((y) => {
819
- f++, o.value += y.name, f >= 1 && f < d.length && (o.value += ", ");
819
+ f++, l.value += y.name, f >= 1 && f < d.length && (l.value += ", ");
820
820
  });
821
821
  };
822
822
  return (d, f) => d.loading ? (s(), n("div", Zt, f[1] || (f[1] = [
@@ -841,7 +841,7 @@ const kt = { class: "flex justify-between" }, _t = {
841
841
  ]),
842
842
  onDragover: f[0] || (f[0] = xe(() => {
843
843
  }, ["prevent"])),
844
- onDrop: xe(l, ["prevent"])
844
+ onDrop: xe(o, ["prevent"])
845
845
  }, [
846
846
  e("div", Ft, [
847
847
  g(j, {
@@ -871,8 +871,8 @@ const kt = { class: "flex justify-between" }, _t = {
871
871
  e("p", Ht, u(d.dragAndDrop), 1)
872
872
  ]),
873
873
  e("p", Ut, u(d.fileTypesAndSizes), 1),
874
- C(e("p", { class: "font-bold text-xs uppercase block p-2 bg-gray-200 rounded" }, u(c(o)), 513), [
875
- [S, c(o) !== null]
874
+ C(e("p", { class: "font-bold text-xs uppercase block p-2 bg-gray-200 rounded" }, u(c(l)), 513), [
875
+ [S, c(l) !== null]
876
876
  ])
877
877
  ])
878
878
  ], 34),
@@ -909,7 +909,7 @@ const kt = { class: "flex justify-between" }, _t = {
909
909
  },
910
910
  emits: ["selectChanged"],
911
911
  setup(p, { emit: i }) {
912
- const o = A(""), a = i, r = p, l = P(() => o.value === "" ? r.items : r.items.filter((d) => d.name.toLowerCase().includes(o.value.toLowerCase()))), t = (d) => (d == null ? void 0 : d.name) ?? "", m = P(() => r.select);
912
+ const l = A(""), a = i, r = p, o = O(() => l.value === "" ? r.items : r.items.filter((d) => d.name.toLowerCase().includes(l.value.toLowerCase()))), t = (d) => (d == null ? void 0 : d.name) ?? "", m = O(() => r.select);
913
913
  return (d, f) => d.loading ? (s(), n("div", Kt, [
914
914
  f[4] || (f[4] = e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, null, -1)),
915
915
  g(c(ie), {
@@ -938,8 +938,8 @@ const kt = { class: "flex justify-between" }, _t = {
938
938
  ]),
939
939
  e("div", Qt, [
940
940
  g(c(je), {
941
- onChange: f[0] || (f[0] = (y) => o.value = y.target.value),
942
- onBlur: f[1] || (f[1] = (y) => o.value = ""),
941
+ onChange: f[0] || (f[0] = (y) => l.value = y.target.value),
942
+ onBlur: f[1] || (f[1] = (y) => l.value = ""),
943
943
  displayValue: t,
944
944
  class: h([{
945
945
  "border-gray-300": d.color === "gray",
@@ -964,12 +964,12 @@ const kt = { class: "flex justify-between" }, _t = {
964
964
  ]),
965
965
  _: 1
966
966
  }),
967
- l.value.length > 0 ? (s(), _(c(Te), {
967
+ o.value.length > 0 ? (s(), _(c(Te), {
968
968
  key: 0,
969
969
  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"
970
970
  }, {
971
971
  default: v(() => [
972
- (s(!0), n(k, null, $(l.value, (y) => (s(), _(c(ze), {
972
+ (s(!0), n(k, null, $(o.value, (y) => (s(), _(c(ze), {
973
973
  key: y.id,
974
974
  value: y,
975
975
  as: "template"
@@ -1034,37 +1034,37 @@ const kt = { class: "flex justify-between" }, _t = {
1034
1034
  },
1035
1035
  emits: ["tagEvent"],
1036
1036
  setup(p, { emit: i }) {
1037
- const o = i, a = p, r = () => {
1038
- a.event != null && o("tagEvent", a.event);
1037
+ const l = i, a = p, r = () => {
1038
+ a.event != null && l("tagEvent", a.event);
1039
1039
  };
1040
- return (l, t) => l.loading ? (s(), n("div", es, t[0] || (t[0] = [
1040
+ return (o, t) => o.loading ? (s(), n("div", es, t[0] || (t[0] = [
1041
1041
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-12" }, null, -1)
1042
1042
  ]))) : (s(), n("span", {
1043
1043
  key: 0,
1044
1044
  onClick: r,
1045
1045
  class: h([{
1046
- "bg-indigo-100 text-indigo-800 border border-indigo-200": l.color === "primary",
1047
- "hover:bg-indigo-200 cursor-pointer": l.event !== void 0 && l.color === "primary",
1048
- "bg-red-100 text-red-800 border border-red-200": l.color === "red",
1049
- "hover:bg-red-200 cursor-pointer": l.event !== void 0 && l.color === "red",
1050
- "bg-yellow-100 text-yellow-800 border border-yellow-200": l.color === "yellow",
1051
- "hover:bg-yellow-200 cursor-pointer": l.event !== void 0 && l.color === "yellow",
1052
- "bg-green-100 text-green-800 border border-green-200": l.color === "green",
1053
- "hover:bg-green-200 cursor-pointer": l.event !== void 0 && l.color === "green",
1054
- "bg-black text-white border border-black": l.color === "black",
1055
- "text-black border border-gray-200 bg-white": l.color === "white",
1056
- "px-3 py-2": l.size === "medium",
1057
- "px-2 pt-1 pb-0.5": l.size === "small",
1058
- "px-4 py-3": l.size === "big"
1046
+ "bg-indigo-100 text-indigo-800 border border-indigo-200": o.color === "primary",
1047
+ "hover:bg-indigo-200 cursor-pointer": o.event !== void 0 && o.color === "primary",
1048
+ "bg-red-100 text-red-800 border border-red-200": o.color === "red",
1049
+ "hover:bg-red-200 cursor-pointer": o.event !== void 0 && o.color === "red",
1050
+ "bg-yellow-100 text-yellow-800 border border-yellow-200": o.color === "yellow",
1051
+ "hover:bg-yellow-200 cursor-pointer": o.event !== void 0 && o.color === "yellow",
1052
+ "bg-green-100 text-green-800 border border-green-200": o.color === "green",
1053
+ "hover:bg-green-200 cursor-pointer": o.event !== void 0 && o.color === "green",
1054
+ "bg-black text-white border border-black": o.color === "black",
1055
+ "text-black border border-gray-200 bg-white": o.color === "white",
1056
+ "px-3 py-2": o.size === "medium",
1057
+ "px-2 pt-1 pb-0.5": o.size === "small",
1058
+ "px-4 py-3": o.size === "big"
1059
1059
  }, "inline-flex items-center rounded text-xs font-medium leading-none"])
1060
1060
  }, [
1061
- F(l.$slots, "default")
1061
+ F(o.$slots, "default")
1062
1062
  ], 2));
1063
1063
  }
1064
- }), ts = { key: 0 }, ss = { class: "flex justify-between" }, os = {
1064
+ }), ts = { key: 0 }, ss = { class: "flex justify-between" }, ls = {
1065
1065
  key: 0,
1066
1066
  class: "block text-sm font-medium text-gray-700"
1067
- }, ls = {
1067
+ }, os = {
1068
1068
  key: 1,
1069
1069
  class: "text-[10px] text-gray-500 uppercase justify-self-end"
1070
1070
  }, rs = ["disabled", "placeholder"], ns = {
@@ -1085,18 +1085,18 @@ const kt = { class: "flex justify-between" }, _t = {
1085
1085
  },
1086
1086
  emits: ["inputChanged"],
1087
1087
  setup(p, { emit: i }) {
1088
- const o = i, a = p, r = (t) => {
1089
- o("inputChanged", t.target.value);
1090
- }, l = A(a.value);
1088
+ const l = i, a = p, r = (t) => {
1089
+ l("inputChanged", t.target.value);
1090
+ }, o = A(a.value);
1091
1091
  return W(() => a.value, (t) => {
1092
- l.value = t, o("inputChanged", { name: a.name, value: l.value });
1092
+ o.value = t, l("inputChanged", { name: a.name, value: o.value });
1093
1093
  }), (t, m) => t.loading ? (s(), n("div", ns, m[1] || (m[1] = [
1094
1094
  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),
1095
1095
  e("div", { class: "h-24 bg-gray-200 rounded-lg flex inline-flex items-center relative inline-block text-left w-full" }, null, -1)
1096
1096
  ]))) : (s(), n("div", ts, [
1097
1097
  e("div", ss, [
1098
- t.label ? (s(), n("label", os, u(t.label), 1)) : b("", !0),
1099
- t.requiredText ? (s(), n("span", ls, u(t.requiredText), 1)) : b("", !0)
1098
+ t.label ? (s(), n("label", ls, u(t.label), 1)) : b("", !0),
1099
+ t.requiredText ? (s(), n("span", os, u(t.requiredText), 1)) : b("", !0)
1100
1100
  ]),
1101
1101
  e("div", {
1102
1102
  class: h({ "mt-1": t.label })
@@ -1104,7 +1104,7 @@ const kt = { class: "flex justify-between" }, _t = {
1104
1104
  C(e("textarea", {
1105
1105
  disabled: t.disabled,
1106
1106
  rows: "4",
1107
- "onUpdate:modelValue": m[0] || (m[0] = (d) => l.value = d),
1107
+ "onUpdate:modelValue": m[0] || (m[0] = (d) => o.value = d),
1108
1108
  placeholder: t.placeholder,
1109
1109
  class: h(["shadow-sm focus:ring-indigo-500 focus:border-indigo-500 block w-full sm:text-sm rounded-md", {
1110
1110
  "border-gray-300": t.color === "gray",
@@ -1119,7 +1119,7 @@ const kt = { class: "flex justify-between" }, _t = {
1119
1119
  }]),
1120
1120
  onChange: r
1121
1121
  }, null, 42, rs), [
1122
- [Ue, l.value]
1122
+ [Ue, o.value]
1123
1123
  ])
1124
1124
  ], 2),
1125
1125
  C(e("p", {
@@ -1158,8 +1158,8 @@ const kt = { class: "flex justify-between" }, _t = {
1158
1158
  },
1159
1159
  emits: ["toggleChanged", "actionClicked"],
1160
1160
  setup(p, { emit: i }) {
1161
- const o = p, a = A(o.checked);
1162
- return W(() => o.checked, (r) => a.value = r), (r, l) => r.loading ? (s(), n("div", us, l[3] || (l[3] = [
1161
+ const l = p, a = A(l.checked);
1162
+ return W(() => l.checked, (r) => a.value = r), (r, o) => r.loading ? (s(), n("div", us, o[3] || (o[3] = [
1163
1163
  e("div", { class: "relative bg-gray-200 rounded-full w-12 h-6 p-1 flex items-center" }, [
1164
1164
  e("div", { class: "rounded-full bg-gray-300 dark:bg-gray-400 h-4 w-4" })
1165
1165
  ], -1),
@@ -1172,9 +1172,9 @@ const kt = { class: "flex justify-between" }, _t = {
1172
1172
  default: v(() => [
1173
1173
  g(c(We), {
1174
1174
  disabled: r.disabled,
1175
- onClick: l[0] || (l[0] = (t) => r.$emit("toggleChanged", { item: r.item, active: !a.value })),
1175
+ onClick: o[0] || (o[0] = (t) => r.$emit("toggleChanged", { item: r.item, active: !a.value })),
1176
1176
  modelValue: a.value,
1177
- "onUpdate:modelValue": l[1] || (l[1] = (t) => a.value = t),
1177
+ "onUpdate:modelValue": o[1] || (o[1] = (t) => a.value = t),
1178
1178
  class: h([
1179
1179
  a.value ? "bg-indigo-600" : "bg-gray-200",
1180
1180
  "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"
@@ -1205,7 +1205,7 @@ const kt = { class: "flex justify-between" }, _t = {
1205
1205
  r.item.action ? (s(), n("span", {
1206
1206
  key: 0,
1207
1207
  class: "cursor-pointer text-indigo-600 hover:text-indigo-400 uppercase text-xs absolute right-0 bottom-0.5",
1208
- onClick: l[2] || (l[2] = (t) => r.$emit("actionClicked", r.item))
1208
+ onClick: o[2] || (o[2] = (t) => r.$emit("actionClicked", r.item))
1209
1209
  }, u(r.item.action), 1)) : b("", !0)
1210
1210
  ]),
1211
1211
  _: 1
@@ -1227,10 +1227,10 @@ const kt = { class: "flex justify-between" }, _t = {
1227
1227
  },
1228
1228
  emits: ["alertEvent"],
1229
1229
  setup(p, { emit: i }) {
1230
- const o = i, a = (r) => {
1231
- o("alertEvent", r.event);
1230
+ const l = i, a = (r) => {
1231
+ l("alertEvent", r.event);
1232
1232
  };
1233
- return (r, l) => r.loading ? (s(), n("div", bs, l[0] || (l[0] = [
1233
+ return (r, o) => r.loading ? (s(), n("div", bs, o[0] || (o[0] = [
1234
1234
  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)
1235
1235
  ]))) : (s(), n("div", gs, [
1236
1236
  e("div", {
@@ -1325,17 +1325,17 @@ const kt = { class: "flex justify-between" }, _t = {
1325
1325
  },
1326
1326
  emits: ["breadCrumbClicked"],
1327
1327
  setup(p, { emit: i }) {
1328
- return (o, a) => o.loading ? (s(), n("div", Ms, a[0] || (a[0] = [
1328
+ return (l, a) => l.loading ? (s(), n("div", Ms, a[0] || (a[0] = [
1329
1329
  e("div", { class: "animate-pulse rounded-full bg-gray-200 dark:bg-gray-300 h-4 w-4 mr-4" }, null, -1),
1330
1330
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/5 mr-4" }, null, -1),
1331
1331
  e("div", { class: "animate-pulse rounded-full bg-gray-200 dark:bg-gray-300 h-4 w-4 mr-4" }, null, -1),
1332
1332
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/5" }, null, -1)
1333
1333
  ]))) : (s(), n("nav", xs, [
1334
1334
  e("ol", ks, [
1335
- (s(!0), n(k, null, $(o.pages, (r, l) => (s(), n("li", { key: l }, [
1336
- l === 0 ? (s(), n("div", _s, [
1335
+ (s(!0), n(k, null, $(l.pages, (r, o) => (s(), n("li", { key: o }, [
1336
+ o === 0 ? (s(), n("div", _s, [
1337
1337
  e("p", {
1338
- onClick: (t) => o.$emit("breadCrumbClicked", r.routeName),
1338
+ onClick: (t) => l.$emit("breadCrumbClicked", r.routeName),
1339
1339
  class: "flex flex-row items-center justify-center text-indigo-600 hover:text-indigo-800 cursor-pointer"
1340
1340
  }, [
1341
1341
  g(c(vt), {
@@ -1350,7 +1350,7 @@ const kt = { class: "flex justify-between" }, _t = {
1350
1350
  "aria-hidden": "true"
1351
1351
  }),
1352
1352
  e("span", {
1353
- onClick: (t) => o.$emit("breadCrumbClicked", r.routeName),
1353
+ onClick: (t) => l.$emit("breadCrumbClicked", r.routeName),
1354
1354
  class: h(["cursor-pointer ml-4 text-xs text-gray-400 hover:text-gray-500", { "text-indigo-600 hover:text-indigo-800": !r.current }]),
1355
1355
  "aria-current": "page"
1356
1356
  }, u(r.name), 11, Bs)
@@ -1377,34 +1377,34 @@ const kt = { class: "flex justify-between" }, _t = {
1377
1377
  },
1378
1378
  emits: ["cardSelected"],
1379
1379
  setup(p, { emit: i }) {
1380
- return (o, a) => {
1380
+ return (l, a) => {
1381
1381
  var r;
1382
- return o.loading ? (s(), n("div", Ns, a[1] || (a[1] = [
1382
+ return l.loading ? (s(), n("div", Ns, a[1] || (a[1] = [
1383
1383
  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)
1384
1384
  ]))) : (s(), n("div", {
1385
1385
  key: 0,
1386
1386
  class: "rounded-lg bg-white shadow p-6 cursor-pointer",
1387
- onClick: a[0] || (a[0] = (l) => o.$emit("cardSelected", { id: o.id, name: o.name, type: o.type, tags: o.tags }))
1387
+ onClick: a[0] || (a[0] = (o) => l.$emit("cardSelected", { id: l.id, name: l.name, type: l.type, tags: l.tags }))
1388
1388
  }, [
1389
1389
  e("div", js, [
1390
1390
  e("img", {
1391
1391
  class: "w-16 h-16 rounded-full mb-4 sm:mb-0 sm:mr-4",
1392
- src: o.logo
1392
+ src: l.logo
1393
1393
  }, null, 8, Ds),
1394
1394
  e("div", null, [
1395
- e("h4", Ts, u(o.name), 1),
1396
- e("p", zs, u(o.type), 1)
1395
+ e("h4", Ts, u(l.name), 1),
1396
+ e("p", zs, u(l.type), 1)
1397
1397
  ])
1398
1398
  ]),
1399
- o.tags && ((r = o.tags) == null ? void 0 : r.length) > 0 ? (s(), n("div", Ls, [
1400
- (s(!0), n(k, null, $(o.tags, (l) => (s(), _(R, {
1399
+ l.tags && ((r = l.tags) == null ? void 0 : r.length) > 0 ? (s(), n("div", Ls, [
1400
+ (s(!0), n(k, null, $(l.tags, (o) => (s(), _(R, {
1401
1401
  class: "mb-1 mr-1",
1402
- key: l.name,
1403
- color: l.color,
1404
- loading: o.loading
1402
+ key: o.name,
1403
+ color: o.color,
1404
+ loading: l.loading
1405
1405
  }, {
1406
1406
  default: v(() => [
1407
- D(u(l.name), 1)
1407
+ D(u(o.name), 1)
1408
1408
  ]),
1409
1409
  _: 2
1410
1410
  }, 1032, ["color", "loading"]))), 128))
@@ -1422,16 +1422,16 @@ const kt = { class: "flex justify-between" }, _t = {
1422
1422
  },
1423
1423
  emits: ["filterSelected"],
1424
1424
  setup(p, { emit: i }) {
1425
- const o = i, a = p, r = (t) => {
1426
- l.value.forEach((m) => {
1425
+ const l = i, a = p, r = (t) => {
1426
+ o.value.forEach((m) => {
1427
1427
  m.active = m.value === t.value;
1428
- }), o("filterSelected", t);
1429
- }, l = A(a.items);
1428
+ }), l("filterSelected", t);
1429
+ }, o = A(a.items);
1430
1430
  return (t, m) => (s(), _(be, {
1431
1431
  loading: t.loading,
1432
1432
  onOptionSelected: m[0] || (m[0] = (d) => r(d)),
1433
1433
  position: t.position,
1434
- items: l.value,
1434
+ items: o.value,
1435
1435
  label: t.label
1436
1436
  }, null, 8, ["loading", "position", "items", "label"]));
1437
1437
  }
@@ -1450,12 +1450,12 @@ const kt = { class: "flex justify-between" }, _t = {
1450
1450
  },
1451
1451
  emits: ["modalAction"],
1452
1452
  setup(p, { emit: i }) {
1453
- const o = p, a = i, r = (l) => {
1454
- a("modalAction", { modal: o.modalName, action: l });
1453
+ const l = p, a = i, r = (o) => {
1454
+ a("modalAction", { modal: l.modalName, action: o });
1455
1455
  };
1456
- return (l, t) => (s(), _(c(pe), {
1456
+ return (o, t) => (s(), _(c(pe), {
1457
1457
  as: "template",
1458
- show: l.open
1458
+ show: o.open
1459
1459
  }, {
1460
1460
  default: v(() => [
1461
1461
  g(c(me), {
@@ -1502,42 +1502,42 @@ const kt = { class: "flex justify-between" }, _t = {
1502
1502
  g(j, {
1503
1503
  icon: c(E),
1504
1504
  "aria-hidden": "true",
1505
- loading: l.loading
1505
+ loading: o.loading
1506
1506
  }, null, 8, ["icon", "loading"])
1507
1507
  ])
1508
1508
  ]),
1509
1509
  e("div", Fs, [
1510
1510
  e("div", {
1511
1511
  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", {
1512
- "bg-red-100": l.type === "danger",
1513
- "bg-green-100": l.type === "success",
1514
- "bg-indigo-100": l.type === "default",
1515
- "bg-yellow-100": l.type === "warning"
1512
+ "bg-red-100": o.type === "danger",
1513
+ "bg-green-100": o.type === "success",
1514
+ "bg-indigo-100": o.type === "default",
1515
+ "bg-yellow-100": o.type === "warning"
1516
1516
  }])
1517
1517
  }, [
1518
1518
  C(g(c(E), {
1519
1519
  class: "h-6 w-6 text-red-600",
1520
1520
  "aria-hidden": "true"
1521
1521
  }, null, 512), [
1522
- [S, l.type === "danger"]
1522
+ [S, o.type === "danger"]
1523
1523
  ]),
1524
1524
  C(g(c(ne), {
1525
1525
  class: "h-6 w-6 text-green-600",
1526
1526
  "aria-hidden": "true"
1527
1527
  }, null, 512), [
1528
- [S, l.type === "success"]
1528
+ [S, o.type === "success"]
1529
1529
  ]),
1530
1530
  C(g(c(q), {
1531
1531
  class: "h-6 w-6 text-yellow-600",
1532
1532
  "aria-hidden": "true"
1533
1533
  }, null, 512), [
1534
- [S, l.type === "warning"]
1534
+ [S, o.type === "warning"]
1535
1535
  ]),
1536
1536
  C(g(c(ht), {
1537
1537
  class: "h-6 w-6 text-indigo-600",
1538
1538
  "aria-hidden": "true"
1539
1539
  }, null, 512), [
1540
- [S, l.type === "default"]
1540
+ [S, o.type === "default"]
1541
1541
  ])
1542
1542
  ], 2),
1543
1543
  e("div", Is, [
@@ -1546,15 +1546,15 @@ const kt = { class: "flex justify-between" }, _t = {
1546
1546
  class: "text-lg font-medium leading-6 text-gray-900"
1547
1547
  }, {
1548
1548
  default: v(() => [
1549
- D(u(l.title), 1)
1549
+ D(u(o.title), 1)
1550
1550
  ]),
1551
1551
  _: 1
1552
1552
  }),
1553
1553
  e("div", Rs, [
1554
- F(l.$slots, "default")
1554
+ F(o.$slots, "default")
1555
1555
  ]),
1556
- l.actions ? (s(), n("div", qs, [
1557
- (s(!0), n(k, null, $(l.actions, (m, d) => (s(), n("button", {
1556
+ o.actions ? (s(), n("div", qs, [
1557
+ (s(!0), n(k, null, $(o.actions, (m, d) => (s(), n("button", {
1558
1558
  key: d,
1559
1559
  type: "button",
1560
1560
  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",
@@ -1581,7 +1581,7 @@ const kt = { class: "flex justify-between" }, _t = {
1581
1581
  }), Us = { class: "w-full flex flex-col items-center space-y-4 sm:items-end" }, Es = {
1582
1582
  key: 0,
1583
1583
  class: "max-w-sm w-full bg-white shadow-lg rounded-lg pointer-events-auto ring-1 ring-black ring-opacity-5 overflow-hidden"
1584
- }, Zs = { class: "p-4" }, Js = { class: "flex items-start" }, Gs = { class: "flex-shrink-0 mt-0.5" }, Ws = { class: "ml-3 w-0 flex-1 pt-0.5" }, Qs = { class: "font-medium text-gray-900" }, Ks = { class: "mt-1 text-sm text-gray-500" }, Xs = { class: "ml-4 flex-shrink-0 flex" }, eo = /* @__PURE__ */ B({
1584
+ }, Zs = { class: "p-4" }, Js = { class: "flex items-start" }, Gs = { class: "flex-shrink-0 mt-0.5" }, Ws = { class: "ml-3 w-0 flex-1 pt-0.5" }, Qs = { class: "font-medium text-gray-900" }, Ks = { class: "mt-1 text-sm text-gray-500" }, Xs = { class: "ml-4 flex-shrink-0 flex" }, el = /* @__PURE__ */ B({
1585
1585
  __name: "uiNotification",
1586
1586
  props: {
1587
1587
  type: { default: "info" },
@@ -1592,8 +1592,8 @@ const kt = { class: "flex justify-between" }, _t = {
1592
1592
  },
1593
1593
  emits: ["closeNotification"],
1594
1594
  setup(p, { emit: i }) {
1595
- const o = p, a = P(() => o.show);
1596
- return (r, l) => (s(), n("div", {
1595
+ const l = p, a = O(() => l.show);
1596
+ return (r, o) => (s(), n("div", {
1597
1597
  "aria-live": "assertive",
1598
1598
  class: h([{ fixed: r.fixed }, "inset-0 flex items-end px-4 py-6 pointer-events-none sm:p-6 sm:items-start"])
1599
1599
  }, [
@@ -1644,9 +1644,9 @@ const kt = { class: "flex justify-between" }, _t = {
1644
1644
  e("button", {
1645
1645
  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",
1646
1646
  type: "button",
1647
- onClick: l[0] || (l[0] = (t) => r.$emit("closeNotification"))
1647
+ onClick: o[0] || (o[0] = (t) => r.$emit("closeNotification"))
1648
1648
  }, [
1649
- l[1] || (l[1] = e("span", { class: "sr-only" }, "Close", -1)),
1649
+ o[1] || (o[1] = e("span", { class: "sr-only" }, "Close", -1)),
1650
1650
  g(c(E), {
1651
1651
  "aria-hidden": "true",
1652
1652
  class: "h-5 w-5"
@@ -1662,35 +1662,35 @@ const kt = { class: "flex justify-between" }, _t = {
1662
1662
  ])
1663
1663
  ], 2));
1664
1664
  }
1665
- }), to = {
1665
+ }), tl = {
1666
1666
  key: 0,
1667
1667
  role: "list",
1668
1668
  class: "divide-y divide-gray-100"
1669
- }, so = { class: "min-w-0" }, oo = { class: "flex items-start gap-x-3" }, lo = { class: "text-sm font-semibold leading-6 text-gray-900" }, ro = { class: "mt-1 flex items-center gap-x-2 text-xs leading-5 text-gray-500" }, no = { class: "truncate" }, ao = { class: "flex flex-none items-center gap-x-4" }, io = ["href"], uo = { class: "sr-only" }, co = {
1669
+ }, sl = { class: "min-w-0" }, ll = { class: "flex items-start gap-x-3" }, ol = { class: "text-sm font-semibold leading-6 text-gray-900" }, rl = { class: "mt-1 flex items-center gap-x-2 text-xs leading-5 text-gray-500" }, nl = { class: "truncate" }, al = { class: "flex flex-none items-center gap-x-4" }, il = ["href"], dl = { class: "sr-only" }, ul = {
1670
1670
  key: 1,
1671
1671
  class: "divide-y divide-gray-100 animate-pulse"
1672
- }, go = /* @__PURE__ */ B({
1672
+ }, cl = /* @__PURE__ */ B({
1673
1673
  __name: "uiTaskList",
1674
1674
  props: {
1675
1675
  tasks: {},
1676
1676
  loading: { type: Boolean, default: !0 }
1677
1677
  },
1678
1678
  setup(p) {
1679
- return (i, o) => i.loading ? (s(), n("ul", co, [
1679
+ return (i, l) => i.loading ? (s(), n("ul", ul, [
1680
1680
  (s(!0), n(k, null, $(i.tasks, (a) => (s(), n("li", {
1681
1681
  key: a.id,
1682
1682
  class: "flex items-center justify-between gap-x-6 py-5"
1683
- }, o[0] || (o[0] = [
1683
+ }, l[0] || (l[0] = [
1684
1684
  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)
1685
1685
  ])))), 128))
1686
- ])) : (s(), n("ul", to, [
1686
+ ])) : (s(), n("ul", tl, [
1687
1687
  (s(!0), n(k, null, $(i.tasks, (a) => (s(), n("li", {
1688
1688
  key: a.id,
1689
1689
  class: "flex items-center justify-between gap-x-6 py-5"
1690
1690
  }, [
1691
- e("div", so, [
1692
- e("div", oo, [
1693
- e("p", lo, u(a.name), 1),
1691
+ e("div", sl, [
1692
+ e("div", ll, [
1693
+ e("p", ol, u(a.name), 1),
1694
1694
  e("p", {
1695
1695
  class: h([
1696
1696
  {
@@ -1702,52 +1702,52 @@ const kt = { class: "flex justify-between" }, _t = {
1702
1702
  ])
1703
1703
  }, u(a.statusLiteral), 3)
1704
1704
  ]),
1705
- e("div", ro, [
1706
- e("p", no, u(a.description), 1)
1705
+ e("div", rl, [
1706
+ e("p", nl, u(a.description), 1)
1707
1707
  ])
1708
1708
  ]),
1709
- e("div", ao, [
1709
+ e("div", al, [
1710
1710
  e("a", {
1711
1711
  href: a.href,
1712
1712
  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"
1713
1713
  }, [
1714
1714
  D(u(a.action), 1),
1715
- e("span", uo, ", " + u(a.name), 1)
1716
- ], 8, io)
1715
+ e("span", dl, ", " + u(a.name), 1)
1716
+ ], 8, il)
1717
1717
  ])
1718
1718
  ]))), 128))
1719
1719
  ]));
1720
1720
  }
1721
1721
  });
1722
1722
  var ee = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1723
- function po(p) {
1723
+ function gl(p) {
1724
1724
  return p && p.__esModule && Object.prototype.hasOwnProperty.call(p, "default") ? p.default : p;
1725
1725
  }
1726
- var mo = { exports: {} };
1726
+ var pl = { exports: {} };
1727
1727
  (function(p, i) {
1728
- (function(o, a) {
1728
+ (function(l, a) {
1729
1729
  p.exports = a(L);
1730
- })(ee, function(o) {
1730
+ })(ee, function(l) {
1731
1731
  function a(t) {
1732
1732
  return t && typeof t == "object" && "default" in t ? t : { default: t };
1733
1733
  }
1734
- 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) {
1734
+ 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) {
1735
1735
  return t + "º";
1736
1736
  } };
1737
- return r.default.locale(l, null, !0), l;
1737
+ return r.default.locale(o, null, !0), o;
1738
1738
  });
1739
- })(mo);
1740
- var fo = { exports: {} };
1739
+ })(pl);
1740
+ var ml = { exports: {} };
1741
1741
  (function(p, i) {
1742
- (function(o, a) {
1742
+ (function(l, a) {
1743
1743
  p.exports = a(L);
1744
- })(ee, function(o) {
1744
+ })(ee, function(l) {
1745
1745
  function a(d) {
1746
1746
  return d && typeof d == "object" && "default" in d ? d : { default: d };
1747
1747
  }
1748
- 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"] };
1748
+ 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"] };
1749
1749
  function t(d, f, y) {
1750
- var w = l[y];
1750
+ var w = o[y];
1751
1751
  return Array.isArray(w) && (w = w[f ? 0 : 1]), w.replace("%d", d);
1752
1752
  }
1753
1753
  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) {
@@ -1755,43 +1755,49 @@ var fo = { exports: {} };
1755
1755
  }, weekStart: 1, yearStart: 4, formats: { LTS: "HH:mm:ss", LT: "HH:mm", L: "DD.MM.YYYY", LL: "D. MMMM YYYY", LLL: "D. MMMM YYYY HH:mm", LLLL: "dddd, D. MMMM YYYY HH:mm" }, relativeTime: { future: "in %s", past: "vor %s", s: t, m: t, mm: t, h: t, hh: t, d: t, dd: t, M: t, MM: t, y: t, yy: t } };
1756
1756
  return r.default.locale(m, null, !0), m;
1757
1757
  });
1758
- })(fo);
1759
- var yo = { exports: {} };
1758
+ })(ml);
1759
+ var fl = { exports: {} };
1760
1760
  (function(p, i) {
1761
- (function(o, a) {
1761
+ (function(l, a) {
1762
1762
  p.exports = a();
1763
1763
  })(ee, function() {
1764
- 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) {
1765
- var a = ["th", "st", "nd", "rd"], r = o % 100;
1766
- return "[" + o + (a[(r - 20) % 10] || a[r] || a[0]) + "]";
1764
+ 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) {
1765
+ var a = ["th", "st", "nd", "rd"], r = l % 100;
1766
+ return "[" + l + (a[(r - 20) % 10] || a[r] || a[0]) + "]";
1767
1767
  } };
1768
1768
  });
1769
- })(yo);
1770
- var ho = { exports: {} };
1769
+ })(fl);
1770
+ var yl = { exports: {} };
1771
1771
  (function(p, i) {
1772
- (function(o, a) {
1772
+ (function(l, a) {
1773
1773
  p.exports = a(L);
1774
- })(ee, function(o) {
1774
+ })(ee, function(l) {
1775
1775
  function a(t) {
1776
1776
  return t && typeof t == "object" && "default" in t ? t : { default: t };
1777
1777
  }
1778
- 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) {
1778
+ 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) {
1779
1779
  return "" + t + (t === 1 ? "er" : "");
1780
1780
  } };
1781
- return r.default.locale(l, null, !0), l;
1781
+ return r.default.locale(o, null, !0), o;
1782
1782
  });
1783
- })(ho);
1783
+ })(yl);
1784
1784
  const te = (p, i) => {
1785
- const o = p.__vccOpts || p;
1785
+ const l = p.__vccOpts || p;
1786
1786
  for (const [a, r] of i)
1787
- o[a] = r;
1788
- return o;
1789
- }, vo = {
1787
+ l[a] = r;
1788
+ return l;
1789
+ }, hl = {
1790
1790
  name: "dateSelector",
1791
1791
  components: { ChevronLeftIcon: Pe, ChevronRightIcon: X },
1792
1792
  computed: {
1793
1793
  currentDate() {
1794
- return L(this.selectedDate).locale("es").format("DD MMM. YYYY");
1794
+ return L(this.selectedDate).locale("es");
1795
+ },
1796
+ today() {
1797
+ return L(/* @__PURE__ */ new Date()).locale("es");
1798
+ },
1799
+ formatedDate() {
1800
+ return L(this.currentDate).locale("es").format("DD MMM YYYY");
1795
1801
  }
1796
1802
  },
1797
1803
  props: {
@@ -1802,55 +1808,68 @@ const te = (p, i) => {
1802
1808
  },
1803
1809
  methods: {
1804
1810
  selectDate(p, i) {
1805
- let o;
1806
- i === "previous" && (p === "day" && (o = L(this.selectedDate).subtract(1, "day")), p === "month" && (o = L(this.selectedDate).subtract(1, "month")), p === "year" && (o = L(this.selectedDate).subtract(1, "year"))), 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);
1811
+ let l;
1812
+ if (i === "previous") {
1813
+ if (this.currentDate <= this.today) return;
1814
+ p === "day" && (l = L(this.currentDate).subtract(1, "day")), p === "month" && (l = L(this.currentDate).subtract(1, "month")), p === "year" && (l = L(this.currentDate).subtract(1, "year")), l <= this.today && (l = this.currentDate = this.today);
1815
+ }
1816
+ i === "next" && (p === "day" && (l = L(this.selectedDate).add(1, "day")), p === "month" && (l = L(this.selectedDate).add(1, "month")), p === "year" && (l = L(this.selectedDate).add(1, "year"))), this.$emit("dateSelected", l);
1807
1817
  }
1808
1818
  }
1809
- }, bo = { class: "dateSelector flex items-center text-white flex-row" }, wo = { class: "pagination flex items-center my-1 md:my-0" }, xo = { class: "date mx-4 font-bold text-center text-indigo-600 select-none uppercase" }, ko = { class: "pagination flex items-center my-1 sm:my-0" };
1810
- function _o(p, i, o, a, r, l) {
1819
+ }, vl = { class: "dateSelector flex items-center text-white flex-row" }, bl = { class: "pagination flex items-center my-1 md:my-0" }, wl = { class: "date mx-4 font-bold text-center text-indigo-600 select-none uppercase" }, xl = { class: "pagination flex items-center my-1 sm:my-0" };
1820
+ function kl(p, i, l, a, r, o) {
1811
1821
  const t = ke("ChevronLeftIcon"), m = ke("ChevronRightIcon");
1812
- return s(), n("div", bo, [
1813
- e("div", wo, [
1822
+ return s(), n("div", vl, [
1823
+ e("div", bl, [
1814
1824
  e("div", {
1815
- class: "previousYear flex items-center cursor-pointer bg-indigo-600 p-1 rounded mx-0.5 hover:bg-indigo-800 shadow-sm",
1816
- onClick: i[0] || (i[0] = (d) => l.selectDate("year", "previous"))
1825
+ class: h([{
1826
+ "bg-indigo-600 hover:bg-indigo-800 cursor-pointer": o.currentDate > o.today,
1827
+ "bg-indigo-300": o.currentDate <= o.today
1828
+ }, "previousYear flex items-center p-1 rounded mx-0.5 shadow-sm"]),
1829
+ onClick: i[0] || (i[0] = (d) => o.selectDate("year", "previous"))
1817
1830
  }, [
1818
1831
  g(t, { class: "h-4" }),
1819
1832
  g(t, { class: "h-4 -ml-3" }),
1820
1833
  g(t, { class: "h-4 -ml-3" })
1821
- ]),
1834
+ ], 2),
1822
1835
  e("div", {
1823
- class: "previousMonth flex items-center cursor-pointer bg-indigo-600 p-1 rounded mx-0.5 hover:bg-indigo-800 shadow-sm",
1824
- onClick: i[1] || (i[1] = (d) => l.selectDate("month", "previous"))
1836
+ class: h([{
1837
+ "bg-indigo-600 hover:bg-indigo-800 cursor-pointer": o.currentDate > o.today,
1838
+ "bg-indigo-300": o.currentDate <= o.today
1839
+ }, "previousYear flex items-center p-1 rounded mx-0.5 shadow-sm"]),
1840
+ onClick: i[1] || (i[1] = (d) => o.selectDate("month", "previous"))
1825
1841
  }, [
1826
1842
  g(t, { class: "h-4" }),
1827
1843
  g(t, { class: "h-4 -ml-3" })
1828
- ]),
1844
+ ], 2),
1829
1845
  e("div", {
1830
- class: "previousDay flex items-center cursor-pointer bg-indigo-600 p-1 rounded mx-0.5 hover:bg-indigo-800 shadow-sm",
1831
- onClick: i[2] || (i[2] = (d) => l.selectDate("day", "previous"))
1846
+ class: h([{
1847
+ "bg-indigo-600 hover:bg-indigo-800 cursor-pointer": o.currentDate > o.today,
1848
+ "bg-indigo-300": o.currentDate <= o.today
1849
+ }, "previousYear flex items-center p-1 rounded mx-0.5 shadow-sm"]),
1850
+ onClick: i[2] || (i[2] = (d) => o.selectDate("day", "previous"))
1832
1851
  }, [
1833
1852
  g(t, { class: "h-4" })
1834
- ])
1853
+ ], 2)
1835
1854
  ]),
1836
- e("div", xo, u(l.currentDate), 1),
1837
- e("div", ko, [
1855
+ e("div", wl, u(o.formatedDate), 1),
1856
+ e("div", xl, [
1838
1857
  e("div", {
1839
1858
  class: "previousDay flex items-center cursor-pointer bg-indigo-600 p-1 rounded mx-0.5 hover:bg-indigo-800 shadow-sm",
1840
- onClick: i[3] || (i[3] = (d) => l.selectDate("day", "next"))
1859
+ onClick: i[3] || (i[3] = (d) => o.selectDate("day", "next"))
1841
1860
  }, [
1842
1861
  g(m, { class: "h-4" })
1843
1862
  ]),
1844
1863
  e("div", {
1845
1864
  class: "previousMonth flex items-center cursor-pointer bg-indigo-600 p-1 rounded mx-0.5 hover:bg-indigo-800 shadow-sm",
1846
- onClick: i[4] || (i[4] = (d) => l.selectDate("month", "next"))
1865
+ onClick: i[4] || (i[4] = (d) => o.selectDate("month", "next"))
1847
1866
  }, [
1848
1867
  g(m, { class: "h-4" }),
1849
1868
  g(m, { class: "h-4 -ml-3" })
1850
1869
  ]),
1851
1870
  e("div", {
1852
1871
  class: "previousYear flex items-center cursor-pointer bg-indigo-600 p-1 rounded mx-0.5 hover:bg-indigo-800 shadow-sm",
1853
- onClick: i[5] || (i[5] = (d) => l.selectDate("year", "next"))
1872
+ onClick: i[5] || (i[5] = (d) => o.selectDate("year", "next"))
1854
1873
  }, [
1855
1874
  g(m, { class: "h-4" }),
1856
1875
  g(m, { class: "h-4 -ml-3" }),
@@ -1859,16 +1878,16 @@ function _o(p, i, o, a, r, l) {
1859
1878
  ])
1860
1879
  ]);
1861
1880
  }
1862
- const $o = /* @__PURE__ */ te(vo, [["render", _o]]), Co = {
1881
+ const _l = /* @__PURE__ */ te(hl, [["render", kl]]), $l = {
1863
1882
  name: "SkeletonTable"
1864
- }, Bo = { class: "px-4 sm:px-6 lg:px-8 animate-pulse" }, Mo = { class: "flow-root" }, So = { class: "-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8" }, jo = { class: "inline-block min-w-full py-2 align-middle px-1" }, Do = { class: "overflow-hidden shadow ring-1 ring-black ring-opacity-5 sm:rounded-lg" }, To = { class: "min-w-full divide-y divide-gray-300" }, zo = { class: "divide-y divide-gray-200 bg-white" };
1865
- function Lo(p, i, o, a, r, l) {
1866
- return s(), n("div", Bo, [
1867
- e("div", Mo, [
1868
- e("div", So, [
1869
- e("div", jo, [
1870
- e("div", Do, [
1871
- e("table", To, [
1883
+ }, Cl = { class: "px-4 sm:px-6 lg:px-8 animate-pulse" }, Bl = { class: "flow-root" }, Ml = { class: "-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8" }, Sl = { class: "inline-block min-w-full py-2 align-middle px-1" }, jl = { class: "overflow-hidden shadow ring-1 ring-black ring-opacity-5 sm:rounded-lg" }, Dl = { class: "min-w-full divide-y divide-gray-300" }, Tl = { class: "divide-y divide-gray-200 bg-white" };
1884
+ function zl(p, i, l, a, r, o) {
1885
+ return s(), n("div", Cl, [
1886
+ e("div", Bl, [
1887
+ e("div", Ml, [
1888
+ e("div", Sl, [
1889
+ e("div", jl, [
1890
+ e("table", Dl, [
1872
1891
  i[1] || (i[1] = e("thead", { class: "bg-gray-50" }, [
1873
1892
  e("tr", null, [
1874
1893
  e("th", {
@@ -1905,7 +1924,7 @@ function Lo(p, i, o, a, r, l) {
1905
1924
  ])
1906
1925
  ])
1907
1926
  ], -1)),
1908
- e("tbody", zo, [
1927
+ e("tbody", Tl, [
1909
1928
  (s(), n(k, null, $(10, (t) => e("tr", { key: t }, i[0] || (i[0] = [
1910
1929
  e("td", { class: "whitespace-nowrap py-4 pl-4 pr-3 text-sm font-medium text-gray-900 sm:pl-6" }, [
1911
1930
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-6" })
@@ -1940,29 +1959,29 @@ function Lo(p, i, o, a, r, l) {
1940
1959
  ])
1941
1960
  ]);
1942
1961
  }
1943
- const Fe = /* @__PURE__ */ te(Co, [["render", Lo]]);
1962
+ const Fe = /* @__PURE__ */ te($l, [["render", zl]]);
1944
1963
  var Ie = { exports: {} };
1945
1964
  (function(p, i) {
1946
- (function(o, a) {
1965
+ (function(l, a) {
1947
1966
  p.exports = a();
1948
1967
  })(ee, function() {
1949
- return function(o, a, r) {
1968
+ return function(l, a, r) {
1950
1969
  a.prototype.isToday = function() {
1951
- var l = "YYYY-MM-DD", t = r();
1952
- return this.format(l) === t.format(l);
1970
+ var o = "YYYY-MM-DD", t = r();
1971
+ return this.format(o) === t.format(o);
1953
1972
  };
1954
1973
  };
1955
1974
  });
1956
1975
  })(Ie);
1957
- var No = Ie.exports;
1958
- const Ao = /* @__PURE__ */ po(No), Yo = {
1976
+ var Ll = Ie.exports;
1977
+ const Nl = /* @__PURE__ */ gl(Ll), Al = {
1959
1978
  name: "calendarDay",
1960
1979
  props: {
1961
1980
  day: Object
1962
1981
  },
1963
1982
  computed: {
1964
1983
  currentDay() {
1965
- return L.extend(Ao), {
1984
+ return L.extend(Nl), {
1966
1985
  dayName: L(this.day).locale("es").format("ddd"),
1967
1986
  day: L(this.day).locale("es").format("DD"),
1968
1987
  month: L(this.day).locale("es").format("MMM."),
@@ -1971,23 +1990,23 @@ const Ao = /* @__PURE__ */ po(No), Yo = {
1971
1990
  };
1972
1991
  }
1973
1992
  }
1974
- }, Po = { class: "text-xs" }, Oo = { class: "font-bold text-lg" }, Vo = { class: "text-xs font-medium" };
1975
- function Fo(p, i, o, a, r, l) {
1993
+ }, Yl = { class: "text-xs" }, Pl = { class: "font-bold text-lg" }, Ol = { class: "text-xs font-medium" };
1994
+ function Vl(p, i, l, a, r, o) {
1976
1995
  return s(), n("div", {
1977
1996
  class: h([
1978
1997
  "day select-none text-center",
1979
1998
  {
1980
- "bg-indigo-200 text-white": l.currentDay.isWeekend,
1981
- "bg-[#0ff] text-white": l.currentDay.isToday
1999
+ "bg-indigo-200 text-white": o.currentDay.isWeekend,
2000
+ "bg-[#0ff] text-white": o.currentDay.isToday
1982
2001
  }
1983
2002
  ])
1984
2003
  }, [
1985
- e("p", Po, u(l.currentDay.dayName), 1),
1986
- e("p", Oo, u(l.currentDay.day), 1),
1987
- e("p", Vo, u(l.currentDay.month), 1)
2004
+ e("p", Yl, u(o.currentDay.dayName), 1),
2005
+ e("p", Pl, u(o.currentDay.day), 1),
2006
+ e("p", Ol, u(o.currentDay.month), 1)
1988
2007
  ], 2);
1989
2008
  }
1990
- const Io = /* @__PURE__ */ te(Yo, [["render", Fo]]), Ro = {
2009
+ const Fl = /* @__PURE__ */ te(Al, [["render", Vl]]), Il = {
1991
2010
  name: "dayPrice",
1992
2011
  props: {
1993
2012
  currency: String,
@@ -2006,73 +2025,73 @@ const Io = /* @__PURE__ */ te(Yo, [["render", Fo]]), Ro = {
2006
2025
  };
2007
2026
  }
2008
2027
  }
2009
- }, qo = { class: "priceDay" };
2010
- function Ho(p, i, o, a, r, l) {
2011
- return s(), n("div", qo, [
2028
+ }, Rl = { class: "priceDay" };
2029
+ function ql(p, i, l, a, r, o) {
2030
+ return s(), n("div", Rl, [
2012
2031
  e("div", {
2013
2032
  class: h([
2014
2033
  {
2015
- "bg-indigo-200 text-white": l.currentDay.isWeekend,
2016
- "bg-green-300 text-white": o.price.price > o.basePrice,
2017
- "bg-yellow-300 text-white": o.price.price < o.basePrice
2034
+ "bg-indigo-200 text-white": o.currentDay.isWeekend,
2035
+ "bg-green-300 text-white": l.price.price > l.basePrice,
2036
+ "bg-yellow-300 text-white": l.price.price < l.basePrice
2018
2037
  },
2019
2038
  "select-none text-center rounded-lg p-1"
2020
2039
  ])
2021
- }, u(l.currentDay.price) + u(o.currency), 3)
2040
+ }, u(o.currentDay.price) + u(l.currency), 3)
2022
2041
  ]);
2023
2042
  }
2024
- const oe = /* @__PURE__ */ te(Ro, [["render", Ho]]), Uo = {
2043
+ const le = /* @__PURE__ */ te(Il, [["render", ql]]), Hl = {
2025
2044
  key: 0,
2026
2045
  class: "px-4 sm:px-6 lg:px-8"
2027
- }, Eo = { class: "flow-root" }, Zo = { class: "overflow-x-auto sm:-mx-6 lg:-mx-8 shadow ring-1 ring-black ring-opacity-5 sm:rounded-lg" }, Jo = { class: "inline-block min-w-full align-middle" }, Go = { class: "min-w-full text-sm" }, Wo = { class: "bg-white" }, Qo = {
2046
+ }, Ul = { class: "flow-root" }, El = { class: "overflow-x-auto sm:-mx-6 lg:-mx-8 shadow ring-1 ring-black ring-opacity-5 sm:rounded-lg" }, Zl = { class: "inline-block min-w-full align-middle" }, Jl = { class: "min-w-full text-sm" }, Gl = { class: "bg-white" }, Wl = {
2028
2047
  colspan: "6",
2029
2048
  scope: "colgroup",
2030
2049
  class: "bg-gray-50 py-2 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 sm:pl-3"
2031
- }, Ko = {
2050
+ }, Ql = {
2032
2051
  colspan: "20",
2033
2052
  scope: "colgroup",
2034
2053
  class: "bg-gray-200 py-2 pl-4 pr-3 text-left font-semibold text-gray-900"
2035
- }, Xo = { key: 0 }, el = {
2054
+ }, Kl = { key: 0 }, Xl = {
2036
2055
  colspan: "6",
2037
2056
  class: "pl-4"
2038
- }, tl = { key: 1 }, sl = {
2057
+ }, eo = { key: 1 }, to = {
2039
2058
  colspan: "6",
2040
2059
  class: "pl-4"
2041
- }, ol = { key: 2 }, ll = {
2060
+ }, so = { key: 2 }, lo = {
2042
2061
  colspan: "6",
2043
2062
  class: "pl-4"
2044
- }, rl = {
2063
+ }, oo = {
2045
2064
  colspan: "20",
2046
2065
  scope: "colgroup",
2047
2066
  class: "bg-gray-200 py-2 pl-4 pr-3 text-left font-semibold text-gray-900 relative"
2048
- }, nl = {
2067
+ }, ro = {
2049
2068
  key: 0,
2050
2069
  class: "absolute top-0 left-12 flex h-12 items-center space-x-3 sm:left-48 bg-white shadow rounded px-4 py-1 z-10"
2051
- }, al = ["onClick"], il = {
2070
+ }, no = ["onClick"], ao = {
2052
2071
  colspan: "2",
2053
2072
  scope: "colgroup",
2054
2073
  class: "relative bg-gray-100 py-3.5 pl-4 pr-3 text-left font-semibold text-gray-900"
2055
- }, dl = ["checked", "indeterminate"], ul = { class: "pl-6" }, cl = {
2074
+ }, io = ["checked", "indeterminate"], uo = { class: "pl-6" }, co = {
2056
2075
  colspan: "2",
2057
2076
  scope: "colgroup",
2058
2077
  class: "bg-gray-100 py-2 pl-4 pr-3 text-left font-semibold text-gray-900"
2059
- }, gl = {
2078
+ }, go = {
2060
2079
  colspan: "2",
2061
2080
  scope: "colgroup",
2062
2081
  class: "bg-gray-100 py-2 pl-4 pr-3 text-left font-semibold text-gray-900"
2063
- }, pl = {
2082
+ }, po = {
2064
2083
  colspan: "2",
2065
2084
  class: "relative py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 sm:pl-6"
2066
- }, ml = {
2085
+ }, mo = {
2067
2086
  key: 0,
2068
2087
  class: "absolute inset-y-0 left-0 w-0.5 bg-indigo-600"
2069
- }, fl = ["value"], yl = { class: "pl-6" }, hl = {
2088
+ }, fo = ["value"], yo = { class: "pl-6" }, ho = {
2070
2089
  colspan: "2",
2071
2090
  class: "pl-4"
2072
- }, vl = {
2091
+ }, vo = {
2073
2092
  colspan: "2",
2074
2093
  class: "pl-4"
2075
- }, bl = /* @__PURE__ */ B({
2094
+ }, bo = /* @__PURE__ */ B({
2076
2095
  __name: "uiPriceCalendar",
2077
2096
  props: {
2078
2097
  loading: { type: Boolean },
@@ -2085,47 +2104,47 @@ const oe = /* @__PURE__ */ te(Ro, [["render", Ho]]), Uo = {
2085
2104
  },
2086
2105
  emits: ["dateChanged", "changeCategoryBulkPrices", "changeCategorySelectionPrice", "changeCategoryUpgradePrice", "changeRoomPrice", "tableAction"],
2087
2106
  setup(p, { emit: i }) {
2088
- const o = p, a = i, r = A(/* @__PURE__ */ new Date()), l = A(/* @__PURE__ */ new Date()), t = A([]), m = P(() => {
2107
+ const l = p, a = i, r = A(/* @__PURE__ */ new Date()), o = A(/* @__PURE__ */ new Date()), t = A([]), m = O(() => {
2089
2108
  let x = [];
2090
- for (let O = 0; O < 14; O++)
2091
- x.push(L(l.value).add(O, "day"));
2109
+ for (let Y = 0; Y < 14; Y++)
2110
+ x.push(L(o.value).add(Y, "day"));
2092
2111
  return x;
2093
- }), d = P(() => t.value.length > 0 && t.value.length < o.rooms.length), f = (x) => {
2094
- L(x).isBefore(r.value) || (l.value = x, a("dateChanged", l.value));
2112
+ }), d = O(() => t.value.length > 0 && t.value.length < l.rooms.length), f = (x) => {
2113
+ L(x).isBefore(r.value) || (o.value = x, a("dateChanged", o.value));
2095
2114
  }, y = (x) => {
2096
- let O = o.category.selectionPrices.find((N) => L(N.date).isSame(x.date));
2097
- return O ? O.price : x.price;
2115
+ let Y = l.category.selectionPrices.find((N) => L(N.date).isSame(x.date));
2116
+ return Y ? Y.price : x.price;
2098
2117
  }, w = (x) => {
2099
- t.value = x.target.checked ? o.rooms.map((O) => O.id) : [];
2100
- }, M = () => a("changeCategoryBulkPrices"), Y = (x) => a("changeCategorySelectionPrice", x), I = (x) => a("changeCategoryUpgradePrice", x), T = (x) => a("tableAction", x), H = (x) => a("changeRoomPrice", x);
2101
- return (x, O) => {
2118
+ t.value = x.target.checked ? l.rooms.map((Y) => Y.id) : [];
2119
+ }, M = () => a("changeCategoryBulkPrices"), P = (x) => a("changeCategorySelectionPrice", x), I = (x) => a("changeCategoryUpgradePrice", x), z = (x) => a("tableAction", x), H = (x, Y, N) => a("changeRoomPrice", { price: x, roomId: Y, roomName: N });
2120
+ return (x, Y) => {
2102
2121
  var N, se;
2103
- return x.loading ? (s(), _(Fe, { key: 1 })) : (s(), n("div", Uo, [
2104
- e("div", Eo, [
2105
- e("div", Zo, [
2106
- e("div", Jo, [
2107
- e("table", Go, [
2108
- e("tbody", Wo, [
2122
+ return x.loading ? (s(), _(Fe, { key: 1 })) : (s(), n("div", Hl, [
2123
+ e("div", Ul, [
2124
+ e("div", El, [
2125
+ e("div", Zl, [
2126
+ e("table", Jl, [
2127
+ e("tbody", Gl, [
2109
2128
  e("tr", null, [
2110
- e("th", Qo, [
2111
- g($o, {
2112
- selectedDate: l.value,
2113
- onDateSelected: O[0] || (O[0] = (z) => f(z))
2129
+ e("th", Wl, [
2130
+ g(_l, {
2131
+ selectedDate: o.value,
2132
+ onDateSelected: Y[0] || (Y[0] = (T) => f(T))
2114
2133
  }, null, 8, ["selectedDate"])
2115
2134
  ]),
2116
- (s(!0), n(k, null, $(m.value, (z, V) => (s(), n("th", {
2135
+ (s(!0), n(k, null, $(m.value, (T, V) => (s(), n("th", {
2117
2136
  scope: "col",
2118
2137
  key: V,
2119
2138
  class: "text-sm font-semibold text-gray-900 p-0"
2120
2139
  }, [
2121
- g(Io, {
2140
+ g(Fl, {
2122
2141
  class: "border-l border-gray-200 px-6 py-3",
2123
- day: z
2142
+ day: T
2124
2143
  }, null, 8, ["day"])
2125
2144
  ]))), 128))
2126
2145
  ]),
2127
2146
  e("tr", null, [
2128
- e("th", Ko, [
2147
+ e("th", Ql, [
2129
2148
  e("span", null, u(x.literals.category) + " " + u(x.category.name), 1),
2130
2149
  g(G, {
2131
2150
  loading: x.loading,
@@ -2140,107 +2159,107 @@ const oe = /* @__PURE__ */ te(Ro, [["render", Ho]]), Uo = {
2140
2159
  }, 8, ["loading"])
2141
2160
  ])
2142
2161
  ]),
2143
- x.type === "discounts" ? (s(), n("tr", Xo, [
2144
- e("td", el, u(x.literals.pricesDiscount), 1),
2145
- (s(!0), n(k, null, $(x.category.selectionPrices, (z, V) => (s(), n("td", {
2162
+ x.type === "discounts" ? (s(), n("tr", Kl, [
2163
+ e("td", Xl, u(x.literals.pricesDiscount), 1),
2164
+ (s(!0), n(k, null, $(x.category.selectionPrices, (T, V) => (s(), n("td", {
2146
2165
  key: V,
2147
2166
  class: "p-0"
2148
2167
  }, [
2149
- g(oe, {
2150
- onClick: (K) => Y(z),
2168
+ g(le, {
2169
+ onClick: (K) => P(T),
2151
2170
  class: "border-l border-gray-200 px-6 py-3 text-indigo-600 hover:text-indigo-400 font-bold cursor-pointer",
2152
- price: z,
2171
+ price: T,
2153
2172
  currency: x.currency.symbol,
2154
2173
  isBasePrice: !0
2155
2174
  }, null, 8, ["onClick", "price", "currency"])
2156
2175
  ]))), 128))
2157
2176
  ])) : b("", !0),
2158
- x.type === "prices" ? (s(), n("tr", tl, [
2159
- e("td", sl, u(x.literals.pricesSelection), 1),
2160
- (s(!0), n(k, null, $(x.category.selectionPrices, (z, V) => (s(), n("td", {
2177
+ x.type === "prices" ? (s(), n("tr", eo, [
2178
+ e("td", to, u(x.literals.pricesSelection), 1),
2179
+ (s(!0), n(k, null, $(x.category.selectionPrices, (T, V) => (s(), n("td", {
2161
2180
  key: V,
2162
2181
  class: "p-0"
2163
2182
  }, [
2164
- g(oe, {
2165
- onClick: (K) => Y(z),
2183
+ g(le, {
2184
+ onClick: (K) => P(T),
2166
2185
  class: "border-l border-gray-200 px-6 py-3 text-indigo-600 hover:text-indigo-400 font-bold cursor-pointer",
2167
- price: z,
2186
+ price: T,
2168
2187
  currency: x.currency.symbol,
2169
2188
  isBasePrice: !0
2170
2189
  }, null, 8, ["onClick", "price", "currency"])
2171
2190
  ]))), 128))
2172
2191
  ])) : b("", !0),
2173
- x.type === "prices" ? (s(), n("tr", ol, [
2174
- e("td", ll, u(x.literals.pricesUpgrade), 1),
2175
- (s(!0), n(k, null, $(x.category.upgradePrices, (z, V) => (s(), n("td", {
2192
+ x.type === "prices" ? (s(), n("tr", so, [
2193
+ e("td", lo, u(x.literals.pricesUpgrade), 1),
2194
+ (s(!0), n(k, null, $(x.category.upgradePrices, (T, V) => (s(), n("td", {
2176
2195
  key: V,
2177
2196
  class: "p-0"
2178
2197
  }, [
2179
- g(oe, {
2180
- onClick: (K) => I(z),
2198
+ g(le, {
2199
+ onClick: (K) => I(T),
2181
2200
  class: "border-l border-gray-200 px-6 py-3 text-indigo-600 hover:text-indigo-400 font-bold cursor-pointer bg-gray-100",
2182
- price: z,
2201
+ price: T,
2183
2202
  currency: x.currency.symbol,
2184
2203
  isBasePrice: !0
2185
2204
  }, null, 8, ["onClick", "price", "currency"])
2186
2205
  ]))), 128))
2187
2206
  ])) : b("", !0),
2188
2207
  e("tr", null, [
2189
- e("th", rl, [
2190
- ((N = t.value) == null ? void 0 : N.length) > 0 && ((se = x.actions) == null ? void 0 : se.length) > 0 ? (s(), n("div", nl, [
2191
- (s(!0), n(k, null, $(x.actions, (z, V) => (s(), n("button", {
2192
- onClick: (K) => T({ action: z.id, items: t.value }),
2208
+ e("th", oo, [
2209
+ ((N = t.value) == null ? void 0 : N.length) > 0 && ((se = x.actions) == null ? void 0 : se.length) > 0 ? (s(), n("div", ro, [
2210
+ (s(!0), n(k, null, $(x.actions, (T, V) => (s(), n("button", {
2211
+ onClick: (K) => z({ action: T.id, items: t.value }),
2193
2212
  key: V,
2194
2213
  type: "button",
2195
2214
  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"
2196
- }, u(z.name), 9, al))), 128))
2215
+ }, u(T.name), 9, no))), 128))
2197
2216
  ])) : b("", !0),
2198
2217
  e("span", null, u(x.literals.pricesSelection), 1)
2199
2218
  ])
2200
2219
  ]),
2201
2220
  e("tr", null, [
2202
- e("th", il, [
2221
+ e("th", ao, [
2203
2222
  e("input", {
2204
2223
  type: "checkbox",
2205
2224
  class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-600",
2206
2225
  checked: d.value || t.value.length === x.rooms.length,
2207
2226
  indeterminate: d.value,
2208
2227
  onChange: w
2209
- }, null, 40, dl),
2210
- e("span", ul, u(x.literals.room), 1)
2228
+ }, null, 40, io),
2229
+ e("span", uo, u(x.literals.room), 1)
2211
2230
  ]),
2212
- e("th", cl, u(x.literals.building), 1),
2213
- e("th", gl, u(x.literals.floor), 1),
2214
- O[2] || (O[2] = e("th", {
2231
+ e("th", co, u(x.literals.building), 1),
2232
+ e("th", go, u(x.literals.floor), 1),
2233
+ Y[2] || (Y[2] = e("th", {
2215
2234
  colspan: "14",
2216
2235
  scope: "colgroup",
2217
2236
  class: "bg-gray-100 py-2 pl-4 pr-3 text-left font-semibold text-gray-900"
2218
2237
  }, null, -1))
2219
2238
  ]),
2220
- (s(!0), n(k, null, $(x.rooms, (z) => (s(), n("tr", {
2221
- key: z.name,
2239
+ (s(!0), n(k, null, $(x.rooms, (T) => (s(), n("tr", {
2240
+ key: T.name,
2222
2241
  class: h([{ "even:bg-gray-100": x.type === "prices", "odd:bg-gray-100": x.type === "discounts" }])
2223
2242
  }, [
2224
- e("td", pl, [
2225
- t.value.length > 0 ? (s(), n("div", ml)) : b("", !0),
2243
+ e("td", po, [
2244
+ t.value.length > 0 ? (s(), n("div", mo)) : b("", !0),
2226
2245
  C(e("input", {
2227
2246
  type: "checkbox",
2228
2247
  class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-600",
2229
- value: z.name,
2230
- "onUpdate:modelValue": O[1] || (O[1] = (V) => t.value = V)
2231
- }, null, 8, fl), [
2248
+ value: T.name,
2249
+ "onUpdate:modelValue": Y[1] || (Y[1] = (V) => t.value = V)
2250
+ }, null, 8, fo), [
2232
2251
  [Ce, t.value]
2233
2252
  ]),
2234
- e("span", yl, u(z.name), 1)
2253
+ e("span", yo, u(T.name), 1)
2235
2254
  ]),
2236
- e("td", hl, u(z.building), 1),
2237
- e("td", vl, u(z.floor), 1),
2238
- (s(!0), n(k, null, $(z.selectionPrices, (V, K) => (s(), n("td", {
2255
+ e("td", ho, u(T.building), 1),
2256
+ e("td", vo, u(T.floor), 1),
2257
+ (s(!0), n(k, null, $(T.selectionPrices, (V, K) => (s(), n("td", {
2239
2258
  class: "p-0",
2240
2259
  key: K
2241
2260
  }, [
2242
- g(oe, {
2243
- onClick: (Hi) => H(V),
2261
+ g(le, {
2262
+ onClick: (Hi) => H(V, T.id, T.name),
2244
2263
  class: "border-l border-gray-200 px-6 py-3 text-indigo-600 hover:text-indigo-400 cursor-pointer",
2245
2264
  price: V,
2246
2265
  currency: x.currency.symbol,
@@ -2256,39 +2275,39 @@ const oe = /* @__PURE__ */ te(Ro, [["render", Ho]]), Uo = {
2256
2275
  ]));
2257
2276
  };
2258
2277
  }
2259
- }), wl = { class: "chart-selector flex flex-row items-center justify-center" }, we = /* @__PURE__ */ B({
2278
+ }), wo = { class: "chart-selector flex flex-row items-center justify-center" }, we = /* @__PURE__ */ B({
2260
2279
  __name: "RangeSelector",
2261
2280
  props: { range: { type: String } },
2262
2281
  emits: ["rangeSelected"],
2263
2282
  setup(p, { emit: i }) {
2264
- const o = i, a = p;
2265
- let r = P(() => a.range);
2266
- const l = (t) => {
2267
- r = t, o("rangeSelected", t);
2283
+ const l = i, a = p;
2284
+ let r = O(() => a.range);
2285
+ const o = (t) => {
2286
+ r = t, l("rangeSelected", t);
2268
2287
  };
2269
- return (t, m) => (s(), n("ul", wl, [
2288
+ return (t, m) => (s(), n("ul", wo, [
2270
2289
  e("li", {
2271
2290
  class: h({ selected: c(r) === "24h" }),
2272
- onClick: m[0] || (m[0] = (d) => l("24h"))
2291
+ onClick: m[0] || (m[0] = (d) => o("24h"))
2273
2292
  }, " 24H ", 2),
2274
2293
  e("li", {
2275
2294
  class: h({ selected: c(r) === "7d" }),
2276
- onClick: m[1] || (m[1] = (d) => l("7d"))
2295
+ onClick: m[1] || (m[1] = (d) => o("7d"))
2277
2296
  }, "7D", 2),
2278
2297
  e("li", {
2279
2298
  class: h({ selected: c(r) === "1m" }),
2280
- onClick: m[2] || (m[2] = (d) => l("1m"))
2299
+ onClick: m[2] || (m[2] = (d) => o("1m"))
2281
2300
  }, "1M", 2),
2282
2301
  e("li", {
2283
2302
  class: h({ selected: c(r) === "3m" }),
2284
- onClick: m[3] || (m[3] = (d) => l("3m"))
2303
+ onClick: m[3] || (m[3] = (d) => o("3m"))
2285
2304
  }, "3M", 2)
2286
2305
  ]));
2287
2306
  }
2288
- }), xl = { class: "chart-header flex flex-row items-center w-full justify-between" }, kl = { class: "text-sm font-medium text-gray-500 truncate mr-8" }, _l = {
2307
+ }), xo = { class: "chart-header flex flex-row items-center w-full justify-between" }, ko = { class: "text-sm font-medium text-gray-500 truncate mr-8" }, _o = {
2289
2308
  key: 0,
2290
2309
  class: "flex items-center gap-x-2 grow"
2291
- }, $l = { class: "self-center ml-2" }, Cl = { class: "self-center ml-2" }, Bl = { class: "self-center ml-2" }, Ml = { class: "chart-content relative" }, Sl = { 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" }, Dl = /* @__PURE__ */ B({
2310
+ }, $o = { class: "self-center ml-2" }, Co = { class: "self-center ml-2" }, Bo = { class: "self-center ml-2" }, Mo = { class: "chart-content relative" }, So = { class: "h-full w-full flex items-center justify-center flex-col" }, jo = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, Do = /* @__PURE__ */ B({
2292
2311
  __name: "uiChart",
2293
2312
  props: {
2294
2313
  labels: {},
@@ -2309,8 +2328,8 @@ const oe = /* @__PURE__ */ te(Ro, [["render", Ho]]), Uo = {
2309
2328
  },
2310
2329
  emits: ["selectedRange", "chartUpdated", "dataPointSelection"],
2311
2330
  setup(p, { emit: i }) {
2312
- const o = i, a = p;
2313
- let l = {
2331
+ const l = i, a = p;
2332
+ let o = {
2314
2333
  chart: {
2315
2334
  toolbar: {
2316
2335
  show: !1
@@ -2321,7 +2340,7 @@ const oe = /* @__PURE__ */ te(Ro, [["render", Ho]]), Uo = {
2321
2340
  },
2322
2341
  colors: function() {
2323
2342
  return a.isNps ? [
2324
- function({ value: M, seriesIndex: Y, dataPointIndex: I, w: T }) {
2343
+ function({ value: M, seriesIndex: P, dataPointIndex: I, w: z }) {
2325
2344
  if (I <= 5) return "#F87171";
2326
2345
  if (I > 5 && I <= 7) return "#eab308";
2327
2346
  if (I >= 8) return "#84cc16";
@@ -2350,7 +2369,7 @@ const oe = /* @__PURE__ */ te(Ro, [["render", Ho]]), Uo = {
2350
2369
  }
2351
2370
  }
2352
2371
  };
2353
- a.annotations && (l.annotations = {
2372
+ a.annotations && (o.annotations = {
2354
2373
  yaxis: [
2355
2374
  {
2356
2375
  y: a.annotations.high,
@@ -2365,19 +2384,19 @@ const oe = /* @__PURE__ */ te(Ro, [["render", Ho]]), Uo = {
2365
2384
  }
2366
2385
  }
2367
2386
  ]
2368
- }), a.type === "area" && (l.tooltip = { intersect: !0, shared: !1 });
2369
- const t = () => (l.chart.stacked = a.stacked, { ...l, ...a.options, plotOptions: { bar: { horizontal: a.horizontal } } }), m = (M) => {
2370
- o("selectedRange", { range: M, chartId: a.id });
2371
- }, d = P(() => a.series), f = P(() => t()), y = () => o("chartUpdated"), w = (M, Y, I) => {
2372
- o("dataPointSelection", { id: a.id, chartContext: Y, config: I, event: M });
2387
+ }), a.type === "area" && (o.tooltip = { intersect: !0, shared: !1 });
2388
+ const t = () => (o.chart.stacked = a.stacked, { ...o, ...a.options, plotOptions: { bar: { horizontal: a.horizontal } } }), m = (M) => {
2389
+ l("selectedRange", { range: M, chartId: a.id });
2390
+ }, d = O(() => a.series), f = O(() => t()), y = () => l("chartUpdated"), w = (M, P, I) => {
2391
+ l("dataPointSelection", { id: a.id, chartContext: P, config: I, event: M });
2373
2392
  };
2374
- return (M, Y) => (s(), n(k, null, [
2393
+ return (M, P) => (s(), n(k, null, [
2375
2394
  C(e("div", {
2376
2395
  class: h(["h-[" + M.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow"])
2377
2396
  }, [
2378
- e("div", xl, [
2379
- e("div", kl, u(M.title), 1),
2380
- M.isNps && M.npsLiterals ? (s(), n("div", _l, [
2397
+ e("div", xo, [
2398
+ e("div", ko, u(M.title), 1),
2399
+ M.isNps && M.npsLiterals ? (s(), n("div", _o, [
2381
2400
  g(R, {
2382
2401
  size: "small",
2383
2402
  color: "red",
@@ -2389,8 +2408,8 @@ const oe = /* @__PURE__ */ te(Ro, [["render", Ho]]), Uo = {
2389
2408
  loading: !1,
2390
2409
  color: "red"
2391
2410
  }, null, 8, ["icon"]),
2392
- Y[0] || (Y[0] = D()),
2393
- e("span", $l, u(M.npsLiterals.unhappy), 1)
2411
+ P[0] || (P[0] = D()),
2412
+ e("span", $o, u(M.npsLiterals.unhappy), 1)
2394
2413
  ]),
2395
2414
  _: 1
2396
2415
  }),
@@ -2405,8 +2424,8 @@ const oe = /* @__PURE__ */ te(Ro, [["render", Ho]]), Uo = {
2405
2424
  loading: !1,
2406
2425
  color: "yellow"
2407
2426
  }, null, 8, ["icon"]),
2408
- Y[1] || (Y[1] = D()),
2409
- e("span", Cl, u(M.npsLiterals.neutral), 1)
2427
+ P[1] || (P[1] = D()),
2428
+ e("span", Co, u(M.npsLiterals.neutral), 1)
2410
2429
  ]),
2411
2430
  _: 1
2412
2431
  }),
@@ -2421,8 +2440,8 @@ const oe = /* @__PURE__ */ te(Ro, [["render", Ho]]), Uo = {
2421
2440
  loading: !1,
2422
2441
  color: "green"
2423
2442
  }, null, 8, ["icon"]),
2424
- Y[2] || (Y[2] = D()),
2425
- e("span", Bl, u(M.npsLiterals.happy), 1)
2443
+ P[2] || (P[2] = D()),
2444
+ e("span", Bo, u(M.npsLiterals.happy), 1)
2426
2445
  ]),
2427
2446
  _: 1
2428
2447
  })
@@ -2432,7 +2451,7 @@ const oe = /* @__PURE__ */ te(Ro, [["render", Ho]]), Uo = {
2432
2451
  onRangeSelected: m
2433
2452
  }, null, 8, ["range"])
2434
2453
  ]),
2435
- C(e("div", Ml, [
2454
+ C(e("div", Mo, [
2436
2455
  g(c(ve), {
2437
2456
  type: M.type,
2438
2457
  series: d.value,
@@ -2446,21 +2465,21 @@ const oe = /* @__PURE__ */ te(Ro, [["render", Ho]]), Uo = {
2446
2465
  ], 512), [
2447
2466
  [S, !M.empty]
2448
2467
  ]),
2449
- C(e("div", Sl, [
2468
+ C(e("div", So, [
2450
2469
  g(j, {
2451
2470
  icon: c(q),
2452
2471
  color: "gray",
2453
2472
  loading: !1,
2454
2473
  size: "huge"
2455
2474
  }, null, 8, ["icon"]),
2456
- Y[3] || (Y[3] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1))
2475
+ P[3] || (P[3] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1))
2457
2476
  ], 512), [
2458
2477
  [S, M.empty]
2459
2478
  ])
2460
2479
  ], 2), [
2461
2480
  [S, !M.loading]
2462
2481
  ]),
2463
- C(e("div", jl, Y[4] || (Y[4] = [
2482
+ C(e("div", jo, P[4] || (P[4] = [
2464
2483
  e("div", {
2465
2484
  role: "status",
2466
2485
  class: "w-full animate-pulse h-full flex flex-col"
@@ -2491,11 +2510,11 @@ const oe = /* @__PURE__ */ te(Ro, [["render", Ho]]), Uo = {
2491
2510
  ])
2492
2511
  ], 64));
2493
2512
  }
2494
- }), Tl = {
2513
+ }), To = {
2495
2514
  name: "uiFooter"
2496
- }, zl = { class: "bg-white" };
2497
- function Ll(p, i, o, a, r, l) {
2498
- return s(), n("footer", zl, i[0] || (i[0] = [
2515
+ }, zo = { class: "bg-white" };
2516
+ function Lo(p, i, l, a, r, o) {
2517
+ return s(), n("footer", zo, i[0] || (i[0] = [
2499
2518
  e("div", { class: "mx-auto py-6 px-4 sm:px-6 md:flex md:items-center md:justify-between lg:px-8" }, [
2500
2519
  e("div", { class: "mt-8 md:mt-0 md:order-1" }, [
2501
2520
  e("p", { class: "text-center text-base text-gray-400" }, "© Made by Hotelinking.")
@@ -2503,7 +2522,7 @@ function Ll(p, i, o, a, r, l) {
2503
2522
  ], -1)
2504
2523
  ]));
2505
2524
  }
2506
- const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
2525
+ const No = /* @__PURE__ */ te(To, [["render", Lo]]), Ao = /* @__PURE__ */ B({
2507
2526
  __name: "uiLoadingScreen",
2508
2527
  props: {
2509
2528
  title: {},
@@ -2511,13 +2530,13 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
2511
2530
  fixed: { type: Boolean, default: !0 }
2512
2531
  },
2513
2532
  setup(p) {
2514
- return (i, o) => (s(), n("div", {
2533
+ return (i, l) => (s(), n("div", {
2515
2534
  class: h([
2516
2535
  { fixed: i.fixed },
2517
2536
  "load-screen h-full w-full top-0 left-0 z-[100] flex flex-col items-center justify-center bg-gray-50"
2518
2537
  ])
2519
2538
  }, [
2520
- o[0] || (o[0] = e("div", { class: "spinner h-12 w-12 mb-6" }, [
2539
+ l[0] || (l[0] = e("div", { class: "spinner h-12 w-12 mb-6" }, [
2521
2540
  e("img", {
2522
2541
  src: "https://images.hotelinking.com/ui/loader.gif",
2523
2542
  alt: "loading animation"
@@ -2531,22 +2550,22 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
2531
2550
  ])
2532
2551
  ], 2));
2533
2552
  }
2534
- }), Yl = {
2553
+ }), Yo = {
2535
2554
  key: 0,
2536
2555
  class: "py-6 flex items-center justify-between"
2537
- }, Pl = { class: "flex-1 flex justify-between sm:hidden" }, Ol = {
2556
+ }, Po = { class: "flex-1 flex justify-between sm:hidden" }, Oo = {
2538
2557
  href: "#",
2539
2558
  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"
2540
- }, Vl = {
2559
+ }, Vo = {
2541
2560
  href: "#",
2542
2561
  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"
2543
- }, Fl = { class: "hidden sm:flex-1 sm:flex sm:items-center sm:justify-between" }, Il = { class: "text-sm text-gray-700" }, Rl = { class: "font-bold" }, ql = { class: "font-bold" }, Hl = {
2562
+ }, Fo = { class: "hidden sm:flex-1 sm:flex sm:items-center sm:justify-between" }, Io = { class: "text-sm text-gray-700" }, Ro = { class: "font-bold" }, qo = { class: "font-bold" }, Ho = {
2544
2563
  class: "relative z-0 inline-flex rounded-md shadow-sm -space-x-px",
2545
2564
  "aria-label": "Pagination"
2546
- }, Ul = { class: "sr-only" }, El = ["onClick"], Zl = { class: "sr-only" }, Jl = {
2565
+ }, Uo = { class: "sr-only" }, Eo = ["onClick"], Zo = { class: "sr-only" }, Jo = {
2547
2566
  key: 1,
2548
2567
  class: "py-6 flex flex-row justify-between items-center animate-pulse"
2549
- }, Gl = /* @__PURE__ */ B({
2568
+ }, Go = /* @__PURE__ */ B({
2550
2569
  __name: "uiPagination",
2551
2570
  props: {
2552
2571
  current: {},
@@ -2555,44 +2574,44 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
2555
2574
  },
2556
2575
  emits: ["changePage"],
2557
2576
  setup(p, { emit: i }) {
2558
- const o = i, a = p, r = A(3), l = P(
2577
+ const l = i, a = p, r = A(3), o = O(
2559
2578
  () => Math.max(1, Number(a.current) - Number(r.value))
2560
- ), t = P(
2579
+ ), t = O(
2561
2580
  () => Math.min(Number(a.current) + Number(r.value), Number(a.total))
2562
- ), m = P(() => {
2581
+ ), m = O(() => {
2563
2582
  let d = [];
2564
- for (let f = Number(l.value); f <= Number(t.value); f++)
2583
+ for (let f = Number(o.value); f <= Number(t.value); f++)
2565
2584
  d.push(f);
2566
2585
  return d;
2567
2586
  });
2568
- return (d, f) => d.loading ? (s(), n("div", Jl, f[2] || (f[2] = [
2587
+ return (d, f) => d.loading ? (s(), n("div", Jo, f[2] || (f[2] = [
2569
2588
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/5" }, null, -1),
2570
2589
  e("div", { class: "h-10 w-32 bg-gray-200 rounded dark:bg-gray-300" }, null, -1)
2571
- ]))) : (s(), n("div", Yl, [
2572
- e("div", Pl, [
2573
- e("a", Ol, [
2590
+ ]))) : (s(), n("div", Yo, [
2591
+ e("div", Po, [
2592
+ e("a", Oo, [
2574
2593
  F(d.$slots, "previous")
2575
2594
  ]),
2576
- e("a", Vl, [
2595
+ e("a", Vo, [
2577
2596
  F(d.$slots, "next")
2578
2597
  ])
2579
2598
  ]),
2580
- e("div", Fl, [
2599
+ e("div", Fo, [
2581
2600
  e("div", null, [
2582
- e("p", Il, [
2601
+ e("p", Io, [
2583
2602
  F(d.$slots, "showing"),
2584
- e("span", Rl, u(d.current + " "), 1),
2603
+ e("span", Ro, u(d.current + " "), 1),
2585
2604
  F(d.$slots, "of"),
2586
- e("span", ql, u(d.total), 1)
2605
+ e("span", qo, u(d.total), 1)
2587
2606
  ])
2588
2607
  ]),
2589
2608
  e("div", null, [
2590
- e("nav", Hl, [
2609
+ e("nav", Ho, [
2591
2610
  C(e("button", {
2592
- onClick: f[0] || (f[0] = (y) => o("changePage", d.current - 1)),
2611
+ onClick: f[0] || (f[0] = (y) => l("changePage", d.current - 1)),
2593
2612
  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"
2594
2613
  }, [
2595
- e("span", Ul, [
2614
+ e("span", Uo, [
2596
2615
  F(d.$slots, "previous")
2597
2616
  ]),
2598
2617
  g(c(Pe), {
@@ -2603,18 +2622,18 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
2603
2622
  [S, d.current !== 1]
2604
2623
  ]),
2605
2624
  (s(!0), n(k, null, $(m.value, (y) => (s(), n("button", {
2606
- onClick: (w) => o("changePage", y),
2625
+ onClick: (w) => l("changePage", y),
2607
2626
  key: y,
2608
2627
  "aria-current": "page",
2609
2628
  class: h([[
2610
2629
  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"
2611
2630
  ], "relative inline-flex items-center px-4 py-2 border text-sm font-medium"])
2612
- }, u(y), 11, El))), 128)),
2631
+ }, u(y), 11, Eo))), 128)),
2613
2632
  C(e("button", {
2614
- onClick: f[1] || (f[1] = (y) => o("changePage", d.current + 1)),
2633
+ onClick: f[1] || (f[1] = (y) => l("changePage", d.current + 1)),
2615
2634
  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"
2616
2635
  }, [
2617
- e("span", Zl, [
2636
+ e("span", Zo, [
2618
2637
  F(d.$slots, "next")
2619
2638
  ]),
2620
2639
  g(c(X), {
@@ -2629,16 +2648,16 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
2629
2648
  ])
2630
2649
  ]));
2631
2650
  }
2632
- }), Wl = { class: "hidden md:flex md:flex-col sticky md:inset-y-0" }, Ql = { class: "flex flex-col flex-grow overflow-y-auto" }, Kl = { class: "grow flex flex-col" }, Xl = {
2651
+ }), Wo = { class: "hidden md:flex md:flex-col sticky md:inset-y-0" }, Qo = { class: "flex flex-col flex-grow overflow-y-auto" }, Ko = { class: "grow flex flex-col" }, Xo = {
2633
2652
  class: "flex-1 space-y-1",
2634
2653
  "aria-label": "Sidebar"
2635
2654
  }, er = { key: 0 }, tr = ["onClick"], sr = {
2636
2655
  key: 1,
2637
2656
  class: "text-left"
2638
- }, or = {
2657
+ }, lr = {
2639
2658
  key: 1,
2640
2659
  class: "flex-1 text-left"
2641
- }, lr = {
2660
+ }, or = {
2642
2661
  key: 2,
2643
2662
  class: "flex-1"
2644
2663
  }, rr = {
@@ -2658,40 +2677,40 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
2658
2677
  },
2659
2678
  emits: ["sideBarClick"],
2660
2679
  setup(p, { emit: i }) {
2661
- const o = i;
2662
- return (a, r) => (s(), n("div", Wl, [
2663
- e("div", Ql, [
2664
- e("div", Kl, [
2665
- e("nav", Xl, [
2666
- a.loading ? (s(), n(k, { key: 1 }, $(5, (l) => e("div", ar, r[1] || (r[1] = [
2680
+ const l = i;
2681
+ return (a, r) => (s(), n("div", Wo, [
2682
+ e("div", Qo, [
2683
+ e("div", Ko, [
2684
+ e("nav", Xo, [
2685
+ a.loading ? (s(), n(k, { key: 1 }, $(5, (o) => e("div", ar, r[1] || (r[1] = [
2667
2686
  e("div", { class: "w-6 h-6 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 mr-4" }, null, -1),
2668
2687
  e("div", { class: "h-3 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 grow" }, null, -1)
2669
- ]))), 64)) : (s(!0), n(k, { key: 0 }, $(a.navigation, (l) => (s(), n(k, {
2670
- key: l.name
2688
+ ]))), 64)) : (s(!0), n(k, { key: 0 }, $(a.navigation, (o) => (s(), n(k, {
2689
+ key: o.name
2671
2690
  }, [
2672
- l.children ? (s(), _(c(ye), {
2691
+ o.children ? (s(), _(c(ye), {
2673
2692
  key: 1,
2674
2693
  as: "div",
2675
2694
  class: "space-y-1"
2676
2695
  }, {
2677
2696
  default: v(({ open: t }) => [
2678
2697
  g(c(U), {
2679
- 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"])
2698
+ class: h([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"])
2680
2699
  }, {
2681
2700
  default: v(() => [
2682
- l.icon ? (s(), _(j, {
2701
+ o.icon ? (s(), _(j, {
2683
2702
  key: 0,
2684
2703
  loading: a.loading,
2685
- icon: l.icon,
2704
+ icon: o.icon,
2686
2705
  class: h([
2687
- l.current ? "text-white" : "text-gray-400 group-hover:text-gray-500",
2706
+ o.current ? "text-white" : "text-gray-400 group-hover:text-gray-500",
2688
2707
  "mr-3 flex-shrink-0 h-6 w-6"
2689
2708
  ]),
2690
2709
  "aria-hidden": "true"
2691
2710
  }, null, 8, ["loading", "icon", "class"])) : b("", !0),
2692
- a.loading ? (s(), n("div", lr, r[0] || (r[0] = [
2711
+ a.loading ? (s(), n("div", or, r[0] || (r[0] = [
2693
2712
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, null, -1)
2694
- ]))) : (s(), n("span", or, u(l.name), 1)),
2713
+ ]))) : (s(), n("span", lr, u(o.name), 1)),
2695
2714
  g(c(X), {
2696
2715
  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"])
2697
2716
  }, null, 8, ["class"])
@@ -2700,8 +2719,8 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
2700
2719
  }, 1032, ["class"]),
2701
2720
  g(c(he), { class: "space-y-1" }, {
2702
2721
  default: v(() => [
2703
- (s(!0), n(k, null, $(l.children, (m) => (s(), _(c(U), {
2704
- onClick: (d) => o("sideBarClick", m.id),
2722
+ (s(!0), n(k, null, $(o.children, (m) => (s(), _(c(U), {
2723
+ onClick: (d) => l("sideBarClick", m.id),
2705
2724
  key: m.name,
2706
2725
  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"])
2707
2726
  }, {
@@ -2717,23 +2736,23 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
2717
2736
  _: 2
2718
2737
  }, 1024)) : (s(), n("div", er, [
2719
2738
  e("button", {
2720
- onClick: (t) => o("sideBarClick", l.id),
2739
+ onClick: (t) => l("sideBarClick", o.id),
2721
2740
  class: h([
2722
- l.current ? "bg-indigo-600 text-white" : "text-gray-600 hover:bg-gray-50 hover:text-gray-900",
2741
+ o.current ? "bg-indigo-600 text-white" : "text-gray-600 hover:bg-gray-50 hover:text-gray-900",
2723
2742
  "group w-full flex items-center pl-2 py-2 text-sm font-medium rounded-md"
2724
2743
  ])
2725
2744
  }, [
2726
- l.icon ? (s(), _(j, {
2745
+ o.icon ? (s(), _(j, {
2727
2746
  key: 0,
2728
2747
  loading: a.loading,
2729
- icon: l.icon,
2748
+ icon: o.icon,
2730
2749
  class: h([
2731
- l.current ? "text-white" : "text-gray-400 group-hover:text-gray-500",
2750
+ o.current ? "text-white" : "text-gray-400 group-hover:text-gray-500",
2732
2751
  "mr-3 flex-shrink-0 h-6 w-6"
2733
2752
  ]),
2734
2753
  "aria-hidden": "true"
2735
2754
  }, null, 8, ["loading", "icon", "class"])) : b("", !0),
2736
- a.loading ? b("", !0) : (s(), n("span", sr, u(l.name), 1))
2755
+ a.loading ? b("", !0) : (s(), n("span", sr, u(o.name), 1))
2737
2756
  ], 10, tr)
2738
2757
  ]))
2739
2758
  ], 64))), 128))
@@ -2753,13 +2772,13 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
2753
2772
  },
2754
2773
  emits: ["statClick"],
2755
2774
  setup(p, { emit: i }) {
2756
- return (o, a) => o.loading ? (s(), n("div", yr, [
2775
+ return (l, a) => l.loading ? (s(), n("div", yr, [
2757
2776
  e("div", hr, [
2758
2777
  e("dt", null, [
2759
2778
  e("div", vr, [
2760
2779
  g(j, {
2761
- loading: o.loading,
2762
- icon: o.item.icon,
2780
+ loading: l.loading,
2781
+ icon: l.item.icon,
2763
2782
  class: "h-6 w-6 text-white",
2764
2783
  "aria-hidden": "true"
2765
2784
  }, null, 8, ["loading", "icon"])
@@ -2774,62 +2793,62 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
2774
2793
  ])
2775
2794
  ])) : (s(), n("div", dr, [
2776
2795
  e("div", {
2777
- 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 }])
2796
+ class: h(["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 }])
2778
2797
  }, [
2779
2798
  e("dt", null, [
2780
2799
  e("div", {
2781
2800
  class: h(["absolute rounded-md p-3", {
2782
- "bg-indigo-500": !o.item.color,
2783
- "bg-green-500": o.item.color === "green",
2784
- "bg-red-500": o.item.color === "red",
2785
- "bg-yellow-500": o.item.color === "yellow",
2786
- "bg-cyan-300": o.item.color === "secondary"
2801
+ "bg-indigo-500": !l.item.color,
2802
+ "bg-green-500": l.item.color === "green",
2803
+ "bg-red-500": l.item.color === "red",
2804
+ "bg-yellow-500": l.item.color === "yellow",
2805
+ "bg-cyan-300": l.item.color === "secondary"
2787
2806
  }])
2788
2807
  }, [
2789
2808
  g(j, {
2790
- icon: o.item.icon,
2809
+ icon: l.item.icon,
2791
2810
  class: "h-6 w-6 text-white",
2792
2811
  "aria-hidden": "true",
2793
- loading: o.loading
2812
+ loading: l.loading
2794
2813
  }, null, 8, ["icon", "loading"])
2795
2814
  ], 2),
2796
- e("p", ur, u(o.item.name), 1)
2815
+ e("p", ur, u(l.item.name), 1)
2797
2816
  ]),
2798
2817
  e("dd", cr, [
2799
- e("p", gr, u(o.item.stat), 1),
2800
- o.item.explanation ? (s(), n("p", pr, u(o.item.explanation), 1)) : b("", !0),
2801
- o.item.changeType ? (s(), n("p", {
2818
+ e("p", gr, u(l.item.stat), 1),
2819
+ l.item.explanation ? (s(), n("p", pr, u(l.item.explanation), 1)) : b("", !0),
2820
+ l.item.changeType ? (s(), n("p", {
2802
2821
  key: 1,
2803
2822
  class: h([
2804
2823
  {
2805
- "text-green-600": o.item.changeType === "increase",
2806
- "text-red-600": o.item.changeType === "decrease",
2807
- "text-black": o.item.changeType === "neutral"
2824
+ "text-green-600": l.item.changeType === "increase",
2825
+ "text-red-600": l.item.changeType === "decrease",
2826
+ "text-black": l.item.changeType === "neutral"
2808
2827
  },
2809
2828
  "ml-2 flex items-baseline text-sm font-semibold"
2810
2829
  ])
2811
2830
  }, [
2812
- o.item.changeType === "increase" ? (s(), _(c(ut), {
2831
+ l.item.changeType === "increase" ? (s(), _(c(ut), {
2813
2832
  key: 0,
2814
2833
  class: "self-center flex-shrink-0 h-3 w-3 text-green-500",
2815
2834
  "aria-hidden": "true"
2816
2835
  })) : b("", !0),
2817
- o.item.changeType === "decrease" ? (s(), _(c(it), {
2836
+ l.item.changeType === "decrease" ? (s(), _(c(it), {
2818
2837
  key: 1,
2819
2838
  class: "self-center flex-shrink-0 h-3 w-3 text-red-500",
2820
2839
  "aria-hidden": "true"
2821
2840
  })) : b("", !0),
2822
- D(" " + u(o.item.change), 1)
2841
+ D(" " + u(l.item.change), 1)
2823
2842
  ], 2)) : b("", !0),
2824
2843
  C(e("div", mr, [
2825
2844
  e("div", fr, [
2826
2845
  e("span", {
2827
- onClick: a[0] || (a[0] = (r) => o.$emit("statClick", o.item.id)),
2846
+ onClick: a[0] || (a[0] = (r) => l.$emit("statClick", l.item.id)),
2828
2847
  class: "font-medium text-indigo-600 hover:text-indigo-500 cursor-pointer"
2829
- }, u(o.item.actionText), 1)
2848
+ }, u(l.item.actionText), 1)
2830
2849
  ])
2831
2850
  ], 512), [
2832
- [S, o.item.showFooter]
2851
+ [S, l.item.showFooter]
2833
2852
  ])
2834
2853
  ])
2835
2854
  ], 2)
@@ -2857,7 +2876,7 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
2857
2876
  },
2858
2877
  emits: ["itemClicked"],
2859
2878
  setup(p, { emit: i }) {
2860
- return (o, a) => o.loading ? (s(), n("div", Sr, [
2879
+ return (l, a) => l.loading ? (s(), n("div", Sr, [
2861
2880
  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)),
2862
2881
  e("div", jr, [
2863
2882
  e("dl", null, [
@@ -2876,19 +2895,19 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
2876
2895
  ])
2877
2896
  ])) : (s(), n("div", br, [
2878
2897
  e("div", wr, [
2879
- e("h3", xr, u(o.title), 1),
2880
- e("p", kr, u(o.subtitle), 1)
2898
+ e("h3", xr, u(l.title), 1),
2899
+ e("p", kr, u(l.subtitle), 1)
2881
2900
  ]),
2882
2901
  e("div", _r, [
2883
2902
  e("dl", null, [
2884
- (s(!0), n(k, null, $(o.items, (r, l) => (s(), n("div", {
2885
- key: l,
2886
- 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"]])
2903
+ (s(!0), n(k, null, $(l.items, (r, o) => (s(), n("div", {
2904
+ key: o,
2905
+ class: h(["px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6", [o % 2 === 0 ? "bg-gray-50" : "bg-white"]])
2887
2906
  }, [
2888
2907
  e("dt", $r, u(r.title), 1),
2889
2908
  r.type === "tags" ? (s(), n("dd", Cr, [
2890
2909
  (s(!0), n(k, null, $(r.tags, (t, m) => (s(), _(R, {
2891
- loading: o.loading,
2910
+ loading: l.loading,
2892
2911
  key: m,
2893
2912
  color: t.color,
2894
2913
  class: "mr-2 mb-2"
@@ -2901,7 +2920,7 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
2901
2920
  ])) : r.type === "link" ? (s(), n("dd", {
2902
2921
  key: 1,
2903
2922
  class: "mt-1 text-sm text-indigo-600 hover:text-indigo-400 sm:col-span-2 sm:mt-0 cursor-pointer",
2904
- onClick: (t) => o.$emit("itemClicked", r.emits)
2923
+ onClick: (t) => l.$emit("itemClicked", r.emits)
2905
2924
  }, u(r.text), 9, Br)) : (s(), n("dd", Mr, u(r.text), 1))
2906
2925
  ], 2))), 128))
2907
2926
  ])
@@ -2917,8 +2936,8 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
2917
2936
  }
2918
2937
  },
2919
2938
  setup(p) {
2920
- return (i, o) => (s(), n("div", Tr, [
2921
- o[0] || (o[0] = e("svg", {
2939
+ return (i, l) => (s(), n("div", Tr, [
2940
+ l[0] || (l[0] = e("svg", {
2922
2941
  class: "absolute -top-3 left-0",
2923
2942
  xmlns: "http://www.w3.org/2000/svg",
2924
2943
  width: "27.687",
@@ -2966,32 +2985,32 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
2966
2985
  },
2967
2986
  emits: ["tableAction", "orderBy", "customEmit", "selectedItemsDeleted"],
2968
2987
  setup(p, { emit: i }) {
2969
- let o = A([]), a = A(""), r = A(!1);
2970
- const l = i, t = p, m = P(
2971
- () => o.value.length > 0 && o.value.length < t.items.length
2988
+ let l = A([]), a = A(""), r = A(!1);
2989
+ const o = i, t = p, m = O(
2990
+ () => l.value.length > 0 && l.value.length < t.items.length
2972
2991
  ), d = (w, M) => {
2973
2992
  a.value !== w && M && (a.value = w), M || (a.value = void 0);
2974
2993
  }, f = (w) => {
2975
- o.value = w.target.checked ? t.items.map((M) => M.id) : [];
2994
+ l.value = w.target.checked ? t.items.map((M) => M.id) : [];
2976
2995
  }, y = (w) => {
2977
- l("customEmit", w);
2996
+ o("customEmit", w);
2978
2997
  };
2979
2998
  return W(() => t.resetSelected, (w) => {
2980
- r.value = w, w && r.value && (o.value = [], r.value = !w, l("selectedItemsDeleted"));
2999
+ r.value = w, w && r.value && (l.value = [], r.value = !w, o("selectedItemsDeleted"));
2981
3000
  }), (w, M) => {
2982
- var Y, I;
3001
+ var P, I;
2983
3002
  return w.loading ? (s(), _(Fe, { key: 1 })) : (s(), n("div", Nr, [
2984
3003
  e("div", Ar, [
2985
3004
  e("div", Yr, [
2986
3005
  e("div", Pr, [
2987
3006
  e("div", Or, [
2988
- ((Y = c(o)) == null ? void 0 : Y.length) > 0 && ((I = w.actions) == null ? void 0 : I.length) > 0 ? (s(), n("div", Vr, [
2989
- (s(!0), n(k, null, $(w.actions, (T, H) => (s(), n("button", {
2990
- onClick: (x) => w.$emit("tableAction", { action: T.id, items: c(o) }),
3007
+ ((P = c(l)) == null ? void 0 : P.length) > 0 && ((I = w.actions) == null ? void 0 : I.length) > 0 ? (s(), n("div", Vr, [
3008
+ (s(!0), n(k, null, $(w.actions, (z, H) => (s(), n("button", {
3009
+ onClick: (x) => w.$emit("tableAction", { action: z.id, items: c(l) }),
2991
3010
  key: H,
2992
3011
  type: "button",
2993
3012
  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"
2994
- }, u(T.name), 9, Fr))), 128))
3013
+ }, u(z.name), 9, Fr))), 128))
2995
3014
  ])) : b("", !0),
2996
3015
  e("table", Ir, [
2997
3016
  e("thead", Rr, [
@@ -3002,78 +3021,78 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
3002
3021
  }, [
3003
3022
  w.actions ? (s(), n("input", {
3004
3023
  key: 0,
3005
- checked: m.value || c(o).length === w.items.length,
3024
+ checked: m.value || c(l).length === w.items.length,
3006
3025
  indeterminate: m.value,
3007
3026
  class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500",
3008
3027
  type: "checkbox",
3009
3028
  onChange: f
3010
3029
  }, null, 40, qr)) : b("", !0)
3011
3030
  ], 2),
3012
- (s(!0), n(k, null, $(w.header, (T, H) => (s(), n("th", {
3031
+ (s(!0), n(k, null, $(w.header, (z, H) => (s(), n("th", {
3013
3032
  key: H,
3014
3033
  class: "py-3.5 pr-3 text-left font-semibold text-gray-900 relative",
3015
3034
  scope: "col",
3016
- onMouseover: (x) => d(T.name, !0),
3017
- onMouseleave: (x) => d(T.name, !1)
3035
+ onMouseover: (x) => d(z.name, !0),
3036
+ onMouseleave: (x) => d(z.name, !1)
3018
3037
  }, [
3019
- T.tooltip ? C((s(), _(Lr, {
3038
+ z.tooltip ? C((s(), _(Lr, {
3020
3039
  key: 0,
3021
- tip: T.tooltip
3040
+ tip: z.tooltip
3022
3041
  }, null, 8, ["tip"])), [
3023
- [S, c(a) === T.name]
3042
+ [S, c(a) === z.name]
3024
3043
  ]) : b("", !0),
3025
- T.value ? (s(), n("button", {
3044
+ z.value ? (s(), n("button", {
3026
3045
  key: 1,
3027
3046
  class: "group flex items-center uppercase text-xs relative text-nowrap",
3028
- onClick: (x) => l("orderBy", { value: T.value, orderDirection: w.orderDirection === "asc" ? "desc" : "asc" })
3047
+ onClick: (x) => o("orderBy", { value: z.value, orderDirection: w.orderDirection === "asc" ? "desc" : "asc" })
3029
3048
  }, [
3030
- e("span", null, u(T.name), 1),
3049
+ e("span", null, u(z.name), 1),
3031
3050
  e("span", {
3032
3051
  class: h([[
3033
- T.value === w.orderedBy ? "bg-indigo-600 text-white group-hover:bg-gray-300" : "text-gray-400 group-hover:visible group-focus:visible"
3052
+ z.value === w.orderedBy ? "bg-indigo-600 text-white group-hover:bg-gray-300" : "text-gray-400 group-hover:visible group-focus:visible"
3034
3053
  ], "ml-2 flex-none rounded group-hover:bg-indigo-200 group-hover:text-white"])
3035
3054
  }, [
3036
3055
  g(j, {
3037
- icon: w.orderDirection === "asc" ? c(le) : c(pt),
3056
+ icon: w.orderDirection === "asc" ? c(oe) : c(pt),
3038
3057
  loading: w.loading,
3039
- color: T.value === w.orderedBy ? "white" : "primary"
3058
+ color: z.value === w.orderedBy ? "white" : "primary"
3040
3059
  }, null, 8, ["icon", "loading", "color"])
3041
3060
  ], 2)
3042
3061
  ], 8, Ur)) : (s(), n("p", Er, [
3043
- e("span", null, u(T.name), 1)
3062
+ e("span", null, u(z.name), 1)
3044
3063
  ]))
3045
3064
  ], 40, Hr))), 128))
3046
3065
  ])
3047
3066
  ]),
3048
3067
  e("tbody", Zr, [
3049
- (s(!0), n(k, null, $(w.items, (T, H) => {
3050
- var x, O;
3068
+ (s(!0), n(k, null, $(w.items, (z, H) => {
3069
+ var x, Y;
3051
3070
  return s(), n("tr", {
3052
- key: T.id,
3071
+ key: z.id,
3053
3072
  class: h([
3054
- c(o).includes(T.id) && "bg-gray-50",
3073
+ c(l).includes(z.id) && "bg-gray-50",
3055
3074
  H % 2 === 0 ? void 0 : "bg-gray-50"
3056
3075
  ])
3057
3076
  }, [
3058
3077
  e("td", {
3059
3078
  class: h([((x = w.actions) == null ? void 0 : x.length) > 0 ? "w-2" : "w-0", "relative"])
3060
3079
  }, [
3061
- c(o).includes(T.id) ? (s(), n("div", Jr)) : b("", !0),
3062
- ((O = w.actions) == null ? void 0 : O.length) > 0 ? C((s(), n("input", {
3080
+ c(l).includes(z.id) ? (s(), n("div", Jr)) : b("", !0),
3081
+ ((Y = w.actions) == null ? void 0 : Y.length) > 0 ? C((s(), n("input", {
3063
3082
  key: 1,
3064
- "onUpdate:modelValue": M[0] || (M[0] = (N) => Be(o) ? o.value = N : o = N),
3065
- value: T.id,
3083
+ "onUpdate:modelValue": M[0] || (M[0] = (N) => Be(l) ? l.value = N : l = N),
3084
+ value: z.id,
3066
3085
  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",
3067
3086
  type: "checkbox"
3068
3087
  }, null, 8, Gr)), [
3069
- [Ce, c(o)]
3088
+ [Ce, c(l)]
3070
3089
  ]) : b("", !0)
3071
3090
  ], 2),
3072
- (s(!0), n(k, null, $(T.row, (N, se) => (s(), n("td", {
3091
+ (s(!0), n(k, null, $(z.row, (N, se) => (s(), n("td", {
3073
3092
  key: se,
3074
3093
  class: h([
3075
3094
  "whitespace-nowrap py-4 pr-3 text-sm",
3076
- c(o).includes(T.id) ? "text-indigo-600" : "text-gray-900"
3095
+ c(l).includes(z.id) ? "text-indigo-600" : "text-gray-900"
3077
3096
  ])
3078
3097
  }, [
3079
3098
  typeof N == "object" && N.type === "tag" ? (s(), _(R, {
@@ -3088,7 +3107,7 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
3088
3107
  }, 1032, ["loading", "color"])) : typeof N == "object" && N.type === "link" ? (s(), n("span", {
3089
3108
  key: 1,
3090
3109
  class: "text-indigo-600 hover:text-indigo-400 cursor-pointer",
3091
- onClick: (z) => y(N)
3110
+ onClick: (T) => y(N)
3092
3111
  }, u(N.content), 9, Wr)) : typeof N == "object" && N.type === "href" ? (s(), n("a", {
3093
3112
  key: 2,
3094
3113
  class: "text-indigo-600 hover:text-indigo-400 cursor-pointer",
@@ -3107,7 +3126,7 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
3107
3126
  ]));
3108
3127
  };
3109
3128
  }
3110
- }), en = { class: "lg:hidden" }, tn = ["value"], sn = { class: "hidden lg:block" }, on = { class: "border-b border-gray-200" }, ln = {
3129
+ }), en = { class: "lg:hidden" }, tn = ["value"], sn = { class: "hidden lg:block" }, ln = { class: "border-b border-gray-200" }, on = {
3111
3130
  class: "-mb-px flex space-x-8",
3112
3131
  "aria-label": "Tabs"
3113
3132
  }, rn = ["onClick", "aria-current"], nn = /* @__PURE__ */ B({
@@ -3117,14 +3136,14 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
3117
3136
  },
3118
3137
  emits: ["tabClicked"],
3119
3138
  setup(p, { emit: i }) {
3120
- const o = i, a = (r) => {
3121
- const l = r.target;
3122
- l.value && o("tabClicked", l.value);
3139
+ const l = i, a = (r) => {
3140
+ const o = r.target;
3141
+ o.value && l("tabClicked", o.value);
3123
3142
  };
3124
- return (r, l) => (s(), n("div", null, [
3143
+ return (r, o) => (s(), n("div", null, [
3125
3144
  e("div", en, [
3126
3145
  e("select", {
3127
- onChange: l[0] || (l[0] = (t) => a(t)),
3146
+ onChange: o[0] || (o[0] = (t) => a(t)),
3128
3147
  id: "tabs",
3129
3148
  name: "tabs",
3130
3149
  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"
@@ -3136,11 +3155,11 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
3136
3155
  ], 32)
3137
3156
  ]),
3138
3157
  e("div", sn, [
3139
- e("div", on, [
3140
- e("nav", ln, [
3158
+ e("div", ln, [
3159
+ e("nav", on, [
3141
3160
  (s(!0), n(k, null, $(r.tabs, (t) => (s(), n("a", {
3142
3161
  key: t.name,
3143
- onClick: (m) => o("tabClicked", t.id),
3162
+ onClick: (m) => l("tabClicked", t.id),
3144
3163
  class: h([
3145
3164
  t.current ? "border-indigo-500 text-indigo-600" : "border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-200",
3146
3165
  "whitespace-nowrap flex py-4 px-1 border-b-2 font-medium text-sm cursor-pointer"
@@ -3196,8 +3215,8 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
3196
3215
  emits: ["timelineEventClicked", "timelineFooterClicked"],
3197
3216
  setup(p, { emit: i }) {
3198
3217
  const a = Me(p.timeline);
3199
- return (r, l) => r.loading ? (s(), n("div", _n, [
3200
- l[3] || (l[3] = e("div", { class: "px-4 py-5 sm:px-6 animate-pulse" }, [
3218
+ return (r, o) => r.loading ? (s(), n("div", _n, [
3219
+ o[3] || (o[3] = e("div", { class: "px-4 py-5 sm:px-6 animate-pulse" }, [
3201
3220
  e("h1", { class: "text-xl font-bold" }, [
3202
3221
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4" })
3203
3222
  ])
@@ -3208,13 +3227,13 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
3208
3227
  (s(), n(k, null, $(10, (t, m) => e("li", { key: m }, [
3209
3228
  e("div", Mn, [
3210
3229
  t !== 10 ? (s(), n("span", Sn)) : b("", !0),
3211
- 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))
3230
+ 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))
3212
3231
  ])
3213
3232
  ])), 64))
3214
3233
  ])
3215
3234
  ])
3216
3235
  ]),
3217
- l[4] || (l[4] = e("div", { class: "bg-gray-50 px-4 py-4 sm:px-6 z-10 animate-pulse" }, [
3236
+ o[4] || (o[4] = e("div", { class: "bg-gray-50 px-4 py-4 sm:px-6 z-10 animate-pulse" }, [
3218
3237
  e("div", { class: "text-sm" }, [
3219
3238
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4" })
3220
3239
  ])
@@ -3282,7 +3301,7 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
3282
3301
  e("div", xn, [
3283
3302
  e("a", {
3284
3303
  class: "cursor-pointer font-medium text-indigo-600 hover:text-indigo-500",
3285
- onClick: l[0] || (l[0] = (t) => r.$emit("timelineFooterClicked", r.timeline.id))
3304
+ onClick: o[0] || (o[0] = (t) => r.$emit("timelineFooterClicked", r.timeline.id))
3286
3305
  }, u(r.timeline.footerText), 1)
3287
3306
  ])
3288
3307
  ])) : (s(), n("div", kn, [
@@ -3292,7 +3311,7 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
3292
3311
  loading: !1,
3293
3312
  size: "huge"
3294
3313
  }, null, 8, ["icon"]),
3295
- l[1] || (l[1] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1))
3314
+ o[1] || (o[1] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1))
3296
3315
  ]))
3297
3316
  ], 2));
3298
3317
  }
@@ -3311,7 +3330,7 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
3311
3330
  },
3312
3331
  emits: ["topBarClick"],
3313
3332
  setup(p, { emit: i }) {
3314
- return (o, a) => (s(), _(c(ye), {
3333
+ return (l, a) => (s(), _(c(ye), {
3315
3334
  as: "nav",
3316
3335
  class: "bg-white shadow z-10"
3317
3336
  }, {
@@ -3338,11 +3357,11 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
3338
3357
  ]),
3339
3358
  e("div", {
3340
3359
  class: "flex-shrink-0 flex items-center cursor-pointer",
3341
- onClick: a[0] || (a[0] = (l) => o.$emit("topBarClick", "logo"))
3360
+ onClick: a[0] || (a[0] = (o) => l.$emit("topBarClick", "logo"))
3342
3361
  }, [
3343
3362
  e("img", {
3344
3363
  class: "h-10",
3345
- src: o.logo,
3364
+ src: l.logo,
3346
3365
  alt: "Hotelinking suite product logo"
3347
3366
  }, null, 8, Nn)
3348
3367
  ])
@@ -3360,16 +3379,16 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
3360
3379
  C(e("div", Pn, a[2] || (a[2] = [
3361
3380
  e("span", { class: "animate-ping absolute inline-flex h-4 w-4 bg-red-500 rounded-full opacity-75" }, null, -1)
3362
3381
  ]), 512), [
3363
- [S, o.alerted]
3382
+ [S, l.alerted]
3364
3383
  ]),
3365
3384
  e("img", {
3366
3385
  class: "h-10 w-10 rounded-full",
3367
- src: o.accountLogo
3386
+ src: l.accountLogo
3368
3387
  }, null, 8, On)
3369
3388
  ]),
3370
3389
  _: 1
3371
3390
  }, 512), [
3372
- [S, o.accountLogo]
3391
+ [S, l.accountLogo]
3373
3392
  ])
3374
3393
  ]),
3375
3394
  g(re, {
@@ -3383,17 +3402,17 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
3383
3402
  default: v(() => [
3384
3403
  g(c(ce), { class: "origin-top-right absolute right-0 mt-2 w-48 rounded-md shadow-lg py-1 bg-white ring-1 ring-black ring-opacity-5 focus:outline-none" }, {
3385
3404
  default: v(() => [
3386
- (s(!0), n(k, null, $(o.profileMenu, (l) => (s(), _(c(ge), {
3387
- key: l.name
3405
+ (s(!0), n(k, null, $(l.profileMenu, (o) => (s(), _(c(ge), {
3406
+ key: o.name
3388
3407
  }, {
3389
3408
  default: v(({ active: t }) => [
3390
3409
  e("p", {
3391
- onClick: (m) => o.$emit("topBarClick", l.id),
3410
+ onClick: (m) => l.$emit("topBarClick", o.id),
3392
3411
  class: h(["cursor-pointer", [
3393
3412
  t ? "bg-gray-100" : "",
3394
3413
  "block px-4 py-2 text-sm text-gray-700"
3395
3414
  ]])
3396
- }, u(l.name), 11, Vn)
3415
+ }, u(o.name), 11, Vn)
3397
3416
  ]),
3398
3417
  _: 2
3399
3418
  }, 1024))), 128))
@@ -3413,18 +3432,18 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
3413
3432
  g(c(he), { class: "lg:hidden" }, {
3414
3433
  default: v(() => [
3415
3434
  e("div", Fn, [
3416
- (s(!0), n(k, null, $(o.navigation, (l) => (s(), _(c(U), {
3435
+ (s(!0), n(k, null, $(l.navigation, (o) => (s(), _(c(U), {
3417
3436
  as: "template",
3418
- key: l.name,
3437
+ key: o.name,
3419
3438
  class: h(["block pl-3 pr-4 py-2 border-l-4 text-base font-medium sm:pl-5 sm:pr-6", {
3420
- "bg-indigo-50 border-indigo-500 text-indigo-700": l.current && l.current === !0,
3421
- "border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700": !l.current
3439
+ "bg-indigo-50 border-indigo-500 text-indigo-700": o.current && o.current === !0,
3440
+ "border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700": !o.current
3422
3441
  }])
3423
3442
  }, {
3424
3443
  default: v(() => [
3425
3444
  e("p", {
3426
- onClick: (t) => o.$emit("topBarClick", l.id)
3427
- }, u(l.name), 9, In)
3445
+ onClick: (t) => l.$emit("topBarClick", o.id)
3446
+ }, u(o.name), 9, In)
3428
3447
  ]),
3429
3448
  _: 2
3430
3449
  }, 1032, ["class"]))), 128))
@@ -3434,24 +3453,24 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
3434
3453
  e("div", Hn, [
3435
3454
  e("img", {
3436
3455
  class: "h-10 w-10 rounded-full",
3437
- src: o.accountLogo
3456
+ src: l.accountLogo
3438
3457
  }, null, 8, Un)
3439
3458
  ]),
3440
- o.brand ? (s(), n("div", En, [
3441
- e("div", Zn, u(o.brand.title), 1),
3442
- e("div", Jn, u(o.brand.subtitle), 1)
3459
+ l.brand ? (s(), n("div", En, [
3460
+ e("div", Zn, u(l.brand.title), 1),
3461
+ e("div", Jn, u(l.brand.subtitle), 1)
3443
3462
  ])) : b("", !0)
3444
3463
  ]),
3445
3464
  e("div", Gn, [
3446
- (s(!0), n(k, null, $(o.profileMenu, (l) => (s(), _(c(U), {
3465
+ (s(!0), n(k, null, $(l.profileMenu, (o) => (s(), _(c(U), {
3447
3466
  as: "template",
3448
- key: l.name,
3467
+ key: o.name,
3449
3468
  class: "block px-4 py-2 text-base font-medium text-gray-500 hover:text-gray-800 hover:bg-gray-100 sm:px-6"
3450
3469
  }, {
3451
3470
  default: v(() => [
3452
3471
  e("p", {
3453
- onClick: (t) => o.$emit("topBarClick", l.id)
3454
- }, u(l.name), 9, Wn)
3472
+ onClick: (t) => l.$emit("topBarClick", o.id)
3473
+ }, u(o.name), 9, Wn)
3455
3474
  ]),
3456
3475
  _: 2
3457
3476
  }, 1024))), 128))
@@ -3464,7 +3483,7 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
3464
3483
  _: 1
3465
3484
  }));
3466
3485
  }
3467
- }), Kn = { class: "chart-header flex flex-row justify-between" }, Xn = { class: "text-sm font-medium text-gray-500 truncate" }, ea = { class: "chart-content" }, ta = { class: "h-full w-full flex items-center justify-center flex-col" }, sa = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, oa = /* @__PURE__ */ B({
3486
+ }), Kn = { class: "chart-header flex flex-row justify-between" }, Xn = { class: "text-sm font-medium text-gray-500 truncate" }, ea = { class: "chart-content" }, ta = { class: "h-full w-full flex items-center justify-center flex-col" }, sa = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, la = /* @__PURE__ */ B({
3468
3487
  __name: "uiFunnelChartV2",
3469
3488
  props: {
3470
3489
  labels: {},
@@ -3485,7 +3504,7 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
3485
3504
  },
3486
3505
  emits: ["selectedRange", "chartUpdated", "dataPointSelection"],
3487
3506
  setup(p, { emit: i }) {
3488
- const o = i, a = p;
3507
+ const l = i, a = p;
3489
3508
  let r = {
3490
3509
  chart: {
3491
3510
  type: "bar",
@@ -3521,8 +3540,8 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
3521
3540
  }
3522
3541
  }
3523
3542
  };
3524
- const l = P(() => ({ ...a.options, ...r })), t = P(() => a.series), m = () => o("chartUpdated"), d = (f, y, w) => {
3525
- o("dataPointSelection", { id: a.id, chartContext: y, config: w, event: f });
3543
+ const o = O(() => ({ ...a.options, ...r })), t = O(() => a.series), m = () => l("chartUpdated"), d = (f, y, w) => {
3544
+ l("dataPointSelection", { id: a.id, chartContext: y, config: w, event: f });
3526
3545
  };
3527
3546
  return (f, y) => (s(), n(k, null, [
3528
3547
  C(e("div", {
@@ -3541,7 +3560,7 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
3541
3560
  series: t.value,
3542
3561
  width: "100%",
3543
3562
  height: f.height,
3544
- options: l.value,
3563
+ options: o.value,
3545
3564
  onUpdated: m,
3546
3565
  onMounted: m,
3547
3566
  onDataPointSelection: d
@@ -3594,7 +3613,7 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
3594
3613
  ])
3595
3614
  ], 64));
3596
3615
  }
3597
- }), la = { class: "w-full flex flex-col items-center justify-center p-10 grow" }, ra = { class: "text-2xl mt-4 font-bold" }, na = { class: "buttons flex flex-row items-center justify-center mt-8 gap-x-1" }, aa = /* @__PURE__ */ B({
3616
+ }), oa = { class: "w-full flex flex-col items-center justify-center p-10 grow" }, ra = { class: "text-2xl mt-4 font-bold" }, na = { class: "buttons flex flex-row items-center justify-center mt-8 gap-x-1" }, aa = /* @__PURE__ */ B({
3598
3617
  __name: "uiNoResults",
3599
3618
  props: {
3600
3619
  title: {},
@@ -3605,7 +3624,7 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
3605
3624
  },
3606
3625
  emits: ["action", "noResultsOptionSelected"],
3607
3626
  setup(p) {
3608
- return (i, o) => (s(), n("div", la, [
3627
+ return (i, l) => (s(), n("div", oa, [
3609
3628
  g(j, {
3610
3629
  loading: !1,
3611
3630
  icon: c(q),
@@ -3618,7 +3637,7 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
3618
3637
  (s(!0), n(k, null, $(i.actions, (a, r) => (s(), _(G, {
3619
3638
  key: r,
3620
3639
  loading: !1,
3621
- onClick: (l) => i.$emit("action", a.action)
3640
+ onClick: (o) => i.$emit("action", a.action)
3622
3641
  }, {
3623
3642
  default: v(() => [
3624
3643
  D(u(a.text), 1)
@@ -3629,7 +3648,7 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
3629
3648
  key: 0,
3630
3649
  items: i.items,
3631
3650
  loading: !1,
3632
- onOptionSelected: o[0] || (o[0] = (a) => i.$emit("noResultsOptionSelected", a))
3651
+ onOptionSelected: l[0] || (l[0] = (a) => i.$emit("noResultsOptionSelected", a))
3633
3652
  }, null, 8, ["items"])) : b("", !0)
3634
3653
  ])
3635
3654
  ]));
@@ -3643,15 +3662,15 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
3643
3662
  },
3644
3663
  emits: ["closeRightBar"],
3645
3664
  setup(p, { emit: i }) {
3646
- return (o, a) => (s(), _(c(pe), {
3665
+ return (l, a) => (s(), _(c(pe), {
3647
3666
  as: "template",
3648
- show: o.open
3667
+ show: l.open
3649
3668
  }, {
3650
3669
  default: v(() => [
3651
3670
  g(c(me), {
3652
3671
  as: "div",
3653
3672
  class: "relative z-10",
3654
- onClose: a[1] || (a[1] = (r) => o.$emit("closeRightBar"))
3673
+ onClose: a[1] || (a[1] = (r) => l.$emit("closeRightBar"))
3655
3674
  }, {
3656
3675
  default: v(() => [
3657
3676
  a[4] || (a[4] = e("div", { class: "fixed inset-0" }, null, -1)),
@@ -3675,7 +3694,7 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
3675
3694
  e("div", pa, [
3676
3695
  g(c(Le), { class: "text-base font-semibold leading-6 text-white" }, {
3677
3696
  default: v(() => [
3678
- D(u(o.title), 1)
3697
+ D(u(l.title), 1)
3679
3698
  ]),
3680
3699
  _: 1
3681
3700
  }),
@@ -3683,7 +3702,7 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
3683
3702
  e("button", {
3684
3703
  type: "button",
3685
3704
  class: "relative rounded-md bg-indigo-700 text-indigo-200 hover:text-white outline-none",
3686
- onClick: a[0] || (a[0] = (r) => o.$emit("closeRightBar"))
3705
+ onClick: a[0] || (a[0] = (r) => l.$emit("closeRightBar"))
3687
3706
  }, [
3688
3707
  a[2] || (a[2] = e("span", { class: "absolute -inset-2.5" }, null, -1)),
3689
3708
  a[3] || (a[3] = e("span", { class: "sr-only" }, "Close panel", -1)),
@@ -3695,11 +3714,11 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
3695
3714
  ])
3696
3715
  ]),
3697
3716
  e("div", fa, [
3698
- e("p", ya, u(o.description), 1)
3717
+ e("p", ya, u(l.description), 1)
3699
3718
  ])
3700
3719
  ]),
3701
3720
  e("div", ha, [
3702
- F(o.$slots, "default")
3721
+ F(l.$slots, "default")
3703
3722
  ])
3704
3723
  ])
3705
3724
  ]),
@@ -3736,32 +3755,32 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
3736
3755
  },
3737
3756
  emits: ["modalAction", "deleteImage", "imgClicked"],
3738
3757
  setup(p, { emit: i }) {
3739
- const o = i, a = A(!1), r = (l) => {
3740
- a.value = !1, o("modalAction", l);
3758
+ const l = i, a = A(!1), r = (o) => {
3759
+ a.value = !1, l("modalAction", o);
3741
3760
  };
3742
- return (l, t) => (s(), n("div", ba, [
3743
- l.loading ? b("", !0) : (s(), _(Ve, {
3761
+ return (o, t) => (s(), n("div", ba, [
3762
+ o.loading ? b("", !0) : (s(), _(Ve, {
3744
3763
  key: 0,
3745
3764
  open: a.value,
3746
3765
  modalName: "deleteAllImagesModal",
3747
- title: l.literals.modalTitle,
3766
+ title: o.literals.modalTitle,
3748
3767
  type: "warning",
3749
- actions: [{ value: "close", name: l.literals.closeAction }, { value: `deleteGallery_${l.galleryId}`, name: l.literals.deleteAction }],
3768
+ actions: [{ value: "close", name: o.literals.closeAction }, { value: `deleteGallery_${o.galleryId}`, name: o.literals.deleteAction }],
3750
3769
  onModalAction: t[0] || (t[0] = (m) => r(m))
3751
3770
  }, {
3752
3771
  default: v(() => [
3753
- e("p", null, u(l.literals.modalText), 1)
3772
+ e("p", null, u(o.literals.modalText), 1)
3754
3773
  ]),
3755
3774
  _: 1
3756
3775
  }, 8, ["open", "title", "actions"])),
3757
- l.loading ? (s(), n("ul", Ma, [
3776
+ o.loading ? (s(), n("ul", Ma, [
3758
3777
  (s(), n(k, null, $(4, (m) => e("li", null, t[2] || (t[2] = [
3759
3778
  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),
3760
3779
  e("p", { class: "animate-pulse h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28 mt-4" }, null, -1),
3761
3780
  e("p", { class: "animate-pulse h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-14 mt-2" }, null, -1)
3762
3781
  ]))), 64))
3763
3782
  ])) : (s(), n("ul", wa, [
3764
- (s(!0), n(k, null, $(l.gallery, (m) => (s(), n("li", {
3783
+ (s(!0), n(k, null, $(o.gallery, (m) => (s(), n("li", {
3765
3784
  key: m.source,
3766
3785
  class: "relative"
3767
3786
  }, [
@@ -3774,7 +3793,7 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
3774
3793
  e("button", {
3775
3794
  type: "button",
3776
3795
  class: "absolute inset-0 focus:outline-none",
3777
- onClick: (d) => l.$emit("imgClicked", m)
3796
+ onClick: (d) => o.$emit("imgClicked", m)
3778
3797
  }, null, 8, _a)
3779
3798
  ]),
3780
3799
  e("p", $a, u(m.title), 1),
@@ -3785,12 +3804,12 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
3785
3804
  icon: c(xt),
3786
3805
  color: "red",
3787
3806
  loading: !1,
3788
- onClick: (d) => l.$emit("deleteImage", m)
3807
+ onClick: (d) => o.$emit("deleteImage", m)
3789
3808
  }, null, 8, ["icon", "onClick"])
3790
3809
  ])
3791
3810
  ]))), 128))
3792
3811
  ])),
3793
- l.gallery.length > 0 && !l.loading ? (s(), _(G, {
3812
+ o.gallery.length > 0 && !o.loading ? (s(), _(G, {
3794
3813
  key: 3,
3795
3814
  onClick: t[1] || (t[1] = (m) => a.value = !0),
3796
3815
  class: "mt-8",
@@ -3799,7 +3818,7 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
3799
3818
  size: "small"
3800
3819
  }, {
3801
3820
  default: v(() => [
3802
- D(u(l.literals.deleteAllImages), 1)
3821
+ D(u(o.literals.deleteAllImages), 1)
3803
3822
  ]),
3804
3823
  _: 1
3805
3824
  })) : b("", !0)
@@ -3816,13 +3835,13 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
3816
3835
  },
3817
3836
  emits: ["dragAndDropUpdated"],
3818
3837
  setup(p, { emit: i }) {
3819
- const o = i, a = p;
3838
+ const l = i, a = p;
3820
3839
  let r = A(a.elements);
3821
3840
  W(() => a.elements, (t) => {
3822
3841
  r.value = t;
3823
3842
  });
3824
- const l = (t) => {
3825
- o("dragAndDropUpdated", t);
3843
+ const o = (t) => {
3844
+ l("dragAndDropUpdated", t);
3826
3845
  };
3827
3846
  return (t, m) => t.loading ? (s(), n("div", Aa, m[2] || (m[2] = [
3828
3847
  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)
@@ -3831,7 +3850,7 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
3831
3850
  modelValue: c(r),
3832
3851
  "onUpdate:modelValue": [
3833
3852
  m[0] || (m[0] = (d) => Be(r) ? r.value = d : r = d),
3834
- m[1] || (m[1] = (d) => l(d))
3853
+ m[1] || (m[1] = (d) => o(d))
3835
3854
  ]
3836
3855
  }, {
3837
3856
  item: v(({ item: d }) => [
@@ -3876,7 +3895,7 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
3876
3895
  },
3877
3896
  emits: ["selectedRange", "chartUpdated", "dataPointSelection"],
3878
3897
  setup(p, { emit: i }) {
3879
- const o = i, a = p;
3898
+ const l = i, a = p;
3880
3899
  let r = {
3881
3900
  chart: {
3882
3901
  toolbar: {
@@ -3909,8 +3928,8 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
3909
3928
  }
3910
3929
  }
3911
3930
  };
3912
- const l = () => ({ ...r, ...a.options }), t = P(() => a.series), m = P(() => l()), d = () => o("chartUpdated"), f = (y, w, M) => {
3913
- o("dataPointSelection", { id: a.id, chartContext: w, config: M, event: y });
3931
+ const o = () => ({ ...r, ...a.options }), t = O(() => a.series), m = O(() => o()), d = () => l("chartUpdated"), f = (y, w, M) => {
3932
+ l("dataPointSelection", { id: a.id, chartContext: w, config: M, event: y });
3914
3933
  };
3915
3934
  return (y, w) => (s(), n(k, null, [
3916
3935
  C(e("div", {
@@ -4003,11 +4022,11 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
4003
4022
  },
4004
4023
  emits: ["uiDateRangeButtonClicked"],
4005
4024
  setup(p, { emit: i }) {
4006
- let o = Me({ from: "", to: "" });
4007
- const a = (r, l) => {
4008
- r === "from" ? o.from = l : o.to = l;
4025
+ let l = Me({ from: "", to: "" });
4026
+ const a = (r, o) => {
4027
+ r === "from" ? l.from = o : l.to = o;
4009
4028
  };
4010
- return (r, l) => {
4029
+ return (r, o) => {
4011
4030
  var t, m, d, f;
4012
4031
  return r.loading ? (s(), n("div", Ha, [
4013
4032
  g(Z, {
@@ -4019,7 +4038,7 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
4019
4038
  loading: !0
4020
4039
  }),
4021
4040
  g(G, { loading: !0 }, {
4022
- default: v(() => l[3] || (l[3] = [
4041
+ default: v(() => o[3] || (o[3] = [
4023
4042
  D("Search")
4024
4043
  ])),
4025
4044
  _: 1
@@ -4035,7 +4054,7 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
4035
4054
  error: r.error,
4036
4055
  disabled: r.disabled,
4037
4056
  label: r.label,
4038
- onInputChanged: l[0] || (l[0] = (y) => a("from", y.value))
4057
+ onInputChanged: o[0] || (o[0] = (y) => a("from", y.value))
4039
4058
  }, null, 8, ["addOn", "name", "color", "value", "error", "disabled", "label"]),
4040
4059
  g(Z, {
4041
4060
  type: "date",
@@ -4048,14 +4067,14 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
4048
4067
  error: r.error,
4049
4068
  disabled: r.disabled,
4050
4069
  label: void 0,
4051
- onInputChanged: l[1] || (l[1] = (y) => a("to", y.value))
4070
+ onInputChanged: o[1] || (o[1] = (y) => a("to", y.value))
4052
4071
  }, null, 8, ["class", "addOn", "name", "color", "value", "error", "disabled"]),
4053
4072
  g(G, {
4054
4073
  disabled: r.disabled,
4055
4074
  color: "primary",
4056
4075
  loading: !1,
4057
4076
  class: h([{ "mt-6": r.label }, "h-10"]),
4058
- onClick: l[2] || (l[2] = (y) => r.$emit("uiDateRangeButtonClicked", c(o)))
4077
+ onClick: o[2] || (o[2] = (y) => r.$emit("uiDateRangeButtonClicked", c(l)))
4059
4078
  }, {
4060
4079
  default: v(() => [
4061
4080
  D(u(r.literals.search), 1)
@@ -4087,23 +4106,23 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
4087
4106
  },
4088
4107
  emits: ["sliderUpdated"],
4089
4108
  setup(p, { emit: i }) {
4090
- const o = i, r = A(p.sliderValue);
4091
- return (l, t) => (s(), n("div", null, [
4109
+ const l = i, r = A(p.sliderValue);
4110
+ return (o, t) => (s(), n("div", null, [
4092
4111
  e("div", Ea, [
4093
- l.label ? (s(), n("label", Za, u(l.label), 1)) : b("", !0),
4094
- l.requiredText ? (s(), n("span", Ja, u(l.requiredText), 1)) : b("", !0)
4112
+ o.label ? (s(), n("label", Za, u(o.label), 1)) : b("", !0),
4113
+ o.requiredText ? (s(), n("span", Ja, u(o.requiredText), 1)) : b("", !0)
4095
4114
  ]),
4096
4115
  e("div", {
4097
- class: h([{ "mt-1": l.label }, "pt-16 px-6 pb-6 bg-gray-50 border border-gray-300 rounded-lg shadow-sm"])
4116
+ class: h([{ "mt-1": o.label }, "pt-16 px-6 pb-6 bg-gray-50 border border-gray-300 rounded-lg shadow-sm"])
4098
4117
  }, [
4099
- l.loading ? (s(), n("p", Ga)) : (s(), _(c(Xe), {
4118
+ o.loading ? (s(), n("p", Ga)) : (s(), _(c(Xe), {
4100
4119
  key: 0,
4101
4120
  modelValue: r.value,
4102
4121
  "onUpdate:modelValue": t[0] || (t[0] = (m) => r.value = m),
4103
- min: l.min,
4104
- max: l.max,
4105
- disabled: l.disabled,
4106
- onChange: t[1] || (t[1] = (m) => o("sliderUpdated", m)),
4122
+ min: o.min,
4123
+ max: o.max,
4124
+ disabled: o.disabled,
4125
+ onChange: t[1] || (t[1] = (m) => l("sliderUpdated", m)),
4107
4126
  classes: {
4108
4127
  base: "w-full h-full relative z-1 bg-gray-300 rounded",
4109
4128
  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"
@@ -4119,7 +4138,7 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
4119
4138
  description: {}
4120
4139
  },
4121
4140
  setup(p) {
4122
- return (i, o) => (s(), n(k, null, [
4141
+ return (i, l) => (s(), n(k, null, [
4123
4142
  e("h3", {
4124
4143
  class: h(["text-lg font-medium leading-6 text-gray-900", { "mb-8": i.description === void 0 }])
4125
4144
  }, u(i.title), 3),
@@ -4129,7 +4148,7 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
4129
4148
  }), Xa = {
4130
4149
  key: 0,
4131
4150
  class: "col-span-1 flex flex-col divide-y divide-gray-200 rounded-lg bg-white text-center shadow"
4132
- }, ei = { class: "flex flex-1 flex-col p-8" }, ti = { class: "text-2xl font-bold text-gray-900" }, si = { class: "mt-1 flex flex-grow flex-col justify-between" }, oi = { class: "mt-3 flex flex-wrap gap-x-1 gap-y-1 justify-center" }, li = {
4151
+ }, ei = { class: "flex flex-1 flex-col p-8" }, ti = { class: "text-2xl font-bold text-gray-900" }, si = { class: "mt-1 flex flex-grow flex-col justify-between" }, li = { class: "mt-3 flex flex-wrap gap-x-1 gap-y-1 justify-center" }, oi = {
4133
4152
  key: 1,
4134
4153
  class: "col-span-1 flex flex-col divide-y divide-gray-200 rounded-lg bg-white text-center shadow"
4135
4154
  }, ri = { class: "flex flex-1 flex-col p-8" }, ni = { class: "rounded-md p-3 flex items-center justify-center mx-auto mb-4 bg-gray-200" }, ai = { class: "mt-1 flex flex-grow flex-col justify-between" }, ii = { class: "mt-3 flex flex-wrap gap-x-1 gap-y-1 justify-center" }, di = /* @__PURE__ */ B({
@@ -4145,26 +4164,26 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
4145
4164
  },
4146
4165
  emits: ["deviceStatusTagClicked", "deviceStatusQtyClicked"],
4147
4166
  setup(p, { emit: i }) {
4148
- return (o, a) => o.loading ? (s(), n("div", li, [
4167
+ return (l, a) => l.loading ? (s(), n("div", oi, [
4149
4168
  e("div", ri, [
4150
4169
  e("div", ni, [
4151
4170
  g(j, {
4152
- icon: o.icon,
4171
+ icon: l.icon,
4153
4172
  size: "huge",
4154
4173
  class: "text-white",
4155
4174
  "aria-hidden": "true",
4156
- loading: o.loading
4175
+ loading: l.loading
4157
4176
  }, null, 8, ["icon", "loading"])
4158
4177
  ]),
4159
4178
  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)),
4160
4179
  e("dl", ai, [
4161
4180
  e("dd", ii, [
4162
- (s(!0), n(k, null, $(o.tags, (r, l) => (s(), _(R, {
4163
- key: l,
4164
- loading: o.loading,
4181
+ (s(!0), n(k, null, $(l.tags, (r, o) => (s(), _(R, {
4182
+ key: o,
4183
+ loading: l.loading,
4165
4184
  event: r.event,
4166
4185
  color: r.color,
4167
- onTagEvent: a[2] || (a[2] = (t) => o.$emit("deviceStatusTagClicked", t))
4186
+ onTagEvent: a[2] || (a[2] = (t) => l.$emit("deviceStatusTagClicked", t))
4168
4187
  }, {
4169
4188
  default: v(() => [
4170
4189
  D(u(r.name), 1)
@@ -4178,16 +4197,16 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
4178
4197
  e("div", ei, [
4179
4198
  e("div", {
4180
4199
  class: h(["rounded-md p-3 flex items-center justify-center mx-auto mb-4", {
4181
- "bg-green-500": !o.color || o.color === "green",
4182
- "bg-red-500": o.color === "red",
4183
- "bg-yellow-500": o.color === "yellow",
4184
- "bg-indigo-500": o.color === "primary",
4185
- "bg-cyan-300": o.color === "secondary",
4186
- "bg-gray-100": o.color === "light"
4200
+ "bg-green-500": !l.color || l.color === "green",
4201
+ "bg-red-500": l.color === "red",
4202
+ "bg-yellow-500": l.color === "yellow",
4203
+ "bg-indigo-500": l.color === "primary",
4204
+ "bg-cyan-300": l.color === "secondary",
4205
+ "bg-gray-100": l.color === "light"
4187
4206
  }])
4188
4207
  }, [
4189
4208
  g(j, {
4190
- icon: o.icon,
4209
+ icon: l.icon,
4191
4210
  size: "huge",
4192
4211
  class: "text-white",
4193
4212
  "aria-hidden": "true",
@@ -4195,22 +4214,22 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
4195
4214
  }, null, 8, ["icon"])
4196
4215
  ], 2),
4197
4216
  e("h3", ti, [
4198
- D(u(o.name) + " ", 1),
4217
+ D(u(l.name) + " ", 1),
4199
4218
  C(e("span", {
4200
4219
  class: "text-indigo-600 hover:text-indigo-900 cursor-pointer",
4201
- onClick: a[0] || (a[0] = (r) => o.$emit("deviceStatusQtyClicked", o.id))
4202
- }, "(" + u(o.qty) + ")", 513), [
4203
- [S, o.qty > 0]
4220
+ onClick: a[0] || (a[0] = (r) => l.$emit("deviceStatusQtyClicked", l.id))
4221
+ }, "(" + u(l.qty) + ")", 513), [
4222
+ [S, l.qty > 0]
4204
4223
  ])
4205
4224
  ]),
4206
4225
  e("dl", si, [
4207
- e("dd", oi, [
4208
- (s(!0), n(k, null, $(o.tags, (r, l) => (s(), _(R, {
4209
- key: l,
4226
+ e("dd", li, [
4227
+ (s(!0), n(k, null, $(l.tags, (r, o) => (s(), _(R, {
4228
+ key: o,
4210
4229
  loading: !1,
4211
4230
  event: r.event,
4212
4231
  color: r.color,
4213
- onTagEvent: a[1] || (a[1] = (t) => o.$emit("deviceStatusTagClicked", t))
4232
+ onTagEvent: a[1] || (a[1] = (t) => l.$emit("deviceStatusTagClicked", t))
4214
4233
  }, {
4215
4234
  default: v(() => [
4216
4235
  D(u(r.name), 1)
@@ -4251,13 +4270,13 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
4251
4270
  },
4252
4271
  emits: ["productBarClick", "sideBarClick"],
4253
4272
  setup(p, { emit: i }) {
4254
- return (o, a) => (s(), n("div", ui, [
4273
+ return (l, a) => (s(), n("div", ui, [
4255
4274
  e("div", ci, [
4256
4275
  e("ul", null, [
4257
- (s(!0), n(k, null, $(o.productsSidebar, (r, l) => (s(), n("li", {
4258
- key: l,
4276
+ (s(!0), n(k, null, $(l.productsSidebar, (r, o) => (s(), n("li", {
4277
+ key: o,
4259
4278
  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"]),
4260
- onClick: (t) => o.$emit("productBarClick", r.name)
4279
+ onClick: (t) => l.$emit("productBarClick", r.name)
4261
4280
  }, [
4262
4281
  g(j, {
4263
4282
  icon: r.icon,
@@ -4268,7 +4287,7 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
4268
4287
  ], 10, gi))), 128))
4269
4288
  ])
4270
4289
  ]),
4271
- o.loading ? (s(), n("div", _i, [
4290
+ l.loading ? (s(), n("div", _i, [
4272
4291
  (s(), n(k, null, $(5, (r) => e("div", $i, a[0] || (a[0] = [
4273
4292
  e("div", { class: "w-6 h-6 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 mr-4" }, null, -1),
4274
4293
  e("div", { class: "h-3 animate-pulse bg-gray-200 rounded-full w-1/2 dark:bg-gray-300" }, null, -1)
@@ -4277,15 +4296,15 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
4277
4296
  e("div", mi, [
4278
4297
  e("img", {
4279
4298
  class: "h-8 w-auto",
4280
- src: o.logo,
4299
+ src: l.logo,
4281
4300
  alt: "Your Company"
4282
4301
  }, null, 8, fi)
4283
4302
  ]),
4284
4303
  e("nav", yi, [
4285
- o.isFilterNavigation ? b("", !0) : (s(), n("ul", hi, [
4304
+ l.isFilterNavigation ? b("", !0) : (s(), n("ul", hi, [
4286
4305
  e("li", null, [
4287
4306
  e("ul", vi, [
4288
- (s(!0), n(k, null, $(o.navigation, (r) => (s(), n("li", {
4307
+ (s(!0), n(k, null, $(l.navigation, (r) => (s(), n("li", {
4289
4308
  key: r.name
4290
4309
  }, [
4291
4310
  r.children ? (s(), _(c(ye), {
@@ -4294,7 +4313,7 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
4294
4313
  }, {
4295
4314
  default: v(() => [
4296
4315
  g(c(U), {
4297
- onClick: (l) => o.$emit("sideBarClick", r.id),
4316
+ onClick: (o) => l.$emit("sideBarClick", r.id),
4298
4317
  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"])
4299
4318
  }, {
4300
4319
  default: v(() => [
@@ -4308,7 +4327,7 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
4308
4327
  }, null, 8, ["icon"]),
4309
4328
  D(" " + u(r.name) + " ", 1),
4310
4329
  g(c(X), {
4311
- 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"]),
4330
+ class: h([r.children.some((o) => o.current) || r.current ? "rotate-90 text-primary-500" : "text-gray-400", "ml-auto h-5 w-5 shrink-0"]),
4312
4331
  "aria-hidden": "true"
4313
4332
  }, null, 8, ["class"])
4314
4333
  ]),
@@ -4321,16 +4340,16 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
4321
4340
  static: ""
4322
4341
  }, {
4323
4342
  default: v(() => [
4324
- (s(!0), n(k, null, $(r.children, (l) => (s(), n("li", {
4325
- key: l.name
4343
+ (s(!0), n(k, null, $(r.children, (o) => (s(), n("li", {
4344
+ key: o.name
4326
4345
  }, [
4327
4346
  g(c(U), {
4328
4347
  as: "a",
4329
- onClick: (t) => o.$emit("sideBarClick", l.id),
4330
- 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"])
4348
+ onClick: (t) => l.$emit("sideBarClick", o.id),
4349
+ class: h([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"])
4331
4350
  }, {
4332
4351
  default: v(() => [
4333
- D(u(l.name), 1)
4352
+ D(u(o.name), 1)
4334
4353
  ]),
4335
4354
  _: 2
4336
4355
  }, 1032, ["onClick", "class"])
@@ -4339,13 +4358,13 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
4339
4358
  _: 2
4340
4359
  }, 1024)
4341
4360
  ], 512), [
4342
- [S, r.children.some((l) => l.current) || r.current]
4361
+ [S, r.children.some((o) => o.current) || r.current]
4343
4362
  ])
4344
4363
  ]),
4345
4364
  _: 2
4346
4365
  }, 1024)) : (s(), n("div", {
4347
4366
  key: 0,
4348
- onClick: (l) => o.$emit("sideBarClick", r.id),
4367
+ onClick: (o) => l.$emit("sideBarClick", r.id),
4349
4368
  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"])
4350
4369
  }, [
4351
4370
  g(j, {
@@ -4362,20 +4381,20 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
4362
4381
  ])
4363
4382
  ])
4364
4383
  ])),
4365
- o.isFilterNavigation && o.filterNavigation ? (s(), n("ul", wi, [
4384
+ l.isFilterNavigation && l.filterNavigation ? (s(), n("ul", wi, [
4366
4385
  e("li", xi, [
4367
- o.filterNavigation.hasSearch && o.filterNavigation.search ? (s(), _(Z, {
4386
+ l.filterNavigation.hasSearch && l.filterNavigation.search ? (s(), _(Z, {
4368
4387
  key: 0,
4369
- name: o.filterNavigation.search.name,
4370
- label: o.filterNavigation.search.label,
4371
- placeholder: o.filterNavigation.search.placeholder,
4372
- value: o.filterNavigation.search.value,
4373
- loading: o.filterNavigation.search.loading
4388
+ name: l.filterNavigation.search.name,
4389
+ label: l.filterNavigation.search.label,
4390
+ placeholder: l.filterNavigation.search.placeholder,
4391
+ value: l.filterNavigation.search.value,
4392
+ loading: l.filterNavigation.search.loading
4374
4393
  }, null, 8, ["name", "label", "placeholder", "value", "loading"])) : b("", !0)
4375
4394
  ]),
4376
- (s(!0), n(k, null, $(o.filterNavigation.items, (r, l) => (s(), n("li", {
4395
+ (s(!0), n(k, null, $(l.filterNavigation.items, (r, o) => (s(), n("li", {
4377
4396
  class: "ml-2",
4378
- key: l
4397
+ key: o
4379
4398
  }, [
4380
4399
  e("p", ki, u(r.label), 1),
4381
4400
  (s(!0), n(k, null, $(r.filters, (t, m) => (s(), _(Ne, {
@@ -4409,7 +4428,7 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
4409
4428
  },
4410
4429
  emits: ["productBarClick", "sideBarClick", "selectChanged", "topBarClick"],
4411
4430
  setup(p, { emit: i }) {
4412
- const o = p, a = A(""), r = P(() => a.value === "" ? o.topbar.selectItems : o.topbar.selectItems.filter((d) => d.name.toLowerCase().includes(a.value.toLowerCase()))), l = (d) => (d == null ? void 0 : d.name) ?? "", t = P(() => o.topbar.selectedItem), m = A(!1);
4431
+ const l = p, a = A(""), r = O(() => 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 = O(() => l.topbar.selectedItem), m = A(!1);
4413
4432
  return (d, f) => (s(), n("div", null, [
4414
4433
  g(c(pe), {
4415
4434
  as: "template",
@@ -4551,7 +4570,7 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
4551
4570
  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",
4552
4571
  onChange: f[7] || (f[7] = (y) => a.value = y.target.value),
4553
4572
  onBlur: f[8] || (f[8] = (y) => a.value = ""),
4554
- displayValue: l
4573
+ displayValue: o
4555
4574
  }),
4556
4575
  g(c(De), { class: "absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none" }, {
4557
4576
  default: v(() => [
@@ -4625,7 +4644,7 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
4625
4644
  alt: ""
4626
4645
  }, null, 8, Yi),
4627
4646
  e("span", Pi, [
4628
- g(c(le), {
4647
+ g(c(oe), {
4629
4648
  class: "ml-2 h-5 w-5 text-gray-400",
4630
4649
  "aria-hidden": "true"
4631
4650
  })
@@ -4682,15 +4701,15 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
4682
4701
  loading: { type: Boolean, default: !0 }
4683
4702
  },
4684
4703
  setup(p) {
4685
- 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 = A(0), r = A(o());
4686
- return Ze(() => a.value += 1), (l, t) => (s(), n("div", {
4704
+ 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 = A(0), r = A(l());
4705
+ return Ze(() => a.value += 1), (o, t) => (s(), n("div", {
4687
4706
  class: h([r.value, "grid grid-cols-1 md:grid-cols-2 gap-4"]),
4688
4707
  key: a.value
4689
4708
  }, [
4690
- (s(!0), n(k, null, $(l.dynamicStats, (m, d) => (s(), _(Re, {
4709
+ (s(!0), n(k, null, $(o.dynamicStats, (m, d) => (s(), _(Re, {
4691
4710
  key: d,
4692
4711
  item: m,
4693
- loading: l.loading
4712
+ loading: o.loading
4694
4713
  }, null, 8, ["item", "loading"]))), 128))
4695
4714
  ], 2));
4696
4715
  }
@@ -4700,7 +4719,7 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
4700
4719
  uiBreadcrumbs: Ss,
4701
4720
  uiButton: G,
4702
4721
  uiCard: As,
4703
- uiChart: Dl,
4722
+ uiChart: Do,
4704
4723
  uiCheckbox: Ne,
4705
4724
  uiCircleChart: Ra,
4706
4725
  uiDateRange: Ua,
@@ -4709,18 +4728,18 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
4709
4728
  uiDropdown: be,
4710
4729
  uiDynamicStats: Ri,
4711
4730
  uiFilter: Ys,
4712
- uiFooter: Nl,
4713
- uiFunnelChartV2: oa,
4731
+ uiFooter: No,
4732
+ uiFunnelChartV2: la,
4714
4733
  uiGallery: Sa,
4715
4734
  uiIcon: j,
4716
4735
  uiInput: Z,
4717
4736
  uiInputFile: Jt,
4718
- uiLoadingScreen: Al,
4737
+ uiLoadingScreen: Ao,
4719
4738
  uiModal: Ve,
4720
4739
  uiNoResults: aa,
4721
- uiNotification: eo,
4722
- uiPagination: Gl,
4723
- uiPriceCalendar: bl,
4740
+ uiNotification: el,
4741
+ uiPagination: Go,
4742
+ uiPriceCalendar: bo,
4724
4743
  uiRangeSlider: Wa,
4725
4744
  uiRightSidebar: va,
4726
4745
  uiSectionTitle: Ka,
@@ -4731,7 +4750,7 @@ const Nl = /* @__PURE__ */ te(Tl, [["render", Ll]]), Al = /* @__PURE__ */ B({
4731
4750
  uiTable: Xr,
4732
4751
  uiTabs: nn,
4733
4752
  uiTag: R,
4734
- uiTaskList: go,
4753
+ uiTaskList: cl,
4735
4754
  uiTextArea: as,
4736
4755
  uiTimeline: jn,
4737
4756
  uiToggle: cs,
@@ -4749,7 +4768,7 @@ export {
4749
4768
  Ss as uiBreadcrumbs,
4750
4769
  G as uiButton,
4751
4770
  As as uiCard,
4752
- Dl as uiChart,
4771
+ Do as uiChart,
4753
4772
  Ne as uiCheckbox,
4754
4773
  Ra as uiCircleChart,
4755
4774
  Ua as uiDateRange,
@@ -4758,18 +4777,18 @@ export {
4758
4777
  be as uiDropdown,
4759
4778
  Ri as uiDynamicStats,
4760
4779
  Ys as uiFilter,
4761
- Nl as uiFooter,
4762
- oa as uiFunnelChartV2,
4780
+ No as uiFooter,
4781
+ la as uiFunnelChartV2,
4763
4782
  Sa as uiGallery,
4764
4783
  j as uiIcon,
4765
4784
  Z as uiInput,
4766
4785
  Jt as uiInputFile,
4767
- Al as uiLoadingScreen,
4786
+ Ao as uiLoadingScreen,
4768
4787
  Ve as uiModal,
4769
4788
  aa as uiNoResults,
4770
- eo as uiNotification,
4771
- Gl as uiPagination,
4772
- bl as uiPriceCalendar,
4789
+ el as uiNotification,
4790
+ Go as uiPagination,
4791
+ bo as uiPriceCalendar,
4773
4792
  Wa as uiRangeSlider,
4774
4793
  va as uiRightSidebar,
4775
4794
  Ka as uiSectionTitle,
@@ -4780,7 +4799,7 @@ export {
4780
4799
  Xr as uiTable,
4781
4800
  nn as uiTabs,
4782
4801
  R as uiTag,
4783
- go as uiTaskList,
4802
+ cl as uiTaskList,
4784
4803
  as as uiTextArea,
4785
4804
  jn as uiTimeline,
4786
4805
  cs as uiToggle,