@hotelinking/ui 11.45.2 → 12.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ui.es.js CHANGED
@@ -13,31 +13,31 @@ const j = /* @__PURE__ */ B({
13
13
  loading: { type: Boolean, default: !0 }
14
14
  },
15
15
  setup(p) {
16
- return (d, l) => d.loading ? (s(), a("div", {
16
+ return (u, n) => u.loading ? (s(), a("div", {
17
17
  key: 1,
18
18
  class: f([{
19
- "h-4 w-4": d.size === "medium",
20
- "h-6 w-6": d.size === "big",
21
- "h-8 w-8": d.size === "bigger",
22
- "h-12 w-12": d.size === "huge",
23
- "h-20 w-20": d.size === "massive"
19
+ "h-4 w-4": u.size === "medium",
20
+ "h-6 w-6": u.size === "big",
21
+ "h-8 w-8": u.size === "bigger",
22
+ "h-12 w-12": u.size === "huge",
23
+ "h-20 w-20": u.size === "massive"
24
24
  }, "animate-pulse rounded-full bg-gray-200 dark:bg-gray-300"])
25
- }, null, 2)) : (s(), x(Ie(d.icon), {
25
+ }, null, 2)) : (s(), x(Ie(u.icon), {
26
26
  key: 0,
27
27
  class: f({
28
- "h-4 w-4": d.size === "medium",
29
- "h-6 w-6": d.size === "big",
30
- "h-8 w-8": d.size === "bigger",
31
- "h-12 w-12": d.size === "huge",
32
- "h-20 w-20": d.size === "massive",
33
- "text-indigo-600": d.color === "primary",
34
- "text-cyan-300": d.color === "secondary",
35
- "text-red-400": d.color === "red",
36
- "text-yellow-400": d.color === "yellow",
37
- "text-green-400": d.color === "green",
38
- "text-white": d.color === "white",
39
- "text-gray-300": d.color === "gray",
40
- "text-black": d.color === "black"
28
+ "h-4 w-4": u.size === "medium",
29
+ "h-6 w-6": u.size === "big",
30
+ "h-8 w-8": u.size === "bigger",
31
+ "h-12 w-12": u.size === "huge",
32
+ "h-20 w-20": u.size === "massive",
33
+ "text-indigo-600": u.color === "primary",
34
+ "text-cyan-300": u.color === "secondary",
35
+ "text-red-400": u.color === "red",
36
+ "text-yellow-400": u.color === "yellow",
37
+ "text-green-400": u.color === "green",
38
+ "text-white": u.color === "white",
39
+ "text-gray-300": u.color === "gray",
40
+ "text-black": u.color === "black"
41
41
  })
42
42
  }, null, 8, ["class"]));
43
43
  }
@@ -55,39 +55,39 @@ const j = /* @__PURE__ */ B({
55
55
  size: { default: "medium" }
56
56
  },
57
57
  setup(p) {
58
- return (d, l) => d.loading ? (s(), a("button", wt, [
59
- d.icon ? (s(), x(j, {
58
+ return (u, n) => u.loading ? (s(), a("button", wt, [
59
+ u.icon ? (s(), x(j, {
60
60
  key: 0,
61
- icon: d.icon,
61
+ icon: u.icon,
62
62
  color: "white",
63
63
  class: "-ml-0.5 mr-2",
64
- loading: d.loading
64
+ loading: u.loading
65
65
  }, null, 8, ["icon", "loading"])) : b("", !0),
66
- l[0] || (l[0] = e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-16" }, null, -1))
66
+ n[0] || (n[0] = e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-16" }, null, -1))
67
67
  ])) : (s(), a("button", {
68
68
  key: 0,
69
- disabled: d.disabled,
69
+ disabled: u.disabled,
70
70
  class: f([{
71
- "bg-indigo-600 hover:bg-indigo-800 text-white shadow-sm": d.color === "primary",
72
- "bg-cyan-300 hover:bg-cyan-500 text-white shadow-sme": d.color === "secondary",
73
- "bg-red-400 hover:bg-red-600 text-white shadow-sm": d.color === "red",
74
- "bg-yellow-400 hover:bg-yellow-600 text-white shadow-sm": d.color === "yellow",
75
- "bg-green-400 hover:bg-green-600 text-white shadow-sm": d.color === "green",
76
- "px-4 py-2 text-sm rounded-md": d.size === "medium",
77
- "px-2.5 py-1.5 text-xs rounded leading-none": d.size === "small",
78
- "px-6 py-3 text-base rounded-md": d.size === "big",
79
- "w-full flex items-center justify-center": d.block
71
+ "bg-indigo-600 hover:bg-indigo-800 text-white shadow-sm": u.color === "primary",
72
+ "bg-cyan-300 hover:bg-cyan-500 text-white shadow-sme": u.color === "secondary",
73
+ "bg-red-400 hover:bg-red-600 text-white shadow-sm": u.color === "red",
74
+ "bg-yellow-400 hover:bg-yellow-600 text-white shadow-sm": u.color === "yellow",
75
+ "bg-green-400 hover:bg-green-600 text-white shadow-sm": u.color === "green",
76
+ "px-4 py-2 text-sm rounded-md": u.size === "medium",
77
+ "px-2.5 py-1.5 text-xs rounded leading-none": u.size === "small",
78
+ "px-6 py-3 text-base rounded-md": u.size === "big",
79
+ "w-full flex items-center justify-center": u.block
80
80
  }, "inline-flex items-center border border-transparent font-medium focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:opacity-25"]),
81
81
  type: "button"
82
82
  }, [
83
- d.icon ? (s(), x(j, {
83
+ u.icon ? (s(), x(j, {
84
84
  key: 0,
85
- icon: d.icon,
85
+ icon: u.icon,
86
86
  color: "white",
87
87
  class: "-ml-0.5 mr-2",
88
- loading: d.loading
88
+ loading: u.loading
89
89
  }, null, 8, ["icon", "loading"])) : b("", !0),
90
- V(d.$slots, "default")
90
+ V(u.$slots, "default")
91
91
  ], 10, bt));
92
92
  }
93
93
  }), xt = {
@@ -106,13 +106,13 @@ const j = /* @__PURE__ */ B({
106
106
  text: {}
107
107
  },
108
108
  emits: ["checkboxChanged"],
109
- setup(p, { emit: d }) {
110
- const l = d, n = p, o = A(n.check), r = () => {
111
- n.disabled || (o.value = !o.value, l("checkboxChanged", { checked: o.value, value: n.value }));
109
+ setup(p, { emit: u }) {
110
+ const n = u, i = p, l = A(i.check), o = () => {
111
+ i.disabled || (l.value = !l.value, n("checkboxChanged", { checked: l.value, value: i.value }));
112
112
  };
113
- return R(() => n.check, (t) => {
114
- t && (o.value = t);
115
- }), (t, i) => t.loading ? (s(), a("div", St, i[1] || (i[1] = [
113
+ return R(() => i.check, (t) => {
114
+ t && (l.value = t);
115
+ }), (t, r) => t.loading ? (s(), a("div", St, r[1] || (r[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
118
  ]))) : (s(), a("div", xt, [
@@ -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: i[0] || (i[0] = (u) => r())
126
+ onChange: r[0] || (r[0] = (d) => o())
127
127
  }, null, 40, $t)
128
128
  ]),
129
129
  e("div", _t, [
@@ -134,7 +134,7 @@ const j = /* @__PURE__ */ B({
134
134
  ]));
135
135
  }
136
136
  });
137
- function Bt(p, d) {
137
+ function Bt(p, u) {
138
138
  return s(), a("svg", {
139
139
  xmlns: "http://www.w3.org/2000/svg",
140
140
  fill: "none",
@@ -151,7 +151,7 @@ function Bt(p, d) {
151
151
  })
152
152
  ]);
153
153
  }
154
- function Mt(p, d) {
154
+ function Mt(p, u) {
155
155
  return s(), a("svg", {
156
156
  xmlns: "http://www.w3.org/2000/svg",
157
157
  fill: "none",
@@ -168,7 +168,7 @@ function Mt(p, d) {
168
168
  })
169
169
  ]);
170
170
  }
171
- function Dt(p, d) {
171
+ function Dt(p, u) {
172
172
  return s(), a("svg", {
173
173
  xmlns: "http://www.w3.org/2000/svg",
174
174
  fill: "none",
@@ -185,7 +185,7 @@ function Dt(p, d) {
185
185
  })
186
186
  ]);
187
187
  }
188
- function Ze(p, d) {
188
+ function Ze(p, u) {
189
189
  return s(), a("svg", {
190
190
  xmlns: "http://www.w3.org/2000/svg",
191
191
  fill: "none",
@@ -202,7 +202,7 @@ function Ze(p, d) {
202
202
  })
203
203
  ]);
204
204
  }
205
- function Je(p, d) {
205
+ function Je(p, u) {
206
206
  return s(), a("svg", {
207
207
  xmlns: "http://www.w3.org/2000/svg",
208
208
  fill: "none",
@@ -219,7 +219,7 @@ function Je(p, d) {
219
219
  })
220
220
  ]);
221
221
  }
222
- function jt(p, d) {
222
+ function jt(p, u) {
223
223
  return s(), a("svg", {
224
224
  xmlns: "http://www.w3.org/2000/svg",
225
225
  fill: "none",
@@ -236,7 +236,7 @@ function jt(p, d) {
236
236
  })
237
237
  ]);
238
238
  }
239
- function Tt(p, d) {
239
+ function Tt(p, u) {
240
240
  return s(), a("svg", {
241
241
  xmlns: "http://www.w3.org/2000/svg",
242
242
  fill: "none",
@@ -253,7 +253,7 @@ function Tt(p, d) {
253
253
  })
254
254
  ]);
255
255
  }
256
- function We(p, d) {
256
+ function We(p, u) {
257
257
  return s(), a("svg", {
258
258
  xmlns: "http://www.w3.org/2000/svg",
259
259
  fill: "none",
@@ -270,7 +270,7 @@ function We(p, d) {
270
270
  })
271
271
  ]);
272
272
  }
273
- function Me(p, d) {
273
+ function Me(p, u) {
274
274
  return s(), a("svg", {
275
275
  xmlns: "http://www.w3.org/2000/svg",
276
276
  fill: "none",
@@ -287,7 +287,7 @@ function Me(p, d) {
287
287
  })
288
288
  ]);
289
289
  }
290
- function de(p, d) {
290
+ function de(p, u) {
291
291
  return s(), a("svg", {
292
292
  xmlns: "http://www.w3.org/2000/svg",
293
293
  fill: "none",
@@ -304,7 +304,7 @@ function de(p, d) {
304
304
  })
305
305
  ]);
306
306
  }
307
- function Ge(p, d) {
307
+ function Ge(p, u) {
308
308
  return s(), a("svg", {
309
309
  xmlns: "http://www.w3.org/2000/svg",
310
310
  fill: "none",
@@ -321,7 +321,7 @@ function Ge(p, d) {
321
321
  })
322
322
  ]);
323
323
  }
324
- function ee(p, d) {
324
+ function ee(p, u) {
325
325
  return s(), a("svg", {
326
326
  xmlns: "http://www.w3.org/2000/svg",
327
327
  fill: "none",
@@ -338,7 +338,7 @@ function ee(p, d) {
338
338
  })
339
339
  ]);
340
340
  }
341
- function fe(p, d) {
341
+ function fe(p, u) {
342
342
  return s(), a("svg", {
343
343
  xmlns: "http://www.w3.org/2000/svg",
344
344
  fill: "none",
@@ -355,7 +355,7 @@ function fe(p, d) {
355
355
  })
356
356
  ]);
357
357
  }
358
- function Ke(p, d) {
358
+ function Ke(p, u) {
359
359
  return s(), a("svg", {
360
360
  xmlns: "http://www.w3.org/2000/svg",
361
361
  fill: "none",
@@ -372,7 +372,7 @@ function Ke(p, d) {
372
372
  })
373
373
  ]);
374
374
  }
375
- function zt(p, d) {
375
+ function zt(p, u) {
376
376
  return s(), a("svg", {
377
377
  xmlns: "http://www.w3.org/2000/svg",
378
378
  fill: "none",
@@ -389,7 +389,7 @@ function zt(p, d) {
389
389
  })
390
390
  ]);
391
391
  }
392
- function H(p, d) {
392
+ function H(p, u) {
393
393
  return s(), a("svg", {
394
394
  xmlns: "http://www.w3.org/2000/svg",
395
395
  fill: "none",
@@ -406,7 +406,7 @@ function H(p, d) {
406
406
  })
407
407
  ]);
408
408
  }
409
- function Lt(p, d) {
409
+ function Lt(p, u) {
410
410
  return s(), a("svg", {
411
411
  xmlns: "http://www.w3.org/2000/svg",
412
412
  fill: "none",
@@ -423,7 +423,7 @@ function Lt(p, d) {
423
423
  })
424
424
  ]);
425
425
  }
426
- function At(p, d) {
426
+ function At(p, u) {
427
427
  return s(), a("svg", {
428
428
  xmlns: "http://www.w3.org/2000/svg",
429
429
  fill: "none",
@@ -440,7 +440,7 @@ function At(p, d) {
440
440
  })
441
441
  ]);
442
442
  }
443
- function Nt(p, d) {
443
+ function Ot(p, u) {
444
444
  return s(), a("svg", {
445
445
  xmlns: "http://www.w3.org/2000/svg",
446
446
  fill: "none",
@@ -457,7 +457,7 @@ function Nt(p, d) {
457
457
  })
458
458
  ]);
459
459
  }
460
- function Ot(p, d) {
460
+ function Nt(p, u) {
461
461
  return s(), a("svg", {
462
462
  xmlns: "http://www.w3.org/2000/svg",
463
463
  fill: "none",
@@ -474,7 +474,7 @@ function Ot(p, d) {
474
474
  })
475
475
  ]);
476
476
  }
477
- function Qe(p, d) {
477
+ function Qe(p, u) {
478
478
  return s(), a("svg", {
479
479
  xmlns: "http://www.w3.org/2000/svg",
480
480
  fill: "none",
@@ -491,7 +491,7 @@ function Qe(p, d) {
491
491
  })
492
492
  ]);
493
493
  }
494
- function It(p, d) {
494
+ function It(p, u) {
495
495
  return s(), a("svg", {
496
496
  xmlns: "http://www.w3.org/2000/svg",
497
497
  fill: "none",
@@ -508,7 +508,7 @@ function It(p, d) {
508
508
  })
509
509
  ]);
510
510
  }
511
- function Yt(p, d) {
511
+ function Yt(p, u) {
512
512
  return s(), a("svg", {
513
513
  xmlns: "http://www.w3.org/2000/svg",
514
514
  fill: "none",
@@ -525,7 +525,7 @@ function Yt(p, d) {
525
525
  })
526
526
  ]);
527
527
  }
528
- function ge(p, d) {
528
+ function ge(p, u) {
529
529
  return s(), a("svg", {
530
530
  xmlns: "http://www.w3.org/2000/svg",
531
531
  fill: "none",
@@ -542,7 +542,7 @@ function ge(p, d) {
542
542
  })
543
543
  ]);
544
544
  }
545
- function W(p, d) {
545
+ function W(p, u) {
546
546
  return s(), a("svg", {
547
547
  xmlns: "http://www.w3.org/2000/svg",
548
548
  fill: "none",
@@ -580,15 +580,15 @@ const Pt = { class: "flex justify-between sha" }, Ft = {
580
580
  requiredText: {}
581
581
  },
582
582
  emits: ["optionSelected"],
583
- setup(p, { emit: d }) {
584
- const l = d, n = p, o = Y(() => {
585
- let t = n.items.find((i) => i.active === !0);
586
- return t ? t.name : n.label;
587
- }), r = (t) => {
588
- n.disabled || l("optionSelected", t);
583
+ setup(p, { emit: u }) {
584
+ const n = u, i = p, l = Y(() => {
585
+ let t = i.items.find((r) => r.active === !0);
586
+ return t ? t.name : i.label;
587
+ }), o = (t) => {
588
+ i.disabled || n("optionSelected", t);
589
589
  };
590
- return (t, i) => t.loading ? (s(), a("div", Ut, [
591
- i[0] || (i[0] = e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28" }, null, -1)),
590
+ return (t, r) => t.loading ? (s(), a("div", Ut, [
591
+ r[0] || (r[0] = e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28" }, null, -1)),
592
592
  m(c(de), {
593
593
  "aria-hidden": "true",
594
594
  class: "-mr-1 ml-2 h-5 w-5 text-gray-200 dark:text-gray-300"
@@ -606,7 +606,7 @@ const Pt = { class: "flex justify-between sha" }, Ft = {
606
606
  ]),
607
607
  m(c(be), { 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" }, {
608
608
  default: v(() => [
609
- T(g(o.value) + " ", 1),
609
+ T(g(l.value) + " ", 1),
610
610
  t.verticalPosition === "bottom" ? (s(), x(c(de), {
611
611
  key: 0,
612
612
  "aria-hidden": "true",
@@ -641,15 +641,15 @@ const Pt = { class: "flex justify-between sha" }, Ft = {
641
641
  }, {
642
642
  default: v(() => [
643
643
  e("div", Vt, [
644
- (s(!0), a($, null, _(t.items, (u, y) => (s(), x(c(xe), { key: y }, {
644
+ (s(!0), a($, null, _(t.items, (d, y) => (s(), x(c(xe), { key: y }, {
645
645
  default: v(() => [
646
646
  e("a", {
647
- onClick: (h) => r(u),
647
+ onClick: (h) => o(d),
648
648
  class: f([
649
- u.active ? "bg-gray-100 text-gray-900" : "text-gray-700",
649
+ d.active ? "bg-gray-100 text-gray-900" : "text-gray-700",
650
650
  "block px-4 py-2 text-sm cursor-pointer"
651
651
  ])
652
- }, g(u.name), 11, Rt)
652
+ }, g(d.name), 11, Rt)
653
653
  ]),
654
654
  _: 2
655
655
  }, 1024))), 128))
@@ -696,17 +696,17 @@ const Pt = { class: "flex justify-between sha" }, Ft = {
696
696
  loading: { type: Boolean, default: !0 }
697
697
  },
698
698
  emits: ["inputChanged", "rightAddOnClicked", "addOnClicked"],
699
- setup(p, { emit: d }) {
700
- const l = d, n = p, o = A(n.value);
701
- R(() => n.value, (t) => {
702
- o.value = t, o.value && l("inputChanged", { name: n.name, value: o.value });
699
+ setup(p, { emit: u }) {
700
+ const n = u, i = p, l = A(i.value);
701
+ R(() => i.value, (t) => {
702
+ l.value = t, l.value && n("inputChanged", { name: i.name, value: l.value });
703
703
  });
704
- const r = (t) => {
705
- t.target.name && l("inputChanged", { value: t.target.value, name: t.target.name });
704
+ const o = (t) => {
705
+ t.target.name && n("inputChanged", { value: t.target.value, name: t.target.name });
706
706
  };
707
- return (t, i) => t.loading ? (s(), a("div", Kt, [
707
+ return (t, r) => t.loading ? (s(), a("div", Kt, [
708
708
  t.label !== void 0 ? (s(), a("div", Qt)) : b("", !0),
709
- i[3] || (i[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" }, [
709
+ r[3] || (r[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" }, [
710
710
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28" })
711
711
  ], -1))
712
712
  ])) : (s(), a("div", Ht, [
@@ -719,11 +719,11 @@ const Pt = { class: "flex justify-between sha" }, Ft = {
719
719
  }, [
720
720
  t.addOn ? (s(), a("span", {
721
721
  key: 0,
722
- onClick: i[0] || (i[0] = (u) => t.$emit("addOnClicked")),
722
+ onClick: r[0] || (r[0] = (d) => t.$emit("addOnClicked")),
723
723
  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"
724
724
  }, g(t.addOn), 1)) : b("", !0),
725
725
  C(e("input", {
726
- "onUpdate:modelValue": i[1] || (i[1] = (u) => o.value = u),
726
+ "onUpdate:modelValue": r[1] || (r[1] = (d) => l.value = d),
727
727
  max: t.max,
728
728
  class: f([{
729
729
  "border-gray-300": t.color === "gray",
@@ -745,13 +745,13 @@ const Pt = { class: "flex justify-between sha" }, Ft = {
745
745
  name: t.name,
746
746
  placeholder: t.placeholder,
747
747
  type: t.type,
748
- onInput: r
748
+ onInput: o
749
749
  }, null, 42, Wt), [
750
- [lt, o.value]
750
+ [lt, l.value]
751
751
  ]),
752
752
  t.rightAddOn ? (s(), a("span", {
753
753
  key: 1,
754
- onClick: i[2] || (i[2] = (u) => t.$emit("rightAddOnClicked")),
754
+ onClick: r[2] || (r[2] = (d) => t.$emit("rightAddOnClicked")),
755
755
  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"
756
756
  }, g(t.rightAddOn), 1)) : b("", !0),
757
757
  e("div", Gt, [
@@ -821,20 +821,20 @@ const Pt = { class: "flex justify-between sha" }, Ft = {
821
821
  label: {}
822
822
  },
823
823
  emits: ["filesUploaded"],
824
- setup(p, { emit: d }) {
825
- let l = A("");
826
- const n = d, o = p, r = (u) => {
827
- i(u.dataTransfer.files), n("filesUploaded", { id: o.id, files: u.dataTransfer.files });
828
- }, t = (u) => {
829
- i(u.target.files), n("filesUploaded", { id: o.id, files: u.target.files });
830
- }, i = (u) => {
831
- l.value = "";
824
+ setup(p, { emit: u }) {
825
+ let n = A("");
826
+ const i = u, l = p, o = (d) => {
827
+ r(d.dataTransfer.files), i("filesUploaded", { id: l.id, files: d.dataTransfer.files });
828
+ }, t = (d) => {
829
+ r(d.target.files), i("filesUploaded", { id: l.id, files: d.target.files });
830
+ }, r = (d) => {
831
+ n.value = "";
832
832
  let y = 1;
833
- Object.values(u).forEach((h) => {
834
- y++, l.value += h.name, y >= 1 && y < u.length && (l.value += ", ");
833
+ Object.values(d).forEach((h) => {
834
+ y++, n.value += h.name, y >= 1 && y < d.length && (n.value += ", ");
835
835
  });
836
836
  };
837
- return (u, y) => u.loading ? (s(), a("div", us, y[1] || (y[1] = [
837
+ return (d, y) => d.loading ? (s(), a("div", us, y[1] || (y[1] = [
838
838
  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" }, [
839
839
  e("div", { class: "rounded-full h-20 w-20 bg-gray-200 mb-4" }),
840
840
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full md:w-1/3 mb-3" }),
@@ -842,52 +842,52 @@ const Pt = { class: "flex justify-between sha" }, Ft = {
842
842
  ], -1)
843
843
  ]))) : (s(), a("div", Xt, [
844
844
  e("div", es, [
845
- u.label ? (s(), a("label", ts, g(u.label), 1)) : b("", !0),
846
- u.requiredText ? (s(), a("span", ss, g(u.requiredText), 1)) : b("", !0)
845
+ d.label ? (s(), a("label", ts, g(d.label), 1)) : b("", !0),
846
+ d.requiredText ? (s(), a("span", ss, g(d.requiredText), 1)) : b("", !0)
847
847
  ]),
848
848
  e("div", {
849
849
  class: f([
850
850
  [
851
- { "mt-1": u.label },
852
- { "border-gray-300 hover:border-gray-400": !u.error },
853
- { "border-red-300 hover:border-red-400": u.error }
851
+ { "mt-1": d.label },
852
+ { "border-gray-300 hover:border-gray-400": !d.error },
853
+ { "border-red-300 hover:border-red-400": d.error }
854
854
  ],
855
855
  "dropArea flex justify-center rounded-md border-2 border-dashed px-6 pt-5 pb-6"
856
856
  ]),
857
857
  onDragover: y[0] || (y[0] = pe(() => {
858
858
  }, ["prevent"])),
859
- onDrop: pe(r, ["prevent"])
859
+ onDrop: pe(o, ["prevent"])
860
860
  }, [
861
861
  e("div", os, [
862
862
  m(j, {
863
- icon: u.icon,
863
+ icon: d.icon,
864
864
  size: "massive",
865
865
  color: "gray",
866
866
  "aria-hidden": "true",
867
867
  class: "mb-4",
868
- loading: u.loading
868
+ loading: d.loading
869
869
  }, null, 8, ["icon", "loading"]),
870
870
  e("div", ls, [
871
871
  e("label", {
872
- for: u.id,
872
+ for: d.id,
873
873
  class: "relative cursor-pointer rounded-md font-medium text-indigo-600 focus-within:outline-none focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 hover:text-indigo-500"
874
874
  }, [
875
- e("span", null, g(u.placeholder), 1),
875
+ e("span", null, g(d.placeholder), 1),
876
876
  e("input", {
877
- id: u.id,
878
- name: u.name,
877
+ id: d.id,
878
+ name: d.name,
879
879
  type: "file",
880
880
  class: "sr-only",
881
- accept: u.accept,
881
+ accept: d.accept,
882
882
  multiple: "",
883
883
  onChange: t
884
884
  }, null, 40, ns)
885
885
  ], 8, rs),
886
- e("p", as, g(u.dragAndDrop), 1)
886
+ e("p", as, g(d.dragAndDrop), 1)
887
887
  ]),
888
- e("p", is, g(u.fileTypesAndSizes), 1),
889
- C(e("p", { class: "font-bold text-xs uppercase block p-2 bg-gray-200 rounded" }, g(c(l)), 513), [
890
- [D, c(l) !== null]
888
+ e("p", is, g(d.fileTypesAndSizes), 1),
889
+ C(e("p", { class: "font-bold text-xs uppercase block p-2 bg-gray-200 rounded" }, g(c(n)), 513), [
890
+ [D, c(n) !== null]
891
891
  ])
892
892
  ])
893
893
  ], 34),
@@ -896,11 +896,11 @@ const Pt = { class: "flex justify-between sha" }, Ft = {
896
896
  icon: c(ge),
897
897
  color: "red",
898
898
  class: "mr-2",
899
- loading: u.loading
899
+ loading: d.loading
900
900
  }, null, 8, ["icon", "loading"]),
901
- T(" " + g(u.error), 1)
901
+ T(" " + g(d.error), 1)
902
902
  ], 512), [
903
- [D, u.error]
903
+ [D, d.error]
904
904
  ])
905
905
  ]));
906
906
  }
@@ -924,17 +924,17 @@ const Pt = { class: "flex justify-between sha" }, Ft = {
924
924
  requiredText: {}
925
925
  },
926
926
  emits: ["selectChanged"],
927
- setup(p, { expose: d, emit: l }) {
928
- const n = A(""), o = l, r = p, t = Y(() => n.value === "" ? r.items : r.items.filter((h) => h.name.toLowerCase().includes(n.value.toLowerCase()))), i = (h) => (h == null ? void 0 : h.name) ?? "", u = (h) => {
929
- o("selectChanged", h);
927
+ setup(p, { expose: u, emit: n }) {
928
+ const i = A(""), l = n, o = p, t = Y(() => i.value === "" ? o.items : o.items.filter((h) => h.name.toLowerCase().includes(i.value.toLowerCase()))), r = (h) => (h == null ? void 0 : h.name) ?? "", d = (h) => {
929
+ l("selectChanged", h);
930
930
  }, y = Y({
931
- get: () => r.select,
931
+ get: () => o.select,
932
932
  set: (h) => {
933
- u(h);
933
+ d(h);
934
934
  }
935
935
  });
936
- return d({
937
- handleChange: u
936
+ return u({
937
+ handleChange: d
938
938
  }), (h, w) => h.loading ? (s(), a("div", fs, [
939
939
  w[3] || (w[3] = e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, null, -1)),
940
940
  m(c(fe), {
@@ -946,7 +946,7 @@ const Pt = { class: "flex justify-between sha" }, Ft = {
946
946
  modelValue: y.value,
947
947
  "onUpdate:modelValue": [
948
948
  w[2] || (w[2] = (L) => y.value = L),
949
- u
949
+ d
950
950
  ],
951
951
  disabled: h.disabled,
952
952
  as: "div"
@@ -963,9 +963,9 @@ const Pt = { class: "flex justify-between sha" }, Ft = {
963
963
  ]),
964
964
  e("div", ps, [
965
965
  m(c(qe), {
966
- onChange: w[0] || (w[0] = (L) => n.value = L.target.value),
967
- onBlur: w[1] || (w[1] = (L) => n.value = ""),
968
- displayValue: i,
966
+ onChange: w[0] || (w[0] = (L) => i.value = L.target.value),
967
+ onBlur: w[1] || (w[1] = (L) => i.value = ""),
968
+ displayValue: r,
969
969
  class: f([{
970
970
  "mt-1": h.requiredText || h.label,
971
971
  "border-gray-300": h.color === "gray",
@@ -1000,11 +1000,11 @@ const Pt = { class: "flex justify-between sha" }, Ft = {
1000
1000
  value: L,
1001
1001
  as: "template"
1002
1002
  }, {
1003
- default: v(({ active: N, selected: S }) => [
1003
+ default: v(({ active: O, selected: S }) => [
1004
1004
  e("li", {
1005
1005
  class: f([
1006
1006
  "relative cursor-default select-none py-2 pl-3 pr-9",
1007
- N ? "bg-indigo-600 text-white" : "text-gray-900"
1007
+ O ? "bg-indigo-600 text-white" : "text-gray-900"
1008
1008
  ])
1009
1009
  }, [
1010
1010
  e("span", {
@@ -1014,7 +1014,7 @@ const Pt = { class: "flex justify-between sha" }, Ft = {
1014
1014
  key: 0,
1015
1015
  class: f([
1016
1016
  "absolute inset-y-0 right-0 flex items-center pr-4",
1017
- N ? "text-white" : "text-indigo-600"
1017
+ O ? "text-white" : "text-indigo-600"
1018
1018
  ])
1019
1019
  }, [
1020
1020
  m(c(Me), {
@@ -1046,7 +1046,7 @@ const Pt = { class: "flex justify-between sha" }, Ft = {
1046
1046
  }, 8, ["modelValue", "disabled"]));
1047
1047
  }
1048
1048
  });
1049
- function hs(p, d) {
1049
+ function hs(p, u) {
1050
1050
  return s(), a("svg", {
1051
1051
  xmlns: "http://www.w3.org/2000/svg",
1052
1052
  viewBox: "0 0 20 20",
@@ -1061,7 +1061,7 @@ function hs(p, d) {
1061
1061
  })
1062
1062
  ]);
1063
1063
  }
1064
- function vs(p, d) {
1064
+ function vs(p, u) {
1065
1065
  return s(), a("svg", {
1066
1066
  xmlns: "http://www.w3.org/2000/svg",
1067
1067
  viewBox: "0 0 20 20",
@@ -1093,50 +1093,50 @@ const bs = { class: "flex justify-between" }, ws = {
1093
1093
  requiredText: {}
1094
1094
  },
1095
1095
  emits: ["selectChanged"],
1096
- setup(p, { emit: d }) {
1097
- const l = p, n = d, o = A(""), r = A(l.select), t = Y(
1098
- () => o.value === "" ? l.items : l.items.filter((u) => u.name.toLowerCase().includes(o.value.toLowerCase()))
1099
- ), i = (u) => {
1100
- o.value = "", n("selectChanged", u);
1096
+ setup(p, { emit: u }) {
1097
+ const n = p, i = u, l = A(""), o = A(n.select), t = Y(
1098
+ () => l.value === "" ? n.items : n.items.filter((d) => d.name.toLowerCase().includes(l.value.toLowerCase()))
1099
+ ), r = (d) => {
1100
+ l.value = "", i("selectChanged", d);
1101
1101
  };
1102
- return (u, y) => (s(), x(c(Pe), {
1102
+ return (d, y) => (s(), x(c(Pe), {
1103
1103
  as: "div",
1104
- modelValue: r.value,
1104
+ modelValue: o.value,
1105
1105
  "onUpdate:modelValue": [
1106
- y[2] || (y[2] = (h) => r.value = h),
1107
- i
1106
+ y[2] || (y[2] = (h) => o.value = h),
1107
+ r
1108
1108
  ]
1109
1109
  }, {
1110
1110
  default: v(() => [
1111
1111
  e("div", bs, [
1112
1112
  m(c(Fe), { class: "block text-sm font-medium" }, {
1113
1113
  default: v(() => [
1114
- T(g(u.label), 1)
1114
+ T(g(d.label), 1)
1115
1115
  ]),
1116
1116
  _: 1
1117
1117
  }),
1118
- u.requiredText ? (s(), a("span", ws, g(u.requiredText), 1)) : b("", !0)
1118
+ d.requiredText ? (s(), a("span", ws, g(d.requiredText), 1)) : b("", !0)
1119
1119
  ]),
1120
1120
  e("div", {
1121
- class: f([{ "mt-1": u.label }, "relative"])
1121
+ class: f([{ "mt-1": d.label }, "relative"])
1122
1122
  }, [
1123
1123
  m(c(qe), {
1124
1124
  class: f([{
1125
- "mt-1": u.requiredText || u.label,
1126
- "border-gray-300": u.color === "gray",
1127
- "border-red-400": u.color === "red",
1128
- "border-yellow-400": u.color === "yellow",
1129
- "border-green-400": u.color === "green",
1130
- "bg-gray-100": u.disabled,
1131
- "bg-white": !u.disabled,
1132
- "text-black": u.color === "gray",
1133
- "text-gray-300": u.disabled,
1134
- "text-red-400": u.color === "red",
1135
- "text-yellow-400": u.color === "yellow",
1136
- "text-green-400": u.color === "green"
1125
+ "mt-1": d.requiredText || d.label,
1126
+ "border-gray-300": d.color === "gray",
1127
+ "border-red-400": d.color === "red",
1128
+ "border-yellow-400": d.color === "yellow",
1129
+ "border-green-400": d.color === "green",
1130
+ "bg-gray-100": d.disabled,
1131
+ "bg-white": !d.disabled,
1132
+ "text-black": d.color === "gray",
1133
+ "text-gray-300": d.disabled,
1134
+ "text-red-400": d.color === "red",
1135
+ "text-yellow-400": d.color === "yellow",
1136
+ "text-green-400": d.color === "green"
1137
1137
  }, "w-full rounded-md border py-2 pl-3 pr-10 shadow-sm focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 sm:text-sm"]),
1138
- onChange: y[0] || (y[0] = (h) => o.value = h.target.value),
1139
- onBlur: y[1] || (y[1] = (h) => o.value = ""),
1138
+ onChange: y[0] || (y[0] = (h) => l.value = h.target.value),
1139
+ onBlur: y[1] || (y[1] = (h) => l.value = ""),
1140
1140
  "display-value": (h) => h.name
1141
1141
  }, null, 8, ["class", "display-value"]),
1142
1142
  m(c(Ve), { class: "absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none" }, {
@@ -1184,13 +1184,13 @@ const bs = { class: "flex justify-between" }, ws = {
1184
1184
  ], 2),
1185
1185
  C(e("p", {
1186
1186
  class: f([{
1187
- "text-gray-400": u.color === "gray",
1188
- "text-red-400": u.color === "red",
1189
- "text-yellow-400": u.color === "yellow",
1190
- "text-green-400": u.color === "green"
1187
+ "text-gray-400": d.color === "gray",
1188
+ "text-red-400": d.color === "red",
1189
+ "text-yellow-400": d.color === "yellow",
1190
+ "text-green-400": d.color === "green"
1191
1191
  }, "mt-2 text-xs flex flex-row items-center"])
1192
- }, g(u.error), 3), [
1193
- [D, u.error]
1192
+ }, g(d.error), 3), [
1193
+ [D, d.error]
1194
1194
  ])
1195
1195
  ]),
1196
1196
  _: 1
@@ -1210,32 +1210,32 @@ const bs = { class: "flex justify-between" }, ws = {
1210
1210
  text: {}
1211
1211
  },
1212
1212
  emits: ["tagEvent"],
1213
- setup(p, { emit: d }) {
1214
- const l = d, n = p, o = () => {
1215
- n.event != null && l("tagEvent", n.event);
1213
+ setup(p, { emit: u }) {
1214
+ const n = u, i = p, l = () => {
1215
+ i.event != null && n("tagEvent", i.event);
1216
1216
  };
1217
- return (r, t) => r.loading ? (s(), a("div", xs, t[0] || (t[0] = [
1217
+ return (o, t) => o.loading ? (s(), a("div", xs, t[0] || (t[0] = [
1218
1218
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-12" }, null, -1)
1219
1219
  ]))) : (s(), a("span", {
1220
1220
  key: 0,
1221
- onClick: o,
1221
+ onClick: l,
1222
1222
  class: f([{
1223
- "bg-indigo-100 text-indigo-800 border border-indigo-200": r.color === "primary",
1224
- "hover:bg-indigo-200 cursor-pointer": r.event !== void 0 && r.color === "primary",
1225
- "bg-red-100 text-red-800 border border-red-200": r.color === "red",
1226
- "hover:bg-red-200 cursor-pointer": r.event !== void 0 && r.color === "red",
1227
- "bg-yellow-100 text-yellow-800 border border-yellow-200": r.color === "yellow",
1228
- "hover:bg-yellow-200 cursor-pointer": r.event !== void 0 && r.color === "yellow",
1229
- "bg-green-100 text-green-800 border border-green-200": r.color === "green",
1230
- "hover:bg-green-200 cursor-pointer": r.event !== void 0 && r.color === "green",
1231
- "bg-black text-white border border-black": r.color === "black",
1232
- "text-black border border-gray-200 bg-white": r.color === "white",
1233
- "px-3 py-2": r.size === "medium",
1234
- "px-2 pt-1 pb-0.5": r.size === "small",
1235
- "px-4 py-3": r.size === "big"
1223
+ "bg-indigo-100 text-indigo-800 border border-indigo-200": o.color === "primary",
1224
+ "hover:bg-indigo-200 cursor-pointer": o.event !== void 0 && o.color === "primary",
1225
+ "bg-red-100 text-red-800 border border-red-200": o.color === "red",
1226
+ "hover:bg-red-200 cursor-pointer": o.event !== void 0 && o.color === "red",
1227
+ "bg-yellow-100 text-yellow-800 border border-yellow-200": o.color === "yellow",
1228
+ "hover:bg-yellow-200 cursor-pointer": o.event !== void 0 && o.color === "yellow",
1229
+ "bg-green-100 text-green-800 border border-green-200": o.color === "green",
1230
+ "hover:bg-green-200 cursor-pointer": o.event !== void 0 && o.color === "green",
1231
+ "bg-black text-white border border-black": o.color === "black",
1232
+ "text-black border border-gray-200 bg-white": o.color === "white",
1233
+ "px-3 py-2": o.size === "medium",
1234
+ "px-2 pt-1 pb-0.5": o.size === "small",
1235
+ "px-4 py-3": o.size === "big"
1236
1236
  }, "inline-flex items-center rounded text-xs font-medium leading-none"])
1237
1237
  }, [
1238
- V(r.$slots, "default")
1238
+ V(o.$slots, "default")
1239
1239
  ], 2));
1240
1240
  }
1241
1241
  }), ks = { key: 0 }, $s = { class: "flex justify-between" }, _s = {
@@ -1261,13 +1261,13 @@ const bs = { class: "flex justify-between" }, ws = {
1261
1261
  requiredText: {}
1262
1262
  },
1263
1263
  emits: ["inputChanged"],
1264
- setup(p, { emit: d }) {
1265
- const l = d, n = p, o = (t) => {
1266
- l("inputChanged", t.target.value);
1267
- }, r = A(n.value);
1268
- return R(() => n.value, (t) => {
1269
- r.value = t, l("inputChanged", { name: n.name, value: r.value });
1270
- }), (t, i) => t.loading ? (s(), a("div", Bs, i[1] || (i[1] = [
1264
+ setup(p, { emit: u }) {
1265
+ const n = u, i = p, l = (t) => {
1266
+ n("inputChanged", t.target.value);
1267
+ }, o = A(i.value);
1268
+ return R(() => i.value, (t) => {
1269
+ o.value = t, n("inputChanged", { name: i.name, value: o.value });
1270
+ }), (t, r) => t.loading ? (s(), a("div", Bs, r[1] || (r[1] = [
1271
1271
  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),
1272
1272
  e("div", { class: "h-24 bg-gray-200 rounded-lg flex inline-flex items-center relative inline-block text-left w-full" }, null, -1)
1273
1273
  ]))) : (s(), a("div", ks, [
@@ -1281,7 +1281,7 @@ const bs = { class: "flex justify-between" }, ws = {
1281
1281
  C(e("textarea", {
1282
1282
  disabled: t.disabled,
1283
1283
  rows: "4",
1284
- "onUpdate:modelValue": i[0] || (i[0] = (u) => r.value = u),
1284
+ "onUpdate:modelValue": r[0] || (r[0] = (d) => o.value = d),
1285
1285
  placeholder: t.placeholder,
1286
1286
  class: f(["shadow-sm focus:ring-indigo-500 focus:border-indigo-500 block w-full sm:text-sm rounded-md", {
1287
1287
  "border-gray-300": t.color === "gray",
@@ -1294,9 +1294,9 @@ const bs = { class: "flex justify-between" }, ws = {
1294
1294
  "text-yellow-400": t.color === "yellow",
1295
1295
  "text-green-400": t.color === "green"
1296
1296
  }]),
1297
- onChange: o
1297
+ onChange: l
1298
1298
  }, null, 42, Ss), [
1299
- [X, r.value]
1299
+ [X, o.value]
1300
1300
  ])
1301
1301
  ], 2),
1302
1302
  C(e("p", {
@@ -1334,9 +1334,9 @@ const bs = { class: "flex justify-between" }, ws = {
1334
1334
  loading: { type: Boolean, default: !0 }
1335
1335
  },
1336
1336
  emits: ["toggleChanged", "actionClicked"],
1337
- setup(p, { emit: d }) {
1338
- const l = p, n = A(l.checked);
1339
- return R(() => l.checked, (o) => n.value = o), (o, r) => o.loading ? (s(), a("div", Ts, r[3] || (r[3] = [
1337
+ setup(p, { emit: u }) {
1338
+ const n = p, i = A(n.checked);
1339
+ return R(() => n.checked, (l) => i.value = l), (l, o) => l.loading ? (s(), a("div", Ts, o[3] || (o[3] = [
1340
1340
  e("div", { class: "relative bg-gray-200 rounded-full w-12 h-6 p-1 flex items-center" }, [
1341
1341
  e("div", { class: "rounded-full bg-gray-300 dark:bg-gray-400 h-4 w-4" })
1342
1342
  ], -1),
@@ -1348,12 +1348,12 @@ const bs = { class: "flex justify-between" }, ws = {
1348
1348
  }, {
1349
1349
  default: v(() => [
1350
1350
  m(c(ut), {
1351
- disabled: o.disabled,
1352
- onClick: r[0] || (r[0] = (t) => o.$emit("toggleChanged", { item: o.item, active: !n.value })),
1353
- modelValue: n.value,
1354
- "onUpdate:modelValue": r[1] || (r[1] = (t) => n.value = t),
1351
+ disabled: l.disabled,
1352
+ onClick: o[0] || (o[0] = (t) => l.$emit("toggleChanged", { item: l.item, active: !i.value })),
1353
+ modelValue: i.value,
1354
+ "onUpdate:modelValue": o[1] || (o[1] = (t) => i.value = t),
1355
1355
  class: f([
1356
- n.value ? "bg-indigo-600" : "bg-gray-200",
1356
+ i.value ? "bg-indigo-600" : "bg-gray-200",
1357
1357
  "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"
1358
1358
  ])
1359
1359
  }, {
@@ -1361,8 +1361,8 @@ const bs = { class: "flex justify-between" }, ws = {
1361
1361
  e("span", {
1362
1362
  "aria-hidden": "true",
1363
1363
  class: f([
1364
- n.value ? "translate-x-5" : "translate-x-0",
1365
- o.disabled ? "bg-gray-300" : "",
1364
+ i.value ? "translate-x-5" : "translate-x-0",
1365
+ l.disabled ? "bg-gray-300" : "",
1366
1366
  "pointer-events-none inline-block h-5 w-5 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out"
1367
1367
  ])
1368
1368
  }, null, 2)
@@ -1374,16 +1374,16 @@ const bs = { class: "flex justify-between" }, ws = {
1374
1374
  class: "ml-3"
1375
1375
  }, {
1376
1376
  default: v(() => [
1377
- e("span", Ds, g(o.item.title), 1),
1378
- o.item.subtitle ? (s(), a("span", js, g(o.item.subtitle), 1)) : b("", !0)
1377
+ e("span", Ds, g(l.item.title), 1),
1378
+ l.item.subtitle ? (s(), a("span", js, g(l.item.subtitle), 1)) : b("", !0)
1379
1379
  ]),
1380
1380
  _: 1
1381
1381
  }),
1382
- o.item.action ? (s(), a("span", {
1382
+ l.item.action ? (s(), a("span", {
1383
1383
  key: 0,
1384
1384
  class: "cursor-pointer text-indigo-600 hover:text-indigo-400 uppercase text-xs absolute right-0 bottom-0.5",
1385
- onClick: r[2] || (r[2] = (t) => o.$emit("actionClicked", o.item))
1386
- }, g(o.item.action), 1)) : b("", !0)
1385
+ onClick: o[2] || (o[2] = (t) => l.$emit("actionClicked", l.item))
1386
+ }, g(l.item.action), 1)) : b("", !0)
1387
1387
  ]),
1388
1388
  _: 1
1389
1389
  }));
@@ -1391,7 +1391,7 @@ const bs = { class: "flex justify-between" }, ws = {
1391
1391
  }), Ls = {
1392
1392
  key: 0,
1393
1393
  class: "flex flex-col"
1394
- }, As = { class: "flex" }, Ns = { class: "flex-shrink-0" }, Os = { class: "ml-3" }, Is = { class: "mt-4" }, Ys = { class: "-mx-2 -my-1.5 flex" }, Ps = ["onClick"], Fs = {
1394
+ }, As = { class: "flex" }, Os = { class: "flex-shrink-0" }, Ns = { class: "ml-3" }, Is = { class: "mt-4" }, Ys = { class: "-mx-2 -my-1.5 flex" }, Ps = ["onClick"], Fs = {
1395
1395
  key: 1,
1396
1396
  class: "flex flex-col animate-pulse"
1397
1397
  }, qs = /* @__PURE__ */ B({
@@ -1403,73 +1403,73 @@ const bs = { class: "flex justify-between" }, ws = {
1403
1403
  loading: { type: Boolean, default: !0 }
1404
1404
  },
1405
1405
  emits: ["alertEvent"],
1406
- setup(p, { emit: d }) {
1407
- const l = d, n = (o) => {
1408
- l("alertEvent", o.event);
1406
+ setup(p, { emit: u }) {
1407
+ const n = u, i = (l) => {
1408
+ n("alertEvent", l.event);
1409
1409
  };
1410
- return (o, r) => o.loading ? (s(), a("div", Fs, r[0] || (r[0] = [
1410
+ return (l, o) => l.loading ? (s(), a("div", Fs, o[0] || (o[0] = [
1411
1411
  K('<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)
1412
1412
  ]))) : (s(), a("div", Ls, [
1413
1413
  e("div", {
1414
1414
  class: f([{
1415
- "bg-indigo-50 border-indigo-400": o.type === "info",
1416
- "bg-red-50 border-red-400": o.type === "danger",
1417
- "bg-yellow-50 border-yellow-400": o.type === "warning",
1418
- "bg-green-50 border-green-400": o.type === "success"
1415
+ "bg-indigo-50 border-indigo-400": l.type === "info",
1416
+ "bg-red-50 border-red-400": l.type === "danger",
1417
+ "bg-yellow-50 border-yellow-400": l.type === "warning",
1418
+ "bg-green-50 border-green-400": l.type === "success"
1419
1419
  }, "p-4 border-l-4 rounded"])
1420
1420
  }, [
1421
1421
  e("div", As, [
1422
- e("div", Ns, [
1423
- o.type === "info" ? (s(), x(c(Qe), {
1422
+ e("div", Os, [
1423
+ l.type === "info" ? (s(), x(c(Qe), {
1424
1424
  key: 0,
1425
1425
  class: "h-8 w-8 text-indigo-400",
1426
1426
  "aria-hidden": "true"
1427
1427
  })) : b("", !0),
1428
- o.type === "danger" ? (s(), x(c(ge), {
1428
+ l.type === "danger" ? (s(), x(c(ge), {
1429
1429
  key: 1,
1430
1430
  class: "h-8 w-8 text-red-400",
1431
1431
  "aria-hidden": "true"
1432
1432
  })) : b("", !0),
1433
- o.type === "warning" ? (s(), x(c(H), {
1433
+ l.type === "warning" ? (s(), x(c(H), {
1434
1434
  key: 2,
1435
1435
  class: "h-8 w-8 text-yellow-400",
1436
1436
  "aria-hidden": "true"
1437
1437
  })) : b("", !0),
1438
- o.type === "success" ? (s(), x(c(We), {
1438
+ l.type === "success" ? (s(), x(c(We), {
1439
1439
  key: 3,
1440
1440
  class: "h-8 w-8 text-green-400",
1441
1441
  "aria-hidden": "true"
1442
1442
  })) : b("", !0)
1443
1443
  ]),
1444
- e("div", Os, [
1444
+ e("div", Ns, [
1445
1445
  e("h3", {
1446
1446
  class: f([{
1447
- "text-red-800": o.type === "danger",
1448
- "text-yellow-800": o.type === "warning",
1449
- "text-green-800": o.type === "success"
1447
+ "text-red-800": l.type === "danger",
1448
+ "text-yellow-800": l.type === "warning",
1449
+ "text-green-800": l.type === "success"
1450
1450
  }, "text-sm font-medium"])
1451
- }, g(o.title), 3),
1451
+ }, g(l.title), 3),
1452
1452
  e("div", {
1453
1453
  class: f([{
1454
- "text-red-700": o.type === "danger",
1455
- "text-yellow-700": o.type === "warning",
1456
- "text-green-700": o.type === "success"
1454
+ "text-red-700": l.type === "danger",
1455
+ "text-yellow-700": l.type === "warning",
1456
+ "text-green-700": l.type === "success"
1457
1457
  }, "mt-2 text-sm"])
1458
1458
  }, [
1459
- V(o.$slots, "default")
1459
+ V(l.$slots, "default")
1460
1460
  ], 2),
1461
1461
  e("div", Is, [
1462
1462
  e("div", Ys, [
1463
- (s(!0), a($, null, _(o.actions, (t, i) => (s(), a("button", {
1464
- onClick: (u) => n(t),
1463
+ (s(!0), a($, null, _(l.actions, (t, r) => (s(), a("button", {
1464
+ onClick: (d) => i(t),
1465
1465
  type: "button",
1466
- key: i,
1466
+ key: r,
1467
1467
  class: f([
1468
1468
  {
1469
- "bg-green-50 text-green-800 hover:bg-green-100 focus:ring-green-600 focus:ring-offset-green-50": o.type === "success",
1470
- "bg-indigo-50 text-indigo-800 hover:bg-indigo-100 focus:ring-indigo-600 focus:ring-offset-indigo-50": o.type === "info",
1471
- "bg-red-50 text-red-800 hover:bg-red-100 focus:ring-red-600 focus:ring-offset-red-50": o.type === "danger",
1472
- "bg-yellow-50 text-yellow-800 hover:bg-yellow-100 focus:ring-yellow-600 focus:ring-offset-yellow-50": o.type === "warning"
1469
+ "bg-green-50 text-green-800 hover:bg-green-100 focus:ring-green-600 focus:ring-offset-green-50": l.type === "success",
1470
+ "bg-indigo-50 text-indigo-800 hover:bg-indigo-100 focus:ring-indigo-600 focus:ring-offset-indigo-50": l.type === "info",
1471
+ "bg-red-50 text-red-800 hover:bg-red-100 focus:ring-red-600 focus:ring-offset-red-50": l.type === "danger",
1472
+ "bg-yellow-50 text-yellow-800 hover:bg-yellow-100 focus:ring-yellow-600 focus:ring-offset-yellow-50": l.type === "warning"
1473
1473
  },
1474
1474
  "px-2 py-1.5 text-sm font-medium rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2"
1475
1475
  ])
@@ -1501,25 +1501,25 @@ const bs = { class: "flex justify-between" }, ws = {
1501
1501
  loading: { type: Boolean, default: !0 }
1502
1502
  },
1503
1503
  emits: ["breadCrumbClicked"],
1504
- setup(p, { emit: d }) {
1505
- return (l, n) => l.loading ? (s(), a("div", Js, n[0] || (n[0] = [
1504
+ setup(p, { emit: u }) {
1505
+ return (n, i) => n.loading ? (s(), a("div", Js, i[0] || (i[0] = [
1506
1506
  e("div", { class: "animate-pulse rounded-full bg-gray-200 dark:bg-gray-300 h-4 w-4 mr-4" }, null, -1),
1507
1507
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/5 mr-4" }, null, -1),
1508
1508
  e("div", { class: "animate-pulse rounded-full bg-gray-200 dark:bg-gray-300 h-4 w-4 mr-4" }, null, -1),
1509
1509
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/5" }, null, -1)
1510
1510
  ]))) : (s(), a("nav", Vs, [
1511
1511
  e("ol", Rs, [
1512
- (s(!0), a($, null, _(l.pages, (o, r) => (s(), a("li", { key: r }, [
1513
- r == 0 ? (s(), a("div", Us, [
1512
+ (s(!0), a($, null, _(n.pages, (l, o) => (s(), a("li", { key: o }, [
1513
+ o == 0 ? (s(), a("div", Us, [
1514
1514
  e("p", {
1515
- onClick: (t) => l.$emit("breadCrumbClicked", o.routeName),
1515
+ onClick: (t) => n.$emit("breadCrumbClicked", l.routeName),
1516
1516
  class: "flex flex-row items-center justify-center text-indigo-600 hover:text-indigo-800 cursor-pointer"
1517
1517
  }, [
1518
- m(c(Ot), {
1518
+ m(c(Nt), {
1519
1519
  class: "flex-shrink-0 h-3 w-3 text-gray-400 mr-4",
1520
1520
  "aria-hidden": "true"
1521
1521
  }),
1522
- e("span", null, g(o.name), 1)
1522
+ e("span", null, g(l.name), 1)
1523
1523
  ], 8, Hs)
1524
1524
  ])) : (s(), a("div", Es, [
1525
1525
  m(c(ee), {
@@ -1527,10 +1527,10 @@ const bs = { class: "flex justify-between" }, ws = {
1527
1527
  "aria-hidden": "true"
1528
1528
  }),
1529
1529
  e("span", {
1530
- onClick: (t) => l.$emit("breadCrumbClicked", o.routeName),
1531
- class: f(["cursor-pointer ml-4 text-xs text-gray-400 hover:text-gray-500", { "text-indigo-600 hover:text-indigo-800": !o.current }]),
1530
+ onClick: (t) => n.$emit("breadCrumbClicked", l.routeName),
1531
+ class: f(["cursor-pointer ml-4 text-xs text-gray-400 hover:text-gray-500", { "text-indigo-600 hover:text-indigo-800": !l.current }]),
1532
1532
  "aria-current": "page"
1533
- }, g(o.name), 11, Zs)
1533
+ }, g(l.name), 11, Zs)
1534
1534
  ]))
1535
1535
  ]))), 128))
1536
1536
  ])
@@ -1553,35 +1553,35 @@ const bs = { class: "flex justify-between" }, ws = {
1553
1553
  loading: { type: Boolean, default: !0 }
1554
1554
  },
1555
1555
  emits: ["cardSelected"],
1556
- setup(p, { emit: d }) {
1557
- return (l, n) => {
1558
- var o;
1559
- return l.loading ? (s(), a("div", to, n[1] || (n[1] = [
1556
+ setup(p, { emit: u }) {
1557
+ return (n, i) => {
1558
+ var l;
1559
+ return n.loading ? (s(), a("div", to, i[1] || (i[1] = [
1560
1560
  K('<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)
1561
1561
  ]))) : (s(), a("div", {
1562
1562
  key: 0,
1563
1563
  class: "rounded-lg bg-white shadow p-6 cursor-pointer",
1564
- onClick: n[0] || (n[0] = (r) => l.$emit("cardSelected", { id: l.id, name: l.name, type: l.type, tags: l.tags }))
1564
+ onClick: i[0] || (i[0] = (o) => n.$emit("cardSelected", { id: n.id, name: n.name, type: n.type, tags: n.tags }))
1565
1565
  }, [
1566
1566
  e("div", Gs, [
1567
1567
  e("img", {
1568
1568
  class: "w-16 h-16 rounded-full mb-4 sm:mb-0 sm:mr-4",
1569
- src: l.logo
1569
+ src: n.logo
1570
1570
  }, null, 8, Ks),
1571
1571
  e("div", null, [
1572
- e("h4", Qs, g(l.name), 1),
1573
- e("p", Xs, g(l.type), 1)
1572
+ e("h4", Qs, g(n.name), 1),
1573
+ e("p", Xs, g(n.type), 1)
1574
1574
  ])
1575
1575
  ]),
1576
- l.tags && ((o = l.tags) == null ? void 0 : o.length) > 0 ? (s(), a("div", eo, [
1577
- (s(!0), a($, null, _(l.tags, (r) => (s(), x(U, {
1576
+ n.tags && ((l = n.tags) == null ? void 0 : l.length) > 0 ? (s(), a("div", eo, [
1577
+ (s(!0), a($, null, _(n.tags, (o) => (s(), x(U, {
1578
1578
  class: "mb-1 mr-1",
1579
- key: r.name,
1580
- color: r.color,
1581
- loading: l.loading
1579
+ key: o.name,
1580
+ color: o.color,
1581
+ loading: n.loading
1582
1582
  }, {
1583
1583
  default: v(() => [
1584
- T(g(r.name), 1)
1584
+ T(g(o.name), 1)
1585
1585
  ]),
1586
1586
  _: 2
1587
1587
  }, 1032, ["color", "loading"]))), 128))
@@ -1598,18 +1598,18 @@ const bs = { class: "flex justify-between" }, ws = {
1598
1598
  loading: { type: Boolean, default: !0 }
1599
1599
  },
1600
1600
  emits: ["filterSelected"],
1601
- setup(p, { emit: d }) {
1602
- const l = d, n = p, o = (t) => {
1603
- r.value.forEach((i) => {
1604
- i.active = i.value === t.value;
1605
- }), l("filterSelected", t);
1606
- }, r = A(n.items);
1607
- return (t, i) => (s(), x(me, {
1601
+ setup(p, { emit: u }) {
1602
+ const n = u, i = p, l = (t) => {
1603
+ o.value.forEach((r) => {
1604
+ r.active = r.value === t.value;
1605
+ }), n("filterSelected", t);
1606
+ }, o = A(i.items);
1607
+ return (t, r) => (s(), x(me, {
1608
1608
  class: "text-nowrap",
1609
1609
  loading: t.loading,
1610
- onOptionSelected: i[0] || (i[0] = (u) => o(u)),
1610
+ onOptionSelected: r[0] || (r[0] = (d) => l(d)),
1611
1611
  position: t.position,
1612
- items: r.value,
1612
+ items: o.value,
1613
1613
  label: t.label
1614
1614
  }, null, 8, ["loading", "position", "items", "label"]));
1615
1615
  }
@@ -1628,19 +1628,19 @@ const bs = { class: "flex justify-between" }, ws = {
1628
1628
  loading: { type: Boolean, default: !1 }
1629
1629
  },
1630
1630
  emits: ["modalAction"],
1631
- setup(p, { emit: d }) {
1632
- const l = p, n = d, o = (r) => {
1633
- n("modalAction", { modal: l.modalName, action: r });
1631
+ setup(p, { emit: u }) {
1632
+ const n = p, i = u, l = (o) => {
1633
+ i("modalAction", { modal: n.modalName, action: o });
1634
1634
  };
1635
- return (r, t) => (s(), x(c(ke), {
1635
+ return (o, t) => (s(), x(c(ke), {
1636
1636
  as: "template",
1637
- show: r.open
1637
+ show: o.open
1638
1638
  }, {
1639
1639
  default: v(() => [
1640
1640
  m(c($e), {
1641
1641
  as: "div",
1642
1642
  class: "relative z-50",
1643
- onClose: t[1] || (t[1] = (i) => o("close"))
1643
+ onClose: t[1] || (t[1] = (r) => l("close"))
1644
1644
  }, {
1645
1645
  default: v(() => [
1646
1646
  m(c(G), {
@@ -1672,8 +1672,8 @@ const bs = { class: "flex justify-between" }, ws = {
1672
1672
  default: v(() => [
1673
1673
  m(c(_e), {
1674
1674
  class: f([{
1675
- "sm:my-8 w-full sm:w-9/12 md:w-2/3 lg:w-1/2": r.size === "big",
1676
- "w-full sm:my-8 sm:w-full sm:max-w-lg sm:p-6": r.size === "medium"
1675
+ "sm:my-8 w-full sm:w-9/12 md:w-2/3 lg:w-1/2": o.size === "big",
1676
+ "w-full sm:my-8 sm:w-full sm:max-w-lg sm:p-6": o.size === "medium"
1677
1677
  }, "relative transform rounded-lg bg-white px-4 pb-4 pt-5 text-left shadow-xl transition-all"])
1678
1678
  }, {
1679
1679
  default: v(() => [
@@ -1681,48 +1681,48 @@ const bs = { class: "flex justify-between" }, ws = {
1681
1681
  e("button", {
1682
1682
  type: "button",
1683
1683
  class: "rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none",
1684
- onClick: t[0] || (t[0] = (i) => o("close"))
1684
+ onClick: t[0] || (t[0] = (r) => l("close"))
1685
1685
  }, [
1686
1686
  t[3] || (t[3] = e("span", { class: "sr-only" }, "X", -1)),
1687
1687
  m(j, {
1688
1688
  icon: c(W),
1689
1689
  "aria-hidden": "true",
1690
- loading: r.loading
1690
+ loading: o.loading
1691
1691
  }, null, 8, ["icon", "loading"])
1692
1692
  ])
1693
1693
  ]),
1694
1694
  e("div", no, [
1695
1695
  e("div", {
1696
1696
  class: f(["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", {
1697
- "bg-red-100": r.type === "danger",
1698
- "bg-green-100": r.type === "success",
1699
- "bg-indigo-100": r.type === "default",
1700
- "bg-yellow-100": r.type === "warning"
1697
+ "bg-red-100": o.type === "danger",
1698
+ "bg-green-100": o.type === "success",
1699
+ "bg-indigo-100": o.type === "default",
1700
+ "bg-yellow-100": o.type === "warning"
1701
1701
  }])
1702
1702
  }, [
1703
1703
  C(m(c(W), {
1704
1704
  class: "h-6 w-6 text-red-600",
1705
1705
  "aria-hidden": "true"
1706
1706
  }, null, 512), [
1707
- [D, r.type === "danger"]
1707
+ [D, o.type === "danger"]
1708
1708
  ]),
1709
1709
  C(m(c(Me), {
1710
1710
  class: "h-6 w-6 text-green-600",
1711
1711
  "aria-hidden": "true"
1712
1712
  }, null, 512), [
1713
- [D, r.type === "success"]
1713
+ [D, o.type === "success"]
1714
1714
  ]),
1715
1715
  C(m(c(H), {
1716
1716
  class: "h-6 w-6 text-yellow-600",
1717
1717
  "aria-hidden": "true"
1718
1718
  }, null, 512), [
1719
- [D, r.type === "warning"]
1719
+ [D, o.type === "warning"]
1720
1720
  ]),
1721
- C(m(c(Nt), {
1721
+ C(m(c(Ot), {
1722
1722
  class: "h-6 w-6 text-indigo-600",
1723
1723
  "aria-hidden": "true"
1724
1724
  }, null, 512), [
1725
- [D, r.type === "default"]
1725
+ [D, o.type === "default"]
1726
1726
  ])
1727
1727
  ], 2),
1728
1728
  e("div", ao, [
@@ -1731,20 +1731,20 @@ const bs = { class: "flex justify-between" }, ws = {
1731
1731
  class: "text-lg font-medium leading-6 text-gray-900"
1732
1732
  }, {
1733
1733
  default: v(() => [
1734
- T(g(r.title), 1)
1734
+ T(g(o.title), 1)
1735
1735
  ]),
1736
1736
  _: 1
1737
1737
  }),
1738
1738
  e("div", io, [
1739
- V(r.$slots, "default", { class: "break-words" })
1739
+ V(o.$slots, "default", { class: "break-words" })
1740
1740
  ]),
1741
- r.actions ? (s(), a("div", uo, [
1742
- (s(!0), a($, null, _(r.actions, (i, u) => (s(), a("button", {
1743
- key: u,
1741
+ o.actions ? (s(), a("div", uo, [
1742
+ (s(!0), a($, null, _(o.actions, (r, d) => (s(), a("button", {
1743
+ key: d,
1744
1744
  type: "button",
1745
1745
  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",
1746
- onClick: (y) => o(i.value)
1747
- }, g(i.name), 9, co))), 128))
1746
+ onClick: (y) => l(r.value)
1747
+ }, g(r.name), 9, co))), 128))
1748
1748
  ])) : b("", !0)
1749
1749
  ])
1750
1750
  ])
@@ -1776,11 +1776,11 @@ const bs = { class: "flex justify-between" }, ws = {
1776
1776
  show: { type: Boolean, default: !1 }
1777
1777
  },
1778
1778
  emits: ["closeNotification"],
1779
- setup(p, { emit: d }) {
1780
- const l = p, n = Y(() => l.show);
1781
- return (o, r) => (s(), a("div", {
1779
+ setup(p, { emit: u }) {
1780
+ const n = p, i = Y(() => n.show);
1781
+ return (l, o) => (s(), a("div", {
1782
1782
  "aria-live": "assertive",
1783
- class: f([{ fixed: o.fixed }, "inset-0 flex items-end px-4 py-6 pointer-events-none sm:p-6 sm:items-start"])
1783
+ class: f([{ fixed: l.fixed }, "inset-0 flex items-end px-4 py-6 pointer-events-none sm:p-6 sm:items-start"])
1784
1784
  }, [
1785
1785
  e("div", go, [
1786
1786
  m(ue, {
@@ -1792,7 +1792,7 @@ const bs = { class: "flex justify-between" }, ws = {
1792
1792
  "leave-to-class": "opacity-0"
1793
1793
  }, {
1794
1794
  default: v(() => [
1795
- n.value ? (s(), a("div", mo, [
1795
+ i.value ? (s(), a("div", mo, [
1796
1796
  e("div", po, [
1797
1797
  e("div", fo, [
1798
1798
  e("div", yo, [
@@ -1800,38 +1800,38 @@ const bs = { class: "flex justify-between" }, ws = {
1800
1800
  "aria-hidden": "true",
1801
1801
  class: "h-6 w-6 text-green-400"
1802
1802
  }, null, 512), [
1803
- [D, o.type === "success"]
1803
+ [D, l.type === "success"]
1804
1804
  ]),
1805
1805
  C(m(c(ge), {
1806
1806
  "aria-hidden": "true",
1807
1807
  class: "h-6 w-6 text-red-400"
1808
1808
  }, null, 512), [
1809
- [D, o.type === "danger"]
1809
+ [D, l.type === "danger"]
1810
1810
  ]),
1811
1811
  C(m(c(H), {
1812
1812
  "aria-hidden": "true",
1813
1813
  class: "h-6 w-6 text-yellow-400"
1814
1814
  }, null, 512), [
1815
- [D, o.type === "warning"]
1815
+ [D, l.type === "warning"]
1816
1816
  ]),
1817
1817
  C(m(c(Qe), {
1818
1818
  "aria-hidden": "true",
1819
1819
  class: "h-6 w-6 text-indigo-600"
1820
1820
  }, null, 512), [
1821
- [D, o.type === "info"]
1821
+ [D, l.type === "info"]
1822
1822
  ])
1823
1823
  ]),
1824
1824
  e("div", ho, [
1825
- e("p", vo, g(o.title), 1),
1826
- e("p", bo, g(o.message), 1)
1825
+ e("p", vo, g(l.title), 1),
1826
+ e("p", bo, g(l.message), 1)
1827
1827
  ]),
1828
1828
  e("div", wo, [
1829
1829
  e("button", {
1830
1830
  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",
1831
1831
  type: "button",
1832
- onClick: r[0] || (r[0] = (t) => o.$emit("closeNotification"))
1832
+ onClick: o[0] || (o[0] = (t) => l.$emit("closeNotification"))
1833
1833
  }, [
1834
- r[1] || (r[1] = e("span", { class: "sr-only" }, "Close", -1)),
1834
+ o[1] || (o[1] = e("span", { class: "sr-only" }, "Close", -1)),
1835
1835
  m(c(W), {
1836
1836
  "aria-hidden": "true",
1837
1837
  class: "h-5 w-5"
@@ -1861,43 +1861,43 @@ const bs = { class: "flex justify-between" }, ws = {
1861
1861
  loading: { type: Boolean, default: !0 }
1862
1862
  },
1863
1863
  setup(p) {
1864
- return (d, l) => d.loading ? (s(), a("ul", To, [
1865
- (s(!0), a($, null, _(d.tasks, (n) => (s(), a("li", {
1866
- key: n.id,
1864
+ return (u, n) => u.loading ? (s(), a("ul", To, [
1865
+ (s(!0), a($, null, _(u.tasks, (i) => (s(), a("li", {
1866
+ key: i.id,
1867
1867
  class: "flex items-center justify-between gap-x-6 py-5"
1868
- }, l[0] || (l[0] = [
1868
+ }, n[0] || (n[0] = [
1869
1869
  K('<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)
1870
1870
  ])))), 128))
1871
1871
  ])) : (s(), a("ul", ko, [
1872
- (s(!0), a($, null, _(d.tasks, (n) => (s(), a("li", {
1873
- key: n.id,
1872
+ (s(!0), a($, null, _(u.tasks, (i) => (s(), a("li", {
1873
+ key: i.id,
1874
1874
  class: "flex items-center justify-between gap-x-6 py-5"
1875
1875
  }, [
1876
1876
  e("div", $o, [
1877
1877
  e("div", _o, [
1878
- e("p", Co, g(n.name), 1),
1878
+ e("p", Co, g(i.name), 1),
1879
1879
  e("p", {
1880
1880
  class: f([
1881
1881
  {
1882
- "text-green-700 bg-green-50 ring-green-600/20": n.status === "Complete",
1883
- "text-gray-600 bg-gray-50 ring-gray-500/10": n.status === "In progress",
1884
- "text-yellow-800 bg-yellow-50 ring-yellow-600/20": n.status === "Incomplete"
1882
+ "text-green-700 bg-green-50 ring-green-600/20": i.status === "Complete",
1883
+ "text-gray-600 bg-gray-50 ring-gray-500/10": i.status === "In progress",
1884
+ "text-yellow-800 bg-yellow-50 ring-yellow-600/20": i.status === "Incomplete"
1885
1885
  },
1886
1886
  "rounded-md whitespace-nowrap mt-0.5 px-1.5 py-0.5 text-xs font-medium ring-1 ring-inset"
1887
1887
  ])
1888
- }, g(n.statusLiteral), 3)
1888
+ }, g(i.statusLiteral), 3)
1889
1889
  ]),
1890
1890
  e("div", So, [
1891
- e("p", Bo, g(n.description), 1)
1891
+ e("p", Bo, g(i.description), 1)
1892
1892
  ])
1893
1893
  ]),
1894
1894
  e("div", Mo, [
1895
1895
  e("a", {
1896
- href: n.href,
1896
+ href: i.href,
1897
1897
  class: "hidden rounded-md bg-white px-2.5 py-1.5 text-sm font-semibold text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 hover:bg-gray-50 sm:block"
1898
1898
  }, [
1899
- T(g(n.action), 1),
1900
- e("span", jo, ", " + g(n.name), 1)
1899
+ T(g(i.action), 1),
1900
+ e("span", jo, ", " + g(i.name), 1)
1901
1901
  ], 8, Do)
1902
1902
  ])
1903
1903
  ]))), 128))
@@ -1908,53 +1908,53 @@ function Lo(p) {
1908
1908
  return p && p.__esModule && Object.prototype.hasOwnProperty.call(p, "default") ? p.default : p;
1909
1909
  }
1910
1910
  var le = { exports: {} }, Ao = le.exports, Te;
1911
- function No() {
1912
- return Te || (Te = 1, function(p, d) {
1913
- (function(l, n) {
1914
- p.exports = n(z);
1915
- })(Ao, function(l) {
1916
- function n(t) {
1911
+ function Oo() {
1912
+ return Te || (Te = 1, function(p, u) {
1913
+ (function(n, i) {
1914
+ p.exports = i(z);
1915
+ })(Ao, function(n) {
1916
+ function i(t) {
1917
1917
  return t && typeof t == "object" && "default" in t ? t : { default: t };
1918
1918
  }
1919
- var o = n(l), r = { 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) {
1919
+ var l = i(n), 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) {
1920
1920
  return t + "º";
1921
1921
  } };
1922
- return o.default.locale(r, null, !0), r;
1922
+ return l.default.locale(o, null, !0), o;
1923
1923
  });
1924
1924
  }(le)), le.exports;
1925
1925
  }
1926
- No();
1927
- var re = { exports: {} }, Oo = re.exports, ze;
1926
+ Oo();
1927
+ var re = { exports: {} }, No = re.exports, ze;
1928
1928
  function Io() {
1929
- return ze || (ze = 1, function(p, d) {
1930
- (function(l, n) {
1931
- p.exports = n(z);
1932
- })(Oo, function(l) {
1933
- function n(u) {
1934
- return u && typeof u == "object" && "default" in u ? u : { default: u };
1929
+ return ze || (ze = 1, function(p, u) {
1930
+ (function(n, i) {
1931
+ p.exports = i(z);
1932
+ })(No, function(n) {
1933
+ function i(d) {
1934
+ return d && typeof d == "object" && "default" in d ? d : { default: d };
1935
1935
  }
1936
- var o = n(l), r = { 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"] };
1937
- function t(u, y, h) {
1938
- var w = r[h];
1939
- return Array.isArray(w) && (w = w[y ? 0 : 1]), w.replace("%d", u);
1936
+ var l = i(n), 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"] };
1937
+ function t(d, y, h) {
1938
+ var w = o[h];
1939
+ return Array.isArray(w) && (w = w[y ? 0 : 1]), w.replace("%d", d);
1940
1940
  }
1941
- var i = { 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(u) {
1942
- return u + ".";
1941
+ var r = { 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) {
1942
+ return d + ".";
1943
1943
  }, 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 } };
1944
- return o.default.locale(i, null, !0), i;
1944
+ return l.default.locale(r, null, !0), r;
1945
1945
  });
1946
1946
  }(re)), re.exports;
1947
1947
  }
1948
1948
  Io();
1949
1949
  var ne = { exports: {} }, Yo = ne.exports, Le;
1950
1950
  function Po() {
1951
- return Le || (Le = 1, function(p, d) {
1952
- (function(l, n) {
1953
- p.exports = n();
1951
+ return Le || (Le = 1, function(p, u) {
1952
+ (function(n, i) {
1953
+ p.exports = i();
1954
1954
  })(Yo, function() {
1955
- 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) {
1956
- var n = ["th", "st", "nd", "rd"], o = l % 100;
1957
- return "[" + l + (n[(o - 20) % 10] || n[o] || n[0]) + "]";
1955
+ 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(n) {
1956
+ var i = ["th", "st", "nd", "rd"], l = n % 100;
1957
+ return "[" + n + (i[(l - 20) % 10] || i[l] || i[0]) + "]";
1958
1958
  } };
1959
1959
  });
1960
1960
  }(ne)), ne.exports;
@@ -1962,26 +1962,26 @@ function Po() {
1962
1962
  Po();
1963
1963
  var ae = { exports: {} }, Fo = ae.exports, Ae;
1964
1964
  function qo() {
1965
- return Ae || (Ae = 1, function(p, d) {
1966
- (function(l, n) {
1967
- p.exports = n(z);
1968
- })(Fo, function(l) {
1969
- function n(t) {
1965
+ return Ae || (Ae = 1, function(p, u) {
1966
+ (function(n, i) {
1967
+ p.exports = i(z);
1968
+ })(Fo, function(n) {
1969
+ function i(t) {
1970
1970
  return t && typeof t == "object" && "default" in t ? t : { default: t };
1971
1971
  }
1972
- var o = n(l), r = { 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) {
1972
+ var l = i(n), 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) {
1973
1973
  return "" + t + (t === 1 ? "er" : "");
1974
1974
  } };
1975
- return o.default.locale(r, null, !0), r;
1975
+ return l.default.locale(o, null, !0), o;
1976
1976
  });
1977
1977
  }(ae)), ae.exports;
1978
1978
  }
1979
1979
  qo();
1980
- const te = (p, d) => {
1981
- const l = p.__vccOpts || p;
1982
- for (const [n, o] of d)
1983
- l[n] = o;
1984
- return l;
1980
+ const te = (p, u) => {
1981
+ const n = p.__vccOpts || p;
1982
+ for (const [i, l] of u)
1983
+ n[i] = l;
1984
+ return n;
1985
1985
  }, Vo = {
1986
1986
  name: "dateSelector",
1987
1987
  components: { ChevronLeftIcon: Ge, ChevronRightIcon: ee },
@@ -2003,26 +2003,26 @@ const te = (p, d) => {
2003
2003
  }
2004
2004
  },
2005
2005
  methods: {
2006
- selectDate(p, d) {
2007
- let l;
2008
- if (d === "previous") {
2006
+ selectDate(p, u) {
2007
+ let n;
2008
+ if (u === "previous") {
2009
2009
  if (this.currentDate <= this.today) return;
2010
- p === "day" && (l = z(this.currentDate).subtract(1, "day")), p === "month" && (l = z(this.currentDate).subtract(1, "month")), p === "year" && (l = z(this.currentDate).subtract(1, "year")), l <= this.today && (l = this.currentDate = this.today);
2010
+ p === "day" && (n = z(this.currentDate).subtract(1, "day")), p === "month" && (n = z(this.currentDate).subtract(1, "month")), p === "year" && (n = z(this.currentDate).subtract(1, "year")), n <= this.today && (n = this.currentDate = this.today);
2011
2011
  }
2012
- d === "next" && (p === "day" && (l = z(this.selectedDate).add(1, "day")), p === "month" && (l = z(this.selectedDate).add(1, "month")), p === "year" && (l = z(this.selectedDate).add(1, "year"))), this.$emit("dateSelected", l);
2012
+ u === "next" && (p === "day" && (n = z(this.selectedDate).add(1, "day")), p === "month" && (n = z(this.selectedDate).add(1, "month")), p === "year" && (n = z(this.selectedDate).add(1, "year"))), this.$emit("dateSelected", n);
2013
2013
  }
2014
2014
  }
2015
2015
  }, Ro = { class: "dateSelector flex items-center text-white flex-row" }, Uo = { class: "pagination flex items-center my-1 md:my-0" }, Ho = { class: "date mx-4 font-bold text-center text-indigo-600 select-none uppercase" }, Eo = { class: "pagination flex items-center my-1 sm:my-0" };
2016
- function Zo(p, d, l, n, o, r) {
2017
- const t = je("ChevronLeftIcon"), i = je("ChevronRightIcon");
2016
+ function Zo(p, u, n, i, l, o) {
2017
+ const t = je("ChevronLeftIcon"), r = je("ChevronRightIcon");
2018
2018
  return s(), a("div", Ro, [
2019
2019
  e("div", Uo, [
2020
2020
  e("div", {
2021
2021
  class: f([{
2022
- "bg-indigo-600 hover:bg-indigo-800 cursor-pointer": r.currentDate > r.today,
2023
- "bg-indigo-300": r.currentDate <= r.today
2022
+ "bg-indigo-600 hover:bg-indigo-800 cursor-pointer": o.currentDate > o.today,
2023
+ "bg-indigo-300": o.currentDate <= o.today
2024
2024
  }, "previousYear flex items-center p-1 rounded mx-0.5 shadow-sm"]),
2025
- onClick: d[0] || (d[0] = (u) => r.selectDate("year", "previous"))
2025
+ onClick: u[0] || (u[0] = (d) => o.selectDate("year", "previous"))
2026
2026
  }, [
2027
2027
  m(t, { class: "h-4" }),
2028
2028
  m(t, { class: "h-4 -ml-3" }),
@@ -2030,46 +2030,46 @@ function Zo(p, d, l, n, o, r) {
2030
2030
  ], 2),
2031
2031
  e("div", {
2032
2032
  class: f([{
2033
- "bg-indigo-600 hover:bg-indigo-800 cursor-pointer": r.currentDate > r.today,
2034
- "bg-indigo-300": r.currentDate <= r.today
2033
+ "bg-indigo-600 hover:bg-indigo-800 cursor-pointer": o.currentDate > o.today,
2034
+ "bg-indigo-300": o.currentDate <= o.today
2035
2035
  }, "previousYear flex items-center p-1 rounded mx-0.5 shadow-sm"]),
2036
- onClick: d[1] || (d[1] = (u) => r.selectDate("month", "previous"))
2036
+ onClick: u[1] || (u[1] = (d) => o.selectDate("month", "previous"))
2037
2037
  }, [
2038
2038
  m(t, { class: "h-4" }),
2039
2039
  m(t, { class: "h-4 -ml-3" })
2040
2040
  ], 2),
2041
2041
  e("div", {
2042
2042
  class: f([{
2043
- "bg-indigo-600 hover:bg-indigo-800 cursor-pointer": r.currentDate > r.today,
2044
- "bg-indigo-300": r.currentDate <= r.today
2043
+ "bg-indigo-600 hover:bg-indigo-800 cursor-pointer": o.currentDate > o.today,
2044
+ "bg-indigo-300": o.currentDate <= o.today
2045
2045
  }, "previousYear flex items-center p-1 rounded mx-0.5 shadow-sm"]),
2046
- onClick: d[2] || (d[2] = (u) => r.selectDate("day", "previous"))
2046
+ onClick: u[2] || (u[2] = (d) => o.selectDate("day", "previous"))
2047
2047
  }, [
2048
2048
  m(t, { class: "h-4" })
2049
2049
  ], 2)
2050
2050
  ]),
2051
- e("div", Ho, g(r.formatedDate), 1),
2051
+ e("div", Ho, g(o.formatedDate), 1),
2052
2052
  e("div", Eo, [
2053
2053
  e("div", {
2054
2054
  class: "previousDay flex items-center cursor-pointer bg-indigo-600 p-1 rounded mx-0.5 hover:bg-indigo-800 shadow-sm",
2055
- onClick: d[3] || (d[3] = (u) => r.selectDate("day", "next"))
2055
+ onClick: u[3] || (u[3] = (d) => o.selectDate("day", "next"))
2056
2056
  }, [
2057
- m(i, { class: "h-4" })
2057
+ m(r, { class: "h-4" })
2058
2058
  ]),
2059
2059
  e("div", {
2060
2060
  class: "previousMonth flex items-center cursor-pointer bg-indigo-600 p-1 rounded mx-0.5 hover:bg-indigo-800 shadow-sm",
2061
- onClick: d[4] || (d[4] = (u) => r.selectDate("month", "next"))
2061
+ onClick: u[4] || (u[4] = (d) => o.selectDate("month", "next"))
2062
2062
  }, [
2063
- m(i, { class: "h-4" }),
2064
- m(i, { class: "h-4 -ml-3" })
2063
+ m(r, { class: "h-4" }),
2064
+ m(r, { class: "h-4 -ml-3" })
2065
2065
  ]),
2066
2066
  e("div", {
2067
2067
  class: "previousYear flex items-center cursor-pointer bg-indigo-600 p-1 rounded mx-0.5 hover:bg-indigo-800 shadow-sm",
2068
- onClick: d[5] || (d[5] = (u) => r.selectDate("year", "next"))
2068
+ onClick: u[5] || (u[5] = (d) => o.selectDate("year", "next"))
2069
2069
  }, [
2070
- m(i, { class: "h-4" }),
2071
- m(i, { class: "h-4 -ml-3" }),
2072
- m(i, { class: "h-4 -ml-3" })
2070
+ m(r, { class: "h-4" }),
2071
+ m(r, { class: "h-4 -ml-3" }),
2072
+ m(r, { class: "h-4 -ml-3" })
2073
2073
  ])
2074
2074
  ])
2075
2075
  ]);
@@ -2077,14 +2077,14 @@ function Zo(p, d, l, n, o, r) {
2077
2077
  const Jo = /* @__PURE__ */ te(Vo, [["render", Zo]]), Wo = {
2078
2078
  name: "SkeletonTable"
2079
2079
  }, Go = { class: "px-4 sm:px-6 lg:px-8 animate-pulse" }, Ko = { class: "flow-root" }, Qo = { class: "-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8" }, Xo = { class: "inline-block min-w-full py-2 align-middle px-1" }, el = { class: "overflow-hidden shadow ring-1 ring-black ring-opacity-5 sm:rounded-lg" }, tl = { class: "min-w-full divide-y divide-gray-300" }, sl = { class: "divide-y divide-gray-200 bg-white" };
2080
- function ol(p, d, l, n, o, r) {
2080
+ function ol(p, u, n, i, l, o) {
2081
2081
  return s(), a("div", Go, [
2082
2082
  e("div", Ko, [
2083
2083
  e("div", Qo, [
2084
2084
  e("div", Xo, [
2085
2085
  e("div", el, [
2086
2086
  e("table", tl, [
2087
- d[1] || (d[1] = e("thead", { class: "bg-gray-50" }, [
2087
+ u[1] || (u[1] = e("thead", { class: "bg-gray-50" }, [
2088
2088
  e("tr", null, [
2089
2089
  e("th", {
2090
2090
  scope: "col",
@@ -2121,7 +2121,7 @@ function ol(p, d, l, n, o, r) {
2121
2121
  ])
2122
2122
  ], -1)),
2123
2123
  e("tbody", sl, [
2124
- (s(), a($, null, _(10, (t) => e("tr", { key: t }, d[0] || (d[0] = [
2124
+ (s(), a($, null, _(10, (t) => e("tr", { key: t }, u[0] || (u[0] = [
2125
2125
  e("td", { class: "whitespace-nowrap py-4 pl-4 pr-3 text-sm font-medium text-gray-900 sm:pl-6" }, [
2126
2126
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-6" })
2127
2127
  ], -1),
@@ -2156,16 +2156,16 @@ function ol(p, d, l, n, o, r) {
2156
2156
  ]);
2157
2157
  }
2158
2158
  const tt = /* @__PURE__ */ te(Wo, [["render", ol]]);
2159
- var ie = { exports: {} }, ll = ie.exports, Ne;
2159
+ var ie = { exports: {} }, ll = ie.exports, Oe;
2160
2160
  function rl() {
2161
- return Ne || (Ne = 1, function(p, d) {
2162
- (function(l, n) {
2163
- p.exports = n();
2161
+ return Oe || (Oe = 1, function(p, u) {
2162
+ (function(n, i) {
2163
+ p.exports = i();
2164
2164
  })(ll, function() {
2165
- return function(l, n, o) {
2166
- n.prototype.isToday = function() {
2167
- var r = "YYYY-MM-DD", t = o();
2168
- return this.format(r) === t.format(r);
2165
+ return function(n, i, l) {
2166
+ i.prototype.isToday = function() {
2167
+ var o = "YYYY-MM-DD", t = l();
2168
+ return this.format(o) === t.format(o);
2169
2169
  };
2170
2170
  };
2171
2171
  });
@@ -2189,19 +2189,19 @@ const al = /* @__PURE__ */ Lo(nl), il = {
2189
2189
  }
2190
2190
  }
2191
2191
  }, dl = { class: "text-xs" }, ul = { class: "font-bold text-lg" }, cl = { class: "text-xs font-medium" };
2192
- function gl(p, d, l, n, o, r) {
2192
+ function gl(p, u, n, i, l, o) {
2193
2193
  return s(), a("div", {
2194
2194
  class: f([
2195
2195
  "day select-none text-center",
2196
2196
  {
2197
- "bg-indigo-200 text-white": r.currentDay.isWeekend,
2198
- "bg-[#0ff] text-white": r.currentDay.isToday
2197
+ "bg-indigo-200 text-white": o.currentDay.isWeekend,
2198
+ "bg-[#0ff] text-white": o.currentDay.isToday
2199
2199
  }
2200
2200
  ])
2201
2201
  }, [
2202
- e("p", dl, g(r.currentDay.dayName), 1),
2203
- e("p", ul, g(r.currentDay.day), 1),
2204
- e("p", cl, g(r.currentDay.month), 1)
2202
+ e("p", dl, g(o.currentDay.dayName), 1),
2203
+ e("p", ul, g(o.currentDay.day), 1),
2204
+ e("p", cl, g(o.currentDay.month), 1)
2205
2205
  ], 2);
2206
2206
  }
2207
2207
  const ml = /* @__PURE__ */ te(il, [["render", gl]]), pl = {
@@ -2224,18 +2224,18 @@ const ml = /* @__PURE__ */ te(il, [["render", gl]]), pl = {
2224
2224
  }
2225
2225
  }
2226
2226
  }, fl = { class: "priceDay" };
2227
- function yl(p, d, l, n, o, r) {
2227
+ function yl(p, u, n, i, l, o) {
2228
2228
  return s(), a("div", fl, [
2229
2229
  e("div", {
2230
2230
  class: f([
2231
2231
  {
2232
- "bg-indigo-200 text-white": r.currentDay.isWeekend,
2233
- "bg-green-300 text-white": l.price.price > l.basePrice,
2234
- "bg-yellow-300 text-white": l.price.price < l.basePrice
2232
+ "bg-indigo-200 text-white": o.currentDay.isWeekend,
2233
+ "bg-green-300 text-white": n.price.price > n.basePrice,
2234
+ "bg-yellow-300 text-white": n.price.price < n.basePrice
2235
2235
  },
2236
2236
  "select-none text-center rounded-lg p-1"
2237
2237
  ])
2238
- }, g(r.currentDay.price) + g(l.currency), 3)
2238
+ }, g(o.currentDay.price) + g(n.currency), 3)
2239
2239
  ]);
2240
2240
  }
2241
2241
  const oe = /* @__PURE__ */ te(pl, [["render", yl]]), hl = {
@@ -2269,7 +2269,7 @@ const oe = /* @__PURE__ */ te(pl, [["render", yl]]), hl = {
2269
2269
  colspan: "2",
2270
2270
  scope: "colgroup",
2271
2271
  class: "relative bg-gray-100 py-3.5 pl-4 pr-3 text-left font-semibold text-gray-900"
2272
- }, Nl = ["checked", "indeterminate"], Ol = { class: "pl-6" }, Il = {
2272
+ }, Ol = ["checked", "indeterminate"], Nl = { class: "pl-6" }, Il = {
2273
2273
  colspan: "2",
2274
2274
  scope: "colgroup",
2275
2275
  class: "bg-gray-100 py-2 pl-4 pr-3 text-left font-semibold text-gray-900"
@@ -2302,24 +2302,24 @@ const oe = /* @__PURE__ */ te(pl, [["render", yl]]), hl = {
2302
2302
  literals: {}
2303
2303
  },
2304
2304
  emits: ["dateChanged", "changeCategoryBulkPrices", "changeCategorySelectionPrice", "changeCategoryUpgradePrice", "changeRoomPrice", "tableAction"],
2305
- setup(p, { emit: d }) {
2306
- const l = p, n = d, o = A(/* @__PURE__ */ new Date()), r = A(l.today), t = A([]);
2307
- R(() => l.today, (k) => {
2308
- r.value = k;
2305
+ setup(p, { emit: u }) {
2306
+ const n = p, i = u, l = A(/* @__PURE__ */ new Date()), o = A(n.today), t = A([]);
2307
+ R(() => n.today, (k) => {
2308
+ o.value = k;
2309
2309
  });
2310
- const i = Y(() => {
2310
+ const r = Y(() => {
2311
2311
  let k = [];
2312
2312
  for (let P = 0; P < 14; P++)
2313
- k.push(z(r.value).add(P, "day"));
2313
+ k.push(z(o.value).add(P, "day"));
2314
2314
  return k;
2315
- }), u = Y(() => t.value.length > 0 && t.value.length < l.rooms.length), y = (k) => {
2316
- z(k).isBefore(o.value) || (r.value = k, n("dateChanged", r.value));
2315
+ }), d = Y(() => t.value.length > 0 && t.value.length < n.rooms.length), y = (k) => {
2316
+ z(k).isBefore(l.value) || (o.value = k, i("dateChanged", o.value));
2317
2317
  }, h = (k) => {
2318
- let P = l.category.selectionPrices.find((I) => z(I.date).isSame(k.date));
2318
+ let P = n.category.selectionPrices.find((I) => z(I.date).isSame(k.date));
2319
2319
  return P ? P.price : k.price;
2320
2320
  }, w = (k) => {
2321
- t.value = k.target.checked ? l.rooms.map((P) => P.id) : [];
2322
- }, L = () => n("changeCategoryBulkPrices"), N = (k) => n("changeCategorySelectionPrice", k), S = (k) => n("changeCategoryUpgradePrice", k), M = (k) => n("tableAction", k), F = (k, P, I) => n("changeRoomPrice", { price: k, roomId: P, roomName: I });
2321
+ t.value = k.target.checked ? n.rooms.map((P) => P.id) : [];
2322
+ }, L = () => i("changeCategoryBulkPrices"), O = (k) => i("changeCategorySelectionPrice", k), S = (k) => i("changeCategoryUpgradePrice", k), M = (k) => i("tableAction", k), F = (k, P, I) => i("changeRoomPrice", { price: k, roomId: P, roomName: I });
2323
2323
  return (k, P) => {
2324
2324
  var I, se;
2325
2325
  return k.loading ? (s(), x(tt, { key: 1 })) : (s(), a("div", hl, [
@@ -2331,18 +2331,18 @@ const oe = /* @__PURE__ */ te(pl, [["render", yl]]), hl = {
2331
2331
  e("tr", null, [
2332
2332
  e("th", $l, [
2333
2333
  m(Jo, {
2334
- selectedDate: r.value,
2335
- onDateSelected: P[0] || (P[0] = (O) => y(O))
2334
+ selectedDate: o.value,
2335
+ onDateSelected: P[0] || (P[0] = (N) => y(N))
2336
2336
  }, null, 8, ["selectedDate"])
2337
2337
  ]),
2338
- (s(!0), a($, null, _(i.value, (O, q) => (s(), a("th", {
2338
+ (s(!0), a($, null, _(r.value, (N, q) => (s(), a("th", {
2339
2339
  scope: "col",
2340
2340
  key: q,
2341
2341
  class: "text-sm font-semibold text-gray-900 p-0"
2342
2342
  }, [
2343
2343
  m(ml, {
2344
2344
  class: "border-l border-gray-200 px-6 py-3",
2345
- day: O
2345
+ day: N
2346
2346
  }, null, 8, ["day"])
2347
2347
  ]))), 128))
2348
2348
  ]),
@@ -2364,14 +2364,14 @@ const oe = /* @__PURE__ */ te(pl, [["render", yl]]), hl = {
2364
2364
  ]),
2365
2365
  k.type === "discounts" ? (s(), a("tr", Cl, [
2366
2366
  e("td", Sl, g(k.literals.pricesDiscount), 1),
2367
- (s(!0), a($, null, _(k.category.selectionPrices, (O, q) => (s(), a("td", {
2367
+ (s(!0), a($, null, _(k.category.selectionPrices, (N, q) => (s(), a("td", {
2368
2368
  key: q,
2369
2369
  class: "p-0"
2370
2370
  }, [
2371
2371
  m(oe, {
2372
- onClick: (Q) => N(O),
2372
+ onClick: (Q) => O(N),
2373
2373
  class: "border-l border-gray-200 px-6 py-3 text-indigo-600 hover:text-indigo-400 font-bold cursor-pointer",
2374
- price: O,
2374
+ price: N,
2375
2375
  currency: k.currency.symbol,
2376
2376
  isBasePrice: !0
2377
2377
  }, null, 8, ["onClick", "price", "currency"])
@@ -2379,14 +2379,14 @@ const oe = /* @__PURE__ */ te(pl, [["render", yl]]), hl = {
2379
2379
  ])) : b("", !0),
2380
2380
  k.type === "prices" ? (s(), a("tr", Bl, [
2381
2381
  e("td", Ml, g(k.literals.pricesSelection), 1),
2382
- (s(!0), a($, null, _(k.category.selectionPrices, (O, q) => (s(), a("td", {
2382
+ (s(!0), a($, null, _(k.category.selectionPrices, (N, q) => (s(), a("td", {
2383
2383
  key: q,
2384
2384
  class: "p-0"
2385
2385
  }, [
2386
2386
  m(oe, {
2387
- onClick: (Q) => N(O),
2387
+ onClick: (Q) => O(N),
2388
2388
  class: "border-l border-gray-200 px-6 py-3 text-indigo-600 hover:text-indigo-400 font-bold cursor-pointer",
2389
- price: O,
2389
+ price: N,
2390
2390
  currency: k.currency.symbol,
2391
2391
  isBasePrice: !0
2392
2392
  }, null, 8, ["onClick", "price", "currency"])
@@ -2394,14 +2394,14 @@ const oe = /* @__PURE__ */ te(pl, [["render", yl]]), hl = {
2394
2394
  ])) : b("", !0),
2395
2395
  k.type === "prices" ? (s(), a("tr", Dl, [
2396
2396
  e("td", jl, g(k.literals.pricesUpgrade), 1),
2397
- (s(!0), a($, null, _(k.category.upgradePrices, (O, q) => (s(), a("td", {
2397
+ (s(!0), a($, null, _(k.category.upgradePrices, (N, q) => (s(), a("td", {
2398
2398
  key: q,
2399
2399
  class: "p-0"
2400
2400
  }, [
2401
2401
  m(oe, {
2402
- onClick: (Q) => S(O),
2402
+ onClick: (Q) => S(N),
2403
2403
  class: "border-l border-gray-200 px-6 py-3 text-indigo-600 hover:text-indigo-400 font-bold cursor-pointer bg-gray-100",
2404
- price: O,
2404
+ price: N,
2405
2405
  currency: k.currency.symbol,
2406
2406
  isBasePrice: !0
2407
2407
  }, null, 8, ["onClick", "price", "currency"])
@@ -2410,12 +2410,12 @@ const oe = /* @__PURE__ */ te(pl, [["render", yl]]), hl = {
2410
2410
  e("tr", null, [
2411
2411
  e("th", Tl, [
2412
2412
  ((I = t.value) == null ? void 0 : I.length) > 0 && ((se = k.actions) == null ? void 0 : se.length) > 0 ? (s(), a("div", zl, [
2413
- (s(!0), a($, null, _(k.actions, (O, q) => (s(), a("button", {
2414
- onClick: (Q) => M({ action: O.id, items: t.value }),
2413
+ (s(!0), a($, null, _(k.actions, (N, q) => (s(), a("button", {
2414
+ onClick: (Q) => M({ action: N.id, items: t.value }),
2415
2415
  key: q,
2416
2416
  type: "button",
2417
2417
  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"
2418
- }, g(O.name), 9, Ll))), 128))
2418
+ }, g(N.name), 9, Ll))), 128))
2419
2419
  ])) : b("", !0),
2420
2420
  e("span", null, g(k.literals.pricesSelection), 1)
2421
2421
  ])
@@ -2425,11 +2425,11 @@ const oe = /* @__PURE__ */ te(pl, [["render", yl]]), hl = {
2425
2425
  e("input", {
2426
2426
  type: "checkbox",
2427
2427
  class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-600",
2428
- checked: u.value || t.value.length === k.rooms.length,
2429
- indeterminate: u.value,
2428
+ checked: d.value || t.value.length === k.rooms.length,
2429
+ indeterminate: d.value,
2430
2430
  onChange: w
2431
- }, null, 40, Nl),
2432
- e("span", Ol, g(k.literals.room), 1)
2431
+ }, null, 40, Ol),
2432
+ e("span", Nl, g(k.literals.room), 1)
2433
2433
  ]),
2434
2434
  e("th", Il, g(k.literals.building), 1),
2435
2435
  e("th", Yl, g(k.literals.floor), 1),
@@ -2439,8 +2439,8 @@ const oe = /* @__PURE__ */ te(pl, [["render", yl]]), hl = {
2439
2439
  class: "bg-gray-100 py-2 pl-4 pr-3 text-left font-semibold text-gray-900"
2440
2440
  }, null, -1))
2441
2441
  ]),
2442
- (s(!0), a($, null, _(k.rooms, (O) => (s(), a("tr", {
2443
- key: O.name,
2442
+ (s(!0), a($, null, _(k.rooms, (N) => (s(), a("tr", {
2443
+ key: N.name,
2444
2444
  class: f([{ "even:bg-gray-100": k.type === "prices", "odd:bg-gray-100": k.type === "discounts" }])
2445
2445
  }, [
2446
2446
  e("td", Pl, [
@@ -2448,21 +2448,21 @@ const oe = /* @__PURE__ */ te(pl, [["render", yl]]), hl = {
2448
2448
  C(e("input", {
2449
2449
  type: "checkbox",
2450
2450
  class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-600",
2451
- value: O.name,
2451
+ value: N.name,
2452
2452
  "onUpdate:modelValue": P[1] || (P[1] = (q) => t.value = q)
2453
2453
  }, null, 8, ql), [
2454
2454
  [Ye, t.value]
2455
2455
  ]),
2456
- e("span", Vl, g(O.name), 1)
2456
+ e("span", Vl, g(N.name), 1)
2457
2457
  ]),
2458
- e("td", Rl, g(O.building), 1),
2459
- e("td", Ul, g(O.floor), 1),
2460
- (s(!0), a($, null, _(O.selectionPrices, (q, Q) => (s(), a("td", {
2458
+ e("td", Rl, g(N.building), 1),
2459
+ e("td", Ul, g(N.floor), 1),
2460
+ (s(!0), a($, null, _(N.selectionPrices, (q, Q) => (s(), a("td", {
2461
2461
  class: "p-0",
2462
2462
  key: Q
2463
2463
  }, [
2464
2464
  m(oe, {
2465
- onClick: (Id) => F(q, O.id, O.name),
2465
+ onClick: (Id) => F(q, N.id, N.name),
2466
2466
  class: "border-l border-gray-200 px-6 py-3 text-indigo-600 hover:text-indigo-400 cursor-pointer",
2467
2467
  price: q,
2468
2468
  currency: k.currency.symbol,
@@ -2502,13 +2502,13 @@ const oe = /* @__PURE__ */ te(pl, [["render", yl]]), hl = {
2502
2502
  annotations: {}
2503
2503
  },
2504
2504
  emits: ["selectedRange", "chartUpdated", "dataPointSelection", "maximizeChart"],
2505
- setup(p, { emit: d }) {
2506
- const l = d, n = A((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":"))), o = p;
2507
- let r = ce(o.dates || { from: "", to: n });
2508
- R(() => o.dates, (S) => {
2509
- S && (r = S);
2505
+ setup(p, { emit: u }) {
2506
+ const n = u, i = A((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":"))), l = p;
2507
+ let o = ce(l.dates || { from: "", to: i });
2508
+ R(() => l.dates, (S) => {
2509
+ S && (o = S);
2510
2510
  });
2511
- let i = {
2511
+ let r = {
2512
2512
  chart: {
2513
2513
  toolbar: {
2514
2514
  show: !1
@@ -2518,7 +2518,7 @@ const oe = /* @__PURE__ */ te(pl, [["render", yl]]), hl = {
2518
2518
  }
2519
2519
  },
2520
2520
  colors: function() {
2521
- return o.isNps ? [
2521
+ return l.isNps ? [
2522
2522
  function({ value: S, seriesIndex: M, dataPointIndex: F, w: k }) {
2523
2523
  if (F <= 5) return "#F87171";
2524
2524
  if (F > 5 && F <= 7) return "#eab308";
@@ -2548,10 +2548,10 @@ const oe = /* @__PURE__ */ te(pl, [["render", yl]]), hl = {
2548
2548
  }
2549
2549
  }
2550
2550
  };
2551
- o.annotations && (i.annotations = {
2551
+ l.annotations && (r.annotations = {
2552
2552
  yaxis: [
2553
2553
  {
2554
- y: o.annotations.high,
2554
+ y: l.annotations.high,
2555
2555
  borderColor: "#4f46e5",
2556
2556
  label: {
2557
2557
  borderColor: "#4f46e5",
@@ -2559,15 +2559,15 @@ const oe = /* @__PURE__ */ te(pl, [["render", yl]]), hl = {
2559
2559
  color: "#fff",
2560
2560
  background: "#4f46e5"
2561
2561
  },
2562
- text: o.annotations.text
2562
+ text: l.annotations.text
2563
2563
  }
2564
2564
  }
2565
2565
  ]
2566
- }), o.type === "area" && (i.tooltip = { intersect: !0, shared: !1 });
2567
- const u = () => (i.chart.stacked = o.stacked, { ...i, ...o.options, plotOptions: { bar: { horizontal: o.horizontal } } }), y = () => {
2568
- r.from !== "" && r.to !== "" && z(r.from).isBefore(z(r.to)) && l("selectedRange", { range: r, chartId: o.id });
2569
- }, h = Y(() => o.series), w = Y(() => u()), L = () => l("chartUpdated"), N = (S, M, F) => {
2570
- l("dataPointSelection", { id: o.id, chartContext: M, config: F, event: S });
2566
+ }), l.type === "area" && (r.tooltip = { intersect: !0, shared: !1 });
2567
+ const d = () => (r.chart.stacked = l.stacked, { ...r, ...l.options, plotOptions: { bar: { horizontal: l.horizontal } } }), y = () => {
2568
+ o.from !== "" && o.to !== "" && z(o.from).isBefore(z(o.to)) && n("selectedRange", { range: o, chartId: l.id });
2569
+ }, h = Y(() => l.series), w = Y(() => d()), L = () => n("chartUpdated"), O = (S, M, F) => {
2570
+ n("dataPointSelection", { id: l.id, chartContext: M, config: F, event: S });
2571
2571
  };
2572
2572
  return (S, M) => (s(), a($, null, [
2573
2573
  C(e("div", {
@@ -2626,27 +2626,27 @@ const oe = /* @__PURE__ */ te(pl, [["render", yl]]), hl = {
2626
2626
  e("div", Xl, [
2627
2627
  C(e("input", {
2628
2628
  type: "datetime-local",
2629
- "onUpdate:modelValue": M[0] || (M[0] = (F) => c(r).from = F),
2630
- max: n.value.toString(),
2629
+ "onUpdate:modelValue": M[0] || (M[0] = (F) => c(o).from = F),
2630
+ max: i.value.toString(),
2631
2631
  onChange: y,
2632
2632
  name: "from",
2633
2633
  id: "from",
2634
2634
  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"
2635
2635
  }, null, 40, er), [
2636
- [X, c(r).from]
2636
+ [X, c(o).from]
2637
2637
  ])
2638
2638
  ]),
2639
2639
  e("div", tr, [
2640
2640
  C(e("input", {
2641
2641
  type: "datetime-local",
2642
- "onUpdate:modelValue": M[1] || (M[1] = (F) => c(r).to = F),
2643
- max: n.value.toString(),
2642
+ "onUpdate:modelValue": M[1] || (M[1] = (F) => c(o).to = F),
2643
+ max: i.value.toString(),
2644
2644
  onChange: y,
2645
2645
  name: "to",
2646
2646
  id: "to",
2647
2647
  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"
2648
2648
  }, null, 40, sr), [
2649
- [X, c(r).to]
2649
+ [X, c(o).to]
2650
2650
  ])
2651
2651
  ]),
2652
2652
  m(j, {
@@ -2667,7 +2667,7 @@ const oe = /* @__PURE__ */ te(pl, [["render", yl]]), hl = {
2667
2667
  options: w.value,
2668
2668
  onUpdated: L,
2669
2669
  onMounted: L,
2670
- onDataPointSelection: N
2670
+ onDataPointSelection: O
2671
2671
  }, null, 8, ["type", "series", "height", "options"])
2672
2672
  ], 512), [
2673
2673
  [D, !S.empty]
@@ -2724,8 +2724,8 @@ const oe = /* @__PURE__ */ te(pl, [["render", yl]]), hl = {
2724
2724
  }), rr = {
2725
2725
  name: "uiFooter"
2726
2726
  }, nr = { class: "bg-white" };
2727
- function ar(p, d, l, n, o, r) {
2728
- return s(), a("footer", nr, d[0] || (d[0] = [
2727
+ function ar(p, u, n, i, l, o) {
2728
+ return s(), a("footer", nr, u[0] || (u[0] = [
2729
2729
  e("div", { class: "mx-auto py-6 px-4 sm:px-6 md:flex md:items-center md:justify-between lg:px-8" }, [
2730
2730
  e("div", { class: "mt-8 md:mt-0 md:order-1" }, [
2731
2731
  e("p", { class: "text-center text-base text-gray-400" }, "© Made by Hotelinking.")
@@ -2741,23 +2741,23 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
2741
2741
  fixed: { type: Boolean, default: !0 }
2742
2742
  },
2743
2743
  setup(p) {
2744
- return (d, l) => (s(), a("div", {
2744
+ return (u, n) => (s(), a("div", {
2745
2745
  class: f([
2746
- { fixed: d.fixed },
2746
+ { fixed: u.fixed },
2747
2747
  "load-screen h-full w-full top-0 left-0 z-[100] flex flex-col items-center justify-center bg-gray-50"
2748
2748
  ])
2749
2749
  }, [
2750
- l[0] || (l[0] = e("div", { class: "spinner h-12 w-12 mb-6" }, [
2750
+ n[0] || (n[0] = e("div", { class: "spinner h-12 w-12 mb-6" }, [
2751
2751
  e("img", {
2752
2752
  src: "https://images.hotelinking.com/ui/loader.gif",
2753
2753
  alt: "loading animation"
2754
2754
  })
2755
2755
  ], -1)),
2756
- C(e("h2", { class: "text-xs font-bold text-center uppercase mb-2" }, g(d.title), 513), [
2757
- [D, d.title]
2756
+ C(e("h2", { class: "text-xs font-bold text-center uppercase mb-2" }, g(u.title), 513), [
2757
+ [D, u.title]
2758
2758
  ]),
2759
- C(e("p", { class: "text-xs text-center uppercase md:w-1/4" }, g(d.message), 513), [
2760
- [D, d.message]
2759
+ C(e("p", { class: "text-xs text-center uppercase md:w-1/4" }, g(u.message), 513), [
2760
+ [D, u.message]
2761
2761
  ])
2762
2762
  ], 2));
2763
2763
  }
@@ -2784,77 +2784,77 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
2784
2784
  loading: { type: Boolean, default: !0 }
2785
2785
  },
2786
2786
  emits: ["changePage"],
2787
- setup(p, { emit: d }) {
2788
- const l = d, n = p, o = A(3), r = Y(
2789
- () => Math.max(1, Number(n.current) - Number(o.value))
2787
+ setup(p, { emit: u }) {
2788
+ const n = u, i = p, l = A(3), o = Y(
2789
+ () => Math.max(1, Number(i.current) - Number(l.value))
2790
2790
  ), t = Y(
2791
- () => Math.min(Number(n.current) + Number(o.value), Number(n.total))
2792
- ), i = Y(() => {
2793
- let u = [];
2794
- for (let y = Number(r.value); y <= Number(t.value); y++)
2795
- u.push(y);
2796
- return u;
2791
+ () => Math.min(Number(i.current) + Number(l.value), Number(i.total))
2792
+ ), r = Y(() => {
2793
+ let d = [];
2794
+ for (let y = Number(o.value); y <= Number(t.value); y++)
2795
+ d.push(y);
2796
+ return d;
2797
2797
  });
2798
- return (u, y) => u.loading ? (s(), a("div", kr, y[2] || (y[2] = [
2798
+ return (d, y) => d.loading ? (s(), a("div", kr, y[2] || (y[2] = [
2799
2799
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/5" }, null, -1),
2800
2800
  e("div", { class: "h-10 w-32 bg-gray-200 rounded dark:bg-gray-300" }, null, -1)
2801
2801
  ]))) : (s(), a("div", ur, [
2802
2802
  e("div", cr, [
2803
2803
  e("a", gr, [
2804
- V(u.$slots, "previous")
2804
+ V(d.$slots, "previous")
2805
2805
  ]),
2806
2806
  e("a", mr, [
2807
- V(u.$slots, "next")
2807
+ V(d.$slots, "next")
2808
2808
  ])
2809
2809
  ]),
2810
2810
  e("div", pr, [
2811
2811
  e("div", null, [
2812
2812
  e("p", fr, [
2813
- V(u.$slots, "showing"),
2814
- e("span", yr, g(u.current), 1),
2815
- V(u.$slots, "of"),
2816
- e("span", hr, g(u.total), 1)
2813
+ V(d.$slots, "showing"),
2814
+ e("span", yr, g(d.current), 1),
2815
+ V(d.$slots, "of"),
2816
+ e("span", hr, g(d.total), 1)
2817
2817
  ])
2818
2818
  ]),
2819
2819
  e("div", null, [
2820
2820
  e("nav", vr, [
2821
2821
  C(e("button", {
2822
2822
  ref: "test-first-button",
2823
- onClick: y[0] || (y[0] = (h) => l("changePage", u.current - 1)),
2823
+ onClick: y[0] || (y[0] = (h) => n("changePage", d.current - 1)),
2824
2824
  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"
2825
2825
  }, [
2826
2826
  e("span", br, [
2827
- V(u.$slots, "previous")
2827
+ V(d.$slots, "previous")
2828
2828
  ]),
2829
2829
  m(c(Ge), {
2830
2830
  class: "h-5 w-5",
2831
2831
  "aria-hidden": "true"
2832
2832
  })
2833
2833
  ], 512), [
2834
- [D, u.current !== 1]
2834
+ [D, d.current !== 1]
2835
2835
  ]),
2836
- (s(!0), a($, null, _(i.value, (h) => (s(), a("button", {
2837
- onClick: (w) => l("changePage", h),
2836
+ (s(!0), a($, null, _(r.value, (h) => (s(), a("button", {
2837
+ onClick: (w) => n("changePage", h),
2838
2838
  key: h,
2839
2839
  "aria-current": "page",
2840
2840
  class: f([[
2841
- h === u.current ? "z-10 bg-indigo-50 border-indigo-500 text-indigo-600" : "bg-white border-gray-300 text-gray-500 hover:bg-gray-50"
2841
+ h === d.current ? "z-10 bg-indigo-50 border-indigo-500 text-indigo-600" : "bg-white border-gray-300 text-gray-500 hover:bg-gray-50"
2842
2842
  ], "relative inline-flex items-center px-4 py-2 border text-sm font-medium"])
2843
2843
  }, g(h), 11, wr))), 128)),
2844
2844
  C(e("button", {
2845
2845
  ref: "test-last-button",
2846
- onClick: y[1] || (y[1] = (h) => l("changePage", u.current + 1)),
2846
+ onClick: y[1] || (y[1] = (h) => n("changePage", d.current + 1)),
2847
2847
  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"
2848
2848
  }, [
2849
2849
  e("span", xr, [
2850
- V(u.$slots, "next")
2850
+ V(d.$slots, "next")
2851
2851
  ]),
2852
2852
  m(c(ee), {
2853
2853
  class: "h-5 w-5",
2854
2854
  "aria-hidden": "true"
2855
2855
  })
2856
2856
  ], 512), [
2857
- [D, u.current !== u.total]
2857
+ [D, d.current !== d.total]
2858
2858
  ])
2859
2859
  ])
2860
2860
  ])
@@ -2879,7 +2879,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
2879
2879
  }, Ar = {
2880
2880
  key: 1,
2881
2881
  class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2"
2882
- }, Nr = { class: "h-12 flex flex-row items-center" }, Or = /* @__PURE__ */ B({
2882
+ }, Or = { class: "h-12 flex flex-row items-center" }, Nr = /* @__PURE__ */ B({
2883
2883
  __name: "uiSidebar",
2884
2884
  props: {
2885
2885
  navigation: {},
@@ -2889,56 +2889,56 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
2889
2889
  logo: {}
2890
2890
  },
2891
2891
  emits: ["sideBarClick"],
2892
- setup(p, { emit: d }) {
2893
- const l = p, n = d, o = Y(() => l.navigation ? Array.isArray(l.navigation) ? l.navigation : [l.navigation] : []);
2894
- return (r, t) => (s(), a("div", _r, [
2892
+ setup(p, { emit: u }) {
2893
+ const n = p, i = u, l = Y(() => n.navigation ? Array.isArray(n.navigation) ? n.navigation : [n.navigation] : []);
2894
+ return (o, t) => (s(), a("div", _r, [
2895
2895
  e("div", Cr, [
2896
2896
  e("div", Sr, [
2897
2897
  e("nav", Br, [
2898
- r.loading ? (s(), a($, { key: 1 }, _(5, (i) => e("div", Nr, t[1] || (t[1] = [
2898
+ o.loading ? (s(), a($, { key: 1 }, _(5, (r) => e("div", Or, t[1] || (t[1] = [
2899
2899
  e("div", { class: "w-6 h-6 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 mr-4" }, null, -1),
2900
2900
  e("div", { class: "h-3 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 grow" }, null, -1)
2901
- ]))), 64)) : (s(!0), a($, { key: 0 }, _(o.value, (i) => (s(), a($, {
2902
- key: i.name
2901
+ ]))), 64)) : (s(!0), a($, { key: 0 }, _(l.value, (r) => (s(), a($, {
2902
+ key: r.name
2903
2903
  }, [
2904
- i.children ? (s(), x(c(Ce), {
2904
+ r.children ? (s(), x(c(Ce), {
2905
2905
  key: 1,
2906
2906
  as: "div",
2907
2907
  class: "space-y-1"
2908
2908
  }, {
2909
- default: v(({ open: u }) => [
2909
+ default: v(({ open: d }) => [
2910
2910
  m(c(Z), {
2911
- class: f([i.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"])
2911
+ class: f([r.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"])
2912
2912
  }, {
2913
2913
  default: v(() => [
2914
- i.icon ? (s(), x(j, {
2914
+ r.icon ? (s(), x(j, {
2915
2915
  key: 0,
2916
- loading: r.loading,
2917
- icon: i.icon,
2916
+ loading: o.loading,
2917
+ icon: r.icon,
2918
2918
  class: f([
2919
- i.current ? "text-white" : "text-gray-400 group-hover:text-gray-500",
2919
+ r.current ? "text-white" : "text-gray-400 group-hover:text-gray-500",
2920
2920
  "mr-3 flex-shrink-0 h-6 w-6"
2921
2921
  ]),
2922
2922
  "aria-hidden": "true"
2923
2923
  }, null, 8, ["loading", "icon", "class"])) : b("", !0),
2924
- r.loading ? (s(), a("div", zr, t[0] || (t[0] = [
2924
+ o.loading ? (s(), a("div", zr, t[0] || (t[0] = [
2925
2925
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, null, -1)
2926
- ]))) : (s(), a("span", Tr, g(i.name), 1)),
2926
+ ]))) : (s(), a("span", Tr, g(r.name), 1)),
2927
2927
  m(c(ee), {
2928
- class: f([u ? "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"])
2928
+ class: f([d ? "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"])
2929
2929
  }, null, 8, ["class"])
2930
2930
  ]),
2931
2931
  _: 2
2932
2932
  }, 1032, ["class"]),
2933
2933
  m(c(Se), { class: "space-y-1" }, {
2934
2934
  default: v(() => [
2935
- (s(!0), a($, null, _(i.children, (y) => (s(), x(c(Z), {
2936
- onClick: (h) => n("sideBarClick", y.id),
2935
+ (s(!0), a($, null, _(r.children, (y) => (s(), x(c(Z), {
2936
+ onClick: (h) => i("sideBarClick", y.id),
2937
2937
  key: y.name,
2938
2938
  class: f([y.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"])
2939
2939
  }, {
2940
2940
  default: v(() => [
2941
- r.loading ? (s(), a("div", Ar)) : (s(), a("span", Lr, g(y.name), 1))
2941
+ o.loading ? (s(), a("div", Ar)) : (s(), a("span", Lr, g(y.name), 1))
2942
2942
  ]),
2943
2943
  _: 2
2944
2944
  }, 1032, ["onClick", "class"]))), 128))
@@ -2949,23 +2949,23 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
2949
2949
  _: 2
2950
2950
  }, 1024)) : (s(), a("div", Mr, [
2951
2951
  e("button", {
2952
- onClick: (u) => n("sideBarClick", i.id),
2952
+ onClick: (d) => i("sideBarClick", r.id),
2953
2953
  class: f([
2954
- i.current ? "bg-indigo-600 text-white" : "text-gray-600 hover:bg-gray-50 hover:text-gray-900",
2954
+ r.current ? "bg-indigo-600 text-white" : "text-gray-600 hover:bg-gray-50 hover:text-gray-900",
2955
2955
  "group w-full flex items-center pl-2 py-2 text-sm font-medium rounded-md"
2956
2956
  ])
2957
2957
  }, [
2958
- i.icon ? (s(), x(j, {
2958
+ r.icon ? (s(), x(j, {
2959
2959
  key: 0,
2960
- loading: r.loading,
2961
- icon: i.icon,
2960
+ loading: o.loading,
2961
+ icon: r.icon,
2962
2962
  class: f([
2963
- i.current ? "text-white" : "text-gray-400 group-hover:text-gray-500",
2963
+ r.current ? "text-white" : "text-gray-400 group-hover:text-gray-500",
2964
2964
  "mr-3 flex-shrink-0 h-6 w-6"
2965
2965
  ]),
2966
2966
  "aria-hidden": "true"
2967
2967
  }, null, 8, ["loading", "icon", "class"])) : b("", !0),
2968
- r.loading ? b("", !0) : (s(), a("span", jr, g(i.name), 1))
2968
+ o.loading ? b("", !0) : (s(), a("span", jr, g(r.name), 1))
2969
2969
  ], 10, Dr)
2970
2970
  ]))
2971
2971
  ], 64))), 128))
@@ -3002,15 +3002,15 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
3002
3002
  productsSidebar: {}
3003
3003
  },
3004
3004
  emits: ["productBarClick", "sideBarClick"],
3005
- setup(p, { emit: d }) {
3006
- const l = p, n = Y(() => l.navigation ? Array.isArray(l.navigation) ? l.navigation : [l.navigation] : []);
3007
- return (o, r) => (s(), a("div", Ir, [
3005
+ setup(p, { emit: u }) {
3006
+ const n = p, i = Y(() => n.navigation ? Array.isArray(n.navigation) ? n.navigation : [n.navigation] : []);
3007
+ return (l, o) => (s(), a("div", Ir, [
3008
3008
  e("div", Yr, [
3009
3009
  e("ul", null, [
3010
- (s(!0), a($, null, _(o.productsSidebar, (t, i) => (s(), a("li", {
3011
- key: i,
3010
+ (s(!0), a($, null, _(l.productsSidebar, (t, r) => (s(), a("li", {
3011
+ key: r,
3012
3012
  class: f([{ "!bg-indigo-900": t.active }, "w-full h-16 flex items-center justify-center cursor-pointer bg-indigo-600 hover:bg-indigo-700"]),
3013
- onClick: (u) => o.$emit("productBarClick", t.name)
3013
+ onClick: (d) => l.$emit("productBarClick", t.name)
3014
3014
  }, [
3015
3015
  m(j, {
3016
3016
  icon: t.icon,
@@ -3021,27 +3021,27 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
3021
3021
  ], 10, Pr))), 128))
3022
3022
  ])
3023
3023
  ]),
3024
- o.loading ? (s(), a("div", Wr, [
3025
- (s(), a($, null, _(5, (t) => e("div", Gr, r[1] || (r[1] = [
3024
+ l.loading ? (s(), a("div", Wr, [
3025
+ (s(), a($, null, _(5, (t) => e("div", Gr, o[1] || (o[1] = [
3026
3026
  e("div", { class: "w-6 h-6 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 mr-4" }, null, -1),
3027
3027
  e("div", { class: "h-3 animate-pulse bg-gray-200 rounded-full w-1/2 dark:bg-gray-300" }, null, -1)
3028
3028
  ]))), 64))
3029
3029
  ])) : (s(), a("div", Fr, [
3030
3030
  e("div", {
3031
3031
  class: "flex h-16 shrink-0 items-center",
3032
- onClick: r[0] || (r[0] = (t) => o.$emit("sideBarClick", "logo"))
3032
+ onClick: o[0] || (o[0] = (t) => l.$emit("sideBarClick", "logo"))
3033
3033
  }, [
3034
3034
  e("img", {
3035
3035
  class: "h-8 w-auto self-center cursor-pointer",
3036
- src: o.logo,
3036
+ src: l.logo,
3037
3037
  alt: "Your Company"
3038
3038
  }, null, 8, qr)
3039
3039
  ]),
3040
3040
  e("nav", Vr, [
3041
- o.isFilterNavigation ? b("", !0) : (s(), a("ul", Rr, [
3041
+ l.isFilterNavigation ? b("", !0) : (s(), a("ul", Rr, [
3042
3042
  e("li", null, [
3043
3043
  e("ul", Ur, [
3044
- (s(!0), a($, null, _(n.value, (t) => (s(), a("li", {
3044
+ (s(!0), a($, null, _(i.value, (t) => (s(), a("li", {
3045
3045
  key: t.name
3046
3046
  }, [
3047
3047
  t.children ? (s(), x(c(Ce), {
@@ -3050,7 +3050,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
3050
3050
  }, {
3051
3051
  default: v(() => [
3052
3052
  m(c(Z), {
3053
- onClick: (i) => o.$emit("sideBarClick", t.id),
3053
+ onClick: (r) => l.$emit("sideBarClick", t.id),
3054
3054
  class: f([t.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"])
3055
3055
  }, {
3056
3056
  default: v(() => [
@@ -3064,7 +3064,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
3064
3064
  }, null, 8, ["icon"]),
3065
3065
  T(" " + g(t.name) + " ", 1),
3066
3066
  m(c(ee), {
3067
- class: f([t.children.some((i) => i.current) || t.current ? "rotate-90 text-primary-500" : "text-gray-400", "ml-auto h-5 w-5 shrink-0"]),
3067
+ class: f([t.children.some((r) => r.current) || t.current ? "rotate-90 text-primary-500" : "text-gray-400", "ml-auto h-5 w-5 shrink-0"]),
3068
3068
  "aria-hidden": "true"
3069
3069
  }, null, 8, ["class"])
3070
3070
  ]),
@@ -3077,16 +3077,16 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
3077
3077
  static: ""
3078
3078
  }, {
3079
3079
  default: v(() => [
3080
- (s(!0), a($, null, _(t.children, (i) => (s(), a("li", {
3081
- key: i.name
3080
+ (s(!0), a($, null, _(t.children, (r) => (s(), a("li", {
3081
+ key: r.name
3082
3082
  }, [
3083
3083
  m(c(Z), {
3084
3084
  as: "a",
3085
- onClick: (u) => o.$emit("sideBarClick", i.id),
3086
- class: f([i.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"])
3085
+ onClick: (d) => l.$emit("sideBarClick", r.id),
3086
+ class: f([r.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"])
3087
3087
  }, {
3088
3088
  default: v(() => [
3089
- T(g(i.name), 1)
3089
+ T(g(r.name), 1)
3090
3090
  ]),
3091
3091
  _: 2
3092
3092
  }, 1032, ["onClick", "class"])
@@ -3095,13 +3095,13 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
3095
3095
  _: 2
3096
3096
  }, 1024)
3097
3097
  ], 512), [
3098
- [D, t.children.some((i) => i.current) || t.current]
3098
+ [D, t.children.some((r) => r.current) || t.current]
3099
3099
  ])
3100
3100
  ]),
3101
3101
  _: 2
3102
3102
  }, 1024)) : (s(), a("div", {
3103
3103
  key: 0,
3104
- onClick: (i) => o.$emit("sideBarClick", t.id),
3104
+ onClick: (r) => l.$emit("sideBarClick", t.id),
3105
3105
  class: f([t.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"])
3106
3106
  }, [
3107
3107
  m(j, {
@@ -3118,29 +3118,29 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
3118
3118
  ])
3119
3119
  ])
3120
3120
  ])),
3121
- o.isFilterNavigation && o.filterNavigation ? (s(), a("ul", Er, [
3121
+ l.isFilterNavigation && l.filterNavigation ? (s(), a("ul", Er, [
3122
3122
  e("li", Zr, [
3123
- o.filterNavigation.hasSearch && o.filterNavigation.search ? (s(), x(E, {
3123
+ l.filterNavigation.hasSearch && l.filterNavigation.search ? (s(), x(E, {
3124
3124
  key: 0,
3125
- name: o.filterNavigation.search.name,
3126
- label: o.filterNavigation.search.label,
3127
- placeholder: o.filterNavigation.search.placeholder,
3128
- value: o.filterNavigation.search.value,
3129
- loading: o.filterNavigation.search.loading
3125
+ name: l.filterNavigation.search.name,
3126
+ label: l.filterNavigation.search.label,
3127
+ placeholder: l.filterNavigation.search.placeholder,
3128
+ value: l.filterNavigation.search.value,
3129
+ loading: l.filterNavigation.search.loading
3130
3130
  }, null, 8, ["name", "label", "placeholder", "value", "loading"])) : b("", !0)
3131
3131
  ]),
3132
- (s(!0), a($, null, _(o.filterNavigation.items, (t, i) => (s(), a("li", {
3132
+ (s(!0), a($, null, _(l.filterNavigation.items, (t, r) => (s(), a("li", {
3133
3133
  class: "ml-2",
3134
- key: i
3134
+ key: r
3135
3135
  }, [
3136
3136
  e("p", Jr, g(t.label), 1),
3137
- (s(!0), a($, null, _(t.filters, (u, y) => (s(), x(Ee, {
3137
+ (s(!0), a($, null, _(t.filters, (d, y) => (s(), x(Ee, {
3138
3138
  class: "mb-2",
3139
- value: u.value,
3140
- loading: u.loading
3139
+ value: d.value,
3140
+ loading: d.loading
3141
3141
  }, {
3142
3142
  default: v(() => [
3143
- T(g(u.text), 1)
3143
+ T(g(d.text), 1)
3144
3144
  ]),
3145
3145
  _: 2
3146
3146
  }, 1032, ["value", "loading"]))), 256))
@@ -3160,84 +3160,84 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
3160
3160
  loading: { type: Boolean, default: !0 }
3161
3161
  },
3162
3162
  emits: ["statClick"],
3163
- setup(p, { emit: d }) {
3164
- return (l, n) => l.loading ? (s(), a("div", ln, [
3163
+ setup(p, { emit: u }) {
3164
+ return (n, i) => n.loading ? (s(), a("div", ln, [
3165
3165
  e("div", rn, [
3166
3166
  e("dt", null, [
3167
3167
  e("div", nn, [
3168
3168
  m(j, {
3169
- loading: l.loading,
3170
- icon: l.item.icon,
3169
+ loading: n.loading,
3170
+ icon: n.item.icon,
3171
3171
  class: "h-6 w-6 text-white",
3172
3172
  "aria-hidden": "true"
3173
3173
  }, null, 8, ["loading", "icon"])
3174
3174
  ]),
3175
- n[1] || (n[1] = e("div", { class: "ml-16" }, [
3175
+ i[1] || (i[1] = e("div", { class: "ml-16" }, [
3176
3176
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2 mb-4 animate-pulse" })
3177
3177
  ], -1)),
3178
- n[2] || (n[2] = e("div", { class: "ml-16" }, [
3178
+ i[2] || (i[2] = e("div", { class: "ml-16" }, [
3179
3179
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2 animate-pulse" })
3180
3180
  ], -1))
3181
3181
  ])
3182
3182
  ])
3183
3183
  ])) : (s(), a("div", Kr, [
3184
3184
  e("div", {
3185
- class: f(["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 }])
3185
+ class: f(["relative bg-white pt-5 px-4 sm:pt-6 sm:px-6 shadow rounded-lg overflow-hidden h-full", { "pb-12": n.item.showFooter }])
3186
3186
  }, [
3187
3187
  e("dt", null, [
3188
3188
  e("div", {
3189
3189
  class: f(["absolute rounded-md p-3", {
3190
- "bg-indigo-500": !l.item.color,
3191
- "bg-green-500": l.item.color === "green",
3192
- "bg-red-500": l.item.color === "red",
3193
- "bg-yellow-500": l.item.color === "yellow",
3194
- "bg-cyan-300": l.item.color === "secondary"
3190
+ "bg-indigo-500": !n.item.color,
3191
+ "bg-green-500": n.item.color === "green",
3192
+ "bg-red-500": n.item.color === "red",
3193
+ "bg-yellow-500": n.item.color === "yellow",
3194
+ "bg-cyan-300": n.item.color === "secondary"
3195
3195
  }])
3196
3196
  }, [
3197
3197
  m(j, {
3198
- icon: l.item.icon,
3198
+ icon: n.item.icon,
3199
3199
  class: "h-6 w-6 text-white",
3200
3200
  "aria-hidden": "true",
3201
- loading: l.loading
3201
+ loading: n.loading
3202
3202
  }, null, 8, ["icon", "loading"])
3203
3203
  ], 2),
3204
- e("p", Qr, g(l.item.name), 1)
3204
+ e("p", Qr, g(n.item.name), 1)
3205
3205
  ]),
3206
3206
  e("dd", Xr, [
3207
- e("p", en, g(l.item.stat), 1),
3208
- l.item.explanation ? (s(), a("p", tn, g(l.item.explanation), 1)) : b("", !0),
3209
- l.item.changeType ? (s(), a("p", {
3207
+ e("p", en, g(n.item.stat), 1),
3208
+ n.item.explanation ? (s(), a("p", tn, g(n.item.explanation), 1)) : b("", !0),
3209
+ n.item.changeType ? (s(), a("p", {
3210
3210
  key: 1,
3211
3211
  class: f([
3212
3212
  {
3213
- "text-green-600": l.item.changeType === "increase",
3214
- "text-red-600": l.item.changeType === "decrease",
3215
- "text-black": l.item.changeType === "neutral"
3213
+ "text-green-600": n.item.changeType === "increase",
3214
+ "text-red-600": n.item.changeType === "decrease",
3215
+ "text-black": n.item.changeType === "neutral"
3216
3216
  },
3217
3217
  "ml-2 flex items-baseline text-sm font-semibold"
3218
3218
  ])
3219
3219
  }, [
3220
- l.item.changeType === "increase" ? (s(), x(c(Dt), {
3220
+ n.item.changeType === "increase" ? (s(), x(c(Dt), {
3221
3221
  key: 0,
3222
3222
  class: "self-center flex-shrink-0 h-3 w-3 text-green-500",
3223
3223
  "aria-hidden": "true"
3224
3224
  })) : b("", !0),
3225
- l.item.changeType === "decrease" ? (s(), x(c(Bt), {
3225
+ n.item.changeType === "decrease" ? (s(), x(c(Bt), {
3226
3226
  key: 1,
3227
3227
  class: "self-center flex-shrink-0 h-3 w-3 text-red-500",
3228
3228
  "aria-hidden": "true"
3229
3229
  })) : b("", !0),
3230
- T(" " + g(l.item.change), 1)
3230
+ T(" " + g(n.item.change), 1)
3231
3231
  ], 2)) : b("", !0),
3232
3232
  C(e("div", sn, [
3233
3233
  e("div", on, [
3234
3234
  e("span", {
3235
- onClick: n[0] || (n[0] = (o) => l.$emit("statClick", l.item.id)),
3235
+ onClick: i[0] || (i[0] = (l) => n.$emit("statClick", n.item.id)),
3236
3236
  class: "font-medium text-indigo-600 hover:text-indigo-500 cursor-pointer"
3237
- }, g(l.item.actionText), 1)
3237
+ }, g(n.item.actionText), 1)
3238
3238
  ])
3239
3239
  ], 512), [
3240
- [D, l.item.showFooter]
3240
+ [D, n.item.showFooter]
3241
3241
  ])
3242
3242
  ])
3243
3243
  ], 2)
@@ -3265,14 +3265,14 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
3265
3265
  },
3266
3266
  emits: ["itemClicked"],
3267
3267
  setup(p) {
3268
- return (d, l) => d.loading ? (s(), a("div", hn, [
3269
- l[1] || (l[1] = K('<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)),
3268
+ return (u, n) => u.loading ? (s(), a("div", hn, [
3269
+ n[1] || (n[1] = K('<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)),
3270
3270
  e("div", vn, [
3271
3271
  e("dl", null, [
3272
- (s(), a($, null, _(5, (n) => e("div", {
3273
- key: n,
3274
- class: f(["px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6", [n % 2 === 0 ? "bg-gray-50" : "bg-white"]])
3275
- }, l[0] || (l[0] = [
3272
+ (s(), a($, null, _(5, (i) => e("div", {
3273
+ key: i,
3274
+ class: f(["px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6", [i % 2 === 0 ? "bg-gray-50" : "bg-white"]])
3275
+ }, n[0] || (n[0] = [
3276
3276
  e("dt", { class: "text-sm font-medium text-gray-500" }, [
3277
3277
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-12" })
3278
3278
  ], -1),
@@ -3284,33 +3284,33 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
3284
3284
  ])
3285
3285
  ])) : (s(), a("div", an, [
3286
3286
  e("div", dn, [
3287
- e("h3", un, g(d.title), 1),
3288
- e("p", cn, g(d.subtitle), 1)
3287
+ e("h3", un, g(u.title), 1),
3288
+ e("p", cn, g(u.subtitle), 1)
3289
3289
  ]),
3290
3290
  e("div", gn, [
3291
3291
  e("dl", null, [
3292
- (s(!0), a($, null, _(d.items, (n, o) => (s(), a("div", {
3293
- key: o,
3294
- class: f(["px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6", [o % 2 === 0 ? "bg-gray-50" : "bg-white"]])
3292
+ (s(!0), a($, null, _(u.items, (i, l) => (s(), a("div", {
3293
+ key: l,
3294
+ class: f(["px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6", [l % 2 === 0 ? "bg-gray-50" : "bg-white"]])
3295
3295
  }, [
3296
- e("dt", mn, g(n.title), 1),
3297
- n.type === "tags" ? (s(), a("dd", pn, [
3298
- (s(!0), a($, null, _(n.tags, (r, t) => (s(), x(U, {
3299
- loading: d.loading,
3296
+ e("dt", mn, g(i.title), 1),
3297
+ i.type === "tags" ? (s(), a("dd", pn, [
3298
+ (s(!0), a($, null, _(i.tags, (o, t) => (s(), x(U, {
3299
+ loading: u.loading,
3300
3300
  key: t,
3301
- color: r.color,
3301
+ color: o.color,
3302
3302
  class: "mr-2 mb-2"
3303
3303
  }, {
3304
3304
  default: v(() => [
3305
- T(g(r.text), 1)
3305
+ T(g(o.text), 1)
3306
3306
  ]),
3307
3307
  _: 2
3308
3308
  }, 1032, ["loading", "color"]))), 128))
3309
- ])) : n.type === "link" ? (s(), a("dd", {
3309
+ ])) : i.type === "link" ? (s(), a("dd", {
3310
3310
  key: 1,
3311
3311
  class: "mt-1 text-sm text-indigo-600 hover:text-indigo-400 sm:col-span-2 sm:mt-0 cursor-pointer",
3312
- onClick: (r) => d.$emit("itemClicked", n.emits)
3313
- }, g(n.text), 9, fn)) : (s(), a("dd", yn, g(n.text), 1))
3312
+ onClick: (o) => u.$emit("itemClicked", i.emits)
3313
+ }, g(i.text), 9, fn)) : (s(), a("dd", yn, g(i.text), 1))
3314
3314
  ], 2))), 128))
3315
3315
  ])
3316
3316
  ])
@@ -3325,8 +3325,8 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
3325
3325
  }
3326
3326
  },
3327
3327
  setup(p) {
3328
- return (d, l) => (s(), a("div", wn, [
3329
- l[0] || (l[0] = e("svg", {
3328
+ return (u, n) => (s(), a("div", wn, [
3329
+ n[0] || (n[0] = e("svg", {
3330
3330
  class: "absolute -top-3 left-0",
3331
3331
  xmlns: "http://www.w3.org/2000/svg",
3332
3332
  width: "27.687",
@@ -3355,10 +3355,10 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
3355
3355
  }, $n = { key: 0 }, _n = { class: "flex flex-col" }, Cn = { class: "-my-2 overflow-x-auto" }, Sn = { class: "inline-block min-w-full py-2 align-middle px-1" }, Bn = { class: "relative overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg" }, Mn = {
3356
3356
  key: 0,
3357
3357
  class: "absolute top-0 left-12 flex h-12 items-center space-x-3 sm:left-16 bg-white shadow rounded px-4 py-1 z-10"
3358
- }, Dn = ["onClick"], jn = { class: "min-w-full table-fixed divide-y divide-gray-300" }, Tn = { class: "bg-gray-50" }, zn = ["checked", "indeterminate"], Ln = ["onMouseover", "onMouseleave"], An = ["onClick"], Nn = {
3358
+ }, Dn = ["onClick"], jn = { class: "min-w-full table-fixed divide-y divide-gray-300" }, Tn = { class: "bg-gray-50" }, zn = ["checked", "indeterminate"], Ln = ["onMouseover", "onMouseleave"], An = ["onClick"], On = {
3359
3359
  key: 2,
3360
3360
  class: "group flex items-center uppercase text-xs"
3361
- }, On = { class: "divide-y divide-gray-200 bg-white" }, In = {
3361
+ }, Nn = { class: "divide-y divide-gray-200 bg-white" }, In = {
3362
3362
  key: 0,
3363
3363
  class: "absolute inset-y-0 left-0 w-0.5 bg-indigo-600"
3364
3364
  }, Yn = ["value"], Pn = ["onClick"], Fn = ["href"], qn = { key: 3 }, Vn = /* @__PURE__ */ B({
@@ -3373,29 +3373,29 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
3373
3373
  actions: {}
3374
3374
  },
3375
3375
  emits: ["tableAction", "orderBy", "customEmit", "selectedItemsDeleted"],
3376
- setup(p, { emit: d }) {
3377
- let l = A([]), n = A(""), o = A(!1);
3378
- const r = d, t = p, i = Y(
3379
- () => l.value.length > 0 && l.value.length < t.items.length
3380
- ), u = (w, L) => {
3381
- n.value !== w && L && (n.value = w), L || (n.value = void 0);
3376
+ setup(p, { emit: u }) {
3377
+ let n = A([]), i = A(""), l = A(!1);
3378
+ const o = u, t = p, r = Y(
3379
+ () => n.value.length > 0 && n.value.length < t.items.length
3380
+ ), d = (w, L) => {
3381
+ i.value !== w && L && (i.value = w), L || (i.value = void 0);
3382
3382
  }, y = (w) => {
3383
- l.value = w.target.checked ? t.items.map((L) => L.id) : [];
3383
+ n.value = w.target.checked ? t.items.map((L) => L.id) : [];
3384
3384
  }, h = (w) => {
3385
- r("customEmit", w);
3385
+ o("customEmit", w);
3386
3386
  };
3387
3387
  return R(() => t.resetSelected, (w) => {
3388
- o.value = w, w && o.value && (l.value = [], o.value = !w, r("selectedItemsDeleted"));
3388
+ l.value = w, w && l.value && (n.value = [], l.value = !w, o("selectedItemsDeleted"));
3389
3389
  }), (w, L) => {
3390
- var N, S;
3390
+ var O, S;
3391
3391
  return w.loading ? (s(), x(tt, { key: 1 })) : (s(), a("div", $n, [
3392
3392
  e("div", _n, [
3393
3393
  e("div", Cn, [
3394
3394
  e("div", Sn, [
3395
3395
  e("div", Bn, [
3396
- ((N = c(l)) == null ? void 0 : N.length) > 0 && ((S = w.actions) == null ? void 0 : S.length) > 0 ? (s(), a("div", Mn, [
3396
+ ((O = c(n)) == null ? void 0 : O.length) > 0 && ((S = w.actions) == null ? void 0 : S.length) > 0 ? (s(), a("div", Mn, [
3397
3397
  (s(!0), a($, null, _(w.actions, (M, F) => (s(), a("button", {
3398
- onClick: (k) => w.$emit("tableAction", { action: M.id, items: c(l) }),
3398
+ onClick: (k) => w.$emit("tableAction", { action: M.id, items: c(n) }),
3399
3399
  key: F,
3400
3400
  type: "button",
3401
3401
  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"
@@ -3410,8 +3410,8 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
3410
3410
  }, [
3411
3411
  w.actions ? (s(), a("input", {
3412
3412
  key: 0,
3413
- checked: i.value || c(l).length === w.items.length,
3414
- indeterminate: i.value,
3413
+ checked: r.value || c(n).length === w.items.length,
3414
+ indeterminate: r.value,
3415
3415
  class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500",
3416
3416
  type: "checkbox",
3417
3417
  onChange: y
@@ -3421,19 +3421,19 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
3421
3421
  key: F,
3422
3422
  class: "py-3.5 pr-3 text-left font-semibold text-gray-900 relative",
3423
3423
  scope: "col",
3424
- onMouseover: (k) => u(M.name, !0),
3425
- onMouseleave: (k) => u(M.name, !1)
3424
+ onMouseover: (k) => d(M.name, !0),
3425
+ onMouseleave: (k) => d(M.name, !1)
3426
3426
  }, [
3427
3427
  M.tooltip ? C((s(), x(kn, {
3428
3428
  key: 0,
3429
3429
  tip: M.tooltip
3430
3430
  }, null, 8, ["tip"])), [
3431
- [D, c(n) === M.name]
3431
+ [D, c(i) === M.name]
3432
3432
  ]) : b("", !0),
3433
3433
  M.value ? (s(), a("button", {
3434
3434
  key: 1,
3435
3435
  class: "group flex items-center uppercase text-xs relative text-nowrap",
3436
- onClick: (k) => r("orderBy", { value: M.value, orderDirection: w.orderDirection === "asc" ? "desc" : "asc" })
3436
+ onClick: (k) => o("orderBy", { value: M.value, orderDirection: w.orderDirection === "asc" ? "desc" : "asc" })
3437
3437
  }, [
3438
3438
  e("span", null, g(M.name), 1),
3439
3439
  e("span", {
@@ -3447,41 +3447,41 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
3447
3447
  color: M.value === w.orderedBy ? "white" : "primary"
3448
3448
  }, null, 8, ["icon", "loading", "color"])
3449
3449
  ], 2)
3450
- ], 8, An)) : (s(), a("p", Nn, [
3450
+ ], 8, An)) : (s(), a("p", On, [
3451
3451
  e("span", null, g(M.name), 1)
3452
3452
  ]))
3453
3453
  ], 40, Ln))), 128))
3454
3454
  ])
3455
3455
  ]),
3456
- e("tbody", On, [
3456
+ e("tbody", Nn, [
3457
3457
  (s(!0), a($, null, _(w.items, (M, F) => {
3458
3458
  var k, P;
3459
3459
  return s(), a("tr", {
3460
3460
  key: M.id,
3461
3461
  class: f([
3462
- c(l).includes(M.id) && "bg-gray-50",
3462
+ c(n).includes(M.id) && "bg-gray-50",
3463
3463
  F % 2 == 0 ? void 0 : "bg-gray-50"
3464
3464
  ])
3465
3465
  }, [
3466
3466
  e("td", {
3467
3467
  class: f([((k = w.actions) == null ? void 0 : k.length) > 0 ? "w-2" : "w-0", "relative"])
3468
3468
  }, [
3469
- c(l).includes(M.id) ? (s(), a("div", In)) : b("", !0),
3469
+ c(n).includes(M.id) ? (s(), a("div", In)) : b("", !0),
3470
3470
  ((P = w.actions) == null ? void 0 : P.length) > 0 ? C((s(), a("input", {
3471
3471
  key: 1,
3472
- "onUpdate:modelValue": L[0] || (L[0] = (I) => he(l) ? l.value = I : l = I),
3472
+ "onUpdate:modelValue": L[0] || (L[0] = (I) => he(n) ? n.value = I : n = I),
3473
3473
  value: M.id,
3474
3474
  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",
3475
3475
  type: "checkbox"
3476
3476
  }, null, 8, Yn)), [
3477
- [Ye, c(l)]
3477
+ [Ye, c(n)]
3478
3478
  ]) : b("", !0)
3479
3479
  ], 2),
3480
3480
  (s(!0), a($, null, _(M.row, (I, se) => (s(), a("td", {
3481
3481
  key: se,
3482
3482
  class: f([
3483
3483
  "whitespace-nowrap py-4 pr-3 text-sm",
3484
- c(l).includes(M.id) ? "text-indigo-600" : "text-gray-900"
3484
+ c(n).includes(M.id) ? "text-indigo-600" : "text-gray-900"
3485
3485
  ])
3486
3486
  }, [
3487
3487
  typeof I == "object" && I.type === "tag" ? (s(), x(U, {
@@ -3496,7 +3496,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
3496
3496
  }, 1032, ["loading", "color"])) : typeof I == "object" && I.type === "link" ? (s(), a("span", {
3497
3497
  key: 1,
3498
3498
  class: "text-indigo-600 hover:text-indigo-400 cursor-pointer",
3499
- onClick: (O) => h(I)
3499
+ onClick: (N) => h(I)
3500
3500
  }, g(I.content), 9, Pn)) : typeof I == "object" && I.type === "href" ? (s(), a("a", {
3501
3501
  key: 2,
3502
3502
  class: "text-indigo-600 hover:text-indigo-400 cursor-pointer",
@@ -3523,20 +3523,20 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
3523
3523
  tabs: {}
3524
3524
  },
3525
3525
  emits: ["tabClicked"],
3526
- setup(p, { emit: d }) {
3527
- const l = d, n = (o) => {
3528
- const r = o.target;
3529
- r.value && l("tabClicked", r.value);
3526
+ setup(p, { emit: u }) {
3527
+ const n = u, i = (l) => {
3528
+ const o = l.target;
3529
+ o.value && n("tabClicked", o.value);
3530
3530
  };
3531
- return (o, r) => (s(), a("div", null, [
3531
+ return (l, o) => (s(), a("div", null, [
3532
3532
  e("div", Rn, [
3533
3533
  e("select", {
3534
- onChange: r[0] || (r[0] = (t) => n(t)),
3534
+ onChange: o[0] || (o[0] = (t) => i(t)),
3535
3535
  id: "tabs",
3536
3536
  name: "tabs",
3537
3537
  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"
3538
3538
  }, [
3539
- (s(!0), a($, null, _(o.tabs, (t) => (s(), a("option", {
3539
+ (s(!0), a($, null, _(l.tabs, (t) => (s(), a("option", {
3540
3540
  value: t.id,
3541
3541
  key: t.name
3542
3542
  }, g(t.name), 9, Un))), 128))
@@ -3545,9 +3545,9 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
3545
3545
  e("div", Hn, [
3546
3546
  e("div", En, [
3547
3547
  e("nav", Zn, [
3548
- (s(!0), a($, null, _(o.tabs, (t) => (s(), a("a", {
3548
+ (s(!0), a($, null, _(l.tabs, (t) => (s(), a("a", {
3549
3549
  key: t.name,
3550
- onClick: (i) => l("tabClicked", t.id),
3550
+ onClick: (r) => n("tabClicked", t.id),
3551
3551
  class: f([
3552
3552
  t.current ? "border-indigo-500 text-indigo-600" : "border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-200",
3553
3553
  "whitespace-nowrap flex py-4 px-1 border-b-2 font-medium text-sm cursor-pointer"
@@ -3601,10 +3601,10 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
3601
3601
  loading: { type: Boolean, default: !0 }
3602
3602
  },
3603
3603
  emits: ["timelineEventClicked", "timelineFooterClicked"],
3604
- setup(p, { emit: d }) {
3605
- const n = ce(p.timeline);
3606
- return (o, r) => o.loading ? (s(), a("div", ca, [
3607
- r[3] || (r[3] = e("div", { class: "px-4 py-5 sm:px-6 animate-pulse" }, [
3604
+ setup(p, { emit: u }) {
3605
+ const i = ce(p.timeline);
3606
+ return (l, o) => l.loading ? (s(), a("div", ca, [
3607
+ o[3] || (o[3] = e("div", { class: "px-4 py-5 sm:px-6 animate-pulse" }, [
3608
3608
  e("h1", { class: "text-xl font-bold" }, [
3609
3609
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4" })
3610
3610
  ])
@@ -3612,28 +3612,28 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
3612
3612
  e("div", ga, [
3613
3613
  e("div", ma, [
3614
3614
  e("ul", pa, [
3615
- (s(), a($, null, _(10, (t, i) => e("li", { key: i }, [
3615
+ (s(), a($, null, _(10, (t, r) => e("li", { key: r }, [
3616
3616
  e("div", fa, [
3617
3617
  t !== 10 ? (s(), a("span", ya)) : b("", !0),
3618
- r[2] || (r[2] = K('<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))
3618
+ o[2] || (o[2] = K('<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))
3619
3619
  ])
3620
3620
  ])), 64))
3621
3621
  ])
3622
3622
  ])
3623
3623
  ]),
3624
- r[4] || (r[4] = e("div", { class: "bg-gray-50 px-4 py-4 sm:px-6 z-10 animate-pulse" }, [
3624
+ o[4] || (o[4] = e("div", { class: "bg-gray-50 px-4 py-4 sm:px-6 z-10 animate-pulse" }, [
3625
3625
  e("div", { class: "text-sm" }, [
3626
3626
  e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4" })
3627
3627
  ])
3628
3628
  ], -1))
3629
3629
  ])) : (s(), a("div", {
3630
3630
  key: 0,
3631
- class: f(["h-[" + o.height + "px]", "bg-white overflow-hidden shadow rounded-lg"])
3631
+ class: f(["h-[" + l.height + "px]", "bg-white overflow-hidden shadow rounded-lg"])
3632
3632
  }, [
3633
3633
  e("div", Gn, [
3634
- e("h1", Kn, g(o.name), 1)
3634
+ e("h1", Kn, g(l.name), 1)
3635
3635
  ]),
3636
- n.items ? (s(), a("div", Qn, [
3636
+ i.items ? (s(), a("div", Qn, [
3637
3637
  e("div", Xn, [
3638
3638
  m(rt, {
3639
3639
  name: "list",
@@ -3641,16 +3641,16 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
3641
3641
  class: "-mb-8"
3642
3642
  }, {
3643
3643
  default: v(() => [
3644
- (s(!0), a($, null, _(n.items, (t, i) => (s(), a("li", { key: i }, [
3644
+ (s(!0), a($, null, _(i.items, (t, r) => (s(), a("li", { key: r }, [
3645
3645
  e("div", ea, [
3646
- i < n.items.length - 1 ? (s(), a("span", ta)) : b("", !0),
3646
+ r < i.items.length - 1 ? (s(), a("span", ta)) : b("", !0),
3647
3647
  e("div", sa, [
3648
3648
  e("div", null, [
3649
3649
  e("span", {
3650
3650
  class: f([(t == null ? void 0 : t.iconBackground) || "bg-indigo-600", "h-8 w-8 rounded-full flex items-center justify-center ring-4 ring-white"])
3651
3651
  }, [
3652
3652
  m(j, {
3653
- loading: o.loading,
3653
+ loading: l.loading,
3654
3654
  icon: t == null ? void 0 : t.icon,
3655
3655
  "aria-hidden": "true",
3656
3656
  class: "h-5 w-5 text-white",
@@ -3662,7 +3662,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
3662
3662
  e("div", null, [
3663
3663
  e("p", la, [
3664
3664
  e("a", {
3665
- onClick: (u) => o.$emit("timelineEventClicked", t.linkId),
3665
+ onClick: (d) => l.$emit("timelineEventClicked", t.linkId),
3666
3666
  class: "font-medium text-indigo-600 hover:text-indigo-800 cursor-pointer"
3667
3667
  }, g(t == null ? void 0 : t.target), 9, ra),
3668
3668
  T(" " + g(t == null ? void 0 : t.content), 1)
@@ -3682,12 +3682,12 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
3682
3682
  })
3683
3683
  ])
3684
3684
  ])) : b("", !0),
3685
- n.items ? (s(), a("div", ia, [
3685
+ i.items ? (s(), a("div", ia, [
3686
3686
  e("div", da, [
3687
3687
  e("a", {
3688
3688
  class: "cursor-pointer font-medium text-indigo-600 hover:text-indigo-500",
3689
- onClick: r[0] || (r[0] = (t) => o.$emit("timelineFooterClicked", o.timeline.id))
3690
- }, g(o.timeline.footerText), 1)
3689
+ onClick: o[0] || (o[0] = (t) => l.$emit("timelineFooterClicked", l.timeline.id))
3690
+ }, g(l.timeline.footerText), 1)
3691
3691
  ])
3692
3692
  ])) : (s(), a("div", ua, [
3693
3693
  m(j, {
@@ -3696,14 +3696,14 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
3696
3696
  loading: !1,
3697
3697
  size: "huge"
3698
3698
  }, null, 8, ["icon"]),
3699
- r[1] || (r[1] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1))
3699
+ o[1] || (o[1] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1))
3700
3700
  ]))
3701
3701
  ], 2));
3702
3702
  }
3703
3703
  }), va = { class: "mx-auto px-6 lg:px-8" }, ba = { class: "flex justify-between h-20" }, wa = { class: "flex" }, xa = { class: "-ml-2 mr-2 flex items-center lg:hidden" }, ka = ["src"], $a = { class: "flex items-center" }, _a = { class: "lg:ml-4 lg:flex-shrink-0 lg:flex lg:items-center hidden" }, Ca = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute -top-0 -left-1" }, Sa = ["src"], Ba = ["onClick"], Ma = { class: "pt-2 pb-3 space-y-1" }, Da = ["onClick"], ja = { class: "pt-4 pb-3 border-t border-gray-200" }, Ta = { class: "flex items-center px-4 sm:px-6" }, za = { class: "flex-shrink-0" }, La = ["src"], Aa = {
3704
3704
  key: 0,
3705
3705
  class: "ml-3"
3706
- }, Na = { class: "text-base font-medium text-gray-800" }, Oa = { class: "text-sm font-medium text-gray-500" }, Ia = { class: "mt-3 space-y-1" }, Ya = ["onClick"], Pa = /* @__PURE__ */ B({
3706
+ }, Oa = { class: "text-base font-medium text-gray-800" }, Na = { class: "text-sm font-medium text-gray-500" }, Ia = { class: "mt-3 space-y-1" }, Ya = ["onClick"], Pa = /* @__PURE__ */ B({
3707
3707
  __name: "uiTopbar",
3708
3708
  props: {
3709
3709
  logo: {},
@@ -3714,9 +3714,9 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
3714
3714
  navigation: {}
3715
3715
  },
3716
3716
  emits: ["topBarClick"],
3717
- setup(p, { emit: d }) {
3718
- const l = p, n = Y(() => l.navigation ? Array.isArray(l.navigation) ? l.navigation : [l.navigation] : []);
3719
- return (o, r) => (s(), x(c(Ce), {
3717
+ setup(p, { emit: u }) {
3718
+ const n = p, i = Y(() => n.navigation ? Array.isArray(n.navigation) ? n.navigation : [n.navigation] : []);
3719
+ return (l, o) => (s(), x(c(Ce), {
3720
3720
  as: "nav",
3721
3721
  class: "bg-white shadow z-10"
3722
3722
  }, {
@@ -3727,7 +3727,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
3727
3727
  e("div", xa, [
3728
3728
  m(c(Z), { 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" }, {
3729
3729
  default: v(() => [
3730
- r[1] || (r[1] = e("span", { class: "sr-only" }, "Open main menu", -1)),
3730
+ o[1] || (o[1] = e("span", { class: "sr-only" }, "Open main menu", -1)),
3731
3731
  t ? (s(), x(c(W), {
3732
3732
  key: 1,
3733
3733
  class: "block h-6 w-6",
@@ -3744,11 +3744,11 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
3744
3744
  ]),
3745
3745
  e("div", {
3746
3746
  class: "flex-shrink-0 flex items-center cursor-pointer",
3747
- onClick: r[0] || (r[0] = (i) => o.$emit("topBarClick", "logo"))
3747
+ onClick: o[0] || (o[0] = (r) => l.$emit("topBarClick", "logo"))
3748
3748
  }, [
3749
3749
  e("img", {
3750
3750
  class: "h-10",
3751
- src: o.logo,
3751
+ src: l.logo,
3752
3752
  alt: "Hotelinking suite product logo"
3753
3753
  }, null, 8, ka)
3754
3754
  ])
@@ -3763,19 +3763,19 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
3763
3763
  e("div", null, [
3764
3764
  C(m(c(be), { class: "bg-white rounded-full flex text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 relative" }, {
3765
3765
  default: v(() => [
3766
- C(e("div", Ca, r[2] || (r[2] = [
3766
+ C(e("div", Ca, o[2] || (o[2] = [
3767
3767
  e("span", { class: "animate-ping absolute inline-flex h-4 w-4 bg-red-500 rounded-full opacity-75" }, null, -1)
3768
3768
  ]), 512), [
3769
- [D, o.alerted]
3769
+ [D, l.alerted]
3770
3770
  ]),
3771
3771
  e("img", {
3772
3772
  class: "h-10 w-10 rounded-full",
3773
- src: o.accountLogo
3773
+ src: l.accountLogo
3774
3774
  }, null, 8, Sa)
3775
3775
  ]),
3776
3776
  _: 1
3777
3777
  }, 512), [
3778
- [D, o.accountLogo]
3778
+ [D, l.accountLogo]
3779
3779
  ])
3780
3780
  ]),
3781
3781
  m(ue, {
@@ -3789,17 +3789,17 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
3789
3789
  default: v(() => [
3790
3790
  m(c(we), { 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" }, {
3791
3791
  default: v(() => [
3792
- (s(!0), a($, null, _(o.profileMenu, (i) => (s(), x(c(xe), {
3793
- key: i.name
3792
+ (s(!0), a($, null, _(l.profileMenu, (r) => (s(), x(c(xe), {
3793
+ key: r.name
3794
3794
  }, {
3795
- default: v(({ active: u }) => [
3795
+ default: v(({ active: d }) => [
3796
3796
  e("p", {
3797
- onClick: (y) => o.$emit("topBarClick", i.id),
3797
+ onClick: (y) => l.$emit("topBarClick", r.id),
3798
3798
  class: f(["cursor-pointer", [
3799
- u ? "bg-gray-100" : "",
3799
+ d ? "bg-gray-100" : "",
3800
3800
  "block px-4 py-2 text-sm text-gray-700"
3801
3801
  ]])
3802
- }, g(i.name), 11, Ba)
3802
+ }, g(r.name), 11, Ba)
3803
3803
  ]),
3804
3804
  _: 2
3805
3805
  }, 1024))), 128))
@@ -3819,18 +3819,18 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
3819
3819
  m(c(Se), { class: "lg:hidden" }, {
3820
3820
  default: v(() => [
3821
3821
  e("div", Ma, [
3822
- (s(!0), a($, null, _(n.value, (i) => (s(), x(c(Z), {
3822
+ (s(!0), a($, null, _(i.value, (r) => (s(), x(c(Z), {
3823
3823
  as: "template",
3824
- key: i.id,
3824
+ key: r.id,
3825
3825
  class: f(["block pl-3 pr-4 py-2 border-l-4 text-base font-medium sm:pl-5 sm:pr-6", {
3826
- "bg-indigo-50 border-indigo-500 text-indigo-700": i.current === !0,
3827
- "border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700": !i.current
3826
+ "bg-indigo-50 border-indigo-500 text-indigo-700": r.current === !0,
3827
+ "border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700": !r.current
3828
3828
  }])
3829
3829
  }, {
3830
3830
  default: v(() => [
3831
3831
  e("p", {
3832
- onClick: (u) => o.$emit("topBarClick", i.id)
3833
- }, g(i.name), 9, Da)
3832
+ onClick: (d) => l.$emit("topBarClick", r.id)
3833
+ }, g(r.name), 9, Da)
3834
3834
  ]),
3835
3835
  _: 2
3836
3836
  }, 1032, ["class"]))), 128))
@@ -3840,24 +3840,24 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
3840
3840
  e("div", za, [
3841
3841
  e("img", {
3842
3842
  class: "h-10 w-10 rounded-full",
3843
- src: o.accountLogo
3843
+ src: l.accountLogo
3844
3844
  }, null, 8, La)
3845
3845
  ]),
3846
- o.brand ? (s(), a("div", Aa, [
3847
- e("div", Na, g(o.brand.title), 1),
3848
- e("div", Oa, g(o.brand.subtitle), 1)
3846
+ l.brand ? (s(), a("div", Aa, [
3847
+ e("div", Oa, g(l.brand.title), 1),
3848
+ e("div", Na, g(l.brand.subtitle), 1)
3849
3849
  ])) : b("", !0)
3850
3850
  ]),
3851
3851
  e("div", Ia, [
3852
- (s(!0), a($, null, _(o.profileMenu, (i) => (s(), x(c(Z), {
3852
+ (s(!0), a($, null, _(l.profileMenu, (r) => (s(), x(c(Z), {
3853
3853
  as: "template",
3854
- key: i.name,
3854
+ key: r.name,
3855
3855
  class: "block px-4 py-2 text-base font-medium text-gray-500 hover:text-gray-800 hover:bg-gray-100 sm:px-6"
3856
3856
  }, {
3857
3857
  default: v(() => [
3858
3858
  e("p", {
3859
- onClick: (u) => o.$emit("topBarClick", i.id)
3860
- }, g(i.name), 9, Ya)
3859
+ onClick: (d) => l.$emit("topBarClick", r.id)
3860
+ }, g(r.name), 9, Ya)
3861
3861
  ]),
3862
3862
  _: 2
3863
3863
  }, 1024))), 128))
@@ -3874,28 +3874,28 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
3874
3874
  __name: "RangeSelector",
3875
3875
  props: { range: { type: String } },
3876
3876
  emits: ["rangeSelected"],
3877
- setup(p, { emit: d }) {
3878
- const l = d, n = p;
3879
- let o = Y(() => n.range);
3880
- const r = (t) => {
3881
- o = t, l("rangeSelected", t);
3877
+ setup(p, { emit: u }) {
3878
+ const n = u, i = p;
3879
+ let l = Y(() => i.range);
3880
+ const o = (t) => {
3881
+ l = t, n("rangeSelected", t);
3882
3882
  };
3883
- return (t, i) => (s(), a("ul", Fa, [
3883
+ return (t, r) => (s(), a("ul", Fa, [
3884
3884
  e("li", {
3885
- class: f({ selected: c(o) === "24h" }),
3886
- onClick: i[0] || (i[0] = (u) => r("24h"))
3885
+ class: f({ selected: c(l) === "24h" }),
3886
+ onClick: r[0] || (r[0] = (d) => o("24h"))
3887
3887
  }, " 24H ", 2),
3888
3888
  e("li", {
3889
- class: f({ selected: c(o) === "7d" }),
3890
- onClick: i[1] || (i[1] = (u) => r("7d"))
3889
+ class: f({ selected: c(l) === "7d" }),
3890
+ onClick: r[1] || (r[1] = (d) => o("7d"))
3891
3891
  }, "7D", 2),
3892
3892
  e("li", {
3893
- class: f({ selected: c(o) === "1m" }),
3894
- onClick: i[2] || (i[2] = (u) => r("1m"))
3893
+ class: f({ selected: c(l) === "1m" }),
3894
+ onClick: r[2] || (r[2] = (d) => o("1m"))
3895
3895
  }, "1M", 2),
3896
3896
  e("li", {
3897
- class: f({ selected: c(o) === "3m" }),
3898
- onClick: i[3] || (i[3] = (u) => r("3m"))
3897
+ class: f({ selected: c(l) === "3m" }),
3898
+ onClick: r[3] || (r[3] = (d) => o("3m"))
3899
3899
  }, "3M", 2)
3900
3900
  ]));
3901
3901
  }
@@ -3920,9 +3920,9 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
3920
3920
  annotations: {}
3921
3921
  },
3922
3922
  emits: ["selectedRange", "chartUpdated", "dataPointSelection", "maximizeChart"],
3923
- setup(p, { emit: d }) {
3924
- const l = d, n = p;
3925
- let o = {
3923
+ setup(p, { emit: u }) {
3924
+ const n = u, i = p;
3925
+ let l = {
3926
3926
  chart: {
3927
3927
  type: "bar",
3928
3928
  toolbar: {
@@ -3957,8 +3957,8 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
3957
3957
  }
3958
3958
  }
3959
3959
  };
3960
- const r = Y(() => ({ ...n.options, ...o })), t = Y(() => n.series), i = () => l("chartUpdated"), u = (y, h, w) => {
3961
- l("dataPointSelection", { id: n.id, chartContext: h, config: w, event: y });
3960
+ const o = Y(() => ({ ...i.options, ...l })), t = Y(() => i.series), r = () => n("chartUpdated"), d = (y, h, w) => {
3961
+ n("dataPointSelection", { id: i.id, chartContext: h, config: w, event: y });
3962
3962
  };
3963
3963
  return (y, h) => (s(), a($, null, [
3964
3964
  C(e("div", {
@@ -3977,10 +3977,10 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
3977
3977
  series: t.value,
3978
3978
  width: "100%",
3979
3979
  height: y.height,
3980
- options: r.value,
3981
- onUpdated: i,
3982
- onMounted: i,
3983
- onDataPointSelection: u
3980
+ options: o.value,
3981
+ onUpdated: r,
3982
+ onMounted: r,
3983
+ onDataPointSelection: d
3984
3984
  }, null, 8, ["type", "series", "height", "options"])
3985
3985
  ], 512), [
3986
3986
  [D, !y.empty]
@@ -4041,7 +4041,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
4041
4041
  },
4042
4042
  emits: ["action", "noResultsOptionSelected"],
4043
4043
  setup(p) {
4044
- return (d, l) => (s(), a("div", Ja, [
4044
+ return (u, n) => (s(), a("div", Ja, [
4045
4045
  m(j, {
4046
4046
  class: "mx-auto",
4047
4047
  loading: !1,
@@ -4050,24 +4050,24 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
4050
4050
  color: "gray"
4051
4051
  }, null, 8, ["icon"]),
4052
4052
  e("div", null, [
4053
- e("h2", Wa, g(d.title), 1),
4054
- e("p", Ga, g(d.message), 1),
4053
+ e("h2", Wa, g(u.title), 1),
4054
+ e("p", Ga, g(u.message), 1),
4055
4055
  e("div", Ka, [
4056
- (s(!0), a($, null, _(d.actions, (n, o) => (s(), x(J, {
4057
- key: o,
4056
+ (s(!0), a($, null, _(u.actions, (i, l) => (s(), x(J, {
4057
+ key: l,
4058
4058
  loading: !1,
4059
- onClick: (r) => d.$emit("action", n.action)
4059
+ onClick: (o) => u.$emit("action", i.action)
4060
4060
  }, {
4061
4061
  default: v(() => [
4062
- T(g(n.text), 1)
4062
+ T(g(i.text), 1)
4063
4063
  ]),
4064
4064
  _: 2
4065
4065
  }, 1032, ["onClick"]))), 128)),
4066
- d.items ? (s(), x(me, {
4066
+ u.items ? (s(), x(me, {
4067
4067
  key: 0,
4068
- items: d.items,
4068
+ items: u.items,
4069
4069
  loading: !1,
4070
- onOptionSelected: l[0] || (l[0] = (n) => d.$emit("noResultsOptionSelected", n))
4070
+ onOptionSelected: n[0] || (n[0] = (i) => u.$emit("noResultsOptionSelected", i))
4071
4071
  }, null, 8, ["items"])) : b("", !0)
4072
4072
  ])
4073
4073
  ])
@@ -4081,19 +4081,19 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
4081
4081
  open: { type: Boolean, default: !1 }
4082
4082
  },
4083
4083
  emits: ["closeRightBar"],
4084
- setup(p, { emit: d }) {
4085
- return (l, n) => (s(), x(c(ke), {
4084
+ setup(p, { emit: u }) {
4085
+ return (n, i) => (s(), x(c(ke), {
4086
4086
  as: "template",
4087
- show: l.open
4087
+ show: n.open
4088
4088
  }, {
4089
4089
  default: v(() => [
4090
4090
  m(c($e), {
4091
4091
  as: "div",
4092
4092
  class: "relative z-10",
4093
- onClose: n[1] || (n[1] = (o) => l.$emit("closeRightBar"))
4093
+ onClose: i[1] || (i[1] = (l) => n.$emit("closeRightBar"))
4094
4094
  }, {
4095
4095
  default: v(() => [
4096
- n[4] || (n[4] = e("div", { class: "fixed inset-0" }, null, -1)),
4096
+ i[4] || (i[4] = e("div", { class: "fixed inset-0" }, null, -1)),
4097
4097
  e("div", Xa, [
4098
4098
  e("div", ei, [
4099
4099
  e("div", ti, [
@@ -4114,7 +4114,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
4114
4114
  e("div", li, [
4115
4115
  m(c(He), { class: "text-base font-semibold leading-6 text-white" }, {
4116
4116
  default: v(() => [
4117
- T(g(l.title), 1)
4117
+ T(g(n.title), 1)
4118
4118
  ]),
4119
4119
  _: 1
4120
4120
  }),
@@ -4122,10 +4122,10 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
4122
4122
  e("button", {
4123
4123
  type: "button",
4124
4124
  class: "relative rounded-md bg-indigo-700 text-indigo-200 hover:text-white outline-none",
4125
- onClick: n[0] || (n[0] = (o) => l.$emit("closeRightBar"))
4125
+ onClick: i[0] || (i[0] = (l) => n.$emit("closeRightBar"))
4126
4126
  }, [
4127
- n[2] || (n[2] = e("span", { class: "absolute -inset-2.5" }, null, -1)),
4128
- n[3] || (n[3] = e("span", { class: "sr-only" }, "Close panel", -1)),
4127
+ i[2] || (i[2] = e("span", { class: "absolute -inset-2.5" }, null, -1)),
4128
+ i[3] || (i[3] = e("span", { class: "sr-only" }, "Close panel", -1)),
4129
4129
  m(c(W), {
4130
4130
  class: "h-6 w-6 ring-0",
4131
4131
  "aria-hidden": "true"
@@ -4134,11 +4134,11 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
4134
4134
  ])
4135
4135
  ]),
4136
4136
  e("div", ni, [
4137
- e("p", ai, g(l.description), 1)
4137
+ e("p", ai, g(n.description), 1)
4138
4138
  ])
4139
4139
  ]),
4140
4140
  e("div", ii, [
4141
- V(l.$slots, "default")
4141
+ V(n.$slots, "default")
4142
4142
  ])
4143
4143
  ])
4144
4144
  ]),
@@ -4175,71 +4175,71 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
4175
4175
  literals: {}
4176
4176
  },
4177
4177
  emits: ["modalAction", "deleteImage", "imgClicked"],
4178
- setup(p, { emit: d }) {
4179
- const l = d, n = A(!1), o = (r) => {
4180
- n.value = !1, l("modalAction", r);
4178
+ setup(p, { emit: u }) {
4179
+ const n = u, i = A(!1), l = (o) => {
4180
+ i.value = !1, n("modalAction", o);
4181
4181
  };
4182
- return (r, t) => (s(), a("div", ui, [
4183
- r.loading ? b("", !0) : (s(), x(et, {
4182
+ return (o, t) => (s(), a("div", ui, [
4183
+ o.loading ? b("", !0) : (s(), x(et, {
4184
4184
  key: 0,
4185
- open: n.value,
4185
+ open: i.value,
4186
4186
  modalName: "deleteAllImagesModal",
4187
- title: r.literals.modalTitle,
4187
+ title: o.literals.modalTitle,
4188
4188
  type: "warning",
4189
- actions: [{ value: "close", name: r.literals.closeAction }, { value: `deleteGallery_${r.galleryId}`, name: r.literals.deleteAction }],
4190
- onModalAction: t[0] || (t[0] = (i) => o(i))
4189
+ actions: [{ value: "close", name: o.literals.closeAction }, { value: `deleteGallery_${o.galleryId}`, name: o.literals.deleteAction }],
4190
+ onModalAction: t[0] || (t[0] = (r) => l(r))
4191
4191
  }, {
4192
4192
  default: v(() => [
4193
- e("p", null, g(r.literals.modalText), 1)
4193
+ e("p", null, g(o.literals.modalText), 1)
4194
4194
  ]),
4195
4195
  _: 1
4196
4196
  }, 8, ["open", "title", "actions"])),
4197
- r.loading ? (s(), a("ul", vi, [
4198
- (s(), a($, null, _(4, (i) => e("li", null, t[2] || (t[2] = [
4197
+ o.loading ? (s(), a("ul", vi, [
4198
+ (s(), a($, null, _(4, (r) => e("li", null, t[2] || (t[2] = [
4199
4199
  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),
4200
4200
  e("p", { class: "animate-pulse h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28 mt-4" }, null, -1),
4201
4201
  e("p", { class: "animate-pulse h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-14 mt-2" }, null, -1)
4202
4202
  ]))), 64))
4203
4203
  ])) : (s(), a("ul", ci, [
4204
- (s(!0), a($, null, _(r.gallery, (i) => (s(), a("li", {
4205
- key: i.source,
4204
+ (s(!0), a($, null, _(o.gallery, (r) => (s(), a("li", {
4205
+ key: r.source,
4206
4206
  class: "relative"
4207
4207
  }, [
4208
4208
  e("div", gi, [
4209
4209
  e("img", {
4210
- src: i.source,
4210
+ src: r.source,
4211
4211
  alt: "",
4212
4212
  class: "pointer-events-none object-cover group-hover:opacity-75"
4213
4213
  }, null, 8, mi),
4214
4214
  e("button", {
4215
4215
  type: "button",
4216
4216
  class: "absolute inset-0 focus:outline-none",
4217
- onClick: (u) => r.$emit("imgClicked", i)
4217
+ onClick: (d) => o.$emit("imgClicked", r)
4218
4218
  }, null, 8, pi)
4219
4219
  ]),
4220
- e("p", fi, g(i.title), 1),
4220
+ e("p", fi, g(r.title), 1),
4221
4221
  e("div", yi, [
4222
- e("p", hi, g(i.size), 1),
4222
+ e("p", hi, g(r.size), 1),
4223
4223
  m(j, {
4224
4224
  class: "cursor-pointer",
4225
4225
  icon: c(Yt),
4226
4226
  color: "red",
4227
4227
  loading: !1,
4228
- onClick: (u) => r.$emit("deleteImage", i)
4228
+ onClick: (d) => o.$emit("deleteImage", r)
4229
4229
  }, null, 8, ["icon", "onClick"])
4230
4230
  ])
4231
4231
  ]))), 128))
4232
4232
  ])),
4233
- r.gallery.length > 0 && !r.loading ? (s(), x(J, {
4233
+ o.gallery.length > 0 && !o.loading ? (s(), x(J, {
4234
4234
  key: 3,
4235
- onClick: t[1] || (t[1] = (i) => n.value = !0),
4235
+ onClick: t[1] || (t[1] = (r) => i.value = !0),
4236
4236
  class: "mt-8",
4237
4237
  loading: !1,
4238
4238
  color: "red",
4239
4239
  size: "small"
4240
4240
  }, {
4241
4241
  default: v(() => [
4242
- T(g(r.literals.deleteAllImages), 1)
4242
+ T(g(o.literals.deleteAllImages), 1)
4243
4243
  ]),
4244
4244
  _: 1
4245
4245
  })) : b("", !0)
@@ -4255,26 +4255,26 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
4255
4255
  loading: { type: Boolean, default: !0 }
4256
4256
  },
4257
4257
  emits: ["dragAndDropUpdated"],
4258
- setup(p, { emit: d }) {
4259
- const l = d, n = p;
4260
- let o = A(n.elements);
4261
- R(() => n.elements, (t) => {
4262
- o.value = t;
4258
+ setup(p, { emit: u }) {
4259
+ const n = u, i = p;
4260
+ let l = A(i.elements);
4261
+ R(() => i.elements, (t) => {
4262
+ l.value = t;
4263
4263
  });
4264
- const r = (t) => {
4265
- l("dragAndDropUpdated", t);
4264
+ const o = (t) => {
4265
+ n("dragAndDropUpdated", t);
4266
4266
  };
4267
- return (t, i) => t.loading ? (s(), a("div", Si, i[2] || (i[2] = [
4267
+ return (t, r) => t.loading ? (s(), a("div", Si, r[2] || (r[2] = [
4268
4268
  K('<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)
4269
4269
  ]))) : (s(), x(c(ht), {
4270
4270
  key: 0,
4271
- modelValue: c(o),
4271
+ modelValue: c(l),
4272
4272
  "onUpdate:modelValue": [
4273
- i[0] || (i[0] = (u) => he(o) ? o.value = u : o = u),
4274
- i[1] || (i[1] = (u) => r(u))
4273
+ r[0] || (r[0] = (d) => he(l) ? l.value = d : l = d),
4274
+ r[1] || (r[1] = (d) => o(d))
4275
4275
  ]
4276
4276
  }, {
4277
- item: v(({ item: u }) => [
4277
+ item: v(({ item: d }) => [
4278
4278
  e("div", wi, [
4279
4279
  e("div", xi, [
4280
4280
  m(j, {
@@ -4285,17 +4285,17 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
4285
4285
  size: "big"
4286
4286
  }, null, 8, ["icon"]),
4287
4287
  e("div", ki, [
4288
- e("p", $i, g(u.name), 1),
4289
- u.description ? (s(), a("p", _i, g(u.description), 1)) : b("", !0)
4288
+ e("p", $i, g(d.name), 1),
4289
+ d.description ? (s(), a("p", _i, g(d.description), 1)) : b("", !0)
4290
4290
  ]),
4291
- e("div", Ci, g(c(o).indexOf(u) + 1), 1)
4291
+ e("div", Ci, g(c(l).indexOf(d) + 1), 1)
4292
4292
  ])
4293
4293
  ])
4294
4294
  ]),
4295
4295
  _: 1
4296
4296
  }, 8, ["modelValue"]));
4297
4297
  }
4298
- }), Mi = { class: "chart-header flex flex-row justify-between" }, Di = { class: "text-sm font-medium text-gray-500 truncate" }, ji = { class: "hidden sm:flex items-center" }, Ti = { class: "w-1/2 min-w-0 flex-1" }, zi = ["max"], Li = { class: "min-w-0 flex-1" }, Ai = ["max"], Ni = { class: "chart-content" }, Oi = { class: "h-full w-full flex items-center justify-center flex-col" }, Ii = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, Yi = /* @__PURE__ */ B({
4298
+ }), Mi = { class: "chart-header flex flex-row justify-between" }, Di = { class: "text-sm font-medium text-gray-500 truncate" }, ji = { class: "hidden sm:flex items-center" }, Ti = { class: "w-1/2 min-w-0 flex-1" }, zi = ["max"], Li = { class: "min-w-0 flex-1" }, Ai = ["max"], Oi = { class: "chart-content" }, Ni = { class: "h-full w-full flex items-center justify-center flex-col" }, Ii = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, Yi = /* @__PURE__ */ B({
4299
4299
  __name: "uiCircleChart",
4300
4300
  props: {
4301
4301
  labels: {},
@@ -4316,11 +4316,11 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
4316
4316
  annotations: {}
4317
4317
  },
4318
4318
  emits: ["selectedRange", "chartUpdated", "dataPointSelection", "maximizeChart"],
4319
- setup(p, { emit: d }) {
4320
- const l = d, n = p, o = A((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":")));
4321
- let r = ce(n.dates || { from: "", to: o });
4322
- R(() => n.dates, (N) => {
4323
- N && (r = N);
4319
+ setup(p, { emit: u }) {
4320
+ const n = u, i = p, l = A((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":")));
4321
+ let o = ce(i.dates || { from: "", to: l });
4322
+ R(() => i.dates, (O) => {
4323
+ O && (o = O);
4324
4324
  });
4325
4325
  let t = {
4326
4326
  chart: {
@@ -4354,68 +4354,68 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
4354
4354
  }
4355
4355
  }
4356
4356
  };
4357
- const i = () => ({ ...t, ...n.options }), u = Y(() => n.series), y = Y(() => i()), h = () => l("chartUpdated"), w = (N, S, M) => {
4358
- l("dataPointSelection", { id: n.id, chartContext: S, config: M, event: N });
4357
+ const r = () => ({ ...t, ...i.options }), d = Y(() => i.series), y = Y(() => r()), h = () => n("chartUpdated"), w = (O, S, M) => {
4358
+ n("dataPointSelection", { id: i.id, chartContext: S, config: M, event: O });
4359
4359
  }, L = () => {
4360
- r.from !== "" && r.to !== "" && z(r.from).isBefore(z(r.to)) && l("selectedRange", { range: r, chartId: n.id });
4360
+ o.from !== "" && o.to !== "" && z(o.from).isBefore(z(o.to)) && n("selectedRange", { range: o, chartId: i.id });
4361
4361
  };
4362
- return (N, S) => (s(), a($, null, [
4362
+ return (O, S) => (s(), a($, null, [
4363
4363
  C(e("div", {
4364
- class: f(["h-[" + N.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow"])
4364
+ class: f(["h-[" + O.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow"])
4365
4365
  }, [
4366
4366
  e("div", Mi, [
4367
- e("div", Di, g(N.title), 1),
4367
+ e("div", Di, g(O.title), 1),
4368
4368
  e("div", ji, [
4369
4369
  e("div", Ti, [
4370
4370
  C(e("input", {
4371
4371
  type: "datetime-local",
4372
- "onUpdate:modelValue": S[0] || (S[0] = (M) => c(r).from = M),
4373
- max: o.value.toString(),
4372
+ "onUpdate:modelValue": S[0] || (S[0] = (M) => c(o).from = M),
4373
+ max: l.value.toString(),
4374
4374
  onChange: L,
4375
4375
  name: "from",
4376
4376
  id: "from",
4377
4377
  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"
4378
4378
  }, null, 40, zi), [
4379
- [X, c(r).from]
4379
+ [X, c(o).from]
4380
4380
  ])
4381
4381
  ]),
4382
4382
  e("div", Li, [
4383
4383
  C(e("input", {
4384
4384
  type: "datetime-local",
4385
- "onUpdate:modelValue": S[1] || (S[1] = (M) => c(r).to = M),
4386
- max: o.value.toString(),
4385
+ "onUpdate:modelValue": S[1] || (S[1] = (M) => c(o).to = M),
4386
+ max: l.value.toString(),
4387
4387
  onChange: L,
4388
4388
  name: "to",
4389
4389
  id: "to",
4390
4390
  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"
4391
4391
  }, null, 40, Ai), [
4392
- [X, c(r).to]
4392
+ [X, c(o).to]
4393
4393
  ])
4394
4394
  ]),
4395
4395
  m(j, {
4396
4396
  class: "ml-4 cursor-pointer",
4397
4397
  size: "big",
4398
- loading: N.loading,
4398
+ loading: O.loading,
4399
4399
  icon: c(Ze),
4400
- onClick: S[2] || (S[2] = (M) => N.$emit("maximizeChart", N.id))
4400
+ onClick: S[2] || (S[2] = (M) => O.$emit("maximizeChart", O.id))
4401
4401
  }, null, 8, ["loading", "icon"])
4402
4402
  ])
4403
4403
  ]),
4404
- C(e("div", Ni, [
4404
+ C(e("div", Oi, [
4405
4405
  m(c(Be), {
4406
4406
  class: "flex items-center justify-center mt-4",
4407
4407
  type: "donut",
4408
- series: u.value,
4408
+ series: d.value,
4409
4409
  options: y.value,
4410
- height: N.height - 80,
4410
+ height: O.height - 80,
4411
4411
  onUpdated: h,
4412
4412
  onMounted: h,
4413
4413
  onDataPointSelection: w
4414
4414
  }, null, 8, ["series", "options", "height"])
4415
4415
  ], 512), [
4416
- [D, !N.empty]
4416
+ [D, !O.empty]
4417
4417
  ]),
4418
- C(e("div", Oi, [
4418
+ C(e("div", Ni, [
4419
4419
  m(j, {
4420
4420
  icon: c(H),
4421
4421
  color: "gray",
@@ -4424,10 +4424,10 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
4424
4424
  }, null, 8, ["icon"]),
4425
4425
  S[3] || (S[3] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1))
4426
4426
  ], 512), [
4427
- [D, N.empty]
4427
+ [D, O.empty]
4428
4428
  ])
4429
4429
  ], 2), [
4430
- [D, !N.loading]
4430
+ [D, !O.loading]
4431
4431
  ]),
4432
4432
  C(e("div", Ii, S[4] || (S[4] = [
4433
4433
  e("div", {
@@ -4456,7 +4456,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
4456
4456
  ])
4457
4457
  ], -1)
4458
4458
  ]), 512), [
4459
- [D, N.loading]
4459
+ [D, O.loading]
4460
4460
  ])
4461
4461
  ], 64));
4462
4462
  }
@@ -4480,17 +4480,17 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
4480
4480
  placeholder: {}
4481
4481
  },
4482
4482
  emits: ["uiDateRangeButtonClicked"],
4483
- setup(p, { emit: d }) {
4484
- const l = p, n = A((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":")));
4485
- let o = ce(l.values || { from: "", to: n });
4486
- const r = d;
4487
- R(() => l.values, (i) => {
4488
- i && (o = i);
4483
+ setup(p, { emit: u }) {
4484
+ const n = p, i = A((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":")));
4485
+ let l = ce(n.values || { from: "", to: i });
4486
+ const o = u;
4487
+ R(() => n.values, (r) => {
4488
+ r && (l = r);
4489
4489
  });
4490
4490
  const t = () => {
4491
- r("uiDateRangeButtonClicked", o);
4491
+ o("uiDateRangeButtonClicked", l);
4492
4492
  };
4493
- return (i, u) => i.loading ? (s(), a("div", Fi, [
4493
+ return (r, d) => r.loading ? (s(), a("div", Fi, [
4494
4494
  m(E, {
4495
4495
  name: "dateFrom",
4496
4496
  loading: !0
@@ -4500,7 +4500,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
4500
4500
  loading: !0
4501
4501
  }),
4502
4502
  m(J, { loading: !0 }, {
4503
- default: v(() => u[2] || (u[2] = [
4503
+ default: v(() => d[2] || (d[2] = [
4504
4504
  T("Search")
4505
4505
  ])),
4506
4506
  _: 1,
@@ -4510,39 +4510,39 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
4510
4510
  m(E, {
4511
4511
  type: "datetime-local",
4512
4512
  loading: !1,
4513
- addOn: i.literals.from,
4514
- name: `dateFrom_${i.id}`,
4515
- color: i.color,
4516
- value: c(o).from.toString(),
4517
- error: i.error,
4518
- disabled: i.disabled,
4519
- label: i.label,
4520
- max: n.value.toString(),
4521
- onInputChanged: u[0] || (u[0] = (y) => c(o).from = y.value)
4513
+ addOn: r.literals.from,
4514
+ name: `dateFrom_${r.id}`,
4515
+ color: r.color,
4516
+ value: c(l).from.toString(),
4517
+ error: r.error,
4518
+ disabled: r.disabled,
4519
+ label: r.label,
4520
+ max: i.value.toString(),
4521
+ onInputChanged: d[0] || (d[0] = (y) => c(l).from = y.value)
4522
4522
  }, null, 8, ["addOn", "name", "color", "value", "error", "disabled", "label", "max"]),
4523
4523
  m(E, {
4524
4524
  type: "datetime-local",
4525
4525
  loading: !1,
4526
- class: f([{ "mt-6": i.label }]),
4527
- addOn: i.literals.to,
4528
- name: `dateTo_${i.id}`,
4529
- color: i.color,
4530
- value: c(o).to.toString(),
4531
- error: i.error,
4532
- disabled: i.disabled,
4526
+ class: f([{ "mt-6": r.label }]),
4527
+ addOn: r.literals.to,
4528
+ name: `dateTo_${r.id}`,
4529
+ color: r.color,
4530
+ value: c(l).to.toString(),
4531
+ error: r.error,
4532
+ disabled: r.disabled,
4533
4533
  label: void 0,
4534
- max: n.value.toString(),
4535
- onInputChanged: u[1] || (u[1] = (y) => c(o).to = y.value)
4534
+ max: i.value.toString(),
4535
+ onInputChanged: d[1] || (d[1] = (y) => c(l).to = y.value)
4536
4536
  }, null, 8, ["class", "addOn", "name", "color", "value", "error", "disabled", "max"]),
4537
4537
  m(J, {
4538
- disabled: i.disabled,
4538
+ disabled: r.disabled,
4539
4539
  color: "primary",
4540
4540
  loading: !1,
4541
- class: f([{ "mt-6": i.label }, "h-10"]),
4541
+ class: f([{ "mt-6": r.label }, "h-10"]),
4542
4542
  onClick: t
4543
4543
  }, {
4544
4544
  default: v(() => [
4545
- T(g(i.literals.search), 1)
4545
+ T(g(r.literals.search), 1)
4546
4546
  ]),
4547
4547
  _: 1
4548
4548
  }, 8, ["disabled", "class"])
@@ -4569,24 +4569,24 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
4569
4569
  requiredText: {}
4570
4570
  },
4571
4571
  emits: ["sliderUpdated"],
4572
- setup(p, { emit: d }) {
4573
- const l = d, o = A(p.sliderValue);
4574
- return (r, t) => (s(), a("div", null, [
4572
+ setup(p, { emit: u }) {
4573
+ const n = u, l = A(p.sliderValue);
4574
+ return (o, t) => (s(), a("div", null, [
4575
4575
  e("div", Vi, [
4576
- r.label ? (s(), a("label", Ri, g(r.label), 1)) : b("", !0),
4577
- r.requiredText ? (s(), a("span", Ui, g(r.requiredText), 1)) : b("", !0)
4576
+ o.label ? (s(), a("label", Ri, g(o.label), 1)) : b("", !0),
4577
+ o.requiredText ? (s(), a("span", Ui, g(o.requiredText), 1)) : b("", !0)
4578
4578
  ]),
4579
4579
  e("div", {
4580
- class: f([{ "mt-1": r.label }, "pt-16 px-6 pb-6 bg-gray-50 border border-gray-300 rounded-lg shadow-sm"])
4580
+ class: f([{ "mt-1": o.label }, "pt-16 px-6 pb-6 bg-gray-50 border border-gray-300 rounded-lg shadow-sm"])
4581
4581
  }, [
4582
- r.loading ? (s(), a("p", Hi)) : (s(), x(c(vt), {
4582
+ o.loading ? (s(), a("p", Hi)) : (s(), x(c(vt), {
4583
4583
  key: 0,
4584
- modelValue: o.value,
4585
- "onUpdate:modelValue": t[0] || (t[0] = (i) => o.value = i),
4586
- min: r.min,
4587
- max: r.max,
4588
- disabled: r.disabled,
4589
- onChange: t[1] || (t[1] = (i) => l("sliderUpdated", i)),
4584
+ modelValue: l.value,
4585
+ "onUpdate:modelValue": t[0] || (t[0] = (r) => l.value = r),
4586
+ min: o.min,
4587
+ max: o.max,
4588
+ disabled: o.disabled,
4589
+ onChange: t[1] || (t[1] = (r) => n("sliderUpdated", r)),
4590
4590
  classes: {
4591
4591
  base: "w-full h-full relative z-1 bg-gray-300 rounded",
4592
4592
  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"
@@ -4602,11 +4602,11 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
4602
4602
  description: {}
4603
4603
  },
4604
4604
  setup(p) {
4605
- return (d, l) => (s(), a($, null, [
4605
+ return (u, n) => (s(), a($, null, [
4606
4606
  e("h3", {
4607
- class: f(["text-lg font-medium leading-6 text-gray-900", { "mb-8": d.description === void 0 }])
4608
- }, g(d.title), 3),
4609
- e("p", Zi, g(d.description), 1)
4607
+ class: f(["text-lg font-medium leading-6 text-gray-900", { "mb-8": u.description === void 0 }])
4608
+ }, g(u.title), 3),
4609
+ e("p", Zi, g(u.description), 1)
4610
4610
  ], 64));
4611
4611
  }
4612
4612
  }), Wi = {
@@ -4627,30 +4627,30 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
4627
4627
  loading: { type: Boolean, default: !0 }
4628
4628
  },
4629
4629
  emits: ["deviceStatusTagClicked", "deviceStatusQtyClicked"],
4630
- setup(p, { emit: d }) {
4631
- return (l, n) => l.loading ? (s(), a("div", ed, [
4630
+ setup(p, { emit: u }) {
4631
+ return (n, i) => n.loading ? (s(), a("div", ed, [
4632
4632
  e("div", td, [
4633
4633
  e("div", sd, [
4634
4634
  m(j, {
4635
- icon: l.icon,
4635
+ icon: n.icon,
4636
4636
  size: "huge",
4637
4637
  class: "text-white",
4638
4638
  "aria-hidden": "true",
4639
- loading: l.loading
4639
+ loading: n.loading
4640
4640
  }, null, 8, ["icon", "loading"])
4641
4641
  ]),
4642
- n[3] || (n[3] = e("div", { class: "h-4 bg-gray-200 rounded-full dark:bg-gray-300 w-1/3 mx-auto" }, null, -1)),
4642
+ i[3] || (i[3] = e("div", { class: "h-4 bg-gray-200 rounded-full dark:bg-gray-300 w-1/3 mx-auto" }, null, -1)),
4643
4643
  e("dl", od, [
4644
4644
  e("dd", ld, [
4645
- (s(!0), a($, null, _(l.tags, (o, r) => (s(), x(U, {
4646
- key: r,
4647
- loading: l.loading,
4648
- event: o.event,
4649
- color: o.color,
4650
- onTagEvent: n[2] || (n[2] = (t) => l.$emit("deviceStatusTagClicked", t))
4645
+ (s(!0), a($, null, _(n.tags, (l, o) => (s(), x(U, {
4646
+ key: o,
4647
+ loading: n.loading,
4648
+ event: l.event,
4649
+ color: l.color,
4650
+ onTagEvent: i[2] || (i[2] = (t) => n.$emit("deviceStatusTagClicked", t))
4651
4651
  }, {
4652
4652
  default: v(() => [
4653
- T(g(o.name), 1)
4653
+ T(g(l.name), 1)
4654
4654
  ]),
4655
4655
  _: 2
4656
4656
  }, 1032, ["loading", "event", "color"]))), 128))
@@ -4661,16 +4661,16 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
4661
4661
  e("div", Gi, [
4662
4662
  e("div", {
4663
4663
  class: f(["rounded-md p-3 flex items-center justify-center mx-auto mb-4", {
4664
- "bg-green-500": !l.color || l.color === "green",
4665
- "bg-red-500": l.color === "red",
4666
- "bg-yellow-500": l.color === "yellow",
4667
- "bg-indigo-500": l.color === "primary",
4668
- "bg-cyan-300": l.color === "secondary",
4669
- "bg-gray-100": l.color === "light"
4664
+ "bg-green-500": !n.color || n.color === "green",
4665
+ "bg-red-500": n.color === "red",
4666
+ "bg-yellow-500": n.color === "yellow",
4667
+ "bg-indigo-500": n.color === "primary",
4668
+ "bg-cyan-300": n.color === "secondary",
4669
+ "bg-gray-100": n.color === "light"
4670
4670
  }])
4671
4671
  }, [
4672
4672
  m(j, {
4673
- icon: l.icon,
4673
+ icon: n.icon,
4674
4674
  size: "huge",
4675
4675
  class: "text-white",
4676
4676
  "aria-hidden": "true",
@@ -4678,25 +4678,25 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
4678
4678
  }, null, 8, ["icon"])
4679
4679
  ], 2),
4680
4680
  e("h3", Ki, [
4681
- T(g(l.name) + " ", 1),
4681
+ T(g(n.name) + " ", 1),
4682
4682
  C(e("span", {
4683
4683
  class: "text-indigo-600 hover:text-indigo-900 cursor-pointer",
4684
- onClick: n[0] || (n[0] = (o) => l.$emit("deviceStatusQtyClicked", l.id))
4685
- }, "(" + g(l.qty) + ")", 513), [
4686
- [D, l.qty > 0]
4684
+ onClick: i[0] || (i[0] = (l) => n.$emit("deviceStatusQtyClicked", n.id))
4685
+ }, "(" + g(n.qty) + ")", 513), [
4686
+ [D, n.qty > 0]
4687
4687
  ])
4688
4688
  ]),
4689
4689
  e("dl", Qi, [
4690
4690
  e("dd", Xi, [
4691
- (s(!0), a($, null, _(l.tags, (o, r) => (s(), x(U, {
4692
- key: r,
4691
+ (s(!0), a($, null, _(n.tags, (l, o) => (s(), x(U, {
4692
+ key: o,
4693
4693
  loading: !1,
4694
- event: o.event,
4695
- color: o.color,
4696
- onTagEvent: n[1] || (n[1] = (t) => l.$emit("deviceStatusTagClicked", t))
4694
+ event: l.event,
4695
+ color: l.color,
4696
+ onTagEvent: i[1] || (i[1] = (t) => n.$emit("deviceStatusTagClicked", t))
4697
4697
  }, {
4698
4698
  default: v(() => [
4699
- T(g(o.name), 1)
4699
+ T(g(l.name), 1)
4700
4700
  ]),
4701
4701
  _: 2
4702
4702
  }, 1032, ["event", "color"]))), 128))
@@ -4712,20 +4712,23 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
4712
4712
  __name: "uiWrapper",
4713
4713
  props: {
4714
4714
  topbar: {},
4715
- sidebar: {}
4715
+ sidebar: {},
4716
+ sidebarOpen: { type: Boolean }
4716
4717
  },
4717
- emits: ["productBarClick", "sideBarClick", "selectChanged", "topBarClick", "checkboxChanged", "inputChanged"],
4718
- setup(p) {
4719
- const d = A(!1);
4720
- return (l, n) => (s(), a("div", null, [
4718
+ emits: ["productBarClick", "sideBarClick", "selectChanged", "topBarClick", "checkboxChanged", "inputChanged", "sidebarToggle"],
4719
+ setup(p, { emit: u }) {
4720
+ const n = p, i = u, l = A(n.sidebarOpen), o = () => {
4721
+ l.value = !l.value, i("sidebarToggle", l.value);
4722
+ };
4723
+ return (t, r) => (s(), a("div", null, [
4721
4724
  m(c(ke), {
4722
4725
  as: "template",
4723
- show: d.value
4726
+ show: l.value
4724
4727
  }, {
4725
4728
  default: v(() => [
4726
4729
  m(c($e), {
4727
4730
  class: "relative z-50 lg:hidden",
4728
- onClose: n[5] || (n[5] = (o) => d.value = !1)
4731
+ onClose: o
4729
4732
  }, {
4730
4733
  default: v(() => [
4731
4734
  m(c(G), {
@@ -4737,11 +4740,11 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
4737
4740
  "leave-from": "opacity-100",
4738
4741
  "leave-to": "opacity-0"
4739
4742
  }, {
4740
- default: v(() => n[12] || (n[12] = [
4743
+ default: v(() => r[9] || (r[9] = [
4741
4744
  e("div", { class: "fixed inset-0 bg-gray-900/80" }, null, -1)
4742
4745
  ])),
4743
4746
  _: 1,
4744
- __: [12]
4747
+ __: [9]
4745
4748
  }),
4746
4749
  e("div", nd, [
4747
4750
  m(c(G), {
@@ -4770,9 +4773,9 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
4770
4773
  e("button", {
4771
4774
  type: "button",
4772
4775
  class: "-m-2.5 p-2.5",
4773
- onClick: n[0] || (n[0] = (o) => d.value = !1)
4776
+ onClick: o
4774
4777
  }, [
4775
- n[13] || (n[13] = e("span", { class: "sr-only" }, "Close sidebar", -1)),
4778
+ r[10] || (r[10] = e("span", { class: "sr-only" }, "Close sidebar", -1)),
4776
4779
  m(c(W), {
4777
4780
  class: "h-6 w-6 text-white",
4778
4781
  "aria-hidden": "true"
@@ -4783,16 +4786,16 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
4783
4786
  _: 1
4784
4787
  }),
4785
4788
  m(ye, {
4786
- productsSidebar: l.sidebar.productsSidebar,
4787
- isFilterNavigation: l.sidebar.isFilterNavigation,
4788
- navigation: l.sidebar.navigation,
4789
- filterNavigation: l.sidebar.filterNavigation,
4789
+ productsSidebar: t.sidebar.productsSidebar,
4790
+ isFilterNavigation: t.sidebar.isFilterNavigation,
4791
+ navigation: t.sidebar.navigation,
4792
+ filterNavigation: t.sidebar.filterNavigation,
4790
4793
  loading: !1,
4791
- logo: l.topbar.logo,
4792
- onSideBarClick: n[1] || (n[1] = (o) => l.$emit("sideBarClick", o)),
4793
- onProductBarClick: n[2] || (n[2] = (o) => l.$emit("productBarClick", o)),
4794
- onCheckboxChanged: n[3] || (n[3] = (o) => l.$emit("checkboxChanged", o)),
4795
- onInputChanged: n[4] || (n[4] = (o) => l.$emit("inputChanged", o))
4794
+ logo: t.topbar.logo,
4795
+ onSideBarClick: r[0] || (r[0] = (d) => t.$emit("sideBarClick", d)),
4796
+ onProductBarClick: r[1] || (r[1] = (d) => t.$emit("productBarClick", d)),
4797
+ onCheckboxChanged: r[2] || (r[2] = (d) => t.$emit("checkboxChanged", d)),
4798
+ onInputChanged: r[3] || (r[3] = (d) => t.$emit("inputChanged", d))
4796
4799
  }, null, 8, ["productsSidebar", "isFilterNavigation", "navigation", "filterNavigation", "logo"])
4797
4800
  ]),
4798
4801
  _: 1
@@ -4809,16 +4812,16 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
4809
4812
  }, 8, ["show"]),
4810
4813
  e("div", id, [
4811
4814
  m(ye, {
4812
- productsSidebar: l.sidebar.productsSidebar,
4813
- isFilterNavigation: l.sidebar.isFilterNavigation,
4814
- navigation: l.sidebar.navigation,
4815
- filterNavigation: l.sidebar.filterNavigation,
4815
+ productsSidebar: t.sidebar.productsSidebar,
4816
+ isFilterNavigation: t.sidebar.isFilterNavigation,
4817
+ navigation: t.sidebar.navigation,
4818
+ filterNavigation: t.sidebar.filterNavigation,
4816
4819
  loading: !1,
4817
- logo: l.topbar.logo,
4818
- onSideBarClick: n[6] || (n[6] = (o) => l.$emit("sideBarClick", o)),
4819
- onProductBarClick: n[7] || (n[7] = (o) => l.$emit("productBarClick", o)),
4820
- onCheckboxChanged: n[8] || (n[8] = (o) => l.$emit("checkboxChanged", o)),
4821
- onInputChanged: n[9] || (n[9] = (o) => l.$emit("inputChanged", o))
4820
+ logo: t.topbar.logo,
4821
+ onSideBarClick: r[4] || (r[4] = (d) => t.$emit("sideBarClick", d)),
4822
+ onProductBarClick: r[5] || (r[5] = (d) => t.$emit("productBarClick", d)),
4823
+ onCheckboxChanged: r[6] || (r[6] = (d) => t.$emit("checkboxChanged", d)),
4824
+ onInputChanged: r[7] || (r[7] = (d) => t.$emit("inputChanged", d))
4822
4825
  }, null, 8, ["productsSidebar", "isFilterNavigation", "navigation", "filterNavigation", "logo"])
4823
4826
  ]),
4824
4827
  e("div", dd, [
@@ -4826,39 +4829,39 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
4826
4829
  e("button", {
4827
4830
  type: "button",
4828
4831
  class: "-m-2.5 p-2.5 text-gray-700 lg:hidden",
4829
- onClick: n[10] || (n[10] = (o) => d.value = !0)
4832
+ onClick: o
4830
4833
  }, [
4831
- n[14] || (n[14] = e("span", { class: "sr-only" }, "Open sidebar", -1)),
4834
+ r[11] || (r[11] = e("span", { class: "sr-only" }, "Open sidebar", -1)),
4832
4835
  m(c(Je), {
4833
4836
  class: "h-6 w-6",
4834
4837
  "aria-hidden": "true"
4835
4838
  })
4836
4839
  ]),
4837
- n[19] || (n[19] = e("div", {
4840
+ r[16] || (r[16] = e("div", {
4838
4841
  class: "h-6 w-px bg-gray-200 lg:hidden",
4839
4842
  "aria-hidden": "true"
4840
4843
  }, null, -1)),
4841
4844
  e("div", cd, [
4842
4845
  m(De, {
4843
4846
  class: "w-full self-center relative",
4844
- items: l.topbar.selectItems,
4845
- select: l.topbar.selectedItem,
4846
- onSelectChanged: n[11] || (n[11] = (o) => l.$emit("selectChanged", o))
4847
+ items: t.topbar.selectItems,
4848
+ select: t.topbar.selectedItem,
4849
+ onSelectChanged: r[8] || (r[8] = (d) => t.$emit("selectChanged", d))
4847
4850
  }, null, 8, ["items", "select"]),
4848
4851
  e("div", gd, [
4849
4852
  e("button", md, [
4850
- n[16] || (n[16] = e("span", { class: "sr-only" }, "View notifications", -1)),
4851
- C(e("div", pd, n[15] || (n[15] = [
4853
+ r[13] || (r[13] = e("span", { class: "sr-only" }, "View notifications", -1)),
4854
+ C(e("div", pd, r[12] || (r[12] = [
4852
4855
  e("span", { class: "animate-ping absolute inline-flex h-4 w-4 bg-red-500 rounded-full opacity-75" }, null, -1)
4853
4856
  ]), 512), [
4854
- [D, l.topbar.alerted]
4857
+ [D, t.topbar.alerted]
4855
4858
  ]),
4856
4859
  m(c(Tt), {
4857
4860
  class: "h-6 w-6",
4858
4861
  "aria-hidden": "true"
4859
4862
  })
4860
4863
  ]),
4861
- n[18] || (n[18] = e("div", {
4864
+ r[15] || (r[15] = e("div", {
4862
4865
  class: "hidden lg:block lg:h-6 lg:w-px lg:bg-gray-200",
4863
4866
  "aria-hidden": "true"
4864
4867
  }, null, -1)),
@@ -4869,10 +4872,10 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
4869
4872
  default: v(() => [
4870
4873
  m(c(be), { class: "-m-1.5 flex items-center p-1.5" }, {
4871
4874
  default: v(() => [
4872
- n[17] || (n[17] = e("span", { class: "sr-only" }, "Open user menu", -1)),
4875
+ r[14] || (r[14] = e("span", { class: "sr-only" }, "Open user menu", -1)),
4873
4876
  e("img", {
4874
4877
  class: "h-8 w-8 rounded-full bg-gray-50",
4875
- src: l.topbar.accountLogo,
4878
+ src: t.topbar.accountLogo,
4876
4879
  alt: ""
4877
4880
  }, null, 8, fd),
4878
4881
  e("span", yd, [
@@ -4883,7 +4886,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
4883
4886
  ])
4884
4887
  ]),
4885
4888
  _: 1,
4886
- __: [17]
4889
+ __: [14]
4887
4890
  }),
4888
4891
  m(ue, {
4889
4892
  "enter-active-class": "transition ease-out duration-100",
@@ -4896,14 +4899,14 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
4896
4899
  default: v(() => [
4897
4900
  m(c(we), { 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" }, {
4898
4901
  default: v(() => [
4899
- (s(!0), a($, null, _(l.topbar.profileMenu, (o) => (s(), x(c(xe), {
4900
- key: o.name
4902
+ (s(!0), a($, null, _(t.topbar.profileMenu, (d) => (s(), x(c(xe), {
4903
+ key: d.name
4901
4904
  }, {
4902
- default: v(({ active: r }) => [
4905
+ default: v(({ active: y }) => [
4903
4906
  e("a", {
4904
- onClick: (t) => l.$emit("topBarClick", o.id),
4905
- class: f([r ? "bg-gray-50" : "", "block px-3 py-1 text-sm leading-6 text-gray-900"])
4906
- }, g(o.name), 11, hd)
4907
+ onClick: (h) => t.$emit("topBarClick", d.id),
4908
+ class: f([y ? "bg-gray-50" : "", "block px-3 py-1 text-sm leading-6 text-gray-900"])
4909
+ }, g(d.name), 11, hd)
4907
4910
  ]),
4908
4911
  _: 2
4909
4912
  }, 1024))), 128))
@@ -4921,7 +4924,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
4921
4924
  ]),
4922
4925
  e("main", vd, [
4923
4926
  e("div", bd, [
4924
- V(l.$slots, "default")
4927
+ V(t.$slots, "default")
4925
4928
  ])
4926
4929
  ])
4927
4930
  ])
@@ -4934,15 +4937,15 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
4934
4937
  loading: { type: Boolean, default: !0 }
4935
4938
  },
4936
4939
  setup(p) {
4937
- const d = p, l = () => d.dynamicStats.length <= 5 ? `lg:grid-cols-${d.dynamicStats.length}` : `lg:grid-cols-${Math.floor(d.dynamicStats.length / 2)} xl:grid-cols-${d.dynamicStats.length}`, n = A(0), o = A(l());
4938
- return nt(() => n.value += 1), (r, t) => (s(), a("div", {
4939
- class: f([o.value, "grid grid-cols-1 md:grid-cols-2 gap-4"]),
4940
- key: n.value
4940
+ const u = p, n = () => u.dynamicStats.length <= 5 ? `lg:grid-cols-${u.dynamicStats.length}` : `lg:grid-cols-${Math.floor(u.dynamicStats.length / 2)} xl:grid-cols-${u.dynamicStats.length}`, i = A(0), l = A(n());
4941
+ return nt(() => i.value += 1), (o, t) => (s(), a("div", {
4942
+ class: f([l.value, "grid grid-cols-1 md:grid-cols-2 gap-4"]),
4943
+ key: i.value
4941
4944
  }, [
4942
- (s(!0), a($, null, _(r.dynamicStats, (i, u) => (s(), x(st, {
4943
- key: u,
4944
- item: i,
4945
- loading: r.loading
4945
+ (s(!0), a($, null, _(o.dynamicStats, (r, d) => (s(), x(st, {
4946
+ key: d,
4947
+ item: r,
4948
+ loading: o.loading
4946
4949
  }, null, 8, ["item", "loading"]))), 128))
4947
4950
  ], 2));
4948
4951
  }
@@ -4969,30 +4972,30 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
4969
4972
  requiredText: {}
4970
4973
  },
4971
4974
  emits: ["selectChanged"],
4972
- setup(p, { emit: d }) {
4973
- const l = d, n = p;
4974
- let o = A(Array.isArray(n.select) ? n.select : n.select ? [n.select] : []);
4975
- const r = (i) => {
4976
- l("selectChanged", i);
4975
+ setup(p, { emit: u }) {
4976
+ const n = u, i = p;
4977
+ let l = A(Array.isArray(i.select) ? i.select : i.select ? [i.select] : []);
4978
+ const o = (r) => {
4979
+ n("selectChanged", r);
4977
4980
  };
4978
- function t(i) {
4979
- o.value = o.value.filter((u) => u.id !== i.id), r(o.value);
4981
+ function t(r) {
4982
+ l.value = l.value.filter((d) => d.id !== r.id), o(l.value);
4980
4983
  }
4981
- return (i, u) => i.loading ? (s(), a("div", Dd, [
4982
- u[4] || (u[4] = e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, null, -1)),
4984
+ return (r, d) => r.loading ? (s(), a("div", Dd, [
4985
+ d[4] || (d[4] = e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, null, -1)),
4983
4986
  m(c(fe), {
4984
4987
  "aria-hidden": "true",
4985
4988
  class: "-mr-1 ml-2 h-5 w-5 text-gray-300 dark:text-gray-400"
4986
4989
  })
4987
4990
  ])) : (s(), x(c(gt), {
4988
4991
  key: 0,
4989
- modelValue: c(o),
4992
+ modelValue: c(l),
4990
4993
  "onUpdate:modelValue": [
4991
- u[0] || (u[0] = (y) => he(o) ? o.value = y : o = y),
4992
- r
4994
+ d[0] || (d[0] = (y) => he(l) ? l.value = y : l = y),
4995
+ o
4993
4996
  ],
4994
4997
  name: "selectorMultiple",
4995
- disabled: i.disabled,
4998
+ disabled: r.disabled,
4996
4999
  multiple: "",
4997
5000
  as: "div"
4998
5001
  }, {
@@ -5000,33 +5003,33 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
5000
5003
  e("div", kd, [
5001
5004
  m(c(mt), { class: "block text-sm font-medium" }, {
5002
5005
  default: v(() => [
5003
- T(g(i.label), 1)
5006
+ T(g(r.label), 1)
5004
5007
  ]),
5005
5008
  _: 1
5006
5009
  }),
5007
- i.requiredText ? (s(), a("span", $d, g(i.requiredText), 1)) : b("", !0)
5010
+ r.requiredText ? (s(), a("span", $d, g(r.requiredText), 1)) : b("", !0)
5008
5011
  ]),
5009
5012
  e("div", _d, [
5010
5013
  m(c(pt), {
5011
5014
  class: f([{
5012
- "mt-1": i.requiredText || i.label,
5013
- "border-gray-300": i.color === "gray",
5014
- "border-red-400": i.color === "red",
5015
- "border-yellow-400": i.color === "yellow",
5016
- "border-green-400": i.color === "green",
5017
- "bg-gray-100": i.disabled,
5018
- "bg-white": !i.disabled,
5019
- "text-black": i.color === "gray",
5020
- "text-gray-300": i.disabled,
5021
- "text-red-400": i.color === "red",
5022
- "text-yellow-400": i.color === "yellow",
5023
- "text-green-400": i.color === "green"
5015
+ "mt-1": r.requiredText || r.label,
5016
+ "border-gray-300": r.color === "gray",
5017
+ "border-red-400": r.color === "red",
5018
+ "border-yellow-400": r.color === "yellow",
5019
+ "border-green-400": r.color === "green",
5020
+ "bg-gray-100": r.disabled,
5021
+ "bg-white": !r.disabled,
5022
+ "text-black": r.color === "gray",
5023
+ "text-gray-300": r.disabled,
5024
+ "text-red-400": r.color === "red",
5025
+ "text-yellow-400": r.color === "yellow",
5026
+ "text-green-400": r.color === "green"
5024
5027
  }, "relative w-full rounded-md border py-2 pl-2 pr-10 shadow-sm focus:border-indigo-500 focus:outline-none focus:ring-1 focus:ring-indigo-500 sm:text-sm"])
5025
5028
  }, {
5026
5029
  default: v(() => [
5027
5030
  e("span", Cd, [
5028
- c(o).length === 0 ? (s(), a("span", Sd, "...")) : b("", !0),
5029
- (s(!0), a($, null, _(c(o), (y) => (s(), a("span", {
5031
+ c(l).length === 0 ? (s(), a("span", Sd, "...")) : b("", !0),
5032
+ (s(!0), a($, null, _(c(l), (y) => (s(), a("span", {
5030
5033
  key: y.id,
5031
5034
  class: "flex items-center gap-1 rounded text-xs font-medium bg-indigo-100 text-indigo-800 border border-indigo-200 px-2 py-0.5"
5032
5035
  }, [
@@ -5038,7 +5041,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
5038
5041
  viewBox: "0 0 24 24",
5039
5042
  xmlns: "http://www.w3.org/2000/svg",
5040
5043
  onClick: pe((h) => t(y), ["stop", "prevent"])
5041
- }, u[1] || (u[1] = [
5044
+ }, d[1] || (d[1] = [
5042
5045
  e("path", {
5043
5046
  "stroke-linecap": "round",
5044
5047
  "stroke-linejoin": "round",
@@ -5048,7 +5051,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
5048
5051
  ]), 8, Bd))
5049
5052
  ]))), 128))
5050
5053
  ]),
5051
- u[2] || (u[2] = e("span", { class: "absolute h-full right-0 mr-2 self-center top-0 flex items-center" }, [
5054
+ d[2] || (d[2] = e("span", { class: "absolute h-full right-0 mr-2 self-center top-0 flex items-center" }, [
5052
5055
  e("svg", {
5053
5056
  class: "h-5 w-5 text-gray-400",
5054
5057
  viewBox: "0 0 20 20",
@@ -5070,7 +5073,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
5070
5073
  e("div", Md, [
5071
5074
  m(c(ft), { class: "shadow-2xs focus:outline-hidden max-h-60 overflow-auto rounded-md py-1 text-base leading-6 sm:text-sm sm:leading-5" }, {
5072
5075
  default: v(() => [
5073
- (s(!0), a($, null, _(i.items, (y) => (s(), x(c(yt), {
5076
+ (s(!0), a($, null, _(r.items, (y) => (s(), x(c(yt), {
5074
5077
  key: y.id,
5075
5078
  value: y,
5076
5079
  as: "template"
@@ -5085,7 +5088,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
5085
5088
  w ? (s(), a("span", {
5086
5089
  key: 0,
5087
5090
  class: f(["absolute inset-y-0 right-0 flex items-center pr-4", { "text-white": h, "text-indigo-600": !h }])
5088
- }, u[3] || (u[3] = [
5091
+ }, d[3] || (d[3] = [
5089
5092
  e("svg", {
5090
5093
  class: "h-5 w-5",
5091
5094
  viewBox: "0 0 20 20",
@@ -5108,13 +5111,13 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
5108
5111
  ]),
5109
5112
  C(e("p", {
5110
5113
  class: f([{
5111
- "text-gray-400": i.color === "gray",
5112
- "text-red-400": i.color === "red",
5113
- "text-yellow-400": i.color === "yellow",
5114
- "text-green-400": i.color === "green"
5114
+ "text-gray-400": r.color === "gray",
5115
+ "text-red-400": r.color === "red",
5116
+ "text-yellow-400": r.color === "yellow",
5117
+ "text-green-400": r.color === "green"
5115
5118
  }, "mt-2 text-xs flex flex-row items-center"])
5116
- }, g(i.error), 3), [
5117
- [D, i.error]
5119
+ }, g(r.error), 3), [
5120
+ [D, r.error]
5118
5121
  ])
5119
5122
  ])
5120
5123
  ]),
@@ -5132,51 +5135,51 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
5132
5135
  loading: { type: Boolean, default: !0 }
5133
5136
  },
5134
5137
  emits: ["smartFilterSelected", "smartInputChanged", "smartSelectChanged", "smartOptionSelected", "rightAddOnClicked"],
5135
- setup(p, { emit: d }) {
5136
- const l = p, n = d, o = at(E), r = A(l.items[0].props), t = (i) => {
5137
- switch (i.type) {
5138
+ setup(p, { emit: u }) {
5139
+ const n = p, i = u, l = at(E), o = A(n.items[0].props), t = (r) => {
5140
+ switch (r.type) {
5138
5141
  case "uiInput":
5139
- o.value = E, n("smartFilterSelected", i.value);
5142
+ l.value = E, i("smartFilterSelected", r.value);
5140
5143
  break;
5141
5144
  case "uiDropdown":
5142
- o.value = me, n("smartFilterSelected", i.value);
5145
+ l.value = me, i("smartFilterSelected", r.value);
5143
5146
  break;
5144
5147
  case "uiSelect":
5145
- o.value = De, n("smartFilterSelected", i.value);
5148
+ l.value = De, i("smartFilterSelected", r.value);
5146
5149
  break;
5147
5150
  case "uiSelectMultiple":
5148
- o.value = ot, n("smartFilterSelected", i.value);
5151
+ l.value = ot, i("smartFilterSelected", r.value);
5149
5152
  break;
5150
5153
  }
5151
- r.value = i.props;
5154
+ o.value = r.props;
5152
5155
  };
5153
- return (i, u) => (s(), a("div", jd, [
5156
+ return (r, d) => (s(), a("div", jd, [
5154
5157
  m(Xe, {
5155
- items: i.items,
5156
- loading: i.loading,
5158
+ items: r.items,
5159
+ loading: r.loading,
5157
5160
  onFilterSelected: t,
5158
5161
  class: "w-full lg:w-auto"
5159
5162
  }, null, 8, ["items", "loading"]),
5160
- (s(), x(Ie(o.value), it({ class: "w-full mt-2 lg:mt-0 lg:ml-2 lg:grow" }, r.value, {
5163
+ (s(), x(Ie(l.value), it({ class: "w-full mt-2 lg:mt-0 lg:ml-2 lg:grow" }, o.value, {
5161
5164
  loading: !1,
5162
- onInputChanged: u[0] || (u[0] = (y) => n("smartInputChanged", y)),
5163
- onSelectChanged: u[1] || (u[1] = (y) => n("smartSelectChanged", y)),
5164
- onOptionSelected: u[2] || (u[2] = (y) => n("smartOptionSelected", y)),
5165
- onRightAddOnClicked: u[3] || (u[3] = (y) => n("rightAddOnClicked"))
5165
+ onInputChanged: d[0] || (d[0] = (y) => i("smartInputChanged", y)),
5166
+ onSelectChanged: d[1] || (d[1] = (y) => i("smartSelectChanged", y)),
5167
+ onOptionSelected: d[2] || (d[2] = (y) => i("smartOptionSelected", y)),
5168
+ onRightAddOnClicked: d[3] || (d[3] = (y) => i("rightAddOnClicked"))
5166
5169
  }), null, 16)),
5167
- i.showFilterButton ? (s(), x(J, {
5170
+ r.showFilterButton ? (s(), x(J, {
5168
5171
  key: 0,
5169
5172
  class: "mt-2 lg:mt-0 w-full lg:w-auto ml-2",
5170
- loading: i.loading
5173
+ loading: r.loading
5171
5174
  }, {
5172
5175
  default: v(() => [
5173
- T(g(i.buttonLiteral), 1)
5176
+ T(g(r.buttonLiteral), 1)
5174
5177
  ]),
5175
5178
  _: 1
5176
5179
  }, 8, ["loading"])) : b("", !0)
5177
5180
  ]));
5178
5181
  }
5179
- }), Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5182
+ }), Ne = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5180
5183
  __proto__: null,
5181
5184
  uiAlert: qs,
5182
5185
  uiBreadcrumbs: Ws,
@@ -5209,7 +5212,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
5209
5212
  uiSelect: ys,
5210
5213
  uiSelectMultiple: ot,
5211
5214
  uiSelect_v2: De,
5212
- uiSidebar: Or,
5215
+ uiSidebar: Nr,
5213
5216
  uiSidebarV2: ye,
5214
5217
  uiSmartFilter: Td,
5215
5218
  uiStats: st,
@@ -5237,16 +5240,16 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
5237
5240
  "number",
5238
5241
  "date",
5239
5242
  "datetime-local"
5240
- ], Ld = ["black", "gray", "white"], Hd = [...zd, ...Ld], Ad = ["small", "medium", "big"], Nd = ["bigger", "huge", "massive"], Ed = [...Ad, ...Nd], Zd = ["default", "success", "warning", "danger"];
5241
- function Od(p) {
5242
- for (const d in Oe)
5243
- p.component(d, Oe[d]);
5243
+ ], Ld = ["black", "gray", "white"], Hd = [...zd, ...Ld], Ad = ["small", "medium", "big"], Od = ["bigger", "huge", "massive"], Ed = [...Ad, ...Od], Zd = ["default", "success", "warning", "danger"];
5244
+ function Nd(p) {
5245
+ for (const u in Ne)
5246
+ p.component(u, Ne[u]);
5244
5247
  }
5245
- const Jd = { install: Od };
5248
+ const Jd = { install: Nd };
5246
5249
  export {
5247
5250
  Hd as AllColors,
5248
5251
  Ed as AllSizes,
5249
- Nd as BiggerSizes,
5252
+ Od as BiggerSizes,
5250
5253
  zd as Colors,
5251
5254
  Ld as MonoColors,
5252
5255
  Ad as Sizes,
@@ -5284,7 +5287,7 @@ export {
5284
5287
  ys as uiSelect,
5285
5288
  ot as uiSelectMultiple,
5286
5289
  De as uiSelect_v2,
5287
- Or as uiSidebar,
5290
+ Nr as uiSidebar,
5288
5291
  ye as uiSidebarV2,
5289
5292
  Td as uiSmartFilter,
5290
5293
  st as uiStats,