@base-framework/ui 1.1.2 → 1.1.4
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/{aside-template-sUm-F2f0.js → aside-template-BDvEMLnk.js} +2 -2
- package/dist/atoms.es.js +2 -2
- package/dist/{bside-template-do_hXebn.js → bside-template-BCP2pJWN.js} +1 -1
- package/dist/{empty-state-CNuWXebM.js → empty-state-DoTkyO7O.js} +213 -141
- package/dist/index.es.js +9 -9
- package/dist/{inputs-9udyzkHR.js → inputs-DEfa4qLY.js} +12 -4
- package/dist/{mobile-nav-wrapper-jUpomqyU.js → mobile-nav-wrapper-CZ5m6cqw.js} +34 -26
- package/dist/molecules.es.js +2 -2
- package/dist/organisms.es.js +3 -3
- package/dist/pages.es.js +1 -1
- package/dist/{range-calendar-CAwPjNM3.js → range-calendar-BH4jZwwg.js} +3 -3
- package/dist/{sidebar-menu-page-D6r7Pr21.js → sidebar-menu-page-BCqUom5C.js} +2 -2
- package/dist/{signature-panel-C5pdGkvG.js → signature-panel-C0l1Y7aF.js} +67 -51
- package/dist/templates.es.js +2 -2
- package/dist/{tooltip-Czvqmxt3.js → tooltip-BNsImT7F.js} +1 -1
- package/dist/types/components/molecules/dropdowns/dropdown-menu.d.ts +2 -0
- package/dist/types/components/molecules/notifications/notification-container.d.ts +1 -0
- package/dist/types/components/organisms/lists/data-table.d.ts +1 -0
- package/dist/types/components/organisms/signature/signature-panel.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { B as s, C as o, F as t, L as r, P as n, R as l, S as i, a as p, T as m } from "./tooltip-
|
|
1
|
+
import { B as s, C as o, F as t, L as r, P as n, R as l, S as i, a as p, T as m } from "./tooltip-BNsImT7F.js";
|
|
2
2
|
import { B as u, I as g, L as C } from "./buttons-CfwtbIR-.js";
|
|
3
3
|
import { C as T, F as b } from "./form-group-BB7dLJir.js";
|
|
4
|
-
import { C as D,
|
|
4
|
+
import { C as D, a as S, D as F, b as B, E as P, F as k, H as M, I as x, M as f, N as v, P as N, R as y, T as h, c as U, d as L, U as W, W as w } from "./inputs-DEfa4qLY.js";
|
|
5
5
|
import { I as R, V as A, a as G } from "./image-BB__4s0g.js";
|
|
6
6
|
import { Icons as E } from "./icons.es.js";
|
|
7
|
-
import { A as j, B as q, C as J,
|
|
8
|
-
import { A as Ra,
|
|
9
|
-
import { B as Xa,
|
|
10
|
-
import { B as Le, I as We, M as we,
|
|
11
|
-
import { B as Qe, a as _e, C as Xe, F as Ye, b as Ze, c as $e, M as as, P as es, S as ss } from "./sidebar-menu-page-
|
|
12
|
-
import { A as ts, F as rs, M as ns,
|
|
13
|
-
import { B as ms } from "./bside-template-
|
|
7
|
+
import { A as j, B as q, C as J, a as z, b as K, c as Q, d as _, D as X, e as Y, f as Z, g as $, h as aa, i as ea, j as sa, k as oa, l as ta, m as ra, n as na, o as la, E as ia, F as pa, p as ma, q as da, r as ua, s as ga, t as Ca, u as ca, v as Ta, w as ba, x as Ia, I as Da, L as Sa, M as Fa, y as Ba, N as Pa, z as ka, P as Ma, S as xa, G as fa, H as va, J as Na, K as ya, T as ha, O as Ua, Q as La, R as Wa, U as wa } from "./empty-state-DoTkyO7O.js";
|
|
8
|
+
import { A as Ra, C as Aa, a as Ga, D as Oa, b as Ea, F as Va, M as ja, P as qa, R as Ja, c as za, g as Ka, p as Qa } from "./range-calendar-BH4jZwwg.js";
|
|
9
|
+
import { B as Xa, a as Ya, C as Za, D as $a, b as ae, c as ee, d as se, H as oe, I as te, N as re, O as ne, P as le, S as ie, e as pe, f as me, g as de, T as ue, h as ge, i as Ce, j as ce, U as Te, k as be, l as Ie, m as De, n as Se, o as Fe, W as Be, p as Pe, q as ke, r as Me, s as xe, t as fe, u as ve, v as Ne, w as ye, x as he } from "./signature-panel-C0l1Y7aF.js";
|
|
10
|
+
import { B as Le, I as We, M as we, a as He, b as Re, N as Ae, c as Ge, d as Oe, e as Ee, f as Ve, P as je, S as qe, g as Je, T as ze } from "./mobile-nav-wrapper-CZ5m6cqw.js";
|
|
11
|
+
import { B as Qe, a as _e, C as Xe, F as Ye, b as Ze, c as $e, M as as, P as es, S as ss } from "./sidebar-menu-page-BCqUom5C.js";
|
|
12
|
+
import { A as ts, F as rs, M as ns, T as ls, a as is } from "./aside-template-BDvEMLnk.js";
|
|
13
|
+
import { B as ms } from "./bside-template-BCP2pJWN.js";
|
|
14
14
|
import { F as us, c as gs } from "./format-BmrNQptv.js";
|
|
15
15
|
import { I as cs } from "./image-scaler-1G-JzJVG.js";
|
|
16
16
|
export {
|
|
@@ -98,6 +98,14 @@ const I = "flex h-10 w-full px-3 py-2 text-sm", n = "rounded-md border border-bo
|
|
|
98
98
|
// @ts-ignore
|
|
99
99
|
this.label && T({ id: e, label: this.label, clickHandler: c })
|
|
100
100
|
]);
|
|
101
|
+
},
|
|
102
|
+
/**
|
|
103
|
+
* This will clear cached references before destroying the component.
|
|
104
|
+
*
|
|
105
|
+
* @returns {void}
|
|
106
|
+
*/
|
|
107
|
+
destroy() {
|
|
108
|
+
this.checkbox = null;
|
|
101
109
|
}
|
|
102
110
|
}
|
|
103
111
|
), H = (e) => {
|
|
@@ -200,10 +208,10 @@ export {
|
|
|
200
208
|
M as T,
|
|
201
209
|
O as U,
|
|
202
210
|
A as W,
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
211
|
+
K as a,
|
|
212
|
+
j as b,
|
|
213
|
+
q as c,
|
|
214
|
+
W as d,
|
|
207
215
|
a as e,
|
|
208
216
|
o as f,
|
|
209
217
|
f as g
|
|
@@ -154,6 +154,14 @@ class m extends n {
|
|
|
154
154
|
update(e) {
|
|
155
155
|
this.link.update(e);
|
|
156
156
|
}
|
|
157
|
+
/**
|
|
158
|
+
* This will clear references before destroying the component.
|
|
159
|
+
*
|
|
160
|
+
* @returns {void}
|
|
161
|
+
*/
|
|
162
|
+
beforeDestroy() {
|
|
163
|
+
this.link = null;
|
|
164
|
+
}
|
|
157
165
|
}
|
|
158
166
|
const E = i(({ map: s }, e) => o({ class: "navigation-group flex flex-col gap-2 list-none m-0 py-2 px-0", map: s }, [
|
|
159
167
|
C({ class: "text-muted-foreground text-sm py-0 px-4 whitespace-nowrap" }, e)
|
|
@@ -363,7 +371,7 @@ const V = ({ title: s, options: e, class: t = "", mobileBorder: a = !1, sticky:
|
|
|
363
371
|
]),
|
|
364
372
|
new c({ options: e, mobileBorder: a, class: u ? "sticky top-0" : "" }),
|
|
365
373
|
w
|
|
366
|
-
]), j = (s) => h({ class: "text-lg ml-2" }, s),
|
|
374
|
+
]), j = (s) => h({ class: "text-lg ml-2" }, s), D = (s) => l({ class: "sticky flex flex-row items-center bg-popover lg:hidden top-0 z-10 border-0 border-b" }, [
|
|
367
375
|
x({
|
|
368
376
|
variant: "icon",
|
|
369
377
|
class: "m-2",
|
|
@@ -371,14 +379,14 @@ const V = ({ title: s, options: e, class: t = "", mobileBorder: a = !1, sticky:
|
|
|
371
379
|
icon: r.arrows.left
|
|
372
380
|
}),
|
|
373
381
|
s.title && j(s.title)
|
|
374
|
-
]),
|
|
382
|
+
]), U = () => l({
|
|
375
383
|
class: `
|
|
376
384
|
absolute inset-0 bg-black/40 z-[-1] fadeIn
|
|
377
385
|
transition-opacity duration-200
|
|
378
386
|
`,
|
|
379
387
|
click: (s, { state: e }) => e.open = !1
|
|
380
388
|
});
|
|
381
|
-
class
|
|
389
|
+
class Y extends n {
|
|
382
390
|
/**
|
|
383
391
|
* This will declare the props for the compiler.
|
|
384
392
|
*
|
|
@@ -397,7 +405,7 @@ class D extends n {
|
|
|
397
405
|
class: "fixed inset-0 z-50",
|
|
398
406
|
style: "[[typeClass]]"
|
|
399
407
|
}, [
|
|
400
|
-
|
|
408
|
+
U(),
|
|
401
409
|
// Popover Content
|
|
402
410
|
l({
|
|
403
411
|
class: `
|
|
@@ -406,7 +414,7 @@ class D extends n {
|
|
|
406
414
|
dataSet: ["open", ["expanded", !0, "true"]]
|
|
407
415
|
}, [
|
|
408
416
|
l({ class: "flex flex-auto flex-col w-full h-full overflow-y-auto max-h-[85vh] rounded-md bg-popover border" }, [
|
|
409
|
-
|
|
417
|
+
D({ title: this.title }),
|
|
410
418
|
l({ class: "flex flex-auto flex-col" }, this.children)
|
|
411
419
|
])
|
|
412
420
|
])
|
|
@@ -444,31 +452,31 @@ class D extends n {
|
|
|
444
452
|
this.container = app.root;
|
|
445
453
|
}
|
|
446
454
|
}
|
|
447
|
-
const
|
|
455
|
+
const k = (s) => x({ class: "m-2", variant: "ghost", addState() {
|
|
448
456
|
return {
|
|
449
457
|
open: !1
|
|
450
458
|
};
|
|
451
459
|
}, click: (e, { state: t }) => t.toggle("open") }, [
|
|
452
460
|
f(r.bar.three)
|
|
453
461
|
]), R = (s) => h({ class: "text-lg ml-2" }, s), q = (s) => l({ class: "flex flex-auto flex-row items-center lg:hidden" }, [
|
|
454
|
-
|
|
462
|
+
k(),
|
|
455
463
|
s.title && R(s.title)
|
|
456
|
-
]),
|
|
464
|
+
]), v = (s, e) => {
|
|
457
465
|
s.forEach((t) => {
|
|
458
466
|
if (t.options) {
|
|
459
|
-
|
|
467
|
+
v(t.options, e);
|
|
460
468
|
return;
|
|
461
469
|
}
|
|
462
470
|
t.callBack = e;
|
|
463
471
|
});
|
|
464
|
-
},
|
|
472
|
+
}, g = (s) => l({ class: "bg-background flex flex-auto flex-col w-full relative" }, [
|
|
465
473
|
I(
|
|
466
474
|
"open",
|
|
467
475
|
(e) => e ? [
|
|
468
|
-
new
|
|
476
|
+
new Y({ title: s.title }, [
|
|
469
477
|
$(({ state: t }) => {
|
|
470
478
|
const a = (u) => t.open = !1;
|
|
471
|
-
return
|
|
479
|
+
return v(s.options, a), new c(
|
|
472
480
|
{
|
|
473
481
|
options: s.options
|
|
474
482
|
}
|
|
@@ -479,28 +487,28 @@ const v = (s) => x({ class: "m-2", variant: "ghost", addState() {
|
|
|
479
487
|
)
|
|
480
488
|
]), X = i((s) => l({ cache: "mobileNav", class: "inline-flex relative lg:hidden" }, [
|
|
481
489
|
l([
|
|
482
|
-
|
|
483
|
-
|
|
490
|
+
k(),
|
|
491
|
+
g(s)
|
|
484
492
|
])
|
|
485
493
|
])), Z = i((s) => l({ cache: "mobileNav", class: "flex flex-auto flex-col w-full relative lg:hidden" }, [
|
|
486
494
|
l({ class: "flex flex-auto flex-col w-full" }, [
|
|
487
495
|
q(s),
|
|
488
|
-
|
|
496
|
+
g(s)
|
|
489
497
|
])
|
|
490
498
|
]));
|
|
491
499
|
export {
|
|
492
|
-
|
|
500
|
+
U as B,
|
|
493
501
|
c as I,
|
|
494
502
|
m as M,
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
503
|
+
k as N,
|
|
504
|
+
D as P,
|
|
505
|
+
V as S,
|
|
498
506
|
q as T,
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
507
|
+
X as a,
|
|
508
|
+
Z as b,
|
|
509
|
+
M as c,
|
|
510
|
+
T as d,
|
|
511
|
+
E as e,
|
|
512
|
+
Y as f,
|
|
513
|
+
W as g
|
|
506
514
|
};
|
package/dist/molecules.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as s, B as t, C as r,
|
|
2
|
-
import { A as X, P as Y, g as Z } from "./range-calendar-
|
|
1
|
+
import { A as s, B as t, C as r, a as e, b as i, c as n, d as m, D as l, e as d, f as C, g as p, h as D, i as S, j as g, k as u, l as c, m as F, n as T, o as P, E as w, F as A, p as I, q as f, r as b, s as y, t as B, u as M, v as U, w as k, x, I as L, L as R, M as v, y as E, N, z as h, P as G, S as O, G as j, H as q, J as z, K as H, T as J, O as K, Q, R as _, U as V } from "./empty-state-DoTkyO7O.js";
|
|
2
|
+
import { A as X, P as Y, g as Z } from "./range-calendar-BH4jZwwg.js";
|
|
3
3
|
export {
|
|
4
4
|
s as Alert,
|
|
5
5
|
X as Avatar,
|
package/dist/organisms.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as s,
|
|
2
|
-
import {
|
|
3
|
-
import { B as X, I as Y, M as Z,
|
|
1
|
+
import { B as s, a as n, C as t, D as o, b as r, c as l, d as i, H as d, I as b, N as u, O as v, P as g, S as p, e as T, f as D, g as N, T as k, h as C, i as c, j as B, U as M, k as m, l as y, m as W, n as h, o as S, W as H, p as P, q as U, r as x, s as I, t as f, u as L, v as O, w as F, x as G } from "./signature-panel-C0l1Y7aF.js";
|
|
2
|
+
import { C as R, a as j, D as q, b as z, F as A, M as E, R as J, c as K, p as Q } from "./range-calendar-BH4jZwwg.js";
|
|
3
|
+
import { B as X, I as Y, M as Z, a as _, b as $, N as aa, c as ea, d as sa, e as na, f as ta, P as oa, S as ra, g as la, T as ia } from "./mobile-nav-wrapper-CZ5m6cqw.js";
|
|
4
4
|
export {
|
|
5
5
|
s as BackButton,
|
|
6
6
|
X as Backdrop,
|
package/dist/pages.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as s, a as P, C as g, F as n, b as l, c as i, M as r, P as c, S as o } from "./sidebar-menu-page-
|
|
1
|
+
import { B as s, a as P, C as g, F as n, b as l, c as i, M as r, P as c, S as o } from "./sidebar-menu-page-BCqUom5C.js";
|
|
2
2
|
export {
|
|
3
3
|
s as BasicPage,
|
|
4
4
|
P as BlankPage,
|
|
@@ -816,14 +816,14 @@ class Yt extends Y {
|
|
|
816
816
|
}
|
|
817
817
|
export {
|
|
818
818
|
Nt as A,
|
|
819
|
-
|
|
819
|
+
Ot as C,
|
|
820
820
|
N as D,
|
|
821
821
|
w as F,
|
|
822
822
|
dt as M,
|
|
823
823
|
Tt as P,
|
|
824
824
|
Yt as R,
|
|
825
|
-
|
|
826
|
-
|
|
825
|
+
lt as a,
|
|
826
|
+
ht as b,
|
|
827
827
|
nt as c,
|
|
828
828
|
U as g,
|
|
829
829
|
D as p
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Div as t, Header as n, H1 as d, P as o } from "@base-framework/atoms";
|
|
2
|
-
import { F as l, A as x } from "./aside-template-
|
|
2
|
+
import { F as l, A as x } from "./aside-template-BDvEMLnk.js";
|
|
3
3
|
import { Component as h, Atom as i } from "@base-framework/base";
|
|
4
|
-
import {
|
|
4
|
+
import { S as u, b as p } from "./mobile-nav-wrapper-CZ5m6cqw.js";
|
|
5
5
|
class c extends h {
|
|
6
6
|
/**
|
|
7
7
|
* This will declare the props for the compiler.
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { Button as
|
|
1
|
+
import { Button as y, Div as o, On as C, Span as L, Th as N, UseParent as E, I as Q, Thead as V, Tr as G, Table as B, P as v, Li as w, Time as X, Nav as m, Ul as f, Section as I, Canvas as q } from "@base-framework/atoms";
|
|
2
2
|
import { Atom as d, Component as p, Data as T, DateTime as K, router as k, NavLink as M, DataTracker as U, Jot as _, base as O, Dom as W } from "@base-framework/base";
|
|
3
3
|
import { B as P, I as J } from "./buttons-CfwtbIR-.js";
|
|
4
4
|
import { Icons as S } from "./icons.es.js";
|
|
5
5
|
import { TableBody as Z, DataTableBody as ee, ScrollableTableBody as te, List as se, IntervalTimer as ae } from "@base-framework/organisms";
|
|
6
|
-
import { C as ie, I as ne, H as oe } from "./inputs-
|
|
7
|
-
import { A as le, P as re } from "./range-calendar-
|
|
6
|
+
import { C as ie, I as ne, H as oe } from "./inputs-DEfa4qLY.js";
|
|
7
|
+
import { A as le, P as re } from "./range-calendar-BH4jZwwg.js";
|
|
8
8
|
import { V as g } from "./image-BB__4s0g.js";
|
|
9
9
|
d((t, e) => ({
|
|
10
10
|
class: "flex items-center px-4 py-2",
|
|
11
11
|
...t,
|
|
12
12
|
children: e
|
|
13
13
|
}));
|
|
14
|
-
d(({ value: t, label: e }) =>
|
|
14
|
+
d(({ value: t, label: e }) => y({
|
|
15
15
|
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",
|
|
16
16
|
onState: ["performance", { active: t }],
|
|
17
17
|
dataSet: ["performance", ["state", t, "active"]],
|
|
@@ -83,7 +83,7 @@ const ce = (t) => {
|
|
|
83
83
|
return a.getDate() === t && a.getMonth() === e && a.getFullYear() === s;
|
|
84
84
|
}, ge = ({ day: t, month: e, year: s, weekNumber: a, selectWeek: i }) => {
|
|
85
85
|
const n = fe(t, e, s);
|
|
86
|
-
return
|
|
86
|
+
return y({
|
|
87
87
|
text: t || "",
|
|
88
88
|
disabled: !t,
|
|
89
89
|
class: `
|
|
@@ -302,7 +302,7 @@ const xe = (t, e) => {
|
|
|
302
302
|
e.state.checked = !s;
|
|
303
303
|
}, ke = (t) => N({ class: `cursor-pointer py-3 px-4 text-base w-10 ${t.class || ""}` }, [
|
|
304
304
|
E((e) => new ie({ class: "mr-2", onChange: (s, a) => xe(e, a) }))
|
|
305
|
-
]),
|
|
305
|
+
]), ye = ({ align: t, sortable: e, key: s, label: a, sort: i, class: n }) => {
|
|
306
306
|
const l = t || "justify-start";
|
|
307
307
|
return N({
|
|
308
308
|
class: `cursor-pointer py-3 px-4 text-base ${n || ""}`,
|
|
@@ -318,7 +318,7 @@ const xe = (t, e) => {
|
|
|
318
318
|
class: "text-muted-foreground border-b",
|
|
319
319
|
map: [
|
|
320
320
|
t.headers,
|
|
321
|
-
(e) => e.label === "checkbox" ? ke({ toggle: t.toggle }) :
|
|
321
|
+
(e) => e.label === "checkbox" ? ke({ toggle: t.toggle }) : ye({
|
|
322
322
|
align: e.align,
|
|
323
323
|
sortable: e.sortable,
|
|
324
324
|
key: e.key,
|
|
@@ -327,7 +327,7 @@ const xe = (t, e) => {
|
|
|
327
327
|
})
|
|
328
328
|
]
|
|
329
329
|
})
|
|
330
|
-
]),
|
|
330
|
+
]), we = ({ key: t, rows: e, selectRow: s, rowItem: a, emptyState: i, skeleton: n, columnCount: l }) => new Z({
|
|
331
331
|
cache: "list",
|
|
332
332
|
key: t,
|
|
333
333
|
items: e,
|
|
@@ -423,7 +423,7 @@ class j extends p {
|
|
|
423
423
|
this.headers && R({ headers: this.headers, sort: (a) => this.sortRows(a) }),
|
|
424
424
|
// @ts-ignore
|
|
425
425
|
this.customHeader ?? null,
|
|
426
|
-
|
|
426
|
+
we({
|
|
427
427
|
// @ts-ignore
|
|
428
428
|
key: this.key,
|
|
429
429
|
// @ts-ignore
|
|
@@ -499,7 +499,7 @@ class j extends p {
|
|
|
499
499
|
* @returns {void}
|
|
500
500
|
*/
|
|
501
501
|
beforeDestroy() {
|
|
502
|
-
this.data.selectedRows = [];
|
|
502
|
+
this.data.selectedRows = [], this.list = null;
|
|
503
503
|
}
|
|
504
504
|
}
|
|
505
505
|
const ve = (t) => new ee({
|
|
@@ -652,7 +652,7 @@ class Ce extends j {
|
|
|
652
652
|
this.list.refresh();
|
|
653
653
|
}
|
|
654
654
|
}
|
|
655
|
-
const
|
|
655
|
+
const yt = d((t) => new Ce(
|
|
656
656
|
{
|
|
657
657
|
cache: t.cache ?? "list",
|
|
658
658
|
tableData: t.data,
|
|
@@ -684,7 +684,7 @@ const wt = d((t) => new Ce(
|
|
|
684
684
|
]), Te = (t, e) => t === "online" ? Ie() : Be(e), Me = d(({ role: t, lastSeen: e, status: s }) => o({ class: "hidden shrink-0 sm:flex sm:flex-col sm:items-end" }, [
|
|
685
685
|
v({ class: "text-sm leading-6 m-0" }, t),
|
|
686
686
|
Te(s, e)
|
|
687
|
-
])), Pe = (t) => t.split(" ").map((s) => s[0]).join(""), Re = d((t) =>
|
|
687
|
+
])), Pe = (t) => t.split(" ").map((s) => s[0]).join(""), Re = d((t) => w({ class: "fadeIn flex justify-between gap-x-6 py-4 px-4 rounded-md hover:bg-muted/50" }, [
|
|
688
688
|
o({ class: "flex min-w-0 gap-x-4" }, [
|
|
689
689
|
le({ src: t.image, alt: t.name, fallbackText: Pe(t.name) }),
|
|
690
690
|
Le({ name: t.name, email: t.email })
|
|
@@ -694,7 +694,7 @@ const wt = d((t) => new Ce(
|
|
|
694
694
|
lastSeen: t.lastSeen,
|
|
695
695
|
status: t.status
|
|
696
696
|
})
|
|
697
|
-
])),
|
|
697
|
+
])), wt = d((t) => new se({
|
|
698
698
|
cache: "list",
|
|
699
699
|
key: "name",
|
|
700
700
|
items: t.users,
|
|
@@ -1029,7 +1029,7 @@ class Ct extends A {
|
|
|
1029
1029
|
this.container = e, this.initialize();
|
|
1030
1030
|
}
|
|
1031
1031
|
}
|
|
1032
|
-
const ze = d(({ index: t, click: e, state: s }, a) =>
|
|
1032
|
+
const ze = d(({ index: t, click: e, state: s }, a) => w({
|
|
1033
1033
|
class: "p-2 cursor-pointer hover:bg-muted/50",
|
|
1034
1034
|
onState: [
|
|
1035
1035
|
[s, "selectedIndex", {
|
|
@@ -1191,15 +1191,23 @@ const ze = d(({ index: t, click: e, state: s }, a) => y({
|
|
|
1191
1191
|
selectOption: this.selectOption.bind(this)
|
|
1192
1192
|
})
|
|
1193
1193
|
]);
|
|
1194
|
+
},
|
|
1195
|
+
/**
|
|
1196
|
+
* This will destroy the component.
|
|
1197
|
+
*
|
|
1198
|
+
* @returns {void}
|
|
1199
|
+
*/
|
|
1200
|
+
destroy() {
|
|
1201
|
+
this.dropdown = null, this.input = null;
|
|
1194
1202
|
}
|
|
1195
1203
|
}
|
|
1196
|
-
), Ae = (t) =>
|
|
1204
|
+
), Ae = (t) => w(
|
|
1197
1205
|
{
|
|
1198
1206
|
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",
|
|
1199
1207
|
dataStateSet: ["selected", ["state", t.value, "active"]]
|
|
1200
1208
|
},
|
|
1201
1209
|
[
|
|
1202
|
-
|
|
1210
|
+
y({
|
|
1203
1211
|
class: "flex flex-auto justify-center items-center px-3 py-1.5 rounded-md",
|
|
1204
1212
|
onState: ["selected", { selected: t.value }],
|
|
1205
1213
|
click: (e) => t.callBack(t.value)
|
|
@@ -1295,13 +1303,13 @@ class It extends g {
|
|
|
1295
1303
|
};
|
|
1296
1304
|
}
|
|
1297
1305
|
}
|
|
1298
|
-
const Ye = (t) =>
|
|
1306
|
+
const Ye = (t) => w(
|
|
1299
1307
|
{
|
|
1300
1308
|
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",
|
|
1301
1309
|
dataStateSet: ["selected", ["state", t.value, "active"]]
|
|
1302
1310
|
},
|
|
1303
1311
|
[
|
|
1304
|
-
|
|
1312
|
+
y({
|
|
1305
1313
|
class: "flex flex-auto justify-center items-center px-3 py-1.5 rounded-md disabled:opacity-50 disabled:cursor-not-allowed",
|
|
1306
1314
|
onState: ["selected", { selected: t.value }],
|
|
1307
1315
|
click: (e) => t.callBack(t.value),
|
|
@@ -1504,13 +1512,13 @@ class Tt extends g {
|
|
|
1504
1512
|
return s;
|
|
1505
1513
|
}
|
|
1506
1514
|
}
|
|
1507
|
-
const Ke = (t) =>
|
|
1515
|
+
const Ke = (t) => w(
|
|
1508
1516
|
{
|
|
1509
1517
|
class: "relative inline-flex items-center justify-center whitespace-nowrap text-sm font-medium text-muted-foreground transition-colors hover:text-foreground 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]:text-foreground after:absolute after:bottom-0 after:left-0 after:right-0 after:h-0.5 after:bg-primary after:transition-all after:duration-200 after:scale-x-0 data-[state=active]:after:scale-x-100",
|
|
1510
1518
|
dataStateSet: ["selected", ["state", t.value, "active"]]
|
|
1511
1519
|
},
|
|
1512
1520
|
[
|
|
1513
|
-
|
|
1521
|
+
y({
|
|
1514
1522
|
class: "flex flex-auto justify-center items-center px-4 py-3 cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed",
|
|
1515
1523
|
onState: ["selected", { selected: t.value }],
|
|
1516
1524
|
click: (e) => t.callBack(t.value)
|
|
@@ -1597,13 +1605,13 @@ class Mt extends g {
|
|
|
1597
1605
|
};
|
|
1598
1606
|
}
|
|
1599
1607
|
}
|
|
1600
|
-
const Ze = (t) =>
|
|
1608
|
+
const Ze = (t) => w(
|
|
1601
1609
|
{
|
|
1602
1610
|
class: "relative inline-flex items-center justify-center whitespace-nowrap text-sm font-medium text-muted-foreground transition-colors hover:text-foreground 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]:text-foreground after:absolute after:bottom-0 after:left-0 after:right-0 after:h-0.5 after:bg-primary after:transition-all after:duration-200 after:scale-x-0 data-[state=active]:after:scale-x-100",
|
|
1603
1611
|
dataStateSet: ["selected", ["state", t.value, "active"]]
|
|
1604
1612
|
},
|
|
1605
1613
|
[
|
|
1606
|
-
|
|
1614
|
+
y({
|
|
1607
1615
|
class: "flex flex-auto justify-center items-center px-4 py-3 disabled:opacity-50 disabled:cursor-not-allowed cursor-pointer",
|
|
1608
1616
|
onState: ["selected", { selected: t.value }],
|
|
1609
1617
|
click: (e) => t.callBack(t.value),
|
|
@@ -2109,42 +2117,50 @@ class Ot extends p {
|
|
|
2109
2117
|
if (this.canvasLayer)
|
|
2110
2118
|
return this.canvasLayer.reset();
|
|
2111
2119
|
}
|
|
2120
|
+
/**
|
|
2121
|
+
* Cleans up references before destroying the component.
|
|
2122
|
+
*
|
|
2123
|
+
* @returns {void}
|
|
2124
|
+
*/
|
|
2125
|
+
beforeDestroy() {
|
|
2126
|
+
this.canvasLayer = null, this.hiddenInput = null;
|
|
2127
|
+
}
|
|
2112
2128
|
}
|
|
2113
2129
|
export {
|
|
2114
2130
|
Dt as B,
|
|
2115
2131
|
ke as C,
|
|
2116
|
-
|
|
2117
|
-
|
|
2132
|
+
j as D,
|
|
2133
|
+
ye as H,
|
|
2118
2134
|
Ct as I,
|
|
2119
2135
|
vt as N,
|
|
2120
2136
|
A as O,
|
|
2121
2137
|
mt as P,
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2138
|
+
yt as S,
|
|
2139
|
+
Tt as T,
|
|
2140
|
+
Mt as U,
|
|
2125
2141
|
xt as W,
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
j,
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2142
|
+
It as a,
|
|
2143
|
+
we as b,
|
|
2144
|
+
St as c,
|
|
2145
|
+
kt as d,
|
|
2146
|
+
Lt as e,
|
|
2147
|
+
Ue as f,
|
|
2148
|
+
Ot as g,
|
|
2149
|
+
Bt as h,
|
|
2150
|
+
qe as i,
|
|
2151
|
+
R as j,
|
|
2152
|
+
Rt as k,
|
|
2153
|
+
Pt as l,
|
|
2154
|
+
nt as m,
|
|
2155
|
+
wt as n,
|
|
2156
|
+
Re as o,
|
|
2157
|
+
ge as p,
|
|
2158
|
+
pe as q,
|
|
2159
|
+
be as r,
|
|
2160
|
+
de as s,
|
|
2161
|
+
pt as t,
|
|
2162
|
+
$ as u,
|
|
2163
|
+
bt as v,
|
|
2164
|
+
ue as w,
|
|
2165
|
+
he as x
|
|
2150
2166
|
};
|
package/dist/templates.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as s, F as l, M as m,
|
|
2
|
-
import { B as T } from "./bside-template-
|
|
1
|
+
import { A as s, F as l, M as m, T as p, a as o } from "./aside-template-BDvEMLnk.js";
|
|
2
|
+
import { B as T } from "./bside-template-BCP2pJWN.js";
|
|
3
3
|
export {
|
|
4
4
|
s as AsideTemplate,
|
|
5
5
|
T as BsideTemplate,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Span as c, Legend as b, Fieldset as p, Div as l, UseParent as u, Input as C } from "@base-framework/atoms";
|
|
2
2
|
import { Atom as s, Html as x } from "@base-framework/base";
|
|
3
3
|
import { a as d } from "./image-BB__4s0g.js";
|
|
4
|
-
import { f as h, e as y, g as k } from "./inputs-
|
|
4
|
+
import { f as h, e as y, g as k } from "./inputs-DEfa4qLY.js";
|
|
5
5
|
const a = {
|
|
6
6
|
gray: {
|
|
7
7
|
backgroundColor: "bg-gray-50",
|
package/package.json
CHANGED