@brightlocal/ui-components 2.1.0 → 2.3.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/AI_USAGE.md +1 -1
- package/README.md +3 -3
- package/component-meta.json +54 -10
- package/dist/blocks/data-table.cjs +1 -1
- package/dist/blocks/data-table.d.ts +380 -196
- package/dist/blocks/data-table.d.ts.map +1 -1
- package/dist/blocks/data-table.js +452 -449
- package/dist/callout.cjs +1 -0
- package/dist/callout.d.ts +51 -0
- package/dist/callout.d.ts.map +1 -0
- package/dist/callout.js +114 -0
- package/dist/carousel.cjs +1 -1
- package/dist/carousel.d.ts +40 -4
- package/dist/carousel.d.ts.map +1 -1
- package/dist/carousel.js +156 -101
- package/dist/combobox.cjs +3 -3
- package/dist/combobox.d.ts +26 -5
- package/dist/combobox.d.ts.map +1 -1
- package/dist/combobox.js +381 -346
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +436 -426
- package/dist/input-group.cjs +1 -1
- package/dist/input-group.js +1 -1
- package/dist/sheet.d.ts +1 -1
- package/package.json +1 -1
- package/src/blocks/data-table.tsx +865 -679
- package/src/components/callout.tsx +182 -0
- package/src/components/carousel.tsx +121 -3
- package/src/components/combobox.tsx +81 -10
- package/src/components/input-group.tsx +1 -1
- package/src/index.ts +1 -0
|
@@ -1,319 +1,328 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import * as
|
|
3
|
-
import {
|
|
4
|
-
import { createColumnHelper as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
enablePagination: p = !1,
|
|
25
|
-
enableColumnPinning: S = !1,
|
|
26
|
-
enableRowPinning: u = !1,
|
|
27
|
-
enableColumnOrdering: y = !1,
|
|
28
|
-
enableGrouping: f = !1,
|
|
29
|
-
enableExpanding: T = !1,
|
|
30
|
-
enableFaceting: ae = !1,
|
|
31
|
-
pageSize: q = 10,
|
|
32
|
-
noResultsMessage: ne = "No results.",
|
|
33
|
-
isLoading: le = !1,
|
|
34
|
-
skeletonRowCount: oe,
|
|
35
|
-
getSubRows: ie,
|
|
36
|
-
sorting: se,
|
|
37
|
-
onSortingChange: P,
|
|
38
|
-
columnFilters: re,
|
|
39
|
-
onColumnFiltersChange: D,
|
|
40
|
-
globalFilter: ce,
|
|
41
|
-
onGlobalFilterChange: M,
|
|
42
|
-
rowSelection: de,
|
|
43
|
-
onRowSelectionChange: N,
|
|
44
|
-
columnOrder: ge,
|
|
45
|
-
onColumnOrderChange: F,
|
|
46
|
-
columnPinning: ue,
|
|
47
|
-
onColumnPinningChange: I,
|
|
48
|
-
rowPinning: me,
|
|
49
|
-
onRowPinningChange: V,
|
|
50
|
-
grouping: fe,
|
|
51
|
-
onGroupingChange: v,
|
|
52
|
-
expanded: he,
|
|
53
|
-
onExpandedChange: $,
|
|
54
|
-
className: pe,
|
|
55
|
-
renderToolbar: _,
|
|
56
|
-
renderFooter: W,
|
|
57
|
-
renderPagination: J
|
|
58
|
-
}, be) {
|
|
59
|
-
const [we, Ce] = r.useState(
|
|
60
|
-
[]
|
|
61
|
-
), [Se, xe] = r.useState([]), [ke, Re] = r.useState(""), [ye, Te] = r.useState({}), [Pe, De] = r.useState([]), [Me, Ne] = r.useState({}), [Fe, Ie] = r.useState({}), [Ve, ve] = r.useState(
|
|
62
|
-
[]
|
|
63
|
-
), [$e, Ae] = r.useState(
|
|
64
|
-
{}
|
|
65
|
-
), A = se ?? we, G = re ?? Se, H = ce ?? ke, j = de ?? ye, z = ge ?? Pe, E = ue ?? Me, L = me ?? Fe, O = fe ?? Ve, U = he ?? $e, Ge = r.useCallback(
|
|
66
|
-
(e) => {
|
|
67
|
-
const t = typeof e == "function" ? e(A) : e;
|
|
68
|
-
P ? P(t) : Ce(t);
|
|
69
|
-
},
|
|
70
|
-
[A, P]
|
|
71
|
-
), He = r.useCallback(
|
|
72
|
-
(e) => {
|
|
73
|
-
const t = typeof e == "function" ? e(G) : e;
|
|
74
|
-
D ? D(t) : xe(t);
|
|
75
|
-
},
|
|
76
|
-
[G, D]
|
|
77
|
-
), je = r.useCallback(
|
|
78
|
-
(e) => {
|
|
79
|
-
const t = typeof e == "function" ? e(H) : e;
|
|
80
|
-
M ? M(t) : Re(t);
|
|
81
|
-
},
|
|
82
|
-
[H, M]
|
|
83
|
-
), ze = r.useCallback(
|
|
84
|
-
(e) => {
|
|
85
|
-
const t = typeof e == "function" ? e(j) : e;
|
|
86
|
-
N ? N(t) : Te(t);
|
|
87
|
-
},
|
|
88
|
-
[j, N]
|
|
89
|
-
), Ee = r.useCallback(
|
|
90
|
-
(e) => {
|
|
91
|
-
const t = typeof e == "function" ? e(z) : e;
|
|
92
|
-
F ? F(t) : De(t);
|
|
93
|
-
},
|
|
94
|
-
[z, F]
|
|
95
|
-
), Le = r.useCallback(
|
|
96
|
-
(e) => {
|
|
97
|
-
const t = typeof e == "function" ? e(E) : e;
|
|
98
|
-
I ? I(t) : Ne(t);
|
|
99
|
-
},
|
|
100
|
-
[E, I]
|
|
101
|
-
), Oe = r.useCallback(
|
|
102
|
-
(e) => {
|
|
103
|
-
const t = typeof e == "function" ? e(L) : e;
|
|
104
|
-
V ? V(t) : Ie(t);
|
|
105
|
-
},
|
|
106
|
-
[L, V]
|
|
107
|
-
), Ue = r.useCallback(
|
|
108
|
-
(e) => {
|
|
109
|
-
const t = typeof e == "function" ? e(O) : e;
|
|
110
|
-
v ? v(t) : ve(t);
|
|
111
|
-
},
|
|
112
|
-
[O, v]
|
|
113
|
-
), K = r.useCallback(
|
|
114
|
-
(e) => {
|
|
115
|
-
const t = typeof e == "function" ? e(U) : e;
|
|
116
|
-
$ ? $(t) : Ae(t);
|
|
1
|
+
import { jsx as e, jsxs as S, Fragment as D } from "react/jsx-runtime";
|
|
2
|
+
import * as P from "react";
|
|
3
|
+
import { flexRender as A, useReactTable as ee, getExpandedRowModel as te, getFilteredRowModel as ae, getSortedRowModel as ne, getPaginationRowModel as oe, getCoreRowModel as le } from "@tanstack/react-table";
|
|
4
|
+
import { createColumnHelper as Ye, flexRender as Ze } from "@tanstack/react-table";
|
|
5
|
+
import { useVirtualizer as ie } from "@tanstack/react-virtual";
|
|
6
|
+
import { ArrowDown as re, ArrowUp as se, ArrowUpDown as ce, Ellipsis as de, Search as ge } from "@brightlocal/icons";
|
|
7
|
+
import { cn as f } from "@brightlocal/ui-components/lib/utils";
|
|
8
|
+
import { Button as E } from "../button.js";
|
|
9
|
+
import { Checkbox as H } from "../checkbox.js";
|
|
10
|
+
import { DropdownMenu as ue, DropdownMenuTrigger as me, DropdownMenuContent as pe } from "../dropdown-menu.js";
|
|
11
|
+
import { InputGroup as he, InputGroupInput as fe, InputGroupAddon as be } from "../input-group.js";
|
|
12
|
+
import { usePagination as Se, Pagination as Ce, PaginationContent as we, PaginationItem as $, PaginationPrevious as xe, PaginationNext as ke, PaginationEllipsis as ve, PaginationLink as Re } from "../pagination.js";
|
|
13
|
+
import { Skeleton as Te } from "../skeleton.js";
|
|
14
|
+
import { Table as V, TableHeader as j, TableRow as k, TableHead as G, TableBody as L, TableCell as T } from "../table.js";
|
|
15
|
+
function y(t, a, l) {
|
|
16
|
+
const [n, o] = P.useState(a), r = t !== void 0 ? t : n, i = P.useRef(r);
|
|
17
|
+
P.useEffect(() => {
|
|
18
|
+
i.current = r;
|
|
19
|
+
});
|
|
20
|
+
const c = t !== void 0, d = P.useCallback(
|
|
21
|
+
(h) => {
|
|
22
|
+
const g = typeof h == "function" ? h(i.current) : h;
|
|
23
|
+
c || o(g), l?.(g);
|
|
117
24
|
},
|
|
118
|
-
[
|
|
119
|
-
)
|
|
25
|
+
[c, l]
|
|
26
|
+
);
|
|
27
|
+
return [r, d];
|
|
28
|
+
}
|
|
29
|
+
function Qe(t) {
|
|
30
|
+
const {
|
|
31
|
+
columns: a,
|
|
120
32
|
data: l,
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
33
|
+
enableSorting: n = !0,
|
|
34
|
+
enableGlobalFiltering: o = !1,
|
|
35
|
+
enableRowSelection: r = !1,
|
|
36
|
+
enablePagination: i = !1,
|
|
37
|
+
pageSize: c = 10,
|
|
38
|
+
manualSorting: d = !1,
|
|
39
|
+
manualFiltering: h = !1,
|
|
40
|
+
manualPagination: g = !1,
|
|
41
|
+
rowCount: C,
|
|
42
|
+
pageCount: u,
|
|
43
|
+
enableExpanding: s = !1,
|
|
44
|
+
getSubRows: w,
|
|
45
|
+
getRowId: b,
|
|
46
|
+
pagination: m,
|
|
47
|
+
onPaginationChange: v,
|
|
48
|
+
sorting: x,
|
|
49
|
+
onSortingChange: F,
|
|
50
|
+
globalFilter: N,
|
|
51
|
+
onGlobalFilterChange: z,
|
|
52
|
+
rowSelection: R,
|
|
53
|
+
onRowSelectionChange: p,
|
|
54
|
+
expanded: I,
|
|
55
|
+
onExpandedChange: M
|
|
56
|
+
} = t, [_, O] = y(
|
|
57
|
+
m,
|
|
58
|
+
{ pageIndex: 0, pageSize: c },
|
|
59
|
+
v
|
|
60
|
+
), [q, J] = y(
|
|
61
|
+
x,
|
|
62
|
+
[],
|
|
63
|
+
F
|
|
64
|
+
), [K, Q] = y(
|
|
65
|
+
N,
|
|
66
|
+
"",
|
|
67
|
+
z
|
|
68
|
+
), [W, X] = y(R, {}, p), [Y, Z] = y(
|
|
69
|
+
I,
|
|
70
|
+
{},
|
|
71
|
+
M
|
|
72
|
+
);
|
|
73
|
+
return ee({
|
|
74
|
+
data: l,
|
|
75
|
+
columns: a,
|
|
76
|
+
getCoreRowModel: le(),
|
|
77
|
+
...b && { getRowId: b },
|
|
78
|
+
...(i || g) && {
|
|
79
|
+
onPaginationChange: O
|
|
80
|
+
},
|
|
81
|
+
...i && {
|
|
82
|
+
...!g && {
|
|
83
|
+
getPaginationRowModel: oe()
|
|
130
84
|
}
|
|
131
85
|
},
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
86
|
+
...g && {
|
|
87
|
+
manualPagination: !0,
|
|
88
|
+
...C != null && { rowCount: C },
|
|
89
|
+
...u != null && { pageCount: u }
|
|
136
90
|
},
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
91
|
+
...n && {
|
|
92
|
+
...!d && {
|
|
93
|
+
getSortedRowModel: ne()
|
|
94
|
+
},
|
|
95
|
+
onSortingChange: J,
|
|
96
|
+
...d && { manualSorting: !0 }
|
|
141
97
|
},
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
98
|
+
...o && {
|
|
99
|
+
...!h && {
|
|
100
|
+
getFilteredRowModel: ae()
|
|
101
|
+
},
|
|
102
|
+
...h && { manualFiltering: !0 },
|
|
103
|
+
onGlobalFilterChange: Q,
|
|
146
104
|
globalFilterFn: "includesString"
|
|
147
105
|
},
|
|
148
|
-
|
|
149
|
-
...g && {
|
|
106
|
+
...r && {
|
|
150
107
|
enableRowSelection: !0,
|
|
151
|
-
onRowSelectionChange:
|
|
152
|
-
},
|
|
153
|
-
// Column Ordering
|
|
154
|
-
...y && {
|
|
155
|
-
onColumnOrderChange: Ee
|
|
156
|
-
},
|
|
157
|
-
// Column Pinning
|
|
158
|
-
...S && {
|
|
159
|
-
onColumnPinningChange: Le
|
|
108
|
+
onRowSelectionChange: X
|
|
160
109
|
},
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
keepPinnedRows: !0
|
|
110
|
+
...s && {
|
|
111
|
+
getExpandedRowModel: te(),
|
|
112
|
+
onExpandedChange: Z,
|
|
113
|
+
getSubRows: w
|
|
166
114
|
},
|
|
167
|
-
// Grouping
|
|
168
|
-
...f && {
|
|
169
|
-
getGroupedRowModel: Qe(),
|
|
170
|
-
getExpandedRowModel: Q(),
|
|
171
|
-
onGroupingChange: Ue,
|
|
172
|
-
onExpandedChange: K
|
|
173
|
-
},
|
|
174
|
-
// Expanding
|
|
175
|
-
...T && {
|
|
176
|
-
getExpandedRowModel: Q(),
|
|
177
|
-
onExpandedChange: K,
|
|
178
|
-
getSubRows: ie
|
|
179
|
-
},
|
|
180
|
-
// Faceting (for filter dropdowns)
|
|
181
|
-
...ae && {
|
|
182
|
-
getFacetedRowModel: Ke(),
|
|
183
|
-
getFacetedUniqueValues: Je(),
|
|
184
|
-
getFacetedMinMaxValues: We()
|
|
185
|
-
},
|
|
186
|
-
// State
|
|
187
115
|
state: {
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
globalFilter:
|
|
191
|
-
rowSelection:
|
|
192
|
-
|
|
193
|
-
columnPinning: E,
|
|
194
|
-
rowPinning: L,
|
|
195
|
-
grouping: O,
|
|
196
|
-
expanded: U
|
|
116
|
+
pagination: _,
|
|
117
|
+
sorting: q,
|
|
118
|
+
globalFilter: K,
|
|
119
|
+
rowSelection: W,
|
|
120
|
+
expanded: Y
|
|
197
121
|
}
|
|
198
122
|
});
|
|
199
|
-
|
|
123
|
+
}
|
|
124
|
+
function ye({
|
|
125
|
+
table: t,
|
|
126
|
+
dataHook: a,
|
|
127
|
+
trackingEl: l,
|
|
128
|
+
trackingLabel: n,
|
|
129
|
+
isLoading: o = !1,
|
|
130
|
+
skeletonRowCount: r,
|
|
131
|
+
noResultsMessage: i = "No results.",
|
|
132
|
+
stickyHeader: c = !1,
|
|
133
|
+
className: d,
|
|
134
|
+
footer: h
|
|
135
|
+
}) {
|
|
136
|
+
const g = t.getVisibleLeafColumns().length, C = r ?? t.getState().pagination.pageSize ?? 10;
|
|
137
|
+
return /* @__PURE__ */ e(
|
|
200
138
|
"div",
|
|
201
139
|
{
|
|
202
|
-
|
|
203
|
-
className:
|
|
204
|
-
"data-hook":
|
|
205
|
-
"data-slot": "data-table",
|
|
206
|
-
"data-tracking-el":
|
|
207
|
-
"data-tracking-label":
|
|
208
|
-
children: [
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
t.
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
{
|
|
243
|
-
"data-state": e.getIsSelected() && "selected",
|
|
244
|
-
children: e.getVisibleCells().map((t) => /* @__PURE__ */ a(x, { children: k(
|
|
245
|
-
t.column.columnDef.cell,
|
|
246
|
-
t.getContext()
|
|
247
|
-
) }, t.id))
|
|
248
|
-
},
|
|
249
|
-
e.id
|
|
250
|
-
))
|
|
251
|
-
] }) }),
|
|
252
|
-
W && W(m)
|
|
253
|
-
] }),
|
|
254
|
-
J && J(m)
|
|
255
|
-
]
|
|
140
|
+
"aria-busy": o || void 0,
|
|
141
|
+
className: f(d),
|
|
142
|
+
"data-hook": a,
|
|
143
|
+
"data-slot": "data-table-view",
|
|
144
|
+
"data-tracking-el": l,
|
|
145
|
+
"data-tracking-label": n,
|
|
146
|
+
children: /* @__PURE__ */ S(V, { dataHook: `${a}-table`, children: [
|
|
147
|
+
/* @__PURE__ */ e(
|
|
148
|
+
j,
|
|
149
|
+
{
|
|
150
|
+
className: f(c && "bg-background sticky top-0 z-10"),
|
|
151
|
+
children: t.getHeaderGroups().map((u) => /* @__PURE__ */ e(k, { children: u.headers.map((s) => {
|
|
152
|
+
const w = s.column.getCanSort() ? s.column.getIsSorted() : !1, b = w === "asc" ? "ascending" : w === "desc" ? "descending" : s.column.getCanSort() ? "none" : void 0;
|
|
153
|
+
return /* @__PURE__ */ e(
|
|
154
|
+
G,
|
|
155
|
+
{
|
|
156
|
+
"aria-sort": b,
|
|
157
|
+
colSpan: s.colSpan,
|
|
158
|
+
children: s.isPlaceholder ? null : A(
|
|
159
|
+
s.column.columnDef.header,
|
|
160
|
+
s.getContext()
|
|
161
|
+
)
|
|
162
|
+
},
|
|
163
|
+
s.id
|
|
164
|
+
);
|
|
165
|
+
}) }, u.id))
|
|
166
|
+
}
|
|
167
|
+
),
|
|
168
|
+
/* @__PURE__ */ e(L, { children: o ? /* @__PURE__ */ S(D, { children: [
|
|
169
|
+
/* @__PURE__ */ e(
|
|
170
|
+
U,
|
|
171
|
+
{
|
|
172
|
+
colCount: g,
|
|
173
|
+
rowCount: C
|
|
174
|
+
}
|
|
175
|
+
),
|
|
176
|
+
/* @__PURE__ */ e(k, { className: "sr-only", children: /* @__PURE__ */ e(T, { colSpan: g, children: /* @__PURE__ */ e("div", { "aria-live": "polite", role: "status", children: "Loading data…" }) }) })
|
|
177
|
+
] }) : /* @__PURE__ */ e(D, { children: t.getRowModel().rows.length > 0 ? t.getRowModel().rows.map((u) => /* @__PURE__ */ e(B, { row: u }, u.id)) : /* @__PURE__ */ e(k, { children: /* @__PURE__ */ e(T, { colSpan: g, children: /* @__PURE__ */ e("div", { "aria-live": "polite", role: "status", children: i }) }) }) }) }),
|
|
178
|
+
h
|
|
179
|
+
] })
|
|
256
180
|
}
|
|
257
181
|
);
|
|
258
182
|
}
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
183
|
+
ye.displayName = "DataTable";
|
|
184
|
+
function B({ row: t }) {
|
|
185
|
+
return /* @__PURE__ */ e(k, { "data-state": t.getIsSelected() ? "selected" : void 0, children: t.getVisibleCells().map((a) => /* @__PURE__ */ e(T, { children: A(a.column.columnDef.cell, a.getContext()) }, a.id)) });
|
|
186
|
+
}
|
|
187
|
+
function U({
|
|
188
|
+
rowCount: t,
|
|
189
|
+
colCount: a
|
|
190
|
+
}) {
|
|
191
|
+
return /* @__PURE__ */ e(D, { children: Array.from({ length: t }).map((l, n) => /* @__PURE__ */ e(k, { children: Array.from({ length: a }).map((o, r) => /* @__PURE__ */ e(T, { children: /* @__PURE__ */ e(Te, { className: "h-4 w-full" }) }, `skeleton-${n}-${r}`)) }, `skeleton-${n}`)) });
|
|
192
|
+
}
|
|
193
|
+
function Pe({
|
|
194
|
+
table: t,
|
|
195
|
+
dataHook: a,
|
|
196
|
+
trackingEl: l,
|
|
197
|
+
trackingLabel: n,
|
|
198
|
+
isLoading: o = !1,
|
|
199
|
+
skeletonRowCount: r,
|
|
200
|
+
noResultsMessage: i = "No results.",
|
|
201
|
+
stickyHeader: c = !1,
|
|
202
|
+
className: d,
|
|
203
|
+
footer: h,
|
|
204
|
+
height: g,
|
|
205
|
+
estimateSize: C = 48,
|
|
206
|
+
overscan: u = 5
|
|
207
|
+
}) {
|
|
208
|
+
const s = t.getVisibleLeafColumns().length, w = r ?? t.getState().pagination.pageSize ?? 10, b = P.useRef(null), m = t.getRowModel().rows, v = ie({
|
|
209
|
+
count: m.length,
|
|
210
|
+
getScrollElement: () => b.current,
|
|
211
|
+
estimateSize: () => C,
|
|
212
|
+
overscan: u
|
|
213
|
+
}), x = v.getVirtualItems(), F = v.getTotalSize(), N = x.length > 0 ? x[0].start : 0, z = x.length > 0 ? F - x[x.length - 1].end : 0;
|
|
214
|
+
return /* @__PURE__ */ e(
|
|
215
|
+
"div",
|
|
216
|
+
{
|
|
217
|
+
ref: b,
|
|
218
|
+
"aria-busy": o || void 0,
|
|
219
|
+
className: f("overflow-auto", d),
|
|
220
|
+
"data-hook": a,
|
|
221
|
+
"data-slot": "data-table-view",
|
|
222
|
+
"data-tracking-el": l,
|
|
223
|
+
"data-tracking-label": n,
|
|
224
|
+
style: g != null ? { height: g } : void 0,
|
|
225
|
+
children: /* @__PURE__ */ S(V, { dataHook: `${a}-table`, children: [
|
|
226
|
+
/* @__PURE__ */ e(
|
|
227
|
+
j,
|
|
228
|
+
{
|
|
229
|
+
className: f(c && "bg-background sticky top-0 z-10"),
|
|
230
|
+
children: t.getHeaderGroups().map((R) => /* @__PURE__ */ e(k, { children: R.headers.map((p) => {
|
|
231
|
+
const I = p.column.getCanSort() ? p.column.getIsSorted() : !1, M = I === "asc" ? "ascending" : I === "desc" ? "descending" : p.column.getCanSort() ? "none" : void 0;
|
|
232
|
+
return /* @__PURE__ */ e(
|
|
233
|
+
G,
|
|
234
|
+
{
|
|
235
|
+
"aria-sort": M,
|
|
236
|
+
colSpan: p.colSpan,
|
|
237
|
+
children: p.isPlaceholder ? null : A(
|
|
238
|
+
p.column.columnDef.header,
|
|
239
|
+
p.getContext()
|
|
240
|
+
)
|
|
241
|
+
},
|
|
242
|
+
p.id
|
|
243
|
+
);
|
|
244
|
+
}) }, R.id))
|
|
245
|
+
}
|
|
246
|
+
),
|
|
247
|
+
/* @__PURE__ */ e(L, { children: o ? /* @__PURE__ */ S(D, { children: [
|
|
248
|
+
/* @__PURE__ */ e(
|
|
249
|
+
U,
|
|
250
|
+
{
|
|
251
|
+
colCount: s,
|
|
252
|
+
rowCount: w
|
|
253
|
+
}
|
|
254
|
+
),
|
|
255
|
+
/* @__PURE__ */ e(k, { className: "sr-only", children: /* @__PURE__ */ e(T, { colSpan: s, children: /* @__PURE__ */ e("div", { "aria-live": "polite", role: "status", children: "Loading data…" }) }) })
|
|
256
|
+
] }) : m.length > 0 ? /* @__PURE__ */ S(D, { children: [
|
|
257
|
+
N > 0 && /* @__PURE__ */ e("tr", { "aria-hidden": "true", children: /* @__PURE__ */ e("td", { colSpan: s, style: { height: N } }) }),
|
|
258
|
+
x.map((R) => {
|
|
259
|
+
const p = m[R.index];
|
|
260
|
+
return /* @__PURE__ */ e(B, { row: p }, p.id);
|
|
261
|
+
}),
|
|
262
|
+
z > 0 && /* @__PURE__ */ e("tr", { "aria-hidden": "true", children: /* @__PURE__ */ e("td", { colSpan: s, style: { height: z } }) })
|
|
263
|
+
] }) : /* @__PURE__ */ e(k, { children: /* @__PURE__ */ e(T, { colSpan: s, children: /* @__PURE__ */ e("div", { "aria-live": "polite", role: "status", children: i }) }) }) }),
|
|
264
|
+
h
|
|
265
|
+
] })
|
|
266
|
+
}
|
|
267
|
+
);
|
|
268
|
+
}
|
|
269
|
+
Pe.displayName = "VirtualizedDataTable";
|
|
270
|
+
function De({
|
|
271
|
+
column: t,
|
|
272
|
+
title: a,
|
|
273
|
+
className: l,
|
|
274
|
+
dataHook: n,
|
|
275
|
+
trackingEl: o,
|
|
276
|
+
trackingLabel: r,
|
|
277
|
+
align: i = "left"
|
|
269
278
|
}) {
|
|
270
|
-
if (!
|
|
271
|
-
return /* @__PURE__ */
|
|
279
|
+
if (!t.getCanSort())
|
|
280
|
+
return /* @__PURE__ */ e(
|
|
272
281
|
"div",
|
|
273
282
|
{
|
|
274
|
-
className:
|
|
283
|
+
className: f(
|
|
275
284
|
"text-muted-foreground text-left text-sm leading-normal font-medium",
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
285
|
+
i === "right" && "text-right",
|
|
286
|
+
i === "center" && "text-center",
|
|
287
|
+
l
|
|
279
288
|
),
|
|
280
|
-
"data-hook":
|
|
289
|
+
"data-hook": n,
|
|
281
290
|
"data-slot": "data-table-column-header",
|
|
282
|
-
"data-tracking-el":
|
|
283
|
-
"data-tracking-label":
|
|
284
|
-
children:
|
|
291
|
+
"data-tracking-el": o,
|
|
292
|
+
"data-tracking-label": r,
|
|
293
|
+
children: a
|
|
285
294
|
}
|
|
286
295
|
);
|
|
287
|
-
const
|
|
288
|
-
return /* @__PURE__ */
|
|
296
|
+
const c = t.getIsSorted(), d = c === "desc" ? `Sort by ${a}, currently descending` : c === "asc" ? `Sort by ${a}, currently ascending` : `Sort by ${a}`;
|
|
297
|
+
return /* @__PURE__ */ e(
|
|
289
298
|
"div",
|
|
290
299
|
{
|
|
291
|
-
className:
|
|
300
|
+
className: f(
|
|
292
301
|
"flex items-center",
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
302
|
+
i === "right" && "justify-end",
|
|
303
|
+
i === "center" && "justify-center",
|
|
304
|
+
l
|
|
296
305
|
),
|
|
297
306
|
"data-slot": "data-table-column-header",
|
|
298
|
-
"data-tracking-el":
|
|
299
|
-
"data-tracking-label":
|
|
300
|
-
children: /* @__PURE__ */
|
|
301
|
-
|
|
307
|
+
"data-tracking-el": o,
|
|
308
|
+
"data-tracking-label": r,
|
|
309
|
+
children: /* @__PURE__ */ S(
|
|
310
|
+
E,
|
|
302
311
|
{
|
|
303
|
-
"aria-label":
|
|
304
|
-
className:
|
|
305
|
-
dataHook:
|
|
312
|
+
"aria-label": d,
|
|
313
|
+
className: "text-muted-foreground h-auto p-0 text-sm font-medium",
|
|
314
|
+
dataHook: n || `column-header-${t.id}`,
|
|
306
315
|
size: "sm",
|
|
307
316
|
variant: "ghost",
|
|
308
|
-
onClick: () =>
|
|
317
|
+
onClick: () => t.toggleSorting(c === "asc"),
|
|
309
318
|
children: [
|
|
310
|
-
/* @__PURE__ */
|
|
311
|
-
/* @__PURE__ */
|
|
319
|
+
/* @__PURE__ */ e("span", { "aria-hidden": "true", children: a }),
|
|
320
|
+
/* @__PURE__ */ e(
|
|
312
321
|
"span",
|
|
313
322
|
{
|
|
314
323
|
"aria-hidden": "true",
|
|
315
324
|
className: "flex size-3 items-center justify-center",
|
|
316
|
-
children:
|
|
325
|
+
children: c === "desc" ? /* @__PURE__ */ e(re, { size: 12 }) : c === "asc" ? /* @__PURE__ */ e(se, { size: 12 }) : /* @__PURE__ */ e(ce, { size: 12 })
|
|
317
326
|
}
|
|
318
327
|
)
|
|
319
328
|
]
|
|
@@ -322,241 +331,235 @@ function Tt({
|
|
|
322
331
|
}
|
|
323
332
|
);
|
|
324
333
|
}
|
|
325
|
-
|
|
326
|
-
function
|
|
327
|
-
row:
|
|
328
|
-
dataHook:
|
|
329
|
-
trackingEl:
|
|
330
|
-
trackingLabel:
|
|
331
|
-
ariaLabel:
|
|
332
|
-
children:
|
|
334
|
+
De.displayName = "DataTableColumnHeader";
|
|
335
|
+
function Ne({
|
|
336
|
+
row: t,
|
|
337
|
+
dataHook: a,
|
|
338
|
+
trackingEl: l,
|
|
339
|
+
trackingLabel: n,
|
|
340
|
+
ariaLabel: o = "Open row actions menu",
|
|
341
|
+
children: r
|
|
333
342
|
}) {
|
|
334
|
-
return /* @__PURE__ */
|
|
335
|
-
/* @__PURE__ */
|
|
336
|
-
|
|
343
|
+
return /* @__PURE__ */ S(ue, { children: [
|
|
344
|
+
/* @__PURE__ */ e(me, { asChild: !0, "data-slot": "data-table-row-actions", children: /* @__PURE__ */ e(
|
|
345
|
+
E,
|
|
337
346
|
{
|
|
338
|
-
"aria-label":
|
|
339
|
-
dataHook:
|
|
347
|
+
"aria-label": o,
|
|
348
|
+
dataHook: a || `row-actions-${t.id}`,
|
|
340
349
|
size: "sm",
|
|
341
|
-
trackingEl:
|
|
342
|
-
trackingLabel:
|
|
350
|
+
trackingEl: l,
|
|
351
|
+
trackingLabel: n,
|
|
343
352
|
variant: "ghost",
|
|
344
|
-
children: /* @__PURE__ */
|
|
353
|
+
children: /* @__PURE__ */ e(de, {})
|
|
345
354
|
}
|
|
346
355
|
) }),
|
|
347
|
-
/* @__PURE__ */
|
|
356
|
+
/* @__PURE__ */ e(
|
|
357
|
+
pe,
|
|
358
|
+
{
|
|
359
|
+
align: "end",
|
|
360
|
+
dataHook: a ? `${a}-menu` : `row-actions-${t.id}-menu`,
|
|
361
|
+
children: r
|
|
362
|
+
}
|
|
363
|
+
)
|
|
348
364
|
] });
|
|
349
365
|
}
|
|
350
|
-
|
|
351
|
-
function
|
|
352
|
-
dataHook:
|
|
353
|
-
trackingEl:
|
|
354
|
-
trackingLabel:
|
|
355
|
-
className:
|
|
356
|
-
children:
|
|
366
|
+
Ne.displayName = "DataTableRowActions";
|
|
367
|
+
function ze({
|
|
368
|
+
dataHook: t,
|
|
369
|
+
trackingEl: a,
|
|
370
|
+
trackingLabel: l,
|
|
371
|
+
className: n,
|
|
372
|
+
children: o
|
|
357
373
|
}) {
|
|
358
|
-
return /* @__PURE__ */
|
|
374
|
+
return /* @__PURE__ */ e(
|
|
359
375
|
"div",
|
|
360
376
|
{
|
|
361
|
-
className:
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
"data-
|
|
366
|
-
|
|
367
|
-
"data-tracking-el": l,
|
|
368
|
-
"data-tracking-label": o,
|
|
369
|
-
children: s
|
|
377
|
+
className: f("flex items-center gap-2", n),
|
|
378
|
+
"data-hook": t,
|
|
379
|
+
"data-slot": "data-table-toolbar-left",
|
|
380
|
+
"data-tracking-el": a,
|
|
381
|
+
"data-tracking-label": l,
|
|
382
|
+
children: o
|
|
370
383
|
}
|
|
371
384
|
);
|
|
372
385
|
}
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
386
|
+
ze.displayName = "DataTableToolbarLeft";
|
|
387
|
+
function Ie({
|
|
388
|
+
dataHook: t,
|
|
389
|
+
trackingEl: a,
|
|
390
|
+
trackingLabel: l,
|
|
391
|
+
className: n,
|
|
392
|
+
children: o
|
|
379
393
|
}) {
|
|
380
|
-
return /* @__PURE__ */
|
|
394
|
+
return /* @__PURE__ */ e(
|
|
381
395
|
"div",
|
|
382
396
|
{
|
|
383
|
-
className:
|
|
384
|
-
"data-hook":
|
|
385
|
-
"data-slot": "data-table-toolbar-
|
|
386
|
-
"data-tracking-el":
|
|
387
|
-
"data-tracking-label":
|
|
388
|
-
children:
|
|
397
|
+
className: f("flex items-center gap-2", n),
|
|
398
|
+
"data-hook": t,
|
|
399
|
+
"data-slot": "data-table-toolbar-right",
|
|
400
|
+
"data-tracking-el": a,
|
|
401
|
+
"data-tracking-label": l,
|
|
402
|
+
children: o
|
|
389
403
|
}
|
|
390
404
|
);
|
|
391
405
|
}
|
|
392
|
-
|
|
393
|
-
function
|
|
394
|
-
dataHook:
|
|
395
|
-
trackingEl:
|
|
396
|
-
trackingLabel:
|
|
397
|
-
className:
|
|
398
|
-
children:
|
|
406
|
+
Ie.displayName = "DataTableToolbarRight";
|
|
407
|
+
function $e({
|
|
408
|
+
dataHook: t,
|
|
409
|
+
trackingEl: a,
|
|
410
|
+
trackingLabel: l,
|
|
411
|
+
className: n,
|
|
412
|
+
children: o
|
|
399
413
|
}) {
|
|
400
|
-
return /* @__PURE__ */
|
|
414
|
+
return /* @__PURE__ */ e(
|
|
401
415
|
"div",
|
|
402
416
|
{
|
|
403
|
-
className:
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
"data-
|
|
408
|
-
|
|
417
|
+
className: f(
|
|
418
|
+
"flex flex-wrap items-center justify-between gap-2 py-4",
|
|
419
|
+
n
|
|
420
|
+
),
|
|
421
|
+
"data-hook": t,
|
|
422
|
+
"data-slot": "data-table-toolbar",
|
|
423
|
+
"data-tracking-el": a,
|
|
424
|
+
"data-tracking-label": l,
|
|
425
|
+
children: o
|
|
409
426
|
}
|
|
410
427
|
);
|
|
411
428
|
}
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
dataHook: l,
|
|
419
|
-
trackingEl: o,
|
|
420
|
-
trackingLabel: i,
|
|
421
|
-
ariaLabel: s = "Search table",
|
|
422
|
-
placeholder: g = "Search...",
|
|
423
|
-
column: c,
|
|
424
|
-
width: d,
|
|
425
|
-
className: h
|
|
429
|
+
$e.displayName = "DataTableToolbar";
|
|
430
|
+
function Fe({
|
|
431
|
+
table: t,
|
|
432
|
+
ariaLabel: a = "Search table",
|
|
433
|
+
placeholder: l = "Search...",
|
|
434
|
+
...n
|
|
426
435
|
}) {
|
|
427
|
-
const
|
|
428
|
-
|
|
436
|
+
const o = t.getState().globalFilter ?? "", r = (i) => {
|
|
437
|
+
t.setGlobalFilter(i);
|
|
429
438
|
};
|
|
430
|
-
return /* @__PURE__ */
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
trackingLabel: i,
|
|
444
|
-
type: "text",
|
|
445
|
-
value: p,
|
|
446
|
-
onChange: (u) => S(u.target.value)
|
|
447
|
-
}
|
|
448
|
-
),
|
|
449
|
-
/* @__PURE__ */ a(st, { className: "pr-3", children: /* @__PURE__ */ a(lt, {}) })
|
|
450
|
-
] })
|
|
451
|
-
}
|
|
452
|
-
);
|
|
439
|
+
return /* @__PURE__ */ S(he, { ...n, children: [
|
|
440
|
+
/* @__PURE__ */ e(
|
|
441
|
+
fe,
|
|
442
|
+
{
|
|
443
|
+
"aria-label": a,
|
|
444
|
+
placeholder: l,
|
|
445
|
+
type: "text",
|
|
446
|
+
value: o,
|
|
447
|
+
onChange: (i) => r(i.target.value)
|
|
448
|
+
}
|
|
449
|
+
),
|
|
450
|
+
/* @__PURE__ */ e(be, { className: "pr-3", children: /* @__PURE__ */ e(ge, {}) })
|
|
451
|
+
] });
|
|
453
452
|
}
|
|
454
|
-
|
|
455
|
-
function
|
|
456
|
-
table:
|
|
457
|
-
dataHook:
|
|
458
|
-
trackingEl:
|
|
459
|
-
trackingLabel:
|
|
460
|
-
className:
|
|
461
|
-
ariaLabel:
|
|
453
|
+
Fe.displayName = "DataTableSearch";
|
|
454
|
+
function Me({
|
|
455
|
+
table: t,
|
|
456
|
+
dataHook: a,
|
|
457
|
+
trackingEl: l,
|
|
458
|
+
trackingLabel: n,
|
|
459
|
+
className: o,
|
|
460
|
+
ariaLabel: r = "Table pagination"
|
|
462
461
|
}) {
|
|
463
|
-
const c =
|
|
464
|
-
page:
|
|
465
|
-
totalPages:
|
|
462
|
+
const { pageIndex: i, pageSize: c } = t.getState().pagination, d = t.getRowCount(), h = t.getPageCount(), g = t.getCanPreviousPage(), C = t.getCanNextPage(), u = i + 1, s = d === 0 ? 0 : i * c + 1, w = Math.min(u * c, d), b = Se({
|
|
463
|
+
page: u,
|
|
464
|
+
totalPages: h,
|
|
466
465
|
siblingCount: 1,
|
|
467
466
|
boundaryCount: 1
|
|
468
467
|
});
|
|
469
|
-
return /* @__PURE__ */
|
|
468
|
+
return /* @__PURE__ */ S(
|
|
470
469
|
"div",
|
|
471
470
|
{
|
|
472
|
-
className:
|
|
473
|
-
"data-hook":
|
|
471
|
+
className: f("flex items-center justify-end gap-4", o),
|
|
472
|
+
"data-hook": a,
|
|
474
473
|
"data-slot": "data-table-pagination",
|
|
475
|
-
"data-tracking-el":
|
|
476
|
-
"data-tracking-label":
|
|
474
|
+
"data-tracking-el": l,
|
|
475
|
+
"data-tracking-label": n,
|
|
477
476
|
children: [
|
|
478
|
-
/* @__PURE__ */
|
|
479
|
-
/* @__PURE__ */
|
|
480
|
-
|
|
477
|
+
/* @__PURE__ */ e("span", { className: "text-muted-foreground text-sm", children: d === 0 ? "0 of 0" : `${s}-${w} of ${d}` }),
|
|
478
|
+
/* @__PURE__ */ e(
|
|
479
|
+
Ce,
|
|
481
480
|
{
|
|
482
|
-
ariaLabel:
|
|
481
|
+
ariaLabel: r,
|
|
483
482
|
className: "mx-0 w-auto justify-end",
|
|
484
|
-
dataHook: `${
|
|
485
|
-
children: /* @__PURE__ */
|
|
486
|
-
|
|
483
|
+
dataHook: `${a}-nav`,
|
|
484
|
+
children: /* @__PURE__ */ e(we, { children: b.map((m, v) => m === "previous" ? /* @__PURE__ */ e($, { children: /* @__PURE__ */ e(
|
|
485
|
+
xe,
|
|
487
486
|
{
|
|
488
|
-
disabled: !
|
|
489
|
-
onClick: () =>
|
|
487
|
+
disabled: !g,
|
|
488
|
+
onClick: () => t.previousPage()
|
|
490
489
|
}
|
|
491
|
-
) }, "previous") :
|
|
492
|
-
|
|
490
|
+
) }, "previous") : m === "next" ? /* @__PURE__ */ e($, { children: /* @__PURE__ */ e(
|
|
491
|
+
ke,
|
|
493
492
|
{
|
|
494
|
-
disabled: !
|
|
495
|
-
onClick: () =>
|
|
493
|
+
disabled: !C,
|
|
494
|
+
onClick: () => t.nextPage()
|
|
496
495
|
}
|
|
497
|
-
) }, "next") :
|
|
498
|
-
|
|
496
|
+
) }, "next") : m === "ellipsis" ? /* @__PURE__ */ e($, { children: /* @__PURE__ */ e(ve, {}) }, `ellipsis-${v}`) : /* @__PURE__ */ e($, { children: /* @__PURE__ */ e(
|
|
497
|
+
Re,
|
|
499
498
|
{
|
|
500
|
-
isActive:
|
|
501
|
-
page:
|
|
502
|
-
onClick: () =>
|
|
499
|
+
isActive: m === u,
|
|
500
|
+
page: m,
|
|
501
|
+
onClick: () => t.setPageIndex(m - 1)
|
|
503
502
|
}
|
|
504
|
-
) },
|
|
503
|
+
) }, m)) })
|
|
505
504
|
}
|
|
506
505
|
)
|
|
507
506
|
]
|
|
508
507
|
}
|
|
509
508
|
);
|
|
510
509
|
}
|
|
511
|
-
|
|
512
|
-
function
|
|
513
|
-
table:
|
|
514
|
-
dataHook:
|
|
515
|
-
trackingEl:
|
|
516
|
-
trackingLabel:
|
|
510
|
+
Me.displayName = "DataTablePagination";
|
|
511
|
+
function Ae({
|
|
512
|
+
table: t,
|
|
513
|
+
dataHook: a,
|
|
514
|
+
trackingEl: l,
|
|
515
|
+
trackingLabel: n
|
|
517
516
|
}) {
|
|
518
|
-
return /* @__PURE__ */
|
|
519
|
-
|
|
517
|
+
return /* @__PURE__ */ e(
|
|
518
|
+
H,
|
|
520
519
|
{
|
|
521
520
|
"aria-label": "Select all",
|
|
522
|
-
checked:
|
|
523
|
-
dataHook:
|
|
524
|
-
trackingEl:
|
|
525
|
-
trackingLabel:
|
|
526
|
-
onCheckedChange: (
|
|
521
|
+
checked: t.getIsAllPageRowsSelected() || t.getIsSomePageRowsSelected() && "indeterminate",
|
|
522
|
+
dataHook: a || "select-all-checkbox",
|
|
523
|
+
trackingEl: l,
|
|
524
|
+
trackingLabel: n,
|
|
525
|
+
onCheckedChange: (o) => t.toggleAllPageRowsSelected(!!o)
|
|
527
526
|
}
|
|
528
527
|
);
|
|
529
528
|
}
|
|
530
|
-
|
|
531
|
-
function
|
|
532
|
-
row:
|
|
533
|
-
dataHook:
|
|
534
|
-
trackingEl:
|
|
535
|
-
trackingLabel:
|
|
529
|
+
Ae.displayName = "DataTableSelectAllCheckbox";
|
|
530
|
+
function Ee({
|
|
531
|
+
row: t,
|
|
532
|
+
dataHook: a,
|
|
533
|
+
trackingEl: l,
|
|
534
|
+
trackingLabel: n
|
|
536
535
|
}) {
|
|
537
|
-
return /* @__PURE__ */
|
|
538
|
-
|
|
536
|
+
return /* @__PURE__ */ e(
|
|
537
|
+
H,
|
|
539
538
|
{
|
|
540
539
|
"aria-label": "Select row",
|
|
541
|
-
checked:
|
|
542
|
-
dataHook:
|
|
543
|
-
disabled: !
|
|
544
|
-
trackingEl:
|
|
545
|
-
trackingLabel:
|
|
546
|
-
onCheckedChange: (
|
|
540
|
+
checked: t.getIsSelected(),
|
|
541
|
+
dataHook: a || `select-row-${t.id}`,
|
|
542
|
+
disabled: !t.getCanSelect(),
|
|
543
|
+
trackingEl: l,
|
|
544
|
+
trackingLabel: n,
|
|
545
|
+
onCheckedChange: (o) => t.toggleSelected(!!o)
|
|
547
546
|
}
|
|
548
547
|
);
|
|
549
548
|
}
|
|
550
|
-
|
|
549
|
+
Ee.displayName = "DataTableSelectRowCheckbox";
|
|
551
550
|
export {
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
551
|
+
ye as DataTable,
|
|
552
|
+
De as DataTableColumnHeader,
|
|
553
|
+
Me as DataTablePagination,
|
|
554
|
+
Ne as DataTableRowActions,
|
|
555
|
+
Fe as DataTableSearch,
|
|
556
|
+
Ae as DataTableSelectAllCheckbox,
|
|
557
|
+
Ee as DataTableSelectRowCheckbox,
|
|
558
|
+
$e as DataTableToolbar,
|
|
559
|
+
ze as DataTableToolbarLeft,
|
|
560
|
+
Ie as DataTableToolbarRight,
|
|
561
|
+
Pe as VirtualizedDataTable,
|
|
562
|
+
Ye as createColumnHelper,
|
|
563
|
+
Ze as flexRender,
|
|
564
|
+
Qe as useDataTable
|
|
562
565
|
};
|