manolis-ui 0.14.1 → 0.15.0

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 _, createElementBlock as r, openBlock as a, normalizeClass as M, createCommentVNode as T, renderSlot as V, createTextVNode as ue, createElementVNode as l, Fragment as j, renderList as E, toDisplayString as O, ref as k, watch as A, h as se, onMounted as K, withDirectives as ee, createVNode as G, isRef as pe, vModelCheckbox as he, unref as U, provide as ge, normalizeStyle as Z, inject as be, useId as ye, defineAsyncComponent as te, nextTick as le, onBeforeUnmount as ie, withModifiers as H, createBlock as W, resolveDynamicComponent as ne, mergeProps as ae, withKeys as re, resolveComponent as oe, withCtx as ce, vModelText as me, useSlots as we, Comment as xe, vShow as ke, onUnmounted as $e } from "vue";
1
+ import { defineComponent as P, computed as U, createElementBlock as r, openBlock as a, normalizeClass as V, createCommentVNode as T, renderSlot as M, createTextVNode as ee, createElementVNode as l, Fragment as j, renderList as E, toDisplayString as O, ref as k, watch as A, h as ie, onMounted as K, withDirectives as te, createVNode as G, isRef as pe, vModelCheckbox as he, unref as F, provide as ge, normalizeStyle as Z, inject as be, useId as ye, defineAsyncComponent as le, nextTick as ne, onBeforeUnmount as re, withModifiers as H, createBlock as W, resolveDynamicComponent as ae, mergeProps as oe, withKeys as ue, resolveComponent as se, withCtx as ce, vModelText as me, useSlots as we, Comment as xe, vShow as ke, onUnmounted as $e } from "vue";
2
2
  const Ce = ["disabled"], Se = {
3
3
  key: 0,
4
4
  class: "loading loading-spinner"
5
- }, Ll = /* @__PURE__ */ P({
5
+ }, Al = /* @__PURE__ */ P({
6
6
  __name: "ButtonComponent",
7
7
  props: {
8
8
  outlined: { type: Boolean, default: !1 },
@@ -14,8 +14,8 @@ const Ce = ["disabled"], Se = {
14
14
  disabled: { type: Boolean, default: !1 }
15
15
  },
16
16
  setup(e) {
17
- const c = e, t = _(() => {
18
- switch (c.size) {
17
+ const f = e, t = U(() => {
18
+ switch (f.size) {
19
19
  case "large":
20
20
  return "btn-lg";
21
21
  case "small":
@@ -29,8 +29,8 @@ const Ce = ["disabled"], Se = {
29
29
  default:
30
30
  return "";
31
31
  }
32
- }), o = _(() => {
33
- switch (c.type) {
32
+ }), o = U(() => {
33
+ switch (f.type) {
34
34
  case "neutral":
35
35
  return "btn-neutral";
36
36
  case "primary":
@@ -54,8 +54,8 @@ const Ce = ["disabled"], Se = {
54
54
  default:
55
55
  return "btn-neutral";
56
56
  }
57
- }), u = _(() => {
58
- switch (c.shape) {
57
+ }), d = U(() => {
58
+ switch (f.shape) {
59
59
  case "square":
60
60
  return "btn-square";
61
61
  case "circle":
@@ -65,26 +65,26 @@ const Ce = ["disabled"], Se = {
65
65
  }
66
66
  });
67
67
  return (s, i) => (a(), r("button", {
68
- class: M([
68
+ class: V([
69
69
  "btn",
70
- { "btn-outline": c.outlined },
71
- { "btn-active": c.active },
70
+ { "btn-outline": f.outlined },
71
+ { "btn-active": f.active },
72
72
  o.value,
73
73
  t.value,
74
- u.value
74
+ d.value
75
75
  ]),
76
- disabled: c.disabled
76
+ disabled: f.disabled
77
77
  }, [
78
78
  e.loading ? (a(), r("span", Se)) : T("", !0),
79
- V(s.$slots, "default", {}, () => [
80
- i[0] || (i[0] = ue("Submit", -1))
79
+ M(s.$slots, "default", {}, () => [
80
+ i[0] || (i[0] = ee("Submit", -1))
81
81
  ])
82
82
  ], 10, Ce));
83
83
  }
84
84
  }), Ie = {
85
85
  tabindex: "0",
86
86
  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"
87
- }, Te = ["href"], El = /* @__PURE__ */ P({
87
+ }, Te = ["href"], Rl = /* @__PURE__ */ P({
88
88
  __name: "dropdown",
89
89
  props: {
90
90
  items: {},
@@ -94,7 +94,7 @@ const Ce = ["disabled"], Se = {
94
94
  forceOpen: { type: Boolean, default: !1 }
95
95
  },
96
96
  setup(e) {
97
- const c = {
97
+ const f = {
98
98
  left: "dropdown-left",
99
99
  right: "dropdown-right",
100
100
  bottom: "dropdown-bottom",
@@ -103,10 +103,10 @@ const Ce = ["disabled"], Se = {
103
103
  start: "",
104
104
  end: "dropdown-end"
105
105
  }, o = e;
106
- return (u, s) => (a(), r("div", {
107
- class: M(["dropdown", c[o.position], t[o.floatPosition], { "dropdown-open": o.forceOpen }, { "dropdown-hover": o.openOnHover }])
106
+ return (d, s) => (a(), r("div", {
107
+ class: V(["dropdown", f[o.position], t[o.floatPosition], { "dropdown-open": o.forceOpen }, { "dropdown-hover": o.openOnHover }])
108
108
  }, [
109
- V(u.$slots, "default", {
109
+ M(d.$slots, "default", {
110
110
  tabindex: "0",
111
111
  role: "button"
112
112
  }, () => [
@@ -118,11 +118,11 @@ const Ce = ["disabled"], Se = {
118
118
  href: i.link
119
119
  }, O(i.text), 9, Te)
120
120
  ]))), 256)),
121
- V(u.$slots, "additional")
121
+ M(d.$slots, "additional")
122
122
  ])
123
123
  ], 2));
124
124
  }
125
- }), Me = { class: "modal-box" }, Ve = { class: "modal-action" }, Al = /* @__PURE__ */ P({
125
+ }), Me = { class: "modal-box" }, Ve = { class: "modal-action" }, Nl = /* @__PURE__ */ P({
126
126
  __name: "modal",
127
127
  props: {
128
128
  position: { default: "center" },
@@ -130,11 +130,11 @@ const Ce = ["disabled"], Se = {
130
130
  forceOpen: { type: [Boolean, null], default: null }
131
131
  },
132
132
  setup(e) {
133
- const c = e, t = {
133
+ const f = e, t = {
134
134
  top: "modal-top",
135
135
  bottom: "modal-bottom",
136
136
  center: "modal-middle"
137
- }, o = k(null), u = () => {
137
+ }, o = k(null), d = () => {
138
138
  var i;
139
139
  (i = o.value) == null || i.showModal();
140
140
  }, s = () => {
@@ -142,35 +142,35 @@ const Ce = ["disabled"], Se = {
142
142
  (i = o.value) == null || i.close();
143
143
  };
144
144
  return A(
145
- () => c.forceOpen,
145
+ () => f.forceOpen,
146
146
  (i) => {
147
- i == !0 && u(), i == !1 && s();
147
+ i == !0 && d(), i == !1 && s();
148
148
  }
149
149
  ), (i, g) => (a(), r(j, null, [
150
- c.forceOpen == null ? (a(), r("span", {
150
+ f.forceOpen == null ? (a(), r("span", {
151
151
  key: 0,
152
152
  class: "w-fit cursor-pointer",
153
- onClick: u
153
+ onClick: d
154
154
  }, [
155
- V(i.$slots, "trigger", { role: "button" }, () => [
155
+ M(i.$slots, "trigger", { role: "button" }, () => [
156
156
  g[0] || (g[0] = l("button", { class: "btn" }, "Open", -1))
157
157
  ])
158
158
  ])) : T("", !0),
159
159
  l("dialog", {
160
160
  ref_key: "dialog",
161
161
  ref: o,
162
- class: M(["modal", t[c.position]])
162
+ class: V(["modal", t[f.position]])
163
163
  }, [
164
164
  l("div", Me, [
165
- V(i.$slots, "default"),
165
+ M(i.$slots, "default"),
166
166
  l("div", Ve, [
167
- V(i.$slots, "actions"),
167
+ M(i.$slots, "actions"),
168
168
  l("form", {
169
169
  method: "dialog",
170
170
  onSubmit: s,
171
- class: M(e.withBackdrop ? "modal-backdrop" : "")
171
+ class: V(e.withBackdrop ? "modal-backdrop" : "")
172
172
  }, [
173
- V(i.$slots, "close-button", {}, () => [
173
+ M(i.$slots, "close-button", {}, () => [
174
174
  g[1] || (g[1] = l("button", { class: "btn" }, "Close", -1))
175
175
  ])
176
176
  ], 34)
@@ -179,22 +179,22 @@ const Ce = ["disabled"], Se = {
179
179
  ], 2)
180
180
  ], 64));
181
181
  }
182
- }), Be = { class: "flex justify-center items-center swap-on" }, De = { class: "flex justify-center items-center swap-off" }, Rl = /* @__PURE__ */ P({
182
+ }), Be = { class: "flex justify-center items-center swap-on" }, De = { class: "flex justify-center items-center swap-off" }, _l = /* @__PURE__ */ P({
183
183
  __name: "swap",
184
184
  props: {
185
185
  effect: {}
186
186
  },
187
187
  setup(e) {
188
- const c = e;
188
+ const f = e;
189
189
  return (t, o) => (a(), r("label", {
190
- class: M(["swap", c.effect ? `swap-${e.effect}` : ""])
190
+ class: V(["swap", f.effect ? `swap-${e.effect}` : ""])
191
191
  }, [
192
192
  o[0] || (o[0] = l("input", { type: "checkbox" }, null, -1)),
193
193
  l("div", Be, [
194
- V(t.$slots, "on")
194
+ M(t.$slots, "on")
195
195
  ]),
196
196
  l("div", De, [
197
- V(t.$slots, "off")
197
+ M(t.$slots, "off")
198
198
  ])
199
199
  ], 2));
200
200
  }
@@ -229,18 +229,18 @@ var Y = {
229
229
  * This source code is licensed under the ISC license.
230
230
  * See the LICENSE file in the root directory of this source tree.
231
231
  */
232
- const Oe = ({ size: e, strokeWidth: c = 2, absoluteStrokeWidth: t, color: o, iconNode: u, name: s, class: i, ...g }, { slots: v }) => se(
232
+ const Oe = ({ size: e, strokeWidth: f = 2, absoluteStrokeWidth: t, color: o, iconNode: d, name: s, class: i, ...g }, { slots: v }) => ie(
233
233
  "svg",
234
234
  {
235
235
  ...Y,
236
236
  width: e || Y.width,
237
237
  height: e || Y.height,
238
238
  stroke: o || Y.stroke,
239
- "stroke-width": t ? Number(c) * 24 / Number(e) : c,
239
+ "stroke-width": t ? Number(f) * 24 / Number(e) : f,
240
240
  class: ["lucide", `lucide-${ze(s ?? "icon")}`],
241
241
  ...g
242
242
  },
243
- [...u.map((p) => se(...p)), ...v.default ? [v.default()] : []]
243
+ [...d.map((p) => ie(...p)), ...v.default ? [v.default()] : []]
244
244
  );
245
245
  /**
246
246
  * @license lucide-vue-next v0.468.0 - ISC
@@ -248,11 +248,11 @@ const Oe = ({ size: e, strokeWidth: c = 2, absoluteStrokeWidth: t, color: o, ico
248
248
  * This source code is licensed under the ISC license.
249
249
  * See the LICENSE file in the root directory of this source tree.
250
250
  */
251
- const Q = (e, c) => (t, { slots: o }) => se(
251
+ const Q = (e, f) => (t, { slots: o }) => ie(
252
252
  Oe,
253
253
  {
254
254
  ...t,
255
- iconNode: c,
255
+ iconNode: f,
256
256
  name: e
257
257
  },
258
258
  o
@@ -313,44 +313,44 @@ const Ee = Q("SunIcon", [
313
313
  ["path", { d: "M20 12h2", key: "1q8mjw" }],
314
314
  ["path", { d: "m6.34 17.66-1.41 1.41", key: "1m8zz5" }],
315
315
  ["path", { d: "m19.07 4.93-1.41 1.41", key: "1shlcs" }]
316
- ]), Ae = (e, c) => {
316
+ ]), Ae = (e, f) => {
317
317
  const t = k(null);
318
318
  return K(() => {
319
319
  if (typeof window < "u") {
320
320
  const o = window.localStorage.getItem(e);
321
- t.value = o ? JSON.parse(o) : c;
321
+ t.value = o ? JSON.parse(o) : f;
322
322
  }
323
323
  }), A(t, (o) => {
324
324
  typeof window < "u" && window.localStorage.setItem(e, JSON.stringify(o));
325
325
  }), t;
326
- }, Re = { class: "swap-rotate swap" }, Ne = ["true-value", "false-value"], Nl = /* @__PURE__ */ P({
326
+ }, Re = { class: "swap-rotate swap" }, Ne = ["true-value", "false-value"], Fl = /* @__PURE__ */ P({
327
327
  __name: "theme-controller",
328
328
  props: {
329
329
  lightTheme: { default: "light" },
330
330
  darkTheme: { default: "dark" }
331
331
  },
332
332
  setup(e) {
333
- const c = e, t = Ae("theme", c.lightTheme);
334
- function o(u) {
335
- typeof window < "u" && window.document && document.documentElement.setAttribute("data-theme", u);
333
+ const f = e, t = Ae("theme", f.lightTheme);
334
+ function o(d) {
335
+ typeof window < "u" && window.document && document.documentElement.setAttribute("data-theme", d);
336
336
  }
337
- return K(() => o(t.value ? t.value : "")), A(t, (u) => {
338
- o(u);
339
- }), (u, s) => (a(), r("label", Re, [
340
- ee(l("input", {
337
+ return K(() => o(t.value ? t.value : "")), A(t, (d) => {
338
+ o(d);
339
+ }), (d, s) => (a(), r("label", Re, [
340
+ te(l("input", {
341
341
  type: "checkbox",
342
342
  class: "theme-controller",
343
343
  "onUpdate:modelValue": s[0] || (s[0] = (i) => pe(t) ? t.value = i : null),
344
- "true-value": c.lightTheme,
345
- "false-value": c.darkTheme
344
+ "true-value": f.lightTheme,
345
+ "false-value": f.darkTheme
346
346
  }, null, 8, Ne), [
347
- [he, U(t)]
347
+ [he, F(t)]
348
348
  ]),
349
- G(U(Ee), { class: "swap-off fill-current" }),
350
- G(U(Le), { class: "swap-on fill-current" })
349
+ G(F(Ee), { class: "swap-off fill-current" }),
350
+ G(F(Le), { class: "swap-on fill-current" })
351
351
  ]));
352
352
  }
353
- }), Fe = ["name"], Ue = { class: "collapse-title font-bold text-2xl lg:text-4xl" }, _e = { class: "collapse-content" }, qe = ["innerHTML"], Fl = /* @__PURE__ */ P({
353
+ }), _e = ["name"], Fe = { class: "collapse-title font-bold text-2xl lg:text-4xl" }, Ue = { class: "collapse-content" }, qe = ["innerHTML"], Ul = /* @__PURE__ */ P({
354
354
  __name: "accordion",
355
355
  props: {
356
356
  name: {},
@@ -359,25 +359,25 @@ const Ee = Q("SunIcon", [
359
359
  icon: {}
360
360
  },
361
361
  setup(e) {
362
- const c = e;
363
- return (t, o) => (a(!0), r(j, null, E(c.items, (u, s) => (a(), r("div", {
364
- class: M(["collapse border border-base-300", [e.icon ? `collapse-${e.icon}` : "", { "join-item": e.joinItems }]]),
362
+ const f = e;
363
+ return (t, o) => (a(!0), r(j, null, E(f.items, (d, s) => (a(), r("div", {
364
+ class: V(["collapse border border-base-300", [e.icon ? `collapse-${e.icon}` : "", { "join-item": e.joinItems }]]),
365
365
  key: s
366
366
  }, [
367
367
  l("input", {
368
368
  type: "radio",
369
369
  name: e.name,
370
370
  value: "true"
371
- }, null, 8, Fe),
372
- l("div", Ue, O(u.title), 1),
373
- l("div", _e, [
371
+ }, null, 8, _e),
372
+ l("div", Fe, O(d.title), 1),
373
+ l("div", Ue, [
374
374
  l("span", {
375
- innerHTML: u.content
375
+ innerHTML: d.content
376
376
  }, null, 8, qe)
377
377
  ])
378
378
  ], 2))), 128));
379
379
  }
380
- }), He = ["src"], We = { class: "text-xl" }, Ul = /* @__PURE__ */ P({
380
+ }), He = ["src"], We = { class: "text-xl" }, ql = /* @__PURE__ */ P({
381
381
  __name: "avatar",
382
382
  props: {
383
383
  image: {},
@@ -386,18 +386,18 @@ const Ee = Q("SunIcon", [
386
386
  fullyRounded: { type: Boolean, default: !1 }
387
387
  },
388
388
  setup(e) {
389
- const c = e, t = k(c.onlineStatus);
389
+ const f = e, t = k(f.onlineStatus);
390
390
  return A(
391
- () => c.onlineStatus,
391
+ () => f.onlineStatus,
392
392
  (o) => {
393
393
  o && (t.value = o);
394
394
  }
395
- ), (o, u) => (a(), r("div", {
396
- class: M(["avatar", [{ "avatar-online": t.value === "online" }, { "avatar-offline": t.value === "offline" }]])
395
+ ), (o, d) => (a(), r("div", {
396
+ class: V(["avatar", [{ "avatar-online": t.value === "online" }, { "avatar-offline": t.value === "offline" }]])
397
397
  }, [
398
398
  e.image ? (a(), r("div", {
399
399
  key: 0,
400
- class: M(["rounded", [{ "rounded-full": e.fullyRounded }, { rounded: !e.fullyRounded }]])
400
+ class: V(["rounded", [{ "rounded-full": e.fullyRounded }, { rounded: !e.fullyRounded }]])
401
401
  }, [
402
402
  l("img", {
403
403
  src: e.image,
@@ -405,13 +405,13 @@ const Ee = Q("SunIcon", [
405
405
  }, null, 8, He)
406
406
  ], 2)) : (a(), r("div", {
407
407
  key: 1,
408
- class: M(["flex justify-center bg-neutral p-[25%] rounded w-16 text-neutral-content text-center", [{ "rounded-full": e.fullyRounded }, { rounded: !e.fullyRounded }]])
408
+ class: V(["flex justify-center bg-neutral p-[25%] rounded w-16 text-neutral-content text-center", [{ "rounded-full": e.fullyRounded }, { rounded: !e.fullyRounded }]])
409
409
  }, [
410
410
  l("p", We, O(e.initials), 1)
411
411
  ], 2))
412
412
  ], 2));
413
413
  }
414
- }), _l = /* @__PURE__ */ P({
414
+ }), Hl = /* @__PURE__ */ P({
415
415
  __name: "badge",
416
416
  props: {
417
417
  color: { default: "neutral" },
@@ -419,7 +419,7 @@ const Ee = Q("SunIcon", [
419
419
  size: { default: "medium" }
420
420
  },
421
421
  setup(e) {
422
- const c = e, t = {
422
+ const f = e, t = {
423
423
  "extra small": "badge-xs",
424
424
  small: "badge-sm",
425
425
  medium: "badge-md",
@@ -435,10 +435,10 @@ const Ee = Q("SunIcon", [
435
435
  warning: "badge-warning",
436
436
  error: "badge-error"
437
437
  };
438
- return (u, s) => (a(), r("span", {
439
- class: M(["badge", t[c.size], o[c.color], { "badge-outline": c.outline }])
438
+ return (d, s) => (a(), r("span", {
439
+ class: V(["badge", t[f.size], o[f.color], { "badge-outline": f.outline }])
440
440
  }, [
441
- V(u.$slots, "default")
441
+ M(d.$slots, "default")
442
442
  ], 2));
443
443
  }
444
444
  }), Ke = ["src", "alt"], Xe = {
@@ -453,7 +453,7 @@ const Ee = Q("SunIcon", [
453
453
  }, Ze = { class: "flex-col flex-nowrap mt-auto card-actions" }, Qe = {
454
454
  key: 1,
455
455
  class: "card-body"
456
- }, ql = /* @__PURE__ */ P({
456
+ }, Wl = /* @__PURE__ */ P({
457
457
  __name: "card",
458
458
  props: {
459
459
  imgUrl: { default: "" },
@@ -470,14 +470,14 @@ const Ee = Q("SunIcon", [
470
470
  horizontal: { type: Boolean, default: !1 }
471
471
  },
472
472
  setup(e) {
473
- const c = e, t = k(c.outlined);
473
+ const f = e, t = k(f.outlined);
474
474
  return A(
475
- () => c.outlined,
475
+ () => f.outlined,
476
476
  (o) => {
477
477
  t.value = o;
478
478
  }
479
- ), (o, u) => (a(), r("div", {
480
- class: M(["group bg-base-100 shadow-xl rounded-sm min-w-64 max-w-full h-full card card-compact", [
479
+ ), (o, d) => (a(), r("div", {
480
+ class: V(["group bg-base-100 shadow-xl rounded-sm min-w-64 max-w-full h-full card card-compact", [
481
481
  { "border-4 border-primary": t.value },
482
482
  e.color ?? "",
483
483
  e.background,
@@ -485,13 +485,13 @@ const Ee = Q("SunIcon", [
485
485
  ]])
486
486
  }, [
487
487
  l("figure", {
488
- class: M([{ "contents!": e.horizontal && e.imgWidth }])
488
+ class: V([{ "contents!": e.horizontal && e.imgWidth }])
489
489
  }, [
490
490
  e.imgUrl || e.imgUrl && !e.loading ? (a(), r("img", {
491
491
  key: 0,
492
492
  src: e.imgUrl,
493
493
  alt: e.alt,
494
- class: M(["rounded-sm object-cover", [
494
+ class: V(["rounded-sm object-cover", [
495
495
  {
496
496
  hidden: e.loading
497
497
  },
@@ -501,18 +501,18 @@ const Ee = Q("SunIcon", [
501
501
  }, null, 10, Ke)) : T("", !0),
502
502
  e.loading && e.imgUrl ? (a(), r("div", {
503
503
  key: 1,
504
- class: M(["w-full skeleton", e.imgHeight])
504
+ class: V(["w-full skeleton", e.imgHeight])
505
505
  }, null, 2)) : T("", !0)
506
506
  ], 2),
507
507
  e.loading ? T("", !0) : (a(), r("div", Xe, [
508
508
  e.title ? (a(), r("h2", Ge, O(e.title), 1)) : T("", !0),
509
- V(o.$slots, "details"),
509
+ M(o.$slots, "details"),
510
510
  e.description ? (a(), r("p", Je, O(e.description), 1)) : T("", !0),
511
511
  l("div", Ze, [
512
- V(o.$slots, "actions")
512
+ M(o.$slots, "actions")
513
513
  ])
514
514
  ])),
515
- e.loading ? (a(), r("div", Qe, [...u[0] || (u[0] = [
515
+ e.loading ? (a(), r("div", Qe, [...d[0] || (d[0] = [
516
516
  l("div", { class: "flex flex-col gap-4 w-52" }, [
517
517
  l("div", { class: "w-28 h-4 skeleton" }),
518
518
  l("div", { class: "w-full h-4 skeleton" }),
@@ -564,26 +564,26 @@ const Ee = Q("SunIcon", [
564
564
  validator: (e) => e >= 0
565
565
  }
566
566
  },
567
- setup(e, { expose: c }) {
568
- const t = e, o = k(t.initialSlide), u = k(null), s = k(!1), i = k(0), g = _(() => ({
567
+ setup(e, { expose: f }) {
568
+ const t = e, o = k(t.initialSlide), d = k(null), s = k(!1), i = k(0), g = U(() => ({
569
569
  width: `calc((100% - ${t.slidesPerView > 1 ? (t.slidesPerView - 1) * t.gap : 0}px) / ${t.slidesPerView})`
570
570
  }));
571
571
  ge(ve, g);
572
572
  const v = () => {
573
- u.value ? i.value = u.value.children.length : i.value = 0;
573
+ d.value ? i.value = d.value.children.length : i.value = 0;
574
574
  }, p = async (w) => {
575
- if (!u.value || t.slidesPerView <= 0 || s.value || (v(), i.value === 0)) return;
576
- const x = (w % i.value + i.value) % i.value, C = u.value, B = t.sliderOrientation === "vertical" ? (C.offsetHeight - (t.slidesPerView - 1) * t.gap) / t.slidesPerView : (C.offsetWidth - (t.slidesPerView - 1) * t.gap) / t.slidesPerView;
575
+ if (!d.value || t.slidesPerView <= 0 || s.value || (v(), i.value === 0)) return;
576
+ const x = (w % i.value + i.value) % i.value, C = d.value, B = t.sliderOrientation === "vertical" ? (C.offsetHeight - (t.slidesPerView - 1) * t.gap) / t.slidesPerView : (C.offsetWidth - (t.slidesPerView - 1) * t.gap) / t.slidesPerView;
577
577
  if (B <= 0) return;
578
578
  const L = B + t.gap, R = x * L, N = t.sliderOrientation === "vertical" ? C.scrollHeight - C.offsetHeight : C.scrollWidth - C.offsetWidth, m = Math.max(0, Math.min(R, N + 0.5));
579
579
  s.value = !0, C.style.scrollBehavior = "auto";
580
- const d = t.sliderOrientation === "vertical" ? C.scrollTop : C.scrollLeft, f = m - d;
581
- if (Math.abs(f) < 1) {
580
+ const u = t.sliderOrientation === "vertical" ? C.scrollTop : C.scrollLeft, c = m - u;
581
+ if (Math.abs(c) < 1) {
582
582
  s.value = !1, o.value = x;
583
583
  return;
584
584
  }
585
585
  const b = performance.now(), n = ($) => {
586
- const h = $ - b, D = Math.min(1, h / t.slideDuration), F = D < 0.5 ? 4 * D * D * D : 1 - Math.pow(-2 * D + 2, 3) / 2, q = d + f * F;
586
+ const h = $ - b, D = Math.min(1, h / t.slideDuration), _ = D < 0.5 ? 4 * D * D * D : 1 - Math.pow(-2 * D + 2, 3) / 2, q = u + c * _;
587
587
  t.sliderOrientation === "vertical" ? C.scrollTop = q : C.scrollLeft = q, D < 1 ? requestAnimationFrame(n) : (t.sliderOrientation === "vertical" ? C.scrollTop = m : C.scrollLeft = m, o.value = x, s.value = !1);
588
588
  };
589
589
  requestAnimationFrame(n);
@@ -594,11 +594,11 @@ const Ee = Q("SunIcon", [
594
594
  }, z = (w) => {
595
595
  p(w);
596
596
  }, y = () => {
597
- if (!u.value || t.slidesPerView <= 0 || (v(), i.value === 0)) return;
598
- const w = u.value, x = t.sliderOrientation === "vertical" ? w.offsetHeight : w.offsetWidth, C = t.slidesPerView > 1 ? (t.slidesPerView - 1) * t.gap : 0, B = (x - C) / t.slidesPerView;
597
+ if (!d.value || t.slidesPerView <= 0 || (v(), i.value === 0)) return;
598
+ const w = d.value, x = t.sliderOrientation === "vertical" ? w.offsetHeight : w.offsetWidth, C = t.slidesPerView > 1 ? (t.slidesPerView - 1) * t.gap : 0, B = (x - C) / t.slidesPerView;
599
599
  if (B <= 0) return;
600
- const L = Math.max(0, i.value - t.slidesPerView), R = Math.min(Math.max(0, t.initialSlide), L), N = R * (B + t.gap), m = t.sliderOrientation === "vertical" ? w.scrollHeight - w.offsetHeight : w.scrollWidth - w.offsetWidth, d = Math.max(0, Math.min(N, m + 0.5));
601
- t.sliderOrientation === "vertical" ? w.scrollTo({ top: d, behavior: "auto" }) : w.scrollTo({ left: d, behavior: "auto" }), o.value = R;
600
+ const L = Math.max(0, i.value - t.slidesPerView), R = Math.min(Math.max(0, t.initialSlide), L), N = R * (B + t.gap), m = t.sliderOrientation === "vertical" ? w.scrollHeight - w.offsetHeight : w.scrollWidth - w.offsetWidth, u = Math.max(0, Math.min(N, m + 0.5));
601
+ t.sliderOrientation === "vertical" ? w.scrollTo({ top: u, behavior: "auto" }) : w.scrollTo({ left: u, behavior: "auto" }), o.value = R;
602
602
  };
603
603
  return K(() => {
604
604
  requestAnimationFrame(() => {
@@ -614,14 +614,14 @@ const Ee = Q("SunIcon", [
614
614
  t.slideDuration = 0, p(x), t.slideDuration = C;
615
615
  });
616
616
  });
617
- }), c({ scrollToSlide: p }), (w, x) => (a(), r("div", Ye, [
617
+ }), f({ scrollToSlide: p }), (w, x) => (a(), r("div", Ye, [
618
618
  l("div", {
619
619
  ref_key: "carouselContainer",
620
- ref: u,
621
- class: M(["rounded w-full h-full overflow-x-scroll scroll-smooth carousel", [{ "carousel-horizontal md:snap-none": e.sliderOrientation == "horizontal" }, { "carousel-vertical": e.sliderOrientation == "vertical" }]]),
620
+ ref: d,
621
+ class: V(["rounded w-full h-full overflow-x-scroll scroll-smooth carousel", [{ "carousel-horizontal md:snap-none": e.sliderOrientation == "horizontal" }, { "carousel-vertical": e.sliderOrientation == "vertical" }]]),
622
622
  style: Z({ gap: `${e.gap}px` })
623
623
  }, [
624
- V(w.$slots, "default", {}, void 0, !0)
624
+ M(w.$slots, "default", {}, void 0, !0)
625
625
  ], 6),
626
626
  e.showNavigationButtons ? (a(), r("div", et, [
627
627
  l("div", {
@@ -629,7 +629,7 @@ const Ee = Q("SunIcon", [
629
629
  role: "button",
630
630
  "aria-label": "Previous Slide"
631
631
  }, [
632
- V(w.$slots, "prevButton", {}, () => [
632
+ M(w.$slots, "prevButton", {}, () => [
633
633
  x[0] || (x[0] = l("button", {
634
634
  class: "btn btn-circle",
635
635
  tabindex: "-1"
@@ -641,7 +641,7 @@ const Ee = Q("SunIcon", [
641
641
  role: "button",
642
642
  "aria-label": "Next Slide"
643
643
  }, [
644
- V(w.$slots, "nextButton", {}, () => [
644
+ M(w.$slots, "nextButton", {}, () => [
645
645
  x[1] || (x[1] = l("button", {
646
646
  class: "btn btn-circle",
647
647
  tabindex: "-1"
@@ -653,29 +653,29 @@ const Ee = Q("SunIcon", [
653
653
  (a(!0), r(j, null, E(i.value, (C, B) => (a(), r("button", {
654
654
  key: `dot-${B}`,
655
655
  onClick: (L) => z(B),
656
- class: M(["btn btn-circle btn-xs", { "btn-active": B === o.value }]),
656
+ class: V(["btn btn-circle btn-xs", { "btn-active": B === o.value }]),
657
657
  "aria-label": `Go to slide ${B + 1}`
658
658
  }, null, 10, lt))), 128))
659
659
  ])) : T("", !0)
660
660
  ]));
661
661
  }
662
- }), J = (e, c) => {
662
+ }), J = (e, f) => {
663
663
  const t = e.__vccOpts || e;
664
- for (const [o, u] of c)
665
- t[o] = u;
664
+ for (const [o, d] of f)
665
+ t[o] = d;
666
666
  return t;
667
- }, Hl = /* @__PURE__ */ J(nt, [["__scopeId", "data-v-db55a6a5"]]), at = /* @__PURE__ */ P({
667
+ }, Kl = /* @__PURE__ */ J(nt, [["__scopeId", "data-v-db55a6a5"]]), at = /* @__PURE__ */ P({
668
668
  __name: "carouselItem",
669
669
  setup(e) {
670
- const c = be(ve, k({}));
670
+ const f = be(ve, k({}));
671
671
  return (t, o) => (a(), r("div", {
672
672
  class: "w-full h-full carousel-item",
673
- style: Z(U(c))
673
+ style: Z(F(f))
674
674
  }, [
675
- V(t.$slots, "default", {}, void 0, !0)
675
+ M(t.$slots, "default", {}, void 0, !0)
676
676
  ], 4));
677
677
  }
678
- }), Wl = /* @__PURE__ */ J(at, [["__scopeId", "data-v-507384bc"]]), ot = { class: "flex gap-4 bg-base-100 w-full tabs tabs-boxed" }, st = ["onClick"], it = {
678
+ }), Xl = /* @__PURE__ */ J(at, [["__scopeId", "data-v-507384bc"]]), ot = { class: "flex gap-4 bg-base-100 w-full tabs tabs-boxed" }, st = ["onClick"], it = {
679
679
  key: 0,
680
680
  class: "inline-component-wrapper flex grow justify-center items-center w-full h-full"
681
681
  }, rt = {
@@ -702,37 +702,37 @@ const Ee = Q("SunIcon", [
702
702
  value: {}
703
703
  },
704
704
  emits: ["search", "update:search-data"],
705
- setup(e, { emit: c }) {
706
- const t = e, o = c, u = t.id ?? `advancedSearch-${ye()}`, s = k(null), i = k(null), g = {
707
- datetime: te(() => Promise.resolve().then(() => Pt)),
708
- "standard-select": te(() => import("./select-Cz4vf_YE.js")),
705
+ setup(e, { emit: f }) {
706
+ const t = e, o = f, d = t.id ?? `advancedSearch-${ye()}`, s = k(null), i = k(null), g = {
707
+ datetime: le(() => Promise.resolve().then(() => Lt)),
708
+ "standard-select": le(() => import("./select-Cz4vf_YE.js")),
709
709
  // Add other components here when you create them:
710
710
  // 'custom-range': defineAsyncComponent(() => import('./CustomRange.vue')),
711
711
  // 'custom-number': defineAsyncComponent(() => import('./CustomNumber.vue')),
712
- "custom-text": te(() => import("./inputField-BxT95oyM.js"))
712
+ "custom-text": le(() => import("./inputField-BxT95oyM.js"))
713
713
  // 'custom-select': defineAsyncComponent(() => import('./CustomSelect.vue')),
714
714
  }, v = k({}), p = k({
715
715
  left: "0px",
716
716
  top: "0px",
717
717
  transform: "translateX(0%)"
718
718
  }), S = k(null), I = (m) => {
719
- var d;
719
+ var u;
720
720
  if (m.value === void 0 || m.value === null || m.value === "")
721
721
  return "";
722
722
  switch (m.type) {
723
723
  case "datetime":
724
724
  if (typeof m.value == "string")
725
725
  try {
726
- const f = new Date(m.value);
727
- if (!isNaN(f.getTime()))
728
- return f.toLocaleString();
726
+ const c = new Date(m.value);
727
+ if (!isNaN(c.getTime()))
728
+ return c.toLocaleString();
729
729
  } catch {
730
730
  }
731
731
  else if (m.range && typeof m.value == "object" && m.value !== null && "start" in m.value && "end" in m.value)
732
732
  try {
733
- const f = new Date(m.value.start), b = new Date(m.value.end);
734
- if (!isNaN(f.getTime()) && !isNaN(b.getTime()))
735
- return `${f.toLocaleDateString()} - ${b.toLocaleDateString()}`;
733
+ const c = new Date(m.value.start), b = new Date(m.value.end);
734
+ if (!isNaN(c.getTime()) && !isNaN(b.getTime()))
735
+ return `${c.toLocaleDateString()} - ${b.toLocaleDateString()}`;
736
736
  } catch {
737
737
  }
738
738
  break;
@@ -746,12 +746,12 @@ const Ee = Q("SunIcon", [
746
746
  break;
747
747
  case "standard-select":
748
748
  case "custom-select":
749
- if ((d = m.props) != null && d.options && Array.isArray(m.props.options)) {
750
- const f = m.props.options.find(
749
+ if ((u = m.props) != null && u.options && Array.isArray(m.props.options)) {
750
+ const c = m.props.options.find(
751
751
  (b) => b.value === m.value
752
752
  );
753
- if (f)
754
- return f.text;
753
+ if (c)
754
+ return c.text;
755
755
  }
756
756
  return String(m.value);
757
757
  case "custom-text":
@@ -763,21 +763,21 @@ const Ee = Q("SunIcon", [
763
763
  };
764
764
  function z(m) {
765
765
  var n, $;
766
- const d = (n = s.value) == null ? void 0 : n.name;
767
- if (!d) {
766
+ const u = (n = s.value) == null ? void 0 : n.name;
767
+ if (!u) {
768
768
  console.warn("componentValueUpdated called but no active tab.");
769
769
  return;
770
770
  }
771
- const f = ($ = t.searchOptions.find(
771
+ const c = ($ = t.searchOptions.find(
772
772
  (h) => (h == null ? void 0 : h.category) === t.currentCategory
773
- )) == null ? void 0 : $.tabs, b = f == null ? void 0 : f.find(
774
- (h) => h.name === d
773
+ )) == null ? void 0 : $.tabs, b = c == null ? void 0 : c.find(
774
+ (h) => h.name === u
775
775
  );
776
776
  b ? (b.value = m, o("update:search-data", {
777
777
  tab: b.name,
778
778
  data: m
779
779
  })) : console.error(
780
- `Tab with name "${d}" not found in current category.`
780
+ `Tab with name "${u}" not found in current category.`
781
781
  );
782
782
  }
783
783
  function y(m) {
@@ -788,35 +788,35 @@ const Ee = Q("SunIcon", [
788
788
  }
789
789
  async function x(m) {
790
790
  var b;
791
- const d = document.getElementById(`advancedSearchMobile-${u}`), f = d && d.contains(m.target);
792
- ((b = s.value) == null ? void 0 : b.displayMode) === "popup" && S.value && !S.value.contains(m.target) && !f && (await le(), s.value = null);
791
+ const u = document.getElementById(`advancedSearchMobile-${d}`), c = u && u.contains(m.target);
792
+ ((b = s.value) == null ? void 0 : b.displayMode) === "popup" && S.value && !S.value.contains(m.target) && !c && (await ne(), s.value = null);
793
793
  }
794
794
  async function C() {
795
795
  if (typeof window < "u" && window.innerWidth <= 768) {
796
796
  const m = document.getElementById(
797
- `advancedSearchMobile-${u}`
797
+ `advancedSearchMobile-${d}`
798
798
  );
799
799
  m ? (s.value = null, m.showModal()) : console.warn(
800
- `Mobile modal element not found. Ensure it exists with id="advancedSearchMobile-${u}".`
800
+ `Mobile modal element not found. Ensure it exists with id="advancedSearchMobile-${d}".`
801
801
  );
802
802
  }
803
803
  }
804
804
  async function B(m) {
805
- var f, b, n;
805
+ var c, b, n;
806
806
  if (typeof window < "u" && window.innerWidth <= 768) {
807
807
  C();
808
808
  return;
809
809
  }
810
- const d = m.displayMode ?? "popup";
811
- if (((f = s.value) == null ? void 0 : f.name) === m.name && ((b = s.value) == null ? void 0 : b.displayMode) === d)
810
+ const u = m.displayMode ?? "popup";
811
+ if (((c = s.value) == null ? void 0 : c.name) === m.name && ((b = s.value) == null ? void 0 : b.displayMode) === u)
812
812
  s.value = null;
813
- else if (s.value = { ...m, displayMode: d }, await le(), ((n = s.value) == null ? void 0 : n.displayMode) === "popup") {
813
+ else if (s.value = { ...m, displayMode: u }, await ne(), ((n = s.value) == null ? void 0 : n.displayMode) === "popup") {
814
814
  const $ = v.value[m.name];
815
815
  if ($ && S.value) {
816
- const h = $.getBoundingClientRect(), D = S.value.getBoundingClientRect(), F = h.bottom - D.top, q = h.left + h.width / 2 - D.left;
816
+ const h = $.getBoundingClientRect(), D = S.value.getBoundingClientRect(), _ = h.bottom - D.top, q = h.left + h.width / 2 - D.left;
817
817
  p.value = {
818
818
  left: `${q}px`,
819
- top: `${F + 8}px`,
819
+ top: `${_ + 8}px`,
820
820
  // Add a small gap
821
821
  transform: "translateX(-50%)"
822
822
  // Center horizontally
@@ -829,10 +829,10 @@ const Ee = Q("SunIcon", [
829
829
  }
830
830
  }
831
831
  const L = (m) => {
832
- const d = m.relatedTarget;
832
+ const u = m.relatedTarget;
833
833
  setTimeout(() => {
834
- var f;
835
- ((f = s.value) == null ? void 0 : f.displayMode) === "inline" && S.value && (!d || !S.value.contains(d)) ? (console.log("Blur detected outside container, closing inline view."), s.value = null) : console.log(
834
+ var c;
835
+ ((c = s.value) == null ? void 0 : c.displayMode) === "inline" && S.value && (!u || !S.value.contains(u)) ? (console.log("Blur detected outside container, closing inline view."), s.value = null) : console.log(
836
836
  "Blur detected, but staying within container or not an inline tab."
837
837
  );
838
838
  }, 50);
@@ -840,13 +840,13 @@ const Ee = Q("SunIcon", [
840
840
  console.log("Enter key pressed on inline component, closing inline view."), s.value = null;
841
841
  };
842
842
  A(i, (m) => {
843
- var d;
843
+ var u;
844
844
  console.log(
845
845
  "advanced-search: inlineComponentRef changed. New Value:",
846
846
  m
847
- ), console.log("advanced-search: activeTab.value:", s.value), m && ((d = s.value) == null ? void 0 : d.displayMode) === "inline" ? (console.log(
847
+ ), console.log("advanced-search: activeTab.value:", s.value), m && ((u = s.value) == null ? void 0 : u.displayMode) === "inline" ? (console.log(
848
848
  "advanced-search: Inline component ref is available and active tab is inline. Attempting to focus child input..."
849
- ), le(() => {
849
+ ), ne(() => {
850
850
  console.log(
851
851
  "advanced-search: Inside nextTick. Attempting to call child's focus method..."
852
852
  ), console.log("advanced-search: Type of newValue:", typeof m), console.log(
@@ -863,24 +863,24 @@ const Ee = Q("SunIcon", [
863
863
  );
864
864
  }), K(() => {
865
865
  document.addEventListener("click", x), window.addEventListener("resize", N);
866
- }), ie(() => {
866
+ }), re(() => {
867
867
  document.removeEventListener("click", x), window.removeEventListener("resize", N);
868
868
  });
869
869
  const N = () => {
870
- var m, d;
870
+ var m, u;
871
871
  if (typeof window < "u") {
872
- const f = window.innerWidth <= 768, b = s.value !== null && (s.value.displayMode === "popup" || s.value.displayMode === "inline") && window.innerWidth > 768;
873
- !f && (((m = s.value) == null ? void 0 : m.displayMode) === "popup" || ((d = s.value) == null ? void 0 : d.displayMode) === "inline") && window.innerWidth <= 768 && (console.log("Resizing to mobile, closing active tab."), s.value = null), f && !b && s.value !== null && (console.log(
872
+ const c = window.innerWidth <= 768, b = s.value !== null && (s.value.displayMode === "popup" || s.value.displayMode === "inline") && window.innerWidth > 768;
873
+ !c && (((m = s.value) == null ? void 0 : m.displayMode) === "popup" || ((u = s.value) == null ? void 0 : u.displayMode) === "inline") && window.innerWidth <= 768 && (console.log("Resizing to mobile, closing active tab."), s.value = null), c && !b && s.value !== null && (console.log(
874
874
  "Resizing to desktop from potential mobile active state, closing active tab."
875
875
  ), s.value = null);
876
876
  const n = document.getElementById(
877
- `advancedSearchMobile-${u}`
877
+ `advancedSearchMobile-${d}`
878
878
  );
879
- n != null && n.open && !f && (console.log("Modal is open on desktop, closing modal and active tab."), n.close(), s.value = null);
879
+ n != null && n.open && !c && (console.log("Modal is open on desktop, closing modal and active tab."), n.close(), s.value = null);
880
880
  }
881
881
  };
882
- return (m, d) => {
883
- var f, b;
882
+ return (m, u) => {
883
+ var c, b;
884
884
  return a(), r(j, null, [
885
885
  l("div", {
886
886
  ref_key: "searchContainer",
@@ -892,28 +892,28 @@ const Ee = Q("SunIcon", [
892
892
  onClick: C
893
893
  }, [
894
894
  l("div", ot, [
895
- (a(!0), r(j, null, E(((f = t.searchOptions.find(
895
+ (a(!0), r(j, null, E(((c = t.searchOptions.find(
896
896
  (n) => n.category === t.currentCategory
897
- )) == null ? void 0 : f.tabs) || [], (n, $) => {
898
- var h, D, F, q, de;
897
+ )) == null ? void 0 : c.tabs) || [], (n, $) => {
898
+ var h, D, _, q, de;
899
899
  return a(), r("button", {
900
900
  key: `${n.name}-${$}`,
901
901
  onClick: H((X) => B(n), ["stop"]),
902
- class: M([{
902
+ class: V([{
903
903
  "tab-active": ((h = s.value) == null ? void 0 : h.name) === n.name,
904
- "tab-active-inline": ((D = s.value) == null ? void 0 : D.name) === n.name && ((F = s.value) == null ? void 0 : F.displayMode) === "inline"
904
+ "tab-active-inline": ((D = s.value) == null ? void 0 : D.name) === n.name && ((_ = s.value) == null ? void 0 : _.displayMode) === "inline"
905
905
  // Add new class
906
906
  }, "group/searchitem after:top-0 after:-right-2 after:absolute relative first-of-type:flex-auto last-of-type:flex-auto after:bg-base-200 hover:bg-base-200 p-1 rounded-sm w-auto after:w-px after:h-10 overflow-x-hidden text-start md:after:content-[''] after:content-none last-of-type:after:content-none"]),
907
907
  ref_for: !0,
908
908
  ref: (X) => v.value[n.name] = X
909
909
  }, [
910
910
  ((q = s.value) == null ? void 0 : q.name) === n.name && ((de = s.value) == null ? void 0 : de.displayMode) === "inline" ? (a(), r("div", it, [
911
- (a(), W(ne(g[s.value.type]), ae({ ref_for: !0 }, s.value.props || {}, {
911
+ (a(), W(ae(g[s.value.type]), oe({ ref_for: !0 }, s.value.props || {}, {
912
912
  modelValue: s.value.value,
913
- onUpdated: d[0] || (d[0] = (X) => y(X)),
914
- "onUpdate:modelValue": d[1] || (d[1] = (X) => y(X)),
913
+ onUpdated: u[0] || (u[0] = (X) => y(X)),
914
+ "onUpdate:modelValue": u[1] || (u[1] = (X) => y(X)),
915
915
  onBlur: L,
916
- onKeydown: re(H(R, ["stop", "prevent"]), ["enter"]),
916
+ onKeydown: ue(H(R, ["stop", "prevent"]), ["enter"]),
917
917
  ref_for: !0,
918
918
  ref_key: "inlineComponentRef",
919
919
  ref: i
@@ -930,10 +930,10 @@ const Ee = Q("SunIcon", [
930
930
  class: "absolute flex shadow-sm mt-4 w-fit max-w-full transition-all tab-content",
931
931
  style: Z(p.value)
932
932
  }, [
933
- (a(), W(ne(g[s.value.type]), ae(s.value.props || {}, {
933
+ (a(), W(ae(g[s.value.type]), oe(s.value.props || {}, {
934
934
  modelValue: s.value.value,
935
- onUpdated: d[2] || (d[2] = (n) => z(n)),
936
- "onUpdate:modelValue": d[3] || (d[3] = (n) => z(n))
935
+ onUpdated: u[2] || (u[2] = (n) => z(n)),
936
+ "onUpdate:modelValue": u[3] || (u[3] = (n) => z(n))
937
937
  }), null, 16, ["modelValue"]))
938
938
  ], 4)) : T("", !0),
939
939
  l("button", {
@@ -942,7 +942,7 @@ const Ee = Q("SunIcon", [
942
942
  class: "ml-1 btn btn-primary btn-square",
943
943
  onClick: H(w, ["stop"])
944
944
  }, [
945
- G(U(fe), {
945
+ G(F(fe), {
946
946
  size: 24,
947
947
  color: "white"
948
948
  })
@@ -951,10 +951,10 @@ const Ee = Q("SunIcon", [
951
951
  l("div", ft, [
952
952
  l("button", {
953
953
  title: "search",
954
- onClick: d[4] || (d[4] = () => {
954
+ onClick: u[4] || (u[4] = () => {
955
955
  })
956
956
  }, [
957
- G(U(fe), {
957
+ G(F(fe), {
958
958
  size: 24,
959
959
  color: "white"
960
960
  })
@@ -962,11 +962,11 @@ const Ee = Q("SunIcon", [
962
962
  ])
963
963
  ], 512),
964
964
  l("dialog", {
965
- id: `advancedSearchMobile-${U(u)}`,
965
+ id: `advancedSearchMobile-${F(d)}`,
966
966
  class: "modal"
967
967
  }, [
968
968
  l("div", vt, [
969
- V(m.$slots, "additionalForMobile", {}, () => [
969
+ M(m.$slots, "additionalForMobile", {}, () => [
970
970
  l("h3", pt, O(e.currentCategory), 1)
971
971
  ], !0),
972
972
  (a(!0), r(j, null, E(((b = t.searchOptions.find(
@@ -977,7 +977,7 @@ const Ee = Q("SunIcon", [
977
977
  }, [
978
978
  l("input", {
979
979
  type: "radio",
980
- name: `accordion-${U(u)}`,
980
+ name: `accordion-${F(d)}`,
981
981
  checked: $ === 0
982
982
  }, null, 8, ht),
983
983
  l("div", gt, [
@@ -985,11 +985,11 @@ const Ee = Q("SunIcon", [
985
985
  n.value !== void 0 && n.value !== null && n.value !== "" ? (a(), r("div", bt, O(I(n)), 1)) : (a(), r("div", yt, O(n.description), 1))
986
986
  ]),
987
987
  l("div", wt, [
988
- d[7] || (d[7] = l("br", null, null, -1)),
989
- (a(), W(ne(g[n.type]), ae({ ref_for: !0 }, n.props || {}, {
988
+ u[7] || (u[7] = l("br", null, null, -1)),
989
+ (a(), W(ae(g[n.type]), oe({ ref_for: !0 }, n.props || {}, {
990
990
  modelValue: n.value,
991
- onUpdated: d[5] || (d[5] = (h) => z(h)),
992
- "onUpdate:modelValue": d[6] || (d[6] = (h) => z(h))
991
+ onUpdated: u[5] || (u[5] = (h) => z(h)),
992
+ "onUpdate:modelValue": u[6] || (u[6] = (h) => z(h))
993
993
  }), null, 16, ["modelValue"]))
994
994
  ])
995
995
  ]))), 128)),
@@ -1006,13 +1006,16 @@ const Ee = Q("SunIcon", [
1006
1006
  ], 64);
1007
1007
  };
1008
1008
  }
1009
- }), Kl = /* @__PURE__ */ J(xt, [["__scopeId", "data-v-577c3624"]]), kt = { class: "z-30 relative flex items-center bg-base-100 date-filter-input px-4 border-2 border-primary rounded-md w-full min-h-10 font-semibold text-primary text-sm" }, $t = { key: 0 }, Ct = ["id"], St = {
1009
+ }), Gl = /* @__PURE__ */ J(xt, [["__scopeId", "data-v-577c3624"]]), kt = { class: "z-30 relative flex items-center bg-base-100 date-filter-input px-4 border-2 border-primary rounded-md w-full min-h-10 font-semibold text-primary text-sm" }, $t = { key: 0 }, Ct = ["id"], St = {
1010
1010
  key: 2,
1011
- class: "join items-center gap-2 w-full justify-between py-2 px-4 max-md:input max-md:input-bordered rounded"
1012
- }, It = { class: "join-item" }, Tt = ["id", "disabled"], Mt = { class: "join-item" }, Vt = ["id", "disabled"], Bt = ["id", "disabled"], Dt = {
1011
+ class: "flex justify-center p-4"
1012
+ }, It = { class: "join items-center gap-2 max-w-2xs md:max-w-full justify-between max-md:input max-md:input-bordered !rounded overflow-hidden mx-auto" }, Tt = { class: "join-item" }, Mt = ["id", "disabled"], Vt = { class: "join-item" }, Bt = ["id", "disabled"], Dt = {
1013
+ key: 3,
1014
+ class: "p-4 min-w-2xs"
1015
+ }, zt = ["id", "disabled"], Ot = {
1013
1016
  key: 4,
1014
- class: "flex mt-4"
1015
- }, zt = /* @__PURE__ */ P({
1017
+ class: "flex px-4 my-4 w-full justify-end"
1018
+ }, Pt = /* @__PURE__ */ P({
1016
1019
  __name: "datetimePicker",
1017
1020
  props: {
1018
1021
  mode: { default: "datetime" },
@@ -1027,16 +1030,16 @@ const Ee = Q("SunIcon", [
1027
1030
  max: {}
1028
1031
  },
1029
1032
  emits: ["update:modelValue", "change"],
1030
- setup(e, { emit: c }) {
1033
+ setup(e, { emit: f }) {
1031
1034
  K(async () => {
1032
1035
  await import("./cally-ZU3K2Th7.js");
1033
1036
  });
1034
- const t = e, o = c, u = k(null), s = k(!1), i = k(null), g = k(null), v = k(null), p = k(null), S = k(null), I = k({ from: "", to: "", single: "" }), z = k({
1037
+ const t = e, o = f, d = k(null), s = k(!1), i = k(null), g = k(null), v = k(null), p = k(null), S = k(null), I = k({ from: "", to: "", single: "" }), z = k({
1035
1038
  single: null,
1036
1039
  start: null,
1037
1040
  end: null
1038
- }), y = _(() => {
1039
- const d = (n) => {
1041
+ }), y = U(() => {
1042
+ const u = (n) => {
1040
1043
  if (!n || n.includes(":")) return n;
1041
1044
  if (/^\d{4}-\d{2}-\d{2}$/.test(n))
1042
1045
  try {
@@ -1047,66 +1050,66 @@ const Ee = Q("SunIcon", [
1047
1050
  }
1048
1051
  return n;
1049
1052
  };
1050
- let f = "", b = "";
1051
- if (t.mode !== "time" && (t.range && z.value.start && z.value.end ? f = `${z.value.start} - ${z.value.end}` : !t.range && z.value.single && (f = z.value.single)), t.mode !== "date" && (t.range && I.value.from && I.value.to ? b = `${I.value.from} - ${I.value.to}` : !t.range && I.value.single && (b = I.value.single)), t.mode === "date")
1052
- return t.range ? f.split(" - ").map(d).join(" - ") : d(f);
1053
+ let c = "", b = "";
1054
+ if (t.mode !== "time" && (t.range && z.value.start && z.value.end ? c = `${z.value.start} - ${z.value.end}` : !t.range && z.value.single && (c = z.value.single)), t.mode !== "date" && (t.range && I.value.from && I.value.to ? b = `${I.value.from} - ${I.value.to}` : !t.range && I.value.single && (b = I.value.single)), t.mode === "date")
1055
+ return t.range ? c.split(" - ").map(u).join(" - ") : u(c);
1053
1056
  if (t.mode === "time") return b;
1054
1057
  if (t.range) {
1055
- const [n, $] = f.split(" - ").map(d), [h, D] = b.split(" - ");
1058
+ const [n, $] = c.split(" - ").map(u), [h, D] = b.split(" - ");
1056
1059
  return `${n} ${h} - ${$} ${D}`.trim();
1057
1060
  }
1058
- return `${d(f)} ${b}`.trim();
1061
+ return `${u(c)} ${b}`.trim();
1059
1062
  });
1060
1063
  console.log(y);
1061
1064
  const w = () => {
1062
1065
  if (t.range) {
1063
- const { start: d, end: f } = z.value, { from: b, to: n } = I.value;
1066
+ const { start: u, end: c } = z.value, { from: b, to: n } = I.value;
1064
1067
  let $ = null, h = null;
1065
- if (t.mode === "time" && b && n ? ($ = b, h = n) : t.mode === "date" && d && f ? ($ = d, h = f) : t.mode === "datetime" && d && f && b && n && ($ = `${d}T${b}`, h = `${f}T${n}`), $ && h)
1068
+ if (t.mode === "time" && b && n ? ($ = b, h = n) : t.mode === "date" && u && c ? ($ = u, h = c) : t.mode === "datetime" && u && c && b && n && ($ = `${u}T${b}`, h = `${c}T${n}`), $ && h)
1066
1069
  return { start: $, end: h };
1067
1070
  } else {
1068
- const d = z.value.single, f = I.value.single;
1069
- if (t.mode === "date") return d;
1070
- if (t.mode === "time") return f || null;
1071
- if (t.mode === "datetime" && d && f)
1072
- return `${d}T${f}`;
1071
+ const u = z.value.single, c = I.value.single;
1072
+ if (t.mode === "date") return u;
1073
+ if (t.mode === "time") return c || null;
1074
+ if (t.mode === "datetime" && u && c)
1075
+ return `${u}T${c}`;
1073
1076
  }
1074
1077
  return null;
1075
1078
  }, x = () => {
1076
1079
  if (i.value)
1077
1080
  z.value.single = i.value.value || null;
1078
1081
  else if (g.value) {
1079
- const d = g.value.value;
1080
- z.value.start = (d == null ? void 0 : d.start) || null, z.value.end = (d == null ? void 0 : d.end) || null;
1082
+ const u = g.value.value;
1083
+ z.value.start = (u == null ? void 0 : u.start) || null, z.value.end = (u == null ? void 0 : u.end) || null;
1081
1084
  }
1082
1085
  }, C = () => {
1083
1086
  x();
1084
- const d = w();
1085
- o("update:modelValue", d), o("change", d);
1087
+ const u = w();
1088
+ o("update:modelValue", u), o("change", u);
1086
1089
  }, B = () => {
1087
- var d, f, b;
1088
- t.range ? (I.value.from = ((d = p.value) == null ? void 0 : d.value) || "", I.value.to = ((f = S.value) == null ? void 0 : f.value) || "") : I.value.single = ((b = v.value) == null ? void 0 : b.value) || "", C();
1090
+ var u, c, b;
1091
+ t.range ? (I.value.from = ((u = p.value) == null ? void 0 : u.value) || "", I.value.to = ((c = S.value) == null ? void 0 : c.value) || "") : I.value.single = ((b = v.value) == null ? void 0 : b.value) || "", C();
1089
1092
  }, L = () => {
1090
1093
  s.value = !s.value, s.value && C();
1091
1094
  }, R = () => {
1092
1095
  s.value = !1, C();
1093
- }, N = (d) => {
1096
+ }, N = (u) => {
1094
1097
  if (!t.popup || !s.value) return;
1095
- const f = u.value, b = d.target;
1096
- f && !f.contains(b) && R();
1098
+ const c = d.value, b = u.target;
1099
+ c && !c.contains(b) && R();
1097
1100
  }, m = () => {
1098
- const d = (f) => f instanceof Date ? f.toISOString() : f;
1101
+ const u = (c) => c instanceof Date ? c.toISOString() : c;
1099
1102
  if (t.initialDate) {
1100
1103
  if (t.range && typeof t.initialDate == "object" && "start" in t.initialDate) {
1101
- const f = d(t.initialDate.start), b = d(t.initialDate.end);
1102
- if (z.value.start = f.split("T")[0], z.value.end = b.split("T")[0], t.mode !== "date") {
1103
- const n = new Date(f), $ = new Date(b), h = (D) => `${String(D.getUTCHours()).padStart(2, "0")}:${String(D.getUTCMinutes()).padStart(2, "0")}`;
1104
+ const c = u(t.initialDate.start), b = u(t.initialDate.end);
1105
+ if (z.value.start = c.split("T")[0], z.value.end = b.split("T")[0], t.mode !== "date") {
1106
+ const n = new Date(c), $ = new Date(b), h = (D) => `${String(D.getUTCHours()).padStart(2, "0")}:${String(D.getUTCMinutes()).padStart(2, "0")}`;
1104
1107
  I.value.from = h(n), I.value.to = h($), p.value && (p.value.value = I.value.from), S.value && (S.value.value = I.value.to);
1105
1108
  }
1106
1109
  } else if (typeof t.initialDate == "string" || t.initialDate instanceof Date) {
1107
- const f = d(t.initialDate);
1108
- if (z.value.single = f.split("T")[0], t.mode !== "date") {
1109
- const b = new Date(f), n = `${String(b.getUTCHours()).padStart(2, "0")}:${String(b.getUTCMinutes()).padStart(2, "0")}`;
1110
+ const c = u(t.initialDate);
1111
+ if (z.value.single = c.split("T")[0], t.mode !== "date") {
1112
+ const b = new Date(c), n = `${String(b.getUTCHours()).padStart(2, "0")}:${String(b.getUTCMinutes()).padStart(2, "0")}`;
1110
1113
  I.value.single = n, v.value && (v.value.value = n);
1111
1114
  }
1112
1115
  }
@@ -1114,27 +1117,27 @@ const Ee = Q("SunIcon", [
1114
1117
  };
1115
1118
  return K(() => {
1116
1119
  m(), C();
1117
- }), (d, f) => {
1118
- const b = oe("calendar-month"), n = oe("calendar-date"), $ = oe("calendar-range");
1120
+ }), (u, c) => {
1121
+ const b = se("calendar-month"), n = se("calendar-date"), $ = se("calendar-range");
1119
1122
  return a(), r("div", {
1120
1123
  class: "inline-block relative w-fit lg:w-full",
1121
1124
  ref_key: "pickerContainer",
1122
- ref: u,
1125
+ ref: d,
1123
1126
  onMousedownCapture: N
1124
1127
  }, [
1125
1128
  t.popup ? (a(), r("div", {
1126
1129
  key: 0,
1127
1130
  class: "flex items-center gap-2 cursor-pointer w-full",
1128
- onClick: f[0] || (f[0] = (h) => t.disabled ? null : L())
1131
+ onClick: c[0] || (c[0] = (h) => t.disabled ? null : L())
1129
1132
  }, [
1130
1133
  l("div", kt, [
1131
1134
  y.value ? T("", !0) : (a(), r("span", $t, O(e.placeholder), 1)),
1132
- ue(" " + O(y.value), 1)
1135
+ ee(" " + O(y.value), 1)
1133
1136
  ])
1134
1137
  ])) : T("", !0),
1135
1138
  s.value || !t.popup ? (a(), r("div", {
1136
1139
  key: 1,
1137
- class: M(["z-50 bg-base-100 rounded-md w-full", { "absolute top-full left-0 mt-2 shadow-lg min-w-2xs": t.popup, "mt-2": !t.popup }]),
1140
+ class: V(["z-50 bg-base-100 rounded-md w-full min-w-xs overflow-hidden", { "absolute top-full left-0 mt-2 shadow-lg": t.popup, "mt-2": !t.popup }]),
1138
1141
  id: `date-picker-${t.id}-popup`
1139
1142
  }, [
1140
1143
  !t.range && t.mode !== "time" ? (a(), W(n, {
@@ -1149,7 +1152,7 @@ const Ee = Q("SunIcon", [
1149
1152
  onChange: C
1150
1153
  }, {
1151
1154
  default: ce(() => [
1152
- f[1] || (f[1] = l("button", {
1155
+ c[1] || (c[1] = l("button", {
1153
1156
  slot: "previous",
1154
1157
  class: "btn-outline btn btn-primary md:btn-sm"
1155
1158
  }, [
@@ -1168,7 +1171,7 @@ const Ee = Q("SunIcon", [
1168
1171
  })
1169
1172
  ])
1170
1173
  ], -1)),
1171
- f[2] || (f[2] = l("button", {
1174
+ c[2] || (c[2] = l("button", {
1172
1175
  slot: "next",
1173
1176
  class: "btn-outline btn btn-primary md:btn-sm"
1174
1177
  }, [
@@ -1205,7 +1208,7 @@ const Ee = Q("SunIcon", [
1205
1208
  onChange: C
1206
1209
  }, {
1207
1210
  default: ce(() => [
1208
- f[3] || (f[3] = l("button", {
1211
+ c[3] || (c[3] = l("button", {
1209
1212
  slot: "previous",
1210
1213
  class: "btn-outline btn btn-primary md:btn-sm"
1211
1214
  }, [
@@ -1224,7 +1227,7 @@ const Ee = Q("SunIcon", [
1224
1227
  })
1225
1228
  ])
1226
1229
  ], -1)),
1227
- f[4] || (f[4] = l("button", {
1230
+ c[4] || (c[4] = l("button", {
1228
1231
  slot: "next",
1229
1232
  class: "btn-outline btn btn-primary md:btn-sm"
1230
1233
  }, [
@@ -1251,65 +1254,72 @@ const Ee = Q("SunIcon", [
1251
1254
  }, 8, ["id", "min", "max", "disabled"])) : T("", !0),
1252
1255
  t.range && t.mode !== "date" ? (a(), r("div", St, [
1253
1256
  l("div", It, [
1254
- l("input", {
1255
- class: "max-md:max-w-xs text-center hover:border-b-2 hover:-mb-0.5 open:bg-primary open:p-1 open:-m-0.5 open:rounded w-full relative",
1256
- type: "time",
1257
- ref_key: "timeFromInput",
1258
- ref: p,
1259
- id: `${t.id}-time-from`,
1260
- placeholder: "van",
1261
- onChange: B,
1262
- disabled: t.disabled
1263
- }, null, 40, Tt)
1264
- ]),
1265
- f[5] || (f[5] = l("svg", {
1266
- class: "join-item",
1267
- viewBox: "0 0 1024 1024",
1268
- focusable: "false",
1269
- "data-icon": "swap-right",
1270
- width: "1em",
1271
- height: "1em",
1272
- fill: "currentColor",
1273
- "aria-hidden": "true"
1274
- }, [
1275
- l("path", { d: "M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z" })
1276
- ], -1)),
1277
- l("div", Mt, [
1278
- l("input", {
1279
- class: "hover:border-b-2 hover:-mb-0.5 open:bg-primary open:p-1 open:-m-0.5 open:rounded w-full relative",
1280
- type: "time",
1281
- ref_key: "timeToInput",
1282
- ref: S,
1283
- id: `${t.id}-time-to`,
1284
- onChange: B,
1285
- disabled: t.disabled
1286
- }, null, 40, Vt)
1257
+ l("div", Tt, [
1258
+ l("input", {
1259
+ class: "text-center hover:border-b-2 hover:-mb-0.5 open:bg-primary open:p-1 open:-m-0.5 open:rounded w-full relative",
1260
+ type: "time",
1261
+ ref_key: "timeFromInput",
1262
+ ref: p,
1263
+ id: `${t.id}-time-from`,
1264
+ placeholder: "van",
1265
+ onChange: B,
1266
+ disabled: t.disabled
1267
+ }, null, 40, Mt)
1268
+ ]),
1269
+ c[5] || (c[5] = l("svg", {
1270
+ class: "join-item",
1271
+ viewBox: "0 0 1024 1024",
1272
+ focusable: "false",
1273
+ "data-icon": "swap-right",
1274
+ width: "1em",
1275
+ height: "1em",
1276
+ fill: "currentColor",
1277
+ "aria-hidden": "true"
1278
+ }, [
1279
+ l("path", { d: "M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z" })
1280
+ ], -1)),
1281
+ l("div", Vt, [
1282
+ l("input", {
1283
+ class: "text-center hover:border-b-2 hover:-mb-0.5 open:bg-primary open:p-1 open:-m-0.5 open:rounded w-full relative",
1284
+ type: "time",
1285
+ ref_key: "timeToInput",
1286
+ ref: S,
1287
+ id: `${t.id}-time-to`,
1288
+ onChange: B,
1289
+ disabled: t.disabled
1290
+ }, null, 40, Bt)
1291
+ ])
1287
1292
  ])
1288
1293
  ])) : T("", !0),
1289
- !t.range && t.mode !== "date" ? (a(), r("input", {
1290
- key: 3,
1291
- class: "open:bg-primary open:rounded w-full input input-bordered my-2 justify-center px-4 min-w-xs",
1292
- type: "time",
1293
- ref_key: "timeInput",
1294
- ref: v,
1295
- id: `${t.id}-time`,
1296
- onChange: B,
1297
- disabled: t.disabled
1298
- }, null, 40, Bt)) : T("", !0),
1299
- t.popup ? (a(), r("div", Dt, [
1294
+ !t.range && t.mode !== "date" ? (a(), r("div", Dt, [
1295
+ l("input", {
1296
+ class: "open:bg-primary open:rounded w-full input input-bordered justify-center",
1297
+ type: "time",
1298
+ ref_key: "timeInput",
1299
+ ref: v,
1300
+ id: `${t.id}-time`,
1301
+ onChange: B,
1302
+ disabled: t.disabled
1303
+ }, null, 40, zt)
1304
+ ])) : T("", !0),
1305
+ t.popup ? (a(), r("div", Ot, [
1300
1306
  l("button", {
1301
- class: "btn btn-primary",
1307
+ class: "btn btn-primary max-lg:w-full",
1302
1308
  onClick: R
1303
- }, " Close ")
1309
+ }, [
1310
+ M(u.$slots, "default", {}, () => [
1311
+ c[6] || (c[6] = ee("Close", -1))
1312
+ ], !0)
1313
+ ])
1304
1314
  ])) : T("", !0)
1305
1315
  ], 10, Ct)) : T("", !0)
1306
1316
  ], 544);
1307
1317
  };
1308
1318
  }
1309
- }), Ot = /* @__PURE__ */ J(zt, [["__scopeId", "data-v-19301c9f"]]), Pt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1319
+ }), jt = /* @__PURE__ */ J(Pt, [["__scopeId", "data-v-6a59f578"]]), Lt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1310
1320
  __proto__: null,
1311
- default: Ot
1312
- }, Symbol.toStringTag, { value: "Module" })), jt = ["value", "checked", "onChange", "disabled"], Xl = /* @__PURE__ */ P({
1321
+ default: jt
1322
+ }, Symbol.toStringTag, { value: "Module" })), Et = ["value", "checked", "onChange", "disabled"], Jl = /* @__PURE__ */ P({
1313
1323
  __name: "rating",
1314
1324
  props: {
1315
1325
  initialRating: { default: 0 },
@@ -1322,19 +1332,19 @@ const Ee = Q("SunIcon", [
1322
1332
  gap: { default: 0 }
1323
1333
  },
1324
1334
  setup(e) {
1325
- const c = e, t = k(c.initialRating);
1335
+ const f = e, t = k(f.initialRating);
1326
1336
  A(
1327
- () => c.initialRating,
1328
- (u) => {
1329
- t.value = u;
1337
+ () => f.initialRating,
1338
+ (d) => {
1339
+ t.value = d;
1330
1340
  }
1331
1341
  );
1332
- const o = (u) => {
1333
- t.value = u;
1342
+ const o = (d) => {
1343
+ t.value = d;
1334
1344
  };
1335
- return (u, s) => (a(), r("div", {
1336
- class: M(["rating", [
1337
- `rating-${c.size}`,
1345
+ return (d, s) => (a(), r("div", {
1346
+ class: V(["rating", [
1347
+ `rating-${f.size}`,
1338
1348
  { "rating-half": e.halfStars },
1339
1349
  { "pointer-events-none": !e.isInteractive }
1340
1350
  ]])
@@ -1345,7 +1355,7 @@ const Ee = Q("SunIcon", [
1345
1355
  value: e.halfStars ? i * 0.5 : i,
1346
1356
  checked: t.value === (e.halfStars ? i * 0.5 : i),
1347
1357
  onChange: (g) => e.isInteractive ? o(e.halfStars ? i * 0.5 : i) : null,
1348
- class: M(["mask", [
1358
+ class: V(["mask", [
1349
1359
  {
1350
1360
  // 'bg-yellow-400': rating >= (halfStars ? i * 0.5 : i),
1351
1361
  "mask-half-1": e.halfStars && i % 2 !== 0,
@@ -1366,16 +1376,16 @@ const Ee = Q("SunIcon", [
1366
1376
  "mask-triangle-3": e.shape === "triangle-left",
1367
1377
  "mask-triangle-4": e.shape === "triangle-right"
1368
1378
  },
1369
- t.value >= (e.halfStars ? i * 0.5 : i) ? c.color : ""
1379
+ t.value >= (e.halfStars ? i * 0.5 : i) ? f.color : ""
1370
1380
  ]]),
1371
1381
  style: Z({
1372
- marginRight: e.halfStars && i % 2 === 0 ? `${c.gap}px` : e.halfStars ? "0" : `${c.gap}px`
1382
+ marginRight: e.halfStars && i % 2 === 0 ? `${f.gap}px` : e.halfStars ? "0" : `${f.gap}px`
1373
1383
  }),
1374
1384
  disabled: !e.isInteractive
1375
- }, null, 46, jt))), 128))
1385
+ }, null, 46, Et))), 128))
1376
1386
  ], 2));
1377
1387
  }
1378
- }), Lt = { class: "badge" }, Et = ["onClick"], At = { class: "opacity-75" }, Rt = ["placeholder"], Gl = /* @__PURE__ */ P({
1388
+ }), At = { class: "badge" }, Rt = ["onClick"], Nt = { class: "opacity-75" }, _t = ["placeholder"], Zl = /* @__PURE__ */ P({
1379
1389
  __name: "taginput",
1380
1390
  props: {
1381
1391
  modelValue: {},
@@ -1384,37 +1394,37 @@ const Ee = Q("SunIcon", [
1384
1394
  class: {}
1385
1395
  },
1386
1396
  emits: ["update:modelValue"],
1387
- setup(e, { emit: c }) {
1388
- const t = e, o = c, u = k([...t.modelValue]), s = t.maxTagAmount === void 0 ? -1 : t.maxTagAmount, i = k(null), g = k(""), v = _(() => s < 0 || u.value.length < s), p = () => {
1397
+ setup(e, { emit: f }) {
1398
+ const t = e, o = f, d = k([...t.modelValue]), s = t.maxTagAmount === void 0 ? -1 : t.maxTagAmount, i = k(null), g = k(""), v = U(() => s < 0 || d.value.length < s), p = () => {
1389
1399
  const y = g.value.trim();
1390
- y && !u.value.includes(y) && (u.value.push(y), o("update:modelValue", u.value), g.value = "");
1400
+ y && !d.value.includes(y) && (d.value.push(y), o("update:modelValue", d.value), g.value = "");
1391
1401
  }, S = (y) => {
1392
- u.value = u.value.filter((w) => w !== y), o("update:modelValue", u.value);
1402
+ d.value = d.value.filter((w) => w !== y), o("update:modelValue", d.value);
1393
1403
  }, I = () => {
1394
- g.value === "" && (u.value.pop(), o("update:modelValue", u.value));
1404
+ g.value === "" && (d.value.pop(), o("update:modelValue", d.value));
1395
1405
  }, z = (y) => {
1396
1406
  y.key === "Enter" ? p() : y.key === "Backspace" && g.value === "" && I();
1397
1407
  };
1398
1408
  return A(() => t.modelValue, (y) => {
1399
- u.value = [...y];
1409
+ d.value = [...y];
1400
1410
  }), (y, w) => (a(), r("div", {
1401
- class: M(["flex flex-wrap gap-2 bg-base-100 shadow px-4 py-6 border border-base-content/20 rounded", y.$props.class])
1411
+ class: V(["flex flex-wrap gap-2 bg-base-100 shadow px-4 py-6 border border-base-content/20 rounded", y.$props.class])
1402
1412
  }, [
1403
- (a(!0), r(j, null, E(u.value, (x) => V(y.$slots, "tag", {
1413
+ (a(!0), r(j, null, E(d.value, (x) => M(y.$slots, "tag", {
1404
1414
  key: x,
1405
1415
  tag: x
1406
1416
  }, () => [
1407
- l("div", Lt, [
1417
+ l("div", At, [
1408
1418
  l("button", {
1409
1419
  class: "px-1! py-0! h-fit font-bold cursor-pointer",
1410
1420
  onClick: (C) => S(x),
1411
1421
  "aria-label": "Remove tag"
1412
- }, "X", 8, Et),
1413
- l("span", At, O(x), 1)
1422
+ }, "X", 8, Rt),
1423
+ l("span", Nt, O(x), 1)
1414
1424
  ])
1415
1425
  ])), 128)),
1416
- V(y.$slots, "input", { showInput: v.value }, () => [
1417
- v.value ? ee((a(), r("input", {
1426
+ M(y.$slots, "input", { showInput: v.value }, () => [
1427
+ v.value ? te((a(), r("input", {
1418
1428
  key: 0,
1419
1429
  ref_key: "inputRef",
1420
1430
  ref: i,
@@ -1424,21 +1434,21 @@ const Ee = Q("SunIcon", [
1424
1434
  class: "h-full input input-ghost",
1425
1435
  onKeydown: z,
1426
1436
  "aria-label": "Add tags"
1427
- }, null, 40, Rt)), [
1437
+ }, null, 40, _t)), [
1428
1438
  [me, g.value]
1429
1439
  ]) : T("", !0)
1430
1440
  ])
1431
1441
  ], 2));
1432
1442
  }
1433
- }), Nt = { class: "w-full max-w-xs form-control" }, Ft = {
1443
+ }), Ft = { class: "w-full max-w-xs form-control" }, Ut = {
1434
1444
  key: 0,
1435
1445
  class: "label"
1436
- }, Ut = { class: "label-text" }, _t = ["value"], qt = {
1446
+ }, qt = { class: "label-text" }, Ht = ["value"], Wt = {
1437
1447
  key: 0,
1438
1448
  value: "",
1439
1449
  disabled: "",
1440
1450
  selected: ""
1441
- }, Ht = ["value"], Jl = /* @__PURE__ */ P({
1451
+ }, Kt = ["value"], Ql = /* @__PURE__ */ P({
1442
1452
  __name: "select",
1443
1453
  props: {
1444
1454
  options: {},
@@ -1447,22 +1457,22 @@ const Ee = Q("SunIcon", [
1447
1457
  modelValue: {}
1448
1458
  },
1449
1459
  emits: ["update:modelValue"],
1450
- setup(e, { expose: c, emit: t }) {
1460
+ setup(e, { expose: f, emit: t }) {
1451
1461
  console.log(e.placeholder);
1452
- const u = t, s = k(null), i = (v) => {
1462
+ const d = t, s = k(null), i = (v) => {
1453
1463
  const p = v.target;
1454
- u("update:modelValue", p.value);
1464
+ d("update:modelValue", p.value);
1455
1465
  };
1456
- return c({
1466
+ return f({
1457
1467
  focusInput: () => {
1458
1468
  var v;
1459
1469
  console.log("select.vue: focusInput method called."), (v = s.value) == null || v.focus();
1460
1470
  }
1461
1471
  // You can expose other properties or methods here if needed by the parent
1462
1472
  // e.g., the current value: modelValue
1463
- }), (v, p) => (a(), r("div", Nt, [
1464
- e.label ? (a(), r("label", Ft, [
1465
- l("span", Ut, O(e.label), 1)
1473
+ }), (v, p) => (a(), r("div", Ft, [
1474
+ e.label ? (a(), r("label", Ut, [
1475
+ l("span", qt, O(e.label), 1)
1466
1476
  ])) : T("", !0),
1467
1477
  l("select", {
1468
1478
  ref_key: "selectElement",
@@ -1471,21 +1481,21 @@ const Ee = Q("SunIcon", [
1471
1481
  value: e.modelValue,
1472
1482
  onChange: i
1473
1483
  }, [
1474
- e.placeholder ? (a(), r("option", qt, O(e.placeholder), 1)) : T("", !0),
1484
+ e.placeholder ? (a(), r("option", Wt, O(e.placeholder), 1)) : T("", !0),
1475
1485
  (a(!0), r(j, null, E(e.options, (S) => (a(), r("option", {
1476
1486
  key: S.value,
1477
1487
  value: S.value
1478
- }, O(S.text), 9, Ht))), 128))
1479
- ], 40, _t)
1488
+ }, O(S.text), 9, Kt))), 128))
1489
+ ], 40, Ht)
1480
1490
  ]));
1481
1491
  }
1482
- }), Wt = {
1492
+ }), Xt = {
1483
1493
  key: 0,
1484
1494
  class: "label"
1485
- }, Kt = { class: "label-text" }, Xt = ["onKeydown", "aria-expanded", "aria-activedescendant"], Gt = ["placeholder", "disabled"], Jt = {
1495
+ }, Gt = { class: "label-text" }, Jt = ["onKeydown", "aria-expanded", "aria-activedescendant"], Zt = ["placeholder", "disabled"], Qt = {
1486
1496
  class: "top-full z-10 absolute bg-base-100 shadow-lg mt-1 rounded-md w-full dropdown-content",
1487
1497
  role: "listbox"
1488
- }, Zt = { class: "flex-nowrap p-0 w-[inherit] max-h-60 overflow-y-auto menu" }, Qt = ["onMousedown", "id", "aria-selected"], Zl = {
1498
+ }, Yt = { class: "flex-nowrap p-0 w-[inherit] max-h-60 overflow-y-auto menu" }, el = ["onMousedown", "id", "aria-selected"], Yl = {
1489
1499
  __name: "filterableSelect",
1490
1500
  props: {
1491
1501
  // Array of options: [{ value: any, text: string }, ...]
@@ -1515,8 +1525,8 @@ const Ee = Q("SunIcon", [
1515
1525
  }
1516
1526
  },
1517
1527
  emits: ["update:modelValue", "select", "clear"],
1518
- setup(e, { expose: c, emit: t }) {
1519
- const o = e, u = t, s = we(), i = _(() => {
1528
+ setup(e, { expose: f, emit: t }) {
1529
+ const o = e, d = t, s = we(), i = U(() => {
1520
1530
  const $ = (s.default ? s.default() : []).filter((h) => h.type !== xe);
1521
1531
  return console.log("hasDefaultSlotContent computed:", $.length > 0), $.length > 0;
1522
1532
  }), g = k(""), v = k(null), p = k(!1), S = k(null), I = k(null), z = k(null), y = k(null), w = () => {
@@ -1525,7 +1535,7 @@ const Ee = Q("SunIcon", [
1525
1535
  p.value = !1, y.value = null, i.value || (v.value && g.value !== v.value.text ? g.value = v.value.text : v.value || (g.value = ""));
1526
1536
  }, C = () => {
1527
1537
  p.value ? x() : w();
1528
- }, B = _(() => {
1538
+ }, B = U(() => {
1529
1539
  const n = g.value ? g.value.toLowerCase() : "";
1530
1540
  return n === "" && !p.value ? [] : o.options.filter(
1531
1541
  (h) => h && h.text ? h.text.toLowerCase().includes(n) : ""
@@ -1555,23 +1565,23 @@ const Ee = Q("SunIcon", [
1555
1565
  n ? setTimeout(() => {
1556
1566
  document.addEventListener("click", L);
1557
1567
  }, 0) : document.removeEventListener("click", L);
1558
- }), ie(() => {
1568
+ }), re(() => {
1559
1569
  document.removeEventListener("click", L), window.removeEventListener("keydown", b);
1560
1570
  });
1561
1571
  const N = () => {
1562
1572
  if (o.disabled) return;
1563
1573
  const n = v.value;
1564
- u("update:modelValue", null), n && u("clear", n);
1574
+ d("update:modelValue", null), n && d("clear", n);
1565
1575
  }, m = (n) => {
1566
- v.value = n, i.value || (g.value = n.text), u("update:modelValue", n.value), u("select", n), x();
1567
- }, d = () => {
1576
+ v.value = n, i.value || (g.value = n.text), d("update:modelValue", n.value), d("select", n), x();
1577
+ }, u = () => {
1568
1578
  B.value.length > 0 && m(B.value[0]);
1569
- }, f = () => {
1579
+ }, c = () => {
1570
1580
  p.value || w();
1571
1581
  }, b = (n) => {
1572
1582
  if (!p.value || B.value.length === 0) return;
1573
1583
  const $ = B.value.findIndex(
1574
- (D, F) => "option-" + F === y.value
1584
+ (D, _) => "option-" + _ === y.value
1575
1585
  );
1576
1586
  let h = -1;
1577
1587
  if (n.key === "ArrowDown")
@@ -1581,7 +1591,7 @@ const Ee = Q("SunIcon", [
1581
1591
  else if (n.key === "Enter" && y.value) {
1582
1592
  n.preventDefault();
1583
1593
  const D = B.value.find(
1584
- (F, q) => "option-" + q === y.value
1594
+ (_, q) => "option-" + q === y.value
1585
1595
  );
1586
1596
  D && m(D);
1587
1597
  return;
@@ -1600,9 +1610,9 @@ const Ee = Q("SunIcon", [
1600
1610
  };
1601
1611
  return A(p, (n) => {
1602
1612
  n ? (window.addEventListener("keydown", b), !i.value && !g.value && v.value && (g.value = v.value.text)) : window.removeEventListener("keydown", b);
1603
- }), ie(() => {
1613
+ }), re(() => {
1604
1614
  document.removeEventListener("click", L), window.removeEventListener("keydown", b);
1605
- }), c({
1615
+ }), f({
1606
1616
  isDropdownOpen: p,
1607
1617
  // Expose state
1608
1618
  selectedItem: v,
@@ -1624,19 +1634,19 @@ const Ee = Q("SunIcon", [
1624
1634
  ref_key: "componentRoot",
1625
1635
  ref: I
1626
1636
  }, [
1627
- e.label ? (a(), r("label", Wt, [
1628
- l("span", Kt, O(e.label), 1)
1637
+ e.label ? (a(), r("label", Xt, [
1638
+ l("span", Gt, O(e.label), 1)
1629
1639
  ])) : T("", !0),
1630
1640
  l("div", {
1631
- class: M(["flex items-center input-bordered rounded-md w-fit cursor-pointer", { input: !i.value, select: !i.value }]),
1641
+ class: V(["flex items-center input-bordered rounded-md w-fit cursor-pointer", { input: !i.value, select: !i.value }]),
1632
1642
  style: Z(
1633
1643
  v.value ? "background-image: unset; padding-right: 0.5rem;" : ""
1634
1644
  ),
1635
1645
  tabindex: "0",
1636
1646
  onClick: $[1] || ($[1] = (h) => i.value ? C() : w()),
1637
1647
  onKeydown: [
1638
- re(H(d, ["prevent"]), ["enter"]),
1639
- re(H(d, ["prevent"]), ["space"])
1648
+ ue(H(u, ["prevent"]), ["enter"]),
1649
+ ue(H(u, ["prevent"]), ["space"])
1640
1650
  ],
1641
1651
  onBlur: R,
1642
1652
  role: "combobox",
@@ -1647,8 +1657,8 @@ const Ee = Q("SunIcon", [
1647
1657
  ref_key: "activatorWrapper",
1648
1658
  ref: z
1649
1659
  }, [
1650
- V(n.$slots, "default", {}, () => [
1651
- i.value ? T("", !0) : ee((a(), r("input", {
1660
+ M(n.$slots, "default", {}, () => [
1661
+ i.value ? T("", !0) : te((a(), r("input", {
1652
1662
  key: 0,
1653
1663
  type: "text",
1654
1664
  placeholder: e.placeholder,
@@ -1657,53 +1667,53 @@ const Ee = Q("SunIcon", [
1657
1667
  ref_key: "filterInput",
1658
1668
  ref: S,
1659
1669
  onFocus: w,
1660
- onInput: f,
1670
+ onInput: c,
1661
1671
  tabindex: "-1",
1662
1672
  disabled: o.disabled
1663
- }, null, 40, Gt)), [
1673
+ }, null, 40, Zt)), [
1664
1674
  [me, g.value]
1665
1675
  ])
1666
1676
  ]),
1667
- v.value && !e.disabled ? (a(), W(U(je), {
1677
+ v.value && !e.disabled ? (a(), W(F(je), {
1668
1678
  key: 0,
1669
1679
  size: 20,
1670
1680
  class: "mx-2 text-base-content/50 hover:text-base-content/80 cursor-pointer",
1671
1681
  onClick: H(N, ["stop"])
1672
1682
  })) : T("", !0),
1673
- i.value && !v.value ? (a(), W(U(Pe), {
1683
+ i.value && !v.value ? (a(), W(F(Pe), {
1674
1684
  key: 1,
1675
- class: M([{ "rotate-180": p.value }, "mx-2"]),
1685
+ class: V([{ "rotate-180": p.value }, "mx-2"]),
1676
1686
  size: 20
1677
1687
  }, null, 8, ["class"])) : T("", !0)
1678
- ], 46, Xt),
1679
- ee(l("div", Jt, [
1680
- l("ul", Zt, [
1688
+ ], 46, Jt),
1689
+ te(l("div", Qt, [
1690
+ l("ul", Yt, [
1681
1691
  (a(!0), r(j, null, E(B.value, (h, D) => (a(), r("li", {
1682
1692
  key: h.value,
1683
- onMousedown: H((F) => m(h), ["prevent"]),
1693
+ onMousedown: H((_) => m(h), ["prevent"]),
1684
1694
  class: "hover:bg-base-200 rounded-md w-full cursor-pointer",
1685
1695
  id: "option-" + D,
1686
1696
  role: "option",
1687
1697
  "aria-selected": v.value && v.value.value === h.value
1688
1698
  }, [
1689
1699
  l("a", null, O(h.text), 1)
1690
- ], 40, Qt))), 128))
1700
+ ], 40, el))), 128))
1691
1701
  ])
1692
1702
  ], 512), [
1693
1703
  [ke, p.value && B.value.length > 0]
1694
1704
  ])
1695
1705
  ], 512));
1696
1706
  }
1697
- }, Yt = { class: "w-full max-w-xs form-control" }, el = {
1707
+ }, tl = { class: "w-full max-w-xs form-control" }, ll = {
1698
1708
  key: 0,
1699
1709
  class: "label"
1700
- }, tl = { class: "label-text" }, ll = ["type", "placeholder", "disabled", "value"], nl = {
1710
+ }, nl = { class: "label-text" }, al = ["type", "placeholder", "disabled", "value"], ol = {
1701
1711
  key: 1,
1702
1712
  class: "label"
1703
- }, al = { class: "label-text-alt text-error validator-hint" }, ol = {
1713
+ }, sl = { class: "label-text-alt text-error validator-hint" }, il = {
1704
1714
  key: 2,
1705
1715
  class: "label"
1706
- }, sl = { class: "label-text-alt text-success validator-hint" }, Ql = /* @__PURE__ */ P({
1716
+ }, rl = { class: "label-text-alt text-success validator-hint" }, en = /* @__PURE__ */ P({
1707
1717
  __name: "inputField",
1708
1718
  props: {
1709
1719
  modelValue: { default: "" },
@@ -1719,15 +1729,15 @@ const Ee = Q("SunIcon", [
1719
1729
  disabled: { type: Boolean, default: !1 }
1720
1730
  },
1721
1731
  emits: ["update:modelValue", "validate"],
1722
- setup(e, { expose: c, emit: t }) {
1723
- const o = e, u = t, s = k(null), i = k(!1), g = k(""), v = _(() => {
1732
+ setup(e, { expose: f, emit: t }) {
1733
+ const o = e, d = t, s = k(null), i = k(!1), g = k(""), v = U(() => {
1724
1734
  var C, B, L, R;
1725
1735
  let y = !0, w = "";
1726
1736
  const x = o.modelValue;
1727
- return (C = o.rules) != null && C.required && (x == null || x === "") && (y = !1, w = "This field is required."), y && ((B = o.rules) == null ? void 0 : B.minLength) !== void 0 && typeof x == "string" && x.length < o.rules.minLength && (y = !1, w = `Must be at least ${o.rules.minLength} characters.`), y && ((L = o.rules) == null ? void 0 : L.maxLength) !== void 0 && typeof x == "string" && x.length > o.rules.maxLength && (y = !1, w = `Cannot exceed ${o.rules.maxLength} characters.`), y && ((R = o.rules) != null && R.email) && typeof x == "string" && x && (/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(x) || (y = !1, w = "Please enter a valid email address.")), g.value = w, u("validate", y), y;
1728
- }), p = _(() => i.value && !v.value), S = (y) => {
1737
+ return (C = o.rules) != null && C.required && (x == null || x === "") && (y = !1, w = "This field is required."), y && ((B = o.rules) == null ? void 0 : B.minLength) !== void 0 && typeof x == "string" && x.length < o.rules.minLength && (y = !1, w = `Must be at least ${o.rules.minLength} characters.`), y && ((L = o.rules) == null ? void 0 : L.maxLength) !== void 0 && typeof x == "string" && x.length > o.rules.maxLength && (y = !1, w = `Cannot exceed ${o.rules.maxLength} characters.`), y && ((R = o.rules) != null && R.email) && typeof x == "string" && x && (/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(x) || (y = !1, w = "Please enter a valid email address.")), g.value = w, d("validate", y), y;
1738
+ }), p = U(() => i.value && !v.value), S = (y) => {
1729
1739
  const w = y.target;
1730
- u("update:modelValue", w.value), i.value && v.value;
1740
+ d("update:modelValue", w.value), i.value && v.value;
1731
1741
  }, I = () => {
1732
1742
  i.value = !0, v.value;
1733
1743
  };
@@ -1736,7 +1746,7 @@ const Ee = Q("SunIcon", [
1736
1746
  () => {
1737
1747
  i.value && v.value;
1738
1748
  }
1739
- ), c({
1749
+ ), f({
1740
1750
  focusInput: () => {
1741
1751
  var y;
1742
1752
  console.log("inputField.vue: focusInput method called."), (y = s.value) == null || y.focus();
@@ -1744,18 +1754,18 @@ const Ee = Q("SunIcon", [
1744
1754
  isValid: v,
1745
1755
  isTouched: i,
1746
1756
  errorMessage: g
1747
- }), (y, w) => (a(), r("div", Yt, [
1748
- e.label ? (a(), r("label", el, [
1749
- l("span", tl, O(e.label), 1)
1757
+ }), (y, w) => (a(), r("div", tl, [
1758
+ e.label ? (a(), r("label", ll, [
1759
+ l("span", nl, O(e.label), 1)
1750
1760
  ])) : T("", !0),
1751
- V(y.$slots, "default"),
1761
+ M(y.$slots, "default"),
1752
1762
  l("input", {
1753
1763
  ref_key: "inputElement",
1754
1764
  ref: s,
1755
1765
  type: e.type,
1756
1766
  placeholder: e.placeholder,
1757
1767
  disabled: o.disabled,
1758
- class: M(["input-bordered rounded-md w-full input validator", [
1768
+ class: V(["input-bordered rounded-md w-full input validator", [
1759
1769
  {
1760
1770
  // Size classes - Apply based on size prop
1761
1771
  "input-xs": e.size === "xs",
@@ -1785,15 +1795,15 @@ const Ee = Q("SunIcon", [
1785
1795
  value: e.modelValue,
1786
1796
  onInput: S,
1787
1797
  onBlur: I
1788
- }, null, 42, ll),
1789
- p.value ? (a(), r("div", nl, [
1790
- l("span", al, O(g.value), 1)
1791
- ])) : v.value && i.value && e.successMessage ? (a(), r("div", ol, [
1792
- l("span", sl, O(e.successMessage), 1)
1798
+ }, null, 42, al),
1799
+ p.value ? (a(), r("div", ol, [
1800
+ l("span", sl, O(g.value), 1)
1801
+ ])) : v.value && i.value && e.successMessage ? (a(), r("div", il, [
1802
+ l("span", rl, O(e.successMessage), 1)
1793
1803
  ])) : T("", !0)
1794
1804
  ]));
1795
1805
  }
1796
- }), Yl = /* @__PURE__ */ P({
1806
+ }), tn = /* @__PURE__ */ P({
1797
1807
  __name: "loader",
1798
1808
  props: {
1799
1809
  loading: { type: Boolean, default: !0 },
@@ -1802,15 +1812,15 @@ const Ee = Q("SunIcon", [
1802
1812
  color: { default: "primary" }
1803
1813
  },
1804
1814
  setup(e) {
1805
- const c = e, t = k(c.loading);
1815
+ const f = e, t = k(f.loading);
1806
1816
  return A(
1807
- () => c.loading,
1817
+ () => f.loading,
1808
1818
  (o) => {
1809
1819
  t.value = o;
1810
1820
  }
1811
- ), (o, u) => t.value ? (a(), r("span", {
1821
+ ), (o, d) => t.value ? (a(), r("span", {
1812
1822
  key: 0,
1813
- class: M(["loading", [
1823
+ class: V(["loading", [
1814
1824
  { "loading-xs": e.size === "xs" },
1815
1825
  { "loading-sm": e.size === "sm" },
1816
1826
  { "loading-md": e.size === "md" },
@@ -1835,13 +1845,13 @@ const Ee = Q("SunIcon", [
1835
1845
  ]])
1836
1846
  }, null, 2)) : T("", !0);
1837
1847
  }
1838
- }), il = { class: "footer sm:footer-horizontal container" }, rl = { class: "footer-title" }, ul = ["href"], dl = {
1848
+ }), ul = { class: "footer sm:footer-horizontal container" }, dl = { class: "footer-title" }, cl = ["href"], fl = {
1839
1849
  key: 0,
1840
1850
  class: "sm:hidden w-full"
1841
- }, cl = { class: "border-b-2 border-base-100 last:border-b-0 w-full" }, fl = {
1851
+ }, ml = { class: "border-b-2 border-base-100 last:border-b-0 w-full" }, vl = {
1842
1852
  tabindex: "0",
1843
1853
  class: "collapse collapse-plus w-full"
1844
- }, ml = { class: "collapse-title font-bold text-lg collapsible-footer-title" }, vl = { class: "collapse-content flex w-full text-sm" }, pl = { class: "flex flex-col gap-2.5" }, hl = { class: "w-full" }, gl = ["href"], bl = { class: "w-full" }, en = /* @__PURE__ */ P({
1854
+ }, pl = { class: "collapse-title font-bold text-lg collapsible-footer-title" }, hl = { class: "collapse-content flex w-full text-sm" }, gl = { class: "flex flex-col gap-2.5" }, bl = { class: "w-full" }, yl = ["href"], wl = { class: "w-full" }, ln = /* @__PURE__ */ P({
1845
1855
  __name: "footer",
1846
1856
  props: {
1847
1857
  items: {},
@@ -1850,118 +1860,118 @@ const Ee = Q("SunIcon", [
1850
1860
  collapseOnMobile: { type: Boolean, default: !1 }
1851
1861
  },
1852
1862
  setup(e) {
1853
- const c = e;
1863
+ const f = e;
1854
1864
  return (t, o) => (a(), r("div", {
1855
- class: M(["mx-auto md:px-10 py-10 text-base-content", [e.background ?? "bg-base-200", e.color ?? "text-base-content"]])
1865
+ class: V(["mx-auto md:px-10 py-10 text-base-content", [e.background ?? "bg-base-200", e.color ?? "text-base-content"]])
1856
1866
  }, [
1857
- l("footer", il, [
1858
- (a(!0), r(j, null, E(c.items, (u) => (a(), r("nav", {
1859
- class: M([{ "hidden sm:grid": e.collapseOnMobile }])
1867
+ l("footer", ul, [
1868
+ (a(!0), r(j, null, E(f.items, (d) => (a(), r("nav", {
1869
+ class: V([{ "hidden sm:grid": e.collapseOnMobile }])
1860
1870
  }, [
1861
- l("h6", rl, O(u.title), 1),
1862
- (a(!0), r(j, null, E(u.items, (s) => (a(), r("a", {
1871
+ l("h6", dl, O(d.title), 1),
1872
+ (a(!0), r(j, null, E(d.items, (s) => (a(), r("a", {
1863
1873
  class: "link link-hover",
1864
1874
  href: s.link
1865
- }, O(s.text), 9, ul))), 256))
1875
+ }, O(s.text), 9, cl))), 256))
1866
1876
  ], 2))), 256)),
1867
- e.collapseOnMobile ? (a(), r("nav", dl, [
1868
- (a(!0), r(j, null, E(c.items, (u) => (a(), r("ul", cl, [
1869
- l("div", fl, [
1870
- l("div", ml, O(u.title), 1),
1871
- l("div", vl, [
1872
- l("ul", pl, [
1873
- (a(!0), r(j, null, E(u.items, (s) => (a(), r("li", hl, [
1877
+ e.collapseOnMobile ? (a(), r("nav", fl, [
1878
+ (a(!0), r(j, null, E(f.items, (d) => (a(), r("ul", ml, [
1879
+ l("div", vl, [
1880
+ l("div", pl, O(d.title), 1),
1881
+ l("div", hl, [
1882
+ l("ul", gl, [
1883
+ (a(!0), r(j, null, E(d.items, (s) => (a(), r("li", bl, [
1874
1884
  l("a", {
1875
1885
  class: "w-full font-medium link link-hover",
1876
1886
  href: s.link
1877
- }, O(s.text), 9, gl)
1887
+ }, O(s.text), 9, yl)
1878
1888
  ]))), 256))
1879
1889
  ])
1880
1890
  ])
1881
1891
  ])
1882
1892
  ]))), 256))
1883
1893
  ])) : T("", !0),
1884
- l("aside", bl, [
1885
- V(t.$slots, "default")
1894
+ l("aside", wl, [
1895
+ M(t.$slots, "default")
1886
1896
  ])
1887
1897
  ])
1888
1898
  ], 2));
1889
1899
  }
1890
- }), yl = {}, wl = { class: "min-h-40 container hero" }, xl = { class: "px-0! text-center hero-content" }, kl = { class: "mt-9 text-4xl" };
1891
- function $l(e, c) {
1892
- return a(), r("div", wl, [
1893
- l("div", xl, [
1900
+ }), xl = {}, kl = { class: "min-h-40 container hero" }, $l = { class: "px-0! text-center hero-content" }, Cl = { class: "mt-9 text-4xl" };
1901
+ function Sl(e, f) {
1902
+ return a(), r("div", kl, [
1903
+ l("div", $l, [
1894
1904
  l("div", null, [
1895
- l("h1", kl, [
1896
- V(e.$slots, "title", {}, () => [
1897
- c[0] || (c[0] = ue("hero title", -1))
1905
+ l("h1", Cl, [
1906
+ M(e.$slots, "title", {}, () => [
1907
+ f[0] || (f[0] = ee("hero title", -1))
1898
1908
  ])
1899
1909
  ]),
1900
1910
  l("p", null, [
1901
- V(e.$slots, "description", { class: "py-9" })
1911
+ M(e.$slots, "description", { class: "py-9" })
1902
1912
  ]),
1903
- V(e.$slots, "call-to-action-block", { class: "max-w-full" }, () => [
1904
- c[1] || (c[1] = l("button", { class: "btn btn-primary" }, "Call to action", -1))
1913
+ M(e.$slots, "call-to-action-block", { class: "max-w-full" }, () => [
1914
+ f[1] || (f[1] = l("button", { class: "btn btn-primary" }, "Call to action", -1))
1905
1915
  ])
1906
1916
  ])
1907
1917
  ])
1908
1918
  ]);
1909
1919
  }
1910
- const tn = /* @__PURE__ */ J(yl, [["render", $l]]), Cl = { class: "flex flex-row place-content-center gap-4 categories" }, Sl = ["onClick"], ln = /* @__PURE__ */ P({
1920
+ const nn = /* @__PURE__ */ J(xl, [["render", Sl]]), Il = { class: "flex flex-row place-content-center gap-4 categories" }, Tl = ["onClick"], an = /* @__PURE__ */ P({
1911
1921
  __name: "categoryNavigation",
1912
1922
  props: {
1913
1923
  searchOptions: {},
1914
1924
  currentCategory: {}
1915
1925
  },
1916
1926
  emits: ["update:currentCategory"],
1917
- setup(e, { emit: c }) {
1918
- const t = e, o = c;
1919
- function u(s) {
1927
+ setup(e, { emit: f }) {
1928
+ const t = e, o = f;
1929
+ function d(s) {
1920
1930
  o("update:currentCategory", s);
1921
1931
  }
1922
- return (s, i) => (a(), r("div", Cl, [
1932
+ return (s, i) => (a(), r("div", Il, [
1923
1933
  (a(!0), r(j, null, E(t.searchOptions, (g) => (a(), r("div", {
1924
1934
  key: g.category
1925
1935
  }, [
1926
1936
  l("button", {
1927
- onClick: (v) => u(g.category),
1928
- class: M(["truncate btn btn-ghost", { "font-semibold": t.currentCategory === g.category }])
1929
- }, O(g.category), 11, Sl)
1937
+ onClick: (v) => d(g.category),
1938
+ class: V(["truncate btn btn-ghost", { "font-semibold": t.currentCategory === g.category }])
1939
+ }, O(g.category), 11, Tl)
1930
1940
  ]))), 128))
1931
1941
  ]));
1932
1942
  }
1933
- }), Il = { class: "md:flex hidden navbar-start" }, Tl = { class: "md:flex justify-center items-center hidden navbar-center" }, Ml = { class: "md:flex hidden navbar-end" }, Vl = { class: "navbar-bottom md:flex hidden" }, Bl = /* @__PURE__ */ P({
1943
+ }), Ml = { class: "md:flex hidden navbar-start" }, Vl = { class: "md:flex justify-center items-center hidden navbar-center" }, Bl = { class: "md:flex hidden navbar-end" }, Dl = { class: "navbar-bottom md:flex hidden" }, zl = /* @__PURE__ */ P({
1934
1944
  __name: "navigationBar",
1935
1945
  props: {
1936
1946
  isCollapsed: { type: Boolean, default: !0 }
1937
1947
  },
1938
1948
  setup(e) {
1939
- const c = e;
1949
+ const f = e;
1940
1950
  return (t, o) => (a(), r("nav", {
1941
- class: M(["place-items-start border-primary bg-base-100 px-5 py-5 border-b-4 transition-all navbar navigationbar", c.isCollapsed ? "collapsed" : ""])
1951
+ class: V(["place-items-start border-primary bg-base-100 px-5 py-5 border-b-4 transition-all navbar navigationbar", f.isCollapsed ? "collapsed" : ""])
1942
1952
  }, [
1943
- l("div", Il, [
1944
- V(t.$slots, "start", {}, void 0, !0)
1945
- ]),
1946
- l("div", Tl, [
1947
- V(t.$slots, "center", {}, void 0, !0)
1948
- ]),
1949
1953
  l("div", Ml, [
1950
- V(t.$slots, "end", {}, void 0, !0)
1954
+ M(t.$slots, "start", {}, void 0, !0)
1951
1955
  ]),
1952
1956
  l("div", Vl, [
1953
- V(t.$slots, "bottom", {}, void 0, !0)
1957
+ M(t.$slots, "center", {}, void 0, !0)
1958
+ ]),
1959
+ l("div", Bl, [
1960
+ M(t.$slots, "end", {}, void 0, !0)
1961
+ ]),
1962
+ l("div", Dl, [
1963
+ M(t.$slots, "bottom", {}, void 0, !0)
1954
1964
  ])
1955
1965
  ], 2));
1956
1966
  }
1957
- }), nn = /* @__PURE__ */ J(Bl, [["__scopeId", "data-v-8ddb2b45"]]), Dl = {
1967
+ }), on = /* @__PURE__ */ J(zl, [["__scopeId", "data-v-8ddb2b45"]]), Ol = {
1958
1968
  key: 0,
1959
1969
  class: "hidden top-4 right-0 absolute md:flex gap-4"
1960
- }, zl = ["onClick", "aria-selected"], Ol = {
1970
+ }, Pl = ["onClick", "aria-selected"], jl = {
1961
1971
  key: 0,
1962
1972
  role: "tabpanel",
1963
1973
  class: "p-6 border-x-0 border-t-2 border-b-0 border-base-300 max-w-full overflow-x-auto tab-content"
1964
- }, Pl = { class: "p-6 border-x-0 border-t-2 border-b-0 border-base-300 max-w-full" }, an = /* @__PURE__ */ P({
1974
+ }, Ll = { class: "p-6 border-x-0 border-t-2 border-b-0 border-base-300 max-w-full" }, sn = /* @__PURE__ */ P({
1965
1975
  __name: "tab",
1966
1976
  props: {
1967
1977
  items: {},
@@ -1970,10 +1980,10 @@ const tn = /* @__PURE__ */ J(yl, [["render", $l]]), Cl = { class: "flex flex-row
1970
1980
  buttonOnlyMode: { type: Boolean, default: !1 }
1971
1981
  },
1972
1982
  emits: ["tab-changed"],
1973
- setup(e, { emit: c }) {
1974
- const t = e, o = k(t.items[0]), u = c;
1983
+ setup(e, { emit: f }) {
1984
+ const t = e, o = k(t.items[0]), d = f;
1975
1985
  function s(v) {
1976
- o.value = v, u("tab-changed", v);
1986
+ o.value = v, d("tab-changed", v);
1977
1987
  }
1978
1988
  function i() {
1979
1989
  const p = (t.items.indexOf(o.value) + 1) % t.items.length;
@@ -1992,9 +2002,9 @@ const tn = /* @__PURE__ */ J(yl, [["render", $l]]), Cl = { class: "flex flex-row
1992
2002
  }), (v, p) => (a(), r(j, null, [
1993
2003
  l("div", {
1994
2004
  role: "tablist",
1995
- class: M(["relative tabs-bordered w-full tabs tabs-lg", { "flex-nowrap overflow-x-auto": e.buttonOnlyMode }])
2005
+ class: V(["relative tabs-bordered w-full tabs tabs-lg", { "flex-nowrap overflow-x-auto": e.buttonOnlyMode }])
1996
2006
  }, [
1997
- e.withControlls ? (a(), r("div", Dl, [
2007
+ e.withControlls ? (a(), r("div", Ol, [
1998
2008
  l("button", {
1999
2009
  onClick: p[0] || (p[0] = (S) => g()),
2000
2010
  class: "cursor-pointer"
@@ -2008,17 +2018,17 @@ const tn = /* @__PURE__ */ J(yl, [["render", $l]]), Cl = { class: "flex flex-row
2008
2018
  l("a", {
2009
2019
  type: "button",
2010
2020
  role: "tab",
2011
- class: M(["min-w-max tab", S === o.value ? "bg-primary text-base-100" : ""]),
2021
+ class: V(["min-w-max tab", S === o.value ? "bg-primary text-base-100" : ""]),
2012
2022
  onClick: (I) => s(S),
2013
2023
  "aria-selected": o.value == S
2014
- }, O(S), 11, zl),
2015
- e.buttonOnlyMode ? T("", !0) : (a(), r("div", Ol, [
2016
- V(v.$slots, `${S}-tab`)
2024
+ }, O(S), 11, Pl),
2025
+ e.buttonOnlyMode ? T("", !0) : (a(), r("div", jl, [
2026
+ M(v.$slots, `${S}-tab`)
2017
2027
  ]))
2018
2028
  ], 64))), 256))
2019
2029
  ], 2),
2020
- l("div", Pl, [
2021
- V(v.$slots, "default")
2030
+ l("div", Ll, [
2031
+ M(v.$slots, "default")
2022
2032
  ])
2023
2033
  ], 64));
2024
2034
  }
@@ -2026,28 +2036,28 @@ const tn = /* @__PURE__ */ J(yl, [["render", $l]]), Cl = { class: "flex flex-row
2026
2036
  typeof document > "u" && (globalThis.document = {});
2027
2037
  typeof window > "u" && (globalThis.window = globalThis);
2028
2038
  export {
2029
- Fl as Accordion,
2030
- Kl as AdvancedSearch,
2031
- Ul as Avatar,
2032
- _l as Badge,
2033
- Ll as ButtonComponent,
2034
- ql as Card,
2035
- Hl as Carousel,
2036
- Wl as CarouselItem,
2037
- ln as CategoryNavigation,
2038
- Ot as DatetimePicker,
2039
- El as Dropdown,
2040
- Zl as FilterableSelect,
2041
- en as Footer,
2042
- tn as Hero,
2043
- Ql as InputField,
2044
- Yl as Loader,
2045
- Al as Modal,
2046
- nn as NavigationBar,
2047
- Xl as Rating,
2048
- Jl as Selector,
2049
- Rl as Swap,
2050
- an as Tab,
2051
- Gl as TagInput,
2052
- Nl as ThemeController
2039
+ Ul as Accordion,
2040
+ Gl as AdvancedSearch,
2041
+ ql as Avatar,
2042
+ Hl as Badge,
2043
+ Al as ButtonComponent,
2044
+ Wl as Card,
2045
+ Kl as Carousel,
2046
+ Xl as CarouselItem,
2047
+ an as CategoryNavigation,
2048
+ jt as DatetimePicker,
2049
+ Rl as Dropdown,
2050
+ Yl as FilterableSelect,
2051
+ ln as Footer,
2052
+ nn as Hero,
2053
+ en as InputField,
2054
+ tn as Loader,
2055
+ Nl as Modal,
2056
+ on as NavigationBar,
2057
+ Jl as Rating,
2058
+ Ql as Selector,
2059
+ _l as Swap,
2060
+ sn as Tab,
2061
+ Zl as TagInput,
2062
+ Fl as ThemeController
2053
2063
  };