@noxickon/onyx 6.5.0 → 6.7.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/dist/components/DataTable/DataTable.d.ts +1 -1
- package/dist/components/DataTable/DataTable.js +667 -529
- package/dist/components/DataTable/DataTable.styles.d.ts +27 -0
- package/dist/components/DataTable/DataTable.styles.js +8 -1
- package/dist/components/DataTable/DataTable.types.d.ts +3 -1
- package/dist/components/ScrollArea/ScrollArea2.js +1 -1
- package/dist/components/Table/Table.d.ts +1 -1
- package/dist/components/Table/Table.js +69 -63
- package/dist/components/Table/Table.types.d.ts +7 -1
- package/dist/connect/executors/connectExecutor.d.ts +3 -0
- package/dist/connect/executors/connectExecutor.js +21 -0
- package/dist/connect/executors/connectExecutor.types.d.ts +8 -0
- package/dist/connect/executors/errorDetails.d.ts +9 -0
- package/dist/connect/executors/errorDetails.js +21 -0
- package/dist/connect/index.d.ts +4 -0
- package/dist/connect/schemas/error_details_pb.d.ts +62 -0
- package/dist/connect/schemas/error_details_pb.js +5 -0
- package/dist/connect.js +3 -0
- package/dist/hooks.js +3 -3
- package/dist/index.js +24 -24
- package/package.json +15 -1
|
@@ -4,96 +4,184 @@ import { OxDropdown as n } from "../Dropdown/index.js";
|
|
|
4
4
|
import { OxCheckbox as r } from "../Checkbox/Checkbox.js";
|
|
5
5
|
import { OxPagination as i } from "../Pagination/index.js";
|
|
6
6
|
import { OxPopover as a } from "../Popover/index.js";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
7
|
+
import { OxScrollArea as o } from "../ScrollArea/ScrollArea2.js";
|
|
8
|
+
import { OxSkeleton as s } from "../Skeleton/Skeleton2.js";
|
|
9
|
+
import { useControllableState as c } from "../../internal/hooks/useControllableState/useControllableState.js";
|
|
10
|
+
import { OxTable as l } from "../Table/index.js";
|
|
11
|
+
import { useOxPagination as u } from "../../hooks/usePagination/usePagination.js";
|
|
12
|
+
import { useOxVirtualizer as d } from "../../hooks/useVirtualizer/useVirtualizer.js";
|
|
13
|
+
import { dataTableVariants as f } from "./DataTable.styles.js";
|
|
14
|
+
import { orderColumnIds as p, reorderColumns as m } from "./DataTable.utils.js";
|
|
15
|
+
import { c as h } from "react/compiler-runtime";
|
|
16
|
+
import { ArrowDown as g, ArrowUp as _, ArrowUpDown as v, ChevronLeft as y, ChevronRight as b, EllipsisVertical as x, EyeOff as S, Funnel as C, GripVertical as w, Lock as T, Settings2 as E, Snowflake as D } from "lucide-react";
|
|
17
|
+
import { Children as O, Fragment as k, isValidElement as A, useEffect as j, useId as M, useRef as N, useState as P } from "react";
|
|
18
|
+
import { Fragment as F, jsx as I, jsxs as L } from "react/jsx-runtime";
|
|
19
|
+
import { DndContext as R, KeyboardSensor as z, PointerSensor as B, closestCenter as V, useSensor as H, useSensors as U } from "@dnd-kit/core";
|
|
20
|
+
import { SortableContext as W, sortableKeyboardCoordinates as G, useSortable as K, verticalListSortingStrategy as ee } from "@dnd-kit/sortable";
|
|
21
|
+
import { CSS as q } from "@dnd-kit/utilities";
|
|
22
|
+
import { pick as te } from "es-toolkit";
|
|
21
23
|
//#region src/components/DataTable/DataTable.tsx
|
|
22
|
-
var
|
|
24
|
+
var ne = "__ox-expand", re = "__ox-select", ie = [
|
|
23
25
|
"w-3/5",
|
|
24
26
|
"w-2/5",
|
|
25
27
|
"w-4/5"
|
|
26
|
-
],
|
|
28
|
+
], ae = 43, J = 33, oe = ae * 2, se = J * 2, Y = 1, ce = (e) => e + Y + 1;
|
|
29
|
+
function le(e, t, n, r) {
|
|
30
|
+
let i = [];
|
|
31
|
+
for (let [a, o] of e.entries()) i.push({
|
|
32
|
+
dataIndex: a,
|
|
33
|
+
kind: "row",
|
|
34
|
+
row: o
|
|
35
|
+
}), n(o) && r.has(t(o)) && i.push({
|
|
36
|
+
dataIndex: a,
|
|
37
|
+
kind: "detail",
|
|
38
|
+
row: o
|
|
39
|
+
});
|
|
40
|
+
return i;
|
|
41
|
+
}
|
|
42
|
+
function ue(e, { defaultDetailHeight: t, defaultRowHeight: n, estimateSize: r }) {
|
|
43
|
+
return e.kind === "detail" ? t : r?.(e.dataIndex) ?? n;
|
|
44
|
+
}
|
|
45
|
+
var de = "__ox-detached";
|
|
46
|
+
function fe(e, t) {
|
|
47
|
+
if (e == null) return de;
|
|
48
|
+
let n = t(e.row);
|
|
49
|
+
return e.kind === "detail" ? `${n}__detail` : n;
|
|
50
|
+
}
|
|
51
|
+
function pe(e, t, n) {
|
|
52
|
+
return t != null && (n?.(e) ?? !0);
|
|
53
|
+
}
|
|
54
|
+
var me = (e) => e === "compact" ? J : ae, he = (e) => e === "compact" ? se : oe, { Provider: ge, useRequiredContext: _e } = e("OxDataTable"), X = (...e) => e.filter(Boolean).join(" ") || void 0, ve = (e) => {
|
|
27
55
|
if (typeof e == "number") return e;
|
|
28
56
|
if (typeof e == "string" && e.endsWith("px")) return Number.parseFloat(e);
|
|
29
|
-
},
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
57
|
+
}, ye = (e) => e == null ? null : typeof e == "string" || typeof e == "number" ? e : typeof e == "boolean" ? e ? "Yes" : "No" : null, be = (e) => A(e) && e.type === Ue, xe = ({ headHeight: e, maxHeight: t, stickyHeader: n }) => {
|
|
58
|
+
if (!(t == null && !n)) return {
|
|
59
|
+
...t != null && { "--ox-data-table-max-h": typeof t == "number" ? `${t}px` : t },
|
|
60
|
+
...n && { "--ox-data-table-head-h": `${e}px` }
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
function Se(e) {
|
|
64
|
+
let t = h(3), [n, r] = P(0), i, a;
|
|
65
|
+
return t[0] === e ? (i = t[1], a = t[2]) : (i = () => {
|
|
66
|
+
let t = e.current;
|
|
67
|
+
if (t == null || typeof ResizeObserver > "u") return;
|
|
68
|
+
let n = () => {
|
|
69
|
+
r(t.offsetHeight);
|
|
70
|
+
};
|
|
71
|
+
n();
|
|
72
|
+
let i = new ResizeObserver(n);
|
|
73
|
+
return i.observe(t), () => i.disconnect();
|
|
74
|
+
}, a = [e], t[0] = e, t[1] = i, t[2] = a), j(i, a), n;
|
|
75
|
+
}
|
|
76
|
+
function Ce(e, t) {
|
|
77
|
+
let n = h(6), { enabled: r, onEndReached: i, threshold: a } = t, o = N(!1), s, c;
|
|
78
|
+
n[0] !== r || n[1] !== i || n[2] !== e || n[3] !== a ? (s = () => {
|
|
79
|
+
let t = e.current;
|
|
80
|
+
if (!r || i == null || t == null) return;
|
|
81
|
+
let n = () => {
|
|
82
|
+
if (t.scrollHeight - t.scrollTop - t.clientHeight > a) {
|
|
83
|
+
o.current = !1;
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
86
|
+
o.current || (o.current = !0, i());
|
|
87
|
+
};
|
|
88
|
+
return t.addEventListener("scroll", n, { passive: !0 }), () => t.removeEventListener("scroll", n);
|
|
89
|
+
}, c = [
|
|
90
|
+
e,
|
|
91
|
+
r,
|
|
92
|
+
i,
|
|
93
|
+
a
|
|
94
|
+
], n[0] = r, n[1] = i, n[2] = e, n[3] = a, n[4] = s, n[5] = c) : (s = n[4], c = n[5]), j(s, c);
|
|
95
|
+
}
|
|
96
|
+
function we(e) {
|
|
97
|
+
let t = h(71), { caption: n, children: r, className: i, columnOrder: a, columnVisibility: u, columns: m, data: g, defaultColumnOrder: _, defaultColumnVisibility: v, defaultExpandedRows: y, defaultFrozenColumns: b, defaultPage: x, defaultSelectedRows: S, defaultSort: C, density: w, emptyState: T, endReachedThreshold: E, estimateSize: D, frozenColumns: k, getRowCanExpand: A, getRowId: j, hover: P, loading: R, maxHeight: z, onColumnOrderChange: B, onColumnVisibilityChange: V, onEndReached: H, onFrozenColumnsChange: U, onPageChange: W, onSelectionChange: G, onSortChange: K, overscan: ee, page: q, pageSize: te, paginationMode: ae, renderExpandedRow: J, rowCount: oe, selectable: se, selectedRows: Y, sort: de, stickyHeader: _e } = e, ye = C === void 0 ? null : C, be = w === void 0 ? "comfortable" : w, we = T === void 0 ? "No results." : T, Fe = E === void 0 ? 320 : E, Ie = P === void 0 ? !0 : P, Le = R === void 0 ? !1 : R, Re = te === void 0 ? 10 : te, ze = ae === void 0 ? "pages" : ae, Be = se === void 0 ? !1 : se, Ve = _e === void 0 ? !0 : _e, He = M(), Z = ze === "virtual", Q = f({
|
|
98
|
+
density: be,
|
|
99
|
+
stickyHeader: Ve
|
|
100
|
+
}), Ue = N(null), We = N(null), Ge = N(null), Ke = Se(Ge), qe = me(be), Je = he(be), Ye;
|
|
101
|
+
t[0] === y ? Ye = t[1] : (Ye = y ?? /* @__PURE__ */ new Set(), t[0] = y, t[1] = Ye);
|
|
102
|
+
let Xe;
|
|
103
|
+
t[2] === Ye ? Xe = t[3] : (Xe = {
|
|
104
|
+
prop: void 0,
|
|
105
|
+
defaultProp: Ye
|
|
106
|
+
}, t[2] = Ye, t[3] = Xe);
|
|
107
|
+
let [Ze, Qe] = c(Xe), $e;
|
|
108
|
+
t[4] !== A || t[5] !== J ? ($e = (e) => pe(e, J, A), t[4] = A, t[5] = J, t[6] = $e) : $e = t[6];
|
|
109
|
+
let et = $e, tt = Z ? le(g, j, et, Ze) : [], nt = d({
|
|
110
|
+
count: Z ? tt.length : 0,
|
|
111
|
+
estimateSize: (e) => ue(tt[e], {
|
|
112
|
+
defaultDetailHeight: Je,
|
|
113
|
+
defaultRowHeight: qe,
|
|
114
|
+
estimateSize: D
|
|
115
|
+
}),
|
|
116
|
+
getItemKey: (e) => fe(tt[e], j),
|
|
117
|
+
overscan: ee,
|
|
118
|
+
scrollRef: Z ? Ue : We
|
|
119
|
+
}), rt = new Map(m.map(Ne)), it = Me, at;
|
|
120
|
+
t[7] !== m || t[8] !== _ ? (at = _ ?? m.map(je), t[7] = m, t[8] = _, t[9] = at) : at = t[9];
|
|
121
|
+
let ot;
|
|
122
|
+
t[10] !== a || t[11] !== B || t[12] !== at ? (ot = {
|
|
35
123
|
prop: a,
|
|
36
|
-
defaultProp:
|
|
37
|
-
onChange: I
|
|
38
|
-
}, t[3] = a, t[4] = I, t[5] = Oe, t[6] = ke) : ke = t[6];
|
|
39
|
-
let [Ae, je] = s(ke), Me;
|
|
40
|
-
t[7] === g ? Me = t[8] : (Me = g ?? {}, t[7] = g, t[8] = Me);
|
|
41
|
-
let Ne;
|
|
42
|
-
t[9] !== l || t[10] !== L || t[11] !== Me ? (Ne = {
|
|
43
|
-
prop: l,
|
|
44
|
-
defaultProp: Me,
|
|
45
|
-
onChange: L
|
|
46
|
-
}, t[9] = l, t[10] = L, t[11] = Me, t[12] = Ne) : Ne = t[12];
|
|
47
|
-
let [Pe, Fe] = s(Ne), Ie;
|
|
48
|
-
t[13] === v ? Ie = t[14] : (Ie = v ?? [], t[13] = v, t[14] = Ie);
|
|
49
|
-
let Le;
|
|
50
|
-
t[15] !== T || t[16] !== z || t[17] !== Ie ? (Le = {
|
|
51
|
-
prop: T,
|
|
52
|
-
defaultProp: Ie,
|
|
53
|
-
onChange: z
|
|
54
|
-
}, t[15] = T, t[16] = z, t[17] = Ie, t[18] = Le) : Le = t[18];
|
|
55
|
-
let [Re, ze] = s(Le), Be;
|
|
56
|
-
t[19] !== Q || t[20] !== ie ? (Be = {
|
|
57
|
-
prop: ie,
|
|
58
|
-
defaultProp: Q
|
|
59
|
-
}, t[19] = Q, t[20] = ie, t[21] = Be) : Be = t[21];
|
|
60
|
-
let [Ve, He] = s(Be), Ue;
|
|
61
|
-
t[22] === b ? Ue = t[23] : (Ue = b ?? /* @__PURE__ */ new Set(), t[22] = b, t[23] = Ue);
|
|
62
|
-
let We;
|
|
63
|
-
t[24] !== V || t[25] !== Z || t[26] !== Ue ? (We = {
|
|
64
|
-
prop: Z,
|
|
65
|
-
defaultProp: Ue,
|
|
66
|
-
onChange: V
|
|
67
|
-
}, t[24] = V, t[25] = Z, t[26] = Ue, t[27] = We) : We = t[27];
|
|
68
|
-
let [Ge, Ke] = s(We), qe = y ?? 1, Je;
|
|
69
|
-
t[28] !== B || t[29] !== U || t[30] !== qe ? (Je = {
|
|
70
|
-
prop: U,
|
|
71
|
-
defaultProp: qe,
|
|
124
|
+
defaultProp: at,
|
|
72
125
|
onChange: B
|
|
73
|
-
}, t[
|
|
74
|
-
let [
|
|
75
|
-
|
|
76
|
-
|
|
126
|
+
}, t[10] = a, t[11] = B, t[12] = at, t[13] = ot) : ot = t[13];
|
|
127
|
+
let [st, ct] = c(ot), lt;
|
|
128
|
+
t[14] === v ? lt = t[15] : (lt = v ?? {}, t[14] = v, t[15] = lt);
|
|
129
|
+
let ut;
|
|
130
|
+
t[16] !== u || t[17] !== V || t[18] !== lt ? (ut = {
|
|
131
|
+
prop: u,
|
|
132
|
+
defaultProp: lt,
|
|
133
|
+
onChange: V
|
|
134
|
+
}, t[16] = u, t[17] = V, t[18] = lt, t[19] = ut) : ut = t[19];
|
|
135
|
+
let [dt, ft] = c(ut), pt;
|
|
136
|
+
t[20] === b ? pt = t[21] : (pt = b ?? [], t[20] = b, t[21] = pt);
|
|
137
|
+
let mt;
|
|
138
|
+
t[22] !== k || t[23] !== U || t[24] !== pt ? (mt = {
|
|
139
|
+
prop: k,
|
|
140
|
+
defaultProp: pt,
|
|
141
|
+
onChange: U
|
|
142
|
+
}, t[22] = k, t[23] = U, t[24] = pt, t[25] = mt) : mt = t[25];
|
|
143
|
+
let [ht, gt] = c(mt), _t;
|
|
144
|
+
t[26] !== ye || t[27] !== de ? (_t = {
|
|
145
|
+
prop: de,
|
|
146
|
+
defaultProp: ye
|
|
147
|
+
}, t[26] = ye, t[27] = de, t[28] = _t) : _t = t[28];
|
|
148
|
+
let [vt, yt] = c(_t), bt;
|
|
149
|
+
t[29] === S ? bt = t[30] : (bt = S ?? /* @__PURE__ */ new Set(), t[29] = S, t[30] = bt);
|
|
150
|
+
let xt;
|
|
151
|
+
t[31] !== G || t[32] !== Y || t[33] !== bt ? (xt = {
|
|
152
|
+
prop: Y,
|
|
153
|
+
defaultProp: bt,
|
|
154
|
+
onChange: G
|
|
155
|
+
}, t[31] = G, t[32] = Y, t[33] = bt, t[34] = xt) : xt = t[34];
|
|
156
|
+
let [St, Ct] = c(xt), wt = x ?? 1, Tt;
|
|
157
|
+
t[35] !== W || t[36] !== q || t[37] !== wt ? (Tt = {
|
|
158
|
+
prop: q,
|
|
159
|
+
defaultProp: wt,
|
|
160
|
+
onChange: W
|
|
161
|
+
}, t[35] = W, t[36] = q, t[37] = wt, t[38] = Tt) : Tt = t[38];
|
|
162
|
+
let [Et, Dt] = c(Tt), Ot = p(m, st), kt = (e) => dt[e] !== !1, At = Ot.map((e) => rt.get(e)).filter(Ae), jt = [...At.filter(ke), ...At.filter(Oe)], Mt = jt.filter((e) => e.system || kt(e.id)), Nt = new Set(ht), Pt = Mt.filter((e) => Nt.has(e.id)), Ft = [...Pt, ...Mt.filter((e) => !Nt.has(e.id))], It = Nt.size > 0, Lt = [];
|
|
163
|
+
J && Lt.push({
|
|
164
|
+
key: ne,
|
|
77
165
|
width: 44
|
|
78
|
-
}),
|
|
79
|
-
key:
|
|
166
|
+
}), Be && Lt.push({
|
|
167
|
+
key: re,
|
|
80
168
|
width: 48
|
|
81
169
|
});
|
|
82
|
-
for (let e of
|
|
170
|
+
for (let e of Pt) Lt.push({
|
|
83
171
|
key: e.id,
|
|
84
|
-
width:
|
|
172
|
+
width: ve(e.width) ?? ve(e.minWidth) ?? 200
|
|
85
173
|
});
|
|
86
|
-
let
|
|
87
|
-
for (let e of
|
|
88
|
-
let
|
|
174
|
+
let Rt = /* @__PURE__ */ new Map(), zt = 0;
|
|
175
|
+
for (let e of Lt) Rt.set(e.key, zt), zt += e.width;
|
|
176
|
+
let Bt = Lt.at(-1)?.key, Vt = (e, t, n) => {
|
|
89
177
|
let r = {};
|
|
90
178
|
t != null && (r.width = t), n != null && (r.minWidth = n);
|
|
91
179
|
let i, a, o;
|
|
92
|
-
if (
|
|
180
|
+
if (Rt.has(e)) if (It) i = "left", r.left = Rt.get(e), e !== Bt && (a = "shadow-none", o = "shadow-none");
|
|
93
181
|
else {
|
|
94
|
-
Object.assign(r, { "--ox-frozen-left": `${
|
|
95
|
-
let t = e ===
|
|
96
|
-
a = X(
|
|
182
|
+
Object.assign(r, { "--ox-frozen-left": `${Rt.get(e)}px` });
|
|
183
|
+
let t = e === Bt ? Q.frozenEdge() : void 0;
|
|
184
|
+
a = X(Q.frozenHead(), t), o = X(Q.frozenCell(), t);
|
|
97
185
|
}
|
|
98
186
|
return {
|
|
99
187
|
sticky: i,
|
|
@@ -101,517 +189,567 @@ function ie(e) {
|
|
|
101
189
|
cellClass: o,
|
|
102
190
|
style: Object.keys(r).length > 0 ? r : void 0
|
|
103
191
|
};
|
|
104
|
-
},
|
|
105
|
-
t[
|
|
192
|
+
}, Ht;
|
|
193
|
+
t[39] !== K || t[40] !== yt || t[41] !== vt ? (Ht = (e, t) => {
|
|
106
194
|
let n;
|
|
107
|
-
n = t === void 0 ? !
|
|
195
|
+
n = t === void 0 ? !vt || vt.columnId !== e ? {
|
|
108
196
|
columnId: e,
|
|
109
197
|
direction: "asc"
|
|
110
|
-
} :
|
|
198
|
+
} : vt.direction === "asc" ? {
|
|
111
199
|
columnId: e,
|
|
112
200
|
direction: "desc"
|
|
113
201
|
} : null : t === null ? null : {
|
|
114
202
|
columnId: e,
|
|
115
203
|
direction: t
|
|
116
|
-
},
|
|
117
|
-
}, t[
|
|
118
|
-
let
|
|
119
|
-
t[
|
|
120
|
-
|
|
121
|
-
}, t[
|
|
122
|
-
let
|
|
123
|
-
t[
|
|
124
|
-
|
|
204
|
+
}, yt(n), K?.(e, n?.direction ?? null);
|
|
205
|
+
}, t[39] = K, t[40] = yt, t[41] = vt, t[42] = Ht) : Ht = t[42];
|
|
206
|
+
let Ut = Ht, Wt;
|
|
207
|
+
t[43] === gt ? Wt = t[44] : (Wt = (e) => {
|
|
208
|
+
gt((t) => t.includes(e) ? t.filter((t) => t !== e) : [...t, e]);
|
|
209
|
+
}, t[43] = gt, t[44] = Wt);
|
|
210
|
+
let Gt = Wt, Kt;
|
|
211
|
+
t[45] === ft ? Kt = t[46] : (Kt = (e) => {
|
|
212
|
+
ft((t) => ({
|
|
125
213
|
...t,
|
|
126
214
|
[e]: !1
|
|
127
215
|
}));
|
|
128
|
-
}, t[
|
|
129
|
-
let
|
|
130
|
-
t[
|
|
131
|
-
let
|
|
132
|
-
t[
|
|
133
|
-
let
|
|
134
|
-
baseId:
|
|
135
|
-
clearSelection:
|
|
136
|
-
columnVisibility:
|
|
137
|
-
density:
|
|
138
|
-
frozenColumns:
|
|
139
|
-
hideColumn:
|
|
140
|
-
orderedColumns:
|
|
216
|
+
}, t[45] = ft, t[46] = Kt);
|
|
217
|
+
let qt = Kt, Jt;
|
|
218
|
+
t[47] === Ct ? Jt = t[48] : (Jt = () => Ct(/* @__PURE__ */ new Set()), t[47] = Ct, t[48] = Jt);
|
|
219
|
+
let Yt = Jt, Xt;
|
|
220
|
+
t[49] !== j || t[50] !== St ? (Xt = (e) => St.has(j(e)), t[49] = j, t[50] = St, t[51] = Xt) : Xt = t[51];
|
|
221
|
+
let Zt = g.filter(Xt), Qt = oe == null ? void 0 : Math.max(1, Math.ceil(oe / Re)), $t = {
|
|
222
|
+
baseId: He,
|
|
223
|
+
clearSelection: Yt,
|
|
224
|
+
columnVisibility: dt,
|
|
225
|
+
density: be,
|
|
226
|
+
frozenColumns: Nt,
|
|
227
|
+
hideColumn: qt,
|
|
228
|
+
orderedColumns: jt.map((e) => ({
|
|
141
229
|
header: e.header,
|
|
142
|
-
hideable:
|
|
230
|
+
hideable: it(e),
|
|
143
231
|
id: e.id,
|
|
144
232
|
locked: e.locked ?? !1,
|
|
145
233
|
system: e.system ?? !1
|
|
146
234
|
})),
|
|
147
|
-
page:
|
|
148
|
-
pageCount:
|
|
149
|
-
pageSize:
|
|
150
|
-
paginationMode:
|
|
151
|
-
requestSort:
|
|
152
|
-
rowCount:
|
|
153
|
-
selectable:
|
|
154
|
-
selectedCount:
|
|
155
|
-
selectedRows:
|
|
156
|
-
setColumnOrder:
|
|
157
|
-
setColumnVisibility:
|
|
158
|
-
setPage:
|
|
159
|
-
sort:
|
|
160
|
-
toggleFrozen:
|
|
161
|
-
},
|
|
162
|
-
t[
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
}, t[
|
|
167
|
-
let
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
style: r.style,
|
|
190
|
-
children: /* @__PURE__ */ N(o, { className: X("h-2.5", J[(t + n) % J.length]) })
|
|
191
|
-
}, e.id);
|
|
192
|
-
})
|
|
193
|
-
] }, `__ox-skeleton-${t}`)) : m.length === 0 ? /* @__PURE__ */ N(c.Row, { children: /* @__PURE__ */ N(c.Cell, {
|
|
194
|
-
className: $.empty(),
|
|
195
|
-
colSpan: kt || 1,
|
|
196
|
-
children: _e
|
|
197
|
-
}) }, "__ox-empty") : m.flatMap((e) => {
|
|
198
|
-
let t = O(e), n = K != null && (D?.(e) ?? !0), r = [/* @__PURE__ */ P(c.Row, {
|
|
199
|
-
rowId: t,
|
|
235
|
+
page: Et,
|
|
236
|
+
pageCount: Qt,
|
|
237
|
+
pageSize: Re,
|
|
238
|
+
paginationMode: ze,
|
|
239
|
+
requestSort: Ut,
|
|
240
|
+
rowCount: oe,
|
|
241
|
+
selectable: Be,
|
|
242
|
+
selectedCount: Zt.length,
|
|
243
|
+
selectedRows: Zt,
|
|
244
|
+
setColumnOrder: ct,
|
|
245
|
+
setColumnVisibility: ft,
|
|
246
|
+
setPage: Dt,
|
|
247
|
+
sort: vt,
|
|
248
|
+
toggleFrozen: Gt
|
|
249
|
+
}, en = ze === "infinite", tn;
|
|
250
|
+
t[52] !== Fe || t[53] !== H || t[54] !== en ? (tn = {
|
|
251
|
+
enabled: en,
|
|
252
|
+
onEndReached: H,
|
|
253
|
+
threshold: Fe
|
|
254
|
+
}, t[52] = Fe, t[53] = H, t[54] = en, t[55] = tn) : tn = t[55], Ce(Ue, tn);
|
|
255
|
+
let nn;
|
|
256
|
+
t[56] !== Ke || t[57] !== z || t[58] !== Ve ? (nn = xe({
|
|
257
|
+
headHeight: Ke,
|
|
258
|
+
maxHeight: z,
|
|
259
|
+
stickyHeader: Ve
|
|
260
|
+
}), t[56] = Ke, t[57] = z, t[58] = Ve, t[59] = nn) : nn = t[59];
|
|
261
|
+
let rn = nn, an, on;
|
|
262
|
+
if (t[60] !== r) {
|
|
263
|
+
let e = O.toArray(r);
|
|
264
|
+
on = e.filter(De), an = e.filter(Ee), t[60] = r, t[61] = an, t[62] = on;
|
|
265
|
+
} else an = t[61], on = t[62];
|
|
266
|
+
let sn = an, cn = Ft.length + +!!Be + +!!J, $ = Vt(ne), ln = Vt(re), un = It ? void 0 : Q.selectCol(), dn = Te, fn;
|
|
267
|
+
t[63] === nt.measureElement ? fn = t[64] : (fn = (e) => ({
|
|
268
|
+
"aria-rowindex": ce(e.index),
|
|
269
|
+
"data-index": e.index,
|
|
270
|
+
ref: nt.measureElement
|
|
271
|
+
}), t[63] = nt.measureElement, t[64] = fn);
|
|
272
|
+
let pn = fn, mn = (e, t) => {
|
|
273
|
+
let n = j(e), r = et(e);
|
|
274
|
+
return /* @__PURE__ */ L(l.Row, {
|
|
275
|
+
rowId: n,
|
|
276
|
+
...t,
|
|
200
277
|
children: [
|
|
201
|
-
|
|
278
|
+
J != null && /* @__PURE__ */ I(l.Cell, {
|
|
202
279
|
align: "center",
|
|
203
|
-
className: X("w-11",
|
|
204
|
-
sticky:
|
|
205
|
-
style:
|
|
206
|
-
children:
|
|
280
|
+
className: X("w-11", $.cellClass),
|
|
281
|
+
sticky: $.sticky,
|
|
282
|
+
style: $.style,
|
|
283
|
+
children: r && /* @__PURE__ */ I(l.ExpandTrigger, {})
|
|
207
284
|
}),
|
|
208
|
-
|
|
209
|
-
className: X(
|
|
210
|
-
sticky:
|
|
211
|
-
style:
|
|
285
|
+
Be && /* @__PURE__ */ I(l.SelectCell, {
|
|
286
|
+
className: X(un, ln.cellClass),
|
|
287
|
+
sticky: ln.sticky,
|
|
288
|
+
style: ln.style
|
|
212
289
|
}),
|
|
213
|
-
|
|
214
|
-
let n =
|
|
215
|
-
return /* @__PURE__ */
|
|
290
|
+
Ft.map((t) => {
|
|
291
|
+
let n = Vt(t.id, t.width, t.minWidth);
|
|
292
|
+
return /* @__PURE__ */ I(l.Cell, {
|
|
216
293
|
align: t.align,
|
|
217
294
|
className: n.cellClass,
|
|
218
295
|
sticky: n.sticky,
|
|
219
296
|
style: n.style,
|
|
220
|
-
children:
|
|
297
|
+
children: dn(t, e)
|
|
221
298
|
}, t.id);
|
|
222
299
|
})
|
|
223
300
|
]
|
|
224
|
-
},
|
|
225
|
-
|
|
301
|
+
}, n);
|
|
302
|
+
}, hn = (e) => {
|
|
303
|
+
let t = j(e), n = [mn(e)];
|
|
304
|
+
return et(e) && n.push(/* @__PURE__ */ I(l.ExpandedRow, {
|
|
226
305
|
rowId: t,
|
|
227
|
-
children:
|
|
228
|
-
}, `${t}__detail`)),
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
306
|
+
children: J(e)
|
|
307
|
+
}, `${t}__detail`)), n;
|
|
308
|
+
}, gn = (e) => {
|
|
309
|
+
let t = tt[e.index], n = pn(e);
|
|
310
|
+
return t.kind === "detail" ? /* @__PURE__ */ I(l.ExpandedRow, {
|
|
311
|
+
rowId: j(t.row),
|
|
312
|
+
...n,
|
|
313
|
+
children: J(t.row)
|
|
314
|
+
}, e.key) : mn(t.row, n);
|
|
315
|
+
}, _n = (e, t) => /* @__PURE__ */ I("tr", {
|
|
316
|
+
"aria-hidden": "true",
|
|
317
|
+
"data-ox-slot": "data-table-virtual-spacer",
|
|
318
|
+
children: /* @__PURE__ */ I("td", {
|
|
319
|
+
className: Q.virtualSpacerCell(),
|
|
320
|
+
colSpan: cn || 1,
|
|
321
|
+
style: { height: t }
|
|
322
|
+
})
|
|
323
|
+
}, `__ox-virtual-spacer-${e}`), vn = () => {
|
|
324
|
+
let { totalSize: e, virtualItems: t } = nt, n = t[0], r = t.at(-1), i = n == null ? 0 : n.start, a = r == null ? 0 : e - (r.start + r.size);
|
|
325
|
+
return /* @__PURE__ */ L(F, { children: [
|
|
326
|
+
i > 0 && _n("top", i),
|
|
327
|
+
t.map((e) => gn(e)),
|
|
328
|
+
a > 0 && _n("bottom", a)
|
|
329
|
+
] });
|
|
330
|
+
}, yn = () => Le && (ze === "pages" || Z) ? Array.from({ length: Math.min(Re, 8) }, (e, t) => /* @__PURE__ */ L(l.Row, { children: [
|
|
331
|
+
J != null && /* @__PURE__ */ I(l.Cell, {
|
|
332
|
+
className: X("w-11", $.cellClass),
|
|
333
|
+
sticky: $.sticky,
|
|
334
|
+
style: $.style
|
|
335
|
+
}),
|
|
336
|
+
Be && /* @__PURE__ */ I(l.Cell, {
|
|
337
|
+
className: X(un, ln.cellClass),
|
|
338
|
+
sticky: ln.sticky,
|
|
339
|
+
style: ln.style
|
|
340
|
+
}),
|
|
341
|
+
Ft.map((e, n) => {
|
|
342
|
+
let r = Vt(e.id, e.width, e.minWidth);
|
|
343
|
+
return /* @__PURE__ */ I(l.Cell, {
|
|
344
|
+
align: e.align,
|
|
345
|
+
className: r.cellClass,
|
|
346
|
+
sticky: r.sticky,
|
|
347
|
+
style: r.style,
|
|
348
|
+
children: /* @__PURE__ */ I(s, { className: X("h-2.5", ie[(t + n) % ie.length]) })
|
|
349
|
+
}, e.id);
|
|
350
|
+
})
|
|
351
|
+
] }, `__ox-skeleton-${t}`)) : g.length === 0 ? /* @__PURE__ */ I(l.Row, { children: /* @__PURE__ */ I(l.Cell, {
|
|
352
|
+
className: Q.empty(),
|
|
353
|
+
colSpan: cn || 1,
|
|
354
|
+
children: we
|
|
355
|
+
}) }, "__ox-empty") : Z ? vn() : g.flatMap((e) => hn(e)), bn;
|
|
356
|
+
t[65] !== g || t[66] !== j || t[67] !== Z ? (bn = Z ? g.map((e) => j(e)) : void 0, t[65] = g, t[66] = j, t[67] = Z, t[68] = bn) : bn = t[68];
|
|
357
|
+
let xn;
|
|
358
|
+
return t[69] === n ? xn = t[70] : (xn = n != null && /* @__PURE__ */ I(l.Caption, { children: n }), t[69] = n, t[70] = xn), /* @__PURE__ */ I(ge, {
|
|
359
|
+
value: $t,
|
|
360
|
+
children: /* @__PURE__ */ L("div", {
|
|
361
|
+
className: Q.root({ class: i }),
|
|
236
362
|
"data-ox-slot": "data-table",
|
|
237
363
|
children: [
|
|
238
|
-
|
|
239
|
-
/* @__PURE__ */
|
|
240
|
-
"aria-busy":
|
|
241
|
-
className:
|
|
364
|
+
on,
|
|
365
|
+
/* @__PURE__ */ L(o, {
|
|
366
|
+
"aria-busy": Le || void 0,
|
|
367
|
+
className: Q.scroll(),
|
|
242
368
|
"data-ox-slot": "data-table-scroll",
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
369
|
+
orientation: "both",
|
|
370
|
+
scrollbarClassName: Q.scrollScrollbar(),
|
|
371
|
+
style: rn,
|
|
372
|
+
viewportClassName: Q.scrollViewport(),
|
|
373
|
+
viewportRef: Ue,
|
|
374
|
+
children: [/* @__PURE__ */ L(l, {
|
|
375
|
+
"aria-rowcount": Z ? tt.length + 1 : void 0,
|
|
376
|
+
density: be,
|
|
377
|
+
expandedRows: Ze,
|
|
378
|
+
hover: Ie,
|
|
379
|
+
selectable: Be,
|
|
380
|
+
selectableRowIds: bn,
|
|
381
|
+
selectedRows: St,
|
|
382
|
+
stickyHeader: Ve,
|
|
252
383
|
unwrapped: !0,
|
|
253
|
-
|
|
384
|
+
onExpandedChange: Qe,
|
|
385
|
+
onSelectedChange: Ct,
|
|
254
386
|
children: [
|
|
255
|
-
|
|
256
|
-
/* @__PURE__ */
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
387
|
+
xn,
|
|
388
|
+
/* @__PURE__ */ I(l.Header, {
|
|
389
|
+
ref: Ge,
|
|
390
|
+
children: /* @__PURE__ */ L(l.Row, {
|
|
391
|
+
"aria-rowindex": Z ? 1 : void 0,
|
|
392
|
+
children: [
|
|
393
|
+
J != null && /* @__PURE__ */ I(l.Head, {
|
|
394
|
+
className: X("w-11", $.headClass),
|
|
395
|
+
sticky: $.sticky,
|
|
396
|
+
style: $.style
|
|
397
|
+
}),
|
|
398
|
+
Be && /* @__PURE__ */ I(l.SelectAllCell, {
|
|
399
|
+
className: X(un, ln.headClass),
|
|
400
|
+
sticky: ln.sticky,
|
|
401
|
+
style: ln.style
|
|
402
|
+
}),
|
|
403
|
+
Ft.map((e) => {
|
|
404
|
+
let t = Vt(e.id, e.width, e.minWidth);
|
|
405
|
+
return /* @__PURE__ */ I(Pe, {
|
|
406
|
+
id: e.id,
|
|
407
|
+
align: e.align,
|
|
408
|
+
className: t.headClass,
|
|
409
|
+
freezable: e.freezable,
|
|
410
|
+
header: e.header,
|
|
411
|
+
hideable: it(e),
|
|
412
|
+
locked: e.locked,
|
|
413
|
+
sortable: e.sortable,
|
|
414
|
+
sticky: t.sticky,
|
|
415
|
+
style: t.style
|
|
416
|
+
}, e.id);
|
|
417
|
+
})
|
|
418
|
+
]
|
|
281
419
|
})
|
|
282
|
-
|
|
283
|
-
/* @__PURE__ */
|
|
420
|
+
}),
|
|
421
|
+
/* @__PURE__ */ I(l.Body, { children: yn() })
|
|
284
422
|
]
|
|
285
|
-
}),
|
|
286
|
-
className:
|
|
423
|
+
}), ze === "infinite" && Le && /* @__PURE__ */ L("div", {
|
|
424
|
+
className: Q.footer(),
|
|
287
425
|
"data-ox-slot": "data-table-loading",
|
|
288
|
-
children: [/* @__PURE__ */
|
|
426
|
+
children: [/* @__PURE__ */ I("span", {
|
|
289
427
|
"aria-hidden": "true",
|
|
290
|
-
className:
|
|
428
|
+
className: Q.spinner()
|
|
291
429
|
}), "Loading more…"]
|
|
292
430
|
})]
|
|
293
431
|
}),
|
|
294
|
-
|
|
432
|
+
sn
|
|
295
433
|
]
|
|
296
434
|
})
|
|
297
435
|
});
|
|
298
436
|
}
|
|
299
|
-
function
|
|
300
|
-
return e.cell ? e.cell(t) :
|
|
437
|
+
function Te(e, t) {
|
|
438
|
+
return e.cell ? e.cell(t) : ye(typeof e.accessor == "function" ? e.accessor(t) : t[e.accessor]);
|
|
301
439
|
}
|
|
302
|
-
function
|
|
303
|
-
return
|
|
440
|
+
function Ee(e) {
|
|
441
|
+
return be(e);
|
|
304
442
|
}
|
|
305
|
-
function
|
|
306
|
-
return !
|
|
443
|
+
function De(e) {
|
|
444
|
+
return !be(e);
|
|
307
445
|
}
|
|
308
|
-
function
|
|
446
|
+
function Oe(e) {
|
|
309
447
|
return e.system;
|
|
310
448
|
}
|
|
311
|
-
function
|
|
449
|
+
function ke(e) {
|
|
312
450
|
return !e.system;
|
|
313
451
|
}
|
|
314
|
-
function
|
|
452
|
+
function Ae(e) {
|
|
315
453
|
return e != null;
|
|
316
454
|
}
|
|
317
|
-
function
|
|
455
|
+
function je(e) {
|
|
318
456
|
return e.id;
|
|
319
457
|
}
|
|
320
|
-
function
|
|
458
|
+
function Me(e) {
|
|
321
459
|
return e.system ? !1 : e.hideable ?? !e.locked;
|
|
322
460
|
}
|
|
323
|
-
function
|
|
461
|
+
function Ne(e) {
|
|
324
462
|
return [e.id, e];
|
|
325
463
|
}
|
|
326
|
-
function
|
|
327
|
-
let t =
|
|
328
|
-
t[0] !==
|
|
329
|
-
let A = k, j =
|
|
330
|
-
if (t[3] !== r || t[4] !== i || t[5] !==
|
|
331
|
-
let e =
|
|
332
|
-
density:
|
|
464
|
+
function Pe(e) {
|
|
465
|
+
let t = h(43), { align: r, className: i, freezable: a, header: o, hideable: s, id: c, locked: u, sortable: d, sticky: p, style: m } = e, { density: y, frozenColumns: b, hideColumn: C, requestSort: w, sort: E, toggleFrozen: O } = _e(), k;
|
|
466
|
+
t[0] !== b || t[1] !== c ? (k = b.has(c), t[0] = b, t[1] = c, t[2] = k) : k = t[2];
|
|
467
|
+
let A = k, j = E?.columnId === c, M, N, P, R, z, B, V, H, U;
|
|
468
|
+
if (t[3] !== r || t[4] !== i || t[5] !== y || t[6] !== a || t[7] !== o || t[8] !== C || t[9] !== s || t[10] !== c || t[11] !== j || t[12] !== A || t[13] !== u || t[14] !== w || t[15] !== E?.direction || t[16] !== d || t[17] !== p || t[18] !== m || t[19] !== O) {
|
|
469
|
+
let e = f({
|
|
470
|
+
density: y,
|
|
333
471
|
sortActive: j
|
|
334
|
-
}),
|
|
472
|
+
}), h = !!(d || a || s), b = /* @__PURE__ */ I(v, {
|
|
335
473
|
"aria-hidden": "true",
|
|
336
474
|
className: e.headSortIcon()
|
|
337
475
|
});
|
|
338
|
-
j && (
|
|
476
|
+
j && (b = E?.direction === "desc" ? /* @__PURE__ */ I(g, {
|
|
339
477
|
"aria-hidden": "true",
|
|
340
478
|
className: e.headSortIcon()
|
|
341
|
-
}) : /* @__PURE__ */
|
|
479
|
+
}) : /* @__PURE__ */ I(_, {
|
|
342
480
|
"aria-hidden": "true",
|
|
343
481
|
className: e.headSortIcon()
|
|
344
|
-
})),
|
|
482
|
+
})), M = l.Head, B = r, t[29] === i ? V = t[30] : (V = X("group/head", i), t[29] = i, t[30] = V), H = p, U = m, N = e.headCell(), P = u && /* @__PURE__ */ I(T, {
|
|
345
483
|
"aria-hidden": "true",
|
|
346
484
|
className: e.lockIcon()
|
|
347
|
-
}), R =
|
|
348
|
-
"aria-label": `Sort by ${typeof o == "string" ? o :
|
|
485
|
+
}), R = d ? /* @__PURE__ */ L("button", {
|
|
486
|
+
"aria-label": `Sort by ${typeof o == "string" ? o : c}`,
|
|
349
487
|
className: e.headSort(),
|
|
350
488
|
type: "button",
|
|
351
|
-
onClick: () =>
|
|
352
|
-
children: [o,
|
|
353
|
-
}) : /* @__PURE__ */
|
|
489
|
+
onClick: () => w(c),
|
|
490
|
+
children: [o, b]
|
|
491
|
+
}) : /* @__PURE__ */ I("span", { children: o }), z = h && /* @__PURE__ */ L(n, { children: [/* @__PURE__ */ I(n.Trigger, { children: /* @__PURE__ */ I("button", {
|
|
354
492
|
"aria-label": "Column options",
|
|
355
493
|
className: e.headMenuTrigger(),
|
|
356
494
|
type: "button",
|
|
357
|
-
children: /* @__PURE__ */
|
|
358
|
-
}) }), /* @__PURE__ */
|
|
495
|
+
children: /* @__PURE__ */ I(x, { className: "size-4" })
|
|
496
|
+
}) }), /* @__PURE__ */ L(n.Content, {
|
|
359
497
|
align: "end",
|
|
360
498
|
children: [
|
|
361
|
-
|
|
362
|
-
onClick: () =>
|
|
363
|
-
children: [/* @__PURE__ */
|
|
364
|
-
}), /* @__PURE__ */
|
|
365
|
-
onClick: () =>
|
|
366
|
-
children: [/* @__PURE__ */
|
|
499
|
+
d && /* @__PURE__ */ L(F, { children: [/* @__PURE__ */ L(n.Item, {
|
|
500
|
+
onClick: () => w(c, "asc"),
|
|
501
|
+
children: [/* @__PURE__ */ I(_, {}), "Sort ascending"]
|
|
502
|
+
}), /* @__PURE__ */ L(n.Item, {
|
|
503
|
+
onClick: () => w(c, "desc"),
|
|
504
|
+
children: [/* @__PURE__ */ I(g, {}), "Sort descending"]
|
|
367
505
|
})] }),
|
|
368
|
-
|
|
369
|
-
a && /* @__PURE__ */
|
|
370
|
-
onClick: () => O(
|
|
371
|
-
children: [/* @__PURE__ */
|
|
506
|
+
d && (a || s) && /* @__PURE__ */ I(n.Separator, {}),
|
|
507
|
+
a && /* @__PURE__ */ L(n.Item, {
|
|
508
|
+
onClick: () => O(c),
|
|
509
|
+
children: [/* @__PURE__ */ I(D, {}), A ? "Unfreeze column" : "Freeze column"]
|
|
372
510
|
}),
|
|
373
|
-
s && /* @__PURE__ */
|
|
374
|
-
onClick: () =>
|
|
375
|
-
children: [/* @__PURE__ */
|
|
511
|
+
s && /* @__PURE__ */ L(n.Item, {
|
|
512
|
+
onClick: () => C(c),
|
|
513
|
+
children: [/* @__PURE__ */ I(S, {}), "Hide column"]
|
|
376
514
|
})
|
|
377
515
|
]
|
|
378
|
-
})] }), t[3] = r, t[4] = i, t[5] =
|
|
379
|
-
} else
|
|
516
|
+
})] }), t[3] = r, t[4] = i, t[5] = y, t[6] = a, t[7] = o, t[8] = C, t[9] = s, t[10] = c, t[11] = j, t[12] = A, t[13] = u, t[14] = w, t[15] = E?.direction, t[16] = d, t[17] = p, t[18] = m, t[19] = O, t[20] = M, t[21] = N, t[22] = P, t[23] = R, t[24] = z, t[25] = B, t[26] = V, t[27] = H, t[28] = U;
|
|
517
|
+
} else M = t[20], N = t[21], P = t[22], R = t[23], z = t[24], B = t[25], V = t[26], H = t[27], U = t[28];
|
|
380
518
|
let W;
|
|
381
|
-
t[31] !==
|
|
382
|
-
className:
|
|
519
|
+
t[31] !== N || t[32] !== P || t[33] !== R || t[34] !== z ? (W = /* @__PURE__ */ L("span", {
|
|
520
|
+
className: N,
|
|
383
521
|
children: [
|
|
384
|
-
|
|
522
|
+
P,
|
|
385
523
|
R,
|
|
386
524
|
z
|
|
387
525
|
]
|
|
388
|
-
}), t[31] =
|
|
526
|
+
}), t[31] = N, t[32] = P, t[33] = R, t[34] = z, t[35] = W) : W = t[35];
|
|
389
527
|
let G;
|
|
390
|
-
return t[36] !==
|
|
528
|
+
return t[36] !== M || t[37] !== W || t[38] !== B || t[39] !== V || t[40] !== H || t[41] !== U ? (G = /* @__PURE__ */ I(M, {
|
|
391
529
|
align: B,
|
|
392
530
|
className: V,
|
|
393
531
|
sticky: H,
|
|
394
532
|
style: U,
|
|
395
533
|
children: W
|
|
396
|
-
}), t[36] =
|
|
534
|
+
}), t[36] = M, t[37] = W, t[38] = B, t[39] = V, t[40] = H, t[41] = U, t[42] = G) : G = t[42], G;
|
|
397
535
|
}
|
|
398
|
-
function
|
|
399
|
-
let t =
|
|
400
|
-
t[0] !== r || t[1] !== i ? (a =
|
|
536
|
+
function Fe(e) {
|
|
537
|
+
let t = h(6), { children: n, className: r } = e, { density: i } = _e(), a;
|
|
538
|
+
t[0] !== r || t[1] !== i ? (a = f({ density: i }).toolbar({ class: r }), t[0] = r, t[1] = i, t[2] = a) : a = t[2];
|
|
401
539
|
let o;
|
|
402
|
-
return t[3] !== n || t[4] !== a ? (o = /* @__PURE__ */
|
|
540
|
+
return t[3] !== n || t[4] !== a ? (o = /* @__PURE__ */ I("div", {
|
|
403
541
|
className: a,
|
|
404
542
|
"data-ox-slot": "toolbar",
|
|
405
543
|
children: n
|
|
406
544
|
}), t[3] = n, t[4] = a, t[5] = o) : o = t[5], o;
|
|
407
545
|
}
|
|
408
|
-
function
|
|
409
|
-
let t =
|
|
410
|
-
t[0] === r ? i = t[1] : (i =
|
|
546
|
+
function Ie(e) {
|
|
547
|
+
let t = h(5), { children: n, className: r } = e, i;
|
|
548
|
+
t[0] === r ? i = t[1] : (i = f({}).toolbarGroup({ class: r }), t[0] = r, t[1] = i);
|
|
411
549
|
let a;
|
|
412
|
-
return t[2] !== n || t[3] !== i ? (a = /* @__PURE__ */
|
|
550
|
+
return t[2] !== n || t[3] !== i ? (a = /* @__PURE__ */ I("div", {
|
|
413
551
|
className: i,
|
|
414
552
|
"data-ox-slot": "toolbar-group",
|
|
415
553
|
children: n
|
|
416
554
|
}), t[2] = n, t[3] = i, t[4] = a) : a = t[4], a;
|
|
417
555
|
}
|
|
418
|
-
function
|
|
419
|
-
let e =
|
|
420
|
-
return e[0] === Symbol.for("react.memo_cache_sentinel") ? (t = /* @__PURE__ */
|
|
556
|
+
function Le() {
|
|
557
|
+
let e = h(1), t;
|
|
558
|
+
return e[0] === Symbol.for("react.memo_cache_sentinel") ? (t = /* @__PURE__ */ I("span", {
|
|
421
559
|
"aria-hidden": "true",
|
|
422
|
-
className:
|
|
560
|
+
className: f({}).divider(),
|
|
423
561
|
"data-ox-slot": "toolbar-divider"
|
|
424
562
|
}), e[0] = t) : t = e[0], t;
|
|
425
563
|
}
|
|
426
|
-
function
|
|
427
|
-
let t =
|
|
428
|
-
t[0] === n ? c = t[1] : (c =
|
|
429
|
-
let l = c.length > 0,
|
|
430
|
-
t[2] !== n || t[3] !== o ? (
|
|
564
|
+
function Re(e) {
|
|
565
|
+
let t = h(18), { children: n, className: r, rowClassName: i, slot: a, trailing: o } = e, s = f({}), c;
|
|
566
|
+
t[0] === n ? c = t[1] : (c = O.toArray(n), t[0] = n, t[1] = c);
|
|
567
|
+
let l = c.length > 0, u;
|
|
568
|
+
t[2] !== n || t[3] !== o ? (u = {
|
|
431
569
|
children: n,
|
|
432
570
|
trailing: o
|
|
433
|
-
}, t[2] = n, t[3] = o, t[4] =
|
|
434
|
-
let [
|
|
435
|
-
l && (n !==
|
|
571
|
+
}, t[2] = n, t[3] = o, t[4] = u) : u = t[4];
|
|
572
|
+
let [d, p] = P(u);
|
|
573
|
+
l && (n !== d.children || o !== d.trailing) && p({
|
|
436
574
|
children: n,
|
|
437
575
|
trailing: o
|
|
438
576
|
});
|
|
439
|
-
let
|
|
440
|
-
t[5] !== i || t[6] !== y || t[7] !== b ? (x = /* @__PURE__ */
|
|
577
|
+
let m = s.collapse({ class: r }), g = l ? void 0 : !0, _ = !l, v = s.collapseClip(), y = l ? n : d.children, b = l ? o : d.trailing, x;
|
|
578
|
+
t[5] !== i || t[6] !== y || t[7] !== b ? (x = /* @__PURE__ */ L("div", {
|
|
441
579
|
className: i,
|
|
442
580
|
children: [y, b]
|
|
443
581
|
}), t[5] = i, t[6] = y, t[7] = b, t[8] = x) : x = t[8];
|
|
444
582
|
let S;
|
|
445
|
-
t[9] !== v || t[10] !== x ? (S = /* @__PURE__ */
|
|
583
|
+
t[9] !== v || t[10] !== x ? (S = /* @__PURE__ */ I("div", {
|
|
446
584
|
className: v,
|
|
447
585
|
children: x
|
|
448
586
|
}), t[9] = v, t[10] = x, t[11] = S) : S = t[11];
|
|
449
587
|
let C;
|
|
450
|
-
return t[12] !== a || t[13] !== S || t[14] !==
|
|
451
|
-
className:
|
|
588
|
+
return t[12] !== a || t[13] !== S || t[14] !== m || t[15] !== g || t[16] !== _ ? (C = /* @__PURE__ */ I("div", {
|
|
589
|
+
className: m,
|
|
452
590
|
"data-collapsed": g,
|
|
453
591
|
"data-ox-slot": a,
|
|
454
592
|
inert: _,
|
|
455
593
|
children: S
|
|
456
|
-
}), t[12] = a, t[13] = S, t[14] =
|
|
594
|
+
}), t[12] = a, t[13] = S, t[14] = m, t[15] = g, t[16] = _, t[17] = C) : C = t[17], C;
|
|
457
595
|
}
|
|
458
|
-
function
|
|
459
|
-
let n =
|
|
596
|
+
function ze(e) {
|
|
597
|
+
let n = h(20), { children: r, className: i, clearLabel: a, onClearAll: o } = e, s = a === void 0 ? "Clear all" : a, c, l, u, d;
|
|
460
598
|
if (n[0] !== r || n[1] !== i || n[2] !== s || n[3] !== o) {
|
|
461
|
-
let e =
|
|
462
|
-
n[8] === r ? a = n[9] : (a =
|
|
599
|
+
let e = f({}), a;
|
|
600
|
+
n[8] === r ? a = n[9] : (a = O.toArray(r), n[8] = r, n[9] = a);
|
|
463
601
|
let p = a.length, m;
|
|
464
|
-
n[10] !== p || n[11] !== s || n[12] !== o ? (m = o == null || p < 2 ? void 0 : /* @__PURE__ */
|
|
602
|
+
n[10] !== p || n[11] !== s || n[12] !== o ? (m = o == null || p < 2 ? void 0 : /* @__PURE__ */ I(t, {
|
|
465
603
|
variant: "ghost",
|
|
466
604
|
onClick: o,
|
|
467
605
|
children: s
|
|
468
|
-
}), n[10] = p, n[11] = s, n[12] = o, n[13] = m) : m = n[13], l = m, c =
|
|
469
|
-
} else c = n[4], l = n[5],
|
|
470
|
-
let
|
|
471
|
-
return n[14] !== c || n[15] !== r || n[16] !== l || n[17] !==
|
|
472
|
-
className:
|
|
473
|
-
rowClassName:
|
|
606
|
+
}), n[10] = p, n[11] = s, n[12] = o, n[13] = m) : m = n[13], l = m, c = Re, u = i, d = e.filterChipsRow(), n[0] = r, n[1] = i, n[2] = s, n[3] = o, n[4] = c, n[5] = l, n[6] = u, n[7] = d;
|
|
607
|
+
} else c = n[4], l = n[5], u = n[6], d = n[7];
|
|
608
|
+
let p;
|
|
609
|
+
return n[14] !== c || n[15] !== r || n[16] !== l || n[17] !== u || n[18] !== d ? (p = /* @__PURE__ */ I(c, {
|
|
610
|
+
className: u,
|
|
611
|
+
rowClassName: d,
|
|
474
612
|
slot: "filter-chips",
|
|
475
613
|
trailing: l,
|
|
476
614
|
children: r
|
|
477
|
-
}), n[14] = c, n[15] = r, n[16] = l, n[17] =
|
|
615
|
+
}), n[14] = c, n[15] = r, n[16] = l, n[17] = u, n[18] = d, n[19] = p) : p = n[19], p;
|
|
478
616
|
}
|
|
479
|
-
function
|
|
480
|
-
let n =
|
|
617
|
+
function Be(e) {
|
|
618
|
+
let n = h(30), { className: i, groups: o, trigger: s, triggerLabel: c } = e, l, u, d, p, m, g, _;
|
|
481
619
|
if (n[0] !== i || n[1] !== o || n[2] !== s || n[3] !== c) {
|
|
482
|
-
let e =
|
|
483
|
-
|
|
484
|
-
let
|
|
485
|
-
n[11] !== s || n[12] !== c ? (
|
|
620
|
+
let e = f({});
|
|
621
|
+
u = a;
|
|
622
|
+
let h;
|
|
623
|
+
n[11] !== s || n[12] !== c ? (h = s ?? /* @__PURE__ */ I(t, {
|
|
486
624
|
"aria-label": c ?? "Filter",
|
|
487
625
|
isIconOnly: !0,
|
|
488
626
|
variant: "ghost",
|
|
489
|
-
children: /* @__PURE__ */
|
|
490
|
-
}), n[11] = s, n[12] = c, n[13] =
|
|
491
|
-
n > 0 && /* @__PURE__ */
|
|
492
|
-
/* @__PURE__ */
|
|
627
|
+
children: /* @__PURE__ */ I(C, {})
|
|
628
|
+
}), n[11] = s, n[12] = c, n[13] = h) : h = n[13], n[14] === h ? _ = n[15] : (_ = /* @__PURE__ */ I(a.Trigger, { children: h }), n[14] = h, n[15] = _), l = a.Content, m = "end", n[16] === i ? g = n[17] : (g = X("w-56 p-1.5", i), n[16] = i, n[17] = g), d = "filter-menu", p = o.map((t, n) => /* @__PURE__ */ L(k, { children: [
|
|
629
|
+
n > 0 && /* @__PURE__ */ I("div", { className: e.configSeparator() }),
|
|
630
|
+
/* @__PURE__ */ I("div", {
|
|
493
631
|
className: e.configTitle(),
|
|
494
632
|
children: t.label
|
|
495
633
|
}),
|
|
496
|
-
t.options.map((n) => /* @__PURE__ */
|
|
634
|
+
t.options.map((n) => /* @__PURE__ */ L("label", {
|
|
497
635
|
className: e.filterMenuItem(),
|
|
498
|
-
children: [/* @__PURE__ */
|
|
636
|
+
children: [/* @__PURE__ */ I(r, {
|
|
499
637
|
checked: t.selected.has(n.value),
|
|
500
638
|
onCheckedChange: () => t.onToggle(n.value)
|
|
501
|
-
}), /* @__PURE__ */
|
|
639
|
+
}), /* @__PURE__ */ I("span", {
|
|
502
640
|
className: e.configLabel(),
|
|
503
641
|
children: n.label
|
|
504
642
|
})]
|
|
505
643
|
}, n.value))
|
|
506
|
-
] }, t.id ?? n)), n[0] = i, n[1] = o, n[2] = s, n[3] = c, n[4] = l, n[5] =
|
|
507
|
-
} else l = n[4],
|
|
644
|
+
] }, t.id ?? n)), n[0] = i, n[1] = o, n[2] = s, n[3] = c, n[4] = l, n[5] = u, n[6] = d, n[7] = p, n[8] = m, n[9] = g, n[10] = _;
|
|
645
|
+
} else l = n[4], u = n[5], d = n[6], p = n[7], m = n[8], g = n[9], _ = n[10];
|
|
508
646
|
let v;
|
|
509
|
-
n[18] !==
|
|
510
|
-
"data-ox-slot":
|
|
511
|
-
children:
|
|
512
|
-
}), n[18] =
|
|
647
|
+
n[18] !== d || n[19] !== p ? (v = /* @__PURE__ */ I("div", {
|
|
648
|
+
"data-ox-slot": d,
|
|
649
|
+
children: p
|
|
650
|
+
}), n[18] = d, n[19] = p, n[20] = v) : v = n[20];
|
|
513
651
|
let y;
|
|
514
|
-
n[21] !== l || n[22] !==
|
|
515
|
-
align:
|
|
652
|
+
n[21] !== l || n[22] !== m || n[23] !== g || n[24] !== v ? (y = /* @__PURE__ */ I(l, {
|
|
653
|
+
align: m,
|
|
516
654
|
className: g,
|
|
517
655
|
children: v
|
|
518
|
-
}), n[21] = l, n[22] =
|
|
656
|
+
}), n[21] = l, n[22] = m, n[23] = g, n[24] = v, n[25] = y) : y = n[25];
|
|
519
657
|
let b;
|
|
520
|
-
return n[26] !==
|
|
658
|
+
return n[26] !== u || n[27] !== _ || n[28] !== y ? (b = /* @__PURE__ */ L(u, { children: [_, y] }), n[26] = u, n[27] = _, n[28] = y, n[29] = b) : b = n[29], b;
|
|
521
659
|
}
|
|
522
|
-
function
|
|
523
|
-
let t =
|
|
524
|
-
if (t[0] !== n || t[1] !==
|
|
525
|
-
let e =
|
|
526
|
-
l = "true",
|
|
660
|
+
function Ve(e) {
|
|
661
|
+
let t = h(18), { className: n, rows: r, toolbar: i } = e, a = r === void 0 ? 6 : r, o = i === void 0 ? !0 : i, c, l, u, d, p;
|
|
662
|
+
if (t[0] !== n || t[1] !== o) {
|
|
663
|
+
let e = f({});
|
|
664
|
+
l = "true", u = e.skeleton({ class: n }), d = "data-table-skeleton", p = o && /* @__PURE__ */ L("div", {
|
|
527
665
|
className: e.skeletonToolbar(),
|
|
528
|
-
children: [/* @__PURE__ */
|
|
529
|
-
}), c = e.skeletonBody(), t[0] = n, t[1] =
|
|
530
|
-
} else c = t[2], l = t[3],
|
|
531
|
-
let
|
|
532
|
-
t[7] === a ?
|
|
666
|
+
children: [/* @__PURE__ */ I(s, { className: "h-8 w-72 rounded-control" }), /* @__PURE__ */ I(s, { className: "h-3.5 w-24 rounded-sm" })]
|
|
667
|
+
}), c = e.skeletonBody(), t[0] = n, t[1] = o, t[2] = c, t[3] = l, t[4] = u, t[5] = d, t[6] = p;
|
|
668
|
+
} else c = t[2], l = t[3], u = t[4], d = t[5], p = t[6];
|
|
669
|
+
let m;
|
|
670
|
+
t[7] === a ? m = t[8] : (m = Array.from({ length: a }, He), t[7] = a, t[8] = m);
|
|
533
671
|
let g;
|
|
534
|
-
t[9] !== c || t[10] !==
|
|
672
|
+
t[9] !== c || t[10] !== m ? (g = /* @__PURE__ */ I("div", {
|
|
535
673
|
className: c,
|
|
536
|
-
children:
|
|
537
|
-
}), t[9] = c, t[10] =
|
|
674
|
+
children: m
|
|
675
|
+
}), t[9] = c, t[10] = m, t[11] = g) : g = t[11];
|
|
538
676
|
let _;
|
|
539
|
-
return t[12] !== l || t[13] !==
|
|
677
|
+
return t[12] !== l || t[13] !== u || t[14] !== d || t[15] !== p || t[16] !== g ? (_ = /* @__PURE__ */ L("div", {
|
|
540
678
|
"aria-hidden": l,
|
|
541
|
-
className:
|
|
542
|
-
"data-ox-slot":
|
|
543
|
-
children: [
|
|
544
|
-
}), t[12] = l, t[13] =
|
|
679
|
+
className: u,
|
|
680
|
+
"data-ox-slot": d,
|
|
681
|
+
children: [p, g]
|
|
682
|
+
}), t[12] = l, t[13] = u, t[14] = d, t[15] = p, t[16] = g, t[17] = _) : _ = t[17], _;
|
|
545
683
|
}
|
|
546
|
-
function
|
|
547
|
-
return /* @__PURE__ */
|
|
684
|
+
function He(e, t) {
|
|
685
|
+
return /* @__PURE__ */ I(s, { className: "h-9.5 w-full rounded-sm" }, t);
|
|
548
686
|
}
|
|
549
|
-
function
|
|
550
|
-
let t =
|
|
687
|
+
function Z(e) {
|
|
688
|
+
let t = h(11), { children: n, count: r, fallback: i } = e, { clearSelection: a, selectedCount: o, selectedRows: s } = _e(), c = r ?? o;
|
|
551
689
|
if (c === 0) {
|
|
552
690
|
let e;
|
|
553
|
-
return t[0] === i ? e = t[1] : (e = i == null ? null : /* @__PURE__ */
|
|
691
|
+
return t[0] === i ? e = t[1] : (e = i == null ? null : /* @__PURE__ */ I(F, { children: i }), t[0] = i, t[1] = e), e;
|
|
554
692
|
}
|
|
555
693
|
let l;
|
|
556
|
-
t[2] === Symbol.for("react.memo_cache_sentinel") ? (l =
|
|
557
|
-
let
|
|
558
|
-
t[3] !== n || t[4] !== a || t[5] !== c || t[6] !==
|
|
694
|
+
t[2] === Symbol.for("react.memo_cache_sentinel") ? (l = f({}).selectionActions(), t[2] = l) : l = t[2];
|
|
695
|
+
let u = s, d;
|
|
696
|
+
t[3] !== n || t[4] !== a || t[5] !== c || t[6] !== u ? (d = n({
|
|
559
697
|
clearSelection: a,
|
|
560
698
|
selectedCount: c,
|
|
561
|
-
selectedRows:
|
|
562
|
-
}), t[3] = n, t[4] = a, t[5] = c, t[6] =
|
|
563
|
-
let
|
|
564
|
-
return t[8] !== l || t[9] !==
|
|
699
|
+
selectedRows: u
|
|
700
|
+
}), t[3] = n, t[4] = a, t[5] = c, t[6] = u, t[7] = d) : d = t[7];
|
|
701
|
+
let p;
|
|
702
|
+
return t[8] !== l || t[9] !== d ? (p = /* @__PURE__ */ I("div", {
|
|
565
703
|
className: l,
|
|
566
704
|
"data-ox-slot": "selection-actions",
|
|
567
|
-
children:
|
|
568
|
-
}), t[8] = l, t[9] =
|
|
705
|
+
children: d
|
|
706
|
+
}), t[8] = l, t[9] = d, t[10] = p) : p = t[10], p;
|
|
569
707
|
}
|
|
570
|
-
function
|
|
571
|
-
let n =
|
|
572
|
-
n[0] !==
|
|
708
|
+
function Q(e) {
|
|
709
|
+
let n = h(90), { className: r, layout: a, nextLabel: o, previousLabel: s, summary: c, variant: l } = e, d = a === void 0 ? "end" : a, p = o === void 0 ? "Next page" : o, m = s === void 0 ? "Previous page" : s, g = l === void 0 ? "simple" : l, { page: _, pageCount: v, pageSize: x, rowCount: S, setPage: C } = _e(), w = v ?? 1, T;
|
|
710
|
+
n[0] !== _ || n[1] !== w ? (T = {
|
|
573
711
|
total: w,
|
|
574
|
-
page:
|
|
575
|
-
}, n[0] =
|
|
576
|
-
let { currentPage: E, isFirst: D, isLast: O, nextPage: k, previousPage: A, range: j } =
|
|
577
|
-
if (n[3] !== r || n[4] !== E || n[5] !== D || n[6] !== O || n[7] !==
|
|
712
|
+
page: _
|
|
713
|
+
}, n[0] = _, n[1] = w, n[2] = T) : T = n[2];
|
|
714
|
+
let { currentPage: E, isFirst: D, isLast: O, nextPage: k, previousPage: A, range: j } = u(T), M = g === "numbered" && v != null, N = M && d === "split" ? "end" : d, P, R, z, B, V, H, U;
|
|
715
|
+
if (n[3] !== r || n[4] !== E || n[5] !== D || n[6] !== O || n[7] !== M || n[8] !== p || n[9] !== k || n[10] !== _ || n[11] !== v || n[12] !== x || n[13] !== m || n[14] !== A || n[15] !== j || n[16] !== N || n[17] !== S || n[18] !== C || n[19] !== c) {
|
|
578
716
|
B = Symbol.for("react.early_return_sentinel");
|
|
579
717
|
bb0: {
|
|
580
|
-
let e =
|
|
581
|
-
n[27] !== l || n[28] !== S || n[29] !== s || n[30] !== c ? (
|
|
718
|
+
let e = f({ paginationLayout: N }), a = _ > 1, o = v == null ? !0 : _ < v, s = S === 0 ? 0 : (_ - 1) * x + 1, l = S == null ? _ * x : Math.min(_ * x, S), u;
|
|
719
|
+
n[27] !== l || n[28] !== S || n[29] !== s || n[30] !== c ? (u = c ?? /* @__PURE__ */ L(F, { children: [/* @__PURE__ */ L("span", {
|
|
582
720
|
className: "font-medium text-fg",
|
|
583
721
|
children: [
|
|
584
722
|
s,
|
|
585
723
|
"–",
|
|
586
724
|
l
|
|
587
725
|
]
|
|
588
|
-
}), S == null ? null : ` of ${S}`] }), n[27] = l, n[28] = S, n[29] = s, n[30] = c, n[31] =
|
|
589
|
-
let
|
|
590
|
-
className: e.pagerSummary({ class:
|
|
591
|
-
children:
|
|
726
|
+
}), S == null ? null : ` of ${S}`] }), n[27] = l, n[28] = S, n[29] = s, n[30] = c, n[31] = u) : u = n[31];
|
|
727
|
+
let d = /* @__PURE__ */ I("span", {
|
|
728
|
+
className: e.pagerSummary({ class: N === "split" ? "justify-self-center" : "" }),
|
|
729
|
+
children: u
|
|
592
730
|
});
|
|
593
|
-
if (
|
|
594
|
-
if (
|
|
595
|
-
B = /* @__PURE__ */
|
|
731
|
+
if (M) {
|
|
732
|
+
if (v <= 1) {
|
|
733
|
+
B = /* @__PURE__ */ I("div", {
|
|
596
734
|
className: e.pager({ class: r }),
|
|
597
|
-
"data-layout":
|
|
735
|
+
"data-layout": N,
|
|
598
736
|
"data-ox-slot": "pagination",
|
|
599
|
-
children:
|
|
737
|
+
children: d
|
|
600
738
|
});
|
|
601
739
|
break bb0;
|
|
602
740
|
}
|
|
603
741
|
let t;
|
|
604
742
|
n[32] !== A || n[33] !== C ? (t = () => C(A), n[32] = A, n[33] = C, n[34] = t) : t = n[34];
|
|
605
743
|
let a;
|
|
606
|
-
n[35] !== D || n[36] !==
|
|
607
|
-
"aria-label":
|
|
744
|
+
n[35] !== D || n[36] !== m || n[37] !== t ? (a = /* @__PURE__ */ I(i.Previous, {
|
|
745
|
+
"aria-label": m,
|
|
608
746
|
disabled: D,
|
|
609
747
|
onClick: t
|
|
610
|
-
}), n[35] = D, n[36] =
|
|
748
|
+
}), n[35] = D, n[36] = m, n[37] = t, n[38] = a) : a = n[38];
|
|
611
749
|
let o;
|
|
612
750
|
if (n[39] !== E || n[40] !== j || n[41] !== C) {
|
|
613
751
|
let e;
|
|
614
|
-
n[43] !== E || n[44] !== C ? (e = (e, t) => e === "ellipsis" ? /* @__PURE__ */
|
|
752
|
+
n[43] !== E || n[44] !== C ? (e = (e, t) => e === "ellipsis" ? /* @__PURE__ */ I(i.Ellipsis, {}, `ellipsis-${String(t)}`) : /* @__PURE__ */ I(i.Item, {
|
|
615
753
|
current: e === E,
|
|
616
754
|
onClick: () => C(e),
|
|
617
755
|
children: e
|
|
@@ -620,275 +758,275 @@ function Ce(e) {
|
|
|
620
758
|
let s;
|
|
621
759
|
n[46] !== k || n[47] !== C ? (s = () => C(k), n[46] = k, n[47] = C, n[48] = s) : s = n[48];
|
|
622
760
|
let c;
|
|
623
|
-
n[49] !== O || n[50] !==
|
|
624
|
-
"aria-label":
|
|
761
|
+
n[49] !== O || n[50] !== p || n[51] !== s ? (c = /* @__PURE__ */ I(i.Next, {
|
|
762
|
+
"aria-label": p,
|
|
625
763
|
disabled: O,
|
|
626
764
|
onClick: s
|
|
627
|
-
}), n[49] = O, n[50] =
|
|
765
|
+
}), n[49] = O, n[50] = p, n[51] = s, n[52] = c) : c = n[52];
|
|
628
766
|
let l;
|
|
629
|
-
n[53] !==
|
|
630
|
-
total:
|
|
767
|
+
n[53] !== v || n[54] !== a || n[55] !== o || n[56] !== c ? (l = /* @__PURE__ */ L(i, {
|
|
768
|
+
total: v,
|
|
631
769
|
children: [
|
|
632
770
|
a,
|
|
633
771
|
o,
|
|
634
772
|
c
|
|
635
773
|
]
|
|
636
|
-
}), n[53] =
|
|
637
|
-
let u = l,
|
|
638
|
-
n[58] !== u || n[59] !==
|
|
774
|
+
}), n[53] = v, n[54] = a, n[55] = o, n[56] = c, n[57] = l) : l = n[57];
|
|
775
|
+
let u = l, f;
|
|
776
|
+
n[58] !== u || n[59] !== N || n[60] !== d ? (f = N === "center" ? /* @__PURE__ */ L(F, { children: [u, d] }) : /* @__PURE__ */ L(F, { children: [d, u] }), n[58] = u, n[59] = N, n[60] = d, n[61] = f) : f = n[61], B = /* @__PURE__ */ I("div", {
|
|
639
777
|
className: e.pager({ class: r }),
|
|
640
|
-
"data-layout":
|
|
778
|
+
"data-layout": N,
|
|
641
779
|
"data-ox-slot": "pagination",
|
|
642
|
-
children:
|
|
780
|
+
children: f
|
|
643
781
|
});
|
|
644
782
|
break bb0;
|
|
645
783
|
}
|
|
646
|
-
let
|
|
647
|
-
n[62] !==
|
|
784
|
+
let h = !a, g;
|
|
785
|
+
n[62] !== _ || n[63] !== C ? (g = () => C(_ - 1), n[62] = _, n[63] = C, n[64] = g) : g = n[64];
|
|
648
786
|
let w;
|
|
649
|
-
n[65] === Symbol.for("react.memo_cache_sentinel") ? (w = /* @__PURE__ */
|
|
787
|
+
n[65] === Symbol.for("react.memo_cache_sentinel") ? (w = /* @__PURE__ */ I(y, {}), n[65] = w) : w = n[65];
|
|
650
788
|
let T;
|
|
651
|
-
n[66] !==
|
|
652
|
-
"aria-label":
|
|
653
|
-
disabled:
|
|
789
|
+
n[66] !== m || n[67] !== h || n[68] !== g ? (T = /* @__PURE__ */ I(t, {
|
|
790
|
+
"aria-label": m,
|
|
791
|
+
disabled: h,
|
|
654
792
|
isIconOnly: !0,
|
|
655
793
|
variant: "ghost",
|
|
656
794
|
onClick: g,
|
|
657
795
|
children: w
|
|
658
|
-
}), n[66] =
|
|
796
|
+
}), n[66] = m, n[67] = h, n[68] = g, n[69] = T) : T = n[69];
|
|
659
797
|
let W = T, G = !o, K;
|
|
660
|
-
n[70] !==
|
|
798
|
+
n[70] !== _ || n[71] !== C ? (K = () => C(_ + 1), n[70] = _, n[71] = C, n[72] = K) : K = n[72];
|
|
661
799
|
let ee;
|
|
662
|
-
n[73] === Symbol.for("react.memo_cache_sentinel") ? (ee = /* @__PURE__ */
|
|
800
|
+
n[73] === Symbol.for("react.memo_cache_sentinel") ? (ee = /* @__PURE__ */ I(b, {}), n[73] = ee) : ee = n[73];
|
|
663
801
|
let q;
|
|
664
|
-
n[74] !==
|
|
665
|
-
"aria-label":
|
|
802
|
+
n[74] !== p || n[75] !== G || n[76] !== K ? (q = /* @__PURE__ */ I(t, {
|
|
803
|
+
"aria-label": p,
|
|
666
804
|
disabled: G,
|
|
667
805
|
isIconOnly: !0,
|
|
668
806
|
variant: "ghost",
|
|
669
807
|
onClick: K,
|
|
670
808
|
children: ee
|
|
671
|
-
}), n[74] =
|
|
672
|
-
let
|
|
673
|
-
V = e.pager({ class: r }), H =
|
|
809
|
+
}), n[74] = p, n[75] = G, n[76] = K, n[77] = q) : q = n[77];
|
|
810
|
+
let te = q;
|
|
811
|
+
V = e.pager({ class: r }), H = N, U = "pagination", P = N === "end" && /* @__PURE__ */ L(F, { children: [d, /* @__PURE__ */ L("span", {
|
|
674
812
|
className: e.pagerNav(),
|
|
675
|
-
children: [W,
|
|
676
|
-
})] }), n[78] !==
|
|
813
|
+
children: [W, te]
|
|
814
|
+
})] }), n[78] !== te || n[79] !== W || n[80] !== N || n[81] !== d ? (R = N === "center" && /* @__PURE__ */ L(F, { children: [
|
|
677
815
|
W,
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
] }), n[78] =
|
|
681
|
-
/* @__PURE__ */
|
|
816
|
+
d,
|
|
817
|
+
te
|
|
818
|
+
] }), n[78] = te, n[79] = W, n[80] = N, n[81] = d, n[82] = R) : R = n[82], z = N === "split" && /* @__PURE__ */ L(F, { children: [
|
|
819
|
+
/* @__PURE__ */ I("span", {
|
|
682
820
|
className: e.pagerNav({ class: "justify-self-start" }),
|
|
683
821
|
children: W
|
|
684
822
|
}),
|
|
685
|
-
|
|
686
|
-
/* @__PURE__ */
|
|
823
|
+
d,
|
|
824
|
+
/* @__PURE__ */ I("span", {
|
|
687
825
|
className: e.pagerNav({ class: "justify-self-end" }),
|
|
688
|
-
children:
|
|
826
|
+
children: te
|
|
689
827
|
})
|
|
690
828
|
] });
|
|
691
829
|
}
|
|
692
|
-
n[3] = r, n[4] = E, n[5] = D, n[6] = O, n[7] =
|
|
693
|
-
} else
|
|
830
|
+
n[3] = r, n[4] = E, n[5] = D, n[6] = O, n[7] = M, n[8] = p, n[9] = k, n[10] = _, n[11] = v, n[12] = x, n[13] = m, n[14] = A, n[15] = j, n[16] = N, n[17] = S, n[18] = C, n[19] = c, n[20] = P, n[21] = R, n[22] = z, n[23] = B, n[24] = V, n[25] = H, n[26] = U;
|
|
831
|
+
} else P = n[20], R = n[21], z = n[22], B = n[23], V = n[24], H = n[25], U = n[26];
|
|
694
832
|
if (B !== Symbol.for("react.early_return_sentinel")) return B;
|
|
695
833
|
let W;
|
|
696
|
-
return n[83] !==
|
|
834
|
+
return n[83] !== P || n[84] !== R || n[85] !== z || n[86] !== V || n[87] !== H || n[88] !== U ? (W = /* @__PURE__ */ L("div", {
|
|
697
835
|
className: V,
|
|
698
836
|
"data-layout": H,
|
|
699
837
|
"data-ox-slot": U,
|
|
700
838
|
children: [
|
|
701
|
-
|
|
839
|
+
P,
|
|
702
840
|
R,
|
|
703
841
|
z
|
|
704
842
|
]
|
|
705
|
-
}), n[83] =
|
|
843
|
+
}), n[83] = P, n[84] = R, n[85] = z, n[86] = V, n[87] = H, n[88] = U, n[89] = W) : W = n[89], W;
|
|
706
844
|
}
|
|
707
|
-
function
|
|
708
|
-
let t =
|
|
709
|
-
t[0] !== r || t[1] !== i ? (a =
|
|
845
|
+
function Ue(e) {
|
|
846
|
+
let t = h(6), { children: n, className: r } = e, { density: i } = _e(), a;
|
|
847
|
+
t[0] !== r || t[1] !== i ? (a = f({ density: i }).footerBar({ class: r }), t[0] = r, t[1] = i, t[2] = a) : a = t[2];
|
|
710
848
|
let o;
|
|
711
|
-
return t[3] !== n || t[4] !== a ? (o = /* @__PURE__ */
|
|
849
|
+
return t[3] !== n || t[4] !== a ? (o = /* @__PURE__ */ I("div", {
|
|
712
850
|
className: a,
|
|
713
851
|
"data-ox-slot": "data-table-footer",
|
|
714
852
|
children: n
|
|
715
853
|
}), t[3] = n, t[4] = a, t[5] = o) : o = t[5], o;
|
|
716
854
|
}
|
|
717
|
-
function
|
|
718
|
-
let t =
|
|
855
|
+
function We(e) {
|
|
856
|
+
let t = h(29), { column: n, draftVisible: i, onToggleVisible: a } = e, o = f({}), s = M(), c = n.locked || !n.hideable, l;
|
|
719
857
|
t[0] !== n.id || t[1] !== n.locked ? (l = {
|
|
720
858
|
id: n.id,
|
|
721
859
|
disabled: n.locked
|
|
722
860
|
}, t[0] = n.id, t[1] = n.locked, t[2] = l) : l = t[2];
|
|
723
|
-
let { attributes:
|
|
724
|
-
t[3] === g ? v = t[4] : (v =
|
|
725
|
-
let y =
|
|
861
|
+
let { attributes: u, isDragging: d, listeners: p, setNodeRef: m, transform: g, transition: _ } = K(l), v;
|
|
862
|
+
t[3] === g ? v = t[4] : (v = q.Transform.toString(g), t[3] = g, t[4] = v);
|
|
863
|
+
let y = d ? .6 : void 0, b;
|
|
726
864
|
t[5] !== v || t[6] !== y || t[7] !== _ ? (b = {
|
|
727
865
|
transform: v,
|
|
728
866
|
transition: _,
|
|
729
867
|
opacity: y
|
|
730
868
|
}, t[5] = v, t[6] = y, t[7] = _, t[8] = b) : b = t[8];
|
|
731
|
-
let x = b,
|
|
869
|
+
let x = b, S = o.configItem(), C = c || void 0, T = n.locked ? /* @__PURE__ */ I("span", {
|
|
732
870
|
"aria-hidden": "true",
|
|
733
871
|
className: o.configHandleLocked(),
|
|
734
|
-
children: /* @__PURE__ */
|
|
735
|
-
}) : /* @__PURE__ */
|
|
872
|
+
children: /* @__PURE__ */ I(w, { className: "size-4" })
|
|
873
|
+
}) : /* @__PURE__ */ I("button", {
|
|
736
874
|
"aria-label": "Drag to reorder",
|
|
737
875
|
className: o.configHandle(),
|
|
738
876
|
type: "button",
|
|
739
|
-
...
|
|
740
|
-
...
|
|
741
|
-
children: /* @__PURE__ */
|
|
877
|
+
...u,
|
|
878
|
+
...p,
|
|
879
|
+
children: /* @__PURE__ */ I(w, { className: "size-4" })
|
|
742
880
|
}), E = n.locked ? !0 : i, D;
|
|
743
881
|
t[9] !== n.id || t[10] !== a ? (D = () => a(n.id), t[9] = n.id, t[10] = a, t[11] = D) : D = t[11];
|
|
744
882
|
let O;
|
|
745
|
-
t[12] !== c || t[13] !== s || t[14] !== E || t[15] !== D ? (O = /* @__PURE__ */
|
|
883
|
+
t[12] !== c || t[13] !== s || t[14] !== E || t[15] !== D ? (O = /* @__PURE__ */ I(r, {
|
|
746
884
|
id: s,
|
|
747
885
|
checked: E,
|
|
748
886
|
disabled: c,
|
|
749
887
|
onCheckedChange: D
|
|
750
888
|
}), t[12] = c, t[13] = s, t[14] = E, t[15] = D, t[16] = O) : O = t[16];
|
|
751
|
-
let
|
|
752
|
-
t[17] !== n.header || t[18] !== s || t[19] !==
|
|
753
|
-
className:
|
|
889
|
+
let k = X(o.configLabel(), c ? "cursor-not-allowed opacity-50" : "cursor-pointer select-none"), A;
|
|
890
|
+
t[17] !== n.header || t[18] !== s || t[19] !== k ? (A = /* @__PURE__ */ I("label", {
|
|
891
|
+
className: k,
|
|
754
892
|
htmlFor: s,
|
|
755
893
|
children: n.header
|
|
756
|
-
}), t[17] = n.header, t[18] = s, t[19] =
|
|
757
|
-
let
|
|
758
|
-
return t[21] !==
|
|
759
|
-
className:
|
|
760
|
-
"data-disabled":
|
|
761
|
-
ref:
|
|
894
|
+
}), t[17] = n.header, t[18] = s, t[19] = k, t[20] = A) : A = t[20];
|
|
895
|
+
let j;
|
|
896
|
+
return t[21] !== m || t[22] !== x || t[23] !== O || t[24] !== A || t[25] !== S || t[26] !== C || t[27] !== T ? (j = /* @__PURE__ */ L("div", {
|
|
897
|
+
className: S,
|
|
898
|
+
"data-disabled": C,
|
|
899
|
+
ref: m,
|
|
762
900
|
style: x,
|
|
763
901
|
children: [
|
|
764
902
|
T,
|
|
765
903
|
O,
|
|
766
|
-
|
|
904
|
+
A
|
|
767
905
|
]
|
|
768
|
-
}), t[21] =
|
|
769
|
-
}
|
|
770
|
-
function
|
|
771
|
-
let n =
|
|
772
|
-
n[0] === g ? y = n[1] : (y = g.filter(
|
|
773
|
-
let b = y, x =
|
|
774
|
-
n[2] === b ?
|
|
775
|
-
let [
|
|
776
|
-
n[4] ===
|
|
777
|
-
let [k, A] =
|
|
778
|
-
n[6] === b ?
|
|
779
|
-
let
|
|
780
|
-
n[8] !==
|
|
781
|
-
e && (D(b.map(
|
|
782
|
-
}, n[8] =
|
|
783
|
-
let
|
|
784
|
-
n[12] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
785
|
-
let
|
|
786
|
-
n[13] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
787
|
-
let
|
|
788
|
-
n[14] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
906
|
+
}), t[21] = m, t[22] = x, t[23] = O, t[24] = A, t[25] = S, t[26] = C, t[27] = T, t[28] = j) : j = t[28], j;
|
|
907
|
+
}
|
|
908
|
+
function Ge(e) {
|
|
909
|
+
let n = h(48), { applyLabel: r, cancelLabel: i, className: o, title: s, trigger: c } = e, l = r === void 0 ? "Apply" : r, u = i === void 0 ? "Cancel" : i, d = s === void 0 ? "Configure table" : s, { columnVisibility: p, orderedColumns: g, setColumnOrder: _, setColumnVisibility: v } = _e(), y;
|
|
910
|
+
n[0] === g ? y = n[1] : (y = g.filter(Xe), n[0] = g, n[1] = y);
|
|
911
|
+
let b = y, x = f({}), [S, C] = P(!1), w;
|
|
912
|
+
n[2] === b ? w = n[3] : (w = () => b.map(Ye), n[2] = b, n[3] = w);
|
|
913
|
+
let [T, D] = P(w), O;
|
|
914
|
+
n[4] === p ? O = n[5] : (O = () => p, n[4] = p, n[5] = O);
|
|
915
|
+
let [k, A] = P(O), j;
|
|
916
|
+
n[6] === b ? j = n[7] : (j = new Map(b.map(Je)), n[6] = b, n[7] = j);
|
|
917
|
+
let M = j, N;
|
|
918
|
+
n[8] !== p || n[9] !== b || n[10] !== C ? (N = (e) => {
|
|
919
|
+
e && (D(b.map(qe)), A(p)), C(e);
|
|
920
|
+
}, n[8] = p, n[9] = b, n[10] = C, n[11] = N) : N = n[11];
|
|
921
|
+
let F = N, K;
|
|
922
|
+
n[12] === Symbol.for("react.memo_cache_sentinel") ? (K = { activationConstraint: { distance: 4 } }, n[12] = K) : K = n[12];
|
|
923
|
+
let q;
|
|
924
|
+
n[13] === Symbol.for("react.memo_cache_sentinel") ? (q = { coordinateGetter: G }, n[13] = q) : q = n[13];
|
|
925
|
+
let ne = U(H(B, K), H(z, q)), re;
|
|
926
|
+
n[14] === Symbol.for("react.memo_cache_sentinel") ? (re = (e) => {
|
|
789
927
|
let { active: t, over: n } = e;
|
|
790
|
-
D((e) =>
|
|
791
|
-
}, n[14] =
|
|
792
|
-
let
|
|
793
|
-
n[15] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
928
|
+
D((e) => m(e, String(t.id), n == null ? null : String(n.id)));
|
|
929
|
+
}, n[14] = re) : re = n[14];
|
|
930
|
+
let ie = re, ae;
|
|
931
|
+
n[15] === Symbol.for("react.memo_cache_sentinel") ? (ae = (e) => {
|
|
794
932
|
A((t) => ({
|
|
795
933
|
...t,
|
|
796
934
|
[e]: t[e] === !1
|
|
797
935
|
}));
|
|
798
|
-
}, n[15] =
|
|
799
|
-
let
|
|
800
|
-
n[16] !== b || n[17] !==
|
|
801
|
-
let e = b.map(
|
|
802
|
-
_(
|
|
803
|
-
}, n[16] = b, n[17] =
|
|
804
|
-
let
|
|
805
|
-
n[23] === c ?
|
|
936
|
+
}, n[15] = ae) : ae = n[15];
|
|
937
|
+
let J = ae, oe;
|
|
938
|
+
n[16] !== b || n[17] !== T || n[18] !== k || n[19] !== _ || n[20] !== v || n[21] !== C ? (oe = () => {
|
|
939
|
+
let e = b.map(Ke), t = new Set(e);
|
|
940
|
+
_(T.filter((e) => t.has(e))), v(te(k, e)), C(!1);
|
|
941
|
+
}, n[16] = b, n[17] = T, n[18] = k, n[19] = _, n[20] = v, n[21] = C, n[22] = oe) : oe = n[22];
|
|
942
|
+
let se = oe, Y;
|
|
943
|
+
n[23] === c ? Y = n[24] : (Y = c ?? /* @__PURE__ */ I(t, {
|
|
806
944
|
"aria-label": "Configure table",
|
|
807
945
|
isIconOnly: !0,
|
|
808
946
|
variant: "ghost",
|
|
809
|
-
children: /* @__PURE__ */
|
|
810
|
-
}), n[23] = c, n[24] =
|
|
947
|
+
children: /* @__PURE__ */ I(E, {})
|
|
948
|
+
}), n[23] = c, n[24] = Y);
|
|
811
949
|
let ce;
|
|
812
|
-
n[25] ===
|
|
950
|
+
n[25] === Y ? ce = n[26] : (ce = /* @__PURE__ */ I(a.Trigger, { children: Y }), n[25] = Y, n[26] = ce);
|
|
813
951
|
let le;
|
|
814
952
|
n[27] === o ? le = n[28] : (le = X("p-1.5", o), n[27] = o, n[28] = le);
|
|
815
953
|
let ue = x.configPanel(), de = x.configList(), fe;
|
|
816
|
-
if (n[29] !==
|
|
954
|
+
if (n[29] !== T || n[30] !== k || n[31] !== M) {
|
|
817
955
|
let e;
|
|
818
|
-
n[33] !== k || n[34] !==
|
|
819
|
-
let t =
|
|
820
|
-
return t == null ? null : /* @__PURE__ */
|
|
956
|
+
n[33] !== k || n[34] !== M ? (e = (e) => {
|
|
957
|
+
let t = M.get(e);
|
|
958
|
+
return t == null ? null : /* @__PURE__ */ I(We, {
|
|
821
959
|
column: t,
|
|
822
960
|
draftVisible: k[e] !== !1,
|
|
823
|
-
onToggleVisible:
|
|
961
|
+
onToggleVisible: J
|
|
824
962
|
}, e);
|
|
825
|
-
}, n[33] = k, n[34] =
|
|
963
|
+
}, n[33] = k, n[34] = M, n[35] = e) : e = n[35], fe = T.map(e), n[29] = T, n[30] = k, n[31] = M, n[32] = fe;
|
|
826
964
|
} else fe = n[32];
|
|
827
965
|
let pe = x.configActions(), me;
|
|
828
966
|
n[36] === C ? me = n[37] : (me = () => C(!1), n[36] = C, n[37] = me);
|
|
829
967
|
let he;
|
|
830
|
-
n[38] !==
|
|
968
|
+
n[38] !== u || n[39] !== me ? (he = /* @__PURE__ */ I(t, {
|
|
831
969
|
variant: "outline",
|
|
832
970
|
onClick: me,
|
|
833
|
-
children:
|
|
834
|
-
}), n[38] =
|
|
835
|
-
let Q;
|
|
836
|
-
n[41] !== oe || n[42] !== l ? (Q = /* @__PURE__ */ N(t, {
|
|
837
|
-
onClick: oe,
|
|
838
|
-
children: l
|
|
839
|
-
}), n[41] = oe, n[42] = l, n[43] = Q) : Q = n[43];
|
|
971
|
+
children: u
|
|
972
|
+
}), n[38] = u, n[39] = me, n[40] = he) : he = n[40];
|
|
840
973
|
let ge;
|
|
841
|
-
|
|
974
|
+
n[41] !== se || n[42] !== l ? (ge = /* @__PURE__ */ I(t, {
|
|
975
|
+
onClick: se,
|
|
976
|
+
children: l
|
|
977
|
+
}), n[41] = se, n[42] = l, n[43] = ge) : ge = n[43];
|
|
978
|
+
let ve;
|
|
979
|
+
return n[44] !== pe || n[45] !== he || n[46] !== ge ? (ve = /* @__PURE__ */ L("div", {
|
|
842
980
|
className: pe,
|
|
843
|
-
children: [he,
|
|
844
|
-
}), n[44] = pe, n[45] = he, n[46] =
|
|
981
|
+
children: [he, ge]
|
|
982
|
+
}), n[44] = pe, n[45] = he, n[46] = ge, n[47] = ve) : ve = n[47], /* @__PURE__ */ L(a, {
|
|
845
983
|
open: S,
|
|
846
|
-
onOpenChange:
|
|
847
|
-
children: [ce, /* @__PURE__ */
|
|
984
|
+
onOpenChange: F,
|
|
985
|
+
children: [ce, /* @__PURE__ */ I(a.Content, {
|
|
848
986
|
align: "start",
|
|
849
987
|
className: le,
|
|
850
|
-
children: /* @__PURE__ */
|
|
988
|
+
children: /* @__PURE__ */ L("div", {
|
|
851
989
|
className: ue,
|
|
852
990
|
children: [
|
|
853
|
-
/* @__PURE__ */
|
|
991
|
+
/* @__PURE__ */ I("div", {
|
|
854
992
|
className: x.configTitle(),
|
|
855
|
-
children:
|
|
993
|
+
children: d
|
|
856
994
|
}),
|
|
857
|
-
/* @__PURE__ */
|
|
858
|
-
/* @__PURE__ */
|
|
859
|
-
collisionDetection:
|
|
860
|
-
sensors:
|
|
861
|
-
onDragEnd:
|
|
862
|
-
children: /* @__PURE__ */
|
|
863
|
-
items:
|
|
864
|
-
strategy:
|
|
865
|
-
children: /* @__PURE__ */
|
|
995
|
+
/* @__PURE__ */ I("div", { className: x.configSeparator() }),
|
|
996
|
+
/* @__PURE__ */ I(R, {
|
|
997
|
+
collisionDetection: V,
|
|
998
|
+
sensors: ne,
|
|
999
|
+
onDragEnd: ie,
|
|
1000
|
+
children: /* @__PURE__ */ I(W, {
|
|
1001
|
+
items: T,
|
|
1002
|
+
strategy: ee,
|
|
1003
|
+
children: /* @__PURE__ */ I("div", {
|
|
866
1004
|
className: de,
|
|
867
1005
|
children: fe
|
|
868
1006
|
})
|
|
869
1007
|
})
|
|
870
1008
|
}),
|
|
871
|
-
/* @__PURE__ */
|
|
872
|
-
|
|
1009
|
+
/* @__PURE__ */ I("div", { className: x.configSeparator() }),
|
|
1010
|
+
ve
|
|
873
1011
|
]
|
|
874
1012
|
})
|
|
875
1013
|
})]
|
|
876
1014
|
});
|
|
877
1015
|
}
|
|
878
|
-
function
|
|
1016
|
+
function Ke(e) {
|
|
879
1017
|
return e.id;
|
|
880
1018
|
}
|
|
881
|
-
function
|
|
1019
|
+
function qe(e) {
|
|
882
1020
|
return e.id;
|
|
883
1021
|
}
|
|
884
|
-
function
|
|
1022
|
+
function Je(e) {
|
|
885
1023
|
return [e.id, e];
|
|
886
1024
|
}
|
|
887
|
-
function
|
|
1025
|
+
function Ye(e) {
|
|
888
1026
|
return e.id;
|
|
889
1027
|
}
|
|
890
|
-
function
|
|
1028
|
+
function Xe(e) {
|
|
891
1029
|
return !e.system;
|
|
892
1030
|
}
|
|
893
1031
|
//#endregion
|
|
894
|
-
export {
|
|
1032
|
+
export { Ge as OxDataTableColumnConfig, Le as OxDataTableDivider, ze as OxDataTableFilterChips, Be as OxDataTableFilterMenu, Ue as OxDataTableFooter, Q as OxDataTablePagination, we as OxDataTableRoot, Z as OxDataTableSelectionActions, Ve as OxDataTableSkeleton, Fe as OxDataTableToolbar, Ie as OxDataTableToolbarGroup };
|