@hotelinking/ui 17.49.0 → 17.49.2
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.css +1 -1
- package/dist/ui.es.js +846 -839
- package/package.json +8 -8
package/dist/ui.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as T, createBlock as w, createElementBlock as s, openBlock as l, resolveDynamicComponent as Fe, normalizeClass as x, computed as A, 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 L, vModelDynamic as yl, vShow as O, withModifiers as ne, vModelText as xe, createStaticVNode as ee, resolveComponent as it, vModelCheckbox as yt, onMounted as Oe, mergeProps as Le, reactive as ke, normalizeStyle as qe, nextTick as be, onUnmounted as bl, TransitionGroup as vl, isRef as bt } from "vue";
|
|
2
|
-
import { Menu as Ze, MenuButton as We, MenuItems as 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
|
|
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 Ie, DisclosureButton as se, DisclosurePanel as _e, 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";
|
|
5
5
|
const P = /* @__PURE__ */ T({
|
|
@@ -97,7 +97,7 @@ const P = /* @__PURE__ */ T({
|
|
|
97
97
|
}), Ll = {
|
|
98
98
|
key: 0,
|
|
99
99
|
class: "relative flex items-start"
|
|
100
|
-
}, Pl = { class: "flex items-center h-5" }, Fl = ["checked", "value", "disabled"], Ol = { class: "ml-3 text-sm" },
|
|
100
|
+
}, Pl = { class: "flex items-center h-5" }, Fl = ["checked", "value", "disabled"], Ol = { class: "ml-3 text-sm" }, Il = { class: "text-black" }, _l = {
|
|
101
101
|
key: 1,
|
|
102
102
|
class: "flex items-center animate-pulse"
|
|
103
103
|
}, ue = /* @__PURE__ */ T({
|
|
@@ -116,7 +116,7 @@ const P = /* @__PURE__ */ T({
|
|
|
116
116
|
};
|
|
117
117
|
return Z(() => o.check, (a) => {
|
|
118
118
|
a && (n.value = a);
|
|
119
|
-
}), (a, d) => e.loading ? (l(), s("div",
|
|
119
|
+
}), (a, d) => e.loading ? (l(), s("div", _l, [...d[1] || (d[1] = [
|
|
120
120
|
t("div", { class: "w-5 h-5 rounded-sm bg-gray-200" }, null, -1),
|
|
121
121
|
t("div", { class: "ml-3 h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28" }, null, -1)
|
|
122
122
|
])])) : (l(), s("div", Ll, [
|
|
@@ -131,7 +131,7 @@ const P = /* @__PURE__ */ T({
|
|
|
131
131
|
}, null, 40, Fl)
|
|
132
132
|
]),
|
|
133
133
|
t("div", Ol, [
|
|
134
|
-
t("span",
|
|
134
|
+
t("span", Il, [
|
|
135
135
|
G(a.$slots, "default")
|
|
136
136
|
])
|
|
137
137
|
])
|
|
@@ -951,7 +951,7 @@ const ts = {
|
|
|
951
951
|
}, bs = {
|
|
952
952
|
key: 1,
|
|
953
953
|
class: "place-self-center text-[10px] uppercase"
|
|
954
|
-
}, vs = { class: "space-y-1 flex flex-col items-center justify-center" }, xs = { class: "flex text-sm flex-col sm:flex-row text-center" }, ps = ["for"], ws = ["id", "name", "accept"], ks = { class: "
|
|
954
|
+
}, vs = { class: "space-y-1 flex flex-col items-center justify-center" }, xs = { class: "flex text-sm flex-col sm:flex-row text-center" }, ps = ["for"], ws = ["id", "name", "accept"], ks = { class: "mt-2 text-xs flex flex-row items-center text-red-600" }, $s = {
|
|
955
955
|
key: 1,
|
|
956
956
|
class: "animate-pulse"
|
|
957
957
|
}, Ee = /* @__PURE__ */ T({
|
|
@@ -983,7 +983,7 @@ const ts = {
|
|
|
983
983
|
v++, i.value += p.name, v >= 1 && v < c.length && (i.value += ", ");
|
|
984
984
|
});
|
|
985
985
|
};
|
|
986
|
-
return (c, v) => e.loading ? (l(), s("div",
|
|
986
|
+
return (c, v) => e.loading ? (l(), s("div", $s, [...v[1] || (v[1] = [
|
|
987
987
|
t("div", { class: "flex justify-center items-center flex-col rounded-md border-2 border-dashed px-6 pt-5 pb-6 border-gray-200" }, [
|
|
988
988
|
t("div", { class: "rounded-full h-20 w-20 bg-gray-200 mb-4" }),
|
|
989
989
|
t("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full md:w-1/3 mb-3" }),
|
|
@@ -1011,15 +1011,18 @@ const ts = {
|
|
|
1011
1011
|
m(P, {
|
|
1012
1012
|
icon: e.icon,
|
|
1013
1013
|
size: "massive",
|
|
1014
|
-
color: "black",
|
|
1014
|
+
color: e.error ? "red" : "black",
|
|
1015
1015
|
"aria-hidden": "true",
|
|
1016
1016
|
class: "mb-4",
|
|
1017
1017
|
loading: e.loading
|
|
1018
|
-
}, null, 8, ["icon", "loading"]),
|
|
1018
|
+
}, null, 8, ["icon", "color", "loading"]),
|
|
1019
1019
|
t("div", xs, [
|
|
1020
1020
|
t("label", {
|
|
1021
1021
|
for: e.id,
|
|
1022
|
-
class:
|
|
1022
|
+
class: x([
|
|
1023
|
+
"relative cursor-pointer rounded-md font-medium underline focus-within:outline-hidden focus-within:ring-2 focus-within:ring-offset-2",
|
|
1024
|
+
e.error ? "text-red-600 hover:text-red-900 focus-within:ring-red-600" : "text-black hover:text-lime-400 focus-within:ring-lime-400"
|
|
1025
|
+
])
|
|
1023
1026
|
}, [
|
|
1024
1027
|
t("span", null, u(e.placeholder), 1),
|
|
1025
1028
|
t("input", {
|
|
@@ -1031,16 +1034,20 @@ const ts = {
|
|
|
1031
1034
|
multiple: "",
|
|
1032
1035
|
onChange: a
|
|
1033
1036
|
}, null, 40, ws)
|
|
1034
|
-
],
|
|
1035
|
-
t("p",
|
|
1037
|
+
], 10, ps),
|
|
1038
|
+
t("p", {
|
|
1039
|
+
class: x(["pl-1", e.error ? "text-red-600" : ""])
|
|
1040
|
+
}, u(e.dragAndDrop), 3)
|
|
1036
1041
|
]),
|
|
1037
|
-
t("p",
|
|
1042
|
+
t("p", {
|
|
1043
|
+
class: x(["text-xs pb-4", e.error ? "text-red-600" : ""])
|
|
1044
|
+
}, u(e.fileTypesAndSizes), 3),
|
|
1038
1045
|
L(t("p", { class: "font-bold text-xs uppercase block p-2 bg-lime-50 rounded-sm" }, u(f(i)), 513), [
|
|
1039
1046
|
[O, f(i) !== null]
|
|
1040
1047
|
])
|
|
1041
1048
|
])
|
|
1042
1049
|
], 34),
|
|
1043
|
-
L(t("p",
|
|
1050
|
+
L(t("p", ks, [
|
|
1044
1051
|
m(P, {
|
|
1045
1052
|
icon: f(Ve),
|
|
1046
1053
|
color: "red",
|
|
@@ -1053,13 +1060,13 @@ const ts = {
|
|
|
1053
1060
|
])
|
|
1054
1061
|
]));
|
|
1055
1062
|
}
|
|
1056
|
-
}),
|
|
1063
|
+
}), Cs = { class: "flex justify-between" }, Ss = {
|
|
1057
1064
|
key: 0,
|
|
1058
1065
|
class: "text-[10px] text-gray-500 uppercase justify-self-end"
|
|
1059
|
-
},
|
|
1066
|
+
}, Bs = { class: "relative" }, Ms = {
|
|
1060
1067
|
key: 1,
|
|
1061
1068
|
class: "animate-pulse px-4 py-2.5 bg-gray-200 rounded-md flex justify-between items-center w-full"
|
|
1062
|
-
},
|
|
1069
|
+
}, zs = /* @__PURE__ */ T({
|
|
1063
1070
|
__name: "uiSelect",
|
|
1064
1071
|
props: {
|
|
1065
1072
|
items: {},
|
|
@@ -1085,7 +1092,7 @@ const ts = {
|
|
|
1085
1092
|
});
|
|
1086
1093
|
return g({
|
|
1087
1094
|
handleChange: c
|
|
1088
|
-
}), (p, C) => e.loading ? (l(), s("div",
|
|
1095
|
+
}), (p, C) => e.loading ? (l(), s("div", Ms, [
|
|
1089
1096
|
C[3] || (C[3] = t("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, null, -1)),
|
|
1090
1097
|
m(f(He), {
|
|
1091
1098
|
"aria-hidden": "true",
|
|
@@ -1102,16 +1109,16 @@ const ts = {
|
|
|
1102
1109
|
as: "div"
|
|
1103
1110
|
}, {
|
|
1104
1111
|
default: y(() => [
|
|
1105
|
-
t("div",
|
|
1112
|
+
t("div", Cs, [
|
|
1106
1113
|
m(f(xt), { class: "block text-sm font-medium" }, {
|
|
1107
1114
|
default: y(() => [
|
|
1108
1115
|
B(u(e.label), 1)
|
|
1109
1116
|
]),
|
|
1110
1117
|
_: 1
|
|
1111
1118
|
}),
|
|
1112
|
-
e.requiredText ? (l(), s("span",
|
|
1119
|
+
e.requiredText ? (l(), s("span", Ss, u(e.requiredText), 1)) : b("", !0)
|
|
1113
1120
|
]),
|
|
1114
|
-
t("div",
|
|
1121
|
+
t("div", Bs, [
|
|
1115
1122
|
m(f(pt), {
|
|
1116
1123
|
onChange: C[0] || (C[0] = (N) => o.value = N.target.value),
|
|
1117
1124
|
onBlur: C[1] || (C[1] = (N) => o.value = ""),
|
|
@@ -1211,7 +1218,7 @@ function Tt(e, g) {
|
|
|
1211
1218
|
})
|
|
1212
1219
|
]);
|
|
1213
1220
|
}
|
|
1214
|
-
function
|
|
1221
|
+
function js(e, g) {
|
|
1215
1222
|
return l(), s("svg", {
|
|
1216
1223
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1217
1224
|
viewBox: "0 0 20 20",
|
|
@@ -1226,7 +1233,7 @@ function Ts(e, g) {
|
|
|
1226
1233
|
})
|
|
1227
1234
|
]);
|
|
1228
1235
|
}
|
|
1229
|
-
const
|
|
1236
|
+
const As = { class: "flex justify-between" }, Ts = {
|
|
1230
1237
|
key: 0,
|
|
1231
1238
|
class: "text-[10px] uppercase justify-self-end self-center"
|
|
1232
1239
|
}, ve = /* @__PURE__ */ T({
|
|
@@ -1262,14 +1269,14 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1262
1269
|
]
|
|
1263
1270
|
}, {
|
|
1264
1271
|
default: y(() => [
|
|
1265
|
-
t("div",
|
|
1272
|
+
t("div", As, [
|
|
1266
1273
|
m(f(xt), { class: "block text-sm font-medium" }, {
|
|
1267
1274
|
default: y(() => [
|
|
1268
1275
|
B(u(e.label), 1)
|
|
1269
1276
|
]),
|
|
1270
1277
|
_: 1
|
|
1271
1278
|
}),
|
|
1272
|
-
e.requiredText ? (l(), s("span",
|
|
1279
|
+
e.requiredText ? (l(), s("span", Ts, u(e.requiredText), 1)) : b("", !0)
|
|
1273
1280
|
]),
|
|
1274
1281
|
t("div", {
|
|
1275
1282
|
class: x([{ "mt-1": e.label || e.requiredText }, "relative"])
|
|
@@ -1305,7 +1312,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1305
1312
|
class: "h-full absolute inset-y-0 right-0 flex items-center rounded-r-md px-2 focus:outline-hidden"
|
|
1306
1313
|
}, {
|
|
1307
1314
|
default: y(() => [
|
|
1308
|
-
m(f(
|
|
1315
|
+
m(f(js), {
|
|
1309
1316
|
class: "size-5 mt-1",
|
|
1310
1317
|
"aria-hidden": "true"
|
|
1311
1318
|
})
|
|
@@ -1360,7 +1367,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1360
1367
|
_: 1
|
|
1361
1368
|
}, 8, ["modelValue"]));
|
|
1362
1369
|
}
|
|
1363
|
-
}),
|
|
1370
|
+
}), Ds = {
|
|
1364
1371
|
key: 1,
|
|
1365
1372
|
class: "inline-flex items-center px-3 py-2.5 rounded-sm text-xs font-medium leading-none animate-pulse bg-gray-200"
|
|
1366
1373
|
}, J = /* @__PURE__ */ T({
|
|
@@ -1378,7 +1385,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1378
1385
|
const i = g, o = e, n = () => {
|
|
1379
1386
|
o.event != null && i("tagEvent", o.event);
|
|
1380
1387
|
};
|
|
1381
|
-
return (r, a) => e.loading ? (l(), s("div",
|
|
1388
|
+
return (r, a) => e.loading ? (l(), s("div", Ds, [...a[0] || (a[0] = [
|
|
1382
1389
|
t("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-12" }, null, -1)
|
|
1383
1390
|
])])) : (l(), s("span", {
|
|
1384
1391
|
key: 0,
|
|
@@ -1401,17 +1408,17 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1401
1408
|
G(r.$slots, "default")
|
|
1402
1409
|
], 2));
|
|
1403
1410
|
}
|
|
1404
|
-
}),
|
|
1411
|
+
}), Ls = { key: 0 }, Ps = { class: "flex justify-between" }, Fs = {
|
|
1405
1412
|
key: 0,
|
|
1406
1413
|
class: "block text-sm font-medium"
|
|
1407
|
-
},
|
|
1414
|
+
}, Os = {
|
|
1408
1415
|
key: 1,
|
|
1409
1416
|
"data-test": "required",
|
|
1410
1417
|
class: "text-[10px] uppercase justify-self-end"
|
|
1411
|
-
},
|
|
1418
|
+
}, Is = ["disabled", "placeholder"], _s = {
|
|
1412
1419
|
key: 1,
|
|
1413
1420
|
class: "animate-pulse"
|
|
1414
|
-
},
|
|
1421
|
+
}, Vs = /* @__PURE__ */ T({
|
|
1415
1422
|
__name: "uiTextArea",
|
|
1416
1423
|
props: {
|
|
1417
1424
|
name: {},
|
|
@@ -1431,13 +1438,13 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1431
1438
|
}, r = V(o.value);
|
|
1432
1439
|
return Z(() => o.value, (a) => {
|
|
1433
1440
|
r.value = a, i("inputChanged", { name: o.name, value: r.value });
|
|
1434
|
-
}), (a, d) => e.loading ? (l(), s("div",
|
|
1441
|
+
}), (a, d) => e.loading ? (l(), s("div", _s, [...d[1] || (d[1] = [
|
|
1435
1442
|
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
1443
|
t("div", { class: "h-24 bg-gray-200 rounded-lg flex inline-flex items-center relative inline-block text-left w-full" }, null, -1)
|
|
1437
|
-
])])) : (l(), s("div",
|
|
1438
|
-
t("div",
|
|
1439
|
-
e.label ? (l(), s("label",
|
|
1440
|
-
e.requiredText ? (l(), s("span",
|
|
1444
|
+
])])) : (l(), s("div", Ls, [
|
|
1445
|
+
t("div", Ps, [
|
|
1446
|
+
e.label ? (l(), s("label", Fs, u(e.label), 1)) : b("", !0),
|
|
1447
|
+
e.requiredText ? (l(), s("span", Os, u(e.requiredText), 1)) : b("", !0)
|
|
1441
1448
|
]),
|
|
1442
1449
|
t("div", {
|
|
1443
1450
|
class: x({ "mt-1": e.label })
|
|
@@ -1460,7 +1467,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1460
1467
|
"text-green-600": e.color === "green"
|
|
1461
1468
|
}]),
|
|
1462
1469
|
onChange: n
|
|
1463
|
-
}, null, 42,
|
|
1470
|
+
}, null, 42, Is), [
|
|
1464
1471
|
[xe, r.value]
|
|
1465
1472
|
])
|
|
1466
1473
|
], 2),
|
|
@@ -1484,13 +1491,13 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1484
1491
|
])
|
|
1485
1492
|
]));
|
|
1486
1493
|
}
|
|
1487
|
-
}),
|
|
1494
|
+
}), Ns = { class: "text-sm font-medium" }, Rs = {
|
|
1488
1495
|
key: 0,
|
|
1489
1496
|
class: "text-sm ml-2"
|
|
1490
|
-
},
|
|
1497
|
+
}, qs = {
|
|
1491
1498
|
key: 1,
|
|
1492
1499
|
class: "animate-pulse flex items-center"
|
|
1493
|
-
},
|
|
1500
|
+
}, Hs = /* @__PURE__ */ T({
|
|
1494
1501
|
__name: "uiToggle",
|
|
1495
1502
|
props: {
|
|
1496
1503
|
item: {},
|
|
@@ -1501,7 +1508,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1501
1508
|
emits: ["toggleChanged", "actionClicked"],
|
|
1502
1509
|
setup(e, { emit: g }) {
|
|
1503
1510
|
const i = e, o = V(i.checked);
|
|
1504
|
-
return Z(() => i.checked, (n) => o.value = n), (n, r) => e.loading ? (l(), s("div",
|
|
1511
|
+
return Z(() => i.checked, (n) => o.value = n), (n, r) => e.loading ? (l(), s("div", qs, [...r[3] || (r[3] = [
|
|
1505
1512
|
t("div", { class: "relative bg-gray-200 rounded-full w-12 h-6 p-1 flex items-center" }, [
|
|
1506
1513
|
t("div", { class: "rounded-full bg-gray-300 dark:bg-gray-400 h-4 w-4" })
|
|
1507
1514
|
], -1),
|
|
@@ -1540,8 +1547,8 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1540
1547
|
class: "ml-3"
|
|
1541
1548
|
}, {
|
|
1542
1549
|
default: y(() => [
|
|
1543
|
-
t("span",
|
|
1544
|
-
e.item.subtitle ? (l(), s("span",
|
|
1550
|
+
t("span", Ns, u(e.item.title), 1),
|
|
1551
|
+
e.item.subtitle ? (l(), s("span", Rs, u(e.item.subtitle), 1)) : b("", !0)
|
|
1545
1552
|
]),
|
|
1546
1553
|
_: 1
|
|
1547
1554
|
}),
|
|
@@ -1554,17 +1561,17 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1554
1561
|
_: 1
|
|
1555
1562
|
}));
|
|
1556
1563
|
}
|
|
1557
|
-
}),
|
|
1564
|
+
}), Ys = {
|
|
1558
1565
|
key: 0,
|
|
1559
1566
|
class: "inline-flex",
|
|
1560
1567
|
"aria-label": "Breadcrumb"
|
|
1561
|
-
},
|
|
1568
|
+
}, Es = {
|
|
1562
1569
|
role: "list",
|
|
1563
1570
|
class: "flex items-center space-x-4 text-xs"
|
|
1564
|
-
},
|
|
1571
|
+
}, Us = { key: 0 }, Zs = ["onClick"], Ws = {
|
|
1565
1572
|
key: 1,
|
|
1566
1573
|
class: "flex items-center"
|
|
1567
|
-
},
|
|
1574
|
+
}, Gs = ["onClick"], Js = {
|
|
1568
1575
|
key: 1,
|
|
1569
1576
|
class: "flex flex-row items-center animate-pulse"
|
|
1570
1577
|
}, Dt = /* @__PURE__ */ T({
|
|
@@ -1575,15 +1582,15 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1575
1582
|
},
|
|
1576
1583
|
emits: ["breadCrumbClicked"],
|
|
1577
1584
|
setup(e, { emit: g }) {
|
|
1578
|
-
return (i, o) => e.loading ? (l(), s("div",
|
|
1585
|
+
return (i, o) => e.loading ? (l(), s("div", Js, [...o[0] || (o[0] = [
|
|
1579
1586
|
t("div", { class: "animate-pulse rounded-full bg-gray-200 dark:bg-gray-300 h-4 w-4 mr-4" }, null, -1),
|
|
1580
1587
|
t("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/5 mr-4" }, null, -1),
|
|
1581
1588
|
t("div", { class: "animate-pulse rounded-full bg-gray-200 dark:bg-gray-300 h-4 w-4 mr-4" }, null, -1),
|
|
1582
1589
|
t("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/5" }, null, -1)
|
|
1583
|
-
])])) : (l(), s("nav",
|
|
1584
|
-
t("ol",
|
|
1590
|
+
])])) : (l(), s("nav", Ys, [
|
|
1591
|
+
t("ol", Es, [
|
|
1585
1592
|
(l(!0), s(k, null, S(e.pages, (n, r) => (l(), s("li", { key: r }, [
|
|
1586
|
-
r == 0 ? (l(), s("div",
|
|
1593
|
+
r == 0 ? (l(), s("div", Us, [
|
|
1587
1594
|
t("p", {
|
|
1588
1595
|
onClick: (a) => i.$emit("breadCrumbClicked", n.routeName),
|
|
1589
1596
|
class: "flex flex-row items-center justify-center text-black hover:text-lime-400 underline font-bold cursor-pointer"
|
|
@@ -1593,8 +1600,8 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1593
1600
|
"aria-hidden": "true"
|
|
1594
1601
|
}),
|
|
1595
1602
|
t("span", null, u(n.name), 1)
|
|
1596
|
-
], 8,
|
|
1597
|
-
])) : (l(), s("div",
|
|
1603
|
+
], 8, Zs)
|
|
1604
|
+
])) : (l(), s("div", Ws, [
|
|
1598
1605
|
m(f($e), {
|
|
1599
1606
|
class: "shrink-0 h-3 w-3 text-gray-400",
|
|
1600
1607
|
"aria-hidden": "true"
|
|
@@ -1603,28 +1610,28 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1603
1610
|
onClick: (a) => i.$emit("breadCrumbClicked", n.routeName),
|
|
1604
1611
|
class: x(["cursor-pointer ml-4 text-xs text-black", { "hover:text-lime-400 underline": !n.current }]),
|
|
1605
1612
|
"aria-current": "page"
|
|
1606
|
-
}, u(n.name), 11,
|
|
1613
|
+
}, u(n.name), 11, Gs)
|
|
1607
1614
|
]))
|
|
1608
1615
|
]))), 128))
|
|
1609
1616
|
])
|
|
1610
1617
|
]));
|
|
1611
1618
|
}
|
|
1612
|
-
}),
|
|
1619
|
+
}), Ks = { key: 0 }, Qs = { class: "mb-12" }, Xs = { class: "mx-auto flex flex-col" }, en = { class: "hidden sm:block" }, tn = { class: "text-2xl font-bold leading-7 sm:text-4xl sm:truncate mt-6" }, ln = {
|
|
1613
1620
|
key: 0,
|
|
1614
1621
|
class: "flex flex-col lg:flex-row justify-between items-start"
|
|
1615
|
-
},
|
|
1622
|
+
}, sn = {
|
|
1616
1623
|
key: 0,
|
|
1617
1624
|
class: "lg:w-2/3 xl:w-1/2"
|
|
1618
|
-
},
|
|
1625
|
+
}, nn = {
|
|
1619
1626
|
key: 0,
|
|
1620
1627
|
class: "text-lg font-medium leading-6 text-gray-900"
|
|
1621
|
-
},
|
|
1628
|
+
}, an = {
|
|
1622
1629
|
key: 1,
|
|
1623
1630
|
class: "mt-1 mb-8 text-sm text-gray-500"
|
|
1624
|
-
},
|
|
1631
|
+
}, on = {
|
|
1625
1632
|
key: 1,
|
|
1626
1633
|
class: "animate-pulse mb-12"
|
|
1627
|
-
},
|
|
1634
|
+
}, rn = /* @__PURE__ */ T({
|
|
1628
1635
|
__name: "uiViewHeader",
|
|
1629
1636
|
props: {
|
|
1630
1637
|
pages: {},
|
|
@@ -1640,25 +1647,25 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1640
1647
|
},
|
|
1641
1648
|
emits: ["breadCrumbClicked", "buttonClick"],
|
|
1642
1649
|
setup(e) {
|
|
1643
|
-
return (g, i) => e.loading ? (l(), s("div",
|
|
1650
|
+
return (g, i) => e.loading ? (l(), s("div", on, [...i[2] || (i[2] = [
|
|
1644
1651
|
ee('<div class="flex flex-row items-center"><div class="animate-pulse rounded-full bg-gray-200 dark:bg-gray-300 h-4 w-4 mr-4"></div><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/5 mr-4"></div><div class="animate-pulse rounded-full bg-gray-200 dark:bg-gray-300 h-4 w-4 mr-4"></div><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/5"></div></div><h1 class="text-2xl font-bold leading-7 sm:text-4xl sm:truncate mt-6"><div class="h-8 bg-gray-200 rounded-full dark:bg-gray-300 w-3/4 sm:w-1/2"></div></h1>', 2)
|
|
1645
|
-
])])) : (l(), s("div",
|
|
1646
|
-
t("header",
|
|
1647
|
-
t("div",
|
|
1648
|
-
t("div",
|
|
1652
|
+
])])) : (l(), s("div", Ks, [
|
|
1653
|
+
t("header", Qs, [
|
|
1654
|
+
t("div", Xs, [
|
|
1655
|
+
t("div", en, [
|
|
1649
1656
|
m(Dt, {
|
|
1650
1657
|
pages: e.pages,
|
|
1651
1658
|
loading: e.loading,
|
|
1652
1659
|
onBreadCrumbClicked: i[0] || (i[0] = (o) => g.$emit("breadCrumbClicked", o))
|
|
1653
1660
|
}, null, 8, ["pages", "loading"])
|
|
1654
1661
|
]),
|
|
1655
|
-
t("h1",
|
|
1662
|
+
t("h1", tn, u(e.title), 1)
|
|
1656
1663
|
])
|
|
1657
1664
|
]),
|
|
1658
|
-
e.subtitle || e.description || e.buttonText ? (l(), s("div",
|
|
1659
|
-
e.subtitle || e.description ? (l(), s("div",
|
|
1660
|
-
e.subtitle ? (l(), s("h3",
|
|
1661
|
-
e.description ? (l(), s("p",
|
|
1665
|
+
e.subtitle || e.description || e.buttonText ? (l(), s("div", ln, [
|
|
1666
|
+
e.subtitle || e.description ? (l(), s("div", sn, [
|
|
1667
|
+
e.subtitle ? (l(), s("h3", nn, u(e.subtitle), 1)) : b("", !0),
|
|
1668
|
+
e.description ? (l(), s("p", an, u(e.description), 1)) : b("", !0)
|
|
1662
1669
|
])) : b("", !0),
|
|
1663
1670
|
e.buttonText ? (l(), w(U, {
|
|
1664
1671
|
key: 1,
|
|
@@ -1677,13 +1684,13 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1677
1684
|
])) : b("", !0)
|
|
1678
1685
|
]));
|
|
1679
1686
|
}
|
|
1680
|
-
}),
|
|
1687
|
+
}), dn = {
|
|
1681
1688
|
key: 0,
|
|
1682
1689
|
class: "flex flex-col"
|
|
1683
|
-
},
|
|
1690
|
+
}, cn = { class: "flex" }, un = { class: "shrink-0" }, gn = { class: "ml-3" }, mn = { class: "mt-4" }, fn = { class: "-my-1.5 -mx-2 gap-x-2 flex" }, hn = ["onClick"], yn = {
|
|
1684
1691
|
key: 1,
|
|
1685
1692
|
class: "flex flex-col animate-pulse"
|
|
1686
|
-
},
|
|
1693
|
+
}, bn = /* @__PURE__ */ T({
|
|
1687
1694
|
__name: "uiAlert",
|
|
1688
1695
|
props: {
|
|
1689
1696
|
actions: {},
|
|
@@ -1696,9 +1703,9 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1696
1703
|
const i = g, o = (n) => {
|
|
1697
1704
|
i("alertEvent", n.event);
|
|
1698
1705
|
};
|
|
1699
|
-
return (n, r) => e.loading ? (l(), s("div",
|
|
1706
|
+
return (n, r) => e.loading ? (l(), s("div", yn, [...r[0] || (r[0] = [
|
|
1700
1707
|
ee('<div class="p-4 border-l-4 bg-gray-100 border-gray-400 rounded-sm"><div class="flex"><div class="shrink-0"><div class="h-6 w-6 animate-pulse rounded-full bg-gray-200 dark:bg-gray-300"></div></div><div class="ml-3 w-full"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-2/3 mb-2"></div><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full mb-2"></div><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-3/5"></div></div></div></div>', 1)
|
|
1701
|
-
])])) : (l(), s("div",
|
|
1708
|
+
])])) : (l(), s("div", dn, [
|
|
1702
1709
|
t("div", {
|
|
1703
1710
|
class: x([{
|
|
1704
1711
|
"bg-lime-50 border-lime-400": e.type === "info",
|
|
@@ -1707,8 +1714,8 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1707
1714
|
"bg-green-50 border-green-600": e.type === "success"
|
|
1708
1715
|
}, "p-4 border-l-4 rounded-sm"])
|
|
1709
1716
|
}, [
|
|
1710
|
-
t("div",
|
|
1711
|
-
t("div",
|
|
1717
|
+
t("div", cn, [
|
|
1718
|
+
t("div", un, [
|
|
1712
1719
|
e.type === "info" ? (l(), w(f(At), {
|
|
1713
1720
|
key: 0,
|
|
1714
1721
|
class: "h-8 w-8 text-lime-400",
|
|
@@ -1730,7 +1737,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1730
1737
|
"aria-hidden": "true"
|
|
1731
1738
|
})) : b("", !0)
|
|
1732
1739
|
]),
|
|
1733
|
-
t("div",
|
|
1740
|
+
t("div", gn, [
|
|
1734
1741
|
t("h3", {
|
|
1735
1742
|
class: x([{
|
|
1736
1743
|
"text-red-800": e.type === "danger",
|
|
@@ -1747,8 +1754,8 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1747
1754
|
}, [
|
|
1748
1755
|
G(n.$slots, "default")
|
|
1749
1756
|
], 2),
|
|
1750
|
-
t("div",
|
|
1751
|
-
t("div",
|
|
1757
|
+
t("div", mn, [
|
|
1758
|
+
t("div", fn, [
|
|
1752
1759
|
(l(!0), s(k, null, S(e.actions, (a, d) => (l(), s("button", {
|
|
1753
1760
|
onClick: (c) => o(a),
|
|
1754
1761
|
type: "button",
|
|
@@ -1762,7 +1769,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1762
1769
|
},
|
|
1763
1770
|
"px-2 py-1.5 text-sm font-medium rounded-md focus:outline-hidden focus:ring-2 focus:ring-offset-2 underline"
|
|
1764
1771
|
])
|
|
1765
|
-
}, u(a.name), 11,
|
|
1772
|
+
}, u(a.name), 11, hn))), 128))
|
|
1766
1773
|
])
|
|
1767
1774
|
])
|
|
1768
1775
|
])
|
|
@@ -1770,13 +1777,13 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1770
1777
|
], 2)
|
|
1771
1778
|
]));
|
|
1772
1779
|
}
|
|
1773
|
-
}),
|
|
1780
|
+
}), vn = { class: "flex items-center flex-col sm:flex-row justify-center sm:justify-start" }, xn = ["src"], pn = { class: "font-bold text-center sm:text-left" }, wn = { class: "mt-1 text-xs text-center sm:text-left" }, kn = {
|
|
1774
1781
|
key: 0,
|
|
1775
1782
|
class: "flex flex-wrap mt-2 justify-center sm:justify-start"
|
|
1776
|
-
},
|
|
1783
|
+
}, $n = {
|
|
1777
1784
|
key: 1,
|
|
1778
1785
|
class: "rounded-lg bg-white shadow-sm p-6 cursor-pointer animate-pulse h-full flex flex-col"
|
|
1779
|
-
},
|
|
1786
|
+
}, Cn = /* @__PURE__ */ T({
|
|
1780
1787
|
__name: "uiCard",
|
|
1781
1788
|
props: {
|
|
1782
1789
|
id: {},
|
|
@@ -1788,24 +1795,24 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1788
1795
|
},
|
|
1789
1796
|
emits: ["cardSelected"],
|
|
1790
1797
|
setup(e, { emit: g }) {
|
|
1791
|
-
return (i, o) => e.loading ? (l(), s("div",
|
|
1798
|
+
return (i, o) => e.loading ? (l(), s("div", $n, [...o[1] || (o[1] = [
|
|
1792
1799
|
ee('<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)
|
|
1793
1800
|
])])) : (l(), s("div", {
|
|
1794
1801
|
key: 0,
|
|
1795
1802
|
class: "rounded-lg bg-white shadow-sm p-6 cursor-pointer h-full flex flex-col",
|
|
1796
1803
|
onClick: o[0] || (o[0] = (n) => i.$emit("cardSelected", { id: e.id, name: e.name, type: e.type, tags: e.tags }))
|
|
1797
1804
|
}, [
|
|
1798
|
-
t("div",
|
|
1805
|
+
t("div", vn, [
|
|
1799
1806
|
t("img", {
|
|
1800
1807
|
class: "w-16 h-16 rounded-full mb-4 sm:mb-0 sm:mr-4",
|
|
1801
1808
|
src: e.logo
|
|
1802
|
-
}, null, 8,
|
|
1809
|
+
}, null, 8, xn),
|
|
1803
1810
|
t("div", null, [
|
|
1804
|
-
t("h4",
|
|
1805
|
-
t("p",
|
|
1811
|
+
t("h4", pn, u(e.name), 1),
|
|
1812
|
+
t("p", wn, u(e.type), 1)
|
|
1806
1813
|
])
|
|
1807
1814
|
]),
|
|
1808
|
-
e.tags && e.tags?.length > 0 ? (l(), s("div",
|
|
1815
|
+
e.tags && e.tags?.length > 0 ? (l(), s("div", kn, [
|
|
1809
1816
|
(l(!0), s(k, null, S(e.tags, (n) => (l(), w(J, {
|
|
1810
1817
|
class: "mb-1 mr-1",
|
|
1811
1818
|
key: n.name,
|
|
@@ -1820,28 +1827,28 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1820
1827
|
])) : b("", !0)
|
|
1821
1828
|
]));
|
|
1822
1829
|
}
|
|
1823
|
-
}),
|
|
1830
|
+
}), Sn = {
|
|
1824
1831
|
key: 0,
|
|
1825
1832
|
class: "rounded-lg bg-white shadow-sm p-6 h-full flex flex-col"
|
|
1826
|
-
},
|
|
1833
|
+
}, Bn = { class: "flex items-center justify-between mb-4" }, Mn = { class: "flex items-center gap-3" }, zn = { class: "mb-4" }, jn = { class: "font-bold text-lg mb-1" }, An = {
|
|
1827
1834
|
key: 0,
|
|
1828
1835
|
class: "text-sm text-gray-500"
|
|
1829
|
-
},
|
|
1836
|
+
}, Tn = { class: "mb-4 relative" }, Dn = {
|
|
1830
1837
|
key: 0,
|
|
1831
1838
|
class: "w-full h-36 bg-gray-200 rounded-lg animate-pulse flex items-center justify-center"
|
|
1832
|
-
},
|
|
1839
|
+
}, Ln = ["src", "alt"], Pn = {
|
|
1833
1840
|
key: 1,
|
|
1834
1841
|
class: "absolute bottom-2 right-2 p-1.5 bg-white rounded-sm shadow-xs"
|
|
1835
|
-
},
|
|
1842
|
+
}, Fn = {
|
|
1836
1843
|
key: 0,
|
|
1837
1844
|
class: "text-sm text-gray-600 mb-4 line-clamp-3"
|
|
1838
|
-
},
|
|
1845
|
+
}, On = { class: "flex flex-col pt-4 border-t border-gray-200 mt-auto" }, In = {
|
|
1839
1846
|
key: 0,
|
|
1840
1847
|
class: "text-xs text-gray-500 mb-3"
|
|
1841
|
-
},
|
|
1848
|
+
}, _n = { class: "flex flex-col xl:flex-row xl:flex-wrap items-stretch xl:items-center gap-2" }, Vn = {
|
|
1842
1849
|
key: 1,
|
|
1843
1850
|
class: "rounded-lg bg-white shadow-sm p-6 animate-pulse h-full flex flex-col"
|
|
1844
|
-
},
|
|
1851
|
+
}, Nn = { class: "flex items-center justify-between mb-4" }, Rn = { class: "flex items-center gap-3" }, qn = { class: "flex flex-col pt-4 border-t border-gray-200 mt-auto" }, Hn = { class: "flex flex-col xl:flex-row xl:flex-wrap items-stretch xl:items-center gap-2" }, Yn = /* @__PURE__ */ T({
|
|
1845
1852
|
__name: "uiCardWithImage",
|
|
1846
1853
|
props: {
|
|
1847
1854
|
id: {},
|
|
@@ -1864,9 +1871,9 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1864
1871
|
const i = e, o = V(!0);
|
|
1865
1872
|
return Z(() => i.image, () => {
|
|
1866
1873
|
o.value = !0;
|
|
1867
|
-
}, { immediate: !0 }), (n, r) => e.loading ? (l(), s("div",
|
|
1868
|
-
t("div",
|
|
1869
|
-
t("div",
|
|
1874
|
+
}, { immediate: !0 }), (n, r) => e.loading ? (l(), s("div", Vn, [
|
|
1875
|
+
t("div", Nn, [
|
|
1876
|
+
t("div", Rn, [
|
|
1870
1877
|
r[6] || (r[6] = t("div", { class: "w-4 h-4 rounded-full bg-gray-200" }, null, -1)),
|
|
1871
1878
|
e.badge ? (l(), w(J, {
|
|
1872
1879
|
key: 0,
|
|
@@ -1877,9 +1884,9 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1877
1884
|
r[7] || (r[7] = t("div", { class: "w-4 h-4 rounded-full bg-gray-200" }, null, -1))
|
|
1878
1885
|
]),
|
|
1879
1886
|
r[9] || (r[9] = ee('<div class="mb-4"><div class="h-6 bg-gray-200 rounded-sm w-3/4 mb-2"></div><div class="h-4 bg-gray-200 rounded-sm w-1/2"></div></div><div class="mb-4"><div class="w-full h-48 bg-gray-200 rounded-lg"></div></div><div class="mb-4"><div class="h-4 bg-gray-200 rounded-sm w-full mb-2"></div><div class="h-4 bg-gray-200 rounded-sm w-5/6"></div></div>', 3)),
|
|
1880
|
-
t("div",
|
|
1887
|
+
t("div", qn, [
|
|
1881
1888
|
r[8] || (r[8] = t("div", { class: "h-3 bg-gray-200 rounded-sm w-24 mb-3" }, null, -1)),
|
|
1882
|
-
t("div",
|
|
1889
|
+
t("div", Hn, [
|
|
1883
1890
|
e.showActions ? (l(), w(U, {
|
|
1884
1891
|
key: 0,
|
|
1885
1892
|
icon: f(dt),
|
|
@@ -1909,9 +1916,9 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1909
1916
|
}, null, 8, ["icon"])) : b("", !0)
|
|
1910
1917
|
])
|
|
1911
1918
|
])
|
|
1912
|
-
])) : (l(), s("div",
|
|
1913
|
-
t("div",
|
|
1914
|
-
t("div",
|
|
1919
|
+
])) : (l(), s("div", Sn, [
|
|
1920
|
+
t("div", Bn, [
|
|
1921
|
+
t("div", Mn, [
|
|
1915
1922
|
m(P, {
|
|
1916
1923
|
icon: e.icon || f(Zl),
|
|
1917
1924
|
size: "medium",
|
|
@@ -1944,12 +1951,12 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1944
1951
|
}, null, 8, ["icon"])
|
|
1945
1952
|
])) : b("", !0)
|
|
1946
1953
|
]),
|
|
1947
|
-
t("div",
|
|
1948
|
-
t("h4",
|
|
1949
|
-
e.subtitle ? (l(), s("p",
|
|
1954
|
+
t("div", zn, [
|
|
1955
|
+
t("h4", jn, u(e.title), 1),
|
|
1956
|
+
e.subtitle ? (l(), s("p", An, u(e.subtitle), 1)) : b("", !0)
|
|
1950
1957
|
]),
|
|
1951
|
-
t("div",
|
|
1952
|
-
o.value ? (l(), s("div",
|
|
1958
|
+
t("div", Tn, [
|
|
1959
|
+
o.value ? (l(), s("div", Dn, [
|
|
1953
1960
|
m(P, {
|
|
1954
1961
|
icon: f(Xl),
|
|
1955
1962
|
size: "bigger",
|
|
@@ -1963,15 +1970,15 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
1963
1970
|
class: "w-full h-36 object-cover rounded-lg",
|
|
1964
1971
|
onLoad: r[1] || (r[1] = (a) => o.value = !1),
|
|
1965
1972
|
onError: r[2] || (r[2] = (a) => o.value = !1)
|
|
1966
|
-
}, null, 40,
|
|
1973
|
+
}, null, 40, Ln), [
|
|
1967
1974
|
[O, !o.value]
|
|
1968
1975
|
]),
|
|
1969
|
-
e.showImageOverlay && !o.value ? (l(), s("div",
|
|
1976
|
+
e.showImageOverlay && !o.value ? (l(), s("div", Pn)) : b("", !0)
|
|
1970
1977
|
]),
|
|
1971
|
-
e.bodyText ? (l(), s("p",
|
|
1972
|
-
t("div",
|
|
1973
|
-
e.updatedDate ? (l(), s("span",
|
|
1974
|
-
t("div",
|
|
1978
|
+
e.bodyText ? (l(), s("p", Fn, u(e.bodyText), 1)) : b("", !0),
|
|
1979
|
+
t("div", On, [
|
|
1980
|
+
e.updatedDate ? (l(), s("span", In, " Updated " + u(e.updatedDate), 1)) : b("", !0),
|
|
1981
|
+
t("div", _n, [
|
|
1975
1982
|
e.showActions ? (l(), w(U, {
|
|
1976
1983
|
key: 0,
|
|
1977
1984
|
onClick: r[3] || (r[3] = ne((a) => n.$emit("actionClick", { id: e.id, action: "edit" }), ["stop"])),
|
|
@@ -2021,7 +2028,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
2021
2028
|
])
|
|
2022
2029
|
]));
|
|
2023
2030
|
}
|
|
2024
|
-
}),
|
|
2031
|
+
}), En = /* @__PURE__ */ T({
|
|
2025
2032
|
__name: "uiFilter",
|
|
2026
2033
|
props: {
|
|
2027
2034
|
items: {},
|
|
@@ -2045,10 +2052,10 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
2045
2052
|
label: e.label
|
|
2046
2053
|
}, null, 8, ["loading", "position", "items", "label"]));
|
|
2047
2054
|
}
|
|
2048
|
-
}),
|
|
2055
|
+
}), Un = { class: "fixed inset-0 z-10 overflow-y-auto" }, Zn = { class: "flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0" }, Wn = { class: "absolute top-0 right-0 hidden pt-4 pr-4 sm:block" }, Gn = { class: "sm:flex sm:items-start" }, Jn = { class: "mt-3 text-center sm:mt-0 sm:ml-4 sm:text-left w-full wrap-break-word" }, Kn = { class: "mt-4 text-gray-500 text-sm" }, Qn = {
|
|
2049
2056
|
key: 0,
|
|
2050
2057
|
class: "mt-8"
|
|
2051
|
-
},
|
|
2058
|
+
}, Xn = ["onClick"], Pe = /* @__PURE__ */ T({
|
|
2052
2059
|
__name: "uiModal",
|
|
2053
2060
|
props: {
|
|
2054
2061
|
title: {},
|
|
@@ -2090,8 +2097,8 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
2090
2097
|
])]),
|
|
2091
2098
|
_: 1
|
|
2092
2099
|
}),
|
|
2093
|
-
t("div",
|
|
2094
|
-
t("div",
|
|
2100
|
+
t("div", Un, [
|
|
2101
|
+
t("div", Zn, [
|
|
2095
2102
|
m(f(ce), {
|
|
2096
2103
|
as: "template",
|
|
2097
2104
|
enter: "ease-out duration-300",
|
|
@@ -2109,7 +2116,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
2109
2116
|
}, "relative transform rounded-lg bg-white px-4 pb-4 pt-5 text-left shadow-xl transition-all"])
|
|
2110
2117
|
}, {
|
|
2111
2118
|
default: y(() => [
|
|
2112
|
-
t("div",
|
|
2119
|
+
t("div", Wn, [
|
|
2113
2120
|
t("button", {
|
|
2114
2121
|
type: "button",
|
|
2115
2122
|
class: "rounded-md bg-white text-gray-400 hover:text-gray-500 focus:outline-hidden",
|
|
@@ -2123,7 +2130,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
2123
2130
|
}, null, 8, ["icon", "loading"])
|
|
2124
2131
|
])
|
|
2125
2132
|
]),
|
|
2126
|
-
t("div",
|
|
2133
|
+
t("div", Gn, [
|
|
2127
2134
|
t("div", {
|
|
2128
2135
|
class: x(["mx-auto flex h-12 w-12 shrink-0 items-center justify-center rounded-full sm:mx-0 sm:h-10 sm:w-10", {
|
|
2129
2136
|
"bg-red-100": e.type === "danger",
|
|
@@ -2157,7 +2164,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
2157
2164
|
[O, e.type === "default"]
|
|
2158
2165
|
])
|
|
2159
2166
|
], 2),
|
|
2160
|
-
t("div",
|
|
2167
|
+
t("div", Jn, [
|
|
2161
2168
|
m(f(Ct), {
|
|
2162
2169
|
as: "h3",
|
|
2163
2170
|
class: "text-lg font-medium leading-6"
|
|
@@ -2167,16 +2174,16 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
2167
2174
|
]),
|
|
2168
2175
|
_: 1
|
|
2169
2176
|
}),
|
|
2170
|
-
t("div",
|
|
2177
|
+
t("div", Kn, [
|
|
2171
2178
|
G(r.$slots, "default", { class: "wrap-break-word" })
|
|
2172
2179
|
]),
|
|
2173
|
-
e.actions ? (l(), s("div",
|
|
2180
|
+
e.actions ? (l(), s("div", Qn, [
|
|
2174
2181
|
(l(!0), s(k, null, S(e.actions, (d, c) => (l(), s("button", {
|
|
2175
2182
|
key: c,
|
|
2176
2183
|
type: "button",
|
|
2177
2184
|
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-xs hover:bg-lime-400 hover:text-black focus:outline-hidden focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 mb-2 sm:mb-0 mr-2 sm:w-auto sm:text-sm",
|
|
2178
2185
|
onClick: (v) => n(d.value)
|
|
2179
|
-
}, u(d.name), 9,
|
|
2186
|
+
}, u(d.name), 9, Xn))), 128))
|
|
2180
2187
|
])) : b("", !0)
|
|
2181
2188
|
])
|
|
2182
2189
|
])
|
|
@@ -2195,10 +2202,10 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
2195
2202
|
_: 3
|
|
2196
2203
|
}, 8, ["show"]));
|
|
2197
2204
|
}
|
|
2198
|
-
}),
|
|
2205
|
+
}), ea = { class: "w-full flex flex-col items-center space-y-4 sm:items-end" }, ta = {
|
|
2199
2206
|
key: 0,
|
|
2200
2207
|
class: "max-w-sm w-full bg-white shadow-lg rounded-lg pointer-events-auto ring-1 ring-black/5 overflow-hidden"
|
|
2201
|
-
},
|
|
2208
|
+
}, la = { class: "p-4" }, sa = { class: "flex items-start" }, na = { class: "shrink-0 mt-0.5" }, aa = { class: "ml-3 w-0 flex-1 pt-0.5" }, oa = { class: "font-medium text-gray-900" }, ia = { class: "mt-1 text-sm text-gray-500" }, ra = { class: "ml-4 shrink-0 flex" }, da = /* @__PURE__ */ T({
|
|
2202
2209
|
__name: "uiNotification",
|
|
2203
2210
|
props: {
|
|
2204
2211
|
type: { default: "info" },
|
|
@@ -2214,7 +2221,7 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
2214
2221
|
"aria-live": "assertive",
|
|
2215
2222
|
class: x([{ fixed: e.fixed }, "inset-0 flex items-end px-4 py-6 pointer-events-none sm:p-6 sm:items-start z-9999"])
|
|
2216
2223
|
}, [
|
|
2217
|
-
t("div",
|
|
2224
|
+
t("div", ea, [
|
|
2218
2225
|
m(we, {
|
|
2219
2226
|
"enter-active-class": "transform ease-out duration-300 transition",
|
|
2220
2227
|
"enter-from-class": "translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-2",
|
|
@@ -2224,10 +2231,10 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
2224
2231
|
"leave-to-class": "opacity-0"
|
|
2225
2232
|
}, {
|
|
2226
2233
|
default: y(() => [
|
|
2227
|
-
o.value ? (l(), s("div",
|
|
2228
|
-
t("div",
|
|
2229
|
-
t("div",
|
|
2230
|
-
t("div",
|
|
2234
|
+
o.value ? (l(), s("div", ta, [
|
|
2235
|
+
t("div", la, [
|
|
2236
|
+
t("div", sa, [
|
|
2237
|
+
t("div", na, [
|
|
2231
2238
|
L(m(f(Mt), {
|
|
2232
2239
|
"aria-hidden": "true",
|
|
2233
2240
|
class: "h-6 w-6 text-green-600"
|
|
@@ -2253,11 +2260,11 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
2253
2260
|
[O, e.type === "info"]
|
|
2254
2261
|
])
|
|
2255
2262
|
]),
|
|
2256
|
-
t("div",
|
|
2257
|
-
t("p",
|
|
2258
|
-
t("p",
|
|
2263
|
+
t("div", aa, [
|
|
2264
|
+
t("p", oa, u(e.title), 1),
|
|
2265
|
+
t("p", ia, u(e.message), 1)
|
|
2259
2266
|
]),
|
|
2260
|
-
t("div",
|
|
2267
|
+
t("div", ra, [
|
|
2261
2268
|
t("button", {
|
|
2262
2269
|
class: "bg-white rounded-md inline-flex text-gray-400 hover:text-gray-500 focus:outline-hidden focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500",
|
|
2263
2270
|
type: "button",
|
|
@@ -2279,35 +2286,35 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
2279
2286
|
])
|
|
2280
2287
|
], 2));
|
|
2281
2288
|
}
|
|
2282
|
-
}),
|
|
2289
|
+
}), ca = {
|
|
2283
2290
|
key: 0,
|
|
2284
2291
|
role: "list",
|
|
2285
2292
|
class: "divide-y divide-gray-100"
|
|
2286
|
-
},
|
|
2293
|
+
}, ua = { class: "min-w-0" }, ga = { class: "flex items-start gap-x-3" }, ma = { class: "text-sm font-semibold leading-6 text-gray-900" }, fa = { class: "mt-1 flex items-center gap-x-2 text-xs leading-5 text-gray-500" }, ha = { class: "truncate" }, ya = { class: "flex flex-none items-center gap-x-4" }, ba = ["href"], va = { class: "sr-only" }, xa = {
|
|
2287
2294
|
key: 1,
|
|
2288
2295
|
class: "divide-y divide-gray-100 animate-pulse"
|
|
2289
|
-
},
|
|
2296
|
+
}, pa = /* @__PURE__ */ T({
|
|
2290
2297
|
__name: "uiTaskList",
|
|
2291
2298
|
props: {
|
|
2292
2299
|
tasks: {},
|
|
2293
2300
|
loading: { type: Boolean, default: !0 }
|
|
2294
2301
|
},
|
|
2295
2302
|
setup(e) {
|
|
2296
|
-
return (g, i) => e.loading ? (l(), s("ul",
|
|
2303
|
+
return (g, i) => e.loading ? (l(), s("ul", xa, [
|
|
2297
2304
|
(l(!0), s(k, null, S(e.tasks, (o) => (l(), s("li", {
|
|
2298
2305
|
key: o.id,
|
|
2299
2306
|
class: "flex items-center justify-between gap-x-6 py-5"
|
|
2300
2307
|
}, [...i[0] || (i[0] = [
|
|
2301
2308
|
ee('<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-xs 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)
|
|
2302
2309
|
])]))), 128))
|
|
2303
|
-
])) : (l(), s("ul",
|
|
2310
|
+
])) : (l(), s("ul", ca, [
|
|
2304
2311
|
(l(!0), s(k, null, S(e.tasks, (o) => (l(), s("li", {
|
|
2305
2312
|
key: o.id,
|
|
2306
2313
|
class: "flex items-center justify-between gap-x-6 py-5"
|
|
2307
2314
|
}, [
|
|
2308
|
-
t("div",
|
|
2309
|
-
t("div",
|
|
2310
|
-
t("p",
|
|
2315
|
+
t("div", ua, [
|
|
2316
|
+
t("div", ga, [
|
|
2317
|
+
t("p", ma, u(o.name), 1),
|
|
2311
2318
|
t("p", {
|
|
2312
2319
|
class: x([
|
|
2313
2320
|
{
|
|
@@ -2319,32 +2326,32 @@ const Ds = { class: "flex justify-between" }, Ls = {
|
|
|
2319
2326
|
])
|
|
2320
2327
|
}, u(o.statusLiteral), 3)
|
|
2321
2328
|
]),
|
|
2322
|
-
t("div",
|
|
2323
|
-
t("p",
|
|
2329
|
+
t("div", fa, [
|
|
2330
|
+
t("p", ha, u(o.description), 1)
|
|
2324
2331
|
])
|
|
2325
2332
|
]),
|
|
2326
|
-
t("div",
|
|
2333
|
+
t("div", ya, [
|
|
2327
2334
|
t("a", {
|
|
2328
2335
|
href: o.href,
|
|
2329
2336
|
class: "hidden rounded-md bg-white px-2.5 py-1.5 text-sm font-semibold text-gray-900 shadow-xs ring-1 ring-inset ring-gray-300 hover:bg-gray-50 sm:block"
|
|
2330
2337
|
}, [
|
|
2331
2338
|
B(u(o.action), 1),
|
|
2332
|
-
t("span",
|
|
2333
|
-
], 8,
|
|
2339
|
+
t("span", va, ", " + u(o.name), 1)
|
|
2340
|
+
], 8, ba)
|
|
2334
2341
|
])
|
|
2335
2342
|
]))), 128))
|
|
2336
2343
|
]));
|
|
2337
2344
|
}
|
|
2338
2345
|
});
|
|
2339
|
-
function
|
|
2346
|
+
function wa(e) {
|
|
2340
2347
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
2341
2348
|
}
|
|
2342
|
-
var ze = { exports: {} },
|
|
2343
|
-
function
|
|
2349
|
+
var ze = { exports: {} }, ka = ze.exports, ct;
|
|
2350
|
+
function $a() {
|
|
2344
2351
|
return ct || (ct = 1, (function(e, g) {
|
|
2345
2352
|
(function(i, o) {
|
|
2346
2353
|
e.exports = o(Y);
|
|
2347
|
-
})(
|
|
2354
|
+
})(ka, (function(i) {
|
|
2348
2355
|
function o(a) {
|
|
2349
2356
|
return a && typeof a == "object" && "default" in a ? a : { default: a };
|
|
2350
2357
|
}
|
|
@@ -2355,13 +2362,13 @@ function Sa() {
|
|
|
2355
2362
|
}));
|
|
2356
2363
|
})(ze)), ze.exports;
|
|
2357
2364
|
}
|
|
2358
|
-
|
|
2359
|
-
var je = { exports: {} },
|
|
2360
|
-
function
|
|
2365
|
+
$a();
|
|
2366
|
+
var je = { exports: {} }, Ca = je.exports, ut;
|
|
2367
|
+
function Sa() {
|
|
2361
2368
|
return ut || (ut = 1, (function(e, g) {
|
|
2362
2369
|
(function(i, o) {
|
|
2363
2370
|
e.exports = o(Y);
|
|
2364
|
-
})(
|
|
2371
|
+
})(Ca, (function(i) {
|
|
2365
2372
|
function o(c) {
|
|
2366
2373
|
return c && typeof c == "object" && "default" in c ? c : { default: c };
|
|
2367
2374
|
}
|
|
@@ -2377,13 +2384,13 @@ function Ma() {
|
|
|
2377
2384
|
}));
|
|
2378
2385
|
})(je)), je.exports;
|
|
2379
2386
|
}
|
|
2380
|
-
|
|
2381
|
-
var Ae = { exports: {} },
|
|
2382
|
-
function
|
|
2387
|
+
Sa();
|
|
2388
|
+
var Ae = { exports: {} }, Ba = Ae.exports, gt;
|
|
2389
|
+
function Ma() {
|
|
2383
2390
|
return gt || (gt = 1, (function(e, g) {
|
|
2384
2391
|
(function(i, o) {
|
|
2385
2392
|
e.exports = o();
|
|
2386
|
-
})(
|
|
2393
|
+
})(Ba, (function() {
|
|
2387
2394
|
return { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(i) {
|
|
2388
2395
|
var o = ["th", "st", "nd", "rd"], n = i % 100;
|
|
2389
2396
|
return "[" + i + (o[(n - 20) % 10] || o[n] || o[0]) + "]";
|
|
@@ -2391,13 +2398,13 @@ function ja() {
|
|
|
2391
2398
|
}));
|
|
2392
2399
|
})(Ae)), Ae.exports;
|
|
2393
2400
|
}
|
|
2394
|
-
|
|
2395
|
-
var Te = { exports: {} },
|
|
2396
|
-
function
|
|
2401
|
+
Ma();
|
|
2402
|
+
var Te = { exports: {} }, za = Te.exports, mt;
|
|
2403
|
+
function ja() {
|
|
2397
2404
|
return mt || (mt = 1, (function(e, g) {
|
|
2398
2405
|
(function(i, o) {
|
|
2399
2406
|
e.exports = o(Y);
|
|
2400
|
-
})(
|
|
2407
|
+
})(za, (function(i) {
|
|
2401
2408
|
function o(a) {
|
|
2402
2409
|
return a && typeof a == "object" && "default" in a ? a : { default: a };
|
|
2403
2410
|
}
|
|
@@ -2408,13 +2415,13 @@ function Ta() {
|
|
|
2408
2415
|
}));
|
|
2409
2416
|
})(Te)), Te.exports;
|
|
2410
2417
|
}
|
|
2411
|
-
|
|
2418
|
+
ja();
|
|
2412
2419
|
const Ce = (e, g) => {
|
|
2413
2420
|
const i = e.__vccOpts || e;
|
|
2414
2421
|
for (const [o, n] of g)
|
|
2415
2422
|
i[o] = n;
|
|
2416
2423
|
return i;
|
|
2417
|
-
},
|
|
2424
|
+
}, Aa = {
|
|
2418
2425
|
name: "dateSelector",
|
|
2419
2426
|
components: { ChevronLeftIcon: zt, ChevronRightIcon: $e },
|
|
2420
2427
|
computed: {
|
|
@@ -2444,11 +2451,11 @@ const Ce = (e, g) => {
|
|
|
2444
2451
|
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
2452
|
}
|
|
2446
2453
|
}
|
|
2447
|
-
},
|
|
2448
|
-
function
|
|
2454
|
+
}, Ta = { class: "dateSelector flex items-center flex-row" }, Da = { class: "pagination flex items-center my-1 md:my-0" }, La = { class: "date mx-4 font-bold text-center text-black select-none uppercase" }, Pa = { class: "pagination flex items-center my-1 sm:my-0" };
|
|
2455
|
+
function Fa(e, g, i, o, n, r) {
|
|
2449
2456
|
const a = it("ChevronLeftIcon"), d = it("ChevronRightIcon");
|
|
2450
|
-
return l(), s("div",
|
|
2451
|
-
t("div",
|
|
2457
|
+
return l(), s("div", Ta, [
|
|
2458
|
+
t("div", Da, [
|
|
2452
2459
|
t("div", {
|
|
2453
2460
|
class: x([{
|
|
2454
2461
|
"bg-lime-400 text-black hover:text-white hover:bg-black cursor-pointer": r.currentDate > r.today,
|
|
@@ -2480,8 +2487,8 @@ function _a(e, g, i, o, n, r) {
|
|
|
2480
2487
|
m(a, { class: "h-4" })
|
|
2481
2488
|
], 2)
|
|
2482
2489
|
]),
|
|
2483
|
-
t("div",
|
|
2484
|
-
t("div",
|
|
2490
|
+
t("div", La, u(r.formatedDate), 1),
|
|
2491
|
+
t("div", Pa, [
|
|
2485
2492
|
t("div", {
|
|
2486
2493
|
class: "previousDay flex items-center cursor-pointer p-1 rounded-sm mx-0.5 shadow-xs bg-lime-400 text-black hover:text-white hover:bg-black",
|
|
2487
2494
|
onClick: g[3] || (g[3] = (c) => r.selectDate("day", "next"))
|
|
@@ -2506,16 +2513,16 @@ function _a(e, g, i, o, n, r) {
|
|
|
2506
2513
|
])
|
|
2507
2514
|
]);
|
|
2508
2515
|
}
|
|
2509
|
-
const
|
|
2516
|
+
const Oa = /* @__PURE__ */ Ce(Aa, [["render", Fa]]), Ia = {
|
|
2510
2517
|
name: "SkeletonTable"
|
|
2511
|
-
},
|
|
2512
|
-
function
|
|
2513
|
-
return l(), s("div",
|
|
2514
|
-
t("div",
|
|
2515
|
-
t("div",
|
|
2516
|
-
t("div",
|
|
2517
|
-
t("div",
|
|
2518
|
-
t("table",
|
|
2518
|
+
}, _a = { class: "px-4 sm:px-6 lg:px-8 animate-pulse" }, Va = { class: "flow-root" }, Na = { class: "-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8" }, Ra = { class: "inline-block min-w-full py-2 align-middle px-1" }, qa = { class: "overflow-hidden shadow-sm ring-1 ring-black/5 sm:rounded-lg" }, Ha = { class: "min-w-full divide-y divide-gray-300" }, Ya = { class: "divide-y divide-gray-200 bg-white" };
|
|
2519
|
+
function Ea(e, g, i, o, n, r) {
|
|
2520
|
+
return l(), s("div", _a, [
|
|
2521
|
+
t("div", Va, [
|
|
2522
|
+
t("div", Na, [
|
|
2523
|
+
t("div", Ra, [
|
|
2524
|
+
t("div", qa, [
|
|
2525
|
+
t("table", Ha, [
|
|
2519
2526
|
g[1] || (g[1] = t("thead", { class: "bg-gray-50" }, [
|
|
2520
2527
|
t("tr", null, [
|
|
2521
2528
|
t("th", {
|
|
@@ -2552,7 +2559,7 @@ function Za(e, g, i, o, n, r) {
|
|
|
2552
2559
|
])
|
|
2553
2560
|
])
|
|
2554
2561
|
], -1)),
|
|
2555
|
-
t("tbody",
|
|
2562
|
+
t("tbody", Ya, [
|
|
2556
2563
|
(l(), s(k, null, S(10, (a) => t("tr", { key: a }, [...g[0] || (g[0] = [
|
|
2557
2564
|
t("td", { class: "whitespace-nowrap py-4 pl-4 pr-3 text-sm font-medium text-gray-900 sm:pl-6" }, [
|
|
2558
2565
|
t("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-6" })
|
|
@@ -2578,13 +2585,13 @@ function Za(e, g, i, o, n, r) {
|
|
|
2578
2585
|
])
|
|
2579
2586
|
]);
|
|
2580
2587
|
}
|
|
2581
|
-
const Lt = /* @__PURE__ */ Ce(
|
|
2582
|
-
var De = { exports: {} },
|
|
2583
|
-
function
|
|
2588
|
+
const Lt = /* @__PURE__ */ Ce(Ia, [["render", Ea]]);
|
|
2589
|
+
var De = { exports: {} }, Ua = De.exports, ft;
|
|
2590
|
+
function Za() {
|
|
2584
2591
|
return ft || (ft = 1, (function(e, g) {
|
|
2585
2592
|
(function(i, o) {
|
|
2586
2593
|
e.exports = o();
|
|
2587
|
-
})(
|
|
2594
|
+
})(Ua, (function() {
|
|
2588
2595
|
return function(i, o, n) {
|
|
2589
2596
|
o.prototype.isToday = function() {
|
|
2590
2597
|
var r = "YYYY-MM-DD", a = n();
|
|
@@ -2594,15 +2601,15 @@ function Ga() {
|
|
|
2594
2601
|
}));
|
|
2595
2602
|
})(De)), De.exports;
|
|
2596
2603
|
}
|
|
2597
|
-
var
|
|
2598
|
-
const
|
|
2604
|
+
var Wa = Za();
|
|
2605
|
+
const Ga = /* @__PURE__ */ wa(Wa), Ja = {
|
|
2599
2606
|
name: "calendarDay",
|
|
2600
2607
|
props: {
|
|
2601
2608
|
day: Object
|
|
2602
2609
|
},
|
|
2603
2610
|
computed: {
|
|
2604
2611
|
currentDay() {
|
|
2605
|
-
return Y.extend(
|
|
2612
|
+
return Y.extend(Ga), {
|
|
2606
2613
|
dayName: Y(this.day).locale("es").format("ddd"),
|
|
2607
2614
|
day: Y(this.day).locale("es").format("DD"),
|
|
2608
2615
|
month: Y(this.day).locale("es").format("MMM."),
|
|
@@ -2611,8 +2618,8 @@ const Ka = /* @__PURE__ */ $a(Ja), Qa = {
|
|
|
2611
2618
|
};
|
|
2612
2619
|
}
|
|
2613
2620
|
}
|
|
2614
|
-
},
|
|
2615
|
-
function
|
|
2621
|
+
}, Ka = { class: "text-xs" }, Qa = { class: "font-bold text-lg" }, Xa = { class: "text-xs font-medium" };
|
|
2622
|
+
function eo(e, g, i, o, n, r) {
|
|
2616
2623
|
return l(), s("div", {
|
|
2617
2624
|
class: x([
|
|
2618
2625
|
"day select-none text-center",
|
|
@@ -2622,12 +2629,12 @@ function lo(e, g, i, o, n, r) {
|
|
|
2622
2629
|
}
|
|
2623
2630
|
])
|
|
2624
2631
|
}, [
|
|
2625
|
-
t("p",
|
|
2626
|
-
t("p",
|
|
2627
|
-
t("p",
|
|
2632
|
+
t("p", Ka, u(r.currentDay.dayName), 1),
|
|
2633
|
+
t("p", Qa, u(r.currentDay.day), 1),
|
|
2634
|
+
t("p", Xa, u(r.currentDay.month), 1)
|
|
2628
2635
|
], 2);
|
|
2629
2636
|
}
|
|
2630
|
-
const
|
|
2637
|
+
const to = /* @__PURE__ */ Ce(Ja, [["render", eo]]), lo = {
|
|
2631
2638
|
name: "dayPrice",
|
|
2632
2639
|
props: {
|
|
2633
2640
|
currency: String,
|
|
@@ -2646,9 +2653,9 @@ const so = /* @__PURE__ */ Ce(Qa, [["render", lo]]), no = {
|
|
|
2646
2653
|
};
|
|
2647
2654
|
}
|
|
2648
2655
|
}
|
|
2649
|
-
},
|
|
2650
|
-
function
|
|
2651
|
-
return l(), s("div",
|
|
2656
|
+
}, so = { class: "priceDay" }, no = { class: "whitespace-nowrap" };
|
|
2657
|
+
function ao(e, g, i, o, n, r) {
|
|
2658
|
+
return l(), s("div", so, [
|
|
2652
2659
|
t("div", {
|
|
2653
2660
|
class: x([
|
|
2654
2661
|
{
|
|
@@ -2661,23 +2668,23 @@ function io(e, g, i, o, n, r) {
|
|
|
2661
2668
|
"select-none text-center rounded-lg p-1"
|
|
2662
2669
|
])
|
|
2663
2670
|
}, [
|
|
2664
|
-
t("span",
|
|
2671
|
+
t("span", no, u(r.currentDay.price) + " " + u(i.currency), 1)
|
|
2665
2672
|
], 2)
|
|
2666
2673
|
]);
|
|
2667
2674
|
}
|
|
2668
|
-
const Me = /* @__PURE__ */ Ce(
|
|
2675
|
+
const Me = /* @__PURE__ */ Ce(lo, [["render", ao]]), oo = {
|
|
2669
2676
|
key: 0,
|
|
2670
2677
|
class: "py-6 flex items-center justify-between"
|
|
2671
|
-
},
|
|
2678
|
+
}, io = { class: "flex-1 flex justify-between sm:hidden" }, ro = {
|
|
2672
2679
|
href: "#",
|
|
2673
2680
|
class: "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"
|
|
2674
|
-
},
|
|
2681
|
+
}, co = {
|
|
2675
2682
|
href: "#",
|
|
2676
2683
|
class: "ml-3 relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50"
|
|
2677
|
-
},
|
|
2684
|
+
}, uo = { class: "hidden sm:flex-1 sm:flex sm:items-center sm:justify-between" }, go = { class: "text-sm text-gray-700" }, mo = { class: "font-bold mx-1" }, fo = { class: "font-bold mx-1" }, ho = { class: "font-bold mx-1" }, yo = {
|
|
2678
2685
|
class: "relative z-0 inline-flex rounded-md shadow-xs -space-x-px",
|
|
2679
2686
|
"aria-label": "Pagination"
|
|
2680
|
-
},
|
|
2687
|
+
}, bo = { class: "sr-only" }, vo = ["onClick"], xo = { class: "sr-only" }, po = {
|
|
2681
2688
|
key: 1,
|
|
2682
2689
|
class: "py-6 flex flex-row justify-between items-center animate-pulse"
|
|
2683
2690
|
}, Pt = /* @__PURE__ */ T({
|
|
@@ -2700,39 +2707,39 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
2700
2707
|
c.push(v);
|
|
2701
2708
|
return c;
|
|
2702
2709
|
});
|
|
2703
|
-
return (c, v) => e.loading ? (l(), s("div",
|
|
2710
|
+
return (c, v) => e.loading ? (l(), s("div", po, [...v[3] || (v[3] = [
|
|
2704
2711
|
t("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/5" }, null, -1),
|
|
2705
2712
|
t("div", { class: "h-10 w-32 bg-gray-200 rounded-sm dark:bg-gray-300" }, null, -1)
|
|
2706
|
-
])])) : (l(), s("div",
|
|
2707
|
-
t("div",
|
|
2708
|
-
t("a",
|
|
2713
|
+
])])) : (l(), s("div", oo, [
|
|
2714
|
+
t("div", io, [
|
|
2715
|
+
t("a", ro, [
|
|
2709
2716
|
G(c.$slots, "previous")
|
|
2710
2717
|
]),
|
|
2711
|
-
t("a",
|
|
2718
|
+
t("a", co, [
|
|
2712
2719
|
G(c.$slots, "next")
|
|
2713
2720
|
])
|
|
2714
2721
|
]),
|
|
2715
|
-
t("div",
|
|
2722
|
+
t("div", uo, [
|
|
2716
2723
|
t("div", null, [
|
|
2717
|
-
t("p",
|
|
2724
|
+
t("p", go, [
|
|
2718
2725
|
G(c.$slots, "showing"),
|
|
2719
|
-
t("span",
|
|
2726
|
+
t("span", mo, u(e.current), 1),
|
|
2720
2727
|
G(c.$slots, "of"),
|
|
2721
|
-
t("span",
|
|
2728
|
+
t("span", fo, u(e.total), 1),
|
|
2722
2729
|
G(c.$slots, "pages"),
|
|
2723
2730
|
v[2] || (v[2] = t("span", { class: "font-bold mx-1" }, "/", -1)),
|
|
2724
2731
|
G(c.$slots, "fromTotal"),
|
|
2725
|
-
t("span",
|
|
2732
|
+
t("span", ho, u(e.totalItems), 1)
|
|
2726
2733
|
])
|
|
2727
2734
|
]),
|
|
2728
2735
|
t("div", null, [
|
|
2729
|
-
t("nav",
|
|
2736
|
+
t("nav", yo, [
|
|
2730
2737
|
L(t("button", {
|
|
2731
2738
|
ref: "test-first-button",
|
|
2732
2739
|
onClick: v[0] || (v[0] = (p) => i("changePage", e.current - 1)),
|
|
2733
2740
|
class: "relative inline-flex items-center px-2 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50"
|
|
2734
2741
|
}, [
|
|
2735
|
-
t("span",
|
|
2742
|
+
t("span", bo, [
|
|
2736
2743
|
G(c.$slots, "previous")
|
|
2737
2744
|
]),
|
|
2738
2745
|
m(f(zt), {
|
|
@@ -2749,13 +2756,13 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
2749
2756
|
class: x([[
|
|
2750
2757
|
p === e.current ? "z-10 bg-lime-50 border-lime-400 text-black" : "bg-white border-gray-300 text-gray-500 hover:bg-gray-50"
|
|
2751
2758
|
], "relative inline-flex items-center px-4 py-2 border text-sm font-medium"])
|
|
2752
|
-
}, u(p), 11,
|
|
2759
|
+
}, u(p), 11, vo))), 128)),
|
|
2753
2760
|
L(t("button", {
|
|
2754
2761
|
ref: "test-last-button",
|
|
2755
2762
|
onClick: v[1] || (v[1] = (p) => i("changePage", e.current + 1)),
|
|
2756
2763
|
class: "relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50"
|
|
2757
2764
|
}, [
|
|
2758
|
-
t("span",
|
|
2765
|
+
t("span", xo, [
|
|
2759
2766
|
G(c.$slots, "next")
|
|
2760
2767
|
]),
|
|
2761
2768
|
m(f($e), {
|
|
@@ -2770,61 +2777,61 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
2770
2777
|
])
|
|
2771
2778
|
]));
|
|
2772
2779
|
}
|
|
2773
|
-
}),
|
|
2780
|
+
}), wo = {
|
|
2774
2781
|
key: 0,
|
|
2775
2782
|
class: "px-4 sm:px-6 lg:px-8"
|
|
2776
|
-
},
|
|
2783
|
+
}, ko = { class: "flow-root" }, $o = { class: "overflow-x-auto sm:-mx-6 lg:-mx-8 shadow-sm ring-1 ring-black/5 sm:rounded-lg" }, Co = { class: "inline-block min-w-full align-middle" }, So = { class: "min-w-full text-sm" }, Bo = { class: "bg-white" }, Mo = {
|
|
2777
2784
|
colspan: "6",
|
|
2778
2785
|
scope: "colgroup",
|
|
2779
2786
|
class: "bg-gray-50 py-2 pl-4 pr-3 text-left text-sm font-semibold sm:pl-3"
|
|
2780
|
-
},
|
|
2787
|
+
}, zo = {
|
|
2781
2788
|
colspan: "20",
|
|
2782
2789
|
scope: "colgroup",
|
|
2783
2790
|
class: "bg-gray-200 py-2 pl-4 pr-3 text-left font-semibold"
|
|
2784
|
-
},
|
|
2791
|
+
}, jo = { key: 0 }, Ao = {
|
|
2785
2792
|
colspan: "6",
|
|
2786
2793
|
class: "pl-4"
|
|
2787
|
-
},
|
|
2794
|
+
}, To = { key: 1 }, Do = {
|
|
2788
2795
|
colspan: "6",
|
|
2789
2796
|
class: "pl-4"
|
|
2790
|
-
},
|
|
2797
|
+
}, Lo = { key: 2 }, Po = {
|
|
2791
2798
|
colspan: "6",
|
|
2792
2799
|
class: "pl-4"
|
|
2793
|
-
},
|
|
2800
|
+
}, Fo = {
|
|
2794
2801
|
colspan: "20",
|
|
2795
2802
|
scope: "colgroup",
|
|
2796
2803
|
class: "bg-gray-200 py-2 pl-4 pr-3 text-left font-semibold relative"
|
|
2797
|
-
},
|
|
2804
|
+
}, Oo = {
|
|
2798
2805
|
key: 0,
|
|
2799
2806
|
class: "absolute top-0 left-12 flex h-12 items-center space-x-3 sm:left-48 bg-white shadow-sm rounded-sm px-4 py-1 z-10"
|
|
2800
|
-
},
|
|
2807
|
+
}, Io = ["onClick"], _o = {
|
|
2801
2808
|
colspan: "2",
|
|
2802
2809
|
scope: "colgroup",
|
|
2803
2810
|
class: "relative bg-gray-100 py-3.5 pl-4 pr-3 text-left font-semibold"
|
|
2804
|
-
},
|
|
2811
|
+
}, Vo = ["checked", "indeterminate"], No = { class: "pl-6" }, Ro = {
|
|
2805
2812
|
colspan: "2",
|
|
2806
2813
|
scope: "colgroup",
|
|
2807
2814
|
class: "bg-gray-100 py-2 pl-4 pr-3 text-left font-semibold"
|
|
2808
|
-
},
|
|
2815
|
+
}, qo = {
|
|
2809
2816
|
colspan: "2",
|
|
2810
2817
|
scope: "colgroup",
|
|
2811
2818
|
class: "bg-gray-100 py-2 pl-4 pr-3 text-left font-semibold"
|
|
2812
|
-
},
|
|
2819
|
+
}, Ho = {
|
|
2813
2820
|
colspan: "2",
|
|
2814
2821
|
class: "relative py-3.5 pl-4 pr-3 text-left text-sm font-semibold sm:pl-6"
|
|
2815
|
-
},
|
|
2822
|
+
}, Yo = {
|
|
2816
2823
|
key: 0,
|
|
2817
2824
|
class: "absolute inset-y-0 left-0 w-0.5 bg-lime-400"
|
|
2818
|
-
},
|
|
2825
|
+
}, Eo = ["value"], Uo = { class: "pl-6" }, Zo = {
|
|
2819
2826
|
colspan: "2",
|
|
2820
2827
|
class: "pl-4"
|
|
2821
|
-
},
|
|
2828
|
+
}, Wo = {
|
|
2822
2829
|
colspan: "2",
|
|
2823
2830
|
class: "pl-4"
|
|
2824
|
-
},
|
|
2831
|
+
}, Go = {
|
|
2825
2832
|
key: 1,
|
|
2826
2833
|
class: "flex flex-row justify-between items-center mt-4"
|
|
2827
|
-
},
|
|
2834
|
+
}, Jo = { key: 0 }, Ko = /* @__PURE__ */ T({
|
|
2828
2835
|
__name: "uiPriceCalendar",
|
|
2829
2836
|
props: {
|
|
2830
2837
|
loading: { type: Boolean },
|
|
@@ -2865,42 +2872,42 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
2865
2872
|
})) : []), E = ($) => {
|
|
2866
2873
|
Y($).isBefore(n.value) || (r.value = $, o("dateChanged", r.value));
|
|
2867
2874
|
}, M = ($) => {
|
|
2868
|
-
let F = i.category.selectionPrices.find((
|
|
2875
|
+
let F = i.category.selectionPrices.find((_) => Y(_.date).isSame($.date));
|
|
2869
2876
|
return F ? F.price : $.price;
|
|
2870
2877
|
}, R = ($) => {
|
|
2871
2878
|
a.value = $.target.checked ? i.rooms.map((F) => F.id) : [];
|
|
2872
|
-
}, K = () => o("changeCategoryBulkPrices"), re = ($) => o("changeCategorySelectionPrice", $), me = ($) => o("changeCategoryUpgradePrice", $), fe = ($) => o("tableAction", $), j = ($, F,
|
|
2879
|
+
}, K = () => o("changeCategoryBulkPrices"), re = ($) => o("changeCategorySelectionPrice", $), me = ($) => o("changeCategoryUpgradePrice", $), fe = ($) => o("tableAction", $), j = ($, F, _) => o("changeRoomPrice", { price: $, roomId: F, roomName: _ }), q = ($) => {
|
|
2873
2880
|
o("changePage", $);
|
|
2874
2881
|
}, H = ($) => {
|
|
2875
2882
|
o("changePageSize", $.value);
|
|
2876
2883
|
};
|
|
2877
2884
|
return ($, F) => (l(), s(k, null, [
|
|
2878
|
-
e.loading ? b("", !0) : (l(), s("div",
|
|
2879
|
-
t("div",
|
|
2880
|
-
t("div",
|
|
2881
|
-
t("div",
|
|
2882
|
-
t("table",
|
|
2883
|
-
t("tbody",
|
|
2885
|
+
e.loading ? b("", !0) : (l(), s("div", wo, [
|
|
2886
|
+
t("div", ko, [
|
|
2887
|
+
t("div", $o, [
|
|
2888
|
+
t("div", Co, [
|
|
2889
|
+
t("table", So, [
|
|
2890
|
+
t("tbody", Bo, [
|
|
2884
2891
|
t("tr", null, [
|
|
2885
|
-
t("th",
|
|
2886
|
-
m(
|
|
2892
|
+
t("th", Mo, [
|
|
2893
|
+
m(Oa, {
|
|
2887
2894
|
selectedDate: r.value,
|
|
2888
|
-
onDateSelected: F[0] || (F[0] = (
|
|
2895
|
+
onDateSelected: F[0] || (F[0] = (_) => E(_))
|
|
2889
2896
|
}, null, 8, ["selectedDate"])
|
|
2890
2897
|
]),
|
|
2891
|
-
(l(!0), s(k, null, S(d.value, (
|
|
2898
|
+
(l(!0), s(k, null, S(d.value, (_, W) => (l(), s("th", {
|
|
2892
2899
|
scope: "col",
|
|
2893
2900
|
key: W,
|
|
2894
2901
|
class: "text-sm font-semibold p-0"
|
|
2895
2902
|
}, [
|
|
2896
|
-
m(
|
|
2903
|
+
m(to, {
|
|
2897
2904
|
class: "border-l border-gray-200 px-6 py-3",
|
|
2898
|
-
day:
|
|
2905
|
+
day: _
|
|
2899
2906
|
}, null, 8, ["day"])
|
|
2900
2907
|
]))), 128))
|
|
2901
2908
|
]),
|
|
2902
2909
|
t("tr", null, [
|
|
2903
|
-
t("th",
|
|
2910
|
+
t("th", zo, [
|
|
2904
2911
|
t("span", null, u(e.literals.category) + " " + u(e.category.name), 1),
|
|
2905
2912
|
m(U, {
|
|
2906
2913
|
loading: e.loading,
|
|
@@ -2915,107 +2922,107 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
2915
2922
|
}, 8, ["loading"])
|
|
2916
2923
|
])
|
|
2917
2924
|
]),
|
|
2918
|
-
e.type === "discounts" ? (l(), s("tr",
|
|
2919
|
-
t("td",
|
|
2920
|
-
(l(!0), s(k, null, S(e.category.selectionPrices, (
|
|
2925
|
+
e.type === "discounts" ? (l(), s("tr", jo, [
|
|
2926
|
+
t("td", Ao, u(e.literals.pricesDiscount), 1),
|
|
2927
|
+
(l(!0), s(k, null, S(e.category.selectionPrices, (_, W) => (l(), s("td", {
|
|
2921
2928
|
key: W,
|
|
2922
2929
|
class: "p-0"
|
|
2923
2930
|
}, [
|
|
2924
2931
|
m(Me, {
|
|
2925
|
-
onClick: (le) => re(
|
|
2932
|
+
onClick: (le) => re(_),
|
|
2926
2933
|
class: "border-l border-gray-200 px-6 py-3 text-black hover:text-lime-400 font-bold cursor-pointer",
|
|
2927
|
-
price:
|
|
2934
|
+
price: _,
|
|
2928
2935
|
currency: e.currency.symbol,
|
|
2929
2936
|
isBasePrice: !0
|
|
2930
2937
|
}, null, 8, ["onClick", "price", "currency"])
|
|
2931
2938
|
]))), 128))
|
|
2932
2939
|
])) : b("", !0),
|
|
2933
|
-
e.type === "prices" ? (l(), s("tr",
|
|
2934
|
-
t("td",
|
|
2935
|
-
(l(!0), s(k, null, S(e.category.selectionPrices, (
|
|
2940
|
+
e.type === "prices" ? (l(), s("tr", To, [
|
|
2941
|
+
t("td", Do, u(e.literals.pricesSelection), 1),
|
|
2942
|
+
(l(!0), s(k, null, S(e.category.selectionPrices, (_, W) => (l(), s("td", {
|
|
2936
2943
|
key: W,
|
|
2937
2944
|
class: "p-0"
|
|
2938
2945
|
}, [
|
|
2939
2946
|
m(Me, {
|
|
2940
|
-
onClick: (le) => re(
|
|
2947
|
+
onClick: (le) => re(_),
|
|
2941
2948
|
class: "border-l border-gray-200 px-6 py-3 text-black hover:text-lime-400 font-bold cursor-pointer",
|
|
2942
|
-
price:
|
|
2949
|
+
price: _,
|
|
2943
2950
|
currency: e.currency.symbol,
|
|
2944
2951
|
isBasePrice: !0
|
|
2945
2952
|
}, null, 8, ["onClick", "price", "currency"])
|
|
2946
2953
|
]))), 128))
|
|
2947
2954
|
])) : b("", !0),
|
|
2948
|
-
e.type === "prices" ? (l(), s("tr",
|
|
2949
|
-
t("td",
|
|
2950
|
-
(l(!0), s(k, null, S(e.category.upgradePrices, (
|
|
2955
|
+
e.type === "prices" ? (l(), s("tr", Lo, [
|
|
2956
|
+
t("td", Po, u(e.literals.pricesUpgrade), 1),
|
|
2957
|
+
(l(!0), s(k, null, S(e.category.upgradePrices, (_, W) => (l(), s("td", {
|
|
2951
2958
|
key: W,
|
|
2952
2959
|
class: "p-0"
|
|
2953
2960
|
}, [
|
|
2954
2961
|
m(Me, {
|
|
2955
|
-
onClick: (le) => me(
|
|
2962
|
+
onClick: (le) => me(_),
|
|
2956
2963
|
class: "border-l border-gray-200 px-6 py-3 text-black hover:text-lime-400 font-bold cursor-pointer bg-gray-100",
|
|
2957
|
-
price:
|
|
2964
|
+
price: _,
|
|
2958
2965
|
currency: e.currency.symbol,
|
|
2959
2966
|
isBasePrice: !0
|
|
2960
2967
|
}, null, 8, ["onClick", "price", "currency"])
|
|
2961
2968
|
]))), 128))
|
|
2962
2969
|
])) : b("", !0),
|
|
2963
2970
|
t("tr", null, [
|
|
2964
|
-
t("th",
|
|
2965
|
-
a.value?.length > 0 && e.actions?.length > 0 ? (l(), s("div",
|
|
2966
|
-
(l(!0), s(k, null, S(e.actions, (
|
|
2967
|
-
onClick: (le) => fe({ action:
|
|
2971
|
+
t("th", Fo, [
|
|
2972
|
+
a.value?.length > 0 && e.actions?.length > 0 ? (l(), s("div", Oo, [
|
|
2973
|
+
(l(!0), s(k, null, S(e.actions, (_, W) => (l(), s("button", {
|
|
2974
|
+
onClick: (le) => fe({ action: _.id, items: a.value }),
|
|
2968
2975
|
key: W,
|
|
2969
2976
|
type: "button",
|
|
2970
2977
|
class: "inline-flex items-center rounded-sm bg-lime-400 hover:bg-black hover:text-white px-2.5 py-1.5 text-xs font-medium shadow-xs disabled:cursor-not-allowed disabled:opacity-30"
|
|
2971
|
-
}, u(
|
|
2978
|
+
}, u(_.name), 9, Io))), 128))
|
|
2972
2979
|
])) : b("", !0),
|
|
2973
2980
|
t("span", null, u(e.literals.pricesSelection), 1)
|
|
2974
2981
|
])
|
|
2975
2982
|
]),
|
|
2976
2983
|
t("tr", null, [
|
|
2977
|
-
t("th",
|
|
2984
|
+
t("th", _o, [
|
|
2978
2985
|
t("input", {
|
|
2979
2986
|
type: "checkbox",
|
|
2980
2987
|
class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded-sm border-gray-300 text-lime-400 focus:ring-lime-400",
|
|
2981
2988
|
checked: c.value || a.value.length === e.rooms.length,
|
|
2982
2989
|
indeterminate: c.value,
|
|
2983
2990
|
onChange: R
|
|
2984
|
-
}, null, 40,
|
|
2985
|
-
t("span",
|
|
2991
|
+
}, null, 40, Vo),
|
|
2992
|
+
t("span", No, u(e.literals.room), 1)
|
|
2986
2993
|
]),
|
|
2987
|
-
t("th",
|
|
2988
|
-
t("th",
|
|
2994
|
+
t("th", Ro, u(e.literals.building), 1),
|
|
2995
|
+
t("th", qo, u(e.literals.floor), 1),
|
|
2989
2996
|
F[2] || (F[2] = t("th", {
|
|
2990
2997
|
colspan: "14",
|
|
2991
2998
|
scope: "colgroup",
|
|
2992
2999
|
class: "bg-gray-100 py-2 pl-4 pr-3 text-left font-semibold"
|
|
2993
3000
|
}, null, -1))
|
|
2994
3001
|
]),
|
|
2995
|
-
(l(!0), s(k, null, S(e.rooms, (
|
|
2996
|
-
key:
|
|
3002
|
+
(l(!0), s(k, null, S(e.rooms, (_) => (l(), s("tr", {
|
|
3003
|
+
key: _.name,
|
|
2997
3004
|
class: x([{ "even:bg-gray-100": e.type === "prices", "odd:bg-gray-100": e.type === "discounts" }])
|
|
2998
3005
|
}, [
|
|
2999
|
-
t("td",
|
|
3000
|
-
a.value.length > 0 ? (l(), s("div",
|
|
3006
|
+
t("td", Ho, [
|
|
3007
|
+
a.value.length > 0 ? (l(), s("div", Yo)) : b("", !0),
|
|
3001
3008
|
L(t("input", {
|
|
3002
3009
|
type: "checkbox",
|
|
3003
3010
|
class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded-sm border-gray-300 text-lime-400 focus:ring-lime-400",
|
|
3004
|
-
value:
|
|
3011
|
+
value: _.name,
|
|
3005
3012
|
"onUpdate:modelValue": F[1] || (F[1] = (W) => a.value = W)
|
|
3006
|
-
}, null, 8,
|
|
3013
|
+
}, null, 8, Eo), [
|
|
3007
3014
|
[yt, a.value]
|
|
3008
3015
|
]),
|
|
3009
|
-
t("span",
|
|
3016
|
+
t("span", Uo, u(_.name), 1)
|
|
3010
3017
|
]),
|
|
3011
|
-
t("td",
|
|
3012
|
-
t("td",
|
|
3013
|
-
(l(!0), s(k, null, S(
|
|
3018
|
+
t("td", Zo, u(_.building), 1),
|
|
3019
|
+
t("td", Wo, u(_.floor), 1),
|
|
3020
|
+
(l(!0), s(k, null, S(_.selectionPrices, (W, le) => (l(), s("td", {
|
|
3014
3021
|
class: "p-0",
|
|
3015
3022
|
key: le
|
|
3016
3023
|
}, [
|
|
3017
3024
|
m(Me, {
|
|
3018
|
-
onClick: (st) => j(W,
|
|
3025
|
+
onClick: (st) => j(W, _.id, _.name),
|
|
3019
3026
|
class: "border-l border-gray-200 px-6 py-3 text-black hover:text-lime-400 cursor-pointer",
|
|
3020
3027
|
price: W,
|
|
3021
3028
|
currency: e.currency.symbol,
|
|
@@ -3029,8 +3036,8 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3029
3036
|
])
|
|
3030
3037
|
])
|
|
3031
3038
|
])),
|
|
3032
|
-
v.value ? (l(), s("div",
|
|
3033
|
-
C.value ? (l(), s("div",
|
|
3039
|
+
v.value ? (l(), s("div", Go, [
|
|
3040
|
+
C.value ? (l(), s("div", Jo, [
|
|
3034
3041
|
m(ge, {
|
|
3035
3042
|
verticalPosition: "top",
|
|
3036
3043
|
items: N.value,
|
|
@@ -3095,10 +3102,10 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3095
3102
|
onDataPointSelection: o[2] || (o[2] = (n) => i.$emit("dataPointSelection", n))
|
|
3096
3103
|
}), null, 16)) : b("", !0);
|
|
3097
3104
|
}
|
|
3098
|
-
}),
|
|
3105
|
+
}), Qo = { class: "chart-header flex flex-row items-center w-full justify-between" }, Xo = { class: "text-lg font-bold truncate mr-8" }, ei = {
|
|
3099
3106
|
key: 0,
|
|
3100
3107
|
class: "flex items-center gap-x-2 grow"
|
|
3101
|
-
},
|
|
3108
|
+
}, ti = { class: "self-center ml-2" }, li = { class: "self-center ml-2" }, si = { class: "self-center ml-2" }, ni = { class: "hidden sm:flex items-center" }, ai = { class: "w-1/2 min-w-0 flex-1" }, oi = ["max"], ii = { class: "min-w-0 flex-1" }, ri = ["max"], di = { class: "chart-content pb-6" }, ci = { class: "'w-full h-full flex items-center justify-center flex-col" }, ui = { class: "card chart apex-chart px-4 py-5 bg-white shadow-sm rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, gi = /* @__PURE__ */ T({
|
|
3102
3109
|
__name: "uiChart",
|
|
3103
3110
|
props: {
|
|
3104
3111
|
labels: {},
|
|
@@ -3250,9 +3257,9 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3250
3257
|
class: "card chart apex-chart p-4 bg-white shadow-sm rounded-lg overflow-hidden flex grow",
|
|
3251
3258
|
style: qe({ height: e.height + "px" })
|
|
3252
3259
|
}, [
|
|
3253
|
-
t("div",
|
|
3254
|
-
t("div",
|
|
3255
|
-
e.isNps && e.npsLiterals ? (l(), s("div",
|
|
3260
|
+
t("div", Qo, [
|
|
3261
|
+
t("div", Xo, u(e.title), 1),
|
|
3262
|
+
e.isNps && e.npsLiterals ? (l(), s("div", ei, [
|
|
3256
3263
|
m(J, {
|
|
3257
3264
|
size: "small",
|
|
3258
3265
|
color: "red",
|
|
@@ -3264,7 +3271,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3264
3271
|
loading: !1,
|
|
3265
3272
|
color: "red"
|
|
3266
3273
|
}, null, 8, ["icon"]),
|
|
3267
|
-
t("span",
|
|
3274
|
+
t("span", ti, u(e.npsLiterals.unhappy), 1)
|
|
3268
3275
|
]),
|
|
3269
3276
|
_: 1
|
|
3270
3277
|
}),
|
|
@@ -3279,7 +3286,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3279
3286
|
loading: !1,
|
|
3280
3287
|
color: "yellow"
|
|
3281
3288
|
}, null, 8, ["icon"]),
|
|
3282
|
-
t("span",
|
|
3289
|
+
t("span", li, u(e.npsLiterals.neutral), 1)
|
|
3283
3290
|
]),
|
|
3284
3291
|
_: 1
|
|
3285
3292
|
}),
|
|
@@ -3294,13 +3301,13 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3294
3301
|
loading: !1,
|
|
3295
3302
|
color: "green"
|
|
3296
3303
|
}, null, 8, ["icon"]),
|
|
3297
|
-
t("span",
|
|
3304
|
+
t("span", si, u(e.npsLiterals.happy), 1)
|
|
3298
3305
|
]),
|
|
3299
3306
|
_: 1
|
|
3300
3307
|
})
|
|
3301
3308
|
])) : b("", !0),
|
|
3302
|
-
t("div",
|
|
3303
|
-
t("div",
|
|
3309
|
+
t("div", ni, [
|
|
3310
|
+
t("div", ai, [
|
|
3304
3311
|
L(t("input", {
|
|
3305
3312
|
type: "datetime-local",
|
|
3306
3313
|
"onUpdate:modelValue": R[0] || (R[0] = (K) => f(r).from = K),
|
|
@@ -3309,11 +3316,11 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3309
3316
|
name: "from",
|
|
3310
3317
|
id: "from",
|
|
3311
3318
|
class: "text-xs relative block w-full rounded-sm rounded-r-none border-0 bg-transparent py-1.5 text-gray-900 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:z-10 focus:ring-2 focus:ring-inset focus:ring-indigo-600"
|
|
3312
|
-
}, null, 40,
|
|
3319
|
+
}, null, 40, oi), [
|
|
3313
3320
|
[xe, f(r).from]
|
|
3314
3321
|
])
|
|
3315
3322
|
]),
|
|
3316
|
-
t("div",
|
|
3323
|
+
t("div", ii, [
|
|
3317
3324
|
L(t("input", {
|
|
3318
3325
|
type: "datetime-local",
|
|
3319
3326
|
"onUpdate:modelValue": R[1] || (R[1] = (K) => f(r).to = K),
|
|
@@ -3322,7 +3329,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3322
3329
|
name: "to",
|
|
3323
3330
|
id: "to",
|
|
3324
3331
|
class: "text-xs relative block w-full -mr-2 rounded-sm rounded-l-none border-0 bg-transparent py-1.5 text-gray-900 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:z-10 focus:ring-2 focus:ring-inset focus:ring-indigo-600"
|
|
3325
|
-
}, null, 40,
|
|
3332
|
+
}, null, 40, ri), [
|
|
3326
3333
|
[xe, f(r).to]
|
|
3327
3334
|
])
|
|
3328
3335
|
]),
|
|
@@ -3335,7 +3342,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3335
3342
|
}, null, 8, ["loading", "icon"])
|
|
3336
3343
|
])
|
|
3337
3344
|
]),
|
|
3338
|
-
L(t("div",
|
|
3345
|
+
L(t("div", di, [
|
|
3339
3346
|
m(tt, {
|
|
3340
3347
|
class: "chart",
|
|
3341
3348
|
type: e.type,
|
|
@@ -3349,7 +3356,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3349
3356
|
], 512), [
|
|
3350
3357
|
[O, !e.empty]
|
|
3351
3358
|
]),
|
|
3352
|
-
L(t("div",
|
|
3359
|
+
L(t("div", ci, [
|
|
3353
3360
|
m(P, {
|
|
3354
3361
|
icon: f(te),
|
|
3355
3362
|
color: "gray",
|
|
@@ -3363,7 +3370,7 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3363
3370
|
], 4), [
|
|
3364
3371
|
[O, !e.loading]
|
|
3365
3372
|
]),
|
|
3366
|
-
L(t("div",
|
|
3373
|
+
L(t("div", ui, [...R[4] || (R[4] = [
|
|
3367
3374
|
t("div", {
|
|
3368
3375
|
role: "status",
|
|
3369
3376
|
class: "w-full animate-pulse h-full flex flex-col"
|
|
@@ -3394,11 +3401,11 @@ const Me = /* @__PURE__ */ Ce(no, [["render", io]]), ro = {
|
|
|
3394
3401
|
])
|
|
3395
3402
|
], 64));
|
|
3396
3403
|
}
|
|
3397
|
-
}),
|
|
3404
|
+
}), mi = {
|
|
3398
3405
|
name: "uiFooter"
|
|
3399
|
-
},
|
|
3400
|
-
function
|
|
3401
|
-
return l(), s("footer",
|
|
3406
|
+
}, fi = { class: "bg-white" };
|
|
3407
|
+
function hi(e, g, i, o, n, r) {
|
|
3408
|
+
return l(), s("footer", fi, [...g[0] || (g[0] = [
|
|
3402
3409
|
t("div", { class: "mx-auto py-6 px-4 sm:px-6 md:flex md:items-center md:justify-between lg:px-8" }, [
|
|
3403
3410
|
t("div", { class: "mt-8 md:mt-0 md:order-1" }, [
|
|
3404
3411
|
t("p", { class: "text-center text-base text-gray-400" }, "© Made by Hotelinking.")
|
|
@@ -3406,7 +3413,7 @@ function bi(e, g, i, o, n, r) {
|
|
|
3406
3413
|
], -1)
|
|
3407
3414
|
])]);
|
|
3408
3415
|
}
|
|
3409
|
-
const
|
|
3416
|
+
const yi = /* @__PURE__ */ Ce(mi, [["render", hi]]), bi = /* @__PURE__ */ T({
|
|
3410
3417
|
__name: "uiLoadingScreen",
|
|
3411
3418
|
props: {
|
|
3412
3419
|
title: {},
|
|
@@ -3434,25 +3441,25 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3434
3441
|
])
|
|
3435
3442
|
], 2));
|
|
3436
3443
|
}
|
|
3437
|
-
}),
|
|
3444
|
+
}), vi = { class: "hidden md:flex md:flex-col sticky md:inset-y-0" }, xi = { class: "flex flex-col grow overflow-y-auto" }, pi = { class: "grow flex flex-col" }, wi = {
|
|
3438
3445
|
class: "flex-1 space-y-1",
|
|
3439
3446
|
"aria-label": "Sidebar"
|
|
3440
|
-
},
|
|
3447
|
+
}, ki = { key: 0 }, $i = ["onClick"], Ci = {
|
|
3441
3448
|
key: 1,
|
|
3442
3449
|
class: "text-left"
|
|
3443
|
-
},
|
|
3450
|
+
}, Si = {
|
|
3444
3451
|
key: 1,
|
|
3445
3452
|
class: "flex-1 text-left"
|
|
3446
|
-
},
|
|
3453
|
+
}, Bi = {
|
|
3447
3454
|
key: 2,
|
|
3448
3455
|
class: "flex-1"
|
|
3449
|
-
},
|
|
3456
|
+
}, Mi = {
|
|
3450
3457
|
key: 0,
|
|
3451
3458
|
class: "align-left"
|
|
3452
|
-
},
|
|
3459
|
+
}, zi = {
|
|
3453
3460
|
key: 1,
|
|
3454
3461
|
class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2"
|
|
3455
|
-
},
|
|
3462
|
+
}, ji = { class: "h-12 flex flex-row items-center" }, Ai = /* @__PURE__ */ T({
|
|
3456
3463
|
__name: "uiSidebar",
|
|
3457
3464
|
props: {
|
|
3458
3465
|
navigation: {},
|
|
@@ -3464,17 +3471,17 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3464
3471
|
emits: ["sideBarClick"],
|
|
3465
3472
|
setup(e, { emit: g }) {
|
|
3466
3473
|
const i = e, o = g, n = A(() => i.navigation ? Array.isArray(i.navigation) ? i.navigation : [i.navigation] : []);
|
|
3467
|
-
return (r, a) => (l(), s("div",
|
|
3468
|
-
t("div",
|
|
3469
|
-
t("div",
|
|
3470
|
-
t("nav",
|
|
3471
|
-
e.loading ? (l(), s(k, { key: 1 }, S(5, (d) => t("div",
|
|
3474
|
+
return (r, a) => (l(), s("div", vi, [
|
|
3475
|
+
t("div", xi, [
|
|
3476
|
+
t("div", pi, [
|
|
3477
|
+
t("nav", wi, [
|
|
3478
|
+
e.loading ? (l(), s(k, { key: 1 }, S(5, (d) => t("div", ji, [...a[1] || (a[1] = [
|
|
3472
3479
|
t("div", { class: "w-6 h-6 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 mr-4" }, null, -1),
|
|
3473
3480
|
t("div", { class: "h-3 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 grow" }, null, -1)
|
|
3474
3481
|
])])), 64)) : (l(!0), s(k, { key: 0 }, S(n.value, (d) => (l(), s(k, {
|
|
3475
3482
|
key: d.name
|
|
3476
3483
|
}, [
|
|
3477
|
-
d.children ? (l(), w(f(
|
|
3484
|
+
d.children ? (l(), w(f(Ie), {
|
|
3478
3485
|
key: 1,
|
|
3479
3486
|
as: "div",
|
|
3480
3487
|
class: "space-y-1"
|
|
@@ -3494,16 +3501,16 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3494
3501
|
]),
|
|
3495
3502
|
"aria-hidden": "true"
|
|
3496
3503
|
}, null, 8, ["loading", "icon", "class"])) : b("", !0),
|
|
3497
|
-
e.loading ? (l(), s("div",
|
|
3504
|
+
e.loading ? (l(), s("div", Bi, [...a[0] || (a[0] = [
|
|
3498
3505
|
t("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, null, -1)
|
|
3499
|
-
])])) : (l(), s("span",
|
|
3506
|
+
])])) : (l(), s("span", Si, u(d.name), 1)),
|
|
3500
3507
|
m(f($e), {
|
|
3501
3508
|
class: x([c ? "text-black rotate-90" : "text-gray-400", "mr-3 shrink-0 h-3 w-3 transform group-hover:text-gray-400 transition-colors ease-in-out duration-150"])
|
|
3502
3509
|
}, null, 8, ["class"])
|
|
3503
3510
|
]),
|
|
3504
3511
|
_: 2
|
|
3505
3512
|
}, 1032, ["class"]),
|
|
3506
|
-
m(f(
|
|
3513
|
+
m(f(_e), { class: "space-y-1" }, {
|
|
3507
3514
|
default: y(() => [
|
|
3508
3515
|
(l(!0), s(k, null, S(d.children, (v) => (l(), w(f(se), {
|
|
3509
3516
|
onClick: (p) => o("sideBarClick", v.id),
|
|
@@ -3511,7 +3518,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3511
3518
|
class: x([v.current ? "bg-gray-200" : "hover:text-gray-900 hover:bg-gray-100", "group text-gray-600 w-full flex items-center text-left pl-11 pr-2 py-2 text-sm font-medium rounded-md"])
|
|
3512
3519
|
}, {
|
|
3513
3520
|
default: y(() => [
|
|
3514
|
-
e.loading ? (l(), s("div",
|
|
3521
|
+
e.loading ? (l(), s("div", zi)) : (l(), s("span", Mi, u(v.name), 1))
|
|
3515
3522
|
]),
|
|
3516
3523
|
_: 2
|
|
3517
3524
|
}, 1032, ["onClick", "class"]))), 128))
|
|
@@ -3520,7 +3527,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3520
3527
|
}, 1024)
|
|
3521
3528
|
]),
|
|
3522
3529
|
_: 2
|
|
3523
|
-
}, 1024)) : (l(), s("div",
|
|
3530
|
+
}, 1024)) : (l(), s("div", ki, [
|
|
3524
3531
|
t("button", {
|
|
3525
3532
|
onClick: (c) => o("sideBarClick", d.id),
|
|
3526
3533
|
class: x([
|
|
@@ -3538,8 +3545,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3538
3545
|
]),
|
|
3539
3546
|
"aria-hidden": "true"
|
|
3540
3547
|
}, null, 8, ["loading", "icon", "class"])) : b("", !0),
|
|
3541
|
-
e.loading ? b("", !0) : (l(), s("span",
|
|
3542
|
-
], 10,
|
|
3548
|
+
e.loading ? b("", !0) : (l(), s("span", Ci, u(d.name), 1))
|
|
3549
|
+
], 10, $i)
|
|
3543
3550
|
]))
|
|
3544
3551
|
], 64))), 128))
|
|
3545
3552
|
])
|
|
@@ -3547,24 +3554,24 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3547
3554
|
])
|
|
3548
3555
|
]));
|
|
3549
3556
|
}
|
|
3550
|
-
}),
|
|
3557
|
+
}), Ti = { class: "flex flex-row grow border-r border-gray-200 bg-white pr-6 h-screen" }, Di = { class: "bg-black w-16 mr-6 shrink-0" }, Li = ["onClick"], Pi = ["src", "alt"], Fi = {
|
|
3551
3558
|
key: 0,
|
|
3552
3559
|
class: "flex flex-col grow h-full"
|
|
3553
|
-
},
|
|
3560
|
+
}, Oi = ["src"], Ii = { class: "flex flex-1 flex-col overflow-hidden mt-8" }, _i = { class: "flex-1 overflow-y-auto pr-6" }, Vi = {
|
|
3554
3561
|
key: 0,
|
|
3555
3562
|
role: "list",
|
|
3556
3563
|
class: "flex flex-col gap-y-7 mb-4"
|
|
3557
|
-
},
|
|
3564
|
+
}, Ni = {
|
|
3558
3565
|
role: "list",
|
|
3559
3566
|
class: "ml-2 space-y-1"
|
|
3560
|
-
},
|
|
3567
|
+
}, Ri = ["onClick"], qi = {
|
|
3561
3568
|
key: 1,
|
|
3562
3569
|
role: "list",
|
|
3563
3570
|
class: "flex flex-col gap-y-7 mb-4"
|
|
3564
|
-
},
|
|
3571
|
+
}, Hi = { class: "ml-2 space-y-1" }, Yi = { class: "font-bold mb-4" }, Ei = {
|
|
3565
3572
|
key: 1,
|
|
3566
3573
|
class: "flex flex-col grow h-full"
|
|
3567
|
-
},
|
|
3574
|
+
}, Ui = { class: "flex-1 overflow-y-auto pr-6" }, Zi = { class: "h-12 flex flex-row items-center" }, Ue = /* @__PURE__ */ T({
|
|
3568
3575
|
__name: "uiSidebarV2",
|
|
3569
3576
|
props: {
|
|
3570
3577
|
navigation: {},
|
|
@@ -3577,8 +3584,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3577
3584
|
emits: ["productBarClick", "sideBarClick", "inputChanged"],
|
|
3578
3585
|
setup(e, { emit: g }) {
|
|
3579
3586
|
const i = e, o = A(() => i.navigation ? Array.isArray(i.navigation) ? i.navigation : [i.navigation] : []);
|
|
3580
|
-
return (n, r) => (l(), s("div",
|
|
3581
|
-
t("div",
|
|
3587
|
+
return (n, r) => (l(), s("div", Ti, [
|
|
3588
|
+
t("div", Di, [
|
|
3582
3589
|
t("ul", null, [
|
|
3583
3590
|
(l(!0), s(k, null, S(e.productsSidebar, (a, d) => (l(), s("li", {
|
|
3584
3591
|
key: d,
|
|
@@ -3588,18 +3595,18 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3588
3595
|
t("img", {
|
|
3589
3596
|
src: a.icon,
|
|
3590
3597
|
alt: a.name
|
|
3591
|
-
}, null, 8,
|
|
3592
|
-
], 10,
|
|
3598
|
+
}, null, 8, Pi)
|
|
3599
|
+
], 10, Li))), 128))
|
|
3593
3600
|
])
|
|
3594
3601
|
]),
|
|
3595
|
-
e.loading ? (l(), s("div",
|
|
3596
|
-
t("div",
|
|
3597
|
-
(l(), s(k, null, S(5, (a) => t("div",
|
|
3602
|
+
e.loading ? (l(), s("div", Ei, [
|
|
3603
|
+
t("div", Ui, [
|
|
3604
|
+
(l(), s(k, null, S(5, (a) => t("div", Zi, [...r[2] || (r[2] = [
|
|
3598
3605
|
t("div", { class: "w-6 h-6 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 mr-4" }, null, -1),
|
|
3599
3606
|
t("div", { class: "h-3 animate-pulse bg-gray-200 rounded-full w-1/2 dark:bg-gray-300" }, null, -1)
|
|
3600
3607
|
])])), 64))
|
|
3601
3608
|
])
|
|
3602
|
-
])) : (l(), s("div",
|
|
3609
|
+
])) : (l(), s("div", Fi, [
|
|
3603
3610
|
t("div", {
|
|
3604
3611
|
class: "flex h-16 shrink-0 items-center",
|
|
3605
3612
|
onClick: r[0] || (r[0] = (a) => n.$emit("sideBarClick", "logo"))
|
|
@@ -3608,17 +3615,17 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3608
3615
|
class: "h-10 w-auto self-center cursor-pointer",
|
|
3609
3616
|
src: e.logo,
|
|
3610
3617
|
alt: "Your Company"
|
|
3611
|
-
}, null, 8,
|
|
3618
|
+
}, null, 8, Oi)
|
|
3612
3619
|
]),
|
|
3613
|
-
t("nav",
|
|
3614
|
-
t("div",
|
|
3615
|
-
e.isFilterNavigation ? b("", !0) : (l(), s("ul",
|
|
3620
|
+
t("nav", Ii, [
|
|
3621
|
+
t("div", _i, [
|
|
3622
|
+
e.isFilterNavigation ? b("", !0) : (l(), s("ul", Vi, [
|
|
3616
3623
|
t("li", null, [
|
|
3617
|
-
t("ul",
|
|
3624
|
+
t("ul", Ni, [
|
|
3618
3625
|
(l(!0), s(k, null, S(o.value, (a) => (l(), s("li", {
|
|
3619
3626
|
key: a.name
|
|
3620
3627
|
}, [
|
|
3621
|
-
a.children ? (l(), w(f(
|
|
3628
|
+
a.children ? (l(), w(f(Ie), {
|
|
3622
3629
|
key: 1,
|
|
3623
3630
|
as: "div"
|
|
3624
3631
|
}, {
|
|
@@ -3645,7 +3652,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3645
3652
|
_: 2
|
|
3646
3653
|
}, 1032, ["onClick", "class"]),
|
|
3647
3654
|
L(t("div", null, [
|
|
3648
|
-
m(f(
|
|
3655
|
+
m(f(_e), {
|
|
3649
3656
|
as: "ul",
|
|
3650
3657
|
class: "mt-1 px-2",
|
|
3651
3658
|
static: ""
|
|
@@ -3687,13 +3694,13 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3687
3694
|
class: "shrink-0"
|
|
3688
3695
|
}, null, 8, ["icon"]),
|
|
3689
3696
|
B(" " + u(a.name), 1)
|
|
3690
|
-
], 10,
|
|
3697
|
+
], 10, Ri))
|
|
3691
3698
|
]))), 128))
|
|
3692
3699
|
])
|
|
3693
3700
|
])
|
|
3694
3701
|
])),
|
|
3695
|
-
e.isFilterNavigation && e.filterNavigation ? (l(), s("ul",
|
|
3696
|
-
t("li",
|
|
3702
|
+
e.isFilterNavigation && e.filterNavigation ? (l(), s("ul", qi, [
|
|
3703
|
+
t("li", Hi, [
|
|
3697
3704
|
e.filterNavigation.hasSearch && e.filterNavigation.search ? (l(), w(ae, {
|
|
3698
3705
|
key: 0,
|
|
3699
3706
|
name: e.filterNavigation.search.name,
|
|
@@ -3708,7 +3715,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3708
3715
|
class: "ml-2",
|
|
3709
3716
|
key: d
|
|
3710
3717
|
}, [
|
|
3711
|
-
t("p",
|
|
3718
|
+
t("p", Yi, u(a.label), 1),
|
|
3712
3719
|
(l(!0), s(k, null, S(a.filters, (c, v) => (l(), w(ue, {
|
|
3713
3720
|
class: "mb-2",
|
|
3714
3721
|
value: c.value,
|
|
@@ -3726,10 +3733,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3726
3733
|
]))
|
|
3727
3734
|
]));
|
|
3728
3735
|
}
|
|
3729
|
-
}),
|
|
3736
|
+
}), Wi = { key: 0 }, Gi = ["title"], Ji = { class: "ml-16 flex items-baseline pb-5" }, Ki = { class: "text-2xl font-semibold" }, Qi = {
|
|
3730
3737
|
key: 0,
|
|
3731
3738
|
class: "text-black ml-2 flex items-baseline text-sm font-semibold"
|
|
3732
|
-
},
|
|
3739
|
+
}, Xi = { class: "absolute bottom-0 inset-x-0 bg-gray-50 px-4 py-4 sm:px-6" }, er = { class: "text-sm" }, tr = { key: 1 }, lr = { class: "relative bg-white pt-5 px-4 sm:pt-6 sm:px-6 shadow-sm rounded-lg overflow-hidden h-full pb-6" }, sr = { class: "absolute bg-gray-200 rounded-md p-3 animate-pulse" }, Ft = /* @__PURE__ */ T({
|
|
3733
3740
|
__name: "uiStats",
|
|
3734
3741
|
props: {
|
|
3735
3742
|
item: {},
|
|
@@ -3737,10 +3744,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3737
3744
|
},
|
|
3738
3745
|
emits: ["statClick"],
|
|
3739
3746
|
setup(e, { emit: g }) {
|
|
3740
|
-
return (i, o) => e.loading ? (l(), s("div",
|
|
3741
|
-
t("div",
|
|
3747
|
+
return (i, o) => e.loading ? (l(), s("div", tr, [
|
|
3748
|
+
t("div", lr, [
|
|
3742
3749
|
t("dt", null, [
|
|
3743
|
-
t("div",
|
|
3750
|
+
t("div", sr, [
|
|
3744
3751
|
m(P, {
|
|
3745
3752
|
loading: e.loading,
|
|
3746
3753
|
icon: e.item.icon,
|
|
@@ -3756,7 +3763,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3756
3763
|
], -1))
|
|
3757
3764
|
])
|
|
3758
3765
|
])
|
|
3759
|
-
])) : (l(), s("div",
|
|
3766
|
+
])) : (l(), s("div", Wi, [
|
|
3760
3767
|
t("div", {
|
|
3761
3768
|
class: x(["relative bg-white pt-5 px-4 sm:pt-6 sm:px-6 shadow-sm rounded-lg overflow-hidden h-full", { "pb-12": e.item.showFooter }])
|
|
3762
3769
|
}, [
|
|
@@ -3778,11 +3785,11 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3778
3785
|
t("p", {
|
|
3779
3786
|
class: "ml-16 text-sm font-medium truncate",
|
|
3780
3787
|
title: e.item.name
|
|
3781
|
-
}, u(e.item.name), 9,
|
|
3788
|
+
}, u(e.item.name), 9, Gi)
|
|
3782
3789
|
]),
|
|
3783
|
-
t("dd",
|
|
3784
|
-
t("p",
|
|
3785
|
-
e.item.explanation ? (l(), s("p",
|
|
3790
|
+
t("dd", Ji, [
|
|
3791
|
+
t("p", Ki, u(e.item.stat), 1),
|
|
3792
|
+
e.item.explanation ? (l(), s("p", Qi, u(e.item.explanation), 1)) : b("", !0),
|
|
3786
3793
|
e.item.changeType ? (l(), s("p", {
|
|
3787
3794
|
key: 1,
|
|
3788
3795
|
class: x([
|
|
@@ -3806,8 +3813,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3806
3813
|
})) : b("", !0),
|
|
3807
3814
|
B(" " + u(e.item.change), 1)
|
|
3808
3815
|
], 2)) : b("", !0),
|
|
3809
|
-
L(t("div",
|
|
3810
|
-
t("div",
|
|
3816
|
+
L(t("div", Xi, [
|
|
3817
|
+
t("div", er, [
|
|
3811
3818
|
t("span", {
|
|
3812
3819
|
onClick: o[0] || (o[0] = (n) => i.$emit("statClick", e.item.id)),
|
|
3813
3820
|
class: "font-medium text-black hover:text-lime-400 underline cursor-pointer"
|
|
@@ -3820,19 +3827,19 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3820
3827
|
], 2)
|
|
3821
3828
|
]));
|
|
3822
3829
|
}
|
|
3823
|
-
}),
|
|
3830
|
+
}), nr = {
|
|
3824
3831
|
key: 0,
|
|
3825
3832
|
class: "overflow-hidden bg-white shadow-sm sm:rounded-lg"
|
|
3826
|
-
},
|
|
3833
|
+
}, ar = { class: "px-4 py-5 sm:px-6" }, or = { class: "text-lg font-medium leading-6" }, ir = { class: "mt-1 max-w-2xl text-sm" }, rr = { class: "border-t border-gray-200" }, dr = { class: "text-sm font-medium" }, cr = {
|
|
3827
3834
|
key: 0,
|
|
3828
3835
|
class: "mt-1 text-sm sm:col-span-2 sm:mt-0 break-normal"
|
|
3829
|
-
},
|
|
3836
|
+
}, ur = ["onClick"], gr = {
|
|
3830
3837
|
key: 2,
|
|
3831
3838
|
class: "mt-1 text-sm sm:col-span-2 sm:mt-0 wrap-break-word"
|
|
3832
|
-
},
|
|
3839
|
+
}, mr = {
|
|
3833
3840
|
key: 1,
|
|
3834
3841
|
class: "overflow-hidden bg-white shadow-sm sm:rounded-lg"
|
|
3835
|
-
},
|
|
3842
|
+
}, fr = { class: "border-t border-gray-200" }, hr = /* @__PURE__ */ T({
|
|
3836
3843
|
__name: "uiStripedCard",
|
|
3837
3844
|
props: {
|
|
3838
3845
|
title: {},
|
|
@@ -3842,9 +3849,9 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3842
3849
|
},
|
|
3843
3850
|
emits: ["itemClicked"],
|
|
3844
3851
|
setup(e) {
|
|
3845
|
-
return (g, i) => e.loading ? (l(), s("div",
|
|
3852
|
+
return (g, i) => e.loading ? (l(), s("div", mr, [
|
|
3846
3853
|
i[1] || (i[1] = ee('<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)),
|
|
3847
|
-
t("div",
|
|
3854
|
+
t("div", fr, [
|
|
3848
3855
|
t("dl", null, [
|
|
3849
3856
|
(l(), s(k, null, S(5, (o) => t("div", {
|
|
3850
3857
|
key: o,
|
|
@@ -3859,19 +3866,19 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3859
3866
|
])], 2)), 64))
|
|
3860
3867
|
])
|
|
3861
3868
|
])
|
|
3862
|
-
])) : (l(), s("div",
|
|
3863
|
-
t("div",
|
|
3864
|
-
t("h3",
|
|
3865
|
-
t("p",
|
|
3869
|
+
])) : (l(), s("div", nr, [
|
|
3870
|
+
t("div", ar, [
|
|
3871
|
+
t("h3", or, u(e.title), 1),
|
|
3872
|
+
t("p", ir, u(e.subtitle), 1)
|
|
3866
3873
|
]),
|
|
3867
|
-
t("div",
|
|
3874
|
+
t("div", rr, [
|
|
3868
3875
|
t("dl", null, [
|
|
3869
3876
|
(l(!0), s(k, null, S(e.items, (o, n) => (l(), s("div", {
|
|
3870
3877
|
key: n,
|
|
3871
3878
|
class: x(["px-4 py-5 sm:grid sm:grid-cols-3 sm:gap-4 sm:px-6", [n % 2 === 0 ? "bg-gray-50" : "bg-white"]])
|
|
3872
3879
|
}, [
|
|
3873
|
-
t("dt",
|
|
3874
|
-
o.type === "tags" ? (l(), s("dd",
|
|
3880
|
+
t("dt", dr, u(o.title), 1),
|
|
3881
|
+
o.type === "tags" ? (l(), s("dd", cr, [
|
|
3875
3882
|
(l(!0), s(k, null, S(o.tags, (r, a) => (l(), w(J, {
|
|
3876
3883
|
loading: e.loading,
|
|
3877
3884
|
key: a,
|
|
@@ -3887,13 +3894,13 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3887
3894
|
key: 1,
|
|
3888
3895
|
class: "mt-1 text-sm text-lime-600 hover:text-black sm:col-span-2 sm:mt-0 cursor-pointer",
|
|
3889
3896
|
onClick: (r) => g.$emit("itemClicked", o.emits)
|
|
3890
|
-
}, u(o.text), 9,
|
|
3897
|
+
}, u(o.text), 9, ur)) : (l(), s("dd", gr, u(o.text), 1))
|
|
3891
3898
|
], 2))), 128))
|
|
3892
3899
|
])
|
|
3893
3900
|
])
|
|
3894
3901
|
]));
|
|
3895
3902
|
}
|
|
3896
|
-
}),
|
|
3903
|
+
}), yr = { class: "absolute top-10 bg-black text-white text-xs p-2 rounded-sm z-10 font-light w-60 flex flex-row items-start" }, br = { class: "ml-2" }, vr = {
|
|
3897
3904
|
__name: "tooltip",
|
|
3898
3905
|
props: {
|
|
3899
3906
|
tip: {
|
|
@@ -3902,7 +3909,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3902
3909
|
}
|
|
3903
3910
|
},
|
|
3904
3911
|
setup(e) {
|
|
3905
|
-
return (g, i) => (l(), s("div",
|
|
3912
|
+
return (g, i) => (l(), s("div", yr, [
|
|
3906
3913
|
i[0] || (i[0] = t("svg", {
|
|
3907
3914
|
class: "absolute -top-3 left-0",
|
|
3908
3915
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3926,16 +3933,16 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3926
3933
|
size: "big"
|
|
3927
3934
|
}, null, 8, ["icon"])
|
|
3928
3935
|
]),
|
|
3929
|
-
t("span",
|
|
3936
|
+
t("span", br, u(e.tip), 1)
|
|
3930
3937
|
]));
|
|
3931
3938
|
}
|
|
3932
|
-
},
|
|
3939
|
+
}, xr = { class: "hidden py-0.5 px-2.5 rounded-sm text-xs font-medium md:inline-block bg-lime-400 text-gray-900" }, pr = {
|
|
3933
3940
|
key: 0,
|
|
3934
3941
|
class: "hidden py-0.5 px-2.5 rounded-sm text-xs font-medium md:inline-block bg-gray-100 text-gray-900 uppercase"
|
|
3935
|
-
},
|
|
3942
|
+
}, wr = { class: "w-screen max-w-md flex-auto rounded-sm bg-white text-sm/6 shadow-lg ring-1 ring-gray-900/5 lg:max-w-3xl" }, kr = { class: "p-6 gap-y-2 flex flex-col" }, $r = { class: "flex items-center gap-x-2 w-full" }, Cr = { class: "px-6 pb-6 gap-x-2 flex justify-end" }, Sr = {
|
|
3936
3943
|
key: 1,
|
|
3937
3944
|
class: "relative animate-pulse"
|
|
3938
|
-
},
|
|
3945
|
+
}, Br = /* @__PURE__ */ T({
|
|
3939
3946
|
__name: "uiSmartFilterMultipleV2",
|
|
3940
3947
|
props: {
|
|
3941
3948
|
literals: { default: () => ({
|
|
@@ -3966,7 +3973,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
3966
3973
|
if (q.type === "uiInput")
|
|
3967
3974
|
$.props.value = q.value || "";
|
|
3968
3975
|
else if (q.type === "uiSelect") {
|
|
3969
|
-
const F = H.defaultProps.items?.find((
|
|
3976
|
+
const F = H.defaultProps.items?.find((_) => _.name === q.value);
|
|
3970
3977
|
F ? $.props.select = F : H.defaultProps.items && H.defaultProps.items.length > 0 && ($.props.select = H.defaultProps.items[0]);
|
|
3971
3978
|
}
|
|
3972
3979
|
r.push($);
|
|
@@ -4038,7 +4045,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4038
4045
|
};
|
|
4039
4046
|
o("smartFiltersSent", H), j();
|
|
4040
4047
|
};
|
|
4041
|
-
return (j, q) => e.loading ? (l(), s("div",
|
|
4048
|
+
return (j, q) => e.loading ? (l(), s("div", Sr, [...q[1] || (q[1] = [
|
|
4042
4049
|
ee('<div class="inline-flex items-center gap-x-2 text-sm/6 font-semibold text-gray-900 outline-hidden flex-wrap gap-y-1"><div class="h-4 bg-gray-200 rounded-lg w-32"></div><div class="h-4 bg-gray-200 rounded-lg w-20"></div><div class="h-4 bg-gray-200 rounded-lg w-16"></div><div class="h-5 w-5 bg-gray-200 rounded-lg"></div></div>', 1)
|
|
4043
4050
|
])])) : (l(), w(f(kl), {
|
|
4044
4051
|
key: 0,
|
|
@@ -4049,8 +4056,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4049
4056
|
default: y(() => [
|
|
4050
4057
|
t("span", null, u(i.literals.filters) + ": ", 1),
|
|
4051
4058
|
(l(!0), s(k, null, S(N.value, (H, $) => (l(), s(k, { key: $ }, [
|
|
4052
|
-
t("span",
|
|
4053
|
-
$ < N.value.length - 1 ? (l(), s("span",
|
|
4059
|
+
t("span", xr, u(H.name) + " " + u(H.operator) + ": " + u(H.value), 1),
|
|
4060
|
+
$ < N.value.length - 1 ? (l(), s("span", pr, u(n.value.name), 1)) : b("", !0)
|
|
4054
4061
|
], 64))), 128)),
|
|
4055
4062
|
m(f(oe), {
|
|
4056
4063
|
class: "size-5",
|
|
@@ -4070,9 +4077,9 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4070
4077
|
default: y(() => [
|
|
4071
4078
|
m(f(Cl), { class: "absolute z-20 mt-2 flex w-screen max-w-max bg-transparent" }, {
|
|
4072
4079
|
default: y(({ close: H }) => [
|
|
4073
|
-
t("div",
|
|
4074
|
-
t("div",
|
|
4075
|
-
t("div",
|
|
4080
|
+
t("div", wr, [
|
|
4081
|
+
t("div", kr, [
|
|
4082
|
+
t("div", $r, [
|
|
4076
4083
|
m(ve, {
|
|
4077
4084
|
loading: i.loading,
|
|
4078
4085
|
class: "w-60",
|
|
@@ -4121,14 +4128,14 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4121
4128
|
loading: i.loading,
|
|
4122
4129
|
items: $.props.items || [],
|
|
4123
4130
|
select: $.props.select || $.props.items?.[0] || { id: "0", name: "Select..." },
|
|
4124
|
-
onSelectChanged: (
|
|
4131
|
+
onSelectChanged: (_) => K(F, _)
|
|
4125
4132
|
}, null, 8, ["loading", "items", "select", "onSelectChanged"])) : $.type === "uiInput" ? (l(), w(ae, {
|
|
4126
4133
|
key: 1,
|
|
4127
4134
|
class: "grow",
|
|
4128
4135
|
loading: i.loading,
|
|
4129
4136
|
name: $.props.name || "",
|
|
4130
4137
|
value: $.props.value || "",
|
|
4131
|
-
onInput: (
|
|
4138
|
+
onInput: (_) => K(F, _.target.value)
|
|
4132
4139
|
}, null, 8, ["loading", "name", "value", "onInput"])) : b("", !0),
|
|
4133
4140
|
F === 0 ? (l(), w(ve, {
|
|
4134
4141
|
key: 2,
|
|
@@ -4155,12 +4162,12 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4155
4162
|
color: "red",
|
|
4156
4163
|
loading: i.loading,
|
|
4157
4164
|
class: "cursor-pointer",
|
|
4158
|
-
onClick: (
|
|
4165
|
+
onClick: (_) => re(F),
|
|
4159
4166
|
title: "Eliminar filtro"
|
|
4160
4167
|
}, null, 8, ["icon", "loading", "onClick"])
|
|
4161
4168
|
]))), 128))
|
|
4162
4169
|
]),
|
|
4163
|
-
t("div",
|
|
4170
|
+
t("div", Cr, [
|
|
4164
4171
|
m(U, {
|
|
4165
4172
|
loading: i.loading,
|
|
4166
4173
|
color: "red",
|
|
@@ -4194,7 +4201,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4194
4201
|
_: 1
|
|
4195
4202
|
}));
|
|
4196
4203
|
}
|
|
4197
|
-
}),
|
|
4204
|
+
}), Mr = { class: "w-full flex flex-col justify-center p-10 grow" }, zr = { class: "text-center" }, jr = { class: "text-2xl mt-4 font-bold" }, Ar = { class: "mt-4" }, Tr = { class: "buttons flex mt-8 gap-x-1 justify-center flex-col gap-y-2 md:flex-row md:gap-y-0" }, lt = /* @__PURE__ */ T({
|
|
4198
4205
|
__name: "uiNoResults",
|
|
4199
4206
|
props: {
|
|
4200
4207
|
title: {},
|
|
@@ -4205,7 +4212,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4205
4212
|
},
|
|
4206
4213
|
emits: ["action", "noResultsOptionSelected"],
|
|
4207
4214
|
setup(e) {
|
|
4208
|
-
return (g, i) => (l(), s("div",
|
|
4215
|
+
return (g, i) => (l(), s("div", Mr, [
|
|
4209
4216
|
m(P, {
|
|
4210
4217
|
class: "mx-auto",
|
|
4211
4218
|
loading: !1,
|
|
@@ -4213,10 +4220,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4213
4220
|
size: "massive",
|
|
4214
4221
|
color: "gray"
|
|
4215
4222
|
}, null, 8, ["icon"]),
|
|
4216
|
-
t("div",
|
|
4217
|
-
t("h2",
|
|
4218
|
-
t("p",
|
|
4219
|
-
t("div",
|
|
4223
|
+
t("div", zr, [
|
|
4224
|
+
t("h2", jr, u(e.title), 1),
|
|
4225
|
+
t("p", Ar, u(e.message), 1),
|
|
4226
|
+
t("div", Tr, [
|
|
4220
4227
|
(l(!0), s(k, null, S(e.actions, (o, n) => (l(), w(U, {
|
|
4221
4228
|
key: n,
|
|
4222
4229
|
loading: !1,
|
|
@@ -4237,43 +4244,43 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4237
4244
|
])
|
|
4238
4245
|
]));
|
|
4239
4246
|
}
|
|
4240
|
-
}),
|
|
4247
|
+
}), Dr = { key: 0 }, Lr = {
|
|
4241
4248
|
key: 1,
|
|
4242
4249
|
class: "actionsAndFilters mb-6 flex flex-col lg:flex-row lg:items-start w-full gap-4"
|
|
4243
|
-
},
|
|
4250
|
+
}, Pr = {
|
|
4244
4251
|
key: 0,
|
|
4245
4252
|
class: "w-full lg:flex-1 lg:min-w-0 lg:max-w-full"
|
|
4246
|
-
},
|
|
4253
|
+
}, Fr = {
|
|
4247
4254
|
key: 1,
|
|
4248
4255
|
class: "w-full lg:w-auto lg:shrink-0 flex flex-col sm:flex-row items-stretch sm:items-center gap-3 lg:gap-2"
|
|
4249
|
-
},
|
|
4256
|
+
}, Or = {
|
|
4250
4257
|
key: 0,
|
|
4251
4258
|
class: "flex flex-col sm:flex-row gap-2 flex-wrap sm:flex-nowrap"
|
|
4252
|
-
},
|
|
4259
|
+
}, Ir = {
|
|
4253
4260
|
key: 1,
|
|
4254
4261
|
class: "w-auto"
|
|
4255
|
-
},
|
|
4262
|
+
}, _r = { class: "-my-2 overflow-x-auto" }, Vr = { class: "inline-block min-w-full py-2 align-middle px-1" }, Nr = { class: "relative overflow-hidden shadow-sm ring-1 ring-black/5 md:rounded-lg" }, Rr = {
|
|
4256
4263
|
key: 0,
|
|
4257
4264
|
class: "absolute top-0 left-12 flex h-12 items-center space-x-3 sm:left-16 bg-white shadow-sm rounded-sm px-4 py-1 z-50"
|
|
4258
|
-
},
|
|
4265
|
+
}, qr = ["onClick"], Hr = { class: "min-w-full table-fixed divide-y divide-gray-300" }, Yr = ["checked", "indeterminate"], Er = ["onMouseover"], Ur = ["onClick"], Zr = {
|
|
4259
4266
|
key: 2,
|
|
4260
4267
|
class: "group flex items-center uppercase text-xs"
|
|
4261
|
-
},
|
|
4268
|
+
}, Wr = { class: "divide-y divide-gray-200 bg-white" }, Gr = {
|
|
4262
4269
|
key: 0,
|
|
4263
4270
|
class: "absolute inset-y-0 left-0 w-0.5 bg-lime-400"
|
|
4264
|
-
},
|
|
4271
|
+
}, Jr = ["value", "disabled"], Kr = {
|
|
4265
4272
|
key: 0,
|
|
4266
4273
|
class: "flex flex-col"
|
|
4267
|
-
},
|
|
4274
|
+
}, Qr = { class: "font-semibold text-gray-900" }, Xr = { class: "text-sm text-gray-500" }, ed = ["onClick"], td = ["onClick"], ld = {
|
|
4268
4275
|
key: 3,
|
|
4269
4276
|
class: "flex items-center gap-2"
|
|
4270
|
-
},
|
|
4277
|
+
}, sd = ["onClick"], nd = ["onClick"], ad = {
|
|
4271
4278
|
key: 4,
|
|
4272
4279
|
class: "flex items-center gap-2"
|
|
4273
|
-
},
|
|
4280
|
+
}, od = ["onClick"], id = { key: 0 }, rd = {
|
|
4274
4281
|
key: 2,
|
|
4275
4282
|
class: "devicesFooter px-1 flex flex-row justify-between items-center"
|
|
4276
|
-
},
|
|
4283
|
+
}, dd = { key: 0 }, cd = /* @__PURE__ */ T({
|
|
4277
4284
|
__name: "uiTable",
|
|
4278
4285
|
props: {
|
|
4279
4286
|
selectAllItemsModal: {},
|
|
@@ -4322,7 +4329,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4322
4329
|
() => n.tableActionButtons && n.tableActionButtons.length > 0
|
|
4323
4330
|
), F = A(
|
|
4324
4331
|
() => q.value || H.value || $.value
|
|
4325
|
-
),
|
|
4332
|
+
), _ = A(
|
|
4326
4333
|
() => n.paginationCurrent !== void 0 || n.paginationTotal !== void 0
|
|
4327
4334
|
), W = A(
|
|
4328
4335
|
() => n.paginationCurrent !== void 0 && n.paginationTotal !== void 0 && n.paginationTotalItems !== void 0
|
|
@@ -4340,9 +4347,9 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4340
4347
|
or: "o",
|
|
4341
4348
|
deleteAll: "Borrar todo",
|
|
4342
4349
|
filter: "Filtrar"
|
|
4343
|
-
},
|
|
4350
|
+
}, It = (h) => {
|
|
4344
4351
|
h.action === "close" ? Se.value = !1 : (Se.value = !1, n.selectAllItemsModal && o("modalAction", { modal: n.selectAllItemsModal.modalName, action: h.action }));
|
|
4345
|
-
}, nt = (h) => n.hiddenColumns && n.hiddenColumns.length > 0 ? !n.hiddenColumns.includes(h) : !0, Ne = (h) => r.value.includes(h),
|
|
4352
|
+
}, nt = (h) => n.hiddenColumns && n.hiddenColumns.length > 0 ? !n.hiddenColumns.includes(h) : !0, Ne = (h) => r.value.includes(h), _t = (h) => a.value === h, Vt = (h) => h.filter((D, z) => nt(z)), Nt = (h, D) => {
|
|
4346
4353
|
const z = [];
|
|
4347
4354
|
return Ne(h.id) && z.push("bg-gray-50"), D % 2 !== 0 && z.push("bg-gray-50"), z;
|
|
4348
4355
|
}, Rt = (h) => {
|
|
@@ -4440,9 +4447,9 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4440
4447
|
if (!c.value || !h) return;
|
|
4441
4448
|
const D = h.querySelector("thead"), z = h.querySelector("tbody");
|
|
4442
4449
|
if (!D || !z) return;
|
|
4443
|
-
const Q = D.offsetHeight,
|
|
4444
|
-
if (!
|
|
4445
|
-
const Re =
|
|
4450
|
+
const Q = D.offsetHeight, I = z.querySelector("tr");
|
|
4451
|
+
if (!I) return;
|
|
4452
|
+
const Re = I.offsetHeight, X = Q + Re * 25;
|
|
4446
4453
|
C.value = X, p.value = !0;
|
|
4447
4454
|
});
|
|
4448
4455
|
}, ye = () => {
|
|
@@ -4462,7 +4469,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4462
4469
|
h || be(() => {
|
|
4463
4470
|
he(), ye();
|
|
4464
4471
|
});
|
|
4465
|
-
}), Z([F,
|
|
4472
|
+
}), Z([F, _], () => {
|
|
4466
4473
|
be(() => {
|
|
4467
4474
|
he(), ye();
|
|
4468
4475
|
});
|
|
@@ -4476,14 +4483,14 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4476
4483
|
});
|
|
4477
4484
|
}), bl(() => {
|
|
4478
4485
|
N.value && (window.removeEventListener("resize", N.value), N.value = null);
|
|
4479
|
-
}), (h, D) => !e.loading && E.value ? (l(), s("div",
|
|
4486
|
+
}), (h, D) => !e.loading && E.value ? (l(), s("div", Dr, [
|
|
4480
4487
|
e.selectAllItemsModal ? (l(), w(Pe, {
|
|
4481
4488
|
key: 0,
|
|
4482
4489
|
title: e.selectAllItemsModal.title,
|
|
4483
4490
|
modalName: e.selectAllItemsModal.modalName,
|
|
4484
4491
|
open: Se.value,
|
|
4485
4492
|
actions: e.selectAllItemsModal.actions,
|
|
4486
|
-
onModalAction: D[0] || (D[0] = (z) =>
|
|
4493
|
+
onModalAction: D[0] || (D[0] = (z) => It(z))
|
|
4487
4494
|
}, {
|
|
4488
4495
|
default: y(() => [
|
|
4489
4496
|
B(u(e.selectAllItemsModal.content), 1)
|
|
@@ -4514,9 +4521,9 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4514
4521
|
]),
|
|
4515
4522
|
_: 1
|
|
4516
4523
|
}, 8, ["open"]),
|
|
4517
|
-
F.value ? (l(), s("div",
|
|
4518
|
-
q.value ? (l(), s("div",
|
|
4519
|
-
m(
|
|
4524
|
+
F.value ? (l(), s("div", Lr, [
|
|
4525
|
+
q.value ? (l(), s("div", Pr, [
|
|
4526
|
+
m(Br, {
|
|
4520
4527
|
"available-categories": cl.value,
|
|
4521
4528
|
literals: n.filterLiterals || Ot,
|
|
4522
4529
|
filters: n.filters,
|
|
@@ -4526,8 +4533,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4526
4533
|
loading: n.loading
|
|
4527
4534
|
}, null, 8, ["available-categories", "literals", "filters", "loading"])
|
|
4528
4535
|
])) : b("", !0),
|
|
4529
|
-
H.value || $.value ? (l(), s("div",
|
|
4530
|
-
$.value ? (l(), s("div",
|
|
4536
|
+
H.value || $.value ? (l(), s("div", Fr, [
|
|
4537
|
+
$.value ? (l(), s("div", Or, [
|
|
4531
4538
|
(l(!0), s(k, null, S(n.tableActionButtons, (z) => (l(), w(U, {
|
|
4532
4539
|
key: z.id,
|
|
4533
4540
|
loading: z.loading !== void 0 ? z.loading : n.loading,
|
|
@@ -4544,7 +4551,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4544
4551
|
_: 2
|
|
4545
4552
|
}, 1032, ["loading", "disabled", "color", "size", "icon", "onClick"]))), 128))
|
|
4546
4553
|
])) : b("", !0),
|
|
4547
|
-
H.value ? (l(), s("div",
|
|
4554
|
+
H.value ? (l(), s("div", Ir, [
|
|
4548
4555
|
m(ge, {
|
|
4549
4556
|
position: "right",
|
|
4550
4557
|
items: n.tableActionsDropdown?.items || [],
|
|
@@ -4560,16 +4567,16 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4560
4567
|
class: "flex flex-col",
|
|
4561
4568
|
style: qe(ml.value)
|
|
4562
4569
|
}, [
|
|
4563
|
-
t("div",
|
|
4564
|
-
t("div",
|
|
4565
|
-
t("div",
|
|
4566
|
-
M.value && R.value ? (l(), s("div",
|
|
4570
|
+
t("div", _r, [
|
|
4571
|
+
t("div", Vr, [
|
|
4572
|
+
t("div", Nr, [
|
|
4573
|
+
M.value && R.value ? (l(), s("div", Rr, [
|
|
4567
4574
|
(l(!0), s(k, null, S(e.actions, (z, Q) => (l(), s("button", {
|
|
4568
4575
|
key: Q,
|
|
4569
4576
|
type: "button",
|
|
4570
4577
|
class: "inline-flex items-center rounded-sm bg-lime-400 hover:bg-black px-2.5 py-1.5 text-xs font-medium text-white shadow-xs disabled:cursor-not-allowed disabled:opacity-30",
|
|
4571
|
-
onClick: (
|
|
4572
|
-
}, u(z.name), 9,
|
|
4578
|
+
onClick: (I) => Zt(z)
|
|
4579
|
+
}, u(z.name), 9, qr))), 128))
|
|
4573
4580
|
])) : b("", !0),
|
|
4574
4581
|
t("div", {
|
|
4575
4582
|
ref_key: "tableScrollContainer",
|
|
@@ -4577,7 +4584,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4577
4584
|
class: x(ul.value),
|
|
4578
4585
|
style: qe(fl.value)
|
|
4579
4586
|
}, [
|
|
4580
|
-
t("table",
|
|
4587
|
+
t("table", Hr, [
|
|
4581
4588
|
t("thead", {
|
|
4582
4589
|
class: x(gl.value)
|
|
4583
4590
|
}, [
|
|
@@ -4593,23 +4600,23 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4593
4600
|
class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded-sm border-gray-300 text-black focus:ring-lime-400",
|
|
4594
4601
|
type: "checkbox",
|
|
4595
4602
|
onChange: Wt
|
|
4596
|
-
}, null, 40,
|
|
4603
|
+
}, null, 40, Yr)) : b("", !0)
|
|
4597
4604
|
], 2),
|
|
4598
4605
|
(l(!0), s(k, null, S(me.value, (z, Q) => (l(), s("th", {
|
|
4599
4606
|
key: Q,
|
|
4600
4607
|
class: "py-3.5 pr-3 text-left font-semibold relative",
|
|
4601
4608
|
scope: "col",
|
|
4602
|
-
onMouseover: (
|
|
4603
|
-
onMouseleave: D[3] || (D[3] = (
|
|
4609
|
+
onMouseover: (I) => Kt(z.name),
|
|
4610
|
+
onMouseleave: D[3] || (D[3] = (I) => Qt())
|
|
4604
4611
|
}, [
|
|
4605
|
-
z.tooltip &&
|
|
4612
|
+
z.tooltip && _t(z.name) ? (l(), w(vr, {
|
|
4606
4613
|
key: 0,
|
|
4607
4614
|
tip: z.tooltip
|
|
4608
4615
|
}, null, 8, ["tip"])) : b("", !0),
|
|
4609
4616
|
z.value ? (l(), s("button", {
|
|
4610
4617
|
key: 1,
|
|
4611
4618
|
class: "group flex items-center uppercase text-xs relative text-nowrap",
|
|
4612
|
-
onClick: (
|
|
4619
|
+
onClick: (I) => Gt(z.value)
|
|
4613
4620
|
}, [
|
|
4614
4621
|
t("span", null, u(z.name), 1),
|
|
4615
4622
|
t("span", {
|
|
@@ -4621,13 +4628,13 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4621
4628
|
color: Ut(z.value)
|
|
4622
4629
|
}, null, 8, ["icon", "loading", "color"])
|
|
4623
4630
|
], 2)
|
|
4624
|
-
], 8,
|
|
4631
|
+
], 8, Ur)) : (l(), s("p", Zr, [
|
|
4625
4632
|
t("span", null, u(z.name), 1)
|
|
4626
4633
|
]))
|
|
4627
|
-
], 40,
|
|
4634
|
+
], 40, Er))), 128))
|
|
4628
4635
|
])
|
|
4629
4636
|
], 2),
|
|
4630
|
-
t("tbody",
|
|
4637
|
+
t("tbody", Wr, [
|
|
4631
4638
|
(l(!0), s(k, null, S(e.items, (z, Q) => (l(), s("tr", {
|
|
4632
4639
|
key: z.id,
|
|
4633
4640
|
class: x(Nt(z, Q))
|
|
@@ -4635,59 +4642,59 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4635
4642
|
t("td", {
|
|
4636
4643
|
class: x(j.value)
|
|
4637
4644
|
}, [
|
|
4638
|
-
Ne(z.id) ? (l(), s("div",
|
|
4645
|
+
Ne(z.id) ? (l(), s("div", Gr)) : b("", !0),
|
|
4639
4646
|
R.value ? L((l(), s("input", {
|
|
4640
4647
|
key: 1,
|
|
4641
|
-
"onUpdate:modelValue": D[4] || (D[4] = (
|
|
4648
|
+
"onUpdate:modelValue": D[4] || (D[4] = (I) => r.value = I),
|
|
4642
4649
|
value: z.id,
|
|
4643
4650
|
class: x(qt(z.disabled)),
|
|
4644
4651
|
type: "checkbox",
|
|
4645
4652
|
disabled: z.disabled
|
|
4646
|
-
}, null, 10,
|
|
4653
|
+
}, null, 10, Jr)), [
|
|
4647
4654
|
[yt, r.value]
|
|
4648
4655
|
]) : b("", !0)
|
|
4649
4656
|
], 2),
|
|
4650
|
-
(l(!0), s(k, null, S(Vt(z.row), (
|
|
4657
|
+
(l(!0), s(k, null, S(Vt(z.row), (I, Re) => (l(), s("td", {
|
|
4651
4658
|
key: Re,
|
|
4652
4659
|
class: x(Rt(z.id))
|
|
4653
4660
|
}, [
|
|
4654
|
-
typeof
|
|
4655
|
-
t("span",
|
|
4656
|
-
t("span",
|
|
4657
|
-
])) : typeof
|
|
4661
|
+
typeof I == "object" && I.type === "guest" ? (l(), s("div", Kr, [
|
|
4662
|
+
t("span", Qr, u(I.content), 1),
|
|
4663
|
+
t("span", Xr, u(I.email), 1)
|
|
4664
|
+
])) : typeof I == "object" && I.type === "action" ? (l(), s("button", {
|
|
4658
4665
|
key: 1,
|
|
4659
4666
|
type: "button",
|
|
4660
4667
|
class: "inline-flex items-center gap-2 px-3 py-1.5 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50 focus:outline-hidden focus:ring-2 focus:ring-lime-400 focus:ring-offset-2",
|
|
4661
|
-
onClick: (X) => de(
|
|
4668
|
+
onClick: (X) => de(I, z.id)
|
|
4662
4669
|
}, [
|
|
4663
|
-
|
|
4670
|
+
I.icon ? (l(), w(P, {
|
|
4664
4671
|
key: 0,
|
|
4665
4672
|
loading: e.loading,
|
|
4666
|
-
icon:
|
|
4673
|
+
icon: I.icon,
|
|
4667
4674
|
size: "small",
|
|
4668
4675
|
color: "gray"
|
|
4669
4676
|
}, null, 8, ["loading", "icon"])) : b("", !0),
|
|
4670
|
-
t("span", null, u(
|
|
4671
|
-
], 8,
|
|
4677
|
+
t("span", null, u(I.content), 1)
|
|
4678
|
+
], 8, ed)) : typeof I == "object" && I.type === "link" ? (l(), s("span", Le({
|
|
4672
4679
|
key: 2,
|
|
4673
4680
|
ref_for: !0
|
|
4674
|
-
}, at(
|
|
4675
|
-
onClick: (X) => de(
|
|
4681
|
+
}, at(I), {
|
|
4682
|
+
onClick: (X) => de(I, z.id)
|
|
4676
4683
|
}), [
|
|
4677
|
-
B(u(ot(
|
|
4678
|
-
|
|
4684
|
+
B(u(ot(I)) + " ", 1),
|
|
4685
|
+
I.icon ? (l(), w(P, {
|
|
4679
4686
|
key: 0,
|
|
4680
4687
|
loading: e.loading,
|
|
4681
|
-
icon:
|
|
4688
|
+
icon: I.icon,
|
|
4682
4689
|
size: "small",
|
|
4683
4690
|
color: "gray",
|
|
4684
4691
|
class: "inline-block ml-1"
|
|
4685
4692
|
}, null, 8, ["loading", "icon"])) : b("", !0)
|
|
4686
|
-
], 16,
|
|
4687
|
-
t("span", null, u(
|
|
4693
|
+
], 16, td)) : typeof I == "object" && I.type === "apiKey" ? (l(), s("div", ld, [
|
|
4694
|
+
t("span", null, u(I.content), 1),
|
|
4688
4695
|
t("button", {
|
|
4689
4696
|
type: "button",
|
|
4690
|
-
onClick: (X) => de({ type: "action", action: "reveal", value:
|
|
4697
|
+
onClick: (X) => de({ type: "action", action: "reveal", value: I.value }, z.id),
|
|
4691
4698
|
class: "inline-flex items-center p-1 text-gray-500 hover:text-gray-700 focus:outline-hidden"
|
|
4692
4699
|
}, [
|
|
4693
4700
|
m(P, {
|
|
@@ -4696,10 +4703,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4696
4703
|
size: "small",
|
|
4697
4704
|
color: "gray"
|
|
4698
4705
|
}, null, 8, ["loading", "icon"])
|
|
4699
|
-
], 8,
|
|
4706
|
+
], 8, sd),
|
|
4700
4707
|
t("button", {
|
|
4701
4708
|
type: "button",
|
|
4702
|
-
onClick: (X) => de({ type: "action", action: "copy", value:
|
|
4709
|
+
onClick: (X) => de({ type: "action", action: "copy", value: I.value }, z.id),
|
|
4703
4710
|
class: "inline-flex items-center p-1 text-gray-500 hover:text-gray-700 focus:outline-hidden"
|
|
4704
4711
|
}, [
|
|
4705
4712
|
m(P, {
|
|
@@ -4708,12 +4715,12 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4708
4715
|
size: "small",
|
|
4709
4716
|
color: "gray"
|
|
4710
4717
|
}, null, 8, ["loading", "icon"])
|
|
4711
|
-
], 8,
|
|
4712
|
-
])) : typeof
|
|
4713
|
-
(l(!0), s(k, null, S(
|
|
4718
|
+
], 8, nd)
|
|
4719
|
+
])) : typeof I == "object" && I.type === "actions" && Array.isArray(I.actions) ? (l(), s("div", ad, [
|
|
4720
|
+
(l(!0), s(k, null, S(I.actions, (X, hl) => (l(), s("button", {
|
|
4714
4721
|
key: hl,
|
|
4715
4722
|
type: "button",
|
|
4716
|
-
onClick: (
|
|
4723
|
+
onClick: (pg) => de({ type: "action", action: X.action }, z.id),
|
|
4717
4724
|
class: x(X.action === "viewCode" ? "inline-flex items-center gap-1 px-3 py-1.5 text-sm font-medium text-gray-700 bg-white border border-gray-300 rounded-md hover:bg-gray-50 focus:outline-hidden focus:ring-2 focus:ring-lime-400 focus:ring-offset-2" : "inline-flex items-center p-1 text-gray-500 hover:text-gray-700 focus:outline-hidden")
|
|
4718
4725
|
}, [
|
|
4719
4726
|
m(P, {
|
|
@@ -4722,17 +4729,17 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4722
4729
|
size: "small",
|
|
4723
4730
|
color: "gray"
|
|
4724
4731
|
}, null, 8, ["loading", "icon"]),
|
|
4725
|
-
X.action === "viewCode" ? (l(), s("span",
|
|
4726
|
-
], 10,
|
|
4727
|
-
])) : (l(), w(Fe(Yt(
|
|
4732
|
+
X.action === "viewCode" ? (l(), s("span", id, "View Code")) : b("", !0)
|
|
4733
|
+
], 10, od))), 128))
|
|
4734
|
+
])) : (l(), w(Fe(Yt(I)), Le({
|
|
4728
4735
|
key: 5,
|
|
4729
4736
|
ref_for: !0
|
|
4730
|
-
}, at(
|
|
4731
|
-
onClick: (X) => de(
|
|
4732
|
-
onTagEvent: (X) => Jt(
|
|
4737
|
+
}, at(I), {
|
|
4738
|
+
onClick: (X) => de(I),
|
|
4739
|
+
onTagEvent: (X) => Jt(I)
|
|
4733
4740
|
}), {
|
|
4734
4741
|
default: y(() => [
|
|
4735
|
-
B(u(ot(
|
|
4742
|
+
B(u(ot(I)), 1)
|
|
4736
4743
|
]),
|
|
4737
4744
|
_: 2
|
|
4738
4745
|
}, 1040, ["onClick", "onTagEvent"]))
|
|
@@ -4745,8 +4752,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4745
4752
|
])
|
|
4746
4753
|
])
|
|
4747
4754
|
], 4),
|
|
4748
|
-
|
|
4749
|
-
le.value ? (l(), s("div",
|
|
4755
|
+
_.value ? (l(), s("div", rd, [
|
|
4756
|
+
le.value ? (l(), s("div", dd, [
|
|
4750
4757
|
m(ge, {
|
|
4751
4758
|
verticalPosition: "top",
|
|
4752
4759
|
items: st.value,
|
|
@@ -4798,10 +4805,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4798
4805
|
onNoResultsOptionSelected: rl
|
|
4799
4806
|
}, null, 8, ["title", "message", "actions", "items", "select"])) : (l(), w(Lt, { key: 2 }));
|
|
4800
4807
|
}
|
|
4801
|
-
}),
|
|
4808
|
+
}), ud = { class: "lg:hidden" }, gd = ["value"], md = { class: "hidden lg:block overflow-x-auto" }, fd = { class: "border-b border-gray-200" }, hd = {
|
|
4802
4809
|
class: "-mb-px flex space-x-8",
|
|
4803
4810
|
"aria-label": "Tabs"
|
|
4804
|
-
},
|
|
4811
|
+
}, yd = ["onClick", "aria-current"], bd = /* @__PURE__ */ T({
|
|
4805
4812
|
__name: "uiTabs",
|
|
4806
4813
|
props: {
|
|
4807
4814
|
tabs: {}
|
|
@@ -4813,7 +4820,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4813
4820
|
r.value && i("tabClicked", r.value);
|
|
4814
4821
|
};
|
|
4815
4822
|
return (n, r) => (l(), s("div", null, [
|
|
4816
|
-
t("div",
|
|
4823
|
+
t("div", ud, [
|
|
4817
4824
|
t("select", {
|
|
4818
4825
|
onChange: r[0] || (r[0] = (a) => o(a)),
|
|
4819
4826
|
id: "tabs",
|
|
@@ -4823,12 +4830,12 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4823
4830
|
(l(!0), s(k, null, S(e.tabs, (a) => (l(), s("option", {
|
|
4824
4831
|
value: a.id,
|
|
4825
4832
|
key: a.name
|
|
4826
|
-
}, u(a.name), 9,
|
|
4833
|
+
}, u(a.name), 9, gd))), 128))
|
|
4827
4834
|
], 32)
|
|
4828
4835
|
]),
|
|
4829
|
-
t("div",
|
|
4830
|
-
t("div",
|
|
4831
|
-
t("nav",
|
|
4836
|
+
t("div", md, [
|
|
4837
|
+
t("div", fd, [
|
|
4838
|
+
t("nav", hd, [
|
|
4832
4839
|
(l(!0), s(k, null, S(e.tabs, (a) => (l(), s("a", {
|
|
4833
4840
|
key: a.name,
|
|
4834
4841
|
onClick: (d) => i("tabClicked", a.id),
|
|
@@ -4846,36 +4853,36 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4846
4853
|
"hidden ml-3 py-0.5 px-2.5 rounded-full text-xs font-medium md:inline-block"
|
|
4847
4854
|
])
|
|
4848
4855
|
}, u(a.count), 3)) : b("", !0)
|
|
4849
|
-
], 10,
|
|
4856
|
+
], 10, yd))), 128))
|
|
4850
4857
|
])
|
|
4851
4858
|
])
|
|
4852
4859
|
])
|
|
4853
4860
|
]));
|
|
4854
4861
|
}
|
|
4855
|
-
}),
|
|
4862
|
+
}), vd = { class: "px-4 py-5 sm:px-6" }, xd = { class: "text-xl font-bold" }, pd = {
|
|
4856
4863
|
key: 0,
|
|
4857
4864
|
class: "px-4 py-5 sm:p-6"
|
|
4858
|
-
},
|
|
4865
|
+
}, wd = { class: "flow-root" }, kd = { class: "relative pb-8" }, $d = {
|
|
4859
4866
|
key: 0,
|
|
4860
4867
|
class: "absolute left-4 top-4 -ml-px h-full w-0.5 bg-gray-200",
|
|
4861
4868
|
"aria-hidden": "true"
|
|
4862
|
-
},
|
|
4869
|
+
}, Cd = { class: "relative flex space-x-3" }, Sd = { class: "min-w-0 flex-1 pt-1.5 flex justify-between space-x-4 items-center" }, Bd = { class: "text-sm text-gray-500" }, Md = ["onClick"], zd = { class: "text-right text-sm whitespace-nowrap text-gray-500" }, jd = ["datetime"], Ad = {
|
|
4863
4870
|
key: 1,
|
|
4864
4871
|
class: "bg-lime-50 px-4 py-4 sm:px-6 z-10"
|
|
4865
|
-
},
|
|
4872
|
+
}, Td = { class: "text-sm" }, Dd = {
|
|
4866
4873
|
key: 2,
|
|
4867
4874
|
class: "h-full w-full flex items-center justify-center flex-col px-4 py-5 sm:p-6"
|
|
4868
|
-
},
|
|
4875
|
+
}, Ld = {
|
|
4869
4876
|
key: 1,
|
|
4870
4877
|
class: "bg-white overflow-hidden shadow-sm rounded-lg"
|
|
4871
|
-
},
|
|
4878
|
+
}, Pd = { class: "px-4 py-5 sm:p-6 animate-pulse" }, Fd = { class: "flow-root" }, Od = {
|
|
4872
4879
|
class: "-mb-8",
|
|
4873
4880
|
role: "list"
|
|
4874
|
-
},
|
|
4881
|
+
}, Id = { class: "relative pb-8" }, _d = {
|
|
4875
4882
|
key: 0,
|
|
4876
4883
|
class: "absolute left-4 top-4 -ml-px h-full w-0.5 bg-gray-200",
|
|
4877
4884
|
"aria-hidden": "true"
|
|
4878
|
-
},
|
|
4885
|
+
}, Vd = /* @__PURE__ */ T({
|
|
4879
4886
|
__name: "uiTimeline",
|
|
4880
4887
|
props: {
|
|
4881
4888
|
name: {},
|
|
@@ -4887,18 +4894,18 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4887
4894
|
emits: ["timelineEventClicked", "timelineFooterClicked"],
|
|
4888
4895
|
setup(e, { emit: g }) {
|
|
4889
4896
|
const o = ke(e.timeline);
|
|
4890
|
-
return (n, r) => e.loading ? (l(), s("div",
|
|
4897
|
+
return (n, r) => e.loading ? (l(), s("div", Ld, [
|
|
4891
4898
|
r[3] || (r[3] = t("div", { class: "px-4 py-5 sm:px-6 animate-pulse" }, [
|
|
4892
4899
|
t("h1", { class: "text-xl font-bold" }, [
|
|
4893
4900
|
t("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4" })
|
|
4894
4901
|
])
|
|
4895
4902
|
], -1)),
|
|
4896
|
-
t("div",
|
|
4897
|
-
t("div",
|
|
4898
|
-
t("ul",
|
|
4903
|
+
t("div", Pd, [
|
|
4904
|
+
t("div", Fd, [
|
|
4905
|
+
t("ul", Od, [
|
|
4899
4906
|
(l(), s(k, null, S(10, (a, d) => t("li", { key: d }, [
|
|
4900
|
-
t("div",
|
|
4901
|
-
a !== 10 ? (l(), s("span",
|
|
4907
|
+
t("div", Id, [
|
|
4908
|
+
a !== 10 ? (l(), s("span", _d)) : b("", !0),
|
|
4902
4909
|
r[2] || (r[2] = ee('<div class="relative flex space-x-3"><div><span class="h-8 w-8 rounded-full bg-gray-300 flex items-center justify-center ring-4 ring-white"></span></div><div class="min-w-0 flex-1 pt-1.5 flex justify-between space-x-4 items-center"><div><div class="text-sm text-gray-500 flex-1"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-full"></div></div></div><div class="text-right text-sm whitespace-nowrap text-gray-500 flex-1"><div class="h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/4"></div></div></div></div>', 1))
|
|
4903
4910
|
])
|
|
4904
4911
|
])), 64))
|
|
@@ -4914,11 +4921,11 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4914
4921
|
key: 0,
|
|
4915
4922
|
class: x(["h-[" + e.height + "px]", "bg-white overflow-hidden shadow-sm rounded-lg"])
|
|
4916
4923
|
}, [
|
|
4917
|
-
t("div",
|
|
4918
|
-
t("h1",
|
|
4924
|
+
t("div", vd, [
|
|
4925
|
+
t("h1", xd, u(e.name), 1)
|
|
4919
4926
|
]),
|
|
4920
|
-
o.items.length > 0 ? (l(), s("div",
|
|
4921
|
-
t("div",
|
|
4927
|
+
o.items.length > 0 ? (l(), s("div", pd, [
|
|
4928
|
+
t("div", wd, [
|
|
4922
4929
|
m(vl, {
|
|
4923
4930
|
name: "list",
|
|
4924
4931
|
tag: "ul",
|
|
@@ -4926,9 +4933,9 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4926
4933
|
}, {
|
|
4927
4934
|
default: y(() => [
|
|
4928
4935
|
(l(!0), s(k, null, S(o.items, (a, d) => (l(), s("li", { key: d }, [
|
|
4929
|
-
t("div",
|
|
4930
|
-
d < o.items.length - 1 ? (l(), s("span",
|
|
4931
|
-
t("div",
|
|
4936
|
+
t("div", kd, [
|
|
4937
|
+
d < o.items.length - 1 ? (l(), s("span", $d)) : b("", !0),
|
|
4938
|
+
t("div", Cd, [
|
|
4932
4939
|
t("div", null, [
|
|
4933
4940
|
t("span", {
|
|
4934
4941
|
class: x([{
|
|
@@ -4946,20 +4953,20 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4946
4953
|
}, null, 8, ["loading", "icon"])
|
|
4947
4954
|
], 2)
|
|
4948
4955
|
]),
|
|
4949
|
-
t("div",
|
|
4956
|
+
t("div", Sd, [
|
|
4950
4957
|
t("div", null, [
|
|
4951
|
-
t("p",
|
|
4958
|
+
t("p", Bd, [
|
|
4952
4959
|
t("a", {
|
|
4953
4960
|
onClick: (c) => n.$emit("timelineEventClicked", a.linkId),
|
|
4954
4961
|
class: "font-medium text-black hover:text-lime-400 cursor-pointer"
|
|
4955
|
-
}, u(a?.target), 9,
|
|
4962
|
+
}, u(a?.target), 9, Md),
|
|
4956
4963
|
B(" " + u(a?.content), 1)
|
|
4957
4964
|
])
|
|
4958
4965
|
]),
|
|
4959
|
-
t("div",
|
|
4966
|
+
t("div", zd, [
|
|
4960
4967
|
t("time", {
|
|
4961
4968
|
datetime: a?.datetime
|
|
4962
|
-
}, u(a?.date), 9,
|
|
4969
|
+
}, u(a?.date), 9, jd)
|
|
4963
4970
|
])
|
|
4964
4971
|
])
|
|
4965
4972
|
])
|
|
@@ -4970,14 +4977,14 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4970
4977
|
})
|
|
4971
4978
|
])
|
|
4972
4979
|
])) : b("", !0),
|
|
4973
|
-
o.items.length > 0 ? (l(), s("div",
|
|
4974
|
-
t("div",
|
|
4980
|
+
o.items.length > 0 ? (l(), s("div", Ad, [
|
|
4981
|
+
t("div", Td, [
|
|
4975
4982
|
t("a", {
|
|
4976
4983
|
class: "cursor-pointer font-medium text-black hover:text-lime-400",
|
|
4977
4984
|
onClick: r[0] || (r[0] = (a) => n.$emit("timelineFooterClicked", e.timeline.id))
|
|
4978
4985
|
}, u(e.timeline.footerText), 1)
|
|
4979
4986
|
])
|
|
4980
|
-
])) : (l(), s("div",
|
|
4987
|
+
])) : (l(), s("div", Dd, [
|
|
4981
4988
|
m(P, {
|
|
4982
4989
|
icon: f(te),
|
|
4983
4990
|
color: "gray",
|
|
@@ -4988,10 +4995,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
4988
4995
|
]))
|
|
4989
4996
|
], 2));
|
|
4990
4997
|
}
|
|
4991
|
-
}),
|
|
4998
|
+
}), Nd = { class: "mx-auto px-6 lg:px-8" }, Rd = { class: "flex justify-between h-20" }, qd = { class: "flex" }, Hd = { class: "-ml-2 mr-2 flex items-center lg:hidden" }, Yd = ["src"], Ed = { class: "flex items-center" }, Ud = { class: "lg:ml-4 lg:shrink-0 lg:flex lg:items-center hidden" }, Zd = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute top-0 -left-1" }, Wd = ["src"], Gd = ["onClick"], Jd = { class: "pt-2 pb-3 space-y-1" }, Kd = ["onClick"], Qd = { class: "pt-4 pb-3 border-t border-gray-200" }, Xd = { class: "flex items-center px-4 sm:px-6" }, ec = { class: "shrink-0" }, tc = ["src"], lc = {
|
|
4992
4999
|
key: 0,
|
|
4993
5000
|
class: "ml-3"
|
|
4994
|
-
},
|
|
5001
|
+
}, sc = { class: "text-base font-medium text-gray-800" }, nc = { class: "text-sm font-medium text-gray-500" }, ac = { class: "mt-3 space-y-1" }, oc = ["onClick"], ic = /* @__PURE__ */ T({
|
|
4995
5002
|
__name: "uiTopbar",
|
|
4996
5003
|
props: {
|
|
4997
5004
|
logo: {},
|
|
@@ -5004,15 +5011,15 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5004
5011
|
emits: ["topBarClick"],
|
|
5005
5012
|
setup(e, { emit: g }) {
|
|
5006
5013
|
const i = e, o = A(() => i.navigation ? Array.isArray(i.navigation) ? i.navigation : [i.navigation] : []);
|
|
5007
|
-
return (n, r) => (l(), w(f(
|
|
5014
|
+
return (n, r) => (l(), w(f(Ie), {
|
|
5008
5015
|
as: "nav",
|
|
5009
5016
|
class: "bg-white shadow-sm z-10"
|
|
5010
5017
|
}, {
|
|
5011
5018
|
default: y(({ open: a }) => [
|
|
5012
|
-
t("div",
|
|
5013
|
-
t("div",
|
|
5014
|
-
t("div",
|
|
5015
|
-
t("div",
|
|
5019
|
+
t("div", Nd, [
|
|
5020
|
+
t("div", Rd, [
|
|
5021
|
+
t("div", qd, [
|
|
5022
|
+
t("div", Hd, [
|
|
5016
5023
|
m(f(se), { class: "inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-hidden focus:ring-2 focus:ring-inset focus:ring-indigo-500" }, {
|
|
5017
5024
|
default: y(() => [
|
|
5018
5025
|
r[1] || (r[1] = t("span", { class: "sr-only" }, "Open main menu", -1)),
|
|
@@ -5037,11 +5044,11 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5037
5044
|
class: "h-10",
|
|
5038
5045
|
src: e.logo,
|
|
5039
5046
|
alt: "Hotelinking suite product logo"
|
|
5040
|
-
}, null, 8,
|
|
5047
|
+
}, null, 8, Yd)
|
|
5041
5048
|
])
|
|
5042
5049
|
]),
|
|
5043
|
-
t("div",
|
|
5044
|
-
t("div",
|
|
5050
|
+
t("div", Ed, [
|
|
5051
|
+
t("div", Ud, [
|
|
5045
5052
|
m(f(Ze), {
|
|
5046
5053
|
as: "div",
|
|
5047
5054
|
class: "ml-3 relative"
|
|
@@ -5050,7 +5057,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5050
5057
|
t("div", null, [
|
|
5051
5058
|
L(m(f(We), { class: "bg-white rounded-full flex text-sm focus:outline-hidden focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 relative" }, {
|
|
5052
5059
|
default: y(() => [
|
|
5053
|
-
L(t("div",
|
|
5060
|
+
L(t("div", Zd, [...r[2] || (r[2] = [
|
|
5054
5061
|
t("span", { class: "animate-ping absolute inline-flex h-4 w-4 bg-red-500 rounded-full opacity-75" }, null, -1)
|
|
5055
5062
|
])], 512), [
|
|
5056
5063
|
[O, e.alerted]
|
|
@@ -5058,7 +5065,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5058
5065
|
t("img", {
|
|
5059
5066
|
class: "h-10 w-10 rounded-full",
|
|
5060
5067
|
src: e.accountLogo
|
|
5061
|
-
}, null, 8,
|
|
5068
|
+
}, null, 8, Wd)
|
|
5062
5069
|
]),
|
|
5063
5070
|
_: 1
|
|
5064
5071
|
}, 512), [
|
|
@@ -5086,7 +5093,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5086
5093
|
c ? "bg-gray-100" : "",
|
|
5087
5094
|
"block px-4 py-2 text-sm text-gray-700"
|
|
5088
5095
|
]])
|
|
5089
|
-
}, u(d.name), 11,
|
|
5096
|
+
}, u(d.name), 11, Gd)
|
|
5090
5097
|
]),
|
|
5091
5098
|
_: 2
|
|
5092
5099
|
}, 1024))), 128))
|
|
@@ -5103,9 +5110,9 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5103
5110
|
])
|
|
5104
5111
|
])
|
|
5105
5112
|
]),
|
|
5106
|
-
m(f(
|
|
5113
|
+
m(f(_e), { class: "lg:hidden" }, {
|
|
5107
5114
|
default: y(() => [
|
|
5108
|
-
t("div",
|
|
5115
|
+
t("div", Jd, [
|
|
5109
5116
|
(l(!0), s(k, null, S(o.value, (d) => (l(), w(f(se), {
|
|
5110
5117
|
as: "template",
|
|
5111
5118
|
key: d.id,
|
|
@@ -5117,25 +5124,25 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5117
5124
|
default: y(() => [
|
|
5118
5125
|
t("p", {
|
|
5119
5126
|
onClick: (c) => n.$emit("topBarClick", d.id)
|
|
5120
|
-
}, u(d.name), 9,
|
|
5127
|
+
}, u(d.name), 9, Kd)
|
|
5121
5128
|
]),
|
|
5122
5129
|
_: 2
|
|
5123
5130
|
}, 1032, ["class"]))), 128))
|
|
5124
5131
|
]),
|
|
5125
|
-
t("div",
|
|
5126
|
-
t("div",
|
|
5127
|
-
t("div",
|
|
5132
|
+
t("div", Qd, [
|
|
5133
|
+
t("div", Xd, [
|
|
5134
|
+
t("div", ec, [
|
|
5128
5135
|
t("img", {
|
|
5129
5136
|
class: "h-10 w-10 rounded-full",
|
|
5130
5137
|
src: e.accountLogo
|
|
5131
|
-
}, null, 8,
|
|
5138
|
+
}, null, 8, tc)
|
|
5132
5139
|
]),
|
|
5133
|
-
e.brand ? (l(), s("div",
|
|
5134
|
-
t("div",
|
|
5135
|
-
t("div",
|
|
5140
|
+
e.brand ? (l(), s("div", lc, [
|
|
5141
|
+
t("div", sc, u(e.brand.title), 1),
|
|
5142
|
+
t("div", nc, u(e.brand.subtitle), 1)
|
|
5136
5143
|
])) : b("", !0)
|
|
5137
5144
|
]),
|
|
5138
|
-
t("div",
|
|
5145
|
+
t("div", ac, [
|
|
5139
5146
|
(l(!0), s(k, null, S(e.profileMenu, (d) => (l(), w(f(se), {
|
|
5140
5147
|
as: "template",
|
|
5141
5148
|
key: d.name,
|
|
@@ -5144,7 +5151,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5144
5151
|
default: y(() => [
|
|
5145
5152
|
t("p", {
|
|
5146
5153
|
onClick: (c) => n.$emit("topBarClick", d.id)
|
|
5147
|
-
}, u(d.name), 9,
|
|
5154
|
+
}, u(d.name), 9, oc)
|
|
5148
5155
|
]),
|
|
5149
5156
|
_: 2
|
|
5150
5157
|
}, 1024))), 128))
|
|
@@ -5157,7 +5164,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5157
5164
|
_: 1
|
|
5158
5165
|
}));
|
|
5159
5166
|
}
|
|
5160
|
-
}),
|
|
5167
|
+
}), rc = { class: "chart-selector flex flex-row items-center justify-center" }, dc = /* @__PURE__ */ T({
|
|
5161
5168
|
__name: "RangeSelector",
|
|
5162
5169
|
props: { range: { type: String } },
|
|
5163
5170
|
emits: ["rangeSelected"],
|
|
@@ -5167,7 +5174,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5167
5174
|
const r = (a) => {
|
|
5168
5175
|
n = a, i("rangeSelected", a);
|
|
5169
5176
|
};
|
|
5170
|
-
return (a, d) => (l(), s("ul",
|
|
5177
|
+
return (a, d) => (l(), s("ul", rc, [
|
|
5171
5178
|
t("li", {
|
|
5172
5179
|
class: x({ selected: f(n) === "24h" }),
|
|
5173
5180
|
onClick: d[0] || (d[0] = (c) => r("24h"))
|
|
@@ -5186,7 +5193,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5186
5193
|
}, "3M", 2)
|
|
5187
5194
|
]));
|
|
5188
5195
|
}
|
|
5189
|
-
}),
|
|
5196
|
+
}), cc = { class: "chart-header flex flex-row justify-between" }, uc = { class: "text-sm font-medium text-gray-500 truncate" }, gc = { class: "chart-content" }, mc = { class: "h-full w-full flex items-center justify-center flex-col" }, fc = { class: "card chart apex-chart px-4 py-5 bg-white shadow-sm rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, hc = /* @__PURE__ */ T({
|
|
5190
5197
|
__name: "uiFunnelChartV2",
|
|
5191
5198
|
props: {
|
|
5192
5199
|
labels: {},
|
|
@@ -5251,14 +5258,14 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5251
5258
|
L(t("div", {
|
|
5252
5259
|
class: x(["h-[" + e.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow-sm rounded-lg overflow-hidden sm:p-6 flex grow"])
|
|
5253
5260
|
}, [
|
|
5254
|
-
t("div",
|
|
5255
|
-
t("div",
|
|
5256
|
-
m(
|
|
5261
|
+
t("div", cc, [
|
|
5262
|
+
t("div", uc, u(e.title), 1),
|
|
5263
|
+
m(dc, {
|
|
5257
5264
|
range: e.range,
|
|
5258
5265
|
onRangeSelected: p[0] || (p[0] = (C) => v.$emit("selectedRange", { range: C, chartId: e.id }))
|
|
5259
5266
|
}, null, 8, ["range"])
|
|
5260
5267
|
]),
|
|
5261
|
-
L(t("div",
|
|
5268
|
+
L(t("div", gc, [
|
|
5262
5269
|
m(tt, {
|
|
5263
5270
|
type: e.type,
|
|
5264
5271
|
series: a.value,
|
|
@@ -5272,7 +5279,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5272
5279
|
], 512), [
|
|
5273
5280
|
[O, !e.empty]
|
|
5274
5281
|
]),
|
|
5275
|
-
L(t("div",
|
|
5282
|
+
L(t("div", mc, [
|
|
5276
5283
|
m(P, {
|
|
5277
5284
|
icon: f(te),
|
|
5278
5285
|
color: "gray",
|
|
@@ -5286,7 +5293,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5286
5293
|
], 2), [
|
|
5287
5294
|
[O, !e.loading]
|
|
5288
5295
|
]),
|
|
5289
|
-
L(t("div",
|
|
5296
|
+
L(t("div", fc, [...p[2] || (p[2] = [
|
|
5290
5297
|
t("div", {
|
|
5291
5298
|
role: "status",
|
|
5292
5299
|
class: "w-full animate-pulse h-full flex flex-col"
|
|
@@ -5317,7 +5324,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5317
5324
|
])
|
|
5318
5325
|
], 64));
|
|
5319
5326
|
}
|
|
5320
|
-
}),
|
|
5327
|
+
}), yc = { class: "fixed inset-0 overflow-hidden" }, bc = { class: "absolute inset-0 overflow-hidden" }, vc = { class: "pointer-events-none fixed inset-y-0 right-0 flex max-w-full pl-10" }, xc = { class: "flex h-full flex-col overflow-y-scroll bg-white shadow-xl" }, pc = { class: "bg-lime-400 px-4 py-6 sm:px-6" }, wc = { class: "flex items-center justify-between" }, kc = { class: "ml-3 flex h-7 items-center" }, $c = { class: "mt-1" }, Cc = { class: "text-sm" }, Sc = { class: "relative flex-1 px-4 py-6 sm:px-6" }, Bc = /* @__PURE__ */ T({
|
|
5321
5328
|
__name: "uiRightSidebar",
|
|
5322
5329
|
props: {
|
|
5323
5330
|
title: {},
|
|
@@ -5338,9 +5345,9 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5338
5345
|
}, {
|
|
5339
5346
|
default: y(() => [
|
|
5340
5347
|
o[4] || (o[4] = t("div", { class: "fixed inset-0" }, null, -1)),
|
|
5341
|
-
t("div",
|
|
5342
|
-
t("div",
|
|
5343
|
-
t("div",
|
|
5348
|
+
t("div", yc, [
|
|
5349
|
+
t("div", bc, [
|
|
5350
|
+
t("div", vc, [
|
|
5344
5351
|
m(f(ce), {
|
|
5345
5352
|
as: "template",
|
|
5346
5353
|
enter: "transform transition ease-in-out duration-500 sm:duration-700",
|
|
@@ -5353,16 +5360,16 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5353
5360
|
default: y(() => [
|
|
5354
5361
|
m(f(Xe), { class: "pointer-events-auto w-screen max-w-md" }, {
|
|
5355
5362
|
default: y(() => [
|
|
5356
|
-
t("div",
|
|
5357
|
-
t("div",
|
|
5358
|
-
t("div",
|
|
5363
|
+
t("div", xc, [
|
|
5364
|
+
t("div", pc, [
|
|
5365
|
+
t("div", wc, [
|
|
5359
5366
|
m(f(Ct), { class: "text-base font-semibold leading-6" }, {
|
|
5360
5367
|
default: y(() => [
|
|
5361
5368
|
B(u(e.title), 1)
|
|
5362
5369
|
]),
|
|
5363
5370
|
_: 1
|
|
5364
5371
|
}),
|
|
5365
|
-
t("div",
|
|
5372
|
+
t("div", kc, [
|
|
5366
5373
|
t("button", {
|
|
5367
5374
|
type: "button",
|
|
5368
5375
|
class: "relative rounded-md hover:bg-black hover:text-white outline-hidden",
|
|
@@ -5377,11 +5384,11 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5377
5384
|
])
|
|
5378
5385
|
])
|
|
5379
5386
|
]),
|
|
5380
|
-
t("div",
|
|
5381
|
-
t("p",
|
|
5387
|
+
t("div", $c, [
|
|
5388
|
+
t("p", Cc, u(e.description), 1)
|
|
5382
5389
|
])
|
|
5383
5390
|
]),
|
|
5384
|
-
t("div",
|
|
5391
|
+
t("div", Sc, [
|
|
5385
5392
|
G(i.$slots, "default")
|
|
5386
5393
|
])
|
|
5387
5394
|
])
|
|
@@ -5401,15 +5408,15 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5401
5408
|
_: 3
|
|
5402
5409
|
}, 8, ["show"]));
|
|
5403
5410
|
}
|
|
5404
|
-
}),
|
|
5411
|
+
}), Mc = { class: "uiGallery" }, zc = {
|
|
5405
5412
|
key: 1,
|
|
5406
5413
|
role: "list",
|
|
5407
5414
|
class: "grid grid-cols-2 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-4 lg:grid-cols-6"
|
|
5408
|
-
},
|
|
5415
|
+
}, jc = { 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" }, Ac = ["src"], Tc = ["onClick"], Dc = { class: "pointer-events-none mt-2 block truncate text-sm font-medium text-gray-900" }, Lc = { class: "flex items-center justify-between" }, Pc = { class: "pointer-events-none block text-sm font-medium" }, Fc = {
|
|
5409
5416
|
key: 2,
|
|
5410
5417
|
role: "list",
|
|
5411
5418
|
class: "grid grid-cols-2 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-4 lg:grid-cols-6"
|
|
5412
|
-
},
|
|
5419
|
+
}, Oc = /* @__PURE__ */ T({
|
|
5413
5420
|
__name: "uiGallery",
|
|
5414
5421
|
props: {
|
|
5415
5422
|
galleryId: {},
|
|
@@ -5422,7 +5429,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5422
5429
|
const i = g, o = V(!1), n = (r) => {
|
|
5423
5430
|
o.value = !1, i("modalAction", r);
|
|
5424
5431
|
};
|
|
5425
|
-
return (r, a) => (l(), s("div",
|
|
5432
|
+
return (r, a) => (l(), s("div", Mc, [
|
|
5426
5433
|
e.loading ? b("", !0) : (l(), w(Pe, {
|
|
5427
5434
|
key: 0,
|
|
5428
5435
|
open: o.value,
|
|
@@ -5437,32 +5444,32 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5437
5444
|
]),
|
|
5438
5445
|
_: 1
|
|
5439
5446
|
}, 8, ["open", "title", "actions"])),
|
|
5440
|
-
e.loading ? (l(), s("ul",
|
|
5447
|
+
e.loading ? (l(), s("ul", Fc, [
|
|
5441
5448
|
(l(), s(k, null, S(4, (d) => t("li", null, [...a[2] || (a[2] = [
|
|
5442
5449
|
t("div", { class: "group aspect-h-7 aspect-w-10 block w-full overflow-hidden rounded-lg bg-gray-200 animate-pulse dark:bg-gray-200 focus-within:ring-2 focus-within:ring-lime-400 focus-within:ring-offset-2 focus-within:ring-offset-gray-100" }, null, -1),
|
|
5443
5450
|
t("p", { class: "animate-pulse h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-28 mt-4" }, null, -1),
|
|
5444
5451
|
t("p", { class: "animate-pulse h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-14 mt-2" }, null, -1)
|
|
5445
5452
|
])])), 64))
|
|
5446
|
-
])) : (l(), s("ul",
|
|
5453
|
+
])) : (l(), s("ul", zc, [
|
|
5447
5454
|
(l(!0), s(k, null, S(e.gallery, (d) => (l(), s("li", {
|
|
5448
5455
|
key: d.source,
|
|
5449
5456
|
class: "relative"
|
|
5450
5457
|
}, [
|
|
5451
|
-
t("div",
|
|
5458
|
+
t("div", jc, [
|
|
5452
5459
|
t("img", {
|
|
5453
5460
|
src: d.source,
|
|
5454
5461
|
alt: "",
|
|
5455
5462
|
class: "pointer-events-none object-cover group-hover:opacity-75"
|
|
5456
|
-
}, null, 8,
|
|
5463
|
+
}, null, 8, Ac),
|
|
5457
5464
|
t("button", {
|
|
5458
5465
|
type: "button",
|
|
5459
5466
|
class: "absolute inset-0 focus:outline-hidden",
|
|
5460
5467
|
onClick: (c) => r.$emit("imgClicked", d)
|
|
5461
|
-
}, null, 8,
|
|
5468
|
+
}, null, 8, Tc)
|
|
5462
5469
|
]),
|
|
5463
|
-
t("p",
|
|
5464
|
-
t("div",
|
|
5465
|
-
t("p",
|
|
5470
|
+
t("p", Dc, u(d.title), 1),
|
|
5471
|
+
t("div", Lc, [
|
|
5472
|
+
t("p", Pc, u(d.size), 1),
|
|
5466
5473
|
m(P, {
|
|
5467
5474
|
class: "cursor-pointer",
|
|
5468
5475
|
icon: f(pe),
|
|
@@ -5488,10 +5495,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5488
5495
|
})) : b("", !0)
|
|
5489
5496
|
]));
|
|
5490
5497
|
}
|
|
5491
|
-
}),
|
|
5498
|
+
}), Ic = {
|
|
5492
5499
|
key: 1,
|
|
5493
5500
|
class: "animate-pulse"
|
|
5494
|
-
},
|
|
5501
|
+
}, _c = /* @__PURE__ */ T({
|
|
5495
5502
|
__name: "DraggableWrapper",
|
|
5496
5503
|
emits: ["update:modelValue"],
|
|
5497
5504
|
setup(e) {
|
|
@@ -5512,17 +5519,17 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5512
5519
|
G(i.$slots, "default")
|
|
5513
5520
|
]),
|
|
5514
5521
|
_: 3
|
|
5515
|
-
}, 16)) : (l(), s("div",
|
|
5522
|
+
}, 16)) : (l(), s("div", Ic, [...o[1] || (o[1] = [
|
|
5516
5523
|
t("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-xs" }, null, -1),
|
|
5517
5524
|
t("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-xs" }, null, -1),
|
|
5518
5525
|
t("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-xs" }, null, -1)
|
|
5519
5526
|
])]))
|
|
5520
5527
|
]));
|
|
5521
5528
|
}
|
|
5522
|
-
}),
|
|
5529
|
+
}), Vc = { class: "cursor-move mb-1 relative flex items-center space-x-3 rounded-lg border border-gray-300 bg-white p-4 shadow-xs focus-within:ring-2 focus-within:ring-indigo-500 focus-within:ring-offset-2 hover:border-gray-400" }, Nc = { class: "flex flex-row items-center w-full" }, Rc = { class: "content text-sm grow" }, qc = { class: "font-bold" }, Hc = { key: 0 }, Yc = { class: "font-bold text-gray-400" }, Ec = {
|
|
5523
5530
|
key: 1,
|
|
5524
5531
|
class: "animate-pulse"
|
|
5525
|
-
},
|
|
5532
|
+
}, Uc = /* @__PURE__ */ T({
|
|
5526
5533
|
__name: "uiDragAndDrop",
|
|
5527
5534
|
props: {
|
|
5528
5535
|
elements: {},
|
|
@@ -5538,9 +5545,9 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5538
5545
|
const r = (a) => {
|
|
5539
5546
|
i("dragAndDropUpdated", a);
|
|
5540
5547
|
};
|
|
5541
|
-
return (a, d) => e.loading ? (l(), s("div",
|
|
5548
|
+
return (a, d) => e.loading ? (l(), s("div", Ec, [...d[2] || (d[2] = [
|
|
5542
5549
|
ee('<div class="h-16 mb-1 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-xs"></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-xs"></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-xs"></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-xs"></div><div class="h-16 relative flex items-center space-x-3 rounded-lg bg-gray-200 dark:bg-gray-300 p-4 shadow-xs"></div>', 5)
|
|
5543
|
-
])])) : (l(), w(
|
|
5550
|
+
])])) : (l(), w(_c, {
|
|
5544
5551
|
key: 0,
|
|
5545
5552
|
modelValue: f(n),
|
|
5546
5553
|
"onUpdate:modelValue": [
|
|
@@ -5549,8 +5556,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5549
5556
|
]
|
|
5550
5557
|
}, {
|
|
5551
5558
|
item: y(({ item: c }) => [
|
|
5552
|
-
t("div",
|
|
5553
|
-
t("div",
|
|
5559
|
+
t("div", Vc, [
|
|
5560
|
+
t("div", Nc, [
|
|
5554
5561
|
m(P, {
|
|
5555
5562
|
icon: f(Hl),
|
|
5556
5563
|
loading: !1,
|
|
@@ -5558,18 +5565,18 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5558
5565
|
class: "mr-4",
|
|
5559
5566
|
size: "big"
|
|
5560
5567
|
}, null, 8, ["icon"]),
|
|
5561
|
-
t("div",
|
|
5562
|
-
t("p",
|
|
5563
|
-
c.description ? (l(), s("p",
|
|
5568
|
+
t("div", Rc, [
|
|
5569
|
+
t("p", qc, u(c.name), 1),
|
|
5570
|
+
c.description ? (l(), s("p", Hc, u(c.description), 1)) : b("", !0)
|
|
5564
5571
|
]),
|
|
5565
|
-
t("div",
|
|
5572
|
+
t("div", Yc, u(f(n).indexOf(c) + 1), 1)
|
|
5566
5573
|
])
|
|
5567
5574
|
])
|
|
5568
5575
|
]),
|
|
5569
5576
|
_: 1
|
|
5570
5577
|
}, 8, ["modelValue"]));
|
|
5571
5578
|
}
|
|
5572
|
-
}),
|
|
5579
|
+
}), Zc = { class: "chart-header flex flex-row justify-between" }, Wc = { class: "text-sm font-medium text-gray-500 truncate" }, Gc = { class: "hidden sm:flex items-center" }, Jc = { class: "w-1/2 min-w-0 flex-1" }, Kc = ["max"], Qc = { class: "min-w-0 flex-1" }, Xc = ["max"], eu = { class: "chart-content" }, tu = { class: "h-full w-full flex items-center justify-center flex-col" }, lu = { class: "card chart apex-chart px-4 py-5 bg-white shadow-sm rounded-lg overflow-hidden sm:p-6 flex grow h-80" }, su = /* @__PURE__ */ T({
|
|
5573
5580
|
__name: "uiCircleChart",
|
|
5574
5581
|
props: {
|
|
5575
5582
|
labels: {},
|
|
@@ -5637,10 +5644,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5637
5644
|
L(t("div", {
|
|
5638
5645
|
class: x(["h-[" + e.height + "px]", "card chart apex-chart px-4 py-5 bg-white shadow-sm rounded-lg overflow-hidden sm:p-6 flex grow"])
|
|
5639
5646
|
}, [
|
|
5640
|
-
t("div",
|
|
5641
|
-
t("div",
|
|
5642
|
-
t("div",
|
|
5643
|
-
t("div",
|
|
5647
|
+
t("div", Zc, [
|
|
5648
|
+
t("div", Wc, u(e.title), 1),
|
|
5649
|
+
t("div", Gc, [
|
|
5650
|
+
t("div", Jc, [
|
|
5644
5651
|
L(t("input", {
|
|
5645
5652
|
type: "datetime-local",
|
|
5646
5653
|
"onUpdate:modelValue": M[0] || (M[0] = (R) => f(r).from = R),
|
|
@@ -5649,11 +5656,11 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5649
5656
|
name: "from",
|
|
5650
5657
|
id: "from",
|
|
5651
5658
|
class: "text-xs relative block w-full rounded-sm rounded-r-none border-0 bg-transparent py-1.5 text-gray-900 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:z-10 focus:ring-2 focus:ring-inset focus:ring-indigo-600"
|
|
5652
|
-
}, null, 40,
|
|
5659
|
+
}, null, 40, Kc), [
|
|
5653
5660
|
[xe, f(r).from]
|
|
5654
5661
|
])
|
|
5655
5662
|
]),
|
|
5656
|
-
t("div",
|
|
5663
|
+
t("div", Qc, [
|
|
5657
5664
|
L(t("input", {
|
|
5658
5665
|
type: "datetime-local",
|
|
5659
5666
|
"onUpdate:modelValue": M[1] || (M[1] = (R) => f(r).to = R),
|
|
@@ -5662,7 +5669,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5662
5669
|
name: "to",
|
|
5663
5670
|
id: "to",
|
|
5664
5671
|
class: "text-xs relative block w-full -mr-2 rounded-sm rounded-l-none border-0 bg-transparent py-1.5 text-gray-900 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:z-10 focus:ring-2 focus:ring-inset focus:ring-indigo-600"
|
|
5665
|
-
}, null, 40,
|
|
5672
|
+
}, null, 40, Xc), [
|
|
5666
5673
|
[xe, f(r).to]
|
|
5667
5674
|
])
|
|
5668
5675
|
]),
|
|
@@ -5675,7 +5682,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5675
5682
|
}, null, 8, ["loading", "icon"])
|
|
5676
5683
|
])
|
|
5677
5684
|
]),
|
|
5678
|
-
L(t("div",
|
|
5685
|
+
L(t("div", eu, [
|
|
5679
5686
|
m(tt, {
|
|
5680
5687
|
class: "flex items-center justify-center mt-4",
|
|
5681
5688
|
type: "donut",
|
|
@@ -5689,7 +5696,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5689
5696
|
], 512), [
|
|
5690
5697
|
[O, !e.empty]
|
|
5691
5698
|
]),
|
|
5692
|
-
L(t("div",
|
|
5699
|
+
L(t("div", tu, [
|
|
5693
5700
|
m(P, {
|
|
5694
5701
|
icon: f(te),
|
|
5695
5702
|
color: "gray",
|
|
@@ -5703,7 +5710,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5703
5710
|
], 2), [
|
|
5704
5711
|
[O, !e.loading]
|
|
5705
5712
|
]),
|
|
5706
|
-
L(t("div",
|
|
5713
|
+
L(t("div", lu, [...M[4] || (M[4] = [
|
|
5707
5714
|
t("div", {
|
|
5708
5715
|
role: "status",
|
|
5709
5716
|
class: "w-full animate-pulse h-full flex flex-col"
|
|
@@ -5734,13 +5741,13 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5734
5741
|
])
|
|
5735
5742
|
], 64));
|
|
5736
5743
|
}
|
|
5737
|
-
}),
|
|
5744
|
+
}), nu = {
|
|
5738
5745
|
key: 0,
|
|
5739
5746
|
class: "flex flex-col lg:flex-row w-full gap-y-4 gap-x-2"
|
|
5740
|
-
},
|
|
5747
|
+
}, au = {
|
|
5741
5748
|
key: 1,
|
|
5742
5749
|
class: "flex flex-col lg:flex-row w-full gap-y-4 gap-x-2"
|
|
5743
|
-
},
|
|
5750
|
+
}, ou = /* @__PURE__ */ T({
|
|
5744
5751
|
__name: "uiDateRange",
|
|
5745
5752
|
props: {
|
|
5746
5753
|
id: {},
|
|
@@ -5764,7 +5771,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5764
5771
|
const a = () => {
|
|
5765
5772
|
r("uiDateRangeButtonClicked", n);
|
|
5766
5773
|
};
|
|
5767
|
-
return (d, c) => e.loading ? (l(), s("div",
|
|
5774
|
+
return (d, c) => e.loading ? (l(), s("div", au, [
|
|
5768
5775
|
m(ae, {
|
|
5769
5776
|
name: "dateFrom",
|
|
5770
5777
|
loading: !0
|
|
@@ -5779,7 +5786,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5779
5786
|
])]),
|
|
5780
5787
|
_: 1
|
|
5781
5788
|
})
|
|
5782
|
-
])) : (l(), s("div",
|
|
5789
|
+
])) : (l(), s("div", nu, [
|
|
5783
5790
|
m(ae, {
|
|
5784
5791
|
type: "datetime-local",
|
|
5785
5792
|
loading: !1,
|
|
@@ -5821,17 +5828,17 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5821
5828
|
}, 8, ["disabled", "class"])
|
|
5822
5829
|
]));
|
|
5823
5830
|
}
|
|
5824
|
-
}),
|
|
5831
|
+
}), iu = { class: "flex justify-between items-center" }, ru = {
|
|
5825
5832
|
key: 0,
|
|
5826
5833
|
class: "block text-sm font-medium"
|
|
5827
|
-
},
|
|
5834
|
+
}, du = {
|
|
5828
5835
|
key: 1,
|
|
5829
5836
|
"data-test": "required",
|
|
5830
5837
|
class: "place-self-center text-[10px] uppercase justify-self-end"
|
|
5831
|
-
},
|
|
5838
|
+
}, cu = {
|
|
5832
5839
|
key: 1,
|
|
5833
5840
|
class: "h-2 animate-pulse bg-gray-200 rounded-full dark:bg-gray-300 w-full"
|
|
5834
|
-
},
|
|
5841
|
+
}, uu = /* @__PURE__ */ T({
|
|
5835
5842
|
__name: "uiRangeSlider",
|
|
5836
5843
|
props: {
|
|
5837
5844
|
loading: { type: Boolean, default: !0 },
|
|
@@ -5846,14 +5853,14 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5846
5853
|
setup(e, { emit: g }) {
|
|
5847
5854
|
const i = g, n = V(e.sliderValue);
|
|
5848
5855
|
return (r, a) => (l(), s("div", null, [
|
|
5849
|
-
t("div",
|
|
5850
|
-
e.label ? (l(), s("label",
|
|
5851
|
-
e.requiredText ? (l(), s("span",
|
|
5856
|
+
t("div", iu, [
|
|
5857
|
+
e.label ? (l(), s("label", ru, u(e.label), 1)) : b("", !0),
|
|
5858
|
+
e.requiredText ? (l(), s("span", du, u(e.requiredText), 1)) : b("", !0)
|
|
5852
5859
|
]),
|
|
5853
5860
|
t("div", {
|
|
5854
5861
|
class: x([{ "mt-1": e.label }, "pt-16 px-6 pb-6 bg-gray-50 border border-gray-300 rounded-lg shadow-xs"])
|
|
5855
5862
|
}, [
|
|
5856
|
-
e.loading ? (l(), s("p",
|
|
5863
|
+
e.loading ? (l(), s("p", cu)) : (l(), w(f(Al), {
|
|
5857
5864
|
key: 0,
|
|
5858
5865
|
modelValue: n.value,
|
|
5859
5866
|
"onUpdate:modelValue": a[0] || (a[0] = (d) => n.value = d),
|
|
@@ -5869,10 +5876,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5869
5876
|
], 2)
|
|
5870
5877
|
]));
|
|
5871
5878
|
}
|
|
5872
|
-
}),
|
|
5879
|
+
}), gu = {
|
|
5873
5880
|
key: 0,
|
|
5874
5881
|
class: "mt-1 mb-8 text-sm"
|
|
5875
|
-
},
|
|
5882
|
+
}, mu = /* @__PURE__ */ T({
|
|
5876
5883
|
__name: "uiSectionTitle",
|
|
5877
5884
|
props: {
|
|
5878
5885
|
title: {},
|
|
@@ -5883,37 +5890,37 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5883
5890
|
t("h3", {
|
|
5884
5891
|
class: x(["text-lg font-medium leading-6", { "mb-8": e.description === void 0 }])
|
|
5885
5892
|
}, u(e.title), 3),
|
|
5886
|
-
e.description ? (l(), s("p",
|
|
5893
|
+
e.description ? (l(), s("p", gu, u(e.description), 1)) : b("", !0)
|
|
5887
5894
|
], 64));
|
|
5888
5895
|
}
|
|
5889
|
-
}),
|
|
5896
|
+
}), fu = { class: "w-full" }, hu = { class: "flex flex-col gap-6 w-full" }, yu = {
|
|
5890
5897
|
key: 0,
|
|
5891
5898
|
class: "flex items-center gap-2"
|
|
5892
|
-
},
|
|
5899
|
+
}, bu = {
|
|
5893
5900
|
key: 1,
|
|
5894
5901
|
class: "text-lg font-semibold text-gray-900"
|
|
5895
|
-
},
|
|
5902
|
+
}, vu = {
|
|
5896
5903
|
key: 2,
|
|
5897
5904
|
class: "h-6 bg-gray-200 rounded-sm animate-pulse"
|
|
5898
|
-
},
|
|
5905
|
+
}, xu = {
|
|
5899
5906
|
key: 0,
|
|
5900
5907
|
class: "border-t border-gray-200"
|
|
5901
|
-
},
|
|
5908
|
+
}, pu = { class: "flex flex-col gap-1" }, wu = {
|
|
5902
5909
|
key: 0,
|
|
5903
5910
|
class: "text-sm font-semibold text-gray-900 mb-2"
|
|
5904
|
-
},
|
|
5911
|
+
}, ku = {
|
|
5905
5912
|
key: 1,
|
|
5906
5913
|
class: "h-4 bg-gray-200 rounded-sm animate-pulse w-24 mb-2"
|
|
5907
|
-
},
|
|
5914
|
+
}, $u = ["onClick"], Cu = {
|
|
5908
5915
|
key: 1,
|
|
5909
5916
|
class: "flex-1 text-left"
|
|
5910
|
-
},
|
|
5917
|
+
}, Su = {
|
|
5911
5918
|
key: 2,
|
|
5912
5919
|
class: "flex-1 h-4 bg-gray-200 rounded-sm animate-pulse"
|
|
5913
|
-
},
|
|
5920
|
+
}, Bu = {
|
|
5914
5921
|
key: 4,
|
|
5915
5922
|
class: "h-3 w-8 bg-gray-200 rounded-sm animate-pulse"
|
|
5916
|
-
},
|
|
5923
|
+
}, Mu = /* @__PURE__ */ T({
|
|
5917
5924
|
__name: "uiSecondarySidebar",
|
|
5918
5925
|
props: {
|
|
5919
5926
|
title: {},
|
|
@@ -5935,9 +5942,9 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5935
5942
|
const n = (r, a) => {
|
|
5936
5943
|
o("itemSelected", r, a);
|
|
5937
5944
|
};
|
|
5938
|
-
return (r, a) => (l(), s("aside",
|
|
5939
|
-
t("div",
|
|
5940
|
-
e.title ? (l(), s("div",
|
|
5945
|
+
return (r, a) => (l(), s("aside", fu, [
|
|
5946
|
+
t("div", hu, [
|
|
5947
|
+
e.title ? (l(), s("div", yu, [
|
|
5941
5948
|
e.titleIcon ? (l(), w(P, {
|
|
5942
5949
|
key: 0,
|
|
5943
5950
|
icon: e.titleIcon,
|
|
@@ -5945,14 +5952,14 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5945
5952
|
size: "big",
|
|
5946
5953
|
color: "primary"
|
|
5947
5954
|
}, null, 8, ["icon", "loading"])) : b("", !0),
|
|
5948
|
-
e.loading ? (l(), s("div",
|
|
5955
|
+
e.loading ? (l(), s("div", vu)) : (l(), s("h2", bu, u(e.title), 1))
|
|
5949
5956
|
])) : b("", !0),
|
|
5950
5957
|
(l(!0), s(k, null, S(e.sections, (d, c) => (l(), s(k, {
|
|
5951
5958
|
key: d.id
|
|
5952
5959
|
}, [
|
|
5953
|
-
c > 0 ? (l(), s("div",
|
|
5954
|
-
t("div",
|
|
5955
|
-
d.title && !e.loading ? (l(), s("h3",
|
|
5960
|
+
c > 0 ? (l(), s("div", xu)) : b("", !0),
|
|
5961
|
+
t("div", pu, [
|
|
5962
|
+
d.title && !e.loading ? (l(), s("h3", wu, u(d.title), 1)) : d.title && e.loading ? (l(), s("div", ku)) : b("", !0),
|
|
5956
5963
|
(l(!0), s(k, null, S(d.items, (v) => (l(), s("button", {
|
|
5957
5964
|
key: v.id,
|
|
5958
5965
|
onClick: (p) => n(d.id, v.id),
|
|
@@ -5968,27 +5975,27 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
5968
5975
|
size: "medium",
|
|
5969
5976
|
color: d.selectedItemId === v.id && d.selectionStyle === "primary" ? "white" : "primary"
|
|
5970
5977
|
}, null, 8, ["icon", "loading", "color"])) : b("", !0),
|
|
5971
|
-
e.loading ? (l(), s("div",
|
|
5978
|
+
e.loading ? (l(), s("div", Su)) : (l(), s("span", Cu, u(v.name), 1)),
|
|
5972
5979
|
v.count !== void 0 && !e.loading ? (l(), s("span", {
|
|
5973
5980
|
key: 3,
|
|
5974
5981
|
class: x([
|
|
5975
5982
|
"text-xs",
|
|
5976
5983
|
d.selectedItemId === v.id && d.selectionStyle === "primary" ? "text-gray-300" : "text-gray-500"
|
|
5977
5984
|
])
|
|
5978
|
-
}, " (" + u(v.count) + ") ", 3)) : v.count !== void 0 && e.loading ? (l(), s("div",
|
|
5979
|
-
], 10,
|
|
5985
|
+
}, " (" + u(v.count) + ") ", 3)) : v.count !== void 0 && e.loading ? (l(), s("div", Bu)) : b("", !0)
|
|
5986
|
+
], 10, $u))), 128))
|
|
5980
5987
|
])
|
|
5981
5988
|
], 64))), 128))
|
|
5982
5989
|
])
|
|
5983
5990
|
]));
|
|
5984
5991
|
}
|
|
5985
|
-
}),
|
|
5992
|
+
}), zu = {
|
|
5986
5993
|
key: 0,
|
|
5987
5994
|
class: "col-span-1 flex flex-col divide-y divide-gray-200 rounded-lg bg-white text-center shadow-sm"
|
|
5988
|
-
},
|
|
5995
|
+
}, ju = { class: "flex flex-1 flex-col p-8" }, Au = { class: "text-2xl font-bold" }, Tu = { class: "mt-1 flex grow flex-col justify-between" }, Du = { class: "mt-3 flex flex-wrap gap-x-1 gap-y-1 justify-center" }, Lu = {
|
|
5989
5996
|
key: 1,
|
|
5990
5997
|
class: "col-span-1 flex flex-col divide-y divide-gray-200 rounded-lg bg-white text-center shadow-sm"
|
|
5991
|
-
},
|
|
5998
|
+
}, Pu = { class: "flex flex-1 flex-col p-8" }, Fu = { class: "rounded-md p-3 flex items-center justify-center mx-auto mb-4 bg-gray-200" }, Ou = { class: "mt-1 flex grow flex-col justify-between" }, Iu = { class: "mt-3 flex flex-wrap gap-x-1 gap-y-1 justify-center" }, _u = /* @__PURE__ */ T({
|
|
5992
5999
|
__name: "uiDeviceStatus",
|
|
5993
6000
|
props: {
|
|
5994
6001
|
id: {},
|
|
@@ -6001,9 +6008,9 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6001
6008
|
},
|
|
6002
6009
|
emits: ["deviceStatusTagClicked", "deviceStatusQtyClicked"],
|
|
6003
6010
|
setup(e, { emit: g }) {
|
|
6004
|
-
return (i, o) => e.loading ? (l(), s("div",
|
|
6005
|
-
t("div",
|
|
6006
|
-
t("div",
|
|
6011
|
+
return (i, o) => e.loading ? (l(), s("div", Lu, [
|
|
6012
|
+
t("div", Pu, [
|
|
6013
|
+
t("div", Fu, [
|
|
6007
6014
|
m(P, {
|
|
6008
6015
|
icon: e.icon,
|
|
6009
6016
|
size: "huge",
|
|
@@ -6013,8 +6020,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6013
6020
|
}, null, 8, ["icon", "loading"])
|
|
6014
6021
|
]),
|
|
6015
6022
|
o[3] || (o[3] = t("div", { class: "h-4 bg-gray-200 rounded-full dark:bg-gray-300 w-1/3 mx-auto" }, null, -1)),
|
|
6016
|
-
t("dl",
|
|
6017
|
-
t("dd",
|
|
6023
|
+
t("dl", Ou, [
|
|
6024
|
+
t("dd", Iu, [
|
|
6018
6025
|
(l(!0), s(k, null, S(e.tags, (n, r) => (l(), w(J, {
|
|
6019
6026
|
key: r,
|
|
6020
6027
|
loading: e.loading,
|
|
@@ -6030,8 +6037,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6030
6037
|
])
|
|
6031
6038
|
])
|
|
6032
6039
|
])
|
|
6033
|
-
])) : (l(), s("div",
|
|
6034
|
-
t("div",
|
|
6040
|
+
])) : (l(), s("div", zu, [
|
|
6041
|
+
t("div", ju, [
|
|
6035
6042
|
t("div", {
|
|
6036
6043
|
class: x(["rounded-md p-3 flex items-center justify-center mx-auto mb-4", {
|
|
6037
6044
|
"bg-lime-400": e.color === "green" || e.color === "primary" || !e.color,
|
|
@@ -6049,7 +6056,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6049
6056
|
loading: !1
|
|
6050
6057
|
}, null, 8, ["icon"])
|
|
6051
6058
|
], 2),
|
|
6052
|
-
t("h3",
|
|
6059
|
+
t("h3", Au, [
|
|
6053
6060
|
B(u(e.name) + " ", 1),
|
|
6054
6061
|
L(t("span", {
|
|
6055
6062
|
class: "text-black hover:text-lime-400 underline cursor-pointer",
|
|
@@ -6058,8 +6065,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6058
6065
|
[O, e.qty > 0]
|
|
6059
6066
|
])
|
|
6060
6067
|
]),
|
|
6061
|
-
t("dl",
|
|
6062
|
-
t("dd",
|
|
6068
|
+
t("dl", Tu, [
|
|
6069
|
+
t("dd", Du, [
|
|
6063
6070
|
(l(!0), s(k, null, S(e.tags, (n, r) => (l(), w(J, {
|
|
6064
6071
|
key: r,
|
|
6065
6072
|
loading: !1,
|
|
@@ -6077,7 +6084,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6077
6084
|
])
|
|
6078
6085
|
]));
|
|
6079
6086
|
}
|
|
6080
|
-
}),
|
|
6087
|
+
}), Vu = { class: "fixed inset-0 flex" }, Nu = { class: "absolute left-full top-0 flex w-16 justify-center pt-5" }, Ru = { class: "hidden lg:fixed lg:inset-y-0 lg:z-50 lg:flex lg:w-100 lg:flex-col" }, qu = { class: "lg:pl-100 flex flex-col h-screen" }, Hu = { 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-xs sm:gap-x-6 sm:px-6 lg:px-8" }, Yu = { class: "flex flex-1 gap-x-4 self-stretch lg:gap-x-6" }, Eu = { class: "flex items-center gap-x-4 lg:gap-x-6 ml-auto" }, Uu = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute top-1 left-2" }, Zu = ["src"], Wu = { class: "hidden lg:flex lg:items-center" }, Gu = ["onClick"], Ju = { class: "bg-gray-50 flex-1 overflow-auto" }, Ku = { class: "p-7 lg:p-10" }, Qu = /* @__PURE__ */ T({
|
|
6081
6088
|
__name: "uiWrapper",
|
|
6082
6089
|
props: {
|
|
6083
6090
|
topbar: {},
|
|
@@ -6114,7 +6121,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6114
6121
|
])]),
|
|
6115
6122
|
_: 1
|
|
6116
6123
|
}),
|
|
6117
|
-
t("div",
|
|
6124
|
+
t("div", Vu, [
|
|
6118
6125
|
m(f(ce), {
|
|
6119
6126
|
as: "template",
|
|
6120
6127
|
enter: "transition ease-in-out duration-300 transform",
|
|
@@ -6137,7 +6144,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6137
6144
|
"leave-to": "opacity-0"
|
|
6138
6145
|
}, {
|
|
6139
6146
|
default: y(() => [
|
|
6140
|
-
t("div",
|
|
6147
|
+
t("div", Nu, [
|
|
6141
6148
|
t("button", {
|
|
6142
6149
|
type: "button",
|
|
6143
6150
|
class: "-m-2.5 p-2.5",
|
|
@@ -6178,7 +6185,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6178
6185
|
]),
|
|
6179
6186
|
_: 1
|
|
6180
6187
|
}, 8, ["show"]),
|
|
6181
|
-
t("div",
|
|
6188
|
+
t("div", Ru, [
|
|
6182
6189
|
m(Ue, {
|
|
6183
6190
|
productsSidebar: e.sidebar.productsSidebar,
|
|
6184
6191
|
isFilterNavigation: e.sidebar.isFilterNavigation,
|
|
@@ -6192,8 +6199,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6192
6199
|
onInputChanged: d[7] || (d[7] = (c) => a.$emit("inputChanged", c))
|
|
6193
6200
|
}, null, 8, ["productsSidebar", "isFilterNavigation", "navigation", "filterNavigation", "logo"])
|
|
6194
6201
|
]),
|
|
6195
|
-
t("div",
|
|
6196
|
-
t("div",
|
|
6202
|
+
t("div", qu, [
|
|
6203
|
+
t("div", Hu, [
|
|
6197
6204
|
t("button", {
|
|
6198
6205
|
type: "button",
|
|
6199
6206
|
class: "-m-2.5 p-2.5 text-gray-700 lg:hidden",
|
|
@@ -6209,7 +6216,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6209
6216
|
class: "h-6 w-px bg-gray-200 lg:hidden",
|
|
6210
6217
|
"aria-hidden": "true"
|
|
6211
6218
|
}, null, -1)),
|
|
6212
|
-
t("div",
|
|
6219
|
+
t("div", Yu, [
|
|
6213
6220
|
e.topbar.selectItems && e.topbar.selectItems.length > 0 ? (l(), w(ve, {
|
|
6214
6221
|
key: 0,
|
|
6215
6222
|
isWrapped: !0,
|
|
@@ -6218,14 +6225,14 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6218
6225
|
select: e.topbar.selectedItem,
|
|
6219
6226
|
onSelectChanged: d[8] || (d[8] = (c) => a.$emit("selectChanged", c))
|
|
6220
6227
|
}, null, 8, ["items", "select"])) : b("", !0),
|
|
6221
|
-
t("div",
|
|
6228
|
+
t("div", Eu, [
|
|
6222
6229
|
t("button", {
|
|
6223
6230
|
type: "button",
|
|
6224
6231
|
class: "-m-2.5 p-2.5 text-gray-400 hover:text-gray-500 relative",
|
|
6225
6232
|
onClick: d[9] || (d[9] = (c) => o("bellClick"))
|
|
6226
6233
|
}, [
|
|
6227
6234
|
d[14] || (d[14] = t("span", { class: "sr-only" }, "View notifications", -1)),
|
|
6228
|
-
L(t("div",
|
|
6235
|
+
L(t("div", Uu, [...d[13] || (d[13] = [
|
|
6229
6236
|
t("span", { class: "animate-ping absolute inline-flex h-4 w-4 bg-red-500 rounded-full opacity-75" }, null, -1)
|
|
6230
6237
|
])], 512), [
|
|
6231
6238
|
[O, e.topbar.alerted]
|
|
@@ -6251,8 +6258,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6251
6258
|
class: "h-8 w-8 rounded-full bg-gray-50",
|
|
6252
6259
|
src: e.topbar.accountLogo,
|
|
6253
6260
|
alt: ""
|
|
6254
|
-
}, null, 8,
|
|
6255
|
-
t("span",
|
|
6261
|
+
}, null, 8, Zu),
|
|
6262
|
+
t("span", Wu, [
|
|
6256
6263
|
m(f(oe), {
|
|
6257
6264
|
class: "ml-2 h-5 w-5 text-gray-400",
|
|
6258
6265
|
"aria-hidden": "true"
|
|
@@ -6283,7 +6290,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6283
6290
|
c.current ? "bg-gray-100 font-semibold" : "",
|
|
6284
6291
|
"block px-3 py-1 text-sm leading-6 text-gray-900 cursor-pointer"
|
|
6285
6292
|
])
|
|
6286
|
-
}, u(c.name), 11,
|
|
6293
|
+
}, u(c.name), 11, Gu)
|
|
6287
6294
|
]),
|
|
6288
6295
|
_: 2
|
|
6289
6296
|
}, 1024))), 128))
|
|
@@ -6299,15 +6306,15 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6299
6306
|
])
|
|
6300
6307
|
])
|
|
6301
6308
|
]),
|
|
6302
|
-
t("main",
|
|
6303
|
-
t("div",
|
|
6309
|
+
t("main", Ju, [
|
|
6310
|
+
t("div", Ku, [
|
|
6304
6311
|
G(a.$slots, "default")
|
|
6305
6312
|
])
|
|
6306
6313
|
])
|
|
6307
6314
|
])
|
|
6308
6315
|
]));
|
|
6309
6316
|
}
|
|
6310
|
-
}),
|
|
6317
|
+
}), Xu = /* @__PURE__ */ T({
|
|
6311
6318
|
__name: "uiDynamicStats",
|
|
6312
6319
|
props: {
|
|
6313
6320
|
dynamicStats: {},
|
|
@@ -6330,16 +6337,16 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6330
6337
|
}, null, 8, ["item", "loading"]))), 128))
|
|
6331
6338
|
], 2));
|
|
6332
6339
|
}
|
|
6333
|
-
}),
|
|
6340
|
+
}), e0 = { class: "flex justify-between" }, t0 = {
|
|
6334
6341
|
key: 0,
|
|
6335
6342
|
class: "text-[10px] uppercase justify-self-end place-self-center"
|
|
6336
|
-
},
|
|
6343
|
+
}, l0 = { class: "relative" }, s0 = { class: "block flex flex-wrap gap-2" }, n0 = {
|
|
6337
6344
|
key: 0,
|
|
6338
6345
|
class: "p-0.5"
|
|
6339
|
-
},
|
|
6346
|
+
}, a0 = ["onClick"], o0 = { class: "absolute mt-1 w-full rounded-md bg-white shadow-lg z-50" }, i0 = {
|
|
6340
6347
|
key: 1,
|
|
6341
6348
|
class: "animate-pulse px-4 py-2.5 bg-gray-200 rounded-md flex justify-between items-center w-full"
|
|
6342
|
-
},
|
|
6349
|
+
}, r0 = /* @__PURE__ */ T({
|
|
6343
6350
|
__name: "uiSelectMultiple",
|
|
6344
6351
|
props: {
|
|
6345
6352
|
items: {},
|
|
@@ -6363,7 +6370,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6363
6370
|
function a(d) {
|
|
6364
6371
|
n.value = n.value.filter((c) => c.id !== d.id), r(n.value);
|
|
6365
6372
|
}
|
|
6366
|
-
return (d, c) => e.loading ? (l(), s("div",
|
|
6373
|
+
return (d, c) => e.loading ? (l(), s("div", i0, [
|
|
6367
6374
|
c[4] || (c[4] = t("div", { class: "h-2.5 bg-gray-200 rounded-full dark:bg-gray-300 w-1/2" }, null, -1)),
|
|
6368
6375
|
m(f(He), {
|
|
6369
6376
|
"aria-hidden": "true",
|
|
@@ -6382,16 +6389,16 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6382
6389
|
as: "div"
|
|
6383
6390
|
}, {
|
|
6384
6391
|
default: y(() => [
|
|
6385
|
-
t("div",
|
|
6392
|
+
t("div", e0, [
|
|
6386
6393
|
m(f(Bl), { class: "block text-sm font-medium" }, {
|
|
6387
6394
|
default: y(() => [
|
|
6388
6395
|
B(u(e.label), 1)
|
|
6389
6396
|
]),
|
|
6390
6397
|
_: 1
|
|
6391
6398
|
}),
|
|
6392
|
-
e.requiredText ? (l(), s("span",
|
|
6399
|
+
e.requiredText ? (l(), s("span", t0, u(e.requiredText), 1)) : b("", !0)
|
|
6393
6400
|
]),
|
|
6394
|
-
t("div",
|
|
6401
|
+
t("div", l0, [
|
|
6395
6402
|
m(f(Ml), {
|
|
6396
6403
|
class: x([{
|
|
6397
6404
|
"mt-1": e.requiredText || e.label,
|
|
@@ -6410,8 +6417,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6410
6417
|
}, "relative w-full rounded-md border py-1.5 pl-2 pr-10 shadow-xs focus:border-lime-400 focus:outline-hidden focus:ring-1 focus:ring-lime-400 sm:text-sm"])
|
|
6411
6418
|
}, {
|
|
6412
6419
|
default: y(() => [
|
|
6413
|
-
t("span",
|
|
6414
|
-
f(n).length === 0 ? (l(), s("span",
|
|
6420
|
+
t("span", s0, [
|
|
6421
|
+
f(n).length === 0 ? (l(), s("span", n0, "...")) : b("", !0),
|
|
6415
6422
|
(l(!0), s(k, null, S(f(n), (v) => (l(), s("span", {
|
|
6416
6423
|
key: v.id,
|
|
6417
6424
|
class: "flex items-center gap-1 rounded-sm text-xs font-medium bg-lime-400 text-black border border-lime-200 px-2 py-0.5"
|
|
@@ -6431,7 +6438,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6431
6438
|
"stroke-width": "2",
|
|
6432
6439
|
d: "M6 18L18 6M6 6l12 12"
|
|
6433
6440
|
}, null, -1)
|
|
6434
|
-
])], 8,
|
|
6441
|
+
])], 8, a0))
|
|
6435
6442
|
]))), 128))
|
|
6436
6443
|
]),
|
|
6437
6444
|
c[2] || (c[2] = t("span", { class: "absolute h-full right-0 mr-2 self-center top-0 flex items-center" }, [
|
|
@@ -6452,7 +6459,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6452
6459
|
]),
|
|
6453
6460
|
_: 1
|
|
6454
6461
|
}, 8, ["class"]),
|
|
6455
|
-
t("div",
|
|
6462
|
+
t("div", o0, [
|
|
6456
6463
|
m(f(zl), { class: "shadow-2xs focus:outline-hidden max-h-60 overflow-auto rounded-md py-1 text-base leading-6 sm:text-sm sm:leading-5" }, {
|
|
6457
6464
|
default: y(() => [
|
|
6458
6465
|
(l(!0), s(k, null, S(e.items, (v) => (l(), w(f(jl), {
|
|
@@ -6506,10 +6513,10 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6506
6513
|
_: 1
|
|
6507
6514
|
}, 8, ["modelValue", "disabled"]));
|
|
6508
6515
|
}
|
|
6509
|
-
}),
|
|
6516
|
+
}), d0 = { class: "space-y-6" }, c0 = { class: "mb-6" }, u0 = { class: "grid grid-cols-1 md:grid-cols-2 gap-4" }, g0 = { class: "mt-4 mb-12 space-y-4" }, m0 = { class: "space-y-4" }, f0 = { class: "text-xl font-bold text-gray-800" }, h0 = { class: "grid grid-cols-1 md:grid-cols-2 gap-4 mt-4 transition-all duration-300 ease-in-out" }, y0 = { class: "bg-white border border-gray-300 rounded-lg p-4" }, b0 = { class: "font-bold mb-4 text-sm text-gray-700" }, v0 = { class: "space-y-2" }, x0 = { class: "bg-white border border-gray-300 rounded-lg p-4" }, p0 = { class: "font-bold mb-4 text-sm text-gray-700" }, w0 = { class: "space-y-2" }, k0 = {
|
|
6510
6517
|
key: 0,
|
|
6511
6518
|
class: "mt-6"
|
|
6512
|
-
},
|
|
6519
|
+
}, $0 = /* @__PURE__ */ T({
|
|
6513
6520
|
__name: "Comparator",
|
|
6514
6521
|
props: {
|
|
6515
6522
|
toCompare: {},
|
|
@@ -6528,9 +6535,9 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6528
6535
|
}, c = () => {
|
|
6529
6536
|
o("generateNewFile");
|
|
6530
6537
|
};
|
|
6531
|
-
return (v, p) => (l(), s("div",
|
|
6532
|
-
t("div",
|
|
6533
|
-
t("div",
|
|
6538
|
+
return (v, p) => (l(), s("div", d0, [
|
|
6539
|
+
t("div", c0, [
|
|
6540
|
+
t("div", u0, [
|
|
6534
6541
|
m(Ee, {
|
|
6535
6542
|
name: "file1",
|
|
6536
6543
|
id: "file1",
|
|
@@ -6555,7 +6562,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6555
6562
|
}, null, 8, ["placeholder", "dragAndDrop", "fileTypesAndSizes", "icon"])
|
|
6556
6563
|
])
|
|
6557
6564
|
]),
|
|
6558
|
-
t("div",
|
|
6565
|
+
t("div", g0, [
|
|
6559
6566
|
m(ue, {
|
|
6560
6567
|
name: "ignoreMinorDifferences",
|
|
6561
6568
|
id: "ignoreMinorDifferences",
|
|
@@ -6580,16 +6587,16 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6580
6587
|
_: 1
|
|
6581
6588
|
})
|
|
6582
6589
|
]),
|
|
6583
|
-
t("div",
|
|
6590
|
+
t("div", m0, [
|
|
6584
6591
|
n.value ? (l(!0), s(k, { key: 0 }, S(r.value, (C) => (l(), s("div", {
|
|
6585
6592
|
key: C.name,
|
|
6586
6593
|
class: "p-6 bg-gray-50 border border-gray-300 rounded-lg shadow-xs"
|
|
6587
6594
|
}, [
|
|
6588
|
-
m(f(
|
|
6595
|
+
m(f(Ie), null, {
|
|
6589
6596
|
default: y(({ open: N }) => [
|
|
6590
6597
|
m(f(se), { class: "flex items-center justify-between w-full" }, {
|
|
6591
6598
|
default: y(() => [
|
|
6592
|
-
t("h2",
|
|
6599
|
+
t("h2", f0, u(C.name), 1),
|
|
6593
6600
|
m(P, {
|
|
6594
6601
|
icon: f(oe),
|
|
6595
6602
|
loading: !1,
|
|
@@ -6598,12 +6605,12 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6598
6605
|
]),
|
|
6599
6606
|
_: 2
|
|
6600
6607
|
}, 1024),
|
|
6601
|
-
m(f(
|
|
6608
|
+
m(f(_e), null, {
|
|
6602
6609
|
default: y(() => [
|
|
6603
|
-
t("div",
|
|
6604
|
-
t("div",
|
|
6605
|
-
t("p",
|
|
6606
|
-
t("div",
|
|
6610
|
+
t("div", h0, [
|
|
6611
|
+
t("div", y0, [
|
|
6612
|
+
t("p", b0, u(e.literals.file1Content), 1),
|
|
6613
|
+
t("div", v0, [
|
|
6607
6614
|
(l(!0), s(k, null, S(C.commands[0]?.entries || [], (E, M) => (l(), w(ue, {
|
|
6608
6615
|
key: `file1_${C.name}_${M}`,
|
|
6609
6616
|
name: `file1_${C.name}_${M}`,
|
|
@@ -6619,9 +6626,9 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6619
6626
|
}, 1032, ["name", "id", "value", "onCheckboxChanged"]))), 128))
|
|
6620
6627
|
])
|
|
6621
6628
|
]),
|
|
6622
|
-
t("div",
|
|
6623
|
-
t("p",
|
|
6624
|
-
t("div",
|
|
6629
|
+
t("div", x0, [
|
|
6630
|
+
t("p", p0, u(e.literals.file2Content), 1),
|
|
6631
|
+
t("div", w0, [
|
|
6625
6632
|
(l(!0), s(k, null, S(C.commands[1]?.entries || [], (E, M) => (l(), w(ue, {
|
|
6626
6633
|
key: `file2_${C.name}_${M}`,
|
|
6627
6634
|
name: `file2_${C.name}_${M}`,
|
|
@@ -6650,7 +6657,7 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6650
6657
|
message: e.literals.noResultsMessage
|
|
6651
6658
|
}, null, 8, ["title", "message"]))
|
|
6652
6659
|
]),
|
|
6653
|
-
n.value ? (l(), s("div",
|
|
6660
|
+
n.value ? (l(), s("div", k0, [
|
|
6654
6661
|
m(U, {
|
|
6655
6662
|
color: "primary",
|
|
6656
6663
|
size: "medium",
|
|
@@ -6666,22 +6673,22 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6666
6673
|
])) : b("", !0)
|
|
6667
6674
|
]));
|
|
6668
6675
|
}
|
|
6669
|
-
}),
|
|
6676
|
+
}), C0 = { "aria-label": "Progress" }, S0 = {
|
|
6670
6677
|
role: "list",
|
|
6671
6678
|
class: "overflow-hidden"
|
|
6672
|
-
},
|
|
6679
|
+
}, B0 = {
|
|
6673
6680
|
key: 0,
|
|
6674
6681
|
class: "absolute left-4 top-4 -ml-px mt-0.5 h-full w-0.5 bg-lime-400",
|
|
6675
6682
|
"aria-hidden": "true"
|
|
6676
|
-
},
|
|
6683
|
+
}, M0 = ["onClick"], z0 = { class: "flex h-9 items-center" }, j0 = { class: "relative z-10 flex size-8 items-center justify-center rounded-full bg-lime-400 group-hover:bg-black group-hover:text-white" }, A0 = { class: "ml-4 flex min-w-0 flex-col text-left" }, T0 = { class: "text-sm font-bold text-left" }, D0 = { class: "text-sm text-left" }, L0 = {
|
|
6677
6684
|
key: 0,
|
|
6678
6685
|
class: "absolute left-4 top-4 -ml-px mt-0.5 h-full w-0.5 bg-gray-300",
|
|
6679
6686
|
"aria-hidden": "true"
|
|
6680
|
-
},
|
|
6687
|
+
}, P0 = ["onClick"], F0 = { class: "ml-4 flex min-w-0 flex-col text-left" }, O0 = { class: "text-sm font-medium text-lime-400 text-left" }, I0 = { class: "text-sm text-left" }, _0 = {
|
|
6681
6688
|
key: 0,
|
|
6682
6689
|
class: "absolute left-4 top-4 -ml-px mt-0.5 h-full w-0.5 bg-gray-300",
|
|
6683
6690
|
"aria-hidden": "true"
|
|
6684
|
-
},
|
|
6691
|
+
}, V0 = ["onClick"], N0 = { class: "ml-4 flex min-w-0 flex-col text-left" }, R0 = { class: "text-sm font-medium text-left" }, q0 = { class: "text-sm text-left" }, H0 = /* @__PURE__ */ T({
|
|
6685
6692
|
__name: "uiSteps",
|
|
6686
6693
|
props: {
|
|
6687
6694
|
steps: {}
|
|
@@ -6696,8 +6703,8 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6696
6703
|
const c = n.value[d];
|
|
6697
6704
|
c.status === "complete" ? o("stepCompleted", c) : c.status === "current" ? o("stepCurrent", c) : o("stepUpcoming", c), o("stepClick", c, d);
|
|
6698
6705
|
};
|
|
6699
|
-
return (a, d) => (l(), s("nav",
|
|
6700
|
-
t("ol",
|
|
6706
|
+
return (a, d) => (l(), s("nav", C0, [
|
|
6707
|
+
t("ol", S0, [
|
|
6701
6708
|
(l(!0), s(k, null, S(n.value, (c, v) => (l(), s("li", {
|
|
6702
6709
|
key: c.id,
|
|
6703
6710
|
class: x([
|
|
@@ -6707,27 +6714,27 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6707
6714
|
])
|
|
6708
6715
|
}, [
|
|
6709
6716
|
c.status === "complete" ? (l(), s(k, { key: 0 }, [
|
|
6710
|
-
v !== n.value.length - 1 ? (l(), s("div",
|
|
6717
|
+
v !== n.value.length - 1 ? (l(), s("div", B0)) : b("", !0),
|
|
6711
6718
|
t("button", {
|
|
6712
6719
|
type: "button",
|
|
6713
6720
|
class: "group relative flex items-start cursor-pointer w-full text-left",
|
|
6714
6721
|
onClick: (p) => r(c, v)
|
|
6715
6722
|
}, [
|
|
6716
|
-
t("span",
|
|
6717
|
-
t("span",
|
|
6723
|
+
t("span", z0, [
|
|
6724
|
+
t("span", j0, [
|
|
6718
6725
|
m(f(Tt), {
|
|
6719
6726
|
class: "size-5",
|
|
6720
6727
|
"aria-hidden": "true"
|
|
6721
6728
|
})
|
|
6722
6729
|
])
|
|
6723
6730
|
]),
|
|
6724
|
-
t("span",
|
|
6725
|
-
t("span",
|
|
6726
|
-
t("span",
|
|
6731
|
+
t("span", A0, [
|
|
6732
|
+
t("span", T0, u(c.name), 1),
|
|
6733
|
+
t("span", D0, u(c.description), 1)
|
|
6727
6734
|
])
|
|
6728
|
-
], 8,
|
|
6735
|
+
], 8, M0)
|
|
6729
6736
|
], 64)) : c.status === "current" ? (l(), s(k, { key: 1 }, [
|
|
6730
|
-
v !== n.value.length - 1 ? (l(), s("div",
|
|
6737
|
+
v !== n.value.length - 1 ? (l(), s("div", L0)) : b("", !0),
|
|
6731
6738
|
t("button", {
|
|
6732
6739
|
type: "button",
|
|
6733
6740
|
class: "group relative flex items-start cursor-pointer w-full text-left",
|
|
@@ -6742,13 +6749,13 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6742
6749
|
t("span", { class: "size-2.5 rounded-full bg-lime-400" })
|
|
6743
6750
|
])
|
|
6744
6751
|
], -1)),
|
|
6745
|
-
t("span",
|
|
6746
|
-
t("span",
|
|
6747
|
-
t("span",
|
|
6752
|
+
t("span", F0, [
|
|
6753
|
+
t("span", O0, u(c.name), 1),
|
|
6754
|
+
t("span", I0, u(c.description), 1)
|
|
6748
6755
|
])
|
|
6749
|
-
], 8,
|
|
6756
|
+
], 8, P0)
|
|
6750
6757
|
], 64)) : (l(), s(k, { key: 2 }, [
|
|
6751
|
-
v !== n.value.length - 1 ? (l(), s("div",
|
|
6758
|
+
v !== n.value.length - 1 ? (l(), s("div", _0)) : b("", !0),
|
|
6752
6759
|
t("button", {
|
|
6753
6760
|
type: "button",
|
|
6754
6761
|
class: "group relative flex items-start cursor-pointer w-full text-left",
|
|
@@ -6762,18 +6769,18 @@ const vi = /* @__PURE__ */ Ce(hi, [["render", bi]]), xi = /* @__PURE__ */ T({
|
|
|
6762
6769
|
t("span", { class: "size-2.5 rounded-full bg-transparent group-hover:bg-gray-300" })
|
|
6763
6770
|
])
|
|
6764
6771
|
], -1)),
|
|
6765
|
-
t("span",
|
|
6766
|
-
t("span",
|
|
6767
|
-
t("span",
|
|
6772
|
+
t("span", N0, [
|
|
6773
|
+
t("span", R0, u(c.name), 1),
|
|
6774
|
+
t("span", q0, u(c.description), 1)
|
|
6768
6775
|
])
|
|
6769
|
-
], 8,
|
|
6776
|
+
], 8, V0)
|
|
6770
6777
|
], 64))
|
|
6771
6778
|
], 2))), 128))
|
|
6772
6779
|
])
|
|
6773
6780
|
]));
|
|
6774
6781
|
}
|
|
6775
6782
|
});
|
|
6776
|
-
function
|
|
6783
|
+
function Y0(e, g) {
|
|
6777
6784
|
return l(), s("svg", {
|
|
6778
6785
|
xmlns: "http://www.w3.org/2000/svg",
|
|
6779
6786
|
viewBox: "0 0 24 24",
|
|
@@ -6788,14 +6795,14 @@ function U0(e, g) {
|
|
|
6788
6795
|
})
|
|
6789
6796
|
]);
|
|
6790
6797
|
}
|
|
6791
|
-
const
|
|
6798
|
+
const E0 = { "aria-label": "Progress" }, U0 = {
|
|
6792
6799
|
role: "list",
|
|
6793
6800
|
class: "divide-y divide-gray-300 rounded-md border border-gray-300 xl:flex xl:divide-y-0"
|
|
6794
|
-
},
|
|
6801
|
+
}, Z0 = ["onClick"], W0 = { class: "flex items-center px-6 py-4 text-sm font-medium" }, G0 = { class: "flex size-10 shrink-0 items-center justify-center rounded-full bg-lime-400 border-2 border-lime-400 group-hover:bg-black transition-colors" }, J0 = { class: "ml-4 text-sm font-medium text-black text-left" }, K0 = ["onClick"], Q0 = { class: "flex size-10 shrink-0 items-center justify-center rounded-full bg-black border-2 border-black" }, X0 = { class: "text-white font-medium" }, eg = { class: "ml-4 text-sm font-medium text-black text-left" }, tg = ["onClick"], lg = { class: "flex items-center px-6 py-4 text-sm font-medium" }, sg = { class: "flex size-10 shrink-0 items-center justify-center rounded-full border-2 border-black transition-colors" }, ng = { class: "text-black" }, ag = { class: "ml-4 text-sm font-medium text-black text-left" }, og = {
|
|
6795
6802
|
key: 3,
|
|
6796
6803
|
class: "absolute right-0 top-0 hidden h-full w-5 lg:block",
|
|
6797
6804
|
"aria-hidden": "true"
|
|
6798
|
-
},
|
|
6805
|
+
}, ig = /* @__PURE__ */ T({
|
|
6799
6806
|
__name: "uiStepsV4",
|
|
6800
6807
|
props: {
|
|
6801
6808
|
steps: {}
|
|
@@ -6811,8 +6818,8 @@ const Z0 = { "aria-label": "Progress" }, W0 = {
|
|
|
6811
6818
|
const c = n.value[d];
|
|
6812
6819
|
c.status === "complete" ? o("stepCompleted", c) : c.status === "current" ? o("stepCurrent", c) : o("stepUpcoming", c), o("stepClick", c, d);
|
|
6813
6820
|
};
|
|
6814
|
-
return (a, d) => (l(), s("nav",
|
|
6815
|
-
t("ol",
|
|
6821
|
+
return (a, d) => (l(), s("nav", E0, [
|
|
6822
|
+
t("ol", U0, [
|
|
6816
6823
|
(l(!0), s(k, null, S(n.value, (c, v) => (l(), s("li", {
|
|
6817
6824
|
key: c.id,
|
|
6818
6825
|
class: "relative xl:flex xl:flex-1"
|
|
@@ -6823,40 +6830,40 @@ const Z0 = { "aria-label": "Progress" }, W0 = {
|
|
|
6823
6830
|
class: "group flex w-full items-center cursor-pointer",
|
|
6824
6831
|
onClick: (p) => r(c, v)
|
|
6825
6832
|
}, [
|
|
6826
|
-
t("span",
|
|
6827
|
-
t("span",
|
|
6828
|
-
m(f(
|
|
6833
|
+
t("span", W0, [
|
|
6834
|
+
t("span", G0, [
|
|
6835
|
+
m(f(Y0), {
|
|
6829
6836
|
class: "size-6 text-white",
|
|
6830
6837
|
"aria-hidden": "true"
|
|
6831
6838
|
})
|
|
6832
6839
|
]),
|
|
6833
|
-
t("span",
|
|
6840
|
+
t("span", J0, u(c.name), 1)
|
|
6834
6841
|
])
|
|
6835
|
-
], 8,
|
|
6842
|
+
], 8, Z0)) : c.status === "current" ? (l(), s("button", {
|
|
6836
6843
|
key: 1,
|
|
6837
6844
|
type: "button",
|
|
6838
6845
|
class: "flex items-center px-6 py-4 text-sm font-medium cursor-pointer",
|
|
6839
6846
|
"aria-current": "step",
|
|
6840
6847
|
onClick: (p) => r(c, v)
|
|
6841
6848
|
}, [
|
|
6842
|
-
t("span",
|
|
6843
|
-
t("span",
|
|
6849
|
+
t("span", Q0, [
|
|
6850
|
+
t("span", X0, u(c.id), 1)
|
|
6844
6851
|
]),
|
|
6845
|
-
t("span",
|
|
6846
|
-
], 8,
|
|
6852
|
+
t("span", eg, u(c.name), 1)
|
|
6853
|
+
], 8, K0)) : (l(), s("button", {
|
|
6847
6854
|
key: 2,
|
|
6848
6855
|
type: "button",
|
|
6849
6856
|
class: "group flex items-center cursor-pointer",
|
|
6850
6857
|
onClick: (p) => r(c, v)
|
|
6851
6858
|
}, [
|
|
6852
|
-
t("span",
|
|
6853
|
-
t("span",
|
|
6854
|
-
t("span",
|
|
6859
|
+
t("span", lg, [
|
|
6860
|
+
t("span", sg, [
|
|
6861
|
+
t("span", ng, u(c.id), 1)
|
|
6855
6862
|
]),
|
|
6856
|
-
t("span",
|
|
6863
|
+
t("span", ag, u(c.name), 1)
|
|
6857
6864
|
])
|
|
6858
|
-
], 8,
|
|
6859
|
-
v !== n.value.length - 1 ? (l(), s("div",
|
|
6865
|
+
], 8, tg)),
|
|
6866
|
+
v !== n.value.length - 1 ? (l(), s("div", og, [...d[0] || (d[0] = [
|
|
6860
6867
|
t("svg", {
|
|
6861
6868
|
class: "size-full text-gray-300",
|
|
6862
6869
|
viewBox: "0 0 22 80",
|
|
@@ -6875,7 +6882,7 @@ const Z0 = { "aria-label": "Progress" }, W0 = {
|
|
|
6875
6882
|
])
|
|
6876
6883
|
]));
|
|
6877
6884
|
}
|
|
6878
|
-
}),
|
|
6885
|
+
}), rg = { class: "grid min-h-full place-items-center bg-white px-6 py-24 sm:py-32 lg:px-8" }, dg = { class: "text-center" }, cg = { class: "mt-4 text-balance text-5xl font-semibold tracking-tight text-gray-900 sm:text-7xl" }, ug = { class: "mt-6 text-pretty text-lg font-medium text-gray-500 sm:text-xl/8" }, gg = { class: "mt-10 flex items-center justify-center gap-x-6" }, mg = ["href"], fg = /* @__PURE__ */ T({
|
|
6879
6886
|
__name: "ui404",
|
|
6880
6887
|
props: {
|
|
6881
6888
|
lang: { default: "es" },
|
|
@@ -6896,153 +6903,153 @@ const Z0 = { "aria-label": "Progress" }, W0 = {
|
|
|
6896
6903
|
contactSupport: "Contact support"
|
|
6897
6904
|
}
|
|
6898
6905
|
}, o = A(() => i[g.lang]);
|
|
6899
|
-
return (n, r) => (l(), s("main",
|
|
6900
|
-
t("div",
|
|
6906
|
+
return (n, r) => (l(), s("main", rg, [
|
|
6907
|
+
t("div", dg, [
|
|
6901
6908
|
r[1] || (r[1] = t("p", { class: "text-base font-semibold text-lime-400" }, "404", -1)),
|
|
6902
|
-
t("h1",
|
|
6903
|
-
t("p",
|
|
6904
|
-
t("div",
|
|
6909
|
+
t("h1", cg, u(o.value.title), 1),
|
|
6910
|
+
t("p", ug, u(o.value.description), 1),
|
|
6911
|
+
t("div", gg, [
|
|
6905
6912
|
t("a", {
|
|
6906
6913
|
href: e.supportLink,
|
|
6907
6914
|
class: "text-sm font-semibold text-gray-900"
|
|
6908
6915
|
}, [
|
|
6909
6916
|
B(u(o.value.contactSupport) + " ", 1),
|
|
6910
6917
|
r[0] || (r[0] = t("span", { "aria-hidden": "true" }, "→", -1))
|
|
6911
|
-
], 8,
|
|
6918
|
+
], 8, mg)
|
|
6912
6919
|
])
|
|
6913
6920
|
])
|
|
6914
6921
|
]));
|
|
6915
6922
|
}
|
|
6916
6923
|
}), ht = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6917
6924
|
__proto__: null,
|
|
6918
|
-
ui404:
|
|
6919
|
-
uiAlert:
|
|
6925
|
+
ui404: fg,
|
|
6926
|
+
uiAlert: bn,
|
|
6920
6927
|
uiBreadcrumbs: Dt,
|
|
6921
6928
|
uiButton: U,
|
|
6922
|
-
uiCard:
|
|
6923
|
-
uiCardWithImage:
|
|
6924
|
-
uiChart:
|
|
6929
|
+
uiCard: Cn,
|
|
6930
|
+
uiCardWithImage: Yn,
|
|
6931
|
+
uiChart: gi,
|
|
6925
6932
|
uiCheckbox: ue,
|
|
6926
|
-
uiCircleChart:
|
|
6927
|
-
uiComparator:
|
|
6928
|
-
uiDateRange:
|
|
6929
|
-
uiDeviceStatus:
|
|
6930
|
-
uiDragAndDrop:
|
|
6933
|
+
uiCircleChart: su,
|
|
6934
|
+
uiComparator: $0,
|
|
6935
|
+
uiDateRange: ou,
|
|
6936
|
+
uiDeviceStatus: _u,
|
|
6937
|
+
uiDragAndDrop: Uc,
|
|
6931
6938
|
uiDropdown: ge,
|
|
6932
|
-
uiDynamicStats:
|
|
6933
|
-
uiFilter:
|
|
6934
|
-
uiFooter:
|
|
6935
|
-
uiFunnelChartV2:
|
|
6936
|
-
uiGallery:
|
|
6939
|
+
uiDynamicStats: Xu,
|
|
6940
|
+
uiFilter: En,
|
|
6941
|
+
uiFooter: yi,
|
|
6942
|
+
uiFunnelChartV2: hc,
|
|
6943
|
+
uiGallery: Oc,
|
|
6937
6944
|
uiIcon: P,
|
|
6938
6945
|
uiInput: ae,
|
|
6939
6946
|
uiInputFile: Ee,
|
|
6940
|
-
uiLoadingScreen:
|
|
6947
|
+
uiLoadingScreen: bi,
|
|
6941
6948
|
uiModal: Pe,
|
|
6942
6949
|
uiNoResults: lt,
|
|
6943
|
-
uiNotification:
|
|
6944
|
-
uiPriceCalendar:
|
|
6945
|
-
uiRangeSlider:
|
|
6946
|
-
uiRightSidebar:
|
|
6947
|
-
uiSecondarySidebar:
|
|
6948
|
-
uiSectionTitle:
|
|
6949
|
-
uiSelect:
|
|
6950
|
-
uiSelectMultiple:
|
|
6950
|
+
uiNotification: da,
|
|
6951
|
+
uiPriceCalendar: Ko,
|
|
6952
|
+
uiRangeSlider: uu,
|
|
6953
|
+
uiRightSidebar: Bc,
|
|
6954
|
+
uiSecondarySidebar: Mu,
|
|
6955
|
+
uiSectionTitle: mu,
|
|
6956
|
+
uiSelect: zs,
|
|
6957
|
+
uiSelectMultiple: r0,
|
|
6951
6958
|
uiSelect_v2: ve,
|
|
6952
|
-
uiSidebar:
|
|
6959
|
+
uiSidebar: Ai,
|
|
6953
6960
|
uiSidebarV2: Ue,
|
|
6954
6961
|
uiStats: Ft,
|
|
6955
|
-
uiSteps:
|
|
6956
|
-
uiStepsV4:
|
|
6957
|
-
uiStripedCard:
|
|
6958
|
-
uiTable:
|
|
6959
|
-
uiTabs:
|
|
6962
|
+
uiSteps: H0,
|
|
6963
|
+
uiStepsV4: ig,
|
|
6964
|
+
uiStripedCard: hr,
|
|
6965
|
+
uiTable: cd,
|
|
6966
|
+
uiTabs: bd,
|
|
6960
6967
|
uiTag: J,
|
|
6961
|
-
uiTaskList:
|
|
6962
|
-
uiTextArea:
|
|
6963
|
-
uiTimeline:
|
|
6964
|
-
uiToggle:
|
|
6965
|
-
uiTopbar:
|
|
6966
|
-
uiViewHeader:
|
|
6967
|
-
uiWrapper:
|
|
6968
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6968
|
+
uiTaskList: pa,
|
|
6969
|
+
uiTextArea: Vs,
|
|
6970
|
+
uiTimeline: Vd,
|
|
6971
|
+
uiToggle: Hs,
|
|
6972
|
+
uiTopbar: ic,
|
|
6973
|
+
uiViewHeader: rn,
|
|
6974
|
+
uiWrapper: Qu
|
|
6975
|
+
}, Symbol.toStringTag, { value: "Module" })), hg = [
|
|
6969
6976
|
"primary",
|
|
6970
6977
|
"secondary",
|
|
6971
6978
|
"light",
|
|
6972
6979
|
"green",
|
|
6973
6980
|
"yellow",
|
|
6974
6981
|
"red"
|
|
6975
|
-
],
|
|
6982
|
+
], Sg = [
|
|
6976
6983
|
"text",
|
|
6977
6984
|
"email",
|
|
6978
6985
|
"password",
|
|
6979
6986
|
"number",
|
|
6980
6987
|
"date",
|
|
6981
6988
|
"datetime-local"
|
|
6982
|
-
],
|
|
6983
|
-
function
|
|
6989
|
+
], yg = ["black", "gray", "white"], Bg = [...hg, ...yg], bg = ["small", "medium", "big"], vg = ["bigger", "huge", "massive"], Mg = [...bg, ...vg], zg = ["default", "success", "warning", "danger"];
|
|
6990
|
+
function xg(e) {
|
|
6984
6991
|
for (const g in ht)
|
|
6985
6992
|
e.component(g, ht[g]);
|
|
6986
6993
|
}
|
|
6987
|
-
const
|
|
6994
|
+
const jg = { install: xg };
|
|
6988
6995
|
export {
|
|
6989
|
-
|
|
6990
|
-
|
|
6991
|
-
|
|
6992
|
-
|
|
6993
|
-
|
|
6994
|
-
|
|
6995
|
-
|
|
6996
|
-
|
|
6997
|
-
|
|
6998
|
-
|
|
6999
|
-
|
|
6996
|
+
Bg as AllColors,
|
|
6997
|
+
Mg as AllSizes,
|
|
6998
|
+
vg as BiggerSizes,
|
|
6999
|
+
hg as Colors,
|
|
7000
|
+
yg as MonoColors,
|
|
7001
|
+
bg as Sizes,
|
|
7002
|
+
zg as Types,
|
|
7003
|
+
Sg as UiInputTypes,
|
|
7004
|
+
jg as default,
|
|
7005
|
+
fg as ui404,
|
|
7006
|
+
bn as uiAlert,
|
|
7000
7007
|
Dt as uiBreadcrumbs,
|
|
7001
7008
|
U as uiButton,
|
|
7002
|
-
|
|
7003
|
-
|
|
7004
|
-
|
|
7009
|
+
Cn as uiCard,
|
|
7010
|
+
Yn as uiCardWithImage,
|
|
7011
|
+
gi as uiChart,
|
|
7005
7012
|
ue as uiCheckbox,
|
|
7006
|
-
|
|
7007
|
-
|
|
7008
|
-
|
|
7009
|
-
|
|
7010
|
-
|
|
7013
|
+
su as uiCircleChart,
|
|
7014
|
+
$0 as uiComparator,
|
|
7015
|
+
ou as uiDateRange,
|
|
7016
|
+
_u as uiDeviceStatus,
|
|
7017
|
+
Uc as uiDragAndDrop,
|
|
7011
7018
|
ge as uiDropdown,
|
|
7012
|
-
|
|
7013
|
-
|
|
7014
|
-
|
|
7015
|
-
|
|
7016
|
-
|
|
7019
|
+
Xu as uiDynamicStats,
|
|
7020
|
+
En as uiFilter,
|
|
7021
|
+
yi as uiFooter,
|
|
7022
|
+
hc as uiFunnelChartV2,
|
|
7023
|
+
Oc as uiGallery,
|
|
7017
7024
|
P as uiIcon,
|
|
7018
7025
|
ae as uiInput,
|
|
7019
7026
|
Ee as uiInputFile,
|
|
7020
|
-
|
|
7027
|
+
bi as uiLoadingScreen,
|
|
7021
7028
|
Pe as uiModal,
|
|
7022
7029
|
lt as uiNoResults,
|
|
7023
|
-
|
|
7024
|
-
|
|
7025
|
-
|
|
7026
|
-
|
|
7027
|
-
|
|
7028
|
-
|
|
7029
|
-
|
|
7030
|
-
|
|
7030
|
+
da as uiNotification,
|
|
7031
|
+
Ko as uiPriceCalendar,
|
|
7032
|
+
uu as uiRangeSlider,
|
|
7033
|
+
Bc as uiRightSidebar,
|
|
7034
|
+
Mu as uiSecondarySidebar,
|
|
7035
|
+
mu as uiSectionTitle,
|
|
7036
|
+
zs as uiSelect,
|
|
7037
|
+
r0 as uiSelectMultiple,
|
|
7031
7038
|
ve as uiSelect_v2,
|
|
7032
|
-
|
|
7039
|
+
Ai as uiSidebar,
|
|
7033
7040
|
Ue as uiSidebarV2,
|
|
7034
7041
|
Ft as uiStats,
|
|
7035
|
-
|
|
7036
|
-
|
|
7037
|
-
|
|
7038
|
-
|
|
7039
|
-
|
|
7042
|
+
H0 as uiSteps,
|
|
7043
|
+
ig as uiStepsV4,
|
|
7044
|
+
hr as uiStripedCard,
|
|
7045
|
+
cd as uiTable,
|
|
7046
|
+
bd as uiTabs,
|
|
7040
7047
|
J as uiTag,
|
|
7041
|
-
|
|
7042
|
-
|
|
7043
|
-
|
|
7044
|
-
|
|
7045
|
-
|
|
7046
|
-
|
|
7047
|
-
|
|
7048
|
+
pa as uiTaskList,
|
|
7049
|
+
Vs as uiTextArea,
|
|
7050
|
+
Vd as uiTimeline,
|
|
7051
|
+
Hs as uiToggle,
|
|
7052
|
+
ic as uiTopbar,
|
|
7053
|
+
rn as uiViewHeader,
|
|
7054
|
+
Qu as uiWrapper
|
|
7048
7055
|
};
|