@hotelinking/ui 16.49.2 → 16.49.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ui.cjs +1 -1
- package/dist/ui.es.js +124 -123
- package/package.json +8 -8
package/dist/ui.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as A, createBlock as w, createElementBlock as s, openBlock as l, resolveDynamicComponent as
|
|
1
|
+
import { defineComponent as A, createBlock as w, createElementBlock as s, openBlock as l, resolveDynamicComponent as Fe, 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 _, withModifiers as ne, vModelText as xe, createStaticVNode as ee, resolveComponent as it, vModelCheckbox as yt, onMounted as _e, mergeProps as Le, reactive as ke, normalizeStyle as qe, nextTick as be, onUnmounted as bl, TransitionGroup as vl, isRef as bt } from "vue";
|
|
2
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
4
|
import Al from "@vueform/slider";
|
|
@@ -20,7 +20,7 @@ const L = /* @__PURE__ */ A({
|
|
|
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(Fe(e.icon), {
|
|
24
24
|
key: 0,
|
|
25
25
|
class: x({
|
|
26
26
|
"h-4 w-4": e.size === "medium",
|
|
@@ -97,7 +97,7 @@ const L = /* @__PURE__ */ A({
|
|
|
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" }, Fl = ["checked", "value", "disabled"], _l = { class: "ml-3 text-sm" }, Ol = { class: "text-black" }, Il = {
|
|
101
101
|
key: 1,
|
|
102
102
|
class: "flex items-center animate-pulse"
|
|
103
103
|
}, ue = /* @__PURE__ */ A({
|
|
@@ -128,9 +128,9 @@ const L = /* @__PURE__ */ A({
|
|
|
128
128
|
class: "focus:ring-black h-4 w-4 text-black border-gray-300 rounded disabled:opacity-25",
|
|
129
129
|
type: "checkbox",
|
|
130
130
|
onChange: d[0] || (d[0] = (c) => r())
|
|
131
|
-
}, null, 40,
|
|
131
|
+
}, null, 40, Fl)
|
|
132
132
|
]),
|
|
133
|
-
t("div",
|
|
133
|
+
t("div", _l, [
|
|
134
134
|
t("span", Ol, [
|
|
135
135
|
G(a.$slots, "default")
|
|
136
136
|
])
|
|
@@ -915,21 +915,21 @@ const ts = {
|
|
|
915
915
|
color: "green",
|
|
916
916
|
loading: e.loading
|
|
917
917
|
}, null, 8, ["icon", "loading"]), [
|
|
918
|
-
[
|
|
918
|
+
[_, 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
|
+
[_, 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
|
+
[_, e.color === "red"]
|
|
933
933
|
])
|
|
934
934
|
])
|
|
935
935
|
], 2),
|
|
@@ -941,7 +941,7 @@ const ts = {
|
|
|
941
941
|
"text-green-600": e.color === "green"
|
|
942
942
|
}, "mt-2 text-xs flex flex-row items-center"])
|
|
943
943
|
}, u(e.error), 3), [
|
|
944
|
-
[
|
|
944
|
+
[_, e.error]
|
|
945
945
|
])
|
|
946
946
|
]));
|
|
947
947
|
}
|
|
@@ -1036,7 +1036,7 @@ const ts = {
|
|
|
1036
1036
|
]),
|
|
1037
1037
|
t("p", $s, u(e.fileTypesAndSizes), 1),
|
|
1038
1038
|
D(t("p", { class: "font-bold text-xs uppercase block p-2 bg-lime-50 rounded" }, u(f(i)), 513), [
|
|
1039
|
-
[
|
|
1039
|
+
[_, f(i) !== null]
|
|
1040
1040
|
])
|
|
1041
1041
|
])
|
|
1042
1042
|
], 34),
|
|
@@ -1049,7 +1049,7 @@ const ts = {
|
|
|
1049
1049
|
}, null, 8, ["icon", "loading"]),
|
|
1050
1050
|
B(" " + u(e.error), 1)
|
|
1051
1051
|
], 512), [
|
|
1052
|
-
[
|
|
1052
|
+
[_, e.error]
|
|
1053
1053
|
])
|
|
1054
1054
|
]));
|
|
1055
1055
|
}
|
|
@@ -1189,7 +1189,7 @@ const ts = {
|
|
|
1189
1189
|
"text-green-600": e.color === "green"
|
|
1190
1190
|
}, "mt-2 text-xs flex flex-row items-center"])
|
|
1191
1191
|
}, u(e.error), 3), [
|
|
1192
|
-
[
|
|
1192
|
+
[_, e.error]
|
|
1193
1193
|
])
|
|
1194
1194
|
]),
|
|
1195
1195
|
_: 1
|
|
@@ -1354,7 +1354,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1354
1354
|
"text-green-600": e.color === "green"
|
|
1355
1355
|
}, "mt-2 text-xs flex flex-row items-center"])
|
|
1356
1356
|
}, u(e.error), 3), [
|
|
1357
|
-
[
|
|
1357
|
+
[_, e.error]
|
|
1358
1358
|
])
|
|
1359
1359
|
]),
|
|
1360
1360
|
_: 1
|
|
@@ -1401,7 +1401,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1401
1401
|
G(r.$slots, "default")
|
|
1402
1402
|
], 2));
|
|
1403
1403
|
}
|
|
1404
|
-
}),
|
|
1404
|
+
}), Fs = { key: 0 }, _s = { class: "flex justify-between" }, Os = {
|
|
1405
1405
|
key: 0,
|
|
1406
1406
|
class: "block text-sm font-medium"
|
|
1407
1407
|
}, Is = {
|
|
@@ -1434,8 +1434,8 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1434
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",
|
|
1437
|
+
])])) : (l(), s("div", Fs, [
|
|
1438
|
+
t("div", _s, [
|
|
1439
1439
|
e.label ? (l(), s("label", Os, u(e.label), 1)) : b("", !0),
|
|
1440
1440
|
e.requiredText ? (l(), s("span", Is, u(e.requiredText), 1)) : b("", !0)
|
|
1441
1441
|
]),
|
|
@@ -1480,7 +1480,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1480
1480
|
}, null, 8, ["icon"]),
|
|
1481
1481
|
B(" " + u(e.error), 1)
|
|
1482
1482
|
], 2), [
|
|
1483
|
-
[
|
|
1483
|
+
[_, e.error]
|
|
1484
1484
|
])
|
|
1485
1485
|
]));
|
|
1486
1486
|
}
|
|
@@ -1772,7 +1772,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1772
1772
|
}
|
|
1773
1773
|
}), pn = { class: "flex items-center flex-col sm:flex-row justify-center sm:justify-start" }, wn = ["src"], kn = { class: "font-bold text-center sm:text-left" }, $n = { class: "mt-1 text-xs text-center sm:text-left" }, Cn = {
|
|
1774
1774
|
key: 0,
|
|
1775
|
-
class: "flex flex-wrap mt-
|
|
1775
|
+
class: "flex flex-wrap mt-2 justify-center sm:justify-start"
|
|
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"
|
|
@@ -1829,7 +1829,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
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
|
+
}, Fn = ["src", "alt"], _n = {
|
|
1833
1833
|
key: 1,
|
|
1834
1834
|
class: "absolute bottom-2 right-2 p-1.5 bg-white rounded shadow-sm"
|
|
1835
1835
|
}, On = {
|
|
@@ -1963,10 +1963,10 @@ 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, Fn), [
|
|
1967
|
+
[_, !o.value]
|
|
1968
1968
|
]),
|
|
1969
|
-
e.showImageOverlay && !o.value ? (l(), s("div",
|
|
1969
|
+
e.showImageOverlay && !o.value ? (l(), s("div", _n)) : b("", !0)
|
|
1970
1970
|
]),
|
|
1971
1971
|
e.bodyText ? (l(), s("p", On, u(e.bodyText), 1)) : b("", !0),
|
|
1972
1972
|
t("div", In, [
|
|
@@ -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
|
+
[_, 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
|
+
[_, 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
|
+
[_, 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
|
+
[_, e.type === "default"]
|
|
2158
2158
|
])
|
|
2159
2159
|
], 2),
|
|
2160
2160
|
t("div", Qn, [
|
|
@@ -2232,25 +2232,25 @@ 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
|
+
[_, 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
|
+
[_, 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
|
+
[_, e.type === "warning"]
|
|
2248
2248
|
]),
|
|
2249
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
|
+
[_, e.type === "info"]
|
|
2254
2254
|
])
|
|
2255
2255
|
]),
|
|
2256
2256
|
t("div", ia, [
|
|
@@ -2444,7 +2444,7 @@ 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" },
|
|
2447
|
+
}, La = { class: "dateSelector flex items-center flex-row" }, Pa = { class: "pagination flex items-center my-1 md:my-0" }, Fa = { class: "date mx-4 font-bold text-center text-black select-none uppercase" }, _a = { class: "pagination flex items-center my-1 sm:my-0" };
|
|
2448
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, [
|
|
@@ -2480,8 +2480,8 @@ function Oa(e, g, i, o, n, r) {
|
|
|
2480
2480
|
m(a, { class: "h-4" })
|
|
2481
2481
|
], 2)
|
|
2482
2482
|
]),
|
|
2483
|
-
t("div",
|
|
2484
|
-
t("div",
|
|
2483
|
+
t("div", Fa, u(r.formatedDate), 1),
|
|
2484
|
+
t("div", _a, [
|
|
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
2487
|
onClick: g[3] || (g[3] = (c) => r.selectDate("day", "next"))
|
|
@@ -2740,7 +2740,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
2740
2740
|
"aria-hidden": "true"
|
|
2741
2741
|
})
|
|
2742
2742
|
], 512), [
|
|
2743
|
-
[
|
|
2743
|
+
[_, 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),
|
|
@@ -2763,7 +2763,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
2763
2763
|
"aria-hidden": "true"
|
|
2764
2764
|
})
|
|
2765
2765
|
], 512), [
|
|
2766
|
-
[
|
|
2766
|
+
[_, e.current !== e.total]
|
|
2767
2767
|
])
|
|
2768
2768
|
])
|
|
2769
2769
|
])
|
|
@@ -2787,7 +2787,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
2787
2787
|
}, Lo = { key: 1 }, Po = {
|
|
2788
2788
|
colspan: "6",
|
|
2789
2789
|
class: "pl-4"
|
|
2790
|
-
},
|
|
2790
|
+
}, Fo = { key: 2 }, _o = {
|
|
2791
2791
|
colspan: "6",
|
|
2792
2792
|
class: "pl-4"
|
|
2793
2793
|
}, Oo = {
|
|
@@ -2849,8 +2849,8 @@ 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 F = 0; F < 14; F++)
|
|
2853
|
+
$.push(Y(r.value).add(F, "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
|
|
@@ -2865,16 +2865,16 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
2865
2865
|
})) : []), E = ($) => {
|
|
2866
2866
|
Y($).isBefore(n.value) || (r.value = $, o("dateChanged", r.value));
|
|
2867
2867
|
}, P = ($) => {
|
|
2868
|
-
let
|
|
2869
|
-
return
|
|
2868
|
+
let F = i.category.selectionPrices.find((I) => Y(I.date).isSame($.date));
|
|
2869
|
+
return F ? F.price : $.price;
|
|
2870
2870
|
}, R = ($) => {
|
|
2871
|
-
a.value = $.target.checked ? i.rooms.map((
|
|
2872
|
-
}, K = () => o("changeCategoryBulkPrices"), re = ($) => o("changeCategorySelectionPrice", $), me = ($) => o("changeCategoryUpgradePrice", $), fe = ($) => o("tableAction", $), z = ($,
|
|
2871
|
+
a.value = $.target.checked ? i.rooms.map((F) => F.id) : [];
|
|
2872
|
+
}, K = () => o("changeCategoryBulkPrices"), re = ($) => o("changeCategorySelectionPrice", $), me = ($) => o("changeCategoryUpgradePrice", $), fe = ($) => o("tableAction", $), z = ($, F, I) => o("changeRoomPrice", { price: $, roomId: F, roomName: I }), q = ($) => {
|
|
2873
2873
|
o("changePage", $);
|
|
2874
2874
|
}, H = ($) => {
|
|
2875
2875
|
o("changePageSize", $.value);
|
|
2876
2876
|
};
|
|
2877
|
-
return ($,
|
|
2877
|
+
return ($, F) => (l(), s(k, null, [
|
|
2878
2878
|
e.loading ? b("", !0) : (l(), s("div", $o, [
|
|
2879
2879
|
t("div", Co, [
|
|
2880
2880
|
t("div", So, [
|
|
@@ -2885,7 +2885,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
2885
2885
|
t("th", jo, [
|
|
2886
2886
|
m(Ia, {
|
|
2887
2887
|
selectedDate: r.value,
|
|
2888
|
-
onDateSelected:
|
|
2888
|
+
onDateSelected: F[0] || (F[0] = (I) => E(I))
|
|
2889
2889
|
}, null, 8, ["selectedDate"])
|
|
2890
2890
|
]),
|
|
2891
2891
|
(l(!0), s(k, null, S(d.value, (I, W) => (l(), s("th", {
|
|
@@ -2945,8 +2945,8 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
2945
2945
|
}, null, 8, ["onClick", "price", "currency"])
|
|
2946
2946
|
]))), 128))
|
|
2947
2947
|
])) : b("", !0),
|
|
2948
|
-
e.type === "prices" ? (l(), s("tr",
|
|
2949
|
-
t("td",
|
|
2948
|
+
e.type === "prices" ? (l(), s("tr", Fo, [
|
|
2949
|
+
t("td", _o, u(e.literals.pricesUpgrade), 1),
|
|
2950
2950
|
(l(!0), s(k, null, S(e.category.upgradePrices, (I, W) => (l(), s("td", {
|
|
2951
2951
|
key: W,
|
|
2952
2952
|
class: "p-0"
|
|
@@ -2986,7 +2986,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
2986
2986
|
]),
|
|
2987
2987
|
t("th", Ho, u(e.literals.building), 1),
|
|
2988
2988
|
t("th", Yo, u(e.literals.floor), 1),
|
|
2989
|
-
|
|
2989
|
+
F[2] || (F[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"
|
|
@@ -3002,7 +3002,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
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
3004
|
value: I.name,
|
|
3005
|
-
"onUpdate:modelValue":
|
|
3005
|
+
"onUpdate:modelValue": F[1] || (F[1] = (W) => a.value = W)
|
|
3006
3006
|
}, null, 8, Zo), [
|
|
3007
3007
|
[yt, a.value]
|
|
3008
3008
|
]),
|
|
@@ -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(() => [...F[3] || (F[3] = [
|
|
3053
3053
|
B("Anterior", -1)
|
|
3054
3054
|
])]),
|
|
3055
|
-
next: y(() => [...
|
|
3055
|
+
next: y(() => [...F[4] || (F[4] = [
|
|
3056
3056
|
B("Siguiente", -1)
|
|
3057
3057
|
])]),
|
|
3058
|
-
showing: y(() => [...
|
|
3058
|
+
showing: y(() => [...F[5] || (F[5] = [
|
|
3059
3059
|
B("Mostrando", -1)
|
|
3060
3060
|
])]),
|
|
3061
|
-
of: y(() => [...
|
|
3061
|
+
of: y(() => [...F[6] || (F[6] = [
|
|
3062
3062
|
B("de", -1)
|
|
3063
3063
|
])]),
|
|
3064
|
-
pages: y(() => [...
|
|
3064
|
+
pages: y(() => [...F[7] || (F[7] = [
|
|
3065
3065
|
B("páginas", -1)
|
|
3066
3066
|
])]),
|
|
3067
|
-
fromTotal: y(() => [...
|
|
3067
|
+
fromTotal: y(() => [...F[8] || (F[8] = [
|
|
3068
3068
|
B("Elementos totales:", -1)
|
|
3069
3069
|
])]),
|
|
3070
3070
|
_: 1
|
|
@@ -3078,7 +3078,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3078
3078
|
emits: ["updated", "mounted", "dataPointSelection"],
|
|
3079
3079
|
setup(e) {
|
|
3080
3080
|
const g = V(null);
|
|
3081
|
-
return
|
|
3081
|
+
return _e(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(Fe(g.value), Le({
|
|
3090
3090
|
key: 0,
|
|
3091
3091
|
class: "h-auto"
|
|
3092
3092
|
}, i.$attrs, {
|
|
@@ -3288,7 +3288,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3288
3288
|
onDataPointSelection: E
|
|
3289
3289
|
}, null, 8, ["type", "series", "options"])
|
|
3290
3290
|
], 512), [
|
|
3291
|
-
[
|
|
3291
|
+
[_, !e.empty]
|
|
3292
3292
|
]),
|
|
3293
3293
|
D(t("div", gi, [
|
|
3294
3294
|
m(L, {
|
|
@@ -3299,10 +3299,10 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
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
|
+
[_, e.empty]
|
|
3303
3303
|
])
|
|
3304
3304
|
], 4), [
|
|
3305
|
-
[
|
|
3305
|
+
[_, !e.loading]
|
|
3306
3306
|
]),
|
|
3307
3307
|
D(t("div", mi, [...R[4] || (R[4] = [
|
|
3308
3308
|
t("div", {
|
|
@@ -3331,7 +3331,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3331
3331
|
])
|
|
3332
3332
|
], -1)
|
|
3333
3333
|
])], 512), [
|
|
3334
|
-
[
|
|
3334
|
+
[_, e.loading]
|
|
3335
3335
|
])
|
|
3336
3336
|
], 64));
|
|
3337
3337
|
}
|
|
@@ -3368,10 +3368,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
3368
3368
|
})
|
|
3369
3369
|
], -1)),
|
|
3370
3370
|
D(t("h2", { class: "text-xs font-bold text-center uppercase mb-2" }, u(e.title), 513), [
|
|
3371
|
-
[
|
|
3371
|
+
[_, e.title]
|
|
3372
3372
|
]),
|
|
3373
3373
|
D(t("p", { class: "text-xs text-center uppercase md:w-1/4" }, u(e.message), 513), [
|
|
3374
|
-
[
|
|
3374
|
+
[_, e.message]
|
|
3375
3375
|
])
|
|
3376
3376
|
], 2));
|
|
3377
3377
|
}
|
|
@@ -3488,7 +3488,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
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" }, Fi = ["onClick"], _i = ["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 = {
|
|
@@ -3529,8 +3529,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
3529
3529
|
t("img", {
|
|
3530
3530
|
src: a.icon,
|
|
3531
3531
|
alt: a.name
|
|
3532
|
-
}, null, 8,
|
|
3533
|
-
], 10,
|
|
3532
|
+
}, null, 8, _i)
|
|
3533
|
+
], 10, Fi))), 128))
|
|
3534
3534
|
])
|
|
3535
3535
|
]),
|
|
3536
3536
|
e.loading ? (l(), s("div", Zi, [
|
|
@@ -3610,7 +3610,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
3610
3610
|
_: 2
|
|
3611
3611
|
}, 1024)
|
|
3612
3612
|
], 512), [
|
|
3613
|
-
[
|
|
3613
|
+
[_, a.children.some((d) => d.current) || a.current]
|
|
3614
3614
|
])
|
|
3615
3615
|
]),
|
|
3616
3616
|
_: 2
|
|
@@ -3670,7 +3670,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
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" }, Ft = /* @__PURE__ */ A({
|
|
3674
3674
|
__name: "uiStats",
|
|
3675
3675
|
props: {
|
|
3676
3676
|
item: {},
|
|
@@ -3752,7 +3752,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
3752
3752
|
}, u(e.item.actionText), 1)
|
|
3753
3753
|
])
|
|
3754
3754
|
], 512), [
|
|
3755
|
-
[
|
|
3755
|
+
[_, e.item.showFooter]
|
|
3756
3756
|
])
|
|
3757
3757
|
])
|
|
3758
3758
|
], 2)
|
|
@@ -3904,8 +3904,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
3904
3904
|
if (q.type === "uiInput")
|
|
3905
3905
|
$.props.value = q.value || "";
|
|
3906
3906
|
else if (q.type === "uiSelect") {
|
|
3907
|
-
const
|
|
3908
|
-
|
|
3907
|
+
const F = H.defaultProps.items?.find((I) => I.name === q.value);
|
|
3908
|
+
F ? $.props.select = F : H.defaultProps.items && H.defaultProps.items.length > 0 && ($.props.select = H.defaultProps.items[0]);
|
|
3909
3909
|
}
|
|
3910
3910
|
r.push($);
|
|
3911
3911
|
}
|
|
@@ -4029,7 +4029,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
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, ($, F) => (l(), s("div", {
|
|
4033
4033
|
class: "flex items-center gap-x-2 w-full",
|
|
4034
4034
|
key: $.name
|
|
4035
4035
|
}, [
|
|
@@ -4059,16 +4059,16 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
4059
4059
|
loading: i.loading,
|
|
4060
4060
|
items: $.props.items || [],
|
|
4061
4061
|
select: $.props.select || $.props.items?.[0] || { id: "0", name: "Select..." },
|
|
4062
|
-
onSelectChanged: (I) => K(
|
|
4062
|
+
onSelectChanged: (I) => K(F, 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: (I) => K(
|
|
4069
|
+
onInput: (I) => K(F, I.target.value)
|
|
4070
4070
|
}, null, 8, ["loading", "name", "value", "onInput"])) : b("", !0),
|
|
4071
|
-
|
|
4071
|
+
F === 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__ */ A({
|
|
|
4076
4076
|
items: v.value,
|
|
4077
4077
|
select: n.value
|
|
4078
4078
|
}, null, 8, ["loading", "items", "select"])) : b("", !0),
|
|
4079
|
-
|
|
4079
|
+
F > 0 ? (l(), w(J, {
|
|
4080
4080
|
key: 3,
|
|
4081
4081
|
loading: i.loading,
|
|
4082
4082
|
size: "big",
|
|
@@ -4093,7 +4093,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
4093
4093
|
color: "red",
|
|
4094
4094
|
loading: i.loading,
|
|
4095
4095
|
class: "cursor-pointer",
|
|
4096
|
-
onClick: (I) => re(
|
|
4096
|
+
onClick: (I) => re(F),
|
|
4097
4097
|
title: "Eliminar filtro"
|
|
4098
4098
|
}, null, 8, ["icon", "loading", "onClick"])
|
|
4099
4099
|
]))), 128))
|
|
@@ -4175,10 +4175,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
4175
4175
|
])
|
|
4176
4176
|
]));
|
|
4177
4177
|
}
|
|
4178
|
-
}), Pr = { key: 0 },
|
|
4178
|
+
}), Pr = { key: 0 }, Fr = {
|
|
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
|
+
}, _r = {
|
|
4182
4182
|
key: 0,
|
|
4183
4183
|
class: "w-full lg:flex-1 lg:min-w-0 lg:max-w-full"
|
|
4184
4184
|
}, Or = {
|
|
@@ -4258,7 +4258,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
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
|
+
), F = j(
|
|
4262
4262
|
() => q.value || H.value || $.value
|
|
4263
4263
|
), I = j(
|
|
4264
4264
|
() => n.paginationCurrent !== void 0 || n.paginationTotal !== void 0
|
|
@@ -4270,7 +4270,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
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), _t = {
|
|
4274
4274
|
filters: "Filtros inteligentes",
|
|
4275
4275
|
contains: "contiene",
|
|
4276
4276
|
is: "es",
|
|
@@ -4400,11 +4400,11 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
4400
4400
|
h || be(() => {
|
|
4401
4401
|
he(), ye();
|
|
4402
4402
|
});
|
|
4403
|
-
}), Z([
|
|
4403
|
+
}), Z([F, I], () => {
|
|
4404
4404
|
be(() => {
|
|
4405
4405
|
he(), ye();
|
|
4406
4406
|
});
|
|
4407
|
-
}),
|
|
4407
|
+
}), _e(() => {
|
|
4408
4408
|
be(() => {
|
|
4409
4409
|
he(), ye();
|
|
4410
4410
|
const h = () => {
|
|
@@ -4452,11 +4452,11 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
4452
4452
|
]),
|
|
4453
4453
|
_: 1
|
|
4454
4454
|
}, 8, ["open"]),
|
|
4455
|
-
|
|
4456
|
-
q.value ? (l(), s("div",
|
|
4455
|
+
F.value ? (l(), s("div", Fr, [
|
|
4456
|
+
q.value ? (l(), s("div", _r, [
|
|
4457
4457
|
m(zr, {
|
|
4458
4458
|
"available-categories": cl.value,
|
|
4459
|
-
literals: n.filterLiterals ||
|
|
4459
|
+
literals: n.filterLiterals || _t,
|
|
4460
4460
|
filters: n.filters,
|
|
4461
4461
|
onSmartFiltersSent: Xt,
|
|
4462
4462
|
onSmartFiltersCleared: el,
|
|
@@ -4662,7 +4662,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
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(Fe(Yt(O)), Le({
|
|
4666
4666
|
key: 5,
|
|
4667
4667
|
ref_for: !0
|
|
4668
4668
|
}, at(O), {
|
|
@@ -4803,10 +4803,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
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
|
+
}, Fd = {
|
|
4807
4807
|
key: 1,
|
|
4808
4808
|
class: "bg-white overflow-hidden shadow rounded-lg"
|
|
4809
|
-
},
|
|
4809
|
+
}, _d = { 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
4812
|
}, Vd = { class: "relative pb-8" }, Nd = {
|
|
@@ -4825,13 +4825,13 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
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", Fd, [
|
|
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",
|
|
4834
|
+
t("div", _d, [
|
|
4835
4835
|
t("div", Od, [
|
|
4836
4836
|
t("ul", Id, [
|
|
4837
4837
|
(l(), s(k, null, S(10, (a, d) => t("li", { key: d }, [
|
|
@@ -4991,7 +4991,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
4991
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
|
+
[_, e.alerted]
|
|
4995
4995
|
]),
|
|
4996
4996
|
t("img", {
|
|
4997
4997
|
class: "h-10 w-10 rounded-full",
|
|
@@ -5000,7 +5000,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
5000
5000
|
]),
|
|
5001
5001
|
_: 1
|
|
5002
5002
|
}, 512), [
|
|
5003
|
-
[
|
|
5003
|
+
[_, e.accountLogo]
|
|
5004
5004
|
])
|
|
5005
5005
|
]),
|
|
5006
5006
|
m(we, {
|
|
@@ -5208,7 +5208,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
5208
5208
|
onDataPointSelection: c
|
|
5209
5209
|
}, null, 8, ["type", "series", "height", "options"])
|
|
5210
5210
|
], 512), [
|
|
5211
|
-
[
|
|
5211
|
+
[_, !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__ */ A({
|
|
|
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
|
+
[_, e.empty]
|
|
5223
5223
|
])
|
|
5224
5224
|
], 2), [
|
|
5225
|
-
[
|
|
5225
|
+
[_, !e.loading]
|
|
5226
5226
|
]),
|
|
5227
5227
|
D(t("div", yc, [...p[2] || (p[2] = [
|
|
5228
5228
|
t("div", {
|
|
@@ -5251,7 +5251,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
5251
5251
|
])
|
|
5252
5252
|
], -1)
|
|
5253
5253
|
])], 512), [
|
|
5254
|
-
[
|
|
5254
|
+
[_, e.loading]
|
|
5255
5255
|
])
|
|
5256
5256
|
], 64));
|
|
5257
5257
|
}
|
|
@@ -5343,7 +5343,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
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
|
-
}, 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" },
|
|
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" }, Fc = { class: "flex items-center justify-between" }, _c = { 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"
|
|
@@ -5399,8 +5399,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
5399
5399
|
}, null, 8, Lc)
|
|
5400
5400
|
]),
|
|
5401
5401
|
t("p", Pc, u(d.title), 1),
|
|
5402
|
-
t("div",
|
|
5403
|
-
t("p",
|
|
5402
|
+
t("div", Fc, [
|
|
5403
|
+
t("p", _c, u(d.size), 1),
|
|
5404
5404
|
m(L, {
|
|
5405
5405
|
class: "cursor-pointer",
|
|
5406
5406
|
icon: f(pe),
|
|
@@ -5434,7 +5434,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
5434
5434
|
emits: ["update:modelValue"],
|
|
5435
5435
|
setup(e) {
|
|
5436
5436
|
const g = V(null);
|
|
5437
|
-
return
|
|
5437
|
+
return _e(async () => {
|
|
5438
5438
|
if (typeof window < "u")
|
|
5439
5439
|
try {
|
|
5440
5440
|
const { default: i } = await import("vue3-draggable");
|
|
@@ -5443,7 +5443,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
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(Fe(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(() => [
|
|
@@ -5625,7 +5625,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
5625
5625
|
onDataPointSelection: C
|
|
5626
5626
|
}, null, 8, ["series", "options", "height"])
|
|
5627
5627
|
], 512), [
|
|
5628
|
-
[
|
|
5628
|
+
[_, !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__ */ A({
|
|
|
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
|
+
[_, e.empty]
|
|
5640
5640
|
])
|
|
5641
5641
|
], 2), [
|
|
5642
|
-
[
|
|
5642
|
+
[_, !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__ */ A({
|
|
|
5668
5668
|
])
|
|
5669
5669
|
], -1)
|
|
5670
5670
|
])], 512), [
|
|
5671
|
-
[
|
|
5671
|
+
[_, e.loading]
|
|
5672
5672
|
])
|
|
5673
5673
|
], 64));
|
|
5674
5674
|
}
|
|
@@ -5923,10 +5923,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
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
|
-
}, 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" },
|
|
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" }, Fu = {
|
|
5927
5927
|
key: 1,
|
|
5928
5928
|
class: "col-span-1 flex flex-col divide-y divide-gray-200 rounded-lg bg-white text-center shadow"
|
|
5929
|
-
},
|
|
5929
|
+
}, _u = { 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,8 +5939,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
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",
|
|
5942
|
+
return (i, o) => e.loading ? (l(), s("div", Fu, [
|
|
5943
|
+
t("div", _u, [
|
|
5944
5944
|
t("div", Ou, [
|
|
5945
5945
|
m(L, {
|
|
5946
5946
|
icon: e.icon,
|
|
@@ -5993,7 +5993,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
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
5995
|
}, "(" + u(e.qty) + ")", 513), [
|
|
5996
|
-
[
|
|
5996
|
+
[_, e.qty > 0]
|
|
5997
5997
|
])
|
|
5998
5998
|
]),
|
|
5999
5999
|
t("dl", Lu, [
|
|
@@ -6015,7 +6015,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
6015
6015
|
])
|
|
6016
6016
|
]));
|
|
6017
6017
|
}
|
|
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({
|
|
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 ml-auto" }, 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: {},
|
|
@@ -6148,13 +6148,14 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
6148
6148
|
"aria-hidden": "true"
|
|
6149
6149
|
}, null, -1)),
|
|
6150
6150
|
t("div", Uu, [
|
|
6151
|
-
|
|
6151
|
+
e.topbar.selectItems && e.topbar.selectItems.length > 0 ? (l(), w(ve, {
|
|
6152
|
+
key: 0,
|
|
6152
6153
|
isWrapped: !0,
|
|
6153
6154
|
class: "w-full self-center relative",
|
|
6154
6155
|
items: e.topbar.selectItems,
|
|
6155
6156
|
select: e.topbar.selectedItem,
|
|
6156
6157
|
onSelectChanged: d[8] || (d[8] = (c) => a.$emit("selectChanged", c))
|
|
6157
|
-
}, null, 8, ["items", "select"]),
|
|
6158
|
+
}, null, 8, ["items", "select"])) : b("", !0),
|
|
6158
6159
|
t("div", Zu, [
|
|
6159
6160
|
t("button", {
|
|
6160
6161
|
type: "button",
|
|
@@ -6165,7 +6166,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
6165
6166
|
D(t("div", Wu, [...d[13] || (d[13] = [
|
|
6166
6167
|
t("span", { class: "animate-ping absolute inline-flex h-4 w-4 bg-red-500 rounded-full opacity-75" }, null, -1)
|
|
6167
6168
|
])], 512), [
|
|
6168
|
-
[
|
|
6169
|
+
[_, e.topbar.alerted]
|
|
6169
6170
|
]),
|
|
6170
6171
|
m(f(Yl), {
|
|
6171
6172
|
class: "h-6 w-6",
|
|
@@ -6255,11 +6256,11 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
6255
6256
|
const i = e, o = g, n = (c) => {
|
|
6256
6257
|
o("statClick", c);
|
|
6257
6258
|
}, 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
|
|
6259
|
+
return _e(() => a.value += 1), (c, v) => (l(), s("div", {
|
|
6259
6260
|
class: x([d.value, "grid grid-cols-1 md:grid-cols-2 gap-4"]),
|
|
6260
6261
|
key: a.value
|
|
6261
6262
|
}, [
|
|
6262
|
-
(l(!0), s(k, null, S(e.dynamicStats, (p, C) => (l(), w(
|
|
6263
|
+
(l(!0), s(k, null, S(e.dynamicStats, (p, C) => (l(), w(Ft, {
|
|
6263
6264
|
key: C,
|
|
6264
6265
|
item: p,
|
|
6265
6266
|
loading: e.loading,
|
|
@@ -6436,7 +6437,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
6436
6437
|
"text-green-600": e.color === "green"
|
|
6437
6438
|
}, "mt-2 text-xs flex flex-row items-center"])
|
|
6438
6439
|
}, u(e.error), 3), [
|
|
6439
|
-
[
|
|
6440
|
+
[_, e.error]
|
|
6440
6441
|
])
|
|
6441
6442
|
])
|
|
6442
6443
|
]),
|
|
@@ -6610,11 +6611,11 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
6610
6611
|
key: 0,
|
|
6611
6612
|
class: "absolute left-4 top-4 -ml-px mt-0.5 h-full w-0.5 bg-lime-400",
|
|
6612
6613
|
"aria-hidden": "true"
|
|
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" },
|
|
6614
|
+
}, 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" }, F0 = {
|
|
6614
6615
|
key: 0,
|
|
6615
6616
|
class: "absolute left-4 top-4 -ml-px mt-0.5 h-full w-0.5 bg-gray-300",
|
|
6616
6617
|
"aria-hidden": "true"
|
|
6617
|
-
},
|
|
6618
|
+
}, _0 = ["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
6619
|
key: 0,
|
|
6619
6620
|
class: "absolute left-4 top-4 -ml-px mt-0.5 h-full w-0.5 bg-gray-300",
|
|
6620
6621
|
"aria-hidden": "true"
|
|
@@ -6664,7 +6665,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
6664
6665
|
])
|
|
6665
6666
|
], 8, j0)
|
|
6666
6667
|
], 64)) : c.status === "current" ? (l(), s(k, { key: 1 }, [
|
|
6667
|
-
v !== n.value.length - 1 ? (l(), s("div",
|
|
6668
|
+
v !== n.value.length - 1 ? (l(), s("div", F0)) : b("", !0),
|
|
6668
6669
|
t("button", {
|
|
6669
6670
|
type: "button",
|
|
6670
6671
|
class: "group relative flex items-start cursor-pointer w-full text-left",
|
|
@@ -6683,7 +6684,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ A({
|
|
|
6683
6684
|
t("span", I0, u(c.name), 1),
|
|
6684
6685
|
t("span", V0, u(c.description), 1)
|
|
6685
6686
|
])
|
|
6686
|
-
], 8,
|
|
6687
|
+
], 8, _0)
|
|
6687
6688
|
], 64)) : (l(), s(k, { key: 2 }, [
|
|
6688
6689
|
v !== n.value.length - 1 ? (l(), s("div", N0)) : b("", !0),
|
|
6689
6690
|
t("button", {
|
|
@@ -6888,7 +6889,7 @@ const Z0 = { "aria-label": "Progress" }, W0 = {
|
|
|
6888
6889
|
uiSelect_v2: ve,
|
|
6889
6890
|
uiSidebar: Di,
|
|
6890
6891
|
uiSidebarV2: Ue,
|
|
6891
|
-
uiStats:
|
|
6892
|
+
uiStats: Ft,
|
|
6892
6893
|
uiSteps: E0,
|
|
6893
6894
|
uiStepsV4: dg,
|
|
6894
6895
|
uiStripedCard: br,
|
|
@@ -6968,7 +6969,7 @@ export {
|
|
|
6968
6969
|
ve as uiSelect_v2,
|
|
6969
6970
|
Di as uiSidebar,
|
|
6970
6971
|
Ue as uiSidebarV2,
|
|
6971
|
-
|
|
6972
|
+
Ft as uiStats,
|
|
6972
6973
|
E0 as uiSteps,
|
|
6973
6974
|
dg as uiStepsV4,
|
|
6974
6975
|
br as uiStripedCard,
|