@hotelinking/ui 14.47.10 → 14.47.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ui.es.js CHANGED
@@ -1,10 +1,10 @@
1
- import { defineComponent as M, createBlock as k, createElementBlock as n, openBlock as l, resolveDynamicComponent as Re, normalizeClass as y, computed as Y, createCommentVNode as b, renderSlot as E, createElementVNode as e, ref as I, watch as H, unref as c, withCtx as h, createVNode as m, toDisplayString as g, createTextVNode as L, Transition as re, Fragment as $, renderList as S, withDirectives as B, vModelDynamic as ct, vShow as D, withModifiers as ye, vModelText as se, createStaticVNode as te, resolveComponent as Oe, vModelCheckbox as Ee, reactive as ae, isRef as xe, TransitionGroup as gt, onMounted as mt, shallowRef as pt, mergeProps as ve } from "vue";
1
+ import { defineComponent as M, createBlock as k, createElementBlock as n, openBlock as l, resolveDynamicComponent as Re, normalizeClass as y, computed as Y, createCommentVNode as b, renderSlot as E, createElementVNode as e, ref as I, watch as H, unref as c, withCtx as f, createVNode as m, toDisplayString as g, createTextVNode as z, Transition as re, Fragment as $, renderList as S, withDirectives as B, vModelDynamic as ct, vShow as D, withModifiers as ye, vModelText as se, createStaticVNode as te, resolveComponent as Fe, vModelCheckbox as Ee, reactive as ae, isRef as xe, TransitionGroup as gt, onMounted as mt, shallowRef as pt, mergeProps as ve } from "vue";
2
2
  import { Menu as _e, MenuButton as $e, MenuItems as Ce, MenuItem as Se, Combobox as Ue, ComboboxLabel as He, ComboboxInput as Ze, ComboboxButton as Je, ComboboxOptions as We, ComboboxOption as Ge, SwitchGroup as ft, Switch as ht, SwitchLabel as yt, TransitionRoot as Be, Dialog as Me, TransitionChild as X, DialogPanel as je, DialogTitle as Qe, Disclosure as De, DisclosureButton as Q, DisclosurePanel as Te, Listbox as vt, ListboxLabel as bt, ListboxButton as wt, ListboxOptions as kt, ListboxOption as xt, Popover as _t, PopoverButton as $t, PopoverPanel as Ct } from "@headlessui/vue";
3
3
  import V from "dayjs";
4
4
  import ze from "vue3-apexcharts";
5
5
  import St from "vue3-draggable";
6
6
  import Bt from "@vueform/slider";
7
- const A = /* @__PURE__ */ M({
7
+ const O = /* @__PURE__ */ M({
8
8
  __name: "uiIcon",
9
9
  props: {
10
10
  icon: {},
@@ -72,7 +72,7 @@ const A = /* @__PURE__ */ M({
72
72
  class: y(o.value),
73
73
  type: "button"
74
74
  }, [
75
- t.icon ? (l(), k(A, {
75
+ t.icon ? (l(), k(O, {
76
76
  key: 0,
77
77
  icon: t.icon,
78
78
  color: "white",
@@ -86,7 +86,7 @@ const A = /* @__PURE__ */ M({
86
86
  class: y(s.value),
87
87
  type: "button"
88
88
  }, [
89
- t.icon ? (l(), k(A, {
89
+ t.icon ? (l(), k(O, {
90
90
  key: 0,
91
91
  icon: t.icon,
92
92
  class: "-ml-0.5 mr-2",
@@ -99,7 +99,7 @@ const A = /* @__PURE__ */ M({
99
99
  }), Dt = {
100
100
  key: 0,
101
101
  class: "relative flex items-start"
102
- }, Tt = { class: "flex items-center h-5" }, zt = ["checked", "value", "disabled"], Lt = { class: "ml-3 text-sm" }, Ot = { class: "text-black" }, At = {
102
+ }, Tt = { class: "flex items-center h-5" }, zt = ["checked", "value", "disabled"], Lt = { class: "ml-3 text-sm" }, Ft = { class: "text-black" }, Ot = {
103
103
  key: 1,
104
104
  class: "flex items-center animate-pulse"
105
105
  }, Ke = /* @__PURE__ */ M({
@@ -118,7 +118,7 @@ const A = /* @__PURE__ */ M({
118
118
  };
119
119
  return H(() => i.check, (t) => {
120
120
  t && (s.value = t);
121
- }), (t, a) => t.loading ? (l(), n("div", At, a[1] || (a[1] = [
121
+ }), (t, a) => t.loading ? (l(), n("div", Ot, a[1] || (a[1] = [
122
122
  e("div", { class: "w-5 h-5 rounded bg-gray-200" }, null, -1),
123
123
  e("div", { class: "ml-3 h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28" }, null, -1)
124
124
  ]))) : (l(), n("div", Dt, [
@@ -133,14 +133,14 @@ const A = /* @__PURE__ */ M({
133
133
  }, null, 40, zt)
134
134
  ]),
135
135
  e("div", Lt, [
136
- e("span", Ot, [
136
+ e("span", Ft, [
137
137
  E(t.$slots, "default")
138
138
  ])
139
139
  ])
140
140
  ]));
141
141
  }
142
142
  });
143
- function Ft(p, u) {
143
+ function At(p, u) {
144
144
  return l(), n("svg", {
145
145
  xmlns: "http://www.w3.org/2000/svg",
146
146
  fill: "none",
@@ -514,7 +514,7 @@ function ot(p, u) {
514
514
  })
515
515
  ]);
516
516
  }
517
- function Ae(p, u) {
517
+ function Oe(p, u) {
518
518
  return l(), n("svg", {
519
519
  xmlns: "http://www.w3.org/2000/svg",
520
520
  fill: "none",
@@ -639,7 +639,7 @@ const Jt = {
639
639
  as: "div",
640
640
  class: y(["relative text-left", { "opacity-25": t.disabled }])
641
641
  }, {
642
- default: h(() => [
642
+ default: f(() => [
643
643
  e("div", null, [
644
644
  e("div", {
645
645
  class: y(["flex justify-between sha items-center", { "mt-1": t.label }])
@@ -648,8 +648,8 @@ const Jt = {
648
648
  t.requiredText ? (l(), n("span", Wt, g(t.requiredText), 1)) : b("", !0)
649
649
  ], 2),
650
650
  m(c($e), { class: "text-black inline-flex justify-between w-full rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-sm font-medium hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-black" }, {
651
- default: h(() => [
652
- L(g(s.value) + " ", 1),
651
+ default: f(() => [
652
+ z(g(s.value) + " ", 1),
653
653
  t.verticalPosition === "bottom" ? (l(), k(c(oe), {
654
654
  key: 0,
655
655
  "aria-hidden": "true",
@@ -672,7 +672,7 @@ const Jt = {
672
672
  "leave-from-class": "transform opacity-100 scale-100",
673
673
  "leave-to-class": "transform opacity-0 scale-95"
674
674
  }, {
675
- default: h(() => [
675
+ default: f(() => [
676
676
  t.disabled ? b("", !0) : (l(), k(c(Ce), {
677
677
  key: 0,
678
678
  class: y([{
@@ -682,10 +682,10 @@ const Jt = {
682
682
  "mt-2 shadow-lg": t.verticalPosition === "bottom"
683
683
  }, "origin-top-right absolute w-56 rounded-md bg-white ring-1 ring-black ring-opacity-5 focus:outline-none z-10"])
684
684
  }, {
685
- default: h(() => [
685
+ default: f(() => [
686
686
  e("div", Gt, [
687
- (l(!0), n($, null, S(t.items, (d, f) => (l(), k(c(Se), { key: f }, {
688
- default: h(() => [
687
+ (l(!0), n($, null, S(t.items, (d, h) => (l(), k(c(Se), { key: h }, {
688
+ default: f(() => [
689
689
  e("a", {
690
690
  onClick: (v) => o(d),
691
691
  class: y([
@@ -799,27 +799,27 @@ const Jt = {
799
799
  class: "inline-flex items-center px-3 rounded-r-md border border-l-0 border-black bg-black hover:bg-lime-400 hover:text-black text-white sm:text-sm cursor-pointer"
800
800
  }, g(t.rightAddOn), 1)) : b("", !0),
801
801
  e("div", ol, [
802
- t.icon ? (l(), k(A, {
802
+ t.icon ? (l(), k(O, {
803
803
  key: 0,
804
804
  icon: t.icon,
805
805
  color: t.color,
806
806
  loading: t.loading
807
807
  }, null, 8, ["icon", "color", "loading"])) : b("", !0),
808
- B(m(A, {
808
+ B(m(O, {
809
809
  icon: c(Le),
810
810
  color: "green",
811
811
  loading: t.loading
812
812
  }, null, 8, ["icon", "loading"]), [
813
813
  [D, t.color === "green"]
814
814
  ]),
815
- B(m(A, {
815
+ B(m(O, {
816
816
  icon: c(W),
817
817
  color: "yellow",
818
818
  loading: t.loading
819
819
  }, null, 8, ["icon", "loading"]), [
820
820
  [D, t.color === "yellow"]
821
821
  ]),
822
- B(m(A, {
822
+ B(m(O, {
823
823
  icon: c(K),
824
824
  color: "red",
825
825
  loading: t.loading
@@ -873,12 +873,12 @@ const Jt = {
873
873
  a(d.target.files), i("filesUploaded", { id: s.id, files: d.target.files });
874
874
  }, a = (d) => {
875
875
  r.value = "";
876
- let f = 1;
876
+ let h = 1;
877
877
  Object.values(d).forEach((v) => {
878
- f++, r.value += v.name, f >= 1 && f < d.length && (r.value += ", ");
878
+ h++, r.value += v.name, h >= 1 && h < d.length && (r.value += ", ");
879
879
  });
880
880
  };
881
- return (d, f) => d.loading ? (l(), n("div", vl, f[1] || (f[1] = [
881
+ return (d, h) => d.loading ? (l(), n("div", vl, h[1] || (h[1] = [
882
882
  e("div", { class: "flex justify-center items-center flex-col rounded-md border-2 border-dashed px-6 pt-5 pb-6 border-gray-200" }, [
883
883
  e("div", { class: "rounded-full h-20 w-20 bg-gray-200 mb-4" }),
884
884
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full md:w-1/3 mb-3" }),
@@ -898,12 +898,12 @@ const Jt = {
898
898
  ],
899
899
  "dropArea flex justify-center rounded-md border-2 border-dashed px-6 pt-5 pb-6"
900
900
  ]),
901
- onDragover: f[0] || (f[0] = ye(() => {
901
+ onDragover: h[0] || (h[0] = ye(() => {
902
902
  }, ["prevent"])),
903
903
  onDrop: ye(o, ["prevent"])
904
904
  }, [
905
905
  e("div", cl, [
906
- m(A, {
906
+ m(O, {
907
907
  icon: d.icon,
908
908
  size: "massive",
909
909
  color: "black",
@@ -936,13 +936,13 @@ const Jt = {
936
936
  ])
937
937
  ], 34),
938
938
  B(e("p", yl, [
939
- m(A, {
939
+ m(O, {
940
940
  icon: c(fe),
941
941
  color: "red",
942
942
  class: "mr-2",
943
943
  loading: d.loading
944
944
  }, null, 8, ["icon", "loading"]),
945
- L(" " + g(d.error), 1)
945
+ z(" " + g(d.error), 1)
946
946
  ], 512), [
947
947
  [D, d.error]
948
948
  ])
@@ -972,7 +972,7 @@ const Jt = {
972
972
  setup(p, { expose: u, emit: r }) {
973
973
  const i = I(""), s = r, o = p, t = Y(() => i.value === "" ? o.items : o.items.filter((v) => v.name.toLowerCase().includes(i.value.toLowerCase()))), a = (v) => v?.name ?? "", d = (v) => {
974
974
  s("selectChanged", v);
975
- }, f = Y({
975
+ }, h = Y({
976
976
  get: () => o.select,
977
977
  set: (v) => {
978
978
  d(v);
@@ -988,19 +988,19 @@ const Jt = {
988
988
  })
989
989
  ])) : (l(), k(c(Ue), {
990
990
  key: 0,
991
- modelValue: f.value,
991
+ modelValue: h.value,
992
992
  "onUpdate:modelValue": [
993
- j[2] || (j[2] = (w) => f.value = w),
993
+ j[2] || (j[2] = (w) => h.value = w),
994
994
  d
995
995
  ],
996
996
  disabled: v.disabled,
997
997
  as: "div"
998
998
  }, {
999
- default: h(() => [
999
+ default: f(() => [
1000
1000
  e("div", wl, [
1001
1001
  m(c(He), { class: "block text-sm font-medium" }, {
1002
- default: h(() => [
1003
- L(g(v.label), 1)
1002
+ default: f(() => [
1003
+ z(g(v.label), 1)
1004
1004
  ]),
1005
1005
  _: 1
1006
1006
  }),
@@ -1027,7 +1027,7 @@ const Jt = {
1027
1027
  }, "w-full rounded-md border py-2 pl-3 pr-10 shadow-sm focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 sm:text-sm"])
1028
1028
  }, null, 8, ["class"]),
1029
1029
  m(c(Je), { class: "absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none" }, {
1030
- default: h(() => [
1030
+ default: f(() => [
1031
1031
  m(c(be), {
1032
1032
  "aria-hidden": "true",
1033
1033
  class: "h-5 w-5 text-gray-400"
@@ -1039,13 +1039,13 @@ const Jt = {
1039
1039
  key: 0,
1040
1040
  class: "absolute z-10 mt-1 max-h-60 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"
1041
1041
  }, {
1042
- default: h(() => [
1042
+ default: f(() => [
1043
1043
  (l(!0), n($, null, S(t.value, (w) => (l(), k(c(Ge), {
1044
1044
  key: w.id,
1045
1045
  value: w,
1046
1046
  as: "template"
1047
1047
  }, {
1048
- default: h(({ active: T, selected: x }) => [
1048
+ default: f(({ active: T, selected: x }) => [
1049
1049
  e("li", {
1050
1050
  class: y([
1051
1051
  "relative cursor-default select-none py-2 pl-3 pr-9",
@@ -1145,19 +1145,19 @@ const Bl = { class: "flex justify-between" }, Ml = {
1145
1145
  ), a = (d) => {
1146
1146
  s.value = "", i("selectChanged", d);
1147
1147
  };
1148
- return (d, f) => (l(), k(c(Ue), {
1148
+ return (d, h) => (l(), k(c(Ue), {
1149
1149
  as: "div",
1150
1150
  modelValue: o.value,
1151
1151
  "onUpdate:modelValue": [
1152
- f[2] || (f[2] = (v) => o.value = v),
1152
+ h[2] || (h[2] = (v) => o.value = v),
1153
1153
  a
1154
1154
  ]
1155
1155
  }, {
1156
- default: h(() => [
1156
+ default: f(() => [
1157
1157
  e("div", Bl, [
1158
1158
  m(c(He), { class: "block text-sm font-medium" }, {
1159
- default: h(() => [
1160
- L(g(d.label), 1)
1159
+ default: f(() => [
1160
+ z(g(d.label), 1)
1161
1161
  ]),
1162
1162
  _: 1
1163
1163
  }),
@@ -1183,12 +1183,12 @@ const Bl = { class: "flex justify-between" }, Ml = {
1183
1183
  "text-yellow-400": d.color === "yellow",
1184
1184
  "text-green-600": d.color === "green"
1185
1185
  }, "w-full rounded-md border py-2 pl-3 pr-10 shadow-sm focus:border-lime-400 focus:outline-none focus:ring-1 focus:ring-lime-400 sm:text-sm"]),
1186
- onChange: f[0] || (f[0] = (v) => s.value = v.target.value),
1187
- onBlur: f[1] || (f[1] = (v) => s.value = ""),
1186
+ onChange: h[0] || (h[0] = (v) => s.value = v.target.value),
1187
+ onBlur: h[1] || (h[1] = (v) => s.value = ""),
1188
1188
  "display-value": (v) => v.name
1189
1189
  }, null, 8, ["class", "display-value"]),
1190
1190
  m(c(Je), { class: "h-full absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none" }, {
1191
- default: h(() => [
1191
+ default: f(() => [
1192
1192
  m(c(Sl), {
1193
1193
  class: "size-5 mt-1",
1194
1194
  "aria-hidden": "true"
@@ -1200,13 +1200,13 @@ const Bl = { class: "flex justify-between" }, Ml = {
1200
1200
  key: 0,
1201
1201
  class: "absolute z-10 mt-1 max-h-60 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black/5 focus:outline-none sm:text-sm"
1202
1202
  }, {
1203
- default: h(() => [
1203
+ default: f(() => [
1204
1204
  (l(!0), n($, null, S(t.value, (v) => (l(), k(c(Ge), {
1205
1205
  key: v.id,
1206
1206
  value: v,
1207
1207
  as: "template"
1208
1208
  }, {
1209
- default: h(({ active: j, selected: w }) => [
1209
+ default: f(({ active: j, selected: w }) => [
1210
1210
  e("li", {
1211
1211
  class: y(["relative cursor-default select-none py-2 pl-3 pr-9", j ? "bg-lime-400 outline-none" : "text-gray-900"])
1212
1212
  }, [
@@ -1294,10 +1294,10 @@ const Bl = { class: "flex justify-between" }, Ml = {
1294
1294
  key: 1,
1295
1295
  "data-test": "required",
1296
1296
  class: "text-[10px] uppercase justify-self-end"
1297
- }, Ol = ["disabled", "placeholder"], Al = {
1297
+ }, Fl = ["disabled", "placeholder"], Ol = {
1298
1298
  key: 1,
1299
1299
  class: "animate-pulse"
1300
- }, Fl = /* @__PURE__ */ M({
1300
+ }, Al = /* @__PURE__ */ M({
1301
1301
  __name: "uiTextArea",
1302
1302
  props: {
1303
1303
  name: {},
@@ -1317,7 +1317,7 @@ const Bl = { class: "flex justify-between" }, Ml = {
1317
1317
  }, o = I(i.value);
1318
1318
  return H(() => i.value, (t) => {
1319
1319
  o.value = t, r("inputChanged", { name: i.name, value: o.value });
1320
- }), (t, a) => t.loading ? (l(), n("div", Al, a[1] || (a[1] = [
1320
+ }), (t, a) => t.loading ? (l(), n("div", Ol, a[1] || (a[1] = [
1321
1321
  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),
1322
1322
  e("div", { class: "h-24 bg-gray-200 rounded-lg flex inline-flex items-center relative inline-block text-left w-full" }, null, -1)
1323
1323
  ]))) : (l(), n("div", Dl, [
@@ -1346,7 +1346,7 @@ const Bl = { class: "flex justify-between" }, Ml = {
1346
1346
  "text-green-600": t.color === "green"
1347
1347
  }]),
1348
1348
  onChange: s
1349
- }, null, 42, Ol), [
1349
+ }, null, 42, Fl), [
1350
1350
  [se, o.value]
1351
1351
  ])
1352
1352
  ], 2),
@@ -1358,13 +1358,13 @@ const Bl = { class: "flex justify-between" }, Ml = {
1358
1358
  "text-green-600": t.color === "green"
1359
1359
  }, "mt-2 text-xs flex flex-row items-center"])
1360
1360
  }, [
1361
- m(A, {
1361
+ m(O, {
1362
1362
  icon: c(fe),
1363
1363
  color: "red",
1364
1364
  class: "mr-2",
1365
1365
  loading: !1
1366
1366
  }, null, 8, ["icon"]),
1367
- L(" " + g(t.error), 1)
1367
+ z(" " + g(t.error), 1)
1368
1368
  ], 2), [
1369
1369
  [D, t.error]
1370
1370
  ])
@@ -1397,7 +1397,7 @@ const Bl = { class: "flex justify-between" }, Ml = {
1397
1397
  as: "div",
1398
1398
  class: "flex items-center relative"
1399
1399
  }, {
1400
- default: h(() => [
1400
+ default: f(() => [
1401
1401
  m(c(ht), {
1402
1402
  disabled: s.disabled,
1403
1403
  onClick: o[0] || (o[0] = (t) => s.$emit("toggleChanged", { item: s.item, active: !i.value })),
@@ -1408,7 +1408,7 @@ const Bl = { class: "flex justify-between" }, Ml = {
1408
1408
  "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-lime-400 focus:ring-offset-2"
1409
1409
  ])
1410
1410
  }, {
1411
- default: h(() => [
1411
+ default: f(() => [
1412
1412
  e("span", {
1413
1413
  "aria-hidden": "true",
1414
1414
  class: y([
@@ -1424,7 +1424,7 @@ const Bl = { class: "flex justify-between" }, Ml = {
1424
1424
  as: "span",
1425
1425
  class: "ml-3"
1426
1426
  }, {
1427
- default: h(() => [
1427
+ default: f(() => [
1428
1428
  e("span", Il, g(s.item.title), 1),
1429
1429
  s.item.subtitle ? (l(), n("span", Nl, g(s.item.subtitle), 1)) : b("", !0)
1430
1430
  ]),
@@ -1629,8 +1629,8 @@ const Bl = { class: "flex justify-between" }, Ml = {
1629
1629
  color: s.color,
1630
1630
  loading: r.loading
1631
1631
  }, {
1632
- default: h(() => [
1633
- L(g(s.name), 1)
1632
+ default: f(() => [
1633
+ z(g(s.name), 1)
1634
1634
  ]),
1635
1635
  _: 2
1636
1636
  }, 1032, ["color", "loading"]))), 128))
@@ -1684,13 +1684,13 @@ const Bl = { class: "flex justify-between" }, Ml = {
1684
1684
  as: "template",
1685
1685
  show: o.open
1686
1686
  }, {
1687
- default: h(() => [
1687
+ default: f(() => [
1688
1688
  m(c(Me), {
1689
1689
  as: "div",
1690
1690
  class: "relative z-50",
1691
1691
  onClose: t[1] || (t[1] = (a) => s("close"))
1692
1692
  }, {
1693
- default: h(() => [
1693
+ default: f(() => [
1694
1694
  m(c(X), {
1695
1695
  as: "template",
1696
1696
  enter: "ease-out duration-300",
@@ -1700,7 +1700,7 @@ const Bl = { class: "flex justify-between" }, Ml = {
1700
1700
  "leave-from": "opacity-100",
1701
1701
  "leave-to": "opacity-0"
1702
1702
  }, {
1703
- default: h(() => t[2] || (t[2] = [
1703
+ default: f(() => t[2] || (t[2] = [
1704
1704
  e("div", { class: "fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity" }, null, -1)
1705
1705
  ])),
1706
1706
  _: 1,
@@ -1717,14 +1717,14 @@ const Bl = { class: "flex justify-between" }, Ml = {
1717
1717
  "leave-from": "opacity-100 translate-y-0 sm:scale-100",
1718
1718
  "leave-to": "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"
1719
1719
  }, {
1720
- default: h(() => [
1720
+ default: f(() => [
1721
1721
  m(c(je), {
1722
1722
  class: y([{
1723
1723
  "sm:my-8 w-full sm:w-9/12 md:w-2/3 lg:w-1/2": o.size === "big",
1724
1724
  "w-full sm:my-8 sm:w-full sm:max-w-lg sm:p-6": o.size === "medium"
1725
1725
  }, "relative transform rounded-lg bg-white px-4 pb-4 pt-5 text-left shadow-xl transition-all"])
1726
1726
  }, {
1727
- default: h(() => [
1727
+ default: f(() => [
1728
1728
  e("div", ms, [
1729
1729
  e("button", {
1730
1730
  type: "button",
@@ -1732,7 +1732,7 @@ const Bl = { class: "flex justify-between" }, Ml = {
1732
1732
  onClick: t[0] || (t[0] = (a) => s("close"))
1733
1733
  }, [
1734
1734
  t[3] || (t[3] = e("span", { class: "sr-only" }, "X", -1)),
1735
- m(A, {
1735
+ m(O, {
1736
1736
  icon: c(K),
1737
1737
  "aria-hidden": "true",
1738
1738
  loading: o.loading
@@ -1778,8 +1778,8 @@ const Bl = { class: "flex justify-between" }, Ml = {
1778
1778
  as: "h3",
1779
1779
  class: "text-lg font-medium leading-6"
1780
1780
  }, {
1781
- default: h(() => [
1782
- L(g(o.title), 1)
1781
+ default: f(() => [
1782
+ z(g(o.title), 1)
1783
1783
  ]),
1784
1784
  _: 1
1785
1785
  }),
@@ -1791,7 +1791,7 @@ const Bl = { class: "flex justify-between" }, Ml = {
1791
1791
  key: d,
1792
1792
  type: "button",
1793
1793
  class: "inline-flex w-full justify-center rounded-md border border-transparent bg-black px-4 py-2 text-base font-medium text-white shadow-sm hover:bg-lime-400 hover:text-black 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",
1794
- onClick: (f) => s(a.value)
1794
+ onClick: (h) => s(a.value)
1795
1795
  }, g(a.name), 9, vs))), 128))
1796
1796
  ])) : b("", !0)
1797
1797
  ])
@@ -1839,7 +1839,7 @@ const Bl = { class: "flex justify-between" }, Ml = {
1839
1839
  "leave-from-class": "opacity-100",
1840
1840
  "leave-to-class": "opacity-0"
1841
1841
  }, {
1842
- default: h(() => [
1842
+ default: f(() => [
1843
1843
  i.value ? (l(), n("div", ws, [
1844
1844
  e("div", ks, [
1845
1845
  e("div", xs, [
@@ -1899,7 +1899,7 @@ const Bl = { class: "flex justify-between" }, Ml = {
1899
1899
  key: 0,
1900
1900
  role: "list",
1901
1901
  class: "divide-y divide-gray-100"
1902
- }, Ds = { class: "min-w-0" }, Ts = { class: "flex items-start gap-x-3" }, zs = { class: "text-sm font-semibold leading-6 text-gray-900" }, Ls = { class: "mt-1 flex items-center gap-x-2 text-xs leading-5 text-gray-500" }, Os = { class: "truncate" }, As = { class: "flex flex-none items-center gap-x-4" }, Fs = ["href"], Is = { class: "sr-only" }, Ns = {
1902
+ }, Ds = { class: "min-w-0" }, Ts = { class: "flex items-start gap-x-3" }, zs = { class: "text-sm font-semibold leading-6 text-gray-900" }, Ls = { class: "mt-1 flex items-center gap-x-2 text-xs leading-5 text-gray-500" }, Fs = { class: "truncate" }, Os = { class: "flex flex-none items-center gap-x-4" }, As = ["href"], Is = { class: "sr-only" }, Ns = {
1903
1903
  key: 1,
1904
1904
  class: "divide-y divide-gray-100 animate-pulse"
1905
1905
  }, Ps = /* @__PURE__ */ M({
@@ -1936,17 +1936,17 @@ const Bl = { class: "flex justify-between" }, Ml = {
1936
1936
  }, g(i.statusLiteral), 3)
1937
1937
  ]),
1938
1938
  e("div", Ls, [
1939
- e("p", Os, g(i.description), 1)
1939
+ e("p", Fs, g(i.description), 1)
1940
1940
  ])
1941
1941
  ]),
1942
- e("div", As, [
1942
+ e("div", Os, [
1943
1943
  e("a", {
1944
1944
  href: i.href,
1945
1945
  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"
1946
1946
  }, [
1947
- L(g(i.action), 1),
1947
+ z(g(i.action), 1),
1948
1948
  e("span", Is, ", " + g(i.name), 1)
1949
- ], 8, Fs)
1949
+ ], 8, As)
1950
1950
  ])
1951
1951
  ]))), 128))
1952
1952
  ]));
@@ -1955,9 +1955,9 @@ const Bl = { class: "flex justify-between" }, Ml = {
1955
1955
  function Vs(p) {
1956
1956
  return p && p.__esModule && Object.prototype.hasOwnProperty.call(p, "default") ? p.default : p;
1957
1957
  }
1958
- var de = { exports: {} }, Ys = de.exports, Fe;
1958
+ var de = { exports: {} }, Ys = de.exports, Ae;
1959
1959
  function qs() {
1960
- return Fe || (Fe = 1, (function(p, u) {
1960
+ return Ae || (Ae = 1, (function(p, u) {
1961
1961
  (function(r, i) {
1962
1962
  p.exports = i(V);
1963
1963
  })(Ys, (function(r) {
@@ -1982,9 +1982,9 @@ function Es() {
1982
1982
  return d && typeof d == "object" && "default" in d ? d : { default: d };
1983
1983
  }
1984
1984
  var s = i(r), 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"] };
1985
- function t(d, f, v) {
1985
+ function t(d, h, v) {
1986
1986
  var j = o[v];
1987
- return Array.isArray(j) && (j = j[f ? 0 : 1]), j.replace("%d", d);
1987
+ return Array.isArray(j) && (j = j[h ? 0 : 1]), j.replace("%d", d);
1988
1988
  }
1989
1989
  var a = { 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) {
1990
1990
  return d + ".";
@@ -2062,7 +2062,7 @@ const le = (p, u) => {
2062
2062
  }
2063
2063
  }, Gs = { class: "dateSelector flex items-center flex-row" }, Qs = { class: "pagination flex items-center my-1 md:my-0" }, Ks = { class: "date mx-4 font-bold text-center text-black select-none uppercase" }, Xs = { class: "pagination flex items-center my-1 sm:my-0" };
2064
2064
  function eo(p, u, r, i, s, o) {
2065
- const t = Oe("ChevronLeftIcon"), a = Oe("ChevronRightIcon");
2065
+ const t = Fe("ChevronLeftIcon"), a = Fe("ChevronRightIcon");
2066
2066
  return l(), n("div", Gs, [
2067
2067
  e("div", Qs, [
2068
2068
  e("div", {
@@ -2189,7 +2189,7 @@ function co(p, u, r, i, s, o) {
2189
2189
  }, [
2190
2190
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-6" }),
2191
2191
  e("span", { class: "sr-only" }, [
2192
- L(", {"),
2192
+ z(", {"),
2193
2193
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-6" })
2194
2194
  ])
2195
2195
  ])
@@ -2299,10 +2299,10 @@ const ie = /* @__PURE__ */ le(xo, [["render", $o]]), Co = {
2299
2299
  colspan: "20",
2300
2300
  scope: "colgroup",
2301
2301
  class: "bg-gray-200 py-2 pl-4 pr-3 text-left font-semibold"
2302
- }, Lo = { key: 0 }, Oo = {
2302
+ }, Lo = { key: 0 }, Fo = {
2303
2303
  colspan: "6",
2304
2304
  class: "pl-4"
2305
- }, Ao = { key: 1 }, Fo = {
2305
+ }, Oo = { key: 1 }, Ao = {
2306
2306
  colspan: "6",
2307
2307
  class: "pl-4"
2308
2308
  }, Io = { key: 2 }, No = {
@@ -2362,14 +2362,14 @@ const ie = /* @__PURE__ */ le(xo, [["render", $o]]), Co = {
2362
2362
  for (let q = 0; q < 14; q++)
2363
2363
  C.push(V(o.value).add(q, "day"));
2364
2364
  return C;
2365
- }), d = Y(() => t.value.length > 0 && t.value.length < r.rooms.length), f = (C) => {
2365
+ }), d = Y(() => t.value.length > 0 && t.value.length < r.rooms.length), h = (C) => {
2366
2366
  V(C).isBefore(s.value) || (o.value = C, i("dateChanged", o.value));
2367
2367
  }, v = (C) => {
2368
2368
  let q = r.category.selectionPrices.find((N) => V(N.date).isSame(C.date));
2369
2369
  return q ? q.price : C.price;
2370
2370
  }, j = (C) => {
2371
2371
  t.value = C.target.checked ? r.rooms.map((q) => q.id) : [];
2372
- }, w = () => i("changeCategoryBulkPrices"), T = (C) => i("changeCategorySelectionPrice", C), x = (C) => i("changeCategoryUpgradePrice", C), F = (C) => i("tableAction", C), O = (C, q, N) => i("changeRoomPrice", { price: C, roomId: q, roomName: N });
2372
+ }, w = () => i("changeCategoryBulkPrices"), T = (C) => i("changeCategorySelectionPrice", C), x = (C) => i("changeCategoryUpgradePrice", C), A = (C) => i("tableAction", C), F = (C, q, N) => i("changeRoomPrice", { price: C, roomId: q, roomName: N });
2373
2373
  return (C, q) => C.loading ? (l(), k(nt, { key: 1 })) : (l(), n("div", Co, [
2374
2374
  e("div", So, [
2375
2375
  e("div", Bo, [
@@ -2380,7 +2380,7 @@ const ie = /* @__PURE__ */ le(xo, [["render", $o]]), Co = {
2380
2380
  e("th", To, [
2381
2381
  m(to, {
2382
2382
  selectedDate: o.value,
2383
- onDateSelected: q[0] || (q[0] = (N) => f(N))
2383
+ onDateSelected: q[0] || (q[0] = (N) => h(N))
2384
2384
  }, null, 8, ["selectedDate"])
2385
2385
  ]),
2386
2386
  (l(!0), n($, null, S(a.value, (N, _) => (l(), n("th", {
@@ -2403,15 +2403,15 @@ const ie = /* @__PURE__ */ le(xo, [["render", $o]]), Co = {
2403
2403
  size: "small",
2404
2404
  onClick: w
2405
2405
  }, {
2406
- default: h(() => [
2407
- L(g(C.literals.changeInBulk), 1)
2406
+ default: f(() => [
2407
+ z(g(C.literals.changeInBulk), 1)
2408
2408
  ]),
2409
2409
  _: 1
2410
2410
  }, 8, ["loading"])
2411
2411
  ])
2412
2412
  ]),
2413
2413
  C.type === "discounts" ? (l(), n("tr", Lo, [
2414
- e("td", Oo, g(C.literals.pricesDiscount), 1),
2414
+ e("td", Fo, g(C.literals.pricesDiscount), 1),
2415
2415
  (l(!0), n($, null, S(C.category.selectionPrices, (N, _) => (l(), n("td", {
2416
2416
  key: _,
2417
2417
  class: "p-0"
@@ -2425,8 +2425,8 @@ const ie = /* @__PURE__ */ le(xo, [["render", $o]]), Co = {
2425
2425
  }, null, 8, ["onClick", "price", "currency"])
2426
2426
  ]))), 128))
2427
2427
  ])) : b("", !0),
2428
- C.type === "prices" ? (l(), n("tr", Ao, [
2429
- e("td", Fo, g(C.literals.pricesSelection), 1),
2428
+ C.type === "prices" ? (l(), n("tr", Oo, [
2429
+ e("td", Ao, g(C.literals.pricesSelection), 1),
2430
2430
  (l(!0), n($, null, S(C.category.selectionPrices, (N, _) => (l(), n("td", {
2431
2431
  key: _,
2432
2432
  class: "p-0"
@@ -2459,7 +2459,7 @@ const ie = /* @__PURE__ */ le(xo, [["render", $o]]), Co = {
2459
2459
  e("th", Po, [
2460
2460
  t.value?.length > 0 && C.actions?.length > 0 ? (l(), n("div", Vo, [
2461
2461
  (l(!0), n($, null, S(C.actions, (N, _) => (l(), n("button", {
2462
- onClick: (P) => F({ action: N.id, items: t.value }),
2462
+ onClick: (P) => A({ action: N.id, items: t.value }),
2463
2463
  key: _,
2464
2464
  type: "button",
2465
2465
  class: "inline-flex items-center rounded bg-lime-400 hover:bg-black hover:text-white px-2.5 py-1.5 text-xs font-medium shadow-sm disabled:cursor-not-allowed disabled:opacity-30"
@@ -2510,7 +2510,7 @@ const ie = /* @__PURE__ */ le(xo, [["render", $o]]), Co = {
2510
2510
  key: P
2511
2511
  }, [
2512
2512
  m(ie, {
2513
- onClick: (z) => O(_, N.id, N.name),
2513
+ onClick: (L) => F(_, N.id, N.name),
2514
2514
  class: "border-l border-gray-200 px-6 py-3 text-black hover:text-lime-400 cursor-pointer",
2515
2515
  price: _,
2516
2516
  currency: C.currency.symbol,
@@ -2566,10 +2566,10 @@ const ie = /* @__PURE__ */ le(xo, [["render", $o]]), Co = {
2566
2566
  },
2567
2567
  colors: function() {
2568
2568
  return s.isNps ? [
2569
- function({ value: x, seriesIndex: F, dataPointIndex: O, w: C }) {
2570
- if (O <= 5) return "#F87171";
2571
- if (O > 5 && O <= 7) return "#eab308";
2572
- if (O >= 8) return "#84cc16";
2569
+ function({ value: x, seriesIndex: A, dataPointIndex: F, w: C }) {
2570
+ if (F <= 5) return "#F87171";
2571
+ if (F > 5 && F <= 7) return "#eab308";
2572
+ if (F >= 8) return "#84cc16";
2573
2573
  }
2574
2574
  ] : [
2575
2575
  "#000000",
@@ -2611,12 +2611,12 @@ const ie = /* @__PURE__ */ le(xo, [["render", $o]]), Co = {
2611
2611
  }
2612
2612
  ]
2613
2613
  }), s.type === "area" && (a.tooltip = { intersect: !1, shared: !0 });
2614
- const d = () => (a.chart.stacked = s.stacked, s.options && (s.options.xaxis.hideOverlappingLabels = !0, s.options.xaxis.decimalsInFloat = 2, s.options.xaxis.tickAmount = 10), { ...a, ...s.options, plotOptions: { bar: { horizontal: s.horizontal } } }), f = () => {
2614
+ const d = () => (a.chart.stacked = s.stacked, s.options && (s.options.xaxis.hideOverlappingLabels = !0, s.options.xaxis.decimalsInFloat = 2, s.options.xaxis.tickAmount = 10), { ...a, ...s.options, plotOptions: { bar: { horizontal: s.horizontal } } }), h = () => {
2615
2615
  o.from !== "" && o.to !== "" && V(o.from).isBefore(V(o.to)) && r("selectedRange", { range: o, chartId: s.id });
2616
- }, v = Y(() => s.series), j = Y(() => d()), w = () => r("chartUpdated"), T = (x, F, O) => {
2617
- r("dataPointSelection", { id: s.id, chartContext: F, config: O, event: x });
2616
+ }, v = Y(() => s.series), j = Y(() => d()), w = () => r("chartUpdated"), T = (x, A, F) => {
2617
+ r("dataPointSelection", { id: s.id, chartContext: A, config: F, event: x });
2618
2618
  };
2619
- return (x, F) => (l(), n($, null, [
2619
+ return (x, A) => (l(), n($, null, [
2620
2620
  B(e("div", {
2621
2621
  class: y(["h-[" + x.height + "px]", "card chart apex-chart p-4 bg-white shadow rounded-lg overflow-hidden flex grow"])
2622
2622
  }, [
@@ -2628,8 +2628,8 @@ const ie = /* @__PURE__ */ le(xo, [["render", $o]]), Co = {
2628
2628
  color: "red",
2629
2629
  loading: !1
2630
2630
  }, {
2631
- default: h(() => [
2632
- m(A, {
2631
+ default: f(() => [
2632
+ m(O, {
2633
2633
  icon: c(Rt),
2634
2634
  loading: !1,
2635
2635
  color: "red"
@@ -2643,8 +2643,8 @@ const ie = /* @__PURE__ */ le(xo, [["render", $o]]), Co = {
2643
2643
  color: "yellow",
2644
2644
  loading: !1
2645
2645
  }, {
2646
- default: h(() => [
2647
- m(A, {
2646
+ default: f(() => [
2647
+ m(O, {
2648
2648
  icon: c(qt),
2649
2649
  loading: !1,
2650
2650
  color: "yellow"
@@ -2658,8 +2658,8 @@ const ie = /* @__PURE__ */ le(xo, [["render", $o]]), Co = {
2658
2658
  color: "green",
2659
2659
  loading: !1
2660
2660
  }, {
2661
- default: h(() => [
2662
- m(A, {
2661
+ default: f(() => [
2662
+ m(O, {
2663
2663
  icon: c(Et),
2664
2664
  loading: !1,
2665
2665
  color: "green"
@@ -2673,9 +2673,9 @@ const ie = /* @__PURE__ */ le(xo, [["render", $o]]), Co = {
2673
2673
  e("div", nr, [
2674
2674
  B(e("input", {
2675
2675
  type: "datetime-local",
2676
- "onUpdate:modelValue": F[0] || (F[0] = (O) => c(o).from = O),
2676
+ "onUpdate:modelValue": A[0] || (A[0] = (F) => c(o).from = F),
2677
2677
  max: i.value.toString(),
2678
- onChange: f,
2678
+ onChange: h,
2679
2679
  name: "from",
2680
2680
  id: "from",
2681
2681
  class: "text-xs relative block w-full rounded rounded-r-none border-0 bg-transparent py-1.5 text-gray-900 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:z-10 focus:ring-2 focus:ring-inset focus:ring-indigo-600"
@@ -2686,9 +2686,9 @@ const ie = /* @__PURE__ */ le(xo, [["render", $o]]), Co = {
2686
2686
  e("div", dr, [
2687
2687
  B(e("input", {
2688
2688
  type: "datetime-local",
2689
- "onUpdate:modelValue": F[1] || (F[1] = (O) => c(o).to = O),
2689
+ "onUpdate:modelValue": A[1] || (A[1] = (F) => c(o).to = F),
2690
2690
  max: i.value.toString(),
2691
- onChange: f,
2691
+ onChange: h,
2692
2692
  name: "to",
2693
2693
  id: "to",
2694
2694
  class: "text-xs relative block w-full -mr-2 rounded rounded-l-none border-0 bg-transparent py-1.5 text-gray-900 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:z-10 focus:ring-2 focus:ring-inset focus:ring-indigo-600"
@@ -2696,12 +2696,12 @@ const ie = /* @__PURE__ */ le(xo, [["render", $o]]), Co = {
2696
2696
  [se, c(o).to]
2697
2697
  ])
2698
2698
  ]),
2699
- m(A, {
2699
+ m(O, {
2700
2700
  class: "ml-4 cursor-pointer",
2701
2701
  size: "big",
2702
2702
  loading: x.loading,
2703
2703
  icon: c(Xe),
2704
- onClick: F[2] || (F[2] = (O) => x.$emit("maximizeChart", x.id))
2704
+ onClick: A[2] || (A[2] = (F) => x.$emit("maximizeChart", x.id))
2705
2705
  }, null, 8, ["loading", "icon"])
2706
2706
  ])
2707
2707
  ]),
@@ -2722,13 +2722,13 @@ const ie = /* @__PURE__ */ le(xo, [["render", $o]]), Co = {
2722
2722
  B(e("div", {
2723
2723
  class: y(["h-[" + x.height + "px]", "w-full flex items-center justify-center flex-col"])
2724
2724
  }, [
2725
- m(A, {
2725
+ m(O, {
2726
2726
  icon: c(W),
2727
2727
  color: "gray",
2728
2728
  loading: !1,
2729
2729
  size: "massive"
2730
2730
  }, null, 8, ["icon"]),
2731
- F[3] || (F[3] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data for this time frame", -1))
2731
+ A[3] || (A[3] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data for this time frame", -1))
2732
2732
  ], 2), [
2733
2733
  [D, x.empty]
2734
2734
  ])
@@ -2737,7 +2737,7 @@ const ie = /* @__PURE__ */ le(xo, [["render", $o]]), Co = {
2737
2737
  ]),
2738
2738
  B(e("div", {
2739
2739
  class: y(["h-[" + x.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80"])
2740
- }, F[4] || (F[4] = [
2740
+ }, A[4] || (A[4] = [
2741
2741
  e("div", {
2742
2742
  role: "status",
2743
2743
  class: "w-full animate-pulse h-full flex flex-col"
@@ -2839,11 +2839,11 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
2839
2839
  () => Math.min(Number(i.current) + Number(s.value), Number(i.total))
2840
2840
  ), a = Y(() => {
2841
2841
  let d = [];
2842
- for (let f = Number(o.value); f <= Number(t.value); f++)
2843
- d.push(f);
2842
+ for (let h = Number(o.value); h <= Number(t.value); h++)
2843
+ d.push(h);
2844
2844
  return d;
2845
2845
  });
2846
- return (d, f) => d.loading ? (l(), n("div", Tr, f[3] || (f[3] = [
2846
+ return (d, h) => d.loading ? (l(), n("div", Tr, h[3] || (h[3] = [
2847
2847
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/5" }, null, -1),
2848
2848
  e("div", { class: "h-10 w-32 bg-gray-200 rounded dark:bg-gray-300" }, null, -1)
2849
2849
  ]))) : (l(), n("div", vr, [
@@ -2863,7 +2863,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
2863
2863
  E(d.$slots, "of"),
2864
2864
  e("span", Cr, g(d.total), 1),
2865
2865
  E(d.$slots, "pages"),
2866
- f[2] || (f[2] = e("span", { class: "font-bold mx-1" }, "/", -1)),
2866
+ h[2] || (h[2] = e("span", { class: "font-bold mx-1" }, "/", -1)),
2867
2867
  E(d.$slots, "fromTotal"),
2868
2868
  e("span", Sr, g(d.totalItems), 1)
2869
2869
  ])
@@ -2872,7 +2872,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
2872
2872
  e("nav", Br, [
2873
2873
  B(e("button", {
2874
2874
  ref: "test-first-button",
2875
- onClick: f[0] || (f[0] = (v) => r("changePage", d.current - 1)),
2875
+ onClick: h[0] || (h[0] = (v) => r("changePage", d.current - 1)),
2876
2876
  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"
2877
2877
  }, [
2878
2878
  e("span", Mr, [
@@ -2895,7 +2895,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
2895
2895
  }, g(v), 11, jr))), 128)),
2896
2896
  B(e("button", {
2897
2897
  ref: "test-last-button",
2898
- onClick: f[1] || (f[1] = (v) => r("changePage", d.current + 1)),
2898
+ onClick: h[1] || (h[1] = (v) => r("changePage", d.current + 1)),
2899
2899
  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"
2900
2900
  }, [
2901
2901
  e("span", Dr, [
@@ -2913,7 +2913,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
2913
2913
  ])
2914
2914
  ]));
2915
2915
  }
2916
- }), Lr = { class: "hidden md:flex md:flex-col sticky md:inset-y-0" }, Or = { class: "flex flex-col flex-grow overflow-y-auto" }, Ar = { class: "grow flex flex-col" }, Fr = {
2916
+ }), Lr = { class: "hidden md:flex md:flex-col sticky md:inset-y-0" }, Fr = { class: "flex flex-col flex-grow overflow-y-auto" }, Or = { class: "grow flex flex-col" }, Ar = {
2917
2917
  class: "flex-1 space-y-1",
2918
2918
  "aria-label": "Sidebar"
2919
2919
  }, Ir = { key: 0 }, Nr = ["onClick"], Pr = {
@@ -2944,9 +2944,9 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
2944
2944
  setup(p, { emit: u }) {
2945
2945
  const r = p, i = u, s = Y(() => r.navigation ? Array.isArray(r.navigation) ? r.navigation : [r.navigation] : []);
2946
2946
  return (o, t) => (l(), n("div", Lr, [
2947
- e("div", Or, [
2948
- e("div", Ar, [
2949
- e("nav", Fr, [
2947
+ e("div", Fr, [
2948
+ e("div", Or, [
2949
+ e("nav", Ar, [
2950
2950
  o.loading ? (l(), n($, { key: 1 }, S(5, (a) => e("div", Er, t[1] || (t[1] = [
2951
2951
  e("div", { class: "w-6 h-6 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 mr-4" }, null, -1),
2952
2952
  e("div", { class: "h-3 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 grow" }, null, -1)
@@ -2958,12 +2958,12 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
2958
2958
  as: "div",
2959
2959
  class: "space-y-1"
2960
2960
  }, {
2961
- default: h(({ open: d }) => [
2961
+ default: f(({ open: d }) => [
2962
2962
  m(c(Q), {
2963
2963
  class: y([a.current ? "bg-indigo-600 text-white" : "text-gray-600 hover:bg-gray-50 hover:text-gray-900", "group w-full flex items-center pl-2 pr-1 py-2 text-left text-sm font-medium rounded-md focus:outline-none"])
2964
2964
  }, {
2965
- default: h(() => [
2966
- a.icon ? (l(), k(A, {
2965
+ default: f(() => [
2966
+ a.icon ? (l(), k(O, {
2967
2967
  key: 0,
2968
2968
  loading: o.loading,
2969
2969
  icon: a.icon,
@@ -2983,14 +2983,14 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
2983
2983
  _: 2
2984
2984
  }, 1032, ["class"]),
2985
2985
  m(c(Te), { class: "space-y-1" }, {
2986
- default: h(() => [
2987
- (l(!0), n($, null, S(a.children, (f) => (l(), k(c(Q), {
2988
- onClick: (v) => i("sideBarClick", f.id),
2989
- key: f.name,
2990
- class: y([f.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"])
2986
+ default: f(() => [
2987
+ (l(!0), n($, null, S(a.children, (h) => (l(), k(c(Q), {
2988
+ onClick: (v) => i("sideBarClick", h.id),
2989
+ key: h.name,
2990
+ class: y([h.current ? "bg-gray-200" : "hover:text-gray-900 hover:bg-gray-100", "group text-gray-600 w-full flex items-center text-left pl-11 pr-2 py-2 text-sm font-medium rounded-md"])
2991
2991
  }, {
2992
- default: h(() => [
2993
- o.loading ? (l(), n("div", Rr)) : (l(), n("span", qr, g(f.name), 1))
2992
+ default: f(() => [
2993
+ o.loading ? (l(), n("div", Rr)) : (l(), n("span", qr, g(h.name), 1))
2994
2994
  ]),
2995
2995
  _: 2
2996
2996
  }, 1032, ["onClick", "class"]))), 128))
@@ -3007,7 +3007,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3007
3007
  "group w-full flex items-center pl-2 py-2 text-sm font-medium rounded-md"
3008
3008
  ])
3009
3009
  }, [
3010
- a.icon ? (l(), k(A, {
3010
+ a.icon ? (l(), k(O, {
3011
3011
  key: 0,
3012
3012
  loading: o.loading,
3013
3013
  icon: a.icon,
@@ -3101,13 +3101,13 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3101
3101
  key: 1,
3102
3102
  as: "div"
3103
3103
  }, {
3104
- default: h(() => [
3104
+ default: f(() => [
3105
3105
  m(c(Q), {
3106
3106
  onClick: (a) => s.$emit("sideBarClick", t.id),
3107
3107
  class: y([t.current ? "bg-lime-100" : "hover:bg-lime-100", "flex w-full items-center gap-x-3 rounded-md p-2 text-left text-sm font-semibold leading-6 text-gray-700"])
3108
3108
  }, {
3109
- default: h(() => [
3110
- m(A, {
3109
+ default: f(() => [
3110
+ m(O, {
3111
3111
  icon: t.icon,
3112
3112
  color: "primary",
3113
3113
  size: "big",
@@ -3115,7 +3115,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3115
3115
  "aria-hidden": "true",
3116
3116
  class: "shrink-0"
3117
3117
  }, null, 8, ["icon"]),
3118
- L(" " + g(t.name) + " ", 1),
3118
+ z(" " + g(t.name) + " ", 1),
3119
3119
  m(c(ne), {
3120
3120
  class: y([t.children.some((a) => a.current) || t.current ? "rotate-90 text-black" : "text-gray-400", "ml-auto h-5 w-5 shrink-0"]),
3121
3121
  "aria-hidden": "true"
@@ -3129,7 +3129,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3129
3129
  class: "mt-1 px-2",
3130
3130
  static: ""
3131
3131
  }, {
3132
- default: h(() => [
3132
+ default: f(() => [
3133
3133
  (l(!0), n($, null, S(t.children, (a) => (l(), n("li", {
3134
3134
  key: a.name
3135
3135
  }, [
@@ -3138,8 +3138,8 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3138
3138
  onClick: (d) => s.$emit("sideBarClick", a.id),
3139
3139
  class: y([a.current ? "bg-lime-100" : "hover:bg-lime-100", "block rounded-md py-2 pl-9 pr-2 text-sm leading-6 text-gray-700 cursor-pointer"])
3140
3140
  }, {
3141
- default: h(() => [
3142
- L(g(a.name), 1)
3141
+ default: f(() => [
3142
+ z(g(a.name), 1)
3143
3143
  ]),
3144
3144
  _: 2
3145
3145
  }, 1032, ["onClick", "class"])
@@ -3157,7 +3157,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3157
3157
  onClick: (a) => s.$emit("sideBarClick", t.id),
3158
3158
  class: y([t.current ? "bg-lime-100" : "hover:bg-lime-100", "group flex gap-x-3 rounded-md p-2 text-sm font-semibold leading-6 text-gray-700 cursor-pointer"])
3159
3159
  }, [
3160
- m(A, {
3160
+ m(O, {
3161
3161
  icon: t.icon,
3162
3162
  color: "primary",
3163
3163
  size: "big",
@@ -3165,7 +3165,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3165
3165
  "aria-hidden": "true",
3166
3166
  class: "shrink-0"
3167
3167
  }, null, 8, ["icon"]),
3168
- L(" " + g(t.name), 1)
3168
+ z(" " + g(t.name), 1)
3169
3169
  ], 10, la))
3170
3170
  ]))), 128))
3171
3171
  ])
@@ -3188,13 +3188,13 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3188
3188
  key: a
3189
3189
  }, [
3190
3190
  e("p", ra, g(t.label), 1),
3191
- (l(!0), n($, null, S(t.filters, (d, f) => (l(), k(Ke, {
3191
+ (l(!0), n($, null, S(t.filters, (d, h) => (l(), k(Ke, {
3192
3192
  class: "mb-2",
3193
3193
  value: d.value,
3194
3194
  loading: d.loading
3195
3195
  }, {
3196
- default: h(() => [
3197
- L(g(d.text), 1)
3196
+ default: f(() => [
3197
+ z(g(d.text), 1)
3198
3198
  ]),
3199
3199
  _: 2
3200
3200
  }, 1032, ["value", "loading"]))), 256))
@@ -3220,7 +3220,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3220
3220
  e("div", ya, [
3221
3221
  e("dt", null, [
3222
3222
  e("div", va, [
3223
- m(A, {
3223
+ m(O, {
3224
3224
  loading: r.loading,
3225
3225
  icon: r.item.icon,
3226
3226
  class: "h-6 w-6 text-white",
@@ -3247,7 +3247,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3247
3247
  "bg-yellow-400": r.item.color === "yellow"
3248
3248
  }])
3249
3249
  }, [
3250
- m(A, {
3250
+ m(O, {
3251
3251
  icon: r.item.icon,
3252
3252
  class: "h-6 w-6",
3253
3253
  "aria-hidden": "true",
@@ -3280,7 +3280,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3280
3280
  class: "self-center flex-shrink-0 h-3 w-3 text-red-500",
3281
3281
  "aria-hidden": "true"
3282
3282
  })) : b("", !0),
3283
- L(" " + g(r.item.change), 1)
3283
+ z(" " + g(r.item.change), 1)
3284
3284
  ], 2)) : b("", !0),
3285
3285
  B(e("div", pa, [
3286
3286
  e("div", fa, [
@@ -3354,8 +3354,8 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3354
3354
  color: o.color,
3355
3355
  class: "mr-2 mb-2"
3356
3356
  }, {
3357
- default: h(() => [
3358
- L(g(o.text), 1)
3357
+ default: f(() => [
3358
+ z(g(o.text), 1)
3359
3359
  ]),
3360
3360
  _: 2
3361
3361
  }, 1032, ["loading", "color"]))), 128))
@@ -3395,7 +3395,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3395
3395
  })
3396
3396
  ], -1)),
3397
3397
  e("div", null, [
3398
- m(A, {
3398
+ m(O, {
3399
3399
  icon: c(Zt),
3400
3400
  loading: !1,
3401
3401
  color: "white",
@@ -3405,7 +3405,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3405
3405
  e("span", za, g(p.tip), 1)
3406
3406
  ]));
3407
3407
  }
3408
- }, Oa = { key: 0 }, Aa = { class: "flex flex-col" }, Fa = { class: "-my-2 overflow-x-auto" }, Ia = { class: "inline-block min-w-full py-2 align-middle px-1" }, Na = { class: "relative overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg" }, Pa = {
3408
+ }, Fa = { key: 0 }, Oa = { class: "flex flex-col" }, Aa = { class: "-my-2 overflow-x-auto" }, Ia = { class: "inline-block min-w-full py-2 align-middle px-1" }, Na = { class: "relative overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg" }, Pa = {
3409
3409
  key: 0,
3410
3410
  class: "absolute top-0 left-12 flex h-12 items-center space-x-3 sm:left-16 bg-white shadow rounded px-4 py-1 z-10"
3411
3411
  }, Va = ["onClick"], Ya = { class: "min-w-full table-fixed divide-y divide-gray-300" }, qa = { class: "bg-lime-50" }, Ra = ["checked", "indeterminate"], Ea = ["onMouseover", "onMouseleave"], Ua = ["onClick"], Ha = {
@@ -3433,22 +3433,22 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3433
3433
  () => r.value.length > 0 && r.value.length < t.items.length
3434
3434
  ), d = (w, T) => {
3435
3435
  i.value !== w && T && (i.value = w), T || (i.value = void 0);
3436
- }, f = (w) => {
3436
+ }, h = (w) => {
3437
3437
  r.value = w.target.checked ? t.items.map((T) => T.id) : [];
3438
3438
  }, v = (w) => {
3439
3439
  o("customEmit", w);
3440
3440
  }, j = (w) => t.hiddenColumns && t.hiddenColumns.length > 0 ? !t.hiddenColumns.includes(w) : !0;
3441
3441
  return H(() => t.resetSelected, (w) => {
3442
3442
  s.value = w, w && s.value && (r.value = [], s.value = !w, o("selectedItemsDeleted"));
3443
- }), (w, T) => w.loading ? (l(), k(nt, { key: 1 })) : (l(), n("div", Oa, [
3444
- e("div", Aa, [
3445
- e("div", Fa, [
3443
+ }), (w, T) => w.loading ? (l(), k(nt, { key: 1 })) : (l(), n("div", Fa, [
3444
+ e("div", Oa, [
3445
+ e("div", Aa, [
3446
3446
  e("div", Ia, [
3447
3447
  e("div", Na, [
3448
3448
  c(r)?.length > 0 && w.actions?.length > 0 ? (l(), n("div", Pa, [
3449
- (l(!0), n($, null, S(w.actions, (x, F) => (l(), n("button", {
3450
- onClick: (O) => w.$emit("tableAction", { action: x.id, items: c(r) }),
3451
- key: F,
3449
+ (l(!0), n($, null, S(w.actions, (x, A) => (l(), n("button", {
3450
+ onClick: (F) => w.$emit("tableAction", { action: x.id, items: c(r) }),
3451
+ key: A,
3452
3452
  type: "button",
3453
3453
  class: "inline-flex items-center rounded bg-lime-400 hover:bg-black px-2.5 py-1.5 text-xs font-medium text-white shadow-sm disabled:cursor-not-allowed disabled:opacity-30"
3454
3454
  }, g(x.name), 9, Va))), 128))
@@ -3466,15 +3466,15 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3466
3466
  indeterminate: a.value,
3467
3467
  class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-black focus:ring-lime-400",
3468
3468
  type: "checkbox",
3469
- onChange: f
3469
+ onChange: h
3470
3470
  }, null, 40, Ra)) : b("", !0)
3471
3471
  ], 2),
3472
- (l(!0), n($, null, S(w.header, (x, F) => B((l(), n("th", {
3473
- key: F,
3472
+ (l(!0), n($, null, S(w.header, (x, A) => B((l(), n("th", {
3473
+ key: A,
3474
3474
  class: "py-3.5 pr-3 text-left font-semibold relative",
3475
3475
  scope: "col",
3476
- onMouseover: (O) => d(x.name, !0),
3477
- onMouseleave: (O) => d(x.name, !1)
3476
+ onMouseover: (F) => d(x.name, !0),
3477
+ onMouseleave: (F) => d(x.name, !1)
3478
3478
  }, [
3479
3479
  x.tooltip ? B((l(), k(La, {
3480
3480
  key: 0,
@@ -3485,7 +3485,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3485
3485
  x.value ? (l(), n("button", {
3486
3486
  key: 1,
3487
3487
  class: "group flex items-center uppercase text-xs relative text-nowrap",
3488
- onClick: (O) => o("orderBy", { value: x.value, orderDirection: w.orderDirection === "asc" ? "desc" : "asc" })
3488
+ onClick: (F) => o("orderBy", { value: x.value, orderDirection: w.orderDirection === "asc" ? "desc" : "asc" })
3489
3489
  }, [
3490
3490
  e("span", null, g(x.name), 1),
3491
3491
  e("span", {
@@ -3493,7 +3493,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3493
3493
  x.value === w.orderedBy ? "bg-black text-white group-hover:bg-lime-400 group-hover:text-black" : "group-hover:visible group-focus:visible"
3494
3494
  ], "ml-2 flex-none rounded group-hover:bg-lime-200 group-hover:text-white"])
3495
3495
  }, [
3496
- m(A, {
3496
+ m(O, {
3497
3497
  icon: w.orderDirection === "asc" ? c(oe) : c(st),
3498
3498
  loading: w.loading,
3499
3499
  color: x.value === w.orderedBy ? "white" : "primary"
@@ -3503,16 +3503,16 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3503
3503
  e("span", null, g(x.name), 1)
3504
3504
  ]))
3505
3505
  ], 40, Ea)), [
3506
- [D, j(F)]
3506
+ [D, j(A)]
3507
3507
  ])), 128))
3508
3508
  ])
3509
3509
  ]),
3510
3510
  e("tbody", Za, [
3511
- (l(!0), n($, null, S(w.items, (x, F) => (l(), n("tr", {
3511
+ (l(!0), n($, null, S(w.items, (x, A) => (l(), n("tr", {
3512
3512
  key: x.id,
3513
3513
  class: y([
3514
3514
  c(r).includes(x.id) && "bg-gray-50",
3515
- F % 2 == 0 ? void 0 : "bg-gray-50"
3515
+ A % 2 == 0 ? void 0 : "bg-gray-50"
3516
3516
  ])
3517
3517
  }, [
3518
3518
  e("td", {
@@ -3521,7 +3521,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3521
3521
  c(r).includes(x.id) ? (l(), n("div", Ja)) : b("", !0),
3522
3522
  w.actions?.length > 0 ? B((l(), n("input", {
3523
3523
  key: 1,
3524
- "onUpdate:modelValue": T[0] || (T[0] = (O) => xe(r) ? r.value = O : r = O),
3524
+ "onUpdate:modelValue": T[0] || (T[0] = (F) => xe(r) ? r.value = F : r = F),
3525
3525
  value: x.id,
3526
3526
  class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-black focus:ring-lime-400 flex-wrap",
3527
3527
  type: "checkbox"
@@ -3529,31 +3529,31 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3529
3529
  [Ee, c(r)]
3530
3530
  ]) : b("", !0)
3531
3531
  ], 2),
3532
- (l(!0), n($, null, S(x.row, (O, C) => B((l(), n("td", {
3532
+ (l(!0), n($, null, S(x.row, (F, C) => B((l(), n("td", {
3533
3533
  key: C,
3534
3534
  class: y([
3535
3535
  "whitespace-nowrap py-4 pr-3 text-sm",
3536
3536
  c(r).includes(x.id) ? "text-black font-bold" : ""
3537
3537
  ])
3538
3538
  }, [
3539
- typeof O == "object" && O.type === "tag" ? (l(), k(Z, {
3539
+ typeof F == "object" && F.type === "tag" ? (l(), k(Z, {
3540
3540
  key: 0,
3541
3541
  loading: w.loading,
3542
- color: O.color
3542
+ color: F.color
3543
3543
  }, {
3544
- default: h(() => [
3545
- L(g(O.content), 1)
3544
+ default: f(() => [
3545
+ z(g(F.content), 1)
3546
3546
  ]),
3547
3547
  _: 2
3548
- }, 1032, ["loading", "color"])) : typeof O == "object" && O.type === "link" ? (l(), n("span", {
3548
+ }, 1032, ["loading", "color"])) : typeof F == "object" && F.type === "link" ? (l(), n("span", {
3549
3549
  key: 1,
3550
3550
  class: "text-black font-bold underline hover:text-lime-400 cursor-pointer",
3551
- onClick: (q) => v(O)
3552
- }, g(O.content), 9, Ga)) : typeof O == "object" && O.type === "href" ? (l(), n("a", {
3551
+ onClick: (q) => v(F)
3552
+ }, g(F.content), 9, Ga)) : typeof F == "object" && F.type === "href" ? (l(), n("a", {
3553
3553
  key: 2,
3554
3554
  class: "text-black font-bold underline hover:text-lime-400 cursor-pointer",
3555
- href: O.href
3556
- }, g(O.content), 9, Qa)) : (l(), n("span", Ka, g(O), 1))
3555
+ href: F.href
3556
+ }, g(F.content), 9, Qa)) : (l(), n("span", Ka, g(F), 1))
3557
3557
  ], 2)), [
3558
3558
  [D, j(C)]
3559
3559
  ])), 128))
@@ -3606,7 +3606,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3606
3606
  ]),
3607
3607
  "aria-current": t.current ? "page" : void 0
3608
3608
  }, [
3609
- L(g(t.name) + " ", 1),
3609
+ z(g(t.name) + " ", 1),
3610
3610
  t.count ? (l(), n("span", {
3611
3611
  key: 0,
3612
3612
  class: y([
@@ -3692,7 +3692,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3692
3692
  tag: "ul",
3693
3693
  class: "-mb-8"
3694
3694
  }, {
3695
- default: h(() => [
3695
+ default: f(() => [
3696
3696
  (l(!0), n($, null, S(i.items, (t, a) => (l(), n("li", { key: a }, [
3697
3697
  e("div", gn, [
3698
3698
  a < i.items.length - 1 ? (l(), n("span", mn)) : b("", !0),
@@ -3705,7 +3705,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3705
3705
  "bg-yellow-400": t?.iconBackground === "warning"
3706
3706
  }, "h-8 w-8 rounded-full flex items-center justify-center ring-4 ring-white"])
3707
3707
  }, [
3708
- m(A, {
3708
+ m(O, {
3709
3709
  loading: s.loading,
3710
3710
  icon: t?.icon,
3711
3711
  "aria-hidden": "true",
@@ -3721,7 +3721,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3721
3721
  onClick: (d) => s.$emit("timelineEventClicked", t.linkId),
3722
3722
  class: "font-medium text-black hover:text-lime-400 cursor-pointer"
3723
3723
  }, g(t?.target), 9, yn),
3724
- L(" " + g(t?.content), 1)
3724
+ z(" " + g(t?.content), 1)
3725
3725
  ])
3726
3726
  ]),
3727
3727
  e("div", vn, [
@@ -3746,7 +3746,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3746
3746
  }, g(s.timeline.footerText), 1)
3747
3747
  ])
3748
3748
  ])) : (l(), n("div", xn, [
3749
- m(A, {
3749
+ m(O, {
3750
3750
  icon: c(W),
3751
3751
  color: "gray",
3752
3752
  loading: !1,
@@ -3756,7 +3756,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3756
3756
  ]))
3757
3757
  ], 2));
3758
3758
  }
3759
- }), Dn = { class: "mx-auto px-6 lg:px-8" }, Tn = { class: "flex justify-between h-20" }, zn = { class: "flex" }, Ln = { class: "-ml-2 mr-2 flex items-center lg:hidden" }, On = ["src"], An = { class: "flex items-center" }, Fn = { class: "lg:ml-4 lg:flex-shrink-0 lg:flex lg:items-center hidden" }, In = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute -top-0 -left-1" }, Nn = ["src"], Pn = ["onClick"], Vn = { class: "pt-2 pb-3 space-y-1" }, Yn = ["onClick"], qn = { class: "pt-4 pb-3 border-t border-gray-200" }, Rn = { class: "flex items-center px-4 sm:px-6" }, En = { class: "flex-shrink-0" }, Un = ["src"], Hn = {
3759
+ }), Dn = { class: "mx-auto px-6 lg:px-8" }, Tn = { class: "flex justify-between h-20" }, zn = { class: "flex" }, Ln = { class: "-ml-2 mr-2 flex items-center lg:hidden" }, Fn = ["src"], On = { class: "flex items-center" }, An = { class: "lg:ml-4 lg:flex-shrink-0 lg:flex lg:items-center hidden" }, In = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute -top-0 -left-1" }, Nn = ["src"], Pn = ["onClick"], Vn = { class: "pt-2 pb-3 space-y-1" }, Yn = ["onClick"], qn = { class: "pt-4 pb-3 border-t border-gray-200" }, Rn = { class: "flex items-center px-4 sm:px-6" }, En = { class: "flex-shrink-0" }, Un = ["src"], Hn = {
3760
3760
  key: 0,
3761
3761
  class: "ml-3"
3762
3762
  }, Zn = { class: "text-base font-medium text-gray-800" }, Jn = { class: "text-sm font-medium text-gray-500" }, Wn = { class: "mt-3 space-y-1" }, Gn = ["onClick"], Qn = /* @__PURE__ */ M({
@@ -3776,13 +3776,13 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3776
3776
  as: "nav",
3777
3777
  class: "bg-white shadow z-10"
3778
3778
  }, {
3779
- default: h(({ open: t }) => [
3779
+ default: f(({ open: t }) => [
3780
3780
  e("div", Dn, [
3781
3781
  e("div", Tn, [
3782
3782
  e("div", zn, [
3783
3783
  e("div", Ln, [
3784
3784
  m(c(Q), { class: "inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500" }, {
3785
- default: h(() => [
3785
+ default: f(() => [
3786
3786
  o[1] || (o[1] = e("span", { class: "sr-only" }, "Open main menu", -1)),
3787
3787
  t ? (l(), k(c(K), {
3788
3788
  key: 1,
@@ -3806,19 +3806,19 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3806
3806
  class: "h-10",
3807
3807
  src: s.logo,
3808
3808
  alt: "Hotelinking suite product logo"
3809
- }, null, 8, On)
3809
+ }, null, 8, Fn)
3810
3810
  ])
3811
3811
  ]),
3812
- e("div", An, [
3813
- e("div", Fn, [
3812
+ e("div", On, [
3813
+ e("div", An, [
3814
3814
  m(c(_e), {
3815
3815
  as: "div",
3816
3816
  class: "ml-3 relative"
3817
3817
  }, {
3818
- default: h(() => [
3818
+ default: f(() => [
3819
3819
  e("div", null, [
3820
3820
  B(m(c($e), { class: "bg-white rounded-full flex text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 relative" }, {
3821
- default: h(() => [
3821
+ default: f(() => [
3822
3822
  B(e("div", In, o[2] || (o[2] = [
3823
3823
  e("span", { class: "animate-ping absolute inline-flex h-4 w-4 bg-red-500 rounded-full opacity-75" }, null, -1)
3824
3824
  ]), 512), [
@@ -3842,15 +3842,15 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3842
3842
  "leave-from-class": "transform opacity-100 scale-100",
3843
3843
  "leave-to-class": "transform opacity-0 scale-95"
3844
3844
  }, {
3845
- default: h(() => [
3845
+ default: f(() => [
3846
3846
  m(c(Ce), { class: "origin-top-right absolute right-0 mt-2 w-48 rounded-md shadow-lg py-1 bg-white ring-1 ring-black ring-opacity-5 focus:outline-none" }, {
3847
- default: h(() => [
3847
+ default: f(() => [
3848
3848
  (l(!0), n($, null, S(s.profileMenu, (a) => (l(), k(c(Se), {
3849
3849
  key: a.name
3850
3850
  }, {
3851
- default: h(({ active: d }) => [
3851
+ default: f(({ active: d }) => [
3852
3852
  e("p", {
3853
- onClick: (f) => s.$emit("topBarClick", a.id),
3853
+ onClick: (h) => s.$emit("topBarClick", a.id),
3854
3854
  class: y(["cursor-pointer", [
3855
3855
  d ? "bg-gray-100" : "",
3856
3856
  "block px-4 py-2 text-sm text-gray-700"
@@ -3873,7 +3873,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3873
3873
  ])
3874
3874
  ]),
3875
3875
  m(c(Te), { class: "lg:hidden" }, {
3876
- default: h(() => [
3876
+ default: f(() => [
3877
3877
  e("div", Vn, [
3878
3878
  (l(!0), n($, null, S(i.value, (a) => (l(), k(c(Q), {
3879
3879
  as: "template",
@@ -3883,7 +3883,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3883
3883
  "border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700": !a.current
3884
3884
  }])
3885
3885
  }, {
3886
- default: h(() => [
3886
+ default: f(() => [
3887
3887
  e("p", {
3888
3888
  onClick: (d) => s.$emit("topBarClick", a.id)
3889
3889
  }, g(a.name), 9, Yn)
@@ -3910,7 +3910,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3910
3910
  key: a.name,
3911
3911
  class: "block px-4 py-2 text-base font-medium text-gray-500 hover:text-gray-800 hover:bg-gray-100 sm:px-6"
3912
3912
  }, {
3913
- default: h(() => [
3913
+ default: f(() => [
3914
3914
  e("p", {
3915
3915
  onClick: (d) => s.$emit("topBarClick", a.id)
3916
3916
  }, g(a.name), 9, Gn)
@@ -3993,8 +3993,8 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
3993
3993
  ],
3994
3994
  dataLabels: {
3995
3995
  enabled: !0,
3996
- formatter: function(f, v) {
3997
- return v.w.globals.labels[v.dataPointIndex] + ": " + f;
3996
+ formatter: function(h, v) {
3997
+ return v.w.globals.labels[v.dataPointIndex] + ": " + h;
3998
3998
  }
3999
3999
  },
4000
4000
  markers: {
@@ -4013,36 +4013,36 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4013
4013
  }
4014
4014
  }
4015
4015
  };
4016
- const o = Y(() => ({ ...i.options, ...s })), t = Y(() => i.series), a = () => r("chartUpdated"), d = (f, v, j) => {
4017
- r("dataPointSelection", { id: i.id, chartContext: v, config: j, event: f });
4016
+ const o = Y(() => ({ ...i.options, ...s })), t = Y(() => i.series), a = () => r("chartUpdated"), d = (h, v, j) => {
4017
+ r("dataPointSelection", { id: i.id, chartContext: v, config: j, event: h });
4018
4018
  };
4019
- return (f, v) => (l(), n($, null, [
4019
+ return (h, v) => (l(), n($, null, [
4020
4020
  B(e("div", {
4021
- class: y(["h-[" + f.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow"])
4021
+ class: y(["h-[" + h.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow"])
4022
4022
  }, [
4023
4023
  e("div", ei, [
4024
- e("div", ti, g(f.title), 1),
4024
+ e("div", ti, g(h.title), 1),
4025
4025
  m(Xn, {
4026
- range: f.range,
4027
- onRangeSelected: v[0] || (v[0] = (j) => f.$emit("selectedRange", { range: j, chartId: f.id }))
4026
+ range: h.range,
4027
+ onRangeSelected: v[0] || (v[0] = (j) => h.$emit("selectedRange", { range: j, chartId: h.id }))
4028
4028
  }, null, 8, ["range"])
4029
4029
  ]),
4030
4030
  B(e("div", li, [
4031
4031
  m(c(ze), {
4032
- type: f.type,
4032
+ type: h.type,
4033
4033
  series: t.value,
4034
4034
  width: "100%",
4035
- height: f.height,
4035
+ height: h.height,
4036
4036
  options: o.value,
4037
4037
  onUpdated: a,
4038
4038
  onMounted: a,
4039
4039
  onDataPointSelection: d
4040
4040
  }, null, 8, ["type", "series", "height", "options"])
4041
4041
  ], 512), [
4042
- [D, !f.empty]
4042
+ [D, !h.empty]
4043
4043
  ]),
4044
4044
  B(e("div", si, [
4045
- m(A, {
4045
+ m(O, {
4046
4046
  icon: c(W),
4047
4047
  color: "gray",
4048
4048
  loading: !1,
@@ -4050,10 +4050,10 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4050
4050
  }, null, 8, ["icon"]),
4051
4051
  v[1] || (v[1] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1))
4052
4052
  ], 512), [
4053
- [D, f.empty]
4053
+ [D, h.empty]
4054
4054
  ])
4055
4055
  ], 2), [
4056
- [D, !f.loading]
4056
+ [D, !h.loading]
4057
4057
  ]),
4058
4058
  B(e("div", oi, v[2] || (v[2] = [
4059
4059
  e("div", {
@@ -4082,7 +4082,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4082
4082
  ])
4083
4083
  ], -1)
4084
4084
  ]), 512), [
4085
- [D, f.loading]
4085
+ [D, h.loading]
4086
4086
  ])
4087
4087
  ], 64));
4088
4088
  }
@@ -4098,7 +4098,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4098
4098
  emits: ["action", "noResultsOptionSelected"],
4099
4099
  setup(p) {
4100
4100
  return (u, r) => (l(), n("div", ai, [
4101
- m(A, {
4101
+ m(O, {
4102
4102
  class: "mx-auto",
4103
4103
  loading: !1,
4104
4104
  icon: c(W),
@@ -4114,8 +4114,8 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4114
4114
  loading: !1,
4115
4115
  onClick: (o) => u.$emit("action", i.action)
4116
4116
  }, {
4117
- default: h(() => [
4118
- L(g(i.text), 1)
4117
+ default: f(() => [
4118
+ z(g(i.text), 1)
4119
4119
  ]),
4120
4120
  _: 2
4121
4121
  }, 1032, ["onClick"]))), 128)),
@@ -4142,13 +4142,13 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4142
4142
  as: "template",
4143
4143
  show: r.open
4144
4144
  }, {
4145
- default: h(() => [
4145
+ default: f(() => [
4146
4146
  m(c(Me), {
4147
4147
  as: "div",
4148
4148
  class: "relative z-10",
4149
4149
  onClose: i[1] || (i[1] = (s) => r.$emit("closeRightBar"))
4150
4150
  }, {
4151
- default: h(() => [
4151
+ default: f(() => [
4152
4152
  i[4] || (i[4] = e("div", { class: "fixed inset-0" }, null, -1)),
4153
4153
  e("div", gi, [
4154
4154
  e("div", mi, [
@@ -4162,15 +4162,15 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4162
4162
  "leave-from": "translate-x-0",
4163
4163
  "leave-to": "translate-x-full"
4164
4164
  }, {
4165
- default: h(() => [
4165
+ default: f(() => [
4166
4166
  m(c(je), { class: "pointer-events-auto w-screen max-w-md" }, {
4167
- default: h(() => [
4167
+ default: f(() => [
4168
4168
  e("div", fi, [
4169
4169
  e("div", hi, [
4170
4170
  e("div", yi, [
4171
4171
  m(c(Qe), { class: "text-base font-semibold leading-6" }, {
4172
- default: h(() => [
4173
- L(g(r.title), 1)
4172
+ default: f(() => [
4173
+ z(g(r.title), 1)
4174
4174
  ]),
4175
4175
  _: 1
4176
4176
  }),
@@ -4245,7 +4245,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4245
4245
  actions: [{ value: "close", name: o.literals.closeAction }, { value: `deleteGallery_${o.galleryId}`, name: o.literals.deleteAction }],
4246
4246
  onModalAction: t[0] || (t[0] = (a) => s(a))
4247
4247
  }, {
4248
- default: h(() => [
4248
+ default: f(() => [
4249
4249
  e("p", null, g(o.literals.modalText), 1)
4250
4250
  ]),
4251
4251
  _: 1
@@ -4276,7 +4276,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4276
4276
  e("p", Mi, g(a.title), 1),
4277
4277
  e("div", ji, [
4278
4278
  e("p", Di, g(a.size), 1),
4279
- m(A, {
4279
+ m(O, {
4280
4280
  class: "cursor-pointer",
4281
4281
  icon: c(pe),
4282
4282
  color: "red",
@@ -4294,14 +4294,14 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4294
4294
  color: "red",
4295
4295
  size: "small"
4296
4296
  }, {
4297
- default: h(() => [
4298
- L(g(o.literals.deleteAllImages), 1)
4297
+ default: f(() => [
4298
+ z(g(o.literals.deleteAllImages), 1)
4299
4299
  ]),
4300
4300
  _: 1
4301
4301
  })) : b("", !0)
4302
4302
  ]));
4303
4303
  }
4304
- }), Li = { class: "cursor-move mb-1 relative flex items-center space-x-3 rounded-lg border border-gray-300 bg-white p-4 shadow-sm focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 hover:border-gray-400" }, Oi = { class: "flex flex-row items-center w-full" }, Ai = { class: "content text-sm grow" }, Fi = { class: "font-bold" }, Ii = { key: 0 }, Ni = { class: "font-bold text-gray-400" }, Pi = {
4304
+ }), Li = { class: "cursor-move mb-1 relative flex items-center space-x-3 rounded-lg border border-gray-300 bg-white p-4 shadow-sm focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 hover:border-gray-400" }, Fi = { class: "flex flex-row items-center w-full" }, Oi = { class: "content text-sm grow" }, Ai = { class: "font-bold" }, Ii = { key: 0 }, Ni = { class: "font-bold text-gray-400" }, Pi = {
4305
4305
  key: 1,
4306
4306
  class: "animate-pulse"
4307
4307
  }, Vi = /* @__PURE__ */ M({
@@ -4330,18 +4330,18 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4330
4330
  a[1] || (a[1] = (d) => o(d))
4331
4331
  ]
4332
4332
  }, {
4333
- item: h(({ item: d }) => [
4333
+ item: f(({ item: d }) => [
4334
4334
  e("div", Li, [
4335
- e("div", Oi, [
4336
- m(A, {
4335
+ e("div", Fi, [
4336
+ m(O, {
4337
4337
  icon: c(Vt),
4338
4338
  loading: !1,
4339
4339
  color: "gray",
4340
4340
  class: "mr-4",
4341
4341
  size: "big"
4342
4342
  }, null, 8, ["icon"]),
4343
- e("div", Ai, [
4344
- e("p", Fi, g(d.name), 1),
4343
+ e("div", Oi, [
4344
+ e("p", Ai, g(d.name), 1),
4345
4345
  d.description ? (l(), n("p", Ii, g(d.description), 1)) : b("", !0)
4346
4346
  ]),
4347
4347
  e("div", Ni, g(c(s).indexOf(d) + 1), 1)
@@ -4410,8 +4410,8 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4410
4410
  }
4411
4411
  }
4412
4412
  };
4413
- const a = () => ({ ...t, ...i.options }), d = Y(() => i.series), f = Y(() => a()), v = () => r("chartUpdated"), j = (T, x, F) => {
4414
- r("dataPointSelection", { id: i.id, chartContext: x, config: F, event: T });
4413
+ const a = () => ({ ...t, ...i.options }), d = Y(() => i.series), h = Y(() => a()), v = () => r("chartUpdated"), j = (T, x, A) => {
4414
+ r("dataPointSelection", { id: i.id, chartContext: x, config: A, event: T });
4415
4415
  }, w = () => {
4416
4416
  o.from !== "" && o.to !== "" && V(o.from).isBefore(V(o.to)) && r("selectedRange", { range: o, chartId: i.id });
4417
4417
  };
@@ -4425,7 +4425,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4425
4425
  e("div", Ei, [
4426
4426
  B(e("input", {
4427
4427
  type: "datetime-local",
4428
- "onUpdate:modelValue": x[0] || (x[0] = (F) => c(o).from = F),
4428
+ "onUpdate:modelValue": x[0] || (x[0] = (A) => c(o).from = A),
4429
4429
  max: s.value.toString(),
4430
4430
  onChange: w,
4431
4431
  name: "from",
@@ -4438,7 +4438,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4438
4438
  e("div", Hi, [
4439
4439
  B(e("input", {
4440
4440
  type: "datetime-local",
4441
- "onUpdate:modelValue": x[1] || (x[1] = (F) => c(o).to = F),
4441
+ "onUpdate:modelValue": x[1] || (x[1] = (A) => c(o).to = A),
4442
4442
  max: s.value.toString(),
4443
4443
  onChange: w,
4444
4444
  name: "to",
@@ -4448,12 +4448,12 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4448
4448
  [se, c(o).to]
4449
4449
  ])
4450
4450
  ]),
4451
- m(A, {
4451
+ m(O, {
4452
4452
  class: "ml-4 cursor-pointer",
4453
4453
  size: "big",
4454
4454
  loading: T.loading,
4455
4455
  icon: c(Xe),
4456
- onClick: x[2] || (x[2] = (F) => T.$emit("maximizeChart", T.id))
4456
+ onClick: x[2] || (x[2] = (A) => T.$emit("maximizeChart", T.id))
4457
4457
  }, null, 8, ["loading", "icon"])
4458
4458
  ])
4459
4459
  ]),
@@ -4462,7 +4462,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4462
4462
  class: "flex items-center justify-center mt-4",
4463
4463
  type: "donut",
4464
4464
  series: d.value,
4465
- options: f.value,
4465
+ options: h.value,
4466
4466
  height: T.height - 80,
4467
4467
  onUpdated: v,
4468
4468
  onMounted: v,
@@ -4472,7 +4472,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4472
4472
  [D, !T.empty]
4473
4473
  ]),
4474
4474
  B(e("div", Wi, [
4475
- m(A, {
4475
+ m(O, {
4476
4476
  icon: c(W),
4477
4477
  color: "gray",
4478
4478
  loading: !1,
@@ -4556,8 +4556,8 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4556
4556
  loading: !0
4557
4557
  }),
4558
4558
  m(U, { loading: !0 }, {
4559
- default: h(() => d[2] || (d[2] = [
4560
- L("Search", -1)
4559
+ default: f(() => d[2] || (d[2] = [
4560
+ z("Search", -1)
4561
4561
  ])),
4562
4562
  _: 1,
4563
4563
  __: [2]
@@ -4574,7 +4574,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4574
4574
  disabled: a.disabled,
4575
4575
  label: a.label,
4576
4576
  max: i.value.toString(),
4577
- onInputChanged: d[0] || (d[0] = (f) => c(s).from = f.value)
4577
+ onInputChanged: d[0] || (d[0] = (h) => c(s).from = h.value)
4578
4578
  }, null, 8, ["addOn", "name", "color", "value", "error", "disabled", "label", "max"]),
4579
4579
  m(J, {
4580
4580
  type: "datetime-local",
@@ -4588,7 +4588,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4588
4588
  disabled: a.disabled,
4589
4589
  label: void 0,
4590
4590
  max: i.value.toString(),
4591
- onInputChanged: d[1] || (d[1] = (f) => c(s).to = f.value)
4591
+ onInputChanged: d[1] || (d[1] = (h) => c(s).to = h.value)
4592
4592
  }, null, 8, ["class", "addOn", "name", "color", "value", "error", "disabled", "max"]),
4593
4593
  m(U, {
4594
4594
  disabled: a.disabled,
@@ -4597,8 +4597,8 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4597
4597
  class: y([{ "mt-6": a.label }, "h-10"]),
4598
4598
  onClick: t
4599
4599
  }, {
4600
- default: h(() => [
4601
- L(g(a.literals.search), 1)
4600
+ default: f(() => [
4601
+ z(g(a.literals.search), 1)
4602
4602
  ]),
4603
4603
  _: 1
4604
4604
  }, 8, ["disabled", "class"])
@@ -4688,7 +4688,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4688
4688
  return (r, i) => r.loading ? (l(), n("div", md, [
4689
4689
  e("div", pd, [
4690
4690
  e("div", fd, [
4691
- m(A, {
4691
+ m(O, {
4692
4692
  icon: r.icon,
4693
4693
  size: "huge",
4694
4694
  class: "text-white",
@@ -4706,8 +4706,8 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4706
4706
  color: s.color,
4707
4707
  onTagEvent: i[2] || (i[2] = (t) => r.$emit("deviceStatusTagClicked", t))
4708
4708
  }, {
4709
- default: h(() => [
4710
- L(g(s.name), 1)
4709
+ default: f(() => [
4710
+ z(g(s.name), 1)
4711
4711
  ]),
4712
4712
  _: 2
4713
4713
  }, 1032, ["loading", "event", "color"]))), 128))
@@ -4725,7 +4725,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4725
4725
  "bg-gray-100": r.color === "light"
4726
4726
  }])
4727
4727
  }, [
4728
- m(A, {
4728
+ m(O, {
4729
4729
  icon: r.icon,
4730
4730
  size: "huge",
4731
4731
  color: "black",
@@ -4734,7 +4734,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4734
4734
  }, null, 8, ["icon"])
4735
4735
  ], 2),
4736
4736
  e("h3", ud, [
4737
- L(g(r.name) + " ", 1),
4737
+ z(g(r.name) + " ", 1),
4738
4738
  B(e("span", {
4739
4739
  class: "text-black hover:text-lime-400 underline cursor-pointer",
4740
4740
  onClick: i[0] || (i[0] = (s) => r.$emit("deviceStatusQtyClicked", r.id))
@@ -4751,8 +4751,8 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4751
4751
  color: s.color,
4752
4752
  onTagEvent: i[1] || (i[1] = (t) => r.$emit("deviceStatusTagClicked", t))
4753
4753
  }, {
4754
- default: h(() => [
4755
- L(g(s.name), 1)
4754
+ default: f(() => [
4755
+ z(g(s.name), 1)
4756
4756
  ]),
4757
4757
  _: 2
4758
4758
  }, 1032, ["event", "color"]))), 128))
@@ -4778,12 +4778,12 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4778
4778
  as: "template",
4779
4779
  show: s.value
4780
4780
  }, {
4781
- default: h(() => [
4781
+ default: f(() => [
4782
4782
  m(c(Me), {
4783
4783
  class: "relative z-50 lg:hidden",
4784
4784
  onClose: o
4785
4785
  }, {
4786
- default: h(() => [
4786
+ default: f(() => [
4787
4787
  m(c(X), {
4788
4788
  as: "template",
4789
4789
  enter: "transition-opacity ease-linear duration-300",
@@ -4793,7 +4793,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4793
4793
  "leave-from": "opacity-100",
4794
4794
  "leave-to": "opacity-0"
4795
4795
  }, {
4796
- default: h(() => a[10] || (a[10] = [
4796
+ default: f(() => a[10] || (a[10] = [
4797
4797
  e("div", { class: "fixed inset-0 bg-gray-900/80" }, null, -1)
4798
4798
  ])),
4799
4799
  _: 1,
@@ -4809,9 +4809,9 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4809
4809
  "leave-from": "translate-x-0",
4810
4810
  "leave-to": "-translate-x-full"
4811
4811
  }, {
4812
- default: h(() => [
4812
+ default: f(() => [
4813
4813
  m(c(je), { class: "relative mr-16 flex w-full max-w-xs flex-1" }, {
4814
- default: h(() => [
4814
+ default: f(() => [
4815
4815
  m(c(X), {
4816
4816
  as: "template",
4817
4817
  enter: "ease-in-out duration-300",
@@ -4821,7 +4821,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4821
4821
  "leave-from": "opacity-100",
4822
4822
  "leave-to": "opacity-0"
4823
4823
  }, {
4824
- default: h(() => [
4824
+ default: f(() => [
4825
4825
  e("div", wd, [
4826
4826
  e("button", {
4827
4827
  type: "button",
@@ -4927,9 +4927,9 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4927
4927
  as: "div",
4928
4928
  class: "relative"
4929
4929
  }, {
4930
- default: h(() => [
4930
+ default: f(() => [
4931
4931
  m(c($e), { class: "-m-1.5 flex items-center p-1.5" }, {
4932
- default: h(() => [
4932
+ default: f(() => [
4933
4933
  a[15] || (a[15] = e("span", { class: "sr-only" }, "Open user menu", -1)),
4934
4934
  e("img", {
4935
4935
  class: "h-8 w-8 rounded-full bg-gray-50",
@@ -4954,16 +4954,16 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
4954
4954
  "leave-from-class": "transform opacity-100 scale-100",
4955
4955
  "leave-to-class": "transform opacity-0 scale-95"
4956
4956
  }, {
4957
- default: h(() => [
4957
+ default: f(() => [
4958
4958
  m(c(Ce), { class: "absolute right-0 z-10 mt-2.5 w-52 origin-top-right rounded-md bg-white py-2 shadow-lg ring-1 ring-gray-900/5 focus:outline-none" }, {
4959
- default: h(() => [
4959
+ default: f(() => [
4960
4960
  (l(!0), n($, null, S(t.topbar.profileMenu, (d) => (l(), k(c(Se), {
4961
4961
  key: d.name
4962
4962
  }, {
4963
- default: h(({ active: f }) => [
4963
+ default: f(({ active: h }) => [
4964
4964
  e("a", {
4965
4965
  onClick: (v) => t.$emit("topBarClick", d.id),
4966
- class: y([f ? "bg-gray-50" : "", "block px-3 py-1 text-sm leading-6 text-gray-900"])
4966
+ class: y([h ? "bg-gray-50" : "", "block px-3 py-1 text-sm leading-6 text-gray-900"])
4967
4967
  }, g(d.name), 11, jd)
4968
4968
  ]),
4969
4969
  _: 2
@@ -5007,10 +5007,10 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
5007
5007
  }, null, 8, ["item", "loading"]))), 128))
5008
5008
  ], 2));
5009
5009
  }
5010
- }), Od = { class: "flex justify-between" }, Ad = {
5010
+ }), Fd = { class: "flex justify-between" }, Od = {
5011
5011
  key: 0,
5012
5012
  class: "text-[10px] uppercase justify-self-end place-self-center"
5013
- }, Fd = { class: "relative" }, Id = { class: "block flex flex-wrap gap-2" }, Nd = {
5013
+ }, Ad = { class: "relative" }, Id = { class: "block flex flex-wrap gap-2" }, Nd = {
5014
5014
  key: 0,
5015
5015
  class: "p-0.5"
5016
5016
  }, Pd = ["onClick"], Vd = { class: "absolute mt-1 w-full rounded-md bg-white shadow-lg z-50" }, Yd = {
@@ -5050,7 +5050,7 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
5050
5050
  key: 0,
5051
5051
  modelValue: c(s),
5052
5052
  "onUpdate:modelValue": [
5053
- d[0] || (d[0] = (f) => xe(s) ? s.value = f : s = f),
5053
+ d[0] || (d[0] = (h) => xe(s) ? s.value = h : s = h),
5054
5054
  o
5055
5055
  ],
5056
5056
  name: "selectorMultiple",
@@ -5058,17 +5058,17 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
5058
5058
  multiple: "",
5059
5059
  as: "div"
5060
5060
  }, {
5061
- default: h(() => [
5062
- e("div", Od, [
5061
+ default: f(() => [
5062
+ e("div", Fd, [
5063
5063
  m(c(bt), { class: "block text-sm font-medium" }, {
5064
- default: h(() => [
5065
- L(g(a.label), 1)
5064
+ default: f(() => [
5065
+ z(g(a.label), 1)
5066
5066
  ]),
5067
5067
  _: 1
5068
5068
  }),
5069
- a.requiredText ? (l(), n("span", Ad, g(a.requiredText), 1)) : b("", !0)
5069
+ a.requiredText ? (l(), n("span", Od, g(a.requiredText), 1)) : b("", !0)
5070
5070
  ]),
5071
- e("div", Fd, [
5071
+ e("div", Ad, [
5072
5072
  m(c(wt), {
5073
5073
  class: y([{
5074
5074
  "mt-1": a.requiredText || a.label,
@@ -5086,21 +5086,21 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
5086
5086
  "text-green-600": a.color === "green"
5087
5087
  }, "relative w-full rounded-md border py-1.5 pl-2 pr-10 shadow-sm focus:border-lime-400 focus:outline-none focus:ring-1 focus:ring-lime-400 sm:text-sm"])
5088
5088
  }, {
5089
- default: h(() => [
5089
+ default: f(() => [
5090
5090
  e("span", Id, [
5091
5091
  c(s).length === 0 ? (l(), n("span", Nd, "...")) : b("", !0),
5092
- (l(!0), n($, null, S(c(s), (f) => (l(), n("span", {
5093
- key: f.id,
5092
+ (l(!0), n($, null, S(c(s), (h) => (l(), n("span", {
5093
+ key: h.id,
5094
5094
  class: "flex items-center gap-1 rounded text-xs font-medium bg-lime-400 text-black border border-lime-200 px-2 py-0.5"
5095
5095
  }, [
5096
- e("span", null, g(f.name), 1),
5096
+ e("span", null, g(h.name), 1),
5097
5097
  (l(), n("svg", {
5098
5098
  class: "h-4 w-4 cursor-pointer",
5099
5099
  fill: "none",
5100
5100
  stroke: "currentColor",
5101
5101
  viewBox: "0 0 24 24",
5102
5102
  xmlns: "http://www.w3.org/2000/svg",
5103
- onClick: ye((v) => t(f), ["stop", "prevent"])
5103
+ onClick: ye((v) => t(h), ["stop", "prevent"])
5104
5104
  }, d[1] || (d[1] = [
5105
5105
  e("path", {
5106
5106
  "stroke-linecap": "round",
@@ -5132,19 +5132,19 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
5132
5132
  }, 8, ["class"]),
5133
5133
  e("div", Vd, [
5134
5134
  m(c(kt), { class: "shadow-2xs focus:outline-hidden max-h-60 overflow-auto rounded-md py-1 text-base leading-6 sm:text-sm sm:leading-5" }, {
5135
- default: h(() => [
5136
- (l(!0), n($, null, S(a.items, (f) => (l(), k(c(xt), {
5137
- key: f.id,
5138
- value: f,
5135
+ default: f(() => [
5136
+ (l(!0), n($, null, S(a.items, (h) => (l(), k(c(xt), {
5137
+ key: h.id,
5138
+ value: h,
5139
5139
  as: "template"
5140
5140
  }, {
5141
- default: h(({ active: v, selected: j }) => [
5141
+ default: f(({ active: v, selected: j }) => [
5142
5142
  e("li", {
5143
5143
  class: y(["focus:outline-hidden relative cursor-default select-none py-2 pl-3 pr-9", v ? "bg-lime-400 text-black" : "text-black"])
5144
5144
  }, [
5145
5145
  e("span", {
5146
5146
  class: y(["block truncate", { "font-semibold": j, "font-normal": !j }])
5147
- }, g(f.name), 3),
5147
+ }, g(h.name), 3),
5148
5148
  j ? (l(), n("span", {
5149
5149
  key: 0,
5150
5150
  class: y(["absolute inset-y-0 right-0 flex items-center pr-4", { "text-black": v, "text-lime-400": !v }])
@@ -5222,18 +5222,18 @@ const hr = /* @__PURE__ */ le(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
5222
5222
  }, null, 8, ["items", "loading"]),
5223
5223
  (l(), k(Re(s.value), ve({ class: "w-full mt-2 lg:mt-0 lg:ml-2 lg:grow" }, o.value, {
5224
5224
  loading: !1,
5225
- onInputChanged: d[0] || (d[0] = (f) => i("smartInputChanged", f)),
5226
- onSelectChanged: d[1] || (d[1] = (f) => i("smartSelectChanged", f)),
5227
- onOptionSelected: d[2] || (d[2] = (f) => i("smartOptionSelected", f)),
5228
- onRightAddOnClicked: d[3] || (d[3] = (f) => i("rightAddOnClicked"))
5225
+ onInputChanged: d[0] || (d[0] = (h) => i("smartInputChanged", h)),
5226
+ onSelectChanged: d[1] || (d[1] = (h) => i("smartSelectChanged", h)),
5227
+ onOptionSelected: d[2] || (d[2] = (h) => i("smartOptionSelected", h)),
5228
+ onRightAddOnClicked: d[3] || (d[3] = (h) => i("rightAddOnClicked"))
5229
5229
  }), null, 16)),
5230
5230
  a.showFilterButton ? (l(), k(U, {
5231
5231
  key: 0,
5232
5232
  class: "mt-2 lg:mt-0 w-full lg:w-auto ml-2",
5233
5233
  loading: a.loading
5234
5234
  }, {
5235
- default: h(() => [
5236
- L(g(a.buttonLiteral), 1)
5235
+ default: f(() => [
5236
+ z(g(a.buttonLiteral), 1)
5237
5237
  ]),
5238
5238
  _: 1
5239
5239
  }, 8, ["loading"])) : b("", !0)
@@ -5261,7 +5261,7 @@ const Ye = /* @__PURE__ */ le(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
5261
5261
  o.value.pop(), s.value.pop();
5262
5262
  }, d = () => {
5263
5263
  i("smartFilterMultipleSent", o.value);
5264
- }, f = () => {
5264
+ }, h = () => {
5265
5265
  o.value = [], s.value = [JSON.parse(JSON.stringify(r))], i("smartFilterMultipleSent", []);
5266
5266
  };
5267
5267
  return (v, j) => (l(), n("div", null, [
@@ -5280,12 +5280,12 @@ const Ye = /* @__PURE__ */ le(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
5280
5280
  s.value.length === 1 ? (l(), k(U, {
5281
5281
  key: 1,
5282
5282
  loading: !1,
5283
- icon: c(Ae),
5283
+ icon: c(Oe),
5284
5284
  class: "w-full sm:w-auto sm:ml-2 ml-0 mt-2 sm:mt-0",
5285
5285
  onClick: t
5286
5286
  }, {
5287
- default: h(() => [
5288
- L(g(v.addLiteral), 1)
5287
+ default: f(() => [
5288
+ z(g(v.addLiteral), 1)
5289
5289
  ]),
5290
5290
  _: 1
5291
5291
  }, 8, ["icon"])) : b("", !0)
@@ -5313,20 +5313,20 @@ const Ye = /* @__PURE__ */ le(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
5313
5313
  class: "sm:ml-2 ml-0 mt-2 sm:mt-0",
5314
5314
  onClick: a
5315
5315
  }, {
5316
- default: h(() => [
5317
- L(g(v.removeLiteral), 1)
5316
+ default: f(() => [
5317
+ z(g(v.removeLiteral), 1)
5318
5318
  ]),
5319
5319
  _: 1
5320
5320
  }, 8, ["icon"])) : b("", !0),
5321
5321
  s.value.length === w + 1 ? (l(), k(U, {
5322
5322
  key: 2,
5323
5323
  loading: !1,
5324
- icon: c(Ae),
5324
+ icon: c(Oe),
5325
5325
  class: "sm:ml-2 ml-0 mt-2 sm:mt-0",
5326
5326
  onClick: t
5327
5327
  }, {
5328
- default: h(() => [
5329
- L(g(v.addLiteral), 1)
5328
+ default: f(() => [
5329
+ z(g(v.addLiteral), 1)
5330
5330
  ]),
5331
5331
  _: 1
5332
5332
  }, 8, ["icon"])) : b("", !0)
@@ -5337,8 +5337,8 @@ const Ye = /* @__PURE__ */ le(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
5337
5337
  onClick: d,
5338
5338
  color: "secondary"
5339
5339
  }, {
5340
- default: h(() => [
5341
- L(g(v.buttonLiteral), 1)
5340
+ default: f(() => [
5341
+ z(g(v.buttonLiteral), 1)
5342
5342
  ]),
5343
5343
  _: 1
5344
5344
  }),
@@ -5346,10 +5346,10 @@ const Ye = /* @__PURE__ */ le(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
5346
5346
  class: "ml-2",
5347
5347
  loading: !1,
5348
5348
  color: "red",
5349
- onClick: f
5349
+ onClick: h
5350
5350
  }, {
5351
- default: h(() => [
5352
- L(g(v.removeLiteral), 1)
5351
+ default: f(() => [
5352
+ z(g(v.removeLiteral), 1)
5353
5353
  ]),
5354
5354
  _: 1
5355
5355
  })
@@ -5359,7 +5359,7 @@ const Ye = /* @__PURE__ */ le(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
5359
5359
  }), Wd = { class: "hidden py-0.5 px-2.5 rounded text-xs font-medium md:inline-block bg-lime-400 text-gray-900" }, Gd = {
5360
5360
  key: 0,
5361
5361
  class: "hidden py-0.5 px-2.5 rounded text-xs font-medium md:inline-block bg-gray-100 text-gray-900 uppercase"
5362
- }, Qd = { class: "w-screen max-w-md flex-auto rounded bg-white text-sm/6 shadow-lg ring-1 ring-gray-900/5 lg:max-w-3xl" }, Kd = { class: "p-6 gap-y-4 flex flex-col" }, Xd = { class: "flex items-center gap-x-2 w-full" }, eu = { class: "w-auto px-3 py-2 bg-gray-50 rounded border text-sm" }, tu = { class: "px-6 pb-6 gap-x-2 flex justify-end" }, lu = /* @__PURE__ */ M({
5362
+ }, Qd = { class: "w-screen max-w-md flex-auto rounded bg-white text-sm/6 shadow-lg ring-1 ring-gray-900/5 lg:max-w-3xl" }, Kd = { class: "p-6 gap-y-2 flex flex-col" }, Xd = { class: "flex items-center gap-x-2 w-full" }, eu = { class: "px-6 pb-6 gap-x-2 flex justify-end" }, tu = /* @__PURE__ */ M({
5363
5363
  __name: "uiSmartFilterMultipleV2",
5364
5364
  props: {
5365
5365
  literals: { default: () => ({
@@ -5374,23 +5374,23 @@ const Ye = /* @__PURE__ */ le(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
5374
5374
  availableCategories: { default: () => [] },
5375
5375
  filters: { default: void 0 }
5376
5376
  },
5377
- emits: ["smartFiltersSent"],
5377
+ emits: ["smartFiltersSent", "smartFiltersCleared", "smartFilterDeleted"],
5378
5378
  setup(p, { emit: u }) {
5379
5379
  const r = p, i = u, s = I({ id: "1", name: r.literals.and }), o = ae([]), t = I(r.availableCategories[0]), a = (_) => _ ? _ === "uiInput" ? r.literals.contains : r.literals.is : "", d = (_) => {
5380
5380
  o.splice(0, o.length), _.logicOperator === "and" || _.logicOperator === r.literals.and ? s.value = { id: "1", name: r.literals.and } : (_.logicOperator === "or" || _.logicOperator === r.literals.or) && (s.value = { id: "2", name: r.literals.or }), _.filters.forEach((P) => {
5381
- const z = r.availableCategories.find((R) => R.name === P.category);
5382
- if (z) {
5381
+ const L = r.availableCategories.find((R) => R.name === P.category);
5382
+ if (L) {
5383
5383
  const R = {
5384
5384
  id: Date.now().toString() + Math.random().toString(36).substr(2, 9),
5385
5385
  name: P.category,
5386
5386
  type: P.type,
5387
- props: { ...z.defaultProps }
5387
+ props: { ...L.defaultProps }
5388
5388
  };
5389
5389
  if (P.type === "uiInput")
5390
5390
  R.props.value = P.value || "";
5391
5391
  else if (P.type === "uiSelect") {
5392
- const G = z.defaultProps.items?.find((ut) => ut.name === P.value);
5393
- G ? R.props.select = G : z.defaultProps.items && z.defaultProps.items.length > 0 && (R.props.select = z.defaultProps.items[0]);
5392
+ const G = L.defaultProps.items?.find((ut) => ut.name === P.value);
5393
+ G ? R.props.select = G : L.defaultProps.items && L.defaultProps.items.length > 0 && (R.props.select = L.defaultProps.items[0]);
5394
5394
  }
5395
5395
  o.push(R);
5396
5396
  }
@@ -5399,11 +5399,11 @@ const Ye = /* @__PURE__ */ le(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
5399
5399
  H(() => r.literals, (_) => {
5400
5400
  s.value.id === "1" ? s.value.name = _.and : s.value.id === "2" && (s.value.name = _.or);
5401
5401
  }, { deep: !0 }), H(() => r.availableCategories, (_) => {
5402
- _.length > 0 && (_.some((z) => z.id === t.value.id) || (t.value = _[0]));
5402
+ _.length > 0 && (_.some((L) => L.id === t.value.id) || (t.value = _[0]));
5403
5403
  }, { deep: !0 }), H(() => r.filters, (_) => {
5404
5404
  _ && d(_);
5405
5405
  }, { deep: !0, immediate: !0 });
5406
- const f = Y(() => [
5406
+ const h = Y(() => [
5407
5407
  { id: "1", name: r.literals.and },
5408
5408
  { id: "2", name: r.literals.or }
5409
5409
  ]), v = Y(() => r.availableCategories.map((_) => ({
@@ -5427,9 +5427,9 @@ const Ye = /* @__PURE__ */ le(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
5427
5427
  })), T = (_) => {
5428
5428
  s.value = Array.isArray(_) ? _[0] || { id: "1", name: r.literals.and } : _;
5429
5429
  }, x = (_) => {
5430
- const P = Array.isArray(_) ? _[0] : _, z = r.availableCategories.find((R) => R.id === P.id);
5431
- z && (t.value = z);
5432
- }, F = () => {
5430
+ const P = Array.isArray(_) ? _[0] : _, L = r.availableCategories.find((R) => R.id === P.id);
5431
+ L && (t.value = L);
5432
+ }, A = () => {
5433
5433
  if (!t.value) return;
5434
5434
  const _ = {
5435
5435
  id: Date.now().toString(),
@@ -5438,32 +5438,32 @@ const Ye = /* @__PURE__ */ le(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
5438
5438
  props: { ...t.value.defaultProps }
5439
5439
  };
5440
5440
  o.push(_);
5441
- }, O = (_, P) => {
5441
+ }, F = (_, P) => {
5442
5442
  if (_ < 0 || _ >= o.length) return;
5443
- const z = o[_];
5444
- z.type === "uiInput" ? typeof P == "string" && (z.props.value = P) : z.type === "uiSelect" && (Array.isArray(P) ? z.props.select = P[0] : typeof P == "object" && P !== null && (z.props.select = P));
5443
+ const L = o[_];
5444
+ L.type === "uiInput" ? typeof P == "string" && (L.props.value = P) : L.type === "uiSelect" && (Array.isArray(P) ? L.props.select = P[0] : typeof P == "object" && P !== null && (L.props.select = P));
5445
5445
  }, C = (_) => {
5446
- _ >= 0 && _ < o.length && o.splice(_, 1);
5446
+ _ >= 0 && _ < o.length && (o.splice(_, 1), i("smartFilterDeleted", _));
5447
5447
  }, q = () => {
5448
- o.splice(0, o.length);
5448
+ o.splice(0, o.length), i("smartFiltersCleared");
5449
5449
  }, N = () => {
5450
5450
  const P = {
5451
5451
  logicOperator: s.value.id === "1" ? "and" : "or",
5452
- filters: o.map((z) => ({
5453
- category: z.name,
5454
- type: z.type,
5455
- value: z.type === "uiInput" ? z.props.value : z.props.select?.name
5452
+ filters: o.map((L) => ({
5453
+ category: L.id,
5454
+ type: L.type,
5455
+ value: L.type === "uiInput" ? L.props.value : L.props.select?.id
5456
5456
  }))
5457
5457
  };
5458
5458
  i("smartFiltersSent", P);
5459
5459
  };
5460
5460
  return (_, P) => (l(), k(c(_t), { class: "relative" }, {
5461
- default: h(() => [
5461
+ default: f(() => [
5462
5462
  m(c($t), { class: "inline-flex items-center gap-x-2 text-sm/6 font-semibold text-gray-900 outline-none" }, {
5463
- default: h(() => [
5463
+ default: f(() => [
5464
5464
  e("span", null, g(r.literals.filters) + ": ", 1),
5465
- (l(!0), n($, null, S(w.value, (z, R) => (l(), n($, { key: R }, [
5466
- e("span", Wd, g(z.name) + " " + g(z.operator) + ": " + g(z.value), 1),
5465
+ (l(!0), n($, null, S(w.value, (L, R) => (l(), n($, { key: R }, [
5466
+ e("span", Wd, g(L.name) + " " + g(L.operator) + ": " + g(L.value), 1),
5467
5467
  R < w.value.length - 1 ? (l(), n("span", Gd, g(s.value.name), 1)) : b("", !0)
5468
5468
  ], 64))), 128)),
5469
5469
  m(c(oe), {
@@ -5481,9 +5481,9 @@ const Ye = /* @__PURE__ */ le(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
5481
5481
  "leave-from-class": "opacity-100 translate-y-0",
5482
5482
  "leave-to-class": "opacity-0 translate-y-1"
5483
5483
  }, {
5484
- default: h(() => [
5484
+ default: f(() => [
5485
5485
  m(c(Ct), { class: "absolute z-10 mt-2 flex w-screen max-w-max bg-transparent" }, {
5486
- default: h(() => [
5486
+ default: f(() => [
5487
5487
  e("div", Qd, [
5488
5488
  e("div", Kd, [
5489
5489
  e("div", Xd, [
@@ -5496,52 +5496,61 @@ const Ye = /* @__PURE__ */ le(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
5496
5496
  }, null, 8, ["items", "select"]),
5497
5497
  m(U, {
5498
5498
  loading: !1,
5499
- onClick: F,
5499
+ onClick: A,
5500
5500
  disabled: !t.value
5501
5501
  }, {
5502
- default: h(() => P[0] || (P[0] = [
5503
- L(" Agregar Filtro ", -1)
5502
+ default: f(() => P[0] || (P[0] = [
5503
+ z(" Agregar Filtro ", -1)
5504
5504
  ])),
5505
5505
  _: 1,
5506
5506
  __: [0]
5507
5507
  }, 8, ["disabled"])
5508
5508
  ]),
5509
- (l(!0), n($, null, S(o, (z, R) => (l(), n("div", {
5509
+ (l(!0), n($, null, S(o, (L, R) => (l(), n("div", {
5510
5510
  class: "flex items-center gap-x-2 w-full",
5511
- key: z.id
5511
+ key: L.id
5512
5512
  }, [
5513
- e("div", eu, g(z.name), 1),
5514
5513
  m(Z, {
5515
5514
  loading: !1,
5516
5515
  size: "big",
5517
5516
  color: "gray"
5518
5517
  }, {
5519
- default: h(() => [
5520
- L(g(a(z.type)), 1)
5518
+ default: f(() => [
5519
+ z(g(L.name), 1)
5520
+ ]),
5521
+ _: 2
5522
+ }, 1024),
5523
+ m(Z, {
5524
+ loading: !1,
5525
+ size: "big",
5526
+ color: "gray"
5527
+ }, {
5528
+ default: f(() => [
5529
+ z(g(a(L.type)), 1)
5521
5530
  ]),
5522
5531
  _: 2
5523
5532
  }, 1024),
5524
- z.type === "uiSelect" ? (l(), k(ee, {
5533
+ L.type === "uiSelect" ? (l(), k(ee, {
5525
5534
  key: 0,
5526
5535
  class: "grow",
5527
5536
  loading: !1,
5528
- items: z.props.items || [],
5529
- select: z.props.select || z.props.items?.[0] || { id: "0", name: "Select..." },
5530
- onSelectChanged: (G) => O(R, G)
5531
- }, null, 8, ["items", "select", "onSelectChanged"])) : z.type === "uiInput" ? (l(), k(J, {
5537
+ items: L.props.items || [],
5538
+ select: L.props.select || L.props.items?.[0] || { id: "0", name: "Select..." },
5539
+ onSelectChanged: (G) => F(R, G)
5540
+ }, null, 8, ["items", "select", "onSelectChanged"])) : L.type === "uiInput" ? (l(), k(J, {
5532
5541
  key: 1,
5533
5542
  class: "grow",
5534
5543
  loading: !1,
5535
- name: z.props.name || "",
5536
- value: z.props.value || "",
5537
- onInput: (G) => O(R, G.target.value)
5544
+ name: L.props.name || "",
5545
+ value: L.props.value || "",
5546
+ onInput: (G) => F(R, G.target.value)
5538
5547
  }, null, 8, ["name", "value", "onInput"])) : b("", !0),
5539
5548
  R === 0 ? (l(), k(ee, {
5540
5549
  key: 2,
5541
5550
  onSelectChanged: T,
5542
5551
  class: "w-24 uppercase",
5543
5552
  loading: !1,
5544
- items: f.value,
5553
+ items: h.value,
5545
5554
  select: s.value
5546
5555
  }, null, 8, ["items", "select"])) : b("", !0),
5547
5556
  R > 0 ? (l(), k(Z, {
@@ -5551,12 +5560,12 @@ const Ye = /* @__PURE__ */ le(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
5551
5560
  color: "gray",
5552
5561
  class: "uppercase"
5553
5562
  }, {
5554
- default: h(() => [
5555
- L(g(s.value.name), 1)
5563
+ default: f(() => [
5564
+ z(g(s.value.name), 1)
5556
5565
  ]),
5557
5566
  _: 1
5558
5567
  })) : b("", !0),
5559
- m(A, {
5568
+ m(O, {
5560
5569
  icon: c(pe),
5561
5570
  color: "red",
5562
5571
  loading: !1,
@@ -5566,25 +5575,25 @@ const Ye = /* @__PURE__ */ le(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
5566
5575
  }, null, 8, ["icon", "onClick"])
5567
5576
  ]))), 128))
5568
5577
  ]),
5569
- e("div", tu, [
5578
+ e("div", eu, [
5570
5579
  m(U, {
5571
5580
  loading: !1,
5572
5581
  color: "red",
5573
5582
  icon: c(pe),
5574
5583
  onClick: q
5575
5584
  }, {
5576
- default: h(() => [
5577
- L(g(r.literals.deleteAll), 1)
5585
+ default: f(() => [
5586
+ z(g(r.literals.deleteAll), 1)
5578
5587
  ]),
5579
5588
  _: 1
5580
5589
  }, 8, ["icon"]),
5581
5590
  m(U, {
5582
5591
  loading: !1,
5583
- icon: c(Ft),
5592
+ icon: c(At),
5584
5593
  onClick: N
5585
5594
  }, {
5586
- default: h(() => [
5587
- L(g(r.literals.filter), 1)
5595
+ default: f(() => [
5596
+ z(g(r.literals.filter), 1)
5588
5597
  ]),
5589
5598
  _: 1
5590
5599
  }, 8, ["icon"])
@@ -5618,7 +5627,7 @@ const Ye = /* @__PURE__ */ le(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
5618
5627
  uiFooter: hr,
5619
5628
  uiFunnelChartV2: ri,
5620
5629
  uiGallery: zi,
5621
- uiIcon: A,
5630
+ uiIcon: O,
5622
5631
  uiInput: J,
5623
5632
  uiInputFile: bl,
5624
5633
  uiLoadingScreen: yr,
@@ -5637,48 +5646,48 @@ const Ye = /* @__PURE__ */ le(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
5637
5646
  uiSidebarV2: we,
5638
5647
  uiSmartFilter: ke,
5639
5648
  uiSmartFilterMultiple: Jd,
5640
- uiSmartFilterMultipleV2: lu,
5649
+ uiSmartFilterMultipleV2: tu,
5641
5650
  uiStats: it,
5642
5651
  uiStripedCard: Da,
5643
5652
  uiTable: Xa,
5644
5653
  uiTabs: an,
5645
5654
  uiTag: Z,
5646
5655
  uiTaskList: Ps,
5647
- uiTextArea: Fl,
5656
+ uiTextArea: Al,
5648
5657
  uiTimeline: jn,
5649
5658
  uiToggle: Vl,
5650
5659
  uiTopbar: Qn,
5651
5660
  uiWrapper: zd
5652
- }, Symbol.toStringTag, { value: "Module" })), su = [
5661
+ }, Symbol.toStringTag, { value: "Module" })), lu = [
5653
5662
  "primary",
5654
5663
  "secondary",
5655
5664
  "light",
5656
5665
  "green",
5657
5666
  "yellow",
5658
5667
  "red"
5659
- ], pu = [
5668
+ ], mu = [
5660
5669
  "text",
5661
5670
  "email",
5662
5671
  "password",
5663
5672
  "number",
5664
5673
  "date",
5665
5674
  "datetime-local"
5666
- ], ou = ["black", "gray", "white"], fu = [...su, ...ou], ru = ["small", "medium", "big"], au = ["bigger", "huge", "massive"], hu = [...ru, ...au], yu = ["default", "success", "warning", "danger"];
5667
- function nu(p) {
5675
+ ], su = ["black", "gray", "white"], pu = [...lu, ...su], ou = ["small", "medium", "big"], ru = ["bigger", "huge", "massive"], fu = [...ou, ...ru], hu = ["default", "success", "warning", "danger"];
5676
+ function au(p) {
5668
5677
  for (const u in qe)
5669
5678
  p.component(u, qe[u]);
5670
5679
  }
5671
- const vu = { install: nu };
5680
+ const yu = { install: au };
5672
5681
  export {
5673
- fu as AllColors,
5674
- hu as AllSizes,
5675
- au as BiggerSizes,
5676
- su as Colors,
5677
- ou as MonoColors,
5678
- ru as Sizes,
5679
- yu as Types,
5680
- pu as UiInputTypes,
5681
- vu as default,
5682
+ pu as AllColors,
5683
+ fu as AllSizes,
5684
+ ru as BiggerSizes,
5685
+ lu as Colors,
5686
+ su as MonoColors,
5687
+ ou as Sizes,
5688
+ hu as Types,
5689
+ mu as UiInputTypes,
5690
+ yu as default,
5682
5691
  Wl as uiAlert,
5683
5692
  ss as uiBreadcrumbs,
5684
5693
  U as uiButton,
@@ -5695,7 +5704,7 @@ export {
5695
5704
  hr as uiFooter,
5696
5705
  ri as uiFunnelChartV2,
5697
5706
  zi as uiGallery,
5698
- A as uiIcon,
5707
+ O as uiIcon,
5699
5708
  J as uiInput,
5700
5709
  bl as uiInputFile,
5701
5710
  yr as uiLoadingScreen,
@@ -5714,14 +5723,14 @@ export {
5714
5723
  we as uiSidebarV2,
5715
5724
  ke as uiSmartFilter,
5716
5725
  Jd as uiSmartFilterMultiple,
5717
- lu as uiSmartFilterMultipleV2,
5726
+ tu as uiSmartFilterMultipleV2,
5718
5727
  it as uiStats,
5719
5728
  Da as uiStripedCard,
5720
5729
  Xa as uiTable,
5721
5730
  an as uiTabs,
5722
5731
  Z as uiTag,
5723
5732
  Ps as uiTaskList,
5724
- Fl as uiTextArea,
5733
+ Al as uiTextArea,
5725
5734
  jn as uiTimeline,
5726
5735
  Vl as uiToggle,
5727
5736
  Qn as uiTopbar,