@krosoft/react 0.0.163 → 0.0.165
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-DCaejx-3.js → AppActions-DCYt9I0e.js} +1 -1
- package/dist/{AppSubTitle-BNd5_q0i.js → AppSubTitle-DhioA5bv.js} +1 -1
- package/dist/{AppVerticalTabs-NZ02HPGP.js → AppVerticalTabs-DujFNh9f.js} +2 -2
- package/dist/{ConfirmationDialog-Dy_6PcOr.js → ConfirmationDialog-CCZPbD4x.js} +2 -2
- package/dist/{DataTable-CSupYrnN.js → DataTable-BtmAMrZg.js} +146 -144
- package/dist/{GenericForm-Bb4E2Wxd.js → GenericForm-EohJXOt8.js} +4 -4
- package/dist/{ImageInput-CJ419eqw.js → ImageInput-Bbxr8vpu.js} +1 -1
- package/dist/{KpiCardsLayout-CK1TEUc1.js → KpiCardsLayout-DBqGhp0I.js} +3 -3
- package/dist/{MetricCard-D-qPl6zh.js → MetricCard-rL1mIA58.js} +1 -1
- package/dist/{MultiSelect-BPffv2am.js → MultiSelect-B72dsN-1.js} +1 -1
- package/dist/{SearchInput-bwnVKhhE.js → SearchInput-rRYNQ8fq.js} +1 -1
- package/dist/{SkeletonCards-qHukR79N.js → SkeletonCards-BgsWWMun.js} +1 -1
- package/dist/{TableFilter-BjAYRNV9.js → TableFilter-BfWYeTv_.js} +3 -3
- package/dist/components/core/cards/index.js +2 -2
- package/dist/components/core/dialogs/index.js +2 -2
- package/dist/components/core/filters/index.js +1 -1
- package/dist/components/core/forms/index.js +1 -1
- package/dist/components/core/index.js +14 -14
- package/dist/components/core/inputs/index.js +3 -3
- package/dist/components/core/layouts/index.js +3 -3
- package/dist/components/core/table/DataTable.d.ts +1 -1
- package/dist/components/core/table/DataTable.d.ts.map +1 -1
- package/dist/components/core/table/TableBody.d.ts +3 -2
- package/dist/components/core/table/TableBody.d.ts.map +1 -1
- package/dist/components/core/table/index.js +1 -1
- package/dist/components/core/tabs/index.js +1 -1
- package/dist/components/index.js +15 -15
- package/dist/components/ui/index.js +2 -2
- package/dist/{toaster-Du2OlHAd.js → toaster-DTcdwmkK.js} +1 -1
- package/dist/{toggle-group-BASGy2mQ.js → toggle-group-DY9wl0HW.js} +2 -2
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as n, jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { ay as u, aM as t, aA as c, aH as g, aC as d } from "./toggle-group-
|
|
2
|
+
import { ay as u, aM as t, aA as c, aH as g, aC as d } from "./toggle-group-DY9wl0HW.js";
|
|
3
3
|
import "./alert-B78CiTYe.js";
|
|
4
4
|
import "@radix-ui/react-aspect-ratio";
|
|
5
5
|
import { B as p } from "./tooltip-BWyFpIxo.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as i, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useTranslation as l } from "react-i18next";
|
|
3
|
-
import { A as m } from "./AppActions-
|
|
3
|
+
import { A as m } from "./AppActions-DCYt9I0e.js";
|
|
4
4
|
function f({ titleKey: s, actions: t, className: o }) {
|
|
5
5
|
const { t: r } = l();
|
|
6
6
|
return /* @__PURE__ */ i("div", { className: "flex flex-col sm:flex-row sm:items-center justify-between gap-4", children: [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as n, jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import { J as N, N as g, K as v, bN as y, bP as T, bQ as b, bO as w, bA as S } from "./toggle-group-
|
|
3
|
-
import { A as C } from "./AppActions-
|
|
2
|
+
import { J as N, N as g, K as v, bN as y, bP as T, bQ as b, bO as w, bA as S } from "./toggle-group-DY9wl0HW.js";
|
|
3
|
+
import { A as C } from "./AppActions-DCYt9I0e.js";
|
|
4
4
|
import { A } from "./AppTitle-uboDuil4.js";
|
|
5
5
|
import { useTranslation as x } from "react-i18next";
|
|
6
6
|
import { useSearchParams as f } from "react-router-dom";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e, jsxs as r, Fragment as M } from "react/jsx-runtime";
|
|
2
|
-
import { D as q, b as B, P as R, e as W, h as X, c as $, m as J, p as Q, s as F, t as U, q as j, r as V, o as Y } from "./toggle-group-
|
|
2
|
+
import { D as q, b as B, P as R, e as W, h as X, c as $, m as J, p as Q, s as F, t as U, q as j, r as V, o as Y } from "./toggle-group-DY9wl0HW.js";
|
|
3
3
|
import { A as Z, a as _ } from "./alert-B78CiTYe.js";
|
|
4
4
|
import "@radix-ui/react-aspect-ratio";
|
|
5
5
|
import { B as v } from "./tooltip-BWyFpIxo.js";
|
|
@@ -14,7 +14,7 @@ import "next-themes";
|
|
|
14
14
|
import "sonner";
|
|
15
15
|
import { useState as w, useEffect as ee } from "react";
|
|
16
16
|
import { useTranslation as O } from "react-i18next";
|
|
17
|
-
import { G as le } from "./GenericForm-
|
|
17
|
+
import { G as le } from "./GenericForm-EohJXOt8.js";
|
|
18
18
|
import { E as ie } from "./ErrorAlert-DH1onuyt.js";
|
|
19
19
|
function re({ open: t, onOpenChange: c, config: l, isLoading: u, error: s, children: p }) {
|
|
20
20
|
const { t: i } = O(), { title: b, description: m, icon: f, maxWidth: g = "sm:max-w-xl", actions: n } = l;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { u as ae } from "./useDataTable-CxcA5S-s.js";
|
|
3
|
-
import { ay as P, aM as $, aA as W, aC as se, $ as B, az as ie } from "./toggle-group-
|
|
3
|
+
import { ay as P, aM as $, aA as W, aC as se, $ as B, az as ie } from "./toggle-group-DY9wl0HW.js";
|
|
4
4
|
import "./alert-B78CiTYe.js";
|
|
5
5
|
import "@radix-ui/react-aspect-ratio";
|
|
6
|
-
import { B as
|
|
6
|
+
import { B as b } from "./tooltip-BWyFpIxo.js";
|
|
7
7
|
import "@radix-ui/react-collapsible";
|
|
8
8
|
import "./sheet-Gop1cIaU.js";
|
|
9
9
|
import { MoreVerticalIcon as ne, Loader2Icon as le, GripVerticalIcon as de, ArrowUpIcon as oe, ArrowDownIcon as ce, ArrowUpDownIcon as me, ChevronLeftIcon as he, ChevronRightIcon as ge, SettingsIcon as ue } from "lucide-react";
|
|
@@ -15,35 +15,35 @@ import "next-themes";
|
|
|
15
15
|
import "sonner";
|
|
16
16
|
import "react";
|
|
17
17
|
const L = [5, 10, 30, 50, 100], pe = L[1];
|
|
18
|
-
function fe({ actions: d, row:
|
|
19
|
-
const o = d.filter((r) => r.visible === void 0 || r.visible(
|
|
18
|
+
function fe({ actions: d, row: s }) {
|
|
19
|
+
const o = d.filter((r) => r.visible === void 0 || r.visible(s));
|
|
20
20
|
if (o.length === 0)
|
|
21
21
|
return null;
|
|
22
|
-
const
|
|
22
|
+
const i = o.filter((r) => r.overflow !== !0), g = o.filter((r) => r.overflow === !0);
|
|
23
23
|
return /* @__PURE__ */ t("div", { className: "flex items-center justify-center gap-1", children: [
|
|
24
|
-
|
|
24
|
+
i.map((r, h) => {
|
|
25
25
|
var c;
|
|
26
|
-
const
|
|
26
|
+
const m = r.icon;
|
|
27
27
|
return /* @__PURE__ */ t(
|
|
28
|
-
|
|
28
|
+
b,
|
|
29
29
|
{
|
|
30
30
|
variant: r.variant ?? "ghost",
|
|
31
31
|
size: "sm",
|
|
32
|
-
disabled: ((c = r.disabled) == null ? void 0 : c.call(r,
|
|
32
|
+
disabled: ((c = r.disabled) == null ? void 0 : c.call(r, s)) ?? !1,
|
|
33
33
|
className: `h-7 px-2 text-muted-foreground hover:text-foreground ${r.className ?? ""}`,
|
|
34
|
-
onClick: (
|
|
35
|
-
|
|
34
|
+
onClick: (l) => {
|
|
35
|
+
l.stopPropagation(), r.onClick(s);
|
|
36
36
|
},
|
|
37
37
|
children: [
|
|
38
|
-
|
|
38
|
+
m !== void 0 && /* @__PURE__ */ e(m, { className: "size-3.5" }),
|
|
39
39
|
r.label
|
|
40
40
|
]
|
|
41
41
|
},
|
|
42
42
|
h
|
|
43
43
|
);
|
|
44
44
|
}),
|
|
45
|
-
|
|
46
|
-
/* @__PURE__ */ e($, { asChild: !0, children: /* @__PURE__ */ e(
|
|
45
|
+
g.length > 0 && /* @__PURE__ */ t(P, { children: [
|
|
46
|
+
/* @__PURE__ */ e($, { asChild: !0, children: /* @__PURE__ */ e(b, { variant: "ghost", size: "icon", className: "h-7 w-7 text-muted-foreground hover:text-foreground", children: /* @__PURE__ */ e(ne, { className: "size-3.5" }) }) }),
|
|
47
47
|
/* @__PURE__ */ e(
|
|
48
48
|
W,
|
|
49
49
|
{
|
|
@@ -51,19 +51,19 @@ function fe({ actions: d, row: a }) {
|
|
|
51
51
|
onClick: (r) => {
|
|
52
52
|
r.stopPropagation();
|
|
53
53
|
},
|
|
54
|
-
children:
|
|
54
|
+
children: g.map((r, h) => {
|
|
55
55
|
var c;
|
|
56
|
-
const
|
|
56
|
+
const m = r.icon;
|
|
57
57
|
return /* @__PURE__ */ t(
|
|
58
58
|
se,
|
|
59
59
|
{
|
|
60
|
-
disabled: ((c = r.disabled) == null ? void 0 : c.call(r,
|
|
60
|
+
disabled: ((c = r.disabled) == null ? void 0 : c.call(r, s)) ?? !1,
|
|
61
61
|
onClick: () => {
|
|
62
|
-
r.onClick(
|
|
62
|
+
r.onClick(s);
|
|
63
63
|
},
|
|
64
64
|
className: r.className,
|
|
65
65
|
children: [
|
|
66
|
-
|
|
66
|
+
m !== void 0 && /* @__PURE__ */ e("span", { className: "mr-2 size-4 flex items-center justify-center", children: /* @__PURE__ */ e(m, { className: "size-4" }) }),
|
|
67
67
|
r.label
|
|
68
68
|
]
|
|
69
69
|
},
|
|
@@ -77,68 +77,69 @@ function fe({ actions: d, row: a }) {
|
|
|
77
77
|
}
|
|
78
78
|
function xe({
|
|
79
79
|
isLoading: d,
|
|
80
|
-
colSpanCount:
|
|
80
|
+
colSpanCount: s,
|
|
81
81
|
noDataMessage: o,
|
|
82
|
-
paginatedData:
|
|
83
|
-
getRowId:
|
|
82
|
+
paginatedData: i,
|
|
83
|
+
getRowId: g,
|
|
84
84
|
onRowClick: r,
|
|
85
85
|
hasBulkActions: h,
|
|
86
|
-
selectedRows:
|
|
86
|
+
selectedRows: m,
|
|
87
87
|
toggleRowSelection: c,
|
|
88
|
-
visibleColumnsArray:
|
|
89
|
-
columnWidths:
|
|
88
|
+
visibleColumnsArray: l,
|
|
89
|
+
columnWidths: v,
|
|
90
90
|
hasActions: z,
|
|
91
|
-
actions:
|
|
91
|
+
actions: y,
|
|
92
92
|
columns: w,
|
|
93
|
-
bordered:
|
|
93
|
+
bordered: N = !1,
|
|
94
|
+
resizableColumns: D = !1
|
|
94
95
|
}) {
|
|
95
|
-
const
|
|
96
|
-
const
|
|
97
|
-
if ((
|
|
98
|
-
return
|
|
99
|
-
const x = u
|
|
96
|
+
const k = (p, u) => {
|
|
97
|
+
const n = w.find((a) => a.key === u);
|
|
98
|
+
if ((n == null ? void 0 : n.renderCell) !== void 0)
|
|
99
|
+
return n.renderCell(p);
|
|
100
|
+
const x = p[u];
|
|
100
101
|
return /* @__PURE__ */ e("span", { className: "text-sm truncate", children: x != null ? String(x) : "-" });
|
|
101
102
|
};
|
|
102
|
-
return d ? /* @__PURE__ */ e("tbody", { className: "divide-y divide-gray-200 dark:divide-gray-800", children: /* @__PURE__ */ e("tr", { children: /* @__PURE__ */ e("td", { colSpan:
|
|
103
|
+
return d ? /* @__PURE__ */ e("tbody", { className: "divide-y divide-gray-200 dark:divide-gray-800", children: /* @__PURE__ */ e("tr", { children: /* @__PURE__ */ e("td", { colSpan: s, className: "py-8 text-center", children: /* @__PURE__ */ t("div", { className: "flex flex-col items-center justify-center gap-2 text-muted-foreground", children: [
|
|
103
104
|
/* @__PURE__ */ e(le, { className: "h-6 w-6 animate-spin text-primary" }),
|
|
104
105
|
/* @__PURE__ */ e("span", { className: "text-sm", children: "Chargement..." })
|
|
105
|
-
] }) }) }) }) :
|
|
106
|
-
const
|
|
106
|
+
] }) }) }) }) : i.length === 0 ? /* @__PURE__ */ e("tbody", { className: "divide-y divide-gray-200 dark:divide-gray-800", children: /* @__PURE__ */ e("tr", { children: /* @__PURE__ */ e("td", { colSpan: s, className: "py-8 text-center text-sm text-muted-foreground", children: o }) }) }) : /* @__PURE__ */ e("tbody", { className: "divide-y divide-gray-200 dark:divide-gray-800", children: i.map((p) => {
|
|
107
|
+
const u = g(p);
|
|
107
108
|
return /* @__PURE__ */ t(
|
|
108
109
|
"tr",
|
|
109
110
|
{
|
|
110
111
|
className: `group hover:bg-muted/50 dark:hover:bg-gray-900/50 transition-colors ${r !== void 0 ? "cursor-pointer" : ""}`,
|
|
111
|
-
onClick: () => r == null ? void 0 : r(
|
|
112
|
+
onClick: (n) => r == null ? void 0 : r(p, n),
|
|
112
113
|
children: [
|
|
113
114
|
h ? /* @__PURE__ */ e(
|
|
114
115
|
"td",
|
|
115
116
|
{
|
|
116
117
|
className: "p-1 text-center align-middle",
|
|
117
118
|
style: { width: "32px", minWidth: "32px", maxWidth: "32px" },
|
|
118
|
-
onClick: (
|
|
119
|
-
|
|
119
|
+
onClick: (n) => {
|
|
120
|
+
n.stopPropagation();
|
|
120
121
|
},
|
|
121
122
|
children: /* @__PURE__ */ e("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ e(
|
|
122
123
|
B,
|
|
123
124
|
{
|
|
124
|
-
checked:
|
|
125
|
+
checked: m.includes(u),
|
|
125
126
|
onCheckedChange: () => {
|
|
126
|
-
c(
|
|
127
|
+
c(u);
|
|
127
128
|
}
|
|
128
129
|
}
|
|
129
130
|
) })
|
|
130
131
|
}
|
|
131
132
|
) : null,
|
|
132
|
-
|
|
133
|
-
const
|
|
133
|
+
l.map((n, x) => {
|
|
134
|
+
const a = x === l.length - 1;
|
|
134
135
|
return /* @__PURE__ */ e(
|
|
135
136
|
"td",
|
|
136
137
|
{
|
|
137
|
-
className: `px-2 py-2 relative ${
|
|
138
|
-
style: { width:
|
|
139
|
-
children: /* @__PURE__ */ e("div", { className: "w-full h-full", children:
|
|
138
|
+
className: `px-2 py-2 relative ${N && !a ? "border-r border-gray-100 dark:border-gray-800" : ""} ${n.className ?? ""}`,
|
|
139
|
+
style: D ? { width: v[n.key] } : { minWidth: v[n.key] },
|
|
140
|
+
children: /* @__PURE__ */ e("div", { className: "w-full h-full", children: k(p, n.key) })
|
|
140
141
|
},
|
|
141
|
-
|
|
142
|
+
n.key
|
|
142
143
|
);
|
|
143
144
|
}),
|
|
144
145
|
z ? /* @__PURE__ */ e(
|
|
@@ -146,54 +147,54 @@ function xe({
|
|
|
146
147
|
{
|
|
147
148
|
className: "p-1 text-center align-middle whitespace-nowrap",
|
|
148
149
|
style: { minWidth: "32px" },
|
|
149
|
-
onClick: (
|
|
150
|
-
|
|
150
|
+
onClick: (n) => {
|
|
151
|
+
n.stopPropagation();
|
|
151
152
|
},
|
|
152
|
-
children:
|
|
153
|
+
children: y !== void 0 && y.length > 0 ? /* @__PURE__ */ e("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ e(fe, { actions: y, row: p }) }) : null
|
|
153
154
|
}
|
|
154
155
|
) : null
|
|
155
156
|
]
|
|
156
157
|
},
|
|
157
|
-
|
|
158
|
+
u
|
|
158
159
|
);
|
|
159
160
|
}) });
|
|
160
161
|
}
|
|
161
|
-
function ve({ selectedRows: d, setSelectedRows:
|
|
162
|
+
function ve({ selectedRows: d, setSelectedRows: s, bulkActions: o }) {
|
|
162
163
|
return /* @__PURE__ */ t("div", { className: "bg-muted/60 dark:bg-gray-900/60 border border-border px-3 py-1.5 flex items-center justify-between rounded-lg", children: [
|
|
163
164
|
/* @__PURE__ */ t("div", { className: "flex items-center gap-4", children: [
|
|
164
165
|
/* @__PURE__ */ t("span", { className: "text-sm font-medium text-primary ml-1", children: [
|
|
165
166
|
d.length,
|
|
166
167
|
" sélectionné(s)"
|
|
167
168
|
] }),
|
|
168
|
-
/* @__PURE__ */ e("div", { className: "flex items-center gap-2", children: o.map((
|
|
169
|
-
const r =
|
|
169
|
+
/* @__PURE__ */ e("div", { className: "flex items-center gap-2", children: o.map((i, g) => {
|
|
170
|
+
const r = i.icon;
|
|
170
171
|
return /* @__PURE__ */ t(
|
|
171
|
-
|
|
172
|
+
b,
|
|
172
173
|
{
|
|
173
174
|
variant: "outline",
|
|
174
175
|
size: "sm",
|
|
175
176
|
onClick: () => {
|
|
176
|
-
|
|
177
|
-
|
|
177
|
+
i.onClick(d, () => {
|
|
178
|
+
s([]);
|
|
178
179
|
});
|
|
179
180
|
},
|
|
180
|
-
className: `h-7 bg-background shadow-sm text-xs px-2.5 ${
|
|
181
|
+
className: `h-7 bg-background shadow-sm text-xs px-2.5 ${i.variant === "destructive" ? "text-destructive border-destructive/30 hover:bg-destructive/10 hover:text-destructive" : "text-foreground"}`,
|
|
181
182
|
children: [
|
|
182
183
|
r !== void 0 && /* @__PURE__ */ e("span", { className: "mr-1.5 flex items-center justify-center", children: /* @__PURE__ */ e(r, { className: "h-3.5 w-3.5" }) }),
|
|
183
|
-
|
|
184
|
+
i.label
|
|
184
185
|
]
|
|
185
186
|
},
|
|
186
|
-
|
|
187
|
+
g
|
|
187
188
|
);
|
|
188
189
|
}) })
|
|
189
190
|
] }),
|
|
190
191
|
/* @__PURE__ */ e(
|
|
191
|
-
|
|
192
|
+
b,
|
|
192
193
|
{
|
|
193
194
|
variant: "ghost",
|
|
194
195
|
size: "sm",
|
|
195
196
|
onClick: () => {
|
|
196
|
-
|
|
197
|
+
s([]);
|
|
197
198
|
},
|
|
198
199
|
className: "text-xs text-muted-foreground hover:text-foreground h-7 px-2",
|
|
199
200
|
children: "Désélectionner"
|
|
@@ -201,30 +202,30 @@ function ve({ selectedRows: d, setSelectedRows: a, bulkActions: o }) {
|
|
|
201
202
|
)
|
|
202
203
|
] });
|
|
203
204
|
}
|
|
204
|
-
function
|
|
205
|
+
function ye({
|
|
205
206
|
hasBulkActions: d,
|
|
206
|
-
selectedRows:
|
|
207
|
+
selectedRows: s,
|
|
207
208
|
totalItems: o,
|
|
208
|
-
toggleSelectAll:
|
|
209
|
-
visibleColumnsArray:
|
|
209
|
+
toggleSelectAll: i,
|
|
210
|
+
visibleColumnsArray: g,
|
|
210
211
|
draggableColumns: r,
|
|
211
212
|
resizableColumns: h,
|
|
212
|
-
columnWidths:
|
|
213
|
+
columnWidths: m,
|
|
213
214
|
sortColumn: c,
|
|
214
|
-
sortDirection:
|
|
215
|
-
handleSort:
|
|
215
|
+
sortDirection: l,
|
|
216
|
+
handleSort: v,
|
|
216
217
|
handleDragStart: z,
|
|
217
|
-
handleDragOver:
|
|
218
|
+
handleDragOver: y,
|
|
218
219
|
handleDrop: w,
|
|
219
|
-
handleMouseDown:
|
|
220
|
+
handleMouseDown: N,
|
|
220
221
|
hasActions: D,
|
|
221
|
-
settingsNode:
|
|
222
|
+
settingsNode: k,
|
|
222
223
|
bordered: p = !1
|
|
223
224
|
}) {
|
|
224
|
-
let
|
|
225
|
-
|
|
226
|
-
const
|
|
227
|
-
const S = I !== !1, C =
|
|
225
|
+
let u = !1;
|
|
226
|
+
s.length === o && o > 0 ? u = !0 : s.length > 0 && (u = "indeterminate");
|
|
227
|
+
const n = (a) => a.sortable !== !0 ? null : c === a.key ? l === "asc" ? /* @__PURE__ */ e(oe, { className: "size-3.5 text-foreground" }) : /* @__PURE__ */ e(ce, { className: "size-3.5 text-foreground" }) : /* @__PURE__ */ e(me, { className: "size-3.5 text-muted-foreground/50 group-hover:text-muted-foreground transition-colors" }), x = (a, I) => {
|
|
228
|
+
const S = I !== !1, C = a.sortable === !0;
|
|
228
229
|
return /* @__PURE__ */ t(
|
|
229
230
|
"th",
|
|
230
231
|
{
|
|
@@ -232,64 +233,64 @@ function be({
|
|
|
232
233
|
"px-2 py-2 text-left text-sm font-medium text-gray-900 dark:text-gray-100 relative group",
|
|
233
234
|
p ? "border-r border-gray-200 dark:border-gray-800" : "",
|
|
234
235
|
C ? "cursor-pointer select-none" : "",
|
|
235
|
-
|
|
236
|
+
a.className ?? ""
|
|
236
237
|
].filter(Boolean).join(" "),
|
|
237
|
-
style: { width:
|
|
238
|
+
style: h ? { width: m[a.key] } : { minWidth: m[a.key] },
|
|
238
239
|
draggable: S,
|
|
239
240
|
onClick: () => {
|
|
240
|
-
|
|
241
|
+
v(a.key);
|
|
241
242
|
},
|
|
242
243
|
onDragStart: (f) => {
|
|
243
|
-
S ? z(f,
|
|
244
|
+
S ? z(f, a.key) : f.preventDefault();
|
|
244
245
|
},
|
|
245
246
|
onDragOver: (f) => {
|
|
246
|
-
|
|
247
|
+
y(f, a.key);
|
|
247
248
|
},
|
|
248
249
|
onDrop: (f) => {
|
|
249
|
-
w(f,
|
|
250
|
+
w(f, a.key);
|
|
250
251
|
},
|
|
251
252
|
children: [
|
|
252
253
|
/* @__PURE__ */ t("div", { className: "flex items-center justify-between pr-2", children: [
|
|
253
254
|
/* @__PURE__ */ t("div", { className: "flex items-center gap-1", children: [
|
|
254
255
|
S ? /* @__PURE__ */ e(de, { className: "size-4 text-gray-400 cursor-grab dark:text-gray-300 shrink-0" }) : null,
|
|
255
|
-
/* @__PURE__ */ e("span", { className: "truncate", children:
|
|
256
|
+
/* @__PURE__ */ e("span", { className: "truncate", children: a.label })
|
|
256
257
|
] }),
|
|
257
|
-
/* @__PURE__ */ e("div", { className: "ml-1 shrink-0", children:
|
|
258
|
+
/* @__PURE__ */ e("div", { className: "ml-1 shrink-0", children: n(a) })
|
|
258
259
|
] }),
|
|
259
260
|
h ? /* @__PURE__ */ e(
|
|
260
261
|
"div",
|
|
261
262
|
{
|
|
262
263
|
className: "absolute right-0 top-0 bottom-0 w-2 cursor-col-resize hover:bg-blue-500 opacity-0 group-hover:opacity-50 transition-opacity",
|
|
263
264
|
onMouseDown: (f) => {
|
|
264
|
-
|
|
265
|
+
N(f, a.key);
|
|
265
266
|
}
|
|
266
267
|
}
|
|
267
268
|
) : null
|
|
268
269
|
]
|
|
269
270
|
},
|
|
270
|
-
|
|
271
|
+
a.key
|
|
271
272
|
);
|
|
272
273
|
};
|
|
273
274
|
return /* @__PURE__ */ e("thead", { className: "bg-muted/50 dark:bg-gray-900/50 border-b border-gray-200 dark:border-gray-800", children: /* @__PURE__ */ t("tr", { children: [
|
|
274
|
-
d ? /* @__PURE__ */ e("th", { className: "p-1 flex-shrink-0 text-center align-middle", style: { width: "32px", minWidth: "32px", maxWidth: "32px" }, children: /* @__PURE__ */ e("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ e(B, { checked:
|
|
275
|
-
|
|
276
|
-
D ||
|
|
275
|
+
d ? /* @__PURE__ */ e("th", { className: "p-1 flex-shrink-0 text-center align-middle", style: { width: "32px", minWidth: "32px", maxWidth: "32px" }, children: /* @__PURE__ */ e("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ e(B, { checked: u, onCheckedChange: i }) }) }) : null,
|
|
276
|
+
g.map((a) => x(a, r)),
|
|
277
|
+
D || k !== void 0 ? /* @__PURE__ */ e("th", { className: "p-1 text-center align-middle", style: { minWidth: "32px" }, children: k }) : null
|
|
277
278
|
] }) });
|
|
278
279
|
}
|
|
279
|
-
function
|
|
280
|
+
function be({
|
|
280
281
|
totalItems: d,
|
|
281
|
-
startIndex:
|
|
282
|
+
startIndex: s,
|
|
282
283
|
endIndex: o,
|
|
283
|
-
pageSize:
|
|
284
|
-
setPageSize:
|
|
284
|
+
pageSize: i,
|
|
285
|
+
setPageSize: g,
|
|
285
286
|
currentPage: r,
|
|
286
287
|
setCurrentPage: h,
|
|
287
|
-
pageSizeOptions:
|
|
288
|
+
pageSizeOptions: m,
|
|
288
289
|
totalPages: c
|
|
289
290
|
}) {
|
|
290
291
|
return /* @__PURE__ */ t("div", { className: "px-4 py-2 border-t border-gray-200 dark:border-gray-800 flex items-center justify-between bg-muted/50 dark:bg-gray-900/50 flex-wrap gap-2", children: [
|
|
291
292
|
/* @__PURE__ */ t("div", { className: "text-sm text-muted-foreground", children: [
|
|
292
|
-
d === 0 ? "0" : `${String(
|
|
293
|
+
d === 0 ? "0" : `${String(s + 1)} - ${String(o)}`,
|
|
293
294
|
" sur ",
|
|
294
295
|
d
|
|
295
296
|
] }),
|
|
@@ -299,24 +300,24 @@ function ye({
|
|
|
299
300
|
/* @__PURE__ */ e(
|
|
300
301
|
"select",
|
|
301
302
|
{
|
|
302
|
-
value:
|
|
303
|
-
onChange: (
|
|
304
|
-
|
|
303
|
+
value: i,
|
|
304
|
+
onChange: (l) => {
|
|
305
|
+
g(Number(l.target.value)), h(1);
|
|
305
306
|
},
|
|
306
307
|
className: "border border-input bg-background rounded px-2 py-1 text-sm text-foreground",
|
|
307
|
-
children:
|
|
308
|
+
children: m.map((l) => /* @__PURE__ */ e("option", { value: l, children: l }, l))
|
|
308
309
|
}
|
|
309
310
|
)
|
|
310
311
|
] }),
|
|
311
312
|
/* @__PURE__ */ t("div", { className: "flex items-center gap-2", children: [
|
|
312
313
|
/* @__PURE__ */ e(
|
|
313
|
-
|
|
314
|
+
b,
|
|
314
315
|
{
|
|
315
316
|
variant: "outline",
|
|
316
317
|
size: "sm",
|
|
317
318
|
className: "h-8 w-8 p-0",
|
|
318
319
|
onClick: () => {
|
|
319
|
-
h((
|
|
320
|
+
h((l) => Math.max(1, l - 1));
|
|
320
321
|
},
|
|
321
322
|
disabled: r === 1,
|
|
322
323
|
children: /* @__PURE__ */ e(he, { className: "size-4" })
|
|
@@ -329,13 +330,13 @@ function ye({
|
|
|
329
330
|
c
|
|
330
331
|
] }),
|
|
331
332
|
/* @__PURE__ */ e(
|
|
332
|
-
|
|
333
|
+
b,
|
|
333
334
|
{
|
|
334
335
|
variant: "outline",
|
|
335
336
|
size: "sm",
|
|
336
337
|
className: "h-8 w-8 p-0",
|
|
337
338
|
onClick: () => {
|
|
338
|
-
h((
|
|
339
|
+
h((l) => Math.min(c, l + 1));
|
|
339
340
|
},
|
|
340
341
|
disabled: r === c,
|
|
341
342
|
children: /* @__PURE__ */ e(ge, { className: "size-4" })
|
|
@@ -345,45 +346,45 @@ function ye({
|
|
|
345
346
|
] })
|
|
346
347
|
] });
|
|
347
348
|
}
|
|
348
|
-
function Ne({ columns: d, visibleColumns:
|
|
349
|
+
function Ne({ columns: d, visibleColumns: s, toggleColumnVisibility: o }) {
|
|
349
350
|
return /* @__PURE__ */ t(P, { children: [
|
|
350
|
-
/* @__PURE__ */ e($, { asChild: !0, children: /* @__PURE__ */ e(
|
|
351
|
-
/* @__PURE__ */ e(W, { align: "end", className: "w-56", children: d.map((
|
|
351
|
+
/* @__PURE__ */ e($, { asChild: !0, children: /* @__PURE__ */ e(b, { variant: "outline", size: "sm", className: "size-7 p-0 bg-white hover:bg-gray-100 dark:bg-gray-900 shadow-sm border-gray-200 dark:border-gray-800", children: /* @__PURE__ */ e(ue, { className: "size-3.5 text-gray-600 dark:text-gray-300" }) }) }),
|
|
352
|
+
/* @__PURE__ */ e(W, { align: "end", className: "w-56", children: d.map((i) => /* @__PURE__ */ e(
|
|
352
353
|
ie,
|
|
353
354
|
{
|
|
354
|
-
checked:
|
|
355
|
+
checked: s.has(i.key),
|
|
355
356
|
onCheckedChange: () => {
|
|
356
|
-
o(
|
|
357
|
+
o(i.key);
|
|
357
358
|
},
|
|
358
|
-
children:
|
|
359
|
+
children: i.label
|
|
359
360
|
},
|
|
360
|
-
|
|
361
|
+
i.key
|
|
361
362
|
)) })
|
|
362
363
|
] });
|
|
363
364
|
}
|
|
364
365
|
function He({
|
|
365
366
|
data: d,
|
|
366
|
-
columns:
|
|
367
|
+
columns: s,
|
|
367
368
|
getRowId: o,
|
|
368
|
-
onRowClick:
|
|
369
|
-
actions:
|
|
369
|
+
onRowClick: i,
|
|
370
|
+
actions: g,
|
|
370
371
|
bulkActions: r,
|
|
371
372
|
draggableColumns: h = !1,
|
|
372
|
-
resizableColumns:
|
|
373
|
+
resizableColumns: m = !1,
|
|
373
374
|
columnVisibility: c = !1,
|
|
374
|
-
isLoading:
|
|
375
|
-
bordered:
|
|
375
|
+
isLoading: l = !1,
|
|
376
|
+
bordered: v = !1,
|
|
376
377
|
noDataMessage: z = "Aucun résultat",
|
|
377
|
-
defaultPageSize:
|
|
378
|
+
defaultPageSize: y = pe,
|
|
378
379
|
pageSizeOptions: w = L,
|
|
379
|
-
totalRows:
|
|
380
|
+
totalRows: N,
|
|
380
381
|
currentPage: D,
|
|
381
|
-
pageSize:
|
|
382
|
+
pageSize: k,
|
|
382
383
|
onPageChange: p,
|
|
383
|
-
onPageSizeChange:
|
|
384
|
-
sortColumn:
|
|
385
|
-
sortDirection:
|
|
386
|
-
onSortChange:
|
|
384
|
+
onPageSizeChange: u,
|
|
385
|
+
sortColumn: n,
|
|
386
|
+
sortDirection: x,
|
|
387
|
+
onSortChange: a
|
|
387
388
|
}) {
|
|
388
389
|
const {
|
|
389
390
|
sortColumn: I,
|
|
@@ -415,27 +416,27 @@ function He({
|
|
|
415
416
|
setCurrentPage: te
|
|
416
417
|
} = ae({
|
|
417
418
|
data: d,
|
|
418
|
-
columns:
|
|
419
|
+
columns: s,
|
|
419
420
|
getRowId: o,
|
|
420
|
-
defaultPageSize:
|
|
421
|
-
actions:
|
|
421
|
+
defaultPageSize: y,
|
|
422
|
+
actions: g,
|
|
422
423
|
bulkActions: r,
|
|
423
424
|
columnVisibility: c,
|
|
424
|
-
totalRows:
|
|
425
|
+
totalRows: N,
|
|
425
426
|
currentPage: D,
|
|
426
|
-
pageSize:
|
|
427
|
+
pageSize: k,
|
|
427
428
|
onPageChange: p,
|
|
428
|
-
onPageSizeChange:
|
|
429
|
-
sortColumn:
|
|
430
|
-
sortDirection:
|
|
431
|
-
onSortChange:
|
|
429
|
+
onPageSizeChange: u,
|
|
430
|
+
sortColumn: n,
|
|
431
|
+
sortDirection: x,
|
|
432
|
+
onSortChange: a
|
|
432
433
|
});
|
|
433
434
|
return /* @__PURE__ */ t("div", { className: "space-y-4", children: [
|
|
434
435
|
C.length > 0 && r !== void 0 && r.length > 0 && /* @__PURE__ */ e(ve, { selectedRows: C, setSelectedRows: f, bulkActions: r }),
|
|
435
436
|
/* @__PURE__ */ t("div", { className: "w-full bg-card dark:bg-gray-950 rounded-md border border-gray-200 dark:border-gray-800 overflow-hidden", children: [
|
|
436
437
|
/* @__PURE__ */ e("div", { className: "overflow-x-auto", children: /* @__PURE__ */ t("table", { ref: q, className: "w-full", children: [
|
|
437
438
|
/* @__PURE__ */ e(
|
|
438
|
-
|
|
439
|
+
ye,
|
|
439
440
|
{
|
|
440
441
|
hasBulkActions: M,
|
|
441
442
|
selectedRows: C,
|
|
@@ -443,7 +444,7 @@ function He({
|
|
|
443
444
|
toggleSelectAll: R,
|
|
444
445
|
visibleColumnsArray: T,
|
|
445
446
|
draggableColumns: h,
|
|
446
|
-
resizableColumns:
|
|
447
|
+
resizableColumns: m,
|
|
447
448
|
columnWidths: j,
|
|
448
449
|
sortColumn: I,
|
|
449
450
|
sortDirection: S,
|
|
@@ -453,35 +454,36 @@ function He({
|
|
|
453
454
|
handleDrop: Z,
|
|
454
455
|
handleMouseDown: Q,
|
|
455
456
|
hasActions: A,
|
|
456
|
-
bordered:
|
|
457
|
-
settingsNode: c ? /* @__PURE__ */ e(Ne, { columns:
|
|
457
|
+
bordered: v,
|
|
458
|
+
settingsNode: c ? /* @__PURE__ */ e(Ne, { columns: s, visibleColumns: H, toggleColumnVisibility: _ }) : void 0
|
|
458
459
|
}
|
|
459
460
|
),
|
|
460
461
|
/* @__PURE__ */ e(
|
|
461
462
|
xe,
|
|
462
463
|
{
|
|
463
|
-
bordered:
|
|
464
|
-
isLoading:
|
|
464
|
+
bordered: v,
|
|
465
|
+
isLoading: l,
|
|
465
466
|
colSpanCount: E,
|
|
466
467
|
noDataMessage: z,
|
|
467
468
|
paginatedData: F,
|
|
468
469
|
getRowId: o,
|
|
469
|
-
onRowClick:
|
|
470
|
+
onRowClick: i,
|
|
470
471
|
hasBulkActions: M,
|
|
471
472
|
selectedRows: C,
|
|
472
473
|
toggleRowSelection: K,
|
|
473
474
|
visibleColumnsArray: T,
|
|
474
475
|
columnWidths: j,
|
|
475
476
|
hasActions: A || c,
|
|
476
|
-
actions:
|
|
477
|
-
columns:
|
|
477
|
+
actions: g,
|
|
478
|
+
columns: s,
|
|
479
|
+
resizableColumns: m
|
|
478
480
|
}
|
|
479
481
|
)
|
|
480
482
|
] }) }),
|
|
481
483
|
/* @__PURE__ */ e(
|
|
482
|
-
|
|
484
|
+
be,
|
|
483
485
|
{
|
|
484
|
-
totalItems:
|
|
486
|
+
totalItems: N ?? d.length,
|
|
485
487
|
startIndex: V,
|
|
486
488
|
endIndex: G,
|
|
487
489
|
pageSize: ee,
|
|
@@ -500,7 +502,7 @@ export {
|
|
|
500
502
|
fe as T,
|
|
501
503
|
xe as a,
|
|
502
504
|
ve as b,
|
|
503
|
-
|
|
504
|
-
|
|
505
|
+
ye as c,
|
|
506
|
+
be as d,
|
|
505
507
|
Ne as e
|
|
506
508
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as r, jsxs as o } from "react/jsx-runtime";
|
|
2
|
-
import { I as J } from "./ImageInput-
|
|
3
|
-
import { A as V } from "./AppSubTitle-
|
|
4
|
-
import { M as Q } from "./MultiSelect-
|
|
5
|
-
import { aN as W, aQ as $, aR as q, aS as D, aO as A, aT as L, J as X, N as Y, K as F, bR as ee, $ as te } from "./toggle-group-
|
|
2
|
+
import { I as J } from "./ImageInput-Bbxr8vpu.js";
|
|
3
|
+
import { A as V } from "./AppSubTitle-DhioA5bv.js";
|
|
4
|
+
import { M as Q } from "./MultiSelect-B72dsN-1.js";
|
|
5
|
+
import { aN as W, aQ as $, aR as q, aS as D, aO as A, aT as L, J as X, N as Y, K as F, bR as ee, $ as te } from "./toggle-group-DY9wl0HW.js";
|
|
6
6
|
import "./alert-B78CiTYe.js";
|
|
7
7
|
import "@radix-ui/react-aspect-ratio";
|
|
8
8
|
import { B as M } from "./tooltip-BWyFpIxo.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as o, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import "./toggle-group-
|
|
2
|
+
import "./toggle-group-DY9wl0HW.js";
|
|
3
3
|
import "./alert-B78CiTYe.js";
|
|
4
4
|
import "@radix-ui/react-aspect-ratio";
|
|
5
5
|
import { B as l } from "./tooltip-BWyFpIxo.js";
|
|
@@ -13,12 +13,12 @@ import "./select-MWzbMBAS.js";
|
|
|
13
13
|
import "next-themes";
|
|
14
14
|
import "sonner";
|
|
15
15
|
import "react";
|
|
16
|
-
import { A as f } from "./AppActions-
|
|
16
|
+
import { A as f } from "./AppActions-DCYt9I0e.js";
|
|
17
17
|
import { A as u } from "./AppTitle-uboDuil4.js";
|
|
18
18
|
import { u as d } from "./useDocumentTitle-WNwdPz-I.js";
|
|
19
19
|
import { useTranslation as x } from "react-i18next";
|
|
20
20
|
import "@krosoft/core/helpers";
|
|
21
|
-
import { b as g, a as h } from "./SkeletonCards-
|
|
21
|
+
import { b as g, a as h } from "./SkeletonCards-BgsWWMun.js";
|
|
22
22
|
import { E as A } from "./ErrorState-vU8d4CwD.js";
|
|
23
23
|
function M({
|
|
24
24
|
icon: e,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as r, jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import { J as l, N as h, O as m, K as g } from "./toggle-group-
|
|
2
|
+
import { J as l, N as h, O as m, K as g } from "./toggle-group-DY9wl0HW.js";
|
|
3
3
|
import { c as b } from "./tailwind.helper-B6yFEsav.js";
|
|
4
4
|
import { useTranslation as p } from "react-i18next";
|
|
5
5
|
const k = ({ titleKey: t, icon: s, className: n, children: a }) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as l, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { useState as k, useRef as w, useMemo as N, useEffect as y } from "react";
|
|
3
|
-
import { $ as C } from "./toggle-group-
|
|
3
|
+
import { $ as C } from "./toggle-group-DY9wl0HW.js";
|
|
4
4
|
import "./alert-B78CiTYe.js";
|
|
5
5
|
import "@radix-ui/react-aspect-ratio";
|
|
6
6
|
import "./tooltip-BWyFpIxo.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as s, jsx as t } from "react/jsx-runtime";
|
|
2
2
|
import * as w from "react";
|
|
3
3
|
import { useState as k, useRef as C, useEffect as z, useMemo as S } from "react";
|
|
4
|
-
import { I, bv as O, bx as T, bw as j } from "./toggle-group-
|
|
4
|
+
import { I, bv as O, bx as T, bw as j } from "./toggle-group-DY9wl0HW.js";
|
|
5
5
|
import "./alert-B78CiTYe.js";
|
|
6
6
|
import "@radix-ui/react-aspect-ratio";
|
|
7
7
|
import { B as g } from "./tooltip-BWyFpIxo.js";
|
|
@@ -2,7 +2,7 @@ import { jsxs as s, jsx as e, Fragment as o } from "react/jsx-runtime";
|
|
|
2
2
|
import { formatNumber as g } from "@krosoft/core/helpers";
|
|
3
3
|
import { useTranslation as b } from "react-i18next";
|
|
4
4
|
import { c as m } from "./tailwind.helper-B6yFEsav.js";
|
|
5
|
-
import { J as c, N as p, O as v, K as N } from "./toggle-group-
|
|
5
|
+
import { J as c, N as p, O as v, K as N } from "./toggle-group-DY9wl0HW.js";
|
|
6
6
|
import "./alert-B78CiTYe.js";
|
|
7
7
|
import "@radix-ui/react-aspect-ratio";
|
|
8
8
|
import "./tooltip-BWyFpIxo.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as u, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { useState as F, useEffect as $, useMemo as A } from "react";
|
|
3
|
-
import { a as D, D as O, b as j, S as M } from "./SearchInput-
|
|
4
|
-
import { B as k, a$ as I, bv as z, bx as R, bw as B, $ as C } from "./toggle-group-
|
|
3
|
+
import { a as D, D as O, b as j, S as M } from "./SearchInput-rRYNQ8fq.js";
|
|
4
|
+
import { B as k, a$ as I, bv as z, bx as R, bw as B, $ as C } from "./toggle-group-DY9wl0HW.js";
|
|
5
5
|
import "./alert-B78CiTYe.js";
|
|
6
6
|
import "@radix-ui/react-aspect-ratio";
|
|
7
7
|
import { B as w } from "./tooltip-BWyFpIxo.js";
|
|
@@ -15,7 +15,7 @@ import { S as W, h as Y, i as Z, a as q, c as ee } from "./select-MWzbMBAS.js";
|
|
|
15
15
|
import "next-themes";
|
|
16
16
|
import "sonner";
|
|
17
17
|
import { c as re } from "./tailwind.helper-B6yFEsav.js";
|
|
18
|
-
import { M as te } from "./MultiSelect-
|
|
18
|
+
import { M as te } from "./MultiSelect-B72dsN-1.js";
|
|
19
19
|
const L = (a, n, c = {}) => {
|
|
20
20
|
if (n instanceof Date)
|
|
21
21
|
return n.toLocaleDateString("fr-FR");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as s, M as d } from "../../../MetricCard-
|
|
2
|
-
import { K as o, a as C, S as t, b as p } from "../../../SkeletonCards-
|
|
1
|
+
import { D as s, M as d } from "../../../MetricCard-rL1mIA58.js";
|
|
2
|
+
import { K as o, a as C, S as t, b as p } from "../../../SkeletonCards-BgsWWMun.js";
|
|
3
3
|
export {
|
|
4
4
|
s as DashboardCard,
|
|
5
5
|
o as KpiCard,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as i, C as s, F as g } from "../../../ConfirmationDialog-
|
|
2
|
-
import { D as r, a as D, b as e, c as t, d as n, e as p, f, g as m, h as C, i as F, P } from "../../../toggle-group-
|
|
1
|
+
import { A as i, C as s, F as g } from "../../../ConfirmationDialog-CCZPbD4x.js";
|
|
2
|
+
import { D as r, a as D, b as e, c as t, d as n, e as p, f, g as m, h as C, i as F, P } from "../../../toggle-group-DY9wl0HW.js";
|
|
3
3
|
export {
|
|
4
4
|
i as AppDialog,
|
|
5
5
|
s as ConfirmationDialog,
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { D as r, M as o } from "../../MetricCard-
|
|
2
|
-
import { K as t, a as i, S as l, b as p } from "../../SkeletonCards-
|
|
3
|
-
import { A as m, C as d, F as g } from "../../ConfirmationDialog-
|
|
4
|
-
import { D as A, a as D, b as T, c as n, d as c, e as x, f as S, g as C, h as F, i as P, P as h } from "../../toggle-group-
|
|
5
|
-
import { A as k, a as H, F as I, S as K, T as v } from "../../TableFilter-
|
|
6
|
-
import { G as M } from "../../GenericForm-
|
|
7
|
-
import { I as L } from "../../ImageInput-
|
|
8
|
-
import { D as G, a as N, S as O, b as R } from "../../SearchInput-
|
|
9
|
-
import { M as j } from "../../MultiSelect-
|
|
10
|
-
import { A as w } from "../../AppActions-
|
|
11
|
-
import { A as J, K as Q } from "../../KpiCardsLayout-
|
|
12
|
-
import { A as W } from "../../AppSubTitle-
|
|
1
|
+
import { D as r, M as o } from "../../MetricCard-rL1mIA58.js";
|
|
2
|
+
import { K as t, a as i, S as l, b as p } from "../../SkeletonCards-BgsWWMun.js";
|
|
3
|
+
import { A as m, C as d, F as g } from "../../ConfirmationDialog-CCZPbD4x.js";
|
|
4
|
+
import { D as A, a as D, b as T, c as n, d as c, e as x, f as S, g as C, h as F, i as P, P as h } from "../../toggle-group-DY9wl0HW.js";
|
|
5
|
+
import { A as k, a as H, F as I, S as K, T as v } from "../../TableFilter-BfWYeTv_.js";
|
|
6
|
+
import { G as M } from "../../GenericForm-EohJXOt8.js";
|
|
7
|
+
import { I as L } from "../../ImageInput-Bbxr8vpu.js";
|
|
8
|
+
import { D as G, a as N, S as O, b as R } from "../../SearchInput-rRYNQ8fq.js";
|
|
9
|
+
import { M as j } from "../../MultiSelect-B72dsN-1.js";
|
|
10
|
+
import { A as w } from "../../AppActions-DCYt9I0e.js";
|
|
11
|
+
import { A as J, K as Q } from "../../KpiCardsLayout-DBqGhp0I.js";
|
|
12
|
+
import { A as W } from "../../AppSubTitle-DhioA5bv.js";
|
|
13
13
|
import { A as Y } from "../../AppTitle-uboDuil4.js";
|
|
14
14
|
import { S as _, a as $, b as aa, T as ea } from "../../Topbar-DMyjbOTI.js";
|
|
15
15
|
import { E as oa } from "../../ErrorAlert-DH1onuyt.js";
|
|
16
16
|
import { E as ta } from "../../ErrorState-vU8d4CwD.js";
|
|
17
17
|
import { L as la } from "../../LoadingState-BN0YaPSs.js";
|
|
18
|
-
import { D as ba, T as ma, a as da, b as ga, c as fa, d as Aa, e as Da } from "../../DataTable-
|
|
19
|
-
import { A as na, a as ca, b as xa, c as Sa } from "../../AppVerticalTabs-
|
|
18
|
+
import { D as ba, T as ma, a as da, b as ga, c as fa, d as Aa, e as Da } from "../../DataTable-BtmAMrZg.js";
|
|
19
|
+
import { A as na, a as ca, b as xa, c as Sa } from "../../AppVerticalTabs-DujFNh9f.js";
|
|
20
20
|
import { T as Fa } from "../../ThemeSelector-CQ3fSDJ2.js";
|
|
21
21
|
export {
|
|
22
22
|
k as ActiveFilters,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { I as r } from "../../../ImageInput-
|
|
2
|
-
import { D as c, a as o, S as s, b as p } from "../../../SearchInput-
|
|
3
|
-
import { M as l } from "../../../MultiSelect-
|
|
1
|
+
import { I as r } from "../../../ImageInput-Bbxr8vpu.js";
|
|
2
|
+
import { D as c, a as o, S as s, b as p } from "../../../SearchInput-rRYNQ8fq.js";
|
|
3
|
+
import { M as l } from "../../../MultiSelect-B72dsN-1.js";
|
|
4
4
|
export {
|
|
5
5
|
c as DatePicker,
|
|
6
6
|
o as DateRangePicker,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as r } from "../../../AppActions-
|
|
2
|
-
import { A as e, K as A } from "../../../KpiCardsLayout-
|
|
3
|
-
import { A as s } from "../../../AppSubTitle-
|
|
1
|
+
import { A as r } from "../../../AppActions-DCYt9I0e.js";
|
|
2
|
+
import { A as e, K as A } from "../../../KpiCardsLayout-DBqGhp0I.js";
|
|
3
|
+
import { A as s } from "../../../AppSubTitle-DhioA5bv.js";
|
|
4
4
|
import { A as i } from "../../../AppTitle-uboDuil4.js";
|
|
5
5
|
export {
|
|
6
6
|
r as AppActions,
|
|
@@ -5,7 +5,7 @@ export interface DataTableProps<T> {
|
|
|
5
5
|
data: T[];
|
|
6
6
|
columns: ColumnDef<T>[];
|
|
7
7
|
getRowId: (row: T) => string;
|
|
8
|
-
onRowClick?: (row: T) => void;
|
|
8
|
+
onRowClick?: (row: T, event: React.MouseEvent<HTMLTableRowElement>) => void;
|
|
9
9
|
actions?: RowAction<T>[];
|
|
10
10
|
bulkActions?: BulkAction[];
|
|
11
11
|
draggableColumns?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTable.d.ts","sourceRoot":"","sources":["../../../../src/components/core/table/DataTable.tsx"],"names":[],"mappings":"AACA,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,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"DataTable.d.ts","sourceRoot":"","sources":["../../../../src/components/core/table/DataTable.tsx"],"names":[],"mappings":"AACA,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,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,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,QAAgB,EAChB,aAAgC,EAChC,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,CAmHvC"}
|
|
@@ -7,7 +7,7 @@ export interface TableBodyProps<T> {
|
|
|
7
7
|
noDataMessage: string;
|
|
8
8
|
paginatedData: T[];
|
|
9
9
|
getRowId: (row: T) => string;
|
|
10
|
-
onRowClick?: (row: T) => void;
|
|
10
|
+
onRowClick?: (row: T, event: React.MouseEvent<HTMLTableRowElement>) => void;
|
|
11
11
|
hasBulkActions: boolean;
|
|
12
12
|
selectedRows: string[];
|
|
13
13
|
toggleRowSelection: (id: string) => void;
|
|
@@ -17,6 +17,7 @@ export interface TableBodyProps<T> {
|
|
|
17
17
|
actions?: RowAction<T>[];
|
|
18
18
|
columns: ColumnDef<T>[];
|
|
19
19
|
bordered?: boolean;
|
|
20
|
+
resizableColumns?: boolean;
|
|
20
21
|
}
|
|
21
|
-
export declare function TableBody<T>({ isLoading, colSpanCount, noDataMessage, paginatedData, getRowId, onRowClick, hasBulkActions, selectedRows, toggleRowSelection, visibleColumnsArray, columnWidths, hasActions, actions, columns, bordered, }: TableBodyProps<T>): React.JSX.Element;
|
|
22
|
+
export declare function TableBody<T>({ isLoading, colSpanCount, noDataMessage, paginatedData, getRowId, onRowClick, hasBulkActions, selectedRows, toggleRowSelection, visibleColumnsArray, columnWidths, hasActions, actions, columns, bordered, resizableColumns, }: TableBodyProps<T>): React.JSX.Element;
|
|
22
23
|
//# sourceMappingURL=TableBody.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableBody.d.ts","sourceRoot":"","sources":["../../../../src/components/core/table/TableBody.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,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,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,CAAC,EAAE,CAAC;IACnB,QAAQ,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,MAAM,CAAC;IAC7B,UAAU,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"TableBody.d.ts","sourceRoot":"","sources":["../../../../src/components/core/table/TableBody.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,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,YAAY,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;IACtB,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;CAC5B;AAED,wBAAgB,SAAS,CAAC,CAAC,EAAE,EAC3B,SAAS,EACT,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,GACzB,EAAE,cAAc,CAAC,CAAC,CAAC,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAiGvC"}
|
package/dist/components/index.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { D as o, M as r } from "../MetricCard-
|
|
2
|
-
import { K as t, a as n, S as i, b as l } from "../SkeletonCards-
|
|
3
|
-
import { A as p, C as u, F as g } from "../ConfirmationDialog-
|
|
4
|
-
import { A as m, j as C, k as S, l as T, m as c, n as D, o as M, p as x, q as A, r as I, s as P, t as h, u as f, v as w, w as v, x as F, B as L, y as B, z as G, C as H, E as R, F as k, G as N, H as y, I as E, J as O, K as V, L as K, M as z, N as U, O as j, Q as q, R as J, S as Q, T as W, U as X, V as Y, W as Z, X as _, Y as $, Z as aa, _ as ea, $ as oa, a0 as ra, a1 as sa, a2 as ta, a3 as na, a4 as ia, a5 as la, a6 as ba, a7 as pa, a8 as ua, a9 as ga, aa as da, ab as ma, ac as Ca, ad as Sa, ae as Ta, af as ca, ag as Da, ah as Ma, ai as xa, aj as Aa, ak as Ia, al as Pa, am as ha, an as fa, D as wa, a as va, b as Fa, c as La, d as Ba, e as Ga, f as Ha, g as Ra, h as ka, i as Na, ao as ya, ap as Ea, aq as Oa, ar as Va, as as Ka, at as za, au as Ua, av as ja, aw as qa, ax as Ja, ay as Qa, az as Wa, aA as Xa, aB as Ya, aC as Za, aD as _a, aE as $a, aF as ae, aG as ee, aH as oe, aI as re, aJ as se, aK as te, aL as ne, aM as ie, aN as le, aO as be, aP as pe, aQ as ue, aR as ge, aS as de, aT as me, aU as Ce, aV as Se, aW as Te, aX as ce, aY as De, aZ as Me, a_ as xe, a$ as Ae, b0 as Ie, b1 as Pe, b2 as he, b3 as fe, b4 as we, b5 as ve, b6 as Fe, b7 as Le, b8 as Be, b9 as Ge, ba as He, bb as Re, bc as ke, bd as Ne, be as ye, bf as Ee, bg as Oe, bh as Ve, bi as Ke, bj as ze, bk as Ue, bl as je, bm as qe, bn as Je, bo as Qe, bp as We, bq as Xe, br as Ye, bs as Ze, bt as _e, bu as $e, bv as ao, bw as eo, bx as oo, P as ro, by as so, bz as to, bA as no, bB as io, bC as lo, bD as bo, bE as po, bF as uo, bG as go, bH as mo, bI as Co, bJ as So, bK as To, bL as co, bM as Do, bN as Mo, bO as xo, bP as Ao, bQ as Io, bR as Po, bS as ho, bT as fo, bU as wo, bV as vo, bW as Fo, bX as Lo, bY as Bo, bZ as Go, b_ as Ho, b$ as Ro, c0 as ko, c1 as No, c2 as yo, c3 as Eo } from "../toggle-group-
|
|
5
|
-
import { A as Vo, a as Ko, F as zo, S as Uo, T as jo } from "../TableFilter-
|
|
6
|
-
import { G as Jo } from "../GenericForm-
|
|
7
|
-
import { I as Wo } from "../ImageInput-
|
|
8
|
-
import { D as Yo, a as Zo, S as _o, b as $o } from "../SearchInput-
|
|
9
|
-
import { M as er } from "../MultiSelect-
|
|
10
|
-
import { A as rr } from "../AppActions-
|
|
11
|
-
import { A as tr, K as nr } from "../KpiCardsLayout-
|
|
12
|
-
import { A as lr } from "../AppSubTitle-
|
|
1
|
+
import { D as o, M as r } from "../MetricCard-rL1mIA58.js";
|
|
2
|
+
import { K as t, a as n, S as i, b as l } from "../SkeletonCards-BgsWWMun.js";
|
|
3
|
+
import { A as p, C as u, F as g } from "../ConfirmationDialog-CCZPbD4x.js";
|
|
4
|
+
import { A as m, j as C, k as S, l as T, m as c, n as D, o as M, p as x, q as A, r as I, s as P, t as h, u as f, v as w, w as v, x as F, B as L, y as B, z as G, C as H, E as R, F as k, G as N, H as y, I as E, J as O, K as V, L as K, M as z, N as U, O as j, Q as q, R as J, S as Q, T as W, U as X, V as Y, W as Z, X as _, Y as $, Z as aa, _ as ea, $ as oa, a0 as ra, a1 as sa, a2 as ta, a3 as na, a4 as ia, a5 as la, a6 as ba, a7 as pa, a8 as ua, a9 as ga, aa as da, ab as ma, ac as Ca, ad as Sa, ae as Ta, af as ca, ag as Da, ah as Ma, ai as xa, aj as Aa, ak as Ia, al as Pa, am as ha, an as fa, D as wa, a as va, b as Fa, c as La, d as Ba, e as Ga, f as Ha, g as Ra, h as ka, i as Na, ao as ya, ap as Ea, aq as Oa, ar as Va, as as Ka, at as za, au as Ua, av as ja, aw as qa, ax as Ja, ay as Qa, az as Wa, aA as Xa, aB as Ya, aC as Za, aD as _a, aE as $a, aF as ae, aG as ee, aH as oe, aI as re, aJ as se, aK as te, aL as ne, aM as ie, aN as le, aO as be, aP as pe, aQ as ue, aR as ge, aS as de, aT as me, aU as Ce, aV as Se, aW as Te, aX as ce, aY as De, aZ as Me, a_ as xe, a$ as Ae, b0 as Ie, b1 as Pe, b2 as he, b3 as fe, b4 as we, b5 as ve, b6 as Fe, b7 as Le, b8 as Be, b9 as Ge, ba as He, bb as Re, bc as ke, bd as Ne, be as ye, bf as Ee, bg as Oe, bh as Ve, bi as Ke, bj as ze, bk as Ue, bl as je, bm as qe, bn as Je, bo as Qe, bp as We, bq as Xe, br as Ye, bs as Ze, bt as _e, bu as $e, bv as ao, bw as eo, bx as oo, P as ro, by as so, bz as to, bA as no, bB as io, bC as lo, bD as bo, bE as po, bF as uo, bG as go, bH as mo, bI as Co, bJ as So, bK as To, bL as co, bM as Do, bN as Mo, bO as xo, bP as Ao, bQ as Io, bR as Po, bS as ho, bT as fo, bU as wo, bV as vo, bW as Fo, bX as Lo, bY as Bo, bZ as Go, b_ as Ho, b$ as Ro, c0 as ko, c1 as No, c2 as yo, c3 as Eo } from "../toggle-group-DY9wl0HW.js";
|
|
5
|
+
import { A as Vo, a as Ko, F as zo, S as Uo, T as jo } from "../TableFilter-BfWYeTv_.js";
|
|
6
|
+
import { G as Jo } from "../GenericForm-EohJXOt8.js";
|
|
7
|
+
import { I as Wo } from "../ImageInput-Bbxr8vpu.js";
|
|
8
|
+
import { D as Yo, a as Zo, S as _o, b as $o } from "../SearchInput-rRYNQ8fq.js";
|
|
9
|
+
import { M as er } from "../MultiSelect-B72dsN-1.js";
|
|
10
|
+
import { A as rr } from "../AppActions-DCYt9I0e.js";
|
|
11
|
+
import { A as tr, K as nr } from "../KpiCardsLayout-DBqGhp0I.js";
|
|
12
|
+
import { A as lr } from "../AppSubTitle-DhioA5bv.js";
|
|
13
13
|
import { A as pr } from "../AppTitle-uboDuil4.js";
|
|
14
14
|
import { S as gr, a as dr, b as mr, T as Cr } from "../Topbar-DMyjbOTI.js";
|
|
15
15
|
import { E as Tr } from "../ErrorAlert-DH1onuyt.js";
|
|
16
16
|
import { E as Dr } from "../ErrorState-vU8d4CwD.js";
|
|
17
17
|
import { L as xr } from "../LoadingState-BN0YaPSs.js";
|
|
18
|
-
import { D as Ir, T as Pr, a as hr, b as fr, c as wr, d as vr, e as Fr } from "../DataTable-
|
|
19
|
-
import { A as Br, a as Gr, b as Hr, c as Rr } from "../AppVerticalTabs-
|
|
18
|
+
import { D as Ir, T as Pr, a as hr, b as fr, c as wr, d as vr, e as Fr } from "../DataTable-BtmAMrZg.js";
|
|
19
|
+
import { A as Br, a as Gr, b as Hr, c as Rr } from "../AppVerticalTabs-DujFNh9f.js";
|
|
20
20
|
import { T as Nr } from "../ThemeSelector-CQ3fSDJ2.js";
|
|
21
21
|
import { A as Er, a as Or, b as Vr } from "../alert-B78CiTYe.js";
|
|
22
|
-
import { A as zr, C as Ur, a as jr, b as qr, R as Jr, c as Qr, d as Wr, T as Xr, e as Yr } from "../toaster-
|
|
22
|
+
import { A as zr, C as Ur, a as jr, b as qr, R as Jr, c as Qr, d as Wr, T as Xr, e as Yr } from "../toaster-DTcdwmkK.js";
|
|
23
23
|
import { B as _r, T as $r, a as as, b as es, c as os, d as rs } from "../tooltip-BWyFpIxo.js";
|
|
24
24
|
import { I as ts, S as ns, a as is, b as ls, c as bs, d as ps, e as us, f as gs, g as ds, h as ms, i as Cs } from "../sheet-Gop1cIaU.js";
|
|
25
25
|
import { S as Ts, a as cs, b as Ds, c as Ms, d as xs, e as As, f as Is, g as Ps, h as hs, i as fs } from "../select-MWzbMBAS.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as o, j as s, k as r, l as t, m as n, n as i, o as l, p as b, q as u, r as g, s as p, t as C, u as d, v as m, w as S, x as T, B as c, y as M, z as D, C as w, E as x, F as I, G as P, H as h, I as v, J as A, K as F, L, M as B, N as G, O as R, Q as H, R as f, S as N, T as k, U as y, V as O, W as V, X as z, Y as E, Z as U, _ as j, $ as q, a0 as J, a1 as K, a2 as Q, a3 as W, a4 as X, a5 as Y, a6 as Z, a7 as _, a8 as $, a9 as aa, aa as ea, ab as oa, ac as sa, ad as ra, ae as ta, af as na, ag as ia, ah as la, ai as ba, aj as ua, ak as ga, al as pa, am as Ca, an as da, D as ma, a as Sa, b as Ta, c as ca, d as Ma, e as Da, f as wa, g as xa, h as Ia, i as Pa, ao as ha, ap as va, aq as Aa, ar as Fa, as as La, at as Ba, au as Ga, av as Ra, aw as Ha, ax as fa, ay as Na, az as ka, aA as ya, aB as Oa, aC as Va, aD as za, aE as Ea, aF as Ua, aG as ja, aH as qa, aI as Ja, aJ as Ka, aK as Qa, aL as Wa, aM as Xa, aN as Ya, aO as Za, aP as _a, aQ as $a, aR as ae, aS as ee, aT as oe, aU as se, aV as re, aW as te, aX as ne, aY as ie, aZ as le, a_ as be, a$ as ue, b0 as ge, b1 as pe, b2 as Ce, b3 as de, b4 as me, b5 as Se, b6 as Te, b7 as ce, b8 as Me, b9 as De, ba as we, bb as xe, bc as Ie, bd as Pe, be as he, bf as ve, bg as Ae, bh as Fe, bi as Le, bj as Be, bk as Ge, bl as Re, bm as He, bn as fe, bo as Ne, bp as ke, bq as ye, br as Oe, bs as Ve, bt as ze, bu as Ee, bv as Ue, bw as je, bx as qe, P as Je, by as Ke, bz as Qe, bA as We, bB as Xe, bC as Ye, bD as Ze, bE as _e, bF as $e, bG as ao, bH as eo, bI as oo, bJ as so, bK as ro, bL as to, bM as no, bN as io, bO as lo, bP as bo, bQ as uo, bR as go, bS as po, bT as Co, bU as mo, bV as So, bW as To, bX as co, bY as Mo, bZ as Do, b_ as wo, b$ as xo, c0 as Io, c1 as Po, c2 as ho, c3 as vo } from "../../toggle-group-
|
|
1
|
+
import { A as o, j as s, k as r, l as t, m as n, n as i, o as l, p as b, q as u, r as g, s as p, t as C, u as d, v as m, w as S, x as T, B as c, y as M, z as D, C as w, E as x, F as I, G as P, H as h, I as v, J as A, K as F, L, M as B, N as G, O as R, Q as H, R as f, S as N, T as k, U as y, V as O, W as V, X as z, Y as E, Z as U, _ as j, $ as q, a0 as J, a1 as K, a2 as Q, a3 as W, a4 as X, a5 as Y, a6 as Z, a7 as _, a8 as $, a9 as aa, aa as ea, ab as oa, ac as sa, ad as ra, ae as ta, af as na, ag as ia, ah as la, ai as ba, aj as ua, ak as ga, al as pa, am as Ca, an as da, D as ma, a as Sa, b as Ta, c as ca, d as Ma, e as Da, f as wa, g as xa, h as Ia, i as Pa, ao as ha, ap as va, aq as Aa, ar as Fa, as as La, at as Ba, au as Ga, av as Ra, aw as Ha, ax as fa, ay as Na, az as ka, aA as ya, aB as Oa, aC as Va, aD as za, aE as Ea, aF as Ua, aG as ja, aH as qa, aI as Ja, aJ as Ka, aK as Qa, aL as Wa, aM as Xa, aN as Ya, aO as Za, aP as _a, aQ as $a, aR as ae, aS as ee, aT as oe, aU as se, aV as re, aW as te, aX as ne, aY as ie, aZ as le, a_ as be, a$ as ue, b0 as ge, b1 as pe, b2 as Ce, b3 as de, b4 as me, b5 as Se, b6 as Te, b7 as ce, b8 as Me, b9 as De, ba as we, bb as xe, bc as Ie, bd as Pe, be as he, bf as ve, bg as Ae, bh as Fe, bi as Le, bj as Be, bk as Ge, bl as Re, bm as He, bn as fe, bo as Ne, bp as ke, bq as ye, br as Oe, bs as Ve, bt as ze, bu as Ee, bv as Ue, bw as je, bx as qe, P as Je, by as Ke, bz as Qe, bA as We, bB as Xe, bC as Ye, bD as Ze, bE as _e, bF as $e, bG as ao, bH as eo, bI as oo, bJ as so, bK as ro, bL as to, bM as no, bN as io, bO as lo, bP as bo, bQ as uo, bR as go, bS as po, bT as Co, bU as mo, bV as So, bW as To, bX as co, bY as Mo, bZ as Do, b_ as wo, b$ as xo, c0 as Io, c1 as Po, c2 as ho, c3 as vo } from "../../toggle-group-DY9wl0HW.js";
|
|
2
2
|
import { A as Fo, a as Lo, b as Bo } from "../../alert-B78CiTYe.js";
|
|
3
|
-
import { A as Ro, C as Ho, a as fo, b as No, R as ko, c as yo, d as Oo, T as Vo, e as zo } from "../../toaster-
|
|
3
|
+
import { A as Ro, C as Ho, a as fo, b as No, R as ko, c as yo, d as Oo, T as Vo, e as zo } from "../../toaster-DTcdwmkK.js";
|
|
4
4
|
import { B as Uo, T as jo, a as qo, b as Jo, c as Ko, d as Qo } from "../../tooltip-BWyFpIxo.js";
|
|
5
5
|
import { I as Xo, S as Yo, a as Zo, b as _o, c as $o, d as as, e as es, f as os, g as ss, h as rs, i as ts } from "../../sheet-Gop1cIaU.js";
|
|
6
6
|
import { S as is, a as ls, b as bs, c as us, d as gs, e as ps, f as Cs, g as ds, h as ms, i as Ss } from "../../select-MWzbMBAS.js";
|
|
@@ -7,7 +7,7 @@ import { c as n } from "./tailwind.helper-B6yFEsav.js";
|
|
|
7
7
|
import { useTheme as f } from "next-themes";
|
|
8
8
|
import { Toaster as m } from "sonner";
|
|
9
9
|
import { u as g } from "./useToast-BFTk4lWz.js";
|
|
10
|
-
import { bW as b, bS as v, bX as T, bV as h, bU as x, bY as C } from "./toggle-group-
|
|
10
|
+
import { bW as b, bS as v, bX as T, bV as h, bU as x, bY as C } from "./toggle-group-DY9wl0HW.js";
|
|
11
11
|
const A = u.Root, G = s.Root, V = s.CollapsibleTrigger, B = s.CollapsibleContent, S = ({ className: e, ...r }) => /* @__PURE__ */ t(i.Group, { className: n("flex h-full w-full data-[panel-group-direction=vertical]:flex-col", e), ...r }), $ = i.Panel, k = ({
|
|
12
12
|
withHandle: e,
|
|
13
13
|
className: r,
|
|
@@ -1272,7 +1272,7 @@ const yr = D.Root, uo = s.forwardRef(
|
|
|
1272
1272
|
D.List,
|
|
1273
1273
|
{
|
|
1274
1274
|
ref: t,
|
|
1275
|
-
className: r("inline-flex h-10 items-center justify-
|
|
1275
|
+
className: r("inline-flex h-10 items-center justify-start gap-6 border-b border-border bg-transparent p-0 text-muted-foreground w-full", a),
|
|
1276
1276
|
...e
|
|
1277
1277
|
}
|
|
1278
1278
|
)
|
|
@@ -1284,7 +1284,7 @@ const fo = s.forwardRef(
|
|
|
1284
1284
|
{
|
|
1285
1285
|
ref: t,
|
|
1286
1286
|
className: r(
|
|
1287
|
-
"inline-flex items-center justify-center whitespace-nowrap rounded-
|
|
1287
|
+
"relative inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-none border-b-2 border-transparent bg-transparent px-1 pb-2.5 pt-2 -mb-px text-sm font-medium text-muted-foreground ring-offset-background cursor-pointer transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:border-primary data-[state=active]:text-foreground data-[state=active]:shadow-none [&_svg]:h-4 [&_svg]:w-4",
|
|
1288
1288
|
a
|
|
1289
1289
|
),
|
|
1290
1290
|
...e
|