@hotelinking/ui 16.48.13 → 16.49.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ui.cjs +1 -1
- package/dist/ui.d.ts +37 -0
- package/dist/ui.es.js +907 -802
- package/package.json +4 -1
package/dist/ui.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { Menu as Ze, MenuButton as We, MenuItems as
|
|
1
|
+
import { defineComponent as A, createBlock as w, createElementBlock as s, openBlock as l, resolveDynamicComponent as _e, normalizeClass as x, computed as j, createCommentVNode as b, renderSlot as G, createElementVNode as t, ref as V, watch as Z, unref as f, withCtx as y, createVNode as m, toDisplayString as u, createTextVNode as B, Transition as we, Fragment as k, renderList as S, withDirectives as D, vModelDynamic as yl, vShow as F, withModifiers as ne, vModelText as xe, createStaticVNode as ee, resolveComponent as it, vModelCheckbox as yt, onMounted as Fe, 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 Ge, MenuItem as Je, 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 Oe, DisclosureButton as se, DisclosurePanel as Ie, 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 Al from "@vueform/slider";
|
|
5
|
+
const L = /* @__PURE__ */ A({
|
|
6
6
|
__name: "uiIcon",
|
|
7
7
|
props: {
|
|
8
8
|
icon: {},
|
|
@@ -20,7 +20,7 @@ const L = /* @__PURE__ */ T({
|
|
|
20
20
|
"h-12 w-12": e.size === "huge",
|
|
21
21
|
"h-20 w-20": e.size === "massive"
|
|
22
22
|
}, "animate-pulse rounded-full bg-gray-200 dark:bg-gray-300"])
|
|
23
|
-
}, null, 2)) : (l(), w(
|
|
23
|
+
}, null, 2)) : (l(), w(_e(e.icon), {
|
|
24
24
|
key: 0,
|
|
25
25
|
class: x({
|
|
26
26
|
"h-4 w-4": e.size === "medium",
|
|
@@ -38,7 +38,7 @@ const L = /* @__PURE__ */ T({
|
|
|
38
38
|
})
|
|
39
39
|
}, null, 8, ["class"]));
|
|
40
40
|
}
|
|
41
|
-
}),
|
|
41
|
+
}), Tl = ["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__ */ A({
|
|
42
42
|
__name: "uiButton",
|
|
43
43
|
props: {
|
|
44
44
|
block: { type: Boolean },
|
|
@@ -91,16 +91,16 @@ const L = /* @__PURE__ */ T({
|
|
|
91
91
|
color: "black",
|
|
92
92
|
loading: e.loading
|
|
93
93
|
}, null, 8, ["icon", "loading"])) : b("", !0),
|
|
94
|
-
|
|
95
|
-
], 10,
|
|
94
|
+
G(a.$slots, "default")
|
|
95
|
+
], 10, Tl));
|
|
96
96
|
}
|
|
97
97
|
}), Ll = {
|
|
98
98
|
key: 0,
|
|
99
99
|
class: "relative flex items-start"
|
|
100
|
-
}, Pl = { class: "flex items-center h-5" },
|
|
100
|
+
}, Pl = { class: "flex items-center h-5" }, _l = ["checked", "value", "disabled"], Fl = { class: "ml-3 text-sm" }, Ol = { class: "text-black" }, Il = {
|
|
101
101
|
key: 1,
|
|
102
102
|
class: "flex items-center animate-pulse"
|
|
103
|
-
}, ue = /* @__PURE__ */
|
|
103
|
+
}, ue = /* @__PURE__ */ A({
|
|
104
104
|
__name: "uiCheckbox",
|
|
105
105
|
props: {
|
|
106
106
|
check: { type: Boolean, default: !1 },
|
|
@@ -116,7 +116,7 @@ const L = /* @__PURE__ */ T({
|
|
|
116
116
|
};
|
|
117
117
|
return Z(() => o.check, (a) => {
|
|
118
118
|
a && (n.value = a);
|
|
119
|
-
}), (a, d) => e.loading ? (l(), s("div",
|
|
119
|
+
}), (a, d) => e.loading ? (l(), s("div", Il, [...d[1] || (d[1] = [
|
|
120
120
|
t("div", { class: "w-5 h-5 rounded bg-gray-200" }, null, -1),
|
|
121
121
|
t("div", { class: "ml-3 h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28" }, null, -1)
|
|
122
122
|
])])) : (l(), s("div", Ll, [
|
|
@@ -127,12 +127,12 @@ const L = /* @__PURE__ */ T({
|
|
|
127
127
|
disabled: e.disabled,
|
|
128
128
|
class: "focus:ring-black h-4 w-4 text-black border-gray-300 rounded disabled:opacity-25",
|
|
129
129
|
type: "checkbox",
|
|
130
|
-
onChange: d[0] || (d[0] = (
|
|
131
|
-
}, null, 40,
|
|
130
|
+
onChange: d[0] || (d[0] = (c) => r())
|
|
131
|
+
}, null, 40, _l)
|
|
132
132
|
]),
|
|
133
|
-
t("div",
|
|
134
|
-
t("span",
|
|
135
|
-
|
|
133
|
+
t("div", Fl, [
|
|
134
|
+
t("span", Ol, [
|
|
135
|
+
G(a.$slots, "default")
|
|
136
136
|
])
|
|
137
137
|
])
|
|
138
138
|
]));
|
|
@@ -155,7 +155,7 @@ function Vl(e, g) {
|
|
|
155
155
|
})
|
|
156
156
|
]);
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function Nl(e, g) {
|
|
159
159
|
return l(), s("svg", {
|
|
160
160
|
xmlns: "http://www.w3.org/2000/svg",
|
|
161
161
|
fill: "none",
|
|
@@ -172,7 +172,7 @@ function Rl(e, g) {
|
|
|
172
172
|
})
|
|
173
173
|
]);
|
|
174
174
|
}
|
|
175
|
-
function
|
|
175
|
+
function Rl(e, g) {
|
|
176
176
|
return l(), s("svg", {
|
|
177
177
|
xmlns: "http://www.w3.org/2000/svg",
|
|
178
178
|
fill: "none",
|
|
@@ -500,7 +500,7 @@ function Wl(e, g) {
|
|
|
500
500
|
})
|
|
501
501
|
]);
|
|
502
502
|
}
|
|
503
|
-
function
|
|
503
|
+
function Gl(e, g) {
|
|
504
504
|
return l(), s("svg", {
|
|
505
505
|
xmlns: "http://www.w3.org/2000/svg",
|
|
506
506
|
fill: "none",
|
|
@@ -517,7 +517,7 @@ function Jl(e, g) {
|
|
|
517
517
|
})
|
|
518
518
|
]);
|
|
519
519
|
}
|
|
520
|
-
function
|
|
520
|
+
function Jl(e, g) {
|
|
521
521
|
return l(), s("svg", {
|
|
522
522
|
xmlns: "http://www.w3.org/2000/svg",
|
|
523
523
|
fill: "none",
|
|
@@ -568,7 +568,7 @@ function Ql(e, g) {
|
|
|
568
568
|
})
|
|
569
569
|
]);
|
|
570
570
|
}
|
|
571
|
-
function
|
|
571
|
+
function At(e, g) {
|
|
572
572
|
return l(), s("svg", {
|
|
573
573
|
xmlns: "http://www.w3.org/2000/svg",
|
|
574
574
|
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__ */ A({
|
|
718
718
|
__name: "uiDropdown",
|
|
719
719
|
props: {
|
|
720
720
|
items: {},
|
|
@@ -749,12 +749,12 @@ 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,
|
|
753
|
-
e.requiredText ? (l(), s("span", ls,
|
|
752
|
+
e.label ? (l(), s("label", ts, u(e.label), 1)) : b("", !0),
|
|
753
|
+
e.requiredText ? (l(), s("span", ls, u(e.requiredText), 1)) : b("", !0)
|
|
754
754
|
], 2),
|
|
755
755
|
m(f(We), { class: "text-black inline-flex justify-between w-full rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-sm font-medium hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-black" }, {
|
|
756
756
|
default: y(() => [
|
|
757
|
-
B(
|
|
757
|
+
B(u(n.value) + " ", 1),
|
|
758
758
|
e.verticalPosition === "bottom" ? (l(), w(f(oe), {
|
|
759
759
|
key: 0,
|
|
760
760
|
"aria-hidden": "true",
|
|
@@ -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 ? b("", !0) : (l(), w(f(
|
|
781
|
+
e.disabled ? b("", !0) : (l(), w(f(Ge), {
|
|
782
782
|
key: 0,
|
|
783
783
|
class: x([{
|
|
784
784
|
"right-0": e.position === "right",
|
|
@@ -789,15 +789,15 @@ const ts = {
|
|
|
789
789
|
}, {
|
|
790
790
|
default: y(() => [
|
|
791
791
|
t("div", ss, [
|
|
792
|
-
(l(!0), s(k, null, S(e.items, (
|
|
792
|
+
(l(!0), s(k, null, S(e.items, (c, v) => (l(), w(f(Je), { key: v }, {
|
|
793
793
|
default: y(() => [
|
|
794
794
|
t("a", {
|
|
795
|
-
onClick: (p) => r(
|
|
795
|
+
onClick: (p) => r(c),
|
|
796
796
|
class: x([
|
|
797
|
-
|
|
797
|
+
c.active ? "bg-lime-400" : "text-black",
|
|
798
798
|
"block px-4 py-2 text-sm cursor-pointer"
|
|
799
799
|
])
|
|
800
|
-
}, c
|
|
800
|
+
}, u(c.name), 11, ns)
|
|
801
801
|
]),
|
|
802
802
|
_: 2
|
|
803
803
|
}, 1024))), 128))
|
|
@@ -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__ */ A({
|
|
829
829
|
__name: "uiInput",
|
|
830
830
|
props: {
|
|
831
831
|
label: {},
|
|
@@ -860,19 +860,19 @@ const ts = {
|
|
|
860
860
|
], -1))
|
|
861
861
|
])) : (l(), s("div", os, [
|
|
862
862
|
t("div", is, [
|
|
863
|
-
e.label ? (l(), s("label", rs,
|
|
864
|
-
e.requiredText ? (l(), s("span", ds,
|
|
863
|
+
e.label ? (l(), s("label", rs, u(e.label), 1)) : b("", !0),
|
|
864
|
+
e.requiredText ? (l(), s("span", ds, u(e.requiredText), 1)) : b("", !0)
|
|
865
865
|
]),
|
|
866
866
|
t("div", {
|
|
867
867
|
class: x([{ "mt-1": e.label }, "relative flex"])
|
|
868
868
|
}, [
|
|
869
869
|
e.addOn ? (l(), s("span", {
|
|
870
870
|
key: 0,
|
|
871
|
-
onClick: d[0] || (d[0] = (
|
|
871
|
+
onClick: d[0] || (d[0] = (c) => 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
|
-
},
|
|
873
|
+
}, u(e.addOn), 1)) : b("", !0),
|
|
874
874
|
D(t("input", {
|
|
875
|
-
"onUpdate:modelValue": d[1] || (d[1] = (
|
|
875
|
+
"onUpdate:modelValue": d[1] || (d[1] = (c) => n.value = c),
|
|
876
876
|
max: e.max,
|
|
877
877
|
class: x([{
|
|
878
878
|
"border-gray-300": e.color === "gray",
|
|
@@ -900,9 +900,9 @@ const ts = {
|
|
|
900
900
|
]),
|
|
901
901
|
e.rightAddOn ? (l(), s("span", {
|
|
902
902
|
key: 1,
|
|
903
|
-
onClick: d[2] || (d[2] = (
|
|
903
|
+
onClick: d[2] || (d[2] = (c) => 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
|
-
},
|
|
905
|
+
}, u(e.rightAddOn), 1)) : b("", !0),
|
|
906
906
|
t("div", us, [
|
|
907
907
|
e.icon ? (l(), w(L, {
|
|
908
908
|
key: 0,
|
|
@@ -915,21 +915,21 @@ const ts = {
|
|
|
915
915
|
color: "green",
|
|
916
916
|
loading: e.loading
|
|
917
917
|
}, null, 8, ["icon", "loading"]), [
|
|
918
|
-
[
|
|
918
|
+
[F, e.color === "green"]
|
|
919
919
|
]),
|
|
920
920
|
D(m(L, {
|
|
921
921
|
icon: f(te),
|
|
922
922
|
color: "yellow",
|
|
923
923
|
loading: e.loading
|
|
924
924
|
}, null, 8, ["icon", "loading"]), [
|
|
925
|
-
[
|
|
925
|
+
[F, e.color === "yellow"]
|
|
926
926
|
]),
|
|
927
927
|
D(m(L, {
|
|
928
928
|
icon: f(ie),
|
|
929
929
|
color: "red",
|
|
930
930
|
loading: e.loading
|
|
931
931
|
}, null, 8, ["icon", "loading"]), [
|
|
932
|
-
[
|
|
932
|
+
[F, e.color === "red"]
|
|
933
933
|
])
|
|
934
934
|
])
|
|
935
935
|
], 2),
|
|
@@ -940,8 +940,8 @@ const ts = {
|
|
|
940
940
|
"text-yellow-400": e.color === "yellow",
|
|
941
941
|
"text-green-600": e.color === "green"
|
|
942
942
|
}, "mt-2 text-xs flex flex-row items-center"])
|
|
943
|
-
},
|
|
944
|
-
[
|
|
943
|
+
}, u(e.error), 3), [
|
|
944
|
+
[F, e.error]
|
|
945
945
|
])
|
|
946
946
|
]));
|
|
947
947
|
}
|
|
@@ -954,7 +954,7 @@ const ts = {
|
|
|
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
|
-
}, Ee = /* @__PURE__ */
|
|
957
|
+
}, Ee = /* @__PURE__ */ A({
|
|
958
958
|
__name: "uiInputFile",
|
|
959
959
|
props: {
|
|
960
960
|
name: {},
|
|
@@ -965,25 +965,25 @@ const ts = {
|
|
|
965
965
|
fileTypesAndSizes: {},
|
|
966
966
|
error: {},
|
|
967
967
|
accept: {},
|
|
968
|
-
icon: { type: [Function, Object], default:
|
|
968
|
+
icon: { type: [Function, Object], default: Rl },
|
|
969
969
|
loading: { type: Boolean, default: !0 },
|
|
970
970
|
label: {}
|
|
971
971
|
},
|
|
972
972
|
emits: ["filesUploaded"],
|
|
973
973
|
setup(e, { emit: g }) {
|
|
974
974
|
let i = V("");
|
|
975
|
-
const o = g, n = e, r = (
|
|
976
|
-
d(
|
|
977
|
-
}, a = (
|
|
978
|
-
d(
|
|
979
|
-
}, d = (
|
|
975
|
+
const o = g, n = e, r = (c) => {
|
|
976
|
+
d(c.dataTransfer.files), o("filesUploaded", { id: n.id, files: c.dataTransfer.files });
|
|
977
|
+
}, a = (c) => {
|
|
978
|
+
d(c.target.files), o("filesUploaded", { id: n.id, files: c.target.files });
|
|
979
|
+
}, d = (c) => {
|
|
980
980
|
i.value = "";
|
|
981
981
|
let v = 1;
|
|
982
|
-
Object.values(
|
|
983
|
-
v++, i.value += p.name, v >= 1 && v <
|
|
982
|
+
Object.values(c).forEach((p) => {
|
|
983
|
+
v++, i.value += p.name, v >= 1 && v < c.length && (i.value += ", ");
|
|
984
984
|
});
|
|
985
985
|
};
|
|
986
|
-
return (
|
|
986
|
+
return (c, 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,
|
|
995
|
-
e.requiredText ? (l(), s("span", bs,
|
|
994
|
+
e.label ? (l(), s("label", ys, u(e.label), 1)) : b("", !0),
|
|
995
|
+
e.requiredText ? (l(), s("span", bs, u(e.requiredText), 1)) : b("", !0)
|
|
996
996
|
]),
|
|
997
997
|
t("div", {
|
|
998
998
|
class: x([
|
|
@@ -1021,7 +1021,7 @@ const ts = {
|
|
|
1021
1021
|
for: e.id,
|
|
1022
1022
|
class: "relative cursor-pointer rounded-md font-medium text-black underline hover:text-lime-400 focus-within:outline-none focus-within:ring-2 focus-within:ring-lime-400 focus-within:ring-offset-2"
|
|
1023
1023
|
}, [
|
|
1024
|
-
t("span", null,
|
|
1024
|
+
t("span", null, u(e.placeholder), 1),
|
|
1025
1025
|
t("input", {
|
|
1026
1026
|
id: e.id,
|
|
1027
1027
|
name: e.name,
|
|
@@ -1032,11 +1032,11 @@ const ts = {
|
|
|
1032
1032
|
onChange: a
|
|
1033
1033
|
}, null, 40, ws)
|
|
1034
1034
|
], 8, ps),
|
|
1035
|
-
t("p", ks,
|
|
1035
|
+
t("p", ks, u(e.dragAndDrop), 1)
|
|
1036
1036
|
]),
|
|
1037
|
-
t("p", $s,
|
|
1038
|
-
D(t("p", { class: "font-bold text-xs uppercase block p-2 bg-lime-50 rounded" },
|
|
1039
|
-
[
|
|
1037
|
+
t("p", $s, u(e.fileTypesAndSizes), 1),
|
|
1038
|
+
D(t("p", { class: "font-bold text-xs uppercase block p-2 bg-lime-50 rounded" }, u(f(i)), 513), [
|
|
1039
|
+
[F, f(i) !== null]
|
|
1040
1040
|
])
|
|
1041
1041
|
])
|
|
1042
1042
|
], 34),
|
|
@@ -1047,9 +1047,9 @@ const ts = {
|
|
|
1047
1047
|
class: "mr-2",
|
|
1048
1048
|
loading: e.loading
|
|
1049
1049
|
}, null, 8, ["icon", "loading"]),
|
|
1050
|
-
B(" " +
|
|
1050
|
+
B(" " + u(e.error), 1)
|
|
1051
1051
|
], 512), [
|
|
1052
|
-
[
|
|
1052
|
+
[F, e.error]
|
|
1053
1053
|
])
|
|
1054
1054
|
]));
|
|
1055
1055
|
}
|
|
@@ -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
|
+
}, As = /* @__PURE__ */ A({
|
|
1063
1063
|
__name: "uiSelect",
|
|
1064
1064
|
props: {
|
|
1065
1065
|
items: {},
|
|
@@ -1075,16 +1075,16 @@ const ts = {
|
|
|
1075
1075
|
},
|
|
1076
1076
|
emits: ["selectChanged"],
|
|
1077
1077
|
setup(e, { expose: g, emit: i }) {
|
|
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 ?? "",
|
|
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 ?? "", c = (p) => {
|
|
1079
1079
|
n("selectChanged", p);
|
|
1080
1080
|
}, v = j({
|
|
1081
1081
|
get: () => r.select,
|
|
1082
1082
|
set: (p) => {
|
|
1083
|
-
|
|
1083
|
+
c(p);
|
|
1084
1084
|
}
|
|
1085
1085
|
});
|
|
1086
1086
|
return g({
|
|
1087
|
-
handleChange:
|
|
1087
|
+
handleChange: c
|
|
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
1090
|
m(f(He), {
|
|
@@ -1095,8 +1095,8 @@ const ts = {
|
|
|
1095
1095
|
key: 0,
|
|
1096
1096
|
modelValue: v.value,
|
|
1097
1097
|
"onUpdate:modelValue": [
|
|
1098
|
-
C[2] || (C[2] = (
|
|
1099
|
-
|
|
1098
|
+
C[2] || (C[2] = (N) => v.value = N),
|
|
1099
|
+
c
|
|
1100
1100
|
],
|
|
1101
1101
|
disabled: e.disabled,
|
|
1102
1102
|
as: "div"
|
|
@@ -1105,16 +1105,16 @@ const ts = {
|
|
|
1105
1105
|
t("div", Bs, [
|
|
1106
1106
|
m(f(xt), { class: "block text-sm font-medium" }, {
|
|
1107
1107
|
default: y(() => [
|
|
1108
|
-
B(
|
|
1108
|
+
B(u(e.label), 1)
|
|
1109
1109
|
]),
|
|
1110
1110
|
_: 1
|
|
1111
1111
|
}),
|
|
1112
|
-
e.requiredText ? (l(), s("span", Ms,
|
|
1112
|
+
e.requiredText ? (l(), s("span", Ms, u(e.requiredText), 1)) : b("", !0)
|
|
1113
1113
|
]),
|
|
1114
1114
|
t("div", zs, [
|
|
1115
1115
|
m(f(pt), {
|
|
1116
|
-
onChange: C[0] || (C[0] = (
|
|
1117
|
-
onBlur: C[1] || (C[1] = (
|
|
1116
|
+
onChange: C[0] || (C[0] = (N) => o.value = N.target.value),
|
|
1117
|
+
onBlur: C[1] || (C[1] = (N) => o.value = ""),
|
|
1118
1118
|
displayValue: d,
|
|
1119
1119
|
class: x([{
|
|
1120
1120
|
"mt-1": e.requiredText || e.label,
|
|
@@ -1145,9 +1145,9 @@ const ts = {
|
|
|
1145
1145
|
class: "absolute z-10 mt-1 max-h-60 w-full overflow-auto rounded-md bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"
|
|
1146
1146
|
}, {
|
|
1147
1147
|
default: y(() => [
|
|
1148
|
-
(l(!0), s(k, null, S(a.value, (
|
|
1149
|
-
key:
|
|
1150
|
-
value:
|
|
1148
|
+
(l(!0), s(k, null, S(a.value, (N) => (l(), w(f($t), {
|
|
1149
|
+
key: N.id,
|
|
1150
|
+
value: N,
|
|
1151
1151
|
as: "template"
|
|
1152
1152
|
}, {
|
|
1153
1153
|
default: y(({ active: E, selected: P }) => [
|
|
@@ -1159,7 +1159,7 @@ const ts = {
|
|
|
1159
1159
|
}, [
|
|
1160
1160
|
t("span", {
|
|
1161
1161
|
class: x(["block truncate", P && "font-semibold"])
|
|
1162
|
-
},
|
|
1162
|
+
}, u(N.name), 3),
|
|
1163
1163
|
P ? (l(), s("span", {
|
|
1164
1164
|
key: 0,
|
|
1165
1165
|
class: x([
|
|
@@ -1188,15 +1188,15 @@ const ts = {
|
|
|
1188
1188
|
"text-yellow-400": e.color === "yellow",
|
|
1189
1189
|
"text-green-600": e.color === "green"
|
|
1190
1190
|
}, "mt-2 text-xs flex flex-row items-center"])
|
|
1191
|
-
},
|
|
1192
|
-
[
|
|
1191
|
+
}, u(e.error), 3), [
|
|
1192
|
+
[F, e.error]
|
|
1193
1193
|
])
|
|
1194
1194
|
]),
|
|
1195
1195
|
_: 1
|
|
1196
1196
|
}, 8, ["modelValue", "disabled"]));
|
|
1197
1197
|
}
|
|
1198
1198
|
});
|
|
1199
|
-
function
|
|
1199
|
+
function Tt(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 At(e, g) {
|
|
|
1211
1211
|
})
|
|
1212
1212
|
]);
|
|
1213
1213
|
}
|
|
1214
|
-
function
|
|
1214
|
+
function Ts(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 As(e, g) {
|
|
|
1229
1229
|
const Ds = { class: "flex justify-between" }, Ls = {
|
|
1230
1230
|
key: 0,
|
|
1231
1231
|
class: "text-[10px] uppercase justify-self-end self-center"
|
|
1232
|
-
}, ve = /* @__PURE__ */
|
|
1232
|
+
}, ve = /* @__PURE__ */ A({
|
|
1233
1233
|
__name: "uiSelect_v2",
|
|
1234
1234
|
props: {
|
|
1235
1235
|
items: {},
|
|
@@ -1246,14 +1246,14 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1246
1246
|
emits: ["selectChanged"],
|
|
1247
1247
|
setup(e, { emit: g }) {
|
|
1248
1248
|
const i = e, o = g, n = V(""), r = V(i.select), a = j(
|
|
1249
|
-
() => n.value === "" ? i.items : i.items.filter((
|
|
1249
|
+
() => n.value === "" ? i.items : i.items.filter((c) => {
|
|
1250
1250
|
const v = n.value.toLowerCase();
|
|
1251
|
-
return
|
|
1251
|
+
return c.name.toLowerCase().includes(v) || (c.label?.toLowerCase().includes(v) ?? !1);
|
|
1252
1252
|
})
|
|
1253
|
-
), d = (
|
|
1254
|
-
n.value = "", o("selectChanged",
|
|
1253
|
+
), d = (c) => {
|
|
1254
|
+
n.value = "", o("selectChanged", c);
|
|
1255
1255
|
};
|
|
1256
|
-
return (
|
|
1256
|
+
return (c, v) => (l(), w(f(vt), {
|
|
1257
1257
|
as: "div",
|
|
1258
1258
|
modelValue: r.value,
|
|
1259
1259
|
"onUpdate:modelValue": [
|
|
@@ -1265,11 +1265,11 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1265
1265
|
t("div", Ds, [
|
|
1266
1266
|
m(f(xt), { class: "block text-sm font-medium" }, {
|
|
1267
1267
|
default: y(() => [
|
|
1268
|
-
B(
|
|
1268
|
+
B(u(e.label), 1)
|
|
1269
1269
|
]),
|
|
1270
1270
|
_: 1
|
|
1271
1271
|
}),
|
|
1272
|
-
e.requiredText ? (l(), s("span", Ls,
|
|
1272
|
+
e.requiredText ? (l(), s("span", Ls, u(e.requiredText), 1)) : b("", !0)
|
|
1273
1273
|
]),
|
|
1274
1274
|
t("div", {
|
|
1275
1275
|
class: x([{ "mt-1": e.label || e.requiredText }, "relative"])
|
|
@@ -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(Ts), {
|
|
1309
1309
|
class: "size-5 mt-1",
|
|
1310
1310
|
"aria-hidden": "true"
|
|
1311
1311
|
})
|
|
@@ -1321,18 +1321,18 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1321
1321
|
key: p.id,
|
|
1322
1322
|
value: p
|
|
1323
1323
|
}, {
|
|
1324
|
-
default: y(({ active: C, selected:
|
|
1324
|
+
default: y(({ active: C, selected: N }) => [
|
|
1325
1325
|
t("li", {
|
|
1326
1326
|
class: x(["relative cursor-default select-none py-2 pl-3 pr-9", C ? "bg-lime-400 outline-none" : "text-gray-900"])
|
|
1327
1327
|
}, [
|
|
1328
1328
|
t("span", {
|
|
1329
|
-
class: x(["block truncate",
|
|
1330
|
-
},
|
|
1331
|
-
|
|
1329
|
+
class: x(["block truncate", N && "font-semibold"])
|
|
1330
|
+
}, u(p.label || p.name), 3),
|
|
1331
|
+
N ? (l(), s("span", {
|
|
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(Tt), {
|
|
1336
1336
|
class: "size-5",
|
|
1337
1337
|
"aria-hidden": "true"
|
|
1338
1338
|
})
|
|
@@ -1353,8 +1353,8 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1353
1353
|
"text-yellow-400": e.color === "yellow",
|
|
1354
1354
|
"text-green-600": e.color === "green"
|
|
1355
1355
|
}, "mt-2 text-xs flex flex-row items-center"])
|
|
1356
|
-
},
|
|
1357
|
-
[
|
|
1356
|
+
}, u(e.error), 3), [
|
|
1357
|
+
[F, e.error]
|
|
1358
1358
|
])
|
|
1359
1359
|
]),
|
|
1360
1360
|
_: 1
|
|
@@ -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
|
+
}, J = /* @__PURE__ */ A({
|
|
1367
1367
|
__name: "uiTag",
|
|
1368
1368
|
props: {
|
|
1369
1369
|
color: { default: "primary" },
|
|
@@ -1398,20 +1398,20 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1398
1398
|
"px-4 py-3": e.size === "big"
|
|
1399
1399
|
}, "inline-flex items-center rounded text-xs font-medium leading-none"])
|
|
1400
1400
|
}, [
|
|
1401
|
-
|
|
1401
|
+
G(r.$slots, "default")
|
|
1402
1402
|
], 2));
|
|
1403
1403
|
}
|
|
1404
|
-
}),
|
|
1404
|
+
}), _s = { key: 0 }, Fs = { class: "flex justify-between" }, Os = {
|
|
1405
1405
|
key: 0,
|
|
1406
1406
|
class: "block text-sm font-medium"
|
|
1407
|
-
},
|
|
1407
|
+
}, Is = {
|
|
1408
1408
|
key: 1,
|
|
1409
1409
|
"data-test": "required",
|
|
1410
1410
|
class: "text-[10px] uppercase justify-self-end"
|
|
1411
|
-
}, Vs = ["disabled", "placeholder"],
|
|
1411
|
+
}, Vs = ["disabled", "placeholder"], Ns = {
|
|
1412
1412
|
key: 1,
|
|
1413
1413
|
class: "animate-pulse"
|
|
1414
|
-
},
|
|
1414
|
+
}, Rs = /* @__PURE__ */ A({
|
|
1415
1415
|
__name: "uiTextArea",
|
|
1416
1416
|
props: {
|
|
1417
1417
|
name: {},
|
|
@@ -1431,13 +1431,13 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1431
1431
|
}, r = V(o.value);
|
|
1432
1432
|
return Z(() => o.value, (a) => {
|
|
1433
1433
|
r.value = a, i("inputChanged", { name: o.name, value: r.value });
|
|
1434
|
-
}), (a, d) => e.loading ? (l(), s("div",
|
|
1434
|
+
}), (a, d) => e.loading ? (l(), s("div", Ns, [...d[1] || (d[1] = [
|
|
1435
1435
|
t("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-2/3 md:w-1/4 mb-1.5" }, null, -1),
|
|
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
|
-
])])) : (l(), s("div",
|
|
1438
|
-
t("div",
|
|
1439
|
-
e.label ? (l(), s("label",
|
|
1440
|
-
e.requiredText ? (l(), s("span",
|
|
1437
|
+
])])) : (l(), s("div", _s, [
|
|
1438
|
+
t("div", Fs, [
|
|
1439
|
+
e.label ? (l(), s("label", Os, u(e.label), 1)) : b("", !0),
|
|
1440
|
+
e.requiredText ? (l(), s("span", Is, u(e.requiredText), 1)) : b("", !0)
|
|
1441
1441
|
]),
|
|
1442
1442
|
t("div", {
|
|
1443
1443
|
class: x({ "mt-1": e.label })
|
|
@@ -1445,7 +1445,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1445
1445
|
D(t("textarea", {
|
|
1446
1446
|
disabled: e.disabled,
|
|
1447
1447
|
rows: "4",
|
|
1448
|
-
"onUpdate:modelValue": d[0] || (d[0] = (
|
|
1448
|
+
"onUpdate:modelValue": d[0] || (d[0] = (c) => r.value = c),
|
|
1449
1449
|
placeholder: e.placeholder,
|
|
1450
1450
|
class: x(["shadow-sm focus:ring-lime-400 focus:border-lime-400 block w-full sm:text-sm rounded-md", {
|
|
1451
1451
|
"border-gray-300": e.color === "gray",
|
|
@@ -1478,9 +1478,9 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1478
1478
|
class: "mr-2",
|
|
1479
1479
|
loading: !1
|
|
1480
1480
|
}, null, 8, ["icon"]),
|
|
1481
|
-
B(" " +
|
|
1481
|
+
B(" " + u(e.error), 1)
|
|
1482
1482
|
], 2), [
|
|
1483
|
-
[
|
|
1483
|
+
[F, e.error]
|
|
1484
1484
|
])
|
|
1485
1485
|
]));
|
|
1486
1486
|
}
|
|
@@ -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__ */ A({
|
|
1494
1494
|
__name: "uiToggle",
|
|
1495
1495
|
props: {
|
|
1496
1496
|
item: {},
|
|
@@ -1540,8 +1540,8 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1540
1540
|
class: "ml-3"
|
|
1541
1541
|
}, {
|
|
1542
1542
|
default: y(() => [
|
|
1543
|
-
t("span", qs,
|
|
1544
|
-
e.item.subtitle ? (l(), s("span", Hs,
|
|
1543
|
+
t("span", qs, u(e.item.title), 1),
|
|
1544
|
+
e.item.subtitle ? (l(), s("span", Hs, u(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
|
-
},
|
|
1552
|
+
}, u(e.item.action), 1)) : b("", !0)
|
|
1553
1553
|
]),
|
|
1554
1554
|
_: 1
|
|
1555
1555
|
}));
|
|
@@ -1561,13 +1561,13 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1561
1561
|
}, Zs = {
|
|
1562
1562
|
role: "list",
|
|
1563
1563
|
class: "flex items-center space-x-4 text-xs"
|
|
1564
|
-
}, Ws = { key: 0 },
|
|
1564
|
+
}, Ws = { key: 0 }, Gs = ["onClick"], Js = {
|
|
1565
1565
|
key: 1,
|
|
1566
1566
|
class: "flex items-center"
|
|
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__ */ A({
|
|
1571
1571
|
__name: "uiBreadcrumbs",
|
|
1572
1572
|
props: {
|
|
1573
1573
|
pages: {},
|
|
@@ -1592,9 +1592,9 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1592
1592
|
class: "flex-shrink-0 h-3 w-3 text-gray-400 mr-4",
|
|
1593
1593
|
"aria-hidden": "true"
|
|
1594
1594
|
}),
|
|
1595
|
-
t("span", null,
|
|
1596
|
-
], 8,
|
|
1597
|
-
])) : (l(), s("div",
|
|
1595
|
+
t("span", null, u(n.name), 1)
|
|
1596
|
+
], 8, Gs)
|
|
1597
|
+
])) : (l(), s("div", Js, [
|
|
1598
1598
|
m(f($e), {
|
|
1599
1599
|
class: "flex-shrink-0 h-3 w-3 text-gray-400",
|
|
1600
1600
|
"aria-hidden": "true"
|
|
@@ -1603,7 +1603,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1603
1603
|
onClick: (a) => i.$emit("breadCrumbClicked", n.routeName),
|
|
1604
1604
|
class: x(["cursor-pointer ml-4 text-xs text-black", { "hover:text-lime-400 underline": !n.current }]),
|
|
1605
1605
|
"aria-current": "page"
|
|
1606
|
-
},
|
|
1606
|
+
}, u(n.name), 11, Ks)
|
|
1607
1607
|
]))
|
|
1608
1608
|
]))), 128))
|
|
1609
1609
|
])
|
|
@@ -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__ */ A({
|
|
1628
1628
|
__name: "uiViewHeader",
|
|
1629
1629
|
props: {
|
|
1630
1630
|
pages: {},
|
|
@@ -1652,13 +1652,13 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1652
1652
|
onBreadCrumbClicked: i[0] || (i[0] = (o) => g.$emit("breadCrumbClicked", o))
|
|
1653
1653
|
}, null, 8, ["pages", "loading"])
|
|
1654
1654
|
]),
|
|
1655
|
-
t("h1", sn,
|
|
1655
|
+
t("h1", sn, u(e.title), 1)
|
|
1656
1656
|
])
|
|
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,
|
|
1661
|
-
e.description ? (l(), s("p", rn,
|
|
1660
|
+
e.subtitle ? (l(), s("h3", on, u(e.subtitle), 1)) : b("", !0),
|
|
1661
|
+
e.description ? (l(), s("p", rn, u(e.description), 1)) : b("", !0)
|
|
1662
1662
|
])) : b("", !0),
|
|
1663
1663
|
e.buttonText ? (l(), w(U, {
|
|
1664
1664
|
key: 1,
|
|
@@ -1670,7 +1670,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1670
1670
|
onClick: i[1] || (i[1] = (o) => g.$emit("buttonClick"))
|
|
1671
1671
|
}, {
|
|
1672
1672
|
default: y(() => [
|
|
1673
|
-
B(
|
|
1673
|
+
B(u(e.buttonText), 1)
|
|
1674
1674
|
]),
|
|
1675
1675
|
_: 1
|
|
1676
1676
|
}, 8, ["loading", "disabled", "color", "size"])) : b("", !0)
|
|
@@ -1683,7 +1683,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1683
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__ */ A({
|
|
1687
1687
|
__name: "uiAlert",
|
|
1688
1688
|
props: {
|
|
1689
1689
|
actions: {},
|
|
@@ -1709,7 +1709,7 @@ 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(At), {
|
|
1713
1713
|
key: 0,
|
|
1714
1714
|
class: "h-8 w-8 text-lime-400",
|
|
1715
1715
|
"aria-hidden": "true"
|
|
@@ -1737,7 +1737,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1737
1737
|
"text-yellow-800": e.type === "warning",
|
|
1738
1738
|
"text-green-800": e.type === "success"
|
|
1739
1739
|
}, "text-sm font-medium"])
|
|
1740
|
-
},
|
|
1740
|
+
}, u(e.title), 3),
|
|
1741
1741
|
t("div", {
|
|
1742
1742
|
class: x([{
|
|
1743
1743
|
"text-red-700": e.type === "danger",
|
|
@@ -1745,12 +1745,12 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1745
1745
|
"text-green-700": e.type === "success"
|
|
1746
1746
|
}, "mt-2 text-sm"])
|
|
1747
1747
|
}, [
|
|
1748
|
-
|
|
1748
|
+
G(n.$slots, "default")
|
|
1749
1749
|
], 2),
|
|
1750
1750
|
t("div", hn, [
|
|
1751
1751
|
t("div", yn, [
|
|
1752
1752
|
(l(!0), s(k, null, S(e.actions, (a, d) => (l(), s("button", {
|
|
1753
|
-
onClick: (
|
|
1753
|
+
onClick: (c) => o(a),
|
|
1754
1754
|
type: "button",
|
|
1755
1755
|
key: d,
|
|
1756
1756
|
class: x([
|
|
@@ -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
|
-
},
|
|
1765
|
+
}, u(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__ */ A({
|
|
1780
1780
|
__name: "uiCard",
|
|
1781
1781
|
props: {
|
|
1782
1782
|
id: {},
|
|
@@ -1801,19 +1801,19 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1801
1801
|
src: e.logo
|
|
1802
1802
|
}, null, 8, wn),
|
|
1803
1803
|
t("div", null, [
|
|
1804
|
-
t("h4", kn,
|
|
1805
|
-
t("p", $n,
|
|
1804
|
+
t("h4", kn, u(e.name), 1),
|
|
1805
|
+
t("p", $n, u(e.type), 1)
|
|
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(J, {
|
|
1810
1810
|
class: "mb-1 mr-1",
|
|
1811
1811
|
key: n.name,
|
|
1812
1812
|
color: n.color,
|
|
1813
1813
|
loading: e.loading
|
|
1814
1814
|
}, {
|
|
1815
1815
|
default: y(() => [
|
|
1816
|
-
B(
|
|
1816
|
+
B(u(n.name), 1)
|
|
1817
1817
|
]),
|
|
1818
1818
|
_: 2
|
|
1819
1819
|
}, 1032, ["color", "loading"]))), 128))
|
|
@@ -1823,25 +1823,25 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
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" }, An = { class: "mb-4" }, Tn = { 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 = {
|
|
1830
1830
|
key: 0,
|
|
1831
1831
|
class: "w-full h-36 bg-gray-200 rounded-lg animate-pulse flex items-center justify-center"
|
|
1832
|
-
},
|
|
1832
|
+
}, _n = ["src", "alt"], Fn = {
|
|
1833
1833
|
key: 1,
|
|
1834
1834
|
class: "absolute bottom-2 right-2 p-1.5 bg-white rounded shadow-sm"
|
|
1835
|
-
},
|
|
1835
|
+
}, On = {
|
|
1836
1836
|
key: 0,
|
|
1837
1837
|
class: "text-sm text-gray-600 mb-4 line-clamp-3"
|
|
1838
|
-
},
|
|
1838
|
+
}, In = { class: "flex flex-col pt-4 border-t border-gray-200 mt-auto" }, Vn = {
|
|
1839
1839
|
key: 0,
|
|
1840
1840
|
class: "text-xs text-gray-500 mb-3"
|
|
1841
|
-
},
|
|
1841
|
+
}, Nn = { class: "flex flex-col xl:flex-row xl:flex-wrap items-stretch xl:items-center gap-2" }, Rn = {
|
|
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__ */ A({
|
|
1845
1845
|
__name: "uiCardWithImage",
|
|
1846
1846
|
props: {
|
|
1847
1847
|
id: {},
|
|
@@ -1864,11 +1864,11 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1864
1864
|
const i = e, o = V(!0);
|
|
1865
1865
|
return Z(() => i.image, () => {
|
|
1866
1866
|
o.value = !0;
|
|
1867
|
-
}, { immediate: !0 }), (n, r) => e.loading ? (l(), s("div",
|
|
1867
|
+
}, { immediate: !0 }), (n, r) => e.loading ? (l(), s("div", Rn, [
|
|
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(J, {
|
|
1872
1872
|
key: 0,
|
|
1873
1873
|
loading: !0,
|
|
1874
1874
|
size: "small"
|
|
@@ -1918,14 +1918,14 @@ 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(J, {
|
|
1922
1922
|
key: 0,
|
|
1923
1923
|
color: e.badgeColor,
|
|
1924
1924
|
loading: !1,
|
|
1925
1925
|
size: "small"
|
|
1926
1926
|
}, {
|
|
1927
1927
|
default: y(() => [
|
|
1928
|
-
B(
|
|
1928
|
+
B(u(e.badge), 1)
|
|
1929
1929
|
]),
|
|
1930
1930
|
_: 1
|
|
1931
1931
|
}, 8, ["color"])) : b("", !0)
|
|
@@ -1944,9 +1944,9 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1944
1944
|
}, null, 8, ["icon"])
|
|
1945
1945
|
])) : b("", !0)
|
|
1946
1946
|
]),
|
|
1947
|
-
t("div",
|
|
1948
|
-
t("h4",
|
|
1949
|
-
e.subtitle ? (l(), s("p", Dn,
|
|
1947
|
+
t("div", An, [
|
|
1948
|
+
t("h4", Tn, u(e.title), 1),
|
|
1949
|
+
e.subtitle ? (l(), s("p", Dn, u(e.subtitle), 1)) : b("", !0)
|
|
1950
1950
|
]),
|
|
1951
1951
|
t("div", Ln, [
|
|
1952
1952
|
o.value ? (l(), s("div", Pn, [
|
|
@@ -1963,15 +1963,15 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1963
1963
|
class: "w-full h-36 object-cover rounded-lg",
|
|
1964
1964
|
onLoad: r[1] || (r[1] = (a) => o.value = !1),
|
|
1965
1965
|
onError: r[2] || (r[2] = (a) => o.value = !1)
|
|
1966
|
-
}, null, 40,
|
|
1967
|
-
[
|
|
1966
|
+
}, null, 40, _n), [
|
|
1967
|
+
[F, !o.value]
|
|
1968
1968
|
]),
|
|
1969
|
-
e.showImageOverlay && !o.value ? (l(), s("div",
|
|
1969
|
+
e.showImageOverlay && !o.value ? (l(), s("div", Fn)) : b("", !0)
|
|
1970
1970
|
]),
|
|
1971
|
-
e.bodyText ? (l(), s("p",
|
|
1972
|
-
t("div",
|
|
1973
|
-
e.updatedDate ? (l(), s("span", Vn, " Updated " +
|
|
1974
|
-
t("div",
|
|
1971
|
+
e.bodyText ? (l(), s("p", On, u(e.bodyText), 1)) : b("", !0),
|
|
1972
|
+
t("div", In, [
|
|
1973
|
+
e.updatedDate ? (l(), s("span", Vn, " Updated " + u(e.updatedDate), 1)) : b("", !0),
|
|
1974
|
+
t("div", Nn, [
|
|
1975
1975
|
e.showActions ? (l(), w(U, {
|
|
1976
1976
|
key: 0,
|
|
1977
1977
|
onClick: r[3] || (r[3] = ne((a) => n.$emit("actionClick", { id: e.id, action: "edit" }), ["stop"])),
|
|
@@ -1983,7 +1983,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1983
1983
|
class: "w-full xl:w-auto"
|
|
1984
1984
|
}, {
|
|
1985
1985
|
default: y(() => [
|
|
1986
|
-
B(
|
|
1986
|
+
B(u(e.actionLabels?.edit || "Editar"), 1)
|
|
1987
1987
|
]),
|
|
1988
1988
|
_: 1
|
|
1989
1989
|
}, 8, ["icon"])) : b("", !0),
|
|
@@ -1998,7 +1998,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1998
1998
|
class: "w-full xl:w-auto"
|
|
1999
1999
|
}, {
|
|
2000
2000
|
default: y(() => [
|
|
2001
|
-
B(
|
|
2001
|
+
B(u(e.actionLabels?.copy || "Copiar"), 1)
|
|
2002
2002
|
]),
|
|
2003
2003
|
_: 1
|
|
2004
2004
|
}, 8, ["icon"])) : b("", !0),
|
|
@@ -2013,7 +2013,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
2013
2013
|
class: "w-full xl:w-auto"
|
|
2014
2014
|
}, {
|
|
2015
2015
|
default: y(() => [
|
|
2016
|
-
B(
|
|
2016
|
+
B(u(e.actionLabels?.delete || "Eliminar"), 1)
|
|
2017
2017
|
]),
|
|
2018
2018
|
_: 1
|
|
2019
2019
|
}, 8, ["icon"])) : b("", !0)
|
|
@@ -2021,7 +2021,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
2021
2021
|
])
|
|
2022
2022
|
]));
|
|
2023
2023
|
}
|
|
2024
|
-
}), Zn = /* @__PURE__ */
|
|
2024
|
+
}), Zn = /* @__PURE__ */ A({
|
|
2025
2025
|
__name: "uiFilter",
|
|
2026
2026
|
props: {
|
|
2027
2027
|
items: {},
|
|
@@ -2039,16 +2039,16 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
2039
2039
|
return (a, d) => (l(), w(ge, {
|
|
2040
2040
|
class: "text-nowrap",
|
|
2041
2041
|
loading: e.loading,
|
|
2042
|
-
onOptionSelected: d[0] || (d[0] = (
|
|
2042
|
+
onOptionSelected: d[0] || (d[0] = (c) => n(c)),
|
|
2043
2043
|
position: e.position,
|
|
2044
2044
|
items: r.value,
|
|
2045
2045
|
label: e.label
|
|
2046
2046
|
}, null, 8, ["loading", "position", "items", "label"]));
|
|
2047
2047
|
}
|
|
2048
|
-
}), Wn = { class: "fixed inset-0 z-10 overflow-y-auto" },
|
|
2048
|
+
}), Wn = { class: "fixed inset-0 z-10 overflow-y-auto" }, Gn = { class: "flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0" }, Jn = { 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__ */ A({
|
|
2052
2052
|
__name: "uiModal",
|
|
2053
2053
|
props: {
|
|
2054
2054
|
title: {},
|
|
@@ -2091,7 +2091,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
2091
2091
|
_: 1
|
|
2092
2092
|
}),
|
|
2093
2093
|
t("div", Wn, [
|
|
2094
|
-
t("div",
|
|
2094
|
+
t("div", Gn, [
|
|
2095
2095
|
m(f(ce), {
|
|
2096
2096
|
as: "template",
|
|
2097
2097
|
enter: "ease-out duration-300",
|
|
@@ -2109,7 +2109,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
2109
2109
|
}, "relative transform rounded-lg bg-white px-4 pb-4 pt-5 text-left shadow-xl transition-all"])
|
|
2110
2110
|
}, {
|
|
2111
2111
|
default: y(() => [
|
|
2112
|
-
t("div",
|
|
2112
|
+
t("div", Jn, [
|
|
2113
2113
|
t("button", {
|
|
2114
2114
|
type: "button",
|
|
2115
2115
|
class: "rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-none",
|
|
@@ -2136,25 +2136,25 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
2136
2136
|
class: "h-6 w-6 text-red-600",
|
|
2137
2137
|
"aria-hidden": "true"
|
|
2138
2138
|
}, null, 512), [
|
|
2139
|
-
[
|
|
2139
|
+
[F, e.type === "danger"]
|
|
2140
2140
|
]),
|
|
2141
2141
|
D(m(f(et), {
|
|
2142
2142
|
class: "h-6 w-6 text-green-600",
|
|
2143
2143
|
"aria-hidden": "true"
|
|
2144
2144
|
}, null, 512), [
|
|
2145
|
-
[
|
|
2145
|
+
[F, e.type === "success"]
|
|
2146
2146
|
]),
|
|
2147
2147
|
D(m(f(te), {
|
|
2148
2148
|
class: "h-6 w-6 text-yellow-600",
|
|
2149
2149
|
"aria-hidden": "true"
|
|
2150
2150
|
}, null, 512), [
|
|
2151
|
-
[
|
|
2151
|
+
[F, e.type === "warning"]
|
|
2152
2152
|
]),
|
|
2153
2153
|
D(m(f(Kl), {
|
|
2154
2154
|
class: "h-6 w-6 text-black",
|
|
2155
2155
|
"aria-hidden": "true"
|
|
2156
2156
|
}, null, 512), [
|
|
2157
|
-
[
|
|
2157
|
+
[F, e.type === "default"]
|
|
2158
2158
|
])
|
|
2159
2159
|
], 2),
|
|
2160
2160
|
t("div", Qn, [
|
|
@@ -2163,20 +2163,20 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
2163
2163
|
class: "text-lg font-medium leading-6"
|
|
2164
2164
|
}, {
|
|
2165
2165
|
default: y(() => [
|
|
2166
|
-
B(
|
|
2166
|
+
B(u(e.title), 1)
|
|
2167
2167
|
]),
|
|
2168
2168
|
_: 1
|
|
2169
2169
|
}),
|
|
2170
2170
|
t("div", Xn, [
|
|
2171
|
-
|
|
2171
|
+
G(r.$slots, "default", { class: "break-words" })
|
|
2172
2172
|
]),
|
|
2173
2173
|
e.actions ? (l(), s("div", ea, [
|
|
2174
|
-
(l(!0), s(k, null, S(e.actions, (d,
|
|
2175
|
-
key:
|
|
2174
|
+
(l(!0), s(k, null, S(e.actions, (d, c) => (l(), s("button", {
|
|
2175
|
+
key: c,
|
|
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
2178
|
onClick: (v) => n(d.value)
|
|
2179
|
-
},
|
|
2179
|
+
}, u(d.name), 9, ta))), 128))
|
|
2180
2180
|
])) : b("", !0)
|
|
2181
2181
|
])
|
|
2182
2182
|
])
|
|
@@ -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__ */ A({
|
|
2202
2202
|
__name: "uiNotification",
|
|
2203
2203
|
props: {
|
|
2204
2204
|
type: { default: "info" },
|
|
@@ -2232,30 +2232,30 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
2232
2232
|
"aria-hidden": "true",
|
|
2233
2233
|
class: "h-6 w-6 text-green-600"
|
|
2234
2234
|
}, null, 512), [
|
|
2235
|
-
[
|
|
2235
|
+
[F, e.type === "success"]
|
|
2236
2236
|
]),
|
|
2237
2237
|
D(m(f(Ve), {
|
|
2238
2238
|
"aria-hidden": "true",
|
|
2239
2239
|
class: "h-6 w-6 text-red-600"
|
|
2240
2240
|
}, null, 512), [
|
|
2241
|
-
[
|
|
2241
|
+
[F, e.type === "danger"]
|
|
2242
2242
|
]),
|
|
2243
2243
|
D(m(f(te), {
|
|
2244
2244
|
"aria-hidden": "true",
|
|
2245
2245
|
class: "h-6 w-6 text-yellow-400"
|
|
2246
2246
|
}, null, 512), [
|
|
2247
|
-
[
|
|
2247
|
+
[F, e.type === "warning"]
|
|
2248
2248
|
]),
|
|
2249
|
-
D(m(f(
|
|
2249
|
+
D(m(f(At), {
|
|
2250
2250
|
"aria-hidden": "true",
|
|
2251
2251
|
class: "h-6 w-6 text-black"
|
|
2252
2252
|
}, null, 512), [
|
|
2253
|
-
[
|
|
2253
|
+
[F, e.type === "info"]
|
|
2254
2254
|
])
|
|
2255
2255
|
]),
|
|
2256
2256
|
t("div", ia, [
|
|
2257
|
-
t("p", ra,
|
|
2258
|
-
t("p", da,
|
|
2257
|
+
t("p", ra, u(e.title), 1),
|
|
2258
|
+
t("p", da, u(e.message), 1)
|
|
2259
2259
|
]),
|
|
2260
2260
|
t("div", ca, [
|
|
2261
2261
|
t("button", {
|
|
@@ -2286,7 +2286,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
2286
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__ */ A({
|
|
2290
2290
|
__name: "uiTaskList",
|
|
2291
2291
|
props: {
|
|
2292
2292
|
tasks: {},
|
|
@@ -2307,7 +2307,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
2307
2307
|
}, [
|
|
2308
2308
|
t("div", ma, [
|
|
2309
2309
|
t("div", fa, [
|
|
2310
|
-
t("p", ha,
|
|
2310
|
+
t("p", ha, u(o.name), 1),
|
|
2311
2311
|
t("p", {
|
|
2312
2312
|
class: x([
|
|
2313
2313
|
{
|
|
@@ -2317,10 +2317,10 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
2317
2317
|
},
|
|
2318
2318
|
"rounded-md whitespace-nowrap mt-0.5 px-1.5 py-0.5 text-xs font-medium ring-1 ring-inset"
|
|
2319
2319
|
])
|
|
2320
|
-
},
|
|
2320
|
+
}, u(o.statusLiteral), 3)
|
|
2321
2321
|
]),
|
|
2322
2322
|
t("div", ya, [
|
|
2323
|
-
t("p", ba,
|
|
2323
|
+
t("p", ba, u(o.description), 1)
|
|
2324
2324
|
])
|
|
2325
2325
|
]),
|
|
2326
2326
|
t("div", va, [
|
|
@@ -2328,8 +2328,8 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
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"
|
|
2330
2330
|
}, [
|
|
2331
|
-
B(
|
|
2332
|
-
t("span", pa, ", " +
|
|
2331
|
+
B(u(o.action), 1),
|
|
2332
|
+
t("span", pa, ", " + u(o.name), 1)
|
|
2333
2333
|
], 8, xa)
|
|
2334
2334
|
])
|
|
2335
2335
|
]))), 128))
|
|
@@ -2362,23 +2362,23 @@ function Ma() {
|
|
|
2362
2362
|
(function(i, o) {
|
|
2363
2363
|
e.exports = o(Y);
|
|
2364
2364
|
})(Ba, (function(i) {
|
|
2365
|
-
function o(
|
|
2366
|
-
return
|
|
2365
|
+
function o(c) {
|
|
2366
|
+
return c && typeof c == "object" && "default" in c ? c : { default: c };
|
|
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(
|
|
2369
|
+
function a(c, v, p) {
|
|
2370
2370
|
var C = r[p];
|
|
2371
|
-
return Array.isArray(C) && (C = C[v ? 0 : 1]), C.replace("%d",
|
|
2371
|
+
return Array.isArray(C) && (C = C[v ? 0 : 1]), C.replace("%d", c);
|
|
2372
2372
|
}
|
|
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(
|
|
2374
|
-
return
|
|
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(c) {
|
|
2374
|
+
return c + ".";
|
|
2375
2375
|
}, weekStart: 1, yearStart: 4, formats: { LTS: "HH:mm:ss", LT: "HH:mm", L: "DD.MM.YYYY", LL: "D. MMMM YYYY", LLL: "D. MMMM YYYY HH:mm", LLLL: "dddd, D. MMMM YYYY HH:mm" }, relativeTime: { future: "in %s", past: "vor %s", s: a, m: a, mm: a, h: a, hh: a, d: a, dd: a, M: a, MM: a, y: a, yy: a } };
|
|
2376
2376
|
return n.default.locale(d, null, !0), d;
|
|
2377
2377
|
}));
|
|
2378
2378
|
})(je)), je.exports;
|
|
2379
2379
|
}
|
|
2380
2380
|
Ma();
|
|
2381
|
-
var
|
|
2381
|
+
var Ae = { exports: {} }, za = Ae.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
|
+
})(Ae)), Ae.exports;
|
|
2393
2393
|
}
|
|
2394
2394
|
ja();
|
|
2395
|
-
var
|
|
2396
|
-
function
|
|
2395
|
+
var Te = { exports: {} }, Aa = Te.exports, mt;
|
|
2396
|
+
function Ta() {
|
|
2397
2397
|
return mt || (mt = 1, (function(e, g) {
|
|
2398
2398
|
(function(i, o) {
|
|
2399
2399
|
e.exports = o(Y);
|
|
2400
|
-
})(
|
|
2400
|
+
})(Aa, (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 Aa() {
|
|
|
2406
2406
|
} };
|
|
2407
2407
|
return n.default.locale(r, null, !0), r;
|
|
2408
2408
|
}));
|
|
2409
|
-
})(
|
|
2409
|
+
})(Te)), Te.exports;
|
|
2410
2410
|
}
|
|
2411
|
-
|
|
2411
|
+
Ta();
|
|
2412
2412
|
const Ce = (e, g) => {
|
|
2413
2413
|
const i = e.__vccOpts || e;
|
|
2414
2414
|
for (const [o, n] of g)
|
|
@@ -2444,8 +2444,8 @@ const Ce = (e, g) => {
|
|
|
2444
2444
|
g === "next" && (e === "day" && (i = Y(this.selectedDate).add(1, "day")), e === "month" && (i = Y(this.selectedDate).add(1, "month")), e === "year" && (i = Y(this.selectedDate).add(1, "year"))), this.$emit("dateSelected", i);
|
|
2445
2445
|
}
|
|
2446
2446
|
}
|
|
2447
|
-
}, La = { class: "dateSelector flex items-center flex-row" }, Pa = { class: "pagination flex items-center my-1 md:my-0" },
|
|
2448
|
-
function
|
|
2447
|
+
}, La = { class: "dateSelector flex items-center flex-row" }, Pa = { class: "pagination flex items-center my-1 md:my-0" }, _a = { class: "date mx-4 font-bold text-center text-black select-none uppercase" }, Fa = { class: "pagination flex items-center my-1 sm:my-0" };
|
|
2448
|
+
function Oa(e, g, i, o, n, r) {
|
|
2449
2449
|
const a = it("ChevronLeftIcon"), d = it("ChevronRightIcon");
|
|
2450
2450
|
return l(), s("div", La, [
|
|
2451
2451
|
t("div", Pa, [
|
|
@@ -2454,7 +2454,7 @@ function Ia(e, g, i, o, n, r) {
|
|
|
2454
2454
|
"bg-lime-400 text-black hover:text-white hover:bg-black cursor-pointer": r.currentDate > r.today,
|
|
2455
2455
|
"bg-lime-300": r.currentDate <= r.today
|
|
2456
2456
|
}, "previousYear flex items-center p-1 rounded mx-0.5 shadow-sm"]),
|
|
2457
|
-
onClick: g[0] || (g[0] = (
|
|
2457
|
+
onClick: g[0] || (g[0] = (c) => r.selectDate("year", "previous"))
|
|
2458
2458
|
}, [
|
|
2459
2459
|
m(a, { class: "h-4" }),
|
|
2460
2460
|
m(a, { class: "h-4 -ml-3" }),
|
|
@@ -2465,7 +2465,7 @@ function Ia(e, g, i, o, n, r) {
|
|
|
2465
2465
|
"bg-lime-400 text-black hover:text-white hover:bg-black cursor-pointer": r.currentDate > r.today,
|
|
2466
2466
|
"bg-lime-300": r.currentDate <= r.today
|
|
2467
2467
|
}, "previousYear flex items-center p-1 rounded mx-0.5 shadow-sm"]),
|
|
2468
|
-
onClick: g[1] || (g[1] = (
|
|
2468
|
+
onClick: g[1] || (g[1] = (c) => r.selectDate("month", "previous"))
|
|
2469
2469
|
}, [
|
|
2470
2470
|
m(a, { class: "h-4" }),
|
|
2471
2471
|
m(a, { class: "h-4 -ml-3" })
|
|
@@ -2475,29 +2475,29 @@ function Ia(e, g, i, o, n, r) {
|
|
|
2475
2475
|
"bg-lime-400 text-black hover:text-white hover:bg-black cursor-pointer": r.currentDate > r.today,
|
|
2476
2476
|
"bg-lime-300": r.currentDate <= r.today
|
|
2477
2477
|
}, "previousYear flex items-center p-1 rounded mx-0.5 shadow-sm"]),
|
|
2478
|
-
onClick: g[2] || (g[2] = (
|
|
2478
|
+
onClick: g[2] || (g[2] = (c) => r.selectDate("day", "previous"))
|
|
2479
2479
|
}, [
|
|
2480
2480
|
m(a, { class: "h-4" })
|
|
2481
2481
|
], 2)
|
|
2482
2482
|
]),
|
|
2483
|
-
t("div",
|
|
2484
|
-
t("div",
|
|
2483
|
+
t("div", _a, u(r.formatedDate), 1),
|
|
2484
|
+
t("div", Fa, [
|
|
2485
2485
|
t("div", {
|
|
2486
2486
|
class: "previousDay flex items-center cursor-pointer p-1 rounded mx-0.5 shadow-sm bg-lime-400 text-black hover:text-white hover:bg-black",
|
|
2487
|
-
onClick: g[3] || (g[3] = (
|
|
2487
|
+
onClick: g[3] || (g[3] = (c) => r.selectDate("day", "next"))
|
|
2488
2488
|
}, [
|
|
2489
2489
|
m(d, { class: "h-4" })
|
|
2490
2490
|
]),
|
|
2491
2491
|
t("div", {
|
|
2492
2492
|
class: "previousMonth flex items-center cursor-pointer p-1 rounded mx-0.5 shadow-sm bg-lime-400 text-black hover:text-white hover:bg-black",
|
|
2493
|
-
onClick: g[4] || (g[4] = (
|
|
2493
|
+
onClick: g[4] || (g[4] = (c) => r.selectDate("month", "next"))
|
|
2494
2494
|
}, [
|
|
2495
2495
|
m(d, { class: "h-4" }),
|
|
2496
2496
|
m(d, { class: "h-4 -ml-3" })
|
|
2497
2497
|
]),
|
|
2498
2498
|
t("div", {
|
|
2499
2499
|
class: "previousYear flex items-center cursor-pointer p-1 rounded mx-0.5 shadow-sm bg-lime-400 text-black hover:text-white hover:bg-black",
|
|
2500
|
-
onClick: g[5] || (g[5] = (
|
|
2500
|
+
onClick: g[5] || (g[5] = (c) => r.selectDate("year", "next"))
|
|
2501
2501
|
}, [
|
|
2502
2502
|
m(d, { class: "h-4" }),
|
|
2503
2503
|
m(d, { class: "h-4 -ml-3" }),
|
|
@@ -2506,12 +2506,12 @@ function Ia(e, g, i, o, n, r) {
|
|
|
2506
2506
|
])
|
|
2507
2507
|
]);
|
|
2508
2508
|
}
|
|
2509
|
-
const
|
|
2509
|
+
const Ia = /* @__PURE__ */ Ce(Da, [["render", Oa]]), Va = {
|
|
2510
2510
|
name: "SkeletonTable"
|
|
2511
|
-
},
|
|
2511
|
+
}, Na = { class: "px-4 sm:px-6 lg:px-8 animate-pulse" }, Ra = { class: "flow-root" }, qa = { class: "-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8" }, Ha = { class: "inline-block min-w-full py-2 align-middle px-1" }, Ya = { class: "overflow-hidden shadow ring-1 ring-black ring-opacity-5 sm:rounded-lg" }, Ea = { class: "min-w-full divide-y divide-gray-300" }, Ua = { class: "divide-y divide-gray-200 bg-white" };
|
|
2512
2512
|
function Za(e, g, i, o, n, r) {
|
|
2513
|
-
return l(), s("div",
|
|
2514
|
-
t("div",
|
|
2513
|
+
return l(), s("div", Na, [
|
|
2514
|
+
t("div", Ra, [
|
|
2515
2515
|
t("div", qa, [
|
|
2516
2516
|
t("div", Ha, [
|
|
2517
2517
|
t("div", Ya, [
|
|
@@ -2580,7 +2580,7 @@ function Za(e, g, i, o, n, r) {
|
|
|
2580
2580
|
}
|
|
2581
2581
|
const Lt = /* @__PURE__ */ Ce(Va, [["render", Za]]);
|
|
2582
2582
|
var De = { exports: {} }, Wa = De.exports, ft;
|
|
2583
|
-
function
|
|
2583
|
+
function Ga() {
|
|
2584
2584
|
return ft || (ft = 1, (function(e, g) {
|
|
2585
2585
|
(function(i, o) {
|
|
2586
2586
|
e.exports = o();
|
|
@@ -2594,8 +2594,8 @@ function Ja() {
|
|
|
2594
2594
|
}));
|
|
2595
2595
|
})(De)), De.exports;
|
|
2596
2596
|
}
|
|
2597
|
-
var
|
|
2598
|
-
const Ka = /* @__PURE__ */ $a(
|
|
2597
|
+
var Ja = Ga();
|
|
2598
|
+
const Ka = /* @__PURE__ */ $a(Ja), Qa = {
|
|
2599
2599
|
name: "calendarDay",
|
|
2600
2600
|
props: {
|
|
2601
2601
|
day: Object
|
|
@@ -2622,9 +2622,9 @@ function lo(e, g, i, o, n, r) {
|
|
|
2622
2622
|
}
|
|
2623
2623
|
])
|
|
2624
2624
|
}, [
|
|
2625
|
-
t("p", Xa,
|
|
2626
|
-
t("p", eo,
|
|
2627
|
-
t("p", to,
|
|
2625
|
+
t("p", Xa, u(r.currentDay.dayName), 1),
|
|
2626
|
+
t("p", eo, u(r.currentDay.day), 1),
|
|
2627
|
+
t("p", to, u(r.currentDay.month), 1)
|
|
2628
2628
|
], 2);
|
|
2629
2629
|
}
|
|
2630
2630
|
const so = /* @__PURE__ */ Ce(Qa, [["render", lo]]), no = {
|
|
@@ -2661,7 +2661,7 @@ function io(e, g, i, o, n, r) {
|
|
|
2661
2661
|
"select-none text-center rounded-lg p-1"
|
|
2662
2662
|
])
|
|
2663
2663
|
}, [
|
|
2664
|
-
t("span", oo,
|
|
2664
|
+
t("span", oo, u(r.currentDay.price) + " " + u(i.currency), 1)
|
|
2665
2665
|
], 2)
|
|
2666
2666
|
]);
|
|
2667
2667
|
}
|
|
@@ -2680,7 +2680,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
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__ */ A({
|
|
2684
2684
|
__name: "uiPagination",
|
|
2685
2685
|
props: {
|
|
2686
2686
|
current: {},
|
|
@@ -2695,34 +2695,34 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
2695
2695
|
), a = j(
|
|
2696
2696
|
() => Math.min(Number(o.current) + Number(n.value), Number(o.total))
|
|
2697
2697
|
), d = j(() => {
|
|
2698
|
-
let
|
|
2698
|
+
let c = [];
|
|
2699
2699
|
for (let v = Number(r.value); v <= Number(a.value); v++)
|
|
2700
|
-
|
|
2701
|
-
return
|
|
2700
|
+
c.push(v);
|
|
2701
|
+
return c;
|
|
2702
2702
|
});
|
|
2703
|
-
return (
|
|
2703
|
+
return (c, 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, [
|
|
2707
2707
|
t("div", co, [
|
|
2708
2708
|
t("a", uo, [
|
|
2709
|
-
|
|
2709
|
+
G(c.$slots, "previous")
|
|
2710
2710
|
]),
|
|
2711
2711
|
t("a", go, [
|
|
2712
|
-
|
|
2712
|
+
G(c.$slots, "next")
|
|
2713
2713
|
])
|
|
2714
2714
|
]),
|
|
2715
2715
|
t("div", mo, [
|
|
2716
2716
|
t("div", null, [
|
|
2717
2717
|
t("p", fo, [
|
|
2718
|
-
|
|
2719
|
-
t("span", ho,
|
|
2720
|
-
|
|
2721
|
-
t("span", yo,
|
|
2722
|
-
|
|
2718
|
+
G(c.$slots, "showing"),
|
|
2719
|
+
t("span", ho, u(e.current), 1),
|
|
2720
|
+
G(c.$slots, "of"),
|
|
2721
|
+
t("span", yo, u(e.total), 1),
|
|
2722
|
+
G(c.$slots, "pages"),
|
|
2723
2723
|
v[2] || (v[2] = t("span", { class: "font-bold mx-1" }, "/", -1)),
|
|
2724
|
-
|
|
2725
|
-
t("span", bo,
|
|
2724
|
+
G(c.$slots, "fromTotal"),
|
|
2725
|
+
t("span", bo, u(e.totalItems), 1)
|
|
2726
2726
|
])
|
|
2727
2727
|
]),
|
|
2728
2728
|
t("div", null, [
|
|
@@ -2733,14 +2733,14 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
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, [
|
|
2736
|
-
|
|
2736
|
+
G(c.$slots, "previous")
|
|
2737
2737
|
]),
|
|
2738
2738
|
m(f(zt), {
|
|
2739
2739
|
class: "h-5 w-5",
|
|
2740
2740
|
"aria-hidden": "true"
|
|
2741
2741
|
})
|
|
2742
2742
|
], 512), [
|
|
2743
|
-
[
|
|
2743
|
+
[F, e.current !== 1]
|
|
2744
2744
|
]),
|
|
2745
2745
|
(l(!0), s(k, null, S(d.value, (p) => (l(), s("button", {
|
|
2746
2746
|
onClick: (C) => i("changePage", p),
|
|
@@ -2749,21 +2749,21 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
2749
2749
|
class: x([[
|
|
2750
2750
|
p === e.current ? "z-10 bg-lime-50 border-lime-400 text-black" : "bg-white border-gray-300 text-gray-500 hover:bg-gray-50"
|
|
2751
2751
|
], "relative inline-flex items-center px-4 py-2 border text-sm font-medium"])
|
|
2752
|
-
},
|
|
2752
|
+
}, u(p), 11, po))), 128)),
|
|
2753
2753
|
D(t("button", {
|
|
2754
2754
|
ref: "test-last-button",
|
|
2755
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, [
|
|
2759
|
-
|
|
2759
|
+
G(c.$slots, "next")
|
|
2760
2760
|
]),
|
|
2761
2761
|
m(f($e), {
|
|
2762
2762
|
class: "h-5 w-5",
|
|
2763
2763
|
"aria-hidden": "true"
|
|
2764
2764
|
})
|
|
2765
2765
|
], 512), [
|
|
2766
|
-
[
|
|
2766
|
+
[F, e.current !== e.total]
|
|
2767
2767
|
])
|
|
2768
2768
|
])
|
|
2769
2769
|
])
|
|
@@ -2777,31 +2777,31 @@ 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
|
+
}, Ao = {
|
|
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
|
+
}, To = { key: 0 }, Do = {
|
|
2785
2785
|
colspan: "6",
|
|
2786
2786
|
class: "pl-4"
|
|
2787
2787
|
}, Lo = { key: 1 }, Po = {
|
|
2788
2788
|
colspan: "6",
|
|
2789
2789
|
class: "pl-4"
|
|
2790
|
-
},
|
|
2790
|
+
}, _o = { key: 2 }, Fo = {
|
|
2791
2791
|
colspan: "6",
|
|
2792
2792
|
class: "pl-4"
|
|
2793
|
-
},
|
|
2793
|
+
}, Oo = {
|
|
2794
2794
|
colspan: "20",
|
|
2795
2795
|
scope: "colgroup",
|
|
2796
2796
|
class: "bg-gray-200 py-2 pl-4 pr-3 text-left font-semibold relative"
|
|
2797
|
-
},
|
|
2797
|
+
}, Io = {
|
|
2798
2798
|
key: 0,
|
|
2799
2799
|
class: "absolute top-0 left-12 flex h-12 items-center space-x-3 sm:left-48 bg-white shadow rounded px-4 py-1 z-10"
|
|
2800
|
-
}, Vo = ["onClick"],
|
|
2800
|
+
}, Vo = ["onClick"], No = {
|
|
2801
2801
|
colspan: "2",
|
|
2802
2802
|
scope: "colgroup",
|
|
2803
2803
|
class: "relative bg-gray-100 py-3.5 pl-4 pr-3 text-left font-semibold"
|
|
2804
|
-
},
|
|
2804
|
+
}, Ro = ["checked", "indeterminate"], qo = { class: "pl-6" }, Ho = {
|
|
2805
2805
|
colspan: "2",
|
|
2806
2806
|
scope: "colgroup",
|
|
2807
2807
|
class: "bg-gray-100 py-2 pl-4 pr-3 text-left font-semibold"
|
|
@@ -2815,16 +2815,16 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
2815
2815
|
}, Uo = {
|
|
2816
2816
|
key: 0,
|
|
2817
2817
|
class: "absolute inset-y-0 left-0 w-0.5 bg-lime-400"
|
|
2818
|
-
}, Zo = ["value"], Wo = { class: "pl-6" },
|
|
2818
|
+
}, Zo = ["value"], Wo = { class: "pl-6" }, Go = {
|
|
2819
2819
|
colspan: "2",
|
|
2820
2820
|
class: "pl-4"
|
|
2821
|
-
},
|
|
2821
|
+
}, Jo = {
|
|
2822
2822
|
colspan: "2",
|
|
2823
2823
|
class: "pl-4"
|
|
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__ */ A({
|
|
2828
2828
|
__name: "uiPriceCalendar",
|
|
2829
2829
|
props: {
|
|
2830
2830
|
loading: { type: Boolean },
|
|
@@ -2849,32 +2849,32 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
2849
2849
|
});
|
|
2850
2850
|
const d = j(() => {
|
|
2851
2851
|
let $ = [];
|
|
2852
|
-
for (let
|
|
2853
|
-
$.push(Y(r.value).add(
|
|
2852
|
+
for (let _ = 0; _ < 14; _++)
|
|
2853
|
+
$.push(Y(r.value).add(_, "day"));
|
|
2854
2854
|
return $;
|
|
2855
|
-
}),
|
|
2855
|
+
}), c = 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
|
|
2859
2859
|
), C = j(
|
|
2860
2860
|
() => i.pageSizeOptions && i.pageSizeOptions.length > 0
|
|
2861
|
-
),
|
|
2861
|
+
), N = j(() => i.pageSizeOptions ? i.pageSizeOptions.map(($) => ({
|
|
2862
2862
|
name: $.name,
|
|
2863
2863
|
value: String($.value),
|
|
2864
2864
|
active: !!($.active || i.currentPageSize && $.value === i.currentPageSize)
|
|
2865
2865
|
})) : []), E = ($) => {
|
|
2866
2866
|
Y($).isBefore(n.value) || (r.value = $, o("dateChanged", r.value));
|
|
2867
2867
|
}, P = ($) => {
|
|
2868
|
-
let
|
|
2869
|
-
return
|
|
2870
|
-
},
|
|
2871
|
-
a.value = $.target.checked ? i.rooms.map((
|
|
2872
|
-
}, K = () => o("changeCategoryBulkPrices"), re = ($) => o("changeCategorySelectionPrice", $), me = ($) => o("changeCategoryUpgradePrice", $), fe = ($) => o("tableAction", $), z = ($,
|
|
2868
|
+
let _ = i.category.selectionPrices.find((I) => Y(I.date).isSame($.date));
|
|
2869
|
+
return _ ? _.price : $.price;
|
|
2870
|
+
}, R = ($) => {
|
|
2871
|
+
a.value = $.target.checked ? i.rooms.map((_) => _.id) : [];
|
|
2872
|
+
}, K = () => o("changeCategoryBulkPrices"), re = ($) => o("changeCategorySelectionPrice", $), me = ($) => o("changeCategoryUpgradePrice", $), fe = ($) => o("tableAction", $), z = ($, _, I) => o("changeRoomPrice", { price: $, roomId: _, roomName: I }), q = ($) => {
|
|
2873
2873
|
o("changePage", $);
|
|
2874
2874
|
}, H = ($) => {
|
|
2875
2875
|
o("changePageSize", $.value);
|
|
2876
2876
|
};
|
|
2877
|
-
return ($,
|
|
2877
|
+
return ($, _) => (l(), s(k, null, [
|
|
2878
2878
|
e.loading ? b("", !0) : (l(), s("div", $o, [
|
|
2879
2879
|
t("div", Co, [
|
|
2880
2880
|
t("div", So, [
|
|
@@ -2883,25 +2883,25 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
2883
2883
|
t("tbody", zo, [
|
|
2884
2884
|
t("tr", null, [
|
|
2885
2885
|
t("th", jo, [
|
|
2886
|
-
m(
|
|
2886
|
+
m(Ia, {
|
|
2887
2887
|
selectedDate: r.value,
|
|
2888
|
-
onDateSelected:
|
|
2888
|
+
onDateSelected: _[0] || (_[0] = (I) => E(I))
|
|
2889
2889
|
}, null, 8, ["selectedDate"])
|
|
2890
2890
|
]),
|
|
2891
|
-
(l(!0), s(k, null, S(d.value, (
|
|
2891
|
+
(l(!0), s(k, null, S(d.value, (I, W) => (l(), s("th", {
|
|
2892
2892
|
scope: "col",
|
|
2893
2893
|
key: W,
|
|
2894
2894
|
class: "text-sm font-semibold p-0"
|
|
2895
2895
|
}, [
|
|
2896
2896
|
m(so, {
|
|
2897
2897
|
class: "border-l border-gray-200 px-6 py-3",
|
|
2898
|
-
day:
|
|
2898
|
+
day: I
|
|
2899
2899
|
}, null, 8, ["day"])
|
|
2900
2900
|
]))), 128))
|
|
2901
2901
|
]),
|
|
2902
2902
|
t("tr", null, [
|
|
2903
|
-
t("th",
|
|
2904
|
-
t("span", null,
|
|
2903
|
+
t("th", Ao, [
|
|
2904
|
+
t("span", null, u(e.literals.category) + " " + u(e.category.name), 1),
|
|
2905
2905
|
m(U, {
|
|
2906
2906
|
loading: e.loading,
|
|
2907
2907
|
class: "ml-4",
|
|
@@ -2909,91 +2909,91 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
2909
2909
|
onClick: K
|
|
2910
2910
|
}, {
|
|
2911
2911
|
default: y(() => [
|
|
2912
|
-
B(
|
|
2912
|
+
B(u(e.literals.changeInBulk), 1)
|
|
2913
2913
|
]),
|
|
2914
2914
|
_: 1
|
|
2915
2915
|
}, 8, ["loading"])
|
|
2916
2916
|
])
|
|
2917
2917
|
]),
|
|
2918
|
-
e.type === "discounts" ? (l(), s("tr",
|
|
2919
|
-
t("td", Do,
|
|
2920
|
-
(l(!0), s(k, null, S(e.category.selectionPrices, (
|
|
2918
|
+
e.type === "discounts" ? (l(), s("tr", To, [
|
|
2919
|
+
t("td", Do, u(e.literals.pricesDiscount), 1),
|
|
2920
|
+
(l(!0), s(k, null, S(e.category.selectionPrices, (I, W) => (l(), s("td", {
|
|
2921
2921
|
key: W,
|
|
2922
2922
|
class: "p-0"
|
|
2923
2923
|
}, [
|
|
2924
2924
|
m(Me, {
|
|
2925
|
-
onClick: (le) => re(
|
|
2925
|
+
onClick: (le) => re(I),
|
|
2926
2926
|
class: "border-l border-gray-200 px-6 py-3 text-black hover:text-lime-400 font-bold cursor-pointer",
|
|
2927
|
-
price:
|
|
2927
|
+
price: I,
|
|
2928
2928
|
currency: e.currency.symbol,
|
|
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
|
-
t("td", Po,
|
|
2935
|
-
(l(!0), s(k, null, S(e.category.selectionPrices, (
|
|
2934
|
+
t("td", Po, u(e.literals.pricesSelection), 1),
|
|
2935
|
+
(l(!0), s(k, null, S(e.category.selectionPrices, (I, W) => (l(), s("td", {
|
|
2936
2936
|
key: W,
|
|
2937
2937
|
class: "p-0"
|
|
2938
2938
|
}, [
|
|
2939
2939
|
m(Me, {
|
|
2940
|
-
onClick: (le) => re(
|
|
2940
|
+
onClick: (le) => re(I),
|
|
2941
2941
|
class: "border-l border-gray-200 px-6 py-3 text-black hover:text-lime-400 font-bold cursor-pointer",
|
|
2942
|
-
price:
|
|
2942
|
+
price: I,
|
|
2943
2943
|
currency: e.currency.symbol,
|
|
2944
2944
|
isBasePrice: !0
|
|
2945
2945
|
}, null, 8, ["onClick", "price", "currency"])
|
|
2946
2946
|
]))), 128))
|
|
2947
2947
|
])) : b("", !0),
|
|
2948
|
-
e.type === "prices" ? (l(), s("tr",
|
|
2949
|
-
t("td",
|
|
2950
|
-
(l(!0), s(k, null, S(e.category.upgradePrices, (
|
|
2948
|
+
e.type === "prices" ? (l(), s("tr", _o, [
|
|
2949
|
+
t("td", Fo, u(e.literals.pricesUpgrade), 1),
|
|
2950
|
+
(l(!0), s(k, null, S(e.category.upgradePrices, (I, W) => (l(), s("td", {
|
|
2951
2951
|
key: W,
|
|
2952
2952
|
class: "p-0"
|
|
2953
2953
|
}, [
|
|
2954
2954
|
m(Me, {
|
|
2955
|
-
onClick: (le) => me(
|
|
2955
|
+
onClick: (le) => me(I),
|
|
2956
2956
|
class: "border-l border-gray-200 px-6 py-3 text-black hover:text-lime-400 font-bold cursor-pointer bg-gray-100",
|
|
2957
|
-
price:
|
|
2957
|
+
price: I,
|
|
2958
2958
|
currency: e.currency.symbol,
|
|
2959
2959
|
isBasePrice: !0
|
|
2960
2960
|
}, null, 8, ["onClick", "price", "currency"])
|
|
2961
2961
|
]))), 128))
|
|
2962
2962
|
])) : b("", !0),
|
|
2963
2963
|
t("tr", null, [
|
|
2964
|
-
t("th",
|
|
2965
|
-
a.value?.length > 0 && e.actions?.length > 0 ? (l(), s("div",
|
|
2966
|
-
(l(!0), s(k, null, S(e.actions, (
|
|
2967
|
-
onClick: (le) => fe({ action:
|
|
2964
|
+
t("th", Oo, [
|
|
2965
|
+
a.value?.length > 0 && e.actions?.length > 0 ? (l(), s("div", Io, [
|
|
2966
|
+
(l(!0), s(k, null, S(e.actions, (I, W) => (l(), s("button", {
|
|
2967
|
+
onClick: (le) => fe({ action: I.id, items: a.value }),
|
|
2968
2968
|
key: W,
|
|
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
|
+
}, u(I.name), 9, Vo))), 128))
|
|
2972
2972
|
])) : b("", !0),
|
|
2973
|
-
t("span", null,
|
|
2973
|
+
t("span", null, u(e.literals.pricesSelection), 1)
|
|
2974
2974
|
])
|
|
2975
2975
|
]),
|
|
2976
2976
|
t("tr", null, [
|
|
2977
|
-
t("th",
|
|
2977
|
+
t("th", No, [
|
|
2978
2978
|
t("input", {
|
|
2979
2979
|
type: "checkbox",
|
|
2980
2980
|
class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-lime-400 focus:ring-lime-400",
|
|
2981
|
-
checked:
|
|
2982
|
-
indeterminate:
|
|
2983
|
-
onChange:
|
|
2984
|
-
}, null, 40,
|
|
2985
|
-
t("span", qo,
|
|
2981
|
+
checked: c.value || a.value.length === e.rooms.length,
|
|
2982
|
+
indeterminate: c.value,
|
|
2983
|
+
onChange: R
|
|
2984
|
+
}, null, 40, Ro),
|
|
2985
|
+
t("span", qo, u(e.literals.room), 1)
|
|
2986
2986
|
]),
|
|
2987
|
-
t("th", Ho,
|
|
2988
|
-
t("th", Yo,
|
|
2989
|
-
|
|
2987
|
+
t("th", Ho, u(e.literals.building), 1),
|
|
2988
|
+
t("th", Yo, u(e.literals.floor), 1),
|
|
2989
|
+
_[2] || (_[2] = t("th", {
|
|
2990
2990
|
colspan: "14",
|
|
2991
2991
|
scope: "colgroup",
|
|
2992
2992
|
class: "bg-gray-100 py-2 pl-4 pr-3 text-left font-semibold"
|
|
2993
2993
|
}, null, -1))
|
|
2994
2994
|
]),
|
|
2995
|
-
(l(!0), s(k, null, S(e.rooms, (
|
|
2996
|
-
key:
|
|
2995
|
+
(l(!0), s(k, null, S(e.rooms, (I) => (l(), s("tr", {
|
|
2996
|
+
key: I.name,
|
|
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, [
|
|
@@ -3001,21 +3001,21 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
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",
|
|
3004
|
-
value:
|
|
3005
|
-
"onUpdate:modelValue":
|
|
3004
|
+
value: I.name,
|
|
3005
|
+
"onUpdate:modelValue": _[1] || (_[1] = (W) => a.value = W)
|
|
3006
3006
|
}, null, 8, Zo), [
|
|
3007
3007
|
[yt, a.value]
|
|
3008
3008
|
]),
|
|
3009
|
-
t("span", Wo,
|
|
3009
|
+
t("span", Wo, u(I.name), 1)
|
|
3010
3010
|
]),
|
|
3011
|
-
t("td",
|
|
3012
|
-
t("td",
|
|
3013
|
-
(l(!0), s(k, null, S(
|
|
3011
|
+
t("td", Go, u(I.building), 1),
|
|
3012
|
+
t("td", Jo, u(I.floor), 1),
|
|
3013
|
+
(l(!0), s(k, null, S(I.selectionPrices, (W, le) => (l(), s("td", {
|
|
3014
3014
|
class: "p-0",
|
|
3015
3015
|
key: le
|
|
3016
3016
|
}, [
|
|
3017
3017
|
m(Me, {
|
|
3018
|
-
onClick: (st) => z(W,
|
|
3018
|
+
onClick: (st) => z(W, I.id, I.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,
|
|
@@ -3033,7 +3033,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3033
3033
|
C.value ? (l(), s("div", Qo, [
|
|
3034
3034
|
m(ge, {
|
|
3035
3035
|
verticalPosition: "top",
|
|
3036
|
-
items:
|
|
3036
|
+
items: N.value,
|
|
3037
3037
|
loading: i.loading,
|
|
3038
3038
|
onOptionSelected: H
|
|
3039
3039
|
}, null, 8, ["items", "loading"])
|
|
@@ -3049,22 +3049,22 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3049
3049
|
loading: i.loading,
|
|
3050
3050
|
onChangePage: q
|
|
3051
3051
|
}, {
|
|
3052
|
-
previous: y(() => [...
|
|
3052
|
+
previous: y(() => [..._[3] || (_[3] = [
|
|
3053
3053
|
B("Anterior", -1)
|
|
3054
3054
|
])]),
|
|
3055
|
-
next: y(() => [...
|
|
3055
|
+
next: y(() => [..._[4] || (_[4] = [
|
|
3056
3056
|
B("Siguiente", -1)
|
|
3057
3057
|
])]),
|
|
3058
|
-
showing: y(() => [...
|
|
3058
|
+
showing: y(() => [..._[5] || (_[5] = [
|
|
3059
3059
|
B("Mostrando", -1)
|
|
3060
3060
|
])]),
|
|
3061
|
-
of: y(() => [...
|
|
3061
|
+
of: y(() => [..._[6] || (_[6] = [
|
|
3062
3062
|
B("de", -1)
|
|
3063
3063
|
])]),
|
|
3064
|
-
pages: y(() => [...
|
|
3064
|
+
pages: y(() => [..._[7] || (_[7] = [
|
|
3065
3065
|
B("páginas", -1)
|
|
3066
3066
|
])]),
|
|
3067
|
-
fromTotal: y(() => [...
|
|
3067
|
+
fromTotal: y(() => [..._[8] || (_[8] = [
|
|
3068
3068
|
B("Elementos totales:", -1)
|
|
3069
3069
|
])]),
|
|
3070
3070
|
_: 1
|
|
@@ -3073,12 +3073,12 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3073
3073
|
])) : (l(), w(Lt, { key: 2 }))
|
|
3074
3074
|
], 64));
|
|
3075
3075
|
}
|
|
3076
|
-
}), tt = /* @__PURE__ */
|
|
3076
|
+
}), tt = /* @__PURE__ */ A({
|
|
3077
3077
|
__name: "ApexChartWrapper",
|
|
3078
3078
|
emits: ["updated", "mounted", "dataPointSelection"],
|
|
3079
3079
|
setup(e) {
|
|
3080
3080
|
const g = V(null);
|
|
3081
|
-
return
|
|
3081
|
+
return Fe(async () => {
|
|
3082
3082
|
if (typeof window < "u")
|
|
3083
3083
|
try {
|
|
3084
3084
|
const { default: i } = await import("vue3-apexcharts");
|
|
@@ -3086,7 +3086,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3086
3086
|
} catch (i) {
|
|
3087
3087
|
console.error("Failed to load ApexCharts:", i);
|
|
3088
3088
|
}
|
|
3089
|
-
}), (i, o) => g.value ? (l(), w(
|
|
3089
|
+
}), (i, o) => g.value ? (l(), w(_e(g.value), Le({
|
|
3090
3090
|
key: 0,
|
|
3091
3091
|
class: "h-auto"
|
|
3092
3092
|
}, i.$attrs, {
|
|
@@ -3098,7 +3098,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
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__ */ A({
|
|
3102
3102
|
__name: "uiChart",
|
|
3103
3103
|
props: {
|
|
3104
3104
|
labels: {},
|
|
@@ -3181,35 +3181,35 @@ 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
|
|
3184
|
+
const c = () => (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(() =>
|
|
3187
|
-
i("dataPointSelection", { id: n.id, chartContext:
|
|
3186
|
+
}, p = j(() => n.series), C = j(() => c()), N = () => i("chartUpdated"), E = (P, R, K) => {
|
|
3187
|
+
i("dataPointSelection", { id: n.id, chartContext: R, config: K, event: P });
|
|
3188
3188
|
};
|
|
3189
|
-
return (P,
|
|
3189
|
+
return (P, R) => (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
3192
|
style: qe({ height: e.height + "px" })
|
|
3193
3193
|
}, [
|
|
3194
3194
|
t("div", ei, [
|
|
3195
|
-
t("div", ti,
|
|
3195
|
+
t("div", ti, u(e.title), 1),
|
|
3196
3196
|
e.isNps && e.npsLiterals ? (l(), s("div", li, [
|
|
3197
|
-
m(
|
|
3197
|
+
m(J, {
|
|
3198
3198
|
size: "small",
|
|
3199
3199
|
color: "red",
|
|
3200
3200
|
loading: !1
|
|
3201
3201
|
}, {
|
|
3202
3202
|
default: y(() => [
|
|
3203
3203
|
m(L, {
|
|
3204
|
-
icon: f(
|
|
3204
|
+
icon: f(Gl),
|
|
3205
3205
|
loading: !1,
|
|
3206
3206
|
color: "red"
|
|
3207
3207
|
}, null, 8, ["icon"]),
|
|
3208
|
-
t("span", si,
|
|
3208
|
+
t("span", si, u(e.npsLiterals.unhappy), 1)
|
|
3209
3209
|
]),
|
|
3210
3210
|
_: 1
|
|
3211
3211
|
}),
|
|
3212
|
-
m(
|
|
3212
|
+
m(J, {
|
|
3213
3213
|
size: "small",
|
|
3214
3214
|
color: "yellow",
|
|
3215
3215
|
loading: !1
|
|
@@ -3220,22 +3220,22 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3220
3220
|
loading: !1,
|
|
3221
3221
|
color: "yellow"
|
|
3222
3222
|
}, null, 8, ["icon"]),
|
|
3223
|
-
t("span", ni,
|
|
3223
|
+
t("span", ni, u(e.npsLiterals.neutral), 1)
|
|
3224
3224
|
]),
|
|
3225
3225
|
_: 1
|
|
3226
3226
|
}),
|
|
3227
|
-
m(
|
|
3227
|
+
m(J, {
|
|
3228
3228
|
size: "small",
|
|
3229
3229
|
color: "green",
|
|
3230
3230
|
loading: !1
|
|
3231
3231
|
}, {
|
|
3232
3232
|
default: y(() => [
|
|
3233
3233
|
m(L, {
|
|
3234
|
-
icon: f(
|
|
3234
|
+
icon: f(Jl),
|
|
3235
3235
|
loading: !1,
|
|
3236
3236
|
color: "green"
|
|
3237
3237
|
}, null, 8, ["icon"]),
|
|
3238
|
-
t("span", ai,
|
|
3238
|
+
t("span", ai, u(e.npsLiterals.happy), 1)
|
|
3239
3239
|
]),
|
|
3240
3240
|
_: 1
|
|
3241
3241
|
})
|
|
@@ -3244,7 +3244,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3244
3244
|
t("div", ii, [
|
|
3245
3245
|
D(t("input", {
|
|
3246
3246
|
type: "datetime-local",
|
|
3247
|
-
"onUpdate:modelValue":
|
|
3247
|
+
"onUpdate:modelValue": R[0] || (R[0] = (K) => f(r).from = K),
|
|
3248
3248
|
max: o.value.toString(),
|
|
3249
3249
|
onChange: v,
|
|
3250
3250
|
name: "from",
|
|
@@ -3257,7 +3257,7 @@ 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":
|
|
3260
|
+
"onUpdate:modelValue": R[1] || (R[1] = (K) => f(r).to = K),
|
|
3261
3261
|
max: o.value.toString(),
|
|
3262
3262
|
onChange: v,
|
|
3263
3263
|
name: "to",
|
|
@@ -3272,7 +3272,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3272
3272
|
size: "big",
|
|
3273
3273
|
loading: e.loading,
|
|
3274
3274
|
icon: f(St),
|
|
3275
|
-
onClick:
|
|
3275
|
+
onClick: R[2] || (R[2] = (K) => P.$emit("maximizeChart", e.id))
|
|
3276
3276
|
}, null, 8, ["loading", "icon"])
|
|
3277
3277
|
])
|
|
3278
3278
|
]),
|
|
@@ -3283,12 +3283,12 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3283
3283
|
series: p.value,
|
|
3284
3284
|
height: "100%",
|
|
3285
3285
|
options: C.value,
|
|
3286
|
-
onUpdated:
|
|
3287
|
-
onMounted:
|
|
3286
|
+
onUpdated: N,
|
|
3287
|
+
onMounted: N,
|
|
3288
3288
|
onDataPointSelection: E
|
|
3289
3289
|
}, null, 8, ["type", "series", "options"])
|
|
3290
3290
|
], 512), [
|
|
3291
|
-
[
|
|
3291
|
+
[F, !e.empty]
|
|
3292
3292
|
]),
|
|
3293
3293
|
D(t("div", gi, [
|
|
3294
3294
|
m(L, {
|
|
@@ -3297,14 +3297,14 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3297
3297
|
loading: !1,
|
|
3298
3298
|
size: "massive"
|
|
3299
3299
|
}, null, 8, ["icon"]),
|
|
3300
|
-
|
|
3300
|
+
R[3] || (R[3] = t("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data for this time frame", -1))
|
|
3301
3301
|
], 512), [
|
|
3302
|
-
[
|
|
3302
|
+
[F, e.empty]
|
|
3303
3303
|
])
|
|
3304
3304
|
], 4), [
|
|
3305
|
-
[
|
|
3305
|
+
[F, !e.loading]
|
|
3306
3306
|
]),
|
|
3307
|
-
D(t("div", mi, [...
|
|
3307
|
+
D(t("div", mi, [...R[4] || (R[4] = [
|
|
3308
3308
|
t("div", {
|
|
3309
3309
|
role: "status",
|
|
3310
3310
|
class: "w-full animate-pulse h-full flex flex-col"
|
|
@@ -3331,7 +3331,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3331
3331
|
])
|
|
3332
3332
|
], -1)
|
|
3333
3333
|
])], 512), [
|
|
3334
|
-
[
|
|
3334
|
+
[F, e.loading]
|
|
3335
3335
|
])
|
|
3336
3336
|
], 64));
|
|
3337
3337
|
}
|
|
@@ -3347,7 +3347,7 @@ function bi(e, g, i, o, n, r) {
|
|
|
3347
3347
|
], -1)
|
|
3348
3348
|
])]);
|
|
3349
3349
|
}
|
|
3350
|
-
const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */
|
|
3350
|
+
const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
3351
3351
|
__name: "uiLoadingScreen",
|
|
3352
3352
|
props: {
|
|
3353
3353
|
title: {},
|
|
@@ -3367,11 +3367,11 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3367
3367
|
alt: "loading animation"
|
|
3368
3368
|
})
|
|
3369
3369
|
], -1)),
|
|
3370
|
-
D(t("h2", { class: "text-xs font-bold text-center uppercase mb-2" },
|
|
3371
|
-
[
|
|
3370
|
+
D(t("h2", { class: "text-xs font-bold text-center uppercase mb-2" }, u(e.title), 513), [
|
|
3371
|
+
[F, e.title]
|
|
3372
3372
|
]),
|
|
3373
|
-
D(t("p", { class: "text-xs text-center uppercase md:w-1/4" },
|
|
3374
|
-
[
|
|
3373
|
+
D(t("p", { class: "text-xs text-center uppercase md:w-1/4" }, u(e.message), 513), [
|
|
3374
|
+
[F, e.message]
|
|
3375
3375
|
])
|
|
3376
3376
|
], 2));
|
|
3377
3377
|
}
|
|
@@ -3390,10 +3390,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3390
3390
|
}, ji = {
|
|
3391
3391
|
key: 0,
|
|
3392
3392
|
class: "align-left"
|
|
3393
|
-
},
|
|
3393
|
+
}, Ai = {
|
|
3394
3394
|
key: 1,
|
|
3395
3395
|
class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2"
|
|
3396
|
-
},
|
|
3396
|
+
}, Ti = { class: "h-12 flex flex-row items-center" }, Di = /* @__PURE__ */ A({
|
|
3397
3397
|
__name: "uiSidebar",
|
|
3398
3398
|
props: {
|
|
3399
3399
|
navigation: {},
|
|
@@ -3409,18 +3409,18 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
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", Ti, [...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, {
|
|
3416
3416
|
key: d.name
|
|
3417
3417
|
}, [
|
|
3418
|
-
d.children ? (l(), w(f(
|
|
3418
|
+
d.children ? (l(), w(f(Oe), {
|
|
3419
3419
|
key: 1,
|
|
3420
3420
|
as: "div",
|
|
3421
3421
|
class: "space-y-1"
|
|
3422
3422
|
}, {
|
|
3423
|
-
default: y(({ open:
|
|
3423
|
+
default: y(({ open: c }) => [
|
|
3424
3424
|
m(f(se), {
|
|
3425
3425
|
class: x([d.current ? "bg-indigo-600 text-white" : "text-gray-600 hover:bg-gray-50 hover:text-gray-900", "group w-full flex items-center pl-2 pr-1 py-2 text-left text-sm font-medium rounded-md focus:outline-none"])
|
|
3426
3426
|
}, {
|
|
@@ -3437,14 +3437,14 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3437
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
|
-
])])) : (l(), s("span", Mi,
|
|
3440
|
+
])])) : (l(), s("span", Mi, u(d.name), 1)),
|
|
3441
3441
|
m(f($e), {
|
|
3442
|
-
class: x([
|
|
3442
|
+
class: x([c ? "text-black rotate-90" : "text-gray-400", "mr-3 flex-shrink-0 h-3 w-3 transform group-hover:text-gray-400 transition-colors ease-in-out duration-150"])
|
|
3443
3443
|
}, null, 8, ["class"])
|
|
3444
3444
|
]),
|
|
3445
3445
|
_: 2
|
|
3446
3446
|
}, 1032, ["class"]),
|
|
3447
|
-
m(f(
|
|
3447
|
+
m(f(Ie), { class: "space-y-1" }, {
|
|
3448
3448
|
default: y(() => [
|
|
3449
3449
|
(l(!0), s(k, null, S(d.children, (v) => (l(), w(f(se), {
|
|
3450
3450
|
onClick: (p) => o("sideBarClick", v.id),
|
|
@@ -3452,7 +3452,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3452
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", Ai)) : (l(), s("span", ji, u(v.name), 1))
|
|
3456
3456
|
]),
|
|
3457
3457
|
_: 2
|
|
3458
3458
|
}, 1032, ["onClick", "class"]))), 128))
|
|
@@ -3463,7 +3463,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3463
3463
|
_: 2
|
|
3464
3464
|
}, 1024)) : (l(), s("div", Ci, [
|
|
3465
3465
|
t("button", {
|
|
3466
|
-
onClick: (
|
|
3466
|
+
onClick: (c) => o("sideBarClick", d.id),
|
|
3467
3467
|
class: x([
|
|
3468
3468
|
d.current ? "bg-indigo-600 text-white" : "text-gray-600 hover:bg-gray-50 hover:text-gray-900",
|
|
3469
3469
|
"group w-full flex items-center pl-2 py-2 text-sm font-medium rounded-md"
|
|
@@ -3479,7 +3479,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3479
3479
|
]),
|
|
3480
3480
|
"aria-hidden": "true"
|
|
3481
3481
|
}, null, 8, ["loading", "icon", "class"])) : b("", !0),
|
|
3482
|
-
e.loading ? b("", !0) : (l(), s("span", Bi,
|
|
3482
|
+
e.loading ? b("", !0) : (l(), s("span", Bi, u(d.name), 1))
|
|
3483
3483
|
], 10, Si)
|
|
3484
3484
|
]))
|
|
3485
3485
|
], 64))), 128))
|
|
@@ -3488,10 +3488,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3488
3488
|
])
|
|
3489
3489
|
]));
|
|
3490
3490
|
}
|
|
3491
|
-
}), Li = { class: "flex flex-row grow border-r border-gray-200 bg-white pr-6 h-screen" }, Pi = { class: "bg-black w-16 mr-6 flex-shrink-0" },
|
|
3491
|
+
}), Li = { class: "flex flex-row grow border-r border-gray-200 bg-white pr-6 h-screen" }, Pi = { class: "bg-black w-16 mr-6 flex-shrink-0" }, _i = ["onClick"], Fi = ["src", "alt"], Oi = {
|
|
3492
3492
|
key: 0,
|
|
3493
3493
|
class: "flex flex-col grow h-full"
|
|
3494
|
-
},
|
|
3494
|
+
}, Ii = ["src"], Vi = { class: "flex flex-1 flex-col overflow-hidden mt-8" }, Ni = { class: "flex-1 overflow-y-auto pr-6" }, Ri = {
|
|
3495
3495
|
key: 0,
|
|
3496
3496
|
role: "list",
|
|
3497
3497
|
class: "flex flex-col gap-y-7 mb-4"
|
|
@@ -3505,7 +3505,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
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" },
|
|
3508
|
+
}, Wi = { class: "flex-1 overflow-y-auto pr-6" }, Gi = { class: "h-12 flex flex-row items-center" }, Ue = /* @__PURE__ */ A({
|
|
3509
3509
|
__name: "uiSidebarV2",
|
|
3510
3510
|
props: {
|
|
3511
3511
|
navigation: {},
|
|
@@ -3524,23 +3524,23 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3524
3524
|
(l(!0), s(k, null, S(e.productsSidebar, (a, d) => (l(), s("li", {
|
|
3525
3525
|
key: d,
|
|
3526
3526
|
class: x([{ "!bg-lime-400": a.active }, "w-full h-16 p-4 flex items-center justify-center cursor-pointer hover:bg-lime-400 hover:text-black"]),
|
|
3527
|
-
onClick: (
|
|
3527
|
+
onClick: (c) => n.$emit("productBarClick", a.name)
|
|
3528
3528
|
}, [
|
|
3529
3529
|
t("img", {
|
|
3530
3530
|
src: a.icon,
|
|
3531
3531
|
alt: a.name
|
|
3532
|
-
}, null, 8,
|
|
3533
|
-
], 10,
|
|
3532
|
+
}, null, 8, Fi)
|
|
3533
|
+
], 10, _i))), 128))
|
|
3534
3534
|
])
|
|
3535
3535
|
]),
|
|
3536
3536
|
e.loading ? (l(), s("div", Zi, [
|
|
3537
3537
|
t("div", Wi, [
|
|
3538
|
-
(l(), s(k, null, S(5, (a) => t("div",
|
|
3538
|
+
(l(), s(k, null, S(5, (a) => t("div", Gi, [...r[2] || (r[2] = [
|
|
3539
3539
|
t("div", { class: "w-6 h-6 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 mr-4" }, null, -1),
|
|
3540
3540
|
t("div", { class: "h-3 animate-pulse bg-gray-200 rounded-full w-1/2 dark:bg-gray-300" }, null, -1)
|
|
3541
3541
|
])])), 64))
|
|
3542
3542
|
])
|
|
3543
|
-
])) : (l(), s("div",
|
|
3543
|
+
])) : (l(), s("div", Oi, [
|
|
3544
3544
|
t("div", {
|
|
3545
3545
|
class: "flex h-16 shrink-0 items-center",
|
|
3546
3546
|
onClick: r[0] || (r[0] = (a) => n.$emit("sideBarClick", "logo"))
|
|
@@ -3549,17 +3549,17 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3549
3549
|
class: "h-10 w-auto self-center cursor-pointer",
|
|
3550
3550
|
src: e.logo,
|
|
3551
3551
|
alt: "Your Company"
|
|
3552
|
-
}, null, 8,
|
|
3552
|
+
}, null, 8, Ii)
|
|
3553
3553
|
]),
|
|
3554
3554
|
t("nav", Vi, [
|
|
3555
|
-
t("div",
|
|
3556
|
-
e.isFilterNavigation ? b("", !0) : (l(), s("ul",
|
|
3555
|
+
t("div", Ni, [
|
|
3556
|
+
e.isFilterNavigation ? b("", !0) : (l(), s("ul", Ri, [
|
|
3557
3557
|
t("li", null, [
|
|
3558
3558
|
t("ul", qi, [
|
|
3559
3559
|
(l(!0), s(k, null, S(o.value, (a) => (l(), s("li", {
|
|
3560
3560
|
key: a.name
|
|
3561
3561
|
}, [
|
|
3562
|
-
a.children ? (l(), w(f(
|
|
3562
|
+
a.children ? (l(), w(f(Oe), {
|
|
3563
3563
|
key: 1,
|
|
3564
3564
|
as: "div"
|
|
3565
3565
|
}, {
|
|
@@ -3577,7 +3577,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3577
3577
|
"aria-hidden": "true",
|
|
3578
3578
|
class: "shrink-0"
|
|
3579
3579
|
}, null, 8, ["icon"]),
|
|
3580
|
-
B(" " +
|
|
3580
|
+
B(" " + u(a.name) + " ", 1),
|
|
3581
3581
|
m(f($e), {
|
|
3582
3582
|
class: x([a.children.some((d) => d.current) || a.current ? "rotate-90 text-black" : "text-gray-400", "ml-auto h-5 w-5 shrink-0"]),
|
|
3583
3583
|
"aria-hidden": "true"
|
|
@@ -3586,7 +3586,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3586
3586
|
_: 2
|
|
3587
3587
|
}, 1032, ["onClick", "class"]),
|
|
3588
3588
|
D(t("div", null, [
|
|
3589
|
-
m(f(
|
|
3589
|
+
m(f(Ie), {
|
|
3590
3590
|
as: "ul",
|
|
3591
3591
|
class: "mt-1 px-2",
|
|
3592
3592
|
static: ""
|
|
@@ -3597,11 +3597,11 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3597
3597
|
}, [
|
|
3598
3598
|
m(f(se), {
|
|
3599
3599
|
as: "a",
|
|
3600
|
-
onClick: (
|
|
3600
|
+
onClick: (c) => n.$emit("sideBarClick", d.id),
|
|
3601
3601
|
class: x([d.current ? "bg-lime-100" : "hover:bg-lime-100", "block rounded-md py-2 pl-9 pr-2 text-sm leading-6 text-gray-700 cursor-pointer"])
|
|
3602
3602
|
}, {
|
|
3603
3603
|
default: y(() => [
|
|
3604
|
-
B(
|
|
3604
|
+
B(u(d.name), 1)
|
|
3605
3605
|
]),
|
|
3606
3606
|
_: 2
|
|
3607
3607
|
}, 1032, ["onClick", "class"])
|
|
@@ -3610,7 +3610,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3610
3610
|
_: 2
|
|
3611
3611
|
}, 1024)
|
|
3612
3612
|
], 512), [
|
|
3613
|
-
[
|
|
3613
|
+
[F, a.children.some((d) => d.current) || a.current]
|
|
3614
3614
|
])
|
|
3615
3615
|
]),
|
|
3616
3616
|
_: 2
|
|
@@ -3627,7 +3627,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3627
3627
|
"aria-hidden": "true",
|
|
3628
3628
|
class: "shrink-0"
|
|
3629
3629
|
}, null, 8, ["icon"]),
|
|
3630
|
-
B(" " +
|
|
3630
|
+
B(" " + u(a.name), 1)
|
|
3631
3631
|
], 10, Hi))
|
|
3632
3632
|
]))), 128))
|
|
3633
3633
|
])
|
|
@@ -3649,14 +3649,14 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3649
3649
|
class: "ml-2",
|
|
3650
3650
|
key: d
|
|
3651
3651
|
}, [
|
|
3652
|
-
t("p", Ui,
|
|
3653
|
-
(l(!0), s(k, null, S(a.filters, (
|
|
3652
|
+
t("p", Ui, u(a.label), 1),
|
|
3653
|
+
(l(!0), s(k, null, S(a.filters, (c, v) => (l(), w(ue, {
|
|
3654
3654
|
class: "mb-2",
|
|
3655
|
-
value:
|
|
3656
|
-
loading:
|
|
3655
|
+
value: c.value,
|
|
3656
|
+
loading: c.loading
|
|
3657
3657
|
}, {
|
|
3658
3658
|
default: y(() => [
|
|
3659
|
-
B(c
|
|
3659
|
+
B(u(c.text), 1)
|
|
3660
3660
|
]),
|
|
3661
3661
|
_: 2
|
|
3662
3662
|
}, 1032, ["value", "loading"]))), 256))
|
|
@@ -3667,10 +3667,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3667
3667
|
]))
|
|
3668
3668
|
]));
|
|
3669
3669
|
}
|
|
3670
|
-
}),
|
|
3670
|
+
}), Ji = { 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" },
|
|
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" }, _t = /* @__PURE__ */ A({
|
|
3674
3674
|
__name: "uiStats",
|
|
3675
3675
|
props: {
|
|
3676
3676
|
item: {},
|
|
@@ -3697,7 +3697,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3697
3697
|
], -1))
|
|
3698
3698
|
])
|
|
3699
3699
|
])
|
|
3700
|
-
])) : (l(), s("div",
|
|
3700
|
+
])) : (l(), s("div", Ji, [
|
|
3701
3701
|
t("div", {
|
|
3702
3702
|
class: x(["relative bg-white pt-5 px-4 sm:pt-6 sm:px-6 shadow rounded-lg overflow-hidden h-full", { "pb-12": e.item.showFooter }])
|
|
3703
3703
|
}, [
|
|
@@ -3716,11 +3716,11 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3716
3716
|
loading: e.loading
|
|
3717
3717
|
}, null, 8, ["icon", "loading"])
|
|
3718
3718
|
], 2),
|
|
3719
|
-
t("p", Ki,
|
|
3719
|
+
t("p", Ki, u(e.item.name), 1)
|
|
3720
3720
|
]),
|
|
3721
3721
|
t("dd", Qi, [
|
|
3722
|
-
t("p", Xi,
|
|
3723
|
-
e.item.explanation ? (l(), s("p", er,
|
|
3722
|
+
t("p", Xi, u(e.item.stat), 1),
|
|
3723
|
+
e.item.explanation ? (l(), s("p", er, u(e.item.explanation), 1)) : b("", !0),
|
|
3724
3724
|
e.item.changeType ? (l(), s("p", {
|
|
3725
3725
|
key: 1,
|
|
3726
3726
|
class: x([
|
|
@@ -3737,22 +3737,22 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
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
|
-
e.item.changeType === "decrease" ? (l(), w(f(
|
|
3740
|
+
e.item.changeType === "decrease" ? (l(), w(f(Nl), {
|
|
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
|
-
B(" " +
|
|
3745
|
+
B(" " + u(e.item.change), 1)
|
|
3746
3746
|
], 2)) : b("", !0),
|
|
3747
3747
|
D(t("div", tr, [
|
|
3748
3748
|
t("div", lr, [
|
|
3749
3749
|
t("span", {
|
|
3750
3750
|
onClick: o[0] || (o[0] = (n) => i.$emit("statClick", e.item.id)),
|
|
3751
3751
|
class: "font-medium text-black hover:text-lime-400 underline cursor-pointer"
|
|
3752
|
-
},
|
|
3752
|
+
}, u(e.item.actionText), 1)
|
|
3753
3753
|
])
|
|
3754
3754
|
], 512), [
|
|
3755
|
-
[
|
|
3755
|
+
[F, e.item.showFooter]
|
|
3756
3756
|
])
|
|
3757
3757
|
])
|
|
3758
3758
|
], 2)
|
|
@@ -3770,7 +3770,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3770
3770
|
}, hr = {
|
|
3771
3771
|
key: 1,
|
|
3772
3772
|
class: "overflow-hidden bg-white shadow sm:rounded-lg"
|
|
3773
|
-
}, yr = { class: "border-t border-gray-200" }, br = /* @__PURE__ */
|
|
3773
|
+
}, yr = { class: "border-t border-gray-200" }, br = /* @__PURE__ */ A({
|
|
3774
3774
|
__name: "uiStripedCard",
|
|
3775
3775
|
props: {
|
|
3776
3776
|
title: {},
|
|
@@ -3799,8 +3799,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3799
3799
|
])
|
|
3800
3800
|
])) : (l(), s("div", or, [
|
|
3801
3801
|
t("div", ir, [
|
|
3802
|
-
t("h3", rr,
|
|
3803
|
-
t("p", dr,
|
|
3802
|
+
t("h3", rr, u(e.title), 1),
|
|
3803
|
+
t("p", dr, u(e.subtitle), 1)
|
|
3804
3804
|
]),
|
|
3805
3805
|
t("div", cr, [
|
|
3806
3806
|
t("dl", null, [
|
|
@@ -3808,16 +3808,16 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3808
3808
|
key: n,
|
|
3809
3809
|
class: x(["px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6", [n % 2 === 0 ? "bg-gray-50" : "bg-white"]])
|
|
3810
3810
|
}, [
|
|
3811
|
-
t("dt", ur,
|
|
3811
|
+
t("dt", ur, u(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(J, {
|
|
3814
3814
|
loading: e.loading,
|
|
3815
3815
|
key: a,
|
|
3816
3816
|
color: r.color,
|
|
3817
3817
|
class: "mr-2 mb-2"
|
|
3818
3818
|
}, {
|
|
3819
3819
|
default: y(() => [
|
|
3820
|
-
B(
|
|
3820
|
+
B(u(r.text), 1)
|
|
3821
3821
|
]),
|
|
3822
3822
|
_: 2
|
|
3823
3823
|
}, 1032, ["loading", "color"]))), 128))
|
|
@@ -3825,7 +3825,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3825
3825
|
key: 1,
|
|
3826
3826
|
class: "mt-1 text-sm text-lime-600 hover:text-black sm:col-span-2 sm:mt-0 cursor-pointer",
|
|
3827
3827
|
onClick: (r) => g.$emit("itemClicked", o.emits)
|
|
3828
|
-
},
|
|
3828
|
+
}, u(o.text), 9, mr)) : (l(), s("dd", fr, u(o.text), 1))
|
|
3829
3829
|
], 2))), 128))
|
|
3830
3830
|
])
|
|
3831
3831
|
])
|
|
@@ -3864,7 +3864,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3864
3864
|
size: "big"
|
|
3865
3865
|
}, null, 8, ["icon"])
|
|
3866
3866
|
]),
|
|
3867
|
-
t("span", xr,
|
|
3867
|
+
t("span", xr, u(e.tip), 1)
|
|
3868
3868
|
]));
|
|
3869
3869
|
}
|
|
3870
3870
|
}, wr = { class: "hidden py-0.5 px-2.5 rounded text-xs font-medium md:inline-block bg-lime-400 text-gray-900" }, kr = {
|
|
@@ -3873,7 +3873,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
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__ */ A({
|
|
3877
3877
|
__name: "uiSmartFilterMultipleV2",
|
|
3878
3878
|
props: {
|
|
3879
3879
|
literals: { default: () => ({
|
|
@@ -3891,7 +3891,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
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 = (z) => z ? z === "uiInput" ? i.literals.contains : i.literals.is : "",
|
|
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 : "", c = (z) => {
|
|
3895
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) {
|
|
@@ -3904,8 +3904,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3904
3904
|
if (q.type === "uiInput")
|
|
3905
3905
|
$.props.value = q.value || "";
|
|
3906
3906
|
else if (q.type === "uiSelect") {
|
|
3907
|
-
const
|
|
3908
|
-
|
|
3907
|
+
const _ = H.defaultProps.items?.find((I) => I.name === q.value);
|
|
3908
|
+
_ ? $.props.select = _ : H.defaultProps.items && H.defaultProps.items.length > 0 && ($.props.select = H.defaultProps.items[0]);
|
|
3909
3909
|
}
|
|
3910
3910
|
r.push($);
|
|
3911
3911
|
}
|
|
@@ -3916,7 +3916,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3916
3916
|
}, { deep: !0 }), Z(() => i.availableCategories, (z) => {
|
|
3917
3917
|
z.length > 0 && (!a.value.name || !z.some((q) => q.name === a.value.name)) && (a.value = z[0]);
|
|
3918
3918
|
}, { deep: !0, immediate: !0 }), Z(() => i.filters, (z) => {
|
|
3919
|
-
z &&
|
|
3919
|
+
z && c(z);
|
|
3920
3920
|
}, { deep: !0, immediate: !0 });
|
|
3921
3921
|
const v = j(() => [
|
|
3922
3922
|
{ id: "1", name: i.literals.and },
|
|
@@ -3929,7 +3929,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3929
3929
|
id: a.value.name,
|
|
3930
3930
|
label: a.value.label,
|
|
3931
3931
|
name: a.value.name
|
|
3932
|
-
})),
|
|
3932
|
+
})), N = j(() => r.map((z) => z.type === "uiInput" ? {
|
|
3933
3933
|
name: z.label,
|
|
3934
3934
|
operator: i.literals.contains,
|
|
3935
3935
|
value: z.props.value || ""
|
|
@@ -3946,7 +3946,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3946
3946
|
}, P = (z) => {
|
|
3947
3947
|
const q = Array.isArray(z) ? z[0] : z, H = i.availableCategories.find(($) => $.name === q.id);
|
|
3948
3948
|
H && (a.value = H);
|
|
3949
|
-
},
|
|
3949
|
+
}, R = () => {
|
|
3950
3950
|
if (!a.value || !a.value.name)
|
|
3951
3951
|
return;
|
|
3952
3952
|
const z = {
|
|
@@ -3985,10 +3985,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3985
3985
|
default: y(() => [
|
|
3986
3986
|
m(f($l), { class: "inline-flex items-center gap-x-2 text-sm/6 font-semibold text-gray-900 outline-none flex-wrap gap-y-1 w-full max-w-full" }, {
|
|
3987
3987
|
default: y(() => [
|
|
3988
|
-
t("span", null,
|
|
3989
|
-
(l(!0), s(k, null, S(
|
|
3990
|
-
t("span", wr,
|
|
3991
|
-
$ <
|
|
3988
|
+
t("span", null, u(i.literals.filters) + ": ", 1),
|
|
3989
|
+
(l(!0), s(k, null, S(N.value, (H, $) => (l(), s(k, { key: $ }, [
|
|
3990
|
+
t("span", wr, u(H.name) + " " + u(H.operator) + ": " + u(H.value), 1),
|
|
3991
|
+
$ < N.value.length - 1 ? (l(), s("span", kr, u(n.value.name), 1)) : b("", !0)
|
|
3992
3992
|
], 64))), 128)),
|
|
3993
3993
|
m(f(oe), {
|
|
3994
3994
|
class: "size-5",
|
|
@@ -4020,7 +4020,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4020
4020
|
}, null, 8, ["loading", "items", "select"]),
|
|
4021
4021
|
m(U, {
|
|
4022
4022
|
loading: i.loading,
|
|
4023
|
-
onClick:
|
|
4023
|
+
onClick: R,
|
|
4024
4024
|
disabled: !a.value || !a.value.name
|
|
4025
4025
|
}, {
|
|
4026
4026
|
default: y(() => [...q[0] || (q[0] = [
|
|
@@ -4029,27 +4029,27 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4029
4029
|
_: 1
|
|
4030
4030
|
}, 8, ["loading", "disabled"])
|
|
4031
4031
|
]),
|
|
4032
|
-
(l(!0), s(k, null, S(r, ($,
|
|
4032
|
+
(l(!0), s(k, null, S(r, ($, _) => (l(), s("div", {
|
|
4033
4033
|
class: "flex items-center gap-x-2 w-full",
|
|
4034
4034
|
key: $.name
|
|
4035
4035
|
}, [
|
|
4036
|
-
m(
|
|
4036
|
+
m(J, {
|
|
4037
4037
|
loading: i.loading,
|
|
4038
4038
|
size: "big",
|
|
4039
4039
|
color: "gray"
|
|
4040
4040
|
}, {
|
|
4041
4041
|
default: y(() => [
|
|
4042
|
-
B(
|
|
4042
|
+
B(u($.label), 1)
|
|
4043
4043
|
]),
|
|
4044
4044
|
_: 2
|
|
4045
4045
|
}, 1032, ["loading"]),
|
|
4046
|
-
m(
|
|
4046
|
+
m(J, {
|
|
4047
4047
|
loading: i.loading,
|
|
4048
4048
|
size: "big",
|
|
4049
4049
|
color: "gray"
|
|
4050
4050
|
}, {
|
|
4051
4051
|
default: y(() => [
|
|
4052
|
-
B(
|
|
4052
|
+
B(u(d($.type)), 1)
|
|
4053
4053
|
]),
|
|
4054
4054
|
_: 2
|
|
4055
4055
|
}, 1032, ["loading"]),
|
|
@@ -4059,16 +4059,16 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4059
4059
|
loading: i.loading,
|
|
4060
4060
|
items: $.props.items || [],
|
|
4061
4061
|
select: $.props.select || $.props.items?.[0] || { id: "0", name: "Select..." },
|
|
4062
|
-
onSelectChanged: (
|
|
4062
|
+
onSelectChanged: (I) => K(_, I)
|
|
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: (
|
|
4069
|
+
onInput: (I) => K(_, I.target.value)
|
|
4070
4070
|
}, null, 8, ["loading", "name", "value", "onInput"])) : b("", !0),
|
|
4071
|
-
|
|
4071
|
+
_ === 0 ? (l(), w(ve, {
|
|
4072
4072
|
key: 2,
|
|
4073
4073
|
onSelectChanged: E,
|
|
4074
4074
|
class: "w-24 uppercase",
|
|
@@ -4076,7 +4076,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4076
4076
|
items: v.value,
|
|
4077
4077
|
select: n.value
|
|
4078
4078
|
}, null, 8, ["loading", "items", "select"])) : b("", !0),
|
|
4079
|
-
|
|
4079
|
+
_ > 0 ? (l(), w(J, {
|
|
4080
4080
|
key: 3,
|
|
4081
4081
|
loading: i.loading,
|
|
4082
4082
|
size: "big",
|
|
@@ -4084,7 +4084,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4084
4084
|
class: "uppercase"
|
|
4085
4085
|
}, {
|
|
4086
4086
|
default: y(() => [
|
|
4087
|
-
B(
|
|
4087
|
+
B(u(n.value.name), 1)
|
|
4088
4088
|
]),
|
|
4089
4089
|
_: 1
|
|
4090
4090
|
}, 8, ["loading"])) : b("", !0),
|
|
@@ -4093,7 +4093,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4093
4093
|
color: "red",
|
|
4094
4094
|
loading: i.loading,
|
|
4095
4095
|
class: "cursor-pointer",
|
|
4096
|
-
onClick: (
|
|
4096
|
+
onClick: (I) => re(_),
|
|
4097
4097
|
title: "Eliminar filtro"
|
|
4098
4098
|
}, null, 8, ["icon", "loading", "onClick"])
|
|
4099
4099
|
]))), 128))
|
|
@@ -4106,7 +4106,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4106
4106
|
onClick: me
|
|
4107
4107
|
}, {
|
|
4108
4108
|
default: y(() => [
|
|
4109
|
-
B(
|
|
4109
|
+
B(u(i.literals.deleteAll), 1)
|
|
4110
4110
|
]),
|
|
4111
4111
|
_: 1
|
|
4112
4112
|
}, 8, ["loading", "icon"]),
|
|
@@ -4116,7 +4116,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4116
4116
|
onClick: ($) => fe(H)
|
|
4117
4117
|
}, {
|
|
4118
4118
|
default: y(() => [
|
|
4119
|
-
B(
|
|
4119
|
+
B(u(i.literals.filter), 1)
|
|
4120
4120
|
]),
|
|
4121
4121
|
_: 1
|
|
4122
4122
|
}, 8, ["loading", "icon", "onClick"])
|
|
@@ -4132,7 +4132,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
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" }, Ar = { class: "text-center" }, Tr = { 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__ */ A({
|
|
4136
4136
|
__name: "uiNoResults",
|
|
4137
4137
|
props: {
|
|
4138
4138
|
title: {},
|
|
@@ -4151,9 +4151,9 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4151
4151
|
size: "massive",
|
|
4152
4152
|
color: "gray"
|
|
4153
4153
|
}, null, 8, ["icon"]),
|
|
4154
|
-
t("div",
|
|
4155
|
-
t("h2",
|
|
4156
|
-
t("p", Dr,
|
|
4154
|
+
t("div", Ar, [
|
|
4155
|
+
t("h2", Tr, u(e.title), 1),
|
|
4156
|
+
t("p", Dr, u(e.message), 1),
|
|
4157
4157
|
t("div", Lr, [
|
|
4158
4158
|
(l(!0), s(k, null, S(e.actions, (o, n) => (l(), w(U, {
|
|
4159
4159
|
key: n,
|
|
@@ -4161,7 +4161,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4161
4161
|
onClick: (r) => g.$emit("action", o.action)
|
|
4162
4162
|
}, {
|
|
4163
4163
|
default: y(() => [
|
|
4164
|
-
B(
|
|
4164
|
+
B(u(o.text), 1)
|
|
4165
4165
|
]),
|
|
4166
4166
|
_: 2
|
|
4167
4167
|
}, 1032, ["onClick"]))), 128)),
|
|
@@ -4175,28 +4175,28 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4175
4175
|
])
|
|
4176
4176
|
]));
|
|
4177
4177
|
}
|
|
4178
|
-
}), Pr = { key: 0 },
|
|
4178
|
+
}), Pr = { key: 0 }, _r = {
|
|
4179
4179
|
key: 1,
|
|
4180
4180
|
class: "actionsAndFilters mb-6 flex flex-col lg:flex-row lg:items-start w-full gap-4"
|
|
4181
|
-
},
|
|
4181
|
+
}, Fr = {
|
|
4182
4182
|
key: 0,
|
|
4183
4183
|
class: "w-full lg:flex-1 lg:min-w-0 lg:max-w-full"
|
|
4184
|
-
},
|
|
4184
|
+
}, Or = {
|
|
4185
4185
|
key: 1,
|
|
4186
4186
|
class: "w-full lg:w-auto lg:flex-shrink-0 flex flex-col sm:flex-row items-stretch sm:items-center gap-3 lg:gap-2"
|
|
4187
|
-
},
|
|
4187
|
+
}, Ir = {
|
|
4188
4188
|
key: 0,
|
|
4189
4189
|
class: "flex flex-col sm:flex-row gap-2 flex-wrap sm:flex-nowrap"
|
|
4190
4190
|
}, Vr = {
|
|
4191
4191
|
key: 1,
|
|
4192
4192
|
class: "w-auto"
|
|
4193
|
-
},
|
|
4193
|
+
}, Nr = { class: "-my-2 overflow-x-auto" }, Rr = { class: "inline-block min-w-full py-2 align-middle px-1" }, qr = { class: "relative overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg" }, Hr = {
|
|
4194
4194
|
key: 0,
|
|
4195
4195
|
class: "absolute top-0 left-12 flex h-12 items-center space-x-3 sm:left-16 bg-white shadow rounded px-4 py-1 z-50"
|
|
4196
|
-
}, Yr = ["onClick"], Er = { class: "min-w-full table-fixed divide-y divide-gray-300" }, Ur = ["checked", "indeterminate"], Zr = ["onMouseover"], Wr = ["onClick"],
|
|
4196
|
+
}, Yr = ["onClick"], Er = { class: "min-w-full table-fixed divide-y divide-gray-300" }, Ur = ["checked", "indeterminate"], Zr = ["onMouseover"], Wr = ["onClick"], Gr = {
|
|
4197
4197
|
key: 2,
|
|
4198
4198
|
class: "group flex items-center uppercase text-xs"
|
|
4199
|
-
},
|
|
4199
|
+
}, Jr = { class: "divide-y divide-gray-200 bg-white" }, Kr = {
|
|
4200
4200
|
key: 0,
|
|
4201
4201
|
class: "absolute inset-y-0 left-0 w-0.5 bg-lime-400"
|
|
4202
4202
|
}, Qr = ["value", "disabled"], Xr = {
|
|
@@ -4211,7 +4211,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
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__ */ A({
|
|
4215
4215
|
__name: "uiTable",
|
|
4216
4216
|
props: {
|
|
4217
4217
|
selectAllItemsModal: {},
|
|
@@ -4239,13 +4239,13 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
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),
|
|
4242
|
+
uiTag: J
|
|
4243
|
+
}, o = g, n = e, r = V([]), a = V(""), d = V(!1), c = V(null), v = V(null), p = V(!1), C = V(null), N = V(null), E = j(() => n.items && n.items.length > 0), P = j(() => r.value.length > 0), R = 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, T) => nt(T))
|
|
4249
4249
|
), fe = j(() => [
|
|
4250
4250
|
n.actions ? "px-6 sm:px-8" : "px-3",
|
|
4251
4251
|
"relative"
|
|
@@ -4258,9 +4258,9 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4258
4258
|
() => n.tableActionsDropdown && n.tableActionsDropdown.items && n.tableActionsDropdown.items.length > 0
|
|
4259
4259
|
), $ = j(
|
|
4260
4260
|
() => n.tableActionButtons && n.tableActionButtons.length > 0
|
|
4261
|
-
),
|
|
4261
|
+
), _ = j(
|
|
4262
4262
|
() => q.value || H.value || $.value
|
|
4263
|
-
),
|
|
4263
|
+
), I = j(
|
|
4264
4264
|
() => n.paginationCurrent !== void 0 || n.paginationTotal !== void 0
|
|
4265
4265
|
), W = j(
|
|
4266
4266
|
() => n.paginationCurrent !== void 0 && n.paginationTotal !== void 0 && n.paginationTotalItems !== void 0
|
|
@@ -4270,7 +4270,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4270
4270
|
name: h.name,
|
|
4271
4271
|
value: String(h.value),
|
|
4272
4272
|
active: !!(h.active || n.currentPageSize && h.value === n.currentPageSize)
|
|
4273
|
-
})) : []), Se = V(!1), Be = V(!1),
|
|
4273
|
+
})) : []), Se = V(!1), Be = V(!1), Ft = {
|
|
4274
4274
|
filters: "Filtros inteligentes",
|
|
4275
4275
|
contains: "contiene",
|
|
4276
4276
|
is: "es",
|
|
@@ -4278,16 +4278,16 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4278
4278
|
or: "o",
|
|
4279
4279
|
deleteAll: "Borrar todo",
|
|
4280
4280
|
filter: "Filtrar"
|
|
4281
|
-
},
|
|
4281
|
+
}, Ot = (h) => {
|
|
4282
4282
|
h.action === "close" ? Se.value = !1 : (Se.value = !1, n.selectAllItemsModal && o("modalAction", { modal: n.selectAllItemsModal.modalName, action: h.action }));
|
|
4283
|
-
}, nt = (h) => n.hiddenColumns && n.hiddenColumns.length > 0 ? !n.hiddenColumns.includes(h) : !0,
|
|
4283
|
+
}, nt = (h) => n.hiddenColumns && n.hiddenColumns.length > 0 ? !n.hiddenColumns.includes(h) : !0, Ne = (h) => r.value.includes(h), It = (h) => a.value === h, Vt = (h) => h.filter((T, M) => nt(M)), Nt = (h, T) => {
|
|
4284
4284
|
const M = [];
|
|
4285
|
-
return
|
|
4286
|
-
},
|
|
4287
|
-
const
|
|
4288
|
-
return
|
|
4285
|
+
return Ne(h.id) && M.push("bg-gray-50"), T % 2 !== 0 && M.push("bg-gray-50"), M;
|
|
4286
|
+
}, Rt = (h) => {
|
|
4287
|
+
const T = ["whitespace-nowrap", "py-4", "pr-3", "text-sm"];
|
|
4288
|
+
return Ne(h) && T.push("text-black", "font-bold"), T;
|
|
4289
4289
|
}, qt = (h) => {
|
|
4290
|
-
const
|
|
4290
|
+
const T = [
|
|
4291
4291
|
"absolute",
|
|
4292
4292
|
"left-4",
|
|
4293
4293
|
"top-1/2",
|
|
@@ -4300,10 +4300,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4300
4300
|
"focus:ring-lime-400",
|
|
4301
4301
|
"flex-wrap"
|
|
4302
4302
|
];
|
|
4303
|
-
return h &&
|
|
4303
|
+
return h && T.push("bg-gray-100"), T;
|
|
4304
4304
|
}, Ht = (h) => {
|
|
4305
|
-
const
|
|
4306
|
-
return h === n.orderedBy ?
|
|
4305
|
+
const T = [];
|
|
4306
|
+
return h === n.orderedBy ? T.push("bg-black", "text-white", "group-hover:bg-lime-400", "group-hover:text-black") : T.push("group-hover:visible", "group-focus:visible"), T;
|
|
4307
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",
|
|
@@ -4322,14 +4322,14 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
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
|
-
|
|
4327
|
-
}, Jt = (h) => {
|
|
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 });
|
|
4325
|
+
const T = h.target;
|
|
4326
|
+
T.checked ? Se.value = !0 : o("deselectAllItems"), r.value = T.checked ? n.items.map((M) => M.disabled ? null : M.id) : [];
|
|
4332
4327
|
}, Gt = (h) => {
|
|
4328
|
+
const T = n.orderDirection === "asc" ? "desc" : "asc";
|
|
4329
|
+
o("orderBy", { value: h, orderDirection: T });
|
|
4330
|
+
}, de = (h, T) => {
|
|
4331
|
+
typeof h == "object" && (h.type === "link" || h.type === "action") && o("customEmit", { data: h, rowId: T });
|
|
4332
|
+
}, Jt = (h) => {
|
|
4333
4333
|
typeof h == "object" && h.type === "tag" && o("customEmit", { data: h });
|
|
4334
4334
|
}, Kt = (h) => {
|
|
4335
4335
|
a.value !== h && (a.value = h);
|
|
@@ -4350,8 +4350,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4350
4350
|
}, al = (h) => {
|
|
4351
4351
|
o("changePageSize", h.value);
|
|
4352
4352
|
}, ol = (h) => {
|
|
4353
|
-
const
|
|
4354
|
-
h.checked ? o("columnsVisibilityChanged", { index:
|
|
4353
|
+
const T = Number(h.value);
|
|
4354
|
+
h.checked ? o("columnsVisibilityChanged", { index: T, hidden: !0 }) : o("columnsVisibilityChanged", { index: T, hidden: !1 });
|
|
4355
4355
|
}, il = (h) => {
|
|
4356
4356
|
o("noResultsAction", h);
|
|
4357
4357
|
}, rl = (h) => {
|
|
@@ -4368,25 +4368,25 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4368
4368
|
const h = "bg-lime-50 z-10";
|
|
4369
4369
|
return p.value && n.items.length > 25 ? `${h} sticky top-0` : h;
|
|
4370
4370
|
}), ml = j(() => ({})), fl = j(() => p.value && C.value !== null && n.items.length > 25 ? { maxHeight: `${C.value}px` } : {}), he = () => {
|
|
4371
|
-
if (!v.value || !
|
|
4371
|
+
if (!v.value || !c.value) return;
|
|
4372
4372
|
if (n.items.length <= 25) {
|
|
4373
4373
|
C.value = null, p.value = !1;
|
|
4374
4374
|
return;
|
|
4375
4375
|
}
|
|
4376
|
-
const h =
|
|
4376
|
+
const h = c.value.querySelector("table");
|
|
4377
4377
|
h && be(() => {
|
|
4378
|
-
if (!
|
|
4379
|
-
const
|
|
4380
|
-
if (!
|
|
4381
|
-
const Q =
|
|
4382
|
-
if (!
|
|
4383
|
-
const
|
|
4378
|
+
if (!c.value || !h) return;
|
|
4379
|
+
const T = h.querySelector("thead"), M = h.querySelector("tbody");
|
|
4380
|
+
if (!T || !M) return;
|
|
4381
|
+
const Q = T.offsetHeight, O = M.querySelector("tr");
|
|
4382
|
+
if (!O) return;
|
|
4383
|
+
const Re = O.offsetHeight, X = Q + Re * 25;
|
|
4384
4384
|
C.value = X, p.value = !0;
|
|
4385
4385
|
});
|
|
4386
4386
|
}, ye = () => {
|
|
4387
|
-
|
|
4388
|
-
if (!
|
|
4389
|
-
const h =
|
|
4387
|
+
c.value && requestAnimationFrame(() => {
|
|
4388
|
+
if (!c.value) return;
|
|
4389
|
+
const h = c.value.scrollHeight > c.value.clientHeight;
|
|
4390
4390
|
p.value !== h && (p.value = h);
|
|
4391
4391
|
});
|
|
4392
4392
|
};
|
|
@@ -4400,31 +4400,31 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4400
4400
|
h || be(() => {
|
|
4401
4401
|
he(), ye();
|
|
4402
4402
|
});
|
|
4403
|
-
}), Z([
|
|
4403
|
+
}), Z([_, I], () => {
|
|
4404
4404
|
be(() => {
|
|
4405
4405
|
he(), ye();
|
|
4406
4406
|
});
|
|
4407
|
-
}),
|
|
4407
|
+
}), Fe(() => {
|
|
4408
4408
|
be(() => {
|
|
4409
4409
|
he(), ye();
|
|
4410
4410
|
const h = () => {
|
|
4411
4411
|
he(), ye();
|
|
4412
4412
|
};
|
|
4413
|
-
|
|
4413
|
+
N.value = h, window.addEventListener("resize", h);
|
|
4414
4414
|
});
|
|
4415
4415
|
}), bl(() => {
|
|
4416
|
-
|
|
4417
|
-
}), (h,
|
|
4416
|
+
N.value && (window.removeEventListener("resize", N.value), N.value = null);
|
|
4417
|
+
}), (h, T) => !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: T[0] || (T[0] = (M) => Ot(M))
|
|
4425
4425
|
}, {
|
|
4426
4426
|
default: y(() => [
|
|
4427
|
-
B(
|
|
4427
|
+
B(u(e.selectAllItemsModal.content), 1)
|
|
4428
4428
|
]),
|
|
4429
4429
|
_: 1
|
|
4430
4430
|
}, 8, ["title", "modalName", "open", "actions"])) : b("", !0),
|
|
@@ -4432,8 +4432,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4432
4432
|
title: "Seleccione las columnas que desea ocultar",
|
|
4433
4433
|
modalName: "columnsModal",
|
|
4434
4434
|
open: Be.value,
|
|
4435
|
-
onClose:
|
|
4436
|
-
onModalAction:
|
|
4435
|
+
onClose: T[1] || (T[1] = (M) => Be.value = !1),
|
|
4436
|
+
onModalAction: T[2] || (T[2] = (M) => M.action === "close" ? Be.value = !1 : null)
|
|
4437
4437
|
}, {
|
|
4438
4438
|
default: y(() => [
|
|
4439
4439
|
(l(!0), s(k, null, S(n.header, (M, Q) => (l(), w(ue, {
|
|
@@ -4445,18 +4445,18 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4445
4445
|
value: String(Q)
|
|
4446
4446
|
}, {
|
|
4447
4447
|
default: y(() => [
|
|
4448
|
-
B(
|
|
4448
|
+
B(u(M.name), 1)
|
|
4449
4449
|
]),
|
|
4450
4450
|
_: 2
|
|
4451
4451
|
}, 1032, ["check", "value"]))), 128))
|
|
4452
4452
|
]),
|
|
4453
4453
|
_: 1
|
|
4454
4454
|
}, 8, ["open"]),
|
|
4455
|
-
|
|
4456
|
-
q.value ? (l(), s("div",
|
|
4455
|
+
_.value ? (l(), s("div", _r, [
|
|
4456
|
+
q.value ? (l(), s("div", Fr, [
|
|
4457
4457
|
m(zr, {
|
|
4458
4458
|
"available-categories": cl.value,
|
|
4459
|
-
literals: n.filterLiterals ||
|
|
4459
|
+
literals: n.filterLiterals || Ft,
|
|
4460
4460
|
filters: n.filters,
|
|
4461
4461
|
onSmartFiltersSent: Xt,
|
|
4462
4462
|
onSmartFiltersCleared: el,
|
|
@@ -4464,8 +4464,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4464
4464
|
loading: n.loading
|
|
4465
4465
|
}, null, 8, ["available-categories", "literals", "filters", "loading"])
|
|
4466
4466
|
])) : b("", !0),
|
|
4467
|
-
H.value || $.value ? (l(), s("div",
|
|
4468
|
-
$.value ? (l(), s("div",
|
|
4467
|
+
H.value || $.value ? (l(), s("div", Or, [
|
|
4468
|
+
$.value ? (l(), s("div", Ir, [
|
|
4469
4469
|
(l(!0), s(k, null, S(n.tableActionButtons, (M) => (l(), w(U, {
|
|
4470
4470
|
key: M.id,
|
|
4471
4471
|
loading: M.loading !== void 0 ? M.loading : n.loading,
|
|
@@ -4477,7 +4477,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4477
4477
|
onClick: (Q) => sl(M)
|
|
4478
4478
|
}, {
|
|
4479
4479
|
default: y(() => [
|
|
4480
|
-
B(
|
|
4480
|
+
B(u(M.text), 1)
|
|
4481
4481
|
]),
|
|
4482
4482
|
_: 2
|
|
4483
4483
|
}, 1032, ["loading", "disabled", "color", "size", "icon", "onClick"]))), 128))
|
|
@@ -4498,20 +4498,20 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4498
4498
|
class: "flex flex-col",
|
|
4499
4499
|
style: qe(ml.value)
|
|
4500
4500
|
}, [
|
|
4501
|
-
t("div",
|
|
4502
|
-
t("div",
|
|
4501
|
+
t("div", Nr, [
|
|
4502
|
+
t("div", Rr, [
|
|
4503
4503
|
t("div", qr, [
|
|
4504
|
-
P.value &&
|
|
4504
|
+
P.value && R.value ? (l(), s("div", Hr, [
|
|
4505
4505
|
(l(!0), s(k, null, S(e.actions, (M, Q) => (l(), s("button", {
|
|
4506
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: (
|
|
4510
|
-
},
|
|
4509
|
+
onClick: (O) => Zt(M)
|
|
4510
|
+
}, u(M.name), 9, Yr))), 128))
|
|
4511
4511
|
])) : b("", !0),
|
|
4512
4512
|
t("div", {
|
|
4513
4513
|
ref_key: "tableScrollContainer",
|
|
4514
|
-
ref:
|
|
4514
|
+
ref: c,
|
|
4515
4515
|
class: x(ul.value),
|
|
4516
4516
|
style: qe(fl.value)
|
|
4517
4517
|
}, [
|
|
@@ -4524,7 +4524,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4524
4524
|
scope: "col",
|
|
4525
4525
|
class: x(fe.value)
|
|
4526
4526
|
}, [
|
|
4527
|
-
|
|
4527
|
+
R.value ? (l(), s("input", {
|
|
4528
4528
|
key: 0,
|
|
4529
4529
|
checked: K.value,
|
|
4530
4530
|
indeterminate: re.value,
|
|
@@ -4537,19 +4537,19 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4537
4537
|
key: Q,
|
|
4538
4538
|
class: "py-3.5 pr-3 text-left font-semibold relative",
|
|
4539
4539
|
scope: "col",
|
|
4540
|
-
onMouseover: (
|
|
4541
|
-
onMouseleave:
|
|
4540
|
+
onMouseover: (O) => Kt(M.name),
|
|
4541
|
+
onMouseleave: T[3] || (T[3] = (O) => Qt())
|
|
4542
4542
|
}, [
|
|
4543
|
-
M.tooltip &&
|
|
4543
|
+
M.tooltip && It(M.name) ? (l(), w(pr, {
|
|
4544
4544
|
key: 0,
|
|
4545
4545
|
tip: M.tooltip
|
|
4546
4546
|
}, null, 8, ["tip"])) : b("", !0),
|
|
4547
4547
|
M.value ? (l(), s("button", {
|
|
4548
4548
|
key: 1,
|
|
4549
4549
|
class: "group flex items-center uppercase text-xs relative text-nowrap",
|
|
4550
|
-
onClick: (
|
|
4550
|
+
onClick: (O) => Gt(M.value)
|
|
4551
4551
|
}, [
|
|
4552
|
-
t("span", null,
|
|
4552
|
+
t("span", null, u(M.name), 1),
|
|
4553
4553
|
t("span", {
|
|
4554
4554
|
class: x([Ht(M.value), "ml-2 flex-none rounded group-hover:bg-lime-200 group-hover:text-white"])
|
|
4555
4555
|
}, [
|
|
@@ -4559,24 +4559,24 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4559
4559
|
color: Ut(M.value)
|
|
4560
4560
|
}, null, 8, ["icon", "loading", "color"])
|
|
4561
4561
|
], 2)
|
|
4562
|
-
], 8, Wr)) : (l(), s("p",
|
|
4563
|
-
t("span", null,
|
|
4562
|
+
], 8, Wr)) : (l(), s("p", Gr, [
|
|
4563
|
+
t("span", null, u(M.name), 1)
|
|
4564
4564
|
]))
|
|
4565
4565
|
], 40, Zr))), 128))
|
|
4566
4566
|
])
|
|
4567
4567
|
], 2),
|
|
4568
|
-
t("tbody",
|
|
4568
|
+
t("tbody", Jr, [
|
|
4569
4569
|
(l(!0), s(k, null, S(e.items, (M, Q) => (l(), s("tr", {
|
|
4570
4570
|
key: M.id,
|
|
4571
|
-
class: x(
|
|
4571
|
+
class: x(Nt(M, Q))
|
|
4572
4572
|
}, [
|
|
4573
4573
|
t("td", {
|
|
4574
4574
|
class: x(z.value)
|
|
4575
4575
|
}, [
|
|
4576
|
-
|
|
4577
|
-
|
|
4576
|
+
Ne(M.id) ? (l(), s("div", Kr)) : b("", !0),
|
|
4577
|
+
R.value ? D((l(), s("input", {
|
|
4578
4578
|
key: 1,
|
|
4579
|
-
"onUpdate:modelValue":
|
|
4579
|
+
"onUpdate:modelValue": T[4] || (T[4] = (O) => r.value = O),
|
|
4580
4580
|
value: M.id,
|
|
4581
4581
|
class: x(qt(M.disabled)),
|
|
4582
4582
|
type: "checkbox",
|
|
@@ -4585,47 +4585,47 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4585
4585
|
[yt, r.value]
|
|
4586
4586
|
]) : b("", !0)
|
|
4587
4587
|
], 2),
|
|
4588
|
-
(l(!0), s(k, null, S(Vt(M.row), (
|
|
4589
|
-
key:
|
|
4590
|
-
class: x(
|
|
4588
|
+
(l(!0), s(k, null, S(Vt(M.row), (O, Re) => (l(), s("td", {
|
|
4589
|
+
key: Re,
|
|
4590
|
+
class: x(Rt(M.id))
|
|
4591
4591
|
}, [
|
|
4592
|
-
typeof
|
|
4593
|
-
t("span", ed,
|
|
4594
|
-
t("span", td,
|
|
4595
|
-
])) : typeof
|
|
4592
|
+
typeof O == "object" && O.type === "guest" ? (l(), s("div", Xr, [
|
|
4593
|
+
t("span", ed, u(O.content), 1),
|
|
4594
|
+
t("span", td, u(O.email), 1)
|
|
4595
|
+
])) : typeof O == "object" && O.type === "action" ? (l(), s("button", {
|
|
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(
|
|
4599
|
+
onClick: (X) => de(O, M.id)
|
|
4600
4600
|
}, [
|
|
4601
|
-
|
|
4601
|
+
O.icon ? (l(), w(L, {
|
|
4602
4602
|
key: 0,
|
|
4603
4603
|
loading: e.loading,
|
|
4604
|
-
icon:
|
|
4604
|
+
icon: O.icon,
|
|
4605
4605
|
size: "small",
|
|
4606
4606
|
color: "gray"
|
|
4607
4607
|
}, null, 8, ["loading", "icon"])) : b("", !0),
|
|
4608
|
-
t("span", null,
|
|
4609
|
-
], 8, ld)) : typeof
|
|
4608
|
+
t("span", null, u(O.content), 1)
|
|
4609
|
+
], 8, ld)) : typeof O == "object" && O.type === "link" ? (l(), s("span", Le({
|
|
4610
4610
|
key: 2,
|
|
4611
4611
|
ref_for: !0
|
|
4612
|
-
}, at(
|
|
4613
|
-
onClick: (X) => de(
|
|
4612
|
+
}, at(O), {
|
|
4613
|
+
onClick: (X) => de(O, M.id)
|
|
4614
4614
|
}), [
|
|
4615
|
-
B(
|
|
4616
|
-
|
|
4615
|
+
B(u(ot(O)) + " ", 1),
|
|
4616
|
+
O.icon ? (l(), w(L, {
|
|
4617
4617
|
key: 0,
|
|
4618
4618
|
loading: e.loading,
|
|
4619
|
-
icon:
|
|
4619
|
+
icon: O.icon,
|
|
4620
4620
|
size: "small",
|
|
4621
4621
|
color: "gray",
|
|
4622
4622
|
class: "inline-block ml-1"
|
|
4623
4623
|
}, null, 8, ["loading", "icon"])) : b("", !0)
|
|
4624
|
-
], 16, sd)) : typeof
|
|
4625
|
-
t("span", null,
|
|
4624
|
+
], 16, sd)) : typeof O == "object" && O.type === "apiKey" ? (l(), s("div", nd, [
|
|
4625
|
+
t("span", null, u(O.content), 1),
|
|
4626
4626
|
t("button", {
|
|
4627
4627
|
type: "button",
|
|
4628
|
-
onClick: (X) => de({ type: "action", action: "reveal", value:
|
|
4628
|
+
onClick: (X) => de({ type: "action", action: "reveal", value: O.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,7 +4637,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4637
4637
|
], 8, ad),
|
|
4638
4638
|
t("button", {
|
|
4639
4639
|
type: "button",
|
|
4640
|
-
onClick: (X) => de({ type: "action", action: "copy", value:
|
|
4640
|
+
onClick: (X) => de({ type: "action", action: "copy", value: O.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, {
|
|
@@ -4647,11 +4647,11 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4647
4647
|
color: "gray"
|
|
4648
4648
|
}, null, 8, ["loading", "icon"])
|
|
4649
4649
|
], 8, od)
|
|
4650
|
-
])) : typeof
|
|
4651
|
-
(l(!0), s(k, null, S(
|
|
4650
|
+
])) : typeof O == "object" && O.type === "actions" && Array.isArray(O.actions) ? (l(), s("div", id, [
|
|
4651
|
+
(l(!0), s(k, null, S(O.actions, (X, hl) => (l(), s("button", {
|
|
4652
4652
|
key: hl,
|
|
4653
4653
|
type: "button",
|
|
4654
|
-
onClick: (
|
|
4654
|
+
onClick: (kg) => 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, {
|
|
@@ -4662,15 +4662,15 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4662
4662
|
}, null, 8, ["loading", "icon"]),
|
|
4663
4663
|
X.action === "viewCode" ? (l(), s("span", dd, "View Code")) : b("", !0)
|
|
4664
4664
|
], 10, rd))), 128))
|
|
4665
|
-
])) : (l(), w(
|
|
4665
|
+
])) : (l(), w(_e(Yt(O)), Le({
|
|
4666
4666
|
key: 5,
|
|
4667
4667
|
ref_for: !0
|
|
4668
|
-
}, at(
|
|
4669
|
-
onClick: (X) => de(
|
|
4670
|
-
onTagEvent: (X) =>
|
|
4668
|
+
}, at(O), {
|
|
4669
|
+
onClick: (X) => de(O),
|
|
4670
|
+
onTagEvent: (X) => Jt(O)
|
|
4671
4671
|
}), {
|
|
4672
4672
|
default: y(() => [
|
|
4673
|
-
B(
|
|
4673
|
+
B(u(ot(O)), 1)
|
|
4674
4674
|
]),
|
|
4675
4675
|
_: 2
|
|
4676
4676
|
}, 1040, ["onClick", "onTagEvent"]))
|
|
@@ -4683,7 +4683,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4683
4683
|
])
|
|
4684
4684
|
])
|
|
4685
4685
|
], 4),
|
|
4686
|
-
|
|
4686
|
+
I.value ? (l(), s("div", cd, [
|
|
4687
4687
|
le.value ? (l(), s("div", ud, [
|
|
4688
4688
|
m(ge, {
|
|
4689
4689
|
verticalPosition: "top",
|
|
@@ -4703,22 +4703,22 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4703
4703
|
loading: n.loading,
|
|
4704
4704
|
onChangePage: nl
|
|
4705
4705
|
}, {
|
|
4706
|
-
previous: y(() => [...
|
|
4706
|
+
previous: y(() => [...T[5] || (T[5] = [
|
|
4707
4707
|
B("Anterior", -1)
|
|
4708
4708
|
])]),
|
|
4709
|
-
next: y(() => [...
|
|
4709
|
+
next: y(() => [...T[6] || (T[6] = [
|
|
4710
4710
|
B("Siguiente", -1)
|
|
4711
4711
|
])]),
|
|
4712
|
-
showing: y(() => [...
|
|
4712
|
+
showing: y(() => [...T[7] || (T[7] = [
|
|
4713
4713
|
B("Mostrando", -1)
|
|
4714
4714
|
])]),
|
|
4715
|
-
of: y(() => [...
|
|
4715
|
+
of: y(() => [...T[8] || (T[8] = [
|
|
4716
4716
|
B("de", -1)
|
|
4717
4717
|
])]),
|
|
4718
|
-
pages: y(() => [...
|
|
4718
|
+
pages: y(() => [...T[9] || (T[9] = [
|
|
4719
4719
|
B("páginas", -1)
|
|
4720
4720
|
])]),
|
|
4721
|
-
fromTotal: y(() => [...
|
|
4721
|
+
fromTotal: y(() => [...T[10] || (T[10] = [
|
|
4722
4722
|
B("Elementos totales:", -1)
|
|
4723
4723
|
])]),
|
|
4724
4724
|
_: 1
|
|
@@ -4739,7 +4739,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4739
4739
|
}), md = { class: "lg:hidden" }, fd = ["value"], hd = { class: "hidden lg:block overflow-x-auto" }, yd = { class: "border-b border-gray-200" }, bd = {
|
|
4740
4740
|
class: "-mb-px flex space-x-8",
|
|
4741
4741
|
"aria-label": "Tabs"
|
|
4742
|
-
}, vd = ["onClick", "aria-current"], xd = /* @__PURE__ */
|
|
4742
|
+
}, vd = ["onClick", "aria-current"], xd = /* @__PURE__ */ A({
|
|
4743
4743
|
__name: "uiTabs",
|
|
4744
4744
|
props: {
|
|
4745
4745
|
tabs: {}
|
|
@@ -4761,7 +4761,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4761
4761
|
(l(!0), s(k, null, S(e.tabs, (a) => (l(), s("option", {
|
|
4762
4762
|
value: a.id,
|
|
4763
4763
|
key: a.name
|
|
4764
|
-
},
|
|
4764
|
+
}, u(a.name), 9, fd))), 128))
|
|
4765
4765
|
], 32)
|
|
4766
4766
|
]),
|
|
4767
4767
|
t("div", hd, [
|
|
@@ -4776,14 +4776,14 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4776
4776
|
]),
|
|
4777
4777
|
"aria-current": a.current ? "page" : void 0
|
|
4778
4778
|
}, [
|
|
4779
|
-
B(
|
|
4779
|
+
B(u(a.name) + " ", 1),
|
|
4780
4780
|
a.count ? (l(), s("span", {
|
|
4781
4781
|
key: 0,
|
|
4782
4782
|
class: x([
|
|
4783
4783
|
a.current ? "bg-lime-400 text-black" : "bg-black text-white",
|
|
4784
4784
|
"hidden ml-3 py-0.5 px-2.5 rounded-full text-xs font-medium md:inline-block"
|
|
4785
4785
|
])
|
|
4786
|
-
},
|
|
4786
|
+
}, u(a.count), 3)) : b("", !0)
|
|
4787
4787
|
], 10, vd))), 128))
|
|
4788
4788
|
])
|
|
4789
4789
|
])
|
|
@@ -4797,23 +4797,23 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
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"], Ad = { class: "text-right text-sm whitespace-nowrap text-gray-500" }, Td = ["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 = {
|
|
4804
4804
|
key: 2,
|
|
4805
4805
|
class: "h-full w-full flex items-center justify-center flex-col px-4 py-5 sm:p-6"
|
|
4806
|
-
},
|
|
4806
|
+
}, _d = {
|
|
4807
4807
|
key: 1,
|
|
4808
4808
|
class: "bg-white overflow-hidden shadow rounded-lg"
|
|
4809
|
-
},
|
|
4809
|
+
}, Fd = { class: "px-4 py-5 sm:p-6 animate-pulse" }, Od = { class: "flow-root" }, Id = {
|
|
4810
4810
|
class: "-mb-8",
|
|
4811
4811
|
role: "list"
|
|
4812
|
-
}, Vd = { class: "relative pb-8" },
|
|
4812
|
+
}, Vd = { class: "relative pb-8" }, Nd = {
|
|
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
|
-
},
|
|
4816
|
+
}, Rd = /* @__PURE__ */ A({
|
|
4817
4817
|
__name: "uiTimeline",
|
|
4818
4818
|
props: {
|
|
4819
4819
|
name: {},
|
|
@@ -4825,18 +4825,18 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4825
4825
|
emits: ["timelineEventClicked", "timelineFooterClicked"],
|
|
4826
4826
|
setup(e, { emit: g }) {
|
|
4827
4827
|
const o = ke(e.timeline);
|
|
4828
|
-
return (n, r) => e.loading ? (l(), s("div",
|
|
4828
|
+
return (n, r) => e.loading ? (l(), s("div", _d, [
|
|
4829
4829
|
r[3] || (r[3] = t("div", { class: "px-4 py-5 sm:px-6 animate-pulse" }, [
|
|
4830
4830
|
t("h1", { class: "text-xl font-bold" }, [
|
|
4831
4831
|
t("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4" })
|
|
4832
4832
|
])
|
|
4833
4833
|
], -1)),
|
|
4834
|
-
t("div",
|
|
4835
|
-
t("div",
|
|
4836
|
-
t("ul",
|
|
4834
|
+
t("div", Fd, [
|
|
4835
|
+
t("div", Od, [
|
|
4836
|
+
t("ul", Id, [
|
|
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",
|
|
4839
|
+
a !== 10 ? (l(), s("span", Nd)) : 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))
|
|
@@ -4853,7 +4853,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4853
4853
|
class: x(["h-[" + e.height + "px]", "bg-white overflow-hidden shadow rounded-lg"])
|
|
4854
4854
|
}, [
|
|
4855
4855
|
t("div", pd, [
|
|
4856
|
-
t("h1", wd,
|
|
4856
|
+
t("h1", wd, u(e.name), 1)
|
|
4857
4857
|
]),
|
|
4858
4858
|
o.items.length > 0 ? (l(), s("div", kd, [
|
|
4859
4859
|
t("div", $d, [
|
|
@@ -4888,16 +4888,16 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4888
4888
|
t("div", null, [
|
|
4889
4889
|
t("p", zd, [
|
|
4890
4890
|
t("a", {
|
|
4891
|
-
onClick: (
|
|
4891
|
+
onClick: (c) => n.$emit("timelineEventClicked", a.linkId),
|
|
4892
4892
|
class: "font-medium text-black hover:text-lime-400 cursor-pointer"
|
|
4893
|
-
},
|
|
4894
|
-
B(" " +
|
|
4893
|
+
}, u(a?.target), 9, jd),
|
|
4894
|
+
B(" " + u(a?.content), 1)
|
|
4895
4895
|
])
|
|
4896
4896
|
]),
|
|
4897
|
-
t("div",
|
|
4897
|
+
t("div", Ad, [
|
|
4898
4898
|
t("time", {
|
|
4899
4899
|
datetime: a?.datetime
|
|
4900
|
-
},
|
|
4900
|
+
}, u(a?.date), 9, Td)
|
|
4901
4901
|
])
|
|
4902
4902
|
])
|
|
4903
4903
|
])
|
|
@@ -4913,7 +4913,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4913
4913
|
t("a", {
|
|
4914
4914
|
class: "cursor-pointer font-medium text-black hover:text-lime-400",
|
|
4915
4915
|
onClick: r[0] || (r[0] = (a) => n.$emit("timelineFooterClicked", e.timeline.id))
|
|
4916
|
-
},
|
|
4916
|
+
}, u(e.timeline.footerText), 1)
|
|
4917
4917
|
])
|
|
4918
4918
|
])) : (l(), s("div", Pd, [
|
|
4919
4919
|
m(L, {
|
|
@@ -4926,10 +4926,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4926
4926
|
]))
|
|
4927
4927
|
], 2));
|
|
4928
4928
|
}
|
|
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" },
|
|
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" }, Gd = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute -top-0 -left-1" }, Jd = ["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__ */ A({
|
|
4933
4933
|
__name: "uiTopbar",
|
|
4934
4934
|
props: {
|
|
4935
4935
|
logo: {},
|
|
@@ -4942,7 +4942,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4942
4942
|
emits: ["topBarClick"],
|
|
4943
4943
|
setup(e, { emit: g }) {
|
|
4944
4944
|
const i = e, o = j(() => i.navigation ? Array.isArray(i.navigation) ? i.navigation : [i.navigation] : []);
|
|
4945
|
-
return (n, r) => (l(), w(f(
|
|
4945
|
+
return (n, r) => (l(), w(f(Oe), {
|
|
4946
4946
|
as: "nav",
|
|
4947
4947
|
class: "bg-white shadow z-10"
|
|
4948
4948
|
}, {
|
|
@@ -4988,19 +4988,19 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4988
4988
|
t("div", null, [
|
|
4989
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
|
-
D(t("div",
|
|
4991
|
+
D(t("div", Gd, [...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)
|
|
4993
4993
|
])], 512), [
|
|
4994
|
-
[
|
|
4994
|
+
[F, e.alerted]
|
|
4995
4995
|
]),
|
|
4996
4996
|
t("img", {
|
|
4997
4997
|
class: "h-10 w-10 rounded-full",
|
|
4998
4998
|
src: e.accountLogo
|
|
4999
|
-
}, null, 8,
|
|
4999
|
+
}, null, 8, Jd)
|
|
5000
5000
|
]),
|
|
5001
5001
|
_: 1
|
|
5002
5002
|
}, 512), [
|
|
5003
|
-
[
|
|
5003
|
+
[F, e.accountLogo]
|
|
5004
5004
|
])
|
|
5005
5005
|
]),
|
|
5006
5006
|
m(we, {
|
|
@@ -5012,19 +5012,19 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5012
5012
|
"leave-to-class": "transform opacity-0 scale-95"
|
|
5013
5013
|
}, {
|
|
5014
5014
|
default: y(() => [
|
|
5015
|
-
m(f(
|
|
5015
|
+
m(f(Ge), { 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(Je), {
|
|
5018
5018
|
key: d.name
|
|
5019
5019
|
}, {
|
|
5020
|
-
default: y(({ active:
|
|
5020
|
+
default: y(({ active: c }) => [
|
|
5021
5021
|
t("p", {
|
|
5022
5022
|
onClick: (v) => n.$emit("topBarClick", d.id),
|
|
5023
5023
|
class: x(["cursor-pointer", [
|
|
5024
|
-
|
|
5024
|
+
c ? "bg-gray-100" : "",
|
|
5025
5025
|
"block px-4 py-2 text-sm text-gray-700"
|
|
5026
5026
|
]])
|
|
5027
|
-
},
|
|
5027
|
+
}, u(d.name), 11, Kd)
|
|
5028
5028
|
]),
|
|
5029
5029
|
_: 2
|
|
5030
5030
|
}, 1024))), 128))
|
|
@@ -5041,7 +5041,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5041
5041
|
])
|
|
5042
5042
|
])
|
|
5043
5043
|
]),
|
|
5044
|
-
m(f(
|
|
5044
|
+
m(f(Ie), { class: "lg:hidden" }, {
|
|
5045
5045
|
default: y(() => [
|
|
5046
5046
|
t("div", Qd, [
|
|
5047
5047
|
(l(!0), s(k, null, S(o.value, (d) => (l(), w(f(se), {
|
|
@@ -5054,8 +5054,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5054
5054
|
}, {
|
|
5055
5055
|
default: y(() => [
|
|
5056
5056
|
t("p", {
|
|
5057
|
-
onClick: (
|
|
5058
|
-
},
|
|
5057
|
+
onClick: (c) => n.$emit("topBarClick", d.id)
|
|
5058
|
+
}, u(d.name), 9, Xd)
|
|
5059
5059
|
]),
|
|
5060
5060
|
_: 2
|
|
5061
5061
|
}, 1032, ["class"]))), 128))
|
|
@@ -5069,8 +5069,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5069
5069
|
}, null, 8, sc)
|
|
5070
5070
|
]),
|
|
5071
5071
|
e.brand ? (l(), s("div", nc, [
|
|
5072
|
-
t("div", ac,
|
|
5073
|
-
t("div", oc,
|
|
5072
|
+
t("div", ac, u(e.brand.title), 1),
|
|
5073
|
+
t("div", oc, u(e.brand.subtitle), 1)
|
|
5074
5074
|
])) : b("", !0)
|
|
5075
5075
|
]),
|
|
5076
5076
|
t("div", ic, [
|
|
@@ -5081,8 +5081,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5081
5081
|
}, {
|
|
5082
5082
|
default: y(() => [
|
|
5083
5083
|
t("p", {
|
|
5084
|
-
onClick: (
|
|
5085
|
-
},
|
|
5084
|
+
onClick: (c) => n.$emit("topBarClick", d.id)
|
|
5085
|
+
}, u(d.name), 9, rc)
|
|
5086
5086
|
]),
|
|
5087
5087
|
_: 2
|
|
5088
5088
|
}, 1024))), 128))
|
|
@@ -5095,7 +5095,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
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__ */ A({
|
|
5099
5099
|
__name: "RangeSelector",
|
|
5100
5100
|
props: { range: { type: String } },
|
|
5101
5101
|
emits: ["rangeSelected"],
|
|
@@ -5108,23 +5108,23 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5108
5108
|
return (a, d) => (l(), s("ul", cc, [
|
|
5109
5109
|
t("li", {
|
|
5110
5110
|
class: x({ selected: f(n) === "24h" }),
|
|
5111
|
-
onClick: d[0] || (d[0] = (
|
|
5111
|
+
onClick: d[0] || (d[0] = (c) => r("24h"))
|
|
5112
5112
|
}, " 24H ", 2),
|
|
5113
5113
|
t("li", {
|
|
5114
5114
|
class: x({ selected: f(n) === "7d" }),
|
|
5115
|
-
onClick: d[1] || (d[1] = (
|
|
5115
|
+
onClick: d[1] || (d[1] = (c) => r("7d"))
|
|
5116
5116
|
}, "7D", 2),
|
|
5117
5117
|
t("li", {
|
|
5118
5118
|
class: x({ selected: f(n) === "1m" }),
|
|
5119
|
-
onClick: d[2] || (d[2] = (
|
|
5119
|
+
onClick: d[2] || (d[2] = (c) => r("1m"))
|
|
5120
5120
|
}, "1M", 2),
|
|
5121
5121
|
t("li", {
|
|
5122
5122
|
class: x({ selected: f(n) === "3m" }),
|
|
5123
|
-
onClick: d[3] || (d[3] = (
|
|
5123
|
+
onClick: d[3] || (d[3] = (c) => r("3m"))
|
|
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" }, bc = /* @__PURE__ */
|
|
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__ */ A({
|
|
5128
5128
|
__name: "uiFunnelChartV2",
|
|
5129
5129
|
props: {
|
|
5130
5130
|
labels: {},
|
|
@@ -5182,7 +5182,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5182
5182
|
}
|
|
5183
5183
|
}
|
|
5184
5184
|
};
|
|
5185
|
-
const r = j(() => ({ ...o.options, ...n })), a = j(() => o.series), d = () => i("chartUpdated"),
|
|
5185
|
+
const r = j(() => ({ ...o.options, ...n })), a = j(() => o.series), d = () => i("chartUpdated"), c = (v, p, C) => {
|
|
5186
5186
|
i("dataPointSelection", { id: o.id, chartContext: p, config: C, event: v });
|
|
5187
5187
|
};
|
|
5188
5188
|
return (v, p) => (l(), s(k, null, [
|
|
@@ -5190,7 +5190,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
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
|
}, [
|
|
5192
5192
|
t("div", gc, [
|
|
5193
|
-
t("div", mc,
|
|
5193
|
+
t("div", mc, u(e.title), 1),
|
|
5194
5194
|
m(uc, {
|
|
5195
5195
|
range: e.range,
|
|
5196
5196
|
onRangeSelected: p[0] || (p[0] = (C) => v.$emit("selectedRange", { range: C, chartId: e.id }))
|
|
@@ -5205,10 +5205,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5205
5205
|
options: r.value,
|
|
5206
5206
|
onUpdated: d,
|
|
5207
5207
|
onMounted: d,
|
|
5208
|
-
onDataPointSelection:
|
|
5208
|
+
onDataPointSelection: c
|
|
5209
5209
|
}, null, 8, ["type", "series", "height", "options"])
|
|
5210
5210
|
], 512), [
|
|
5211
|
-
[
|
|
5211
|
+
[F, !e.empty]
|
|
5212
5212
|
]),
|
|
5213
5213
|
D(t("div", hc, [
|
|
5214
5214
|
m(L, {
|
|
@@ -5219,10 +5219,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5219
5219
|
}, null, 8, ["icon"]),
|
|
5220
5220
|
p[1] || (p[1] = t("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1))
|
|
5221
5221
|
], 512), [
|
|
5222
|
-
[
|
|
5222
|
+
[F, e.empty]
|
|
5223
5223
|
])
|
|
5224
5224
|
], 2), [
|
|
5225
|
-
[
|
|
5225
|
+
[F, !e.loading]
|
|
5226
5226
|
]),
|
|
5227
5227
|
D(t("div", yc, [...p[2] || (p[2] = [
|
|
5228
5228
|
t("div", {
|
|
@@ -5251,11 +5251,11 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5251
5251
|
])
|
|
5252
5252
|
], -1)
|
|
5253
5253
|
])], 512), [
|
|
5254
|
-
[
|
|
5254
|
+
[F, e.loading]
|
|
5255
5255
|
])
|
|
5256
5256
|
], 64));
|
|
5257
5257
|
}
|
|
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__ */
|
|
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__ */ A({
|
|
5259
5259
|
__name: "uiRightSidebar",
|
|
5260
5260
|
props: {
|
|
5261
5261
|
title: {},
|
|
@@ -5296,7 +5296,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5296
5296
|
t("div", $c, [
|
|
5297
5297
|
m(f(Ct), { class: "text-base font-semibold leading-6" }, {
|
|
5298
5298
|
default: y(() => [
|
|
5299
|
-
B(
|
|
5299
|
+
B(u(e.title), 1)
|
|
5300
5300
|
]),
|
|
5301
5301
|
_: 1
|
|
5302
5302
|
}),
|
|
@@ -5316,11 +5316,11 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5316
5316
|
])
|
|
5317
5317
|
]),
|
|
5318
5318
|
t("div", Sc, [
|
|
5319
|
-
t("p", Bc,
|
|
5319
|
+
t("p", Bc, u(e.description), 1)
|
|
5320
5320
|
])
|
|
5321
5321
|
]),
|
|
5322
5322
|
t("div", Mc, [
|
|
5323
|
-
|
|
5323
|
+
G(i.$slots, "default")
|
|
5324
5324
|
])
|
|
5325
5325
|
])
|
|
5326
5326
|
]),
|
|
@@ -5339,15 +5339,15 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5339
5339
|
_: 3
|
|
5340
5340
|
}, 8, ["show"]));
|
|
5341
5341
|
}
|
|
5342
|
-
}), jc = { class: "uiGallery" },
|
|
5342
|
+
}), jc = { class: "uiGallery" }, Ac = {
|
|
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
|
+
}, Tc = { 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" }, _c = { class: "flex items-center justify-between" }, Fc = { class: "pointer-events-none block text-sm font-medium" }, Oc = {
|
|
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
|
-
},
|
|
5350
|
+
}, Ic = /* @__PURE__ */ A({
|
|
5351
5351
|
__name: "uiGallery",
|
|
5352
5352
|
props: {
|
|
5353
5353
|
galleryId: {},
|
|
@@ -5371,22 +5371,22 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5371
5371
|
onModalAction: a[0] || (a[0] = (d) => n(d))
|
|
5372
5372
|
}, {
|
|
5373
5373
|
default: y(() => [
|
|
5374
|
-
t("p", null,
|
|
5374
|
+
t("p", null, u(e.literals.modalText), 1)
|
|
5375
5375
|
]),
|
|
5376
5376
|
_: 1
|
|
5377
5377
|
}, 8, ["open", "title", "actions"])),
|
|
5378
|
-
e.loading ? (l(), s("ul",
|
|
5378
|
+
e.loading ? (l(), s("ul", Oc, [
|
|
5379
5379
|
(l(), s(k, null, S(4, (d) => t("li", null, [...a[2] || (a[2] = [
|
|
5380
5380
|
t("div", { class: "group aspect-h-7 aspect-w-10 block w-full overflow-hidden rounded-lg bg-gray-200 animate-pulse dark:bg-gray-200 focus-within:ring-2 focus-within:ring-lime-400 focus-within:ring-offset-2 focus-within:ring-offset-gray-100" }, null, -1),
|
|
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", Ac, [
|
|
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", Tc, [
|
|
5390
5390
|
t("img", {
|
|
5391
5391
|
src: d.source,
|
|
5392
5392
|
alt: "",
|
|
@@ -5395,18 +5395,18 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5395
5395
|
t("button", {
|
|
5396
5396
|
type: "button",
|
|
5397
5397
|
class: "absolute inset-0 focus:outline-none",
|
|
5398
|
-
onClick: (
|
|
5398
|
+
onClick: (c) => r.$emit("imgClicked", d)
|
|
5399
5399
|
}, null, 8, Lc)
|
|
5400
5400
|
]),
|
|
5401
|
-
t("p", Pc,
|
|
5402
|
-
t("div",
|
|
5403
|
-
t("p",
|
|
5401
|
+
t("p", Pc, u(d.title), 1),
|
|
5402
|
+
t("div", _c, [
|
|
5403
|
+
t("p", Fc, u(d.size), 1),
|
|
5404
5404
|
m(L, {
|
|
5405
5405
|
class: "cursor-pointer",
|
|
5406
5406
|
icon: f(pe),
|
|
5407
5407
|
color: "red",
|
|
5408
5408
|
loading: !1,
|
|
5409
|
-
onClick: (
|
|
5409
|
+
onClick: (c) => r.$emit("deleteImage", d)
|
|
5410
5410
|
}, null, 8, ["icon", "onClick"])
|
|
5411
5411
|
])
|
|
5412
5412
|
]))), 128))
|
|
@@ -5420,7 +5420,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5420
5420
|
size: "small"
|
|
5421
5421
|
}, {
|
|
5422
5422
|
default: y(() => [
|
|
5423
|
-
B(
|
|
5423
|
+
B(u(e.literals.deleteAllImages), 1)
|
|
5424
5424
|
]),
|
|
5425
5425
|
_: 1
|
|
5426
5426
|
})) : b("", !0)
|
|
@@ -5429,12 +5429,12 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5429
5429
|
}), Vc = {
|
|
5430
5430
|
key: 1,
|
|
5431
5431
|
class: "animate-pulse"
|
|
5432
|
-
},
|
|
5432
|
+
}, Nc = /* @__PURE__ */ A({
|
|
5433
5433
|
__name: "DraggableWrapper",
|
|
5434
5434
|
emits: ["update:modelValue"],
|
|
5435
5435
|
setup(e) {
|
|
5436
5436
|
const g = V(null);
|
|
5437
|
-
return
|
|
5437
|
+
return Fe(async () => {
|
|
5438
5438
|
if (typeof window < "u")
|
|
5439
5439
|
try {
|
|
5440
5440
|
const { default: i } = await import("vue3-draggable");
|
|
@@ -5443,11 +5443,11 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5443
5443
|
console.error("Failed to load vue3-draggable:", i);
|
|
5444
5444
|
}
|
|
5445
5445
|
}), (i, o) => (l(), s("div", null, [
|
|
5446
|
-
g.value ? (l(), w(
|
|
5446
|
+
g.value ? (l(), w(_e(g.value), Le({ key: 0 }, i.$attrs, {
|
|
5447
5447
|
"onUpdate:modelValue": o[0] || (o[0] = (n) => i.$emit("update:modelValue", n))
|
|
5448
5448
|
}), {
|
|
5449
5449
|
default: y(() => [
|
|
5450
|
-
|
|
5450
|
+
G(i.$slots, "default")
|
|
5451
5451
|
]),
|
|
5452
5452
|
_: 3
|
|
5453
5453
|
}, 16)) : (l(), s("div", Vc, [...o[1] || (o[1] = [
|
|
@@ -5457,10 +5457,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5457
5457
|
])]))
|
|
5458
5458
|
]));
|
|
5459
5459
|
}
|
|
5460
|
-
}),
|
|
5460
|
+
}), Rc = { 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__ */ A({
|
|
5464
5464
|
__name: "uiDragAndDrop",
|
|
5465
5465
|
props: {
|
|
5466
5466
|
elements: {},
|
|
@@ -5478,16 +5478,16 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5478
5478
|
};
|
|
5479
5479
|
return (a, d) => e.loading ? (l(), s("div", Zc, [...d[2] || (d[2] = [
|
|
5480
5480
|
ee('<div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div><div class="h-16 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-sm"></div>', 5)
|
|
5481
|
-
])])) : (l(), w(
|
|
5481
|
+
])])) : (l(), w(Nc, {
|
|
5482
5482
|
key: 0,
|
|
5483
5483
|
modelValue: f(n),
|
|
5484
5484
|
"onUpdate:modelValue": [
|
|
5485
|
-
d[0] || (d[0] = (
|
|
5486
|
-
d[1] || (d[1] = (
|
|
5485
|
+
d[0] || (d[0] = (c) => bt(n) ? n.value = c : n = c),
|
|
5486
|
+
d[1] || (d[1] = (c) => r(c))
|
|
5487
5487
|
]
|
|
5488
5488
|
}, {
|
|
5489
|
-
item: y(({ item:
|
|
5490
|
-
t("div",
|
|
5489
|
+
item: y(({ item: c }) => [
|
|
5490
|
+
t("div", Rc, [
|
|
5491
5491
|
t("div", qc, [
|
|
5492
5492
|
m(L, {
|
|
5493
5493
|
icon: f(Hl),
|
|
@@ -5497,17 +5497,17 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5497
5497
|
size: "big"
|
|
5498
5498
|
}, null, 8, ["icon"]),
|
|
5499
5499
|
t("div", Hc, [
|
|
5500
|
-
t("p", Yc, c
|
|
5501
|
-
|
|
5500
|
+
t("p", Yc, u(c.name), 1),
|
|
5501
|
+
c.description ? (l(), s("p", Ec, u(c.description), 1)) : b("", !0)
|
|
5502
5502
|
]),
|
|
5503
|
-
t("div", Uc,
|
|
5503
|
+
t("div", Uc, u(f(n).indexOf(c) + 1), 1)
|
|
5504
5504
|
])
|
|
5505
5505
|
])
|
|
5506
5506
|
]),
|
|
5507
5507
|
_: 1
|
|
5508
5508
|
}, 8, ["modelValue"]));
|
|
5509
5509
|
}
|
|
5510
|
-
}),
|
|
5510
|
+
}), Gc = { class: "chart-header flex flex-row justify-between" }, Jc = { 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__ */ A({
|
|
5511
5511
|
__name: "uiCircleChart",
|
|
5512
5512
|
props: {
|
|
5513
5513
|
labels: {},
|
|
@@ -5566,24 +5566,24 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5566
5566
|
}
|
|
5567
5567
|
}
|
|
5568
5568
|
};
|
|
5569
|
-
const d = () => ({ ...a, ...o.options }),
|
|
5570
|
-
i("dataPointSelection", { id: o.id, chartContext: P, config:
|
|
5571
|
-
},
|
|
5569
|
+
const d = () => ({ ...a, ...o.options }), c = j(() => o.series), v = j(() => d()), p = () => i("chartUpdated"), C = (E, P, R) => {
|
|
5570
|
+
i("dataPointSelection", { id: o.id, chartContext: P, config: R, event: E });
|
|
5571
|
+
}, N = () => {
|
|
5572
5572
|
r.from !== "" && r.to !== "" && Y(r.from).isBefore(Y(r.to)) && i("selectedRange", { range: r, chartId: o.id });
|
|
5573
5573
|
};
|
|
5574
5574
|
return (E, P) => (l(), s(k, null, [
|
|
5575
5575
|
D(t("div", {
|
|
5576
5576
|
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"])
|
|
5577
5577
|
}, [
|
|
5578
|
-
t("div",
|
|
5579
|
-
t("div",
|
|
5578
|
+
t("div", Gc, [
|
|
5579
|
+
t("div", Jc, u(e.title), 1),
|
|
5580
5580
|
t("div", Kc, [
|
|
5581
5581
|
t("div", Qc, [
|
|
5582
5582
|
D(t("input", {
|
|
5583
5583
|
type: "datetime-local",
|
|
5584
|
-
"onUpdate:modelValue": P[0] || (P[0] = (
|
|
5584
|
+
"onUpdate:modelValue": P[0] || (P[0] = (R) => f(r).from = R),
|
|
5585
5585
|
max: n.value.toString(),
|
|
5586
|
-
onChange:
|
|
5586
|
+
onChange: N,
|
|
5587
5587
|
name: "from",
|
|
5588
5588
|
id: "from",
|
|
5589
5589
|
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"
|
|
@@ -5594,9 +5594,9 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5594
5594
|
t("div", eu, [
|
|
5595
5595
|
D(t("input", {
|
|
5596
5596
|
type: "datetime-local",
|
|
5597
|
-
"onUpdate:modelValue": P[1] || (P[1] = (
|
|
5597
|
+
"onUpdate:modelValue": P[1] || (P[1] = (R) => f(r).to = R),
|
|
5598
5598
|
max: n.value.toString(),
|
|
5599
|
-
onChange:
|
|
5599
|
+
onChange: N,
|
|
5600
5600
|
name: "to",
|
|
5601
5601
|
id: "to",
|
|
5602
5602
|
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"
|
|
@@ -5609,7 +5609,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5609
5609
|
size: "big",
|
|
5610
5610
|
loading: e.loading,
|
|
5611
5611
|
icon: f(St),
|
|
5612
|
-
onClick: P[2] || (P[2] = (
|
|
5612
|
+
onClick: P[2] || (P[2] = (R) => E.$emit("maximizeChart", e.id))
|
|
5613
5613
|
}, null, 8, ["loading", "icon"])
|
|
5614
5614
|
])
|
|
5615
5615
|
]),
|
|
@@ -5617,7 +5617,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5617
5617
|
m(tt, {
|
|
5618
5618
|
class: "flex items-center justify-center mt-4",
|
|
5619
5619
|
type: "donut",
|
|
5620
|
-
series:
|
|
5620
|
+
series: c.value,
|
|
5621
5621
|
options: v.value,
|
|
5622
5622
|
height: e.height - 80,
|
|
5623
5623
|
onUpdated: p,
|
|
@@ -5625,7 +5625,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5625
5625
|
onDataPointSelection: C
|
|
5626
5626
|
}, null, 8, ["series", "options", "height"])
|
|
5627
5627
|
], 512), [
|
|
5628
|
-
[
|
|
5628
|
+
[F, !e.empty]
|
|
5629
5629
|
]),
|
|
5630
5630
|
D(t("div", su, [
|
|
5631
5631
|
m(L, {
|
|
@@ -5636,10 +5636,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5636
5636
|
}, null, 8, ["icon"]),
|
|
5637
5637
|
P[3] || (P[3] = t("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1))
|
|
5638
5638
|
], 512), [
|
|
5639
|
-
[
|
|
5639
|
+
[F, e.empty]
|
|
5640
5640
|
])
|
|
5641
5641
|
], 2), [
|
|
5642
|
-
[
|
|
5642
|
+
[F, !e.loading]
|
|
5643
5643
|
]),
|
|
5644
5644
|
D(t("div", nu, [...P[4] || (P[4] = [
|
|
5645
5645
|
t("div", {
|
|
@@ -5668,7 +5668,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5668
5668
|
])
|
|
5669
5669
|
], -1)
|
|
5670
5670
|
])], 512), [
|
|
5671
|
-
[
|
|
5671
|
+
[F, e.loading]
|
|
5672
5672
|
])
|
|
5673
5673
|
], 64));
|
|
5674
5674
|
}
|
|
@@ -5678,7 +5678,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
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__ */ A({
|
|
5682
5682
|
__name: "uiDateRange",
|
|
5683
5683
|
props: {
|
|
5684
5684
|
id: {},
|
|
@@ -5702,7 +5702,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5702
5702
|
const a = () => {
|
|
5703
5703
|
r("uiDateRangeButtonClicked", n);
|
|
5704
5704
|
};
|
|
5705
|
-
return (d,
|
|
5705
|
+
return (d, c) => e.loading ? (l(), s("div", iu, [
|
|
5706
5706
|
m(ae, {
|
|
5707
5707
|
name: "dateFrom",
|
|
5708
5708
|
loading: !0
|
|
@@ -5712,7 +5712,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5712
5712
|
loading: !0
|
|
5713
5713
|
}),
|
|
5714
5714
|
m(U, { loading: !0 }, {
|
|
5715
|
-
default: y(() => [...
|
|
5715
|
+
default: y(() => [...c[2] || (c[2] = [
|
|
5716
5716
|
B("Search", -1)
|
|
5717
5717
|
])]),
|
|
5718
5718
|
_: 1
|
|
@@ -5729,7 +5729,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5729
5729
|
disabled: e.disabled,
|
|
5730
5730
|
label: e.label,
|
|
5731
5731
|
max: o.value.toString(),
|
|
5732
|
-
onInputChanged:
|
|
5732
|
+
onInputChanged: c[0] || (c[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 vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5743
5743
|
disabled: e.disabled,
|
|
5744
5744
|
label: void 0,
|
|
5745
5745
|
max: o.value.toString(),
|
|
5746
|
-
onInputChanged:
|
|
5746
|
+
onInputChanged: c[1] || (c[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,
|
|
@@ -5753,7 +5753,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5753
5753
|
onClick: a
|
|
5754
5754
|
}, {
|
|
5755
5755
|
default: y(() => [
|
|
5756
|
-
B(
|
|
5756
|
+
B(u(e.literals.search), 1)
|
|
5757
5757
|
]),
|
|
5758
5758
|
_: 1
|
|
5759
5759
|
}, 8, ["disabled", "class"])
|
|
@@ -5769,7 +5769,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
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__ */ A({
|
|
5773
5773
|
__name: "uiRangeSlider",
|
|
5774
5774
|
props: {
|
|
5775
5775
|
loading: { type: Boolean, default: !0 },
|
|
@@ -5785,13 +5785,13 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5785
5785
|
const i = g, n = V(e.sliderValue);
|
|
5786
5786
|
return (r, a) => (l(), s("div", null, [
|
|
5787
5787
|
t("div", du, [
|
|
5788
|
-
e.label ? (l(), s("label", cu,
|
|
5789
|
-
e.requiredText ? (l(), s("span", uu,
|
|
5788
|
+
e.label ? (l(), s("label", cu, u(e.label), 1)) : b("", !0),
|
|
5789
|
+
e.requiredText ? (l(), s("span", uu, u(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(Al), {
|
|
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 vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5810
5810
|
}), fu = {
|
|
5811
5811
|
key: 0,
|
|
5812
5812
|
class: "mt-1 mb-8 text-sm"
|
|
5813
|
-
}, hu = /* @__PURE__ */
|
|
5813
|
+
}, hu = /* @__PURE__ */ A({
|
|
5814
5814
|
__name: "uiSectionTitle",
|
|
5815
5815
|
props: {
|
|
5816
5816
|
title: {},
|
|
@@ -5820,8 +5820,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5820
5820
|
return (g, i) => (l(), s(k, null, [
|
|
5821
5821
|
t("h3", {
|
|
5822
5822
|
class: x(["text-lg font-medium leading-6", { "mb-8": e.description === void 0 }])
|
|
5823
|
-
},
|
|
5824
|
-
e.description ? (l(), s("p", fu,
|
|
5823
|
+
}, u(e.title), 3),
|
|
5824
|
+
e.description ? (l(), s("p", fu, u(e.description), 1)) : b("", !0)
|
|
5825
5825
|
], 64));
|
|
5826
5826
|
}
|
|
5827
5827
|
}), yu = { class: "w-full" }, bu = { class: "flex flex-col gap-6 w-full" }, vu = {
|
|
@@ -5851,7 +5851,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
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__ */ A({
|
|
5855
5855
|
__name: "uiSecondarySidebar",
|
|
5856
5856
|
props: {
|
|
5857
5857
|
title: {},
|
|
@@ -5883,14 +5883,14 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5883
5883
|
size: "big",
|
|
5884
5884
|
color: "primary"
|
|
5885
5885
|
}, null, 8, ["icon", "loading"])) : b("", !0),
|
|
5886
|
-
e.loading ? (l(), s("div", pu)) : (l(), s("h2", xu,
|
|
5886
|
+
e.loading ? (l(), s("div", pu)) : (l(), s("h2", xu, u(e.title), 1))
|
|
5887
5887
|
])) : b("", !0),
|
|
5888
|
-
(l(!0), s(k, null, S(e.sections, (d,
|
|
5888
|
+
(l(!0), s(k, null, S(e.sections, (d, c) => (l(), s(k, {
|
|
5889
5889
|
key: d.id
|
|
5890
5890
|
}, [
|
|
5891
|
-
|
|
5891
|
+
c > 0 ? (l(), s("div", wu)) : b("", !0),
|
|
5892
5892
|
t("div", ku, [
|
|
5893
|
-
d.title && !e.loading ? (l(), s("h3", $u,
|
|
5893
|
+
d.title && !e.loading ? (l(), s("h3", $u, u(d.title), 1)) : d.title && e.loading ? (l(), s("div", Cu)) : b("", !0),
|
|
5894
5894
|
(l(!0), s(k, null, S(d.items, (v) => (l(), s("button", {
|
|
5895
5895
|
key: v.id,
|
|
5896
5896
|
onClick: (p) => n(d.id, v.id),
|
|
@@ -5906,27 +5906,27 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5906
5906
|
size: "medium",
|
|
5907
5907
|
color: d.selectedItemId === v.id && d.selectionStyle === "primary" ? "white" : "primary"
|
|
5908
5908
|
}, null, 8, ["icon", "loading", "color"])) : b("", !0),
|
|
5909
|
-
e.loading ? (l(), s("div", Mu)) : (l(), s("span", Bu,
|
|
5909
|
+
e.loading ? (l(), s("div", Mu)) : (l(), s("span", Bu, u(v.name), 1)),
|
|
5910
5910
|
v.count !== void 0 && !e.loading ? (l(), s("span", {
|
|
5911
5911
|
key: 3,
|
|
5912
5912
|
class: x([
|
|
5913
5913
|
"text-xs",
|
|
5914
5914
|
d.selectedItemId === v.id && d.selectionStyle === "primary" ? "text-gray-300" : "text-gray-500"
|
|
5915
5915
|
])
|
|
5916
|
-
}, " (" +
|
|
5916
|
+
}, " (" + u(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
|
+
}), Au = {
|
|
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
|
+
}, Tu = { 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" }, _u = {
|
|
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
|
-
},
|
|
5929
|
+
}, Fu = { class: "flex flex-1 flex-col p-8" }, Ou = { class: "rounded-md p-3 flex items-center justify-center mx-auto mb-4 bg-gray-200" }, Iu = { 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" }, Nu = /* @__PURE__ */ A({
|
|
5930
5930
|
__name: "uiDeviceStatus",
|
|
5931
5931
|
props: {
|
|
5932
5932
|
id: {},
|
|
@@ -5939,9 +5939,9 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5939
5939
|
},
|
|
5940
5940
|
emits: ["deviceStatusTagClicked", "deviceStatusQtyClicked"],
|
|
5941
5941
|
setup(e, { emit: g }) {
|
|
5942
|
-
return (i, o) => e.loading ? (l(), s("div",
|
|
5943
|
-
t("div",
|
|
5944
|
-
t("div",
|
|
5942
|
+
return (i, o) => e.loading ? (l(), s("div", _u, [
|
|
5943
|
+
t("div", Fu, [
|
|
5944
|
+
t("div", Ou, [
|
|
5945
5945
|
m(L, {
|
|
5946
5946
|
icon: e.icon,
|
|
5947
5947
|
size: "huge",
|
|
@@ -5951,9 +5951,9 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5951
5951
|
}, null, 8, ["icon", "loading"])
|
|
5952
5952
|
]),
|
|
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
|
-
t("dl",
|
|
5954
|
+
t("dl", Iu, [
|
|
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(J, {
|
|
5957
5957
|
key: r,
|
|
5958
5958
|
loading: e.loading,
|
|
5959
5959
|
event: n.event,
|
|
@@ -5961,15 +5961,15 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5961
5961
|
onTagEvent: o[2] || (o[2] = (a) => i.$emit("deviceStatusTagClicked", a))
|
|
5962
5962
|
}, {
|
|
5963
5963
|
default: y(() => [
|
|
5964
|
-
B(
|
|
5964
|
+
B(u(n.name), 1)
|
|
5965
5965
|
]),
|
|
5966
5966
|
_: 2
|
|
5967
5967
|
}, 1032, ["loading", "event", "color"]))), 128))
|
|
5968
5968
|
])
|
|
5969
5969
|
])
|
|
5970
5970
|
])
|
|
5971
|
-
])) : (l(), s("div",
|
|
5972
|
-
t("div",
|
|
5971
|
+
])) : (l(), s("div", Au, [
|
|
5972
|
+
t("div", Tu, [
|
|
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,
|
|
@@ -5988,17 +5988,17 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5988
5988
|
}, null, 8, ["icon"])
|
|
5989
5989
|
], 2),
|
|
5990
5990
|
t("h3", Du, [
|
|
5991
|
-
B(
|
|
5991
|
+
B(u(e.name) + " ", 1),
|
|
5992
5992
|
D(t("span", {
|
|
5993
5993
|
class: "text-black hover:text-lime-400 underline cursor-pointer",
|
|
5994
5994
|
onClick: o[0] || (o[0] = (n) => i.$emit("deviceStatusQtyClicked", e.id))
|
|
5995
|
-
}, "(" +
|
|
5996
|
-
[
|
|
5995
|
+
}, "(" + u(e.qty) + ")", 513), [
|
|
5996
|
+
[F, e.qty > 0]
|
|
5997
5997
|
])
|
|
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(J, {
|
|
6002
6002
|
key: r,
|
|
6003
6003
|
loading: !1,
|
|
6004
6004
|
event: n.event,
|
|
@@ -6006,7 +6006,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6006
6006
|
onTagEvent: o[1] || (o[1] = (a) => i.$emit("deviceStatusTagClicked", a))
|
|
6007
6007
|
}, {
|
|
6008
6008
|
default: y(() => [
|
|
6009
|
-
B(
|
|
6009
|
+
B(u(n.name), 1)
|
|
6010
6010
|
]),
|
|
6011
6011
|
_: 2
|
|
6012
6012
|
}, 1032, ["event", "color"]))), 128))
|
|
@@ -6015,7 +6015,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6015
6015
|
])
|
|
6016
6016
|
]));
|
|
6017
6017
|
}
|
|
6018
|
-
}),
|
|
6018
|
+
}), Ru = { 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" }, Gu = ["src"], Ju = { 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__ */ A({
|
|
6019
6019
|
__name: "uiWrapper",
|
|
6020
6020
|
props: {
|
|
6021
6021
|
topbar: {},
|
|
@@ -6052,7 +6052,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6052
6052
|
])]),
|
|
6053
6053
|
_: 1
|
|
6054
6054
|
}),
|
|
6055
|
-
t("div",
|
|
6055
|
+
t("div", Ru, [
|
|
6056
6056
|
m(f(ce), {
|
|
6057
6057
|
as: "template",
|
|
6058
6058
|
enter: "transition ease-in-out duration-300 transform",
|
|
@@ -6098,10 +6098,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6098
6098
|
filterNavigation: e.sidebar.filterNavigation,
|
|
6099
6099
|
loading: !1,
|
|
6100
6100
|
logo: e.topbar.logo,
|
|
6101
|
-
onSideBarClick: d[0] || (d[0] = (
|
|
6102
|
-
onProductBarClick: d[1] || (d[1] = (
|
|
6103
|
-
onCheckboxChanged: d[2] || (d[2] = (
|
|
6104
|
-
onInputChanged: d[3] || (d[3] = (
|
|
6101
|
+
onSideBarClick: d[0] || (d[0] = (c) => a.$emit("sideBarClick", c)),
|
|
6102
|
+
onProductBarClick: d[1] || (d[1] = (c) => a.$emit("productBarClick", c)),
|
|
6103
|
+
onCheckboxChanged: d[2] || (d[2] = (c) => a.$emit("checkboxChanged", c)),
|
|
6104
|
+
onInputChanged: d[3] || (d[3] = (c) => a.$emit("inputChanged", c))
|
|
6105
6105
|
}, null, 8, ["productsSidebar", "isFilterNavigation", "navigation", "filterNavigation", "logo"])
|
|
6106
6106
|
]),
|
|
6107
6107
|
_: 1
|
|
@@ -6124,10 +6124,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6124
6124
|
filterNavigation: e.sidebar.filterNavigation,
|
|
6125
6125
|
loading: !1,
|
|
6126
6126
|
logo: e.topbar.logo,
|
|
6127
|
-
onSideBarClick: d[4] || (d[4] = (
|
|
6128
|
-
onProductBarClick: d[5] || (d[5] = (
|
|
6129
|
-
onCheckboxChanged: d[6] || (d[6] = (
|
|
6130
|
-
onInputChanged: d[7] || (d[7] = (
|
|
6127
|
+
onSideBarClick: d[4] || (d[4] = (c) => a.$emit("sideBarClick", c)),
|
|
6128
|
+
onProductBarClick: d[5] || (d[5] = (c) => a.$emit("productBarClick", c)),
|
|
6129
|
+
onCheckboxChanged: d[6] || (d[6] = (c) => a.$emit("checkboxChanged", c)),
|
|
6130
|
+
onInputChanged: d[7] || (d[7] = (c) => a.$emit("inputChanged", c))
|
|
6131
6131
|
}, null, 8, ["productsSidebar", "isFilterNavigation", "navigation", "filterNavigation", "logo"])
|
|
6132
6132
|
]),
|
|
6133
6133
|
t("div", Yu, [
|
|
@@ -6153,19 +6153,19 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6153
6153
|
class: "w-full self-center relative",
|
|
6154
6154
|
items: e.topbar.selectItems,
|
|
6155
6155
|
select: e.topbar.selectedItem,
|
|
6156
|
-
onSelectChanged: d[8] || (d[8] = (
|
|
6156
|
+
onSelectChanged: d[8] || (d[8] = (c) => a.$emit("selectChanged", c))
|
|
6157
6157
|
}, null, 8, ["items", "select"]),
|
|
6158
6158
|
t("div", Zu, [
|
|
6159
6159
|
t("button", {
|
|
6160
6160
|
type: "button",
|
|
6161
6161
|
class: "-m-2.5 p-2.5 text-gray-400 hover:text-gray-500 relative",
|
|
6162
|
-
onClick: d[9] || (d[9] = (
|
|
6162
|
+
onClick: d[9] || (d[9] = (c) => o("bellClick"))
|
|
6163
6163
|
}, [
|
|
6164
6164
|
d[14] || (d[14] = t("span", { class: "sr-only" }, "View notifications", -1)),
|
|
6165
6165
|
D(t("div", Wu, [...d[13] || (d[13] = [
|
|
6166
6166
|
t("span", { class: "animate-ping absolute inline-flex h-4 w-4 bg-red-500 rounded-full opacity-75" }, null, -1)
|
|
6167
6167
|
])], 512), [
|
|
6168
|
-
[
|
|
6168
|
+
[F, e.topbar.alerted]
|
|
6169
6169
|
]),
|
|
6170
6170
|
m(f(Yl), {
|
|
6171
6171
|
class: "h-6 w-6",
|
|
@@ -6188,8 +6188,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6188
6188
|
class: "h-8 w-8 rounded-full bg-gray-50",
|
|
6189
6189
|
src: e.topbar.accountLogo,
|
|
6190
6190
|
alt: ""
|
|
6191
|
-
}, null, 8,
|
|
6192
|
-
t("span",
|
|
6191
|
+
}, null, 8, Gu),
|
|
6192
|
+
t("span", Ju, [
|
|
6193
6193
|
m(f(oe), {
|
|
6194
6194
|
class: "ml-2 h-5 w-5 text-gray-400",
|
|
6195
6195
|
"aria-hidden": "true"
|
|
@@ -6207,20 +6207,20 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6207
6207
|
"leave-to-class": "transform opacity-0 scale-95"
|
|
6208
6208
|
}, {
|
|
6209
6209
|
default: y(() => [
|
|
6210
|
-
m(f(
|
|
6210
|
+
m(f(Ge), { 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, (
|
|
6213
|
-
key:
|
|
6212
|
+
(l(!0), s(k, null, S(e.topbar.profileMenu, (c) => (l(), w(f(Je), {
|
|
6213
|
+
key: c.name
|
|
6214
6214
|
}, {
|
|
6215
6215
|
default: y(({ active: v }) => [
|
|
6216
6216
|
t("a", {
|
|
6217
|
-
onClick: (p) => a.$emit("topBarClick",
|
|
6217
|
+
onClick: (p) => a.$emit("topBarClick", c.id),
|
|
6218
6218
|
class: x([
|
|
6219
6219
|
v ? "bg-gray-50" : "",
|
|
6220
|
-
|
|
6220
|
+
c.current ? "bg-gray-100 font-semibold" : "",
|
|
6221
6221
|
"block px-3 py-1 text-sm leading-6 text-gray-900 cursor-pointer"
|
|
6222
6222
|
])
|
|
6223
|
-
}, c
|
|
6223
|
+
}, u(c.name), 11, Ku)
|
|
6224
6224
|
]),
|
|
6225
6225
|
_: 2
|
|
6226
6226
|
}, 1024))), 128))
|
|
@@ -6238,13 +6238,13 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6238
6238
|
]),
|
|
6239
6239
|
t("main", Qu, [
|
|
6240
6240
|
t("div", Xu, [
|
|
6241
|
-
|
|
6241
|
+
G(a.$slots, "default")
|
|
6242
6242
|
])
|
|
6243
6243
|
])
|
|
6244
6244
|
])
|
|
6245
6245
|
]));
|
|
6246
6246
|
}
|
|
6247
|
-
}), t0 = /* @__PURE__ */
|
|
6247
|
+
}), t0 = /* @__PURE__ */ A({
|
|
6248
6248
|
__name: "uiDynamicStats",
|
|
6249
6249
|
props: {
|
|
6250
6250
|
dynamicStats: {},
|
|
@@ -6252,14 +6252,14 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6252
6252
|
},
|
|
6253
6253
|
emits: ["statClick"],
|
|
6254
6254
|
setup(e, { emit: g }) {
|
|
6255
|
-
const i = e, o = g, n = (
|
|
6256
|
-
o("statClick",
|
|
6255
|
+
const i = e, o = g, n = (c) => {
|
|
6256
|
+
o("statClick", c);
|
|
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
|
|
6258
|
+
return Fe(() => a.value += 1), (c, 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
|
}, [
|
|
6262
|
-
(l(!0), s(k, null, S(e.dynamicStats, (p, C) => (l(), w(
|
|
6262
|
+
(l(!0), s(k, null, S(e.dynamicStats, (p, C) => (l(), w(_t, {
|
|
6263
6263
|
key: C,
|
|
6264
6264
|
item: p,
|
|
6265
6265
|
loading: e.loading,
|
|
@@ -6276,7 +6276,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
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__ */ A({
|
|
6280
6280
|
__name: "uiSelectMultiple",
|
|
6281
6281
|
props: {
|
|
6282
6282
|
items: {},
|
|
@@ -6298,10 +6298,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6298
6298
|
i("selectChanged", d);
|
|
6299
6299
|
};
|
|
6300
6300
|
function a(d) {
|
|
6301
|
-
n.value = n.value.filter((
|
|
6301
|
+
n.value = n.value.filter((c) => c.id !== d.id), r(n.value);
|
|
6302
6302
|
}
|
|
6303
|
-
return (d,
|
|
6304
|
-
|
|
6303
|
+
return (d, c) => e.loading ? (l(), s("div", d0, [
|
|
6304
|
+
c[4] || (c[4] = t("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, null, -1)),
|
|
6305
6305
|
m(f(He), {
|
|
6306
6306
|
"aria-hidden": "true",
|
|
6307
6307
|
class: "-mr-1 ml-2 h-5 w-5"
|
|
@@ -6310,7 +6310,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6310
6310
|
key: 0,
|
|
6311
6311
|
modelValue: f(n),
|
|
6312
6312
|
"onUpdate:modelValue": [
|
|
6313
|
-
|
|
6313
|
+
c[0] || (c[0] = (v) => bt(n) ? n.value = v : n = v),
|
|
6314
6314
|
r
|
|
6315
6315
|
],
|
|
6316
6316
|
name: "selectorMultiple",
|
|
@@ -6322,11 +6322,11 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6322
6322
|
t("div", l0, [
|
|
6323
6323
|
m(f(Bl), { class: "block text-sm font-medium" }, {
|
|
6324
6324
|
default: y(() => [
|
|
6325
|
-
B(
|
|
6325
|
+
B(u(e.label), 1)
|
|
6326
6326
|
]),
|
|
6327
6327
|
_: 1
|
|
6328
6328
|
}),
|
|
6329
|
-
e.requiredText ? (l(), s("span", s0,
|
|
6329
|
+
e.requiredText ? (l(), s("span", s0, u(e.requiredText), 1)) : b("", !0)
|
|
6330
6330
|
]),
|
|
6331
6331
|
t("div", n0, [
|
|
6332
6332
|
m(f(Ml), {
|
|
@@ -6353,7 +6353,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6353
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,
|
|
6356
|
+
t("span", null, u(v.name), 1),
|
|
6357
6357
|
(l(), s("svg", {
|
|
6358
6358
|
class: "h-4 w-4 cursor-pointer",
|
|
6359
6359
|
fill: "none",
|
|
@@ -6361,7 +6361,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6361
6361
|
viewBox: "0 0 24 24",
|
|
6362
6362
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6363
6363
|
onClick: ne((p) => a(v), ["stop", "prevent"])
|
|
6364
|
-
}, [...
|
|
6364
|
+
}, [...c[1] || (c[1] = [
|
|
6365
6365
|
t("path", {
|
|
6366
6366
|
"stroke-linecap": "round",
|
|
6367
6367
|
"stroke-linejoin": "round",
|
|
@@ -6371,7 +6371,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6371
6371
|
])], 8, i0))
|
|
6372
6372
|
]))), 128))
|
|
6373
6373
|
]),
|
|
6374
|
-
|
|
6374
|
+
c[2] || (c[2] = t("span", { class: "absolute h-full right-0 mr-2 self-center top-0 flex items-center" }, [
|
|
6375
6375
|
t("svg", {
|
|
6376
6376
|
class: "h-5 w-5 text-black",
|
|
6377
6377
|
viewBox: "0 0 20 20",
|
|
@@ -6403,11 +6403,11 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6403
6403
|
}, [
|
|
6404
6404
|
t("span", {
|
|
6405
6405
|
class: x(["block truncate", { "font-semibold": C, "font-normal": !C }])
|
|
6406
|
-
},
|
|
6406
|
+
}, u(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 }])
|
|
6410
|
-
}, [...
|
|
6410
|
+
}, [...c[3] || (c[3] = [
|
|
6411
6411
|
t("svg", {
|
|
6412
6412
|
class: "h-5 w-5",
|
|
6413
6413
|
viewBox: "0 0 20 20",
|
|
@@ -6435,8 +6435,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6435
6435
|
"text-yellow-400": e.color === "yellow",
|
|
6436
6436
|
"text-green-600": e.color === "green"
|
|
6437
6437
|
}, "mt-2 text-xs flex flex-row items-center"])
|
|
6438
|
-
},
|
|
6439
|
-
[
|
|
6438
|
+
}, u(e.error), 3), [
|
|
6439
|
+
[F, e.error]
|
|
6440
6440
|
])
|
|
6441
6441
|
])
|
|
6442
6442
|
]),
|
|
@@ -6446,7 +6446,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6446
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__ */ A({
|
|
6450
6450
|
__name: "Comparator",
|
|
6451
6451
|
props: {
|
|
6452
6452
|
toCompare: {},
|
|
@@ -6458,11 +6458,11 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6458
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
6459
|
name: v,
|
|
6460
6460
|
commands: p
|
|
6461
|
-
})) : []), a = (v, p, C,
|
|
6462
|
-
o("checkboxChanged", v, p, C,
|
|
6461
|
+
})) : []), a = (v, p, C, N) => {
|
|
6462
|
+
o("checkboxChanged", v, p, C, N);
|
|
6463
6463
|
}, d = () => {
|
|
6464
6464
|
o("compareButtonClicked");
|
|
6465
|
-
},
|
|
6465
|
+
}, c = () => {
|
|
6466
6466
|
o("generateNewFile");
|
|
6467
6467
|
};
|
|
6468
6468
|
return (v, p) => (l(), s("div", u0, [
|
|
@@ -6500,7 +6500,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6500
6500
|
value: "ignoreMinorDifferences"
|
|
6501
6501
|
}, {
|
|
6502
6502
|
default: y(() => [
|
|
6503
|
-
B(
|
|
6503
|
+
B(u(e.literals.ignoreMinorDifferencesCheck), 1)
|
|
6504
6504
|
]),
|
|
6505
6505
|
_: 1
|
|
6506
6506
|
}),
|
|
@@ -6512,7 +6512,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6512
6512
|
onClick: d
|
|
6513
6513
|
}, {
|
|
6514
6514
|
default: y(() => [
|
|
6515
|
-
B(
|
|
6515
|
+
B(u(e.literals.compareFilesButton), 1)
|
|
6516
6516
|
]),
|
|
6517
6517
|
_: 1
|
|
6518
6518
|
})
|
|
@@ -6522,24 +6522,24 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6522
6522
|
key: C.name,
|
|
6523
6523
|
class: "p-6 bg-gray-50 border border-gray-300 rounded-lg shadow-sm"
|
|
6524
6524
|
}, [
|
|
6525
|
-
m(f(
|
|
6526
|
-
default: y(({ open:
|
|
6525
|
+
m(f(Oe), null, {
|
|
6526
|
+
default: y(({ open: N }) => [
|
|
6527
6527
|
m(f(se), { class: "flex items-center justify-between w-full" }, {
|
|
6528
6528
|
default: y(() => [
|
|
6529
|
-
t("h2", y0,
|
|
6529
|
+
t("h2", y0, u(C.name), 1),
|
|
6530
6530
|
m(L, {
|
|
6531
6531
|
icon: f(oe),
|
|
6532
6532
|
loading: !1,
|
|
6533
|
-
class: x(["cursor-pointer transition-transform duration-300 ease-in-out", { "rotate-180 transform":
|
|
6533
|
+
class: x(["cursor-pointer transition-transform duration-300 ease-in-out", { "rotate-180 transform": N }])
|
|
6534
6534
|
}, null, 8, ["icon", "class"])
|
|
6535
6535
|
]),
|
|
6536
6536
|
_: 2
|
|
6537
6537
|
}, 1024),
|
|
6538
|
-
m(f(
|
|
6538
|
+
m(f(Ie), null, {
|
|
6539
6539
|
default: y(() => [
|
|
6540
6540
|
t("div", b0, [
|
|
6541
6541
|
t("div", v0, [
|
|
6542
|
-
t("p", x0,
|
|
6542
|
+
t("p", x0, u(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, {
|
|
6545
6545
|
key: `file1_${C.name}_${P}`,
|
|
@@ -6547,17 +6547,17 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6547
6547
|
id: `file1_${C.name}_${P}`,
|
|
6548
6548
|
loading: !1,
|
|
6549
6549
|
value: `file1_${C.name}_${P}`,
|
|
6550
|
-
onCheckboxChanged: (
|
|
6550
|
+
onCheckboxChanged: (R) => a(C.name, "1", P, R.checked)
|
|
6551
6551
|
}, {
|
|
6552
6552
|
default: y(() => [
|
|
6553
|
-
B(
|
|
6553
|
+
B(u(E), 1)
|
|
6554
6554
|
]),
|
|
6555
6555
|
_: 2
|
|
6556
6556
|
}, 1032, ["name", "id", "value", "onCheckboxChanged"]))), 128))
|
|
6557
6557
|
])
|
|
6558
6558
|
]),
|
|
6559
6559
|
t("div", w0, [
|
|
6560
|
-
t("p", k0,
|
|
6560
|
+
t("p", k0, u(e.literals.file2Content), 1),
|
|
6561
6561
|
t("div", $0, [
|
|
6562
6562
|
(l(!0), s(k, null, S(C.commands[1]?.entries || [], (E, P) => (l(), w(ue, {
|
|
6563
6563
|
key: `file2_${C.name}_${P}`,
|
|
@@ -6565,10 +6565,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6565
6565
|
id: `file2_${C.name}_${P}`,
|
|
6566
6566
|
loading: !1,
|
|
6567
6567
|
value: `file2_${C.name}_${P}`,
|
|
6568
|
-
onCheckboxChanged: (
|
|
6568
|
+
onCheckboxChanged: (R) => a(C.name, "2", P, R.checked)
|
|
6569
6569
|
}, {
|
|
6570
6570
|
default: y(() => [
|
|
6571
|
-
B(
|
|
6571
|
+
B(u(E), 1)
|
|
6572
6572
|
]),
|
|
6573
6573
|
_: 2
|
|
6574
6574
|
}, 1032, ["name", "id", "value", "onCheckboxChanged"]))), 128))
|
|
@@ -6593,7 +6593,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6593
6593
|
size: "medium",
|
|
6594
6594
|
loading: !1,
|
|
6595
6595
|
class: "mt-4",
|
|
6596
|
-
onClick:
|
|
6596
|
+
onClick: c
|
|
6597
6597
|
}, {
|
|
6598
6598
|
default: y(() => [...p[2] || (p[2] = [
|
|
6599
6599
|
B(" Generar nuevo archivo ", -1)
|
|
@@ -6610,15 +6610,15 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
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"], A0 = { class: "flex h-9 items-center" }, T0 = { 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" }, _0 = {
|
|
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"
|
|
6617
|
-
},
|
|
6617
|
+
}, F0 = ["onClick"], O0 = { class: "ml-4 flex min-w-0 flex-col text-left" }, I0 = { class: "text-sm font-medium text-lime-400 text-left" }, V0 = { class: "text-sm text-left" }, N0 = {
|
|
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
|
-
},
|
|
6621
|
+
}, R0 = ["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__ */ A({
|
|
6622
6622
|
__name: "uiSteps",
|
|
6623
6623
|
props: {
|
|
6624
6624
|
steps: {}
|
|
@@ -6630,46 +6630,46 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6630
6630
|
// Solo mantener el status si es "complete" o "current", de lo contrario usar "upcoming"
|
|
6631
6631
|
status: a.status === "complete" || a.status === "current" ? a.status : "upcoming"
|
|
6632
6632
|
}))), r = (a, d) => {
|
|
6633
|
-
const
|
|
6634
|
-
|
|
6633
|
+
const c = n.value[d];
|
|
6634
|
+
c.status === "complete" ? o("stepCompleted", c) : c.status === "current" ? o("stepCurrent", c) : o("stepUpcoming", c), o("stepClick", c, d);
|
|
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, (
|
|
6639
|
-
key:
|
|
6638
|
+
(l(!0), s(k, null, S(n.value, (c, v) => (l(), s("li", {
|
|
6639
|
+
key: c.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
|
+
c.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(
|
|
6651
|
+
onClick: (p) => r(c, v)
|
|
6652
6652
|
}, [
|
|
6653
|
-
t("span",
|
|
6654
|
-
t("span",
|
|
6655
|
-
m(f(
|
|
6653
|
+
t("span", A0, [
|
|
6654
|
+
t("span", T0, [
|
|
6655
|
+
m(f(Tt), {
|
|
6656
6656
|
class: "size-5",
|
|
6657
6657
|
"aria-hidden": "true"
|
|
6658
6658
|
})
|
|
6659
6659
|
])
|
|
6660
6660
|
]),
|
|
6661
6661
|
t("span", D0, [
|
|
6662
|
-
t("span", L0, c
|
|
6663
|
-
t("span", P0, c
|
|
6662
|
+
t("span", L0, u(c.name), 1),
|
|
6663
|
+
t("span", P0, u(c.description), 1)
|
|
6664
6664
|
])
|
|
6665
6665
|
], 8, j0)
|
|
6666
|
-
], 64)) :
|
|
6667
|
-
v !== n.value.length - 1 ? (l(), s("div",
|
|
6666
|
+
], 64)) : c.status === "current" ? (l(), s(k, { key: 1 }, [
|
|
6667
|
+
v !== n.value.length - 1 ? (l(), s("div", _0)) : 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(
|
|
6672
|
+
onClick: (p) => r(c, v)
|
|
6673
6673
|
}, [
|
|
6674
6674
|
d[0] || (d[0] = t("span", {
|
|
6675
6675
|
class: "flex h-9 items-center",
|
|
@@ -6679,17 +6679,17 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6679
6679
|
t("span", { class: "size-2.5 rounded-full bg-lime-400" })
|
|
6680
6680
|
])
|
|
6681
6681
|
], -1)),
|
|
6682
|
-
t("span",
|
|
6683
|
-
t("span",
|
|
6684
|
-
t("span", V0, c
|
|
6682
|
+
t("span", O0, [
|
|
6683
|
+
t("span", I0, u(c.name), 1),
|
|
6684
|
+
t("span", V0, u(c.description), 1)
|
|
6685
6685
|
])
|
|
6686
|
-
], 8,
|
|
6686
|
+
], 8, F0)
|
|
6687
6687
|
], 64)) : (l(), s(k, { key: 2 }, [
|
|
6688
|
-
v !== n.value.length - 1 ? (l(), s("div",
|
|
6688
|
+
v !== n.value.length - 1 ? (l(), s("div", N0)) : 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(
|
|
6692
|
+
onClick: (p) => r(c, v)
|
|
6693
6693
|
}, [
|
|
6694
6694
|
d[1] || (d[1] = t("span", {
|
|
6695
6695
|
class: "flex h-9 items-center",
|
|
@@ -6700,16 +6700,119 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6700
6700
|
])
|
|
6701
6701
|
], -1)),
|
|
6702
6702
|
t("span", q0, [
|
|
6703
|
-
t("span", H0, c
|
|
6704
|
-
t("span", Y0, c
|
|
6703
|
+
t("span", H0, u(c.name), 1),
|
|
6704
|
+
t("span", Y0, u(c.description), 1)
|
|
6705
6705
|
])
|
|
6706
|
-
], 8,
|
|
6706
|
+
], 8, R0)
|
|
6707
6707
|
], 64))
|
|
6708
6708
|
], 2))), 128))
|
|
6709
6709
|
])
|
|
6710
6710
|
]));
|
|
6711
6711
|
}
|
|
6712
|
-
})
|
|
6712
|
+
});
|
|
6713
|
+
function U0(e, g) {
|
|
6714
|
+
return l(), s("svg", {
|
|
6715
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6716
|
+
viewBox: "0 0 24 24",
|
|
6717
|
+
fill: "currentColor",
|
|
6718
|
+
"aria-hidden": "true",
|
|
6719
|
+
"data-slot": "icon"
|
|
6720
|
+
}, [
|
|
6721
|
+
t("path", {
|
|
6722
|
+
"fill-rule": "evenodd",
|
|
6723
|
+
d: "M19.916 4.626a.75.75 0 0 1 .208 1.04l-9 13.5a.75.75 0 0 1-1.154.114l-6-6a.75.75 0 0 1 1.06-1.06l5.353 5.353 8.493-12.74a.75.75 0 0 1 1.04-.207Z",
|
|
6724
|
+
"clip-rule": "evenodd"
|
|
6725
|
+
})
|
|
6726
|
+
]);
|
|
6727
|
+
}
|
|
6728
|
+
const Z0 = { "aria-label": "Progress" }, W0 = {
|
|
6729
|
+
role: "list",
|
|
6730
|
+
class: "divide-y divide-gray-300 rounded-md border border-gray-300 xl:flex xl:divide-y-0"
|
|
6731
|
+
}, G0 = ["onClick"], J0 = { class: "flex items-center px-6 py-4 text-sm font-medium" }, K0 = { class: "flex size-10 shrink-0 items-center justify-center rounded-full bg-lime-400 border-2 border-lime-400 group-hover:bg-black transition-colors" }, Q0 = { class: "ml-4 text-sm font-medium text-black text-left" }, X0 = ["onClick"], eg = { class: "flex size-10 shrink-0 items-center justify-center rounded-full bg-black border-2 border-black" }, tg = { class: "text-white font-medium" }, lg = { class: "ml-4 text-sm font-medium text-black text-left" }, sg = ["onClick"], ng = { class: "flex items-center px-6 py-4 text-sm font-medium" }, ag = { class: "flex size-10 shrink-0 items-center justify-center rounded-full border-2 border-black transition-colors" }, og = { class: "text-black" }, ig = { class: "ml-4 text-sm font-medium text-black text-left" }, rg = {
|
|
6732
|
+
key: 3,
|
|
6733
|
+
class: "absolute right-0 top-0 hidden h-full w-5 lg:block",
|
|
6734
|
+
"aria-hidden": "true"
|
|
6735
|
+
}, dg = /* @__PURE__ */ A({
|
|
6736
|
+
__name: "uiStepsV4",
|
|
6737
|
+
props: {
|
|
6738
|
+
steps: {}
|
|
6739
|
+
},
|
|
6740
|
+
emits: ["stepCompleted", "stepCurrent", "stepUpcoming", "stepClick"],
|
|
6741
|
+
setup(e, { emit: g }) {
|
|
6742
|
+
const i = e, o = g, n = j(() => i.steps.map((a, d) => ({
|
|
6743
|
+
...a,
|
|
6744
|
+
// Si no tiene id, usar el índice + 1 formateado
|
|
6745
|
+
id: a.id || String(d + 1).padStart(2, "0"),
|
|
6746
|
+
status: a.status === "complete" || a.status === "current" ? a.status : "upcoming"
|
|
6747
|
+
}))), r = (a, d) => {
|
|
6748
|
+
const c = n.value[d];
|
|
6749
|
+
c.status === "complete" ? o("stepCompleted", c) : c.status === "current" ? o("stepCurrent", c) : o("stepUpcoming", c), o("stepClick", c, d);
|
|
6750
|
+
};
|
|
6751
|
+
return (a, d) => (l(), s("nav", Z0, [
|
|
6752
|
+
t("ol", W0, [
|
|
6753
|
+
(l(!0), s(k, null, S(n.value, (c, v) => (l(), s("li", {
|
|
6754
|
+
key: c.id,
|
|
6755
|
+
class: "relative xl:flex xl:flex-1"
|
|
6756
|
+
}, [
|
|
6757
|
+
c.status === "complete" ? (l(), s("button", {
|
|
6758
|
+
key: 0,
|
|
6759
|
+
type: "button",
|
|
6760
|
+
class: "group flex w-full items-center cursor-pointer",
|
|
6761
|
+
onClick: (p) => r(c, v)
|
|
6762
|
+
}, [
|
|
6763
|
+
t("span", J0, [
|
|
6764
|
+
t("span", K0, [
|
|
6765
|
+
m(f(U0), {
|
|
6766
|
+
class: "size-6 text-white",
|
|
6767
|
+
"aria-hidden": "true"
|
|
6768
|
+
})
|
|
6769
|
+
]),
|
|
6770
|
+
t("span", Q0, u(c.name), 1)
|
|
6771
|
+
])
|
|
6772
|
+
], 8, G0)) : c.status === "current" ? (l(), s("button", {
|
|
6773
|
+
key: 1,
|
|
6774
|
+
type: "button",
|
|
6775
|
+
class: "flex items-center px-6 py-4 text-sm font-medium cursor-pointer",
|
|
6776
|
+
"aria-current": "step",
|
|
6777
|
+
onClick: (p) => r(c, v)
|
|
6778
|
+
}, [
|
|
6779
|
+
t("span", eg, [
|
|
6780
|
+
t("span", tg, u(c.id), 1)
|
|
6781
|
+
]),
|
|
6782
|
+
t("span", lg, u(c.name), 1)
|
|
6783
|
+
], 8, X0)) : (l(), s("button", {
|
|
6784
|
+
key: 2,
|
|
6785
|
+
type: "button",
|
|
6786
|
+
class: "group flex items-center cursor-pointer",
|
|
6787
|
+
onClick: (p) => r(c, v)
|
|
6788
|
+
}, [
|
|
6789
|
+
t("span", ng, [
|
|
6790
|
+
t("span", ag, [
|
|
6791
|
+
t("span", og, u(c.id), 1)
|
|
6792
|
+
]),
|
|
6793
|
+
t("span", ig, u(c.name), 1)
|
|
6794
|
+
])
|
|
6795
|
+
], 8, sg)),
|
|
6796
|
+
v !== n.value.length - 1 ? (l(), s("div", rg, [...d[0] || (d[0] = [
|
|
6797
|
+
t("svg", {
|
|
6798
|
+
class: "size-full text-gray-300",
|
|
6799
|
+
viewBox: "0 0 22 80",
|
|
6800
|
+
fill: "none",
|
|
6801
|
+
preserveAspectRatio: "none"
|
|
6802
|
+
}, [
|
|
6803
|
+
t("path", {
|
|
6804
|
+
d: "M0 -2L20 40L0 82",
|
|
6805
|
+
"vector-effect": "non-scaling-stroke",
|
|
6806
|
+
stroke: "currentcolor",
|
|
6807
|
+
"stroke-linejoin": "round"
|
|
6808
|
+
})
|
|
6809
|
+
], -1)
|
|
6810
|
+
])])) : b("", !0)
|
|
6811
|
+
]))), 128))
|
|
6812
|
+
])
|
|
6813
|
+
]));
|
|
6814
|
+
}
|
|
6815
|
+
}), cg = { class: "grid min-h-full place-items-center bg-white px-6 py-24 sm:py-32 lg:px-8" }, ug = { class: "text-center" }, gg = { class: "mt-4 text-balance text-5xl font-semibold tracking-tight text-gray-900 sm:text-7xl" }, mg = { class: "mt-6 text-pretty text-lg font-medium text-gray-500 sm:text-xl/8" }, fg = { class: "mt-10 flex items-center justify-center gap-x-6" }, hg = ["href"], yg = /* @__PURE__ */ A({
|
|
6713
6816
|
__name: "ui404",
|
|
6714
6817
|
props: {
|
|
6715
6818
|
lang: { default: "es" },
|
|
@@ -6730,26 +6833,26 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6730
6833
|
contactSupport: "Contact support"
|
|
6731
6834
|
}
|
|
6732
6835
|
}, o = j(() => i[g.lang]);
|
|
6733
|
-
return (n, r) => (l(), s("main",
|
|
6734
|
-
t("div",
|
|
6836
|
+
return (n, r) => (l(), s("main", cg, [
|
|
6837
|
+
t("div", ug, [
|
|
6735
6838
|
r[1] || (r[1] = t("p", { class: "text-base font-semibold text-lime-400" }, "404", -1)),
|
|
6736
|
-
t("h1",
|
|
6737
|
-
t("p",
|
|
6738
|
-
t("div",
|
|
6839
|
+
t("h1", gg, u(o.value.title), 1),
|
|
6840
|
+
t("p", mg, u(o.value.description), 1),
|
|
6841
|
+
t("div", fg, [
|
|
6739
6842
|
t("a", {
|
|
6740
6843
|
href: e.supportLink,
|
|
6741
6844
|
class: "text-sm font-semibold text-gray-900"
|
|
6742
6845
|
}, [
|
|
6743
|
-
B(
|
|
6846
|
+
B(u(o.value.contactSupport) + " ", 1),
|
|
6744
6847
|
r[0] || (r[0] = t("span", { "aria-hidden": "true" }, "→", -1))
|
|
6745
|
-
], 8,
|
|
6848
|
+
], 8, hg)
|
|
6746
6849
|
])
|
|
6747
6850
|
])
|
|
6748
6851
|
]));
|
|
6749
6852
|
}
|
|
6750
6853
|
}), ht = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6751
6854
|
__proto__: null,
|
|
6752
|
-
ui404:
|
|
6855
|
+
ui404: yg,
|
|
6753
6856
|
uiAlert: xn,
|
|
6754
6857
|
uiBreadcrumbs: Dt,
|
|
6755
6858
|
uiButton: U,
|
|
@@ -6760,14 +6863,14 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6760
6863
|
uiCircleChart: au,
|
|
6761
6864
|
uiComparator: S0,
|
|
6762
6865
|
uiDateRange: ru,
|
|
6763
|
-
uiDeviceStatus:
|
|
6866
|
+
uiDeviceStatus: Nu,
|
|
6764
6867
|
uiDragAndDrop: Wc,
|
|
6765
6868
|
uiDropdown: ge,
|
|
6766
6869
|
uiDynamicStats: t0,
|
|
6767
6870
|
uiFilter: Zn,
|
|
6768
6871
|
uiFooter: vi,
|
|
6769
6872
|
uiFunnelChartV2: bc,
|
|
6770
|
-
uiGallery:
|
|
6873
|
+
uiGallery: Ic,
|
|
6771
6874
|
uiIcon: L,
|
|
6772
6875
|
uiInput: ae,
|
|
6773
6876
|
uiInputFile: Ee,
|
|
@@ -6780,55 +6883,56 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6780
6883
|
uiRightSidebar: zc,
|
|
6781
6884
|
uiSecondarySidebar: ju,
|
|
6782
6885
|
uiSectionTitle: hu,
|
|
6783
|
-
uiSelect:
|
|
6886
|
+
uiSelect: As,
|
|
6784
6887
|
uiSelectMultiple: c0,
|
|
6785
6888
|
uiSelect_v2: ve,
|
|
6786
6889
|
uiSidebar: Di,
|
|
6787
6890
|
uiSidebarV2: Ue,
|
|
6788
|
-
uiStats:
|
|
6891
|
+
uiStats: _t,
|
|
6789
6892
|
uiSteps: E0,
|
|
6893
|
+
uiStepsV4: dg,
|
|
6790
6894
|
uiStripedCard: br,
|
|
6791
6895
|
uiTable: gd,
|
|
6792
6896
|
uiTabs: xd,
|
|
6793
|
-
uiTag:
|
|
6897
|
+
uiTag: J,
|
|
6794
6898
|
uiTaskList: ka,
|
|
6795
|
-
uiTextArea:
|
|
6796
|
-
uiTimeline:
|
|
6899
|
+
uiTextArea: Rs,
|
|
6900
|
+
uiTimeline: Rd,
|
|
6797
6901
|
uiToggle: Es,
|
|
6798
6902
|
uiTopbar: dc,
|
|
6799
6903
|
uiViewHeader: cn,
|
|
6800
6904
|
uiWrapper: e0
|
|
6801
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6905
|
+
}, Symbol.toStringTag, { value: "Module" })), bg = [
|
|
6802
6906
|
"primary",
|
|
6803
6907
|
"secondary",
|
|
6804
6908
|
"light",
|
|
6805
6909
|
"green",
|
|
6806
6910
|
"yellow",
|
|
6807
6911
|
"red"
|
|
6808
|
-
],
|
|
6912
|
+
], Mg = [
|
|
6809
6913
|
"text",
|
|
6810
6914
|
"email",
|
|
6811
6915
|
"password",
|
|
6812
6916
|
"number",
|
|
6813
6917
|
"date",
|
|
6814
6918
|
"datetime-local"
|
|
6815
|
-
],
|
|
6816
|
-
function
|
|
6919
|
+
], vg = ["black", "gray", "white"], zg = [...bg, ...vg], xg = ["small", "medium", "big"], pg = ["bigger", "huge", "massive"], jg = [...xg, ...pg], Ag = ["default", "success", "warning", "danger"];
|
|
6920
|
+
function wg(e) {
|
|
6817
6921
|
for (const g in ht)
|
|
6818
6922
|
e.component(g, ht[g]);
|
|
6819
6923
|
}
|
|
6820
|
-
const
|
|
6924
|
+
const Tg = { install: wg };
|
|
6821
6925
|
export {
|
|
6822
|
-
|
|
6823
|
-
|
|
6824
|
-
|
|
6825
|
-
|
|
6826
|
-
|
|
6827
|
-
|
|
6828
|
-
|
|
6829
|
-
|
|
6830
|
-
|
|
6831
|
-
|
|
6926
|
+
zg as AllColors,
|
|
6927
|
+
jg as AllSizes,
|
|
6928
|
+
pg as BiggerSizes,
|
|
6929
|
+
bg as Colors,
|
|
6930
|
+
vg as MonoColors,
|
|
6931
|
+
xg as Sizes,
|
|
6932
|
+
Ag as Types,
|
|
6933
|
+
Mg as UiInputTypes,
|
|
6934
|
+
Tg as default,
|
|
6935
|
+
yg as ui404,
|
|
6832
6936
|
xn as uiAlert,
|
|
6833
6937
|
Dt as uiBreadcrumbs,
|
|
6834
6938
|
U as uiButton,
|
|
@@ -6839,14 +6943,14 @@ export {
|
|
|
6839
6943
|
au as uiCircleChart,
|
|
6840
6944
|
S0 as uiComparator,
|
|
6841
6945
|
ru as uiDateRange,
|
|
6842
|
-
|
|
6946
|
+
Nu as uiDeviceStatus,
|
|
6843
6947
|
Wc as uiDragAndDrop,
|
|
6844
6948
|
ge as uiDropdown,
|
|
6845
6949
|
t0 as uiDynamicStats,
|
|
6846
6950
|
Zn as uiFilter,
|
|
6847
6951
|
vi as uiFooter,
|
|
6848
6952
|
bc as uiFunnelChartV2,
|
|
6849
|
-
|
|
6953
|
+
Ic as uiGallery,
|
|
6850
6954
|
L as uiIcon,
|
|
6851
6955
|
ae as uiInput,
|
|
6852
6956
|
Ee as uiInputFile,
|
|
@@ -6859,20 +6963,21 @@ export {
|
|
|
6859
6963
|
zc as uiRightSidebar,
|
|
6860
6964
|
ju as uiSecondarySidebar,
|
|
6861
6965
|
hu as uiSectionTitle,
|
|
6862
|
-
|
|
6966
|
+
As as uiSelect,
|
|
6863
6967
|
c0 as uiSelectMultiple,
|
|
6864
6968
|
ve as uiSelect_v2,
|
|
6865
6969
|
Di as uiSidebar,
|
|
6866
6970
|
Ue as uiSidebarV2,
|
|
6867
|
-
|
|
6971
|
+
_t as uiStats,
|
|
6868
6972
|
E0 as uiSteps,
|
|
6973
|
+
dg as uiStepsV4,
|
|
6869
6974
|
br as uiStripedCard,
|
|
6870
6975
|
gd as uiTable,
|
|
6871
6976
|
xd as uiTabs,
|
|
6872
|
-
|
|
6977
|
+
J as uiTag,
|
|
6873
6978
|
ka as uiTaskList,
|
|
6874
|
-
|
|
6875
|
-
|
|
6979
|
+
Rs as uiTextArea,
|
|
6980
|
+
Rd as uiTimeline,
|
|
6876
6981
|
Es as uiToggle,
|
|
6877
6982
|
dc as uiTopbar,
|
|
6878
6983
|
cn as uiViewHeader,
|