@hotelinking/ui 10.44.2 → 10.44.3
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.es.js +699 -696
- package/package.json +1 -1
package/dist/ui.es.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as M, createBlock as k, createElementBlock as n, openBlock as s, resolveDynamicComponent as Oe, normalizeClass as h, createCommentVNode as b, renderSlot as q, createElementVNode as e, ref as N, watch as R, computed as V, unref as c, withCtx as v, createVNode as p, toDisplayString as g, createTextVNode as L, Transition as ce, Fragment as _, renderList as $, withDirectives as C, vModelDynamic as
|
|
2
|
-
import { Menu as be, MenuButton as we, MenuItems as xe, MenuItem as ke, Combobox as Ye, ComboboxLabel as
|
|
1
|
+
import { defineComponent as M, createBlock as k, createElementBlock as n, openBlock as s, resolveDynamicComponent as Oe, normalizeClass as h, createCommentVNode as b, renderSlot as q, createElementVNode as e, ref as N, watch as R, computed as V, unref as c, withCtx as v, createVNode as p, toDisplayString as g, createTextVNode as L, Transition as ce, Fragment as _, renderList as $, withDirectives as C, vModelDynamic as ot, vShow as D, withModifiers as ye, vModelText as X, createStaticVNode as Q, resolveComponent as De, vModelCheckbox as Ie, reactive as ge, isRef as ve, TransitionGroup as lt, onMounted as rt, shallowRef as nt, mergeProps as at } from "vue";
|
|
2
|
+
import { Menu as be, MenuButton as we, MenuItems as xe, MenuItem as ke, Combobox as Ye, ComboboxLabel as it, ComboboxInput as Pe, ComboboxButton as Ve, ComboboxOptions as Fe, ComboboxOption as qe, SwitchGroup as dt, Switch as ut, SwitchLabel as ct, TransitionRoot as _e, Dialog as $e, TransitionChild as G, DialogPanel as Ce, DialogTitle as Re, Disclosure as Se, DisclosureButton as Z, DisclosurePanel as Be, 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 Me from "vue3-apexcharts";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
5
|
+
import ht from "vue3-draggable";
|
|
6
|
+
import vt from "@vueform/slider";
|
|
7
7
|
const j = /* @__PURE__ */ M({
|
|
8
8
|
__name: "uiIcon",
|
|
9
9
|
props: {
|
|
@@ -41,7 +41,7 @@ const j = /* @__PURE__ */ M({
|
|
|
41
41
|
})
|
|
42
42
|
}, null, 8, ["class"]));
|
|
43
43
|
}
|
|
44
|
-
}),
|
|
44
|
+
}), bt = ["disabled"], wt = {
|
|
45
45
|
key: 1,
|
|
46
46
|
class: "animate-pulse px-4 py-2.5 text-sm rounded-md inline-flex items-center border border-transparent font-medium shadow-sm text-white focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:opacity-25 bg-gray-200"
|
|
47
47
|
}, J = /* @__PURE__ */ M({
|
|
@@ -55,7 +55,7 @@ const j = /* @__PURE__ */ M({
|
|
|
55
55
|
size: { default: "medium" }
|
|
56
56
|
},
|
|
57
57
|
setup(m) {
|
|
58
|
-
return (i, l) => i.loading ? (s(), n("button",
|
|
58
|
+
return (i, l) => i.loading ? (s(), n("button", wt, [
|
|
59
59
|
i.icon ? (s(), k(j, {
|
|
60
60
|
key: 0,
|
|
61
61
|
icon: i.icon,
|
|
@@ -88,12 +88,12 @@ const j = /* @__PURE__ */ M({
|
|
|
88
88
|
loading: i.loading
|
|
89
89
|
}, null, 8, ["icon", "loading"])) : b("", !0),
|
|
90
90
|
q(i.$slots, "default")
|
|
91
|
-
], 10,
|
|
91
|
+
], 10, bt));
|
|
92
92
|
}
|
|
93
|
-
}),
|
|
93
|
+
}), xt = {
|
|
94
94
|
key: 0,
|
|
95
95
|
class: "relative flex items-start"
|
|
96
|
-
},
|
|
96
|
+
}, kt = { class: "flex items-center h-5" }, _t = ["checked", "value", "disabled"], $t = { class: "ml-3 text-sm" }, Ct = { class: "text-gray-500" }, St = {
|
|
97
97
|
key: 1,
|
|
98
98
|
class: "flex items-center animate-pulse"
|
|
99
99
|
}, Ue = /* @__PURE__ */ M({
|
|
@@ -112,11 +112,11 @@ const j = /* @__PURE__ */ M({
|
|
|
112
112
|
};
|
|
113
113
|
return R(() => a.check, (t) => {
|
|
114
114
|
t && (r.value = t);
|
|
115
|
-
}), (t, d) => t.loading ? (s(), n("div",
|
|
115
|
+
}), (t, d) => t.loading ? (s(), n("div", St, d[1] || (d[1] = [
|
|
116
116
|
e("div", { class: "w-5 h-5 rounded bg-gray-200" }, null, -1),
|
|
117
117
|
e("div", { class: "ml-3 h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28" }, null, -1)
|
|
118
|
-
]))) : (s(), n("div",
|
|
119
|
-
e("div",
|
|
118
|
+
]))) : (s(), n("div", xt, [
|
|
119
|
+
e("div", kt, [
|
|
120
120
|
e("input", {
|
|
121
121
|
checked: t.check,
|
|
122
122
|
value: t.value,
|
|
@@ -124,17 +124,17 @@ const j = /* @__PURE__ */ M({
|
|
|
124
124
|
class: "focus:ring-indigo-500 h-4 w-4 text-indigo-600 border-gray-300 rounded disabled:opacity-25",
|
|
125
125
|
type: "checkbox",
|
|
126
126
|
onChange: d[0] || (d[0] = (u) => o())
|
|
127
|
-
}, null, 40,
|
|
127
|
+
}, null, 40, _t)
|
|
128
128
|
]),
|
|
129
|
-
e("div",
|
|
130
|
-
e("span",
|
|
129
|
+
e("div", $t, [
|
|
130
|
+
e("span", Ct, [
|
|
131
131
|
q(t.$slots, "default")
|
|
132
132
|
])
|
|
133
133
|
])
|
|
134
134
|
]));
|
|
135
135
|
}
|
|
136
136
|
});
|
|
137
|
-
function
|
|
137
|
+
function Bt(m, i) {
|
|
138
138
|
return s(), n("svg", {
|
|
139
139
|
xmlns: "http://www.w3.org/2000/svg",
|
|
140
140
|
fill: "none",
|
|
@@ -151,7 +151,7 @@ function St(m, i) {
|
|
|
151
151
|
})
|
|
152
152
|
]);
|
|
153
153
|
}
|
|
154
|
-
function
|
|
154
|
+
function Mt(m, i) {
|
|
155
155
|
return s(), n("svg", {
|
|
156
156
|
xmlns: "http://www.w3.org/2000/svg",
|
|
157
157
|
fill: "none",
|
|
@@ -168,7 +168,7 @@ function Bt(m, i) {
|
|
|
168
168
|
})
|
|
169
169
|
]);
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function Dt(m, i) {
|
|
172
172
|
return s(), n("svg", {
|
|
173
173
|
xmlns: "http://www.w3.org/2000/svg",
|
|
174
174
|
fill: "none",
|
|
@@ -219,7 +219,7 @@ function Ee(m, i) {
|
|
|
219
219
|
})
|
|
220
220
|
]);
|
|
221
221
|
}
|
|
222
|
-
function
|
|
222
|
+
function jt(m, i) {
|
|
223
223
|
return s(), n("svg", {
|
|
224
224
|
xmlns: "http://www.w3.org/2000/svg",
|
|
225
225
|
fill: "none",
|
|
@@ -236,7 +236,7 @@ function Dt(m, i) {
|
|
|
236
236
|
})
|
|
237
237
|
]);
|
|
238
238
|
}
|
|
239
|
-
function
|
|
239
|
+
function Tt(m, i) {
|
|
240
240
|
return s(), n("svg", {
|
|
241
241
|
xmlns: "http://www.w3.org/2000/svg",
|
|
242
242
|
fill: "none",
|
|
@@ -372,7 +372,7 @@ function We(m, i) {
|
|
|
372
372
|
})
|
|
373
373
|
]);
|
|
374
374
|
}
|
|
375
|
-
function
|
|
375
|
+
function zt(m, i) {
|
|
376
376
|
return s(), n("svg", {
|
|
377
377
|
xmlns: "http://www.w3.org/2000/svg",
|
|
378
378
|
fill: "none",
|
|
@@ -406,7 +406,7 @@ function H(m, i) {
|
|
|
406
406
|
})
|
|
407
407
|
]);
|
|
408
408
|
}
|
|
409
|
-
function
|
|
409
|
+
function Lt(m, i) {
|
|
410
410
|
return s(), n("svg", {
|
|
411
411
|
xmlns: "http://www.w3.org/2000/svg",
|
|
412
412
|
fill: "none",
|
|
@@ -423,7 +423,7 @@ function zt(m, i) {
|
|
|
423
423
|
})
|
|
424
424
|
]);
|
|
425
425
|
}
|
|
426
|
-
function
|
|
426
|
+
function At(m, i) {
|
|
427
427
|
return s(), n("svg", {
|
|
428
428
|
xmlns: "http://www.w3.org/2000/svg",
|
|
429
429
|
fill: "none",
|
|
@@ -440,7 +440,7 @@ function Lt(m, i) {
|
|
|
440
440
|
})
|
|
441
441
|
]);
|
|
442
442
|
}
|
|
443
|
-
function
|
|
443
|
+
function Nt(m, i) {
|
|
444
444
|
return s(), n("svg", {
|
|
445
445
|
xmlns: "http://www.w3.org/2000/svg",
|
|
446
446
|
fill: "none",
|
|
@@ -457,7 +457,7 @@ function At(m, i) {
|
|
|
457
457
|
})
|
|
458
458
|
]);
|
|
459
459
|
}
|
|
460
|
-
function
|
|
460
|
+
function Ot(m, i) {
|
|
461
461
|
return s(), n("svg", {
|
|
462
462
|
xmlns: "http://www.w3.org/2000/svg",
|
|
463
463
|
fill: "none",
|
|
@@ -491,7 +491,7 @@ function Ge(m, i) {
|
|
|
491
491
|
})
|
|
492
492
|
]);
|
|
493
493
|
}
|
|
494
|
-
function
|
|
494
|
+
function It(m, i) {
|
|
495
495
|
return s(), n("svg", {
|
|
496
496
|
xmlns: "http://www.w3.org/2000/svg",
|
|
497
497
|
fill: "none",
|
|
@@ -508,7 +508,7 @@ function Ot(m, i) {
|
|
|
508
508
|
})
|
|
509
509
|
]);
|
|
510
510
|
}
|
|
511
|
-
function
|
|
511
|
+
function Yt(m, i) {
|
|
512
512
|
return s(), n("svg", {
|
|
513
513
|
xmlns: "http://www.w3.org/2000/svg",
|
|
514
514
|
fill: "none",
|
|
@@ -525,7 +525,7 @@ function It(m, i) {
|
|
|
525
525
|
})
|
|
526
526
|
]);
|
|
527
527
|
}
|
|
528
|
-
function
|
|
528
|
+
function Pt(m, i) {
|
|
529
529
|
return s(), n("svg", {
|
|
530
530
|
xmlns: "http://www.w3.org/2000/svg",
|
|
531
531
|
fill: "none",
|
|
@@ -576,13 +576,13 @@ function W(m, i) {
|
|
|
576
576
|
})
|
|
577
577
|
]);
|
|
578
578
|
}
|
|
579
|
-
const
|
|
579
|
+
const Vt = { class: "flex justify-between sha" }, Ft = {
|
|
580
580
|
key: 0,
|
|
581
581
|
class: "block text-sm font-medium text-gray-700 mb-1"
|
|
582
|
-
},
|
|
582
|
+
}, qt = {
|
|
583
583
|
key: 1,
|
|
584
584
|
class: "place-self-center text-[10px] text-gray-500 uppercase justify-self-end mt-1"
|
|
585
|
-
},
|
|
585
|
+
}, Rt = { class: "-py-1" }, Ut = ["onClick"], Ht = {
|
|
586
586
|
key: 1,
|
|
587
587
|
class: "animate-pulse px-4 py-2 bg-gray-200 rounded-md inline-flex items-center relative text-left"
|
|
588
588
|
}, fe = /* @__PURE__ */ M({
|
|
@@ -604,7 +604,7 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
604
604
|
}), o = (t) => {
|
|
605
605
|
a.disabled || l("optionSelected", t);
|
|
606
606
|
};
|
|
607
|
-
return (t, d) => t.loading ? (s(), n("div",
|
|
607
|
+
return (t, d) => t.loading ? (s(), n("div", Ht, [
|
|
608
608
|
d[0] || (d[0] = e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28" }, null, -1)),
|
|
609
609
|
p(c(de), {
|
|
610
610
|
"aria-hidden": "true",
|
|
@@ -617,9 +617,9 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
617
617
|
}, {
|
|
618
618
|
default: v(() => [
|
|
619
619
|
e("div", null, [
|
|
620
|
-
e("div",
|
|
621
|
-
t.label ? (s(), n("label",
|
|
622
|
-
t.requiredText ? (s(), n("span",
|
|
620
|
+
e("div", Vt, [
|
|
621
|
+
t.label ? (s(), n("label", Ft, g(t.label), 1)) : b("", !0),
|
|
622
|
+
t.requiredText ? (s(), n("span", qt, g(t.requiredText), 1)) : b("", !0)
|
|
623
623
|
]),
|
|
624
624
|
p(c(we), { 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" }, {
|
|
625
625
|
default: v(() => [
|
|
@@ -657,7 +657,7 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
657
657
|
}, "origin-top-right absolute w-56 rounded-md bg-white ring-1 ring-black ring-opacity-5 focus:outline-none z-10"])
|
|
658
658
|
}, {
|
|
659
659
|
default: v(() => [
|
|
660
|
-
e("div",
|
|
660
|
+
e("div", Rt, [
|
|
661
661
|
(s(!0), n(_, null, $(t.items, (u, f) => (s(), k(c(ke), { key: f }, {
|
|
662
662
|
default: v(() => [
|
|
663
663
|
e("a", {
|
|
@@ -666,7 +666,7 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
666
666
|
u.active ? "bg-gray-100 text-gray-900" : "text-gray-700",
|
|
667
667
|
"block px-4 py-2 text-sm cursor-pointer"
|
|
668
668
|
])
|
|
669
|
-
}, g(u.name), 11,
|
|
669
|
+
}, g(u.name), 11, Ut)
|
|
670
670
|
]),
|
|
671
671
|
_: 2
|
|
672
672
|
}, 1024))), 128))
|
|
@@ -681,16 +681,16 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
681
681
|
_: 1
|
|
682
682
|
}, 8, ["class"]));
|
|
683
683
|
}
|
|
684
|
-
}),
|
|
684
|
+
}), Et = { key: 0 }, Zt = { class: "flex justify-between" }, Jt = {
|
|
685
685
|
key: 0,
|
|
686
686
|
class: "block text-sm font-medium text-gray-700"
|
|
687
|
-
},
|
|
687
|
+
}, Wt = {
|
|
688
688
|
key: 1,
|
|
689
689
|
class: "place-self-center text-[10px] text-gray-500 uppercase justify-self-end"
|
|
690
|
-
},
|
|
690
|
+
}, Gt = ["max", "disabled", "name", "placeholder", "type"], Qt = { class: "absolute inset-y-0 right-0 pr-3 flex items-center pointer-events-none" }, Kt = {
|
|
691
691
|
key: 1,
|
|
692
692
|
class: "animate-pulse"
|
|
693
|
-
},
|
|
693
|
+
}, Xt = {
|
|
694
694
|
key: 0,
|
|
695
695
|
class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-2/3 md:w-1/4 mb-1.5"
|
|
696
696
|
}, E = /* @__PURE__ */ M({
|
|
@@ -721,15 +721,15 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
721
721
|
const o = (t) => {
|
|
722
722
|
t.target.name && l("inputChanged", { value: t.target.value, name: t.target.name });
|
|
723
723
|
};
|
|
724
|
-
return (t, d) => t.loading ? (s(), n("div",
|
|
725
|
-
t.label !== void 0 ? (s(), n("div",
|
|
724
|
+
return (t, d) => t.loading ? (s(), n("div", Kt, [
|
|
725
|
+
t.label !== void 0 ? (s(), n("div", Xt)) : b("", !0),
|
|
726
726
|
d[3] || (d[3] = e("div", { class: "animate-pulse px-4 py-3.5 bg-gray-200 rounded-md inline-flex items-center relative text-left w-full" }, [
|
|
727
727
|
e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28" })
|
|
728
728
|
], -1))
|
|
729
|
-
])) : (s(), n("div",
|
|
730
|
-
e("div",
|
|
731
|
-
t.label ? (s(), n("label",
|
|
732
|
-
t.requiredText ? (s(), n("span",
|
|
729
|
+
])) : (s(), n("div", Et, [
|
|
730
|
+
e("div", Zt, [
|
|
731
|
+
t.label ? (s(), n("label", Jt, g(t.label), 1)) : b("", !0),
|
|
732
|
+
t.requiredText ? (s(), n("span", Wt, g(t.requiredText), 1)) : b("", !0)
|
|
733
733
|
]),
|
|
734
734
|
e("div", {
|
|
735
735
|
class: h([{ "mt-1": t.label }, "relative flex"])
|
|
@@ -763,15 +763,15 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
763
763
|
placeholder: t.placeholder,
|
|
764
764
|
type: t.type,
|
|
765
765
|
onInput: o
|
|
766
|
-
}, null, 42,
|
|
767
|
-
[
|
|
766
|
+
}, null, 42, Gt), [
|
|
767
|
+
[ot, r.value]
|
|
768
768
|
]),
|
|
769
769
|
t.rightAddOn ? (s(), n("span", {
|
|
770
770
|
key: 1,
|
|
771
771
|
onClick: d[2] || (d[2] = (u) => t.$emit("rightAddOnClicked")),
|
|
772
772
|
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"
|
|
773
773
|
}, g(t.rightAddOn), 1)) : b("", !0),
|
|
774
|
-
e("div",
|
|
774
|
+
e("div", Qt, [
|
|
775
775
|
t.icon ? (s(), k(j, {
|
|
776
776
|
key: 0,
|
|
777
777
|
icon: t.icon,
|
|
@@ -813,16 +813,16 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
813
813
|
])
|
|
814
814
|
]));
|
|
815
815
|
}
|
|
816
|
-
}),
|
|
816
|
+
}), es = { key: 0 }, ts = { class: "flex justify-between" }, ss = {
|
|
817
817
|
key: 0,
|
|
818
818
|
class: "block text-sm font-medium text-gray-700"
|
|
819
|
-
},
|
|
819
|
+
}, os = {
|
|
820
820
|
key: 1,
|
|
821
821
|
class: "place-self-center text-[10px] text-gray-500 uppercase"
|
|
822
|
-
},
|
|
822
|
+
}, ls = { class: "space-y-1 flex flex-col items-center justify-center" }, rs = { class: "flex text-sm text-gray-600 flex-col sm:flex-row text-center" }, ns = ["for"], as = ["id", "name", "accept"], is = { class: "pl-1" }, ds = { class: "text-xs text-gray-500 pb-4" }, us = { class: "mt-2 text-xs flex flex-row items-center text-red-300" }, cs = {
|
|
823
823
|
key: 1,
|
|
824
824
|
class: "animate-pulse"
|
|
825
|
-
},
|
|
825
|
+
}, gs = /* @__PURE__ */ M({
|
|
826
826
|
__name: "uiInputFile",
|
|
827
827
|
props: {
|
|
828
828
|
name: {},
|
|
@@ -833,7 +833,7 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
833
833
|
fileTypesAndSizes: {},
|
|
834
834
|
error: {},
|
|
835
835
|
accept: {},
|
|
836
|
-
icon: { default:
|
|
836
|
+
icon: { default: Mt },
|
|
837
837
|
loading: { type: Boolean, default: !0 },
|
|
838
838
|
label: {}
|
|
839
839
|
},
|
|
@@ -851,16 +851,16 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
851
851
|
f++, l.value += y.name, f >= 1 && f < u.length && (l.value += ", ");
|
|
852
852
|
});
|
|
853
853
|
};
|
|
854
|
-
return (u, f) => u.loading ? (s(), n("div",
|
|
854
|
+
return (u, f) => u.loading ? (s(), n("div", cs, f[1] || (f[1] = [
|
|
855
855
|
e("div", { class: "flex justify-center items-center flex-col rounded-md border-2 border-dashed px-6 pt-5 pb-6 border-gray-200" }, [
|
|
856
856
|
e("div", { class: "rounded-full h-20 w-20 bg-gray-200 mb-4" }),
|
|
857
857
|
e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full md:w-1/3 mb-3" }),
|
|
858
858
|
e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full md:w-1/4 mb-3" })
|
|
859
859
|
], -1)
|
|
860
|
-
]))) : (s(), n("div",
|
|
861
|
-
e("div",
|
|
862
|
-
u.label ? (s(), n("label",
|
|
863
|
-
u.requiredText ? (s(), n("span",
|
|
860
|
+
]))) : (s(), n("div", es, [
|
|
861
|
+
e("div", ts, [
|
|
862
|
+
u.label ? (s(), n("label", ss, g(u.label), 1)) : b("", !0),
|
|
863
|
+
u.requiredText ? (s(), n("span", os, g(u.requiredText), 1)) : b("", !0)
|
|
864
864
|
]),
|
|
865
865
|
e("div", {
|
|
866
866
|
class: h([
|
|
@@ -875,7 +875,7 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
875
875
|
}, ["prevent"])),
|
|
876
876
|
onDrop: ye(o, ["prevent"])
|
|
877
877
|
}, [
|
|
878
|
-
e("div",
|
|
878
|
+
e("div", ls, [
|
|
879
879
|
p(j, {
|
|
880
880
|
icon: u.icon,
|
|
881
881
|
size: "massive",
|
|
@@ -884,7 +884,7 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
884
884
|
class: "mb-4",
|
|
885
885
|
loading: u.loading
|
|
886
886
|
}, null, 8, ["icon", "loading"]),
|
|
887
|
-
e("div",
|
|
887
|
+
e("div", rs, [
|
|
888
888
|
e("label", {
|
|
889
889
|
for: u.id,
|
|
890
890
|
class: "relative cursor-pointer rounded-md font-medium text-indigo-600 focus-within:outline-none focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 hover:text-indigo-500"
|
|
@@ -898,17 +898,17 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
898
898
|
accept: u.accept,
|
|
899
899
|
multiple: "",
|
|
900
900
|
onChange: t
|
|
901
|
-
}, null, 40,
|
|
902
|
-
], 8,
|
|
903
|
-
e("p",
|
|
901
|
+
}, null, 40, as)
|
|
902
|
+
], 8, ns),
|
|
903
|
+
e("p", is, g(u.dragAndDrop), 1)
|
|
904
904
|
]),
|
|
905
|
-
e("p",
|
|
905
|
+
e("p", ds, g(u.fileTypesAndSizes), 1),
|
|
906
906
|
C(e("p", { class: "font-bold text-xs uppercase block p-2 bg-gray-200 rounded" }, g(c(l)), 513), [
|
|
907
907
|
[D, c(l) !== null]
|
|
908
908
|
])
|
|
909
909
|
])
|
|
910
910
|
], 34),
|
|
911
|
-
C(e("p",
|
|
911
|
+
C(e("p", us, [
|
|
912
912
|
p(j, {
|
|
913
913
|
icon: c(me),
|
|
914
914
|
color: "red",
|
|
@@ -921,10 +921,10 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
921
921
|
])
|
|
922
922
|
]));
|
|
923
923
|
}
|
|
924
|
-
}),
|
|
924
|
+
}), ps = { class: "flex justify-between" }, ms = {
|
|
925
925
|
key: 0,
|
|
926
926
|
class: "text-[10px] text-gray-500 uppercase justify-self-end"
|
|
927
|
-
},
|
|
927
|
+
}, fs = { class: "relative" }, ys = {
|
|
928
928
|
key: 1,
|
|
929
929
|
class: "animate-pulse px-4 py-2.5 bg-gray-200 rounded-md flex justify-between items-center w-full"
|
|
930
930
|
}, Qe = /* @__PURE__ */ M({
|
|
@@ -952,7 +952,7 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
952
952
|
});
|
|
953
953
|
return i({
|
|
954
954
|
handleChange: u
|
|
955
|
-
}), (y, w) => y.loading ? (s(), n("div",
|
|
955
|
+
}), (y, w) => y.loading ? (s(), n("div", ys, [
|
|
956
956
|
w[3] || (w[3] = e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, null, -1)),
|
|
957
957
|
p(c(ue), {
|
|
958
958
|
"aria-hidden": "true",
|
|
@@ -969,16 +969,16 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
969
969
|
as: "div"
|
|
970
970
|
}, {
|
|
971
971
|
default: v(() => [
|
|
972
|
-
e("div",
|
|
973
|
-
p(c(
|
|
972
|
+
e("div", ps, [
|
|
973
|
+
p(c(it), { class: "block text-sm font-medium" }, {
|
|
974
974
|
default: v(() => [
|
|
975
975
|
L(g(y.label), 1)
|
|
976
976
|
]),
|
|
977
977
|
_: 1
|
|
978
978
|
}),
|
|
979
|
-
y.requiredText ? (s(), n("span",
|
|
979
|
+
y.requiredText ? (s(), n("span", ms, g(y.requiredText), 1)) : b("", !0)
|
|
980
980
|
]),
|
|
981
|
-
e("div",
|
|
981
|
+
e("div", fs, [
|
|
982
982
|
p(c(Pe), {
|
|
983
983
|
onChange: w[0] || (w[0] = (T) => a.value = T.target.value),
|
|
984
984
|
onBlur: w[1] || (w[1] = (T) => a.value = ""),
|
|
@@ -1062,7 +1062,7 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
1062
1062
|
_: 1
|
|
1063
1063
|
}, 8, ["modelValue", "disabled"]));
|
|
1064
1064
|
}
|
|
1065
|
-
}),
|
|
1065
|
+
}), hs = {
|
|
1066
1066
|
key: 1,
|
|
1067
1067
|
class: "inline-flex items-center px-3 py-2.5 rounded text-xs font-medium leading-none animate-pulse bg-gray-200"
|
|
1068
1068
|
}, U = /* @__PURE__ */ M({
|
|
@@ -1080,7 +1080,7 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
1080
1080
|
const l = i, a = m, r = () => {
|
|
1081
1081
|
a.event != null && l("tagEvent", a.event);
|
|
1082
1082
|
};
|
|
1083
|
-
return (o, t) => o.loading ? (s(), n("div",
|
|
1083
|
+
return (o, t) => o.loading ? (s(), n("div", hs, t[0] || (t[0] = [
|
|
1084
1084
|
e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-12" }, null, -1)
|
|
1085
1085
|
]))) : (s(), n("span", {
|
|
1086
1086
|
key: 0,
|
|
@@ -1104,16 +1104,16 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
1104
1104
|
q(o.$slots, "default")
|
|
1105
1105
|
], 2));
|
|
1106
1106
|
}
|
|
1107
|
-
}),
|
|
1107
|
+
}), vs = { key: 0 }, bs = { class: "flex justify-between" }, ws = {
|
|
1108
1108
|
key: 0,
|
|
1109
1109
|
class: "block text-sm font-medium text-gray-700"
|
|
1110
|
-
},
|
|
1110
|
+
}, xs = {
|
|
1111
1111
|
key: 1,
|
|
1112
1112
|
class: "text-[10px] text-gray-500 uppercase justify-self-end"
|
|
1113
|
-
},
|
|
1113
|
+
}, ks = ["disabled", "placeholder"], _s = {
|
|
1114
1114
|
key: 1,
|
|
1115
1115
|
class: "animate-pulse"
|
|
1116
|
-
},
|
|
1116
|
+
}, $s = /* @__PURE__ */ M({
|
|
1117
1117
|
__name: "uiTextArea",
|
|
1118
1118
|
props: {
|
|
1119
1119
|
name: {},
|
|
@@ -1133,13 +1133,13 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
1133
1133
|
}, o = N(a.value);
|
|
1134
1134
|
return R(() => a.value, (t) => {
|
|
1135
1135
|
o.value = t, l("inputChanged", { name: a.name, value: o.value });
|
|
1136
|
-
}), (t, d) => t.loading ? (s(), n("div",
|
|
1136
|
+
}), (t, d) => t.loading ? (s(), n("div", _s, d[1] || (d[1] = [
|
|
1137
1137
|
e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-2/3 md:w-1/4 mb-1.5" }, null, -1),
|
|
1138
1138
|
e("div", { class: "h-24 bg-gray-200 rounded-lg flex inline-flex items-center relative inline-block text-left w-full" }, null, -1)
|
|
1139
|
-
]))) : (s(), n("div",
|
|
1140
|
-
e("div",
|
|
1141
|
-
t.label ? (s(), n("label",
|
|
1142
|
-
t.requiredText ? (s(), n("span",
|
|
1139
|
+
]))) : (s(), n("div", vs, [
|
|
1140
|
+
e("div", bs, [
|
|
1141
|
+
t.label ? (s(), n("label", ws, g(t.label), 1)) : b("", !0),
|
|
1142
|
+
t.requiredText ? (s(), n("span", xs, g(t.requiredText), 1)) : b("", !0)
|
|
1143
1143
|
]),
|
|
1144
1144
|
e("div", {
|
|
1145
1145
|
class: h({ "mt-1": t.label })
|
|
@@ -1161,7 +1161,7 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
1161
1161
|
"text-green-400": t.color === "green"
|
|
1162
1162
|
}]),
|
|
1163
1163
|
onChange: r
|
|
1164
|
-
}, null, 42,
|
|
1164
|
+
}, null, 42, ks), [
|
|
1165
1165
|
[X, o.value]
|
|
1166
1166
|
])
|
|
1167
1167
|
], 2),
|
|
@@ -1185,13 +1185,13 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
1185
1185
|
])
|
|
1186
1186
|
]));
|
|
1187
1187
|
}
|
|
1188
|
-
}),
|
|
1188
|
+
}), Cs = { class: "text-sm font-medium text-gray-900" }, Ss = {
|
|
1189
1189
|
key: 0,
|
|
1190
1190
|
class: "text-sm text-gray-500 ml-2"
|
|
1191
|
-
},
|
|
1191
|
+
}, Bs = {
|
|
1192
1192
|
key: 1,
|
|
1193
1193
|
class: "animate-pulse flex items-center"
|
|
1194
|
-
},
|
|
1194
|
+
}, Ms = /* @__PURE__ */ M({
|
|
1195
1195
|
__name: "uiToggle",
|
|
1196
1196
|
props: {
|
|
1197
1197
|
item: {},
|
|
@@ -1202,18 +1202,18 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
1202
1202
|
emits: ["toggleChanged", "actionClicked"],
|
|
1203
1203
|
setup(m, { emit: i }) {
|
|
1204
1204
|
const l = m, a = N(l.checked);
|
|
1205
|
-
return R(() => l.checked, (r) => a.value = r), (r, o) => r.loading ? (s(), n("div",
|
|
1205
|
+
return R(() => l.checked, (r) => a.value = r), (r, o) => r.loading ? (s(), n("div", Bs, o[3] || (o[3] = [
|
|
1206
1206
|
e("div", { class: "relative bg-gray-200 rounded-full w-12 h-6 p-1 flex items-center" }, [
|
|
1207
1207
|
e("div", { class: "rounded-full bg-gray-300 dark:bg-gray-400 h-4 w-4" })
|
|
1208
1208
|
], -1),
|
|
1209
1209
|
e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-16 ml-2" }, null, -1)
|
|
1210
|
-
]))) : (s(), k(c(
|
|
1210
|
+
]))) : (s(), k(c(dt), {
|
|
1211
1211
|
key: 0,
|
|
1212
1212
|
as: "div",
|
|
1213
1213
|
class: "flex items-center relative"
|
|
1214
1214
|
}, {
|
|
1215
1215
|
default: v(() => [
|
|
1216
|
-
p(c(
|
|
1216
|
+
p(c(ut), {
|
|
1217
1217
|
disabled: r.disabled,
|
|
1218
1218
|
onClick: o[0] || (o[0] = (t) => r.$emit("toggleChanged", { item: r.item, active: !a.value })),
|
|
1219
1219
|
modelValue: a.value,
|
|
@@ -1235,13 +1235,13 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
1235
1235
|
]),
|
|
1236
1236
|
_: 1
|
|
1237
1237
|
}, 8, ["disabled", "modelValue", "class"]),
|
|
1238
|
-
p(c(
|
|
1238
|
+
p(c(ct), {
|
|
1239
1239
|
as: "span",
|
|
1240
1240
|
class: "ml-3"
|
|
1241
1241
|
}, {
|
|
1242
1242
|
default: v(() => [
|
|
1243
|
-
e("span",
|
|
1244
|
-
r.item.subtitle ? (s(), n("span",
|
|
1243
|
+
e("span", Cs, g(r.item.title), 1),
|
|
1244
|
+
r.item.subtitle ? (s(), n("span", Ss, g(r.item.subtitle), 1)) : b("", !0)
|
|
1245
1245
|
]),
|
|
1246
1246
|
_: 1
|
|
1247
1247
|
}),
|
|
@@ -1254,13 +1254,13 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
1254
1254
|
_: 1
|
|
1255
1255
|
}));
|
|
1256
1256
|
}
|
|
1257
|
-
}),
|
|
1257
|
+
}), Ds = {
|
|
1258
1258
|
key: 0,
|
|
1259
1259
|
class: "flex flex-col"
|
|
1260
|
-
},
|
|
1260
|
+
}, js = { class: "flex" }, Ts = { class: "flex-shrink-0" }, zs = { class: "ml-3" }, Ls = { class: "mt-4" }, As = { class: "-mx-2 -my-1.5 flex" }, Ns = ["onClick"], Os = {
|
|
1261
1261
|
key: 1,
|
|
1262
1262
|
class: "flex flex-col animate-pulse"
|
|
1263
|
-
},
|
|
1263
|
+
}, Is = /* @__PURE__ */ M({
|
|
1264
1264
|
__name: "uiAlert",
|
|
1265
1265
|
props: {
|
|
1266
1266
|
actions: {},
|
|
@@ -1273,9 +1273,9 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
1273
1273
|
const l = i, a = (r) => {
|
|
1274
1274
|
l("alertEvent", r.event);
|
|
1275
1275
|
};
|
|
1276
|
-
return (r, o) => r.loading ? (s(), n("div",
|
|
1276
|
+
return (r, o) => r.loading ? (s(), n("div", Os, o[0] || (o[0] = [
|
|
1277
1277
|
Q('<div class="p-4 border-l-4 bg-gray-100 border-gray-400 rounded"><div class="flex"><div class="flex-shrink-0"><div class="h-6 w-6 animate-pulse rounded-full bg-gray-200 dark:bg-gray-300"></div></div><div class="ml-3 w-full"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-2/3 mb-2"></div><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full mb-2"></div><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-3/5"></div></div></div></div>', 1)
|
|
1278
|
-
]))) : (s(), n("div",
|
|
1278
|
+
]))) : (s(), n("div", Ds, [
|
|
1279
1279
|
e("div", {
|
|
1280
1280
|
class: h([{
|
|
1281
1281
|
"bg-indigo-50 border-indigo-400": r.type === "info",
|
|
@@ -1284,8 +1284,8 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
1284
1284
|
"bg-green-50 border-green-400": r.type === "success"
|
|
1285
1285
|
}, "p-4 border-l-4 rounded"])
|
|
1286
1286
|
}, [
|
|
1287
|
-
e("div",
|
|
1288
|
-
e("div",
|
|
1287
|
+
e("div", js, [
|
|
1288
|
+
e("div", Ts, [
|
|
1289
1289
|
r.type === "info" ? (s(), k(c(Ge), {
|
|
1290
1290
|
key: 0,
|
|
1291
1291
|
class: "h-8 w-8 text-indigo-400",
|
|
@@ -1307,7 +1307,7 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
1307
1307
|
"aria-hidden": "true"
|
|
1308
1308
|
})) : b("", !0)
|
|
1309
1309
|
]),
|
|
1310
|
-
e("div",
|
|
1310
|
+
e("div", zs, [
|
|
1311
1311
|
e("h3", {
|
|
1312
1312
|
class: h([{
|
|
1313
1313
|
"text-red-800": r.type === "danger",
|
|
@@ -1324,8 +1324,8 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
1324
1324
|
}, [
|
|
1325
1325
|
q(r.$slots, "default")
|
|
1326
1326
|
], 2),
|
|
1327
|
-
e("div",
|
|
1328
|
-
e("div",
|
|
1327
|
+
e("div", Ls, [
|
|
1328
|
+
e("div", As, [
|
|
1329
1329
|
(s(!0), n(_, null, $(r.actions, (t, d) => (s(), n("button", {
|
|
1330
1330
|
onClick: (u) => a(t),
|
|
1331
1331
|
type: "button",
|
|
@@ -1339,7 +1339,7 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
1339
1339
|
},
|
|
1340
1340
|
"px-2 py-1.5 text-sm font-medium rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2"
|
|
1341
1341
|
])
|
|
1342
|
-
}, g(t.name), 11,
|
|
1342
|
+
}, g(t.name), 11, Ns))), 128))
|
|
1343
1343
|
])
|
|
1344
1344
|
])
|
|
1345
1345
|
])
|
|
@@ -1347,20 +1347,20 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
1347
1347
|
], 2)
|
|
1348
1348
|
]));
|
|
1349
1349
|
}
|
|
1350
|
-
}),
|
|
1350
|
+
}), Ys = {
|
|
1351
1351
|
key: 0,
|
|
1352
1352
|
class: "inline-flex",
|
|
1353
1353
|
"aria-label": "Breadcrumb"
|
|
1354
|
-
},
|
|
1354
|
+
}, Ps = {
|
|
1355
1355
|
role: "list",
|
|
1356
1356
|
class: "flex items-center space-x-4 text-xs"
|
|
1357
|
-
},
|
|
1357
|
+
}, Vs = { key: 0 }, Fs = ["onClick"], qs = {
|
|
1358
1358
|
key: 1,
|
|
1359
1359
|
class: "flex items-center"
|
|
1360
|
-
},
|
|
1360
|
+
}, Rs = ["onClick"], Us = {
|
|
1361
1361
|
key: 1,
|
|
1362
1362
|
class: "flex flex-row items-center animate-pulse"
|
|
1363
|
-
},
|
|
1363
|
+
}, Hs = /* @__PURE__ */ M({
|
|
1364
1364
|
__name: "uiBreadcrumbs",
|
|
1365
1365
|
props: {
|
|
1366
1366
|
pages: {},
|
|
@@ -1368,26 +1368,26 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
1368
1368
|
},
|
|
1369
1369
|
emits: ["breadCrumbClicked"],
|
|
1370
1370
|
setup(m, { emit: i }) {
|
|
1371
|
-
return (l, a) => l.loading ? (s(), n("div",
|
|
1371
|
+
return (l, a) => l.loading ? (s(), n("div", Us, a[0] || (a[0] = [
|
|
1372
1372
|
e("div", { class: "animate-pulse rounded-full bg-gray-200 dark:bg-gray-300 h-4 w-4 mr-4" }, null, -1),
|
|
1373
1373
|
e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/5 mr-4" }, null, -1),
|
|
1374
1374
|
e("div", { class: "animate-pulse rounded-full bg-gray-200 dark:bg-gray-300 h-4 w-4 mr-4" }, null, -1),
|
|
1375
1375
|
e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/5" }, null, -1)
|
|
1376
|
-
]))) : (s(), n("nav",
|
|
1377
|
-
e("ol",
|
|
1376
|
+
]))) : (s(), n("nav", Ys, [
|
|
1377
|
+
e("ol", Ps, [
|
|
1378
1378
|
(s(!0), n(_, null, $(l.pages, (r, o) => (s(), n("li", { key: o }, [
|
|
1379
|
-
o == 0 ? (s(), n("div",
|
|
1379
|
+
o == 0 ? (s(), n("div", Vs, [
|
|
1380
1380
|
e("p", {
|
|
1381
1381
|
onClick: (t) => l.$emit("breadCrumbClicked", r.routeName),
|
|
1382
1382
|
class: "flex flex-row items-center justify-center text-indigo-600 hover:text-indigo-800 cursor-pointer"
|
|
1383
1383
|
}, [
|
|
1384
|
-
p(c(
|
|
1384
|
+
p(c(Ot), {
|
|
1385
1385
|
class: "flex-shrink-0 h-3 w-3 text-gray-400 mr-4",
|
|
1386
1386
|
"aria-hidden": "true"
|
|
1387
1387
|
}),
|
|
1388
1388
|
e("span", null, g(r.name), 1)
|
|
1389
|
-
], 8,
|
|
1390
|
-
])) : (s(), n("div",
|
|
1389
|
+
], 8, Fs)
|
|
1390
|
+
])) : (s(), n("div", qs, [
|
|
1391
1391
|
p(c(ee), {
|
|
1392
1392
|
class: "flex-shrink-0 h-3 w-3 text-gray-400",
|
|
1393
1393
|
"aria-hidden": "true"
|
|
@@ -1396,19 +1396,19 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
1396
1396
|
onClick: (t) => l.$emit("breadCrumbClicked", r.routeName),
|
|
1397
1397
|
class: h(["cursor-pointer ml-4 text-xs text-gray-400 hover:text-gray-500", { "text-indigo-600 hover:text-indigo-800": !r.current }]),
|
|
1398
1398
|
"aria-current": "page"
|
|
1399
|
-
}, g(r.name), 11,
|
|
1399
|
+
}, g(r.name), 11, Rs)
|
|
1400
1400
|
]))
|
|
1401
1401
|
]))), 128))
|
|
1402
1402
|
])
|
|
1403
1403
|
]));
|
|
1404
1404
|
}
|
|
1405
|
-
}),
|
|
1405
|
+
}), Es = { class: "flex items-center flex-col sm:flex-row justify-center sm:justify-start" }, Zs = ["src"], Js = { class: "font-bold text-center sm:text-left" }, Ws = { class: "mt-1 text-xs text-center sm:text-left" }, Gs = {
|
|
1406
1406
|
key: 0,
|
|
1407
1407
|
class: "flex flex-wrap mt-4 justify-center sm:justify-start"
|
|
1408
|
-
},
|
|
1408
|
+
}, Qs = {
|
|
1409
1409
|
key: 1,
|
|
1410
1410
|
class: "rounded-lg bg-white shadow p-6 cursor-pointer animate-pulse"
|
|
1411
|
-
},
|
|
1411
|
+
}, Ks = /* @__PURE__ */ M({
|
|
1412
1412
|
__name: "uiCard",
|
|
1413
1413
|
props: {
|
|
1414
1414
|
id: {},
|
|
@@ -1422,24 +1422,24 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
1422
1422
|
setup(m, { emit: i }) {
|
|
1423
1423
|
return (l, a) => {
|
|
1424
1424
|
var r;
|
|
1425
|
-
return l.loading ? (s(), n("div",
|
|
1425
|
+
return l.loading ? (s(), n("div", Qs, a[1] || (a[1] = [
|
|
1426
1426
|
Q('<div class="flex items-center flex-col sm:flex-row justify-center sm:justify-start w-full"><div class="w-16 h-16 rounded-full bg-gray-200 flex self-center"></div><div class="w-full ml-4"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full mt-4 sm:mt-0 sm:w-16 mb-2"></div><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full sm:w-32"></div></div></div>', 1)
|
|
1427
1427
|
]))) : (s(), n("div", {
|
|
1428
1428
|
key: 0,
|
|
1429
1429
|
class: "rounded-lg bg-white shadow p-6 cursor-pointer",
|
|
1430
1430
|
onClick: a[0] || (a[0] = (o) => l.$emit("cardSelected", { id: l.id, name: l.name, type: l.type, tags: l.tags }))
|
|
1431
1431
|
}, [
|
|
1432
|
-
e("div",
|
|
1432
|
+
e("div", Es, [
|
|
1433
1433
|
e("img", {
|
|
1434
1434
|
class: "w-16 h-16 rounded-full mb-4 sm:mb-0 sm:mr-4",
|
|
1435
1435
|
src: l.logo
|
|
1436
|
-
}, null, 8,
|
|
1436
|
+
}, null, 8, Zs),
|
|
1437
1437
|
e("div", null, [
|
|
1438
|
-
e("h4",
|
|
1439
|
-
e("p",
|
|
1438
|
+
e("h4", Js, g(l.name), 1),
|
|
1439
|
+
e("p", Ws, g(l.type), 1)
|
|
1440
1440
|
])
|
|
1441
1441
|
]),
|
|
1442
|
-
l.tags && ((r = l.tags) == null ? void 0 : r.length) > 0 ? (s(), n("div",
|
|
1442
|
+
l.tags && ((r = l.tags) == null ? void 0 : r.length) > 0 ? (s(), n("div", Gs, [
|
|
1443
1443
|
(s(!0), n(_, null, $(l.tags, (o) => (s(), k(U, {
|
|
1444
1444
|
class: "mb-1 mr-1",
|
|
1445
1445
|
key: o.name,
|
|
@@ -1479,10 +1479,10 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
1479
1479
|
label: t.label
|
|
1480
1480
|
}, null, 8, ["loading", "position", "items", "label"]));
|
|
1481
1481
|
}
|
|
1482
|
-
}),
|
|
1482
|
+
}), Xs = { class: "fixed inset-0 z-10 overflow-y-auto" }, eo = { class: "flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0" }, to = { class: "absolute top-0 right-0 hidden pt-4 pr-4 sm:block" }, so = { class: "sm:flex sm:items-start" }, oo = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left sm:mr-4 sm:w-10/12 break-words" }, lo = { class: "mt-4 text-gray-500 text-sm" }, ro = {
|
|
1483
1483
|
key: 0,
|
|
1484
1484
|
class: "mt-8"
|
|
1485
|
-
},
|
|
1485
|
+
}, no = ["onClick"], Xe = /* @__PURE__ */ M({
|
|
1486
1486
|
__name: "uiModal",
|
|
1487
1487
|
props: {
|
|
1488
1488
|
title: {},
|
|
@@ -1522,8 +1522,8 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
1522
1522
|
])),
|
|
1523
1523
|
_: 1
|
|
1524
1524
|
}),
|
|
1525
|
-
e("div",
|
|
1526
|
-
e("div",
|
|
1525
|
+
e("div", Xs, [
|
|
1526
|
+
e("div", eo, [
|
|
1527
1527
|
p(c(G), {
|
|
1528
1528
|
as: "template",
|
|
1529
1529
|
enter: "ease-out duration-300",
|
|
@@ -1536,7 +1536,7 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
1536
1536
|
default: v(() => [
|
|
1537
1537
|
p(c(Ce), { class: "relative transform rounded-lg bg-white px-4 pb-4 pt-5 text-left shadow-xl transition-all sm:my-8 w-9/12 sm:w-full sm:max-w-lg sm:p-6" }, {
|
|
1538
1538
|
default: v(() => [
|
|
1539
|
-
e("div",
|
|
1539
|
+
e("div", to, [
|
|
1540
1540
|
e("button", {
|
|
1541
1541
|
type: "button",
|
|
1542
1542
|
class: "rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none",
|
|
@@ -1550,7 +1550,7 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
1550
1550
|
}, null, 8, ["icon", "loading"])
|
|
1551
1551
|
])
|
|
1552
1552
|
]),
|
|
1553
|
-
e("div",
|
|
1553
|
+
e("div", so, [
|
|
1554
1554
|
e("div", {
|
|
1555
1555
|
class: h(["mx-auto flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full sm:mx-0 sm:h-10 sm:w-10", {
|
|
1556
1556
|
"bg-red-100": o.type === "danger",
|
|
@@ -1577,14 +1577,14 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
1577
1577
|
}, null, 512), [
|
|
1578
1578
|
[D, o.type === "warning"]
|
|
1579
1579
|
]),
|
|
1580
|
-
C(p(c(
|
|
1580
|
+
C(p(c(Nt), {
|
|
1581
1581
|
class: "h-6 w-6 text-indigo-600",
|
|
1582
1582
|
"aria-hidden": "true"
|
|
1583
1583
|
}, null, 512), [
|
|
1584
1584
|
[D, o.type === "default"]
|
|
1585
1585
|
])
|
|
1586
1586
|
], 2),
|
|
1587
|
-
e("div",
|
|
1587
|
+
e("div", oo, [
|
|
1588
1588
|
p(c(Re), {
|
|
1589
1589
|
as: "h3",
|
|
1590
1590
|
class: "text-lg font-medium leading-6 text-gray-900"
|
|
@@ -1594,16 +1594,16 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
1594
1594
|
]),
|
|
1595
1595
|
_: 1
|
|
1596
1596
|
}),
|
|
1597
|
-
e("div",
|
|
1597
|
+
e("div", lo, [
|
|
1598
1598
|
q(o.$slots, "default")
|
|
1599
1599
|
]),
|
|
1600
|
-
o.actions ? (s(), n("div",
|
|
1600
|
+
o.actions ? (s(), n("div", ro, [
|
|
1601
1601
|
(s(!0), n(_, null, $(o.actions, (d, u) => (s(), n("button", {
|
|
1602
1602
|
key: u,
|
|
1603
1603
|
type: "button",
|
|
1604
1604
|
class: "inline-flex w-full justify-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-base font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 mb-2 sm:mb-0 mr-2 sm:w-auto sm:text-sm",
|
|
1605
1605
|
onClick: (f) => r(d.value)
|
|
1606
|
-
}, g(d.name), 9,
|
|
1606
|
+
}, g(d.name), 9, no))), 128))
|
|
1607
1607
|
])) : b("", !0)
|
|
1608
1608
|
])
|
|
1609
1609
|
])
|
|
@@ -1622,10 +1622,10 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
1622
1622
|
_: 3
|
|
1623
1623
|
}, 8, ["show"]));
|
|
1624
1624
|
}
|
|
1625
|
-
}),
|
|
1625
|
+
}), ao = { class: "w-full flex flex-col items-center space-y-4 sm:items-end" }, io = {
|
|
1626
1626
|
key: 0,
|
|
1627
1627
|
class: "max-w-sm w-full bg-white shadow-lg rounded-lg pointer-events-auto ring-1 ring-black ring-opacity-5 overflow-hidden"
|
|
1628
|
-
},
|
|
1628
|
+
}, uo = { class: "p-4" }, co = { class: "flex items-start" }, go = { class: "flex-shrink-0 mt-0.5" }, po = { class: "ml-3 w-0 flex-1 pt-0.5" }, mo = { class: "font-medium text-gray-900" }, fo = { class: "mt-1 text-sm text-gray-500" }, yo = { class: "ml-4 flex-shrink-0 flex" }, ho = /* @__PURE__ */ M({
|
|
1629
1629
|
__name: "uiNotification",
|
|
1630
1630
|
props: {
|
|
1631
1631
|
type: { default: "info" },
|
|
@@ -1641,7 +1641,7 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
1641
1641
|
"aria-live": "assertive",
|
|
1642
1642
|
class: h([{ fixed: r.fixed }, "inset-0 flex items-end px-4 py-6 pointer-events-none sm:p-6 sm:items-start"])
|
|
1643
1643
|
}, [
|
|
1644
|
-
e("div",
|
|
1644
|
+
e("div", ao, [
|
|
1645
1645
|
p(ce, {
|
|
1646
1646
|
"enter-active-class": "transform ease-out duration-300 transition",
|
|
1647
1647
|
"enter-from-class": "translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-2",
|
|
@@ -1651,10 +1651,10 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
1651
1651
|
"leave-to-class": "opacity-0"
|
|
1652
1652
|
}, {
|
|
1653
1653
|
default: v(() => [
|
|
1654
|
-
a.value ? (s(), n("div",
|
|
1655
|
-
e("div",
|
|
1656
|
-
e("div",
|
|
1657
|
-
e("div",
|
|
1654
|
+
a.value ? (s(), n("div", io, [
|
|
1655
|
+
e("div", uo, [
|
|
1656
|
+
e("div", co, [
|
|
1657
|
+
e("div", go, [
|
|
1658
1658
|
C(p(c(Ze), {
|
|
1659
1659
|
"aria-hidden": "true",
|
|
1660
1660
|
class: "h-6 w-6 text-green-400"
|
|
@@ -1680,11 +1680,11 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
1680
1680
|
[D, r.type === "info"]
|
|
1681
1681
|
])
|
|
1682
1682
|
]),
|
|
1683
|
-
e("div",
|
|
1684
|
-
e("p",
|
|
1685
|
-
e("p",
|
|
1683
|
+
e("div", po, [
|
|
1684
|
+
e("p", mo, g(r.title), 1),
|
|
1685
|
+
e("p", fo, g(r.message), 1)
|
|
1686
1686
|
]),
|
|
1687
|
-
e("div",
|
|
1687
|
+
e("div", yo, [
|
|
1688
1688
|
e("button", {
|
|
1689
1689
|
class: "bg-white rounded-md inline-flex text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500",
|
|
1690
1690
|
type: "button",
|
|
@@ -1706,35 +1706,35 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
1706
1706
|
])
|
|
1707
1707
|
], 2));
|
|
1708
1708
|
}
|
|
1709
|
-
}),
|
|
1709
|
+
}), vo = {
|
|
1710
1710
|
key: 0,
|
|
1711
1711
|
role: "list",
|
|
1712
1712
|
class: "divide-y divide-gray-100"
|
|
1713
|
-
},
|
|
1713
|
+
}, bo = { class: "min-w-0" }, wo = { class: "flex items-start gap-x-3" }, xo = { class: "text-sm font-semibold leading-6 text-gray-900" }, ko = { class: "mt-1 flex items-center gap-x-2 text-xs leading-5 text-gray-500" }, _o = { class: "truncate" }, $o = { class: "flex flex-none items-center gap-x-4" }, Co = ["href"], So = { class: "sr-only" }, Bo = {
|
|
1714
1714
|
key: 1,
|
|
1715
1715
|
class: "divide-y divide-gray-100 animate-pulse"
|
|
1716
|
-
},
|
|
1716
|
+
}, Mo = /* @__PURE__ */ M({
|
|
1717
1717
|
__name: "uiTaskList",
|
|
1718
1718
|
props: {
|
|
1719
1719
|
tasks: {},
|
|
1720
1720
|
loading: { type: Boolean, default: !0 }
|
|
1721
1721
|
},
|
|
1722
1722
|
setup(m) {
|
|
1723
|
-
return (i, l) => i.loading ? (s(), n("ul",
|
|
1723
|
+
return (i, l) => i.loading ? (s(), n("ul", Bo, [
|
|
1724
1724
|
(s(!0), n(_, null, $(i.tasks, (a) => (s(), n("li", {
|
|
1725
1725
|
key: a.id,
|
|
1726
1726
|
class: "flex items-center justify-between gap-x-6 py-5"
|
|
1727
1727
|
}, l[0] || (l[0] = [
|
|
1728
1728
|
Q('<div class="min-w-0 w-full"><div class="flex items-start gap-x-3"><p class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2"></p></div></div><div class="flex flex-none items-center gap-x-4"><div class="hidden rounded-md bg-gray-200 px-2.5 py-1.5 text-sm font-semibold text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 hover:bg-gray-50 sm:block"><p class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-10"></p></div></div>', 2)
|
|
1729
1729
|
])))), 128))
|
|
1730
|
-
])) : (s(), n("ul",
|
|
1730
|
+
])) : (s(), n("ul", vo, [
|
|
1731
1731
|
(s(!0), n(_, null, $(i.tasks, (a) => (s(), n("li", {
|
|
1732
1732
|
key: a.id,
|
|
1733
1733
|
class: "flex items-center justify-between gap-x-6 py-5"
|
|
1734
1734
|
}, [
|
|
1735
|
-
e("div",
|
|
1736
|
-
e("div",
|
|
1737
|
-
e("p",
|
|
1735
|
+
e("div", bo, [
|
|
1736
|
+
e("div", wo, [
|
|
1737
|
+
e("p", xo, g(a.name), 1),
|
|
1738
1738
|
e("p", {
|
|
1739
1739
|
class: h([
|
|
1740
1740
|
{
|
|
@@ -1746,32 +1746,32 @@ const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
|
1746
1746
|
])
|
|
1747
1747
|
}, g(a.statusLiteral), 3)
|
|
1748
1748
|
]),
|
|
1749
|
-
e("div",
|
|
1750
|
-
e("p",
|
|
1749
|
+
e("div", ko, [
|
|
1750
|
+
e("p", _o, g(a.description), 1)
|
|
1751
1751
|
])
|
|
1752
1752
|
]),
|
|
1753
|
-
e("div",
|
|
1753
|
+
e("div", $o, [
|
|
1754
1754
|
e("a", {
|
|
1755
1755
|
href: a.href,
|
|
1756
1756
|
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"
|
|
1757
1757
|
}, [
|
|
1758
1758
|
L(g(a.action), 1),
|
|
1759
|
-
e("span",
|
|
1760
|
-
], 8,
|
|
1759
|
+
e("span", So, ", " + g(a.name), 1)
|
|
1760
|
+
], 8, Co)
|
|
1761
1761
|
])
|
|
1762
1762
|
]))), 128))
|
|
1763
1763
|
]));
|
|
1764
1764
|
}
|
|
1765
1765
|
});
|
|
1766
|
-
function
|
|
1766
|
+
function Do(m) {
|
|
1767
1767
|
return m && m.__esModule && Object.prototype.hasOwnProperty.call(m, "default") ? m.default : m;
|
|
1768
1768
|
}
|
|
1769
|
-
var le = { exports: {} },
|
|
1770
|
-
function
|
|
1769
|
+
var le = { exports: {} }, jo = le.exports, je;
|
|
1770
|
+
function To() {
|
|
1771
1771
|
return je || (je = 1, function(m, i) {
|
|
1772
1772
|
(function(l, a) {
|
|
1773
1773
|
m.exports = a(z);
|
|
1774
|
-
})(
|
|
1774
|
+
})(jo, function(l) {
|
|
1775
1775
|
function a(t) {
|
|
1776
1776
|
return t && typeof t == "object" && "default" in t ? t : { default: t };
|
|
1777
1777
|
}
|
|
@@ -1782,13 +1782,13 @@ function jo() {
|
|
|
1782
1782
|
});
|
|
1783
1783
|
}(le)), le.exports;
|
|
1784
1784
|
}
|
|
1785
|
-
|
|
1786
|
-
var re = { exports: {} },
|
|
1787
|
-
function
|
|
1785
|
+
To();
|
|
1786
|
+
var re = { exports: {} }, zo = re.exports, Te;
|
|
1787
|
+
function Lo() {
|
|
1788
1788
|
return Te || (Te = 1, function(m, i) {
|
|
1789
1789
|
(function(l, a) {
|
|
1790
1790
|
m.exports = a(z);
|
|
1791
|
-
})(
|
|
1791
|
+
})(zo, function(l) {
|
|
1792
1792
|
function a(u) {
|
|
1793
1793
|
return u && typeof u == "object" && "default" in u ? u : { default: u };
|
|
1794
1794
|
}
|
|
@@ -1804,13 +1804,13 @@ function zo() {
|
|
|
1804
1804
|
});
|
|
1805
1805
|
}(re)), re.exports;
|
|
1806
1806
|
}
|
|
1807
|
-
|
|
1808
|
-
var ne = { exports: {} },
|
|
1809
|
-
function
|
|
1807
|
+
Lo();
|
|
1808
|
+
var ne = { exports: {} }, Ao = ne.exports, ze;
|
|
1809
|
+
function No() {
|
|
1810
1810
|
return ze || (ze = 1, function(m, i) {
|
|
1811
1811
|
(function(l, a) {
|
|
1812
1812
|
m.exports = a();
|
|
1813
|
-
})(
|
|
1813
|
+
})(Ao, function() {
|
|
1814
1814
|
return { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(l) {
|
|
1815
1815
|
var a = ["th", "st", "nd", "rd"], r = l % 100;
|
|
1816
1816
|
return "[" + l + (a[(r - 20) % 10] || a[r] || a[0]) + "]";
|
|
@@ -1818,13 +1818,13 @@ function Ao() {
|
|
|
1818
1818
|
});
|
|
1819
1819
|
}(ne)), ne.exports;
|
|
1820
1820
|
}
|
|
1821
|
-
|
|
1822
|
-
var ae = { exports: {} },
|
|
1823
|
-
function
|
|
1821
|
+
No();
|
|
1822
|
+
var ae = { exports: {} }, Oo = ae.exports, Le;
|
|
1823
|
+
function Io() {
|
|
1824
1824
|
return Le || (Le = 1, function(m, i) {
|
|
1825
1825
|
(function(l, a) {
|
|
1826
1826
|
m.exports = a(z);
|
|
1827
|
-
})(
|
|
1827
|
+
})(Oo, function(l) {
|
|
1828
1828
|
function a(t) {
|
|
1829
1829
|
return t && typeof t == "object" && "default" in t ? t : { default: t };
|
|
1830
1830
|
}
|
|
@@ -1835,13 +1835,13 @@ function Oo() {
|
|
|
1835
1835
|
});
|
|
1836
1836
|
}(ae)), ae.exports;
|
|
1837
1837
|
}
|
|
1838
|
-
|
|
1838
|
+
Io();
|
|
1839
1839
|
const te = (m, i) => {
|
|
1840
1840
|
const l = m.__vccOpts || m;
|
|
1841
1841
|
for (const [a, r] of i)
|
|
1842
1842
|
l[a] = r;
|
|
1843
1843
|
return l;
|
|
1844
|
-
},
|
|
1844
|
+
}, Yo = {
|
|
1845
1845
|
name: "dateSelector",
|
|
1846
1846
|
components: { ChevronLeftIcon: Je, ChevronRightIcon: ee },
|
|
1847
1847
|
computed: {
|
|
@@ -1871,11 +1871,11 @@ const te = (m, i) => {
|
|
|
1871
1871
|
i === "next" && (m === "day" && (l = z(this.selectedDate).add(1, "day")), m === "month" && (l = z(this.selectedDate).add(1, "month")), m === "year" && (l = z(this.selectedDate).add(1, "year"))), this.$emit("dateSelected", l);
|
|
1872
1872
|
}
|
|
1873
1873
|
}
|
|
1874
|
-
},
|
|
1875
|
-
function
|
|
1874
|
+
}, Po = { class: "dateSelector flex items-center text-white flex-row" }, Vo = { class: "pagination flex items-center my-1 md:my-0" }, Fo = { class: "date mx-4 font-bold text-center text-indigo-600 select-none uppercase" }, qo = { class: "pagination flex items-center my-1 sm:my-0" };
|
|
1875
|
+
function Ro(m, i, l, a, r, o) {
|
|
1876
1876
|
const t = De("ChevronLeftIcon"), d = De("ChevronRightIcon");
|
|
1877
|
-
return s(), n("div",
|
|
1878
|
-
e("div",
|
|
1877
|
+
return s(), n("div", Po, [
|
|
1878
|
+
e("div", Vo, [
|
|
1879
1879
|
e("div", {
|
|
1880
1880
|
class: h([{
|
|
1881
1881
|
"bg-indigo-600 hover:bg-indigo-800 cursor-pointer": o.currentDate > o.today,
|
|
@@ -1907,8 +1907,8 @@ function qo(m, i, l, a, r, o) {
|
|
|
1907
1907
|
p(t, { class: "h-4" })
|
|
1908
1908
|
], 2)
|
|
1909
1909
|
]),
|
|
1910
|
-
e("div",
|
|
1911
|
-
e("div",
|
|
1910
|
+
e("div", Fo, g(o.formatedDate), 1),
|
|
1911
|
+
e("div", qo, [
|
|
1912
1912
|
e("div", {
|
|
1913
1913
|
class: "previousDay flex items-center cursor-pointer bg-indigo-600 p-1 rounded mx-0.5 hover:bg-indigo-800 shadow-sm",
|
|
1914
1914
|
onClick: i[3] || (i[3] = (u) => o.selectDate("day", "next"))
|
|
@@ -1933,16 +1933,16 @@ function qo(m, i, l, a, r, o) {
|
|
|
1933
1933
|
])
|
|
1934
1934
|
]);
|
|
1935
1935
|
}
|
|
1936
|
-
const
|
|
1936
|
+
const Uo = /* @__PURE__ */ te(Yo, [["render", Ro]]), Ho = {
|
|
1937
1937
|
name: "SkeletonTable"
|
|
1938
|
-
},
|
|
1939
|
-
function
|
|
1940
|
-
return s(), n("div",
|
|
1941
|
-
e("div",
|
|
1942
|
-
e("div",
|
|
1943
|
-
e("div",
|
|
1944
|
-
e("div",
|
|
1945
|
-
e("table",
|
|
1938
|
+
}, Eo = { class: "px-4 sm:px-6 lg:px-8 animate-pulse" }, Zo = { class: "flow-root" }, Jo = { class: "-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8" }, Wo = { class: "inline-block min-w-full py-2 align-middle px-1" }, Go = { class: "overflow-hidden shadow ring-1 ring-black ring-opacity-5 sm:rounded-lg" }, Qo = { class: "min-w-full divide-y divide-gray-300" }, Ko = { class: "divide-y divide-gray-200 bg-white" };
|
|
1939
|
+
function Xo(m, i, l, a, r, o) {
|
|
1940
|
+
return s(), n("div", Eo, [
|
|
1941
|
+
e("div", Zo, [
|
|
1942
|
+
e("div", Jo, [
|
|
1943
|
+
e("div", Wo, [
|
|
1944
|
+
e("div", Go, [
|
|
1945
|
+
e("table", Qo, [
|
|
1946
1946
|
i[1] || (i[1] = e("thead", { class: "bg-gray-50" }, [
|
|
1947
1947
|
e("tr", null, [
|
|
1948
1948
|
e("th", {
|
|
@@ -1979,7 +1979,7 @@ function Ko(m, i, l, a, r, o) {
|
|
|
1979
1979
|
])
|
|
1980
1980
|
])
|
|
1981
1981
|
], -1)),
|
|
1982
|
-
e("tbody",
|
|
1982
|
+
e("tbody", Ko, [
|
|
1983
1983
|
(s(), n(_, null, $(10, (t) => e("tr", { key: t }, i[0] || (i[0] = [
|
|
1984
1984
|
e("td", { class: "whitespace-nowrap py-4 pl-4 pr-3 text-sm font-medium text-gray-900 sm:pl-6" }, [
|
|
1985
1985
|
e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-6" })
|
|
@@ -2014,13 +2014,13 @@ function Ko(m, i, l, a, r, o) {
|
|
|
2014
2014
|
])
|
|
2015
2015
|
]);
|
|
2016
2016
|
}
|
|
2017
|
-
const et = /* @__PURE__ */ te(
|
|
2018
|
-
var ie = { exports: {} },
|
|
2019
|
-
function
|
|
2017
|
+
const et = /* @__PURE__ */ te(Ho, [["render", Xo]]);
|
|
2018
|
+
var ie = { exports: {} }, el = ie.exports, Ae;
|
|
2019
|
+
function tl() {
|
|
2020
2020
|
return Ae || (Ae = 1, function(m, i) {
|
|
2021
2021
|
(function(l, a) {
|
|
2022
2022
|
m.exports = a();
|
|
2023
|
-
})(
|
|
2023
|
+
})(el, function() {
|
|
2024
2024
|
return function(l, a, r) {
|
|
2025
2025
|
a.prototype.isToday = function() {
|
|
2026
2026
|
var o = "YYYY-MM-DD", t = r();
|
|
@@ -2030,15 +2030,15 @@ function el() {
|
|
|
2030
2030
|
});
|
|
2031
2031
|
}(ie)), ie.exports;
|
|
2032
2032
|
}
|
|
2033
|
-
var
|
|
2034
|
-
const
|
|
2033
|
+
var sl = tl();
|
|
2034
|
+
const ol = /* @__PURE__ */ Do(sl), ll = {
|
|
2035
2035
|
name: "calendarDay",
|
|
2036
2036
|
props: {
|
|
2037
2037
|
day: Object
|
|
2038
2038
|
},
|
|
2039
2039
|
computed: {
|
|
2040
2040
|
currentDay() {
|
|
2041
|
-
return z.extend(
|
|
2041
|
+
return z.extend(ol), {
|
|
2042
2042
|
dayName: z(this.day).locale("es").format("ddd"),
|
|
2043
2043
|
day: z(this.day).locale("es").format("DD"),
|
|
2044
2044
|
month: z(this.day).locale("es").format("MMM."),
|
|
@@ -2047,8 +2047,8 @@ const sl = /* @__PURE__ */ Mo(tl), ol = {
|
|
|
2047
2047
|
};
|
|
2048
2048
|
}
|
|
2049
2049
|
}
|
|
2050
|
-
},
|
|
2051
|
-
function
|
|
2050
|
+
}, rl = { class: "text-xs" }, nl = { class: "font-bold text-lg" }, al = { class: "text-xs font-medium" };
|
|
2051
|
+
function il(m, i, l, a, r, o) {
|
|
2052
2052
|
return s(), n("div", {
|
|
2053
2053
|
class: h([
|
|
2054
2054
|
"day select-none text-center",
|
|
@@ -2058,12 +2058,12 @@ function al(m, i, l, a, r, o) {
|
|
|
2058
2058
|
}
|
|
2059
2059
|
])
|
|
2060
2060
|
}, [
|
|
2061
|
-
e("p",
|
|
2062
|
-
e("p",
|
|
2063
|
-
e("p",
|
|
2061
|
+
e("p", rl, g(o.currentDay.dayName), 1),
|
|
2062
|
+
e("p", nl, g(o.currentDay.day), 1),
|
|
2063
|
+
e("p", al, g(o.currentDay.month), 1)
|
|
2064
2064
|
], 2);
|
|
2065
2065
|
}
|
|
2066
|
-
const
|
|
2066
|
+
const dl = /* @__PURE__ */ te(ll, [["render", il]]), ul = {
|
|
2067
2067
|
name: "dayPrice",
|
|
2068
2068
|
props: {
|
|
2069
2069
|
currency: String,
|
|
@@ -2082,9 +2082,9 @@ const il = /* @__PURE__ */ te(ol, [["render", al]]), dl = {
|
|
|
2082
2082
|
};
|
|
2083
2083
|
}
|
|
2084
2084
|
}
|
|
2085
|
-
},
|
|
2086
|
-
function
|
|
2087
|
-
return s(), n("div",
|
|
2085
|
+
}, cl = { class: "priceDay" };
|
|
2086
|
+
function gl(m, i, l, a, r, o) {
|
|
2087
|
+
return s(), n("div", cl, [
|
|
2088
2088
|
e("div", {
|
|
2089
2089
|
class: h([
|
|
2090
2090
|
{
|
|
@@ -2097,58 +2097,58 @@ function cl(m, i, l, a, r, o) {
|
|
|
2097
2097
|
}, g(o.currentDay.price) + g(l.currency), 3)
|
|
2098
2098
|
]);
|
|
2099
2099
|
}
|
|
2100
|
-
const oe = /* @__PURE__ */ te(
|
|
2100
|
+
const oe = /* @__PURE__ */ te(ul, [["render", gl]]), pl = {
|
|
2101
2101
|
key: 0,
|
|
2102
2102
|
class: "px-4 sm:px-6 lg:px-8"
|
|
2103
|
-
},
|
|
2103
|
+
}, ml = { class: "flow-root" }, fl = { class: "overflow-x-auto sm:-mx-6 lg:-mx-8 shadow ring-1 ring-black ring-opacity-5 sm:rounded-lg" }, yl = { class: "inline-block min-w-full align-middle" }, hl = { class: "min-w-full text-sm" }, vl = { class: "bg-white" }, bl = {
|
|
2104
2104
|
colspan: "6",
|
|
2105
2105
|
scope: "colgroup",
|
|
2106
2106
|
class: "bg-gray-50 py-2 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 sm:pl-3"
|
|
2107
|
-
},
|
|
2107
|
+
}, wl = {
|
|
2108
2108
|
colspan: "20",
|
|
2109
2109
|
scope: "colgroup",
|
|
2110
2110
|
class: "bg-gray-200 py-2 pl-4 pr-3 text-left font-semibold text-gray-900"
|
|
2111
|
-
},
|
|
2111
|
+
}, xl = { key: 0 }, kl = {
|
|
2112
2112
|
colspan: "6",
|
|
2113
2113
|
class: "pl-4"
|
|
2114
|
-
},
|
|
2114
|
+
}, _l = { key: 1 }, $l = {
|
|
2115
2115
|
colspan: "6",
|
|
2116
2116
|
class: "pl-4"
|
|
2117
|
-
},
|
|
2117
|
+
}, Cl = { key: 2 }, Sl = {
|
|
2118
2118
|
colspan: "6",
|
|
2119
2119
|
class: "pl-4"
|
|
2120
|
-
},
|
|
2120
|
+
}, Bl = {
|
|
2121
2121
|
colspan: "20",
|
|
2122
2122
|
scope: "colgroup",
|
|
2123
2123
|
class: "bg-gray-200 py-2 pl-4 pr-3 text-left font-semibold text-gray-900 relative"
|
|
2124
|
-
},
|
|
2124
|
+
}, Ml = {
|
|
2125
2125
|
key: 0,
|
|
2126
2126
|
class: "absolute top-0 left-12 flex h-12 items-center space-x-3 sm:left-48 bg-white shadow rounded px-4 py-1 z-10"
|
|
2127
|
-
},
|
|
2127
|
+
}, Dl = ["onClick"], jl = {
|
|
2128
2128
|
colspan: "2",
|
|
2129
2129
|
scope: "colgroup",
|
|
2130
2130
|
class: "relative bg-gray-100 py-3.5 pl-4 pr-3 text-left font-semibold text-gray-900"
|
|
2131
|
-
},
|
|
2131
|
+
}, Tl = ["checked", "indeterminate"], zl = { class: "pl-6" }, Ll = {
|
|
2132
2132
|
colspan: "2",
|
|
2133
2133
|
scope: "colgroup",
|
|
2134
2134
|
class: "bg-gray-100 py-2 pl-4 pr-3 text-left font-semibold text-gray-900"
|
|
2135
|
-
},
|
|
2135
|
+
}, Al = {
|
|
2136
2136
|
colspan: "2",
|
|
2137
2137
|
scope: "colgroup",
|
|
2138
2138
|
class: "bg-gray-100 py-2 pl-4 pr-3 text-left font-semibold text-gray-900"
|
|
2139
|
-
},
|
|
2139
|
+
}, Nl = {
|
|
2140
2140
|
colspan: "2",
|
|
2141
2141
|
class: "relative py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 sm:pl-6"
|
|
2142
|
-
},
|
|
2142
|
+
}, Ol = {
|
|
2143
2143
|
key: 0,
|
|
2144
2144
|
class: "absolute inset-y-0 left-0 w-0.5 bg-indigo-600"
|
|
2145
|
-
},
|
|
2145
|
+
}, Il = ["value"], Yl = { class: "pl-6" }, Pl = {
|
|
2146
2146
|
colspan: "2",
|
|
2147
2147
|
class: "pl-4"
|
|
2148
|
-
},
|
|
2148
|
+
}, Vl = {
|
|
2149
2149
|
colspan: "2",
|
|
2150
2150
|
class: "pl-4"
|
|
2151
|
-
},
|
|
2151
|
+
}, Fl = /* @__PURE__ */ M({
|
|
2152
2152
|
__name: "uiPriceCalendar",
|
|
2153
2153
|
props: {
|
|
2154
2154
|
loading: { type: Boolean },
|
|
@@ -2181,15 +2181,15 @@ const oe = /* @__PURE__ */ te(dl, [["render", cl]]), gl = {
|
|
|
2181
2181
|
}, T = () => a("changeCategoryBulkPrices"), A = (x) => a("changeCategorySelectionPrice", x), S = (x) => a("changeCategoryUpgradePrice", x), B = (x) => a("tableAction", x), P = (x, Y, I) => a("changeRoomPrice", { price: x, roomId: Y, roomName: I });
|
|
2182
2182
|
return (x, Y) => {
|
|
2183
2183
|
var I, se;
|
|
2184
|
-
return x.loading ? (s(), k(et, { key: 1 })) : (s(), n("div",
|
|
2185
|
-
e("div",
|
|
2186
|
-
e("div",
|
|
2187
|
-
e("div",
|
|
2188
|
-
e("table",
|
|
2189
|
-
e("tbody",
|
|
2184
|
+
return x.loading ? (s(), k(et, { key: 1 })) : (s(), n("div", pl, [
|
|
2185
|
+
e("div", ml, [
|
|
2186
|
+
e("div", fl, [
|
|
2187
|
+
e("div", yl, [
|
|
2188
|
+
e("table", hl, [
|
|
2189
|
+
e("tbody", vl, [
|
|
2190
2190
|
e("tr", null, [
|
|
2191
|
-
e("th",
|
|
2192
|
-
p(
|
|
2191
|
+
e("th", bl, [
|
|
2192
|
+
p(Uo, {
|
|
2193
2193
|
selectedDate: o.value,
|
|
2194
2194
|
onDateSelected: Y[0] || (Y[0] = (O) => f(O))
|
|
2195
2195
|
}, null, 8, ["selectedDate"])
|
|
@@ -2199,14 +2199,14 @@ const oe = /* @__PURE__ */ te(dl, [["render", cl]]), gl = {
|
|
|
2199
2199
|
key: F,
|
|
2200
2200
|
class: "text-sm font-semibold text-gray-900 p-0"
|
|
2201
2201
|
}, [
|
|
2202
|
-
p(
|
|
2202
|
+
p(dl, {
|
|
2203
2203
|
class: "border-l border-gray-200 px-6 py-3",
|
|
2204
2204
|
day: O
|
|
2205
2205
|
}, null, 8, ["day"])
|
|
2206
2206
|
]))), 128))
|
|
2207
2207
|
]),
|
|
2208
2208
|
e("tr", null, [
|
|
2209
|
-
e("th",
|
|
2209
|
+
e("th", wl, [
|
|
2210
2210
|
e("span", null, g(x.literals.category) + " " + g(x.category.name), 1),
|
|
2211
2211
|
p(J, {
|
|
2212
2212
|
loading: x.loading,
|
|
@@ -2221,8 +2221,8 @@ const oe = /* @__PURE__ */ te(dl, [["render", cl]]), gl = {
|
|
|
2221
2221
|
}, 8, ["loading"])
|
|
2222
2222
|
])
|
|
2223
2223
|
]),
|
|
2224
|
-
x.type === "discounts" ? (s(), n("tr",
|
|
2225
|
-
e("td",
|
|
2224
|
+
x.type === "discounts" ? (s(), n("tr", xl, [
|
|
2225
|
+
e("td", kl, g(x.literals.pricesDiscount), 1),
|
|
2226
2226
|
(s(!0), n(_, null, $(x.category.selectionPrices, (O, F) => (s(), n("td", {
|
|
2227
2227
|
key: F,
|
|
2228
2228
|
class: "p-0"
|
|
@@ -2236,8 +2236,8 @@ const oe = /* @__PURE__ */ te(dl, [["render", cl]]), gl = {
|
|
|
2236
2236
|
}, null, 8, ["onClick", "price", "currency"])
|
|
2237
2237
|
]))), 128))
|
|
2238
2238
|
])) : b("", !0),
|
|
2239
|
-
x.type === "prices" ? (s(), n("tr",
|
|
2240
|
-
e("td",
|
|
2239
|
+
x.type === "prices" ? (s(), n("tr", _l, [
|
|
2240
|
+
e("td", $l, g(x.literals.pricesSelection), 1),
|
|
2241
2241
|
(s(!0), n(_, null, $(x.category.selectionPrices, (O, F) => (s(), n("td", {
|
|
2242
2242
|
key: F,
|
|
2243
2243
|
class: "p-0"
|
|
@@ -2251,8 +2251,8 @@ const oe = /* @__PURE__ */ te(dl, [["render", cl]]), gl = {
|
|
|
2251
2251
|
}, null, 8, ["onClick", "price", "currency"])
|
|
2252
2252
|
]))), 128))
|
|
2253
2253
|
])) : b("", !0),
|
|
2254
|
-
x.type === "prices" ? (s(), n("tr",
|
|
2255
|
-
e("td",
|
|
2254
|
+
x.type === "prices" ? (s(), n("tr", Cl, [
|
|
2255
|
+
e("td", Sl, g(x.literals.pricesUpgrade), 1),
|
|
2256
2256
|
(s(!0), n(_, null, $(x.category.upgradePrices, (O, F) => (s(), n("td", {
|
|
2257
2257
|
key: F,
|
|
2258
2258
|
class: "p-0"
|
|
@@ -2267,31 +2267,31 @@ const oe = /* @__PURE__ */ te(dl, [["render", cl]]), gl = {
|
|
|
2267
2267
|
]))), 128))
|
|
2268
2268
|
])) : b("", !0),
|
|
2269
2269
|
e("tr", null, [
|
|
2270
|
-
e("th",
|
|
2271
|
-
((I = t.value) == null ? void 0 : I.length) > 0 && ((se = x.actions) == null ? void 0 : se.length) > 0 ? (s(), n("div",
|
|
2270
|
+
e("th", Bl, [
|
|
2271
|
+
((I = t.value) == null ? void 0 : I.length) > 0 && ((se = x.actions) == null ? void 0 : se.length) > 0 ? (s(), n("div", Ml, [
|
|
2272
2272
|
(s(!0), n(_, null, $(x.actions, (O, F) => (s(), n("button", {
|
|
2273
2273
|
onClick: (K) => B({ action: O.id, items: t.value }),
|
|
2274
2274
|
key: F,
|
|
2275
2275
|
type: "button",
|
|
2276
2276
|
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"
|
|
2277
|
-
}, g(O.name), 9,
|
|
2277
|
+
}, g(O.name), 9, Dl))), 128))
|
|
2278
2278
|
])) : b("", !0),
|
|
2279
2279
|
e("span", null, g(x.literals.pricesSelection), 1)
|
|
2280
2280
|
])
|
|
2281
2281
|
]),
|
|
2282
2282
|
e("tr", null, [
|
|
2283
|
-
e("th",
|
|
2283
|
+
e("th", jl, [
|
|
2284
2284
|
e("input", {
|
|
2285
2285
|
type: "checkbox",
|
|
2286
2286
|
class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-600",
|
|
2287
2287
|
checked: u.value || t.value.length === x.rooms.length,
|
|
2288
2288
|
indeterminate: u.value,
|
|
2289
2289
|
onChange: w
|
|
2290
|
-
}, null, 40,
|
|
2291
|
-
e("span",
|
|
2290
|
+
}, null, 40, Tl),
|
|
2291
|
+
e("span", zl, g(x.literals.room), 1)
|
|
2292
2292
|
]),
|
|
2293
|
-
e("th",
|
|
2294
|
-
e("th",
|
|
2293
|
+
e("th", Ll, g(x.literals.building), 1),
|
|
2294
|
+
e("th", Al, g(x.literals.floor), 1),
|
|
2295
2295
|
Y[2] || (Y[2] = e("th", {
|
|
2296
2296
|
colspan: "14",
|
|
2297
2297
|
scope: "colgroup",
|
|
@@ -2302,20 +2302,20 @@ const oe = /* @__PURE__ */ te(dl, [["render", cl]]), gl = {
|
|
|
2302
2302
|
key: O.name,
|
|
2303
2303
|
class: h([{ "even:bg-gray-100": x.type === "prices", "odd:bg-gray-100": x.type === "discounts" }])
|
|
2304
2304
|
}, [
|
|
2305
|
-
e("td",
|
|
2306
|
-
t.value.length > 0 ? (s(), n("div",
|
|
2305
|
+
e("td", Nl, [
|
|
2306
|
+
t.value.length > 0 ? (s(), n("div", Ol)) : b("", !0),
|
|
2307
2307
|
C(e("input", {
|
|
2308
2308
|
type: "checkbox",
|
|
2309
2309
|
class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-600",
|
|
2310
2310
|
value: O.name,
|
|
2311
2311
|
"onUpdate:modelValue": Y[1] || (Y[1] = (F) => t.value = F)
|
|
2312
|
-
}, null, 8,
|
|
2312
|
+
}, null, 8, Il), [
|
|
2313
2313
|
[Ie, t.value]
|
|
2314
2314
|
]),
|
|
2315
|
-
e("span",
|
|
2315
|
+
e("span", Yl, g(O.name), 1)
|
|
2316
2316
|
]),
|
|
2317
|
-
e("td",
|
|
2318
|
-
e("td",
|
|
2317
|
+
e("td", Pl, g(O.building), 1),
|
|
2318
|
+
e("td", Vl, g(O.floor), 1),
|
|
2319
2319
|
(s(!0), n(_, null, $(O.selectionPrices, (F, K) => (s(), n("td", {
|
|
2320
2320
|
class: "p-0",
|
|
2321
2321
|
key: K
|
|
@@ -2337,10 +2337,10 @@ const oe = /* @__PURE__ */ te(dl, [["render", cl]]), gl = {
|
|
|
2337
2337
|
]));
|
|
2338
2338
|
};
|
|
2339
2339
|
}
|
|
2340
|
-
}),
|
|
2340
|
+
}), ql = { class: "chart-header flex flex-row items-center w-full justify-between" }, Rl = { class: "text-sm font-medium text-gray-500 truncate mr-8" }, Ul = {
|
|
2341
2341
|
key: 0,
|
|
2342
2342
|
class: "flex items-center gap-x-2 grow"
|
|
2343
|
-
},
|
|
2343
|
+
}, Hl = { class: "self-center ml-2" }, El = { class: "self-center ml-2" }, Zl = { class: "self-center ml-2" }, Jl = { class: "hidden sm:flex items-center" }, Wl = { class: "w-1/2 min-w-0 flex-1" }, Gl = ["max"], Ql = { class: "min-w-0 flex-1" }, Kl = ["max"], Xl = { class: "chart-content relative" }, er = /* @__PURE__ */ M({
|
|
2344
2344
|
__name: "uiChart",
|
|
2345
2345
|
props: {
|
|
2346
2346
|
labels: {},
|
|
@@ -2432,9 +2432,9 @@ const oe = /* @__PURE__ */ te(dl, [["render", cl]]), gl = {
|
|
|
2432
2432
|
C(e("div", {
|
|
2433
2433
|
class: h(["h-[" + S.height + "px]", "card chart apex-chart p-4 bg-white shadow rounded-lg overflow-hidden flex grow"])
|
|
2434
2434
|
}, [
|
|
2435
|
-
e("div",
|
|
2436
|
-
e("div",
|
|
2437
|
-
S.isNps && S.npsLiterals ? (s(), n("div",
|
|
2435
|
+
e("div", ql, [
|
|
2436
|
+
e("div", Rl, g(S.title), 1),
|
|
2437
|
+
S.isNps && S.npsLiterals ? (s(), n("div", Ul, [
|
|
2438
2438
|
p(U, {
|
|
2439
2439
|
size: "small",
|
|
2440
2440
|
color: "red",
|
|
@@ -2442,11 +2442,11 @@ const oe = /* @__PURE__ */ te(dl, [["render", cl]]), gl = {
|
|
|
2442
2442
|
}, {
|
|
2443
2443
|
default: v(() => [
|
|
2444
2444
|
p(j, {
|
|
2445
|
-
icon: c(
|
|
2445
|
+
icon: c(Lt),
|
|
2446
2446
|
loading: !1,
|
|
2447
2447
|
color: "red"
|
|
2448
2448
|
}, null, 8, ["icon"]),
|
|
2449
|
-
e("span",
|
|
2449
|
+
e("span", Hl, g(S.npsLiterals.unhappy), 1)
|
|
2450
2450
|
]),
|
|
2451
2451
|
_: 1
|
|
2452
2452
|
}),
|
|
@@ -2457,11 +2457,11 @@ const oe = /* @__PURE__ */ te(dl, [["render", cl]]), gl = {
|
|
|
2457
2457
|
}, {
|
|
2458
2458
|
default: v(() => [
|
|
2459
2459
|
p(j, {
|
|
2460
|
-
icon: c(
|
|
2460
|
+
icon: c(zt),
|
|
2461
2461
|
loading: !1,
|
|
2462
2462
|
color: "yellow"
|
|
2463
2463
|
}, null, 8, ["icon"]),
|
|
2464
|
-
e("span",
|
|
2464
|
+
e("span", El, g(S.npsLiterals.neutral), 1)
|
|
2465
2465
|
]),
|
|
2466
2466
|
_: 1
|
|
2467
2467
|
}),
|
|
@@ -2472,17 +2472,17 @@ const oe = /* @__PURE__ */ te(dl, [["render", cl]]), gl = {
|
|
|
2472
2472
|
}, {
|
|
2473
2473
|
default: v(() => [
|
|
2474
2474
|
p(j, {
|
|
2475
|
-
icon: c(
|
|
2475
|
+
icon: c(At),
|
|
2476
2476
|
loading: !1,
|
|
2477
2477
|
color: "green"
|
|
2478
2478
|
}, null, 8, ["icon"]),
|
|
2479
|
-
e("span",
|
|
2479
|
+
e("span", Zl, g(S.npsLiterals.happy), 1)
|
|
2480
2480
|
]),
|
|
2481
2481
|
_: 1
|
|
2482
2482
|
})
|
|
2483
2483
|
])) : b("", !0),
|
|
2484
|
-
e("div",
|
|
2485
|
-
e("div",
|
|
2484
|
+
e("div", Jl, [
|
|
2485
|
+
e("div", Wl, [
|
|
2486
2486
|
C(e("input", {
|
|
2487
2487
|
type: "datetime-local",
|
|
2488
2488
|
"onUpdate:modelValue": B[0] || (B[0] = (P) => c(o).from = P),
|
|
@@ -2491,11 +2491,11 @@ const oe = /* @__PURE__ */ te(dl, [["render", cl]]), gl = {
|
|
|
2491
2491
|
name: "from",
|
|
2492
2492
|
id: "from",
|
|
2493
2493
|
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"
|
|
2494
|
-
}, null, 40,
|
|
2494
|
+
}, null, 40, Gl), [
|
|
2495
2495
|
[X, c(o).from]
|
|
2496
2496
|
])
|
|
2497
2497
|
]),
|
|
2498
|
-
e("div",
|
|
2498
|
+
e("div", Ql, [
|
|
2499
2499
|
C(e("input", {
|
|
2500
2500
|
type: "datetime-local",
|
|
2501
2501
|
"onUpdate:modelValue": B[1] || (B[1] = (P) => c(o).to = P),
|
|
@@ -2504,7 +2504,7 @@ const oe = /* @__PURE__ */ te(dl, [["render", cl]]), gl = {
|
|
|
2504
2504
|
name: "to",
|
|
2505
2505
|
id: "to",
|
|
2506
2506
|
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"
|
|
2507
|
-
}, null, 40,
|
|
2507
|
+
}, null, 40, Kl), [
|
|
2508
2508
|
[X, c(o).to]
|
|
2509
2509
|
])
|
|
2510
2510
|
]),
|
|
@@ -2517,7 +2517,7 @@ const oe = /* @__PURE__ */ te(dl, [["render", cl]]), gl = {
|
|
|
2517
2517
|
}, null, 8, ["loading", "icon"])
|
|
2518
2518
|
])
|
|
2519
2519
|
]),
|
|
2520
|
-
C(e("div",
|
|
2520
|
+
C(e("div", Xl, [
|
|
2521
2521
|
p(c(Me), {
|
|
2522
2522
|
class: "chart",
|
|
2523
2523
|
type: S.type,
|
|
@@ -2580,11 +2580,11 @@ const oe = /* @__PURE__ */ te(dl, [["render", cl]]), gl = {
|
|
|
2580
2580
|
])
|
|
2581
2581
|
], 64));
|
|
2582
2582
|
}
|
|
2583
|
-
}),
|
|
2583
|
+
}), tr = {
|
|
2584
2584
|
name: "uiFooter"
|
|
2585
|
-
},
|
|
2586
|
-
function
|
|
2587
|
-
return s(), n("footer",
|
|
2585
|
+
}, sr = { class: "bg-white" };
|
|
2586
|
+
function or(m, i, l, a, r, o) {
|
|
2587
|
+
return s(), n("footer", sr, i[0] || (i[0] = [
|
|
2588
2588
|
e("div", { class: "mx-auto py-6 px-4 sm:px-6 md:flex md:items-center md:justify-between lg:px-8" }, [
|
|
2589
2589
|
e("div", { class: "mt-8 md:mt-0 md:order-1" }, [
|
|
2590
2590
|
e("p", { class: "text-center text-base text-gray-400" }, "© Made by Hotelinking.")
|
|
@@ -2592,7 +2592,7 @@ function sr(m, i, l, a, r, o) {
|
|
|
2592
2592
|
], -1)
|
|
2593
2593
|
]));
|
|
2594
2594
|
}
|
|
2595
|
-
const
|
|
2595
|
+
const lr = /* @__PURE__ */ te(tr, [["render", or]]), rr = /* @__PURE__ */ M({
|
|
2596
2596
|
__name: "uiLoadingScreen",
|
|
2597
2597
|
props: {
|
|
2598
2598
|
title: {},
|
|
@@ -2620,22 +2620,22 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
2620
2620
|
])
|
|
2621
2621
|
], 2));
|
|
2622
2622
|
}
|
|
2623
|
-
}),
|
|
2623
|
+
}), nr = {
|
|
2624
2624
|
key: 0,
|
|
2625
2625
|
class: "py-6 flex items-center justify-between"
|
|
2626
|
-
},
|
|
2626
|
+
}, ar = { class: "flex-1 flex justify-between sm:hidden" }, ir = {
|
|
2627
2627
|
href: "#",
|
|
2628
2628
|
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"
|
|
2629
|
-
},
|
|
2629
|
+
}, dr = {
|
|
2630
2630
|
href: "#",
|
|
2631
2631
|
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"
|
|
2632
|
-
},
|
|
2632
|
+
}, ur = { class: "hidden sm:flex-1 sm:flex sm:items-center sm:justify-between" }, cr = { class: "text-sm text-gray-700" }, gr = { class: "font-bold mx-1" }, pr = { class: "font-bold mx-1" }, mr = {
|
|
2633
2633
|
class: "relative z-0 inline-flex rounded-md shadow-sm -space-x-px",
|
|
2634
2634
|
"aria-label": "Pagination"
|
|
2635
|
-
},
|
|
2635
|
+
}, fr = { class: "sr-only" }, yr = ["onClick"], hr = { class: "sr-only" }, vr = {
|
|
2636
2636
|
key: 1,
|
|
2637
2637
|
class: "py-6 flex flex-row justify-between items-center animate-pulse"
|
|
2638
|
-
},
|
|
2638
|
+
}, br = /* @__PURE__ */ M({
|
|
2639
2639
|
__name: "uiPagination",
|
|
2640
2640
|
props: {
|
|
2641
2641
|
current: {},
|
|
@@ -2654,35 +2654,35 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
2654
2654
|
u.push(f);
|
|
2655
2655
|
return u;
|
|
2656
2656
|
});
|
|
2657
|
-
return (u, f) => u.loading ? (s(), n("div",
|
|
2657
|
+
return (u, f) => u.loading ? (s(), n("div", vr, f[2] || (f[2] = [
|
|
2658
2658
|
e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/5" }, null, -1),
|
|
2659
2659
|
e("div", { class: "h-10 w-32 bg-gray-200 rounded dark:bg-gray-300" }, null, -1)
|
|
2660
|
-
]))) : (s(), n("div",
|
|
2661
|
-
e("div",
|
|
2662
|
-
e("a",
|
|
2660
|
+
]))) : (s(), n("div", nr, [
|
|
2661
|
+
e("div", ar, [
|
|
2662
|
+
e("a", ir, [
|
|
2663
2663
|
q(u.$slots, "previous")
|
|
2664
2664
|
]),
|
|
2665
|
-
e("a",
|
|
2665
|
+
e("a", dr, [
|
|
2666
2666
|
q(u.$slots, "next")
|
|
2667
2667
|
])
|
|
2668
2668
|
]),
|
|
2669
|
-
e("div",
|
|
2669
|
+
e("div", ur, [
|
|
2670
2670
|
e("div", null, [
|
|
2671
|
-
e("p",
|
|
2671
|
+
e("p", cr, [
|
|
2672
2672
|
q(u.$slots, "showing"),
|
|
2673
|
-
e("span",
|
|
2673
|
+
e("span", gr, g(u.current), 1),
|
|
2674
2674
|
q(u.$slots, "of"),
|
|
2675
|
-
e("span",
|
|
2675
|
+
e("span", pr, g(u.total), 1)
|
|
2676
2676
|
])
|
|
2677
2677
|
]),
|
|
2678
2678
|
e("div", null, [
|
|
2679
|
-
e("nav",
|
|
2679
|
+
e("nav", mr, [
|
|
2680
2680
|
C(e("button", {
|
|
2681
2681
|
ref: "test-first-button",
|
|
2682
2682
|
onClick: f[0] || (f[0] = (y) => l("changePage", u.current - 1)),
|
|
2683
2683
|
class: "relative inline-flex items-center px-2 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50"
|
|
2684
2684
|
}, [
|
|
2685
|
-
e("span",
|
|
2685
|
+
e("span", fr, [
|
|
2686
2686
|
q(u.$slots, "previous")
|
|
2687
2687
|
]),
|
|
2688
2688
|
p(c(Je), {
|
|
@@ -2699,13 +2699,13 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
2699
2699
|
class: h([[
|
|
2700
2700
|
y === u.current ? "z-10 bg-indigo-50 border-indigo-500 text-indigo-600" : "bg-white border-gray-300 text-gray-500 hover:bg-gray-50"
|
|
2701
2701
|
], "relative inline-flex items-center px-4 py-2 border text-sm font-medium"])
|
|
2702
|
-
}, g(y), 11,
|
|
2702
|
+
}, g(y), 11, yr))), 128)),
|
|
2703
2703
|
C(e("button", {
|
|
2704
2704
|
ref: "test-last-button",
|
|
2705
2705
|
onClick: f[1] || (f[1] = (y) => l("changePage", u.current + 1)),
|
|
2706
2706
|
class: "relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50"
|
|
2707
2707
|
}, [
|
|
2708
|
-
e("span",
|
|
2708
|
+
e("span", hr, [
|
|
2709
2709
|
q(u.$slots, "next")
|
|
2710
2710
|
]),
|
|
2711
2711
|
p(c(ee), {
|
|
@@ -2720,25 +2720,25 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
2720
2720
|
])
|
|
2721
2721
|
]));
|
|
2722
2722
|
}
|
|
2723
|
-
}),
|
|
2723
|
+
}), wr = { class: "hidden md:flex md:flex-col sticky md:inset-y-0" }, xr = { class: "flex flex-col flex-grow overflow-y-auto" }, kr = { class: "grow flex flex-col" }, _r = {
|
|
2724
2724
|
class: "flex-1 space-y-1",
|
|
2725
2725
|
"aria-label": "Sidebar"
|
|
2726
|
-
},
|
|
2726
|
+
}, $r = { key: 0 }, Cr = ["onClick"], Sr = {
|
|
2727
2727
|
key: 1,
|
|
2728
2728
|
class: "text-left"
|
|
2729
|
-
},
|
|
2729
|
+
}, Br = {
|
|
2730
2730
|
key: 1,
|
|
2731
2731
|
class: "flex-1 text-left"
|
|
2732
|
-
},
|
|
2732
|
+
}, Mr = {
|
|
2733
2733
|
key: 2,
|
|
2734
2734
|
class: "flex-1"
|
|
2735
|
-
},
|
|
2735
|
+
}, Dr = {
|
|
2736
2736
|
key: 0,
|
|
2737
2737
|
class: "align-left"
|
|
2738
|
-
},
|
|
2738
|
+
}, jr = {
|
|
2739
2739
|
key: 1,
|
|
2740
2740
|
class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2"
|
|
2741
|
-
},
|
|
2741
|
+
}, Tr = { class: "h-12 flex flex-row items-center" }, zr = /* @__PURE__ */ M({
|
|
2742
2742
|
__name: "uiSidebar",
|
|
2743
2743
|
props: {
|
|
2744
2744
|
navigation: {},
|
|
@@ -2750,11 +2750,11 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
2750
2750
|
emits: ["sideBarClick"],
|
|
2751
2751
|
setup(m, { emit: i }) {
|
|
2752
2752
|
const l = i;
|
|
2753
|
-
return (a, r) => (s(), n("div",
|
|
2754
|
-
e("div",
|
|
2755
|
-
e("div",
|
|
2756
|
-
e("nav",
|
|
2757
|
-
a.loading ? (s(), n(_, { key: 1 }, $(5, (o) => e("div",
|
|
2753
|
+
return (a, r) => (s(), n("div", wr, [
|
|
2754
|
+
e("div", xr, [
|
|
2755
|
+
e("div", kr, [
|
|
2756
|
+
e("nav", _r, [
|
|
2757
|
+
a.loading ? (s(), n(_, { key: 1 }, $(5, (o) => e("div", Tr, r[1] || (r[1] = [
|
|
2758
2758
|
e("div", { class: "w-6 h-6 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 mr-4" }, null, -1),
|
|
2759
2759
|
e("div", { class: "h-3 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 grow" }, null, -1)
|
|
2760
2760
|
]))), 64)) : (s(!0), n(_, { key: 0 }, $(a.navigation, (o) => (s(), n(_, {
|
|
@@ -2780,9 +2780,9 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
2780
2780
|
]),
|
|
2781
2781
|
"aria-hidden": "true"
|
|
2782
2782
|
}, null, 8, ["loading", "icon", "class"])) : b("", !0),
|
|
2783
|
-
a.loading ? (s(), n("div",
|
|
2783
|
+
a.loading ? (s(), n("div", Mr, r[0] || (r[0] = [
|
|
2784
2784
|
e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, null, -1)
|
|
2785
|
-
]))) : (s(), n("span",
|
|
2785
|
+
]))) : (s(), n("span", Br, g(o.name), 1)),
|
|
2786
2786
|
p(c(ee), {
|
|
2787
2787
|
class: h([t ? "text-black rotate-90" : "text-gray-400", "mr-3 flex-shrink-0 h-3 w-3 transform group-hover:text-gray-400 transition-colors ease-in-out duration-150"])
|
|
2788
2788
|
}, null, 8, ["class"])
|
|
@@ -2797,7 +2797,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
2797
2797
|
class: h([d.current ? "bg-gray-200" : "hover:text-gray-900 hover:bg-gray-100", "group text-gray-600 w-full flex items-center text-left pl-11 pr-2 py-2 text-sm font-medium rounded-md"])
|
|
2798
2798
|
}, {
|
|
2799
2799
|
default: v(() => [
|
|
2800
|
-
a.loading ? (s(), n("div",
|
|
2800
|
+
a.loading ? (s(), n("div", jr)) : (s(), n("span", Dr, g(d.name), 1))
|
|
2801
2801
|
]),
|
|
2802
2802
|
_: 2
|
|
2803
2803
|
}, 1032, ["onClick", "class"]))), 128))
|
|
@@ -2806,7 +2806,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
2806
2806
|
}, 1024)
|
|
2807
2807
|
]),
|
|
2808
2808
|
_: 2
|
|
2809
|
-
}, 1024)) : (s(), n("div",
|
|
2809
|
+
}, 1024)) : (s(), n("div", $r, [
|
|
2810
2810
|
e("button", {
|
|
2811
2811
|
onClick: (t) => l("sideBarClick", o.id),
|
|
2812
2812
|
class: h([
|
|
@@ -2824,8 +2824,8 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
2824
2824
|
]),
|
|
2825
2825
|
"aria-hidden": "true"
|
|
2826
2826
|
}, null, 8, ["loading", "icon", "class"])) : b("", !0),
|
|
2827
|
-
a.loading ? b("", !0) : (s(), n("span",
|
|
2828
|
-
], 10,
|
|
2827
|
+
a.loading ? b("", !0) : (s(), n("span", Sr, g(o.name), 1))
|
|
2828
|
+
], 10, Cr)
|
|
2829
2829
|
]))
|
|
2830
2830
|
], 64))), 128))
|
|
2831
2831
|
])
|
|
@@ -2833,24 +2833,24 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
2833
2833
|
])
|
|
2834
2834
|
]));
|
|
2835
2835
|
}
|
|
2836
|
-
}),
|
|
2836
|
+
}), Lr = { class: "flex flex-row grow border-r border-gray-200 bg-white pr-6" }, Ar = { class: "bg-indigo-600 w-16 mr-6" }, Nr = ["onClick"], Or = {
|
|
2837
2837
|
key: 0,
|
|
2838
2838
|
class: "flex flex-col grow gap-y-5 overflow-y-auto pr-6"
|
|
2839
|
-
},
|
|
2839
|
+
}, Ir = { class: "flex h-16 shrink-0 items-center" }, Yr = ["src"], Pr = { class: "flex flex-1 flex-col" }, Vr = {
|
|
2840
2840
|
key: 0,
|
|
2841
2841
|
role: "list",
|
|
2842
2842
|
class: "flex flex-1 flex-col gap-y-7 mb-4"
|
|
2843
|
-
},
|
|
2843
|
+
}, Fr = {
|
|
2844
2844
|
role: "list",
|
|
2845
2845
|
class: "ml-2 space-y-1"
|
|
2846
|
-
},
|
|
2846
|
+
}, qr = ["onClick"], Rr = {
|
|
2847
2847
|
key: 1,
|
|
2848
2848
|
role: "list",
|
|
2849
2849
|
class: "flex flex-1 flex-col gap-y-7 mb-4"
|
|
2850
|
-
},
|
|
2850
|
+
}, Ur = { class: "ml-2 space-y-1" }, Hr = { class: "font-bold mb-4" }, Er = {
|
|
2851
2851
|
key: 1,
|
|
2852
2852
|
class: "flex flex-col grow gap-y-5 overflow-y-auto pr-6"
|
|
2853
|
-
},
|
|
2853
|
+
}, Zr = { class: "h-12 flex flex-row items-center" }, he = /* @__PURE__ */ M({
|
|
2854
2854
|
__name: "uiSidebarV2",
|
|
2855
2855
|
props: {
|
|
2856
2856
|
navigation: {},
|
|
@@ -2862,8 +2862,8 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
2862
2862
|
},
|
|
2863
2863
|
emits: ["productBarClick", "sideBarClick"],
|
|
2864
2864
|
setup(m, { emit: i }) {
|
|
2865
|
-
return (l, a) => (s(), n("div",
|
|
2866
|
-
e("div",
|
|
2865
|
+
return (l, a) => (s(), n("div", Lr, [
|
|
2866
|
+
e("div", Ar, [
|
|
2867
2867
|
e("ul", null, [
|
|
2868
2868
|
(s(!0), n(_, null, $(l.productsSidebar, (r, o) => (s(), n("li", {
|
|
2869
2869
|
key: o,
|
|
@@ -2876,26 +2876,26 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
2876
2876
|
color: "white",
|
|
2877
2877
|
size: "bigger"
|
|
2878
2878
|
}, null, 8, ["icon"])
|
|
2879
|
-
], 10,
|
|
2879
|
+
], 10, Nr))), 128))
|
|
2880
2880
|
])
|
|
2881
2881
|
]),
|
|
2882
|
-
l.loading ? (s(), n("div",
|
|
2883
|
-
(s(), n(_, null, $(5, (r) => e("div",
|
|
2882
|
+
l.loading ? (s(), n("div", Er, [
|
|
2883
|
+
(s(), n(_, null, $(5, (r) => e("div", Zr, a[0] || (a[0] = [
|
|
2884
2884
|
e("div", { class: "w-6 h-6 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 mr-4" }, null, -1),
|
|
2885
2885
|
e("div", { class: "h-3 animate-pulse bg-gray-200 rounded-full w-1/2 dark:bg-gray-300" }, null, -1)
|
|
2886
2886
|
]))), 64))
|
|
2887
|
-
])) : (s(), n("div",
|
|
2888
|
-
e("div",
|
|
2887
|
+
])) : (s(), n("div", Or, [
|
|
2888
|
+
e("div", Ir, [
|
|
2889
2889
|
e("img", {
|
|
2890
2890
|
class: "h-8 w-auto",
|
|
2891
2891
|
src: l.logo,
|
|
2892
2892
|
alt: "Your Company"
|
|
2893
|
-
}, null, 8,
|
|
2893
|
+
}, null, 8, Yr)
|
|
2894
2894
|
]),
|
|
2895
|
-
e("nav",
|
|
2896
|
-
l.isFilterNavigation ? b("", !0) : (s(), n("ul",
|
|
2895
|
+
e("nav", Pr, [
|
|
2896
|
+
l.isFilterNavigation ? b("", !0) : (s(), n("ul", Vr, [
|
|
2897
2897
|
e("li", null, [
|
|
2898
|
-
e("ul",
|
|
2898
|
+
e("ul", Fr, [
|
|
2899
2899
|
(s(!0), n(_, null, $(l.navigation, (r) => (s(), n("li", {
|
|
2900
2900
|
key: r.name
|
|
2901
2901
|
}, [
|
|
@@ -2968,13 +2968,13 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
2968
2968
|
class: "shrink-0"
|
|
2969
2969
|
}, null, 8, ["icon"]),
|
|
2970
2970
|
L(" " + g(r.name), 1)
|
|
2971
|
-
], 10,
|
|
2971
|
+
], 10, qr))
|
|
2972
2972
|
]))), 128))
|
|
2973
2973
|
])
|
|
2974
2974
|
])
|
|
2975
2975
|
])),
|
|
2976
|
-
l.isFilterNavigation && l.filterNavigation ? (s(), n("ul",
|
|
2977
|
-
e("li",
|
|
2976
|
+
l.isFilterNavigation && l.filterNavigation ? (s(), n("ul", Rr, [
|
|
2977
|
+
e("li", Ur, [
|
|
2978
2978
|
l.filterNavigation.hasSearch && l.filterNavigation.search ? (s(), k(E, {
|
|
2979
2979
|
key: 0,
|
|
2980
2980
|
name: l.filterNavigation.search.name,
|
|
@@ -2988,7 +2988,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
2988
2988
|
class: "ml-2",
|
|
2989
2989
|
key: o
|
|
2990
2990
|
}, [
|
|
2991
|
-
e("p",
|
|
2991
|
+
e("p", Hr, g(r.label), 1),
|
|
2992
2992
|
(s(!0), n(_, null, $(r.filters, (t, d) => (s(), k(Ue, {
|
|
2993
2993
|
class: "mb-2",
|
|
2994
2994
|
value: t.value,
|
|
@@ -3005,10 +3005,10 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3005
3005
|
]))
|
|
3006
3006
|
]));
|
|
3007
3007
|
}
|
|
3008
|
-
}),
|
|
3008
|
+
}), Jr = { key: 0 }, Wr = { class: "ml-16 text-sm font-medium text-gray-500 truncate" }, Gr = { class: "ml-16 flex items-baseline pb-5" }, Qr = { class: "text-2xl font-semibold text-gray-900" }, Kr = {
|
|
3009
3009
|
key: 0,
|
|
3010
3010
|
class: "text-black ml-2 flex items-baseline text-sm font-semibold"
|
|
3011
|
-
},
|
|
3011
|
+
}, Xr = { class: "absolute bottom-0 inset-x-0 bg-gray-50 px-4 py-4 sm:px-6" }, en = { class: "text-sm" }, tn = { key: 1 }, sn = { class: "relative bg-white pt-5 px-4 sm:pt-6 sm:px-6 shadow rounded-lg overflow-hidden h-full pb-6" }, on = { class: "absolute bg-gray-200 rounded-md p-3 animate-pulse" }, tt = /* @__PURE__ */ M({
|
|
3012
3012
|
__name: "uiStats",
|
|
3013
3013
|
props: {
|
|
3014
3014
|
item: {},
|
|
@@ -3016,10 +3016,10 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3016
3016
|
},
|
|
3017
3017
|
emits: ["statClick"],
|
|
3018
3018
|
setup(m, { emit: i }) {
|
|
3019
|
-
return (l, a) => l.loading ? (s(), n("div",
|
|
3020
|
-
e("div",
|
|
3019
|
+
return (l, a) => l.loading ? (s(), n("div", tn, [
|
|
3020
|
+
e("div", sn, [
|
|
3021
3021
|
e("dt", null, [
|
|
3022
|
-
e("div",
|
|
3022
|
+
e("div", on, [
|
|
3023
3023
|
p(j, {
|
|
3024
3024
|
loading: l.loading,
|
|
3025
3025
|
icon: l.item.icon,
|
|
@@ -3035,7 +3035,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3035
3035
|
], -1))
|
|
3036
3036
|
])
|
|
3037
3037
|
])
|
|
3038
|
-
])) : (s(), n("div",
|
|
3038
|
+
])) : (s(), n("div", Jr, [
|
|
3039
3039
|
e("div", {
|
|
3040
3040
|
class: h(["relative bg-white pt-5 px-4 sm:pt-6 sm:px-6 shadow rounded-lg overflow-hidden h-full", { "pb-12": l.item.showFooter }])
|
|
3041
3041
|
}, [
|
|
@@ -3056,11 +3056,11 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3056
3056
|
loading: l.loading
|
|
3057
3057
|
}, null, 8, ["icon", "loading"])
|
|
3058
3058
|
], 2),
|
|
3059
|
-
e("p",
|
|
3059
|
+
e("p", Wr, g(l.item.name), 1)
|
|
3060
3060
|
]),
|
|
3061
|
-
e("dd",
|
|
3062
|
-
e("p",
|
|
3063
|
-
l.item.explanation ? (s(), n("p",
|
|
3061
|
+
e("dd", Gr, [
|
|
3062
|
+
e("p", Qr, g(l.item.stat), 1),
|
|
3063
|
+
l.item.explanation ? (s(), n("p", Kr, g(l.item.explanation), 1)) : b("", !0),
|
|
3064
3064
|
l.item.changeType ? (s(), n("p", {
|
|
3065
3065
|
key: 1,
|
|
3066
3066
|
class: h([
|
|
@@ -3072,20 +3072,20 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3072
3072
|
"ml-2 flex items-baseline text-sm font-semibold"
|
|
3073
3073
|
])
|
|
3074
3074
|
}, [
|
|
3075
|
-
l.item.changeType === "increase" ? (s(), k(c(
|
|
3075
|
+
l.item.changeType === "increase" ? (s(), k(c(Dt), {
|
|
3076
3076
|
key: 0,
|
|
3077
3077
|
class: "self-center flex-shrink-0 h-3 w-3 text-green-500",
|
|
3078
3078
|
"aria-hidden": "true"
|
|
3079
3079
|
})) : b("", !0),
|
|
3080
|
-
l.item.changeType === "decrease" ? (s(), k(c(
|
|
3080
|
+
l.item.changeType === "decrease" ? (s(), k(c(Bt), {
|
|
3081
3081
|
key: 1,
|
|
3082
3082
|
class: "self-center flex-shrink-0 h-3 w-3 text-red-500",
|
|
3083
3083
|
"aria-hidden": "true"
|
|
3084
3084
|
})) : b("", !0),
|
|
3085
3085
|
L(" " + g(l.item.change), 1)
|
|
3086
3086
|
], 2)) : b("", !0),
|
|
3087
|
-
C(e("div",
|
|
3088
|
-
e("div",
|
|
3087
|
+
C(e("div", Xr, [
|
|
3088
|
+
e("div", en, [
|
|
3089
3089
|
e("span", {
|
|
3090
3090
|
onClick: a[0] || (a[0] = (r) => l.$emit("statClick", l.item.id)),
|
|
3091
3091
|
class: "font-medium text-indigo-600 hover:text-indigo-500 cursor-pointer"
|
|
@@ -3098,19 +3098,19 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3098
3098
|
], 2)
|
|
3099
3099
|
]));
|
|
3100
3100
|
}
|
|
3101
|
-
}),
|
|
3101
|
+
}), ln = {
|
|
3102
3102
|
key: 0,
|
|
3103
3103
|
class: "overflow-hidden bg-white shadow sm:rounded-lg"
|
|
3104
|
-
},
|
|
3104
|
+
}, rn = { class: "px-4 py-5 sm:px-6" }, nn = { class: "text-lg font-medium leading-6 text-gray-900" }, an = { class: "mt-1 max-w-2xl text-sm text-gray-500" }, dn = { class: "border-t border-gray-200" }, un = { class: "text-sm font-medium text-gray-500" }, cn = {
|
|
3105
3105
|
key: 0,
|
|
3106
3106
|
class: "mt-1 text-sm text-gray-900 sm:col-span-2 sm:mt-0 break-normal"
|
|
3107
|
-
},
|
|
3107
|
+
}, gn = ["onClick"], pn = {
|
|
3108
3108
|
key: 2,
|
|
3109
3109
|
class: "mt-1 text-sm text-gray-900 sm:col-span-2 sm:mt-0 break-words"
|
|
3110
|
-
},
|
|
3110
|
+
}, mn = {
|
|
3111
3111
|
key: 1,
|
|
3112
3112
|
class: "overflow-hidden bg-white shadow sm:rounded-lg"
|
|
3113
|
-
},
|
|
3113
|
+
}, fn = { class: "border-t border-gray-200" }, yn = /* @__PURE__ */ M({
|
|
3114
3114
|
__name: "uiStripedCard",
|
|
3115
3115
|
props: {
|
|
3116
3116
|
title: {},
|
|
@@ -3120,9 +3120,9 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3120
3120
|
},
|
|
3121
3121
|
emits: ["itemClicked"],
|
|
3122
3122
|
setup(m) {
|
|
3123
|
-
return (i, l) => i.loading ? (s(), n("div",
|
|
3123
|
+
return (i, l) => i.loading ? (s(), n("div", mn, [
|
|
3124
3124
|
l[1] || (l[1] = Q('<div class="px-4 py-5 sm:px-6 animate-pulse"><h3 class="text-lg font-medium leading-6 text-gray-900"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4"></div></h3><div class="mt-1 max-w-2xl text-sm text-gray-500"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-2/5"></div></div></div>', 1)),
|
|
3125
|
-
e("div",
|
|
3125
|
+
e("div", fn, [
|
|
3126
3126
|
e("dl", null, [
|
|
3127
3127
|
(s(), n(_, null, $(5, (a) => e("div", {
|
|
3128
3128
|
key: a,
|
|
@@ -3137,19 +3137,19 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3137
3137
|
]), 2)), 64))
|
|
3138
3138
|
])
|
|
3139
3139
|
])
|
|
3140
|
-
])) : (s(), n("div",
|
|
3141
|
-
e("div",
|
|
3142
|
-
e("h3",
|
|
3143
|
-
e("p",
|
|
3140
|
+
])) : (s(), n("div", ln, [
|
|
3141
|
+
e("div", rn, [
|
|
3142
|
+
e("h3", nn, g(i.title), 1),
|
|
3143
|
+
e("p", an, g(i.subtitle), 1)
|
|
3144
3144
|
]),
|
|
3145
|
-
e("div",
|
|
3145
|
+
e("div", dn, [
|
|
3146
3146
|
e("dl", null, [
|
|
3147
3147
|
(s(!0), n(_, null, $(i.items, (a, r) => (s(), n("div", {
|
|
3148
3148
|
key: r,
|
|
3149
3149
|
class: h(["px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6", [r % 2 === 0 ? "bg-gray-50" : "bg-white"]])
|
|
3150
3150
|
}, [
|
|
3151
|
-
e("dt",
|
|
3152
|
-
a.type === "tags" ? (s(), n("dd",
|
|
3151
|
+
e("dt", un, g(a.title), 1),
|
|
3152
|
+
a.type === "tags" ? (s(), n("dd", cn, [
|
|
3153
3153
|
(s(!0), n(_, null, $(a.tags, (o, t) => (s(), k(U, {
|
|
3154
3154
|
loading: i.loading,
|
|
3155
3155
|
key: t,
|
|
@@ -3165,13 +3165,13 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3165
3165
|
key: 1,
|
|
3166
3166
|
class: "mt-1 text-sm text-indigo-600 hover:text-indigo-400 sm:col-span-2 sm:mt-0 cursor-pointer",
|
|
3167
3167
|
onClick: (o) => i.$emit("itemClicked", a.emits)
|
|
3168
|
-
}, g(a.text), 9,
|
|
3168
|
+
}, g(a.text), 9, gn)) : (s(), n("dd", pn, g(a.text), 1))
|
|
3169
3169
|
], 2))), 128))
|
|
3170
3170
|
])
|
|
3171
3171
|
])
|
|
3172
3172
|
]));
|
|
3173
3173
|
}
|
|
3174
|
-
}),
|
|
3174
|
+
}), hn = { class: "absolute top-10 bg-indigo-600 text-white text-xs p-2 rounded z-10 font-light w-60 flex flex-row items-start" }, vn = { class: "ml-2" }, bn = {
|
|
3175
3175
|
__name: "tooltip",
|
|
3176
3176
|
props: {
|
|
3177
3177
|
tip: {
|
|
@@ -3180,7 +3180,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3180
3180
|
}
|
|
3181
3181
|
},
|
|
3182
3182
|
setup(m) {
|
|
3183
|
-
return (i, l) => (s(), n("div",
|
|
3183
|
+
return (i, l) => (s(), n("div", hn, [
|
|
3184
3184
|
l[0] || (l[0] = e("svg", {
|
|
3185
3185
|
class: "absolute -top-3 left-0",
|
|
3186
3186
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3198,25 +3198,25 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3198
3198
|
], -1)),
|
|
3199
3199
|
e("div", null, [
|
|
3200
3200
|
p(j, {
|
|
3201
|
-
icon: c(
|
|
3201
|
+
icon: c(Yt),
|
|
3202
3202
|
loading: !1,
|
|
3203
3203
|
color: "white",
|
|
3204
3204
|
size: "big"
|
|
3205
3205
|
}, null, 8, ["icon"])
|
|
3206
3206
|
]),
|
|
3207
|
-
e("span",
|
|
3207
|
+
e("span", vn, g(m.tip), 1)
|
|
3208
3208
|
]));
|
|
3209
3209
|
}
|
|
3210
|
-
},
|
|
3210
|
+
}, wn = { key: 0 }, xn = { class: "flex flex-col" }, kn = { class: "-my-2 overflow-x-auto" }, _n = { class: "inline-block min-w-full py-2 align-middle px-1" }, $n = { class: "relative overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg" }, Cn = {
|
|
3211
3211
|
key: 0,
|
|
3212
3212
|
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"
|
|
3213
|
-
},
|
|
3213
|
+
}, Sn = ["onClick"], Bn = { class: "min-w-full table-fixed divide-y divide-gray-300" }, Mn = { class: "bg-gray-50" }, Dn = ["checked", "indeterminate"], jn = ["onMouseover", "onMouseleave"], Tn = ["onClick"], zn = {
|
|
3214
3214
|
key: 2,
|
|
3215
3215
|
class: "group flex items-center uppercase text-xs"
|
|
3216
|
-
},
|
|
3216
|
+
}, Ln = { class: "divide-y divide-gray-200 bg-white" }, An = {
|
|
3217
3217
|
key: 0,
|
|
3218
3218
|
class: "absolute inset-y-0 left-0 w-0.5 bg-indigo-600"
|
|
3219
|
-
},
|
|
3219
|
+
}, Nn = ["value"], On = ["onClick"], In = ["href"], Yn = { key: 3 }, Pn = /* @__PURE__ */ M({
|
|
3220
3220
|
__name: "uiTable",
|
|
3221
3221
|
props: {
|
|
3222
3222
|
resetSelected: { type: Boolean, default: !1 },
|
|
@@ -3243,21 +3243,21 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3243
3243
|
r.value = w, w && r.value && (l.value = [], r.value = !w, o("selectedItemsDeleted"));
|
|
3244
3244
|
}), (w, T) => {
|
|
3245
3245
|
var A, S;
|
|
3246
|
-
return w.loading ? (s(), k(et, { key: 1 })) : (s(), n("div",
|
|
3247
|
-
e("div",
|
|
3248
|
-
e("div",
|
|
3249
|
-
e("div",
|
|
3250
|
-
e("div",
|
|
3251
|
-
((A = c(l)) == null ? void 0 : A.length) > 0 && ((S = w.actions) == null ? void 0 : S.length) > 0 ? (s(), n("div",
|
|
3246
|
+
return w.loading ? (s(), k(et, { key: 1 })) : (s(), n("div", wn, [
|
|
3247
|
+
e("div", xn, [
|
|
3248
|
+
e("div", kn, [
|
|
3249
|
+
e("div", _n, [
|
|
3250
|
+
e("div", $n, [
|
|
3251
|
+
((A = c(l)) == null ? void 0 : A.length) > 0 && ((S = w.actions) == null ? void 0 : S.length) > 0 ? (s(), n("div", Cn, [
|
|
3252
3252
|
(s(!0), n(_, null, $(w.actions, (B, P) => (s(), n("button", {
|
|
3253
3253
|
onClick: (x) => w.$emit("tableAction", { action: B.id, items: c(l) }),
|
|
3254
3254
|
key: P,
|
|
3255
3255
|
type: "button",
|
|
3256
3256
|
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"
|
|
3257
|
-
}, g(B.name), 9,
|
|
3257
|
+
}, g(B.name), 9, Sn))), 128))
|
|
3258
3258
|
])) : b("", !0),
|
|
3259
|
-
e("table",
|
|
3260
|
-
e("thead",
|
|
3259
|
+
e("table", Bn, [
|
|
3260
|
+
e("thead", Mn, [
|
|
3261
3261
|
e("tr", null, [
|
|
3262
3262
|
e("th", {
|
|
3263
3263
|
scope: "col",
|
|
@@ -3270,7 +3270,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3270
3270
|
class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500",
|
|
3271
3271
|
type: "checkbox",
|
|
3272
3272
|
onChange: f
|
|
3273
|
-
}, null, 40,
|
|
3273
|
+
}, null, 40, Dn)) : b("", !0)
|
|
3274
3274
|
], 2),
|
|
3275
3275
|
(s(!0), n(_, null, $(w.header, (B, P) => (s(), n("th", {
|
|
3276
3276
|
key: P,
|
|
@@ -3279,7 +3279,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3279
3279
|
onMouseover: (x) => u(B.name, !0),
|
|
3280
3280
|
onMouseleave: (x) => u(B.name, !1)
|
|
3281
3281
|
}, [
|
|
3282
|
-
B.tooltip ? C((s(), k(
|
|
3282
|
+
B.tooltip ? C((s(), k(bn, {
|
|
3283
3283
|
key: 0,
|
|
3284
3284
|
tip: B.tooltip
|
|
3285
3285
|
}, null, 8, ["tip"])), [
|
|
@@ -3302,13 +3302,13 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3302
3302
|
color: B.value === w.orderedBy ? "white" : "primary"
|
|
3303
3303
|
}, null, 8, ["icon", "loading", "color"])
|
|
3304
3304
|
], 2)
|
|
3305
|
-
], 8,
|
|
3305
|
+
], 8, Tn)) : (s(), n("p", zn, [
|
|
3306
3306
|
e("span", null, g(B.name), 1)
|
|
3307
3307
|
]))
|
|
3308
|
-
], 40,
|
|
3308
|
+
], 40, jn))), 128))
|
|
3309
3309
|
])
|
|
3310
3310
|
]),
|
|
3311
|
-
e("tbody",
|
|
3311
|
+
e("tbody", Ln, [
|
|
3312
3312
|
(s(!0), n(_, null, $(w.items, (B, P) => {
|
|
3313
3313
|
var x, Y;
|
|
3314
3314
|
return s(), n("tr", {
|
|
@@ -3321,14 +3321,14 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3321
3321
|
e("td", {
|
|
3322
3322
|
class: h([((x = w.actions) == null ? void 0 : x.length) > 0 ? "w-2" : "w-0", "relative"])
|
|
3323
3323
|
}, [
|
|
3324
|
-
c(l).includes(B.id) ? (s(), n("div",
|
|
3324
|
+
c(l).includes(B.id) ? (s(), n("div", An)) : b("", !0),
|
|
3325
3325
|
((Y = w.actions) == null ? void 0 : Y.length) > 0 ? C((s(), n("input", {
|
|
3326
3326
|
key: 1,
|
|
3327
3327
|
"onUpdate:modelValue": T[0] || (T[0] = (I) => ve(l) ? l.value = I : l = I),
|
|
3328
3328
|
value: B.id,
|
|
3329
3329
|
class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500 flex-wrap",
|
|
3330
3330
|
type: "checkbox"
|
|
3331
|
-
}, null, 8,
|
|
3331
|
+
}, null, 8, Nn)), [
|
|
3332
3332
|
[Ie, c(l)]
|
|
3333
3333
|
]) : b("", !0)
|
|
3334
3334
|
], 2),
|
|
@@ -3352,11 +3352,11 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3352
3352
|
key: 1,
|
|
3353
3353
|
class: "text-indigo-600 hover:text-indigo-400 cursor-pointer",
|
|
3354
3354
|
onClick: (O) => y(I)
|
|
3355
|
-
}, g(I.content), 9,
|
|
3355
|
+
}, g(I.content), 9, On)) : typeof I == "object" && I.type === "href" ? (s(), n("a", {
|
|
3356
3356
|
key: 2,
|
|
3357
3357
|
class: "text-indigo-600 hover:text-indigo-400 cursor-pointer",
|
|
3358
3358
|
href: I.href
|
|
3359
|
-
}, g(I.content), 9,
|
|
3359
|
+
}, g(I.content), 9, In)) : (s(), n("span", Yn, g(I), 1))
|
|
3360
3360
|
], 2))), 128))
|
|
3361
3361
|
], 2);
|
|
3362
3362
|
}), 128))
|
|
@@ -3369,10 +3369,10 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3369
3369
|
]));
|
|
3370
3370
|
};
|
|
3371
3371
|
}
|
|
3372
|
-
}),
|
|
3372
|
+
}), Vn = { class: "lg:hidden" }, Fn = ["value"], qn = { class: "hidden lg:block" }, Rn = { class: "border-b border-gray-200" }, Un = {
|
|
3373
3373
|
class: "-mb-px flex space-x-8",
|
|
3374
3374
|
"aria-label": "Tabs"
|
|
3375
|
-
},
|
|
3375
|
+
}, Hn = ["onClick", "aria-current"], En = /* @__PURE__ */ M({
|
|
3376
3376
|
__name: "uiTabs",
|
|
3377
3377
|
props: {
|
|
3378
3378
|
tabs: {}
|
|
@@ -3384,7 +3384,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3384
3384
|
o.value && l("tabClicked", o.value);
|
|
3385
3385
|
};
|
|
3386
3386
|
return (r, o) => (s(), n("div", null, [
|
|
3387
|
-
e("div",
|
|
3387
|
+
e("div", Vn, [
|
|
3388
3388
|
e("select", {
|
|
3389
3389
|
onChange: o[0] || (o[0] = (t) => a(t)),
|
|
3390
3390
|
id: "tabs",
|
|
@@ -3394,12 +3394,12 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3394
3394
|
(s(!0), n(_, null, $(r.tabs, (t) => (s(), n("option", {
|
|
3395
3395
|
value: t.id,
|
|
3396
3396
|
key: t.name
|
|
3397
|
-
}, g(t.name), 9,
|
|
3397
|
+
}, g(t.name), 9, Fn))), 128))
|
|
3398
3398
|
], 32)
|
|
3399
3399
|
]),
|
|
3400
|
-
e("div",
|
|
3401
|
-
e("div",
|
|
3402
|
-
e("nav",
|
|
3400
|
+
e("div", qn, [
|
|
3401
|
+
e("div", Rn, [
|
|
3402
|
+
e("nav", Un, [
|
|
3403
3403
|
(s(!0), n(_, null, $(r.tabs, (t) => (s(), n("a", {
|
|
3404
3404
|
key: t.name,
|
|
3405
3405
|
onClick: (d) => l("tabClicked", t.id),
|
|
@@ -3417,36 +3417,36 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3417
3417
|
"hidden ml-3 py-0.5 px-2.5 rounded-full text-xs font-medium md:inline-block"
|
|
3418
3418
|
])
|
|
3419
3419
|
}, g(t.count), 3)) : b("", !0)
|
|
3420
|
-
], 10,
|
|
3420
|
+
], 10, Hn))), 128))
|
|
3421
3421
|
])
|
|
3422
3422
|
])
|
|
3423
3423
|
])
|
|
3424
3424
|
]));
|
|
3425
3425
|
}
|
|
3426
|
-
}),
|
|
3426
|
+
}), Zn = { class: "px-4 py-5 sm:px-6" }, Jn = { class: "text-xl font-bold" }, Wn = {
|
|
3427
3427
|
key: 0,
|
|
3428
3428
|
class: "px-4 py-5 sm:p-6"
|
|
3429
|
-
},
|
|
3429
|
+
}, Gn = { class: "flow-root" }, Qn = { class: "relative pb-8" }, Kn = {
|
|
3430
3430
|
key: 0,
|
|
3431
3431
|
class: "absolute left-4 top-4 -ml-px h-full w-0.5 bg-gray-200",
|
|
3432
3432
|
"aria-hidden": "true"
|
|
3433
|
-
},
|
|
3433
|
+
}, Xn = { class: "relative flex space-x-3" }, ea = { class: "min-w-0 flex-1 pt-1.5 flex justify-between space-x-4 items-center" }, ta = { class: "text-sm text-gray-500" }, sa = ["onClick"], oa = { class: "text-right text-sm whitespace-nowrap text-gray-500" }, la = ["datetime"], ra = {
|
|
3434
3434
|
key: 1,
|
|
3435
3435
|
class: "bg-gray-50 px-4 py-4 sm:px-6 z-10"
|
|
3436
|
-
},
|
|
3436
|
+
}, na = { class: "text-sm" }, aa = {
|
|
3437
3437
|
key: 2,
|
|
3438
3438
|
class: "h-full w-full flex items-center justify-center flex-col mb-5"
|
|
3439
|
-
},
|
|
3439
|
+
}, ia = {
|
|
3440
3440
|
key: 1,
|
|
3441
3441
|
class: "bg-white overflow-hidden shadow rounded-lg"
|
|
3442
|
-
},
|
|
3442
|
+
}, da = { class: "px-4 py-5 sm:p-6 animate-pulse" }, ua = { class: "flow-root" }, ca = {
|
|
3443
3443
|
class: "-mb-8",
|
|
3444
3444
|
role: "list"
|
|
3445
|
-
},
|
|
3445
|
+
}, ga = { class: "relative pb-8" }, pa = {
|
|
3446
3446
|
key: 0,
|
|
3447
3447
|
class: "absolute left-4 top-4 -ml-px h-full w-0.5 bg-gray-200",
|
|
3448
3448
|
"aria-hidden": "true"
|
|
3449
|
-
},
|
|
3449
|
+
}, ma = /* @__PURE__ */ M({
|
|
3450
3450
|
__name: "uiTimeline",
|
|
3451
3451
|
props: {
|
|
3452
3452
|
name: {},
|
|
@@ -3458,18 +3458,18 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3458
3458
|
emits: ["timelineEventClicked", "timelineFooterClicked"],
|
|
3459
3459
|
setup(m, { emit: i }) {
|
|
3460
3460
|
const a = ge(m.timeline);
|
|
3461
|
-
return (r, o) => r.loading ? (s(), n("div",
|
|
3461
|
+
return (r, o) => r.loading ? (s(), n("div", ia, [
|
|
3462
3462
|
o[3] || (o[3] = e("div", { class: "px-4 py-5 sm:px-6 animate-pulse" }, [
|
|
3463
3463
|
e("h1", { class: "text-xl font-bold" }, [
|
|
3464
3464
|
e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4" })
|
|
3465
3465
|
])
|
|
3466
3466
|
], -1)),
|
|
3467
|
-
e("div",
|
|
3468
|
-
e("div",
|
|
3469
|
-
e("ul",
|
|
3467
|
+
e("div", da, [
|
|
3468
|
+
e("div", ua, [
|
|
3469
|
+
e("ul", ca, [
|
|
3470
3470
|
(s(), n(_, null, $(10, (t, d) => e("li", { key: d }, [
|
|
3471
|
-
e("div",
|
|
3472
|
-
t !== 10 ? (s(), n("span",
|
|
3471
|
+
e("div", ga, [
|
|
3472
|
+
t !== 10 ? (s(), n("span", pa)) : b("", !0),
|
|
3473
3473
|
o[2] || (o[2] = Q('<div class="relative flex space-x-3"><div><span class="h-8 w-8 rounded-full bg-gray-300 flex items-center justify-center ring-4 ring-white"></span></div><div class="min-w-0 flex-1 pt-1.5 flex justify-between space-x-4 items-center"><div><div class="text-sm text-gray-500 flex-1"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full"></div></div></div><div class="text-right text-sm whitespace-nowrap text-gray-500 flex-1"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4"></div></div></div></div>', 1))
|
|
3474
3474
|
])
|
|
3475
3475
|
])), 64))
|
|
@@ -3485,21 +3485,21 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3485
3485
|
key: 0,
|
|
3486
3486
|
class: h(["h-[" + r.height + "px]", "bg-white overflow-hidden shadow rounded-lg"])
|
|
3487
3487
|
}, [
|
|
3488
|
-
e("div",
|
|
3489
|
-
e("h1",
|
|
3488
|
+
e("div", Zn, [
|
|
3489
|
+
e("h1", Jn, g(r.name), 1)
|
|
3490
3490
|
]),
|
|
3491
|
-
a.items ? (s(), n("div",
|
|
3492
|
-
e("div",
|
|
3493
|
-
p(
|
|
3491
|
+
a.items ? (s(), n("div", Wn, [
|
|
3492
|
+
e("div", Gn, [
|
|
3493
|
+
p(lt, {
|
|
3494
3494
|
name: "list",
|
|
3495
3495
|
tag: "ul",
|
|
3496
3496
|
class: "-mb-8"
|
|
3497
3497
|
}, {
|
|
3498
3498
|
default: v(() => [
|
|
3499
3499
|
(s(!0), n(_, null, $(a.items, (t, d) => (s(), n("li", { key: d }, [
|
|
3500
|
-
e("div",
|
|
3501
|
-
d < a.items.length - 1 ? (s(), n("span",
|
|
3502
|
-
e("div",
|
|
3500
|
+
e("div", Qn, [
|
|
3501
|
+
d < a.items.length - 1 ? (s(), n("span", Kn)) : b("", !0),
|
|
3502
|
+
e("div", Xn, [
|
|
3503
3503
|
e("div", null, [
|
|
3504
3504
|
e("span", {
|
|
3505
3505
|
class: h([(t == null ? void 0 : t.iconBackground) || "bg-indigo-600", "h-8 w-8 rounded-full flex items-center justify-center ring-4 ring-white"])
|
|
@@ -3513,20 +3513,20 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3513
3513
|
}, null, 8, ["loading", "icon"])
|
|
3514
3514
|
], 2)
|
|
3515
3515
|
]),
|
|
3516
|
-
e("div",
|
|
3516
|
+
e("div", ea, [
|
|
3517
3517
|
e("div", null, [
|
|
3518
|
-
e("p",
|
|
3518
|
+
e("p", ta, [
|
|
3519
3519
|
e("a", {
|
|
3520
3520
|
onClick: (u) => r.$emit("timelineEventClicked", t.linkId),
|
|
3521
3521
|
class: "font-medium text-indigo-600 hover:text-indigo-800 cursor-pointer"
|
|
3522
|
-
}, g(t == null ? void 0 : t.target), 9,
|
|
3522
|
+
}, g(t == null ? void 0 : t.target), 9, sa),
|
|
3523
3523
|
L(" " + g(t == null ? void 0 : t.content), 1)
|
|
3524
3524
|
])
|
|
3525
3525
|
]),
|
|
3526
|
-
e("div",
|
|
3526
|
+
e("div", oa, [
|
|
3527
3527
|
e("time", {
|
|
3528
3528
|
datetime: t == null ? void 0 : t.datetime
|
|
3529
|
-
}, g(t == null ? void 0 : t.date), 9,
|
|
3529
|
+
}, g(t == null ? void 0 : t.date), 9, la)
|
|
3530
3530
|
])
|
|
3531
3531
|
])
|
|
3532
3532
|
])
|
|
@@ -3537,14 +3537,14 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3537
3537
|
})
|
|
3538
3538
|
])
|
|
3539
3539
|
])) : b("", !0),
|
|
3540
|
-
a.items ? (s(), n("div",
|
|
3541
|
-
e("div",
|
|
3540
|
+
a.items ? (s(), n("div", ra, [
|
|
3541
|
+
e("div", na, [
|
|
3542
3542
|
e("a", {
|
|
3543
3543
|
class: "cursor-pointer font-medium text-indigo-600 hover:text-indigo-500",
|
|
3544
3544
|
onClick: o[0] || (o[0] = (t) => r.$emit("timelineFooterClicked", r.timeline.id))
|
|
3545
3545
|
}, g(r.timeline.footerText), 1)
|
|
3546
3546
|
])
|
|
3547
|
-
])) : (s(), n("div",
|
|
3547
|
+
])) : (s(), n("div", aa, [
|
|
3548
3548
|
p(j, {
|
|
3549
3549
|
icon: c(H),
|
|
3550
3550
|
color: "gray",
|
|
@@ -3555,10 +3555,10 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3555
3555
|
]))
|
|
3556
3556
|
], 2));
|
|
3557
3557
|
}
|
|
3558
|
-
}),
|
|
3558
|
+
}), fa = { class: "mx-auto px-6 lg:px-8" }, ya = { class: "flex justify-between h-20" }, ha = { class: "flex" }, va = { class: "-ml-2 mr-2 flex items-center lg:hidden" }, ba = ["src"], wa = { class: "flex items-center" }, xa = { class: "lg:ml-4 lg:flex-shrink-0 lg:flex lg:items-center hidden" }, ka = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute -top-0 -left-1" }, _a = ["src"], $a = ["onClick"], Ca = { class: "pt-2 pb-3 space-y-1" }, Sa = ["onClick"], Ba = { class: "pt-4 pb-3 border-t border-gray-200" }, Ma = { class: "flex items-center px-4 sm:px-6" }, Da = { class: "flex-shrink-0" }, ja = ["src"], Ta = {
|
|
3559
3559
|
key: 0,
|
|
3560
3560
|
class: "ml-3"
|
|
3561
|
-
},
|
|
3561
|
+
}, za = { class: "text-base font-medium text-gray-800" }, La = { class: "text-sm font-medium text-gray-500" }, Aa = { class: "mt-3 space-y-1" }, Na = ["onClick"], Oa = /* @__PURE__ */ M({
|
|
3562
3562
|
__name: "uiTopbar",
|
|
3563
3563
|
props: {
|
|
3564
3564
|
logo: {},
|
|
@@ -3575,10 +3575,10 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3575
3575
|
class: "bg-white shadow z-10"
|
|
3576
3576
|
}, {
|
|
3577
3577
|
default: v(({ open: r }) => [
|
|
3578
|
-
e("div",
|
|
3579
|
-
e("div",
|
|
3580
|
-
e("div",
|
|
3581
|
-
e("div",
|
|
3578
|
+
e("div", fa, [
|
|
3579
|
+
e("div", ya, [
|
|
3580
|
+
e("div", ha, [
|
|
3581
|
+
e("div", va, [
|
|
3582
3582
|
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" }, {
|
|
3583
3583
|
default: v(() => [
|
|
3584
3584
|
a[1] || (a[1] = e("span", { class: "sr-only" }, "Open main menu", -1)),
|
|
@@ -3603,11 +3603,11 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3603
3603
|
class: "h-10",
|
|
3604
3604
|
src: l.logo,
|
|
3605
3605
|
alt: "Hotelinking suite product logo"
|
|
3606
|
-
}, null, 8,
|
|
3606
|
+
}, null, 8, ba)
|
|
3607
3607
|
])
|
|
3608
3608
|
]),
|
|
3609
|
-
e("div",
|
|
3610
|
-
e("div",
|
|
3609
|
+
e("div", wa, [
|
|
3610
|
+
e("div", xa, [
|
|
3611
3611
|
p(c(be), {
|
|
3612
3612
|
as: "div",
|
|
3613
3613
|
class: "ml-3 relative"
|
|
@@ -3616,7 +3616,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3616
3616
|
e("div", null, [
|
|
3617
3617
|
C(p(c(we), { class: "bg-white rounded-full flex text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 relative" }, {
|
|
3618
3618
|
default: v(() => [
|
|
3619
|
-
C(e("div",
|
|
3619
|
+
C(e("div", ka, a[2] || (a[2] = [
|
|
3620
3620
|
e("span", { class: "animate-ping absolute inline-flex h-4 w-4 bg-red-500 rounded-full opacity-75" }, null, -1)
|
|
3621
3621
|
]), 512), [
|
|
3622
3622
|
[D, l.alerted]
|
|
@@ -3624,7 +3624,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3624
3624
|
e("img", {
|
|
3625
3625
|
class: "h-10 w-10 rounded-full",
|
|
3626
3626
|
src: l.accountLogo
|
|
3627
|
-
}, null, 8,
|
|
3627
|
+
}, null, 8, _a)
|
|
3628
3628
|
]),
|
|
3629
3629
|
_: 1
|
|
3630
3630
|
}, 512), [
|
|
@@ -3652,7 +3652,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3652
3652
|
t ? "bg-gray-100" : "",
|
|
3653
3653
|
"block px-4 py-2 text-sm text-gray-700"
|
|
3654
3654
|
]])
|
|
3655
|
-
}, g(o.name), 11,
|
|
3655
|
+
}, g(o.name), 11, $a)
|
|
3656
3656
|
]),
|
|
3657
3657
|
_: 2
|
|
3658
3658
|
}, 1024))), 128))
|
|
@@ -3671,7 +3671,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3671
3671
|
]),
|
|
3672
3672
|
p(c(Be), { class: "lg:hidden" }, {
|
|
3673
3673
|
default: v(() => [
|
|
3674
|
-
e("div",
|
|
3674
|
+
e("div", Ca, [
|
|
3675
3675
|
(s(!0), n(_, null, $(l.navigation, (o) => (s(), k(c(Z), {
|
|
3676
3676
|
as: "template",
|
|
3677
3677
|
key: o.name,
|
|
@@ -3683,25 +3683,25 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3683
3683
|
default: v(() => [
|
|
3684
3684
|
e("p", {
|
|
3685
3685
|
onClick: (t) => l.$emit("topBarClick", o.id)
|
|
3686
|
-
}, g(o.name), 9,
|
|
3686
|
+
}, g(o.name), 9, Sa)
|
|
3687
3687
|
]),
|
|
3688
3688
|
_: 2
|
|
3689
3689
|
}, 1032, ["class"]))), 128))
|
|
3690
3690
|
]),
|
|
3691
|
-
e("div",
|
|
3692
|
-
e("div",
|
|
3693
|
-
e("div",
|
|
3691
|
+
e("div", Ba, [
|
|
3692
|
+
e("div", Ma, [
|
|
3693
|
+
e("div", Da, [
|
|
3694
3694
|
e("img", {
|
|
3695
3695
|
class: "h-10 w-10 rounded-full",
|
|
3696
3696
|
src: l.accountLogo
|
|
3697
|
-
}, null, 8,
|
|
3697
|
+
}, null, 8, ja)
|
|
3698
3698
|
]),
|
|
3699
|
-
l.brand ? (s(), n("div",
|
|
3700
|
-
e("div",
|
|
3701
|
-
e("div",
|
|
3699
|
+
l.brand ? (s(), n("div", Ta, [
|
|
3700
|
+
e("div", za, g(l.brand.title), 1),
|
|
3701
|
+
e("div", La, g(l.brand.subtitle), 1)
|
|
3702
3702
|
])) : b("", !0)
|
|
3703
3703
|
]),
|
|
3704
|
-
e("div",
|
|
3704
|
+
e("div", Aa, [
|
|
3705
3705
|
(s(!0), n(_, null, $(l.profileMenu, (o) => (s(), k(c(Z), {
|
|
3706
3706
|
as: "template",
|
|
3707
3707
|
key: o.name,
|
|
@@ -3710,7 +3710,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3710
3710
|
default: v(() => [
|
|
3711
3711
|
e("p", {
|
|
3712
3712
|
onClick: (t) => l.$emit("topBarClick", o.id)
|
|
3713
|
-
}, g(o.name), 9,
|
|
3713
|
+
}, g(o.name), 9, Na)
|
|
3714
3714
|
]),
|
|
3715
3715
|
_: 2
|
|
3716
3716
|
}, 1024))), 128))
|
|
@@ -3723,7 +3723,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3723
3723
|
_: 1
|
|
3724
3724
|
}));
|
|
3725
3725
|
}
|
|
3726
|
-
}),
|
|
3726
|
+
}), Ia = { class: "chart-selector flex flex-row items-center justify-center" }, Ya = /* @__PURE__ */ M({
|
|
3727
3727
|
__name: "RangeSelector",
|
|
3728
3728
|
props: { range: { type: String } },
|
|
3729
3729
|
emits: ["rangeSelected"],
|
|
@@ -3733,7 +3733,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3733
3733
|
const o = (t) => {
|
|
3734
3734
|
r = t, l("rangeSelected", t);
|
|
3735
3735
|
};
|
|
3736
|
-
return (t, d) => (s(), n("ul",
|
|
3736
|
+
return (t, d) => (s(), n("ul", Ia, [
|
|
3737
3737
|
e("li", {
|
|
3738
3738
|
class: h({ selected: c(r) === "24h" }),
|
|
3739
3739
|
onClick: d[0] || (d[0] = (u) => o("24h"))
|
|
@@ -3752,7 +3752,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3752
3752
|
}, "3M", 2)
|
|
3753
3753
|
]));
|
|
3754
3754
|
}
|
|
3755
|
-
}),
|
|
3755
|
+
}), Pa = { class: "chart-header flex flex-row justify-between" }, Va = { class: "text-sm font-medium text-gray-500 truncate" }, Fa = { class: "chart-content" }, qa = { class: "h-full w-full flex items-center justify-center flex-col" }, Ra = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, Ua = /* @__PURE__ */ M({
|
|
3756
3756
|
__name: "uiFunnelChartV2",
|
|
3757
3757
|
props: {
|
|
3758
3758
|
labels: {},
|
|
@@ -3817,14 +3817,14 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3817
3817
|
C(e("div", {
|
|
3818
3818
|
class: h(["h-[" + f.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow"])
|
|
3819
3819
|
}, [
|
|
3820
|
-
e("div",
|
|
3821
|
-
e("div",
|
|
3822
|
-
p(
|
|
3820
|
+
e("div", Pa, [
|
|
3821
|
+
e("div", Va, g(f.title), 1),
|
|
3822
|
+
p(Ya, {
|
|
3823
3823
|
range: f.range,
|
|
3824
3824
|
onRangeSelected: y[0] || (y[0] = (w) => f.$emit("selectedRange", { range: w, chartId: f.id }))
|
|
3825
3825
|
}, null, 8, ["range"])
|
|
3826
3826
|
]),
|
|
3827
|
-
C(e("div",
|
|
3827
|
+
C(e("div", Fa, [
|
|
3828
3828
|
p(c(Me), {
|
|
3829
3829
|
type: f.type,
|
|
3830
3830
|
series: t.value,
|
|
@@ -3838,7 +3838,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3838
3838
|
], 512), [
|
|
3839
3839
|
[D, !f.empty]
|
|
3840
3840
|
]),
|
|
3841
|
-
C(e("div",
|
|
3841
|
+
C(e("div", qa, [
|
|
3842
3842
|
p(j, {
|
|
3843
3843
|
icon: c(H),
|
|
3844
3844
|
color: "gray",
|
|
@@ -3852,7 +3852,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3852
3852
|
], 2), [
|
|
3853
3853
|
[D, !f.loading]
|
|
3854
3854
|
]),
|
|
3855
|
-
C(e("div",
|
|
3855
|
+
C(e("div", Ra, y[2] || (y[2] = [
|
|
3856
3856
|
e("div", {
|
|
3857
3857
|
role: "status",
|
|
3858
3858
|
class: "w-full animate-pulse h-full flex flex-col"
|
|
@@ -3883,7 +3883,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3883
3883
|
])
|
|
3884
3884
|
], 64));
|
|
3885
3885
|
}
|
|
3886
|
-
}),
|
|
3886
|
+
}), Ha = { class: "w-full flex flex-col justify-center p-10 grow" }, Ea = { class: "text-2xl mt-4 font-bold" }, Za = { class: "mt-4" }, Ja = { class: "buttons flex mt-8 gap-x-1" }, Wa = /* @__PURE__ */ M({
|
|
3887
3887
|
__name: "uiNoResults",
|
|
3888
3888
|
props: {
|
|
3889
3889
|
title: {},
|
|
@@ -3894,7 +3894,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3894
3894
|
},
|
|
3895
3895
|
emits: ["action", "noResultsOptionSelected"],
|
|
3896
3896
|
setup(m) {
|
|
3897
|
-
return (i, l) => (s(), n("div",
|
|
3897
|
+
return (i, l) => (s(), n("div", Ha, [
|
|
3898
3898
|
p(j, {
|
|
3899
3899
|
class: "mx-auto",
|
|
3900
3900
|
loading: !1,
|
|
@@ -3903,9 +3903,9 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3903
3903
|
color: "gray"
|
|
3904
3904
|
}, null, 8, ["icon"]),
|
|
3905
3905
|
e("div", null, [
|
|
3906
|
-
e("h2",
|
|
3907
|
-
e("p",
|
|
3908
|
-
e("div",
|
|
3906
|
+
e("h2", Ea, g(i.title), 1),
|
|
3907
|
+
e("p", Za, g(i.message), 1),
|
|
3908
|
+
e("div", Ja, [
|
|
3909
3909
|
(s(!0), n(_, null, $(i.actions, (a, r) => (s(), k(J, {
|
|
3910
3910
|
key: r,
|
|
3911
3911
|
loading: !1,
|
|
@@ -3926,7 +3926,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3926
3926
|
])
|
|
3927
3927
|
]));
|
|
3928
3928
|
}
|
|
3929
|
-
}),
|
|
3929
|
+
}), Ga = { class: "fixed inset-0 overflow-hidden" }, Qa = { class: "absolute inset-0 overflow-hidden" }, Ka = { class: "pointer-events-none fixed inset-y-0 right-0 flex max-w-full pl-10" }, Xa = { class: "flex h-full flex-col overflow-y-scroll bg-white shadow-xl" }, ei = { class: "bg-indigo-700 px-4 py-6 sm:px-6" }, ti = { class: "flex items-center justify-between" }, si = { class: "ml-3 flex h-7 items-center" }, oi = { class: "mt-1" }, li = { class: "text-sm text-indigo-300" }, ri = { class: "relative flex-1 px-4 py-6 sm:px-6" }, ni = /* @__PURE__ */ M({
|
|
3930
3930
|
__name: "uiRightSidebar",
|
|
3931
3931
|
props: {
|
|
3932
3932
|
title: {},
|
|
@@ -3947,9 +3947,9 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3947
3947
|
}, {
|
|
3948
3948
|
default: v(() => [
|
|
3949
3949
|
a[4] || (a[4] = e("div", { class: "fixed inset-0" }, null, -1)),
|
|
3950
|
-
e("div",
|
|
3951
|
-
e("div",
|
|
3952
|
-
e("div",
|
|
3950
|
+
e("div", Ga, [
|
|
3951
|
+
e("div", Qa, [
|
|
3952
|
+
e("div", Ka, [
|
|
3953
3953
|
p(c(G), {
|
|
3954
3954
|
as: "template",
|
|
3955
3955
|
enter: "transform transition ease-in-out duration-500 sm:duration-700",
|
|
@@ -3962,16 +3962,16 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3962
3962
|
default: v(() => [
|
|
3963
3963
|
p(c(Ce), { class: "pointer-events-auto w-screen max-w-md" }, {
|
|
3964
3964
|
default: v(() => [
|
|
3965
|
-
e("div",
|
|
3966
|
-
e("div",
|
|
3967
|
-
e("div",
|
|
3965
|
+
e("div", Xa, [
|
|
3966
|
+
e("div", ei, [
|
|
3967
|
+
e("div", ti, [
|
|
3968
3968
|
p(c(Re), { class: "text-base font-semibold leading-6 text-white" }, {
|
|
3969
3969
|
default: v(() => [
|
|
3970
3970
|
L(g(l.title), 1)
|
|
3971
3971
|
]),
|
|
3972
3972
|
_: 1
|
|
3973
3973
|
}),
|
|
3974
|
-
e("div",
|
|
3974
|
+
e("div", si, [
|
|
3975
3975
|
e("button", {
|
|
3976
3976
|
type: "button",
|
|
3977
3977
|
class: "relative rounded-md bg-indigo-700 text-indigo-200 hover:text-white outline-none",
|
|
@@ -3986,11 +3986,11 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3986
3986
|
])
|
|
3987
3987
|
])
|
|
3988
3988
|
]),
|
|
3989
|
-
e("div",
|
|
3990
|
-
e("p",
|
|
3989
|
+
e("div", oi, [
|
|
3990
|
+
e("p", li, g(l.description), 1)
|
|
3991
3991
|
])
|
|
3992
3992
|
]),
|
|
3993
|
-
e("div",
|
|
3993
|
+
e("div", ri, [
|
|
3994
3994
|
q(l.$slots, "default")
|
|
3995
3995
|
])
|
|
3996
3996
|
])
|
|
@@ -4010,15 +4010,15 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4010
4010
|
_: 3
|
|
4011
4011
|
}, 8, ["show"]));
|
|
4012
4012
|
}
|
|
4013
|
-
}),
|
|
4013
|
+
}), ai = { class: "uiGallery" }, ii = {
|
|
4014
4014
|
key: 1,
|
|
4015
4015
|
role: "list",
|
|
4016
4016
|
class: "grid grid-cols-2 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-4 lg:grid-cols-6"
|
|
4017
|
-
},
|
|
4017
|
+
}, di = { 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" }, ui = ["src"], ci = ["onClick"], gi = { class: "pointer-events-none mt-2 block truncate text-sm font-medium text-gray-900" }, pi = { class: "flex items-center justify-between" }, mi = { class: "pointer-events-none block text-sm font-medium text-gray-500" }, fi = {
|
|
4018
4018
|
key: 2,
|
|
4019
4019
|
role: "list",
|
|
4020
4020
|
class: "grid grid-cols-2 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-4 lg:grid-cols-6"
|
|
4021
|
-
},
|
|
4021
|
+
}, yi = /* @__PURE__ */ M({
|
|
4022
4022
|
__name: "uiGallery",
|
|
4023
4023
|
props: {
|
|
4024
4024
|
galleryId: {},
|
|
@@ -4031,7 +4031,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4031
4031
|
const l = i, a = N(!1), r = (o) => {
|
|
4032
4032
|
a.value = !1, l("modalAction", o);
|
|
4033
4033
|
};
|
|
4034
|
-
return (o, t) => (s(), n("div",
|
|
4034
|
+
return (o, t) => (s(), n("div", ai, [
|
|
4035
4035
|
o.loading ? b("", !0) : (s(), k(Xe, {
|
|
4036
4036
|
key: 0,
|
|
4037
4037
|
open: a.value,
|
|
@@ -4046,35 +4046,35 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4046
4046
|
]),
|
|
4047
4047
|
_: 1
|
|
4048
4048
|
}, 8, ["open", "title", "actions"])),
|
|
4049
|
-
o.loading ? (s(), n("ul",
|
|
4049
|
+
o.loading ? (s(), n("ul", fi, [
|
|
4050
4050
|
(s(), n(_, null, $(4, (d) => e("li", null, t[2] || (t[2] = [
|
|
4051
4051
|
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),
|
|
4052
4052
|
e("p", { class: "animate-pulse h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28 mt-4" }, null, -1),
|
|
4053
4053
|
e("p", { class: "animate-pulse h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-14 mt-2" }, null, -1)
|
|
4054
4054
|
]))), 64))
|
|
4055
|
-
])) : (s(), n("ul",
|
|
4055
|
+
])) : (s(), n("ul", ii, [
|
|
4056
4056
|
(s(!0), n(_, null, $(o.gallery, (d) => (s(), n("li", {
|
|
4057
4057
|
key: d.source,
|
|
4058
4058
|
class: "relative"
|
|
4059
4059
|
}, [
|
|
4060
|
-
e("div",
|
|
4060
|
+
e("div", di, [
|
|
4061
4061
|
e("img", {
|
|
4062
4062
|
src: d.source,
|
|
4063
4063
|
alt: "",
|
|
4064
4064
|
class: "pointer-events-none object-cover group-hover:opacity-75"
|
|
4065
|
-
}, null, 8,
|
|
4065
|
+
}, null, 8, ui),
|
|
4066
4066
|
e("button", {
|
|
4067
4067
|
type: "button",
|
|
4068
4068
|
class: "absolute inset-0 focus:outline-none",
|
|
4069
4069
|
onClick: (u) => o.$emit("imgClicked", d)
|
|
4070
|
-
}, null, 8,
|
|
4070
|
+
}, null, 8, ci)
|
|
4071
4071
|
]),
|
|
4072
|
-
e("p",
|
|
4073
|
-
e("div",
|
|
4074
|
-
e("p",
|
|
4072
|
+
e("p", gi, g(d.title), 1),
|
|
4073
|
+
e("div", pi, [
|
|
4074
|
+
e("p", mi, g(d.size), 1),
|
|
4075
4075
|
p(j, {
|
|
4076
4076
|
class: "cursor-pointer",
|
|
4077
|
-
icon: c(
|
|
4077
|
+
icon: c(Pt),
|
|
4078
4078
|
color: "red",
|
|
4079
4079
|
loading: !1,
|
|
4080
4080
|
onClick: (u) => o.$emit("deleteImage", d)
|
|
@@ -4097,10 +4097,10 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4097
4097
|
})) : b("", !0)
|
|
4098
4098
|
]));
|
|
4099
4099
|
}
|
|
4100
|
-
}),
|
|
4100
|
+
}), hi = { 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" }, vi = { class: "flex flex-row items-center w-full" }, bi = { class: "content text-sm grow" }, wi = { class: "font-bold" }, xi = { key: 0 }, ki = { class: "font-bold text-gray-400" }, _i = {
|
|
4101
4101
|
key: 1,
|
|
4102
4102
|
class: "animate-pulse"
|
|
4103
|
-
},
|
|
4103
|
+
}, $i = /* @__PURE__ */ M({
|
|
4104
4104
|
__name: "uiDragAndDrop",
|
|
4105
4105
|
props: {
|
|
4106
4106
|
elements: {},
|
|
@@ -4116,9 +4116,9 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4116
4116
|
const o = (t) => {
|
|
4117
4117
|
l("dragAndDropUpdated", t);
|
|
4118
4118
|
};
|
|
4119
|
-
return (t, d) => t.loading ? (s(), n("div",
|
|
4119
|
+
return (t, d) => t.loading ? (s(), n("div", _i, d[2] || (d[2] = [
|
|
4120
4120
|
Q('<div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div>', 5)
|
|
4121
|
-
]))) : (s(), k(c(
|
|
4121
|
+
]))) : (s(), k(c(ht), {
|
|
4122
4122
|
key: 0,
|
|
4123
4123
|
modelValue: c(r),
|
|
4124
4124
|
"onUpdate:modelValue": [
|
|
@@ -4127,27 +4127,27 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4127
4127
|
]
|
|
4128
4128
|
}, {
|
|
4129
4129
|
item: v(({ item: u }) => [
|
|
4130
|
-
e("div",
|
|
4131
|
-
e("div",
|
|
4130
|
+
e("div", hi, [
|
|
4131
|
+
e("div", vi, [
|
|
4132
4132
|
p(j, {
|
|
4133
|
-
icon: c(
|
|
4133
|
+
icon: c(jt),
|
|
4134
4134
|
loading: !1,
|
|
4135
4135
|
color: "gray",
|
|
4136
4136
|
class: "mr-4",
|
|
4137
4137
|
size: "big"
|
|
4138
4138
|
}, null, 8, ["icon"]),
|
|
4139
|
-
e("div",
|
|
4140
|
-
e("p",
|
|
4141
|
-
u.description ? (s(), n("p",
|
|
4139
|
+
e("div", bi, [
|
|
4140
|
+
e("p", wi, g(u.name), 1),
|
|
4141
|
+
u.description ? (s(), n("p", xi, g(u.description), 1)) : b("", !0)
|
|
4142
4142
|
]),
|
|
4143
|
-
e("div",
|
|
4143
|
+
e("div", ki, g(c(r).indexOf(u) + 1), 1)
|
|
4144
4144
|
])
|
|
4145
4145
|
])
|
|
4146
4146
|
]),
|
|
4147
4147
|
_: 1
|
|
4148
4148
|
}, 8, ["modelValue"]));
|
|
4149
4149
|
}
|
|
4150
|
-
}),
|
|
4150
|
+
}), Ci = { class: "chart-header flex flex-row justify-between" }, Si = { class: "text-sm font-medium text-gray-500 truncate" }, Bi = { class: "hidden sm:flex items-center" }, Mi = { class: "w-1/2 min-w-0 flex-1" }, Di = ["max"], ji = { class: "min-w-0 flex-1" }, Ti = ["max"], zi = { class: "chart-content" }, Li = { class: "h-full w-full flex items-center justify-center flex-col" }, Ai = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, Ni = /* @__PURE__ */ M({
|
|
4151
4151
|
__name: "uiCircleChart",
|
|
4152
4152
|
props: {
|
|
4153
4153
|
labels: {},
|
|
@@ -4215,10 +4215,10 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4215
4215
|
C(e("div", {
|
|
4216
4216
|
class: h(["h-[" + A.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow"])
|
|
4217
4217
|
}, [
|
|
4218
|
-
e("div",
|
|
4219
|
-
e("div",
|
|
4220
|
-
e("div",
|
|
4221
|
-
e("div",
|
|
4218
|
+
e("div", Ci, [
|
|
4219
|
+
e("div", Si, g(A.title), 1),
|
|
4220
|
+
e("div", Bi, [
|
|
4221
|
+
e("div", Mi, [
|
|
4222
4222
|
C(e("input", {
|
|
4223
4223
|
type: "datetime-local",
|
|
4224
4224
|
"onUpdate:modelValue": S[0] || (S[0] = (B) => c(o).from = B),
|
|
@@ -4227,11 +4227,11 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4227
4227
|
name: "from",
|
|
4228
4228
|
id: "from",
|
|
4229
4229
|
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"
|
|
4230
|
-
}, null, 40,
|
|
4230
|
+
}, null, 40, Di), [
|
|
4231
4231
|
[X, c(o).from]
|
|
4232
4232
|
])
|
|
4233
4233
|
]),
|
|
4234
|
-
e("div",
|
|
4234
|
+
e("div", ji, [
|
|
4235
4235
|
C(e("input", {
|
|
4236
4236
|
type: "datetime-local",
|
|
4237
4237
|
"onUpdate:modelValue": S[1] || (S[1] = (B) => c(o).to = B),
|
|
@@ -4240,7 +4240,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4240
4240
|
name: "to",
|
|
4241
4241
|
id: "to",
|
|
4242
4242
|
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"
|
|
4243
|
-
}, null, 40,
|
|
4243
|
+
}, null, 40, Ti), [
|
|
4244
4244
|
[X, c(o).to]
|
|
4245
4245
|
])
|
|
4246
4246
|
]),
|
|
@@ -4253,7 +4253,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4253
4253
|
}, null, 8, ["loading", "icon"])
|
|
4254
4254
|
])
|
|
4255
4255
|
]),
|
|
4256
|
-
C(e("div",
|
|
4256
|
+
C(e("div", zi, [
|
|
4257
4257
|
p(c(Me), {
|
|
4258
4258
|
class: "flex items-center justify-center mt-4",
|
|
4259
4259
|
type: "donut",
|
|
@@ -4267,7 +4267,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4267
4267
|
], 512), [
|
|
4268
4268
|
[D, !A.empty]
|
|
4269
4269
|
]),
|
|
4270
|
-
C(e("div",
|
|
4270
|
+
C(e("div", Li, [
|
|
4271
4271
|
p(j, {
|
|
4272
4272
|
icon: c(H),
|
|
4273
4273
|
color: "gray",
|
|
@@ -4281,7 +4281,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4281
4281
|
], 2), [
|
|
4282
4282
|
[D, !A.loading]
|
|
4283
4283
|
]),
|
|
4284
|
-
C(e("div",
|
|
4284
|
+
C(e("div", Ai, S[4] || (S[4] = [
|
|
4285
4285
|
e("div", {
|
|
4286
4286
|
role: "status",
|
|
4287
4287
|
class: "w-full animate-pulse h-full flex flex-col"
|
|
@@ -4312,13 +4312,13 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4312
4312
|
])
|
|
4313
4313
|
], 64));
|
|
4314
4314
|
}
|
|
4315
|
-
}),
|
|
4315
|
+
}), Oi = {
|
|
4316
4316
|
key: 0,
|
|
4317
4317
|
class: "flex flex-col lg:flex-row w-full gap-y-4 gap-x-2"
|
|
4318
|
-
},
|
|
4318
|
+
}, Ii = {
|
|
4319
4319
|
key: 1,
|
|
4320
4320
|
class: "flex flex-col lg:flex-row w-full gap-y-4 gap-x-2"
|
|
4321
|
-
},
|
|
4321
|
+
}, Yi = /* @__PURE__ */ M({
|
|
4322
4322
|
__name: "uiDateRange",
|
|
4323
4323
|
props: {
|
|
4324
4324
|
id: {},
|
|
@@ -4342,7 +4342,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4342
4342
|
const t = () => {
|
|
4343
4343
|
o("uiDateRangeButtonClicked", r);
|
|
4344
4344
|
};
|
|
4345
|
-
return (d, u) => d.loading ? (s(), n("div",
|
|
4345
|
+
return (d, u) => d.loading ? (s(), n("div", Ii, [
|
|
4346
4346
|
p(E, {
|
|
4347
4347
|
name: "dateFrom",
|
|
4348
4348
|
loading: !0
|
|
@@ -4357,7 +4357,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4357
4357
|
])),
|
|
4358
4358
|
_: 1
|
|
4359
4359
|
})
|
|
4360
|
-
])) : (s(), n("div",
|
|
4360
|
+
])) : (s(), n("div", Oi, [
|
|
4361
4361
|
p(E, {
|
|
4362
4362
|
type: "datetime-local",
|
|
4363
4363
|
loading: !1,
|
|
@@ -4399,16 +4399,16 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4399
4399
|
}, 8, ["disabled", "class"])
|
|
4400
4400
|
]));
|
|
4401
4401
|
}
|
|
4402
|
-
}),
|
|
4402
|
+
}), Pi = { class: "flex justify-between items-center" }, Vi = {
|
|
4403
4403
|
key: 0,
|
|
4404
4404
|
class: "block text-sm font-medium text-gray-700"
|
|
4405
|
-
},
|
|
4405
|
+
}, Fi = {
|
|
4406
4406
|
key: 1,
|
|
4407
4407
|
class: "place-self-center text-[10px] text-gray-500 uppercase justify-self-end"
|
|
4408
|
-
},
|
|
4408
|
+
}, qi = {
|
|
4409
4409
|
key: 1,
|
|
4410
4410
|
class: "h-2 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 w-full"
|
|
4411
|
-
},
|
|
4411
|
+
}, Ri = /* @__PURE__ */ M({
|
|
4412
4412
|
__name: "uiRangeSlider",
|
|
4413
4413
|
props: {
|
|
4414
4414
|
loading: { type: Boolean, default: !0 },
|
|
@@ -4423,14 +4423,14 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4423
4423
|
setup(m, { emit: i }) {
|
|
4424
4424
|
const l = i, r = N(m.sliderValue);
|
|
4425
4425
|
return (o, t) => (s(), n("div", null, [
|
|
4426
|
-
e("div",
|
|
4427
|
-
o.label ? (s(), n("label",
|
|
4428
|
-
o.requiredText ? (s(), n("span",
|
|
4426
|
+
e("div", Pi, [
|
|
4427
|
+
o.label ? (s(), n("label", Vi, g(o.label), 1)) : b("", !0),
|
|
4428
|
+
o.requiredText ? (s(), n("span", Fi, g(o.requiredText), 1)) : b("", !0)
|
|
4429
4429
|
]),
|
|
4430
4430
|
e("div", {
|
|
4431
4431
|
class: h([{ "mt-1": o.label }, "pt-16 px-6 pb-6 bg-gray-50 border border-gray-300 rounded-lg shadow-sm"])
|
|
4432
4432
|
}, [
|
|
4433
|
-
o.loading ? (s(), n("p",
|
|
4433
|
+
o.loading ? (s(), n("p", qi)) : (s(), k(c(vt), {
|
|
4434
4434
|
key: 0,
|
|
4435
4435
|
modelValue: r.value,
|
|
4436
4436
|
"onUpdate:modelValue": t[0] || (t[0] = (d) => r.value = d),
|
|
@@ -4446,7 +4446,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4446
4446
|
], 2)
|
|
4447
4447
|
]));
|
|
4448
4448
|
}
|
|
4449
|
-
}),
|
|
4449
|
+
}), Ui = { class: "mt-1 mb-8 text-sm text-gray-500" }, Hi = /* @__PURE__ */ M({
|
|
4450
4450
|
__name: "uiSectionTitle",
|
|
4451
4451
|
props: {
|
|
4452
4452
|
title: {},
|
|
@@ -4457,16 +4457,16 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4457
4457
|
e("h3", {
|
|
4458
4458
|
class: h(["text-lg font-medium leading-6 text-gray-900", { "mb-8": i.description === void 0 }])
|
|
4459
4459
|
}, g(i.title), 3),
|
|
4460
|
-
e("p",
|
|
4460
|
+
e("p", Ui, g(i.description), 1)
|
|
4461
4461
|
], 64));
|
|
4462
4462
|
}
|
|
4463
|
-
}),
|
|
4463
|
+
}), Ei = {
|
|
4464
4464
|
key: 0,
|
|
4465
4465
|
class: "col-span-1 flex flex-col divide-y divide-gray-200 rounded-lg bg-white text-center shadow"
|
|
4466
|
-
},
|
|
4466
|
+
}, Zi = { class: "flex flex-1 flex-col p-8" }, Ji = { class: "text-2xl font-bold text-gray-900" }, Wi = { class: "mt-1 flex flex-grow flex-col justify-between" }, Gi = { class: "mt-3 flex flex-wrap gap-x-1 gap-y-1 justify-center" }, Qi = {
|
|
4467
4467
|
key: 1,
|
|
4468
4468
|
class: "col-span-1 flex flex-col divide-y divide-gray-200 rounded-lg bg-white text-center shadow"
|
|
4469
|
-
},
|
|
4469
|
+
}, Ki = { class: "flex flex-1 flex-col p-8" }, Xi = { class: "rounded-md p-3 flex items-center justify-center mx-auto mb-4 bg-gray-200" }, ed = { class: "mt-1 flex flex-grow flex-col justify-between" }, td = { class: "mt-3 flex flex-wrap gap-x-1 gap-y-1 justify-center" }, sd = /* @__PURE__ */ M({
|
|
4470
4470
|
__name: "uiDeviceStatus",
|
|
4471
4471
|
props: {
|
|
4472
4472
|
id: {},
|
|
@@ -4479,9 +4479,9 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4479
4479
|
},
|
|
4480
4480
|
emits: ["deviceStatusTagClicked", "deviceStatusQtyClicked"],
|
|
4481
4481
|
setup(m, { emit: i }) {
|
|
4482
|
-
return (l, a) => l.loading ? (s(), n("div",
|
|
4483
|
-
e("div",
|
|
4484
|
-
e("div",
|
|
4482
|
+
return (l, a) => l.loading ? (s(), n("div", Qi, [
|
|
4483
|
+
e("div", Ki, [
|
|
4484
|
+
e("div", Xi, [
|
|
4485
4485
|
p(j, {
|
|
4486
4486
|
icon: l.icon,
|
|
4487
4487
|
size: "huge",
|
|
@@ -4491,8 +4491,8 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4491
4491
|
}, null, 8, ["icon", "loading"])
|
|
4492
4492
|
]),
|
|
4493
4493
|
a[3] || (a[3] = e("div", { class: "h-4 bg-gray-200 rounded-full dark:bg-gray-300 w-1/3 mx-auto" }, null, -1)),
|
|
4494
|
-
e("dl",
|
|
4495
|
-
e("dd",
|
|
4494
|
+
e("dl", ed, [
|
|
4495
|
+
e("dd", td, [
|
|
4496
4496
|
(s(!0), n(_, null, $(l.tags, (r, o) => (s(), k(U, {
|
|
4497
4497
|
key: o,
|
|
4498
4498
|
loading: l.loading,
|
|
@@ -4508,8 +4508,8 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4508
4508
|
])
|
|
4509
4509
|
])
|
|
4510
4510
|
])
|
|
4511
|
-
])) : (s(), n("div",
|
|
4512
|
-
e("div",
|
|
4511
|
+
])) : (s(), n("div", Ei, [
|
|
4512
|
+
e("div", Zi, [
|
|
4513
4513
|
e("div", {
|
|
4514
4514
|
class: h(["rounded-md p-3 flex items-center justify-center mx-auto mb-4", {
|
|
4515
4515
|
"bg-green-500": !l.color || l.color === "green",
|
|
@@ -4528,7 +4528,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4528
4528
|
loading: !1
|
|
4529
4529
|
}, null, 8, ["icon"])
|
|
4530
4530
|
], 2),
|
|
4531
|
-
e("h3",
|
|
4531
|
+
e("h3", Ji, [
|
|
4532
4532
|
L(g(l.name) + " ", 1),
|
|
4533
4533
|
C(e("span", {
|
|
4534
4534
|
class: "text-indigo-600 hover:text-indigo-900 cursor-pointer",
|
|
@@ -4537,8 +4537,8 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4537
4537
|
[D, l.qty > 0]
|
|
4538
4538
|
])
|
|
4539
4539
|
]),
|
|
4540
|
-
e("dl",
|
|
4541
|
-
e("dd",
|
|
4540
|
+
e("dl", Wi, [
|
|
4541
|
+
e("dd", Gi, [
|
|
4542
4542
|
(s(!0), n(_, null, $(l.tags, (r, o) => (s(), k(U, {
|
|
4543
4543
|
key: o,
|
|
4544
4544
|
loading: !1,
|
|
@@ -4556,14 +4556,14 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4556
4556
|
])
|
|
4557
4557
|
]));
|
|
4558
4558
|
}
|
|
4559
|
-
}),
|
|
4559
|
+
}), od = { class: "fixed inset-0 flex" }, ld = { class: "absolute left-full top-0 flex w-16 justify-center pt-5" }, rd = { class: "hidden lg:fixed lg:inset-y-0 lg:z-50 lg:flex lg:w-[25rem] lg:flex-col" }, nd = { class: "lg:pl-[25rem]" }, ad = { 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" }, id = { class: "flex flex-1 gap-x-4 self-stretch lg:gap-x-6" }, dd = {
|
|
4560
4560
|
class: "relative flex flex-1",
|
|
4561
4561
|
action: "#",
|
|
4562
4562
|
method: "GET"
|
|
4563
|
-
},
|
|
4563
|
+
}, ud = { class: "relative block h-full w-full border-0 py-0 pl-8 pr-0 text-gray-900 placeholder:text-gray-400 focus:ring-0 sm:text-sm" }, cd = { class: "flex items-center gap-x-4 lg:gap-x-6" }, gd = {
|
|
4564
4564
|
type: "button",
|
|
4565
4565
|
class: "-m-2.5 p-2.5 text-gray-400 hover:text-gray-500 relative"
|
|
4566
|
-
},
|
|
4566
|
+
}, pd = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute top-1 left-2" }, md = ["src"], fd = { class: "hidden lg:flex lg:items-center" }, yd = ["onClick"], hd = { class: "py-7" }, vd = { class: "px-7 lg:px-10" }, bd = /* @__PURE__ */ M({
|
|
4567
4567
|
__name: "uiWrapper",
|
|
4568
4568
|
props: {
|
|
4569
4569
|
topbar: {},
|
|
@@ -4597,7 +4597,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4597
4597
|
])),
|
|
4598
4598
|
_: 1
|
|
4599
4599
|
}),
|
|
4600
|
-
e("div",
|
|
4600
|
+
e("div", od, [
|
|
4601
4601
|
p(c(G), {
|
|
4602
4602
|
as: "template",
|
|
4603
4603
|
enter: "transition ease-in-out duration-300 transform",
|
|
@@ -4620,7 +4620,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4620
4620
|
"leave-to": "opacity-0"
|
|
4621
4621
|
}, {
|
|
4622
4622
|
default: v(() => [
|
|
4623
|
-
e("div",
|
|
4623
|
+
e("div", ld, [
|
|
4624
4624
|
e("button", {
|
|
4625
4625
|
type: "button",
|
|
4626
4626
|
class: "-m-2.5 p-2.5",
|
|
@@ -4659,7 +4659,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4659
4659
|
]),
|
|
4660
4660
|
_: 1
|
|
4661
4661
|
}, 8, ["show"]),
|
|
4662
|
-
e("div",
|
|
4662
|
+
e("div", rd, [
|
|
4663
4663
|
p(he, {
|
|
4664
4664
|
productsSidebar: u.sidebar.productsSidebar,
|
|
4665
4665
|
isFilterNavigation: u.sidebar.isFilterNavigation,
|
|
@@ -4671,8 +4671,8 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4671
4671
|
onProductBarClick: f[5] || (f[5] = (y) => u.$emit("productBarClick", y))
|
|
4672
4672
|
}, null, 8, ["productsSidebar", "isFilterNavigation", "navigation", "filterNavigation", "logo"])
|
|
4673
4673
|
]),
|
|
4674
|
-
e("div",
|
|
4675
|
-
e("div",
|
|
4674
|
+
e("div", nd, [
|
|
4675
|
+
e("div", ad, [
|
|
4676
4676
|
e("button", {
|
|
4677
4677
|
type: "button",
|
|
4678
4678
|
class: "-m-2.5 p-2.5 text-gray-700 lg:hidden",
|
|
@@ -4688,13 +4688,13 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4688
4688
|
class: "h-6 w-px bg-gray-200 lg:hidden",
|
|
4689
4689
|
"aria-hidden": "true"
|
|
4690
4690
|
}, null, -1)),
|
|
4691
|
-
e("div",
|
|
4692
|
-
e("form",
|
|
4691
|
+
e("div", id, [
|
|
4692
|
+
e("form", dd, [
|
|
4693
4693
|
f[14] || (f[14] = e("label", {
|
|
4694
4694
|
for: "search-field",
|
|
4695
4695
|
class: "sr-only"
|
|
4696
4696
|
}, "Search", -1)),
|
|
4697
|
-
p(c(
|
|
4697
|
+
p(c(It), {
|
|
4698
4698
|
class: "pointer-events-none absolute inset-y-0 left-0 h-full w-5 text-gray-400",
|
|
4699
4699
|
"aria-hidden": "true"
|
|
4700
4700
|
}),
|
|
@@ -4708,7 +4708,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4708
4708
|
]
|
|
4709
4709
|
}, {
|
|
4710
4710
|
default: v(() => [
|
|
4711
|
-
e("div",
|
|
4711
|
+
e("div", ud, [
|
|
4712
4712
|
p(c(Pe), {
|
|
4713
4713
|
class: "block h-full w-full border-0 py-0 pl-8 pr-0 text-gray-900 placeholder:text-gray-400 focus:ring-0 sm:text-sm",
|
|
4714
4714
|
onChange: f[7] || (f[7] = (y) => a.value = y.target.value),
|
|
@@ -4756,15 +4756,15 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4756
4756
|
_: 1
|
|
4757
4757
|
}, 8, ["modelValue"])
|
|
4758
4758
|
]),
|
|
4759
|
-
e("div",
|
|
4760
|
-
e("button",
|
|
4759
|
+
e("div", cd, [
|
|
4760
|
+
e("button", gd, [
|
|
4761
4761
|
f[16] || (f[16] = e("span", { class: "sr-only" }, "View notifications", -1)),
|
|
4762
|
-
C(e("div",
|
|
4762
|
+
C(e("div", pd, f[15] || (f[15] = [
|
|
4763
4763
|
e("span", { class: "animate-ping absolute inline-flex h-4 w-4 bg-red-500 rounded-full opacity-75" }, null, -1)
|
|
4764
4764
|
]), 512), [
|
|
4765
4765
|
[D, u.topbar.alerted]
|
|
4766
4766
|
]),
|
|
4767
|
-
p(c(
|
|
4767
|
+
p(c(Tt), {
|
|
4768
4768
|
class: "h-6 w-6",
|
|
4769
4769
|
"aria-hidden": "true"
|
|
4770
4770
|
})
|
|
@@ -4785,8 +4785,8 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4785
4785
|
class: "h-8 w-8 rounded-full bg-gray-50",
|
|
4786
4786
|
src: u.topbar.accountLogo,
|
|
4787
4787
|
alt: ""
|
|
4788
|
-
}, null, 8,
|
|
4789
|
-
e("span",
|
|
4788
|
+
}, null, 8, md),
|
|
4789
|
+
e("span", fd, [
|
|
4790
4790
|
p(c(de), {
|
|
4791
4791
|
class: "ml-2 h-5 w-5 text-gray-400",
|
|
4792
4792
|
"aria-hidden": "true"
|
|
@@ -4813,7 +4813,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4813
4813
|
e("a", {
|
|
4814
4814
|
onClick: (T) => u.$emit("topBarClick", y.id),
|
|
4815
4815
|
class: h([w ? "bg-gray-50" : "", "block px-3 py-1 text-sm leading-6 text-gray-900"])
|
|
4816
|
-
}, g(y.name), 11,
|
|
4816
|
+
}, g(y.name), 11, yd)
|
|
4817
4817
|
]),
|
|
4818
4818
|
_: 2
|
|
4819
4819
|
}, 1024))), 128))
|
|
@@ -4829,15 +4829,15 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4829
4829
|
])
|
|
4830
4830
|
])
|
|
4831
4831
|
]),
|
|
4832
|
-
e("main",
|
|
4833
|
-
e("div",
|
|
4832
|
+
e("main", hd, [
|
|
4833
|
+
e("div", vd, [
|
|
4834
4834
|
q(u.$slots, "default")
|
|
4835
4835
|
])
|
|
4836
4836
|
])
|
|
4837
4837
|
])
|
|
4838
4838
|
]));
|
|
4839
4839
|
}
|
|
4840
|
-
}),
|
|
4840
|
+
}), wd = /* @__PURE__ */ M({
|
|
4841
4841
|
__name: "uiDynamicStats",
|
|
4842
4842
|
props: {
|
|
4843
4843
|
dynamicStats: {},
|
|
@@ -4845,7 +4845,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4845
4845
|
},
|
|
4846
4846
|
setup(m) {
|
|
4847
4847
|
const i = m, l = () => i.dynamicStats.length <= 5 ? `lg:grid-cols-${i.dynamicStats.length}` : `lg:grid-cols-${Math.floor(i.dynamicStats.length / 2)} xl:grid-cols-${i.dynamicStats.length}`, a = N(0), r = N(l());
|
|
4848
|
-
return
|
|
4848
|
+
return rt(() => a.value += 1), (o, t) => (s(), n("div", {
|
|
4849
4849
|
class: h([r.value, "grid grid-cols-1 md:grid-cols-2 gap-4"]),
|
|
4850
4850
|
key: a.value
|
|
4851
4851
|
}, [
|
|
@@ -4856,63 +4856,16 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4856
4856
|
}, null, 8, ["item", "loading"]))), 128))
|
|
4857
4857
|
], 2));
|
|
4858
4858
|
}
|
|
4859
|
-
}),
|
|
4860
|
-
__name: "uiSmartFilter",
|
|
4861
|
-
props: {
|
|
4862
|
-
items: {},
|
|
4863
|
-
buttonLiteral: {},
|
|
4864
|
-
loading: { type: Boolean, default: !0 }
|
|
4865
|
-
},
|
|
4866
|
-
emits: ["smartFilterSelected", "smartInputChanged", "smartSelectChanged", "smartOptionSelected", "rightAddOnClicked"],
|
|
4867
|
-
setup(m, { emit: i }) {
|
|
4868
|
-
const l = m, a = i, r = rt(E), o = N(l.items[0].props), t = (d) => {
|
|
4869
|
-
switch (d.type) {
|
|
4870
|
-
case "uiInput":
|
|
4871
|
-
r.value = E;
|
|
4872
|
-
break;
|
|
4873
|
-
case "uiDropdown":
|
|
4874
|
-
r.value = fe;
|
|
4875
|
-
break;
|
|
4876
|
-
case "uiSelect":
|
|
4877
|
-
r.value = Qe;
|
|
4878
|
-
break;
|
|
4879
|
-
}
|
|
4880
|
-
o.value = d.props;
|
|
4881
|
-
};
|
|
4882
|
-
return (d, u) => (s(), n("div", wd, [
|
|
4883
|
-
p(Ke, {
|
|
4884
|
-
items: d.items,
|
|
4885
|
-
loading: d.loading,
|
|
4886
|
-
onFilterSelected: t
|
|
4887
|
-
}, null, 8, ["items", "loading"]),
|
|
4888
|
-
(s(), k(Oe(r.value), nt({ class: "w-full mt-2 lg:mt-0 lg:mx-2 lg:grow" }, o.value, {
|
|
4889
|
-
loading: !1,
|
|
4890
|
-
onInputChanged: u[0] || (u[0] = (f) => a("smartInputChanged", f)),
|
|
4891
|
-
onSelectChanged: u[1] || (u[1] = (f) => a("smartSelectChanged", f)),
|
|
4892
|
-
onOptionSelected: u[2] || (u[2] = (f) => a("smartOptionSelected", f)),
|
|
4893
|
-
onRightAddOnClicked: u[3] || (u[3] = (f) => a("rightAddOnClicked"))
|
|
4894
|
-
}), null, 16)),
|
|
4895
|
-
p(J, {
|
|
4896
|
-
class: "mt-2 lg:mt-0",
|
|
4897
|
-
loading: d.loading
|
|
4898
|
-
}, {
|
|
4899
|
-
default: v(() => [
|
|
4900
|
-
L(g(d.buttonLiteral), 1)
|
|
4901
|
-
]),
|
|
4902
|
-
_: 1
|
|
4903
|
-
}, 8, ["loading"])
|
|
4904
|
-
]));
|
|
4905
|
-
}
|
|
4906
|
-
}), kd = { class: "flex justify-between" }, _d = {
|
|
4859
|
+
}), xd = { class: "flex justify-between" }, kd = {
|
|
4907
4860
|
key: 0,
|
|
4908
4861
|
class: "text-[10px] text-gray-500 uppercase justify-self-end place-self-center"
|
|
4909
|
-
},
|
|
4862
|
+
}, _d = { class: "relative" }, $d = { class: "block flex flex-wrap gap-2" }, Cd = {
|
|
4910
4863
|
key: 0,
|
|
4911
4864
|
class: "p-0.5"
|
|
4912
|
-
},
|
|
4865
|
+
}, Sd = ["onClick"], Bd = { class: "absolute mt-1 w-full rounded-md bg-white shadow-lg" }, Md = {
|
|
4913
4866
|
key: 1,
|
|
4914
4867
|
class: "animate-pulse px-4 py-2.5 bg-gray-200 rounded-md flex justify-between items-center w-full"
|
|
4915
|
-
},
|
|
4868
|
+
}, st = /* @__PURE__ */ M({
|
|
4916
4869
|
__name: "uiSelectMultiple",
|
|
4917
4870
|
props: {
|
|
4918
4871
|
items: {},
|
|
@@ -4935,13 +4888,13 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4935
4888
|
function t(d) {
|
|
4936
4889
|
r.value = r.value.filter((u) => u.id !== d.id);
|
|
4937
4890
|
}
|
|
4938
|
-
return (d, u) => d.loading ? (s(), n("div",
|
|
4891
|
+
return (d, u) => d.loading ? (s(), n("div", Md, [
|
|
4939
4892
|
u[4] || (u[4] = e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, null, -1)),
|
|
4940
4893
|
p(c(ue), {
|
|
4941
4894
|
"aria-hidden": "true",
|
|
4942
4895
|
class: "-mr-1 ml-2 h-5 w-5 text-gray-300 dark:text-gray-400"
|
|
4943
4896
|
})
|
|
4944
|
-
])) : (s(), k(c(
|
|
4897
|
+
])) : (s(), k(c(gt), {
|
|
4945
4898
|
key: 0,
|
|
4946
4899
|
modelValue: c(r),
|
|
4947
4900
|
"onUpdate:modelValue": [
|
|
@@ -4954,17 +4907,17 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4954
4907
|
as: "div"
|
|
4955
4908
|
}, {
|
|
4956
4909
|
default: v(() => [
|
|
4957
|
-
e("div",
|
|
4958
|
-
p(c(
|
|
4910
|
+
e("div", xd, [
|
|
4911
|
+
p(c(pt), { class: "block text-sm font-medium" }, {
|
|
4959
4912
|
default: v(() => [
|
|
4960
4913
|
L(g(d.label), 1)
|
|
4961
4914
|
]),
|
|
4962
4915
|
_: 1
|
|
4963
4916
|
}),
|
|
4964
|
-
d.requiredText ? (s(), n("span",
|
|
4917
|
+
d.requiredText ? (s(), n("span", kd, g(d.requiredText), 1)) : b("", !0)
|
|
4965
4918
|
]),
|
|
4966
|
-
e("div",
|
|
4967
|
-
p(c(
|
|
4919
|
+
e("div", _d, [
|
|
4920
|
+
p(c(mt), {
|
|
4968
4921
|
class: h([{
|
|
4969
4922
|
"mt-1": d.requiredText || d.label,
|
|
4970
4923
|
"border-gray-300": d.color === "gray",
|
|
@@ -4981,8 +4934,8 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4981
4934
|
}, "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"])
|
|
4982
4935
|
}, {
|
|
4983
4936
|
default: v(() => [
|
|
4984
|
-
e("span",
|
|
4985
|
-
c(r).length === 0 ? (s(), n("span",
|
|
4937
|
+
e("span", $d, [
|
|
4938
|
+
c(r).length === 0 ? (s(), n("span", Cd, "...")) : b("", !0),
|
|
4986
4939
|
(s(!0), n(_, null, $(c(r), (f) => (s(), n("span", {
|
|
4987
4940
|
key: f.id,
|
|
4988
4941
|
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"
|
|
@@ -5002,7 +4955,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
5002
4955
|
"stroke-width": "2",
|
|
5003
4956
|
d: "M6 18L18 6M6 6l12 12"
|
|
5004
4957
|
}, null, -1)
|
|
5005
|
-
]), 8,
|
|
4958
|
+
]), 8, Sd))
|
|
5006
4959
|
]))), 128))
|
|
5007
4960
|
]),
|
|
5008
4961
|
u[2] || (u[2] = e("span", { class: "absolute h-full right-0 mr-2 self-center top-0 flex items-center" }, [
|
|
@@ -5023,10 +4976,10 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
5023
4976
|
]),
|
|
5024
4977
|
_: 1
|
|
5025
4978
|
}, 8, ["class"]),
|
|
5026
|
-
e("div",
|
|
5027
|
-
p(c(
|
|
4979
|
+
e("div", Bd, [
|
|
4980
|
+
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" }, {
|
|
5028
4981
|
default: v(() => [
|
|
5029
|
-
(s(!0), n(_, null, $(d.items, (f) => (s(), k(c(
|
|
4982
|
+
(s(!0), n(_, null, $(d.items, (f) => (s(), k(c(yt), {
|
|
5030
4983
|
key: f.id,
|
|
5031
4984
|
value: f,
|
|
5032
4985
|
as: "template"
|
|
@@ -5077,52 +5030,102 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
5077
5030
|
_: 1
|
|
5078
5031
|
}, 8, ["modelValue", "disabled"]));
|
|
5079
5032
|
}
|
|
5033
|
+
}), Dd = { class: "flex flex-col lg:flex-row items-center" }, jd = /* @__PURE__ */ M({
|
|
5034
|
+
__name: "uiSmartFilter",
|
|
5035
|
+
props: {
|
|
5036
|
+
items: {},
|
|
5037
|
+
buttonLiteral: {},
|
|
5038
|
+
loading: { type: Boolean, default: !0 }
|
|
5039
|
+
},
|
|
5040
|
+
emits: ["smartFilterSelected", "smartInputChanged", "smartSelectChanged", "smartOptionSelected", "rightAddOnClicked"],
|
|
5041
|
+
setup(m, { emit: i }) {
|
|
5042
|
+
const l = m, a = i, r = nt(E), o = N(l.items[0].props), t = (d) => {
|
|
5043
|
+
switch (d.type) {
|
|
5044
|
+
case "uiInput":
|
|
5045
|
+
r.value = E;
|
|
5046
|
+
break;
|
|
5047
|
+
case "uiDropdown":
|
|
5048
|
+
r.value = fe;
|
|
5049
|
+
break;
|
|
5050
|
+
case "uiSelect":
|
|
5051
|
+
r.value = Qe;
|
|
5052
|
+
break;
|
|
5053
|
+
case "uiSelectMultiple":
|
|
5054
|
+
r.value = st;
|
|
5055
|
+
break;
|
|
5056
|
+
}
|
|
5057
|
+
o.value = d.props;
|
|
5058
|
+
};
|
|
5059
|
+
return (d, u) => (s(), n("div", Dd, [
|
|
5060
|
+
p(Ke, {
|
|
5061
|
+
items: d.items,
|
|
5062
|
+
loading: d.loading,
|
|
5063
|
+
onFilterSelected: t
|
|
5064
|
+
}, null, 8, ["items", "loading"]),
|
|
5065
|
+
(s(), k(Oe(r.value), at({ class: "w-full mt-2 lg:mt-0 lg:mx-2 lg:grow" }, o.value, {
|
|
5066
|
+
loading: !1,
|
|
5067
|
+
onInputChanged: u[0] || (u[0] = (f) => a("smartInputChanged", f)),
|
|
5068
|
+
onSelectChanged: u[1] || (u[1] = (f) => a("smartSelectChanged", f)),
|
|
5069
|
+
onOptionSelected: u[2] || (u[2] = (f) => a("smartOptionSelected", f)),
|
|
5070
|
+
onRightAddOnClicked: u[3] || (u[3] = (f) => a("rightAddOnClicked"))
|
|
5071
|
+
}), null, 16)),
|
|
5072
|
+
p(J, {
|
|
5073
|
+
class: "mt-2 lg:mt-0",
|
|
5074
|
+
loading: d.loading
|
|
5075
|
+
}, {
|
|
5076
|
+
default: v(() => [
|
|
5077
|
+
L(g(d.buttonLiteral), 1)
|
|
5078
|
+
]),
|
|
5079
|
+
_: 1
|
|
5080
|
+
}, 8, ["loading"])
|
|
5081
|
+
]));
|
|
5082
|
+
}
|
|
5080
5083
|
}), Ne = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5081
5084
|
__proto__: null,
|
|
5082
|
-
uiAlert:
|
|
5083
|
-
uiBreadcrumbs:
|
|
5085
|
+
uiAlert: Is,
|
|
5086
|
+
uiBreadcrumbs: Hs,
|
|
5084
5087
|
uiButton: J,
|
|
5085
|
-
uiCard:
|
|
5086
|
-
uiChart:
|
|
5088
|
+
uiCard: Ks,
|
|
5089
|
+
uiChart: er,
|
|
5087
5090
|
uiCheckbox: Ue,
|
|
5088
|
-
uiCircleChart:
|
|
5089
|
-
uiDateRange:
|
|
5090
|
-
uiDeviceStatus:
|
|
5091
|
-
uiDragAndDrop:
|
|
5091
|
+
uiCircleChart: Ni,
|
|
5092
|
+
uiDateRange: Yi,
|
|
5093
|
+
uiDeviceStatus: sd,
|
|
5094
|
+
uiDragAndDrop: $i,
|
|
5092
5095
|
uiDropdown: fe,
|
|
5093
|
-
uiDynamicStats:
|
|
5096
|
+
uiDynamicStats: wd,
|
|
5094
5097
|
uiFilter: Ke,
|
|
5095
|
-
uiFooter:
|
|
5096
|
-
uiFunnelChartV2:
|
|
5097
|
-
uiGallery:
|
|
5098
|
+
uiFooter: lr,
|
|
5099
|
+
uiFunnelChartV2: Ua,
|
|
5100
|
+
uiGallery: yi,
|
|
5098
5101
|
uiIcon: j,
|
|
5099
5102
|
uiInput: E,
|
|
5100
|
-
uiInputFile:
|
|
5101
|
-
uiLoadingScreen:
|
|
5103
|
+
uiInputFile: gs,
|
|
5104
|
+
uiLoadingScreen: rr,
|
|
5102
5105
|
uiModal: Xe,
|
|
5103
|
-
uiNoResults:
|
|
5104
|
-
uiNotification:
|
|
5105
|
-
uiPagination:
|
|
5106
|
-
uiPriceCalendar:
|
|
5107
|
-
uiRangeSlider:
|
|
5108
|
-
uiRightSidebar:
|
|
5109
|
-
uiSectionTitle:
|
|
5106
|
+
uiNoResults: Wa,
|
|
5107
|
+
uiNotification: ho,
|
|
5108
|
+
uiPagination: br,
|
|
5109
|
+
uiPriceCalendar: Fl,
|
|
5110
|
+
uiRangeSlider: Ri,
|
|
5111
|
+
uiRightSidebar: ni,
|
|
5112
|
+
uiSectionTitle: Hi,
|
|
5110
5113
|
uiSelect: Qe,
|
|
5111
|
-
uiSelectMultiple:
|
|
5112
|
-
uiSidebar:
|
|
5114
|
+
uiSelectMultiple: st,
|
|
5115
|
+
uiSidebar: zr,
|
|
5113
5116
|
uiSidebarV2: he,
|
|
5114
|
-
uiSmartFilter:
|
|
5117
|
+
uiSmartFilter: jd,
|
|
5115
5118
|
uiStats: tt,
|
|
5116
|
-
uiStripedCard:
|
|
5117
|
-
uiTable:
|
|
5118
|
-
uiTabs:
|
|
5119
|
+
uiStripedCard: yn,
|
|
5120
|
+
uiTable: Pn,
|
|
5121
|
+
uiTabs: En,
|
|
5119
5122
|
uiTag: U,
|
|
5120
|
-
uiTaskList:
|
|
5121
|
-
uiTextArea:
|
|
5122
|
-
uiTimeline:
|
|
5123
|
-
uiToggle:
|
|
5124
|
-
uiTopbar:
|
|
5125
|
-
uiWrapper:
|
|
5123
|
+
uiTaskList: Mo,
|
|
5124
|
+
uiTextArea: $s,
|
|
5125
|
+
uiTimeline: ma,
|
|
5126
|
+
uiToggle: Ms,
|
|
5127
|
+
uiTopbar: Oa,
|
|
5128
|
+
uiWrapper: bd
|
|
5126
5129
|
}, Symbol.toStringTag, { value: "Module" })), Td = [
|
|
5127
5130
|
"primary",
|
|
5128
5131
|
"secondary",
|
|
@@ -5153,48 +5156,48 @@ export {
|
|
|
5153
5156
|
Ed as Types,
|
|
5154
5157
|
Rd as UiInputTypes,
|
|
5155
5158
|
Zd as default,
|
|
5156
|
-
|
|
5157
|
-
|
|
5159
|
+
Is as uiAlert,
|
|
5160
|
+
Hs as uiBreadcrumbs,
|
|
5158
5161
|
J as uiButton,
|
|
5159
|
-
|
|
5160
|
-
|
|
5162
|
+
Ks as uiCard,
|
|
5163
|
+
er as uiChart,
|
|
5161
5164
|
Ue as uiCheckbox,
|
|
5162
|
-
|
|
5163
|
-
|
|
5164
|
-
|
|
5165
|
-
|
|
5165
|
+
Ni as uiCircleChart,
|
|
5166
|
+
Yi as uiDateRange,
|
|
5167
|
+
sd as uiDeviceStatus,
|
|
5168
|
+
$i as uiDragAndDrop,
|
|
5166
5169
|
fe as uiDropdown,
|
|
5167
|
-
|
|
5170
|
+
wd as uiDynamicStats,
|
|
5168
5171
|
Ke as uiFilter,
|
|
5169
|
-
|
|
5170
|
-
|
|
5171
|
-
|
|
5172
|
+
lr as uiFooter,
|
|
5173
|
+
Ua as uiFunnelChartV2,
|
|
5174
|
+
yi as uiGallery,
|
|
5172
5175
|
j as uiIcon,
|
|
5173
5176
|
E as uiInput,
|
|
5174
|
-
|
|
5175
|
-
|
|
5177
|
+
gs as uiInputFile,
|
|
5178
|
+
rr as uiLoadingScreen,
|
|
5176
5179
|
Xe as uiModal,
|
|
5177
|
-
|
|
5178
|
-
|
|
5179
|
-
|
|
5180
|
-
|
|
5181
|
-
|
|
5182
|
-
|
|
5183
|
-
|
|
5180
|
+
Wa as uiNoResults,
|
|
5181
|
+
ho as uiNotification,
|
|
5182
|
+
br as uiPagination,
|
|
5183
|
+
Fl as uiPriceCalendar,
|
|
5184
|
+
Ri as uiRangeSlider,
|
|
5185
|
+
ni as uiRightSidebar,
|
|
5186
|
+
Hi as uiSectionTitle,
|
|
5184
5187
|
Qe as uiSelect,
|
|
5185
|
-
|
|
5186
|
-
|
|
5188
|
+
st as uiSelectMultiple,
|
|
5189
|
+
zr as uiSidebar,
|
|
5187
5190
|
he as uiSidebarV2,
|
|
5188
|
-
|
|
5191
|
+
jd as uiSmartFilter,
|
|
5189
5192
|
tt as uiStats,
|
|
5190
|
-
|
|
5191
|
-
|
|
5192
|
-
|
|
5193
|
+
yn as uiStripedCard,
|
|
5194
|
+
Pn as uiTable,
|
|
5195
|
+
En as uiTabs,
|
|
5193
5196
|
U as uiTag,
|
|
5194
|
-
|
|
5195
|
-
|
|
5196
|
-
|
|
5197
|
-
|
|
5198
|
-
|
|
5199
|
-
|
|
5197
|
+
Mo as uiTaskList,
|
|
5198
|
+
$s as uiTextArea,
|
|
5199
|
+
ma as uiTimeline,
|
|
5200
|
+
Ms as uiToggle,
|
|
5201
|
+
Oa as uiTopbar,
|
|
5202
|
+
bd as uiWrapper
|
|
5200
5203
|
};
|