@base-framework/ui 1.0.48 → 1.0.52

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.
@@ -52,7 +52,7 @@ class lt extends N {
52
52
  const t = this.getSize();
53
53
  return i({
54
54
  class: `absolute inset-auto fadeIn mt-2 rounded-md p-0 shadow-lg bg-popover min-h-12 backdrop:bg-transparent text-inherit r z-30 ${t}`,
55
- popover: "auto",
55
+ //popover: 'auto',
56
56
  toggle: (n, { state: s }) => n.newState === "closed" ? s.open = !1 : null,
57
57
  style: "top: [[position.y]]px; left: [[position.x]]px"
58
58
  }, this.children);
@@ -1,6 +1,6 @@
1
- import { Div as n, I as f, H5 as _, P as b, Li as O, Span as a, Ul as V, Button as h, OnState as v, Label as R, Form as W, H2 as B, Footer as $, Header as M, A as Y, H3 as G, Checkbox as J, Nav as K, Input as C, Time as Q, Dialog as X } from "@base-framework/atoms";
1
+ import { Div as n, H5 as _, P as b, I as f, Li as O, Span as a, Ul as V, Button as h, OnState as v, Label as R, Form as W, H2 as B, Header as $, Footer as M, A as Y, H3 as G, Checkbox as J, Nav as K, Input as C, Time as Q, Dialog as X } from "@base-framework/atoms";
2
2
  import { Atom as c, Component as p, Html as L, Dom as Z, base as ee, Data as k, Builder as q, Jot as S, DateTime as A } from "@base-framework/base";
3
- import { P as D, b as te } from "./calendar-CYExSMEO.js";
3
+ import { P as D, b as te } from "./calendar-PB6ymJ8S.js";
4
4
  import { B as u, I as x } from "./buttons-CVEwmPAi.js";
5
5
  import { Icons as d } from "./icons.es.js";
6
6
  import { a as w } from "./veil-gN57SpXV.js";
@@ -232,7 +232,7 @@ const pe = c((e, t) => n({ ...e, class: "flex flex-auto flex-col space-y-2" }, t
232
232
  ])), pt = (e, t) => n({ class: "flex justify-between" }, [
233
233
  a({ class: "text-muted-foreground" }, e),
234
234
  a(t)
235
- ]), De = ({ title: e, description: t, back: s, icon: o, options: l = [] }) => M({ class: "modal-header bg-background/80 backdrop-blur-md sticky flex flex-none items-center py-4 px-6 z-10" }, [
235
+ ]), De = ({ title: e, description: t, back: s, icon: o, options: l = [] }) => $({ class: "modal-header bg-background/80 backdrop-blur-md sticky flex flex-none items-center py-4 px-6 z-10" }, [
236
236
  /**
237
237
  * Back Button
238
238
  */
@@ -261,7 +261,7 @@ const pe = c((e, t) => n({ ...e, class: "flex flex-auto flex-col space-y-2" }, t
261
261
  Se({ class: "modal-content relative bg-background z-[1] flex flex-auto flex-col space-y-4", submit: (s) => e.onSubmit && e.onSubmit() }, [
262
262
  De(e),
263
263
  n({ class: "modal-body flex flex-grow flex-col overflow-y-auto py-0 px-6 z-0" }, t),
264
- $({ class: "modal-footer sticky bg-background/80 backdrop-blur-md flex flex-none justify-between py-4 px-6 z-10" }, e.buttons)
264
+ M({ class: "modal-footer sticky bg-background/80 backdrop-blur-md flex flex-none justify-between py-4 px-6 z-10" }, e.buttons)
265
265
  ])
266
266
  ])), Te = (e) => q.render(e, app.root);
267
267
  class xt extends p {
@@ -439,7 +439,7 @@ const z = {
439
439
  borderColor: "border",
440
440
  iconColor: "text-muted-foreground"
441
441
  }
442
- }, Ae = (e) => M({ class: "flex justify-center" }, [
442
+ }, Ae = (e) => $({ class: "flex justify-center" }, [
443
443
  G({ class: "text-lg font-bold mb-0" }, e)
444
444
  ]), Be = c(({ href: e, class: t }, s) => Y({
445
445
  class: `pullRightIn 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}`,
@@ -528,7 +528,7 @@ class Me extends ae {
528
528
  this.title && Ae(this.title)
529
529
  ]),
530
530
  b({ class: "text-base text-muted-foreground m-0 pr-12" }, this.description),
531
- (this.primary || this.secondary) && $({ class: "margin-top-24 flex align-center" }, this.getButtons())
531
+ (this.primary || this.secondary) && M({ class: "margin-top-24 flex align-center" }, this.getButtons())
532
532
  ])
533
533
  ]),
534
534
  u({
@@ -1222,7 +1222,7 @@ const $t = w(
1222
1222
  }
1223
1223
  ), et = (e, t) => n({ class: `hidden md:flex items-start justify-center w-6 h-6 mr-3 ${t}` }, [
1224
1224
  x({ size: "lg" }, e)
1225
- ]), tt = ({ title: e }) => M({ class: "flex flex-auto items-center" }, [
1225
+ ]), tt = ({ title: e }) => $({ class: "flex flex-auto items-center" }, [
1226
1226
  B({ class: "text-lg font-semibold" }, e)
1227
1227
  ]), st = c((e, t) => X(
1228
1228
  {
@@ -1242,7 +1242,7 @@ const $t = w(
1242
1242
  e.description && b({ class: "flex flex-auto flex-col text-sm text-muted-foreground" }, e.description),
1243
1243
  n({ class: "flex flex-auto flex-col text-sm text-muted-foreground" }, t)
1244
1244
  ]),
1245
- e.buttons && $({ class: "flex flex-col-reverse sm:flex-row sm:justify-end mt-6 gap-2 sm:gap-0 sm:space-x-2" }, e.buttons)
1245
+ e.buttons && M({ class: "flex flex-col-reverse sm:flex-row sm:justify-end mt-6 gap-2 sm:gap-0 sm:space-x-2" }, e.buttons)
1246
1246
  ])
1247
1247
  ])
1248
1248
  ]
package/dist/index.es.js CHANGED
@@ -3,9 +3,9 @@ import { B as g, I as C, L as T } from "./buttons-CVEwmPAi.js";
3
3
  import { C as D, d as I, D as S, c as b, E as B, F as P, H as F, I as M, M as k, N, P as v, R as f, S as x, T as h, a as y, b as W, U as L, W as A } from "./inputs-CzHSmZKP.js";
4
4
  import { V as w, a as U } from "./veil-gN57SpXV.js";
5
5
  import { Icons as R } from "./icons.es.js";
6
- import { A as G, B as V, C as j, z as q, u as z, v as J, w as _, D as K, j as Q, k as X, G as Y, E as Z, s as $, c as aa, a as sa, b as ea, i as oa, g as ta, e as ra, h as na, F as ia, d as la, f as pa, t as ua, M as ma, l as da, N as ga, P as Ca, p as Ta, q as ca, S as Da, n as Ia, o as Sa, T as ba, x as Ba, y as Pa, m as Fa, r as Ma } from "./confirmation-BrFWql_V.js";
7
- import { A as Na, b as va, C as fa, D as xa, a as ha, F as ya, M as Wa, P as La, c as Aa, g as Ha, p as wa } from "./calendar-CYExSMEO.js";
8
- import { B as Oa, m as Ra, C as Ea, j as Ga, D as Va, l as ja, H as qa, I as za, N as Ja, O as _a, P as Ka, S as Qa, q as Xa, p as Ya, n as Za, o as $a, T as as, k as ss, U as es, W as os, f as ts, h as rs, i as ns, c as is, d as ls, b as ps, e as us, a as ms, g as ds } from "./signature-panel-zC3mmGzc.js";
6
+ import { A as G, B as V, C as j, z as q, u as z, v as J, w as _, D as K, j as Q, k as X, G as Y, E as Z, s as $, c as aa, a as sa, b as ea, i as oa, g as ta, e as ra, h as na, F as ia, d as la, f as pa, t as ua, M as ma, l as da, N as ga, P as Ca, p as Ta, q as ca, S as Da, n as Ia, o as Sa, T as ba, x as Ba, y as Pa, m as Fa, r as Ma } from "./confirmation-Drz3H-3y.js";
7
+ import { A as Na, b as va, C as fa, D as xa, a as ha, F as ya, M as Wa, P as La, c as Aa, g as Ha, p as wa } from "./calendar-PB6ymJ8S.js";
8
+ import { B as Oa, m as Ra, C as Ea, j as Ga, D as Va, l as ja, H as qa, I as za, N as Ja, O as _a, P as Ka, S as Qa, q as Xa, p as Ya, n as Za, o as $a, T as as, k as ss, U as es, W as os, f as ts, h as rs, i as ns, c as is, d as ls, b as ps, e as us, a as ms, g as ds } from "./signature-panel-DVFpUbvC.js";
9
9
  import { B as Cs, I as Ts, M as cs, d as Ds, e as Is, g as Ss, N as bs, b as Bs, a as Ps, f as Fs, P as Ms, c as ks, S as Ns, T as vs } from "./mobile-nav-wrapper-BE_hr65B.js";
10
10
  import { B as xs, a as hs, C as ys, F as Ws, b as Ls, c as As, M as Hs, P as ws, S as Us } from "./sidebar-menu-page-nCAVFk3R.js";
11
11
  import { A as Rs, F as Es, M as Gs, a as Vs, T as js } from "./aside-template-McEj_Gxc.js";
@@ -1,5 +1,5 @@
1
- import { A as o, B as t, C as e, z as i, u as r, v as n, w as m, D as l, j as S, k as D, G as c, E as u, s as d, c as g, a as p, b as C, i as F, g as T, e as A, h as P, F as f, d as b, f as w, t as B, M as I, l as M, N as x, P as y, p as k, q as v, S as N, n as h, o as E, T as L, x as U, y as j, m as q, r as z } from "./confirmation-BrFWql_V.js";
2
- import { A as O, P as R, g as _ } from "./calendar-CYExSMEO.js";
1
+ import { A as o, B as t, C as e, z as i, u as r, v as n, w as m, D as l, j as S, k as D, G as c, E as u, s as d, c as g, a as p, b as C, i as F, g as T, e as A, h as P, F as f, d as b, f as w, t as B, M as I, l as M, N as x, P as y, p as k, q as v, S as N, n as h, o as E, T as L, x as U, y as j, m as q, r as z } from "./confirmation-Drz3H-3y.js";
2
+ import { A as O, P as R, g as _ } from "./calendar-PB6ymJ8S.js";
3
3
  export {
4
4
  o as Alert,
5
5
  O as Avatar,
@@ -1,5 +1,5 @@
1
- import { B as s, m as o, C as t, j as r, D as n, l, H as i, I as d, N as b, O as v, P as g, S as p, q as u, p as N, n as k, o as C, T as D, k as M, U as T, W as c, f as B, h as m, i as y, c as W, d as h, b as H, e as P, a as S, g as f } from "./signature-panel-zC3mmGzc.js";
2
- import { b as I, C as L, D as O, a as F, F as U, M as G, c as j, p as q } from "./calendar-CYExSMEO.js";
1
+ import { B as s, m as o, C as t, j as r, D as n, l, H as i, I as d, N as b, O as v, P as g, S as p, q as u, p as N, n as k, o as C, T as D, k as M, U as T, W as c, f as B, h as m, i as y, c as W, d as h, b as H, e as P, a as S, g as f } from "./signature-panel-DVFpUbvC.js";
2
+ import { b as I, C as L, D as O, a as F, F as U, M as G, c as j, p as q } from "./calendar-PB6ymJ8S.js";
3
3
  import { B as z, I as A, M as E, d as J, e as K, g as Q, N as R, b as V, a as X, f as Y, P as Z, c as _, S as $, T as aa } from "./mobile-nav-wrapper-BE_hr65B.js";
4
4
  export {
5
5
  s as BackButton,
@@ -1,22 +1,22 @@
1
- import { Button as v, Div as o, On as U, Span as y, Th as P, UseParent as Y, I as F, Thead as E, Tr as H, Table as Q, P as m, Li as D, Time as X, Nav as S, Ul as b, Section as O, Canvas as q } from "@base-framework/atoms";
2
- import { Atom as u, Component as g, Data as L, DateTime as K, Jot as R, router as k, NavLink as M, base as B, Dom as I } from "@base-framework/base";
3
- import { B as C, I as z } from "./buttons-CVEwmPAi.js";
1
+ import { Button as y, Div as o, On as Y, Span as v, Th as P, UseParent as F, I as E, Thead as H, Tr as Q, Table as X, P as m, Li as D, Time as q, Nav as S, Ul as b, Section as O, Canvas as K } from "@base-framework/atoms";
2
+ import { Atom as h, Component as u, Data as L, DateTime as G, Jot as R, router as x, NavLink as M, DataTracker as z, base as B, Dom as I } from "@base-framework/base";
3
+ import { B as C, I as N } from "./buttons-CVEwmPAi.js";
4
4
  import { Icons as w } from "./icons.es.js";
5
- import { TableBody as G, List as V, IntervalTimer as _ } from "@base-framework/organisms";
6
- import { C as J, I as Z, H as ee } from "./inputs-CzHSmZKP.js";
7
- import { A as te, P as se } from "./calendar-CYExSMEO.js";
8
- u((t, e) => ({
5
+ import { TableBody as V, List as _, IntervalTimer as J } from "@base-framework/organisms";
6
+ import { C as Z, I as ee, H as te } from "./inputs-CzHSmZKP.js";
7
+ import { A as se, P as ne } from "./calendar-PB6ymJ8S.js";
8
+ h((t, e) => ({
9
9
  class: "flex items-center px-4 py-2",
10
10
  ...t,
11
11
  children: e
12
12
  }));
13
- u(({ value: t, label: e }) => v({
13
+ h(({ value: t, label: e }) => y({
14
14
  class: "inline-flex flex-auto items-center justify-center whitespace-nowrap rounded-md px-8 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",
15
15
  onState: ["performance", { active: t }],
16
16
  dataSet: ["performance", ["state", t, "active"]],
17
17
  click: (s, { state: n }) => n.performance = t
18
18
  }, e));
19
- class Ge extends g {
19
+ class Ve extends u {
20
20
  /**
21
21
  * This will declare the props for the compiler.
22
22
  *
@@ -34,36 +34,36 @@ class Ge extends g {
34
34
  return o({ class: this.class || "" }, this.children);
35
35
  }
36
36
  }
37
- const ne = (t) => {
37
+ const ae = (t) => {
38
38
  const e = new Date(t, 11, 31), s = new Date(t, 0, 1);
39
39
  return e.getDay() === 4 || // December 31 is a Thursday
40
40
  s.getDay() === 4;
41
- }, ae = (t) => {
41
+ }, ie = (t) => {
42
42
  const e = new Date(t.valueOf()), s = (e.getDay() + 6) % 7;
43
43
  e.setDate(e.getDate() - s + 3);
44
44
  const n = e.getFullYear(), a = new Date(n, 0, 4);
45
45
  a.setDate(a.getDate() - (a.getDay() + 6) % 7);
46
46
  const i = Math.ceil((e - a) / 6048e5) + 1;
47
- return i > 52 && !ne(n) ? {
47
+ return i > 52 && !ae(n) ? {
48
48
  weekNumber: 1,
49
49
  year: n + 1
50
50
  } : {
51
51
  weekNumber: i,
52
52
  year: n
53
53
  };
54
- }, ie = (t, e, s) => {
54
+ }, oe = (t, e, s) => {
55
55
  if (s === 0) return [];
56
56
  const n = new Date(t, e, 0).getDate();
57
57
  return Array.from(
58
58
  { length: s },
59
59
  (a, i) => new Date(t, e - 1, n - s + i + 1)
60
60
  );
61
- }, oe = (t, e, s) => Array.from({ length: s }, (n, a) => new Date(t, e + 1, a + 1)), T = (t, e) => {
61
+ }, le = (t, e, s) => Array.from({ length: s }, (n, a) => new Date(t, e + 1, a + 1)), T = (t, e) => {
62
62
  const s = new Date(e, 0, 4), n = (s.getDay() + 6) % 7, a = new Date(s);
63
63
  a.setDate(s.getDate() - n);
64
64
  const i = new Date(a);
65
65
  return i.setDate(a.getDate() + (t - 1) * 7), i;
66
- }, Ve = (t, e) => {
66
+ }, _e = (t, e) => {
67
67
  const s = new Date(t, e, 1).getDay(), n = new Date(t, e + 1, 0).getDate(), a = [];
68
68
  let i = [];
69
69
  for (let l = 1 - s; l <= n; l++) {
@@ -71,18 +71,18 @@ const ne = (t) => {
71
71
  i.push(l > 0 ? d : null), (i.length === 7 || l === n) && (a.push([...i]), i = []);
72
72
  }
73
73
  return a;
74
- }, _e = (t, e) => {
74
+ }, Je = (t, e) => {
75
75
  const s = new Date(t, e + 1, 0).getDate(), n = [];
76
76
  let a = [];
77
77
  for (let i = 1; i <= s; i++)
78
78
  a.push(new Date(t, e, i)), a.length === 7 && (n.push(a), a = []);
79
79
  return a.length > 0 && n.push(a), n;
80
- }, le = (t, e, s) => {
80
+ }, re = (t, e, s) => {
81
81
  const n = /* @__PURE__ */ new Date();
82
82
  return n.getDate() === t && n.getMonth() === e && n.getFullYear() === s;
83
- }, re = ({ day: t, month: e, year: s, weekNumber: n, selectWeek: a }) => {
84
- const i = le(t, e, s);
85
- return v({
83
+ }, ce = ({ day: t, month: e, year: s, weekNumber: n, selectWeek: a }) => {
84
+ const i = re(t, e, s);
85
+ return y({
86
86
  text: t || "",
87
87
  disabled: !t,
88
88
  class: `
@@ -92,19 +92,19 @@ const ne = (t) => {
92
92
  `,
93
93
  click: () => a(n, s)
94
94
  });
95
- }, ce = (t, e) => {
96
- const s = new Date(t, e, 1).getDay(), n = new Date(t, e + 1, 0).getDate(), a = ie(t, e, s), i = Array.from({ length: n }, (r, p) => new Date(t, e, p + 1)), l = (a.length + i.length) % 7, d = l === 0 ? 0 : 7 - l, c = oe(t, e, d), h = [...a, ...i, ...c], f = [];
97
- for (let r = 0; r < h.length; r += 7) {
98
- const p = h.slice(r, r + 7), x = p.find((A) => A) || new Date(t, e, 1), { weekNumber: $, year: j } = ae(x);
95
+ }, de = (t, e) => {
96
+ const s = new Date(t, e, 1).getDay(), n = new Date(t, e + 1, 0).getDate(), a = oe(t, e, s), i = Array.from({ length: n }, (r, p) => new Date(t, e, p + 1)), l = (a.length + i.length) % 7, d = l === 0 ? 0 : 7 - l, c = le(t, e, d), g = [...a, ...i, ...c], f = [];
97
+ for (let r = 0; r < g.length; r += 7) {
98
+ const p = g.slice(r, r + 7), k = p.find((U) => U) || new Date(t, e, 1), { weekNumber: j, year: A } = ie(k);
99
99
  f.push({
100
- weekNumber: $,
101
- year: j,
100
+ weekNumber: j,
101
+ year: A,
102
102
  days: p
103
103
  });
104
104
  }
105
105
  return f;
106
- }, de = ({ selectWeek: t }) => U("month", (e, s, { data: n }) => {
107
- const { year: a, month: i, currentDate: l } = n, d = ce(a, i);
106
+ }, he = ({ selectWeek: t }) => Y("month", (e, s, { data: n }) => {
107
+ const { year: a, month: i, currentDate: l } = n, d = de(a, i);
108
108
  return o(
109
109
  { class: "grid grid-cols-8 gap-1 text-sm px-4 py-2" },
110
110
  [
@@ -115,12 +115,12 @@ const ne = (t) => {
115
115
  class: "grid grid-cols-7 col-span-7 text-center text-muted-foreground items-center"
116
116
  },
117
117
  ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"].map(
118
- (c) => y({ class: "px-1 py-1", text: c })
118
+ (c) => v({ class: "px-1 py-1", text: c })
119
119
  )
120
120
  ),
121
121
  // Render each "week" row
122
122
  ...d.map(
123
- ({ weekNumber: c, days: h, year: f }) => o({
123
+ ({ weekNumber: c, days: g, year: f }) => o({
124
124
  class: "grid grid-cols-8 col-span-8 items-center ring-primary rounded-sm px-1",
125
125
  onSet: ["currentWeek", {
126
126
  ring: c
@@ -140,14 +140,12 @@ const ne = (t) => {
140
140
  // The 7 cells for each day in the row
141
141
  o(
142
142
  { class: "grid grid-cols-7 col-span-7 text-center" },
143
- h.map(
144
- (r) => re({
143
+ g.map(
144
+ (r) => ce({
145
145
  year: (r == null ? void 0 : r.getFullYear()) || null,
146
146
  month: (r == null ? void 0 : r.getMonth()) || null,
147
147
  day: (r == null ? void 0 : r.getDate()) || null,
148
- week: h,
149
148
  weekNumber: c,
150
- currentDate: l,
151
149
  selectWeek: t
152
150
  })
153
151
  )
@@ -169,8 +167,8 @@ const ne = (t) => {
169
167
  variant: "icon",
170
168
  icon: t === "Previous" ? w.chevron.single.left : w.chevron.single.right
171
169
  }
172
- ), he = ({ next: t, previous: e }) => o({ class: "flex flex-auto min-h-12 text-sm font-medium relative justify-center items-center" }, [
173
- y("[[monthName]] [[year]]"),
170
+ ), ue = ({ next: t, previous: e }) => o({ class: "flex flex-auto min-h-12 text-sm font-medium relative justify-center items-center" }, [
171
+ v("[[monthName]] [[year]]"),
174
172
  W({
175
173
  label: "Previous",
176
174
  click: e
@@ -180,7 +178,7 @@ const ne = (t) => {
180
178
  click: t
181
179
  })
182
180
  ]);
183
- class Je extends g {
181
+ class Ze extends u {
184
182
  /**
185
183
  * This will declare the props for the compiler.
186
184
  *
@@ -233,7 +231,7 @@ class Je extends g {
233
231
  * @returns {string}
234
232
  */
235
233
  getMonthName(e) {
236
- return K.monthNames[e];
234
+ return G.monthNames[e];
237
235
  }
238
236
  /**
239
237
  * Updates the calendar to show the previous month.
@@ -288,36 +286,36 @@ class Je extends g {
288
286
  */
289
287
  render() {
290
288
  return o({ class: "week-calendar-container border rounded-md bg-background p-3" }, [
291
- he({
289
+ ue({
292
290
  next: () => this.goToNextMonth(),
293
291
  previous: () => this.goToPreviousMonth()
294
292
  }),
295
- de({
293
+ he({
296
294
  selectWeek: (e, s) => this.selectWeek(e, s)
297
295
  })
298
296
  ]);
299
297
  }
300
298
  }
301
- const ue = (t, e) => {
299
+ const ge = (t, e) => {
302
300
  const s = t.toggleAllSelectedRows();
303
301
  e.state.checked = !s;
304
- }, ge = (t) => P({ class: `cursor-pointer py-3 px-4 text-base w-10 ${t.class || ""}` }, [
305
- Y((e) => new J({ class: "mr-2", onChange: (s, n) => ue(e, n) }))
306
- ]), fe = ({ align: t, sortable: e, key: s, label: n, sort: a, class: i }) => {
302
+ }, fe = (t) => P({ class: `cursor-pointer py-3 px-4 text-base w-10 ${t.class || ""}` }, [
303
+ F((e) => new Z({ class: "mr-2", onChange: (s, n) => ge(e, n) }))
304
+ ]), pe = ({ align: t, sortable: e, key: s, label: n, sort: a, class: i }) => {
307
305
  const l = t || "justify-start";
308
306
  return P({
309
307
  class: `cursor-pointer py-3 px-4 text-base ${i || ""}`,
310
308
  click: e && (() => a(s))
311
309
  }, [
312
310
  o({ class: `flex flex-auto w-full items-center ${l}` }, [
313
- y(n),
314
- e && F({ class: "ml-2", html: w.arrows.upDown })
311
+ v(n),
312
+ e && E({ class: "ml-2", html: w.arrows.upDown })
315
313
  ])
316
314
  ]);
317
- }, pe = (t) => E([
318
- H({
315
+ }, me = (t) => H([
316
+ Q({
319
317
  class: "text-muted-foreground border-b",
320
- map: [t.headers, (e) => e.label === "checkbox" ? ge({ toggle: t.toggle }) : fe({
318
+ map: [t.headers, (e) => e.label === "checkbox" ? fe({ toggle: t.toggle }) : pe({
321
319
  align: e.align,
322
320
  sortable: e.sortable,
323
321
  key: e.key,
@@ -325,13 +323,13 @@ const ue = (t, e) => {
325
323
  sort: t.sort
326
324
  })]
327
325
  })
328
- ]), me = ({ key: t, rows: e, selectRow: s, rowItem: n }) => new G({
326
+ ]), we = ({ key: t, rows: e, selectRow: s, rowItem: n }) => new V({
329
327
  cache: "table",
330
328
  key: t,
331
329
  items: e,
332
330
  rowItem: (a) => n(a, s),
333
331
  class: "divide-y divide-border"
334
- }), Ze = R(
332
+ }), et = R(
335
333
  {
336
334
  /**
337
335
  * Initializes component data.
@@ -401,12 +399,12 @@ const ue = (t, e) => {
401
399
  const t = this.rows, e = this.border !== !1 ? "border" : "";
402
400
  return o({ class: "w-full" }, [
403
401
  o({ class: `w-full rounded-md ${e} overflow-x-auto` }, [
404
- Q({ class: "w-full" }, [
402
+ X({ class: "w-full" }, [
405
403
  // @ts-ignore
406
- this.headers && pe({ headers: this.headers, sort: (s) => this.sortRows(s) }),
404
+ this.headers && me({ headers: this.headers, sort: (s) => this.sortRows(s) }),
407
405
  // @ts-ignore
408
406
  this.customHeader ?? null,
409
- me({
407
+ we({
410
408
  // @ts-ignore
411
409
  key: this.key,
412
410
  rows: t,
@@ -479,45 +477,45 @@ const ue = (t, e) => {
479
477
  this.data.selectedRows = [];
480
478
  }
481
479
  }
482
- ), we = u(({ name: t, email: e }) => o({ class: "min-w-0 flex-auto" }, [
480
+ ), be = h(({ name: t, email: e }) => o({ class: "min-w-0 flex-auto" }, [
483
481
  m({ class: "text-base font-semibold leading-6 m-0" }, t),
484
482
  m({ class: "truncate text-sm leading-5 text-muted-foreground m-0" }, e)
485
- ])), be = () => o({ class: "flex items-center gap-x-1.5" }, [
483
+ ])), ke = () => o({ class: "flex items-center gap-x-1.5" }, [
486
484
  o({ class: "flex-none rounded-full bg-emerald-500/20 p-1" }, [
487
485
  o({ class: "h-1.5 w-1.5 rounded-full bg-emerald-500" })
488
486
  ]),
489
487
  m({ class: "text-xs leading-5 text-gray-500" }, "Online")
490
488
  ]), xe = (t) => m({ class: "text-xs leading-5 text-muted-foreground" }, [
491
- y("Last seen "),
492
- X({ datetime: t }, "3h ago")
493
- ]), ke = (t, e) => t === "online" ? be() : xe(e), ve = u(({ role: t, lastSeen: e, status: s }) => o({ class: "hidden shrink-0 sm:flex sm:flex-col sm:items-end" }, [
489
+ v("Last seen "),
490
+ q({ datetime: t }, "3h ago")
491
+ ]), ye = (t, e) => t === "online" ? ke() : xe(e), ve = h(({ role: t, lastSeen: e, status: s }) => o({ class: "hidden shrink-0 sm:flex sm:flex-col sm:items-end" }, [
494
492
  m({ class: "text-sm leading-6 m-0" }, t),
495
- ke(s, e)
496
- ])), ye = (t) => t.split(" ").map((s) => s[0]).join(""), De = u((t) => D({ class: "fadeIn flex justify-between gap-x-6 py-4 px-4 rounded-md hover:bg-muted/50" }, [
493
+ ye(s, e)
494
+ ])), De = (t) => t.split(" ").map((s) => s[0]).join(""), Se = h((t) => D({ class: "fadeIn flex justify-between gap-x-6 py-4 px-4 rounded-md hover:bg-muted/50" }, [
497
495
  o({ class: "flex min-w-0 gap-x-4" }, [
498
- te({ src: t.image, alt: t.name, fallbackText: ye(t.name) }),
499
- we({ name: t.name, email: t.email })
496
+ se({ src: t.image, alt: t.name, fallbackText: De(t.name) }),
497
+ be({ name: t.name, email: t.email })
500
498
  ]),
501
499
  ve({
502
500
  role: t.role,
503
501
  lastSeen: t.lastSeen,
504
502
  status: t.status
505
503
  })
506
- ])), et = u((t) => new V({
504
+ ])), tt = h((t) => new _({
507
505
  cache: "list",
508
506
  key: "name",
509
507
  items: t.users,
510
508
  role: "list",
511
509
  class: "divide-y divide-border",
512
- rowItem: De
513
- })), Se = (t, e) => e.includes(t), Le = (t, e, s) => t.exact ? s === e : Se(e, s), Ce = ({ text: t, href: e, exact: s, hidden: n }) => new M({
510
+ rowItem: Se
511
+ })), Le = (t, e) => e.includes(t), Ce = (t, e, s) => t.exact ? s === e : Le(e, s), Be = ({ text: t, href: e, exact: s, hidden: n }) => new M({
514
512
  text: t,
515
513
  href: e,
516
514
  exact: s,
517
515
  dataSet: ["selected", ["state", !0, "active"]],
518
516
  class: `${n ? "hidden" : "inline-flex"} items-center justify-center whitespace-nowrap px-3 py-1.5 text-sm font-medium transition-all rounded-md focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-ring focus-visible:ring-offset-background hover:bg-primary hover:text-primary-foreground disabled:opacity-50 disabled:pointer-events-none data-[state=active]:bg-primary data-[state=active]:text-primary-foreground data-[state=active]:shadow-sm`
519
517
  });
520
- class tt extends g {
518
+ class st extends u {
521
519
  /**
522
520
  * This will declare the props for the compiler.
523
521
  *
@@ -545,7 +543,7 @@ class tt extends g {
545
543
  class: "flex space-x-4",
546
544
  map: [this.options, (e) => this.addLink(e)],
547
545
  watch: {
548
- value: ["[[path]]", k.data],
546
+ value: ["[[path]]", x.data],
549
547
  callBack: this.updateLinks.bind(this)
550
548
  }
551
549
  })
@@ -558,7 +556,7 @@ class tt extends g {
558
556
  * @returns {void}
559
557
  */
560
558
  afterSetup() {
561
- const e = k.data.path;
559
+ const e = x.data.path;
562
560
  this.updateLinks(e);
563
561
  }
564
562
  /**
@@ -573,7 +571,7 @@ class tt extends g {
573
571
  for (const n of this.links) {
574
572
  if (!n.rendered)
575
573
  continue;
576
- Le(n, n.getLinkPath(), e) ? (this.updateLink(n, !0), s = !0) : this.updateLink(n, !1);
574
+ Ce(n, n.getLinkPath(), e) ? (this.updateLink(n, !0), s = !0) : this.updateLink(n, !1);
577
575
  }
578
576
  !s && this.links[0] && this.updateLink(this.links[0], !0);
579
577
  }
@@ -603,7 +601,7 @@ class tt extends g {
603
601
  * @returns {object}
604
602
  */
605
603
  addLink({ label: e, href: s, exact: n, hidden: a }) {
606
- const i = Ce({ text: e, href: s, exact: n, hidden: a });
604
+ const i = Be({ text: e, href: s, exact: n, hidden: a });
607
605
  return this.links.push(i), i;
608
606
  }
609
607
  /**
@@ -615,7 +613,7 @@ class tt extends g {
615
613
  this.links = [];
616
614
  }
617
615
  }
618
- const st = u((t) => {
616
+ const nt = h((t) => {
619
617
  const e = t.margin || "m-4 ml-0";
620
618
  return o({ class: `flex-none ${e}` }, [
621
619
  C({
@@ -629,11 +627,11 @@ const st = u((t) => {
629
627
  t.backUrl && app.navigate(t.backUrl);
630
628
  }
631
629
  }, [
632
- z(w.arrows.left)
630
+ N(w.arrows.left)
633
631
  ])
634
632
  ]);
635
633
  });
636
- class N extends g {
634
+ class $ extends u {
637
635
  /**
638
636
  * This will declare the props for the compiler.
639
637
  *
@@ -720,7 +718,13 @@ class N extends g {
720
718
  return this.children;
721
719
  }
722
720
  }
723
- class nt extends N {
721
+ z.addType("dockableOverlay", (t) => {
722
+ if (!t)
723
+ return;
724
+ const e = t.component;
725
+ e && e.rendered === !0 && e.state.docked === !1 && e.destroy();
726
+ });
727
+ class at extends $ {
724
728
  /**
725
729
  * This will stop presistence.
726
730
  *
@@ -786,7 +790,13 @@ class nt extends N {
786
790
  * @returns {void}
787
791
  */
788
792
  afterSetup() {
789
- this.onResize();
793
+ z.add(
794
+ this.container,
795
+ "dockableOverlay",
796
+ {
797
+ component: this
798
+ }
799
+ ), this.onResize();
790
800
  }
791
801
  /**
792
802
  * This will setup the overlay events.
@@ -823,7 +833,7 @@ class nt extends N {
823
833
  document.documentElement.style.overflowY = "auto";
824
834
  }
825
835
  }
826
- class at extends N {
836
+ class it extends $ {
827
837
  /**
828
838
  * This will get the overlay type.
829
839
  *
@@ -842,7 +852,7 @@ class at extends N {
842
852
  this.container = e, this.initialize();
843
853
  }
844
854
  }
845
- const Be = u(({ index: t, click: e, state: s }, n) => D({
855
+ const Ie = h(({ index: t, click: e, state: s }, n) => D({
846
856
  class: "p-2 cursor-pointer hover:bg-muted/50",
847
857
  onState: [
848
858
  [s, "selectedIndex", {
@@ -851,11 +861,11 @@ const Be = u(({ index: t, click: e, state: s }, n) => D({
851
861
  }]
852
862
  ],
853
863
  click: () => e(t)
854
- }, n)), Ie = u(({ selectOption: t, state: e }) => b({
864
+ }, n)), Te = h(({ selectOption: t, state: e }) => b({
855
865
  class: "border rounded-md list-none m-0 p-0 max-h-[400px] overflow-y-auto",
856
- for: ["filteredOptions", (s, n) => Be({ index: n, click: t, state: e }, s.label)]
857
- })), Te = u((t) => o({ class: "relative flex items-center" }, [
858
- Z({
866
+ for: ["filteredOptions", (s, n) => Ie({ index: n, click: t, state: e }, s.label)]
867
+ })), We = h((t) => o({ class: "relative flex items-center" }, [
868
+ ee({
859
869
  cache: "input",
860
870
  placeholder: t.placeholder ?? "Search...",
861
871
  bind: [t.state, "searchQuery"],
@@ -866,22 +876,22 @@ const Be = u(({ index: t, click: e, state: s }, n) => D({
866
876
  keydown: (e) => typeof t.handleKeyDown == "function" && t.handleKeyDown(e)
867
877
  }),
868
878
  t.icon && o({ class: "absolute right-0 mr-2" }, [
869
- z(t.icon)
879
+ N(t.icon)
870
880
  ])
871
- ])), We = (t) => o({
881
+ ])), Pe = (t) => o({
872
882
  class: "relative flex fle-auto flex-col",
873
883
  onState: ["open", (e, s, n) => {
874
884
  if (e)
875
- return new se({
885
+ return new ne({
876
886
  cache: "dropdown",
877
887
  parent: n,
878
888
  button: n.input,
879
889
  size: "xl"
880
890
  }, [
881
- Ie(t)
891
+ Te(t)
882
892
  ]);
883
893
  }]
884
- }), it = R(
894
+ }), ot = R(
885
895
  {
886
896
  /**
887
897
  * This will set up the data object.
@@ -978,7 +988,7 @@ const Be = u(({ index: t, click: e, state: s }, n) => D({
978
988
  */
979
989
  render() {
980
990
  return o({ class: "relative w-full max-w-md" }, [
981
- Te({
991
+ We({
982
992
  // @ts-ignore
983
993
  state: this.state,
984
994
  // @ts-ignore
@@ -990,7 +1000,7 @@ const Be = u(({ index: t, click: e, state: s }, n) => D({
990
1000
  // @ts-ignore
991
1001
  handleKeyDown: this.handleKeyDown.bind(this)
992
1002
  }),
993
- We({
1003
+ Pe({
994
1004
  // @ts-ignore
995
1005
  state: this.state,
996
1006
  // @ts-ignore
@@ -1001,22 +1011,22 @@ const Be = u(({ index: t, click: e, state: s }, n) => D({
1001
1011
  ]);
1002
1012
  }
1003
1013
  }
1004
- ), Pe = (t) => D(
1014
+ ), Oe = (t) => D(
1005
1015
  {
1006
1016
  class: "inline-flex flex-auto items-center justify-center whitespace-nowrap rounded-sm text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-primary data-[state=active]:text-primary-foreground data-[state=active]:shadow-sm",
1007
1017
  dataSet: ["selected", ["state", t.value, "active"]]
1008
1018
  },
1009
1019
  [
1010
- v({
1020
+ y({
1011
1021
  class: "flex flex-auto justify-center items-center px-3 py-1.5",
1012
1022
  onSet: ["selected", { selected: t.value }],
1013
1023
  click: (e) => t.callBack(t.value)
1014
1024
  }, t.label)
1015
1025
  ]
1016
- ), Oe = (t, e) => (t.callBack = e, Pe(t)), Re = (t) => S({ class: `tab items-center justify-center rounded-md bg-muted p-1 text-muted-foreground ${t.class}` }, [
1017
- b({ class: "flex flex-auto flex-row", map: [t.options, (e) => Oe(e, t.callBack)] })
1026
+ ), Re = (t, e) => (t.callBack = e, Oe(t)), Me = (t) => S({ class: `tab items-center justify-center rounded-md bg-muted p-1 text-muted-foreground ${t.class}` }, [
1027
+ b({ class: "flex flex-auto flex-row", map: [t.options, (e) => Re(e, t.callBack)] })
1018
1028
  ]);
1019
- class ot extends g {
1029
+ class lt extends u {
1020
1030
  /**
1021
1031
  * This will declare the props for the compiler.
1022
1032
  *
@@ -1033,7 +1043,7 @@ class ot extends g {
1033
1043
  render() {
1034
1044
  const e = this.select.bind(this);
1035
1045
  return o({ class: "" }, [
1036
- Re({
1046
+ Me({
1037
1047
  class: this.class,
1038
1048
  options: this.options,
1039
1049
  callBack: e
@@ -1104,23 +1114,23 @@ class ot extends g {
1104
1114
  };
1105
1115
  }
1106
1116
  }
1107
- const Me = (t) => D(
1117
+ const ze = (t) => D(
1108
1118
  {
1109
1119
  class: "inline-flex flex-auto items-center justify-center whitespace-nowrap rounded-sm text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-primary data-[state=active]:text-primary-foreground data-[state=active]:shadow-sm",
1110
1120
  dataSet: ["selected", ["state", t.value, "active"]]
1111
1121
  },
1112
1122
  [
1113
- v({
1123
+ y({
1114
1124
  class: "flex flex-auto justify-center items-center px-3 py-1.5 disabled:opacity-50 disabled:cursor-not-allowed",
1115
1125
  onSet: ["selected", { selected: t.value }],
1116
1126
  click: (e) => t.callBack(t.value),
1117
1127
  disabled: t.disabled
1118
1128
  }, t.label)
1119
1129
  ]
1120
- ), ze = (t, e) => (t.callBack = e, Me(t)), Ne = (t) => S({ class: `tab items-center justify-center rounded-md bg-muted p-1 text-muted-foreground ${t.class}` }, [
1121
- b({ class: "flex flex-auto flex-row", map: [t.options, (e) => ze(e, t.callBack)] })
1130
+ ), Ne = (t, e) => (t.callBack = e, ze(t)), $e = (t) => S({ class: `tab items-center justify-center rounded-md bg-muted p-1 text-muted-foreground ${t.class}` }, [
1131
+ b({ class: "flex flex-auto flex-row", map: [t.options, (e) => Ne(e, t.callBack)] })
1122
1132
  ]);
1123
- class lt extends g {
1133
+ class rt extends u {
1124
1134
  /**
1125
1135
  * This will declare the props for the compiler.
1126
1136
  *
@@ -1136,7 +1146,7 @@ class lt extends g {
1136
1146
  */
1137
1147
  render() {
1138
1148
  const e = this.select.bind(this);
1139
- return Ne({
1149
+ return $e({
1140
1150
  class: this.class,
1141
1151
  options: this.options,
1142
1152
  callBack: e
@@ -1163,17 +1173,17 @@ class lt extends g {
1163
1173
  };
1164
1174
  }
1165
1175
  }
1166
- const $e = (t, e) => new RegExp(`${t}($|/|\\.).*`).test(e), je = (t, e) => {
1176
+ const je = (t, e) => new RegExp(`${t}($|/|\\.).*`).test(e), Ae = (t, e) => {
1167
1177
  const s = t.getLinkPath();
1168
- return t.exact ? e === s : $e(s, e);
1169
- }, Ae = ({ text: t, href: e, exact: s }) => new M({
1178
+ return t.exact ? e === s : je(s, e);
1179
+ }, Ue = ({ text: t, href: e, exact: s }) => new M({
1170
1180
  text: t,
1171
1181
  href: e,
1172
1182
  exact: s,
1173
1183
  dataSet: ["selected", ["state", !0, "active"]],
1174
1184
  class: "inline-flex flex-auto items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-primary data-[state=active]:text-primary-foreground data-[state=active]:shadow-sm"
1175
1185
  });
1176
- class Ue extends g {
1186
+ class Ye extends u {
1177
1187
  /**
1178
1188
  * This will declare the props for the compiler.
1179
1189
  *
@@ -1199,7 +1209,7 @@ class Ue extends g {
1199
1209
  class: "flex flex-auto flex-row",
1200
1210
  map: [this.options, (e) => this.addLink(e)],
1201
1211
  watch: {
1202
- value: ["[[path]]", k.data],
1212
+ value: ["[[path]]", x.data],
1203
1213
  callBack: this.updateLinks.bind(this)
1204
1214
  }
1205
1215
  })
@@ -1211,7 +1221,7 @@ class Ue extends g {
1211
1221
  * @returns {void}
1212
1222
  */
1213
1223
  afterSetup() {
1214
- const e = k.data.path;
1224
+ const e = x.data.path;
1215
1225
  this.updateLinks(e);
1216
1226
  }
1217
1227
  /**
@@ -1224,7 +1234,7 @@ class Ue extends g {
1224
1234
  let s = !1, n = this.links[0];
1225
1235
  this.deactivateAllLinks();
1226
1236
  for (const a of this.links)
1227
- if (a.rendered !== !1 && (s = je(a, e), s === !0)) {
1237
+ if (a.rendered !== !1 && (s = Ae(a, e), s === !0)) {
1228
1238
  this.updateLink(a, !0);
1229
1239
  break;
1230
1240
  }
@@ -1256,7 +1266,7 @@ class Ue extends g {
1256
1266
  * @returns {object}
1257
1267
  */
1258
1268
  addLink({ label: e, href: s, exact: n }) {
1259
- const a = Ae({ text: e, href: s, exact: n });
1269
+ const a = Ue({ text: e, href: s, exact: n });
1260
1270
  return this.links.push(a), a;
1261
1271
  }
1262
1272
  /**
@@ -1268,7 +1278,7 @@ class Ue extends g {
1268
1278
  this.links = [];
1269
1279
  }
1270
1280
  }
1271
- class rt extends g {
1281
+ class ct extends u {
1272
1282
  /**
1273
1283
  * This will declare the props for the compiler.
1274
1284
  *
@@ -1284,7 +1294,7 @@ class rt extends g {
1284
1294
  */
1285
1295
  render() {
1286
1296
  return o({ class: "tab-panel" }, [
1287
- new Ue({
1297
+ new Ye({
1288
1298
  class: this.class,
1289
1299
  options: this.options
1290
1300
  }),
@@ -1314,7 +1324,7 @@ class rt extends g {
1314
1324
  return s;
1315
1325
  }
1316
1326
  }
1317
- class Ye extends g {
1327
+ class Fe extends u {
1318
1328
  /**
1319
1329
  * Runs before rendering, sets up defaults, a timer for drawing,
1320
1330
  * and basic canvas properties.
@@ -1324,7 +1334,7 @@ class Ye extends g {
1324
1334
  onCreated() {
1325
1335
  this.lineWidth = this.lineWidth || 3, this.lineColor = this.lineColor || "#000000", this.canvas = null, this.ctx = null, this.status = "stopped";
1326
1336
  const e = 1e3 / 60;
1327
- this.timer = new _(e, this.draw.bind(this)), this.width = 0, this.height = 0, this.signed = !1, this.mouse = { x: 0, y: 0, status: "up" }, this.margin = this.margin || { x: 40, y: 60 }, this.targetSize = this.targetSize || { width: 740, height: 345 }, this.baseLineWidth = this.baseLineWidth || 2, this.baseStrokeColor = this.baseStrokeColor || "#000000";
1337
+ this.timer = new J(e, this.draw.bind(this)), this.width = 0, this.height = 0, this.signed = !1, this.mouse = { x: 0, y: 0, status: "up" }, this.margin = this.margin || { x: 40, y: 60 }, this.targetSize = this.targetSize || { width: 740, height: 345 }, this.baseLineWidth = this.baseLineWidth || 2, this.baseStrokeColor = this.baseStrokeColor || "#000000";
1328
1338
  }
1329
1339
  /**
1330
1340
  * Renders a <canvas> element.
@@ -1332,7 +1342,7 @@ class Ye extends g {
1332
1342
  * @returns {object} Layout definition for the canvas.
1333
1343
  */
1334
1344
  render() {
1335
- return q({
1345
+ return K({
1336
1346
  style: "touch-action: none; -webkit-user-select: none; -webkit-touch-callout: none;"
1337
1347
  });
1338
1348
  }
@@ -1381,8 +1391,8 @@ class Ye extends g {
1381
1391
  let s, n;
1382
1392
  const a = this.canvas, i = a.width / parseInt(a.style.width), l = a.getBoundingClientRect();
1383
1393
  if (e.touches && e.touches.length) {
1384
- const h = e.touches[0];
1385
- s = h.clientX, n = h.clientY;
1394
+ const g = e.touches[0];
1395
+ s = g.clientX, n = g.clientY;
1386
1396
  } else
1387
1397
  s = e.x || e.clientX, n = e.y || e.clientY;
1388
1398
  const d = parseInt((s - l.left) * i), c = parseInt((n - l.top) * i);
@@ -1463,8 +1473,8 @@ class Ye extends g {
1463
1473
  const e = this.canvas, s = this.container, n = I.getSize(s), a = this.targetSize, i = a.width, l = a.height;
1464
1474
  let d = i + "px", c = l + "px";
1465
1475
  if (this.width = e.width = i, this.height = e.height = l, n.width !== 0 && n.height !== 0) {
1466
- const h = n.width, f = n.height, r = h / i, p = f / l, x = Math.min(r, p);
1467
- d = i * x + "px", c = l * x + "px";
1476
+ const g = n.width, f = n.height, r = g / i, p = f / l, k = Math.min(r, p);
1477
+ d = i * k + "px", c = l * k + "px";
1468
1478
  }
1469
1479
  e.style.width = d, e.style.height = c;
1470
1480
  }
@@ -1540,7 +1550,7 @@ class Ye extends g {
1540
1550
  this.timer.stop(), this.status = "stopped";
1541
1551
  }
1542
1552
  }
1543
- class ct extends g {
1553
+ class dt extends u {
1544
1554
  /**
1545
1555
  * Sets up default properties for the signature panel.
1546
1556
  *
@@ -1557,7 +1567,7 @@ class ct extends g {
1557
1567
  */
1558
1568
  render() {
1559
1569
  return o({ class: "signature-panel relative flex flex-auto overflow-hidden select-none" }, [
1560
- ee({
1570
+ te({
1561
1571
  cache: "hiddenInput",
1562
1572
  required: !0,
1563
1573
  bind: this.path + ".data"
@@ -1569,7 +1579,7 @@ class ct extends g {
1569
1579
  click: this.reset.bind(this)
1570
1580
  })
1571
1581
  ]),
1572
- new Ye({
1582
+ new Fe({
1573
1583
  cache: "canvasLayer",
1574
1584
  margin: this.margin,
1575
1585
  targetSize: this.targetSize,
@@ -1619,33 +1629,33 @@ class ct extends g {
1619
1629
  }
1620
1630
  }
1621
1631
  export {
1622
- st as B,
1623
- ge as C,
1624
- me as D,
1625
- fe as H,
1626
- at as I,
1627
- tt as N,
1628
- N as O,
1629
- Ge as P,
1630
- it as S,
1631
- pe as T,
1632
- De as U,
1633
- Je as W,
1634
- oe as a,
1632
+ nt as B,
1633
+ fe as C,
1634
+ we as D,
1635
+ pe as H,
1636
+ it as I,
1637
+ st as N,
1638
+ $ as O,
1639
+ Ve as P,
1640
+ ot as S,
1641
+ me as T,
1642
+ Se as U,
1643
+ Ze as W,
1644
+ le as a,
1635
1645
  T as b,
1636
- ae as c,
1637
- Ve as d,
1638
- _e as e,
1639
- re as f,
1640
- ie as g,
1641
- de as h,
1642
- he as i,
1643
- Ze as j,
1644
- et as k,
1645
- nt as l,
1646
- ot as m,
1647
- lt as n,
1648
- Ue as o,
1649
- rt as p,
1650
- ct as q
1646
+ ie as c,
1647
+ _e as d,
1648
+ Je as e,
1649
+ ce as f,
1650
+ oe as g,
1651
+ he as h,
1652
+ ue as i,
1653
+ et as j,
1654
+ tt as k,
1655
+ at as l,
1656
+ lt as m,
1657
+ rt as n,
1658
+ Ye as o,
1659
+ ct as p,
1660
+ dt as q
1651
1661
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base-framework/ui",
3
- "version": "1.0.48",
3
+ "version": "1.0.52",
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": {
@@ -40,7 +40,7 @@
40
40
  "typescript": "^5.4.2",
41
41
  "vite": "^5.4.9"
42
42
  },
43
- "types": "dist/types/ui.d.ts",
43
+ "types": "./dist/types/**/*.d.ts",
44
44
  "files": [
45
45
  "package.json",
46
46
  "readme.md",