@base-framework/ui 1.0.185 → 1.0.187
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 +1 -1
- package/dist/organisms.es.js +1 -1
- package/dist/{signature-panel-CdFC9C0N.js → signature-panel-D5slzOAr.js} +14 -7
- package/dist/types/components/organisms/lists/data-table-body.d.ts +1 -1
- package/dist/types/components/organisms/lists/dynamic-data-table.d.ts +1 -0
- package/dist/types/components/organisms/lists/scrollable-data-table.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -5,7 +5,7 @@ import { V as A, a as w } from "./veil-D4dRxILB.js";
|
|
|
5
5
|
import { Icons as R } from "./icons.es.js";
|
|
6
6
|
import { A as O, B as G, C as V, t as j, E as q, v as z, w as J, x as _, D as K, j as Q, k as X, H as Y, G as Z, s as $, c as aa, a as sa, b as ea, I as ta, i as oa, g as ra, e as na, h as ia, F as la, d as pa, f as ua, u as ma, M as da, l as ga, N as Ta, P as ca, p as Ca, q as Da, S as ba, n as Ia, o as Sa, T as Ba, y as Pa, z as Fa, m as Ma, r as ka } from "./empty-state-DYNdBFtp.js";
|
|
7
7
|
import { A as va, b as fa, C as xa, D as ya, a as ha, F as Wa, M as Ha, P as La, c as Aa, g as wa, p as Ua } from "./calendar-DQXME-2u.js";
|
|
8
|
-
import { B as Ea, p as Oa, C as Ga, j as Va, D as ja, m as qa, k as za, H as Ja, I as _a, N as Ka, O as Qa, P as Xa, S as Ya, n as Za, o as $a, t as as, s as ss, q as es, r as ts, T as os, l as rs, U as ns, W as is, f as ls, h as ps, i as us, c as ms, d as ds, b as gs, e as Ts, a as cs, g as Cs } from "./signature-panel-
|
|
8
|
+
import { B as Ea, p as Oa, C as Ga, j as Va, D as ja, m as qa, k as za, H as Ja, I as _a, N as Ka, O as Qa, P as Xa, S as Ya, n as Za, o as $a, t as as, s as ss, q as es, r as ts, T as os, l as rs, U as ns, W as is, f as ls, h as ps, i as us, c as ms, d as ds, b as gs, e as Ts, a as cs, g as Cs } from "./signature-panel-D5slzOAr.js";
|
|
9
9
|
import { B as bs, I as Is, M as Ss, d as Bs, e as Ps, g as Fs, N as Ms, b as ks, a as Ns, f as vs, P as fs, c as xs, S as ys, T as hs } from "./mobile-nav-wrapper-Dj67Pb8l.js";
|
|
10
10
|
import { B as Hs, a as Ls, C as As, F as ws, b as Us, c as Rs, M as Es, P as Os, S as Gs } from "./sidebar-menu-page-BVryQj2Z.js";
|
|
11
11
|
import { A as js, F as qs, M as zs, a as Js, T as _s } from "./aside-template-McEj_Gxc.js";
|
package/dist/organisms.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as s, p as t, C as o, j as r, D as n, m as l, k as i, H as b, I as d, N as p, O as u, P as v, S as D, n as g, o as N, t as k, s as c, q as C, r as T, T as M, l as m, U as y, W as B, f as W, h, i as S, c as H, d as P, b as I, e as f, a as x, g as L } from "./signature-panel-
|
|
1
|
+
import { B as s, p as t, C as o, j as r, D as n, m as l, k as i, H as b, I as d, N as p, O as u, P as v, S as D, n as g, o as N, t as k, s as c, q as C, r as T, T as M, l as m, U as y, W as B, f as W, h, i as S, c as H, d as P, b as I, e as f, a as x, g as L } from "./signature-panel-D5slzOAr.js";
|
|
2
2
|
import { b as F, C as U, D as G, a as j, F as q, M as w, c as z, p as A } from "./calendar-DQXME-2u.js";
|
|
3
3
|
import { B as J, I as K, M as Q, d as R, e as V, g as X, N as Y, b as Z, a as _, f as $, P as aa, c as ea, S as sa, T as ta } from "./mobile-nav-wrapper-Dj67Pb8l.js";
|
|
4
4
|
export {
|
|
@@ -326,12 +326,13 @@ const we = (t, e) => {
|
|
|
326
326
|
})
|
|
327
327
|
]
|
|
328
328
|
})
|
|
329
|
-
]), ke = ({ key: t, rows: e, selectRow: s, rowItem: a }) => new J({
|
|
329
|
+
]), ke = ({ key: t, rows: e, selectRow: s, rowItem: a, emptyState: i }) => new J({
|
|
330
330
|
cache: "list",
|
|
331
331
|
key: t,
|
|
332
332
|
items: e,
|
|
333
|
-
rowItem: (
|
|
334
|
-
class: "divide-y divide-border"
|
|
333
|
+
rowItem: (n) => a(n, s),
|
|
334
|
+
class: "divide-y divide-border",
|
|
335
|
+
emptyState: i
|
|
335
336
|
});
|
|
336
337
|
class N extends h {
|
|
337
338
|
/**
|
|
@@ -414,7 +415,9 @@ class N extends h {
|
|
|
414
415
|
// @ts-ignore
|
|
415
416
|
selectRow: this.selectRow.bind(this),
|
|
416
417
|
// @ts-ignore
|
|
417
|
-
rowItem: this.rowItem
|
|
418
|
+
rowItem: this.rowItem,
|
|
419
|
+
// @ts-ignore
|
|
420
|
+
emptyState: this.emptyState
|
|
418
421
|
})
|
|
419
422
|
])
|
|
420
423
|
])
|
|
@@ -551,7 +554,8 @@ const lt = d((t) => new ve(
|
|
|
551
554
|
rowItem: t.rowItem,
|
|
552
555
|
headers: t.headers,
|
|
553
556
|
customHeader: t.customHeader,
|
|
554
|
-
border: t.border
|
|
557
|
+
border: t.border,
|
|
558
|
+
emptyState: t.emptyState
|
|
555
559
|
}
|
|
556
560
|
)), De = (t) => new ee({
|
|
557
561
|
cache: "list",
|
|
@@ -599,7 +603,9 @@ class Se extends N {
|
|
|
599
603
|
// @ts-ignore
|
|
600
604
|
selectRow: this.selectRow.bind(this),
|
|
601
605
|
// @ts-ignore
|
|
602
|
-
rowItem: this.rowItem
|
|
606
|
+
rowItem: this.rowItem,
|
|
607
|
+
// @ts-ignore
|
|
608
|
+
emptyState: this.emptyState
|
|
603
609
|
})
|
|
604
610
|
])
|
|
605
611
|
])
|
|
@@ -628,7 +634,8 @@ const rt = d((t) => new Se(
|
|
|
628
634
|
rowItem: t.rowItem,
|
|
629
635
|
headers: t.headers,
|
|
630
636
|
customHeader: t.customHeader,
|
|
631
|
-
border: t.border
|
|
637
|
+
border: t.border,
|
|
638
|
+
emptyState: t.emptyState
|
|
632
639
|
}
|
|
633
640
|
)), Ie = d(({ name: t, email: e }) => o({ class: "min-w-0 flex-auto" }, [
|
|
634
641
|
p({ class: "text-base font-semibold leading-6 m-0" }, t),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function DataTableBody({ key, rows, selectRow, rowItem }: object): object;
|
|
1
|
+
export function DataTableBody({ key, rows, selectRow, rowItem, emptyState }: object): object;
|
|
2
2
|
import { CheckboxCol } from './table-header.js';
|
|
3
3
|
import { HeaderCol } from './table-header.js';
|
|
4
4
|
import { TableHeader } from './table-header.js';
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
* @property {string} [props.border] - The border to add to the table.
|
|
18
18
|
* @property {object} [props.data] - The table data.
|
|
19
19
|
* @property {string} [props.cache] - The table cache identifier.
|
|
20
|
+
* @property {object|null} [props.emptyState] - The empty state to show when there are no items.
|
|
20
21
|
* @returns {object}
|
|
21
22
|
*/
|
|
22
23
|
export const DynamicDataTable: Function;
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
* @property {string} [props.border] - The border to add to the table.
|
|
19
19
|
* @property {object} [props.data] - The table data.
|
|
20
20
|
* @property {string} [props.cache] - The table cache identifier.
|
|
21
|
+
* @property {object|null} [props.emptyState] - The empty state to show when there are no items.
|
|
21
22
|
* @returns {object}
|
|
22
23
|
*/
|
|
23
24
|
export const ScrollableDataTable: Function;
|
package/package.json
CHANGED