@hotelinking/ui 14.47.15 → 14.47.16
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 +208 -216
- package/package.json +1 -1
package/dist/ui.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as M, createBlock as x, createElementBlock as n, openBlock as l, resolveDynamicComponent as Ee, normalizeClass as y, computed as Y, createCommentVNode as b, renderSlot as E, createElementVNode as e, ref as A, watch as H, unref as c, withCtx as f, createVNode as m, toDisplayString as g, createTextVNode as z, Transition as ae, Fragment as
|
|
2
|
-
import { Menu as
|
|
1
|
+
import { defineComponent as M, createBlock as x, createElementBlock as n, openBlock as l, resolveDynamicComponent as Ee, normalizeClass as y, computed as Y, createCommentVNode as b, renderSlot as E, createElementVNode as e, ref as A, watch as H, unref as c, withCtx as f, createVNode as m, toDisplayString as g, createTextVNode as z, Transition as ae, Fragment as _, renderList as S, withDirectives as B, vModelDynamic as ct, vShow as D, withModifiers as ve, vModelText as oe, createStaticVNode as le, resolveComponent as Oe, vModelCheckbox as Ue, reactive as ne, isRef as $e, TransitionGroup as gt, onMounted as mt, shallowRef as pt, mergeProps as be } from "vue";
|
|
2
|
+
import { Menu as _e, MenuButton as Ce, MenuItems as Se, MenuItem as Be, Combobox as He, ComboboxLabel as Ze, ComboboxInput as Je, ComboboxButton as We, ComboboxOptions as Ge, ComboboxOption as Qe, SwitchGroup as ft, Switch as ht, SwitchLabel as yt, TransitionRoot as Me, Dialog as je, TransitionChild as ee, DialogPanel as De, DialogTitle as Ke, Disclosure as Te, DisclosureButton as Q, DisclosurePanel as ze, Listbox as vt, ListboxLabel as bt, ListboxButton as wt, ListboxOptions as kt, ListboxOption as xt, Popover as $t, PopoverButton as _t, PopoverPanel as Ct } from "@headlessui/vue";
|
|
3
3
|
import V from "dayjs";
|
|
4
4
|
import Le from "vue3-apexcharts";
|
|
5
5
|
import St from "vue3-draggable";
|
|
@@ -118,10 +118,10 @@ const F = /* @__PURE__ */ M({
|
|
|
118
118
|
};
|
|
119
119
|
return H(() => i.check, (t) => {
|
|
120
120
|
t && (s.value = t);
|
|
121
|
-
}), (t, a) => t.loading ? (l(), n("div", Ot, a[1] || (a[1] = [
|
|
121
|
+
}), (t, a) => t.loading ? (l(), n("div", Ot, [...a[1] || (a[1] = [
|
|
122
122
|
e("div", { class: "w-5 h-5 rounded bg-gray-200" }, null, -1),
|
|
123
123
|
e("div", { class: "ml-3 h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28" }, null, -1)
|
|
124
|
-
]))) : (l(), n("div", Dt, [
|
|
124
|
+
])])) : (l(), n("div", Dt, [
|
|
125
125
|
e("div", Tt, [
|
|
126
126
|
e("input", {
|
|
127
127
|
checked: t.check,
|
|
@@ -634,7 +634,7 @@ const Jt = {
|
|
|
634
634
|
"aria-hidden": "true",
|
|
635
635
|
class: "-mr-1 ml-2 h-5 w-5 text-gray-200 dark:text-gray-300"
|
|
636
636
|
})
|
|
637
|
-
])) : (l(), x(c(
|
|
637
|
+
])) : (l(), x(c(_e), {
|
|
638
638
|
key: 0,
|
|
639
639
|
as: "div",
|
|
640
640
|
class: y(["relative text-left", { "opacity-25": t.disabled }])
|
|
@@ -684,7 +684,7 @@ const Jt = {
|
|
|
684
684
|
}, {
|
|
685
685
|
default: f(() => [
|
|
686
686
|
e("div", Gt, [
|
|
687
|
-
(l(!0), n(
|
|
687
|
+
(l(!0), n(_, null, S(t.items, (d, h) => (l(), x(c(Be), { key: h }, {
|
|
688
688
|
default: f(() => [
|
|
689
689
|
e("a", {
|
|
690
690
|
onClick: (v) => o(d),
|
|
@@ -878,13 +878,13 @@ const Jt = {
|
|
|
878
878
|
h++, r.value += v.name, h >= 1 && h < d.length && (r.value += ", ");
|
|
879
879
|
});
|
|
880
880
|
};
|
|
881
|
-
return (d, h) => d.loading ? (l(), n("div", vl, h[1] || (h[1] = [
|
|
881
|
+
return (d, h) => d.loading ? (l(), n("div", vl, [...h[1] || (h[1] = [
|
|
882
882
|
e("div", { class: "flex justify-center items-center flex-col rounded-md border-2 border-dashed px-6 pt-5 pb-6 border-gray-200" }, [
|
|
883
883
|
e("div", { class: "rounded-full h-20 w-20 bg-gray-200 mb-4" }),
|
|
884
884
|
e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full md:w-1/3 mb-3" }),
|
|
885
885
|
e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full md:w-1/4 mb-3" })
|
|
886
886
|
], -1)
|
|
887
|
-
]))) : (l(), n("div", nl, [
|
|
887
|
+
])])) : (l(), n("div", nl, [
|
|
888
888
|
e("div", il, [
|
|
889
889
|
d.label ? (l(), n("label", dl, g(d.label), 1)) : b("", !0),
|
|
890
890
|
d.requiredText ? (l(), n("span", ul, g(d.requiredText), 1)) : b("", !0)
|
|
@@ -951,10 +951,10 @@ const Jt = {
|
|
|
951
951
|
}), wl = { class: "flex justify-between" }, kl = {
|
|
952
952
|
key: 0,
|
|
953
953
|
class: "text-[10px] text-gray-500 uppercase justify-self-end"
|
|
954
|
-
}, xl = { class: "relative" },
|
|
954
|
+
}, xl = { class: "relative" }, $l = {
|
|
955
955
|
key: 1,
|
|
956
956
|
class: "animate-pulse px-4 py-2.5 bg-gray-200 rounded-md flex justify-between items-center w-full"
|
|
957
|
-
},
|
|
957
|
+
}, _l = /* @__PURE__ */ M({
|
|
958
958
|
__name: "uiSelect",
|
|
959
959
|
props: {
|
|
960
960
|
items: {},
|
|
@@ -980,7 +980,7 @@ const Jt = {
|
|
|
980
980
|
});
|
|
981
981
|
return u({
|
|
982
982
|
handleChange: d
|
|
983
|
-
}), (v, j) => v.loading ? (l(), n("div",
|
|
983
|
+
}), (v, j) => v.loading ? (l(), n("div", $l, [
|
|
984
984
|
j[3] || (j[3] = e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, null, -1)),
|
|
985
985
|
m(c(we), {
|
|
986
986
|
"aria-hidden": "true",
|
|
@@ -1040,12 +1040,12 @@ const Jt = {
|
|
|
1040
1040
|
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"
|
|
1041
1041
|
}, {
|
|
1042
1042
|
default: f(() => [
|
|
1043
|
-
(l(!0), n(
|
|
1043
|
+
(l(!0), n(_, null, S(t.value, (w) => (l(), x(c(Qe), {
|
|
1044
1044
|
key: w.id,
|
|
1045
1045
|
value: w,
|
|
1046
1046
|
as: "template"
|
|
1047
1047
|
}, {
|
|
1048
|
-
default: f(({ active: T, selected:
|
|
1048
|
+
default: f(({ active: T, selected: $ }) => [
|
|
1049
1049
|
e("li", {
|
|
1050
1050
|
class: y([
|
|
1051
1051
|
"relative cursor-default select-none py-2 pl-3 pr-9",
|
|
@@ -1053,9 +1053,9 @@ const Jt = {
|
|
|
1053
1053
|
])
|
|
1054
1054
|
}, [
|
|
1055
1055
|
e("span", {
|
|
1056
|
-
class: y(["block truncate",
|
|
1056
|
+
class: y(["block truncate", $ && "font-semibold"])
|
|
1057
1057
|
}, g(w.name), 3),
|
|
1058
|
-
|
|
1058
|
+
$ ? (l(), n("span", {
|
|
1059
1059
|
key: 0,
|
|
1060
1060
|
class: y([
|
|
1061
1061
|
"absolute inset-y-0 right-0 flex items-center pr-4",
|
|
@@ -1201,7 +1201,7 @@ const Bl = { class: "flex justify-between" }, Ml = {
|
|
|
1201
1201
|
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/5 focus:outline-none sm:text-sm"
|
|
1202
1202
|
}, {
|
|
1203
1203
|
default: f(() => [
|
|
1204
|
-
(l(!0), n(
|
|
1204
|
+
(l(!0), n(_, null, S(t.value, (v) => (l(), x(c(Qe), {
|
|
1205
1205
|
key: v.id,
|
|
1206
1206
|
value: v,
|
|
1207
1207
|
as: "template"
|
|
@@ -1262,9 +1262,9 @@ const Bl = { class: "flex justify-between" }, Ml = {
|
|
|
1262
1262
|
const r = u, i = p, s = () => {
|
|
1263
1263
|
i.event != null && r("tagEvent", i.event);
|
|
1264
1264
|
};
|
|
1265
|
-
return (o, t) => o.loading ? (l(), n("div", jl, t[0] || (t[0] = [
|
|
1265
|
+
return (o, t) => o.loading ? (l(), n("div", jl, [...t[0] || (t[0] = [
|
|
1266
1266
|
e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-12" }, null, -1)
|
|
1267
|
-
]))) : (l(), n("span", {
|
|
1267
|
+
])])) : (l(), n("span", {
|
|
1268
1268
|
key: 0,
|
|
1269
1269
|
onClick: s,
|
|
1270
1270
|
class: y([{
|
|
@@ -1317,10 +1317,10 @@ const Bl = { class: "flex justify-between" }, Ml = {
|
|
|
1317
1317
|
}, o = A(i.value);
|
|
1318
1318
|
return H(() => i.value, (t) => {
|
|
1319
1319
|
o.value = t, r("inputChanged", { name: i.name, value: o.value });
|
|
1320
|
-
}), (t, a) => t.loading ? (l(), n("div", Ol, a[1] || (a[1] = [
|
|
1320
|
+
}), (t, a) => t.loading ? (l(), n("div", Ol, [...a[1] || (a[1] = [
|
|
1321
1321
|
e("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),
|
|
1322
1322
|
e("div", { class: "h-24 bg-gray-200 rounded-lg flex inline-flex items-center relative inline-block text-left w-full" }, null, -1)
|
|
1323
|
-
]))) : (l(), n("div", Dl, [
|
|
1323
|
+
])])) : (l(), n("div", Dl, [
|
|
1324
1324
|
e("div", Tl, [
|
|
1325
1325
|
t.label ? (l(), n("label", zl, g(t.label), 1)) : b("", !0),
|
|
1326
1326
|
t.requiredText ? (l(), n("span", Ll, g(t.requiredText), 1)) : b("", !0)
|
|
@@ -1387,12 +1387,12 @@ const Bl = { class: "flex justify-between" }, Ml = {
|
|
|
1387
1387
|
emits: ["toggleChanged", "actionClicked"],
|
|
1388
1388
|
setup(p, { emit: u }) {
|
|
1389
1389
|
const r = p, i = A(r.checked);
|
|
1390
|
-
return H(() => r.checked, (s) => i.value = s), (s, o) => s.loading ? (l(), n("div", Pl, o[3] || (o[3] = [
|
|
1390
|
+
return H(() => r.checked, (s) => i.value = s), (s, o) => s.loading ? (l(), n("div", Pl, [...o[3] || (o[3] = [
|
|
1391
1391
|
e("div", { class: "relative bg-gray-200 rounded-full w-12 h-6 p-1 flex items-center" }, [
|
|
1392
1392
|
e("div", { class: "rounded-full bg-gray-300 dark:bg-gray-400 h-4 w-4" })
|
|
1393
1393
|
], -1),
|
|
1394
1394
|
e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-16 ml-2" }, null, -1)
|
|
1395
|
-
]))) : (l(), x(c(ft), {
|
|
1395
|
+
])])) : (l(), x(c(ft), {
|
|
1396
1396
|
key: 0,
|
|
1397
1397
|
as: "div",
|
|
1398
1398
|
class: "flex items-center relative"
|
|
@@ -1458,9 +1458,9 @@ const Bl = { class: "flex justify-between" }, Ml = {
|
|
|
1458
1458
|
const r = u, i = (s) => {
|
|
1459
1459
|
r("alertEvent", s.event);
|
|
1460
1460
|
};
|
|
1461
|
-
return (s, o) => s.loading ? (l(), n("div", Jl, o[0] || (o[0] = [
|
|
1461
|
+
return (s, o) => s.loading ? (l(), n("div", Jl, [...o[0] || (o[0] = [
|
|
1462
1462
|
le('<div class="p-4 border-l-4 bg-gray-100 border-gray-400 rounded"><div class="flex"><div class="flex-shrink-0"><div class="h-6 w-6 animate-pulse rounded-full bg-gray-200 dark:bg-gray-300"></div></div><div class="ml-3 w-full"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-2/3 mb-2"></div><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full mb-2"></div><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-3/5"></div></div></div></div>', 1)
|
|
1463
|
-
]))) : (l(), n("div", Yl, [
|
|
1463
|
+
])])) : (l(), n("div", Yl, [
|
|
1464
1464
|
e("div", {
|
|
1465
1465
|
class: y([{
|
|
1466
1466
|
"bg-lime-50 border-lime-400": s.type === "info",
|
|
@@ -1511,7 +1511,7 @@ const Bl = { class: "flex justify-between" }, Ml = {
|
|
|
1511
1511
|
], 2),
|
|
1512
1512
|
e("div", Ul, [
|
|
1513
1513
|
e("div", Hl, [
|
|
1514
|
-
(l(!0), n(
|
|
1514
|
+
(l(!0), n(_, null, S(s.actions, (t, a) => (l(), n("button", {
|
|
1515
1515
|
onClick: (d) => i(t),
|
|
1516
1516
|
type: "button",
|
|
1517
1517
|
key: a,
|
|
@@ -1553,14 +1553,14 @@ const Bl = { class: "flex justify-between" }, Ml = {
|
|
|
1553
1553
|
},
|
|
1554
1554
|
emits: ["breadCrumbClicked"],
|
|
1555
1555
|
setup(p, { emit: u }) {
|
|
1556
|
-
return (r, i) => r.loading ? (l(), n("div", ls, i[0] || (i[0] = [
|
|
1556
|
+
return (r, i) => r.loading ? (l(), n("div", ls, [...i[0] || (i[0] = [
|
|
1557
1557
|
e("div", { class: "animate-pulse rounded-full bg-gray-200 dark:bg-gray-300 h-4 w-4 mr-4" }, null, -1),
|
|
1558
1558
|
e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/5 mr-4" }, null, -1),
|
|
1559
1559
|
e("div", { class: "animate-pulse rounded-full bg-gray-200 dark:bg-gray-300 h-4 w-4 mr-4" }, null, -1),
|
|
1560
1560
|
e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/5" }, null, -1)
|
|
1561
|
-
]))) : (l(), n("nav", Gl, [
|
|
1561
|
+
])])) : (l(), n("nav", Gl, [
|
|
1562
1562
|
e("ol", Ql, [
|
|
1563
|
-
(l(!0), n(
|
|
1563
|
+
(l(!0), n(_, null, S(r.pages, (s, o) => (l(), n("li", { key: o }, [
|
|
1564
1564
|
o == 0 ? (l(), n("div", Kl, [
|
|
1565
1565
|
e("p", {
|
|
1566
1566
|
onClick: (t) => r.$emit("breadCrumbClicked", s.routeName),
|
|
@@ -1605,9 +1605,9 @@ const Bl = { class: "flex justify-between" }, Ml = {
|
|
|
1605
1605
|
},
|
|
1606
1606
|
emits: ["cardSelected"],
|
|
1607
1607
|
setup(p, { emit: u }) {
|
|
1608
|
-
return (r, i) => r.loading ? (l(), n("div", ds, i[1] || (i[1] = [
|
|
1608
|
+
return (r, i) => r.loading ? (l(), n("div", ds, [...i[1] || (i[1] = [
|
|
1609
1609
|
le('<div class="flex items-center flex-col sm:flex-row justify-center sm:justify-start w-full"><div class="w-16 h-16 rounded-full bg-gray-200 flex self-center"></div><div class="w-full ml-4"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full mt-4 sm:mt-0 sm:w-16 mb-2"></div><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full sm:w-32"></div></div></div>', 1)
|
|
1610
|
-
]))) : (l(), n("div", {
|
|
1610
|
+
])])) : (l(), n("div", {
|
|
1611
1611
|
key: 0,
|
|
1612
1612
|
class: "rounded-lg bg-white shadow p-6 cursor-pointer",
|
|
1613
1613
|
onClick: i[0] || (i[0] = (s) => r.$emit("cardSelected", { id: r.id, name: r.name, type: r.type, tags: r.tags }))
|
|
@@ -1623,7 +1623,7 @@ const Bl = { class: "flex justify-between" }, Ml = {
|
|
|
1623
1623
|
])
|
|
1624
1624
|
]),
|
|
1625
1625
|
r.tags && r.tags?.length > 0 ? (l(), n("div", is, [
|
|
1626
|
-
(l(!0), n(
|
|
1626
|
+
(l(!0), n(_, null, S(r.tags, (s) => (l(), x(Z, {
|
|
1627
1627
|
class: "mb-1 mr-1",
|
|
1628
1628
|
key: s.name,
|
|
1629
1629
|
color: s.color,
|
|
@@ -1700,11 +1700,10 @@ const Bl = { class: "flex justify-between" }, Ml = {
|
|
|
1700
1700
|
"leave-from": "opacity-100",
|
|
1701
1701
|
"leave-to": "opacity-0"
|
|
1702
1702
|
}, {
|
|
1703
|
-
default: f(() => t[2] || (t[2] = [
|
|
1703
|
+
default: f(() => [...t[2] || (t[2] = [
|
|
1704
1704
|
e("div", { class: "fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity" }, null, -1)
|
|
1705
|
-
])),
|
|
1706
|
-
_: 1
|
|
1707
|
-
__: [2]
|
|
1705
|
+
])]),
|
|
1706
|
+
_: 1
|
|
1708
1707
|
}),
|
|
1709
1708
|
e("div", cs, [
|
|
1710
1709
|
e("div", gs, [
|
|
@@ -1787,7 +1786,7 @@ const Bl = { class: "flex justify-between" }, Ml = {
|
|
|
1787
1786
|
E(o.$slots, "default", { class: "break-words" })
|
|
1788
1787
|
]),
|
|
1789
1788
|
o.actions ? (l(), n("div", ys, [
|
|
1790
|
-
(l(!0), n(
|
|
1789
|
+
(l(!0), n(_, null, S(o.actions, (a, d) => (l(), n("button", {
|
|
1791
1790
|
key: d,
|
|
1792
1791
|
type: "button",
|
|
1793
1792
|
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",
|
|
@@ -1814,7 +1813,7 @@ const Bl = { class: "flex justify-between" }, Ml = {
|
|
|
1814
1813
|
}), bs = { class: "w-full flex flex-col items-center space-y-4 sm:items-end" }, ws = {
|
|
1815
1814
|
key: 0,
|
|
1816
1815
|
class: "max-w-sm w-full bg-white shadow-lg rounded-lg pointer-events-auto ring-1 ring-black ring-opacity-5 overflow-hidden"
|
|
1817
|
-
}, ks = { class: "p-4" }, xs = { class: "flex items-start" },
|
|
1816
|
+
}, ks = { class: "p-4" }, xs = { class: "flex items-start" }, $s = { class: "flex-shrink-0 mt-0.5" }, _s = { class: "ml-3 w-0 flex-1 pt-0.5" }, Cs = { class: "font-medium text-gray-900" }, Ss = { class: "mt-1 text-sm text-gray-500" }, Bs = { class: "ml-4 flex-shrink-0 flex" }, Ms = /* @__PURE__ */ M({
|
|
1818
1817
|
__name: "uiNotification",
|
|
1819
1818
|
props: {
|
|
1820
1819
|
type: { default: "info" },
|
|
@@ -1843,7 +1842,7 @@ const Bl = { class: "flex justify-between" }, Ml = {
|
|
|
1843
1842
|
i.value ? (l(), n("div", ws, [
|
|
1844
1843
|
e("div", ks, [
|
|
1845
1844
|
e("div", xs, [
|
|
1846
|
-
e("div",
|
|
1845
|
+
e("div", $s, [
|
|
1847
1846
|
B(m(c(lt), {
|
|
1848
1847
|
"aria-hidden": "true",
|
|
1849
1848
|
class: "h-6 w-6 text-green-600"
|
|
@@ -1869,7 +1868,7 @@ const Bl = { class: "flex justify-between" }, Ml = {
|
|
|
1869
1868
|
[D, s.type === "info"]
|
|
1870
1869
|
])
|
|
1871
1870
|
]),
|
|
1872
|
-
e("div",
|
|
1871
|
+
e("div", _s, [
|
|
1873
1872
|
e("p", Cs, g(s.title), 1),
|
|
1874
1873
|
e("p", Ss, g(s.message), 1)
|
|
1875
1874
|
]),
|
|
@@ -1910,14 +1909,14 @@ const Bl = { class: "flex justify-between" }, Ml = {
|
|
|
1910
1909
|
},
|
|
1911
1910
|
setup(p) {
|
|
1912
1911
|
return (u, r) => u.loading ? (l(), n("ul", Ns, [
|
|
1913
|
-
(l(!0), n(
|
|
1912
|
+
(l(!0), n(_, null, S(u.tasks, (i) => (l(), n("li", {
|
|
1914
1913
|
key: i.id,
|
|
1915
1914
|
class: "flex items-center justify-between gap-x-6 py-5"
|
|
1916
|
-
}, r[0] || (r[0] = [
|
|
1915
|
+
}, [...r[0] || (r[0] = [
|
|
1917
1916
|
le('<div class="min-w-0 w-full"><div class="flex items-start gap-x-3"><p class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2"></p></div></div><div class="flex flex-none items-center gap-x-4"><div class="hidden rounded-md bg-gray-200 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"><p class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-10"></p></div></div>', 2)
|
|
1918
|
-
])))), 128))
|
|
1917
|
+
])]))), 128))
|
|
1919
1918
|
])) : (l(), n("ul", js, [
|
|
1920
|
-
(l(!0), n(
|
|
1919
|
+
(l(!0), n(_, null, S(u.tasks, (i) => (l(), n("li", {
|
|
1921
1920
|
key: i.id,
|
|
1922
1921
|
class: "flex items-center justify-between gap-x-6 py-5"
|
|
1923
1922
|
}, [
|
|
@@ -2169,7 +2168,7 @@ function co(p, u, r, i, s, o) {
|
|
|
2169
2168
|
])
|
|
2170
2169
|
], -1)),
|
|
2171
2170
|
e("tbody", uo, [
|
|
2172
|
-
(l(), n(
|
|
2171
|
+
(l(), n(_, null, S(10, (t) => e("tr", { key: t }, [...u[0] || (u[0] = [
|
|
2173
2172
|
e("td", { class: "whitespace-nowrap py-4 pl-4 pr-3 text-sm font-medium text-gray-900 sm:pl-6" }, [
|
|
2174
2173
|
e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-6" })
|
|
2175
2174
|
], -1),
|
|
@@ -2194,7 +2193,7 @@ function co(p, u, r, i, s, o) {
|
|
|
2194
2193
|
])
|
|
2195
2194
|
])
|
|
2196
2195
|
], -1)
|
|
2197
|
-
]))), 64))
|
|
2196
|
+
])])), 64))
|
|
2198
2197
|
])
|
|
2199
2198
|
])
|
|
2200
2199
|
])
|
|
@@ -2271,9 +2270,9 @@ const ko = /* @__PURE__ */ se(ho, [["render", wo]]), xo = {
|
|
|
2271
2270
|
};
|
|
2272
2271
|
}
|
|
2273
2272
|
}
|
|
2274
|
-
},
|
|
2275
|
-
function
|
|
2276
|
-
return l(), n("div",
|
|
2273
|
+
}, $o = { class: "priceDay" };
|
|
2274
|
+
function _o(p, u, r, i, s, o) {
|
|
2275
|
+
return l(), n("div", $o, [
|
|
2277
2276
|
e("div", {
|
|
2278
2277
|
class: y([
|
|
2279
2278
|
{
|
|
@@ -2288,7 +2287,7 @@ function $o(p, u, r, i, s, o) {
|
|
|
2288
2287
|
}, g(o.currentDay.price) + g(r.currency), 3)
|
|
2289
2288
|
]);
|
|
2290
2289
|
}
|
|
2291
|
-
const de = /* @__PURE__ */ se(xo, [["render",
|
|
2290
|
+
const de = /* @__PURE__ */ se(xo, [["render", _o]]), Co = {
|
|
2292
2291
|
key: 0,
|
|
2293
2292
|
class: "px-4 sm:px-6 lg:px-8"
|
|
2294
2293
|
}, So = { class: "flow-root" }, Bo = { class: "overflow-x-auto sm:-mx-6 lg:-mx-8 shadow ring-1 ring-black ring-opacity-5 sm:rounded-lg" }, Mo = { class: "inline-block min-w-full align-middle" }, jo = { class: "min-w-full text-sm" }, Do = { class: "bg-white" }, To = {
|
|
@@ -2369,7 +2368,7 @@ const de = /* @__PURE__ */ se(xo, [["render", $o]]), Co = {
|
|
|
2369
2368
|
return R ? R.price : C.price;
|
|
2370
2369
|
}, j = (C) => {
|
|
2371
2370
|
t.value = C.target.checked ? r.rooms.map((R) => R.id) : [];
|
|
2372
|
-
}, w = () => i("changeCategoryBulkPrices"), T = (C) => i("changeCategorySelectionPrice", C),
|
|
2371
|
+
}, w = () => i("changeCategoryBulkPrices"), T = (C) => i("changeCategorySelectionPrice", C), $ = (C) => i("changeCategoryUpgradePrice", C), O = (C) => i("tableAction", C), L = (C, R, I) => i("changeRoomPrice", { price: C, roomId: R, roomName: I });
|
|
2373
2372
|
return (C, R) => C.loading ? (l(), x(it, { key: 1 })) : (l(), n("div", Co, [
|
|
2374
2373
|
e("div", So, [
|
|
2375
2374
|
e("div", Bo, [
|
|
@@ -2383,7 +2382,7 @@ const de = /* @__PURE__ */ se(xo, [["render", $o]]), Co = {
|
|
|
2383
2382
|
onDateSelected: R[0] || (R[0] = (I) => h(I))
|
|
2384
2383
|
}, null, 8, ["selectedDate"])
|
|
2385
2384
|
]),
|
|
2386
|
-
(l(!0), n(
|
|
2385
|
+
(l(!0), n(_, null, S(a.value, (I, k) => (l(), n("th", {
|
|
2387
2386
|
scope: "col",
|
|
2388
2387
|
key: k,
|
|
2389
2388
|
class: "text-sm font-semibold p-0"
|
|
@@ -2412,7 +2411,7 @@ const de = /* @__PURE__ */ se(xo, [["render", $o]]), Co = {
|
|
|
2412
2411
|
]),
|
|
2413
2412
|
C.type === "discounts" ? (l(), n("tr", Lo, [
|
|
2414
2413
|
e("td", Fo, g(C.literals.pricesDiscount), 1),
|
|
2415
|
-
(l(!0), n(
|
|
2414
|
+
(l(!0), n(_, null, S(C.category.selectionPrices, (I, k) => (l(), n("td", {
|
|
2416
2415
|
key: k,
|
|
2417
2416
|
class: "p-0"
|
|
2418
2417
|
}, [
|
|
@@ -2427,7 +2426,7 @@ const de = /* @__PURE__ */ se(xo, [["render", $o]]), Co = {
|
|
|
2427
2426
|
])) : b("", !0),
|
|
2428
2427
|
C.type === "prices" ? (l(), n("tr", Oo, [
|
|
2429
2428
|
e("td", Ao, g(C.literals.pricesSelection), 1),
|
|
2430
|
-
(l(!0), n(
|
|
2429
|
+
(l(!0), n(_, null, S(C.category.selectionPrices, (I, k) => (l(), n("td", {
|
|
2431
2430
|
key: k,
|
|
2432
2431
|
class: "p-0"
|
|
2433
2432
|
}, [
|
|
@@ -2442,12 +2441,12 @@ const de = /* @__PURE__ */ se(xo, [["render", $o]]), Co = {
|
|
|
2442
2441
|
])) : b("", !0),
|
|
2443
2442
|
C.type === "prices" ? (l(), n("tr", Io, [
|
|
2444
2443
|
e("td", No, g(C.literals.pricesUpgrade), 1),
|
|
2445
|
-
(l(!0), n(
|
|
2444
|
+
(l(!0), n(_, null, S(C.category.upgradePrices, (I, k) => (l(), n("td", {
|
|
2446
2445
|
key: k,
|
|
2447
2446
|
class: "p-0"
|
|
2448
2447
|
}, [
|
|
2449
2448
|
m(de, {
|
|
2450
|
-
onClick: (N) =>
|
|
2449
|
+
onClick: (N) => $(I),
|
|
2451
2450
|
class: "border-l border-gray-200 px-6 py-3 text-black hover:text-lime-400 font-bold cursor-pointer bg-gray-100",
|
|
2452
2451
|
price: I,
|
|
2453
2452
|
currency: C.currency.symbol,
|
|
@@ -2458,7 +2457,7 @@ const de = /* @__PURE__ */ se(xo, [["render", $o]]), Co = {
|
|
|
2458
2457
|
e("tr", null, [
|
|
2459
2458
|
e("th", Po, [
|
|
2460
2459
|
t.value?.length > 0 && C.actions?.length > 0 ? (l(), n("div", Vo, [
|
|
2461
|
-
(l(!0), n(
|
|
2460
|
+
(l(!0), n(_, null, S(C.actions, (I, k) => (l(), n("button", {
|
|
2462
2461
|
onClick: (N) => O({ action: I.id, items: t.value }),
|
|
2463
2462
|
key: k,
|
|
2464
2463
|
type: "button",
|
|
@@ -2487,7 +2486,7 @@ const de = /* @__PURE__ */ se(xo, [["render", $o]]), Co = {
|
|
|
2487
2486
|
class: "bg-gray-100 py-2 pl-4 pr-3 text-left font-semibold"
|
|
2488
2487
|
}, null, -1))
|
|
2489
2488
|
]),
|
|
2490
|
-
(l(!0), n(
|
|
2489
|
+
(l(!0), n(_, null, S(C.rooms, (I) => (l(), n("tr", {
|
|
2491
2490
|
key: I.name,
|
|
2492
2491
|
class: y([{ "even:bg-gray-100": C.type === "prices", "odd:bg-gray-100": C.type === "discounts" }])
|
|
2493
2492
|
}, [
|
|
@@ -2505,7 +2504,7 @@ const de = /* @__PURE__ */ se(xo, [["render", $o]]), Co = {
|
|
|
2505
2504
|
]),
|
|
2506
2505
|
e("td", Qo, g(I.building), 1),
|
|
2507
2506
|
e("td", Ko, g(I.floor), 1),
|
|
2508
|
-
(l(!0), n(
|
|
2507
|
+
(l(!0), n(_, null, S(I.selectionPrices, (k, N) => (l(), n("td", {
|
|
2509
2508
|
class: "p-0",
|
|
2510
2509
|
key: N
|
|
2511
2510
|
}, [
|
|
@@ -2552,8 +2551,8 @@ const de = /* @__PURE__ */ se(xo, [["render", $o]]), Co = {
|
|
|
2552
2551
|
setup(p, { emit: u }) {
|
|
2553
2552
|
const r = u, i = A((/* @__PURE__ */ new Date()).toISOString().slice(0, (/* @__PURE__ */ new Date()).toISOString().lastIndexOf(":"))), s = p;
|
|
2554
2553
|
let o = ne(s.dates || { from: "", to: i });
|
|
2555
|
-
H(() => s.dates, (
|
|
2556
|
-
|
|
2554
|
+
H(() => s.dates, ($) => {
|
|
2555
|
+
$ && (o = $);
|
|
2557
2556
|
});
|
|
2558
2557
|
let a = {
|
|
2559
2558
|
chart: {
|
|
@@ -2566,7 +2565,7 @@ const de = /* @__PURE__ */ se(xo, [["render", $o]]), Co = {
|
|
|
2566
2565
|
},
|
|
2567
2566
|
colors: function() {
|
|
2568
2567
|
return s.isNps ? [
|
|
2569
|
-
function({ value:
|
|
2568
|
+
function({ value: $, seriesIndex: O, dataPointIndex: L, w: C }) {
|
|
2570
2569
|
if (L <= 5) return "#F87171";
|
|
2571
2570
|
if (L > 5 && L <= 7) return "#eab308";
|
|
2572
2571
|
if (L >= 8) return "#84cc16";
|
|
@@ -2613,16 +2612,16 @@ const de = /* @__PURE__ */ se(xo, [["render", $o]]), Co = {
|
|
|
2613
2612
|
}), s.type === "area" && (a.tooltip = { intersect: !1, shared: !0 });
|
|
2614
2613
|
const d = () => (a.chart.stacked = s.stacked, s.options && (s.options.xaxis.hideOverlappingLabels = !0, s.options.xaxis.decimalsInFloat = 2, s.options.xaxis.tickAmount = 10), { ...a, ...s.options, plotOptions: { bar: { horizontal: s.horizontal } } }), h = () => {
|
|
2615
2614
|
o.from !== "" && o.to !== "" && V(o.from).isBefore(V(o.to)) && r("selectedRange", { range: o, chartId: s.id });
|
|
2616
|
-
}, v = Y(() => s.series), j = Y(() => d()), w = () => r("chartUpdated"), T = (
|
|
2617
|
-
r("dataPointSelection", { id: s.id, chartContext: O, config: L, event:
|
|
2615
|
+
}, v = Y(() => s.series), j = Y(() => d()), w = () => r("chartUpdated"), T = ($, O, L) => {
|
|
2616
|
+
r("dataPointSelection", { id: s.id, chartContext: O, config: L, event: $ });
|
|
2618
2617
|
};
|
|
2619
|
-
return (
|
|
2618
|
+
return ($, O) => (l(), n(_, null, [
|
|
2620
2619
|
B(e("div", {
|
|
2621
|
-
class: y(["h-[" +
|
|
2620
|
+
class: y(["h-[" + $.height + "px]", "card chart apex-chart p-4 bg-white shadow rounded-lg overflow-hidden flex grow"])
|
|
2622
2621
|
}, [
|
|
2623
2622
|
e("div", er, [
|
|
2624
|
-
e("div", tr, g(
|
|
2625
|
-
|
|
2623
|
+
e("div", tr, g($.title), 1),
|
|
2624
|
+
$.isNps && $.npsLiterals ? (l(), n("div", lr, [
|
|
2626
2625
|
m(Z, {
|
|
2627
2626
|
size: "small",
|
|
2628
2627
|
color: "red",
|
|
@@ -2634,7 +2633,7 @@ const de = /* @__PURE__ */ se(xo, [["render", $o]]), Co = {
|
|
|
2634
2633
|
loading: !1,
|
|
2635
2634
|
color: "red"
|
|
2636
2635
|
}, null, 8, ["icon"]),
|
|
2637
|
-
e("span", sr, g(
|
|
2636
|
+
e("span", sr, g($.npsLiterals.unhappy), 1)
|
|
2638
2637
|
]),
|
|
2639
2638
|
_: 1
|
|
2640
2639
|
}),
|
|
@@ -2649,7 +2648,7 @@ const de = /* @__PURE__ */ se(xo, [["render", $o]]), Co = {
|
|
|
2649
2648
|
loading: !1,
|
|
2650
2649
|
color: "yellow"
|
|
2651
2650
|
}, null, 8, ["icon"]),
|
|
2652
|
-
e("span", or, g(
|
|
2651
|
+
e("span", or, g($.npsLiterals.neutral), 1)
|
|
2653
2652
|
]),
|
|
2654
2653
|
_: 1
|
|
2655
2654
|
}),
|
|
@@ -2664,7 +2663,7 @@ const de = /* @__PURE__ */ se(xo, [["render", $o]]), Co = {
|
|
|
2664
2663
|
loading: !1,
|
|
2665
2664
|
color: "green"
|
|
2666
2665
|
}, null, 8, ["icon"]),
|
|
2667
|
-
e("span", rr, g(
|
|
2666
|
+
e("span", rr, g($.npsLiterals.happy), 1)
|
|
2668
2667
|
]),
|
|
2669
2668
|
_: 1
|
|
2670
2669
|
})
|
|
@@ -2699,28 +2698,28 @@ const de = /* @__PURE__ */ se(xo, [["render", $o]]), Co = {
|
|
|
2699
2698
|
m(F, {
|
|
2700
2699
|
class: "ml-4 cursor-pointer",
|
|
2701
2700
|
size: "big",
|
|
2702
|
-
loading:
|
|
2701
|
+
loading: $.loading,
|
|
2703
2702
|
icon: c(et),
|
|
2704
|
-
onClick: O[2] || (O[2] = (L) =>
|
|
2703
|
+
onClick: O[2] || (O[2] = (L) => $.$emit("maximizeChart", $.id))
|
|
2705
2704
|
}, null, 8, ["loading", "icon"])
|
|
2706
2705
|
])
|
|
2707
2706
|
]),
|
|
2708
2707
|
B(e("div", cr, [
|
|
2709
2708
|
m(c(Le), {
|
|
2710
2709
|
class: "chart",
|
|
2711
|
-
type:
|
|
2710
|
+
type: $.type,
|
|
2712
2711
|
series: v.value,
|
|
2713
|
-
height:
|
|
2712
|
+
height: $.height,
|
|
2714
2713
|
options: j.value,
|
|
2715
2714
|
onUpdated: w,
|
|
2716
2715
|
onMounted: w,
|
|
2717
2716
|
onDataPointSelection: T
|
|
2718
2717
|
}, null, 8, ["type", "series", "height", "options"])
|
|
2719
2718
|
], 512), [
|
|
2720
|
-
[D,
|
|
2719
|
+
[D, !$.empty]
|
|
2721
2720
|
]),
|
|
2722
2721
|
B(e("div", {
|
|
2723
|
-
class: y(["h-[" +
|
|
2722
|
+
class: y(["h-[" + $.height + "px]", "w-full flex items-center justify-center flex-col"])
|
|
2724
2723
|
}, [
|
|
2725
2724
|
m(F, {
|
|
2726
2725
|
icon: c(W),
|
|
@@ -2730,14 +2729,14 @@ const de = /* @__PURE__ */ se(xo, [["render", $o]]), Co = {
|
|
|
2730
2729
|
}, null, 8, ["icon"]),
|
|
2731
2730
|
O[3] || (O[3] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data for this time frame", -1))
|
|
2732
2731
|
], 2), [
|
|
2733
|
-
[D,
|
|
2732
|
+
[D, $.empty]
|
|
2734
2733
|
])
|
|
2735
2734
|
], 2), [
|
|
2736
|
-
[D,
|
|
2735
|
+
[D, !$.loading]
|
|
2737
2736
|
]),
|
|
2738
2737
|
B(e("div", {
|
|
2739
|
-
class: y(["h-[" +
|
|
2740
|
-
}, O[4] || (O[4] = [
|
|
2738
|
+
class: y(["h-[" + $.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow h-80"])
|
|
2739
|
+
}, [...O[4] || (O[4] = [
|
|
2741
2740
|
e("div", {
|
|
2742
2741
|
role: "status",
|
|
2743
2742
|
class: "w-full animate-pulse h-full flex flex-col"
|
|
@@ -2763,8 +2762,8 @@ const de = /* @__PURE__ */ se(xo, [["render", $o]]), Co = {
|
|
|
2763
2762
|
e("div", { class: "w-full bg-gray-200 rounded h-1/2" })
|
|
2764
2763
|
])
|
|
2765
2764
|
], -1)
|
|
2766
|
-
]), 2), [
|
|
2767
|
-
[D,
|
|
2765
|
+
])], 2), [
|
|
2766
|
+
[D, $.loading]
|
|
2768
2767
|
])
|
|
2769
2768
|
], 64));
|
|
2770
2769
|
}
|
|
@@ -2772,13 +2771,13 @@ const de = /* @__PURE__ */ se(xo, [["render", $o]]), Co = {
|
|
|
2772
2771
|
name: "uiFooter"
|
|
2773
2772
|
}, pr = { class: "bg-white" };
|
|
2774
2773
|
function fr(p, u, r, i, s, o) {
|
|
2775
|
-
return l(), n("footer", pr, u[0] || (u[0] = [
|
|
2774
|
+
return l(), n("footer", pr, [...u[0] || (u[0] = [
|
|
2776
2775
|
e("div", { class: "mx-auto py-6 px-4 sm:px-6 md:flex md:items-center md:justify-between lg:px-8" }, [
|
|
2777
2776
|
e("div", { class: "mt-8 md:mt-0 md:order-1" }, [
|
|
2778
2777
|
e("p", { class: "text-center text-base text-gray-400" }, "© Made by Hotelinking.")
|
|
2779
2778
|
])
|
|
2780
2779
|
], -1)
|
|
2781
|
-
]));
|
|
2780
|
+
])]);
|
|
2782
2781
|
}
|
|
2783
2782
|
const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
2784
2783
|
__name: "uiLoadingScreen",
|
|
@@ -2817,7 +2816,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
2817
2816
|
}, kr = {
|
|
2818
2817
|
href: "#",
|
|
2819
2818
|
class: "ml-3 relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50"
|
|
2820
|
-
}, xr = { class: "hidden sm:flex-1 sm:flex sm:items-center sm:justify-between" },
|
|
2819
|
+
}, xr = { class: "hidden sm:flex-1 sm:flex sm:items-center sm:justify-between" }, $r = { class: "text-sm text-gray-700" }, _r = { class: "font-bold mx-1" }, Cr = { class: "font-bold mx-1" }, Sr = { class: "font-bold mx-1" }, Br = {
|
|
2821
2820
|
class: "relative z-0 inline-flex rounded-md shadow-sm -space-x-px",
|
|
2822
2821
|
"aria-label": "Pagination"
|
|
2823
2822
|
}, Mr = { class: "sr-only" }, jr = ["onClick"], Dr = { class: "sr-only" }, Tr = {
|
|
@@ -2843,10 +2842,10 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
2843
2842
|
d.push(h);
|
|
2844
2843
|
return d;
|
|
2845
2844
|
});
|
|
2846
|
-
return (d, h) => d.loading ? (l(), n("div", Tr, h[3] || (h[3] = [
|
|
2845
|
+
return (d, h) => d.loading ? (l(), n("div", Tr, [...h[3] || (h[3] = [
|
|
2847
2846
|
e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/5" }, null, -1),
|
|
2848
2847
|
e("div", { class: "h-10 w-32 bg-gray-200 rounded dark:bg-gray-300" }, null, -1)
|
|
2849
|
-
]))) : (l(), n("div", vr, [
|
|
2848
|
+
])])) : (l(), n("div", vr, [
|
|
2850
2849
|
e("div", br, [
|
|
2851
2850
|
e("a", wr, [
|
|
2852
2851
|
E(d.$slots, "previous")
|
|
@@ -2857,9 +2856,9 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
2857
2856
|
]),
|
|
2858
2857
|
e("div", xr, [
|
|
2859
2858
|
e("div", null, [
|
|
2860
|
-
e("p",
|
|
2859
|
+
e("p", $r, [
|
|
2861
2860
|
E(d.$slots, "showing"),
|
|
2862
|
-
e("span",
|
|
2861
|
+
e("span", _r, g(d.current), 1),
|
|
2863
2862
|
E(d.$slots, "of"),
|
|
2864
2863
|
e("span", Cr, g(d.total), 1),
|
|
2865
2864
|
E(d.$slots, "pages"),
|
|
@@ -2885,7 +2884,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
2885
2884
|
], 512), [
|
|
2886
2885
|
[D, d.current !== 1]
|
|
2887
2886
|
]),
|
|
2888
|
-
(l(!0), n(
|
|
2887
|
+
(l(!0), n(_, null, S(a.value, (v) => (l(), n("button", {
|
|
2889
2888
|
onClick: (j) => r("changePage", v),
|
|
2890
2889
|
key: v,
|
|
2891
2890
|
"aria-current": "page",
|
|
@@ -2947,10 +2946,10 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
2947
2946
|
e("div", Fr, [
|
|
2948
2947
|
e("div", Or, [
|
|
2949
2948
|
e("nav", Ar, [
|
|
2950
|
-
o.loading ? (l(), n(
|
|
2949
|
+
o.loading ? (l(), n(_, { key: 1 }, S(5, (a) => e("div", Er, [...t[1] || (t[1] = [
|
|
2951
2950
|
e("div", { class: "w-6 h-6 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 mr-4" }, null, -1),
|
|
2952
2951
|
e("div", { class: "h-3 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 grow" }, null, -1)
|
|
2953
|
-
]))), 64)) : (l(!0), n(
|
|
2952
|
+
])])), 64)) : (l(!0), n(_, { key: 0 }, S(s.value, (a) => (l(), n(_, {
|
|
2954
2953
|
key: a.name
|
|
2955
2954
|
}, [
|
|
2956
2955
|
a.children ? (l(), x(c(Te), {
|
|
@@ -2973,9 +2972,9 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
2973
2972
|
]),
|
|
2974
2973
|
"aria-hidden": "true"
|
|
2975
2974
|
}, null, 8, ["loading", "icon", "class"])) : b("", !0),
|
|
2976
|
-
o.loading ? (l(), n("div", Yr, t[0] || (t[0] = [
|
|
2975
|
+
o.loading ? (l(), n("div", Yr, [...t[0] || (t[0] = [
|
|
2977
2976
|
e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, null, -1)
|
|
2978
|
-
]))) : (l(), n("span", Vr, g(a.name), 1)),
|
|
2977
|
+
])])) : (l(), n("span", Vr, g(a.name), 1)),
|
|
2979
2978
|
m(c(ie), {
|
|
2980
2979
|
class: y([d ? "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"])
|
|
2981
2980
|
}, null, 8, ["class"])
|
|
@@ -2984,7 +2983,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
2984
2983
|
}, 1032, ["class"]),
|
|
2985
2984
|
m(c(ze), { class: "space-y-1" }, {
|
|
2986
2985
|
default: f(() => [
|
|
2987
|
-
(l(!0), n(
|
|
2986
|
+
(l(!0), n(_, null, S(a.children, (h) => (l(), x(c(Q), {
|
|
2988
2987
|
onClick: (v) => i("sideBarClick", h.id),
|
|
2989
2988
|
key: h.name,
|
|
2990
2989
|
class: y([h.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"])
|
|
@@ -3059,7 +3058,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3059
3058
|
return (s, o) => (l(), n("div", Hr, [
|
|
3060
3059
|
e("div", Zr, [
|
|
3061
3060
|
e("ul", null, [
|
|
3062
|
-
(l(!0), n(
|
|
3061
|
+
(l(!0), n(_, null, S(s.productsSidebar, (t, a) => (l(), n("li", {
|
|
3063
3062
|
key: a,
|
|
3064
3063
|
class: y([{ "!bg-lime-400": t.active }, "w-full h-16 p-4 flex items-center justify-center cursor-pointer hover:bg-lime-400 hover:text-black"]),
|
|
3065
3064
|
onClick: (d) => s.$emit("productBarClick", t.name)
|
|
@@ -3073,10 +3072,10 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3073
3072
|
]),
|
|
3074
3073
|
s.loading ? (l(), n("div", aa, [
|
|
3075
3074
|
e("div", na, [
|
|
3076
|
-
(l(), n(
|
|
3075
|
+
(l(), n(_, null, S(5, (t) => e("div", ia, [...o[2] || (o[2] = [
|
|
3077
3076
|
e("div", { class: "w-6 h-6 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 mr-4" }, null, -1),
|
|
3078
3077
|
e("div", { class: "h-3 animate-pulse bg-gray-200 rounded-full w-1/2 dark:bg-gray-300" }, null, -1)
|
|
3079
|
-
]))), 64))
|
|
3078
|
+
])])), 64))
|
|
3080
3079
|
])
|
|
3081
3080
|
])) : (l(), n("div", Gr, [
|
|
3082
3081
|
e("div", {
|
|
@@ -3094,7 +3093,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3094
3093
|
s.isFilterNavigation ? b("", !0) : (l(), n("ul", ea, [
|
|
3095
3094
|
e("li", null, [
|
|
3096
3095
|
e("ul", ta, [
|
|
3097
|
-
(l(!0), n(
|
|
3096
|
+
(l(!0), n(_, null, S(i.value, (t) => (l(), n("li", {
|
|
3098
3097
|
key: t.name
|
|
3099
3098
|
}, [
|
|
3100
3099
|
t.children ? (l(), x(c(Te), {
|
|
@@ -3130,7 +3129,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3130
3129
|
static: ""
|
|
3131
3130
|
}, {
|
|
3132
3131
|
default: f(() => [
|
|
3133
|
-
(l(!0), n(
|
|
3132
|
+
(l(!0), n(_, null, S(t.children, (a) => (l(), n("li", {
|
|
3134
3133
|
key: a.name
|
|
3135
3134
|
}, [
|
|
3136
3135
|
m(c(Q), {
|
|
@@ -3183,12 +3182,12 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3183
3182
|
onInputChanged: o[1] || (o[1] = (t) => s.$emit("inputChanged", t))
|
|
3184
3183
|
}, null, 8, ["name", "label", "placeholder", "value", "loading"])) : b("", !0)
|
|
3185
3184
|
]),
|
|
3186
|
-
(l(!0), n(
|
|
3185
|
+
(l(!0), n(_, null, S(s.filterNavigation.items, (t, a) => (l(), n("li", {
|
|
3187
3186
|
class: "ml-2",
|
|
3188
3187
|
key: a
|
|
3189
3188
|
}, [
|
|
3190
3189
|
e("p", ra, g(t.label), 1),
|
|
3191
|
-
(l(!0), n(
|
|
3190
|
+
(l(!0), n(_, null, S(t.filters, (d, h) => (l(), x(Xe, {
|
|
3192
3191
|
class: "mb-2",
|
|
3193
3192
|
value: d.value,
|
|
3194
3193
|
loading: d.loading
|
|
@@ -3299,7 +3298,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3299
3298
|
}), ba = {
|
|
3300
3299
|
key: 0,
|
|
3301
3300
|
class: "overflow-hidden bg-white shadow sm:rounded-lg"
|
|
3302
|
-
}, wa = { class: "px-4 py-5 sm:px-6" }, ka = { class: "text-lg font-medium leading-6" }, xa = { class: "mt-1 max-w-2xl text-sm" },
|
|
3301
|
+
}, wa = { class: "px-4 py-5 sm:px-6" }, ka = { class: "text-lg font-medium leading-6" }, xa = { class: "mt-1 max-w-2xl text-sm" }, $a = { class: "border-t border-gray-200" }, _a = { class: "text-sm font-medium" }, Ca = {
|
|
3303
3302
|
key: 0,
|
|
3304
3303
|
class: "mt-1 text-sm sm:col-span-2 sm:mt-0 break-normal"
|
|
3305
3304
|
}, Sa = ["onClick"], Ba = {
|
|
@@ -3322,17 +3321,17 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3322
3321
|
r[1] || (r[1] = le('<div class="px-4 py-5 sm:px-6 animate-pulse"><h3 class="text-lg font-medium leading-6"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4"></div></h3><div class="mt-1 max-w-2xl text-sm text-gray-500"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-2/5"></div></div></div>', 1)),
|
|
3323
3322
|
e("div", ja, [
|
|
3324
3323
|
e("dl", null, [
|
|
3325
|
-
(l(), n(
|
|
3324
|
+
(l(), n(_, null, S(5, (i) => e("div", {
|
|
3326
3325
|
key: i,
|
|
3327
3326
|
class: y(["px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6", [i % 2 === 0 ? "bg-gray-50" : "bg-white"]])
|
|
3328
|
-
}, r[0] || (r[0] = [
|
|
3327
|
+
}, [...r[0] || (r[0] = [
|
|
3329
3328
|
e("dt", { class: "text-sm font-medium text-gray-500" }, [
|
|
3330
3329
|
e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-12" })
|
|
3331
3330
|
], -1),
|
|
3332
3331
|
e("dd", { class: "mt-1 text-sm sm:col-span-2 sm:mt-0 break-words" }, [
|
|
3333
3332
|
e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-12" })
|
|
3334
3333
|
], -1)
|
|
3335
|
-
]), 2)), 64))
|
|
3334
|
+
])], 2)), 64))
|
|
3336
3335
|
])
|
|
3337
3336
|
])
|
|
3338
3337
|
])) : (l(), n("div", ba, [
|
|
@@ -3340,15 +3339,15 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3340
3339
|
e("h3", ka, g(u.title), 1),
|
|
3341
3340
|
e("p", xa, g(u.subtitle), 1)
|
|
3342
3341
|
]),
|
|
3343
|
-
e("div",
|
|
3342
|
+
e("div", $a, [
|
|
3344
3343
|
e("dl", null, [
|
|
3345
|
-
(l(!0), n(
|
|
3344
|
+
(l(!0), n(_, null, S(u.items, (i, s) => (l(), n("div", {
|
|
3346
3345
|
key: s,
|
|
3347
3346
|
class: y(["px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6", [s % 2 === 0 ? "bg-lime-50" : "bg-white"]])
|
|
3348
3347
|
}, [
|
|
3349
|
-
e("dt",
|
|
3348
|
+
e("dt", _a, g(i.title), 1),
|
|
3350
3349
|
i.type === "tags" ? (l(), n("dd", Ca, [
|
|
3351
|
-
(l(!0), n(
|
|
3350
|
+
(l(!0), n(_, null, S(i.tags, (o, t) => (l(), x(Z, {
|
|
3352
3351
|
loading: u.loading,
|
|
3353
3352
|
key: t,
|
|
3354
3353
|
color: o.color,
|
|
@@ -3446,12 +3445,12 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3446
3445
|
e("div", Ia, [
|
|
3447
3446
|
e("div", Na, [
|
|
3448
3447
|
c(r)?.length > 0 && w.actions?.length > 0 ? (l(), n("div", Pa, [
|
|
3449
|
-
(l(!0), n(
|
|
3450
|
-
onClick: (L) => w.$emit("tableAction", { action:
|
|
3448
|
+
(l(!0), n(_, null, S(w.actions, ($, O) => (l(), n("button", {
|
|
3449
|
+
onClick: (L) => w.$emit("tableAction", { action: $.id, items: c(r) }),
|
|
3451
3450
|
key: O,
|
|
3452
3451
|
type: "button",
|
|
3453
3452
|
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"
|
|
3454
|
-
}, g(
|
|
3453
|
+
}, g($.name), 9, Va))), 128))
|
|
3455
3454
|
])) : b("", !0),
|
|
3456
3455
|
e("table", Ya, [
|
|
3457
3456
|
e("thead", qa, [
|
|
@@ -3469,38 +3468,38 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3469
3468
|
onChange: h
|
|
3470
3469
|
}, null, 40, Ra)) : b("", !0)
|
|
3471
3470
|
], 2),
|
|
3472
|
-
(l(!0), n(
|
|
3471
|
+
(l(!0), n(_, null, S(w.header, ($, O) => B((l(), n("th", {
|
|
3473
3472
|
key: O,
|
|
3474
3473
|
class: "py-3.5 pr-3 text-left font-semibold relative",
|
|
3475
3474
|
scope: "col",
|
|
3476
|
-
onMouseover: (L) => d(
|
|
3477
|
-
onMouseleave: (L) => d(
|
|
3475
|
+
onMouseover: (L) => d($.name, !0),
|
|
3476
|
+
onMouseleave: (L) => d($.name, !1)
|
|
3478
3477
|
}, [
|
|
3479
|
-
|
|
3478
|
+
$.tooltip ? B((l(), x(La, {
|
|
3480
3479
|
key: 0,
|
|
3481
|
-
tip:
|
|
3480
|
+
tip: $.tooltip
|
|
3482
3481
|
}, null, 8, ["tip"])), [
|
|
3483
|
-
[D, c(i) ===
|
|
3482
|
+
[D, c(i) === $.name]
|
|
3484
3483
|
]) : b("", !0),
|
|
3485
|
-
|
|
3484
|
+
$.value ? (l(), n("button", {
|
|
3486
3485
|
key: 1,
|
|
3487
3486
|
class: "group flex items-center uppercase text-xs relative text-nowrap",
|
|
3488
|
-
onClick: (L) => o("orderBy", { value:
|
|
3487
|
+
onClick: (L) => o("orderBy", { value: $.value, orderDirection: w.orderDirection === "asc" ? "desc" : "asc" })
|
|
3489
3488
|
}, [
|
|
3490
|
-
e("span", null, g(
|
|
3489
|
+
e("span", null, g($.name), 1),
|
|
3491
3490
|
e("span", {
|
|
3492
3491
|
class: y([[
|
|
3493
|
-
|
|
3492
|
+
$.value === w.orderedBy ? "bg-black text-white group-hover:bg-lime-400 group-hover:text-black" : "group-hover:visible group-focus:visible"
|
|
3494
3493
|
], "ml-2 flex-none rounded group-hover:bg-lime-200 group-hover:text-white"])
|
|
3495
3494
|
}, [
|
|
3496
3495
|
m(F, {
|
|
3497
3496
|
icon: w.orderDirection === "asc" ? c(re) : c(ot),
|
|
3498
3497
|
loading: w.loading,
|
|
3499
|
-
color:
|
|
3498
|
+
color: $.value === w.orderedBy ? "white" : "primary"
|
|
3500
3499
|
}, null, 8, ["icon", "loading", "color"])
|
|
3501
3500
|
], 2)
|
|
3502
3501
|
], 8, Ua)) : (l(), n("p", Ha, [
|
|
3503
|
-
e("span", null, g(
|
|
3502
|
+
e("span", null, g($.name), 1)
|
|
3504
3503
|
]))
|
|
3505
3504
|
], 40, Ea)), [
|
|
3506
3505
|
[D, j(O)]
|
|
@@ -3508,32 +3507,32 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3508
3507
|
])
|
|
3509
3508
|
]),
|
|
3510
3509
|
e("tbody", Za, [
|
|
3511
|
-
(l(!0), n(
|
|
3512
|
-
key:
|
|
3510
|
+
(l(!0), n(_, null, S(w.items, ($, O) => (l(), n("tr", {
|
|
3511
|
+
key: $.id,
|
|
3513
3512
|
class: y([
|
|
3514
|
-
c(r).includes(
|
|
3513
|
+
c(r).includes($.id) && "bg-gray-50",
|
|
3515
3514
|
O % 2 == 0 ? void 0 : "bg-gray-50"
|
|
3516
3515
|
])
|
|
3517
3516
|
}, [
|
|
3518
3517
|
e("td", {
|
|
3519
3518
|
class: y([w.actions?.length > 0 ? "w-2" : "w-0", "relative"])
|
|
3520
3519
|
}, [
|
|
3521
|
-
c(r).includes(
|
|
3520
|
+
c(r).includes($.id) ? (l(), n("div", Ja)) : b("", !0),
|
|
3522
3521
|
w.actions?.length > 0 ? B((l(), n("input", {
|
|
3523
3522
|
key: 1,
|
|
3524
|
-
"onUpdate:modelValue": T[0] || (T[0] = (L) =>
|
|
3525
|
-
value:
|
|
3523
|
+
"onUpdate:modelValue": T[0] || (T[0] = (L) => $e(r) ? r.value = L : r = L),
|
|
3524
|
+
value: $.id,
|
|
3526
3525
|
class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-black focus:ring-lime-400 flex-wrap",
|
|
3527
3526
|
type: "checkbox"
|
|
3528
3527
|
}, null, 8, Wa)), [
|
|
3529
3528
|
[Ue, c(r)]
|
|
3530
3529
|
]) : b("", !0)
|
|
3531
3530
|
], 2),
|
|
3532
|
-
(l(!0), n(
|
|
3531
|
+
(l(!0), n(_, null, S($.row, (L, C) => B((l(), n("td", {
|
|
3533
3532
|
key: C,
|
|
3534
3533
|
class: y([
|
|
3535
3534
|
"whitespace-nowrap py-4 pr-3 text-sm",
|
|
3536
|
-
c(r).includes(
|
|
3535
|
+
c(r).includes($.id) ? "text-black font-bold" : ""
|
|
3537
3536
|
])
|
|
3538
3537
|
}, [
|
|
3539
3538
|
typeof L == "object" && L.type === "tag" ? (l(), x(Z, {
|
|
@@ -3588,7 +3587,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3588
3587
|
name: "tabs",
|
|
3589
3588
|
class: "block w-full rounded-md border-black py-2 pl-3 pr-10 text-base focus:border-lime-400 focus:outline-none focus:ring-lime-400 sm:text-sm"
|
|
3590
3589
|
}, [
|
|
3591
|
-
(l(!0), n(
|
|
3590
|
+
(l(!0), n(_, null, S(s.tabs, (t) => (l(), n("option", {
|
|
3592
3591
|
value: t.id,
|
|
3593
3592
|
key: t.name
|
|
3594
3593
|
}, g(t.name), 9, tn))), 128))
|
|
@@ -3597,7 +3596,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3597
3596
|
e("div", ln, [
|
|
3598
3597
|
e("div", sn, [
|
|
3599
3598
|
e("nav", on, [
|
|
3600
|
-
(l(!0), n(
|
|
3599
|
+
(l(!0), n(_, null, S(s.tabs, (t) => (l(), n("a", {
|
|
3601
3600
|
key: t.name,
|
|
3602
3601
|
onClick: (a) => r("tabClicked", t.id),
|
|
3603
3602
|
class: y([
|
|
@@ -3633,10 +3632,10 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3633
3632
|
}, kn = { class: "text-sm" }, xn = {
|
|
3634
3633
|
key: 2,
|
|
3635
3634
|
class: "h-full w-full flex items-center justify-center flex-col px-4 py-5 sm:p-6"
|
|
3636
|
-
},
|
|
3635
|
+
}, $n = {
|
|
3637
3636
|
key: 1,
|
|
3638
3637
|
class: "bg-white overflow-hidden shadow rounded-lg"
|
|
3639
|
-
},
|
|
3638
|
+
}, _n = { class: "px-4 py-5 sm:p-6 animate-pulse" }, Cn = { class: "flow-root" }, Sn = {
|
|
3640
3639
|
class: "-mb-8",
|
|
3641
3640
|
role: "list"
|
|
3642
3641
|
}, Bn = { class: "relative pb-8" }, Mn = {
|
|
@@ -3655,16 +3654,16 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3655
3654
|
emits: ["timelineEventClicked", "timelineFooterClicked"],
|
|
3656
3655
|
setup(p, { emit: u }) {
|
|
3657
3656
|
const i = ne(p.timeline);
|
|
3658
|
-
return (s, o) => s.loading ? (l(), n("div",
|
|
3657
|
+
return (s, o) => s.loading ? (l(), n("div", $n, [
|
|
3659
3658
|
o[3] || (o[3] = e("div", { class: "px-4 py-5 sm:px-6 animate-pulse" }, [
|
|
3660
3659
|
e("h1", { class: "text-xl font-bold" }, [
|
|
3661
3660
|
e("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4" })
|
|
3662
3661
|
])
|
|
3663
3662
|
], -1)),
|
|
3664
|
-
e("div",
|
|
3663
|
+
e("div", _n, [
|
|
3665
3664
|
e("div", Cn, [
|
|
3666
3665
|
e("ul", Sn, [
|
|
3667
|
-
(l(), n(
|
|
3666
|
+
(l(), n(_, null, S(10, (t, a) => e("li", { key: a }, [
|
|
3668
3667
|
e("div", Bn, [
|
|
3669
3668
|
t !== 10 ? (l(), n("span", Mn)) : b("", !0),
|
|
3670
3669
|
o[2] || (o[2] = le('<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))
|
|
@@ -3693,7 +3692,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3693
3692
|
class: "-mb-8"
|
|
3694
3693
|
}, {
|
|
3695
3694
|
default: f(() => [
|
|
3696
|
-
(l(!0), n(
|
|
3695
|
+
(l(!0), n(_, null, S(i.items, (t, a) => (l(), n("li", { key: a }, [
|
|
3697
3696
|
e("div", gn, [
|
|
3698
3697
|
a < i.items.length - 1 ? (l(), n("span", mn)) : b("", !0),
|
|
3699
3698
|
e("div", pn, [
|
|
@@ -3794,8 +3793,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3794
3793
|
"aria-hidden": "true"
|
|
3795
3794
|
}))
|
|
3796
3795
|
]),
|
|
3797
|
-
_: 2
|
|
3798
|
-
__: [1]
|
|
3796
|
+
_: 2
|
|
3799
3797
|
}, 1024)
|
|
3800
3798
|
]),
|
|
3801
3799
|
e("div", {
|
|
@@ -3811,7 +3809,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3811
3809
|
]),
|
|
3812
3810
|
e("div", On, [
|
|
3813
3811
|
e("div", An, [
|
|
3814
|
-
m(c(
|
|
3812
|
+
m(c(_e), {
|
|
3815
3813
|
as: "div",
|
|
3816
3814
|
class: "ml-3 relative"
|
|
3817
3815
|
}, {
|
|
@@ -3819,9 +3817,9 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3819
3817
|
e("div", null, [
|
|
3820
3818
|
B(m(c(Ce), { class: "bg-white rounded-full flex text-sm focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 relative" }, {
|
|
3821
3819
|
default: f(() => [
|
|
3822
|
-
B(e("div", In, o[2] || (o[2] = [
|
|
3820
|
+
B(e("div", In, [...o[2] || (o[2] = [
|
|
3823
3821
|
e("span", { class: "animate-ping absolute inline-flex h-4 w-4 bg-red-500 rounded-full opacity-75" }, null, -1)
|
|
3824
|
-
]), 512), [
|
|
3822
|
+
])], 512), [
|
|
3825
3823
|
[D, s.alerted]
|
|
3826
3824
|
]),
|
|
3827
3825
|
e("img", {
|
|
@@ -3845,7 +3843,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3845
3843
|
default: f(() => [
|
|
3846
3844
|
m(c(Se), { 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" }, {
|
|
3847
3845
|
default: f(() => [
|
|
3848
|
-
(l(!0), n(
|
|
3846
|
+
(l(!0), n(_, null, S(s.profileMenu, (a) => (l(), x(c(Be), {
|
|
3849
3847
|
key: a.name
|
|
3850
3848
|
}, {
|
|
3851
3849
|
default: f(({ active: d }) => [
|
|
@@ -3875,7 +3873,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3875
3873
|
m(c(ze), { class: "lg:hidden" }, {
|
|
3876
3874
|
default: f(() => [
|
|
3877
3875
|
e("div", Vn, [
|
|
3878
|
-
(l(!0), n(
|
|
3876
|
+
(l(!0), n(_, null, S(i.value, (a) => (l(), x(c(Q), {
|
|
3879
3877
|
as: "template",
|
|
3880
3878
|
key: a.id,
|
|
3881
3879
|
class: y(["block pl-3 pr-4 py-2 border-l-4 text-base font-medium sm:pl-5 sm:pr-6", {
|
|
@@ -3905,7 +3903,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
3905
3903
|
])) : b("", !0)
|
|
3906
3904
|
]),
|
|
3907
3905
|
e("div", Wn, [
|
|
3908
|
-
(l(!0), n(
|
|
3906
|
+
(l(!0), n(_, null, S(s.profileMenu, (a) => (l(), x(c(Q), {
|
|
3909
3907
|
as: "template",
|
|
3910
3908
|
key: a.name,
|
|
3911
3909
|
class: "block px-4 py-2 text-base font-medium text-gray-500 hover:text-gray-800 hover:bg-gray-100 sm:px-6"
|
|
@@ -4016,7 +4014,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4016
4014
|
const o = Y(() => ({ ...i.options, ...s })), t = Y(() => i.series), a = () => r("chartUpdated"), d = (h, v, j) => {
|
|
4017
4015
|
r("dataPointSelection", { id: i.id, chartContext: v, config: j, event: h });
|
|
4018
4016
|
};
|
|
4019
|
-
return (h, v) => (l(), n(
|
|
4017
|
+
return (h, v) => (l(), n(_, null, [
|
|
4020
4018
|
B(e("div", {
|
|
4021
4019
|
class: y(["h-[" + h.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow"])
|
|
4022
4020
|
}, [
|
|
@@ -4055,7 +4053,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4055
4053
|
], 2), [
|
|
4056
4054
|
[D, !h.loading]
|
|
4057
4055
|
]),
|
|
4058
|
-
B(e("div", oi, v[2] || (v[2] = [
|
|
4056
|
+
B(e("div", oi, [...v[2] || (v[2] = [
|
|
4059
4057
|
e("div", {
|
|
4060
4058
|
role: "status",
|
|
4061
4059
|
class: "w-full animate-pulse h-full flex flex-col"
|
|
@@ -4081,7 +4079,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4081
4079
|
e("div", { class: "w-full bg-gray-200 rounded h-1/2" })
|
|
4082
4080
|
])
|
|
4083
4081
|
], -1)
|
|
4084
|
-
]), 512), [
|
|
4082
|
+
])], 512), [
|
|
4085
4083
|
[D, h.loading]
|
|
4086
4084
|
])
|
|
4087
4085
|
], 64));
|
|
@@ -4109,7 +4107,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4109
4107
|
e("h2", ii, g(u.title), 1),
|
|
4110
4108
|
e("p", di, g(u.message), 1),
|
|
4111
4109
|
e("div", ui, [
|
|
4112
|
-
(l(!0), n(
|
|
4110
|
+
(l(!0), n(_, null, S(u.actions, (i, s) => (l(), x(U, {
|
|
4113
4111
|
key: s,
|
|
4114
4112
|
loading: !1,
|
|
4115
4113
|
onClick: (o) => u.$emit("action", i.action)
|
|
@@ -4207,14 +4205,13 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4207
4205
|
])
|
|
4208
4206
|
])
|
|
4209
4207
|
]),
|
|
4210
|
-
_: 3
|
|
4211
|
-
__: [4]
|
|
4208
|
+
_: 3
|
|
4212
4209
|
})
|
|
4213
4210
|
]),
|
|
4214
4211
|
_: 3
|
|
4215
4212
|
}, 8, ["show"]));
|
|
4216
4213
|
}
|
|
4217
|
-
}),
|
|
4214
|
+
}), $i = { class: "uiGallery" }, _i = {
|
|
4218
4215
|
key: 1,
|
|
4219
4216
|
role: "list",
|
|
4220
4217
|
class: "grid grid-cols-2 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-4 lg:grid-cols-6"
|
|
@@ -4235,7 +4232,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4235
4232
|
const r = u, i = A(!1), s = (o) => {
|
|
4236
4233
|
i.value = !1, r("modalAction", o);
|
|
4237
4234
|
};
|
|
4238
|
-
return (o, t) => (l(), n("div",
|
|
4235
|
+
return (o, t) => (l(), n("div", $i, [
|
|
4239
4236
|
o.loading ? b("", !0) : (l(), x(nt, {
|
|
4240
4237
|
key: 0,
|
|
4241
4238
|
open: i.value,
|
|
@@ -4251,13 +4248,13 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4251
4248
|
_: 1
|
|
4252
4249
|
}, 8, ["open", "title", "actions"])),
|
|
4253
4250
|
o.loading ? (l(), n("ul", Ti, [
|
|
4254
|
-
(l(), n(
|
|
4251
|
+
(l(), n(_, null, S(4, (a) => e("li", null, [...t[2] || (t[2] = [
|
|
4255
4252
|
e("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),
|
|
4256
4253
|
e("p", { class: "animate-pulse h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28 mt-4" }, null, -1),
|
|
4257
4254
|
e("p", { class: "animate-pulse h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-14 mt-2" }, null, -1)
|
|
4258
|
-
]))), 64))
|
|
4259
|
-
])) : (l(), n("ul",
|
|
4260
|
-
(l(!0), n(
|
|
4255
|
+
])])), 64))
|
|
4256
|
+
])) : (l(), n("ul", _i, [
|
|
4257
|
+
(l(!0), n(_, null, S(o.gallery, (a) => (l(), n("li", {
|
|
4261
4258
|
key: a.source,
|
|
4262
4259
|
class: "relative"
|
|
4263
4260
|
}, [
|
|
@@ -4320,13 +4317,13 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4320
4317
|
const o = (t) => {
|
|
4321
4318
|
r("dragAndDropUpdated", t);
|
|
4322
4319
|
};
|
|
4323
|
-
return (t, a) => t.loading ? (l(), n("div", Pi, a[2] || (a[2] = [
|
|
4320
|
+
return (t, a) => t.loading ? (l(), n("div", Pi, [...a[2] || (a[2] = [
|
|
4324
4321
|
le('<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)
|
|
4325
|
-
]))) : (l(), x(c(St), {
|
|
4322
|
+
])])) : (l(), x(c(St), {
|
|
4326
4323
|
key: 0,
|
|
4327
4324
|
modelValue: c(s),
|
|
4328
4325
|
"onUpdate:modelValue": [
|
|
4329
|
-
a[0] || (a[0] = (d) =>
|
|
4326
|
+
a[0] || (a[0] = (d) => $e(s) ? s.value = d : s = d),
|
|
4330
4327
|
a[1] || (a[1] = (d) => o(d))
|
|
4331
4328
|
]
|
|
4332
4329
|
}, {
|
|
@@ -4410,12 +4407,12 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4410
4407
|
}
|
|
4411
4408
|
}
|
|
4412
4409
|
};
|
|
4413
|
-
const a = () => ({ ...t, ...i.options }), d = Y(() => i.series), h = Y(() => a()), v = () => r("chartUpdated"), j = (T,
|
|
4414
|
-
r("dataPointSelection", { id: i.id, chartContext:
|
|
4410
|
+
const a = () => ({ ...t, ...i.options }), d = Y(() => i.series), h = Y(() => a()), v = () => r("chartUpdated"), j = (T, $, O) => {
|
|
4411
|
+
r("dataPointSelection", { id: i.id, chartContext: $, config: O, event: T });
|
|
4415
4412
|
}, w = () => {
|
|
4416
4413
|
o.from !== "" && o.to !== "" && V(o.from).isBefore(V(o.to)) && r("selectedRange", { range: o, chartId: i.id });
|
|
4417
4414
|
};
|
|
4418
|
-
return (T,
|
|
4415
|
+
return (T, $) => (l(), n(_, null, [
|
|
4419
4416
|
B(e("div", {
|
|
4420
4417
|
class: y(["h-[" + T.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow rounded-lg overflow-hidden sm:p-6 flex grow"])
|
|
4421
4418
|
}, [
|
|
@@ -4425,7 +4422,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4425
4422
|
e("div", Ei, [
|
|
4426
4423
|
B(e("input", {
|
|
4427
4424
|
type: "datetime-local",
|
|
4428
|
-
"onUpdate:modelValue":
|
|
4425
|
+
"onUpdate:modelValue": $[0] || ($[0] = (O) => c(o).from = O),
|
|
4429
4426
|
max: s.value.toString(),
|
|
4430
4427
|
onChange: w,
|
|
4431
4428
|
name: "from",
|
|
@@ -4438,7 +4435,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4438
4435
|
e("div", Hi, [
|
|
4439
4436
|
B(e("input", {
|
|
4440
4437
|
type: "datetime-local",
|
|
4441
|
-
"onUpdate:modelValue":
|
|
4438
|
+
"onUpdate:modelValue": $[1] || ($[1] = (O) => c(o).to = O),
|
|
4442
4439
|
max: s.value.toString(),
|
|
4443
4440
|
onChange: w,
|
|
4444
4441
|
name: "to",
|
|
@@ -4453,7 +4450,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4453
4450
|
size: "big",
|
|
4454
4451
|
loading: T.loading,
|
|
4455
4452
|
icon: c(et),
|
|
4456
|
-
onClick:
|
|
4453
|
+
onClick: $[2] || ($[2] = (O) => T.$emit("maximizeChart", T.id))
|
|
4457
4454
|
}, null, 8, ["loading", "icon"])
|
|
4458
4455
|
])
|
|
4459
4456
|
]),
|
|
@@ -4478,14 +4475,14 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4478
4475
|
loading: !1,
|
|
4479
4476
|
size: "huge"
|
|
4480
4477
|
}, null, 8, ["icon"]),
|
|
4481
|
-
|
|
4478
|
+
$[3] || ($[3] = e("p", { class: "text-xs uppercase text-gray-300 font-bold" }, "No data", -1))
|
|
4482
4479
|
], 512), [
|
|
4483
4480
|
[D, T.empty]
|
|
4484
4481
|
])
|
|
4485
4482
|
], 2), [
|
|
4486
4483
|
[D, !T.loading]
|
|
4487
4484
|
]),
|
|
4488
|
-
B(e("div", Gi,
|
|
4485
|
+
B(e("div", Gi, [...$[4] || ($[4] = [
|
|
4489
4486
|
e("div", {
|
|
4490
4487
|
role: "status",
|
|
4491
4488
|
class: "w-full animate-pulse h-full flex flex-col"
|
|
@@ -4511,7 +4508,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4511
4508
|
e("div", { class: "w-full bg-gray-200 rounded h-1/2" })
|
|
4512
4509
|
])
|
|
4513
4510
|
], -1)
|
|
4514
|
-
]), 512), [
|
|
4511
|
+
])], 512), [
|
|
4515
4512
|
[D, T.loading]
|
|
4516
4513
|
])
|
|
4517
4514
|
], 64));
|
|
@@ -4556,11 +4553,10 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4556
4553
|
loading: !0
|
|
4557
4554
|
}),
|
|
4558
4555
|
m(U, { loading: !0 }, {
|
|
4559
|
-
default: f(() => d[2] || (d[2] = [
|
|
4556
|
+
default: f(() => [...d[2] || (d[2] = [
|
|
4560
4557
|
z("Search", -1)
|
|
4561
|
-
])),
|
|
4562
|
-
_: 1
|
|
4563
|
-
__: [2]
|
|
4558
|
+
])]),
|
|
4559
|
+
_: 1
|
|
4564
4560
|
})
|
|
4565
4561
|
])) : (l(), n("div", Ki, [
|
|
4566
4562
|
m(J, {
|
|
@@ -4659,7 +4655,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4659
4655
|
description: {}
|
|
4660
4656
|
},
|
|
4661
4657
|
setup(p) {
|
|
4662
|
-
return (u, r) => (l(), n(
|
|
4658
|
+
return (u, r) => (l(), n(_, null, [
|
|
4663
4659
|
e("h3", {
|
|
4664
4660
|
class: y(["text-lg font-medium leading-6", { "mb-8": u.description === void 0 }])
|
|
4665
4661
|
}, g(u.title), 3),
|
|
@@ -4699,7 +4695,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4699
4695
|
i[3] || (i[3] = e("div", { class: "h-4 bg-gray-200 rounded-full dark:bg-gray-300 w-1/3 mx-auto" }, null, -1)),
|
|
4700
4696
|
e("dl", hd, [
|
|
4701
4697
|
e("dd", yd, [
|
|
4702
|
-
(l(!0), n(
|
|
4698
|
+
(l(!0), n(_, null, S(r.tags, (s, o) => (l(), x(Z, {
|
|
4703
4699
|
key: o,
|
|
4704
4700
|
loading: r.loading,
|
|
4705
4701
|
event: s.event,
|
|
@@ -4744,7 +4740,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4744
4740
|
]),
|
|
4745
4741
|
e("dl", cd, [
|
|
4746
4742
|
e("dd", gd, [
|
|
4747
|
-
(l(!0), n(
|
|
4743
|
+
(l(!0), n(_, null, S(r.tags, (s, o) => (l(), x(Z, {
|
|
4748
4744
|
key: o,
|
|
4749
4745
|
loading: !1,
|
|
4750
4746
|
event: s.event,
|
|
@@ -4761,7 +4757,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4761
4757
|
])
|
|
4762
4758
|
]));
|
|
4763
4759
|
}
|
|
4764
|
-
}), bd = { class: "fixed inset-0 flex" }, wd = { class: "absolute left-full top-0 flex w-16 justify-center pt-5" }, kd = { class: "hidden lg:fixed lg:inset-y-0 lg:z-50 lg:flex lg:w-[25rem] lg:flex-col" }, xd = { class: "lg:pl-[25rem]" },
|
|
4760
|
+
}), bd = { class: "fixed inset-0 flex" }, wd = { class: "absolute left-full top-0 flex w-16 justify-center pt-5" }, kd = { class: "hidden lg:fixed lg:inset-y-0 lg:z-50 lg:flex lg:w-[25rem] lg:flex-col" }, xd = { class: "lg:pl-[25rem]" }, $d = { 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" }, _d = { class: "flex flex-1 gap-x-4 self-stretch lg:gap-x-6" }, Cd = { class: "flex items-center gap-x-4 lg:gap-x-6" }, Sd = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute top-1 left-2" }, Bd = ["src"], Md = { class: "hidden lg:flex lg:items-center" }, jd = ["onClick"], Dd = { class: "py-7" }, Td = { class: "px-7 lg:px-10" }, zd = /* @__PURE__ */ M({
|
|
4765
4761
|
__name: "uiWrapper",
|
|
4766
4762
|
props: {
|
|
4767
4763
|
topbar: {},
|
|
@@ -4793,11 +4789,10 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4793
4789
|
"leave-from": "opacity-100",
|
|
4794
4790
|
"leave-to": "opacity-0"
|
|
4795
4791
|
}, {
|
|
4796
|
-
default: f(() => a[10] || (a[10] = [
|
|
4792
|
+
default: f(() => [...a[10] || (a[10] = [
|
|
4797
4793
|
e("div", { class: "fixed inset-0 bg-gray-900/80" }, null, -1)
|
|
4798
|
-
])),
|
|
4799
|
-
_: 1
|
|
4800
|
-
__: [10]
|
|
4794
|
+
])]),
|
|
4795
|
+
_: 1
|
|
4801
4796
|
}),
|
|
4802
4797
|
e("div", bd, [
|
|
4803
4798
|
m(c(ee), {
|
|
@@ -4878,7 +4873,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4878
4873
|
}, null, 8, ["productsSidebar", "isFilterNavigation", "navigation", "filterNavigation", "logo"])
|
|
4879
4874
|
]),
|
|
4880
4875
|
e("div", xd, [
|
|
4881
|
-
e("div",
|
|
4876
|
+
e("div", $d, [
|
|
4882
4877
|
e("button", {
|
|
4883
4878
|
type: "button",
|
|
4884
4879
|
class: "-m-2.5 p-2.5 text-gray-700 lg:hidden",
|
|
@@ -4894,7 +4889,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4894
4889
|
class: "h-6 w-px bg-gray-200 lg:hidden",
|
|
4895
4890
|
"aria-hidden": "true"
|
|
4896
4891
|
}, null, -1)),
|
|
4897
|
-
e("div",
|
|
4892
|
+
e("div", _d, [
|
|
4898
4893
|
m(te, {
|
|
4899
4894
|
isWrapped: !0,
|
|
4900
4895
|
class: "w-full self-center relative",
|
|
@@ -4909,9 +4904,9 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4909
4904
|
onClick: a[9] || (a[9] = (d) => i("bellClick"))
|
|
4910
4905
|
}, [
|
|
4911
4906
|
a[14] || (a[14] = e("span", { class: "sr-only" }, "View notifications", -1)),
|
|
4912
|
-
B(e("div", Sd, a[13] || (a[13] = [
|
|
4907
|
+
B(e("div", Sd, [...a[13] || (a[13] = [
|
|
4913
4908
|
e("span", { class: "animate-ping absolute inline-flex h-4 w-4 bg-red-500 rounded-full opacity-75" }, null, -1)
|
|
4914
|
-
]), 512), [
|
|
4909
|
+
])], 512), [
|
|
4915
4910
|
[D, t.topbar.alerted]
|
|
4916
4911
|
]),
|
|
4917
4912
|
m(c(Yt), {
|
|
@@ -4923,7 +4918,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4923
4918
|
class: "hidden lg:block lg:h-6 lg:w-px lg:bg-gray-200",
|
|
4924
4919
|
"aria-hidden": "true"
|
|
4925
4920
|
}, null, -1)),
|
|
4926
|
-
m(c(
|
|
4921
|
+
m(c(_e), {
|
|
4927
4922
|
as: "div",
|
|
4928
4923
|
class: "relative"
|
|
4929
4924
|
}, {
|
|
@@ -4943,8 +4938,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4943
4938
|
})
|
|
4944
4939
|
])
|
|
4945
4940
|
]),
|
|
4946
|
-
_: 1
|
|
4947
|
-
__: [15]
|
|
4941
|
+
_: 1
|
|
4948
4942
|
}),
|
|
4949
4943
|
m(ae, {
|
|
4950
4944
|
"enter-active-class": "transition ease-out duration-100",
|
|
@@ -4957,7 +4951,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
4957
4951
|
default: f(() => [
|
|
4958
4952
|
m(c(Se), { 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" }, {
|
|
4959
4953
|
default: f(() => [
|
|
4960
|
-
(l(!0), n(
|
|
4954
|
+
(l(!0), n(_, null, S(t.topbar.profileMenu, (d) => (l(), x(c(Be), {
|
|
4961
4955
|
key: d.name
|
|
4962
4956
|
}, {
|
|
4963
4957
|
default: f(({ active: h }) => [
|
|
@@ -5000,7 +4994,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
5000
4994
|
class: y([s.value, "grid grid-cols-1 md:grid-cols-2 gap-4"]),
|
|
5001
4995
|
key: i.value
|
|
5002
4996
|
}, [
|
|
5003
|
-
(l(!0), n(
|
|
4997
|
+
(l(!0), n(_, null, S(o.dynamicStats, (a, d) => (l(), x(dt, {
|
|
5004
4998
|
key: d,
|
|
5005
4999
|
item: a,
|
|
5006
5000
|
loading: o.loading
|
|
@@ -5050,7 +5044,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
5050
5044
|
key: 0,
|
|
5051
5045
|
modelValue: c(s),
|
|
5052
5046
|
"onUpdate:modelValue": [
|
|
5053
|
-
d[0] || (d[0] = (h) =>
|
|
5047
|
+
d[0] || (d[0] = (h) => $e(s) ? s.value = h : s = h),
|
|
5054
5048
|
o
|
|
5055
5049
|
],
|
|
5056
5050
|
name: "selectorMultiple",
|
|
@@ -5089,7 +5083,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
5089
5083
|
default: f(() => [
|
|
5090
5084
|
e("span", Id, [
|
|
5091
5085
|
c(s).length === 0 ? (l(), n("span", Nd, "...")) : b("", !0),
|
|
5092
|
-
(l(!0), n(
|
|
5086
|
+
(l(!0), n(_, null, S(c(s), (h) => (l(), n("span", {
|
|
5093
5087
|
key: h.id,
|
|
5094
5088
|
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"
|
|
5095
5089
|
}, [
|
|
@@ -5101,14 +5095,14 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
5101
5095
|
viewBox: "0 0 24 24",
|
|
5102
5096
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5103
5097
|
onClick: ve((v) => t(h), ["stop", "prevent"])
|
|
5104
|
-
}, d[1] || (d[1] = [
|
|
5098
|
+
}, [...d[1] || (d[1] = [
|
|
5105
5099
|
e("path", {
|
|
5106
5100
|
"stroke-linecap": "round",
|
|
5107
5101
|
"stroke-linejoin": "round",
|
|
5108
5102
|
"stroke-width": "2",
|
|
5109
5103
|
d: "M6 18L18 6M6 6l12 12"
|
|
5110
5104
|
}, null, -1)
|
|
5111
|
-
]), 8, Pd))
|
|
5105
|
+
])], 8, Pd))
|
|
5112
5106
|
]))), 128))
|
|
5113
5107
|
]),
|
|
5114
5108
|
d[2] || (d[2] = e("span", { class: "absolute h-full right-0 mr-2 self-center top-0 flex items-center" }, [
|
|
@@ -5127,13 +5121,12 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
5127
5121
|
])
|
|
5128
5122
|
], -1))
|
|
5129
5123
|
]),
|
|
5130
|
-
_: 1
|
|
5131
|
-
__: [2]
|
|
5124
|
+
_: 1
|
|
5132
5125
|
}, 8, ["class"]),
|
|
5133
5126
|
e("div", Vd, [
|
|
5134
5127
|
m(c(kt), { class: "shadow-2xs focus:outline-hidden max-h-60 overflow-auto rounded-md py-1 text-base leading-6 sm:text-sm sm:leading-5" }, {
|
|
5135
5128
|
default: f(() => [
|
|
5136
|
-
(l(!0), n(
|
|
5129
|
+
(l(!0), n(_, null, S(a.items, (h) => (l(), x(c(xt), {
|
|
5137
5130
|
key: h.id,
|
|
5138
5131
|
value: h,
|
|
5139
5132
|
as: "template"
|
|
@@ -5148,7 +5141,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
5148
5141
|
j ? (l(), n("span", {
|
|
5149
5142
|
key: 0,
|
|
5150
5143
|
class: y(["absolute inset-y-0 right-0 flex items-center pr-4", { "text-black": v, "text-lime-400": !v }])
|
|
5151
|
-
}, d[3] || (d[3] = [
|
|
5144
|
+
}, [...d[3] || (d[3] = [
|
|
5152
5145
|
e("svg", {
|
|
5153
5146
|
class: "h-5 w-5",
|
|
5154
5147
|
viewBox: "0 0 20 20",
|
|
@@ -5160,7 +5153,7 @@ const hr = /* @__PURE__ */ se(mr, [["render", fr]]), yr = /* @__PURE__ */ M({
|
|
|
5160
5153
|
clipRule: "evenodd"
|
|
5161
5154
|
})
|
|
5162
5155
|
], -1)
|
|
5163
|
-
]), 2)) : b("", !0)
|
|
5156
|
+
])], 2)) : b("", !0)
|
|
5164
5157
|
], 2)
|
|
5165
5158
|
]),
|
|
5166
5159
|
_: 2
|
|
@@ -5290,7 +5283,7 @@ const qe = /* @__PURE__ */ se(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
|
|
|
5290
5283
|
_: 1
|
|
5291
5284
|
}, 8, ["icon"])) : b("", !0)
|
|
5292
5285
|
]),
|
|
5293
|
-
(l(!0), n(
|
|
5286
|
+
(l(!0), n(_, null, S(s.value.length - 1, (w) => (l(), n("div", {
|
|
5294
5287
|
class: "flex flex-col sm:flex-row items-center w-full mt-4",
|
|
5295
5288
|
key: w
|
|
5296
5289
|
}, [
|
|
@@ -5428,7 +5421,7 @@ const qe = /* @__PURE__ */ se(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
|
|
|
5428
5421
|
value: ""
|
|
5429
5422
|
})), T = (k) => {
|
|
5430
5423
|
s.value = Array.isArray(k) ? k[0] || { id: "1", name: r.literals.and } : k;
|
|
5431
|
-
},
|
|
5424
|
+
}, $ = (k) => {
|
|
5432
5425
|
const N = Array.isArray(k) ? k[0] : k, q = r.availableCategories.find((P) => P.name === N.id);
|
|
5433
5426
|
q && (t.value = q);
|
|
5434
5427
|
}, O = () => {
|
|
@@ -5461,12 +5454,12 @@ const qe = /* @__PURE__ */ se(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
|
|
|
5461
5454
|
};
|
|
5462
5455
|
i("smartFiltersSent", q), k();
|
|
5463
5456
|
};
|
|
5464
|
-
return (k, N) => (l(), x(c(
|
|
5457
|
+
return (k, N) => (l(), x(c($t), { class: "relative" }, {
|
|
5465
5458
|
default: f(() => [
|
|
5466
|
-
m(c(
|
|
5459
|
+
m(c(_t), { class: "inline-flex items-center gap-x-2 text-sm/6 font-semibold text-gray-900 outline-none flex-wrap gap-y-1" }, {
|
|
5467
5460
|
default: f(() => [
|
|
5468
5461
|
e("span", null, g(r.literals.filters) + ": ", 1),
|
|
5469
|
-
(l(!0), n(
|
|
5462
|
+
(l(!0), n(_, null, S(w.value, (q, P) => (l(), n(_, { key: P }, [
|
|
5470
5463
|
e("span", Wd, g(q.name) + " " + g(q.operator) + ": " + g(q.value), 1),
|
|
5471
5464
|
P < w.value.length - 1 ? (l(), n("span", Gd, g(s.value.name), 1)) : b("", !0)
|
|
5472
5465
|
], 64))), 128)),
|
|
@@ -5496,21 +5489,20 @@ const qe = /* @__PURE__ */ se(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
|
|
|
5496
5489
|
class: "w-60",
|
|
5497
5490
|
items: v.value,
|
|
5498
5491
|
select: j.value,
|
|
5499
|
-
onSelectChanged:
|
|
5492
|
+
onSelectChanged: $
|
|
5500
5493
|
}, null, 8, ["items", "select"]),
|
|
5501
5494
|
m(U, {
|
|
5502
5495
|
loading: !1,
|
|
5503
5496
|
onClick: O,
|
|
5504
5497
|
disabled: !t.value || !t.value.name
|
|
5505
5498
|
}, {
|
|
5506
|
-
default: f(() => N[0] || (N[0] = [
|
|
5499
|
+
default: f(() => [...N[0] || (N[0] = [
|
|
5507
5500
|
z(" Agregar Filtro ", -1)
|
|
5508
|
-
])),
|
|
5509
|
-
_: 1
|
|
5510
|
-
__: [0]
|
|
5501
|
+
])]),
|
|
5502
|
+
_: 1
|
|
5511
5503
|
}, 8, ["disabled"])
|
|
5512
5504
|
]),
|
|
5513
|
-
(l(!0), n(
|
|
5505
|
+
(l(!0), n(_, null, S(o, (P, G) => (l(), n("div", {
|
|
5514
5506
|
class: "flex items-center gap-x-2 w-full",
|
|
5515
5507
|
key: P.name
|
|
5516
5508
|
}, [
|
|
@@ -5643,7 +5635,7 @@ const qe = /* @__PURE__ */ se(Rd, [["render", Ud]]), Hd = { class: "flex flex-co
|
|
|
5643
5635
|
uiRangeSlider: rd,
|
|
5644
5636
|
uiRightSidebar: xi,
|
|
5645
5637
|
uiSectionTitle: nd,
|
|
5646
|
-
uiSelect:
|
|
5638
|
+
uiSelect: _l,
|
|
5647
5639
|
uiSelectMultiple: ut,
|
|
5648
5640
|
uiSelect_v2: te,
|
|
5649
5641
|
uiSidebar: Ur,
|
|
@@ -5720,7 +5712,7 @@ export {
|
|
|
5720
5712
|
rd as uiRangeSlider,
|
|
5721
5713
|
xi as uiRightSidebar,
|
|
5722
5714
|
nd as uiSectionTitle,
|
|
5723
|
-
|
|
5715
|
+
_l as uiSelect,
|
|
5724
5716
|
ut as uiSelectMultiple,
|
|
5725
5717
|
te as uiSelect_v2,
|
|
5726
5718
|
Ur as uiSidebar,
|