@hotelinking/ui 16.48.10 → 16.48.11
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 +543 -543
- package/package.json +1 -1
package/dist/ui.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Menu 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 b, 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 be, onUnmounted as bl, TransitionGroup as vl, isRef as bt } from "vue";
|
|
2
|
+
import { Menu as Ze, MenuButton as We, MenuItems as Je, MenuItem as Ge, Combobox as vt, 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
|
-
import
|
|
5
|
-
const L = /* @__PURE__ */
|
|
4
|
+
import Tl from "@vueform/slider";
|
|
5
|
+
const L = /* @__PURE__ */ T({
|
|
6
6
|
__name: "uiIcon",
|
|
7
7
|
props: {
|
|
8
8
|
icon: {},
|
|
@@ -38,7 +38,7 @@ const L = /* @__PURE__ */ A({
|
|
|
38
38
|
})
|
|
39
39
|
}, null, 8, ["class"]));
|
|
40
40
|
}
|
|
41
|
-
}),
|
|
41
|
+
}), Al = ["disabled"], Dl = "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", U = /* @__PURE__ */ T({
|
|
42
42
|
__name: "uiButton",
|
|
43
43
|
props: {
|
|
44
44
|
block: { type: Boolean },
|
|
@@ -76,7 +76,7 @@ const L = /* @__PURE__ */ A({
|
|
|
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"])) : b("", !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,9 +90,9 @@ const L = /* @__PURE__ */ A({
|
|
|
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"])) : b("", !0),
|
|
94
94
|
J(a.$slots, "default")
|
|
95
|
-
], 10,
|
|
95
|
+
], 10, Al));
|
|
96
96
|
}
|
|
97
97
|
}), Ll = {
|
|
98
98
|
key: 0,
|
|
@@ -100,7 +100,7 @@ const L = /* @__PURE__ */ A({
|
|
|
100
100
|
}, Pl = { class: "flex items-center h-5" }, Fl = ["checked", "value", "disabled"], Ol = { class: "ml-3 text-sm" }, Il = { class: "text-black" }, Nl = {
|
|
101
101
|
key: 1,
|
|
102
102
|
class: "flex items-center animate-pulse"
|
|
103
|
-
}, ue = /* @__PURE__ */
|
|
103
|
+
}, ue = /* @__PURE__ */ T({
|
|
104
104
|
__name: "uiCheckbox",
|
|
105
105
|
props: {
|
|
106
106
|
check: { type: Boolean, default: !1 },
|
|
@@ -291,7 +291,7 @@ function Mt(e, g) {
|
|
|
291
291
|
})
|
|
292
292
|
]);
|
|
293
293
|
}
|
|
294
|
-
function
|
|
294
|
+
function et(e, g) {
|
|
295
295
|
return l(), s("svg", {
|
|
296
296
|
xmlns: "http://www.w3.org/2000/svg",
|
|
297
297
|
fill: "none",
|
|
@@ -359,7 +359,7 @@ function $e(e, g) {
|
|
|
359
359
|
})
|
|
360
360
|
]);
|
|
361
361
|
}
|
|
362
|
-
function
|
|
362
|
+
function He(e, g) {
|
|
363
363
|
return l(), s("svg", {
|
|
364
364
|
xmlns: "http://www.w3.org/2000/svg",
|
|
365
365
|
fill: "none",
|
|
@@ -568,7 +568,7 @@ function Ql(e, g) {
|
|
|
568
568
|
})
|
|
569
569
|
]);
|
|
570
570
|
}
|
|
571
|
-
function
|
|
571
|
+
function Tt(e, g) {
|
|
572
572
|
return l(), s("svg", {
|
|
573
573
|
xmlns: "http://www.w3.org/2000/svg",
|
|
574
574
|
fill: "none",
|
|
@@ -636,7 +636,7 @@ function es(e, g) {
|
|
|
636
636
|
})
|
|
637
637
|
]);
|
|
638
638
|
}
|
|
639
|
-
function
|
|
639
|
+
function Ye(e, g) {
|
|
640
640
|
return l(), s("svg", {
|
|
641
641
|
xmlns: "http://www.w3.org/2000/svg",
|
|
642
642
|
fill: "none",
|
|
@@ -714,7 +714,7 @@ const ts = {
|
|
|
714
714
|
}, ss = { class: "-py-1" }, ns = ["onClick"], as = {
|
|
715
715
|
key: 1,
|
|
716
716
|
class: "animate-pulse px-4 py-2 bg-gray-200 rounded-md inline-flex items-center relative text-left h-10"
|
|
717
|
-
}, ge = /* @__PURE__ */
|
|
717
|
+
}, ge = /* @__PURE__ */ T({
|
|
718
718
|
__name: "uiDropdown",
|
|
719
719
|
props: {
|
|
720
720
|
items: {},
|
|
@@ -739,7 +739,7 @@ const ts = {
|
|
|
739
739
|
"aria-hidden": "true",
|
|
740
740
|
class: "-mr-1 ml-2 h-5 w-5 text-gray-200 dark:text-gray-300"
|
|
741
741
|
})
|
|
742
|
-
])) : (l(), w(f(
|
|
742
|
+
])) : (l(), w(f(Ze), {
|
|
743
743
|
key: 0,
|
|
744
744
|
as: "div",
|
|
745
745
|
class: x(["relative text-left", { "opacity-25": e.disabled }])
|
|
@@ -749,22 +749,22 @@ 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)) : b("", !0),
|
|
753
|
+
e.requiredText ? (l(), s("span", ls, c(e.requiredText), 1)) : b("", !0)
|
|
754
754
|
], 2),
|
|
755
|
-
m(f(
|
|
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(() => [
|
|
757
757
|
B(c(n.value) + " ", 1),
|
|
758
758
|
e.verticalPosition === "bottom" ? (l(), w(f(oe), {
|
|
759
759
|
key: 0,
|
|
760
760
|
"aria-hidden": "true",
|
|
761
761
|
class: "-mr-1 ml-2 h-5 w-5"
|
|
762
|
-
})) :
|
|
762
|
+
})) : b("", !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
|
+
})) : b("", !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 ? b("", !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, v) => (l(), w(f(Ge), { key: v }, {
|
|
793
793
|
default: y(() => [
|
|
794
794
|
t("a", {
|
|
795
795
|
onClick: (p) => r(u),
|
|
@@ -825,7 +825,7 @@ const ts = {
|
|
|
825
825
|
}, ms = {
|
|
826
826
|
key: 0,
|
|
827
827
|
class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-2/3 md:w-1/4 mb-1.5"
|
|
828
|
-
}, ae = /* @__PURE__ */
|
|
828
|
+
}, ae = /* @__PURE__ */ T({
|
|
829
829
|
__name: "uiInput",
|
|
830
830
|
props: {
|
|
831
831
|
label: {},
|
|
@@ -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)) : b("", !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)) : b("", !0),
|
|
864
|
+
e.requiredText ? (l(), s("span", ds, c(e.requiredText), 1)) : b("", !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)) : b("", !0),
|
|
874
874
|
D(t("input", {
|
|
875
875
|
"onUpdate:modelValue": d[1] || (d[1] = (u) => n.value = u),
|
|
876
876
|
max: e.max,
|
|
@@ -902,16 +902,16 @@ 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)) : b("", !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"])) : b("", !0),
|
|
913
913
|
D(m(L, {
|
|
914
|
-
icon: f(
|
|
914
|
+
icon: f(et),
|
|
915
915
|
color: "green",
|
|
916
916
|
loading: e.loading
|
|
917
917
|
}, null, 8, ["icon", "loading"]), [
|
|
@@ -948,13 +948,13 @@ 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
|
+
}, bs = {
|
|
952
952
|
key: 1,
|
|
953
953
|
class: "place-self-center text-[10px] uppercase"
|
|
954
|
-
},
|
|
954
|
+
}, vs = { 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({
|
|
958
958
|
__name: "uiInputFile",
|
|
959
959
|
props: {
|
|
960
960
|
name: {},
|
|
@@ -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 v = 1;
|
|
982
982
|
Object.values(u).forEach((p) => {
|
|
983
|
-
|
|
983
|
+
v++, i.value += p.name, v >= 1 && v < u.length && (i.value += ", ");
|
|
984
984
|
});
|
|
985
985
|
};
|
|
986
|
-
return (u,
|
|
986
|
+
return (u, v) => e.loading ? (l(), s("div", Ss, [...v[1] || (v[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)) : b("", !0),
|
|
995
|
+
e.requiredText ? (l(), s("span", bs, c(e.requiredText), 1)) : b("", !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: v[0] || (v[0] = ne(() => {
|
|
1007
1007
|
}, ["prevent"])),
|
|
1008
1008
|
onDrop: ne(r, ["prevent"])
|
|
1009
1009
|
}, [
|
|
1010
|
-
t("div",
|
|
1010
|
+
t("div", vs, [
|
|
1011
1011
|
m(L, {
|
|
1012
1012
|
icon: e.icon,
|
|
1013
1013
|
size: "massive",
|
|
@@ -1059,7 +1059,7 @@ const ts = {
|
|
|
1059
1059
|
}, zs = { class: "relative" }, js = {
|
|
1060
1060
|
key: 1,
|
|
1061
1061
|
class: "animate-pulse px-4 py-2.5 bg-gray-200 rounded-md flex justify-between items-center w-full"
|
|
1062
|
-
},
|
|
1062
|
+
}, Ts = /* @__PURE__ */ T({
|
|
1063
1063
|
__name: "uiSelect",
|
|
1064
1064
|
props: {
|
|
1065
1065
|
items: {},
|
|
@@ -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
|
+
}, v = j({
|
|
1081
1081
|
get: () => r.select,
|
|
1082
1082
|
set: (p) => {
|
|
1083
1083
|
u(p);
|
|
@@ -1087,15 +1087,15 @@ const ts = {
|
|
|
1087
1087
|
handleChange: u
|
|
1088
1088
|
}), (p, C) => e.loading ? (l(), s("div", js, [
|
|
1089
1089
|
C[3] || (C[3] = t("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, null, -1)),
|
|
1090
|
-
m(f(
|
|
1090
|
+
m(f(He), {
|
|
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(vt), {
|
|
1095
1095
|
key: 0,
|
|
1096
|
-
modelValue:
|
|
1096
|
+
modelValue: v.value,
|
|
1097
1097
|
"onUpdate:modelValue": [
|
|
1098
|
-
C[2] || (C[2] = (R) =>
|
|
1098
|
+
C[2] || (C[2] = (R) => v.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)) : b("", !0)
|
|
1113
1113
|
]),
|
|
1114
1114
|
t("div", zs, [
|
|
1115
1115
|
m(f(pt), {
|
|
@@ -1133,7 +1133,7 @@ const ts = {
|
|
|
1133
1133
|
}, null, 8, ["class"]),
|
|
1134
1134
|
m(f(wt), { class: "absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none" }, {
|
|
1135
1135
|
default: y(() => [
|
|
1136
|
-
m(f(
|
|
1136
|
+
m(f(He), {
|
|
1137
1137
|
"aria-hidden": "true",
|
|
1138
1138
|
class: "h-5 w-5 text-gray-400"
|
|
1139
1139
|
})
|
|
@@ -1167,19 +1167,19 @@ const ts = {
|
|
|
1167
1167
|
E ? "text-white" : "text-indigo-600"
|
|
1168
1168
|
])
|
|
1169
1169
|
}, [
|
|
1170
|
-
m(f(
|
|
1170
|
+
m(f(et), {
|
|
1171
1171
|
"aria-hidden": "true",
|
|
1172
1172
|
class: "h-5 w-5",
|
|
1173
1173
|
loading: !0
|
|
1174
1174
|
})
|
|
1175
|
-
], 2)) :
|
|
1175
|
+
], 2)) : b("", !0)
|
|
1176
1176
|
], 2)
|
|
1177
1177
|
]),
|
|
1178
1178
|
_: 2
|
|
1179
1179
|
}, 1032, ["value"]))), 128))
|
|
1180
1180
|
]),
|
|
1181
1181
|
_: 1
|
|
1182
|
-
})) :
|
|
1182
|
+
})) : b("", !0)
|
|
1183
1183
|
]),
|
|
1184
1184
|
D(t("p", {
|
|
1185
1185
|
class: x([{
|
|
@@ -1196,7 +1196,7 @@ const ts = {
|
|
|
1196
1196
|
}, 8, ["modelValue", "disabled"]));
|
|
1197
1197
|
}
|
|
1198
1198
|
});
|
|
1199
|
-
function
|
|
1199
|
+
function At(e, g) {
|
|
1200
1200
|
return l(), s("svg", {
|
|
1201
1201
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1202
1202
|
viewBox: "0 0 20 20",
|
|
@@ -1211,7 +1211,7 @@ function Tt(e, g) {
|
|
|
1211
1211
|
})
|
|
1212
1212
|
]);
|
|
1213
1213
|
}
|
|
1214
|
-
function
|
|
1214
|
+
function As(e, g) {
|
|
1215
1215
|
return l(), s("svg", {
|
|
1216
1216
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1217
1217
|
viewBox: "0 0 20 20",
|
|
@@ -1229,7 +1229,7 @@ function Ts(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
|
+
}, ve = /* @__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 v = n.value.toLowerCase();
|
|
1251
|
+
return u.name.toLowerCase().includes(v) || (u.label?.toLowerCase().includes(v) ?? !1);
|
|
1252
1252
|
})
|
|
1253
1253
|
), d = (u) => {
|
|
1254
1254
|
n.value = "", o("selectChanged", u);
|
|
1255
1255
|
};
|
|
1256
|
-
return (u,
|
|
1256
|
+
return (u, v) => (l(), w(f(vt), {
|
|
1257
1257
|
as: "div",
|
|
1258
1258
|
modelValue: r.value,
|
|
1259
1259
|
"onUpdate:modelValue": [
|
|
1260
|
-
|
|
1260
|
+
v[2] || (v[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)) : b("", !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: v[0] || (v[0] = (p) => n.value = p.target.value),
|
|
1300
|
+
onBlur: v[1] || (v[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), {
|
|
@@ -1305,7 +1305,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1305
1305
|
class: "h-full absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-none"
|
|
1306
1306
|
}, {
|
|
1307
1307
|
default: y(() => [
|
|
1308
|
-
m(f(
|
|
1308
|
+
m(f(As), {
|
|
1309
1309
|
class: "size-5 mt-1",
|
|
1310
1310
|
"aria-hidden": "true"
|
|
1311
1311
|
})
|
|
@@ -1332,18 +1332,18 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1332
1332
|
key: 0,
|
|
1333
1333
|
class: x(["absolute inset-y-0 right-0 flex items-center pr-4", C ? "text-black" : "text-lime-400"])
|
|
1334
1334
|
}, [
|
|
1335
|
-
m(f(
|
|
1335
|
+
m(f(At), {
|
|
1336
1336
|
class: "size-5",
|
|
1337
1337
|
"aria-hidden": "true"
|
|
1338
1338
|
})
|
|
1339
|
-
], 2)) :
|
|
1339
|
+
], 2)) : b("", !0)
|
|
1340
1340
|
], 2)
|
|
1341
1341
|
]),
|
|
1342
1342
|
_: 2
|
|
1343
1343
|
}, 1032, ["value"]))), 128))
|
|
1344
1344
|
]),
|
|
1345
1345
|
_: 1
|
|
1346
|
-
})) :
|
|
1346
|
+
})) : b("", !0)
|
|
1347
1347
|
], 2),
|
|
1348
1348
|
D(t("p", {
|
|
1349
1349
|
class: x([{
|
|
@@ -1363,7 +1363,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1363
1363
|
}), Ps = {
|
|
1364
1364
|
key: 1,
|
|
1365
1365
|
class: "inline-flex items-center px-3 py-2.5 rounded text-xs font-medium leading-none animate-pulse bg-gray-200"
|
|
1366
|
-
},
|
|
1366
|
+
}, G = /* @__PURE__ */ T({
|
|
1367
1367
|
__name: "uiTag",
|
|
1368
1368
|
props: {
|
|
1369
1369
|
color: { default: "primary" },
|
|
@@ -1411,7 +1411,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1411
1411
|
}, Vs = ["disabled", "placeholder"], Rs = {
|
|
1412
1412
|
key: 1,
|
|
1413
1413
|
class: "animate-pulse"
|
|
1414
|
-
}, _s = /* @__PURE__ */
|
|
1414
|
+
}, _s = /* @__PURE__ */ T({
|
|
1415
1415
|
__name: "uiTextArea",
|
|
1416
1416
|
props: {
|
|
1417
1417
|
name: {},
|
|
@@ -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)) : b("", !0),
|
|
1440
|
+
e.requiredText ? (l(), s("span", Ns, c(e.requiredText), 1)) : b("", !0)
|
|
1441
1441
|
]),
|
|
1442
1442
|
t("div", {
|
|
1443
1443
|
class: x({ "mt-1": e.label })
|
|
@@ -1490,7 +1490,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1490
1490
|
}, Ys = {
|
|
1491
1491
|
key: 1,
|
|
1492
1492
|
class: "animate-pulse flex items-center"
|
|
1493
|
-
}, Es = /* @__PURE__ */
|
|
1493
|
+
}, Es = /* @__PURE__ */ T({
|
|
1494
1494
|
__name: "uiToggle",
|
|
1495
1495
|
props: {
|
|
1496
1496
|
item: {},
|
|
@@ -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)) : b("", !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)) : b("", !0)
|
|
1553
1553
|
]),
|
|
1554
1554
|
_: 1
|
|
1555
1555
|
}));
|
|
@@ -1567,7 +1567,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1567
1567
|
}, Ks = ["onClick"], Qs = {
|
|
1568
1568
|
key: 1,
|
|
1569
1569
|
class: "flex flex-row items-center animate-pulse"
|
|
1570
|
-
}, Dt = /* @__PURE__ */
|
|
1570
|
+
}, Dt = /* @__PURE__ */ T({
|
|
1571
1571
|
__name: "uiBreadcrumbs",
|
|
1572
1572
|
props: {
|
|
1573
1573
|
pages: {},
|
|
@@ -1624,7 +1624,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1624
1624
|
}, dn = {
|
|
1625
1625
|
key: 1,
|
|
1626
1626
|
class: "animate-pulse mb-12"
|
|
1627
|
-
}, cn = /* @__PURE__ */
|
|
1627
|
+
}, cn = /* @__PURE__ */ T({
|
|
1628
1628
|
__name: "uiViewHeader",
|
|
1629
1629
|
props: {
|
|
1630
1630
|
pages: {},
|
|
@@ -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)) : b("", !0),
|
|
1661
|
+
e.description ? (l(), s("p", rn, c(e.description), 1)) : b("", !0)
|
|
1662
|
+
])) : b("", !0),
|
|
1663
1663
|
e.buttonText ? (l(), w(U, {
|
|
1664
1664
|
key: 1,
|
|
1665
1665
|
class: "mb-12 lg:mb-0",
|
|
@@ -1673,17 +1673,17 @@ 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"])) : b("", !0)
|
|
1677
|
+
])) : b("", !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" }, bn = ["onClick"], vn = {
|
|
1684
1684
|
key: 1,
|
|
1685
1685
|
class: "flex flex-col animate-pulse"
|
|
1686
|
-
}, xn = /* @__PURE__ */
|
|
1686
|
+
}, xn = /* @__PURE__ */ T({
|
|
1687
1687
|
__name: "uiAlert",
|
|
1688
1688
|
props: {
|
|
1689
1689
|
actions: {},
|
|
@@ -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", vn, [...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", {
|
|
@@ -1709,26 +1709,26 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1709
1709
|
}, [
|
|
1710
1710
|
t("div", gn, [
|
|
1711
1711
|
t("div", mn, [
|
|
1712
|
-
e.type === "info" ? (l(), w(f(
|
|
1712
|
+
e.type === "info" ? (l(), w(f(Tt), {
|
|
1713
1713
|
key: 0,
|
|
1714
1714
|
class: "h-8 w-8 text-lime-400",
|
|
1715
1715
|
"aria-hidden": "true"
|
|
1716
|
-
})) :
|
|
1716
|
+
})) : b("", !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
|
+
})) : b("", !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
|
+
})) : b("", !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
|
+
})) : b("", !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, bn))), 128))
|
|
1766
1766
|
])
|
|
1767
1767
|
])
|
|
1768
1768
|
])
|
|
@@ -1776,7 +1776,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1776
1776
|
}, Sn = {
|
|
1777
1777
|
key: 1,
|
|
1778
1778
|
class: "rounded-lg bg-white shadow p-6 cursor-pointer animate-pulse h-full flex flex-col"
|
|
1779
|
-
}, Bn = /* @__PURE__ */
|
|
1779
|
+
}, Bn = /* @__PURE__ */ T({
|
|
1780
1780
|
__name: "uiCard",
|
|
1781
1781
|
props: {
|
|
1782
1782
|
id: {},
|
|
@@ -1806,7 +1806,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1806
1806
|
])
|
|
1807
1807
|
]),
|
|
1808
1808
|
e.tags && e.tags?.length > 0 ? (l(), s("div", Cn, [
|
|
1809
|
-
(l(!0), s(k, null, S(e.tags, (n) => (l(), w(
|
|
1809
|
+
(l(!0), s(k, null, S(e.tags, (n) => (l(), w(G, {
|
|
1810
1810
|
class: "mb-1 mr-1",
|
|
1811
1811
|
key: n.name,
|
|
1812
1812
|
color: n.color,
|
|
@@ -1817,13 +1817,13 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1817
1817
|
]),
|
|
1818
1818
|
_: 2
|
|
1819
1819
|
}, 1032, ["color", "loading"]))), 128))
|
|
1820
|
-
])) :
|
|
1820
|
+
])) : b("", !0)
|
|
1821
1821
|
]));
|
|
1822
1822
|
}
|
|
1823
1823
|
}), Mn = {
|
|
1824
1824
|
key: 0,
|
|
1825
1825
|
class: "rounded-lg bg-white shadow p-6 h-full flex flex-col"
|
|
1826
|
-
}, zn = { class: "flex items-center justify-between mb-4" }, jn = { class: "flex items-center gap-3" },
|
|
1826
|
+
}, zn = { class: "flex items-center justify-between mb-4" }, jn = { class: "flex items-center gap-3" }, Tn = { class: "mb-4" }, An = { class: "font-bold text-lg mb-1" }, Dn = {
|
|
1827
1827
|
key: 0,
|
|
1828
1828
|
class: "text-sm text-gray-500"
|
|
1829
1829
|
}, Ln = { class: "mb-4 relative" }, Pn = {
|
|
@@ -1841,7 +1841,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1841
1841
|
}, Rn = { class: "flex flex-col xl:flex-row xl:flex-wrap items-stretch xl:items-center gap-2" }, _n = {
|
|
1842
1842
|
key: 1,
|
|
1843
1843
|
class: "rounded-lg bg-white shadow p-6 animate-pulse h-full flex flex-col"
|
|
1844
|
-
}, qn = { class: "flex items-center justify-between mb-4" }, Hn = { class: "flex items-center gap-3" }, Yn = { class: "flex flex-col pt-4 border-t border-gray-200 mt-auto" }, En = { class: "flex flex-col xl:flex-row xl:flex-wrap items-stretch xl:items-center gap-2" }, Un = /* @__PURE__ */
|
|
1844
|
+
}, qn = { class: "flex items-center justify-between mb-4" }, Hn = { class: "flex items-center gap-3" }, Yn = { class: "flex flex-col pt-4 border-t border-gray-200 mt-auto" }, En = { class: "flex flex-col xl:flex-row xl:flex-wrap items-stretch xl:items-center gap-2" }, Un = /* @__PURE__ */ T({
|
|
1845
1845
|
__name: "uiCardWithImage",
|
|
1846
1846
|
props: {
|
|
1847
1847
|
id: {},
|
|
@@ -1868,11 +1868,11 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1868
1868
|
t("div", qn, [
|
|
1869
1869
|
t("div", Hn, [
|
|
1870
1870
|
r[6] || (r[6] = t("div", { class: "w-4 h-4 rounded-full bg-gray-200" }, null, -1)),
|
|
1871
|
-
e.badge ? (l(), w(
|
|
1871
|
+
e.badge ? (l(), w(G, {
|
|
1872
1872
|
key: 0,
|
|
1873
1873
|
loading: !0,
|
|
1874
1874
|
size: "small"
|
|
1875
|
-
})) :
|
|
1875
|
+
})) : b("", !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,16 +1888,16 @@ 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"])) : b("", !0),
|
|
1892
1892
|
e.showActions ? (l(), w(U, {
|
|
1893
1893
|
key: 1,
|
|
1894
|
-
icon: f(
|
|
1894
|
+
icon: f(Ye),
|
|
1895
1895
|
loading: !0,
|
|
1896
1896
|
size: "small",
|
|
1897
1897
|
color: "primary",
|
|
1898
1898
|
block: !0,
|
|
1899
1899
|
class: "w-full xl:w-auto"
|
|
1900
|
-
}, null, 8, ["icon"])) :
|
|
1900
|
+
}, null, 8, ["icon"])) : b("", !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"])) : b("", !0)
|
|
1910
1910
|
])
|
|
1911
1911
|
])
|
|
1912
1912
|
])) : (l(), s("div", Mn, [
|
|
@@ -1918,7 +1918,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1918
1918
|
color: "primary",
|
|
1919
1919
|
loading: !1
|
|
1920
1920
|
}, null, 8, ["icon"]),
|
|
1921
|
-
e.badge ? (l(), w(
|
|
1921
|
+
e.badge ? (l(), w(G, {
|
|
1922
1922
|
key: 0,
|
|
1923
1923
|
color: e.badgeColor,
|
|
1924
1924
|
loading: !1,
|
|
@@ -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"])) : b("", !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
|
+
])) : b("", !0)
|
|
1946
1946
|
]),
|
|
1947
|
-
t("div",
|
|
1948
|
-
t("h4",
|
|
1949
|
-
e.subtitle ? (l(), s("p", Dn, c(e.subtitle), 1)) :
|
|
1947
|
+
t("div", Tn, [
|
|
1948
|
+
t("h4", An, c(e.title), 1),
|
|
1949
|
+
e.subtitle ? (l(), s("p", Dn, c(e.subtitle), 1)) : b("", !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
|
+
])) : b("", !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)) : b("", !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)) : b("", !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)) : b("", !0),
|
|
1974
1974
|
t("div", Rn, [
|
|
1975
1975
|
e.showActions ? (l(), w(U, {
|
|
1976
1976
|
key: 0,
|
|
@@ -1986,11 +1986,11 @@ 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"])) : b("", !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"])),
|
|
1993
|
-
icon: f(
|
|
1993
|
+
icon: f(Ye),
|
|
1994
1994
|
loading: !1,
|
|
1995
1995
|
size: "small",
|
|
1996
1996
|
color: "primary",
|
|
@@ -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"])) : b("", !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,12 +2016,12 @@ 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"])) : b("", !0)
|
|
2020
2020
|
])
|
|
2021
2021
|
])
|
|
2022
2022
|
]));
|
|
2023
2023
|
}
|
|
2024
|
-
}), Zn = /* @__PURE__ */
|
|
2024
|
+
}), Zn = /* @__PURE__ */ T({
|
|
2025
2025
|
__name: "uiFilter",
|
|
2026
2026
|
props: {
|
|
2027
2027
|
items: {},
|
|
@@ -2048,7 +2048,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
2048
2048
|
}), Wn = { class: "fixed inset-0 z-10 overflow-y-auto" }, Jn = { class: "flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0" }, Gn = { class: "absolute top-0 right-0 hidden pt-4 pr-4 sm:block" }, Kn = { class: "sm:flex sm:items-start" }, Qn = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left w-full break-words" }, Xn = { class: "mt-4 text-gray-500 text-sm" }, ea = {
|
|
2049
2049
|
key: 0,
|
|
2050
2050
|
class: "mt-8"
|
|
2051
|
-
}, ta = ["onClick"], Pe = /* @__PURE__ */
|
|
2051
|
+
}, ta = ["onClick"], Pe = /* @__PURE__ */ T({
|
|
2052
2052
|
__name: "uiModal",
|
|
2053
2053
|
props: {
|
|
2054
2054
|
title: {},
|
|
@@ -2065,12 +2065,12 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
2065
2065
|
const i = e, o = g, n = (r) => {
|
|
2066
2066
|
o("modalAction", { modal: i.modalName, action: r });
|
|
2067
2067
|
};
|
|
2068
|
-
return (r, a) => (l(), w(f(
|
|
2068
|
+
return (r, a) => (l(), w(f(Ke), {
|
|
2069
2069
|
as: "template",
|
|
2070
2070
|
show: e.open
|
|
2071
2071
|
}, {
|
|
2072
2072
|
default: y(() => [
|
|
2073
|
-
m(f(
|
|
2073
|
+
m(f(Qe), {
|
|
2074
2074
|
as: "div",
|
|
2075
2075
|
class: "relative z-50",
|
|
2076
2076
|
onClose: a[1] || (a[1] = (d) => n("close"))
|
|
@@ -2102,7 +2102,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
2102
2102
|
"leave-to": "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"
|
|
2103
2103
|
}, {
|
|
2104
2104
|
default: y(() => [
|
|
2105
|
-
m(f(
|
|
2105
|
+
m(f(Xe), {
|
|
2106
2106
|
class: x([{
|
|
2107
2107
|
"sm:my-8 w-full sm:w-9/12 md:w-2/3 lg:w-1/2": e.size === "big",
|
|
2108
2108
|
"w-full sm:my-8 sm:w-full sm:max-w-lg sm:p-6": e.size === "medium"
|
|
@@ -2138,7 +2138,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
2138
2138
|
}, null, 512), [
|
|
2139
2139
|
[O, e.type === "danger"]
|
|
2140
2140
|
]),
|
|
2141
|
-
D(m(f(
|
|
2141
|
+
D(m(f(et), {
|
|
2142
2142
|
class: "h-6 w-6 text-green-600",
|
|
2143
2143
|
"aria-hidden": "true"
|
|
2144
2144
|
}, null, 512), [
|
|
@@ -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: (v) => n(d.value)
|
|
2179
2179
|
}, c(d.name), 9, ta))), 128))
|
|
2180
|
-
])) :
|
|
2180
|
+
])) : b("", !0)
|
|
2181
2181
|
])
|
|
2182
2182
|
])
|
|
2183
2183
|
]),
|
|
@@ -2198,7 +2198,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
2198
2198
|
}), la = { class: "w-full flex flex-col items-center space-y-4 sm:items-end" }, sa = {
|
|
2199
2199
|
key: 0,
|
|
2200
2200
|
class: "max-w-sm w-full bg-white shadow-lg rounded-lg pointer-events-auto ring-1 ring-black ring-opacity-5 overflow-hidden"
|
|
2201
|
-
}, na = { class: "p-4" }, aa = { class: "flex items-start" }, oa = { class: "flex-shrink-0 mt-0.5" }, ia = { class: "ml-3 w-0 flex-1 pt-0.5" }, ra = { class: "font-medium text-gray-900" }, da = { class: "mt-1 text-sm text-gray-500" }, ca = { class: "ml-4 flex-shrink-0 flex" }, ua = /* @__PURE__ */
|
|
2201
|
+
}, na = { class: "p-4" }, aa = { class: "flex items-start" }, oa = { class: "flex-shrink-0 mt-0.5" }, ia = { class: "ml-3 w-0 flex-1 pt-0.5" }, ra = { class: "font-medium text-gray-900" }, da = { class: "mt-1 text-sm text-gray-500" }, ca = { class: "ml-4 flex-shrink-0 flex" }, ua = /* @__PURE__ */ T({
|
|
2202
2202
|
__name: "uiNotification",
|
|
2203
2203
|
props: {
|
|
2204
2204
|
type: { default: "info" },
|
|
@@ -2246,7 +2246,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
2246
2246
|
}, null, 512), [
|
|
2247
2247
|
[O, e.type === "warning"]
|
|
2248
2248
|
]),
|
|
2249
|
-
D(m(f(
|
|
2249
|
+
D(m(f(Tt), {
|
|
2250
2250
|
"aria-hidden": "true",
|
|
2251
2251
|
class: "h-6 w-6 text-black"
|
|
2252
2252
|
}, null, 512), [
|
|
@@ -2272,7 +2272,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
2272
2272
|
])
|
|
2273
2273
|
])
|
|
2274
2274
|
])
|
|
2275
|
-
])) :
|
|
2275
|
+
])) : b("", !0)
|
|
2276
2276
|
]),
|
|
2277
2277
|
_: 1
|
|
2278
2278
|
})
|
|
@@ -2283,10 +2283,10 @@ 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" }, ba = { class: "truncate" }, va = { 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
|
-
}, ka = /* @__PURE__ */
|
|
2289
|
+
}, ka = /* @__PURE__ */ T({
|
|
2290
2290
|
__name: "uiTaskList",
|
|
2291
2291
|
props: {
|
|
2292
2292
|
tasks: {},
|
|
@@ -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", ba, c(o.description), 1)
|
|
2324
2324
|
])
|
|
2325
2325
|
]),
|
|
2326
|
-
t("div",
|
|
2326
|
+
t("div", va, [
|
|
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, v, p) {
|
|
2370
2370
|
var C = r[p];
|
|
2371
|
-
return Array.isArray(C) && (C = C[
|
|
2371
|
+
return Array.isArray(C) && (C = C[v ? 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 + ".";
|
|
@@ -2378,7 +2378,7 @@ function Ma() {
|
|
|
2378
2378
|
})(je)), je.exports;
|
|
2379
2379
|
}
|
|
2380
2380
|
Ma();
|
|
2381
|
-
var
|
|
2381
|
+
var Te = { exports: {} }, za = Te.exports, gt;
|
|
2382
2382
|
function ja() {
|
|
2383
2383
|
return gt || (gt = 1, (function(e, g) {
|
|
2384
2384
|
(function(i, o) {
|
|
@@ -2389,15 +2389,15 @@ function ja() {
|
|
|
2389
2389
|
return "[" + i + (o[(n - 20) % 10] || o[n] || o[0]) + "]";
|
|
2390
2390
|
} };
|
|
2391
2391
|
}));
|
|
2392
|
-
})(
|
|
2392
|
+
})(Te)), Te.exports;
|
|
2393
2393
|
}
|
|
2394
2394
|
ja();
|
|
2395
|
-
var
|
|
2396
|
-
function
|
|
2395
|
+
var Ae = { exports: {} }, Ta = Ae.exports, mt;
|
|
2396
|
+
function Aa() {
|
|
2397
2397
|
return mt || (mt = 1, (function(e, g) {
|
|
2398
2398
|
(function(i, o) {
|
|
2399
2399
|
e.exports = o(Y);
|
|
2400
|
-
})(
|
|
2400
|
+
})(Ta, (function(i) {
|
|
2401
2401
|
function o(a) {
|
|
2402
2402
|
return a && typeof a == "object" && "default" in a ? a : { default: a };
|
|
2403
2403
|
}
|
|
@@ -2406,9 +2406,9 @@ function Ta() {
|
|
|
2406
2406
|
} };
|
|
2407
2407
|
return n.default.locale(r, null, !0), r;
|
|
2408
2408
|
}));
|
|
2409
|
-
})(
|
|
2409
|
+
})(Ae)), Ae.exports;
|
|
2410
2410
|
}
|
|
2411
|
-
|
|
2411
|
+
Aa();
|
|
2412
2412
|
const Ce = (e, g) => {
|
|
2413
2413
|
const i = e.__vccOpts || e;
|
|
2414
2414
|
for (const [o, n] of g)
|
|
@@ -2674,13 +2674,13 @@ 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" }, bo = { class: "font-bold mx-1" }, vo = {
|
|
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 = {
|
|
2681
2681
|
key: 1,
|
|
2682
2682
|
class: "py-6 flex flex-row justify-between items-center animate-pulse"
|
|
2683
|
-
}, Pt = /* @__PURE__ */
|
|
2683
|
+
}, Pt = /* @__PURE__ */ T({
|
|
2684
2684
|
__name: "uiPagination",
|
|
2685
2685
|
props: {
|
|
2686
2686
|
current: {},
|
|
@@ -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 v = Number(r.value); v <= Number(a.value); v++)
|
|
2700
|
+
u.push(v);
|
|
2701
2701
|
return u;
|
|
2702
2702
|
});
|
|
2703
|
-
return (u,
|
|
2703
|
+
return (u, v) => e.loading ? (l(), s("div", ko, [...v[3] || (v[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
|
+
v[2] || (v[2] = t("span", { class: "font-bold mx-1" }, "/", -1)),
|
|
2724
2724
|
J(u.$slots, "fromTotal"),
|
|
2725
|
-
t("span",
|
|
2725
|
+
t("span", bo, c(e.totalItems), 1)
|
|
2726
2726
|
])
|
|
2727
2727
|
]),
|
|
2728
2728
|
t("div", null, [
|
|
2729
|
-
t("nav",
|
|
2729
|
+
t("nav", vo, [
|
|
2730
2730
|
D(t("button", {
|
|
2731
2731
|
ref: "test-first-button",
|
|
2732
|
-
onClick:
|
|
2732
|
+
onClick: v[0] || (v[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: v[1] || (v[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, [
|
|
@@ -2777,11 +2777,11 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
2777
2777
|
colspan: "6",
|
|
2778
2778
|
scope: "colgroup",
|
|
2779
2779
|
class: "bg-gray-50 py-2 pl-4 pr-3 text-left text-sm font-semibold sm:pl-3"
|
|
2780
|
-
},
|
|
2780
|
+
}, To = {
|
|
2781
2781
|
colspan: "20",
|
|
2782
2782
|
scope: "colgroup",
|
|
2783
2783
|
class: "bg-gray-200 py-2 pl-4 pr-3 text-left font-semibold"
|
|
2784
|
-
},
|
|
2784
|
+
}, Ao = { key: 0 }, Do = {
|
|
2785
2785
|
colspan: "6",
|
|
2786
2786
|
class: "pl-4"
|
|
2787
2787
|
}, Lo = { key: 1 }, Po = {
|
|
@@ -2824,7 +2824,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
2824
2824
|
}, Ko = {
|
|
2825
2825
|
key: 1,
|
|
2826
2826
|
class: "flex flex-row justify-between items-center mt-4"
|
|
2827
|
-
}, Qo = { key: 0 }, Xo = /* @__PURE__ */
|
|
2827
|
+
}, Qo = { key: 0 }, Xo = /* @__PURE__ */ T({
|
|
2828
2828
|
__name: "uiPriceCalendar",
|
|
2829
2829
|
props: {
|
|
2830
2830
|
loading: { type: Boolean },
|
|
@@ -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), v = 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
|
|
@@ -2869,13 +2869,13 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
2869
2869
|
return F ? F.price : $.price;
|
|
2870
2870
|
}, _ = ($) => {
|
|
2871
2871
|
a.value = $.target.checked ? i.rooms.map((F) => F.id) : [];
|
|
2872
|
-
},
|
|
2872
|
+
}, K = () => o("changeCategoryBulkPrices"), re = ($) => o("changeCategorySelectionPrice", $), me = ($) => o("changeCategoryUpgradePrice", $), fe = ($) => o("tableAction", $), z = ($, F, N) => o("changeRoomPrice", { price: $, roomId: F, roomName: N }), q = ($) => {
|
|
2873
2873
|
o("changePage", $);
|
|
2874
2874
|
}, H = ($) => {
|
|
2875
2875
|
o("changePageSize", $.value);
|
|
2876
2876
|
};
|
|
2877
2877
|
return ($, F) => (l(), s(k, null, [
|
|
2878
|
-
e.loading ?
|
|
2878
|
+
e.loading ? b("", !0) : (l(), s("div", $o, [
|
|
2879
2879
|
t("div", Co, [
|
|
2880
2880
|
t("div", So, [
|
|
2881
2881
|
t("div", Bo, [
|
|
@@ -2900,13 +2900,13 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
2900
2900
|
]))), 128))
|
|
2901
2901
|
]),
|
|
2902
2902
|
t("tr", null, [
|
|
2903
|
-
t("th",
|
|
2903
|
+
t("th", To, [
|
|
2904
2904
|
t("span", null, c(e.literals.category) + " " + c(e.category.name), 1),
|
|
2905
2905
|
m(U, {
|
|
2906
2906
|
loading: e.loading,
|
|
2907
2907
|
class: "ml-4",
|
|
2908
2908
|
size: "small",
|
|
2909
|
-
onClick:
|
|
2909
|
+
onClick: K
|
|
2910
2910
|
}, {
|
|
2911
2911
|
default: y(() => [
|
|
2912
2912
|
B(c(e.literals.changeInBulk), 1)
|
|
@@ -2915,7 +2915,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
2915
2915
|
}, 8, ["loading"])
|
|
2916
2916
|
])
|
|
2917
2917
|
]),
|
|
2918
|
-
e.type === "discounts" ? (l(), s("tr",
|
|
2918
|
+
e.type === "discounts" ? (l(), s("tr", Ao, [
|
|
2919
2919
|
t("td", Do, c(e.literals.pricesDiscount), 1),
|
|
2920
2920
|
(l(!0), s(k, null, S(e.category.selectionPrices, (N, W) => (l(), s("td", {
|
|
2921
2921
|
key: W,
|
|
@@ -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
|
+
])) : b("", !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
|
+
])) : b("", !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
|
+
])) : b("", !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
|
+
])) : b("", !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)) : b("", !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",
|
|
@@ -3015,7 +3015,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3015
3015
|
key: le
|
|
3016
3016
|
}, [
|
|
3017
3017
|
m(Me, {
|
|
3018
|
-
onClick: (
|
|
3018
|
+
onClick: (st) => z(W, N.id, N.name),
|
|
3019
3019
|
class: "border-l border-gray-200 px-6 py-3 text-black hover:text-lime-400 cursor-pointer",
|
|
3020
3020
|
price: W,
|
|
3021
3021
|
currency: e.currency.symbol,
|
|
@@ -3029,7 +3029,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3029
3029
|
])
|
|
3030
3030
|
])
|
|
3031
3031
|
])),
|
|
3032
|
-
|
|
3032
|
+
v.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
|
+
])) : b("", !0),
|
|
3041
3041
|
p.value ? (l(), s("div", {
|
|
3042
3042
|
key: 1,
|
|
3043
3043
|
class: x(["grow", { "ml-10": C.value }])
|
|
@@ -3069,11 +3069,11 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3069
3069
|
])]),
|
|
3070
3070
|
_: 1
|
|
3071
3071
|
}, 8, ["current", "total", "totalItems", "loading"])
|
|
3072
|
-
], 2)) :
|
|
3072
|
+
], 2)) : b("", !0)
|
|
3073
3073
|
])) : (l(), w(Lt, { key: 2 }))
|
|
3074
3074
|
], 64));
|
|
3075
3075
|
}
|
|
3076
|
-
}),
|
|
3076
|
+
}), tt = /* @__PURE__ */ T({
|
|
3077
3077
|
__name: "ApexChartWrapper",
|
|
3078
3078
|
emits: ["updated", "mounted", "dataPointSelection"],
|
|
3079
3079
|
setup(e) {
|
|
@@ -3093,12 +3093,12 @@ 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)) : b("", !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,
|
|
3100
3100
|
class: "flex items-center gap-x-2 grow"
|
|
3101
|
-
}, si = { class: "self-center ml-2" }, ni = { class: "self-center ml-2" }, ai = { class: "self-center ml-2" }, oi = { class: "hidden sm:flex items-center" }, ii = { class: "w-1/2 min-w-0 flex-1" }, ri = ["max"], di = { class: "min-w-0 flex-1" }, ci = ["max"], ui = { class: "chart-content pb-6" }, gi = { class: "'w-full h-full flex items-center justify-center flex-col" }, mi = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, fi = /* @__PURE__ */
|
|
3101
|
+
}, si = { class: "self-center ml-2" }, ni = { class: "self-center ml-2" }, ai = { class: "self-center ml-2" }, oi = { class: "hidden sm:flex items-center" }, ii = { class: "w-1/2 min-w-0 flex-1" }, ri = ["max"], di = { class: "min-w-0 flex-1" }, ci = ["max"], ui = { class: "chart-content pb-6" }, gi = { class: "'w-full h-full flex items-center justify-center flex-col" }, mi = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, fi = /* @__PURE__ */ T({
|
|
3102
3102
|
__name: "uiChart",
|
|
3103
3103
|
props: {
|
|
3104
3104
|
labels: {},
|
|
@@ -3181,20 +3181,20 @@ 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 } } }), v = () => {
|
|
3185
3185
|
r.from !== "" && r.to !== "" && Y(r.from).isBefore(Y(r.to)) && i("selectedRange", { range: r, chartId: n.id });
|
|
3186
|
-
}, p = j(() => n.series), C = j(() => u()), R = () => i("chartUpdated"), E = (P, _,
|
|
3187
|
-
i("dataPointSelection", { id: n.id, chartContext: _, config:
|
|
3186
|
+
}, p = j(() => n.series), C = j(() => u()), R = () => i("chartUpdated"), E = (P, _, K) => {
|
|
3187
|
+
i("dataPointSelection", { id: n.id, chartContext: _, config: K, event: P });
|
|
3188
3188
|
};
|
|
3189
3189
|
return (P, _) => (l(), s(k, null, [
|
|
3190
3190
|
D(t("div", {
|
|
3191
3191
|
class: "card chart apex-chart p-4 bg-white shadow rounded-lg overflow-hidden flex grow",
|
|
3192
|
-
style:
|
|
3192
|
+
style: qe({ height: e.height + "px" })
|
|
3193
3193
|
}, [
|
|
3194
3194
|
t("div", ei, [
|
|
3195
3195
|
t("div", ti, c(e.title), 1),
|
|
3196
3196
|
e.isNps && e.npsLiterals ? (l(), s("div", li, [
|
|
3197
|
-
m(
|
|
3197
|
+
m(G, {
|
|
3198
3198
|
size: "small",
|
|
3199
3199
|
color: "red",
|
|
3200
3200
|
loading: !1
|
|
@@ -3209,7 +3209,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3209
3209
|
]),
|
|
3210
3210
|
_: 1
|
|
3211
3211
|
}),
|
|
3212
|
-
m(
|
|
3212
|
+
m(G, {
|
|
3213
3213
|
size: "small",
|
|
3214
3214
|
color: "yellow",
|
|
3215
3215
|
loading: !1
|
|
@@ -3224,7 +3224,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3224
3224
|
]),
|
|
3225
3225
|
_: 1
|
|
3226
3226
|
}),
|
|
3227
|
-
m(
|
|
3227
|
+
m(G, {
|
|
3228
3228
|
size: "small",
|
|
3229
3229
|
color: "green",
|
|
3230
3230
|
loading: !1
|
|
@@ -3239,14 +3239,14 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3239
3239
|
]),
|
|
3240
3240
|
_: 1
|
|
3241
3241
|
})
|
|
3242
|
-
])) :
|
|
3242
|
+
])) : b("", !0),
|
|
3243
3243
|
t("div", oi, [
|
|
3244
3244
|
t("div", ii, [
|
|
3245
3245
|
D(t("input", {
|
|
3246
3246
|
type: "datetime-local",
|
|
3247
|
-
"onUpdate:modelValue": _[0] || (_[0] = (
|
|
3247
|
+
"onUpdate:modelValue": _[0] || (_[0] = (K) => f(r).from = K),
|
|
3248
3248
|
max: o.value.toString(),
|
|
3249
|
-
onChange:
|
|
3249
|
+
onChange: v,
|
|
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"
|
|
@@ -3257,9 +3257,9 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3257
3257
|
t("div", di, [
|
|
3258
3258
|
D(t("input", {
|
|
3259
3259
|
type: "datetime-local",
|
|
3260
|
-
"onUpdate:modelValue": _[1] || (_[1] = (
|
|
3260
|
+
"onUpdate:modelValue": _[1] || (_[1] = (K) => f(r).to = K),
|
|
3261
3261
|
max: o.value.toString(),
|
|
3262
|
-
onChange:
|
|
3262
|
+
onChange: v,
|
|
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"
|
|
@@ -3272,12 +3272,12 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3272
3272
|
size: "big",
|
|
3273
3273
|
loading: e.loading,
|
|
3274
3274
|
icon: f(St),
|
|
3275
|
-
onClick: _[2] || (_[2] = (
|
|
3275
|
+
onClick: _[2] || (_[2] = (K) => P.$emit("maximizeChart", e.id))
|
|
3276
3276
|
}, null, 8, ["loading", "icon"])
|
|
3277
3277
|
])
|
|
3278
3278
|
]),
|
|
3279
3279
|
D(t("div", ui, [
|
|
3280
|
-
m(
|
|
3280
|
+
m(tt, {
|
|
3281
3281
|
class: "chart",
|
|
3282
3282
|
type: e.type,
|
|
3283
3283
|
series: p.value,
|
|
@@ -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 bi(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 vi(e, g, i, o, n, r) {
|
|
|
3347
3347
|
], -1)
|
|
3348
3348
|
])]);
|
|
3349
3349
|
}
|
|
3350
|
-
const
|
|
3350
|
+
const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
3351
3351
|
__name: "uiLoadingScreen",
|
|
3352
3352
|
props: {
|
|
3353
3353
|
title: {},
|
|
@@ -3390,10 +3390,10 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
3390
3390
|
}, ji = {
|
|
3391
3391
|
key: 0,
|
|
3392
3392
|
class: "align-left"
|
|
3393
|
-
},
|
|
3393
|
+
}, Ti = {
|
|
3394
3394
|
key: 1,
|
|
3395
3395
|
class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2"
|
|
3396
|
-
},
|
|
3396
|
+
}, Ai = { class: "h-12 flex flex-row items-center" }, Di = /* @__PURE__ */ T({
|
|
3397
3397
|
__name: "uiSidebar",
|
|
3398
3398
|
props: {
|
|
3399
3399
|
navigation: {},
|
|
@@ -3409,7 +3409,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
3409
3409
|
t("div", wi, [
|
|
3410
3410
|
t("div", ki, [
|
|
3411
3411
|
t("nav", $i, [
|
|
3412
|
-
e.loading ? (l(), s(k, { key: 1 }, S(5, (d) => t("div",
|
|
3412
|
+
e.loading ? (l(), s(k, { key: 1 }, S(5, (d) => t("div", Ai, [...a[1] || (a[1] = [
|
|
3413
3413
|
t("div", { class: "w-6 h-6 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 mr-4" }, null, -1),
|
|
3414
3414
|
t("div", { class: "h-3 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 grow" }, null, -1)
|
|
3415
3415
|
])])), 64)) : (l(!0), s(k, { key: 0 }, S(n.value, (d) => (l(), s(k, {
|
|
@@ -3434,7 +3434,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
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"])) : b("", !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 bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
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, (v) => (l(), w(f(se), {
|
|
3450
|
+
onClick: (p) => o("sideBarClick", v.id),
|
|
3451
|
+
key: v.name,
|
|
3452
|
+
class: x([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"])
|
|
3453
3453
|
}, {
|
|
3454
3454
|
default: y(() => [
|
|
3455
|
-
e.loading ? (l(), s("div",
|
|
3455
|
+
e.loading ? (l(), s("div", Ti)) : (l(), s("span", ji, c(v.name), 1))
|
|
3456
3456
|
]),
|
|
3457
3457
|
_: 2
|
|
3458
3458
|
}, 1032, ["onClick", "class"]))), 128))
|
|
@@ -3478,8 +3478,8 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
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"])) : b("", !0),
|
|
3482
|
+
e.loading ? b("", !0) : (l(), s("span", Bi, c(d.name), 1))
|
|
3483
3483
|
], 10, Si)
|
|
3484
3484
|
]))
|
|
3485
3485
|
], 64))), 128))
|
|
@@ -3505,7 +3505,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
3505
3505
|
}, Ei = { class: "ml-2 space-y-1" }, Ui = { class: "font-bold mb-4" }, Zi = {
|
|
3506
3506
|
key: 1,
|
|
3507
3507
|
class: "flex flex-col grow h-full"
|
|
3508
|
-
}, Wi = { class: "flex-1 overflow-y-auto pr-6" }, Ji = { class: "h-12 flex flex-row items-center" },
|
|
3508
|
+
}, Wi = { class: "flex-1 overflow-y-auto pr-6" }, Ji = { class: "h-12 flex flex-row items-center" }, Ue = /* @__PURE__ */ T({
|
|
3509
3509
|
__name: "uiSidebarV2",
|
|
3510
3510
|
props: {
|
|
3511
3511
|
navigation: {},
|
|
@@ -3553,7 +3553,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
3553
3553
|
]),
|
|
3554
3554
|
t("nav", Vi, [
|
|
3555
3555
|
t("div", Ri, [
|
|
3556
|
-
e.isFilterNavigation ?
|
|
3556
|
+
e.isFilterNavigation ? b("", !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 bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
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"])) : b("", !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, v) => (l(), w(ue, {
|
|
3654
3654
|
class: "mb-2",
|
|
3655
3655
|
value: u.value,
|
|
3656
3656
|
loading: u.loading
|
|
@@ -3661,7 +3661,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
3661
3661
|
_: 2
|
|
3662
3662
|
}, 1032, ["value", "loading"]))), 256))
|
|
3663
3663
|
]))), 128))
|
|
3664
|
-
])) :
|
|
3664
|
+
])) : b("", !0)
|
|
3665
3665
|
])
|
|
3666
3666
|
])
|
|
3667
3667
|
]))
|
|
@@ -3670,7 +3670,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
3670
3670
|
}), Gi = { key: 0 }, Ki = { class: "ml-16 text-sm font-medium truncate" }, Qi = { class: "ml-16 flex items-baseline pb-5" }, Xi = { class: "text-2xl font-semibold" }, er = {
|
|
3671
3671
|
key: 0,
|
|
3672
3672
|
class: "text-black ml-2 flex items-baseline text-sm font-semibold"
|
|
3673
|
-
}, tr = { class: "absolute bottom-0 inset-x-0 bg-gray-50 px-4 py-4 sm:px-6" }, lr = { class: "text-sm" }, sr = { key: 1 }, nr = { class: "relative bg-white pt-5 px-4 sm:pt-6 sm:px-6 shadow rounded-lg overflow-hidden h-full pb-6" }, ar = { class: "absolute bg-gray-200 rounded-md p-3 animate-pulse" }, Ft = /* @__PURE__ */
|
|
3673
|
+
}, tr = { class: "absolute bottom-0 inset-x-0 bg-gray-50 px-4 py-4 sm:px-6" }, lr = { class: "text-sm" }, sr = { key: 1 }, nr = { class: "relative bg-white pt-5 px-4 sm:pt-6 sm:px-6 shadow rounded-lg overflow-hidden h-full pb-6" }, ar = { class: "absolute bg-gray-200 rounded-md p-3 animate-pulse" }, Ft = /* @__PURE__ */ T({
|
|
3674
3674
|
__name: "uiStats",
|
|
3675
3675
|
props: {
|
|
3676
3676
|
item: {},
|
|
@@ -3720,7 +3720,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
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)) : b("", !0),
|
|
3724
3724
|
e.item.changeType ? (l(), s("p", {
|
|
3725
3725
|
key: 1,
|
|
3726
3726
|
class: x([
|
|
@@ -3736,14 +3736,14 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
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
|
+
})) : b("", !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
|
+
})) : b("", !0),
|
|
3745
3745
|
B(" " + c(e.item.change), 1)
|
|
3746
|
-
], 2)) :
|
|
3746
|
+
], 2)) : b("", !0),
|
|
3747
3747
|
D(t("div", tr, [
|
|
3748
3748
|
t("div", lr, [
|
|
3749
3749
|
t("span", {
|
|
@@ -3770,7 +3770,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
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" }, br = /* @__PURE__ */ T({
|
|
3774
3774
|
__name: "uiStripedCard",
|
|
3775
3775
|
props: {
|
|
3776
3776
|
title: {},
|
|
@@ -3810,7 +3810,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
3810
3810
|
}, [
|
|
3811
3811
|
t("dt", ur, c(o.title), 1),
|
|
3812
3812
|
o.type === "tags" ? (l(), s("dd", gr, [
|
|
3813
|
-
(l(!0), s(k, null, S(o.tags, (r, a) => (l(), w(
|
|
3813
|
+
(l(!0), s(k, null, S(o.tags, (r, a) => (l(), w(G, {
|
|
3814
3814
|
loading: e.loading,
|
|
3815
3815
|
key: a,
|
|
3816
3816
|
color: r.color,
|
|
@@ -3831,7 +3831,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
3831
3831
|
])
|
|
3832
3832
|
]));
|
|
3833
3833
|
}
|
|
3834
|
-
}),
|
|
3834
|
+
}), vr = { 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 bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
3840
3840
|
}
|
|
3841
3841
|
},
|
|
3842
3842
|
setup(e) {
|
|
3843
|
-
return (g, i) => (l(), s("div",
|
|
3843
|
+
return (g, i) => (l(), s("div", vr, [
|
|
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",
|
|
@@ -3873,7 +3873,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
3873
3873
|
}, $r = { 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" }, Cr = { class: "p-6 gap-y-2 flex flex-col" }, Sr = { class: "flex items-center gap-x-2 w-full" }, Br = { class: "px-6 pb-6 gap-x-2 flex justify-end" }, Mr = {
|
|
3874
3874
|
key: 1,
|
|
3875
3875
|
class: "relative animate-pulse"
|
|
3876
|
-
}, zr = /* @__PURE__ */
|
|
3876
|
+
}, zr = /* @__PURE__ */ T({
|
|
3877
3877
|
__name: "uiSmartFilterMultipleV2",
|
|
3878
3878
|
props: {
|
|
3879
3879
|
literals: { default: () => ({
|
|
@@ -3891,8 +3891,8 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
3891
3891
|
},
|
|
3892
3892
|
emits: ["smartFiltersSent", "smartFiltersCleared", "smartFilterDeleted"],
|
|
3893
3893
|
setup(e, { emit: g }) {
|
|
3894
|
-
const i = e, o = g, n = V({ id: "1", name: i.literals.and }), r = ke([]), a = V(i.availableCategories[0] || {}), d = (
|
|
3895
|
-
r.splice(0, r.length),
|
|
3894
|
+
const i = e, o = g, n = V({ id: "1", name: i.literals.and }), r = ke([]), a = V(i.availableCategories[0] || {}), d = (z) => z ? z === "uiInput" ? i.literals.contains : i.literals.is : "", u = (z) => {
|
|
3895
|
+
r.splice(0, r.length), z.logicOperator === "and" || z.logicOperator === i.literals.and ? n.value = { id: "1", name: i.literals.and } : (z.logicOperator === "or" || z.logicOperator === i.literals.or) && (n.value = { id: "2", name: i.literals.or }), z.filters.forEach((q) => {
|
|
3896
3896
|
const H = i.availableCategories.find(($) => $.name === q.name);
|
|
3897
3897
|
if (H) {
|
|
3898
3898
|
const $ = {
|
|
@@ -3911,60 +3911,60 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
3911
3911
|
}
|
|
3912
3912
|
});
|
|
3913
3913
|
};
|
|
3914
|
-
Z(() => i.literals, (
|
|
3915
|
-
n.value.id === "1" ? n.value.name =
|
|
3916
|
-
}, { deep: !0 }), Z(() => i.availableCategories, (
|
|
3917
|
-
|
|
3918
|
-
}, { deep: !0, immediate: !0 }), Z(() => i.filters, (
|
|
3919
|
-
|
|
3914
|
+
Z(() => i.literals, (z) => {
|
|
3915
|
+
n.value.id === "1" ? n.value.name = z.and : n.value.id === "2" && (n.value.name = z.or);
|
|
3916
|
+
}, { deep: !0 }), Z(() => i.availableCategories, (z) => {
|
|
3917
|
+
z.length > 0 && (!a.value.name || !z.some((q) => q.name === a.value.name)) && (a.value = z[0]);
|
|
3918
|
+
}, { deep: !0, immediate: !0 }), Z(() => i.filters, (z) => {
|
|
3919
|
+
z && u(z);
|
|
3920
3920
|
}, { deep: !0, immediate: !0 });
|
|
3921
|
-
const
|
|
3921
|
+
const v = j(() => [
|
|
3922
3922
|
{ id: "1", name: i.literals.and },
|
|
3923
3923
|
{ id: "2", name: i.literals.or }
|
|
3924
|
-
]), p = j(() => i.availableCategories.map((
|
|
3925
|
-
id:
|
|
3926
|
-
name:
|
|
3927
|
-
label:
|
|
3924
|
+
]), p = j(() => i.availableCategories.map((z) => ({
|
|
3925
|
+
id: z.name,
|
|
3926
|
+
name: z.name,
|
|
3927
|
+
label: z.label
|
|
3928
3928
|
}))), C = j(() => ({
|
|
3929
3929
|
id: a.value.name,
|
|
3930
3930
|
label: a.value.label,
|
|
3931
3931
|
name: a.value.name
|
|
3932
|
-
})), R = j(() => r.map((
|
|
3933
|
-
name:
|
|
3932
|
+
})), R = j(() => r.map((z) => z.type === "uiInput" ? {
|
|
3933
|
+
name: z.label,
|
|
3934
3934
|
operator: i.literals.contains,
|
|
3935
|
-
value:
|
|
3936
|
-
} :
|
|
3937
|
-
name:
|
|
3935
|
+
value: z.props.value || ""
|
|
3936
|
+
} : z.type === "uiSelect" ? {
|
|
3937
|
+
name: z.label,
|
|
3938
3938
|
operator: i.literals.is,
|
|
3939
|
-
value:
|
|
3939
|
+
value: z.props.select?.name || ""
|
|
3940
3940
|
} : {
|
|
3941
|
-
name:
|
|
3941
|
+
name: z.label,
|
|
3942
3942
|
operator: i.literals.contains,
|
|
3943
3943
|
value: ""
|
|
3944
|
-
})), E = (
|
|
3945
|
-
n.value = Array.isArray(
|
|
3946
|
-
}, P = (
|
|
3947
|
-
const q = Array.isArray(
|
|
3944
|
+
})), E = (z) => {
|
|
3945
|
+
n.value = Array.isArray(z) ? z[0] || { id: "1", name: i.literals.and } : z;
|
|
3946
|
+
}, P = (z) => {
|
|
3947
|
+
const q = Array.isArray(z) ? z[0] : z, H = i.availableCategories.find(($) => $.name === q.id);
|
|
3948
3948
|
H && (a.value = H);
|
|
3949
3949
|
}, _ = () => {
|
|
3950
3950
|
if (!a.value || !a.value.name)
|
|
3951
3951
|
return;
|
|
3952
|
-
const
|
|
3952
|
+
const z = {
|
|
3953
3953
|
label: a.value.label,
|
|
3954
3954
|
name: a.value.name,
|
|
3955
3955
|
type: a.value.componentType,
|
|
3956
3956
|
props: { ...a.value.defaultProps }
|
|
3957
3957
|
};
|
|
3958
|
-
r.push(
|
|
3959
|
-
},
|
|
3960
|
-
if (
|
|
3961
|
-
const H = r[
|
|
3958
|
+
r.push(z);
|
|
3959
|
+
}, K = (z, q) => {
|
|
3960
|
+
if (z < 0 || z >= r.length) return;
|
|
3961
|
+
const H = r[z];
|
|
3962
3962
|
H.type === "uiInput" ? typeof q == "string" && (H.props.value = q) : H.type === "uiSelect" && (Array.isArray(q) ? H.props.select = q[0] : typeof q == "object" && q !== null && (H.props.select = q));
|
|
3963
|
-
}, re = (
|
|
3964
|
-
|
|
3963
|
+
}, re = (z) => {
|
|
3964
|
+
z >= 0 && z < r.length && (r.splice(z, 1), o("smartFilterDeleted", z));
|
|
3965
3965
|
}, me = () => {
|
|
3966
3966
|
r.splice(0, r.length), o("smartFiltersCleared");
|
|
3967
|
-
}, fe = (
|
|
3967
|
+
}, fe = (z) => {
|
|
3968
3968
|
const H = {
|
|
3969
3969
|
logicOperator: n.value.id === "1" ? "and" : "or",
|
|
3970
3970
|
filters: r.map(($) => ({
|
|
@@ -3974,9 +3974,9 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
3974
3974
|
value: $.type === "uiInput" ? $.props.value : $.props.select?.name
|
|
3975
3975
|
}))
|
|
3976
3976
|
};
|
|
3977
|
-
o("smartFiltersSent", H),
|
|
3977
|
+
o("smartFiltersSent", H), z();
|
|
3978
3978
|
};
|
|
3979
|
-
return (
|
|
3979
|
+
return (z, q) => e.loading ? (l(), s("div", Mr, [...q[1] || (q[1] = [
|
|
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,
|
|
@@ -3988,7 +3988,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
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)) : b("", !0)
|
|
3992
3992
|
], 64))), 128)),
|
|
3993
3993
|
m(f(oe), {
|
|
3994
3994
|
class: "size-5",
|
|
@@ -4011,7 +4011,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
4011
4011
|
t("div", $r, [
|
|
4012
4012
|
t("div", Cr, [
|
|
4013
4013
|
t("div", Sr, [
|
|
4014
|
-
m(
|
|
4014
|
+
m(ve, {
|
|
4015
4015
|
loading: i.loading,
|
|
4016
4016
|
class: "w-60",
|
|
4017
4017
|
items: p.value,
|
|
@@ -4033,7 +4033,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
4033
4033
|
class: "flex items-center gap-x-2 w-full",
|
|
4034
4034
|
key: $.name
|
|
4035
4035
|
}, [
|
|
4036
|
-
m(
|
|
4036
|
+
m(G, {
|
|
4037
4037
|
loading: i.loading,
|
|
4038
4038
|
size: "big",
|
|
4039
4039
|
color: "gray"
|
|
@@ -4043,7 +4043,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
4043
4043
|
]),
|
|
4044
4044
|
_: 2
|
|
4045
4045
|
}, 1032, ["loading"]),
|
|
4046
|
-
m(
|
|
4046
|
+
m(G, {
|
|
4047
4047
|
loading: i.loading,
|
|
4048
4048
|
size: "big",
|
|
4049
4049
|
color: "gray"
|
|
@@ -4053,30 +4053,30 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
4053
4053
|
]),
|
|
4054
4054
|
_: 2
|
|
4055
4055
|
}, 1032, ["loading"]),
|
|
4056
|
-
$.type === "uiSelect" ? (l(), w(
|
|
4056
|
+
$.type === "uiSelect" ? (l(), w(ve, {
|
|
4057
4057
|
key: 0,
|
|
4058
4058
|
class: "grow",
|
|
4059
4059
|
loading: i.loading,
|
|
4060
4060
|
items: $.props.items || [],
|
|
4061
4061
|
select: $.props.select || $.props.items?.[0] || { id: "0", name: "Select..." },
|
|
4062
|
-
onSelectChanged: (N) =>
|
|
4062
|
+
onSelectChanged: (N) => K(F, N)
|
|
4063
4063
|
}, null, 8, ["loading", "items", "select", "onSelectChanged"])) : $.type === "uiInput" ? (l(), w(ae, {
|
|
4064
4064
|
key: 1,
|
|
4065
4065
|
class: "grow",
|
|
4066
4066
|
loading: i.loading,
|
|
4067
4067
|
name: $.props.name || "",
|
|
4068
4068
|
value: $.props.value || "",
|
|
4069
|
-
onInput: (N) =>
|
|
4070
|
-
}, null, 8, ["loading", "name", "value", "onInput"])) :
|
|
4071
|
-
F === 0 ? (l(), w(
|
|
4069
|
+
onInput: (N) => K(F, N.target.value)
|
|
4070
|
+
}, null, 8, ["loading", "name", "value", "onInput"])) : b("", !0),
|
|
4071
|
+
F === 0 ? (l(), w(ve, {
|
|
4072
4072
|
key: 2,
|
|
4073
4073
|
onSelectChanged: E,
|
|
4074
4074
|
class: "w-24 uppercase",
|
|
4075
4075
|
loading: i.loading,
|
|
4076
|
-
items:
|
|
4076
|
+
items: v.value,
|
|
4077
4077
|
select: n.value
|
|
4078
|
-
}, null, 8, ["loading", "items", "select"])) :
|
|
4079
|
-
F > 0 ? (l(), w(
|
|
4078
|
+
}, null, 8, ["loading", "items", "select"])) : b("", !0),
|
|
4079
|
+
F > 0 ? (l(), w(G, {
|
|
4080
4080
|
key: 3,
|
|
4081
4081
|
loading: i.loading,
|
|
4082
4082
|
size: "big",
|
|
@@ -4087,7 +4087,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
4087
4087
|
B(c(n.value.name), 1)
|
|
4088
4088
|
]),
|
|
4089
4089
|
_: 1
|
|
4090
|
-
}, 8, ["loading"])) :
|
|
4090
|
+
}, 8, ["loading"])) : b("", !0),
|
|
4091
4091
|
m(L, {
|
|
4092
4092
|
icon: f(pe),
|
|
4093
4093
|
color: "red",
|
|
@@ -4132,7 +4132,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
4132
4132
|
_: 1
|
|
4133
4133
|
}));
|
|
4134
4134
|
}
|
|
4135
|
-
}), jr = { class: "w-full flex flex-col justify-center p-10 grow" },
|
|
4135
|
+
}), jr = { class: "w-full flex flex-col justify-center p-10 grow" }, Tr = { class: "text-center" }, Ar = { class: "text-2xl mt-4 font-bold" }, Dr = { class: "mt-4" }, Lr = { class: "buttons flex mt-8 gap-x-1 justify-center flex-col gap-y-2 md:flex-row md:gap-y-0" }, lt = /* @__PURE__ */ T({
|
|
4136
4136
|
__name: "uiNoResults",
|
|
4137
4137
|
props: {
|
|
4138
4138
|
title: {},
|
|
@@ -4151,8 +4151,8 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
4151
4151
|
size: "massive",
|
|
4152
4152
|
color: "gray"
|
|
4153
4153
|
}, null, 8, ["icon"]),
|
|
4154
|
-
t("div",
|
|
4155
|
-
t("h2",
|
|
4154
|
+
t("div", Tr, [
|
|
4155
|
+
t("h2", Ar, c(e.title), 1),
|
|
4156
4156
|
t("p", Dr, c(e.message), 1),
|
|
4157
4157
|
t("div", Lr, [
|
|
4158
4158
|
(l(!0), s(k, null, S(e.actions, (o, n) => (l(), w(U, {
|
|
@@ -4170,7 +4170,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
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"])) : b("", !0)
|
|
4174
4174
|
])
|
|
4175
4175
|
])
|
|
4176
4176
|
]));
|
|
@@ -4211,7 +4211,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
4211
4211
|
}, rd = ["onClick"], dd = { key: 0 }, cd = {
|
|
4212
4212
|
key: 2,
|
|
4213
4213
|
class: "devicesFooter px-1 flex flex-row justify-between items-center"
|
|
4214
|
-
}, ud = { key: 0 }, gd = /* @__PURE__ */
|
|
4214
|
+
}, ud = { key: 0 }, gd = /* @__PURE__ */ T({
|
|
4215
4215
|
__name: "uiTable",
|
|
4216
4216
|
props: {
|
|
4217
4217
|
selectAllItemsModal: {},
|
|
@@ -4239,17 +4239,17 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
4239
4239
|
emits: ["tableAction", "orderBy", "customEmit", "selectedItemsDeleted", "selectAllItems", "modalAction", "smartFiltersSent", "smartFiltersCleared", "smartFilterDeleted", "tableActionSelected", "tableActionButtonClicked", "changePage", "changePageSize", "columnsVisibilityChanged", "deselectAllItems", "noResultsAction", "noResultsOptionSelected"],
|
|
4240
4240
|
setup(e, { emit: g }) {
|
|
4241
4241
|
const i = {
|
|
4242
|
-
uiTag:
|
|
4243
|
-
}, o = g, n = e, r = V([]), a = V(""), d = V(!1), u = V(null),
|
|
4242
|
+
uiTag: G
|
|
4243
|
+
}, o = g, n = e, r = V([]), a = V(""), d = V(!1), u = V(null), v = 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
|
|
4247
4247
|
), me = j(
|
|
4248
|
-
() => n.header.filter((h,
|
|
4248
|
+
() => n.header.filter((h, A) => nt(A))
|
|
4249
4249
|
), fe = j(() => [
|
|
4250
4250
|
n.actions ? "px-6 sm:px-8" : "px-3",
|
|
4251
4251
|
"relative"
|
|
4252
|
-
]),
|
|
4252
|
+
]), z = j(() => [
|
|
4253
4253
|
n.actions && n.actions.length > 0 ? "w-2" : "w-0",
|
|
4254
4254
|
"relative"
|
|
4255
4255
|
]), q = j(
|
|
@@ -4266,7 +4266,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
4266
4266
|
() => n.paginationCurrent !== void 0 && n.paginationTotal !== void 0 && n.paginationTotalItems !== void 0
|
|
4267
4267
|
), le = j(
|
|
4268
4268
|
() => n.pageSizeOptions && n.pageSizeOptions.length > 0
|
|
4269
|
-
),
|
|
4269
|
+
), st = j(() => n.pageSizeOptions ? n.pageSizeOptions.map((h) => ({
|
|
4270
4270
|
name: h.name,
|
|
4271
4271
|
value: String(h.value),
|
|
4272
4272
|
active: !!(h.active || n.currentPageSize && h.value === n.currentPageSize)
|
|
@@ -4280,14 +4280,14 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
4280
4280
|
filter: "Filtrar"
|
|
4281
4281
|
}, It = (h) => {
|
|
4282
4282
|
h.action === "close" ? Se.value = !1 : (Se.value = !1, n.selectAllItemsModal && o("modalAction", { modal: n.selectAllItemsModal.modalName, action: h.action }));
|
|
4283
|
-
},
|
|
4284
|
-
const
|
|
4285
|
-
return Re(h.id) &&
|
|
4283
|
+
}, nt = (h) => n.hiddenColumns && n.hiddenColumns.length > 0 ? !n.hiddenColumns.includes(h) : !0, Re = (h) => r.value.includes(h), Nt = (h) => a.value === h, Vt = (h) => h.filter((A, M) => nt(M)), Rt = (h, A) => {
|
|
4284
|
+
const M = [];
|
|
4285
|
+
return Re(h.id) && M.push("bg-gray-50"), A % 2 !== 0 && M.push("bg-gray-50"), M;
|
|
4286
4286
|
}, _t = (h) => {
|
|
4287
|
-
const
|
|
4288
|
-
return Re(h) &&
|
|
4287
|
+
const A = ["whitespace-nowrap", "py-4", "pr-3", "text-sm"];
|
|
4288
|
+
return Re(h) && A.push("text-black", "font-bold"), A;
|
|
4289
4289
|
}, qt = (h) => {
|
|
4290
|
-
const
|
|
4290
|
+
const A = [
|
|
4291
4291
|
"absolute",
|
|
4292
4292
|
"left-4",
|
|
4293
4293
|
"top-1/2",
|
|
@@ -4300,11 +4300,11 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
4300
4300
|
"focus:ring-lime-400",
|
|
4301
4301
|
"flex-wrap"
|
|
4302
4302
|
];
|
|
4303
|
-
return h &&
|
|
4303
|
+
return h && A.push("bg-gray-100"), A;
|
|
4304
4304
|
}, Ht = (h) => {
|
|
4305
|
-
const
|
|
4306
|
-
return h === n.orderedBy ?
|
|
4307
|
-
}, Yt = (h) => typeof h == "object" && h.type === "tag" ? i.uiTag : typeof h == "object" && h.type === "link" ? "span" : typeof h == "object" && h.type === "href" ? "a" : typeof h == "object" && h.type === "guest" ? "div" : typeof h == "object" && h.type === "action" ? "button" : "span",
|
|
4305
|
+
const A = [];
|
|
4306
|
+
return h === n.orderedBy ? A.push("bg-black", "text-white", "group-hover:bg-lime-400", "group-hover:text-black") : A.push("group-hover:visible", "group-focus:visible"), A;
|
|
4307
|
+
}, Yt = (h) => typeof h == "object" && h.type === "tag" ? i.uiTag : typeof h == "object" && h.type === "link" ? "span" : typeof h == "object" && h.type === "href" ? "a" : typeof h == "object" && h.type === "guest" ? "div" : typeof h == "object" && h.type === "action" ? "button" : "span", at = (h) => typeof h == "object" && h.type === "tag" ? {
|
|
4308
4308
|
loading: n.loading,
|
|
4309
4309
|
color: h.color || "primary",
|
|
4310
4310
|
size: h.size || "medium",
|
|
@@ -4319,16 +4319,16 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
4319
4319
|
} : typeof h == "object" && h.type === "action" ? {
|
|
4320
4320
|
type: "button",
|
|
4321
4321
|
class: "inline-flex items-center gap-2 px-3 py-1.5 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-lime-400 focus:ring-offset-2"
|
|
4322
|
-
} : {},
|
|
4322
|
+
} : {}, ot = (h) => typeof h == "object" ? h.content || "" : h || "", Et = (h) => h === n.orderedBy ? n.orderDirection === "asc" ? oe : jt : oe, Ut = (h) => h === n.orderedBy ? "white" : "primary", Zt = (h) => {
|
|
4323
4323
|
o("tableAction", { action: h.id, items: r.value });
|
|
4324
4324
|
}, Wt = (h) => {
|
|
4325
|
-
const
|
|
4326
|
-
|
|
4325
|
+
const A = h.target;
|
|
4326
|
+
A.checked ? Se.value = !0 : o("deselectAllItems"), r.value = A.checked ? n.items.map((M) => M.disabled ? null : M.id) : [];
|
|
4327
4327
|
}, Jt = (h) => {
|
|
4328
|
-
const
|
|
4329
|
-
o("orderBy", { value: h, orderDirection:
|
|
4330
|
-
}, de = (h,
|
|
4331
|
-
typeof h == "object" && (h.type === "link" || h.type === "action") && o("customEmit", { data: h, rowId:
|
|
4328
|
+
const A = n.orderDirection === "asc" ? "desc" : "asc";
|
|
4329
|
+
o("orderBy", { value: h, orderDirection: A });
|
|
4330
|
+
}, de = (h, A) => {
|
|
4331
|
+
typeof h == "object" && (h.type === "link" || h.type === "action") && o("customEmit", { data: h, rowId: A });
|
|
4332
4332
|
}, Gt = (h) => {
|
|
4333
4333
|
typeof h == "object" && h.type === "tag" && o("customEmit", { data: h });
|
|
4334
4334
|
}, Kt = (h) => {
|
|
@@ -4350,8 +4350,8 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
4350
4350
|
}, al = (h) => {
|
|
4351
4351
|
o("changePageSize", h.value);
|
|
4352
4352
|
}, ol = (h) => {
|
|
4353
|
-
const
|
|
4354
|
-
h.checked ? o("columnsVisibilityChanged", { index:
|
|
4353
|
+
const A = Number(h.value);
|
|
4354
|
+
h.checked ? o("columnsVisibilityChanged", { index: A, hidden: !0 }) : o("columnsVisibilityChanged", { index: A, hidden: !1 });
|
|
4355
4355
|
}, il = (h) => {
|
|
4356
4356
|
o("noResultsAction", h);
|
|
4357
4357
|
}, rl = (h) => {
|
|
@@ -4368,20 +4368,20 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
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 (!v.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
|
-
|
|
4378
|
-
const T = b.value.getBoundingClientRect(), z = window.innerHeight - T.top - 40;
|
|
4379
|
-
let G = 0;
|
|
4380
|
-
F.value && (G += 100), N.value && (G += 80);
|
|
4381
|
-
const I = Math.max(300, z - G);
|
|
4382
|
-
ve(() => {
|
|
4377
|
+
h && be(() => {
|
|
4383
4378
|
if (!u.value || !h) return;
|
|
4384
|
-
|
|
4379
|
+
const A = h.querySelector("thead"), M = h.querySelector("tbody");
|
|
4380
|
+
if (!A || !M) return;
|
|
4381
|
+
const Q = A.offsetHeight, I = M.querySelector("tr");
|
|
4382
|
+
if (!I) return;
|
|
4383
|
+
const _e = I.offsetHeight, X = Q + _e * 25;
|
|
4384
|
+
C.value = X, p.value = !0;
|
|
4385
4385
|
});
|
|
4386
4386
|
}, ye = () => {
|
|
4387
4387
|
u.value && requestAnimationFrame(() => {
|
|
@@ -4393,59 +4393,59 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
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
|
+
be(() => {
|
|
4397
4397
|
he(), ye();
|
|
4398
4398
|
});
|
|
4399
4399
|
}, { deep: !0 }), Z(() => n.loading, (h) => {
|
|
4400
|
-
h ||
|
|
4400
|
+
h || be(() => {
|
|
4401
4401
|
he(), ye();
|
|
4402
4402
|
});
|
|
4403
4403
|
}), Z([F, N], () => {
|
|
4404
|
-
|
|
4404
|
+
be(() => {
|
|
4405
4405
|
he(), ye();
|
|
4406
4406
|
});
|
|
4407
4407
|
}), Oe(() => {
|
|
4408
|
-
|
|
4408
|
+
be(() => {
|
|
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
|
+
}), bl(() => {
|
|
4416
4416
|
R.value && (window.removeEventListener("resize", R.value), R.value = null);
|
|
4417
|
-
}), (h,
|
|
4417
|
+
}), (h, A) => !e.loading && E.value ? (l(), s("div", Pr, [
|
|
4418
4418
|
e.selectAllItemsModal ? (l(), w(Pe, {
|
|
4419
4419
|
key: 0,
|
|
4420
4420
|
title: e.selectAllItemsModal.title,
|
|
4421
4421
|
modalName: e.selectAllItemsModal.modalName,
|
|
4422
4422
|
open: Se.value,
|
|
4423
4423
|
actions: e.selectAllItemsModal.actions,
|
|
4424
|
-
onModalAction:
|
|
4424
|
+
onModalAction: A[0] || (A[0] = (M) => It(M))
|
|
4425
4425
|
}, {
|
|
4426
4426
|
default: y(() => [
|
|
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"])) : b("", !0),
|
|
4431
4431
|
m(Pe, {
|
|
4432
4432
|
title: "Seleccione las columnas que desea ocultar",
|
|
4433
4433
|
modalName: "columnsModal",
|
|
4434
4434
|
open: Be.value,
|
|
4435
|
-
onClose:
|
|
4436
|
-
onModalAction:
|
|
4435
|
+
onClose: A[1] || (A[1] = (M) => Be.value = !1),
|
|
4436
|
+
onModalAction: A[2] || (A[2] = (M) => M.action === "close" ? Be.value = !1 : null)
|
|
4437
4437
|
}, {
|
|
4438
4438
|
default: y(() => [
|
|
4439
|
-
(l(!0), s(k, null, S(n.header, (
|
|
4439
|
+
(l(!0), s(k, null, S(n.header, (M, Q) => (l(), w(ue, {
|
|
4440
4440
|
onCheckboxChanged: ol,
|
|
4441
|
-
check: dl(
|
|
4441
|
+
check: dl(Q),
|
|
4442
4442
|
class: "mb-2",
|
|
4443
4443
|
loading: !1,
|
|
4444
|
-
key:
|
|
4445
|
-
value: String(
|
|
4444
|
+
key: Q,
|
|
4445
|
+
value: String(Q)
|
|
4446
4446
|
}, {
|
|
4447
4447
|
default: y(() => [
|
|
4448
|
-
B(c(
|
|
4448
|
+
B(c(M.name), 1)
|
|
4449
4449
|
]),
|
|
4450
4450
|
_: 2
|
|
4451
4451
|
}, 1032, ["check", "value"]))), 128))
|
|
@@ -4463,25 +4463,25 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
4463
4463
|
onSmartFilterDeleted: tl,
|
|
4464
4464
|
loading: n.loading
|
|
4465
4465
|
}, null, 8, ["available-categories", "literals", "filters", "loading"])
|
|
4466
|
-
])) :
|
|
4466
|
+
])) : b("", !0),
|
|
4467
4467
|
H.value || $.value ? (l(), s("div", Ir, [
|
|
4468
4468
|
$.value ? (l(), s("div", Nr, [
|
|
4469
|
-
(l(!0), s(k, null, S(n.tableActionButtons, (
|
|
4470
|
-
key:
|
|
4471
|
-
loading:
|
|
4472
|
-
disabled:
|
|
4473
|
-
color:
|
|
4474
|
-
size:
|
|
4475
|
-
icon:
|
|
4469
|
+
(l(!0), s(k, null, S(n.tableActionButtons, (M) => (l(), w(U, {
|
|
4470
|
+
key: M.id,
|
|
4471
|
+
loading: M.loading !== void 0 ? M.loading : n.loading,
|
|
4472
|
+
disabled: M.disabled,
|
|
4473
|
+
color: M.color || "primary",
|
|
4474
|
+
size: M.size || "medium",
|
|
4475
|
+
icon: M.icon,
|
|
4476
4476
|
class: "w-auto",
|
|
4477
|
-
onClick: (
|
|
4477
|
+
onClick: (Q) => sl(M)
|
|
4478
4478
|
}, {
|
|
4479
4479
|
default: y(() => [
|
|
4480
|
-
B(c(
|
|
4480
|
+
B(c(M.text), 1)
|
|
4481
4481
|
]),
|
|
4482
4482
|
_: 2
|
|
4483
4483
|
}, 1032, ["loading", "disabled", "color", "size", "icon", "onClick"]))), 128))
|
|
4484
|
-
])) :
|
|
4484
|
+
])) : b("", !0),
|
|
4485
4485
|
H.value ? (l(), s("div", Vr, [
|
|
4486
4486
|
m(ge, {
|
|
4487
4487
|
position: "right",
|
|
@@ -4489,31 +4489,31 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
4489
4489
|
loading: n.tableActionsDropdown?.loading || !1,
|
|
4490
4490
|
onOptionSelected: ll
|
|
4491
4491
|
}, null, 8, ["items", "loading"])
|
|
4492
|
-
])) :
|
|
4493
|
-
])) :
|
|
4494
|
-
])) :
|
|
4492
|
+
])) : b("", !0)
|
|
4493
|
+
])) : b("", !0)
|
|
4494
|
+
])) : b("", !0),
|
|
4495
4495
|
t("div", {
|
|
4496
4496
|
ref_key: "tableWrapper",
|
|
4497
|
-
ref:
|
|
4497
|
+
ref: v,
|
|
4498
4498
|
class: "flex flex-col",
|
|
4499
|
-
style:
|
|
4499
|
+
style: qe(ml.value)
|
|
4500
4500
|
}, [
|
|
4501
4501
|
t("div", Rr, [
|
|
4502
4502
|
t("div", _r, [
|
|
4503
4503
|
t("div", qr, [
|
|
4504
4504
|
P.value && _.value ? (l(), s("div", Hr, [
|
|
4505
|
-
(l(!0), s(k, null, S(e.actions, (
|
|
4506
|
-
key:
|
|
4505
|
+
(l(!0), s(k, null, S(e.actions, (M, Q) => (l(), s("button", {
|
|
4506
|
+
key: Q,
|
|
4507
4507
|
type: "button",
|
|
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
|
-
onClick: (I) => Zt(
|
|
4510
|
-
}, c(
|
|
4511
|
-
])) :
|
|
4509
|
+
onClick: (I) => Zt(M)
|
|
4510
|
+
}, c(M.name), 9, Yr))), 128))
|
|
4511
|
+
])) : b("", !0),
|
|
4512
4512
|
t("div", {
|
|
4513
4513
|
ref_key: "tableScrollContainer",
|
|
4514
4514
|
ref: u,
|
|
4515
4515
|
class: x(ul.value),
|
|
4516
|
-
style:
|
|
4516
|
+
style: qe(fl.value)
|
|
4517
4517
|
}, [
|
|
4518
4518
|
t("table", Er, [
|
|
4519
4519
|
t("thead", {
|
|
@@ -4526,68 +4526,68 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
4526
4526
|
}, [
|
|
4527
4527
|
_.value ? (l(), s("input", {
|
|
4528
4528
|
key: 0,
|
|
4529
|
-
checked:
|
|
4529
|
+
checked: K.value,
|
|
4530
4530
|
indeterminate: re.value,
|
|
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)) : b("", !0)
|
|
4535
4535
|
], 2),
|
|
4536
|
-
(l(!0), s(k, null, S(me.value, (
|
|
4537
|
-
key:
|
|
4536
|
+
(l(!0), s(k, null, S(me.value, (M, Q) => (l(), s("th", {
|
|
4537
|
+
key: Q,
|
|
4538
4538
|
class: "py-3.5 pr-3 text-left font-semibold relative",
|
|
4539
4539
|
scope: "col",
|
|
4540
|
-
onMouseover: (I) => Kt(
|
|
4541
|
-
onMouseleave:
|
|
4540
|
+
onMouseover: (I) => Kt(M.name),
|
|
4541
|
+
onMouseleave: A[3] || (A[3] = (I) => Qt())
|
|
4542
4542
|
}, [
|
|
4543
|
-
|
|
4543
|
+
M.tooltip && Nt(M.name) ? (l(), w(pr, {
|
|
4544
4544
|
key: 0,
|
|
4545
|
-
tip:
|
|
4546
|
-
}, null, 8, ["tip"])) :
|
|
4547
|
-
|
|
4545
|
+
tip: M.tooltip
|
|
4546
|
+
}, null, 8, ["tip"])) : b("", !0),
|
|
4547
|
+
M.value ? (l(), s("button", {
|
|
4548
4548
|
key: 1,
|
|
4549
4549
|
class: "group flex items-center uppercase text-xs relative text-nowrap",
|
|
4550
|
-
onClick: (I) => Jt(
|
|
4550
|
+
onClick: (I) => Jt(M.value)
|
|
4551
4551
|
}, [
|
|
4552
|
-
t("span", null, c(
|
|
4552
|
+
t("span", null, c(M.name), 1),
|
|
4553
4553
|
t("span", {
|
|
4554
|
-
class: x([Ht(
|
|
4554
|
+
class: x([Ht(M.value), "ml-2 flex-none rounded group-hover:bg-lime-200 group-hover:text-white"])
|
|
4555
4555
|
}, [
|
|
4556
4556
|
m(L, {
|
|
4557
|
-
icon: Et(
|
|
4557
|
+
icon: Et(M.value),
|
|
4558
4558
|
loading: e.loading,
|
|
4559
|
-
color: Ut(
|
|
4559
|
+
color: Ut(M.value)
|
|
4560
4560
|
}, null, 8, ["icon", "loading", "color"])
|
|
4561
4561
|
], 2)
|
|
4562
4562
|
], 8, Wr)) : (l(), s("p", Jr, [
|
|
4563
|
-
t("span", null, c(
|
|
4563
|
+
t("span", null, c(M.name), 1)
|
|
4564
4564
|
]))
|
|
4565
4565
|
], 40, Zr))), 128))
|
|
4566
4566
|
])
|
|
4567
4567
|
], 2),
|
|
4568
4568
|
t("tbody", Gr, [
|
|
4569
|
-
(l(!0), s(k, null, S(e.items, (
|
|
4570
|
-
key:
|
|
4571
|
-
class: x(Rt(
|
|
4569
|
+
(l(!0), s(k, null, S(e.items, (M, Q) => (l(), s("tr", {
|
|
4570
|
+
key: M.id,
|
|
4571
|
+
class: x(Rt(M, Q))
|
|
4572
4572
|
}, [
|
|
4573
4573
|
t("td", {
|
|
4574
|
-
class: x(
|
|
4574
|
+
class: x(z.value)
|
|
4575
4575
|
}, [
|
|
4576
|
-
Re(
|
|
4576
|
+
Re(M.id) ? (l(), s("div", Kr)) : b("", !0),
|
|
4577
4577
|
_.value ? D((l(), s("input", {
|
|
4578
4578
|
key: 1,
|
|
4579
|
-
"onUpdate:modelValue":
|
|
4580
|
-
value:
|
|
4581
|
-
class: x(qt(
|
|
4579
|
+
"onUpdate:modelValue": A[4] || (A[4] = (I) => r.value = I),
|
|
4580
|
+
value: M.id,
|
|
4581
|
+
class: x(qt(M.disabled)),
|
|
4582
4582
|
type: "checkbox",
|
|
4583
|
-
disabled:
|
|
4583
|
+
disabled: M.disabled
|
|
4584
4584
|
}, null, 10, Qr)), [
|
|
4585
4585
|
[yt, r.value]
|
|
4586
|
-
]) :
|
|
4586
|
+
]) : b("", !0)
|
|
4587
4587
|
], 2),
|
|
4588
|
-
(l(!0), s(k, null, S(Vt(
|
|
4589
|
-
key:
|
|
4590
|
-
class: x(_t(
|
|
4588
|
+
(l(!0), s(k, null, S(Vt(M.row), (I, _e) => (l(), s("td", {
|
|
4589
|
+
key: _e,
|
|
4590
|
+
class: x(_t(M.id))
|
|
4591
4591
|
}, [
|
|
4592
4592
|
typeof I == "object" && I.type === "guest" ? (l(), s("div", Xr, [
|
|
4593
4593
|
t("span", ed, c(I.content), 1),
|
|
@@ -4596,7 +4596,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
4596
4596
|
key: 1,
|
|
4597
4597
|
type: "button",
|
|
4598
4598
|
class: "inline-flex items-center gap-2 px-3 py-1.5 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-lime-400 focus:ring-offset-2",
|
|
4599
|
-
onClick: (X) => de(I,
|
|
4599
|
+
onClick: (X) => de(I, M.id)
|
|
4600
4600
|
}, [
|
|
4601
4601
|
I.icon ? (l(), w(L, {
|
|
4602
4602
|
key: 0,
|
|
@@ -4604,15 +4604,15 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
4604
4604
|
icon: I.icon,
|
|
4605
4605
|
size: "small",
|
|
4606
4606
|
color: "gray"
|
|
4607
|
-
}, null, 8, ["loading", "icon"])) :
|
|
4607
|
+
}, null, 8, ["loading", "icon"])) : b("", !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,
|
|
4611
4611
|
ref_for: !0
|
|
4612
|
-
},
|
|
4613
|
-
onClick: (X) => de(I,
|
|
4612
|
+
}, at(I), {
|
|
4613
|
+
onClick: (X) => de(I, M.id)
|
|
4614
4614
|
}), [
|
|
4615
|
-
B(c(
|
|
4615
|
+
B(c(ot(I)) + " ", 1),
|
|
4616
4616
|
I.icon ? (l(), w(L, {
|
|
4617
4617
|
key: 0,
|
|
4618
4618
|
loading: e.loading,
|
|
@@ -4620,12 +4620,12 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
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"])) : b("", !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", {
|
|
4627
4627
|
type: "button",
|
|
4628
|
-
onClick: (X) => de({ type: "action", action: "reveal", value: I.value },
|
|
4628
|
+
onClick: (X) => de({ type: "action", action: "reveal", value: I.value }, M.id),
|
|
4629
4629
|
class: "inline-flex items-center p-1 text-gray-500 hover:text-gray-700 focus:outline-none"
|
|
4630
4630
|
}, [
|
|
4631
4631
|
m(L, {
|
|
@@ -4637,12 +4637,12 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
4637
4637
|
], 8, ad),
|
|
4638
4638
|
t("button", {
|
|
4639
4639
|
type: "button",
|
|
4640
|
-
onClick: (X) => de({ type: "action", action: "copy", value: I.value },
|
|
4640
|
+
onClick: (X) => de({ type: "action", action: "copy", value: I.value }, M.id),
|
|
4641
4641
|
class: "inline-flex items-center p-1 text-gray-500 hover:text-gray-700 focus:outline-none"
|
|
4642
4642
|
}, [
|
|
4643
4643
|
m(L, {
|
|
4644
4644
|
loading: e.loading,
|
|
4645
|
-
icon: f(
|
|
4645
|
+
icon: f(Ye),
|
|
4646
4646
|
size: "small",
|
|
4647
4647
|
color: "gray"
|
|
4648
4648
|
}, null, 8, ["loading", "icon"])
|
|
@@ -4651,7 +4651,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
4651
4651
|
(l(!0), s(k, null, S(I.actions, (X, hl) => (l(), s("button", {
|
|
4652
4652
|
key: hl,
|
|
4653
4653
|
type: "button",
|
|
4654
|
-
onClick: (ng) => de({ type: "action", action: X.action },
|
|
4654
|
+
onClick: (ng) => de({ type: "action", action: X.action }, M.id),
|
|
4655
4655
|
class: x(X.action === "viewCode" ? "inline-flex items-center gap-1 px-3 py-1.5 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-lime-400 focus:ring-offset-2" : "inline-flex items-center p-1 text-gray-500 hover:text-gray-700 focus:outline-none")
|
|
4656
4656
|
}, [
|
|
4657
4657
|
m(L, {
|
|
@@ -4660,17 +4660,17 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
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")) : b("", !0)
|
|
4664
4664
|
], 10, rd))), 128))
|
|
4665
4665
|
])) : (l(), w(Fe(Yt(I)), Le({
|
|
4666
4666
|
key: 5,
|
|
4667
4667
|
ref_for: !0
|
|
4668
|
-
},
|
|
4668
|
+
}, at(I), {
|
|
4669
4669
|
onClick: (X) => de(I),
|
|
4670
4670
|
onTagEvent: (X) => Gt(I)
|
|
4671
4671
|
}), {
|
|
4672
4672
|
default: y(() => [
|
|
4673
|
-
B(c(
|
|
4673
|
+
B(c(ot(I)), 1)
|
|
4674
4674
|
]),
|
|
4675
4675
|
_: 2
|
|
4676
4676
|
}, 1040, ["onClick", "onTagEvent"]))
|
|
@@ -4687,11 +4687,11 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
4687
4687
|
le.value ? (l(), s("div", ud, [
|
|
4688
4688
|
m(ge, {
|
|
4689
4689
|
verticalPosition: "top",
|
|
4690
|
-
items:
|
|
4690
|
+
items: st.value,
|
|
4691
4691
|
loading: n.loading,
|
|
4692
4692
|
onOptionSelected: al
|
|
4693
4693
|
}, null, 8, ["items", "loading"])
|
|
4694
|
-
])) :
|
|
4694
|
+
])) : b("", !0),
|
|
4695
4695
|
W.value ? (l(), s("div", {
|
|
4696
4696
|
key: 1,
|
|
4697
4697
|
class: x(["grow", { "ml-10": le.value }])
|
|
@@ -4703,29 +4703,29 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
4703
4703
|
loading: n.loading,
|
|
4704
4704
|
onChangePage: nl
|
|
4705
4705
|
}, {
|
|
4706
|
-
previous: y(() => [...
|
|
4706
|
+
previous: y(() => [...A[5] || (A[5] = [
|
|
4707
4707
|
B("Anterior", -1)
|
|
4708
4708
|
])]),
|
|
4709
|
-
next: y(() => [...
|
|
4709
|
+
next: y(() => [...A[6] || (A[6] = [
|
|
4710
4710
|
B("Siguiente", -1)
|
|
4711
4711
|
])]),
|
|
4712
|
-
showing: y(() => [...
|
|
4712
|
+
showing: y(() => [...A[7] || (A[7] = [
|
|
4713
4713
|
B("Mostrando", -1)
|
|
4714
4714
|
])]),
|
|
4715
|
-
of: y(() => [...
|
|
4715
|
+
of: y(() => [...A[8] || (A[8] = [
|
|
4716
4716
|
B("de", -1)
|
|
4717
4717
|
])]),
|
|
4718
|
-
pages: y(() => [...
|
|
4718
|
+
pages: y(() => [...A[9] || (A[9] = [
|
|
4719
4719
|
B("páginas", -1)
|
|
4720
4720
|
])]),
|
|
4721
|
-
fromTotal: y(() => [...
|
|
4721
|
+
fromTotal: y(() => [...A[10] || (A[10] = [
|
|
4722
4722
|
B("Elementos totales:", -1)
|
|
4723
4723
|
])]),
|
|
4724
4724
|
_: 1
|
|
4725
4725
|
}, 8, ["current", "total", "totalItems", "loading"])
|
|
4726
|
-
], 2)) :
|
|
4727
|
-
])) :
|
|
4728
|
-
])) : !e.loading && !E.value && n.noResults ? (l(), w(
|
|
4726
|
+
], 2)) : b("", !0)
|
|
4727
|
+
])) : b("", !0)
|
|
4728
|
+
])) : !e.loading && !E.value && n.noResults ? (l(), w(lt, {
|
|
4729
4729
|
key: 1,
|
|
4730
4730
|
title: n.noResults.title,
|
|
4731
4731
|
message: n.noResults.message,
|
|
@@ -4736,10 +4736,10 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
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" }, bd = {
|
|
4740
4740
|
class: "-mb-px flex space-x-8",
|
|
4741
4741
|
"aria-label": "Tabs"
|
|
4742
|
-
},
|
|
4742
|
+
}, vd = ["onClick", "aria-current"], xd = /* @__PURE__ */ T({
|
|
4743
4743
|
__name: "uiTabs",
|
|
4744
4744
|
props: {
|
|
4745
4745
|
tabs: {}
|
|
@@ -4766,7 +4766,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
4766
4766
|
]),
|
|
4767
4767
|
t("div", hd, [
|
|
4768
4768
|
t("div", yd, [
|
|
4769
|
-
t("nav",
|
|
4769
|
+
t("nav", bd, [
|
|
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 bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
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)) : b("", !0)
|
|
4787
|
+
], 10, vd))), 128))
|
|
4788
4788
|
])
|
|
4789
4789
|
])
|
|
4790
4790
|
])
|
|
@@ -4797,7 +4797,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
4797
4797
|
key: 0,
|
|
4798
4798
|
class: "absolute left-4 top-4 -ml-px h-full w-0.5 bg-gray-200",
|
|
4799
4799
|
"aria-hidden": "true"
|
|
4800
|
-
}, Bd = { class: "relative flex space-x-3" }, Md = { class: "min-w-0 flex-1 pt-1.5 flex justify-between space-x-4 items-center" }, zd = { class: "text-sm text-gray-500" }, jd = ["onClick"],
|
|
4800
|
+
}, Bd = { class: "relative flex space-x-3" }, Md = { class: "min-w-0 flex-1 pt-1.5 flex justify-between space-x-4 items-center" }, zd = { class: "text-sm text-gray-500" }, jd = ["onClick"], Td = { class: "text-right text-sm whitespace-nowrap text-gray-500" }, Ad = ["datetime"], Dd = {
|
|
4801
4801
|
key: 1,
|
|
4802
4802
|
class: "bg-lime-50 px-4 py-4 sm:px-6 z-10"
|
|
4803
4803
|
}, Ld = { class: "text-sm" }, Pd = {
|
|
@@ -4813,7 +4813,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
4813
4813
|
key: 0,
|
|
4814
4814
|
class: "absolute left-4 top-4 -ml-px h-full w-0.5 bg-gray-200",
|
|
4815
4815
|
"aria-hidden": "true"
|
|
4816
|
-
}, _d = /* @__PURE__ */
|
|
4816
|
+
}, _d = /* @__PURE__ */ T({
|
|
4817
4817
|
__name: "uiTimeline",
|
|
4818
4818
|
props: {
|
|
4819
4819
|
name: {},
|
|
@@ -4836,7 +4836,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
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)) : b("", !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 bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
4857
4857
|
]),
|
|
4858
4858
|
o.items.length > 0 ? (l(), s("div", kd, [
|
|
4859
4859
|
t("div", $d, [
|
|
4860
|
-
m(
|
|
4860
|
+
m(vl, {
|
|
4861
4861
|
name: "list",
|
|
4862
4862
|
tag: "ul",
|
|
4863
4863
|
class: "-mb-8"
|
|
@@ -4865,7 +4865,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
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)) : b("", !0),
|
|
4869
4869
|
t("div", Bd, [
|
|
4870
4870
|
t("div", null, [
|
|
4871
4871
|
t("span", {
|
|
@@ -4894,10 +4894,10 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
4894
4894
|
B(" " + c(a?.content), 1)
|
|
4895
4895
|
])
|
|
4896
4896
|
]),
|
|
4897
|
-
t("div",
|
|
4897
|
+
t("div", Td, [
|
|
4898
4898
|
t("time", {
|
|
4899
4899
|
datetime: a?.datetime
|
|
4900
|
-
}, c(a?.date), 9,
|
|
4900
|
+
}, c(a?.date), 9, Ad)
|
|
4901
4901
|
])
|
|
4902
4902
|
])
|
|
4903
4903
|
])
|
|
@@ -4907,7 +4907,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
4907
4907
|
_: 1
|
|
4908
4908
|
})
|
|
4909
4909
|
])
|
|
4910
|
-
])) :
|
|
4910
|
+
])) : b("", !0),
|
|
4911
4911
|
o.items.length > 0 ? (l(), s("div", Dd, [
|
|
4912
4912
|
t("div", Ld, [
|
|
4913
4913
|
t("a", {
|
|
@@ -4929,7 +4929,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
4929
4929
|
}), qd = { class: "mx-auto px-6 lg:px-8" }, Hd = { class: "flex justify-between h-20" }, Yd = { class: "flex" }, Ed = { class: "-ml-2 mr-2 flex items-center lg:hidden" }, Ud = ["src"], Zd = { class: "flex items-center" }, Wd = { class: "lg:ml-4 lg:flex-shrink-0 lg:flex lg:items-center hidden" }, Jd = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute -top-0 -left-1" }, Gd = ["src"], Kd = ["onClick"], Qd = { class: "pt-2 pb-3 space-y-1" }, Xd = ["onClick"], ec = { class: "pt-4 pb-3 border-t border-gray-200" }, tc = { class: "flex items-center px-4 sm:px-6" }, lc = { class: "flex-shrink-0" }, sc = ["src"], nc = {
|
|
4930
4930
|
key: 0,
|
|
4931
4931
|
class: "ml-3"
|
|
4932
|
-
}, ac = { class: "text-base font-medium text-gray-800" }, oc = { class: "text-sm font-medium text-gray-500" }, ic = { class: "mt-3 space-y-1" }, rc = ["onClick"], dc = /* @__PURE__ */
|
|
4932
|
+
}, ac = { class: "text-base font-medium text-gray-800" }, oc = { class: "text-sm font-medium text-gray-500" }, ic = { class: "mt-3 space-y-1" }, rc = ["onClick"], dc = /* @__PURE__ */ T({
|
|
4933
4933
|
__name: "uiTopbar",
|
|
4934
4934
|
props: {
|
|
4935
4935
|
logo: {},
|
|
@@ -4980,13 +4980,13 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
4980
4980
|
]),
|
|
4981
4981
|
t("div", Zd, [
|
|
4982
4982
|
t("div", Wd, [
|
|
4983
|
-
m(f(
|
|
4983
|
+
m(f(Ze), {
|
|
4984
4984
|
as: "div",
|
|
4985
4985
|
class: "ml-3 relative"
|
|
4986
4986
|
}, {
|
|
4987
4987
|
default: y(() => [
|
|
4988
4988
|
t("div", null, [
|
|
4989
|
-
D(m(f(
|
|
4989
|
+
D(m(f(We), { class: "bg-white rounded-full flex text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 relative" }, {
|
|
4990
4990
|
default: y(() => [
|
|
4991
4991
|
D(t("div", Jd, [...r[2] || (r[2] = [
|
|
4992
4992
|
t("span", { class: "animate-ping absolute inline-flex h-4 w-4 bg-red-500 rounded-full opacity-75" }, null, -1)
|
|
@@ -5012,14 +5012,14 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
5012
5012
|
"leave-to-class": "transform opacity-0 scale-95"
|
|
5013
5013
|
}, {
|
|
5014
5014
|
default: y(() => [
|
|
5015
|
-
m(f(
|
|
5015
|
+
m(f(Je), { class: "origin-top-right absolute right-0 mt-2 w-48 rounded-md shadow-lg py-1 bg-white ring-1 ring-black ring-opacity-5 focus:outline-none" }, {
|
|
5016
5016
|
default: y(() => [
|
|
5017
|
-
(l(!0), s(k, null, S(e.profileMenu, (d) => (l(), w(f(
|
|
5017
|
+
(l(!0), s(k, null, S(e.profileMenu, (d) => (l(), w(f(Ge), {
|
|
5018
5018
|
key: d.name
|
|
5019
5019
|
}, {
|
|
5020
5020
|
default: y(({ active: u }) => [
|
|
5021
5021
|
t("p", {
|
|
5022
|
-
onClick: (
|
|
5022
|
+
onClick: (v) => 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 bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
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
|
+
])) : b("", !0)
|
|
5075
5075
|
]),
|
|
5076
5076
|
t("div", ic, [
|
|
5077
5077
|
(l(!0), s(k, null, S(e.profileMenu, (d) => (l(), w(f(se), {
|
|
@@ -5095,7 +5095,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
5095
5095
|
_: 1
|
|
5096
5096
|
}));
|
|
5097
5097
|
}
|
|
5098
|
-
}), cc = { class: "chart-selector flex flex-row items-center justify-center" }, uc = /* @__PURE__ */
|
|
5098
|
+
}), cc = { class: "chart-selector flex flex-row items-center justify-center" }, uc = /* @__PURE__ */ T({
|
|
5099
5099
|
__name: "RangeSelector",
|
|
5100
5100
|
props: { range: { type: String } },
|
|
5101
5101
|
emits: ["rangeSelected"],
|
|
@@ -5124,7 +5124,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
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" }, bc = /* @__PURE__ */ T({
|
|
5128
5128
|
__name: "uiFunnelChartV2",
|
|
5129
5129
|
props: {
|
|
5130
5130
|
labels: {},
|
|
@@ -5162,8 +5162,8 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
5162
5162
|
],
|
|
5163
5163
|
dataLabels: {
|
|
5164
5164
|
enabled: !0,
|
|
5165
|
-
formatter: function(
|
|
5166
|
-
return p.w.globals.labels[p.dataPointIndex] + ": " +
|
|
5165
|
+
formatter: function(v, p) {
|
|
5166
|
+
return p.w.globals.labels[p.dataPointIndex] + ": " + v;
|
|
5167
5167
|
}
|
|
5168
5168
|
},
|
|
5169
5169
|
markers: {
|
|
@@ -5182,10 +5182,10 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
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 = (v, p, C) => {
|
|
5186
|
+
i("dataPointSelection", { id: o.id, chartContext: p, config: C, event: v });
|
|
5187
5187
|
};
|
|
5188
|
-
return (
|
|
5188
|
+
return (v, 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,11 +5193,11 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
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) => v.$emit("selectedRange", { range: C, chartId: e.id }))
|
|
5197
5197
|
}, null, 8, ["range"])
|
|
5198
5198
|
]),
|
|
5199
5199
|
D(t("div", fc, [
|
|
5200
|
-
m(
|
|
5200
|
+
m(tt, {
|
|
5201
5201
|
type: e.type,
|
|
5202
5202
|
series: a.value,
|
|
5203
5203
|
width: "100%",
|
|
@@ -5255,7 +5255,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
5255
5255
|
])
|
|
5256
5256
|
], 64));
|
|
5257
5257
|
}
|
|
5258
|
-
}),
|
|
5258
|
+
}), vc = { 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: {},
|
|
@@ -5264,19 +5264,19 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
5264
5264
|
},
|
|
5265
5265
|
emits: ["closeRightBar"],
|
|
5266
5266
|
setup(e, { emit: g }) {
|
|
5267
|
-
return (i, o) => (l(), w(f(
|
|
5267
|
+
return (i, o) => (l(), w(f(Ke), {
|
|
5268
5268
|
as: "template",
|
|
5269
5269
|
show: e.open
|
|
5270
5270
|
}, {
|
|
5271
5271
|
default: y(() => [
|
|
5272
|
-
m(f(
|
|
5272
|
+
m(f(Qe), {
|
|
5273
5273
|
as: "div",
|
|
5274
5274
|
class: "relative z-10",
|
|
5275
5275
|
onClose: o[1] || (o[1] = (n) => i.$emit("closeRightBar"))
|
|
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", vc, [
|
|
5280
5280
|
t("div", xc, [
|
|
5281
5281
|
t("div", pc, [
|
|
5282
5282
|
m(f(ce), {
|
|
@@ -5289,7 +5289,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
5289
5289
|
"leave-to": "translate-x-full"
|
|
5290
5290
|
}, {
|
|
5291
5291
|
default: y(() => [
|
|
5292
|
-
m(f(
|
|
5292
|
+
m(f(Xe), { class: "pointer-events-auto w-screen max-w-md" }, {
|
|
5293
5293
|
default: y(() => [
|
|
5294
5294
|
t("div", wc, [
|
|
5295
5295
|
t("div", kc, [
|
|
@@ -5339,15 +5339,15 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
5339
5339
|
_: 3
|
|
5340
5340
|
}, 8, ["show"]));
|
|
5341
5341
|
}
|
|
5342
|
-
}), jc = { class: "uiGallery" },
|
|
5342
|
+
}), jc = { class: "uiGallery" }, Tc = {
|
|
5343
5343
|
key: 1,
|
|
5344
5344
|
role: "list",
|
|
5345
5345
|
class: "grid grid-cols-2 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-4 lg:grid-cols-6"
|
|
5346
|
-
},
|
|
5346
|
+
}, Ac = { 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" }, Dc = ["src"], Lc = ["onClick"], Pc = { class: "pointer-events-none mt-2 block truncate text-sm font-medium text-gray-900" }, Fc = { class: "flex items-center justify-between" }, Oc = { class: "pointer-events-none block text-sm font-medium" }, Ic = {
|
|
5347
5347
|
key: 2,
|
|
5348
5348
|
role: "list",
|
|
5349
5349
|
class: "grid grid-cols-2 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-4 lg:grid-cols-6"
|
|
5350
|
-
}, Nc = /* @__PURE__ */
|
|
5350
|
+
}, Nc = /* @__PURE__ */ T({
|
|
5351
5351
|
__name: "uiGallery",
|
|
5352
5352
|
props: {
|
|
5353
5353
|
galleryId: {},
|
|
@@ -5361,7 +5361,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
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 ? b("", !0) : (l(), w(Pe, {
|
|
5365
5365
|
key: 0,
|
|
5366
5366
|
open: o.value,
|
|
5367
5367
|
modalName: "deleteAllImagesModal",
|
|
@@ -5381,12 +5381,12 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
5381
5381
|
t("p", { class: "animate-pulse h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28 mt-4" }, null, -1),
|
|
5382
5382
|
t("p", { class: "animate-pulse h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-14 mt-2" }, null, -1)
|
|
5383
5383
|
])])), 64))
|
|
5384
|
-
])) : (l(), s("ul",
|
|
5384
|
+
])) : (l(), s("ul", Tc, [
|
|
5385
5385
|
(l(!0), s(k, null, S(e.gallery, (d) => (l(), s("li", {
|
|
5386
5386
|
key: d.source,
|
|
5387
5387
|
class: "relative"
|
|
5388
5388
|
}, [
|
|
5389
|
-
t("div",
|
|
5389
|
+
t("div", Ac, [
|
|
5390
5390
|
t("img", {
|
|
5391
5391
|
src: d.source,
|
|
5392
5392
|
alt: "",
|
|
@@ -5423,13 +5423,13 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
5423
5423
|
B(c(e.literals.deleteAllImages), 1)
|
|
5424
5424
|
]),
|
|
5425
5425
|
_: 1
|
|
5426
|
-
})) :
|
|
5426
|
+
})) : b("", !0)
|
|
5427
5427
|
]));
|
|
5428
5428
|
}
|
|
5429
5429
|
}), Vc = {
|
|
5430
5430
|
key: 1,
|
|
5431
5431
|
class: "animate-pulse"
|
|
5432
|
-
}, Rc = /* @__PURE__ */
|
|
5432
|
+
}, Rc = /* @__PURE__ */ T({
|
|
5433
5433
|
__name: "DraggableWrapper",
|
|
5434
5434
|
emits: ["update:modelValue"],
|
|
5435
5435
|
setup(e) {
|
|
@@ -5460,7 +5460,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
5460
5460
|
}), _c = { 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" }, qc = { class: "flex flex-row items-center w-full" }, Hc = { class: "content text-sm grow" }, Yc = { class: "font-bold" }, Ec = { key: 0 }, Uc = { class: "font-bold text-gray-400" }, Zc = {
|
|
5461
5461
|
key: 1,
|
|
5462
5462
|
class: "animate-pulse"
|
|
5463
|
-
}, Wc = /* @__PURE__ */
|
|
5463
|
+
}, Wc = /* @__PURE__ */ T({
|
|
5464
5464
|
__name: "uiDragAndDrop",
|
|
5465
5465
|
props: {
|
|
5466
5466
|
elements: {},
|
|
@@ -5482,7 +5482,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
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) => bt(n) ? n.value = u : n = u),
|
|
5486
5486
|
d[1] || (d[1] = (u) => r(u))
|
|
5487
5487
|
]
|
|
5488
5488
|
}, {
|
|
@@ -5498,7 +5498,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
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)) : b("", !0)
|
|
5502
5502
|
]),
|
|
5503
5503
|
t("div", Uc, c(f(n).indexOf(u) + 1), 1)
|
|
5504
5504
|
])
|
|
@@ -5507,7 +5507,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
5507
5507
|
_: 1
|
|
5508
5508
|
}, 8, ["modelValue"]));
|
|
5509
5509
|
}
|
|
5510
|
-
}), Jc = { class: "chart-header flex flex-row justify-between" }, Gc = { class: "text-sm font-medium text-gray-500 truncate" }, Kc = { class: "hidden sm:flex items-center" }, Qc = { class: "w-1/2 min-w-0 flex-1" }, Xc = ["max"], eu = { class: "min-w-0 flex-1" }, tu = ["max"], lu = { class: "chart-content" }, su = { class: "h-full w-full flex items-center justify-center flex-col" }, nu = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, au = /* @__PURE__ */
|
|
5510
|
+
}), Jc = { class: "chart-header flex flex-row justify-between" }, Gc = { class: "text-sm font-medium text-gray-500 truncate" }, Kc = { class: "hidden sm:flex items-center" }, Qc = { class: "w-1/2 min-w-0 flex-1" }, Xc = ["max"], eu = { class: "min-w-0 flex-1" }, tu = ["max"], lu = { class: "chart-content" }, su = { class: "h-full w-full flex items-center justify-center flex-col" }, nu = { class: "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, au = /* @__PURE__ */ T({
|
|
5511
5511
|
__name: "uiCircleChart",
|
|
5512
5512
|
props: {
|
|
5513
5513
|
labels: {},
|
|
@@ -5566,7 +5566,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
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), v = 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 });
|
|
@@ -5614,11 +5614,11 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
5614
5614
|
])
|
|
5615
5615
|
]),
|
|
5616
5616
|
D(t("div", lu, [
|
|
5617
|
-
m(
|
|
5617
|
+
m(tt, {
|
|
5618
5618
|
class: "flex items-center justify-center mt-4",
|
|
5619
5619
|
type: "donut",
|
|
5620
5620
|
series: u.value,
|
|
5621
|
-
options:
|
|
5621
|
+
options: v.value,
|
|
5622
5622
|
height: e.height - 80,
|
|
5623
5623
|
onUpdated: p,
|
|
5624
5624
|
onMounted: p,
|
|
@@ -5678,7 +5678,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
5678
5678
|
}, iu = {
|
|
5679
5679
|
key: 1,
|
|
5680
5680
|
class: "flex flex-col lg:flex-row w-full gap-y-4 gap-x-2"
|
|
5681
|
-
}, ru = /* @__PURE__ */
|
|
5681
|
+
}, ru = /* @__PURE__ */ T({
|
|
5682
5682
|
__name: "uiDateRange",
|
|
5683
5683
|
props: {
|
|
5684
5684
|
id: {},
|
|
@@ -5729,7 +5729,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
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] = (v) => f(n).from = v.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 bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
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] = (v) => f(n).to = v.value)
|
|
5747
5747
|
}, null, 8, ["class", "addOn", "name", "color", "value", "error", "disabled", "max"]),
|
|
5748
5748
|
m(U, {
|
|
5749
5749
|
disabled: e.disabled,
|
|
@@ -5769,7 +5769,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
5769
5769
|
}, gu = {
|
|
5770
5770
|
key: 1,
|
|
5771
5771
|
class: "h-2 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 w-full"
|
|
5772
|
-
}, mu = /* @__PURE__ */
|
|
5772
|
+
}, mu = /* @__PURE__ */ T({
|
|
5773
5773
|
__name: "uiRangeSlider",
|
|
5774
5774
|
props: {
|
|
5775
5775
|
loading: { type: Boolean, default: !0 },
|
|
@@ -5785,13 +5785,13 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
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)) : b("", !0),
|
|
5789
|
+
e.requiredText ? (l(), s("span", uu, c(e.requiredText), 1)) : b("", !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"])
|
|
5793
5793
|
}, [
|
|
5794
|
-
e.loading ? (l(), s("p", gu)) : (l(), w(f(
|
|
5794
|
+
e.loading ? (l(), s("p", gu)) : (l(), w(f(Tl), {
|
|
5795
5795
|
key: 0,
|
|
5796
5796
|
modelValue: n.value,
|
|
5797
5797
|
"onUpdate:modelValue": a[0] || (a[0] = (d) => n.value = d),
|
|
@@ -5810,7 +5810,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
5810
5810
|
}), fu = {
|
|
5811
5811
|
key: 0,
|
|
5812
5812
|
class: "mt-1 mb-8 text-sm"
|
|
5813
|
-
}, hu = /* @__PURE__ */
|
|
5813
|
+
}, hu = /* @__PURE__ */ T({
|
|
5814
5814
|
__name: "uiSectionTitle",
|
|
5815
5815
|
props: {
|
|
5816
5816
|
title: {},
|
|
@@ -5821,10 +5821,10 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
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)) : b("", !0)
|
|
5825
5825
|
], 64));
|
|
5826
5826
|
}
|
|
5827
|
-
}), yu = { class: "w-full" },
|
|
5827
|
+
}), yu = { class: "w-full" }, bu = { class: "flex flex-col gap-6 w-full" }, vu = {
|
|
5828
5828
|
key: 0,
|
|
5829
5829
|
class: "flex items-center gap-2"
|
|
5830
5830
|
}, xu = {
|
|
@@ -5851,7 +5851,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
5851
5851
|
}, zu = {
|
|
5852
5852
|
key: 4,
|
|
5853
5853
|
class: "h-3 w-8 bg-gray-200 rounded animate-pulse"
|
|
5854
|
-
}, ju = /* @__PURE__ */
|
|
5854
|
+
}, ju = /* @__PURE__ */ T({
|
|
5855
5855
|
__name: "uiSecondarySidebar",
|
|
5856
5856
|
props: {
|
|
5857
5857
|
title: {},
|
|
@@ -5874,59 +5874,59 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
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", bu, [
|
|
5878
|
+
e.title ? (l(), s("div", vu, [
|
|
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"])) : b("", !0),
|
|
5886
5886
|
e.loading ? (l(), s("div", pu)) : (l(), s("h2", xu, c(e.title), 1))
|
|
5887
|
-
])) :
|
|
5887
|
+
])) : b("", !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)) : b("", !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)) : b("", !0),
|
|
5894
|
+
(l(!0), s(k, null, S(d.items, (v) => (l(), s("button", {
|
|
5895
|
+
key: v.id,
|
|
5896
|
+
onClick: (p) => n(d.id, v.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 === v.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
|
+
v.icon || d.defaultIcon ? (l(), w(L, {
|
|
5903
5903
|
key: 0,
|
|
5904
|
-
icon:
|
|
5904
|
+
icon: v.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 === v.id && d.selectionStyle === "primary" ? "white" : "primary"
|
|
5908
|
+
}, null, 8, ["icon", "loading", "color"])) : b("", !0),
|
|
5909
|
+
e.loading ? (l(), s("div", Mu)) : (l(), s("span", Bu, c(v.name), 1)),
|
|
5910
|
+
v.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 === v.id && d.selectionStyle === "primary" ? "text-gray-300" : "text-gray-500"
|
|
5915
5915
|
])
|
|
5916
|
-
}, " (" + c(
|
|
5916
|
+
}, " (" + c(v.count) + ") ", 3)) : v.count !== void 0 && e.loading ? (l(), s("div", zu)) : b("", !0)
|
|
5917
5917
|
], 10, Su))), 128))
|
|
5918
5918
|
])
|
|
5919
5919
|
], 64))), 128))
|
|
5920
5920
|
])
|
|
5921
5921
|
]));
|
|
5922
5922
|
}
|
|
5923
|
-
}),
|
|
5923
|
+
}), Tu = {
|
|
5924
5924
|
key: 0,
|
|
5925
5925
|
class: "col-span-1 flex flex-col divide-y divide-gray-200 rounded-lg bg-white text-center shadow"
|
|
5926
|
-
},
|
|
5926
|
+
}, Au = { class: "flex flex-1 flex-col p-8" }, Du = { class: "text-2xl font-bold" }, Lu = { class: "mt-1 flex flex-grow flex-col justify-between" }, Pu = { class: "mt-3 flex flex-wrap gap-x-1 gap-y-1 justify-center" }, Fu = {
|
|
5927
5927
|
key: 1,
|
|
5928
5928
|
class: "col-span-1 flex flex-col divide-y divide-gray-200 rounded-lg bg-white text-center shadow"
|
|
5929
|
-
}, Ou = { class: "flex flex-1 flex-col p-8" }, Iu = { class: "rounded-md p-3 flex items-center justify-center mx-auto mb-4 bg-gray-200" }, Nu = { class: "mt-1 flex flex-grow flex-col justify-between" }, Vu = { class: "mt-3 flex flex-wrap gap-x-1 gap-y-1 justify-center" }, Ru = /* @__PURE__ */
|
|
5929
|
+
}, Ou = { class: "flex flex-1 flex-col p-8" }, Iu = { class: "rounded-md p-3 flex items-center justify-center mx-auto mb-4 bg-gray-200" }, Nu = { class: "mt-1 flex flex-grow flex-col justify-between" }, Vu = { class: "mt-3 flex flex-wrap gap-x-1 gap-y-1 justify-center" }, Ru = /* @__PURE__ */ T({
|
|
5930
5930
|
__name: "uiDeviceStatus",
|
|
5931
5931
|
props: {
|
|
5932
5932
|
id: {},
|
|
@@ -5953,7 +5953,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
5953
5953
|
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)),
|
|
5954
5954
|
t("dl", Nu, [
|
|
5955
5955
|
t("dd", Vu, [
|
|
5956
|
-
(l(!0), s(k, null, S(e.tags, (n, r) => (l(), w(
|
|
5956
|
+
(l(!0), s(k, null, S(e.tags, (n, r) => (l(), w(G, {
|
|
5957
5957
|
key: r,
|
|
5958
5958
|
loading: e.loading,
|
|
5959
5959
|
event: n.event,
|
|
@@ -5968,8 +5968,8 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
5968
5968
|
])
|
|
5969
5969
|
])
|
|
5970
5970
|
])
|
|
5971
|
-
])) : (l(), s("div",
|
|
5972
|
-
t("div",
|
|
5971
|
+
])) : (l(), s("div", Tu, [
|
|
5972
|
+
t("div", Au, [
|
|
5973
5973
|
t("div", {
|
|
5974
5974
|
class: x(["rounded-md p-3 flex items-center justify-center mx-auto mb-4", {
|
|
5975
5975
|
"bg-lime-400": e.color === "green" || e.color === "primary" || !e.color,
|
|
@@ -5998,7 +5998,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
5998
5998
|
]),
|
|
5999
5999
|
t("dl", Lu, [
|
|
6000
6000
|
t("dd", Pu, [
|
|
6001
|
-
(l(!0), s(k, null, S(e.tags, (n, r) => (l(), w(
|
|
6001
|
+
(l(!0), s(k, null, S(e.tags, (n, r) => (l(), w(G, {
|
|
6002
6002
|
key: r,
|
|
6003
6003
|
loading: !1,
|
|
6004
6004
|
event: n.event,
|
|
@@ -6015,7 +6015,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
6015
6015
|
])
|
|
6016
6016
|
]));
|
|
6017
6017
|
}
|
|
6018
|
-
}), _u = { class: "fixed inset-0 flex" }, qu = { class: "absolute left-full top-0 flex w-16 justify-center pt-5" }, Hu = { class: "hidden lg:fixed lg:inset-y-0 lg:z-50 lg:flex lg:w-[25rem] lg:flex-col" }, Yu = { class: "lg:pl-[25rem] flex flex-col h-screen" }, Eu = { 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" }, Uu = { class: "flex flex-1 gap-x-4 self-stretch lg:gap-x-6" }, Zu = { class: "flex items-center gap-x-4 lg:gap-x-6" }, Wu = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute top-1 left-2" }, Ju = ["src"], Gu = { class: "hidden lg:flex lg:items-center" }, Ku = ["onClick"], Qu = { class: "bg-gray-50 flex-1 overflow-auto" }, Xu = { class: "p-7 lg:p-10" }, e0 = /* @__PURE__ */
|
|
6018
|
+
}), _u = { class: "fixed inset-0 flex" }, qu = { class: "absolute left-full top-0 flex w-16 justify-center pt-5" }, Hu = { class: "hidden lg:fixed lg:inset-y-0 lg:z-50 lg:flex lg:w-[25rem] lg:flex-col" }, Yu = { class: "lg:pl-[25rem] flex flex-col h-screen" }, Eu = { 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" }, Uu = { class: "flex flex-1 gap-x-4 self-stretch lg:gap-x-6" }, Zu = { class: "flex items-center gap-x-4 lg:gap-x-6" }, Wu = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute top-1 left-2" }, Ju = ["src"], Gu = { class: "hidden lg:flex lg:items-center" }, Ku = ["onClick"], Qu = { class: "bg-gray-50 flex-1 overflow-auto" }, Xu = { class: "p-7 lg:p-10" }, e0 = /* @__PURE__ */ T({
|
|
6019
6019
|
__name: "uiWrapper",
|
|
6020
6020
|
props: {
|
|
6021
6021
|
topbar: {},
|
|
@@ -6028,12 +6028,12 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
6028
6028
|
n.value = !n.value, o("sidebarToggle", n.value);
|
|
6029
6029
|
};
|
|
6030
6030
|
return (a, d) => (l(), s("div", null, [
|
|
6031
|
-
m(f(
|
|
6031
|
+
m(f(Ke), {
|
|
6032
6032
|
as: "template",
|
|
6033
6033
|
show: n.value
|
|
6034
6034
|
}, {
|
|
6035
6035
|
default: y(() => [
|
|
6036
|
-
m(f(
|
|
6036
|
+
m(f(Qe), {
|
|
6037
6037
|
class: "relative z-50 lg:hidden",
|
|
6038
6038
|
onClose: r
|
|
6039
6039
|
}, {
|
|
@@ -6063,7 +6063,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
6063
6063
|
"leave-to": "-translate-x-full"
|
|
6064
6064
|
}, {
|
|
6065
6065
|
default: y(() => [
|
|
6066
|
-
m(f(
|
|
6066
|
+
m(f(Xe), { class: "relative mr-16 flex w-full max-w-xs flex-1" }, {
|
|
6067
6067
|
default: y(() => [
|
|
6068
6068
|
m(f(ce), {
|
|
6069
6069
|
as: "template",
|
|
@@ -6091,7 +6091,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
6091
6091
|
]),
|
|
6092
6092
|
_: 1
|
|
6093
6093
|
}),
|
|
6094
|
-
m(
|
|
6094
|
+
m(Ue, {
|
|
6095
6095
|
productsSidebar: e.sidebar.productsSidebar,
|
|
6096
6096
|
isFilterNavigation: e.sidebar.isFilterNavigation,
|
|
6097
6097
|
navigation: e.sidebar.navigation,
|
|
@@ -6117,7 +6117,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
6117
6117
|
_: 1
|
|
6118
6118
|
}, 8, ["show"]),
|
|
6119
6119
|
t("div", Hu, [
|
|
6120
|
-
m(
|
|
6120
|
+
m(Ue, {
|
|
6121
6121
|
productsSidebar: e.sidebar.productsSidebar,
|
|
6122
6122
|
isFilterNavigation: e.sidebar.isFilterNavigation,
|
|
6123
6123
|
navigation: e.sidebar.navigation,
|
|
@@ -6148,7 +6148,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
6148
6148
|
"aria-hidden": "true"
|
|
6149
6149
|
}, null, -1)),
|
|
6150
6150
|
t("div", Uu, [
|
|
6151
|
-
m(
|
|
6151
|
+
m(ve, {
|
|
6152
6152
|
isWrapped: !0,
|
|
6153
6153
|
class: "w-full self-center relative",
|
|
6154
6154
|
items: e.topbar.selectItems,
|
|
@@ -6176,12 +6176,12 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
6176
6176
|
class: "hidden lg:block lg:h-6 lg:w-px lg:bg-gray-200",
|
|
6177
6177
|
"aria-hidden": "true"
|
|
6178
6178
|
}, null, -1)),
|
|
6179
|
-
m(f(
|
|
6179
|
+
m(f(Ze), {
|
|
6180
6180
|
as: "div",
|
|
6181
6181
|
class: "relative"
|
|
6182
6182
|
}, {
|
|
6183
6183
|
default: y(() => [
|
|
6184
|
-
m(f(
|
|
6184
|
+
m(f(We), { class: "-m-1.5 flex items-center p-1.5" }, {
|
|
6185
6185
|
default: y(() => [
|
|
6186
6186
|
d[15] || (d[15] = t("span", { class: "sr-only" }, "Open user menu", -1)),
|
|
6187
6187
|
t("img", {
|
|
@@ -6207,16 +6207,16 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
6207
6207
|
"leave-to-class": "transform opacity-0 scale-95"
|
|
6208
6208
|
}, {
|
|
6209
6209
|
default: y(() => [
|
|
6210
|
-
m(f(
|
|
6210
|
+
m(f(Je), { class: "absolute right-0 z-10 mt-2.5 w-52 origin-top-right rounded-md bg-white py-2 shadow-lg ring-1 ring-gray-900/5 focus:outline-none" }, {
|
|
6211
6211
|
default: y(() => [
|
|
6212
|
-
(l(!0), s(k, null, S(e.topbar.profileMenu, (u) => (l(), w(f(
|
|
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: v }) => [
|
|
6216
6216
|
t("a", {
|
|
6217
6217
|
onClick: (p) => a.$emit("topBarClick", u.id),
|
|
6218
6218
|
class: x([
|
|
6219
|
-
|
|
6219
|
+
v ? "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
|
])
|
|
@@ -6244,7 +6244,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
6244
6244
|
])
|
|
6245
6245
|
]));
|
|
6246
6246
|
}
|
|
6247
|
-
}), t0 = /* @__PURE__ */
|
|
6247
|
+
}), t0 = /* @__PURE__ */ T({
|
|
6248
6248
|
__name: "uiDynamicStats",
|
|
6249
6249
|
props: {
|
|
6250
6250
|
dynamicStats: {},
|
|
@@ -6255,7 +6255,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
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, v) => (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
|
}, [
|
|
@@ -6276,7 +6276,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
6276
6276
|
}, i0 = ["onClick"], r0 = { class: "absolute mt-1 w-full rounded-md bg-white shadow-lg z-50" }, d0 = {
|
|
6277
6277
|
key: 1,
|
|
6278
6278
|
class: "animate-pulse px-4 py-2.5 bg-gray-200 rounded-md flex justify-between items-center w-full"
|
|
6279
|
-
}, c0 = /* @__PURE__ */
|
|
6279
|
+
}, c0 = /* @__PURE__ */ T({
|
|
6280
6280
|
__name: "uiSelectMultiple",
|
|
6281
6281
|
props: {
|
|
6282
6282
|
items: {},
|
|
@@ -6302,7 +6302,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
6302
6302
|
}
|
|
6303
6303
|
return (d, u) => e.loading ? (l(), s("div", d0, [
|
|
6304
6304
|
u[4] || (u[4] = t("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, null, -1)),
|
|
6305
|
-
m(f(
|
|
6305
|
+
m(f(He), {
|
|
6306
6306
|
"aria-hidden": "true",
|
|
6307
6307
|
class: "-mr-1 ml-2 h-5 w-5"
|
|
6308
6308
|
})
|
|
@@ -6310,7 +6310,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
6310
6310
|
key: 0,
|
|
6311
6311
|
modelValue: f(n),
|
|
6312
6312
|
"onUpdate:modelValue": [
|
|
6313
|
-
u[0] || (u[0] = (
|
|
6313
|
+
u[0] || (u[0] = (v) => bt(n) ? n.value = v : n = v),
|
|
6314
6314
|
r
|
|
6315
6315
|
],
|
|
6316
6316
|
name: "selectorMultiple",
|
|
@@ -6326,7 +6326,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
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)) : b("", !0)
|
|
6330
6330
|
]),
|
|
6331
6331
|
t("div", n0, [
|
|
6332
6332
|
m(f(Ml), {
|
|
@@ -6348,19 +6348,19 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
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, "...")) : b("", !0),
|
|
6352
|
+
(l(!0), s(k, null, S(f(n), (v) => (l(), s("span", {
|
|
6353
|
+
key: v.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(v.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(v), ["stop", "prevent"])
|
|
6364
6364
|
}, [...u[1] || (u[1] = [
|
|
6365
6365
|
t("path", {
|
|
6366
6366
|
"stroke-linecap": "round",
|
|
@@ -6392,9 +6392,9 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
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, (v) => (l(), w(f(jl), {
|
|
6396
|
+
key: v.id,
|
|
6397
|
+
value: v,
|
|
6398
6398
|
as: "template"
|
|
6399
6399
|
}, {
|
|
6400
6400
|
default: y(({ active: p, selected: C }) => [
|
|
@@ -6403,7 +6403,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
6403
6403
|
}, [
|
|
6404
6404
|
t("span", {
|
|
6405
6405
|
class: x(["block truncate", { "font-semibold": C, "font-normal": !C }])
|
|
6406
|
-
}, c(
|
|
6406
|
+
}, c(v.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 bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
6419
6419
|
clipRule: "evenodd"
|
|
6420
6420
|
})
|
|
6421
6421
|
], -1)
|
|
6422
|
-
])], 2)) :
|
|
6422
|
+
])], 2)) : b("", !0)
|
|
6423
6423
|
], 2)
|
|
6424
6424
|
]),
|
|
6425
6425
|
_: 2
|
|
@@ -6443,10 +6443,10 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
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" }, b0 = { class: "grid grid-cols-1 md:grid-cols-2 gap-4 mt-4 transition-all duration-300 ease-in-out" }, v0 = { 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
|
-
}, S0 = /* @__PURE__ */
|
|
6449
|
+
}, S0 = /* @__PURE__ */ T({
|
|
6450
6450
|
__name: "Comparator",
|
|
6451
6451
|
props: {
|
|
6452
6452
|
toCompare: {},
|
|
@@ -6455,20 +6455,20 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
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(([v, p]) => ({
|
|
6459
|
+
name: v,
|
|
6460
6460
|
commands: p
|
|
6461
|
-
})) : []), a = (
|
|
6462
|
-
o("checkboxChanged",
|
|
6461
|
+
})) : []), a = (v, p, C, R) => {
|
|
6462
|
+
o("checkboxChanged", v, p, C, R);
|
|
6463
6463
|
}, d = () => {
|
|
6464
6464
|
o("compareButtonClicked");
|
|
6465
6465
|
}, u = () => {
|
|
6466
6466
|
o("generateNewFile");
|
|
6467
6467
|
};
|
|
6468
|
-
return (
|
|
6468
|
+
return (v, p) => (l(), s("div", u0, [
|
|
6469
6469
|
t("div", g0, [
|
|
6470
6470
|
t("div", m0, [
|
|
6471
|
-
m(
|
|
6471
|
+
m(Ee, {
|
|
6472
6472
|
name: "file1",
|
|
6473
6473
|
id: "file1",
|
|
6474
6474
|
placeholder: e.literals.inputFile1Placeholder,
|
|
@@ -6479,7 +6479,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
6479
6479
|
icon: f(rt),
|
|
6480
6480
|
onFilesUploaded: p[0] || (p[0] = (C) => o("filesUploaded", C))
|
|
6481
6481
|
}, null, 8, ["placeholder", "dragAndDrop", "fileTypesAndSizes", "icon"]),
|
|
6482
|
-
m(
|
|
6482
|
+
m(Ee, {
|
|
6483
6483
|
name: "file2",
|
|
6484
6484
|
id: "file2",
|
|
6485
6485
|
placeholder: e.literals.inputFile2Placeholder,
|
|
@@ -6537,8 +6537,8 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
6537
6537
|
}, 1024),
|
|
6538
6538
|
m(f(Ne), null, {
|
|
6539
6539
|
default: y(() => [
|
|
6540
|
-
t("div",
|
|
6541
|
-
t("div",
|
|
6540
|
+
t("div", b0, [
|
|
6541
|
+
t("div", v0, [
|
|
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, {
|
|
@@ -6581,7 +6581,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
6581
6581
|
]),
|
|
6582
6582
|
_: 2
|
|
6583
6583
|
}, 1024)
|
|
6584
|
-
]))), 128)) : (l(), w(
|
|
6584
|
+
]))), 128)) : (l(), w(lt, {
|
|
6585
6585
|
key: 1,
|
|
6586
6586
|
title: e.literals.noResultsTitle,
|
|
6587
6587
|
message: e.literals.noResultsMessage
|
|
@@ -6600,7 +6600,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
6600
6600
|
])]),
|
|
6601
6601
|
_: 1
|
|
6602
6602
|
})
|
|
6603
|
-
])) :
|
|
6603
|
+
])) : b("", !0)
|
|
6604
6604
|
]));
|
|
6605
6605
|
}
|
|
6606
6606
|
}), B0 = { "aria-label": "Progress" }, M0 = {
|
|
@@ -6610,7 +6610,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
6610
6610
|
key: 0,
|
|
6611
6611
|
class: "absolute left-4 top-4 -ml-px mt-0.5 h-full w-0.5 bg-lime-400",
|
|
6612
6612
|
"aria-hidden": "true"
|
|
6613
|
-
}, j0 = ["onClick"],
|
|
6613
|
+
}, j0 = ["onClick"], T0 = { class: "flex h-9 items-center" }, A0 = { class: "relative z-10 flex size-8 items-center justify-center rounded-full bg-lime-400 group-hover:bg-black group-hover:text-white" }, D0 = { class: "ml-4 flex min-w-0 flex-col text-left" }, L0 = { class: "text-sm font-bold text-left" }, P0 = { class: "text-sm text-left" }, F0 = {
|
|
6614
6614
|
key: 0,
|
|
6615
6615
|
class: "absolute left-4 top-4 -ml-px mt-0.5 h-full w-0.5 bg-gray-300",
|
|
6616
6616
|
"aria-hidden": "true"
|
|
@@ -6618,7 +6618,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
6618
6618
|
key: 0,
|
|
6619
6619
|
class: "absolute left-4 top-4 -ml-px mt-0.5 h-full w-0.5 bg-gray-300",
|
|
6620
6620
|
"aria-hidden": "true"
|
|
6621
|
-
}, _0 = ["onClick"], q0 = { class: "ml-4 flex min-w-0 flex-col text-left" }, H0 = { class: "text-sm font-medium text-left" }, Y0 = { class: "text-sm text-left" }, E0 = /* @__PURE__ */
|
|
6621
|
+
}, _0 = ["onClick"], q0 = { class: "ml-4 flex min-w-0 flex-col text-left" }, H0 = { class: "text-sm font-medium text-left" }, Y0 = { class: "text-sm text-left" }, E0 = /* @__PURE__ */ T({
|
|
6622
6622
|
__name: "uiSteps",
|
|
6623
6623
|
props: {
|
|
6624
6624
|
steps: {}
|
|
@@ -6635,24 +6635,24 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
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, v) => (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
|
+
v !== 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
|
+
v !== n.value.length - 1 ? (l(), s("div", z0)) : b("", !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, v)
|
|
6652
6652
|
}, [
|
|
6653
|
-
t("span",
|
|
6654
|
-
t("span",
|
|
6655
|
-
m(f(
|
|
6653
|
+
t("span", T0, [
|
|
6654
|
+
t("span", A0, [
|
|
6655
|
+
m(f(At), {
|
|
6656
6656
|
class: "size-5",
|
|
6657
6657
|
"aria-hidden": "true"
|
|
6658
6658
|
})
|
|
@@ -6664,12 +6664,12 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
6664
6664
|
])
|
|
6665
6665
|
], 8, j0)
|
|
6666
6666
|
], 64)) : u.status === "current" ? (l(), s(k, { key: 1 }, [
|
|
6667
|
-
|
|
6667
|
+
v !== n.value.length - 1 ? (l(), s("div", F0)) : b("", !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, v)
|
|
6673
6673
|
}, [
|
|
6674
6674
|
d[0] || (d[0] = t("span", {
|
|
6675
6675
|
class: "flex h-9 items-center",
|
|
@@ -6685,11 +6685,11 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
6685
6685
|
])
|
|
6686
6686
|
], 8, O0)
|
|
6687
6687
|
], 64)) : (l(), s(k, { key: 2 }, [
|
|
6688
|
-
|
|
6688
|
+
v !== n.value.length - 1 ? (l(), s("div", R0)) : b("", !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, v)
|
|
6693
6693
|
}, [
|
|
6694
6694
|
d[1] || (d[1] = t("span", {
|
|
6695
6695
|
class: "flex h-9 items-center",
|
|
@@ -6709,7 +6709,7 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
6709
6709
|
])
|
|
6710
6710
|
]));
|
|
6711
6711
|
}
|
|
6712
|
-
}), U0 = { class: "grid min-h-full place-items-center bg-white px-6 py-24 sm:py-32 lg:px-8" }, Z0 = { class: "text-center" }, W0 = { class: "mt-4 text-balance text-5xl font-semibold tracking-tight text-gray-900 sm:text-7xl" }, J0 = { class: "mt-6 text-pretty text-lg font-medium text-gray-500 sm:text-xl/8" }, G0 = { class: "mt-10 flex items-center justify-center gap-x-6" }, K0 = ["href"], Q0 = /* @__PURE__ */
|
|
6712
|
+
}), U0 = { class: "grid min-h-full place-items-center bg-white px-6 py-24 sm:py-32 lg:px-8" }, Z0 = { class: "text-center" }, W0 = { class: "mt-4 text-balance text-5xl font-semibold tracking-tight text-gray-900 sm:text-7xl" }, J0 = { class: "mt-6 text-pretty text-lg font-medium text-gray-500 sm:text-xl/8" }, G0 = { class: "mt-10 flex items-center justify-center gap-x-6" }, K0 = ["href"], Q0 = /* @__PURE__ */ T({
|
|
6713
6713
|
__name: "ui404",
|
|
6714
6714
|
props: {
|
|
6715
6715
|
lang: { default: "es" },
|
|
@@ -6765,32 +6765,32 @@ const bi = /* @__PURE__ */ Ce(hi, [["render", vi]]), xi = /* @__PURE__ */ A({
|
|
|
6765
6765
|
uiDropdown: ge,
|
|
6766
6766
|
uiDynamicStats: t0,
|
|
6767
6767
|
uiFilter: Zn,
|
|
6768
|
-
uiFooter:
|
|
6769
|
-
uiFunnelChartV2:
|
|
6768
|
+
uiFooter: vi,
|
|
6769
|
+
uiFunnelChartV2: bc,
|
|
6770
6770
|
uiGallery: Nc,
|
|
6771
6771
|
uiIcon: L,
|
|
6772
6772
|
uiInput: ae,
|
|
6773
|
-
uiInputFile:
|
|
6773
|
+
uiInputFile: Ee,
|
|
6774
6774
|
uiLoadingScreen: xi,
|
|
6775
6775
|
uiModal: Pe,
|
|
6776
|
-
uiNoResults:
|
|
6776
|
+
uiNoResults: lt,
|
|
6777
6777
|
uiNotification: ua,
|
|
6778
6778
|
uiPriceCalendar: Xo,
|
|
6779
6779
|
uiRangeSlider: mu,
|
|
6780
6780
|
uiRightSidebar: zc,
|
|
6781
6781
|
uiSecondarySidebar: ju,
|
|
6782
6782
|
uiSectionTitle: hu,
|
|
6783
|
-
uiSelect:
|
|
6783
|
+
uiSelect: Ts,
|
|
6784
6784
|
uiSelectMultiple: c0,
|
|
6785
|
-
uiSelect_v2:
|
|
6785
|
+
uiSelect_v2: ve,
|
|
6786
6786
|
uiSidebar: Di,
|
|
6787
|
-
uiSidebarV2:
|
|
6787
|
+
uiSidebarV2: Ue,
|
|
6788
6788
|
uiStats: Ft,
|
|
6789
6789
|
uiSteps: E0,
|
|
6790
|
-
uiStripedCard:
|
|
6790
|
+
uiStripedCard: br,
|
|
6791
6791
|
uiTable: gd,
|
|
6792
6792
|
uiTabs: xd,
|
|
6793
|
-
uiTag:
|
|
6793
|
+
uiTag: G,
|
|
6794
6794
|
uiTaskList: ka,
|
|
6795
6795
|
uiTextArea: _s,
|
|
6796
6796
|
uiTimeline: _d,
|
|
@@ -6844,32 +6844,32 @@ export {
|
|
|
6844
6844
|
ge as uiDropdown,
|
|
6845
6845
|
t0 as uiDynamicStats,
|
|
6846
6846
|
Zn as uiFilter,
|
|
6847
|
-
|
|
6848
|
-
|
|
6847
|
+
vi as uiFooter,
|
|
6848
|
+
bc as uiFunnelChartV2,
|
|
6849
6849
|
Nc as uiGallery,
|
|
6850
6850
|
L as uiIcon,
|
|
6851
6851
|
ae as uiInput,
|
|
6852
|
-
|
|
6852
|
+
Ee as uiInputFile,
|
|
6853
6853
|
xi as uiLoadingScreen,
|
|
6854
6854
|
Pe as uiModal,
|
|
6855
|
-
|
|
6855
|
+
lt as uiNoResults,
|
|
6856
6856
|
ua as uiNotification,
|
|
6857
6857
|
Xo as uiPriceCalendar,
|
|
6858
6858
|
mu as uiRangeSlider,
|
|
6859
6859
|
zc as uiRightSidebar,
|
|
6860
6860
|
ju as uiSecondarySidebar,
|
|
6861
6861
|
hu as uiSectionTitle,
|
|
6862
|
-
|
|
6862
|
+
Ts as uiSelect,
|
|
6863
6863
|
c0 as uiSelectMultiple,
|
|
6864
|
-
|
|
6864
|
+
ve 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
|
+
br as uiStripedCard,
|
|
6870
6870
|
gd as uiTable,
|
|
6871
6871
|
xd as uiTabs,
|
|
6872
|
-
|
|
6872
|
+
G as uiTag,
|
|
6873
6873
|
ka as uiTaskList,
|
|
6874
6874
|
_s as uiTextArea,
|
|
6875
6875
|
_d as uiTimeline,
|