@hotelinking/ui 16.48.11 → 16.48.12
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 +257 -257
- package/package.json +1 -1
package/dist/ui.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as T, createBlock as w, createElementBlock as s, openBlock as l, resolveDynamicComponent as Fe, normalizeClass as x, computed as j, createCommentVNode as
|
|
2
|
-
import { Menu as Ze, MenuButton as We, MenuItems as Je, MenuItem as Ge, Combobox as
|
|
1
|
+
import { defineComponent as T, createBlock as w, createElementBlock as s, openBlock as l, resolveDynamicComponent as Fe, normalizeClass as x, computed as j, createCommentVNode as v, renderSlot as J, createElementVNode as t, ref as V, watch as Z, unref as f, withCtx as y, createVNode as m, toDisplayString as c, createTextVNode as B, Transition as we, Fragment as k, renderList as S, withDirectives as D, vModelDynamic as yl, vShow as O, withModifiers as ne, vModelText as xe, createStaticVNode as ee, resolveComponent as it, vModelCheckbox as yt, onMounted as Oe, mergeProps as Le, reactive as ke, normalizeStyle as qe, nextTick as ve, onUnmounted as vl, TransitionGroup as bl, isRef as vt } from "vue";
|
|
2
|
+
import { Menu as Ze, MenuButton as We, MenuItems as Je, MenuItem as Ge, Combobox as bt, ComboboxLabel as xt, ComboboxInput as pt, ComboboxButton as wt, ComboboxOptions as kt, ComboboxOption as $t, SwitchGroup as xl, Switch as pl, SwitchLabel as wl, TransitionRoot as Ke, Dialog as Qe, TransitionChild as ce, DialogPanel as Xe, DialogTitle as Ct, Disclosure as Ie, DisclosureButton as se, DisclosurePanel as Ne, Popover as kl, PopoverButton as $l, PopoverPanel as Cl, Listbox as Sl, ListboxLabel as Bl, ListboxButton as Ml, ListboxOptions as zl, ListboxOption as jl } from "@headlessui/vue";
|
|
3
3
|
import Y from "dayjs";
|
|
4
4
|
import Tl from "@vueform/slider";
|
|
5
5
|
const L = /* @__PURE__ */ T({
|
|
@@ -76,7 +76,7 @@ const L = /* @__PURE__ */ T({
|
|
|
76
76
|
color: "white",
|
|
77
77
|
class: "-ml-0.5 mr-2",
|
|
78
78
|
loading: e.loading
|
|
79
|
-
}, null, 8, ["icon", "loading"])) :
|
|
79
|
+
}, null, 8, ["icon", "loading"])) : v("", !0),
|
|
80
80
|
d[0] || (d[0] = t("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-16" }, null, -1))
|
|
81
81
|
], 2)) : (l(), s("button", {
|
|
82
82
|
key: 0,
|
|
@@ -90,7 +90,7 @@ const L = /* @__PURE__ */ T({
|
|
|
90
90
|
class: "-ml-0.5 mr-2",
|
|
91
91
|
color: "black",
|
|
92
92
|
loading: e.loading
|
|
93
|
-
}, null, 8, ["icon", "loading"])) :
|
|
93
|
+
}, null, 8, ["icon", "loading"])) : v("", !0),
|
|
94
94
|
J(a.$slots, "default")
|
|
95
95
|
], 10, Al));
|
|
96
96
|
}
|
|
@@ -749,8 +749,8 @@ const ts = {
|
|
|
749
749
|
t("div", {
|
|
750
750
|
class: x(["flex justify-between sha items-center", { "mt-1": e.label }])
|
|
751
751
|
}, [
|
|
752
|
-
e.label ? (l(), s("label", ts, c(e.label), 1)) :
|
|
753
|
-
e.requiredText ? (l(), s("span", ls, c(e.requiredText), 1)) :
|
|
752
|
+
e.label ? (l(), s("label", ts, c(e.label), 1)) : v("", !0),
|
|
753
|
+
e.requiredText ? (l(), s("span", ls, c(e.requiredText), 1)) : v("", !0)
|
|
754
754
|
], 2),
|
|
755
755
|
m(f(We), { class: "text-black inline-flex justify-between w-full rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-sm font-medium hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-black" }, {
|
|
756
756
|
default: y(() => [
|
|
@@ -759,12 +759,12 @@ const ts = {
|
|
|
759
759
|
key: 0,
|
|
760
760
|
"aria-hidden": "true",
|
|
761
761
|
class: "-mr-1 ml-2 h-5 w-5"
|
|
762
|
-
})) :
|
|
762
|
+
})) : v("", !0),
|
|
763
763
|
e.verticalPosition === "top" ? (l(), w(f(jt), {
|
|
764
764
|
key: 1,
|
|
765
765
|
"aria-hidden": "true",
|
|
766
766
|
class: "-mr-1 ml-2 h-5 w-5"
|
|
767
|
-
})) :
|
|
767
|
+
})) : v("", !0)
|
|
768
768
|
]),
|
|
769
769
|
_: 1
|
|
770
770
|
})
|
|
@@ -778,7 +778,7 @@ const ts = {
|
|
|
778
778
|
"leave-to-class": "transform opacity-0 scale-95"
|
|
779
779
|
}, {
|
|
780
780
|
default: y(() => [
|
|
781
|
-
e.disabled ?
|
|
781
|
+
e.disabled ? v("", !0) : (l(), w(f(Je), {
|
|
782
782
|
key: 0,
|
|
783
783
|
class: x([{
|
|
784
784
|
"right-0": e.position === "right",
|
|
@@ -789,7 +789,7 @@ const ts = {
|
|
|
789
789
|
}, {
|
|
790
790
|
default: y(() => [
|
|
791
791
|
t("div", ss, [
|
|
792
|
-
(l(!0), s(k, null, S(e.items, (u,
|
|
792
|
+
(l(!0), s(k, null, S(e.items, (u, b) => (l(), w(f(Ge), { key: b }, {
|
|
793
793
|
default: y(() => [
|
|
794
794
|
t("a", {
|
|
795
795
|
onClick: (p) => r(u),
|
|
@@ -854,14 +854,14 @@ const ts = {
|
|
|
854
854
|
a.target.name && i("inputChanged", { value: a.target.value, name: a.target.name });
|
|
855
855
|
};
|
|
856
856
|
return (a, d) => e.loading ? (l(), s("div", gs, [
|
|
857
|
-
e.label !== void 0 ? (l(), s("div", ms)) :
|
|
857
|
+
e.label !== void 0 ? (l(), s("div", ms)) : v("", !0),
|
|
858
858
|
d[3] || (d[3] = t("div", { class: "animate-pulse px-4 py-3.5 bg-gray-200 rounded-md inline-flex items-center relative text-left w-full" }, [
|
|
859
859
|
t("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28" })
|
|
860
860
|
], -1))
|
|
861
861
|
])) : (l(), s("div", os, [
|
|
862
862
|
t("div", is, [
|
|
863
|
-
e.label ? (l(), s("label", rs, c(e.label), 1)) :
|
|
864
|
-
e.requiredText ? (l(), s("span", ds, c(e.requiredText), 1)) :
|
|
863
|
+
e.label ? (l(), s("label", rs, c(e.label), 1)) : v("", !0),
|
|
864
|
+
e.requiredText ? (l(), s("span", ds, c(e.requiredText), 1)) : v("", !0)
|
|
865
865
|
]),
|
|
866
866
|
t("div", {
|
|
867
867
|
class: x([{ "mt-1": e.label }, "relative flex"])
|
|
@@ -870,7 +870,7 @@ const ts = {
|
|
|
870
870
|
key: 0,
|
|
871
871
|
onClick: d[0] || (d[0] = (u) => a.$emit("addOnClicked")),
|
|
872
872
|
class: "inline-flex items-center px-3 rounded-l-md border border-r-0 border-gray-800 bg-black text-white hover:text-black hover:bg-lime-400 sm:text-sm cursor-pointer"
|
|
873
|
-
}, c(e.addOn), 1)) :
|
|
873
|
+
}, c(e.addOn), 1)) : v("", !0),
|
|
874
874
|
D(t("input", {
|
|
875
875
|
"onUpdate:modelValue": d[1] || (d[1] = (u) => n.value = u),
|
|
876
876
|
max: e.max,
|
|
@@ -902,14 +902,14 @@ const ts = {
|
|
|
902
902
|
key: 1,
|
|
903
903
|
onClick: d[2] || (d[2] = (u) => a.$emit("rightAddOnClicked")),
|
|
904
904
|
class: "inline-flex items-center px-3 rounded-r-md border border-l-0 border-black bg-black hover:bg-lime-400 hover:text-black text-white sm:text-sm cursor-pointer"
|
|
905
|
-
}, c(e.rightAddOn), 1)) :
|
|
905
|
+
}, c(e.rightAddOn), 1)) : v("", !0),
|
|
906
906
|
t("div", us, [
|
|
907
907
|
e.icon ? (l(), w(L, {
|
|
908
908
|
key: 0,
|
|
909
909
|
icon: e.icon,
|
|
910
910
|
color: e.color,
|
|
911
911
|
loading: e.loading
|
|
912
|
-
}, null, 8, ["icon", "color", "loading"])) :
|
|
912
|
+
}, null, 8, ["icon", "color", "loading"])) : v("", !0),
|
|
913
913
|
D(m(L, {
|
|
914
914
|
icon: f(et),
|
|
915
915
|
color: "green",
|
|
@@ -948,10 +948,10 @@ const ts = {
|
|
|
948
948
|
}), fs = { key: 0 }, hs = { class: "flex justify-between" }, ys = {
|
|
949
949
|
key: 0,
|
|
950
950
|
class: "block text-sm font-medium"
|
|
951
|
-
},
|
|
951
|
+
}, vs = {
|
|
952
952
|
key: 1,
|
|
953
953
|
class: "place-self-center text-[10px] uppercase"
|
|
954
|
-
},
|
|
954
|
+
}, bs = { class: "space-y-1 flex flex-col items-center justify-center" }, xs = { class: "flex text-sm flex-col sm:flex-row text-center" }, ps = ["for"], ws = ["id", "name", "accept"], ks = { class: "pl-1" }, $s = { class: "text-xs pb-4" }, Cs = { class: "mt-2 text-xs flex flex-row items-center text-red-600" }, Ss = {
|
|
955
955
|
key: 1,
|
|
956
956
|
class: "animate-pulse"
|
|
957
957
|
}, Ee = /* @__PURE__ */ T({
|
|
@@ -978,12 +978,12 @@ const ts = {
|
|
|
978
978
|
d(u.target.files), o("filesUploaded", { id: n.id, files: u.target.files });
|
|
979
979
|
}, d = (u) => {
|
|
980
980
|
i.value = "";
|
|
981
|
-
let
|
|
981
|
+
let b = 1;
|
|
982
982
|
Object.values(u).forEach((p) => {
|
|
983
|
-
|
|
983
|
+
b++, i.value += p.name, b >= 1 && b < u.length && (i.value += ", ");
|
|
984
984
|
});
|
|
985
985
|
};
|
|
986
|
-
return (u,
|
|
986
|
+
return (u, b) => e.loading ? (l(), s("div", Ss, [...b[1] || (b[1] = [
|
|
987
987
|
t("div", { class: "flex justify-center items-center flex-col rounded-md border-2 border-dashed px-6 pt-5 pb-6 border-gray-200" }, [
|
|
988
988
|
t("div", { class: "rounded-full h-20 w-20 bg-gray-200 mb-4" }),
|
|
989
989
|
t("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full md:w-1/3 mb-3" }),
|
|
@@ -991,8 +991,8 @@ const ts = {
|
|
|
991
991
|
], -1)
|
|
992
992
|
])])) : (l(), s("div", fs, [
|
|
993
993
|
t("div", hs, [
|
|
994
|
-
e.label ? (l(), s("label", ys, c(e.label), 1)) :
|
|
995
|
-
e.requiredText ? (l(), s("span",
|
|
994
|
+
e.label ? (l(), s("label", ys, c(e.label), 1)) : v("", !0),
|
|
995
|
+
e.requiredText ? (l(), s("span", vs, c(e.requiredText), 1)) : v("", !0)
|
|
996
996
|
]),
|
|
997
997
|
t("div", {
|
|
998
998
|
class: x([
|
|
@@ -1003,11 +1003,11 @@ const ts = {
|
|
|
1003
1003
|
],
|
|
1004
1004
|
"dropArea flex justify-center rounded-md border-2 border-dashed px-6 pt-5 pb-6"
|
|
1005
1005
|
]),
|
|
1006
|
-
onDragover:
|
|
1006
|
+
onDragover: b[0] || (b[0] = ne(() => {
|
|
1007
1007
|
}, ["prevent"])),
|
|
1008
1008
|
onDrop: ne(r, ["prevent"])
|
|
1009
1009
|
}, [
|
|
1010
|
-
t("div",
|
|
1010
|
+
t("div", bs, [
|
|
1011
1011
|
m(L, {
|
|
1012
1012
|
icon: e.icon,
|
|
1013
1013
|
size: "massive",
|
|
@@ -1077,7 +1077,7 @@ const ts = {
|
|
|
1077
1077
|
setup(e, { expose: g, emit: i }) {
|
|
1078
1078
|
const o = V(""), n = i, r = e, a = j(() => o.value === "" ? r.items : r.items.filter((p) => p.name.toLowerCase().includes(o.value.toLowerCase()))), d = (p) => p?.name ?? "", u = (p) => {
|
|
1079
1079
|
n("selectChanged", p);
|
|
1080
|
-
},
|
|
1080
|
+
}, b = j({
|
|
1081
1081
|
get: () => r.select,
|
|
1082
1082
|
set: (p) => {
|
|
1083
1083
|
u(p);
|
|
@@ -1091,11 +1091,11 @@ const ts = {
|
|
|
1091
1091
|
"aria-hidden": "true",
|
|
1092
1092
|
class: "-mr-1 ml-2 h-5 w-5 text-gray-300 dark:text-gray-400"
|
|
1093
1093
|
})
|
|
1094
|
-
])) : (l(), w(f(
|
|
1094
|
+
])) : (l(), w(f(bt), {
|
|
1095
1095
|
key: 0,
|
|
1096
|
-
modelValue:
|
|
1096
|
+
modelValue: b.value,
|
|
1097
1097
|
"onUpdate:modelValue": [
|
|
1098
|
-
C[2] || (C[2] = (R) =>
|
|
1098
|
+
C[2] || (C[2] = (R) => b.value = R),
|
|
1099
1099
|
u
|
|
1100
1100
|
],
|
|
1101
1101
|
disabled: e.disabled,
|
|
@@ -1109,7 +1109,7 @@ const ts = {
|
|
|
1109
1109
|
]),
|
|
1110
1110
|
_: 1
|
|
1111
1111
|
}),
|
|
1112
|
-
e.requiredText ? (l(), s("span", Ms, c(e.requiredText), 1)) :
|
|
1112
|
+
e.requiredText ? (l(), s("span", Ms, c(e.requiredText), 1)) : v("", !0)
|
|
1113
1113
|
]),
|
|
1114
1114
|
t("div", zs, [
|
|
1115
1115
|
m(f(pt), {
|
|
@@ -1172,14 +1172,14 @@ const ts = {
|
|
|
1172
1172
|
class: "h-5 w-5",
|
|
1173
1173
|
loading: !0
|
|
1174
1174
|
})
|
|
1175
|
-
], 2)) :
|
|
1175
|
+
], 2)) : v("", !0)
|
|
1176
1176
|
], 2)
|
|
1177
1177
|
]),
|
|
1178
1178
|
_: 2
|
|
1179
1179
|
}, 1032, ["value"]))), 128))
|
|
1180
1180
|
]),
|
|
1181
1181
|
_: 1
|
|
1182
|
-
})) :
|
|
1182
|
+
})) : v("", !0)
|
|
1183
1183
|
]),
|
|
1184
1184
|
D(t("p", {
|
|
1185
1185
|
class: x([{
|
|
@@ -1229,7 +1229,7 @@ function As(e, g) {
|
|
|
1229
1229
|
const Ds = { class: "flex justify-between" }, Ls = {
|
|
1230
1230
|
key: 0,
|
|
1231
1231
|
class: "text-[10px] uppercase justify-self-end self-center"
|
|
1232
|
-
},
|
|
1232
|
+
}, be = /* @__PURE__ */ T({
|
|
1233
1233
|
__name: "uiSelect_v2",
|
|
1234
1234
|
props: {
|
|
1235
1235
|
items: {},
|
|
@@ -1247,17 +1247,17 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1247
1247
|
setup(e, { emit: g }) {
|
|
1248
1248
|
const i = e, o = g, n = V(""), r = V(i.select), a = j(
|
|
1249
1249
|
() => n.value === "" ? i.items : i.items.filter((u) => {
|
|
1250
|
-
const
|
|
1251
|
-
return u.name.toLowerCase().includes(
|
|
1250
|
+
const b = n.value.toLowerCase();
|
|
1251
|
+
return u.name.toLowerCase().includes(b) || (u.label?.toLowerCase().includes(b) ?? !1);
|
|
1252
1252
|
})
|
|
1253
1253
|
), d = (u) => {
|
|
1254
1254
|
n.value = "", o("selectChanged", u);
|
|
1255
1255
|
};
|
|
1256
|
-
return (u,
|
|
1256
|
+
return (u, b) => (l(), w(f(bt), {
|
|
1257
1257
|
as: "div",
|
|
1258
1258
|
modelValue: r.value,
|
|
1259
1259
|
"onUpdate:modelValue": [
|
|
1260
|
-
|
|
1260
|
+
b[2] || (b[2] = (p) => r.value = p),
|
|
1261
1261
|
d
|
|
1262
1262
|
]
|
|
1263
1263
|
}, {
|
|
@@ -1269,7 +1269,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1269
1269
|
]),
|
|
1270
1270
|
_: 1
|
|
1271
1271
|
}),
|
|
1272
|
-
e.requiredText ? (l(), s("span", Ls, c(e.requiredText), 1)) :
|
|
1272
|
+
e.requiredText ? (l(), s("span", Ls, c(e.requiredText), 1)) : v("", !0)
|
|
1273
1273
|
]),
|
|
1274
1274
|
t("div", {
|
|
1275
1275
|
class: x([{ "mt-1": e.label || e.requiredText }, "relative"])
|
|
@@ -1296,8 +1296,8 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1296
1296
|
"text-yellow-400": e.color === "yellow",
|
|
1297
1297
|
"text-green-600": e.color === "green"
|
|
1298
1298
|
}, "w-full rounded-md border py-2 pl-3 pr-10 shadow-sm focus:border-lime-400 focus:outline-none focus:ring-1 focus:ring-lime-400 sm:text-sm"]),
|
|
1299
|
-
onChange:
|
|
1300
|
-
onBlur:
|
|
1299
|
+
onChange: b[0] || (b[0] = (p) => n.value = p.target.value),
|
|
1300
|
+
onBlur: b[1] || (b[1] = (p) => n.value = ""),
|
|
1301
1301
|
"display-value": (p) => p.label || p.name
|
|
1302
1302
|
}, null, 8, ["disabled", "class", "display-value"]),
|
|
1303
1303
|
m(f(wt), {
|
|
@@ -1336,14 +1336,14 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1336
1336
|
class: "size-5",
|
|
1337
1337
|
"aria-hidden": "true"
|
|
1338
1338
|
})
|
|
1339
|
-
], 2)) :
|
|
1339
|
+
], 2)) : v("", !0)
|
|
1340
1340
|
], 2)
|
|
1341
1341
|
]),
|
|
1342
1342
|
_: 2
|
|
1343
1343
|
}, 1032, ["value"]))), 128))
|
|
1344
1344
|
]),
|
|
1345
1345
|
_: 1
|
|
1346
|
-
})) :
|
|
1346
|
+
})) : v("", !0)
|
|
1347
1347
|
], 2),
|
|
1348
1348
|
D(t("p", {
|
|
1349
1349
|
class: x([{
|
|
@@ -1436,8 +1436,8 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1436
1436
|
t("div", { class: "h-24 bg-gray-200 rounded-lg flex inline-flex items-center relative inline-block text-left w-full" }, null, -1)
|
|
1437
1437
|
])])) : (l(), s("div", Fs, [
|
|
1438
1438
|
t("div", Os, [
|
|
1439
|
-
e.label ? (l(), s("label", Is, c(e.label), 1)) :
|
|
1440
|
-
e.requiredText ? (l(), s("span", Ns, c(e.requiredText), 1)) :
|
|
1439
|
+
e.label ? (l(), s("label", Is, c(e.label), 1)) : v("", !0),
|
|
1440
|
+
e.requiredText ? (l(), s("span", Ns, c(e.requiredText), 1)) : v("", !0)
|
|
1441
1441
|
]),
|
|
1442
1442
|
t("div", {
|
|
1443
1443
|
class: x({ "mt-1": e.label })
|
|
@@ -1541,7 +1541,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1541
1541
|
}, {
|
|
1542
1542
|
default: y(() => [
|
|
1543
1543
|
t("span", qs, c(e.item.title), 1),
|
|
1544
|
-
e.item.subtitle ? (l(), s("span", Hs, c(e.item.subtitle), 1)) :
|
|
1544
|
+
e.item.subtitle ? (l(), s("span", Hs, c(e.item.subtitle), 1)) : v("", !0)
|
|
1545
1545
|
]),
|
|
1546
1546
|
_: 1
|
|
1547
1547
|
}),
|
|
@@ -1549,7 +1549,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1549
1549
|
key: 0,
|
|
1550
1550
|
class: "cursor-pointer text-black underline hover:text-lime-400 uppercase text-xs absolute right-0 bottom-0.5",
|
|
1551
1551
|
onClick: r[2] || (r[2] = (a) => n.$emit("actionClicked", e.item))
|
|
1552
|
-
}, c(e.item.action), 1)) :
|
|
1552
|
+
}, c(e.item.action), 1)) : v("", !0)
|
|
1553
1553
|
]),
|
|
1554
1554
|
_: 1
|
|
1555
1555
|
}));
|
|
@@ -1657,9 +1657,9 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1657
1657
|
]),
|
|
1658
1658
|
e.subtitle || e.description || e.buttonText ? (l(), s("div", nn, [
|
|
1659
1659
|
e.subtitle || e.description ? (l(), s("div", an, [
|
|
1660
|
-
e.subtitle ? (l(), s("h3", on, c(e.subtitle), 1)) :
|
|
1661
|
-
e.description ? (l(), s("p", rn, c(e.description), 1)) :
|
|
1662
|
-
])) :
|
|
1660
|
+
e.subtitle ? (l(), s("h3", on, c(e.subtitle), 1)) : v("", !0),
|
|
1661
|
+
e.description ? (l(), s("p", rn, c(e.description), 1)) : v("", !0)
|
|
1662
|
+
])) : v("", !0),
|
|
1663
1663
|
e.buttonText ? (l(), w(U, {
|
|
1664
1664
|
key: 1,
|
|
1665
1665
|
class: "mb-12 lg:mb-0",
|
|
@@ -1673,14 +1673,14 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1673
1673
|
B(c(e.buttonText), 1)
|
|
1674
1674
|
]),
|
|
1675
1675
|
_: 1
|
|
1676
|
-
}, 8, ["loading", "disabled", "color", "size"])) :
|
|
1677
|
-
])) :
|
|
1676
|
+
}, 8, ["loading", "disabled", "color", "size"])) : v("", !0)
|
|
1677
|
+
])) : v("", !0)
|
|
1678
1678
|
]));
|
|
1679
1679
|
}
|
|
1680
1680
|
}), un = {
|
|
1681
1681
|
key: 0,
|
|
1682
1682
|
class: "flex flex-col"
|
|
1683
|
-
}, gn = { class: "flex" }, mn = { class: "flex-shrink-0" }, fn = { class: "ml-3" }, hn = { class: "mt-4" }, yn = { class: "-my-1.5 -mx-2 gap-x-2 flex" },
|
|
1683
|
+
}, gn = { class: "flex" }, mn = { class: "flex-shrink-0" }, fn = { class: "ml-3" }, hn = { class: "mt-4" }, yn = { class: "-my-1.5 -mx-2 gap-x-2 flex" }, vn = ["onClick"], bn = {
|
|
1684
1684
|
key: 1,
|
|
1685
1685
|
class: "flex flex-col animate-pulse"
|
|
1686
1686
|
}, xn = /* @__PURE__ */ T({
|
|
@@ -1696,7 +1696,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1696
1696
|
const i = g, o = (n) => {
|
|
1697
1697
|
i("alertEvent", n.event);
|
|
1698
1698
|
};
|
|
1699
|
-
return (n, r) => e.loading ? (l(), s("div",
|
|
1699
|
+
return (n, r) => e.loading ? (l(), s("div", bn, [...r[0] || (r[0] = [
|
|
1700
1700
|
ee('<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)
|
|
1701
1701
|
])])) : (l(), s("div", un, [
|
|
1702
1702
|
t("div", {
|
|
@@ -1713,22 +1713,22 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1713
1713
|
key: 0,
|
|
1714
1714
|
class: "h-8 w-8 text-lime-400",
|
|
1715
1715
|
"aria-hidden": "true"
|
|
1716
|
-
})) :
|
|
1716
|
+
})) : v("", !0),
|
|
1717
1717
|
e.type === "danger" ? (l(), w(f(Ve), {
|
|
1718
1718
|
key: 1,
|
|
1719
1719
|
class: "h-8 w-8 text-red-600",
|
|
1720
1720
|
"aria-hidden": "true"
|
|
1721
|
-
})) :
|
|
1721
|
+
})) : v("", !0),
|
|
1722
1722
|
e.type === "warning" ? (l(), w(f(te), {
|
|
1723
1723
|
key: 2,
|
|
1724
1724
|
class: "h-8 w-8 text-yellow-400",
|
|
1725
1725
|
"aria-hidden": "true"
|
|
1726
|
-
})) :
|
|
1726
|
+
})) : v("", !0),
|
|
1727
1727
|
e.type === "success" ? (l(), w(f(Mt), {
|
|
1728
1728
|
key: 3,
|
|
1729
1729
|
class: "h-8 w-8 text-green-600",
|
|
1730
1730
|
"aria-hidden": "true"
|
|
1731
|
-
})) :
|
|
1731
|
+
})) : v("", !0)
|
|
1732
1732
|
]),
|
|
1733
1733
|
t("div", fn, [
|
|
1734
1734
|
t("h3", {
|
|
@@ -1762,7 +1762,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1762
1762
|
},
|
|
1763
1763
|
"px-2 py-1.5 text-sm font-medium rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 underline"
|
|
1764
1764
|
])
|
|
1765
|
-
}, c(a.name), 11,
|
|
1765
|
+
}, c(a.name), 11, vn))), 128))
|
|
1766
1766
|
])
|
|
1767
1767
|
])
|
|
1768
1768
|
])
|
|
@@ -1817,7 +1817,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1817
1817
|
]),
|
|
1818
1818
|
_: 2
|
|
1819
1819
|
}, 1032, ["color", "loading"]))), 128))
|
|
1820
|
-
])) :
|
|
1820
|
+
])) : v("", !0)
|
|
1821
1821
|
]));
|
|
1822
1822
|
}
|
|
1823
1823
|
}), Mn = {
|
|
@@ -1872,7 +1872,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1872
1872
|
key: 0,
|
|
1873
1873
|
loading: !0,
|
|
1874
1874
|
size: "small"
|
|
1875
|
-
})) :
|
|
1875
|
+
})) : v("", !0)
|
|
1876
1876
|
]),
|
|
1877
1877
|
r[7] || (r[7] = t("div", { class: "w-4 h-4 rounded-full bg-gray-200" }, null, -1))
|
|
1878
1878
|
]),
|
|
@@ -1888,7 +1888,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1888
1888
|
color: "primary",
|
|
1889
1889
|
block: !0,
|
|
1890
1890
|
class: "w-full xl:w-auto"
|
|
1891
|
-
}, null, 8, ["icon"])) :
|
|
1891
|
+
}, null, 8, ["icon"])) : v("", !0),
|
|
1892
1892
|
e.showActions ? (l(), w(U, {
|
|
1893
1893
|
key: 1,
|
|
1894
1894
|
icon: f(Ye),
|
|
@@ -1897,7 +1897,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1897
1897
|
color: "primary",
|
|
1898
1898
|
block: !0,
|
|
1899
1899
|
class: "w-full xl:w-auto"
|
|
1900
|
-
}, null, 8, ["icon"])) :
|
|
1900
|
+
}, null, 8, ["icon"])) : v("", !0),
|
|
1901
1901
|
e.showActions ? (l(), w(U, {
|
|
1902
1902
|
key: 2,
|
|
1903
1903
|
icon: f(pe),
|
|
@@ -1906,7 +1906,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1906
1906
|
color: "primary",
|
|
1907
1907
|
block: !0,
|
|
1908
1908
|
class: "w-full xl:w-auto"
|
|
1909
|
-
}, null, 8, ["icon"])) :
|
|
1909
|
+
}, null, 8, ["icon"])) : v("", !0)
|
|
1910
1910
|
])
|
|
1911
1911
|
])
|
|
1912
1912
|
])) : (l(), s("div", Mn, [
|
|
@@ -1928,7 +1928,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1928
1928
|
B(c(e.badge), 1)
|
|
1929
1929
|
]),
|
|
1930
1930
|
_: 1
|
|
1931
|
-
}, 8, ["color"])) :
|
|
1931
|
+
}, 8, ["color"])) : v("", !0)
|
|
1932
1932
|
]),
|
|
1933
1933
|
e.showMenu ? (l(), s("button", {
|
|
1934
1934
|
key: 0,
|
|
@@ -1942,11 +1942,11 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1942
1942
|
color: "primary",
|
|
1943
1943
|
loading: !1
|
|
1944
1944
|
}, null, 8, ["icon"])
|
|
1945
|
-
])) :
|
|
1945
|
+
])) : v("", !0)
|
|
1946
1946
|
]),
|
|
1947
1947
|
t("div", Tn, [
|
|
1948
1948
|
t("h4", An, c(e.title), 1),
|
|
1949
|
-
e.subtitle ? (l(), s("p", Dn, c(e.subtitle), 1)) :
|
|
1949
|
+
e.subtitle ? (l(), s("p", Dn, c(e.subtitle), 1)) : v("", !0)
|
|
1950
1950
|
]),
|
|
1951
1951
|
t("div", Ln, [
|
|
1952
1952
|
o.value ? (l(), s("div", Pn, [
|
|
@@ -1956,7 +1956,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1956
1956
|
color: "gray",
|
|
1957
1957
|
loading: !1
|
|
1958
1958
|
}, null, 8, ["icon"])
|
|
1959
|
-
])) :
|
|
1959
|
+
])) : v("", !0),
|
|
1960
1960
|
D(t("img", {
|
|
1961
1961
|
src: e.image,
|
|
1962
1962
|
alt: e.title,
|
|
@@ -1966,11 +1966,11 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1966
1966
|
}, null, 40, Fn), [
|
|
1967
1967
|
[O, !o.value]
|
|
1968
1968
|
]),
|
|
1969
|
-
e.showImageOverlay && !o.value ? (l(), s("div", On)) :
|
|
1969
|
+
e.showImageOverlay && !o.value ? (l(), s("div", On)) : v("", !0)
|
|
1970
1970
|
]),
|
|
1971
|
-
e.bodyText ? (l(), s("p", In, c(e.bodyText), 1)) :
|
|
1971
|
+
e.bodyText ? (l(), s("p", In, c(e.bodyText), 1)) : v("", !0),
|
|
1972
1972
|
t("div", Nn, [
|
|
1973
|
-
e.updatedDate ? (l(), s("span", Vn, " Updated " + c(e.updatedDate), 1)) :
|
|
1973
|
+
e.updatedDate ? (l(), s("span", Vn, " Updated " + c(e.updatedDate), 1)) : v("", !0),
|
|
1974
1974
|
t("div", Rn, [
|
|
1975
1975
|
e.showActions ? (l(), w(U, {
|
|
1976
1976
|
key: 0,
|
|
@@ -1986,7 +1986,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1986
1986
|
B(c(e.actionLabels?.edit || "Editar"), 1)
|
|
1987
1987
|
]),
|
|
1988
1988
|
_: 1
|
|
1989
|
-
}, 8, ["icon"])) :
|
|
1989
|
+
}, 8, ["icon"])) : v("", !0),
|
|
1990
1990
|
e.showActions ? (l(), w(U, {
|
|
1991
1991
|
key: 1,
|
|
1992
1992
|
onClick: r[4] || (r[4] = ne((a) => n.$emit("actionClick", { id: e.id, action: "copy" }), ["stop"])),
|
|
@@ -2001,7 +2001,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
2001
2001
|
B(c(e.actionLabels?.copy || "Copiar"), 1)
|
|
2002
2002
|
]),
|
|
2003
2003
|
_: 1
|
|
2004
|
-
}, 8, ["icon"])) :
|
|
2004
|
+
}, 8, ["icon"])) : v("", !0),
|
|
2005
2005
|
e.showActions ? (l(), w(U, {
|
|
2006
2006
|
key: 2,
|
|
2007
2007
|
onClick: r[5] || (r[5] = ne((a) => n.$emit("actionClick", { id: e.id, action: "delete" }), ["stop"])),
|
|
@@ -2016,7 +2016,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
2016
2016
|
B(c(e.actionLabels?.delete || "Eliminar"), 1)
|
|
2017
2017
|
]),
|
|
2018
2018
|
_: 1
|
|
2019
|
-
}, 8, ["icon"])) :
|
|
2019
|
+
}, 8, ["icon"])) : v("", !0)
|
|
2020
2020
|
])
|
|
2021
2021
|
])
|
|
2022
2022
|
]));
|
|
@@ -2175,9 +2175,9 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
2175
2175
|
key: u,
|
|
2176
2176
|
type: "button",
|
|
2177
2177
|
class: "inline-flex w-full justify-center rounded-md border border-transparent bg-black px-4 py-2 text-base font-medium text-white shadow-sm hover:bg-lime-400 hover:text-black focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 mb-2 sm:mb-0 mr-2 sm:w-auto sm:text-sm",
|
|
2178
|
-
onClick: (
|
|
2178
|
+
onClick: (b) => n(d.value)
|
|
2179
2179
|
}, c(d.name), 9, ta))), 128))
|
|
2180
|
-
])) :
|
|
2180
|
+
])) : v("", !0)
|
|
2181
2181
|
])
|
|
2182
2182
|
])
|
|
2183
2183
|
]),
|
|
@@ -2272,7 +2272,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
2272
2272
|
])
|
|
2273
2273
|
])
|
|
2274
2274
|
])
|
|
2275
|
-
])) :
|
|
2275
|
+
])) : v("", !0)
|
|
2276
2276
|
]),
|
|
2277
2277
|
_: 1
|
|
2278
2278
|
})
|
|
@@ -2283,7 +2283,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
2283
2283
|
key: 0,
|
|
2284
2284
|
role: "list",
|
|
2285
2285
|
class: "divide-y divide-gray-100"
|
|
2286
|
-
}, ma = { class: "min-w-0" }, fa = { class: "flex items-start gap-x-3" }, ha = { class: "text-sm font-semibold leading-6 text-gray-900" }, ya = { class: "mt-1 flex items-center gap-x-2 text-xs leading-5 text-gray-500" },
|
|
2286
|
+
}, ma = { class: "min-w-0" }, fa = { class: "flex items-start gap-x-3" }, ha = { class: "text-sm font-semibold leading-6 text-gray-900" }, ya = { class: "mt-1 flex items-center gap-x-2 text-xs leading-5 text-gray-500" }, va = { class: "truncate" }, ba = { class: "flex flex-none items-center gap-x-4" }, xa = ["href"], pa = { class: "sr-only" }, wa = {
|
|
2287
2287
|
key: 1,
|
|
2288
2288
|
class: "divide-y divide-gray-100 animate-pulse"
|
|
2289
2289
|
}, ka = /* @__PURE__ */ T({
|
|
@@ -2320,10 +2320,10 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
2320
2320
|
}, c(o.statusLiteral), 3)
|
|
2321
2321
|
]),
|
|
2322
2322
|
t("div", ya, [
|
|
2323
|
-
t("p",
|
|
2323
|
+
t("p", va, c(o.description), 1)
|
|
2324
2324
|
])
|
|
2325
2325
|
]),
|
|
2326
|
-
t("div",
|
|
2326
|
+
t("div", ba, [
|
|
2327
2327
|
t("a", {
|
|
2328
2328
|
href: o.href,
|
|
2329
2329
|
class: "hidden rounded-md bg-white px-2.5 py-1.5 text-sm font-semibold text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 hover:bg-gray-50 sm:block"
|
|
@@ -2366,9 +2366,9 @@ function Ma() {
|
|
|
2366
2366
|
return u && typeof u == "object" && "default" in u ? u : { default: u };
|
|
2367
2367
|
}
|
|
2368
2368
|
var n = o(i), r = { s: "ein paar Sekunden", m: ["eine Minute", "einer Minute"], mm: "%d Minuten", h: ["eine Stunde", "einer Stunde"], hh: "%d Stunden", d: ["ein Tag", "einem Tag"], dd: ["%d Tage", "%d Tagen"], M: ["ein Monat", "einem Monat"], MM: ["%d Monate", "%d Monaten"], y: ["ein Jahr", "einem Jahr"], yy: ["%d Jahre", "%d Jahren"] };
|
|
2369
|
-
function a(u,
|
|
2369
|
+
function a(u, b, p) {
|
|
2370
2370
|
var C = r[p];
|
|
2371
|
-
return Array.isArray(C) && (C = C[
|
|
2371
|
+
return Array.isArray(C) && (C = C[b ? 0 : 1]), C.replace("%d", u);
|
|
2372
2372
|
}
|
|
2373
2373
|
var d = { name: "de", weekdays: "Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"), weekdaysShort: "So._Mo._Di._Mi._Do._Fr._Sa.".split("_"), weekdaysMin: "So_Mo_Di_Mi_Do_Fr_Sa".split("_"), months: "Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"), monthsShort: "Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"), ordinal: function(u) {
|
|
2374
2374
|
return u + ".";
|
|
@@ -2674,7 +2674,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
2674
2674
|
}, go = {
|
|
2675
2675
|
href: "#",
|
|
2676
2676
|
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"
|
|
2677
|
-
}, mo = { class: "hidden sm:flex-1 sm:flex sm:items-center sm:justify-between" }, fo = { class: "text-sm text-gray-700" }, ho = { class: "font-bold mx-1" }, yo = { class: "font-bold mx-1" },
|
|
2677
|
+
}, mo = { class: "hidden sm:flex-1 sm:flex sm:items-center sm:justify-between" }, fo = { class: "text-sm text-gray-700" }, ho = { class: "font-bold mx-1" }, yo = { class: "font-bold mx-1" }, vo = { class: "font-bold mx-1" }, bo = {
|
|
2678
2678
|
class: "relative z-0 inline-flex rounded-md shadow-sm -space-x-px",
|
|
2679
2679
|
"aria-label": "Pagination"
|
|
2680
2680
|
}, xo = { class: "sr-only" }, po = ["onClick"], wo = { class: "sr-only" }, ko = {
|
|
@@ -2696,11 +2696,11 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
2696
2696
|
() => Math.min(Number(o.current) + Number(n.value), Number(o.total))
|
|
2697
2697
|
), d = j(() => {
|
|
2698
2698
|
let u = [];
|
|
2699
|
-
for (let
|
|
2700
|
-
u.push(
|
|
2699
|
+
for (let b = Number(r.value); b <= Number(a.value); b++)
|
|
2700
|
+
u.push(b);
|
|
2701
2701
|
return u;
|
|
2702
2702
|
});
|
|
2703
|
-
return (u,
|
|
2703
|
+
return (u, b) => e.loading ? (l(), s("div", ko, [...b[3] || (b[3] = [
|
|
2704
2704
|
t("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/5" }, null, -1),
|
|
2705
2705
|
t("div", { class: "h-10 w-32 bg-gray-200 rounded dark:bg-gray-300" }, null, -1)
|
|
2706
2706
|
])])) : (l(), s("div", ro, [
|
|
@@ -2720,16 +2720,16 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
2720
2720
|
J(u.$slots, "of"),
|
|
2721
2721
|
t("span", yo, c(e.total), 1),
|
|
2722
2722
|
J(u.$slots, "pages"),
|
|
2723
|
-
|
|
2723
|
+
b[2] || (b[2] = t("span", { class: "font-bold mx-1" }, "/", -1)),
|
|
2724
2724
|
J(u.$slots, "fromTotal"),
|
|
2725
|
-
t("span",
|
|
2725
|
+
t("span", vo, c(e.totalItems), 1)
|
|
2726
2726
|
])
|
|
2727
2727
|
]),
|
|
2728
2728
|
t("div", null, [
|
|
2729
|
-
t("nav",
|
|
2729
|
+
t("nav", bo, [
|
|
2730
2730
|
D(t("button", {
|
|
2731
2731
|
ref: "test-first-button",
|
|
2732
|
-
onClick:
|
|
2732
|
+
onClick: b[0] || (b[0] = (p) => i("changePage", e.current - 1)),
|
|
2733
2733
|
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"
|
|
2734
2734
|
}, [
|
|
2735
2735
|
t("span", xo, [
|
|
@@ -2752,7 +2752,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
2752
2752
|
}, c(p), 11, po))), 128)),
|
|
2753
2753
|
D(t("button", {
|
|
2754
2754
|
ref: "test-last-button",
|
|
2755
|
-
onClick:
|
|
2755
|
+
onClick: b[1] || (b[1] = (p) => i("changePage", e.current + 1)),
|
|
2756
2756
|
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"
|
|
2757
2757
|
}, [
|
|
2758
2758
|
t("span", wo, [
|
|
@@ -2852,7 +2852,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
2852
2852
|
for (let F = 0; F < 14; F++)
|
|
2853
2853
|
$.push(Y(r.value).add(F, "day"));
|
|
2854
2854
|
return $;
|
|
2855
|
-
}), u = j(() => a.value.length > 0 && a.value.length < i.rooms.length),
|
|
2855
|
+
}), u = j(() => a.value.length > 0 && a.value.length < i.rooms.length), b = j(
|
|
2856
2856
|
() => i.paginationCurrent !== void 0 || i.paginationTotal !== void 0
|
|
2857
2857
|
), p = j(
|
|
2858
2858
|
() => i.paginationCurrent !== void 0 && i.paginationTotal !== void 0 && i.paginationTotalItems !== void 0
|
|
@@ -2875,7 +2875,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
2875
2875
|
o("changePageSize", $.value);
|
|
2876
2876
|
};
|
|
2877
2877
|
return ($, F) => (l(), s(k, null, [
|
|
2878
|
-
e.loading ?
|
|
2878
|
+
e.loading ? v("", !0) : (l(), s("div", $o, [
|
|
2879
2879
|
t("div", Co, [
|
|
2880
2880
|
t("div", So, [
|
|
2881
2881
|
t("div", Bo, [
|
|
@@ -2929,7 +2929,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
2929
2929
|
isBasePrice: !0
|
|
2930
2930
|
}, null, 8, ["onClick", "price", "currency"])
|
|
2931
2931
|
]))), 128))
|
|
2932
|
-
])) :
|
|
2932
|
+
])) : v("", !0),
|
|
2933
2933
|
e.type === "prices" ? (l(), s("tr", Lo, [
|
|
2934
2934
|
t("td", Po, c(e.literals.pricesSelection), 1),
|
|
2935
2935
|
(l(!0), s(k, null, S(e.category.selectionPrices, (N, W) => (l(), s("td", {
|
|
@@ -2944,7 +2944,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
2944
2944
|
isBasePrice: !0
|
|
2945
2945
|
}, null, 8, ["onClick", "price", "currency"])
|
|
2946
2946
|
]))), 128))
|
|
2947
|
-
])) :
|
|
2947
|
+
])) : v("", !0),
|
|
2948
2948
|
e.type === "prices" ? (l(), s("tr", Fo, [
|
|
2949
2949
|
t("td", Oo, c(e.literals.pricesUpgrade), 1),
|
|
2950
2950
|
(l(!0), s(k, null, S(e.category.upgradePrices, (N, W) => (l(), s("td", {
|
|
@@ -2959,7 +2959,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
2959
2959
|
isBasePrice: !0
|
|
2960
2960
|
}, null, 8, ["onClick", "price", "currency"])
|
|
2961
2961
|
]))), 128))
|
|
2962
|
-
])) :
|
|
2962
|
+
])) : v("", !0),
|
|
2963
2963
|
t("tr", null, [
|
|
2964
2964
|
t("th", Io, [
|
|
2965
2965
|
a.value?.length > 0 && e.actions?.length > 0 ? (l(), s("div", No, [
|
|
@@ -2969,7 +2969,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
2969
2969
|
type: "button",
|
|
2970
2970
|
class: "inline-flex items-center rounded bg-lime-400 hover:bg-black hover:text-white px-2.5 py-1.5 text-xs font-medium shadow-sm disabled:cursor-not-allowed disabled:opacity-30"
|
|
2971
2971
|
}, c(N.name), 9, Vo))), 128))
|
|
2972
|
-
])) :
|
|
2972
|
+
])) : v("", !0),
|
|
2973
2973
|
t("span", null, c(e.literals.pricesSelection), 1)
|
|
2974
2974
|
])
|
|
2975
2975
|
]),
|
|
@@ -2997,7 +2997,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
2997
2997
|
class: x([{ "even:bg-gray-100": e.type === "prices", "odd:bg-gray-100": e.type === "discounts" }])
|
|
2998
2998
|
}, [
|
|
2999
2999
|
t("td", Eo, [
|
|
3000
|
-
a.value.length > 0 ? (l(), s("div", Uo)) :
|
|
3000
|
+
a.value.length > 0 ? (l(), s("div", Uo)) : v("", !0),
|
|
3001
3001
|
D(t("input", {
|
|
3002
3002
|
type: "checkbox",
|
|
3003
3003
|
class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-lime-400 focus:ring-lime-400",
|
|
@@ -3029,7 +3029,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3029
3029
|
])
|
|
3030
3030
|
])
|
|
3031
3031
|
])),
|
|
3032
|
-
|
|
3032
|
+
b.value ? (l(), s("div", Ko, [
|
|
3033
3033
|
C.value ? (l(), s("div", Qo, [
|
|
3034
3034
|
m(ge, {
|
|
3035
3035
|
verticalPosition: "top",
|
|
@@ -3037,7 +3037,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3037
3037
|
loading: i.loading,
|
|
3038
3038
|
onOptionSelected: H
|
|
3039
3039
|
}, null, 8, ["items", "loading"])
|
|
3040
|
-
])) :
|
|
3040
|
+
])) : v("", !0),
|
|
3041
3041
|
p.value ? (l(), s("div", {
|
|
3042
3042
|
key: 1,
|
|
3043
3043
|
class: x(["grow", { "ml-10": C.value }])
|
|
@@ -3069,7 +3069,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3069
3069
|
])]),
|
|
3070
3070
|
_: 1
|
|
3071
3071
|
}, 8, ["current", "total", "totalItems", "loading"])
|
|
3072
|
-
], 2)) :
|
|
3072
|
+
], 2)) : v("", !0)
|
|
3073
3073
|
])) : (l(), w(Lt, { key: 2 }))
|
|
3074
3074
|
], 64));
|
|
3075
3075
|
}
|
|
@@ -3093,7 +3093,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3093
3093
|
onUpdated: o[0] || (o[0] = (n) => i.$emit("updated")),
|
|
3094
3094
|
onMounted: o[1] || (o[1] = (n) => i.$emit("mounted")),
|
|
3095
3095
|
onDataPointSelection: o[2] || (o[2] = (n) => i.$emit("dataPointSelection", n))
|
|
3096
|
-
}), null, 16)) :
|
|
3096
|
+
}), null, 16)) : v("", !0);
|
|
3097
3097
|
}
|
|
3098
3098
|
}), ei = { class: "chart-header flex flex-row items-center w-full justify-between" }, ti = { class: "text-lg font-bold truncate mr-8" }, li = {
|
|
3099
3099
|
key: 0,
|
|
@@ -3181,7 +3181,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3181
3181
|
}
|
|
3182
3182
|
]
|
|
3183
3183
|
}), n.type === "area" && (d.tooltip = { intersect: !1, shared: !0 });
|
|
3184
|
-
const u = () => (d.chart.stacked = n.stacked, n.options && (n.options.xaxis.hideOverlappingLabels = !0, n.options.xaxis.decimalsInFloat = 2, n.options.xaxis.tickAmount = 10), { ...d, ...n.options, plotOptions: { bar: { horizontal: n.horizontal } } }),
|
|
3184
|
+
const u = () => (d.chart.stacked = n.stacked, n.options && (n.options.xaxis.hideOverlappingLabels = !0, n.options.xaxis.decimalsInFloat = 2, n.options.xaxis.tickAmount = 10), { ...d, ...n.options, plotOptions: { bar: { horizontal: n.horizontal } } }), b = () => {
|
|
3185
3185
|
r.from !== "" && r.to !== "" && Y(r.from).isBefore(Y(r.to)) && i("selectedRange", { range: r, chartId: n.id });
|
|
3186
3186
|
}, p = j(() => n.series), C = j(() => u()), R = () => i("chartUpdated"), E = (P, _, K) => {
|
|
3187
3187
|
i("dataPointSelection", { id: n.id, chartContext: _, config: K, event: P });
|
|
@@ -3239,14 +3239,14 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3239
3239
|
]),
|
|
3240
3240
|
_: 1
|
|
3241
3241
|
})
|
|
3242
|
-
])) :
|
|
3242
|
+
])) : v("", !0),
|
|
3243
3243
|
t("div", oi, [
|
|
3244
3244
|
t("div", ii, [
|
|
3245
3245
|
D(t("input", {
|
|
3246
3246
|
type: "datetime-local",
|
|
3247
3247
|
"onUpdate:modelValue": _[0] || (_[0] = (K) => f(r).from = K),
|
|
3248
3248
|
max: o.value.toString(),
|
|
3249
|
-
onChange:
|
|
3249
|
+
onChange: b,
|
|
3250
3250
|
name: "from",
|
|
3251
3251
|
id: "from",
|
|
3252
3252
|
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"
|
|
@@ -3259,7 +3259,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3259
3259
|
type: "datetime-local",
|
|
3260
3260
|
"onUpdate:modelValue": _[1] || (_[1] = (K) => f(r).to = K),
|
|
3261
3261
|
max: o.value.toString(),
|
|
3262
|
-
onChange:
|
|
3262
|
+
onChange: b,
|
|
3263
3263
|
name: "to",
|
|
3264
3264
|
id: "to",
|
|
3265
3265
|
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"
|
|
@@ -3338,7 +3338,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3338
3338
|
}), hi = {
|
|
3339
3339
|
name: "uiFooter"
|
|
3340
3340
|
}, yi = { class: "bg-white" };
|
|
3341
|
-
function
|
|
3341
|
+
function vi(e, g, i, o, n, r) {
|
|
3342
3342
|
return l(), s("footer", yi, [...g[0] || (g[0] = [
|
|
3343
3343
|
t("div", { class: "mx-auto py-6 px-4 sm:px-6 md:flex md:items-center md:justify-between lg:px-8" }, [
|
|
3344
3344
|
t("div", { class: "mt-8 md:mt-0 md:order-1" }, [
|
|
@@ -3347,7 +3347,7 @@ function bi(e, g, i, o, n, r) {
|
|
|
3347
3347
|
], -1)
|
|
3348
3348
|
])]);
|
|
3349
3349
|
}
|
|
3350
|
-
const
|
|
3350
|
+
const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ T({
|
|
3351
3351
|
__name: "uiLoadingScreen",
|
|
3352
3352
|
props: {
|
|
3353
3353
|
title: {},
|
|
@@ -3434,7 +3434,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3434
3434
|
"mr-3 flex-shrink-0 h-6 w-6"
|
|
3435
3435
|
]),
|
|
3436
3436
|
"aria-hidden": "true"
|
|
3437
|
-
}, null, 8, ["loading", "icon", "class"])) :
|
|
3437
|
+
}, null, 8, ["loading", "icon", "class"])) : v("", !0),
|
|
3438
3438
|
e.loading ? (l(), s("div", zi, [...a[0] || (a[0] = [
|
|
3439
3439
|
t("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, null, -1)
|
|
3440
3440
|
])])) : (l(), s("span", Mi, c(d.name), 1)),
|
|
@@ -3446,13 +3446,13 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3446
3446
|
}, 1032, ["class"]),
|
|
3447
3447
|
m(f(Ne), { class: "space-y-1" }, {
|
|
3448
3448
|
default: y(() => [
|
|
3449
|
-
(l(!0), s(k, null, S(d.children, (
|
|
3450
|
-
onClick: (p) => o("sideBarClick",
|
|
3451
|
-
key:
|
|
3452
|
-
class: x([
|
|
3449
|
+
(l(!0), s(k, null, S(d.children, (b) => (l(), w(f(se), {
|
|
3450
|
+
onClick: (p) => o("sideBarClick", b.id),
|
|
3451
|
+
key: b.name,
|
|
3452
|
+
class: x([b.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"])
|
|
3453
3453
|
}, {
|
|
3454
3454
|
default: y(() => [
|
|
3455
|
-
e.loading ? (l(), s("div", Ti)) : (l(), s("span", ji, c(
|
|
3455
|
+
e.loading ? (l(), s("div", Ti)) : (l(), s("span", ji, c(b.name), 1))
|
|
3456
3456
|
]),
|
|
3457
3457
|
_: 2
|
|
3458
3458
|
}, 1032, ["onClick", "class"]))), 128))
|
|
@@ -3478,8 +3478,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3478
3478
|
"mr-3 flex-shrink-0 h-6 w-6"
|
|
3479
3479
|
]),
|
|
3480
3480
|
"aria-hidden": "true"
|
|
3481
|
-
}, null, 8, ["loading", "icon", "class"])) :
|
|
3482
|
-
e.loading ?
|
|
3481
|
+
}, null, 8, ["loading", "icon", "class"])) : v("", !0),
|
|
3482
|
+
e.loading ? v("", !0) : (l(), s("span", Bi, c(d.name), 1))
|
|
3483
3483
|
], 10, Si)
|
|
3484
3484
|
]))
|
|
3485
3485
|
], 64))), 128))
|
|
@@ -3553,7 +3553,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3553
3553
|
]),
|
|
3554
3554
|
t("nav", Vi, [
|
|
3555
3555
|
t("div", Ri, [
|
|
3556
|
-
e.isFilterNavigation ?
|
|
3556
|
+
e.isFilterNavigation ? v("", !0) : (l(), s("ul", _i, [
|
|
3557
3557
|
t("li", null, [
|
|
3558
3558
|
t("ul", qi, [
|
|
3559
3559
|
(l(!0), s(k, null, S(o.value, (a) => (l(), s("li", {
|
|
@@ -3643,14 +3643,14 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3643
3643
|
value: e.filterNavigation.search.value,
|
|
3644
3644
|
loading: e.filterNavigation.search.loading,
|
|
3645
3645
|
onInputChanged: r[1] || (r[1] = (a) => n.$emit("inputChanged", a))
|
|
3646
|
-
}, null, 8, ["name", "label", "placeholder", "value", "loading"])) :
|
|
3646
|
+
}, null, 8, ["name", "label", "placeholder", "value", "loading"])) : v("", !0)
|
|
3647
3647
|
]),
|
|
3648
3648
|
(l(!0), s(k, null, S(e.filterNavigation.items, (a, d) => (l(), s("li", {
|
|
3649
3649
|
class: "ml-2",
|
|
3650
3650
|
key: d
|
|
3651
3651
|
}, [
|
|
3652
3652
|
t("p", Ui, c(a.label), 1),
|
|
3653
|
-
(l(!0), s(k, null, S(a.filters, (u,
|
|
3653
|
+
(l(!0), s(k, null, S(a.filters, (u, b) => (l(), w(ue, {
|
|
3654
3654
|
class: "mb-2",
|
|
3655
3655
|
value: u.value,
|
|
3656
3656
|
loading: u.loading
|
|
@@ -3661,7 +3661,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3661
3661
|
_: 2
|
|
3662
3662
|
}, 1032, ["value", "loading"]))), 256))
|
|
3663
3663
|
]))), 128))
|
|
3664
|
-
])) :
|
|
3664
|
+
])) : v("", !0)
|
|
3665
3665
|
])
|
|
3666
3666
|
])
|
|
3667
3667
|
]))
|
|
@@ -3720,7 +3720,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3720
3720
|
]),
|
|
3721
3721
|
t("dd", Qi, [
|
|
3722
3722
|
t("p", Xi, c(e.item.stat), 1),
|
|
3723
|
-
e.item.explanation ? (l(), s("p", er, c(e.item.explanation), 1)) :
|
|
3723
|
+
e.item.explanation ? (l(), s("p", er, c(e.item.explanation), 1)) : v("", !0),
|
|
3724
3724
|
e.item.changeType ? (l(), s("p", {
|
|
3725
3725
|
key: 1,
|
|
3726
3726
|
class: x([
|
|
@@ -3736,14 +3736,14 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3736
3736
|
key: 0,
|
|
3737
3737
|
class: "self-center flex-shrink-0 h-3 w-3 text-green-500",
|
|
3738
3738
|
"aria-hidden": "true"
|
|
3739
|
-
})) :
|
|
3739
|
+
})) : v("", !0),
|
|
3740
3740
|
e.item.changeType === "decrease" ? (l(), w(f(Rl), {
|
|
3741
3741
|
key: 1,
|
|
3742
3742
|
class: "self-center flex-shrink-0 h-3 w-3 text-red-500",
|
|
3743
3743
|
"aria-hidden": "true"
|
|
3744
|
-
})) :
|
|
3744
|
+
})) : v("", !0),
|
|
3745
3745
|
B(" " + c(e.item.change), 1)
|
|
3746
|
-
], 2)) :
|
|
3746
|
+
], 2)) : v("", !0),
|
|
3747
3747
|
D(t("div", tr, [
|
|
3748
3748
|
t("div", lr, [
|
|
3749
3749
|
t("span", {
|
|
@@ -3770,7 +3770,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3770
3770
|
}, hr = {
|
|
3771
3771
|
key: 1,
|
|
3772
3772
|
class: "overflow-hidden bg-white shadow sm:rounded-lg"
|
|
3773
|
-
}, yr = { class: "border-t border-gray-200" },
|
|
3773
|
+
}, yr = { class: "border-t border-gray-200" }, vr = /* @__PURE__ */ T({
|
|
3774
3774
|
__name: "uiStripedCard",
|
|
3775
3775
|
props: {
|
|
3776
3776
|
title: {},
|
|
@@ -3831,7 +3831,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3831
3831
|
])
|
|
3832
3832
|
]));
|
|
3833
3833
|
}
|
|
3834
|
-
}),
|
|
3834
|
+
}), br = { class: "absolute top-10 bg-black text-white text-xs p-2 rounded z-10 font-light w-60 flex flex-row items-start" }, xr = { class: "ml-2" }, pr = {
|
|
3835
3835
|
__name: "tooltip",
|
|
3836
3836
|
props: {
|
|
3837
3837
|
tip: {
|
|
@@ -3840,7 +3840,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3840
3840
|
}
|
|
3841
3841
|
},
|
|
3842
3842
|
setup(e) {
|
|
3843
|
-
return (g, i) => (l(), s("div",
|
|
3843
|
+
return (g, i) => (l(), s("div", br, [
|
|
3844
3844
|
i[0] || (i[0] = t("svg", {
|
|
3845
3845
|
class: "absolute -top-3 left-0",
|
|
3846
3846
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3918,7 +3918,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3918
3918
|
}, { deep: !0, immediate: !0 }), Z(() => i.filters, (z) => {
|
|
3919
3919
|
z && u(z);
|
|
3920
3920
|
}, { deep: !0, immediate: !0 });
|
|
3921
|
-
const
|
|
3921
|
+
const b = j(() => [
|
|
3922
3922
|
{ id: "1", name: i.literals.and },
|
|
3923
3923
|
{ id: "2", name: i.literals.or }
|
|
3924
3924
|
]), p = j(() => i.availableCategories.map((z) => ({
|
|
@@ -3980,15 +3980,15 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3980
3980
|
ee('<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)
|
|
3981
3981
|
])])) : (l(), w(f(kl), {
|
|
3982
3982
|
key: 0,
|
|
3983
|
-
class: "relative"
|
|
3983
|
+
class: "relative w-full max-w-full"
|
|
3984
3984
|
}, {
|
|
3985
3985
|
default: y(() => [
|
|
3986
|
-
m(f($l), { class: "inline-flex items-center gap-x-2 text-sm/6 font-semibold text-gray-900 outline-none flex-wrap gap-y-1" }, {
|
|
3986
|
+
m(f($l), { class: "inline-flex items-center gap-x-2 text-sm/6 font-semibold text-gray-900 outline-none flex-wrap gap-y-1 w-full max-w-full" }, {
|
|
3987
3987
|
default: y(() => [
|
|
3988
3988
|
t("span", null, c(i.literals.filters) + ": ", 1),
|
|
3989
3989
|
(l(!0), s(k, null, S(R.value, (H, $) => (l(), s(k, { key: $ }, [
|
|
3990
3990
|
t("span", wr, c(H.name) + " " + c(H.operator) + ": " + c(H.value), 1),
|
|
3991
|
-
$ < R.value.length - 1 ? (l(), s("span", kr, c(n.value.name), 1)) :
|
|
3991
|
+
$ < R.value.length - 1 ? (l(), s("span", kr, c(n.value.name), 1)) : v("", !0)
|
|
3992
3992
|
], 64))), 128)),
|
|
3993
3993
|
m(f(oe), {
|
|
3994
3994
|
class: "size-5",
|
|
@@ -4011,7 +4011,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4011
4011
|
t("div", $r, [
|
|
4012
4012
|
t("div", Cr, [
|
|
4013
4013
|
t("div", Sr, [
|
|
4014
|
-
m(
|
|
4014
|
+
m(be, {
|
|
4015
4015
|
loading: i.loading,
|
|
4016
4016
|
class: "w-60",
|
|
4017
4017
|
items: p.value,
|
|
@@ -4053,7 +4053,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4053
4053
|
]),
|
|
4054
4054
|
_: 2
|
|
4055
4055
|
}, 1032, ["loading"]),
|
|
4056
|
-
$.type === "uiSelect" ? (l(), w(
|
|
4056
|
+
$.type === "uiSelect" ? (l(), w(be, {
|
|
4057
4057
|
key: 0,
|
|
4058
4058
|
class: "grow",
|
|
4059
4059
|
loading: i.loading,
|
|
@@ -4067,15 +4067,15 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4067
4067
|
name: $.props.name || "",
|
|
4068
4068
|
value: $.props.value || "",
|
|
4069
4069
|
onInput: (N) => K(F, N.target.value)
|
|
4070
|
-
}, null, 8, ["loading", "name", "value", "onInput"])) :
|
|
4071
|
-
F === 0 ? (l(), w(
|
|
4070
|
+
}, null, 8, ["loading", "name", "value", "onInput"])) : v("", !0),
|
|
4071
|
+
F === 0 ? (l(), w(be, {
|
|
4072
4072
|
key: 2,
|
|
4073
4073
|
onSelectChanged: E,
|
|
4074
4074
|
class: "w-24 uppercase",
|
|
4075
4075
|
loading: i.loading,
|
|
4076
|
-
items:
|
|
4076
|
+
items: b.value,
|
|
4077
4077
|
select: n.value
|
|
4078
|
-
}, null, 8, ["loading", "items", "select"])) :
|
|
4078
|
+
}, null, 8, ["loading", "items", "select"])) : v("", !0),
|
|
4079
4079
|
F > 0 ? (l(), w(G, {
|
|
4080
4080
|
key: 3,
|
|
4081
4081
|
loading: i.loading,
|
|
@@ -4087,7 +4087,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4087
4087
|
B(c(n.value.name), 1)
|
|
4088
4088
|
]),
|
|
4089
4089
|
_: 1
|
|
4090
|
-
}, 8, ["loading"])) :
|
|
4090
|
+
}, 8, ["loading"])) : v("", !0),
|
|
4091
4091
|
m(L, {
|
|
4092
4092
|
icon: f(pe),
|
|
4093
4093
|
color: "red",
|
|
@@ -4170,17 +4170,17 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4170
4170
|
items: e.items,
|
|
4171
4171
|
loading: !1,
|
|
4172
4172
|
onOptionSelected: i[0] || (i[0] = (o) => g.$emit("noResultsOptionSelected", o))
|
|
4173
|
-
}, null, 8, ["items"])) :
|
|
4173
|
+
}, null, 8, ["items"])) : v("", !0)
|
|
4174
4174
|
])
|
|
4175
4175
|
])
|
|
4176
4176
|
]));
|
|
4177
4177
|
}
|
|
4178
4178
|
}), Pr = { key: 0 }, Fr = {
|
|
4179
4179
|
key: 1,
|
|
4180
|
-
class: "actionsAndFilters mb-6 flex flex-col lg:flex-row lg:items-start
|
|
4180
|
+
class: "actionsAndFilters mb-6 flex flex-col lg:flex-row lg:items-start w-full gap-4"
|
|
4181
4181
|
}, Or = {
|
|
4182
4182
|
key: 0,
|
|
4183
|
-
class: "w-full lg:w-
|
|
4183
|
+
class: "w-full lg:flex-1 lg:min-w-0 lg:max-w-full"
|
|
4184
4184
|
}, Ir = {
|
|
4185
4185
|
key: 1,
|
|
4186
4186
|
class: "w-full lg:w-auto lg:flex-shrink-0 flex flex-col sm:flex-row items-stretch sm:items-center gap-3 lg:gap-2"
|
|
@@ -4240,7 +4240,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4240
4240
|
setup(e, { emit: g }) {
|
|
4241
4241
|
const i = {
|
|
4242
4242
|
uiTag: G
|
|
4243
|
-
}, o = g, n = e, r = V([]), a = V(""), d = V(!1), u = V(null),
|
|
4243
|
+
}, o = g, n = e, r = V([]), a = V(""), d = V(!1), u = V(null), b = V(null), p = V(!1), C = V(null), R = V(null), E = j(() => n.items && n.items.length > 0), P = j(() => r.value.length > 0), _ = j(() => n.actions && n.actions.length > 0 || !1), K = j(
|
|
4244
4244
|
() => r.value.length === n.items.length && n.items.length > 0
|
|
4245
4245
|
), re = j(
|
|
4246
4246
|
() => r.value.length > 0 && r.value.length < n.items.length
|
|
@@ -4368,13 +4368,13 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4368
4368
|
const h = "bg-lime-50 z-10";
|
|
4369
4369
|
return p.value && n.items.length > 25 ? `${h} sticky top-0` : h;
|
|
4370
4370
|
}), ml = j(() => ({})), fl = j(() => p.value && C.value !== null && n.items.length > 25 ? { maxHeight: `${C.value}px` } : {}), he = () => {
|
|
4371
|
-
if (!
|
|
4371
|
+
if (!b.value || !u.value) return;
|
|
4372
4372
|
if (n.items.length <= 25) {
|
|
4373
4373
|
C.value = null, p.value = !1;
|
|
4374
4374
|
return;
|
|
4375
4375
|
}
|
|
4376
4376
|
const h = u.value.querySelector("table");
|
|
4377
|
-
h &&
|
|
4377
|
+
h && ve(() => {
|
|
4378
4378
|
if (!u.value || !h) return;
|
|
4379
4379
|
const A = h.querySelector("thead"), M = h.querySelector("tbody");
|
|
4380
4380
|
if (!A || !M) return;
|
|
@@ -4393,26 +4393,26 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4393
4393
|
return Z(() => n.resetSelected, (h) => {
|
|
4394
4394
|
h !== void 0 && (d.value = h, h && d.value && (r.value = [], d.value = !h, o("selectedItemsDeleted")));
|
|
4395
4395
|
}), Z(() => n.items, () => {
|
|
4396
|
-
|
|
4396
|
+
ve(() => {
|
|
4397
4397
|
he(), ye();
|
|
4398
4398
|
});
|
|
4399
4399
|
}, { deep: !0 }), Z(() => n.loading, (h) => {
|
|
4400
|
-
h ||
|
|
4400
|
+
h || ve(() => {
|
|
4401
4401
|
he(), ye();
|
|
4402
4402
|
});
|
|
4403
4403
|
}), Z([F, N], () => {
|
|
4404
|
-
|
|
4404
|
+
ve(() => {
|
|
4405
4405
|
he(), ye();
|
|
4406
4406
|
});
|
|
4407
4407
|
}), Oe(() => {
|
|
4408
|
-
|
|
4408
|
+
ve(() => {
|
|
4409
4409
|
he(), ye();
|
|
4410
4410
|
const h = () => {
|
|
4411
4411
|
he(), ye();
|
|
4412
4412
|
};
|
|
4413
4413
|
R.value = h, window.addEventListener("resize", h);
|
|
4414
4414
|
});
|
|
4415
|
-
}),
|
|
4415
|
+
}), vl(() => {
|
|
4416
4416
|
R.value && (window.removeEventListener("resize", R.value), R.value = null);
|
|
4417
4417
|
}), (h, A) => !e.loading && E.value ? (l(), s("div", Pr, [
|
|
4418
4418
|
e.selectAllItemsModal ? (l(), w(Pe, {
|
|
@@ -4427,7 +4427,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4427
4427
|
B(c(e.selectAllItemsModal.content), 1)
|
|
4428
4428
|
]),
|
|
4429
4429
|
_: 1
|
|
4430
|
-
}, 8, ["title", "modalName", "open", "actions"])) :
|
|
4430
|
+
}, 8, ["title", "modalName", "open", "actions"])) : v("", !0),
|
|
4431
4431
|
m(Pe, {
|
|
4432
4432
|
title: "Seleccione las columnas que desea ocultar",
|
|
4433
4433
|
modalName: "columnsModal",
|
|
@@ -4463,7 +4463,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4463
4463
|
onSmartFilterDeleted: tl,
|
|
4464
4464
|
loading: n.loading
|
|
4465
4465
|
}, null, 8, ["available-categories", "literals", "filters", "loading"])
|
|
4466
|
-
])) :
|
|
4466
|
+
])) : v("", !0),
|
|
4467
4467
|
H.value || $.value ? (l(), s("div", Ir, [
|
|
4468
4468
|
$.value ? (l(), s("div", Nr, [
|
|
4469
4469
|
(l(!0), s(k, null, S(n.tableActionButtons, (M) => (l(), w(U, {
|
|
@@ -4481,7 +4481,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4481
4481
|
]),
|
|
4482
4482
|
_: 2
|
|
4483
4483
|
}, 1032, ["loading", "disabled", "color", "size", "icon", "onClick"]))), 128))
|
|
4484
|
-
])) :
|
|
4484
|
+
])) : v("", !0),
|
|
4485
4485
|
H.value ? (l(), s("div", Vr, [
|
|
4486
4486
|
m(ge, {
|
|
4487
4487
|
position: "right",
|
|
@@ -4489,12 +4489,12 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4489
4489
|
loading: n.tableActionsDropdown?.loading || !1,
|
|
4490
4490
|
onOptionSelected: ll
|
|
4491
4491
|
}, null, 8, ["items", "loading"])
|
|
4492
|
-
])) :
|
|
4493
|
-
])) :
|
|
4494
|
-
])) :
|
|
4492
|
+
])) : v("", !0)
|
|
4493
|
+
])) : v("", !0)
|
|
4494
|
+
])) : v("", !0),
|
|
4495
4495
|
t("div", {
|
|
4496
4496
|
ref_key: "tableWrapper",
|
|
4497
|
-
ref:
|
|
4497
|
+
ref: b,
|
|
4498
4498
|
class: "flex flex-col",
|
|
4499
4499
|
style: qe(ml.value)
|
|
4500
4500
|
}, [
|
|
@@ -4508,7 +4508,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4508
4508
|
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",
|
|
4509
4509
|
onClick: (I) => Zt(M)
|
|
4510
4510
|
}, c(M.name), 9, Yr))), 128))
|
|
4511
|
-
])) :
|
|
4511
|
+
])) : v("", !0),
|
|
4512
4512
|
t("div", {
|
|
4513
4513
|
ref_key: "tableScrollContainer",
|
|
4514
4514
|
ref: u,
|
|
@@ -4531,7 +4531,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4531
4531
|
class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-black focus:ring-lime-400",
|
|
4532
4532
|
type: "checkbox",
|
|
4533
4533
|
onChange: Wt
|
|
4534
|
-
}, null, 40, Ur)) :
|
|
4534
|
+
}, null, 40, Ur)) : v("", !0)
|
|
4535
4535
|
], 2),
|
|
4536
4536
|
(l(!0), s(k, null, S(me.value, (M, Q) => (l(), s("th", {
|
|
4537
4537
|
key: Q,
|
|
@@ -4543,7 +4543,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4543
4543
|
M.tooltip && Nt(M.name) ? (l(), w(pr, {
|
|
4544
4544
|
key: 0,
|
|
4545
4545
|
tip: M.tooltip
|
|
4546
|
-
}, null, 8, ["tip"])) :
|
|
4546
|
+
}, null, 8, ["tip"])) : v("", !0),
|
|
4547
4547
|
M.value ? (l(), s("button", {
|
|
4548
4548
|
key: 1,
|
|
4549
4549
|
class: "group flex items-center uppercase text-xs relative text-nowrap",
|
|
@@ -4573,7 +4573,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4573
4573
|
t("td", {
|
|
4574
4574
|
class: x(z.value)
|
|
4575
4575
|
}, [
|
|
4576
|
-
Re(M.id) ? (l(), s("div", Kr)) :
|
|
4576
|
+
Re(M.id) ? (l(), s("div", Kr)) : v("", !0),
|
|
4577
4577
|
_.value ? D((l(), s("input", {
|
|
4578
4578
|
key: 1,
|
|
4579
4579
|
"onUpdate:modelValue": A[4] || (A[4] = (I) => r.value = I),
|
|
@@ -4583,7 +4583,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4583
4583
|
disabled: M.disabled
|
|
4584
4584
|
}, null, 10, Qr)), [
|
|
4585
4585
|
[yt, r.value]
|
|
4586
|
-
]) :
|
|
4586
|
+
]) : v("", !0)
|
|
4587
4587
|
], 2),
|
|
4588
4588
|
(l(!0), s(k, null, S(Vt(M.row), (I, _e) => (l(), s("td", {
|
|
4589
4589
|
key: _e,
|
|
@@ -4604,7 +4604,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4604
4604
|
icon: I.icon,
|
|
4605
4605
|
size: "small",
|
|
4606
4606
|
color: "gray"
|
|
4607
|
-
}, null, 8, ["loading", "icon"])) :
|
|
4607
|
+
}, null, 8, ["loading", "icon"])) : v("", !0),
|
|
4608
4608
|
t("span", null, c(I.content), 1)
|
|
4609
4609
|
], 8, ld)) : typeof I == "object" && I.type === "link" ? (l(), s("span", Le({
|
|
4610
4610
|
key: 2,
|
|
@@ -4620,7 +4620,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4620
4620
|
size: "small",
|
|
4621
4621
|
color: "gray",
|
|
4622
4622
|
class: "inline-block ml-1"
|
|
4623
|
-
}, null, 8, ["loading", "icon"])) :
|
|
4623
|
+
}, null, 8, ["loading", "icon"])) : v("", !0)
|
|
4624
4624
|
], 16, sd)) : typeof I == "object" && I.type === "apiKey" ? (l(), s("div", nd, [
|
|
4625
4625
|
t("span", null, c(I.content), 1),
|
|
4626
4626
|
t("button", {
|
|
@@ -4660,7 +4660,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4660
4660
|
size: "small",
|
|
4661
4661
|
color: "gray"
|
|
4662
4662
|
}, null, 8, ["loading", "icon"]),
|
|
4663
|
-
X.action === "viewCode" ? (l(), s("span", dd, "View Code")) :
|
|
4663
|
+
X.action === "viewCode" ? (l(), s("span", dd, "View Code")) : v("", !0)
|
|
4664
4664
|
], 10, rd))), 128))
|
|
4665
4665
|
])) : (l(), w(Fe(Yt(I)), Le({
|
|
4666
4666
|
key: 5,
|
|
@@ -4691,7 +4691,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4691
4691
|
loading: n.loading,
|
|
4692
4692
|
onOptionSelected: al
|
|
4693
4693
|
}, null, 8, ["items", "loading"])
|
|
4694
|
-
])) :
|
|
4694
|
+
])) : v("", !0),
|
|
4695
4695
|
W.value ? (l(), s("div", {
|
|
4696
4696
|
key: 1,
|
|
4697
4697
|
class: x(["grow", { "ml-10": le.value }])
|
|
@@ -4723,8 +4723,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4723
4723
|
])]),
|
|
4724
4724
|
_: 1
|
|
4725
4725
|
}, 8, ["current", "total", "totalItems", "loading"])
|
|
4726
|
-
], 2)) :
|
|
4727
|
-
])) :
|
|
4726
|
+
], 2)) : v("", !0)
|
|
4727
|
+
])) : v("", !0)
|
|
4728
4728
|
])) : !e.loading && !E.value && n.noResults ? (l(), w(lt, {
|
|
4729
4729
|
key: 1,
|
|
4730
4730
|
title: n.noResults.title,
|
|
@@ -4736,10 +4736,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4736
4736
|
onNoResultsOptionSelected: rl
|
|
4737
4737
|
}, null, 8, ["title", "message", "actions", "items", "select"])) : (l(), w(Lt, { key: 2 }));
|
|
4738
4738
|
}
|
|
4739
|
-
}), md = { class: "lg:hidden" }, fd = ["value"], hd = { class: "hidden lg:block" }, yd = { class: "border-b border-gray-200" },
|
|
4739
|
+
}), md = { class: "lg:hidden" }, fd = ["value"], hd = { class: "hidden lg:block" }, yd = { class: "border-b border-gray-200" }, vd = {
|
|
4740
4740
|
class: "-mb-px flex space-x-8",
|
|
4741
4741
|
"aria-label": "Tabs"
|
|
4742
|
-
},
|
|
4742
|
+
}, bd = ["onClick", "aria-current"], xd = /* @__PURE__ */ T({
|
|
4743
4743
|
__name: "uiTabs",
|
|
4744
4744
|
props: {
|
|
4745
4745
|
tabs: {}
|
|
@@ -4766,7 +4766,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4766
4766
|
]),
|
|
4767
4767
|
t("div", hd, [
|
|
4768
4768
|
t("div", yd, [
|
|
4769
|
-
t("nav",
|
|
4769
|
+
t("nav", vd, [
|
|
4770
4770
|
(l(!0), s(k, null, S(e.tabs, (a) => (l(), s("a", {
|
|
4771
4771
|
key: a.name,
|
|
4772
4772
|
onClick: (d) => i("tabClicked", a.id),
|
|
@@ -4783,8 +4783,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4783
4783
|
a.current ? "bg-indigo-100" : "bg-gray-100 text-gray-900",
|
|
4784
4784
|
"hidden ml-3 py-0.5 px-2.5 rounded-full text-xs font-medium md:inline-block"
|
|
4785
4785
|
])
|
|
4786
|
-
}, c(a.count), 3)) :
|
|
4787
|
-
], 10,
|
|
4786
|
+
}, c(a.count), 3)) : v("", !0)
|
|
4787
|
+
], 10, bd))), 128))
|
|
4788
4788
|
])
|
|
4789
4789
|
])
|
|
4790
4790
|
])
|
|
@@ -4836,7 +4836,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4836
4836
|
t("ul", Nd, [
|
|
4837
4837
|
(l(), s(k, null, S(10, (a, d) => t("li", { key: d }, [
|
|
4838
4838
|
t("div", Vd, [
|
|
4839
|
-
a !== 10 ? (l(), s("span", Rd)) :
|
|
4839
|
+
a !== 10 ? (l(), s("span", Rd)) : v("", !0),
|
|
4840
4840
|
r[2] || (r[2] = ee('<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))
|
|
4841
4841
|
])
|
|
4842
4842
|
])), 64))
|
|
@@ -4857,7 +4857,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4857
4857
|
]),
|
|
4858
4858
|
o.items.length > 0 ? (l(), s("div", kd, [
|
|
4859
4859
|
t("div", $d, [
|
|
4860
|
-
m(
|
|
4860
|
+
m(bl, {
|
|
4861
4861
|
name: "list",
|
|
4862
4862
|
tag: "ul",
|
|
4863
4863
|
class: "-mb-8"
|
|
@@ -4865,7 +4865,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4865
4865
|
default: y(() => [
|
|
4866
4866
|
(l(!0), s(k, null, S(o.items, (a, d) => (l(), s("li", { key: d }, [
|
|
4867
4867
|
t("div", Cd, [
|
|
4868
|
-
d < o.items.length - 1 ? (l(), s("span", Sd)) :
|
|
4868
|
+
d < o.items.length - 1 ? (l(), s("span", Sd)) : v("", !0),
|
|
4869
4869
|
t("div", Bd, [
|
|
4870
4870
|
t("div", null, [
|
|
4871
4871
|
t("span", {
|
|
@@ -4907,7 +4907,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4907
4907
|
_: 1
|
|
4908
4908
|
})
|
|
4909
4909
|
])
|
|
4910
|
-
])) :
|
|
4910
|
+
])) : v("", !0),
|
|
4911
4911
|
o.items.length > 0 ? (l(), s("div", Dd, [
|
|
4912
4912
|
t("div", Ld, [
|
|
4913
4913
|
t("a", {
|
|
@@ -5019,7 +5019,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5019
5019
|
}, {
|
|
5020
5020
|
default: y(({ active: u }) => [
|
|
5021
5021
|
t("p", {
|
|
5022
|
-
onClick: (
|
|
5022
|
+
onClick: (b) => n.$emit("topBarClick", d.id),
|
|
5023
5023
|
class: x(["cursor-pointer", [
|
|
5024
5024
|
u ? "bg-gray-100" : "",
|
|
5025
5025
|
"block px-4 py-2 text-sm text-gray-700"
|
|
@@ -5071,7 +5071,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5071
5071
|
e.brand ? (l(), s("div", nc, [
|
|
5072
5072
|
t("div", ac, c(e.brand.title), 1),
|
|
5073
5073
|
t("div", oc, c(e.brand.subtitle), 1)
|
|
5074
|
-
])) :
|
|
5074
|
+
])) : v("", !0)
|
|
5075
5075
|
]),
|
|
5076
5076
|
t("div", ic, [
|
|
5077
5077
|
(l(!0), s(k, null, S(e.profileMenu, (d) => (l(), w(f(se), {
|
|
@@ -5124,7 +5124,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5124
5124
|
}, "3M", 2)
|
|
5125
5125
|
]));
|
|
5126
5126
|
}
|
|
5127
|
-
}), gc = { class: "chart-header flex flex-row justify-between" }, mc = { class: "text-sm font-medium text-gray-500 truncate" }, fc = { class: "chart-content" }, hc = { class: "h-full w-full flex items-center justify-center flex-col" }, yc = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" },
|
|
5127
|
+
}), gc = { class: "chart-header flex flex-row justify-between" }, mc = { class: "text-sm font-medium text-gray-500 truncate" }, fc = { class: "chart-content" }, hc = { class: "h-full w-full flex items-center justify-center flex-col" }, yc = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, vc = /* @__PURE__ */ T({
|
|
5128
5128
|
__name: "uiFunnelChartV2",
|
|
5129
5129
|
props: {
|
|
5130
5130
|
labels: {},
|
|
@@ -5162,8 +5162,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5162
5162
|
],
|
|
5163
5163
|
dataLabels: {
|
|
5164
5164
|
enabled: !0,
|
|
5165
|
-
formatter: function(
|
|
5166
|
-
return p.w.globals.labels[p.dataPointIndex] + ": " +
|
|
5165
|
+
formatter: function(b, p) {
|
|
5166
|
+
return p.w.globals.labels[p.dataPointIndex] + ": " + b;
|
|
5167
5167
|
}
|
|
5168
5168
|
},
|
|
5169
5169
|
markers: {
|
|
@@ -5182,10 +5182,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5182
5182
|
}
|
|
5183
5183
|
}
|
|
5184
5184
|
};
|
|
5185
|
-
const r = j(() => ({ ...o.options, ...n })), a = j(() => o.series), d = () => i("chartUpdated"), u = (
|
|
5186
|
-
i("dataPointSelection", { id: o.id, chartContext: p, config: C, event:
|
|
5185
|
+
const r = j(() => ({ ...o.options, ...n })), a = j(() => o.series), d = () => i("chartUpdated"), u = (b, p, C) => {
|
|
5186
|
+
i("dataPointSelection", { id: o.id, chartContext: p, config: C, event: b });
|
|
5187
5187
|
};
|
|
5188
|
-
return (
|
|
5188
|
+
return (b, p) => (l(), s(k, null, [
|
|
5189
5189
|
D(t("div", {
|
|
5190
5190
|
class: x(["h-[" + e.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow"])
|
|
5191
5191
|
}, [
|
|
@@ -5193,7 +5193,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5193
5193
|
t("div", mc, c(e.title), 1),
|
|
5194
5194
|
m(uc, {
|
|
5195
5195
|
range: e.range,
|
|
5196
|
-
onRangeSelected: p[0] || (p[0] = (C) =>
|
|
5196
|
+
onRangeSelected: p[0] || (p[0] = (C) => b.$emit("selectedRange", { range: C, chartId: e.id }))
|
|
5197
5197
|
}, null, 8, ["range"])
|
|
5198
5198
|
]),
|
|
5199
5199
|
D(t("div", fc, [
|
|
@@ -5255,7 +5255,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5255
5255
|
])
|
|
5256
5256
|
], 64));
|
|
5257
5257
|
}
|
|
5258
|
-
}),
|
|
5258
|
+
}), bc = { class: "fixed inset-0 overflow-hidden" }, xc = { class: "absolute inset-0 overflow-hidden" }, pc = { class: "pointer-events-none fixed inset-y-0 right-0 flex max-w-full pl-10" }, wc = { class: "flex h-full flex-col overflow-y-scroll bg-white shadow-xl" }, kc = { class: "bg-lime-400 px-4 py-6 sm:px-6" }, $c = { class: "flex items-center justify-between" }, Cc = { class: "ml-3 flex h-7 items-center" }, Sc = { class: "mt-1" }, Bc = { class: "text-sm" }, Mc = { class: "relative flex-1 px-4 py-6 sm:px-6" }, zc = /* @__PURE__ */ T({
|
|
5259
5259
|
__name: "uiRightSidebar",
|
|
5260
5260
|
props: {
|
|
5261
5261
|
title: {},
|
|
@@ -5276,7 +5276,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5276
5276
|
}, {
|
|
5277
5277
|
default: y(() => [
|
|
5278
5278
|
o[4] || (o[4] = t("div", { class: "fixed inset-0" }, null, -1)),
|
|
5279
|
-
t("div",
|
|
5279
|
+
t("div", bc, [
|
|
5280
5280
|
t("div", xc, [
|
|
5281
5281
|
t("div", pc, [
|
|
5282
5282
|
m(f(ce), {
|
|
@@ -5361,7 +5361,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5361
5361
|
o.value = !1, i("modalAction", r);
|
|
5362
5362
|
};
|
|
5363
5363
|
return (r, a) => (l(), s("div", jc, [
|
|
5364
|
-
e.loading ?
|
|
5364
|
+
e.loading ? v("", !0) : (l(), w(Pe, {
|
|
5365
5365
|
key: 0,
|
|
5366
5366
|
open: o.value,
|
|
5367
5367
|
modalName: "deleteAllImagesModal",
|
|
@@ -5423,7 +5423,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5423
5423
|
B(c(e.literals.deleteAllImages), 1)
|
|
5424
5424
|
]),
|
|
5425
5425
|
_: 1
|
|
5426
|
-
})) :
|
|
5426
|
+
})) : v("", !0)
|
|
5427
5427
|
]));
|
|
5428
5428
|
}
|
|
5429
5429
|
}), Vc = {
|
|
@@ -5482,7 +5482,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5482
5482
|
key: 0,
|
|
5483
5483
|
modelValue: f(n),
|
|
5484
5484
|
"onUpdate:modelValue": [
|
|
5485
|
-
d[0] || (d[0] = (u) =>
|
|
5485
|
+
d[0] || (d[0] = (u) => vt(n) ? n.value = u : n = u),
|
|
5486
5486
|
d[1] || (d[1] = (u) => r(u))
|
|
5487
5487
|
]
|
|
5488
5488
|
}, {
|
|
@@ -5498,7 +5498,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5498
5498
|
}, null, 8, ["icon"]),
|
|
5499
5499
|
t("div", Hc, [
|
|
5500
5500
|
t("p", Yc, c(u.name), 1),
|
|
5501
|
-
u.description ? (l(), s("p", Ec, c(u.description), 1)) :
|
|
5501
|
+
u.description ? (l(), s("p", Ec, c(u.description), 1)) : v("", !0)
|
|
5502
5502
|
]),
|
|
5503
5503
|
t("div", Uc, c(f(n).indexOf(u) + 1), 1)
|
|
5504
5504
|
])
|
|
@@ -5566,7 +5566,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5566
5566
|
}
|
|
5567
5567
|
}
|
|
5568
5568
|
};
|
|
5569
|
-
const d = () => ({ ...a, ...o.options }), u = j(() => o.series),
|
|
5569
|
+
const d = () => ({ ...a, ...o.options }), u = j(() => o.series), b = j(() => d()), p = () => i("chartUpdated"), C = (E, P, _) => {
|
|
5570
5570
|
i("dataPointSelection", { id: o.id, chartContext: P, config: _, event: E });
|
|
5571
5571
|
}, R = () => {
|
|
5572
5572
|
r.from !== "" && r.to !== "" && Y(r.from).isBefore(Y(r.to)) && i("selectedRange", { range: r, chartId: o.id });
|
|
@@ -5618,7 +5618,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5618
5618
|
class: "flex items-center justify-center mt-4",
|
|
5619
5619
|
type: "donut",
|
|
5620
5620
|
series: u.value,
|
|
5621
|
-
options:
|
|
5621
|
+
options: b.value,
|
|
5622
5622
|
height: e.height - 80,
|
|
5623
5623
|
onUpdated: p,
|
|
5624
5624
|
onMounted: p,
|
|
@@ -5729,7 +5729,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5729
5729
|
disabled: e.disabled,
|
|
5730
5730
|
label: e.label,
|
|
5731
5731
|
max: o.value.toString(),
|
|
5732
|
-
onInputChanged: u[0] || (u[0] = (
|
|
5732
|
+
onInputChanged: u[0] || (u[0] = (b) => f(n).from = b.value)
|
|
5733
5733
|
}, null, 8, ["addOn", "name", "color", "value", "error", "disabled", "label", "max"]),
|
|
5734
5734
|
m(ae, {
|
|
5735
5735
|
type: "datetime-local",
|
|
@@ -5743,7 +5743,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5743
5743
|
disabled: e.disabled,
|
|
5744
5744
|
label: void 0,
|
|
5745
5745
|
max: o.value.toString(),
|
|
5746
|
-
onInputChanged: u[1] || (u[1] = (
|
|
5746
|
+
onInputChanged: u[1] || (u[1] = (b) => f(n).to = b.value)
|
|
5747
5747
|
}, null, 8, ["class", "addOn", "name", "color", "value", "error", "disabled", "max"]),
|
|
5748
5748
|
m(U, {
|
|
5749
5749
|
disabled: e.disabled,
|
|
@@ -5785,8 +5785,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5785
5785
|
const i = g, n = V(e.sliderValue);
|
|
5786
5786
|
return (r, a) => (l(), s("div", null, [
|
|
5787
5787
|
t("div", du, [
|
|
5788
|
-
e.label ? (l(), s("label", cu, c(e.label), 1)) :
|
|
5789
|
-
e.requiredText ? (l(), s("span", uu, c(e.requiredText), 1)) :
|
|
5788
|
+
e.label ? (l(), s("label", cu, c(e.label), 1)) : v("", !0),
|
|
5789
|
+
e.requiredText ? (l(), s("span", uu, c(e.requiredText), 1)) : v("", !0)
|
|
5790
5790
|
]),
|
|
5791
5791
|
t("div", {
|
|
5792
5792
|
class: x([{ "mt-1": e.label }, "pt-16 px-6 pb-6 bg-gray-50 border border-gray-300 rounded-lg shadow-sm"])
|
|
@@ -5821,10 +5821,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5821
5821
|
t("h3", {
|
|
5822
5822
|
class: x(["text-lg font-medium leading-6", { "mb-8": e.description === void 0 }])
|
|
5823
5823
|
}, c(e.title), 3),
|
|
5824
|
-
e.description ? (l(), s("p", fu, c(e.description), 1)) :
|
|
5824
|
+
e.description ? (l(), s("p", fu, c(e.description), 1)) : v("", !0)
|
|
5825
5825
|
], 64));
|
|
5826
5826
|
}
|
|
5827
|
-
}), yu = { class: "w-full" },
|
|
5827
|
+
}), yu = { class: "w-full" }, vu = { class: "flex flex-col gap-6 w-full" }, bu = {
|
|
5828
5828
|
key: 0,
|
|
5829
5829
|
class: "flex items-center gap-2"
|
|
5830
5830
|
}, xu = {
|
|
@@ -5874,46 +5874,46 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5874
5874
|
o("itemSelected", r, a);
|
|
5875
5875
|
};
|
|
5876
5876
|
return (r, a) => (l(), s("aside", yu, [
|
|
5877
|
-
t("div",
|
|
5878
|
-
e.title ? (l(), s("div",
|
|
5877
|
+
t("div", vu, [
|
|
5878
|
+
e.title ? (l(), s("div", bu, [
|
|
5879
5879
|
e.titleIcon ? (l(), w(L, {
|
|
5880
5880
|
key: 0,
|
|
5881
5881
|
icon: e.titleIcon,
|
|
5882
5882
|
loading: e.loading,
|
|
5883
5883
|
size: "big",
|
|
5884
5884
|
color: "primary"
|
|
5885
|
-
}, null, 8, ["icon", "loading"])) :
|
|
5885
|
+
}, null, 8, ["icon", "loading"])) : v("", !0),
|
|
5886
5886
|
e.loading ? (l(), s("div", pu)) : (l(), s("h2", xu, c(e.title), 1))
|
|
5887
|
-
])) :
|
|
5887
|
+
])) : v("", !0),
|
|
5888
5888
|
(l(!0), s(k, null, S(e.sections, (d, u) => (l(), s(k, {
|
|
5889
5889
|
key: d.id
|
|
5890
5890
|
}, [
|
|
5891
|
-
u > 0 ? (l(), s("div", wu)) :
|
|
5891
|
+
u > 0 ? (l(), s("div", wu)) : v("", !0),
|
|
5892
5892
|
t("div", ku, [
|
|
5893
|
-
d.title && !e.loading ? (l(), s("h3", $u, c(d.title), 1)) : d.title && e.loading ? (l(), s("div", Cu)) :
|
|
5894
|
-
(l(!0), s(k, null, S(d.items, (
|
|
5895
|
-
key:
|
|
5896
|
-
onClick: (p) => n(d.id,
|
|
5893
|
+
d.title && !e.loading ? (l(), s("h3", $u, c(d.title), 1)) : d.title && e.loading ? (l(), s("div", Cu)) : v("", !0),
|
|
5894
|
+
(l(!0), s(k, null, S(d.items, (b) => (l(), s("button", {
|
|
5895
|
+
key: b.id,
|
|
5896
|
+
onClick: (p) => n(d.id, b.id),
|
|
5897
5897
|
class: x([
|
|
5898
5898
|
"flex items-center gap-3 px-3 py-2 rounded-md text-sm font-medium transition-colors",
|
|
5899
|
-
d.selectedItemId ===
|
|
5899
|
+
d.selectedItemId === b.id ? d.selectionStyle === "primary" ? "bg-gray-800 text-white" : "bg-gray-100 text-gray-900" : "text-gray-700 hover:bg-gray-100"
|
|
5900
5900
|
])
|
|
5901
5901
|
}, [
|
|
5902
|
-
|
|
5902
|
+
b.icon || d.defaultIcon ? (l(), w(L, {
|
|
5903
5903
|
key: 0,
|
|
5904
|
-
icon:
|
|
5904
|
+
icon: b.icon || d.defaultIcon,
|
|
5905
5905
|
loading: e.loading,
|
|
5906
5906
|
size: "medium",
|
|
5907
|
-
color: d.selectedItemId ===
|
|
5908
|
-
}, null, 8, ["icon", "loading", "color"])) :
|
|
5909
|
-
e.loading ? (l(), s("div", Mu)) : (l(), s("span", Bu, c(
|
|
5910
|
-
|
|
5907
|
+
color: d.selectedItemId === b.id && d.selectionStyle === "primary" ? "white" : "primary"
|
|
5908
|
+
}, null, 8, ["icon", "loading", "color"])) : v("", !0),
|
|
5909
|
+
e.loading ? (l(), s("div", Mu)) : (l(), s("span", Bu, c(b.name), 1)),
|
|
5910
|
+
b.count !== void 0 && !e.loading ? (l(), s("span", {
|
|
5911
5911
|
key: 3,
|
|
5912
5912
|
class: x([
|
|
5913
5913
|
"text-xs",
|
|
5914
|
-
d.selectedItemId ===
|
|
5914
|
+
d.selectedItemId === b.id && d.selectionStyle === "primary" ? "text-gray-300" : "text-gray-500"
|
|
5915
5915
|
])
|
|
5916
|
-
}, " (" + c(
|
|
5916
|
+
}, " (" + c(b.count) + ") ", 3)) : b.count !== void 0 && e.loading ? (l(), s("div", zu)) : v("", !0)
|
|
5917
5917
|
], 10, Su))), 128))
|
|
5918
5918
|
])
|
|
5919
5919
|
], 64))), 128))
|
|
@@ -6148,7 +6148,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6148
6148
|
"aria-hidden": "true"
|
|
6149
6149
|
}, null, -1)),
|
|
6150
6150
|
t("div", Uu, [
|
|
6151
|
-
m(
|
|
6151
|
+
m(be, {
|
|
6152
6152
|
isWrapped: !0,
|
|
6153
6153
|
class: "w-full self-center relative",
|
|
6154
6154
|
items: e.topbar.selectItems,
|
|
@@ -6212,11 +6212,11 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6212
6212
|
(l(!0), s(k, null, S(e.topbar.profileMenu, (u) => (l(), w(f(Ge), {
|
|
6213
6213
|
key: u.name
|
|
6214
6214
|
}, {
|
|
6215
|
-
default: y(({ active:
|
|
6215
|
+
default: y(({ active: b }) => [
|
|
6216
6216
|
t("a", {
|
|
6217
6217
|
onClick: (p) => a.$emit("topBarClick", u.id),
|
|
6218
6218
|
class: x([
|
|
6219
|
-
|
|
6219
|
+
b ? "bg-gray-50" : "",
|
|
6220
6220
|
u.current ? "bg-gray-100 font-semibold" : "",
|
|
6221
6221
|
"block px-3 py-1 text-sm leading-6 text-gray-900 cursor-pointer"
|
|
6222
6222
|
])
|
|
@@ -6255,7 +6255,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6255
6255
|
const i = e, o = g, n = (u) => {
|
|
6256
6256
|
o("statClick", u);
|
|
6257
6257
|
}, 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}`, a = V(0), d = V(r());
|
|
6258
|
-
return Oe(() => a.value += 1), (u,
|
|
6258
|
+
return Oe(() => a.value += 1), (u, b) => (l(), s("div", {
|
|
6259
6259
|
class: x([d.value, "grid grid-cols-1 md:grid-cols-2 gap-4"]),
|
|
6260
6260
|
key: a.value
|
|
6261
6261
|
}, [
|
|
@@ -6310,7 +6310,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6310
6310
|
key: 0,
|
|
6311
6311
|
modelValue: f(n),
|
|
6312
6312
|
"onUpdate:modelValue": [
|
|
6313
|
-
u[0] || (u[0] = (
|
|
6313
|
+
u[0] || (u[0] = (b) => vt(n) ? n.value = b : n = b),
|
|
6314
6314
|
r
|
|
6315
6315
|
],
|
|
6316
6316
|
name: "selectorMultiple",
|
|
@@ -6326,7 +6326,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6326
6326
|
]),
|
|
6327
6327
|
_: 1
|
|
6328
6328
|
}),
|
|
6329
|
-
e.requiredText ? (l(), s("span", s0, c(e.requiredText), 1)) :
|
|
6329
|
+
e.requiredText ? (l(), s("span", s0, c(e.requiredText), 1)) : v("", !0)
|
|
6330
6330
|
]),
|
|
6331
6331
|
t("div", n0, [
|
|
6332
6332
|
m(f(Ml), {
|
|
@@ -6348,19 +6348,19 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6348
6348
|
}, {
|
|
6349
6349
|
default: y(() => [
|
|
6350
6350
|
t("span", a0, [
|
|
6351
|
-
f(n).length === 0 ? (l(), s("span", o0, "...")) :
|
|
6352
|
-
(l(!0), s(k, null, S(f(n), (
|
|
6353
|
-
key:
|
|
6351
|
+
f(n).length === 0 ? (l(), s("span", o0, "...")) : v("", !0),
|
|
6352
|
+
(l(!0), s(k, null, S(f(n), (b) => (l(), s("span", {
|
|
6353
|
+
key: b.id,
|
|
6354
6354
|
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"
|
|
6355
6355
|
}, [
|
|
6356
|
-
t("span", null, c(
|
|
6356
|
+
t("span", null, c(b.name), 1),
|
|
6357
6357
|
(l(), s("svg", {
|
|
6358
6358
|
class: "h-4 w-4 cursor-pointer",
|
|
6359
6359
|
fill: "none",
|
|
6360
6360
|
stroke: "currentColor",
|
|
6361
6361
|
viewBox: "0 0 24 24",
|
|
6362
6362
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6363
|
-
onClick: ne((p) => a(
|
|
6363
|
+
onClick: ne((p) => a(b), ["stop", "prevent"])
|
|
6364
6364
|
}, [...u[1] || (u[1] = [
|
|
6365
6365
|
t("path", {
|
|
6366
6366
|
"stroke-linecap": "round",
|
|
@@ -6392,9 +6392,9 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6392
6392
|
t("div", r0, [
|
|
6393
6393
|
m(f(zl), { 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" }, {
|
|
6394
6394
|
default: y(() => [
|
|
6395
|
-
(l(!0), s(k, null, S(e.items, (
|
|
6396
|
-
key:
|
|
6397
|
-
value:
|
|
6395
|
+
(l(!0), s(k, null, S(e.items, (b) => (l(), w(f(jl), {
|
|
6396
|
+
key: b.id,
|
|
6397
|
+
value: b,
|
|
6398
6398
|
as: "template"
|
|
6399
6399
|
}, {
|
|
6400
6400
|
default: y(({ active: p, selected: C }) => [
|
|
@@ -6403,7 +6403,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6403
6403
|
}, [
|
|
6404
6404
|
t("span", {
|
|
6405
6405
|
class: x(["block truncate", { "font-semibold": C, "font-normal": !C }])
|
|
6406
|
-
}, c(
|
|
6406
|
+
}, c(b.name), 3),
|
|
6407
6407
|
C ? (l(), s("span", {
|
|
6408
6408
|
key: 0,
|
|
6409
6409
|
class: x(["absolute inset-y-0 right-0 flex items-center pr-4", { "text-black": p, "text-lime-400": !p }])
|
|
@@ -6419,7 +6419,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6419
6419
|
clipRule: "evenodd"
|
|
6420
6420
|
})
|
|
6421
6421
|
], -1)
|
|
6422
|
-
])], 2)) :
|
|
6422
|
+
])], 2)) : v("", !0)
|
|
6423
6423
|
], 2)
|
|
6424
6424
|
]),
|
|
6425
6425
|
_: 2
|
|
@@ -6443,7 +6443,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6443
6443
|
_: 1
|
|
6444
6444
|
}, 8, ["modelValue", "disabled"]));
|
|
6445
6445
|
}
|
|
6446
|
-
}), u0 = { class: "space-y-6" }, g0 = { class: "mb-6" }, m0 = { class: "grid grid-cols-1 md:grid-cols-2 gap-4" }, f0 = { class: "mt-4 mb-12 space-y-4" }, h0 = { class: "space-y-4" }, y0 = { class: "text-xl font-bold text-gray-800" },
|
|
6446
|
+
}), u0 = { class: "space-y-6" }, g0 = { class: "mb-6" }, m0 = { class: "grid grid-cols-1 md:grid-cols-2 gap-4" }, f0 = { class: "mt-4 mb-12 space-y-4" }, h0 = { class: "space-y-4" }, y0 = { class: "text-xl font-bold text-gray-800" }, v0 = { class: "grid grid-cols-1 md:grid-cols-2 gap-4 mt-4 transition-all duration-300 ease-in-out" }, b0 = { class: "bg-white border border-gray-300 rounded-lg p-4" }, x0 = { class: "font-bold mb-4 text-sm text-gray-700" }, p0 = { class: "space-y-2" }, w0 = { class: "bg-white border border-gray-300 rounded-lg p-4" }, k0 = { class: "font-bold mb-4 text-sm text-gray-700" }, $0 = { class: "space-y-2" }, C0 = {
|
|
6447
6447
|
key: 0,
|
|
6448
6448
|
class: "mt-6"
|
|
6449
6449
|
}, S0 = /* @__PURE__ */ T({
|
|
@@ -6455,17 +6455,17 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6455
6455
|
},
|
|
6456
6456
|
emits: ["compareButtonClicked", "filesUploaded", "checkboxChanged", "generateNewFile"],
|
|
6457
6457
|
setup(e, { emit: g }) {
|
|
6458
|
-
const i = e, o = g, n = j(() => i.toCompare && Object.keys(i.toCompare).length > 0 && i.toCompare.constructor === Object), r = j(() => n.value ? Object.entries(i.toCompare).map(([
|
|
6459
|
-
name:
|
|
6458
|
+
const i = e, o = g, n = j(() => i.toCompare && Object.keys(i.toCompare).length > 0 && i.toCompare.constructor === Object), r = j(() => n.value ? Object.entries(i.toCompare).map(([b, p]) => ({
|
|
6459
|
+
name: b,
|
|
6460
6460
|
commands: p
|
|
6461
|
-
})) : []), a = (
|
|
6462
|
-
o("checkboxChanged",
|
|
6461
|
+
})) : []), a = (b, p, C, R) => {
|
|
6462
|
+
o("checkboxChanged", b, p, C, R);
|
|
6463
6463
|
}, d = () => {
|
|
6464
6464
|
o("compareButtonClicked");
|
|
6465
6465
|
}, u = () => {
|
|
6466
6466
|
o("generateNewFile");
|
|
6467
6467
|
};
|
|
6468
|
-
return (
|
|
6468
|
+
return (b, p) => (l(), s("div", u0, [
|
|
6469
6469
|
t("div", g0, [
|
|
6470
6470
|
t("div", m0, [
|
|
6471
6471
|
m(Ee, {
|
|
@@ -6537,8 +6537,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6537
6537
|
}, 1024),
|
|
6538
6538
|
m(f(Ne), null, {
|
|
6539
6539
|
default: y(() => [
|
|
6540
|
-
t("div",
|
|
6541
|
-
t("div",
|
|
6540
|
+
t("div", v0, [
|
|
6541
|
+
t("div", b0, [
|
|
6542
6542
|
t("p", x0, c(e.literals.file1Content), 1),
|
|
6543
6543
|
t("div", p0, [
|
|
6544
6544
|
(l(!0), s(k, null, S(C.commands[0]?.entries || [], (E, P) => (l(), w(ue, {
|
|
@@ -6600,7 +6600,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6600
6600
|
])]),
|
|
6601
6601
|
_: 1
|
|
6602
6602
|
})
|
|
6603
|
-
])) :
|
|
6603
|
+
])) : v("", !0)
|
|
6604
6604
|
]));
|
|
6605
6605
|
}
|
|
6606
6606
|
}), B0 = { "aria-label": "Progress" }, M0 = {
|
|
@@ -6635,20 +6635,20 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6635
6635
|
};
|
|
6636
6636
|
return (a, d) => (l(), s("nav", B0, [
|
|
6637
6637
|
t("ol", M0, [
|
|
6638
|
-
(l(!0), s(k, null, S(n.value, (u,
|
|
6638
|
+
(l(!0), s(k, null, S(n.value, (u, b) => (l(), s("li", {
|
|
6639
6639
|
key: u.id,
|
|
6640
6640
|
class: x([
|
|
6641
6641
|
// Añadir padding bottom solo si no es el último paso (para la línea conectora)
|
|
6642
|
-
|
|
6642
|
+
b !== n.value.length - 1 ? "pb-10" : "",
|
|
6643
6643
|
"relative"
|
|
6644
6644
|
])
|
|
6645
6645
|
}, [
|
|
6646
6646
|
u.status === "complete" ? (l(), s(k, { key: 0 }, [
|
|
6647
|
-
|
|
6647
|
+
b !== n.value.length - 1 ? (l(), s("div", z0)) : v("", !0),
|
|
6648
6648
|
t("button", {
|
|
6649
6649
|
type: "button",
|
|
6650
6650
|
class: "group relative flex items-start cursor-pointer w-full text-left",
|
|
6651
|
-
onClick: (p) => r(u,
|
|
6651
|
+
onClick: (p) => r(u, b)
|
|
6652
6652
|
}, [
|
|
6653
6653
|
t("span", T0, [
|
|
6654
6654
|
t("span", A0, [
|
|
@@ -6664,12 +6664,12 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6664
6664
|
])
|
|
6665
6665
|
], 8, j0)
|
|
6666
6666
|
], 64)) : u.status === "current" ? (l(), s(k, { key: 1 }, [
|
|
6667
|
-
|
|
6667
|
+
b !== n.value.length - 1 ? (l(), s("div", F0)) : v("", !0),
|
|
6668
6668
|
t("button", {
|
|
6669
6669
|
type: "button",
|
|
6670
6670
|
class: "group relative flex items-start cursor-pointer w-full text-left",
|
|
6671
6671
|
"aria-current": "step",
|
|
6672
|
-
onClick: (p) => r(u,
|
|
6672
|
+
onClick: (p) => r(u, b)
|
|
6673
6673
|
}, [
|
|
6674
6674
|
d[0] || (d[0] = t("span", {
|
|
6675
6675
|
class: "flex h-9 items-center",
|
|
@@ -6685,11 +6685,11 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6685
6685
|
])
|
|
6686
6686
|
], 8, O0)
|
|
6687
6687
|
], 64)) : (l(), s(k, { key: 2 }, [
|
|
6688
|
-
|
|
6688
|
+
b !== n.value.length - 1 ? (l(), s("div", R0)) : v("", !0),
|
|
6689
6689
|
t("button", {
|
|
6690
6690
|
type: "button",
|
|
6691
6691
|
class: "group relative flex items-start cursor-pointer w-full text-left",
|
|
6692
|
-
onClick: (p) => r(u,
|
|
6692
|
+
onClick: (p) => r(u, b)
|
|
6693
6693
|
}, [
|
|
6694
6694
|
d[1] || (d[1] = t("span", {
|
|
6695
6695
|
class: "flex h-9 items-center",
|
|
@@ -6765,8 +6765,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6765
6765
|
uiDropdown: ge,
|
|
6766
6766
|
uiDynamicStats: t0,
|
|
6767
6767
|
uiFilter: Zn,
|
|
6768
|
-
uiFooter:
|
|
6769
|
-
uiFunnelChartV2:
|
|
6768
|
+
uiFooter: bi,
|
|
6769
|
+
uiFunnelChartV2: vc,
|
|
6770
6770
|
uiGallery: Nc,
|
|
6771
6771
|
uiIcon: L,
|
|
6772
6772
|
uiInput: ae,
|
|
@@ -6782,12 +6782,12 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6782
6782
|
uiSectionTitle: hu,
|
|
6783
6783
|
uiSelect: Ts,
|
|
6784
6784
|
uiSelectMultiple: c0,
|
|
6785
|
-
uiSelect_v2:
|
|
6785
|
+
uiSelect_v2: be,
|
|
6786
6786
|
uiSidebar: Di,
|
|
6787
6787
|
uiSidebarV2: Ue,
|
|
6788
6788
|
uiStats: Ft,
|
|
6789
6789
|
uiSteps: E0,
|
|
6790
|
-
uiStripedCard:
|
|
6790
|
+
uiStripedCard: vr,
|
|
6791
6791
|
uiTable: gd,
|
|
6792
6792
|
uiTabs: xd,
|
|
6793
6793
|
uiTag: G,
|
|
@@ -6844,8 +6844,8 @@ export {
|
|
|
6844
6844
|
ge as uiDropdown,
|
|
6845
6845
|
t0 as uiDynamicStats,
|
|
6846
6846
|
Zn as uiFilter,
|
|
6847
|
-
|
|
6848
|
-
|
|
6847
|
+
bi as uiFooter,
|
|
6848
|
+
vc as uiFunnelChartV2,
|
|
6849
6849
|
Nc as uiGallery,
|
|
6850
6850
|
L as uiIcon,
|
|
6851
6851
|
ae as uiInput,
|
|
@@ -6861,12 +6861,12 @@ export {
|
|
|
6861
6861
|
hu as uiSectionTitle,
|
|
6862
6862
|
Ts as uiSelect,
|
|
6863
6863
|
c0 as uiSelectMultiple,
|
|
6864
|
-
|
|
6864
|
+
be as uiSelect_v2,
|
|
6865
6865
|
Di as uiSidebar,
|
|
6866
6866
|
Ue as uiSidebarV2,
|
|
6867
6867
|
Ft as uiStats,
|
|
6868
6868
|
E0 as uiSteps,
|
|
6869
|
-
|
|
6869
|
+
vr as uiStripedCard,
|
|
6870
6870
|
gd as uiTable,
|
|
6871
6871
|
xd as uiTabs,
|
|
6872
6872
|
G as uiTag,
|