@base-framework/ui 1.0.46 → 1.0.47
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/index.es.js
CHANGED
|
@@ -5,7 +5,7 @@ import { V as w, a as U } from "./veil-gN57SpXV.js";
|
|
|
5
5
|
import { Icons as R } from "./icons.es.js";
|
|
6
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
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-
|
|
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-ihe96Fdg.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";
|
package/dist/organisms.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-ihe96Fdg.js";
|
|
2
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";
|
|
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 {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Button as v, Div as o, On as U, Span as y, Th as
|
|
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
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
3
|
import { B as C, I as z } from "./buttons-CVEwmPAi.js";
|
|
4
4
|
import { Icons as w } from "./icons.es.js";
|
|
@@ -156,7 +156,7 @@ const ne = (t) => {
|
|
|
156
156
|
)
|
|
157
157
|
]
|
|
158
158
|
);
|
|
159
|
-
}),
|
|
159
|
+
}), W = ({ label: t, click: e }) => C(
|
|
160
160
|
{
|
|
161
161
|
class: `
|
|
162
162
|
inline-flex items-center justify-center h-7 w-7 bg-transparent p-0
|
|
@@ -171,11 +171,11 @@ const ne = (t) => {
|
|
|
171
171
|
}
|
|
172
172
|
), he = ({ next: t, previous: e }) => o({ class: "flex flex-auto min-h-12 text-sm font-medium relative justify-center items-center" }, [
|
|
173
173
|
y("[[monthName]] [[year]]"),
|
|
174
|
-
|
|
174
|
+
W({
|
|
175
175
|
label: "Previous",
|
|
176
176
|
click: e
|
|
177
177
|
}),
|
|
178
|
-
|
|
178
|
+
W({
|
|
179
179
|
label: "Next",
|
|
180
180
|
click: t
|
|
181
181
|
})
|
|
@@ -301,11 +301,11 @@ class Je extends g {
|
|
|
301
301
|
const ue = (t, e) => {
|
|
302
302
|
const s = t.toggleAllSelectedRows();
|
|
303
303
|
e.state.checked = !s;
|
|
304
|
-
}, ge = (t) =>
|
|
304
|
+
}, ge = (t) => P({ class: `cursor-pointer py-3 px-4 text-base w-10 ${t.class || ""}` }, [
|
|
305
305
|
Y((e) => new J({ class: "mr-2", onChange: (s, n) => ue(e, n) }))
|
|
306
306
|
]), fe = ({ align: t, sortable: e, key: s, label: n, sort: a, class: i }) => {
|
|
307
307
|
const l = t || "justify-start";
|
|
308
|
-
return
|
|
308
|
+
return P({
|
|
309
309
|
class: `cursor-pointer py-3 px-4 text-base ${i || ""}`,
|
|
310
310
|
click: e && (() => a(s))
|
|
311
311
|
}, [
|
|
@@ -868,7 +868,7 @@ const Be = u(({ index: t, click: e, state: s }, n) => D({
|
|
|
868
868
|
t.icon && o({ class: "absolute right-0 mr-2" }, [
|
|
869
869
|
z(t.icon)
|
|
870
870
|
])
|
|
871
|
-
])),
|
|
871
|
+
])), We = (t) => o({
|
|
872
872
|
class: "relative flex fle-auto flex-col",
|
|
873
873
|
onState: ["open", (e, s, n) => {
|
|
874
874
|
if (e)
|
|
@@ -977,12 +977,7 @@ const Be = u(({ index: t, click: e, state: s }, n) => D({
|
|
|
977
977
|
* @returns {object} - The rendered component.
|
|
978
978
|
*/
|
|
979
979
|
render() {
|
|
980
|
-
return o({
|
|
981
|
-
class: "relative w-full max-w-md",
|
|
982
|
-
click: (t, e) => {
|
|
983
|
-
t.target === e.panel && (t.preventDefault(), t.stopPropagation(), e.state.open = !1);
|
|
984
|
-
}
|
|
985
|
-
}, [
|
|
980
|
+
return o({ class: "relative w-full max-w-md" }, [
|
|
986
981
|
Te({
|
|
987
982
|
// @ts-ignore
|
|
988
983
|
state: this.state,
|
|
@@ -995,7 +990,7 @@ const Be = u(({ index: t, click: e, state: s }, n) => D({
|
|
|
995
990
|
// @ts-ignore
|
|
996
991
|
handleKeyDown: this.handleKeyDown.bind(this)
|
|
997
992
|
}),
|
|
998
|
-
|
|
993
|
+
We({
|
|
999
994
|
// @ts-ignore
|
|
1000
995
|
state: this.state,
|
|
1001
996
|
// @ts-ignore
|
|
@@ -1006,7 +1001,7 @@ const Be = u(({ index: t, click: e, state: s }, n) => D({
|
|
|
1006
1001
|
]);
|
|
1007
1002
|
}
|
|
1008
1003
|
}
|
|
1009
|
-
),
|
|
1004
|
+
), Pe = (t) => D(
|
|
1010
1005
|
{
|
|
1011
1006
|
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",
|
|
1012
1007
|
dataSet: ["selected", ["state", t.value, "active"]]
|
|
@@ -1018,7 +1013,7 @@ const Be = u(({ index: t, click: e, state: s }, n) => D({
|
|
|
1018
1013
|
click: (e) => t.callBack(t.value)
|
|
1019
1014
|
}, t.label)
|
|
1020
1015
|
]
|
|
1021
|
-
), Oe = (t, e) => (t.callBack = e,
|
|
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}` }, [
|
|
1022
1017
|
b({ class: "flex flex-auto flex-row", map: [t.options, (e) => Oe(e, t.callBack)] })
|
|
1023
1018
|
]);
|
|
1024
1019
|
class ot extends g {
|
package/package.json
CHANGED