@hotelinking/ui 10.44.1 → 10.44.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ui.cjs +1 -1
- package/dist/ui.d.ts +3 -0
- package/dist/ui.es.js +161 -149
- package/package.json +1 -1
package/dist/ui.es.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as M, createBlock 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 st, 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 ot, onMounted as lt, shallowRef as rt, mergeProps as nt } from "vue";
|
|
2
|
+
import { Menu as be, MenuButton as we, MenuItems as xe, MenuItem as ke, Combobox as Ye, ComboboxLabel as at, ComboboxInput as Pe, ComboboxButton as Ve, ComboboxOptions as Fe, ComboboxOption as qe, SwitchGroup as it, Switch as dt, SwitchLabel as ut, 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 ct, ListboxLabel as gt, ListboxButton as pt, ListboxOptions as mt, ListboxOption as ft } from "@headlessui/vue";
|
|
3
3
|
import z from "dayjs";
|
|
4
4
|
import Me from "vue3-apexcharts";
|
|
5
|
-
import
|
|
6
|
-
import
|
|
5
|
+
import yt from "vue3-draggable";
|
|
6
|
+
import ht from "@vueform/slider";
|
|
7
7
|
const j = /* @__PURE__ */ M({
|
|
8
8
|
__name: "uiIcon",
|
|
9
9
|
props: {
|
|
@@ -22,7 +22,7 @@ const j = /* @__PURE__ */ M({
|
|
|
22
22
|
"h-12 w-12": i.size === "huge",
|
|
23
23
|
"h-20 w-20": i.size === "massive"
|
|
24
24
|
}, "animate-pulse rounded-full bg-gray-200 dark:bg-gray-300"])
|
|
25
|
-
}, null, 2)) : (s(),
|
|
25
|
+
}, null, 2)) : (s(), k(Oe(i.icon), {
|
|
26
26
|
key: 0,
|
|
27
27
|
class: h({
|
|
28
28
|
"h-4 w-4": i.size === "medium",
|
|
@@ -41,7 +41,7 @@ const j = /* @__PURE__ */ M({
|
|
|
41
41
|
})
|
|
42
42
|
}, null, 8, ["class"]));
|
|
43
43
|
}
|
|
44
|
-
}),
|
|
44
|
+
}), vt = ["disabled"], bt = {
|
|
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,8 +55,8 @@ const j = /* @__PURE__ */ M({
|
|
|
55
55
|
size: { default: "medium" }
|
|
56
56
|
},
|
|
57
57
|
setup(m) {
|
|
58
|
-
return (i, l) => i.loading ? (s(), n("button",
|
|
59
|
-
i.icon ? (s(),
|
|
58
|
+
return (i, l) => i.loading ? (s(), n("button", bt, [
|
|
59
|
+
i.icon ? (s(), k(j, {
|
|
60
60
|
key: 0,
|
|
61
61
|
icon: i.icon,
|
|
62
62
|
color: "white",
|
|
@@ -80,7 +80,7 @@ const j = /* @__PURE__ */ M({
|
|
|
80
80
|
}, "inline-flex items-center border border-transparent font-medium focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:opacity-25"]),
|
|
81
81
|
type: "button"
|
|
82
82
|
}, [
|
|
83
|
-
i.icon ? (s(),
|
|
83
|
+
i.icon ? (s(), k(j, {
|
|
84
84
|
key: 0,
|
|
85
85
|
icon: i.icon,
|
|
86
86
|
color: "white",
|
|
@@ -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, vt));
|
|
92
92
|
}
|
|
93
|
-
}),
|
|
93
|
+
}), wt = {
|
|
94
94
|
key: 0,
|
|
95
95
|
class: "relative flex items-start"
|
|
96
|
-
},
|
|
96
|
+
}, xt = { class: "flex items-center h-5" }, kt = ["checked", "value", "disabled"], _t = { class: "ml-3 text-sm" }, $t = { class: "text-gray-500" }, Ct = {
|
|
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", Ct, 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", wt, [
|
|
119
|
+
e("div", xt, [
|
|
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, kt)
|
|
128
128
|
]),
|
|
129
|
-
e("div",
|
|
130
|
-
e("span",
|
|
129
|
+
e("div", _t, [
|
|
130
|
+
e("span", $t, [
|
|
131
131
|
q(t.$slots, "default")
|
|
132
132
|
])
|
|
133
133
|
])
|
|
134
134
|
]));
|
|
135
135
|
}
|
|
136
136
|
});
|
|
137
|
-
function
|
|
137
|
+
function St(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 Ct(m, i) {
|
|
|
151
151
|
})
|
|
152
152
|
]);
|
|
153
153
|
}
|
|
154
|
-
function
|
|
154
|
+
function Bt(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 St(m, i) {
|
|
|
168
168
|
})
|
|
169
169
|
]);
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function Mt(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 Dt(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 Mt(m, i) {
|
|
|
236
236
|
})
|
|
237
237
|
]);
|
|
238
238
|
}
|
|
239
|
-
function
|
|
239
|
+
function jt(m, i) {
|
|
240
240
|
return s(), n("svg", {
|
|
241
241
|
xmlns: "http://www.w3.org/2000/svg",
|
|
242
242
|
fill: "none",
|
|
@@ -355,7 +355,7 @@ function ue(m, i) {
|
|
|
355
355
|
})
|
|
356
356
|
]);
|
|
357
357
|
}
|
|
358
|
-
function
|
|
358
|
+
function We(m, i) {
|
|
359
359
|
return s(), n("svg", {
|
|
360
360
|
xmlns: "http://www.w3.org/2000/svg",
|
|
361
361
|
fill: "none",
|
|
@@ -474,7 +474,7 @@ function Nt(m, i) {
|
|
|
474
474
|
})
|
|
475
475
|
]);
|
|
476
476
|
}
|
|
477
|
-
function
|
|
477
|
+
function Ge(m, i) {
|
|
478
478
|
return s(), n("svg", {
|
|
479
479
|
xmlns: "http://www.w3.org/2000/svg",
|
|
480
480
|
fill: "none",
|
|
@@ -576,13 +576,13 @@ function W(m, i) {
|
|
|
576
576
|
})
|
|
577
577
|
]);
|
|
578
578
|
}
|
|
579
|
-
const Pt = { class: "flex justify-between" }, Vt = {
|
|
579
|
+
const Pt = { class: "flex justify-between sha" }, Vt = {
|
|
580
580
|
key: 0,
|
|
581
581
|
class: "block text-sm font-medium text-gray-700 mb-1"
|
|
582
582
|
}, Ft = {
|
|
583
583
|
key: 1,
|
|
584
584
|
class: "place-self-center text-[10px] text-gray-500 uppercase justify-self-end mt-1"
|
|
585
|
-
}, qt = { class: "py-1" }, Rt = ["onClick"], Ut = {
|
|
585
|
+
}, qt = { class: "-py-1" }, Rt = ["onClick"], Ut = {
|
|
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({
|
|
@@ -590,6 +590,7 @@ const Pt = { class: "flex justify-between" }, Vt = {
|
|
|
590
590
|
props: {
|
|
591
591
|
items: {},
|
|
592
592
|
position: { default: "left" },
|
|
593
|
+
verticalPosition: { default: "bottom" },
|
|
593
594
|
disabled: { type: Boolean },
|
|
594
595
|
label: {},
|
|
595
596
|
loading: { type: Boolean, default: !0 },
|
|
@@ -609,7 +610,7 @@ const Pt = { class: "flex justify-between" }, Vt = {
|
|
|
609
610
|
"aria-hidden": "true",
|
|
610
611
|
class: "-mr-1 ml-2 h-5 w-5 text-gray-200 dark:text-gray-300"
|
|
611
612
|
})
|
|
612
|
-
])) : (s(),
|
|
613
|
+
])) : (s(), k(c(be), {
|
|
613
614
|
key: 0,
|
|
614
615
|
as: "div",
|
|
615
616
|
class: h(["relative inline-block text-left", { "opacity-25": t.disabled }])
|
|
@@ -623,10 +624,16 @@ const Pt = { class: "flex justify-between" }, Vt = {
|
|
|
623
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" }, {
|
|
624
625
|
default: v(() => [
|
|
625
626
|
L(g(r.value) + " ", 1),
|
|
626
|
-
|
|
627
|
+
t.verticalPosition === "bottom" ? (s(), k(c(de), {
|
|
628
|
+
key: 0,
|
|
627
629
|
"aria-hidden": "true",
|
|
628
630
|
class: "-mr-1 ml-2 h-5 w-5"
|
|
629
|
-
})
|
|
631
|
+
})) : b("", !0),
|
|
632
|
+
t.verticalPosition === "top" ? (s(), k(c(We), {
|
|
633
|
+
key: 1,
|
|
634
|
+
"aria-hidden": "true",
|
|
635
|
+
class: "-mr-1 ml-2 h-5 w-5"
|
|
636
|
+
})) : b("", !0)
|
|
630
637
|
]),
|
|
631
638
|
_: 1
|
|
632
639
|
})
|
|
@@ -640,13 +647,18 @@ const Pt = { class: "flex justify-between" }, Vt = {
|
|
|
640
647
|
"leave-to-class": "transform opacity-0 scale-95"
|
|
641
648
|
}, {
|
|
642
649
|
default: v(() => [
|
|
643
|
-
t.disabled ? b("", !0) : (s(),
|
|
650
|
+
t.disabled ? b("", !0) : (s(), k(c(xe), {
|
|
644
651
|
key: 0,
|
|
645
|
-
class: h([{
|
|
652
|
+
class: h([{
|
|
653
|
+
"right-0": t.position === "right",
|
|
654
|
+
"left-0": t.position === "left",
|
|
655
|
+
"bottom-10 mb-1.5 shadow-[0_-4px_10px_rgba(0,0,0,.1)] ": t.verticalPosition === "top",
|
|
656
|
+
"mt-2 shadow-lg": t.verticalPosition === "bottom"
|
|
657
|
+
}, "origin-top-right absolute w-56 rounded-md bg-white ring-1 ring-black ring-opacity-5 focus:outline-none z-10"])
|
|
646
658
|
}, {
|
|
647
659
|
default: v(() => [
|
|
648
660
|
e("div", qt, [
|
|
649
|
-
(s(!0), n(
|
|
661
|
+
(s(!0), n(_, null, $(t.items, (u, f) => (s(), k(c(ke), { key: f }, {
|
|
650
662
|
default: v(() => [
|
|
651
663
|
e("a", {
|
|
652
664
|
onClick: (y) => o(u),
|
|
@@ -752,7 +764,7 @@ const Pt = { class: "flex justify-between" }, Vt = {
|
|
|
752
764
|
type: t.type,
|
|
753
765
|
onInput: o
|
|
754
766
|
}, null, 42, Wt), [
|
|
755
|
-
[
|
|
767
|
+
[st, r.value]
|
|
756
768
|
]),
|
|
757
769
|
t.rightAddOn ? (s(), n("span", {
|
|
758
770
|
key: 1,
|
|
@@ -760,7 +772,7 @@ const Pt = { class: "flex justify-between" }, Vt = {
|
|
|
760
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"
|
|
761
773
|
}, g(t.rightAddOn), 1)) : b("", !0),
|
|
762
774
|
e("div", Gt, [
|
|
763
|
-
t.icon ? (s(),
|
|
775
|
+
t.icon ? (s(), k(j, {
|
|
764
776
|
key: 0,
|
|
765
777
|
icon: t.icon,
|
|
766
778
|
color: t.color,
|
|
@@ -821,7 +833,7 @@ const Pt = { class: "flex justify-between" }, Vt = {
|
|
|
821
833
|
fileTypesAndSizes: {},
|
|
822
834
|
error: {},
|
|
823
835
|
accept: {},
|
|
824
|
-
icon: { default:
|
|
836
|
+
icon: { default: Bt },
|
|
825
837
|
loading: { type: Boolean, default: !0 },
|
|
826
838
|
label: {}
|
|
827
839
|
},
|
|
@@ -915,7 +927,7 @@ const Pt = { class: "flex justify-between" }, Vt = {
|
|
|
915
927
|
}, ms = { class: "relative" }, fs = {
|
|
916
928
|
key: 1,
|
|
917
929
|
class: "animate-pulse px-4 py-2.5 bg-gray-200 rounded-md flex justify-between items-center w-full"
|
|
918
|
-
},
|
|
930
|
+
}, Qe = /* @__PURE__ */ M({
|
|
919
931
|
__name: "uiSelect",
|
|
920
932
|
props: {
|
|
921
933
|
items: {},
|
|
@@ -946,7 +958,7 @@ const Pt = { class: "flex justify-between" }, Vt = {
|
|
|
946
958
|
"aria-hidden": "true",
|
|
947
959
|
class: "-mr-1 ml-2 h-5 w-5 text-gray-300 dark:text-gray-400"
|
|
948
960
|
})
|
|
949
|
-
])) : (s(),
|
|
961
|
+
])) : (s(), k(c(Ye), {
|
|
950
962
|
key: 0,
|
|
951
963
|
modelValue: f.value,
|
|
952
964
|
"onUpdate:modelValue": [
|
|
@@ -958,7 +970,7 @@ const Pt = { class: "flex justify-between" }, Vt = {
|
|
|
958
970
|
}, {
|
|
959
971
|
default: v(() => [
|
|
960
972
|
e("div", gs, [
|
|
961
|
-
p(c(
|
|
973
|
+
p(c(at), { class: "block text-sm font-medium" }, {
|
|
962
974
|
default: v(() => [
|
|
963
975
|
L(g(y.label), 1)
|
|
964
976
|
]),
|
|
@@ -995,12 +1007,12 @@ const Pt = { class: "flex justify-between" }, Vt = {
|
|
|
995
1007
|
]),
|
|
996
1008
|
_: 1
|
|
997
1009
|
}),
|
|
998
|
-
t.value.length > 0 ? (s(),
|
|
1010
|
+
t.value.length > 0 ? (s(), k(c(Fe), {
|
|
999
1011
|
key: 0,
|
|
1000
1012
|
class: "absolute z-10 mt-1 max-h-60 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"
|
|
1001
1013
|
}, {
|
|
1002
1014
|
default: v(() => [
|
|
1003
|
-
(s(!0), n(
|
|
1015
|
+
(s(!0), n(_, null, $(t.value, (T) => (s(), k(c(qe), {
|
|
1004
1016
|
key: T.id,
|
|
1005
1017
|
value: T,
|
|
1006
1018
|
as: "template"
|
|
@@ -1195,13 +1207,13 @@ const Pt = { class: "flex justify-between" }, Vt = {
|
|
|
1195
1207
|
e("div", { class: "rounded-full bg-gray-300 dark:bg-gray-400 h-4 w-4" })
|
|
1196
1208
|
], -1),
|
|
1197
1209
|
e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-16 ml-2" }, null, -1)
|
|
1198
|
-
]))) : (s(),
|
|
1210
|
+
]))) : (s(), k(c(it), {
|
|
1199
1211
|
key: 0,
|
|
1200
1212
|
as: "div",
|
|
1201
1213
|
class: "flex items-center relative"
|
|
1202
1214
|
}, {
|
|
1203
1215
|
default: v(() => [
|
|
1204
|
-
p(c(
|
|
1216
|
+
p(c(dt), {
|
|
1205
1217
|
disabled: r.disabled,
|
|
1206
1218
|
onClick: o[0] || (o[0] = (t) => r.$emit("toggleChanged", { item: r.item, active: !a.value })),
|
|
1207
1219
|
modelValue: a.value,
|
|
@@ -1223,7 +1235,7 @@ const Pt = { class: "flex justify-between" }, Vt = {
|
|
|
1223
1235
|
]),
|
|
1224
1236
|
_: 1
|
|
1225
1237
|
}, 8, ["disabled", "modelValue", "class"]),
|
|
1226
|
-
p(c(
|
|
1238
|
+
p(c(ut), {
|
|
1227
1239
|
as: "span",
|
|
1228
1240
|
class: "ml-3"
|
|
1229
1241
|
}, {
|
|
@@ -1274,22 +1286,22 @@ const Pt = { class: "flex justify-between" }, Vt = {
|
|
|
1274
1286
|
}, [
|
|
1275
1287
|
e("div", Ds, [
|
|
1276
1288
|
e("div", js, [
|
|
1277
|
-
r.type === "info" ? (s(),
|
|
1289
|
+
r.type === "info" ? (s(), k(c(Ge), {
|
|
1278
1290
|
key: 0,
|
|
1279
1291
|
class: "h-8 w-8 text-indigo-400",
|
|
1280
1292
|
"aria-hidden": "true"
|
|
1281
1293
|
})) : b("", !0),
|
|
1282
|
-
r.type === "danger" ? (s(),
|
|
1294
|
+
r.type === "danger" ? (s(), k(c(me), {
|
|
1283
1295
|
key: 1,
|
|
1284
1296
|
class: "h-8 w-8 text-red-400",
|
|
1285
1297
|
"aria-hidden": "true"
|
|
1286
1298
|
})) : b("", !0),
|
|
1287
|
-
r.type === "warning" ? (s(),
|
|
1299
|
+
r.type === "warning" ? (s(), k(c(H), {
|
|
1288
1300
|
key: 2,
|
|
1289
1301
|
class: "h-8 w-8 text-yellow-400",
|
|
1290
1302
|
"aria-hidden": "true"
|
|
1291
1303
|
})) : b("", !0),
|
|
1292
|
-
r.type === "success" ? (s(),
|
|
1304
|
+
r.type === "success" ? (s(), k(c(Ze), {
|
|
1293
1305
|
key: 3,
|
|
1294
1306
|
class: "h-8 w-8 text-green-400",
|
|
1295
1307
|
"aria-hidden": "true"
|
|
@@ -1314,7 +1326,7 @@ const Pt = { class: "flex justify-between" }, Vt = {
|
|
|
1314
1326
|
], 2),
|
|
1315
1327
|
e("div", zs, [
|
|
1316
1328
|
e("div", Ls, [
|
|
1317
|
-
(s(!0), n(
|
|
1329
|
+
(s(!0), n(_, null, $(r.actions, (t, d) => (s(), n("button", {
|
|
1318
1330
|
onClick: (u) => a(t),
|
|
1319
1331
|
type: "button",
|
|
1320
1332
|
key: d,
|
|
@@ -1363,7 +1375,7 @@ const Pt = { class: "flex justify-between" }, Vt = {
|
|
|
1363
1375
|
e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/5" }, null, -1)
|
|
1364
1376
|
]))) : (s(), n("nav", Is, [
|
|
1365
1377
|
e("ol", Ys, [
|
|
1366
|
-
(s(!0), n(
|
|
1378
|
+
(s(!0), n(_, null, $(l.pages, (r, o) => (s(), n("li", { key: o }, [
|
|
1367
1379
|
o == 0 ? (s(), n("div", Ps, [
|
|
1368
1380
|
e("p", {
|
|
1369
1381
|
onClick: (t) => l.$emit("breadCrumbClicked", r.routeName),
|
|
@@ -1428,7 +1440,7 @@ const Pt = { class: "flex justify-between" }, Vt = {
|
|
|
1428
1440
|
])
|
|
1429
1441
|
]),
|
|
1430
1442
|
l.tags && ((r = l.tags) == null ? void 0 : r.length) > 0 ? (s(), n("div", Ws, [
|
|
1431
|
-
(s(!0), n(
|
|
1443
|
+
(s(!0), n(_, null, $(l.tags, (o) => (s(), k(U, {
|
|
1432
1444
|
class: "mb-1 mr-1",
|
|
1433
1445
|
key: o.name,
|
|
1434
1446
|
color: o.color,
|
|
@@ -1443,7 +1455,7 @@ const Pt = { class: "flex justify-between" }, Vt = {
|
|
|
1443
1455
|
]));
|
|
1444
1456
|
};
|
|
1445
1457
|
}
|
|
1446
|
-
}),
|
|
1458
|
+
}), Ke = /* @__PURE__ */ M({
|
|
1447
1459
|
__name: "uiFilter",
|
|
1448
1460
|
props: {
|
|
1449
1461
|
items: {},
|
|
@@ -1458,7 +1470,7 @@ const Pt = { class: "flex justify-between" }, Vt = {
|
|
|
1458
1470
|
d.active = d.value === t.value;
|
|
1459
1471
|
}), l("filterSelected", t);
|
|
1460
1472
|
}, o = N(a.items);
|
|
1461
|
-
return (t, d) => (s(),
|
|
1473
|
+
return (t, d) => (s(), k(fe, {
|
|
1462
1474
|
class: "text-nowrap",
|
|
1463
1475
|
loading: t.loading,
|
|
1464
1476
|
onOptionSelected: d[0] || (d[0] = (u) => r(u)),
|
|
@@ -1470,7 +1482,7 @@ const Pt = { class: "flex justify-between" }, Vt = {
|
|
|
1470
1482
|
}), Ks = { class: "fixed inset-0 z-10 overflow-y-auto" }, Xs = { class: "flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0" }, eo = { class: "absolute top-0 right-0 hidden pt-4 pr-4 sm:block" }, to = { class: "sm:flex sm:items-start" }, so = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left sm:mr-4 sm:w-10/12 break-words" }, oo = { class: "mt-4 text-gray-500 text-sm" }, lo = {
|
|
1471
1483
|
key: 0,
|
|
1472
1484
|
class: "mt-8"
|
|
1473
|
-
}, ro = ["onClick"],
|
|
1485
|
+
}, ro = ["onClick"], Xe = /* @__PURE__ */ M({
|
|
1474
1486
|
__name: "uiModal",
|
|
1475
1487
|
props: {
|
|
1476
1488
|
title: {},
|
|
@@ -1485,7 +1497,7 @@ const Pt = { class: "flex justify-between" }, Vt = {
|
|
|
1485
1497
|
const l = m, a = i, r = (o) => {
|
|
1486
1498
|
a("modalAction", { modal: l.modalName, action: o });
|
|
1487
1499
|
};
|
|
1488
|
-
return (o, t) => (s(),
|
|
1500
|
+
return (o, t) => (s(), k(c(_e), {
|
|
1489
1501
|
as: "template",
|
|
1490
1502
|
show: o.open
|
|
1491
1503
|
}, {
|
|
@@ -1586,7 +1598,7 @@ const Pt = { class: "flex justify-between" }, Vt = {
|
|
|
1586
1598
|
q(o.$slots, "default")
|
|
1587
1599
|
]),
|
|
1588
1600
|
o.actions ? (s(), n("div", lo, [
|
|
1589
|
-
(s(!0), n(
|
|
1601
|
+
(s(!0), n(_, null, $(o.actions, (d, u) => (s(), n("button", {
|
|
1590
1602
|
key: u,
|
|
1591
1603
|
type: "button",
|
|
1592
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",
|
|
@@ -1661,7 +1673,7 @@ const Pt = { class: "flex justify-between" }, Vt = {
|
|
|
1661
1673
|
}, null, 512), [
|
|
1662
1674
|
[D, r.type === "warning"]
|
|
1663
1675
|
]),
|
|
1664
|
-
C(p(c(
|
|
1676
|
+
C(p(c(Ge), {
|
|
1665
1677
|
"aria-hidden": "true",
|
|
1666
1678
|
class: "h-6 w-6 text-indigo-600"
|
|
1667
1679
|
}, null, 512), [
|
|
@@ -1709,14 +1721,14 @@ const Pt = { class: "flex justify-between" }, Vt = {
|
|
|
1709
1721
|
},
|
|
1710
1722
|
setup(m) {
|
|
1711
1723
|
return (i, l) => i.loading ? (s(), n("ul", So, [
|
|
1712
|
-
(s(!0), n(
|
|
1724
|
+
(s(!0), n(_, null, $(i.tasks, (a) => (s(), n("li", {
|
|
1713
1725
|
key: a.id,
|
|
1714
1726
|
class: "flex items-center justify-between gap-x-6 py-5"
|
|
1715
1727
|
}, l[0] || (l[0] = [
|
|
1716
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)
|
|
1717
1729
|
])))), 128))
|
|
1718
1730
|
])) : (s(), n("ul", ho, [
|
|
1719
|
-
(s(!0), n(
|
|
1731
|
+
(s(!0), n(_, null, $(i.tasks, (a) => (s(), n("li", {
|
|
1720
1732
|
key: a.id,
|
|
1721
1733
|
class: "flex items-center justify-between gap-x-6 py-5"
|
|
1722
1734
|
}, [
|
|
@@ -1968,7 +1980,7 @@ function Ko(m, i, l, a, r, o) {
|
|
|
1968
1980
|
])
|
|
1969
1981
|
], -1)),
|
|
1970
1982
|
e("tbody", Qo, [
|
|
1971
|
-
(s(), n(
|
|
1983
|
+
(s(), n(_, null, $(10, (t) => e("tr", { key: t }, i[0] || (i[0] = [
|
|
1972
1984
|
e("td", { class: "whitespace-nowrap py-4 pl-4 pr-3 text-sm font-medium text-gray-900 sm:pl-6" }, [
|
|
1973
1985
|
e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-6" })
|
|
1974
1986
|
], -1),
|
|
@@ -2002,7 +2014,7 @@ function Ko(m, i, l, a, r, o) {
|
|
|
2002
2014
|
])
|
|
2003
2015
|
]);
|
|
2004
2016
|
}
|
|
2005
|
-
const
|
|
2017
|
+
const et = /* @__PURE__ */ te(Uo, [["render", Ko]]);
|
|
2006
2018
|
var ie = { exports: {} }, Xo = ie.exports, Ae;
|
|
2007
2019
|
function el() {
|
|
2008
2020
|
return Ae || (Ae = 1, function(m, i) {
|
|
@@ -2169,7 +2181,7 @@ const oe = /* @__PURE__ */ te(dl, [["render", cl]]), gl = {
|
|
|
2169
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 });
|
|
2170
2182
|
return (x, Y) => {
|
|
2171
2183
|
var I, se;
|
|
2172
|
-
return x.loading ? (s(),
|
|
2184
|
+
return x.loading ? (s(), k(et, { key: 1 })) : (s(), n("div", gl, [
|
|
2173
2185
|
e("div", pl, [
|
|
2174
2186
|
e("div", ml, [
|
|
2175
2187
|
e("div", fl, [
|
|
@@ -2182,7 +2194,7 @@ const oe = /* @__PURE__ */ te(dl, [["render", cl]]), gl = {
|
|
|
2182
2194
|
onDateSelected: Y[0] || (Y[0] = (O) => f(O))
|
|
2183
2195
|
}, null, 8, ["selectedDate"])
|
|
2184
2196
|
]),
|
|
2185
|
-
(s(!0), n(
|
|
2197
|
+
(s(!0), n(_, null, $(d.value, (O, F) => (s(), n("th", {
|
|
2186
2198
|
scope: "col",
|
|
2187
2199
|
key: F,
|
|
2188
2200
|
class: "text-sm font-semibold text-gray-900 p-0"
|
|
@@ -2211,7 +2223,7 @@ const oe = /* @__PURE__ */ te(dl, [["render", cl]]), gl = {
|
|
|
2211
2223
|
]),
|
|
2212
2224
|
x.type === "discounts" ? (s(), n("tr", wl, [
|
|
2213
2225
|
e("td", xl, g(x.literals.pricesDiscount), 1),
|
|
2214
|
-
(s(!0), n(
|
|
2226
|
+
(s(!0), n(_, null, $(x.category.selectionPrices, (O, F) => (s(), n("td", {
|
|
2215
2227
|
key: F,
|
|
2216
2228
|
class: "p-0"
|
|
2217
2229
|
}, [
|
|
@@ -2226,7 +2238,7 @@ const oe = /* @__PURE__ */ te(dl, [["render", cl]]), gl = {
|
|
|
2226
2238
|
])) : b("", !0),
|
|
2227
2239
|
x.type === "prices" ? (s(), n("tr", kl, [
|
|
2228
2240
|
e("td", _l, g(x.literals.pricesSelection), 1),
|
|
2229
|
-
(s(!0), n(
|
|
2241
|
+
(s(!0), n(_, null, $(x.category.selectionPrices, (O, F) => (s(), n("td", {
|
|
2230
2242
|
key: F,
|
|
2231
2243
|
class: "p-0"
|
|
2232
2244
|
}, [
|
|
@@ -2241,7 +2253,7 @@ const oe = /* @__PURE__ */ te(dl, [["render", cl]]), gl = {
|
|
|
2241
2253
|
])) : b("", !0),
|
|
2242
2254
|
x.type === "prices" ? (s(), n("tr", $l, [
|
|
2243
2255
|
e("td", Cl, g(x.literals.pricesUpgrade), 1),
|
|
2244
|
-
(s(!0), n(
|
|
2256
|
+
(s(!0), n(_, null, $(x.category.upgradePrices, (O, F) => (s(), n("td", {
|
|
2245
2257
|
key: F,
|
|
2246
2258
|
class: "p-0"
|
|
2247
2259
|
}, [
|
|
@@ -2257,7 +2269,7 @@ const oe = /* @__PURE__ */ te(dl, [["render", cl]]), gl = {
|
|
|
2257
2269
|
e("tr", null, [
|
|
2258
2270
|
e("th", Sl, [
|
|
2259
2271
|
((I = t.value) == null ? void 0 : I.length) > 0 && ((se = x.actions) == null ? void 0 : se.length) > 0 ? (s(), n("div", Bl, [
|
|
2260
|
-
(s(!0), n(
|
|
2272
|
+
(s(!0), n(_, null, $(x.actions, (O, F) => (s(), n("button", {
|
|
2261
2273
|
onClick: (K) => B({ action: O.id, items: t.value }),
|
|
2262
2274
|
key: F,
|
|
2263
2275
|
type: "button",
|
|
@@ -2286,7 +2298,7 @@ const oe = /* @__PURE__ */ te(dl, [["render", cl]]), gl = {
|
|
|
2286
2298
|
class: "bg-gray-100 py-2 pl-4 pr-3 text-left font-semibold text-gray-900"
|
|
2287
2299
|
}, null, -1))
|
|
2288
2300
|
]),
|
|
2289
|
-
(s(!0), n(
|
|
2301
|
+
(s(!0), n(_, null, $(x.rooms, (O) => (s(), n("tr", {
|
|
2290
2302
|
key: O.name,
|
|
2291
2303
|
class: h([{ "even:bg-gray-100": x.type === "prices", "odd:bg-gray-100": x.type === "discounts" }])
|
|
2292
2304
|
}, [
|
|
@@ -2304,7 +2316,7 @@ const oe = /* @__PURE__ */ te(dl, [["render", cl]]), gl = {
|
|
|
2304
2316
|
]),
|
|
2305
2317
|
e("td", Yl, g(O.building), 1),
|
|
2306
2318
|
e("td", Pl, g(O.floor), 1),
|
|
2307
|
-
(s(!0), n(
|
|
2319
|
+
(s(!0), n(_, null, $(O.selectionPrices, (F, K) => (s(), n("td", {
|
|
2308
2320
|
class: "p-0",
|
|
2309
2321
|
key: K
|
|
2310
2322
|
}, [
|
|
@@ -2416,7 +2428,7 @@ const oe = /* @__PURE__ */ te(dl, [["render", cl]]), gl = {
|
|
|
2416
2428
|
}, y = V(() => r.series), w = V(() => u()), T = () => l("chartUpdated"), A = (S, B, P) => {
|
|
2417
2429
|
l("dataPointSelection", { id: r.id, chartContext: B, config: P, event: S });
|
|
2418
2430
|
};
|
|
2419
|
-
return (S, B) => (s(), n(
|
|
2431
|
+
return (S, B) => (s(), n(_, null, [
|
|
2420
2432
|
C(e("div", {
|
|
2421
2433
|
class: h(["h-[" + S.height + "px]", "card chart apex-chart p-4 bg-white shadow rounded-lg overflow-hidden flex grow"])
|
|
2422
2434
|
}, [
|
|
@@ -2680,7 +2692,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
2680
2692
|
], 512), [
|
|
2681
2693
|
[D, u.current !== 1]
|
|
2682
2694
|
]),
|
|
2683
|
-
(s(!0), n(
|
|
2695
|
+
(s(!0), n(_, null, $(d.value, (y) => (s(), n("button", {
|
|
2684
2696
|
onClick: (w) => l("changePage", y),
|
|
2685
2697
|
key: y,
|
|
2686
2698
|
"aria-current": "page",
|
|
@@ -2742,13 +2754,13 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
2742
2754
|
e("div", wr, [
|
|
2743
2755
|
e("div", xr, [
|
|
2744
2756
|
e("nav", kr, [
|
|
2745
|
-
a.loading ? (s(), n(
|
|
2757
|
+
a.loading ? (s(), n(_, { key: 1 }, $(5, (o) => e("div", jr, r[1] || (r[1] = [
|
|
2746
2758
|
e("div", { class: "w-6 h-6 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 mr-4" }, null, -1),
|
|
2747
2759
|
e("div", { class: "h-3 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 grow" }, null, -1)
|
|
2748
|
-
]))), 64)) : (s(!0), n(
|
|
2760
|
+
]))), 64)) : (s(!0), n(_, { key: 0 }, $(a.navigation, (o) => (s(), n(_, {
|
|
2749
2761
|
key: o.name
|
|
2750
2762
|
}, [
|
|
2751
|
-
o.children ? (s(),
|
|
2763
|
+
o.children ? (s(), k(c(Se), {
|
|
2752
2764
|
key: 1,
|
|
2753
2765
|
as: "div",
|
|
2754
2766
|
class: "space-y-1"
|
|
@@ -2758,7 +2770,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
2758
2770
|
class: h([o.current ? "bg-indigo-600 text-white" : "text-gray-600 hover:bg-gray-50 hover:text-gray-900", "group w-full flex items-center pl-2 pr-1 py-2 text-left text-sm font-medium rounded-md focus:outline-none"])
|
|
2759
2771
|
}, {
|
|
2760
2772
|
default: v(() => [
|
|
2761
|
-
o.icon ? (s(),
|
|
2773
|
+
o.icon ? (s(), k(j, {
|
|
2762
2774
|
key: 0,
|
|
2763
2775
|
loading: a.loading,
|
|
2764
2776
|
icon: o.icon,
|
|
@@ -2779,7 +2791,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
2779
2791
|
}, 1032, ["class"]),
|
|
2780
2792
|
p(c(Be), { class: "space-y-1" }, {
|
|
2781
2793
|
default: v(() => [
|
|
2782
|
-
(s(!0), n(
|
|
2794
|
+
(s(!0), n(_, null, $(o.children, (d) => (s(), k(c(Z), {
|
|
2783
2795
|
onClick: (u) => l("sideBarClick", d.id),
|
|
2784
2796
|
key: d.name,
|
|
2785
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"])
|
|
@@ -2802,7 +2814,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
2802
2814
|
"group w-full flex items-center pl-2 py-2 text-sm font-medium rounded-md"
|
|
2803
2815
|
])
|
|
2804
2816
|
}, [
|
|
2805
|
-
o.icon ? (s(),
|
|
2817
|
+
o.icon ? (s(), k(j, {
|
|
2806
2818
|
key: 0,
|
|
2807
2819
|
loading: a.loading,
|
|
2808
2820
|
icon: o.icon,
|
|
@@ -2853,7 +2865,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
2853
2865
|
return (l, a) => (s(), n("div", zr, [
|
|
2854
2866
|
e("div", Lr, [
|
|
2855
2867
|
e("ul", null, [
|
|
2856
|
-
(s(!0), n(
|
|
2868
|
+
(s(!0), n(_, null, $(l.productsSidebar, (r, o) => (s(), n("li", {
|
|
2857
2869
|
key: o,
|
|
2858
2870
|
class: h([{ "!bg-indigo-900": r.active }, "w-full h-16 flex items-center justify-center cursor-pointer bg-indigo-600 hover:bg-indigo-700"]),
|
|
2859
2871
|
onClick: (t) => l.$emit("productBarClick", r.name)
|
|
@@ -2868,7 +2880,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
2868
2880
|
])
|
|
2869
2881
|
]),
|
|
2870
2882
|
l.loading ? (s(), n("div", Hr, [
|
|
2871
|
-
(s(), n(
|
|
2883
|
+
(s(), n(_, null, $(5, (r) => e("div", Er, a[0] || (a[0] = [
|
|
2872
2884
|
e("div", { class: "w-6 h-6 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 mr-4" }, null, -1),
|
|
2873
2885
|
e("div", { class: "h-3 animate-pulse bg-gray-200 rounded-full w-1/2 dark:bg-gray-300" }, null, -1)
|
|
2874
2886
|
]))), 64))
|
|
@@ -2884,10 +2896,10 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
2884
2896
|
l.isFilterNavigation ? b("", !0) : (s(), n("ul", Pr, [
|
|
2885
2897
|
e("li", null, [
|
|
2886
2898
|
e("ul", Vr, [
|
|
2887
|
-
(s(!0), n(
|
|
2899
|
+
(s(!0), n(_, null, $(l.navigation, (r) => (s(), n("li", {
|
|
2888
2900
|
key: r.name
|
|
2889
2901
|
}, [
|
|
2890
|
-
r.children ? (s(),
|
|
2902
|
+
r.children ? (s(), k(c(Se), {
|
|
2891
2903
|
key: 1,
|
|
2892
2904
|
as: "div"
|
|
2893
2905
|
}, {
|
|
@@ -2920,7 +2932,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
2920
2932
|
static: ""
|
|
2921
2933
|
}, {
|
|
2922
2934
|
default: v(() => [
|
|
2923
|
-
(s(!0), n(
|
|
2935
|
+
(s(!0), n(_, null, $(r.children, (o) => (s(), n("li", {
|
|
2924
2936
|
key: o.name
|
|
2925
2937
|
}, [
|
|
2926
2938
|
p(c(Z), {
|
|
@@ -2963,7 +2975,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
2963
2975
|
])),
|
|
2964
2976
|
l.isFilterNavigation && l.filterNavigation ? (s(), n("ul", qr, [
|
|
2965
2977
|
e("li", Rr, [
|
|
2966
|
-
l.filterNavigation.hasSearch && l.filterNavigation.search ? (s(),
|
|
2978
|
+
l.filterNavigation.hasSearch && l.filterNavigation.search ? (s(), k(E, {
|
|
2967
2979
|
key: 0,
|
|
2968
2980
|
name: l.filterNavigation.search.name,
|
|
2969
2981
|
label: l.filterNavigation.search.label,
|
|
@@ -2972,12 +2984,12 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
2972
2984
|
loading: l.filterNavigation.search.loading
|
|
2973
2985
|
}, null, 8, ["name", "label", "placeholder", "value", "loading"])) : b("", !0)
|
|
2974
2986
|
]),
|
|
2975
|
-
(s(!0), n(
|
|
2987
|
+
(s(!0), n(_, null, $(l.filterNavigation.items, (r, o) => (s(), n("li", {
|
|
2976
2988
|
class: "ml-2",
|
|
2977
2989
|
key: o
|
|
2978
2990
|
}, [
|
|
2979
2991
|
e("p", Ur, g(r.label), 1),
|
|
2980
|
-
(s(!0), n(
|
|
2992
|
+
(s(!0), n(_, null, $(r.filters, (t, d) => (s(), k(Ue, {
|
|
2981
2993
|
class: "mb-2",
|
|
2982
2994
|
value: t.value,
|
|
2983
2995
|
loading: t.loading
|
|
@@ -2996,7 +3008,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
2996
3008
|
}), Zr = { key: 0 }, Jr = { class: "ml-16 text-sm font-medium text-gray-500 truncate" }, Wr = { class: "ml-16 flex items-baseline pb-5" }, Gr = { class: "text-2xl font-semibold text-gray-900" }, Qr = {
|
|
2997
3009
|
key: 0,
|
|
2998
3010
|
class: "text-black ml-2 flex items-baseline text-sm font-semibold"
|
|
2999
|
-
}, Kr = { class: "absolute bottom-0 inset-x-0 bg-gray-50 px-4 py-4 sm:px-6" }, Xr = { class: "text-sm" }, en = { key: 1 }, tn = { class: "relative bg-white pt-5 px-4 sm:pt-6 sm:px-6 shadow rounded-lg overflow-hidden h-full pb-6" }, sn = { class: "absolute bg-gray-200 rounded-md p-3 animate-pulse" },
|
|
3011
|
+
}, Kr = { class: "absolute bottom-0 inset-x-0 bg-gray-50 px-4 py-4 sm:px-6" }, Xr = { class: "text-sm" }, en = { key: 1 }, tn = { class: "relative bg-white pt-5 px-4 sm:pt-6 sm:px-6 shadow rounded-lg overflow-hidden h-full pb-6" }, sn = { class: "absolute bg-gray-200 rounded-md p-3 animate-pulse" }, tt = /* @__PURE__ */ M({
|
|
3000
3012
|
__name: "uiStats",
|
|
3001
3013
|
props: {
|
|
3002
3014
|
item: {},
|
|
@@ -3060,12 +3072,12 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3060
3072
|
"ml-2 flex items-baseline text-sm font-semibold"
|
|
3061
3073
|
])
|
|
3062
3074
|
}, [
|
|
3063
|
-
l.item.changeType === "increase" ? (s(),
|
|
3075
|
+
l.item.changeType === "increase" ? (s(), k(c(Mt), {
|
|
3064
3076
|
key: 0,
|
|
3065
3077
|
class: "self-center flex-shrink-0 h-3 w-3 text-green-500",
|
|
3066
3078
|
"aria-hidden": "true"
|
|
3067
3079
|
})) : b("", !0),
|
|
3068
|
-
l.item.changeType === "decrease" ? (s(),
|
|
3080
|
+
l.item.changeType === "decrease" ? (s(), k(c(St), {
|
|
3069
3081
|
key: 1,
|
|
3070
3082
|
class: "self-center flex-shrink-0 h-3 w-3 text-red-500",
|
|
3071
3083
|
"aria-hidden": "true"
|
|
@@ -3112,7 +3124,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3112
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)),
|
|
3113
3125
|
e("div", mn, [
|
|
3114
3126
|
e("dl", null, [
|
|
3115
|
-
(s(), n(
|
|
3127
|
+
(s(), n(_, null, $(5, (a) => e("div", {
|
|
3116
3128
|
key: a,
|
|
3117
3129
|
class: h(["px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6", [a % 2 === 0 ? "bg-gray-50" : "bg-white"]])
|
|
3118
3130
|
}, l[0] || (l[0] = [
|
|
@@ -3132,13 +3144,13 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3132
3144
|
]),
|
|
3133
3145
|
e("div", an, [
|
|
3134
3146
|
e("dl", null, [
|
|
3135
|
-
(s(!0), n(
|
|
3147
|
+
(s(!0), n(_, null, $(i.items, (a, r) => (s(), n("div", {
|
|
3136
3148
|
key: r,
|
|
3137
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"]])
|
|
3138
3150
|
}, [
|
|
3139
3151
|
e("dt", dn, g(a.title), 1),
|
|
3140
3152
|
a.type === "tags" ? (s(), n("dd", un, [
|
|
3141
|
-
(s(!0), n(
|
|
3153
|
+
(s(!0), n(_, null, $(a.tags, (o, t) => (s(), k(U, {
|
|
3142
3154
|
loading: i.loading,
|
|
3143
3155
|
key: t,
|
|
3144
3156
|
color: o.color,
|
|
@@ -3231,13 +3243,13 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3231
3243
|
r.value = w, w && r.value && (l.value = [], r.value = !w, o("selectedItemsDeleted"));
|
|
3232
3244
|
}), (w, T) => {
|
|
3233
3245
|
var A, S;
|
|
3234
|
-
return w.loading ? (s(),
|
|
3246
|
+
return w.loading ? (s(), k(et, { key: 1 })) : (s(), n("div", bn, [
|
|
3235
3247
|
e("div", wn, [
|
|
3236
3248
|
e("div", xn, [
|
|
3237
3249
|
e("div", kn, [
|
|
3238
3250
|
e("div", _n, [
|
|
3239
3251
|
((A = c(l)) == null ? void 0 : A.length) > 0 && ((S = w.actions) == null ? void 0 : S.length) > 0 ? (s(), n("div", $n, [
|
|
3240
|
-
(s(!0), n(
|
|
3252
|
+
(s(!0), n(_, null, $(w.actions, (B, P) => (s(), n("button", {
|
|
3241
3253
|
onClick: (x) => w.$emit("tableAction", { action: B.id, items: c(l) }),
|
|
3242
3254
|
key: P,
|
|
3243
3255
|
type: "button",
|
|
@@ -3260,14 +3272,14 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3260
3272
|
onChange: f
|
|
3261
3273
|
}, null, 40, Mn)) : b("", !0)
|
|
3262
3274
|
], 2),
|
|
3263
|
-
(s(!0), n(
|
|
3275
|
+
(s(!0), n(_, null, $(w.header, (B, P) => (s(), n("th", {
|
|
3264
3276
|
key: P,
|
|
3265
3277
|
class: "py-3.5 pr-3 text-left font-semibold text-gray-900 relative",
|
|
3266
3278
|
scope: "col",
|
|
3267
3279
|
onMouseover: (x) => u(B.name, !0),
|
|
3268
3280
|
onMouseleave: (x) => u(B.name, !1)
|
|
3269
3281
|
}, [
|
|
3270
|
-
B.tooltip ? C((s(),
|
|
3282
|
+
B.tooltip ? C((s(), k(vn, {
|
|
3271
3283
|
key: 0,
|
|
3272
3284
|
tip: B.tooltip
|
|
3273
3285
|
}, null, 8, ["tip"])), [
|
|
@@ -3285,7 +3297,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3285
3297
|
], "ml-2 flex-none rounded group-hover:bg-indigo-200 group-hover:text-white"])
|
|
3286
3298
|
}, [
|
|
3287
3299
|
p(j, {
|
|
3288
|
-
icon: w.orderDirection === "asc" ? c(de) : c(
|
|
3300
|
+
icon: w.orderDirection === "asc" ? c(de) : c(We),
|
|
3289
3301
|
loading: w.loading,
|
|
3290
3302
|
color: B.value === w.orderedBy ? "white" : "primary"
|
|
3291
3303
|
}, null, 8, ["icon", "loading", "color"])
|
|
@@ -3297,7 +3309,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3297
3309
|
])
|
|
3298
3310
|
]),
|
|
3299
3311
|
e("tbody", zn, [
|
|
3300
|
-
(s(!0), n(
|
|
3312
|
+
(s(!0), n(_, null, $(w.items, (B, P) => {
|
|
3301
3313
|
var x, Y;
|
|
3302
3314
|
return s(), n("tr", {
|
|
3303
3315
|
key: B.id,
|
|
@@ -3320,14 +3332,14 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3320
3332
|
[Ie, c(l)]
|
|
3321
3333
|
]) : b("", !0)
|
|
3322
3334
|
], 2),
|
|
3323
|
-
(s(!0), n(
|
|
3335
|
+
(s(!0), n(_, null, $(B.row, (I, se) => (s(), n("td", {
|
|
3324
3336
|
key: se,
|
|
3325
3337
|
class: h([
|
|
3326
3338
|
"whitespace-nowrap py-4 pr-3 text-sm",
|
|
3327
3339
|
c(l).includes(B.id) ? "text-indigo-600" : "text-gray-900"
|
|
3328
3340
|
])
|
|
3329
3341
|
}, [
|
|
3330
|
-
typeof I == "object" && I.type === "tag" ? (s(),
|
|
3342
|
+
typeof I == "object" && I.type === "tag" ? (s(), k(U, {
|
|
3331
3343
|
key: 0,
|
|
3332
3344
|
loading: w.loading,
|
|
3333
3345
|
color: I.color
|
|
@@ -3379,7 +3391,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3379
3391
|
name: "tabs",
|
|
3380
3392
|
class: "block w-full rounded-md border-gray-300 py-2 pl-3 pr-10 text-base focus:border-indigo-500 focus:outline-none focus:ring-indigo-500 sm:text-sm"
|
|
3381
3393
|
}, [
|
|
3382
|
-
(s(!0), n(
|
|
3394
|
+
(s(!0), n(_, null, $(r.tabs, (t) => (s(), n("option", {
|
|
3383
3395
|
value: t.id,
|
|
3384
3396
|
key: t.name
|
|
3385
3397
|
}, g(t.name), 9, Vn))), 128))
|
|
@@ -3388,7 +3400,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3388
3400
|
e("div", Fn, [
|
|
3389
3401
|
e("div", qn, [
|
|
3390
3402
|
e("nav", Rn, [
|
|
3391
|
-
(s(!0), n(
|
|
3403
|
+
(s(!0), n(_, null, $(r.tabs, (t) => (s(), n("a", {
|
|
3392
3404
|
key: t.name,
|
|
3393
3405
|
onClick: (d) => l("tabClicked", t.id),
|
|
3394
3406
|
class: h([
|
|
@@ -3455,7 +3467,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3455
3467
|
e("div", ia, [
|
|
3456
3468
|
e("div", da, [
|
|
3457
3469
|
e("ul", ua, [
|
|
3458
|
-
(s(), n(
|
|
3470
|
+
(s(), n(_, null, $(10, (t, d) => e("li", { key: d }, [
|
|
3459
3471
|
e("div", ca, [
|
|
3460
3472
|
t !== 10 ? (s(), n("span", ga)) : b("", !0),
|
|
3461
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))
|
|
@@ -3478,13 +3490,13 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3478
3490
|
]),
|
|
3479
3491
|
a.items ? (s(), n("div", Jn, [
|
|
3480
3492
|
e("div", Wn, [
|
|
3481
|
-
p(
|
|
3493
|
+
p(ot, {
|
|
3482
3494
|
name: "list",
|
|
3483
3495
|
tag: "ul",
|
|
3484
3496
|
class: "-mb-8"
|
|
3485
3497
|
}, {
|
|
3486
3498
|
default: v(() => [
|
|
3487
|
-
(s(!0), n(
|
|
3499
|
+
(s(!0), n(_, null, $(a.items, (t, d) => (s(), n("li", { key: d }, [
|
|
3488
3500
|
e("div", Gn, [
|
|
3489
3501
|
d < a.items.length - 1 ? (s(), n("span", Qn)) : b("", !0),
|
|
3490
3502
|
e("div", Kn, [
|
|
@@ -3558,7 +3570,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3558
3570
|
},
|
|
3559
3571
|
emits: ["topBarClick"],
|
|
3560
3572
|
setup(m, { emit: i }) {
|
|
3561
|
-
return (l, a) => (s(),
|
|
3573
|
+
return (l, a) => (s(), k(c(Se), {
|
|
3562
3574
|
as: "nav",
|
|
3563
3575
|
class: "bg-white shadow z-10"
|
|
3564
3576
|
}, {
|
|
@@ -3570,11 +3582,11 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3570
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" }, {
|
|
3571
3583
|
default: v(() => [
|
|
3572
3584
|
a[1] || (a[1] = e("span", { class: "sr-only" }, "Open main menu", -1)),
|
|
3573
|
-
r ? (s(),
|
|
3585
|
+
r ? (s(), k(c(W), {
|
|
3574
3586
|
key: 1,
|
|
3575
3587
|
class: "block h-6 w-6",
|
|
3576
3588
|
"aria-hidden": "true"
|
|
3577
|
-
})) : (s(),
|
|
3589
|
+
})) : (s(), k(c(Ee), {
|
|
3578
3590
|
key: 0,
|
|
3579
3591
|
class: "block h-6 w-6",
|
|
3580
3592
|
"aria-hidden": "true"
|
|
@@ -3630,7 +3642,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3630
3642
|
default: v(() => [
|
|
3631
3643
|
p(c(xe), { class: "origin-top-right absolute right-0 mt-2 w-48 rounded-md shadow-lg py-1 bg-white ring-1 ring-black ring-opacity-5 focus:outline-none" }, {
|
|
3632
3644
|
default: v(() => [
|
|
3633
|
-
(s(!0), n(
|
|
3645
|
+
(s(!0), n(_, null, $(l.profileMenu, (o) => (s(), k(c(ke), {
|
|
3634
3646
|
key: o.name
|
|
3635
3647
|
}, {
|
|
3636
3648
|
default: v(({ active: t }) => [
|
|
@@ -3660,7 +3672,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3660
3672
|
p(c(Be), { class: "lg:hidden" }, {
|
|
3661
3673
|
default: v(() => [
|
|
3662
3674
|
e("div", $a, [
|
|
3663
|
-
(s(!0), n(
|
|
3675
|
+
(s(!0), n(_, null, $(l.navigation, (o) => (s(), k(c(Z), {
|
|
3664
3676
|
as: "template",
|
|
3665
3677
|
key: o.name,
|
|
3666
3678
|
class: h(["block pl-3 pr-4 py-2 border-l-4 text-base font-medium sm:pl-5 sm:pr-6", {
|
|
@@ -3690,7 +3702,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3690
3702
|
])) : b("", !0)
|
|
3691
3703
|
]),
|
|
3692
3704
|
e("div", La, [
|
|
3693
|
-
(s(!0), n(
|
|
3705
|
+
(s(!0), n(_, null, $(l.profileMenu, (o) => (s(), k(c(Z), {
|
|
3694
3706
|
as: "template",
|
|
3695
3707
|
key: o.name,
|
|
3696
3708
|
class: "block px-4 py-2 text-base font-medium text-gray-500 hover:text-gray-800 hover:bg-gray-100 sm:px-6"
|
|
@@ -3801,7 +3813,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3801
3813
|
const o = V(() => ({ ...a.options, ...r })), t = V(() => a.series), d = () => l("chartUpdated"), u = (f, y, w) => {
|
|
3802
3814
|
l("dataPointSelection", { id: a.id, chartContext: y, config: w, event: f });
|
|
3803
3815
|
};
|
|
3804
|
-
return (f, y) => (s(), n(
|
|
3816
|
+
return (f, y) => (s(), n(_, null, [
|
|
3805
3817
|
C(e("div", {
|
|
3806
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"])
|
|
3807
3819
|
}, [
|
|
@@ -3894,7 +3906,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3894
3906
|
e("h2", Ha, g(i.title), 1),
|
|
3895
3907
|
e("p", Ea, g(i.message), 1),
|
|
3896
3908
|
e("div", Za, [
|
|
3897
|
-
(s(!0), n(
|
|
3909
|
+
(s(!0), n(_, null, $(i.actions, (a, r) => (s(), k(J, {
|
|
3898
3910
|
key: r,
|
|
3899
3911
|
loading: !1,
|
|
3900
3912
|
onClick: (o) => i.$emit("action", a.action)
|
|
@@ -3904,7 +3916,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3904
3916
|
]),
|
|
3905
3917
|
_: 2
|
|
3906
3918
|
}, 1032, ["onClick"]))), 128)),
|
|
3907
|
-
i.items ? (s(),
|
|
3919
|
+
i.items ? (s(), k(fe, {
|
|
3908
3920
|
key: 0,
|
|
3909
3921
|
items: i.items,
|
|
3910
3922
|
loading: !1,
|
|
@@ -3923,7 +3935,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
3923
3935
|
},
|
|
3924
3936
|
emits: ["closeRightBar"],
|
|
3925
3937
|
setup(m, { emit: i }) {
|
|
3926
|
-
return (l, a) => (s(),
|
|
3938
|
+
return (l, a) => (s(), k(c(_e), {
|
|
3927
3939
|
as: "template",
|
|
3928
3940
|
show: l.open
|
|
3929
3941
|
}, {
|
|
@@ -4020,7 +4032,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4020
4032
|
a.value = !1, l("modalAction", o);
|
|
4021
4033
|
};
|
|
4022
4034
|
return (o, t) => (s(), n("div", ni, [
|
|
4023
|
-
o.loading ? b("", !0) : (s(),
|
|
4035
|
+
o.loading ? b("", !0) : (s(), k(Xe, {
|
|
4024
4036
|
key: 0,
|
|
4025
4037
|
open: a.value,
|
|
4026
4038
|
modalName: "deleteAllImagesModal",
|
|
@@ -4035,13 +4047,13 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4035
4047
|
_: 1
|
|
4036
4048
|
}, 8, ["open", "title", "actions"])),
|
|
4037
4049
|
o.loading ? (s(), n("ul", mi, [
|
|
4038
|
-
(s(), n(
|
|
4050
|
+
(s(), n(_, null, $(4, (d) => e("li", null, t[2] || (t[2] = [
|
|
4039
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),
|
|
4040
4052
|
e("p", { class: "animate-pulse h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28 mt-4" }, null, -1),
|
|
4041
4053
|
e("p", { class: "animate-pulse h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-14 mt-2" }, null, -1)
|
|
4042
4054
|
]))), 64))
|
|
4043
4055
|
])) : (s(), n("ul", ai, [
|
|
4044
|
-
(s(!0), n(
|
|
4056
|
+
(s(!0), n(_, null, $(o.gallery, (d) => (s(), n("li", {
|
|
4045
4057
|
key: d.source,
|
|
4046
4058
|
class: "relative"
|
|
4047
4059
|
}, [
|
|
@@ -4070,7 +4082,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4070
4082
|
])
|
|
4071
4083
|
]))), 128))
|
|
4072
4084
|
])),
|
|
4073
|
-
o.gallery.length > 0 && !o.loading ? (s(),
|
|
4085
|
+
o.gallery.length > 0 && !o.loading ? (s(), k(J, {
|
|
4074
4086
|
key: 3,
|
|
4075
4087
|
onClick: t[1] || (t[1] = (d) => a.value = !0),
|
|
4076
4088
|
class: "mt-8",
|
|
@@ -4106,7 +4118,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4106
4118
|
};
|
|
4107
4119
|
return (t, d) => t.loading ? (s(), n("div", ki, d[2] || (d[2] = [
|
|
4108
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)
|
|
4109
|
-
]))) : (s(),
|
|
4121
|
+
]))) : (s(), k(c(yt), {
|
|
4110
4122
|
key: 0,
|
|
4111
4123
|
modelValue: c(r),
|
|
4112
4124
|
"onUpdate:modelValue": [
|
|
@@ -4118,7 +4130,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4118
4130
|
e("div", yi, [
|
|
4119
4131
|
e("div", hi, [
|
|
4120
4132
|
p(j, {
|
|
4121
|
-
icon: c(
|
|
4133
|
+
icon: c(Dt),
|
|
4122
4134
|
loading: !1,
|
|
4123
4135
|
color: "gray",
|
|
4124
4136
|
class: "mr-4",
|
|
@@ -4199,7 +4211,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4199
4211
|
}, T = () => {
|
|
4200
4212
|
o.from !== "" && o.to !== "" && z(o.from).isBefore(z(o.to)) && l("selectedRange", { range: o, chartId: a.id });
|
|
4201
4213
|
};
|
|
4202
|
-
return (A, S) => (s(), n(
|
|
4214
|
+
return (A, S) => (s(), n(_, null, [
|
|
4203
4215
|
C(e("div", {
|
|
4204
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"])
|
|
4205
4217
|
}, [
|
|
@@ -4418,7 +4430,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4418
4430
|
e("div", {
|
|
4419
4431
|
class: h([{ "mt-1": o.label }, "pt-16 px-6 pb-6 bg-gray-50 border border-gray-300 rounded-lg shadow-sm"])
|
|
4420
4432
|
}, [
|
|
4421
|
-
o.loading ? (s(), n("p", Fi)) : (s(),
|
|
4433
|
+
o.loading ? (s(), n("p", Fi)) : (s(), k(c(ht), {
|
|
4422
4434
|
key: 0,
|
|
4423
4435
|
modelValue: r.value,
|
|
4424
4436
|
"onUpdate:modelValue": t[0] || (t[0] = (d) => r.value = d),
|
|
@@ -4441,7 +4453,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4441
4453
|
description: {}
|
|
4442
4454
|
},
|
|
4443
4455
|
setup(m) {
|
|
4444
|
-
return (i, l) => (s(), n(
|
|
4456
|
+
return (i, l) => (s(), n(_, null, [
|
|
4445
4457
|
e("h3", {
|
|
4446
4458
|
class: h(["text-lg font-medium leading-6 text-gray-900", { "mb-8": i.description === void 0 }])
|
|
4447
4459
|
}, g(i.title), 3),
|
|
@@ -4481,7 +4493,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4481
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)),
|
|
4482
4494
|
e("dl", Xi, [
|
|
4483
4495
|
e("dd", ed, [
|
|
4484
|
-
(s(!0), n(
|
|
4496
|
+
(s(!0), n(_, null, $(l.tags, (r, o) => (s(), k(U, {
|
|
4485
4497
|
key: o,
|
|
4486
4498
|
loading: l.loading,
|
|
4487
4499
|
event: r.event,
|
|
@@ -4527,7 +4539,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4527
4539
|
]),
|
|
4528
4540
|
e("dl", Ji, [
|
|
4529
4541
|
e("dd", Wi, [
|
|
4530
|
-
(s(!0), n(
|
|
4542
|
+
(s(!0), n(_, null, $(l.tags, (r, o) => (s(), k(U, {
|
|
4531
4543
|
key: o,
|
|
4532
4544
|
loading: !1,
|
|
4533
4545
|
event: r.event,
|
|
@@ -4709,12 +4721,12 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4709
4721
|
]),
|
|
4710
4722
|
_: 1
|
|
4711
4723
|
}),
|
|
4712
|
-
r.value.length > 0 ? (s(),
|
|
4724
|
+
r.value.length > 0 ? (s(), k(c(Fe), {
|
|
4713
4725
|
key: 0,
|
|
4714
4726
|
class: "absolute z-10 mt-1 max-h-60 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"
|
|
4715
4727
|
}, {
|
|
4716
4728
|
default: v(() => [
|
|
4717
|
-
(s(!0), n(
|
|
4729
|
+
(s(!0), n(_, null, $(r.value, (y) => (s(), k(c(qe), {
|
|
4718
4730
|
key: y.id,
|
|
4719
4731
|
value: y,
|
|
4720
4732
|
as: "template"
|
|
@@ -4752,7 +4764,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4752
4764
|
]), 512), [
|
|
4753
4765
|
[D, u.topbar.alerted]
|
|
4754
4766
|
]),
|
|
4755
|
-
p(c(
|
|
4767
|
+
p(c(jt), {
|
|
4756
4768
|
class: "h-6 w-6",
|
|
4757
4769
|
"aria-hidden": "true"
|
|
4758
4770
|
})
|
|
@@ -4794,7 +4806,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4794
4806
|
default: v(() => [
|
|
4795
4807
|
p(c(xe), { class: "absolute right-0 z-10 mt-2.5 w-52 origin-top-right rounded-md bg-white py-2 shadow-lg ring-1 ring-gray-900/5 focus:outline-none" }, {
|
|
4796
4808
|
default: v(() => [
|
|
4797
|
-
(s(!0), n(
|
|
4809
|
+
(s(!0), n(_, null, $(u.topbar.profileMenu, (y) => (s(), k(c(ke), {
|
|
4798
4810
|
key: y.name
|
|
4799
4811
|
}, {
|
|
4800
4812
|
default: v(({ active: w }) => [
|
|
@@ -4833,11 +4845,11 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4833
4845
|
},
|
|
4834
4846
|
setup(m) {
|
|
4835
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());
|
|
4836
|
-
return
|
|
4848
|
+
return lt(() => a.value += 1), (o, t) => (s(), n("div", {
|
|
4837
4849
|
class: h([r.value, "grid grid-cols-1 md:grid-cols-2 gap-4"]),
|
|
4838
4850
|
key: a.value
|
|
4839
4851
|
}, [
|
|
4840
|
-
(s(!0), n(
|
|
4852
|
+
(s(!0), n(_, null, $(o.dynamicStats, (d, u) => (s(), k(tt, {
|
|
4841
4853
|
key: u,
|
|
4842
4854
|
item: d,
|
|
4843
4855
|
loading: o.loading
|
|
@@ -4853,7 +4865,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4853
4865
|
},
|
|
4854
4866
|
emits: ["smartFilterSelected", "smartInputChanged", "smartSelectChanged", "smartOptionSelected", "rightAddOnClicked"],
|
|
4855
4867
|
setup(m, { emit: i }) {
|
|
4856
|
-
const l = m, a = i, r =
|
|
4868
|
+
const l = m, a = i, r = rt(E), o = N(l.items[0].props), t = (d) => {
|
|
4857
4869
|
switch (d.type) {
|
|
4858
4870
|
case "uiInput":
|
|
4859
4871
|
r.value = E;
|
|
@@ -4862,18 +4874,18 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4862
4874
|
r.value = fe;
|
|
4863
4875
|
break;
|
|
4864
4876
|
case "uiSelect":
|
|
4865
|
-
r.value =
|
|
4877
|
+
r.value = Qe;
|
|
4866
4878
|
break;
|
|
4867
4879
|
}
|
|
4868
4880
|
o.value = d.props;
|
|
4869
4881
|
};
|
|
4870
4882
|
return (d, u) => (s(), n("div", wd, [
|
|
4871
|
-
p(
|
|
4883
|
+
p(Ke, {
|
|
4872
4884
|
items: d.items,
|
|
4873
4885
|
loading: d.loading,
|
|
4874
4886
|
onFilterSelected: t
|
|
4875
4887
|
}, null, 8, ["items", "loading"]),
|
|
4876
|
-
(s(),
|
|
4888
|
+
(s(), k(Oe(r.value), nt({ class: "w-full mt-2 lg:mt-0 lg:mx-2 lg:grow" }, o.value, {
|
|
4877
4889
|
loading: !1,
|
|
4878
4890
|
onInputChanged: u[0] || (u[0] = (f) => a("smartInputChanged", f)),
|
|
4879
4891
|
onSelectChanged: u[1] || (u[1] = (f) => a("smartSelectChanged", f)),
|
|
@@ -4929,7 +4941,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4929
4941
|
"aria-hidden": "true",
|
|
4930
4942
|
class: "-mr-1 ml-2 h-5 w-5 text-gray-300 dark:text-gray-400"
|
|
4931
4943
|
})
|
|
4932
|
-
])) : (s(),
|
|
4944
|
+
])) : (s(), k(c(ct), {
|
|
4933
4945
|
key: 0,
|
|
4934
4946
|
modelValue: c(r),
|
|
4935
4947
|
"onUpdate:modelValue": [
|
|
@@ -4943,7 +4955,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4943
4955
|
}, {
|
|
4944
4956
|
default: v(() => [
|
|
4945
4957
|
e("div", kd, [
|
|
4946
|
-
p(c(
|
|
4958
|
+
p(c(gt), { class: "block text-sm font-medium" }, {
|
|
4947
4959
|
default: v(() => [
|
|
4948
4960
|
L(g(d.label), 1)
|
|
4949
4961
|
]),
|
|
@@ -4952,7 +4964,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4952
4964
|
d.requiredText ? (s(), n("span", _d, g(d.requiredText), 1)) : b("", !0)
|
|
4953
4965
|
]),
|
|
4954
4966
|
e("div", $d, [
|
|
4955
|
-
p(c(
|
|
4967
|
+
p(c(pt), {
|
|
4956
4968
|
class: h([{
|
|
4957
4969
|
"mt-1": d.requiredText || d.label,
|
|
4958
4970
|
"border-gray-300": d.color === "gray",
|
|
@@ -4971,7 +4983,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
4971
4983
|
default: v(() => [
|
|
4972
4984
|
e("span", Cd, [
|
|
4973
4985
|
c(r).length === 0 ? (s(), n("span", Sd, "...")) : b("", !0),
|
|
4974
|
-
(s(!0), n(
|
|
4986
|
+
(s(!0), n(_, null, $(c(r), (f) => (s(), n("span", {
|
|
4975
4987
|
key: f.id,
|
|
4976
4988
|
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"
|
|
4977
4989
|
}, [
|
|
@@ -5012,9 +5024,9 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
5012
5024
|
_: 1
|
|
5013
5025
|
}, 8, ["class"]),
|
|
5014
5026
|
e("div", Md, [
|
|
5015
|
-
p(c(
|
|
5027
|
+
p(c(mt), { 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" }, {
|
|
5016
5028
|
default: v(() => [
|
|
5017
|
-
(s(!0), n(
|
|
5029
|
+
(s(!0), n(_, null, $(d.items, (f) => (s(), k(c(ft), {
|
|
5018
5030
|
key: f.id,
|
|
5019
5031
|
value: f,
|
|
5020
5032
|
as: "template"
|
|
@@ -5079,7 +5091,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
5079
5091
|
uiDragAndDrop: _i,
|
|
5080
5092
|
uiDropdown: fe,
|
|
5081
5093
|
uiDynamicStats: bd,
|
|
5082
|
-
uiFilter:
|
|
5094
|
+
uiFilter: Ke,
|
|
5083
5095
|
uiFooter: or,
|
|
5084
5096
|
uiFunnelChartV2: Ra,
|
|
5085
5097
|
uiGallery: fi,
|
|
@@ -5087,7 +5099,7 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
5087
5099
|
uiInput: E,
|
|
5088
5100
|
uiInputFile: cs,
|
|
5089
5101
|
uiLoadingScreen: lr,
|
|
5090
|
-
uiModal:
|
|
5102
|
+
uiModal: Xe,
|
|
5091
5103
|
uiNoResults: Ja,
|
|
5092
5104
|
uiNotification: yo,
|
|
5093
5105
|
uiPagination: vr,
|
|
@@ -5095,12 +5107,12 @@ const or = /* @__PURE__ */ te(er, [["render", sr]]), lr = /* @__PURE__ */ M({
|
|
|
5095
5107
|
uiRangeSlider: qi,
|
|
5096
5108
|
uiRightSidebar: ri,
|
|
5097
5109
|
uiSectionTitle: Ui,
|
|
5098
|
-
uiSelect:
|
|
5110
|
+
uiSelect: Qe,
|
|
5099
5111
|
uiSelectMultiple: jd,
|
|
5100
5112
|
uiSidebar: Tr,
|
|
5101
5113
|
uiSidebarV2: he,
|
|
5102
5114
|
uiSmartFilter: xd,
|
|
5103
|
-
uiStats:
|
|
5115
|
+
uiStats: tt,
|
|
5104
5116
|
uiStripedCard: fn,
|
|
5105
5117
|
uiTable: Yn,
|
|
5106
5118
|
uiTabs: Hn,
|
|
@@ -5153,7 +5165,7 @@ export {
|
|
|
5153
5165
|
_i as uiDragAndDrop,
|
|
5154
5166
|
fe as uiDropdown,
|
|
5155
5167
|
bd as uiDynamicStats,
|
|
5156
|
-
|
|
5168
|
+
Ke as uiFilter,
|
|
5157
5169
|
or as uiFooter,
|
|
5158
5170
|
Ra as uiFunnelChartV2,
|
|
5159
5171
|
fi as uiGallery,
|
|
@@ -5161,7 +5173,7 @@ export {
|
|
|
5161
5173
|
E as uiInput,
|
|
5162
5174
|
cs as uiInputFile,
|
|
5163
5175
|
lr as uiLoadingScreen,
|
|
5164
|
-
|
|
5176
|
+
Xe as uiModal,
|
|
5165
5177
|
Ja as uiNoResults,
|
|
5166
5178
|
yo as uiNotification,
|
|
5167
5179
|
vr as uiPagination,
|
|
@@ -5169,12 +5181,12 @@ export {
|
|
|
5169
5181
|
qi as uiRangeSlider,
|
|
5170
5182
|
ri as uiRightSidebar,
|
|
5171
5183
|
Ui as uiSectionTitle,
|
|
5172
|
-
|
|
5184
|
+
Qe as uiSelect,
|
|
5173
5185
|
jd as uiSelectMultiple,
|
|
5174
5186
|
Tr as uiSidebar,
|
|
5175
5187
|
he as uiSidebarV2,
|
|
5176
5188
|
xd as uiSmartFilter,
|
|
5177
|
-
|
|
5189
|
+
tt as uiStats,
|
|
5178
5190
|
fn as uiStripedCard,
|
|
5179
5191
|
Yn as uiTable,
|
|
5180
5192
|
Hn as uiTabs,
|