manolis-ui 0.6.9 → 0.6.10

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.
@@ -1,8 +1,8 @@
1
- import { defineComponent as P, computed as B, createElementBlock as a, openBlock as l, normalizeClass as C, createCommentVNode as M, renderSlot as D, createTextVNode as de, createElementVNode as n, Fragment as I, renderList as V, toDisplayString as S, ref as $, h as re, onMounted as G, watch as N, withDirectives as R, createVNode as te, isRef as Be, vModelCheckbox as Pe, unref as F, provide as ze, normalizeStyle as ce, inject as Ae, defineAsyncComponent as Le, onBeforeUnmount as ie, createBlock as ue, resolveDynamicComponent as me, mergeProps as he, nextTick as ge, onUnmounted as we, vModelSelect as J, vModelText as ee, useSlots as Ee, Comment as Ue, withKeys as be, withModifiers as se, vShow as je } from "vue";
1
+ import { defineComponent as z, computed as B, createElementBlock as o, openBlock as l, normalizeClass as C, createCommentVNode as M, renderSlot as D, createTextVNode as de, createElementVNode as n, Fragment as I, renderList as V, toDisplayString as S, ref as $, h as re, onMounted as G, watch as N, withDirectives as R, createVNode as te, isRef as Be, vModelCheckbox as ze, unref as F, provide as Pe, normalizeStyle as ce, inject as Ae, defineAsyncComponent as Le, onBeforeUnmount as ie, createBlock as ue, resolveDynamicComponent as me, mergeProps as he, nextTick as ge, onUnmounted as we, vModelSelect as J, vModelText as ee, useSlots as Ee, Comment as Ue, withKeys as be, withModifiers as se, vShow as je } from "vue";
2
2
  const Re = {
3
3
  key: 0,
4
4
  class: "loading loading-spinner"
5
- }, sn = /* @__PURE__ */ P({
5
+ }, sn = /* @__PURE__ */ z({
6
6
  __name: "ButtonComponent",
7
7
  props: {
8
8
  outlined: { type: Boolean, default: !1 },
@@ -53,7 +53,7 @@ const Re = {
53
53
  default:
54
54
  return "btn-neutral";
55
55
  }
56
- }), o = B(() => {
56
+ }), a = B(() => {
57
57
  switch (d.shape) {
58
58
  case "square":
59
59
  return "btn-square";
@@ -63,10 +63,10 @@ const Re = {
63
63
  return "";
64
64
  }
65
65
  });
66
- return (s, r) => (l(), a("button", {
67
- class: C(["btn", { "btn-outline": d.outlined }, { "btn-active": d.active }, t.value, e.value, o.value])
66
+ return (s, r) => (l(), o("button", {
67
+ class: C(["btn", { "btn-outline": d.outlined }, { "btn-active": d.active }, t.value, e.value, a.value])
68
68
  }, [
69
- s.loading ? (l(), a("span", Re)) : M("", !0),
69
+ s.loading ? (l(), o("span", Re)) : M("", !0),
70
70
  D(s.$slots, "default", {}, () => [
71
71
  r[0] || (r[0] = de("Submit"))
72
72
  ])
@@ -75,7 +75,7 @@ const Re = {
75
75
  }), Fe = {
76
76
  tabindex: "0",
77
77
  class: "z-1 bg-base-100 shadow-sm p-2 rounded-sm min-w-[inherit] md:min-w-full xl:min-w-52 dropdown-content menu"
78
- }, Ne = ["href"], rn = /* @__PURE__ */ P({
78
+ }, Ne = ["href"], rn = /* @__PURE__ */ z({
79
79
  __name: "dropdown",
80
80
  props: {
81
81
  items: {},
@@ -94,26 +94,26 @@ const Re = {
94
94
  start: "",
95
95
  end: "dropdown-end"
96
96
  }, t = i;
97
- return (o, s) => (l(), a("div", {
97
+ return (a, s) => (l(), o("div", {
98
98
  class: C(["dropdown", d[t.position], e[t.floatPosition], { "dropdown-open": t.forceOpen }, { "dropdown-hover": t.openOnHover }])
99
99
  }, [
100
- D(o.$slots, "default", {
100
+ D(a.$slots, "default", {
101
101
  tabindex: "0",
102
102
  role: "button"
103
103
  }, () => [
104
104
  s[0] || (s[0] = n("div", { class: "m-1 btn" }, "Open dropdown", -1))
105
105
  ]),
106
106
  n("ul", Fe, [
107
- (l(!0), a(I, null, V(o.items, (r) => (l(), a("li", null, [
107
+ (l(!0), o(I, null, V(a.items, (r) => (l(), o("li", null, [
108
108
  n("a", {
109
109
  href: r.link
110
110
  }, S(r.text), 9, Ne)
111
111
  ]))), 256)),
112
- D(o.$slots, "additional")
112
+ D(a.$slots, "additional")
113
113
  ])
114
114
  ], 2));
115
115
  }
116
- }), qe = { class: "modal-box" }, He = { class: "modal-action" }, un = /* @__PURE__ */ P({
116
+ }), qe = { class: "modal-box" }, He = { class: "modal-action" }, un = /* @__PURE__ */ z({
117
117
  __name: "modal",
118
118
  props: {
119
119
  position: { default: "center" },
@@ -124,17 +124,17 @@ const Re = {
124
124
  top: "modal-top",
125
125
  bottom: "modal-bottom",
126
126
  center: "modal-middle"
127
- }, t = $(null), o = () => {
127
+ }, t = $(null), a = () => {
128
128
  var r;
129
129
  (r = t.value) == null || r.showModal();
130
130
  }, s = () => {
131
131
  var r;
132
132
  (r = t.value) == null || r.close();
133
133
  };
134
- return (r, g) => (l(), a(I, null, [
134
+ return (r, g) => (l(), o(I, null, [
135
135
  n("span", {
136
136
  class: "w-fit cursor-pointer",
137
- onClick: o
137
+ onClick: a
138
138
  }, [
139
139
  D(r.$slots, "trigger", { role: "button" }, () => [
140
140
  g[0] || (g[0] = n("button", { class: "btn" }, "Open", -1))
@@ -163,14 +163,14 @@ const Re = {
163
163
  ], 2)
164
164
  ], 64));
165
165
  }
166
- }), We = { class: "flex justify-center items-center swap-on" }, Ke = { class: "flex justify-center items-center swap-off" }, dn = /* @__PURE__ */ P({
166
+ }), We = { class: "flex justify-center items-center swap-on" }, Ke = { class: "flex justify-center items-center swap-off" }, dn = /* @__PURE__ */ z({
167
167
  __name: "swap",
168
168
  props: {
169
169
  effect: {}
170
170
  },
171
171
  setup(i) {
172
172
  const d = i;
173
- return (e, t) => (l(), a("label", {
173
+ return (e, t) => (l(), o("label", {
174
174
  class: C(["swap", d.effect ? `swap-${e.effect}` : ""])
175
175
  }, [
176
176
  t[0] || (t[0] = n("input", { type: "checkbox" }, null, -1)),
@@ -213,7 +213,7 @@ var oe = {
213
213
  * This source code is licensed under the ISC license.
214
214
  * See the LICENSE file in the root directory of this source tree.
215
215
  */
216
- const Je = ({ size: i, strokeWidth: d = 2, absoluteStrokeWidth: e, color: t, iconNode: o, name: s, class: r, ...g }, { slots: c }) => re(
216
+ const Je = ({ size: i, strokeWidth: d = 2, absoluteStrokeWidth: e, color: t, iconNode: a, name: s, class: r, ...g }, { slots: c }) => re(
217
217
  "svg",
218
218
  {
219
219
  ...oe,
@@ -224,7 +224,7 @@ const Je = ({ size: i, strokeWidth: d = 2, absoluteStrokeWidth: e, color: t, ico
224
224
  class: ["lucide", `lucide-${Ye(s ?? "icon")}`],
225
225
  ...g
226
226
  },
227
- [...o.map((p) => re(...p)), ...c.default ? [c.default()] : []]
227
+ [...a.map((p) => re(...p)), ...c.default ? [c.default()] : []]
228
228
  );
229
229
  /**
230
230
  * @license lucide-vue-next v0.468.0 - ISC
@@ -307,7 +307,7 @@ const Qe = le("SunIcon", [
307
307
  }), N(e, (t) => {
308
308
  typeof window < "u" && window.localStorage.setItem(i, JSON.stringify(t));
309
309
  }), e;
310
- }, tt = { class: "swap-rotate swap" }, lt = ["true-value", "false-value"], cn = /* @__PURE__ */ P({
310
+ }, tt = { class: "swap-rotate swap" }, lt = ["true-value", "false-value"], cn = /* @__PURE__ */ z({
311
311
  __name: "theme-controller",
312
312
  props: {
313
313
  lightTheme: { default: "light" },
@@ -315,12 +315,12 @@ const Qe = le("SunIcon", [
315
315
  },
316
316
  setup(i) {
317
317
  const d = i, e = et("theme", d.lightTheme);
318
- function t(o) {
319
- typeof window < "u" && window.document && document.documentElement.setAttribute("data-theme", o);
318
+ function t(a) {
319
+ typeof window < "u" && window.document && document.documentElement.setAttribute("data-theme", a);
320
320
  }
321
- return G(() => t(e.value ? e.value : "")), N(e, (o) => {
322
- t(o);
323
- }), (o, s) => (l(), a("label", tt, [
321
+ return G(() => t(e.value ? e.value : "")), N(e, (a) => {
322
+ t(a);
323
+ }), (a, s) => (l(), o("label", tt, [
324
324
  R(n("input", {
325
325
  type: "checkbox",
326
326
  class: "theme-controller",
@@ -328,13 +328,13 @@ const Qe = le("SunIcon", [
328
328
  "true-value": d.lightTheme,
329
329
  "false-value": d.darkTheme
330
330
  }, null, 8, lt), [
331
- [Pe, F(e)]
331
+ [ze, F(e)]
332
332
  ]),
333
333
  te(F(Qe), { class: "swap-off fill-current" }),
334
334
  te(F(Ze), { class: "swap-on fill-current" })
335
335
  ]));
336
336
  }
337
- }), nt = ["name"], at = { class: "collapse-title font-bold text-2xl lg:text-4xl" }, ot = { class: "collapse-content" }, st = ["innerHTML"], pn = /* @__PURE__ */ P({
337
+ }), nt = ["name"], at = { class: "collapse-title font-bold text-2xl lg:text-4xl" }, ot = { class: "collapse-content" }, st = ["innerHTML"], pn = /* @__PURE__ */ z({
338
338
  __name: "accordion",
339
339
  props: {
340
340
  name: {},
@@ -344,7 +344,7 @@ const Qe = le("SunIcon", [
344
344
  },
345
345
  setup(i) {
346
346
  const d = i;
347
- return (e, t) => (l(!0), a(I, null, V(d.items, (o, s) => (l(), a("div", {
347
+ return (e, t) => (l(!0), o(I, null, V(d.items, (a, s) => (l(), o("div", {
348
348
  class: C(["collapse border border-base-300", [e.icon ? `collapse-${e.icon}` : "", { "join-item": e.joinItems }]]),
349
349
  key: s
350
350
  }, [
@@ -353,15 +353,15 @@ const Qe = le("SunIcon", [
353
353
  name: e.name,
354
354
  value: "true"
355
355
  }, null, 8, nt),
356
- n("div", at, S(o.title), 1),
356
+ n("div", at, S(a.title), 1),
357
357
  n("div", ot, [
358
358
  n("span", {
359
- innerHTML: o.content
359
+ innerHTML: a.content
360
360
  }, null, 8, st)
361
361
  ])
362
362
  ], 2))), 128));
363
363
  }
364
- }), rt = ["src"], it = { class: "text-xl" }, vn = /* @__PURE__ */ P({
364
+ }), rt = ["src"], it = { class: "text-xl" }, vn = /* @__PURE__ */ z({
365
365
  __name: "avatar",
366
366
  props: {
367
367
  image: {},
@@ -376,10 +376,10 @@ const Qe = le("SunIcon", [
376
376
  (t) => {
377
377
  t && (e.value = t);
378
378
  }
379
- ), (t, o) => (l(), a("div", {
379
+ ), (t, a) => (l(), o("div", {
380
380
  class: C(["avatar", [{ "avatar-online": e.value === "online" }, { "avatar-offline": e.value === "offline" }]])
381
381
  }, [
382
- t.image ? (l(), a("div", {
382
+ t.image ? (l(), o("div", {
383
383
  key: 0,
384
384
  class: C(["rounded", [{ "rounded-full": t.fullyRounded }, { rounded: !t.fullyRounded }]])
385
385
  }, [
@@ -387,7 +387,7 @@ const Qe = le("SunIcon", [
387
387
  src: t.image,
388
388
  class: "w-full h-full"
389
389
  }, null, 8, rt)
390
- ], 2)) : (l(), a("div", {
390
+ ], 2)) : (l(), o("div", {
391
391
  key: 1,
392
392
  class: C(["flex justify-center bg-neutral p-[25%] rounded w-16 text-neutral-content text-center", [{ "rounded-full": t.fullyRounded }, { rounded: !t.fullyRounded }]])
393
393
  }, [
@@ -395,7 +395,7 @@ const Qe = le("SunIcon", [
395
395
  ], 2))
396
396
  ], 2));
397
397
  }
398
- }), fn = /* @__PURE__ */ P({
398
+ }), fn = /* @__PURE__ */ z({
399
399
  __name: "badge",
400
400
  props: {
401
401
  color: { default: "neutral" },
@@ -419,10 +419,10 @@ const Qe = le("SunIcon", [
419
419
  warning: "badge-warning",
420
420
  error: "badge-error"
421
421
  };
422
- return (o, s) => (l(), a("span", {
422
+ return (a, s) => (l(), o("span", {
423
423
  class: C(["badge", e[d.size], t[d.color], { "badge-outline": d.outline }])
424
424
  }, [
425
- D(o.$slots, "default")
425
+ D(a.$slots, "default")
426
426
  ], 2));
427
427
  }
428
428
  }), ut = ["src", "alt"], dt = {
@@ -437,7 +437,7 @@ const Qe = le("SunIcon", [
437
437
  }, vt = { class: "flex-col flex-nowrap mt-auto card-actions" }, ft = {
438
438
  key: 1,
439
439
  class: "card-body"
440
- }, mn = /* @__PURE__ */ P({
440
+ }, mn = /* @__PURE__ */ z({
441
441
  __name: "card",
442
442
  props: {
443
443
  imgUrl: { default: "" },
@@ -458,11 +458,11 @@ const Qe = le("SunIcon", [
458
458
  (t) => {
459
459
  e.value = t;
460
460
  }
461
- ), (t, o) => (l(), a("div", {
461
+ ), (t, a) => (l(), o("div", {
462
462
  class: C(["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]])
463
463
  }, [
464
464
  n("figure", null, [
465
- t.imgUrl || t.imgUrl && !t.loading ? (l(), a("img", {
465
+ t.imgUrl || t.imgUrl && !t.loading ? (l(), o("img", {
466
466
  key: 0,
467
467
  src: t.imgUrl,
468
468
  alt: t.alt,
@@ -473,20 +473,20 @@ const Qe = le("SunIcon", [
473
473
  t.imgHeight
474
474
  ]])
475
475
  }, null, 10, ut)) : M("", !0),
476
- t.loading && t.imgUrl ? (l(), a("div", {
476
+ t.loading && t.imgUrl ? (l(), o("div", {
477
477
  key: 1,
478
478
  class: C(["w-full skeleton", t.imgHeight])
479
479
  }, null, 2)) : M("", !0)
480
480
  ]),
481
- t.loading ? M("", !0) : (l(), a("div", dt, [
482
- t.title ? (l(), a("h2", ct, S(t.title), 1)) : M("", !0),
481
+ t.loading ? M("", !0) : (l(), o("div", dt, [
482
+ t.title ? (l(), o("h2", ct, S(t.title), 1)) : M("", !0),
483
483
  D(t.$slots, "details"),
484
- t.description ? (l(), a("p", pt, S(t.description), 1)) : M("", !0),
484
+ t.description ? (l(), o("p", pt, S(t.description), 1)) : M("", !0),
485
485
  n("div", vt, [
486
486
  D(t.$slots, "actions")
487
487
  ])
488
488
  ])),
489
- t.loading ? (l(), a("div", ft, o[0] || (o[0] = [
489
+ t.loading ? (l(), o("div", ft, a[0] || (a[0] = [
490
490
  n("div", { class: "flex flex-col gap-4 w-52" }, [
491
491
  n("div", { class: "w-28 h-4 skeleton" }),
492
492
  n("div", { class: "w-full h-4 skeleton" }),
@@ -501,7 +501,7 @@ const Qe = le("SunIcon", [
501
501
  }, gt = {
502
502
  key: 1,
503
503
  class: "bottom-5 z-10 absolute flex justify-center gap-2 py-2 w-full"
504
- }, bt = ["onClick", "aria-label"], yt = /* @__PURE__ */ P({
504
+ }, bt = ["onClick", "aria-label"], yt = /* @__PURE__ */ z({
505
505
  __name: "carousel",
506
506
  props: {
507
507
  showIndicators: {
@@ -539,17 +539,17 @@ const Qe = le("SunIcon", [
539
539
  }
540
540
  },
541
541
  setup(i, { expose: d }) {
542
- const e = i, t = $(e.initialSlide), o = $(null), s = $(!1), r = $(0), g = B(() => ({
542
+ const e = i, t = $(e.initialSlide), a = $(null), s = $(!1), r = $(0), g = B(() => ({
543
543
  width: `calc((100% - ${e.slidesPerView > 1 ? (e.slidesPerView - 1) * e.gap : 0}px) / ${e.slidesPerView})`
544
544
  }));
545
- ze(ke, g);
545
+ Pe(ke, g);
546
546
  const c = () => {
547
- o.value ? r.value = o.value.children.length : r.value = 0;
547
+ a.value ? r.value = a.value.children.length : r.value = 0;
548
548
  }, p = async (m) => {
549
- if (!o.value || e.slidesPerView <= 0 || s.value || (c(), r.value === 0)) return;
550
- const b = (m % r.value + r.value) % r.value, w = o.value, _ = e.sliderOrientation === "vertical" ? (w.offsetHeight - (e.slidesPerView - 1) * e.gap) / e.slidesPerView : (w.offsetWidth - (e.slidesPerView - 1) * e.gap) / e.slidesPerView;
549
+ if (!a.value || e.slidesPerView <= 0 || s.value || (c(), r.value === 0)) return;
550
+ const b = (m % r.value + r.value) % r.value, w = a.value, _ = e.sliderOrientation === "vertical" ? (w.offsetHeight - (e.slidesPerView - 1) * e.gap) / e.slidesPerView : (w.offsetWidth - (e.slidesPerView - 1) * e.gap) / e.slidesPerView;
551
551
  if (_ <= 0) return;
552
- const k = _ + e.gap, T = b * k, z = e.sliderOrientation === "vertical" ? w.scrollHeight - w.offsetHeight : w.scrollWidth - w.offsetWidth, H = Math.max(0, Math.min(T, z + 0.5));
552
+ const k = _ + e.gap, T = b * k, P = e.sliderOrientation === "vertical" ? w.scrollHeight - w.offsetHeight : w.scrollWidth - w.offsetWidth, H = Math.max(0, Math.min(T, P + 0.5));
553
553
  s.value = !0, w.style.scrollBehavior = "auto";
554
554
  const K = e.sliderOrientation === "vertical" ? w.scrollTop : w.scrollLeft, W = H - K;
555
555
  if (Math.abs(W) < 1) {
@@ -568,10 +568,10 @@ const Qe = le("SunIcon", [
568
568
  }, q = (m) => {
569
569
  p(m);
570
570
  }, f = () => {
571
- if (!o.value || e.slidesPerView <= 0 || (c(), r.value === 0)) return;
572
- const m = o.value, b = e.sliderOrientation === "vertical" ? m.offsetHeight : m.offsetWidth, w = e.slidesPerView > 1 ? (e.slidesPerView - 1) * e.gap : 0, _ = (b - w) / e.slidesPerView;
571
+ if (!a.value || e.slidesPerView <= 0 || (c(), r.value === 0)) return;
572
+ const m = a.value, b = e.sliderOrientation === "vertical" ? m.offsetHeight : m.offsetWidth, w = e.slidesPerView > 1 ? (e.slidesPerView - 1) * e.gap : 0, _ = (b - w) / e.slidesPerView;
573
573
  if (_ <= 0) return;
574
- const k = Math.max(0, r.value - e.slidesPerView), T = Math.min(Math.max(0, e.initialSlide), k), z = T * (_ + e.gap), H = e.sliderOrientation === "vertical" ? m.scrollHeight - m.offsetHeight : m.scrollWidth - m.offsetWidth, K = Math.max(0, Math.min(z, H + 0.5));
574
+ const k = Math.max(0, r.value - e.slidesPerView), T = Math.min(Math.max(0, e.initialSlide), k), P = T * (_ + e.gap), H = e.sliderOrientation === "vertical" ? m.scrollHeight - m.offsetHeight : m.scrollWidth - m.offsetWidth, K = Math.max(0, Math.min(P, H + 0.5));
575
575
  e.sliderOrientation === "vertical" ? m.scrollTo({ top: K, behavior: "auto" }) : m.scrollTo({ left: K, behavior: "auto" }), t.value = T;
576
576
  };
577
577
  return G(() => {
@@ -588,16 +588,16 @@ const Qe = le("SunIcon", [
588
588
  e.slideDuration = 0, p(b), e.slideDuration = w;
589
589
  });
590
590
  });
591
- }), d({ scrollToSlide: p }), (m, b) => (l(), a("div", mt, [
591
+ }), d({ scrollToSlide: p }), (m, b) => (l(), o("div", mt, [
592
592
  n("div", {
593
593
  ref_key: "carouselContainer",
594
- ref: o,
594
+ ref: a,
595
595
  class: C(["rounded w-full h-full overflow-x-scroll scroll-smooth carousel", [{ "carousel-horizontal md:snap-none": i.sliderOrientation == "horizontal" }, { "carousel-vertical": i.sliderOrientation == "vertical" }]]),
596
596
  style: ce({ gap: `${i.gap}px` })
597
597
  }, [
598
598
  D(m.$slots, "default", {}, void 0, !0)
599
599
  ], 6),
600
- i.showNavigationButtons ? (l(), a("div", ht, [
600
+ i.showNavigationButtons ? (l(), o("div", ht, [
601
601
  n("div", {
602
602
  onClick: A,
603
603
  role: "button",
@@ -623,8 +623,8 @@ const Qe = le("SunIcon", [
623
623
  ], !0)
624
624
  ])
625
625
  ])) : M("", !0),
626
- i.showIndicators ? (l(), a("div", gt, [
627
- (l(!0), a(I, null, V(r.value, (w, _) => (l(), a("button", {
626
+ i.showIndicators ? (l(), o("div", gt, [
627
+ (l(!0), o(I, null, V(r.value, (w, _) => (l(), o("button", {
628
628
  key: `dot-${_}`,
629
629
  onClick: (k) => q(_),
630
630
  class: C(["btn btn-circle btn-xs", { "btn-active": _ === t.value }]),
@@ -635,14 +635,14 @@ const Qe = le("SunIcon", [
635
635
  }
636
636
  }), X = (i, d) => {
637
637
  const e = i.__vccOpts || i;
638
- for (const [t, o] of d)
639
- e[t] = o;
638
+ for (const [t, a] of d)
639
+ e[t] = a;
640
640
  return e;
641
- }, hn = /* @__PURE__ */ X(yt, [["__scopeId", "data-v-db55a6a5"]]), wt = /* @__PURE__ */ P({
641
+ }, hn = /* @__PURE__ */ X(yt, [["__scopeId", "data-v-db55a6a5"]]), wt = /* @__PURE__ */ z({
642
642
  __name: "carouselItem",
643
643
  setup(i) {
644
644
  const d = Ae(ke, $({}));
645
- return (e, t) => (l(), a("div", {
645
+ return (e, t) => (l(), o("div", {
646
646
  class: "w-full h-full carousel-item",
647
647
  style: ce(F(d))
648
648
  }, [
@@ -652,7 +652,7 @@ const Qe = le("SunIcon", [
652
652
  }), gn = /* @__PURE__ */ X(wt, [["__scopeId", "data-v-507384bc"]]), kt = { class: "flex gap-4 bg-base-100 w-full tabs tabs-boxed" }, $t = ["onClick"], _t = { class: "text-sm" }, xt = { class: "md:block hidden opacity-35 text-xs truncate overflow-hidden ..." }, St = { class: "hidden" }, Ct = {
653
653
  id: "advancedSearchMobile",
654
654
  class: "modal"
655
- }, Dt = { class: "modal-box" }, It = { class: "font-bold text-lg" }, Mt = ["checked"], Tt = { class: "flex justify-between items-center pr-4 w-full font-medium text-xl collapse-title" }, Vt = { class: "text-sm" }, Ot = { class: "flex place-content-center p-0 collapse-content" }, Bt = /* @__PURE__ */ P({
655
+ }, Dt = { class: "modal-box" }, It = { class: "font-bold text-lg" }, Mt = ["checked"], Tt = { class: "flex justify-between items-center pr-4 w-full font-medium text-xl collapse-title" }, Vt = { class: "text-sm" }, Ot = { class: "flex place-content-center p-0 collapse-content" }, Bt = /* @__PURE__ */ z({
656
656
  __name: "advancedSearch",
657
657
  props: {
658
658
  searchOptions: {},
@@ -660,20 +660,20 @@ const Qe = le("SunIcon", [
660
660
  },
661
661
  emits: ["search", "update:search-data"],
662
662
  setup(i, { emit: d }) {
663
- const e = i, t = d, o = $(null), s = {
663
+ const e = i, t = d, a = $(null), s = {
664
664
  datetime: Le(() => Promise.resolve().then(() => al))
665
665
  }, r = $({}), g = $({ left: "0px", top: "0px", transform: "translateX(0%)" }), c = $(null);
666
666
  function p(m, b) {
667
667
  var w, _, k;
668
- if ((w = o.value) != null && w.name) {
668
+ if ((w = a.value) != null && w.name) {
669
669
  t("update:search-data", {
670
- tab: o.value.name,
670
+ tab: a.value.name,
671
671
  data: m
672
672
  });
673
673
  return;
674
674
  }
675
675
  if (e.searchOptions) {
676
- let T = (k = (_ = e.searchOptions) == null ? void 0 : _.find((z) => (z == null ? void 0 : z.category) === e.currentCategory)) == null ? void 0 : k.tabs[b];
676
+ let T = (k = (_ = e.searchOptions) == null ? void 0 : _.find((P) => (P == null ? void 0 : P.category) === e.currentCategory)) == null ? void 0 : k.tabs[b];
677
677
  T !== void 0 && (T.value = m, t("update:search-data", {
678
678
  tab: T == null ? void 0 : T.name,
679
679
  data: T == null ? void 0 : T.value
@@ -684,7 +684,7 @@ const Qe = le("SunIcon", [
684
684
  t("search");
685
685
  }
686
686
  async function A(m) {
687
- c.value && !c.value.contains(m.target) && (await ge(), o.value = null);
687
+ c.value && !c.value.contains(m.target) && (await ge(), a.value = null);
688
688
  }
689
689
  async function q() {
690
690
  if (typeof window < "u" && window.innerWidth <= 768) {
@@ -694,7 +694,7 @@ const Qe = le("SunIcon", [
694
694
  }
695
695
  async function f(m) {
696
696
  var w;
697
- o.value = m, await ge();
697
+ a.value = m, await ge();
698
698
  const b = r.value[m.name];
699
699
  if (b) {
700
700
  const _ = b.getBoundingClientRect(), k = ((w = c.value) == null ? void 0 : w.getBoundingClientRect()) || { left: 0, top: 0 };
@@ -717,7 +717,7 @@ const Qe = le("SunIcon", [
717
717
  document.removeEventListener("click", A);
718
718
  }), (m, b) => {
719
719
  var w, _;
720
- return l(), a(I, null, [
720
+ return l(), o(I, null, [
721
721
  n("div", {
722
722
  ref_key: "searchContainer",
723
723
  ref: c,
@@ -728,26 +728,26 @@ const Qe = le("SunIcon", [
728
728
  onClick: q
729
729
  }, [
730
730
  n("div", kt, [
731
- (l(!0), a(I, null, V(((w = e.searchOptions.find((k) => k.category === e.currentCategory)) == null ? void 0 : w.tabs) || [], (k) => {
731
+ (l(!0), o(I, null, V(((w = e.searchOptions.find((k) => k.category === e.currentCategory)) == null ? void 0 : w.tabs) || [], (k) => {
732
732
  var T;
733
- return l(), a("button", {
733
+ return l(), o("button", {
734
734
  key: k.name,
735
- onClick: (z) => f(k),
736
- class: C([{ "tab-active": ((T = o.value) == null ? void 0 : T.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"]),
735
+ onClick: (P) => f(k),
736
+ class: C([{ "tab-active": ((T = a.value) == null ? void 0 : T.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"]),
737
737
  ref_for: !0,
738
- ref: (z) => r.value[k.name] = z
738
+ ref: (P) => r.value[k.name] = P
739
739
  }, [
740
740
  n("p", _t, S(k.name), 1),
741
741
  n("p", xt, S(k.description), 1)
742
742
  ], 10, $t);
743
743
  }), 128))
744
744
  ]),
745
- o.value ? (l(), a("div", {
745
+ a.value ? (l(), o("div", {
746
746
  key: 0,
747
747
  class: "absolute flex shadow-sm mt-4 w-fit max-w-full transition-all tab-content",
748
748
  style: ce(g.value)
749
749
  }, [
750
- (l(), ue(me(s[o.value.type]), he(o.value.props ? o.value.props : null, { onUpdated: p }), null, 16))
750
+ (l(), ue(me(s[a.value.type]), he(a.value.props ? a.value.props : null, { onUpdated: p }), null, 16))
751
751
  ], 4)) : M("", !0),
752
752
  n("button", {
753
753
  title: "search",
@@ -779,7 +779,7 @@ const Qe = le("SunIcon", [
779
779
  D(m.$slots, "additionalForMobile", {}, () => [
780
780
  n("h3", It, S(m.currentCategory), 1)
781
781
  ], !0),
782
- (l(!0), a(I, null, V(((_ = e.searchOptions.find((k) => k.category === e.currentCategory)) == null ? void 0 : _.tabs) || [], (k, T) => (l(), a("div", {
782
+ (l(!0), o(I, null, V(((_ = e.searchOptions.find((k) => k.category === e.currentCategory)) == null ? void 0 : _.tabs) || [], (k, T) => (l(), o("div", {
783
783
  class: "bg-base-200 my-4 collapse",
784
784
  key: k.name
785
785
  }, [
@@ -795,7 +795,7 @@ const Qe = le("SunIcon", [
795
795
  n("div", Ot, [
796
796
  b[1] || (b[1] = n("br", null, null, -1)),
797
797
  (l(), ue(me(s[k.type]), he({ ref_for: !0 }, k.props || {}, {
798
- onUpdated: (z) => p(z, T)
798
+ onUpdated: (P) => p(P, T)
799
799
  }), null, 16, ["onUpdated"]))
800
800
  ])
801
801
  ]))), 128)),
@@ -812,7 +812,7 @@ const Qe = le("SunIcon", [
812
812
  ], 64);
813
813
  };
814
814
  }
815
- }), bn = /* @__PURE__ */ X(Bt, [["__scopeId", "data-v-08fa37eb"]]), Pt = ["placeholder", "value", "id"], zt = { class: "btn btn-ghost" }, At = ["id"], Lt = {
815
+ }), bn = /* @__PURE__ */ X(Bt, [["__scopeId", "data-v-08fa37eb"]]), zt = ["placeholder", "value", "id"], Pt = { class: "btn btn-ghost" }, At = ["id"], Lt = {
816
816
  key: 0,
817
817
  class: "flex justify-between items-center place-content-center mb-4"
818
818
  }, Et = ["value"], Ut = ["value"], jt = {
@@ -872,12 +872,12 @@ const Qe = le("SunIcon", [
872
872
  N(() => e.range, (v) => {
873
873
  v ? (s.value = { start: null, end: null }, r.value = { start: null, end: null }) : (s.value = null, r.value = null);
874
874
  });
875
- const t = d, o = $(!1), s = $(e.range ? { start: null, end: null } : null), r = $(e.range ? { start: null, end: null } : null), g = $((/* @__PURE__ */ new Date()).toLocaleString("default", { month: "long" })), c = $((/* @__PURE__ */ new Date()).getFullYear()), p = $(e.range ? { start: 0, end: 0 } : 0), y = $(e.range ? { start: 0, end: 0 } : 0), A = $(null), q = B(() => `${e.id}-input`), f = B(() => `${e.id}-popup`), m = B(() => e.mode === "date" || e.mode === "datetime"), b = B(() => e.mode === "time" || e.mode === "datetime");
875
+ const t = d, a = $(!1), s = $(e.range ? { start: null, end: null } : null), r = $(e.range ? { start: null, end: null } : null), g = $((/* @__PURE__ */ new Date()).toLocaleString("default", { month: "long" })), c = $((/* @__PURE__ */ new Date()).getFullYear()), p = $(e.range ? { start: 0, end: 0 } : 0), y = $(e.range ? { start: 0, end: 0 } : 0), A = $(null), q = B(() => `${e.id}-input`), f = B(() => `${e.id}-popup`), m = B(() => e.mode === "date" || e.mode === "datetime"), b = B(() => e.mode === "time" || e.mode === "datetime");
876
876
  B(() => new Date(c.value, w.value));
877
877
  const w = B(() => x.indexOf(g.value)), _ = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], k = B(() => new Date(c.value, w.value).getDay()), T = B(() => {
878
878
  const v = new Date(c.value, w.value + 1, 0).getDate();
879
879
  return Array.from({ length: v }, (h, u) => new Date(c.value, w.value, u + 1));
880
- }), z = B(() => Array.from({ length: k.value }, (v, h) => h)), H = Array.from({ length: 24 }, (v, h) => h), K = Array.from({ length: 60 }, (v, h) => h), W = B(
880
+ }), P = B(() => Array.from({ length: k.value }, (v, h) => h)), H = Array.from({ length: 24 }, (v, h) => h), K = Array.from({ length: 60 }, (v, h) => h), W = B(
881
881
  () => typeof navigator < "u" && /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(
882
882
  navigator.userAgent
883
883
  )
@@ -902,9 +902,9 @@ const Qe = le("SunIcon", [
902
902
  }), ne = B(() => {
903
903
  const v = O.value, h = Z.value;
904
904
  return `${v} ${h}`.trim();
905
- }), $e = () => o.value = !o.value, pe = () => {
905
+ }), $e = () => a.value = !a.value, pe = () => {
906
906
  j(), _e();
907
- }, _e = () => o.value = !1, xe = () => {
907
+ }, _e = () => a.value = !1, xe = () => {
908
908
  s.value = e.range ? { start: null, end: null } : null, r.value = e.range ? { start: null, end: null } : null, j();
909
909
  }, Se = (v) => {
910
910
  e.range ? s.value.start && s.value.end ? s.value = { start: v, end: null } : s.value.start ? s.value.end = v : s.value.start = v : s.value = v, j();
@@ -925,7 +925,7 @@ const Qe = le("SunIcon", [
925
925
  let v = w.value + 1;
926
926
  v > 11 && (v = 0, c.value++), g.value = x[v], j();
927
927
  }, ve = (v) => {
928
- A.value && !A.value.contains(v.target) && o.value == !0 && pe();
928
+ A.value && !A.value.contains(v.target) && a.value == !0 && pe();
929
929
  }, j = () => {
930
930
  let v = {};
931
931
  const h = (u, Y, ae) => {
@@ -952,7 +952,7 @@ const Qe = le("SunIcon", [
952
952
  start: new Date(e.initialDate.start),
953
953
  end: new Date(e.initialDate.end)
954
954
  } : e.initialDate.start && (s.value = { start: new Date(e.initialDate.start) })), e.range ? (p.value.start = p.value.start ?? (/* @__PURE__ */ new Date()).getHours(), p.value.end = p.value.end ?? (/* @__PURE__ */ new Date()).getHours(), y.value.start = y.value.start ?? (/* @__PURE__ */ new Date()).getMinutes(), y.value.end = y.value.end ?? (/* @__PURE__ */ new Date()).getMinutes()) : (p.value = p.value ?? (/* @__PURE__ */ new Date()).getHours(), y.value = y.value ?? (/* @__PURE__ */ new Date()).getMinutes());
955
- }), e.popup && G(() => document.addEventListener("click", ve)), we(() => document.removeEventListener("click", ve)), (v, h) => (l(), a("div", {
955
+ }), e.popup && G(() => document.addEventListener("click", ve)), we(() => document.removeEventListener("click", ve)), (v, h) => (l(), o("div", {
956
956
  class: "inline-block relative w-full lg:w-[360px]",
957
957
  ref_key: "pickerContainer",
958
958
  ref: A
@@ -969,18 +969,18 @@ const Qe = le("SunIcon", [
969
969
  value: ne.value,
970
970
  readonly: "",
971
971
  id: q.value
972
- }, null, 8, Pt),
973
- n("button", zt, [
972
+ }, null, 8, zt),
973
+ n("button", Pt, [
974
974
  te(F(Ge))
975
975
  ])
976
976
  ], !0) : M("", !0)
977
977
  ]),
978
- o.value || !i.popup ? (l(), a("div", {
978
+ a.value || !i.popup ? (l(), o("div", {
979
979
  key: 0,
980
980
  class: C(["z-50 lg:bg-base-100 md:mt-2 md:p-4 px-4 rounded-md w-full", [{ absolute: i.popup }]]),
981
981
  id: f.value
982
982
  }, [
983
- m.value ? (l(), a("div", Lt, [
983
+ m.value ? (l(), o("div", Lt, [
984
984
  n("button", {
985
985
  class: "hidden md:block btn-outline btn btn-primary md:btn-sm",
986
986
  onClick: Ve
@@ -1005,7 +1005,7 @@ const Qe = le("SunIcon", [
1005
1005
  "onUpdate:modelValue": h[0] || (h[0] = (u) => g.value = u),
1006
1006
  onChange: j
1007
1007
  }, [
1008
- (l(), a(I, null, V(x, (u, Y) => n("option", {
1008
+ (l(), o(I, null, V(x, (u, Y) => n("option", {
1009
1009
  key: Y,
1010
1010
  value: u
1011
1011
  }, S(u), 9, Et)), 64))
@@ -1017,7 +1017,7 @@ const Qe = le("SunIcon", [
1017
1017
  "onUpdate:modelValue": h[1] || (h[1] = (u) => c.value = u),
1018
1018
  onChange: j
1019
1019
  }, [
1020
- (l(!0), a(I, null, V(U.value, (u) => (l(), a("option", {
1020
+ (l(!0), o(I, null, V(U.value, (u) => (l(), o("option", {
1021
1021
  key: u,
1022
1022
  value: u
1023
1023
  }, S(u), 9, Ut))), 128))
@@ -1044,16 +1044,16 @@ const Qe = le("SunIcon", [
1044
1044
  ], -1)
1045
1045
  ]))
1046
1046
  ])) : M("", !0),
1047
- m.value ? (l(), a("div", jt, [
1048
- (l(), a(I, null, V(_, (u) => n("div", {
1047
+ m.value ? (l(), o("div", jt, [
1048
+ (l(), o(I, null, V(_, (u) => n("div", {
1049
1049
  key: u,
1050
1050
  class: "text-center"
1051
1051
  }, S(u), 1)), 64)),
1052
- (l(!0), a(I, null, V(z.value, (u) => (l(), a("div", {
1052
+ (l(!0), o(I, null, V(P.value, (u) => (l(), o("div", {
1053
1053
  key: u,
1054
1054
  class: "text-center"
1055
1055
  }))), 128)),
1056
- (l(!0), a(I, null, V(T.value, (u) => (l(), a("div", {
1056
+ (l(!0), o(I, null, V(T.value, (u) => (l(), o("div", {
1057
1057
  key: u,
1058
1058
  class: C(["hover:bg-primary-10 py-1 rounded-full text-center cursor-pointer", {
1059
1059
  "bg-primary text-primary-content": Ce(u),
@@ -1065,12 +1065,12 @@ const Qe = le("SunIcon", [
1065
1065
  onClick: (Y) => Se(u)
1066
1066
  }, S(u.getDate()), 11, Rt))), 128))
1067
1067
  ])) : M("", !0),
1068
- b.value ? (l(), a("div", Ft, [
1069
- e.range ? M("", !0) : (l(), a("h3", Nt, "Select Time")),
1070
- e.range ? (l(), a("div", Yt, [
1068
+ b.value ? (l(), o("div", Ft, [
1069
+ e.range ? M("", !0) : (l(), o("h3", Nt, "Select Time")),
1070
+ e.range ? (l(), o("div", Yt, [
1071
1071
  n("div", null, [
1072
1072
  h[13] || (h[13] = n("p", { class: "font-bold" }, "Start Time", -1)),
1073
- W.value ? R((l(), a("input", {
1073
+ W.value ? R((l(), o("input", {
1074
1074
  key: 0,
1075
1075
  type: "time",
1076
1076
  class: "input-bordered w-full input",
@@ -1078,13 +1078,13 @@ const Qe = le("SunIcon", [
1078
1078
  onChange: j
1079
1079
  }, null, 544)), [
1080
1080
  [ee, r.value.start]
1081
- ]) : (l(), a("div", Jt, [
1081
+ ]) : (l(), o("div", Jt, [
1082
1082
  R(n("select", {
1083
1083
  class: "w-full select-bordered select",
1084
1084
  "onUpdate:modelValue": h[6] || (h[6] = (u) => p.value.start = u),
1085
1085
  onChange: j
1086
1086
  }, [
1087
- (l(!0), a(I, null, V(F(H), (u) => (l(), a("option", {
1087
+ (l(!0), o(I, null, V(F(H), (u) => (l(), o("option", {
1088
1088
  key: u,
1089
1089
  value: u
1090
1090
  }, S(u.toString().padStart(2, "0")), 9, Gt))), 128))
@@ -1101,7 +1101,7 @@ const Qe = le("SunIcon", [
1101
1101
  "onUpdate:modelValue": h[7] || (h[7] = (u) => y.value.start = u),
1102
1102
  onChange: j
1103
1103
  }, [
1104
- (l(!0), a(I, null, V(F(K), (u) => (l(), a("option", {
1104
+ (l(!0), o(I, null, V(F(K), (u) => (l(), o("option", {
1105
1105
  key: u,
1106
1106
  value: u
1107
1107
  }, S(u.toString().padStart(2, "0")), 9, Xt))), 128))
@@ -1117,7 +1117,7 @@ const Qe = le("SunIcon", [
1117
1117
  ]),
1118
1118
  n("div", null, [
1119
1119
  h[14] || (h[14] = n("p", { class: "font-bold" }, "End Time", -1)),
1120
- W.value ? R((l(), a("input", {
1120
+ W.value ? R((l(), o("input", {
1121
1121
  key: 0,
1122
1122
  type: "time",
1123
1123
  class: "input-bordered w-full input",
@@ -1125,13 +1125,13 @@ const Qe = le("SunIcon", [
1125
1125
  onChange: j
1126
1126
  }, null, 544)), [
1127
1127
  [ee, r.value.end]
1128
- ]) : (l(), a("div", Zt, [
1128
+ ]) : (l(), o("div", Zt, [
1129
1129
  R(n("select", {
1130
1130
  class: "w-full select-bordered select",
1131
1131
  "onUpdate:modelValue": h[9] || (h[9] = (u) => p.value.end = u),
1132
1132
  onChange: j
1133
1133
  }, [
1134
- (l(!0), a(I, null, V(F(H), (u) => (l(), a("option", {
1134
+ (l(!0), o(I, null, V(F(H), (u) => (l(), o("option", {
1135
1135
  key: u,
1136
1136
  value: u
1137
1137
  }, S(u.toString().padStart(2, "0")), 9, Qt))), 128))
@@ -1148,7 +1148,7 @@ const Qe = le("SunIcon", [
1148
1148
  "onUpdate:modelValue": h[10] || (h[10] = (u) => y.value.end = u),
1149
1149
  onChange: j
1150
1150
  }, [
1151
- (l(!0), a(I, null, V(F(K), (u) => (l(), a("option", {
1151
+ (l(!0), o(I, null, V(F(K), (u) => (l(), o("option", {
1152
1152
  key: u,
1153
1153
  value: u
1154
1154
  }, S(u.toString().padStart(2, "0")), 9, el))), 128))
@@ -1162,8 +1162,8 @@ const Qe = le("SunIcon", [
1162
1162
  ])
1163
1163
  ]))
1164
1164
  ])
1165
- ])) : (l(), a("div", qt, [
1166
- W.value ? R((l(), a("input", {
1165
+ ])) : (l(), o("div", qt, [
1166
+ W.value ? R((l(), o("input", {
1167
1167
  key: 0,
1168
1168
  type: "time",
1169
1169
  class: "input-bordered w-full input",
@@ -1171,13 +1171,13 @@ const Qe = le("SunIcon", [
1171
1171
  onChange: j
1172
1172
  }, null, 544)), [
1173
1173
  [ee, r.value]
1174
- ]) : (l(), a("div", Ht, [
1174
+ ]) : (l(), o("div", Ht, [
1175
1175
  R(n("select", {
1176
1176
  class: "w-full select-bordered select",
1177
1177
  "onUpdate:modelValue": h[3] || (h[3] = (u) => p.value = u),
1178
1178
  onChange: j
1179
1179
  }, [
1180
- (l(!0), a(I, null, V(F(H), (u) => (l(), a("option", {
1180
+ (l(!0), o(I, null, V(F(H), (u) => (l(), o("option", {
1181
1181
  key: u,
1182
1182
  value: u
1183
1183
  }, S(u.toString().padStart(2, "0")), 9, Wt))), 128))
@@ -1194,7 +1194,7 @@ const Qe = le("SunIcon", [
1194
1194
  "onUpdate:modelValue": h[4] || (h[4] = (u) => y.value = u),
1195
1195
  onChange: j
1196
1196
  }, [
1197
- (l(!0), a(I, null, V(F(K), (u) => (l(), a("option", {
1197
+ (l(!0), o(I, null, V(F(K), (u) => (l(), o("option", {
1198
1198
  key: u,
1199
1199
  value: u
1200
1200
  }, S(u.toString().padStart(2, "0")), 9, Kt))), 128))
@@ -1214,7 +1214,7 @@ const Qe = le("SunIcon", [
1214
1214
  class: C(["btn btn-secondary", i.popup ? "w-fit" : "w-full"]),
1215
1215
  onClick: xe
1216
1216
  }, "Clear", 2),
1217
- i.popup ? (l(), a("button", {
1217
+ i.popup ? (l(), o("button", {
1218
1218
  key: 0,
1219
1219
  class: "btn btn-primary btn-wide",
1220
1220
  onClick: pe
@@ -1226,50 +1226,65 @@ const Qe = le("SunIcon", [
1226
1226
  }, nl = /* @__PURE__ */ X(ll, [["__scopeId", "data-v-488ecabe"]]), al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1227
1227
  __proto__: null,
1228
1228
  default: nl
1229
- }, Symbol.toStringTag, { value: "Module" })), ol = ["value", "checked", "onChange", "disabled"], yn = /* @__PURE__ */ P({
1229
+ }, Symbol.toStringTag, { value: "Module" })), ol = ["value", "checked", "onChange", "disabled"], yn = /* @__PURE__ */ z({
1230
1230
  __name: "rating",
1231
1231
  props: {
1232
1232
  initialRating: { default: 0 },
1233
1233
  numberOfStars: { default: 5 },
1234
1234
  halfStars: { type: Boolean, default: !0 },
1235
1235
  isInteractive: { type: Boolean, default: !1 },
1236
- size: { default: "sm" }
1236
+ size: { default: "sm" },
1237
+ shape: { default: "star" },
1238
+ color: { default: "bg-yellow-400" }
1237
1239
  },
1238
1240
  setup(i) {
1239
1241
  const d = i, e = $(d.initialRating);
1240
1242
  N(
1241
1243
  () => d.initialRating,
1242
- (o) => {
1243
- e.value = o;
1244
+ (a) => {
1245
+ e.value = a;
1244
1246
  }
1245
1247
  );
1246
- const t = (o) => {
1247
- e.value = o;
1248
+ const t = (a) => {
1249
+ e.value = a;
1248
1250
  };
1249
- return (o, s) => (l(), a("div", {
1250
- class: C(["rating", [
1251
- `rating-${d.size}`,
1252
- { "rating-half": o.halfStars }
1253
- ]])
1251
+ return (a, s) => (l(), o("div", {
1252
+ class: C(["rating", [`rating-${d.size}`, { "rating-half": a.halfStars }]])
1254
1253
  }, [
1255
- (l(!0), a(I, null, V(o.numberOfStars * (o.halfStars ? 2 : 1), (r) => (l(), a("input", {
1254
+ (l(!0), o(I, null, V(a.numberOfStars * (a.halfStars ? 2 : 1), (r) => (l(), o("input", {
1256
1255
  key: r,
1257
1256
  type: "radio",
1258
- value: o.halfStars ? r * 0.5 : r,
1259
- checked: e.value === (o.halfStars ? r * 0.5 : r),
1260
- onChange: (g) => o.isInteractive ? t(o.halfStars ? r * 0.5 : r) : null,
1261
- class: C(["mask mask-star", {
1262
- "bg-yellow-400": e.value >= (o.halfStars ? r * 0.5 : r),
1263
- "mask-half-1": o.halfStars && r % 2 !== 0,
1264
- "mask-half-2": o.halfStars && r % 2 === 0,
1265
- "cursor-pointer": o.isInteractive,
1266
- "cursor-default": !o.isInteractive
1267
- }]),
1268
- disabled: !o.isInteractive
1257
+ value: a.halfStars ? r * 0.5 : r,
1258
+ checked: e.value === (a.halfStars ? r * 0.5 : r),
1259
+ onChange: (g) => a.isInteractive ? t(a.halfStars ? r * 0.5 : r) : null,
1260
+ class: C(["mask", [
1261
+ {
1262
+ // 'bg-yellow-400': rating >= (halfStars ? i * 0.5 : i),
1263
+ "mask-half-1": a.halfStars && r % 2 !== 0,
1264
+ "mask-half-2": a.halfStars && r % 2 === 0,
1265
+ "cursor-pointer": a.isInteractive,
1266
+ "cursor-default": !a.isInteractive,
1267
+ "mask-star": a.shape === "star",
1268
+ "mask-star-2": a.shape === "star-bold",
1269
+ "mask-heart": a.shape === "heart",
1270
+ "mask-hexagon": a.shape === "hexagon-vertical",
1271
+ "mask-hexagon-2": a.shape === "hexagon-horizontal",
1272
+ "mask-decagon": a.shape === "decagon",
1273
+ "mask-pentagon": a.shape === "pentagon",
1274
+ "mask-diamond": a.shape === "diamond",
1275
+ "mask-square": a.shape === "square",
1276
+ "mask-triangle": a.shape === "triangle-top",
1277
+ "mask-triangle-2": a.shape === "triangle-bottom",
1278
+ "mask-triangle-3": a.shape === "triangle-left",
1279
+ "mask-triangle-4": a.shape === "triangle-right"
1280
+ },
1281
+ e.value >= (a.halfStars ? r * 0.5 : r) ? d.color : ""
1282
+ ]]),
1283
+ disabled: !a.isInteractive
1269
1284
  }, null, 42, ol))), 128))
1270
1285
  ], 2));
1271
1286
  }
1272
- }), sl = { class: "badge" }, rl = ["onClick"], il = { class: "opacity-75" }, ul = ["placeholder"], wn = /* @__PURE__ */ P({
1287
+ }), sl = { class: "badge" }, rl = ["onClick"], il = { class: "opacity-75" }, ul = ["placeholder"], wn = /* @__PURE__ */ z({
1273
1288
  __name: "taginput",
1274
1289
  props: {
1275
1290
  modelValue: {},
@@ -1279,22 +1294,22 @@ const Qe = le("SunIcon", [
1279
1294
  },
1280
1295
  emits: ["update:modelValue"],
1281
1296
  setup(i, { emit: d }) {
1282
- const e = i, t = d, o = $([...e.modelValue]), s = e.maxTagAmount === void 0 ? -1 : e.maxTagAmount, r = $(null), g = $(""), c = B(() => s < 0 || o.value.length < s), p = () => {
1297
+ const e = i, t = d, a = $([...e.modelValue]), s = e.maxTagAmount === void 0 ? -1 : e.maxTagAmount, r = $(null), g = $(""), c = B(() => s < 0 || a.value.length < s), p = () => {
1283
1298
  const f = g.value.trim();
1284
- f && !o.value.includes(f) && (o.value.push(f), t("update:modelValue", o.value), g.value = "");
1299
+ f && !a.value.includes(f) && (a.value.push(f), t("update:modelValue", a.value), g.value = "");
1285
1300
  }, y = (f) => {
1286
- o.value = o.value.filter((m) => m !== f), t("update:modelValue", o.value);
1301
+ a.value = a.value.filter((m) => m !== f), t("update:modelValue", a.value);
1287
1302
  }, A = () => {
1288
- g.value === "" && (o.value.pop(), t("update:modelValue", o.value));
1303
+ g.value === "" && (a.value.pop(), t("update:modelValue", a.value));
1289
1304
  }, q = (f) => {
1290
1305
  f.key === "Enter" ? p() : f.key === "Backspace" && g.value === "" && A();
1291
1306
  };
1292
1307
  return N(() => e.modelValue, (f) => {
1293
- o.value = [...f];
1294
- }), (f, m) => (l(), a("div", {
1308
+ a.value = [...f];
1309
+ }), (f, m) => (l(), o("div", {
1295
1310
  class: C(["flex flex-wrap gap-2 bg-base-100 shadow px-4 py-6 border border-base-content/20 rounded", f.$props.class])
1296
1311
  }, [
1297
- (l(!0), a(I, null, V(o.value, (b) => D(f.$slots, "tag", {
1312
+ (l(!0), o(I, null, V(a.value, (b) => D(f.$slots, "tag", {
1298
1313
  key: b,
1299
1314
  tag: b
1300
1315
  }, () => [
@@ -1308,7 +1323,7 @@ const Qe = le("SunIcon", [
1308
1323
  ])
1309
1324
  ])), 128)),
1310
1325
  D(f.$slots, "input", { showInput: c.value }, () => [
1311
- c.value ? R((l(), a("input", {
1326
+ c.value ? R((l(), o("input", {
1312
1327
  key: 0,
1313
1328
  ref_key: "inputRef",
1314
1329
  ref: r,
@@ -1332,7 +1347,7 @@ const Qe = le("SunIcon", [
1332
1347
  value: "",
1333
1348
  disabled: "",
1334
1349
  selected: ""
1335
- }, ml = ["value"], kn = /* @__PURE__ */ P({
1350
+ }, ml = ["value"], kn = /* @__PURE__ */ z({
1336
1351
  __name: "select",
1337
1352
  props: {
1338
1353
  options: {},
@@ -1343,9 +1358,9 @@ const Qe = le("SunIcon", [
1343
1358
  emits: ["update:modelValue"],
1344
1359
  setup(i, { expose: d, emit: e }) {
1345
1360
  console.log(i.placeholder);
1346
- const o = e, s = $(null), r = (c) => {
1361
+ const a = e, s = $(null), r = (c) => {
1347
1362
  const p = c.target;
1348
- o("update:modelValue", p.value);
1363
+ a("update:modelValue", p.value);
1349
1364
  };
1350
1365
  return d({
1351
1366
  focusInput: () => {
@@ -1354,8 +1369,8 @@ const Qe = le("SunIcon", [
1354
1369
  }
1355
1370
  // You can expose other properties or methods here if needed by the parent
1356
1371
  // e.g., the current value: modelValue
1357
- }), (c, p) => (l(), a("div", dl, [
1358
- c.label ? (l(), a("label", cl, [
1372
+ }), (c, p) => (l(), o("div", dl, [
1373
+ c.label ? (l(), o("label", cl, [
1359
1374
  n("span", pl, S(c.label), 1)
1360
1375
  ])) : M("", !0),
1361
1376
  n("select", {
@@ -1365,8 +1380,8 @@ const Qe = le("SunIcon", [
1365
1380
  value: c.modelValue,
1366
1381
  onChange: r
1367
1382
  }, [
1368
- c.placeholder ? (l(), a("option", fl, S(c.placeholder), 1)) : M("", !0),
1369
- (l(!0), a(I, null, V(c.options, (y) => (l(), a("option", {
1383
+ c.placeholder ? (l(), o("option", fl, S(c.placeholder), 1)) : M("", !0),
1384
+ (l(!0), o(I, null, V(c.options, (y) => (l(), o("option", {
1370
1385
  key: y.value,
1371
1386
  value: y.value
1372
1387
  }, S(y.text), 9, ml))), 128))
@@ -1406,7 +1421,7 @@ const Qe = le("SunIcon", [
1406
1421
  },
1407
1422
  emits: ["update:modelValue", "select"],
1408
1423
  setup(i, { expose: d, emit: e }) {
1409
- const t = i, o = e, s = Ee(), r = B(() => {
1424
+ const t = i, a = e, s = Ee(), r = B(() => {
1410
1425
  const U = (s.default ? s.default() : []).filter((O) => O.type !== Ue);
1411
1426
  return console.log("hasDefaultSlotContent computed:", U.length > 0), U.length > 0;
1412
1427
  }), g = $(""), c = $(null), p = $(!1), y = $(null), A = $(null), q = $(null), f = $(null), m = () => {
@@ -1448,10 +1463,10 @@ const Qe = le("SunIcon", [
1448
1463
  }), ie(() => {
1449
1464
  document.removeEventListener("click", k), window.removeEventListener("keydown", W);
1450
1465
  });
1451
- const z = (x) => {
1452
- c.value = x, r.value || (g.value = x.text), o("update:modelValue", x.value), o("select", x);
1466
+ const P = (x) => {
1467
+ c.value = x, r.value || (g.value = x.text), a("update:modelValue", x.value), a("select", x);
1453
1468
  }, H = () => {
1454
- _.value.length > 0 && z(_.value[0]);
1469
+ _.value.length > 0 && P(_.value[0]);
1455
1470
  }, K = () => {
1456
1471
  p.value || m();
1457
1472
  }, W = (x) => {
@@ -1469,7 +1484,7 @@ const Qe = le("SunIcon", [
1469
1484
  const L = _.value.find(
1470
1485
  (E, Z) => "option-" + Z === f.value
1471
1486
  );
1472
- L && z(L);
1487
+ L && P(L);
1473
1488
  return;
1474
1489
  } else if (x.key === "Escape") {
1475
1490
  x.preventDefault(), b(), q.value && q.value.focus();
@@ -1499,18 +1514,18 @@ const Qe = le("SunIcon", [
1499
1514
  // Expose method to close
1500
1515
  toggleDropdown: w,
1501
1516
  // Expose method to toggle
1502
- selectItem: z,
1517
+ selectItem: P,
1503
1518
  // Expose method to select an item programmatically
1504
1519
  filterText: g,
1505
1520
  // Expose filter text (useful if parent controls filtering)
1506
1521
  hasDefaultSlotContent: r
1507
1522
  // Expose to know if the default slot is used
1508
- }), (x, U) => (l(), a("div", {
1523
+ }), (x, U) => (l(), o("div", {
1509
1524
  class: "relative w-full max-w-xs form-control",
1510
1525
  ref_key: "componentRoot",
1511
1526
  ref: A
1512
1527
  }, [
1513
- i.label ? (l(), a("label", hl, [
1528
+ i.label ? (l(), o("label", hl, [
1514
1529
  n("span", gl, S(i.label), 1)
1515
1530
  ])) : M("", !0),
1516
1531
  n("div", {
@@ -1531,7 +1546,7 @@ const Qe = le("SunIcon", [
1531
1546
  ref: q
1532
1547
  }, [
1533
1548
  D(x.$slots, "default", {}, () => [
1534
- r.value ? M("", !0) : R((l(), a("input", {
1549
+ r.value ? M("", !0) : R((l(), o("input", {
1535
1550
  key: 0,
1536
1551
  type: "text",
1537
1552
  placeholder: i.placeholder,
@@ -1554,9 +1569,9 @@ const Qe = le("SunIcon", [
1554
1569
  ], 42, bl),
1555
1570
  R(n("div", wl, [
1556
1571
  n("ul", kl, [
1557
- (l(!0), a(I, null, V(_.value, (O, L) => (l(), a("li", {
1572
+ (l(!0), o(I, null, V(_.value, (O, L) => (l(), o("li", {
1558
1573
  key: O.value,
1559
- onMousedown: se((E) => z(O), ["prevent"]),
1574
+ onMousedown: se((E) => P(O), ["prevent"]),
1560
1575
  class: "hover:bg-base-200 rounded-md w-full cursor-pointer",
1561
1576
  id: "option-" + L,
1562
1577
  role: "option",
@@ -1579,7 +1594,7 @@ const Qe = le("SunIcon", [
1579
1594
  }, Il = { class: "label-text-alt text-error validator-hint" }, Ml = {
1580
1595
  key: 2,
1581
1596
  class: "label"
1582
- }, Tl = { class: "label-text-alt text-success validator-hint" }, _n = /* @__PURE__ */ P({
1597
+ }, Tl = { class: "label-text-alt text-success validator-hint" }, _n = /* @__PURE__ */ z({
1583
1598
  __name: "inputField",
1584
1599
  props: {
1585
1600
  modelValue: { default: "" },
@@ -1594,14 +1609,14 @@ const Qe = le("SunIcon", [
1594
1609
  },
1595
1610
  emits: ["update:modelValue", "validate"],
1596
1611
  setup(i, { expose: d, emit: e }) {
1597
- const t = i, o = e, s = $(null), r = $(!1), g = $(""), c = B(() => {
1612
+ const t = i, a = e, s = $(null), r = $(!1), g = $(""), c = B(() => {
1598
1613
  var w, _, k, T;
1599
1614
  let f = !0, m = "";
1600
1615
  const b = t.modelValue;
1601
- return (w = t.rules) != null && w.required && (b == null || b === "") && (f = !1, m = "This field is required."), f && ((_ = t.rules) == null ? void 0 : _.minLength) !== void 0 && typeof b == "string" && b.length < t.rules.minLength && (f = !1, m = `Must be at least ${t.rules.minLength} characters.`), f && ((k = t.rules) == null ? void 0 : k.maxLength) !== void 0 && typeof b == "string" && b.length > t.rules.maxLength && (f = !1, m = `Cannot exceed ${t.rules.maxLength} characters.`), f && ((T = t.rules) != null && T.email) && typeof b == "string" && b && (/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(b) || (f = !1, m = "Please enter a valid email address.")), g.value = m, o("validate", f), f;
1616
+ return (w = t.rules) != null && w.required && (b == null || b === "") && (f = !1, m = "This field is required."), f && ((_ = t.rules) == null ? void 0 : _.minLength) !== void 0 && typeof b == "string" && b.length < t.rules.minLength && (f = !1, m = `Must be at least ${t.rules.minLength} characters.`), f && ((k = t.rules) == null ? void 0 : k.maxLength) !== void 0 && typeof b == "string" && b.length > t.rules.maxLength && (f = !1, m = `Cannot exceed ${t.rules.maxLength} characters.`), f && ((T = t.rules) != null && T.email) && typeof b == "string" && b && (/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(b) || (f = !1, m = "Please enter a valid email address.")), g.value = m, a("validate", f), f;
1602
1617
  }), p = B(() => r.value && !c.value), y = (f) => {
1603
1618
  const m = f.target;
1604
- o("update:modelValue", m.value), r.value && c.value;
1619
+ a("update:modelValue", m.value), r.value && c.value;
1605
1620
  }, A = () => {
1606
1621
  r.value = !0, c.value;
1607
1622
  };
@@ -1618,8 +1633,8 @@ const Qe = le("SunIcon", [
1618
1633
  isValid: c,
1619
1634
  isTouched: r,
1620
1635
  errorMessage: g
1621
- }), (f, m) => (l(), a("div", _l, [
1622
- f.label ? (l(), a("label", xl, [
1636
+ }), (f, m) => (l(), o("div", _l, [
1637
+ f.label ? (l(), o("label", xl, [
1623
1638
  n("span", Sl, S(f.label), 1)
1624
1639
  ])) : M("", !0),
1625
1640
  n("input", {
@@ -1656,14 +1671,14 @@ const Qe = le("SunIcon", [
1656
1671
  onInput: y,
1657
1672
  onBlur: A
1658
1673
  }, null, 42, Cl),
1659
- p.value ? (l(), a("div", Dl, [
1674
+ p.value ? (l(), o("div", Dl, [
1660
1675
  n("span", Il, S(g.value), 1)
1661
- ])) : c.value && r.value && f.successMessage ? (l(), a("div", Ml, [
1676
+ ])) : c.value && r.value && f.successMessage ? (l(), o("div", Ml, [
1662
1677
  n("span", Tl, S(f.successMessage), 1)
1663
1678
  ])) : M("", !0)
1664
1679
  ]));
1665
1680
  }
1666
- }), xn = /* @__PURE__ */ P({
1681
+ }), xn = /* @__PURE__ */ z({
1667
1682
  __name: "loader",
1668
1683
  props: {
1669
1684
  loading: { type: Boolean, default: !0 },
@@ -1678,7 +1693,7 @@ const Qe = le("SunIcon", [
1678
1693
  (t) => {
1679
1694
  e.value = t;
1680
1695
  }
1681
- ), (t, o) => e.value ? (l(), a("span", {
1696
+ ), (t, a) => e.value ? (l(), o("span", {
1682
1697
  key: 0,
1683
1698
  class: C(["loading", [
1684
1699
  { "loading-xs": t.size === "xs" },
@@ -1705,13 +1720,13 @@ const Qe = le("SunIcon", [
1705
1720
  ]])
1706
1721
  }, null, 2)) : M("", !0);
1707
1722
  }
1708
- }), Vl = { class: "footer sm:footer-horizontal container" }, Ol = { class: "footer-title" }, Bl = ["href"], Pl = {
1723
+ }), Vl = { class: "footer sm:footer-horizontal container" }, Ol = { class: "footer-title" }, Bl = ["href"], zl = {
1709
1724
  key: 0,
1710
1725
  class: "sm:hidden w-full"
1711
- }, zl = { class: "border-b-2 border-base-100 last:border-b-0 w-full" }, Al = {
1726
+ }, Pl = { class: "border-b-2 border-base-100 last:border-b-0 w-full" }, Al = {
1712
1727
  tabindex: "0",
1713
1728
  class: "collapse collapse-plus w-full"
1714
- }, Ll = { class: "collapse-title font-bold text-lg collapsible-footer-title" }, El = { class: "collapse-content flex w-full text-sm" }, Ul = { class: "flex flex-col gap-2.5" }, jl = { class: "w-full" }, Rl = ["href"], Fl = { class: "w-full" }, Sn = /* @__PURE__ */ P({
1729
+ }, Ll = { class: "collapse-title font-bold text-lg collapsible-footer-title" }, El = { class: "collapse-content flex w-full text-sm" }, Ul = { class: "flex flex-col gap-2.5" }, jl = { class: "w-full" }, Rl = ["href"], Fl = { class: "w-full" }, Sn = /* @__PURE__ */ z({
1715
1730
  __name: "footer",
1716
1731
  props: {
1717
1732
  items: {},
@@ -1721,26 +1736,26 @@ const Qe = le("SunIcon", [
1721
1736
  },
1722
1737
  setup(i) {
1723
1738
  const d = i;
1724
- return (e, t) => (l(), a("div", {
1739
+ return (e, t) => (l(), o("div", {
1725
1740
  class: C(["mx-auto md:px-10 py-10 text-base-content", [e.background ?? "bg-base-200", e.color ?? "text-base-content"]])
1726
1741
  }, [
1727
1742
  n("footer", Vl, [
1728
- (l(!0), a(I, null, V(d.items, (o) => (l(), a("nav", {
1743
+ (l(!0), o(I, null, V(d.items, (a) => (l(), o("nav", {
1729
1744
  class: C([{ "hidden sm:grid": e.collapseOnMobile }])
1730
1745
  }, [
1731
- n("h6", Ol, S(o.title), 1),
1732
- (l(!0), a(I, null, V(o.items, (s) => (l(), a("a", {
1746
+ n("h6", Ol, S(a.title), 1),
1747
+ (l(!0), o(I, null, V(a.items, (s) => (l(), o("a", {
1733
1748
  class: "link link-hover",
1734
1749
  href: s.link
1735
1750
  }, S(s.text), 9, Bl))), 256))
1736
1751
  ], 2))), 256)),
1737
- e.collapseOnMobile ? (l(), a("nav", Pl, [
1738
- (l(!0), a(I, null, V(d.items, (o) => (l(), a("ul", zl, [
1752
+ e.collapseOnMobile ? (l(), o("nav", zl, [
1753
+ (l(!0), o(I, null, V(d.items, (a) => (l(), o("ul", Pl, [
1739
1754
  n("div", Al, [
1740
- n("div", Ll, S(o.title), 1),
1755
+ n("div", Ll, S(a.title), 1),
1741
1756
  n("div", El, [
1742
1757
  n("ul", Ul, [
1743
- (l(!0), a(I, null, V(o.items, (s) => (l(), a("li", jl, [
1758
+ (l(!0), o(I, null, V(a.items, (s) => (l(), o("li", jl, [
1744
1759
  n("a", {
1745
1760
  class: "w-full font-medium link link-hover",
1746
1761
  href: s.link
@@ -1759,7 +1774,7 @@ const Qe = le("SunIcon", [
1759
1774
  }
1760
1775
  }), Nl = {}, ql = { class: "min-h-40 container hero" }, Hl = { class: "px-0! text-center hero-content" }, Wl = { class: "mt-9 text-4xl" };
1761
1776
  function Kl(i, d) {
1762
- return l(), a("div", ql, [
1777
+ return l(), o("div", ql, [
1763
1778
  n("div", Hl, [
1764
1779
  n("div", null, [
1765
1780
  n("h1", Wl, [
@@ -1777,7 +1792,7 @@ function Kl(i, d) {
1777
1792
  ])
1778
1793
  ]);
1779
1794
  }
1780
- const Cn = /* @__PURE__ */ X(Nl, [["render", Kl]]), Yl = { class: "flex flex-row place-content-center gap-4 categories" }, Jl = ["onClick"], Dn = /* @__PURE__ */ P({
1795
+ const Cn = /* @__PURE__ */ X(Nl, [["render", Kl]]), Yl = { class: "flex flex-row place-content-center gap-4 categories" }, Jl = ["onClick"], Dn = /* @__PURE__ */ z({
1781
1796
  __name: "categoryNavigation",
1782
1797
  props: {
1783
1798
  searchOptions: {},
@@ -1786,28 +1801,28 @@ const Cn = /* @__PURE__ */ X(Nl, [["render", Kl]]), Yl = { class: "flex flex-row
1786
1801
  emits: ["update:currentCategory"],
1787
1802
  setup(i, { emit: d }) {
1788
1803
  const e = i, t = d;
1789
- function o(s) {
1804
+ function a(s) {
1790
1805
  t("update:currentCategory", s);
1791
1806
  }
1792
- return (s, r) => (l(), a("div", Yl, [
1793
- (l(!0), a(I, null, V(e.searchOptions, (g) => (l(), a("div", {
1807
+ return (s, r) => (l(), o("div", Yl, [
1808
+ (l(!0), o(I, null, V(e.searchOptions, (g) => (l(), o("div", {
1794
1809
  key: g.category
1795
1810
  }, [
1796
1811
  n("button", {
1797
- onClick: (c) => o(g.category),
1812
+ onClick: (c) => a(g.category),
1798
1813
  class: C(["truncate btn btn-ghost", { "font-semibold": e.currentCategory === g.category }])
1799
1814
  }, S(g.category), 11, Jl)
1800
1815
  ]))), 128))
1801
1816
  ]));
1802
1817
  }
1803
- }), Gl = { class: "md:flex hidden navbar-start" }, Xl = { class: "md:flex justify-center items-center hidden navbar-center" }, Zl = { class: "md:flex hidden navbar-end" }, Ql = { class: "navbar-bottom md:flex hidden" }, en = /* @__PURE__ */ P({
1818
+ }), Gl = { class: "md:flex hidden navbar-start" }, Xl = { class: "md:flex justify-center items-center hidden navbar-center" }, Zl = { class: "md:flex hidden navbar-end" }, Ql = { class: "navbar-bottom md:flex hidden" }, en = /* @__PURE__ */ z({
1804
1819
  __name: "navigationBar",
1805
1820
  props: {
1806
1821
  isCollapsed: { type: Boolean, default: !0 }
1807
1822
  },
1808
1823
  setup(i) {
1809
1824
  const d = i;
1810
- return (e, t) => (l(), a("nav", {
1825
+ return (e, t) => (l(), o("nav", {
1811
1826
  class: C(["place-items-start border-primary bg-base-100 px-5 py-5 border-b-4 transition-all navbar navigationbar", d.isCollapsed ? "collapsed" : ""])
1812
1827
  }, [
1813
1828
  n("div", Gl, [
@@ -1831,7 +1846,7 @@ const Cn = /* @__PURE__ */ X(Nl, [["render", Kl]]), Yl = { class: "flex flex-row
1831
1846
  key: 0,
1832
1847
  role: "tabpanel",
1833
1848
  class: "p-6 border-x-0 border-t-2 border-b-0 border-base-300 max-w-full overflow-x-auto tab-content"
1834
- }, an = { class: "p-6 border-x-0 border-t-2 border-b-0 border-base-300 max-w-full" }, Mn = /* @__PURE__ */ P({
1849
+ }, an = { class: "p-6 border-x-0 border-t-2 border-b-0 border-base-300 max-w-full" }, Mn = /* @__PURE__ */ z({
1835
1850
  __name: "tab",
1836
1851
  props: {
1837
1852
  items: {},
@@ -1841,9 +1856,9 @@ const Cn = /* @__PURE__ */ X(Nl, [["render", Kl]]), Yl = { class: "flex flex-row
1841
1856
  },
1842
1857
  emits: ["tab-changed"],
1843
1858
  setup(i, { emit: d }) {
1844
- const e = i, t = $(e.items[0]), o = d;
1859
+ const e = i, t = $(e.items[0]), a = d;
1845
1860
  function s(c) {
1846
- t.value = c, o("tab-changed", c);
1861
+ t.value = c, a("tab-changed", c);
1847
1862
  }
1848
1863
  function r() {
1849
1864
  const p = (e.items.indexOf(t.value) + 1) % e.items.length;
@@ -1859,12 +1874,12 @@ const Cn = /* @__PURE__ */ X(Nl, [["render", Kl]]), Yl = { class: "flex flex-row
1859
1874
  e.rotateTabsAfter && e.rotateTabsAfter > 0 && setInterval(() => {
1860
1875
  r();
1861
1876
  }, e.rotateTabsAfter * 1e3);
1862
- }), (c, p) => (l(), a(I, null, [
1877
+ }), (c, p) => (l(), o(I, null, [
1863
1878
  n("div", {
1864
1879
  role: "tablist",
1865
1880
  class: C(["relative tabs-bordered w-full tabs tabs-lg", { "flex-nowrap overflow-x-auto": c.buttonOnlyMode }])
1866
1881
  }, [
1867
- c.withControlls ? (l(), a("div", tn, [
1882
+ c.withControlls ? (l(), o("div", tn, [
1868
1883
  n("button", {
1869
1884
  onClick: p[0] || (p[0] = (y) => g()),
1870
1885
  class: "cursor-pointer"
@@ -1874,7 +1889,7 @@ const Cn = /* @__PURE__ */ X(Nl, [["render", Kl]]), Yl = { class: "flex flex-row
1874
1889
  class: "text-primary cursor-pointer"
1875
1890
  }, "Next")
1876
1891
  ])) : M("", !0),
1877
- (l(!0), a(I, null, V(c.items, (y) => (l(), a(I, null, [
1892
+ (l(!0), o(I, null, V(c.items, (y) => (l(), o(I, null, [
1878
1893
  n("a", {
1879
1894
  type: "button",
1880
1895
  role: "tab",
@@ -1882,7 +1897,7 @@ const Cn = /* @__PURE__ */ X(Nl, [["render", Kl]]), Yl = { class: "flex flex-row
1882
1897
  onClick: (A) => s(y),
1883
1898
  "aria-selected": t.value == y
1884
1899
  }, S(y), 11, ln),
1885
- c.buttonOnlyMode ? M("", !0) : (l(), a("div", nn, [
1900
+ c.buttonOnlyMode ? M("", !0) : (l(), o("div", nn, [
1886
1901
  D(c.$slots, `${y}-tab`)
1887
1902
  ]))
1888
1903
  ], 64))), 256))