manolis-ui 0.2.10 → 0.3.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/index.d.ts +4 -0
- package/dist/manolis-ui.js +109 -107
- package/dist/manolis-ui.umd.cjs +7 -7
- package/dist/style.css +214 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -53,9 +53,11 @@ outlined: boolean;
|
|
|
53
53
|
loading: boolean;
|
|
54
54
|
title: string;
|
|
55
55
|
class: string;
|
|
56
|
+
color: string;
|
|
56
57
|
imgUrl: string;
|
|
57
58
|
alt: string;
|
|
58
59
|
description: string;
|
|
60
|
+
background: string;
|
|
59
61
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
60
62
|
|
|
61
63
|
declare const __VLS_component_7: DefineComponent<Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
@@ -520,6 +522,8 @@ declare interface Props_9 {
|
|
|
520
522
|
outlined?: boolean;
|
|
521
523
|
loading: boolean;
|
|
522
524
|
class?: string;
|
|
525
|
+
background?: string;
|
|
526
|
+
color?: string;
|
|
523
527
|
}
|
|
524
528
|
|
|
525
529
|
export declare const Rating: DefineComponent<Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_11> & Readonly<{}>, {
|
package/dist/manolis-ui.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as M, computed as T, createElementBlock as o, openBlock as a, normalizeClass as w, createCommentVNode as
|
|
1
|
+
import { defineComponent as M, computed as T, createElementBlock as o, openBlock as a, normalizeClass as w, createCommentVNode as S, renderSlot as y, createTextVNode as ae, createElementVNode as n, Fragment as b, renderList as $, toDisplayString as h, ref as C, h as ne, onMounted as E, watch as L, withDirectives as V, createVNode as Y, isRef as Te, vModelCheckbox as Me, unref as A, defineAsyncComponent as Be, onBeforeUnmount as Oe, normalizeStyle as Ie, createBlock as re, resolveDynamicComponent as ie, mergeProps as ue, nextTick as de, onUnmounted as pe, vModelSelect as j, vModelText as Z } from "vue";
|
|
2
2
|
const Ve = {
|
|
3
3
|
key: 0,
|
|
4
4
|
class: "loading loading-spinner"
|
|
5
|
-
},
|
|
5
|
+
}, xn = /* @__PURE__ */ M({
|
|
6
6
|
__name: "ButtonComponent",
|
|
7
7
|
props: {
|
|
8
8
|
outlined: { type: Boolean, default: !1 },
|
|
@@ -66,7 +66,7 @@ const Ve = {
|
|
|
66
66
|
return (r, p) => (a(), o("button", {
|
|
67
67
|
class: w(["btn", { "btn-outline": u.outlined }, { "btn-active": u.active }, t.value, e.value, l.value])
|
|
68
68
|
}, [
|
|
69
|
-
r.loading ? (a(), o("span", Ve)) :
|
|
69
|
+
r.loading ? (a(), o("span", Ve)) : S("", !0),
|
|
70
70
|
y(r.$slots, "default", {}, () => [
|
|
71
71
|
p[0] || (p[0] = ae("Submit"))
|
|
72
72
|
])
|
|
@@ -104,10 +104,10 @@ const Ve = {
|
|
|
104
104
|
r[0] || (r[0] = n("div", { class: "m-1 btn" }, "Open dropdown", -1))
|
|
105
105
|
]),
|
|
106
106
|
n("ul", Ue, [
|
|
107
|
-
(a(!0), o(
|
|
107
|
+
(a(!0), o(b, null, $(l.items, (p) => (a(), o("li", null, [
|
|
108
108
|
n("a", {
|
|
109
109
|
href: p.link
|
|
110
|
-
},
|
|
110
|
+
}, h(p.text), 9, Ae)
|
|
111
111
|
]))), 256)),
|
|
112
112
|
y(l.$slots, "additional")
|
|
113
113
|
])
|
|
@@ -131,7 +131,7 @@ const Ve = {
|
|
|
131
131
|
var p;
|
|
132
132
|
(p = t.value) == null || p.close();
|
|
133
133
|
};
|
|
134
|
-
return (p, v) => (a(), o(
|
|
134
|
+
return (p, v) => (a(), o(b, null, [
|
|
135
135
|
n("span", {
|
|
136
136
|
class: "w-fit cursor-pointer",
|
|
137
137
|
onClick: l
|
|
@@ -335,7 +335,7 @@ const He = G("SunIcon", [
|
|
|
335
335
|
},
|
|
336
336
|
setup(d) {
|
|
337
337
|
const u = d;
|
|
338
|
-
return (e, t) => (a(!0), o(
|
|
338
|
+
return (e, t) => (a(!0), o(b, null, $(u.items, (l, r) => (a(), o("div", {
|
|
339
339
|
class: w(["collapse border border-base-300", [e.icon ? `collapse-${e.icon}` : "", { "join-item": e.joinItems }]]),
|
|
340
340
|
key: r
|
|
341
341
|
}, [
|
|
@@ -344,7 +344,7 @@ const He = G("SunIcon", [
|
|
|
344
344
|
name: e.name,
|
|
345
345
|
value: "true"
|
|
346
346
|
}, null, 8, Xe),
|
|
347
|
-
n("div", Ke,
|
|
347
|
+
n("div", Ke, h(l.title), 1),
|
|
348
348
|
n("div", We, [
|
|
349
349
|
n("span", {
|
|
350
350
|
innerHTML: l.content
|
|
@@ -382,7 +382,7 @@ const He = G("SunIcon", [
|
|
|
382
382
|
key: 1,
|
|
383
383
|
class: w(["flex justify-center bg-neutral p-[25%] rounded w-16 text-neutral-content text-center", [{ "rounded-full": t.fullyRounded }, { rounded: !t.fullyRounded }]])
|
|
384
384
|
}, [
|
|
385
|
-
n("p", Qe,
|
|
385
|
+
n("p", Qe, h(t.initials), 1)
|
|
386
386
|
], 2))
|
|
387
387
|
], 2));
|
|
388
388
|
}
|
|
@@ -440,7 +440,9 @@ const He = G("SunIcon", [
|
|
|
440
440
|
description: { default: "" },
|
|
441
441
|
outlined: { type: Boolean, default: !1 },
|
|
442
442
|
loading: { type: Boolean, default: !1 },
|
|
443
|
-
class: { default: "" }
|
|
443
|
+
class: { default: "" },
|
|
444
|
+
background: { default: "bg-base-100" },
|
|
445
|
+
color: { default: "" }
|
|
444
446
|
},
|
|
445
447
|
setup(d) {
|
|
446
448
|
const u = d, e = C(u.outlined);
|
|
@@ -450,7 +452,7 @@ const He = G("SunIcon", [
|
|
|
450
452
|
e.value = t;
|
|
451
453
|
}
|
|
452
454
|
), (t, l) => (a(), o("div", {
|
|
453
|
-
class: w(["group bg-base-100 shadow-xl rounded-sm min-w-64 max-w-full h-full card card-compact",
|
|
455
|
+
class: w(["group bg-base-100 shadow-xl rounded-sm min-w-64 max-w-full h-full card card-compact", [{ "border-4 border-primary": e.value }, t.color ?? "", t.background]])
|
|
454
456
|
}, [
|
|
455
457
|
n("figure", null, [
|
|
456
458
|
t.imgUrl || t.imgUrl && !t.loading ? (a(), o("img", {
|
|
@@ -460,13 +462,13 @@ const He = G("SunIcon", [
|
|
|
460
462
|
class: w(["rounded-sm w-full h-44 object-cover", {
|
|
461
463
|
hidden: t.loading
|
|
462
464
|
}])
|
|
463
|
-
}, null, 10, et)) :
|
|
464
|
-
t.loading && t.imgUrl ? (a(), o("div", tt)) :
|
|
465
|
+
}, null, 10, et)) : S("", !0),
|
|
466
|
+
t.loading && t.imgUrl ? (a(), o("div", tt)) : S("", !0)
|
|
465
467
|
]),
|
|
466
|
-
t.loading ?
|
|
467
|
-
t.title ? (a(), o("h2", at,
|
|
468
|
+
t.loading ? S("", !0) : (a(), o("div", nt, [
|
|
469
|
+
t.title ? (a(), o("h2", at, h(t.title), 1)) : S("", !0),
|
|
468
470
|
y(t.$slots, "details"),
|
|
469
|
-
t.description ? (a(), o("p", ot,
|
|
471
|
+
t.description ? (a(), o("p", ot, h(t.description), 1)) : S("", !0),
|
|
470
472
|
n("div", lt, [
|
|
471
473
|
y(t.$slots, "actions")
|
|
472
474
|
])
|
|
@@ -477,13 +479,13 @@ const He = G("SunIcon", [
|
|
|
477
479
|
n("div", { class: "w-full h-4 skeleton" }),
|
|
478
480
|
n("div", { class: "w-full h-4 skeleton" })
|
|
479
481
|
], -1)
|
|
480
|
-
]))) :
|
|
482
|
+
]))) : S("", !0)
|
|
481
483
|
], 2));
|
|
482
484
|
}
|
|
483
485
|
}), rt = { class: "flex gap-4 bg-base-100 w-full tabs tabs-boxed" }, it = ["onClick"], ut = { class: "text-sm" }, dt = { class: "md:block hidden opacity-35 text-xs truncate overflow-hidden ..." }, ct = { class: "hidden" }, pt = {
|
|
484
486
|
id: "advancedSearchMobile",
|
|
485
487
|
class: "modal"
|
|
486
|
-
}, mt = { class: "modal-box" }, ft = { class: "font-bold text-lg" }, vt = ["checked"], gt = { class: "flex justify-between items-center pr-4 w-full font-medium text-xl collapse-title" },
|
|
488
|
+
}, mt = { class: "modal-box" }, ft = { class: "font-bold text-lg" }, vt = ["checked"], gt = { class: "flex justify-between items-center pr-4 w-full font-medium text-xl collapse-title" }, bt = { class: "text-sm" }, ht = { class: "flex place-content-center p-0 collapse-content" }, yt = /* @__PURE__ */ M({
|
|
487
489
|
__name: "advancedSearch",
|
|
488
490
|
props: {
|
|
489
491
|
searchOptions: {},
|
|
@@ -523,7 +525,7 @@ const He = G("SunIcon", [
|
|
|
523
525
|
_ ? _.showModal() : console.warn("Modal element not found.");
|
|
524
526
|
}
|
|
525
527
|
}
|
|
526
|
-
async function
|
|
528
|
+
async function x(_) {
|
|
527
529
|
var B;
|
|
528
530
|
l.value = _, await de();
|
|
529
531
|
const D = p.value[_.name];
|
|
@@ -548,7 +550,7 @@ const He = G("SunIcon", [
|
|
|
548
550
|
document.removeEventListener("click", R);
|
|
549
551
|
}), (_, D) => {
|
|
550
552
|
var B, U;
|
|
551
|
-
return a(), o(
|
|
553
|
+
return a(), o(b, null, [
|
|
552
554
|
n("div", {
|
|
553
555
|
ref_key: "searchContainer",
|
|
554
556
|
ref: f,
|
|
@@ -559,17 +561,17 @@ const He = G("SunIcon", [
|
|
|
559
561
|
onClick: F
|
|
560
562
|
}, [
|
|
561
563
|
n("div", rt, [
|
|
562
|
-
(a(!0), o(
|
|
564
|
+
(a(!0), o(b, null, $(((B = e.searchOptions.find((k) => k.category === e.currentCategory)) == null ? void 0 : B.tabs) || [], (k) => {
|
|
563
565
|
var O;
|
|
564
566
|
return a(), o("button", {
|
|
565
567
|
key: k.name,
|
|
566
|
-
onClick: (z) =>
|
|
568
|
+
onClick: (z) => x(k),
|
|
567
569
|
class: w([{ "tab-active": ((O = l.value) == null ? void 0 : O.name) === k.name }, "group/searchitem relative after:top-0 after:-right-2 after:absolute first-of-type:flex-auto last-of-type:flex-auto md:after:content-[''] last-of-type:after:content-none after:content-none after:bg-base-200 hover:bg-base-200 p-1 rounded-sm w-auto after:w-[1px] after:h-10 text-start overflow-x-hidden pointer-events-none md:pointer-events-auto"]),
|
|
568
570
|
ref_for: !0,
|
|
569
571
|
ref: (z) => p.value[k.name] = z
|
|
570
572
|
}, [
|
|
571
|
-
n("p", ut,
|
|
572
|
-
n("p", dt,
|
|
573
|
+
n("p", ut, h(k.name), 1),
|
|
574
|
+
n("p", dt, h(k.description), 1)
|
|
573
575
|
], 10, it);
|
|
574
576
|
}), 128))
|
|
575
577
|
]),
|
|
@@ -579,7 +581,7 @@ const He = G("SunIcon", [
|
|
|
579
581
|
style: Ie(v.value)
|
|
580
582
|
}, [
|
|
581
583
|
(a(), re(ie(r[l.value.type]), ue(l.value.props ? l.value.props : null, { onUpdated: m }), null, 16))
|
|
582
|
-
], 4)) :
|
|
584
|
+
], 4)) : S("", !0),
|
|
583
585
|
n("button", {
|
|
584
586
|
title: "search",
|
|
585
587
|
type: "submit",
|
|
@@ -608,9 +610,9 @@ const He = G("SunIcon", [
|
|
|
608
610
|
n("dialog", pt, [
|
|
609
611
|
n("div", mt, [
|
|
610
612
|
y(_.$slots, "additionalForMobile", {}, () => [
|
|
611
|
-
n("h3", ft,
|
|
613
|
+
n("h3", ft, h(_.currentCategory), 1)
|
|
612
614
|
], !0),
|
|
613
|
-
(a(!0), o(
|
|
615
|
+
(a(!0), o(b, null, $(((U = e.searchOptions.find((k) => k.category === e.currentCategory)) == null ? void 0 : U.tabs) || [], (k, O) => (a(), o("div", {
|
|
614
616
|
class: "bg-base-200 my-4 collapse",
|
|
615
617
|
key: k.name
|
|
616
618
|
}, [
|
|
@@ -620,10 +622,10 @@ const He = G("SunIcon", [
|
|
|
620
622
|
checked: O === 0
|
|
621
623
|
}, null, 8, vt),
|
|
622
624
|
n("div", gt, [
|
|
623
|
-
ae(
|
|
624
|
-
n("p",
|
|
625
|
+
ae(h(k.name) + " ", 1),
|
|
626
|
+
n("p", bt, h(k.description), 1)
|
|
625
627
|
]),
|
|
626
|
-
n("div",
|
|
628
|
+
n("div", ht, [
|
|
627
629
|
D[1] || (D[1] = n("br", null, null, -1)),
|
|
628
630
|
(a(), re(ie(r[k.type]), ue({ ref_for: !0 }, k.props || {}, {
|
|
629
631
|
onUpdated: (z) => m(z, O)
|
|
@@ -651,7 +653,7 @@ const He = G("SunIcon", [
|
|
|
651
653
|
}, An = /* @__PURE__ */ Q(yt, [["__scopeId", "data-v-08fa37eb"]]), wt = ["placeholder", "value", "id"], kt = { class: "btn btn-ghost" }, _t = ["id"], $t = {
|
|
652
654
|
key: 0,
|
|
653
655
|
class: "flex justify-between items-center place-content-center mb-4"
|
|
654
|
-
}, Ct = ["value"],
|
|
656
|
+
}, Ct = ["value"], St = ["value"], xt = {
|
|
655
657
|
key: 1,
|
|
656
658
|
class: "gap-2 grid grid-cols-7"
|
|
657
659
|
}, Dt = ["onClick"], Tt = {
|
|
@@ -708,7 +710,7 @@ const He = G("SunIcon", [
|
|
|
708
710
|
L(() => e.range, (i) => {
|
|
709
711
|
i ? (r.value = { start: null, end: null }, p.value = { start: null, end: null }) : (r.value = null, p.value = null);
|
|
710
712
|
});
|
|
711
|
-
const t = u, l = C(!1), r = C(e.range ? { start: null, end: null } : null), p = C(e.range ? { start: null, end: null } : null), v = C((/* @__PURE__ */ new Date()).toLocaleString("default", { month: "long" })), f = C((/* @__PURE__ */ new Date()).getFullYear()), m = C(e.range ? { start: 0, end: 0 } : 0), g = C(e.range ? { start: 0, end: 0 } : 0), R = C(null), F = T(() => `${e.id}-input`),
|
|
713
|
+
const t = u, l = C(!1), r = C(e.range ? { start: null, end: null } : null), p = C(e.range ? { start: null, end: null } : null), v = C((/* @__PURE__ */ new Date()).toLocaleString("default", { month: "long" })), f = C((/* @__PURE__ */ new Date()).getFullYear()), m = C(e.range ? { start: 0, end: 0 } : 0), g = C(e.range ? { start: 0, end: 0 } : 0), R = C(null), F = T(() => `${e.id}-input`), x = T(() => `${e.id}-popup`), _ = T(() => e.mode === "date" || e.mode === "datetime"), D = T(() => e.mode === "time" || e.mode === "datetime");
|
|
712
714
|
T(() => new Date(f.value, B.value));
|
|
713
715
|
const B = T(() => X.indexOf(v.value)), U = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], k = T(() => new Date(f.value, B.value).getDay()), O = T(() => {
|
|
714
716
|
const i = new Date(f.value, B.value + 1, 0).getDate();
|
|
@@ -738,9 +740,9 @@ const He = G("SunIcon", [
|
|
|
738
740
|
}), ge = T(() => {
|
|
739
741
|
const i = fe.value, c = ve.value;
|
|
740
742
|
return `${i} ${c}`.trim();
|
|
741
|
-
}),
|
|
742
|
-
I(),
|
|
743
|
-
},
|
|
743
|
+
}), be = () => l.value = !l.value, oe = () => {
|
|
744
|
+
I(), he();
|
|
745
|
+
}, he = () => l.value = !1, ye = () => {
|
|
744
746
|
r.value = e.range ? { start: null, end: null } : null, p.value = e.range ? { start: null, end: null } : null, I();
|
|
745
747
|
}, we = (i) => {
|
|
746
748
|
e.range ? r.value.start && r.value.end ? r.value = { start: i, end: null } : r.value.start ? r.value.end = i : r.value.start = i : r.value = i, I();
|
|
@@ -748,13 +750,13 @@ const He = G("SunIcon", [
|
|
|
748
750
|
i = H(i);
|
|
749
751
|
const c = /* @__PURE__ */ new Date();
|
|
750
752
|
return i.getDate() === c.getDate() && i.getMonth() === c.getMonth() && i.getFullYear() === c.getFullYear();
|
|
751
|
-
}, $e = (i) => (i = H(i), e.range && N(r.value.start) && i.getTime() === r.value.start.getTime()), Ce = (i) => (i = H(i), e.range && N(r.value.end) && i.getTime() === r.value.end.getTime()),
|
|
753
|
+
}, $e = (i) => (i = H(i), e.range && N(r.value.start) && i.getTime() === r.value.start.getTime()), Ce = (i) => (i = H(i), e.range && N(r.value.end) && i.getTime() === r.value.end.getTime()), Se = (i) => {
|
|
752
754
|
if (i = H(i), e.range && N(r.value.start) && N(r.value.end)) {
|
|
753
755
|
const c = r.value.start.getTime(), s = r.value.end.getTime(), P = i.getTime();
|
|
754
756
|
return P > c && P < s;
|
|
755
757
|
}
|
|
756
758
|
return !1;
|
|
757
|
-
},
|
|
759
|
+
}, xe = () => {
|
|
758
760
|
let i = B.value - 1;
|
|
759
761
|
i < 0 && (i = 11, f.value--), v.value = X[i], I();
|
|
760
762
|
}, De = () => {
|
|
@@ -795,7 +797,7 @@ const He = G("SunIcon", [
|
|
|
795
797
|
}, [
|
|
796
798
|
n("div", {
|
|
797
799
|
class: "flex items-center gap-2 cursor-pointer",
|
|
798
|
-
onClick:
|
|
800
|
+
onClick: be
|
|
799
801
|
}, [
|
|
800
802
|
d.popup ? y(i.$slots, "default", { key: 0 }, () => [
|
|
801
803
|
n("input", {
|
|
@@ -809,17 +811,17 @@ const He = G("SunIcon", [
|
|
|
809
811
|
n("button", kt, [
|
|
810
812
|
Y(A(Ee))
|
|
811
813
|
])
|
|
812
|
-
], !0) :
|
|
814
|
+
], !0) : S("", !0)
|
|
813
815
|
]),
|
|
814
816
|
l.value || !d.popup ? (a(), o("div", {
|
|
815
817
|
key: 0,
|
|
816
818
|
class: w(["z-50 lg:bg-base-100 md:mt-2 md:p-4 px-4 rounded-md w-full", [{ absolute: d.popup }]]),
|
|
817
|
-
id:
|
|
819
|
+
id: x.value
|
|
818
820
|
}, [
|
|
819
821
|
_.value ? (a(), o("div", $t, [
|
|
820
822
|
n("button", {
|
|
821
823
|
class: "hidden md:block btn-outline btn btn-primary md:btn-sm",
|
|
822
|
-
onClick:
|
|
824
|
+
onClick: xe
|
|
823
825
|
}, c[11] || (c[11] = [
|
|
824
826
|
n("svg", {
|
|
825
827
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -841,10 +843,10 @@ const He = G("SunIcon", [
|
|
|
841
843
|
"onUpdate:modelValue": c[0] || (c[0] = (s) => v.value = s),
|
|
842
844
|
onChange: I
|
|
843
845
|
}, [
|
|
844
|
-
(a(), o(
|
|
846
|
+
(a(), o(b, null, $(X, (s, P) => n("option", {
|
|
845
847
|
key: P,
|
|
846
848
|
value: s
|
|
847
|
-
},
|
|
849
|
+
}, h(s), 9, Ct)), 64))
|
|
848
850
|
], 544), [
|
|
849
851
|
[j, v.value]
|
|
850
852
|
]),
|
|
@@ -853,10 +855,10 @@ const He = G("SunIcon", [
|
|
|
853
855
|
"onUpdate:modelValue": c[1] || (c[1] = (s) => f.value = s),
|
|
854
856
|
onChange: I
|
|
855
857
|
}, [
|
|
856
|
-
(a(!0), o(
|
|
858
|
+
(a(!0), o(b, null, $(me.value, (s) => (a(), o("option", {
|
|
857
859
|
key: s,
|
|
858
860
|
value: s
|
|
859
|
-
},
|
|
861
|
+
}, h(s), 9, St))), 128))
|
|
860
862
|
], 544), [
|
|
861
863
|
[j, f.value]
|
|
862
864
|
]),
|
|
@@ -879,30 +881,30 @@ const He = G("SunIcon", [
|
|
|
879
881
|
})
|
|
880
882
|
], -1)
|
|
881
883
|
]))
|
|
882
|
-
])) :
|
|
883
|
-
_.value ? (a(), o("div",
|
|
884
|
-
(a(), o(
|
|
884
|
+
])) : S("", !0),
|
|
885
|
+
_.value ? (a(), o("div", xt, [
|
|
886
|
+
(a(), o(b, null, $(U, (s) => n("div", {
|
|
885
887
|
key: s,
|
|
886
888
|
class: "text-center"
|
|
887
|
-
},
|
|
888
|
-
(a(!0), o(
|
|
889
|
+
}, h(s), 1)), 64)),
|
|
890
|
+
(a(!0), o(b, null, $(z.value, (s) => (a(), o("div", {
|
|
889
891
|
key: s,
|
|
890
892
|
class: "text-center"
|
|
891
893
|
}))), 128)),
|
|
892
|
-
(a(!0), o(
|
|
894
|
+
(a(!0), o(b, null, $(O.value, (s) => (a(), o("div", {
|
|
893
895
|
key: s,
|
|
894
896
|
class: w(["hover:bg-primary-10 py-1 rounded-full text-center cursor-pointer", {
|
|
895
897
|
"bg-primary text-primary-content": ke(s),
|
|
896
898
|
today: _e(s),
|
|
897
899
|
"range-start bg-primary text-primary-content": $e(s),
|
|
898
900
|
"range-end bg-primary text-primary-content": Ce(s),
|
|
899
|
-
"in-range bg-primary/20 hover:bg-primary/10":
|
|
901
|
+
"in-range bg-primary/20 hover:bg-primary/10": Se(s)
|
|
900
902
|
}]),
|
|
901
903
|
onClick: (P) => we(s)
|
|
902
|
-
},
|
|
903
|
-
])) :
|
|
904
|
+
}, h(s.getDate()), 11, Dt))), 128))
|
|
905
|
+
])) : S("", !0),
|
|
904
906
|
D.value ? (a(), o("div", Tt, [
|
|
905
|
-
e.range ?
|
|
907
|
+
e.range ? S("", !0) : (a(), o("h3", Mt, "Select Time")),
|
|
906
908
|
e.range ? (a(), o("div", Ut, [
|
|
907
909
|
n("div", null, [
|
|
908
910
|
c[13] || (c[13] = n("p", { class: "font-bold" }, "Start Time", -1)),
|
|
@@ -920,10 +922,10 @@ const He = G("SunIcon", [
|
|
|
920
922
|
"onUpdate:modelValue": c[6] || (c[6] = (s) => m.value.start = s),
|
|
921
923
|
onChange: I
|
|
922
924
|
}, [
|
|
923
|
-
(a(!0), o(
|
|
925
|
+
(a(!0), o(b, null, $(A(ee), (s) => (a(), o("option", {
|
|
924
926
|
key: s,
|
|
925
927
|
value: s
|
|
926
|
-
},
|
|
928
|
+
}, h(s.toString().padStart(2, "0")), 9, zt))), 128))
|
|
927
929
|
], 544), [
|
|
928
930
|
[
|
|
929
931
|
j,
|
|
@@ -937,10 +939,10 @@ const He = G("SunIcon", [
|
|
|
937
939
|
"onUpdate:modelValue": c[7] || (c[7] = (s) => g.value.start = s),
|
|
938
940
|
onChange: I
|
|
939
941
|
}, [
|
|
940
|
-
(a(!0), o(
|
|
942
|
+
(a(!0), o(b, null, $(A(te), (s) => (a(), o("option", {
|
|
941
943
|
key: s,
|
|
942
944
|
value: s
|
|
943
|
-
},
|
|
945
|
+
}, h(s.toString().padStart(2, "0")), 9, Rt))), 128))
|
|
944
946
|
], 544), [
|
|
945
947
|
[
|
|
946
948
|
j,
|
|
@@ -967,10 +969,10 @@ const He = G("SunIcon", [
|
|
|
967
969
|
"onUpdate:modelValue": c[9] || (c[9] = (s) => m.value.end = s),
|
|
968
970
|
onChange: I
|
|
969
971
|
}, [
|
|
970
|
-
(a(!0), o(
|
|
972
|
+
(a(!0), o(b, null, $(A(ee), (s) => (a(), o("option", {
|
|
971
973
|
key: s,
|
|
972
974
|
value: s
|
|
973
|
-
},
|
|
975
|
+
}, h(s.toString().padStart(2, "0")), 9, jt))), 128))
|
|
974
976
|
], 544), [
|
|
975
977
|
[
|
|
976
978
|
j,
|
|
@@ -984,10 +986,10 @@ const He = G("SunIcon", [
|
|
|
984
986
|
"onUpdate:modelValue": c[10] || (c[10] = (s) => g.value.end = s),
|
|
985
987
|
onChange: I
|
|
986
988
|
}, [
|
|
987
|
-
(a(!0), o(
|
|
989
|
+
(a(!0), o(b, null, $(A(te), (s) => (a(), o("option", {
|
|
988
990
|
key: s,
|
|
989
991
|
value: s
|
|
990
|
-
},
|
|
992
|
+
}, h(s.toString().padStart(2, "0")), 9, Lt))), 128))
|
|
991
993
|
], 544), [
|
|
992
994
|
[
|
|
993
995
|
j,
|
|
@@ -1013,10 +1015,10 @@ const He = G("SunIcon", [
|
|
|
1013
1015
|
"onUpdate:modelValue": c[3] || (c[3] = (s) => m.value = s),
|
|
1014
1016
|
onChange: I
|
|
1015
1017
|
}, [
|
|
1016
|
-
(a(!0), o(
|
|
1018
|
+
(a(!0), o(b, null, $(A(ee), (s) => (a(), o("option", {
|
|
1017
1019
|
key: s,
|
|
1018
1020
|
value: s
|
|
1019
|
-
},
|
|
1021
|
+
}, h(s.toString().padStart(2, "0")), 9, It))), 128))
|
|
1020
1022
|
], 544), [
|
|
1021
1023
|
[
|
|
1022
1024
|
j,
|
|
@@ -1030,10 +1032,10 @@ const He = G("SunIcon", [
|
|
|
1030
1032
|
"onUpdate:modelValue": c[4] || (c[4] = (s) => g.value = s),
|
|
1031
1033
|
onChange: I
|
|
1032
1034
|
}, [
|
|
1033
|
-
(a(!0), o(
|
|
1035
|
+
(a(!0), o(b, null, $(A(te), (s) => (a(), o("option", {
|
|
1034
1036
|
key: s,
|
|
1035
1037
|
value: s
|
|
1036
|
-
},
|
|
1038
|
+
}, h(s.toString().padStart(2, "0")), 9, Vt))), 128))
|
|
1037
1039
|
], 544), [
|
|
1038
1040
|
[
|
|
1039
1041
|
j,
|
|
@@ -1044,7 +1046,7 @@ const He = G("SunIcon", [
|
|
|
1044
1046
|
])
|
|
1045
1047
|
]))
|
|
1046
1048
|
]))
|
|
1047
|
-
])) :
|
|
1049
|
+
])) : S("", !0),
|
|
1048
1050
|
n("div", Nt, [
|
|
1049
1051
|
n("button", {
|
|
1050
1052
|
class: w(["btn btn-secondary", d.popup ? "w-fit" : "w-full"]),
|
|
@@ -1054,9 +1056,9 @@ const He = G("SunIcon", [
|
|
|
1054
1056
|
key: 0,
|
|
1055
1057
|
class: "btn btn-primary btn-wide",
|
|
1056
1058
|
onClick: oe
|
|
1057
|
-
}, "Close")) :
|
|
1059
|
+
}, "Close")) : S("", !0)
|
|
1058
1060
|
])
|
|
1059
|
-
], 10, _t)) :
|
|
1061
|
+
], 10, _t)) : S("", !0)
|
|
1060
1062
|
], 512));
|
|
1061
1063
|
}
|
|
1062
1064
|
}, Ft = /* @__PURE__ */ Q(Et, [["__scopeId", "data-v-488ecabe"]]), Ht = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -1088,7 +1090,7 @@ const He = G("SunIcon", [
|
|
|
1088
1090
|
{ "rating-half": l.halfStars }
|
|
1089
1091
|
]])
|
|
1090
1092
|
}, [
|
|
1091
|
-
(a(!0), o(
|
|
1093
|
+
(a(!0), o(b, null, $(l.numberOfStars * (l.halfStars ? 2 : 1), (p) => (a(), o("input", {
|
|
1092
1094
|
key: p,
|
|
1093
1095
|
type: "radio",
|
|
1094
1096
|
value: l.halfStars ? p * 0.5 : p,
|
|
@@ -1116,21 +1118,21 @@ const He = G("SunIcon", [
|
|
|
1116
1118
|
emits: ["update:modelValue"],
|
|
1117
1119
|
setup(d, { emit: u }) {
|
|
1118
1120
|
const e = d, t = u, l = C([...e.modelValue]), r = e.maxTagAmount === void 0 ? -1 : e.maxTagAmount, p = C(null), v = C(""), f = T(() => r < 0 || l.value.length < r), m = () => {
|
|
1119
|
-
const
|
|
1120
|
-
|
|
1121
|
-
}, g = (
|
|
1122
|
-
l.value = l.value.filter((_) => _ !==
|
|
1121
|
+
const x = v.value.trim();
|
|
1122
|
+
x && !l.value.includes(x) && (l.value.push(x), t("update:modelValue", l.value), v.value = "");
|
|
1123
|
+
}, g = (x) => {
|
|
1124
|
+
l.value = l.value.filter((_) => _ !== x), t("update:modelValue", l.value);
|
|
1123
1125
|
}, R = () => {
|
|
1124
1126
|
v.value === "" && (l.value.pop(), t("update:modelValue", l.value));
|
|
1125
|
-
}, F = (
|
|
1126
|
-
|
|
1127
|
+
}, F = (x) => {
|
|
1128
|
+
x.key === "Enter" ? m() : x.key === "Backspace" && v.value === "" && R();
|
|
1127
1129
|
};
|
|
1128
|
-
return L(() => e.modelValue, (
|
|
1129
|
-
l.value = [...
|
|
1130
|
-
}), (
|
|
1131
|
-
class: w(["flex flex-wrap gap-2 bg-base-100 shadow px-4 py-6 border border-base-content/20 rounded",
|
|
1130
|
+
return L(() => e.modelValue, (x) => {
|
|
1131
|
+
l.value = [...x];
|
|
1132
|
+
}), (x, _) => (a(), o("div", {
|
|
1133
|
+
class: w(["flex flex-wrap gap-2 bg-base-100 shadow px-4 py-6 border border-base-content/20 rounded", x.$props.class])
|
|
1132
1134
|
}, [
|
|
1133
|
-
(a(!0), o(
|
|
1135
|
+
(a(!0), o(b, null, $(l.value, (D) => y(x.$slots, "tag", {
|
|
1134
1136
|
key: D,
|
|
1135
1137
|
tag: D
|
|
1136
1138
|
}, () => [
|
|
@@ -1140,23 +1142,23 @@ const He = G("SunIcon", [
|
|
|
1140
1142
|
onClick: (B) => g(D),
|
|
1141
1143
|
"aria-label": "Remove tag"
|
|
1142
1144
|
}, "X", 8, Jt),
|
|
1143
|
-
n("span", Xt,
|
|
1145
|
+
n("span", Xt, h(D), 1)
|
|
1144
1146
|
])
|
|
1145
1147
|
])), 128)),
|
|
1146
|
-
y(
|
|
1148
|
+
y(x.$slots, "input", { showInput: f.value }, () => [
|
|
1147
1149
|
f.value ? V((a(), o("input", {
|
|
1148
1150
|
key: 0,
|
|
1149
1151
|
ref_key: "inputRef",
|
|
1150
1152
|
ref: p,
|
|
1151
1153
|
"onUpdate:modelValue": _[0] || (_[0] = (D) => v.value = D),
|
|
1152
1154
|
type: "text",
|
|
1153
|
-
placeholder:
|
|
1155
|
+
placeholder: x.placeholder || "Type here",
|
|
1154
1156
|
class: "h-full input input-ghost",
|
|
1155
1157
|
onKeydown: F,
|
|
1156
1158
|
"aria-label": "Add tags"
|
|
1157
1159
|
}, null, 40, Kt)), [
|
|
1158
1160
|
[Z, v.value]
|
|
1159
|
-
]) :
|
|
1161
|
+
]) : S("", !0)
|
|
1160
1162
|
])
|
|
1161
1163
|
], 2));
|
|
1162
1164
|
}
|
|
@@ -1200,7 +1202,7 @@ const He = G("SunIcon", [
|
|
|
1200
1202
|
{ "text-warning": t.color === "warning" },
|
|
1201
1203
|
{ "text-error": t.color === "error" }
|
|
1202
1204
|
]])
|
|
1203
|
-
}, null, 2)) :
|
|
1205
|
+
}, null, 2)) : S("", !0);
|
|
1204
1206
|
}
|
|
1205
1207
|
}), Wt = { class: "footer sm:footer-horizontal container" }, Zt = { class: "footer-title" }, Gt = ["href"], Qt = {
|
|
1206
1208
|
key: 0,
|
|
@@ -1222,32 +1224,32 @@ const He = G("SunIcon", [
|
|
|
1222
1224
|
class: w(["mx-auto md:px-10 py-10 text-base-content", [e.background ?? "bg-base-200", e.color ?? "text-base-content"]])
|
|
1223
1225
|
}, [
|
|
1224
1226
|
n("footer", Wt, [
|
|
1225
|
-
(a(!0), o(
|
|
1227
|
+
(a(!0), o(b, null, $(u.items, (l) => (a(), o("nav", {
|
|
1226
1228
|
class: w([{ "hidden sm:grid": e.collapseOnMobile }])
|
|
1227
1229
|
}, [
|
|
1228
|
-
n("h6", Zt,
|
|
1229
|
-
(a(!0), o(
|
|
1230
|
+
n("h6", Zt, h(l.title), 1),
|
|
1231
|
+
(a(!0), o(b, null, $(l.items, (r) => (a(), o("a", {
|
|
1230
1232
|
class: "link link-hover",
|
|
1231
1233
|
href: r.link
|
|
1232
|
-
},
|
|
1234
|
+
}, h(r.text), 9, Gt))), 256))
|
|
1233
1235
|
], 2))), 256)),
|
|
1234
1236
|
e.collapseOnMobile ? (a(), o("nav", Qt, [
|
|
1235
|
-
(a(!0), o(
|
|
1237
|
+
(a(!0), o(b, null, $(u.items, (l) => (a(), o("ul", en, [
|
|
1236
1238
|
n("div", tn, [
|
|
1237
|
-
n("div", nn,
|
|
1239
|
+
n("div", nn, h(l.title), 1),
|
|
1238
1240
|
n("div", an, [
|
|
1239
1241
|
n("ul", on, [
|
|
1240
|
-
(a(!0), o(
|
|
1242
|
+
(a(!0), o(b, null, $(l.items, (r) => (a(), o("li", ln, [
|
|
1241
1243
|
n("a", {
|
|
1242
1244
|
class: "w-full font-medium link link-hover",
|
|
1243
1245
|
href: r.link
|
|
1244
|
-
},
|
|
1246
|
+
}, h(r.text), 9, sn)
|
|
1245
1247
|
]))), 256))
|
|
1246
1248
|
])
|
|
1247
1249
|
])
|
|
1248
1250
|
])
|
|
1249
1251
|
]))), 256))
|
|
1250
|
-
])) :
|
|
1252
|
+
])) : S("", !0),
|
|
1251
1253
|
n("aside", rn, [
|
|
1252
1254
|
y(e.$slots, "default")
|
|
1253
1255
|
])
|
|
@@ -1287,17 +1289,17 @@ const Ln = /* @__PURE__ */ Q(un, [["render", mn]]), fn = { class: "flex flex-row
|
|
|
1287
1289
|
t("update:currentCategory", r);
|
|
1288
1290
|
}
|
|
1289
1291
|
return (r, p) => (a(), o("div", fn, [
|
|
1290
|
-
(a(!0), o(
|
|
1292
|
+
(a(!0), o(b, null, $(e.searchOptions, (v) => (a(), o("div", {
|
|
1291
1293
|
key: v.category
|
|
1292
1294
|
}, [
|
|
1293
1295
|
n("button", {
|
|
1294
1296
|
onClick: (f) => l(v.category),
|
|
1295
1297
|
class: w(["truncate btn btn-ghost", { "font-semibold": e.currentCategory === v.category }])
|
|
1296
|
-
},
|
|
1298
|
+
}, h(v.category), 11, vn)
|
|
1297
1299
|
]))), 128))
|
|
1298
1300
|
]));
|
|
1299
1301
|
}
|
|
1300
|
-
}), gn = { class: "md:flex hidden navbar-start" },
|
|
1302
|
+
}), gn = { class: "md:flex hidden navbar-start" }, bn = { class: "md:flex justify-center items-center hidden navbar-center" }, hn = { class: "md:flex hidden navbar-end" }, yn = { class: "navbar-bottom md:flex hidden" }, wn = /* @__PURE__ */ M({
|
|
1301
1303
|
__name: "navigationBar",
|
|
1302
1304
|
props: {
|
|
1303
1305
|
isCollapsed: { type: Boolean, default: !0 }
|
|
@@ -1310,10 +1312,10 @@ const Ln = /* @__PURE__ */ Q(un, [["render", mn]]), fn = { class: "flex flex-row
|
|
|
1310
1312
|
n("div", gn, [
|
|
1311
1313
|
y(e.$slots, "start", {}, void 0, !0)
|
|
1312
1314
|
]),
|
|
1313
|
-
n("div",
|
|
1315
|
+
n("div", bn, [
|
|
1314
1316
|
y(e.$slots, "center", {}, void 0, !0)
|
|
1315
1317
|
]),
|
|
1316
|
-
n("div",
|
|
1318
|
+
n("div", hn, [
|
|
1317
1319
|
y(e.$slots, "end", {}, void 0, !0)
|
|
1318
1320
|
]),
|
|
1319
1321
|
n("div", yn, [
|
|
@@ -1356,7 +1358,7 @@ const Ln = /* @__PURE__ */ Q(un, [["render", mn]]), fn = { class: "flex flex-row
|
|
|
1356
1358
|
e.rotateTabsAfter && e.rotateTabsAfter > 0 && setInterval(() => {
|
|
1357
1359
|
p();
|
|
1358
1360
|
}, e.rotateTabsAfter * 1e3);
|
|
1359
|
-
}), (f, m) => (a(), o(
|
|
1361
|
+
}), (f, m) => (a(), o(b, null, [
|
|
1360
1362
|
n("div", {
|
|
1361
1363
|
role: "tablist",
|
|
1362
1364
|
class: w(["relative tabs-bordered w-full tabs tabs-lg", { "flex-nowrap overflow-x-auto": f.buttonOnlyMode }])
|
|
@@ -1370,16 +1372,16 @@ const Ln = /* @__PURE__ */ Q(un, [["render", mn]]), fn = { class: "flex flex-row
|
|
|
1370
1372
|
onClick: m[1] || (m[1] = (g) => p()),
|
|
1371
1373
|
class: "text-primary cursor-pointer"
|
|
1372
1374
|
}, "Next")
|
|
1373
|
-
])) :
|
|
1374
|
-
(a(!0), o(
|
|
1375
|
+
])) : S("", !0),
|
|
1376
|
+
(a(!0), o(b, null, $(f.items, (g) => (a(), o(b, null, [
|
|
1375
1377
|
n("a", {
|
|
1376
1378
|
type: "button",
|
|
1377
1379
|
role: "tab",
|
|
1378
1380
|
class: w(["min-w-max tab", g === t.value ? "bg-primary text-base-100" : ""]),
|
|
1379
1381
|
onClick: (R) => r(g),
|
|
1380
1382
|
"aria-selected": t.value == g
|
|
1381
|
-
},
|
|
1382
|
-
f.buttonOnlyMode ?
|
|
1383
|
+
}, h(g), 11, _n),
|
|
1384
|
+
f.buttonOnlyMode ? S("", !0) : (a(), o("div", $n, [
|
|
1383
1385
|
y(f.$slots, `${g}-tab`)
|
|
1384
1386
|
]))
|
|
1385
1387
|
], 64))), 256))
|
|
@@ -1395,7 +1397,7 @@ export {
|
|
|
1395
1397
|
An as AdvancedSearch,
|
|
1396
1398
|
In as Avatar,
|
|
1397
1399
|
Vn as Badge,
|
|
1398
|
-
|
|
1400
|
+
xn as ButtonComponent,
|
|
1399
1401
|
Un as Card,
|
|
1400
1402
|
Nn as CategoryNavigation,
|
|
1401
1403
|
Ft as DatetimePicker,
|
package/dist/manolis-ui.umd.cjs
CHANGED
|
@@ -8,34 +8,34 @@
|
|
|
8
8
|
*
|
|
9
9
|
* This source code is licensed under the ISC license.
|
|
10
10
|
* See the LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/var
|
|
11
|
+
*/var T={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/**
|
|
12
12
|
* @license lucide-vue-next v0.468.0 - ISC
|
|
13
13
|
*
|
|
14
14
|
* This source code is licensed under the ISC license.
|
|
15
15
|
* See the LICENSE file in the root directory of this source tree.
|
|
16
|
-
*/const ne=({size:c,strokeWidth:s=2,absoluteStrokeWidth:t,color:n,iconNode:o,name:a,class:d,...f},{slots:p})=>e.h("svg",{...
|
|
16
|
+
*/const ne=({size:c,strokeWidth:s=2,absoluteStrokeWidth:t,color:n,iconNode:o,name:a,class:d,...f},{slots:p})=>e.h("svg",{...T,width:c||T.width,height:c||T.height,stroke:n||T.stroke,"stroke-width":t?Number(s)*24/Number(c):s,class:["lucide",`lucide-${te(a??"icon")}`],...f},[...o.map(m=>e.h(...m)),...p.default?[p.default()]:[]]);/**
|
|
17
17
|
* @license lucide-vue-next v0.468.0 - ISC
|
|
18
18
|
*
|
|
19
19
|
* This source code is licensed under the ISC license.
|
|
20
20
|
* See the LICENSE file in the root directory of this source tree.
|
|
21
|
-
*/const
|
|
21
|
+
*/const x=(c,s)=>(t,{slots:n})=>e.h(ne,{...t,iconNode:s,name:c},n);/**
|
|
22
22
|
* @license lucide-vue-next v0.468.0 - ISC
|
|
23
23
|
*
|
|
24
24
|
* This source code is licensed under the ISC license.
|
|
25
25
|
* See the LICENSE file in the root directory of this source tree.
|
|
26
|
-
*/const oe=
|
|
26
|
+
*/const oe=x("CalendarIcon",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/**
|
|
27
27
|
* @license lucide-vue-next v0.468.0 - ISC
|
|
28
28
|
*
|
|
29
29
|
* This source code is licensed under the ISC license.
|
|
30
30
|
* See the LICENSE file in the root directory of this source tree.
|
|
31
|
-
*/const le=
|
|
31
|
+
*/const le=x("MoonIcon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);/**
|
|
32
32
|
* @license lucide-vue-next v0.468.0 - ISC
|
|
33
33
|
*
|
|
34
34
|
* This source code is licensed under the ISC license.
|
|
35
35
|
* See the LICENSE file in the root directory of this source tree.
|
|
36
|
-
*/const A=
|
|
36
|
+
*/const A=x("SearchIcon",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
|
|
37
37
|
* @license lucide-vue-next v0.468.0 - ISC
|
|
38
38
|
*
|
|
39
39
|
* This source code is licensed under the ISC license.
|
|
40
40
|
* See the LICENSE file in the root directory of this source tree.
|
|
41
|
-
*/const ae=T("SunIcon",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]),re=(c,s)=>{const t=e.ref(null);return e.onMounted(()=>{if(typeof window<"u"){const n=window.localStorage.getItem(c);t.value=n?JSON.parse(n):s}}),e.watch(t,n=>{typeof window<"u"&&window.localStorage.setItem(c,JSON.stringify(n))}),t},se={class:"swap-rotate swap"},ce=["true-value","false-value"],ie=e.defineComponent({__name:"theme-controller",props:{lightTheme:{default:"light"},darkTheme:{default:"dark"}},setup(c){const s=c,t=re("theme",s.lightTheme);function n(o){typeof window<"u"&&window.document&&document.documentElement.setAttribute("data-theme",o)}return e.onMounted(()=>n(t.value?t.value:"")),e.watch(t,o=>{n(o)}),(o,a)=>(e.openBlock(),e.createElementBlock("label",se,[e.withDirectives(e.createElementVNode("input",{type:"checkbox",class:"theme-controller","onUpdate:modelValue":a[0]||(a[0]=d=>e.isRef(t)?t.value=d:null),"true-value":s.lightTheme,"false-value":s.darkTheme},null,8,ce),[[e.vModelCheckbox,e.unref(t)]]),e.createVNode(e.unref(ae),{class:"swap-off fill-current"}),e.createVNode(e.unref(le),{class:"swap-on fill-current"})]))}}),de=["name"],me={class:"collapse-title font-bold text-2xl lg:text-4xl"},pe={class:"collapse-content"},fe=["innerHTML"],ue=e.defineComponent({__name:"accordion",props:{name:{},items:{},joinItems:{type:Boolean,default:!1},icon:{}},setup(c){const s=c;return(t,n)=>(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.items,(o,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["collapse border border-base-300",[t.icon?`collapse-${t.icon}`:"",{"join-item":t.joinItems}]]),key:a},[e.createElementVNode("input",{type:"radio",name:t.name,value:"true"},null,8,de),e.createElementVNode("div",me,e.toDisplayString(o.title),1),e.createElementVNode("div",pe,[e.createElementVNode("span",{innerHTML:o.content},null,8,fe)])],2))),128))}}),ge=["src"],ke={class:"text-xl"},he=e.defineComponent({__name:"avatar",props:{image:{},onlineStatus:{default:"none"},initials:{},fullyRounded:{type:Boolean,default:!1}},setup(c){const s=c,t=e.ref(s.onlineStatus);return e.watch(()=>s.onlineStatus,n=>{n&&(t.value=n)}),(n,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["avatar",[{"avatar-online":t.value==="online"},{"avatar-offline":t.value==="offline"}]])},[n.image?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["rounded",[{"rounded-full":n.fullyRounded},{rounded:!n.fullyRounded}]])},[e.createElementVNode("img",{src:n.image,class:"w-full h-full"},null,8,ge)],2)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["flex justify-center bg-neutral p-[25%] rounded w-16 text-neutral-content text-center",[{"rounded-full":n.fullyRounded},{rounded:!n.fullyRounded}]])},[e.createElementVNode("p",ke,e.toDisplayString(n.initials),1)],2))],2))}}),be=e.defineComponent({__name:"badge",props:{color:{default:"neutral"},outline:{type:Boolean,default:!1},size:{default:"medium"}},setup(c){const s=c,t={"extra small":"badge-xs",small:"badge-sm",medium:"badge-md",large:"badge-lg"},n={neutral:"badge-neutral",primary:"badge-primary",secondary:"badge-secondary",accent:"badge-accent",ghost:"badge-ghost",info:"badge-info",success:"badge-success",warning:"badge-warning",error:"badge-error"};return(o,a)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(["badge",t[s.size],n[s.color],{"badge-outline":s.outline}])},[e.renderSlot(o.$slots,"default")],2))}}),ye=["src","alt"],Be={key:1,class:"w-full h-32 skeleton"},we={key:0,class:"card-body"},Ee={key:0,class:"group-hover:text-primary text-lg text-left cursor-pointer card-title"},Ve={key:1,class:"text-left"},Ce={class:"flex-col flex-nowrap mt-auto card-actions"},_e={key:1,class:"card-body"},$e=e.defineComponent({__name:"card",props:{imgUrl:{default:""},alt:{default:"A beautiful picture that says something about this card"},title:{default:""},description:{default:""},outlined:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},class:{default:""}},setup(c){const s=c,t=e.ref(s.outlined);return e.watch(()=>s.outlined,n=>{t.value=n}),(n,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["group bg-base-100 shadow-xl rounded-sm min-w-64 max-w-full h-full card card-compact",t.value?"border-4 border-primary":""])},[e.createElementVNode("figure",null,[n.imgUrl||n.imgUrl&&!n.loading?(e.openBlock(),e.createElementBlock("img",{key:0,src:n.imgUrl,alt:n.alt,class:e.normalizeClass(["rounded-sm w-full h-44 object-cover",{hidden:n.loading}])},null,10,ye)):e.createCommentVNode("",!0),n.loading&&n.imgUrl?(e.openBlock(),e.createElementBlock("div",Be)):e.createCommentVNode("",!0)]),n.loading?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",we,[n.title?(e.openBlock(),e.createElementBlock("h2",Ee,e.toDisplayString(n.title),1)):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"details"),n.description?(e.openBlock(),e.createElementBlock("p",Ve,e.toDisplayString(n.description),1)):e.createCommentVNode("",!0),e.createElementVNode("div",Ce,[e.renderSlot(n.$slots,"actions")])])),n.loading?(e.openBlock(),e.createElementBlock("div",_e,o[0]||(o[0]=[e.createElementVNode("div",{class:"flex flex-col gap-4 w-52"},[e.createElementVNode("div",{class:"w-28 h-4 skeleton"}),e.createElementVNode("div",{class:"w-full h-4 skeleton"}),e.createElementVNode("div",{class:"w-full h-4 skeleton"})],-1)]))):e.createCommentVNode("",!0)],2))}}),Se={class:"flex gap-4 bg-base-100 w-full tabs tabs-boxed"},Ne=["onClick"],De={class:"text-sm"},Me={class:"md:block hidden opacity-35 text-xs truncate overflow-hidden ..."},xe={class:"hidden"},Te={id:"advancedSearchMobile",class:"modal"},ze={class:"modal-box"},Le={class:"font-bold text-lg"},Oe=["checked"],Fe={class:"flex justify-between items-center pr-4 w-full font-medium text-xl collapse-title"},Ie={class:"text-sm"},Ue={class:"flex place-content-center p-0 collapse-content"},Ae=e.defineComponent({__name:"advancedSearch",props:{searchOptions:{},currentCategory:{}},emits:["search","update:search-data"],setup(c,{emit:s}){const t=c,n=s,o=e.ref(null),a={datetime:e.defineAsyncComponent(()=>Promise.resolve().then(()=>it))},d=e.ref({}),f=e.ref({left:"0px",top:"0px",transform:"translateX(0%)"}),p=e.ref(null);function m(h,y){var B,V,k;if((B=o.value)!=null&&B.name){n("update:search-data",{tab:o.value.name,data:h});return}if(t.searchOptions){let w=(k=(V=t.searchOptions)==null?void 0:V.find(C=>(C==null?void 0:C.category)===t.currentCategory))==null?void 0:k.tabs[y];w!==void 0&&(w.value=h,n("update:search-data",{tab:w==null?void 0:w.name,data:w==null?void 0:w.value}))}}function u(){n("search")}async function _(h){p.value&&!p.value.contains(h.target)&&(await e.nextTick(),o.value=null)}async function N(){if(typeof window<"u"&&window.innerWidth<=768){const h=document.getElementById("advancedSearchMobile");h?h.showModal():console.warn("Modal element not found.")}}async function b(h){var B;o.value=h,await e.nextTick();const y=d.value[h.name];if(y){const V=y.getBoundingClientRect(),k=((B=p.value)==null?void 0:B.getBoundingClientRect())||{left:0,top:0};window.innerWidth>768?f.value={left:`${V.left+V.width/2-k.left}px`,top:`${V.bottom-k.top}px`,transform:"translateX(-50%)"}:f.value={left:"50%",top:`${V.bottom-k.top}px`,transform:"translateX(-50%)"}}else console.error("Tab element not found for:",h.name)}return e.onMounted(()=>{document.addEventListener("click",_)}),e.onBeforeUnmount(()=>{document.removeEventListener("click",_)}),(h,y)=>{var B,V;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{ref_key:"searchContainer",ref:p,class:"w-full"},[e.createElementVNode("div",{class:"group/search relative flex place-items-center border-2 shadow-md p-2 border-base-300/25 rounded-sm w-full transition-all cursor-pointer md:cursor-auto",onClick:N},[e.createElementVNode("div",Se,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(((B=t.searchOptions.find(k=>k.category===t.currentCategory))==null?void 0:B.tabs)||[],k=>{var w;return e.openBlock(),e.createElementBlock("button",{key:k.name,onClick:C=>b(k),class:e.normalizeClass([{"tab-active":((w=o.value)==null?void 0:w.name)===k.name},"group/searchitem relative after:top-0 after:-right-2 after:absolute first-of-type:flex-auto last-of-type:flex-auto md:after:content-[''] last-of-type:after:content-none after:content-none after:bg-base-200 hover:bg-base-200 p-1 rounded-sm w-auto after:w-[1px] after:h-10 text-start overflow-x-hidden pointer-events-none md:pointer-events-auto"]),ref_for:!0,ref:C=>d.value[k.name]=C},[e.createElementVNode("p",De,e.toDisplayString(k.name),1),e.createElementVNode("p",Me,e.toDisplayString(k.description),1)],10,Ne)}),128))]),o.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"absolute flex shadow-sm mt-4 w-fit max-w-full transition-all tab-content",style:e.normalizeStyle(f.value)},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a[o.value.type]),e.mergeProps(o.value.props?o.value.props:null,{onUpdated:m}),null,16))],4)):e.createCommentVNode("",!0),e.createElementVNode("button",{title:"search",type:"submit",class:"ml-1 btn btn-primary btn-square",onClick:u},[e.createVNode(e.unref(A),{size:24,color:"white"})])]),e.createElementVNode("div",xe,[e.createElementVNode("button",{title:"search",onClick:y[0]||(y[0]=()=>{})},[e.createVNode(e.unref(A),{size:24,color:"white"})])])],512),e.createElementVNode("dialog",Te,[e.createElementVNode("div",ze,[e.renderSlot(h.$slots,"additionalForMobile",{},()=>[e.createElementVNode("h3",Le,e.toDisplayString(h.currentCategory),1)],!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(((V=t.searchOptions.find(k=>k.category===t.currentCategory))==null?void 0:V.tabs)||[],(k,w)=>(e.openBlock(),e.createElementBlock("div",{class:"bg-base-200 my-4 collapse",key:k.name},[e.createElementVNode("input",{type:"radio",name:"my-accordion-1",checked:w===0},null,8,Oe),e.createElementVNode("div",Fe,[e.createTextVNode(e.toDisplayString(k.name)+" ",1),e.createElementVNode("p",Ie,e.toDisplayString(k.description),1)]),e.createElementVNode("div",Ue,[y[1]||(y[1]=e.createElementVNode("br",null,null,-1)),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a[k.type]),e.mergeProps({ref_for:!0},k.props||{},{onUpdated:C=>m(C,w)}),null,16,["onUpdated"]))])]))),128)),e.createElementVNode("div",{class:"modal-action"},[e.createElementVNode("form",{method:"dialog"},[e.createElementVNode("button",{class:"btn btn-primary",onClick:u},"Close and Search")])])])])],64)}}}),z=(c,s)=>{const t=c.__vccOpts||c;for(const[n,o]of s)t[n]=o;return t},Pe=z(Ae,[["__scopeId","data-v-08fa37eb"]]),Re=["placeholder","value","id"],je={class:"btn btn-ghost"},He=["id"],qe={key:0,class:"flex justify-between items-center place-content-center mb-4"},Ye=["value"],Je=["value"],Xe={key:1,class:"gap-2 grid grid-cols-7"},Ke=["onClick"],We={key:2,class:"mt-4 lg:w-80"},Ze={key:0,class:"mb-2 font-bold text-lg"},Ge={key:1},Qe={key:1,class:"flex gap-4"},ve=["value"],et=["value"],tt={key:2,class:"flex flex-col gap-4"},nt={key:1,class:"flex gap-2"},ot=["value"],lt=["value"],at={key:1,class:"flex gap-2"},rt=["value"],st=["value"],ct={class:"flex gap-2 mt-4"},P=z({__name:"datetimePicker",props:{mode:{type:String,default:"datetime",validator:c=>["datetime","date","time"].includes(c)},range:{type:Boolean,default:!1},placeholder:{type:String,default:"Select date and time"},popup:{type:Boolean,default:!1},id:{type:String,default:"datetimepicker"},initialDate:{type:Object,default:()=>null}},emits:["updated"],setup(c,{emit:s}){const t=c;e.watch(()=>t.range,r=>{r?(a.value={start:null,end:null},d.value={start:null,end:null}):(a.value=null,d.value=null)});const n=s,o=e.ref(!1),a=e.ref(t.range?{start:null,end:null}:null),d=e.ref(t.range?{start:null,end:null}:null),f=e.ref(new Date().toLocaleString("default",{month:"long"})),p=e.ref(new Date().getFullYear()),m=e.ref(t.range?{start:0,end:0}:0),u=e.ref(t.range?{start:0,end:0}:0),_=e.ref(null),N=e.computed(()=>`${t.id}-input`),b=e.computed(()=>`${t.id}-popup`),h=e.computed(()=>t.mode==="date"||t.mode==="datetime"),y=e.computed(()=>t.mode==="time"||t.mode==="datetime");e.computed(()=>new Date(p.value,B.value));const B=e.computed(()=>O.indexOf(f.value)),V=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],k=e.computed(()=>new Date(p.value,B.value).getDay()),w=e.computed(()=>{const r=new Date(p.value,B.value+1,0).getDate();return Array.from({length:r},(i,l)=>new Date(p.value,B.value,l+1))}),C=e.computed(()=>Array.from({length:k.value},(r,i)=>i)),I=Array.from({length:24},(r,i)=>i),U=Array.from({length:60},(r,i)=>i),L=e.computed(()=>typeof navigator<"u"&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)),O=["January","February","March","April","May","June","July","August","September","October","November","December"],Zt=e.computed(()=>{const r=new Date().getFullYear();return Array.from({length:100},(i,l)=>r-50+l)}),Gt=e.computed(()=>{if(!h.value||!a.value)return"";if(t.range&&a.value.start&&a.value.end){const r=a.value.start.toLocaleDateString("en-US"),i=a.value.end.toLocaleDateString("en-US");return`${r} - ${i}`}return!t.range&&a.value?a.value.toLocaleDateString("en-US"):""}),D=r=>r instanceof Date?r:new Date(r),S=r=>r instanceof Date&&!isNaN(r),Qt=e.computed(()=>{if(!y.value)return"";const r=i=>{var F,M,H;const l=((F=m.value)==null?void 0:F[i])??m.value,$=((M=u.value)==null?void 0:M[i])??u.value;return L.value?((H=d.value)==null?void 0:H[i])??d.value:`${l.toString().padStart(2,"0")}:${$.toString().padStart(2,"0")}`};return t.range?`${r("start")} - ${r("end")}`:r()}),vt=e.computed(()=>{const r=Gt.value,i=Qt.value;return`${r} ${i}`.trim()}),en=()=>o.value=!o.value,R=()=>{E(),tn()},tn=()=>o.value=!1,nn=()=>{a.value=t.range?{start:null,end:null}:null,d.value=t.range?{start:null,end:null}:null,E()},on=r=>{t.range?a.value.start&&a.value.end?a.value={start:r,end:null}:a.value.start?a.value.end=r:a.value.start=r:a.value=r,E()},ln=r=>(r=D(r),t.range?a.value.start&&S(a.value.start)&&r.getTime()===a.value.start.getTime()||a.value.end&&S(a.value.end)&&r.getTime()===a.value.end.getTime():S(a.value)&&r.getTime()===a.value.getTime()),an=r=>{r=D(r);const i=new Date;return r.getDate()===i.getDate()&&r.getMonth()===i.getMonth()&&r.getFullYear()===i.getFullYear()},rn=r=>(r=D(r),t.range&&S(a.value.start)&&r.getTime()===a.value.start.getTime()),sn=r=>(r=D(r),t.range&&S(a.value.end)&&r.getTime()===a.value.end.getTime()),cn=r=>{if(r=D(r),t.range&&S(a.value.start)&&S(a.value.end)){const i=a.value.start.getTime(),l=a.value.end.getTime(),$=r.getTime();return $>i&&$<l}return!1},dn=()=>{let r=B.value-1;r<0&&(r=11,p.value--),f.value=O[r],E()},mn=()=>{let r=B.value+1;r>11&&(r=0,p.value++),f.value=O[r],E()},j=r=>{_.value&&!_.value.contains(r.target)&&o.value==!0&&R()},E=()=>{let r={};const i=(l,$,F)=>{l instanceof Date&&!isNaN(l)||(l=new Date);const M=new Date(l);return M.setUTCHours($,F,0,0),M.toISOString()};t.range?(r.from=i(a.value.start,m.value.start,u.value.start),r.to=i(a.value.end,m.value.end,u.value.end)):r=i(a.value,m.value,u.value),n("updated",r)};return e.onMounted(()=>{t.initialDate&&(t.range&&t.initialDate.start&&t.initialDate.end?a.value={start:new Date(t.initialDate.start),end:new Date(t.initialDate.end)}:t.initialDate.start&&(a.value={start:new Date(t.initialDate.start)})),t.range?(m.value.start=m.value.start??new Date().getHours(),m.value.end=m.value.end??new Date().getHours(),u.value.start=u.value.start??new Date().getMinutes(),u.value.end=u.value.end??new Date().getMinutes()):(m.value=m.value??new Date().getHours(),u.value=u.value??new Date().getMinutes())}),t.popup&&e.onMounted(()=>document.addEventListener("click",j)),e.onUnmounted(()=>document.removeEventListener("click",j)),(r,i)=>(e.openBlock(),e.createElementBlock("div",{class:"inline-block relative w-full lg:w-[360px]",ref_key:"pickerContainer",ref:_},[e.createElementVNode("div",{class:"flex items-center gap-2 cursor-pointer",onClick:en},[c.popup?e.renderSlot(r.$slots,"default",{key:0},()=>[e.createElementVNode("input",{type:"text",class:"input-bordered w-full cursor-pointer input",placeholder:c.placeholder,value:vt.value,readonly:"",id:N.value},null,8,Re),e.createElementVNode("button",je,[e.createVNode(e.unref(oe))])],!0):e.createCommentVNode("",!0)]),o.value||!c.popup?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["z-50 lg:bg-base-100 md:mt-2 md:p-4 px-4 rounded-md w-full",[{absolute:c.popup}]]),id:b.value},[h.value?(e.openBlock(),e.createElementBlock("div",qe,[e.createElementVNode("button",{class:"hidden md:block btn-outline btn btn-primary md:btn-sm",onClick:dn},i[11]||(i[11]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 19l-7-7 7-7"})],-1)])),e.withDirectives(e.createElementVNode("select",{class:"border-none w-fit select","onUpdate:modelValue":i[0]||(i[0]=l=>f.value=l),onChange:E},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(O,(l,$)=>e.createElementVNode("option",{key:$,value:l},e.toDisplayString(l),9,Ye)),64))],544),[[e.vModelSelect,f.value]]),e.withDirectives(e.createElementVNode("select",{class:"border-none w-24 select","onUpdate:modelValue":i[1]||(i[1]=l=>p.value=l),onChange:E},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Zt.value,l=>(e.openBlock(),e.createElementBlock("option",{key:l,value:l},e.toDisplayString(l),9,Je))),128))],544),[[e.vModelSelect,p.value]]),e.createElementVNode("button",{class:"hidden md:block btn-outline btn btn-primary md:btn-sm",onClick:mn},i[12]||(i[12]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"})],-1)]))])):e.createCommentVNode("",!0),h.value?(e.openBlock(),e.createElementBlock("div",Xe,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(V,l=>e.createElementVNode("div",{key:l,class:"text-center"},e.toDisplayString(l),1)),64)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(C.value,l=>(e.openBlock(),e.createElementBlock("div",{key:l,class:"text-center"}))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.value,l=>(e.openBlock(),e.createElementBlock("div",{key:l,class:e.normalizeClass(["hover:bg-primary-10 py-1 rounded-full text-center cursor-pointer",{"bg-primary text-primary-content":ln(l),today:an(l),"range-start bg-primary text-primary-content":rn(l),"range-end bg-primary text-primary-content":sn(l),"in-range bg-primary/20 hover:bg-primary/10":cn(l)}]),onClick:$=>on(l)},e.toDisplayString(l.getDate()),11,Ke))),128))])):e.createCommentVNode("",!0),y.value?(e.openBlock(),e.createElementBlock("div",We,[t.range?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("h3",Ze,"Select Time")),t.range?(e.openBlock(),e.createElementBlock("div",tt,[e.createElementVNode("div",null,[i[13]||(i[13]=e.createElementVNode("p",{class:"font-bold"},"Start Time",-1)),L.value?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:0,type:"time",class:"input-bordered w-full input","onUpdate:modelValue":i[5]||(i[5]=l=>d.value.start=l),onChange:E},null,544)),[[e.vModelText,d.value.start]]):(e.openBlock(),e.createElementBlock("div",nt,[e.withDirectives(e.createElementVNode("select",{class:"w-full select-bordered select","onUpdate:modelValue":i[6]||(i[6]=l=>m.value.start=l),onChange:E},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(I),l=>(e.openBlock(),e.createElementBlock("option",{key:l,value:l},e.toDisplayString(l.toString().padStart(2,"0")),9,ot))),128))],544),[[e.vModelSelect,m.value.start,void 0,{number:!0}]]),e.withDirectives(e.createElementVNode("select",{class:"w-full select-bordered select","onUpdate:modelValue":i[7]||(i[7]=l=>u.value.start=l),onChange:E},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(U),l=>(e.openBlock(),e.createElementBlock("option",{key:l,value:l},e.toDisplayString(l.toString().padStart(2,"0")),9,lt))),128))],544),[[e.vModelSelect,u.value.start,void 0,{number:!0}]])]))]),e.createElementVNode("div",null,[i[14]||(i[14]=e.createElementVNode("p",{class:"font-bold"},"End Time",-1)),L.value?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:0,type:"time",class:"input-bordered w-full input","onUpdate:modelValue":i[8]||(i[8]=l=>d.value.end=l),onChange:E},null,544)),[[e.vModelText,d.value.end]]):(e.openBlock(),e.createElementBlock("div",at,[e.withDirectives(e.createElementVNode("select",{class:"w-full select-bordered select","onUpdate:modelValue":i[9]||(i[9]=l=>m.value.end=l),onChange:E},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(I),l=>(e.openBlock(),e.createElementBlock("option",{key:l,value:l},e.toDisplayString(l.toString().padStart(2,"0")),9,rt))),128))],544),[[e.vModelSelect,m.value.end,void 0,{number:!0}]]),e.withDirectives(e.createElementVNode("select",{class:"w-full select-bordered select","onUpdate:modelValue":i[10]||(i[10]=l=>u.value.end=l),onChange:E},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(U),l=>(e.openBlock(),e.createElementBlock("option",{key:l,value:l},e.toDisplayString(l.toString().padStart(2,"0")),9,st))),128))],544),[[e.vModelSelect,u.value.end,void 0,{number:!0}]])]))])])):(e.openBlock(),e.createElementBlock("div",Ge,[L.value?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:0,type:"time",class:"input-bordered w-full input","onUpdate:modelValue":i[2]||(i[2]=l=>d.value=l),onChange:E},null,544)),[[e.vModelText,d.value]]):(e.openBlock(),e.createElementBlock("div",Qe,[e.withDirectives(e.createElementVNode("select",{class:"w-full select-bordered select","onUpdate:modelValue":i[3]||(i[3]=l=>m.value=l),onChange:E},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(I),l=>(e.openBlock(),e.createElementBlock("option",{key:l,value:l},e.toDisplayString(l.toString().padStart(2,"0")),9,ve))),128))],544),[[e.vModelSelect,m.value,void 0,{number:!0}]]),e.withDirectives(e.createElementVNode("select",{class:"w-full select-bordered select","onUpdate:modelValue":i[4]||(i[4]=l=>u.value=l),onChange:E},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(U),l=>(e.openBlock(),e.createElementBlock("option",{key:l,value:l},e.toDisplayString(l.toString().padStart(2,"0")),9,et))),128))],544),[[e.vModelSelect,u.value,void 0,{number:!0}]])]))]))])):e.createCommentVNode("",!0),e.createElementVNode("div",ct,[e.createElementVNode("button",{class:e.normalizeClass(["btn btn-secondary",c.popup?"w-fit":"w-full"]),onClick:nn},"Clear",2),c.popup?(e.openBlock(),e.createElementBlock("button",{key:0,class:"btn btn-primary btn-wide",onClick:R},"Close")):e.createCommentVNode("",!0)])],10,He)):e.createCommentVNode("",!0)],512))}},[["__scopeId","data-v-488ecabe"]]),it=Object.freeze(Object.defineProperty({__proto__:null,default:P},Symbol.toStringTag,{value:"Module"})),dt=["value","checked","onChange","disabled"],mt=e.defineComponent({__name:"rating",props:{initialRating:{default:0},numberOfStars:{default:5},halfStars:{type:Boolean,default:!0},isInteractive:{type:Boolean,default:!1},size:{default:"sm"}},setup(c){const s=c,t=e.ref(s.initialRating);e.watch(()=>s.initialRating,o=>{t.value=o});const n=o=>{t.value=o};return(o,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["rating",[`rating-${s.size}`,{"rating-half":o.halfStars}]])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.numberOfStars*(o.halfStars?2:1),d=>(e.openBlock(),e.createElementBlock("input",{key:d,type:"radio",value:o.halfStars?d*.5:d,checked:t.value===(o.halfStars?d*.5:d),onChange:f=>o.isInteractive?n(o.halfStars?d*.5:d):null,class:e.normalizeClass(["mask mask-star",{"bg-yellow-400":t.value>=(o.halfStars?d*.5:d),"mask-half-1":o.halfStars&&d%2!==0,"mask-half-2":o.halfStars&&d%2===0,"cursor-pointer":o.isInteractive,"cursor-default":!o.isInteractive}]),disabled:!o.isInteractive},null,42,dt))),128))],2))}}),pt={class:"badge"},ft=["onClick"],ut={class:"opacity-75"},gt=["placeholder"],kt=e.defineComponent({__name:"taginput",props:{modelValue:{},maxTagAmount:{},placeholder:{},class:{}},emits:["update:modelValue"],setup(c,{emit:s}){const t=c,n=s,o=e.ref([...t.modelValue]),a=t.maxTagAmount===void 0?-1:t.maxTagAmount,d=e.ref(null),f=e.ref(""),p=e.computed(()=>a<0||o.value.length<a),m=()=>{const b=f.value.trim();b&&!o.value.includes(b)&&(o.value.push(b),n("update:modelValue",o.value),f.value="")},u=b=>{o.value=o.value.filter(h=>h!==b),n("update:modelValue",o.value)},_=()=>{f.value===""&&(o.value.pop(),n("update:modelValue",o.value))},N=b=>{b.key==="Enter"?m():b.key==="Backspace"&&f.value===""&&_()};return e.watch(()=>t.modelValue,b=>{o.value=[...b]}),(b,h)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex flex-wrap gap-2 bg-base-100 shadow px-4 py-6 border border-base-content/20 rounded",b.$props.class])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,y=>e.renderSlot(b.$slots,"tag",{key:y,tag:y},()=>[e.createElementVNode("div",pt,[e.createElementVNode("button",{class:"!px-1 !py-0 h-fit font-bold cursor-pointer",onClick:B=>u(y),"aria-label":"Remove tag"},"X",8,ft),e.createElementVNode("span",ut,e.toDisplayString(y),1)])])),128)),e.renderSlot(b.$slots,"input",{showInput:p.value},()=>[p.value?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:0,ref_key:"inputRef",ref:d,"onUpdate:modelValue":h[0]||(h[0]=y=>f.value=y),type:"text",placeholder:b.placeholder||"Type here",class:"h-full input input-ghost",onKeydown:N,"aria-label":"Add tags"},null,40,gt)),[[e.vModelText,f.value]]):e.createCommentVNode("",!0)])],2))}}),ht=e.defineComponent({__name:"loader",props:{loading:{type:Boolean,default:!0},size:{default:"md"},type:{default:"spinner"},color:{default:"primary"}},setup(c){const s=c,t=e.ref(s.loading);return e.watch(()=>s.loading,n=>{t.value=n}),(n,o)=>t.value?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["loading",[{"loading-xs":n.size==="xs"},{"loading-sm":n.size==="sm"},{"loading-md":n.size==="md"},{"loading-lg":n.size==="lg"},{"loading-xl":n.size==="xl"},{"loading-spinner":n.type==="spinner"},{"loading-dots":n.type==="dots"},{"loading-ring":n.type==="ring"},{"loading-balls":n.type==="balls"},{"loading-bars":n.type==="bars"},{"loading-infinity":n.type==="infinity"},{"text-primary":n.color==="primary"},{"text-secondary":n.color==="secondary"},{"text-accent":n.color==="accent"},{"text-neutral":n.color==="neutral"},{"text-info":n.color==="info"},{"text-success":n.color==="success"},{"text-warning":n.color==="warning"},{"text-error":n.color==="error"}]])},null,2)):e.createCommentVNode("",!0)}}),bt={class:"footer sm:footer-horizontal container"},yt={class:"footer-title"},Bt=["href"],wt={key:0,class:"sm:hidden w-full"},Et={class:"border-b-2 border-base-100 last:border-b-0 w-full"},Vt={tabindex:"0",class:"collapse collapse-plus w-full"},Ct={class:"collapse-title font-bold text-lg collapsible-footer-title"},_t={class:"collapse-content flex w-full text-sm"},$t={class:"flex flex-col gap-2.5"},St={class:"w-full"},Nt=["href"],Dt={class:"w-full"},Mt=e.defineComponent({__name:"footer",props:{items:{},background:{},color:{},collapseOnMobile:{type:Boolean,default:!1}},setup(c){const s=c;return(t,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["mx-auto md:px-10 py-10 text-base-content",[t.background??"bg-base-200",t.color??"text-base-content"]])},[e.createElementVNode("footer",bt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.items,o=>(e.openBlock(),e.createElementBlock("nav",{class:e.normalizeClass([{"hidden sm:grid":t.collapseOnMobile}])},[e.createElementVNode("h6",yt,e.toDisplayString(o.title),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.items,a=>(e.openBlock(),e.createElementBlock("a",{class:"link link-hover",href:a.link},e.toDisplayString(a.text),9,Bt))),256))],2))),256)),t.collapseOnMobile?(e.openBlock(),e.createElementBlock("nav",wt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.items,o=>(e.openBlock(),e.createElementBlock("ul",Et,[e.createElementVNode("div",Vt,[e.createElementVNode("div",Ct,e.toDisplayString(o.title),1),e.createElementVNode("div",_t,[e.createElementVNode("ul",$t,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.items,a=>(e.openBlock(),e.createElementBlock("li",St,[e.createElementVNode("a",{class:"w-full font-medium link link-hover",href:a.link},e.toDisplayString(a.text),9,Nt)]))),256))])])])]))),256))])):e.createCommentVNode("",!0),e.createElementVNode("aside",Dt,[e.renderSlot(t.$slots,"default")])])],2))}}),xt={},Tt={class:"min-h-40 container hero"},zt={class:"px-0! text-center hero-content"},Lt={class:"mt-9 text-4xl"};function Ot(c,s){return e.openBlock(),e.createElementBlock("div",Tt,[e.createElementVNode("div",zt,[e.createElementVNode("div",null,[e.createElementVNode("h1",Lt,[e.renderSlot(c.$slots,"title",{},()=>[s[0]||(s[0]=e.createTextVNode("hero title"))])]),e.createElementVNode("p",null,[e.renderSlot(c.$slots,"description",{class:"py-9"})]),e.renderSlot(c.$slots,"call-to-action-block",{class:"max-w-full"},()=>[s[1]||(s[1]=e.createElementVNode("button",{class:"btn btn-primary"},"Call to action",-1))])])])])}const Ft=z(xt,[["render",Ot]]),It={class:"flex flex-row place-content-center gap-4 categories"},Ut=["onClick"],At=e.defineComponent({__name:"categoryNavigation",props:{searchOptions:{},currentCategory:{}},emits:["update:currentCategory"],setup(c,{emit:s}){const t=c,n=s;function o(a){n("update:currentCategory",a)}return(a,d)=>(e.openBlock(),e.createElementBlock("div",It,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.searchOptions,f=>(e.openBlock(),e.createElementBlock("div",{key:f.category},[e.createElementVNode("button",{onClick:p=>o(f.category),class:e.normalizeClass(["truncate btn btn-ghost",{"font-semibold":t.currentCategory===f.category}])},e.toDisplayString(f.category),11,Ut)]))),128))]))}}),Pt={class:"md:flex hidden navbar-start"},Rt={class:"md:flex justify-center items-center hidden navbar-center"},jt={class:"md:flex hidden navbar-end"},Ht={class:"navbar-bottom md:flex hidden"},qt=z(e.defineComponent({__name:"navigationBar",props:{isCollapsed:{type:Boolean,default:!0}},setup(c){const s=c;return(t,n)=>(e.openBlock(),e.createElementBlock("nav",{class:e.normalizeClass(["place-items-start border-primary bg-base-100 px-5 py-5 border-b-4 transition-all navbar navigationbar",s.isCollapsed?"collapsed":""])},[e.createElementVNode("div",Pt,[e.renderSlot(t.$slots,"start",{},void 0,!0)]),e.createElementVNode("div",Rt,[e.renderSlot(t.$slots,"center",{},void 0,!0)]),e.createElementVNode("div",jt,[e.renderSlot(t.$slots,"end",{},void 0,!0)]),e.createElementVNode("div",Ht,[e.renderSlot(t.$slots,"bottom",{},void 0,!0)])],2))}}),[["__scopeId","data-v-8ddb2b45"]]),Yt={key:0,class:"hidden top-4 right-0 absolute md:flex gap-4"},Jt=["onClick","aria-selected"],Xt={key:0,role:"tabpanel",class:"p-6 border-x-0 border-t-2 border-b-0 border-base-300 max-w-full overflow-x-auto tab-content"},Kt={class:"p-6 border-x-0 border-t-2 border-b-0 border-base-300 max-w-full"},Wt=e.defineComponent({__name:"tab",props:{items:{},withControlls:{type:Boolean,default:!1},rotateTabsAfter:{default:0},buttonOnlyMode:{type:Boolean,default:!1}},emits:["tab-changed"],setup(c,{emit:s}){const t=c,n=e.ref(t.items[0]),o=s;function a(p){n.value=p,o("tab-changed",p)}function d(){const m=(t.items.indexOf(n.value)+1)%t.items.length;a(t.items[m])}function f(){const m=(t.items.indexOf(n.value)-1+t.items.length)%t.items.length;a(t.items[m])}return e.onMounted(()=>{t.items&&a(t.items[0])}),e.onUnmounted(()=>{t.rotateTabsAfter&&t.rotateTabsAfter>0&&setInterval(()=>{d()},t.rotateTabsAfter*1e3)}),(p,m)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{role:"tablist",class:e.normalizeClass(["relative tabs-bordered w-full tabs tabs-lg",{"flex-nowrap overflow-x-auto":p.buttonOnlyMode}])},[p.withControlls?(e.openBlock(),e.createElementBlock("div",Yt,[e.createElementVNode("button",{onClick:m[0]||(m[0]=u=>f()),class:"cursor-pointer"},"Previous"),e.createElementVNode("button",{onClick:m[1]||(m[1]=u=>d()),class:"text-primary cursor-pointer"},"Next")])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.items,u=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("a",{type:"button",role:"tab",class:e.normalizeClass(["min-w-max tab",u===n.value?"bg-primary text-base-100":""]),onClick:_=>a(u),"aria-selected":n.value==u},e.toDisplayString(u),11,Jt),p.buttonOnlyMode?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Xt,[e.renderSlot(p.$slots,`${u}-tab`)]))],64))),256))],2),e.createElementVNode("div",Kt,[e.renderSlot(p.$slots,"default")])],64))}});g.Accordion=ue,g.AdvancedSearch=Pe,g.Avatar=he,g.Badge=be,g.ButtonComponent=Y,g.Card=$e,g.CategoryNavigation=At,g.DatetimePicker=P,g.Dropdown=K,g.Footer=Mt,g.Hero=Ft,g.Loader=ht,g.Modal=G,g.NavigationBar=qt,g.Rating=mt,g.Swap=ee,g.Tab=Wt,g.TagInput=kt,g.ThemeController=ie,Object.defineProperty(g,Symbol.toStringTag,{value:"Module"})});
|
|
41
|
+
*/const ae=x("SunIcon",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]),re=(c,s)=>{const t=e.ref(null);return e.onMounted(()=>{if(typeof window<"u"){const n=window.localStorage.getItem(c);t.value=n?JSON.parse(n):s}}),e.watch(t,n=>{typeof window<"u"&&window.localStorage.setItem(c,JSON.stringify(n))}),t},se={class:"swap-rotate swap"},ce=["true-value","false-value"],ie=e.defineComponent({__name:"theme-controller",props:{lightTheme:{default:"light"},darkTheme:{default:"dark"}},setup(c){const s=c,t=re("theme",s.lightTheme);function n(o){typeof window<"u"&&window.document&&document.documentElement.setAttribute("data-theme",o)}return e.onMounted(()=>n(t.value?t.value:"")),e.watch(t,o=>{n(o)}),(o,a)=>(e.openBlock(),e.createElementBlock("label",se,[e.withDirectives(e.createElementVNode("input",{type:"checkbox",class:"theme-controller","onUpdate:modelValue":a[0]||(a[0]=d=>e.isRef(t)?t.value=d:null),"true-value":s.lightTheme,"false-value":s.darkTheme},null,8,ce),[[e.vModelCheckbox,e.unref(t)]]),e.createVNode(e.unref(ae),{class:"swap-off fill-current"}),e.createVNode(e.unref(le),{class:"swap-on fill-current"})]))}}),de=["name"],me={class:"collapse-title font-bold text-2xl lg:text-4xl"},pe={class:"collapse-content"},fe=["innerHTML"],ue=e.defineComponent({__name:"accordion",props:{name:{},items:{},joinItems:{type:Boolean,default:!1},icon:{}},setup(c){const s=c;return(t,n)=>(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.items,(o,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["collapse border border-base-300",[t.icon?`collapse-${t.icon}`:"",{"join-item":t.joinItems}]]),key:a},[e.createElementVNode("input",{type:"radio",name:t.name,value:"true"},null,8,de),e.createElementVNode("div",me,e.toDisplayString(o.title),1),e.createElementVNode("div",pe,[e.createElementVNode("span",{innerHTML:o.content},null,8,fe)])],2))),128))}}),ge=["src"],ke={class:"text-xl"},he=e.defineComponent({__name:"avatar",props:{image:{},onlineStatus:{default:"none"},initials:{},fullyRounded:{type:Boolean,default:!1}},setup(c){const s=c,t=e.ref(s.onlineStatus);return e.watch(()=>s.onlineStatus,n=>{n&&(t.value=n)}),(n,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["avatar",[{"avatar-online":t.value==="online"},{"avatar-offline":t.value==="offline"}]])},[n.image?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["rounded",[{"rounded-full":n.fullyRounded},{rounded:!n.fullyRounded}]])},[e.createElementVNode("img",{src:n.image,class:"w-full h-full"},null,8,ge)],2)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["flex justify-center bg-neutral p-[25%] rounded w-16 text-neutral-content text-center",[{"rounded-full":n.fullyRounded},{rounded:!n.fullyRounded}]])},[e.createElementVNode("p",ke,e.toDisplayString(n.initials),1)],2))],2))}}),be=e.defineComponent({__name:"badge",props:{color:{default:"neutral"},outline:{type:Boolean,default:!1},size:{default:"medium"}},setup(c){const s=c,t={"extra small":"badge-xs",small:"badge-sm",medium:"badge-md",large:"badge-lg"},n={neutral:"badge-neutral",primary:"badge-primary",secondary:"badge-secondary",accent:"badge-accent",ghost:"badge-ghost",info:"badge-info",success:"badge-success",warning:"badge-warning",error:"badge-error"};return(o,a)=>(e.openBlock(),e.createElementBlock("span",{class:e.normalizeClass(["badge",t[s.size],n[s.color],{"badge-outline":s.outline}])},[e.renderSlot(o.$slots,"default")],2))}}),ye=["src","alt"],Be={key:1,class:"w-full h-32 skeleton"},we={key:0,class:"card-body"},Ee={key:0,class:"group-hover:text-primary text-lg text-left cursor-pointer card-title"},Ve={key:1,class:"text-left"},Ce={class:"flex-col flex-nowrap mt-auto card-actions"},_e={key:1,class:"card-body"},$e=e.defineComponent({__name:"card",props:{imgUrl:{default:""},alt:{default:"A beautiful picture that says something about this card"},title:{default:""},description:{default:""},outlined:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},class:{default:""},background:{default:"bg-base-100"},color:{default:""}},setup(c){const s=c,t=e.ref(s.outlined);return e.watch(()=>s.outlined,n=>{t.value=n}),(n,o)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["group bg-base-100 shadow-xl rounded-sm min-w-64 max-w-full h-full card card-compact",[{"border-4 border-primary":t.value},n.color??"",n.background]])},[e.createElementVNode("figure",null,[n.imgUrl||n.imgUrl&&!n.loading?(e.openBlock(),e.createElementBlock("img",{key:0,src:n.imgUrl,alt:n.alt,class:e.normalizeClass(["rounded-sm w-full h-44 object-cover",{hidden:n.loading}])},null,10,ye)):e.createCommentVNode("",!0),n.loading&&n.imgUrl?(e.openBlock(),e.createElementBlock("div",Be)):e.createCommentVNode("",!0)]),n.loading?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",we,[n.title?(e.openBlock(),e.createElementBlock("h2",Ee,e.toDisplayString(n.title),1)):e.createCommentVNode("",!0),e.renderSlot(n.$slots,"details"),n.description?(e.openBlock(),e.createElementBlock("p",Ve,e.toDisplayString(n.description),1)):e.createCommentVNode("",!0),e.createElementVNode("div",Ce,[e.renderSlot(n.$slots,"actions")])])),n.loading?(e.openBlock(),e.createElementBlock("div",_e,o[0]||(o[0]=[e.createElementVNode("div",{class:"flex flex-col gap-4 w-52"},[e.createElementVNode("div",{class:"w-28 h-4 skeleton"}),e.createElementVNode("div",{class:"w-full h-4 skeleton"}),e.createElementVNode("div",{class:"w-full h-4 skeleton"})],-1)]))):e.createCommentVNode("",!0)],2))}}),Se={class:"flex gap-4 bg-base-100 w-full tabs tabs-boxed"},Ne=["onClick"],De={class:"text-sm"},Me={class:"md:block hidden opacity-35 text-xs truncate overflow-hidden ..."},Te={class:"hidden"},xe={id:"advancedSearchMobile",class:"modal"},ze={class:"modal-box"},Le={class:"font-bold text-lg"},Oe=["checked"],Fe={class:"flex justify-between items-center pr-4 w-full font-medium text-xl collapse-title"},Ie={class:"text-sm"},Ue={class:"flex place-content-center p-0 collapse-content"},Ae=e.defineComponent({__name:"advancedSearch",props:{searchOptions:{},currentCategory:{}},emits:["search","update:search-data"],setup(c,{emit:s}){const t=c,n=s,o=e.ref(null),a={datetime:e.defineAsyncComponent(()=>Promise.resolve().then(()=>it))},d=e.ref({}),f=e.ref({left:"0px",top:"0px",transform:"translateX(0%)"}),p=e.ref(null);function m(h,y){var B,V,k;if((B=o.value)!=null&&B.name){n("update:search-data",{tab:o.value.name,data:h});return}if(t.searchOptions){let w=(k=(V=t.searchOptions)==null?void 0:V.find(C=>(C==null?void 0:C.category)===t.currentCategory))==null?void 0:k.tabs[y];w!==void 0&&(w.value=h,n("update:search-data",{tab:w==null?void 0:w.name,data:w==null?void 0:w.value}))}}function u(){n("search")}async function _(h){p.value&&!p.value.contains(h.target)&&(await e.nextTick(),o.value=null)}async function N(){if(typeof window<"u"&&window.innerWidth<=768){const h=document.getElementById("advancedSearchMobile");h?h.showModal():console.warn("Modal element not found.")}}async function b(h){var B;o.value=h,await e.nextTick();const y=d.value[h.name];if(y){const V=y.getBoundingClientRect(),k=((B=p.value)==null?void 0:B.getBoundingClientRect())||{left:0,top:0};window.innerWidth>768?f.value={left:`${V.left+V.width/2-k.left}px`,top:`${V.bottom-k.top}px`,transform:"translateX(-50%)"}:f.value={left:"50%",top:`${V.bottom-k.top}px`,transform:"translateX(-50%)"}}else console.error("Tab element not found for:",h.name)}return e.onMounted(()=>{document.addEventListener("click",_)}),e.onBeforeUnmount(()=>{document.removeEventListener("click",_)}),(h,y)=>{var B,V;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{ref_key:"searchContainer",ref:p,class:"w-full"},[e.createElementVNode("div",{class:"group/search relative flex place-items-center border-2 shadow-md p-2 border-base-300/25 rounded-sm w-full transition-all cursor-pointer md:cursor-auto",onClick:N},[e.createElementVNode("div",Se,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(((B=t.searchOptions.find(k=>k.category===t.currentCategory))==null?void 0:B.tabs)||[],k=>{var w;return e.openBlock(),e.createElementBlock("button",{key:k.name,onClick:C=>b(k),class:e.normalizeClass([{"tab-active":((w=o.value)==null?void 0:w.name)===k.name},"group/searchitem relative after:top-0 after:-right-2 after:absolute first-of-type:flex-auto last-of-type:flex-auto md:after:content-[''] last-of-type:after:content-none after:content-none after:bg-base-200 hover:bg-base-200 p-1 rounded-sm w-auto after:w-[1px] after:h-10 text-start overflow-x-hidden pointer-events-none md:pointer-events-auto"]),ref_for:!0,ref:C=>d.value[k.name]=C},[e.createElementVNode("p",De,e.toDisplayString(k.name),1),e.createElementVNode("p",Me,e.toDisplayString(k.description),1)],10,Ne)}),128))]),o.value?(e.openBlock(),e.createElementBlock("div",{key:0,class:"absolute flex shadow-sm mt-4 w-fit max-w-full transition-all tab-content",style:e.normalizeStyle(f.value)},[(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a[o.value.type]),e.mergeProps(o.value.props?o.value.props:null,{onUpdated:m}),null,16))],4)):e.createCommentVNode("",!0),e.createElementVNode("button",{title:"search",type:"submit",class:"ml-1 btn btn-primary btn-square",onClick:u},[e.createVNode(e.unref(A),{size:24,color:"white"})])]),e.createElementVNode("div",Te,[e.createElementVNode("button",{title:"search",onClick:y[0]||(y[0]=()=>{})},[e.createVNode(e.unref(A),{size:24,color:"white"})])])],512),e.createElementVNode("dialog",xe,[e.createElementVNode("div",ze,[e.renderSlot(h.$slots,"additionalForMobile",{},()=>[e.createElementVNode("h3",Le,e.toDisplayString(h.currentCategory),1)],!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(((V=t.searchOptions.find(k=>k.category===t.currentCategory))==null?void 0:V.tabs)||[],(k,w)=>(e.openBlock(),e.createElementBlock("div",{class:"bg-base-200 my-4 collapse",key:k.name},[e.createElementVNode("input",{type:"radio",name:"my-accordion-1",checked:w===0},null,8,Oe),e.createElementVNode("div",Fe,[e.createTextVNode(e.toDisplayString(k.name)+" ",1),e.createElementVNode("p",Ie,e.toDisplayString(k.description),1)]),e.createElementVNode("div",Ue,[y[1]||(y[1]=e.createElementVNode("br",null,null,-1)),(e.openBlock(),e.createBlock(e.resolveDynamicComponent(a[k.type]),e.mergeProps({ref_for:!0},k.props||{},{onUpdated:C=>m(C,w)}),null,16,["onUpdated"]))])]))),128)),e.createElementVNode("div",{class:"modal-action"},[e.createElementVNode("form",{method:"dialog"},[e.createElementVNode("button",{class:"btn btn-primary",onClick:u},"Close and Search")])])])])],64)}}}),z=(c,s)=>{const t=c.__vccOpts||c;for(const[n,o]of s)t[n]=o;return t},Pe=z(Ae,[["__scopeId","data-v-08fa37eb"]]),Re=["placeholder","value","id"],je={class:"btn btn-ghost"},He=["id"],qe={key:0,class:"flex justify-between items-center place-content-center mb-4"},Ye=["value"],Je=["value"],Xe={key:1,class:"gap-2 grid grid-cols-7"},Ke=["onClick"],We={key:2,class:"mt-4 lg:w-80"},Ze={key:0,class:"mb-2 font-bold text-lg"},Ge={key:1},Qe={key:1,class:"flex gap-4"},ve=["value"],et=["value"],tt={key:2,class:"flex flex-col gap-4"},nt={key:1,class:"flex gap-2"},ot=["value"],lt=["value"],at={key:1,class:"flex gap-2"},rt=["value"],st=["value"],ct={class:"flex gap-2 mt-4"},P=z({__name:"datetimePicker",props:{mode:{type:String,default:"datetime",validator:c=>["datetime","date","time"].includes(c)},range:{type:Boolean,default:!1},placeholder:{type:String,default:"Select date and time"},popup:{type:Boolean,default:!1},id:{type:String,default:"datetimepicker"},initialDate:{type:Object,default:()=>null}},emits:["updated"],setup(c,{emit:s}){const t=c;e.watch(()=>t.range,r=>{r?(a.value={start:null,end:null},d.value={start:null,end:null}):(a.value=null,d.value=null)});const n=s,o=e.ref(!1),a=e.ref(t.range?{start:null,end:null}:null),d=e.ref(t.range?{start:null,end:null}:null),f=e.ref(new Date().toLocaleString("default",{month:"long"})),p=e.ref(new Date().getFullYear()),m=e.ref(t.range?{start:0,end:0}:0),u=e.ref(t.range?{start:0,end:0}:0),_=e.ref(null),N=e.computed(()=>`${t.id}-input`),b=e.computed(()=>`${t.id}-popup`),h=e.computed(()=>t.mode==="date"||t.mode==="datetime"),y=e.computed(()=>t.mode==="time"||t.mode==="datetime");e.computed(()=>new Date(p.value,B.value));const B=e.computed(()=>O.indexOf(f.value)),V=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],k=e.computed(()=>new Date(p.value,B.value).getDay()),w=e.computed(()=>{const r=new Date(p.value,B.value+1,0).getDate();return Array.from({length:r},(i,l)=>new Date(p.value,B.value,l+1))}),C=e.computed(()=>Array.from({length:k.value},(r,i)=>i)),I=Array.from({length:24},(r,i)=>i),U=Array.from({length:60},(r,i)=>i),L=e.computed(()=>typeof navigator<"u"&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)),O=["January","February","March","April","May","June","July","August","September","October","November","December"],Zt=e.computed(()=>{const r=new Date().getFullYear();return Array.from({length:100},(i,l)=>r-50+l)}),Gt=e.computed(()=>{if(!h.value||!a.value)return"";if(t.range&&a.value.start&&a.value.end){const r=a.value.start.toLocaleDateString("en-US"),i=a.value.end.toLocaleDateString("en-US");return`${r} - ${i}`}return!t.range&&a.value?a.value.toLocaleDateString("en-US"):""}),D=r=>r instanceof Date?r:new Date(r),S=r=>r instanceof Date&&!isNaN(r),Qt=e.computed(()=>{if(!y.value)return"";const r=i=>{var F,M,H;const l=((F=m.value)==null?void 0:F[i])??m.value,$=((M=u.value)==null?void 0:M[i])??u.value;return L.value?((H=d.value)==null?void 0:H[i])??d.value:`${l.toString().padStart(2,"0")}:${$.toString().padStart(2,"0")}`};return t.range?`${r("start")} - ${r("end")}`:r()}),vt=e.computed(()=>{const r=Gt.value,i=Qt.value;return`${r} ${i}`.trim()}),en=()=>o.value=!o.value,R=()=>{E(),tn()},tn=()=>o.value=!1,nn=()=>{a.value=t.range?{start:null,end:null}:null,d.value=t.range?{start:null,end:null}:null,E()},on=r=>{t.range?a.value.start&&a.value.end?a.value={start:r,end:null}:a.value.start?a.value.end=r:a.value.start=r:a.value=r,E()},ln=r=>(r=D(r),t.range?a.value.start&&S(a.value.start)&&r.getTime()===a.value.start.getTime()||a.value.end&&S(a.value.end)&&r.getTime()===a.value.end.getTime():S(a.value)&&r.getTime()===a.value.getTime()),an=r=>{r=D(r);const i=new Date;return r.getDate()===i.getDate()&&r.getMonth()===i.getMonth()&&r.getFullYear()===i.getFullYear()},rn=r=>(r=D(r),t.range&&S(a.value.start)&&r.getTime()===a.value.start.getTime()),sn=r=>(r=D(r),t.range&&S(a.value.end)&&r.getTime()===a.value.end.getTime()),cn=r=>{if(r=D(r),t.range&&S(a.value.start)&&S(a.value.end)){const i=a.value.start.getTime(),l=a.value.end.getTime(),$=r.getTime();return $>i&&$<l}return!1},dn=()=>{let r=B.value-1;r<0&&(r=11,p.value--),f.value=O[r],E()},mn=()=>{let r=B.value+1;r>11&&(r=0,p.value++),f.value=O[r],E()},j=r=>{_.value&&!_.value.contains(r.target)&&o.value==!0&&R()},E=()=>{let r={};const i=(l,$,F)=>{l instanceof Date&&!isNaN(l)||(l=new Date);const M=new Date(l);return M.setUTCHours($,F,0,0),M.toISOString()};t.range?(r.from=i(a.value.start,m.value.start,u.value.start),r.to=i(a.value.end,m.value.end,u.value.end)):r=i(a.value,m.value,u.value),n("updated",r)};return e.onMounted(()=>{t.initialDate&&(t.range&&t.initialDate.start&&t.initialDate.end?a.value={start:new Date(t.initialDate.start),end:new Date(t.initialDate.end)}:t.initialDate.start&&(a.value={start:new Date(t.initialDate.start)})),t.range?(m.value.start=m.value.start??new Date().getHours(),m.value.end=m.value.end??new Date().getHours(),u.value.start=u.value.start??new Date().getMinutes(),u.value.end=u.value.end??new Date().getMinutes()):(m.value=m.value??new Date().getHours(),u.value=u.value??new Date().getMinutes())}),t.popup&&e.onMounted(()=>document.addEventListener("click",j)),e.onUnmounted(()=>document.removeEventListener("click",j)),(r,i)=>(e.openBlock(),e.createElementBlock("div",{class:"inline-block relative w-full lg:w-[360px]",ref_key:"pickerContainer",ref:_},[e.createElementVNode("div",{class:"flex items-center gap-2 cursor-pointer",onClick:en},[c.popup?e.renderSlot(r.$slots,"default",{key:0},()=>[e.createElementVNode("input",{type:"text",class:"input-bordered w-full cursor-pointer input",placeholder:c.placeholder,value:vt.value,readonly:"",id:N.value},null,8,Re),e.createElementVNode("button",je,[e.createVNode(e.unref(oe))])],!0):e.createCommentVNode("",!0)]),o.value||!c.popup?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["z-50 lg:bg-base-100 md:mt-2 md:p-4 px-4 rounded-md w-full",[{absolute:c.popup}]]),id:b.value},[h.value?(e.openBlock(),e.createElementBlock("div",qe,[e.createElementVNode("button",{class:"hidden md:block btn-outline btn btn-primary md:btn-sm",onClick:dn},i[11]||(i[11]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 19l-7-7 7-7"})],-1)])),e.withDirectives(e.createElementVNode("select",{class:"border-none w-fit select","onUpdate:modelValue":i[0]||(i[0]=l=>f.value=l),onChange:E},[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(O,(l,$)=>e.createElementVNode("option",{key:$,value:l},e.toDisplayString(l),9,Ye)),64))],544),[[e.vModelSelect,f.value]]),e.withDirectives(e.createElementVNode("select",{class:"border-none w-24 select","onUpdate:modelValue":i[1]||(i[1]=l=>p.value=l),onChange:E},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Zt.value,l=>(e.openBlock(),e.createElementBlock("option",{key:l,value:l},e.toDisplayString(l),9,Je))),128))],544),[[e.vModelSelect,p.value]]),e.createElementVNode("button",{class:"hidden md:block btn-outline btn btn-primary md:btn-sm",onClick:mn},i[12]||(i[12]=[e.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",class:"w-4 h-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},[e.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"})],-1)]))])):e.createCommentVNode("",!0),h.value?(e.openBlock(),e.createElementBlock("div",Xe,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(V,l=>e.createElementVNode("div",{key:l,class:"text-center"},e.toDisplayString(l),1)),64)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(C.value,l=>(e.openBlock(),e.createElementBlock("div",{key:l,class:"text-center"}))),128)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.value,l=>(e.openBlock(),e.createElementBlock("div",{key:l,class:e.normalizeClass(["hover:bg-primary-10 py-1 rounded-full text-center cursor-pointer",{"bg-primary text-primary-content":ln(l),today:an(l),"range-start bg-primary text-primary-content":rn(l),"range-end bg-primary text-primary-content":sn(l),"in-range bg-primary/20 hover:bg-primary/10":cn(l)}]),onClick:$=>on(l)},e.toDisplayString(l.getDate()),11,Ke))),128))])):e.createCommentVNode("",!0),y.value?(e.openBlock(),e.createElementBlock("div",We,[t.range?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("h3",Ze,"Select Time")),t.range?(e.openBlock(),e.createElementBlock("div",tt,[e.createElementVNode("div",null,[i[13]||(i[13]=e.createElementVNode("p",{class:"font-bold"},"Start Time",-1)),L.value?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:0,type:"time",class:"input-bordered w-full input","onUpdate:modelValue":i[5]||(i[5]=l=>d.value.start=l),onChange:E},null,544)),[[e.vModelText,d.value.start]]):(e.openBlock(),e.createElementBlock("div",nt,[e.withDirectives(e.createElementVNode("select",{class:"w-full select-bordered select","onUpdate:modelValue":i[6]||(i[6]=l=>m.value.start=l),onChange:E},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(I),l=>(e.openBlock(),e.createElementBlock("option",{key:l,value:l},e.toDisplayString(l.toString().padStart(2,"0")),9,ot))),128))],544),[[e.vModelSelect,m.value.start,void 0,{number:!0}]]),e.withDirectives(e.createElementVNode("select",{class:"w-full select-bordered select","onUpdate:modelValue":i[7]||(i[7]=l=>u.value.start=l),onChange:E},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(U),l=>(e.openBlock(),e.createElementBlock("option",{key:l,value:l},e.toDisplayString(l.toString().padStart(2,"0")),9,lt))),128))],544),[[e.vModelSelect,u.value.start,void 0,{number:!0}]])]))]),e.createElementVNode("div",null,[i[14]||(i[14]=e.createElementVNode("p",{class:"font-bold"},"End Time",-1)),L.value?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:0,type:"time",class:"input-bordered w-full input","onUpdate:modelValue":i[8]||(i[8]=l=>d.value.end=l),onChange:E},null,544)),[[e.vModelText,d.value.end]]):(e.openBlock(),e.createElementBlock("div",at,[e.withDirectives(e.createElementVNode("select",{class:"w-full select-bordered select","onUpdate:modelValue":i[9]||(i[9]=l=>m.value.end=l),onChange:E},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(I),l=>(e.openBlock(),e.createElementBlock("option",{key:l,value:l},e.toDisplayString(l.toString().padStart(2,"0")),9,rt))),128))],544),[[e.vModelSelect,m.value.end,void 0,{number:!0}]]),e.withDirectives(e.createElementVNode("select",{class:"w-full select-bordered select","onUpdate:modelValue":i[10]||(i[10]=l=>u.value.end=l),onChange:E},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(U),l=>(e.openBlock(),e.createElementBlock("option",{key:l,value:l},e.toDisplayString(l.toString().padStart(2,"0")),9,st))),128))],544),[[e.vModelSelect,u.value.end,void 0,{number:!0}]])]))])])):(e.openBlock(),e.createElementBlock("div",Ge,[L.value?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:0,type:"time",class:"input-bordered w-full input","onUpdate:modelValue":i[2]||(i[2]=l=>d.value=l),onChange:E},null,544)),[[e.vModelText,d.value]]):(e.openBlock(),e.createElementBlock("div",Qe,[e.withDirectives(e.createElementVNode("select",{class:"w-full select-bordered select","onUpdate:modelValue":i[3]||(i[3]=l=>m.value=l),onChange:E},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(I),l=>(e.openBlock(),e.createElementBlock("option",{key:l,value:l},e.toDisplayString(l.toString().padStart(2,"0")),9,ve))),128))],544),[[e.vModelSelect,m.value,void 0,{number:!0}]]),e.withDirectives(e.createElementVNode("select",{class:"w-full select-bordered select","onUpdate:modelValue":i[4]||(i[4]=l=>u.value=l),onChange:E},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(U),l=>(e.openBlock(),e.createElementBlock("option",{key:l,value:l},e.toDisplayString(l.toString().padStart(2,"0")),9,et))),128))],544),[[e.vModelSelect,u.value,void 0,{number:!0}]])]))]))])):e.createCommentVNode("",!0),e.createElementVNode("div",ct,[e.createElementVNode("button",{class:e.normalizeClass(["btn btn-secondary",c.popup?"w-fit":"w-full"]),onClick:nn},"Clear",2),c.popup?(e.openBlock(),e.createElementBlock("button",{key:0,class:"btn btn-primary btn-wide",onClick:R},"Close")):e.createCommentVNode("",!0)])],10,He)):e.createCommentVNode("",!0)],512))}},[["__scopeId","data-v-488ecabe"]]),it=Object.freeze(Object.defineProperty({__proto__:null,default:P},Symbol.toStringTag,{value:"Module"})),dt=["value","checked","onChange","disabled"],mt=e.defineComponent({__name:"rating",props:{initialRating:{default:0},numberOfStars:{default:5},halfStars:{type:Boolean,default:!0},isInteractive:{type:Boolean,default:!1},size:{default:"sm"}},setup(c){const s=c,t=e.ref(s.initialRating);e.watch(()=>s.initialRating,o=>{t.value=o});const n=o=>{t.value=o};return(o,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["rating",[`rating-${s.size}`,{"rating-half":o.halfStars}]])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.numberOfStars*(o.halfStars?2:1),d=>(e.openBlock(),e.createElementBlock("input",{key:d,type:"radio",value:o.halfStars?d*.5:d,checked:t.value===(o.halfStars?d*.5:d),onChange:f=>o.isInteractive?n(o.halfStars?d*.5:d):null,class:e.normalizeClass(["mask mask-star",{"bg-yellow-400":t.value>=(o.halfStars?d*.5:d),"mask-half-1":o.halfStars&&d%2!==0,"mask-half-2":o.halfStars&&d%2===0,"cursor-pointer":o.isInteractive,"cursor-default":!o.isInteractive}]),disabled:!o.isInteractive},null,42,dt))),128))],2))}}),pt={class:"badge"},ft=["onClick"],ut={class:"opacity-75"},gt=["placeholder"],kt=e.defineComponent({__name:"taginput",props:{modelValue:{},maxTagAmount:{},placeholder:{},class:{}},emits:["update:modelValue"],setup(c,{emit:s}){const t=c,n=s,o=e.ref([...t.modelValue]),a=t.maxTagAmount===void 0?-1:t.maxTagAmount,d=e.ref(null),f=e.ref(""),p=e.computed(()=>a<0||o.value.length<a),m=()=>{const b=f.value.trim();b&&!o.value.includes(b)&&(o.value.push(b),n("update:modelValue",o.value),f.value="")},u=b=>{o.value=o.value.filter(h=>h!==b),n("update:modelValue",o.value)},_=()=>{f.value===""&&(o.value.pop(),n("update:modelValue",o.value))},N=b=>{b.key==="Enter"?m():b.key==="Backspace"&&f.value===""&&_()};return e.watch(()=>t.modelValue,b=>{o.value=[...b]}),(b,h)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["flex flex-wrap gap-2 bg-base-100 shadow px-4 py-6 border border-base-content/20 rounded",b.$props.class])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.value,y=>e.renderSlot(b.$slots,"tag",{key:y,tag:y},()=>[e.createElementVNode("div",pt,[e.createElementVNode("button",{class:"!px-1 !py-0 h-fit font-bold cursor-pointer",onClick:B=>u(y),"aria-label":"Remove tag"},"X",8,ft),e.createElementVNode("span",ut,e.toDisplayString(y),1)])])),128)),e.renderSlot(b.$slots,"input",{showInput:p.value},()=>[p.value?e.withDirectives((e.openBlock(),e.createElementBlock("input",{key:0,ref_key:"inputRef",ref:d,"onUpdate:modelValue":h[0]||(h[0]=y=>f.value=y),type:"text",placeholder:b.placeholder||"Type here",class:"h-full input input-ghost",onKeydown:N,"aria-label":"Add tags"},null,40,gt)),[[e.vModelText,f.value]]):e.createCommentVNode("",!0)])],2))}}),ht=e.defineComponent({__name:"loader",props:{loading:{type:Boolean,default:!0},size:{default:"md"},type:{default:"spinner"},color:{default:"primary"}},setup(c){const s=c,t=e.ref(s.loading);return e.watch(()=>s.loading,n=>{t.value=n}),(n,o)=>t.value?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(["loading",[{"loading-xs":n.size==="xs"},{"loading-sm":n.size==="sm"},{"loading-md":n.size==="md"},{"loading-lg":n.size==="lg"},{"loading-xl":n.size==="xl"},{"loading-spinner":n.type==="spinner"},{"loading-dots":n.type==="dots"},{"loading-ring":n.type==="ring"},{"loading-balls":n.type==="balls"},{"loading-bars":n.type==="bars"},{"loading-infinity":n.type==="infinity"},{"text-primary":n.color==="primary"},{"text-secondary":n.color==="secondary"},{"text-accent":n.color==="accent"},{"text-neutral":n.color==="neutral"},{"text-info":n.color==="info"},{"text-success":n.color==="success"},{"text-warning":n.color==="warning"},{"text-error":n.color==="error"}]])},null,2)):e.createCommentVNode("",!0)}}),bt={class:"footer sm:footer-horizontal container"},yt={class:"footer-title"},Bt=["href"],wt={key:0,class:"sm:hidden w-full"},Et={class:"border-b-2 border-base-100 last:border-b-0 w-full"},Vt={tabindex:"0",class:"collapse collapse-plus w-full"},Ct={class:"collapse-title font-bold text-lg collapsible-footer-title"},_t={class:"collapse-content flex w-full text-sm"},$t={class:"flex flex-col gap-2.5"},St={class:"w-full"},Nt=["href"],Dt={class:"w-full"},Mt=e.defineComponent({__name:"footer",props:{items:{},background:{},color:{},collapseOnMobile:{type:Boolean,default:!1}},setup(c){const s=c;return(t,n)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["mx-auto md:px-10 py-10 text-base-content",[t.background??"bg-base-200",t.color??"text-base-content"]])},[e.createElementVNode("footer",bt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.items,o=>(e.openBlock(),e.createElementBlock("nav",{class:e.normalizeClass([{"hidden sm:grid":t.collapseOnMobile}])},[e.createElementVNode("h6",yt,e.toDisplayString(o.title),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.items,a=>(e.openBlock(),e.createElementBlock("a",{class:"link link-hover",href:a.link},e.toDisplayString(a.text),9,Bt))),256))],2))),256)),t.collapseOnMobile?(e.openBlock(),e.createElementBlock("nav",wt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(s.items,o=>(e.openBlock(),e.createElementBlock("ul",Et,[e.createElementVNode("div",Vt,[e.createElementVNode("div",Ct,e.toDisplayString(o.title),1),e.createElementVNode("div",_t,[e.createElementVNode("ul",$t,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(o.items,a=>(e.openBlock(),e.createElementBlock("li",St,[e.createElementVNode("a",{class:"w-full font-medium link link-hover",href:a.link},e.toDisplayString(a.text),9,Nt)]))),256))])])])]))),256))])):e.createCommentVNode("",!0),e.createElementVNode("aside",Dt,[e.renderSlot(t.$slots,"default")])])],2))}}),Tt={},xt={class:"min-h-40 container hero"},zt={class:"px-0! text-center hero-content"},Lt={class:"mt-9 text-4xl"};function Ot(c,s){return e.openBlock(),e.createElementBlock("div",xt,[e.createElementVNode("div",zt,[e.createElementVNode("div",null,[e.createElementVNode("h1",Lt,[e.renderSlot(c.$slots,"title",{},()=>[s[0]||(s[0]=e.createTextVNode("hero title"))])]),e.createElementVNode("p",null,[e.renderSlot(c.$slots,"description",{class:"py-9"})]),e.renderSlot(c.$slots,"call-to-action-block",{class:"max-w-full"},()=>[s[1]||(s[1]=e.createElementVNode("button",{class:"btn btn-primary"},"Call to action",-1))])])])])}const Ft=z(Tt,[["render",Ot]]),It={class:"flex flex-row place-content-center gap-4 categories"},Ut=["onClick"],At=e.defineComponent({__name:"categoryNavigation",props:{searchOptions:{},currentCategory:{}},emits:["update:currentCategory"],setup(c,{emit:s}){const t=c,n=s;function o(a){n("update:currentCategory",a)}return(a,d)=>(e.openBlock(),e.createElementBlock("div",It,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.searchOptions,f=>(e.openBlock(),e.createElementBlock("div",{key:f.category},[e.createElementVNode("button",{onClick:p=>o(f.category),class:e.normalizeClass(["truncate btn btn-ghost",{"font-semibold":t.currentCategory===f.category}])},e.toDisplayString(f.category),11,Ut)]))),128))]))}}),Pt={class:"md:flex hidden navbar-start"},Rt={class:"md:flex justify-center items-center hidden navbar-center"},jt={class:"md:flex hidden navbar-end"},Ht={class:"navbar-bottom md:flex hidden"},qt=z(e.defineComponent({__name:"navigationBar",props:{isCollapsed:{type:Boolean,default:!0}},setup(c){const s=c;return(t,n)=>(e.openBlock(),e.createElementBlock("nav",{class:e.normalizeClass(["place-items-start border-primary bg-base-100 px-5 py-5 border-b-4 transition-all navbar navigationbar",s.isCollapsed?"collapsed":""])},[e.createElementVNode("div",Pt,[e.renderSlot(t.$slots,"start",{},void 0,!0)]),e.createElementVNode("div",Rt,[e.renderSlot(t.$slots,"center",{},void 0,!0)]),e.createElementVNode("div",jt,[e.renderSlot(t.$slots,"end",{},void 0,!0)]),e.createElementVNode("div",Ht,[e.renderSlot(t.$slots,"bottom",{},void 0,!0)])],2))}}),[["__scopeId","data-v-8ddb2b45"]]),Yt={key:0,class:"hidden top-4 right-0 absolute md:flex gap-4"},Jt=["onClick","aria-selected"],Xt={key:0,role:"tabpanel",class:"p-6 border-x-0 border-t-2 border-b-0 border-base-300 max-w-full overflow-x-auto tab-content"},Kt={class:"p-6 border-x-0 border-t-2 border-b-0 border-base-300 max-w-full"},Wt=e.defineComponent({__name:"tab",props:{items:{},withControlls:{type:Boolean,default:!1},rotateTabsAfter:{default:0},buttonOnlyMode:{type:Boolean,default:!1}},emits:["tab-changed"],setup(c,{emit:s}){const t=c,n=e.ref(t.items[0]),o=s;function a(p){n.value=p,o("tab-changed",p)}function d(){const m=(t.items.indexOf(n.value)+1)%t.items.length;a(t.items[m])}function f(){const m=(t.items.indexOf(n.value)-1+t.items.length)%t.items.length;a(t.items[m])}return e.onMounted(()=>{t.items&&a(t.items[0])}),e.onUnmounted(()=>{t.rotateTabsAfter&&t.rotateTabsAfter>0&&setInterval(()=>{d()},t.rotateTabsAfter*1e3)}),(p,m)=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{role:"tablist",class:e.normalizeClass(["relative tabs-bordered w-full tabs tabs-lg",{"flex-nowrap overflow-x-auto":p.buttonOnlyMode}])},[p.withControlls?(e.openBlock(),e.createElementBlock("div",Yt,[e.createElementVNode("button",{onClick:m[0]||(m[0]=u=>f()),class:"cursor-pointer"},"Previous"),e.createElementVNode("button",{onClick:m[1]||(m[1]=u=>d()),class:"text-primary cursor-pointer"},"Next")])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(p.items,u=>(e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("a",{type:"button",role:"tab",class:e.normalizeClass(["min-w-max tab",u===n.value?"bg-primary text-base-100":""]),onClick:_=>a(u),"aria-selected":n.value==u},e.toDisplayString(u),11,Jt),p.buttonOnlyMode?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",Xt,[e.renderSlot(p.$slots,`${u}-tab`)]))],64))),256))],2),e.createElementVNode("div",Kt,[e.renderSlot(p.$slots,"default")])],64))}});g.Accordion=ue,g.AdvancedSearch=Pe,g.Avatar=he,g.Badge=be,g.ButtonComponent=Y,g.Card=$e,g.CategoryNavigation=At,g.DatetimePicker=P,g.Dropdown=K,g.Footer=Mt,g.Hero=Ft,g.Loader=ht,g.Modal=G,g.NavigationBar=qt,g.Rating=mt,g.Swap=ee,g.Tab=Wt,g.TagInput=kt,g.ThemeController=ie,Object.defineProperty(g,Symbol.toStringTag,{value:"Module"})});
|
package/dist/style.css
CHANGED
|
@@ -939,6 +939,60 @@
|
|
|
939
939
|
translate: var(--inidicator-x, 50%) var(--indicator-y, -50%);
|
|
940
940
|
}
|
|
941
941
|
}
|
|
942
|
+
.table {
|
|
943
|
+
font-size: 0.875rem;
|
|
944
|
+
position: relative;
|
|
945
|
+
width: 100%;
|
|
946
|
+
border-radius: var(--radius-box);
|
|
947
|
+
text-align: left;
|
|
948
|
+
&:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) {
|
|
949
|
+
text-align: right;
|
|
950
|
+
}
|
|
951
|
+
tr.row-hover {
|
|
952
|
+
&, &:nth-child(even) {
|
|
953
|
+
&:hover {
|
|
954
|
+
@media (hover: hover) {
|
|
955
|
+
background-color: var(--color-base-200);
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
}
|
|
960
|
+
:where(th, td) {
|
|
961
|
+
padding-inline: calc(0.25rem * 4);
|
|
962
|
+
padding-block: calc(0.25rem * 3);
|
|
963
|
+
vertical-align: middle;
|
|
964
|
+
}
|
|
965
|
+
:where(thead, tfoot) {
|
|
966
|
+
white-space: nowrap;
|
|
967
|
+
color: color-mix(in oklab, var(--color-base-content) 60%, transparent);
|
|
968
|
+
font-size: 0.875rem;
|
|
969
|
+
font-weight: 600;
|
|
970
|
+
}
|
|
971
|
+
:where(tfoot) {
|
|
972
|
+
border-top: var(--border) solid color-mix(in oklch, var(--color-base-content) 5%, #0000);
|
|
973
|
+
}
|
|
974
|
+
:where(.table-pin-rows thead tr) {
|
|
975
|
+
position: sticky;
|
|
976
|
+
top: calc(0.25rem * 0);
|
|
977
|
+
z-index: 1;
|
|
978
|
+
background-color: var(--color-base-100);
|
|
979
|
+
}
|
|
980
|
+
:where(.table-pin-rows tfoot tr) {
|
|
981
|
+
position: sticky;
|
|
982
|
+
bottom: calc(0.25rem * 0);
|
|
983
|
+
z-index: 1;
|
|
984
|
+
background-color: var(--color-base-100);
|
|
985
|
+
}
|
|
986
|
+
:where(.table-pin-cols tr th) {
|
|
987
|
+
position: sticky;
|
|
988
|
+
right: calc(0.25rem * 0);
|
|
989
|
+
left: calc(0.25rem * 0);
|
|
990
|
+
background-color: var(--color-base-100);
|
|
991
|
+
}
|
|
992
|
+
:where(thead tr, tbody tr:not(:last-child)) {
|
|
993
|
+
border-bottom: var(--border) solid color-mix(in oklch, var(--color-base-content) 5%, #0000);
|
|
994
|
+
}
|
|
995
|
+
}
|
|
942
996
|
.avatar-offline {
|
|
943
997
|
&:before {
|
|
944
998
|
content: "";
|
|
@@ -1546,6 +1600,47 @@
|
|
|
1546
1600
|
height: calc(0.25rem * 8);
|
|
1547
1601
|
}
|
|
1548
1602
|
}
|
|
1603
|
+
.progress {
|
|
1604
|
+
position: relative;
|
|
1605
|
+
height: calc(0.25rem * 2);
|
|
1606
|
+
width: 100%;
|
|
1607
|
+
appearance: none;
|
|
1608
|
+
overflow: hidden;
|
|
1609
|
+
border-radius: var(--radius-box);
|
|
1610
|
+
background-color: color-mix(in oklab, currentColor 20%, transparent);
|
|
1611
|
+
color: var(--color-base-content);
|
|
1612
|
+
&:indeterminate {
|
|
1613
|
+
background-image: repeating-linear-gradient( 90deg, currentColor -1%, currentColor 10%, #0000 10%, #0000 90% );
|
|
1614
|
+
background-size: 200%;
|
|
1615
|
+
background-position-x: 15%;
|
|
1616
|
+
animation: progress 5s ease-in-out infinite;
|
|
1617
|
+
@supports (-moz-appearance: none) {
|
|
1618
|
+
&::-moz-progress-bar {
|
|
1619
|
+
background-color: transparent;
|
|
1620
|
+
background-image: repeating-linear-gradient( 90deg, currentColor -1%, currentColor 10%, #0000 10%, #0000 90% );
|
|
1621
|
+
background-size: 200%;
|
|
1622
|
+
background-position-x: 15%;
|
|
1623
|
+
animation: progress 5s ease-in-out infinite;
|
|
1624
|
+
}
|
|
1625
|
+
}
|
|
1626
|
+
}
|
|
1627
|
+
@supports (-moz-appearance: none) {
|
|
1628
|
+
&::-moz-progress-bar {
|
|
1629
|
+
border-radius: var(--radius-box);
|
|
1630
|
+
background-color: currentColor;
|
|
1631
|
+
}
|
|
1632
|
+
}
|
|
1633
|
+
@supports (-webkit-appearance: none) {
|
|
1634
|
+
&::-webkit-progress-bar {
|
|
1635
|
+
border-radius: var(--radius-box);
|
|
1636
|
+
background-color: transparent;
|
|
1637
|
+
}
|
|
1638
|
+
&::-webkit-progress-value {
|
|
1639
|
+
border-radius: var(--radius-box);
|
|
1640
|
+
background-color: currentColor;
|
|
1641
|
+
}
|
|
1642
|
+
}
|
|
1643
|
+
}
|
|
1549
1644
|
.absolute {
|
|
1550
1645
|
position: absolute;
|
|
1551
1646
|
}
|
|
@@ -1613,12 +1708,24 @@
|
|
|
1613
1708
|
transform-origin: bottom;
|
|
1614
1709
|
}
|
|
1615
1710
|
}
|
|
1711
|
+
.top-1\/2 {
|
|
1712
|
+
top: calc(1/2 * 100%);
|
|
1713
|
+
}
|
|
1616
1714
|
.top-4 {
|
|
1617
1715
|
top: calc(var(--spacing) * 4);
|
|
1618
1716
|
}
|
|
1619
1717
|
.right-0 {
|
|
1620
1718
|
right: calc(var(--spacing) * 0);
|
|
1621
1719
|
}
|
|
1720
|
+
.right-5 {
|
|
1721
|
+
right: calc(var(--spacing) * 5);
|
|
1722
|
+
}
|
|
1723
|
+
.bottom-5 {
|
|
1724
|
+
bottom: calc(var(--spacing) * 5);
|
|
1725
|
+
}
|
|
1726
|
+
.left-5 {
|
|
1727
|
+
left: calc(var(--spacing) * 5);
|
|
1728
|
+
}
|
|
1622
1729
|
.modal-backdrop {
|
|
1623
1730
|
grid-column-start: 1;
|
|
1624
1731
|
grid-row-start: 1;
|
|
@@ -1634,6 +1741,9 @@
|
|
|
1634
1741
|
.z-1 {
|
|
1635
1742
|
z-index: 1;
|
|
1636
1743
|
}
|
|
1744
|
+
.z-10 {
|
|
1745
|
+
z-index: 10;
|
|
1746
|
+
}
|
|
1637
1747
|
.z-50 {
|
|
1638
1748
|
z-index: 50;
|
|
1639
1749
|
}
|
|
@@ -2055,6 +2165,9 @@
|
|
|
2055
2165
|
.inline-flex {
|
|
2056
2166
|
display: inline-flex;
|
|
2057
2167
|
}
|
|
2168
|
+
.table {
|
|
2169
|
+
display: table;
|
|
2170
|
+
}
|
|
2058
2171
|
.modal-bottom {
|
|
2059
2172
|
place-items: end;
|
|
2060
2173
|
:where(.modal-box) {
|
|
@@ -2122,12 +2235,21 @@
|
|
|
2122
2235
|
.h-4 {
|
|
2123
2236
|
height: calc(var(--spacing) * 4);
|
|
2124
2237
|
}
|
|
2238
|
+
.h-5 {
|
|
2239
|
+
height: calc(var(--spacing) * 5);
|
|
2240
|
+
}
|
|
2125
2241
|
.h-32 {
|
|
2126
2242
|
height: calc(var(--spacing) * 32);
|
|
2127
2243
|
}
|
|
2128
2244
|
.h-44 {
|
|
2129
2245
|
height: calc(var(--spacing) * 44);
|
|
2130
2246
|
}
|
|
2247
|
+
.h-48 {
|
|
2248
|
+
height: calc(var(--spacing) * 48);
|
|
2249
|
+
}
|
|
2250
|
+
.h-64 {
|
|
2251
|
+
height: calc(var(--spacing) * 64);
|
|
2252
|
+
}
|
|
2131
2253
|
.h-fit {
|
|
2132
2254
|
height: fit-content;
|
|
2133
2255
|
}
|
|
@@ -2179,6 +2301,9 @@
|
|
|
2179
2301
|
.w-4 {
|
|
2180
2302
|
width: calc(var(--spacing) * 4);
|
|
2181
2303
|
}
|
|
2304
|
+
.w-5 {
|
|
2305
|
+
width: calc(var(--spacing) * 5);
|
|
2306
|
+
}
|
|
2182
2307
|
.w-16 {
|
|
2183
2308
|
width: calc(var(--spacing) * 16);
|
|
2184
2309
|
}
|
|
@@ -2215,6 +2340,16 @@
|
|
|
2215
2340
|
.min-w-max {
|
|
2216
2341
|
min-width: max-content;
|
|
2217
2342
|
}
|
|
2343
|
+
.flex-shrink {
|
|
2344
|
+
flex-shrink: 1;
|
|
2345
|
+
}
|
|
2346
|
+
.shrink {
|
|
2347
|
+
flex-shrink: 1;
|
|
2348
|
+
}
|
|
2349
|
+
.-translate-y-1\/2 {
|
|
2350
|
+
--tw-translate-y: calc(calc(1/2 * 100%) * -1);
|
|
2351
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
2352
|
+
}
|
|
2218
2353
|
.swap-rotate {
|
|
2219
2354
|
.swap-on, .swap-indeterminate, input:indeterminate ~ .swap-on {
|
|
2220
2355
|
rotate: 45deg;
|
|
@@ -2263,6 +2398,14 @@
|
|
|
2263
2398
|
.cursor-pointer {
|
|
2264
2399
|
cursor: pointer;
|
|
2265
2400
|
}
|
|
2401
|
+
.carousel-horizontal {
|
|
2402
|
+
flex-direction: row;
|
|
2403
|
+
overflow-x: scroll;
|
|
2404
|
+
scroll-snap-type: x mandatory;
|
|
2405
|
+
}
|
|
2406
|
+
.snap-none {
|
|
2407
|
+
scroll-snap-type: none;
|
|
2408
|
+
}
|
|
2266
2409
|
.grid-cols-7 {
|
|
2267
2410
|
grid-template-columns: repeat(7, minmax(0, 1fr));
|
|
2268
2411
|
}
|
|
@@ -2319,9 +2462,21 @@
|
|
|
2319
2462
|
.overflow-x-hidden {
|
|
2320
2463
|
overflow-x: hidden;
|
|
2321
2464
|
}
|
|
2465
|
+
.overflow-x-scroll {
|
|
2466
|
+
overflow-x: scroll;
|
|
2467
|
+
}
|
|
2468
|
+
.scroll-smooth {
|
|
2469
|
+
scroll-behavior: smooth;
|
|
2470
|
+
}
|
|
2322
2471
|
.rounded {
|
|
2323
2472
|
border-radius: 0.25rem;
|
|
2324
2473
|
}
|
|
2474
|
+
.rounded-box {
|
|
2475
|
+
border-radius: var(--radius-box);
|
|
2476
|
+
}
|
|
2477
|
+
.rounded-box {
|
|
2478
|
+
border-radius: var(--radius-box);
|
|
2479
|
+
}
|
|
2325
2480
|
.rounded-full {
|
|
2326
2481
|
border-radius: calc(infinity * 1px);
|
|
2327
2482
|
}
|
|
@@ -2400,6 +2555,9 @@
|
|
|
2400
2555
|
.border-primary {
|
|
2401
2556
|
border-color: var(--color-primary);
|
|
2402
2557
|
}
|
|
2558
|
+
.bg-accent {
|
|
2559
|
+
background-color: var(--color-accent);
|
|
2560
|
+
}
|
|
2403
2561
|
.bg-base-100 {
|
|
2404
2562
|
background-color: var(--color-base-100);
|
|
2405
2563
|
}
|
|
@@ -2409,6 +2567,12 @@
|
|
|
2409
2567
|
.bg-blue-100 {
|
|
2410
2568
|
background-color: var(--color-blue-100);
|
|
2411
2569
|
}
|
|
2570
|
+
.bg-error {
|
|
2571
|
+
background-color: var(--color-error);
|
|
2572
|
+
}
|
|
2573
|
+
.bg-info {
|
|
2574
|
+
background-color: var(--color-info);
|
|
2575
|
+
}
|
|
2412
2576
|
.bg-neutral {
|
|
2413
2577
|
background-color: var(--color-neutral);
|
|
2414
2578
|
}
|
|
@@ -2418,6 +2582,15 @@
|
|
|
2418
2582
|
.bg-primary\/20 {
|
|
2419
2583
|
background-color: color-mix(in oklab, var(--color-primary) 20%, transparent);
|
|
2420
2584
|
}
|
|
2585
|
+
.bg-secondary {
|
|
2586
|
+
background-color: var(--color-secondary);
|
|
2587
|
+
}
|
|
2588
|
+
.bg-success {
|
|
2589
|
+
background-color: var(--color-success);
|
|
2590
|
+
}
|
|
2591
|
+
.bg-warning {
|
|
2592
|
+
background-color: var(--color-warning);
|
|
2593
|
+
}
|
|
2421
2594
|
.bg-yellow-400 {
|
|
2422
2595
|
background-color: var(--color-yellow-400);
|
|
2423
2596
|
}
|
|
@@ -2486,6 +2659,9 @@
|
|
|
2486
2659
|
.py-1 {
|
|
2487
2660
|
padding-block: calc(var(--spacing) * 1);
|
|
2488
2661
|
}
|
|
2662
|
+
.py-2 {
|
|
2663
|
+
padding-block: calc(var(--spacing) * 2);
|
|
2664
|
+
}
|
|
2489
2665
|
.py-5 {
|
|
2490
2666
|
padding-block: calc(var(--spacing) * 5);
|
|
2491
2667
|
}
|
|
@@ -2544,6 +2720,11 @@
|
|
|
2544
2720
|
--btn-p: 0.75rem;
|
|
2545
2721
|
--size: calc(var(--size-field, 0.25rem) * 8);
|
|
2546
2722
|
}
|
|
2723
|
+
.btn-xs {
|
|
2724
|
+
font-size: 0.6875rem;
|
|
2725
|
+
--btn-p: 0.5rem;
|
|
2726
|
+
--size: calc(var(--size-field, 0.25rem) * 6);
|
|
2727
|
+
}
|
|
2547
2728
|
.font-bold {
|
|
2548
2729
|
--tw-font-weight: var(--font-weight-bold);
|
|
2549
2730
|
font-weight: var(--font-weight-bold);
|
|
@@ -2591,6 +2772,9 @@
|
|
|
2591
2772
|
.text-accent {
|
|
2592
2773
|
color: var(--color-accent);
|
|
2593
2774
|
}
|
|
2775
|
+
.text-accent-content {
|
|
2776
|
+
color: var(--color-accent-content);
|
|
2777
|
+
}
|
|
2594
2778
|
.text-base-100 {
|
|
2595
2779
|
color: var(--color-base-100);
|
|
2596
2780
|
}
|
|
@@ -2606,12 +2790,18 @@
|
|
|
2606
2790
|
.text-error {
|
|
2607
2791
|
color: var(--color-error);
|
|
2608
2792
|
}
|
|
2793
|
+
.text-error-content {
|
|
2794
|
+
color: var(--color-error-content);
|
|
2795
|
+
}
|
|
2609
2796
|
.text-green-500 {
|
|
2610
2797
|
color: var(--color-green-500);
|
|
2611
2798
|
}
|
|
2612
2799
|
.text-info {
|
|
2613
2800
|
color: var(--color-info);
|
|
2614
2801
|
}
|
|
2802
|
+
.text-info-content {
|
|
2803
|
+
color: var(--color-info-content);
|
|
2804
|
+
}
|
|
2615
2805
|
.text-neutral {
|
|
2616
2806
|
color: var(--color-neutral);
|
|
2617
2807
|
}
|
|
@@ -2630,12 +2820,21 @@
|
|
|
2630
2820
|
.text-secondary {
|
|
2631
2821
|
color: var(--color-secondary);
|
|
2632
2822
|
}
|
|
2823
|
+
.text-secondary-content {
|
|
2824
|
+
color: var(--color-secondary-content);
|
|
2825
|
+
}
|
|
2633
2826
|
.text-success {
|
|
2634
2827
|
color: var(--color-success);
|
|
2635
2828
|
}
|
|
2829
|
+
.text-success-content {
|
|
2830
|
+
color: var(--color-success-content);
|
|
2831
|
+
}
|
|
2636
2832
|
.text-warning {
|
|
2637
2833
|
color: var(--color-warning);
|
|
2638
2834
|
}
|
|
2835
|
+
.text-warning-content {
|
|
2836
|
+
color: var(--color-warning-content);
|
|
2837
|
+
}
|
|
2639
2838
|
.btn-link {
|
|
2640
2839
|
text-decoration-line: underline;
|
|
2641
2840
|
outline-color: currentColor;
|
|
@@ -3239,6 +3438,21 @@
|
|
|
3239
3438
|
--noise: 1;
|
|
3240
3439
|
}
|
|
3241
3440
|
}
|
|
3441
|
+
@property --tw-translate-x {
|
|
3442
|
+
syntax: "*";
|
|
3443
|
+
inherits: false;
|
|
3444
|
+
initial-value: 0;
|
|
3445
|
+
}
|
|
3446
|
+
@property --tw-translate-y {
|
|
3447
|
+
syntax: "*";
|
|
3448
|
+
inherits: false;
|
|
3449
|
+
initial-value: 0;
|
|
3450
|
+
}
|
|
3451
|
+
@property --tw-translate-z {
|
|
3452
|
+
syntax: "*";
|
|
3453
|
+
inherits: false;
|
|
3454
|
+
initial-value: 0;
|
|
3455
|
+
}
|
|
3242
3456
|
@property --tw-rotate-x {
|
|
3243
3457
|
syntax: "*";
|
|
3244
3458
|
inherits: false;
|