@hotelinking/ui 16.45.0 → 16.45.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.es.js +642 -653
- package/package.json +9 -9
package/dist/ui.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as B, createBlock as k, createElementBlock as a, openBlock as l, resolveDynamicComponent as $e, normalizeClass as
|
|
2
|
-
import { Menu as Pe, MenuButton as Oe, MenuItems as Ne, MenuItem as Ie, Combobox as tt, ComboboxLabel as lt, ComboboxInput as at, ComboboxButton as st, ComboboxOptions as nt, ComboboxOption as ot, SwitchGroup as
|
|
1
|
+
import { defineComponent as B, createBlock as k, createElementBlock as a, openBlock as l, resolveDynamicComponent as $e, normalizeClass as b, computed as z, createCommentVNode as x, renderSlot as _, createElementVNode as t, ref as I, watch as W, unref as m, withCtx as h, createVNode as g, toDisplayString as c, createTextVNode as M, Transition as ge, Fragment as $, renderList as S, withDirectives as j, vModelDynamic as Et, vShow as A, withModifiers as je, vModelText as ce, createStaticVNode as ae, resolveComponent as Ee, vModelCheckbox as Xe, onMounted as Le, mergeProps as Fe, reactive as me, normalizeStyle as _t, TransitionGroup as Zt, isRef as et } from "vue";
|
|
2
|
+
import { Menu as Pe, MenuButton as Oe, MenuItems as Ne, MenuItem as Ie, Combobox as tt, ComboboxLabel as lt, ComboboxInput as at, ComboboxButton as st, ComboboxOptions as nt, ComboboxOption as ot, SwitchGroup as Wt, Switch as Jt, SwitchLabel as Gt, TransitionRoot as Ve, Dialog as qe, TransitionChild as ie, DialogPanel as Ye, DialogTitle as it, Disclosure as Ce, DisclosureButton as le, DisclosurePanel as Se, Popover as Qt, PopoverButton as Kt, PopoverPanel as Xt, Listbox as el, ListboxLabel as tl, ListboxButton as ll, ListboxOptions as al, ListboxOption as sl } from "@headlessui/vue";
|
|
3
3
|
import R from "dayjs";
|
|
4
4
|
import nl from "@vueform/slider";
|
|
5
5
|
const F = /* @__PURE__ */ B({
|
|
@@ -13,7 +13,7 @@ const F = /* @__PURE__ */ B({
|
|
|
13
13
|
setup(e) {
|
|
14
14
|
return (u, i) => e.loading ? (l(), a("div", {
|
|
15
15
|
key: 1,
|
|
16
|
-
class:
|
|
16
|
+
class: b([{
|
|
17
17
|
"h-4 w-4": e.size === "medium",
|
|
18
18
|
"h-6 w-6": e.size === "big",
|
|
19
19
|
"h-8 w-8": e.size === "bigger",
|
|
@@ -22,7 +22,7 @@ const F = /* @__PURE__ */ B({
|
|
|
22
22
|
}, "animate-pulse rounded-full bg-gray-200 dark:bg-gray-300"])
|
|
23
23
|
}, null, 2)) : (l(), k($e(e.icon), {
|
|
24
24
|
key: 0,
|
|
25
|
-
class:
|
|
25
|
+
class: b({
|
|
26
26
|
"h-4 w-4": e.size === "medium",
|
|
27
27
|
"h-6 w-6": e.size === "big",
|
|
28
28
|
"h-8 w-8": e.size === "bigger",
|
|
@@ -38,7 +38,7 @@ const F = /* @__PURE__ */ B({
|
|
|
38
38
|
})
|
|
39
39
|
}, null, 8, ["class"]));
|
|
40
40
|
}
|
|
41
|
-
}), ol = ["disabled"], il = "group inline-flex items-center border border-transparent font-medium focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:opacity-25 text-nowrap",
|
|
41
|
+
}), ol = ["disabled"], il = "group inline-flex items-center border border-transparent font-medium focus:outline-none focus:ring-2 focus:ring-offset-2 disabled:opacity-25 text-nowrap", J = /* @__PURE__ */ B({
|
|
42
42
|
__name: "uiButton",
|
|
43
43
|
props: {
|
|
44
44
|
block: { type: Boolean },
|
|
@@ -67,7 +67,7 @@ const F = /* @__PURE__ */ B({
|
|
|
67
67
|
].join(" "));
|
|
68
68
|
return (n, d) => e.loading ? (l(), a("button", {
|
|
69
69
|
key: 1,
|
|
70
|
-
class:
|
|
70
|
+
class: b(r.value),
|
|
71
71
|
type: "button"
|
|
72
72
|
}, [
|
|
73
73
|
e.icon ? (l(), k(F, {
|
|
@@ -81,7 +81,7 @@ const F = /* @__PURE__ */ B({
|
|
|
81
81
|
], 2)) : (l(), a("button", {
|
|
82
82
|
key: 0,
|
|
83
83
|
disabled: e.disabled,
|
|
84
|
-
class:
|
|
84
|
+
class: b(s.value),
|
|
85
85
|
type: "button"
|
|
86
86
|
}, [
|
|
87
87
|
e.icon ? (l(), k(F, {
|
|
@@ -91,7 +91,7 @@ const F = /* @__PURE__ */ B({
|
|
|
91
91
|
color: "black",
|
|
92
92
|
loading: e.loading
|
|
93
93
|
}, null, 8, ["icon", "loading"])) : x("", !0),
|
|
94
|
-
|
|
94
|
+
_(n.$slots, "default")
|
|
95
95
|
], 10, ol));
|
|
96
96
|
}
|
|
97
97
|
}), rl = {
|
|
@@ -114,7 +114,7 @@ const F = /* @__PURE__ */ B({
|
|
|
114
114
|
const i = u, o = e, s = I(o.check), r = () => {
|
|
115
115
|
o.disabled || (s.value = !s.value, i("checkboxChanged", { checked: s.value, value: o.value }));
|
|
116
116
|
};
|
|
117
|
-
return
|
|
117
|
+
return W(() => o.check, (n) => {
|
|
118
118
|
n && (s.value = n);
|
|
119
119
|
}), (n, d) => e.loading ? (l(), a("div", ml, [...d[1] || (d[1] = [
|
|
120
120
|
t("div", { class: "w-5 h-5 rounded bg-gray-200" }, null, -1),
|
|
@@ -132,7 +132,7 @@ const F = /* @__PURE__ */ B({
|
|
|
132
132
|
]),
|
|
133
133
|
t("div", ul, [
|
|
134
134
|
t("span", gl, [
|
|
135
|
-
|
|
135
|
+
_(n.$slots, "default")
|
|
136
136
|
])
|
|
137
137
|
])
|
|
138
138
|
]));
|
|
@@ -393,7 +393,7 @@ function gt(e, u) {
|
|
|
393
393
|
})
|
|
394
394
|
]);
|
|
395
395
|
}
|
|
396
|
-
function
|
|
396
|
+
function _e(e, u) {
|
|
397
397
|
return l(), a("svg", {
|
|
398
398
|
xmlns: "http://www.w3.org/2000/svg",
|
|
399
399
|
fill: "none",
|
|
@@ -635,12 +635,12 @@ const Bl = {
|
|
|
635
635
|
])) : (l(), k(m(Pe), {
|
|
636
636
|
key: 0,
|
|
637
637
|
as: "div",
|
|
638
|
-
class:
|
|
638
|
+
class: b(["relative text-left", { "opacity-25": e.disabled }])
|
|
639
639
|
}, {
|
|
640
640
|
default: h(() => [
|
|
641
641
|
t("div", null, [
|
|
642
642
|
t("div", {
|
|
643
|
-
class:
|
|
643
|
+
class: b(["flex justify-between sha items-center", { "mt-1": e.label }])
|
|
644
644
|
}, [
|
|
645
645
|
e.label ? (l(), a("label", Bl, c(e.label), 1)) : x("", !0),
|
|
646
646
|
e.requiredText ? (l(), a("span", Ml, c(e.requiredText), 1)) : x("", !0)
|
|
@@ -673,7 +673,7 @@ const Bl = {
|
|
|
673
673
|
default: h(() => [
|
|
674
674
|
e.disabled ? x("", !0) : (l(), k(m(Ne), {
|
|
675
675
|
key: 0,
|
|
676
|
-
class:
|
|
676
|
+
class: b([{
|
|
677
677
|
"right-0": e.position === "right",
|
|
678
678
|
"left-0": e.position === "left",
|
|
679
679
|
"bottom-10 mb-1.5 shadow-[0_-4px_10px_rgba(0,0,0,.1)] ": e.verticalPosition === "top",
|
|
@@ -686,7 +686,7 @@ const Bl = {
|
|
|
686
686
|
default: h(() => [
|
|
687
687
|
t("a", {
|
|
688
688
|
onClick: (p) => r(f),
|
|
689
|
-
class:
|
|
689
|
+
class: b([
|
|
690
690
|
f.active ? "bg-lime-400" : "text-black",
|
|
691
691
|
"block px-4 py-2 text-sm cursor-pointer"
|
|
692
692
|
])
|
|
@@ -740,7 +740,7 @@ const Bl = {
|
|
|
740
740
|
emits: ["inputChanged", "rightAddOnClicked", "addOnClicked"],
|
|
741
741
|
setup(e, { emit: u }) {
|
|
742
742
|
const i = u, o = e, s = I(o.value);
|
|
743
|
-
|
|
743
|
+
W(() => o.value, (n) => {
|
|
744
744
|
s.value = n, s.value && i("inputChanged", { name: o.name, value: s.value });
|
|
745
745
|
});
|
|
746
746
|
const r = (n) => {
|
|
@@ -757,7 +757,7 @@ const Bl = {
|
|
|
757
757
|
e.requiredText ? (l(), a("span", Fl, c(e.requiredText), 1)) : x("", !0)
|
|
758
758
|
]),
|
|
759
759
|
t("div", {
|
|
760
|
-
class:
|
|
760
|
+
class: b([{ "mt-1": e.label }, "relative flex"])
|
|
761
761
|
}, [
|
|
762
762
|
e.addOn ? (l(), a("span", {
|
|
763
763
|
key: 0,
|
|
@@ -767,7 +767,7 @@ const Bl = {
|
|
|
767
767
|
j(t("input", {
|
|
768
768
|
"onUpdate:modelValue": d[1] || (d[1] = (f) => s.value = f),
|
|
769
769
|
max: e.max,
|
|
770
|
-
class:
|
|
770
|
+
class: b([{
|
|
771
771
|
"border-gray-300": e.color === "gray",
|
|
772
772
|
"border-red-600": e.color === "red",
|
|
773
773
|
"border-yellow-400": e.color === "yellow",
|
|
@@ -827,7 +827,7 @@ const Bl = {
|
|
|
827
827
|
])
|
|
828
828
|
], 2),
|
|
829
829
|
j(t("p", {
|
|
830
|
-
class:
|
|
830
|
+
class: b([{
|
|
831
831
|
"text-gray-400": e.color === "gray",
|
|
832
832
|
"text-red-600": e.color === "red",
|
|
833
833
|
"text-yellow-400": e.color === "yellow",
|
|
@@ -844,7 +844,7 @@ const Bl = {
|
|
|
844
844
|
}, Rl = {
|
|
845
845
|
key: 1,
|
|
846
846
|
class: "place-self-center text-[10px] uppercase"
|
|
847
|
-
}, Hl = { class: "space-y-1 flex flex-col items-center justify-center" }, Ul = { class: "flex text-sm flex-col sm:flex-row text-center" }, El = ["for"],
|
|
847
|
+
}, Hl = { class: "space-y-1 flex flex-col items-center justify-center" }, Ul = { class: "flex text-sm flex-col sm:flex-row text-center" }, El = ["for"], _l = ["id", "name", "accept"], Zl = { class: "pl-1" }, Wl = { class: "text-xs pb-4" }, Jl = { class: "mt-2 text-xs flex flex-row items-center text-red-600" }, Gl = {
|
|
848
848
|
key: 1,
|
|
849
849
|
class: "animate-pulse"
|
|
850
850
|
}, ze = /* @__PURE__ */ B({
|
|
@@ -888,7 +888,7 @@ const Bl = {
|
|
|
888
888
|
e.requiredText ? (l(), a("span", Rl, c(e.requiredText), 1)) : x("", !0)
|
|
889
889
|
]),
|
|
890
890
|
t("div", {
|
|
891
|
-
class:
|
|
891
|
+
class: b([
|
|
892
892
|
[
|
|
893
893
|
{ "mt-1": e.label },
|
|
894
894
|
{ "border-gray-300 hover:border-lime-400": !e.error },
|
|
@@ -923,17 +923,17 @@ const Bl = {
|
|
|
923
923
|
accept: e.accept,
|
|
924
924
|
multiple: "",
|
|
925
925
|
onChange: n
|
|
926
|
-
}, null, 40,
|
|
926
|
+
}, null, 40, _l)
|
|
927
927
|
], 8, El),
|
|
928
|
-
t("p",
|
|
928
|
+
t("p", Zl, c(e.dragAndDrop), 1)
|
|
929
929
|
]),
|
|
930
|
-
t("p",
|
|
930
|
+
t("p", Wl, c(e.fileTypesAndSizes), 1),
|
|
931
931
|
j(t("p", { class: "font-bold text-xs uppercase block p-2 bg-lime-50 rounded" }, c(m(i)), 513), [
|
|
932
932
|
[A, m(i) !== null]
|
|
933
933
|
])
|
|
934
934
|
])
|
|
935
935
|
], 34),
|
|
936
|
-
j(t("p",
|
|
936
|
+
j(t("p", Jl, [
|
|
937
937
|
g(F, {
|
|
938
938
|
icon: m(Be),
|
|
939
939
|
color: "red",
|
|
@@ -1009,7 +1009,7 @@ const Bl = {
|
|
|
1009
1009
|
onChange: C[0] || (C[0] = (Y) => o.value = Y.target.value),
|
|
1010
1010
|
onBlur: C[1] || (C[1] = (Y) => o.value = ""),
|
|
1011
1011
|
displayValue: d,
|
|
1012
|
-
class:
|
|
1012
|
+
class: b([{
|
|
1013
1013
|
"mt-1": e.requiredText || e.label,
|
|
1014
1014
|
"border-gray-300": e.color === "gray",
|
|
1015
1015
|
"border-red-600": e.color === "red",
|
|
@@ -1045,17 +1045,17 @@ const Bl = {
|
|
|
1045
1045
|
}, {
|
|
1046
1046
|
default: h(({ active: U, selected: T }) => [
|
|
1047
1047
|
t("li", {
|
|
1048
|
-
class:
|
|
1048
|
+
class: b([
|
|
1049
1049
|
"relative cursor-default select-none py-2 pl-3 pr-9",
|
|
1050
1050
|
U ? "bg-indigo-600 text-white" : "text-gray-900"
|
|
1051
1051
|
])
|
|
1052
1052
|
}, [
|
|
1053
1053
|
t("span", {
|
|
1054
|
-
class:
|
|
1054
|
+
class: b(["block truncate", T && "font-semibold"])
|
|
1055
1055
|
}, c(Y.name), 3),
|
|
1056
1056
|
T ? (l(), a("span", {
|
|
1057
1057
|
key: 0,
|
|
1058
|
-
class:
|
|
1058
|
+
class: b([
|
|
1059
1059
|
"absolute inset-y-0 right-0 flex items-center pr-4",
|
|
1060
1060
|
U ? "text-white" : "text-indigo-600"
|
|
1061
1061
|
])
|
|
@@ -1075,7 +1075,7 @@ const Bl = {
|
|
|
1075
1075
|
})) : x("", !0)
|
|
1076
1076
|
]),
|
|
1077
1077
|
j(t("p", {
|
|
1078
|
-
class:
|
|
1078
|
+
class: b([{
|
|
1079
1079
|
"text-gray-400": e.color === "gray",
|
|
1080
1080
|
"text-red-600": e.color === "red",
|
|
1081
1081
|
"text-yellow-400": e.color === "yellow",
|
|
@@ -1165,10 +1165,10 @@ const sa = { class: "flex justify-between" }, na = {
|
|
|
1165
1165
|
e.requiredText ? (l(), a("span", na, c(e.requiredText), 1)) : x("", !0)
|
|
1166
1166
|
]),
|
|
1167
1167
|
t("div", {
|
|
1168
|
-
class:
|
|
1168
|
+
class: b([{ "mt-1": e.label }, "relative"])
|
|
1169
1169
|
}, [
|
|
1170
1170
|
g(m(at), {
|
|
1171
|
-
class:
|
|
1171
|
+
class: b([{
|
|
1172
1172
|
// Estilos condicionales basados en props
|
|
1173
1173
|
"!border-transparent !shadow-none": e.isWrapped,
|
|
1174
1174
|
// Sin borde si está envuelto
|
|
@@ -1214,14 +1214,14 @@ const sa = { class: "flex justify-between" }, na = {
|
|
|
1214
1214
|
}, {
|
|
1215
1215
|
default: h(({ active: C, selected: Y }) => [
|
|
1216
1216
|
t("li", {
|
|
1217
|
-
class:
|
|
1217
|
+
class: b(["relative cursor-default select-none py-2 pl-3 pr-9", C ? "bg-lime-400 outline-none" : "text-gray-900"])
|
|
1218
1218
|
}, [
|
|
1219
1219
|
t("span", {
|
|
1220
|
-
class:
|
|
1220
|
+
class: b(["block truncate", Y && "font-semibold"])
|
|
1221
1221
|
}, c(p.label || p.name), 3),
|
|
1222
1222
|
Y ? (l(), a("span", {
|
|
1223
1223
|
key: 0,
|
|
1224
|
-
class:
|
|
1224
|
+
class: b(["absolute inset-y-0 right-0 flex items-center pr-4", C ? "text-black" : "text-lime-400"])
|
|
1225
1225
|
}, [
|
|
1226
1226
|
g(m(la), {
|
|
1227
1227
|
class: "size-5",
|
|
@@ -1237,7 +1237,7 @@ const sa = { class: "flex justify-between" }, na = {
|
|
|
1237
1237
|
})) : x("", !0)
|
|
1238
1238
|
], 2),
|
|
1239
1239
|
j(t("p", {
|
|
1240
|
-
class:
|
|
1240
|
+
class: b([{
|
|
1241
1241
|
// Colores de texto de error según la prop color
|
|
1242
1242
|
"text-gray-400": e.color === "gray",
|
|
1243
1243
|
"text-red-600": e.color === "red",
|
|
@@ -1274,7 +1274,7 @@ const sa = { class: "flex justify-between" }, na = {
|
|
|
1274
1274
|
])])) : (l(), a("span", {
|
|
1275
1275
|
key: 0,
|
|
1276
1276
|
onClick: s,
|
|
1277
|
-
class:
|
|
1277
|
+
class: b([{
|
|
1278
1278
|
"bg-lime-100 text-black border border-lime-200": e.color === "primary",
|
|
1279
1279
|
"hover:bg-indigo-200 cursor-pointer": e.event !== void 0 && e.color === "primary",
|
|
1280
1280
|
"bg-red-100 text-red-800 border border-red-200": e.color === "red",
|
|
@@ -1291,7 +1291,7 @@ const sa = { class: "flex justify-between" }, na = {
|
|
|
1291
1291
|
"px-4 py-3": e.size === "big"
|
|
1292
1292
|
}, "inline-flex items-center rounded text-xs font-medium leading-none"])
|
|
1293
1293
|
}, [
|
|
1294
|
-
|
|
1294
|
+
_(r.$slots, "default")
|
|
1295
1295
|
], 2));
|
|
1296
1296
|
}
|
|
1297
1297
|
}), ia = { key: 0 }, ra = { class: "flex justify-between" }, da = {
|
|
@@ -1322,7 +1322,7 @@ const sa = { class: "flex justify-between" }, na = {
|
|
|
1322
1322
|
const i = u, o = e, s = (n) => {
|
|
1323
1323
|
i("inputChanged", n.target.value);
|
|
1324
1324
|
}, r = I(o.value);
|
|
1325
|
-
return
|
|
1325
|
+
return W(() => o.value, (n) => {
|
|
1326
1326
|
r.value = n, i("inputChanged", { name: o.name, value: r.value });
|
|
1327
1327
|
}), (n, d) => e.loading ? (l(), a("div", ga, [...d[1] || (d[1] = [
|
|
1328
1328
|
t("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),
|
|
@@ -1333,14 +1333,14 @@ const sa = { class: "flex justify-between" }, na = {
|
|
|
1333
1333
|
e.requiredText ? (l(), a("span", ca, c(e.requiredText), 1)) : x("", !0)
|
|
1334
1334
|
]),
|
|
1335
1335
|
t("div", {
|
|
1336
|
-
class:
|
|
1336
|
+
class: b({ "mt-1": e.label })
|
|
1337
1337
|
}, [
|
|
1338
1338
|
j(t("textarea", {
|
|
1339
1339
|
disabled: e.disabled,
|
|
1340
1340
|
rows: "4",
|
|
1341
1341
|
"onUpdate:modelValue": d[0] || (d[0] = (f) => r.value = f),
|
|
1342
1342
|
placeholder: e.placeholder,
|
|
1343
|
-
class:
|
|
1343
|
+
class: b(["shadow-sm focus:ring-lime-400 focus:border-lime-400 block w-full sm:text-sm rounded-md", {
|
|
1344
1344
|
"border-gray-300": e.color === "gray",
|
|
1345
1345
|
"border-black": e.color === "black",
|
|
1346
1346
|
"border-red-600": e.color === "red",
|
|
@@ -1358,7 +1358,7 @@ const sa = { class: "flex justify-between" }, na = {
|
|
|
1358
1358
|
])
|
|
1359
1359
|
], 2),
|
|
1360
1360
|
j(t("p", {
|
|
1361
|
-
class:
|
|
1361
|
+
class: b([{
|
|
1362
1362
|
"text-gray-300": e.color === "gray",
|
|
1363
1363
|
"text-red-600": e.color === "red",
|
|
1364
1364
|
"text-yellow-400": e.color === "yellow",
|
|
@@ -1394,23 +1394,23 @@ const sa = { class: "flex justify-between" }, na = {
|
|
|
1394
1394
|
emits: ["toggleChanged", "actionClicked"],
|
|
1395
1395
|
setup(e, { emit: u }) {
|
|
1396
1396
|
const i = e, o = I(i.checked);
|
|
1397
|
-
return
|
|
1397
|
+
return W(() => i.checked, (s) => o.value = s), (s, r) => e.loading ? (l(), a("div", ya, [...r[3] || (r[3] = [
|
|
1398
1398
|
t("div", { class: "relative bg-gray-200 rounded-full w-12 h-6 p-1 flex items-center" }, [
|
|
1399
1399
|
t("div", { class: "rounded-full bg-gray-300 dark:bg-gray-400 h-4 w-4" })
|
|
1400
1400
|
], -1),
|
|
1401
1401
|
t("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-16 ml-2" }, null, -1)
|
|
1402
|
-
])])) : (l(), k(m(
|
|
1402
|
+
])])) : (l(), k(m(Wt), {
|
|
1403
1403
|
key: 0,
|
|
1404
1404
|
as: "div",
|
|
1405
1405
|
class: "flex items-center relative"
|
|
1406
1406
|
}, {
|
|
1407
1407
|
default: h(() => [
|
|
1408
|
-
g(m(
|
|
1408
|
+
g(m(Jt), {
|
|
1409
1409
|
disabled: e.disabled,
|
|
1410
1410
|
onClick: r[0] || (r[0] = (n) => s.$emit("toggleChanged", { item: e.item, active: !o.value })),
|
|
1411
1411
|
modelValue: o.value,
|
|
1412
1412
|
"onUpdate:modelValue": r[1] || (r[1] = (n) => o.value = n),
|
|
1413
|
-
class:
|
|
1413
|
+
class: b([
|
|
1414
1414
|
o.value ? "bg-lime-400" : "bg-black",
|
|
1415
1415
|
e.disabled ? "!bg-gray-100" : "",
|
|
1416
1416
|
"relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none focus:ring-2 focus:ring-lime-400 focus:ring-offset-2"
|
|
@@ -1419,7 +1419,7 @@ const sa = { class: "flex justify-between" }, na = {
|
|
|
1419
1419
|
default: h(() => [
|
|
1420
1420
|
t("span", {
|
|
1421
1421
|
"aria-hidden": "true",
|
|
1422
|
-
class:
|
|
1422
|
+
class: b([
|
|
1423
1423
|
o.value ? "translate-x-5" : "translate-x-0",
|
|
1424
1424
|
e.disabled ? "bg-gray-300" : "",
|
|
1425
1425
|
"pointer-events-none inline-block h-5 w-5 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out"
|
|
@@ -1494,7 +1494,7 @@ const sa = { class: "flex justify-between" }, na = {
|
|
|
1494
1494
|
}),
|
|
1495
1495
|
t("span", {
|
|
1496
1496
|
onClick: (n) => i.$emit("breadCrumbClicked", s.routeName),
|
|
1497
|
-
class:
|
|
1497
|
+
class: b(["cursor-pointer ml-4 text-xs text-black", { "hover:text-lime-400 underline": !s.current }]),
|
|
1498
1498
|
"aria-current": "page"
|
|
1499
1499
|
}, c(s.name), 11, $a)
|
|
1500
1500
|
]))
|
|
@@ -1553,7 +1553,7 @@ const sa = { class: "flex justify-between" }, na = {
|
|
|
1553
1553
|
e.subtitle ? (l(), a("h3", Aa, c(e.subtitle), 1)) : x("", !0),
|
|
1554
1554
|
e.description ? (l(), a("p", La, c(e.description), 1)) : x("", !0)
|
|
1555
1555
|
])) : x("", !0),
|
|
1556
|
-
e.buttonText ? (l(), k(
|
|
1556
|
+
e.buttonText ? (l(), k(J, {
|
|
1557
1557
|
key: 1,
|
|
1558
1558
|
class: "mb-12 lg:mb-0",
|
|
1559
1559
|
loading: e.buttonLoading,
|
|
@@ -1593,7 +1593,7 @@ const sa = { class: "flex justify-between" }, na = {
|
|
|
1593
1593
|
ae('<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)
|
|
1594
1594
|
])])) : (l(), a("div", Oa, [
|
|
1595
1595
|
t("div", {
|
|
1596
|
-
class:
|
|
1596
|
+
class: b([{
|
|
1597
1597
|
"bg-lime-50 border-lime-400": e.type === "info",
|
|
1598
1598
|
"bg-red-50 border-red-600": e.type === "danger",
|
|
1599
1599
|
"bg-yellow-50 border-yellow-400": e.type === "warning",
|
|
@@ -1625,20 +1625,20 @@ const sa = { class: "flex justify-between" }, na = {
|
|
|
1625
1625
|
]),
|
|
1626
1626
|
t("div", Va, [
|
|
1627
1627
|
t("h3", {
|
|
1628
|
-
class:
|
|
1628
|
+
class: b([{
|
|
1629
1629
|
"text-red-800": e.type === "danger",
|
|
1630
1630
|
"text-yellow-800": e.type === "warning",
|
|
1631
1631
|
"text-green-800": e.type === "success"
|
|
1632
1632
|
}, "text-sm font-medium"])
|
|
1633
1633
|
}, c(e.title), 3),
|
|
1634
1634
|
t("div", {
|
|
1635
|
-
class:
|
|
1635
|
+
class: b([{
|
|
1636
1636
|
"text-red-700": e.type === "danger",
|
|
1637
1637
|
"text-yellow-700": e.type === "warning",
|
|
1638
1638
|
"text-green-700": e.type === "success"
|
|
1639
1639
|
}, "mt-2 text-sm"])
|
|
1640
1640
|
}, [
|
|
1641
|
-
|
|
1641
|
+
_(s.$slots, "default")
|
|
1642
1642
|
], 2),
|
|
1643
1643
|
t("div", qa, [
|
|
1644
1644
|
t("div", Ya, [
|
|
@@ -1646,7 +1646,7 @@ const sa = { class: "flex justify-between" }, na = {
|
|
|
1646
1646
|
onClick: (f) => o(n),
|
|
1647
1647
|
type: "button",
|
|
1648
1648
|
key: d,
|
|
1649
|
-
class:
|
|
1649
|
+
class: b([
|
|
1650
1650
|
{
|
|
1651
1651
|
"bg-green-50 text-green-800 hover:bg-green-100 focus:ring-green-600 focus:ring-offset-green-50": e.type === "success",
|
|
1652
1652
|
"text-black hover:text-lime-400 focus:ring-lime-600 focus:ring-offset-lime-50": e.type === "info",
|
|
@@ -1663,7 +1663,7 @@ const sa = { class: "flex justify-between" }, na = {
|
|
|
1663
1663
|
], 2)
|
|
1664
1664
|
]));
|
|
1665
1665
|
}
|
|
1666
|
-
}), Ea = { class: "flex items-center flex-col sm:flex-row justify-center sm:justify-start" },
|
|
1666
|
+
}), Ea = { class: "flex items-center flex-col sm:flex-row justify-center sm:justify-start" }, _a = ["src"], Za = { class: "font-bold text-center sm:text-left" }, Wa = { class: "mt-1 text-xs text-center sm:text-left" }, Ja = {
|
|
1667
1667
|
key: 0,
|
|
1668
1668
|
class: "flex flex-wrap mt-4 justify-center sm:justify-start"
|
|
1669
1669
|
}, Ga = {
|
|
@@ -1692,13 +1692,13 @@ const sa = { class: "flex justify-between" }, na = {
|
|
|
1692
1692
|
t("img", {
|
|
1693
1693
|
class: "w-16 h-16 rounded-full mb-4 sm:mb-0 sm:mr-4",
|
|
1694
1694
|
src: e.logo
|
|
1695
|
-
}, null, 8,
|
|
1695
|
+
}, null, 8, _a),
|
|
1696
1696
|
t("div", null, [
|
|
1697
|
-
t("h4",
|
|
1698
|
-
t("p",
|
|
1697
|
+
t("h4", Za, c(e.name), 1),
|
|
1698
|
+
t("p", Wa, c(e.type), 1)
|
|
1699
1699
|
])
|
|
1700
1700
|
]),
|
|
1701
|
-
e.tags && e.tags?.length > 0 ? (l(), a("div",
|
|
1701
|
+
e.tags && e.tags?.length > 0 ? (l(), a("div", Ja, [
|
|
1702
1702
|
(l(!0), a($, null, S(e.tags, (s) => (l(), k(G, {
|
|
1703
1703
|
class: "mb-1 mr-1",
|
|
1704
1704
|
key: s.name,
|
|
@@ -1795,7 +1795,7 @@ const sa = { class: "flex justify-between" }, na = {
|
|
|
1795
1795
|
}, {
|
|
1796
1796
|
default: h(() => [
|
|
1797
1797
|
g(m(Ye), {
|
|
1798
|
-
class:
|
|
1798
|
+
class: b([{
|
|
1799
1799
|
"sm:my-8 w-full sm:w-9/12 md:w-2/3 lg:w-1/2": e.size === "big",
|
|
1800
1800
|
"w-full sm:my-8 sm:w-full sm:max-w-lg sm:p-6": e.size === "medium"
|
|
1801
1801
|
}, "relative transform rounded-lg bg-white px-4 pb-4 pt-5 text-left shadow-xl transition-all"])
|
|
@@ -1817,7 +1817,7 @@ const sa = { class: "flex justify-between" }, na = {
|
|
|
1817
1817
|
]),
|
|
1818
1818
|
t("div", ls, [
|
|
1819
1819
|
t("div", {
|
|
1820
|
-
class:
|
|
1820
|
+
class: b(["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", {
|
|
1821
1821
|
"bg-red-100": e.type === "danger",
|
|
1822
1822
|
"bg-green-100": e.type === "success",
|
|
1823
1823
|
"bg-lime-100": e.type === "default",
|
|
@@ -1860,7 +1860,7 @@ const sa = { class: "flex justify-between" }, na = {
|
|
|
1860
1860
|
_: 1
|
|
1861
1861
|
}),
|
|
1862
1862
|
t("div", ss, [
|
|
1863
|
-
|
|
1863
|
+
_(r.$slots, "default", { class: "break-words" })
|
|
1864
1864
|
]),
|
|
1865
1865
|
e.actions ? (l(), a("div", ns, [
|
|
1866
1866
|
(l(!0), a($, null, S(e.actions, (d, f) => (l(), a("button", {
|
|
@@ -1904,7 +1904,7 @@ const sa = { class: "flex justify-between" }, na = {
|
|
|
1904
1904
|
const i = e, o = z(() => i.show);
|
|
1905
1905
|
return (s, r) => (l(), a("div", {
|
|
1906
1906
|
"aria-live": "assertive",
|
|
1907
|
-
class:
|
|
1907
|
+
class: b([{ fixed: e.fixed }, "inset-0 flex items-end px-4 py-6 pointer-events-none sm:p-6 sm:items-start z-[9999]"])
|
|
1908
1908
|
}, [
|
|
1909
1909
|
t("div", is, [
|
|
1910
1910
|
g(ge, {
|
|
@@ -2001,7 +2001,7 @@ const sa = { class: "flex justify-between" }, na = {
|
|
|
2001
2001
|
t("div", xs, [
|
|
2002
2002
|
t("p", ps, c(o.name), 1),
|
|
2003
2003
|
t("p", {
|
|
2004
|
-
class:
|
|
2004
|
+
class: b([
|
|
2005
2005
|
{
|
|
2006
2006
|
"text-green-700 bg-green-50 ring-green-600/20": o.status === "Complete",
|
|
2007
2007
|
"text-gray-600 bg-gray-50 ring-gray-500/10": o.status === "In progress",
|
|
@@ -2031,9 +2031,9 @@ const sa = { class: "flex justify-between" }, na = {
|
|
|
2031
2031
|
function js(e) {
|
|
2032
2032
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
2033
2033
|
}
|
|
2034
|
-
var be = { exports: {} }, Ts = be.exports,
|
|
2034
|
+
var be = { exports: {} }, Ts = be.exports, Ze;
|
|
2035
2035
|
function Ds() {
|
|
2036
|
-
return
|
|
2036
|
+
return Ze || (Ze = 1, (function(e, u) {
|
|
2037
2037
|
(function(i, o) {
|
|
2038
2038
|
e.exports = o(R);
|
|
2039
2039
|
})(Ts, (function(i) {
|
|
@@ -2048,9 +2048,9 @@ function Ds() {
|
|
|
2048
2048
|
})(be)), be.exports;
|
|
2049
2049
|
}
|
|
2050
2050
|
Ds();
|
|
2051
|
-
var ve = { exports: {} }, zs = ve.exports,
|
|
2051
|
+
var ve = { exports: {} }, zs = ve.exports, We;
|
|
2052
2052
|
function As() {
|
|
2053
|
-
return
|
|
2053
|
+
return We || (We = 1, (function(e, u) {
|
|
2054
2054
|
(function(i, o) {
|
|
2055
2055
|
e.exports = o(R);
|
|
2056
2056
|
})(zs, (function(i) {
|
|
@@ -2070,9 +2070,9 @@ function As() {
|
|
|
2070
2070
|
})(ve)), ve.exports;
|
|
2071
2071
|
}
|
|
2072
2072
|
As();
|
|
2073
|
-
var xe = { exports: {} }, Ls = xe.exports,
|
|
2073
|
+
var xe = { exports: {} }, Ls = xe.exports, Je;
|
|
2074
2074
|
function Fs() {
|
|
2075
|
-
return
|
|
2075
|
+
return Je || (Je = 1, (function(e, u) {
|
|
2076
2076
|
(function(i, o) {
|
|
2077
2077
|
e.exports = o();
|
|
2078
2078
|
})(Ls, (function() {
|
|
@@ -2142,7 +2142,7 @@ function Rs(e, u, i, o, s, r) {
|
|
|
2142
2142
|
return l(), a("div", Is, [
|
|
2143
2143
|
t("div", Vs, [
|
|
2144
2144
|
t("div", {
|
|
2145
|
-
class:
|
|
2145
|
+
class: b([{
|
|
2146
2146
|
"bg-lime-400 text-black hover:text-white hover:bg-black cursor-pointer": r.currentDate > r.today,
|
|
2147
2147
|
"bg-lime-300": r.currentDate <= r.today
|
|
2148
2148
|
}, "previousYear flex items-center p-1 rounded mx-0.5 shadow-sm"]),
|
|
@@ -2153,7 +2153,7 @@ function Rs(e, u, i, o, s, r) {
|
|
|
2153
2153
|
g(n, { class: "h-4 -ml-3" })
|
|
2154
2154
|
], 2),
|
|
2155
2155
|
t("div", {
|
|
2156
|
-
class:
|
|
2156
|
+
class: b([{
|
|
2157
2157
|
"bg-lime-400 text-black hover:text-white hover:bg-black cursor-pointer": r.currentDate > r.today,
|
|
2158
2158
|
"bg-lime-300": r.currentDate <= r.today
|
|
2159
2159
|
}, "previousYear flex items-center p-1 rounded mx-0.5 shadow-sm"]),
|
|
@@ -2163,7 +2163,7 @@ function Rs(e, u, i, o, s, r) {
|
|
|
2163
2163
|
g(n, { class: "h-4 -ml-3" })
|
|
2164
2164
|
], 2),
|
|
2165
2165
|
t("div", {
|
|
2166
|
-
class:
|
|
2166
|
+
class: b([{
|
|
2167
2167
|
"bg-lime-400 text-black hover:text-white hover:bg-black cursor-pointer": r.currentDate > r.today,
|
|
2168
2168
|
"bg-lime-300": r.currentDate <= r.today
|
|
2169
2169
|
}, "previousYear flex items-center p-1 rounded mx-0.5 shadow-sm"]),
|
|
@@ -2200,13 +2200,13 @@ function Rs(e, u, i, o, s, r) {
|
|
|
2200
2200
|
}
|
|
2201
2201
|
const Hs = /* @__PURE__ */ he(Ns, [["render", Rs]]), Us = {
|
|
2202
2202
|
name: "SkeletonTable"
|
|
2203
|
-
}, Es = { class: "px-4 sm:px-6 lg:px-8 animate-pulse" },
|
|
2203
|
+
}, Es = { class: "px-4 sm:px-6 lg:px-8 animate-pulse" }, _s = { class: "flow-root" }, Zs = { class: "-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8" }, Ws = { class: "inline-block min-w-full py-2 align-middle px-1" }, Js = { class: "overflow-hidden shadow ring-1 ring-black ring-opacity-5 sm:rounded-lg" }, Gs = { class: "min-w-full divide-y divide-gray-300" }, Qs = { class: "divide-y divide-gray-200 bg-white" };
|
|
2204
2204
|
function Ks(e, u, i, o, s, r) {
|
|
2205
2205
|
return l(), a("div", Es, [
|
|
2206
|
-
t("div",
|
|
2207
|
-
t("div",
|
|
2208
|
-
t("div",
|
|
2209
|
-
t("div",
|
|
2206
|
+
t("div", _s, [
|
|
2207
|
+
t("div", Zs, [
|
|
2208
|
+
t("div", Ws, [
|
|
2209
|
+
t("div", Js, [
|
|
2210
2210
|
t("table", Gs, [
|
|
2211
2211
|
u[1] || (u[1] = t("thead", { class: "bg-gray-50" }, [
|
|
2212
2212
|
t("tr", null, [
|
|
@@ -2315,7 +2315,7 @@ const ln = /* @__PURE__ */ js(tn), an = {
|
|
|
2315
2315
|
}, sn = { class: "text-xs" }, nn = { class: "font-bold text-lg" }, on = { class: "text-xs font-medium" };
|
|
2316
2316
|
function rn(e, u, i, o, s, r) {
|
|
2317
2317
|
return l(), a("div", {
|
|
2318
|
-
class:
|
|
2318
|
+
class: b([
|
|
2319
2319
|
"day select-none text-center",
|
|
2320
2320
|
{
|
|
2321
2321
|
"bg-lime-400 text-black": r.currentDay.isWeekend,
|
|
@@ -2351,7 +2351,7 @@ const dn = /* @__PURE__ */ he(an, [["render", rn]]), cn = {
|
|
|
2351
2351
|
function mn(e, u, i, o, s, r) {
|
|
2352
2352
|
return l(), a("div", un, [
|
|
2353
2353
|
t("div", {
|
|
2354
|
-
class:
|
|
2354
|
+
class: b([
|
|
2355
2355
|
{
|
|
2356
2356
|
"bg-lime-400 text-black": r.currentDay.isWeekend,
|
|
2357
2357
|
"bg-green-600 text-black": i.price.price > i.basePrice,
|
|
@@ -2432,7 +2432,7 @@ const ye = /* @__PURE__ */ he(cn, [["render", mn]]), fn = {
|
|
|
2432
2432
|
emits: ["dateChanged", "changeCategoryBulkPrices", "changeCategorySelectionPrice", "changeCategoryUpgradePrice", "changeRoomPrice", "tableAction"],
|
|
2433
2433
|
setup(e, { emit: u }) {
|
|
2434
2434
|
const i = e, o = u, s = I(/* @__PURE__ */ new Date()), r = I(i.today), n = I([]);
|
|
2435
|
-
|
|
2435
|
+
W(() => i.today, (H) => {
|
|
2436
2436
|
r.value = H;
|
|
2437
2437
|
});
|
|
2438
2438
|
const d = z(() => {
|
|
@@ -2447,7 +2447,7 @@ const ye = /* @__PURE__ */ he(cn, [["render", mn]]), fn = {
|
|
|
2447
2447
|
return E ? E.price : H.price;
|
|
2448
2448
|
}, C = (H) => {
|
|
2449
2449
|
n.value = H.target.checked ? i.rooms.map((E) => E.id) : [];
|
|
2450
|
-
}, Y = () => o("changeCategoryBulkPrices"), U = (H) => o("changeCategorySelectionPrice", H), T = (H) => o("changeCategoryUpgradePrice", H), V = (H) => o("tableAction", H),
|
|
2450
|
+
}, Y = () => o("changeCategoryBulkPrices"), U = (H) => o("changeCategorySelectionPrice", H), T = (H) => o("changeCategoryUpgradePrice", H), V = (H) => o("tableAction", H), Z = (H, E, N) => o("changeRoomPrice", { price: H, roomId: E, roomName: N });
|
|
2451
2451
|
return (H, E) => e.loading ? (l(), k(ht, { key: 1 })) : (l(), a("div", fn, [
|
|
2452
2452
|
t("div", hn, [
|
|
2453
2453
|
t("div", yn, [
|
|
@@ -2475,7 +2475,7 @@ const ye = /* @__PURE__ */ he(cn, [["render", mn]]), fn = {
|
|
|
2475
2475
|
t("tr", null, [
|
|
2476
2476
|
t("th", wn, [
|
|
2477
2477
|
t("span", null, c(e.literals.category) + " " + c(e.category.name), 1),
|
|
2478
|
-
g(
|
|
2478
|
+
g(J, {
|
|
2479
2479
|
loading: e.loading,
|
|
2480
2480
|
class: "ml-4",
|
|
2481
2481
|
size: "small",
|
|
@@ -2567,7 +2567,7 @@ const ye = /* @__PURE__ */ he(cn, [["render", mn]]), fn = {
|
|
|
2567
2567
|
]),
|
|
2568
2568
|
(l(!0), a($, null, S(e.rooms, (N) => (l(), a("tr", {
|
|
2569
2569
|
key: N.name,
|
|
2570
|
-
class:
|
|
2570
|
+
class: b([{ "even:bg-gray-100": e.type === "prices", "odd:bg-gray-100": e.type === "discounts" }])
|
|
2571
2571
|
}, [
|
|
2572
2572
|
t("td", On, [
|
|
2573
2573
|
n.value.length > 0 ? (l(), a("div", Nn)) : x("", !0),
|
|
@@ -2588,7 +2588,7 @@ const ye = /* @__PURE__ */ he(cn, [["render", mn]]), fn = {
|
|
|
2588
2588
|
key: O
|
|
2589
2589
|
}, [
|
|
2590
2590
|
g(ye, {
|
|
2591
|
-
onClick: (q) =>
|
|
2591
|
+
onClick: (q) => Z(w, N.id, N.name),
|
|
2592
2592
|
class: "border-l border-gray-200 px-6 py-3 text-black hover:text-lime-400 cursor-pointer",
|
|
2593
2593
|
price: w,
|
|
2594
2594
|
currency: e.currency.symbol,
|
|
@@ -2605,9 +2605,6 @@ const ye = /* @__PURE__ */ he(cn, [["render", mn]]), fn = {
|
|
|
2605
2605
|
}
|
|
2606
2606
|
}), He = /* @__PURE__ */ B({
|
|
2607
2607
|
__name: "ApexChartWrapper",
|
|
2608
|
-
props: {
|
|
2609
|
-
height: { default: 320 }
|
|
2610
|
-
},
|
|
2611
2608
|
emits: ["updated", "mounted", "dataPointSelection"],
|
|
2612
2609
|
setup(e) {
|
|
2613
2610
|
const u = I(null);
|
|
@@ -2619,24 +2616,19 @@ const ye = /* @__PURE__ */ he(cn, [["render", mn]]), fn = {
|
|
|
2619
2616
|
} catch (i) {
|
|
2620
2617
|
console.error("Failed to load ApexCharts:", i);
|
|
2621
2618
|
}
|
|
2622
|
-
}), (i, o) => (l(),
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
|
|
2626
|
-
|
|
2627
|
-
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
class: "flex items-center justify-center bg-gray-50 rounded"
|
|
2631
|
-
}, [...o[3] || (o[3] = [
|
|
2632
|
-
t("div", { class: "text-gray-400 text-sm" }, "Loading chart...", -1)
|
|
2633
|
-
])], 4))
|
|
2634
|
-
]));
|
|
2619
|
+
}), (i, o) => u.value ? (l(), k($e(u.value), Fe({
|
|
2620
|
+
key: 0,
|
|
2621
|
+
class: "h-auto"
|
|
2622
|
+
}, i.$attrs, {
|
|
2623
|
+
onUpdated: o[0] || (o[0] = (s) => i.$emit("updated")),
|
|
2624
|
+
onMounted: o[1] || (o[1] = (s) => i.$emit("mounted")),
|
|
2625
|
+
onDataPointSelection: o[2] || (o[2] = (s) => i.$emit("dataPointSelection", s))
|
|
2626
|
+
}), null, 16)) : x("", !0);
|
|
2635
2627
|
}
|
|
2636
|
-
}), Hn = { class: "chart-header flex flex-row items-center w-full justify-between" }, Un = { class: "text-
|
|
2628
|
+
}), Hn = { class: "chart-header flex flex-row items-center w-full justify-between" }, Un = { class: "text-lg font-bold truncate mr-8" }, En = {
|
|
2637
2629
|
key: 0,
|
|
2638
2630
|
class: "flex items-center gap-x-2 grow"
|
|
2639
|
-
},
|
|
2631
|
+
}, _n = { class: "self-center ml-2" }, Zn = { class: "self-center ml-2" }, Wn = { class: "self-center ml-2" }, Jn = { class: "hidden sm:flex items-center" }, Gn = { class: "w-1/2 min-w-0 flex-1" }, Qn = ["max"], Kn = { class: "min-w-0 flex-1" }, Xn = ["max"], eo = { class: "chart-content pb-6" }, to = { class: "'w-full h-full flex items-center justify-center flex-col" }, lo = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, ao = /* @__PURE__ */ B({
|
|
2640
2632
|
__name: "uiChart",
|
|
2641
2633
|
props: {
|
|
2642
2634
|
labels: {},
|
|
@@ -2653,14 +2645,14 @@ const ye = /* @__PURE__ */ he(cn, [["render", mn]]), fn = {
|
|
|
2653
2645
|
range: {},
|
|
2654
2646
|
horizontal: { type: Boolean, default: !1 },
|
|
2655
2647
|
stacked: { type: Boolean, default: !1 },
|
|
2656
|
-
height: { default:
|
|
2648
|
+
height: { default: 600 },
|
|
2657
2649
|
annotations: {}
|
|
2658
2650
|
},
|
|
2659
2651
|
emits: ["selectedRange", "chartUpdated", "dataPointSelection", "maximizeChart"],
|
|
2660
2652
|
setup(e, { emit: u }) {
|
|
2661
2653
|
const i = u, o = I((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":"))), s = e;
|
|
2662
2654
|
let r = me(s.dates || { from: "", to: o });
|
|
2663
|
-
|
|
2655
|
+
W(() => s.dates, (T) => {
|
|
2664
2656
|
T && (r = T);
|
|
2665
2657
|
});
|
|
2666
2658
|
let d = {
|
|
@@ -2721,12 +2713,13 @@ const ye = /* @__PURE__ */ he(cn, [["render", mn]]), fn = {
|
|
|
2721
2713
|
}), s.type === "area" && (d.tooltip = { intersect: !1, shared: !0 });
|
|
2722
2714
|
const f = () => (d.chart.stacked = s.stacked, s.options && (s.options.xaxis.hideOverlappingLabels = !0, s.options.xaxis.decimalsInFloat = 2, s.options.xaxis.tickAmount = 10), { ...d, ...s.options, plotOptions: { bar: { horizontal: s.horizontal } } }), v = () => {
|
|
2723
2715
|
r.from !== "" && r.to !== "" && R(r.from).isBefore(R(r.to)) && i("selectedRange", { range: r, chartId: s.id });
|
|
2724
|
-
}, p = z(() => s.series), C = z(() => f()), Y = () => i("chartUpdated"), U = (T, V,
|
|
2725
|
-
i("dataPointSelection", { id: s.id, chartContext: V, config:
|
|
2716
|
+
}, p = z(() => s.series), C = z(() => f()), Y = () => i("chartUpdated"), U = (T, V, Z) => {
|
|
2717
|
+
i("dataPointSelection", { id: s.id, chartContext: V, config: Z, event: T });
|
|
2726
2718
|
};
|
|
2727
2719
|
return (T, V) => (l(), a($, null, [
|
|
2728
2720
|
j(t("div", {
|
|
2729
|
-
class:
|
|
2721
|
+
class: "card chart apex-chart p-4 bg-white shadow rounded-lg overflow-hidden flex grow",
|
|
2722
|
+
style: _t({ height: e.height + "px" })
|
|
2730
2723
|
}, [
|
|
2731
2724
|
t("div", Hn, [
|
|
2732
2725
|
t("div", Un, c(e.title), 1),
|
|
@@ -2742,7 +2735,7 @@ const ye = /* @__PURE__ */ he(cn, [["render", mn]]), fn = {
|
|
|
2742
2735
|
loading: !1,
|
|
2743
2736
|
color: "red"
|
|
2744
2737
|
}, null, 8, ["icon"]),
|
|
2745
|
-
t("span",
|
|
2738
|
+
t("span", _n, c(e.npsLiterals.unhappy), 1)
|
|
2746
2739
|
]),
|
|
2747
2740
|
_: 1
|
|
2748
2741
|
}),
|
|
@@ -2757,7 +2750,7 @@ const ye = /* @__PURE__ */ he(cn, [["render", mn]]), fn = {
|
|
|
2757
2750
|
loading: !1,
|
|
2758
2751
|
color: "yellow"
|
|
2759
2752
|
}, null, 8, ["icon"]),
|
|
2760
|
-
t("span",
|
|
2753
|
+
t("span", Zn, c(e.npsLiterals.neutral), 1)
|
|
2761
2754
|
]),
|
|
2762
2755
|
_: 1
|
|
2763
2756
|
}),
|
|
@@ -2772,16 +2765,16 @@ const ye = /* @__PURE__ */ he(cn, [["render", mn]]), fn = {
|
|
|
2772
2765
|
loading: !1,
|
|
2773
2766
|
color: "green"
|
|
2774
2767
|
}, null, 8, ["icon"]),
|
|
2775
|
-
t("span",
|
|
2768
|
+
t("span", Wn, c(e.npsLiterals.happy), 1)
|
|
2776
2769
|
]),
|
|
2777
2770
|
_: 1
|
|
2778
2771
|
})
|
|
2779
2772
|
])) : x("", !0),
|
|
2780
|
-
t("div",
|
|
2773
|
+
t("div", Jn, [
|
|
2781
2774
|
t("div", Gn, [
|
|
2782
2775
|
j(t("input", {
|
|
2783
2776
|
type: "datetime-local",
|
|
2784
|
-
"onUpdate:modelValue": V[0] || (V[0] = (
|
|
2777
|
+
"onUpdate:modelValue": V[0] || (V[0] = (Z) => m(r).from = Z),
|
|
2785
2778
|
max: o.value.toString(),
|
|
2786
2779
|
onChange: v,
|
|
2787
2780
|
name: "from",
|
|
@@ -2794,7 +2787,7 @@ const ye = /* @__PURE__ */ he(cn, [["render", mn]]), fn = {
|
|
|
2794
2787
|
t("div", Kn, [
|
|
2795
2788
|
j(t("input", {
|
|
2796
2789
|
type: "datetime-local",
|
|
2797
|
-
"onUpdate:modelValue": V[1] || (V[1] = (
|
|
2790
|
+
"onUpdate:modelValue": V[1] || (V[1] = (Z) => m(r).to = Z),
|
|
2798
2791
|
max: o.value.toString(),
|
|
2799
2792
|
onChange: v,
|
|
2800
2793
|
name: "to",
|
|
@@ -2809,7 +2802,7 @@ const ye = /* @__PURE__ */ he(cn, [["render", mn]]), fn = {
|
|
|
2809
2802
|
size: "big",
|
|
2810
2803
|
loading: e.loading,
|
|
2811
2804
|
icon: m(rt),
|
|
2812
|
-
onClick: V[2] || (V[2] = (
|
|
2805
|
+
onClick: V[2] || (V[2] = (Z) => T.$emit("maximizeChart", e.id))
|
|
2813
2806
|
}, null, 8, ["loading", "icon"])
|
|
2814
2807
|
])
|
|
2815
2808
|
]),
|
|
@@ -2818,18 +2811,16 @@ const ye = /* @__PURE__ */ he(cn, [["render", mn]]), fn = {
|
|
|
2818
2811
|
class: "chart",
|
|
2819
2812
|
type: e.type,
|
|
2820
2813
|
series: p.value,
|
|
2821
|
-
height:
|
|
2814
|
+
height: "100%",
|
|
2822
2815
|
options: C.value,
|
|
2823
2816
|
onUpdated: Y,
|
|
2824
2817
|
onMounted: Y,
|
|
2825
2818
|
onDataPointSelection: U
|
|
2826
|
-
}, null, 8, ["type", "series", "
|
|
2819
|
+
}, null, 8, ["type", "series", "options"])
|
|
2827
2820
|
], 512), [
|
|
2828
2821
|
[A, !e.empty]
|
|
2829
2822
|
]),
|
|
2830
|
-
j(t("div",
|
|
2831
|
-
class: y(["h-[" + e.height + "px]", "w-full flex items-center justify-center flex-col"])
|
|
2832
|
-
}, [
|
|
2823
|
+
j(t("div", to, [
|
|
2833
2824
|
g(F, {
|
|
2834
2825
|
icon: m(ee),
|
|
2835
2826
|
color: "gray",
|
|
@@ -2837,15 +2828,13 @@ const ye = /* @__PURE__ */ he(cn, [["render", mn]]), fn = {
|
|
|
2837
2828
|
size: "massive"
|
|
2838
2829
|
}, null, 8, ["icon"]),
|
|
2839
2830
|
V[3] || (V[3] = t("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data for this time frame", -1))
|
|
2840
|
-
],
|
|
2831
|
+
], 512), [
|
|
2841
2832
|
[A, e.empty]
|
|
2842
2833
|
])
|
|
2843
|
-
],
|
|
2834
|
+
], 4), [
|
|
2844
2835
|
[A, !e.loading]
|
|
2845
2836
|
]),
|
|
2846
|
-
j(t("div",
|
|
2847
|
-
class: y(["h-[" + e.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80"])
|
|
2848
|
-
}, [...V[4] || (V[4] = [
|
|
2837
|
+
j(t("div", lo, [...V[4] || (V[4] = [
|
|
2849
2838
|
t("div", {
|
|
2850
2839
|
role: "status",
|
|
2851
2840
|
class: "w-full animate-pulse h-full flex flex-col"
|
|
@@ -2871,16 +2860,16 @@ const ye = /* @__PURE__ */ he(cn, [["render", mn]]), fn = {
|
|
|
2871
2860
|
t("div", { class: "w-full bg-gray-200 rounded h-1/2" })
|
|
2872
2861
|
])
|
|
2873
2862
|
], -1)
|
|
2874
|
-
])],
|
|
2863
|
+
])], 512), [
|
|
2875
2864
|
[A, e.loading]
|
|
2876
2865
|
])
|
|
2877
2866
|
], 64));
|
|
2878
2867
|
}
|
|
2879
|
-
}),
|
|
2868
|
+
}), so = {
|
|
2880
2869
|
name: "uiFooter"
|
|
2881
|
-
},
|
|
2882
|
-
function
|
|
2883
|
-
return l(), a("footer",
|
|
2870
|
+
}, no = { class: "bg-white" };
|
|
2871
|
+
function oo(e, u, i, o, s, r) {
|
|
2872
|
+
return l(), a("footer", no, [...u[0] || (u[0] = [
|
|
2884
2873
|
t("div", { class: "mx-auto py-6 px-4 sm:px-6 md:flex md:items-center md:justify-between lg:px-8" }, [
|
|
2885
2874
|
t("div", { class: "mt-8 md:mt-0 md:order-1" }, [
|
|
2886
2875
|
t("p", { class: "text-center text-base text-gray-400" }, "© Made by Hotelinking.")
|
|
@@ -2888,7 +2877,7 @@ function so(e, u, i, o, s, r) {
|
|
|
2888
2877
|
], -1)
|
|
2889
2878
|
])]);
|
|
2890
2879
|
}
|
|
2891
|
-
const
|
|
2880
|
+
const io = /* @__PURE__ */ he(so, [["render", oo]]), ro = /* @__PURE__ */ B({
|
|
2892
2881
|
__name: "uiLoadingScreen",
|
|
2893
2882
|
props: {
|
|
2894
2883
|
title: {},
|
|
@@ -2897,7 +2886,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
2897
2886
|
},
|
|
2898
2887
|
setup(e) {
|
|
2899
2888
|
return (u, i) => (l(), a("div", {
|
|
2900
|
-
class:
|
|
2889
|
+
class: b([
|
|
2901
2890
|
{ fixed: e.fixed },
|
|
2902
2891
|
"load-screen h-full w-full top-0 left-0 z-[100] flex flex-col items-center justify-center bg-white"
|
|
2903
2892
|
])
|
|
@@ -2916,25 +2905,25 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
2916
2905
|
])
|
|
2917
2906
|
], 2));
|
|
2918
2907
|
}
|
|
2919
|
-
}),
|
|
2908
|
+
}), co = { class: "hidden md:flex md:flex-col sticky md:inset-y-0" }, uo = { class: "flex flex-col flex-grow overflow-y-auto" }, go = { class: "grow flex flex-col" }, mo = {
|
|
2920
2909
|
class: "flex-1 space-y-1",
|
|
2921
2910
|
"aria-label": "Sidebar"
|
|
2922
|
-
},
|
|
2911
|
+
}, fo = { key: 0 }, ho = ["onClick"], yo = {
|
|
2923
2912
|
key: 1,
|
|
2924
2913
|
class: "text-left"
|
|
2925
|
-
},
|
|
2914
|
+
}, bo = {
|
|
2926
2915
|
key: 1,
|
|
2927
2916
|
class: "flex-1 text-left"
|
|
2928
|
-
},
|
|
2917
|
+
}, vo = {
|
|
2929
2918
|
key: 2,
|
|
2930
2919
|
class: "flex-1"
|
|
2931
|
-
},
|
|
2920
|
+
}, xo = {
|
|
2932
2921
|
key: 0,
|
|
2933
2922
|
class: "align-left"
|
|
2934
|
-
},
|
|
2923
|
+
}, po = {
|
|
2935
2924
|
key: 1,
|
|
2936
2925
|
class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2"
|
|
2937
|
-
},
|
|
2926
|
+
}, wo = { class: "h-12 flex flex-row items-center" }, ko = /* @__PURE__ */ B({
|
|
2938
2927
|
__name: "uiSidebar",
|
|
2939
2928
|
props: {
|
|
2940
2929
|
navigation: {},
|
|
@@ -2946,11 +2935,11 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
2946
2935
|
emits: ["sideBarClick"],
|
|
2947
2936
|
setup(e, { emit: u }) {
|
|
2948
2937
|
const i = e, o = u, s = z(() => i.navigation ? Array.isArray(i.navigation) ? i.navigation : [i.navigation] : []);
|
|
2949
|
-
return (r, n) => (l(), a("div",
|
|
2950
|
-
t("div",
|
|
2951
|
-
t("div",
|
|
2952
|
-
t("nav",
|
|
2953
|
-
e.loading ? (l(), a($, { key: 1 }, S(5, (d) => t("div",
|
|
2938
|
+
return (r, n) => (l(), a("div", co, [
|
|
2939
|
+
t("div", uo, [
|
|
2940
|
+
t("div", go, [
|
|
2941
|
+
t("nav", mo, [
|
|
2942
|
+
e.loading ? (l(), a($, { key: 1 }, S(5, (d) => t("div", wo, [...n[1] || (n[1] = [
|
|
2954
2943
|
t("div", { class: "w-6 h-6 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 mr-4" }, null, -1),
|
|
2955
2944
|
t("div", { class: "h-3 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 grow" }, null, -1)
|
|
2956
2945
|
])])), 64)) : (l(!0), a($, { key: 0 }, S(s.value, (d) => (l(), a($, {
|
|
@@ -2963,24 +2952,24 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
2963
2952
|
}, {
|
|
2964
2953
|
default: h(({ open: f }) => [
|
|
2965
2954
|
g(m(le), {
|
|
2966
|
-
class:
|
|
2955
|
+
class: b([d.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"])
|
|
2967
2956
|
}, {
|
|
2968
2957
|
default: h(() => [
|
|
2969
2958
|
d.icon ? (l(), k(F, {
|
|
2970
2959
|
key: 0,
|
|
2971
2960
|
loading: e.loading,
|
|
2972
2961
|
icon: d.icon,
|
|
2973
|
-
class:
|
|
2962
|
+
class: b([
|
|
2974
2963
|
d.current ? "text-white" : "text-gray-400 group-hover:text-gray-500",
|
|
2975
2964
|
"mr-3 flex-shrink-0 h-6 w-6"
|
|
2976
2965
|
]),
|
|
2977
2966
|
"aria-hidden": "true"
|
|
2978
2967
|
}, null, 8, ["loading", "icon", "class"])) : x("", !0),
|
|
2979
|
-
e.loading ? (l(), a("div",
|
|
2968
|
+
e.loading ? (l(), a("div", vo, [...n[0] || (n[0] = [
|
|
2980
2969
|
t("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, null, -1)
|
|
2981
|
-
])])) : (l(), a("span",
|
|
2970
|
+
])])) : (l(), a("span", bo, c(d.name), 1)),
|
|
2982
2971
|
g(m(fe), {
|
|
2983
|
-
class:
|
|
2972
|
+
class: b([f ? "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"])
|
|
2984
2973
|
}, null, 8, ["class"])
|
|
2985
2974
|
]),
|
|
2986
2975
|
_: 2
|
|
@@ -2990,10 +2979,10 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
2990
2979
|
(l(!0), a($, null, S(d.children, (v) => (l(), k(m(le), {
|
|
2991
2980
|
onClick: (p) => o("sideBarClick", v.id),
|
|
2992
2981
|
key: v.name,
|
|
2993
|
-
class:
|
|
2982
|
+
class: b([v.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"])
|
|
2994
2983
|
}, {
|
|
2995
2984
|
default: h(() => [
|
|
2996
|
-
e.loading ? (l(), a("div",
|
|
2985
|
+
e.loading ? (l(), a("div", po)) : (l(), a("span", xo, c(v.name), 1))
|
|
2997
2986
|
]),
|
|
2998
2987
|
_: 2
|
|
2999
2988
|
}, 1032, ["onClick", "class"]))), 128))
|
|
@@ -3002,10 +2991,10 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3002
2991
|
}, 1024)
|
|
3003
2992
|
]),
|
|
3004
2993
|
_: 2
|
|
3005
|
-
}, 1024)) : (l(), a("div",
|
|
2994
|
+
}, 1024)) : (l(), a("div", fo, [
|
|
3006
2995
|
t("button", {
|
|
3007
2996
|
onClick: (f) => o("sideBarClick", d.id),
|
|
3008
|
-
class:
|
|
2997
|
+
class: b([
|
|
3009
2998
|
d.current ? "bg-indigo-600 text-white" : "text-gray-600 hover:bg-gray-50 hover:text-gray-900",
|
|
3010
2999
|
"group w-full flex items-center pl-2 py-2 text-sm font-medium rounded-md"
|
|
3011
3000
|
])
|
|
@@ -3014,14 +3003,14 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3014
3003
|
key: 0,
|
|
3015
3004
|
loading: e.loading,
|
|
3016
3005
|
icon: d.icon,
|
|
3017
|
-
class:
|
|
3006
|
+
class: b([
|
|
3018
3007
|
d.current ? "text-white" : "text-gray-400 group-hover:text-gray-500",
|
|
3019
3008
|
"mr-3 flex-shrink-0 h-6 w-6"
|
|
3020
3009
|
]),
|
|
3021
3010
|
"aria-hidden": "true"
|
|
3022
3011
|
}, null, 8, ["loading", "icon", "class"])) : x("", !0),
|
|
3023
|
-
e.loading ? x("", !0) : (l(), a("span",
|
|
3024
|
-
], 10,
|
|
3012
|
+
e.loading ? x("", !0) : (l(), a("span", yo, c(d.name), 1))
|
|
3013
|
+
], 10, ho)
|
|
3025
3014
|
]))
|
|
3026
3015
|
], 64))), 128))
|
|
3027
3016
|
])
|
|
@@ -3029,24 +3018,24 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3029
3018
|
])
|
|
3030
3019
|
]));
|
|
3031
3020
|
}
|
|
3032
|
-
}),
|
|
3021
|
+
}), $o = { class: "flex flex-row grow border-r border-gray-200 bg-white pr-6 h-screen" }, Co = { class: "bg-black w-16 mr-6 flex-shrink-0" }, So = ["onClick"], Bo = ["src", "alt"], Mo = {
|
|
3033
3022
|
key: 0,
|
|
3034
3023
|
class: "flex flex-col grow h-full"
|
|
3035
|
-
},
|
|
3024
|
+
}, jo = ["src"], To = { class: "flex flex-1 flex-col overflow-hidden" }, Do = { class: "flex-1 overflow-y-auto pr-6" }, zo = {
|
|
3036
3025
|
key: 0,
|
|
3037
3026
|
role: "list",
|
|
3038
3027
|
class: "flex flex-col gap-y-7 mb-4"
|
|
3039
|
-
},
|
|
3028
|
+
}, Ao = {
|
|
3040
3029
|
role: "list",
|
|
3041
3030
|
class: "ml-2 space-y-1"
|
|
3042
|
-
},
|
|
3031
|
+
}, Lo = ["onClick"], Fo = {
|
|
3043
3032
|
key: 1,
|
|
3044
3033
|
role: "list",
|
|
3045
3034
|
class: "flex flex-col gap-y-7 mb-4"
|
|
3046
|
-
},
|
|
3035
|
+
}, Po = { class: "ml-2 space-y-1" }, Oo = { class: "font-bold mb-4" }, No = {
|
|
3047
3036
|
key: 1,
|
|
3048
3037
|
class: "flex flex-col grow h-full"
|
|
3049
|
-
},
|
|
3038
|
+
}, Io = { class: "flex-1 overflow-y-auto pr-6" }, Vo = { class: "h-12 flex flex-row items-center" }, Ae = /* @__PURE__ */ B({
|
|
3050
3039
|
__name: "uiSidebarV2",
|
|
3051
3040
|
props: {
|
|
3052
3041
|
navigation: {},
|
|
@@ -3059,29 +3048,29 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3059
3048
|
emits: ["productBarClick", "sideBarClick", "inputChanged"],
|
|
3060
3049
|
setup(e, { emit: u }) {
|
|
3061
3050
|
const i = e, o = z(() => i.navigation ? Array.isArray(i.navigation) ? i.navigation : [i.navigation] : []);
|
|
3062
|
-
return (s, r) => (l(), a("div",
|
|
3063
|
-
t("div",
|
|
3051
|
+
return (s, r) => (l(), a("div", $o, [
|
|
3052
|
+
t("div", Co, [
|
|
3064
3053
|
t("ul", null, [
|
|
3065
3054
|
(l(!0), a($, null, S(e.productsSidebar, (n, d) => (l(), a("li", {
|
|
3066
3055
|
key: d,
|
|
3067
|
-
class:
|
|
3056
|
+
class: b([{ "!bg-lime-400": n.active }, "w-full h-16 p-4 flex items-center justify-center cursor-pointer hover:bg-lime-400 hover:text-black"]),
|
|
3068
3057
|
onClick: (f) => s.$emit("productBarClick", n.name)
|
|
3069
3058
|
}, [
|
|
3070
3059
|
t("img", {
|
|
3071
3060
|
src: n.icon,
|
|
3072
3061
|
alt: n.name
|
|
3073
|
-
}, null, 8,
|
|
3074
|
-
], 10,
|
|
3062
|
+
}, null, 8, Bo)
|
|
3063
|
+
], 10, So))), 128))
|
|
3075
3064
|
])
|
|
3076
3065
|
]),
|
|
3077
|
-
e.loading ? (l(), a("div",
|
|
3078
|
-
t("div",
|
|
3079
|
-
(l(), a($, null, S(5, (n) => t("div",
|
|
3066
|
+
e.loading ? (l(), a("div", No, [
|
|
3067
|
+
t("div", Io, [
|
|
3068
|
+
(l(), a($, null, S(5, (n) => t("div", Vo, [...r[2] || (r[2] = [
|
|
3080
3069
|
t("div", { class: "w-6 h-6 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 mr-4" }, null, -1),
|
|
3081
3070
|
t("div", { class: "h-3 animate-pulse bg-gray-200 rounded-full w-1/2 dark:bg-gray-300" }, null, -1)
|
|
3082
3071
|
])])), 64))
|
|
3083
3072
|
])
|
|
3084
|
-
])) : (l(), a("div",
|
|
3073
|
+
])) : (l(), a("div", Mo, [
|
|
3085
3074
|
t("div", {
|
|
3086
3075
|
class: "flex h-16 shrink-0 items-center",
|
|
3087
3076
|
onClick: r[0] || (r[0] = (n) => s.$emit("sideBarClick", "logo"))
|
|
@@ -3090,13 +3079,13 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3090
3079
|
class: "h-10 w-auto self-center cursor-pointer",
|
|
3091
3080
|
src: e.logo,
|
|
3092
3081
|
alt: "Your Company"
|
|
3093
|
-
}, null, 8,
|
|
3082
|
+
}, null, 8, jo)
|
|
3094
3083
|
]),
|
|
3095
|
-
t("nav",
|
|
3096
|
-
t("div",
|
|
3097
|
-
e.isFilterNavigation ? x("", !0) : (l(), a("ul",
|
|
3084
|
+
t("nav", To, [
|
|
3085
|
+
t("div", Do, [
|
|
3086
|
+
e.isFilterNavigation ? x("", !0) : (l(), a("ul", zo, [
|
|
3098
3087
|
t("li", null, [
|
|
3099
|
-
t("ul",
|
|
3088
|
+
t("ul", Ao, [
|
|
3100
3089
|
(l(!0), a($, null, S(o.value, (n) => (l(), a("li", {
|
|
3101
3090
|
key: n.name
|
|
3102
3091
|
}, [
|
|
@@ -3107,7 +3096,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3107
3096
|
default: h(() => [
|
|
3108
3097
|
g(m(le), {
|
|
3109
3098
|
onClick: (d) => s.$emit("sideBarClick", n.id),
|
|
3110
|
-
class:
|
|
3099
|
+
class: b([n.current ? "bg-lime-100" : "hover:bg-lime-100", "flex w-full items-center gap-x-3 rounded-md p-2 text-left text-sm font-semibold leading-6 text-gray-700"])
|
|
3111
3100
|
}, {
|
|
3112
3101
|
default: h(() => [
|
|
3113
3102
|
g(F, {
|
|
@@ -3120,7 +3109,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3120
3109
|
}, null, 8, ["icon"]),
|
|
3121
3110
|
M(" " + c(n.name) + " ", 1),
|
|
3122
3111
|
g(m(fe), {
|
|
3123
|
-
class:
|
|
3112
|
+
class: b([n.children.some((d) => d.current) || n.current ? "rotate-90 text-black" : "text-gray-400", "ml-auto h-5 w-5 shrink-0"]),
|
|
3124
3113
|
"aria-hidden": "true"
|
|
3125
3114
|
}, null, 8, ["class"])
|
|
3126
3115
|
]),
|
|
@@ -3139,7 +3128,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3139
3128
|
g(m(le), {
|
|
3140
3129
|
as: "a",
|
|
3141
3130
|
onClick: (f) => s.$emit("sideBarClick", d.id),
|
|
3142
|
-
class:
|
|
3131
|
+
class: b([d.current ? "bg-lime-100" : "hover:bg-lime-100", "block rounded-md py-2 pl-9 pr-2 text-sm leading-6 text-gray-700 cursor-pointer"])
|
|
3143
3132
|
}, {
|
|
3144
3133
|
default: h(() => [
|
|
3145
3134
|
M(c(d.name), 1)
|
|
@@ -3158,7 +3147,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3158
3147
|
}, 1024)) : (l(), a("div", {
|
|
3159
3148
|
key: 0,
|
|
3160
3149
|
onClick: (d) => s.$emit("sideBarClick", n.id),
|
|
3161
|
-
class:
|
|
3150
|
+
class: b([n.current ? "bg-lime-100" : "hover:bg-lime-100", "group flex gap-x-3 rounded-md p-2 text-sm font-semibold leading-6 text-gray-700 cursor-pointer"])
|
|
3162
3151
|
}, [
|
|
3163
3152
|
g(F, {
|
|
3164
3153
|
icon: n.icon,
|
|
@@ -3169,13 +3158,13 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3169
3158
|
class: "shrink-0"
|
|
3170
3159
|
}, null, 8, ["icon"]),
|
|
3171
3160
|
M(" " + c(n.name), 1)
|
|
3172
|
-
], 10,
|
|
3161
|
+
], 10, Lo))
|
|
3173
3162
|
]))), 128))
|
|
3174
3163
|
])
|
|
3175
3164
|
])
|
|
3176
3165
|
])),
|
|
3177
|
-
e.isFilterNavigation && e.filterNavigation ? (l(), a("ul",
|
|
3178
|
-
t("li",
|
|
3166
|
+
e.isFilterNavigation && e.filterNavigation ? (l(), a("ul", Fo, [
|
|
3167
|
+
t("li", Po, [
|
|
3179
3168
|
e.filterNavigation.hasSearch && e.filterNavigation.search ? (l(), k(se, {
|
|
3180
3169
|
key: 0,
|
|
3181
3170
|
name: e.filterNavigation.search.name,
|
|
@@ -3190,7 +3179,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3190
3179
|
class: "ml-2",
|
|
3191
3180
|
key: d
|
|
3192
3181
|
}, [
|
|
3193
|
-
t("p",
|
|
3182
|
+
t("p", Oo, c(n.label), 1),
|
|
3194
3183
|
(l(!0), a($, null, S(n.filters, (f, v) => (l(), k(re, {
|
|
3195
3184
|
class: "mb-2",
|
|
3196
3185
|
value: f.value,
|
|
@@ -3208,10 +3197,10 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3208
3197
|
]))
|
|
3209
3198
|
]));
|
|
3210
3199
|
}
|
|
3211
|
-
}),
|
|
3200
|
+
}), qo = { key: 0 }, Yo = { class: "ml-16 text-sm font-medium truncate" }, Ro = { class: "ml-16 flex items-baseline pb-5" }, Ho = { class: "text-2xl font-semibold" }, Uo = {
|
|
3212
3201
|
key: 0,
|
|
3213
3202
|
class: "text-black ml-2 flex items-baseline text-sm font-semibold"
|
|
3214
|
-
},
|
|
3203
|
+
}, Eo = { class: "absolute bottom-0 inset-x-0 bg-gray-50 px-4 py-4 sm:px-6" }, _o = { class: "text-sm" }, Zo = { key: 1 }, Wo = { class: "relative bg-white pt-5 px-4 sm:pt-6 sm:px-6 shadow rounded-lg overflow-hidden h-full pb-6" }, Jo = { class: "absolute bg-gray-200 rounded-md p-3 animate-pulse" }, yt = /* @__PURE__ */ B({
|
|
3215
3204
|
__name: "uiStats",
|
|
3216
3205
|
props: {
|
|
3217
3206
|
item: {},
|
|
@@ -3219,10 +3208,10 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3219
3208
|
},
|
|
3220
3209
|
emits: ["statClick"],
|
|
3221
3210
|
setup(e, { emit: u }) {
|
|
3222
|
-
return (i, o) => e.loading ? (l(), a("div",
|
|
3223
|
-
t("div",
|
|
3211
|
+
return (i, o) => e.loading ? (l(), a("div", Zo, [
|
|
3212
|
+
t("div", Wo, [
|
|
3224
3213
|
t("dt", null, [
|
|
3225
|
-
t("div",
|
|
3214
|
+
t("div", Jo, [
|
|
3226
3215
|
g(F, {
|
|
3227
3216
|
loading: e.loading,
|
|
3228
3217
|
icon: e.item.icon,
|
|
@@ -3238,13 +3227,13 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3238
3227
|
], -1))
|
|
3239
3228
|
])
|
|
3240
3229
|
])
|
|
3241
|
-
])) : (l(), a("div",
|
|
3230
|
+
])) : (l(), a("div", qo, [
|
|
3242
3231
|
t("div", {
|
|
3243
|
-
class:
|
|
3232
|
+
class: b(["relative bg-white pt-5 px-4 sm:pt-6 sm:px-6 shadow rounded-lg overflow-hidden h-full", { "pb-12": e.item.showFooter }])
|
|
3244
3233
|
}, [
|
|
3245
3234
|
t("dt", null, [
|
|
3246
3235
|
t("div", {
|
|
3247
|
-
class:
|
|
3236
|
+
class: b(["absolute rounded-md p-3", {
|
|
3248
3237
|
"bg-lime-400": !e.item.color || e.item.color === "green" || e.item.color === "secondary",
|
|
3249
3238
|
"bg-red-600": e.item.color === "red",
|
|
3250
3239
|
"bg-yellow-400": e.item.color === "yellow"
|
|
@@ -3257,14 +3246,14 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3257
3246
|
loading: e.loading
|
|
3258
3247
|
}, null, 8, ["icon", "loading"])
|
|
3259
3248
|
], 2),
|
|
3260
|
-
t("p",
|
|
3249
|
+
t("p", Yo, c(e.item.name), 1)
|
|
3261
3250
|
]),
|
|
3262
|
-
t("dd",
|
|
3263
|
-
t("p",
|
|
3264
|
-
e.item.explanation ? (l(), a("p",
|
|
3251
|
+
t("dd", Ro, [
|
|
3252
|
+
t("p", Ho, c(e.item.stat), 1),
|
|
3253
|
+
e.item.explanation ? (l(), a("p", Uo, c(e.item.explanation), 1)) : x("", !0),
|
|
3265
3254
|
e.item.changeType ? (l(), a("p", {
|
|
3266
3255
|
key: 1,
|
|
3267
|
-
class:
|
|
3256
|
+
class: b([
|
|
3268
3257
|
{
|
|
3269
3258
|
"text-green-600": e.item.changeType === "increase",
|
|
3270
3259
|
"text-red-600": e.item.changeType === "decrease",
|
|
@@ -3285,8 +3274,8 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3285
3274
|
})) : x("", !0),
|
|
3286
3275
|
M(" " + c(e.item.change), 1)
|
|
3287
3276
|
], 2)) : x("", !0),
|
|
3288
|
-
j(t("div",
|
|
3289
|
-
t("div",
|
|
3277
|
+
j(t("div", Eo, [
|
|
3278
|
+
t("div", _o, [
|
|
3290
3279
|
t("span", {
|
|
3291
3280
|
onClick: o[0] || (o[0] = (s) => i.$emit("statClick", e.item.id)),
|
|
3292
3281
|
class: "font-medium text-black hover:text-lime-400 underline cursor-pointer"
|
|
@@ -3299,19 +3288,19 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3299
3288
|
], 2)
|
|
3300
3289
|
]));
|
|
3301
3290
|
}
|
|
3302
|
-
}),
|
|
3291
|
+
}), Go = {
|
|
3303
3292
|
key: 0,
|
|
3304
3293
|
class: "overflow-hidden bg-white shadow sm:rounded-lg"
|
|
3305
|
-
},
|
|
3294
|
+
}, Qo = { class: "px-4 py-5 sm:px-6" }, Ko = { class: "text-lg font-medium leading-6" }, Xo = { class: "mt-1 max-w-2xl text-sm" }, ei = { class: "border-t border-gray-200" }, ti = { class: "text-sm font-medium" }, li = {
|
|
3306
3295
|
key: 0,
|
|
3307
3296
|
class: "mt-1 text-sm sm:col-span-2 sm:mt-0 break-normal"
|
|
3308
|
-
},
|
|
3297
|
+
}, ai = ["onClick"], si = {
|
|
3309
3298
|
key: 2,
|
|
3310
3299
|
class: "mt-1 text-sm sm:col-span-2 sm:mt-0 break-words"
|
|
3311
|
-
},
|
|
3300
|
+
}, ni = {
|
|
3312
3301
|
key: 1,
|
|
3313
3302
|
class: "overflow-hidden bg-white shadow sm:rounded-lg"
|
|
3314
|
-
},
|
|
3303
|
+
}, oi = { class: "border-t border-gray-200" }, ii = /* @__PURE__ */ B({
|
|
3315
3304
|
__name: "uiStripedCard",
|
|
3316
3305
|
props: {
|
|
3317
3306
|
title: {},
|
|
@@ -3321,13 +3310,13 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3321
3310
|
},
|
|
3322
3311
|
emits: ["itemClicked"],
|
|
3323
3312
|
setup(e) {
|
|
3324
|
-
return (u, i) => e.loading ? (l(), a("div",
|
|
3313
|
+
return (u, i) => e.loading ? (l(), a("div", ni, [
|
|
3325
3314
|
i[1] || (i[1] = ae('<div class="px-4 py-5 sm:px-6 animate-pulse"><h3 class="text-lg font-medium leading-6"><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)),
|
|
3326
|
-
t("div",
|
|
3315
|
+
t("div", oi, [
|
|
3327
3316
|
t("dl", null, [
|
|
3328
3317
|
(l(), a($, null, S(5, (o) => t("div", {
|
|
3329
3318
|
key: o,
|
|
3330
|
-
class:
|
|
3319
|
+
class: b(["px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6", [o % 2 === 0 ? "bg-gray-50" : "bg-white"]])
|
|
3331
3320
|
}, [...i[0] || (i[0] = [
|
|
3332
3321
|
t("dt", { class: "text-sm font-medium text-gray-500" }, [
|
|
3333
3322
|
t("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-12" })
|
|
@@ -3338,19 +3327,19 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3338
3327
|
])], 2)), 64))
|
|
3339
3328
|
])
|
|
3340
3329
|
])
|
|
3341
|
-
])) : (l(), a("div",
|
|
3342
|
-
t("div",
|
|
3343
|
-
t("h3",
|
|
3344
|
-
t("p",
|
|
3330
|
+
])) : (l(), a("div", Go, [
|
|
3331
|
+
t("div", Qo, [
|
|
3332
|
+
t("h3", Ko, c(e.title), 1),
|
|
3333
|
+
t("p", Xo, c(e.subtitle), 1)
|
|
3345
3334
|
]),
|
|
3346
|
-
t("div",
|
|
3335
|
+
t("div", ei, [
|
|
3347
3336
|
t("dl", null, [
|
|
3348
3337
|
(l(!0), a($, null, S(e.items, (o, s) => (l(), a("div", {
|
|
3349
3338
|
key: s,
|
|
3350
|
-
class:
|
|
3339
|
+
class: b(["px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6", [s % 2 === 0 ? "bg-lime-50" : "bg-white"]])
|
|
3351
3340
|
}, [
|
|
3352
|
-
t("dt",
|
|
3353
|
-
o.type === "tags" ? (l(), a("dd",
|
|
3341
|
+
t("dt", ti, c(o.title), 1),
|
|
3342
|
+
o.type === "tags" ? (l(), a("dd", li, [
|
|
3354
3343
|
(l(!0), a($, null, S(o.tags, (r, n) => (l(), k(G, {
|
|
3355
3344
|
loading: e.loading,
|
|
3356
3345
|
key: n,
|
|
@@ -3366,13 +3355,13 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3366
3355
|
key: 1,
|
|
3367
3356
|
class: "mt-1 text-sm text-lime-600 hover:text-black sm:col-span-2 sm:mt-0 cursor-pointer",
|
|
3368
3357
|
onClick: (r) => u.$emit("itemClicked", o.emits)
|
|
3369
|
-
}, c(o.text), 9,
|
|
3358
|
+
}, c(o.text), 9, ai)) : (l(), a("dd", si, c(o.text), 1))
|
|
3370
3359
|
], 2))), 128))
|
|
3371
3360
|
])
|
|
3372
3361
|
])
|
|
3373
3362
|
]));
|
|
3374
3363
|
}
|
|
3375
|
-
}),
|
|
3364
|
+
}), ri = { class: "absolute top-10 bg-black text-white text-xs p-2 rounded z-10 font-light w-60 flex flex-row items-start" }, di = { class: "ml-2" }, ci = {
|
|
3376
3365
|
__name: "tooltip",
|
|
3377
3366
|
props: {
|
|
3378
3367
|
tip: {
|
|
@@ -3381,7 +3370,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3381
3370
|
}
|
|
3382
3371
|
},
|
|
3383
3372
|
setup(e) {
|
|
3384
|
-
return (u, i) => (l(), a("div",
|
|
3373
|
+
return (u, i) => (l(), a("div", ri, [
|
|
3385
3374
|
i[0] || (i[0] = t("svg", {
|
|
3386
3375
|
class: "absolute -top-3 left-0",
|
|
3387
3376
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3405,16 +3394,16 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3405
3394
|
size: "big"
|
|
3406
3395
|
}, null, 8, ["icon"])
|
|
3407
3396
|
]),
|
|
3408
|
-
t("span",
|
|
3397
|
+
t("span", di, c(e.tip), 1)
|
|
3409
3398
|
]));
|
|
3410
3399
|
}
|
|
3411
|
-
},
|
|
3400
|
+
}, ui = { class: "hidden py-0.5 px-2.5 rounded text-xs font-medium md:inline-block bg-lime-400 text-gray-900" }, gi = {
|
|
3412
3401
|
key: 0,
|
|
3413
3402
|
class: "hidden py-0.5 px-2.5 rounded text-xs font-medium md:inline-block bg-gray-100 text-gray-900 uppercase"
|
|
3414
|
-
},
|
|
3403
|
+
}, mi = { class: "w-screen max-w-md flex-auto rounded bg-white text-sm/6 shadow-lg ring-1 ring-gray-900/5 lg:max-w-3xl" }, fi = { class: "p-6 gap-y-2 flex flex-col" }, hi = { class: "flex items-center gap-x-2 w-full" }, yi = { class: "px-6 pb-6 gap-x-2 flex justify-end" }, bi = {
|
|
3415
3404
|
key: 1,
|
|
3416
3405
|
class: "relative animate-pulse"
|
|
3417
|
-
},
|
|
3406
|
+
}, vi = /* @__PURE__ */ B({
|
|
3418
3407
|
__name: "uiSmartFilterMultipleV2",
|
|
3419
3408
|
props: {
|
|
3420
3409
|
literals: { default: () => ({
|
|
@@ -3452,11 +3441,11 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3452
3441
|
}
|
|
3453
3442
|
});
|
|
3454
3443
|
};
|
|
3455
|
-
|
|
3444
|
+
W(() => i.literals, (w) => {
|
|
3456
3445
|
s.value.id === "1" ? s.value.name = w.and : s.value.id === "2" && (s.value.name = w.or);
|
|
3457
|
-
}, { deep: !0 }),
|
|
3446
|
+
}, { deep: !0 }), W(() => i.availableCategories, (w) => {
|
|
3458
3447
|
w.length > 0 && (!n.value.name || !w.some((O) => O.name === n.value.name)) && (n.value = w[0]);
|
|
3459
|
-
}, { deep: !0, immediate: !0 }),
|
|
3448
|
+
}, { deep: !0, immediate: !0 }), W(() => i.filters, (w) => {
|
|
3460
3449
|
w && f(w);
|
|
3461
3450
|
}, { deep: !0, immediate: !0 });
|
|
3462
3451
|
const v = z(() => [
|
|
@@ -3497,7 +3486,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3497
3486
|
props: { ...n.value.defaultProps }
|
|
3498
3487
|
};
|
|
3499
3488
|
r.push(w);
|
|
3500
|
-
},
|
|
3489
|
+
}, Z = (w, O) => {
|
|
3501
3490
|
if (w < 0 || w >= r.length) return;
|
|
3502
3491
|
const q = r[w];
|
|
3503
3492
|
q.type === "uiInput" ? typeof O == "string" && (q.props.value = O) : q.type === "uiSelect" && (Array.isArray(O) ? q.props.select = O[0] : typeof O == "object" && O !== null && (q.props.select = O));
|
|
@@ -3517,7 +3506,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3517
3506
|
};
|
|
3518
3507
|
o("smartFiltersSent", q), w();
|
|
3519
3508
|
};
|
|
3520
|
-
return (w, O) => e.loading ? (l(), a("div",
|
|
3509
|
+
return (w, O) => e.loading ? (l(), a("div", bi, [...O[1] || (O[1] = [
|
|
3521
3510
|
ae('<div class="inline-flex items-center gap-x-2 text-sm/6 font-semibold text-gray-900 outline-none flex-wrap gap-y-1"><div class="h-4 bg-gray-200 rounded-lg w-32"></div><div class="h-4 bg-gray-200 rounded-lg w-20"></div><div class="h-4 bg-gray-200 rounded-lg w-16"></div><div class="h-5 w-5 bg-gray-200 rounded-lg"></div></div>', 1)
|
|
3522
3511
|
])])) : (l(), k(m(Qt), {
|
|
3523
3512
|
key: 0,
|
|
@@ -3528,8 +3517,8 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3528
3517
|
default: h(() => [
|
|
3529
3518
|
t("span", null, c(i.literals.filters) + ": ", 1),
|
|
3530
3519
|
(l(!0), a($, null, S(Y.value, (q, P) => (l(), a($, { key: P }, [
|
|
3531
|
-
t("span",
|
|
3532
|
-
P < Y.value.length - 1 ? (l(), a("span",
|
|
3520
|
+
t("span", ui, c(q.name) + " " + c(q.operator) + ": " + c(q.value), 1),
|
|
3521
|
+
P < Y.value.length - 1 ? (l(), a("span", gi, c(s.value.name), 1)) : x("", !0)
|
|
3533
3522
|
], 64))), 128)),
|
|
3534
3523
|
g(m(ne), {
|
|
3535
3524
|
class: "size-5",
|
|
@@ -3549,9 +3538,9 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3549
3538
|
default: h(() => [
|
|
3550
3539
|
g(m(Xt), { class: "absolute z-10 mt-2 flex w-screen max-w-max bg-transparent" }, {
|
|
3551
3540
|
default: h(({ close: q }) => [
|
|
3552
|
-
t("div",
|
|
3553
|
-
t("div",
|
|
3554
|
-
t("div",
|
|
3541
|
+
t("div", mi, [
|
|
3542
|
+
t("div", fi, [
|
|
3543
|
+
t("div", hi, [
|
|
3555
3544
|
g(de, {
|
|
3556
3545
|
loading: i.loading,
|
|
3557
3546
|
class: "w-60",
|
|
@@ -3559,7 +3548,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3559
3548
|
select: C.value,
|
|
3560
3549
|
onSelectChanged: T
|
|
3561
3550
|
}, null, 8, ["loading", "items", "select"]),
|
|
3562
|
-
g(
|
|
3551
|
+
g(J, {
|
|
3563
3552
|
loading: i.loading,
|
|
3564
3553
|
onClick: V,
|
|
3565
3554
|
disabled: !n.value || !n.value.name
|
|
@@ -3600,14 +3589,14 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3600
3589
|
loading: i.loading,
|
|
3601
3590
|
items: P.props.items || [],
|
|
3602
3591
|
select: P.props.select || P.props.items?.[0] || { id: "0", name: "Select..." },
|
|
3603
|
-
onSelectChanged: (te) =>
|
|
3592
|
+
onSelectChanged: (te) => Z(K, te)
|
|
3604
3593
|
}, null, 8, ["loading", "items", "select", "onSelectChanged"])) : P.type === "uiInput" ? (l(), k(se, {
|
|
3605
3594
|
key: 1,
|
|
3606
3595
|
class: "grow",
|
|
3607
3596
|
loading: i.loading,
|
|
3608
3597
|
name: P.props.name || "",
|
|
3609
3598
|
value: P.props.value || "",
|
|
3610
|
-
onInput: (te) =>
|
|
3599
|
+
onInput: (te) => Z(K, te.target.value)
|
|
3611
3600
|
}, null, 8, ["loading", "name", "value", "onInput"])) : x("", !0),
|
|
3612
3601
|
K === 0 ? (l(), k(de, {
|
|
3613
3602
|
key: 2,
|
|
@@ -3639,8 +3628,8 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3639
3628
|
}, null, 8, ["icon", "loading", "onClick"])
|
|
3640
3629
|
]))), 128))
|
|
3641
3630
|
]),
|
|
3642
|
-
t("div",
|
|
3643
|
-
g(
|
|
3631
|
+
t("div", yi, [
|
|
3632
|
+
g(J, {
|
|
3644
3633
|
loading: i.loading,
|
|
3645
3634
|
color: "red",
|
|
3646
3635
|
icon: m(De),
|
|
@@ -3651,7 +3640,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3651
3640
|
]),
|
|
3652
3641
|
_: 1
|
|
3653
3642
|
}, 8, ["loading", "icon"]),
|
|
3654
|
-
g(
|
|
3643
|
+
g(J, {
|
|
3655
3644
|
loading: i.loading,
|
|
3656
3645
|
icon: m(fl),
|
|
3657
3646
|
onClick: (P) => N(q)
|
|
@@ -3673,22 +3662,22 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3673
3662
|
_: 1
|
|
3674
3663
|
}));
|
|
3675
3664
|
}
|
|
3676
|
-
}),
|
|
3665
|
+
}), xi = {
|
|
3677
3666
|
key: 0,
|
|
3678
3667
|
class: "py-6 flex items-center justify-between"
|
|
3679
|
-
},
|
|
3668
|
+
}, pi = { class: "flex-1 flex justify-between sm:hidden" }, wi = {
|
|
3680
3669
|
href: "#",
|
|
3681
3670
|
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"
|
|
3682
|
-
},
|
|
3671
|
+
}, ki = {
|
|
3683
3672
|
href: "#",
|
|
3684
3673
|
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"
|
|
3685
|
-
},
|
|
3674
|
+
}, $i = { class: "hidden sm:flex-1 sm:flex sm:items-center sm:justify-between" }, Ci = { class: "text-sm text-gray-700" }, Si = { class: "font-bold mx-1" }, Bi = { class: "font-bold mx-1" }, Mi = { class: "font-bold mx-1" }, ji = {
|
|
3686
3675
|
class: "relative z-0 inline-flex rounded-md shadow-sm -space-x-px",
|
|
3687
3676
|
"aria-label": "Pagination"
|
|
3688
|
-
},
|
|
3677
|
+
}, Ti = { class: "sr-only" }, Di = ["onClick"], zi = { class: "sr-only" }, Ai = {
|
|
3689
3678
|
key: 1,
|
|
3690
3679
|
class: "py-6 flex flex-row justify-between items-center animate-pulse"
|
|
3691
|
-
},
|
|
3680
|
+
}, Li = /* @__PURE__ */ B({
|
|
3692
3681
|
__name: "uiPagination",
|
|
3693
3682
|
props: {
|
|
3694
3683
|
current: {},
|
|
@@ -3708,40 +3697,40 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3708
3697
|
f.push(v);
|
|
3709
3698
|
return f;
|
|
3710
3699
|
});
|
|
3711
|
-
return (f, v) => e.loading ? (l(), a("div",
|
|
3700
|
+
return (f, v) => e.loading ? (l(), a("div", Ai, [...v[3] || (v[3] = [
|
|
3712
3701
|
t("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/5" }, null, -1),
|
|
3713
3702
|
t("div", { class: "h-10 w-32 bg-gray-200 rounded dark:bg-gray-300" }, null, -1)
|
|
3714
|
-
])])) : (l(), a("div",
|
|
3715
|
-
t("div",
|
|
3716
|
-
t("a",
|
|
3717
|
-
|
|
3703
|
+
])])) : (l(), a("div", xi, [
|
|
3704
|
+
t("div", pi, [
|
|
3705
|
+
t("a", wi, [
|
|
3706
|
+
_(f.$slots, "previous")
|
|
3718
3707
|
]),
|
|
3719
|
-
t("a",
|
|
3720
|
-
|
|
3708
|
+
t("a", ki, [
|
|
3709
|
+
_(f.$slots, "next")
|
|
3721
3710
|
])
|
|
3722
3711
|
]),
|
|
3723
|
-
t("div",
|
|
3712
|
+
t("div", $i, [
|
|
3724
3713
|
t("div", null, [
|
|
3725
|
-
t("p",
|
|
3726
|
-
|
|
3727
|
-
t("span",
|
|
3728
|
-
|
|
3729
|
-
t("span",
|
|
3730
|
-
|
|
3714
|
+
t("p", Ci, [
|
|
3715
|
+
_(f.$slots, "showing"),
|
|
3716
|
+
t("span", Si, c(e.current), 1),
|
|
3717
|
+
_(f.$slots, "of"),
|
|
3718
|
+
t("span", Bi, c(e.total), 1),
|
|
3719
|
+
_(f.$slots, "pages"),
|
|
3731
3720
|
v[2] || (v[2] = t("span", { class: "font-bold mx-1" }, "/", -1)),
|
|
3732
|
-
|
|
3733
|
-
t("span",
|
|
3721
|
+
_(f.$slots, "fromTotal"),
|
|
3722
|
+
t("span", Mi, c(e.totalItems), 1)
|
|
3734
3723
|
])
|
|
3735
3724
|
]),
|
|
3736
3725
|
t("div", null, [
|
|
3737
|
-
t("nav",
|
|
3726
|
+
t("nav", ji, [
|
|
3738
3727
|
j(t("button", {
|
|
3739
3728
|
ref: "test-first-button",
|
|
3740
3729
|
onClick: v[0] || (v[0] = (p) => i("changePage", e.current - 1)),
|
|
3741
3730
|
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"
|
|
3742
3731
|
}, [
|
|
3743
|
-
t("span",
|
|
3744
|
-
|
|
3732
|
+
t("span", Ti, [
|
|
3733
|
+
_(f.$slots, "previous")
|
|
3745
3734
|
]),
|
|
3746
3735
|
g(m(ut), {
|
|
3747
3736
|
class: "h-5 w-5",
|
|
@@ -3754,17 +3743,17 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3754
3743
|
onClick: (C) => i("changePage", p),
|
|
3755
3744
|
key: p,
|
|
3756
3745
|
"aria-current": "page",
|
|
3757
|
-
class:
|
|
3746
|
+
class: b([[
|
|
3758
3747
|
p === e.current ? "z-10 bg-lime-50 border-lime-400 text-black" : "bg-white border-gray-300 text-gray-500 hover:bg-gray-50"
|
|
3759
3748
|
], "relative inline-flex items-center px-4 py-2 border text-sm font-medium"])
|
|
3760
|
-
}, c(p), 11,
|
|
3749
|
+
}, c(p), 11, Di))), 128)),
|
|
3761
3750
|
j(t("button", {
|
|
3762
3751
|
ref: "test-last-button",
|
|
3763
3752
|
onClick: v[1] || (v[1] = (p) => i("changePage", e.current + 1)),
|
|
3764
3753
|
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"
|
|
3765
3754
|
}, [
|
|
3766
|
-
t("span",
|
|
3767
|
-
|
|
3755
|
+
t("span", zi, [
|
|
3756
|
+
_(f.$slots, "next")
|
|
3768
3757
|
]),
|
|
3769
3758
|
g(m(fe), {
|
|
3770
3759
|
class: "h-5 w-5",
|
|
@@ -3778,28 +3767,28 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3778
3767
|
])
|
|
3779
3768
|
]));
|
|
3780
3769
|
}
|
|
3781
|
-
}),
|
|
3770
|
+
}), Fi = { key: 0 }, Pi = {
|
|
3782
3771
|
key: 1,
|
|
3783
3772
|
class: "actionsAndFilters mb-6 flex flex-col xl:flex-row items-center xl:justify-between w-full"
|
|
3784
|
-
},
|
|
3773
|
+
}, Oi = {
|
|
3785
3774
|
key: 0,
|
|
3786
3775
|
class: "w-full xl:w-2/3"
|
|
3787
|
-
},
|
|
3776
|
+
}, Ni = {
|
|
3788
3777
|
key: 1,
|
|
3789
3778
|
class: "w-full mt-4 xl:mt-0 xl:w-1/3 xl:flex xl:justify-end xl:self-start"
|
|
3790
|
-
},
|
|
3779
|
+
}, Ii = { class: "flex flex-col" }, Vi = { class: "-my-2 overflow-x-auto" }, qi = { class: "inline-block min-w-full py-2 align-middle px-1" }, Yi = { class: "relative overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg" }, Ri = {
|
|
3791
3780
|
key: 0,
|
|
3792
3781
|
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"
|
|
3793
|
-
},
|
|
3782
|
+
}, Hi = ["onClick"], Ui = { class: "min-w-full table-fixed divide-y divide-gray-300" }, Ei = { class: "bg-lime-50" }, _i = ["checked", "indeterminate"], Zi = ["onMouseover"], Wi = ["onClick"], Ji = {
|
|
3794
3783
|
key: 2,
|
|
3795
3784
|
class: "group flex items-center uppercase text-xs"
|
|
3796
|
-
},
|
|
3785
|
+
}, Gi = { class: "divide-y divide-gray-200 bg-white" }, Qi = {
|
|
3797
3786
|
key: 0,
|
|
3798
3787
|
class: "absolute inset-y-0 left-0 w-0.5 bg-lime-400"
|
|
3799
|
-
},
|
|
3788
|
+
}, Ki = ["value", "disabled"], Xi = {
|
|
3800
3789
|
key: 2,
|
|
3801
3790
|
class: "devicesFooter px-1 flex flex-row justify-between items-center mt-4"
|
|
3802
|
-
},
|
|
3791
|
+
}, er = { key: 0 }, tr = /* @__PURE__ */ B({
|
|
3803
3792
|
__name: "uiTable",
|
|
3804
3793
|
props: {
|
|
3805
3794
|
selectAllItemsModal: {},
|
|
@@ -3830,7 +3819,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3830
3819
|
), C = z(
|
|
3831
3820
|
() => r.value.length > 0 && r.value.length < s.items.length
|
|
3832
3821
|
), Y = z(
|
|
3833
|
-
() => s.header.filter((
|
|
3822
|
+
() => s.header.filter((y, D) => Ue(D))
|
|
3834
3823
|
), U = z(() => [
|
|
3835
3824
|
s.actions ? "px-6 sm:px-8" : "px-3",
|
|
3836
3825
|
"relative"
|
|
@@ -3839,20 +3828,20 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3839
3828
|
"relative"
|
|
3840
3829
|
]), V = z(
|
|
3841
3830
|
() => s.smartFilterCategories && s.smartFilterCategories.length > 0
|
|
3842
|
-
),
|
|
3831
|
+
), Z = z(
|
|
3843
3832
|
() => s.tableActionsDropdown && s.tableActionsDropdown.items && s.tableActionsDropdown.items.length > 0
|
|
3844
3833
|
), H = z(
|
|
3845
|
-
() => V.value ||
|
|
3834
|
+
() => V.value || Z.value
|
|
3846
3835
|
), E = z(
|
|
3847
3836
|
() => s.paginationCurrent !== void 0 || s.paginationTotal !== void 0
|
|
3848
3837
|
), N = z(
|
|
3849
3838
|
() => s.paginationCurrent !== void 0 && s.paginationTotal !== void 0 && s.paginationTotalItems !== void 0
|
|
3850
3839
|
), w = z(
|
|
3851
3840
|
() => s.pageSizeOptions && s.pageSizeOptions.length > 0
|
|
3852
|
-
), O = z(() => s.pageSizeOptions ? s.pageSizeOptions.map((
|
|
3853
|
-
name:
|
|
3854
|
-
value: String(
|
|
3855
|
-
active: !!(
|
|
3841
|
+
), O = z(() => s.pageSizeOptions ? s.pageSizeOptions.map((y) => ({
|
|
3842
|
+
name: y.name,
|
|
3843
|
+
value: String(y.value),
|
|
3844
|
+
active: !!(y.active || s.currentPageSize && y.value === s.currentPageSize)
|
|
3856
3845
|
})) : []), q = I(!1), P = I(!1), K = {
|
|
3857
3846
|
filters: "Filtros inteligentes",
|
|
3858
3847
|
contains: "contiene",
|
|
@@ -3861,15 +3850,15 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3861
3850
|
or: "o",
|
|
3862
3851
|
deleteAll: "Borrar todo",
|
|
3863
3852
|
filter: "Filtrar"
|
|
3864
|
-
}, te = (
|
|
3865
|
-
|
|
3866
|
-
}, Ue = (
|
|
3853
|
+
}, te = (y) => {
|
|
3854
|
+
y.action === "close" ? q.value = !1 : (q.value = !1, s.selectAllItemsModal && o("modalAction", { modal: s.selectAllItemsModal.modalName, action: y.action }));
|
|
3855
|
+
}, Ue = (y) => s.hiddenColumns && s.hiddenColumns.length > 0 ? !s.hiddenColumns.includes(y) : !0, Me = (y) => r.value.includes(y), vt = (y) => n.value === y, xt = (y) => y.filter((D, L) => Ue(L)), pt = (y, D) => {
|
|
3867
3856
|
const L = [];
|
|
3868
|
-
return Me(
|
|
3869
|
-
}, wt = (
|
|
3857
|
+
return Me(y.id) && L.push("bg-gray-50"), D % 2 !== 0 && L.push("bg-gray-50"), L;
|
|
3858
|
+
}, wt = (y) => {
|
|
3870
3859
|
const D = ["whitespace-nowrap", "py-4", "pr-3", "text-sm"];
|
|
3871
|
-
return Me(
|
|
3872
|
-
}, kt = (
|
|
3860
|
+
return Me(y) && D.push("text-black", "font-bold"), D;
|
|
3861
|
+
}, kt = (y) => {
|
|
3873
3862
|
const D = [
|
|
3874
3863
|
"absolute",
|
|
3875
3864
|
"left-4",
|
|
@@ -3883,59 +3872,59 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3883
3872
|
"focus:ring-lime-400",
|
|
3884
3873
|
"flex-wrap"
|
|
3885
3874
|
];
|
|
3886
|
-
return
|
|
3887
|
-
}, $t = (
|
|
3875
|
+
return y && D.push("bg-gray-100"), D;
|
|
3876
|
+
}, $t = (y) => {
|
|
3888
3877
|
const D = [];
|
|
3889
|
-
return
|
|
3890
|
-
}, Ct = (
|
|
3878
|
+
return y === s.orderedBy ? D.push("bg-black", "text-white", "group-hover:bg-lime-400", "group-hover:text-black") : D.push("group-hover:visible", "group-focus:visible"), D;
|
|
3879
|
+
}, Ct = (y) => typeof y == "object" && y.type === "tag" ? i.uiTag : typeof y == "object" && y.type === "link" ? "span" : typeof y == "object" && y.type === "href" ? "a" : "span", St = (y) => typeof y == "object" && y.type === "tag" ? {
|
|
3891
3880
|
loading: s.loading,
|
|
3892
|
-
color:
|
|
3893
|
-
size:
|
|
3894
|
-
event:
|
|
3895
|
-
} : typeof
|
|
3896
|
-
href:
|
|
3881
|
+
color: y.color || "primary",
|
|
3882
|
+
size: y.size || "medium",
|
|
3883
|
+
event: y.event
|
|
3884
|
+
} : typeof y == "object" && y.type === "href" ? {
|
|
3885
|
+
href: y.href,
|
|
3897
3886
|
class: "text-black font-bold underline hover:text-lime-400 cursor-pointer"
|
|
3898
|
-
} : typeof
|
|
3887
|
+
} : typeof y == "object" && y.type === "link" ? {
|
|
3899
3888
|
class: "text-black font-bold underline hover:text-lime-400 cursor-pointer"
|
|
3900
|
-
} : {}, Bt = (
|
|
3901
|
-
o("tableAction", { action:
|
|
3902
|
-
}, Dt = (
|
|
3903
|
-
const D =
|
|
3889
|
+
} : {}, Bt = (y) => typeof y == "object" ? y.content || "" : y || "", Mt = (y) => y === s.orderedBy ? s.orderDirection === "asc" ? ne : gt : ne, jt = (y) => y === s.orderedBy ? "white" : "primary", Tt = (y) => {
|
|
3890
|
+
o("tableAction", { action: y.id, items: r.value });
|
|
3891
|
+
}, Dt = (y) => {
|
|
3892
|
+
const D = y.target;
|
|
3904
3893
|
D.checked && (q.value = !0), r.value = D.checked ? s.items.map((L) => L.disabled ? null : L.id) : [];
|
|
3905
|
-
}, zt = (
|
|
3894
|
+
}, zt = (y) => {
|
|
3906
3895
|
const D = s.orderDirection === "asc" ? "desc" : "asc";
|
|
3907
|
-
o("orderBy", { value:
|
|
3908
|
-
}, At = (
|
|
3909
|
-
typeof
|
|
3910
|
-
}, Lt = (
|
|
3911
|
-
typeof
|
|
3912
|
-
}, Ft = (
|
|
3913
|
-
n.value !==
|
|
3896
|
+
o("orderBy", { value: y, orderDirection: D });
|
|
3897
|
+
}, At = (y) => {
|
|
3898
|
+
typeof y == "object" && y.type === "link" && o("customEmit", { data: y });
|
|
3899
|
+
}, Lt = (y) => {
|
|
3900
|
+
typeof y == "object" && y.type === "tag" && o("customEmit", { data: y });
|
|
3901
|
+
}, Ft = (y) => {
|
|
3902
|
+
n.value !== y && (n.value = y);
|
|
3914
3903
|
}, Pt = () => {
|
|
3915
3904
|
n.value = void 0;
|
|
3916
|
-
}, Ot = (
|
|
3917
|
-
o("smartFiltersSent",
|
|
3918
|
-
}, Nt = (
|
|
3919
|
-
o("tableActionSelected",
|
|
3920
|
-
}, It = (
|
|
3921
|
-
o("changePage",
|
|
3922
|
-
}, Vt = (
|
|
3923
|
-
o("changePageSize",
|
|
3924
|
-
}, qt = (
|
|
3925
|
-
const D = Number(
|
|
3926
|
-
|
|
3927
|
-
}, Yt = (
|
|
3928
|
-
id:
|
|
3929
|
-
label:
|
|
3905
|
+
}, Ot = (y) => {
|
|
3906
|
+
o("smartFiltersSent", y);
|
|
3907
|
+
}, Nt = (y) => {
|
|
3908
|
+
o("tableActionSelected", y), (y.value === 2 || y.name?.toLowerCase().includes("columna")) && (P.value = !0);
|
|
3909
|
+
}, It = (y) => {
|
|
3910
|
+
o("changePage", y);
|
|
3911
|
+
}, Vt = (y) => {
|
|
3912
|
+
o("changePageSize", y.value);
|
|
3913
|
+
}, qt = (y) => {
|
|
3914
|
+
const D = Number(y.value);
|
|
3915
|
+
y.checked ? o("columnsVisibilityChanged", { index: D, hidden: !0 }) : o("columnsVisibilityChanged", { index: D, hidden: !1 });
|
|
3916
|
+
}, Yt = (y) => !!(s.hiddenColumns && s.hiddenColumns.includes(y)), Rt = z(() => s.smartFilterCategories ? s.smartFilterCategories.map((y) => ({
|
|
3917
|
+
id: y.id,
|
|
3918
|
+
label: y.name,
|
|
3930
3919
|
// uiSmartFilterMultipleV2 usa 'label' en lugar de 'name'
|
|
3931
|
-
name:
|
|
3920
|
+
name: y.id,
|
|
3932
3921
|
// Mantenemos name para compatibilidad
|
|
3933
|
-
componentType:
|
|
3934
|
-
defaultProps:
|
|
3922
|
+
componentType: y.componentType,
|
|
3923
|
+
defaultProps: y.defaultProps
|
|
3935
3924
|
})) : []);
|
|
3936
|
-
return
|
|
3937
|
-
|
|
3938
|
-
}), (
|
|
3925
|
+
return W(() => s.resetSelected, (y) => {
|
|
3926
|
+
y !== void 0 && (d.value = y, y && d.value && (r.value = [], d.value = !y, o("selectedItemsDeleted")));
|
|
3927
|
+
}), (y, D) => e.loading ? (l(), k(ht, { key: 1 })) : (l(), a("div", Fi, [
|
|
3939
3928
|
e.selectAllItemsModal ? (l(), k(ke, {
|
|
3940
3929
|
key: 0,
|
|
3941
3930
|
title: e.selectAllItemsModal.title,
|
|
@@ -3973,16 +3962,16 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3973
3962
|
]),
|
|
3974
3963
|
_: 1
|
|
3975
3964
|
}, 8, ["open"]),
|
|
3976
|
-
H.value ? (l(), a("div",
|
|
3977
|
-
V.value ? (l(), a("div",
|
|
3978
|
-
g(
|
|
3965
|
+
H.value ? (l(), a("div", Pi, [
|
|
3966
|
+
V.value ? (l(), a("div", Oi, [
|
|
3967
|
+
g(vi, {
|
|
3979
3968
|
"available-categories": Rt.value,
|
|
3980
3969
|
literals: s.filterLiterals || K,
|
|
3981
3970
|
onSmartFiltersSent: Ot,
|
|
3982
3971
|
loading: s.loading
|
|
3983
3972
|
}, null, 8, ["available-categories", "literals", "loading"])
|
|
3984
3973
|
])) : x("", !0),
|
|
3985
|
-
|
|
3974
|
+
Z.value ? (l(), a("div", Ni, [
|
|
3986
3975
|
g(ue, {
|
|
3987
3976
|
items: s.tableActionsDropdown?.items || [],
|
|
3988
3977
|
loading: s.tableActionsDropdown?.loading || !1,
|
|
@@ -3990,24 +3979,24 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
3990
3979
|
}, null, 8, ["items", "loading"])
|
|
3991
3980
|
])) : x("", !0)
|
|
3992
3981
|
])) : x("", !0),
|
|
3993
|
-
t("div",
|
|
3994
|
-
t("div",
|
|
3995
|
-
t("div",
|
|
3996
|
-
t("div",
|
|
3997
|
-
f.value && v.value ? (l(), a("div",
|
|
3982
|
+
t("div", Ii, [
|
|
3983
|
+
t("div", Vi, [
|
|
3984
|
+
t("div", qi, [
|
|
3985
|
+
t("div", Yi, [
|
|
3986
|
+
f.value && v.value ? (l(), a("div", Ri, [
|
|
3998
3987
|
(l(!0), a($, null, S(e.actions, (L, X) => (l(), a("button", {
|
|
3999
3988
|
key: X,
|
|
4000
3989
|
type: "button",
|
|
4001
3990
|
class: "inline-flex items-center rounded bg-lime-400 hover:bg-black px-2.5 py-1.5 text-xs font-medium text-white shadow-sm disabled:cursor-not-allowed disabled:opacity-30",
|
|
4002
3991
|
onClick: (Q) => Tt(L)
|
|
4003
|
-
}, c(L.name), 9,
|
|
3992
|
+
}, c(L.name), 9, Hi))), 128))
|
|
4004
3993
|
])) : x("", !0),
|
|
4005
|
-
t("table",
|
|
4006
|
-
t("thead",
|
|
3994
|
+
t("table", Ui, [
|
|
3995
|
+
t("thead", Ei, [
|
|
4007
3996
|
t("tr", null, [
|
|
4008
3997
|
t("th", {
|
|
4009
3998
|
scope: "col",
|
|
4010
|
-
class:
|
|
3999
|
+
class: b(U.value)
|
|
4011
4000
|
}, [
|
|
4012
4001
|
v.value ? (l(), a("input", {
|
|
4013
4002
|
key: 0,
|
|
@@ -4016,7 +4005,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4016
4005
|
class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-black focus:ring-lime-400",
|
|
4017
4006
|
type: "checkbox",
|
|
4018
4007
|
onChange: Dt
|
|
4019
|
-
}, null, 40,
|
|
4008
|
+
}, null, 40, _i)) : x("", !0)
|
|
4020
4009
|
], 2),
|
|
4021
4010
|
(l(!0), a($, null, S(Y.value, (L, X) => (l(), a("th", {
|
|
4022
4011
|
key: X,
|
|
@@ -4025,7 +4014,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4025
4014
|
onMouseover: (Q) => Ft(L.name),
|
|
4026
4015
|
onMouseleave: D[3] || (D[3] = (Q) => Pt())
|
|
4027
4016
|
}, [
|
|
4028
|
-
L.tooltip && vt(L.name) ? (l(), k(
|
|
4017
|
+
L.tooltip && vt(L.name) ? (l(), k(ci, {
|
|
4029
4018
|
key: 0,
|
|
4030
4019
|
tip: L.tooltip
|
|
4031
4020
|
}, null, 8, ["tip"])) : x("", !0),
|
|
@@ -4036,7 +4025,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4036
4025
|
}, [
|
|
4037
4026
|
t("span", null, c(L.name), 1),
|
|
4038
4027
|
t("span", {
|
|
4039
|
-
class:
|
|
4028
|
+
class: b([$t(L.value), "ml-2 flex-none rounded group-hover:bg-lime-200 group-hover:text-white"])
|
|
4040
4029
|
}, [
|
|
4041
4030
|
g(F, {
|
|
4042
4031
|
icon: Mt(L.value),
|
|
@@ -4044,35 +4033,35 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4044
4033
|
color: jt(L.value)
|
|
4045
4034
|
}, null, 8, ["icon", "loading", "color"])
|
|
4046
4035
|
], 2)
|
|
4047
|
-
], 8,
|
|
4036
|
+
], 8, Wi)) : (l(), a("p", Ji, [
|
|
4048
4037
|
t("span", null, c(L.name), 1)
|
|
4049
4038
|
]))
|
|
4050
|
-
], 40,
|
|
4039
|
+
], 40, Zi))), 128))
|
|
4051
4040
|
])
|
|
4052
4041
|
]),
|
|
4053
|
-
t("tbody",
|
|
4042
|
+
t("tbody", Gi, [
|
|
4054
4043
|
(l(!0), a($, null, S(e.items, (L, X) => (l(), a("tr", {
|
|
4055
4044
|
key: L.id,
|
|
4056
|
-
class:
|
|
4045
|
+
class: b(pt(L, X))
|
|
4057
4046
|
}, [
|
|
4058
4047
|
t("td", {
|
|
4059
|
-
class:
|
|
4048
|
+
class: b(T.value)
|
|
4060
4049
|
}, [
|
|
4061
|
-
Me(L.id) ? (l(), a("div",
|
|
4050
|
+
Me(L.id) ? (l(), a("div", Qi)) : x("", !0),
|
|
4062
4051
|
v.value ? j((l(), a("input", {
|
|
4063
4052
|
key: 1,
|
|
4064
4053
|
"onUpdate:modelValue": D[4] || (D[4] = (Q) => r.value = Q),
|
|
4065
4054
|
value: L.id,
|
|
4066
|
-
class:
|
|
4055
|
+
class: b(kt(L.disabled)),
|
|
4067
4056
|
type: "checkbox",
|
|
4068
4057
|
disabled: L.disabled
|
|
4069
|
-
}, null, 10,
|
|
4058
|
+
}, null, 10, Ki)), [
|
|
4070
4059
|
[Xe, r.value]
|
|
4071
4060
|
]) : x("", !0)
|
|
4072
4061
|
], 2),
|
|
4073
4062
|
(l(!0), a($, null, S(xt(L.row), (Q, Ht) => (l(), a("td", {
|
|
4074
4063
|
key: Ht,
|
|
4075
|
-
class:
|
|
4064
|
+
class: b(wt(L.id))
|
|
4076
4065
|
}, [
|
|
4077
4066
|
(l(), k($e(Ct(Q)), Fe({ ref_for: !0 }, St(Q), {
|
|
4078
4067
|
onClick: (Ut) => At(Q),
|
|
@@ -4091,8 +4080,8 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4091
4080
|
])
|
|
4092
4081
|
])
|
|
4093
4082
|
]),
|
|
4094
|
-
E.value ? (l(), a("div",
|
|
4095
|
-
w.value ? (l(), a("div",
|
|
4083
|
+
E.value ? (l(), a("div", Xi, [
|
|
4084
|
+
w.value ? (l(), a("div", er, [
|
|
4096
4085
|
g(ue, {
|
|
4097
4086
|
verticalPosition: "top",
|
|
4098
4087
|
items: O.value,
|
|
@@ -4102,9 +4091,9 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4102
4091
|
])) : x("", !0),
|
|
4103
4092
|
N.value ? (l(), a("div", {
|
|
4104
4093
|
key: 1,
|
|
4105
|
-
class:
|
|
4094
|
+
class: b(["grow", { "ml-10": w.value }])
|
|
4106
4095
|
}, [
|
|
4107
|
-
g(
|
|
4096
|
+
g(Li, {
|
|
4108
4097
|
current: s.paginationCurrent || 1,
|
|
4109
4098
|
total: s.paginationTotal || 1,
|
|
4110
4099
|
totalItems: s.paginationTotalItems || 0,
|
|
@@ -4135,10 +4124,10 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4135
4124
|
])) : x("", !0)
|
|
4136
4125
|
]));
|
|
4137
4126
|
}
|
|
4138
|
-
}),
|
|
4127
|
+
}), lr = { class: "lg:hidden" }, ar = ["value"], sr = { class: "hidden lg:block" }, nr = { class: "border-b border-gray-200" }, or = {
|
|
4139
4128
|
class: "-mb-px flex space-x-8",
|
|
4140
4129
|
"aria-label": "Tabs"
|
|
4141
|
-
},
|
|
4130
|
+
}, ir = ["onClick", "aria-current"], rr = /* @__PURE__ */ B({
|
|
4142
4131
|
__name: "uiTabs",
|
|
4143
4132
|
props: {
|
|
4144
4133
|
tabs: {}
|
|
@@ -4150,7 +4139,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4150
4139
|
r.value && i("tabClicked", r.value);
|
|
4151
4140
|
};
|
|
4152
4141
|
return (s, r) => (l(), a("div", null, [
|
|
4153
|
-
t("div",
|
|
4142
|
+
t("div", lr, [
|
|
4154
4143
|
t("select", {
|
|
4155
4144
|
onChange: r[0] || (r[0] = (n) => o(n)),
|
|
4156
4145
|
id: "tabs",
|
|
@@ -4160,16 +4149,16 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4160
4149
|
(l(!0), a($, null, S(e.tabs, (n) => (l(), a("option", {
|
|
4161
4150
|
value: n.id,
|
|
4162
4151
|
key: n.name
|
|
4163
|
-
}, c(n.name), 9,
|
|
4152
|
+
}, c(n.name), 9, ar))), 128))
|
|
4164
4153
|
], 32)
|
|
4165
4154
|
]),
|
|
4166
|
-
t("div",
|
|
4167
|
-
t("div",
|
|
4168
|
-
t("nav",
|
|
4155
|
+
t("div", sr, [
|
|
4156
|
+
t("div", nr, [
|
|
4157
|
+
t("nav", or, [
|
|
4169
4158
|
(l(!0), a($, null, S(e.tabs, (n) => (l(), a("a", {
|
|
4170
4159
|
key: n.name,
|
|
4171
4160
|
onClick: (d) => i("tabClicked", n.id),
|
|
4172
|
-
class:
|
|
4161
|
+
class: b([
|
|
4173
4162
|
n.current ? "border-lime-400 text-lime-400" : "border-transparent text-black hover:text-lime-400 hover:border-lime-400",
|
|
4174
4163
|
"whitespace-nowrap flex py-4 px-1 border-b-2 font-medium text-sm cursor-pointer"
|
|
4175
4164
|
]),
|
|
@@ -4178,41 +4167,41 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4178
4167
|
M(c(n.name) + " ", 1),
|
|
4179
4168
|
n.count ? (l(), a("span", {
|
|
4180
4169
|
key: 0,
|
|
4181
|
-
class:
|
|
4170
|
+
class: b([
|
|
4182
4171
|
n.current ? "bg-indigo-100" : "bg-gray-100 text-gray-900",
|
|
4183
4172
|
"hidden ml-3 py-0.5 px-2.5 rounded-full text-xs font-medium md:inline-block"
|
|
4184
4173
|
])
|
|
4185
4174
|
}, c(n.count), 3)) : x("", !0)
|
|
4186
|
-
], 10,
|
|
4175
|
+
], 10, ir))), 128))
|
|
4187
4176
|
])
|
|
4188
4177
|
])
|
|
4189
4178
|
])
|
|
4190
4179
|
]));
|
|
4191
4180
|
}
|
|
4192
|
-
}),
|
|
4181
|
+
}), dr = { class: "px-4 py-5 sm:px-6" }, cr = { class: "text-xl font-bold" }, ur = {
|
|
4193
4182
|
key: 0,
|
|
4194
4183
|
class: "px-4 py-5 sm:p-6"
|
|
4195
|
-
},
|
|
4184
|
+
}, gr = { class: "flow-root" }, mr = { class: "relative pb-8" }, fr = {
|
|
4196
4185
|
key: 0,
|
|
4197
4186
|
class: "absolute left-4 top-4 -ml-px h-full w-0.5 bg-gray-200",
|
|
4198
4187
|
"aria-hidden": "true"
|
|
4199
|
-
},
|
|
4188
|
+
}, hr = { class: "relative flex space-x-3" }, yr = { class: "min-w-0 flex-1 pt-1.5 flex justify-between space-x-4 items-center" }, br = { class: "text-sm text-gray-500" }, vr = ["onClick"], xr = { class: "text-right text-sm whitespace-nowrap text-gray-500" }, pr = ["datetime"], wr = {
|
|
4200
4189
|
key: 1,
|
|
4201
4190
|
class: "bg-lime-50 px-4 py-4 sm:px-6 z-10"
|
|
4202
|
-
},
|
|
4191
|
+
}, kr = { class: "text-sm" }, $r = {
|
|
4203
4192
|
key: 2,
|
|
4204
4193
|
class: "h-full w-full flex items-center justify-center flex-col px-4 py-5 sm:p-6"
|
|
4205
|
-
},
|
|
4194
|
+
}, Cr = {
|
|
4206
4195
|
key: 1,
|
|
4207
4196
|
class: "bg-white overflow-hidden shadow rounded-lg"
|
|
4208
|
-
},
|
|
4197
|
+
}, Sr = { class: "px-4 py-5 sm:p-6 animate-pulse" }, Br = { class: "flow-root" }, Mr = {
|
|
4209
4198
|
class: "-mb-8",
|
|
4210
4199
|
role: "list"
|
|
4211
|
-
},
|
|
4200
|
+
}, jr = { class: "relative pb-8" }, Tr = {
|
|
4212
4201
|
key: 0,
|
|
4213
4202
|
class: "absolute left-4 top-4 -ml-px h-full w-0.5 bg-gray-200",
|
|
4214
4203
|
"aria-hidden": "true"
|
|
4215
|
-
},
|
|
4204
|
+
}, Dr = /* @__PURE__ */ B({
|
|
4216
4205
|
__name: "uiTimeline",
|
|
4217
4206
|
props: {
|
|
4218
4207
|
name: {},
|
|
@@ -4224,18 +4213,18 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4224
4213
|
emits: ["timelineEventClicked", "timelineFooterClicked"],
|
|
4225
4214
|
setup(e, { emit: u }) {
|
|
4226
4215
|
const o = me(e.timeline);
|
|
4227
|
-
return (s, r) => e.loading ? (l(), a("div",
|
|
4216
|
+
return (s, r) => e.loading ? (l(), a("div", Cr, [
|
|
4228
4217
|
r[3] || (r[3] = t("div", { class: "px-4 py-5 sm:px-6 animate-pulse" }, [
|
|
4229
4218
|
t("h1", { class: "text-xl font-bold" }, [
|
|
4230
4219
|
t("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4" })
|
|
4231
4220
|
])
|
|
4232
4221
|
], -1)),
|
|
4233
|
-
t("div",
|
|
4234
|
-
t("div",
|
|
4235
|
-
t("ul",
|
|
4222
|
+
t("div", Sr, [
|
|
4223
|
+
t("div", Br, [
|
|
4224
|
+
t("ul", Mr, [
|
|
4236
4225
|
(l(), a($, null, S(10, (n, d) => t("li", { key: d }, [
|
|
4237
|
-
t("div",
|
|
4238
|
-
n !== 10 ? (l(), a("span",
|
|
4226
|
+
t("div", jr, [
|
|
4227
|
+
n !== 10 ? (l(), a("span", Tr)) : x("", !0),
|
|
4239
4228
|
r[2] || (r[2] = ae('<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))
|
|
4240
4229
|
])
|
|
4241
4230
|
])), 64))
|
|
@@ -4249,26 +4238,26 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4249
4238
|
], -1))
|
|
4250
4239
|
])) : (l(), a("div", {
|
|
4251
4240
|
key: 0,
|
|
4252
|
-
class:
|
|
4241
|
+
class: b(["h-[" + e.height + "px]", "bg-white overflow-hidden shadow rounded-lg"])
|
|
4253
4242
|
}, [
|
|
4254
|
-
t("div",
|
|
4255
|
-
t("h1",
|
|
4243
|
+
t("div", dr, [
|
|
4244
|
+
t("h1", cr, c(e.name), 1)
|
|
4256
4245
|
]),
|
|
4257
|
-
o.items.length > 0 ? (l(), a("div",
|
|
4258
|
-
t("div",
|
|
4259
|
-
g(
|
|
4246
|
+
o.items.length > 0 ? (l(), a("div", ur, [
|
|
4247
|
+
t("div", gr, [
|
|
4248
|
+
g(Zt, {
|
|
4260
4249
|
name: "list",
|
|
4261
4250
|
tag: "ul",
|
|
4262
4251
|
class: "-mb-8"
|
|
4263
4252
|
}, {
|
|
4264
4253
|
default: h(() => [
|
|
4265
4254
|
(l(!0), a($, null, S(o.items, (n, d) => (l(), a("li", { key: d }, [
|
|
4266
|
-
t("div",
|
|
4267
|
-
d < o.items.length - 1 ? (l(), a("span",
|
|
4268
|
-
t("div",
|
|
4255
|
+
t("div", mr, [
|
|
4256
|
+
d < o.items.length - 1 ? (l(), a("span", fr)) : x("", !0),
|
|
4257
|
+
t("div", hr, [
|
|
4269
4258
|
t("div", null, [
|
|
4270
4259
|
t("span", {
|
|
4271
|
-
class:
|
|
4260
|
+
class: b([{
|
|
4272
4261
|
"bg-lime-400": n?.iconBackground === "default" || !n?.iconBackground || n?.iconBackground === "success",
|
|
4273
4262
|
"bg-red-600": n?.iconBackground === "danger",
|
|
4274
4263
|
"bg-yellow-400": n?.iconBackground === "warning"
|
|
@@ -4283,20 +4272,20 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4283
4272
|
}, null, 8, ["loading", "icon"])
|
|
4284
4273
|
], 2)
|
|
4285
4274
|
]),
|
|
4286
|
-
t("div",
|
|
4275
|
+
t("div", yr, [
|
|
4287
4276
|
t("div", null, [
|
|
4288
|
-
t("p",
|
|
4277
|
+
t("p", br, [
|
|
4289
4278
|
t("a", {
|
|
4290
4279
|
onClick: (f) => s.$emit("timelineEventClicked", n.linkId),
|
|
4291
4280
|
class: "font-medium text-black hover:text-lime-400 cursor-pointer"
|
|
4292
|
-
}, c(n?.target), 9,
|
|
4281
|
+
}, c(n?.target), 9, vr),
|
|
4293
4282
|
M(" " + c(n?.content), 1)
|
|
4294
4283
|
])
|
|
4295
4284
|
]),
|
|
4296
|
-
t("div",
|
|
4285
|
+
t("div", xr, [
|
|
4297
4286
|
t("time", {
|
|
4298
4287
|
datetime: n?.datetime
|
|
4299
|
-
}, c(n?.date), 9,
|
|
4288
|
+
}, c(n?.date), 9, pr)
|
|
4300
4289
|
])
|
|
4301
4290
|
])
|
|
4302
4291
|
])
|
|
@@ -4307,14 +4296,14 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4307
4296
|
})
|
|
4308
4297
|
])
|
|
4309
4298
|
])) : x("", !0),
|
|
4310
|
-
o.items.length > 0 ? (l(), a("div",
|
|
4311
|
-
t("div",
|
|
4299
|
+
o.items.length > 0 ? (l(), a("div", wr, [
|
|
4300
|
+
t("div", kr, [
|
|
4312
4301
|
t("a", {
|
|
4313
4302
|
class: "cursor-pointer font-medium text-black hover:text-lime-400",
|
|
4314
4303
|
onClick: r[0] || (r[0] = (n) => s.$emit("timelineFooterClicked", e.timeline.id))
|
|
4315
4304
|
}, c(e.timeline.footerText), 1)
|
|
4316
4305
|
])
|
|
4317
|
-
])) : (l(), a("div",
|
|
4306
|
+
])) : (l(), a("div", $r, [
|
|
4318
4307
|
g(F, {
|
|
4319
4308
|
icon: m(ee),
|
|
4320
4309
|
color: "gray",
|
|
@@ -4325,10 +4314,10 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4325
4314
|
]))
|
|
4326
4315
|
], 2));
|
|
4327
4316
|
}
|
|
4328
|
-
}),
|
|
4317
|
+
}), zr = { class: "mx-auto px-6 lg:px-8" }, Ar = { class: "flex justify-between h-20" }, Lr = { class: "flex" }, Fr = { class: "-ml-2 mr-2 flex items-center lg:hidden" }, Pr = ["src"], Or = { class: "flex items-center" }, Nr = { class: "lg:ml-4 lg:flex-shrink-0 lg:flex lg:items-center hidden" }, Ir = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute -top-0 -left-1" }, Vr = ["src"], qr = ["onClick"], Yr = { class: "pt-2 pb-3 space-y-1" }, Rr = ["onClick"], Hr = { class: "pt-4 pb-3 border-t border-gray-200" }, Ur = { class: "flex items-center px-4 sm:px-6" }, Er = { class: "flex-shrink-0" }, _r = ["src"], Zr = {
|
|
4329
4318
|
key: 0,
|
|
4330
4319
|
class: "ml-3"
|
|
4331
|
-
},
|
|
4320
|
+
}, Wr = { class: "text-base font-medium text-gray-800" }, Jr = { class: "text-sm font-medium text-gray-500" }, Gr = { class: "mt-3 space-y-1" }, Qr = ["onClick"], Kr = /* @__PURE__ */ B({
|
|
4332
4321
|
__name: "uiTopbar",
|
|
4333
4322
|
props: {
|
|
4334
4323
|
logo: {},
|
|
@@ -4346,10 +4335,10 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4346
4335
|
class: "bg-white shadow z-10"
|
|
4347
4336
|
}, {
|
|
4348
4337
|
default: h(({ open: n }) => [
|
|
4349
|
-
t("div",
|
|
4350
|
-
t("div",
|
|
4351
|
-
t("div",
|
|
4352
|
-
t("div",
|
|
4338
|
+
t("div", zr, [
|
|
4339
|
+
t("div", Ar, [
|
|
4340
|
+
t("div", Lr, [
|
|
4341
|
+
t("div", Fr, [
|
|
4353
4342
|
g(m(le), { 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" }, {
|
|
4354
4343
|
default: h(() => [
|
|
4355
4344
|
r[1] || (r[1] = t("span", { class: "sr-only" }, "Open main menu", -1)),
|
|
@@ -4374,11 +4363,11 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4374
4363
|
class: "h-10",
|
|
4375
4364
|
src: e.logo,
|
|
4376
4365
|
alt: "Hotelinking suite product logo"
|
|
4377
|
-
}, null, 8,
|
|
4366
|
+
}, null, 8, Pr)
|
|
4378
4367
|
])
|
|
4379
4368
|
]),
|
|
4380
|
-
t("div",
|
|
4381
|
-
t("div",
|
|
4369
|
+
t("div", Or, [
|
|
4370
|
+
t("div", Nr, [
|
|
4382
4371
|
g(m(Pe), {
|
|
4383
4372
|
as: "div",
|
|
4384
4373
|
class: "ml-3 relative"
|
|
@@ -4387,7 +4376,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4387
4376
|
t("div", null, [
|
|
4388
4377
|
j(g(m(Oe), { class: "bg-white rounded-full flex text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 relative" }, {
|
|
4389
4378
|
default: h(() => [
|
|
4390
|
-
j(t("div",
|
|
4379
|
+
j(t("div", Ir, [...r[2] || (r[2] = [
|
|
4391
4380
|
t("span", { class: "animate-ping absolute inline-flex h-4 w-4 bg-red-500 rounded-full opacity-75" }, null, -1)
|
|
4392
4381
|
])], 512), [
|
|
4393
4382
|
[A, e.alerted]
|
|
@@ -4395,7 +4384,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4395
4384
|
t("img", {
|
|
4396
4385
|
class: "h-10 w-10 rounded-full",
|
|
4397
4386
|
src: e.accountLogo
|
|
4398
|
-
}, null, 8,
|
|
4387
|
+
}, null, 8, Vr)
|
|
4399
4388
|
]),
|
|
4400
4389
|
_: 1
|
|
4401
4390
|
}, 512), [
|
|
@@ -4419,11 +4408,11 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4419
4408
|
default: h(({ active: f }) => [
|
|
4420
4409
|
t("p", {
|
|
4421
4410
|
onClick: (v) => s.$emit("topBarClick", d.id),
|
|
4422
|
-
class:
|
|
4411
|
+
class: b(["cursor-pointer", [
|
|
4423
4412
|
f ? "bg-gray-100" : "",
|
|
4424
4413
|
"block px-4 py-2 text-sm text-gray-700"
|
|
4425
4414
|
]])
|
|
4426
|
-
}, c(d.name), 11,
|
|
4415
|
+
}, c(d.name), 11, qr)
|
|
4427
4416
|
]),
|
|
4428
4417
|
_: 2
|
|
4429
4418
|
}, 1024))), 128))
|
|
@@ -4442,11 +4431,11 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4442
4431
|
]),
|
|
4443
4432
|
g(m(Se), { class: "lg:hidden" }, {
|
|
4444
4433
|
default: h(() => [
|
|
4445
|
-
t("div",
|
|
4434
|
+
t("div", Yr, [
|
|
4446
4435
|
(l(!0), a($, null, S(o.value, (d) => (l(), k(m(le), {
|
|
4447
4436
|
as: "template",
|
|
4448
4437
|
key: d.id,
|
|
4449
|
-
class:
|
|
4438
|
+
class: b(["block pl-3 pr-4 py-2 border-l-4 text-base font-medium sm:pl-5 sm:pr-6", {
|
|
4450
4439
|
"bg-indigo-50 border-indigo-500 text-indigo-700": d.current === !0,
|
|
4451
4440
|
"border-transparent text-gray-500 hover:bg-gray-50 hover:border-gray-300 hover:text-gray-700": !d.current
|
|
4452
4441
|
}])
|
|
@@ -4454,25 +4443,25 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4454
4443
|
default: h(() => [
|
|
4455
4444
|
t("p", {
|
|
4456
4445
|
onClick: (f) => s.$emit("topBarClick", d.id)
|
|
4457
|
-
}, c(d.name), 9,
|
|
4446
|
+
}, c(d.name), 9, Rr)
|
|
4458
4447
|
]),
|
|
4459
4448
|
_: 2
|
|
4460
4449
|
}, 1032, ["class"]))), 128))
|
|
4461
4450
|
]),
|
|
4462
|
-
t("div",
|
|
4463
|
-
t("div",
|
|
4464
|
-
t("div",
|
|
4451
|
+
t("div", Hr, [
|
|
4452
|
+
t("div", Ur, [
|
|
4453
|
+
t("div", Er, [
|
|
4465
4454
|
t("img", {
|
|
4466
4455
|
class: "h-10 w-10 rounded-full",
|
|
4467
4456
|
src: e.accountLogo
|
|
4468
|
-
}, null, 8,
|
|
4457
|
+
}, null, 8, _r)
|
|
4469
4458
|
]),
|
|
4470
|
-
e.brand ? (l(), a("div",
|
|
4471
|
-
t("div",
|
|
4472
|
-
t("div",
|
|
4459
|
+
e.brand ? (l(), a("div", Zr, [
|
|
4460
|
+
t("div", Wr, c(e.brand.title), 1),
|
|
4461
|
+
t("div", Jr, c(e.brand.subtitle), 1)
|
|
4473
4462
|
])) : x("", !0)
|
|
4474
4463
|
]),
|
|
4475
|
-
t("div",
|
|
4464
|
+
t("div", Gr, [
|
|
4476
4465
|
(l(!0), a($, null, S(e.profileMenu, (d) => (l(), k(m(le), {
|
|
4477
4466
|
as: "template",
|
|
4478
4467
|
key: d.name,
|
|
@@ -4481,7 +4470,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4481
4470
|
default: h(() => [
|
|
4482
4471
|
t("p", {
|
|
4483
4472
|
onClick: (f) => s.$emit("topBarClick", d.id)
|
|
4484
|
-
}, c(d.name), 9,
|
|
4473
|
+
}, c(d.name), 9, Qr)
|
|
4485
4474
|
]),
|
|
4486
4475
|
_: 2
|
|
4487
4476
|
}, 1024))), 128))
|
|
@@ -4494,7 +4483,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4494
4483
|
_: 1
|
|
4495
4484
|
}));
|
|
4496
4485
|
}
|
|
4497
|
-
}),
|
|
4486
|
+
}), Xr = { class: "chart-selector flex flex-row items-center justify-center" }, ed = /* @__PURE__ */ B({
|
|
4498
4487
|
__name: "RangeSelector",
|
|
4499
4488
|
props: { range: { type: String } },
|
|
4500
4489
|
emits: ["rangeSelected"],
|
|
@@ -4504,26 +4493,26 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4504
4493
|
const r = (n) => {
|
|
4505
4494
|
s = n, i("rangeSelected", n);
|
|
4506
4495
|
};
|
|
4507
|
-
return (n, d) => (l(), a("ul",
|
|
4496
|
+
return (n, d) => (l(), a("ul", Xr, [
|
|
4508
4497
|
t("li", {
|
|
4509
|
-
class:
|
|
4498
|
+
class: b({ selected: m(s) === "24h" }),
|
|
4510
4499
|
onClick: d[0] || (d[0] = (f) => r("24h"))
|
|
4511
4500
|
}, " 24H ", 2),
|
|
4512
4501
|
t("li", {
|
|
4513
|
-
class:
|
|
4502
|
+
class: b({ selected: m(s) === "7d" }),
|
|
4514
4503
|
onClick: d[1] || (d[1] = (f) => r("7d"))
|
|
4515
4504
|
}, "7D", 2),
|
|
4516
4505
|
t("li", {
|
|
4517
|
-
class:
|
|
4506
|
+
class: b({ selected: m(s) === "1m" }),
|
|
4518
4507
|
onClick: d[2] || (d[2] = (f) => r("1m"))
|
|
4519
4508
|
}, "1M", 2),
|
|
4520
4509
|
t("li", {
|
|
4521
|
-
class:
|
|
4510
|
+
class: b({ selected: m(s) === "3m" }),
|
|
4522
4511
|
onClick: d[3] || (d[3] = (f) => r("3m"))
|
|
4523
4512
|
}, "3M", 2)
|
|
4524
4513
|
]));
|
|
4525
4514
|
}
|
|
4526
|
-
}),
|
|
4515
|
+
}), td = { class: "chart-header flex flex-row justify-between" }, ld = { class: "text-sm font-medium text-gray-500 truncate" }, ad = { class: "chart-content" }, sd = { class: "h-full w-full flex items-center justify-center flex-col" }, nd = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, od = /* @__PURE__ */ B({
|
|
4527
4516
|
__name: "uiFunnelChartV2",
|
|
4528
4517
|
props: {
|
|
4529
4518
|
labels: {},
|
|
@@ -4586,16 +4575,16 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4586
4575
|
};
|
|
4587
4576
|
return (v, p) => (l(), a($, null, [
|
|
4588
4577
|
j(t("div", {
|
|
4589
|
-
class:
|
|
4578
|
+
class: b(["h-[" + e.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow"])
|
|
4590
4579
|
}, [
|
|
4591
|
-
t("div",
|
|
4592
|
-
t("div",
|
|
4593
|
-
g(
|
|
4580
|
+
t("div", td, [
|
|
4581
|
+
t("div", ld, c(e.title), 1),
|
|
4582
|
+
g(ed, {
|
|
4594
4583
|
range: e.range,
|
|
4595
4584
|
onRangeSelected: p[0] || (p[0] = (C) => v.$emit("selectedRange", { range: C, chartId: e.id }))
|
|
4596
4585
|
}, null, 8, ["range"])
|
|
4597
4586
|
]),
|
|
4598
|
-
j(t("div",
|
|
4587
|
+
j(t("div", ad, [
|
|
4599
4588
|
g(He, {
|
|
4600
4589
|
type: e.type,
|
|
4601
4590
|
series: n.value,
|
|
@@ -4609,7 +4598,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4609
4598
|
], 512), [
|
|
4610
4599
|
[A, !e.empty]
|
|
4611
4600
|
]),
|
|
4612
|
-
j(t("div",
|
|
4601
|
+
j(t("div", sd, [
|
|
4613
4602
|
g(F, {
|
|
4614
4603
|
icon: m(ee),
|
|
4615
4604
|
color: "gray",
|
|
@@ -4623,7 +4612,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4623
4612
|
], 2), [
|
|
4624
4613
|
[A, !e.loading]
|
|
4625
4614
|
]),
|
|
4626
|
-
j(t("div",
|
|
4615
|
+
j(t("div", nd, [...p[2] || (p[2] = [
|
|
4627
4616
|
t("div", {
|
|
4628
4617
|
role: "status",
|
|
4629
4618
|
class: "w-full animate-pulse h-full flex flex-col"
|
|
@@ -4654,7 +4643,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4654
4643
|
])
|
|
4655
4644
|
], 64));
|
|
4656
4645
|
}
|
|
4657
|
-
}),
|
|
4646
|
+
}), id = { class: "w-full flex flex-col justify-center p-10 grow" }, rd = { class: "text-center" }, dd = { class: "text-2xl mt-4 font-bold" }, cd = { class: "mt-4" }, ud = { class: "buttons flex mt-8 gap-x-1 justify-center flex-col gap-y-2 md:flex-row md:gap-y-0" }, bt = /* @__PURE__ */ B({
|
|
4658
4647
|
__name: "uiNoResults",
|
|
4659
4648
|
props: {
|
|
4660
4649
|
title: {},
|
|
@@ -4665,7 +4654,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4665
4654
|
},
|
|
4666
4655
|
emits: ["action", "noResultsOptionSelected"],
|
|
4667
4656
|
setup(e) {
|
|
4668
|
-
return (u, i) => (l(), a("div",
|
|
4657
|
+
return (u, i) => (l(), a("div", id, [
|
|
4669
4658
|
g(F, {
|
|
4670
4659
|
class: "mx-auto",
|
|
4671
4660
|
loading: !1,
|
|
@@ -4673,11 +4662,11 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4673
4662
|
size: "massive",
|
|
4674
4663
|
color: "gray"
|
|
4675
4664
|
}, null, 8, ["icon"]),
|
|
4676
|
-
t("div",
|
|
4677
|
-
t("h2",
|
|
4678
|
-
t("p",
|
|
4679
|
-
t("div",
|
|
4680
|
-
(l(!0), a($, null, S(e.actions, (o, s) => (l(), k(
|
|
4665
|
+
t("div", rd, [
|
|
4666
|
+
t("h2", dd, c(e.title), 1),
|
|
4667
|
+
t("p", cd, c(e.message), 1),
|
|
4668
|
+
t("div", ud, [
|
|
4669
|
+
(l(!0), a($, null, S(e.actions, (o, s) => (l(), k(J, {
|
|
4681
4670
|
key: s,
|
|
4682
4671
|
loading: !1,
|
|
4683
4672
|
onClick: (r) => u.$emit("action", o.action)
|
|
@@ -4697,7 +4686,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4697
4686
|
])
|
|
4698
4687
|
]));
|
|
4699
4688
|
}
|
|
4700
|
-
}),
|
|
4689
|
+
}), gd = { class: "fixed inset-0 overflow-hidden" }, md = { class: "absolute inset-0 overflow-hidden" }, fd = { class: "pointer-events-none fixed inset-y-0 right-0 flex max-w-full pl-10" }, hd = { class: "flex h-full flex-col overflow-y-scroll bg-white shadow-xl" }, yd = { class: "bg-lime-400 px-4 py-6 sm:px-6" }, bd = { class: "flex items-center justify-between" }, vd = { class: "ml-3 flex h-7 items-center" }, xd = { class: "mt-1" }, pd = { class: "text-sm" }, wd = { class: "relative flex-1 px-4 py-6 sm:px-6" }, kd = /* @__PURE__ */ B({
|
|
4701
4690
|
__name: "uiRightSidebar",
|
|
4702
4691
|
props: {
|
|
4703
4692
|
title: {},
|
|
@@ -4718,9 +4707,9 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4718
4707
|
}, {
|
|
4719
4708
|
default: h(() => [
|
|
4720
4709
|
o[4] || (o[4] = t("div", { class: "fixed inset-0" }, null, -1)),
|
|
4721
|
-
t("div",
|
|
4722
|
-
t("div",
|
|
4723
|
-
t("div",
|
|
4710
|
+
t("div", gd, [
|
|
4711
|
+
t("div", md, [
|
|
4712
|
+
t("div", fd, [
|
|
4724
4713
|
g(m(ie), {
|
|
4725
4714
|
as: "template",
|
|
4726
4715
|
enter: "transform transition ease-in-out duration-500 sm:duration-700",
|
|
@@ -4733,16 +4722,16 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4733
4722
|
default: h(() => [
|
|
4734
4723
|
g(m(Ye), { class: "pointer-events-auto w-screen max-w-md" }, {
|
|
4735
4724
|
default: h(() => [
|
|
4736
|
-
t("div",
|
|
4737
|
-
t("div",
|
|
4738
|
-
t("div",
|
|
4725
|
+
t("div", hd, [
|
|
4726
|
+
t("div", yd, [
|
|
4727
|
+
t("div", bd, [
|
|
4739
4728
|
g(m(it), { class: "text-base font-semibold leading-6" }, {
|
|
4740
4729
|
default: h(() => [
|
|
4741
4730
|
M(c(e.title), 1)
|
|
4742
4731
|
]),
|
|
4743
4732
|
_: 1
|
|
4744
4733
|
}),
|
|
4745
|
-
t("div",
|
|
4734
|
+
t("div", vd, [
|
|
4746
4735
|
t("button", {
|
|
4747
4736
|
type: "button",
|
|
4748
4737
|
class: "relative rounded-md hover:bg-black hover:text-white outline-none",
|
|
@@ -4757,12 +4746,12 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4757
4746
|
])
|
|
4758
4747
|
])
|
|
4759
4748
|
]),
|
|
4760
|
-
t("div",
|
|
4761
|
-
t("p",
|
|
4749
|
+
t("div", xd, [
|
|
4750
|
+
t("p", pd, c(e.description), 1)
|
|
4762
4751
|
])
|
|
4763
4752
|
]),
|
|
4764
|
-
t("div",
|
|
4765
|
-
|
|
4753
|
+
t("div", wd, [
|
|
4754
|
+
_(i.$slots, "default")
|
|
4766
4755
|
])
|
|
4767
4756
|
])
|
|
4768
4757
|
]),
|
|
@@ -4781,15 +4770,15 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4781
4770
|
_: 3
|
|
4782
4771
|
}, 8, ["show"]));
|
|
4783
4772
|
}
|
|
4784
|
-
}),
|
|
4773
|
+
}), $d = { class: "uiGallery" }, Cd = {
|
|
4785
4774
|
key: 1,
|
|
4786
4775
|
role: "list",
|
|
4787
4776
|
class: "grid grid-cols-2 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-4 lg:grid-cols-6"
|
|
4788
|
-
},
|
|
4777
|
+
}, Sd = { 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" }, Bd = ["src"], Md = ["onClick"], jd = { class: "pointer-events-none mt-2 block truncate text-sm font-medium text-gray-900" }, Td = { class: "flex items-center justify-between" }, Dd = { class: "pointer-events-none block text-sm font-medium" }, zd = {
|
|
4789
4778
|
key: 2,
|
|
4790
4779
|
role: "list",
|
|
4791
4780
|
class: "grid grid-cols-2 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-4 lg:grid-cols-6"
|
|
4792
|
-
},
|
|
4781
|
+
}, Ad = /* @__PURE__ */ B({
|
|
4793
4782
|
__name: "uiGallery",
|
|
4794
4783
|
props: {
|
|
4795
4784
|
galleryId: {},
|
|
@@ -4802,7 +4791,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4802
4791
|
const i = u, o = I(!1), s = (r) => {
|
|
4803
4792
|
o.value = !1, i("modalAction", r);
|
|
4804
4793
|
};
|
|
4805
|
-
return (r, n) => (l(), a("div",
|
|
4794
|
+
return (r, n) => (l(), a("div", $d, [
|
|
4806
4795
|
e.loading ? x("", !0) : (l(), k(ke, {
|
|
4807
4796
|
key: 0,
|
|
4808
4797
|
open: o.value,
|
|
@@ -4817,32 +4806,32 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4817
4806
|
]),
|
|
4818
4807
|
_: 1
|
|
4819
4808
|
}, 8, ["open", "title", "actions"])),
|
|
4820
|
-
e.loading ? (l(), a("ul",
|
|
4809
|
+
e.loading ? (l(), a("ul", zd, [
|
|
4821
4810
|
(l(), a($, null, S(4, (d) => t("li", null, [...n[2] || (n[2] = [
|
|
4822
4811
|
t("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-lime-400 focus-within:ring-offset-2 focus-within:ring-offset-gray-100" }, null, -1),
|
|
4823
4812
|
t("p", { class: "animate-pulse h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28 mt-4" }, null, -1),
|
|
4824
4813
|
t("p", { class: "animate-pulse h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-14 mt-2" }, null, -1)
|
|
4825
4814
|
])])), 64))
|
|
4826
|
-
])) : (l(), a("ul",
|
|
4815
|
+
])) : (l(), a("ul", Cd, [
|
|
4827
4816
|
(l(!0), a($, null, S(e.gallery, (d) => (l(), a("li", {
|
|
4828
4817
|
key: d.source,
|
|
4829
4818
|
class: "relative"
|
|
4830
4819
|
}, [
|
|
4831
|
-
t("div",
|
|
4820
|
+
t("div", Sd, [
|
|
4832
4821
|
t("img", {
|
|
4833
4822
|
src: d.source,
|
|
4834
4823
|
alt: "",
|
|
4835
4824
|
class: "pointer-events-none object-cover group-hover:opacity-75"
|
|
4836
|
-
}, null, 8,
|
|
4825
|
+
}, null, 8, Bd),
|
|
4837
4826
|
t("button", {
|
|
4838
4827
|
type: "button",
|
|
4839
4828
|
class: "absolute inset-0 focus:outline-none",
|
|
4840
4829
|
onClick: (f) => r.$emit("imgClicked", d)
|
|
4841
|
-
}, null, 8,
|
|
4830
|
+
}, null, 8, Md)
|
|
4842
4831
|
]),
|
|
4843
|
-
t("p",
|
|
4844
|
-
t("div",
|
|
4845
|
-
t("p",
|
|
4832
|
+
t("p", jd, c(d.title), 1),
|
|
4833
|
+
t("div", Td, [
|
|
4834
|
+
t("p", Dd, c(d.size), 1),
|
|
4846
4835
|
g(F, {
|
|
4847
4836
|
class: "cursor-pointer",
|
|
4848
4837
|
icon: m(De),
|
|
@@ -4853,7 +4842,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4853
4842
|
])
|
|
4854
4843
|
]))), 128))
|
|
4855
4844
|
])),
|
|
4856
|
-
e.gallery.length > 0 && !e.loading ? (l(), k(
|
|
4845
|
+
e.gallery.length > 0 && !e.loading ? (l(), k(J, {
|
|
4857
4846
|
key: 3,
|
|
4858
4847
|
onClick: n[1] || (n[1] = (d) => o.value = !0),
|
|
4859
4848
|
class: "mt-8",
|
|
@@ -4868,10 +4857,10 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4868
4857
|
})) : x("", !0)
|
|
4869
4858
|
]));
|
|
4870
4859
|
}
|
|
4871
|
-
}),
|
|
4860
|
+
}), Ld = {
|
|
4872
4861
|
key: 1,
|
|
4873
4862
|
class: "animate-pulse"
|
|
4874
|
-
},
|
|
4863
|
+
}, Fd = /* @__PURE__ */ B({
|
|
4875
4864
|
__name: "DraggableWrapper",
|
|
4876
4865
|
emits: ["update:modelValue"],
|
|
4877
4866
|
setup(e) {
|
|
@@ -4889,20 +4878,20 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4889
4878
|
"onUpdate:modelValue": o[0] || (o[0] = (s) => i.$emit("update:modelValue", s))
|
|
4890
4879
|
}), {
|
|
4891
4880
|
default: h(() => [
|
|
4892
|
-
|
|
4881
|
+
_(i.$slots, "default")
|
|
4893
4882
|
]),
|
|
4894
4883
|
_: 3
|
|
4895
|
-
}, 16)) : (l(), a("div",
|
|
4884
|
+
}, 16)) : (l(), a("div", Ld, [...o[1] || (o[1] = [
|
|
4896
4885
|
t("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" }, null, -1),
|
|
4897
4886
|
t("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" }, null, -1),
|
|
4898
4887
|
t("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" }, null, -1)
|
|
4899
4888
|
])]))
|
|
4900
4889
|
]));
|
|
4901
4890
|
}
|
|
4902
|
-
}),
|
|
4891
|
+
}), Pd = { 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" }, Od = { class: "flex flex-row items-center w-full" }, Nd = { class: "content text-sm grow" }, Id = { class: "font-bold" }, Vd = { key: 0 }, qd = { class: "font-bold text-gray-400" }, Yd = {
|
|
4903
4892
|
key: 1,
|
|
4904
4893
|
class: "animate-pulse"
|
|
4905
|
-
},
|
|
4894
|
+
}, Rd = /* @__PURE__ */ B({
|
|
4906
4895
|
__name: "uiDragAndDrop",
|
|
4907
4896
|
props: {
|
|
4908
4897
|
elements: {},
|
|
@@ -4912,15 +4901,15 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4912
4901
|
setup(e, { emit: u }) {
|
|
4913
4902
|
const i = u, o = e;
|
|
4914
4903
|
let s = I(o.elements);
|
|
4915
|
-
|
|
4904
|
+
W(() => o.elements, (n) => {
|
|
4916
4905
|
s.value = n;
|
|
4917
4906
|
});
|
|
4918
4907
|
const r = (n) => {
|
|
4919
4908
|
i("dragAndDropUpdated", n);
|
|
4920
4909
|
};
|
|
4921
|
-
return (n, d) => e.loading ? (l(), a("div",
|
|
4910
|
+
return (n, d) => e.loading ? (l(), a("div", Yd, [...d[2] || (d[2] = [
|
|
4922
4911
|
ae('<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)
|
|
4923
|
-
])])) : (l(), k(
|
|
4912
|
+
])])) : (l(), k(Fd, {
|
|
4924
4913
|
key: 0,
|
|
4925
4914
|
modelValue: m(s),
|
|
4926
4915
|
"onUpdate:modelValue": [
|
|
@@ -4929,8 +4918,8 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4929
4918
|
]
|
|
4930
4919
|
}, {
|
|
4931
4920
|
item: h(({ item: f }) => [
|
|
4932
|
-
t("div",
|
|
4933
|
-
t("div",
|
|
4921
|
+
t("div", Pd, [
|
|
4922
|
+
t("div", Od, [
|
|
4934
4923
|
g(F, {
|
|
4935
4924
|
icon: m(vl),
|
|
4936
4925
|
loading: !1,
|
|
@@ -4938,18 +4927,18 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4938
4927
|
class: "mr-4",
|
|
4939
4928
|
size: "big"
|
|
4940
4929
|
}, null, 8, ["icon"]),
|
|
4941
|
-
t("div",
|
|
4942
|
-
t("p",
|
|
4943
|
-
f.description ? (l(), a("p",
|
|
4930
|
+
t("div", Nd, [
|
|
4931
|
+
t("p", Id, c(f.name), 1),
|
|
4932
|
+
f.description ? (l(), a("p", Vd, c(f.description), 1)) : x("", !0)
|
|
4944
4933
|
]),
|
|
4945
|
-
t("div",
|
|
4934
|
+
t("div", qd, c(m(s).indexOf(f) + 1), 1)
|
|
4946
4935
|
])
|
|
4947
4936
|
])
|
|
4948
4937
|
]),
|
|
4949
4938
|
_: 1
|
|
4950
4939
|
}, 8, ["modelValue"]));
|
|
4951
4940
|
}
|
|
4952
|
-
}),
|
|
4941
|
+
}), Hd = { class: "chart-header flex flex-row justify-between" }, Ud = { class: "text-sm font-medium text-gray-500 truncate" }, Ed = { class: "hidden sm:flex items-center" }, _d = { class: "w-1/2 min-w-0 flex-1" }, Zd = ["max"], Wd = { class: "min-w-0 flex-1" }, Jd = ["max"], Gd = { class: "chart-content" }, Qd = { class: "h-full w-full flex items-center justify-center flex-col" }, Kd = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, Xd = /* @__PURE__ */ B({
|
|
4953
4942
|
__name: "uiCircleChart",
|
|
4954
4943
|
props: {
|
|
4955
4944
|
labels: {},
|
|
@@ -4973,7 +4962,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
4973
4962
|
setup(e, { emit: u }) {
|
|
4974
4963
|
const i = u, o = e, s = I((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":")));
|
|
4975
4964
|
let r = me(o.dates || { from: "", to: s });
|
|
4976
|
-
|
|
4965
|
+
W(() => o.dates, (U) => {
|
|
4977
4966
|
U && (r = U);
|
|
4978
4967
|
});
|
|
4979
4968
|
let n = {
|
|
@@ -5015,12 +5004,12 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5015
5004
|
};
|
|
5016
5005
|
return (U, T) => (l(), a($, null, [
|
|
5017
5006
|
j(t("div", {
|
|
5018
|
-
class:
|
|
5007
|
+
class: b(["h-[" + e.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow"])
|
|
5019
5008
|
}, [
|
|
5020
|
-
t("div",
|
|
5021
|
-
t("div",
|
|
5022
|
-
t("div",
|
|
5023
|
-
t("div",
|
|
5009
|
+
t("div", Hd, [
|
|
5010
|
+
t("div", Ud, c(e.title), 1),
|
|
5011
|
+
t("div", Ed, [
|
|
5012
|
+
t("div", _d, [
|
|
5024
5013
|
j(t("input", {
|
|
5025
5014
|
type: "datetime-local",
|
|
5026
5015
|
"onUpdate:modelValue": T[0] || (T[0] = (V) => m(r).from = V),
|
|
@@ -5029,11 +5018,11 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5029
5018
|
name: "from",
|
|
5030
5019
|
id: "from",
|
|
5031
5020
|
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"
|
|
5032
|
-
}, null, 40,
|
|
5021
|
+
}, null, 40, Zd), [
|
|
5033
5022
|
[ce, m(r).from]
|
|
5034
5023
|
])
|
|
5035
5024
|
]),
|
|
5036
|
-
t("div",
|
|
5025
|
+
t("div", Wd, [
|
|
5037
5026
|
j(t("input", {
|
|
5038
5027
|
type: "datetime-local",
|
|
5039
5028
|
"onUpdate:modelValue": T[1] || (T[1] = (V) => m(r).to = V),
|
|
@@ -5042,7 +5031,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5042
5031
|
name: "to",
|
|
5043
5032
|
id: "to",
|
|
5044
5033
|
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"
|
|
5045
|
-
}, null, 40,
|
|
5034
|
+
}, null, 40, Jd), [
|
|
5046
5035
|
[ce, m(r).to]
|
|
5047
5036
|
])
|
|
5048
5037
|
]),
|
|
@@ -5055,7 +5044,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5055
5044
|
}, null, 8, ["loading", "icon"])
|
|
5056
5045
|
])
|
|
5057
5046
|
]),
|
|
5058
|
-
j(t("div",
|
|
5047
|
+
j(t("div", Gd, [
|
|
5059
5048
|
g(He, {
|
|
5060
5049
|
class: "flex items-center justify-center mt-4",
|
|
5061
5050
|
type: "donut",
|
|
@@ -5069,7 +5058,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5069
5058
|
], 512), [
|
|
5070
5059
|
[A, !e.empty]
|
|
5071
5060
|
]),
|
|
5072
|
-
j(t("div",
|
|
5061
|
+
j(t("div", Qd, [
|
|
5073
5062
|
g(F, {
|
|
5074
5063
|
icon: m(ee),
|
|
5075
5064
|
color: "gray",
|
|
@@ -5083,7 +5072,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5083
5072
|
], 2), [
|
|
5084
5073
|
[A, !e.loading]
|
|
5085
5074
|
]),
|
|
5086
|
-
j(t("div",
|
|
5075
|
+
j(t("div", Kd, [...T[4] || (T[4] = [
|
|
5087
5076
|
t("div", {
|
|
5088
5077
|
role: "status",
|
|
5089
5078
|
class: "w-full animate-pulse h-full flex flex-col"
|
|
@@ -5114,13 +5103,13 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5114
5103
|
])
|
|
5115
5104
|
], 64));
|
|
5116
5105
|
}
|
|
5117
|
-
}),
|
|
5106
|
+
}), ec = {
|
|
5118
5107
|
key: 0,
|
|
5119
5108
|
class: "flex flex-col lg:flex-row w-full gap-y-4 gap-x-2"
|
|
5120
|
-
},
|
|
5109
|
+
}, tc = {
|
|
5121
5110
|
key: 1,
|
|
5122
5111
|
class: "flex flex-col lg:flex-row w-full gap-y-4 gap-x-2"
|
|
5123
|
-
},
|
|
5112
|
+
}, lc = /* @__PURE__ */ B({
|
|
5124
5113
|
__name: "uiDateRange",
|
|
5125
5114
|
props: {
|
|
5126
5115
|
id: {},
|
|
@@ -5138,13 +5127,13 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5138
5127
|
const i = e, o = I((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":")));
|
|
5139
5128
|
let s = me(i.values || { from: "", to: o });
|
|
5140
5129
|
const r = u;
|
|
5141
|
-
|
|
5130
|
+
W(() => i.values, (d) => {
|
|
5142
5131
|
d && (s = d);
|
|
5143
5132
|
});
|
|
5144
5133
|
const n = () => {
|
|
5145
5134
|
r("uiDateRangeButtonClicked", s);
|
|
5146
5135
|
};
|
|
5147
|
-
return (d, f) => e.loading ? (l(), a("div",
|
|
5136
|
+
return (d, f) => e.loading ? (l(), a("div", tc, [
|
|
5148
5137
|
g(se, {
|
|
5149
5138
|
name: "dateFrom",
|
|
5150
5139
|
loading: !0
|
|
@@ -5153,13 +5142,13 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5153
5142
|
name: "dateTo",
|
|
5154
5143
|
loading: !0
|
|
5155
5144
|
}),
|
|
5156
|
-
g(
|
|
5145
|
+
g(J, { loading: !0 }, {
|
|
5157
5146
|
default: h(() => [...f[2] || (f[2] = [
|
|
5158
5147
|
M("Search", -1)
|
|
5159
5148
|
])]),
|
|
5160
5149
|
_: 1
|
|
5161
5150
|
})
|
|
5162
|
-
])) : (l(), a("div",
|
|
5151
|
+
])) : (l(), a("div", ec, [
|
|
5163
5152
|
g(se, {
|
|
5164
5153
|
type: "datetime-local",
|
|
5165
5154
|
loading: !1,
|
|
@@ -5176,7 +5165,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5176
5165
|
g(se, {
|
|
5177
5166
|
type: "datetime-local",
|
|
5178
5167
|
loading: !1,
|
|
5179
|
-
class:
|
|
5168
|
+
class: b([{ "mt-6": e.label }]),
|
|
5180
5169
|
addOn: e.literals.to,
|
|
5181
5170
|
name: `dateTo_${e.id}`,
|
|
5182
5171
|
color: e.color,
|
|
@@ -5187,11 +5176,11 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5187
5176
|
max: o.value.toString(),
|
|
5188
5177
|
onInputChanged: f[1] || (f[1] = (v) => m(s).to = v.value)
|
|
5189
5178
|
}, null, 8, ["class", "addOn", "name", "color", "value", "error", "disabled", "max"]),
|
|
5190
|
-
g(
|
|
5179
|
+
g(J, {
|
|
5191
5180
|
disabled: e.disabled,
|
|
5192
5181
|
color: "primary",
|
|
5193
5182
|
loading: !1,
|
|
5194
|
-
class:
|
|
5183
|
+
class: b([{ "mt-6": e.label }, "h-10"]),
|
|
5195
5184
|
onClick: n
|
|
5196
5185
|
}, {
|
|
5197
5186
|
default: h(() => [
|
|
@@ -5201,17 +5190,17 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5201
5190
|
}, 8, ["disabled", "class"])
|
|
5202
5191
|
]));
|
|
5203
5192
|
}
|
|
5204
|
-
}),
|
|
5193
|
+
}), ac = { class: "flex justify-between items-center" }, sc = {
|
|
5205
5194
|
key: 0,
|
|
5206
5195
|
class: "block text-sm font-medium"
|
|
5207
|
-
},
|
|
5196
|
+
}, nc = {
|
|
5208
5197
|
key: 1,
|
|
5209
5198
|
"data-test": "required",
|
|
5210
5199
|
class: "place-self-center text-[10px] uppercase justify-self-end"
|
|
5211
|
-
},
|
|
5200
|
+
}, oc = {
|
|
5212
5201
|
key: 1,
|
|
5213
5202
|
class: "h-2 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 w-full"
|
|
5214
|
-
},
|
|
5203
|
+
}, ic = /* @__PURE__ */ B({
|
|
5215
5204
|
__name: "uiRangeSlider",
|
|
5216
5205
|
props: {
|
|
5217
5206
|
loading: { type: Boolean, default: !0 },
|
|
@@ -5226,14 +5215,14 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5226
5215
|
setup(e, { emit: u }) {
|
|
5227
5216
|
const i = u, s = I(e.sliderValue);
|
|
5228
5217
|
return (r, n) => (l(), a("div", null, [
|
|
5229
|
-
t("div",
|
|
5230
|
-
e.label ? (l(), a("label",
|
|
5231
|
-
e.requiredText ? (l(), a("span",
|
|
5218
|
+
t("div", ac, [
|
|
5219
|
+
e.label ? (l(), a("label", sc, c(e.label), 1)) : x("", !0),
|
|
5220
|
+
e.requiredText ? (l(), a("span", nc, c(e.requiredText), 1)) : x("", !0)
|
|
5232
5221
|
]),
|
|
5233
5222
|
t("div", {
|
|
5234
|
-
class:
|
|
5223
|
+
class: b([{ "mt-1": e.label }, "pt-16 px-6 pb-6 bg-gray-50 border border-gray-300 rounded-lg shadow-sm"])
|
|
5235
5224
|
}, [
|
|
5236
|
-
e.loading ? (l(), a("p",
|
|
5225
|
+
e.loading ? (l(), a("p", oc)) : (l(), k(m(nl), {
|
|
5237
5226
|
key: 0,
|
|
5238
5227
|
modelValue: s.value,
|
|
5239
5228
|
"onUpdate:modelValue": n[0] || (n[0] = (d) => s.value = d),
|
|
@@ -5249,7 +5238,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5249
5238
|
], 2)
|
|
5250
5239
|
]));
|
|
5251
5240
|
}
|
|
5252
|
-
}),
|
|
5241
|
+
}), rc = { class: "mt-1 mb-8 text-sm" }, dc = /* @__PURE__ */ B({
|
|
5253
5242
|
__name: "uiSectionTitle",
|
|
5254
5243
|
props: {
|
|
5255
5244
|
title: {},
|
|
@@ -5258,18 +5247,18 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5258
5247
|
setup(e) {
|
|
5259
5248
|
return (u, i) => (l(), a($, null, [
|
|
5260
5249
|
t("h3", {
|
|
5261
|
-
class:
|
|
5250
|
+
class: b(["text-lg font-medium leading-6", { "mb-8": e.description === void 0 }])
|
|
5262
5251
|
}, c(e.title), 3),
|
|
5263
|
-
t("p",
|
|
5252
|
+
t("p", rc, c(e.description), 1)
|
|
5264
5253
|
], 64));
|
|
5265
5254
|
}
|
|
5266
|
-
}),
|
|
5255
|
+
}), cc = {
|
|
5267
5256
|
key: 0,
|
|
5268
5257
|
class: "col-span-1 flex flex-col divide-y divide-gray-200 rounded-lg bg-white text-center shadow"
|
|
5269
|
-
},
|
|
5258
|
+
}, uc = { class: "flex flex-1 flex-col p-8" }, gc = { class: "text-2xl font-bold" }, mc = { class: "mt-1 flex flex-grow flex-col justify-between" }, fc = { class: "mt-3 flex flex-wrap gap-x-1 gap-y-1 justify-center" }, hc = {
|
|
5270
5259
|
key: 1,
|
|
5271
5260
|
class: "col-span-1 flex flex-col divide-y divide-gray-200 rounded-lg bg-white text-center shadow"
|
|
5272
|
-
},
|
|
5261
|
+
}, yc = { class: "flex flex-1 flex-col p-8" }, bc = { class: "rounded-md p-3 flex items-center justify-center mx-auto mb-4 bg-gray-200" }, vc = { class: "mt-1 flex flex-grow flex-col justify-between" }, xc = { class: "mt-3 flex flex-wrap gap-x-1 gap-y-1 justify-center" }, pc = /* @__PURE__ */ B({
|
|
5273
5262
|
__name: "uiDeviceStatus",
|
|
5274
5263
|
props: {
|
|
5275
5264
|
id: {},
|
|
@@ -5282,9 +5271,9 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5282
5271
|
},
|
|
5283
5272
|
emits: ["deviceStatusTagClicked", "deviceStatusQtyClicked"],
|
|
5284
5273
|
setup(e, { emit: u }) {
|
|
5285
|
-
return (i, o) => e.loading ? (l(), a("div",
|
|
5286
|
-
t("div",
|
|
5287
|
-
t("div",
|
|
5274
|
+
return (i, o) => e.loading ? (l(), a("div", hc, [
|
|
5275
|
+
t("div", yc, [
|
|
5276
|
+
t("div", bc, [
|
|
5288
5277
|
g(F, {
|
|
5289
5278
|
icon: e.icon,
|
|
5290
5279
|
size: "huge",
|
|
@@ -5294,8 +5283,8 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5294
5283
|
}, null, 8, ["icon", "loading"])
|
|
5295
5284
|
]),
|
|
5296
5285
|
o[3] || (o[3] = t("div", { class: "h-4 bg-gray-200 rounded-full dark:bg-gray-300 w-1/3 mx-auto" }, null, -1)),
|
|
5297
|
-
t("dl",
|
|
5298
|
-
t("dd",
|
|
5286
|
+
t("dl", vc, [
|
|
5287
|
+
t("dd", xc, [
|
|
5299
5288
|
(l(!0), a($, null, S(e.tags, (s, r) => (l(), k(G, {
|
|
5300
5289
|
key: r,
|
|
5301
5290
|
loading: e.loading,
|
|
@@ -5311,10 +5300,10 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5311
5300
|
])
|
|
5312
5301
|
])
|
|
5313
5302
|
])
|
|
5314
|
-
])) : (l(), a("div",
|
|
5315
|
-
t("div",
|
|
5303
|
+
])) : (l(), a("div", cc, [
|
|
5304
|
+
t("div", uc, [
|
|
5316
5305
|
t("div", {
|
|
5317
|
-
class:
|
|
5306
|
+
class: b(["rounded-md p-3 flex items-center justify-center mx-auto mb-4", {
|
|
5318
5307
|
"bg-lime-400": e.color === "green" || e.color === "primary" || !e.color,
|
|
5319
5308
|
"bg-red-600": e.color === "red",
|
|
5320
5309
|
"bg-yellow-400": e.color === "yellow",
|
|
@@ -5330,7 +5319,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5330
5319
|
loading: !1
|
|
5331
5320
|
}, null, 8, ["icon"])
|
|
5332
5321
|
], 2),
|
|
5333
|
-
t("h3",
|
|
5322
|
+
t("h3", gc, [
|
|
5334
5323
|
M(c(e.name) + " ", 1),
|
|
5335
5324
|
j(t("span", {
|
|
5336
5325
|
class: "text-black hover:text-lime-400 underline cursor-pointer",
|
|
@@ -5339,8 +5328,8 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5339
5328
|
[A, e.qty > 0]
|
|
5340
5329
|
])
|
|
5341
5330
|
]),
|
|
5342
|
-
t("dl",
|
|
5343
|
-
t("dd",
|
|
5331
|
+
t("dl", mc, [
|
|
5332
|
+
t("dd", fc, [
|
|
5344
5333
|
(l(!0), a($, null, S(e.tags, (s, r) => (l(), k(G, {
|
|
5345
5334
|
key: r,
|
|
5346
5335
|
loading: !1,
|
|
@@ -5358,7 +5347,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5358
5347
|
])
|
|
5359
5348
|
]));
|
|
5360
5349
|
}
|
|
5361
|
-
}),
|
|
5350
|
+
}), wc = { class: "fixed inset-0 flex" }, kc = { class: "absolute left-full top-0 flex w-16 justify-center pt-5" }, $c = { class: "hidden lg:fixed lg:inset-y-0 lg:z-50 lg:flex lg:w-[25rem] lg:flex-col" }, Cc = { class: "lg:pl-[25rem]" }, Sc = { 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" }, Bc = { class: "flex flex-1 gap-x-4 self-stretch lg:gap-x-6" }, Mc = { class: "flex items-center gap-x-4 lg:gap-x-6" }, jc = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute top-1 left-2" }, Tc = ["src"], Dc = { class: "hidden lg:flex lg:items-center" }, zc = ["onClick"], Ac = { class: "py-7" }, Lc = { class: "px-7 lg:px-10" }, Fc = /* @__PURE__ */ B({
|
|
5362
5351
|
__name: "uiWrapper",
|
|
5363
5352
|
props: {
|
|
5364
5353
|
topbar: {},
|
|
@@ -5395,7 +5384,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5395
5384
|
])]),
|
|
5396
5385
|
_: 1
|
|
5397
5386
|
}),
|
|
5398
|
-
t("div",
|
|
5387
|
+
t("div", wc, [
|
|
5399
5388
|
g(m(ie), {
|
|
5400
5389
|
as: "template",
|
|
5401
5390
|
enter: "transition ease-in-out duration-300 transform",
|
|
@@ -5418,7 +5407,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5418
5407
|
"leave-to": "opacity-0"
|
|
5419
5408
|
}, {
|
|
5420
5409
|
default: h(() => [
|
|
5421
|
-
t("div",
|
|
5410
|
+
t("div", kc, [
|
|
5422
5411
|
t("button", {
|
|
5423
5412
|
type: "button",
|
|
5424
5413
|
class: "-m-2.5 p-2.5",
|
|
@@ -5459,7 +5448,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5459
5448
|
]),
|
|
5460
5449
|
_: 1
|
|
5461
5450
|
}, 8, ["show"]),
|
|
5462
|
-
t("div",
|
|
5451
|
+
t("div", $c, [
|
|
5463
5452
|
g(Ae, {
|
|
5464
5453
|
productsSidebar: e.sidebar.productsSidebar,
|
|
5465
5454
|
isFilterNavigation: e.sidebar.isFilterNavigation,
|
|
@@ -5473,8 +5462,8 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5473
5462
|
onInputChanged: d[7] || (d[7] = (f) => n.$emit("inputChanged", f))
|
|
5474
5463
|
}, null, 8, ["productsSidebar", "isFilterNavigation", "navigation", "filterNavigation", "logo"])
|
|
5475
5464
|
]),
|
|
5476
|
-
t("div",
|
|
5477
|
-
t("div",
|
|
5465
|
+
t("div", Cc, [
|
|
5466
|
+
t("div", Sc, [
|
|
5478
5467
|
t("button", {
|
|
5479
5468
|
type: "button",
|
|
5480
5469
|
class: "-m-2.5 p-2.5 text-gray-700 lg:hidden",
|
|
@@ -5490,7 +5479,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5490
5479
|
class: "h-6 w-px bg-gray-200 lg:hidden",
|
|
5491
5480
|
"aria-hidden": "true"
|
|
5492
5481
|
}, null, -1)),
|
|
5493
|
-
t("div",
|
|
5482
|
+
t("div", Bc, [
|
|
5494
5483
|
g(de, {
|
|
5495
5484
|
isWrapped: !0,
|
|
5496
5485
|
class: "w-full self-center relative",
|
|
@@ -5498,14 +5487,14 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5498
5487
|
select: e.topbar.selectedItem,
|
|
5499
5488
|
onSelectChanged: d[8] || (d[8] = (f) => n.$emit("selectChanged", f))
|
|
5500
5489
|
}, null, 8, ["items", "select"]),
|
|
5501
|
-
t("div",
|
|
5490
|
+
t("div", Mc, [
|
|
5502
5491
|
t("button", {
|
|
5503
5492
|
type: "button",
|
|
5504
5493
|
class: "-m-2.5 p-2.5 text-gray-400 hover:text-gray-500 relative",
|
|
5505
5494
|
onClick: d[9] || (d[9] = (f) => o("bellClick"))
|
|
5506
5495
|
}, [
|
|
5507
5496
|
d[14] || (d[14] = t("span", { class: "sr-only" }, "View notifications", -1)),
|
|
5508
|
-
j(t("div",
|
|
5497
|
+
j(t("div", jc, [...d[13] || (d[13] = [
|
|
5509
5498
|
t("span", { class: "animate-ping absolute inline-flex h-4 w-4 bg-red-500 rounded-full opacity-75" }, null, -1)
|
|
5510
5499
|
])], 512), [
|
|
5511
5500
|
[A, e.topbar.alerted]
|
|
@@ -5531,8 +5520,8 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5531
5520
|
class: "h-8 w-8 rounded-full bg-gray-50",
|
|
5532
5521
|
src: e.topbar.accountLogo,
|
|
5533
5522
|
alt: ""
|
|
5534
|
-
}, null, 8,
|
|
5535
|
-
t("span",
|
|
5523
|
+
}, null, 8, Tc),
|
|
5524
|
+
t("span", Dc, [
|
|
5536
5525
|
g(m(ne), {
|
|
5537
5526
|
class: "ml-2 h-5 w-5 text-gray-400",
|
|
5538
5527
|
"aria-hidden": "true"
|
|
@@ -5558,8 +5547,8 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5558
5547
|
default: h(({ active: v }) => [
|
|
5559
5548
|
t("a", {
|
|
5560
5549
|
onClick: (p) => n.$emit("topBarClick", f.id),
|
|
5561
|
-
class:
|
|
5562
|
-
}, c(f.name), 11,
|
|
5550
|
+
class: b([v ? "bg-gray-50" : "", "block px-3 py-1 text-sm leading-6 text-gray-900 cursor-pointer"])
|
|
5551
|
+
}, c(f.name), 11, zc)
|
|
5563
5552
|
]),
|
|
5564
5553
|
_: 2
|
|
5565
5554
|
}, 1024))), 128))
|
|
@@ -5575,15 +5564,15 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5575
5564
|
])
|
|
5576
5565
|
])
|
|
5577
5566
|
]),
|
|
5578
|
-
t("main",
|
|
5579
|
-
t("div",
|
|
5580
|
-
|
|
5567
|
+
t("main", Ac, [
|
|
5568
|
+
t("div", Lc, [
|
|
5569
|
+
_(n.$slots, "default")
|
|
5581
5570
|
])
|
|
5582
5571
|
])
|
|
5583
5572
|
])
|
|
5584
5573
|
]));
|
|
5585
5574
|
}
|
|
5586
|
-
}),
|
|
5575
|
+
}), Pc = /* @__PURE__ */ B({
|
|
5587
5576
|
__name: "uiDynamicStats",
|
|
5588
5577
|
props: {
|
|
5589
5578
|
dynamicStats: {},
|
|
@@ -5595,7 +5584,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5595
5584
|
o("statClick", f);
|
|
5596
5585
|
}, r = () => 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}`, n = I(0), d = I(r());
|
|
5597
5586
|
return Le(() => n.value += 1), (f, v) => (l(), a("div", {
|
|
5598
|
-
class:
|
|
5587
|
+
class: b([d.value, "grid grid-cols-1 md:grid-cols-2 gap-4"]),
|
|
5599
5588
|
key: n.value
|
|
5600
5589
|
}, [
|
|
5601
5590
|
(l(!0), a($, null, S(e.dynamicStats, (p, C) => (l(), k(yt, {
|
|
@@ -5606,16 +5595,16 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5606
5595
|
}, null, 8, ["item", "loading"]))), 128))
|
|
5607
5596
|
], 2));
|
|
5608
5597
|
}
|
|
5609
|
-
}),
|
|
5598
|
+
}), Oc = { class: "flex justify-between" }, Nc = {
|
|
5610
5599
|
key: 0,
|
|
5611
5600
|
class: "text-[10px] uppercase justify-self-end place-self-center"
|
|
5612
|
-
},
|
|
5601
|
+
}, Ic = { class: "relative" }, Vc = { class: "block flex flex-wrap gap-2" }, qc = {
|
|
5613
5602
|
key: 0,
|
|
5614
5603
|
class: "p-0.5"
|
|
5615
|
-
},
|
|
5604
|
+
}, Yc = ["onClick"], Rc = { class: "absolute mt-1 w-full rounded-md bg-white shadow-lg z-50" }, Hc = {
|
|
5616
5605
|
key: 1,
|
|
5617
5606
|
class: "animate-pulse px-4 py-2.5 bg-gray-200 rounded-md flex justify-between items-center w-full"
|
|
5618
|
-
},
|
|
5607
|
+
}, Uc = /* @__PURE__ */ B({
|
|
5619
5608
|
__name: "uiSelectMultiple",
|
|
5620
5609
|
props: {
|
|
5621
5610
|
items: {},
|
|
@@ -5639,7 +5628,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5639
5628
|
function n(d) {
|
|
5640
5629
|
s.value = s.value.filter((f) => f.id !== d.id), r(s.value);
|
|
5641
5630
|
}
|
|
5642
|
-
return (d, f) => e.loading ? (l(), a("div",
|
|
5631
|
+
return (d, f) => e.loading ? (l(), a("div", Hc, [
|
|
5643
5632
|
f[4] || (f[4] = t("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, null, -1)),
|
|
5644
5633
|
g(m(Te), {
|
|
5645
5634
|
"aria-hidden": "true",
|
|
@@ -5658,18 +5647,18 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5658
5647
|
as: "div"
|
|
5659
5648
|
}, {
|
|
5660
5649
|
default: h(() => [
|
|
5661
|
-
t("div",
|
|
5650
|
+
t("div", Oc, [
|
|
5662
5651
|
g(m(tl), { class: "block text-sm font-medium" }, {
|
|
5663
5652
|
default: h(() => [
|
|
5664
5653
|
M(c(e.label), 1)
|
|
5665
5654
|
]),
|
|
5666
5655
|
_: 1
|
|
5667
5656
|
}),
|
|
5668
|
-
e.requiredText ? (l(), a("span",
|
|
5657
|
+
e.requiredText ? (l(), a("span", Nc, c(e.requiredText), 1)) : x("", !0)
|
|
5669
5658
|
]),
|
|
5670
|
-
t("div",
|
|
5659
|
+
t("div", Ic, [
|
|
5671
5660
|
g(m(ll), {
|
|
5672
|
-
class:
|
|
5661
|
+
class: b([{
|
|
5673
5662
|
"mt-1": e.requiredText || e.label,
|
|
5674
5663
|
"border-gray-300": e.color === "gray",
|
|
5675
5664
|
"border-black": e.color === "black",
|
|
@@ -5686,8 +5675,8 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5686
5675
|
}, "relative w-full rounded-md border py-1.5 pl-2 pr-10 shadow-sm focus:border-lime-400 focus:outline-none focus:ring-1 focus:ring-lime-400 sm:text-sm"])
|
|
5687
5676
|
}, {
|
|
5688
5677
|
default: h(() => [
|
|
5689
|
-
t("span",
|
|
5690
|
-
m(s).length === 0 ? (l(), a("span",
|
|
5678
|
+
t("span", Vc, [
|
|
5679
|
+
m(s).length === 0 ? (l(), a("span", qc, "...")) : x("", !0),
|
|
5691
5680
|
(l(!0), a($, null, S(m(s), (v) => (l(), a("span", {
|
|
5692
5681
|
key: v.id,
|
|
5693
5682
|
class: "flex items-center gap-1 rounded text-xs font-medium bg-lime-400 text-black border border-lime-200 px-2 py-0.5"
|
|
@@ -5707,7 +5696,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5707
5696
|
"stroke-width": "2",
|
|
5708
5697
|
d: "M6 18L18 6M6 6l12 12"
|
|
5709
5698
|
}, null, -1)
|
|
5710
|
-
])], 8,
|
|
5699
|
+
])], 8, Yc))
|
|
5711
5700
|
]))), 128))
|
|
5712
5701
|
]),
|
|
5713
5702
|
f[2] || (f[2] = t("span", { class: "absolute h-full right-0 mr-2 self-center top-0 flex items-center" }, [
|
|
@@ -5728,7 +5717,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5728
5717
|
]),
|
|
5729
5718
|
_: 1
|
|
5730
5719
|
}, 8, ["class"]),
|
|
5731
|
-
t("div",
|
|
5720
|
+
t("div", Rc, [
|
|
5732
5721
|
g(m(al), { 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" }, {
|
|
5733
5722
|
default: h(() => [
|
|
5734
5723
|
(l(!0), a($, null, S(e.items, (v) => (l(), k(m(sl), {
|
|
@@ -5738,14 +5727,14 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5738
5727
|
}, {
|
|
5739
5728
|
default: h(({ active: p, selected: C }) => [
|
|
5740
5729
|
t("li", {
|
|
5741
|
-
class:
|
|
5730
|
+
class: b(["focus:outline-hidden relative cursor-default select-none py-2 pl-3 pr-9", p ? "bg-lime-400 text-black" : "text-black"])
|
|
5742
5731
|
}, [
|
|
5743
5732
|
t("span", {
|
|
5744
|
-
class:
|
|
5733
|
+
class: b(["block truncate", { "font-semibold": C, "font-normal": !C }])
|
|
5745
5734
|
}, c(v.name), 3),
|
|
5746
5735
|
C ? (l(), a("span", {
|
|
5747
5736
|
key: 0,
|
|
5748
|
-
class:
|
|
5737
|
+
class: b(["absolute inset-y-0 right-0 flex items-center pr-4", { "text-black": p, "text-lime-400": !p }])
|
|
5749
5738
|
}, [...f[3] || (f[3] = [
|
|
5750
5739
|
t("svg", {
|
|
5751
5740
|
class: "h-5 w-5",
|
|
@@ -5768,7 +5757,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5768
5757
|
})
|
|
5769
5758
|
]),
|
|
5770
5759
|
j(t("p", {
|
|
5771
|
-
class:
|
|
5760
|
+
class: b([{
|
|
5772
5761
|
"text-gray-400": e.color === "gray",
|
|
5773
5762
|
"text-red-600": e.color === "red",
|
|
5774
5763
|
"text-yellow-400": e.color === "yellow",
|
|
@@ -5782,10 +5771,10 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5782
5771
|
_: 1
|
|
5783
5772
|
}, 8, ["modelValue", "disabled"]));
|
|
5784
5773
|
}
|
|
5785
|
-
}),
|
|
5774
|
+
}), Ec = { class: "space-y-6" }, _c = { class: "mb-6" }, Zc = { class: "grid grid-cols-1 md:grid-cols-2 gap-4" }, Wc = { class: "mt-4 mb-12 space-y-4" }, Jc = { class: "space-y-4" }, Gc = { class: "text-xl font-bold text-gray-800" }, Qc = { class: "grid grid-cols-1 md:grid-cols-2 gap-4 mt-4 transition-all duration-300 ease-in-out" }, Kc = { class: "bg-white border border-gray-300 rounded-lg p-4" }, Xc = { class: "font-bold mb-4 text-sm text-gray-700" }, eu = { class: "space-y-2" }, tu = { class: "bg-white border border-gray-300 rounded-lg p-4" }, lu = { class: "font-bold mb-4 text-sm text-gray-700" }, au = { class: "space-y-2" }, su = {
|
|
5786
5775
|
key: 0,
|
|
5787
5776
|
class: "mt-6"
|
|
5788
|
-
},
|
|
5777
|
+
}, nu = /* @__PURE__ */ B({
|
|
5789
5778
|
__name: "Comparator",
|
|
5790
5779
|
props: {
|
|
5791
5780
|
toCompare: {},
|
|
@@ -5804,9 +5793,9 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5804
5793
|
}, f = () => {
|
|
5805
5794
|
o("generateNewFile");
|
|
5806
5795
|
};
|
|
5807
|
-
return (v, p) => (l(), a("div",
|
|
5808
|
-
t("div",
|
|
5809
|
-
t("div",
|
|
5796
|
+
return (v, p) => (l(), a("div", Ec, [
|
|
5797
|
+
t("div", _c, [
|
|
5798
|
+
t("div", Zc, [
|
|
5810
5799
|
g(ze, {
|
|
5811
5800
|
name: "file1",
|
|
5812
5801
|
id: "file1",
|
|
@@ -5815,7 +5804,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5815
5804
|
fileTypesAndSizes: e.literals.fileTypesAndSizes,
|
|
5816
5805
|
loading: !1,
|
|
5817
5806
|
accept: "application/data",
|
|
5818
|
-
icon: m(
|
|
5807
|
+
icon: m(_e),
|
|
5819
5808
|
onFilesUploaded: p[0] || (p[0] = (C) => o("filesUploaded", C))
|
|
5820
5809
|
}, null, 8, ["placeholder", "dragAndDrop", "fileTypesAndSizes", "icon"]),
|
|
5821
5810
|
g(ze, {
|
|
@@ -5826,12 +5815,12 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5826
5815
|
fileTypesAndSizes: e.literals.fileTypesAndSizes,
|
|
5827
5816
|
loading: !1,
|
|
5828
5817
|
accept: "application/data",
|
|
5829
|
-
icon: m(
|
|
5818
|
+
icon: m(_e),
|
|
5830
5819
|
onFilesUploaded: p[1] || (p[1] = (C) => o("filesUploaded", C))
|
|
5831
5820
|
}, null, 8, ["placeholder", "dragAndDrop", "fileTypesAndSizes", "icon"])
|
|
5832
5821
|
])
|
|
5833
5822
|
]),
|
|
5834
|
-
t("div",
|
|
5823
|
+
t("div", Wc, [
|
|
5835
5824
|
g(re, {
|
|
5836
5825
|
name: "ignoreMinorDifferences",
|
|
5837
5826
|
id: "ignoreMinorDifferences",
|
|
@@ -5843,7 +5832,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5843
5832
|
]),
|
|
5844
5833
|
_: 1
|
|
5845
5834
|
}),
|
|
5846
|
-
g(
|
|
5835
|
+
g(J, {
|
|
5847
5836
|
color: "primary",
|
|
5848
5837
|
size: "medium",
|
|
5849
5838
|
loading: !1,
|
|
@@ -5856,7 +5845,7 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5856
5845
|
_: 1
|
|
5857
5846
|
})
|
|
5858
5847
|
]),
|
|
5859
|
-
t("div",
|
|
5848
|
+
t("div", Jc, [
|
|
5860
5849
|
s.value ? (l(!0), a($, { key: 0 }, S(r.value, (C) => (l(), a("div", {
|
|
5861
5850
|
key: C.name,
|
|
5862
5851
|
class: "p-6 bg-gray-50 border border-gray-300 rounded-lg shadow-sm"
|
|
@@ -5865,21 +5854,21 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5865
5854
|
default: h(({ open: Y }) => [
|
|
5866
5855
|
g(m(le), { class: "flex items-center justify-between w-full" }, {
|
|
5867
5856
|
default: h(() => [
|
|
5868
|
-
t("h2",
|
|
5857
|
+
t("h2", Gc, c(C.name), 1),
|
|
5869
5858
|
g(F, {
|
|
5870
5859
|
icon: m(ne),
|
|
5871
5860
|
loading: !1,
|
|
5872
|
-
class:
|
|
5861
|
+
class: b(["cursor-pointer transition-transform duration-300 ease-in-out", { "rotate-180 transform": Y }])
|
|
5873
5862
|
}, null, 8, ["icon", "class"])
|
|
5874
5863
|
]),
|
|
5875
5864
|
_: 2
|
|
5876
5865
|
}, 1024),
|
|
5877
5866
|
g(m(Se), null, {
|
|
5878
5867
|
default: h(() => [
|
|
5879
|
-
t("div",
|
|
5880
|
-
t("div",
|
|
5881
|
-
t("p",
|
|
5882
|
-
t("div",
|
|
5868
|
+
t("div", Qc, [
|
|
5869
|
+
t("div", Kc, [
|
|
5870
|
+
t("p", Xc, c(e.literals.file1Content), 1),
|
|
5871
|
+
t("div", eu, [
|
|
5883
5872
|
(l(!0), a($, null, S(C.commands[0]?.entries || [], (U, T) => (l(), k(re, {
|
|
5884
5873
|
key: `file1_${C.name}_${T}`,
|
|
5885
5874
|
name: `file1_${C.name}_${T}`,
|
|
@@ -5895,9 +5884,9 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5895
5884
|
}, 1032, ["name", "id", "value", "onCheckboxChanged"]))), 128))
|
|
5896
5885
|
])
|
|
5897
5886
|
]),
|
|
5898
|
-
t("div",
|
|
5899
|
-
t("p",
|
|
5900
|
-
t("div",
|
|
5887
|
+
t("div", tu, [
|
|
5888
|
+
t("p", lu, c(e.literals.file2Content), 1),
|
|
5889
|
+
t("div", au, [
|
|
5901
5890
|
(l(!0), a($, null, S(C.commands[1]?.entries || [], (U, T) => (l(), k(re, {
|
|
5902
5891
|
key: `file2_${C.name}_${T}`,
|
|
5903
5892
|
name: `file2_${C.name}_${T}`,
|
|
@@ -5926,8 +5915,8 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5926
5915
|
message: e.literals.noResultsMessage
|
|
5927
5916
|
}, null, 8, ["title", "message"]))
|
|
5928
5917
|
]),
|
|
5929
|
-
s.value ? (l(), a("div",
|
|
5930
|
-
g(
|
|
5918
|
+
s.value ? (l(), a("div", su, [
|
|
5919
|
+
g(J, {
|
|
5931
5920
|
color: "primary",
|
|
5932
5921
|
size: "medium",
|
|
5933
5922
|
loading: !1,
|
|
@@ -5946,122 +5935,122 @@ const no = /* @__PURE__ */ he(lo, [["render", so]]), oo = /* @__PURE__ */ B({
|
|
|
5946
5935
|
__proto__: null,
|
|
5947
5936
|
uiAlert: Ua,
|
|
5948
5937
|
uiBreadcrumbs: ft,
|
|
5949
|
-
uiButton:
|
|
5938
|
+
uiButton: J,
|
|
5950
5939
|
uiCard: Qa,
|
|
5951
|
-
uiChart:
|
|
5940
|
+
uiChart: ao,
|
|
5952
5941
|
uiCheckbox: re,
|
|
5953
|
-
uiCircleChart:
|
|
5954
|
-
uiComparator:
|
|
5955
|
-
uiDateRange:
|
|
5956
|
-
uiDeviceStatus:
|
|
5957
|
-
uiDragAndDrop:
|
|
5942
|
+
uiCircleChart: Xd,
|
|
5943
|
+
uiComparator: nu,
|
|
5944
|
+
uiDateRange: lc,
|
|
5945
|
+
uiDeviceStatus: pc,
|
|
5946
|
+
uiDragAndDrop: Rd,
|
|
5958
5947
|
uiDropdown: ue,
|
|
5959
|
-
uiDynamicStats:
|
|
5948
|
+
uiDynamicStats: Pc,
|
|
5960
5949
|
uiFilter: Ka,
|
|
5961
|
-
uiFooter:
|
|
5962
|
-
uiFunnelChartV2:
|
|
5963
|
-
uiGallery:
|
|
5950
|
+
uiFooter: io,
|
|
5951
|
+
uiFunnelChartV2: od,
|
|
5952
|
+
uiGallery: Ad,
|
|
5964
5953
|
uiIcon: F,
|
|
5965
5954
|
uiInput: se,
|
|
5966
5955
|
uiInputFile: ze,
|
|
5967
|
-
uiLoadingScreen:
|
|
5956
|
+
uiLoadingScreen: ro,
|
|
5968
5957
|
uiModal: ke,
|
|
5969
5958
|
uiNoResults: bt,
|
|
5970
5959
|
uiNotification: ys,
|
|
5971
5960
|
uiPriceCalendar: Rn,
|
|
5972
|
-
uiRangeSlider:
|
|
5973
|
-
uiRightSidebar:
|
|
5974
|
-
uiSectionTitle:
|
|
5961
|
+
uiRangeSlider: ic,
|
|
5962
|
+
uiRightSidebar: kd,
|
|
5963
|
+
uiSectionTitle: dc,
|
|
5975
5964
|
uiSelect: ta,
|
|
5976
|
-
uiSelectMultiple:
|
|
5965
|
+
uiSelectMultiple: Uc,
|
|
5977
5966
|
uiSelect_v2: de,
|
|
5978
|
-
uiSidebar:
|
|
5967
|
+
uiSidebar: ko,
|
|
5979
5968
|
uiSidebarV2: Ae,
|
|
5980
5969
|
uiStats: yt,
|
|
5981
|
-
uiStripedCard:
|
|
5982
|
-
uiTable:
|
|
5983
|
-
uiTabs:
|
|
5970
|
+
uiStripedCard: ii,
|
|
5971
|
+
uiTable: tr,
|
|
5972
|
+
uiTabs: rr,
|
|
5984
5973
|
uiTag: G,
|
|
5985
5974
|
uiTaskList: Ms,
|
|
5986
5975
|
uiTextArea: ma,
|
|
5987
|
-
uiTimeline:
|
|
5976
|
+
uiTimeline: Dr,
|
|
5988
5977
|
uiToggle: ba,
|
|
5989
|
-
uiTopbar:
|
|
5978
|
+
uiTopbar: Kr,
|
|
5990
5979
|
uiViewHeader: Pa,
|
|
5991
|
-
uiWrapper:
|
|
5992
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5980
|
+
uiWrapper: Fc
|
|
5981
|
+
}, Symbol.toStringTag, { value: "Module" })), ou = [
|
|
5993
5982
|
"primary",
|
|
5994
5983
|
"secondary",
|
|
5995
5984
|
"light",
|
|
5996
5985
|
"green",
|
|
5997
5986
|
"yellow",
|
|
5998
5987
|
"red"
|
|
5999
|
-
],
|
|
5988
|
+
], hu = [
|
|
6000
5989
|
"text",
|
|
6001
5990
|
"email",
|
|
6002
5991
|
"password",
|
|
6003
5992
|
"number",
|
|
6004
5993
|
"date",
|
|
6005
5994
|
"datetime-local"
|
|
6006
|
-
],
|
|
6007
|
-
function
|
|
5995
|
+
], iu = ["black", "gray", "white"], yu = [...ou, ...iu], ru = ["small", "medium", "big"], du = ["bigger", "huge", "massive"], bu = [...ru, ...du], vu = ["default", "success", "warning", "danger"];
|
|
5996
|
+
function cu(e) {
|
|
6008
5997
|
for (const u in Ke)
|
|
6009
5998
|
e.component(u, Ke[u]);
|
|
6010
5999
|
}
|
|
6011
|
-
const
|
|
6000
|
+
const xu = { install: cu };
|
|
6012
6001
|
export {
|
|
6013
|
-
|
|
6014
|
-
|
|
6015
|
-
|
|
6016
|
-
|
|
6017
|
-
|
|
6018
|
-
|
|
6019
|
-
|
|
6020
|
-
|
|
6021
|
-
|
|
6002
|
+
yu as AllColors,
|
|
6003
|
+
bu as AllSizes,
|
|
6004
|
+
du as BiggerSizes,
|
|
6005
|
+
ou as Colors,
|
|
6006
|
+
iu as MonoColors,
|
|
6007
|
+
ru as Sizes,
|
|
6008
|
+
vu as Types,
|
|
6009
|
+
hu as UiInputTypes,
|
|
6010
|
+
xu as default,
|
|
6022
6011
|
Ua as uiAlert,
|
|
6023
6012
|
ft as uiBreadcrumbs,
|
|
6024
|
-
|
|
6013
|
+
J as uiButton,
|
|
6025
6014
|
Qa as uiCard,
|
|
6026
|
-
|
|
6015
|
+
ao as uiChart,
|
|
6027
6016
|
re as uiCheckbox,
|
|
6028
|
-
|
|
6029
|
-
|
|
6030
|
-
|
|
6031
|
-
|
|
6032
|
-
|
|
6017
|
+
Xd as uiCircleChart,
|
|
6018
|
+
nu as uiComparator,
|
|
6019
|
+
lc as uiDateRange,
|
|
6020
|
+
pc as uiDeviceStatus,
|
|
6021
|
+
Rd as uiDragAndDrop,
|
|
6033
6022
|
ue as uiDropdown,
|
|
6034
|
-
|
|
6023
|
+
Pc as uiDynamicStats,
|
|
6035
6024
|
Ka as uiFilter,
|
|
6036
|
-
|
|
6037
|
-
|
|
6038
|
-
|
|
6025
|
+
io as uiFooter,
|
|
6026
|
+
od as uiFunnelChartV2,
|
|
6027
|
+
Ad as uiGallery,
|
|
6039
6028
|
F as uiIcon,
|
|
6040
6029
|
se as uiInput,
|
|
6041
6030
|
ze as uiInputFile,
|
|
6042
|
-
|
|
6031
|
+
ro as uiLoadingScreen,
|
|
6043
6032
|
ke as uiModal,
|
|
6044
6033
|
bt as uiNoResults,
|
|
6045
6034
|
ys as uiNotification,
|
|
6046
6035
|
Rn as uiPriceCalendar,
|
|
6047
|
-
|
|
6048
|
-
|
|
6049
|
-
|
|
6036
|
+
ic as uiRangeSlider,
|
|
6037
|
+
kd as uiRightSidebar,
|
|
6038
|
+
dc as uiSectionTitle,
|
|
6050
6039
|
ta as uiSelect,
|
|
6051
|
-
|
|
6040
|
+
Uc as uiSelectMultiple,
|
|
6052
6041
|
de as uiSelect_v2,
|
|
6053
|
-
|
|
6042
|
+
ko as uiSidebar,
|
|
6054
6043
|
Ae as uiSidebarV2,
|
|
6055
6044
|
yt as uiStats,
|
|
6056
|
-
|
|
6057
|
-
|
|
6058
|
-
|
|
6045
|
+
ii as uiStripedCard,
|
|
6046
|
+
tr as uiTable,
|
|
6047
|
+
rr as uiTabs,
|
|
6059
6048
|
G as uiTag,
|
|
6060
6049
|
Ms as uiTaskList,
|
|
6061
6050
|
ma as uiTextArea,
|
|
6062
|
-
|
|
6051
|
+
Dr as uiTimeline,
|
|
6063
6052
|
ba as uiToggle,
|
|
6064
|
-
|
|
6053
|
+
Kr as uiTopbar,
|
|
6065
6054
|
Pa as uiViewHeader,
|
|
6066
|
-
|
|
6055
|
+
Fc as uiWrapper
|
|
6067
6056
|
};
|