@hotelinking/ui 10.41.10 → 10.41.12

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 +723 -724
  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,7 +2292,7 @@ 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
  }, [
@@ -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 = /* @__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: {},
@@ -2333,15 +2333,15 @@ const oe = /* @__PURE__ */ te(sl, [["render", ll]]), rl = {
2333
2333
  range: {},
2334
2334
  horizontal: { type: Boolean, default: !1 },
2335
2335
  stacked: { type: Boolean, default: !1 },
2336
- height: { default: 420 },
2336
+ height: { default: 320 },
2337
2337
  annotations: {}
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 p-4 bg-white shadow rounded-lg overflow-hidden 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,55 +2461,54 @@ 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
- class: "h-full",
2499
- type: M.type,
2498
+ class: "chart",
2499
+ type: B.type,
2500
2500
  series: v.value,
2501
- width: "100%",
2502
- height: "100%",
2501
+ height: B.height,
2503
2502
  options: k.value,
2504
2503
  onUpdated: O,
2505
2504
  onMounted: O,
2506
2505
  onDataPointSelection: A
2507
- }, null, 8, ["type", "series", "options"])
2506
+ }, null, 8, ["type", "series", "height", "options"])
2508
2507
  ], 512), [
2509
- [D, !M.empty]
2508
+ [D, !B.empty]
2510
2509
  ]),
2511
2510
  C(e("div", {
2512
- class: h(["h-[" + M.height + "px]", "w-full flex items-center justify-center flex-col"])
2511
+ class: h(["h-[" + B.height + "px]", "w-full flex items-center justify-center flex-col"])
2513
2512
  }, [
2514
2513
  m(j, {
2515
2514
  icon: u(U),
@@ -2519,13 +2518,13 @@ const oe = /* @__PURE__ */ te(sl, [["render", ll]]), rl = {
2519
2518
  }, null, 8, ["icon"]),
2520
2519
  S[3] || (S[3] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data for this time frame", -1))
2521
2520
  ], 2), [
2522
- [D, M.empty]
2521
+ [D, B.empty]
2523
2522
  ])
2524
2523
  ], 2), [
2525
- [D, !M.loading]
2524
+ [D, !B.loading]
2526
2525
  ]),
2527
2526
  C(e("div", {
2528
- 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 h-80"])
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"])
2529
2528
  }, S[4] || (S[4] = [
2530
2529
  e("div", {
2531
2530
  role: "status",
@@ -2553,15 +2552,15 @@ const oe = /* @__PURE__ */ te(sl, [["render", ll]]), rl = {
2553
2552
  ])
2554
2553
  ], -1)
2555
2554
  ]), 2), [
2556
- [D, M.loading]
2555
+ [D, B.loading]
2557
2556
  ])
2558
2557
  ], 64));
2559
2558
  }
2560
2559
  }), Zl = {
2561
2560
  name: "uiFooter"
2562
2561
  }, Jl = { class: "bg-white" };
2563
- function Wl(p, i, o, a, n, l) {
2564
- return s(), r("footer", Jl, i[0] || (i[0] = [
2562
+ function Wl(p, i, l, a, r, o) {
2563
+ return s(), n("footer", Jl, i[0] || (i[0] = [
2565
2564
  e("div", { class: "mx-auto py-6 px-4 sm:px-6 md:flex md:items-center md:justify-between lg:px-8" }, [
2566
2565
  e("div", { class: "mt-8 md:mt-0 md:order-1" }, [
2567
2566
  e("p", { class: "text-center text-base text-gray-400" }, "© Made by Hotelinking.")
@@ -2569,7 +2568,7 @@ function Wl(p, i, o, a, n, l) {
2569
2568
  ], -1)
2570
2569
  ]));
2571
2570
  }
2572
- const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
2571
+ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ M({
2573
2572
  __name: "uiLoadingScreen",
2574
2573
  props: {
2575
2574
  title: {},
@@ -2577,13 +2576,13 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
2577
2576
  fixed: { type: Boolean, default: !0 }
2578
2577
  },
2579
2578
  setup(p) {
2580
- return (i, o) => (s(), r("div", {
2579
+ return (i, l) => (s(), n("div", {
2581
2580
  class: h([
2582
2581
  { fixed: i.fixed },
2583
2582
  "load-screen h-full w-full top-0 left-0 z-[100] flex flex-col items-center justify-center bg-gray-50"
2584
2583
  ])
2585
2584
  }, [
2586
- 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" }, [
2587
2586
  e("img", {
2588
2587
  src: "https://images.hotelinking.com/ui/loader.gif",
2589
2588
  alt: "loading animation"
@@ -2612,7 +2611,7 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
2612
2611
  }, ar = { class: "sr-only" }, ir = ["onClick"], dr = { class: "sr-only" }, ur = {
2613
2612
  key: 1,
2614
2613
  class: "py-6 flex flex-row justify-between items-center animate-pulse"
2615
- }, cr = /* @__PURE__ */ B({
2614
+ }, cr = /* @__PURE__ */ M({
2616
2615
  __name: "uiPagination",
2617
2616
  props: {
2618
2617
  current: {},
@@ -2621,20 +2620,20 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
2621
2620
  },
2622
2621
  emits: ["changePage"],
2623
2622
  setup(p, { emit: i }) {
2624
- const o = i, a = p, n = N(3), l = V(
2625
- () => 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))
2626
2625
  ), t = V(
2627
- () => Math.min(Number(a.current) + Number(n.value), Number(a.total))
2626
+ () => Math.min(Number(a.current) + Number(r.value), Number(a.total))
2628
2627
  ), c = V(() => {
2629
2628
  let d = [];
2630
- for (let f = Number(l.value); f <= Number(t.value); f++)
2629
+ for (let f = Number(o.value); f <= Number(t.value); f++)
2631
2630
  d.push(f);
2632
2631
  return d;
2633
2632
  });
2634
- return (d, f) => d.loading ? (s(), r("div", ur, f[2] || (f[2] = [
2633
+ return (d, f) => d.loading ? (s(), n("div", ur, f[2] || (f[2] = [
2635
2634
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/5" }, null, -1),
2636
2635
  e("div", { class: "h-10 w-32 bg-gray-200 rounded dark:bg-gray-300" }, null, -1)
2637
- ]))) : (s(), r("div", Kl, [
2636
+ ]))) : (s(), n("div", Kl, [
2638
2637
  e("div", Xl, [
2639
2638
  e("a", er, [
2640
2639
  q(d.$slots, "previous")
@@ -2655,7 +2654,7 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
2655
2654
  e("div", null, [
2656
2655
  e("nav", nr, [
2657
2656
  C(e("button", {
2658
- onClick: f[0] || (f[0] = (v) => o("changePage", d.current - 1)),
2657
+ onClick: f[0] || (f[0] = (v) => l("changePage", d.current - 1)),
2659
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"
2660
2659
  }, [
2661
2660
  e("span", ar, [
@@ -2668,8 +2667,8 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
2668
2667
  ], 512), [
2669
2668
  [D, d.current !== 1]
2670
2669
  ]),
2671
- (s(!0), r(x, null, $(c.value, (v) => (s(), r("button", {
2672
- onClick: (k) => o("changePage", v),
2670
+ (s(!0), n(x, null, $(c.value, (v) => (s(), n("button", {
2671
+ onClick: (k) => l("changePage", v),
2673
2672
  key: v,
2674
2673
  "aria-current": "page",
2675
2674
  class: h([[
@@ -2677,7 +2676,7 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
2677
2676
  ], "relative inline-flex items-center px-4 py-2 border text-sm font-medium"])
2678
2677
  }, g(v), 11, ir))), 128)),
2679
2678
  C(e("button", {
2680
- onClick: f[1] || (f[1] = (v) => o("changePage", d.current + 1)),
2679
+ onClick: f[1] || (f[1] = (v) => l("changePage", d.current + 1)),
2681
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"
2682
2681
  }, [
2683
2682
  e("span", dr, [
@@ -2713,7 +2712,7 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
2713
2712
  }, kr = {
2714
2713
  key: 1,
2715
2714
  class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2"
2716
- }, _r = { class: "h-12 flex flex-row items-center" }, $r = /* @__PURE__ */ B({
2715
+ }, _r = { class: "h-12 flex flex-row items-center" }, $r = /* @__PURE__ */ M({
2717
2716
  __name: "uiSidebar",
2718
2717
  props: {
2719
2718
  navigation: {},
@@ -2724,40 +2723,40 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
2724
2723
  },
2725
2724
  emits: ["sideBarClick"],
2726
2725
  setup(p, { emit: i }) {
2727
- const o = i;
2728
- return (a, n) => (s(), r("div", gr, [
2726
+ const l = i;
2727
+ return (a, r) => (s(), n("div", gr, [
2729
2728
  e("div", mr, [
2730
2729
  e("div", pr, [
2731
2730
  e("nav", fr, [
2732
- a.loading ? (s(), r(x, { key: 1 }, $(5, (l) => e("div", _r, n[1] || (n[1] = [
2731
+ a.loading ? (s(), n(x, { key: 1 }, $(5, (o) => e("div", _r, r[1] || (r[1] = [
2733
2732
  e("div", { class: "w-6 h-6 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 mr-4" }, null, -1),
2734
2733
  e("div", { class: "h-3 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 grow" }, null, -1)
2735
- ]))), 64)) : (s(!0), r(x, { key: 0 }, $(a.navigation, (l) => (s(), r(x, {
2736
- key: l.name
2734
+ ]))), 64)) : (s(!0), n(x, { key: 0 }, $(a.navigation, (o) => (s(), n(x, {
2735
+ key: o.name
2737
2736
  }, [
2738
- l.children ? (s(), _(u(ke), {
2737
+ o.children ? (s(), _(u(ke), {
2739
2738
  key: 1,
2740
2739
  as: "div",
2741
2740
  class: "space-y-1"
2742
2741
  }, {
2743
2742
  default: y(({ open: t }) => [
2744
2743
  m(u(E), {
2745
- 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"])
2746
2745
  }, {
2747
2746
  default: y(() => [
2748
- l.icon ? (s(), _(j, {
2747
+ o.icon ? (s(), _(j, {
2749
2748
  key: 0,
2750
2749
  loading: a.loading,
2751
- icon: l.icon,
2750
+ icon: o.icon,
2752
2751
  class: h([
2753
- 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",
2754
2753
  "mr-3 flex-shrink-0 h-6 w-6"
2755
2754
  ]),
2756
2755
  "aria-hidden": "true"
2757
2756
  }, null, 8, ["loading", "icon", "class"])) : b("", !0),
2758
- a.loading ? (s(), r("div", wr, n[0] || (n[0] = [
2757
+ a.loading ? (s(), n("div", wr, r[0] || (r[0] = [
2759
2758
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, null, -1)
2760
- ]))) : (s(), r("span", br, g(l.name), 1)),
2759
+ ]))) : (s(), n("span", br, g(o.name), 1)),
2761
2760
  m(u(ee), {
2762
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"])
2763
2762
  }, null, 8, ["class"])
@@ -2766,13 +2765,13 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
2766
2765
  }, 1032, ["class"]),
2767
2766
  m(u(_e), { class: "space-y-1" }, {
2768
2767
  default: y(() => [
2769
- (s(!0), r(x, null, $(l.children, (c) => (s(), _(u(E), {
2770
- 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),
2771
2770
  key: c.name,
2772
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"])
2773
2772
  }, {
2774
2773
  default: y(() => [
2775
- a.loading ? (s(), r("div", kr)) : (s(), r("span", xr, g(c.name), 1))
2774
+ a.loading ? (s(), n("div", kr)) : (s(), n("span", xr, g(c.name), 1))
2776
2775
  ]),
2777
2776
  _: 2
2778
2777
  }, 1032, ["onClick", "class"]))), 128))
@@ -2781,25 +2780,25 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
2781
2780
  }, 1024)
2782
2781
  ]),
2783
2782
  _: 2
2784
- }, 1024)) : (s(), r("div", hr, [
2783
+ }, 1024)) : (s(), n("div", hr, [
2785
2784
  e("button", {
2786
- onClick: (t) => o("sideBarClick", l.id),
2785
+ onClick: (t) => l("sideBarClick", o.id),
2787
2786
  class: h([
2788
- 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",
2789
2788
  "group w-full flex items-center pl-2 py-2 text-sm font-medium rounded-md"
2790
2789
  ])
2791
2790
  }, [
2792
- l.icon ? (s(), _(j, {
2791
+ o.icon ? (s(), _(j, {
2793
2792
  key: 0,
2794
2793
  loading: a.loading,
2795
- icon: l.icon,
2794
+ icon: o.icon,
2796
2795
  class: h([
2797
- 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",
2798
2797
  "mr-3 flex-shrink-0 h-6 w-6"
2799
2798
  ]),
2800
2799
  "aria-hidden": "true"
2801
2800
  }, null, 8, ["loading", "icon", "class"])) : b("", !0),
2802
- a.loading ? b("", !0) : (s(), r("span", vr, g(l.name), 1))
2801
+ a.loading ? b("", !0) : (s(), n("span", vr, g(o.name), 1))
2803
2802
  ], 10, yr)
2804
2803
  ]))
2805
2804
  ], 64))), 128))
@@ -2811,7 +2810,7 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
2811
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 = {
2812
2811
  key: 0,
2813
2812
  class: "text-black ml-2 flex items-baseline text-sm font-semibold"
2814
- }, 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__ */ 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({
2815
2814
  __name: "uiStats",
2816
2815
  props: {
2817
2816
  item: {},
@@ -2819,13 +2818,13 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
2819
2818
  },
2820
2819
  emits: ["statClick"],
2821
2820
  setup(p, { emit: i }) {
2822
- return (o, a) => o.loading ? (s(), r("div", zr, [
2821
+ return (l, a) => l.loading ? (s(), n("div", zr, [
2823
2822
  e("div", Lr, [
2824
2823
  e("dt", null, [
2825
2824
  e("div", Nr, [
2826
2825
  m(j, {
2827
- loading: o.loading,
2828
- icon: o.item.icon,
2826
+ loading: l.loading,
2827
+ icon: l.item.icon,
2829
2828
  class: "h-6 w-6 text-white",
2830
2829
  "aria-hidden": "true"
2831
2830
  }, null, 8, ["loading", "icon"])
@@ -2838,64 +2837,64 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
2838
2837
  ], -1))
2839
2838
  ])
2840
2839
  ])
2841
- ])) : (s(), r("div", Cr, [
2840
+ ])) : (s(), n("div", Cr, [
2842
2841
  e("div", {
2843
- 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 }])
2844
2843
  }, [
2845
2844
  e("dt", null, [
2846
2845
  e("div", {
2847
2846
  class: h(["absolute rounded-md p-3", {
2848
- "bg-indigo-500": !o.item.color,
2849
- "bg-green-500": o.item.color === "green",
2850
- "bg-red-500": o.item.color === "red",
2851
- "bg-yellow-500": o.item.color === "yellow",
2852
- "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"
2853
2852
  }])
2854
2853
  }, [
2855
2854
  m(j, {
2856
- icon: o.item.icon,
2855
+ icon: l.item.icon,
2857
2856
  class: "h-6 w-6 text-white",
2858
2857
  "aria-hidden": "true",
2859
- loading: o.loading
2858
+ loading: l.loading
2860
2859
  }, null, 8, ["icon", "loading"])
2861
2860
  ], 2),
2862
- e("p", Sr, g(o.item.name), 1)
2861
+ e("p", Sr, g(l.item.name), 1)
2863
2862
  ]),
2864
2863
  e("dd", Br, [
2865
- e("p", Mr, g(o.item.stat), 1),
2866
- o.item.explanation ? (s(), r("p", Dr, g(o.item.explanation), 1)) : b("", !0),
2867
- o.item.changeType ? (s(), r("p", {
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", {
2868
2867
  key: 1,
2869
2868
  class: h([
2870
2869
  {
2871
- "text-green-600": o.item.changeType === "increase",
2872
- "text-red-600": o.item.changeType === "decrease",
2873
- "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"
2874
2873
  },
2875
2874
  "ml-2 flex items-baseline text-sm font-semibold"
2876
2875
  ])
2877
2876
  }, [
2878
- o.item.changeType === "increase" ? (s(), _(u(vt), {
2877
+ l.item.changeType === "increase" ? (s(), _(u(vt), {
2879
2878
  key: 0,
2880
2879
  class: "self-center flex-shrink-0 h-3 w-3 text-green-500",
2881
2880
  "aria-hidden": "true"
2882
2881
  })) : b("", !0),
2883
- o.item.changeType === "decrease" ? (s(), _(u(ht), {
2882
+ l.item.changeType === "decrease" ? (s(), _(u(ht), {
2884
2883
  key: 1,
2885
2884
  class: "self-center flex-shrink-0 h-3 w-3 text-red-500",
2886
2885
  "aria-hidden": "true"
2887
2886
  })) : b("", !0),
2888
- z(" " + g(o.item.change), 1)
2887
+ z(" " + g(l.item.change), 1)
2889
2888
  ], 2)) : b("", !0),
2890
2889
  C(e("div", jr, [
2891
2890
  e("div", Tr, [
2892
2891
  e("span", {
2893
- 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)),
2894
2893
  class: "font-medium text-indigo-600 hover:text-indigo-500 cursor-pointer"
2895
- }, g(o.item.actionText), 1)
2894
+ }, g(l.item.actionText), 1)
2896
2895
  ])
2897
2896
  ], 512), [
2898
- [D, o.item.showFooter]
2897
+ [D, l.item.showFooter]
2899
2898
  ])
2900
2899
  ])
2901
2900
  ], 2)
@@ -2913,7 +2912,7 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
2913
2912
  }, Hr = {
2914
2913
  key: 1,
2915
2914
  class: "overflow-hidden bg-white shadow sm:rounded-lg"
2916
- }, Ur = { class: "border-t border-gray-200" }, Er = /* @__PURE__ */ B({
2915
+ }, Ur = { class: "border-t border-gray-200" }, Er = /* @__PURE__ */ M({
2917
2916
  __name: "uiStripedCard",
2918
2917
  props: {
2919
2918
  title: {},
@@ -2923,13 +2922,13 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
2923
2922
  },
2924
2923
  emits: ["itemClicked"],
2925
2924
  setup(p, { emit: i }) {
2926
- return (o, a) => o.loading ? (s(), r("div", Hr, [
2925
+ return (l, a) => l.loading ? (s(), n("div", Hr, [
2927
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)),
2928
2927
  e("div", Ur, [
2929
2928
  e("dl", null, [
2930
- (s(), r(x, null, $(5, (n) => e("div", {
2931
- key: n,
2932
- 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"]])
2933
2932
  }, a[0] || (a[0] = [
2934
2933
  e("dt", { class: "text-sm font-medium text-gray-500" }, [
2935
2934
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-12" })
@@ -2940,21 +2939,21 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
2940
2939
  ]), 2)), 64))
2941
2940
  ])
2942
2941
  ])
2943
- ])) : (s(), r("div", Ar, [
2942
+ ])) : (s(), n("div", Ar, [
2944
2943
  e("div", Yr, [
2945
- e("h3", Or, g(o.title), 1),
2946
- e("p", Ir, g(o.subtitle), 1)
2944
+ e("h3", Or, g(l.title), 1),
2945
+ e("p", Ir, g(l.subtitle), 1)
2947
2946
  ]),
2948
2947
  e("div", Pr, [
2949
2948
  e("dl", null, [
2950
- (s(!0), r(x, null, $(o.items, (n, l) => (s(), r("div", {
2951
- key: l,
2952
- 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"]])
2953
2952
  }, [
2954
- e("dt", Vr, g(n.title), 1),
2955
- n.type === "tags" ? (s(), r("dd", Fr, [
2956
- (s(!0), r(x, null, $(n.tags, (t, c) => (s(), _(H, {
2957
- 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,
2958
2957
  key: c,
2959
2958
  color: t.color,
2960
2959
  class: "mr-2 mb-2"
@@ -2964,11 +2963,11 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
2964
2963
  ]),
2965
2964
  _: 2
2966
2965
  }, 1032, ["loading", "color"]))), 128))
2967
- ])) : n.type === "link" ? (s(), r("dd", {
2966
+ ])) : r.type === "link" ? (s(), n("dd", {
2968
2967
  key: 1,
2969
2968
  class: "mt-1 text-sm text-indigo-600 hover:text-indigo-400 sm:col-span-2 sm:mt-0 cursor-pointer",
2970
- onClick: (t) => o.$emit("itemClicked", n.emits)
2971
- }, g(n.text), 9, qr)) : (s(), r("dd", Rr, 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))
2972
2971
  ], 2))), 128))
2973
2972
  ])
2974
2973
  ])
@@ -2983,8 +2982,8 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
2983
2982
  }
2984
2983
  },
2985
2984
  setup(p) {
2986
- return (i, o) => (s(), r("div", Zr, [
2987
- o[0] || (o[0] = e("svg", {
2985
+ return (i, l) => (s(), n("div", Zr, [
2986
+ l[0] || (l[0] = e("svg", {
2988
2987
  class: "absolute -top-3 left-0",
2989
2988
  xmlns: "http://www.w3.org/2000/svg",
2990
2989
  width: "27.687",
@@ -3019,7 +3018,7 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3019
3018
  }, un = { class: "divide-y divide-gray-200 bg-white" }, cn = {
3020
3019
  key: 0,
3021
3020
  class: "absolute inset-y-0 left-0 w-0.5 bg-indigo-600"
3022
- }, gn = ["value"], mn = ["onClick"], pn = ["href"], fn = { key: 3 }, hn = /* @__PURE__ */ B({
3021
+ }, gn = ["value"], mn = ["onClick"], pn = ["href"], fn = { key: 3 }, hn = /* @__PURE__ */ M({
3023
3022
  __name: "uiTable",
3024
3023
  props: {
3025
3024
  resetSelected: { type: Boolean, default: !1 },
@@ -3032,28 +3031,28 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3032
3031
  },
3033
3032
  emits: ["tableAction", "orderBy", "customEmit", "selectedItemsDeleted"],
3034
3033
  setup(p, { emit: i }) {
3035
- let o = N([]), a = N(""), n = N(!1);
3036
- const l = i, t = p, c = V(
3037
- () => 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
3038
3037
  ), d = (k, O) => {
3039
3038
  a.value !== k && O && (a.value = k), O || (a.value = void 0);
3040
3039
  }, f = (k) => {
3041
- o.value = k.target.checked ? t.items.map((O) => O.id) : [];
3040
+ l.value = k.target.checked ? t.items.map((O) => O.id) : [];
3042
3041
  }, v = (k) => {
3043
- l("customEmit", k);
3042
+ o("customEmit", k);
3044
3043
  };
3045
3044
  return R(() => t.resetSelected, (k) => {
3046
- 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"));
3047
3046
  }), (k, O) => {
3048
- var A, M;
3049
- return k.loading ? (s(), _(Ge, { key: 1 })) : (s(), r("div", Gr, [
3047
+ var A, B;
3048
+ return k.loading ? (s(), _(Ge, { key: 1 })) : (s(), n("div", Gr, [
3050
3049
  e("div", Qr, [
3051
3050
  e("div", Kr, [
3052
3051
  e("div", Xr, [
3053
3052
  e("div", en, [
3054
- ((A = u(o)) == null ? void 0 : A.length) > 0 && ((M = k.actions) == null ? void 0 : M.length) > 0 ? (s(), r("div", tn, [
3055
- (s(!0), r(x, null, $(k.actions, (S, P) => (s(), r("button", {
3056
- onClick: (w) => k.$emit("tableAction", { action: S.id, items: u(o) }),
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) }),
3057
3056
  key: P,
3058
3057
  type: "button",
3059
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"
@@ -3066,16 +3065,16 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3066
3065
  scope: "col",
3067
3066
  class: h([k.actions ? "px-6 sm:px-8" : "px-3", "relative"])
3068
3067
  }, [
3069
- k.actions ? (s(), r("input", {
3068
+ k.actions ? (s(), n("input", {
3070
3069
  key: 0,
3071
- checked: c.value || u(o).length === k.items.length,
3070
+ checked: c.value || u(l).length === k.items.length,
3072
3071
  indeterminate: c.value,
3073
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",
3074
3073
  type: "checkbox",
3075
3074
  onChange: f
3076
3075
  }, null, 40, rn)) : b("", !0)
3077
3076
  ], 2),
3078
- (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", {
3079
3078
  key: P,
3080
3079
  class: "py-3.5 pr-3 text-left font-semibold text-gray-900 relative",
3081
3080
  scope: "col",
@@ -3088,10 +3087,10 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3088
3087
  }, null, 8, ["tip"])), [
3089
3088
  [D, u(a) === S.name]
3090
3089
  ]) : b("", !0),
3091
- S.value ? (s(), r("button", {
3090
+ S.value ? (s(), n("button", {
3092
3091
  key: 1,
3093
3092
  class: "group flex items-center uppercase text-xs relative text-nowrap",
3094
- 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" })
3095
3094
  }, [
3096
3095
  e("span", null, g(S.name), 1),
3097
3096
  e("span", {
@@ -3105,41 +3104,41 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3105
3104
  color: S.value === k.orderedBy ? "white" : "primary"
3106
3105
  }, null, 8, ["icon", "loading", "color"])
3107
3106
  ], 2)
3108
- ], 8, an)) : (s(), r("p", dn, [
3107
+ ], 8, an)) : (s(), n("p", dn, [
3109
3108
  e("span", null, g(S.name), 1)
3110
3109
  ]))
3111
3110
  ], 40, nn))), 128))
3112
3111
  ])
3113
3112
  ]),
3114
3113
  e("tbody", un, [
3115
- (s(!0), r(x, null, $(k.items, (S, P) => {
3114
+ (s(!0), n(x, null, $(k.items, (S, P) => {
3116
3115
  var w, I;
3117
- return s(), r("tr", {
3116
+ return s(), n("tr", {
3118
3117
  key: S.id,
3119
3118
  class: h([
3120
- u(o).includes(S.id) && "bg-gray-50",
3119
+ u(l).includes(S.id) && "bg-gray-50",
3121
3120
  P % 2 === 0 ? void 0 : "bg-gray-50"
3122
3121
  ])
3123
3122
  }, [
3124
3123
  e("td", {
3125
3124
  class: h([((w = k.actions) == null ? void 0 : w.length) > 0 ? "w-2" : "w-0", "relative"])
3126
3125
  }, [
3127
- u(o).includes(S.id) ? (s(), r("div", cn)) : b("", !0),
3128
- ((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", {
3129
3128
  key: 1,
3130
- "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),
3131
3130
  value: S.id,
3132
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",
3133
3132
  type: "checkbox"
3134
3133
  }, null, 8, gn)), [
3135
- [Ae, u(o)]
3134
+ [Ae, u(l)]
3136
3135
  ]) : b("", !0)
3137
3136
  ], 2),
3138
- (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", {
3139
3138
  key: se,
3140
3139
  class: h([
3141
3140
  "whitespace-nowrap py-4 pr-3 text-sm",
3142
- u(o).includes(S.id) ? "text-indigo-600" : "text-gray-900"
3141
+ u(l).includes(S.id) ? "text-indigo-600" : "text-gray-900"
3143
3142
  ])
3144
3143
  }, [
3145
3144
  typeof Y == "object" && Y.type === "tag" ? (s(), _(H, {
@@ -3151,15 +3150,15 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3151
3150
  z(g(Y.content), 1)
3152
3151
  ]),
3153
3152
  _: 2
3154
- }, 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", {
3155
3154
  key: 1,
3156
3155
  class: "text-indigo-600 hover:text-indigo-400 cursor-pointer",
3157
3156
  onClick: (L) => v(Y)
3158
- }, g(Y.content), 9, mn)) : typeof Y == "object" && Y.type === "href" ? (s(), r("a", {
3157
+ }, g(Y.content), 9, mn)) : typeof Y == "object" && Y.type === "href" ? (s(), n("a", {
3159
3158
  key: 2,
3160
3159
  class: "text-indigo-600 hover:text-indigo-400 cursor-pointer",
3161
3160
  href: Y.href
3162
- }, g(Y.content), 9, pn)) : (s(), r("span", fn, g(Y), 1))
3161
+ }, g(Y.content), 9, pn)) : (s(), n("span", fn, g(Y), 1))
3163
3162
  ], 2))), 128))
3164
3163
  ], 2);
3165
3164
  }), 128))
@@ -3175,26 +3174,26 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3175
3174
  }), yn = { class: "lg:hidden" }, vn = ["value"], bn = { class: "hidden lg:block" }, wn = { class: "border-b border-gray-200" }, xn = {
3176
3175
  class: "-mb-px flex space-x-8",
3177
3176
  "aria-label": "Tabs"
3178
- }, kn = ["onClick", "aria-current"], _n = /* @__PURE__ */ B({
3177
+ }, kn = ["onClick", "aria-current"], _n = /* @__PURE__ */ M({
3179
3178
  __name: "uiTabs",
3180
3179
  props: {
3181
3180
  tabs: {}
3182
3181
  },
3183
3182
  emits: ["tabClicked"],
3184
3183
  setup(p, { emit: i }) {
3185
- const o = i, a = (n) => {
3186
- const l = n.target;
3187
- l.value && o("tabClicked", l.value);
3184
+ const l = i, a = (r) => {
3185
+ const o = r.target;
3186
+ o.value && l("tabClicked", o.value);
3188
3187
  };
3189
- return (n, l) => (s(), r("div", null, [
3188
+ return (r, o) => (s(), n("div", null, [
3190
3189
  e("div", yn, [
3191
3190
  e("select", {
3192
- onChange: l[0] || (l[0] = (t) => a(t)),
3191
+ onChange: o[0] || (o[0] = (t) => a(t)),
3193
3192
  id: "tabs",
3194
3193
  name: "tabs",
3195
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"
3196
3195
  }, [
3197
- (s(!0), r(x, null, $(n.tabs, (t) => (s(), r("option", {
3196
+ (s(!0), n(x, null, $(r.tabs, (t) => (s(), n("option", {
3198
3197
  value: t.id,
3199
3198
  key: t.name
3200
3199
  }, g(t.name), 9, vn))), 128))
@@ -3203,9 +3202,9 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3203
3202
  e("div", bn, [
3204
3203
  e("div", wn, [
3205
3204
  e("nav", xn, [
3206
- (s(!0), r(x, null, $(n.tabs, (t) => (s(), r("a", {
3205
+ (s(!0), n(x, null, $(r.tabs, (t) => (s(), n("a", {
3207
3206
  key: t.name,
3208
- onClick: (c) => o("tabClicked", t.id),
3207
+ onClick: (c) => l("tabClicked", t.id),
3209
3208
  class: h([
3210
3209
  t.current ? "border-indigo-500 text-indigo-600" : "border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-200",
3211
3210
  "whitespace-nowrap flex py-4 px-1 border-b-2 font-medium text-sm cursor-pointer"
@@ -3213,7 +3212,7 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3213
3212
  "aria-current": t.current ? "page" : void 0
3214
3213
  }, [
3215
3214
  z(g(t.name) + " ", 1),
3216
- t.count ? (s(), r("span", {
3215
+ t.count ? (s(), n("span", {
3217
3216
  key: 0,
3218
3217
  class: h([
3219
3218
  t.current ? "bg-indigo-100 text-indigo-600" : "bg-gray-100 text-gray-900",
@@ -3249,7 +3248,7 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3249
3248
  key: 0,
3250
3249
  class: "absolute left-4 top-4 -ml-px h-full w-0.5 bg-gray-200",
3251
3250
  "aria-hidden": "true"
3252
- }, Un = /* @__PURE__ */ B({
3251
+ }, Un = /* @__PURE__ */ M({
3253
3252
  __name: "uiTimeline",
3254
3253
  props: {
3255
3254
  name: {},
@@ -3261,8 +3260,8 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3261
3260
  emits: ["timelineEventClicked", "timelineFooterClicked"],
3262
3261
  setup(p, { emit: i }) {
3263
3262
  const a = ce(p.timeline);
3264
- return (n, l) => n.loading ? (s(), r("div", Pn, [
3265
- 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" }, [
3266
3265
  e("h1", { class: "text-xl font-bold" }, [
3267
3266
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4" })
3268
3267
  ])
@@ -3270,28 +3269,28 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3270
3269
  e("div", Vn, [
3271
3270
  e("div", Fn, [
3272
3271
  e("ul", qn, [
3273
- (s(), r(x, null, $(10, (t, c) => e("li", { key: c }, [
3272
+ (s(), n(x, null, $(10, (t, c) => e("li", { key: c }, [
3274
3273
  e("div", Rn, [
3275
- t !== 10 ? (s(), r("span", Hn)) : b("", !0),
3276
- 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))
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))
3277
3276
  ])
3278
3277
  ])), 64))
3279
3278
  ])
3280
3279
  ])
3281
3280
  ]),
3282
- 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" }, [
3283
3282
  e("div", { class: "text-sm" }, [
3284
3283
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4" })
3285
3284
  ])
3286
3285
  ], -1))
3287
- ])) : (s(), r("div", {
3286
+ ])) : (s(), n("div", {
3288
3287
  key: 0,
3289
- 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"])
3290
3289
  }, [
3291
3290
  e("div", $n, [
3292
- e("h1", Cn, g(n.name), 1)
3291
+ e("h1", Cn, g(r.name), 1)
3293
3292
  ]),
3294
- a.items ? (s(), r("div", Sn, [
3293
+ a.items ? (s(), n("div", Sn, [
3295
3294
  e("div", Bn, [
3296
3295
  m(et, {
3297
3296
  name: "list",
@@ -3299,18 +3298,18 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3299
3298
  class: "-mb-8"
3300
3299
  }, {
3301
3300
  default: y(() => [
3302
- (s(!0), r(x, null, $(a.items, (t, c) => {
3301
+ (s(!0), n(x, null, $(a.items, (t, c) => {
3303
3302
  var d;
3304
- return s(), r("li", { key: c }, [
3303
+ return s(), n("li", { key: c }, [
3305
3304
  e("div", Mn, [
3306
- c < ((d = a.items) == null ? void 0 : d.length) - 1 ? (s(), r("span", Dn)) : b("", !0),
3305
+ c < ((d = a.items) == null ? void 0 : d.length) - 1 ? (s(), n("span", Dn)) : b("", !0),
3307
3306
  e("div", jn, [
3308
3307
  e("div", null, [
3309
3308
  e("span", {
3310
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"])
3311
3310
  }, [
3312
3311
  m(j, {
3313
- loading: n.loading,
3312
+ loading: r.loading,
3314
3313
  icon: t == null ? void 0 : t.icon,
3315
3314
  "aria-hidden": "true",
3316
3315
  class: "h-5 w-5 text-white",
@@ -3322,7 +3321,7 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3322
3321
  e("div", null, [
3323
3322
  e("p", zn, [
3324
3323
  e("a", {
3325
- onClick: (f) => n.$emit("timelineEventClicked", t.linkId),
3324
+ onClick: (f) => r.$emit("timelineEventClicked", t.linkId),
3326
3325
  class: "font-medium text-indigo-600 hover:text-indigo-800 cursor-pointer"
3327
3326
  }, g(t == null ? void 0 : t.target), 9, Ln),
3328
3327
  z(" " + g(t == null ? void 0 : t.content), 1)
@@ -3343,28 +3342,28 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3343
3342
  })
3344
3343
  ])
3345
3344
  ])) : b("", !0),
3346
- a.items ? (s(), r("div", Yn, [
3345
+ a.items ? (s(), n("div", Yn, [
3347
3346
  e("div", On, [
3348
3347
  e("a", {
3349
3348
  class: "cursor-pointer font-medium text-indigo-600 hover:text-indigo-500",
3350
- onClick: l[0] || (l[0] = (t) => n.$emit("timelineFooterClicked", n.timeline.id))
3351
- }, g(n.timeline.footerText), 1)
3349
+ onClick: o[0] || (o[0] = (t) => r.$emit("timelineFooterClicked", r.timeline.id))
3350
+ }, g(r.timeline.footerText), 1)
3352
3351
  ])
3353
- ])) : (s(), r("div", In, [
3352
+ ])) : (s(), n("div", In, [
3354
3353
  m(j, {
3355
3354
  icon: u(U),
3356
3355
  color: "gray",
3357
3356
  loading: !1,
3358
3357
  size: "huge"
3359
3358
  }, null, 8, ["icon"]),
3360
- 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))
3361
3360
  ]))
3362
3361
  ], 2));
3363
3362
  }
3364
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 = {
3365
3364
  key: 0,
3366
3365
  class: "ml-3"
3367
- }, 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__ */ 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({
3368
3367
  __name: "uiTopbar",
3369
3368
  props: {
3370
3369
  logo: {},
@@ -3376,11 +3375,11 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3376
3375
  },
3377
3376
  emits: ["topBarClick"],
3378
3377
  setup(p, { emit: i }) {
3379
- return (o, a) => (s(), _(u(ke), {
3378
+ return (l, a) => (s(), _(u(ke), {
3380
3379
  as: "nav",
3381
3380
  class: "bg-white shadow z-10"
3382
3381
  }, {
3383
- default: y(({ open: n }) => [
3382
+ default: y(({ open: r }) => [
3384
3383
  e("div", En, [
3385
3384
  e("div", Zn, [
3386
3385
  e("div", Jn, [
@@ -3388,7 +3387,7 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3388
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" }, {
3389
3388
  default: y(() => [
3390
3389
  a[1] || (a[1] = e("span", { class: "sr-only" }, "Open main menu", -1)),
3391
- n ? (s(), _(u(Z), {
3390
+ r ? (s(), _(u(Z), {
3392
3391
  key: 1,
3393
3392
  class: "block h-6 w-6",
3394
3393
  "aria-hidden": "true"
@@ -3403,11 +3402,11 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3403
3402
  ]),
3404
3403
  e("div", {
3405
3404
  class: "flex-shrink-0 flex items-center cursor-pointer",
3406
- onClick: a[0] || (a[0] = (l) => o.$emit("topBarClick", "logo"))
3405
+ onClick: a[0] || (a[0] = (o) => l.$emit("topBarClick", "logo"))
3407
3406
  }, [
3408
3407
  e("img", {
3409
3408
  class: "h-10",
3410
- src: o.logo,
3409
+ src: l.logo,
3411
3410
  alt: "Hotelinking suite product logo"
3412
3411
  }, null, 8, Gn)
3413
3412
  ])
@@ -3425,16 +3424,16 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3425
3424
  C(e("div", Xn, a[2] || (a[2] = [
3426
3425
  e("span", { class: "animate-ping absolute inline-flex h-4 w-4 bg-red-500 rounded-full opacity-75" }, null, -1)
3427
3426
  ]), 512), [
3428
- [D, o.alerted]
3427
+ [D, l.alerted]
3429
3428
  ]),
3430
3429
  e("img", {
3431
3430
  class: "h-10 w-10 rounded-full",
3432
- src: o.accountLogo
3431
+ src: l.accountLogo
3433
3432
  }, null, 8, ea)
3434
3433
  ]),
3435
3434
  _: 1
3436
3435
  }, 512), [
3437
- [D, o.accountLogo]
3436
+ [D, l.accountLogo]
3438
3437
  ])
3439
3438
  ]),
3440
3439
  m(ue, {
@@ -3448,17 +3447,17 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3448
3447
  default: y(() => [
3449
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" }, {
3450
3449
  default: y(() => [
3451
- (s(!0), r(x, null, $(o.profileMenu, (l) => (s(), _(u(ve), {
3452
- key: l.name
3450
+ (s(!0), n(x, null, $(l.profileMenu, (o) => (s(), _(u(ve), {
3451
+ key: o.name
3453
3452
  }, {
3454
3453
  default: y(({ active: t }) => [
3455
3454
  e("p", {
3456
- onClick: (c) => o.$emit("topBarClick", l.id),
3455
+ onClick: (c) => l.$emit("topBarClick", o.id),
3457
3456
  class: h(["cursor-pointer", [
3458
3457
  t ? "bg-gray-100" : "",
3459
3458
  "block px-4 py-2 text-sm text-gray-700"
3460
3459
  ]])
3461
- }, g(l.name), 11, ta)
3460
+ }, g(o.name), 11, ta)
3462
3461
  ]),
3463
3462
  _: 2
3464
3463
  }, 1024))), 128))
@@ -3478,18 +3477,18 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3478
3477
  m(u(_e), { class: "lg:hidden" }, {
3479
3478
  default: y(() => [
3480
3479
  e("div", sa, [
3481
- (s(!0), r(x, null, $(o.navigation, (l) => (s(), _(u(E), {
3480
+ (s(!0), n(x, null, $(l.navigation, (o) => (s(), _(u(E), {
3482
3481
  as: "template",
3483
- key: l.name,
3482
+ key: o.name,
3484
3483
  class: h(["block pl-3 pr-4 py-2 border-l-4 text-base font-medium sm:pl-5 sm:pr-6", {
3485
- "bg-indigo-50 border-indigo-500 text-indigo-700": l.current && l.current === !0,
3486
- "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
3487
3486
  }])
3488
3487
  }, {
3489
3488
  default: y(() => [
3490
3489
  e("p", {
3491
- onClick: (t) => o.$emit("topBarClick", l.id)
3492
- }, g(l.name), 9, oa)
3490
+ onClick: (t) => l.$emit("topBarClick", o.id)
3491
+ }, g(o.name), 9, oa)
3493
3492
  ]),
3494
3493
  _: 2
3495
3494
  }, 1032, ["class"]))), 128))
@@ -3499,24 +3498,24 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3499
3498
  e("div", na, [
3500
3499
  e("img", {
3501
3500
  class: "h-10 w-10 rounded-full",
3502
- src: o.accountLogo
3501
+ src: l.accountLogo
3503
3502
  }, null, 8, aa)
3504
3503
  ]),
3505
- o.brand ? (s(), r("div", ia, [
3506
- e("div", da, g(o.brand.title), 1),
3507
- e("div", ua, 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)
3508
3507
  ])) : b("", !0)
3509
3508
  ]),
3510
3509
  e("div", ca, [
3511
- (s(!0), r(x, null, $(o.profileMenu, (l) => (s(), _(u(E), {
3510
+ (s(!0), n(x, null, $(l.profileMenu, (o) => (s(), _(u(E), {
3512
3511
  as: "template",
3513
- key: l.name,
3512
+ key: o.name,
3514
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"
3515
3514
  }, {
3516
3515
  default: y(() => [
3517
3516
  e("p", {
3518
- onClick: (t) => o.$emit("topBarClick", l.id)
3519
- }, g(l.name), 9, ga)
3517
+ onClick: (t) => l.$emit("topBarClick", o.id)
3518
+ }, g(o.name), 9, ga)
3520
3519
  ]),
3521
3520
  _: 2
3522
3521
  }, 1024))), 128))
@@ -3529,36 +3528,36 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3529
3528
  _: 1
3530
3529
  }));
3531
3530
  }
3532
- }), pa = { class: "chart-selector flex flex-row items-center justify-center" }, fa = /* @__PURE__ */ B({
3531
+ }), pa = { class: "chart-selector flex flex-row items-center justify-center" }, fa = /* @__PURE__ */ M({
3533
3532
  __name: "RangeSelector",
3534
3533
  props: { range: { type: String } },
3535
3534
  emits: ["rangeSelected"],
3536
3535
  setup(p, { emit: i }) {
3537
- const o = i, a = p;
3538
- let n = V(() => a.range);
3539
- const l = (t) => {
3540
- 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);
3541
3540
  };
3542
- return (t, c) => (s(), r("ul", pa, [
3541
+ return (t, c) => (s(), n("ul", pa, [
3543
3542
  e("li", {
3544
- class: h({ selected: u(n) === "24h" }),
3545
- onClick: c[0] || (c[0] = (d) => l("24h"))
3543
+ class: h({ selected: u(r) === "24h" }),
3544
+ onClick: c[0] || (c[0] = (d) => o("24h"))
3546
3545
  }, " 24H ", 2),
3547
3546
  e("li", {
3548
- class: h({ selected: u(n) === "7d" }),
3549
- onClick: c[1] || (c[1] = (d) => l("7d"))
3547
+ class: h({ selected: u(r) === "7d" }),
3548
+ onClick: c[1] || (c[1] = (d) => o("7d"))
3550
3549
  }, "7D", 2),
3551
3550
  e("li", {
3552
- class: h({ selected: u(n) === "1m" }),
3553
- onClick: c[2] || (c[2] = (d) => l("1m"))
3551
+ class: h({ selected: u(r) === "1m" }),
3552
+ onClick: c[2] || (c[2] = (d) => o("1m"))
3554
3553
  }, "1M", 2),
3555
3554
  e("li", {
3556
- class: h({ selected: u(n) === "3m" }),
3557
- onClick: c[3] || (c[3] = (d) => l("3m"))
3555
+ class: h({ selected: u(r) === "3m" }),
3556
+ onClick: c[3] || (c[3] = (d) => o("3m"))
3558
3557
  }, "3M", 2)
3559
3558
  ]));
3560
3559
  }
3561
- }), 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__ */ 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({
3562
3561
  __name: "uiFunnelChartV2",
3563
3562
  props: {
3564
3563
  labels: {},
@@ -3580,8 +3579,8 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3580
3579
  },
3581
3580
  emits: ["selectedRange", "chartUpdated", "dataPointSelection", "maximizeChart"],
3582
3581
  setup(p, { emit: i }) {
3583
- const o = i, a = p;
3584
- let n = {
3582
+ const l = i, a = p;
3583
+ let r = {
3585
3584
  chart: {
3586
3585
  type: "bar",
3587
3586
  toolbar: {
@@ -3616,10 +3615,10 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3616
3615
  }
3617
3616
  }
3618
3617
  };
3619
- const l = V(() => ({ ...a.options, ...n })), t = V(() => a.series), c = () => o("chartUpdated"), d = (f, v, k) => {
3620
- 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 });
3621
3620
  };
3622
- return (f, v) => (s(), r(x, null, [
3621
+ return (f, v) => (s(), n(x, null, [
3623
3622
  C(e("div", {
3624
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"])
3625
3624
  }, [
@@ -3636,7 +3635,7 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3636
3635
  series: t.value,
3637
3636
  width: "100%",
3638
3637
  height: f.height,
3639
- options: l.value,
3638
+ options: o.value,
3640
3639
  onUpdated: c,
3641
3640
  onMounted: c,
3642
3641
  onDataPointSelection: d
@@ -3689,7 +3688,7 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3689
3688
  ])
3690
3689
  ], 64));
3691
3690
  }
3692
- }), 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__ */ 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({
3693
3692
  __name: "uiNoResults",
3694
3693
  props: {
3695
3694
  title: {},
@@ -3700,7 +3699,7 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3700
3699
  },
3701
3700
  emits: ["action", "noResultsOptionSelected"],
3702
3701
  setup(p) {
3703
- return (i, o) => (s(), r("div", ka, [
3702
+ return (i, l) => (s(), n("div", ka, [
3704
3703
  m(j, {
3705
3704
  loading: !1,
3706
3705
  icon: u(U),
@@ -3710,10 +3709,10 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3710
3709
  e("h2", _a, g(i.title), 1),
3711
3710
  e("p", null, g(i.message), 1),
3712
3711
  e("div", $a, [
3713
- (s(!0), r(x, null, $(i.actions, (a, n) => (s(), _(G, {
3714
- key: n,
3712
+ (s(!0), n(x, null, $(i.actions, (a, r) => (s(), _(G, {
3713
+ key: r,
3715
3714
  loading: !1,
3716
- onClick: (l) => i.$emit("action", a.action)
3715
+ onClick: (o) => i.$emit("action", a.action)
3717
3716
  }, {
3718
3717
  default: y(() => [
3719
3718
  z(g(a.text), 1)
@@ -3724,12 +3723,12 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3724
3723
  key: 0,
3725
3724
  items: i.items,
3726
3725
  loading: !1,
3727
- onOptionSelected: o[0] || (o[0] = (a) => i.$emit("noResultsOptionSelected", a))
3726
+ onOptionSelected: l[0] || (l[0] = (a) => i.$emit("noResultsOptionSelected", a))
3728
3727
  }, null, 8, ["items"])) : b("", !0)
3729
3728
  ])
3730
3729
  ]));
3731
3730
  }
3732
- }), 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__ */ 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({
3733
3732
  __name: "uiRightSidebar",
3734
3733
  props: {
3735
3734
  title: {},
@@ -3738,15 +3737,15 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3738
3737
  },
3739
3738
  emits: ["closeRightBar"],
3740
3739
  setup(p, { emit: i }) {
3741
- return (o, a) => (s(), _(u(be), {
3740
+ return (l, a) => (s(), _(u(be), {
3742
3741
  as: "template",
3743
- show: o.open
3742
+ show: l.open
3744
3743
  }, {
3745
3744
  default: y(() => [
3746
3745
  m(u(we), {
3747
3746
  as: "div",
3748
3747
  class: "relative z-10",
3749
- onClose: a[1] || (a[1] = (n) => o.$emit("closeRightBar"))
3748
+ onClose: a[1] || (a[1] = (r) => l.$emit("closeRightBar"))
3750
3749
  }, {
3751
3750
  default: y(() => [
3752
3751
  a[4] || (a[4] = e("div", { class: "fixed inset-0" }, null, -1)),
@@ -3770,7 +3769,7 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3770
3769
  e("div", Ta, [
3771
3770
  m(u(qe), { class: "text-base font-semibold leading-6 text-white" }, {
3772
3771
  default: y(() => [
3773
- z(g(o.title), 1)
3772
+ z(g(l.title), 1)
3774
3773
  ]),
3775
3774
  _: 1
3776
3775
  }),
@@ -3778,7 +3777,7 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3778
3777
  e("button", {
3779
3778
  type: "button",
3780
3779
  class: "relative rounded-md bg-indigo-700 text-indigo-200 hover:text-white outline-none",
3781
- onClick: a[0] || (a[0] = (n) => o.$emit("closeRightBar"))
3780
+ onClick: a[0] || (a[0] = (r) => l.$emit("closeRightBar"))
3782
3781
  }, [
3783
3782
  a[2] || (a[2] = e("span", { class: "absolute -inset-2.5" }, null, -1)),
3784
3783
  a[3] || (a[3] = e("span", { class: "sr-only" }, "Close panel", -1)),
@@ -3790,11 +3789,11 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3790
3789
  ])
3791
3790
  ]),
3792
3791
  e("div", La, [
3793
- e("p", Na, g(o.description), 1)
3792
+ e("p", Na, g(l.description), 1)
3794
3793
  ])
3795
3794
  ]),
3796
3795
  e("div", Aa, [
3797
- q(o.$slots, "default")
3796
+ q(l.$slots, "default")
3798
3797
  ])
3799
3798
  ])
3800
3799
  ]),
@@ -3821,7 +3820,7 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3821
3820
  key: 2,
3822
3821
  role: "list",
3823
3822
  class: "grid grid-cols-2 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-4 lg:grid-cols-6"
3824
- }, Ea = /* @__PURE__ */ B({
3823
+ }, Ea = /* @__PURE__ */ M({
3825
3824
  __name: "uiGallery",
3826
3825
  props: {
3827
3826
  galleryId: {},
@@ -3831,32 +3830,32 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3831
3830
  },
3832
3831
  emits: ["modalAction", "deleteImage", "imgClicked"],
3833
3832
  setup(p, { emit: i }) {
3834
- const o = i, a = N(!1), n = (l) => {
3835
- a.value = !1, o("modalAction", l);
3833
+ const l = i, a = N(!1), r = (o) => {
3834
+ a.value = !1, l("modalAction", o);
3836
3835
  };
3837
- return (l, t) => (s(), r("div", Oa, [
3838
- l.loading ? b("", !0) : (s(), _(We, {
3836
+ return (o, t) => (s(), n("div", Oa, [
3837
+ o.loading ? b("", !0) : (s(), _(We, {
3839
3838
  key: 0,
3840
3839
  open: a.value,
3841
3840
  modalName: "deleteAllImagesModal",
3842
- title: l.literals.modalTitle,
3841
+ title: o.literals.modalTitle,
3843
3842
  type: "warning",
3844
- actions: [{ value: "close", name: l.literals.closeAction }, { value: `deleteGallery_${l.galleryId}`, name: l.literals.deleteAction }],
3845
- 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))
3846
3845
  }, {
3847
3846
  default: y(() => [
3848
- e("p", null, g(l.literals.modalText), 1)
3847
+ e("p", null, g(o.literals.modalText), 1)
3849
3848
  ]),
3850
3849
  _: 1
3851
3850
  }, 8, ["open", "title", "actions"])),
3852
- l.loading ? (s(), r("ul", Ua, [
3853
- (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] = [
3854
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),
3855
3854
  e("p", { class: "animate-pulse h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28 mt-4" }, null, -1),
3856
3855
  e("p", { class: "animate-pulse h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-14 mt-2" }, null, -1)
3857
3856
  ]))), 64))
3858
- ])) : (s(), r("ul", Ia, [
3859
- (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", {
3860
3859
  key: c.source,
3861
3860
  class: "relative"
3862
3861
  }, [
@@ -3869,7 +3868,7 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3869
3868
  e("button", {
3870
3869
  type: "button",
3871
3870
  class: "absolute inset-0 focus:outline-none",
3872
- onClick: (d) => l.$emit("imgClicked", c)
3871
+ onClick: (d) => o.$emit("imgClicked", c)
3873
3872
  }, null, 8, Fa)
3874
3873
  ]),
3875
3874
  e("p", qa, g(c.title), 1),
@@ -3880,12 +3879,12 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3880
3879
  icon: u(Dt),
3881
3880
  color: "red",
3882
3881
  loading: !1,
3883
- onClick: (d) => l.$emit("deleteImage", c)
3882
+ onClick: (d) => o.$emit("deleteImage", c)
3884
3883
  }, null, 8, ["icon", "onClick"])
3885
3884
  ])
3886
3885
  ]))), 128))
3887
3886
  ])),
3888
- l.gallery.length > 0 && !l.loading ? (s(), _(G, {
3887
+ o.gallery.length > 0 && !o.loading ? (s(), _(G, {
3889
3888
  key: 3,
3890
3889
  onClick: t[1] || (t[1] = (c) => a.value = !0),
3891
3890
  class: "mt-8",
@@ -3894,7 +3893,7 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3894
3893
  size: "small"
3895
3894
  }, {
3896
3895
  default: y(() => [
3897
- z(g(l.literals.deleteAllImages), 1)
3896
+ z(g(o.literals.deleteAllImages), 1)
3898
3897
  ]),
3899
3898
  _: 1
3900
3899
  })) : b("", !0)
@@ -3903,7 +3902,7 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3903
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 = {
3904
3903
  key: 1,
3905
3904
  class: "animate-pulse"
3906
- }, ei = /* @__PURE__ */ B({
3905
+ }, ei = /* @__PURE__ */ M({
3907
3906
  __name: "uiDragAndDrop",
3908
3907
  props: {
3909
3908
  elements: {},
@@ -3911,22 +3910,22 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3911
3910
  },
3912
3911
  emits: ["dragAndDropUpdated"],
3913
3912
  setup(p, { emit: i }) {
3914
- const o = i, a = p;
3915
- let n = N(a.elements);
3913
+ const l = i, a = p;
3914
+ let r = N(a.elements);
3916
3915
  R(() => a.elements, (t) => {
3917
- n.value = t;
3916
+ r.value = t;
3918
3917
  });
3919
- const l = (t) => {
3920
- o("dragAndDropUpdated", t);
3918
+ const o = (t) => {
3919
+ l("dragAndDropUpdated", t);
3921
3920
  };
3922
- return (t, c) => t.loading ? (s(), r("div", Xa, c[2] || (c[2] = [
3921
+ return (t, c) => t.loading ? (s(), n("div", Xa, c[2] || (c[2] = [
3923
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)
3924
3923
  ]))) : (s(), _(u(nt), {
3925
3924
  key: 0,
3926
- modelValue: u(n),
3925
+ modelValue: u(r),
3927
3926
  "onUpdate:modelValue": [
3928
- c[0] || (c[0] = (d) => Ye(n) ? n.value = d : n = d),
3929
- 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))
3930
3929
  ]
3931
3930
  }, {
3932
3931
  item: y(({ item: d }) => [
@@ -3941,16 +3940,16 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3941
3940
  }, null, 8, ["icon"]),
3942
3941
  e("div", Wa, [
3943
3942
  e("p", Ga, g(d.name), 1),
3944
- d.description ? (s(), r("p", Qa, g(d.description), 1)) : b("", !0)
3943
+ d.description ? (s(), n("p", Qa, g(d.description), 1)) : b("", !0)
3945
3944
  ]),
3946
- e("div", Ka, g(u(n).indexOf(d) + 1), 1)
3945
+ e("div", Ka, g(u(r).indexOf(d) + 1), 1)
3947
3946
  ])
3948
3947
  ])
3949
3948
  ]),
3950
3949
  _: 1
3951
3950
  }, 8, ["modelValue"]));
3952
3951
  }
3953
- }), 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__ */ 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({
3954
3953
  __name: "uiCircleChart",
3955
3954
  props: {
3956
3955
  labels: {},
@@ -3972,10 +3971,10 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
3972
3971
  },
3973
3972
  emits: ["selectedRange", "chartUpdated", "dataPointSelection", "maximizeChart"],
3974
3973
  setup(p, { emit: i }) {
3975
- const o = i, a = p, n = N((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":")));
3976
- 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 });
3977
3976
  R(() => a.dates, (A) => {
3978
- A && (l = A);
3977
+ A && (o = A);
3979
3978
  });
3980
3979
  let t = {
3981
3980
  chart: {
@@ -4009,12 +4008,12 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
4009
4008
  }
4010
4009
  }
4011
4010
  };
4012
- const c = () => ({ ...t, ...a.options }), d = V(() => a.series), f = V(() => c()), v = () => o("chartUpdated"), k = (A, M, S) => {
4013
- 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 });
4014
4013
  }, O = () => {
4015
- 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 });
4016
4015
  };
4017
- return (A, M) => (s(), r(x, null, [
4016
+ return (A, B) => (s(), n(x, null, [
4018
4017
  C(e("div", {
4019
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"])
4020
4019
  }, [
@@ -4024,27 +4023,27 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
4024
4023
  e("div", li, [
4025
4024
  C(e("input", {
4026
4025
  type: "datetime-local",
4027
- "onUpdate:modelValue": M[0] || (M[0] = (S) => u(l).from = S),
4028
- max: n.value.toString(),
4026
+ "onUpdate:modelValue": B[0] || (B[0] = (S) => u(o).from = S),
4027
+ max: r.value.toString(),
4029
4028
  onChange: O,
4030
4029
  name: "from",
4031
4030
  id: "from",
4032
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"
4033
4032
  }, null, 40, ri), [
4034
- [X, u(l).from]
4033
+ [X, u(o).from]
4035
4034
  ])
4036
4035
  ]),
4037
4036
  e("div", ni, [
4038
4037
  C(e("input", {
4039
4038
  type: "datetime-local",
4040
- "onUpdate:modelValue": M[1] || (M[1] = (S) => u(l).to = S),
4041
- max: n.value.toString(),
4039
+ "onUpdate:modelValue": B[1] || (B[1] = (S) => u(o).to = S),
4040
+ max: r.value.toString(),
4042
4041
  onChange: O,
4043
4042
  name: "to",
4044
4043
  id: "to",
4045
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"
4046
4045
  }, null, 40, ai), [
4047
- [X, u(l).to]
4046
+ [X, u(o).to]
4048
4047
  ])
4049
4048
  ]),
4050
4049
  m(j, {
@@ -4052,7 +4051,7 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
4052
4051
  size: "big",
4053
4052
  loading: A.loading,
4054
4053
  icon: u(He),
4055
- onClick: M[2] || (M[2] = (S) => A.$emit("maximizeChart", A.id))
4054
+ onClick: B[2] || (B[2] = (S) => A.$emit("maximizeChart", A.id))
4056
4055
  }, null, 8, ["loading", "icon"])
4057
4056
  ])
4058
4057
  ]),
@@ -4077,14 +4076,14 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
4077
4076
  loading: !1,
4078
4077
  size: "huge"
4079
4078
  }, null, 8, ["icon"]),
4080
- 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))
4081
4080
  ], 512), [
4082
4081
  [D, A.empty]
4083
4082
  ])
4084
4083
  ], 2), [
4085
4084
  [D, !A.loading]
4086
4085
  ]),
4087
- C(e("div", ui, M[4] || (M[4] = [
4086
+ C(e("div", ui, B[4] || (B[4] = [
4088
4087
  e("div", {
4089
4088
  role: "status",
4090
4089
  class: "w-full animate-pulse h-full flex flex-col"
@@ -4121,7 +4120,7 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
4121
4120
  }, mi = {
4122
4121
  key: 1,
4123
4122
  class: "flex flex-col lg:flex-row w-full gap-y-4 gap-x-2"
4124
- }, pi = /* @__PURE__ */ B({
4123
+ }, pi = /* @__PURE__ */ M({
4125
4124
  __name: "uiDateRange",
4126
4125
  props: {
4127
4126
  id: {},
@@ -4136,16 +4135,16 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
4136
4135
  },
4137
4136
  emits: ["uiDateRangeButtonClicked"],
4138
4137
  setup(p, { emit: i }) {
4139
- const o = p, a = N((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":")));
4140
- let n = ce(o.values || { from: "", to: a });
4141
- const l = i;
4142
- R(() => o.values, (c) => {
4143
- 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);
4144
4143
  });
4145
4144
  const t = () => {
4146
- l("uiDateRangeButtonClicked", n);
4145
+ o("uiDateRangeButtonClicked", r);
4147
4146
  };
4148
- return (c, d) => c.loading ? (s(), r("div", mi, [
4147
+ return (c, d) => c.loading ? (s(), n("div", mi, [
4149
4148
  m(J, {
4150
4149
  name: "dateFrom",
4151
4150
  loading: !0
@@ -4160,19 +4159,19 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
4160
4159
  ])),
4161
4160
  _: 1
4162
4161
  })
4163
- ])) : (s(), r("div", gi, [
4162
+ ])) : (s(), n("div", gi, [
4164
4163
  m(J, {
4165
4164
  type: "datetime-local",
4166
4165
  loading: !1,
4167
4166
  addOn: c.literals.from,
4168
4167
  name: `dateFrom_${c.id}`,
4169
4168
  color: c.color,
4170
- value: u(n).from.toString(),
4169
+ value: u(r).from.toString(),
4171
4170
  error: c.error,
4172
4171
  disabled: c.disabled,
4173
4172
  label: c.label,
4174
4173
  max: a.value.toString(),
4175
- onInputChanged: d[0] || (d[0] = (f) => u(n).from = f.value)
4174
+ onInputChanged: d[0] || (d[0] = (f) => u(r).from = f.value)
4176
4175
  }, null, 8, ["addOn", "name", "color", "value", "error", "disabled", "label", "max"]),
4177
4176
  m(J, {
4178
4177
  type: "datetime-local",
@@ -4181,12 +4180,12 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
4181
4180
  addOn: c.literals.to,
4182
4181
  name: `dateTo_${c.id}`,
4183
4182
  color: c.color,
4184
- value: u(n).to.toString(),
4183
+ value: u(r).to.toString(),
4185
4184
  error: c.error,
4186
4185
  disabled: c.disabled,
4187
4186
  label: void 0,
4188
4187
  max: a.value.toString(),
4189
- onInputChanged: d[1] || (d[1] = (f) => u(n).to = f.value)
4188
+ onInputChanged: d[1] || (d[1] = (f) => u(r).to = f.value)
4190
4189
  }, null, 8, ["class", "addOn", "name", "color", "value", "error", "disabled", "max"]),
4191
4190
  m(G, {
4192
4191
  disabled: c.disabled,
@@ -4211,7 +4210,7 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
4211
4210
  }, vi = {
4212
4211
  key: 1,
4213
4212
  class: "h-2 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 w-full"
4214
- }, bi = /* @__PURE__ */ B({
4213
+ }, bi = /* @__PURE__ */ M({
4215
4214
  __name: "uiRangeSlider",
4216
4215
  props: {
4217
4216
  loading: { type: Boolean, default: !0 },
@@ -4224,23 +4223,23 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
4224
4223
  },
4225
4224
  emits: ["sliderUpdated"],
4226
4225
  setup(p, { emit: i }) {
4227
- const o = i, n = N(p.sliderValue);
4228
- return (l, t) => (s(), r("div", null, [
4226
+ const l = i, r = N(p.sliderValue);
4227
+ return (o, t) => (s(), n("div", null, [
4229
4228
  e("div", fi, [
4230
- l.label ? (s(), r("label", hi, g(l.label), 1)) : b("", !0),
4231
- l.requiredText ? (s(), r("span", yi, g(l.requiredText), 1)) : b("", !0)
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)
4232
4231
  ]),
4233
4232
  e("div", {
4234
- 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"])
4235
4234
  }, [
4236
- l.loading ? (s(), r("p", vi)) : (s(), _(u(at), {
4235
+ o.loading ? (s(), n("p", vi)) : (s(), _(u(at), {
4237
4236
  key: 0,
4238
- modelValue: n.value,
4239
- "onUpdate:modelValue": t[0] || (t[0] = (c) => n.value = c),
4240
- min: l.min,
4241
- max: l.max,
4242
- disabled: l.disabled,
4243
- 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)),
4244
4243
  classes: {
4245
4244
  base: "w-full h-full relative z-1 bg-gray-300 rounded",
4246
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"
@@ -4249,14 +4248,14 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
4249
4248
  ], 2)
4250
4249
  ]));
4251
4250
  }
4252
- }), wi = { class: "mt-1 mb-8 text-sm text-gray-500" }, xi = /* @__PURE__ */ B({
4251
+ }), wi = { class: "mt-1 mb-8 text-sm text-gray-500" }, xi = /* @__PURE__ */ M({
4253
4252
  __name: "uiSectionTitle",
4254
4253
  props: {
4255
4254
  title: {},
4256
4255
  description: {}
4257
4256
  },
4258
4257
  setup(p) {
4259
- return (i, o) => (s(), r(x, null, [
4258
+ return (i, l) => (s(), n(x, null, [
4260
4259
  e("h3", {
4261
4260
  class: h(["text-lg font-medium leading-6 text-gray-900", { "mb-8": i.description === void 0 }])
4262
4261
  }, g(i.title), 3),
@@ -4269,7 +4268,7 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
4269
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 = {
4270
4269
  key: 1,
4271
4270
  class: "col-span-1 flex flex-col divide-y divide-gray-200 rounded-lg bg-white text-center shadow"
4272
- }, 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__ */ 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({
4273
4272
  __name: "uiDeviceStatus",
4274
4273
  props: {
4275
4274
  id: {},
@@ -4282,49 +4281,49 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
4282
4281
  },
4283
4282
  emits: ["deviceStatusTagClicked", "deviceStatusQtyClicked"],
4284
4283
  setup(p, { emit: i }) {
4285
- return (o, a) => o.loading ? (s(), r("div", Bi, [
4284
+ return (l, a) => l.loading ? (s(), n("div", Bi, [
4286
4285
  e("div", Mi, [
4287
4286
  e("div", Di, [
4288
4287
  m(j, {
4289
- icon: o.icon,
4288
+ icon: l.icon,
4290
4289
  size: "huge",
4291
4290
  class: "text-white",
4292
4291
  "aria-hidden": "true",
4293
- loading: o.loading
4292
+ loading: l.loading
4294
4293
  }, null, 8, ["icon", "loading"])
4295
4294
  ]),
4296
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)),
4297
4296
  e("dl", ji, [
4298
4297
  e("dd", Ti, [
4299
- (s(!0), r(x, null, $(o.tags, (n, l) => (s(), _(H, {
4300
- key: l,
4301
- loading: o.loading,
4302
- event: n.event,
4303
- color: n.color,
4304
- onTagEvent: a[2] || (a[2] = (t) => o.$emit("deviceStatusTagClicked", t))
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))
4305
4304
  }, {
4306
4305
  default: y(() => [
4307
- z(g(n.name), 1)
4306
+ z(g(r.name), 1)
4308
4307
  ]),
4309
4308
  _: 2
4310
4309
  }, 1032, ["loading", "event", "color"]))), 128))
4311
4310
  ])
4312
4311
  ])
4313
4312
  ])
4314
- ])) : (s(), r("div", ki, [
4313
+ ])) : (s(), n("div", ki, [
4315
4314
  e("div", _i, [
4316
4315
  e("div", {
4317
4316
  class: h(["rounded-md p-3 flex items-center justify-center mx-auto mb-4", {
4318
- "bg-green-500": !o.color || o.color === "green",
4319
- "bg-red-500": o.color === "red",
4320
- "bg-yellow-500": o.color === "yellow",
4321
- "bg-indigo-500": o.color === "primary",
4322
- "bg-cyan-300": o.color === "secondary",
4323
- "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"
4324
4323
  }])
4325
4324
  }, [
4326
4325
  m(j, {
4327
- icon: o.icon,
4326
+ icon: l.icon,
4328
4327
  size: "huge",
4329
4328
  class: "text-white",
4330
4329
  "aria-hidden": "true",
@@ -4332,25 +4331,25 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
4332
4331
  }, null, 8, ["icon"])
4333
4332
  ], 2),
4334
4333
  e("h3", $i, [
4335
- z(g(o.name) + " ", 1),
4334
+ z(g(l.name) + " ", 1),
4336
4335
  C(e("span", {
4337
4336
  class: "text-indigo-600 hover:text-indigo-900 cursor-pointer",
4338
- onClick: a[0] || (a[0] = (n) => o.$emit("deviceStatusQtyClicked", o.id))
4339
- }, "(" + g(o.qty) + ")", 513), [
4340
- [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]
4341
4340
  ])
4342
4341
  ]),
4343
4342
  e("dl", Ci, [
4344
4343
  e("dd", Si, [
4345
- (s(!0), r(x, null, $(o.tags, (n, l) => (s(), _(H, {
4346
- key: l,
4344
+ (s(!0), n(x, null, $(l.tags, (r, o) => (s(), _(H, {
4345
+ key: o,
4347
4346
  loading: !1,
4348
- event: n.event,
4349
- color: n.color,
4350
- 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))
4351
4350
  }, {
4352
4351
  default: y(() => [
4353
- z(g(n.name), 1)
4352
+ z(g(r.name), 1)
4354
4353
  ]),
4355
4354
  _: 2
4356
4355
  }, 1032, ["event", "color"]))), 128))
@@ -4376,7 +4375,7 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
4376
4375
  }, Hi = { class: "ml-2 space-y-1" }, Ui = { class: "font-bold mb-4" }, Ei = {
4377
4376
  key: 1,
4378
4377
  class: "flex flex-col grow gap-y-5 overflow-y-auto pr-6"
4379
- }, Zi = { class: "h-12 flex flex-row items-center" }, Le = /* @__PURE__ */ B({
4378
+ }, Zi = { class: "h-12 flex flex-row items-center" }, Le = /* @__PURE__ */ M({
4380
4379
  __name: "uiSidebarV2",
4381
4380
  props: {
4382
4381
  navigation: {},
@@ -4388,16 +4387,16 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
4388
4387
  },
4389
4388
  emits: ["productBarClick", "sideBarClick"],
4390
4389
  setup(p, { emit: i }) {
4391
- return (o, a) => (s(), r("div", Li, [
4390
+ return (l, a) => (s(), n("div", Li, [
4392
4391
  e("div", Ni, [
4393
4392
  e("ul", null, [
4394
- (s(!0), r(x, null, $(o.productsSidebar, (n, l) => (s(), r("li", {
4395
- key: l,
4396
- 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"]),
4397
- 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)
4398
4397
  }, [
4399
4398
  m(j, {
4400
- icon: n.icon,
4399
+ icon: r.icon,
4401
4400
  loading: !1,
4402
4401
  color: "white",
4403
4402
  size: "bigger"
@@ -4405,47 +4404,47 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
4405
4404
  ], 10, Ai))), 128))
4406
4405
  ])
4407
4406
  ]),
4408
- o.loading ? (s(), r("div", Ei, [
4409
- (s(), r(x, null, $(5, (n) => e("div", Zi, 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] = [
4410
4409
  e("div", { class: "w-6 h-6 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 mr-4" }, null, -1),
4411
4410
  e("div", { class: "h-3 animate-pulse bg-gray-200 rounded-full w-1/2 dark:bg-gray-300" }, null, -1)
4412
4411
  ]))), 64))
4413
- ])) : (s(), r("div", Yi, [
4412
+ ])) : (s(), n("div", Yi, [
4414
4413
  e("div", Oi, [
4415
4414
  e("img", {
4416
4415
  class: "h-8 w-auto",
4417
- src: o.logo,
4416
+ src: l.logo,
4418
4417
  alt: "Your Company"
4419
4418
  }, null, 8, Ii)
4420
4419
  ]),
4421
4420
  e("nav", Pi, [
4422
- o.isFilterNavigation ? b("", !0) : (s(), r("ul", Vi, [
4421
+ l.isFilterNavigation ? b("", !0) : (s(), n("ul", Vi, [
4423
4422
  e("li", null, [
4424
4423
  e("ul", Fi, [
4425
- (s(!0), r(x, null, $(o.navigation, (n) => (s(), r("li", {
4426
- key: n.name
4424
+ (s(!0), n(x, null, $(l.navigation, (r) => (s(), n("li", {
4425
+ key: r.name
4427
4426
  }, [
4428
- n.children ? (s(), _(u(ke), {
4427
+ r.children ? (s(), _(u(ke), {
4429
4428
  key: 1,
4430
4429
  as: "div"
4431
4430
  }, {
4432
4431
  default: y(() => [
4433
4432
  m(u(E), {
4434
- onClick: (l) => o.$emit("sideBarClick", n.id),
4435
- 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"])
4436
4435
  }, {
4437
4436
  default: y(() => [
4438
4437
  m(j, {
4439
- icon: n.icon,
4438
+ icon: r.icon,
4440
4439
  color: "primary",
4441
4440
  size: "big",
4442
4441
  loading: !1,
4443
4442
  "aria-hidden": "true",
4444
4443
  class: "shrink-0"
4445
4444
  }, null, 8, ["icon"]),
4446
- z(" " + g(n.name) + " ", 1),
4445
+ z(" " + g(r.name) + " ", 1),
4447
4446
  m(u(ee), {
4448
- 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"]),
4449
4448
  "aria-hidden": "true"
4450
4449
  }, null, 8, ["class"])
4451
4450
  ]),
@@ -4458,16 +4457,16 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
4458
4457
  static: ""
4459
4458
  }, {
4460
4459
  default: y(() => [
4461
- (s(!0), r(x, null, $(n.children, (l) => (s(), r("li", {
4462
- key: l.name
4460
+ (s(!0), n(x, null, $(r.children, (o) => (s(), n("li", {
4461
+ key: o.name
4463
4462
  }, [
4464
4463
  m(u(E), {
4465
4464
  as: "a",
4466
- onClick: (t) => o.$emit("sideBarClick", l.id),
4467
- 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"])
4468
4467
  }, {
4469
4468
  default: y(() => [
4470
- z(g(l.name), 1)
4469
+ z(g(o.name), 1)
4471
4470
  ]),
4472
4471
  _: 2
4473
4472
  }, 1032, ["onClick", "class"])
@@ -4476,46 +4475,46 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
4476
4475
  _: 2
4477
4476
  }, 1024)
4478
4477
  ], 512), [
4479
- [D, n.children.some((l) => l.current) || n.current]
4478
+ [D, r.children.some((o) => o.current) || r.current]
4480
4479
  ])
4481
4480
  ]),
4482
4481
  _: 2
4483
- }, 1024)) : (s(), r("div", {
4482
+ }, 1024)) : (s(), n("div", {
4484
4483
  key: 0,
4485
- onClick: (l) => o.$emit("sideBarClick", n.id),
4486
- 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"])
4487
4486
  }, [
4488
4487
  m(j, {
4489
- icon: n.icon,
4488
+ icon: r.icon,
4490
4489
  color: "primary",
4491
4490
  size: "big",
4492
4491
  loading: !1,
4493
4492
  "aria-hidden": "true",
4494
4493
  class: "shrink-0"
4495
4494
  }, null, 8, ["icon"]),
4496
- z(" " + g(n.name), 1)
4495
+ z(" " + g(r.name), 1)
4497
4496
  ], 10, qi))
4498
4497
  ]))), 128))
4499
4498
  ])
4500
4499
  ])
4501
4500
  ])),
4502
- o.isFilterNavigation && o.filterNavigation ? (s(), r("ul", Ri, [
4501
+ l.isFilterNavigation && l.filterNavigation ? (s(), n("ul", Ri, [
4503
4502
  e("li", Hi, [
4504
- o.filterNavigation.hasSearch && o.filterNavigation.search ? (s(), _(J, {
4503
+ l.filterNavigation.hasSearch && l.filterNavigation.search ? (s(), _(J, {
4505
4504
  key: 0,
4506
- name: o.filterNavigation.search.name,
4507
- label: o.filterNavigation.search.label,
4508
- placeholder: o.filterNavigation.search.placeholder,
4509
- value: o.filterNavigation.search.value,
4510
- 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
4511
4510
  }, null, 8, ["name", "label", "placeholder", "value", "loading"])) : b("", !0)
4512
4511
  ]),
4513
- (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", {
4514
4513
  class: "ml-2",
4515
- key: l
4514
+ key: o
4516
4515
  }, [
4517
- e("p", Ui, g(n.label), 1),
4518
- (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, {
4519
4518
  class: "mb-2",
4520
4519
  value: t.value,
4521
4520
  loading: t.loading
@@ -4538,7 +4537,7 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
4538
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 = {
4539
4538
  type: "button",
4540
4539
  class: "-m-2.5 p-2.5 text-gray-400 hover:text-gray-500 relative"
4541
- }, 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__ */ 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({
4542
4541
  __name: "uiWrapper",
4543
4542
  props: {
4544
4543
  topbar: {},
@@ -4546,8 +4545,8 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
4546
4545
  },
4547
4546
  emits: ["productBarClick", "sideBarClick", "selectChanged", "topBarClick"],
4548
4547
  setup(p, { emit: i }) {
4549
- 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);
4550
- 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, [
4551
4550
  m(u(be), {
4552
4551
  as: "template",
4553
4552
  show: c.value
@@ -4688,7 +4687,7 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
4688
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",
4689
4688
  onChange: f[7] || (f[7] = (v) => a.value = v.target.value),
4690
4689
  onBlur: f[8] || (f[8] = (v) => a.value = ""),
4691
- displayValue: l
4690
+ displayValue: o
4692
4691
  }),
4693
4692
  m(u(Pe), { class: "absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none" }, {
4694
4693
  default: y(() => [
@@ -4696,12 +4695,12 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
4696
4695
  ]),
4697
4696
  _: 1
4698
4697
  }),
4699
- n.value.length > 0 ? (s(), _(u(Ve), {
4698
+ r.value.length > 0 ? (s(), _(u(Ve), {
4700
4699
  key: 0,
4701
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"
4702
4701
  }, {
4703
4702
  default: y(() => [
4704
- (s(!0), r(x, null, $(n.value, (v) => (s(), _(u(Fe), {
4703
+ (s(!0), n(x, null, $(r.value, (v) => (s(), _(u(Fe), {
4705
4704
  key: v.id,
4706
4705
  value: v,
4707
4706
  as: "template"
@@ -4713,7 +4712,7 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
4713
4712
  e("span", {
4714
4713
  class: h(["block truncate", O && "font-semibold"])
4715
4714
  }, g(v.name), 3),
4716
- O ? (s(), r("span", {
4715
+ O ? (s(), n("span", {
4717
4716
  key: 0,
4718
4717
  class: h(["absolute inset-y-0 left-0 flex items-center pl-1.5", k ? "text-white" : "text-indigo-600"])
4719
4718
  }, [
@@ -4781,7 +4780,7 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
4781
4780
  default: y(() => [
4782
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" }, {
4783
4782
  default: y(() => [
4784
- (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), {
4785
4784
  key: v.name
4786
4785
  }, {
4787
4786
  default: y(({ active: k }) => [
@@ -4812,22 +4811,22 @@ const Gl = /* @__PURE__ */ te(Zl, [["render", Wl]]), Ql = /* @__PURE__ */ B({
4812
4811
  ])
4813
4812
  ]));
4814
4813
  }
4815
- }), cd = /* @__PURE__ */ B({
4814
+ }), cd = /* @__PURE__ */ M({
4816
4815
  __name: "uiDynamicStats",
4817
4816
  props: {
4818
4817
  dynamicStats: {},
4819
4818
  loading: { type: Boolean, default: !0 }
4820
4819
  },
4821
4820
  setup(p) {
4822
- 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());
4823
- return tt(() => a.value += 1), (l, t) => (s(), r("div", {
4824
- 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"]),
4825
4824
  key: a.value
4826
4825
  }, [
4827
- (s(!0), r(x, null, $(l.dynamicStats, (c, d) => (s(), _(Qe, {
4826
+ (s(!0), n(x, null, $(o.dynamicStats, (c, d) => (s(), _(Qe, {
4828
4827
  key: d,
4829
4828
  item: c,
4830
- loading: l.loading
4829
+ loading: o.loading
4831
4830
  }, null, 8, ["item", "loading"]))), 128))
4832
4831
  ], 2));
4833
4832
  }