@hotelinking/ui 10.43.4 → 10.43.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ui.cjs +1 -1
- package/dist/ui.d.ts +433 -88
- package/dist/ui.es.js +66 -58
- package/package.json +1 -1
package/dist/ui.es.js
CHANGED
|
@@ -96,7 +96,7 @@ const j = /* @__PURE__ */ M({
|
|
|
96
96
|
}, ft = { class: "flex items-center h-5" }, ht = ["checked", "value", "disabled"], yt = { class: "ml-3 text-sm" }, vt = { class: "text-gray-500" }, bt = {
|
|
97
97
|
key: 1,
|
|
98
98
|
class: "flex items-center animate-pulse"
|
|
99
|
-
},
|
|
99
|
+
}, Ue = /* @__PURE__ */ M({
|
|
100
100
|
__name: "uiCheckbox",
|
|
101
101
|
props: {
|
|
102
102
|
check: { type: Boolean, default: !1 },
|
|
@@ -185,7 +185,7 @@ function kt(p, i) {
|
|
|
185
185
|
})
|
|
186
186
|
]);
|
|
187
187
|
}
|
|
188
|
-
function
|
|
188
|
+
function He(p, i) {
|
|
189
189
|
return s(), n("svg", {
|
|
190
190
|
xmlns: "http://www.w3.org/2000/svg",
|
|
191
191
|
fill: "none",
|
|
@@ -389,7 +389,7 @@ function St(p, i) {
|
|
|
389
389
|
})
|
|
390
390
|
]);
|
|
391
391
|
}
|
|
392
|
-
function
|
|
392
|
+
function H(p, i) {
|
|
393
393
|
return s(), n("svg", {
|
|
394
394
|
xmlns: "http://www.w3.org/2000/svg",
|
|
395
395
|
fill: "none",
|
|
@@ -675,7 +675,7 @@ const Nt = { class: "flex justify-between" }, At = {
|
|
|
675
675
|
}, qt = {
|
|
676
676
|
key: 1,
|
|
677
677
|
class: "text-[10px] text-gray-500 uppercase justify-self-end"
|
|
678
|
-
},
|
|
678
|
+
}, Ut = ["max", "disabled", "name", "placeholder", "type"], Ht = { class: "absolute inset-y-0 right-0 pr-3 flex items-center pointer-events-none" }, Et = {
|
|
679
679
|
key: 1,
|
|
680
680
|
class: "animate-pulse"
|
|
681
681
|
}, Zt = {
|
|
@@ -751,7 +751,7 @@ const Nt = { class: "flex justify-between" }, At = {
|
|
|
751
751
|
placeholder: t.placeholder,
|
|
752
752
|
type: t.type,
|
|
753
753
|
onInput: o
|
|
754
|
-
}, null, 42,
|
|
754
|
+
}, null, 42, Ut), [
|
|
755
755
|
[tt, r.value]
|
|
756
756
|
]),
|
|
757
757
|
t.rightAddOn ? (s(), n("span", {
|
|
@@ -759,7 +759,7 @@ const Nt = { class: "flex justify-between" }, At = {
|
|
|
759
759
|
onClick: u[2] || (u[2] = (d) => t.$emit("rightAddOnClicked")),
|
|
760
760
|
class: "inline-flex items-center px-3 rounded-r-md border border-l-0 border-gray-300 bg-gray-50 hover:bg-gray-200 text-gray-500 sm:text-sm cursor-pointer"
|
|
761
761
|
}, g(t.rightAddOn), 1)) : b("", !0),
|
|
762
|
-
e("div",
|
|
762
|
+
e("div", Ht, [
|
|
763
763
|
t.icon ? (s(), _(j, {
|
|
764
764
|
key: 0,
|
|
765
765
|
icon: t.icon,
|
|
@@ -774,7 +774,7 @@ const Nt = { class: "flex justify-between" }, At = {
|
|
|
774
774
|
[D, t.color === "green"]
|
|
775
775
|
]),
|
|
776
776
|
C(m(j, {
|
|
777
|
-
icon: c(
|
|
777
|
+
icon: c(H),
|
|
778
778
|
color: "yellow",
|
|
779
779
|
loading: t.loading
|
|
780
780
|
}, null, 8, ["icon", "loading"]), [
|
|
@@ -1052,7 +1052,7 @@ const Nt = { class: "flex justify-between" }, At = {
|
|
|
1052
1052
|
}), cs = {
|
|
1053
1053
|
key: 1,
|
|
1054
1054
|
class: "inline-flex items-center px-3 py-2.5 rounded text-xs font-medium leading-none animate-pulse bg-gray-200"
|
|
1055
|
-
},
|
|
1055
|
+
}, U = /* @__PURE__ */ M({
|
|
1056
1056
|
__name: "uiTag",
|
|
1057
1057
|
props: {
|
|
1058
1058
|
color: { default: "primary" },
|
|
@@ -1283,7 +1283,7 @@ const Nt = { class: "flex justify-between" }, At = {
|
|
|
1283
1283
|
class: "h-8 w-8 text-red-400",
|
|
1284
1284
|
"aria-hidden": "true"
|
|
1285
1285
|
})) : b("", !0),
|
|
1286
|
-
r.type === "warning" ? (s(), _(c(
|
|
1286
|
+
r.type === "warning" ? (s(), _(c(H), {
|
|
1287
1287
|
key: 2,
|
|
1288
1288
|
class: "h-8 w-8 text-yellow-400",
|
|
1289
1289
|
"aria-hidden": "true"
|
|
@@ -1389,10 +1389,10 @@ const Nt = { class: "flex justify-between" }, At = {
|
|
|
1389
1389
|
])
|
|
1390
1390
|
]));
|
|
1391
1391
|
}
|
|
1392
|
-
}), Fs = { class: "flex items-center flex-col sm:flex-row justify-center sm:justify-start" }, Vs = ["src"], Rs = { class: "font-bold text-center sm:text-left" }, qs = { class: "mt-1 text-xs text-center sm:text-left" },
|
|
1392
|
+
}), Fs = { class: "flex items-center flex-col sm:flex-row justify-center sm:justify-start" }, Vs = ["src"], Rs = { class: "font-bold text-center sm:text-left" }, qs = { class: "mt-1 text-xs text-center sm:text-left" }, Us = {
|
|
1393
1393
|
key: 0,
|
|
1394
1394
|
class: "flex flex-wrap mt-4 justify-center sm:justify-start"
|
|
1395
|
-
},
|
|
1395
|
+
}, Hs = {
|
|
1396
1396
|
key: 1,
|
|
1397
1397
|
class: "rounded-lg bg-white shadow p-6 cursor-pointer animate-pulse"
|
|
1398
1398
|
}, Es = /* @__PURE__ */ M({
|
|
@@ -1409,7 +1409,7 @@ const Nt = { class: "flex justify-between" }, At = {
|
|
|
1409
1409
|
setup(p, { emit: i }) {
|
|
1410
1410
|
return (l, a) => {
|
|
1411
1411
|
var r;
|
|
1412
|
-
return l.loading ? (s(), n("div",
|
|
1412
|
+
return l.loading ? (s(), n("div", Hs, a[1] || (a[1] = [
|
|
1413
1413
|
Q('<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)
|
|
1414
1414
|
]))) : (s(), n("div", {
|
|
1415
1415
|
key: 0,
|
|
@@ -1426,8 +1426,8 @@ const Nt = { class: "flex justify-between" }, At = {
|
|
|
1426
1426
|
e("p", qs, g(l.type), 1)
|
|
1427
1427
|
])
|
|
1428
1428
|
]),
|
|
1429
|
-
l.tags && ((r = l.tags) == null ? void 0 : r.length) > 0 ? (s(), n("div",
|
|
1430
|
-
(s(!0), n(k, null, $(l.tags, (o) => (s(), _(
|
|
1429
|
+
l.tags && ((r = l.tags) == null ? void 0 : r.length) > 0 ? (s(), n("div", Us, [
|
|
1430
|
+
(s(!0), n(k, null, $(l.tags, (o) => (s(), _(U, {
|
|
1431
1431
|
class: "mb-1 mr-1",
|
|
1432
1432
|
key: o.name,
|
|
1433
1433
|
color: o.color,
|
|
@@ -1558,7 +1558,7 @@ const Nt = { class: "flex justify-between" }, At = {
|
|
|
1558
1558
|
}, null, 512), [
|
|
1559
1559
|
[D, o.type === "success"]
|
|
1560
1560
|
]),
|
|
1561
|
-
C(m(c(
|
|
1561
|
+
C(m(c(H), {
|
|
1562
1562
|
class: "h-6 w-6 text-yellow-600",
|
|
1563
1563
|
"aria-hidden": "true"
|
|
1564
1564
|
}, null, 512), [
|
|
@@ -1654,7 +1654,7 @@ const Nt = { class: "flex justify-between" }, At = {
|
|
|
1654
1654
|
}, null, 512), [
|
|
1655
1655
|
[D, r.type === "danger"]
|
|
1656
1656
|
]),
|
|
1657
|
-
C(m(c(
|
|
1657
|
+
C(m(c(H), {
|
|
1658
1658
|
"aria-hidden": "true",
|
|
1659
1659
|
class: "h-6 w-6 text-yellow-400"
|
|
1660
1660
|
}, null, 512), [
|
|
@@ -1922,14 +1922,14 @@ function Yo(p, i, l, a, r, o) {
|
|
|
1922
1922
|
}
|
|
1923
1923
|
const Io = /* @__PURE__ */ te(zo, [["render", Yo]]), Po = {
|
|
1924
1924
|
name: "SkeletonTable"
|
|
1925
|
-
}, Fo = { class: "px-4 sm:px-6 lg:px-8 animate-pulse" }, Vo = { class: "flow-root" }, Ro = { class: "-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8" }, qo = { class: "inline-block min-w-full py-2 align-middle px-1" },
|
|
1925
|
+
}, Fo = { class: "px-4 sm:px-6 lg:px-8 animate-pulse" }, Vo = { class: "flow-root" }, Ro = { class: "-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8" }, qo = { class: "inline-block min-w-full py-2 align-middle px-1" }, Uo = { class: "overflow-hidden shadow ring-1 ring-black ring-opacity-5 sm:rounded-lg" }, Ho = { class: "min-w-full divide-y divide-gray-300" }, Eo = { class: "divide-y divide-gray-200 bg-white" };
|
|
1926
1926
|
function Zo(p, i, l, a, r, o) {
|
|
1927
1927
|
return s(), n("div", Fo, [
|
|
1928
1928
|
e("div", Vo, [
|
|
1929
1929
|
e("div", Ro, [
|
|
1930
1930
|
e("div", qo, [
|
|
1931
|
-
e("div",
|
|
1932
|
-
e("table",
|
|
1931
|
+
e("div", Uo, [
|
|
1932
|
+
e("table", Ho, [
|
|
1933
1933
|
i[1] || (i[1] = e("thead", { class: "bg-gray-50" }, [
|
|
1934
1934
|
e("tr", null, [
|
|
1935
1935
|
e("th", {
|
|
@@ -2308,7 +2308,7 @@ const oe = /* @__PURE__ */ te(ll, [["render", nl]]), al = {
|
|
|
2308
2308
|
key: K
|
|
2309
2309
|
}, [
|
|
2310
2310
|
m(oe, {
|
|
2311
|
-
onClick: (
|
|
2311
|
+
onClick: (kd) => P(V, A.id, A.name),
|
|
2312
2312
|
class: "border-l border-gray-200 px-6 py-3 text-indigo-600 hover:text-indigo-400 cursor-pointer",
|
|
2313
2313
|
price: V,
|
|
2314
2314
|
currency: x.currency.symbol,
|
|
@@ -2327,7 +2327,7 @@ const oe = /* @__PURE__ */ te(ll, [["render", nl]]), al = {
|
|
|
2327
2327
|
}), Ol = { class: "chart-header flex flex-row items-center w-full justify-between" }, Yl = { class: "text-sm font-medium text-gray-500 truncate mr-8" }, Il = {
|
|
2328
2328
|
key: 0,
|
|
2329
2329
|
class: "flex items-center gap-x-2 grow"
|
|
2330
|
-
}, Pl = { class: "self-center ml-2" }, Fl = { class: "self-center ml-2" }, Vl = { class: "self-center ml-2" }, Rl = { class: "hidden sm:flex items-center" }, ql = { class: "w-1/2 min-w-0 flex-1" },
|
|
2330
|
+
}, Pl = { class: "self-center ml-2" }, Fl = { class: "self-center ml-2" }, Vl = { class: "self-center ml-2" }, Rl = { class: "hidden sm:flex items-center" }, ql = { class: "w-1/2 min-w-0 flex-1" }, Ul = ["max"], Hl = { class: "min-w-0 flex-1" }, El = ["max"], Zl = { class: "chart-content relative" }, Jl = /* @__PURE__ */ M({
|
|
2331
2331
|
__name: "uiChart",
|
|
2332
2332
|
props: {
|
|
2333
2333
|
labels: {},
|
|
@@ -2422,7 +2422,7 @@ const oe = /* @__PURE__ */ te(ll, [["render", nl]]), al = {
|
|
|
2422
2422
|
e("div", Ol, [
|
|
2423
2423
|
e("div", Yl, g(S.title), 1),
|
|
2424
2424
|
S.isNps && S.npsLiterals ? (s(), n("div", Il, [
|
|
2425
|
-
m(
|
|
2425
|
+
m(U, {
|
|
2426
2426
|
size: "small",
|
|
2427
2427
|
color: "red",
|
|
2428
2428
|
loading: !1
|
|
@@ -2437,7 +2437,7 @@ const oe = /* @__PURE__ */ te(ll, [["render", nl]]), al = {
|
|
|
2437
2437
|
]),
|
|
2438
2438
|
_: 1
|
|
2439
2439
|
}),
|
|
2440
|
-
m(
|
|
2440
|
+
m(U, {
|
|
2441
2441
|
size: "small",
|
|
2442
2442
|
color: "yellow",
|
|
2443
2443
|
loading: !1
|
|
@@ -2452,7 +2452,7 @@ const oe = /* @__PURE__ */ te(ll, [["render", nl]]), al = {
|
|
|
2452
2452
|
]),
|
|
2453
2453
|
_: 1
|
|
2454
2454
|
}),
|
|
2455
|
-
m(
|
|
2455
|
+
m(U, {
|
|
2456
2456
|
size: "small",
|
|
2457
2457
|
color: "green",
|
|
2458
2458
|
loading: !1
|
|
@@ -2478,11 +2478,11 @@ const oe = /* @__PURE__ */ te(ll, [["render", nl]]), al = {
|
|
|
2478
2478
|
name: "from",
|
|
2479
2479
|
id: "from",
|
|
2480
2480
|
class: "text-xs relative block w-full rounded rounded-r-none border-0 bg-transparent py-1.5 text-gray-900 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:z-10 focus:ring-2 focus:ring-inset focus:ring-indigo-600"
|
|
2481
|
-
}, null, 40,
|
|
2481
|
+
}, null, 40, Ul), [
|
|
2482
2482
|
[X, c(o).from]
|
|
2483
2483
|
])
|
|
2484
2484
|
]),
|
|
2485
|
-
e("div",
|
|
2485
|
+
e("div", Hl, [
|
|
2486
2486
|
C(e("input", {
|
|
2487
2487
|
type: "datetime-local",
|
|
2488
2488
|
"onUpdate:modelValue": B[1] || (B[1] = (P) => c(o).to = P),
|
|
@@ -2499,7 +2499,7 @@ const oe = /* @__PURE__ */ te(ll, [["render", nl]]), al = {
|
|
|
2499
2499
|
class: "ml-4 cursor-pointer",
|
|
2500
2500
|
size: "big",
|
|
2501
2501
|
loading: S.loading,
|
|
2502
|
-
icon: c(
|
|
2502
|
+
icon: c(He),
|
|
2503
2503
|
onClick: B[2] || (B[2] = (P) => S.$emit("maximizeChart", S.id))
|
|
2504
2504
|
}, null, 8, ["loading", "icon"])
|
|
2505
2505
|
])
|
|
@@ -2522,7 +2522,7 @@ const oe = /* @__PURE__ */ te(ll, [["render", nl]]), al = {
|
|
|
2522
2522
|
class: y(["h-[" + S.height + "px]", "w-full flex items-center justify-center flex-col"])
|
|
2523
2523
|
}, [
|
|
2524
2524
|
m(j, {
|
|
2525
|
-
icon: c(
|
|
2525
|
+
icon: c(H),
|
|
2526
2526
|
color: "gray",
|
|
2527
2527
|
loading: !1,
|
|
2528
2528
|
size: "massive"
|
|
@@ -2976,7 +2976,7 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ M({
|
|
|
2976
2976
|
key: o
|
|
2977
2977
|
}, [
|
|
2978
2978
|
e("p", Pr, g(r.label), 1),
|
|
2979
|
-
(s(!0), n(k, null, $(r.filters, (t, u) => (s(), _(
|
|
2979
|
+
(s(!0), n(k, null, $(r.filters, (t, u) => (s(), _(Ue, {
|
|
2980
2980
|
class: "mb-2",
|
|
2981
2981
|
value: t.value,
|
|
2982
2982
|
loading: t.loading
|
|
@@ -2992,7 +2992,7 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ M({
|
|
|
2992
2992
|
]))
|
|
2993
2993
|
]));
|
|
2994
2994
|
}
|
|
2995
|
-
}), Rr = { key: 0 }, qr = { class: "ml-16 text-sm font-medium text-gray-500 truncate" },
|
|
2995
|
+
}), Rr = { key: 0 }, qr = { class: "ml-16 text-sm font-medium text-gray-500 truncate" }, Ur = { class: "ml-16 flex items-baseline pb-5" }, Hr = { class: "text-2xl font-semibold text-gray-900" }, Er = {
|
|
2996
2996
|
key: 0,
|
|
2997
2997
|
class: "text-black ml-2 flex items-baseline text-sm font-semibold"
|
|
2998
2998
|
}, Zr = { class: "absolute bottom-0 inset-x-0 bg-gray-50 px-4 py-4 sm:px-6" }, Jr = { class: "text-sm" }, Wr = { key: 1 }, Gr = { class: "relative bg-white pt-5 px-4 sm:pt-6 sm:px-6 shadow rounded-lg overflow-hidden h-full pb-6" }, Qr = { class: "absolute bg-gray-200 rounded-md p-3 animate-pulse" }, et = /* @__PURE__ */ M({
|
|
@@ -3045,8 +3045,8 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ M({
|
|
|
3045
3045
|
], 2),
|
|
3046
3046
|
e("p", qr, g(l.item.name), 1)
|
|
3047
3047
|
]),
|
|
3048
|
-
e("dd",
|
|
3049
|
-
e("p",
|
|
3048
|
+
e("dd", Ur, [
|
|
3049
|
+
e("p", Hr, g(l.item.stat), 1),
|
|
3050
3050
|
l.item.explanation ? (s(), n("p", Er, g(l.item.explanation), 1)) : b("", !0),
|
|
3051
3051
|
l.item.changeType ? (s(), n("p", {
|
|
3052
3052
|
key: 1,
|
|
@@ -3137,7 +3137,7 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ M({
|
|
|
3137
3137
|
}, [
|
|
3138
3138
|
e("dt", on, g(a.title), 1),
|
|
3139
3139
|
a.type === "tags" ? (s(), n("dd", ln, [
|
|
3140
|
-
(s(!0), n(k, null, $(a.tags, (o, t) => (s(), _(
|
|
3140
|
+
(s(!0), n(k, null, $(a.tags, (o, t) => (s(), _(U, {
|
|
3141
3141
|
loading: i.loading,
|
|
3142
3142
|
key: t,
|
|
3143
3143
|
color: o.color,
|
|
@@ -3326,7 +3326,7 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ M({
|
|
|
3326
3326
|
c(l).includes(B.id) ? "text-indigo-600" : "text-gray-900"
|
|
3327
3327
|
])
|
|
3328
3328
|
}, [
|
|
3329
|
-
typeof Y == "object" && Y.type === "tag" ? (s(), _(
|
|
3329
|
+
typeof Y == "object" && Y.type === "tag" ? (s(), _(U, {
|
|
3330
3330
|
key: 0,
|
|
3331
3331
|
loading: w.loading,
|
|
3332
3332
|
color: Y.color
|
|
@@ -3413,7 +3413,7 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ M({
|
|
|
3413
3413
|
}), Vn = { class: "px-4 py-5 sm:px-6" }, Rn = { class: "text-xl font-bold" }, qn = {
|
|
3414
3414
|
key: 0,
|
|
3415
3415
|
class: "px-4 py-5 sm:p-6"
|
|
3416
|
-
},
|
|
3416
|
+
}, Un = { class: "flow-root" }, Hn = { class: "relative pb-8" }, En = {
|
|
3417
3417
|
key: 0,
|
|
3418
3418
|
class: "absolute left-4 top-4 -ml-px h-full w-0.5 bg-gray-200",
|
|
3419
3419
|
"aria-hidden": "true"
|
|
@@ -3476,7 +3476,7 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ M({
|
|
|
3476
3476
|
e("h1", Rn, g(r.name), 1)
|
|
3477
3477
|
]),
|
|
3478
3478
|
a.items ? (s(), n("div", qn, [
|
|
3479
|
-
e("div",
|
|
3479
|
+
e("div", Un, [
|
|
3480
3480
|
m(st, {
|
|
3481
3481
|
name: "list",
|
|
3482
3482
|
tag: "ul",
|
|
@@ -3484,7 +3484,7 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ M({
|
|
|
3484
3484
|
}, {
|
|
3485
3485
|
default: v(() => [
|
|
3486
3486
|
(s(!0), n(k, null, $(a.items, (t, u) => (s(), n("li", { key: u }, [
|
|
3487
|
-
e("div",
|
|
3487
|
+
e("div", Hn, [
|
|
3488
3488
|
u < a.items.length - 1 ? (s(), n("span", En)) : b("", !0),
|
|
3489
3489
|
e("div", Zn, [
|
|
3490
3490
|
e("div", null, [
|
|
@@ -3533,7 +3533,7 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ M({
|
|
|
3533
3533
|
])
|
|
3534
3534
|
])) : (s(), n("div", ta, [
|
|
3535
3535
|
m(j, {
|
|
3536
|
-
icon: c(
|
|
3536
|
+
icon: c(H),
|
|
3537
3537
|
color: "gray",
|
|
3538
3538
|
loading: !1,
|
|
3539
3539
|
size: "huge"
|
|
@@ -3827,7 +3827,7 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ M({
|
|
|
3827
3827
|
]),
|
|
3828
3828
|
C(e("div", Oa, [
|
|
3829
3829
|
m(j, {
|
|
3830
|
-
icon: c(
|
|
3830
|
+
icon: c(H),
|
|
3831
3831
|
color: "gray",
|
|
3832
3832
|
loading: !1,
|
|
3833
3833
|
size: "huge"
|
|
@@ -3885,7 +3885,7 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ M({
|
|
|
3885
3885
|
m(j, {
|
|
3886
3886
|
class: "mx-auto",
|
|
3887
3887
|
loading: !1,
|
|
3888
|
-
icon: c(
|
|
3888
|
+
icon: c(H),
|
|
3889
3889
|
size: "massive",
|
|
3890
3890
|
color: "gray"
|
|
3891
3891
|
}, null, 8, ["icon"]),
|
|
@@ -3913,7 +3913,7 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ M({
|
|
|
3913
3913
|
])
|
|
3914
3914
|
]));
|
|
3915
3915
|
}
|
|
3916
|
-
}),
|
|
3916
|
+
}), Ua = { class: "fixed inset-0 overflow-hidden" }, Ha = { class: "absolute inset-0 overflow-hidden" }, Ea = { class: "pointer-events-none fixed inset-y-0 right-0 flex max-w-full pl-10" }, Za = { class: "flex h-full flex-col overflow-y-scroll bg-white shadow-xl" }, Ja = { class: "bg-indigo-700 px-4 py-6 sm:px-6" }, Wa = { class: "flex items-center justify-between" }, Ga = { class: "ml-3 flex h-7 items-center" }, Qa = { class: "mt-1" }, Ka = { class: "text-sm text-indigo-300" }, Xa = { class: "relative flex-1 px-4 py-6 sm:px-6" }, ei = /* @__PURE__ */ M({
|
|
3917
3917
|
__name: "uiRightSidebar",
|
|
3918
3918
|
props: {
|
|
3919
3919
|
title: {},
|
|
@@ -3934,8 +3934,8 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ M({
|
|
|
3934
3934
|
}, {
|
|
3935
3935
|
default: v(() => [
|
|
3936
3936
|
a[4] || (a[4] = e("div", { class: "fixed inset-0" }, null, -1)),
|
|
3937
|
-
e("div",
|
|
3938
|
-
e("div",
|
|
3937
|
+
e("div", Ua, [
|
|
3938
|
+
e("div", Ha, [
|
|
3939
3939
|
e("div", Ea, [
|
|
3940
3940
|
m(c(G), {
|
|
3941
3941
|
as: "template",
|
|
@@ -4235,7 +4235,7 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ M({
|
|
|
4235
4235
|
class: "ml-4 cursor-pointer",
|
|
4236
4236
|
size: "big",
|
|
4237
4237
|
loading: N.loading,
|
|
4238
|
-
icon: c(
|
|
4238
|
+
icon: c(He),
|
|
4239
4239
|
onClick: S[2] || (S[2] = (B) => N.$emit("maximizeChart", N.id))
|
|
4240
4240
|
}, null, 8, ["loading", "icon"])
|
|
4241
4241
|
])
|
|
@@ -4256,7 +4256,7 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ M({
|
|
|
4256
4256
|
]),
|
|
4257
4257
|
C(e("div", Bi, [
|
|
4258
4258
|
m(j, {
|
|
4259
|
-
icon: c(
|
|
4259
|
+
icon: c(H),
|
|
4260
4260
|
color: "gray",
|
|
4261
4261
|
loading: !1,
|
|
4262
4262
|
size: "huge"
|
|
@@ -4450,7 +4450,7 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ M({
|
|
|
4450
4450
|
}), Fi = {
|
|
4451
4451
|
key: 0,
|
|
4452
4452
|
class: "col-span-1 flex flex-col divide-y divide-gray-200 rounded-lg bg-white text-center shadow"
|
|
4453
|
-
}, Vi = { class: "flex flex-1 flex-col p-8" }, Ri = { class: "text-2xl font-bold text-gray-900" }, qi = { class: "mt-1 flex flex-grow flex-col justify-between" },
|
|
4453
|
+
}, Vi = { class: "flex flex-1 flex-col p-8" }, Ri = { class: "text-2xl font-bold text-gray-900" }, qi = { class: "mt-1 flex flex-grow flex-col justify-between" }, Ui = { class: "mt-3 flex flex-wrap gap-x-1 gap-y-1 justify-center" }, Hi = {
|
|
4454
4454
|
key: 1,
|
|
4455
4455
|
class: "col-span-1 flex flex-col divide-y divide-gray-200 rounded-lg bg-white text-center shadow"
|
|
4456
4456
|
}, Ei = { class: "flex flex-1 flex-col p-8" }, Zi = { class: "rounded-md p-3 flex items-center justify-center mx-auto mb-4 bg-gray-200" }, Ji = { class: "mt-1 flex flex-grow flex-col justify-between" }, Wi = { class: "mt-3 flex flex-wrap gap-x-1 gap-y-1 justify-center" }, Gi = /* @__PURE__ */ M({
|
|
@@ -4466,7 +4466,7 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ M({
|
|
|
4466
4466
|
},
|
|
4467
4467
|
emits: ["deviceStatusTagClicked", "deviceStatusQtyClicked"],
|
|
4468
4468
|
setup(p, { emit: i }) {
|
|
4469
|
-
return (l, a) => l.loading ? (s(), n("div",
|
|
4469
|
+
return (l, a) => l.loading ? (s(), n("div", Hi, [
|
|
4470
4470
|
e("div", Ei, [
|
|
4471
4471
|
e("div", Zi, [
|
|
4472
4472
|
m(j, {
|
|
@@ -4480,7 +4480,7 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ M({
|
|
|
4480
4480
|
a[3] || (a[3] = e("div", { class: "h-4 bg-gray-200 rounded-full dark:bg-gray-300 w-1/3 mx-auto" }, null, -1)),
|
|
4481
4481
|
e("dl", Ji, [
|
|
4482
4482
|
e("dd", Wi, [
|
|
4483
|
-
(s(!0), n(k, null, $(l.tags, (r, o) => (s(), _(
|
|
4483
|
+
(s(!0), n(k, null, $(l.tags, (r, o) => (s(), _(U, {
|
|
4484
4484
|
key: o,
|
|
4485
4485
|
loading: l.loading,
|
|
4486
4486
|
event: r.event,
|
|
@@ -4525,8 +4525,8 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ M({
|
|
|
4525
4525
|
])
|
|
4526
4526
|
]),
|
|
4527
4527
|
e("dl", qi, [
|
|
4528
|
-
e("dd",
|
|
4529
|
-
(s(!0), n(k, null, $(l.tags, (r, o) => (s(), _(
|
|
4528
|
+
e("dd", Ui, [
|
|
4529
|
+
(s(!0), n(k, null, $(l.tags, (r, o) => (s(), _(U, {
|
|
4530
4530
|
key: o,
|
|
4531
4531
|
loading: !1,
|
|
4532
4532
|
event: r.event,
|
|
@@ -4897,7 +4897,7 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ M({
|
|
|
4897
4897
|
uiButton: J,
|
|
4898
4898
|
uiCard: Es,
|
|
4899
4899
|
uiChart: Jl,
|
|
4900
|
-
uiCheckbox:
|
|
4900
|
+
uiCheckbox: Ue,
|
|
4901
4901
|
uiCircleChart: Di,
|
|
4902
4902
|
uiDateRange: zi,
|
|
4903
4903
|
uiDeviceStatus: Gi,
|
|
@@ -4928,27 +4928,35 @@ const Kl = /* @__PURE__ */ te(Wl, [["render", Ql]]), Xl = /* @__PURE__ */ M({
|
|
|
4928
4928
|
uiStripedCard: un,
|
|
4929
4929
|
uiTable: Ln,
|
|
4930
4930
|
uiTabs: Fn,
|
|
4931
|
-
uiTag:
|
|
4931
|
+
uiTag: U,
|
|
4932
4932
|
uiTaskList: ko,
|
|
4933
4933
|
uiTextArea: vs,
|
|
4934
4934
|
uiTimeline: ia,
|
|
4935
4935
|
uiToggle: ks,
|
|
4936
4936
|
uiTopbar: ja,
|
|
4937
4937
|
uiWrapper: md
|
|
4938
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
4939
|
-
function
|
|
4938
|
+
}, Symbol.toStringTag, { value: "Module" })), yd = ["primary", "secondary", "light", "green", "yellow", "red"], Dd = ["text", "email", "password", "number", "date", "datetime-local"], vd = ["black", "gray", "white"], jd = [...yd, ...vd], bd = ["small", "medium", "big"], wd = ["bigger", "huge", "massive"], Td = [...bd, ...wd], zd = ["default", "success", "warning", "danger"];
|
|
4939
|
+
function xd(p) {
|
|
4940
4940
|
for (const i in Ne)
|
|
4941
4941
|
p.component(i, Ne[i]);
|
|
4942
4942
|
}
|
|
4943
|
-
const
|
|
4943
|
+
const Ld = { install: xd };
|
|
4944
4944
|
export {
|
|
4945
|
-
|
|
4945
|
+
jd as AllColors,
|
|
4946
|
+
Td as AllSizes,
|
|
4947
|
+
wd as BiggerSizes,
|
|
4948
|
+
yd as Colors,
|
|
4949
|
+
vd as MonoColors,
|
|
4950
|
+
bd as Sizes,
|
|
4951
|
+
zd as Types,
|
|
4952
|
+
Dd as UiInputTypes,
|
|
4953
|
+
Ld as default,
|
|
4946
4954
|
Ts as uiAlert,
|
|
4947
4955
|
Ps as uiBreadcrumbs,
|
|
4948
4956
|
J as uiButton,
|
|
4949
4957
|
Es as uiCard,
|
|
4950
4958
|
Jl as uiChart,
|
|
4951
|
-
|
|
4959
|
+
Ue as uiCheckbox,
|
|
4952
4960
|
Di as uiCircleChart,
|
|
4953
4961
|
zi as uiDateRange,
|
|
4954
4962
|
Gi as uiDeviceStatus,
|
|
@@ -4979,7 +4987,7 @@ export {
|
|
|
4979
4987
|
un as uiStripedCard,
|
|
4980
4988
|
Ln as uiTable,
|
|
4981
4989
|
Fn as uiTabs,
|
|
4982
|
-
|
|
4990
|
+
U as uiTag,
|
|
4983
4991
|
ko as uiTaskList,
|
|
4984
4992
|
vs as uiTextArea,
|
|
4985
4993
|
ia as uiTimeline,
|