@krosoft/react 0.0.119 → 0.0.121

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.
@@ -1,54 +1,54 @@
1
1
  import { jsxs as r, jsx as e } from "react/jsx-runtime";
2
- import { u as ae } from "./useDataTable-CxcA5S-s.js";
3
- import { ax as I, aL as $, az as B, aB as se, _ as L, cr as ie, cs as ne, ay as de } from "./toggle-group-wIgXZYDq.js";
2
+ import { u as se } from "./useDataTable-CxcA5S-s.js";
3
+ import { ax as $, aL as B, az as L, aB as ie, _ as P, cr as ne, cs as de, ay as le } from "./toggle-group-wIgXZYDq.js";
4
4
  import "./alert-B34E_4uH.js";
5
- import { B as k } from "./tooltip-YhBPXbcJ.js";
5
+ import { B as w } from "./tooltip-YhBPXbcJ.js";
6
6
  import "./select-DlQvLtI3.js";
7
7
  import "next-themes";
8
8
  import "react";
9
- import { E as le } from "./ellipsis-vertical-kB5yFb-i.js";
10
- import { L as oe } from "./loader-circle-CKy7u7JW.js";
11
- import { G as ce } from "./grip-vertical-DGywJXzS.js";
12
- import { c as D } from "./createLucideIcon-MP_wDWjs.js";
9
+ import { E as oe } from "./ellipsis-vertical-kB5yFb-i.js";
10
+ import { L as ce } from "./loader-circle-CKy7u7JW.js";
11
+ import { G as he } from "./grip-vertical-DGywJXzS.js";
12
+ import { c as j } from "./createLucideIcon-MP_wDWjs.js";
13
13
  /**
14
14
  * @license lucide-react v1.17.0 - ISC
15
15
  *
16
16
  * This source code is licensed under the ISC license.
17
17
  * See the LICENSE file in the root directory of this source tree.
18
18
  */
19
- const he = [
19
+ const me = [
20
20
  ["path", { d: "M12 5v14", key: "s699le" }],
21
21
  ["path", { d: "m19 12-7 7-7-7", key: "1idqje" }]
22
- ], me = D("arrow-down", he);
22
+ ], ge = j("arrow-down", me);
23
23
  /**
24
24
  * @license lucide-react v1.17.0 - ISC
25
25
  *
26
26
  * This source code is licensed under the ISC license.
27
27
  * See the LICENSE file in the root directory of this source tree.
28
28
  */
29
- const ge = [
29
+ const ue = [
30
30
  ["path", { d: "m21 16-4 4-4-4", key: "f6ql7i" }],
31
31
  ["path", { d: "M17 20V4", key: "1ejh1v" }],
32
32
  ["path", { d: "m3 8 4-4 4 4", key: "11wl7u" }],
33
33
  ["path", { d: "M7 4v16", key: "1glfcx" }]
34
- ], ue = D("arrow-up-down", ge);
34
+ ], pe = j("arrow-up-down", ue);
35
35
  /**
36
36
  * @license lucide-react v1.17.0 - ISC
37
37
  *
38
38
  * This source code is licensed under the ISC license.
39
39
  * See the LICENSE file in the root directory of this source tree.
40
40
  */
41
- const pe = [
41
+ const xe = [
42
42
  ["path", { d: "m5 12 7-7 7 7", key: "hav0vg" }],
43
43
  ["path", { d: "M12 19V5", key: "x0mq9r" }]
44
- ], xe = D("arrow-up", pe);
44
+ ], ye = j("arrow-up", xe);
45
45
  /**
46
46
  * @license lucide-react v1.17.0 - ISC
47
47
  *
48
48
  * This source code is licensed under the ISC license.
49
49
  * See the LICENSE file in the root directory of this source tree.
50
50
  */
51
- const ye = [
51
+ const fe = [
52
52
  [
53
53
  "path",
54
54
  {
@@ -57,12 +57,12 @@ const ye = [
57
57
  }
58
58
  ],
59
59
  ["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
60
- ], fe = D("settings", ye), P = [5, 10, 30, 50, 100], ve = P[1];
61
- function be({ actions: l, row: s }) {
62
- return /* @__PURE__ */ r(I, { children: [
63
- /* @__PURE__ */ e($, { asChild: !0, children: /* @__PURE__ */ e(k, { variant: "ghost", size: "icon", className: "h-7 w-7 text-muted-foreground hover:text-foreground", children: /* @__PURE__ */ e(le, { className: "size-3.5" }) }) }),
60
+ ], ve = j("settings", fe), V = [5, 10, 30, 50, 100], be = V[1];
61
+ function Ne({ actions: l, row: s }) {
62
+ return /* @__PURE__ */ r($, { children: [
63
+ /* @__PURE__ */ e(B, { asChild: !0, children: /* @__PURE__ */ e(w, { variant: "ghost", size: "icon", className: "h-7 w-7 text-muted-foreground hover:text-foreground", children: /* @__PURE__ */ e(oe, { className: "size-3.5" }) }) }),
64
64
  /* @__PURE__ */ e(
65
- B,
65
+ L,
66
66
  {
67
67
  align: "end",
68
68
  onClick: (t) => {
@@ -71,7 +71,7 @@ function be({ actions: l, row: s }) {
71
71
  children: l.map((t, a) => {
72
72
  const c = t.icon;
73
73
  return /* @__PURE__ */ r(
74
- se,
74
+ ie,
75
75
  {
76
76
  onClick: () => {
77
77
  t.onClick(s);
@@ -89,7 +89,7 @@ function be({ actions: l, row: s }) {
89
89
  )
90
90
  ] });
91
91
  }
92
- function Ne({
92
+ function ke({
93
93
  isLoading: l,
94
94
  colSpanCount: s,
95
95
  noDataMessage: t,
@@ -100,20 +100,21 @@ function Ne({
100
100
  selectedRows: y,
101
101
  toggleRowSelection: h,
102
102
  visibleColumnsArray: o,
103
- columnWidths: w,
103
+ columnWidths: b,
104
104
  hasActions: C,
105
105
  actions: f,
106
- columns: b
106
+ columns: z,
107
+ bordered: N = !1
107
108
  }) {
108
- const z = (m, g) => {
109
- const n = b.find((v) => v.key === g);
109
+ const S = (m, g) => {
110
+ const n = z.find((v) => v.key === g);
110
111
  if ((n == null ? void 0 : n.renderCell) !== void 0)
111
112
  return n.renderCell(m);
112
113
  const x = m[g];
113
114
  return /* @__PURE__ */ e("span", { className: "text-sm truncate", children: x != null ? String(x) : "-" });
114
115
  };
115
116
  return l ? /* @__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__ */ r("div", { className: "flex flex-col items-center justify-center gap-2 text-muted-foreground", children: [
116
- /* @__PURE__ */ e(oe, { className: "h-6 w-6 animate-spin text-primary" }),
117
+ /* @__PURE__ */ e(ce, { className: "h-6 w-6 animate-spin text-primary" }),
117
118
  /* @__PURE__ */ e("span", { className: "text-sm", children: "Chargement..." })
118
119
  ] }) }) }) }) : a.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: t }) }) }) : /* @__PURE__ */ e("tbody", { className: "divide-y divide-gray-200 dark:divide-gray-800", children: a.map((m) => {
119
120
  const g = c(m);
@@ -132,7 +133,7 @@ function Ne({
132
133
  n.stopPropagation();
133
134
  },
134
135
  children: /* @__PURE__ */ e("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ e(
135
- L,
136
+ P,
136
137
  {
137
138
  checked: y.includes(g),
138
139
  onCheckedChange: () => {
@@ -147,9 +148,9 @@ function Ne({
147
148
  return /* @__PURE__ */ e(
148
149
  "td",
149
150
  {
150
- className: `px-2 py-2 border-r border-gray-100 dark:border-gray-800 relative ${v ? "border-r-0" : ""}`,
151
- style: { width: w[n.key] },
152
- children: /* @__PURE__ */ e("div", { className: "w-full h-full", children: z(m, n.key) })
151
+ className: `px-2 py-2 relative ${N && !v ? "border-r border-gray-100 dark:border-gray-800" : ""}`,
152
+ style: { width: b[n.key] },
153
+ children: /* @__PURE__ */ e("div", { className: "w-full h-full", children: S(m, n.key) })
153
154
  },
154
155
  n.key
155
156
  );
@@ -162,7 +163,7 @@ function Ne({
162
163
  onClick: (n) => {
163
164
  n.stopPropagation();
164
165
  },
165
- children: f !== void 0 && f.length > 0 ? /* @__PURE__ */ e("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ e(be, { actions: f, row: m }) }) : null
166
+ children: f !== void 0 && f.length > 0 ? /* @__PURE__ */ e("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ e(Ne, { actions: f, row: m }) }) : null
166
167
  }
167
168
  ) : null
168
169
  ]
@@ -171,7 +172,7 @@ function Ne({
171
172
  );
172
173
  }) });
173
174
  }
174
- function ke({ selectedRows: l, setSelectedRows: s, bulkActions: t }) {
175
+ function we({ selectedRows: l, setSelectedRows: s, bulkActions: t }) {
175
176
  return /* @__PURE__ */ r("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: [
176
177
  /* @__PURE__ */ r("div", { className: "flex items-center gap-4", children: [
177
178
  /* @__PURE__ */ r("span", { className: "text-sm font-medium text-primary ml-1", children: [
@@ -181,7 +182,7 @@ function ke({ selectedRows: l, setSelectedRows: s, bulkActions: t }) {
181
182
  /* @__PURE__ */ e("div", { className: "flex items-center gap-2", children: t.map((a, c) => {
182
183
  const i = a.icon;
183
184
  return /* @__PURE__ */ r(
184
- k,
185
+ w,
185
186
  {
186
187
  variant: "outline",
187
188
  size: "sm",
@@ -201,7 +202,7 @@ function ke({ selectedRows: l, setSelectedRows: s, bulkActions: t }) {
201
202
  }) })
202
203
  ] }),
203
204
  /* @__PURE__ */ e(
204
- k,
205
+ w,
205
206
  {
206
207
  variant: "ghost",
207
208
  size: "sm",
@@ -214,7 +215,7 @@ function ke({ selectedRows: l, setSelectedRows: s, bulkActions: t }) {
214
215
  )
215
216
  ] });
216
217
  }
217
- function we({
218
+ function Ce({
218
219
  hasBulkActions: l,
219
220
  selectedRows: s,
220
221
  totalItems: t,
@@ -225,44 +226,46 @@ function we({
225
226
  columnWidths: y,
226
227
  sortColumn: h,
227
228
  sortDirection: o,
228
- handleSort: w,
229
+ handleSort: b,
229
230
  handleDragStart: C,
230
231
  handleDragOver: f,
231
- handleDrop: b,
232
- handleMouseDown: z,
233
- hasActions: m,
234
- settingsNode: g
232
+ handleDrop: z,
233
+ handleMouseDown: N,
234
+ hasActions: S,
235
+ settingsNode: m,
236
+ bordered: g = !1
235
237
  }) {
236
238
  let n = !1;
237
239
  s.length === t && t > 0 ? n = !0 : s.length > 0 && (n = "indeterminate");
238
- const x = (d) => d.sortable !== !0 ? null : h === d.key ? o === "asc" ? /* @__PURE__ */ e(xe, { className: "size-3.5 text-foreground" }) : /* @__PURE__ */ e(me, { className: "size-3.5 text-foreground" }) : /* @__PURE__ */ e(ue, { className: "size-3.5 text-muted-foreground/50 group-hover:text-muted-foreground transition-colors" }), v = (d, j) => {
239
- const S = j !== !1, N = d.sortable === !0, M = h === d.key;
240
+ const x = (d) => d.sortable !== !0 ? null : h === d.key ? o === "asc" ? /* @__PURE__ */ e(ye, { className: "size-3.5 text-foreground" }) : /* @__PURE__ */ e(ge, { className: "size-3.5 text-foreground" }) : /* @__PURE__ */ e(pe, { className: "size-3.5 text-muted-foreground/50 group-hover:text-muted-foreground transition-colors" }), v = (d, M) => {
241
+ const D = M !== !1, k = d.sortable === !0, T = h === d.key;
240
242
  return /* @__PURE__ */ r(
241
243
  "th",
242
244
  {
243
245
  className: [
244
- "px-2 py-2 text-left text-sm font-medium text-gray-900 dark:text-gray-100 relative group border-r border-gray-200 dark:border-gray-800",
245
- N ? "cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-800 select-none" : "",
246
- M ? "bg-gray-100/80 dark:bg-gray-800/80" : ""
246
+ "px-2 py-2 text-left text-sm font-medium text-gray-900 dark:text-gray-100 relative group",
247
+ g ? "border-r border-gray-200 dark:border-gray-800" : "",
248
+ k ? "cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-800 select-none" : "",
249
+ T ? "bg-gray-100/80 dark:bg-gray-800/80" : ""
247
250
  ].filter(Boolean).join(" "),
248
251
  style: { width: y[d.key] },
249
- draggable: S,
252
+ draggable: D,
250
253
  onClick: () => {
251
- w(d.key);
254
+ b(d.key);
252
255
  },
253
256
  onDragStart: (u) => {
254
- S ? C(u, d.key) : u.preventDefault();
257
+ D ? C(u, d.key) : u.preventDefault();
255
258
  },
256
259
  onDragOver: (u) => {
257
260
  f(u, d.key);
258
261
  },
259
262
  onDrop: (u) => {
260
- b(u, d.key);
263
+ z(u, d.key);
261
264
  },
262
265
  children: [
263
266
  /* @__PURE__ */ r("div", { className: "flex items-center justify-between pr-2", children: [
264
267
  /* @__PURE__ */ r("div", { className: "flex items-center gap-1", children: [
265
- S ? /* @__PURE__ */ e(ce, { className: "size-4 text-gray-400 cursor-grab dark:text-gray-300 shrink-0" }) : null,
268
+ D ? /* @__PURE__ */ e(he, { className: "size-4 text-gray-400 cursor-grab dark:text-gray-300 shrink-0" }) : null,
266
269
  /* @__PURE__ */ e("span", { className: "truncate", children: d.label })
267
270
  ] }),
268
271
  /* @__PURE__ */ e("div", { className: "ml-1 shrink-0", children: x(d) })
@@ -272,7 +275,7 @@ function we({
272
275
  {
273
276
  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",
274
277
  onMouseDown: (u) => {
275
- z(u, d.key);
278
+ N(u, d.key);
276
279
  }
277
280
  }
278
281
  ) : null
@@ -282,12 +285,12 @@ function we({
282
285
  );
283
286
  };
284
287
  return /* @__PURE__ */ e("thead", { className: "bg-muted/50 dark:bg-gray-900/50 border-b border-gray-200 dark:border-gray-800", children: /* @__PURE__ */ r("tr", { children: [
285
- l ? /* @__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(L, { checked: n, onCheckedChange: a }) }) }) : null,
288
+ l ? /* @__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(P, { checked: n, onCheckedChange: a }) }) }) : null,
286
289
  c.map((d) => v(d, i)),
287
- m || g !== void 0 ? /* @__PURE__ */ e("th", { className: "p-1 text-center align-middle", style: { width: "32px", minWidth: "32px", maxWidth: "32px" }, children: g }) : null
290
+ S || m !== void 0 ? /* @__PURE__ */ e("th", { className: "p-1 text-center align-middle", style: { width: "32px", minWidth: "32px", maxWidth: "32px" }, children: m }) : null
288
291
  ] }) });
289
292
  }
290
- function Ce({
293
+ function ze({
291
294
  totalItems: l,
292
295
  startIndex: s,
293
296
  endIndex: t,
@@ -321,7 +324,7 @@ function Ce({
321
324
  ] }),
322
325
  /* @__PURE__ */ r("div", { className: "flex items-center gap-2", children: [
323
326
  /* @__PURE__ */ e(
324
- k,
327
+ w,
325
328
  {
326
329
  variant: "outline",
327
330
  size: "sm",
@@ -330,7 +333,7 @@ function Ce({
330
333
  p((o) => Math.max(1, o - 1));
331
334
  },
332
335
  disabled: i === 1,
333
- children: /* @__PURE__ */ e(ie, { className: "size-4" })
336
+ children: /* @__PURE__ */ e(ne, { className: "size-4" })
334
337
  }
335
338
  ),
336
339
  /* @__PURE__ */ r("span", { className: "text-sm text-muted-foreground", children: [
@@ -340,7 +343,7 @@ function Ce({
340
343
  h
341
344
  ] }),
342
345
  /* @__PURE__ */ e(
343
- k,
346
+ w,
344
347
  {
345
348
  variant: "outline",
346
349
  size: "sm",
@@ -349,18 +352,18 @@ function Ce({
349
352
  p((o) => Math.min(h, o + 1));
350
353
  },
351
354
  disabled: i === h,
352
- children: /* @__PURE__ */ e(ne, { className: "size-4" })
355
+ children: /* @__PURE__ */ e(de, { className: "size-4" })
353
356
  }
354
357
  )
355
358
  ] })
356
359
  ] })
357
360
  ] });
358
361
  }
359
- function ze({ columns: l, visibleColumns: s, toggleColumnVisibility: t }) {
360
- return /* @__PURE__ */ r(I, { children: [
361
- /* @__PURE__ */ e($, { asChild: !0, children: /* @__PURE__ */ e(k, { 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(fe, { className: "size-3.5 text-gray-600 dark:text-gray-300" }) }) }),
362
- /* @__PURE__ */ e(B, { align: "end", className: "w-56", children: l.map((a) => /* @__PURE__ */ e(
363
- de,
362
+ function Se({ columns: l, visibleColumns: s, toggleColumnVisibility: t }) {
363
+ return /* @__PURE__ */ r($, { children: [
364
+ /* @__PURE__ */ e(B, { asChild: !0, children: /* @__PURE__ */ e(w, { 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(ve, { className: "size-3.5 text-gray-600 dark:text-gray-300" }) }) }),
365
+ /* @__PURE__ */ e(L, { align: "end", className: "w-56", children: l.map((a) => /* @__PURE__ */ e(
366
+ le,
364
367
  {
365
368
  checked: s.has(a.key),
366
369
  onCheckedChange: () => {
@@ -372,7 +375,7 @@ function ze({ columns: l, visibleColumns: s, toggleColumnVisibility: t }) {
372
375
  )) })
373
376
  ] });
374
377
  }
375
- function Pe({
378
+ function Ve({
376
379
  data: l,
377
380
  columns: s,
378
381
  getRowId: t,
@@ -383,11 +386,12 @@ function Pe({
383
386
  resizableColumns: y = !0,
384
387
  columnVisibility: h = !0,
385
388
  isLoading: o = !1,
386
- noDataMessage: w = "Aucun résultat",
387
- defaultPageSize: C = ve,
388
- pageSizeOptions: f = P,
389
- totalRows: b,
390
- currentPage: z,
389
+ bordered: b = !1,
390
+ noDataMessage: C = "Aucun résultat",
391
+ defaultPageSize: f = be,
392
+ pageSizeOptions: z = V,
393
+ totalRows: N,
394
+ currentPage: S,
391
395
  pageSize: m,
392
396
  onPageChange: g,
393
397
  onPageSizeChange: n,
@@ -396,43 +400,43 @@ function Pe({
396
400
  onSortChange: d
397
401
  }) {
398
402
  const {
399
- sortColumn: j,
400
- sortDirection: S,
401
- selectedRows: N,
402
- setSelectedRows: M,
403
+ sortColumn: M,
404
+ sortDirection: D,
405
+ selectedRows: k,
406
+ setSelectedRows: T,
403
407
  visibleColumns: u,
404
- columnWidths: T,
405
- safeCurrentPage: V,
406
- totalPages: q,
407
- startIndex: E,
408
- endIndex: G,
409
- tableRef: H,
410
- hasActions: A,
411
- hasBulkActions: W,
412
- visibleColumnsArray: _,
413
- colSpanCount: O,
414
- paginatedData: U,
415
- handleSort: F,
416
- handleMouseDown: J,
417
- handleDragStart: Q,
418
- handleDragOver: X,
419
- handleDrop: Y,
420
- toggleColumnVisibility: Z,
421
- toggleRowSelection: K,
422
- toggleSelectAll: R,
423
- pageSize: ee,
424
- setPageSize: re,
425
- setCurrentPage: te
426
- } = ae({
408
+ columnWidths: A,
409
+ safeCurrentPage: q,
410
+ totalPages: E,
411
+ startIndex: G,
412
+ endIndex: H,
413
+ tableRef: O,
414
+ hasActions: W,
415
+ hasBulkActions: _,
416
+ visibleColumnsArray: I,
417
+ colSpanCount: U,
418
+ paginatedData: F,
419
+ handleSort: J,
420
+ handleMouseDown: Q,
421
+ handleDragStart: X,
422
+ handleDragOver: Y,
423
+ handleDrop: Z,
424
+ toggleColumnVisibility: K,
425
+ toggleRowSelection: R,
426
+ toggleSelectAll: ee,
427
+ pageSize: re,
428
+ setPageSize: te,
429
+ setCurrentPage: ae
430
+ } = se({
427
431
  data: l,
428
432
  columns: s,
429
433
  getRowId: t,
430
- defaultPageSize: C,
434
+ defaultPageSize: f,
431
435
  actions: c,
432
436
  bulkActions: i,
433
437
  columnVisibility: h,
434
- totalRows: b,
435
- currentPage: z,
438
+ totalRows: N,
439
+ currentPage: S,
436
440
  pageSize: m,
437
441
  onPageChange: g,
438
442
  onPageSizeChange: n,
@@ -441,74 +445,76 @@ function Pe({
441
445
  onSortChange: d
442
446
  });
443
447
  return /* @__PURE__ */ r("div", { className: "space-y-4", children: [
444
- N.length > 0 && i !== void 0 && i.length > 0 && /* @__PURE__ */ e(ke, { selectedRows: N, setSelectedRows: M, bulkActions: i }),
448
+ k.length > 0 && i !== void 0 && i.length > 0 && /* @__PURE__ */ e(we, { selectedRows: k, setSelectedRows: T, bulkActions: i }),
445
449
  /* @__PURE__ */ r("div", { className: "w-full bg-card dark:bg-gray-950 rounded-md border border-gray-200 dark:border-gray-800 overflow-hidden", children: [
446
- /* @__PURE__ */ e("div", { className: "overflow-x-auto", children: /* @__PURE__ */ r("table", { ref: H, className: "w-full", children: [
450
+ /* @__PURE__ */ e("div", { className: "overflow-x-auto", children: /* @__PURE__ */ r("table", { ref: O, className: "w-full", children: [
447
451
  /* @__PURE__ */ e(
448
- we,
452
+ Ce,
449
453
  {
450
- hasBulkActions: W,
451
- selectedRows: N,
454
+ hasBulkActions: _,
455
+ selectedRows: k,
452
456
  totalItems: l.length,
453
- toggleSelectAll: R,
454
- visibleColumnsArray: _,
457
+ toggleSelectAll: ee,
458
+ visibleColumnsArray: I,
455
459
  draggableColumns: p,
456
460
  resizableColumns: y,
457
- columnWidths: T,
458
- sortColumn: j,
459
- sortDirection: S,
460
- handleSort: F,
461
- handleDragStart: Q,
462
- handleDragOver: X,
463
- handleDrop: Y,
464
- handleMouseDown: J,
465
- hasActions: A,
466
- settingsNode: h ? /* @__PURE__ */ e(ze, { columns: s, visibleColumns: u, toggleColumnVisibility: Z }) : void 0
461
+ columnWidths: A,
462
+ sortColumn: M,
463
+ sortDirection: D,
464
+ handleSort: J,
465
+ handleDragStart: X,
466
+ handleDragOver: Y,
467
+ handleDrop: Z,
468
+ handleMouseDown: Q,
469
+ hasActions: W,
470
+ bordered: b,
471
+ settingsNode: h ? /* @__PURE__ */ e(Se, { columns: s, visibleColumns: u, toggleColumnVisibility: K }) : void 0
467
472
  }
468
473
  ),
469
474
  /* @__PURE__ */ e(
470
- Ne,
475
+ ke,
471
476
  {
477
+ bordered: b,
472
478
  isLoading: o,
473
- colSpanCount: O,
474
- noDataMessage: w,
475
- paginatedData: U,
479
+ colSpanCount: U,
480
+ noDataMessage: C,
481
+ paginatedData: F,
476
482
  getRowId: t,
477
483
  onRowClick: a,
478
- hasBulkActions: W,
479
- selectedRows: N,
480
- toggleRowSelection: K,
481
- visibleColumnsArray: _,
482
- columnWidths: T,
483
- hasActions: A || h,
484
+ hasBulkActions: _,
485
+ selectedRows: k,
486
+ toggleRowSelection: R,
487
+ visibleColumnsArray: I,
488
+ columnWidths: A,
489
+ hasActions: W || h,
484
490
  actions: c,
485
491
  columns: s
486
492
  }
487
493
  )
488
494
  ] }) }),
489
495
  /* @__PURE__ */ e(
490
- Ce,
496
+ ze,
491
497
  {
492
- totalItems: b ?? l.length,
493
- startIndex: E,
494
- endIndex: G,
495
- pageSize: ee,
496
- setPageSize: re,
497
- currentPage: V,
498
- setCurrentPage: te,
499
- pageSizeOptions: f,
500
- totalPages: q
498
+ totalItems: N ?? l.length,
499
+ startIndex: G,
500
+ endIndex: H,
501
+ pageSize: re,
502
+ setPageSize: te,
503
+ currentPage: q,
504
+ setCurrentPage: ae,
505
+ pageSizeOptions: z,
506
+ totalPages: E
501
507
  }
502
508
  )
503
509
  ] })
504
510
  ] });
505
511
  }
506
512
  export {
507
- Pe as D,
508
- be as T,
509
- Ne as a,
510
- ke as b,
511
- we as c,
512
- Ce as d,
513
- ze as e
513
+ Ve as D,
514
+ Ne as T,
515
+ ke as a,
516
+ we as b,
517
+ Ce as c,
518
+ ze as d,
519
+ Se as e
514
520
  };