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