@krosoft/react 0.0.228 → 0.0.230
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/DataTable-DYp_uFEn.js +638 -0
- package/dist/{SearchInput-Y-iBtCCc.js → SearchInput-Dkvaei9K.js} +38 -38
- package/dist/{TableFilter-CJrFjUod.js → TableFilter-BXD7Es8j.js} +1 -1
- package/dist/components/core/filters/index.js +1 -1
- package/dist/components/core/index.js +67 -62
- package/dist/components/core/inputs/index.js +1 -1
- package/dist/components/core/table/DataTable.d.ts +2 -1
- package/dist/components/core/table/DataTable.d.ts.map +1 -1
- package/dist/components/core/table/TableBody.d.ts +3 -1
- package/dist/components/core/table/TableBody.d.ts.map +1 -1
- package/dist/components/core/table/TableHeader.d.ts +5 -1
- package/dist/components/core/table/TableHeader.d.ts.map +1 -1
- package/dist/components/core/table/columnAlignment.d.ts +13 -0
- package/dist/components/core/table/columnAlignment.d.ts.map +1 -0
- package/dist/components/core/table/fixedColumns.d.ts +19 -0
- package/dist/components/core/table/fixedColumns.d.ts.map +1 -0
- package/dist/components/core/table/index.d.ts +2 -0
- package/dist/components/core/table/index.d.ts.map +1 -1
- package/dist/components/core/table/index.js +13 -8
- package/dist/components/index.js +189 -184
- package/dist/hooks/index.js +11 -10
- package/dist/hooks/ui/index.d.ts +2 -0
- package/dist/hooks/ui/index.d.ts.map +1 -1
- package/dist/hooks/ui/index.js +16 -15
- package/dist/hooks/ui/useFixedColumns.d.ts +23 -0
- package/dist/hooks/ui/useFixedColumns.d.ts.map +1 -0
- package/dist/types/ColumnDef.d.ts +2 -0
- package/dist/types/ColumnDef.d.ts.map +1 -1
- package/dist/useFixedColumns-CKZyu4PD.js +161 -0
- package/package.json +1 -1
- package/dist/DataTable-DSrsTb_t.js +0 -553
- package/dist/useDataTable-CxcA5S-s.js +0 -126
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as o, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import * as M from "react";
|
|
3
3
|
import { useState as S, useRef as G, useEffect as X, useMemo as q } from "react";
|
|
4
4
|
import { C as j, b0 as E, b2 as R, b1 as _ } from "./toggle-group-DLLrEwv2.js";
|
|
@@ -8,7 +8,7 @@ import { B as v, f as H } from "./tooltip-DVeqVwqV.js";
|
|
|
8
8
|
import "./chart-DntJZGxB.js";
|
|
9
9
|
import "@radix-ui/react-collapsible";
|
|
10
10
|
import { C as J, m as Q, o as U, k as W, l as Y, n as T, I as Z } from "./sheet-tuC_C3M3.js";
|
|
11
|
-
import { CalendarIcon as O, XIcon as I, ChevronDownIcon as ee, CheckIcon as te, PlusIcon as re, SearchIcon as
|
|
11
|
+
import { CalendarIcon as O, XIcon as I, ChevronDownIcon as ee, CheckIcon as te, PlusIcon as re, SearchIcon as oe } from "lucide-react";
|
|
12
12
|
import "react-resizable-panels";
|
|
13
13
|
import { c as g } from "./tailwind.helper-B6yFEsav.js";
|
|
14
14
|
import "./select-BpjFWqAY.js";
|
|
@@ -20,23 +20,23 @@ import "react-i18next";
|
|
|
20
20
|
import { u as P } from "./useKrosoftTranslation-DtdbUewZ.js";
|
|
21
21
|
import "date-fns/locale";
|
|
22
22
|
const ze = ({ date: r, onDateChange: l, placeholder: p }) => {
|
|
23
|
-
const f = V(), [
|
|
23
|
+
const f = V(), [a, c] = S(!1), d = G(null);
|
|
24
24
|
X(() => {
|
|
25
|
-
if (!
|
|
25
|
+
if (!a) return;
|
|
26
26
|
const s = (h) => {
|
|
27
27
|
d.current !== null && !d.current.contains(h.target) && c(!1);
|
|
28
28
|
};
|
|
29
29
|
return document.addEventListener("mousedown", s), () => {
|
|
30
30
|
document.removeEventListener("mousedown", s);
|
|
31
31
|
};
|
|
32
|
-
}, [
|
|
32
|
+
}, [a]);
|
|
33
33
|
const u = () => {
|
|
34
34
|
c((s) => !s);
|
|
35
35
|
}, i = (s) => {
|
|
36
36
|
l(s), c(!1);
|
|
37
37
|
};
|
|
38
|
-
return /* @__PURE__ */
|
|
39
|
-
/* @__PURE__ */
|
|
38
|
+
return /* @__PURE__ */ o("div", { ref: d, className: "relative w-full", children: [
|
|
39
|
+
/* @__PURE__ */ o(
|
|
40
40
|
v,
|
|
41
41
|
{
|
|
42
42
|
variant: "outline",
|
|
@@ -44,7 +44,7 @@ const ze = ({ date: r, onDateChange: l, placeholder: p }) => {
|
|
|
44
44
|
onClick: u,
|
|
45
45
|
className: g(
|
|
46
46
|
"w-full justify-start text-left font-normal focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
|
|
47
|
-
|
|
47
|
+
a && "ring-2 ring-ring ring-offset-2",
|
|
48
48
|
r === void 0 && "text-muted-foreground"
|
|
49
49
|
),
|
|
50
50
|
children: [
|
|
@@ -53,10 +53,10 @@ const ze = ({ date: r, onDateChange: l, placeholder: p }) => {
|
|
|
53
53
|
]
|
|
54
54
|
}
|
|
55
55
|
),
|
|
56
|
-
|
|
56
|
+
a ? /* @__PURE__ */ e("div", { className: "absolute left-0 top-[calc(100%+4px)] z-[100] rounded-surface border bg-popover text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 slide-in-from-top-2", children: /* @__PURE__ */ e(j, { mode: "single", locale: f, defaultMonth: r, selected: r, onSelect: i }) }) : null
|
|
57
57
|
] });
|
|
58
58
|
}, Me = ({ value: r, onChange: l, placeholder: p, className: f }) => {
|
|
59
|
-
const { t:
|
|
59
|
+
const { t: a } = P(), c = V(), [d, u] = M.useState(!1), [i, s] = M.useState(r);
|
|
60
60
|
M.useEffect(() => {
|
|
61
61
|
d && s(r);
|
|
62
62
|
}, [d, r]);
|
|
@@ -68,9 +68,9 @@ const ze = ({ date: r, onDateChange: l, placeholder: p }) => {
|
|
|
68
68
|
s(r), u(!1);
|
|
69
69
|
}, N = () => {
|
|
70
70
|
s(void 0);
|
|
71
|
-
}, w = (n) => n != null && n.from ? !n.to || n.from.getTime() === n.to.getTime() ? x(n.from, "dd MMM yyyy", { locale: c }) : `${x(n.from, "dd MMM yyyy", { locale: c })} - ${x(n.to, "dd MMM yyyy", { locale: c })}` : p ??
|
|
72
|
-
return /* @__PURE__ */ e("div", { className: g("grid gap-2", f), children: /* @__PURE__ */
|
|
73
|
-
/* @__PURE__ */ e(R, { asChild: !0, children: /* @__PURE__ */
|
|
71
|
+
}, w = (n) => n != null && n.from ? !n.to || n.from.getTime() === n.to.getTime() ? x(n.from, "dd MMM yyyy", { locale: c }) : `${x(n.from, "dd MMM yyyy", { locale: c })} - ${x(n.to, "dd MMM yyyy", { locale: c })}` : p ?? a("date.pickPeriod");
|
|
72
|
+
return /* @__PURE__ */ e("div", { className: g("grid gap-2", f), children: /* @__PURE__ */ o(E, { open: d, onOpenChange: u, children: [
|
|
73
|
+
/* @__PURE__ */ e(R, { asChild: !0, children: /* @__PURE__ */ o(v, { id: "date", variant: "outline", className: g("w-[300px] justify-start text-left font-normal", !(r != null && r.from) && "text-muted-foreground"), children: [
|
|
74
74
|
/* @__PURE__ */ e(O, { className: "mr-2 size-4" }),
|
|
75
75
|
w(r),
|
|
76
76
|
(r == null ? void 0 : r.from) && /* @__PURE__ */ e(
|
|
@@ -79,14 +79,14 @@ const ze = ({ date: r, onDateChange: l, placeholder: p }) => {
|
|
|
79
79
|
type: "button",
|
|
80
80
|
variant: "ghost",
|
|
81
81
|
size: "icon",
|
|
82
|
-
"aria-label":
|
|
82
|
+
"aria-label": a("date.clearPeriod"),
|
|
83
83
|
className: "ml-auto h-5 w-5 opacity-50 hover:opacity-100",
|
|
84
84
|
onClick: h,
|
|
85
85
|
children: /* @__PURE__ */ e(I, { className: "size-4" })
|
|
86
86
|
}
|
|
87
87
|
)
|
|
88
88
|
] }) }),
|
|
89
|
-
/* @__PURE__ */
|
|
89
|
+
/* @__PURE__ */ o(_, { className: "w-auto p-0", align: "start", side: "bottom", sideOffset: 4, children: [
|
|
90
90
|
/* @__PURE__ */ e(
|
|
91
91
|
j,
|
|
92
92
|
{
|
|
@@ -99,11 +99,11 @@ const ze = ({ date: r, onDateChange: l, placeholder: p }) => {
|
|
|
99
99
|
className: "pointer-events-auto p-3"
|
|
100
100
|
}
|
|
101
101
|
),
|
|
102
|
-
/* @__PURE__ */
|
|
103
|
-
/* @__PURE__ */ e(v, { variant: "ghost", size: "sm", onClick: N, children:
|
|
104
|
-
/* @__PURE__ */
|
|
105
|
-
/* @__PURE__ */ e(v, { variant: "ghost", size: "sm", onClick: y, children:
|
|
106
|
-
/* @__PURE__ */ e(v, { size: "sm", onClick: k, children:
|
|
102
|
+
/* @__PURE__ */ o("div", { className: "flex items-center justify-between border-t border-border px-3 py-2", children: [
|
|
103
|
+
/* @__PURE__ */ e(v, { variant: "ghost", size: "sm", onClick: N, children: a("actions.clear") }),
|
|
104
|
+
/* @__PURE__ */ o("div", { className: "flex gap-2", children: [
|
|
105
|
+
/* @__PURE__ */ e(v, { variant: "ghost", size: "sm", onClick: y, children: a("actions.cancel") }),
|
|
106
|
+
/* @__PURE__ */ e(v, { size: "sm", onClick: k, children: a("actions.apply") })
|
|
107
107
|
] })
|
|
108
108
|
] })
|
|
109
109
|
] })
|
|
@@ -113,7 +113,7 @@ const ze = ({ date: r, onDateChange: l, placeholder: p }) => {
|
|
|
113
113
|
value: l,
|
|
114
114
|
onChange: p,
|
|
115
115
|
onClear: f,
|
|
116
|
-
onCreate:
|
|
116
|
+
onCreate: a,
|
|
117
117
|
placeholder: c,
|
|
118
118
|
searchPlaceholder: d,
|
|
119
119
|
emptyLabel: u,
|
|
@@ -122,15 +122,15 @@ const ze = ({ date: r, onDateChange: l, placeholder: p }) => {
|
|
|
122
122
|
modal: h = !0,
|
|
123
123
|
className: k
|
|
124
124
|
}) => {
|
|
125
|
-
const { t: y } = P(), [N, w] = S(!1), [n, D] = S(""), C = l !== void 0 && l !== "", m = q(() => C ? r.find((t) => t.value === l) : void 0, [C, r, l]), B = C ? (m == null ? void 0 : m.label) ?? l : void 0, b = n.trim(), L =
|
|
125
|
+
const { t: y } = P(), [N, w] = S(!1), [n, D] = S(""), C = l !== void 0 && l !== "", m = q(() => C ? r.find((t) => t.value === l) : void 0, [C, r, l]), B = C ? (m == null ? void 0 : m.label) ?? l : void 0, b = n.trim(), L = a !== void 0 && b !== "" && !r.some((t) => t.label.toLowerCase() === b.toLowerCase()), z = (t) => {
|
|
126
126
|
w(t), t || D("");
|
|
127
127
|
}, K = (t) => {
|
|
128
128
|
p(t), z(!1);
|
|
129
129
|
}, $ = () => {
|
|
130
|
-
|
|
130
|
+
a == null || a(b), z(!1);
|
|
131
131
|
};
|
|
132
|
-
return /* @__PURE__ */
|
|
133
|
-
/* @__PURE__ */ e(R, { asChild: !0, children: /* @__PURE__ */
|
|
132
|
+
return /* @__PURE__ */ o(E, { open: N, onOpenChange: z, modal: h, children: [
|
|
133
|
+
/* @__PURE__ */ e(R, { asChild: !0, children: /* @__PURE__ */ o(
|
|
134
134
|
"button",
|
|
135
135
|
{
|
|
136
136
|
type: "button",
|
|
@@ -145,16 +145,16 @@ const ze = ({ date: r, onDateChange: l, placeholder: p }) => {
|
|
|
145
145
|
k
|
|
146
146
|
),
|
|
147
147
|
children: [
|
|
148
|
-
/* @__PURE__ */
|
|
148
|
+
/* @__PURE__ */ o("span", { className: "flex items-center truncate", children: [
|
|
149
149
|
(m == null ? void 0 : m.color) && /* @__PURE__ */ e("span", { className: "mr-2 size-2.5 shrink-0 rounded-full", style: { backgroundColor: m.color } }),
|
|
150
150
|
/* @__PURE__ */ e("span", { className: "truncate", children: B ?? c ?? y("select.placeholder") }),
|
|
151
|
-
(m == null ? void 0 : m.description) !== void 0 && /* @__PURE__ */
|
|
151
|
+
(m == null ? void 0 : m.description) !== void 0 && /* @__PURE__ */ o("span", { className: "ml-1 truncate text-muted-foreground", children: [
|
|
152
152
|
"(",
|
|
153
153
|
m.description,
|
|
154
154
|
")"
|
|
155
155
|
] })
|
|
156
156
|
] }),
|
|
157
|
-
/* @__PURE__ */
|
|
157
|
+
/* @__PURE__ */ o("div", { className: "flex items-center gap-1", children: [
|
|
158
158
|
f && C && !s && /* @__PURE__ */ e(
|
|
159
159
|
"span",
|
|
160
160
|
{
|
|
@@ -175,16 +175,16 @@ const ze = ({ date: r, onDateChange: l, placeholder: p }) => {
|
|
|
175
175
|
]
|
|
176
176
|
}
|
|
177
177
|
) }),
|
|
178
|
-
/* @__PURE__ */ e(_, { className: "w-[var(--radix-popover-trigger-width)] p-0", align: "start", children: /* @__PURE__ */
|
|
178
|
+
/* @__PURE__ */ e(_, { className: "w-[var(--radix-popover-trigger-width)] p-0", align: "start", children: /* @__PURE__ */ o(
|
|
179
179
|
J,
|
|
180
180
|
{
|
|
181
181
|
filter: (t, A, F) => (F ?? []).join(" ").toLowerCase().includes(A.trim().toLowerCase()) ? 1 : 0,
|
|
182
182
|
children: [
|
|
183
183
|
/* @__PURE__ */ e(Q, { placeholder: d ?? y("search.placeholder"), value: n, onValueChange: D }),
|
|
184
|
-
/* @__PURE__ */
|
|
184
|
+
/* @__PURE__ */ o(U, { children: [
|
|
185
185
|
!L && /* @__PURE__ */ e(W, { children: u ?? y("states.noResult") }),
|
|
186
|
-
/* @__PURE__ */
|
|
187
|
-
r.map((t) => /* @__PURE__ */
|
|
186
|
+
/* @__PURE__ */ o(Y, { children: [
|
|
187
|
+
r.map((t) => /* @__PURE__ */ o(
|
|
188
188
|
T,
|
|
189
189
|
{
|
|
190
190
|
value: t.value,
|
|
@@ -196,7 +196,7 @@ const ze = ({ date: r, onDateChange: l, placeholder: p }) => {
|
|
|
196
196
|
/* @__PURE__ */ e(te, { className: g("mr-2 size-4 shrink-0", l === t.value ? "opacity-100" : "opacity-0") }),
|
|
197
197
|
t.color !== void 0 && /* @__PURE__ */ e("span", { className: "mr-2 size-2.5 shrink-0 rounded-full", style: { backgroundColor: t.color } }),
|
|
198
198
|
/* @__PURE__ */ e("span", { className: "truncate", children: t.label }),
|
|
199
|
-
t.description !== void 0 && /* @__PURE__ */
|
|
199
|
+
t.description !== void 0 && /* @__PURE__ */ o("span", { className: "ml-1 truncate text-muted-foreground", children: [
|
|
200
200
|
"(",
|
|
201
201
|
t.description,
|
|
202
202
|
")"
|
|
@@ -205,7 +205,7 @@ const ze = ({ date: r, onDateChange: l, placeholder: p }) => {
|
|
|
205
205
|
},
|
|
206
206
|
t.value
|
|
207
207
|
)),
|
|
208
|
-
L && /* @__PURE__ */
|
|
208
|
+
L && /* @__PURE__ */ o(T, { forceMount: !0, value: "__create__", onSelect: $, children: [
|
|
209
209
|
/* @__PURE__ */ e(re, { className: "mr-2 size-4 shrink-0" }),
|
|
210
210
|
/* @__PURE__ */ e("span", { className: "truncate", children: i ? i(b) : y("select.create", { search: b }) })
|
|
211
211
|
] })
|
|
@@ -215,12 +215,12 @@ const ze = ({ date: r, onDateChange: l, placeholder: p }) => {
|
|
|
215
215
|
}
|
|
216
216
|
) })
|
|
217
217
|
] });
|
|
218
|
-
}, Ie = ({ searchQuery: r, search: l, placeholder: p, onSearch: f, onSubmit:
|
|
218
|
+
}, Ie = ({ searchQuery: r, search: l, placeholder: p, onSearch: f, onSubmit: a, onClear: c, className: d }) => {
|
|
219
219
|
const { t: u } = P(), i = r ?? l ?? "", s = () => {
|
|
220
220
|
f(""), c !== void 0 && c();
|
|
221
221
|
};
|
|
222
|
-
return /* @__PURE__ */
|
|
223
|
-
/* @__PURE__ */ e(
|
|
222
|
+
return /* @__PURE__ */ o("div", { className: g("relative h-fit w-full md:w-64", d), children: [
|
|
223
|
+
/* @__PURE__ */ e(oe, { className: "absolute left-3 top-1/2 transform -translate-y-1/2 text-muted-foreground w-4 h-4" }),
|
|
224
224
|
/* @__PURE__ */ e(
|
|
225
225
|
Z,
|
|
226
226
|
{
|
|
@@ -231,7 +231,7 @@ const ze = ({ date: r, onDateChange: l, placeholder: p }) => {
|
|
|
231
231
|
},
|
|
232
232
|
className: "pl-8",
|
|
233
233
|
onKeyDown: (h) => {
|
|
234
|
-
h.key === "Enter" &&
|
|
234
|
+
h.key === "Enter" && a !== void 0 && (h.preventDefault(), a());
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
237
|
),
|
|
@@ -3,7 +3,7 @@ import "date-fns/locale";
|
|
|
3
3
|
import "react-i18next";
|
|
4
4
|
import { u as w } from "./useKrosoftTranslation-DtdbUewZ.js";
|
|
5
5
|
import { useState as C, useEffect as O, useMemo as S } from "react";
|
|
6
|
-
import { a as z, D as I, b as $, S as B } from "./SearchInput-
|
|
6
|
+
import { a as z, D as I, b as $, S as B } from "./SearchInput-Dkvaei9K.js";
|
|
7
7
|
import { getLocale as Q } from "@krosoft/core/helpers";
|
|
8
8
|
import { B as E, aw as V, b0 as _, b2 as R, b1 as H, E as P } from "./toggle-group-DLLrEwv2.js";
|
|
9
9
|
import "./alert-B9F1N9Qk.js";
|
|
@@ -1,89 +1,94 @@
|
|
|
1
|
-
import { D as
|
|
1
|
+
import { D as r, M as o } from "../../MetricCard-B0xnFyim.js";
|
|
2
2
|
import { K as t, a as i, S as l, b as p } from "../../SkeletonCards-CQKcSQW3.js";
|
|
3
|
-
import { B as m, a as
|
|
4
|
-
import { A as
|
|
5
|
-
import { D as F, a as P, b as u, c as
|
|
6
|
-
import { P as
|
|
7
|
-
import { A as
|
|
8
|
-
import { G as
|
|
9
|
-
import { I as
|
|
10
|
-
import { D as
|
|
11
|
-
import { M as
|
|
3
|
+
import { B as m, a as C, C as b, b as n, c as A, L as d, P as f, g as T } from "../../PieChart-gP2QNrAQ.js";
|
|
4
|
+
import { A as S, C as x, F as D } from "../../ConfirmationDialog-CK65nSle.js";
|
|
5
|
+
import { D as F, a as P, b as u, c as L, d as E, e as H, f as I, g as K, h as O, i as M } from "../../sheet-tuC_C3M3.js";
|
|
6
|
+
import { P as B } from "../../toggle-group-DLLrEwv2.js";
|
|
7
|
+
import { A as N, a as _, F as v, S as y, T as R } from "../../TableFilter-BXD7Es8j.js";
|
|
8
|
+
import { G as V } from "../../GenericForm-B7L7NkrE.js";
|
|
9
|
+
import { I as z } from "../../ImageInput-CBDkCEho.js";
|
|
10
|
+
import { D as q, a as w, S as J, b as Q } from "../../SearchInput-Dkvaei9K.js";
|
|
11
|
+
import { M as X } from "../../MultiSelect-DWNOCqe1.js";
|
|
12
12
|
import { A as $ } from "../../AppActions-QHJ6CP5w.js";
|
|
13
|
-
import { A as
|
|
13
|
+
import { A as ea, K as ra } from "../../KpiCardsLayout-CUDfA-AP.js";
|
|
14
14
|
import { A as sa } from "../../AppSubTitle-BlwAxtMX.js";
|
|
15
15
|
import { A as ia } from "../../AppTitle-D15YXeMx.js";
|
|
16
|
-
import { G as pa, S as
|
|
17
|
-
import { E as
|
|
18
|
-
import { E as
|
|
19
|
-
import { L as
|
|
20
|
-
import { D as Da, T as
|
|
21
|
-
import { A as ka, a as Ba, b as Ga, c as
|
|
16
|
+
import { G as pa, S as ga, a as ma, b as Ca, T as ba } from "../../Topbar-DYim779_.js";
|
|
17
|
+
import { E as Aa } from "../../ErrorAlert-BIQ2Te6B.js";
|
|
18
|
+
import { E as fa } from "../../ErrorState-ZtWe5C0s.js";
|
|
19
|
+
import { L as ca } from "../../LoadingState-BN0YaPSs.js";
|
|
20
|
+
import { A as xa, D as Da, S as ha, T as Fa, a as Pa, b as ua, c as La, d as Ea, e as Ha, g as Ia, f as Ka, h as Oa } from "../../DataTable-DYp_uFEn.js";
|
|
21
|
+
import { A as ka, a as Ba, b as Ga, c as Na } from "../../AppVerticalTabs-C6MH4a0M.js";
|
|
22
22
|
import { T as va } from "../../ThemeSelector-BtQNjlYA.js";
|
|
23
23
|
export {
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
xa as ACTIONS_COLUMN_KEY,
|
|
25
|
+
N as ActiveFilters,
|
|
26
|
+
_ as AdvancedFilters,
|
|
26
27
|
$ as AppActions,
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
S as AppDialog,
|
|
29
|
+
ea as AppPageHeader,
|
|
29
30
|
sa as AppSubTitle,
|
|
30
31
|
ka as AppTabContainer,
|
|
31
32
|
Ba as AppTabHeader,
|
|
32
33
|
Ga as AppTabs,
|
|
33
34
|
ia as AppTitle,
|
|
34
|
-
|
|
35
|
+
Na as AppVerticalTabs,
|
|
35
36
|
m as BarChartHorizontal,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
37
|
+
C as BarChartVertical,
|
|
38
|
+
b as CHART_COLORS,
|
|
39
|
+
n as ChartCard,
|
|
40
|
+
A as CircularGauge,
|
|
41
|
+
x as ConfirmationDialog,
|
|
42
|
+
r as DashboardCard,
|
|
42
43
|
Da as DataTable,
|
|
43
|
-
|
|
44
|
-
|
|
44
|
+
q as DatePicker,
|
|
45
|
+
w as DateRangePicker,
|
|
45
46
|
F as Dialog,
|
|
46
47
|
P as DialogClose,
|
|
47
48
|
u as DialogContent,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
49
|
+
L as DialogDescription,
|
|
50
|
+
E as DialogFooter,
|
|
51
|
+
H as DialogHeader,
|
|
52
|
+
I as DialogOverlay,
|
|
53
|
+
K as DialogPortal,
|
|
54
|
+
O as DialogTitle,
|
|
55
|
+
M as DialogTrigger,
|
|
56
|
+
Aa as ErrorAlert,
|
|
57
|
+
fa as ErrorState,
|
|
58
|
+
v as FilterField,
|
|
59
|
+
D as FormDialog,
|
|
60
|
+
V as GenericForm,
|
|
60
61
|
pa as GlobalSearch,
|
|
61
|
-
|
|
62
|
+
z as ImageInput,
|
|
62
63
|
t as KpiCard,
|
|
63
64
|
i as KpiCards,
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
ra as KpiCardsLayout,
|
|
66
|
+
d as LineChart,
|
|
67
|
+
ca as LoadingState,
|
|
67
68
|
o as MetricCard,
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
69
|
+
X as MultiSelect,
|
|
70
|
+
f as PieChart,
|
|
71
|
+
B as Progress,
|
|
72
|
+
ha as SELECTION_COLUMN_KEY,
|
|
73
|
+
J as SearchInput,
|
|
74
|
+
y as SearchableFilterPill,
|
|
75
|
+
Q as SearchableSelect,
|
|
76
|
+
ga as Sidebar,
|
|
75
77
|
ma as SidebarHeader,
|
|
76
|
-
|
|
78
|
+
Ca as SidebarNavItem,
|
|
77
79
|
l as SkeletonCard,
|
|
78
80
|
p as SkeletonCards,
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
81
|
+
Fa as TableActions,
|
|
82
|
+
Pa as TableBody,
|
|
83
|
+
ua as TableBulkActions,
|
|
84
|
+
R as TableFilter,
|
|
85
|
+
La as TableHeader,
|
|
86
|
+
Ea as TablePagination,
|
|
85
87
|
Ha as TableSettings,
|
|
86
88
|
va as ThemeSelector,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
+
ba as Topbar,
|
|
90
|
+
Ia as getAlignmentClass,
|
|
91
|
+
T as getChartColor,
|
|
92
|
+
Ka as getColumnAlignment,
|
|
93
|
+
Oa as getFixedCellProps
|
|
89
94
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { I as r } from "../../../ImageInput-CBDkCEho.js";
|
|
2
|
-
import { D as c, a as o, S as s, b as p } from "../../../SearchInput-
|
|
2
|
+
import { D as c, a as o, S as s, b as p } from "../../../SearchInput-Dkvaei9K.js";
|
|
3
3
|
import { M as l } from "../../../MultiSelect-DWNOCqe1.js";
|
|
4
4
|
export {
|
|
5
5
|
c as DatePicker,
|
|
@@ -15,6 +15,7 @@ export interface DataTableProps<T> {
|
|
|
15
15
|
error?: string | null;
|
|
16
16
|
noDataMessage?: string;
|
|
17
17
|
bordered?: boolean;
|
|
18
|
+
fixedActions?: boolean;
|
|
18
19
|
defaultPageSize?: number;
|
|
19
20
|
pageSizeOptions?: number[];
|
|
20
21
|
totalRows?: number;
|
|
@@ -26,5 +27,5 @@ export interface DataTableProps<T> {
|
|
|
26
27
|
sortDirection?: "asc" | "desc";
|
|
27
28
|
onSortChange?: (column: string | null, direction: "asc" | "desc") => void;
|
|
28
29
|
}
|
|
29
|
-
export declare function DataTable<T>({ data, columns, getRowId, onRowClick, actions, bulkActions, draggableColumns, resizableColumns, columnVisibility, isLoading, error, bordered, noDataMessage, defaultPageSize, pageSizeOptions, totalRows, currentPage, pageSize: controlledPageSize, onPageChange, onPageSizeChange, sortColumn: controlledSortColumn, sortDirection: controlledSortDirection, onSortChange, }: DataTableProps<T>): React.JSX.Element;
|
|
30
|
+
export declare function DataTable<T>({ data, columns, getRowId, onRowClick, actions, bulkActions, draggableColumns, resizableColumns, columnVisibility, isLoading, error, bordered, fixedActions, noDataMessage, defaultPageSize, pageSizeOptions, totalRows, currentPage, pageSize: controlledPageSize, onPageChange, onPageSizeChange, sortColumn: controlledSortColumn, sortDirection: controlledSortDirection, onSortChange, }: DataTableProps<T>): React.JSX.Element;
|
|
30
31
|
//# sourceMappingURL=DataTable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTable.d.ts","sourceRoot":"","sources":["../../../../src/components/core/table/DataTable.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"DataTable.d.ts","sourceRoot":"","sources":["../../../../src/components/core/table/DataTable.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAMvE,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEvE,MAAM,WAAW,cAAc,CAAC,CAAC;IAC/B,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;IACxB,QAAQ,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,MAAM,CAAC;IAC7B,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,mBAAmB,CAAC,KAAK,IAAI,CAAC;IAC5E,OAAO,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;IACzB,WAAW,CAAC,EAAE,UAAU,EAAE,CAAC;IAC3B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAG3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAG9C,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,aAAa,CAAC,EAAE,KAAK,GAAG,MAAM,CAAC;IAC/B,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,EAAE,SAAS,EAAE,KAAK,GAAG,MAAM,KAAK,IAAI,CAAC;CAC3E;AAED,wBAAgB,SAAS,CAAC,CAAC,EAAE,EAC3B,IAAI,EACJ,OAAO,EACP,QAAQ,EACR,UAAU,EACV,OAAO,EACP,WAAW,EACX,gBAAwB,EACxB,gBAAwB,EACxB,gBAAwB,EACxB,SAAiB,EACjB,KAAY,EACZ,QAAgB,EAChB,YAAoB,EACpB,aAAa,EACb,eAAmC,EACnC,eAA2C,EAC3C,SAAS,EACT,WAAW,EACX,QAAQ,EAAE,kBAAkB,EAC5B,YAAY,EACZ,gBAAgB,EAChB,UAAU,EAAE,oBAAoB,EAChC,aAAa,EAAE,uBAAuB,EACtC,YAAY,GACb,EAAE,cAAc,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAiIvC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { FixedColumnOffset } from "../../../hooks/ui/useFixedColumns";
|
|
1
2
|
import React from "react";
|
|
2
3
|
import { ColumnDef, RowAction } from "../../../types";
|
|
3
4
|
export type { BulkAction, ColumnDef, RowAction } from "../../../types";
|
|
@@ -19,6 +20,7 @@ export interface TableBodyProps<T> {
|
|
|
19
20
|
columns: ColumnDef<T>[];
|
|
20
21
|
bordered?: boolean;
|
|
21
22
|
resizableColumns?: boolean;
|
|
23
|
+
fixedColumns?: Record<string, FixedColumnOffset>;
|
|
22
24
|
}
|
|
23
|
-
export declare function TableBody<T>({ isLoading, error, colSpanCount, noDataMessage, paginatedData, getRowId, onRowClick, hasBulkActions, selectedRows, toggleRowSelection, visibleColumnsArray, columnWidths, hasActions, actions, columns, bordered, resizableColumns, }: TableBodyProps<T>): React.JSX.Element;
|
|
25
|
+
export declare function TableBody<T>({ isLoading, error, colSpanCount, noDataMessage, paginatedData, getRowId, onRowClick, hasBulkActions, selectedRows, toggleRowSelection, visibleColumnsArray, columnWidths, hasActions, actions, columns, bordered, resizableColumns, fixedColumns, }: TableBodyProps<T>): React.JSX.Element;
|
|
24
26
|
//# sourceMappingURL=TableBody.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableBody.d.ts","sourceRoot":"","sources":["../../../../src/components/core/table/TableBody.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TableBody.d.ts","sourceRoot":"","sources":["../../../../src/components/core/table/TableBody.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAEpE,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAC/C,YAAY,EAAE,UAAU,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEvE,MAAM,WAAW,cAAc,CAAC,CAAC;IAC/B,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,EAAE,CAAC,EAAE,CAAC;IACnB,QAAQ,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,MAAM,CAAC;IAC7B,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,UAAU,CAAC,mBAAmB,CAAC,KAAK,IAAI,CAAC;IAC5E,cAAc,EAAE,OAAO,CAAC;IACxB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,kBAAkB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,mBAAmB,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;IACpC,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACrC,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;IACzB,OAAO,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC;CAClD;AAED,wBAAgB,SAAS,CAAC,CAAC,EAAE,EAC3B,SAAS,EACT,KAAK,EACL,YAAY,EACZ,aAAa,EACb,aAAa,EACb,QAAQ,EACR,UAAU,EACV,cAAc,EACd,YAAY,EACZ,kBAAkB,EAClB,mBAAmB,EACnB,YAAY,EACZ,UAAU,EACV,OAAO,EACP,OAAO,EACP,QAAgB,EAChB,gBAAwB,EACxB,YAAiB,GAClB,EAAE,cAAc,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CA0HvC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { FixedColumnOffset } from "../../../hooks/ui/useFixedColumns";
|
|
1
2
|
import { ColumnDef } from "../../../types";
|
|
2
3
|
import React from "react";
|
|
3
4
|
export interface TableHeaderProps<T> {
|
|
@@ -19,6 +20,9 @@ export interface TableHeaderProps<T> {
|
|
|
19
20
|
hasActions: boolean;
|
|
20
21
|
settingsNode?: React.ReactNode;
|
|
21
22
|
bordered?: boolean;
|
|
23
|
+
fixedColumns?: Record<string, FixedColumnOffset>;
|
|
24
|
+
fixedSelection?: boolean;
|
|
25
|
+
fixedActions?: boolean;
|
|
22
26
|
}
|
|
23
|
-
export declare function TableHeader<T>({ hasBulkActions, selectedRows, totalItems, toggleSelectAll, visibleColumnsArray, draggableColumns, resizableColumns, columnWidths, sortColumn, sortDirection, handleSort, handleDragStart, handleDragOver, handleDrop, handleMouseDown, hasActions, settingsNode, bordered, }: TableHeaderProps<T>): React.JSX.Element;
|
|
27
|
+
export declare function TableHeader<T>({ hasBulkActions, selectedRows, totalItems, toggleSelectAll, visibleColumnsArray, draggableColumns, resizableColumns, columnWidths, sortColumn, sortDirection, handleSort, handleDragStart, handleDragOver, handleDrop, handleMouseDown, hasActions, settingsNode, bordered, fixedColumns, fixedSelection, fixedActions, }: TableHeaderProps<T>): React.JSX.Element;
|
|
24
28
|
//# sourceMappingURL=TableHeader.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/core/table/TableHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TableHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/core/table/TableHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEpC,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,WAAW,gBAAgB,CAAC,CAAC;IACjC,cAAc,EAAE,OAAO,CAAC;IACxB,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,UAAU,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,MAAM,IAAI,CAAC;IAC5B,mBAAmB,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;IACpC,gBAAgB,EAAE,OAAO,CAAC;IAC1B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACrC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,aAAa,EAAE,KAAK,GAAG,MAAM,CAAC;IAC9B,UAAU,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,eAAe,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,EAAE,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACjE,cAAc,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,EAAE,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAChE,UAAU,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,SAAS,EAAE,eAAe,EAAE,MAAM,KAAK,IAAI,CAAC;IAClE,eAAe,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,EAAE,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAClE,UAAU,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC;IACjD,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAQD,wBAAgB,WAAW,CAAC,CAAC,EAAE,EAC7B,cAAc,EACd,YAAY,EACZ,UAAU,EACV,eAAe,EACf,mBAAmB,EACnB,gBAAgB,EAChB,gBAAgB,EAChB,YAAY,EACZ,UAAU,EACV,aAAa,EACb,UAAU,EACV,eAAe,EACf,cAAc,EACd,UAAU,EACV,eAAe,EACf,UAAU,EACV,YAAY,EACZ,QAAgB,EAChB,YAAiB,EACjB,cAAsB,EACtB,YAAoB,GACrB,EAAE,gBAAgB,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAwHzC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ColumnDef } from "../../../types";
|
|
2
|
+
export type ColumnAlignment = "left" | "center" | "right";
|
|
3
|
+
/**
|
|
4
|
+
* Alignement horizontal d'une colonne, en-tête compris.
|
|
5
|
+
*
|
|
6
|
+
* `align` sur le `ColumnDef` fait autorité. À défaut, l'alignement est déduit de `className` :
|
|
7
|
+
* poser `text-right` sur une colonne de nombres est le réflexe naturel, et l'en-tête doit suivre
|
|
8
|
+
* ses cellules sans qu'on ait à le déclarer deux fois.
|
|
9
|
+
*/
|
|
10
|
+
export declare function getColumnAlignment<T>(column: ColumnDef<T>): ColumnAlignment;
|
|
11
|
+
/** Classe d'alignement à poser sur la cellule, quand elle ne vient pas déjà de `className`. */
|
|
12
|
+
export declare function getAlignmentClass(alignment: ColumnAlignment): string;
|
|
13
|
+
//# sourceMappingURL=columnAlignment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"columnAlignment.d.ts","sourceRoot":"","sources":["../../../../src/components/core/table/columnAlignment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAEzC,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,CAAC;AAQ1D;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC,GAAG,eAAe,CAO3E;AAED,+FAA+F;AAC/F,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,eAAe,GAAG,MAAM,CAEpE"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { FixedColumnOffset } from "../../../hooks/ui/useFixedColumns";
|
|
2
|
+
import type React from "react";
|
|
3
|
+
/** Clés internes des deux colonnes qui n'ont pas de `ColumnDef` : la sélection et les actions. */
|
|
4
|
+
export declare const SELECTION_COLUMN_KEY = "__selection__";
|
|
5
|
+
export declare const ACTIONS_COLUMN_KEY = "__actions__";
|
|
6
|
+
export interface FixedCellProps {
|
|
7
|
+
className: string;
|
|
8
|
+
style: React.CSSProperties;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Classes et style d'une cellule figée, à appliquer aussi bien au `th` qu'au `td` de la colonne.
|
|
12
|
+
*
|
|
13
|
+
* Une cellule figée sort du flux de défilement : le reste de la ligne passe dessous, elle doit
|
|
14
|
+
* donc peindre son propre fond. Les fonds du tableau étant translucides (teinte de l'en-tête,
|
|
15
|
+
* survol de ligne), ils sont rejoués dans un calque `::before` posé sur un fond opaque, sinon la
|
|
16
|
+
* colonne figée serait plus claire ou plus foncée que les colonnes qui défilent.
|
|
17
|
+
*/
|
|
18
|
+
export declare function getFixedCellProps(offset: FixedColumnOffset | undefined, variant: "header" | "body"): FixedCellProps;
|
|
19
|
+
//# sourceMappingURL=fixedColumns.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fixedColumns.d.ts","sourceRoot":"","sources":["../../../../src/components/core/table/fixedColumns.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,kGAAkG;AAClG,eAAO,MAAM,oBAAoB,kBAAkB,CAAC;AACpD,eAAO,MAAM,kBAAkB,gBAAgB,CAAC;AAOhD,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,KAAK,CAAC,aAAa,CAAC;CAC5B;AAED;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,iBAAiB,GAAG,SAAS,EAAE,OAAO,EAAE,QAAQ,GAAG,MAAM,GAAG,cAAc,CAqBnH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/core/table/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/core/table/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC"}
|
|
@@ -1,10 +1,15 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as s, D as l, S as t, T as n, a as T, b, c as g, d as i, e as o, g as C, f as A, h as d } from "../../../DataTable-DYp_uFEn.js";
|
|
2
2
|
export {
|
|
3
|
-
s as
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
3
|
+
s as ACTIONS_COLUMN_KEY,
|
|
4
|
+
l as DataTable,
|
|
5
|
+
t as SELECTION_COLUMN_KEY,
|
|
6
|
+
n as TableActions,
|
|
7
|
+
T as TableBody,
|
|
8
|
+
b as TableBulkActions,
|
|
9
|
+
g as TableHeader,
|
|
10
|
+
i as TablePagination,
|
|
11
|
+
o as TableSettings,
|
|
12
|
+
C as getAlignmentClass,
|
|
13
|
+
A as getColumnAlignment,
|
|
14
|
+
d as getFixedCellProps
|
|
10
15
|
};
|