tembro 6.0.3 → 6.1.0
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/CHANGELOG.md +13 -0
- package/dist/components/calendar/calendar-range-scheduler.cjs +1 -0
- package/dist/components/calendar/calendar-range-scheduler.d.ts +20 -0
- package/dist/components/calendar/calendar-range-scheduler.js +1 -0
- package/dist/components/calendar/date-time-picker.cjs +1 -0
- package/dist/components/calendar/date-time-picker.d.ts +15 -0
- package/dist/components/calendar/date-time-picker.js +1 -0
- package/dist/components/calendar/index.d.ts +2 -0
- package/dist/components/charts/chart-card.cjs +1 -0
- package/dist/components/charts/chart-card.d.ts +24 -0
- package/dist/components/charts/chart-card.js +1 -0
- package/dist/components/charts/index.d.ts +1 -0
- package/dist/components/command/advanced-command-menu.cjs +1 -0
- package/dist/components/command/advanced-command-menu.d.ts +25 -0
- package/dist/components/command/advanced-command-menu.js +1 -0
- package/dist/components/command/index.d.ts +1 -0
- package/dist/components/data-table/data-grid.cjs +1 -0
- package/dist/components/data-table/data-grid.d.ts +15 -0
- package/dist/components/data-table/data-grid.js +1 -0
- package/dist/components/data-table/index.d.ts +1 -0
- package/dist/components/data-table/public.d.ts +1 -0
- package/dist/components/feedback/async-boundary.cjs +1 -0
- package/dist/components/feedback/async-boundary.d.ts +12 -0
- package/dist/components/feedback/async-boundary.js +1 -0
- package/dist/components/feedback/index.d.ts +1 -0
- package/dist/components/inputs/index.d.ts +1 -0
- package/dist/components/inputs/multi-select.cjs +1 -0
- package/dist/components/inputs/multi-select.d.ts +16 -0
- package/dist/components/inputs/multi-select.js +1 -0
- package/dist/components/inputs/public.d.ts +1 -0
- package/dist/components/modern/file-manager.cjs +1 -0
- package/dist/components/modern/file-manager.d.ts +20 -0
- package/dist/components/modern/file-manager.js +1 -0
- package/dist/components/modern/index.d.ts +1 -0
- package/dist/components/notifications/action-toast.cjs +1 -0
- package/dist/components/notifications/action-toast.d.ts +16 -0
- package/dist/components/notifications/action-toast.js +1 -0
- package/dist/components/notifications/index.d.ts +1 -0
- package/dist/components/patterns/index.d.ts +1 -0
- package/dist/components/patterns/permissions-matrix.cjs +1 -0
- package/dist/components/patterns/permissions-matrix.d.ts +19 -0
- package/dist/components/patterns/permissions-matrix.js +1 -0
- package/dist/components/patterns/public.d.ts +1 -0
- package/dist/src/components/calendar/calendar-range-scheduler.cjs +1 -0
- package/dist/src/components/calendar/calendar-range-scheduler.js +75 -0
- package/dist/src/components/calendar/date-time-picker.cjs +1 -0
- package/dist/src/components/calendar/date-time-picker.js +36 -0
- package/dist/src/components/calendar/index.cjs +1 -1
- package/dist/src/components/calendar/index.js +5 -3
- package/dist/src/components/charts/chart-card.cjs +1 -0
- package/dist/src/components/charts/chart-card.js +55 -0
- package/dist/src/components/charts/index.cjs +1 -1
- package/dist/src/components/charts/index.js +3 -2
- package/dist/src/components/command/advanced-command-menu.cjs +1 -0
- package/dist/src/components/command/advanced-command-menu.js +57 -0
- package/dist/src/components/command/index.cjs +1 -1
- package/dist/src/components/command/index.js +3 -2
- package/dist/src/components/data-table/data-grid.cjs +1 -0
- package/dist/src/components/data-table/data-grid.js +32 -0
- package/dist/src/components/data-table/data-table-saved-filters.cjs +1 -1
- package/dist/src/components/data-table/data-table-saved-filters.js +11 -11
- package/dist/src/components/data-table/data-table.cjs +1 -1
- package/dist/src/components/data-table/data-table.js +170 -170
- package/dist/src/components/data-table/index.cjs +1 -1
- package/dist/src/components/data-table/index.js +15 -14
- package/dist/src/components/data-table/public.cjs +1 -1
- package/dist/src/components/data-table/public.js +3 -2
- package/dist/src/components/feedback/async-boundary.cjs +1 -0
- package/dist/src/components/feedback/async-boundary.js +22 -0
- package/dist/src/components/feedback/index.cjs +1 -1
- package/dist/src/components/feedback/index.js +2 -1
- package/dist/src/components/inputs/index.cjs +1 -1
- package/dist/src/components/inputs/index.js +13 -12
- package/dist/src/components/inputs/multi-select.cjs +1 -0
- package/dist/src/components/inputs/multi-select.js +80 -0
- package/dist/src/components/inputs/public.cjs +1 -1
- package/dist/src/components/inputs/public.js +13 -12
- package/dist/src/components/modern/file-manager.cjs +1 -0
- package/dist/src/components/modern/file-manager.js +75 -0
- package/dist/src/components/modern/index.cjs +1 -1
- package/dist/src/components/modern/index.js +5 -4
- package/dist/src/components/notifications/action-toast.cjs +1 -0
- package/dist/src/components/notifications/action-toast.js +49 -0
- package/dist/src/components/notifications/index.cjs +1 -1
- package/dist/src/components/notifications/index.js +3 -2
- package/dist/src/components/patterns/index.cjs +1 -1
- package/dist/src/components/patterns/index.js +2 -1
- package/dist/src/components/patterns/permissions-matrix.cjs +1 -0
- package/dist/src/components/patterns/permissions-matrix.js +43 -0
- package/dist/src/components/patterns/public.cjs +1 -1
- package/dist/src/components/patterns/public.js +2 -1
- package/dist/src/components/ui/input/group.cjs +1 -1
- package/dist/src/components/ui/input/group.js +8 -8
- package/dist/src/index.cjs +1 -1
- package/dist/src/index.js +117 -107
- package/dist/src/public-component-surface.cjs +1 -1
- package/dist/src/public-component-surface.js +50 -0
- package/package.json +1 -1
- package/packages/cli/dist/index.cjs +73 -73
- package/packages/cli/vendor/src/components/calendar/calendar-range-scheduler.tsx +72 -0
- package/packages/cli/vendor/src/components/calendar/date-time-picker.tsx +53 -0
- package/packages/cli/vendor/src/components/calendar/index.ts +5 -3
- package/packages/cli/vendor/src/components/charts/chart-card.tsx +81 -0
- package/packages/cli/vendor/src/components/charts/index.ts +1 -0
- package/packages/cli/vendor/src/components/command/advanced-command-menu.tsx +88 -0
- package/packages/cli/vendor/src/components/command/index.ts +2 -1
- package/packages/cli/vendor/src/components/data-table/data-grid.tsx +59 -0
- package/packages/cli/vendor/src/components/data-table/index.ts +3 -2
- package/packages/cli/vendor/src/components/data-table/public.ts +1 -0
- package/packages/cli/vendor/src/components/feedback/async-boundary.tsx +36 -0
- package/packages/cli/vendor/src/components/feedback/index.ts +1 -0
- package/packages/cli/vendor/src/components/inputs/index.ts +1 -0
- package/packages/cli/vendor/src/components/inputs/multi-select.tsx +75 -0
- package/packages/cli/vendor/src/components/inputs/public.ts +1 -0
- package/packages/cli/vendor/src/components/modern/file-manager.tsx +79 -0
- package/packages/cli/vendor/src/components/modern/index.ts +1 -0
- package/packages/cli/vendor/src/components/notifications/action-toast.tsx +78 -0
- package/packages/cli/vendor/src/components/notifications/index.ts +2 -1
- package/packages/cli/vendor/src/components/patterns/index.ts +1 -0
- package/packages/cli/vendor/src/components/patterns/permissions-matrix.tsx +71 -0
- package/packages/cli/vendor/src/components/patterns/public.ts +1 -0
- package/packages/cli/vendor/src/public-component-surface.ts +10 -0
- package/packages/cli/vendor/templates/showcase/src/showcase/layout/HeroSection.tsx +2 -2
- package/packages/cli/vendor/templates/showcase/src/showcase/layout/WorkbenchSidebar.tsx +1 -1
- package/registry.json +3264 -2794
|
@@ -3,15 +3,15 @@ import { cn as e } from "../../lib/utils.js";
|
|
|
3
3
|
import { Button as t } from "../ui/button/index.js";
|
|
4
4
|
import { StateView as n } from "../feedback/state-view.js";
|
|
5
5
|
import { Input as r } from "../ui/input/index.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
6
|
+
import { Table as i, TableBody as ee, TableCell as a, TableHead as te, TableHeader as ne, TableRow as o } from "../ui/table/index.js";
|
|
7
|
+
import { createDataTableActionsColumn as re } from "./data-table-actions-column.js";
|
|
8
|
+
import { DataTableBulkActions as ie } from "./data-table-bulk-actions.js";
|
|
9
|
+
import { DataTableColumnVisibilityMenu as ae } from "./data-table-column-visibility-menu.js";
|
|
10
|
+
import { DataTablePagination as oe } from "./data-table-pagination.js";
|
|
11
|
+
import { DataTableToolbar as se } from "./data-table-toolbar.js";
|
|
12
|
+
import { useVirtualizer as ce } from "../../../node_modules/@tanstack/react-virtual/dist/esm/index.js";
|
|
13
|
+
import { DataState as s } from "../display/data-state.js";
|
|
14
|
+
import { useIsMobile as le } from "../../hooks/use-is-mobile.js";
|
|
15
15
|
import * as c from "react";
|
|
16
16
|
import { Fragment as ue, jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
17
17
|
import { flexRender as d, getCoreRowModel as de, getExpandedRowModel as fe, getPaginationRowModel as pe, useReactTable as me } from "@tanstack/react-table";
|
|
@@ -20,181 +20,181 @@ var he = {
|
|
|
20
20
|
compact: "h-8 px-2 py-1.5",
|
|
21
21
|
default: "h-10 px-2 py-2",
|
|
22
22
|
comfortable: "h-12 px-3 py-3"
|
|
23
|
-
},
|
|
23
|
+
}, f = {
|
|
24
24
|
compact: "px-2 py-1.5",
|
|
25
25
|
default: "p-2",
|
|
26
26
|
comfortable: "px-3 py-3"
|
|
27
27
|
};
|
|
28
|
-
function
|
|
28
|
+
function ge(e, t) {
|
|
29
29
|
return typeof t == "function" ? t(e) : t;
|
|
30
30
|
}
|
|
31
|
-
function
|
|
31
|
+
function _e(e, t) {
|
|
32
32
|
return typeof t == "function" ? t(e) : t;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function ve(e, t) {
|
|
35
35
|
return typeof t == "function" ? t(e) : t;
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function ye(e) {
|
|
38
38
|
return e == null || e === "";
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function be(e) {
|
|
41
41
|
let t = e.column.columnDef.header;
|
|
42
42
|
return typeof t == "string" ? t : typeof t == "number" ? String(t) : e.column.id === "actions" ? "Actions" : e.column.id;
|
|
43
43
|
}
|
|
44
|
-
function
|
|
45
|
-
let
|
|
46
|
-
let e =
|
|
47
|
-
return !
|
|
44
|
+
function xe({ className: xe, columns: p, data: m, title: h, description: g, features: _, search: v, filters: y, summary: b, toolbarActions: x, rowActions: S, bulkActions: Se, onRefresh: C, onExport: w, refreshLabel: Ce = "Refresh", exportLabel: we = "Export", getRowId: Te, isLoading: T = !1, isError: Ee = !1, emptyState: De, errorState: Oe, loadingState: ke, loadingVariant: Ae = "skeleton", toolbar: E, toolbarProps: D, pagination: O, sorting: je, onSortingChange: Me, columnVisibility: Ne, onColumnVisibilityChange: Pe, rowSelection: Fe, onRowSelectionChange: Ie, enableRowSelection: Le, renderMobileCard: k, mobileLayout: Re = "auto", onRowClick: A, onRowDoubleClick: ze, getRowDisabled: Be, density: j = "default", striped: Ve = !1, bordered: M = !1, stickyHeader: N = !1, skeletonRows: He = 6, skeletonCellClassName: Ue, cellFallback: We = "-", tableClassName: Ge, tableWrapperClassName: Ke, headerCellClassName: qe, cellClassName: Je, rowClassName: Ye, renderExpandedRow: Xe, expanded: Ze, onExpandedChange: Qe, getRowCanExpand: $e, columnPinning: et, onColumnPinningChange: tt, virtualization: P, ...nt }) {
|
|
45
|
+
let rt = c.useMemo(() => {
|
|
46
|
+
let e = p;
|
|
47
|
+
return !S || _?.rowActions === !1 ? e : [...e, re({ getActions: S })];
|
|
48
48
|
}, [
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
]),
|
|
53
|
-
pageIndex:
|
|
54
|
-
pageSize:
|
|
55
|
-
} : void 0,
|
|
56
|
-
data:
|
|
57
|
-
columns:
|
|
58
|
-
getRowId:
|
|
49
|
+
p,
|
|
50
|
+
_?.rowActions,
|
|
51
|
+
S
|
|
52
|
+
]), F = O === !1 ? void 0 : O, it = F ? {
|
|
53
|
+
pageIndex: F.pageIndex,
|
|
54
|
+
pageSize: F.pageSize
|
|
55
|
+
} : void 0, I = !!(F && F.manual !== !1), at = Fe ?? {}, L = me({
|
|
56
|
+
data: m,
|
|
57
|
+
columns: rt,
|
|
58
|
+
getRowId: Te,
|
|
59
59
|
getCoreRowModel: de(),
|
|
60
|
-
getPaginationRowModel:
|
|
61
|
-
manualPagination:
|
|
62
|
-
pageCount:
|
|
60
|
+
getPaginationRowModel: F && !I ? pe() : void 0,
|
|
61
|
+
manualPagination: I,
|
|
62
|
+
pageCount: F?.pageCount,
|
|
63
63
|
state: {
|
|
64
|
-
sorting:
|
|
65
|
-
columnVisibility:
|
|
64
|
+
sorting: je,
|
|
65
|
+
columnVisibility: Ne,
|
|
66
66
|
rowSelection: at,
|
|
67
|
-
pagination:
|
|
68
|
-
expanded:
|
|
69
|
-
...
|
|
67
|
+
pagination: it,
|
|
68
|
+
expanded: Ze,
|
|
69
|
+
...et ? { columnPinning: et } : {}
|
|
70
70
|
},
|
|
71
|
-
onSortingChange:
|
|
72
|
-
onColumnVisibilityChange:
|
|
73
|
-
onRowSelectionChange:
|
|
74
|
-
onExpandedChange:
|
|
75
|
-
onColumnPinningChange:
|
|
76
|
-
enableRowSelection:
|
|
77
|
-
getRowCanExpand:
|
|
71
|
+
onSortingChange: Me,
|
|
72
|
+
onColumnVisibilityChange: Pe,
|
|
73
|
+
onRowSelectionChange: Ie,
|
|
74
|
+
onExpandedChange: Qe,
|
|
75
|
+
onColumnPinningChange: tt,
|
|
76
|
+
enableRowSelection: Le,
|
|
77
|
+
getRowCanExpand: $e,
|
|
78
78
|
getExpandedRowModel: fe()
|
|
79
|
-
}), R = L.getRowModel().rows,
|
|
80
|
-
count:
|
|
81
|
-
getScrollElement: () =>
|
|
82
|
-
estimateSize: () =>
|
|
79
|
+
}), R = L.getRowModel().rows, z = c.useRef(null), B = P === !1 ? void 0 : P, V = !!(B && B.enabled !== !1 && R.length > 0), H = B?.height ?? 480, ot = B?.onRangeChange, U = ce({
|
|
80
|
+
count: V ? R.length : 0,
|
|
81
|
+
getScrollElement: () => z.current,
|
|
82
|
+
estimateSize: () => B?.estimateRowHeight ?? 48,
|
|
83
83
|
getItemKey: (e) => R[e]?.id ?? e,
|
|
84
|
-
overscan:
|
|
84
|
+
overscan: B?.overscan ?? 8,
|
|
85
85
|
initialRect: {
|
|
86
86
|
width: 0,
|
|
87
|
-
height: typeof
|
|
87
|
+
height: typeof H == "number" ? H : 480
|
|
88
88
|
},
|
|
89
89
|
onChange(e) {
|
|
90
|
-
if (!
|
|
90
|
+
if (!ot) return;
|
|
91
91
|
let t = e.getVirtualItems();
|
|
92
|
-
|
|
92
|
+
ot({
|
|
93
93
|
startIndex: t[0]?.index ?? -1,
|
|
94
94
|
endIndex: t.at(-1)?.index ?? -1
|
|
95
95
|
});
|
|
96
96
|
}
|
|
97
|
-
}),
|
|
97
|
+
}), st = V ? U.getVirtualItems() : [], W = B?.estimateRowHeight ?? 48, ct = V ? Math.min(R.length, Math.ceil((typeof H == "number" ? H : 480) / W) + (B?.overscan ?? 8)) : 0, G = st.length > 0 ? st : Array.from({ length: ct }, (e, t) => ({
|
|
98
98
|
key: R[t]?.id ?? t,
|
|
99
99
|
index: t,
|
|
100
|
-
start: t *
|
|
101
|
-
end: (t + 1) *
|
|
102
|
-
size:
|
|
100
|
+
start: t * W,
|
|
101
|
+
end: (t + 1) * W,
|
|
102
|
+
size: W,
|
|
103
103
|
lane: 0
|
|
104
|
-
})),
|
|
104
|
+
})), lt = G[0]?.start ?? 0, ut = G.length ? Math.max(U.getTotalSize() - G[G.length - 1].end, 0) : 0, K = L.getSelectedRowModel().rows.map((e) => e.original), dt = K.length, q = c.useMemo(() => ({
|
|
105
105
|
table: L,
|
|
106
|
-
data:
|
|
107
|
-
selectedRows:
|
|
106
|
+
data: m,
|
|
107
|
+
selectedRows: K
|
|
108
108
|
}), [
|
|
109
|
-
|
|
110
|
-
|
|
109
|
+
m,
|
|
110
|
+
K,
|
|
111
111
|
L
|
|
112
|
-
]),
|
|
112
|
+
]), ft = L.getVisibleLeafColumns(), pt = Math.max(ft.length, 1), mt = typeof E == "function" ? E(L) : E, ht = typeof D == "function" ? D(L) : D, J = typeof y == "function" ? y(q) : y, Y = typeof b == "function" ? b(q) : b, gt = !!(v && _?.search !== !1), _t = !!(_?.columnVisibility && L.getAllLeafColumns().some((e) => e.getCanHide())), X = !!(_?.refresh && C), Z = !!(_?.export && w), vt = !!(_?.bulkActions !== !1 && Se?.length), yt = _t && !!(h || g || v || J || Y || x || X || Z), bt = gt && v ? /* @__PURE__ */ l(r, {
|
|
113
113
|
type: "search",
|
|
114
|
-
value:
|
|
115
|
-
onValueChange:
|
|
116
|
-
placeholder:
|
|
117
|
-
wrapperClassName:
|
|
118
|
-
inputClassName:
|
|
119
|
-
disabled:
|
|
120
|
-
clearable:
|
|
121
|
-
clearLabel:
|
|
122
|
-
searchIcon:
|
|
123
|
-
}) : void 0,
|
|
124
|
-
typeof
|
|
125
|
-
|
|
126
|
-
|
|
114
|
+
value: v.value,
|
|
115
|
+
onValueChange: v.onValueChange,
|
|
116
|
+
placeholder: v.placeholder ?? "Search...",
|
|
117
|
+
wrapperClassName: v.wrapperClassName ?? v.className,
|
|
118
|
+
inputClassName: v.inputClassName,
|
|
119
|
+
disabled: v.disabled,
|
|
120
|
+
clearable: v.clearable,
|
|
121
|
+
clearLabel: v.clearLabel,
|
|
122
|
+
searchIcon: v.searchIcon
|
|
123
|
+
}) : void 0, xt = /* @__PURE__ */ u(ue, { children: [
|
|
124
|
+
typeof x == "function" ? x(q) : x,
|
|
125
|
+
yt && /* @__PURE__ */ l(ae, { table: L }),
|
|
126
|
+
X && /* @__PURE__ */ l(t, {
|
|
127
127
|
type: "button",
|
|
128
128
|
variant: "outline",
|
|
129
129
|
size: "sm",
|
|
130
|
-
disabled:
|
|
131
|
-
onClick: () =>
|
|
132
|
-
children:
|
|
130
|
+
disabled: T,
|
|
131
|
+
onClick: () => C?.(q),
|
|
132
|
+
children: Ce
|
|
133
133
|
}),
|
|
134
|
-
|
|
134
|
+
Z && /* @__PURE__ */ l(t, {
|
|
135
135
|
type: "button",
|
|
136
136
|
variant: "outline",
|
|
137
137
|
size: "sm",
|
|
138
|
-
onClick: () =>
|
|
139
|
-
children:
|
|
138
|
+
onClick: () => w?.(q),
|
|
139
|
+
children: we
|
|
140
140
|
})
|
|
141
|
-
] }),
|
|
142
|
-
rows:
|
|
143
|
-
actions:
|
|
141
|
+
] }), St = vt ? /* @__PURE__ */ l(ie, {
|
|
142
|
+
rows: K,
|
|
143
|
+
actions: Se ?? [],
|
|
144
144
|
selectedLabel: () => "Actions",
|
|
145
145
|
clearLabel: null,
|
|
146
146
|
onClearSelection: () => L.resetRowSelection(),
|
|
147
147
|
hideWhenEmpty: !1
|
|
148
|
-
}) : void 0,
|
|
148
|
+
}) : void 0, Ct = !!(mt || ht || h || g || bt || J || Y || x || yt || X || Z || St), wt = !!(F && !F.hidden), Q = T && Ae === "skeleton", Tt = le(), Et = Re !== "scroll" && Tt, Dt = (e, t) => t > 0 ? /* @__PURE__ */ l(o, {
|
|
149
149
|
"aria-hidden": "true",
|
|
150
150
|
className: "pointer-events-none border-0 hover:bg-transparent",
|
|
151
|
-
children: /* @__PURE__ */ l(
|
|
152
|
-
colSpan:
|
|
151
|
+
children: /* @__PURE__ */ l(a, {
|
|
152
|
+
colSpan: pt,
|
|
153
153
|
className: "border-0 p-0",
|
|
154
154
|
style: { height: t }
|
|
155
155
|
})
|
|
156
|
-
}, e) : null, Ot = (e) => /* @__PURE__ */ l(
|
|
157
|
-
colSpan:
|
|
156
|
+
}, e) : null, Ot = (e) => /* @__PURE__ */ l(o, { children: /* @__PURE__ */ l(a, {
|
|
157
|
+
colSpan: pt,
|
|
158
158
|
className: "p-0",
|
|
159
159
|
children: e
|
|
160
|
-
}) }), kt = () => Array.from({ length: Math.max(
|
|
160
|
+
}) }), kt = () => Array.from({ length: Math.max(He, 1) }, (t, n) => /* @__PURE__ */ l(o, {
|
|
161
161
|
"aria-hidden": "true",
|
|
162
|
-
children:
|
|
163
|
-
className: e(
|
|
164
|
-
children: /* @__PURE__ */ l("div", { className: e("h-4 w-full max-w-40 animate-pulse rounded-md bg-muted", n % 3 == 1 && "max-w-24", n % 3 == 2 && "max-w-32",
|
|
162
|
+
children: ft.map((t) => /* @__PURE__ */ l(a, {
|
|
163
|
+
className: e(f[j], M && "border-r last:border-r-0"),
|
|
164
|
+
children: /* @__PURE__ */ l("div", { className: e("h-4 w-full max-w-40 animate-pulse rounded-md bg-muted", n % 3 == 1 && "max-w-24", n % 3 == 2 && "max-w-32", Ue) })
|
|
165
165
|
}, `${t.id}-${n}`))
|
|
166
|
-
}, `skeleton-${n}`)), $ =
|
|
166
|
+
}, `skeleton-${n}`)), $ = Q ? null : T ? /* @__PURE__ */ l(n, {
|
|
167
167
|
status: "loading",
|
|
168
168
|
title: "Loading data...",
|
|
169
|
-
...
|
|
170
|
-
}) :
|
|
169
|
+
...ke
|
|
170
|
+
}) : Ee ? /* @__PURE__ */ l(s, {
|
|
171
171
|
status: "error",
|
|
172
172
|
title: "Could not load data",
|
|
173
173
|
description: "Please try again.",
|
|
174
174
|
variant: "plain",
|
|
175
|
-
...
|
|
176
|
-
}) : R.length === 0 ? /* @__PURE__ */ l(
|
|
175
|
+
...Oe
|
|
176
|
+
}) : R.length === 0 ? /* @__PURE__ */ l(s, {
|
|
177
177
|
status: "empty",
|
|
178
178
|
variant: "plain",
|
|
179
|
-
...
|
|
179
|
+
...De
|
|
180
180
|
}) : null, At = (t, n, r) => {
|
|
181
|
-
let i =
|
|
182
|
-
return /* @__PURE__ */ u(c.Fragment, { children: [/* @__PURE__ */ l(
|
|
183
|
-
ref: r &&
|
|
181
|
+
let i = Be?.(t) ?? !1;
|
|
182
|
+
return /* @__PURE__ */ u(c.Fragment, { children: [/* @__PURE__ */ l(o, {
|
|
183
|
+
ref: r && B?.measureRows !== !1 ? U.measureElement : void 0,
|
|
184
184
|
"data-index": r?.index,
|
|
185
185
|
"data-state": t.getIsSelected() ? "selected" : void 0,
|
|
186
|
-
"data-striped":
|
|
186
|
+
"data-striped": Ve && n % 2 == 1 ? "true" : void 0,
|
|
187
187
|
"data-disabled": i || void 0,
|
|
188
|
-
className: e(
|
|
188
|
+
className: e(A && !i && "cursor-pointer", !i && "transition-colors hover:bg-[color:color-mix(in_oklch,var(--primary),transparent_96%)] data-[state=selected]:bg-[color:color-mix(in_oklch,var(--primary),transparent_90%)]", i && "pointer-events-none opacity-55", ge(t, Ye)),
|
|
189
189
|
onClick: () => {
|
|
190
|
-
i ||
|
|
190
|
+
i || A?.(t);
|
|
191
191
|
},
|
|
192
192
|
onDoubleClick: () => {
|
|
193
|
-
i ||
|
|
193
|
+
i || ze?.(t);
|
|
194
194
|
},
|
|
195
195
|
children: t.getVisibleCells().map((t) => {
|
|
196
196
|
let n = d(t.column.columnDef.cell, t.getContext());
|
|
197
|
-
return /* @__PURE__ */ l(
|
|
197
|
+
return /* @__PURE__ */ l(a, {
|
|
198
198
|
style: {
|
|
199
199
|
...t.column.getIsPinned() === "left" ? {
|
|
200
200
|
left: `${t.column.getStart("left")}px`,
|
|
@@ -207,31 +207,31 @@ function Se({ className: Se, columns: Ce, data: f, title: p, description: m, fea
|
|
|
207
207
|
zIndex: 10
|
|
208
208
|
} : {}
|
|
209
209
|
},
|
|
210
|
-
className: e(
|
|
211
|
-
children:
|
|
210
|
+
className: e(f[j], t.column.getIsPinned() && "bg-card shadow-[1px_0_0_var(--border)]", M && "border-r last:border-r-0", ve(t, Je)),
|
|
211
|
+
children: ye(n) ? We : n
|
|
212
212
|
}, t.id);
|
|
213
213
|
})
|
|
214
|
-
}), t.getIsExpanded() &&
|
|
214
|
+
}), t.getIsExpanded() && Xe ? /* @__PURE__ */ l(o, {
|
|
215
215
|
className: "bg-muted/50 hover:bg-muted/50",
|
|
216
|
-
children: /* @__PURE__ */ l(
|
|
216
|
+
children: /* @__PURE__ */ l(a, {
|
|
217
217
|
colSpan: t.getVisibleCells().length,
|
|
218
|
-
children:
|
|
218
|
+
children: Xe(t)
|
|
219
219
|
})
|
|
220
220
|
}) : null] }, t.id);
|
|
221
221
|
}, jt = (t) => {
|
|
222
|
-
let n =
|
|
222
|
+
let n = Be?.(t) ?? !1, r = t.getVisibleCells();
|
|
223
223
|
return /* @__PURE__ */ l("article", {
|
|
224
224
|
"data-slot": "data-table-mobile-card",
|
|
225
225
|
"data-state": t.getIsSelected() ? "selected" : void 0,
|
|
226
226
|
"data-disabled": n || void 0,
|
|
227
|
-
className: e("grid gap-3 rounded-[var(--aui-card-radius,var(--radius-lg))] border border-[color:var(--aui-card-border,var(--border))] bg-card p-3 shadow-[var(--aui-card-shadow,0_10px_24px_rgba(15,23,42,0.07))]",
|
|
228
|
-
role:
|
|
229
|
-
tabIndex:
|
|
227
|
+
className: e("grid gap-3 rounded-[var(--aui-card-radius,var(--radius-lg))] border border-[color:var(--aui-card-border,var(--border))] bg-card p-3 shadow-[var(--aui-card-shadow,0_10px_24px_rgba(15,23,42,0.07))]", A && !n && "cursor-pointer transition-colors hover:bg-[color:color-mix(in_oklch,var(--primary),transparent_96%)]", n && "pointer-events-none opacity-55", ge(t, Ye)),
|
|
228
|
+
role: A && !n ? "button" : void 0,
|
|
229
|
+
tabIndex: A && !n ? 0 : void 0,
|
|
230
230
|
onClick: () => {
|
|
231
|
-
n ||
|
|
231
|
+
n || A?.(t);
|
|
232
232
|
},
|
|
233
233
|
onKeyDown: (e) => {
|
|
234
|
-
e.target !== e.currentTarget || n || !
|
|
234
|
+
e.target !== e.currentTarget || n || !A || (e.key === "Enter" || e.key === " ") && (e.preventDefault(), A(t));
|
|
235
235
|
},
|
|
236
236
|
children: r.map((e) => {
|
|
237
237
|
let t = d(e.column.columnDef.cell, e.getContext());
|
|
@@ -240,10 +240,10 @@ function Se({ className: Se, columns: Ce, data: f, title: p, description: m, fea
|
|
|
240
240
|
className: "grid grid-cols-[minmax(7rem,0.42fr)_minmax(0,1fr)] items-start gap-3 text-sm",
|
|
241
241
|
children: [/* @__PURE__ */ l("span", {
|
|
242
242
|
className: "min-w-0 text-xs font-semibold uppercase tracking-wide text-muted-foreground",
|
|
243
|
-
children:
|
|
243
|
+
children: be(e)
|
|
244
244
|
}), /* @__PURE__ */ l("div", {
|
|
245
245
|
className: "min-w-0 text-right text-foreground/92 [&>*]:ml-auto",
|
|
246
|
-
children:
|
|
246
|
+
children: ye(t) ? We : t
|
|
247
247
|
})]
|
|
248
248
|
}, e.id);
|
|
249
249
|
})
|
|
@@ -251,85 +251,85 @@ function Se({ className: Se, columns: Ce, data: f, title: p, description: m, fea
|
|
|
251
251
|
};
|
|
252
252
|
return /* @__PURE__ */ u("div", {
|
|
253
253
|
"data-slot": "data-table",
|
|
254
|
-
className: e("grid gap-3",
|
|
255
|
-
...
|
|
254
|
+
className: e("grid gap-3", xe),
|
|
255
|
+
...nt,
|
|
256
256
|
children: [
|
|
257
|
-
|
|
258
|
-
title:
|
|
259
|
-
description:
|
|
260
|
-
search:
|
|
261
|
-
filters:
|
|
262
|
-
summary:
|
|
263
|
-
actions:
|
|
264
|
-
selectionActions:
|
|
265
|
-
selectedCount:
|
|
266
|
-
totalCount:
|
|
257
|
+
Ct && (mt ?? /* @__PURE__ */ l(se, {
|
|
258
|
+
title: h,
|
|
259
|
+
description: g,
|
|
260
|
+
search: bt,
|
|
261
|
+
filters: J,
|
|
262
|
+
summary: Y,
|
|
263
|
+
actions: xt,
|
|
264
|
+
selectionActions: St,
|
|
265
|
+
selectedCount: dt,
|
|
266
|
+
totalCount: F ? F.rowCount ?? m.length : m.length,
|
|
267
267
|
variant: "plain",
|
|
268
|
-
...
|
|
268
|
+
...ht
|
|
269
269
|
})),
|
|
270
|
-
|
|
270
|
+
Et && /* @__PURE__ */ l("div", {
|
|
271
271
|
className: "grid gap-3",
|
|
272
|
-
children: $ ?? (
|
|
272
|
+
children: $ ?? (Q ? /* @__PURE__ */ l(n, {
|
|
273
273
|
status: "loading",
|
|
274
274
|
title: "Loading data...",
|
|
275
|
-
...
|
|
276
|
-
}) : R.map((e) => /* @__PURE__ */ l(c.Fragment, { children:
|
|
275
|
+
...ke
|
|
276
|
+
}) : R.map((e) => /* @__PURE__ */ l(c.Fragment, { children: k ? k(e) : jt(e) }, e.id)))
|
|
277
277
|
}),
|
|
278
|
-
!
|
|
278
|
+
!Et && /* @__PURE__ */ u("div", {
|
|
279
279
|
"data-slot": "data-table-wrapper",
|
|
280
280
|
"data-density": j,
|
|
281
|
-
"data-striped":
|
|
282
|
-
"data-bordered":
|
|
283
|
-
"data-virtualized":
|
|
284
|
-
className: e("overflow-hidden rounded-[var(--aui-card-radius,var(--radius-lg))] border border-[color:var(--aui-card-border,var(--border))] bg-card shadow-[var(--aui-card-shadow,0_10px_24px_rgba(15,23,42,0.07))] backdrop-blur",
|
|
285
|
-
children: [/* @__PURE__ */ u(
|
|
286
|
-
containerRef:
|
|
287
|
-
containerStyle:
|
|
288
|
-
height:
|
|
281
|
+
"data-striped": Ve || void 0,
|
|
282
|
+
"data-bordered": M || void 0,
|
|
283
|
+
"data-virtualized": V || void 0,
|
|
284
|
+
className: e("overflow-hidden rounded-[var(--aui-card-radius,var(--radius-lg))] border border-[color:var(--aui-card-border,var(--border))] bg-card shadow-[var(--aui-card-shadow,0_10px_24px_rgba(15,23,42,0.07))] backdrop-blur", Ke),
|
|
285
|
+
children: [/* @__PURE__ */ u(i, {
|
|
286
|
+
containerRef: z,
|
|
287
|
+
containerStyle: V ? {
|
|
288
|
+
height: H,
|
|
289
289
|
overscrollBehavior: "contain"
|
|
290
290
|
} : void 0,
|
|
291
|
-
containerClassName: e("rounded-none border-0 bg-transparent shadow-none ring-0",
|
|
292
|
-
className: e("text-[0.95rem]",
|
|
291
|
+
containerClassName: e("rounded-none border-0 bg-transparent shadow-none ring-0", V && "overflow-auto"),
|
|
292
|
+
className: e("text-[0.95rem]", Ge),
|
|
293
293
|
"aria-rowcount": R.length,
|
|
294
|
-
children: [/* @__PURE__ */ l(
|
|
295
|
-
className: e((
|
|
296
|
-
children: L.getHeaderGroups().map((t) => /* @__PURE__ */ l(
|
|
294
|
+
children: [/* @__PURE__ */ l(ne, {
|
|
295
|
+
className: e((N || V) && "sticky top-0 z-10 shadow-sm backdrop-blur"),
|
|
296
|
+
children: L.getHeaderGroups().map((t) => /* @__PURE__ */ l(o, { children: t.headers.map((t) => /* @__PURE__ */ l(te, {
|
|
297
297
|
style: {
|
|
298
298
|
width: t.getSize(),
|
|
299
299
|
...t.column.getIsPinned() === "left" ? {
|
|
300
300
|
left: `${t.column.getStart("left")}px`,
|
|
301
301
|
position: "sticky",
|
|
302
|
-
zIndex:
|
|
302
|
+
zIndex: N ? 20 : 11
|
|
303
303
|
} : {},
|
|
304
304
|
...t.column.getIsPinned() === "right" ? {
|
|
305
305
|
right: `${t.column.getAfter("right")}px`,
|
|
306
306
|
position: "sticky",
|
|
307
|
-
zIndex:
|
|
307
|
+
zIndex: N ? 20 : 11
|
|
308
308
|
} : {}
|
|
309
309
|
},
|
|
310
|
-
className: e(he[j], "bg-[color:color-mix(in_oklch,var(--card),var(--background)_10%)] text-muted-foreground", (
|
|
310
|
+
className: e(he[j], "bg-[color:color-mix(in_oklch,var(--card),var(--background)_10%)] text-muted-foreground", (N || V) && "bg-[color:color-mix(in_oklch,var(--card),transparent_12%)] backdrop-blur", t.column.getIsPinned() && "bg-card shadow-[1px_0_0_var(--border)]", M && "border-r last:border-r-0", _e(t, qe)),
|
|
311
311
|
children: t.isPlaceholder ? null : d(t.column.columnDef.header, t.getContext())
|
|
312
312
|
}, t.id)) }, t.id))
|
|
313
|
-
}), /* @__PURE__ */ l(
|
|
314
|
-
Dt("virtual-top",
|
|
315
|
-
...
|
|
316
|
-
Dt("virtual-bottom",
|
|
313
|
+
}), /* @__PURE__ */ l(ee, { children: $ ? Ot($) : Q ? kt() : V ? [
|
|
314
|
+
Dt("virtual-top", lt),
|
|
315
|
+
...G.map((e) => At(R[e.index], e.index, e)),
|
|
316
|
+
Dt("virtual-bottom", ut)
|
|
317
317
|
] : R.map((e, t) => At(e, t)) })]
|
|
318
|
-
}),
|
|
319
|
-
pageIndex:
|
|
320
|
-
pageSize:
|
|
321
|
-
pageCount:
|
|
322
|
-
rowCount:
|
|
323
|
-
pageSizeOptions:
|
|
324
|
-
showPageSize:
|
|
325
|
-
labels:
|
|
326
|
-
disabled:
|
|
327
|
-
onPageChange:
|
|
328
|
-
onPageSizeChange:
|
|
318
|
+
}), wt && F && /* @__PURE__ */ l(oe, {
|
|
319
|
+
pageIndex: F.pageIndex,
|
|
320
|
+
pageSize: F.pageSize,
|
|
321
|
+
pageCount: F.pageCount,
|
|
322
|
+
rowCount: F.rowCount,
|
|
323
|
+
pageSizeOptions: F.pageSizeOptions,
|
|
324
|
+
showPageSize: F.showPageSize,
|
|
325
|
+
labels: F.labels,
|
|
326
|
+
disabled: T,
|
|
327
|
+
onPageChange: F.onPageChange,
|
|
328
|
+
onPageSizeChange: F.onPageSizeChange
|
|
329
329
|
})]
|
|
330
330
|
})
|
|
331
331
|
]
|
|
332
332
|
});
|
|
333
333
|
}
|
|
334
334
|
//#endregion
|
|
335
|
-
export {
|
|
335
|
+
export { xe as DataTable };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./data-table-row-actions.cjs"),
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./data-grid.cjs"),t=require("./data-table-row-actions.cjs"),n=require("./data-table-actions-column.cjs"),r=require("./data-table-bulk-actions.cjs"),i=require("./data-table-column-visibility-menu.cjs"),a=require("./data-table-pagination.cjs"),o=require("./data-table-saved-filters.cjs"),s=require("./data-table-select-column.cjs"),c=require("./data-table-sortable-header.cjs"),l=require("./data-table-toolbar.cjs"),u=require("./data-table-view-presets.cjs"),d=require("./data-table.cjs"),f=require("./table-export-menu.cjs"),p=require("./table-import-button.cjs");exports.DataGrid=e.DataGrid,exports.DataTable=d.DataTable,exports.DataTableBulkActions=r.DataTableBulkActions,exports.DataTableColumnVisibilityMenu=i.DataTableColumnVisibilityMenu,exports.DataTablePagination=a.DataTablePagination,exports.DataTableRowActions=t.DataTableRowActions,exports.DataTableSavedFilters=o.DataTableSavedFilters,exports.DataTableSortableHeader=c.DataTableSortableHeader,exports.DataTableToolbar=l.DataTableToolbar,exports.DataTableViewPresets=u.DataTableViewPresets,exports.TableExportMenu=f.TableExportMenu,exports.TableImportButton=p.TableImportButton,exports.createDataTableActionsColumn=n.createDataTableActionsColumn,exports.createDataTableSelectColumn=s.createDataTableSelectColumn,exports.dataTableToolbarVariants=l.dataTableToolbarVariants,exports.getDataTablePageCount=a.getDataTablePageCount,exports.resolveRowActions=t.resolveRowActions;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
|
|
1
|
+
import { DataGrid as e } from "./data-grid.js";
|
|
2
|
+
import { DataTableRowActions as t, resolveRowActions as n } from "./data-table-row-actions.js";
|
|
3
|
+
import { createDataTableActionsColumn as r } from "./data-table-actions-column.js";
|
|
4
|
+
import { DataTableBulkActions as i } from "./data-table-bulk-actions.js";
|
|
5
|
+
import { DataTableColumnVisibilityMenu as a } from "./data-table-column-visibility-menu.js";
|
|
6
|
+
import { DataTablePagination as o, getDataTablePageCount as s } from "./data-table-pagination.js";
|
|
7
|
+
import { DataTableSavedFilters as c } from "./data-table-saved-filters.js";
|
|
8
|
+
import { createDataTableSelectColumn as l } from "./data-table-select-column.js";
|
|
9
|
+
import { DataTableSortableHeader as u } from "./data-table-sortable-header.js";
|
|
10
|
+
import { DataTableToolbar as d, dataTableToolbarVariants as f } from "./data-table-toolbar.js";
|
|
11
|
+
import { DataTableViewPresets as p } from "./data-table-view-presets.js";
|
|
12
|
+
import { DataTable as m } from "./data-table.js";
|
|
13
|
+
import { TableExportMenu as h } from "./table-export-menu.js";
|
|
14
|
+
import { TableImportButton as g } from "./table-import-button.js";
|
|
15
|
+
export { e as DataGrid, m as DataTable, i as DataTableBulkActions, a as DataTableColumnVisibilityMenu, o as DataTablePagination, t as DataTableRowActions, c as DataTableSavedFilters, u as DataTableSortableHeader, d as DataTableToolbar, p as DataTableViewPresets, h as TableExportMenu, g as TableImportButton, r as createDataTableActionsColumn, l as createDataTableSelectColumn, f as dataTableToolbarVariants, s as getDataTablePageCount, n as resolveRowActions };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./data-table.cjs");exports.
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./data-grid.cjs"),t=require("./data-table.cjs");exports.DataGrid=e.DataGrid,exports.DataTable=t.DataTable;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { DataGrid as e } from "./data-grid.js";
|
|
2
|
+
import { DataTable as t } from "./data-table.js";
|
|
3
|
+
export { e as DataGrid, t as DataTable };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("../../../_virtual/_rolldown/runtime.cjs"),t=require("./state-view.cjs");let n=require("react");n=e.__toESM(n,1);let r=require("react/jsx-runtime");function i({loading:e,error:n,empty:i,loadingTitle:a=`Loading`,errorTitle:o=`Unable to load`,emptyTitle:s=`No data`,onRetry:c,children:l}){return e?(0,r.jsx)(t.StateView,{status:`loading`,title:a,loadingVariant:`skeleton`}):n?(0,r.jsx)(t.StateView,{status:`error`,title:o,description:n instanceof Error?n.message:`Try again or check the request.`,onRetry:c}):i?(0,r.jsx)(t.StateView,{status:`empty`,title:s}):(0,r.jsx)(r.Fragment,{children:l})}exports.AsyncBoundary=i;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { StateView as e } from "./state-view.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import { Fragment as t, jsx as n } from "react/jsx-runtime";
|
|
5
|
+
//#region src/components/feedback/async-boundary.tsx
|
|
6
|
+
function r({ loading: r, error: i, empty: a, loadingTitle: o = "Loading", errorTitle: s = "Unable to load", emptyTitle: c = "No data", onRetry: l, children: u }) {
|
|
7
|
+
return r ? /* @__PURE__ */ n(e, {
|
|
8
|
+
status: "loading",
|
|
9
|
+
title: o,
|
|
10
|
+
loadingVariant: "skeleton"
|
|
11
|
+
}) : i ? /* @__PURE__ */ n(e, {
|
|
12
|
+
status: "error",
|
|
13
|
+
title: s,
|
|
14
|
+
description: i instanceof Error ? i.message : "Try again or check the request.",
|
|
15
|
+
onRetry: l
|
|
16
|
+
}) : a ? /* @__PURE__ */ n(e, {
|
|
17
|
+
status: "empty",
|
|
18
|
+
title: c
|
|
19
|
+
}) : /* @__PURE__ */ n(t, { children: u });
|
|
20
|
+
}
|
|
21
|
+
//#endregion
|
|
22
|
+
export { r as AsyncBoundary };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./state-view.cjs"),t=require("./alert.cjs");exports.Alert=t.Alert,exports.StateView=e.StateView;
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./state-view.cjs"),t=require("./alert.cjs"),n=require("./async-boundary.cjs");exports.Alert=t.Alert,exports.AsyncBoundary=n.AsyncBoundary,exports.StateView=e.StateView;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./time-picker.cjs"),t=require("./async-select.cjs"),n=require("./color-picker.cjs"),r=require("./combobox.cjs"),i=require("./multi-select.cjs"),a=require("./otp-input.cjs"),o=require("./rating.cjs"),s=require("./json-input.cjs"),c=require("./slider.cjs"),l=require("./tag-input.cjs"),u=require("./inline-editable.cjs"),d=require("./signature-pad.cjs");exports.AsyncMultiSelect=t.AsyncMultiSelect,exports.AsyncSelect=t.AsyncSelect,exports.ColorPicker=n.ColorPicker,exports.Combobox=r.Combobox,exports.DateTimePicker=e.DateTimePicker,exports.InlineEditable=u.InlineEditable,exports.JsonInput=s.JsonInput,exports.MultiSelect=i.MultiSelect,exports.OtpInput=a.OtpInput,exports.RangeSlider=c.RangeSlider,exports.Rating=o.Rating,exports.SignaturePad=d.SignaturePad,exports.Slider=c.Slider,exports.TagInput=l.TagInput,exports.TimePicker=e.TimePicker,exports.TimeRangePicker=e.TimeRangePicker,exports.drawSignature=d.drawSignature,exports.getAlphaPercent=n.getAlphaPercent,exports.normalizeHexColor=n.normalizeHexColor,exports.withAlpha=n.withAlpha;
|