@hotelinking/ui 16.45.5 → 16.45.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 +2 -0
- package/dist/ui.es.js +101 -101
- package/package.json +1 -1
package/dist/ui.es.js
CHANGED
|
@@ -546,7 +546,7 @@ function Ol(e, u) {
|
|
|
546
546
|
})
|
|
547
547
|
]);
|
|
548
548
|
}
|
|
549
|
-
function
|
|
549
|
+
function Ie(e, u) {
|
|
550
550
|
return l(), a("svg", {
|
|
551
551
|
xmlns: "http://www.w3.org/2000/svg",
|
|
552
552
|
fill: "none",
|
|
@@ -597,10 +597,10 @@ function oe(e, u) {
|
|
|
597
597
|
})
|
|
598
598
|
]);
|
|
599
599
|
}
|
|
600
|
-
const
|
|
600
|
+
const Il = {
|
|
601
601
|
key: 0,
|
|
602
602
|
class: "block text-sm font-medium"
|
|
603
|
-
},
|
|
603
|
+
}, Nl = {
|
|
604
604
|
key: 1,
|
|
605
605
|
"data-test": "required",
|
|
606
606
|
class: "place-self-center text-[10px] uppercase justify-self-end mt-1"
|
|
@@ -642,8 +642,8 @@ const Nl = {
|
|
|
642
642
|
t("div", {
|
|
643
643
|
class: b(["flex justify-between sha items-center", { "mt-1": e.label }])
|
|
644
644
|
}, [
|
|
645
|
-
e.label ? (l(), a("label",
|
|
646
|
-
e.requiredText ? (l(), a("span",
|
|
645
|
+
e.label ? (l(), a("label", Il, c(e.label), 1)) : x("", !0),
|
|
646
|
+
e.requiredText ? (l(), a("span", Nl, c(e.requiredText), 1)) : x("", !0)
|
|
647
647
|
], 2),
|
|
648
648
|
g(f(Re), { class: "text-black inline-flex justify-between w-full rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-sm font-medium hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-gray-100 focus:ring-black" }, {
|
|
649
649
|
default: h(() => [
|
|
@@ -847,7 +847,7 @@ const Nl = {
|
|
|
847
847
|
}, ea = { class: "space-y-1 flex flex-col items-center justify-center" }, ta = { class: "flex text-sm flex-col sm:flex-row text-center" }, la = ["for"], aa = ["id", "name", "accept"], sa = { class: "pl-1" }, na = { class: "text-xs pb-4" }, oa = { class: "mt-2 text-xs flex flex-row items-center text-red-600" }, ia = {
|
|
848
848
|
key: 1,
|
|
849
849
|
class: "animate-pulse"
|
|
850
|
-
},
|
|
850
|
+
}, Ne = /* @__PURE__ */ B({
|
|
851
851
|
__name: "uiInputFile",
|
|
852
852
|
props: {
|
|
853
853
|
name: {},
|
|
@@ -1500,7 +1500,7 @@ const ha = { class: "flex justify-between" }, ya = {
|
|
|
1500
1500
|
])
|
|
1501
1501
|
]));
|
|
1502
1502
|
}
|
|
1503
|
-
}), Oa = { key: 0 },
|
|
1503
|
+
}), Oa = { key: 0 }, Ia = { class: "mb-12" }, Na = { class: "mx-auto flex flex-col" }, Va = { class: "hidden sm:block" }, qa = { class: "text-2xl font-bold leading-7 sm:text-4xl sm:truncate mt-6" }, Ya = {
|
|
1504
1504
|
key: 0,
|
|
1505
1505
|
class: "flex flex-col lg:flex-row justify-between items-start"
|
|
1506
1506
|
}, Ra = {
|
|
@@ -1534,8 +1534,8 @@ const ha = { class: "flex justify-between" }, ya = {
|
|
|
1534
1534
|
return (u, i) => e.loading ? (l(), a("div", Ea, [...i[2] || (i[2] = [
|
|
1535
1535
|
ae('<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)
|
|
1536
1536
|
])])) : (l(), a("div", Oa, [
|
|
1537
|
-
t("header",
|
|
1538
|
-
t("div",
|
|
1537
|
+
t("header", Ia, [
|
|
1538
|
+
t("div", Na, [
|
|
1539
1539
|
t("div", Va, [
|
|
1540
1540
|
g(pt, {
|
|
1541
1541
|
pages: e.pages,
|
|
@@ -1973,17 +1973,17 @@ const ha = { class: "flex justify-between" }, ya = {
|
|
|
1973
1973
|
key: 0,
|
|
1974
1974
|
role: "list",
|
|
1975
1975
|
class: "divide-y divide-gray-100"
|
|
1976
|
-
}, Ts = { class: "min-w-0" }, zs = { class: "flex items-start gap-x-3" }, Ds = { class: "text-sm font-semibold leading-6 text-gray-900" }, As = { class: "mt-1 flex items-center gap-x-2 text-xs leading-5 text-gray-500" }, Ls = { class: "truncate" }, Fs = { class: "flex flex-none items-center gap-x-4" }, Ps = ["href"], Os = { class: "sr-only" },
|
|
1976
|
+
}, Ts = { class: "min-w-0" }, zs = { class: "flex items-start gap-x-3" }, Ds = { class: "text-sm font-semibold leading-6 text-gray-900" }, As = { class: "mt-1 flex items-center gap-x-2 text-xs leading-5 text-gray-500" }, Ls = { class: "truncate" }, Fs = { class: "flex flex-none items-center gap-x-4" }, Ps = ["href"], Os = { class: "sr-only" }, Is = {
|
|
1977
1977
|
key: 1,
|
|
1978
1978
|
class: "divide-y divide-gray-100 animate-pulse"
|
|
1979
|
-
},
|
|
1979
|
+
}, Ns = /* @__PURE__ */ B({
|
|
1980
1980
|
__name: "uiTaskList",
|
|
1981
1981
|
props: {
|
|
1982
1982
|
tasks: {},
|
|
1983
1983
|
loading: { type: Boolean, default: !0 }
|
|
1984
1984
|
},
|
|
1985
1985
|
setup(e) {
|
|
1986
|
-
return (u, i) => e.loading ? (l(), a("ul",
|
|
1986
|
+
return (u, i) => e.loading ? (l(), a("ul", Is, [
|
|
1987
1987
|
(l(!0), a(C, null, S(e.tasks, (o) => (l(), a("li", {
|
|
1988
1988
|
key: o.id,
|
|
1989
1989
|
class: "flex items-center justify-between gap-x-6 py-5"
|
|
@@ -2381,7 +2381,7 @@ const we = /* @__PURE__ */ be(wn, [["render", Cn]]), Sn = {
|
|
|
2381
2381
|
}, Pn = { key: 1 }, On = {
|
|
2382
2382
|
colspan: "6",
|
|
2383
2383
|
class: "pl-4"
|
|
2384
|
-
},
|
|
2384
|
+
}, In = { key: 2 }, Nn = {
|
|
2385
2385
|
colspan: "6",
|
|
2386
2386
|
class: "pl-4"
|
|
2387
2387
|
}, Vn = {
|
|
@@ -2441,11 +2441,11 @@ const we = /* @__PURE__ */ be(wn, [["render", Cn]]), Sn = {
|
|
|
2441
2441
|
}), m = D(() => n.value.length > 0 && n.value.length < i.rooms.length), v = (H) => {
|
|
2442
2442
|
R(H).isBefore(s.value) || (r.value = H, o("dateChanged", r.value));
|
|
2443
2443
|
}, p = (H) => {
|
|
2444
|
-
let E = i.category.selectionPrices.find((
|
|
2444
|
+
let E = i.category.selectionPrices.find((N) => R(N.date).isSame(H.date));
|
|
2445
2445
|
return E ? E.price : H.price;
|
|
2446
2446
|
}, $ = (H) => {
|
|
2447
2447
|
n.value = H.target.checked ? i.rooms.map((E) => E.id) : [];
|
|
2448
|
-
}, V = () => o("changeCategoryBulkPrices"), U = (H) => o("changeCategorySelectionPrice", H), T = (H) => o("changeCategoryUpgradePrice", H), q = (H) => o("tableAction", H), W = (H, E,
|
|
2448
|
+
}, V = () => o("changeCategoryBulkPrices"), U = (H) => o("changeCategorySelectionPrice", H), T = (H) => o("changeCategoryUpgradePrice", H), q = (H) => o("tableAction", H), W = (H, E, N) => o("changeRoomPrice", { price: H, roomId: E, roomName: N });
|
|
2449
2449
|
return (H, E) => e.loading ? (l(), k(wt, { key: 1 })) : (l(), a("div", Sn, [
|
|
2450
2450
|
t("div", Bn, [
|
|
2451
2451
|
t("div", Mn, [
|
|
@@ -2456,17 +2456,17 @@ const we = /* @__PURE__ */ be(wn, [["render", Cn]]), Sn = {
|
|
|
2456
2456
|
t("th", Dn, [
|
|
2457
2457
|
g(en, {
|
|
2458
2458
|
selectedDate: r.value,
|
|
2459
|
-
onDateSelected: E[0] || (E[0] = (
|
|
2459
|
+
onDateSelected: E[0] || (E[0] = (N) => v(N))
|
|
2460
2460
|
}, null, 8, ["selectedDate"])
|
|
2461
2461
|
]),
|
|
2462
|
-
(l(!0), a(C, null, S(d.value, (
|
|
2462
|
+
(l(!0), a(C, null, S(d.value, (N, w) => (l(), a("th", {
|
|
2463
2463
|
scope: "col",
|
|
2464
2464
|
key: w,
|
|
2465
2465
|
class: "text-sm font-semibold p-0"
|
|
2466
2466
|
}, [
|
|
2467
2467
|
g(pn, {
|
|
2468
2468
|
class: "border-l border-gray-200 px-6 py-3",
|
|
2469
|
-
day:
|
|
2469
|
+
day: N
|
|
2470
2470
|
}, null, 8, ["day"])
|
|
2471
2471
|
]))), 128))
|
|
2472
2472
|
]),
|
|
@@ -2488,14 +2488,14 @@ const we = /* @__PURE__ */ be(wn, [["render", Cn]]), Sn = {
|
|
|
2488
2488
|
]),
|
|
2489
2489
|
e.type === "discounts" ? (l(), a("tr", Ln, [
|
|
2490
2490
|
t("td", Fn, c(e.literals.pricesDiscount), 1),
|
|
2491
|
-
(l(!0), a(C, null, S(e.category.selectionPrices, (
|
|
2491
|
+
(l(!0), a(C, null, S(e.category.selectionPrices, (N, w) => (l(), a("td", {
|
|
2492
2492
|
key: w,
|
|
2493
2493
|
class: "p-0"
|
|
2494
2494
|
}, [
|
|
2495
2495
|
g(we, {
|
|
2496
|
-
onClick: (O) => U(
|
|
2496
|
+
onClick: (O) => U(N),
|
|
2497
2497
|
class: "border-l border-gray-200 px-6 py-3 text-black hover:text-lime-400 font-bold cursor-pointer",
|
|
2498
|
-
price:
|
|
2498
|
+
price: N,
|
|
2499
2499
|
currency: e.currency.symbol,
|
|
2500
2500
|
isBasePrice: !0
|
|
2501
2501
|
}, null, 8, ["onClick", "price", "currency"])
|
|
@@ -2503,29 +2503,29 @@ const we = /* @__PURE__ */ be(wn, [["render", Cn]]), Sn = {
|
|
|
2503
2503
|
])) : x("", !0),
|
|
2504
2504
|
e.type === "prices" ? (l(), a("tr", Pn, [
|
|
2505
2505
|
t("td", On, c(e.literals.pricesSelection), 1),
|
|
2506
|
-
(l(!0), a(C, null, S(e.category.selectionPrices, (
|
|
2506
|
+
(l(!0), a(C, null, S(e.category.selectionPrices, (N, w) => (l(), a("td", {
|
|
2507
2507
|
key: w,
|
|
2508
2508
|
class: "p-0"
|
|
2509
2509
|
}, [
|
|
2510
2510
|
g(we, {
|
|
2511
|
-
onClick: (O) => U(
|
|
2511
|
+
onClick: (O) => U(N),
|
|
2512
2512
|
class: "border-l border-gray-200 px-6 py-3 text-black hover:text-lime-400 font-bold cursor-pointer",
|
|
2513
|
-
price:
|
|
2513
|
+
price: N,
|
|
2514
2514
|
currency: e.currency.symbol,
|
|
2515
2515
|
isBasePrice: !0
|
|
2516
2516
|
}, null, 8, ["onClick", "price", "currency"])
|
|
2517
2517
|
]))), 128))
|
|
2518
2518
|
])) : x("", !0),
|
|
2519
|
-
e.type === "prices" ? (l(), a("tr",
|
|
2520
|
-
t("td",
|
|
2521
|
-
(l(!0), a(C, null, S(e.category.upgradePrices, (
|
|
2519
|
+
e.type === "prices" ? (l(), a("tr", In, [
|
|
2520
|
+
t("td", Nn, c(e.literals.pricesUpgrade), 1),
|
|
2521
|
+
(l(!0), a(C, null, S(e.category.upgradePrices, (N, w) => (l(), a("td", {
|
|
2522
2522
|
key: w,
|
|
2523
2523
|
class: "p-0"
|
|
2524
2524
|
}, [
|
|
2525
2525
|
g(we, {
|
|
2526
|
-
onClick: (O) => T(
|
|
2526
|
+
onClick: (O) => T(N),
|
|
2527
2527
|
class: "border-l border-gray-200 px-6 py-3 text-black hover:text-lime-400 font-bold cursor-pointer bg-gray-100",
|
|
2528
|
-
price:
|
|
2528
|
+
price: N,
|
|
2529
2529
|
currency: e.currency.symbol,
|
|
2530
2530
|
isBasePrice: !0
|
|
2531
2531
|
}, null, 8, ["onClick", "price", "currency"])
|
|
@@ -2534,12 +2534,12 @@ const we = /* @__PURE__ */ be(wn, [["render", Cn]]), Sn = {
|
|
|
2534
2534
|
t("tr", null, [
|
|
2535
2535
|
t("th", Vn, [
|
|
2536
2536
|
n.value?.length > 0 && e.actions?.length > 0 ? (l(), a("div", qn, [
|
|
2537
|
-
(l(!0), a(C, null, S(e.actions, (
|
|
2538
|
-
onClick: (O) => q({ action:
|
|
2537
|
+
(l(!0), a(C, null, S(e.actions, (N, w) => (l(), a("button", {
|
|
2538
|
+
onClick: (O) => q({ action: N.id, items: n.value }),
|
|
2539
2539
|
key: w,
|
|
2540
2540
|
type: "button",
|
|
2541
2541
|
class: "inline-flex items-center rounded bg-lime-400 hover:bg-black hover:text-white px-2.5 py-1.5 text-xs font-medium shadow-sm disabled:cursor-not-allowed disabled:opacity-30"
|
|
2542
|
-
}, c(
|
|
2542
|
+
}, c(N.name), 9, Yn))), 128))
|
|
2543
2543
|
])) : x("", !0),
|
|
2544
2544
|
t("span", null, c(e.literals.pricesSelection), 1)
|
|
2545
2545
|
])
|
|
@@ -2563,8 +2563,8 @@ const we = /* @__PURE__ */ be(wn, [["render", Cn]]), Sn = {
|
|
|
2563
2563
|
class: "bg-gray-100 py-2 pl-4 pr-3 text-left font-semibold"
|
|
2564
2564
|
}, null, -1))
|
|
2565
2565
|
]),
|
|
2566
|
-
(l(!0), a(C, null, S(e.rooms, (
|
|
2567
|
-
key:
|
|
2566
|
+
(l(!0), a(C, null, S(e.rooms, (N) => (l(), a("tr", {
|
|
2567
|
+
key: N.name,
|
|
2568
2568
|
class: b([{ "even:bg-gray-100": e.type === "prices", "odd:bg-gray-100": e.type === "discounts" }])
|
|
2569
2569
|
}, [
|
|
2570
2570
|
t("td", Zn, [
|
|
@@ -2572,21 +2572,21 @@ const we = /* @__PURE__ */ be(wn, [["render", Cn]]), Sn = {
|
|
|
2572
2572
|
j(t("input", {
|
|
2573
2573
|
type: "checkbox",
|
|
2574
2574
|
class: "absolute left-4 top-1/2 -mt-2 h-4 w-4 rounded border-gray-300 text-lime-400 focus:ring-lime-400",
|
|
2575
|
-
value:
|
|
2575
|
+
value: N.name,
|
|
2576
2576
|
"onUpdate:modelValue": E[1] || (E[1] = (w) => n.value = w)
|
|
2577
2577
|
}, null, 8, Jn), [
|
|
2578
2578
|
[nt, n.value]
|
|
2579
2579
|
]),
|
|
2580
|
-
t("span", Gn, c(
|
|
2580
|
+
t("span", Gn, c(N.name), 1)
|
|
2581
2581
|
]),
|
|
2582
|
-
t("td", Qn, c(
|
|
2583
|
-
t("td", Kn, c(
|
|
2584
|
-
(l(!0), a(C, null, S(
|
|
2582
|
+
t("td", Qn, c(N.building), 1),
|
|
2583
|
+
t("td", Kn, c(N.floor), 1),
|
|
2584
|
+
(l(!0), a(C, null, S(N.selectionPrices, (w, O) => (l(), a("td", {
|
|
2585
2585
|
class: "p-0",
|
|
2586
2586
|
key: O
|
|
2587
2587
|
}, [
|
|
2588
2588
|
g(we, {
|
|
2589
|
-
onClick: (Y) => W(w,
|
|
2589
|
+
onClick: (Y) => W(w, N.id, N.name),
|
|
2590
2590
|
class: "border-l border-gray-200 px-6 py-3 text-black hover:text-lime-400 cursor-pointer",
|
|
2591
2591
|
price: w,
|
|
2592
2592
|
currency: e.currency.symbol,
|
|
@@ -3016,7 +3016,7 @@ const xo = /* @__PURE__ */ be(yo, [["render", vo]]), po = /* @__PURE__ */ B({
|
|
|
3016
3016
|
])
|
|
3017
3017
|
]));
|
|
3018
3018
|
}
|
|
3019
|
-
}), Fo = { class: "flex flex-row grow border-r border-gray-200 bg-white pr-6 h-screen" }, Po = { class: "bg-black w-16 mr-6 flex-shrink-0" }, Oo = ["onClick"],
|
|
3019
|
+
}), Fo = { class: "flex flex-row grow border-r border-gray-200 bg-white pr-6 h-screen" }, Po = { class: "bg-black w-16 mr-6 flex-shrink-0" }, Oo = ["onClick"], Io = ["src", "alt"], No = {
|
|
3020
3020
|
key: 0,
|
|
3021
3021
|
class: "flex flex-col grow h-full"
|
|
3022
3022
|
}, Vo = ["src"], qo = { class: "flex flex-1 flex-col overflow-hidden mt-8" }, Yo = { class: "flex-1 overflow-y-auto pr-6" }, Ro = {
|
|
@@ -3057,7 +3057,7 @@ const xo = /* @__PURE__ */ be(yo, [["render", vo]]), po = /* @__PURE__ */ B({
|
|
|
3057
3057
|
t("img", {
|
|
3058
3058
|
src: n.icon,
|
|
3059
3059
|
alt: n.name
|
|
3060
|
-
}, null, 8,
|
|
3060
|
+
}, null, 8, Io)
|
|
3061
3061
|
], 10, Oo))), 128))
|
|
3062
3062
|
])
|
|
3063
3063
|
]),
|
|
@@ -3068,7 +3068,7 @@ const xo = /* @__PURE__ */ be(yo, [["render", vo]]), po = /* @__PURE__ */ B({
|
|
|
3068
3068
|
t("div", { class: "h-3 animate-pulse bg-gray-200 rounded-full w-1/2 dark:bg-gray-300" }, null, -1)
|
|
3069
3069
|
])])), 64))
|
|
3070
3070
|
])
|
|
3071
|
-
])) : (l(), a("div",
|
|
3071
|
+
])) : (l(), a("div", No, [
|
|
3072
3072
|
t("div", {
|
|
3073
3073
|
class: "flex h-16 shrink-0 items-center",
|
|
3074
3074
|
onClick: r[0] || (r[0] = (n) => s.$emit("sideBarClick", "logo"))
|
|
@@ -3421,21 +3421,21 @@ const xo = /* @__PURE__ */ be(yo, [["render", vo]]), po = /* @__PURE__ */ B({
|
|
|
3421
3421
|
setup(e, { emit: u }) {
|
|
3422
3422
|
const i = e, o = u, s = F({ id: "1", name: i.literals.and }), r = he([]), n = F(i.availableCategories[0] || {}), d = (w) => w ? w === "uiInput" ? i.literals.contains : i.literals.is : "", m = (w) => {
|
|
3423
3423
|
r.splice(0, r.length), w.logicOperator === "and" || w.logicOperator === i.literals.and ? s.value = { id: "1", name: i.literals.and } : (w.logicOperator === "or" || w.logicOperator === i.literals.or) && (s.value = { id: "2", name: i.literals.or }), w.filters.forEach((O) => {
|
|
3424
|
-
const Y = i.availableCategories.find((
|
|
3424
|
+
const Y = i.availableCategories.find((I) => I.name === O.name);
|
|
3425
3425
|
if (Y) {
|
|
3426
|
-
const
|
|
3426
|
+
const I = {
|
|
3427
3427
|
label: O.label,
|
|
3428
3428
|
name: O.name,
|
|
3429
3429
|
type: O.type,
|
|
3430
3430
|
props: { ...Y.defaultProps }
|
|
3431
3431
|
};
|
|
3432
3432
|
if (O.type === "uiInput")
|
|
3433
|
-
|
|
3433
|
+
I.props.value = O.value || "";
|
|
3434
3434
|
else if (O.type === "uiSelect") {
|
|
3435
3435
|
const K = Y.defaultProps.items?.find((X) => X.name === O.value);
|
|
3436
|
-
K ?
|
|
3436
|
+
K ? I.props.select = K : Y.defaultProps.items && Y.defaultProps.items.length > 0 && (I.props.select = Y.defaultProps.items[0]);
|
|
3437
3437
|
}
|
|
3438
|
-
r.push(
|
|
3438
|
+
r.push(I);
|
|
3439
3439
|
}
|
|
3440
3440
|
});
|
|
3441
3441
|
};
|
|
@@ -3472,7 +3472,7 @@ const xo = /* @__PURE__ */ be(yo, [["render", vo]]), po = /* @__PURE__ */ B({
|
|
|
3472
3472
|
})), U = (w) => {
|
|
3473
3473
|
s.value = Array.isArray(w) ? w[0] || { id: "1", name: i.literals.and } : w;
|
|
3474
3474
|
}, T = (w) => {
|
|
3475
|
-
const O = Array.isArray(w) ? w[0] : w, Y = i.availableCategories.find((
|
|
3475
|
+
const O = Array.isArray(w) ? w[0] : w, Y = i.availableCategories.find((I) => I.name === O.id);
|
|
3476
3476
|
Y && (n.value = Y);
|
|
3477
3477
|
}, q = () => {
|
|
3478
3478
|
if (!n.value || !n.value.name)
|
|
@@ -3492,14 +3492,14 @@ const xo = /* @__PURE__ */ be(yo, [["render", vo]]), po = /* @__PURE__ */ B({
|
|
|
3492
3492
|
w >= 0 && w < r.length && (r.splice(w, 1), o("smartFilterDeleted", w));
|
|
3493
3493
|
}, E = () => {
|
|
3494
3494
|
r.splice(0, r.length), o("smartFiltersCleared");
|
|
3495
|
-
},
|
|
3495
|
+
}, N = (w) => {
|
|
3496
3496
|
const Y = {
|
|
3497
3497
|
logicOperator: s.value.id === "1" ? "and" : "or",
|
|
3498
|
-
filters: r.map((
|
|
3499
|
-
name:
|
|
3500
|
-
label:
|
|
3501
|
-
type:
|
|
3502
|
-
value:
|
|
3498
|
+
filters: r.map((I) => ({
|
|
3499
|
+
name: I.name,
|
|
3500
|
+
label: I.label,
|
|
3501
|
+
type: I.type,
|
|
3502
|
+
value: I.type === "uiInput" ? I.props.value : I.props.select?.id
|
|
3503
3503
|
}))
|
|
3504
3504
|
};
|
|
3505
3505
|
o("smartFiltersSent", Y), w();
|
|
@@ -3514,9 +3514,9 @@ const xo = /* @__PURE__ */ be(yo, [["render", vo]]), po = /* @__PURE__ */ B({
|
|
|
3514
3514
|
g(f(dl), { class: "inline-flex items-center gap-x-2 text-sm/6 font-semibold text-gray-900 outline-none flex-wrap gap-y-1" }, {
|
|
3515
3515
|
default: h(() => [
|
|
3516
3516
|
t("span", null, c(i.literals.filters) + ": ", 1),
|
|
3517
|
-
(l(!0), a(C, null, S(V.value, (Y,
|
|
3517
|
+
(l(!0), a(C, null, S(V.value, (Y, I) => (l(), a(C, { key: I }, [
|
|
3518
3518
|
t("span", ki, c(Y.name) + " " + c(Y.operator) + ": " + c(Y.value), 1),
|
|
3519
|
-
|
|
3519
|
+
I < V.value.length - 1 ? (l(), a("span", $i, c(s.value.name), 1)) : x("", !0)
|
|
3520
3520
|
], 64))), 128)),
|
|
3521
3521
|
g(f(ne), {
|
|
3522
3522
|
class: "size-5",
|
|
@@ -3557,9 +3557,9 @@ const xo = /* @__PURE__ */ be(yo, [["render", vo]]), po = /* @__PURE__ */ B({
|
|
|
3557
3557
|
_: 1
|
|
3558
3558
|
}, 8, ["loading", "disabled"])
|
|
3559
3559
|
]),
|
|
3560
|
-
(l(!0), a(C, null, S(r, (
|
|
3560
|
+
(l(!0), a(C, null, S(r, (I, K) => (l(), a("div", {
|
|
3561
3561
|
class: "flex items-center gap-x-2 w-full",
|
|
3562
|
-
key:
|
|
3562
|
+
key: I.name
|
|
3563
3563
|
}, [
|
|
3564
3564
|
g(G, {
|
|
3565
3565
|
loading: i.loading,
|
|
@@ -3567,7 +3567,7 @@ const xo = /* @__PURE__ */ be(yo, [["render", vo]]), po = /* @__PURE__ */ B({
|
|
|
3567
3567
|
color: "gray"
|
|
3568
3568
|
}, {
|
|
3569
3569
|
default: h(() => [
|
|
3570
|
-
M(c(
|
|
3570
|
+
M(c(I.label), 1)
|
|
3571
3571
|
]),
|
|
3572
3572
|
_: 2
|
|
3573
3573
|
}, 1032, ["loading"]),
|
|
@@ -3577,23 +3577,23 @@ const xo = /* @__PURE__ */ be(yo, [["render", vo]]), po = /* @__PURE__ */ B({
|
|
|
3577
3577
|
color: "gray"
|
|
3578
3578
|
}, {
|
|
3579
3579
|
default: h(() => [
|
|
3580
|
-
M(c(d(
|
|
3580
|
+
M(c(d(I.type)), 1)
|
|
3581
3581
|
]),
|
|
3582
3582
|
_: 2
|
|
3583
3583
|
}, 1032, ["loading"]),
|
|
3584
|
-
|
|
3584
|
+
I.type === "uiSelect" ? (l(), k(ue, {
|
|
3585
3585
|
key: 0,
|
|
3586
3586
|
class: "grow",
|
|
3587
3587
|
loading: i.loading,
|
|
3588
|
-
items:
|
|
3589
|
-
select:
|
|
3588
|
+
items: I.props.items || [],
|
|
3589
|
+
select: I.props.select || I.props.items?.[0] || { id: "0", name: "Select..." },
|
|
3590
3590
|
onSelectChanged: (X) => W(K, X)
|
|
3591
|
-
}, null, 8, ["loading", "items", "select", "onSelectChanged"])) :
|
|
3591
|
+
}, null, 8, ["loading", "items", "select", "onSelectChanged"])) : I.type === "uiInput" ? (l(), k(se, {
|
|
3592
3592
|
key: 1,
|
|
3593
3593
|
class: "grow",
|
|
3594
3594
|
loading: i.loading,
|
|
3595
|
-
name:
|
|
3596
|
-
value:
|
|
3595
|
+
name: I.props.name || "",
|
|
3596
|
+
value: I.props.value || "",
|
|
3597
3597
|
onInput: (X) => W(K, X.target.value)
|
|
3598
3598
|
}, null, 8, ["loading", "name", "value", "onInput"])) : x("", !0),
|
|
3599
3599
|
K === 0 ? (l(), k(ue, {
|
|
@@ -3617,7 +3617,7 @@ const xo = /* @__PURE__ */ be(yo, [["render", vo]]), po = /* @__PURE__ */ B({
|
|
|
3617
3617
|
_: 1
|
|
3618
3618
|
}, 8, ["loading"])) : x("", !0),
|
|
3619
3619
|
g(P, {
|
|
3620
|
-
icon: f(
|
|
3620
|
+
icon: f(Ie),
|
|
3621
3621
|
color: "red",
|
|
3622
3622
|
loading: i.loading,
|
|
3623
3623
|
class: "cursor-pointer",
|
|
@@ -3630,7 +3630,7 @@ const xo = /* @__PURE__ */ be(yo, [["render", vo]]), po = /* @__PURE__ */ B({
|
|
|
3630
3630
|
g(J, {
|
|
3631
3631
|
loading: i.loading,
|
|
3632
3632
|
color: "red",
|
|
3633
|
-
icon: f(
|
|
3633
|
+
icon: f(Ie),
|
|
3634
3634
|
onClick: E
|
|
3635
3635
|
}, {
|
|
3636
3636
|
default: h(() => [
|
|
@@ -3641,7 +3641,7 @@ const xo = /* @__PURE__ */ be(yo, [["render", vo]]), po = /* @__PURE__ */ B({
|
|
|
3641
3641
|
g(J, {
|
|
3642
3642
|
loading: i.loading,
|
|
3643
3643
|
icon: f(Sl),
|
|
3644
|
-
onClick: (
|
|
3644
|
+
onClick: (I) => N(Y)
|
|
3645
3645
|
}, {
|
|
3646
3646
|
default: h(() => [
|
|
3647
3647
|
M(c(i.literals.filter), 1)
|
|
@@ -3669,7 +3669,7 @@ const xo = /* @__PURE__ */ be(yo, [["render", vo]]), po = /* @__PURE__ */ B({
|
|
|
3669
3669
|
}, Li = {
|
|
3670
3670
|
href: "#",
|
|
3671
3671
|
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"
|
|
3672
|
-
}, Fi = { class: "hidden sm:flex-1 sm:flex sm:items-center sm:justify-between" }, Pi = { class: "text-sm text-gray-700" }, Oi = { class: "font-bold mx-1" },
|
|
3672
|
+
}, Fi = { class: "hidden sm:flex-1 sm:flex sm:items-center sm:justify-between" }, Pi = { class: "text-sm text-gray-700" }, Oi = { class: "font-bold mx-1" }, Ii = { class: "font-bold mx-1" }, Ni = { class: "font-bold mx-1" }, Vi = {
|
|
3673
3673
|
class: "relative z-0 inline-flex rounded-md shadow-sm -space-x-px",
|
|
3674
3674
|
"aria-label": "Pagination"
|
|
3675
3675
|
}, qi = { class: "sr-only" }, Yi = ["onClick"], Ri = { class: "sr-only" }, Hi = {
|
|
@@ -3713,11 +3713,11 @@ const xo = /* @__PURE__ */ be(yo, [["render", vo]]), po = /* @__PURE__ */ B({
|
|
|
3713
3713
|
_(m.$slots, "showing"),
|
|
3714
3714
|
t("span", Oi, c(e.current), 1),
|
|
3715
3715
|
_(m.$slots, "of"),
|
|
3716
|
-
t("span",
|
|
3716
|
+
t("span", Ii, c(e.total), 1),
|
|
3717
3717
|
_(m.$slots, "pages"),
|
|
3718
3718
|
v[2] || (v[2] = t("span", { class: "font-bold mx-1" }, "/", -1)),
|
|
3719
3719
|
_(m.$slots, "fromTotal"),
|
|
3720
|
-
t("span",
|
|
3720
|
+
t("span", Ni, c(e.totalItems), 1)
|
|
3721
3721
|
])
|
|
3722
3722
|
]),
|
|
3723
3723
|
t("div", null, [
|
|
@@ -3808,7 +3808,7 @@ const xo = /* @__PURE__ */ be(yo, [["render", vo]]), po = /* @__PURE__ */ B({
|
|
|
3808
3808
|
pageSizeOptions: {},
|
|
3809
3809
|
currentPageSize: {}
|
|
3810
3810
|
},
|
|
3811
|
-
emits: ["tableAction", "orderBy", "customEmit", "selectedItemsDeleted", "selectAllItems", "modalAction", "smartFiltersSent", "tableActionSelected", "changePage", "changePageSize", "columnsVisibilityChanged"],
|
|
3811
|
+
emits: ["tableAction", "orderBy", "customEmit", "selectedItemsDeleted", "selectAllItems", "modalAction", "smartFiltersSent", "tableActionSelected", "changePage", "changePageSize", "columnsVisibilityChanged", "deselectAllItems"],
|
|
3812
3812
|
setup(e, { emit: u }) {
|
|
3813
3813
|
const i = {
|
|
3814
3814
|
uiTag: G
|
|
@@ -3821,7 +3821,7 @@ const xo = /* @__PURE__ */ be(yo, [["render", vo]]), po = /* @__PURE__ */ B({
|
|
|
3821
3821
|
), E = D(() => [
|
|
3822
3822
|
s.actions ? "px-6 sm:px-8" : "px-3",
|
|
3823
3823
|
"relative"
|
|
3824
|
-
]),
|
|
3824
|
+
]), N = D(() => [
|
|
3825
3825
|
s.actions && s.actions.length > 0 ? "w-2" : "w-0",
|
|
3826
3826
|
"relative"
|
|
3827
3827
|
]), w = D(
|
|
@@ -3830,7 +3830,7 @@ const xo = /* @__PURE__ */ be(yo, [["render", vo]]), po = /* @__PURE__ */ B({
|
|
|
3830
3830
|
() => s.tableActionsDropdown && s.tableActionsDropdown.items && s.tableActionsDropdown.items.length > 0
|
|
3831
3831
|
), Y = D(
|
|
3832
3832
|
() => w.value || O.value
|
|
3833
|
-
),
|
|
3833
|
+
), I = D(
|
|
3834
3834
|
() => s.paginationCurrent !== void 0 || s.paginationTotal !== void 0
|
|
3835
3835
|
), K = D(
|
|
3836
3836
|
() => s.paginationCurrent !== void 0 && s.paginationTotal !== void 0 && s.paginationTotalItems !== void 0
|
|
@@ -3884,11 +3884,11 @@ const xo = /* @__PURE__ */ be(yo, [["render", vo]]), po = /* @__PURE__ */ B({
|
|
|
3884
3884
|
class: "text-black font-bold underline hover:text-lime-400 cursor-pointer"
|
|
3885
3885
|
} : typeof y == "object" && y.type === "link" ? {
|
|
3886
3886
|
class: "text-black font-bold underline hover:text-lime-400 cursor-pointer"
|
|
3887
|
-
} : {}, Pt = (y) => typeof y == "object" ? y.content || "" : y || "", Ot = (y) => y === s.orderedBy ? s.orderDirection === "asc" ? ne : vt : ne,
|
|
3887
|
+
} : {}, Pt = (y) => typeof y == "object" ? y.content || "" : y || "", Ot = (y) => y === s.orderedBy ? s.orderDirection === "asc" ? ne : vt : ne, It = (y) => y === s.orderedBy ? "white" : "primary", Nt = (y) => {
|
|
3888
3888
|
o("tableAction", { action: y.id, items: r.value });
|
|
3889
3889
|
}, Vt = (y) => {
|
|
3890
3890
|
const z = y.target;
|
|
3891
|
-
z.checked
|
|
3891
|
+
z.checked ? ve.value = !0 : o("deselectAllItems"), r.value = z.checked ? s.items.map((A) => A.disabled ? null : A.id) : [];
|
|
3892
3892
|
}, qt = (y) => {
|
|
3893
3893
|
const z = s.orderDirection === "asc" ? "desc" : "asc";
|
|
3894
3894
|
o("orderBy", { value: y, orderDirection: z });
|
|
@@ -3923,7 +3923,7 @@ const xo = /* @__PURE__ */ be(yo, [["render", vo]]), po = /* @__PURE__ */ B({
|
|
|
3923
3923
|
if (!v.value) return;
|
|
3924
3924
|
const y = v.value.getBoundingClientRect(), z = window.innerHeight - y.top - 40;
|
|
3925
3925
|
let A = 0;
|
|
3926
|
-
Y.value && (A += 100),
|
|
3926
|
+
Y.value && (A += 100), I.value && (A += 80), $.value = Math.max(300, z - A);
|
|
3927
3927
|
}, ce = () => {
|
|
3928
3928
|
m.value && (p.value = m.value.scrollHeight > m.value.clientHeight);
|
|
3929
3929
|
};
|
|
@@ -3937,7 +3937,7 @@ const xo = /* @__PURE__ */ be(yo, [["render", vo]]), po = /* @__PURE__ */ B({
|
|
|
3937
3937
|
y || pe(() => {
|
|
3938
3938
|
de(), ce();
|
|
3939
3939
|
});
|
|
3940
|
-
}), Z([Y,
|
|
3940
|
+
}), Z([Y, I], () => {
|
|
3941
3941
|
pe(() => {
|
|
3942
3942
|
de(), ce();
|
|
3943
3943
|
});
|
|
@@ -4020,7 +4020,7 @@ const xo = /* @__PURE__ */ be(yo, [["render", vo]]), po = /* @__PURE__ */ B({
|
|
|
4020
4020
|
key: ee,
|
|
4021
4021
|
type: "button",
|
|
4022
4022
|
class: "inline-flex items-center rounded bg-lime-400 hover:bg-black px-2.5 py-1.5 text-xs font-medium text-white shadow-sm disabled:cursor-not-allowed disabled:opacity-30",
|
|
4023
|
-
onClick: (Q) =>
|
|
4023
|
+
onClick: (Q) => Nt(A)
|
|
4024
4024
|
}, c(A.name), 9, Xi))), 128))
|
|
4025
4025
|
])) : x("", !0),
|
|
4026
4026
|
t("div", {
|
|
@@ -4068,7 +4068,7 @@ const xo = /* @__PURE__ */ be(yo, [["render", vo]]), po = /* @__PURE__ */ B({
|
|
|
4068
4068
|
g(P, {
|
|
4069
4069
|
icon: Ot(A.value),
|
|
4070
4070
|
loading: e.loading,
|
|
4071
|
-
color:
|
|
4071
|
+
color: It(A.value)
|
|
4072
4072
|
}, null, 8, ["icon", "loading", "color"])
|
|
4073
4073
|
], 2)
|
|
4074
4074
|
], 8, sr)) : (l(), a("p", nr, [
|
|
@@ -4083,7 +4083,7 @@ const xo = /* @__PURE__ */ be(yo, [["render", vo]]), po = /* @__PURE__ */ B({
|
|
|
4083
4083
|
class: b(Tt(A, ee))
|
|
4084
4084
|
}, [
|
|
4085
4085
|
t("td", {
|
|
4086
|
-
class: b(
|
|
4086
|
+
class: b(N.value)
|
|
4087
4087
|
}, [
|
|
4088
4088
|
Le(A.id) ? (l(), a("div", ir)) : x("", !0),
|
|
4089
4089
|
T.value ? j((l(), a("input", {
|
|
@@ -4119,7 +4119,7 @@ const xo = /* @__PURE__ */ be(yo, [["render", vo]]), po = /* @__PURE__ */ B({
|
|
|
4119
4119
|
])
|
|
4120
4120
|
])
|
|
4121
4121
|
], 4),
|
|
4122
|
-
|
|
4122
|
+
I.value ? (l(), a("div", dr, [
|
|
4123
4123
|
X.value ? (l(), a("div", cr, [
|
|
4124
4124
|
g(me, {
|
|
4125
4125
|
verticalPosition: "top",
|
|
@@ -4233,10 +4233,10 @@ const xo = /* @__PURE__ */ be(yo, [["render", vo]]), po = /* @__PURE__ */ B({
|
|
|
4233
4233
|
}, Fr = {
|
|
4234
4234
|
key: 1,
|
|
4235
4235
|
class: "bg-white overflow-hidden shadow rounded-lg"
|
|
4236
|
-
}, Pr = { class: "px-4 py-5 sm:p-6 animate-pulse" }, Or = { class: "flow-root" },
|
|
4236
|
+
}, Pr = { class: "px-4 py-5 sm:p-6 animate-pulse" }, Or = { class: "flow-root" }, Ir = {
|
|
4237
4237
|
class: "-mb-8",
|
|
4238
4238
|
role: "list"
|
|
4239
|
-
},
|
|
4239
|
+
}, Nr = { class: "relative pb-8" }, Vr = {
|
|
4240
4240
|
key: 0,
|
|
4241
4241
|
class: "absolute left-4 top-4 -ml-px h-full w-0.5 bg-gray-200",
|
|
4242
4242
|
"aria-hidden": "true"
|
|
@@ -4260,9 +4260,9 @@ const xo = /* @__PURE__ */ be(yo, [["render", vo]]), po = /* @__PURE__ */ B({
|
|
|
4260
4260
|
], -1)),
|
|
4261
4261
|
t("div", Pr, [
|
|
4262
4262
|
t("div", Or, [
|
|
4263
|
-
t("ul",
|
|
4263
|
+
t("ul", Ir, [
|
|
4264
4264
|
(l(), a(C, null, S(10, (n, d) => t("li", { key: d }, [
|
|
4265
|
-
t("div",
|
|
4265
|
+
t("div", Nr, [
|
|
4266
4266
|
n !== 10 ? (l(), a("span", Vr)) : x("", !0),
|
|
4267
4267
|
r[2] || (r[2] = ae('<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))
|
|
4268
4268
|
])
|
|
@@ -4813,7 +4813,7 @@ const xo = /* @__PURE__ */ be(yo, [["render", vo]]), po = /* @__PURE__ */ B({
|
|
|
4813
4813
|
key: 1,
|
|
4814
4814
|
role: "list",
|
|
4815
4815
|
class: "grid grid-cols-2 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-4 lg:grid-cols-6"
|
|
4816
|
-
}, Pd = { 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" }, Od = ["src"],
|
|
4816
|
+
}, Pd = { 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" }, Od = ["src"], Id = ["onClick"], Nd = { class: "pointer-events-none mt-2 block truncate text-sm font-medium text-gray-900" }, Vd = { class: "flex items-center justify-between" }, qd = { class: "pointer-events-none block text-sm font-medium" }, Yd = {
|
|
4817
4817
|
key: 2,
|
|
4818
4818
|
role: "list",
|
|
4819
4819
|
class: "grid grid-cols-2 gap-x-4 gap-y-8 sm:grid-cols-3 sm:gap-x-4 lg:grid-cols-6"
|
|
@@ -4866,14 +4866,14 @@ const xo = /* @__PURE__ */ be(yo, [["render", vo]]), po = /* @__PURE__ */ B({
|
|
|
4866
4866
|
type: "button",
|
|
4867
4867
|
class: "absolute inset-0 focus:outline-none",
|
|
4868
4868
|
onClick: (m) => r.$emit("imgClicked", d)
|
|
4869
|
-
}, null, 8,
|
|
4869
|
+
}, null, 8, Id)
|
|
4870
4870
|
]),
|
|
4871
|
-
t("p",
|
|
4871
|
+
t("p", Nd, c(d.title), 1),
|
|
4872
4872
|
t("div", Vd, [
|
|
4873
4873
|
t("p", qd, c(d.size), 1),
|
|
4874
4874
|
g(P, {
|
|
4875
4875
|
class: "cursor-pointer",
|
|
4876
|
-
icon: f(
|
|
4876
|
+
icon: f(Ie),
|
|
4877
4877
|
color: "red",
|
|
4878
4878
|
loading: !1,
|
|
4879
4879
|
onClick: (m) => r.$emit("deleteImage", d)
|
|
@@ -5386,7 +5386,7 @@ const xo = /* @__PURE__ */ be(yo, [["render", vo]]), po = /* @__PURE__ */ B({
|
|
|
5386
5386
|
])
|
|
5387
5387
|
]));
|
|
5388
5388
|
}
|
|
5389
|
-
}), Dc = { class: "fixed inset-0 flex" }, Ac = { class: "absolute left-full top-0 flex w-16 justify-center pt-5" }, Lc = { class: "hidden lg:fixed lg:inset-y-0 lg:z-50 lg:flex lg:w-[25rem] lg:flex-col" }, Fc = { class: "lg:pl-[25rem]" }, Pc = { class: "sticky top-0 z-10 flex h-16 shrink-0 items-center gap-x-4 border-b border-gray-200 bg-white px-4 shadow-sm sm:gap-x-6 sm:px-6 lg:px-8" }, Oc = { class: "flex flex-1 gap-x-4 self-stretch lg:gap-x-6" },
|
|
5389
|
+
}), Dc = { class: "fixed inset-0 flex" }, Ac = { class: "absolute left-full top-0 flex w-16 justify-center pt-5" }, Lc = { class: "hidden lg:fixed lg:inset-y-0 lg:z-50 lg:flex lg:w-[25rem] lg:flex-col" }, Fc = { class: "lg:pl-[25rem]" }, Pc = { class: "sticky top-0 z-10 flex h-16 shrink-0 items-center gap-x-4 border-b border-gray-200 bg-white px-4 shadow-sm sm:gap-x-6 sm:px-6 lg:px-8" }, Oc = { class: "flex flex-1 gap-x-4 self-stretch lg:gap-x-6" }, Ic = { class: "flex items-center gap-x-4 lg:gap-x-6" }, Nc = { class: "redCircle flex items-center justify-center h-4 w-4 bg-red-500 rounded-full absolute top-1 left-2" }, Vc = ["src"], qc = { class: "hidden lg:flex lg:items-center" }, Yc = ["onClick"], Rc = { class: "py-7" }, Hc = { class: "px-7 lg:px-10" }, Uc = /* @__PURE__ */ B({
|
|
5390
5390
|
__name: "uiWrapper",
|
|
5391
5391
|
props: {
|
|
5392
5392
|
topbar: {},
|
|
@@ -5526,14 +5526,14 @@ const xo = /* @__PURE__ */ be(yo, [["render", vo]]), po = /* @__PURE__ */ B({
|
|
|
5526
5526
|
select: e.topbar.selectedItem,
|
|
5527
5527
|
onSelectChanged: d[8] || (d[8] = (m) => n.$emit("selectChanged", m))
|
|
5528
5528
|
}, null, 8, ["items", "select"]),
|
|
5529
|
-
t("div",
|
|
5529
|
+
t("div", Ic, [
|
|
5530
5530
|
t("button", {
|
|
5531
5531
|
type: "button",
|
|
5532
5532
|
class: "-m-2.5 p-2.5 text-gray-400 hover:text-gray-500 relative",
|
|
5533
5533
|
onClick: d[9] || (d[9] = (m) => o("bellClick"))
|
|
5534
5534
|
}, [
|
|
5535
5535
|
d[14] || (d[14] = t("span", { class: "sr-only" }, "View notifications", -1)),
|
|
5536
|
-
j(t("div",
|
|
5536
|
+
j(t("div", Nc, [...d[13] || (d[13] = [
|
|
5537
5537
|
t("span", { class: "animate-ping absolute inline-flex h-4 w-4 bg-red-500 rounded-full opacity-75" }, null, -1)
|
|
5538
5538
|
])], 512), [
|
|
5539
5539
|
[L, e.topbar.alerted]
|
|
@@ -5835,7 +5835,7 @@ const xo = /* @__PURE__ */ be(yo, [["render", vo]]), po = /* @__PURE__ */ B({
|
|
|
5835
5835
|
return (v, p) => (l(), a("div", tu, [
|
|
5836
5836
|
t("div", lu, [
|
|
5837
5837
|
t("div", au, [
|
|
5838
|
-
g(
|
|
5838
|
+
g(Ne, {
|
|
5839
5839
|
name: "file1",
|
|
5840
5840
|
id: "file1",
|
|
5841
5841
|
placeholder: e.literals.inputFile1Placeholder,
|
|
@@ -5846,7 +5846,7 @@ const xo = /* @__PURE__ */ be(yo, [["render", vo]]), po = /* @__PURE__ */ B({
|
|
|
5846
5846
|
icon: f(Ke),
|
|
5847
5847
|
onFilesUploaded: p[0] || (p[0] = ($) => o("filesUploaded", $))
|
|
5848
5848
|
}, null, 8, ["placeholder", "dragAndDrop", "fileTypesAndSizes", "icon"]),
|
|
5849
|
-
g(
|
|
5849
|
+
g(Ne, {
|
|
5850
5850
|
name: "file2",
|
|
5851
5851
|
id: "file2",
|
|
5852
5852
|
placeholder: e.literals.inputFile2Placeholder,
|
|
@@ -5991,7 +5991,7 @@ const xo = /* @__PURE__ */ be(yo, [["render", vo]]), po = /* @__PURE__ */ B({
|
|
|
5991
5991
|
uiGallery: Rd,
|
|
5992
5992
|
uiIcon: P,
|
|
5993
5993
|
uiInput: se,
|
|
5994
|
-
uiInputFile:
|
|
5994
|
+
uiInputFile: Ne,
|
|
5995
5995
|
uiLoadingScreen: po,
|
|
5996
5996
|
uiModal: Me,
|
|
5997
5997
|
uiNoResults: $t,
|
|
@@ -6010,7 +6010,7 @@ const xo = /* @__PURE__ */ be(yo, [["render", vo]]), po = /* @__PURE__ */ B({
|
|
|
6010
6010
|
uiTable: ur,
|
|
6011
6011
|
uiTabs: vr,
|
|
6012
6012
|
uiTag: G,
|
|
6013
|
-
uiTaskList:
|
|
6013
|
+
uiTaskList: Ns,
|
|
6014
6014
|
uiTextArea: Ca,
|
|
6015
6015
|
uiTimeline: qr,
|
|
6016
6016
|
uiToggle: ja,
|
|
@@ -6066,7 +6066,7 @@ export {
|
|
|
6066
6066
|
Rd as uiGallery,
|
|
6067
6067
|
P as uiIcon,
|
|
6068
6068
|
se as uiInput,
|
|
6069
|
-
|
|
6069
|
+
Ne as uiInputFile,
|
|
6070
6070
|
po as uiLoadingScreen,
|
|
6071
6071
|
Me as uiModal,
|
|
6072
6072
|
$t as uiNoResults,
|
|
@@ -6085,7 +6085,7 @@ export {
|
|
|
6085
6085
|
ur as uiTable,
|
|
6086
6086
|
vr as uiTabs,
|
|
6087
6087
|
G as uiTag,
|
|
6088
|
-
|
|
6088
|
+
Ns as uiTaskList,
|
|
6089
6089
|
Ca as uiTextArea,
|
|
6090
6090
|
qr as uiTimeline,
|
|
6091
6091
|
ja as uiToggle,
|