@hotelinking/ui 10.41.9 → 10.41.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.
Files changed (3) hide show
  1. package/dist/ui.cjs +1 -1
  2. package/dist/ui.es.js +964 -960
  3. package/package.json +1 -1
package/dist/ui.es.js CHANGED
@@ -1,10 +1,10 @@
1
- import { defineComponent as B, openBlock as s, createBlock as _, resolveDynamicComponent as Ke, normalizeClass as h, createElementBlock as r, createCommentVNode as b, renderSlot as q, createElementVNode as e, ref as N, watch as R, computed as V, unref as u, withCtx as y, toDisplayString as g, createVNode as m, createTextVNode as z, Transition as ue, Fragment as x, renderList as $, withDirectives as C, vModelDynamic as Xe, vShow as D, withModifiers as Se, vModelText as X, createStaticVNode as Q, resolveComponent as Be, vModelCheckbox as Ae, reactive as ce, isRef as Ye, TransitionGroup as et, onMounted as tt } from "vue";
1
+ import { defineComponent as M, openBlock as s, createBlock as _, resolveDynamicComponent as Ke, normalizeClass as h, createElementBlock as n, createCommentVNode as b, renderSlot as q, createElementVNode as e, ref as N, watch as R, computed as V, unref as u, withCtx as y, toDisplayString as g, createVNode as m, createTextVNode as z, Transition as ue, Fragment as x, renderList as $, withDirectives as C, vModelDynamic as Xe, vShow as D, withModifiers as Se, vModelText as X, createStaticVNode as Q, resolveComponent as Be, vModelCheckbox as Ae, reactive as ce, isRef as Ye, TransitionGroup as et, onMounted as tt } from "vue";
2
2
  import { Menu as fe, MenuButton as he, MenuItems as ye, MenuItem as ve, Combobox as Oe, ComboboxLabel as st, ComboboxInput as Ie, ComboboxButton as Pe, ComboboxOptions as Ve, ComboboxOption as Fe, SwitchGroup as ot, Switch as lt, SwitchLabel as rt, TransitionRoot as be, Dialog as we, TransitionChild as W, DialogPanel as xe, DialogTitle as qe, Disclosure as ke, DisclosureButton as E, DisclosurePanel as _e } from "@headlessui/vue";
3
3
  import T from "dayjs";
4
4
  import $e from "vue3-apexcharts";
5
5
  import nt from "vue3-draggable";
6
6
  import at from "@vueform/slider";
7
- const j = /* @__PURE__ */ B({
7
+ const j = /* @__PURE__ */ M({
8
8
  __name: "uiIcon",
9
9
  props: {
10
10
  icon: {},
@@ -13,7 +13,7 @@ const j = /* @__PURE__ */ B({
13
13
  loading: { type: Boolean, default: !0 }
14
14
  },
15
15
  setup(p) {
16
- return (i, o) => i.loading ? (s(), r("div", {
16
+ return (i, l) => i.loading ? (s(), n("div", {
17
17
  key: 1,
18
18
  class: h([{
19
19
  "h-4 w-4": i.size === "medium",
@@ -44,7 +44,7 @@ const j = /* @__PURE__ */ B({
44
44
  }), it = ["disabled"], dt = {
45
45
  key: 1,
46
46
  class: "animate-pulse px-4 py-2.5 text-sm rounded-md inline-flex items-center border border-transparent font-medium shadow-sm text-white focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:opacity-25 bg-gray-200"
47
- }, G = /* @__PURE__ */ B({
47
+ }, G = /* @__PURE__ */ M({
48
48
  __name: "uiButton",
49
49
  props: {
50
50
  block: { type: Boolean },
@@ -55,7 +55,7 @@ const j = /* @__PURE__ */ B({
55
55
  size: { default: "medium" }
56
56
  },
57
57
  setup(p) {
58
- return (i, o) => i.loading ? (s(), r("button", dt, [
58
+ return (i, l) => i.loading ? (s(), n("button", dt, [
59
59
  i.icon ? (s(), _(j, {
60
60
  key: 0,
61
61
  icon: i.icon,
@@ -63,8 +63,8 @@ const j = /* @__PURE__ */ B({
63
63
  class: "-ml-0.5 mr-2",
64
64
  loading: i.loading
65
65
  }, null, 8, ["icon", "loading"])) : b("", !0),
66
- o[0] || (o[0] = e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-16" }, null, -1))
67
- ])) : (s(), r("button", {
66
+ l[0] || (l[0] = e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-16" }, null, -1))
67
+ ])) : (s(), n("button", {
68
68
  key: 0,
69
69
  disabled: i.disabled,
70
70
  class: h([{
@@ -96,7 +96,7 @@ const j = /* @__PURE__ */ B({
96
96
  }, ct = { class: "flex items-center h-5" }, gt = ["checked", "value", "disabled"], mt = { class: "ml-3 text-sm" }, pt = { class: "text-gray-500" }, ft = {
97
97
  key: 1,
98
98
  class: "flex items-center animate-pulse"
99
- }, Re = /* @__PURE__ */ B({
99
+ }, Re = /* @__PURE__ */ M({
100
100
  __name: "uiCheckbox",
101
101
  props: {
102
102
  check: { type: Boolean, default: !1 },
@@ -107,15 +107,15 @@ const j = /* @__PURE__ */ B({
107
107
  },
108
108
  emits: ["checkboxChanged"],
109
109
  setup(p, { emit: i }) {
110
- const o = i, a = p, n = N(a.check), l = () => {
111
- a.disabled || (n.value = !n.value, o("checkboxChanged", { checked: n.value, value: a.value }));
110
+ const l = i, a = p, r = N(a.check), o = () => {
111
+ a.disabled || (r.value = !r.value, l("checkboxChanged", { checked: r.value, value: a.value }));
112
112
  };
113
113
  return R(() => a.check, (t) => {
114
- t && (n.value = t);
115
- }), (t, c) => t.loading ? (s(), r("div", ft, c[1] || (c[1] = [
114
+ t && (r.value = t);
115
+ }), (t, c) => t.loading ? (s(), n("div", ft, c[1] || (c[1] = [
116
116
  e("div", { class: "w-5 h-5 rounded bg-gray-200" }, null, -1),
117
117
  e("div", { class: "ml-3 h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28" }, null, -1)
118
- ]))) : (s(), r("div", ut, [
118
+ ]))) : (s(), n("div", ut, [
119
119
  e("div", ct, [
120
120
  e("input", {
121
121
  checked: t.check,
@@ -123,7 +123,7 @@ const j = /* @__PURE__ */ B({
123
123
  disabled: t.disabled,
124
124
  class: "focus:ring-indigo-500 h-4 w-4 text-indigo-600 border-gray-300 rounded disabled:opacity-25",
125
125
  type: "checkbox",
126
- onChange: c[0] || (c[0] = (d) => l())
126
+ onChange: c[0] || (c[0] = (d) => o())
127
127
  }, null, 40, gt)
128
128
  ]),
129
129
  e("div", mt, [
@@ -135,7 +135,7 @@ const j = /* @__PURE__ */ B({
135
135
  }
136
136
  });
137
137
  function ht(p, i) {
138
- return s(), r("svg", {
138
+ return s(), n("svg", {
139
139
  xmlns: "http://www.w3.org/2000/svg",
140
140
  fill: "none",
141
141
  viewBox: "0 0 24 24",
@@ -152,7 +152,7 @@ function ht(p, i) {
152
152
  ]);
153
153
  }
154
154
  function yt(p, i) {
155
- return s(), r("svg", {
155
+ return s(), n("svg", {
156
156
  xmlns: "http://www.w3.org/2000/svg",
157
157
  fill: "none",
158
158
  viewBox: "0 0 24 24",
@@ -169,7 +169,7 @@ function yt(p, i) {
169
169
  ]);
170
170
  }
171
171
  function vt(p, i) {
172
- return s(), r("svg", {
172
+ return s(), n("svg", {
173
173
  xmlns: "http://www.w3.org/2000/svg",
174
174
  fill: "none",
175
175
  viewBox: "0 0 24 24",
@@ -186,7 +186,7 @@ function vt(p, i) {
186
186
  ]);
187
187
  }
188
188
  function He(p, i) {
189
- return s(), r("svg", {
189
+ return s(), n("svg", {
190
190
  xmlns: "http://www.w3.org/2000/svg",
191
191
  fill: "none",
192
192
  viewBox: "0 0 24 24",
@@ -203,7 +203,7 @@ function He(p, i) {
203
203
  ]);
204
204
  }
205
205
  function Ue(p, i) {
206
- return s(), r("svg", {
206
+ return s(), n("svg", {
207
207
  xmlns: "http://www.w3.org/2000/svg",
208
208
  fill: "none",
209
209
  viewBox: "0 0 24 24",
@@ -220,7 +220,7 @@ function Ue(p, i) {
220
220
  ]);
221
221
  }
222
222
  function bt(p, i) {
223
- return s(), r("svg", {
223
+ return s(), n("svg", {
224
224
  xmlns: "http://www.w3.org/2000/svg",
225
225
  fill: "none",
226
226
  viewBox: "0 0 24 24",
@@ -237,7 +237,7 @@ function bt(p, i) {
237
237
  ]);
238
238
  }
239
239
  function wt(p, i) {
240
- return s(), r("svg", {
240
+ return s(), n("svg", {
241
241
  xmlns: "http://www.w3.org/2000/svg",
242
242
  fill: "none",
243
243
  viewBox: "0 0 24 24",
@@ -254,7 +254,7 @@ function wt(p, i) {
254
254
  ]);
255
255
  }
256
256
  function Ee(p, i) {
257
- return s(), r("svg", {
257
+ return s(), n("svg", {
258
258
  xmlns: "http://www.w3.org/2000/svg",
259
259
  fill: "none",
260
260
  viewBox: "0 0 24 24",
@@ -271,7 +271,7 @@ function Ee(p, i) {
271
271
  ]);
272
272
  }
273
273
  function ge(p, i) {
274
- return s(), r("svg", {
274
+ return s(), n("svg", {
275
275
  xmlns: "http://www.w3.org/2000/svg",
276
276
  fill: "none",
277
277
  viewBox: "0 0 24 24",
@@ -288,7 +288,7 @@ function ge(p, i) {
288
288
  ]);
289
289
  }
290
290
  function de(p, i) {
291
- return s(), r("svg", {
291
+ return s(), n("svg", {
292
292
  xmlns: "http://www.w3.org/2000/svg",
293
293
  fill: "none",
294
294
  viewBox: "0 0 24 24",
@@ -305,7 +305,7 @@ function de(p, i) {
305
305
  ]);
306
306
  }
307
307
  function Ze(p, i) {
308
- return s(), r("svg", {
308
+ return s(), n("svg", {
309
309
  xmlns: "http://www.w3.org/2000/svg",
310
310
  fill: "none",
311
311
  viewBox: "0 0 24 24",
@@ -322,7 +322,7 @@ function Ze(p, i) {
322
322
  ]);
323
323
  }
324
324
  function ee(p, i) {
325
- return s(), r("svg", {
325
+ return s(), n("svg", {
326
326
  xmlns: "http://www.w3.org/2000/svg",
327
327
  fill: "none",
328
328
  viewBox: "0 0 24 24",
@@ -339,7 +339,7 @@ function ee(p, i) {
339
339
  ]);
340
340
  }
341
341
  function pe(p, i) {
342
- return s(), r("svg", {
342
+ return s(), n("svg", {
343
343
  xmlns: "http://www.w3.org/2000/svg",
344
344
  fill: "none",
345
345
  viewBox: "0 0 24 24",
@@ -356,7 +356,7 @@ function pe(p, i) {
356
356
  ]);
357
357
  }
358
358
  function xt(p, i) {
359
- return s(), r("svg", {
359
+ return s(), n("svg", {
360
360
  xmlns: "http://www.w3.org/2000/svg",
361
361
  fill: "none",
362
362
  viewBox: "0 0 24 24",
@@ -373,7 +373,7 @@ function xt(p, i) {
373
373
  ]);
374
374
  }
375
375
  function kt(p, i) {
376
- return s(), r("svg", {
376
+ return s(), n("svg", {
377
377
  xmlns: "http://www.w3.org/2000/svg",
378
378
  fill: "none",
379
379
  viewBox: "0 0 24 24",
@@ -390,7 +390,7 @@ function kt(p, i) {
390
390
  ]);
391
391
  }
392
392
  function U(p, i) {
393
- return s(), r("svg", {
393
+ return s(), n("svg", {
394
394
  xmlns: "http://www.w3.org/2000/svg",
395
395
  fill: "none",
396
396
  viewBox: "0 0 24 24",
@@ -407,7 +407,7 @@ function U(p, i) {
407
407
  ]);
408
408
  }
409
409
  function _t(p, i) {
410
- return s(), r("svg", {
410
+ return s(), n("svg", {
411
411
  xmlns: "http://www.w3.org/2000/svg",
412
412
  fill: "none",
413
413
  viewBox: "0 0 24 24",
@@ -424,7 +424,7 @@ function _t(p, i) {
424
424
  ]);
425
425
  }
426
426
  function $t(p, i) {
427
- return s(), r("svg", {
427
+ return s(), n("svg", {
428
428
  xmlns: "http://www.w3.org/2000/svg",
429
429
  fill: "none",
430
430
  viewBox: "0 0 24 24",
@@ -441,7 +441,7 @@ function $t(p, i) {
441
441
  ]);
442
442
  }
443
443
  function Ct(p, i) {
444
- return s(), r("svg", {
444
+ return s(), n("svg", {
445
445
  xmlns: "http://www.w3.org/2000/svg",
446
446
  fill: "none",
447
447
  viewBox: "0 0 24 24",
@@ -458,7 +458,7 @@ function Ct(p, i) {
458
458
  ]);
459
459
  }
460
460
  function St(p, i) {
461
- return s(), r("svg", {
461
+ return s(), n("svg", {
462
462
  xmlns: "http://www.w3.org/2000/svg",
463
463
  fill: "none",
464
464
  viewBox: "0 0 24 24",
@@ -475,7 +475,7 @@ function St(p, i) {
475
475
  ]);
476
476
  }
477
477
  function Je(p, i) {
478
- return s(), r("svg", {
478
+ return s(), n("svg", {
479
479
  xmlns: "http://www.w3.org/2000/svg",
480
480
  fill: "none",
481
481
  viewBox: "0 0 24 24",
@@ -492,7 +492,7 @@ function Je(p, i) {
492
492
  ]);
493
493
  }
494
494
  function Bt(p, i) {
495
- return s(), r("svg", {
495
+ return s(), n("svg", {
496
496
  xmlns: "http://www.w3.org/2000/svg",
497
497
  fill: "none",
498
498
  viewBox: "0 0 24 24",
@@ -509,7 +509,7 @@ function Bt(p, i) {
509
509
  ]);
510
510
  }
511
511
  function Mt(p, i) {
512
- return s(), r("svg", {
512
+ return s(), n("svg", {
513
513
  xmlns: "http://www.w3.org/2000/svg",
514
514
  fill: "none",
515
515
  viewBox: "0 0 24 24",
@@ -526,7 +526,7 @@ function Mt(p, i) {
526
526
  ]);
527
527
  }
528
528
  function Dt(p, i) {
529
- return s(), r("svg", {
529
+ return s(), n("svg", {
530
530
  xmlns: "http://www.w3.org/2000/svg",
531
531
  fill: "none",
532
532
  viewBox: "0 0 24 24",
@@ -543,7 +543,7 @@ function Dt(p, i) {
543
543
  ]);
544
544
  }
545
545
  function me(p, i) {
546
- return s(), r("svg", {
546
+ return s(), n("svg", {
547
547
  xmlns: "http://www.w3.org/2000/svg",
548
548
  fill: "none",
549
549
  viewBox: "0 0 24 24",
@@ -560,7 +560,7 @@ function me(p, i) {
560
560
  ]);
561
561
  }
562
562
  function Z(p, i) {
563
- return s(), r("svg", {
563
+ return s(), n("svg", {
564
564
  xmlns: "http://www.w3.org/2000/svg",
565
565
  fill: "none",
566
566
  viewBox: "0 0 24 24",
@@ -585,7 +585,7 @@ const jt = { class: "flex justify-between" }, Tt = {
585
585
  }, Lt = { class: "py-1" }, Nt = ["onClick"], At = {
586
586
  key: 1,
587
587
  class: "animate-pulse px-4 py-2 bg-gray-200 rounded-md inline-flex items-center relative text-left"
588
- }, Ce = /* @__PURE__ */ B({
588
+ }, Ce = /* @__PURE__ */ M({
589
589
  __name: "uiDropdown",
590
590
  props: {
591
591
  items: {},
@@ -597,13 +597,13 @@ const jt = { class: "flex justify-between" }, Tt = {
597
597
  },
598
598
  emits: ["optionSelected"],
599
599
  setup(p, { emit: i }) {
600
- const o = i, a = p, n = V(() => {
600
+ const l = i, a = p, r = V(() => {
601
601
  let t = a.items.find((c) => c.active === !0);
602
602
  return t ? t.name : a.label;
603
- }), l = (t) => {
604
- a.disabled || o("optionSelected", t);
603
+ }), o = (t) => {
604
+ a.disabled || l("optionSelected", t);
605
605
  };
606
- return (t, c) => t.loading ? (s(), r("div", At, [
606
+ return (t, c) => t.loading ? (s(), n("div", At, [
607
607
  c[0] || (c[0] = e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28" }, null, -1)),
608
608
  m(u(de), {
609
609
  "aria-hidden": "true",
@@ -617,12 +617,12 @@ const jt = { class: "flex justify-between" }, Tt = {
617
617
  default: y(() => [
618
618
  e("div", null, [
619
619
  e("div", jt, [
620
- t.label ? (s(), r("label", Tt, g(t.label), 1)) : b("", !0),
621
- t.requiredText ? (s(), r("span", zt, g(t.requiredText), 1)) : b("", !0)
620
+ t.label ? (s(), n("label", Tt, g(t.label), 1)) : b("", !0),
621
+ t.requiredText ? (s(), n("span", zt, g(t.requiredText), 1)) : b("", !0)
622
622
  ]),
623
623
  m(u(he), { class: "inline-flex justify-between w-full rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-sm font-medium text-gray-700 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-indigo-500" }, {
624
624
  default: y(() => [
625
- z(g(n.value) + " ", 1),
625
+ z(g(r.value) + " ", 1),
626
626
  m(u(de), {
627
627
  "aria-hidden": "true",
628
628
  class: "-mr-1 ml-2 h-5 w-5"
@@ -646,10 +646,10 @@ const jt = { class: "flex justify-between" }, Tt = {
646
646
  }, {
647
647
  default: y(() => [
648
648
  e("div", Lt, [
649
- (s(!0), r(x, null, $(t.items, (d, f) => (s(), _(u(ve), { key: f }, {
649
+ (s(!0), n(x, null, $(t.items, (d, f) => (s(), _(u(ve), { key: f }, {
650
650
  default: y(() => [
651
651
  e("a", {
652
- onClick: (v) => l(d),
652
+ onClick: (v) => o(d),
653
653
  class: h([
654
654
  d.active ? "bg-gray-100 text-gray-900" : "text-gray-700",
655
655
  "block px-4 py-2 text-sm cursor-pointer"
@@ -681,7 +681,7 @@ const jt = { class: "flex justify-between" }, Tt = {
681
681
  }, Rt = {
682
682
  key: 0,
683
683
  class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-2/3 md:w-1/4 mb-1.5"
684
- }, J = /* @__PURE__ */ B({
684
+ }, J = /* @__PURE__ */ M({
685
685
  __name: "uiInput",
686
686
  props: {
687
687
  label: {},
@@ -702,33 +702,33 @@ const jt = { class: "flex justify-between" }, Tt = {
702
702
  },
703
703
  emits: ["inputChanged", "rightAddOnClicked", "addOnClicked"],
704
704
  setup(p, { emit: i }) {
705
- const o = i, a = p, n = N(a.value);
705
+ const l = i, a = p, r = N(a.value);
706
706
  R(() => a.value, (t) => {
707
- n.value = t, n.value && o("inputChanged", { name: a.name, value: n.value });
707
+ r.value = t, r.value && l("inputChanged", { name: a.name, value: r.value });
708
708
  });
709
- const l = (t) => {
710
- t.target.name && o("inputChanged", { value: t.target.value, name: t.target.name });
709
+ const o = (t) => {
710
+ t.target.name && l("inputChanged", { value: t.target.value, name: t.target.name });
711
711
  };
712
- return (t, c) => t.loading ? (s(), r("div", qt, [
713
- t.label !== void 0 ? (s(), r("div", Rt)) : b("", !0),
712
+ return (t, c) => t.loading ? (s(), n("div", qt, [
713
+ t.label !== void 0 ? (s(), n("div", Rt)) : b("", !0),
714
714
  c[3] || (c[3] = e("div", { class: "animate-pulse px-4 py-3.5 bg-gray-200 rounded-md inline-flex items-center relative text-left w-full" }, [
715
715
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28" })
716
716
  ], -1))
717
- ])) : (s(), r("div", Yt, [
717
+ ])) : (s(), n("div", Yt, [
718
718
  e("div", Ot, [
719
- t.label ? (s(), r("label", It, g(t.label), 1)) : b("", !0),
720
- t.requiredText ? (s(), r("span", Pt, g(t.requiredText), 1)) : b("", !0)
719
+ t.label ? (s(), n("label", It, g(t.label), 1)) : b("", !0),
720
+ t.requiredText ? (s(), n("span", Pt, g(t.requiredText), 1)) : b("", !0)
721
721
  ]),
722
722
  e("div", {
723
723
  class: h([{ "mt-1": t.label }, "relative flex"])
724
724
  }, [
725
- t.addOn ? (s(), r("span", {
725
+ t.addOn ? (s(), n("span", {
726
726
  key: 0,
727
727
  onClick: c[0] || (c[0] = (d) => t.$emit("addOnClicked")),
728
728
  class: "inline-flex items-center px-3 rounded-l-md border border-r-0 border-gray-300 bg-gray-50 text-gray-500 sm:text-sm cursor-pointer"
729
729
  }, g(t.addOn), 1)) : b("", !0),
730
730
  C(e("input", {
731
- "onUpdate:modelValue": c[1] || (c[1] = (d) => n.value = d),
731
+ "onUpdate:modelValue": c[1] || (c[1] = (d) => r.value = d),
732
732
  max: t.max,
733
733
  class: h([{
734
734
  "border-gray-300": t.color === "gray",
@@ -750,11 +750,11 @@ const jt = { class: "flex justify-between" }, Tt = {
750
750
  name: t.name,
751
751
  placeholder: t.placeholder,
752
752
  type: t.type,
753
- onInput: l
753
+ onInput: o
754
754
  }, null, 42, Vt), [
755
- [Xe, n.value]
755
+ [Xe, r.value]
756
756
  ]),
757
- t.rightAddOn ? (s(), r("span", {
757
+ t.rightAddOn ? (s(), n("span", {
758
758
  key: 1,
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"
@@ -810,7 +810,7 @@ const jt = { class: "flex justify-between" }, Tt = {
810
810
  }, Jt = { class: "space-y-1 flex flex-col items-center justify-center" }, Wt = { class: "flex text-sm text-gray-600 flex-col sm:flex-row text-center" }, Gt = ["for"], Qt = ["id", "name", "accept"], Kt = { class: "pl-1" }, Xt = { class: "text-xs text-gray-500 pb-4" }, es = { class: "mt-2 text-xs flex flex-row items-center text-red-300" }, ts = {
811
811
  key: 1,
812
812
  class: "animate-pulse"
813
- }, ss = /* @__PURE__ */ B({
813
+ }, ss = /* @__PURE__ */ M({
814
814
  __name: "uiInputFile",
815
815
  props: {
816
816
  name: {},
@@ -827,28 +827,28 @@ const jt = { class: "flex justify-between" }, Tt = {
827
827
  },
828
828
  emits: ["filesUploaded"],
829
829
  setup(p, { emit: i }) {
830
- let o = N("");
831
- const a = i, n = p, l = (d) => {
832
- c(d.dataTransfer.files), a("filesUploaded", { id: n.id, files: d.dataTransfer.files });
830
+ let l = N("");
831
+ const a = i, r = p, o = (d) => {
832
+ c(d.dataTransfer.files), a("filesUploaded", { id: r.id, files: d.dataTransfer.files });
833
833
  }, t = (d) => {
834
- c(d.target.files), a("filesUploaded", { id: n.id, files: d.target.files });
834
+ c(d.target.files), a("filesUploaded", { id: r.id, files: d.target.files });
835
835
  }, c = (d) => {
836
- o.value = "";
836
+ l.value = "";
837
837
  let f = 1;
838
838
  Object.values(d).forEach((v) => {
839
- f++, o.value += v.name, f >= 1 && f < d.length && (o.value += ", ");
839
+ f++, l.value += v.name, f >= 1 && f < d.length && (l.value += ", ");
840
840
  });
841
841
  };
842
- return (d, f) => d.loading ? (s(), r("div", ts, f[1] || (f[1] = [
842
+ return (d, f) => d.loading ? (s(), n("div", ts, f[1] || (f[1] = [
843
843
  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" }, [
844
844
  e("div", { class: "rounded-full h-20 w-20 bg-gray-200 mb-4" }),
845
845
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full md:w-1/3 mb-3" }),
846
846
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full md:w-1/4 mb-3" })
847
847
  ], -1)
848
- ]))) : (s(), r("div", Ht, [
848
+ ]))) : (s(), n("div", Ht, [
849
849
  e("div", Ut, [
850
- d.label ? (s(), r("label", Et, g(d.label), 1)) : b("", !0),
851
- d.requiredText ? (s(), r("span", Zt, g(d.requiredText), 1)) : b("", !0)
850
+ d.label ? (s(), n("label", Et, g(d.label), 1)) : b("", !0),
851
+ d.requiredText ? (s(), n("span", Zt, g(d.requiredText), 1)) : b("", !0)
852
852
  ]),
853
853
  e("div", {
854
854
  class: h([
@@ -861,7 +861,7 @@ const jt = { class: "flex justify-between" }, Tt = {
861
861
  ]),
862
862
  onDragover: f[0] || (f[0] = Se(() => {
863
863
  }, ["prevent"])),
864
- onDrop: Se(l, ["prevent"])
864
+ onDrop: Se(o, ["prevent"])
865
865
  }, [
866
866
  e("div", Jt, [
867
867
  m(j, {
@@ -891,8 +891,8 @@ const jt = { class: "flex justify-between" }, Tt = {
891
891
  e("p", Kt, g(d.dragAndDrop), 1)
892
892
  ]),
893
893
  e("p", Xt, g(d.fileTypesAndSizes), 1),
894
- C(e("p", { class: "font-bold text-xs uppercase block p-2 bg-gray-200 rounded" }, g(u(o)), 513), [
895
- [D, u(o) !== null]
894
+ C(e("p", { class: "font-bold text-xs uppercase block p-2 bg-gray-200 rounded" }, g(u(l)), 513), [
895
+ [D, u(l) !== null]
896
896
  ])
897
897
  ])
898
898
  ], 34),
@@ -915,7 +915,7 @@ const jt = { class: "flex justify-between" }, Tt = {
915
915
  }, rs = { class: "relative mt-1" }, ns = {
916
916
  key: 1,
917
917
  class: "animate-pulse px-4 py-2.5 bg-gray-200 rounded-md flex justify-between items-center w-full"
918
- }, as = /* @__PURE__ */ B({
918
+ }, as = /* @__PURE__ */ M({
919
919
  __name: "uiSelect",
920
920
  props: {
921
921
  items: {},
@@ -929,8 +929,8 @@ const jt = { class: "flex justify-between" }, Tt = {
929
929
  },
930
930
  emits: ["selectChanged"],
931
931
  setup(p, { emit: i }) {
932
- const o = N(""), a = i, n = p, l = V(() => o.value === "" ? n.items : n.items.filter((d) => d.name.toLowerCase().includes(o.value.toLowerCase()))), t = (d) => (d == null ? void 0 : d.name) ?? "", c = V(() => n.select);
933
- return (d, f) => d.loading ? (s(), r("div", ns, [
932
+ const l = N(""), a = i, r = p, o = V(() => l.value === "" ? r.items : r.items.filter((d) => d.name.toLowerCase().includes(l.value.toLowerCase()))), t = (d) => (d == null ? void 0 : d.name) ?? "", c = V(() => r.select);
933
+ return (d, f) => d.loading ? (s(), n("div", ns, [
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
  m(u(pe), {
936
936
  "aria-hidden": "true",
@@ -954,12 +954,12 @@ const jt = { class: "flex justify-between" }, Tt = {
954
954
  ]),
955
955
  _: 1
956
956
  }),
957
- d.requiredText ? (s(), r("span", ls, g(d.requiredText), 1)) : b("", !0)
957
+ d.requiredText ? (s(), n("span", ls, g(d.requiredText), 1)) : b("", !0)
958
958
  ]),
959
959
  e("div", rs, [
960
960
  m(u(Ie), {
961
- onChange: f[0] || (f[0] = (v) => o.value = v.target.value),
962
- onBlur: f[1] || (f[1] = (v) => o.value = ""),
961
+ onChange: f[0] || (f[0] = (v) => l.value = v.target.value),
962
+ onBlur: f[1] || (f[1] = (v) => l.value = ""),
963
963
  displayValue: t,
964
964
  class: h([{
965
965
  "border-gray-300": d.color === "gray",
@@ -984,12 +984,12 @@ const jt = { class: "flex justify-between" }, Tt = {
984
984
  ]),
985
985
  _: 1
986
986
  }),
987
- l.value.length > 0 ? (s(), _(u(Ve), {
987
+ o.value.length > 0 ? (s(), _(u(Ve), {
988
988
  key: 0,
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: y(() => [
992
- (s(!0), r(x, null, $(l.value, (v) => (s(), _(u(Fe), {
992
+ (s(!0), n(x, null, $(o.value, (v) => (s(), _(u(Fe), {
993
993
  key: v.id,
994
994
  value: v,
995
995
  as: "template"
@@ -1004,7 +1004,7 @@ const jt = { class: "flex justify-between" }, Tt = {
1004
1004
  e("span", {
1005
1005
  class: h(["block truncate", O && "font-semibold"])
1006
1006
  }, g(v.name), 3),
1007
- O ? (s(), r("span", {
1007
+ O ? (s(), n("span", {
1008
1008
  key: 0,
1009
1009
  class: h([
1010
1010
  "absolute inset-y-0 right-0 flex items-center pr-4",
@@ -1042,7 +1042,7 @@ const jt = { class: "flex justify-between" }, Tt = {
1042
1042
  }), is = {
1043
1043
  key: 1,
1044
1044
  class: "inline-flex items-center px-3 py-2.5 rounded text-xs font-medium leading-none animate-pulse bg-gray-200"
1045
- }, H = /* @__PURE__ */ B({
1045
+ }, H = /* @__PURE__ */ M({
1046
1046
  __name: "uiTag",
1047
1047
  props: {
1048
1048
  color: { default: "primary" },
@@ -1054,31 +1054,31 @@ const jt = { class: "flex justify-between" }, Tt = {
1054
1054
  },
1055
1055
  emits: ["tagEvent"],
1056
1056
  setup(p, { emit: i }) {
1057
- const o = i, a = p, n = () => {
1058
- a.event != null && o("tagEvent", a.event);
1057
+ const l = i, a = p, r = () => {
1058
+ a.event != null && l("tagEvent", a.event);
1059
1059
  };
1060
- return (l, t) => l.loading ? (s(), r("div", is, t[0] || (t[0] = [
1060
+ return (o, t) => o.loading ? (s(), n("div", is, t[0] || (t[0] = [
1061
1061
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-12" }, null, -1)
1062
- ]))) : (s(), r("span", {
1062
+ ]))) : (s(), n("span", {
1063
1063
  key: 0,
1064
- onClick: n,
1064
+ onClick: r,
1065
1065
  class: h([{
1066
- "bg-indigo-100 text-indigo-800 border border-indigo-200": l.color === "primary",
1067
- "hover:bg-indigo-200 cursor-pointer": l.event !== void 0 && l.color === "primary",
1068
- "bg-red-100 text-red-800 border border-red-200": l.color === "red",
1069
- "hover:bg-red-200 cursor-pointer": l.event !== void 0 && l.color === "red",
1070
- "bg-yellow-100 text-yellow-800 border border-yellow-200": l.color === "yellow",
1071
- "hover:bg-yellow-200 cursor-pointer": l.event !== void 0 && l.color === "yellow",
1072
- "bg-green-100 text-green-800 border border-green-200": l.color === "green",
1073
- "hover:bg-green-200 cursor-pointer": l.event !== void 0 && l.color === "green",
1074
- "bg-black text-white border border-black": l.color === "black",
1075
- "text-black border border-gray-200 bg-white": l.color === "white",
1076
- "px-3 py-2": l.size === "medium",
1077
- "px-2 pt-1 pb-0.5": l.size === "small",
1078
- "px-4 py-3": l.size === "big"
1066
+ "bg-indigo-100 text-indigo-800 border border-indigo-200": o.color === "primary",
1067
+ "hover:bg-indigo-200 cursor-pointer": o.event !== void 0 && o.color === "primary",
1068
+ "bg-red-100 text-red-800 border border-red-200": o.color === "red",
1069
+ "hover:bg-red-200 cursor-pointer": o.event !== void 0 && o.color === "red",
1070
+ "bg-yellow-100 text-yellow-800 border border-yellow-200": o.color === "yellow",
1071
+ "hover:bg-yellow-200 cursor-pointer": o.event !== void 0 && o.color === "yellow",
1072
+ "bg-green-100 text-green-800 border border-green-200": o.color === "green",
1073
+ "hover:bg-green-200 cursor-pointer": o.event !== void 0 && o.color === "green",
1074
+ "bg-black text-white border border-black": o.color === "black",
1075
+ "text-black border border-gray-200 bg-white": o.color === "white",
1076
+ "px-3 py-2": o.size === "medium",
1077
+ "px-2 pt-1 pb-0.5": o.size === "small",
1078
+ "px-4 py-3": o.size === "big"
1079
1079
  }, "inline-flex items-center rounded text-xs font-medium leading-none"])
1080
1080
  }, [
1081
- q(l.$slots, "default")
1081
+ q(o.$slots, "default")
1082
1082
  ], 2));
1083
1083
  }
1084
1084
  }), ds = { key: 0 }, us = { class: "flex justify-between" }, cs = {
@@ -1090,7 +1090,7 @@ const jt = { class: "flex justify-between" }, Tt = {
1090
1090
  }, ms = ["disabled", "placeholder"], ps = {
1091
1091
  key: 1,
1092
1092
  class: "animate-pulse"
1093
- }, fs = /* @__PURE__ */ B({
1093
+ }, fs = /* @__PURE__ */ M({
1094
1094
  __name: "uiTextArea",
1095
1095
  props: {
1096
1096
  name: {},
@@ -1105,18 +1105,18 @@ const jt = { class: "flex justify-between" }, Tt = {
1105
1105
  },
1106
1106
  emits: ["inputChanged"],
1107
1107
  setup(p, { emit: i }) {
1108
- const o = i, a = p, n = (t) => {
1109
- o("inputChanged", t.target.value);
1110
- }, l = N(a.value);
1108
+ const l = i, a = p, r = (t) => {
1109
+ l("inputChanged", t.target.value);
1110
+ }, o = N(a.value);
1111
1111
  return R(() => a.value, (t) => {
1112
- l.value = t, o("inputChanged", { name: a.name, value: l.value });
1113
- }), (t, c) => t.loading ? (s(), r("div", ps, c[1] || (c[1] = [
1112
+ o.value = t, l("inputChanged", { name: a.name, value: o.value });
1113
+ }), (t, c) => t.loading ? (s(), n("div", ps, c[1] || (c[1] = [
1114
1114
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-2/3 md:w-1/4 mb-1.5" }, null, -1),
1115
1115
  e("div", { class: "h-24 bg-gray-200 rounded-lg flex inline-flex items-center relative inline-block text-left w-full" }, null, -1)
1116
- ]))) : (s(), r("div", ds, [
1116
+ ]))) : (s(), n("div", ds, [
1117
1117
  e("div", us, [
1118
- t.label ? (s(), r("label", cs, g(t.label), 1)) : b("", !0),
1119
- t.requiredText ? (s(), r("span", gs, g(t.requiredText), 1)) : b("", !0)
1118
+ t.label ? (s(), n("label", cs, g(t.label), 1)) : b("", !0),
1119
+ t.requiredText ? (s(), n("span", gs, g(t.requiredText), 1)) : b("", !0)
1120
1120
  ]),
1121
1121
  e("div", {
1122
1122
  class: h({ "mt-1": t.label })
@@ -1124,7 +1124,7 @@ const jt = { class: "flex justify-between" }, Tt = {
1124
1124
  C(e("textarea", {
1125
1125
  disabled: t.disabled,
1126
1126
  rows: "4",
1127
- "onUpdate:modelValue": c[0] || (c[0] = (d) => l.value = d),
1127
+ "onUpdate:modelValue": c[0] || (c[0] = (d) => o.value = d),
1128
1128
  placeholder: t.placeholder,
1129
1129
  class: h(["shadow-sm focus:ring-indigo-500 focus:border-indigo-500 block w-full sm:text-sm rounded-md", {
1130
1130
  "border-gray-300": t.color === "gray",
@@ -1137,9 +1137,9 @@ const jt = { class: "flex justify-between" }, Tt = {
1137
1137
  "text-yellow-400": t.color === "yellow",
1138
1138
  "text-green-400": t.color === "green"
1139
1139
  }]),
1140
- onChange: n
1140
+ onChange: r
1141
1141
  }, null, 42, ms), [
1142
- [X, l.value]
1142
+ [X, o.value]
1143
1143
  ])
1144
1144
  ], 2),
1145
1145
  C(e("p", {
@@ -1168,7 +1168,7 @@ const jt = { class: "flex justify-between" }, Tt = {
1168
1168
  }, vs = {
1169
1169
  key: 1,
1170
1170
  class: "animate-pulse flex items-center"
1171
- }, bs = /* @__PURE__ */ B({
1171
+ }, bs = /* @__PURE__ */ M({
1172
1172
  __name: "uiToggle",
1173
1173
  props: {
1174
1174
  item: {},
@@ -1178,8 +1178,8 @@ const jt = { class: "flex justify-between" }, Tt = {
1178
1178
  },
1179
1179
  emits: ["toggleChanged", "actionClicked"],
1180
1180
  setup(p, { emit: i }) {
1181
- const o = p, a = N(o.checked);
1182
- return R(() => o.checked, (n) => a.value = n), (n, l) => n.loading ? (s(), r("div", vs, l[3] || (l[3] = [
1181
+ const l = p, a = N(l.checked);
1182
+ return R(() => l.checked, (r) => a.value = r), (r, o) => r.loading ? (s(), n("div", vs, o[3] || (o[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),
@@ -1191,10 +1191,10 @@ const jt = { class: "flex justify-between" }, Tt = {
1191
1191
  }, {
1192
1192
  default: y(() => [
1193
1193
  m(u(lt), {
1194
- disabled: n.disabled,
1195
- onClick: l[0] || (l[0] = (t) => n.$emit("toggleChanged", { item: n.item, active: !a.value })),
1194
+ disabled: r.disabled,
1195
+ onClick: o[0] || (o[0] = (t) => r.$emit("toggleChanged", { item: r.item, active: !a.value })),
1196
1196
  modelValue: a.value,
1197
- "onUpdate:modelValue": l[1] || (l[1] = (t) => a.value = t),
1197
+ "onUpdate:modelValue": o[1] || (o[1] = (t) => a.value = t),
1198
1198
  class: h([
1199
1199
  a.value ? "bg-indigo-600" : "bg-gray-200",
1200
1200
  "relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2"
@@ -1205,7 +1205,7 @@ const jt = { class: "flex justify-between" }, Tt = {
1205
1205
  "aria-hidden": "true",
1206
1206
  class: h([
1207
1207
  a.value ? "translate-x-5" : "translate-x-0",
1208
- n.disabled ? "bg-gray-300" : "",
1208
+ r.disabled ? "bg-gray-300" : "",
1209
1209
  "pointer-events-none inline-block h-5 w-5 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out"
1210
1210
  ])
1211
1211
  }, null, 2)
@@ -1217,16 +1217,16 @@ const jt = { class: "flex justify-between" }, Tt = {
1217
1217
  class: "ml-3"
1218
1218
  }, {
1219
1219
  default: y(() => [
1220
- e("span", hs, g(n.item.title), 1),
1221
- n.item.subtitle ? (s(), r("span", ys, g(n.item.subtitle), 1)) : b("", !0)
1220
+ e("span", hs, g(r.item.title), 1),
1221
+ r.item.subtitle ? (s(), n("span", ys, g(r.item.subtitle), 1)) : b("", !0)
1222
1222
  ]),
1223
1223
  _: 1
1224
1224
  }),
1225
- n.item.action ? (s(), r("span", {
1225
+ r.item.action ? (s(), n("span", {
1226
1226
  key: 0,
1227
1227
  class: "cursor-pointer text-indigo-600 hover:text-indigo-400 uppercase text-xs absolute right-0 bottom-0.5",
1228
- onClick: l[2] || (l[2] = (t) => n.$emit("actionClicked", n.item))
1229
- }, g(n.item.action), 1)) : b("", !0)
1228
+ onClick: o[2] || (o[2] = (t) => r.$emit("actionClicked", r.item))
1229
+ }, g(r.item.action), 1)) : b("", !0)
1230
1230
  ]),
1231
1231
  _: 1
1232
1232
  }));
@@ -1237,7 +1237,7 @@ const jt = { class: "flex justify-between" }, Tt = {
1237
1237
  }, xs = { class: "flex" }, ks = { class: "flex-shrink-0" }, _s = { class: "ml-3" }, $s = { class: "mt-4" }, Cs = { class: "-mx-2 -my-1.5 flex" }, Ss = ["onClick"], Bs = {
1238
1238
  key: 1,
1239
1239
  class: "flex flex-col animate-pulse"
1240
- }, Ms = /* @__PURE__ */ B({
1240
+ }, Ms = /* @__PURE__ */ M({
1241
1241
  __name: "uiAlert",
1242
1242
  props: {
1243
1243
  actions: {},
@@ -1247,38 +1247,38 @@ const jt = { class: "flex justify-between" }, Tt = {
1247
1247
  },
1248
1248
  emits: ["alertEvent"],
1249
1249
  setup(p, { emit: i }) {
1250
- const o = i, a = (n) => {
1251
- o("alertEvent", n.event);
1250
+ const l = i, a = (r) => {
1251
+ l("alertEvent", r.event);
1252
1252
  };
1253
- return (n, l) => n.loading ? (s(), r("div", Bs, l[0] || (l[0] = [
1253
+ return (r, o) => r.loading ? (s(), n("div", Bs, o[0] || (o[0] = [
1254
1254
  Q('<div class="p-4 border-l-4 bg-gray-100 border-gray-400 rounded"><div class="flex"><div class="flex-shrink-0"><div class="h-6 w-6 animate-pulse rounded-full bg-gray-200 dark:bg-gray-300"></div></div><div class="ml-3 w-full"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-2/3 mb-2"></div><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full mb-2"></div><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-3/5"></div></div></div></div>', 1)
1255
- ]))) : (s(), r("div", ws, [
1255
+ ]))) : (s(), n("div", ws, [
1256
1256
  e("div", {
1257
1257
  class: h([{
1258
- "bg-indigo-50 border-indigo-400": n.type === "info",
1259
- "bg-red-50 border-red-400": n.type === "danger",
1260
- "bg-yellow-50 border-yellow-400": n.type === "warning",
1261
- "bg-green-50 border-green-400": n.type === "success"
1258
+ "bg-indigo-50 border-indigo-400": r.type === "info",
1259
+ "bg-red-50 border-red-400": r.type === "danger",
1260
+ "bg-yellow-50 border-yellow-400": r.type === "warning",
1261
+ "bg-green-50 border-green-400": r.type === "success"
1262
1262
  }, "p-4 border-l-4 rounded"])
1263
1263
  }, [
1264
1264
  e("div", xs, [
1265
1265
  e("div", ks, [
1266
- n.type === "info" ? (s(), _(u(Je), {
1266
+ r.type === "info" ? (s(), _(u(Je), {
1267
1267
  key: 0,
1268
1268
  class: "h-8 w-8 text-indigo-400",
1269
1269
  "aria-hidden": "true"
1270
1270
  })) : b("", !0),
1271
- n.type === "danger" ? (s(), _(u(me), {
1271
+ r.type === "danger" ? (s(), _(u(me), {
1272
1272
  key: 1,
1273
1273
  class: "h-8 w-8 text-red-400",
1274
1274
  "aria-hidden": "true"
1275
1275
  })) : b("", !0),
1276
- n.type === "warning" ? (s(), _(u(U), {
1276
+ r.type === "warning" ? (s(), _(u(U), {
1277
1277
  key: 2,
1278
1278
  class: "h-8 w-8 text-yellow-400",
1279
1279
  "aria-hidden": "true"
1280
1280
  })) : b("", !0),
1281
- n.type === "success" ? (s(), _(u(Ee), {
1281
+ r.type === "success" ? (s(), _(u(Ee), {
1282
1282
  key: 3,
1283
1283
  class: "h-8 w-8 text-green-400",
1284
1284
  "aria-hidden": "true"
@@ -1287,32 +1287,32 @@ const jt = { class: "flex justify-between" }, Tt = {
1287
1287
  e("div", _s, [
1288
1288
  e("h3", {
1289
1289
  class: h([{
1290
- "text-red-800": n.type === "danger",
1291
- "text-yellow-800": n.type === "warning",
1292
- "text-green-800": n.type === "success"
1290
+ "text-red-800": r.type === "danger",
1291
+ "text-yellow-800": r.type === "warning",
1292
+ "text-green-800": r.type === "success"
1293
1293
  }, "text-sm font-medium"])
1294
- }, g(n.title), 3),
1294
+ }, g(r.title), 3),
1295
1295
  e("div", {
1296
1296
  class: h([{
1297
- "text-red-700": n.type === "danger",
1298
- "text-yellow-700": n.type === "warning",
1299
- "text-green-700": n.type === "success"
1297
+ "text-red-700": r.type === "danger",
1298
+ "text-yellow-700": r.type === "warning",
1299
+ "text-green-700": r.type === "success"
1300
1300
  }, "mt-2 text-sm"])
1301
1301
  }, [
1302
- q(n.$slots, "default")
1302
+ q(r.$slots, "default")
1303
1303
  ], 2),
1304
1304
  e("div", $s, [
1305
1305
  e("div", Cs, [
1306
- (s(!0), r(x, null, $(n.actions, (t, c) => (s(), r("button", {
1306
+ (s(!0), n(x, null, $(r.actions, (t, c) => (s(), n("button", {
1307
1307
  onClick: (d) => a(t),
1308
1308
  type: "button",
1309
1309
  key: c,
1310
1310
  class: h([
1311
1311
  {
1312
- "bg-green-50 text-green-800 hover:bg-green-100 focus:ring-green-600 focus:ring-offset-green-50": n.type === "success",
1313
- "bg-indigo-50 text-indigo-800 hover:bg-indigo-100 focus:ring-indigo-600 focus:ring-offset-indigo-50": n.type === "info",
1314
- "bg-red-50 text-red-800 hover:bg-red-100 focus:ring-red-600 focus:ring-offset-red-50": n.type === "danger",
1315
- "bg-yellow-50 text-yellow-800 hover:bg-yellow-100 focus:ring-yellow-600 focus:ring-offset-yellow-50": n.type === "warning"
1312
+ "bg-green-50 text-green-800 hover:bg-green-100 focus:ring-green-600 focus:ring-offset-green-50": r.type === "success",
1313
+ "bg-indigo-50 text-indigo-800 hover:bg-indigo-100 focus:ring-indigo-600 focus:ring-offset-indigo-50": r.type === "info",
1314
+ "bg-red-50 text-red-800 hover:bg-red-100 focus:ring-red-600 focus:ring-offset-red-50": r.type === "danger",
1315
+ "bg-yellow-50 text-yellow-800 hover:bg-yellow-100 focus:ring-yellow-600 focus:ring-offset-yellow-50": r.type === "warning"
1316
1316
  },
1317
1317
  "px-2 py-1.5 text-sm font-medium rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2"
1318
1318
  ])
@@ -1337,7 +1337,7 @@ const jt = { class: "flex justify-between" }, Tt = {
1337
1337
  }, Ns = ["onClick"], As = {
1338
1338
  key: 1,
1339
1339
  class: "flex flex-row items-center animate-pulse"
1340
- }, Ys = /* @__PURE__ */ B({
1340
+ }, Ys = /* @__PURE__ */ M({
1341
1341
  __name: "uiBreadcrumbs",
1342
1342
  props: {
1343
1343
  pages: {},
@@ -1345,35 +1345,35 @@ const jt = { class: "flex justify-between" }, Tt = {
1345
1345
  },
1346
1346
  emits: ["breadCrumbClicked"],
1347
1347
  setup(p, { emit: i }) {
1348
- return (o, a) => o.loading ? (s(), r("div", As, a[0] || (a[0] = [
1348
+ return (l, a) => l.loading ? (s(), n("div", As, a[0] || (a[0] = [
1349
1349
  e("div", { class: "animate-pulse rounded-full bg-gray-200 dark:bg-gray-300 h-4 w-4 mr-4" }, null, -1),
1350
1350
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/5 mr-4" }, null, -1),
1351
1351
  e("div", { class: "animate-pulse rounded-full bg-gray-200 dark:bg-gray-300 h-4 w-4 mr-4" }, null, -1),
1352
1352
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/5" }, null, -1)
1353
- ]))) : (s(), r("nav", Ds, [
1353
+ ]))) : (s(), n("nav", Ds, [
1354
1354
  e("ol", js, [
1355
- (s(!0), r(x, null, $(o.pages, (n, l) => (s(), r("li", { key: l }, [
1356
- l === 0 ? (s(), r("div", Ts, [
1355
+ (s(!0), n(x, null, $(l.pages, (r, o) => (s(), n("li", { key: o }, [
1356
+ o === 0 ? (s(), n("div", Ts, [
1357
1357
  e("p", {
1358
- onClick: (t) => o.$emit("breadCrumbClicked", n.routeName),
1358
+ onClick: (t) => l.$emit("breadCrumbClicked", r.routeName),
1359
1359
  class: "flex flex-row items-center justify-center text-indigo-600 hover:text-indigo-800 cursor-pointer"
1360
1360
  }, [
1361
1361
  m(u(St), {
1362
1362
  class: "flex-shrink-0 h-3 w-3 text-gray-400 mr-4",
1363
1363
  "aria-hidden": "true"
1364
1364
  }),
1365
- e("span", null, g(n.name), 1)
1365
+ e("span", null, g(r.name), 1)
1366
1366
  ], 8, zs)
1367
- ])) : (s(), r("div", Ls, [
1367
+ ])) : (s(), n("div", Ls, [
1368
1368
  m(u(ee), {
1369
1369
  class: "flex-shrink-0 h-3 w-3 text-gray-400",
1370
1370
  "aria-hidden": "true"
1371
1371
  }),
1372
1372
  e("span", {
1373
- onClick: (t) => o.$emit("breadCrumbClicked", n.routeName),
1374
- class: h(["cursor-pointer ml-4 text-xs text-gray-400 hover:text-gray-500", { "text-indigo-600 hover:text-indigo-800": !n.current }]),
1373
+ onClick: (t) => l.$emit("breadCrumbClicked", r.routeName),
1374
+ class: h(["cursor-pointer ml-4 text-xs text-gray-400 hover:text-gray-500", { "text-indigo-600 hover:text-indigo-800": !r.current }]),
1375
1375
  "aria-current": "page"
1376
- }, g(n.name), 11, Ns)
1376
+ }, g(r.name), 11, Ns)
1377
1377
  ]))
1378
1378
  ]))), 128))
1379
1379
  ])
@@ -1385,7 +1385,7 @@ const jt = { class: "flex justify-between" }, Tt = {
1385
1385
  }, qs = {
1386
1386
  key: 1,
1387
1387
  class: "rounded-lg bg-white shadow p-6 cursor-pointer animate-pulse"
1388
- }, Rs = /* @__PURE__ */ B({
1388
+ }, Rs = /* @__PURE__ */ M({
1389
1389
  __name: "uiCard",
1390
1390
  props: {
1391
1391
  id: {},
@@ -1397,34 +1397,34 @@ const jt = { class: "flex justify-between" }, Tt = {
1397
1397
  },
1398
1398
  emits: ["cardSelected"],
1399
1399
  setup(p, { emit: i }) {
1400
- return (o, a) => {
1401
- var n;
1402
- return o.loading ? (s(), r("div", qs, a[1] || (a[1] = [
1400
+ return (l, a) => {
1401
+ var r;
1402
+ return l.loading ? (s(), n("div", qs, a[1] || (a[1] = [
1403
1403
  Q('<div class="flex items-center flex-col sm:flex-row justify-center sm:justify-start w-full"><div class="w-16 h-16 rounded-full bg-gray-200 flex self-center"></div><div class="w-full ml-4"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full mt-4 sm:mt-0 sm:w-16 mb-2"></div><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full sm:w-32"></div></div></div>', 1)
1404
- ]))) : (s(), r("div", {
1404
+ ]))) : (s(), n("div", {
1405
1405
  key: 0,
1406
1406
  class: "rounded-lg bg-white shadow p-6 cursor-pointer",
1407
- onClick: a[0] || (a[0] = (l) => o.$emit("cardSelected", { id: o.id, name: o.name, type: o.type, tags: o.tags }))
1407
+ onClick: a[0] || (a[0] = (o) => l.$emit("cardSelected", { id: l.id, name: l.name, type: l.type, tags: l.tags }))
1408
1408
  }, [
1409
1409
  e("div", Os, [
1410
1410
  e("img", {
1411
1411
  class: "w-16 h-16 rounded-full mb-4 sm:mb-0 sm:mr-4",
1412
- src: o.logo
1412
+ src: l.logo
1413
1413
  }, null, 8, Is),
1414
1414
  e("div", null, [
1415
- e("h4", Ps, g(o.name), 1),
1416
- e("p", Vs, g(o.type), 1)
1415
+ e("h4", Ps, g(l.name), 1),
1416
+ e("p", Vs, g(l.type), 1)
1417
1417
  ])
1418
1418
  ]),
1419
- o.tags && ((n = o.tags) == null ? void 0 : n.length) > 0 ? (s(), r("div", Fs, [
1420
- (s(!0), r(x, null, $(o.tags, (l) => (s(), _(H, {
1419
+ l.tags && ((r = l.tags) == null ? void 0 : r.length) > 0 ? (s(), n("div", Fs, [
1420
+ (s(!0), n(x, null, $(l.tags, (o) => (s(), _(H, {
1421
1421
  class: "mb-1 mr-1",
1422
- key: l.name,
1423
- color: l.color,
1424
- loading: o.loading
1422
+ key: o.name,
1423
+ color: o.color,
1424
+ loading: l.loading
1425
1425
  }, {
1426
1426
  default: y(() => [
1427
- z(g(l.name), 1)
1427
+ z(g(o.name), 1)
1428
1428
  ]),
1429
1429
  _: 2
1430
1430
  }, 1032, ["color", "loading"]))), 128))
@@ -1432,7 +1432,7 @@ const jt = { class: "flex justify-between" }, Tt = {
1432
1432
  ]));
1433
1433
  };
1434
1434
  }
1435
- }), Hs = /* @__PURE__ */ B({
1435
+ }), Hs = /* @__PURE__ */ M({
1436
1436
  __name: "uiFilter",
1437
1437
  props: {
1438
1438
  items: {},
@@ -1442,23 +1442,23 @@ const jt = { class: "flex justify-between" }, Tt = {
1442
1442
  },
1443
1443
  emits: ["filterSelected"],
1444
1444
  setup(p, { emit: i }) {
1445
- const o = i, a = p, n = (t) => {
1446
- l.value.forEach((c) => {
1445
+ const l = i, a = p, r = (t) => {
1446
+ o.value.forEach((c) => {
1447
1447
  c.active = c.value === t.value;
1448
- }), o("filterSelected", t);
1449
- }, l = N(a.items);
1448
+ }), l("filterSelected", t);
1449
+ }, o = N(a.items);
1450
1450
  return (t, c) => (s(), _(Ce, {
1451
1451
  loading: t.loading,
1452
- onOptionSelected: c[0] || (c[0] = (d) => n(d)),
1452
+ onOptionSelected: c[0] || (c[0] = (d) => r(d)),
1453
1453
  position: t.position,
1454
- items: l.value,
1454
+ items: o.value,
1455
1455
  label: t.label
1456
1456
  }, null, 8, ["loading", "position", "items", "label"]));
1457
1457
  }
1458
1458
  }), Us = { class: "fixed inset-0 z-10 overflow-y-auto" }, Es = { class: "flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0" }, Zs = { class: "absolute top-0 right-0 hidden pt-4 pr-4 sm:block" }, Js = { class: "sm:flex sm:items-start" }, Ws = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left sm:mr-4 sm:w-10/12 break-words" }, Gs = { class: "mt-4 text-gray-500 text-sm" }, Qs = {
1459
1459
  key: 0,
1460
1460
  class: "mt-8"
1461
- }, Ks = ["onClick"], We = /* @__PURE__ */ B({
1461
+ }, Ks = ["onClick"], We = /* @__PURE__ */ M({
1462
1462
  __name: "uiModal",
1463
1463
  props: {
1464
1464
  title: {},
@@ -1470,18 +1470,18 @@ const jt = { class: "flex justify-between" }, Tt = {
1470
1470
  },
1471
1471
  emits: ["modalAction"],
1472
1472
  setup(p, { emit: i }) {
1473
- const o = p, a = i, n = (l) => {
1474
- a("modalAction", { modal: o.modalName, action: l });
1473
+ const l = p, a = i, r = (o) => {
1474
+ a("modalAction", { modal: l.modalName, action: o });
1475
1475
  };
1476
- return (l, t) => (s(), _(u(be), {
1476
+ return (o, t) => (s(), _(u(be), {
1477
1477
  as: "template",
1478
- show: l.open
1478
+ show: o.open
1479
1479
  }, {
1480
1480
  default: y(() => [
1481
1481
  m(u(we), {
1482
1482
  as: "div",
1483
1483
  class: "relative z-10",
1484
- onClose: t[1] || (t[1] = (c) => n("close"))
1484
+ onClose: t[1] || (t[1] = (c) => r("close"))
1485
1485
  }, {
1486
1486
  default: y(() => [
1487
1487
  m(u(W), {
@@ -1516,48 +1516,48 @@ const jt = { class: "flex justify-between" }, Tt = {
1516
1516
  e("button", {
1517
1517
  type: "button",
1518
1518
  class: "rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none",
1519
- onClick: t[0] || (t[0] = (c) => n("close"))
1519
+ onClick: t[0] || (t[0] = (c) => r("close"))
1520
1520
  }, [
1521
1521
  t[3] || (t[3] = e("span", { class: "sr-only" }, "X", -1)),
1522
1522
  m(j, {
1523
1523
  icon: u(Z),
1524
1524
  "aria-hidden": "true",
1525
- loading: l.loading
1525
+ loading: o.loading
1526
1526
  }, null, 8, ["icon", "loading"])
1527
1527
  ])
1528
1528
  ]),
1529
1529
  e("div", Js, [
1530
1530
  e("div", {
1531
1531
  class: h(["mx-auto flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full sm:mx-0 sm:h-10 sm:w-10", {
1532
- "bg-red-100": l.type === "danger",
1533
- "bg-green-100": l.type === "success",
1534
- "bg-indigo-100": l.type === "default",
1535
- "bg-yellow-100": l.type === "warning"
1532
+ "bg-red-100": o.type === "danger",
1533
+ "bg-green-100": o.type === "success",
1534
+ "bg-indigo-100": o.type === "default",
1535
+ "bg-yellow-100": o.type === "warning"
1536
1536
  }])
1537
1537
  }, [
1538
1538
  C(m(u(Z), {
1539
1539
  class: "h-6 w-6 text-red-600",
1540
1540
  "aria-hidden": "true"
1541
1541
  }, null, 512), [
1542
- [D, l.type === "danger"]
1542
+ [D, o.type === "danger"]
1543
1543
  ]),
1544
1544
  C(m(u(ge), {
1545
1545
  class: "h-6 w-6 text-green-600",
1546
1546
  "aria-hidden": "true"
1547
1547
  }, null, 512), [
1548
- [D, l.type === "success"]
1548
+ [D, o.type === "success"]
1549
1549
  ]),
1550
1550
  C(m(u(U), {
1551
1551
  class: "h-6 w-6 text-yellow-600",
1552
1552
  "aria-hidden": "true"
1553
1553
  }, null, 512), [
1554
- [D, l.type === "warning"]
1554
+ [D, o.type === "warning"]
1555
1555
  ]),
1556
1556
  C(m(u(Ct), {
1557
1557
  class: "h-6 w-6 text-indigo-600",
1558
1558
  "aria-hidden": "true"
1559
1559
  }, null, 512), [
1560
- [D, l.type === "default"]
1560
+ [D, o.type === "default"]
1561
1561
  ])
1562
1562
  ], 2),
1563
1563
  e("div", Ws, [
@@ -1566,19 +1566,19 @@ const jt = { class: "flex justify-between" }, Tt = {
1566
1566
  class: "text-lg font-medium leading-6 text-gray-900"
1567
1567
  }, {
1568
1568
  default: y(() => [
1569
- z(g(l.title), 1)
1569
+ z(g(o.title), 1)
1570
1570
  ]),
1571
1571
  _: 1
1572
1572
  }),
1573
1573
  e("div", Gs, [
1574
- q(l.$slots, "default")
1574
+ q(o.$slots, "default")
1575
1575
  ]),
1576
- l.actions ? (s(), r("div", Qs, [
1577
- (s(!0), r(x, null, $(l.actions, (c, d) => (s(), r("button", {
1576
+ o.actions ? (s(), n("div", Qs, [
1577
+ (s(!0), n(x, null, $(o.actions, (c, d) => (s(), n("button", {
1578
1578
  key: d,
1579
1579
  type: "button",
1580
1580
  class: "inline-flex w-full justify-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-base font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 mb-2 sm:mb-0 mr-2 sm:w-auto sm:text-sm",
1581
- onClick: (f) => n(c.value)
1581
+ onClick: (f) => r(c.value)
1582
1582
  }, g(c.name), 9, Ks))), 128))
1583
1583
  ])) : b("", !0)
1584
1584
  ])
@@ -1601,7 +1601,7 @@ const jt = { class: "flex justify-between" }, Tt = {
1601
1601
  }), Xs = { class: "w-full flex flex-col items-center space-y-4 sm:items-end" }, eo = {
1602
1602
  key: 0,
1603
1603
  class: "max-w-sm w-full bg-white shadow-lg rounded-lg pointer-events-auto ring-1 ring-black ring-opacity-5 overflow-hidden"
1604
- }, to = { class: "p-4" }, so = { class: "flex items-start" }, oo = { class: "flex-shrink-0 mt-0.5" }, lo = { class: "ml-3 w-0 flex-1 pt-0.5" }, ro = { class: "font-medium text-gray-900" }, no = { class: "mt-1 text-sm text-gray-500" }, ao = { class: "ml-4 flex-shrink-0 flex" }, io = /* @__PURE__ */ B({
1604
+ }, to = { class: "p-4" }, so = { class: "flex items-start" }, oo = { class: "flex-shrink-0 mt-0.5" }, lo = { class: "ml-3 w-0 flex-1 pt-0.5" }, ro = { class: "font-medium text-gray-900" }, no = { class: "mt-1 text-sm text-gray-500" }, ao = { class: "ml-4 flex-shrink-0 flex" }, io = /* @__PURE__ */ M({
1605
1605
  __name: "uiNotification",
1606
1606
  props: {
1607
1607
  type: { default: "info" },
@@ -1612,10 +1612,10 @@ const jt = { class: "flex justify-between" }, Tt = {
1612
1612
  },
1613
1613
  emits: ["closeNotification"],
1614
1614
  setup(p, { emit: i }) {
1615
- const o = p, a = V(() => o.show);
1616
- return (n, l) => (s(), r("div", {
1615
+ const l = p, a = V(() => l.show);
1616
+ return (r, o) => (s(), n("div", {
1617
1617
  "aria-live": "assertive",
1618
- class: h([{ fixed: n.fixed }, "inset-0 flex items-end px-4 py-6 pointer-events-none sm:p-6 sm:items-start"])
1618
+ class: h([{ fixed: r.fixed }, "inset-0 flex items-end px-4 py-6 pointer-events-none sm:p-6 sm:items-start"])
1619
1619
  }, [
1620
1620
  e("div", Xs, [
1621
1621
  m(ue, {
@@ -1627,7 +1627,7 @@ const jt = { class: "flex justify-between" }, Tt = {
1627
1627
  "leave-to-class": "opacity-0"
1628
1628
  }, {
1629
1629
  default: y(() => [
1630
- a.value ? (s(), r("div", eo, [
1630
+ a.value ? (s(), n("div", eo, [
1631
1631
  e("div", to, [
1632
1632
  e("div", so, [
1633
1633
  e("div", oo, [
@@ -1635,38 +1635,38 @@ const jt = { class: "flex justify-between" }, Tt = {
1635
1635
  "aria-hidden": "true",
1636
1636
  class: "h-6 w-6 text-green-400"
1637
1637
  }, null, 512), [
1638
- [D, n.type === "success"]
1638
+ [D, r.type === "success"]
1639
1639
  ]),
1640
1640
  C(m(u(me), {
1641
1641
  "aria-hidden": "true",
1642
1642
  class: "h-6 w-6 text-red-400"
1643
1643
  }, null, 512), [
1644
- [D, n.type === "danger"]
1644
+ [D, r.type === "danger"]
1645
1645
  ]),
1646
1646
  C(m(u(U), {
1647
1647
  "aria-hidden": "true",
1648
1648
  class: "h-6 w-6 text-yellow-400"
1649
1649
  }, null, 512), [
1650
- [D, n.type === "warning"]
1650
+ [D, r.type === "warning"]
1651
1651
  ]),
1652
1652
  C(m(u(Je), {
1653
1653
  "aria-hidden": "true",
1654
1654
  class: "h-6 w-6 text-indigo-600"
1655
1655
  }, null, 512), [
1656
- [D, n.type === "info"]
1656
+ [D, r.type === "info"]
1657
1657
  ])
1658
1658
  ]),
1659
1659
  e("div", lo, [
1660
- e("p", ro, g(n.title), 1),
1661
- e("p", no, g(n.message), 1)
1660
+ e("p", ro, g(r.title), 1),
1661
+ e("p", no, g(r.message), 1)
1662
1662
  ]),
1663
1663
  e("div", ao, [
1664
1664
  e("button", {
1665
1665
  class: "bg-white rounded-md inline-flex text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500",
1666
1666
  type: "button",
1667
- onClick: l[0] || (l[0] = (t) => n.$emit("closeNotification"))
1667
+ onClick: o[0] || (o[0] = (t) => r.$emit("closeNotification"))
1668
1668
  }, [
1669
- l[1] || (l[1] = e("span", { class: "sr-only" }, "Close", -1)),
1669
+ o[1] || (o[1] = e("span", { class: "sr-only" }, "Close", -1)),
1670
1670
  m(u(Z), {
1671
1671
  "aria-hidden": "true",
1672
1672
  class: "h-5 w-5"
@@ -1689,22 +1689,22 @@ const jt = { class: "flex justify-between" }, Tt = {
1689
1689
  }, co = { class: "min-w-0" }, go = { class: "flex items-start gap-x-3" }, mo = { class: "text-sm font-semibold leading-6 text-gray-900" }, po = { class: "mt-1 flex items-center gap-x-2 text-xs leading-5 text-gray-500" }, fo = { class: "truncate" }, ho = { class: "flex flex-none items-center gap-x-4" }, yo = ["href"], vo = { class: "sr-only" }, bo = {
1690
1690
  key: 1,
1691
1691
  class: "divide-y divide-gray-100 animate-pulse"
1692
- }, wo = /* @__PURE__ */ B({
1692
+ }, wo = /* @__PURE__ */ M({
1693
1693
  __name: "uiTaskList",
1694
1694
  props: {
1695
1695
  tasks: {},
1696
1696
  loading: { type: Boolean, default: !0 }
1697
1697
  },
1698
1698
  setup(p) {
1699
- return (i, o) => i.loading ? (s(), r("ul", bo, [
1700
- (s(!0), r(x, null, $(i.tasks, (a) => (s(), r("li", {
1699
+ return (i, l) => i.loading ? (s(), n("ul", bo, [
1700
+ (s(!0), n(x, null, $(i.tasks, (a) => (s(), n("li", {
1701
1701
  key: a.id,
1702
1702
  class: "flex items-center justify-between gap-x-6 py-5"
1703
- }, o[0] || (o[0] = [
1703
+ }, l[0] || (l[0] = [
1704
1704
  Q('<div class="min-w-0 w-full"><div class="flex items-start gap-x-3"><p class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2"></p></div></div><div class="flex flex-none items-center gap-x-4"><div class="hidden rounded-md bg-gray-200 px-2.5 py-1.5 text-sm font-semibold text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 hover:bg-gray-50 sm:block"><p class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-10"></p></div></div>', 2)
1705
1705
  ])))), 128))
1706
- ])) : (s(), r("ul", uo, [
1707
- (s(!0), r(x, null, $(i.tasks, (a) => (s(), r("li", {
1706
+ ])) : (s(), n("ul", uo, [
1707
+ (s(!0), n(x, null, $(i.tasks, (a) => (s(), n("li", {
1708
1708
  key: a.id,
1709
1709
  class: "flex items-center justify-between gap-x-6 py-5"
1710
1710
  }, [
@@ -1745,16 +1745,16 @@ function xo(p) {
1745
1745
  var le = { exports: {} }, ko = le.exports, Me;
1746
1746
  function _o() {
1747
1747
  return Me || (Me = 1, function(p, i) {
1748
- (function(o, a) {
1748
+ (function(l, a) {
1749
1749
  p.exports = a(T);
1750
- })(ko, function(o) {
1750
+ })(ko, function(l) {
1751
1751
  function a(t) {
1752
1752
  return t && typeof t == "object" && "default" in t ? t : { default: t };
1753
1753
  }
1754
- var n = a(o), l = { name: "es", monthsShort: "ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"), weekdays: "domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"), weekdaysShort: "dom._lun._mar._mié._jue._vie._sáb.".split("_"), weekdaysMin: "do_lu_ma_mi_ju_vi_sá".split("_"), months: "enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"), weekStart: 1, formats: { LT: "H:mm", LTS: "H:mm:ss", L: "DD/MM/YYYY", LL: "D [de] MMMM [de] YYYY", LLL: "D [de] MMMM [de] YYYY H:mm", LLLL: "dddd, D [de] MMMM [de] YYYY H:mm" }, relativeTime: { future: "en %s", past: "hace %s", s: "unos segundos", m: "un minuto", mm: "%d minutos", h: "una hora", hh: "%d horas", d: "un día", dd: "%d días", M: "un mes", MM: "%d meses", y: "un año", yy: "%d años" }, ordinal: function(t) {
1754
+ var r = a(l), o = { name: "es", monthsShort: "ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"), weekdays: "domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"), weekdaysShort: "dom._lun._mar._mié._jue._vie._sáb.".split("_"), weekdaysMin: "do_lu_ma_mi_ju_vi_sá".split("_"), months: "enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"), weekStart: 1, formats: { LT: "H:mm", LTS: "H:mm:ss", L: "DD/MM/YYYY", LL: "D [de] MMMM [de] YYYY", LLL: "D [de] MMMM [de] YYYY H:mm", LLLL: "dddd, D [de] MMMM [de] YYYY H:mm" }, relativeTime: { future: "en %s", past: "hace %s", s: "unos segundos", m: "un minuto", mm: "%d minutos", h: "una hora", hh: "%d horas", d: "un día", dd: "%d días", M: "un mes", MM: "%d meses", y: "un año", yy: "%d años" }, ordinal: function(t) {
1755
1755
  return t + "º";
1756
1756
  } };
1757
- return n.default.locale(l, null, !0), l;
1757
+ return r.default.locale(o, null, !0), o;
1758
1758
  });
1759
1759
  }(le)), le.exports;
1760
1760
  }
@@ -1762,21 +1762,21 @@ _o();
1762
1762
  var re = { exports: {} }, $o = re.exports, De;
1763
1763
  function Co() {
1764
1764
  return De || (De = 1, function(p, i) {
1765
- (function(o, a) {
1765
+ (function(l, a) {
1766
1766
  p.exports = a(T);
1767
- })($o, function(o) {
1767
+ })($o, function(l) {
1768
1768
  function a(d) {
1769
1769
  return d && typeof d == "object" && "default" in d ? d : { default: d };
1770
1770
  }
1771
- var n = a(o), l = { s: "ein paar Sekunden", m: ["eine Minute", "einer Minute"], mm: "%d Minuten", h: ["eine Stunde", "einer Stunde"], hh: "%d Stunden", d: ["ein Tag", "einem Tag"], dd: ["%d Tage", "%d Tagen"], M: ["ein Monat", "einem Monat"], MM: ["%d Monate", "%d Monaten"], y: ["ein Jahr", "einem Jahr"], yy: ["%d Jahre", "%d Jahren"] };
1771
+ var r = a(l), o = { s: "ein paar Sekunden", m: ["eine Minute", "einer Minute"], mm: "%d Minuten", h: ["eine Stunde", "einer Stunde"], hh: "%d Stunden", d: ["ein Tag", "einem Tag"], dd: ["%d Tage", "%d Tagen"], M: ["ein Monat", "einem Monat"], MM: ["%d Monate", "%d Monaten"], y: ["ein Jahr", "einem Jahr"], yy: ["%d Jahre", "%d Jahren"] };
1772
1772
  function t(d, f, v) {
1773
- var k = l[v];
1773
+ var k = o[v];
1774
1774
  return Array.isArray(k) && (k = k[f ? 0 : 1]), k.replace("%d", d);
1775
1775
  }
1776
1776
  var c = { name: "de", weekdays: "Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"), weekdaysShort: "So._Mo._Di._Mi._Do._Fr._Sa.".split("_"), weekdaysMin: "So_Mo_Di_Mi_Do_Fr_Sa".split("_"), months: "Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"), monthsShort: "Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"), ordinal: function(d) {
1777
1777
  return d + ".";
1778
1778
  }, weekStart: 1, yearStart: 4, formats: { LTS: "HH:mm:ss", LT: "HH:mm", L: "DD.MM.YYYY", LL: "D. MMMM YYYY", LLL: "D. MMMM YYYY HH:mm", LLLL: "dddd, D. MMMM YYYY HH:mm" }, relativeTime: { future: "in %s", past: "vor %s", s: t, m: t, mm: t, h: t, hh: t, d: t, dd: t, M: t, MM: t, y: t, yy: t } };
1779
- return n.default.locale(c, null, !0), c;
1779
+ return r.default.locale(c, null, !0), c;
1780
1780
  });
1781
1781
  }(re)), re.exports;
1782
1782
  }
@@ -1784,12 +1784,12 @@ Co();
1784
1784
  var ne = { exports: {} }, So = ne.exports, je;
1785
1785
  function Bo() {
1786
1786
  return je || (je = 1, function(p, i) {
1787
- (function(o, a) {
1787
+ (function(l, a) {
1788
1788
  p.exports = a();
1789
1789
  })(So, function() {
1790
- return { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(o) {
1791
- var a = ["th", "st", "nd", "rd"], n = o % 100;
1792
- return "[" + o + (a[(n - 20) % 10] || a[n] || a[0]) + "]";
1790
+ return { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(l) {
1791
+ var a = ["th", "st", "nd", "rd"], r = l % 100;
1792
+ return "[" + l + (a[(r - 20) % 10] || a[r] || a[0]) + "]";
1793
1793
  } };
1794
1794
  });
1795
1795
  }(ne)), ne.exports;
@@ -1798,25 +1798,25 @@ Bo();
1798
1798
  var ae = { exports: {} }, Mo = ae.exports, Te;
1799
1799
  function Do() {
1800
1800
  return Te || (Te = 1, function(p, i) {
1801
- (function(o, a) {
1801
+ (function(l, a) {
1802
1802
  p.exports = a(T);
1803
- })(Mo, function(o) {
1803
+ })(Mo, function(l) {
1804
1804
  function a(t) {
1805
1805
  return t && typeof t == "object" && "default" in t ? t : { default: t };
1806
1806
  }
1807
- var n = a(o), l = { name: "fr", weekdays: "dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"), weekdaysShort: "dim._lun._mar._mer._jeu._ven._sam.".split("_"), weekdaysMin: "di_lu_ma_me_je_ve_sa".split("_"), months: "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"), monthsShort: "janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"), weekStart: 1, yearStart: 4, formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, relativeTime: { future: "dans %s", past: "il y a %s", s: "quelques secondes", m: "une minute", mm: "%d minutes", h: "une heure", hh: "%d heures", d: "un jour", dd: "%d jours", M: "un mois", MM: "%d mois", y: "un an", yy: "%d ans" }, ordinal: function(t) {
1807
+ var r = a(l), o = { name: "fr", weekdays: "dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"), weekdaysShort: "dim._lun._mar._mer._jeu._ven._sam.".split("_"), weekdaysMin: "di_lu_ma_me_je_ve_sa".split("_"), months: "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"), monthsShort: "janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"), weekStart: 1, yearStart: 4, formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, relativeTime: { future: "dans %s", past: "il y a %s", s: "quelques secondes", m: "une minute", mm: "%d minutes", h: "une heure", hh: "%d heures", d: "un jour", dd: "%d jours", M: "un mois", MM: "%d mois", y: "un an", yy: "%d ans" }, ordinal: function(t) {
1808
1808
  return "" + t + (t === 1 ? "er" : "");
1809
1809
  } };
1810
- return n.default.locale(l, null, !0), l;
1810
+ return r.default.locale(o, null, !0), o;
1811
1811
  });
1812
1812
  }(ae)), ae.exports;
1813
1813
  }
1814
1814
  Do();
1815
1815
  const te = (p, i) => {
1816
- const o = p.__vccOpts || p;
1817
- for (const [a, n] of i)
1818
- o[a] = n;
1819
- return o;
1816
+ const l = p.__vccOpts || p;
1817
+ for (const [a, r] of i)
1818
+ l[a] = r;
1819
+ return l;
1820
1820
  }, jo = {
1821
1821
  name: "dateSelector",
1822
1822
  components: { ChevronLeftIcon: Ze, ChevronRightIcon: ee },
@@ -1839,25 +1839,25 @@ const te = (p, i) => {
1839
1839
  },
1840
1840
  methods: {
1841
1841
  selectDate(p, i) {
1842
- let o;
1842
+ let l;
1843
1843
  if (i === "previous") {
1844
1844
  if (this.currentDate <= this.today) return;
1845
- p === "day" && (o = T(this.currentDate).subtract(1, "day")), p === "month" && (o = T(this.currentDate).subtract(1, "month")), p === "year" && (o = T(this.currentDate).subtract(1, "year")), o <= this.today && (o = this.currentDate = this.today);
1845
+ p === "day" && (l = T(this.currentDate).subtract(1, "day")), p === "month" && (l = T(this.currentDate).subtract(1, "month")), p === "year" && (l = T(this.currentDate).subtract(1, "year")), l <= this.today && (l = this.currentDate = this.today);
1846
1846
  }
1847
- i === "next" && (p === "day" && (o = T(this.selectedDate).add(1, "day")), p === "month" && (o = T(this.selectedDate).add(1, "month")), p === "year" && (o = T(this.selectedDate).add(1, "year"))), this.$emit("dateSelected", o);
1847
+ i === "next" && (p === "day" && (l = T(this.selectedDate).add(1, "day")), p === "month" && (l = T(this.selectedDate).add(1, "month")), p === "year" && (l = T(this.selectedDate).add(1, "year"))), this.$emit("dateSelected", l);
1848
1848
  }
1849
1849
  }
1850
1850
  }, To = { class: "dateSelector flex items-center text-white flex-row" }, zo = { class: "pagination flex items-center my-1 md:my-0" }, Lo = { 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" };
1851
- function Ao(p, i, o, a, n, l) {
1851
+ function Ao(p, i, l, a, r, o) {
1852
1852
  const t = Be("ChevronLeftIcon"), c = Be("ChevronRightIcon");
1853
- return s(), r("div", To, [
1853
+ return s(), n("div", To, [
1854
1854
  e("div", zo, [
1855
1855
  e("div", {
1856
1856
  class: h([{
1857
- "bg-indigo-600 hover:bg-indigo-800 cursor-pointer": l.currentDate > l.today,
1858
- "bg-indigo-300": l.currentDate <= l.today
1857
+ "bg-indigo-600 hover:bg-indigo-800 cursor-pointer": o.currentDate > o.today,
1858
+ "bg-indigo-300": o.currentDate <= o.today
1859
1859
  }, "previousYear flex items-center p-1 rounded mx-0.5 shadow-sm"]),
1860
- onClick: i[0] || (i[0] = (d) => l.selectDate("year", "previous"))
1860
+ onClick: i[0] || (i[0] = (d) => o.selectDate("year", "previous"))
1861
1861
  }, [
1862
1862
  m(t, { class: "h-4" }),
1863
1863
  m(t, { class: "h-4 -ml-3" }),
@@ -1865,42 +1865,42 @@ function Ao(p, i, o, a, n, l) {
1865
1865
  ], 2),
1866
1866
  e("div", {
1867
1867
  class: h([{
1868
- "bg-indigo-600 hover:bg-indigo-800 cursor-pointer": l.currentDate > l.today,
1869
- "bg-indigo-300": l.currentDate <= l.today
1868
+ "bg-indigo-600 hover:bg-indigo-800 cursor-pointer": o.currentDate > o.today,
1869
+ "bg-indigo-300": o.currentDate <= o.today
1870
1870
  }, "previousYear flex items-center p-1 rounded mx-0.5 shadow-sm"]),
1871
- onClick: i[1] || (i[1] = (d) => l.selectDate("month", "previous"))
1871
+ onClick: i[1] || (i[1] = (d) => o.selectDate("month", "previous"))
1872
1872
  }, [
1873
1873
  m(t, { class: "h-4" }),
1874
1874
  m(t, { class: "h-4 -ml-3" })
1875
1875
  ], 2),
1876
1876
  e("div", {
1877
1877
  class: h([{
1878
- "bg-indigo-600 hover:bg-indigo-800 cursor-pointer": l.currentDate > l.today,
1879
- "bg-indigo-300": l.currentDate <= l.today
1878
+ "bg-indigo-600 hover:bg-indigo-800 cursor-pointer": o.currentDate > o.today,
1879
+ "bg-indigo-300": o.currentDate <= o.today
1880
1880
  }, "previousYear flex items-center p-1 rounded mx-0.5 shadow-sm"]),
1881
- onClick: i[2] || (i[2] = (d) => l.selectDate("day", "previous"))
1881
+ onClick: i[2] || (i[2] = (d) => o.selectDate("day", "previous"))
1882
1882
  }, [
1883
1883
  m(t, { class: "h-4" })
1884
1884
  ], 2)
1885
1885
  ]),
1886
- e("div", Lo, g(l.formatedDate), 1),
1886
+ e("div", Lo, g(o.formatedDate), 1),
1887
1887
  e("div", No, [
1888
1888
  e("div", {
1889
1889
  class: "previousDay flex items-center cursor-pointer bg-indigo-600 p-1 rounded mx-0.5 hover:bg-indigo-800 shadow-sm",
1890
- onClick: i[3] || (i[3] = (d) => l.selectDate("day", "next"))
1890
+ onClick: i[3] || (i[3] = (d) => o.selectDate("day", "next"))
1891
1891
  }, [
1892
1892
  m(c, { class: "h-4" })
1893
1893
  ]),
1894
1894
  e("div", {
1895
1895
  class: "previousMonth flex items-center cursor-pointer bg-indigo-600 p-1 rounded mx-0.5 hover:bg-indigo-800 shadow-sm",
1896
- onClick: i[4] || (i[4] = (d) => l.selectDate("month", "next"))
1896
+ onClick: i[4] || (i[4] = (d) => o.selectDate("month", "next"))
1897
1897
  }, [
1898
1898
  m(c, { class: "h-4" }),
1899
1899
  m(c, { class: "h-4 -ml-3" })
1900
1900
  ]),
1901
1901
  e("div", {
1902
1902
  class: "previousYear flex items-center cursor-pointer bg-indigo-600 p-1 rounded mx-0.5 hover:bg-indigo-800 shadow-sm",
1903
- onClick: i[5] || (i[5] = (d) => l.selectDate("year", "next"))
1903
+ onClick: i[5] || (i[5] = (d) => o.selectDate("year", "next"))
1904
1904
  }, [
1905
1905
  m(c, { class: "h-4" }),
1906
1906
  m(c, { class: "h-4 -ml-3" }),
@@ -1912,8 +1912,8 @@ function Ao(p, i, o, a, n, l) {
1912
1912
  const Yo = /* @__PURE__ */ te(jo, [["render", Ao]]), Oo = {
1913
1913
  name: "SkeletonTable"
1914
1914
  }, Io = { class: "px-4 sm:px-6 lg:px-8 animate-pulse" }, Po = { class: "flow-root" }, Vo = { class: "-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8" }, Fo = { 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" }, Ro = { class: "min-w-full divide-y divide-gray-300" }, Ho = { class: "divide-y divide-gray-200 bg-white" };
1915
- function Uo(p, i, o, a, n, l) {
1916
- return s(), r("div", Io, [
1915
+ function Uo(p, i, l, a, r, o) {
1916
+ return s(), n("div", Io, [
1917
1917
  e("div", Po, [
1918
1918
  e("div", Vo, [
1919
1919
  e("div", Fo, [
@@ -1956,7 +1956,7 @@ function Uo(p, i, o, a, n, l) {
1956
1956
  ])
1957
1957
  ], -1)),
1958
1958
  e("tbody", Ho, [
1959
- (s(), r(x, null, $(10, (t) => e("tr", { key: t }, i[0] || (i[0] = [
1959
+ (s(), n(x, null, $(10, (t) => e("tr", { key: t }, i[0] || (i[0] = [
1960
1960
  e("td", { class: "whitespace-nowrap py-4 pl-4 pr-3 text-sm font-medium text-gray-900 sm:pl-6" }, [
1961
1961
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-6" })
1962
1962
  ], -1),
@@ -1994,13 +1994,13 @@ const Ge = /* @__PURE__ */ te(Oo, [["render", Uo]]);
1994
1994
  var ie = { exports: {} }, Eo = ie.exports, ze;
1995
1995
  function Zo() {
1996
1996
  return ze || (ze = 1, function(p, i) {
1997
- (function(o, a) {
1997
+ (function(l, a) {
1998
1998
  p.exports = a();
1999
1999
  })(Eo, function() {
2000
- return function(o, a, n) {
2000
+ return function(l, a, r) {
2001
2001
  a.prototype.isToday = function() {
2002
- var l = "YYYY-MM-DD", t = n();
2003
- return this.format(l) === t.format(l);
2002
+ var o = "YYYY-MM-DD", t = r();
2003
+ return this.format(o) === t.format(o);
2004
2004
  };
2005
2005
  };
2006
2006
  });
@@ -2024,19 +2024,19 @@ const Wo = /* @__PURE__ */ xo(Jo), Go = {
2024
2024
  }
2025
2025
  }
2026
2026
  }, Qo = { class: "text-xs" }, Ko = { class: "font-bold text-lg" }, Xo = { class: "text-xs font-medium" };
2027
- function el(p, i, o, a, n, l) {
2028
- return s(), r("div", {
2027
+ function el(p, i, l, a, r, o) {
2028
+ return s(), n("div", {
2029
2029
  class: h([
2030
2030
  "day select-none text-center",
2031
2031
  {
2032
- "bg-indigo-200 text-white": l.currentDay.isWeekend,
2033
- "bg-[#0ff] text-white": l.currentDay.isToday
2032
+ "bg-indigo-200 text-white": o.currentDay.isWeekend,
2033
+ "bg-[#0ff] text-white": o.currentDay.isToday
2034
2034
  }
2035
2035
  ])
2036
2036
  }, [
2037
- e("p", Qo, g(l.currentDay.dayName), 1),
2038
- e("p", Ko, g(l.currentDay.day), 1),
2039
- e("p", Xo, g(l.currentDay.month), 1)
2037
+ e("p", Qo, g(o.currentDay.dayName), 1),
2038
+ e("p", Ko, g(o.currentDay.day), 1),
2039
+ e("p", Xo, g(o.currentDay.month), 1)
2040
2040
  ], 2);
2041
2041
  }
2042
2042
  const tl = /* @__PURE__ */ te(Go, [["render", el]]), sl = {
@@ -2059,18 +2059,18 @@ const tl = /* @__PURE__ */ te(Go, [["render", el]]), sl = {
2059
2059
  }
2060
2060
  }
2061
2061
  }, ol = { class: "priceDay" };
2062
- function ll(p, i, o, a, n, l) {
2063
- return s(), r("div", ol, [
2062
+ function ll(p, i, l, a, r, o) {
2063
+ return s(), n("div", ol, [
2064
2064
  e("div", {
2065
2065
  class: h([
2066
2066
  {
2067
- "bg-indigo-200 text-white": l.currentDay.isWeekend,
2068
- "bg-green-300 text-white": o.price.price > o.basePrice,
2069
- "bg-yellow-300 text-white": o.price.price < o.basePrice
2067
+ "bg-indigo-200 text-white": o.currentDay.isWeekend,
2068
+ "bg-green-300 text-white": l.price.price > l.basePrice,
2069
+ "bg-yellow-300 text-white": l.price.price < l.basePrice
2070
2070
  },
2071
2071
  "select-none text-center rounded-lg p-1"
2072
2072
  ])
2073
- }, g(l.currentDay.price) + g(o.currency), 3)
2073
+ }, g(o.currentDay.price) + g(l.currency), 3)
2074
2074
  ]);
2075
2075
  }
2076
2076
  const oe = /* @__PURE__ */ te(sl, [["render", ll]]), rl = {
@@ -2124,7 +2124,7 @@ const oe = /* @__PURE__ */ te(sl, [["render", ll]]), rl = {
2124
2124
  }, zl = {
2125
2125
  colspan: "2",
2126
2126
  class: "pl-4"
2127
- }, Ll = /* @__PURE__ */ B({
2127
+ }, Ll = /* @__PURE__ */ M({
2128
2128
  __name: "uiPriceCalendar",
2129
2129
  props: {
2130
2130
  loading: { type: Boolean },
@@ -2138,26 +2138,26 @@ const oe = /* @__PURE__ */ te(sl, [["render", ll]]), rl = {
2138
2138
  },
2139
2139
  emits: ["dateChanged", "changeCategoryBulkPrices", "changeCategorySelectionPrice", "changeCategoryUpgradePrice", "changeRoomPrice", "tableAction"],
2140
2140
  setup(p, { emit: i }) {
2141
- const o = p, a = i, n = N(/* @__PURE__ */ new Date()), l = N(o.today), t = N([]);
2142
- R(() => o.today, (w) => {
2143
- l.value = w;
2141
+ const l = p, a = i, r = N(/* @__PURE__ */ new Date()), o = N(l.today), t = N([]);
2142
+ R(() => l.today, (w) => {
2143
+ o.value = w;
2144
2144
  });
2145
2145
  const c = V(() => {
2146
2146
  let w = [];
2147
2147
  for (let I = 0; I < 14; I++)
2148
- w.push(T(l.value).add(I, "day"));
2148
+ w.push(T(o.value).add(I, "day"));
2149
2149
  return w;
2150
- }), d = V(() => t.value.length > 0 && t.value.length < o.rooms.length), f = (w) => {
2151
- T(w).isBefore(n.value) || (l.value = w, a("dateChanged", l.value));
2150
+ }), d = V(() => t.value.length > 0 && t.value.length < l.rooms.length), f = (w) => {
2151
+ T(w).isBefore(r.value) || (o.value = w, a("dateChanged", o.value));
2152
2152
  }, v = (w) => {
2153
- let I = o.category.selectionPrices.find((Y) => T(Y.date).isSame(w.date));
2153
+ let I = l.category.selectionPrices.find((Y) => T(Y.date).isSame(w.date));
2154
2154
  return I ? I.price : w.price;
2155
2155
  }, k = (w) => {
2156
- t.value = w.target.checked ? o.rooms.map((I) => I.id) : [];
2157
- }, O = () => a("changeCategoryBulkPrices"), A = (w) => a("changeCategorySelectionPrice", w), M = (w) => a("changeCategoryUpgradePrice", w), S = (w) => a("tableAction", w), P = (w, I, Y) => a("changeRoomPrice", { price: w, roomId: I, roomName: Y });
2156
+ t.value = w.target.checked ? l.rooms.map((I) => I.id) : [];
2157
+ }, O = () => a("changeCategoryBulkPrices"), A = (w) => a("changeCategorySelectionPrice", w), B = (w) => a("changeCategoryUpgradePrice", w), S = (w) => a("tableAction", w), P = (w, I, Y) => a("changeRoomPrice", { price: w, roomId: I, roomName: Y });
2158
2158
  return (w, I) => {
2159
2159
  var Y, se;
2160
- return w.loading ? (s(), _(Ge, { key: 1 })) : (s(), r("div", rl, [
2160
+ return w.loading ? (s(), _(Ge, { key: 1 })) : (s(), n("div", rl, [
2161
2161
  e("div", nl, [
2162
2162
  e("div", al, [
2163
2163
  e("div", il, [
@@ -2166,11 +2166,11 @@ const oe = /* @__PURE__ */ te(sl, [["render", ll]]), rl = {
2166
2166
  e("tr", null, [
2167
2167
  e("th", cl, [
2168
2168
  m(Yo, {
2169
- selectedDate: l.value,
2169
+ selectedDate: o.value,
2170
2170
  onDateSelected: I[0] || (I[0] = (L) => f(L))
2171
2171
  }, null, 8, ["selectedDate"])
2172
2172
  ]),
2173
- (s(!0), r(x, null, $(c.value, (L, F) => (s(), r("th", {
2173
+ (s(!0), n(x, null, $(c.value, (L, F) => (s(), n("th", {
2174
2174
  scope: "col",
2175
2175
  key: F,
2176
2176
  class: "text-sm font-semibold text-gray-900 p-0"
@@ -2197,9 +2197,9 @@ const oe = /* @__PURE__ */ te(sl, [["render", ll]]), rl = {
2197
2197
  }, 8, ["loading"])
2198
2198
  ])
2199
2199
  ]),
2200
- w.type === "discounts" ? (s(), r("tr", ml, [
2200
+ w.type === "discounts" ? (s(), n("tr", ml, [
2201
2201
  e("td", pl, g(w.literals.pricesDiscount), 1),
2202
- (s(!0), r(x, null, $(w.category.selectionPrices, (L, F) => (s(), r("td", {
2202
+ (s(!0), n(x, null, $(w.category.selectionPrices, (L, F) => (s(), n("td", {
2203
2203
  key: F,
2204
2204
  class: "p-0"
2205
2205
  }, [
@@ -2212,9 +2212,9 @@ const oe = /* @__PURE__ */ te(sl, [["render", ll]]), rl = {
2212
2212
  }, null, 8, ["onClick", "price", "currency"])
2213
2213
  ]))), 128))
2214
2214
  ])) : b("", !0),
2215
- w.type === "prices" ? (s(), r("tr", fl, [
2215
+ w.type === "prices" ? (s(), n("tr", fl, [
2216
2216
  e("td", hl, g(w.literals.pricesSelection), 1),
2217
- (s(!0), r(x, null, $(w.category.selectionPrices, (L, F) => (s(), r("td", {
2217
+ (s(!0), n(x, null, $(w.category.selectionPrices, (L, F) => (s(), n("td", {
2218
2218
  key: F,
2219
2219
  class: "p-0"
2220
2220
  }, [
@@ -2227,14 +2227,14 @@ const oe = /* @__PURE__ */ te(sl, [["render", ll]]), rl = {
2227
2227
  }, null, 8, ["onClick", "price", "currency"])
2228
2228
  ]))), 128))
2229
2229
  ])) : b("", !0),
2230
- w.type === "prices" ? (s(), r("tr", yl, [
2230
+ w.type === "prices" ? (s(), n("tr", yl, [
2231
2231
  e("td", vl, g(w.literals.pricesUpgrade), 1),
2232
- (s(!0), r(x, null, $(w.category.upgradePrices, (L, F) => (s(), r("td", {
2232
+ (s(!0), n(x, null, $(w.category.upgradePrices, (L, F) => (s(), n("td", {
2233
2233
  key: F,
2234
2234
  class: "p-0"
2235
2235
  }, [
2236
2236
  m(oe, {
2237
- onClick: (K) => M(L),
2237
+ onClick: (K) => B(L),
2238
2238
  class: "border-l border-gray-200 px-6 py-3 text-indigo-600 hover:text-indigo-400 font-bold cursor-pointer bg-gray-100",
2239
2239
  price: L,
2240
2240
  currency: w.currency.symbol,
@@ -2244,8 +2244,8 @@ const oe = /* @__PURE__ */ te(sl, [["render", ll]]), rl = {
2244
2244
  ])) : b("", !0),
2245
2245
  e("tr", null, [
2246
2246
  e("th", bl, [
2247
- ((Y = t.value) == null ? void 0 : Y.length) > 0 && ((se = w.actions) == null ? void 0 : se.length) > 0 ? (s(), r("div", wl, [
2248
- (s(!0), r(x, null, $(w.actions, (L, F) => (s(), r("button", {
2247
+ ((Y = t.value) == null ? void 0 : Y.length) > 0 && ((se = w.actions) == null ? void 0 : se.length) > 0 ? (s(), n("div", wl, [
2248
+ (s(!0), n(x, null, $(w.actions, (L, F) => (s(), n("button", {
2249
2249
  onClick: (K) => S({ action: L.id, items: t.value }),
2250
2250
  key: F,
2251
2251
  type: "button",
@@ -2274,12 +2274,12 @@ const oe = /* @__PURE__ */ te(sl, [["render", ll]]), rl = {
2274
2274
  class: "bg-gray-100 py-2 pl-4 pr-3 text-left font-semibold text-gray-900"
2275
2275
  }, null, -1))
2276
2276
  ]),
2277
- (s(!0), r(x, null, $(w.rooms, (L) => (s(), r("tr", {
2277
+ (s(!0), n(x, null, $(w.rooms, (L) => (s(), n("tr", {
2278
2278
  key: L.name,
2279
2279
  class: h([{ "even:bg-gray-100": w.type === "prices", "odd:bg-gray-100": w.type === "discounts" }])
2280
2280
  }, [
2281
2281
  e("td", Bl, [
2282
- t.value.length > 0 ? (s(), r("div", Ml)) : b("", !0),
2282
+ t.value.length > 0 ? (s(), n("div", Ml)) : b("", !0),
2283
2283
  C(e("input", {
2284
2284
  type: "checkbox",
2285
2285
  class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-600",
@@ -2292,12 +2292,12 @@ const oe = /* @__PURE__ */ te(sl, [["render", ll]]), rl = {
2292
2292
  ]),
2293
2293
  e("td", Tl, g(L.building), 1),
2294
2294
  e("td", zl, g(L.floor), 1),
2295
- (s(!0), r(x, null, $(L.selectionPrices, (F, K) => (s(), r("td", {
2295
+ (s(!0), n(x, null, $(L.selectionPrices, (F, K) => (s(), n("td", {
2296
2296
  class: "p-0",
2297
2297
  key: K
2298
2298
  }, [
2299
2299
  m(oe, {
2300
- onClick: (fd) => P(F, L.id, L.name),
2300
+ onClick: (md) => P(F, L.id, L.name),
2301
2301
  class: "border-l border-gray-200 px-6 py-3 text-indigo-600 hover:text-indigo-400 cursor-pointer",
2302
2302
  price: F,
2303
2303
  currency: w.currency.symbol,
@@ -2316,7 +2316,7 @@ const oe = /* @__PURE__ */ te(sl, [["render", ll]]), rl = {
2316
2316
  }), 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" }, Yl = {
2317
2317
  key: 0,
2318
2318
  class: "flex items-center gap-x-2 grow"
2319
- }, Ol = { class: "self-center ml-2" }, Il = { class: "self-center ml-2" }, Pl = { class: "self-center ml-2" }, Vl = { class: "hidden sm:flex items-center" }, Fl = { class: "w-1/2 min-w-0 flex-1" }, ql = ["max"], Rl = { class: "min-w-0 flex-1" }, Hl = ["max"], Ul = { class: "chart-content relative" }, El = { class: "w-full flex items-center justify-center flex-col h-[320px]" }, Zl = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, Jl = /* @__PURE__ */ B({
2319
+ }, Ol = { class: "self-center ml-2" }, Il = { class: "self-center ml-2" }, Pl = { class: "self-center ml-2" }, Vl = { class: "hidden sm:flex items-center" }, Fl = { class: "w-1/2 min-w-0 flex-1" }, ql = ["max"], Rl = { class: "min-w-0 flex-1" }, Hl = ["max"], Ul = { class: "chart-content relative" }, El = /* @__PURE__ */ M({
2320
2320
  __name: "uiChart",
2321
2321
  props: {
2322
2322
  labels: {},
@@ -2338,10 +2338,10 @@ const oe = /* @__PURE__ */ te(sl, [["render", ll]]), rl = {
2338
2338
  },
2339
2339
  emits: ["selectedRange", "chartUpdated", "dataPointSelection", "maximizeChart"],
2340
2340
  setup(p, { emit: i }) {
2341
- const o = p, a = i, n = N((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":")));
2342
- let l = ce(o.dates || { from: "", to: n });
2343
- R(() => o.dates, (M) => {
2344
- M && (l = M);
2341
+ const l = i, a = N((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":"))), r = p;
2342
+ let o = ce(r.dates || { from: "", to: a });
2343
+ R(() => r.dates, (B) => {
2344
+ B && (o = B);
2345
2345
  });
2346
2346
  let c = {
2347
2347
  chart: {
@@ -2353,8 +2353,8 @@ const oe = /* @__PURE__ */ te(sl, [["render", ll]]), rl = {
2353
2353
  }
2354
2354
  },
2355
2355
  colors: function() {
2356
- return o.isNps ? [
2357
- function({ value: M, seriesIndex: S, dataPointIndex: P, w }) {
2356
+ return r.isNps ? [
2357
+ function({ value: B, seriesIndex: S, dataPointIndex: P, w }) {
2358
2358
  if (P <= 5) return "#F87171";
2359
2359
  if (P > 5 && P <= 7) return "#eab308";
2360
2360
  if (P >= 8) return "#84cc16";
@@ -2383,10 +2383,10 @@ const oe = /* @__PURE__ */ te(sl, [["render", ll]]), rl = {
2383
2383
  }
2384
2384
  }
2385
2385
  };
2386
- o.annotations && (c.annotations = {
2386
+ r.annotations && (c.annotations = {
2387
2387
  yaxis: [
2388
2388
  {
2389
- y: o.annotations.high,
2389
+ y: r.annotations.high,
2390
2390
  borderColor: "#4f46e5",
2391
2391
  label: {
2392
2392
  borderColor: "#4f46e5",
@@ -2394,23 +2394,23 @@ const oe = /* @__PURE__ */ te(sl, [["render", ll]]), rl = {
2394
2394
  color: "#fff",
2395
2395
  background: "#4f46e5"
2396
2396
  },
2397
- text: o.annotations.text
2397
+ text: r.annotations.text
2398
2398
  }
2399
2399
  }
2400
2400
  ]
2401
- }), o.type === "area" && (c.tooltip = { intersect: !0, shared: !1 });
2402
- const d = () => (c.chart.stacked = o.stacked, { ...c, ...o.options, plotOptions: { bar: { horizontal: o.horizontal } } }), f = () => {
2403
- l.from !== "" && l.to !== "" && T(l.from).isBefore(T(l.to)) && a("selectedRange", { range: l, chartId: o.id });
2404
- }, v = V(() => o.series), k = V(() => d()), O = () => a("chartUpdated"), A = (M, S, P) => {
2405
- a("dataPointSelection", { id: o.id, chartContext: S, config: P, event: M });
2401
+ }), r.type === "area" && (c.tooltip = { intersect: !0, shared: !1 });
2402
+ const d = () => (c.chart.stacked = r.stacked, { ...c, ...r.options, plotOptions: { bar: { horizontal: r.horizontal } } }), f = () => {
2403
+ o.from !== "" && o.to !== "" && T(o.from).isBefore(T(o.to)) && l("selectedRange", { range: o, chartId: r.id });
2404
+ }, v = V(() => r.series), k = V(() => d()), O = () => l("chartUpdated"), A = (B, S, P) => {
2405
+ l("dataPointSelection", { id: r.id, chartContext: S, config: P, event: B });
2406
2406
  };
2407
- return (M, S) => (s(), r(x, null, [
2407
+ return (B, S) => (s(), n(x, null, [
2408
2408
  C(e("div", {
2409
- class: h(["h-[" + M.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow"])
2409
+ class: h(["h-[" + B.height + "px]", "card chart apex-chart p-4 bg-white shadow rounded-lg overflow-hidden flex grow"])
2410
2410
  }, [
2411
2411
  e("div", Nl, [
2412
- e("div", Al, g(M.title), 1),
2413
- M.isNps && M.npsLiterals ? (s(), r("div", Yl, [
2412
+ e("div", Al, g(B.title), 1),
2413
+ B.isNps && B.npsLiterals ? (s(), n("div", Yl, [
2414
2414
  m(H, {
2415
2415
  size: "small",
2416
2416
  color: "red",
@@ -2422,7 +2422,7 @@ const oe = /* @__PURE__ */ te(sl, [["render", ll]]), rl = {
2422
2422
  loading: !1,
2423
2423
  color: "red"
2424
2424
  }, null, 8, ["icon"]),
2425
- e("span", Ol, g(M.npsLiterals.unhappy), 1)
2425
+ e("span", Ol, g(B.npsLiterals.unhappy), 1)
2426
2426
  ]),
2427
2427
  _: 1
2428
2428
  }),
@@ -2437,7 +2437,7 @@ const oe = /* @__PURE__ */ te(sl, [["render", ll]]), rl = {
2437
2437
  loading: !1,
2438
2438
  color: "yellow"
2439
2439
  }, null, 8, ["icon"]),
2440
- e("span", Il, g(M.npsLiterals.neutral), 1)
2440
+ e("span", Il, g(B.npsLiterals.neutral), 1)
2441
2441
  ]),
2442
2442
  _: 1
2443
2443
  }),
@@ -2452,7 +2452,7 @@ const oe = /* @__PURE__ */ te(sl, [["render", ll]]), rl = {
2452
2452
  loading: !1,
2453
2453
  color: "green"
2454
2454
  }, null, 8, ["icon"]),
2455
- e("span", Pl, g(M.npsLiterals.happy), 1)
2455
+ e("span", Pl, g(B.npsLiterals.happy), 1)
2456
2456
  ]),
2457
2457
  _: 1
2458
2458
  })
@@ -2461,53 +2461,55 @@ const oe = /* @__PURE__ */ te(sl, [["render", ll]]), rl = {
2461
2461
  e("div", Fl, [
2462
2462
  C(e("input", {
2463
2463
  type: "datetime-local",
2464
- "onUpdate:modelValue": S[0] || (S[0] = (P) => u(l).from = P),
2465
- max: n.value.toString(),
2464
+ "onUpdate:modelValue": S[0] || (S[0] = (P) => u(o).from = P),
2465
+ max: a.value.toString(),
2466
2466
  onChange: f,
2467
2467
  name: "from",
2468
2468
  id: "from",
2469
2469
  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"
2470
2470
  }, null, 40, ql), [
2471
- [X, u(l).from]
2471
+ [X, u(o).from]
2472
2472
  ])
2473
2473
  ]),
2474
2474
  e("div", Rl, [
2475
2475
  C(e("input", {
2476
2476
  type: "datetime-local",
2477
- "onUpdate:modelValue": S[1] || (S[1] = (P) => u(l).to = P),
2478
- max: n.value.toString(),
2477
+ "onUpdate:modelValue": S[1] || (S[1] = (P) => u(o).to = P),
2478
+ max: a.value.toString(),
2479
2479
  onChange: f,
2480
2480
  name: "to",
2481
2481
  id: "to",
2482
2482
  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"
2483
2483
  }, null, 40, Hl), [
2484
- [X, u(l).to]
2484
+ [X, u(o).to]
2485
2485
  ])
2486
2486
  ]),
2487
2487
  m(j, {
2488
2488
  class: "ml-4 cursor-pointer",
2489
2489
  size: "big",
2490
- loading: M.loading,
2490
+ loading: B.loading,
2491
2491
  icon: u(He),
2492
- onClick: S[2] || (S[2] = (P) => M.$emit("maximizeChart", M.id))
2492
+ onClick: S[2] || (S[2] = (P) => B.$emit("maximizeChart", B.id))
2493
2493
  }, null, 8, ["loading", "icon"])
2494
2494
  ])
2495
2495
  ]),
2496
2496
  C(e("div", Ul, [
2497
2497
  m(u($e), {
2498
- type: M.type,
2498
+ class: "chart",
2499
+ type: B.type,
2499
2500
  series: v.value,
2500
- width: "100%",
2501
- height: M.height,
2501
+ height: B.height,
2502
2502
  options: k.value,
2503
2503
  onUpdated: O,
2504
2504
  onMounted: O,
2505
2505
  onDataPointSelection: A
2506
2506
  }, null, 8, ["type", "series", "height", "options"])
2507
2507
  ], 512), [
2508
- [D, !M.empty]
2508
+ [D, !B.empty]
2509
2509
  ]),
2510
- C(e("div", El, [
2510
+ C(e("div", {
2511
+ class: h(["h-[" + B.height + "px]", "w-full flex items-center justify-center flex-col"])
2512
+ }, [
2511
2513
  m(j, {
2512
2514
  icon: u(U),
2513
2515
  color: "gray",
@@ -2515,13 +2517,15 @@ const oe = /* @__PURE__ */ te(sl, [["render", ll]]), rl = {
2515
2517
  size: "massive"
2516
2518
  }, null, 8, ["icon"]),
2517
2519
  S[3] || (S[3] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data for this time frame", -1))
2518
- ], 512), [
2519
- [D, M.empty]
2520
+ ], 2), [
2521
+ [D, B.empty]
2520
2522
  ])
2521
2523
  ], 2), [
2522
- [D, !M.loading]
2524
+ [D, !B.loading]
2523
2525
  ]),
2524
- C(e("div", Zl, S[4] || (S[4] = [
2526
+ C(e("div", {
2527
+ class: h(["h-[" + B.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80"])
2528
+ }, S[4] || (S[4] = [
2525
2529
  e("div", {
2526
2530
  role: "status",
2527
2531
  class: "w-full animate-pulse h-full flex flex-col"
@@ -2547,16 +2551,16 @@ const oe = /* @__PURE__ */ te(sl, [["render", ll]]), rl = {
2547
2551
  e("div", { class: "w-full bg-gray-200 rounded h-1/2" })
2548
2552
  ])
2549
2553
  ], -1)
2550
- ]), 512), [
2551
- [D, M.loading]
2554
+ ]), 2), [
2555
+ [D, B.loading]
2552
2556
  ])
2553
2557
  ], 64));
2554
2558
  }
2555
- }), Wl = {
2559
+ }), Zl = {
2556
2560
  name: "uiFooter"
2557
- }, Gl = { class: "bg-white" };
2558
- function Ql(p, i, o, a, n, l) {
2559
- return s(), r("footer", Gl, i[0] || (i[0] = [
2561
+ }, Jl = { class: "bg-white" };
2562
+ function Wl(p, i, l, a, r, o) {
2563
+ return s(), n("footer", Jl, i[0] || (i[0] = [
2560
2564
  e("div", { class: "mx-auto py-6 px-4 sm:px-6 md:flex md:items-center md:justify-between lg:px-8" }, [
2561
2565
  e("div", { class: "mt-8 md:mt-0 md:order-1" }, [
2562
2566
  e("p", { class: "text-center text-base text-gray-400" }, "© Made by Hotelinking.")
@@ -2564,7 +2568,7 @@ function Ql(p, i, o, a, n, l) {
2564
2568
  ], -1)
2565
2569
  ]));
2566
2570
  }
2567
- const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
2571
+ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ M({
2568
2572
  __name: "uiLoadingScreen",
2569
2573
  props: {
2570
2574
  title: {},
@@ -2572,13 +2576,13 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
2572
2576
  fixed: { type: Boolean, default: !0 }
2573
2577
  },
2574
2578
  setup(p) {
2575
- return (i, o) => (s(), r("div", {
2579
+ return (i, l) => (s(), n("div", {
2576
2580
  class: h([
2577
2581
  { fixed: i.fixed },
2578
2582
  "load-screen h-full w-full top-0 left-0 z-[100] flex flex-col items-center justify-center bg-gray-50"
2579
2583
  ])
2580
2584
  }, [
2581
- o[0] || (o[0] = e("div", { class: "spinner h-12 w-12 mb-6" }, [
2585
+ l[0] || (l[0] = e("div", { class: "spinner h-12 w-12 mb-6" }, [
2582
2586
  e("img", {
2583
2587
  src: "https://images.hotelinking.com/ui/loader.gif",
2584
2588
  alt: "loading animation"
@@ -2592,22 +2596,22 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
2592
2596
  ])
2593
2597
  ], 2));
2594
2598
  }
2595
- }), er = {
2599
+ }), Kl = {
2596
2600
  key: 0,
2597
2601
  class: "py-6 flex items-center justify-between"
2598
- }, tr = { class: "flex-1 flex justify-between sm:hidden" }, sr = {
2602
+ }, Xl = { class: "flex-1 flex justify-between sm:hidden" }, er = {
2599
2603
  href: "#",
2600
2604
  class: "relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50"
2601
- }, or = {
2605
+ }, tr = {
2602
2606
  href: "#",
2603
2607
  class: "ml-3 relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50"
2604
- }, lr = { class: "hidden sm:flex-1 sm:flex sm:items-center sm:justify-between" }, rr = { class: "text-sm text-gray-700" }, nr = { class: "font-bold" }, ar = { class: "font-bold" }, ir = {
2608
+ }, sr = { class: "hidden sm:flex-1 sm:flex sm:items-center sm:justify-between" }, or = { class: "text-sm text-gray-700" }, lr = { class: "font-bold" }, rr = { class: "font-bold" }, nr = {
2605
2609
  class: "relative z-0 inline-flex rounded-md shadow-sm -space-x-px",
2606
2610
  "aria-label": "Pagination"
2607
- }, dr = { class: "sr-only" }, ur = ["onClick"], cr = { class: "sr-only" }, gr = {
2611
+ }, ar = { class: "sr-only" }, ir = ["onClick"], dr = { class: "sr-only" }, ur = {
2608
2612
  key: 1,
2609
2613
  class: "py-6 flex flex-row justify-between items-center animate-pulse"
2610
- }, mr = /* @__PURE__ */ B({
2614
+ }, cr = /* @__PURE__ */ M({
2611
2615
  __name: "uiPagination",
2612
2616
  props: {
2613
2617
  current: {},
@@ -2616,44 +2620,44 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
2616
2620
  },
2617
2621
  emits: ["changePage"],
2618
2622
  setup(p, { emit: i }) {
2619
- const o = i, a = p, n = N(3), l = V(
2620
- () => Math.max(1, Number(a.current) - Number(n.value))
2623
+ const l = i, a = p, r = N(3), o = V(
2624
+ () => Math.max(1, Number(a.current) - Number(r.value))
2621
2625
  ), t = V(
2622
- () => Math.min(Number(a.current) + Number(n.value), Number(a.total))
2626
+ () => Math.min(Number(a.current) + Number(r.value), Number(a.total))
2623
2627
  ), c = V(() => {
2624
2628
  let d = [];
2625
- for (let f = Number(l.value); f <= Number(t.value); f++)
2629
+ for (let f = Number(o.value); f <= Number(t.value); f++)
2626
2630
  d.push(f);
2627
2631
  return d;
2628
2632
  });
2629
- return (d, f) => d.loading ? (s(), r("div", gr, f[2] || (f[2] = [
2633
+ return (d, f) => d.loading ? (s(), n("div", ur, f[2] || (f[2] = [
2630
2634
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/5" }, null, -1),
2631
2635
  e("div", { class: "h-10 w-32 bg-gray-200 rounded dark:bg-gray-300" }, null, -1)
2632
- ]))) : (s(), r("div", er, [
2633
- e("div", tr, [
2634
- e("a", sr, [
2636
+ ]))) : (s(), n("div", Kl, [
2637
+ e("div", Xl, [
2638
+ e("a", er, [
2635
2639
  q(d.$slots, "previous")
2636
2640
  ]),
2637
- e("a", or, [
2641
+ e("a", tr, [
2638
2642
  q(d.$slots, "next")
2639
2643
  ])
2640
2644
  ]),
2641
- e("div", lr, [
2645
+ e("div", sr, [
2642
2646
  e("div", null, [
2643
- e("p", rr, [
2647
+ e("p", or, [
2644
2648
  q(d.$slots, "showing"),
2645
- e("span", nr, g(d.current + " "), 1),
2649
+ e("span", lr, g(d.current + " "), 1),
2646
2650
  q(d.$slots, "of"),
2647
- e("span", ar, g(d.total), 1)
2651
+ e("span", rr, g(d.total), 1)
2648
2652
  ])
2649
2653
  ]),
2650
2654
  e("div", null, [
2651
- e("nav", ir, [
2655
+ e("nav", nr, [
2652
2656
  C(e("button", {
2653
- onClick: f[0] || (f[0] = (v) => o("changePage", d.current - 1)),
2657
+ onClick: f[0] || (f[0] = (v) => l("changePage", d.current - 1)),
2654
2658
  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"
2655
2659
  }, [
2656
- e("span", dr, [
2660
+ e("span", ar, [
2657
2661
  q(d.$slots, "previous")
2658
2662
  ]),
2659
2663
  m(u(Ze), {
@@ -2663,19 +2667,19 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
2663
2667
  ], 512), [
2664
2668
  [D, d.current !== 1]
2665
2669
  ]),
2666
- (s(!0), r(x, null, $(c.value, (v) => (s(), r("button", {
2667
- onClick: (k) => o("changePage", v),
2670
+ (s(!0), n(x, null, $(c.value, (v) => (s(), n("button", {
2671
+ onClick: (k) => l("changePage", v),
2668
2672
  key: v,
2669
2673
  "aria-current": "page",
2670
2674
  class: h([[
2671
2675
  v === d.current ? "z-10 bg-indigo-50 border-indigo-500 text-indigo-600" : "bg-white border-gray-300 text-gray-500 hover:bg-gray-50"
2672
2676
  ], "relative inline-flex items-center px-4 py-2 border text-sm font-medium"])
2673
- }, g(v), 11, ur))), 128)),
2677
+ }, g(v), 11, ir))), 128)),
2674
2678
  C(e("button", {
2675
- onClick: f[1] || (f[1] = (v) => o("changePage", d.current + 1)),
2679
+ onClick: f[1] || (f[1] = (v) => l("changePage", d.current + 1)),
2676
2680
  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"
2677
2681
  }, [
2678
- e("span", cr, [
2682
+ e("span", dr, [
2679
2683
  q(d.$slots, "next")
2680
2684
  ]),
2681
2685
  m(u(ee), {
@@ -2690,25 +2694,25 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
2690
2694
  ])
2691
2695
  ]));
2692
2696
  }
2693
- }), pr = { class: "hidden md:flex md:flex-col sticky md:inset-y-0" }, fr = { class: "flex flex-col flex-grow overflow-y-auto" }, hr = { class: "grow flex flex-col" }, yr = {
2697
+ }), gr = { class: "hidden md:flex md:flex-col sticky md:inset-y-0" }, mr = { class: "flex flex-col flex-grow overflow-y-auto" }, pr = { class: "grow flex flex-col" }, fr = {
2694
2698
  class: "flex-1 space-y-1",
2695
2699
  "aria-label": "Sidebar"
2696
- }, vr = { key: 0 }, br = ["onClick"], wr = {
2700
+ }, hr = { key: 0 }, yr = ["onClick"], vr = {
2697
2701
  key: 1,
2698
2702
  class: "text-left"
2699
- }, xr = {
2703
+ }, br = {
2700
2704
  key: 1,
2701
2705
  class: "flex-1 text-left"
2702
- }, kr = {
2706
+ }, wr = {
2703
2707
  key: 2,
2704
2708
  class: "flex-1"
2705
- }, _r = {
2709
+ }, xr = {
2706
2710
  key: 0,
2707
2711
  class: "align-left"
2708
- }, $r = {
2712
+ }, kr = {
2709
2713
  key: 1,
2710
2714
  class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2"
2711
- }, Cr = { class: "h-12 flex flex-row items-center" }, Sr = /* @__PURE__ */ B({
2715
+ }, _r = { class: "h-12 flex flex-row items-center" }, $r = /* @__PURE__ */ M({
2712
2716
  __name: "uiSidebar",
2713
2717
  props: {
2714
2718
  navigation: {},
@@ -2719,40 +2723,40 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
2719
2723
  },
2720
2724
  emits: ["sideBarClick"],
2721
2725
  setup(p, { emit: i }) {
2722
- const o = i;
2723
- return (a, n) => (s(), r("div", pr, [
2724
- e("div", fr, [
2725
- e("div", hr, [
2726
- e("nav", yr, [
2727
- a.loading ? (s(), r(x, { key: 1 }, $(5, (l) => e("div", Cr, n[1] || (n[1] = [
2726
+ const l = i;
2727
+ return (a, r) => (s(), n("div", gr, [
2728
+ e("div", mr, [
2729
+ e("div", pr, [
2730
+ e("nav", fr, [
2731
+ a.loading ? (s(), n(x, { key: 1 }, $(5, (o) => e("div", _r, r[1] || (r[1] = [
2728
2732
  e("div", { class: "w-6 h-6 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 mr-4" }, null, -1),
2729
2733
  e("div", { class: "h-3 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 grow" }, null, -1)
2730
- ]))), 64)) : (s(!0), r(x, { key: 0 }, $(a.navigation, (l) => (s(), r(x, {
2731
- key: l.name
2734
+ ]))), 64)) : (s(!0), n(x, { key: 0 }, $(a.navigation, (o) => (s(), n(x, {
2735
+ key: o.name
2732
2736
  }, [
2733
- l.children ? (s(), _(u(ke), {
2737
+ o.children ? (s(), _(u(ke), {
2734
2738
  key: 1,
2735
2739
  as: "div",
2736
2740
  class: "space-y-1"
2737
2741
  }, {
2738
2742
  default: y(({ open: t }) => [
2739
2743
  m(u(E), {
2740
- class: h([l.current ? "bg-indigo-600 text-white" : "text-gray-600 hover:bg-gray-50 hover:text-gray-900", "group w-full flex items-center pl-2 pr-1 py-2 text-left text-sm font-medium rounded-md focus:outline-none"])
2744
+ class: h([o.current ? "bg-indigo-600 text-white" : "text-gray-600 hover:bg-gray-50 hover:text-gray-900", "group w-full flex items-center pl-2 pr-1 py-2 text-left text-sm font-medium rounded-md focus:outline-none"])
2741
2745
  }, {
2742
2746
  default: y(() => [
2743
- l.icon ? (s(), _(j, {
2747
+ o.icon ? (s(), _(j, {
2744
2748
  key: 0,
2745
2749
  loading: a.loading,
2746
- icon: l.icon,
2750
+ icon: o.icon,
2747
2751
  class: h([
2748
- l.current ? "text-white" : "text-gray-400 group-hover:text-gray-500",
2752
+ o.current ? "text-white" : "text-gray-400 group-hover:text-gray-500",
2749
2753
  "mr-3 flex-shrink-0 h-6 w-6"
2750
2754
  ]),
2751
2755
  "aria-hidden": "true"
2752
2756
  }, null, 8, ["loading", "icon", "class"])) : b("", !0),
2753
- a.loading ? (s(), r("div", kr, n[0] || (n[0] = [
2757
+ a.loading ? (s(), n("div", wr, r[0] || (r[0] = [
2754
2758
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, null, -1)
2755
- ]))) : (s(), r("span", xr, g(l.name), 1)),
2759
+ ]))) : (s(), n("span", br, g(o.name), 1)),
2756
2760
  m(u(ee), {
2757
2761
  class: h([t ? "text-black rotate-90" : "text-gray-400", "mr-3 flex-shrink-0 h-3 w-3 transform group-hover:text-gray-400 transition-colors ease-in-out duration-150"])
2758
2762
  }, null, 8, ["class"])
@@ -2761,13 +2765,13 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
2761
2765
  }, 1032, ["class"]),
2762
2766
  m(u(_e), { class: "space-y-1" }, {
2763
2767
  default: y(() => [
2764
- (s(!0), r(x, null, $(l.children, (c) => (s(), _(u(E), {
2765
- onClick: (d) => o("sideBarClick", c.id),
2768
+ (s(!0), n(x, null, $(o.children, (c) => (s(), _(u(E), {
2769
+ onClick: (d) => l("sideBarClick", c.id),
2766
2770
  key: c.name,
2767
2771
  class: h([c.current ? "bg-gray-200" : "hover:text-gray-900 hover:bg-gray-100", "group text-gray-600 w-full flex items-center text-left pl-11 pr-2 py-2 text-sm font-medium rounded-md"])
2768
2772
  }, {
2769
2773
  default: y(() => [
2770
- a.loading ? (s(), r("div", $r)) : (s(), r("span", _r, g(c.name), 1))
2774
+ a.loading ? (s(), n("div", kr)) : (s(), n("span", xr, g(c.name), 1))
2771
2775
  ]),
2772
2776
  _: 2
2773
2777
  }, 1032, ["onClick", "class"]))), 128))
@@ -2776,26 +2780,26 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
2776
2780
  }, 1024)
2777
2781
  ]),
2778
2782
  _: 2
2779
- }, 1024)) : (s(), r("div", vr, [
2783
+ }, 1024)) : (s(), n("div", hr, [
2780
2784
  e("button", {
2781
- onClick: (t) => o("sideBarClick", l.id),
2785
+ onClick: (t) => l("sideBarClick", o.id),
2782
2786
  class: h([
2783
- l.current ? "bg-indigo-600 text-white" : "text-gray-600 hover:bg-gray-50 hover:text-gray-900",
2787
+ o.current ? "bg-indigo-600 text-white" : "text-gray-600 hover:bg-gray-50 hover:text-gray-900",
2784
2788
  "group w-full flex items-center pl-2 py-2 text-sm font-medium rounded-md"
2785
2789
  ])
2786
2790
  }, [
2787
- l.icon ? (s(), _(j, {
2791
+ o.icon ? (s(), _(j, {
2788
2792
  key: 0,
2789
2793
  loading: a.loading,
2790
- icon: l.icon,
2794
+ icon: o.icon,
2791
2795
  class: h([
2792
- l.current ? "text-white" : "text-gray-400 group-hover:text-gray-500",
2796
+ o.current ? "text-white" : "text-gray-400 group-hover:text-gray-500",
2793
2797
  "mr-3 flex-shrink-0 h-6 w-6"
2794
2798
  ]),
2795
2799
  "aria-hidden": "true"
2796
2800
  }, null, 8, ["loading", "icon", "class"])) : b("", !0),
2797
- a.loading ? b("", !0) : (s(), r("span", wr, g(l.name), 1))
2798
- ], 10, br)
2801
+ a.loading ? b("", !0) : (s(), n("span", vr, g(o.name), 1))
2802
+ ], 10, yr)
2799
2803
  ]))
2800
2804
  ], 64))), 128))
2801
2805
  ])
@@ -2803,10 +2807,10 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
2803
2807
  ])
2804
2808
  ]));
2805
2809
  }
2806
- }), Br = { key: 0 }, Mr = { class: "ml-16 text-sm font-medium text-gray-500 truncate" }, Dr = { class: "ml-16 flex items-baseline pb-5" }, jr = { class: "text-2xl font-semibold text-gray-900" }, Tr = {
2810
+ }), Cr = { key: 0 }, Sr = { class: "ml-16 text-sm font-medium text-gray-500 truncate" }, Br = { class: "ml-16 flex items-baseline pb-5" }, Mr = { class: "text-2xl font-semibold text-gray-900" }, Dr = {
2807
2811
  key: 0,
2808
2812
  class: "text-black ml-2 flex items-baseline text-sm font-semibold"
2809
- }, zr = { class: "absolute bottom-0 inset-x-0 bg-gray-50 px-4 py-4 sm:px-6" }, Lr = { class: "text-sm" }, Nr = { key: 1 }, Ar = { class: "relative bg-white pt-5 px-4 sm:pt-6 sm:px-6 shadow rounded-lg overflow-hidden h-full pb-6" }, Yr = { class: "absolute bg-gray-200 rounded-md p-3 animate-pulse" }, Qe = /* @__PURE__ */ B({
2813
+ }, jr = { class: "absolute bottom-0 inset-x-0 bg-gray-50 px-4 py-4 sm:px-6" }, Tr = { class: "text-sm" }, zr = { key: 1 }, Lr = { 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" }, Qe = /* @__PURE__ */ M({
2810
2814
  __name: "uiStats",
2811
2815
  props: {
2812
2816
  item: {},
@@ -2814,13 +2818,13 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
2814
2818
  },
2815
2819
  emits: ["statClick"],
2816
2820
  setup(p, { emit: i }) {
2817
- return (o, a) => o.loading ? (s(), r("div", Nr, [
2818
- e("div", Ar, [
2821
+ return (l, a) => l.loading ? (s(), n("div", zr, [
2822
+ e("div", Lr, [
2819
2823
  e("dt", null, [
2820
- e("div", Yr, [
2824
+ e("div", Nr, [
2821
2825
  m(j, {
2822
- loading: o.loading,
2823
- icon: o.item.icon,
2826
+ loading: l.loading,
2827
+ icon: l.item.icon,
2824
2828
  class: "h-6 w-6 text-white",
2825
2829
  "aria-hidden": "true"
2826
2830
  }, null, 8, ["loading", "icon"])
@@ -2833,82 +2837,82 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
2833
2837
  ], -1))
2834
2838
  ])
2835
2839
  ])
2836
- ])) : (s(), r("div", Br, [
2840
+ ])) : (s(), n("div", Cr, [
2837
2841
  e("div", {
2838
- class: h(["relative bg-white pt-5 px-4 sm:pt-6 sm:px-6 shadow rounded-lg overflow-hidden h-full", { "pb-12": o.item.showFooter }])
2842
+ class: h(["relative bg-white pt-5 px-4 sm:pt-6 sm:px-6 shadow rounded-lg overflow-hidden h-full", { "pb-12": l.item.showFooter }])
2839
2843
  }, [
2840
2844
  e("dt", null, [
2841
2845
  e("div", {
2842
2846
  class: h(["absolute rounded-md p-3", {
2843
- "bg-indigo-500": !o.item.color,
2844
- "bg-green-500": o.item.color === "green",
2845
- "bg-red-500": o.item.color === "red",
2846
- "bg-yellow-500": o.item.color === "yellow",
2847
- "bg-cyan-300": o.item.color === "secondary"
2847
+ "bg-indigo-500": !l.item.color,
2848
+ "bg-green-500": l.item.color === "green",
2849
+ "bg-red-500": l.item.color === "red",
2850
+ "bg-yellow-500": l.item.color === "yellow",
2851
+ "bg-cyan-300": l.item.color === "secondary"
2848
2852
  }])
2849
2853
  }, [
2850
2854
  m(j, {
2851
- icon: o.item.icon,
2855
+ icon: l.item.icon,
2852
2856
  class: "h-6 w-6 text-white",
2853
2857
  "aria-hidden": "true",
2854
- loading: o.loading
2858
+ loading: l.loading
2855
2859
  }, null, 8, ["icon", "loading"])
2856
2860
  ], 2),
2857
- e("p", Mr, g(o.item.name), 1)
2861
+ e("p", Sr, g(l.item.name), 1)
2858
2862
  ]),
2859
- e("dd", Dr, [
2860
- e("p", jr, g(o.item.stat), 1),
2861
- o.item.explanation ? (s(), r("p", Tr, g(o.item.explanation), 1)) : b("", !0),
2862
- o.item.changeType ? (s(), r("p", {
2863
+ e("dd", Br, [
2864
+ e("p", Mr, g(l.item.stat), 1),
2865
+ l.item.explanation ? (s(), n("p", Dr, g(l.item.explanation), 1)) : b("", !0),
2866
+ l.item.changeType ? (s(), n("p", {
2863
2867
  key: 1,
2864
2868
  class: h([
2865
2869
  {
2866
- "text-green-600": o.item.changeType === "increase",
2867
- "text-red-600": o.item.changeType === "decrease",
2868
- "text-black": o.item.changeType === "neutral"
2870
+ "text-green-600": l.item.changeType === "increase",
2871
+ "text-red-600": l.item.changeType === "decrease",
2872
+ "text-black": l.item.changeType === "neutral"
2869
2873
  },
2870
2874
  "ml-2 flex items-baseline text-sm font-semibold"
2871
2875
  ])
2872
2876
  }, [
2873
- o.item.changeType === "increase" ? (s(), _(u(vt), {
2877
+ l.item.changeType === "increase" ? (s(), _(u(vt), {
2874
2878
  key: 0,
2875
2879
  class: "self-center flex-shrink-0 h-3 w-3 text-green-500",
2876
2880
  "aria-hidden": "true"
2877
2881
  })) : b("", !0),
2878
- o.item.changeType === "decrease" ? (s(), _(u(ht), {
2882
+ l.item.changeType === "decrease" ? (s(), _(u(ht), {
2879
2883
  key: 1,
2880
2884
  class: "self-center flex-shrink-0 h-3 w-3 text-red-500",
2881
2885
  "aria-hidden": "true"
2882
2886
  })) : b("", !0),
2883
- z(" " + g(o.item.change), 1)
2887
+ z(" " + g(l.item.change), 1)
2884
2888
  ], 2)) : b("", !0),
2885
- C(e("div", zr, [
2886
- e("div", Lr, [
2889
+ C(e("div", jr, [
2890
+ e("div", Tr, [
2887
2891
  e("span", {
2888
- onClick: a[0] || (a[0] = (n) => o.$emit("statClick", o.item.id)),
2892
+ onClick: a[0] || (a[0] = (r) => l.$emit("statClick", l.item.id)),
2889
2893
  class: "font-medium text-indigo-600 hover:text-indigo-500 cursor-pointer"
2890
- }, g(o.item.actionText), 1)
2894
+ }, g(l.item.actionText), 1)
2891
2895
  ])
2892
2896
  ], 512), [
2893
- [D, o.item.showFooter]
2897
+ [D, l.item.showFooter]
2894
2898
  ])
2895
2899
  ])
2896
2900
  ], 2)
2897
2901
  ]));
2898
2902
  }
2899
- }), Or = {
2903
+ }), Ar = {
2900
2904
  key: 0,
2901
2905
  class: "overflow-hidden bg-white shadow sm:rounded-lg"
2902
- }, Ir = { class: "px-4 py-5 sm:px-6" }, Pr = { class: "text-lg font-medium leading-6 text-gray-900" }, Vr = { class: "mt-1 max-w-2xl text-sm text-gray-500" }, Fr = { class: "border-t border-gray-200" }, qr = { class: "text-sm font-medium text-gray-500" }, Rr = {
2906
+ }, Yr = { class: "px-4 py-5 sm:px-6" }, Or = { class: "text-lg font-medium leading-6 text-gray-900" }, Ir = { class: "mt-1 max-w-2xl text-sm text-gray-500" }, Pr = { class: "border-t border-gray-200" }, Vr = { class: "text-sm font-medium text-gray-500" }, Fr = {
2903
2907
  key: 0,
2904
2908
  class: "mt-1 text-sm text-gray-900 sm:col-span-2 sm:mt-0 break-normal"
2905
- }, Hr = ["onClick"], Ur = {
2909
+ }, qr = ["onClick"], Rr = {
2906
2910
  key: 2,
2907
2911
  class: "mt-1 text-sm text-gray-900 sm:col-span-2 sm:mt-0 break-words"
2908
- }, Er = {
2912
+ }, Hr = {
2909
2913
  key: 1,
2910
2914
  class: "overflow-hidden bg-white shadow sm:rounded-lg"
2911
- }, Zr = { class: "border-t border-gray-200" }, Jr = /* @__PURE__ */ B({
2915
+ }, Ur = { class: "border-t border-gray-200" }, Er = /* @__PURE__ */ M({
2912
2916
  __name: "uiStripedCard",
2913
2917
  props: {
2914
2918
  title: {},
@@ -2918,13 +2922,13 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
2918
2922
  },
2919
2923
  emits: ["itemClicked"],
2920
2924
  setup(p, { emit: i }) {
2921
- return (o, a) => o.loading ? (s(), r("div", Er, [
2925
+ return (l, a) => l.loading ? (s(), n("div", Hr, [
2922
2926
  a[1] || (a[1] = Q('<div class="px-4 py-5 sm:px-6 animate-pulse"><h3 class="text-lg font-medium leading-6 text-gray-900"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4"></div></h3><div class="mt-1 max-w-2xl text-sm text-gray-500"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-2/5"></div></div></div>', 1)),
2923
- e("div", Zr, [
2927
+ e("div", Ur, [
2924
2928
  e("dl", null, [
2925
- (s(), r(x, null, $(5, (n) => e("div", {
2926
- key: n,
2927
- class: h(["px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6", [n % 2 === 0 ? "bg-gray-50" : "bg-white"]])
2929
+ (s(), n(x, null, $(5, (r) => e("div", {
2930
+ key: r,
2931
+ class: h(["px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6", [r % 2 === 0 ? "bg-gray-50" : "bg-white"]])
2928
2932
  }, a[0] || (a[0] = [
2929
2933
  e("dt", { class: "text-sm font-medium text-gray-500" }, [
2930
2934
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-12" })
@@ -2935,21 +2939,21 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
2935
2939
  ]), 2)), 64))
2936
2940
  ])
2937
2941
  ])
2938
- ])) : (s(), r("div", Or, [
2939
- e("div", Ir, [
2940
- e("h3", Pr, g(o.title), 1),
2941
- e("p", Vr, g(o.subtitle), 1)
2942
+ ])) : (s(), n("div", Ar, [
2943
+ e("div", Yr, [
2944
+ e("h3", Or, g(l.title), 1),
2945
+ e("p", Ir, g(l.subtitle), 1)
2942
2946
  ]),
2943
- e("div", Fr, [
2947
+ e("div", Pr, [
2944
2948
  e("dl", null, [
2945
- (s(!0), r(x, null, $(o.items, (n, l) => (s(), r("div", {
2946
- key: l,
2947
- class: h(["px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6", [l % 2 === 0 ? "bg-gray-50" : "bg-white"]])
2949
+ (s(!0), n(x, null, $(l.items, (r, o) => (s(), n("div", {
2950
+ key: o,
2951
+ class: h(["px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6", [o % 2 === 0 ? "bg-gray-50" : "bg-white"]])
2948
2952
  }, [
2949
- e("dt", qr, g(n.title), 1),
2950
- n.type === "tags" ? (s(), r("dd", Rr, [
2951
- (s(!0), r(x, null, $(n.tags, (t, c) => (s(), _(H, {
2952
- loading: o.loading,
2953
+ e("dt", Vr, g(r.title), 1),
2954
+ r.type === "tags" ? (s(), n("dd", Fr, [
2955
+ (s(!0), n(x, null, $(r.tags, (t, c) => (s(), _(H, {
2956
+ loading: l.loading,
2953
2957
  key: c,
2954
2958
  color: t.color,
2955
2959
  class: "mr-2 mb-2"
@@ -2959,17 +2963,17 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
2959
2963
  ]),
2960
2964
  _: 2
2961
2965
  }, 1032, ["loading", "color"]))), 128))
2962
- ])) : n.type === "link" ? (s(), r("dd", {
2966
+ ])) : r.type === "link" ? (s(), n("dd", {
2963
2967
  key: 1,
2964
2968
  class: "mt-1 text-sm text-indigo-600 hover:text-indigo-400 sm:col-span-2 sm:mt-0 cursor-pointer",
2965
- onClick: (t) => o.$emit("itemClicked", n.emits)
2966
- }, g(n.text), 9, Hr)) : (s(), r("dd", Ur, g(n.text), 1))
2969
+ onClick: (t) => l.$emit("itemClicked", r.emits)
2970
+ }, g(r.text), 9, qr)) : (s(), n("dd", Rr, g(r.text), 1))
2967
2971
  ], 2))), 128))
2968
2972
  ])
2969
2973
  ])
2970
2974
  ]));
2971
2975
  }
2972
- }), Wr = { class: "absolute top-10 bg-indigo-600 text-white text-xs p-2 rounded z-10 font-light w-60 flex flex-row items-start" }, Gr = { class: "ml-2" }, Qr = {
2976
+ }), Zr = { class: "absolute top-10 bg-indigo-600 text-white text-xs p-2 rounded z-10 font-light w-60 flex flex-row items-start" }, Jr = { class: "ml-2" }, Wr = {
2973
2977
  __name: "tooltip",
2974
2978
  props: {
2975
2979
  tip: {
@@ -2978,8 +2982,8 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
2978
2982
  }
2979
2983
  },
2980
2984
  setup(p) {
2981
- return (i, o) => (s(), r("div", Wr, [
2982
- o[0] || (o[0] = e("svg", {
2985
+ return (i, l) => (s(), n("div", Zr, [
2986
+ l[0] || (l[0] = e("svg", {
2983
2987
  class: "absolute -top-3 left-0",
2984
2988
  xmlns: "http://www.w3.org/2000/svg",
2985
2989
  width: "27.687",
@@ -3002,19 +3006,19 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
3002
3006
  size: "big"
3003
3007
  }, null, 8, ["icon"])
3004
3008
  ]),
3005
- e("span", Gr, g(p.tip), 1)
3009
+ e("span", Jr, g(p.tip), 1)
3006
3010
  ]));
3007
3011
  }
3008
- }, Kr = { key: 0 }, Xr = { class: "flex flex-col" }, en = { class: "-my-2 overflow-x-auto" }, tn = { class: "inline-block min-w-full py-2 align-middle px-1" }, sn = { class: "relative overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg" }, on = {
3012
+ }, Gr = { key: 0 }, Qr = { class: "flex flex-col" }, Kr = { class: "-my-2 overflow-x-auto" }, Xr = { class: "inline-block min-w-full py-2 align-middle px-1" }, en = { class: "relative overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg" }, tn = {
3009
3013
  key: 0,
3010
3014
  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"
3011
- }, ln = ["onClick"], rn = { class: "min-w-full table-fixed divide-y divide-gray-300" }, nn = { class: "bg-gray-50" }, an = ["checked", "indeterminate"], dn = ["onMouseover", "onMouseleave"], un = ["onClick"], cn = {
3015
+ }, sn = ["onClick"], on = { class: "min-w-full table-fixed divide-y divide-gray-300" }, ln = { class: "bg-gray-50" }, rn = ["checked", "indeterminate"], nn = ["onMouseover", "onMouseleave"], an = ["onClick"], dn = {
3012
3016
  key: 2,
3013
3017
  class: "group flex items-center uppercase text-xs"
3014
- }, gn = { class: "divide-y divide-gray-200 bg-white" }, mn = {
3018
+ }, un = { class: "divide-y divide-gray-200 bg-white" }, cn = {
3015
3019
  key: 0,
3016
3020
  class: "absolute inset-y-0 left-0 w-0.5 bg-indigo-600"
3017
- }, pn = ["value"], fn = ["onClick"], hn = ["href"], yn = { key: 3 }, vn = /* @__PURE__ */ B({
3021
+ }, gn = ["value"], mn = ["onClick"], pn = ["href"], fn = { key: 3 }, hn = /* @__PURE__ */ M({
3018
3022
  __name: "uiTable",
3019
3023
  props: {
3020
3024
  resetSelected: { type: Boolean, default: !1 },
@@ -3027,66 +3031,66 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
3027
3031
  },
3028
3032
  emits: ["tableAction", "orderBy", "customEmit", "selectedItemsDeleted"],
3029
3033
  setup(p, { emit: i }) {
3030
- let o = N([]), a = N(""), n = N(!1);
3031
- const l = i, t = p, c = V(
3032
- () => o.value.length > 0 && o.value.length < t.items.length
3034
+ let l = N([]), a = N(""), r = N(!1);
3035
+ const o = i, t = p, c = V(
3036
+ () => l.value.length > 0 && l.value.length < t.items.length
3033
3037
  ), d = (k, O) => {
3034
3038
  a.value !== k && O && (a.value = k), O || (a.value = void 0);
3035
3039
  }, f = (k) => {
3036
- o.value = k.target.checked ? t.items.map((O) => O.id) : [];
3040
+ l.value = k.target.checked ? t.items.map((O) => O.id) : [];
3037
3041
  }, v = (k) => {
3038
- l("customEmit", k);
3042
+ o("customEmit", k);
3039
3043
  };
3040
3044
  return R(() => t.resetSelected, (k) => {
3041
- n.value = k, k && n.value && (o.value = [], n.value = !k, l("selectedItemsDeleted"));
3045
+ r.value = k, k && r.value && (l.value = [], r.value = !k, o("selectedItemsDeleted"));
3042
3046
  }), (k, O) => {
3043
- var A, M;
3044
- return k.loading ? (s(), _(Ge, { key: 1 })) : (s(), r("div", Kr, [
3045
- e("div", Xr, [
3046
- e("div", en, [
3047
- e("div", tn, [
3048
- e("div", sn, [
3049
- ((A = u(o)) == null ? void 0 : A.length) > 0 && ((M = k.actions) == null ? void 0 : M.length) > 0 ? (s(), r("div", on, [
3050
- (s(!0), r(x, null, $(k.actions, (S, P) => (s(), r("button", {
3051
- onClick: (w) => k.$emit("tableAction", { action: S.id, items: u(o) }),
3047
+ var A, B;
3048
+ return k.loading ? (s(), _(Ge, { key: 1 })) : (s(), n("div", Gr, [
3049
+ e("div", Qr, [
3050
+ e("div", Kr, [
3051
+ e("div", Xr, [
3052
+ e("div", en, [
3053
+ ((A = u(l)) == null ? void 0 : A.length) > 0 && ((B = k.actions) == null ? void 0 : B.length) > 0 ? (s(), n("div", tn, [
3054
+ (s(!0), n(x, null, $(k.actions, (S, P) => (s(), n("button", {
3055
+ onClick: (w) => k.$emit("tableAction", { action: S.id, items: u(l) }),
3052
3056
  key: P,
3053
3057
  type: "button",
3054
3058
  class: "inline-flex items-center rounded bg-indigo-600 hover:bg-indigo-800 px-2.5 py-1.5 text-xs font-medium text-white shadow-sm disabled:cursor-not-allowed disabled:opacity-30"
3055
- }, g(S.name), 9, ln))), 128))
3059
+ }, g(S.name), 9, sn))), 128))
3056
3060
  ])) : b("", !0),
3057
- e("table", rn, [
3058
- e("thead", nn, [
3061
+ e("table", on, [
3062
+ e("thead", ln, [
3059
3063
  e("tr", null, [
3060
3064
  e("th", {
3061
3065
  scope: "col",
3062
3066
  class: h([k.actions ? "px-6 sm:px-8" : "px-3", "relative"])
3063
3067
  }, [
3064
- k.actions ? (s(), r("input", {
3068
+ k.actions ? (s(), n("input", {
3065
3069
  key: 0,
3066
- checked: c.value || u(o).length === k.items.length,
3070
+ checked: c.value || u(l).length === k.items.length,
3067
3071
  indeterminate: c.value,
3068
3072
  class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500",
3069
3073
  type: "checkbox",
3070
3074
  onChange: f
3071
- }, null, 40, an)) : b("", !0)
3075
+ }, null, 40, rn)) : b("", !0)
3072
3076
  ], 2),
3073
- (s(!0), r(x, null, $(k.header, (S, P) => (s(), r("th", {
3077
+ (s(!0), n(x, null, $(k.header, (S, P) => (s(), n("th", {
3074
3078
  key: P,
3075
3079
  class: "py-3.5 pr-3 text-left font-semibold text-gray-900 relative",
3076
3080
  scope: "col",
3077
3081
  onMouseover: (w) => d(S.name, !0),
3078
3082
  onMouseleave: (w) => d(S.name, !1)
3079
3083
  }, [
3080
- S.tooltip ? C((s(), _(Qr, {
3084
+ S.tooltip ? C((s(), _(Wr, {
3081
3085
  key: 0,
3082
3086
  tip: S.tooltip
3083
3087
  }, null, 8, ["tip"])), [
3084
3088
  [D, u(a) === S.name]
3085
3089
  ]) : b("", !0),
3086
- S.value ? (s(), r("button", {
3090
+ S.value ? (s(), n("button", {
3087
3091
  key: 1,
3088
3092
  class: "group flex items-center uppercase text-xs relative text-nowrap",
3089
- onClick: (w) => l("orderBy", { value: S.value, orderDirection: k.orderDirection === "asc" ? "desc" : "asc" })
3093
+ onClick: (w) => o("orderBy", { value: S.value, orderDirection: k.orderDirection === "asc" ? "desc" : "asc" })
3090
3094
  }, [
3091
3095
  e("span", null, g(S.name), 1),
3092
3096
  e("span", {
@@ -3100,41 +3104,41 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
3100
3104
  color: S.value === k.orderedBy ? "white" : "primary"
3101
3105
  }, null, 8, ["icon", "loading", "color"])
3102
3106
  ], 2)
3103
- ], 8, un)) : (s(), r("p", cn, [
3107
+ ], 8, an)) : (s(), n("p", dn, [
3104
3108
  e("span", null, g(S.name), 1)
3105
3109
  ]))
3106
- ], 40, dn))), 128))
3110
+ ], 40, nn))), 128))
3107
3111
  ])
3108
3112
  ]),
3109
- e("tbody", gn, [
3110
- (s(!0), r(x, null, $(k.items, (S, P) => {
3113
+ e("tbody", un, [
3114
+ (s(!0), n(x, null, $(k.items, (S, P) => {
3111
3115
  var w, I;
3112
- return s(), r("tr", {
3116
+ return s(), n("tr", {
3113
3117
  key: S.id,
3114
3118
  class: h([
3115
- u(o).includes(S.id) && "bg-gray-50",
3119
+ u(l).includes(S.id) && "bg-gray-50",
3116
3120
  P % 2 === 0 ? void 0 : "bg-gray-50"
3117
3121
  ])
3118
3122
  }, [
3119
3123
  e("td", {
3120
3124
  class: h([((w = k.actions) == null ? void 0 : w.length) > 0 ? "w-2" : "w-0", "relative"])
3121
3125
  }, [
3122
- u(o).includes(S.id) ? (s(), r("div", mn)) : b("", !0),
3123
- ((I = k.actions) == null ? void 0 : I.length) > 0 ? C((s(), r("input", {
3126
+ u(l).includes(S.id) ? (s(), n("div", cn)) : b("", !0),
3127
+ ((I = k.actions) == null ? void 0 : I.length) > 0 ? C((s(), n("input", {
3124
3128
  key: 1,
3125
- "onUpdate:modelValue": O[0] || (O[0] = (Y) => Ye(o) ? o.value = Y : o = Y),
3129
+ "onUpdate:modelValue": O[0] || (O[0] = (Y) => Ye(l) ? l.value = Y : l = Y),
3126
3130
  value: S.id,
3127
3131
  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",
3128
3132
  type: "checkbox"
3129
- }, null, 8, pn)), [
3130
- [Ae, u(o)]
3133
+ }, null, 8, gn)), [
3134
+ [Ae, u(l)]
3131
3135
  ]) : b("", !0)
3132
3136
  ], 2),
3133
- (s(!0), r(x, null, $(S.row, (Y, se) => (s(), r("td", {
3137
+ (s(!0), n(x, null, $(S.row, (Y, se) => (s(), n("td", {
3134
3138
  key: se,
3135
3139
  class: h([
3136
3140
  "whitespace-nowrap py-4 pr-3 text-sm",
3137
- u(o).includes(S.id) ? "text-indigo-600" : "text-gray-900"
3141
+ u(l).includes(S.id) ? "text-indigo-600" : "text-gray-900"
3138
3142
  ])
3139
3143
  }, [
3140
3144
  typeof Y == "object" && Y.type === "tag" ? (s(), _(H, {
@@ -3146,15 +3150,15 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
3146
3150
  z(g(Y.content), 1)
3147
3151
  ]),
3148
3152
  _: 2
3149
- }, 1032, ["loading", "color"])) : typeof Y == "object" && Y.type === "link" ? (s(), r("span", {
3153
+ }, 1032, ["loading", "color"])) : typeof Y == "object" && Y.type === "link" ? (s(), n("span", {
3150
3154
  key: 1,
3151
3155
  class: "text-indigo-600 hover:text-indigo-400 cursor-pointer",
3152
3156
  onClick: (L) => v(Y)
3153
- }, g(Y.content), 9, fn)) : typeof Y == "object" && Y.type === "href" ? (s(), r("a", {
3157
+ }, g(Y.content), 9, mn)) : typeof Y == "object" && Y.type === "href" ? (s(), n("a", {
3154
3158
  key: 2,
3155
3159
  class: "text-indigo-600 hover:text-indigo-400 cursor-pointer",
3156
3160
  href: Y.href
3157
- }, g(Y.content), 9, hn)) : (s(), r("span", yn, g(Y), 1))
3161
+ }, g(Y.content), 9, pn)) : (s(), n("span", fn, g(Y), 1))
3158
3162
  ], 2))), 128))
3159
3163
  ], 2);
3160
3164
  }), 128))
@@ -3167,40 +3171,40 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
3167
3171
  ]));
3168
3172
  };
3169
3173
  }
3170
- }), bn = { class: "lg:hidden" }, wn = ["value"], xn = { class: "hidden lg:block" }, kn = { class: "border-b border-gray-200" }, _n = {
3174
+ }), yn = { class: "lg:hidden" }, vn = ["value"], bn = { class: "hidden lg:block" }, wn = { class: "border-b border-gray-200" }, xn = {
3171
3175
  class: "-mb-px flex space-x-8",
3172
3176
  "aria-label": "Tabs"
3173
- }, $n = ["onClick", "aria-current"], Cn = /* @__PURE__ */ B({
3177
+ }, kn = ["onClick", "aria-current"], _n = /* @__PURE__ */ M({
3174
3178
  __name: "uiTabs",
3175
3179
  props: {
3176
3180
  tabs: {}
3177
3181
  },
3178
3182
  emits: ["tabClicked"],
3179
3183
  setup(p, { emit: i }) {
3180
- const o = i, a = (n) => {
3181
- const l = n.target;
3182
- l.value && o("tabClicked", l.value);
3184
+ const l = i, a = (r) => {
3185
+ const o = r.target;
3186
+ o.value && l("tabClicked", o.value);
3183
3187
  };
3184
- return (n, l) => (s(), r("div", null, [
3185
- e("div", bn, [
3188
+ return (r, o) => (s(), n("div", null, [
3189
+ e("div", yn, [
3186
3190
  e("select", {
3187
- onChange: l[0] || (l[0] = (t) => a(t)),
3191
+ onChange: o[0] || (o[0] = (t) => a(t)),
3188
3192
  id: "tabs",
3189
3193
  name: "tabs",
3190
3194
  class: "block w-full rounded-md border-gray-300 py-2 pl-3 pr-10 text-base focus:border-indigo-500 focus:outline-none focus:ring-indigo-500 sm:text-sm"
3191
3195
  }, [
3192
- (s(!0), r(x, null, $(n.tabs, (t) => (s(), r("option", {
3196
+ (s(!0), n(x, null, $(r.tabs, (t) => (s(), n("option", {
3193
3197
  value: t.id,
3194
3198
  key: t.name
3195
- }, g(t.name), 9, wn))), 128))
3199
+ }, g(t.name), 9, vn))), 128))
3196
3200
  ], 32)
3197
3201
  ]),
3198
- e("div", xn, [
3199
- e("div", kn, [
3200
- e("nav", _n, [
3201
- (s(!0), r(x, null, $(n.tabs, (t) => (s(), r("a", {
3202
+ e("div", bn, [
3203
+ e("div", wn, [
3204
+ e("nav", xn, [
3205
+ (s(!0), n(x, null, $(r.tabs, (t) => (s(), n("a", {
3202
3206
  key: t.name,
3203
- onClick: (c) => o("tabClicked", t.id),
3207
+ onClick: (c) => l("tabClicked", t.id),
3204
3208
  class: h([
3205
3209
  t.current ? "border-indigo-500 text-indigo-600" : "border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-200",
3206
3210
  "whitespace-nowrap flex py-4 px-1 border-b-2 font-medium text-sm cursor-pointer"
@@ -3208,43 +3212,43 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
3208
3212
  "aria-current": t.current ? "page" : void 0
3209
3213
  }, [
3210
3214
  z(g(t.name) + " ", 1),
3211
- t.count ? (s(), r("span", {
3215
+ t.count ? (s(), n("span", {
3212
3216
  key: 0,
3213
3217
  class: h([
3214
3218
  t.current ? "bg-indigo-100 text-indigo-600" : "bg-gray-100 text-gray-900",
3215
3219
  "hidden ml-3 py-0.5 px-2.5 rounded-full text-xs font-medium md:inline-block"
3216
3220
  ])
3217
3221
  }, g(t.count), 3)) : b("", !0)
3218
- ], 10, $n))), 128))
3222
+ ], 10, kn))), 128))
3219
3223
  ])
3220
3224
  ])
3221
3225
  ])
3222
3226
  ]));
3223
3227
  }
3224
- }), Sn = { class: "px-4 py-5 sm:px-6" }, Bn = { class: "text-xl font-bold" }, Mn = {
3228
+ }), $n = { class: "px-4 py-5 sm:px-6" }, Cn = { class: "text-xl font-bold" }, Sn = {
3225
3229
  key: 0,
3226
3230
  class: "px-4 py-5 sm:p-6"
3227
- }, Dn = { class: "flow-root" }, jn = { class: "relative pb-8" }, Tn = {
3231
+ }, Bn = { class: "flow-root" }, Mn = { class: "relative pb-8" }, Dn = {
3228
3232
  key: 0,
3229
3233
  class: "absolute left-4 top-4 -ml-px h-full w-0.5 bg-gray-200",
3230
3234
  "aria-hidden": "true"
3231
- }, zn = { class: "relative flex space-x-3" }, Ln = { class: "min-w-0 flex-1 pt-1.5 flex justify-between space-x-4 items-center" }, Nn = { class: "text-sm text-gray-500" }, An = ["onClick"], Yn = { class: "text-right text-sm whitespace-nowrap text-gray-500" }, On = ["datetime"], In = {
3235
+ }, jn = { class: "relative flex space-x-3" }, Tn = { class: "min-w-0 flex-1 pt-1.5 flex justify-between space-x-4 items-center" }, zn = { class: "text-sm text-gray-500" }, Ln = ["onClick"], Nn = { class: "text-right text-sm whitespace-nowrap text-gray-500" }, An = ["datetime"], Yn = {
3232
3236
  key: 1,
3233
3237
  class: "bg-gray-50 px-4 py-4 sm:px-6 z-10"
3234
- }, Pn = { class: "text-sm" }, Vn = {
3238
+ }, On = { class: "text-sm" }, In = {
3235
3239
  key: 2,
3236
3240
  class: "h-full w-full flex items-center justify-center flex-col mb-5"
3237
- }, Fn = {
3241
+ }, Pn = {
3238
3242
  key: 1,
3239
3243
  class: "bg-white overflow-hidden shadow rounded-lg"
3240
- }, qn = { class: "px-4 py-5 sm:p-6 animate-pulse" }, Rn = { class: "flow-root" }, Hn = {
3244
+ }, Vn = { class: "px-4 py-5 sm:p-6 animate-pulse" }, Fn = { class: "flow-root" }, qn = {
3241
3245
  class: "-mb-8",
3242
3246
  role: "list"
3243
- }, Un = { class: "relative pb-8" }, En = {
3247
+ }, Rn = { class: "relative pb-8" }, Hn = {
3244
3248
  key: 0,
3245
3249
  class: "absolute left-4 top-4 -ml-px h-full w-0.5 bg-gray-200",
3246
3250
  "aria-hidden": "true"
3247
- }, Zn = /* @__PURE__ */ B({
3251
+ }, Un = /* @__PURE__ */ M({
3248
3252
  __name: "uiTimeline",
3249
3253
  props: {
3250
3254
  name: {},
@@ -3256,56 +3260,56 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
3256
3260
  emits: ["timelineEventClicked", "timelineFooterClicked"],
3257
3261
  setup(p, { emit: i }) {
3258
3262
  const a = ce(p.timeline);
3259
- return (n, l) => n.loading ? (s(), r("div", Fn, [
3260
- l[3] || (l[3] = e("div", { class: "px-4 py-5 sm:px-6 animate-pulse" }, [
3263
+ return (r, o) => r.loading ? (s(), n("div", Pn, [
3264
+ o[3] || (o[3] = e("div", { class: "px-4 py-5 sm:px-6 animate-pulse" }, [
3261
3265
  e("h1", { class: "text-xl font-bold" }, [
3262
3266
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4" })
3263
3267
  ])
3264
3268
  ], -1)),
3265
- e("div", qn, [
3266
- e("div", Rn, [
3267
- e("ul", Hn, [
3268
- (s(), r(x, null, $(10, (t, c) => e("li", { key: c }, [
3269
- e("div", Un, [
3270
- t !== 10 ? (s(), r("span", En)) : b("", !0),
3271
- l[2] || (l[2] = Q('<div class="relative flex space-x-3"><div><span class="h-8 w-8 rounded-full bg-gray-300 flex items-center justify-center ring-4 ring-white"></span></div><div class="min-w-0 flex-1 pt-1.5 flex justify-between space-x-4 items-center"><div><div class="text-sm text-gray-500 flex-1"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full"></div></div></div><div class="text-right text-sm whitespace-nowrap text-gray-500 flex-1"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4"></div></div></div></div>', 1))
3269
+ e("div", Vn, [
3270
+ e("div", Fn, [
3271
+ e("ul", qn, [
3272
+ (s(), n(x, null, $(10, (t, c) => e("li", { key: c }, [
3273
+ e("div", Rn, [
3274
+ t !== 10 ? (s(), n("span", Hn)) : b("", !0),
3275
+ o[2] || (o[2] = Q('<div class="relative flex space-x-3"><div><span class="h-8 w-8 rounded-full bg-gray-300 flex items-center justify-center ring-4 ring-white"></span></div><div class="min-w-0 flex-1 pt-1.5 flex justify-between space-x-4 items-center"><div><div class="text-sm text-gray-500 flex-1"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full"></div></div></div><div class="text-right text-sm whitespace-nowrap text-gray-500 flex-1"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4"></div></div></div></div>', 1))
3272
3276
  ])
3273
3277
  ])), 64))
3274
3278
  ])
3275
3279
  ])
3276
3280
  ]),
3277
- l[4] || (l[4] = e("div", { class: "bg-gray-50 px-4 py-4 sm:px-6 z-10 animate-pulse" }, [
3281
+ o[4] || (o[4] = e("div", { class: "bg-gray-50 px-4 py-4 sm:px-6 z-10 animate-pulse" }, [
3278
3282
  e("div", { class: "text-sm" }, [
3279
3283
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4" })
3280
3284
  ])
3281
3285
  ], -1))
3282
- ])) : (s(), r("div", {
3286
+ ])) : (s(), n("div", {
3283
3287
  key: 0,
3284
- class: h(["h-[" + n.height + "px]", "bg-white overflow-hidden shadow rounded-lg"])
3288
+ class: h(["h-[" + r.height + "px]", "bg-white overflow-hidden shadow rounded-lg"])
3285
3289
  }, [
3286
- e("div", Sn, [
3287
- e("h1", Bn, g(n.name), 1)
3290
+ e("div", $n, [
3291
+ e("h1", Cn, g(r.name), 1)
3288
3292
  ]),
3289
- a.items ? (s(), r("div", Mn, [
3290
- e("div", Dn, [
3293
+ a.items ? (s(), n("div", Sn, [
3294
+ e("div", Bn, [
3291
3295
  m(et, {
3292
3296
  name: "list",
3293
3297
  tag: "ul",
3294
3298
  class: "-mb-8"
3295
3299
  }, {
3296
3300
  default: y(() => [
3297
- (s(!0), r(x, null, $(a.items, (t, c) => {
3301
+ (s(!0), n(x, null, $(a.items, (t, c) => {
3298
3302
  var d;
3299
- return s(), r("li", { key: c }, [
3300
- e("div", jn, [
3301
- c < ((d = a.items) == null ? void 0 : d.length) - 1 ? (s(), r("span", Tn)) : b("", !0),
3302
- e("div", zn, [
3303
+ return s(), n("li", { key: c }, [
3304
+ e("div", Mn, [
3305
+ c < ((d = a.items) == null ? void 0 : d.length) - 1 ? (s(), n("span", Dn)) : b("", !0),
3306
+ e("div", jn, [
3303
3307
  e("div", null, [
3304
3308
  e("span", {
3305
3309
  class: h([(t == null ? void 0 : t.iconBackground) || "bg-indigo-600", "h-8 w-8 rounded-full flex items-center justify-center ring-4 ring-white"])
3306
3310
  }, [
3307
3311
  m(j, {
3308
- loading: n.loading,
3312
+ loading: r.loading,
3309
3313
  icon: t == null ? void 0 : t.icon,
3310
3314
  "aria-hidden": "true",
3311
3315
  class: "h-5 w-5 text-white",
@@ -3313,20 +3317,20 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
3313
3317
  }, null, 8, ["loading", "icon"])
3314
3318
  ], 2)
3315
3319
  ]),
3316
- e("div", Ln, [
3320
+ e("div", Tn, [
3317
3321
  e("div", null, [
3318
- e("p", Nn, [
3322
+ e("p", zn, [
3319
3323
  e("a", {
3320
- onClick: (f) => n.$emit("timelineEventClicked", t.linkId),
3324
+ onClick: (f) => r.$emit("timelineEventClicked", t.linkId),
3321
3325
  class: "font-medium text-indigo-600 hover:text-indigo-800 cursor-pointer"
3322
- }, g(t == null ? void 0 : t.target), 9, An),
3326
+ }, g(t == null ? void 0 : t.target), 9, Ln),
3323
3327
  z(" " + g(t == null ? void 0 : t.content), 1)
3324
3328
  ])
3325
3329
  ]),
3326
- e("div", Yn, [
3330
+ e("div", Nn, [
3327
3331
  e("time", {
3328
3332
  datetime: t == null ? void 0 : t.datetime
3329
- }, g(t == null ? void 0 : t.date), 9, On)
3333
+ }, g(t == null ? void 0 : t.date), 9, An)
3330
3334
  ])
3331
3335
  ])
3332
3336
  ])
@@ -3338,28 +3342,28 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
3338
3342
  })
3339
3343
  ])
3340
3344
  ])) : b("", !0),
3341
- a.items ? (s(), r("div", In, [
3342
- e("div", Pn, [
3345
+ a.items ? (s(), n("div", Yn, [
3346
+ e("div", On, [
3343
3347
  e("a", {
3344
3348
  class: "cursor-pointer font-medium text-indigo-600 hover:text-indigo-500",
3345
- onClick: l[0] || (l[0] = (t) => n.$emit("timelineFooterClicked", n.timeline.id))
3346
- }, g(n.timeline.footerText), 1)
3349
+ onClick: o[0] || (o[0] = (t) => r.$emit("timelineFooterClicked", r.timeline.id))
3350
+ }, g(r.timeline.footerText), 1)
3347
3351
  ])
3348
- ])) : (s(), r("div", Vn, [
3352
+ ])) : (s(), n("div", In, [
3349
3353
  m(j, {
3350
3354
  icon: u(U),
3351
3355
  color: "gray",
3352
3356
  loading: !1,
3353
3357
  size: "huge"
3354
3358
  }, null, 8, ["icon"]),
3355
- l[1] || (l[1] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1))
3359
+ o[1] || (o[1] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1))
3356
3360
  ]))
3357
3361
  ], 2));
3358
3362
  }
3359
- }), Jn = { class: "mx-auto px-6 lg:px-8" }, Wn = { class: "flex justify-between h-20" }, Gn = { class: "flex" }, Qn = { class: "-ml-2 mr-2 flex items-center lg:hidden" }, Kn = ["src"], Xn = { class: "flex items-center" }, ea = { class: "lg:ml-4 lg:flex-shrink-0 lg:flex lg:items-center hidden" }, ta = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute -top-0 -left-1" }, sa = ["src"], oa = ["onClick"], la = { class: "pt-2 pb-3 space-y-1" }, ra = ["onClick"], na = { class: "pt-4 pb-3 border-t border-gray-200" }, aa = { class: "flex items-center px-4 sm:px-6" }, ia = { class: "flex-shrink-0" }, da = ["src"], ua = {
3363
+ }), En = { class: "mx-auto px-6 lg:px-8" }, Zn = { class: "flex justify-between h-20" }, Jn = { class: "flex" }, Wn = { class: "-ml-2 mr-2 flex items-center lg:hidden" }, Gn = ["src"], Qn = { class: "flex items-center" }, Kn = { class: "lg:ml-4 lg:flex-shrink-0 lg:flex lg:items-center hidden" }, Xn = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute -top-0 -left-1" }, ea = ["src"], ta = ["onClick"], sa = { class: "pt-2 pb-3 space-y-1" }, oa = ["onClick"], la = { class: "pt-4 pb-3 border-t border-gray-200" }, ra = { class: "flex items-center px-4 sm:px-6" }, na = { class: "flex-shrink-0" }, aa = ["src"], ia = {
3360
3364
  key: 0,
3361
3365
  class: "ml-3"
3362
- }, ca = { class: "text-base font-medium text-gray-800" }, ga = { class: "text-sm font-medium text-gray-500" }, ma = { class: "mt-3 space-y-1" }, pa = ["onClick"], fa = /* @__PURE__ */ B({
3366
+ }, da = { class: "text-base font-medium text-gray-800" }, ua = { class: "text-sm font-medium text-gray-500" }, ca = { class: "mt-3 space-y-1" }, ga = ["onClick"], ma = /* @__PURE__ */ M({
3363
3367
  __name: "uiTopbar",
3364
3368
  props: {
3365
3369
  logo: {},
@@ -3371,19 +3375,19 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
3371
3375
  },
3372
3376
  emits: ["topBarClick"],
3373
3377
  setup(p, { emit: i }) {
3374
- return (o, a) => (s(), _(u(ke), {
3378
+ return (l, a) => (s(), _(u(ke), {
3375
3379
  as: "nav",
3376
3380
  class: "bg-white shadow z-10"
3377
3381
  }, {
3378
- default: y(({ open: n }) => [
3379
- e("div", Jn, [
3380
- e("div", Wn, [
3381
- e("div", Gn, [
3382
- e("div", Qn, [
3382
+ default: y(({ open: r }) => [
3383
+ e("div", En, [
3384
+ e("div", Zn, [
3385
+ e("div", Jn, [
3386
+ e("div", Wn, [
3383
3387
  m(u(E), { class: "inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-indigo-500" }, {
3384
3388
  default: y(() => [
3385
3389
  a[1] || (a[1] = e("span", { class: "sr-only" }, "Open main menu", -1)),
3386
- n ? (s(), _(u(Z), {
3390
+ r ? (s(), _(u(Z), {
3387
3391
  key: 1,
3388
3392
  class: "block h-6 w-6",
3389
3393
  "aria-hidden": "true"
@@ -3398,17 +3402,17 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
3398
3402
  ]),
3399
3403
  e("div", {
3400
3404
  class: "flex-shrink-0 flex items-center cursor-pointer",
3401
- onClick: a[0] || (a[0] = (l) => o.$emit("topBarClick", "logo"))
3405
+ onClick: a[0] || (a[0] = (o) => l.$emit("topBarClick", "logo"))
3402
3406
  }, [
3403
3407
  e("img", {
3404
3408
  class: "h-10",
3405
- src: o.logo,
3409
+ src: l.logo,
3406
3410
  alt: "Hotelinking suite product logo"
3407
- }, null, 8, Kn)
3411
+ }, null, 8, Gn)
3408
3412
  ])
3409
3413
  ]),
3410
- e("div", Xn, [
3411
- e("div", ea, [
3414
+ e("div", Qn, [
3415
+ e("div", Kn, [
3412
3416
  m(u(fe), {
3413
3417
  as: "div",
3414
3418
  class: "ml-3 relative"
@@ -3417,19 +3421,19 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
3417
3421
  e("div", null, [
3418
3422
  C(m(u(he), { class: "bg-white rounded-full flex text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 relative" }, {
3419
3423
  default: y(() => [
3420
- C(e("div", ta, a[2] || (a[2] = [
3424
+ C(e("div", Xn, a[2] || (a[2] = [
3421
3425
  e("span", { class: "animate-ping absolute inline-flex h-4 w-4 bg-red-500 rounded-full opacity-75" }, null, -1)
3422
3426
  ]), 512), [
3423
- [D, o.alerted]
3427
+ [D, l.alerted]
3424
3428
  ]),
3425
3429
  e("img", {
3426
3430
  class: "h-10 w-10 rounded-full",
3427
- src: o.accountLogo
3428
- }, null, 8, sa)
3431
+ src: l.accountLogo
3432
+ }, null, 8, ea)
3429
3433
  ]),
3430
3434
  _: 1
3431
3435
  }, 512), [
3432
- [D, o.accountLogo]
3436
+ [D, l.accountLogo]
3433
3437
  ])
3434
3438
  ]),
3435
3439
  m(ue, {
@@ -3443,17 +3447,17 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
3443
3447
  default: y(() => [
3444
3448
  m(u(ye), { class: "origin-top-right absolute right-0 mt-2 w-48 rounded-md shadow-lg py-1 bg-white ring-1 ring-black ring-opacity-5 focus:outline-none" }, {
3445
3449
  default: y(() => [
3446
- (s(!0), r(x, null, $(o.profileMenu, (l) => (s(), _(u(ve), {
3447
- key: l.name
3450
+ (s(!0), n(x, null, $(l.profileMenu, (o) => (s(), _(u(ve), {
3451
+ key: o.name
3448
3452
  }, {
3449
3453
  default: y(({ active: t }) => [
3450
3454
  e("p", {
3451
- onClick: (c) => o.$emit("topBarClick", l.id),
3455
+ onClick: (c) => l.$emit("topBarClick", o.id),
3452
3456
  class: h(["cursor-pointer", [
3453
3457
  t ? "bg-gray-100" : "",
3454
3458
  "block px-4 py-2 text-sm text-gray-700"
3455
3459
  ]])
3456
- }, g(l.name), 11, oa)
3460
+ }, g(o.name), 11, ta)
3457
3461
  ]),
3458
3462
  _: 2
3459
3463
  }, 1024))), 128))
@@ -3472,46 +3476,46 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
3472
3476
  ]),
3473
3477
  m(u(_e), { class: "lg:hidden" }, {
3474
3478
  default: y(() => [
3475
- e("div", la, [
3476
- (s(!0), r(x, null, $(o.navigation, (l) => (s(), _(u(E), {
3479
+ e("div", sa, [
3480
+ (s(!0), n(x, null, $(l.navigation, (o) => (s(), _(u(E), {
3477
3481
  as: "template",
3478
- key: l.name,
3482
+ key: o.name,
3479
3483
  class: h(["block pl-3 pr-4 py-2 border-l-4 text-base font-medium sm:pl-5 sm:pr-6", {
3480
- "bg-indigo-50 border-indigo-500 text-indigo-700": l.current && l.current === !0,
3481
- "border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700": !l.current
3484
+ "bg-indigo-50 border-indigo-500 text-indigo-700": o.current && o.current === !0,
3485
+ "border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700": !o.current
3482
3486
  }])
3483
3487
  }, {
3484
3488
  default: y(() => [
3485
3489
  e("p", {
3486
- onClick: (t) => o.$emit("topBarClick", l.id)
3487
- }, g(l.name), 9, ra)
3490
+ onClick: (t) => l.$emit("topBarClick", o.id)
3491
+ }, g(o.name), 9, oa)
3488
3492
  ]),
3489
3493
  _: 2
3490
3494
  }, 1032, ["class"]))), 128))
3491
3495
  ]),
3492
- e("div", na, [
3493
- e("div", aa, [
3494
- e("div", ia, [
3496
+ e("div", la, [
3497
+ e("div", ra, [
3498
+ e("div", na, [
3495
3499
  e("img", {
3496
3500
  class: "h-10 w-10 rounded-full",
3497
- src: o.accountLogo
3498
- }, null, 8, da)
3501
+ src: l.accountLogo
3502
+ }, null, 8, aa)
3499
3503
  ]),
3500
- o.brand ? (s(), r("div", ua, [
3501
- e("div", ca, g(o.brand.title), 1),
3502
- e("div", ga, g(o.brand.subtitle), 1)
3504
+ l.brand ? (s(), n("div", ia, [
3505
+ e("div", da, g(l.brand.title), 1),
3506
+ e("div", ua, g(l.brand.subtitle), 1)
3503
3507
  ])) : b("", !0)
3504
3508
  ]),
3505
- e("div", ma, [
3506
- (s(!0), r(x, null, $(o.profileMenu, (l) => (s(), _(u(E), {
3509
+ e("div", ca, [
3510
+ (s(!0), n(x, null, $(l.profileMenu, (o) => (s(), _(u(E), {
3507
3511
  as: "template",
3508
- key: l.name,
3512
+ key: o.name,
3509
3513
  class: "block px-4 py-2 text-base font-medium text-gray-500 hover:text-gray-800 hover:bg-gray-100 sm:px-6"
3510
3514
  }, {
3511
3515
  default: y(() => [
3512
3516
  e("p", {
3513
- onClick: (t) => o.$emit("topBarClick", l.id)
3514
- }, g(l.name), 9, pa)
3517
+ onClick: (t) => l.$emit("topBarClick", o.id)
3518
+ }, g(o.name), 9, ga)
3515
3519
  ]),
3516
3520
  _: 2
3517
3521
  }, 1024))), 128))
@@ -3524,36 +3528,36 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
3524
3528
  _: 1
3525
3529
  }));
3526
3530
  }
3527
- }), ha = { class: "chart-selector flex flex-row items-center justify-center" }, ya = /* @__PURE__ */ B({
3531
+ }), pa = { class: "chart-selector flex flex-row items-center justify-center" }, fa = /* @__PURE__ */ M({
3528
3532
  __name: "RangeSelector",
3529
3533
  props: { range: { type: String } },
3530
3534
  emits: ["rangeSelected"],
3531
3535
  setup(p, { emit: i }) {
3532
- const o = i, a = p;
3533
- let n = V(() => a.range);
3534
- const l = (t) => {
3535
- n = t, o("rangeSelected", t);
3536
+ const l = i, a = p;
3537
+ let r = V(() => a.range);
3538
+ const o = (t) => {
3539
+ r = t, l("rangeSelected", t);
3536
3540
  };
3537
- return (t, c) => (s(), r("ul", ha, [
3541
+ return (t, c) => (s(), n("ul", pa, [
3538
3542
  e("li", {
3539
- class: h({ selected: u(n) === "24h" }),
3540
- onClick: c[0] || (c[0] = (d) => l("24h"))
3543
+ class: h({ selected: u(r) === "24h" }),
3544
+ onClick: c[0] || (c[0] = (d) => o("24h"))
3541
3545
  }, " 24H ", 2),
3542
3546
  e("li", {
3543
- class: h({ selected: u(n) === "7d" }),
3544
- onClick: c[1] || (c[1] = (d) => l("7d"))
3547
+ class: h({ selected: u(r) === "7d" }),
3548
+ onClick: c[1] || (c[1] = (d) => o("7d"))
3545
3549
  }, "7D", 2),
3546
3550
  e("li", {
3547
- class: h({ selected: u(n) === "1m" }),
3548
- onClick: c[2] || (c[2] = (d) => l("1m"))
3551
+ class: h({ selected: u(r) === "1m" }),
3552
+ onClick: c[2] || (c[2] = (d) => o("1m"))
3549
3553
  }, "1M", 2),
3550
3554
  e("li", {
3551
- class: h({ selected: u(n) === "3m" }),
3552
- onClick: c[3] || (c[3] = (d) => l("3m"))
3555
+ class: h({ selected: u(r) === "3m" }),
3556
+ onClick: c[3] || (c[3] = (d) => o("3m"))
3553
3557
  }, "3M", 2)
3554
3558
  ]));
3555
3559
  }
3556
- }), va = { class: "chart-header flex flex-row justify-between" }, ba = { class: "text-sm font-medium text-gray-500 truncate" }, wa = { class: "chart-content" }, xa = { class: "h-full w-full flex items-center justify-center flex-col" }, ka = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, _a = /* @__PURE__ */ B({
3560
+ }), ha = { class: "chart-header flex flex-row justify-between" }, ya = { class: "text-sm font-medium text-gray-500 truncate" }, va = { class: "chart-content" }, ba = { class: "h-full w-full flex items-center justify-center flex-col" }, wa = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, xa = /* @__PURE__ */ M({
3557
3561
  __name: "uiFunnelChartV2",
3558
3562
  props: {
3559
3563
  labels: {},
@@ -3575,8 +3579,8 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
3575
3579
  },
3576
3580
  emits: ["selectedRange", "chartUpdated", "dataPointSelection", "maximizeChart"],
3577
3581
  setup(p, { emit: i }) {
3578
- const o = i, a = p;
3579
- let n = {
3582
+ const l = i, a = p;
3583
+ let r = {
3580
3584
  chart: {
3581
3585
  type: "bar",
3582
3586
  toolbar: {
@@ -3611,27 +3615,27 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
3611
3615
  }
3612
3616
  }
3613
3617
  };
3614
- const l = V(() => ({ ...a.options, ...n })), t = V(() => a.series), c = () => o("chartUpdated"), d = (f, v, k) => {
3615
- o("dataPointSelection", { id: a.id, chartContext: v, config: k, event: f });
3618
+ const o = V(() => ({ ...a.options, ...r })), t = V(() => a.series), c = () => l("chartUpdated"), d = (f, v, k) => {
3619
+ l("dataPointSelection", { id: a.id, chartContext: v, config: k, event: f });
3616
3620
  };
3617
- return (f, v) => (s(), r(x, null, [
3621
+ return (f, v) => (s(), n(x, null, [
3618
3622
  C(e("div", {
3619
3623
  class: h(["h-[" + f.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow"])
3620
3624
  }, [
3621
- e("div", va, [
3622
- e("div", ba, g(f.title), 1),
3623
- m(ya, {
3625
+ e("div", ha, [
3626
+ e("div", ya, g(f.title), 1),
3627
+ m(fa, {
3624
3628
  range: f.range,
3625
3629
  onRangeSelected: v[0] || (v[0] = (k) => f.$emit("selectedRange", { range: k, chartId: f.id }))
3626
3630
  }, null, 8, ["range"])
3627
3631
  ]),
3628
- C(e("div", wa, [
3632
+ C(e("div", va, [
3629
3633
  m(u($e), {
3630
3634
  type: f.type,
3631
3635
  series: t.value,
3632
3636
  width: "100%",
3633
3637
  height: f.height,
3634
- options: l.value,
3638
+ options: o.value,
3635
3639
  onUpdated: c,
3636
3640
  onMounted: c,
3637
3641
  onDataPointSelection: d
@@ -3639,7 +3643,7 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
3639
3643
  ], 512), [
3640
3644
  [D, !f.empty]
3641
3645
  ]),
3642
- C(e("div", xa, [
3646
+ C(e("div", ba, [
3643
3647
  m(j, {
3644
3648
  icon: u(U),
3645
3649
  color: "gray",
@@ -3653,7 +3657,7 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
3653
3657
  ], 2), [
3654
3658
  [D, !f.loading]
3655
3659
  ]),
3656
- C(e("div", ka, v[2] || (v[2] = [
3660
+ C(e("div", wa, v[2] || (v[2] = [
3657
3661
  e("div", {
3658
3662
  role: "status",
3659
3663
  class: "w-full animate-pulse h-full flex flex-col"
@@ -3684,7 +3688,7 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
3684
3688
  ])
3685
3689
  ], 64));
3686
3690
  }
3687
- }), $a = { class: "w-full flex flex-col items-center justify-center p-10 grow" }, Ca = { class: "text-2xl mt-4 font-bold" }, Sa = { class: "buttons flex flex-row items-center justify-center mt-8 gap-x-1" }, Ba = /* @__PURE__ */ B({
3691
+ }), ka = { class: "w-full flex flex-col items-center justify-center p-10 grow" }, _a = { class: "text-2xl mt-4 font-bold" }, $a = { class: "buttons flex flex-row items-center justify-center mt-8 gap-x-1" }, Ca = /* @__PURE__ */ M({
3688
3692
  __name: "uiNoResults",
3689
3693
  props: {
3690
3694
  title: {},
@@ -3695,20 +3699,20 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
3695
3699
  },
3696
3700
  emits: ["action", "noResultsOptionSelected"],
3697
3701
  setup(p) {
3698
- return (i, o) => (s(), r("div", $a, [
3702
+ return (i, l) => (s(), n("div", ka, [
3699
3703
  m(j, {
3700
3704
  loading: !1,
3701
3705
  icon: u(U),
3702
3706
  size: "massive",
3703
3707
  color: "gray"
3704
3708
  }, null, 8, ["icon"]),
3705
- e("h2", Ca, g(i.title), 1),
3709
+ e("h2", _a, g(i.title), 1),
3706
3710
  e("p", null, g(i.message), 1),
3707
- e("div", Sa, [
3708
- (s(!0), r(x, null, $(i.actions, (a, n) => (s(), _(G, {
3709
- key: n,
3711
+ e("div", $a, [
3712
+ (s(!0), n(x, null, $(i.actions, (a, r) => (s(), _(G, {
3713
+ key: r,
3710
3714
  loading: !1,
3711
- onClick: (l) => i.$emit("action", a.action)
3715
+ onClick: (o) => i.$emit("action", a.action)
3712
3716
  }, {
3713
3717
  default: y(() => [
3714
3718
  z(g(a.text), 1)
@@ -3719,12 +3723,12 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
3719
3723
  key: 0,
3720
3724
  items: i.items,
3721
3725
  loading: !1,
3722
- onOptionSelected: o[0] || (o[0] = (a) => i.$emit("noResultsOptionSelected", a))
3726
+ onOptionSelected: l[0] || (l[0] = (a) => i.$emit("noResultsOptionSelected", a))
3723
3727
  }, null, 8, ["items"])) : b("", !0)
3724
3728
  ])
3725
3729
  ]));
3726
3730
  }
3727
- }), Ma = { class: "fixed inset-0 overflow-hidden" }, Da = { class: "absolute inset-0 overflow-hidden" }, ja = { class: "pointer-events-none fixed inset-y-0 right-0 flex max-w-full pl-10" }, Ta = { class: "flex h-full flex-col overflow-y-scroll bg-white shadow-xl" }, za = { class: "bg-indigo-700 px-4 py-6 sm:px-6" }, La = { class: "flex items-center justify-between" }, Na = { class: "ml-3 flex h-7 items-center" }, Aa = { class: "mt-1" }, Ya = { class: "text-sm text-indigo-300" }, Oa = { class: "relative flex-1 px-4 py-6 sm:px-6" }, Ia = /* @__PURE__ */ B({
3731
+ }), Sa = { class: "fixed inset-0 overflow-hidden" }, Ba = { class: "absolute inset-0 overflow-hidden" }, Ma = { class: "pointer-events-none fixed inset-y-0 right-0 flex max-w-full pl-10" }, Da = { class: "flex h-full flex-col overflow-y-scroll bg-white shadow-xl" }, ja = { class: "bg-indigo-700 px-4 py-6 sm:px-6" }, Ta = { class: "flex items-center justify-between" }, za = { class: "ml-3 flex h-7 items-center" }, La = { class: "mt-1" }, Na = { class: "text-sm text-indigo-300" }, Aa = { class: "relative flex-1 px-4 py-6 sm:px-6" }, Ya = /* @__PURE__ */ M({
3728
3732
  __name: "uiRightSidebar",
3729
3733
  props: {
3730
3734
  title: {},
@@ -3733,21 +3737,21 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
3733
3737
  },
3734
3738
  emits: ["closeRightBar"],
3735
3739
  setup(p, { emit: i }) {
3736
- return (o, a) => (s(), _(u(be), {
3740
+ return (l, a) => (s(), _(u(be), {
3737
3741
  as: "template",
3738
- show: o.open
3742
+ show: l.open
3739
3743
  }, {
3740
3744
  default: y(() => [
3741
3745
  m(u(we), {
3742
3746
  as: "div",
3743
3747
  class: "relative z-10",
3744
- onClose: a[1] || (a[1] = (n) => o.$emit("closeRightBar"))
3748
+ onClose: a[1] || (a[1] = (r) => l.$emit("closeRightBar"))
3745
3749
  }, {
3746
3750
  default: y(() => [
3747
3751
  a[4] || (a[4] = e("div", { class: "fixed inset-0" }, null, -1)),
3748
- e("div", Ma, [
3749
- e("div", Da, [
3750
- e("div", ja, [
3752
+ e("div", Sa, [
3753
+ e("div", Ba, [
3754
+ e("div", Ma, [
3751
3755
  m(u(W), {
3752
3756
  as: "template",
3753
3757
  enter: "transform transition ease-in-out duration-500 sm:duration-700",
@@ -3760,20 +3764,20 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
3760
3764
  default: y(() => [
3761
3765
  m(u(xe), { class: "pointer-events-auto w-screen max-w-md" }, {
3762
3766
  default: y(() => [
3763
- e("div", Ta, [
3764
- e("div", za, [
3765
- e("div", La, [
3767
+ e("div", Da, [
3768
+ e("div", ja, [
3769
+ e("div", Ta, [
3766
3770
  m(u(qe), { class: "text-base font-semibold leading-6 text-white" }, {
3767
3771
  default: y(() => [
3768
- z(g(o.title), 1)
3772
+ z(g(l.title), 1)
3769
3773
  ]),
3770
3774
  _: 1
3771
3775
  }),
3772
- e("div", Na, [
3776
+ e("div", za, [
3773
3777
  e("button", {
3774
3778
  type: "button",
3775
3779
  class: "relative rounded-md bg-indigo-700 text-indigo-200 hover:text-white outline-none",
3776
- onClick: a[0] || (a[0] = (n) => o.$emit("closeRightBar"))
3780
+ onClick: a[0] || (a[0] = (r) => l.$emit("closeRightBar"))
3777
3781
  }, [
3778
3782
  a[2] || (a[2] = e("span", { class: "absolute -inset-2.5" }, null, -1)),
3779
3783
  a[3] || (a[3] = e("span", { class: "sr-only" }, "Close panel", -1)),
@@ -3784,12 +3788,12 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
3784
3788
  ])
3785
3789
  ])
3786
3790
  ]),
3787
- e("div", Aa, [
3788
- e("p", Ya, g(o.description), 1)
3791
+ e("div", La, [
3792
+ e("p", Na, g(l.description), 1)
3789
3793
  ])
3790
3794
  ]),
3791
- e("div", Oa, [
3792
- q(o.$slots, "default")
3795
+ e("div", Aa, [
3796
+ q(l.$slots, "default")
3793
3797
  ])
3794
3798
  ])
3795
3799
  ]),
@@ -3808,15 +3812,15 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
3808
3812
  _: 3
3809
3813
  }, 8, ["show"]));
3810
3814
  }
3811
- }), Pa = { class: "uiGallery" }, Va = {
3815
+ }), Oa = { class: "uiGallery" }, Ia = {
3812
3816
  key: 1,
3813
3817
  role: "list",
3814
3818
  class: "grid grid-cols-2 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-4 lg:grid-cols-6"
3815
- }, 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" }, qa = ["src"], Ra = ["onClick"], Ha = { class: "pointer-events-none mt-2 block truncate text-sm font-medium text-gray-900" }, Ua = { class: "flex items-center justify-between" }, Ea = { class: "pointer-events-none block text-sm font-medium text-gray-500" }, Za = {
3819
+ }, Pa = { 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"], Fa = ["onClick"], qa = { class: "pointer-events-none mt-2 block truncate text-sm font-medium text-gray-900" }, Ra = { class: "flex items-center justify-between" }, Ha = { class: "pointer-events-none block text-sm font-medium text-gray-500" }, Ua = {
3816
3820
  key: 2,
3817
3821
  role: "list",
3818
3822
  class: "grid grid-cols-2 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-4 lg:grid-cols-6"
3819
- }, Ja = /* @__PURE__ */ B({
3823
+ }, Ea = /* @__PURE__ */ M({
3820
3824
  __name: "uiGallery",
3821
3825
  props: {
3822
3826
  galleryId: {},
@@ -3826,61 +3830,61 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
3826
3830
  },
3827
3831
  emits: ["modalAction", "deleteImage", "imgClicked"],
3828
3832
  setup(p, { emit: i }) {
3829
- const o = i, a = N(!1), n = (l) => {
3830
- a.value = !1, o("modalAction", l);
3833
+ const l = i, a = N(!1), r = (o) => {
3834
+ a.value = !1, l("modalAction", o);
3831
3835
  };
3832
- return (l, t) => (s(), r("div", Pa, [
3833
- l.loading ? b("", !0) : (s(), _(We, {
3836
+ return (o, t) => (s(), n("div", Oa, [
3837
+ o.loading ? b("", !0) : (s(), _(We, {
3834
3838
  key: 0,
3835
3839
  open: a.value,
3836
3840
  modalName: "deleteAllImagesModal",
3837
- title: l.literals.modalTitle,
3841
+ title: o.literals.modalTitle,
3838
3842
  type: "warning",
3839
- actions: [{ value: "close", name: l.literals.closeAction }, { value: `deleteGallery_${l.galleryId}`, name: l.literals.deleteAction }],
3840
- onModalAction: t[0] || (t[0] = (c) => n(c))
3843
+ actions: [{ value: "close", name: o.literals.closeAction }, { value: `deleteGallery_${o.galleryId}`, name: o.literals.deleteAction }],
3844
+ onModalAction: t[0] || (t[0] = (c) => r(c))
3841
3845
  }, {
3842
3846
  default: y(() => [
3843
- e("p", null, g(l.literals.modalText), 1)
3847
+ e("p", null, g(o.literals.modalText), 1)
3844
3848
  ]),
3845
3849
  _: 1
3846
3850
  }, 8, ["open", "title", "actions"])),
3847
- l.loading ? (s(), r("ul", Za, [
3848
- (s(), r(x, null, $(4, (c) => e("li", null, t[2] || (t[2] = [
3851
+ o.loading ? (s(), n("ul", Ua, [
3852
+ (s(), n(x, null, $(4, (c) => e("li", null, t[2] || (t[2] = [
3849
3853
  e("div", { class: "group aspect-h-7 aspect-w-10 block w-full overflow-hidden rounded-lg bg-gray-200 animate-pulse dark:bg-gray-200 focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 focus-within:ring-offset-gray-100" }, null, -1),
3850
3854
  e("p", { class: "animate-pulse h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28 mt-4" }, null, -1),
3851
3855
  e("p", { class: "animate-pulse h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-14 mt-2" }, null, -1)
3852
3856
  ]))), 64))
3853
- ])) : (s(), r("ul", Va, [
3854
- (s(!0), r(x, null, $(l.gallery, (c) => (s(), r("li", {
3857
+ ])) : (s(), n("ul", Ia, [
3858
+ (s(!0), n(x, null, $(o.gallery, (c) => (s(), n("li", {
3855
3859
  key: c.source,
3856
3860
  class: "relative"
3857
3861
  }, [
3858
- e("div", Fa, [
3862
+ e("div", Pa, [
3859
3863
  e("img", {
3860
3864
  src: c.source,
3861
3865
  alt: "",
3862
3866
  class: "pointer-events-none object-cover group-hover:opacity-75"
3863
- }, null, 8, qa),
3867
+ }, null, 8, Va),
3864
3868
  e("button", {
3865
3869
  type: "button",
3866
3870
  class: "absolute inset-0 focus:outline-none",
3867
- onClick: (d) => l.$emit("imgClicked", c)
3868
- }, null, 8, Ra)
3871
+ onClick: (d) => o.$emit("imgClicked", c)
3872
+ }, null, 8, Fa)
3869
3873
  ]),
3870
- e("p", Ha, g(c.title), 1),
3871
- e("div", Ua, [
3872
- e("p", Ea, g(c.size), 1),
3874
+ e("p", qa, g(c.title), 1),
3875
+ e("div", Ra, [
3876
+ e("p", Ha, g(c.size), 1),
3873
3877
  m(j, {
3874
3878
  class: "cursor-pointer",
3875
3879
  icon: u(Dt),
3876
3880
  color: "red",
3877
3881
  loading: !1,
3878
- onClick: (d) => l.$emit("deleteImage", c)
3882
+ onClick: (d) => o.$emit("deleteImage", c)
3879
3883
  }, null, 8, ["icon", "onClick"])
3880
3884
  ])
3881
3885
  ]))), 128))
3882
3886
  ])),
3883
- l.gallery.length > 0 && !l.loading ? (s(), _(G, {
3887
+ o.gallery.length > 0 && !o.loading ? (s(), _(G, {
3884
3888
  key: 3,
3885
3889
  onClick: t[1] || (t[1] = (c) => a.value = !0),
3886
3890
  class: "mt-8",
@@ -3889,16 +3893,16 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
3889
3893
  size: "small"
3890
3894
  }, {
3891
3895
  default: y(() => [
3892
- z(g(l.literals.deleteAllImages), 1)
3896
+ z(g(o.literals.deleteAllImages), 1)
3893
3897
  ]),
3894
3898
  _: 1
3895
3899
  })) : b("", !0)
3896
3900
  ]));
3897
3901
  }
3898
- }), Wa = { class: "cursor-move mb-1 relative flex items-center space-x-3 rounded-lg border border-gray-300 bg-white p-4 shadow-sm focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 hover:border-gray-400" }, Ga = { class: "flex flex-row items-center w-full" }, Qa = { class: "content text-sm grow" }, Ka = { class: "font-bold" }, Xa = { key: 0 }, ei = { class: "font-bold text-gray-400" }, ti = {
3902
+ }), Za = { class: "cursor-move mb-1 relative flex items-center space-x-3 rounded-lg border border-gray-300 bg-white p-4 shadow-sm focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 hover:border-gray-400" }, Ja = { class: "flex flex-row items-center w-full" }, Wa = { class: "content text-sm grow" }, Ga = { class: "font-bold" }, Qa = { key: 0 }, Ka = { class: "font-bold text-gray-400" }, Xa = {
3899
3903
  key: 1,
3900
3904
  class: "animate-pulse"
3901
- }, si = /* @__PURE__ */ B({
3905
+ }, ei = /* @__PURE__ */ M({
3902
3906
  __name: "uiDragAndDrop",
3903
3907
  props: {
3904
3908
  elements: {},
@@ -3906,27 +3910,27 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
3906
3910
  },
3907
3911
  emits: ["dragAndDropUpdated"],
3908
3912
  setup(p, { emit: i }) {
3909
- const o = i, a = p;
3910
- let n = N(a.elements);
3913
+ const l = i, a = p;
3914
+ let r = N(a.elements);
3911
3915
  R(() => a.elements, (t) => {
3912
- n.value = t;
3916
+ r.value = t;
3913
3917
  });
3914
- const l = (t) => {
3915
- o("dragAndDropUpdated", t);
3918
+ const o = (t) => {
3919
+ l("dragAndDropUpdated", t);
3916
3920
  };
3917
- return (t, c) => t.loading ? (s(), r("div", ti, c[2] || (c[2] = [
3921
+ return (t, c) => t.loading ? (s(), n("div", Xa, c[2] || (c[2] = [
3918
3922
  Q('<div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div>', 5)
3919
3923
  ]))) : (s(), _(u(nt), {
3920
3924
  key: 0,
3921
- modelValue: u(n),
3925
+ modelValue: u(r),
3922
3926
  "onUpdate:modelValue": [
3923
- c[0] || (c[0] = (d) => Ye(n) ? n.value = d : n = d),
3924
- c[1] || (c[1] = (d) => l(d))
3927
+ c[0] || (c[0] = (d) => Ye(r) ? r.value = d : r = d),
3928
+ c[1] || (c[1] = (d) => o(d))
3925
3929
  ]
3926
3930
  }, {
3927
3931
  item: y(({ item: d }) => [
3928
- e("div", Wa, [
3929
- e("div", Ga, [
3932
+ e("div", Za, [
3933
+ e("div", Ja, [
3930
3934
  m(j, {
3931
3935
  icon: u(bt),
3932
3936
  loading: !1,
@@ -3934,18 +3938,18 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
3934
3938
  class: "mr-4",
3935
3939
  size: "big"
3936
3940
  }, null, 8, ["icon"]),
3937
- e("div", Qa, [
3938
- e("p", Ka, g(d.name), 1),
3939
- d.description ? (s(), r("p", Xa, g(d.description), 1)) : b("", !0)
3941
+ e("div", Wa, [
3942
+ e("p", Ga, g(d.name), 1),
3943
+ d.description ? (s(), n("p", Qa, g(d.description), 1)) : b("", !0)
3940
3944
  ]),
3941
- e("div", ei, g(u(n).indexOf(d) + 1), 1)
3945
+ e("div", Ka, g(u(r).indexOf(d) + 1), 1)
3942
3946
  ])
3943
3947
  ])
3944
3948
  ]),
3945
3949
  _: 1
3946
3950
  }, 8, ["modelValue"]));
3947
3951
  }
3948
- }), oi = { class: "chart-header flex flex-row justify-between" }, li = { class: "text-sm font-medium text-gray-500 truncate" }, ri = { class: "hidden sm:flex items-center" }, ni = { class: "w-1/2 min-w-0 flex-1" }, ai = ["max"], ii = { class: "min-w-0 flex-1" }, di = ["max"], ui = { class: "chart-content" }, ci = { class: "h-full w-full flex items-center justify-center flex-col" }, gi = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, mi = /* @__PURE__ */ B({
3952
+ }), ti = { class: "chart-header flex flex-row justify-between" }, si = { class: "text-sm font-medium text-gray-500 truncate" }, oi = { class: "hidden sm:flex items-center" }, li = { class: "w-1/2 min-w-0 flex-1" }, ri = ["max"], ni = { class: "min-w-0 flex-1" }, ai = ["max"], ii = { class: "chart-content" }, di = { class: "h-full w-full flex items-center justify-center flex-col" }, ui = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, ci = /* @__PURE__ */ M({
3949
3953
  __name: "uiCircleChart",
3950
3954
  props: {
3951
3955
  labels: {},
@@ -3967,10 +3971,10 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
3967
3971
  },
3968
3972
  emits: ["selectedRange", "chartUpdated", "dataPointSelection", "maximizeChart"],
3969
3973
  setup(p, { emit: i }) {
3970
- const o = i, a = p, n = N((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":")));
3971
- let l = ce(a.dates || { from: "", to: n });
3974
+ const l = i, a = p, r = N((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":")));
3975
+ let o = ce(a.dates || { from: "", to: r });
3972
3976
  R(() => a.dates, (A) => {
3973
- A && (l = A);
3977
+ A && (o = A);
3974
3978
  });
3975
3979
  let t = {
3976
3980
  chart: {
@@ -4004,42 +4008,42 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
4004
4008
  }
4005
4009
  }
4006
4010
  };
4007
- const c = () => ({ ...t, ...a.options }), d = V(() => a.series), f = V(() => c()), v = () => o("chartUpdated"), k = (A, M, S) => {
4008
- o("dataPointSelection", { id: a.id, chartContext: M, config: S, event: A });
4011
+ const c = () => ({ ...t, ...a.options }), d = V(() => a.series), f = V(() => c()), v = () => l("chartUpdated"), k = (A, B, S) => {
4012
+ l("dataPointSelection", { id: a.id, chartContext: B, config: S, event: A });
4009
4013
  }, O = () => {
4010
- l.from !== "" && l.to !== "" && T(l.from).isBefore(T(l.to)) && o("selectedRange", { range: l, chartId: a.id });
4014
+ o.from !== "" && o.to !== "" && T(o.from).isBefore(T(o.to)) && l("selectedRange", { range: o, chartId: a.id });
4011
4015
  };
4012
- return (A, M) => (s(), r(x, null, [
4016
+ return (A, B) => (s(), n(x, null, [
4013
4017
  C(e("div", {
4014
4018
  class: h(["h-[" + A.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow"])
4015
4019
  }, [
4016
- e("div", oi, [
4017
- e("div", li, g(A.title), 1),
4018
- e("div", ri, [
4019
- e("div", ni, [
4020
+ e("div", ti, [
4021
+ e("div", si, g(A.title), 1),
4022
+ e("div", oi, [
4023
+ e("div", li, [
4020
4024
  C(e("input", {
4021
4025
  type: "datetime-local",
4022
- "onUpdate:modelValue": M[0] || (M[0] = (S) => u(l).from = S),
4023
- max: n.value.toString(),
4026
+ "onUpdate:modelValue": B[0] || (B[0] = (S) => u(o).from = S),
4027
+ max: r.value.toString(),
4024
4028
  onChange: O,
4025
4029
  name: "from",
4026
4030
  id: "from",
4027
4031
  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"
4028
- }, null, 40, ai), [
4029
- [X, u(l).from]
4032
+ }, null, 40, ri), [
4033
+ [X, u(o).from]
4030
4034
  ])
4031
4035
  ]),
4032
- e("div", ii, [
4036
+ e("div", ni, [
4033
4037
  C(e("input", {
4034
4038
  type: "datetime-local",
4035
- "onUpdate:modelValue": M[1] || (M[1] = (S) => u(l).to = S),
4036
- max: n.value.toString(),
4039
+ "onUpdate:modelValue": B[1] || (B[1] = (S) => u(o).to = S),
4040
+ max: r.value.toString(),
4037
4041
  onChange: O,
4038
4042
  name: "to",
4039
4043
  id: "to",
4040
4044
  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"
4041
- }, null, 40, di), [
4042
- [X, u(l).to]
4045
+ }, null, 40, ai), [
4046
+ [X, u(o).to]
4043
4047
  ])
4044
4048
  ]),
4045
4049
  m(j, {
@@ -4047,11 +4051,11 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
4047
4051
  size: "big",
4048
4052
  loading: A.loading,
4049
4053
  icon: u(He),
4050
- onClick: M[2] || (M[2] = (S) => A.$emit("maximizeChart", A.id))
4054
+ onClick: B[2] || (B[2] = (S) => A.$emit("maximizeChart", A.id))
4051
4055
  }, null, 8, ["loading", "icon"])
4052
4056
  ])
4053
4057
  ]),
4054
- C(e("div", ui, [
4058
+ C(e("div", ii, [
4055
4059
  m(u($e), {
4056
4060
  class: "flex items-center justify-center mt-4",
4057
4061
  type: "donut",
@@ -4065,21 +4069,21 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
4065
4069
  ], 512), [
4066
4070
  [D, !A.empty]
4067
4071
  ]),
4068
- C(e("div", ci, [
4072
+ C(e("div", di, [
4069
4073
  m(j, {
4070
4074
  icon: u(U),
4071
4075
  color: "gray",
4072
4076
  loading: !1,
4073
4077
  size: "huge"
4074
4078
  }, null, 8, ["icon"]),
4075
- M[3] || (M[3] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1))
4079
+ B[3] || (B[3] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1))
4076
4080
  ], 512), [
4077
4081
  [D, A.empty]
4078
4082
  ])
4079
4083
  ], 2), [
4080
4084
  [D, !A.loading]
4081
4085
  ]),
4082
- C(e("div", gi, M[4] || (M[4] = [
4086
+ C(e("div", ui, B[4] || (B[4] = [
4083
4087
  e("div", {
4084
4088
  role: "status",
4085
4089
  class: "w-full animate-pulse h-full flex flex-col"
@@ -4110,13 +4114,13 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
4110
4114
  ])
4111
4115
  ], 64));
4112
4116
  }
4113
- }), pi = {
4117
+ }), gi = {
4114
4118
  key: 0,
4115
4119
  class: "flex flex-col lg:flex-row w-full gap-y-4 gap-x-2"
4116
- }, fi = {
4120
+ }, mi = {
4117
4121
  key: 1,
4118
4122
  class: "flex flex-col lg:flex-row w-full gap-y-4 gap-x-2"
4119
- }, hi = /* @__PURE__ */ B({
4123
+ }, pi = /* @__PURE__ */ M({
4120
4124
  __name: "uiDateRange",
4121
4125
  props: {
4122
4126
  id: {},
@@ -4131,16 +4135,16 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
4131
4135
  },
4132
4136
  emits: ["uiDateRangeButtonClicked"],
4133
4137
  setup(p, { emit: i }) {
4134
- const o = p, a = N((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":")));
4135
- let n = ce(o.values || { from: "", to: a });
4136
- const l = i;
4137
- R(() => o.values, (c) => {
4138
- c && (n = c);
4138
+ const l = p, a = N((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":")));
4139
+ let r = ce(l.values || { from: "", to: a });
4140
+ const o = i;
4141
+ R(() => l.values, (c) => {
4142
+ c && (r = c);
4139
4143
  });
4140
4144
  const t = () => {
4141
- l("uiDateRangeButtonClicked", n);
4145
+ o("uiDateRangeButtonClicked", r);
4142
4146
  };
4143
- return (c, d) => c.loading ? (s(), r("div", fi, [
4147
+ return (c, d) => c.loading ? (s(), n("div", mi, [
4144
4148
  m(J, {
4145
4149
  name: "dateFrom",
4146
4150
  loading: !0
@@ -4155,19 +4159,19 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
4155
4159
  ])),
4156
4160
  _: 1
4157
4161
  })
4158
- ])) : (s(), r("div", pi, [
4162
+ ])) : (s(), n("div", gi, [
4159
4163
  m(J, {
4160
4164
  type: "datetime-local",
4161
4165
  loading: !1,
4162
4166
  addOn: c.literals.from,
4163
4167
  name: `dateFrom_${c.id}`,
4164
4168
  color: c.color,
4165
- value: u(n).from.toString(),
4169
+ value: u(r).from.toString(),
4166
4170
  error: c.error,
4167
4171
  disabled: c.disabled,
4168
4172
  label: c.label,
4169
4173
  max: a.value.toString(),
4170
- onInputChanged: d[0] || (d[0] = (f) => u(n).from = f.value)
4174
+ onInputChanged: d[0] || (d[0] = (f) => u(r).from = f.value)
4171
4175
  }, null, 8, ["addOn", "name", "color", "value", "error", "disabled", "label", "max"]),
4172
4176
  m(J, {
4173
4177
  type: "datetime-local",
@@ -4176,12 +4180,12 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
4176
4180
  addOn: c.literals.to,
4177
4181
  name: `dateTo_${c.id}`,
4178
4182
  color: c.color,
4179
- value: u(n).to.toString(),
4183
+ value: u(r).to.toString(),
4180
4184
  error: c.error,
4181
4185
  disabled: c.disabled,
4182
4186
  label: void 0,
4183
4187
  max: a.value.toString(),
4184
- onInputChanged: d[1] || (d[1] = (f) => u(n).to = f.value)
4188
+ onInputChanged: d[1] || (d[1] = (f) => u(r).to = f.value)
4185
4189
  }, null, 8, ["class", "addOn", "name", "color", "value", "error", "disabled", "max"]),
4186
4190
  m(G, {
4187
4191
  disabled: c.disabled,
@@ -4197,16 +4201,16 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
4197
4201
  }, 8, ["disabled", "class"])
4198
4202
  ]));
4199
4203
  }
4200
- }), yi = { class: "flex justify-between items-center" }, vi = {
4204
+ }), fi = { class: "flex justify-between items-center" }, hi = {
4201
4205
  key: 0,
4202
4206
  class: "block text-sm font-medium text-gray-700"
4203
- }, bi = {
4207
+ }, yi = {
4204
4208
  key: 1,
4205
4209
  class: "text-[10px] text-gray-500 uppercase justify-self-end"
4206
- }, wi = {
4210
+ }, vi = {
4207
4211
  key: 1,
4208
4212
  class: "h-2 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 w-full"
4209
- }, xi = /* @__PURE__ */ B({
4213
+ }, bi = /* @__PURE__ */ M({
4210
4214
  __name: "uiRangeSlider",
4211
4215
  props: {
4212
4216
  loading: { type: Boolean, default: !0 },
@@ -4219,23 +4223,23 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
4219
4223
  },
4220
4224
  emits: ["sliderUpdated"],
4221
4225
  setup(p, { emit: i }) {
4222
- const o = i, n = N(p.sliderValue);
4223
- return (l, t) => (s(), r("div", null, [
4224
- e("div", yi, [
4225
- l.label ? (s(), r("label", vi, g(l.label), 1)) : b("", !0),
4226
- l.requiredText ? (s(), r("span", bi, g(l.requiredText), 1)) : b("", !0)
4226
+ const l = i, r = N(p.sliderValue);
4227
+ return (o, t) => (s(), n("div", null, [
4228
+ e("div", fi, [
4229
+ o.label ? (s(), n("label", hi, g(o.label), 1)) : b("", !0),
4230
+ o.requiredText ? (s(), n("span", yi, g(o.requiredText), 1)) : b("", !0)
4227
4231
  ]),
4228
4232
  e("div", {
4229
- class: h([{ "mt-1": l.label }, "pt-16 px-6 pb-6 bg-gray-50 border border-gray-300 rounded-lg shadow-sm"])
4233
+ class: h([{ "mt-1": o.label }, "pt-16 px-6 pb-6 bg-gray-50 border border-gray-300 rounded-lg shadow-sm"])
4230
4234
  }, [
4231
- l.loading ? (s(), r("p", wi)) : (s(), _(u(at), {
4235
+ o.loading ? (s(), n("p", vi)) : (s(), _(u(at), {
4232
4236
  key: 0,
4233
- modelValue: n.value,
4234
- "onUpdate:modelValue": t[0] || (t[0] = (c) => n.value = c),
4235
- min: l.min,
4236
- max: l.max,
4237
- disabled: l.disabled,
4238
- onChange: t[1] || (t[1] = (c) => o("sliderUpdated", c)),
4237
+ modelValue: r.value,
4238
+ "onUpdate:modelValue": t[0] || (t[0] = (c) => r.value = c),
4239
+ min: o.min,
4240
+ max: o.max,
4241
+ disabled: o.disabled,
4242
+ onChange: t[1] || (t[1] = (c) => l("sliderUpdated", c)),
4239
4243
  classes: {
4240
4244
  base: "w-full h-full relative z-1 bg-gray-300 rounded",
4241
4245
  tooltip: "absolute block text-sm font-semibold whitespace-nowrap py-1 px-1.5 min-w-5 text-center text-white rounded border border-indigo-600 bg-indigo-600 transform h:-translate-x-1/2 h:left-1/2 v:-translate-y-1/2 v:top-1/2 slider-disabled:bg-gray-400 slider-disabled:border-gray-400 merge-h:translate-x-1/2 merge-h:left-auto merge-v:-translate-x-4 merge-v:top-auto tt-focus:hidden tt-focused:block tt-drag:hidden tt-dragging:block"
@@ -4244,27 +4248,27 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
4244
4248
  ], 2)
4245
4249
  ]));
4246
4250
  }
4247
- }), ki = { class: "mt-1 mb-8 text-sm text-gray-500" }, _i = /* @__PURE__ */ B({
4251
+ }), wi = { class: "mt-1 mb-8 text-sm text-gray-500" }, xi = /* @__PURE__ */ M({
4248
4252
  __name: "uiSectionTitle",
4249
4253
  props: {
4250
4254
  title: {},
4251
4255
  description: {}
4252
4256
  },
4253
4257
  setup(p) {
4254
- return (i, o) => (s(), r(x, null, [
4258
+ return (i, l) => (s(), n(x, null, [
4255
4259
  e("h3", {
4256
4260
  class: h(["text-lg font-medium leading-6 text-gray-900", { "mb-8": i.description === void 0 }])
4257
4261
  }, g(i.title), 3),
4258
- e("p", ki, g(i.description), 1)
4262
+ e("p", wi, g(i.description), 1)
4259
4263
  ], 64));
4260
4264
  }
4261
- }), $i = {
4265
+ }), ki = {
4262
4266
  key: 0,
4263
4267
  class: "col-span-1 flex flex-col divide-y divide-gray-200 rounded-lg bg-white text-center shadow"
4264
- }, Ci = { class: "flex flex-1 flex-col p-8" }, Si = { class: "text-2xl font-bold text-gray-900" }, Bi = { class: "mt-1 flex flex-grow flex-col justify-between" }, Mi = { class: "mt-3 flex flex-wrap gap-x-1 gap-y-1 justify-center" }, Di = {
4268
+ }, _i = { class: "flex flex-1 flex-col p-8" }, $i = { class: "text-2xl font-bold text-gray-900" }, Ci = { class: "mt-1 flex flex-grow flex-col justify-between" }, Si = { class: "mt-3 flex flex-wrap gap-x-1 gap-y-1 justify-center" }, Bi = {
4265
4269
  key: 1,
4266
4270
  class: "col-span-1 flex flex-col divide-y divide-gray-200 rounded-lg bg-white text-center shadow"
4267
- }, ji = { class: "flex flex-1 flex-col p-8" }, Ti = { class: "rounded-md p-3 flex items-center justify-center mx-auto mb-4 bg-gray-200" }, zi = { class: "mt-1 flex flex-grow flex-col justify-between" }, Li = { class: "mt-3 flex flex-wrap gap-x-1 gap-y-1 justify-center" }, Ni = /* @__PURE__ */ B({
4271
+ }, Mi = { class: "flex flex-1 flex-col p-8" }, Di = { class: "rounded-md p-3 flex items-center justify-center mx-auto mb-4 bg-gray-200" }, ji = { class: "mt-1 flex flex-grow flex-col justify-between" }, Ti = { class: "mt-3 flex flex-wrap gap-x-1 gap-y-1 justify-center" }, zi = /* @__PURE__ */ M({
4268
4272
  __name: "uiDeviceStatus",
4269
4273
  props: {
4270
4274
  id: {},
@@ -4277,75 +4281,75 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
4277
4281
  },
4278
4282
  emits: ["deviceStatusTagClicked", "deviceStatusQtyClicked"],
4279
4283
  setup(p, { emit: i }) {
4280
- return (o, a) => o.loading ? (s(), r("div", Di, [
4281
- e("div", ji, [
4282
- e("div", Ti, [
4284
+ return (l, a) => l.loading ? (s(), n("div", Bi, [
4285
+ e("div", Mi, [
4286
+ e("div", Di, [
4283
4287
  m(j, {
4284
- icon: o.icon,
4288
+ icon: l.icon,
4285
4289
  size: "huge",
4286
4290
  class: "text-white",
4287
4291
  "aria-hidden": "true",
4288
- loading: o.loading
4292
+ loading: l.loading
4289
4293
  }, null, 8, ["icon", "loading"])
4290
4294
  ]),
4291
4295
  a[3] || (a[3] = e("div", { class: "h-4 bg-gray-200 rounded-full dark:bg-gray-300 w-1/3 mx-auto" }, null, -1)),
4292
- e("dl", zi, [
4293
- e("dd", Li, [
4294
- (s(!0), r(x, null, $(o.tags, (n, l) => (s(), _(H, {
4295
- key: l,
4296
- loading: o.loading,
4297
- event: n.event,
4298
- color: n.color,
4299
- onTagEvent: a[2] || (a[2] = (t) => o.$emit("deviceStatusTagClicked", t))
4296
+ e("dl", ji, [
4297
+ e("dd", Ti, [
4298
+ (s(!0), n(x, null, $(l.tags, (r, o) => (s(), _(H, {
4299
+ key: o,
4300
+ loading: l.loading,
4301
+ event: r.event,
4302
+ color: r.color,
4303
+ onTagEvent: a[2] || (a[2] = (t) => l.$emit("deviceStatusTagClicked", t))
4300
4304
  }, {
4301
4305
  default: y(() => [
4302
- z(g(n.name), 1)
4306
+ z(g(r.name), 1)
4303
4307
  ]),
4304
4308
  _: 2
4305
4309
  }, 1032, ["loading", "event", "color"]))), 128))
4306
4310
  ])
4307
4311
  ])
4308
4312
  ])
4309
- ])) : (s(), r("div", $i, [
4310
- e("div", Ci, [
4313
+ ])) : (s(), n("div", ki, [
4314
+ e("div", _i, [
4311
4315
  e("div", {
4312
4316
  class: h(["rounded-md p-3 flex items-center justify-center mx-auto mb-4", {
4313
- "bg-green-500": !o.color || o.color === "green",
4314
- "bg-red-500": o.color === "red",
4315
- "bg-yellow-500": o.color === "yellow",
4316
- "bg-indigo-500": o.color === "primary",
4317
- "bg-cyan-300": o.color === "secondary",
4318
- "bg-gray-100": o.color === "light"
4317
+ "bg-green-500": !l.color || l.color === "green",
4318
+ "bg-red-500": l.color === "red",
4319
+ "bg-yellow-500": l.color === "yellow",
4320
+ "bg-indigo-500": l.color === "primary",
4321
+ "bg-cyan-300": l.color === "secondary",
4322
+ "bg-gray-100": l.color === "light"
4319
4323
  }])
4320
4324
  }, [
4321
4325
  m(j, {
4322
- icon: o.icon,
4326
+ icon: l.icon,
4323
4327
  size: "huge",
4324
4328
  class: "text-white",
4325
4329
  "aria-hidden": "true",
4326
4330
  loading: !1
4327
4331
  }, null, 8, ["icon"])
4328
4332
  ], 2),
4329
- e("h3", Si, [
4330
- z(g(o.name) + " ", 1),
4333
+ e("h3", $i, [
4334
+ z(g(l.name) + " ", 1),
4331
4335
  C(e("span", {
4332
4336
  class: "text-indigo-600 hover:text-indigo-900 cursor-pointer",
4333
- onClick: a[0] || (a[0] = (n) => o.$emit("deviceStatusQtyClicked", o.id))
4334
- }, "(" + g(o.qty) + ")", 513), [
4335
- [D, o.qty > 0]
4337
+ onClick: a[0] || (a[0] = (r) => l.$emit("deviceStatusQtyClicked", l.id))
4338
+ }, "(" + g(l.qty) + ")", 513), [
4339
+ [D, l.qty > 0]
4336
4340
  ])
4337
4341
  ]),
4338
- e("dl", Bi, [
4339
- e("dd", Mi, [
4340
- (s(!0), r(x, null, $(o.tags, (n, l) => (s(), _(H, {
4341
- key: l,
4342
+ e("dl", Ci, [
4343
+ e("dd", Si, [
4344
+ (s(!0), n(x, null, $(l.tags, (r, o) => (s(), _(H, {
4345
+ key: o,
4342
4346
  loading: !1,
4343
- event: n.event,
4344
- color: n.color,
4345
- onTagEvent: a[1] || (a[1] = (t) => o.$emit("deviceStatusTagClicked", t))
4347
+ event: r.event,
4348
+ color: r.color,
4349
+ onTagEvent: a[1] || (a[1] = (t) => l.$emit("deviceStatusTagClicked", t))
4346
4350
  }, {
4347
4351
  default: y(() => [
4348
- z(g(n.name), 1)
4352
+ z(g(r.name), 1)
4349
4353
  ]),
4350
4354
  _: 2
4351
4355
  }, 1032, ["event", "color"]))), 128))
@@ -4354,24 +4358,24 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
4354
4358
  ])
4355
4359
  ]));
4356
4360
  }
4357
- }), Ai = { class: "flex flex-row grow border-r border-gray-200 bg-white pr-6" }, Yi = { class: "bg-indigo-600 w-16 mr-6" }, Oi = ["onClick"], Ii = {
4361
+ }), Li = { 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"], Yi = {
4358
4362
  key: 0,
4359
4363
  class: "flex flex-col grow gap-y-5 overflow-y-auto pr-6"
4360
- }, Pi = { class: "flex h-16 shrink-0 items-center" }, Vi = ["src"], Fi = { class: "flex flex-1 flex-col" }, qi = {
4364
+ }, Oi = { class: "flex h-16 shrink-0 items-center" }, Ii = ["src"], Pi = { class: "flex flex-1 flex-col" }, Vi = {
4361
4365
  key: 0,
4362
4366
  role: "list",
4363
4367
  class: "flex flex-1 flex-col gap-y-7 mb-4"
4364
- }, Ri = {
4368
+ }, Fi = {
4365
4369
  role: "list",
4366
4370
  class: "ml-2 space-y-1"
4367
- }, Hi = ["onClick"], Ui = {
4371
+ }, qi = ["onClick"], Ri = {
4368
4372
  key: 1,
4369
4373
  role: "list",
4370
4374
  class: "flex flex-1 flex-col gap-y-7 mb-4"
4371
- }, Ei = { class: "ml-2 space-y-1" }, Zi = { class: "font-bold mb-4" }, Ji = {
4375
+ }, Hi = { class: "ml-2 space-y-1" }, Ui = { class: "font-bold mb-4" }, Ei = {
4372
4376
  key: 1,
4373
4377
  class: "flex flex-col grow gap-y-5 overflow-y-auto pr-6"
4374
- }, Wi = { class: "h-12 flex flex-row items-center" }, Le = /* @__PURE__ */ B({
4378
+ }, Zi = { class: "h-12 flex flex-row items-center" }, Le = /* @__PURE__ */ M({
4375
4379
  __name: "uiSidebarV2",
4376
4380
  props: {
4377
4381
  navigation: {},
@@ -4383,64 +4387,64 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
4383
4387
  },
4384
4388
  emits: ["productBarClick", "sideBarClick"],
4385
4389
  setup(p, { emit: i }) {
4386
- return (o, a) => (s(), r("div", Ai, [
4387
- e("div", Yi, [
4390
+ return (l, a) => (s(), n("div", Li, [
4391
+ e("div", Ni, [
4388
4392
  e("ul", null, [
4389
- (s(!0), r(x, null, $(o.productsSidebar, (n, l) => (s(), r("li", {
4390
- key: l,
4391
- class: h([{ "!bg-indigo-900": n.active }, "w-full h-16 flex items-center justify-center cursor-pointer bg-indigo-600 hover:bg-indigo-700"]),
4392
- onClick: (t) => o.$emit("productBarClick", n.name)
4393
+ (s(!0), n(x, null, $(l.productsSidebar, (r, o) => (s(), n("li", {
4394
+ key: o,
4395
+ class: h([{ "!bg-indigo-900": r.active }, "w-full h-16 flex items-center justify-center cursor-pointer bg-indigo-600 hover:bg-indigo-700"]),
4396
+ onClick: (t) => l.$emit("productBarClick", r.name)
4393
4397
  }, [
4394
4398
  m(j, {
4395
- icon: n.icon,
4399
+ icon: r.icon,
4396
4400
  loading: !1,
4397
4401
  color: "white",
4398
4402
  size: "bigger"
4399
4403
  }, null, 8, ["icon"])
4400
- ], 10, Oi))), 128))
4404
+ ], 10, Ai))), 128))
4401
4405
  ])
4402
4406
  ]),
4403
- o.loading ? (s(), r("div", Ji, [
4404
- (s(), r(x, null, $(5, (n) => e("div", Wi, a[0] || (a[0] = [
4407
+ l.loading ? (s(), n("div", Ei, [
4408
+ (s(), n(x, null, $(5, (r) => e("div", Zi, a[0] || (a[0] = [
4405
4409
  e("div", { class: "w-6 h-6 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 mr-4" }, null, -1),
4406
4410
  e("div", { class: "h-3 animate-pulse bg-gray-200 rounded-full w-1/2 dark:bg-gray-300" }, null, -1)
4407
4411
  ]))), 64))
4408
- ])) : (s(), r("div", Ii, [
4409
- e("div", Pi, [
4412
+ ])) : (s(), n("div", Yi, [
4413
+ e("div", Oi, [
4410
4414
  e("img", {
4411
4415
  class: "h-8 w-auto",
4412
- src: o.logo,
4416
+ src: l.logo,
4413
4417
  alt: "Your Company"
4414
- }, null, 8, Vi)
4418
+ }, null, 8, Ii)
4415
4419
  ]),
4416
- e("nav", Fi, [
4417
- o.isFilterNavigation ? b("", !0) : (s(), r("ul", qi, [
4420
+ e("nav", Pi, [
4421
+ l.isFilterNavigation ? b("", !0) : (s(), n("ul", Vi, [
4418
4422
  e("li", null, [
4419
- e("ul", Ri, [
4420
- (s(!0), r(x, null, $(o.navigation, (n) => (s(), r("li", {
4421
- key: n.name
4423
+ e("ul", Fi, [
4424
+ (s(!0), n(x, null, $(l.navigation, (r) => (s(), n("li", {
4425
+ key: r.name
4422
4426
  }, [
4423
- n.children ? (s(), _(u(ke), {
4427
+ r.children ? (s(), _(u(ke), {
4424
4428
  key: 1,
4425
4429
  as: "div"
4426
4430
  }, {
4427
4431
  default: y(() => [
4428
4432
  m(u(E), {
4429
- onClick: (l) => o.$emit("sideBarClick", n.id),
4430
- class: h([n.current ? "bg-gray-100" : "hover:bg-gray-100", "flex w-full items-center gap-x-3 rounded-md p-2 text-left text-sm font-semibold leading-6 text-gray-700"])
4433
+ onClick: (o) => l.$emit("sideBarClick", r.id),
4434
+ class: h([r.current ? "bg-gray-100" : "hover:bg-gray-100", "flex w-full items-center gap-x-3 rounded-md p-2 text-left text-sm font-semibold leading-6 text-gray-700"])
4431
4435
  }, {
4432
4436
  default: y(() => [
4433
4437
  m(j, {
4434
- icon: n.icon,
4438
+ icon: r.icon,
4435
4439
  color: "primary",
4436
4440
  size: "big",
4437
4441
  loading: !1,
4438
4442
  "aria-hidden": "true",
4439
4443
  class: "shrink-0"
4440
4444
  }, null, 8, ["icon"]),
4441
- z(" " + g(n.name) + " ", 1),
4445
+ z(" " + g(r.name) + " ", 1),
4442
4446
  m(u(ee), {
4443
- class: h([n.children.some((l) => l.current) || n.current ? "rotate-90 text-primary-500" : "text-gray-400", "ml-auto h-5 w-5 shrink-0"]),
4447
+ class: h([r.children.some((o) => o.current) || r.current ? "rotate-90 text-primary-500" : "text-gray-400", "ml-auto h-5 w-5 shrink-0"]),
4444
4448
  "aria-hidden": "true"
4445
4449
  }, null, 8, ["class"])
4446
4450
  ]),
@@ -4453,16 +4457,16 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
4453
4457
  static: ""
4454
4458
  }, {
4455
4459
  default: y(() => [
4456
- (s(!0), r(x, null, $(n.children, (l) => (s(), r("li", {
4457
- key: l.name
4460
+ (s(!0), n(x, null, $(r.children, (o) => (s(), n("li", {
4461
+ key: o.name
4458
4462
  }, [
4459
4463
  m(u(E), {
4460
4464
  as: "a",
4461
- onClick: (t) => o.$emit("sideBarClick", l.id),
4462
- class: h([l.current ? "bg-gray-100" : "hover:bg-gray-100", "block rounded-md py-2 pl-9 pr-2 text-sm leading-6 text-gray-700 cursor-pointer"])
4465
+ onClick: (t) => l.$emit("sideBarClick", o.id),
4466
+ class: h([o.current ? "bg-gray-100" : "hover:bg-gray-100", "block rounded-md py-2 pl-9 pr-2 text-sm leading-6 text-gray-700 cursor-pointer"])
4463
4467
  }, {
4464
4468
  default: y(() => [
4465
- z(g(l.name), 1)
4469
+ z(g(o.name), 1)
4466
4470
  ]),
4467
4471
  _: 2
4468
4472
  }, 1032, ["onClick", "class"])
@@ -4471,46 +4475,46 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
4471
4475
  _: 2
4472
4476
  }, 1024)
4473
4477
  ], 512), [
4474
- [D, n.children.some((l) => l.current) || n.current]
4478
+ [D, r.children.some((o) => o.current) || r.current]
4475
4479
  ])
4476
4480
  ]),
4477
4481
  _: 2
4478
- }, 1024)) : (s(), r("div", {
4482
+ }, 1024)) : (s(), n("div", {
4479
4483
  key: 0,
4480
- onClick: (l) => o.$emit("sideBarClick", n.id),
4481
- class: h([n.current ? "bg-gray-100" : "hover:bg-gray-100", "group flex gap-x-3 rounded-md p-2 text-sm font-semibold leading-6 text-gray-700 cursor-pointer"])
4484
+ onClick: (o) => l.$emit("sideBarClick", r.id),
4485
+ class: h([r.current ? "bg-gray-100" : "hover:bg-gray-100", "group flex gap-x-3 rounded-md p-2 text-sm font-semibold leading-6 text-gray-700 cursor-pointer"])
4482
4486
  }, [
4483
4487
  m(j, {
4484
- icon: n.icon,
4488
+ icon: r.icon,
4485
4489
  color: "primary",
4486
4490
  size: "big",
4487
4491
  loading: !1,
4488
4492
  "aria-hidden": "true",
4489
4493
  class: "shrink-0"
4490
4494
  }, null, 8, ["icon"]),
4491
- z(" " + g(n.name), 1)
4492
- ], 10, Hi))
4495
+ z(" " + g(r.name), 1)
4496
+ ], 10, qi))
4493
4497
  ]))), 128))
4494
4498
  ])
4495
4499
  ])
4496
4500
  ])),
4497
- o.isFilterNavigation && o.filterNavigation ? (s(), r("ul", Ui, [
4498
- e("li", Ei, [
4499
- o.filterNavigation.hasSearch && o.filterNavigation.search ? (s(), _(J, {
4501
+ l.isFilterNavigation && l.filterNavigation ? (s(), n("ul", Ri, [
4502
+ e("li", Hi, [
4503
+ l.filterNavigation.hasSearch && l.filterNavigation.search ? (s(), _(J, {
4500
4504
  key: 0,
4501
- name: o.filterNavigation.search.name,
4502
- label: o.filterNavigation.search.label,
4503
- placeholder: o.filterNavigation.search.placeholder,
4504
- value: o.filterNavigation.search.value,
4505
- loading: o.filterNavigation.search.loading
4505
+ name: l.filterNavigation.search.name,
4506
+ label: l.filterNavigation.search.label,
4507
+ placeholder: l.filterNavigation.search.placeholder,
4508
+ value: l.filterNavigation.search.value,
4509
+ loading: l.filterNavigation.search.loading
4506
4510
  }, null, 8, ["name", "label", "placeholder", "value", "loading"])) : b("", !0)
4507
4511
  ]),
4508
- (s(!0), r(x, null, $(o.filterNavigation.items, (n, l) => (s(), r("li", {
4512
+ (s(!0), n(x, null, $(l.filterNavigation.items, (r, o) => (s(), n("li", {
4509
4513
  class: "ml-2",
4510
- key: l
4514
+ key: o
4511
4515
  }, [
4512
- e("p", Zi, g(n.label), 1),
4513
- (s(!0), r(x, null, $(n.filters, (t, c) => (s(), _(Re, {
4516
+ e("p", Ui, g(r.label), 1),
4517
+ (s(!0), n(x, null, $(r.filters, (t, c) => (s(), _(Re, {
4514
4518
  class: "mb-2",
4515
4519
  value: t.value,
4516
4520
  loading: t.loading
@@ -4526,14 +4530,14 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
4526
4530
  ]))
4527
4531
  ]));
4528
4532
  }
4529
- }), Gi = { class: "fixed inset-0 flex" }, Qi = { class: "absolute left-full top-0 flex w-16 justify-center pt-5" }, Ki = { class: "hidden lg:fixed lg:inset-y-0 lg:z-50 lg:flex lg:w-[25rem] lg:flex-col" }, Xi = { class: "lg:pl-[25rem]" }, ed = { class: "sticky top-0 z-10 flex h-16 shrink-0 items-center gap-x-4 border-b border-gray-200 bg-white px-4 shadow-sm sm:gap-x-6 sm:px-6 lg:px-8" }, td = { class: "flex flex-1 gap-x-4 self-stretch lg:gap-x-6" }, sd = {
4533
+ }), Ji = { class: "fixed inset-0 flex" }, Wi = { class: "absolute left-full top-0 flex w-16 justify-center pt-5" }, Gi = { class: "hidden lg:fixed lg:inset-y-0 lg:z-50 lg:flex lg:w-[25rem] lg:flex-col" }, Qi = { class: "lg:pl-[25rem]" }, Ki = { class: "sticky top-0 z-10 flex h-16 shrink-0 items-center gap-x-4 border-b border-gray-200 bg-white px-4 shadow-sm sm:gap-x-6 sm:px-6 lg:px-8" }, Xi = { class: "flex flex-1 gap-x-4 self-stretch lg:gap-x-6" }, ed = {
4530
4534
  class: "relative flex flex-1",
4531
4535
  action: "#",
4532
4536
  method: "GET"
4533
- }, od = { class: "relative block h-full w-full border-0 py-0 pl-8 pr-0 text-gray-900 placeholder:text-gray-400 focus:ring-0 sm:text-sm" }, ld = { class: "flex items-center gap-x-4 lg:gap-x-6" }, rd = {
4537
+ }, td = { class: "relative block h-full w-full border-0 py-0 pl-8 pr-0 text-gray-900 placeholder:text-gray-400 focus:ring-0 sm:text-sm" }, sd = { class: "flex items-center gap-x-4 lg:gap-x-6" }, od = {
4534
4538
  type: "button",
4535
4539
  class: "-m-2.5 p-2.5 text-gray-400 hover:text-gray-500 relative"
4536
- }, nd = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute top-1 left-2" }, ad = ["src"], id = { class: "hidden lg:flex lg:items-center" }, dd = ["onClick"], ud = { class: "py-7" }, cd = { class: "px-7 lg:px-10" }, gd = /* @__PURE__ */ B({
4540
+ }, ld = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute top-1 left-2" }, rd = ["src"], nd = { class: "hidden lg:flex lg:items-center" }, ad = ["onClick"], id = { class: "py-7" }, dd = { class: "px-7 lg:px-10" }, ud = /* @__PURE__ */ M({
4537
4541
  __name: "uiWrapper",
4538
4542
  props: {
4539
4543
  topbar: {},
@@ -4541,8 +4545,8 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
4541
4545
  },
4542
4546
  emits: ["productBarClick", "sideBarClick", "selectChanged", "topBarClick"],
4543
4547
  setup(p, { emit: i }) {
4544
- const o = p, a = N(""), n = V(() => 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 = V(() => o.topbar.selectedItem), c = N(!1);
4545
- return (d, f) => (s(), r("div", null, [
4548
+ const l = p, a = N(""), r = V(() => a.value === "" ? l.topbar.selectItems : l.topbar.selectItems.filter((d) => d.name.toLowerCase().includes(a.value.toLowerCase()))), o = (d) => (d == null ? void 0 : d.name) ?? "", t = V(() => l.topbar.selectedItem), c = N(!1);
4549
+ return (d, f) => (s(), n("div", null, [
4546
4550
  m(u(be), {
4547
4551
  as: "template",
4548
4552
  show: c.value
@@ -4567,7 +4571,7 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
4567
4571
  ])),
4568
4572
  _: 1
4569
4573
  }),
4570
- e("div", Gi, [
4574
+ e("div", Ji, [
4571
4575
  m(u(W), {
4572
4576
  as: "template",
4573
4577
  enter: "transition ease-in-out duration-300 transform",
@@ -4590,7 +4594,7 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
4590
4594
  "leave-to": "opacity-0"
4591
4595
  }, {
4592
4596
  default: y(() => [
4593
- e("div", Qi, [
4597
+ e("div", Wi, [
4594
4598
  e("button", {
4595
4599
  type: "button",
4596
4600
  class: "-m-2.5 p-2.5",
@@ -4629,7 +4633,7 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
4629
4633
  ]),
4630
4634
  _: 1
4631
4635
  }, 8, ["show"]),
4632
- e("div", Ki, [
4636
+ e("div", Gi, [
4633
4637
  m(Le, {
4634
4638
  productsSidebar: d.sidebar.productsSidebar,
4635
4639
  isFilterNavigation: d.sidebar.isFilterNavigation,
@@ -4641,8 +4645,8 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
4641
4645
  onProductBarClick: f[5] || (f[5] = (v) => d.$emit("productBarClick", v))
4642
4646
  }, null, 8, ["productsSidebar", "isFilterNavigation", "navigation", "filterNavigation", "logo"])
4643
4647
  ]),
4644
- e("div", Xi, [
4645
- e("div", ed, [
4648
+ e("div", Qi, [
4649
+ e("div", Ki, [
4646
4650
  e("button", {
4647
4651
  type: "button",
4648
4652
  class: "-m-2.5 p-2.5 text-gray-700 lg:hidden",
@@ -4658,8 +4662,8 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
4658
4662
  class: "h-6 w-px bg-gray-200 lg:hidden",
4659
4663
  "aria-hidden": "true"
4660
4664
  }, null, -1)),
4661
- e("div", td, [
4662
- e("form", sd, [
4665
+ e("div", Xi, [
4666
+ e("form", ed, [
4663
4667
  f[14] || (f[14] = e("label", {
4664
4668
  for: "search-field",
4665
4669
  class: "sr-only"
@@ -4678,12 +4682,12 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
4678
4682
  ]
4679
4683
  }, {
4680
4684
  default: y(() => [
4681
- e("div", od, [
4685
+ e("div", td, [
4682
4686
  m(u(Ie), {
4683
4687
  class: "block h-full w-full border-0 py-0 pl-8 pr-0 text-gray-900 placeholder:text-gray-400 focus:ring-0 sm:text-sm",
4684
4688
  onChange: f[7] || (f[7] = (v) => a.value = v.target.value),
4685
4689
  onBlur: f[8] || (f[8] = (v) => a.value = ""),
4686
- displayValue: l
4690
+ displayValue: o
4687
4691
  }),
4688
4692
  m(u(Pe), { class: "absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none" }, {
4689
4693
  default: y(() => [
@@ -4691,12 +4695,12 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
4691
4695
  ]),
4692
4696
  _: 1
4693
4697
  }),
4694
- n.value.length > 0 ? (s(), _(u(Ve), {
4698
+ r.value.length > 0 ? (s(), _(u(Ve), {
4695
4699
  key: 0,
4696
4700
  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"
4697
4701
  }, {
4698
4702
  default: y(() => [
4699
- (s(!0), r(x, null, $(n.value, (v) => (s(), _(u(Fe), {
4703
+ (s(!0), n(x, null, $(r.value, (v) => (s(), _(u(Fe), {
4700
4704
  key: v.id,
4701
4705
  value: v,
4702
4706
  as: "template"
@@ -4708,7 +4712,7 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
4708
4712
  e("span", {
4709
4713
  class: h(["block truncate", O && "font-semibold"])
4710
4714
  }, g(v.name), 3),
4711
- O ? (s(), r("span", {
4715
+ O ? (s(), n("span", {
4712
4716
  key: 0,
4713
4717
  class: h(["absolute inset-y-0 left-0 flex items-center pl-1.5", k ? "text-white" : "text-indigo-600"])
4714
4718
  }, [
@@ -4726,10 +4730,10 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
4726
4730
  _: 1
4727
4731
  }, 8, ["modelValue"])
4728
4732
  ]),
4729
- e("div", ld, [
4730
- e("button", rd, [
4733
+ e("div", sd, [
4734
+ e("button", od, [
4731
4735
  f[16] || (f[16] = e("span", { class: "sr-only" }, "View notifications", -1)),
4732
- C(e("div", nd, f[15] || (f[15] = [
4736
+ C(e("div", ld, f[15] || (f[15] = [
4733
4737
  e("span", { class: "animate-ping absolute inline-flex h-4 w-4 bg-red-500 rounded-full opacity-75" }, null, -1)
4734
4738
  ]), 512), [
4735
4739
  [D, d.topbar.alerted]
@@ -4755,8 +4759,8 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
4755
4759
  class: "h-8 w-8 rounded-full bg-gray-50",
4756
4760
  src: d.topbar.accountLogo,
4757
4761
  alt: ""
4758
- }, null, 8, ad),
4759
- e("span", id, [
4762
+ }, null, 8, rd),
4763
+ e("span", nd, [
4760
4764
  m(u(de), {
4761
4765
  class: "ml-2 h-5 w-5 text-gray-400",
4762
4766
  "aria-hidden": "true"
@@ -4776,14 +4780,14 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
4776
4780
  default: y(() => [
4777
4781
  m(u(ye), { class: "absolute right-0 z-10 mt-2.5 w-52 origin-top-right rounded-md bg-white py-2 shadow-lg ring-1 ring-gray-900/5 focus:outline-none" }, {
4778
4782
  default: y(() => [
4779
- (s(!0), r(x, null, $(d.topbar.profileMenu, (v) => (s(), _(u(ve), {
4783
+ (s(!0), n(x, null, $(d.topbar.profileMenu, (v) => (s(), _(u(ve), {
4780
4784
  key: v.name
4781
4785
  }, {
4782
4786
  default: y(({ active: k }) => [
4783
4787
  e("a", {
4784
4788
  onClick: (O) => d.$emit("topBarClick", v.id),
4785
4789
  class: h([k ? "bg-gray-50" : "", "block px-3 py-1 text-sm leading-6 text-gray-900"])
4786
- }, g(v.name), 11, dd)
4790
+ }, g(v.name), 11, ad)
4787
4791
  ]),
4788
4792
  _: 2
4789
4793
  }, 1024))), 128))
@@ -4799,30 +4803,30 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
4799
4803
  ])
4800
4804
  ])
4801
4805
  ]),
4802
- e("main", ud, [
4803
- e("div", cd, [
4806
+ e("main", id, [
4807
+ e("div", dd, [
4804
4808
  q(d.$slots, "default")
4805
4809
  ])
4806
4810
  ])
4807
4811
  ])
4808
4812
  ]));
4809
4813
  }
4810
- }), md = /* @__PURE__ */ B({
4814
+ }), cd = /* @__PURE__ */ M({
4811
4815
  __name: "uiDynamicStats",
4812
4816
  props: {
4813
4817
  dynamicStats: {},
4814
4818
  loading: { type: Boolean, default: !0 }
4815
4819
  },
4816
4820
  setup(p) {
4817
- const i = p, o = () => i.dynamicStats.length <= 5 ? `lg:grid-cols-${i.dynamicStats.length}` : `lg:grid-cols-${Math.floor(i.dynamicStats.length / 2)} xl:grid-cols-${i.dynamicStats.length}`, a = N(0), n = N(o());
4818
- return tt(() => a.value += 1), (l, t) => (s(), r("div", {
4819
- class: h([n.value, "grid grid-cols-1 md:grid-cols-2 gap-4"]),
4821
+ const i = p, l = () => i.dynamicStats.length <= 5 ? `lg:grid-cols-${i.dynamicStats.length}` : `lg:grid-cols-${Math.floor(i.dynamicStats.length / 2)} xl:grid-cols-${i.dynamicStats.length}`, a = N(0), r = N(l());
4822
+ return tt(() => a.value += 1), (o, t) => (s(), n("div", {
4823
+ class: h([r.value, "grid grid-cols-1 md:grid-cols-2 gap-4"]),
4820
4824
  key: a.value
4821
4825
  }, [
4822
- (s(!0), r(x, null, $(l.dynamicStats, (c, d) => (s(), _(Qe, {
4826
+ (s(!0), n(x, null, $(o.dynamicStats, (c, d) => (s(), _(Qe, {
4823
4827
  key: d,
4824
4828
  item: c,
4825
- loading: l.loading
4829
+ loading: o.loading
4826
4830
  }, null, 8, ["item", "loading"]))), 128))
4827
4831
  ], 2));
4828
4832
  }
@@ -4832,90 +4836,90 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ B({
4832
4836
  uiBreadcrumbs: Ys,
4833
4837
  uiButton: G,
4834
4838
  uiCard: Rs,
4835
- uiChart: Jl,
4839
+ uiChart: El,
4836
4840
  uiCheckbox: Re,
4837
- uiCircleChart: mi,
4838
- uiDateRange: hi,
4839
- uiDeviceStatus: Ni,
4840
- uiDragAndDrop: si,
4841
+ uiCircleChart: ci,
4842
+ uiDateRange: pi,
4843
+ uiDeviceStatus: zi,
4844
+ uiDragAndDrop: ei,
4841
4845
  uiDropdown: Ce,
4842
- uiDynamicStats: md,
4846
+ uiDynamicStats: cd,
4843
4847
  uiFilter: Hs,
4844
- uiFooter: Kl,
4845
- uiFunnelChartV2: _a,
4846
- uiGallery: Ja,
4848
+ uiFooter: Gl,
4849
+ uiFunnelChartV2: xa,
4850
+ uiGallery: Ea,
4847
4851
  uiIcon: j,
4848
4852
  uiInput: J,
4849
4853
  uiInputFile: ss,
4850
- uiLoadingScreen: Xl,
4854
+ uiLoadingScreen: Ql,
4851
4855
  uiModal: We,
4852
- uiNoResults: Ba,
4856
+ uiNoResults: Ca,
4853
4857
  uiNotification: io,
4854
- uiPagination: mr,
4858
+ uiPagination: cr,
4855
4859
  uiPriceCalendar: Ll,
4856
- uiRangeSlider: xi,
4857
- uiRightSidebar: Ia,
4858
- uiSectionTitle: _i,
4860
+ uiRangeSlider: bi,
4861
+ uiRightSidebar: Ya,
4862
+ uiSectionTitle: xi,
4859
4863
  uiSelect: as,
4860
- uiSidebar: Sr,
4864
+ uiSidebar: $r,
4861
4865
  uiStats: Qe,
4862
- uiStripedCard: Jr,
4863
- uiTable: vn,
4864
- uiTabs: Cn,
4866
+ uiStripedCard: Er,
4867
+ uiTable: hn,
4868
+ uiTabs: _n,
4865
4869
  uiTag: H,
4866
4870
  uiTaskList: wo,
4867
4871
  uiTextArea: fs,
4868
- uiTimeline: Zn,
4872
+ uiTimeline: Un,
4869
4873
  uiToggle: bs,
4870
- uiTopbar: fa,
4871
- uiWrapper: gd
4874
+ uiTopbar: ma,
4875
+ uiWrapper: ud
4872
4876
  }, Symbol.toStringTag, { value: "Module" }));
4873
- function pd(p) {
4877
+ function gd(p) {
4874
4878
  for (const i in Ne)
4875
4879
  p.component(i, Ne[i]);
4876
4880
  }
4877
- const kd = { install: pd };
4881
+ const wd = { install: gd };
4878
4882
  export {
4879
- kd as default,
4883
+ wd as default,
4880
4884
  Ms as uiAlert,
4881
4885
  Ys as uiBreadcrumbs,
4882
4886
  G as uiButton,
4883
4887
  Rs as uiCard,
4884
- Jl as uiChart,
4888
+ El as uiChart,
4885
4889
  Re as uiCheckbox,
4886
- mi as uiCircleChart,
4887
- hi as uiDateRange,
4888
- Ni as uiDeviceStatus,
4889
- si as uiDragAndDrop,
4890
+ ci as uiCircleChart,
4891
+ pi as uiDateRange,
4892
+ zi as uiDeviceStatus,
4893
+ ei as uiDragAndDrop,
4890
4894
  Ce as uiDropdown,
4891
- md as uiDynamicStats,
4895
+ cd as uiDynamicStats,
4892
4896
  Hs as uiFilter,
4893
- Kl as uiFooter,
4894
- _a as uiFunnelChartV2,
4895
- Ja as uiGallery,
4897
+ Gl as uiFooter,
4898
+ xa as uiFunnelChartV2,
4899
+ Ea as uiGallery,
4896
4900
  j as uiIcon,
4897
4901
  J as uiInput,
4898
4902
  ss as uiInputFile,
4899
- Xl as uiLoadingScreen,
4903
+ Ql as uiLoadingScreen,
4900
4904
  We as uiModal,
4901
- Ba as uiNoResults,
4905
+ Ca as uiNoResults,
4902
4906
  io as uiNotification,
4903
- mr as uiPagination,
4907
+ cr as uiPagination,
4904
4908
  Ll as uiPriceCalendar,
4905
- xi as uiRangeSlider,
4906
- Ia as uiRightSidebar,
4907
- _i as uiSectionTitle,
4909
+ bi as uiRangeSlider,
4910
+ Ya as uiRightSidebar,
4911
+ xi as uiSectionTitle,
4908
4912
  as as uiSelect,
4909
- Sr as uiSidebar,
4913
+ $r as uiSidebar,
4910
4914
  Qe as uiStats,
4911
- Jr as uiStripedCard,
4912
- vn as uiTable,
4913
- Cn as uiTabs,
4915
+ Er as uiStripedCard,
4916
+ hn as uiTable,
4917
+ _n as uiTabs,
4914
4918
  H as uiTag,
4915
4919
  wo as uiTaskList,
4916
4920
  fs as uiTextArea,
4917
- Zn as uiTimeline,
4921
+ Un as uiTimeline,
4918
4922
  bs as uiToggle,
4919
- fa as uiTopbar,
4920
- gd as uiWrapper
4923
+ ma as uiTopbar,
4924
+ ud as uiWrapper
4921
4925
  };