@krosoft/react 0.0.347 → 0.0.349
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/{AppActions-BWFad11G.js → AppActions-DNYn0HUi.js} +2 -2
- package/dist/{AppSubTitle-CwBthn29.js → AppSubTitle-DG0JQO_2.js} +2 -2
- package/dist/{AppTitle-BmC38bpm.js → AppTitle-BmIuUBxu.js} +1 -1
- package/dist/{ErrorAlert-D3C6XbWD.js → ErrorAlert-DssOWPCS.js} +1 -1
- package/dist/{GenericForm-DgbyNtwm.js → GenericForm-0RClRCcd.js} +6 -6
- package/dist/{ImageInput-BPJ5AwiR.js → ImageInput-CPOTYevx.js} +2 -2
- package/dist/{MultiSelect-CmIK-KEB.js → MultiSelect-a_kQHMOe.js} +3 -3
- package/dist/{SearchInput-Bqn-zWhm.js → SearchInput-BDlQAl-9.js} +4 -4
- package/dist/{behavior-COsb588c.js → behavior-SAdHU_Ew.js} +58 -58
- package/dist/{cards-C3as3YSO.js → cards-B3X4sUq3.js} +2 -2
- package/dist/{charts-CC89IsVe.js → charts-vsA1ZPoV.js} +1 -1
- package/dist/components/core/cards/index.js +1 -1
- package/dist/components/core/charts/index.js +1 -1
- package/dist/components/core/dialogs/index.js +3 -3
- package/dist/components/core/filters/index.js +6 -6
- package/dist/components/core/forms/index.js +1 -1
- package/dist/components/core/index.js +18 -18
- package/dist/components/core/inputs/index.js +4 -4
- package/dist/components/core/language/index.js +1 -1
- package/dist/components/core/layouts/index.js +8 -8
- package/dist/components/core/navbar/index.js +1 -1
- package/dist/components/core/states/index.js +2 -2
- package/dist/components/core/table/DataTable.d.ts.map +1 -1
- package/dist/components/core/table/TableSettings.d.ts +3 -1
- package/dist/components/core/table/TableSettings.d.ts.map +1 -1
- package/dist/components/core/table/index.js +310 -220
- package/dist/components/core/tabs/index.js +5 -5
- package/dist/components/core/theme/index.js +1 -1
- package/dist/components/index.js +18 -18
- package/dist/components/ui/index.js +2 -2
- package/dist/{dialogs-D83zcwAl.js → dialogs-BwxuV1sI.js} +5 -5
- package/dist/helpers/index.js +20 -1
- package/dist/helpers/table.helper.d.ts +10 -1
- package/dist/helpers/table.helper.d.ts.map +1 -1
- package/dist/hooks/behavior/index.js +1 -1
- package/dist/hooks/behavior/useTable.d.ts +3 -1
- package/dist/hooks/behavior/useTable.d.ts.map +1 -1
- package/dist/hooks/index.js +6 -6
- package/dist/hooks/ui/index.js +5 -5
- package/dist/hooks/ui/useDataTable.d.ts +1 -1
- package/dist/hooks/ui/useDataTable.d.ts.map +1 -1
- package/dist/i18n/index.js +1 -1
- package/dist/i18n/krosoftLocales.d.ts +6 -0
- package/dist/i18n/krosoftLocales.d.ts.map +1 -1
- package/dist/{i18n-3KRQA34v.js → i18n-IJZY85S7.js} +6 -0
- package/dist/{inputs-CkE_vmnL.js → inputs-CFHt4Asu.js} +4 -4
- package/dist/{language-C1eieYDM.js → language-C_T5CI5F.js} +2 -2
- package/dist/{navbar-Dx734K-w.js → navbar-B__jqT_n.js} +3 -3
- package/dist/pwa/index.js +1 -1
- package/dist/{sheet-0NJBIygH.js → sheet-C_t76Ttr.js} +1 -1
- package/dist/{states-9YpSp3Na.js → states-DHlx93fV.js} +2 -2
- package/dist/{theme-DE_YkyN8.js → theme-CQeUAOst.js} +2 -2
- package/dist/types/DataTableColumnVisibilityState.d.ts +9 -0
- package/dist/types/DataTableColumnVisibilityState.d.ts.map +1 -0
- package/dist/types/DataTableColumnVisibilityStorage.d.ts +16 -0
- package/dist/types/DataTableColumnVisibilityStorage.d.ts.map +1 -0
- package/dist/types/DataTableConfig.d.ts +15 -0
- package/dist/types/DataTableConfig.d.ts.map +1 -1
- package/dist/types/UseDataTableProps.d.ts +5 -0
- package/dist/types/UseDataTableProps.d.ts.map +1 -1
- package/dist/types/UseDataTableResult.d.ts +2 -0
- package/dist/types/UseDataTableResult.d.ts.map +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/{ui-DerGE_cz.js → ui-DkYZe7sQ.js} +1 -1
- package/dist/{ui-Cb1DWMv_.js → ui-upSp3vBd.js} +4 -4
- package/dist/{useDocumentTitle-Debw93h6.js → useDocumentTitle-TS5jFguv.js} +1 -1
- package/dist/useFixedColumns-Bo-Az3Hp.js +189 -0
- package/dist/{useLanguage-DfuWcRWA.js → useLanguage-hjza5s3o.js} +1 -1
- package/dist/{useTheme-VQiX8TT8.js → useTheme-dRbDEXab.js} +1 -1
- package/package.json +1 -1
- package/dist/useFixedColumns-B2yti0Rk.js +0 -176
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./tailwind.helper-CJaRYBmL.js";
|
|
2
|
-
import { t } from "./i18n-
|
|
3
|
-
import { Bt as n, Ft as r, Gt as i, Nt as a, jt as o } from "./ui-
|
|
2
|
+
import { t } from "./i18n-IJZY85S7.js";
|
|
3
|
+
import { Bt as n, Ft as r, Gt as i, Nt as a, jt as o } from "./ui-DkYZe7sQ.js";
|
|
4
4
|
import { c as s } from "./tooltip-_geGvbS7.js";
|
|
5
5
|
import { t as c } from "./useMobile-pTQ8lWvt.js";
|
|
6
6
|
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./i18n-
|
|
2
|
-
import { t } from "./AppActions-
|
|
1
|
+
import { t as e } from "./i18n-IJZY85S7.js";
|
|
2
|
+
import { t } from "./AppActions-DNYn0HUi.js";
|
|
3
3
|
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/core/layouts/AppSubTitle.tsx
|
|
5
5
|
function i({ titleKey: i, actions: a, className: o }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as e } from "./tailwind.helper-CJaRYBmL.js";
|
|
2
|
-
import { t } from "./i18n-
|
|
2
|
+
import { t } from "./i18n-IJZY85S7.js";
|
|
3
3
|
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
4
|
//#region src/components/core/layouts/AppTitle.tsx
|
|
5
5
|
function i({ titleKey: i, descriptionKey: a, isSubTitle: o, inline: s }) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as e } from "./tailwind.helper-CJaRYBmL.js";
|
|
2
2
|
import { c as t, d as n, s as r } from "./chart-Dq3AIrue.js";
|
|
3
|
-
import { t as i } from "./i18n-
|
|
4
|
-
import { Ct as a, Dt as o, Et as s, Ot as c, St as l, Tt as u, bn as d, p as f } from "./ui-
|
|
3
|
+
import { t as i } from "./i18n-IJZY85S7.js";
|
|
4
|
+
import { Ct as a, Dt as o, Et as s, Ot as c, St as l, Tt as u, bn as d, p as f } from "./ui-DkYZe7sQ.js";
|
|
5
5
|
import { c as p } from "./tooltip-_geGvbS7.js";
|
|
6
|
-
import { g as m } from "./sheet-
|
|
6
|
+
import { g as m } from "./sheet-C_t76Ttr.js";
|
|
7
7
|
import { i as h, l as g, n as ee, t as _, u as v } from "./select-KWMg2_7Z.js";
|
|
8
8
|
import { n as y } from "./useToast-UeDRLovh.js";
|
|
9
|
-
import { t as b } from "./ImageInput-
|
|
10
|
-
import { t as x } from "./AppSubTitle-
|
|
11
|
-
import { t as S } from "./MultiSelect-
|
|
9
|
+
import { t as b } from "./ImageInput-CPOTYevx.js";
|
|
10
|
+
import { t as x } from "./AppSubTitle-DG0JQO_2.js";
|
|
11
|
+
import { t as S } from "./MultiSelect-a_kQHMOe.js";
|
|
12
12
|
import { useEffect as C, useRef as w, useState as T } from "react";
|
|
13
13
|
import { jsx as E, jsxs as D } from "react/jsx-runtime";
|
|
14
14
|
import { useForm as O } from "react-hook-form";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./tailwind.helper-CJaRYBmL.js";
|
|
2
|
-
import { t } from "./i18n-
|
|
3
|
-
import "./ui-
|
|
2
|
+
import { t } from "./i18n-IJZY85S7.js";
|
|
3
|
+
import "./ui-DkYZe7sQ.js";
|
|
4
4
|
import { c as n } from "./tooltip-_geGvbS7.js";
|
|
5
5
|
import { t as r } from "./useNotifications-CyhTruIG.js";
|
|
6
6
|
import { forwardRef as i, useRef as a, useState as o } from "react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./tailwind.helper-CJaRYBmL.js";
|
|
2
|
-
import { t } from "./i18n-
|
|
3
|
-
import { Pn as n, bn as r } from "./ui-
|
|
2
|
+
import { t } from "./i18n-IJZY85S7.js";
|
|
3
|
+
import { Pn as n, bn as r } from "./ui-DkYZe7sQ.js";
|
|
4
4
|
import { a as i, o as a, s as o } from "./tooltip-_geGvbS7.js";
|
|
5
|
-
import { h as s, m as c, p as l } from "./sheet-
|
|
5
|
+
import { h as s, m as c, p as l } from "./sheet-C_t76Ttr.js";
|
|
6
6
|
import { useCallback as u, useLayoutEffect as d, useMemo as f, useRef as p, useState as m } from "react";
|
|
7
7
|
import { Fragment as h, jsx as g, jsxs as _ } from "react/jsx-runtime";
|
|
8
8
|
import { ChevronDownIcon as v, SearchIcon as y, XIcon as b } from "lucide-react";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { t as e } from "./tailwind.helper-CJaRYBmL.js";
|
|
2
|
-
import { r as t, t as n } from "./i18n-
|
|
3
|
-
import { En as r } from "./ui-
|
|
2
|
+
import { r as t, t as n } from "./i18n-IJZY85S7.js";
|
|
3
|
+
import { En as r } from "./ui-DkYZe7sQ.js";
|
|
4
4
|
import { c as i, o as a, s as o } from "./tooltip-_geGvbS7.js";
|
|
5
|
-
import { g as s, h as c, m as l, p as u } from "./sheet-
|
|
5
|
+
import { g as s, h as c, m as l, p as u } from "./sheet-C_t76Ttr.js";
|
|
6
6
|
import { i as d, l as f, n as p, t as m, u as h } from "./select-KWMg2_7Z.js";
|
|
7
|
-
import { n as g, r as _ } from "./MultiSelect-
|
|
7
|
+
import { n as g, r as _ } from "./MultiSelect-a_kQHMOe.js";
|
|
8
8
|
import * as v from "react";
|
|
9
9
|
import { useEffect as y, useMemo as b, useRef as x, useState as S } from "react";
|
|
10
10
|
import { jsx as C, jsxs as w } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./i18n-
|
|
1
|
+
import { t as e } from "./i18n-IJZY85S7.js";
|
|
2
2
|
import { n as t } from "./datatable-COQcYUrk.js";
|
|
3
3
|
import "./constants/index.js";
|
|
4
4
|
import { n, t as r } from "./sidebar.context-BahtU6hE.js";
|
|
@@ -84,78 +84,78 @@ var g = (e) => {
|
|
|
84
84
|
let e = o(r);
|
|
85
85
|
if (e === void 0) throw Error("useSidebar must be used within a SidebarProvider");
|
|
86
86
|
return e;
|
|
87
|
-
}, C = ({ queryKey: e, queryFn: n, defaultSortField: r = "", defaultSortDirection: i = "asc",
|
|
88
|
-
let [
|
|
89
|
-
|
|
90
|
-
}, []), [
|
|
87
|
+
}, C = ({ queryKey: e, queryFn: n, defaultSortField: r = "", defaultSortDirection: i = "asc", defaultPageSize: o = t, additionalQueryParams: d = {}, resetUrlParams: f = [], onResetFilters: p = () => {}, enabled: g = !0 }) => {
|
|
88
|
+
let [_, v] = h(), b = parseInt(_.get("page") || "1", 10), x = _.get("search") || "", S = _.get("sortField") || r, C = _.get("sortDirection") || i, [w, T] = u(b), [E, D] = u(o), O = a((e) => {
|
|
89
|
+
D(e), T(1);
|
|
90
|
+
}, []), [k, A] = u(x), [j, M] = u(S), [N, P] = u(C), [F, I] = y(k, 300), L = l(F);
|
|
91
91
|
s(() => {
|
|
92
|
-
|
|
93
|
-
}, [
|
|
94
|
-
|
|
92
|
+
L.current !== F && w !== 1 && T(1), L.current = F;
|
|
93
|
+
}, [F, w]), s(() => {
|
|
94
|
+
v((e) => (w === 1 ? e.delete("page") : e.set("page", w.toString()), F.trim() ? e.set("search", F.trim()) : e.delete("search"), j && j !== r ? e.set("sortField", j) : e.delete("sortField"), N === i ? e.delete("sortDirection") : e.set("sortDirection", N), e), { replace: !0 });
|
|
95
95
|
}, [
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
96
|
+
w,
|
|
97
|
+
F,
|
|
98
|
+
j,
|
|
99
|
+
N,
|
|
100
100
|
r,
|
|
101
101
|
i,
|
|
102
|
-
|
|
102
|
+
v
|
|
103
103
|
]);
|
|
104
|
-
let
|
|
105
|
-
pageNumber:
|
|
106
|
-
pageSize:
|
|
107
|
-
text:
|
|
108
|
-
...
|
|
104
|
+
let R = c(() => ({
|
|
105
|
+
pageNumber: w,
|
|
106
|
+
pageSize: E,
|
|
107
|
+
text: F.trim() || void 0,
|
|
108
|
+
...d
|
|
109
109
|
}), [
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
]),
|
|
115
|
-
key:
|
|
116
|
-
order:
|
|
117
|
-
}] : [], [
|
|
118
|
-
e && (
|
|
119
|
-
}, [
|
|
120
|
-
|
|
110
|
+
w,
|
|
111
|
+
E,
|
|
112
|
+
F,
|
|
113
|
+
d
|
|
114
|
+
]), z = c(() => j ? [{
|
|
115
|
+
key: j,
|
|
116
|
+
order: N
|
|
117
|
+
}] : [], [j, N]), B = a((e) => {
|
|
118
|
+
e && (j === e ? P(N === "asc" ? "desc" : "asc") : (M(e), P("asc")));
|
|
119
|
+
}, [j, N]), V = a(() => {
|
|
120
|
+
A(""), I(""), T(1), M(r), P(i), v((e) => (e.delete("page"), e.delete("search"), e.delete("sortField"), e.delete("sortDirection"), f.forEach((t) => {
|
|
121
121
|
e.delete(t);
|
|
122
|
-
}), e), { replace: !0 }),
|
|
122
|
+
}), e), { replace: !0 }), p();
|
|
123
123
|
}, [
|
|
124
124
|
r,
|
|
125
125
|
i,
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
]),
|
|
126
|
+
I,
|
|
127
|
+
v,
|
|
128
|
+
f,
|
|
129
|
+
p
|
|
130
|
+
]), H = c(() => [
|
|
131
131
|
...e,
|
|
132
|
-
|
|
133
|
-
|
|
132
|
+
R,
|
|
133
|
+
z
|
|
134
134
|
], [
|
|
135
135
|
e,
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
]), { data:
|
|
139
|
-
queryKey:
|
|
140
|
-
queryFn: () => n(
|
|
141
|
-
enabled:
|
|
136
|
+
R,
|
|
137
|
+
z
|
|
138
|
+
]), { data: U, isLoading: W, error: G, refetch: K } = m({
|
|
139
|
+
queryKey: H,
|
|
140
|
+
queryFn: () => n(R, z),
|
|
141
|
+
enabled: g
|
|
142
142
|
});
|
|
143
143
|
return {
|
|
144
|
-
paginationResult:
|
|
145
|
-
isLoading:
|
|
146
|
-
error:
|
|
147
|
-
refetch:
|
|
148
|
-
pageNumber:
|
|
149
|
-
pageSize:
|
|
150
|
-
setPageNumber:
|
|
151
|
-
setPageSize:
|
|
152
|
-
search:
|
|
153
|
-
debouncedSearch:
|
|
154
|
-
setSearch:
|
|
155
|
-
sortField:
|
|
156
|
-
sortDirection:
|
|
157
|
-
handleSort:
|
|
158
|
-
resetFilters:
|
|
144
|
+
paginationResult: U,
|
|
145
|
+
isLoading: W,
|
|
146
|
+
error: G,
|
|
147
|
+
refetch: K,
|
|
148
|
+
pageNumber: w,
|
|
149
|
+
pageSize: E,
|
|
150
|
+
setPageNumber: T,
|
|
151
|
+
setPageSize: O,
|
|
152
|
+
search: k,
|
|
153
|
+
debouncedSearch: F,
|
|
154
|
+
setSearch: A,
|
|
155
|
+
sortField: j,
|
|
156
|
+
sortDirection: N,
|
|
157
|
+
handleSort: B,
|
|
158
|
+
resetFilters: V
|
|
159
159
|
};
|
|
160
160
|
}, w = "yyyy-MM-dd";
|
|
161
161
|
function T(e, t, n, r) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./tailwind.helper-CJaRYBmL.js";
|
|
2
2
|
import { c as t, d as n, f as r, s as i } from "./chart-Dq3AIrue.js";
|
|
3
|
-
import { t as a } from "./i18n-
|
|
4
|
-
import "./ui-
|
|
3
|
+
import { t as a } from "./i18n-IJZY85S7.js";
|
|
4
|
+
import "./ui-DkYZe7sQ.js";
|
|
5
5
|
import { t as o } from "./skeleton-D6Ga4BLw.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "./tailwind.helper-CJaRYBmL.js";
|
|
2
2
|
import { a as t, c as n, d as r, f as i, l as a, n as o, o as s, r as c, s as l, t as u } from "./chart-Dq3AIrue.js";
|
|
3
|
-
import { t as d } from "./i18n-
|
|
3
|
+
import { t as d } from "./i18n-IJZY85S7.js";
|
|
4
4
|
import { t as f } from "./skeleton-D6Ga4BLw.js";
|
|
5
5
|
import { t as p } from "./useMobile-pTQ8lWvt.js";
|
|
6
6
|
import * as m from "react";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { o as DashboardCard, a as KpiCard, i as KpiCards, r as MetricCard, n as SkeletonCard, t as SkeletonCards } from "../../../cards-
|
|
1
|
+
export { o as DashboardCard, a as KpiCard, i as KpiCards, r as MetricCard, n as SkeletonCard, t as SkeletonCards } from "../../../cards-B3X4sUq3.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { c as BarChartHorizontal, s as BarChartVertical, a as CHART_COLORS, i as ChartCard, r as CircularGauge, n as LineChart, t as PieChart, o as getChartColor } from "../../../charts-
|
|
1
|
+
export { c as BarChartHorizontal, s as BarChartVertical, a as CHART_COLORS, i as ChartCard, r as CircularGauge, n as LineChart, t as PieChart, o as getChartColor } from "../../../charts-vsA1ZPoV.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as e } from "../../../ui-
|
|
2
|
-
import { A as t, D as n, E as r, F as i, M as a, N as o, O as s, P as c, j as l, k as u } from "../../../sheet-
|
|
3
|
-
import { n as d, r as f, t as p } from "../../../dialogs-
|
|
1
|
+
import { I as e } from "../../../ui-DkYZe7sQ.js";
|
|
2
|
+
import { A as t, D as n, E as r, F as i, M as a, N as o, O as s, P as c, j as l, k as u } from "../../../sheet-C_t76Ttr.js";
|
|
3
|
+
import { n as d, r as f, t as p } from "../../../dialogs-BwxuV1sI.js";
|
|
4
4
|
export { f as AppDialog, p as ConfirmationDialog, r as Dialog, n as DialogClose, s as DialogContent, u as DialogDescription, t as DialogFooter, l as DialogHeader, a as DialogOverlay, o as DialogPortal, c as DialogTitle, i as DialogTrigger, d as FormDialog, e as Progress };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as e } from "../../../tailwind.helper-CJaRYBmL.js";
|
|
2
|
-
import { t } from "../../../i18n-
|
|
3
|
-
import { At as n, Jt as r, Kt as i, Pn as a, Xt as o, Zt as s, en as c, n as l, qt as u, t as d, tn as f } from "../../../ui-
|
|
2
|
+
import { t } from "../../../i18n-IJZY85S7.js";
|
|
3
|
+
import { At as n, Jt as r, Kt as i, Pn as a, Xt as o, Zt as s, en as c, n as l, qt as u, t as d, tn as f } from "../../../ui-DkYZe7sQ.js";
|
|
4
4
|
import { a as p, c as m } from "../../../tooltip-_geGvbS7.js";
|
|
5
|
-
import { a as h, g, h as _, l as v, m as y, o as b, p as x, r as S, t as C, u as w } from "../../../sheet-
|
|
5
|
+
import { a as h, g, h as _, l as v, m as y, o as b, p as x, r as S, t as C, u as w } from "../../../sheet-C_t76Ttr.js";
|
|
6
6
|
import { t as T } from "../../../useMobile-pTQ8lWvt.js";
|
|
7
|
-
import { t as E } from "../../../MultiSelect-
|
|
8
|
-
import { i as D, n as O, r as k, t as A } from "../../../SearchInput-
|
|
9
|
-
import "../../../ui-
|
|
7
|
+
import { t as E } from "../../../MultiSelect-a_kQHMOe.js";
|
|
8
|
+
import { i as D, n as O, r as k, t as A } from "../../../SearchInput-BDlQAl-9.js";
|
|
9
|
+
import "../../../ui-upSp3vBd.js";
|
|
10
10
|
import { useEffect as j, useMemo as M, useRef as N, useState as P } from "react";
|
|
11
11
|
import { Fragment as F, jsx as I, jsxs as L } from "react/jsx-runtime";
|
|
12
12
|
import { getLocale as R } from "@krosoft/core/helpers";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as GenericForm } from "../../../GenericForm-
|
|
1
|
+
export { t as GenericForm } from "../../../GenericForm-0RClRCcd.js";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { a as e, i as t, n, o as r, r as i, t as a } from "../../cards-
|
|
2
|
-
import { I as o } from "../../ui-
|
|
3
|
-
import { A as s, D as c, E as l, F as u, M as d, N as f, O as p, P as m, j as h, k as g } from "../../sheet-
|
|
4
|
-
import { a as _, c as v, i as y, n as b, o as x, r as S, s as C, t as w } from "../../charts-
|
|
5
|
-
import { t as T } from "../../ErrorAlert-
|
|
6
|
-
import { n as E, r as D, t as O } from "../../dialogs-
|
|
7
|
-
import { t as k } from "../../ImageInput-
|
|
8
|
-
import { t as A } from "../../AppActions-
|
|
9
|
-
import { t as j } from "../../AppSubTitle-
|
|
10
|
-
import { t as M } from "../../MultiSelect-
|
|
11
|
-
import { t as N } from "../../GenericForm-
|
|
12
|
-
import { i as P, n as F, r as I, t as L } from "../../SearchInput-
|
|
1
|
+
import { a as e, i as t, n, o as r, r as i, t as a } from "../../cards-B3X4sUq3.js";
|
|
2
|
+
import { I as o } from "../../ui-DkYZe7sQ.js";
|
|
3
|
+
import { A as s, D as c, E as l, F as u, M as d, N as f, O as p, P as m, j as h, k as g } from "../../sheet-C_t76Ttr.js";
|
|
4
|
+
import { a as _, c as v, i as y, n as b, o as x, r as S, s as C, t as w } from "../../charts-vsA1ZPoV.js";
|
|
5
|
+
import { t as T } from "../../ErrorAlert-DssOWPCS.js";
|
|
6
|
+
import { n as E, r as D, t as O } from "../../dialogs-BwxuV1sI.js";
|
|
7
|
+
import { t as k } from "../../ImageInput-CPOTYevx.js";
|
|
8
|
+
import { t as A } from "../../AppActions-DNYn0HUi.js";
|
|
9
|
+
import { t as j } from "../../AppSubTitle-DG0JQO_2.js";
|
|
10
|
+
import { t as M } from "../../MultiSelect-a_kQHMOe.js";
|
|
11
|
+
import { t as N } from "../../GenericForm-0RClRCcd.js";
|
|
12
|
+
import { i as P, n as F, r as I, t as L } from "../../SearchInput-BDlQAl-9.js";
|
|
13
13
|
import { ActiveFilters as R, AdvancedFilters as z, ConditionFilter as B, ConditionFilterGroup as V, FilterField as H, FilterPills as U, FilterPillsGroup as W, FiltersContainer as G, FiltersMobileDrawer as K, TableFilter as q } from "./filters/index.js";
|
|
14
14
|
import "./forms/index.js";
|
|
15
15
|
import { n as J, t as Y } from "../../icons-n0m_1w7z.js";
|
|
16
|
-
import { n as X, t as Z } from "../../inputs-
|
|
17
|
-
import { t as Q } from "../../language-
|
|
18
|
-
import { t as $ } from "../../AppTitle-
|
|
19
|
-
import { n as ee, t as te } from "../../states-
|
|
16
|
+
import { n as X, t as Z } from "../../inputs-CFHt4Asu.js";
|
|
17
|
+
import { t as Q } from "../../language-C_T5CI5F.js";
|
|
18
|
+
import { t as $ } from "../../AppTitle-BmIuUBxu.js";
|
|
19
|
+
import { n as ee, t as te } from "../../states-DHlx93fV.js";
|
|
20
20
|
import { AppPageHeader as ne, KpiCardsLayout as re } from "./layouts/index.js";
|
|
21
|
-
import { a as ie, i as ae, n as oe, o as se, r as ce, t as le } from "../../navbar-
|
|
21
|
+
import { a as ie, i as ae, n as oe, o as se, r as ce, t as le } from "../../navbar-B__jqT_n.js";
|
|
22
22
|
import { DataTable as ue, JsonTableOutput as de, TableActions as fe, TableBody as pe, TableBulkActions as me, TableHeader as he, TablePagination as ge, TableSettings as _e } from "./table/index.js";
|
|
23
23
|
import { AppTabContainer as ve, AppTabHeader as ye, AppTabs as be, AppVerticalTabs as xe } from "./tabs/index.js";
|
|
24
|
-
import { t as Se } from "../../theme-
|
|
24
|
+
import { t as Se } from "../../theme-CQeUAOst.js";
|
|
25
25
|
export { R as ActiveFilters, z as AdvancedFilters, A as AppActions, D as AppDialog, ne as AppPageHeader, j as AppSubTitle, ve as AppTabContainer, ye as AppTabHeader, be as AppTabs, $ as AppTitle, xe as AppVerticalTabs, v as BarChartHorizontal, C as BarChartVertical, _ as CHART_COLORS, y as ChartCard, S as CircularGauge, B as ConditionFilter, V as ConditionFilterGroup, O as ConfirmationDialog, r as DashboardCard, ue as DataTable, P as DatePicker, I as DateRangePicker, l as Dialog, c as DialogClose, p as DialogContent, g as DialogDescription, s as DialogFooter, h as DialogHeader, d as DialogOverlay, f as DialogPortal, m as DialogTitle, u as DialogTrigger, T as ErrorAlert, ee as ErrorState, X as FileDropzone, H as FilterField, U as FilterPills, W as FilterPillsGroup, G as FiltersContainer, K as FiltersMobileDrawer, J as FlagFrIcon, Y as FlagGbIcon, E as FormDialog, N as GenericForm, se as GlobalSearch, k as ImageInput, de as JsonTableOutput, e as KpiCard, t as KpiCards, re as KpiCardsLayout, Q as LanguageSelector, b as LineChart, te as LoadingState, i as MetricCard, M as MultiSelect, ie as NotificationsBell, w as PieChart, o as Progress, Z as RatingInput, L as SearchInput, ce as Sidebar, oe as SidebarHeader, ae as SidebarNavItem, F as SingleSelect, n as SkeletonCard, a as SkeletonCards, fe as TableActions, pe as TableBody, me as TableBulkActions, q as TableFilter, he as TableHeader, ge as TablePagination, _e as TableSettings, Se as ThemeSelector, le as Topbar, x as getChartColor };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "../../../ImageInput-
|
|
2
|
-
import { t } from "../../../MultiSelect-
|
|
3
|
-
import { i as n, n as r, r as i, t as a } from "../../../SearchInput-
|
|
4
|
-
import { n as o, t as s } from "../../../inputs-
|
|
1
|
+
import { t as e } from "../../../ImageInput-CPOTYevx.js";
|
|
2
|
+
import { t } from "../../../MultiSelect-a_kQHMOe.js";
|
|
3
|
+
import { i as n, n as r, r as i, t as a } from "../../../SearchInput-BDlQAl-9.js";
|
|
4
|
+
import { n as o, t as s } from "../../../inputs-CFHt4Asu.js";
|
|
5
5
|
export { n as DatePicker, i as DateRangePicker, o as FileDropzone, e as ImageInput, t as MultiSelect, s as RatingInput, a as SearchInput, r as SingleSelect };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as LanguageSelector } from "../../../language-
|
|
1
|
+
export { t as LanguageSelector } from "../../../language-C_T5CI5F.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { t as e } from "../../../i18n-
|
|
2
|
-
import { i as t, t as n } from "../../../cards-
|
|
3
|
-
import "../../../ui-
|
|
1
|
+
import { t as e } from "../../../i18n-IJZY85S7.js";
|
|
2
|
+
import { i as t, t as n } from "../../../cards-B3X4sUq3.js";
|
|
3
|
+
import "../../../ui-DkYZe7sQ.js";
|
|
4
4
|
import { c as r } from "../../../tooltip-_geGvbS7.js";
|
|
5
|
-
import { t as i } from "../../../AppActions-
|
|
6
|
-
import { t as a } from "../../../AppSubTitle-
|
|
7
|
-
import { t as o } from "../../../useDocumentTitle-
|
|
8
|
-
import { t as s } from "../../../AppTitle-
|
|
9
|
-
import { n as c } from "../../../states-
|
|
5
|
+
import { t as i } from "../../../AppActions-DNYn0HUi.js";
|
|
6
|
+
import { t as a } from "../../../AppSubTitle-DG0JQO_2.js";
|
|
7
|
+
import { t as o } from "../../../useDocumentTitle-TS5jFguv.js";
|
|
8
|
+
import { t as s } from "../../../AppTitle-BmIuUBxu.js";
|
|
9
|
+
import { n as c } from "../../../states-DHlx93fV.js";
|
|
10
10
|
import "react";
|
|
11
11
|
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
12
12
|
import { ArrowLeftIcon as d } from "lucide-react";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { o as GlobalSearch, a as NotificationsBell, r as Sidebar, n as SidebarHeader, i as SidebarNavItem, t as Topbar } from "../../../navbar-
|
|
1
|
+
export { o as GlobalSearch, a as NotificationsBell, r as Sidebar, n as SidebarHeader, i as SidebarNavItem, t as Topbar } from "../../../navbar-B__jqT_n.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as e } from "../../../ErrorAlert-
|
|
2
|
-
import { n as t, t as n } from "../../../states-
|
|
1
|
+
import { t as e } from "../../../ErrorAlert-DssOWPCS.js";
|
|
2
|
+
import { n as t, t as n } from "../../../states-DHlx93fV.js";
|
|
3
3
|
export { e as ErrorAlert, t as ErrorState, n as LoadingState };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTable.d.ts","sourceRoot":"","sources":["../../../../src/components/core/table/DataTable.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAOvC,OAAO,KAAK,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAE5E,MAAM,WAAW,cAAc,CAAC,CAAC;IAC/B,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,MAAM,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC;IAC3B,MAAM,CAAC,EAAE,oBAAoB,CAAC;CAC/B;AAED,wBAAgB,SAAS,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,SAAiB,EAAE,KAAY,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,cAAc,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,
|
|
1
|
+
{"version":3,"file":"DataTable.d.ts","sourceRoot":"","sources":["../../../../src/components/core/table/DataTable.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAOvC,OAAO,KAAK,EAAE,eAAe,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAE5E,MAAM,WAAW,cAAc,CAAC,CAAC;IAC/B,IAAI,EAAE,CAAC,EAAE,CAAC;IACV,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,MAAM,EAAE,eAAe,CAAC,CAAC,CAAC,CAAC;IAC3B,MAAM,CAAC,EAAE,oBAAoB,CAAC;CAC/B;AAED,wBAAgB,SAAS,CAAC,CAAC,EAAE,EAAE,IAAI,EAAE,SAAiB,EAAE,KAAY,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,cAAc,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CA+J5H"}
|
|
@@ -4,6 +4,8 @@ export interface TableSettingsProps<T> {
|
|
|
4
4
|
columns: DataTableColumn<T>[];
|
|
5
5
|
visibleColumns: Set<string>;
|
|
6
6
|
toggleColumnVisibility: (columnKey: string) => void;
|
|
7
|
+
/** Bascule groupée pour « Tout » / « Aucun ». Absente : on retombe sur `toggleColumnVisibility` colonne par colonne. */
|
|
8
|
+
setColumnsVisibility?: (columnKeys: string[], visible: boolean) => void;
|
|
7
9
|
}
|
|
8
|
-
export declare function TableSettings<T>({ columns, visibleColumns, toggleColumnVisibility }: TableSettingsProps<T>): React.JSX.Element;
|
|
10
|
+
export declare function TableSettings<T>({ columns, visibleColumns, toggleColumnVisibility, setColumnsVisibility }: TableSettingsProps<T>): React.JSX.Element;
|
|
9
11
|
//# sourceMappingURL=TableSettings.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableSettings.d.ts","sourceRoot":"","sources":["../../../../src/components/core/table/TableSettings.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"TableSettings.d.ts","sourceRoot":"","sources":["../../../../src/components/core/table/TableSettings.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAMjD,OAAO,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAG1D,MAAM,WAAW,kBAAkB,CAAC,CAAC;IACnC,OAAO,EAAE,eAAe,CAAC,CAAC,CAAC,EAAE,CAAC;IAC9B,cAAc,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC5B,sBAAsB,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IACpD,wHAAwH;IACxH,oBAAoB,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;CACzE;AAED,wBAAgB,aAAa,CAAC,CAAC,EAAE,EAAE,OAAO,EAAE,cAAc,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,EAAE,kBAAkB,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CA+GpJ"}
|