@hotelinking/ui 10.42.6 → 10.42.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/dist/ui.cjs +1 -1
  2. package/dist/ui.es.js +128 -132
  3. package/package.json +1 -1
package/dist/ui.es.js CHANGED
@@ -1,5 +1,5 @@
1
- import { defineComponent as B, openBlock as s, createBlock as _, resolveDynamicComponent as Ae, normalizeClass as y, createElementBlock as n, createCommentVNode as b, renderSlot as q, createElementVNode as e, ref as A, watch as R, computed as Y, unref as u, withCtx as v, toDisplayString as g, createVNode as p, createTextVNode as L, Transition as ce, Fragment as k, renderList as $, withDirectives as C, vModelDynamic as et, vShow as D, withModifiers as Se, vModelText as ee, createStaticVNode as K, resolveComponent as Be, vModelCheckbox as Ne, reactive as Q, isRef as Pe, TransitionGroup as tt, onMounted as st, mergeProps as ot } from "vue";
2
- import { Menu as he, MenuButton as ye, MenuItems as ve, MenuItem as be, Combobox as Ye, ComboboxLabel as lt, ComboboxInput as Ie, ComboboxButton as Fe, ComboboxOptions as Ve, ComboboxOption as qe, SwitchGroup as rt, Switch as nt, SwitchLabel as at, TransitionRoot as we, Dialog as xe, TransitionChild as G, DialogPanel as ke, DialogTitle as Re, Disclosure as _e, DisclosureButton as Z, DisclosurePanel as $e } from "@headlessui/vue";
1
+ import { defineComponent as B, openBlock as s, createBlock as _, resolveDynamicComponent as Ne, normalizeClass as y, createElementBlock as n, createCommentVNode as b, renderSlot as R, createElementVNode as e, ref as N, watch as q, computed as Y, unref as u, withCtx as v, toDisplayString as g, createVNode as p, createTextVNode as L, Transition as ce, Fragment as k, renderList as $, withDirectives as C, vModelDynamic as et, vShow as D, withModifiers as Se, vModelText as ee, createStaticVNode as K, resolveComponent as Be, vModelCheckbox as Ae, reactive as Q, isRef as Pe, TransitionGroup as tt, onMounted as st, mergeProps as ot } from "vue";
2
+ import { Menu as he, MenuButton as ye, MenuItems as ve, MenuItem as be, Combobox as Ye, ComboboxLabel as lt, ComboboxInput as Ie, ComboboxButton as Fe, ComboboxOptions as Ve, ComboboxOption as Re, SwitchGroup as rt, Switch as nt, SwitchLabel as at, TransitionRoot as we, Dialog as xe, TransitionChild as G, DialogPanel as ke, DialogTitle as qe, Disclosure as _e, DisclosureButton as Z, DisclosurePanel as $e } from "@headlessui/vue";
3
3
  import T from "dayjs";
4
4
  import Ce from "vue3-apexcharts";
5
5
  import it from "vue3-draggable";
@@ -22,7 +22,7 @@ const j = /* @__PURE__ */ B({
22
22
  "h-12 w-12": i.size === "huge",
23
23
  "h-20 w-20": i.size === "massive"
24
24
  }, "animate-pulse rounded-full bg-gray-200 dark:bg-gray-300"])
25
- }, null, 2)) : (s(), _(Ae(i.icon), {
25
+ }, null, 2)) : (s(), _(Ne(i.icon), {
26
26
  key: 0,
27
27
  class: y({
28
28
  "h-4 w-4": i.size === "medium",
@@ -87,7 +87,7 @@ const j = /* @__PURE__ */ B({
87
87
  class: "-ml-0.5 mr-2",
88
88
  loading: i.loading
89
89
  }, null, 8, ["icon", "loading"])) : b("", !0),
90
- q(i.$slots, "default")
90
+ R(i.$slots, "default")
91
91
  ], 10, ut));
92
92
  }
93
93
  }), gt = {
@@ -107,10 +107,10 @@ const j = /* @__PURE__ */ B({
107
107
  },
108
108
  emits: ["checkboxChanged"],
109
109
  setup(m, { emit: i }) {
110
- const o = i, a = m, r = A(a.check), l = () => {
110
+ const o = i, a = m, r = N(a.check), l = () => {
111
111
  a.disabled || (r.value = !r.value, o("checkboxChanged", { checked: r.value, value: a.value }));
112
112
  };
113
- return R(() => a.check, (t) => {
113
+ return q(() => a.check, (t) => {
114
114
  t && (r.value = t);
115
115
  }), (t, c) => t.loading ? (s(), n("div", yt, c[1] || (c[1] = [
116
116
  e("div", { class: "w-5 h-5 rounded bg-gray-200" }, null, -1),
@@ -128,7 +128,7 @@ const j = /* @__PURE__ */ B({
128
128
  ]),
129
129
  e("div", ft, [
130
130
  e("span", ht, [
131
- q(t.$slots, "default")
131
+ R(t.$slots, "default")
132
132
  ])
133
133
  ])
134
134
  ]));
@@ -582,7 +582,7 @@ const zt = { class: "flex justify-between" }, Lt = {
582
582
  }, Ot = {
583
583
  key: 1,
584
584
  class: "text-[10px] text-gray-500 uppercase justify-self-end mt-1"
585
- }, At = { class: "py-1" }, Nt = ["onClick"], Pt = {
585
+ }, Nt = { class: "py-1" }, At = ["onClick"], Pt = {
586
586
  key: 1,
587
587
  class: "animate-pulse px-4 py-2 bg-gray-200 rounded-md inline-flex items-center relative text-left"
588
588
  }, me = /* @__PURE__ */ B({
@@ -645,7 +645,7 @@ const zt = { class: "flex justify-between" }, Lt = {
645
645
  class: y([{ "right-0": t.position === "right", "left-0": t.position === "left" }, "origin-top-right absolute mt-2 w-56 rounded-md shadow-lg bg-white ring-1 ring-black ring-opacity-5 focus:outline-none z-10"])
646
646
  }, {
647
647
  default: v(() => [
648
- e("div", At, [
648
+ e("div", Nt, [
649
649
  (s(!0), n(k, null, $(t.items, (d, f) => (s(), _(u(be), { key: f }, {
650
650
  default: v(() => [
651
651
  e("a", {
@@ -654,7 +654,7 @@ const zt = { class: "flex justify-between" }, Lt = {
654
654
  d.active ? "bg-gray-100 text-gray-900" : "text-gray-700",
655
655
  "block px-4 py-2 text-sm cursor-pointer"
656
656
  ])
657
- }, g(d.name), 11, Nt)
657
+ }, g(d.name), 11, At)
658
658
  ]),
659
659
  _: 2
660
660
  }, 1024))), 128))
@@ -675,7 +675,7 @@ const zt = { class: "flex justify-between" }, Lt = {
675
675
  }, Vt = {
676
676
  key: 1,
677
677
  class: "text-[10px] text-gray-500 uppercase justify-self-end"
678
- }, qt = ["max", "disabled", "name", "placeholder", "type"], Rt = { class: "absolute inset-y-0 right-0 pr-3 flex items-center pointer-events-none" }, Ht = {
678
+ }, Rt = ["max", "disabled", "name", "placeholder", "type"], qt = { class: "absolute inset-y-0 right-0 pr-3 flex items-center pointer-events-none" }, Ht = {
679
679
  key: 1,
680
680
  class: "animate-pulse"
681
681
  }, Ut = {
@@ -702,8 +702,8 @@ const zt = { class: "flex justify-between" }, Lt = {
702
702
  },
703
703
  emits: ["inputChanged", "rightAddOnClicked", "addOnClicked"],
704
704
  setup(m, { emit: i }) {
705
- const o = i, a = m, r = A(a.value);
706
- R(() => a.value, (t) => {
705
+ const o = i, a = m, r = N(a.value);
706
+ q(() => a.value, (t) => {
707
707
  r.value = t, r.value && o("inputChanged", { name: a.name, value: r.value });
708
708
  });
709
709
  const l = (t) => {
@@ -751,7 +751,7 @@ const zt = { class: "flex justify-between" }, Lt = {
751
751
  placeholder: t.placeholder,
752
752
  type: t.type,
753
753
  onInput: l
754
- }, null, 42, qt), [
754
+ }, null, 42, Rt), [
755
755
  [et, r.value]
756
756
  ]),
757
757
  t.rightAddOn ? (s(), n("span", {
@@ -759,7 +759,7 @@ const zt = { class: "flex justify-between" }, Lt = {
759
759
  onClick: c[2] || (c[2] = (d) => t.$emit("rightAddOnClicked")),
760
760
  class: "inline-flex items-center px-3 rounded-r-md border border-l-0 border-gray-300 bg-gray-50 hover:bg-gray-200 text-gray-500 sm:text-sm cursor-pointer"
761
761
  }, g(t.rightAddOn), 1)) : b("", !0),
762
- e("div", Rt, [
762
+ e("div", qt, [
763
763
  t.icon ? (s(), _(j, {
764
764
  key: 0,
765
765
  icon: t.icon,
@@ -827,7 +827,7 @@ const zt = { class: "flex justify-between" }, Lt = {
827
827
  },
828
828
  emits: ["filesUploaded"],
829
829
  setup(m, { emit: i }) {
830
- let o = A("");
830
+ let o = N("");
831
831
  const a = i, r = m, l = (d) => {
832
832
  c(d.dataTransfer.files), a("filesUploaded", { id: r.id, files: d.dataTransfer.files });
833
833
  }, t = (d) => {
@@ -929,7 +929,7 @@ const zt = { class: "flex justify-between" }, Lt = {
929
929
  },
930
930
  emits: ["selectChanged"],
931
931
  setup(m, { emit: i }) {
932
- const o = A(""), a = i, r = m, l = Y(() => o.value === "" ? r.items : r.items.filter((d) => d.name.toLowerCase().includes(o.value.toLowerCase()))), t = (d) => (d == null ? void 0 : d.name) ?? "", c = Y(() => r.select);
932
+ const o = N(""), a = i, r = m, l = Y(() => o.value === "" ? r.items : r.items.filter((d) => d.name.toLowerCase().includes(o.value.toLowerCase()))), t = (d) => (d == null ? void 0 : d.name) ?? "", c = Y(() => r.select);
933
933
  return (d, f) => d.loading ? (s(), n("div", is, [
934
934
  f[4] || (f[4] = e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, null, -1)),
935
935
  p(u(fe), {
@@ -989,7 +989,7 @@ const zt = { class: "flex justify-between" }, Lt = {
989
989
  class: "absolute z-10 mt-1 max-h-60 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"
990
990
  }, {
991
991
  default: v(() => [
992
- (s(!0), n(k, null, $(l.value, (h) => (s(), _(u(qe), {
992
+ (s(!0), n(k, null, $(l.value, (h) => (s(), _(u(Re), {
993
993
  key: h.id,
994
994
  value: h,
995
995
  as: "template"
@@ -1078,7 +1078,7 @@ const zt = { class: "flex justify-between" }, Lt = {
1078
1078
  "px-4 py-3": l.size === "big"
1079
1079
  }, "inline-flex items-center rounded text-xs font-medium leading-none"])
1080
1080
  }, [
1081
- q(l.$slots, "default")
1081
+ R(l.$slots, "default")
1082
1082
  ], 2));
1083
1083
  }
1084
1084
  }), cs = { key: 0 }, gs = { class: "flex justify-between" }, ps = {
@@ -1107,8 +1107,8 @@ const zt = { class: "flex justify-between" }, Lt = {
1107
1107
  setup(m, { emit: i }) {
1108
1108
  const o = i, a = m, r = (t) => {
1109
1109
  o("inputChanged", t.target.value);
1110
- }, l = A(a.value);
1111
- return R(() => a.value, (t) => {
1110
+ }, l = N(a.value);
1111
+ return q(() => a.value, (t) => {
1112
1112
  l.value = t, o("inputChanged", { name: a.name, value: l.value });
1113
1113
  }), (t, c) => t.loading ? (s(), n("div", hs, c[1] || (c[1] = [
1114
1114
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-2/3 md:w-1/4 mb-1.5" }, null, -1),
@@ -1178,8 +1178,8 @@ const zt = { class: "flex justify-between" }, Lt = {
1178
1178
  },
1179
1179
  emits: ["toggleChanged", "actionClicked"],
1180
1180
  setup(m, { emit: i }) {
1181
- const o = m, a = A(o.checked);
1182
- return R(() => o.checked, (r) => a.value = r), (r, l) => r.loading ? (s(), n("div", ws, l[3] || (l[3] = [
1181
+ const o = m, a = N(o.checked);
1182
+ return q(() => o.checked, (r) => a.value = r), (r, l) => r.loading ? (s(), n("div", ws, l[3] || (l[3] = [
1183
1183
  e("div", { class: "relative bg-gray-200 rounded-full w-12 h-6 p-1 flex items-center" }, [
1184
1184
  e("div", { class: "rounded-full bg-gray-300 dark:bg-gray-400 h-4 w-4" })
1185
1185
  ], -1),
@@ -1299,7 +1299,7 @@ const zt = { class: "flex justify-between" }, Lt = {
1299
1299
  "text-green-700": r.type === "success"
1300
1300
  }, "mt-2 text-sm"])
1301
1301
  }, [
1302
- q(r.$slots, "default")
1302
+ R(r.$slots, "default")
1303
1303
  ], 2),
1304
1304
  e("div", Ss, [
1305
1305
  e("div", Bs, [
@@ -1331,10 +1331,10 @@ const zt = { class: "flex justify-between" }, Lt = {
1331
1331
  }, zs = {
1332
1332
  role: "list",
1333
1333
  class: "flex items-center space-x-4 text-xs"
1334
- }, Ls = { key: 0 }, Os = ["onClick"], As = {
1334
+ }, Ls = { key: 0 }, Os = ["onClick"], Ns = {
1335
1335
  key: 1,
1336
1336
  class: "flex items-center"
1337
- }, Ns = ["onClick"], Ps = {
1337
+ }, As = ["onClick"], Ps = {
1338
1338
  key: 1,
1339
1339
  class: "flex flex-row items-center animate-pulse"
1340
1340
  }, Ys = /* @__PURE__ */ B({
@@ -1364,7 +1364,7 @@ const zt = { class: "flex justify-between" }, Lt = {
1364
1364
  }),
1365
1365
  e("span", null, g(r.name), 1)
1366
1366
  ], 8, Os)
1367
- ])) : (s(), n("div", As, [
1367
+ ])) : (s(), n("div", Ns, [
1368
1368
  p(u(te), {
1369
1369
  class: "flex-shrink-0 h-3 w-3 text-gray-400",
1370
1370
  "aria-hidden": "true"
@@ -1373,13 +1373,13 @@ const zt = { class: "flex justify-between" }, Lt = {
1373
1373
  onClick: (t) => o.$emit("breadCrumbClicked", r.routeName),
1374
1374
  class: y(["cursor-pointer ml-4 text-xs text-gray-400 hover:text-gray-500", { "text-indigo-600 hover:text-indigo-800": !r.current }]),
1375
1375
  "aria-current": "page"
1376
- }, g(r.name), 11, Ns)
1376
+ }, g(r.name), 11, As)
1377
1377
  ]))
1378
1378
  ]))), 128))
1379
1379
  ])
1380
1380
  ]));
1381
1381
  }
1382
- }), Is = { class: "flex items-center flex-col sm:flex-row justify-center sm:justify-start" }, Fs = ["src"], Vs = { class: "font-bold text-center sm:text-left" }, qs = { class: "mt-1 text-xs text-center sm:text-left" }, Rs = {
1382
+ }), Is = { class: "flex items-center flex-col sm:flex-row justify-center sm:justify-start" }, Fs = ["src"], Vs = { class: "font-bold text-center sm:text-left" }, Rs = { class: "mt-1 text-xs text-center sm:text-left" }, qs = {
1383
1383
  key: 0,
1384
1384
  class: "flex flex-wrap mt-4 justify-center sm:justify-start"
1385
1385
  }, Hs = {
@@ -1413,10 +1413,10 @@ const zt = { class: "flex justify-between" }, Lt = {
1413
1413
  }, null, 8, Fs),
1414
1414
  e("div", null, [
1415
1415
  e("h4", Vs, g(o.name), 1),
1416
- e("p", qs, g(o.type), 1)
1416
+ e("p", Rs, g(o.type), 1)
1417
1417
  ])
1418
1418
  ]),
1419
- o.tags && ((r = o.tags) == null ? void 0 : r.length) > 0 ? (s(), n("div", Rs, [
1419
+ o.tags && ((r = o.tags) == null ? void 0 : r.length) > 0 ? (s(), n("div", qs, [
1420
1420
  (s(!0), n(k, null, $(o.tags, (l) => (s(), _(H, {
1421
1421
  class: "mb-1 mr-1",
1422
1422
  key: l.name,
@@ -1446,7 +1446,7 @@ const zt = { class: "flex justify-between" }, Lt = {
1446
1446
  l.value.forEach((c) => {
1447
1447
  c.active = c.value === t.value;
1448
1448
  }), o("filterSelected", t);
1449
- }, l = A(a.items);
1449
+ }, l = N(a.items);
1450
1450
  return (t, c) => (s(), _(me, {
1451
1451
  class: "text-nowrap",
1452
1452
  loading: t.loading,
@@ -1562,7 +1562,7 @@ const zt = { class: "flex justify-between" }, Lt = {
1562
1562
  ])
1563
1563
  ], 2),
1564
1564
  e("div", Gs, [
1565
- p(u(Re), {
1565
+ p(u(qe), {
1566
1566
  as: "h3",
1567
1567
  class: "text-lg font-medium leading-6 text-gray-900"
1568
1568
  }, {
@@ -1572,7 +1572,7 @@ const zt = { class: "flex justify-between" }, Lt = {
1572
1572
  _: 1
1573
1573
  }),
1574
1574
  e("div", Qs, [
1575
- q(l.$slots, "default")
1575
+ R(l.$slots, "default")
1576
1576
  ]),
1577
1577
  l.actions ? (s(), n("div", Ks, [
1578
1578
  (s(!0), n(k, null, $(l.actions, (c, d) => (s(), n("button", {
@@ -1848,8 +1848,8 @@ const se = (m, i) => {
1848
1848
  i === "next" && (m === "day" && (o = T(this.selectedDate).add(1, "day")), m === "month" && (o = T(this.selectedDate).add(1, "month")), m === "year" && (o = T(this.selectedDate).add(1, "year"))), this.$emit("dateSelected", o);
1849
1849
  }
1850
1850
  }
1851
- }, zo = { class: "dateSelector flex items-center text-white flex-row" }, Lo = { class: "pagination flex items-center my-1 md:my-0" }, Oo = { class: "date mx-4 font-bold text-center text-indigo-600 select-none uppercase" }, Ao = { class: "pagination flex items-center my-1 sm:my-0" };
1852
- function No(m, i, o, a, r, l) {
1851
+ }, zo = { class: "dateSelector flex items-center text-white flex-row" }, Lo = { class: "pagination flex items-center my-1 md:my-0" }, Oo = { class: "date mx-4 font-bold text-center text-indigo-600 select-none uppercase" }, No = { class: "pagination flex items-center my-1 sm:my-0" };
1852
+ function Ao(m, i, o, a, r, l) {
1853
1853
  const t = Be("ChevronLeftIcon"), c = Be("ChevronRightIcon");
1854
1854
  return s(), n("div", zo, [
1855
1855
  e("div", Lo, [
@@ -1885,7 +1885,7 @@ function No(m, i, o, a, r, l) {
1885
1885
  ], 2)
1886
1886
  ]),
1887
1887
  e("div", Oo, g(l.formatedDate), 1),
1888
- e("div", Ao, [
1888
+ e("div", No, [
1889
1889
  e("div", {
1890
1890
  class: "previousDay flex items-center cursor-pointer bg-indigo-600 p-1 rounded mx-0.5 hover:bg-indigo-800 shadow-sm",
1891
1891
  onClick: i[3] || (i[3] = (d) => l.selectDate("day", "next"))
@@ -1910,15 +1910,15 @@ function No(m, i, o, a, r, l) {
1910
1910
  ])
1911
1911
  ]);
1912
1912
  }
1913
- const Po = /* @__PURE__ */ se(To, [["render", No]]), Yo = {
1913
+ const Po = /* @__PURE__ */ se(To, [["render", Ao]]), Yo = {
1914
1914
  name: "SkeletonTable"
1915
- }, Io = { class: "px-4 sm:px-6 lg:px-8 animate-pulse" }, Fo = { class: "flow-root" }, Vo = { class: "-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8" }, qo = { class: "inline-block min-w-full py-2 align-middle px-1" }, Ro = { class: "overflow-hidden shadow ring-1 ring-black ring-opacity-5 sm:rounded-lg" }, Ho = { class: "min-w-full divide-y divide-gray-300" }, Uo = { class: "divide-y divide-gray-200 bg-white" };
1915
+ }, Io = { class: "px-4 sm:px-6 lg:px-8 animate-pulse" }, Fo = { class: "flow-root" }, Vo = { class: "-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8" }, Ro = { class: "inline-block min-w-full py-2 align-middle px-1" }, qo = { class: "overflow-hidden shadow ring-1 ring-black ring-opacity-5 sm:rounded-lg" }, Ho = { class: "min-w-full divide-y divide-gray-300" }, Uo = { class: "divide-y divide-gray-200 bg-white" };
1916
1916
  function Eo(m, i, o, a, r, l) {
1917
1917
  return s(), n("div", Io, [
1918
1918
  e("div", Fo, [
1919
1919
  e("div", Vo, [
1920
- e("div", qo, [
1921
- e("div", Ro, [
1920
+ e("div", Ro, [
1921
+ e("div", qo, [
1922
1922
  e("table", Ho, [
1923
1923
  i[1] || (i[1] = e("thead", { class: "bg-gray-50" }, [
1924
1924
  e("tr", null, [
@@ -2139,8 +2139,8 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2139
2139
  },
2140
2140
  emits: ["dateChanged", "changeCategoryBulkPrices", "changeCategorySelectionPrice", "changeCategoryUpgradePrice", "changeRoomPrice", "tableAction"],
2141
2141
  setup(m, { emit: i }) {
2142
- const o = m, a = i, r = A(/* @__PURE__ */ new Date()), l = A(o.today), t = A([]);
2143
- R(() => o.today, (x) => {
2142
+ const o = m, a = i, r = N(/* @__PURE__ */ new Date()), l = N(o.today), t = N([]);
2143
+ q(() => o.today, (x) => {
2144
2144
  l.value = x;
2145
2145
  });
2146
2146
  const c = Y(() => {
@@ -2155,7 +2155,7 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2155
2155
  return I ? I.price : x.price;
2156
2156
  }, w = (x) => {
2157
2157
  t.value = x.target.checked ? o.rooms.map((I) => I.id) : [];
2158
- }, z = () => a("changeCategoryBulkPrices"), N = (x) => a("changeCategorySelectionPrice", x), M = (x) => a("changeCategoryUpgradePrice", x), S = (x) => a("tableAction", x), F = (x, I, P) => a("changeRoomPrice", { price: x, roomId: I, roomName: P });
2158
+ }, z = () => a("changeCategoryBulkPrices"), A = (x) => a("changeCategorySelectionPrice", x), M = (x) => a("changeCategoryUpgradePrice", x), S = (x) => a("tableAction", x), F = (x, I, P) => a("changeRoomPrice", { price: x, roomId: I, roomName: P });
2159
2159
  return (x, I) => {
2160
2160
  var P, oe;
2161
2161
  return x.loading ? (s(), _(Ke, { key: 1 })) : (s(), n("div", nl, [
@@ -2205,7 +2205,7 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2205
2205
  class: "p-0"
2206
2206
  }, [
2207
2207
  p(le, {
2208
- onClick: (X) => N(O),
2208
+ onClick: (X) => A(O),
2209
2209
  class: "border-l border-gray-200 px-6 py-3 text-indigo-600 hover:text-indigo-400 font-bold cursor-pointer",
2210
2210
  price: O,
2211
2211
  currency: x.currency.symbol,
@@ -2220,7 +2220,7 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2220
2220
  class: "p-0"
2221
2221
  }, [
2222
2222
  p(le, {
2223
- onClick: (X) => N(O),
2223
+ onClick: (X) => A(O),
2224
2224
  class: "border-l border-gray-200 px-6 py-3 text-indigo-600 hover:text-indigo-400 font-bold cursor-pointer",
2225
2225
  price: O,
2226
2226
  currency: x.currency.symbol,
@@ -2287,7 +2287,7 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2287
2287
  value: O.name,
2288
2288
  "onUpdate:modelValue": I[1] || (I[1] = (V) => t.value = V)
2289
2289
  }, null, 8, jl), [
2290
- [Ne, t.value]
2290
+ [Ae, t.value]
2291
2291
  ]),
2292
2292
  e("span", Tl, g(O.name), 1)
2293
2293
  ]),
@@ -2314,10 +2314,10 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2314
2314
  ]));
2315
2315
  };
2316
2316
  }
2317
- }), Al = { class: "chart-header flex flex-row items-center w-full justify-between" }, Nl = { class: "text-sm font-medium text-gray-500 truncate mr-8" }, Pl = {
2317
+ }), Nl = { class: "chart-header flex flex-row items-center w-full justify-between" }, Al = { class: "text-sm font-medium text-gray-500 truncate mr-8" }, Pl = {
2318
2318
  key: 0,
2319
2319
  class: "flex items-center gap-x-2 grow"
2320
- }, Yl = { class: "self-center ml-2" }, Il = { class: "self-center ml-2" }, Fl = { class: "self-center ml-2" }, Vl = { class: "hidden sm:flex items-center" }, ql = { class: "w-1/2 min-w-0 flex-1" }, Rl = ["max"], Hl = { class: "min-w-0 flex-1" }, Ul = ["max"], El = { class: "chart-content relative" }, Zl = /* @__PURE__ */ B({
2320
+ }, Yl = { class: "self-center ml-2" }, Il = { class: "self-center ml-2" }, Fl = { class: "self-center ml-2" }, Vl = { class: "hidden sm:flex items-center" }, Rl = { class: "w-1/2 min-w-0 flex-1" }, ql = ["max"], Hl = { class: "min-w-0 flex-1" }, Ul = ["max"], El = { class: "chart-content relative" }, Zl = /* @__PURE__ */ B({
2321
2321
  __name: "uiChart",
2322
2322
  props: {
2323
2323
  labels: {},
@@ -2339,9 +2339,9 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2339
2339
  },
2340
2340
  emits: ["selectedRange", "chartUpdated", "dataPointSelection", "maximizeChart"],
2341
2341
  setup(m, { emit: i }) {
2342
- const o = i, a = A((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":"))), r = m;
2342
+ const o = i, a = N((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":"))), r = m;
2343
2343
  let l = Q(r.dates || { from: "", to: a });
2344
- R(() => r.dates, (M) => {
2344
+ q(() => r.dates, (M) => {
2345
2345
  M && (l = M);
2346
2346
  });
2347
2347
  let c = {
@@ -2402,15 +2402,15 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2402
2402
  }), r.type === "area" && (c.tooltip = { intersect: !0, shared: !1 });
2403
2403
  const d = () => (c.chart.stacked = r.stacked, { ...c, ...r.options, plotOptions: { bar: { horizontal: r.horizontal } } }), f = () => {
2404
2404
  l.from !== "" && l.to !== "" && T(l.from).isBefore(T(l.to)) && o("selectedRange", { range: l, chartId: r.id });
2405
- }, h = Y(() => r.series), w = Y(() => d()), z = () => o("chartUpdated"), N = (M, S, F) => {
2405
+ }, h = Y(() => r.series), w = Y(() => d()), z = () => o("chartUpdated"), A = (M, S, F) => {
2406
2406
  o("dataPointSelection", { id: r.id, chartContext: S, config: F, event: M });
2407
2407
  };
2408
2408
  return (M, S) => (s(), n(k, null, [
2409
2409
  C(e("div", {
2410
2410
  class: y(["h-[" + M.height + "px]", "card chart apex-chart p-4 bg-white shadow rounded-lg overflow-hidden flex grow"])
2411
2411
  }, [
2412
- e("div", Al, [
2413
- e("div", Nl, g(M.title), 1),
2412
+ e("div", Nl, [
2413
+ e("div", Al, g(M.title), 1),
2414
2414
  M.isNps && M.npsLiterals ? (s(), n("div", Pl, [
2415
2415
  p(H, {
2416
2416
  size: "small",
@@ -2459,7 +2459,7 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2459
2459
  })
2460
2460
  ])) : b("", !0),
2461
2461
  e("div", Vl, [
2462
- e("div", ql, [
2462
+ e("div", Rl, [
2463
2463
  C(e("input", {
2464
2464
  type: "datetime-local",
2465
2465
  "onUpdate:modelValue": S[0] || (S[0] = (F) => u(l).from = F),
@@ -2468,7 +2468,7 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2468
2468
  name: "from",
2469
2469
  id: "from",
2470
2470
  class: "text-xs relative block w-full rounded rounded-r-none border-0 bg-transparent py-1.5 text-gray-900 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:z-10 focus:ring-2 focus:ring-inset focus:ring-indigo-600"
2471
- }, null, 40, Rl), [
2471
+ }, null, 40, ql), [
2472
2472
  [ee, u(l).from]
2473
2473
  ])
2474
2474
  ]),
@@ -2503,7 +2503,7 @@ const le = /* @__PURE__ */ se(ol, [["render", rl]]), nl = {
2503
2503
  options: w.value,
2504
2504
  onUpdated: z,
2505
2505
  onMounted: z,
2506
- onDataPointSelection: N
2506
+ onDataPointSelection: A
2507
2507
  }, null, 8, ["type", "series", "height", "options"])
2508
2508
  ], 512), [
2509
2509
  [D, !M.empty]
@@ -2621,7 +2621,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2621
2621
  },
2622
2622
  emits: ["changePage"],
2623
2623
  setup(m, { emit: i }) {
2624
- const o = i, a = m, r = A(3), l = Y(
2624
+ const o = i, a = m, r = N(3), l = Y(
2625
2625
  () => Math.max(1, Number(a.current) - Number(r.value))
2626
2626
  ), t = Y(
2627
2627
  () => Math.min(Number(a.current) + Number(r.value), Number(a.total))
@@ -2637,18 +2637,18 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2637
2637
  ]))) : (s(), n("div", Xl, [
2638
2638
  e("div", er, [
2639
2639
  e("a", tr, [
2640
- q(d.$slots, "previous")
2640
+ R(d.$slots, "previous")
2641
2641
  ]),
2642
2642
  e("a", sr, [
2643
- q(d.$slots, "next")
2643
+ R(d.$slots, "next")
2644
2644
  ])
2645
2645
  ]),
2646
2646
  e("div", or, [
2647
2647
  e("div", null, [
2648
2648
  e("p", lr, [
2649
- q(d.$slots, "showing"),
2649
+ R(d.$slots, "showing"),
2650
2650
  e("span", rr, g(d.current + " "), 1),
2651
- q(d.$slots, "of"),
2651
+ R(d.$slots, "of"),
2652
2652
  e("span", nr, g(d.total), 1)
2653
2653
  ])
2654
2654
  ]),
@@ -2659,7 +2659,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2659
2659
  class: "relative inline-flex items-center px-2 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50"
2660
2660
  }, [
2661
2661
  e("span", ir, [
2662
- q(d.$slots, "previous")
2662
+ R(d.$slots, "previous")
2663
2663
  ]),
2664
2664
  p(u(Je), {
2665
2665
  class: "h-5 w-5",
@@ -2681,7 +2681,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2681
2681
  class: "relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50"
2682
2682
  }, [
2683
2683
  e("span", ur, [
2684
- q(d.$slots, "next")
2684
+ R(d.$slots, "next")
2685
2685
  ]),
2686
2686
  p(u(te), {
2687
2687
  class: "h-5 w-5",
@@ -2811,7 +2811,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2811
2811
  }), Sr = { key: 0 }, Br = { class: "ml-16 text-sm font-medium text-gray-500 truncate" }, Mr = { class: "ml-16 flex items-baseline pb-5" }, Dr = { class: "text-2xl font-semibold text-gray-900" }, jr = {
2812
2812
  key: 0,
2813
2813
  class: "text-black ml-2 flex items-baseline text-sm font-semibold"
2814
- }, Tr = { class: "absolute bottom-0 inset-x-0 bg-gray-50 px-4 py-4 sm:px-6" }, zr = { class: "text-sm" }, Lr = { key: 1 }, Or = { class: "relative bg-white pt-5 px-4 sm:pt-6 sm:px-6 shadow rounded-lg overflow-hidden h-full pb-6" }, Ar = { class: "absolute bg-gray-200 rounded-md p-3 animate-pulse" }, Xe = /* @__PURE__ */ B({
2814
+ }, Tr = { class: "absolute bottom-0 inset-x-0 bg-gray-50 px-4 py-4 sm:px-6" }, zr = { class: "text-sm" }, Lr = { key: 1 }, Or = { class: "relative bg-white pt-5 px-4 sm:pt-6 sm:px-6 shadow rounded-lg overflow-hidden h-full pb-6" }, Nr = { class: "absolute bg-gray-200 rounded-md p-3 animate-pulse" }, Xe = /* @__PURE__ */ B({
2815
2815
  __name: "uiStats",
2816
2816
  props: {
2817
2817
  item: {},
@@ -2822,7 +2822,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2822
2822
  return (o, a) => o.loading ? (s(), n("div", Lr, [
2823
2823
  e("div", Or, [
2824
2824
  e("dt", null, [
2825
- e("div", Ar, [
2825
+ e("div", Nr, [
2826
2826
  p(j, {
2827
2827
  loading: o.loading,
2828
2828
  icon: o.item.icon,
@@ -2901,13 +2901,13 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2901
2901
  ], 2)
2902
2902
  ]));
2903
2903
  }
2904
- }), Nr = {
2904
+ }), Ar = {
2905
2905
  key: 0,
2906
2906
  class: "overflow-hidden bg-white shadow sm:rounded-lg"
2907
- }, Pr = { class: "px-4 py-5 sm:px-6" }, Yr = { class: "text-lg font-medium leading-6 text-gray-900" }, Ir = { class: "mt-1 max-w-2xl text-sm text-gray-500" }, Fr = { class: "border-t border-gray-200" }, Vr = { class: "text-sm font-medium text-gray-500" }, qr = {
2907
+ }, Pr = { class: "px-4 py-5 sm:px-6" }, Yr = { class: "text-lg font-medium leading-6 text-gray-900" }, Ir = { class: "mt-1 max-w-2xl text-sm text-gray-500" }, Fr = { class: "border-t border-gray-200" }, Vr = { class: "text-sm font-medium text-gray-500" }, Rr = {
2908
2908
  key: 0,
2909
2909
  class: "mt-1 text-sm text-gray-900 sm:col-span-2 sm:mt-0 break-normal"
2910
- }, Rr = ["onClick"], Hr = {
2910
+ }, qr = ["onClick"], Hr = {
2911
2911
  key: 2,
2912
2912
  class: "mt-1 text-sm text-gray-900 sm:col-span-2 sm:mt-0 break-words"
2913
2913
  }, Ur = {
@@ -2940,7 +2940,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2940
2940
  ]), 2)), 64))
2941
2941
  ])
2942
2942
  ])
2943
- ])) : (s(), n("div", Nr, [
2943
+ ])) : (s(), n("div", Ar, [
2944
2944
  e("div", Pr, [
2945
2945
  e("h3", Yr, g(o.title), 1),
2946
2946
  e("p", Ir, g(o.subtitle), 1)
@@ -2952,7 +2952,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2952
2952
  class: y(["px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6", [l % 2 === 0 ? "bg-gray-50" : "bg-white"]])
2953
2953
  }, [
2954
2954
  e("dt", Vr, g(r.title), 1),
2955
- r.type === "tags" ? (s(), n("dd", qr, [
2955
+ r.type === "tags" ? (s(), n("dd", Rr, [
2956
2956
  (s(!0), n(k, null, $(r.tags, (t, c) => (s(), _(H, {
2957
2957
  loading: o.loading,
2958
2958
  key: c,
@@ -2968,7 +2968,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
2968
2968
  key: 1,
2969
2969
  class: "mt-1 text-sm text-indigo-600 hover:text-indigo-400 sm:col-span-2 sm:mt-0 cursor-pointer",
2970
2970
  onClick: (t) => o.$emit("itemClicked", r.emits)
2971
- }, g(r.text), 9, Rr)) : (s(), n("dd", Hr, g(r.text), 1))
2971
+ }, g(r.text), 9, qr)) : (s(), n("dd", Hr, g(r.text), 1))
2972
2972
  ], 2))), 128))
2973
2973
  ])
2974
2974
  ])
@@ -3032,7 +3032,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3032
3032
  },
3033
3033
  emits: ["tableAction", "orderBy", "customEmit", "selectedItemsDeleted"],
3034
3034
  setup(m, { emit: i }) {
3035
- let o = A([]), a = A(""), r = A(!1);
3035
+ let o = N([]), a = N(""), r = N(!1);
3036
3036
  const l = i, t = m, c = Y(
3037
3037
  () => o.value.length > 0 && o.value.length < t.items.length
3038
3038
  ), d = (w, z) => {
@@ -3042,16 +3042,16 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3042
3042
  }, h = (w) => {
3043
3043
  l("customEmit", w);
3044
3044
  };
3045
- return R(() => t.resetSelected, (w) => {
3045
+ return q(() => t.resetSelected, (w) => {
3046
3046
  r.value = w, w && r.value && (o.value = [], r.value = !w, l("selectedItemsDeleted"));
3047
3047
  }), (w, z) => {
3048
- var N, M;
3048
+ var A, M;
3049
3049
  return w.loading ? (s(), _(Ke, { key: 1 })) : (s(), n("div", Qr, [
3050
3050
  e("div", Kr, [
3051
3051
  e("div", Xr, [
3052
3052
  e("div", en, [
3053
3053
  e("div", tn, [
3054
- ((N = u(o)) == null ? void 0 : N.length) > 0 && ((M = w.actions) == null ? void 0 : M.length) > 0 ? (s(), n("div", sn, [
3054
+ ((A = u(o)) == null ? void 0 : A.length) > 0 && ((M = w.actions) == null ? void 0 : M.length) > 0 ? (s(), n("div", sn, [
3055
3055
  (s(!0), n(k, null, $(w.actions, (S, F) => (s(), n("button", {
3056
3056
  onClick: (x) => w.$emit("tableAction", { action: S.id, items: u(o) }),
3057
3057
  key: F,
@@ -3132,7 +3132,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3132
3132
  class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500 flex-wrap",
3133
3133
  type: "checkbox"
3134
3134
  }, null, 8, pn)), [
3135
- [Ne, u(o)]
3135
+ [Ae, u(o)]
3136
3136
  ]) : b("", !0)
3137
3137
  ], 2),
3138
3138
  (s(!0), n(k, null, $(S.row, (P, oe) => (s(), n("td", {
@@ -3233,7 +3233,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3233
3233
  key: 0,
3234
3234
  class: "absolute left-4 top-4 -ml-px h-full w-0.5 bg-gray-200",
3235
3235
  "aria-hidden": "true"
3236
- }, Tn = { class: "relative flex space-x-3" }, zn = { class: "min-w-0 flex-1 pt-1.5 flex justify-between space-x-4 items-center" }, Ln = { class: "text-sm text-gray-500" }, On = ["onClick"], An = { class: "text-right text-sm whitespace-nowrap text-gray-500" }, Nn = ["datetime"], Pn = {
3236
+ }, Tn = { class: "relative flex space-x-3" }, zn = { class: "min-w-0 flex-1 pt-1.5 flex justify-between space-x-4 items-center" }, Ln = { class: "text-sm text-gray-500" }, On = ["onClick"], Nn = { class: "text-right text-sm whitespace-nowrap text-gray-500" }, An = ["datetime"], Pn = {
3237
3237
  key: 1,
3238
3238
  class: "bg-gray-50 px-4 py-4 sm:px-6 z-10"
3239
3239
  }, Yn = { class: "text-sm" }, In = {
@@ -3242,7 +3242,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3242
3242
  }, Fn = {
3243
3243
  key: 1,
3244
3244
  class: "bg-white overflow-hidden shadow rounded-lg"
3245
- }, Vn = { class: "px-4 py-5 sm:p-6 animate-pulse" }, qn = { class: "flow-root" }, Rn = {
3245
+ }, Vn = { class: "px-4 py-5 sm:p-6 animate-pulse" }, Rn = { class: "flow-root" }, qn = {
3246
3246
  class: "-mb-8",
3247
3247
  role: "list"
3248
3248
  }, Hn = { class: "relative pb-8" }, Un = {
@@ -3268,8 +3268,8 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3268
3268
  ])
3269
3269
  ], -1)),
3270
3270
  e("div", Vn, [
3271
- e("div", qn, [
3272
- e("ul", Rn, [
3271
+ e("div", Rn, [
3272
+ e("ul", qn, [
3273
3273
  (s(), n(k, null, $(10, (t, c) => e("li", { key: c }, [
3274
3274
  e("div", Hn, [
3275
3275
  t !== 10 ? (s(), n("span", Un)) : b("", !0),
@@ -3328,10 +3328,10 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3328
3328
  L(" " + g(t == null ? void 0 : t.content), 1)
3329
3329
  ])
3330
3330
  ]),
3331
- e("div", An, [
3331
+ e("div", Nn, [
3332
3332
  e("time", {
3333
3333
  datetime: t == null ? void 0 : t.datetime
3334
- }, g(t == null ? void 0 : t.date), 9, Nn)
3334
+ }, g(t == null ? void 0 : t.date), 9, An)
3335
3335
  ])
3336
3336
  ])
3337
3337
  ])
@@ -3729,7 +3729,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3729
3729
  ])
3730
3730
  ]));
3731
3731
  }
3732
- }), Ba = { class: "fixed inset-0 overflow-hidden" }, Ma = { class: "absolute inset-0 overflow-hidden" }, Da = { class: "pointer-events-none fixed inset-y-0 right-0 flex max-w-full pl-10" }, ja = { class: "flex h-full flex-col overflow-y-scroll bg-white shadow-xl" }, Ta = { class: "bg-indigo-700 px-4 py-6 sm:px-6" }, za = { class: "flex items-center justify-between" }, La = { class: "ml-3 flex h-7 items-center" }, Oa = { class: "mt-1" }, Aa = { class: "text-sm text-indigo-300" }, Na = { class: "relative flex-1 px-4 py-6 sm:px-6" }, Pa = /* @__PURE__ */ B({
3732
+ }), Ba = { class: "fixed inset-0 overflow-hidden" }, Ma = { class: "absolute inset-0 overflow-hidden" }, Da = { class: "pointer-events-none fixed inset-y-0 right-0 flex max-w-full pl-10" }, ja = { class: "flex h-full flex-col overflow-y-scroll bg-white shadow-xl" }, Ta = { class: "bg-indigo-700 px-4 py-6 sm:px-6" }, za = { class: "flex items-center justify-between" }, La = { class: "ml-3 flex h-7 items-center" }, Oa = { class: "mt-1" }, Na = { class: "text-sm text-indigo-300" }, Aa = { class: "relative flex-1 px-4 py-6 sm:px-6" }, Pa = /* @__PURE__ */ B({
3733
3733
  __name: "uiRightSidebar",
3734
3734
  props: {
3735
3735
  title: {},
@@ -3768,7 +3768,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3768
3768
  e("div", ja, [
3769
3769
  e("div", Ta, [
3770
3770
  e("div", za, [
3771
- p(u(Re), { class: "text-base font-semibold leading-6 text-white" }, {
3771
+ p(u(qe), { class: "text-base font-semibold leading-6 text-white" }, {
3772
3772
  default: v(() => [
3773
3773
  L(g(o.title), 1)
3774
3774
  ]),
@@ -3790,11 +3790,11 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3790
3790
  ])
3791
3791
  ]),
3792
3792
  e("div", Oa, [
3793
- e("p", Aa, g(o.description), 1)
3793
+ e("p", Na, g(o.description), 1)
3794
3794
  ])
3795
3795
  ]),
3796
- e("div", Na, [
3797
- q(o.$slots, "default")
3796
+ e("div", Aa, [
3797
+ R(o.$slots, "default")
3798
3798
  ])
3799
3799
  ])
3800
3800
  ]),
@@ -3817,7 +3817,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3817
3817
  key: 1,
3818
3818
  role: "list",
3819
3819
  class: "grid grid-cols-2 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-4 lg:grid-cols-6"
3820
- }, Fa = { class: "group aspect-h-7 aspect-w-10 block w-full overflow-hidden rounded-lg bg-gray-100 focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 focus-within:ring-offset-gray-100" }, Va = ["src"], qa = ["onClick"], Ra = { class: "pointer-events-none mt-2 block truncate text-sm font-medium text-gray-900" }, Ha = { class: "flex items-center justify-between" }, Ua = { class: "pointer-events-none block text-sm font-medium text-gray-500" }, Ea = {
3820
+ }, Fa = { class: "group aspect-h-7 aspect-w-10 block w-full overflow-hidden rounded-lg bg-gray-100 focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 focus-within:ring-offset-gray-100" }, Va = ["src"], Ra = ["onClick"], qa = { class: "pointer-events-none mt-2 block truncate text-sm font-medium text-gray-900" }, Ha = { class: "flex items-center justify-between" }, Ua = { class: "pointer-events-none block text-sm font-medium text-gray-500" }, Ea = {
3821
3821
  key: 2,
3822
3822
  role: "list",
3823
3823
  class: "grid grid-cols-2 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-4 lg:grid-cols-6"
@@ -3831,7 +3831,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3831
3831
  },
3832
3832
  emits: ["modalAction", "deleteImage", "imgClicked"],
3833
3833
  setup(m, { emit: i }) {
3834
- const o = i, a = A(!1), r = (l) => {
3834
+ const o = i, a = N(!1), r = (l) => {
3835
3835
  a.value = !1, o("modalAction", l);
3836
3836
  };
3837
3837
  return (l, t) => (s(), n("div", Ya, [
@@ -3870,9 +3870,9 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3870
3870
  type: "button",
3871
3871
  class: "absolute inset-0 focus:outline-none",
3872
3872
  onClick: (d) => l.$emit("imgClicked", c)
3873
- }, null, 8, qa)
3873
+ }, null, 8, Ra)
3874
3874
  ]),
3875
- e("p", Ra, g(c.title), 1),
3875
+ e("p", qa, g(c.title), 1),
3876
3876
  e("div", Ha, [
3877
3877
  e("p", Ua, g(c.size), 1),
3878
3878
  p(j, {
@@ -3912,8 +3912,8 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3912
3912
  emits: ["dragAndDropUpdated"],
3913
3913
  setup(m, { emit: i }) {
3914
3914
  const o = i, a = m;
3915
- let r = A(a.elements);
3916
- R(() => a.elements, (t) => {
3915
+ let r = N(a.elements);
3916
+ q(() => a.elements, (t) => {
3917
3917
  r.value = t;
3918
3918
  });
3919
3919
  const l = (t) => {
@@ -3972,10 +3972,10 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
3972
3972
  },
3973
3973
  emits: ["selectedRange", "chartUpdated", "dataPointSelection", "maximizeChart"],
3974
3974
  setup(m, { emit: i }) {
3975
- const o = i, a = m, r = A((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":")));
3975
+ const o = i, a = m, r = N((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":")));
3976
3976
  let l = Q(a.dates || { from: "", to: r });
3977
- R(() => a.dates, (N) => {
3978
- N && (l = N);
3977
+ q(() => a.dates, (A) => {
3978
+ A && (l = A);
3979
3979
  });
3980
3980
  let t = {
3981
3981
  chart: {
@@ -4009,17 +4009,17 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4009
4009
  }
4010
4010
  }
4011
4011
  };
4012
- const c = () => ({ ...t, ...a.options }), d = Y(() => a.series), f = Y(() => c()), h = () => o("chartUpdated"), w = (N, M, S) => {
4013
- o("dataPointSelection", { id: a.id, chartContext: M, config: S, event: N });
4012
+ const c = () => ({ ...t, ...a.options }), d = Y(() => a.series), f = Y(() => c()), h = () => o("chartUpdated"), w = (A, M, S) => {
4013
+ o("dataPointSelection", { id: a.id, chartContext: M, config: S, event: A });
4014
4014
  }, z = () => {
4015
4015
  l.from !== "" && l.to !== "" && T(l.from).isBefore(T(l.to)) && o("selectedRange", { range: l, chartId: a.id });
4016
4016
  };
4017
- return (N, M) => (s(), n(k, null, [
4017
+ return (A, M) => (s(), n(k, null, [
4018
4018
  C(e("div", {
4019
- class: y(["h-[" + N.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow"])
4019
+ class: y(["h-[" + A.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow"])
4020
4020
  }, [
4021
4021
  e("div", si, [
4022
- e("div", oi, g(N.title), 1),
4022
+ e("div", oi, g(A.title), 1),
4023
4023
  e("div", li, [
4024
4024
  e("div", ri, [
4025
4025
  C(e("input", {
@@ -4050,9 +4050,9 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4050
4050
  p(j, {
4051
4051
  class: "ml-4 cursor-pointer",
4052
4052
  size: "big",
4053
- loading: N.loading,
4053
+ loading: A.loading,
4054
4054
  icon: u(Ue),
4055
- onClick: M[2] || (M[2] = (S) => N.$emit("maximizeChart", N.id))
4055
+ onClick: M[2] || (M[2] = (S) => A.$emit("maximizeChart", A.id))
4056
4056
  }, null, 8, ["loading", "icon"])
4057
4057
  ])
4058
4058
  ]),
@@ -4062,13 +4062,13 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4062
4062
  type: "donut",
4063
4063
  series: d.value,
4064
4064
  options: f.value,
4065
- height: N.height - 80,
4065
+ height: A.height - 80,
4066
4066
  onUpdated: h,
4067
4067
  onMounted: h,
4068
4068
  onDataPointSelection: w
4069
4069
  }, null, 8, ["series", "options", "height"])
4070
4070
  ], 512), [
4071
- [D, !N.empty]
4071
+ [D, !A.empty]
4072
4072
  ]),
4073
4073
  C(e("div", ui, [
4074
4074
  p(j, {
@@ -4079,10 +4079,10 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4079
4079
  }, null, 8, ["icon"]),
4080
4080
  M[3] || (M[3] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1))
4081
4081
  ], 512), [
4082
- [D, N.empty]
4082
+ [D, A.empty]
4083
4083
  ])
4084
4084
  ], 2), [
4085
- [D, !N.loading]
4085
+ [D, !A.loading]
4086
4086
  ]),
4087
4087
  C(e("div", ci, M[4] || (M[4] = [
4088
4088
  e("div", {
@@ -4111,7 +4111,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4111
4111
  ])
4112
4112
  ], -1)
4113
4113
  ]), 512), [
4114
- [D, N.loading]
4114
+ [D, A.loading]
4115
4115
  ])
4116
4116
  ], 64));
4117
4117
  }
@@ -4136,10 +4136,10 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4136
4136
  },
4137
4137
  emits: ["uiDateRangeButtonClicked"],
4138
4138
  setup(m, { emit: i }) {
4139
- const o = m, a = A((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":")));
4139
+ const o = m, a = N((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":")));
4140
4140
  let r = Q(o.values || { from: "", to: a });
4141
4141
  const l = i;
4142
- R(() => o.values, (c) => {
4142
+ q(() => o.values, (c) => {
4143
4143
  c && (r = c);
4144
4144
  });
4145
4145
  const t = () => {
@@ -4224,7 +4224,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4224
4224
  },
4225
4225
  emits: ["sliderUpdated"],
4226
4226
  setup(m, { emit: i }) {
4227
- const o = i, r = A(m.sliderValue);
4227
+ const o = i, r = N(m.sliderValue);
4228
4228
  return (l, t) => (s(), n("div", null, [
4229
4229
  e("div", hi, [
4230
4230
  l.label ? (s(), n("label", yi, g(l.label), 1)) : b("", !0),
@@ -4359,17 +4359,17 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4359
4359
  ])
4360
4360
  ]));
4361
4361
  }
4362
- }), Oi = { class: "flex flex-row grow border-r border-gray-200 bg-white pr-6" }, Ai = { class: "bg-indigo-600 w-16 mr-6" }, Ni = ["onClick"], Pi = {
4362
+ }), Oi = { class: "flex flex-row grow border-r border-gray-200 bg-white pr-6" }, Ni = { class: "bg-indigo-600 w-16 mr-6" }, Ai = ["onClick"], Pi = {
4363
4363
  key: 0,
4364
4364
  class: "flex flex-col grow gap-y-5 overflow-y-auto pr-6"
4365
4365
  }, Yi = { class: "flex h-16 shrink-0 items-center" }, Ii = ["src"], Fi = { class: "flex flex-1 flex-col" }, Vi = {
4366
4366
  key: 0,
4367
4367
  role: "list",
4368
4368
  class: "flex flex-1 flex-col gap-y-7 mb-4"
4369
- }, qi = {
4369
+ }, Ri = {
4370
4370
  role: "list",
4371
4371
  class: "ml-2 space-y-1"
4372
- }, Ri = ["onClick"], Hi = {
4372
+ }, qi = ["onClick"], Hi = {
4373
4373
  key: 1,
4374
4374
  role: "list",
4375
4375
  class: "flex flex-1 flex-col gap-y-7 mb-4"
@@ -4389,7 +4389,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4389
4389
  emits: ["productBarClick", "sideBarClick"],
4390
4390
  setup(m, { emit: i }) {
4391
4391
  return (o, a) => (s(), n("div", Oi, [
4392
- e("div", Ai, [
4392
+ e("div", Ni, [
4393
4393
  e("ul", null, [
4394
4394
  (s(!0), n(k, null, $(o.productsSidebar, (r, l) => (s(), n("li", {
4395
4395
  key: l,
@@ -4402,7 +4402,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4402
4402
  color: "white",
4403
4403
  size: "bigger"
4404
4404
  }, null, 8, ["icon"])
4405
- ], 10, Ni))), 128))
4405
+ ], 10, Ai))), 128))
4406
4406
  ])
4407
4407
  ]),
4408
4408
  o.loading ? (s(), n("div", Zi, [
@@ -4421,7 +4421,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4421
4421
  e("nav", Fi, [
4422
4422
  o.isFilterNavigation ? b("", !0) : (s(), n("ul", Vi, [
4423
4423
  e("li", null, [
4424
- e("ul", qi, [
4424
+ e("ul", Ri, [
4425
4425
  (s(!0), n(k, null, $(o.navigation, (r) => (s(), n("li", {
4426
4426
  key: r.name
4427
4427
  }, [
@@ -4494,7 +4494,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4494
4494
  class: "shrink-0"
4495
4495
  }, null, 8, ["icon"]),
4496
4496
  L(" " + g(r.name), 1)
4497
- ], 10, Ri))
4497
+ ], 10, qi))
4498
4498
  ]))), 128))
4499
4499
  ])
4500
4500
  ])
@@ -4546,7 +4546,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4546
4546
  },
4547
4547
  emits: ["productBarClick", "sideBarClick", "selectChanged", "topBarClick"],
4548
4548
  setup(m, { emit: i }) {
4549
- const o = m, a = A(""), r = Y(() => a.value === "" ? o.topbar.selectItems : o.topbar.selectItems.filter((d) => d.name.toLowerCase().includes(a.value.toLowerCase()))), l = (d) => (d == null ? void 0 : d.name) ?? "", t = Y(() => o.topbar.selectedItem), c = A(!1);
4549
+ const o = m, a = N(""), r = Y(() => a.value === "" ? o.topbar.selectItems : o.topbar.selectItems.filter((d) => d.name.toLowerCase().includes(a.value.toLowerCase()))), l = (d) => (d == null ? void 0 : d.name) ?? "", t = Y(() => o.topbar.selectedItem), c = N(!1);
4550
4550
  return (d, f) => (s(), n("div", null, [
4551
4551
  p(u(we), {
4552
4552
  as: "template",
@@ -4701,7 +4701,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4701
4701
  class: "absolute z-10 mt-1 max-h-60 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"
4702
4702
  }, {
4703
4703
  default: v(() => [
4704
- (s(!0), n(k, null, $(r.value, (h) => (s(), _(u(qe), {
4704
+ (s(!0), n(k, null, $(r.value, (h) => (s(), _(u(Re), {
4705
4705
  key: h.id,
4706
4706
  value: h,
4707
4707
  as: "template"
@@ -4806,7 +4806,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4806
4806
  ]),
4807
4807
  e("main", dd, [
4808
4808
  e("div", ud, [
4809
- q(d.$slots, "default")
4809
+ R(d.$slots, "default")
4810
4810
  ])
4811
4811
  ])
4812
4812
  ])
@@ -4819,7 +4819,7 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4819
4819
  loading: { type: Boolean, default: !0 }
4820
4820
  },
4821
4821
  setup(m) {
4822
- const i = m, o = () => i.dynamicStats.length <= 5 ? `lg:grid-cols-${i.dynamicStats.length}` : `lg:grid-cols-${Math.floor(i.dynamicStats.length / 2)} xl:grid-cols-${i.dynamicStats.length}`, a = A(0), r = A(o());
4822
+ const i = m, o = () => i.dynamicStats.length <= 5 ? `lg:grid-cols-${i.dynamicStats.length}` : `lg:grid-cols-${Math.floor(i.dynamicStats.length / 2)} xl:grid-cols-${i.dynamicStats.length}`, a = N(0), r = N(o());
4823
4823
  return st(() => a.value += 1), (l, t) => (s(), n("div", {
4824
4824
  class: y([r.value, "grid grid-cols-1 md:grid-cols-2 gap-4"]),
4825
4825
  key: a.value
@@ -4843,9 +4843,9 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4843
4843
  },
4844
4844
  emits: ["smartFilterSelected", "smartInputChanged", "smartOptionSelected", "rightAddOnClicked"],
4845
4845
  setup(m, { emit: i }) {
4846
- const o = m, a = i, r = A(o.filterType);
4846
+ const o = m, a = i, r = N(o.filterType);
4847
4847
  let l = Q(o.inputProps), t = Q(o.dropdownProps);
4848
- R(() => o.filterType, (h) => r.value = h), R(() => o.inputProps, (h) => l = h), R(() => o.dropdownProps, (h) => t = h);
4848
+ q(() => o.filterType, (h) => r.value = h), q(() => o.inputProps, (h) => l = h), q(() => o.dropdownProps, (h) => t = h);
4849
4849
  const c = Y(() => r.value === "input" ? l : t), d = Y(() => r.value === "input" ? E : me), f = (h) => {
4850
4850
  r.value = h.type, a("smartFilterSelected", h);
4851
4851
  };
@@ -4855,18 +4855,14 @@ const Ql = /* @__PURE__ */ se(Jl, [["render", Gl]]), Kl = /* @__PURE__ */ B({
4855
4855
  loading: h.loading,
4856
4856
  onFilterSelected: f
4857
4857
  }, null, 8, ["items", "loading"]),
4858
- (s(), _(Ae(d.value), ot({
4858
+ (s(), _(Ne(d.value), ot({
4859
4859
  class: [{ "rounded-md": !h.inputProps.rightAddOn, "rounded-l-md": h.inputProps.rightAddOn, "rounded-r-none": h.inputProps.rightAddOn }, "w-full mt-2 lg:mt-0 lg:mx-2 lg:grow"]
4860
4860
  }, c.value, {
4861
4861
  loading: h.loading,
4862
4862
  onInputChanged: w[0] || (w[0] = (z) => a("smartInputChanged", z)),
4863
- onOptionSelected: w[1] || (w[1] = (z) => a("smartOptionSelected", z))
4863
+ onOptionSelected: w[1] || (w[1] = (z) => a("smartOptionSelected", z)),
4864
+ onRightAddOnClicked: w[2] || (w[2] = (z) => a("rightAddOnClicked"))
4864
4865
  }), null, 16, ["class", "loading"])),
4865
- h.inputProps.rightAddOn && r.value === "input" ? (s(), n("span", {
4866
- key: 0,
4867
- onClick: w[2] || (w[2] = (z) => h.$emit("rightAddOnClicked")),
4868
- class: "inline-flex items-center px-3 rounded-r-md border border-l-0 border-gray-300 bg-gray-50 hover:bg-gray-200 text-gray-500 sm:text-sm cursor-pointer"
4869
- }, g(h.inputProps.rightAddOn), 1)) : b("", !0),
4870
4866
  p(J, {
4871
4867
  class: "mt-2 lg:mt-0",
4872
4868
  loading: h.loading