@base-framework/ui 1.2.21 → 1.2.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/atoms.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as e, f as t, h as o, i as n, k as r, l as i, m as u, n as l, t as p, w as I, J as c, L as m, M as d, U as g, $ as B, a0 as T, a1 as C, a4 as f, a5 as S, a6 as x, aa as h, af as k, am as M, ap as U, at as w, au as F, aw as H, ax as L, ay as P, aC as R, aH as V, aI as Z, aK as b, aO as D, aP as G, aQ as J, aR as W, aU as v, aV as y, aW as E, aZ as K, a_ as N } from "./full-page-B0KVK4o6.js";
1
+ import { c as e, f as t, h as o, i as n, k as r, l as i, m as u, n as l, t as p, w as I, J as c, L as m, M as d, U as g, $ as B, a0 as T, a1 as C, a4 as f, a5 as S, a6 as x, aa as h, af as k, am as M, ap as U, at as w, au as F, aw as H, ax as L, ay as P, aC as R, aH as V, aI as Z, aK as b, aO as D, aP as G, aQ as J, aR as W, aU as v, aV as y, aW as E, aZ as K, a_ as N } from "./full-page-CJLpFbzU.js";
2
2
  import { S as Q } from "./skeleton-BlY3opxG.js";
3
3
  export {
4
4
  e as Badge,
@@ -1,6 +1,6 @@
1
1
  import { Component as c, Html as m, Dom as y, base as w, Data as T, Builder as b, DateTime as g } from "@base-framework/base";
2
2
  import { Li as v, Span as u, Div as r, Ul as D, Button as S, I as x, OnState as B, Time as Y } from "@base-framework/atoms";
3
- import { ar as k, b0 as C, f as h, al as N, F as O } from "./full-page-B0KVK4o6.js";
3
+ import { ar as k, b0 as C, f as h, al as N, F as O } from "./full-page-CJLpFbzU.js";
4
4
  import { List as F, DynamicTime as E } from "@base-framework/organisms";
5
5
  class X extends c {
6
6
  /**
@@ -1,5 +1,5 @@
1
- import { I as Y, Span as g, Button as w, OnState as T, Div as o, Legend as at, Fieldset as ot, H4 as Ee, P as k, Label as V, Checkbox as ce, Input as p, Textarea as lt, UseParent as W, Img as de, H5 as rt, H2 as J, Form as it, Header as Z, Footer as ue, A as Ue, H3 as he, Nav as fe, Ul as X, Li as ge, OnStateOpen as me, On as Q, Dialog as ct, Th as Ye, Thead as dt, Tr as ut, Table as be, Time as ht, H1 as ft } from "@base-framework/atoms";
2
- import { Atom as r, Jot as M, Component as C, Html as gt, Data as z, Events as j, DateTime as ee, NavLink as mt, router as ve, DataTracker as Ve } from "@base-framework/base";
1
+ import { I as Y, Span as g, Button as w, OnState as T, Div as o, Legend as at, Fieldset as ot, H4 as Ue, P as k, Label as V, Checkbox as ce, Input as p, Textarea as lt, UseParent as W, Img as de, H5 as rt, H2 as J, Form as it, Header as Z, Footer as ue, A as Ye, H3 as he, Nav as fe, Ul as X, Li as ge, OnStateOpen as me, On as Q, Dialog as ct, Th as Ve, Thead as dt, Tr as ut, Table as be, Time as ht, H1 as ft } from "@base-framework/atoms";
2
+ import { Atom as r, Jot as M, Component as C, Html as gt, Data as z, Events as j, DateTime as ee, NavLink as mt, router as ke, DataTracker as We } from "@base-framework/base";
3
3
  import { Icons as u } from "./icons.es.js";
4
4
  import { Timer as bt, TableBody as xt, DataTableBody as pt, ScrollableTableBody as yt, List as wt } from "@base-framework/organisms";
5
5
  import { F as U } from "./format-DE4rFWuD.js";
@@ -20,7 +20,7 @@ const kt = {
20
20
  class: `stroke-current icon-size ${s} ${e.class || ""}`,
21
21
  html: t[0]?.textContent
22
22
  });
23
- }), ke = {
23
+ }), Ce = {
24
24
  xs: "w-4 h-4",
25
25
  // 16px - matches Icon
26
26
  sm: "w-6 h-6",
@@ -35,7 +35,7 @@ const kt = {
35
35
  // 56px - matches Icon
36
36
  "3xl": "w-16 h-16"
37
37
  // 64px - matches Icon
38
- }, Ce = {
38
+ }, Se = {
39
39
  xs: "16px",
40
40
  sm: "24px",
41
41
  md: "32px",
@@ -43,13 +43,13 @@ const kt = {
43
43
  xl: "48px",
44
44
  "2xl": "56px",
45
45
  "3xl": "64px"
46
- }, Se = {
46
+ }, $e = {
47
47
  outlined: "material-symbols-outlined",
48
48
  filled: "material-symbols-filled",
49
49
  rounded: "material-symbols-rounded",
50
50
  sharp: "material-symbols-sharp"
51
- }, $e = r((e) => {
52
- const t = e.size || "sm", s = e.variant || "outlined", n = ke[t] || ke.sm, a = Ce[t] || Ce.sm, l = Se[s] || Se.outlined;
51
+ }, De = r((e) => {
52
+ const t = e.size || "sm", s = e.variant || "outlined", n = Ce[t] || Ce.sm, a = Se[t] || Se.sm, l = $e[s] || $e.outlined;
53
53
  return g({
54
54
  ...e,
55
55
  // @ts-ignore
@@ -62,14 +62,14 @@ const kt = {
62
62
  name: void 0
63
63
  // @ts-ignore
64
64
  }, e.name);
65
- }), x = (e = {}, t) => t ? typeof t == "string" && t.includes("<svg") ? ie(e, t) : typeof t == "object" && t.name ? $e({
65
+ }), x = (e = {}, t) => t ? typeof t == "string" && t.includes("<svg") ? ie(e, t) : typeof t == "object" && t.name ? De({
66
66
  ...e,
67
67
  name: t.name,
68
68
  variant: t.variant || e.variant || "outlined"
69
- }) : typeof t == "string" ? $e({
69
+ }) : typeof t == "string" ? De({
70
70
  ...e,
71
71
  name: t
72
- }) : ie(e, t) : null, ia = (e) => e ? !!(typeof e == "object" && e.name || typeof e == "string" && !e.includes("<svg")) : !1, ca = (e) => typeof e == "string" && e.includes("<svg"), De = {
72
+ }) : ie(e, t) : null, ia = (e) => e ? !!(typeof e == "object" && e.name || typeof e == "string" && !e.includes("<svg")) : !1, ca = (e) => typeof e == "string" && e.includes("<svg"), Ie = {
73
73
  gray: {
74
74
  backgroundColor: "bg-gray-50",
75
75
  textColor: "text-gray-600",
@@ -150,7 +150,7 @@ const kt = {
150
150
  textColor: "text-foreground",
151
151
  ringColor: "ring-white/10"
152
152
  }
153
- }, Ct = (e) => De[e] || De.gray, St = (e, t = {}) => {
153
+ }, Ct = (e) => Ie[e] || Ie.gray, St = (e, t = {}) => {
154
154
  const s = Ct(e), n = t.backgroundColor ?? s.backgroundColor, a = t.textColor ?? s.textColor, l = t.ringColor ?? s.ringColor;
155
155
  return `inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors ${n} ${a} ${l}`;
156
156
  }, da = r((e, t) => {
@@ -160,7 +160,7 @@ const kt = {
160
160
  ...t || []
161
161
  ]);
162
162
  });
163
- class We extends C {
163
+ class qe extends C {
164
164
  /**
165
165
  * This will set the component context.
166
166
  *
@@ -176,9 +176,9 @@ class We extends C {
176
176
  }
177
177
  const O = (e) => (
178
178
  /** @type {VeilComponentConstructor} */
179
- M(e, We)
179
+ M(e, qe)
180
180
  );
181
- class ua extends We {
181
+ class ua extends qe {
182
182
  /**
183
183
  * Declare public props and their defaults.
184
184
  */
@@ -294,12 +294,20 @@ const fa = r((e, t) => {
294
294
  e.icon ? x({ size: a }, e.icon) : null,
295
295
  ...t || []
296
296
  ]);
297
- }), qe = globalThis.history?.length ?? 0, R = (e) => r((t, s) => w({
297
+ });
298
+ let xe = 0;
299
+ if (typeof globalThis.history?.pushState == "function") {
300
+ const e = globalThis.history.pushState;
301
+ globalThis.history.pushState = function(...t) {
302
+ return xe++, e.apply(this, t);
303
+ };
304
+ }
305
+ const F = (e) => r((t, s) => w({
298
306
  ...e,
299
307
  ...t,
300
308
  // @ts-ignore
301
309
  class: `bttn ${e.class} ${t.class || ""}`
302
- }, s)), xe = r(
310
+ }, s)), pe = r(
303
311
  (e, t) => w({
304
312
  ...e,
305
313
  // @ts-ignore
@@ -311,35 +319,35 @@ const fa = r((e, t) => {
311
319
  // @ts-ignore
312
320
  e.icon && e.position === "right" ? x({ size: e.size || "sm", class: e.animation ?? null }, e.icon) : null
313
321
  ])
314
- ), Ie = (e) => r((t, s) => xe({
322
+ ), Te = (e) => r((t, s) => pe({
315
323
  ...e,
316
324
  ...t,
317
325
  // @ts-ignore
318
326
  class: `bttn ${e.class} ${t.class || ""}`
319
327
  }, s)), $t = (e) => {
320
- const t = globalThis.history.length, s = t > qe;
328
+ const t = globalThis.history.length;
321
329
  return () => {
322
- const a = globalThis.history.length - t, l = a + 1;
323
- if (e.allowHistory === !0 && (s || a > 0)) {
324
- globalThis.history.go(-l);
330
+ const n = globalThis.history.length - t, a = n + 1;
331
+ if (e.allowHistory === !0 && (n > 0 || xe > 0)) {
332
+ globalThis.history.go(-a);
325
333
  return;
326
334
  }
327
335
  e.backUrl && app.navigate(e.backUrl);
328
336
  };
329
- }, Dt = (e) => r((t, s) => (t.icon = t.icon || u.arrows.left, t.click = t.click || $t(t), xe({
337
+ }, Dt = (e) => r((t, s) => (t.icon = t.icon || u.arrows.left, t.click = t.click || $t(t), pe({
330
338
  ...e,
331
339
  ...t
332
340
  }, s))), It = (e) => {
333
- const t = globalThis.history.length, s = t > qe;
341
+ const t = globalThis.history.length;
334
342
  return () => {
335
- const a = globalThis.history.length - t, l = a + 1;
336
- if (s || a > 0) {
337
- globalThis.history.go(-l);
343
+ const n = globalThis.history.length - t, a = n + 1;
344
+ if (n > 0 || xe > 0) {
345
+ globalThis.history.go(-a);
338
346
  return;
339
347
  }
340
348
  e.backUrl && app.navigate(e.backUrl);
341
349
  };
342
- }, Tt = (e) => r((t, s) => (t.icon = t.icon || u.arrows.left, t.click = t.click || It(t), xe({
350
+ }, Tt = (e) => r((t, s) => (t.icon = t.icon || u.arrows.left, t.click = t.click || It(t), pe({
343
351
  ...e,
344
352
  ...t
345
353
  }, s))), Mt = r((e, t) => {
@@ -359,20 +367,20 @@ const fa = r((e, t) => {
359
367
  e.icon ? x({ size: s === "xs" ? "xs" : "sm" }, e.icon) : null,
360
368
  ...t || []
361
369
  ]);
362
- }), Te = {
363
- primary: R({ class: "primary" }),
364
- secondary: R({ class: "secondary" }),
365
- destructive: R({ class: "destructive" }),
366
- warning: R({ class: "warning" }),
367
- outline: R({ class: "outline" }),
368
- ghost: R({ class: "ghost" }),
369
- link: R({ class: "link" }),
370
- icon: Ie({ class: "icon" }),
371
- withIcon: Ie({ class: "with-icon" }),
370
+ }), Me = {
371
+ primary: F({ class: "primary" }),
372
+ secondary: F({ class: "secondary" }),
373
+ destructive: F({ class: "destructive" }),
374
+ warning: F({ class: "warning" }),
375
+ outline: F({ class: "outline" }),
376
+ ghost: F({ class: "ghost" }),
377
+ link: F({ class: "link" }),
378
+ icon: Te({ class: "icon" }),
379
+ withIcon: Te({ class: "with-icon" }),
372
380
  back: Dt({ class: "with-icon back-button" }),
373
381
  smartBack: Tt({ class: "with-icon back-button" }),
374
382
  circleIcon: Mt
375
- }, b = r((e, t) => (Te[e.variant] || Te.primary)(e, t)), ga = r((e, t) => b({ ...e, variant: "withIcon", icon: u.loading, animation: "animate-spin" }, t)), Bt = r((e, t) => {
383
+ }, b = r((e, t) => (Me[e.variant] || Me.primary)(e, t)), ga = r((e, t) => b({ ...e, variant: "withIcon", icon: u.loading, animation: "animate-spin" }, t)), Bt = r((e, t) => {
376
384
  const s = e.margin ?? "my-5 mx-5", n = e.padding ?? "p-4", a = e.border ?? "border-border";
377
385
  return e.hover && (e.class += " hover:shadow-lg hover:bg-muted/50"), o({
378
386
  ...e,
@@ -409,14 +417,14 @@ const fa = r((e, t) => {
409
417
  class: `flex flex-auto flex-col gap-y-1 ${e.labelProps?.class || ""}`
410
418
  }, [
411
419
  // @ts-ignore
412
- Ee({ class: "text-base" }, e.label),
420
+ Ue({ class: "text-base" }, e.label),
413
421
  // @ts-ignore
414
422
  e.description && k({ class: "text-sm text-muted-foreground" }, e.description)
415
423
  ]),
416
424
  // Controls container: grows to fill remaining space, spacing between items
417
425
  o({ class: "flex flex-col gap-y-4" }, t)
418
426
  ]);
419
- }), Ot = "flex h-10 w-full px-3 py-2 text-sm", B = "rounded-md border border-border bg-input", I = "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 ring-offset-background", D = "disabled:cursor-not-allowed disabled:opacity-50 [&:user-invalid]:border-destructive", H = "placeholder:text-muted-foreground", pe = `${Ot} ${B} ${I} ${H} ${D}`, Nt = ({ id: e, checked: t, bind: s, required: n }) => ce({
427
+ }), Ot = "flex h-10 w-full px-3 py-2 text-sm", B = "rounded-md border border-border bg-input", I = "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 ring-offset-background", D = "disabled:cursor-not-allowed disabled:opacity-50 [&:user-invalid]:border-destructive", H = "placeholder:text-muted-foreground", ye = `${Ot} ${B} ${I} ${H} ${D}`, Nt = ({ id: e, checked: t, bind: s, required: n }) => ce({
420
428
  id: e,
421
429
  cache: "checkbox",
422
430
  class: "absolute opacity-0 w-full h-full cursor-pointer pointer-events-none",
@@ -426,7 +434,7 @@ const fa = r((e, t) => {
426
434
  required: n,
427
435
  checked: t,
428
436
  bind: s
429
- }), Lt = () => g({ class: "absolute text-xs pointer-events-none" }, [
437
+ }), Rt = () => g({ class: "absolute text-xs pointer-events-none" }, [
430
438
  T(
431
439
  "checked",
432
440
  (e) => e ? Y({
@@ -434,7 +442,7 @@ const fa = r((e, t) => {
434
442
  html: u.check
435
443
  }) : null
436
444
  )
437
- ]), Rt = ({ id: e, bind: t, checked: s, required: n, clickHandler: a }) => o({
445
+ ]), Ft = ({ id: e, bind: t, checked: s, required: n, clickHandler: a }) => o({
438
446
  class: `relative flex items-center justify-center w-5 h-5 transition-colors duration-200 hover:border-accent-foreground
439
447
  rounded-md border
440
448
  ${I}
@@ -455,8 +463,8 @@ const fa = r((e, t) => {
455
463
  click: a
456
464
  }, [
457
465
  Nt({ bind: t, checked: s, id: e, required: n }),
458
- Lt()
459
- ]), Ft = ({ id: e, label: t, clickHandler: s }) => V({
466
+ Rt()
467
+ ]), Lt = ({ id: e, label: t, clickHandler: s }) => V({
460
468
  class: "text-base cursor-pointer",
461
469
  htmlFor: e,
462
470
  click: s
@@ -499,7 +507,7 @@ const fa = r((e, t) => {
499
507
  render() {
500
508
  const e = this.getId(), t = (s) => this.clickHandler(s);
501
509
  return o({ class: `flex items-center gap-x-2 cursor-pointer ${this.class || ""}` }, [
502
- Rt({
510
+ Ft({
503
511
  id: e,
504
512
  // @ts-ignore
505
513
  bind: this.bind,
@@ -511,7 +519,7 @@ const fa = r((e, t) => {
511
519
  clickHandler: t
512
520
  }),
513
521
  // @ts-ignore
514
- this.label && Ft({ id: e, label: this.label, clickHandler: t })
522
+ this.label && Lt({ id: e, label: this.label, clickHandler: t })
515
523
  ]);
516
524
  }
517
525
  }
@@ -525,7 +533,7 @@ const fa = r((e, t) => {
525
533
  }, N = r((e) => p({
526
534
  ...e,
527
535
  // @ts-ignore
528
- class: `${pe} ${e.class || ""}`.trim()
536
+ class: `${ye} ${e.class || ""}`.trim()
529
537
  })), ba = r((e) => N({
530
538
  ...e,
531
539
  type: "tel",
@@ -614,7 +622,7 @@ const Et = "file:border-0 file:bg-transparent file:text-sm file:font-medium file
614
622
  ...e,
615
623
  type: "file",
616
624
  // @ts-ignore
617
- class: `${pe} ${Et} ${e.class || ""}`.trim()
625
+ class: `${ye} ${Et} ${e.class || ""}`.trim()
618
626
  })), Pa = O(
619
627
  {
620
628
  /**
@@ -694,7 +702,7 @@ const Et = "file:border-0 file:bg-transparent file:text-sm file:font-medium file
694
702
  },
695
703
  ...e,
696
704
  // @ts-ignore
697
- class: `${pe} ${e.class || ""}`.trim()
705
+ class: `${ye} ${e.class || ""}`.trim()
698
706
  })), Ut = r(({ src: e, alt: t, class: s, checkPath: n = !0 }) => !e || (s = s || "", n && e.indexOf(".") === -1 && e.indexOf("[[") === -1) ? null : de({
699
707
  class: `absolute w-full h-full object-cover fadeIn ${s}`,
700
708
  src: e,
@@ -704,7 +712,7 @@ const Et = "file:border-0 file:bg-transparent file:text-sm file:font-medium file
704
712
  * If there's an error loading the image, hide it.
705
713
  */
706
714
  error: (a) => a.target.style.visibility = "hidden"
707
- })), Yt = (e) => !e || isNaN(e) ? null : e, Me = (e, t) => {
715
+ })), Yt = (e) => !e || isNaN(e) ? null : e, Be = (e, t) => {
708
716
  const s = e, n = 16, a = 2 * Math.PI * n, l = s / 100 * a, i = `
709
717
  <svg class="w-40 h-40 mx-auto" viewBox="0 0 36 36" xmlns="http://www.w3.org/2000/svg">
710
718
  <!-- Background Circle -->
@@ -748,13 +756,13 @@ const Et = "file:border-0 file:bg-transparent file:text-sm file:font-medium file
748
756
  html: i
749
757
  });
750
758
  }, Oa = r((e) => {
751
- const t = e.progress || 0, s = e.class || "", n = Me(t, s);
759
+ const t = e.progress || 0, s = e.class || "", n = Be(t, s);
752
760
  return o({
753
761
  class: "circle-graph-wrap",
754
762
  onSet: [
755
763
  // @ts-ignore
756
764
  e.prop,
757
- (a) => (a = Yt(a), a ? Me(a, s) : n)
765
+ (a) => (a = Yt(a), a ? Be(a, s) : n)
758
766
  ]
759
767
  }, [n]);
760
768
  }), Vt = () => W(({ state: e }) => o({
@@ -812,7 +820,7 @@ const Et = "file:border-0 file:bg-transparent file:text-sm file:font-medium file
812
820
  e < 0 && (e = 0), e > 100 && (e = 100), this.state.progress = e;
813
821
  }
814
822
  }
815
- ), La = r((e = {}) => {
823
+ ), Ra = r((e = {}) => {
816
824
  const {
817
825
  class: t = "",
818
826
  background: s = !0,
@@ -833,7 +841,7 @@ const Et = "file:border-0 file:bg-transparent file:text-sm file:font-medium file
833
841
  style: m,
834
842
  "aria-hidden": "true"
835
843
  });
836
- }), Ra = r((e = {}) => {
844
+ }), Fa = r((e = {}) => {
837
845
  const {
838
846
  class: t = "",
839
847
  background: s = !0,
@@ -854,7 +862,7 @@ const Et = "file:border-0 file:bg-transparent file:text-sm file:font-medium file
854
862
  style: m,
855
863
  "aria-hidden": "true"
856
864
  });
857
- }), Be = {
865
+ }), Pe = {
858
866
  top: "bottom-full left-1/2 transform -translate-x-1/2 mb-2",
859
867
  "top-right": "bottom-full left-full transform -translate-x-1 mb-2",
860
868
  "top-left": "bottom-full right-full transform translate-x-1 mb-2",
@@ -863,7 +871,7 @@ const Et = "file:border-0 file:bg-transparent file:text-sm file:font-medium file
863
871
  "bottom-left": "top-full right-full transform translate-x-1 mt-2",
864
872
  left: "top-1/2 right-full transform -translate-y-1/2 mr-2",
865
873
  right: "top-1/2 left-full transform -translate-y-1/2 ml-2"
866
- }, Wt = (e) => Be[String(e)] || Be.top, Fa = r(({ position: e = "top", content: t }, s) => {
874
+ }, Wt = (e) => Pe[String(e)] || Pe.top, La = r(({ position: e = "top", content: t }, s) => {
867
875
  const n = Wt(e);
868
876
  return Array.isArray(s) === !1 && (s = [s]), o({ class: "relative group inline-block" }, [
869
877
  ...s,
@@ -875,7 +883,7 @@ const Et = "file:border-0 file:bg-transparent file:text-sm file:font-medium file
875
883
  `
876
884
  }, t)
877
885
  ]);
878
- }), Pe = {
886
+ }), ze = {
879
887
  info: {
880
888
  borderColor: "border-blue-500",
881
889
  bgColor: "bg-muted/10",
@@ -904,7 +912,7 @@ const Et = "file:border-0 file:bg-transparent file:text-sm file:font-medium file
904
912
  }, qt = (e, t) => o({ class: `flex items-center justify-center h-6 w-6 mr-3 ${t}` }, [
905
913
  x({ size: "sm" }, e)
906
914
  ]), Gt = (e) => rt({ class: "font-semibold" }, e), _t = (e) => k({ class: "text-sm text-muted-foreground" }, e), ja = r(({ title: e, description: t, icon: s, type: n = "default" }) => {
907
- const { borderColor: a, bgColor: l, iconColor: i } = Pe[n] || Pe.default;
915
+ const { borderColor: a, bgColor: l, iconColor: i } = ze[n] || ze.default;
908
916
  return o({ class: `flex items-start p-4 border rounded-lg ${l} ${a}` }, [
909
917
  // Icon and content
910
918
  s && qt(s, i),
@@ -1185,7 +1193,7 @@ const Qt = r((e, t) => o({ ...e, class: "flex flex-auto flex-col gap-y-2" }, t))
1185
1193
  !e.hideFooter && ue({ class: "modal-footer sticky bottom-0 bg-background/80 backdrop-blur-md flex flex-none justify-between py-4 px-6 z-10" }, e.buttons)
1186
1194
  ])
1187
1195
  ]);
1188
- }), ze = {
1196
+ }), Oe = {
1189
1197
  info: {
1190
1198
  bgColor: "bg-muted/10",
1191
1199
  borderColor: "border-blue-500",
@@ -1213,7 +1221,7 @@ const Qt = r((e, t) => o({ ...e, class: "flex flex-auto flex-col gap-y-2" }, t))
1213
1221
  }
1214
1222
  }, as = (e) => Z({ class: "flex justify-center" }, [
1215
1223
  he({ class: "text-lg font-bold mb-0" }, e)
1216
- ]), os = r(({ href: e, class: t }, s) => Ue({
1224
+ ]), os = r(({ href: e, class: t }, s) => Ye({
1217
1225
  class: `bg-popover text-popover-foreground relative flex flex-auto flex-col justify-start shadow-lg pointer-events-auto p-4 border rounded-md min-w-[340px] max-w-[450px] mt-4 ${t}`,
1218
1226
  href: e,
1219
1227
  animateIn: "pullRightIn",
@@ -1274,7 +1282,7 @@ class _a extends C {
1274
1282
  */
1275
1283
  getTypeStyles() {
1276
1284
  const t = this.type || "default";
1277
- return ze[t] || ze.default;
1285
+ return Oe[t] || Oe.default;
1278
1286
  }
1279
1287
  /**
1280
1288
  * This will get the buttons for the notification.
@@ -1327,7 +1335,7 @@ class _a extends C {
1327
1335
  t && t.stopPropagation(), this.duration !== "infinite" && this.timer.stop(), this.onClick && this.onClick(), this.destroy();
1328
1336
  }
1329
1337
  }
1330
- const Oe = globalThis.matchMedia, ae = r(({ value: e, label: t, icon: s }) => w({
1338
+ const Ne = globalThis.matchMedia, ae = r(({ value: e, label: t, icon: s }) => w({
1331
1339
  class: 'text-sm gap-1 font-medium leading-none disabled:cursor-not-allowed disabled:opacity-70 flex flex-col items-center justify-between rounded-md border-2 bg-popover p-4 hover:bg-accent hover:text-accent-foreground data-[state="active"]:border-primary [&:has([data-state="active"])]:border-primary',
1332
1340
  onState: ["method", { active: e }],
1333
1341
  dataSet: ["method", ["state", e, "active"]],
@@ -1339,7 +1347,7 @@ const Oe = globalThis.matchMedia, ae = r(({ value: e, label: t, icon: s }) => w(
1339
1347
  g(t)
1340
1348
  ])), rs = (e) => {
1341
1349
  const t = document.documentElement;
1342
- if (e === "system" && (e = globalThis.matchMedia?.("(prefers-color-scheme: dark)").matches ? "dark" : "light"), Oe && !Oe("(prefers-color-scheme: " + e + ")").matches) {
1350
+ if (e === "system" && (e = globalThis.matchMedia?.("(prefers-color-scheme: dark)").matches ? "dark" : "light"), Ne && !Ne("(prefers-color-scheme: " + e + ")").matches) {
1343
1351
  t.classList.add(e);
1344
1352
  return;
1345
1353
  }
@@ -1430,7 +1438,7 @@ const Oe = globalThis.matchMedia, ae = r(({ value: e, label: t, icon: s }) => w(
1430
1438
  class: "rounded-full"
1431
1439
  })), cs = (e) => e && (Array.isArray(e) && (e = e.join(" ")), typeof e != "string" && (e = String(e)), e.split(" ").map((t) => t.charAt(0)).join("").toUpperCase()), Ke = (e) => !e || e.length < 2 ? e : cs(e), ds = (e) => g([e, (t, s) => {
1432
1440
  s.textContent = Ke(t);
1433
- }]), Ne = {
1441
+ }]), Re = {
1434
1442
  xs: "h-6 w-6",
1435
1443
  sm: "h-8 w-8",
1436
1444
  md: "h-12 w-12",
@@ -1440,7 +1448,7 @@ const Oe = globalThis.matchMedia, ae = r(({ value: e, label: t, icon: s }) => w(
1440
1448
  "3xl": "h-48 w-48",
1441
1449
  "4xl": "h-64 w-64",
1442
1450
  default: "h-12 w-12"
1443
- }, Le = {
1451
+ }, Fe = {
1444
1452
  xs: "text-[7px]",
1445
1453
  sm: "text-xs",
1446
1454
  md: "text-base",
@@ -1450,7 +1458,7 @@ const Oe = globalThis.matchMedia, ae = r(({ value: e, label: t, icon: s }) => w(
1450
1458
  "3xl": "text-4xl",
1451
1459
  "4xl": "text-5xl",
1452
1460
  default: "text-base"
1453
- }, us = (e) => Ne[e] || Ne.default, hs = (e) => Le[e] || Le.default, fs = (e, t = null, s = "md") => {
1461
+ }, us = (e) => Re[e] || Re.default, hs = (e) => Fe[e] || Fe.default, fs = (e, t = null, s = "md") => {
1454
1462
  const n = Ke(String(e)), a = hs(s);
1455
1463
  return o(
1456
1464
  {
@@ -1628,7 +1636,7 @@ const Oe = globalThis.matchMedia, ae = r(({ value: e, label: t, icon: s }) => w(
1628
1636
  this.input = null;
1629
1637
  }
1630
1638
  }
1631
- ), bs = (e, t) => Ue(
1639
+ ), bs = (e, t) => Ye(
1632
1640
  {
1633
1641
  href: e,
1634
1642
  "aria-current": t === "Breadcrumb" && "page",
@@ -1682,7 +1690,7 @@ const Oe = globalThis.matchMedia, ae = r(({ value: e, label: t, icon: s }) => w(
1682
1690
  );
1683
1691
  }
1684
1692
  }
1685
- ), Re = {
1693
+ ), Le = {
1686
1694
  xs: "h-1 w-1",
1687
1695
  sm: "h-2 w-2",
1688
1696
  md: "h-4 w-4",
@@ -1691,7 +1699,7 @@ const Oe = globalThis.matchMedia, ae = r(({ value: e, label: t, icon: s }) => w(
1691
1699
  "2xl": "h-16 w-16",
1692
1700
  "3xl": "h-24 w-24",
1693
1701
  default: "h-4 w-4"
1694
- }, ys = (e) => Re[e] || Re.default, ws = ({ index: e, size: t }) => o({ class: `${t} rounded-full bg-muted cursor-pointer` }, [
1702
+ }, ys = (e) => Le[e] || Le.default, ws = ({ index: e, size: t }) => o({ class: `${t} rounded-full bg-muted cursor-pointer` }, [
1695
1703
  g({
1696
1704
  class: "block w-full h-full rounded-full transition-colors",
1697
1705
  onSet: ["activeIndex", {
@@ -1943,7 +1951,7 @@ const Oe = globalThis.matchMedia, ae = r(({ value: e, label: t, icon: s }) => w(
1943
1951
  n.substring(0, 3)
1944
1952
  )
1945
1953
  )
1946
- ), P = (e) => (e *= 1, e < 10 ? `0${e}` : String(e)), Bs = (e) => (e.indexOf("T") === -1 && e.indexOf(" ") === -1 && (e += "T00:00:01"), e.replace(" ", "T"), e), F = (e, t, s) => `${e}-${P(t + 1)}-${P(s)}`, Ps = (e) => e ? "bg-accent text-primary" : "", zs = (e) => e ? "text-muted-foreground opacity-50" : "", Os = (e, t) => e === t, Ns = (e, t) => Os(e, t) ? "bg-primary text-primary-foreground" : "", Ls = (e, t, s, n) => {
1954
+ ), P = (e) => (e *= 1, e < 10 ? `0${e}` : String(e)), Bs = (e) => (e.indexOf("T") === -1 && e.indexOf(" ") === -1 && (e += "T00:00:01"), e.replace(" ", "T"), e), L = (e, t, s) => `${e}-${P(t + 1)}-${P(s)}`, Ps = (e) => e ? "bg-accent text-primary" : "", zs = (e) => e ? "text-muted-foreground opacity-50" : "", Os = (e, t) => e === t, Ns = (e, t) => Os(e, t) ? "bg-primary text-primary-foreground" : "", Rs = (e, t, s, n) => {
1947
1955
  const a = Ns(t, n);
1948
1956
  return a || (e ? Ps(e) : s ? zs(s) : "text-foreground");
1949
1957
  }, oe = (e) => {
@@ -1960,7 +1968,7 @@ const Oe = globalThis.matchMedia, ae = r(({ value: e, label: t, icon: s }) => w(
1960
1968
  {
1961
1969
  class: `
1962
1970
  flex items-center justify-center h-9 w-auto p-0 font-normal text-sm rounded-md cursor-pointer
1963
- ${Ls(a, s, l, n)}
1971
+ ${Rs(a, s, l, n)}
1964
1972
  hover:bg-muted/50 hover:text-muted-foreground focus:z-10
1965
1973
  disabled:pointer-events-none disabled:opacity-50
1966
1974
  `,
@@ -1971,19 +1979,19 @@ const Oe = globalThis.matchMedia, ae = r(({ value: e, label: t, icon: s }) => w(
1971
1979
  },
1972
1980
  t.toString()
1973
1981
  );
1974
- }, le = (e, t, s, n) => e === n.date && t === n.month && s === n.year, Rs = (e, t, s, n = !1) => {
1975
- const { year: a, month: l } = e, i = F(a, l, e.date), c = new Date(a, l, 1).getDay(), h = new Date(a, l + 1, 0).getDate(), m = new Date(a, l, 0).getDate(), v = [], q = l === 0 ? 11 : l - 1, A = l === 0 ? a - 1 : a;
1982
+ }, le = (e, t, s, n) => e === n.date && t === n.month && s === n.year, Fs = (e, t, s, n = !1) => {
1983
+ const { year: a, month: l } = e, i = L(a, l, e.date), c = new Date(a, l, 1).getDay(), h = new Date(a, l + 1, 0).getDate(), m = new Date(a, l, 0).getDate(), v = [], q = l === 0 ? 11 : l - 1, A = l === 0 ? a - 1 : a;
1976
1984
  for (let d = c - 1; d >= 0; d--) {
1977
- const y = m - d, S = le(y, q, A, t), $ = new Date(A, q, y) < new Date(t.year, t.month, t.date), L = n && $;
1985
+ const y = m - d, S = le(y, q, A, t), $ = new Date(A, q, y) < new Date(t.year, t.month, t.date), R = n && $;
1978
1986
  v.push(
1979
1987
  oe({
1980
1988
  day: y,
1981
1989
  currentDate: i,
1982
- date: F(A, q, y),
1990
+ date: L(A, q, y),
1983
1991
  isToday: S,
1984
1992
  isOutsideMonth: !0,
1985
1993
  select: s,
1986
- disabled: L
1994
+ disabled: R
1987
1995
  })
1988
1996
  );
1989
1997
  }
@@ -1993,7 +2001,7 @@ const Oe = globalThis.matchMedia, ae = r(({ value: e, label: t, icon: s }) => w(
1993
2001
  oe({
1994
2002
  day: d,
1995
2003
  currentDate: i,
1996
- date: F(a, l, d),
2004
+ date: L(a, l, d),
1997
2005
  isToday: y,
1998
2006
  isOutsideMonth: !1,
1999
2007
  select: s,
@@ -2008,7 +2016,7 @@ const Oe = globalThis.matchMedia, ae = r(({ value: e, label: t, icon: s }) => w(
2008
2016
  oe({
2009
2017
  day: d,
2010
2018
  currentDate: i,
2011
- date: F(se, E, d),
2019
+ date: L(se, E, d),
2012
2020
  isToday: y,
2013
2021
  isOutsideMonth: !0,
2014
2022
  select: s,
@@ -2017,7 +2025,7 @@ const Oe = globalThis.matchMedia, ae = r(({ value: e, label: t, icon: s }) => w(
2017
2025
  );
2018
2026
  }
2019
2027
  return v;
2020
- }, Fe = ({ label: e, click: t }) => b(
2028
+ }, je = ({ label: e, click: t }) => b(
2021
2029
  {
2022
2030
  class: `
2023
2031
  inline-flex items-center justify-center h-7 w-7 bg-transparent p-0
@@ -2030,16 +2038,16 @@ const Oe = globalThis.matchMedia, ae = r(({ value: e, label: t, icon: s }) => w(
2030
2038
  variant: "icon",
2031
2039
  icon: e === "Previous" ? u.chevron.single.left : u.chevron.single.right
2032
2040
  }
2033
- ), Fs = ({ onMonthClick: e, onYearClick: t, next: s, previous: n }) => o({ class: "flex items-center justify-center gap-x-2 relative min-h-12 text-sm font-medium" }, [
2041
+ ), Ls = ({ onMonthClick: e, onYearClick: t, next: s, previous: n }) => o({ class: "flex items-center justify-center gap-x-2 relative min-h-12 text-sm font-medium" }, [
2034
2042
  b({ click: e, variant: "ghost", "aria-label": "Select month" }, "[[monthName]]"),
2035
2043
  b({ click: t, variant: "ghost", "aria-label": "Select year" }, "[[current.year]]"),
2036
- Fe({ label: "Previous", click: n }),
2037
- Fe({ label: "Next", click: s })
2044
+ je({ label: "Previous", click: n }),
2045
+ je({ label: "Next", click: s })
2038
2046
  ]), js = (e) => o(
2039
2047
  { class: "flex items-center justify-center h-9 w-auto text-[0.8rem] font-normal text-muted-foreground" },
2040
2048
  e
2041
2049
  ), Hs = () => ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"].map(js), As = (e) => o({ class: "rdp flex flex-auto flex-col w-full gap-y-1" }, [
2042
- Fs({
2050
+ Ls({
2043
2051
  onMonthClick: e.onMonthClick,
2044
2052
  onYearClick: e.onYearClick,
2045
2053
  next: e.next,
@@ -2053,7 +2061,7 @@ const Oe = globalThis.matchMedia, ae = r(({ value: e, label: t, icon: s }) => w(
2053
2061
  o({ class: "grid grid-cols-7" }, Hs()),
2054
2062
  o(
2055
2063
  { class: "grid grid-cols-7" },
2056
- Rs(
2064
+ Fs(
2057
2065
  e.current,
2058
2066
  e.today,
2059
2067
  e.select,
@@ -2372,7 +2380,7 @@ const Ys = (e) => {
2372
2380
  );
2373
2381
  }
2374
2382
  }
2375
- ), je = ({ label: e, click: t }) => b(
2383
+ ), He = ({ label: e, click: t }) => b(
2376
2384
  {
2377
2385
  class: `
2378
2386
  inline-flex items-center justify-center h-7 w-7 bg-transparent p-0
@@ -2388,8 +2396,8 @@ const Ys = (e) => {
2388
2396
  ), Ks = ({ onMonthClick: e, onYearClick: t, next: s, previous: n }) => o({ class: "flex items-center justify-center gap-x-2 relative min-h-12 text-sm font-medium" }, [
2389
2397
  b({ click: e, variant: "ghost", "aria-label": "Select month" }, "[[monthName]]"),
2390
2398
  b({ click: t, variant: "ghost", "aria-label": "Select year" }, "[[current.year]]"),
2391
- je({ label: "Previous", click: n }),
2392
- je({ label: "Next", click: s })
2399
+ He({ label: "Previous", click: n }),
2400
+ He({ label: "Next", click: s })
2393
2401
  ]), Qs = (e) => o({ class: "h-9 flex items-center justify-center font-medium" }, e), Js = () => o(
2394
2402
  { class: "grid grid-cols-7 gap-1 text-center text-xs font-medium text-muted-foreground mb-2" },
2395
2403
  ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"].map(Qs)
@@ -2409,7 +2417,7 @@ const Ys = (e) => {
2409
2417
  }, Xs = ({ today: e, current: t, blockPriorDates: s, onDateClick: n }) => {
2410
2418
  const { start: a, end: l } = t, i = new Date(t.year, t.month, 1).getDay(), c = new Date(t.year, t.month + 1, 0).getDate(), h = [], m = t.month === 0 ? 11 : t.month - 1, v = t.month === 0 ? t.year - 1 : t.year, q = new Date(v, m + 1, 0).getDate(), A = t.month === 11 ? 0 : t.month + 1, E = t.month === 11 ? t.year + 1 : t.year;
2411
2419
  for (let f = i - 1; f >= 0; f--) {
2412
- const d = q - f, y = F(v, m, d), S = new Date(v, m, d), $ = new Date(e.year, e.month, e.date), L = S < $, G = s && L, _ = a === y, K = l === y, nt = a && l && y > a && y < l;
2420
+ const d = q - f, y = L(v, m, d), S = new Date(v, m, d), $ = new Date(e.year, e.month, e.date), R = S < $, G = s && R, _ = a === y, K = l === y, nt = a && l && y > a && y < l;
2413
2421
  h.push({
2414
2422
  day: d,
2415
2423
  iso: y,
@@ -2422,11 +2430,11 @@ const Ys = (e) => {
2422
2430
  });
2423
2431
  }
2424
2432
  for (let f = 1; f <= c; f++) {
2425
- const d = F(t.year, t.month, f), y = new Date(t.year, t.month, f), S = new Date(e.year, e.month, e.date), $ = y < S, L = s && $, G = a === d, _ = l === d, K = a && l && d > a && d < l;
2433
+ const d = L(t.year, t.month, f), y = new Date(t.year, t.month, f), S = new Date(e.year, e.month, e.date), $ = y < S, R = s && $, G = a === d, _ = l === d, K = a && l && d > a && d < l;
2426
2434
  h.push({
2427
2435
  day: f,
2428
2436
  iso: d,
2429
- disabled: L,
2437
+ disabled: R,
2430
2438
  isStart: G,
2431
2439
  isEnd: _,
2432
2440
  isBetween: K,
@@ -2436,13 +2444,13 @@ const Ys = (e) => {
2436
2444
  }
2437
2445
  });
2438
2446
  }
2439
- const we = (7 - h.length % 7) % 7;
2440
- for (let f = 1; f <= we; f++) {
2441
- const d = F(E, A, f), y = new Date(E, A, f), S = new Date(e.year, e.month, e.date), $ = y < S, L = s && $, G = a === d, _ = l === d, K = a && l && d > a && d < l;
2447
+ const ve = (7 - h.length % 7) % 7;
2448
+ for (let f = 1; f <= ve; f++) {
2449
+ const d = L(E, A, f), y = new Date(E, A, f), S = new Date(e.year, e.month, e.date), $ = y < S, R = s && $, G = a === d, _ = l === d, K = a && l && d > a && d < l;
2442
2450
  h.push({
2443
2451
  day: f,
2444
2452
  iso: d,
2445
- disabled: L,
2453
+ disabled: R,
2446
2454
  isStart: G,
2447
2455
  isEnd: _,
2448
2456
  isBetween: K,
@@ -2515,16 +2523,16 @@ const Ys = (e) => {
2515
2523
  variant: l === "start" ? "primary" : "outline",
2516
2524
  class: "flex-1"
2517
2525
  }, [
2518
- o({ class: "font-medium" }, He("current.start", "Start Date"))
2526
+ o({ class: "font-medium" }, Ae("current.start", "Start Date"))
2519
2527
  ])),
2520
2528
  Q("selecting", (l) => b({
2521
2529
  click: a,
2522
2530
  variant: l === "end" ? "primary" : "outline",
2523
2531
  class: "flex-1"
2524
2532
  }, [
2525
- o({ class: "font-medium" }, He("current.end", "End Date"))
2533
+ o({ class: "font-medium" }, Ae("current.end", "End Date"))
2526
2534
  ]))
2527
- ]), He = (e, t) => [`[[${e}]]`, (s) => s == null ? t : nn(s)], nn = (e) => {
2535
+ ]), Ae = (e, t) => [`[[${e}]]`, (s) => s == null ? t : nn(s)], nn = (e) => {
2528
2536
  const t = /* @__PURE__ */ new Date(e + "T00:00:00"), s = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], n = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
2529
2537
  return `${s[t.getDay()]}, ${t.getDate()} ${n[t.getMonth()]}`;
2530
2538
  }, an = ({ currentYear: e, onSelect: t }) => {
@@ -2897,7 +2905,7 @@ function mn({ handleTimeSelect: e }) {
2897
2905
  )
2898
2906
  );
2899
2907
  }
2900
- function Ae(e) {
2908
+ function Ee(e) {
2901
2909
  if (!e)
2902
2910
  return { hour: null, minute: null, meridian: null };
2903
2911
  const t = /^(\d{1,2}):(\d{2})(?::(\d{2}))?\s?(AM|PM)?$/i, s = e.match(t);
@@ -2918,7 +2926,7 @@ const oo = O(
2918
2926
  * @member {object} state
2919
2927
  */
2920
2928
  state() {
2921
- const e = this.selectedTime ?? null, { hour: t, minute: s, meridian: n } = Ae(e);
2929
+ const e = this.selectedTime ?? null, { hour: t, minute: s, meridian: n } = Ee(e);
2922
2930
  return {
2923
2931
  selectedTime: e,
2924
2932
  open: !1,
@@ -2934,7 +2942,7 @@ const oo = O(
2934
2942
  */
2935
2943
  after() {
2936
2944
  if (this.input.value) {
2937
- const { hour: e, minute: t, meridian: s } = Ae(this.input.value);
2945
+ const { hour: e, minute: t, meridian: s } = Ee(this.input.value);
2938
2946
  this.state.set({
2939
2947
  hour: e,
2940
2948
  minute: t,
@@ -3074,11 +3082,11 @@ r(({ value: e, label: t }) => w({
3074
3082
  const pn = (e, t) => {
3075
3083
  const s = e.toggleAllSelectedRows();
3076
3084
  t.state.checked = !s;
3077
- }, yn = (e) => Ye({ class: `cursor-pointer py-3 px-4 text-base w-10 ${e.class || ""}` }, [
3085
+ }, yn = (e) => Ve({ class: `cursor-pointer py-3 px-4 text-base w-10 ${e.class || ""}` }, [
3078
3086
  W((t) => new jt({ class: "mr-2", onChange: (s, n) => pn(t, n) }))
3079
3087
  ]), wn = ({ align: e, sortable: t, key: s, label: n, sort: a, class: l }) => {
3080
3088
  const i = e || "justify-start";
3081
- return Ye({
3089
+ return Ve({
3082
3090
  class: `cursor-pointer py-3 px-4 text-base ${l || ""}`,
3083
3091
  click: t && (() => a(s))
3084
3092
  }, [
@@ -3087,7 +3095,7 @@ const pn = (e, t) => {
3087
3095
  t && Y({ class: "ml-2", html: u.arrows.upDown })
3088
3096
  ])
3089
3097
  ]);
3090
- }, ye = (e) => dt([
3098
+ }, we = (e) => dt([
3091
3099
  ut({
3092
3100
  class: "text-muted-foreground border-b",
3093
3101
  map: [
@@ -3194,7 +3202,7 @@ class Je extends C {
3194
3202
  o({ class: `w-full rounded-md ${t} overflow-x-auto`, onSet: ["hasItems", { hidden: !1 }] }, [
3195
3203
  be({ class: "w-full" }, [
3196
3204
  // @ts-ignore
3197
- this.headers && ye({ headers: this.headers, sort: (n) => this.sortRows(n) }),
3205
+ this.headers && we({ headers: this.headers, sort: (n) => this.sortRows(n) }),
3198
3206
  // @ts-ignore
3199
3207
  this.customHeader ?? null,
3200
3208
  vn({
@@ -3302,7 +3310,7 @@ class Cn extends Je {
3302
3310
  o({ class: `w-full rounded-md ${t} overflow-x-auto`, onSet: ["hasItems", { hidden: !1 }] }, [
3303
3311
  be({ class: "w-full" }, [
3304
3312
  // @ts-ignore
3305
- this.headers && ye({ headers: this.headers, sort: (n) => this.sortRows(n) }),
3313
+ this.headers && we({ headers: this.headers, sort: (n) => this.sortRows(n) }),
3306
3314
  // @ts-ignore
3307
3315
  this.customHeader ?? null,
3308
3316
  kn({
@@ -3399,7 +3407,7 @@ class $n extends Je {
3399
3407
  o({ class: `w-full rounded-md ${t} overflow-x-auto`, onSet: ["hasItems", { hidden: !1 }] }, [
3400
3408
  be({ class: "w-full" }, [
3401
3409
  // @ts-ignore
3402
- this.headers && ye({ headers: this.headers, sort: (n) => this.sortRows(n) }),
3410
+ this.headers && we({ headers: this.headers, sort: (n) => this.sortRows(n) }),
3403
3411
  // @ts-ignore
3404
3412
  this.customHeader ?? null,
3405
3413
  Sn({
@@ -3579,7 +3587,7 @@ const Nn = r(({ options: e, click: t }, s) => ({
3579
3587
  click: t
3580
3588
  },
3581
3589
  children: s
3582
- })), Ln = (e, t = null, s = !1) => [
3590
+ })), Rn = (e, t = null, s = !1) => [
3583
3591
  t && o({
3584
3592
  class: "icon w-12 rounded-md flex items-center justify-center min-w-12",
3585
3593
  onState: ["selected", {
@@ -3637,7 +3645,7 @@ class Ze extends C {
3637
3645
  * @protected
3638
3646
  */
3639
3647
  addLink() {
3640
- const t = this.options && this.options.length > 0, s = this.content || Ln(String(this.label), this.icon, t);
3648
+ const t = this.options && this.options.length > 0, s = this.content || Rn(String(this.label), this.icon, t);
3641
3649
  return this.href ? new mt(
3642
3650
  {
3643
3651
  class: "flex flex-auto flex-row rounded-md transition-all overflow-x-hidden",
@@ -3665,10 +3673,10 @@ class Ze extends C {
3665
3673
  this.link.update(t);
3666
3674
  }
3667
3675
  }
3668
- const Rn = r(({ map: e }, t) => X({ class: "navigation-group flex flex-col gap-2 list-none m-0 py-2 px-0", map: e }, [
3669
- Ee({ class: "text-muted-foreground text-sm py-0 px-4 whitespace-nowrap" }, t)
3676
+ const Fn = r(({ map: e }, t) => X({ class: "navigation-group flex flex-col gap-2 list-none m-0 py-2 px-0", map: e }, [
3677
+ Ue({ class: "text-muted-foreground text-sm py-0 px-4 whitespace-nowrap" }, t)
3670
3678
  ]));
3671
- class Fn extends C {
3679
+ class Ln extends C {
3672
3680
  /**
3673
3681
  * This will declare the props for the compiler.
3674
3682
  *
@@ -3717,7 +3725,7 @@ class Fn extends C {
3717
3725
  */
3718
3726
  addGroup(t) {
3719
3727
  const s = this.mapOptions(t.options);
3720
- return Rn({ map: s }, t.group);
3728
+ return Fn({ map: s }, t.group);
3721
3729
  }
3722
3730
  /**
3723
3731
  * This will add a link.
@@ -3729,7 +3737,7 @@ class Fn extends C {
3729
3737
  return new Ze(t);
3730
3738
  }
3731
3739
  }
3732
- class Xe extends Fn {
3740
+ class Xe extends Ln {
3733
3741
  onCreated() {
3734
3742
  this.links = [];
3735
3743
  }
@@ -3808,7 +3816,7 @@ class An extends Xe {
3808
3816
  addWatcher() {
3809
3817
  return {
3810
3818
  watch: {
3811
- value: ["[[path]]", ve.data],
3819
+ value: ["[[path]]", ke.data],
3812
3820
  callBack: this.updateLinks.bind(this)
3813
3821
  }
3814
3822
  };
@@ -3849,7 +3857,7 @@ class An extends Xe {
3849
3857
  * @returns {void}
3850
3858
  */
3851
3859
  afterSetup() {
3852
- const t = ve.data.path;
3860
+ const t = ke.data.path;
3853
3861
  this.updateLinks(t);
3854
3862
  }
3855
3863
  /**
@@ -4091,7 +4099,7 @@ class Gn extends C {
4091
4099
  return this.children;
4092
4100
  }
4093
4101
  }
4094
- Ve.addType("dockableOverlay", (e) => {
4102
+ We.addType("dockableOverlay", (e) => {
4095
4103
  if (!e)
4096
4104
  return;
4097
4105
  const t = e.component;
@@ -4167,7 +4175,7 @@ class mo extends Gn {
4167
4175
  * @returns {void}
4168
4176
  */
4169
4177
  afterSetup() {
4170
- Ve.add(
4178
+ We.add(
4171
4179
  this.container,
4172
4180
  "dockableOverlay",
4173
4181
  {
@@ -4494,7 +4502,7 @@ export {
4494
4502
  Qt as V,
4495
4503
  Jt as W,
4496
4504
  Xt as X,
4497
- F as Y,
4505
+ L as Y,
4498
4506
  po as Z,
4499
4507
  wn as _,
4500
4508
  gs as a,
@@ -4515,7 +4523,7 @@ export {
4515
4523
  xo as aD,
4516
4524
  Wa as aE,
4517
4525
  An as aF,
4518
- ye as aG,
4526
+ we as aG,
4519
4527
  ba as aH,
4520
4528
  pa as aI,
4521
4529
  Ka as aJ,
@@ -4524,19 +4532,19 @@ export {
4524
4532
  qn as aM,
4525
4533
  Qa as aN,
4526
4534
  ua as aO,
4527
- Fa as aP,
4535
+ La as aP,
4528
4536
  x as aQ,
4529
4537
  Ia as aR,
4530
4538
  uo as aS,
4531
4539
  zn as aT,
4532
- We as aU,
4540
+ qe as aU,
4533
4541
  O as aV,
4534
4542
  Sa as aW,
4535
4543
  Bs as aX,
4536
4544
  Kt as aY,
4537
4545
  ca as aZ,
4538
4546
  ia as a_,
4539
- $e as aa,
4547
+ De as aa,
4540
4548
  Ds as ab,
4541
4549
  ho as ac,
4542
4550
  fo as ad,
@@ -4544,8 +4552,8 @@ export {
4544
4552
  Ca as af,
4545
4553
  et as ag,
4546
4554
  On as ah,
4547
- Fn as ai,
4548
- Rn as aj,
4555
+ Ln as ai,
4556
+ Fn as aj,
4549
4557
  Vn as ak,
4550
4558
  _a as al,
4551
4559
  $a as am,
@@ -4559,8 +4567,8 @@ export {
4559
4567
  ya as au,
4560
4568
  on as av,
4561
4569
  Pa as aw,
4562
- La as ax,
4563
- Ra as ay,
4570
+ Ra as ax,
4571
+ Fa as ay,
4564
4572
  co as az,
4565
4573
  Yn as b,
4566
4574
  Ga as b0,
@@ -4568,7 +4576,7 @@ export {
4568
4576
  Xn as d,
4569
4577
  Xa as e,
4570
4578
  b as f,
4571
- Rs as g,
4579
+ Fs as g,
4572
4580
  Bt as h,
4573
4581
  jt as i,
4574
4582
  yn as j,
package/dist/index.es.js CHANGED
@@ -1,10 +1,10 @@
1
- import { A as s, a as o, B as t, b as r, c as n, d as i, e as l, f as p, C as u, g as d, h as m, i as g, j as c, k as T, l as C, m as S, n as I, o as b, p as D, q as B, r as F, D as k, s as M, t as P, u as v, v as N, w as f, x as h, y as x, z as y, E as U, F as W, G as L, H as w, I as H, J as A, K as G, L as R, M as O, N as E, O as V, P as Z, Q as j, R as J, S as _, T as q, U as z, V as K, W as Q, X, Y, Z as $, _ as aa, $ as ea, a0 as sa, a1 as oa, a2 as ta, a3 as ra, a4 as na, a5 as ia, a6 as la, a7 as pa, a8 as ua, a9 as da, aa as ma, ab as ga, ac as ca, ad as Ta, ae as Ca, af as Sa, ag as Ia, ah as ba, ai as Da, aj as Ba, ak as Fa, al as ka, am as Ma, an as Pa, ao as va, ap as Na, aq as fa, ar as ha, as as xa, at as ya, au as Ua, av as Wa, aw as La, ax as wa, ay as Ha, az as Aa, aA as Ga, aB as Ra, aC as Oa, aD as Ea, aE as Va, aF as Za, aG as ja, aH as Ja, aI as _a, aJ as qa, aK as za, aL as Ka, aM as Qa, aN as Xa, aO as Ya, aP as $a, aQ as ae, aR as ee, aS as se, aT as oe, aU as te, aV as re, aW as ne, aX as ie, aY as le, aZ as pe, a_ as ue, a$ as de } from "./full-page-B0KVK4o6.js";
1
+ import { A as s, a as o, B as t, b as r, c as n, d as i, e as l, f as p, C as u, g as d, h as m, i as g, j as c, k as T, l as C, m as S, n as I, o as b, p as D, q as B, r as F, D as k, s as M, t as P, u as v, v as N, w as f, x as h, y as x, z as y, E as U, F as W, G as L, H as w, I as H, J as A, K as G, L as R, M as O, N as E, O as V, P as Z, Q as j, R as J, S as _, T as q, U as z, V as K, W as Q, X, Y, Z as $, _ as aa, $ as ea, a0 as sa, a1 as oa, a2 as ta, a3 as ra, a4 as na, a5 as ia, a6 as la, a7 as pa, a8 as ua, a9 as da, aa as ma, ab as ga, ac as ca, ad as Ta, ae as Ca, af as Sa, ag as Ia, ah as ba, ai as Da, aj as Ba, ak as Fa, al as ka, am as Ma, an as Pa, ao as va, ap as Na, aq as fa, ar as ha, as as xa, at as ya, au as Ua, av as Wa, aw as La, ax as wa, ay as Ha, az as Aa, aA as Ga, aB as Ra, aC as Oa, aD as Ea, aE as Va, aF as Za, aG as ja, aH as Ja, aI as _a, aJ as qa, aK as za, aL as Ka, aM as Qa, aN as Xa, aO as Ya, aP as $a, aQ as ae, aR as ee, aS as se, aT as oe, aU as te, aV as re, aW as ne, aX as ie, aY as le, aZ as pe, a_ as ue, a$ as de } from "./full-page-CJLpFbzU.js";
2
2
  import { S as ge } from "./skeleton-BlY3opxG.js";
3
3
  import { Icons as Te, MaterialSymbols as Ce } from "./icons.es.js";
4
- import { C as Ie, D as be, a as De, b as Be, c as Fe, d as ke, e as Me, M as Pe, N as ve, S as Ne, f as fe, g as he, h as xe, T as ye, i as Ue } from "./confirmation-vmRFmz5-.js";
5
- import { B as Le, I as we, N as He, P as Ae, S as Ge, T as Re, a as Oe, b as Ee, U as Ve, c as Ze, d as je, e as Je, W as _e, f as qe, g as ze, h as Ke, i as Qe, j as Xe, k as Ye, l as $e, m as as, n as es } from "./signature-panel-BlvH_TqX.js";
6
- import { S as os } from "./sidebar-menu--8cXFwG_.js";
7
- import { B as rs, C as ns, F as is, a as ls, S as ps } from "./sidebar-menu-page-KDMXr1Zk.js";
4
+ import { C as Ie, D as be, a as De, b as Be, c as Fe, d as ke, e as Me, M as Pe, N as ve, S as Ne, f as fe, g as he, h as xe, T as ye, i as Ue } from "./confirmation-CYi1gvFQ.js";
5
+ import { B as Le, I as we, N as He, P as Ae, S as Ge, T as Re, a as Oe, b as Ee, U as Ve, c as Ze, d as je, e as Je, W as _e, f as qe, g as ze, h as Ke, i as Qe, j as Xe, k as Ye, l as $e, m as as, n as es } from "./signature-panel-Dtr6jInW.js";
6
+ import { S as os } from "./sidebar-menu-Danp9_n6.js";
7
+ import { B as rs, C as ns, F as is, a as ls, S as ps } from "./sidebar-menu-page-Bzd-Jje1.js";
8
8
  import { A as ds, B as ms, F as gs, M as cs, T as Ts, a as Cs } from "./bside-template-C7AQgQ6H.js";
9
9
  import { F as Is, c as bs } from "./format-DE4rFWuD.js";
10
10
  import { I as Bs } from "./image-scaler-1G-JzJVG.js";
@@ -1,5 +1,5 @@
1
- import { A as s, a as t, e as r, o as e, p as i, q as n, r as m, u as l, v as d, z as C, E as S, F as p, H as D, K as u, N as c, O as g, P as F, Q as T, R as P, S as b, T as f, V as w, W as A, X as I, a2 as M, a7 as N, ab as y, al as B, aq as E, ar as L, aE as R, aJ as U, aL as k, aN as v, aY as x } from "./full-page-B0KVK4o6.js";
2
- import { C as q, D as O, a as z, b as G, c as H, d as J, e as K, M as Q, N as V, S as W, f as X, g as Y, h as _, T as j, i as Z } from "./confirmation-vmRFmz5-.js";
1
+ import { A as s, a as t, e as r, o as e, p as i, q as n, r as m, u as l, v as d, z as C, E as S, F as p, H as D, K as u, N as c, O as g, P as F, Q as T, R as P, S as b, T as f, V as w, W as A, X as I, a2 as M, a7 as N, ab as y, al as B, aq as E, ar as L, aE as R, aJ as U, aL as k, aN as v, aY as x } from "./full-page-CJLpFbzU.js";
2
+ import { C as q, D as O, a as z, b as G, c as H, d as J, e as K, M as Q, N as V, S as W, f as X, g as Y, h as _, T as j, i as Z } from "./confirmation-CYi1gvFQ.js";
3
3
  export {
4
4
  s as Alert,
5
5
  t as Avatar,
@@ -1,6 +1,6 @@
1
- import { B as s, b as n, C as t, g as r, j as o, D as l, s as i, x as d, y as b, G as u, I as g, Y as v, _ as p, a3 as T, a8 as D, ac as k, ad as N, ae as c, ag as C, ah as B, ai as m, aj as y, ak as S, an as h, as as M, av as W, az as I, aA as U, aB as x, aD as H, aF as P, aG as G, aM as f, aS as L, aT as j, aX as F, a$ as O } from "./full-page-B0KVK4o6.js";
2
- import { B as z, I as A, N as R, P as X, S as Y, T as _, a as $, b as q, U as E, c as J, d as K, e as Q, W as V, f as Z, g as aa, h as ea, i as sa, j as na, k as ta, l as ra, m as oa, n as la } from "./signature-panel-BlvH_TqX.js";
3
- import { S as da } from "./sidebar-menu--8cXFwG_.js";
1
+ import { B as s, b as n, C as t, g as r, j as o, D as l, s as i, x as d, y as b, G as u, I as g, Y as v, _ as p, a3 as T, a8 as D, ac as k, ad as N, ae as c, ag as C, ah as B, ai as m, aj as y, ak as S, an as h, as as M, av as W, az as I, aA as U, aB as x, aD as H, aF as P, aG as G, aM as f, aS as L, aT as j, aX as F, a$ as O } from "./full-page-CJLpFbzU.js";
2
+ import { B as z, I as A, N as R, P as X, S as Y, T as _, a as $, b as q, U as E, c as J, d as K, e as Q, W as V, f as Z, g as aa, h as ea, i as sa, j as na, k as ta, l as ra, m as oa, n as la } from "./signature-panel-Dtr6jInW.js";
3
+ import { S as da } from "./sidebar-menu-Danp9_n6.js";
4
4
  export {
5
5
  s as BackButton,
6
6
  n as Backdrop,
package/dist/pages.es.js CHANGED
@@ -1,5 +1,5 @@
1
- import { d as s, Z as g, a9 as n, ao as P } from "./full-page-B0KVK4o6.js";
2
- import { B as o, C as r, F as i, a as t, S as u } from "./sidebar-menu-page-KDMXr1Zk.js";
1
+ import { d as s, Z as g, a9 as n, ao as P } from "./full-page-CJLpFbzU.js";
2
+ import { B as o, C as r, F as i, a as t, S as u } from "./sidebar-menu-page-Bzd-Jje1.js";
3
3
  export {
4
4
  s as BasicPage,
5
5
  o as BlankPage,
@@ -1,5 +1,5 @@
1
1
  import { Div as r, Header as x, H1 as c } from "@base-framework/atoms";
2
- import { a3 as n } from "./full-page-B0KVK4o6.js";
2
+ import { a3 as n } from "./full-page-CJLpFbzU.js";
3
3
  const g = ({ title: l, options: a, class: s = "", mobileBorder: t = !1, sticky: e = !1, topNav: o = null, bottomNav: p = null }) => r({ class: `pb-12 p-4 pt-0 lg:p-6 lg:border-r w-full lg:max-w-[300px] flex-auto flex-col ${s}` }, [
4
4
  o,
5
5
  l && x({ class: "pb-4 md:pb-2 px-6 flex" }, [
@@ -1,7 +1,7 @@
1
1
  import { Div as s } from "@base-framework/atoms";
2
- import { d as a, a9 as i, ao as r, ad as n } from "./full-page-B0KVK4o6.js";
2
+ import { d as a, a9 as i, ao as r, ad as n } from "./full-page-CJLpFbzU.js";
3
3
  import { F as l, A as d } from "./bside-template-C7AQgQ6H.js";
4
- import { S as c } from "./sidebar-menu--8cXFwG_.js";
4
+ import { S as c } from "./sidebar-menu-Danp9_n6.js";
5
5
  class f extends a {
6
6
  /**
7
7
  * This will render the page.
@@ -1,6 +1,6 @@
1
1
  import { Div as r, Button as v, On as j, Span as T, Nav as f, Ul as p, Section as y, Li as w, Canvas as z } from "@base-framework/atoms";
2
2
  import { Component as k, Data as I, DateTime as U, router as b, NavLink as S, base as L, Dom as B } from "@base-framework/base";
3
- import { f as C, an as A, aU as u, $ as F } from "./full-page-B0KVK4o6.js";
3
+ import { f as C, an as A, aU as u, $ as F } from "./full-page-CJLpFbzU.js";
4
4
  import { Icons as D } from "./icons.es.js";
5
5
  import { IntervalTimer as O } from "@base-framework/organisms";
6
6
  class Lt extends k {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base-framework/ui",
3
- "version": "1.2.21",
3
+ "version": "1.2.22",
4
4
  "description": "This is a UI package that adds components and atoms that use Tailwind CSS and a theme based on Shadcn.",
5
5
  "main": "./dist/index.es.js",
6
6
  "scripts": {