@hotelinking/ui 12.45.0 → 13.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.cjs +1 -1
- package/dist/ui.d.ts +1 -1
- package/dist/ui.es.js +519 -514
- package/package.json +14 -18
package/dist/ui.es.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as B, createBlock as x, createElementBlock as a, openBlock as s, resolveDynamicComponent as Ie, normalizeClass as f, createCommentVNode as b, renderSlot as V, createElementVNode as e, ref as A, watch as R, computed as Y, unref as c, withCtx as v, createVNode as
|
|
2
|
-
import { Menu as ve, MenuButton as be, MenuItems as we, MenuItem as xe, Combobox as Pe, ComboboxLabel as Fe, ComboboxInput as qe, ComboboxButton as Ve, ComboboxOptions as Re, ComboboxOption as Ue, SwitchGroup as dt, Switch as ut, SwitchLabel as ct, TransitionRoot as ke, Dialog as $e, TransitionChild as G, DialogPanel as _e, DialogTitle as He, Disclosure as Ce, DisclosureButton as Z, DisclosurePanel as Se, Listbox as gt, ListboxLabel as
|
|
1
|
+
import { defineComponent as B, createBlock as x, createElementBlock as a, openBlock as s, resolveDynamicComponent as Ie, normalizeClass as f, createCommentVNode as b, renderSlot as V, createElementVNode as e, ref as A, watch as R, computed as Y, unref as c, withCtx as v, createVNode as p, toDisplayString as g, createTextVNode as T, Transition as ue, Fragment as $, renderList as _, withDirectives as C, vModelDynamic as lt, vShow as j, withModifiers as me, vModelText as X, createStaticVNode as K, resolveComponent as De, vModelCheckbox as Ye, reactive as ce, isRef as he, TransitionGroup as rt, onMounted as nt, shallowRef as at, mergeProps as it } from "vue";
|
|
2
|
+
import { Menu as ve, MenuButton as be, MenuItems as we, MenuItem as xe, Combobox as Pe, ComboboxLabel as Fe, ComboboxInput as qe, ComboboxButton as Ve, ComboboxOptions as Re, ComboboxOption as Ue, SwitchGroup as dt, Switch as ut, SwitchLabel as ct, TransitionRoot as ke, Dialog as $e, TransitionChild as G, DialogPanel as _e, DialogTitle as He, Disclosure as Ce, DisclosureButton as Z, DisclosurePanel as Se, Listbox as gt, ListboxLabel as pt, ListboxButton as mt, ListboxOptions as ft, ListboxOption as yt } from "@headlessui/vue";
|
|
3
3
|
import z from "dayjs";
|
|
4
4
|
import Be from "vue3-apexcharts";
|
|
5
5
|
import ht from "vue3-draggable";
|
|
6
6
|
import vt from "@vueform/slider";
|
|
7
|
-
const
|
|
7
|
+
const D = /* @__PURE__ */ B({
|
|
8
8
|
__name: "uiIcon",
|
|
9
9
|
props: {
|
|
10
10
|
icon: {},
|
|
@@ -12,7 +12,7 @@ const j = /* @__PURE__ */ B({
|
|
|
12
12
|
color: { default: "primary" },
|
|
13
13
|
loading: { type: Boolean, default: !0 }
|
|
14
14
|
},
|
|
15
|
-
setup(
|
|
15
|
+
setup(m) {
|
|
16
16
|
return (u, n) => u.loading ? (s(), a("div", {
|
|
17
17
|
key: 1,
|
|
18
18
|
class: f([{
|
|
@@ -54,9 +54,9 @@ const j = /* @__PURE__ */ B({
|
|
|
54
54
|
loading: { type: Boolean, default: !0 },
|
|
55
55
|
size: { default: "medium" }
|
|
56
56
|
},
|
|
57
|
-
setup(
|
|
57
|
+
setup(m) {
|
|
58
58
|
return (u, n) => u.loading ? (s(), a("button", wt, [
|
|
59
|
-
u.icon ? (s(), x(
|
|
59
|
+
u.icon ? (s(), x(D, {
|
|
60
60
|
key: 0,
|
|
61
61
|
icon: u.icon,
|
|
62
62
|
color: "white",
|
|
@@ -80,7 +80,7 @@ const j = /* @__PURE__ */ B({
|
|
|
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
|
-
u.icon ? (s(), x(
|
|
83
|
+
u.icon ? (s(), x(D, {
|
|
84
84
|
key: 0,
|
|
85
85
|
icon: u.icon,
|
|
86
86
|
color: "white",
|
|
@@ -106,8 +106,8 @@ const j = /* @__PURE__ */ B({
|
|
|
106
106
|
text: {}
|
|
107
107
|
},
|
|
108
108
|
emits: ["checkboxChanged"],
|
|
109
|
-
setup(
|
|
110
|
-
const n = u, i =
|
|
109
|
+
setup(m, { emit: u }) {
|
|
110
|
+
const n = u, i = m, l = A(i.check), o = () => {
|
|
111
111
|
i.disabled || (l.value = !l.value, n("checkboxChanged", { checked: l.value, value: i.value }));
|
|
112
112
|
};
|
|
113
113
|
return R(() => i.check, (t) => {
|
|
@@ -134,7 +134,7 @@ const j = /* @__PURE__ */ B({
|
|
|
134
134
|
]));
|
|
135
135
|
}
|
|
136
136
|
});
|
|
137
|
-
function Bt(
|
|
137
|
+
function Bt(m, 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, u) {
|
|
|
151
151
|
})
|
|
152
152
|
]);
|
|
153
153
|
}
|
|
154
|
-
function Mt(
|
|
154
|
+
function Mt(m, 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, u) {
|
|
|
168
168
|
})
|
|
169
169
|
]);
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function jt(m, 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, u) {
|
|
|
185
185
|
})
|
|
186
186
|
]);
|
|
187
187
|
}
|
|
188
|
-
function Ze(
|
|
188
|
+
function Ze(m, 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, u) {
|
|
|
202
202
|
})
|
|
203
203
|
]);
|
|
204
204
|
}
|
|
205
|
-
function Je(
|
|
205
|
+
function Je(m, 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, u) {
|
|
|
219
219
|
})
|
|
220
220
|
]);
|
|
221
221
|
}
|
|
222
|
-
function
|
|
222
|
+
function Dt(m, 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, u) {
|
|
|
236
236
|
})
|
|
237
237
|
]);
|
|
238
238
|
}
|
|
239
|
-
function Tt(
|
|
239
|
+
function Tt(m, 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, u) {
|
|
|
253
253
|
})
|
|
254
254
|
]);
|
|
255
255
|
}
|
|
256
|
-
function We(
|
|
256
|
+
function We(m, 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, u) {
|
|
|
270
270
|
})
|
|
271
271
|
]);
|
|
272
272
|
}
|
|
273
|
-
function Me(
|
|
273
|
+
function Me(m, 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, u) {
|
|
|
287
287
|
})
|
|
288
288
|
]);
|
|
289
289
|
}
|
|
290
|
-
function de(
|
|
290
|
+
function de(m, 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, u) {
|
|
|
304
304
|
})
|
|
305
305
|
]);
|
|
306
306
|
}
|
|
307
|
-
function Ge(
|
|
307
|
+
function Ge(m, 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, u) {
|
|
|
321
321
|
})
|
|
322
322
|
]);
|
|
323
323
|
}
|
|
324
|
-
function ee(
|
|
324
|
+
function ee(m, 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, u) {
|
|
|
338
338
|
})
|
|
339
339
|
]);
|
|
340
340
|
}
|
|
341
|
-
function fe(
|
|
341
|
+
function fe(m, 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, u) {
|
|
|
355
355
|
})
|
|
356
356
|
]);
|
|
357
357
|
}
|
|
358
|
-
function Ke(
|
|
358
|
+
function Ke(m, 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, u) {
|
|
|
372
372
|
})
|
|
373
373
|
]);
|
|
374
374
|
}
|
|
375
|
-
function zt(
|
|
375
|
+
function zt(m, 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, u) {
|
|
|
389
389
|
})
|
|
390
390
|
]);
|
|
391
391
|
}
|
|
392
|
-
function H(
|
|
392
|
+
function H(m, 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, u) {
|
|
|
406
406
|
})
|
|
407
407
|
]);
|
|
408
408
|
}
|
|
409
|
-
function Lt(
|
|
409
|
+
function Lt(m, 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, u) {
|
|
|
423
423
|
})
|
|
424
424
|
]);
|
|
425
425
|
}
|
|
426
|
-
function At(
|
|
426
|
+
function At(m, 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, u) {
|
|
|
440
440
|
})
|
|
441
441
|
]);
|
|
442
442
|
}
|
|
443
|
-
function Ot(
|
|
443
|
+
function Ot(m, 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 Ot(p, u) {
|
|
|
457
457
|
})
|
|
458
458
|
]);
|
|
459
459
|
}
|
|
460
|
-
function Nt(
|
|
460
|
+
function Nt(m, 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 Nt(p, u) {
|
|
|
474
474
|
})
|
|
475
475
|
]);
|
|
476
476
|
}
|
|
477
|
-
function Qe(
|
|
477
|
+
function Qe(m, 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, u) {
|
|
|
491
491
|
})
|
|
492
492
|
]);
|
|
493
493
|
}
|
|
494
|
-
function It(
|
|
494
|
+
function It(m, 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, u) {
|
|
|
508
508
|
})
|
|
509
509
|
]);
|
|
510
510
|
}
|
|
511
|
-
function Yt(
|
|
511
|
+
function Yt(m, 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, u) {
|
|
|
525
525
|
})
|
|
526
526
|
]);
|
|
527
527
|
}
|
|
528
|
-
function ge(
|
|
528
|
+
function ge(m, 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, u) {
|
|
|
542
542
|
})
|
|
543
543
|
]);
|
|
544
544
|
}
|
|
545
|
-
function W(
|
|
545
|
+
function W(m, u) {
|
|
546
546
|
return s(), a("svg", {
|
|
547
547
|
xmlns: "http://www.w3.org/2000/svg",
|
|
548
548
|
fill: "none",
|
|
@@ -568,7 +568,7 @@ const Pt = { class: "flex justify-between sha" }, Ft = {
|
|
|
568
568
|
}, Vt = { class: "-py-1" }, Rt = ["onClick"], Ut = {
|
|
569
569
|
key: 1,
|
|
570
570
|
class: "animate-pulse px-4 py-2 bg-gray-200 rounded-md inline-flex items-center relative text-left"
|
|
571
|
-
},
|
|
571
|
+
}, pe = /* @__PURE__ */ B({
|
|
572
572
|
__name: "uiDropdown",
|
|
573
573
|
props: {
|
|
574
574
|
items: {},
|
|
@@ -580,8 +580,8 @@ const Pt = { class: "flex justify-between sha" }, Ft = {
|
|
|
580
580
|
requiredText: {}
|
|
581
581
|
},
|
|
582
582
|
emits: ["optionSelected"],
|
|
583
|
-
setup(
|
|
584
|
-
const n = u, i =
|
|
583
|
+
setup(m, { emit: u }) {
|
|
584
|
+
const n = u, i = m, l = Y(() => {
|
|
585
585
|
let t = i.items.find((r) => r.active === !0);
|
|
586
586
|
return t ? t.name : i.label;
|
|
587
587
|
}), o = (t) => {
|
|
@@ -589,7 +589,7 @@ const Pt = { class: "flex justify-between sha" }, Ft = {
|
|
|
589
589
|
};
|
|
590
590
|
return (t, r) => t.loading ? (s(), a("div", Ut, [
|
|
591
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
|
+
p(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"
|
|
595
595
|
})
|
|
@@ -604,7 +604,7 @@ const Pt = { class: "flex justify-between sha" }, Ft = {
|
|
|
604
604
|
t.label ? (s(), a("label", Ft, g(t.label), 1)) : b("", !0),
|
|
605
605
|
t.requiredText ? (s(), a("span", qt, g(t.requiredText), 1)) : b("", !0)
|
|
606
606
|
]),
|
|
607
|
-
|
|
607
|
+
p(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
609
|
T(g(l.value) + " ", 1),
|
|
610
610
|
t.verticalPosition === "bottom" ? (s(), x(c(de), {
|
|
@@ -621,7 +621,7 @@ const Pt = { class: "flex justify-between sha" }, Ft = {
|
|
|
621
621
|
_: 1
|
|
622
622
|
})
|
|
623
623
|
]),
|
|
624
|
-
|
|
624
|
+
p(ue, {
|
|
625
625
|
"enter-active-class": "transition ease-out duration-100",
|
|
626
626
|
"enter-from-class": "transform opacity-0 scale-95",
|
|
627
627
|
"enter-to-class": "transform opacity-100 scale-100",
|
|
@@ -696,8 +696,8 @@ 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(
|
|
700
|
-
const n = u, i =
|
|
699
|
+
setup(m, { emit: u }) {
|
|
700
|
+
const n = u, i = m, l = A(i.value);
|
|
701
701
|
R(() => i.value, (t) => {
|
|
702
702
|
l.value = t, l.value && n("inputChanged", { name: i.name, value: l.value });
|
|
703
703
|
});
|
|
@@ -755,32 +755,32 @@ const Pt = { class: "flex justify-between sha" }, Ft = {
|
|
|
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, [
|
|
758
|
-
t.icon ? (s(), x(
|
|
758
|
+
t.icon ? (s(), x(D, {
|
|
759
759
|
key: 0,
|
|
760
760
|
icon: t.icon,
|
|
761
761
|
color: t.color,
|
|
762
762
|
loading: t.loading
|
|
763
763
|
}, null, 8, ["icon", "color", "loading"])) : b("", !0),
|
|
764
|
-
C(
|
|
764
|
+
C(p(D, {
|
|
765
765
|
icon: c(Me),
|
|
766
766
|
color: "green",
|
|
767
767
|
loading: t.loading
|
|
768
768
|
}, null, 8, ["icon", "loading"]), [
|
|
769
|
-
[
|
|
769
|
+
[j, t.color === "green"]
|
|
770
770
|
]),
|
|
771
|
-
C(
|
|
771
|
+
C(p(D, {
|
|
772
772
|
icon: c(H),
|
|
773
773
|
color: "yellow",
|
|
774
774
|
loading: t.loading
|
|
775
775
|
}, null, 8, ["icon", "loading"]), [
|
|
776
|
-
[
|
|
776
|
+
[j, t.color === "yellow"]
|
|
777
777
|
]),
|
|
778
|
-
C(
|
|
778
|
+
C(p(D, {
|
|
779
779
|
icon: c(W),
|
|
780
780
|
color: "red",
|
|
781
781
|
loading: t.loading
|
|
782
782
|
}, null, 8, ["icon", "loading"]), [
|
|
783
|
-
[
|
|
783
|
+
[j, t.color === "red"]
|
|
784
784
|
])
|
|
785
785
|
])
|
|
786
786
|
], 2),
|
|
@@ -792,7 +792,7 @@ const Pt = { class: "flex justify-between sha" }, Ft = {
|
|
|
792
792
|
"text-green-400": t.color === "green"
|
|
793
793
|
}, "mt-2 text-xs flex flex-row items-center"])
|
|
794
794
|
}, g(t.error), 3), [
|
|
795
|
-
[
|
|
795
|
+
[j, t.error]
|
|
796
796
|
])
|
|
797
797
|
]));
|
|
798
798
|
}
|
|
@@ -821,9 +821,9 @@ const Pt = { class: "flex justify-between sha" }, Ft = {
|
|
|
821
821
|
label: {}
|
|
822
822
|
},
|
|
823
823
|
emits: ["filesUploaded"],
|
|
824
|
-
setup(
|
|
824
|
+
setup(m, { emit: u }) {
|
|
825
825
|
let n = A("");
|
|
826
|
-
const i = u, l =
|
|
826
|
+
const i = u, l = m, o = (d) => {
|
|
827
827
|
r(d.dataTransfer.files), i("filesUploaded", { id: l.id, files: d.dataTransfer.files });
|
|
828
828
|
}, t = (d) => {
|
|
829
829
|
r(d.target.files), i("filesUploaded", { id: l.id, files: d.target.files });
|
|
@@ -854,12 +854,12 @@ const Pt = { class: "flex justify-between sha" }, Ft = {
|
|
|
854
854
|
],
|
|
855
855
|
"dropArea flex justify-center rounded-md border-2 border-dashed px-6 pt-5 pb-6"
|
|
856
856
|
]),
|
|
857
|
-
onDragover: y[0] || (y[0] =
|
|
857
|
+
onDragover: y[0] || (y[0] = me(() => {
|
|
858
858
|
}, ["prevent"])),
|
|
859
|
-
onDrop:
|
|
859
|
+
onDrop: me(o, ["prevent"])
|
|
860
860
|
}, [
|
|
861
861
|
e("div", os, [
|
|
862
|
-
|
|
862
|
+
p(D, {
|
|
863
863
|
icon: d.icon,
|
|
864
864
|
size: "massive",
|
|
865
865
|
color: "gray",
|
|
@@ -887,12 +887,12 @@ const Pt = { class: "flex justify-between sha" }, Ft = {
|
|
|
887
887
|
]),
|
|
888
888
|
e("p", is, g(d.fileTypesAndSizes), 1),
|
|
889
889
|
C(e("p", { class: "font-bold text-xs uppercase block p-2 bg-gray-200 rounded" }, g(c(n)), 513), [
|
|
890
|
-
[
|
|
890
|
+
[j, c(n) !== null]
|
|
891
891
|
])
|
|
892
892
|
])
|
|
893
893
|
], 34),
|
|
894
894
|
C(e("p", ds, [
|
|
895
|
-
|
|
895
|
+
p(D, {
|
|
896
896
|
icon: c(ge),
|
|
897
897
|
color: "red",
|
|
898
898
|
class: "mr-2",
|
|
@@ -900,14 +900,14 @@ const Pt = { class: "flex justify-between sha" }, Ft = {
|
|
|
900
900
|
}, null, 8, ["icon", "loading"]),
|
|
901
901
|
T(" " + g(d.error), 1)
|
|
902
902
|
], 512), [
|
|
903
|
-
[
|
|
903
|
+
[j, d.error]
|
|
904
904
|
])
|
|
905
905
|
]));
|
|
906
906
|
}
|
|
907
|
-
}), gs = { class: "flex justify-between" },
|
|
907
|
+
}), gs = { class: "flex justify-between" }, ps = {
|
|
908
908
|
key: 0,
|
|
909
909
|
class: "text-[10px] text-gray-500 uppercase justify-self-end"
|
|
910
|
-
},
|
|
910
|
+
}, ms = { class: "relative" }, fs = {
|
|
911
911
|
key: 1,
|
|
912
912
|
class: "animate-pulse px-4 py-2.5 bg-gray-200 rounded-md flex justify-between items-center w-full"
|
|
913
913
|
}, ys = /* @__PURE__ */ B({
|
|
@@ -924,8 +924,8 @@ const Pt = { class: "flex justify-between sha" }, Ft = {
|
|
|
924
924
|
requiredText: {}
|
|
925
925
|
},
|
|
926
926
|
emits: ["selectChanged"],
|
|
927
|
-
setup(
|
|
928
|
-
const i = A(""), l = n, o =
|
|
927
|
+
setup(m, { expose: u, emit: n }) {
|
|
928
|
+
const i = A(""), l = n, o = m, 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
929
|
l("selectChanged", h);
|
|
930
930
|
}, y = Y({
|
|
931
931
|
get: () => o.select,
|
|
@@ -937,7 +937,7 @@ const Pt = { class: "flex justify-between sha" }, Ft = {
|
|
|
937
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
|
+
p(c(fe), {
|
|
941
941
|
"aria-hidden": "true",
|
|
942
942
|
class: "-mr-1 ml-2 h-5 w-5 text-gray-300 dark:text-gray-400"
|
|
943
943
|
})
|
|
@@ -953,16 +953,16 @@ const Pt = { class: "flex justify-between sha" }, Ft = {
|
|
|
953
953
|
}, {
|
|
954
954
|
default: v(() => [
|
|
955
955
|
e("div", gs, [
|
|
956
|
-
|
|
956
|
+
p(c(Fe), { class: "block text-sm font-medium" }, {
|
|
957
957
|
default: v(() => [
|
|
958
958
|
T(g(h.label), 1)
|
|
959
959
|
]),
|
|
960
960
|
_: 1
|
|
961
961
|
}),
|
|
962
|
-
h.requiredText ? (s(), a("span",
|
|
962
|
+
h.requiredText ? (s(), a("span", ps, g(h.requiredText), 1)) : b("", !0)
|
|
963
963
|
]),
|
|
964
|
-
e("div",
|
|
965
|
-
|
|
964
|
+
e("div", ms, [
|
|
965
|
+
p(c(qe), {
|
|
966
966
|
onChange: w[0] || (w[0] = (L) => i.value = L.target.value),
|
|
967
967
|
onBlur: w[1] || (w[1] = (L) => i.value = ""),
|
|
968
968
|
displayValue: r,
|
|
@@ -981,9 +981,9 @@ const Pt = { class: "flex justify-between sha" }, Ft = {
|
|
|
981
981
|
"text-green-400": h.color === "green"
|
|
982
982
|
}, "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"])
|
|
983
983
|
}, null, 8, ["class"]),
|
|
984
|
-
|
|
984
|
+
p(c(Ve), { class: "absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none" }, {
|
|
985
985
|
default: v(() => [
|
|
986
|
-
|
|
986
|
+
p(c(fe), {
|
|
987
987
|
"aria-hidden": "true",
|
|
988
988
|
class: "h-5 w-5 text-gray-400"
|
|
989
989
|
})
|
|
@@ -1017,7 +1017,7 @@ const Pt = { class: "flex justify-between sha" }, Ft = {
|
|
|
1017
1017
|
O ? "text-white" : "text-indigo-600"
|
|
1018
1018
|
])
|
|
1019
1019
|
}, [
|
|
1020
|
-
|
|
1020
|
+
p(c(Me), {
|
|
1021
1021
|
"aria-hidden": "true",
|
|
1022
1022
|
class: "h-5 w-5",
|
|
1023
1023
|
loading: !0
|
|
@@ -1039,14 +1039,14 @@ const Pt = { class: "flex justify-between sha" }, Ft = {
|
|
|
1039
1039
|
"text-green-400": h.color === "green"
|
|
1040
1040
|
}, "mt-2 text-xs flex flex-row items-center"])
|
|
1041
1041
|
}, g(h.error), 3), [
|
|
1042
|
-
[
|
|
1042
|
+
[j, h.error]
|
|
1043
1043
|
])
|
|
1044
1044
|
]),
|
|
1045
1045
|
_: 1
|
|
1046
1046
|
}, 8, ["modelValue", "disabled"]));
|
|
1047
1047
|
}
|
|
1048
1048
|
});
|
|
1049
|
-
function hs(
|
|
1049
|
+
function hs(m, 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, u) {
|
|
|
1061
1061
|
})
|
|
1062
1062
|
]);
|
|
1063
1063
|
}
|
|
1064
|
-
function vs(
|
|
1064
|
+
function vs(m, u) {
|
|
1065
1065
|
return s(), a("svg", {
|
|
1066
1066
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1067
1067
|
viewBox: "0 0 20 20",
|
|
@@ -1079,7 +1079,7 @@ function vs(p, u) {
|
|
|
1079
1079
|
const bs = { class: "flex justify-between" }, ws = {
|
|
1080
1080
|
key: 0,
|
|
1081
1081
|
class: "text-[10px] text-gray-500 uppercase justify-self-end self-center"
|
|
1082
|
-
},
|
|
1082
|
+
}, je = /* @__PURE__ */ B({
|
|
1083
1083
|
__name: "uiSelect_v2",
|
|
1084
1084
|
props: {
|
|
1085
1085
|
items: {},
|
|
@@ -1093,8 +1093,8 @@ const bs = { class: "flex justify-between" }, ws = {
|
|
|
1093
1093
|
requiredText: {}
|
|
1094
1094
|
},
|
|
1095
1095
|
emits: ["selectChanged"],
|
|
1096
|
-
setup(
|
|
1097
|
-
const n =
|
|
1096
|
+
setup(m, { emit: u }) {
|
|
1097
|
+
const n = m, i = u, l = A(""), o = A(n.select), t = Y(
|
|
1098
1098
|
() => l.value === "" ? n.items : n.items.filter((d) => d.name.toLowerCase().includes(l.value.toLowerCase()))
|
|
1099
1099
|
), r = (d) => {
|
|
1100
1100
|
l.value = "", i("selectChanged", d);
|
|
@@ -1109,7 +1109,7 @@ const bs = { class: "flex justify-between" }, ws = {
|
|
|
1109
1109
|
}, {
|
|
1110
1110
|
default: v(() => [
|
|
1111
1111
|
e("div", bs, [
|
|
1112
|
-
|
|
1112
|
+
p(c(Fe), { class: "block text-sm font-medium" }, {
|
|
1113
1113
|
default: v(() => [
|
|
1114
1114
|
T(g(d.label), 1)
|
|
1115
1115
|
]),
|
|
@@ -1120,7 +1120,7 @@ const bs = { class: "flex justify-between" }, ws = {
|
|
|
1120
1120
|
e("div", {
|
|
1121
1121
|
class: f([{ "mt-1": d.label }, "relative"])
|
|
1122
1122
|
}, [
|
|
1123
|
-
|
|
1123
|
+
p(c(qe), {
|
|
1124
1124
|
class: f([{
|
|
1125
1125
|
"mt-1": d.requiredText || d.label,
|
|
1126
1126
|
"border-gray-300": d.color === "gray",
|
|
@@ -1139,9 +1139,9 @@ const bs = { class: "flex justify-between" }, ws = {
|
|
|
1139
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
|
+
p(c(Ve), { class: "absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none" }, {
|
|
1143
1143
|
default: v(() => [
|
|
1144
|
-
|
|
1144
|
+
p(c(vs), {
|
|
1145
1145
|
class: "size-5 text-gray-400",
|
|
1146
1146
|
"aria-hidden": "true"
|
|
1147
1147
|
})
|
|
@@ -1169,7 +1169,7 @@ const bs = { class: "flex justify-between" }, ws = {
|
|
|
1169
1169
|
key: 0,
|
|
1170
1170
|
class: f(["absolute inset-y-0 right-0 flex items-center pr-4", w ? "text-white" : "text-indigo-600"])
|
|
1171
1171
|
}, [
|
|
1172
|
-
|
|
1172
|
+
p(c(hs), {
|
|
1173
1173
|
class: "size-5",
|
|
1174
1174
|
"aria-hidden": "true"
|
|
1175
1175
|
})
|
|
@@ -1190,7 +1190,7 @@ const bs = { class: "flex justify-between" }, ws = {
|
|
|
1190
1190
|
"text-green-400": d.color === "green"
|
|
1191
1191
|
}, "mt-2 text-xs flex flex-row items-center"])
|
|
1192
1192
|
}, g(d.error), 3), [
|
|
1193
|
-
[
|
|
1193
|
+
[j, d.error]
|
|
1194
1194
|
])
|
|
1195
1195
|
]),
|
|
1196
1196
|
_: 1
|
|
@@ -1210,8 +1210,8 @@ const bs = { class: "flex justify-between" }, ws = {
|
|
|
1210
1210
|
text: {}
|
|
1211
1211
|
},
|
|
1212
1212
|
emits: ["tagEvent"],
|
|
1213
|
-
setup(
|
|
1214
|
-
const n = u, i =
|
|
1213
|
+
setup(m, { emit: u }) {
|
|
1214
|
+
const n = u, i = m, l = () => {
|
|
1215
1215
|
i.event != null && n("tagEvent", i.event);
|
|
1216
1216
|
};
|
|
1217
1217
|
return (o, t) => o.loading ? (s(), a("div", xs, t[0] || (t[0] = [
|
|
@@ -1261,8 +1261,8 @@ const bs = { class: "flex justify-between" }, ws = {
|
|
|
1261
1261
|
requiredText: {}
|
|
1262
1262
|
},
|
|
1263
1263
|
emits: ["inputChanged"],
|
|
1264
|
-
setup(
|
|
1265
|
-
const n = u, i =
|
|
1264
|
+
setup(m, { emit: u }) {
|
|
1265
|
+
const n = u, i = m, l = (t) => {
|
|
1266
1266
|
n("inputChanged", t.target.value);
|
|
1267
1267
|
}, o = A(i.value);
|
|
1268
1268
|
return R(() => i.value, (t) => {
|
|
@@ -1307,7 +1307,7 @@ const bs = { class: "flex justify-between" }, ws = {
|
|
|
1307
1307
|
"text-green-400": t.color === "green"
|
|
1308
1308
|
}, "mt-2 text-xs flex flex-row items-center"])
|
|
1309
1309
|
}, [
|
|
1310
|
-
|
|
1310
|
+
p(D, {
|
|
1311
1311
|
icon: c(ge),
|
|
1312
1312
|
color: "red",
|
|
1313
1313
|
class: "mr-2",
|
|
@@ -1315,11 +1315,11 @@ const bs = { class: "flex justify-between" }, ws = {
|
|
|
1315
1315
|
}, null, 8, ["icon"]),
|
|
1316
1316
|
T(" " + g(t.error), 1)
|
|
1317
1317
|
], 2), [
|
|
1318
|
-
[
|
|
1318
|
+
[j, t.error]
|
|
1319
1319
|
])
|
|
1320
1320
|
]));
|
|
1321
1321
|
}
|
|
1322
|
-
}),
|
|
1322
|
+
}), js = { class: "text-sm font-medium text-gray-900" }, Ds = {
|
|
1323
1323
|
key: 0,
|
|
1324
1324
|
class: "text-sm text-gray-500 ml-2"
|
|
1325
1325
|
}, Ts = {
|
|
@@ -1334,8 +1334,8 @@ const bs = { class: "flex justify-between" }, ws = {
|
|
|
1334
1334
|
loading: { type: Boolean, default: !0 }
|
|
1335
1335
|
},
|
|
1336
1336
|
emits: ["toggleChanged", "actionClicked"],
|
|
1337
|
-
setup(
|
|
1338
|
-
const n =
|
|
1337
|
+
setup(m, { emit: u }) {
|
|
1338
|
+
const n = m, i = A(n.checked);
|
|
1339
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" })
|
|
@@ -1347,7 +1347,7 @@ const bs = { class: "flex justify-between" }, ws = {
|
|
|
1347
1347
|
class: "flex items-center relative"
|
|
1348
1348
|
}, {
|
|
1349
1349
|
default: v(() => [
|
|
1350
|
-
|
|
1350
|
+
p(c(ut), {
|
|
1351
1351
|
disabled: l.disabled,
|
|
1352
1352
|
onClick: o[0] || (o[0] = (t) => l.$emit("toggleChanged", { item: l.item, active: !i.value })),
|
|
1353
1353
|
modelValue: i.value,
|
|
@@ -1369,13 +1369,13 @@ const bs = { class: "flex justify-between" }, ws = {
|
|
|
1369
1369
|
]),
|
|
1370
1370
|
_: 1
|
|
1371
1371
|
}, 8, ["disabled", "modelValue", "class"]),
|
|
1372
|
-
|
|
1372
|
+
p(c(ct), {
|
|
1373
1373
|
as: "span",
|
|
1374
1374
|
class: "ml-3"
|
|
1375
1375
|
}, {
|
|
1376
1376
|
default: v(() => [
|
|
1377
|
-
e("span",
|
|
1378
|
-
l.item.subtitle ? (s(), a("span",
|
|
1377
|
+
e("span", js, g(l.item.title), 1),
|
|
1378
|
+
l.item.subtitle ? (s(), a("span", Ds, g(l.item.subtitle), 1)) : b("", !0)
|
|
1379
1379
|
]),
|
|
1380
1380
|
_: 1
|
|
1381
1381
|
}),
|
|
@@ -1403,7 +1403,7 @@ const bs = { class: "flex justify-between" }, ws = {
|
|
|
1403
1403
|
loading: { type: Boolean, default: !0 }
|
|
1404
1404
|
},
|
|
1405
1405
|
emits: ["alertEvent"],
|
|
1406
|
-
setup(
|
|
1406
|
+
setup(m, { emit: u }) {
|
|
1407
1407
|
const n = u, i = (l) => {
|
|
1408
1408
|
n("alertEvent", l.event);
|
|
1409
1409
|
};
|
|
@@ -1501,7 +1501,7 @@ const bs = { class: "flex justify-between" }, ws = {
|
|
|
1501
1501
|
loading: { type: Boolean, default: !0 }
|
|
1502
1502
|
},
|
|
1503
1503
|
emits: ["breadCrumbClicked"],
|
|
1504
|
-
setup(
|
|
1504
|
+
setup(m, { emit: u }) {
|
|
1505
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),
|
|
@@ -1515,14 +1515,14 @@ const bs = { class: "flex justify-between" }, ws = {
|
|
|
1515
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
|
-
|
|
1518
|
+
p(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
1522
|
e("span", null, g(l.name), 1)
|
|
1523
1523
|
], 8, Hs)
|
|
1524
1524
|
])) : (s(), a("div", Es, [
|
|
1525
|
-
|
|
1525
|
+
p(c(ee), {
|
|
1526
1526
|
class: "flex-shrink-0 h-3 w-3 text-gray-400",
|
|
1527
1527
|
"aria-hidden": "true"
|
|
1528
1528
|
}),
|
|
@@ -1553,7 +1553,7 @@ const bs = { class: "flex justify-between" }, ws = {
|
|
|
1553
1553
|
loading: { type: Boolean, default: !0 }
|
|
1554
1554
|
},
|
|
1555
1555
|
emits: ["cardSelected"],
|
|
1556
|
-
setup(
|
|
1556
|
+
setup(m, { emit: u }) {
|
|
1557
1557
|
return (n, i) => {
|
|
1558
1558
|
var l;
|
|
1559
1559
|
return n.loading ? (s(), a("div", to, i[1] || (i[1] = [
|
|
@@ -1598,13 +1598,13 @@ const bs = { class: "flex justify-between" }, ws = {
|
|
|
1598
1598
|
loading: { type: Boolean, default: !0 }
|
|
1599
1599
|
},
|
|
1600
1600
|
emits: ["filterSelected"],
|
|
1601
|
-
setup(
|
|
1602
|
-
const n = u, i =
|
|
1601
|
+
setup(m, { emit: u }) {
|
|
1602
|
+
const n = u, i = m, l = (t) => {
|
|
1603
1603
|
o.value.forEach((r) => {
|
|
1604
1604
|
r.active = r.value === t.value;
|
|
1605
1605
|
}), n("filterSelected", t);
|
|
1606
1606
|
}, o = A(i.items);
|
|
1607
|
-
return (t, r) => (s(), x(
|
|
1607
|
+
return (t, r) => (s(), x(pe, {
|
|
1608
1608
|
class: "text-nowrap",
|
|
1609
1609
|
loading: t.loading,
|
|
1610
1610
|
onOptionSelected: r[0] || (r[0] = (d) => l(d)),
|
|
@@ -1628,8 +1628,8 @@ const bs = { class: "flex justify-between" }, ws = {
|
|
|
1628
1628
|
loading: { type: Boolean, default: !1 }
|
|
1629
1629
|
},
|
|
1630
1630
|
emits: ["modalAction"],
|
|
1631
|
-
setup(
|
|
1632
|
-
const n =
|
|
1631
|
+
setup(m, { emit: u }) {
|
|
1632
|
+
const n = m, i = u, l = (o) => {
|
|
1633
1633
|
i("modalAction", { modal: n.modalName, action: o });
|
|
1634
1634
|
};
|
|
1635
1635
|
return (o, t) => (s(), x(c(ke), {
|
|
@@ -1637,13 +1637,13 @@ const bs = { class: "flex justify-between" }, ws = {
|
|
|
1637
1637
|
show: o.open
|
|
1638
1638
|
}, {
|
|
1639
1639
|
default: v(() => [
|
|
1640
|
-
|
|
1640
|
+
p(c($e), {
|
|
1641
1641
|
as: "div",
|
|
1642
1642
|
class: "relative z-50",
|
|
1643
1643
|
onClose: t[1] || (t[1] = (r) => l("close"))
|
|
1644
1644
|
}, {
|
|
1645
1645
|
default: v(() => [
|
|
1646
|
-
|
|
1646
|
+
p(c(G), {
|
|
1647
1647
|
as: "template",
|
|
1648
1648
|
enter: "ease-out duration-300",
|
|
1649
1649
|
"enter-from": "opacity-0",
|
|
@@ -1660,7 +1660,7 @@ const bs = { class: "flex justify-between" }, ws = {
|
|
|
1660
1660
|
}),
|
|
1661
1661
|
e("div", oo, [
|
|
1662
1662
|
e("div", lo, [
|
|
1663
|
-
|
|
1663
|
+
p(c(G), {
|
|
1664
1664
|
as: "template",
|
|
1665
1665
|
enter: "ease-out duration-300",
|
|
1666
1666
|
"enter-from": "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",
|
|
@@ -1670,7 +1670,7 @@ const bs = { class: "flex justify-between" }, ws = {
|
|
|
1670
1670
|
"leave-to": "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"
|
|
1671
1671
|
}, {
|
|
1672
1672
|
default: v(() => [
|
|
1673
|
-
|
|
1673
|
+
p(c(_e), {
|
|
1674
1674
|
class: f([{
|
|
1675
1675
|
"sm:my-8 w-full sm:w-9/12 md:w-2/3 lg:w-1/2": o.size === "big",
|
|
1676
1676
|
"w-full sm:my-8 sm:w-full sm:max-w-lg sm:p-6": o.size === "medium"
|
|
@@ -1684,7 +1684,7 @@ const bs = { class: "flex justify-between" }, ws = {
|
|
|
1684
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
|
+
p(D, {
|
|
1688
1688
|
icon: c(W),
|
|
1689
1689
|
"aria-hidden": "true",
|
|
1690
1690
|
loading: o.loading
|
|
@@ -1700,33 +1700,33 @@ const bs = { class: "flex justify-between" }, ws = {
|
|
|
1700
1700
|
"bg-yellow-100": o.type === "warning"
|
|
1701
1701
|
}])
|
|
1702
1702
|
}, [
|
|
1703
|
-
C(
|
|
1703
|
+
C(p(c(W), {
|
|
1704
1704
|
class: "h-6 w-6 text-red-600",
|
|
1705
1705
|
"aria-hidden": "true"
|
|
1706
1706
|
}, null, 512), [
|
|
1707
|
-
[
|
|
1707
|
+
[j, o.type === "danger"]
|
|
1708
1708
|
]),
|
|
1709
|
-
C(
|
|
1709
|
+
C(p(c(Me), {
|
|
1710
1710
|
class: "h-6 w-6 text-green-600",
|
|
1711
1711
|
"aria-hidden": "true"
|
|
1712
1712
|
}, null, 512), [
|
|
1713
|
-
[
|
|
1713
|
+
[j, o.type === "success"]
|
|
1714
1714
|
]),
|
|
1715
|
-
C(
|
|
1715
|
+
C(p(c(H), {
|
|
1716
1716
|
class: "h-6 w-6 text-yellow-600",
|
|
1717
1717
|
"aria-hidden": "true"
|
|
1718
1718
|
}, null, 512), [
|
|
1719
|
-
[
|
|
1719
|
+
[j, o.type === "warning"]
|
|
1720
1720
|
]),
|
|
1721
|
-
C(
|
|
1721
|
+
C(p(c(Ot), {
|
|
1722
1722
|
class: "h-6 w-6 text-indigo-600",
|
|
1723
1723
|
"aria-hidden": "true"
|
|
1724
1724
|
}, null, 512), [
|
|
1725
|
-
[
|
|
1725
|
+
[j, o.type === "default"]
|
|
1726
1726
|
])
|
|
1727
1727
|
], 2),
|
|
1728
1728
|
e("div", ao, [
|
|
1729
|
-
|
|
1729
|
+
p(c(He), {
|
|
1730
1730
|
as: "h3",
|
|
1731
1731
|
class: "text-lg font-medium leading-6 text-gray-900"
|
|
1732
1732
|
}, {
|
|
@@ -1763,10 +1763,10 @@ const bs = { class: "flex justify-between" }, ws = {
|
|
|
1763
1763
|
_: 3
|
|
1764
1764
|
}, 8, ["show"]));
|
|
1765
1765
|
}
|
|
1766
|
-
}), go = { class: "w-full flex flex-col items-center space-y-4 sm:items-end" },
|
|
1766
|
+
}), go = { class: "w-full flex flex-col items-center space-y-4 sm:items-end" }, po = {
|
|
1767
1767
|
key: 0,
|
|
1768
1768
|
class: "max-w-sm w-full bg-white shadow-lg rounded-lg pointer-events-auto ring-1 ring-black ring-opacity-5 overflow-hidden"
|
|
1769
|
-
},
|
|
1769
|
+
}, mo = { class: "p-4" }, fo = { class: "flex items-start" }, yo = { class: "flex-shrink-0 mt-0.5" }, ho = { class: "ml-3 w-0 flex-1 pt-0.5" }, vo = { class: "font-medium text-gray-900" }, bo = { class: "mt-1 text-sm text-gray-500" }, wo = { class: "ml-4 flex-shrink-0 flex" }, xo = /* @__PURE__ */ B({
|
|
1770
1770
|
__name: "uiNotification",
|
|
1771
1771
|
props: {
|
|
1772
1772
|
type: { default: "info" },
|
|
@@ -1776,14 +1776,14 @@ const bs = { class: "flex justify-between" }, ws = {
|
|
|
1776
1776
|
show: { type: Boolean, default: !1 }
|
|
1777
1777
|
},
|
|
1778
1778
|
emits: ["closeNotification"],
|
|
1779
|
-
setup(
|
|
1780
|
-
const n =
|
|
1779
|
+
setup(m, { emit: u }) {
|
|
1780
|
+
const n = m, i = Y(() => n.show);
|
|
1781
1781
|
return (l, o) => (s(), a("div", {
|
|
1782
1782
|
"aria-live": "assertive",
|
|
1783
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
|
+
p(ue, {
|
|
1787
1787
|
"enter-active-class": "transform ease-out duration-300 transition",
|
|
1788
1788
|
"enter-from-class": "translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-2",
|
|
1789
1789
|
"enter-to-class": "translate-y-0 opacity-100 sm:translate-x-0",
|
|
@@ -1792,33 +1792,33 @@ const bs = { class: "flex justify-between" }, ws = {
|
|
|
1792
1792
|
"leave-to-class": "opacity-0"
|
|
1793
1793
|
}, {
|
|
1794
1794
|
default: v(() => [
|
|
1795
|
-
i.value ? (s(), a("div",
|
|
1796
|
-
e("div",
|
|
1795
|
+
i.value ? (s(), a("div", po, [
|
|
1796
|
+
e("div", mo, [
|
|
1797
1797
|
e("div", fo, [
|
|
1798
1798
|
e("div", yo, [
|
|
1799
|
-
C(
|
|
1799
|
+
C(p(c(We), {
|
|
1800
1800
|
"aria-hidden": "true",
|
|
1801
1801
|
class: "h-6 w-6 text-green-400"
|
|
1802
1802
|
}, null, 512), [
|
|
1803
|
-
[
|
|
1803
|
+
[j, l.type === "success"]
|
|
1804
1804
|
]),
|
|
1805
|
-
C(
|
|
1805
|
+
C(p(c(ge), {
|
|
1806
1806
|
"aria-hidden": "true",
|
|
1807
1807
|
class: "h-6 w-6 text-red-400"
|
|
1808
1808
|
}, null, 512), [
|
|
1809
|
-
[
|
|
1809
|
+
[j, l.type === "danger"]
|
|
1810
1810
|
]),
|
|
1811
|
-
C(
|
|
1811
|
+
C(p(c(H), {
|
|
1812
1812
|
"aria-hidden": "true",
|
|
1813
1813
|
class: "h-6 w-6 text-yellow-400"
|
|
1814
1814
|
}, null, 512), [
|
|
1815
|
-
[
|
|
1815
|
+
[j, l.type === "warning"]
|
|
1816
1816
|
]),
|
|
1817
|
-
C(
|
|
1817
|
+
C(p(c(Qe), {
|
|
1818
1818
|
"aria-hidden": "true",
|
|
1819
1819
|
class: "h-6 w-6 text-indigo-600"
|
|
1820
1820
|
}, null, 512), [
|
|
1821
|
-
[
|
|
1821
|
+
[j, l.type === "info"]
|
|
1822
1822
|
])
|
|
1823
1823
|
]),
|
|
1824
1824
|
e("div", ho, [
|
|
@@ -1832,7 +1832,7 @@ const bs = { class: "flex justify-between" }, ws = {
|
|
|
1832
1832
|
onClick: o[0] || (o[0] = (t) => l.$emit("closeNotification"))
|
|
1833
1833
|
}, [
|
|
1834
1834
|
o[1] || (o[1] = e("span", { class: "sr-only" }, "Close", -1)),
|
|
1835
|
-
|
|
1835
|
+
p(c(W), {
|
|
1836
1836
|
"aria-hidden": "true",
|
|
1837
1837
|
class: "h-5 w-5"
|
|
1838
1838
|
})
|
|
@@ -1851,7 +1851,7 @@ const bs = { class: "flex justify-between" }, ws = {
|
|
|
1851
1851
|
key: 0,
|
|
1852
1852
|
role: "list",
|
|
1853
1853
|
class: "divide-y divide-gray-100"
|
|
1854
|
-
}, $o = { class: "min-w-0" }, _o = { class: "flex items-start gap-x-3" }, Co = { class: "text-sm font-semibold leading-6 text-gray-900" }, So = { class: "mt-1 flex items-center gap-x-2 text-xs leading-5 text-gray-500" }, Bo = { class: "truncate" }, Mo = { class: "flex flex-none items-center gap-x-4" },
|
|
1854
|
+
}, $o = { class: "min-w-0" }, _o = { class: "flex items-start gap-x-3" }, Co = { class: "text-sm font-semibold leading-6 text-gray-900" }, So = { class: "mt-1 flex items-center gap-x-2 text-xs leading-5 text-gray-500" }, Bo = { class: "truncate" }, Mo = { class: "flex flex-none items-center gap-x-4" }, jo = ["href"], Do = { class: "sr-only" }, To = {
|
|
1855
1855
|
key: 1,
|
|
1856
1856
|
class: "divide-y divide-gray-100 animate-pulse"
|
|
1857
1857
|
}, zo = /* @__PURE__ */ B({
|
|
@@ -1860,7 +1860,7 @@ const bs = { class: "flex justify-between" }, ws = {
|
|
|
1860
1860
|
tasks: {},
|
|
1861
1861
|
loading: { type: Boolean, default: !0 }
|
|
1862
1862
|
},
|
|
1863
|
-
setup(
|
|
1863
|
+
setup(m) {
|
|
1864
1864
|
return (u, n) => u.loading ? (s(), a("ul", To, [
|
|
1865
1865
|
(s(!0), a($, null, _(u.tasks, (i) => (s(), a("li", {
|
|
1866
1866
|
key: i.id,
|
|
@@ -1897,21 +1897,21 @@ const bs = { class: "flex justify-between" }, ws = {
|
|
|
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
1899
|
T(g(i.action), 1),
|
|
1900
|
-
e("span",
|
|
1901
|
-
], 8,
|
|
1900
|
+
e("span", Do, ", " + g(i.name), 1)
|
|
1901
|
+
], 8, jo)
|
|
1902
1902
|
])
|
|
1903
1903
|
]))), 128))
|
|
1904
1904
|
]));
|
|
1905
1905
|
}
|
|
1906
1906
|
});
|
|
1907
|
-
function Lo(
|
|
1908
|
-
return
|
|
1907
|
+
function Lo(m) {
|
|
1908
|
+
return m && m.__esModule && Object.prototype.hasOwnProperty.call(m, "default") ? m.default : m;
|
|
1909
1909
|
}
|
|
1910
1910
|
var le = { exports: {} }, Ao = le.exports, Te;
|
|
1911
1911
|
function Oo() {
|
|
1912
|
-
return Te || (Te = 1, function(
|
|
1912
|
+
return Te || (Te = 1, function(m, u) {
|
|
1913
1913
|
(function(n, i) {
|
|
1914
|
-
|
|
1914
|
+
m.exports = i(z);
|
|
1915
1915
|
})(Ao, function(n) {
|
|
1916
1916
|
function i(t) {
|
|
1917
1917
|
return t && typeof t == "object" && "default" in t ? t : { default: t };
|
|
@@ -1926,9 +1926,9 @@ function Oo() {
|
|
|
1926
1926
|
Oo();
|
|
1927
1927
|
var re = { exports: {} }, No = re.exports, ze;
|
|
1928
1928
|
function Io() {
|
|
1929
|
-
return ze || (ze = 1, function(
|
|
1929
|
+
return ze || (ze = 1, function(m, u) {
|
|
1930
1930
|
(function(n, i) {
|
|
1931
|
-
|
|
1931
|
+
m.exports = i(z);
|
|
1932
1932
|
})(No, function(n) {
|
|
1933
1933
|
function i(d) {
|
|
1934
1934
|
return d && typeof d == "object" && "default" in d ? d : { default: d };
|
|
@@ -1948,9 +1948,9 @@ function Io() {
|
|
|
1948
1948
|
Io();
|
|
1949
1949
|
var ne = { exports: {} }, Yo = ne.exports, Le;
|
|
1950
1950
|
function Po() {
|
|
1951
|
-
return Le || (Le = 1, function(
|
|
1951
|
+
return Le || (Le = 1, function(m, u) {
|
|
1952
1952
|
(function(n, i) {
|
|
1953
|
-
|
|
1953
|
+
m.exports = i();
|
|
1954
1954
|
})(Yo, function() {
|
|
1955
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
1956
|
var i = ["th", "st", "nd", "rd"], l = n % 100;
|
|
@@ -1962,9 +1962,9 @@ function Po() {
|
|
|
1962
1962
|
Po();
|
|
1963
1963
|
var ae = { exports: {} }, Fo = ae.exports, Ae;
|
|
1964
1964
|
function qo() {
|
|
1965
|
-
return Ae || (Ae = 1, function(
|
|
1965
|
+
return Ae || (Ae = 1, function(m, u) {
|
|
1966
1966
|
(function(n, i) {
|
|
1967
|
-
|
|
1967
|
+
m.exports = i(z);
|
|
1968
1968
|
})(Fo, function(n) {
|
|
1969
1969
|
function i(t) {
|
|
1970
1970
|
return t && typeof t == "object" && "default" in t ? t : { default: t };
|
|
@@ -1977,8 +1977,8 @@ function qo() {
|
|
|
1977
1977
|
}(ae)), ae.exports;
|
|
1978
1978
|
}
|
|
1979
1979
|
qo();
|
|
1980
|
-
const te = (
|
|
1981
|
-
const n =
|
|
1980
|
+
const te = (m, u) => {
|
|
1981
|
+
const n = m.__vccOpts || m;
|
|
1982
1982
|
for (const [i, l] of u)
|
|
1983
1983
|
n[i] = l;
|
|
1984
1984
|
return n;
|
|
@@ -2003,18 +2003,18 @@ const te = (p, u) => {
|
|
|
2003
2003
|
}
|
|
2004
2004
|
},
|
|
2005
2005
|
methods: {
|
|
2006
|
-
selectDate(
|
|
2006
|
+
selectDate(m, u) {
|
|
2007
2007
|
let n;
|
|
2008
2008
|
if (u === "previous") {
|
|
2009
2009
|
if (this.currentDate <= this.today) return;
|
|
2010
|
-
|
|
2010
|
+
m === "day" && (n = z(this.currentDate).subtract(1, "day")), m === "month" && (n = z(this.currentDate).subtract(1, "month")), m === "year" && (n = z(this.currentDate).subtract(1, "year")), n <= this.today && (n = this.currentDate = this.today);
|
|
2011
2011
|
}
|
|
2012
|
-
u === "next" && (
|
|
2012
|
+
u === "next" && (m === "day" && (n = z(this.selectedDate).add(1, "day")), m === "month" && (n = z(this.selectedDate).add(1, "month")), m === "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(
|
|
2017
|
-
const t =
|
|
2016
|
+
function Zo(m, u, n, i, l, o) {
|
|
2017
|
+
const t = De("ChevronLeftIcon"), r = De("ChevronRightIcon");
|
|
2018
2018
|
return s(), a("div", Ro, [
|
|
2019
2019
|
e("div", Uo, [
|
|
2020
2020
|
e("div", {
|
|
@@ -2024,9 +2024,9 @@ function Zo(p, u, n, i, l, o) {
|
|
|
2024
2024
|
}, "previousYear flex items-center p-1 rounded mx-0.5 shadow-sm"]),
|
|
2025
2025
|
onClick: u[0] || (u[0] = (d) => o.selectDate("year", "previous"))
|
|
2026
2026
|
}, [
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2027
|
+
p(t, { class: "h-4" }),
|
|
2028
|
+
p(t, { class: "h-4 -ml-3" }),
|
|
2029
|
+
p(t, { class: "h-4 -ml-3" })
|
|
2030
2030
|
], 2),
|
|
2031
2031
|
e("div", {
|
|
2032
2032
|
class: f([{
|
|
@@ -2035,8 +2035,8 @@ function Zo(p, u, n, i, l, o) {
|
|
|
2035
2035
|
}, "previousYear flex items-center p-1 rounded mx-0.5 shadow-sm"]),
|
|
2036
2036
|
onClick: u[1] || (u[1] = (d) => o.selectDate("month", "previous"))
|
|
2037
2037
|
}, [
|
|
2038
|
-
|
|
2039
|
-
|
|
2038
|
+
p(t, { class: "h-4" }),
|
|
2039
|
+
p(t, { class: "h-4 -ml-3" })
|
|
2040
2040
|
], 2),
|
|
2041
2041
|
e("div", {
|
|
2042
2042
|
class: f([{
|
|
@@ -2045,7 +2045,7 @@ function Zo(p, u, n, i, l, o) {
|
|
|
2045
2045
|
}, "previousYear flex items-center p-1 rounded mx-0.5 shadow-sm"]),
|
|
2046
2046
|
onClick: u[2] || (u[2] = (d) => o.selectDate("day", "previous"))
|
|
2047
2047
|
}, [
|
|
2048
|
-
|
|
2048
|
+
p(t, { class: "h-4" })
|
|
2049
2049
|
], 2)
|
|
2050
2050
|
]),
|
|
2051
2051
|
e("div", Ho, g(o.formatedDate), 1),
|
|
@@ -2054,22 +2054,22 @@ function Zo(p, u, n, i, l, o) {
|
|
|
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
2055
|
onClick: u[3] || (u[3] = (d) => o.selectDate("day", "next"))
|
|
2056
2056
|
}, [
|
|
2057
|
-
|
|
2057
|
+
p(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
2061
|
onClick: u[4] || (u[4] = (d) => o.selectDate("month", "next"))
|
|
2062
2062
|
}, [
|
|
2063
|
-
|
|
2064
|
-
|
|
2063
|
+
p(r, { class: "h-4" }),
|
|
2064
|
+
p(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
2068
|
onClick: u[5] || (u[5] = (d) => o.selectDate("year", "next"))
|
|
2069
2069
|
}, [
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
|
|
2070
|
+
p(r, { class: "h-4" }),
|
|
2071
|
+
p(r, { class: "h-4 -ml-3" }),
|
|
2072
|
+
p(r, { class: "h-4 -ml-3" })
|
|
2073
2073
|
])
|
|
2074
2074
|
])
|
|
2075
2075
|
]);
|
|
@@ -2077,7 +2077,7 @@ function Zo(p, u, n, i, l, o) {
|
|
|
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(
|
|
2080
|
+
function ol(m, u, n, i, l, o) {
|
|
2081
2081
|
return s(), a("div", Go, [
|
|
2082
2082
|
e("div", Ko, [
|
|
2083
2083
|
e("div", Qo, [
|
|
@@ -2158,9 +2158,9 @@ function ol(p, u, n, i, l, o) {
|
|
|
2158
2158
|
const tt = /* @__PURE__ */ te(Wo, [["render", ol]]);
|
|
2159
2159
|
var ie = { exports: {} }, ll = ie.exports, Oe;
|
|
2160
2160
|
function rl() {
|
|
2161
|
-
return Oe || (Oe = 1, function(
|
|
2161
|
+
return Oe || (Oe = 1, function(m, u) {
|
|
2162
2162
|
(function(n, i) {
|
|
2163
|
-
|
|
2163
|
+
m.exports = i();
|
|
2164
2164
|
})(ll, function() {
|
|
2165
2165
|
return function(n, i, l) {
|
|
2166
2166
|
i.prototype.isToday = function() {
|
|
@@ -2189,7 +2189,7 @@ 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(
|
|
2192
|
+
function gl(m, u, n, i, l, o) {
|
|
2193
2193
|
return s(), a("div", {
|
|
2194
2194
|
class: f([
|
|
2195
2195
|
"day select-none text-center",
|
|
@@ -2204,7 +2204,7 @@ function gl(p, u, n, i, l, o) {
|
|
|
2204
2204
|
e("p", cl, g(o.currentDay.month), 1)
|
|
2205
2205
|
], 2);
|
|
2206
2206
|
}
|
|
2207
|
-
const
|
|
2207
|
+
const pl = /* @__PURE__ */ te(il, [["render", gl]]), ml = {
|
|
2208
2208
|
name: "dayPrice",
|
|
2209
2209
|
props: {
|
|
2210
2210
|
currency: String,
|
|
@@ -2224,7 +2224,7 @@ const ml = /* @__PURE__ */ te(il, [["render", gl]]), pl = {
|
|
|
2224
2224
|
}
|
|
2225
2225
|
}
|
|
2226
2226
|
}, fl = { class: "priceDay" };
|
|
2227
|
-
function yl(
|
|
2227
|
+
function yl(m, u, n, i, l, o) {
|
|
2228
2228
|
return s(), a("div", fl, [
|
|
2229
2229
|
e("div", {
|
|
2230
2230
|
class: f([
|
|
@@ -2238,7 +2238,7 @@ function yl(p, u, n, i, l, o) {
|
|
|
2238
2238
|
}, g(o.currentDay.price) + g(n.currency), 3)
|
|
2239
2239
|
]);
|
|
2240
2240
|
}
|
|
2241
|
-
const oe = /* @__PURE__ */ te(
|
|
2241
|
+
const oe = /* @__PURE__ */ te(ml, [["render", yl]]), hl = {
|
|
2242
2242
|
key: 0,
|
|
2243
2243
|
class: "px-4 sm:px-6 lg:px-8"
|
|
2244
2244
|
}, vl = { class: "flow-root" }, bl = { class: "overflow-x-auto sm:-mx-6 lg:-mx-8 shadow ring-1 ring-black ring-opacity-5 sm:rounded-lg" }, wl = { class: "inline-block min-w-full align-middle" }, xl = { class: "min-w-full text-sm" }, kl = { class: "bg-white" }, $l = {
|
|
@@ -2255,7 +2255,7 @@ const oe = /* @__PURE__ */ te(pl, [["render", yl]]), hl = {
|
|
|
2255
2255
|
}, Bl = { key: 1 }, Ml = {
|
|
2256
2256
|
colspan: "6",
|
|
2257
2257
|
class: "pl-4"
|
|
2258
|
-
},
|
|
2258
|
+
}, jl = { key: 2 }, Dl = {
|
|
2259
2259
|
colspan: "6",
|
|
2260
2260
|
class: "pl-4"
|
|
2261
2261
|
}, Tl = {
|
|
@@ -2302,8 +2302,8 @@ const oe = /* @__PURE__ */ te(pl, [["render", yl]]), hl = {
|
|
|
2302
2302
|
literals: {}
|
|
2303
2303
|
},
|
|
2304
2304
|
emits: ["dateChanged", "changeCategoryBulkPrices", "changeCategorySelectionPrice", "changeCategoryUpgradePrice", "changeRoomPrice", "tableAction"],
|
|
2305
|
-
setup(
|
|
2306
|
-
const n =
|
|
2305
|
+
setup(m, { emit: u }) {
|
|
2306
|
+
const n = m, i = u, l = A(/* @__PURE__ */ new Date()), o = A(n.today), t = A([]);
|
|
2307
2307
|
R(() => n.today, (k) => {
|
|
2308
2308
|
o.value = k;
|
|
2309
2309
|
});
|
|
@@ -2330,7 +2330,7 @@ const oe = /* @__PURE__ */ te(pl, [["render", yl]]), hl = {
|
|
|
2330
2330
|
e("tbody", kl, [
|
|
2331
2331
|
e("tr", null, [
|
|
2332
2332
|
e("th", $l, [
|
|
2333
|
-
|
|
2333
|
+
p(Jo, {
|
|
2334
2334
|
selectedDate: o.value,
|
|
2335
2335
|
onDateSelected: P[0] || (P[0] = (N) => y(N))
|
|
2336
2336
|
}, null, 8, ["selectedDate"])
|
|
@@ -2340,7 +2340,7 @@ const oe = /* @__PURE__ */ te(pl, [["render", yl]]), hl = {
|
|
|
2340
2340
|
key: q,
|
|
2341
2341
|
class: "text-sm font-semibold text-gray-900 p-0"
|
|
2342
2342
|
}, [
|
|
2343
|
-
|
|
2343
|
+
p(pl, {
|
|
2344
2344
|
class: "border-l border-gray-200 px-6 py-3",
|
|
2345
2345
|
day: N
|
|
2346
2346
|
}, null, 8, ["day"])
|
|
@@ -2349,7 +2349,7 @@ const oe = /* @__PURE__ */ te(pl, [["render", yl]]), hl = {
|
|
|
2349
2349
|
e("tr", null, [
|
|
2350
2350
|
e("th", _l, [
|
|
2351
2351
|
e("span", null, g(k.literals.category) + " " + g(k.category.name), 1),
|
|
2352
|
-
|
|
2352
|
+
p(J, {
|
|
2353
2353
|
loading: k.loading,
|
|
2354
2354
|
class: "ml-4",
|
|
2355
2355
|
size: "small",
|
|
@@ -2368,7 +2368,7 @@ const oe = /* @__PURE__ */ te(pl, [["render", yl]]), hl = {
|
|
|
2368
2368
|
key: q,
|
|
2369
2369
|
class: "p-0"
|
|
2370
2370
|
}, [
|
|
2371
|
-
|
|
2371
|
+
p(oe, {
|
|
2372
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
2374
|
price: N,
|
|
@@ -2383,7 +2383,7 @@ const oe = /* @__PURE__ */ te(pl, [["render", yl]]), hl = {
|
|
|
2383
2383
|
key: q,
|
|
2384
2384
|
class: "p-0"
|
|
2385
2385
|
}, [
|
|
2386
|
-
|
|
2386
|
+
p(oe, {
|
|
2387
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
2389
|
price: N,
|
|
@@ -2392,13 +2392,13 @@ const oe = /* @__PURE__ */ te(pl, [["render", yl]]), hl = {
|
|
|
2392
2392
|
}, null, 8, ["onClick", "price", "currency"])
|
|
2393
2393
|
]))), 128))
|
|
2394
2394
|
])) : b("", !0),
|
|
2395
|
-
k.type === "prices" ? (s(), a("tr",
|
|
2396
|
-
e("td",
|
|
2395
|
+
k.type === "prices" ? (s(), a("tr", jl, [
|
|
2396
|
+
e("td", Dl, g(k.literals.pricesUpgrade), 1),
|
|
2397
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
|
+
p(oe, {
|
|
2402
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
2404
|
price: N,
|
|
@@ -2461,8 +2461,8 @@ const oe = /* @__PURE__ */ te(pl, [["render", yl]]), hl = {
|
|
|
2461
2461
|
class: "p-0",
|
|
2462
2462
|
key: Q
|
|
2463
2463
|
}, [
|
|
2464
|
-
|
|
2465
|
-
onClick: (
|
|
2464
|
+
p(oe, {
|
|
2465
|
+
onClick: (Yd) => 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,8 +2502,8 @@ const oe = /* @__PURE__ */ te(pl, [["render", yl]]), hl = {
|
|
|
2502
2502
|
annotations: {}
|
|
2503
2503
|
},
|
|
2504
2504
|
emits: ["selectedRange", "chartUpdated", "dataPointSelection", "maximizeChart"],
|
|
2505
|
-
setup(
|
|
2506
|
-
const n = u, i = A((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":"))), l =
|
|
2505
|
+
setup(m, { emit: u }) {
|
|
2506
|
+
const n = u, i = A((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":"))), l = m;
|
|
2507
2507
|
let o = ce(l.dates || { from: "", to: i });
|
|
2508
2508
|
R(() => l.dates, (S) => {
|
|
2509
2509
|
S && (o = S);
|
|
@@ -2576,13 +2576,13 @@ const oe = /* @__PURE__ */ te(pl, [["render", yl]]), hl = {
|
|
|
2576
2576
|
e("div", El, [
|
|
2577
2577
|
e("div", Zl, g(S.title), 1),
|
|
2578
2578
|
S.isNps && S.npsLiterals ? (s(), a("div", Jl, [
|
|
2579
|
-
|
|
2579
|
+
p(U, {
|
|
2580
2580
|
size: "small",
|
|
2581
2581
|
color: "red",
|
|
2582
2582
|
loading: !1
|
|
2583
2583
|
}, {
|
|
2584
2584
|
default: v(() => [
|
|
2585
|
-
|
|
2585
|
+
p(D, {
|
|
2586
2586
|
icon: c(Lt),
|
|
2587
2587
|
loading: !1,
|
|
2588
2588
|
color: "red"
|
|
@@ -2591,13 +2591,13 @@ const oe = /* @__PURE__ */ te(pl, [["render", yl]]), hl = {
|
|
|
2591
2591
|
]),
|
|
2592
2592
|
_: 1
|
|
2593
2593
|
}),
|
|
2594
|
-
|
|
2594
|
+
p(U, {
|
|
2595
2595
|
size: "small",
|
|
2596
2596
|
color: "yellow",
|
|
2597
2597
|
loading: !1
|
|
2598
2598
|
}, {
|
|
2599
2599
|
default: v(() => [
|
|
2600
|
-
|
|
2600
|
+
p(D, {
|
|
2601
2601
|
icon: c(zt),
|
|
2602
2602
|
loading: !1,
|
|
2603
2603
|
color: "yellow"
|
|
@@ -2606,13 +2606,13 @@ const oe = /* @__PURE__ */ te(pl, [["render", yl]]), hl = {
|
|
|
2606
2606
|
]),
|
|
2607
2607
|
_: 1
|
|
2608
2608
|
}),
|
|
2609
|
-
|
|
2609
|
+
p(U, {
|
|
2610
2610
|
size: "small",
|
|
2611
2611
|
color: "green",
|
|
2612
2612
|
loading: !1
|
|
2613
2613
|
}, {
|
|
2614
2614
|
default: v(() => [
|
|
2615
|
-
|
|
2615
|
+
p(D, {
|
|
2616
2616
|
icon: c(At),
|
|
2617
2617
|
loading: !1,
|
|
2618
2618
|
color: "green"
|
|
@@ -2649,7 +2649,7 @@ const oe = /* @__PURE__ */ te(pl, [["render", yl]]), hl = {
|
|
|
2649
2649
|
[X, c(o).to]
|
|
2650
2650
|
])
|
|
2651
2651
|
]),
|
|
2652
|
-
|
|
2652
|
+
p(D, {
|
|
2653
2653
|
class: "ml-4 cursor-pointer",
|
|
2654
2654
|
size: "big",
|
|
2655
2655
|
loading: S.loading,
|
|
@@ -2659,7 +2659,7 @@ const oe = /* @__PURE__ */ te(pl, [["render", yl]]), hl = {
|
|
|
2659
2659
|
])
|
|
2660
2660
|
]),
|
|
2661
2661
|
C(e("div", or, [
|
|
2662
|
-
|
|
2662
|
+
p(c(Be), {
|
|
2663
2663
|
class: "chart",
|
|
2664
2664
|
type: S.type,
|
|
2665
2665
|
series: h.value,
|
|
@@ -2670,12 +2670,12 @@ const oe = /* @__PURE__ */ te(pl, [["render", yl]]), hl = {
|
|
|
2670
2670
|
onDataPointSelection: O
|
|
2671
2671
|
}, null, 8, ["type", "series", "height", "options"])
|
|
2672
2672
|
], 512), [
|
|
2673
|
-
[
|
|
2673
|
+
[j, !S.empty]
|
|
2674
2674
|
]),
|
|
2675
2675
|
C(e("div", {
|
|
2676
2676
|
class: f(["h-[" + S.height + "px]", "w-full flex items-center justify-center flex-col"])
|
|
2677
2677
|
}, [
|
|
2678
|
-
|
|
2678
|
+
p(D, {
|
|
2679
2679
|
icon: c(H),
|
|
2680
2680
|
color: "gray",
|
|
2681
2681
|
loading: !1,
|
|
@@ -2683,10 +2683,10 @@ const oe = /* @__PURE__ */ te(pl, [["render", yl]]), hl = {
|
|
|
2683
2683
|
}, null, 8, ["icon"]),
|
|
2684
2684
|
M[3] || (M[3] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data for this time frame", -1))
|
|
2685
2685
|
], 2), [
|
|
2686
|
-
[
|
|
2686
|
+
[j, S.empty]
|
|
2687
2687
|
])
|
|
2688
2688
|
], 2), [
|
|
2689
|
-
[
|
|
2689
|
+
[j, !S.loading]
|
|
2690
2690
|
]),
|
|
2691
2691
|
C(e("div", {
|
|
2692
2692
|
class: f(["h-[" + S.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80"])
|
|
@@ -2717,14 +2717,14 @@ const oe = /* @__PURE__ */ te(pl, [["render", yl]]), hl = {
|
|
|
2717
2717
|
])
|
|
2718
2718
|
], -1)
|
|
2719
2719
|
]), 2), [
|
|
2720
|
-
[
|
|
2720
|
+
[j, S.loading]
|
|
2721
2721
|
])
|
|
2722
2722
|
], 64));
|
|
2723
2723
|
}
|
|
2724
2724
|
}), rr = {
|
|
2725
2725
|
name: "uiFooter"
|
|
2726
2726
|
}, nr = { class: "bg-white" };
|
|
2727
|
-
function ar(
|
|
2727
|
+
function ar(m, u, n, i, l, o) {
|
|
2728
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" }, [
|
|
@@ -2740,7 +2740,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
2740
2740
|
message: {},
|
|
2741
2741
|
fixed: { type: Boolean, default: !0 }
|
|
2742
2742
|
},
|
|
2743
|
-
setup(
|
|
2743
|
+
setup(m) {
|
|
2744
2744
|
return (u, n) => (s(), a("div", {
|
|
2745
2745
|
class: f([
|
|
2746
2746
|
{ fixed: u.fixed },
|
|
@@ -2754,10 +2754,10 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
2754
2754
|
})
|
|
2755
2755
|
], -1)),
|
|
2756
2756
|
C(e("h2", { class: "text-xs font-bold text-center uppercase mb-2" }, g(u.title), 513), [
|
|
2757
|
-
[
|
|
2757
|
+
[j, u.title]
|
|
2758
2758
|
]),
|
|
2759
2759
|
C(e("p", { class: "text-xs text-center uppercase md:w-1/4" }, g(u.message), 513), [
|
|
2760
|
-
[
|
|
2760
|
+
[j, u.message]
|
|
2761
2761
|
])
|
|
2762
2762
|
], 2));
|
|
2763
2763
|
}
|
|
@@ -2767,10 +2767,10 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
2767
2767
|
}, cr = { class: "flex-1 flex justify-between sm:hidden" }, gr = {
|
|
2768
2768
|
href: "#",
|
|
2769
2769
|
class: "relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50"
|
|
2770
|
-
},
|
|
2770
|
+
}, pr = {
|
|
2771
2771
|
href: "#",
|
|
2772
2772
|
class: "ml-3 relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50"
|
|
2773
|
-
},
|
|
2773
|
+
}, mr = { class: "hidden sm:flex-1 sm:flex sm:items-center sm:justify-between" }, fr = { class: "text-sm text-gray-700" }, yr = { class: "font-bold mx-1" }, hr = { class: "font-bold mx-1" }, vr = {
|
|
2774
2774
|
class: "relative z-0 inline-flex rounded-md shadow-sm -space-x-px",
|
|
2775
2775
|
"aria-label": "Pagination"
|
|
2776
2776
|
}, br = { class: "sr-only" }, wr = ["onClick"], xr = { class: "sr-only" }, kr = {
|
|
@@ -2784,8 +2784,8 @@ 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(
|
|
2788
|
-
const n = u, i =
|
|
2787
|
+
setup(m, { emit: u }) {
|
|
2788
|
+
const n = u, i = m, l = A(3), o = Y(
|
|
2789
2789
|
() => Math.max(1, Number(i.current) - Number(l.value))
|
|
2790
2790
|
), t = Y(
|
|
2791
2791
|
() => Math.min(Number(i.current) + Number(l.value), Number(i.total))
|
|
@@ -2803,11 +2803,11 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
2803
2803
|
e("a", gr, [
|
|
2804
2804
|
V(d.$slots, "previous")
|
|
2805
2805
|
]),
|
|
2806
|
-
e("a",
|
|
2806
|
+
e("a", pr, [
|
|
2807
2807
|
V(d.$slots, "next")
|
|
2808
2808
|
])
|
|
2809
2809
|
]),
|
|
2810
|
-
e("div",
|
|
2810
|
+
e("div", mr, [
|
|
2811
2811
|
e("div", null, [
|
|
2812
2812
|
e("p", fr, [
|
|
2813
2813
|
V(d.$slots, "showing"),
|
|
@@ -2826,12 +2826,12 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
2826
2826
|
e("span", br, [
|
|
2827
2827
|
V(d.$slots, "previous")
|
|
2828
2828
|
]),
|
|
2829
|
-
|
|
2829
|
+
p(c(Ge), {
|
|
2830
2830
|
class: "h-5 w-5",
|
|
2831
2831
|
"aria-hidden": "true"
|
|
2832
2832
|
})
|
|
2833
2833
|
], 512), [
|
|
2834
|
-
[
|
|
2834
|
+
[j, d.current !== 1]
|
|
2835
2835
|
]),
|
|
2836
2836
|
(s(!0), a($, null, _(r.value, (h) => (s(), a("button", {
|
|
2837
2837
|
onClick: (w) => n("changePage", h),
|
|
@@ -2849,12 +2849,12 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
2849
2849
|
e("span", xr, [
|
|
2850
2850
|
V(d.$slots, "next")
|
|
2851
2851
|
]),
|
|
2852
|
-
|
|
2852
|
+
p(c(ee), {
|
|
2853
2853
|
class: "h-5 w-5",
|
|
2854
2854
|
"aria-hidden": "true"
|
|
2855
2855
|
})
|
|
2856
2856
|
], 512), [
|
|
2857
|
-
[
|
|
2857
|
+
[j, d.current !== d.total]
|
|
2858
2858
|
])
|
|
2859
2859
|
])
|
|
2860
2860
|
])
|
|
@@ -2864,7 +2864,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
2864
2864
|
}), _r = { class: "hidden md:flex md:flex-col sticky md:inset-y-0" }, Cr = { class: "flex flex-col flex-grow overflow-y-auto" }, Sr = { class: "grow flex flex-col" }, Br = {
|
|
2865
2865
|
class: "flex-1 space-y-1",
|
|
2866
2866
|
"aria-label": "Sidebar"
|
|
2867
|
-
}, Mr = { key: 0 },
|
|
2867
|
+
}, Mr = { key: 0 }, jr = ["onClick"], Dr = {
|
|
2868
2868
|
key: 1,
|
|
2869
2869
|
class: "text-left"
|
|
2870
2870
|
}, Tr = {
|
|
@@ -2889,8 +2889,8 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
2889
2889
|
logo: {}
|
|
2890
2890
|
},
|
|
2891
2891
|
emits: ["sideBarClick"],
|
|
2892
|
-
setup(
|
|
2893
|
-
const n =
|
|
2892
|
+
setup(m, { emit: u }) {
|
|
2893
|
+
const n = m, i = u, l = Y(() => n.navigation ? Array.isArray(n.navigation) ? n.navigation : [n.navigation] : []);
|
|
2894
2894
|
return (o, t) => (s(), a("div", _r, [
|
|
2895
2895
|
e("div", Cr, [
|
|
2896
2896
|
e("div", Sr, [
|
|
@@ -2907,11 +2907,11 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
2907
2907
|
class: "space-y-1"
|
|
2908
2908
|
}, {
|
|
2909
2909
|
default: v(({ open: d }) => [
|
|
2910
|
-
|
|
2910
|
+
p(c(Z), {
|
|
2911
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
|
-
r.icon ? (s(), x(
|
|
2914
|
+
r.icon ? (s(), x(D, {
|
|
2915
2915
|
key: 0,
|
|
2916
2916
|
loading: o.loading,
|
|
2917
2917
|
icon: r.icon,
|
|
@@ -2924,13 +2924,13 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
2924
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
2926
|
]))) : (s(), a("span", Tr, g(r.name), 1)),
|
|
2927
|
-
|
|
2927
|
+
p(c(ee), {
|
|
2928
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
|
+
p(c(Se), { class: "space-y-1" }, {
|
|
2934
2934
|
default: v(() => [
|
|
2935
2935
|
(s(!0), a($, null, _(r.children, (y) => (s(), x(c(Z), {
|
|
2936
2936
|
onClick: (h) => i("sideBarClick", y.id),
|
|
@@ -2955,7 +2955,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
2955
2955
|
"group w-full flex items-center pl-2 py-2 text-sm font-medium rounded-md"
|
|
2956
2956
|
])
|
|
2957
2957
|
}, [
|
|
2958
|
-
r.icon ? (s(), x(
|
|
2958
|
+
r.icon ? (s(), x(D, {
|
|
2959
2959
|
key: 0,
|
|
2960
2960
|
loading: o.loading,
|
|
2961
2961
|
icon: r.icon,
|
|
@@ -2965,8 +2965,8 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
2965
2965
|
]),
|
|
2966
2966
|
"aria-hidden": "true"
|
|
2967
2967
|
}, null, 8, ["loading", "icon", "class"])) : b("", !0),
|
|
2968
|
-
o.loading ? b("", !0) : (s(), a("span",
|
|
2969
|
-
], 10,
|
|
2968
|
+
o.loading ? b("", !0) : (s(), a("span", Dr, g(r.name), 1))
|
|
2969
|
+
], 10, jr)
|
|
2970
2970
|
]))
|
|
2971
2971
|
], 64))), 128))
|
|
2972
2972
|
])
|
|
@@ -3002,8 +3002,8 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3002
3002
|
productsSidebar: {}
|
|
3003
3003
|
},
|
|
3004
3004
|
emits: ["productBarClick", "sideBarClick"],
|
|
3005
|
-
setup(
|
|
3006
|
-
const n =
|
|
3005
|
+
setup(m, { emit: u }) {
|
|
3006
|
+
const n = m, i = Y(() => n.navigation ? Array.isArray(n.navigation) ? n.navigation : [n.navigation] : []);
|
|
3007
3007
|
return (l, o) => (s(), a("div", Ir, [
|
|
3008
3008
|
e("div", Yr, [
|
|
3009
3009
|
e("ul", null, [
|
|
@@ -3012,7 +3012,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
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
3013
|
onClick: (d) => l.$emit("productBarClick", t.name)
|
|
3014
3014
|
}, [
|
|
3015
|
-
|
|
3015
|
+
p(D, {
|
|
3016
3016
|
icon: t.icon,
|
|
3017
3017
|
loading: !1,
|
|
3018
3018
|
color: "white",
|
|
@@ -3049,12 +3049,12 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3049
3049
|
as: "div"
|
|
3050
3050
|
}, {
|
|
3051
3051
|
default: v(() => [
|
|
3052
|
-
|
|
3052
|
+
p(c(Z), {
|
|
3053
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(() => [
|
|
3057
|
-
|
|
3057
|
+
p(D, {
|
|
3058
3058
|
icon: t.icon,
|
|
3059
3059
|
color: "primary",
|
|
3060
3060
|
size: "big",
|
|
@@ -3063,7 +3063,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3063
3063
|
class: "shrink-0"
|
|
3064
3064
|
}, null, 8, ["icon"]),
|
|
3065
3065
|
T(" " + g(t.name) + " ", 1),
|
|
3066
|
-
|
|
3066
|
+
p(c(ee), {
|
|
3067
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"])
|
|
@@ -3071,7 +3071,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3071
3071
|
_: 2
|
|
3072
3072
|
}, 1032, ["onClick", "class"]),
|
|
3073
3073
|
C(e("div", null, [
|
|
3074
|
-
|
|
3074
|
+
p(c(Se), {
|
|
3075
3075
|
as: "ul",
|
|
3076
3076
|
class: "mt-1 px-2",
|
|
3077
3077
|
static: ""
|
|
@@ -3080,7 +3080,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3080
3080
|
(s(!0), a($, null, _(t.children, (r) => (s(), a("li", {
|
|
3081
3081
|
key: r.name
|
|
3082
3082
|
}, [
|
|
3083
|
-
|
|
3083
|
+
p(c(Z), {
|
|
3084
3084
|
as: "a",
|
|
3085
3085
|
onClick: (d) => l.$emit("sideBarClick", r.id),
|
|
3086
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"])
|
|
@@ -3095,7 +3095,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3095
3095
|
_: 2
|
|
3096
3096
|
}, 1024)
|
|
3097
3097
|
], 512), [
|
|
3098
|
-
[
|
|
3098
|
+
[j, t.children.some((r) => r.current) || t.current]
|
|
3099
3099
|
])
|
|
3100
3100
|
]),
|
|
3101
3101
|
_: 2
|
|
@@ -3104,7 +3104,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3104
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
|
+
p(D, {
|
|
3108
3108
|
icon: t.icon,
|
|
3109
3109
|
color: "primary",
|
|
3110
3110
|
size: "big",
|
|
@@ -3160,12 +3160,12 @@ 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(
|
|
3163
|
+
setup(m, { emit: u }) {
|
|
3164
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
|
+
p(D, {
|
|
3169
3169
|
loading: n.loading,
|
|
3170
3170
|
icon: n.item.icon,
|
|
3171
3171
|
class: "h-6 w-6 text-white",
|
|
@@ -3194,7 +3194,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3194
3194
|
"bg-cyan-300": n.item.color === "secondary"
|
|
3195
3195
|
}])
|
|
3196
3196
|
}, [
|
|
3197
|
-
|
|
3197
|
+
p(D, {
|
|
3198
3198
|
icon: n.item.icon,
|
|
3199
3199
|
class: "h-6 w-6 text-white",
|
|
3200
3200
|
"aria-hidden": "true",
|
|
@@ -3217,7 +3217,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3217
3217
|
"ml-2 flex items-baseline text-sm font-semibold"
|
|
3218
3218
|
])
|
|
3219
3219
|
}, [
|
|
3220
|
-
n.item.changeType === "increase" ? (s(), x(c(
|
|
3220
|
+
n.item.changeType === "increase" ? (s(), x(c(jt), {
|
|
3221
3221
|
key: 0,
|
|
3222
3222
|
class: "self-center flex-shrink-0 h-3 w-3 text-green-500",
|
|
3223
3223
|
"aria-hidden": "true"
|
|
@@ -3237,7 +3237,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3237
3237
|
}, g(n.item.actionText), 1)
|
|
3238
3238
|
])
|
|
3239
3239
|
], 512), [
|
|
3240
|
-
[
|
|
3240
|
+
[j, n.item.showFooter]
|
|
3241
3241
|
])
|
|
3242
3242
|
])
|
|
3243
3243
|
], 2)
|
|
@@ -3246,7 +3246,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3246
3246
|
}), an = {
|
|
3247
3247
|
key: 0,
|
|
3248
3248
|
class: "overflow-hidden bg-white shadow sm:rounded-lg"
|
|
3249
|
-
}, dn = { class: "px-4 py-5 sm:px-6" }, un = { class: "text-lg font-medium leading-6 text-gray-900" }, cn = { class: "mt-1 max-w-2xl text-sm text-gray-500" }, gn = { class: "border-t border-gray-200" },
|
|
3249
|
+
}, dn = { class: "px-4 py-5 sm:px-6" }, un = { class: "text-lg font-medium leading-6 text-gray-900" }, cn = { class: "mt-1 max-w-2xl text-sm text-gray-500" }, gn = { class: "border-t border-gray-200" }, pn = { class: "text-sm font-medium text-gray-500" }, mn = {
|
|
3250
3250
|
key: 0,
|
|
3251
3251
|
class: "mt-1 text-sm text-gray-900 sm:col-span-2 sm:mt-0 break-normal"
|
|
3252
3252
|
}, fn = ["onClick"], yn = {
|
|
@@ -3264,7 +3264,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3264
3264
|
loading: { type: Boolean, default: !0 }
|
|
3265
3265
|
},
|
|
3266
3266
|
emits: ["itemClicked"],
|
|
3267
|
-
setup(
|
|
3267
|
+
setup(m) {
|
|
3268
3268
|
return (u, n) => u.loading ? (s(), a("div", hn, [
|
|
3269
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, [
|
|
@@ -3293,8 +3293,8 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3293
3293
|
key: l,
|
|
3294
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",
|
|
3297
|
-
i.type === "tags" ? (s(), a("dd",
|
|
3296
|
+
e("dt", pn, g(i.title), 1),
|
|
3297
|
+
i.type === "tags" ? (s(), a("dd", mn, [
|
|
3298
3298
|
(s(!0), a($, null, _(i.tags, (o, t) => (s(), x(U, {
|
|
3299
3299
|
loading: u.loading,
|
|
3300
3300
|
key: t,
|
|
@@ -3324,7 +3324,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3324
3324
|
required: !0
|
|
3325
3325
|
}
|
|
3326
3326
|
},
|
|
3327
|
-
setup(
|
|
3327
|
+
setup(m) {
|
|
3328
3328
|
return (u, n) => (s(), a("div", wn, [
|
|
3329
3329
|
n[0] || (n[0] = e("svg", {
|
|
3330
3330
|
class: "absolute -top-3 left-0",
|
|
@@ -3342,20 +3342,20 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3342
3342
|
})
|
|
3343
3343
|
], -1)),
|
|
3344
3344
|
e("div", null, [
|
|
3345
|
-
|
|
3345
|
+
p(D, {
|
|
3346
3346
|
icon: c(It),
|
|
3347
3347
|
loading: !1,
|
|
3348
3348
|
color: "white",
|
|
3349
3349
|
size: "big"
|
|
3350
3350
|
}, null, 8, ["icon"])
|
|
3351
3351
|
]),
|
|
3352
|
-
e("span", xn, g(
|
|
3352
|
+
e("span", xn, g(m.tip), 1)
|
|
3353
3353
|
]));
|
|
3354
3354
|
}
|
|
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
|
-
},
|
|
3358
|
+
}, jn = ["onClick"], Dn = { 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
3361
|
}, Nn = { class: "divide-y divide-gray-200 bg-white" }, In = {
|
|
@@ -3373,9 +3373,9 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3373
3373
|
actions: {}
|
|
3374
3374
|
},
|
|
3375
3375
|
emits: ["tableAction", "orderBy", "customEmit", "selectedItemsDeleted"],
|
|
3376
|
-
setup(
|
|
3376
|
+
setup(m, { emit: u }) {
|
|
3377
3377
|
let n = A([]), i = A(""), l = A(!1);
|
|
3378
|
-
const o = u, t =
|
|
3378
|
+
const o = u, t = m, r = Y(
|
|
3379
3379
|
() => n.value.length > 0 && n.value.length < t.items.length
|
|
3380
3380
|
), d = (w, L) => {
|
|
3381
3381
|
i.value !== w && L && (i.value = w), L || (i.value = void 0);
|
|
@@ -3399,9 +3399,9 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
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"
|
|
3402
|
-
}, g(M.name), 9,
|
|
3402
|
+
}, g(M.name), 9, jn))), 128))
|
|
3403
3403
|
])) : b("", !0),
|
|
3404
|
-
e("table",
|
|
3404
|
+
e("table", Dn, [
|
|
3405
3405
|
e("thead", Tn, [
|
|
3406
3406
|
e("tr", null, [
|
|
3407
3407
|
e("th", {
|
|
@@ -3428,7 +3428,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3428
3428
|
key: 0,
|
|
3429
3429
|
tip: M.tooltip
|
|
3430
3430
|
}, null, 8, ["tip"])), [
|
|
3431
|
-
[
|
|
3431
|
+
[j, c(i) === M.name]
|
|
3432
3432
|
]) : b("", !0),
|
|
3433
3433
|
M.value ? (s(), a("button", {
|
|
3434
3434
|
key: 1,
|
|
@@ -3441,7 +3441,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3441
3441
|
M.value === w.orderedBy ? "bg-indigo-600 text-white group-hover:bg-gray-300" : "text-gray-400 group-hover:visible group-focus:visible"
|
|
3442
3442
|
], "ml-2 flex-none rounded group-hover:bg-indigo-200 group-hover:text-white"])
|
|
3443
3443
|
}, [
|
|
3444
|
-
|
|
3444
|
+
p(D, {
|
|
3445
3445
|
icon: w.orderDirection === "asc" ? c(de) : c(Ke),
|
|
3446
3446
|
loading: w.loading,
|
|
3447
3447
|
color: M.value === w.orderedBy ? "white" : "primary"
|
|
@@ -3523,7 +3523,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3523
3523
|
tabs: {}
|
|
3524
3524
|
},
|
|
3525
3525
|
emits: ["tabClicked"],
|
|
3526
|
-
setup(
|
|
3526
|
+
setup(m, { emit: u }) {
|
|
3527
3527
|
const n = u, i = (l) => {
|
|
3528
3528
|
const o = l.target;
|
|
3529
3529
|
o.value && n("tabClicked", o.value);
|
|
@@ -3580,11 +3580,11 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3580
3580
|
class: "bg-gray-50 px-4 py-4 sm:px-6 z-10"
|
|
3581
3581
|
}, da = { class: "text-sm" }, ua = {
|
|
3582
3582
|
key: 2,
|
|
3583
|
-
class: "h-full w-full flex items-center justify-center flex-col
|
|
3583
|
+
class: "h-full w-full flex items-center justify-center flex-col px-4 py-5 sm:p-6"
|
|
3584
3584
|
}, ca = {
|
|
3585
3585
|
key: 1,
|
|
3586
3586
|
class: "bg-white overflow-hidden shadow rounded-lg"
|
|
3587
|
-
}, ga = { class: "px-4 py-5 sm:p-6 animate-pulse" },
|
|
3587
|
+
}, ga = { class: "px-4 py-5 sm:p-6 animate-pulse" }, pa = { class: "flow-root" }, ma = {
|
|
3588
3588
|
class: "-mb-8",
|
|
3589
3589
|
role: "list"
|
|
3590
3590
|
}, fa = { class: "relative pb-8" }, ya = {
|
|
@@ -3601,8 +3601,8 @@ 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(
|
|
3605
|
-
const i = ce(
|
|
3604
|
+
setup(m, { emit: u }) {
|
|
3605
|
+
const i = ce(m.timeline);
|
|
3606
3606
|
return (l, o) => l.loading ? (s(), a("div", ca, [
|
|
3607
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" }, [
|
|
@@ -3610,8 +3610,8 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3610
3610
|
])
|
|
3611
3611
|
], -1)),
|
|
3612
3612
|
e("div", ga, [
|
|
3613
|
-
e("div",
|
|
3614
|
-
e("ul",
|
|
3613
|
+
e("div", pa, [
|
|
3614
|
+
e("ul", ma, [
|
|
3615
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),
|
|
@@ -3633,9 +3633,9 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3633
3633
|
e("div", Gn, [
|
|
3634
3634
|
e("h1", Kn, g(l.name), 1)
|
|
3635
3635
|
]),
|
|
3636
|
-
i.items ? (s(), a("div", Qn, [
|
|
3636
|
+
i.items.length > 0 ? (s(), a("div", Qn, [
|
|
3637
3637
|
e("div", Xn, [
|
|
3638
|
-
|
|
3638
|
+
p(rt, {
|
|
3639
3639
|
name: "list",
|
|
3640
3640
|
tag: "ul",
|
|
3641
3641
|
class: "-mb-8"
|
|
@@ -3647,9 +3647,14 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3647
3647
|
e("div", sa, [
|
|
3648
3648
|
e("div", null, [
|
|
3649
3649
|
e("span", {
|
|
3650
|
-
class: f([
|
|
3650
|
+
class: f([{
|
|
3651
|
+
"bg-indigo-600": (t == null ? void 0 : t.iconBackground) === "default" || !(t != null && t.iconBackground),
|
|
3652
|
+
"bg-red-400": (t == null ? void 0 : t.iconBackground) === "danger",
|
|
3653
|
+
"bg-yellow-400": (t == null ? void 0 : t.iconBackground) === "warning",
|
|
3654
|
+
"bg-green-400": (t == null ? void 0 : t.iconBackground) === "success"
|
|
3655
|
+
}, "h-8 w-8 rounded-full flex items-center justify-center ring-4 ring-white"])
|
|
3651
3656
|
}, [
|
|
3652
|
-
|
|
3657
|
+
p(D, {
|
|
3653
3658
|
loading: l.loading,
|
|
3654
3659
|
icon: t == null ? void 0 : t.icon,
|
|
3655
3660
|
"aria-hidden": "true",
|
|
@@ -3682,7 +3687,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3682
3687
|
})
|
|
3683
3688
|
])
|
|
3684
3689
|
])) : b("", !0),
|
|
3685
|
-
i.items ? (s(), a("div", ia, [
|
|
3690
|
+
i.items.length > 0 ? (s(), a("div", ia, [
|
|
3686
3691
|
e("div", da, [
|
|
3687
3692
|
e("a", {
|
|
3688
3693
|
class: "cursor-pointer font-medium text-indigo-600 hover:text-indigo-500",
|
|
@@ -3690,7 +3695,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3690
3695
|
}, g(l.timeline.footerText), 1)
|
|
3691
3696
|
])
|
|
3692
3697
|
])) : (s(), a("div", ua, [
|
|
3693
|
-
|
|
3698
|
+
p(D, {
|
|
3694
3699
|
icon: c(H),
|
|
3695
3700
|
color: "gray",
|
|
3696
3701
|
loading: !1,
|
|
@@ -3700,7 +3705,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3700
3705
|
]))
|
|
3701
3706
|
], 2));
|
|
3702
3707
|
}
|
|
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" },
|
|
3708
|
+
}), 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" }, ja = ["onClick"], Da = { 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
3709
|
key: 0,
|
|
3705
3710
|
class: "ml-3"
|
|
3706
3711
|
}, 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({
|
|
@@ -3714,8 +3719,8 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3714
3719
|
navigation: {}
|
|
3715
3720
|
},
|
|
3716
3721
|
emits: ["topBarClick"],
|
|
3717
|
-
setup(
|
|
3718
|
-
const n =
|
|
3722
|
+
setup(m, { emit: u }) {
|
|
3723
|
+
const n = m, i = Y(() => n.navigation ? Array.isArray(n.navigation) ? n.navigation : [n.navigation] : []);
|
|
3719
3724
|
return (l, o) => (s(), x(c(Ce), {
|
|
3720
3725
|
as: "nav",
|
|
3721
3726
|
class: "bg-white shadow z-10"
|
|
@@ -3725,7 +3730,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3725
3730
|
e("div", ba, [
|
|
3726
3731
|
e("div", wa, [
|
|
3727
3732
|
e("div", xa, [
|
|
3728
|
-
|
|
3733
|
+
p(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
3734
|
default: v(() => [
|
|
3730
3735
|
o[1] || (o[1] = e("span", { class: "sr-only" }, "Open main menu", -1)),
|
|
3731
3736
|
t ? (s(), x(c(W), {
|
|
@@ -3755,18 +3760,18 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3755
3760
|
]),
|
|
3756
3761
|
e("div", $a, [
|
|
3757
3762
|
e("div", _a, [
|
|
3758
|
-
|
|
3763
|
+
p(c(ve), {
|
|
3759
3764
|
as: "div",
|
|
3760
3765
|
class: "ml-3 relative"
|
|
3761
3766
|
}, {
|
|
3762
3767
|
default: v(() => [
|
|
3763
3768
|
e("div", null, [
|
|
3764
|
-
C(
|
|
3769
|
+
C(p(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
3770
|
default: v(() => [
|
|
3766
3771
|
C(e("div", Ca, o[2] || (o[2] = [
|
|
3767
3772
|
e("span", { class: "animate-ping absolute inline-flex h-4 w-4 bg-red-500 rounded-full opacity-75" }, null, -1)
|
|
3768
3773
|
]), 512), [
|
|
3769
|
-
[
|
|
3774
|
+
[j, l.alerted]
|
|
3770
3775
|
]),
|
|
3771
3776
|
e("img", {
|
|
3772
3777
|
class: "h-10 w-10 rounded-full",
|
|
@@ -3775,10 +3780,10 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3775
3780
|
]),
|
|
3776
3781
|
_: 1
|
|
3777
3782
|
}, 512), [
|
|
3778
|
-
[
|
|
3783
|
+
[j, l.accountLogo]
|
|
3779
3784
|
])
|
|
3780
3785
|
]),
|
|
3781
|
-
|
|
3786
|
+
p(ue, {
|
|
3782
3787
|
"enter-active-class": "transition ease-out duration-200",
|
|
3783
3788
|
"enter-from-class": "transform opacity-0 scale-95",
|
|
3784
3789
|
"enter-to-class": "transform opacity-100 scale-100",
|
|
@@ -3787,7 +3792,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3787
3792
|
"leave-to-class": "transform opacity-0 scale-95"
|
|
3788
3793
|
}, {
|
|
3789
3794
|
default: v(() => [
|
|
3790
|
-
|
|
3795
|
+
p(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
3796
|
default: v(() => [
|
|
3792
3797
|
(s(!0), a($, null, _(l.profileMenu, (r) => (s(), x(c(xe), {
|
|
3793
3798
|
key: r.name
|
|
@@ -3816,7 +3821,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3816
3821
|
])
|
|
3817
3822
|
])
|
|
3818
3823
|
]),
|
|
3819
|
-
|
|
3824
|
+
p(c(Se), { class: "lg:hidden" }, {
|
|
3820
3825
|
default: v(() => [
|
|
3821
3826
|
e("div", Ma, [
|
|
3822
3827
|
(s(!0), a($, null, _(i.value, (r) => (s(), x(c(Z), {
|
|
@@ -3830,12 +3835,12 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3830
3835
|
default: v(() => [
|
|
3831
3836
|
e("p", {
|
|
3832
3837
|
onClick: (d) => l.$emit("topBarClick", r.id)
|
|
3833
|
-
}, g(r.name), 9,
|
|
3838
|
+
}, g(r.name), 9, ja)
|
|
3834
3839
|
]),
|
|
3835
3840
|
_: 2
|
|
3836
3841
|
}, 1032, ["class"]))), 128))
|
|
3837
3842
|
]),
|
|
3838
|
-
e("div",
|
|
3843
|
+
e("div", Da, [
|
|
3839
3844
|
e("div", Ta, [
|
|
3840
3845
|
e("div", za, [
|
|
3841
3846
|
e("img", {
|
|
@@ -3874,8 +3879,8 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3874
3879
|
__name: "RangeSelector",
|
|
3875
3880
|
props: { range: { type: String } },
|
|
3876
3881
|
emits: ["rangeSelected"],
|
|
3877
|
-
setup(
|
|
3878
|
-
const n = u, i =
|
|
3882
|
+
setup(m, { emit: u }) {
|
|
3883
|
+
const n = u, i = m;
|
|
3879
3884
|
let l = Y(() => i.range);
|
|
3880
3885
|
const o = (t) => {
|
|
3881
3886
|
l = t, n("rangeSelected", t);
|
|
@@ -3920,8 +3925,8 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3920
3925
|
annotations: {}
|
|
3921
3926
|
},
|
|
3922
3927
|
emits: ["selectedRange", "chartUpdated", "dataPointSelection", "maximizeChart"],
|
|
3923
|
-
setup(
|
|
3924
|
-
const n = u, i =
|
|
3928
|
+
setup(m, { emit: u }) {
|
|
3929
|
+
const n = u, i = m;
|
|
3925
3930
|
let l = {
|
|
3926
3931
|
chart: {
|
|
3927
3932
|
type: "bar",
|
|
@@ -3966,13 +3971,13 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3966
3971
|
}, [
|
|
3967
3972
|
e("div", Va, [
|
|
3968
3973
|
e("div", Ra, g(y.title), 1),
|
|
3969
|
-
|
|
3974
|
+
p(qa, {
|
|
3970
3975
|
range: y.range,
|
|
3971
3976
|
onRangeSelected: h[0] || (h[0] = (w) => y.$emit("selectedRange", { range: w, chartId: y.id }))
|
|
3972
3977
|
}, null, 8, ["range"])
|
|
3973
3978
|
]),
|
|
3974
3979
|
C(e("div", Ua, [
|
|
3975
|
-
|
|
3980
|
+
p(c(Be), {
|
|
3976
3981
|
type: y.type,
|
|
3977
3982
|
series: t.value,
|
|
3978
3983
|
width: "100%",
|
|
@@ -3983,10 +3988,10 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3983
3988
|
onDataPointSelection: d
|
|
3984
3989
|
}, null, 8, ["type", "series", "height", "options"])
|
|
3985
3990
|
], 512), [
|
|
3986
|
-
[
|
|
3991
|
+
[j, !y.empty]
|
|
3987
3992
|
]),
|
|
3988
3993
|
C(e("div", Ha, [
|
|
3989
|
-
|
|
3994
|
+
p(D, {
|
|
3990
3995
|
icon: c(H),
|
|
3991
3996
|
color: "gray",
|
|
3992
3997
|
loading: !1,
|
|
@@ -3994,10 +3999,10 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
3994
3999
|
}, null, 8, ["icon"]),
|
|
3995
4000
|
h[1] || (h[1] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1))
|
|
3996
4001
|
], 512), [
|
|
3997
|
-
[
|
|
4002
|
+
[j, y.empty]
|
|
3998
4003
|
])
|
|
3999
4004
|
], 2), [
|
|
4000
|
-
[
|
|
4005
|
+
[j, !y.loading]
|
|
4001
4006
|
]),
|
|
4002
4007
|
C(e("div", Ea, h[2] || (h[2] = [
|
|
4003
4008
|
e("div", {
|
|
@@ -4026,11 +4031,11 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4026
4031
|
])
|
|
4027
4032
|
], -1)
|
|
4028
4033
|
]), 512), [
|
|
4029
|
-
[
|
|
4034
|
+
[j, y.loading]
|
|
4030
4035
|
])
|
|
4031
4036
|
], 64));
|
|
4032
4037
|
}
|
|
4033
|
-
}), Ja = { class: "w-full flex flex-col justify-center p-10 grow" }, Wa = { class: "text-2xl mt-4 font-bold" },
|
|
4038
|
+
}), Ja = { class: "w-full flex flex-col justify-center p-10 grow" }, Wa = { class: "text-center" }, Ga = { class: "text-2xl mt-4 font-bold" }, Ka = { class: "mt-4" }, Qa = { class: "buttons flex mt-8 gap-x-1 justify-center flex-col gap-y-2 md:flex-row md:gap-y-0" }, Xa = /* @__PURE__ */ B({
|
|
4034
4039
|
__name: "uiNoResults",
|
|
4035
4040
|
props: {
|
|
4036
4041
|
title: {},
|
|
@@ -4040,19 +4045,19 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4040
4045
|
select: {}
|
|
4041
4046
|
},
|
|
4042
4047
|
emits: ["action", "noResultsOptionSelected"],
|
|
4043
|
-
setup(
|
|
4048
|
+
setup(m) {
|
|
4044
4049
|
return (u, n) => (s(), a("div", Ja, [
|
|
4045
|
-
|
|
4050
|
+
p(D, {
|
|
4046
4051
|
class: "mx-auto",
|
|
4047
4052
|
loading: !1,
|
|
4048
4053
|
icon: c(H),
|
|
4049
4054
|
size: "massive",
|
|
4050
4055
|
color: "gray"
|
|
4051
4056
|
}, null, 8, ["icon"]),
|
|
4052
|
-
e("div",
|
|
4053
|
-
e("h2",
|
|
4054
|
-
e("p",
|
|
4055
|
-
e("div",
|
|
4057
|
+
e("div", Wa, [
|
|
4058
|
+
e("h2", Ga, g(u.title), 1),
|
|
4059
|
+
e("p", Ka, g(u.message), 1),
|
|
4060
|
+
e("div", Qa, [
|
|
4056
4061
|
(s(!0), a($, null, _(u.actions, (i, l) => (s(), x(J, {
|
|
4057
4062
|
key: l,
|
|
4058
4063
|
loading: !1,
|
|
@@ -4063,7 +4068,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4063
4068
|
]),
|
|
4064
4069
|
_: 2
|
|
4065
4070
|
}, 1032, ["onClick"]))), 128)),
|
|
4066
|
-
u.items ? (s(), x(
|
|
4071
|
+
u.items ? (s(), x(pe, {
|
|
4067
4072
|
key: 0,
|
|
4068
4073
|
items: u.items,
|
|
4069
4074
|
loading: !1,
|
|
@@ -4073,7 +4078,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4073
4078
|
])
|
|
4074
4079
|
]));
|
|
4075
4080
|
}
|
|
4076
|
-
}),
|
|
4081
|
+
}), ei = { class: "fixed inset-0 overflow-hidden" }, ti = { class: "absolute inset-0 overflow-hidden" }, si = { class: "pointer-events-none fixed inset-y-0 right-0 flex max-w-full pl-10" }, oi = { class: "flex h-full flex-col overflow-y-scroll bg-white shadow-xl" }, li = { class: "bg-indigo-700 px-4 py-6 sm:px-6" }, ri = { class: "flex items-center justify-between" }, ni = { class: "ml-3 flex h-7 items-center" }, ai = { class: "mt-1" }, ii = { class: "text-sm text-indigo-300" }, di = { class: "relative flex-1 px-4 py-6 sm:px-6" }, ui = /* @__PURE__ */ B({
|
|
4077
4082
|
__name: "uiRightSidebar",
|
|
4078
4083
|
props: {
|
|
4079
4084
|
title: {},
|
|
@@ -4081,23 +4086,23 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4081
4086
|
open: { type: Boolean, default: !1 }
|
|
4082
4087
|
},
|
|
4083
4088
|
emits: ["closeRightBar"],
|
|
4084
|
-
setup(
|
|
4089
|
+
setup(m, { emit: u }) {
|
|
4085
4090
|
return (n, i) => (s(), x(c(ke), {
|
|
4086
4091
|
as: "template",
|
|
4087
4092
|
show: n.open
|
|
4088
4093
|
}, {
|
|
4089
4094
|
default: v(() => [
|
|
4090
|
-
|
|
4095
|
+
p(c($e), {
|
|
4091
4096
|
as: "div",
|
|
4092
4097
|
class: "relative z-10",
|
|
4093
4098
|
onClose: i[1] || (i[1] = (l) => n.$emit("closeRightBar"))
|
|
4094
4099
|
}, {
|
|
4095
4100
|
default: v(() => [
|
|
4096
4101
|
i[4] || (i[4] = e("div", { class: "fixed inset-0" }, null, -1)),
|
|
4097
|
-
e("div",
|
|
4098
|
-
e("div",
|
|
4099
|
-
e("div",
|
|
4100
|
-
|
|
4102
|
+
e("div", ei, [
|
|
4103
|
+
e("div", ti, [
|
|
4104
|
+
e("div", si, [
|
|
4105
|
+
p(c(G), {
|
|
4101
4106
|
as: "template",
|
|
4102
4107
|
enter: "transform transition ease-in-out duration-500 sm:duration-700",
|
|
4103
4108
|
"enter-from": "translate-x-full",
|
|
@@ -4107,18 +4112,18 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4107
4112
|
"leave-to": "translate-x-full"
|
|
4108
4113
|
}, {
|
|
4109
4114
|
default: v(() => [
|
|
4110
|
-
|
|
4115
|
+
p(c(_e), { class: "pointer-events-auto w-screen max-w-md" }, {
|
|
4111
4116
|
default: v(() => [
|
|
4112
|
-
e("div",
|
|
4113
|
-
e("div",
|
|
4114
|
-
e("div",
|
|
4115
|
-
|
|
4117
|
+
e("div", oi, [
|
|
4118
|
+
e("div", li, [
|
|
4119
|
+
e("div", ri, [
|
|
4120
|
+
p(c(He), { class: "text-base font-semibold leading-6 text-white" }, {
|
|
4116
4121
|
default: v(() => [
|
|
4117
4122
|
T(g(n.title), 1)
|
|
4118
4123
|
]),
|
|
4119
4124
|
_: 1
|
|
4120
4125
|
}),
|
|
4121
|
-
e("div",
|
|
4126
|
+
e("div", ni, [
|
|
4122
4127
|
e("button", {
|
|
4123
4128
|
type: "button",
|
|
4124
4129
|
class: "relative rounded-md bg-indigo-700 text-indigo-200 hover:text-white outline-none",
|
|
@@ -4126,18 +4131,18 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4126
4131
|
}, [
|
|
4127
4132
|
i[2] || (i[2] = e("span", { class: "absolute -inset-2.5" }, null, -1)),
|
|
4128
4133
|
i[3] || (i[3] = e("span", { class: "sr-only" }, "Close panel", -1)),
|
|
4129
|
-
|
|
4134
|
+
p(c(W), {
|
|
4130
4135
|
class: "h-6 w-6 ring-0",
|
|
4131
4136
|
"aria-hidden": "true"
|
|
4132
4137
|
})
|
|
4133
4138
|
])
|
|
4134
4139
|
])
|
|
4135
4140
|
]),
|
|
4136
|
-
e("div",
|
|
4137
|
-
e("p",
|
|
4141
|
+
e("div", ai, [
|
|
4142
|
+
e("p", ii, g(n.description), 1)
|
|
4138
4143
|
])
|
|
4139
4144
|
]),
|
|
4140
|
-
e("div",
|
|
4145
|
+
e("div", di, [
|
|
4141
4146
|
V(n.$slots, "default")
|
|
4142
4147
|
])
|
|
4143
4148
|
])
|
|
@@ -4158,15 +4163,15 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4158
4163
|
_: 3
|
|
4159
4164
|
}, 8, ["show"]));
|
|
4160
4165
|
}
|
|
4161
|
-
}),
|
|
4166
|
+
}), ci = { class: "uiGallery" }, gi = {
|
|
4162
4167
|
key: 1,
|
|
4163
4168
|
role: "list",
|
|
4164
4169
|
class: "grid grid-cols-2 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-4 lg:grid-cols-6"
|
|
4165
|
-
},
|
|
4170
|
+
}, pi = { class: "group aspect-h-7 aspect-w-10 block w-full overflow-hidden rounded-lg bg-gray-100 focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 focus-within:ring-offset-gray-100" }, mi = ["src"], fi = ["onClick"], yi = { class: "pointer-events-none mt-2 block truncate text-sm font-medium text-gray-900" }, hi = { class: "flex items-center justify-between" }, vi = { class: "pointer-events-none block text-sm font-medium text-gray-500" }, bi = {
|
|
4166
4171
|
key: 2,
|
|
4167
4172
|
role: "list",
|
|
4168
4173
|
class: "grid grid-cols-2 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-4 lg:grid-cols-6"
|
|
4169
|
-
},
|
|
4174
|
+
}, wi = /* @__PURE__ */ B({
|
|
4170
4175
|
__name: "uiGallery",
|
|
4171
4176
|
props: {
|
|
4172
4177
|
galleryId: {},
|
|
@@ -4175,11 +4180,11 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4175
4180
|
literals: {}
|
|
4176
4181
|
},
|
|
4177
4182
|
emits: ["modalAction", "deleteImage", "imgClicked"],
|
|
4178
|
-
setup(
|
|
4183
|
+
setup(m, { emit: u }) {
|
|
4179
4184
|
const n = u, i = A(!1), l = (o) => {
|
|
4180
4185
|
i.value = !1, n("modalAction", o);
|
|
4181
4186
|
};
|
|
4182
|
-
return (o, t) => (s(), a("div",
|
|
4187
|
+
return (o, t) => (s(), a("div", ci, [
|
|
4183
4188
|
o.loading ? b("", !0) : (s(), x(et, {
|
|
4184
4189
|
key: 0,
|
|
4185
4190
|
open: i.value,
|
|
@@ -4194,18 +4199,18 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4194
4199
|
]),
|
|
4195
4200
|
_: 1
|
|
4196
4201
|
}, 8, ["open", "title", "actions"])),
|
|
4197
|
-
o.loading ? (s(), a("ul",
|
|
4202
|
+
o.loading ? (s(), a("ul", bi, [
|
|
4198
4203
|
(s(), a($, null, _(4, (r) => e("li", null, t[2] || (t[2] = [
|
|
4199
4204
|
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
4205
|
e("p", { class: "animate-pulse h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28 mt-4" }, null, -1),
|
|
4201
4206
|
e("p", { class: "animate-pulse h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-14 mt-2" }, null, -1)
|
|
4202
4207
|
]))), 64))
|
|
4203
|
-
])) : (s(), a("ul",
|
|
4208
|
+
])) : (s(), a("ul", gi, [
|
|
4204
4209
|
(s(!0), a($, null, _(o.gallery, (r) => (s(), a("li", {
|
|
4205
4210
|
key: r.source,
|
|
4206
4211
|
class: "relative"
|
|
4207
4212
|
}, [
|
|
4208
|
-
e("div",
|
|
4213
|
+
e("div", pi, [
|
|
4209
4214
|
e("img", {
|
|
4210
4215
|
src: r.source,
|
|
4211
4216
|
alt: "",
|
|
@@ -4215,12 +4220,12 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4215
4220
|
type: "button",
|
|
4216
4221
|
class: "absolute inset-0 focus:outline-none",
|
|
4217
4222
|
onClick: (d) => o.$emit("imgClicked", r)
|
|
4218
|
-
}, null, 8,
|
|
4223
|
+
}, null, 8, fi)
|
|
4219
4224
|
]),
|
|
4220
|
-
e("p",
|
|
4221
|
-
e("div",
|
|
4222
|
-
e("p",
|
|
4223
|
-
|
|
4225
|
+
e("p", yi, g(r.title), 1),
|
|
4226
|
+
e("div", hi, [
|
|
4227
|
+
e("p", vi, g(r.size), 1),
|
|
4228
|
+
p(D, {
|
|
4224
4229
|
class: "cursor-pointer",
|
|
4225
4230
|
icon: c(Yt),
|
|
4226
4231
|
color: "red",
|
|
@@ -4245,18 +4250,18 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4245
4250
|
})) : b("", !0)
|
|
4246
4251
|
]));
|
|
4247
4252
|
}
|
|
4248
|
-
}),
|
|
4253
|
+
}), xi = { class: "cursor-move mb-1 relative flex items-center space-x-3 rounded-lg border border-gray-300 bg-white p-4 shadow-sm focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 hover:border-gray-400" }, ki = { class: "flex flex-row items-center w-full" }, $i = { class: "content text-sm grow" }, _i = { class: "font-bold" }, Ci = { key: 0 }, Si = { class: "font-bold text-gray-400" }, Bi = {
|
|
4249
4254
|
key: 1,
|
|
4250
4255
|
class: "animate-pulse"
|
|
4251
|
-
},
|
|
4256
|
+
}, Mi = /* @__PURE__ */ B({
|
|
4252
4257
|
__name: "uiDragAndDrop",
|
|
4253
4258
|
props: {
|
|
4254
4259
|
elements: {},
|
|
4255
4260
|
loading: { type: Boolean, default: !0 }
|
|
4256
4261
|
},
|
|
4257
4262
|
emits: ["dragAndDropUpdated"],
|
|
4258
|
-
setup(
|
|
4259
|
-
const n = u, i =
|
|
4263
|
+
setup(m, { emit: u }) {
|
|
4264
|
+
const n = u, i = m;
|
|
4260
4265
|
let l = A(i.elements);
|
|
4261
4266
|
R(() => i.elements, (t) => {
|
|
4262
4267
|
l.value = t;
|
|
@@ -4264,7 +4269,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4264
4269
|
const o = (t) => {
|
|
4265
4270
|
n("dragAndDropUpdated", t);
|
|
4266
4271
|
};
|
|
4267
|
-
return (t, r) => t.loading ? (s(), a("div",
|
|
4272
|
+
return (t, r) => t.loading ? (s(), a("div", Bi, r[2] || (r[2] = [
|
|
4268
4273
|
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
4274
|
]))) : (s(), x(c(ht), {
|
|
4270
4275
|
key: 0,
|
|
@@ -4275,27 +4280,27 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4275
4280
|
]
|
|
4276
4281
|
}, {
|
|
4277
4282
|
item: v(({ item: d }) => [
|
|
4278
|
-
e("div",
|
|
4279
|
-
e("div",
|
|
4280
|
-
|
|
4281
|
-
icon: c(
|
|
4283
|
+
e("div", xi, [
|
|
4284
|
+
e("div", ki, [
|
|
4285
|
+
p(D, {
|
|
4286
|
+
icon: c(Dt),
|
|
4282
4287
|
loading: !1,
|
|
4283
4288
|
color: "gray",
|
|
4284
4289
|
class: "mr-4",
|
|
4285
4290
|
size: "big"
|
|
4286
4291
|
}, null, 8, ["icon"]),
|
|
4287
|
-
e("div",
|
|
4288
|
-
e("p",
|
|
4289
|
-
d.description ? (s(), a("p",
|
|
4292
|
+
e("div", $i, [
|
|
4293
|
+
e("p", _i, g(d.name), 1),
|
|
4294
|
+
d.description ? (s(), a("p", Ci, g(d.description), 1)) : b("", !0)
|
|
4290
4295
|
]),
|
|
4291
|
-
e("div",
|
|
4296
|
+
e("div", Si, g(c(l).indexOf(d) + 1), 1)
|
|
4292
4297
|
])
|
|
4293
4298
|
])
|
|
4294
4299
|
]),
|
|
4295
4300
|
_: 1
|
|
4296
4301
|
}, 8, ["modelValue"]));
|
|
4297
4302
|
}
|
|
4298
|
-
}),
|
|
4303
|
+
}), ji = { class: "chart-header flex flex-row justify-between" }, Di = { class: "text-sm font-medium text-gray-500 truncate" }, Ti = { class: "hidden sm:flex items-center" }, zi = { class: "w-1/2 min-w-0 flex-1" }, Li = ["max"], Ai = { class: "min-w-0 flex-1" }, Oi = ["max"], Ni = { class: "chart-content" }, Ii = { class: "h-full w-full flex items-center justify-center flex-col" }, Yi = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, Pi = /* @__PURE__ */ B({
|
|
4299
4304
|
__name: "uiCircleChart",
|
|
4300
4305
|
props: {
|
|
4301
4306
|
labels: {},
|
|
@@ -4316,8 +4321,8 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4316
4321
|
annotations: {}
|
|
4317
4322
|
},
|
|
4318
4323
|
emits: ["selectedRange", "chartUpdated", "dataPointSelection", "maximizeChart"],
|
|
4319
|
-
setup(
|
|
4320
|
-
const n = u, i =
|
|
4324
|
+
setup(m, { emit: u }) {
|
|
4325
|
+
const n = u, i = m, l = A((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":")));
|
|
4321
4326
|
let o = ce(i.dates || { from: "", to: l });
|
|
4322
4327
|
R(() => i.dates, (O) => {
|
|
4323
4328
|
O && (o = O);
|
|
@@ -4363,10 +4368,10 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4363
4368
|
C(e("div", {
|
|
4364
4369
|
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
4370
|
}, [
|
|
4366
|
-
e("div",
|
|
4371
|
+
e("div", ji, [
|
|
4367
4372
|
e("div", Di, g(O.title), 1),
|
|
4368
|
-
e("div",
|
|
4369
|
-
e("div",
|
|
4373
|
+
e("div", Ti, [
|
|
4374
|
+
e("div", zi, [
|
|
4370
4375
|
C(e("input", {
|
|
4371
4376
|
type: "datetime-local",
|
|
4372
4377
|
"onUpdate:modelValue": S[0] || (S[0] = (M) => c(o).from = M),
|
|
@@ -4375,11 +4380,11 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4375
4380
|
name: "from",
|
|
4376
4381
|
id: "from",
|
|
4377
4382
|
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
|
-
}, null, 40,
|
|
4383
|
+
}, null, 40, Li), [
|
|
4379
4384
|
[X, c(o).from]
|
|
4380
4385
|
])
|
|
4381
4386
|
]),
|
|
4382
|
-
e("div",
|
|
4387
|
+
e("div", Ai, [
|
|
4383
4388
|
C(e("input", {
|
|
4384
4389
|
type: "datetime-local",
|
|
4385
4390
|
"onUpdate:modelValue": S[1] || (S[1] = (M) => c(o).to = M),
|
|
@@ -4388,11 +4393,11 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4388
4393
|
name: "to",
|
|
4389
4394
|
id: "to",
|
|
4390
4395
|
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
|
-
}, null, 40,
|
|
4396
|
+
}, null, 40, Oi), [
|
|
4392
4397
|
[X, c(o).to]
|
|
4393
4398
|
])
|
|
4394
4399
|
]),
|
|
4395
|
-
|
|
4400
|
+
p(D, {
|
|
4396
4401
|
class: "ml-4 cursor-pointer",
|
|
4397
4402
|
size: "big",
|
|
4398
4403
|
loading: O.loading,
|
|
@@ -4401,8 +4406,8 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4401
4406
|
}, null, 8, ["loading", "icon"])
|
|
4402
4407
|
])
|
|
4403
4408
|
]),
|
|
4404
|
-
C(e("div",
|
|
4405
|
-
|
|
4409
|
+
C(e("div", Ni, [
|
|
4410
|
+
p(c(Be), {
|
|
4406
4411
|
class: "flex items-center justify-center mt-4",
|
|
4407
4412
|
type: "donut",
|
|
4408
4413
|
series: d.value,
|
|
@@ -4413,10 +4418,10 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4413
4418
|
onDataPointSelection: w
|
|
4414
4419
|
}, null, 8, ["series", "options", "height"])
|
|
4415
4420
|
], 512), [
|
|
4416
|
-
[
|
|
4421
|
+
[j, !O.empty]
|
|
4417
4422
|
]),
|
|
4418
|
-
C(e("div",
|
|
4419
|
-
|
|
4423
|
+
C(e("div", Ii, [
|
|
4424
|
+
p(D, {
|
|
4420
4425
|
icon: c(H),
|
|
4421
4426
|
color: "gray",
|
|
4422
4427
|
loading: !1,
|
|
@@ -4424,12 +4429,12 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4424
4429
|
}, null, 8, ["icon"]),
|
|
4425
4430
|
S[3] || (S[3] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1))
|
|
4426
4431
|
], 512), [
|
|
4427
|
-
[
|
|
4432
|
+
[j, O.empty]
|
|
4428
4433
|
])
|
|
4429
4434
|
], 2), [
|
|
4430
|
-
[
|
|
4435
|
+
[j, !O.loading]
|
|
4431
4436
|
]),
|
|
4432
|
-
C(e("div",
|
|
4437
|
+
C(e("div", Yi, S[4] || (S[4] = [
|
|
4433
4438
|
e("div", {
|
|
4434
4439
|
role: "status",
|
|
4435
4440
|
class: "w-full animate-pulse h-full flex flex-col"
|
|
@@ -4456,17 +4461,17 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4456
4461
|
])
|
|
4457
4462
|
], -1)
|
|
4458
4463
|
]), 512), [
|
|
4459
|
-
[
|
|
4464
|
+
[j, O.loading]
|
|
4460
4465
|
])
|
|
4461
4466
|
], 64));
|
|
4462
4467
|
}
|
|
4463
|
-
}),
|
|
4468
|
+
}), Fi = {
|
|
4464
4469
|
key: 0,
|
|
4465
4470
|
class: "flex flex-col lg:flex-row w-full gap-y-4 gap-x-2"
|
|
4466
|
-
},
|
|
4471
|
+
}, qi = {
|
|
4467
4472
|
key: 1,
|
|
4468
4473
|
class: "flex flex-col lg:flex-row w-full gap-y-4 gap-x-2"
|
|
4469
|
-
},
|
|
4474
|
+
}, Vi = /* @__PURE__ */ B({
|
|
4470
4475
|
__name: "uiDateRange",
|
|
4471
4476
|
props: {
|
|
4472
4477
|
id: {},
|
|
@@ -4480,8 +4485,8 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4480
4485
|
placeholder: {}
|
|
4481
4486
|
},
|
|
4482
4487
|
emits: ["uiDateRangeButtonClicked"],
|
|
4483
|
-
setup(
|
|
4484
|
-
const n =
|
|
4488
|
+
setup(m, { emit: u }) {
|
|
4489
|
+
const n = m, i = A((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":")));
|
|
4485
4490
|
let l = ce(n.values || { from: "", to: i });
|
|
4486
4491
|
const o = u;
|
|
4487
4492
|
R(() => n.values, (r) => {
|
|
@@ -4490,24 +4495,24 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4490
4495
|
const t = () => {
|
|
4491
4496
|
o("uiDateRangeButtonClicked", l);
|
|
4492
4497
|
};
|
|
4493
|
-
return (r, d) => r.loading ? (s(), a("div",
|
|
4494
|
-
|
|
4498
|
+
return (r, d) => r.loading ? (s(), a("div", qi, [
|
|
4499
|
+
p(E, {
|
|
4495
4500
|
name: "dateFrom",
|
|
4496
4501
|
loading: !0
|
|
4497
4502
|
}),
|
|
4498
|
-
|
|
4503
|
+
p(E, {
|
|
4499
4504
|
name: "dateTo",
|
|
4500
4505
|
loading: !0
|
|
4501
4506
|
}),
|
|
4502
|
-
|
|
4507
|
+
p(J, { loading: !0 }, {
|
|
4503
4508
|
default: v(() => d[2] || (d[2] = [
|
|
4504
4509
|
T("Search")
|
|
4505
4510
|
])),
|
|
4506
4511
|
_: 1,
|
|
4507
4512
|
__: [2]
|
|
4508
4513
|
})
|
|
4509
|
-
])) : (s(), a("div",
|
|
4510
|
-
|
|
4514
|
+
])) : (s(), a("div", Fi, [
|
|
4515
|
+
p(E, {
|
|
4511
4516
|
type: "datetime-local",
|
|
4512
4517
|
loading: !1,
|
|
4513
4518
|
addOn: r.literals.from,
|
|
@@ -4520,7 +4525,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4520
4525
|
max: i.value.toString(),
|
|
4521
4526
|
onInputChanged: d[0] || (d[0] = (y) => c(l).from = y.value)
|
|
4522
4527
|
}, null, 8, ["addOn", "name", "color", "value", "error", "disabled", "label", "max"]),
|
|
4523
|
-
|
|
4528
|
+
p(E, {
|
|
4524
4529
|
type: "datetime-local",
|
|
4525
4530
|
loading: !1,
|
|
4526
4531
|
class: f([{ "mt-6": r.label }]),
|
|
@@ -4534,7 +4539,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4534
4539
|
max: i.value.toString(),
|
|
4535
4540
|
onInputChanged: d[1] || (d[1] = (y) => c(l).to = y.value)
|
|
4536
4541
|
}, null, 8, ["class", "addOn", "name", "color", "value", "error", "disabled", "max"]),
|
|
4537
|
-
|
|
4542
|
+
p(J, {
|
|
4538
4543
|
disabled: r.disabled,
|
|
4539
4544
|
color: "primary",
|
|
4540
4545
|
loading: !1,
|
|
@@ -4548,16 +4553,16 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4548
4553
|
}, 8, ["disabled", "class"])
|
|
4549
4554
|
]));
|
|
4550
4555
|
}
|
|
4551
|
-
}),
|
|
4556
|
+
}), Ri = { class: "flex justify-between items-center" }, Ui = {
|
|
4552
4557
|
key: 0,
|
|
4553
4558
|
class: "block text-sm font-medium text-gray-700"
|
|
4554
|
-
},
|
|
4559
|
+
}, Hi = {
|
|
4555
4560
|
key: 1,
|
|
4556
4561
|
class: "place-self-center text-[10px] text-gray-500 uppercase justify-self-end"
|
|
4557
|
-
},
|
|
4562
|
+
}, Ei = {
|
|
4558
4563
|
key: 1,
|
|
4559
4564
|
class: "h-2 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 w-full"
|
|
4560
|
-
},
|
|
4565
|
+
}, Zi = /* @__PURE__ */ B({
|
|
4561
4566
|
__name: "uiRangeSlider",
|
|
4562
4567
|
props: {
|
|
4563
4568
|
loading: { type: Boolean, default: !0 },
|
|
@@ -4569,17 +4574,17 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4569
4574
|
requiredText: {}
|
|
4570
4575
|
},
|
|
4571
4576
|
emits: ["sliderUpdated"],
|
|
4572
|
-
setup(
|
|
4573
|
-
const n = u, l = A(
|
|
4577
|
+
setup(m, { emit: u }) {
|
|
4578
|
+
const n = u, l = A(m.sliderValue);
|
|
4574
4579
|
return (o, t) => (s(), a("div", null, [
|
|
4575
|
-
e("div",
|
|
4576
|
-
o.label ? (s(), a("label",
|
|
4577
|
-
o.requiredText ? (s(), a("span",
|
|
4580
|
+
e("div", Ri, [
|
|
4581
|
+
o.label ? (s(), a("label", Ui, g(o.label), 1)) : b("", !0),
|
|
4582
|
+
o.requiredText ? (s(), a("span", Hi, g(o.requiredText), 1)) : b("", !0)
|
|
4578
4583
|
]),
|
|
4579
4584
|
e("div", {
|
|
4580
4585
|
class: f([{ "mt-1": o.label }, "pt-16 px-6 pb-6 bg-gray-50 border border-gray-300 rounded-lg shadow-sm"])
|
|
4581
4586
|
}, [
|
|
4582
|
-
o.loading ? (s(), a("p",
|
|
4587
|
+
o.loading ? (s(), a("p", Ei)) : (s(), x(c(vt), {
|
|
4583
4588
|
key: 0,
|
|
4584
4589
|
modelValue: l.value,
|
|
4585
4590
|
"onUpdate:modelValue": t[0] || (t[0] = (r) => l.value = r),
|
|
@@ -4595,27 +4600,27 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4595
4600
|
], 2)
|
|
4596
4601
|
]));
|
|
4597
4602
|
}
|
|
4598
|
-
}),
|
|
4603
|
+
}), Ji = { class: "mt-1 mb-8 text-sm text-gray-500" }, Wi = /* @__PURE__ */ B({
|
|
4599
4604
|
__name: "uiSectionTitle",
|
|
4600
4605
|
props: {
|
|
4601
4606
|
title: {},
|
|
4602
4607
|
description: {}
|
|
4603
4608
|
},
|
|
4604
|
-
setup(
|
|
4609
|
+
setup(m) {
|
|
4605
4610
|
return (u, n) => (s(), a($, null, [
|
|
4606
4611
|
e("h3", {
|
|
4607
4612
|
class: f(["text-lg font-medium leading-6 text-gray-900", { "mb-8": u.description === void 0 }])
|
|
4608
4613
|
}, g(u.title), 3),
|
|
4609
|
-
e("p",
|
|
4614
|
+
e("p", Ji, g(u.description), 1)
|
|
4610
4615
|
], 64));
|
|
4611
4616
|
}
|
|
4612
|
-
}),
|
|
4617
|
+
}), Gi = {
|
|
4613
4618
|
key: 0,
|
|
4614
4619
|
class: "col-span-1 flex flex-col divide-y divide-gray-200 rounded-lg bg-white text-center shadow"
|
|
4615
|
-
},
|
|
4620
|
+
}, Ki = { class: "flex flex-1 flex-col p-8" }, Qi = { class: "text-2xl font-bold text-gray-900" }, Xi = { class: "mt-1 flex flex-grow flex-col justify-between" }, ed = { class: "mt-3 flex flex-wrap gap-x-1 gap-y-1 justify-center" }, td = {
|
|
4616
4621
|
key: 1,
|
|
4617
4622
|
class: "col-span-1 flex flex-col divide-y divide-gray-200 rounded-lg bg-white text-center shadow"
|
|
4618
|
-
},
|
|
4623
|
+
}, sd = { class: "flex flex-1 flex-col p-8" }, od = { class: "rounded-md p-3 flex items-center justify-center mx-auto mb-4 bg-gray-200" }, ld = { class: "mt-1 flex flex-grow flex-col justify-between" }, rd = { class: "mt-3 flex flex-wrap gap-x-1 gap-y-1 justify-center" }, nd = /* @__PURE__ */ B({
|
|
4619
4624
|
__name: "uiDeviceStatus",
|
|
4620
4625
|
props: {
|
|
4621
4626
|
id: {},
|
|
@@ -4627,11 +4632,11 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4627
4632
|
loading: { type: Boolean, default: !0 }
|
|
4628
4633
|
},
|
|
4629
4634
|
emits: ["deviceStatusTagClicked", "deviceStatusQtyClicked"],
|
|
4630
|
-
setup(
|
|
4631
|
-
return (n, i) => n.loading ? (s(), a("div",
|
|
4632
|
-
e("div",
|
|
4633
|
-
e("div",
|
|
4634
|
-
|
|
4635
|
+
setup(m, { emit: u }) {
|
|
4636
|
+
return (n, i) => n.loading ? (s(), a("div", td, [
|
|
4637
|
+
e("div", sd, [
|
|
4638
|
+
e("div", od, [
|
|
4639
|
+
p(D, {
|
|
4635
4640
|
icon: n.icon,
|
|
4636
4641
|
size: "huge",
|
|
4637
4642
|
class: "text-white",
|
|
@@ -4640,8 +4645,8 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4640
4645
|
}, null, 8, ["icon", "loading"])
|
|
4641
4646
|
]),
|
|
4642
4647
|
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
|
-
e("dl",
|
|
4644
|
-
e("dd",
|
|
4648
|
+
e("dl", ld, [
|
|
4649
|
+
e("dd", rd, [
|
|
4645
4650
|
(s(!0), a($, null, _(n.tags, (l, o) => (s(), x(U, {
|
|
4646
4651
|
key: o,
|
|
4647
4652
|
loading: n.loading,
|
|
@@ -4657,8 +4662,8 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4657
4662
|
])
|
|
4658
4663
|
])
|
|
4659
4664
|
])
|
|
4660
|
-
])) : (s(), a("div",
|
|
4661
|
-
e("div",
|
|
4665
|
+
])) : (s(), a("div", Gi, [
|
|
4666
|
+
e("div", Ki, [
|
|
4662
4667
|
e("div", {
|
|
4663
4668
|
class: f(["rounded-md p-3 flex items-center justify-center mx-auto mb-4", {
|
|
4664
4669
|
"bg-green-500": !n.color || n.color === "green",
|
|
@@ -4669,7 +4674,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4669
4674
|
"bg-gray-100": n.color === "light"
|
|
4670
4675
|
}])
|
|
4671
4676
|
}, [
|
|
4672
|
-
|
|
4677
|
+
p(D, {
|
|
4673
4678
|
icon: n.icon,
|
|
4674
4679
|
size: "huge",
|
|
4675
4680
|
class: "text-white",
|
|
@@ -4677,17 +4682,17 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4677
4682
|
loading: !1
|
|
4678
4683
|
}, null, 8, ["icon"])
|
|
4679
4684
|
], 2),
|
|
4680
|
-
e("h3",
|
|
4685
|
+
e("h3", Qi, [
|
|
4681
4686
|
T(g(n.name) + " ", 1),
|
|
4682
4687
|
C(e("span", {
|
|
4683
4688
|
class: "text-indigo-600 hover:text-indigo-900 cursor-pointer",
|
|
4684
4689
|
onClick: i[0] || (i[0] = (l) => n.$emit("deviceStatusQtyClicked", n.id))
|
|
4685
4690
|
}, "(" + g(n.qty) + ")", 513), [
|
|
4686
|
-
[
|
|
4691
|
+
[j, n.qty > 0]
|
|
4687
4692
|
])
|
|
4688
4693
|
]),
|
|
4689
|
-
e("dl",
|
|
4690
|
-
e("dd",
|
|
4694
|
+
e("dl", Xi, [
|
|
4695
|
+
e("dd", ed, [
|
|
4691
4696
|
(s(!0), a($, null, _(n.tags, (l, o) => (s(), x(U, {
|
|
4692
4697
|
key: o,
|
|
4693
4698
|
loading: !1,
|
|
@@ -4705,10 +4710,10 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4705
4710
|
])
|
|
4706
4711
|
]));
|
|
4707
4712
|
}
|
|
4708
|
-
}),
|
|
4713
|
+
}), ad = { class: "fixed inset-0 flex" }, id = { class: "absolute left-full top-0 flex w-16 justify-center pt-5" }, dd = { class: "hidden lg:fixed lg:inset-y-0 lg:z-50 lg:flex lg:w-[25rem] lg:flex-col" }, ud = { class: "lg:pl-[25rem]" }, cd = { class: "sticky top-0 z-10 flex h-16 shrink-0 items-center gap-x-4 border-b border-gray-200 bg-white px-4 shadow-sm sm:gap-x-6 sm:px-6 lg:px-8" }, gd = { class: "flex flex-1 gap-x-4 self-stretch lg:gap-x-6" }, pd = { class: "flex items-center gap-x-4 lg:gap-x-6" }, md = {
|
|
4709
4714
|
type: "button",
|
|
4710
4715
|
class: "-m-2.5 p-2.5 text-gray-400 hover:text-gray-500 relative"
|
|
4711
|
-
},
|
|
4716
|
+
}, fd = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute top-1 left-2" }, yd = ["src"], hd = { class: "hidden lg:flex lg:items-center" }, vd = ["onClick"], bd = { class: "py-7" }, wd = { class: "px-7 lg:px-10" }, xd = /* @__PURE__ */ B({
|
|
4712
4717
|
__name: "uiWrapper",
|
|
4713
4718
|
props: {
|
|
4714
4719
|
topbar: {},
|
|
@@ -4716,22 +4721,22 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4716
4721
|
sidebarOpen: { type: Boolean }
|
|
4717
4722
|
},
|
|
4718
4723
|
emits: ["productBarClick", "sideBarClick", "selectChanged", "topBarClick", "checkboxChanged", "inputChanged", "sidebarToggle"],
|
|
4719
|
-
setup(
|
|
4720
|
-
const n =
|
|
4724
|
+
setup(m, { emit: u }) {
|
|
4725
|
+
const n = m, i = u, l = A(n.sidebarOpen), o = () => {
|
|
4721
4726
|
l.value = !l.value, i("sidebarToggle", l.value);
|
|
4722
4727
|
};
|
|
4723
4728
|
return (t, r) => (s(), a("div", null, [
|
|
4724
|
-
|
|
4729
|
+
p(c(ke), {
|
|
4725
4730
|
as: "template",
|
|
4726
4731
|
show: l.value
|
|
4727
4732
|
}, {
|
|
4728
4733
|
default: v(() => [
|
|
4729
|
-
|
|
4734
|
+
p(c($e), {
|
|
4730
4735
|
class: "relative z-50 lg:hidden",
|
|
4731
4736
|
onClose: o
|
|
4732
4737
|
}, {
|
|
4733
4738
|
default: v(() => [
|
|
4734
|
-
|
|
4739
|
+
p(c(G), {
|
|
4735
4740
|
as: "template",
|
|
4736
4741
|
enter: "transition-opacity ease-linear duration-300",
|
|
4737
4742
|
"enter-from": "opacity-0",
|
|
@@ -4746,8 +4751,8 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4746
4751
|
_: 1,
|
|
4747
4752
|
__: [9]
|
|
4748
4753
|
}),
|
|
4749
|
-
e("div",
|
|
4750
|
-
|
|
4754
|
+
e("div", ad, [
|
|
4755
|
+
p(c(G), {
|
|
4751
4756
|
as: "template",
|
|
4752
4757
|
enter: "transition ease-in-out duration-300 transform",
|
|
4753
4758
|
"enter-from": "-translate-x-full",
|
|
@@ -4757,9 +4762,9 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4757
4762
|
"leave-to": "-translate-x-full"
|
|
4758
4763
|
}, {
|
|
4759
4764
|
default: v(() => [
|
|
4760
|
-
|
|
4765
|
+
p(c(_e), { class: "relative mr-16 flex w-full max-w-xs flex-1" }, {
|
|
4761
4766
|
default: v(() => [
|
|
4762
|
-
|
|
4767
|
+
p(c(G), {
|
|
4763
4768
|
as: "template",
|
|
4764
4769
|
enter: "ease-in-out duration-300",
|
|
4765
4770
|
"enter-from": "opacity-0",
|
|
@@ -4769,14 +4774,14 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4769
4774
|
"leave-to": "opacity-0"
|
|
4770
4775
|
}, {
|
|
4771
4776
|
default: v(() => [
|
|
4772
|
-
e("div",
|
|
4777
|
+
e("div", id, [
|
|
4773
4778
|
e("button", {
|
|
4774
4779
|
type: "button",
|
|
4775
4780
|
class: "-m-2.5 p-2.5",
|
|
4776
4781
|
onClick: o
|
|
4777
4782
|
}, [
|
|
4778
4783
|
r[10] || (r[10] = e("span", { class: "sr-only" }, "Close sidebar", -1)),
|
|
4779
|
-
|
|
4784
|
+
p(c(W), {
|
|
4780
4785
|
class: "h-6 w-6 text-white",
|
|
4781
4786
|
"aria-hidden": "true"
|
|
4782
4787
|
})
|
|
@@ -4785,7 +4790,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4785
4790
|
]),
|
|
4786
4791
|
_: 1
|
|
4787
4792
|
}),
|
|
4788
|
-
|
|
4793
|
+
p(ye, {
|
|
4789
4794
|
productsSidebar: t.sidebar.productsSidebar,
|
|
4790
4795
|
isFilterNavigation: t.sidebar.isFilterNavigation,
|
|
4791
4796
|
navigation: t.sidebar.navigation,
|
|
@@ -4810,8 +4815,8 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4810
4815
|
]),
|
|
4811
4816
|
_: 1
|
|
4812
4817
|
}, 8, ["show"]),
|
|
4813
|
-
e("div",
|
|
4814
|
-
|
|
4818
|
+
e("div", dd, [
|
|
4819
|
+
p(ye, {
|
|
4815
4820
|
productsSidebar: t.sidebar.productsSidebar,
|
|
4816
4821
|
isFilterNavigation: t.sidebar.isFilterNavigation,
|
|
4817
4822
|
navigation: t.sidebar.navigation,
|
|
@@ -4824,15 +4829,15 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4824
4829
|
onInputChanged: r[7] || (r[7] = (d) => t.$emit("inputChanged", d))
|
|
4825
4830
|
}, null, 8, ["productsSidebar", "isFilterNavigation", "navigation", "filterNavigation", "logo"])
|
|
4826
4831
|
]),
|
|
4827
|
-
e("div",
|
|
4828
|
-
e("div",
|
|
4832
|
+
e("div", ud, [
|
|
4833
|
+
e("div", cd, [
|
|
4829
4834
|
e("button", {
|
|
4830
4835
|
type: "button",
|
|
4831
4836
|
class: "-m-2.5 p-2.5 text-gray-700 lg:hidden",
|
|
4832
4837
|
onClick: o
|
|
4833
4838
|
}, [
|
|
4834
4839
|
r[11] || (r[11] = e("span", { class: "sr-only" }, "Open sidebar", -1)),
|
|
4835
|
-
|
|
4840
|
+
p(c(Je), {
|
|
4836
4841
|
class: "h-6 w-6",
|
|
4837
4842
|
"aria-hidden": "true"
|
|
4838
4843
|
})
|
|
@@ -4841,22 +4846,22 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4841
4846
|
class: "h-6 w-px bg-gray-200 lg:hidden",
|
|
4842
4847
|
"aria-hidden": "true"
|
|
4843
4848
|
}, null, -1)),
|
|
4844
|
-
e("div",
|
|
4845
|
-
|
|
4849
|
+
e("div", gd, [
|
|
4850
|
+
p(je, {
|
|
4846
4851
|
class: "w-full self-center relative",
|
|
4847
4852
|
items: t.topbar.selectItems,
|
|
4848
4853
|
select: t.topbar.selectedItem,
|
|
4849
4854
|
onSelectChanged: r[8] || (r[8] = (d) => t.$emit("selectChanged", d))
|
|
4850
4855
|
}, null, 8, ["items", "select"]),
|
|
4851
|
-
e("div",
|
|
4856
|
+
e("div", pd, [
|
|
4852
4857
|
e("button", md, [
|
|
4853
4858
|
r[13] || (r[13] = e("span", { class: "sr-only" }, "View notifications", -1)),
|
|
4854
|
-
C(e("div",
|
|
4859
|
+
C(e("div", fd, r[12] || (r[12] = [
|
|
4855
4860
|
e("span", { class: "animate-ping absolute inline-flex h-4 w-4 bg-red-500 rounded-full opacity-75" }, null, -1)
|
|
4856
4861
|
]), 512), [
|
|
4857
|
-
[
|
|
4862
|
+
[j, t.topbar.alerted]
|
|
4858
4863
|
]),
|
|
4859
|
-
|
|
4864
|
+
p(c(Tt), {
|
|
4860
4865
|
class: "h-6 w-6",
|
|
4861
4866
|
"aria-hidden": "true"
|
|
4862
4867
|
})
|
|
@@ -4865,21 +4870,21 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4865
4870
|
class: "hidden lg:block lg:h-6 lg:w-px lg:bg-gray-200",
|
|
4866
4871
|
"aria-hidden": "true"
|
|
4867
4872
|
}, null, -1)),
|
|
4868
|
-
|
|
4873
|
+
p(c(ve), {
|
|
4869
4874
|
as: "div",
|
|
4870
4875
|
class: "relative"
|
|
4871
4876
|
}, {
|
|
4872
4877
|
default: v(() => [
|
|
4873
|
-
|
|
4878
|
+
p(c(be), { class: "-m-1.5 flex items-center p-1.5" }, {
|
|
4874
4879
|
default: v(() => [
|
|
4875
4880
|
r[14] || (r[14] = e("span", { class: "sr-only" }, "Open user menu", -1)),
|
|
4876
4881
|
e("img", {
|
|
4877
4882
|
class: "h-8 w-8 rounded-full bg-gray-50",
|
|
4878
4883
|
src: t.topbar.accountLogo,
|
|
4879
4884
|
alt: ""
|
|
4880
|
-
}, null, 8,
|
|
4881
|
-
e("span",
|
|
4882
|
-
|
|
4885
|
+
}, null, 8, yd),
|
|
4886
|
+
e("span", hd, [
|
|
4887
|
+
p(c(de), {
|
|
4883
4888
|
class: "ml-2 h-5 w-5 text-gray-400",
|
|
4884
4889
|
"aria-hidden": "true"
|
|
4885
4890
|
})
|
|
@@ -4888,7 +4893,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4888
4893
|
_: 1,
|
|
4889
4894
|
__: [14]
|
|
4890
4895
|
}),
|
|
4891
|
-
|
|
4896
|
+
p(ue, {
|
|
4892
4897
|
"enter-active-class": "transition ease-out duration-100",
|
|
4893
4898
|
"enter-from-class": "transform opacity-0 scale-95",
|
|
4894
4899
|
"enter-to-class": "transform opacity-100 scale-100",
|
|
@@ -4897,7 +4902,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4897
4902
|
"leave-to-class": "transform opacity-0 scale-95"
|
|
4898
4903
|
}, {
|
|
4899
4904
|
default: v(() => [
|
|
4900
|
-
|
|
4905
|
+
p(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" }, {
|
|
4901
4906
|
default: v(() => [
|
|
4902
4907
|
(s(!0), a($, null, _(t.topbar.profileMenu, (d) => (s(), x(c(xe), {
|
|
4903
4908
|
key: d.name
|
|
@@ -4906,7 +4911,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4906
4911
|
e("a", {
|
|
4907
4912
|
onClick: (h) => t.$emit("topBarClick", d.id),
|
|
4908
4913
|
class: f([y ? "bg-gray-50" : "", "block px-3 py-1 text-sm leading-6 text-gray-900"])
|
|
4909
|
-
}, g(d.name), 11,
|
|
4914
|
+
}, g(d.name), 11, vd)
|
|
4910
4915
|
]),
|
|
4911
4916
|
_: 2
|
|
4912
4917
|
}, 1024))), 128))
|
|
@@ -4922,22 +4927,22 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4922
4927
|
])
|
|
4923
4928
|
])
|
|
4924
4929
|
]),
|
|
4925
|
-
e("main",
|
|
4926
|
-
e("div",
|
|
4930
|
+
e("main", bd, [
|
|
4931
|
+
e("div", wd, [
|
|
4927
4932
|
V(t.$slots, "default")
|
|
4928
4933
|
])
|
|
4929
4934
|
])
|
|
4930
4935
|
])
|
|
4931
4936
|
]));
|
|
4932
4937
|
}
|
|
4933
|
-
}),
|
|
4938
|
+
}), kd = /* @__PURE__ */ B({
|
|
4934
4939
|
__name: "uiDynamicStats",
|
|
4935
4940
|
props: {
|
|
4936
4941
|
dynamicStats: {},
|
|
4937
4942
|
loading: { type: Boolean, default: !0 }
|
|
4938
4943
|
},
|
|
4939
|
-
setup(
|
|
4940
|
-
const u =
|
|
4944
|
+
setup(m) {
|
|
4945
|
+
const u = m, 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
4946
|
return nt(() => i.value += 1), (o, t) => (s(), a("div", {
|
|
4942
4947
|
class: f([l.value, "grid grid-cols-1 md:grid-cols-2 gap-4"]),
|
|
4943
4948
|
key: i.value
|
|
@@ -4949,13 +4954,13 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4949
4954
|
}, null, 8, ["item", "loading"]))), 128))
|
|
4950
4955
|
], 2));
|
|
4951
4956
|
}
|
|
4952
|
-
}),
|
|
4957
|
+
}), $d = { class: "flex justify-between" }, _d = {
|
|
4953
4958
|
key: 0,
|
|
4954
4959
|
class: "text-[10px] text-gray-500 uppercase justify-self-end place-self-center"
|
|
4955
|
-
},
|
|
4960
|
+
}, Cd = { class: "relative" }, Sd = { class: "block flex flex-wrap gap-2" }, Bd = {
|
|
4956
4961
|
key: 0,
|
|
4957
4962
|
class: "p-0.5"
|
|
4958
|
-
},
|
|
4963
|
+
}, Md = ["onClick"], jd = { class: "absolute mt-1 w-full rounded-md bg-white shadow-lg z-50" }, Dd = {
|
|
4959
4964
|
key: 1,
|
|
4960
4965
|
class: "animate-pulse px-4 py-2.5 bg-gray-200 rounded-md flex justify-between items-center w-full"
|
|
4961
4966
|
}, ot = /* @__PURE__ */ B({
|
|
@@ -4972,8 +4977,8 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4972
4977
|
requiredText: {}
|
|
4973
4978
|
},
|
|
4974
4979
|
emits: ["selectChanged"],
|
|
4975
|
-
setup(
|
|
4976
|
-
const n = u, i =
|
|
4980
|
+
setup(m, { emit: u }) {
|
|
4981
|
+
const n = u, i = m;
|
|
4977
4982
|
let l = A(Array.isArray(i.select) ? i.select : i.select ? [i.select] : []);
|
|
4978
4983
|
const o = (r) => {
|
|
4979
4984
|
n("selectChanged", r);
|
|
@@ -4983,7 +4988,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
4983
4988
|
}
|
|
4984
4989
|
return (r, d) => r.loading ? (s(), a("div", Dd, [
|
|
4985
4990
|
d[4] || (d[4] = e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, null, -1)),
|
|
4986
|
-
|
|
4991
|
+
p(c(fe), {
|
|
4987
4992
|
"aria-hidden": "true",
|
|
4988
4993
|
class: "-mr-1 ml-2 h-5 w-5 text-gray-300 dark:text-gray-400"
|
|
4989
4994
|
})
|
|
@@ -5000,17 +5005,17 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
5000
5005
|
as: "div"
|
|
5001
5006
|
}, {
|
|
5002
5007
|
default: v(() => [
|
|
5003
|
-
e("div",
|
|
5004
|
-
|
|
5008
|
+
e("div", $d, [
|
|
5009
|
+
p(c(pt), { class: "block text-sm font-medium" }, {
|
|
5005
5010
|
default: v(() => [
|
|
5006
5011
|
T(g(r.label), 1)
|
|
5007
5012
|
]),
|
|
5008
5013
|
_: 1
|
|
5009
5014
|
}),
|
|
5010
|
-
r.requiredText ? (s(), a("span",
|
|
5015
|
+
r.requiredText ? (s(), a("span", _d, g(r.requiredText), 1)) : b("", !0)
|
|
5011
5016
|
]),
|
|
5012
|
-
e("div",
|
|
5013
|
-
|
|
5017
|
+
e("div", Cd, [
|
|
5018
|
+
p(c(mt), {
|
|
5014
5019
|
class: f([{
|
|
5015
5020
|
"mt-1": r.requiredText || r.label,
|
|
5016
5021
|
"border-gray-300": r.color === "gray",
|
|
@@ -5027,8 +5032,8 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
5027
5032
|
}, "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"])
|
|
5028
5033
|
}, {
|
|
5029
5034
|
default: v(() => [
|
|
5030
|
-
e("span",
|
|
5031
|
-
c(l).length === 0 ? (s(), a("span",
|
|
5035
|
+
e("span", Sd, [
|
|
5036
|
+
c(l).length === 0 ? (s(), a("span", Bd, "...")) : b("", !0),
|
|
5032
5037
|
(s(!0), a($, null, _(c(l), (y) => (s(), a("span", {
|
|
5033
5038
|
key: y.id,
|
|
5034
5039
|
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"
|
|
@@ -5040,7 +5045,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
5040
5045
|
stroke: "currentColor",
|
|
5041
5046
|
viewBox: "0 0 24 24",
|
|
5042
5047
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5043
|
-
onClick:
|
|
5048
|
+
onClick: me((h) => t(y), ["stop", "prevent"])
|
|
5044
5049
|
}, d[1] || (d[1] = [
|
|
5045
5050
|
e("path", {
|
|
5046
5051
|
"stroke-linecap": "round",
|
|
@@ -5048,7 +5053,7 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
5048
5053
|
"stroke-width": "2",
|
|
5049
5054
|
d: "M6 18L18 6M6 6l12 12"
|
|
5050
5055
|
}, null, -1)
|
|
5051
|
-
]), 8,
|
|
5056
|
+
]), 8, Md))
|
|
5052
5057
|
]))), 128))
|
|
5053
5058
|
]),
|
|
5054
5059
|
d[2] || (d[2] = e("span", { class: "absolute h-full right-0 mr-2 self-center top-0 flex items-center" }, [
|
|
@@ -5070,8 +5075,8 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
5070
5075
|
_: 1,
|
|
5071
5076
|
__: [2]
|
|
5072
5077
|
}, 8, ["class"]),
|
|
5073
|
-
e("div",
|
|
5074
|
-
|
|
5078
|
+
e("div", jd, [
|
|
5079
|
+
p(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" }, {
|
|
5075
5080
|
default: v(() => [
|
|
5076
5081
|
(s(!0), a($, null, _(r.items, (y) => (s(), x(c(yt), {
|
|
5077
5082
|
key: y.id,
|
|
@@ -5117,14 +5122,14 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
5117
5122
|
"text-green-400": r.color === "green"
|
|
5118
5123
|
}, "mt-2 text-xs flex flex-row items-center"])
|
|
5119
5124
|
}, g(r.error), 3), [
|
|
5120
|
-
[
|
|
5125
|
+
[j, r.error]
|
|
5121
5126
|
])
|
|
5122
5127
|
])
|
|
5123
5128
|
]),
|
|
5124
5129
|
_: 1
|
|
5125
5130
|
}, 8, ["modelValue", "disabled"]));
|
|
5126
5131
|
}
|
|
5127
|
-
}),
|
|
5132
|
+
}), Td = { class: "flex flex-col lg:flex-row items-center" }, zd = /* @__PURE__ */ B({
|
|
5128
5133
|
__name: "uiSmartFilter",
|
|
5129
5134
|
props: {
|
|
5130
5135
|
items: {},
|
|
@@ -5135,17 +5140,17 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
5135
5140
|
loading: { type: Boolean, default: !0 }
|
|
5136
5141
|
},
|
|
5137
5142
|
emits: ["smartFilterSelected", "smartInputChanged", "smartSelectChanged", "smartOptionSelected", "rightAddOnClicked"],
|
|
5138
|
-
setup(
|
|
5139
|
-
const n =
|
|
5143
|
+
setup(m, { emit: u }) {
|
|
5144
|
+
const n = m, i = u, l = at(E), o = A(n.items[0].props), t = (r) => {
|
|
5140
5145
|
switch (r.type) {
|
|
5141
5146
|
case "uiInput":
|
|
5142
5147
|
l.value = E, i("smartFilterSelected", r.value);
|
|
5143
5148
|
break;
|
|
5144
5149
|
case "uiDropdown":
|
|
5145
|
-
l.value =
|
|
5150
|
+
l.value = pe, i("smartFilterSelected", r.value);
|
|
5146
5151
|
break;
|
|
5147
5152
|
case "uiSelect":
|
|
5148
|
-
l.value =
|
|
5153
|
+
l.value = je, i("smartFilterSelected", r.value);
|
|
5149
5154
|
break;
|
|
5150
5155
|
case "uiSelectMultiple":
|
|
5151
5156
|
l.value = ot, i("smartFilterSelected", r.value);
|
|
@@ -5153,8 +5158,8 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
5153
5158
|
}
|
|
5154
5159
|
o.value = r.props;
|
|
5155
5160
|
};
|
|
5156
|
-
return (r, d) => (s(), a("div",
|
|
5157
|
-
|
|
5161
|
+
return (r, d) => (s(), a("div", Td, [
|
|
5162
|
+
p(Xe, {
|
|
5158
5163
|
items: r.items,
|
|
5159
5164
|
loading: r.loading,
|
|
5160
5165
|
onFilterSelected: t,
|
|
@@ -5187,34 +5192,34 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
5187
5192
|
uiCard: so,
|
|
5188
5193
|
uiChart: lr,
|
|
5189
5194
|
uiCheckbox: Ee,
|
|
5190
|
-
uiCircleChart:
|
|
5191
|
-
uiDateRange:
|
|
5192
|
-
uiDeviceStatus:
|
|
5193
|
-
uiDragAndDrop:
|
|
5194
|
-
uiDropdown:
|
|
5195
|
-
uiDynamicStats:
|
|
5195
|
+
uiCircleChart: Pi,
|
|
5196
|
+
uiDateRange: Vi,
|
|
5197
|
+
uiDeviceStatus: nd,
|
|
5198
|
+
uiDragAndDrop: Mi,
|
|
5199
|
+
uiDropdown: pe,
|
|
5200
|
+
uiDynamicStats: kd,
|
|
5196
5201
|
uiFilter: Xe,
|
|
5197
5202
|
uiFooter: ir,
|
|
5198
5203
|
uiFunnelChartV2: Za,
|
|
5199
|
-
uiGallery:
|
|
5200
|
-
uiIcon:
|
|
5204
|
+
uiGallery: wi,
|
|
5205
|
+
uiIcon: D,
|
|
5201
5206
|
uiInput: E,
|
|
5202
5207
|
uiInputFile: cs,
|
|
5203
5208
|
uiLoadingScreen: dr,
|
|
5204
5209
|
uiModal: et,
|
|
5205
|
-
uiNoResults:
|
|
5210
|
+
uiNoResults: Xa,
|
|
5206
5211
|
uiNotification: xo,
|
|
5207
5212
|
uiPagination: $r,
|
|
5208
5213
|
uiPriceCalendar: Hl,
|
|
5209
|
-
uiRangeSlider:
|
|
5210
|
-
uiRightSidebar:
|
|
5211
|
-
uiSectionTitle:
|
|
5214
|
+
uiRangeSlider: Zi,
|
|
5215
|
+
uiRightSidebar: ui,
|
|
5216
|
+
uiSectionTitle: Wi,
|
|
5212
5217
|
uiSelect: ys,
|
|
5213
5218
|
uiSelectMultiple: ot,
|
|
5214
|
-
uiSelect_v2:
|
|
5219
|
+
uiSelect_v2: je,
|
|
5215
5220
|
uiSidebar: Nr,
|
|
5216
5221
|
uiSidebarV2: ye,
|
|
5217
|
-
uiSmartFilter:
|
|
5222
|
+
uiSmartFilter: zd,
|
|
5218
5223
|
uiStats: st,
|
|
5219
5224
|
uiStripedCard: bn,
|
|
5220
5225
|
uiTable: Vn,
|
|
@@ -5225,71 +5230,71 @@ const ir = /* @__PURE__ */ te(rr, [["render", ar]]), dr = /* @__PURE__ */ B({
|
|
|
5225
5230
|
uiTimeline: ha,
|
|
5226
5231
|
uiToggle: zs,
|
|
5227
5232
|
uiTopbar: Pa,
|
|
5228
|
-
uiWrapper:
|
|
5229
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5233
|
+
uiWrapper: xd
|
|
5234
|
+
}, Symbol.toStringTag, { value: "Module" })), Ld = [
|
|
5230
5235
|
"primary",
|
|
5231
5236
|
"secondary",
|
|
5232
5237
|
"light",
|
|
5233
5238
|
"green",
|
|
5234
5239
|
"yellow",
|
|
5235
5240
|
"red"
|
|
5236
|
-
],
|
|
5241
|
+
], Hd = [
|
|
5237
5242
|
"text",
|
|
5238
5243
|
"email",
|
|
5239
5244
|
"password",
|
|
5240
5245
|
"number",
|
|
5241
5246
|
"date",
|
|
5242
5247
|
"datetime-local"
|
|
5243
|
-
],
|
|
5244
|
-
function
|
|
5248
|
+
], Ad = ["black", "gray", "white"], Ed = [...Ld, ...Ad], Od = ["small", "medium", "big"], Nd = ["bigger", "huge", "massive"], Zd = [...Od, ...Nd], Jd = ["default", "success", "warning", "danger"];
|
|
5249
|
+
function Id(m) {
|
|
5245
5250
|
for (const u in Ne)
|
|
5246
|
-
|
|
5251
|
+
m.component(u, Ne[u]);
|
|
5247
5252
|
}
|
|
5248
|
-
const
|
|
5253
|
+
const Wd = { install: Id };
|
|
5249
5254
|
export {
|
|
5250
|
-
|
|
5251
|
-
|
|
5252
|
-
|
|
5253
|
-
|
|
5254
|
-
|
|
5255
|
-
|
|
5256
|
-
|
|
5257
|
-
|
|
5258
|
-
|
|
5255
|
+
Ed as AllColors,
|
|
5256
|
+
Zd as AllSizes,
|
|
5257
|
+
Nd as BiggerSizes,
|
|
5258
|
+
Ld as Colors,
|
|
5259
|
+
Ad as MonoColors,
|
|
5260
|
+
Od as Sizes,
|
|
5261
|
+
Jd as Types,
|
|
5262
|
+
Hd as UiInputTypes,
|
|
5263
|
+
Wd as default,
|
|
5259
5264
|
qs as uiAlert,
|
|
5260
5265
|
Ws as uiBreadcrumbs,
|
|
5261
5266
|
J as uiButton,
|
|
5262
5267
|
so as uiCard,
|
|
5263
5268
|
lr as uiChart,
|
|
5264
5269
|
Ee as uiCheckbox,
|
|
5265
|
-
|
|
5266
|
-
|
|
5267
|
-
|
|
5268
|
-
|
|
5269
|
-
|
|
5270
|
-
|
|
5270
|
+
Pi as uiCircleChart,
|
|
5271
|
+
Vi as uiDateRange,
|
|
5272
|
+
nd as uiDeviceStatus,
|
|
5273
|
+
Mi as uiDragAndDrop,
|
|
5274
|
+
pe as uiDropdown,
|
|
5275
|
+
kd as uiDynamicStats,
|
|
5271
5276
|
Xe as uiFilter,
|
|
5272
5277
|
ir as uiFooter,
|
|
5273
5278
|
Za as uiFunnelChartV2,
|
|
5274
|
-
|
|
5275
|
-
|
|
5279
|
+
wi as uiGallery,
|
|
5280
|
+
D as uiIcon,
|
|
5276
5281
|
E as uiInput,
|
|
5277
5282
|
cs as uiInputFile,
|
|
5278
5283
|
dr as uiLoadingScreen,
|
|
5279
5284
|
et as uiModal,
|
|
5280
|
-
|
|
5285
|
+
Xa as uiNoResults,
|
|
5281
5286
|
xo as uiNotification,
|
|
5282
5287
|
$r as uiPagination,
|
|
5283
5288
|
Hl as uiPriceCalendar,
|
|
5284
|
-
|
|
5285
|
-
|
|
5286
|
-
|
|
5289
|
+
Zi as uiRangeSlider,
|
|
5290
|
+
ui as uiRightSidebar,
|
|
5291
|
+
Wi as uiSectionTitle,
|
|
5287
5292
|
ys as uiSelect,
|
|
5288
5293
|
ot as uiSelectMultiple,
|
|
5289
|
-
|
|
5294
|
+
je as uiSelect_v2,
|
|
5290
5295
|
Nr as uiSidebar,
|
|
5291
5296
|
ye as uiSidebarV2,
|
|
5292
|
-
|
|
5297
|
+
zd as uiSmartFilter,
|
|
5293
5298
|
st as uiStats,
|
|
5294
5299
|
bn as uiStripedCard,
|
|
5295
5300
|
Vn as uiTable,
|
|
@@ -5300,5 +5305,5 @@ export {
|
|
|
5300
5305
|
ha as uiTimeline,
|
|
5301
5306
|
zs as uiToggle,
|
|
5302
5307
|
Pa as uiTopbar,
|
|
5303
|
-
|
|
5308
|
+
xd as uiWrapper
|
|
5304
5309
|
};
|