@base-framework/ui 1.0.125 → 1.0.127
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 +1 -1
- package/dist/{buttons-DBxnNW9z.js → buttons-Cm9etaEG.js} +16 -16
- package/dist/{calendar-C-Q8HfEd.js → calendar-C58Jn2WA.js} +1 -1
- package/dist/{confirmation-CmraTk2b.js → confirmation-Cwa4UcJr.js} +2 -2
- package/dist/index.es.js +6 -6
- package/dist/{mobile-nav-wrapper-D5dogVoU.js → mobile-nav-wrapper-CZc3wUuE.js} +1 -1
- package/dist/molecules.es.js +2 -2
- package/dist/organisms.es.js +3 -3
- package/dist/pages.es.js +1 -1
- package/dist/{sidebar-menu-page-BwwTkxUW.js → sidebar-menu-page-D7hAflPD.js} +1 -1
- package/dist/{signature-panel-D79X5PfB.js → signature-panel-yKAhPVrE.js} +10 -10
- package/package.json +1 -1
package/dist/atoms.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { B as e, C as t, a as n, F as o, L as p, P as r, R as u, S as I, b as i, T as l } from "./tooltip-DcnXGw52.js";
|
|
2
|
-
import { B as m, I as T, L as c } from "./buttons-
|
|
2
|
+
import { B as m, I as T, L as c } from "./buttons-Cm9etaEG.js";
|
|
3
3
|
import { C as B, d as C, D as S, c as g, E as b, F as f, H as h, I as F, M as L, N as P, P as R, R as k, S as D, T as V, a as E, b as H, U as M, W as N } from "./inputs-Dmu4Z-7-.js";
|
|
4
4
|
import { V as W, a as w } from "./veil-D4dRxILB.js";
|
|
5
5
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { I as m, Button as r } from "@base-framework/atoms";
|
|
2
|
-
import { Atom as
|
|
3
|
-
import { Icons as
|
|
2
|
+
import { Atom as s } from "@base-framework/base";
|
|
3
|
+
import { Icons as u } from "./icons.es.js";
|
|
4
4
|
const w = {
|
|
5
5
|
xs: "w-4 h-4",
|
|
6
6
|
sm: "w-6 h-6",
|
|
@@ -9,7 +9,7 @@ const w = {
|
|
|
9
9
|
xl: "w-12 h-12",
|
|
10
10
|
"2xl": "w-14 h-14",
|
|
11
11
|
"3xl": "w-16 h-16"
|
|
12
|
-
}, l =
|
|
12
|
+
}, l = s((n, t) => {
|
|
13
13
|
var c;
|
|
14
14
|
const a = w[n.size || "sm"];
|
|
15
15
|
return m({
|
|
@@ -17,11 +17,11 @@ const w = {
|
|
|
17
17
|
class: `stroke-current icon-size ${a} ${n.class || ""}`,
|
|
18
18
|
html: (c = t[0]) == null ? void 0 : c.textContent
|
|
19
19
|
});
|
|
20
|
-
}),
|
|
20
|
+
}), i = (n) => s((t, a) => r({
|
|
21
21
|
...n,
|
|
22
22
|
...t,
|
|
23
23
|
class: `bttn ${n.class} ${t.class || ""}`
|
|
24
|
-
}, a)),
|
|
24
|
+
}, a)), h = s(
|
|
25
25
|
(n, t) => r({
|
|
26
26
|
...n,
|
|
27
27
|
class: n.class
|
|
@@ -30,31 +30,31 @@ const w = {
|
|
|
30
30
|
...t || [],
|
|
31
31
|
n.icon && n.position === "right" ? l({ size: "sm", class: n.animation ?? null }, n.icon) : null
|
|
32
32
|
])
|
|
33
|
-
), o = (n) =>
|
|
33
|
+
), o = (n) => s((t, a) => h({
|
|
34
34
|
...n,
|
|
35
35
|
...t,
|
|
36
36
|
class: `bttn ${n.class} ${t.class || ""}`
|
|
37
37
|
}, a)), g = (n) => () => {
|
|
38
|
-
if (n.allowHistory
|
|
38
|
+
if (n.allowHistory === !0 && globalThis.history.length > 2) {
|
|
39
39
|
globalThis.history.back();
|
|
40
40
|
return;
|
|
41
41
|
}
|
|
42
42
|
n.backUrl && app.navigate(n.backUrl);
|
|
43
|
-
}, k = (n) =>
|
|
43
|
+
}, k = (n) => s((t, a) => (t.icon = t.icon || u.arrows.left, t.click = t.click || g(t), h({
|
|
44
44
|
...n,
|
|
45
45
|
...t
|
|
46
46
|
}, a))), e = {
|
|
47
|
-
primary:
|
|
48
|
-
secondary:
|
|
49
|
-
destructive:
|
|
50
|
-
warning:
|
|
51
|
-
outline:
|
|
52
|
-
ghost:
|
|
53
|
-
link:
|
|
47
|
+
primary: i({ class: "primary" }),
|
|
48
|
+
secondary: i({ class: "secondary" }),
|
|
49
|
+
destructive: i({ class: "destructive" }),
|
|
50
|
+
warning: i({ class: "warning" }),
|
|
51
|
+
outline: i({ class: "outline" }),
|
|
52
|
+
ghost: i({ class: "ghost" }),
|
|
53
|
+
link: i({ class: "link" }),
|
|
54
54
|
icon: o({ class: "icon" }),
|
|
55
55
|
withIcon: o({ class: "with-icon" }),
|
|
56
56
|
back: k({ class: "with-icon back-button" })
|
|
57
|
-
}, b =
|
|
57
|
+
}, b = s((n, t) => (e[n.variant] || e.primary)(n, t)), $ = s((n, t) => b({ ...n, variant: "withIcon", icon: u.loading, animation: "animate-spin" }, t));
|
|
58
58
|
export {
|
|
59
59
|
b as B,
|
|
60
60
|
l as I,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Div as i, Img as I, Span as M, Button as Y } from "@base-framework/atoms";
|
|
2
2
|
import { Component as N, Data as z, Atom as k, DateTime as j } from "@base-framework/base";
|
|
3
|
-
import { B as A } from "./buttons-
|
|
3
|
+
import { B as A } from "./buttons-Cm9etaEG.js";
|
|
4
4
|
import { Icons as T } from "./icons.es.js";
|
|
5
5
|
const W = (e, t) => {
|
|
6
6
|
const n = e ? e.getBoundingClientRect() : { top: 0, bottom: 0, left: 0 }, s = t.getBoundingClientRect(), o = 10, a = globalThis.scrollX, l = globalThis.scrollY;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Div as n, H5 as _, P as b, I as g, Li as O, Span as a, Ul as V, Button as m, OnState as v, Label as W, Form as R, H2 as A, Header as B, Footer as M, A as Y, H3 as G, Checkbox as J, Nav as K, Input as C, UseParent as Q, Time as X, Dialog as Z } from "@base-framework/atoms";
|
|
2
2
|
import { Atom as c, Component as p, Html as L, Dom as ee, base as te, Data as k, Builder as U, Jot as S, DateTime as $ } from "@base-framework/base";
|
|
3
|
-
import { P as D, b as se } from "./calendar-
|
|
4
|
-
import { B as h, I as x } from "./buttons-
|
|
3
|
+
import { P as D, b as se } from "./calendar-C58Jn2WA.js";
|
|
4
|
+
import { B as h, I as x } from "./buttons-Cm9etaEG.js";
|
|
5
5
|
import { Icons as u } from "./icons.es.js";
|
|
6
6
|
import { a as w } from "./veil-D4dRxILB.js";
|
|
7
7
|
import { Timer as oe, List as ne, DynamicTime as re } from "@base-framework/organisms";
|
package/dist/index.es.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { B as e, C as o, a as t, F as r, L as n, P as i, R as l, S as p, b as u, T as m } from "./tooltip-DcnXGw52.js";
|
|
2
|
-
import { B as g, I as T, L as c } from "./buttons-
|
|
2
|
+
import { B as g, I as T, L as c } from "./buttons-Cm9etaEG.js";
|
|
3
3
|
import { C as b, d as D, D as S, c as I, 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-Dmu4Z-7-.js";
|
|
4
4
|
import { V as w, a as U } from "./veil-D4dRxILB.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 Ta, p as ca, q as Ca, S as ba, n as Da, o as Sa, T as Ia, x as Ba, y as Pa, m as Fa, r as Ma } from "./confirmation-
|
|
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-
|
|
8
|
-
import { B as Oa, n 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, m as Xa, r as Ya, q as Za, o as $a, p as as, T as ss, k as es, U as os, W as ts, f as rs, h as ns, i as is, c as ls, d as ps, b as us, e as ms, a as ds, g as gs } from "./signature-panel-
|
|
9
|
-
import { B as cs, I as Cs, M as bs, d as Ds, e as Ss, g as Is, N as Bs, b as Ps, a as Fs, f as Ms, P as ks, c as Ns, S as vs, T as fs } from "./mobile-nav-wrapper-
|
|
10
|
-
import { B as hs, a as ys, C as Ws, F as Ls, b as As, c as Hs, M as ws, P as Us, S as Os } from "./sidebar-menu-page-
|
|
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 Ta, p as ca, q as Ca, S as ba, n as Da, o as Sa, T as Ia, x as Ba, y as Pa, m as Fa, r as Ma } from "./confirmation-Cwa4UcJr.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-C58Jn2WA.js";
|
|
8
|
+
import { B as Oa, n 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, m as Xa, r as Ya, q as Za, o as $a, p as as, T as ss, k as es, U as os, W as ts, f as rs, h as ns, i as is, c as ls, d as ps, b as us, e as ms, a as ds, g as gs } from "./signature-panel-yKAhPVrE.js";
|
|
9
|
+
import { B as cs, I as Cs, M as bs, d as Ds, e as Ss, g as Is, N as Bs, b as Ps, a as Fs, f as Ms, P as ks, c as Ns, S as vs, T as fs } from "./mobile-nav-wrapper-CZc3wUuE.js";
|
|
10
|
+
import { B as hs, a as ys, C as Ws, F as Ls, b as As, c as Hs, M as ws, P as Us, S as Os } from "./sidebar-menu-page-D7hAflPD.js";
|
|
11
11
|
import { A as Es, F as Gs, M as Vs, a as js, T as qs } from "./aside-template-McEj_Gxc.js";
|
|
12
12
|
import { B as Js } from "./bside-template-Du2m3rsE.js";
|
|
13
13
|
export {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Button as w, I as S, Label as B, Span as N, Ul as o, H4 as L, Nav as p, Div as l, Header as C, H1 as y, H3 as h, OnState as P, UseParent as I } from "@base-framework/atoms";
|
|
2
2
|
import { Component as n, Atom as i, NavLink as $, router as u } from "@base-framework/base";
|
|
3
|
-
import { I as f, B as x } from "./buttons-
|
|
3
|
+
import { I as f, B as x } from "./buttons-Cm9etaEG.js";
|
|
4
4
|
import { Icons as r } from "./icons.es.js";
|
|
5
5
|
class H extends n {
|
|
6
6
|
/**
|
package/dist/molecules.es.js
CHANGED
|
@@ -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-
|
|
2
|
-
import { A as O, P as R, g as _ } from "./calendar-
|
|
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-Cwa4UcJr.js";
|
|
2
|
+
import { A as O, P as R, g as _ } from "./calendar-C58Jn2WA.js";
|
|
3
3
|
export {
|
|
4
4
|
o as Alert,
|
|
5
5
|
O as Avatar,
|
package/dist/organisms.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as s, n as o, C as t, j as r, D as l, l as n, H as i, I as b, N as d, O as v, P as g, S as p, m as u, r as N, q as k, o as D, p as C, T, k as c, U as M, W as B, f as m, h as y, i as W, c as h, d as H, b as P, e as S, a as f, g as x } from "./signature-panel-
|
|
2
|
-
import { b as L, C as O, D as F, a as U, F as G, M as j, c as q, p as w } from "./calendar-
|
|
3
|
-
import { B as A, I as E, M as J, d as K, e as Q, g as R, N as V, b as X, a as Y, f as Z, P as _, c as $, S as aa, T as ea } from "./mobile-nav-wrapper-
|
|
1
|
+
import { B as s, n as o, C as t, j as r, D as l, l as n, H as i, I as b, N as d, O as v, P as g, S as p, m as u, r as N, q as k, o as D, p as C, T, k as c, U as M, W as B, f as m, h as y, i as W, c as h, d as H, b as P, e as S, a as f, g as x } from "./signature-panel-yKAhPVrE.js";
|
|
2
|
+
import { b as L, C as O, D as F, a as U, F as G, M as j, c as q, p as w } from "./calendar-C58Jn2WA.js";
|
|
3
|
+
import { B as A, I as E, M as J, d as K, e as Q, g as R, N as V, b as X, a as Y, f as Z, P as _, c as $, S as aa, T as ea } from "./mobile-nav-wrapper-CZc3wUuE.js";
|
|
4
4
|
export {
|
|
5
5
|
s as BackButton,
|
|
6
6
|
A 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-D7hAflPD.js";
|
|
2
2
|
export {
|
|
3
3
|
s as BasicPage,
|
|
4
4
|
P as BlankPage,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Div as t, Header as n, H1 as d, P as o } from "@base-framework/atoms";
|
|
2
2
|
import { F as l, A as h } from "./aside-template-McEj_Gxc.js";
|
|
3
3
|
import { Component as x, Atom as i } from "@base-framework/base";
|
|
4
|
-
import { c as u, e as p } from "./mobile-nav-wrapper-
|
|
4
|
+
import { c as u, e as p } from "./mobile-nav-wrapper-CZc3wUuE.js";
|
|
5
5
|
class c extends x {
|
|
6
6
|
/**
|
|
7
7
|
* This will declare the props for the compiler.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Button as y, Div as o, On as Y, Span as v, Th as R, UseParent as F, I as
|
|
1
|
+
import { Button as y, Div as o, On as Y, Span as v, Th as R, UseParent as F, I as H, Thead as E, Tr as Q, Table as W, P as p, Li as D, Time as X, Nav as S, Ul as b, Section as P, Canvas as q } from "@base-framework/atoms";
|
|
2
2
|
import { Atom as d, Component as h, Data as L, DateTime as K, router as x, NavLink as O, DataTracker as z, Jot as G, base as I, Dom as T } from "@base-framework/base";
|
|
3
|
-
import { B as C, I as V } from "./buttons-
|
|
3
|
+
import { B as C, I as V } from "./buttons-Cm9etaEG.js";
|
|
4
4
|
import { Icons as k } from "./icons.es.js";
|
|
5
5
|
import { TableBody as _, ScrollableTableBody as J, List as Z, IntervalTimer as ee } from "@base-framework/organisms";
|
|
6
6
|
import { C as te, I as se, H as ae } from "./inputs-Dmu4Z-7-.js";
|
|
7
|
-
import { A as ie, P as ne } from "./calendar-
|
|
7
|
+
import { A as ie, P as ne } from "./calendar-C58Jn2WA.js";
|
|
8
8
|
d((t, e) => ({
|
|
9
9
|
class: "flex items-center px-4 py-2",
|
|
10
10
|
...t,
|
|
@@ -309,10 +309,10 @@ const me = (t, e) => {
|
|
|
309
309
|
}, [
|
|
310
310
|
o({ class: `flex flex-auto w-full items-center ${l}` }, [
|
|
311
311
|
v(a),
|
|
312
|
-
e &&
|
|
312
|
+
e && H({ class: "ml-2", html: k.arrows.upDown })
|
|
313
313
|
])
|
|
314
314
|
]);
|
|
315
|
-
}, N = (t) =>
|
|
315
|
+
}, N = (t) => E([
|
|
316
316
|
Q({
|
|
317
317
|
class: "text-muted-foreground border-b",
|
|
318
318
|
map: [
|
|
@@ -695,7 +695,7 @@ class ot extends h {
|
|
|
695
695
|
}
|
|
696
696
|
const lt = d((t) => {
|
|
697
697
|
const e = t.margin || "m-4 ml-0";
|
|
698
|
-
return o({ class: `flex-none ${e}` }, [
|
|
698
|
+
return t.allowHistory = t.allowHistory === !0, o({ class: `flex-none ${e}` }, [
|
|
699
699
|
C({ variant: "back", class: "ghost" })
|
|
700
700
|
]);
|
|
701
701
|
});
|
|
@@ -1241,10 +1241,10 @@ class ut extends h {
|
|
|
1241
1241
|
};
|
|
1242
1242
|
}
|
|
1243
1243
|
}
|
|
1244
|
-
const Fe = (t, e) => new RegExp(`${t}($|/|\\.).*`).test(e),
|
|
1244
|
+
const Fe = (t, e) => new RegExp(`${t}($|/|\\.).*`).test(e), He = (t, e) => {
|
|
1245
1245
|
const s = t.getLinkPath();
|
|
1246
1246
|
return t.exact ? e === s : Fe(s, e);
|
|
1247
|
-
},
|
|
1247
|
+
}, Ee = ({ text: t, href: e, exact: s }) => new O({
|
|
1248
1248
|
text: t,
|
|
1249
1249
|
href: e,
|
|
1250
1250
|
exact: s,
|
|
@@ -1302,7 +1302,7 @@ class Qe extends h {
|
|
|
1302
1302
|
let s = !1, a = this.links[0];
|
|
1303
1303
|
this.deactivateAllLinks();
|
|
1304
1304
|
for (const i of this.links)
|
|
1305
|
-
if (i.rendered !== !1 && (s =
|
|
1305
|
+
if (i.rendered !== !1 && (s = He(i, e), s === !0)) {
|
|
1306
1306
|
this.updateLink(i, !0);
|
|
1307
1307
|
break;
|
|
1308
1308
|
}
|
|
@@ -1334,7 +1334,7 @@ class Qe extends h {
|
|
|
1334
1334
|
* @returns {object}
|
|
1335
1335
|
*/
|
|
1336
1336
|
addLink({ label: e, href: s, exact: a }) {
|
|
1337
|
-
const i =
|
|
1337
|
+
const i = Ee({ text: e, href: s, exact: a });
|
|
1338
1338
|
return this.links.push(i), i;
|
|
1339
1339
|
}
|
|
1340
1340
|
/**
|
package/package.json
CHANGED