@dinofront/design_system 1.20.13 → 1.20.14

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/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Children as e, Fragment as t, cloneElement as n, createContext as r, createElement as i, forwardRef as a, isValidElement as o, useCallback as s, useContext as c, useEffect as l, useId as u, useLayoutEffect as d, useMemo as f, useRef as p, useState as m } from "react";
2
- import { AlertCircle as h, AlertTriangle as g, ArrowDown as _, ArrowUp as v, Calendar as y, Check as b, CheckCircle2 as x, ChevronDown as S, ChevronLeft as C, ChevronRight as w, ChevronsUpDown as T, CircleCheck as E, CircleX as D, Clock as O, Columns3 as k, Construction as A, Copy as j, Download as M, EyeOff as N, File as ee, GripVertical as te, Info as P, Loader2 as F, Menu as I, Minus as L, Monitor as R, Moon as ne, MoreHorizontal as z, MoreVertical as re, Paperclip as B, Pencil as ie, Pin as ae, PinOff as oe, Plus as se, RefreshCw as ce, Search as le, SearchX as ue, Smartphone as de, Sparkles as fe, Sun as pe, Tablet as me, TabletSmartphone as he, Trash2 as ge, UploadCloud as _e, User as V, X as H, XCircle as U } from "lucide-react";
2
+ import { AlertCircle as h, AlertTriangle as g, ArrowDown as _, ArrowUp as v, Calendar as y, Check as b, CheckCircle2 as x, ChevronDown as S, ChevronLeft as C, ChevronRight as w, ChevronsUpDown as T, CircleCheck as E, CircleX as D, Clock as O, Columns3 as k, Construction as A, Copy as j, Download as M, EyeOff as N, File as ee, GripVertical as te, Info as P, Loader2 as F, Menu as I, Minus as L, Monitor as R, Moon as z, MoreHorizontal as ne, MoreVertical as re, Paperclip as B, Pencil as ie, Pin as ae, PinOff as oe, Plus as se, RefreshCw as ce, Search as le, SearchX as ue, Smartphone as de, Sparkles as fe, Sun as pe, Tablet as me, TabletSmartphone as he, Trash2 as ge, UploadCloud as _e, User as V, X as H, XCircle as U } from "lucide-react";
3
3
  import { clsx as ve } from "clsx";
4
4
  import { extendTailwindMerge as ye } from "tailwind-merge";
5
5
  import { Fragment as W, jsx as G, jsxs as K } from "react/jsx-runtime";
@@ -305,7 +305,7 @@ var ht = a(function({ accept: e, multiple: t = !1, maxSizeMB: n, hint: r, onFile
305
305
  id: `${N}-error`,
306
306
  className: "text-p-sm text-red-700",
307
307
  children: S
308
- }) : null, ne = f && l.length > 0 && /* @__PURE__ */ G("div", {
308
+ }) : null, z = f && l.length > 0 && /* @__PURE__ */ G("div", {
309
309
  className: "flex flex-col gap-2",
310
310
  children: l.map((e, t) => /* @__PURE__ */ G(_t, {
311
311
  name: e.name,
@@ -321,7 +321,7 @@ var ht = a(function({ accept: e, multiple: t = !1, maxSizeMB: n, hint: r, onFile
321
321
  ...E,
322
322
  children: [
323
323
  L,
324
- ne,
324
+ z,
325
325
  R
326
326
  ]
327
327
  });
@@ -345,12 +345,12 @@ var ht = a(function({ accept: e, multiple: t = !1, maxSizeMB: n, hint: r, onFile
345
345
  children: e ? v ?? /* @__PURE__ */ G(ie, { className: "h-4 w-4" }) : _ ?? "Choose a file"
346
346
  }),
347
347
  I,
348
- ne,
348
+ z,
349
349
  R
350
350
  ]
351
351
  });
352
352
  }
353
- let z = /* @__PURE__ */ K("div", {
353
+ let ne = /* @__PURE__ */ K("div", {
354
354
  ref: D,
355
355
  onDragEnter: () => {
356
356
  j.current += 1, a || A(!0);
@@ -393,12 +393,12 @@ var ht = a(function({ accept: e, multiple: t = !1, maxSizeMB: n, hint: r, onFile
393
393
  I
394
394
  ]
395
395
  });
396
- return !L && !R && !ne ? z : /* @__PURE__ */ K("div", {
396
+ return !L && !R && !z ? ne : /* @__PURE__ */ K("div", {
397
397
  className: "flex flex-col gap-1.5",
398
398
  children: [
399
399
  L,
400
- z,
401
400
  ne,
401
+ z,
402
402
  R
403
403
  ]
404
404
  });
@@ -897,8 +897,8 @@ function Qt() {
897
897
  //#endregion
898
898
  //#region src/lib/useFloatingPosition.ts
899
899
  var $t = 8, en = 10;
900
- function tn({ anchor: e, panel: t, open: n, side: r = "top", align: i = "center", offset: a = 8, flip: o = !0, shift: s = !0, matchAnchorWidth: c = !1, constrainToViewport: l = !1, recomputeKey: u, zIndex: f = 50 }) {
901
- let [p, h] = m({
900
+ function tn({ anchor: e, panel: t, open: n, side: r = "top", align: i = "center", offset: a = 8, flip: o = !0, shift: s = !0, matchAnchorWidth: c = !1, constrainToViewport: l = !1, recomputeKey: u }) {
901
+ let [f, p] = m({
902
902
  style: {
903
903
  position: "fixed",
904
904
  top: 0,
@@ -913,42 +913,41 @@ function tn({ anchor: e, panel: t, open: n, side: r = "top", align: i = "center"
913
913
  let u = () => {
914
914
  let n = e?.current;
915
915
  if (!n) return;
916
- let u = n.getBoundingClientRect(), d = t.getBoundingClientRect(), p = window.innerWidth, m = window.innerHeight, g = r === "top" || r === "bottom", _ = r;
917
- if (o) if (g) {
916
+ let u = n.getBoundingClientRect(), d = t.getBoundingClientRect(), f = window.innerWidth, m = window.innerHeight, h = r === "top" || r === "bottom", g = r;
917
+ if (o) if (h) {
918
918
  let e = u.top, t = m - u.bottom;
919
- r === "top" && e < d.height + a && t > e ? _ = "bottom" : r === "bottom" && t < d.height + a && e > t && (_ = "top");
919
+ r === "top" && e < d.height + a && t > e ? g = "bottom" : r === "bottom" && t < d.height + a && e > t && (g = "top");
920
920
  } else {
921
- let e = u.left, t = p - u.right;
922
- r === "left" && e < d.width + a && t > e ? _ = "right" : r === "right" && t < d.width + a && e > t && (_ = "left");
921
+ let e = u.left, t = f - u.right;
922
+ r === "left" && e < d.width + a && t > e ? g = "right" : r === "right" && t < d.width + a && e > t && (g = "left");
923
923
  }
924
- let v = _ === "top" || _ === "bottom", y, b;
925
- v ? (y = _ === "bottom" ? u.bottom + a : u.top - d.height - a, b = i === "start" ? u.left : i === "end" ? u.right - d.width : u.left + u.width / 2 - d.width / 2) : (b = _ === "right" ? u.right + a : u.left - d.width - a, y = i === "start" ? u.top : i === "end" ? u.bottom - d.height : u.top + u.height / 2 - d.height / 2), s && (v ? b = Math.min(Math.max(b, $t), p - d.width - $t) : y = Math.min(Math.max(y, $t), m - d.height - $t));
926
- let x;
927
- if (v) {
924
+ let _ = g === "top" || g === "bottom", v, y;
925
+ _ ? (v = g === "bottom" ? u.bottom + a : u.top - d.height - a, y = i === "start" ? u.left : i === "end" ? u.right - d.width : u.left + u.width / 2 - d.width / 2) : (y = g === "right" ? u.right + a : u.left - d.width - a, v = i === "start" ? u.top : i === "end" ? u.bottom - d.height : u.top + u.height / 2 - d.height / 2), s && (_ ? y = Math.min(Math.max(y, $t), f - d.width - $t) : v = Math.min(Math.max(v, $t), m - d.height - $t));
926
+ let b;
927
+ if (_) {
928
928
  let e = u.left + u.width / 2;
929
- x = {
930
- left: Math.min(Math.max(e - b, en), d.width - en),
931
- [_ === "bottom" ? "top" : "bottom"]: -8 / 2
929
+ b = {
930
+ left: Math.min(Math.max(e - y, en), d.width - en),
931
+ [g === "bottom" ? "top" : "bottom"]: -8 / 2
932
932
  };
933
933
  } else {
934
934
  let e = u.top + u.height / 2;
935
- x = {
936
- top: Math.min(Math.max(e - y, en), d.height - en),
937
- [_ === "right" ? "left" : "right"]: -8 / 2
935
+ b = {
936
+ top: Math.min(Math.max(e - v, en), d.height - en),
937
+ [g === "right" ? "left" : "right"]: -8 / 2
938
938
  };
939
939
  }
940
- let S;
941
- l && (S = v ? p - 2 * $t : _ === "right" ? p - u.right - a - $t : u.left - a - $t), h({
940
+ let x;
941
+ l && (x = _ ? f - 2 * $t : g === "right" ? f - u.right - a - $t : u.left - a - $t), p({
942
942
  style: {
943
943
  position: "fixed",
944
- top: y,
945
- left: b,
946
- zIndex: f,
944
+ top: v,
945
+ left: y,
947
946
  ...c ? { minWidth: u.width } : {},
948
- ...S === void 0 ? {} : { maxWidth: S }
947
+ ...x === void 0 ? {} : { maxWidth: x }
949
948
  },
950
- arrowStyle: x,
951
- resolvedSide: _
949
+ arrowStyle: b,
950
+ resolvedSide: g
952
951
  });
953
952
  };
954
953
  u(), window.addEventListener("resize", u), document.addEventListener("scroll", u, {
@@ -970,9 +969,8 @@ function tn({ anchor: e, panel: t, open: n, side: r = "top", align: i = "center"
970
969
  s,
971
970
  c,
972
971
  l,
973
- u,
974
- f
975
- ]), p;
972
+ u
973
+ ]), f;
976
974
  }
977
975
  //#endregion
978
976
  //#region src/components/Popover/Popover.tsx
@@ -1290,7 +1288,7 @@ function En(e) {
1290
1288
  return `${e.getFullYear()}-${t}-${n}`;
1291
1289
  }
1292
1290
  var Dn = a(function({ value: e, onChange: t, clearable: n = !0, range: r = !1, rangeValue: i, onChangeRange: a, size: o = "md", locale: s = "en", format: c = "dd.MM.yyyy", label: d, required: h = !1, helperText: g, placeholder: _ = "Select date", fullWidth: v = !1, disabled: b = !1, minDate: x, maxDate: S, excludeDates: T, filterDate: E, menuPlacement: D = "auto", error: O = !1, errorText: k, id: A, className: j, wrapperClassName: M, dataTestId: N }, ee) {
1293
- let te = u(), P = A ?? te, [F, I] = m(!1), [L, R] = m(e ?? i?.start ?? /* @__PURE__ */ new Date()), [ne, z] = m(null), [re, B] = m(null), ie = p(null), ae = p(null), oe = Qt(), { style: se, resolvedSide: ce } = tn({
1291
+ let te = u(), P = A ?? te, [F, I] = m(!1), [L, R] = m(e ?? i?.start ?? /* @__PURE__ */ new Date()), [z, ne] = m(null), [re, B] = m(null), ie = p(null), ae = p(null), oe = Qt(), { style: se, resolvedSide: ce } = tn({
1294
1292
  anchor: ae,
1295
1293
  panel: re,
1296
1294
  open: F,
@@ -1343,7 +1341,7 @@ var Dn = a(function({ value: e, onChange: t, clearable: n = !0, range: r = !1, r
1343
1341
  e.stopPropagation(), r ? (a?.({
1344
1342
  start: null,
1345
1343
  end: null
1346
- }), z(null)) : t?.(null);
1344
+ }), ne(null)) : t?.(null);
1347
1345
  }
1348
1346
  let { monthNames: me, weekdayNames: he } = f(() => {
1349
1347
  let e = gn(s);
@@ -1354,7 +1352,7 @@ var Dn = a(function({ value: e, onChange: t, clearable: n = !0, range: r = !1, r
1354
1352
  }, [s]), ge = Tn(L), _e = Sn(/* @__PURE__ */ new Date()), V = Z(N), U = i ?? {
1355
1353
  start: null,
1356
1354
  end: null
1357
- }, ve = U.end ?? ne;
1355
+ }, ve = U.end ?? z;
1358
1356
  return /* @__PURE__ */ K("div", {
1359
1357
  ref: ie,
1360
1358
  "data-test-id": V("root"),
@@ -1449,7 +1447,7 @@ var Dn = a(function({ value: e, onChange: t, clearable: n = !0, range: r = !1, r
1449
1447
  "data-today": o || void 0,
1450
1448
  "data-excluded": a || void 0,
1451
1449
  "aria-current": o ? "date" : void 0,
1452
- onMouseEnter: () => !i && r && U.start && !U.end && z(t),
1450
+ onMouseEnter: () => !i && r && U.start && !U.end && ne(t),
1453
1451
  onClick: () => !i && fe(t),
1454
1452
  className: X("h-8 rounded-md text-p-sm font-medium", d, f),
1455
1453
  children: t.getDate()
@@ -2594,7 +2592,7 @@ var Ur = "inline-flex items-center justify-center min-w-9 h-9 px-2 text-p-std ro
2594
2592
  if (t === "ellipsis-left" || t === "ellipsis-right") return /* @__PURE__ */ G("span", {
2595
2593
  "aria-hidden": !0,
2596
2594
  className: "inline-flex items-center justify-center w-9 h-9 text-fg-tertiary",
2597
- children: /* @__PURE__ */ G(z, { className: "h-4 w-4" })
2595
+ children: /* @__PURE__ */ G(ne, { className: "h-4 w-4" })
2598
2596
  }, `${t}-${r}`);
2599
2597
  let i = t === e;
2600
2598
  return /* @__PURE__ */ G("button", {
@@ -3173,22 +3171,22 @@ function Pi(t) {
3173
3171
  });
3174
3172
  }
3175
3173
  var Fi = a(function(e, t) {
3176
- let { options: n, loadOptions: r, defaultOptions: i, creatable: a = !1, onCreateOption: o, formatCreateLabel: c, isMulti: d, value: h, defaultValue: g, onChange: _, placeholder: v, label: y, labelAddons: b, dropdownIcon: x, helperText: S, errorText: C, error: w = !1, required: T = !0, loading: E = !1, clearable: D = !0, searchable: O, virtualized: k = !1, emptyText: A, locale: j = "en-US", storageKey: M, saveSelectionLabel: N, size: ee = "md", disabled: te = !1, id: P, className: F, wrapperClassName: I, dataTestId: L, inputValue: R, onInputChange: ne, ...z } = e, re = e.isMulti ? !!e.singleLine : !1, B = si[j], ie = v ?? B.placeholder, ae = A ?? B.noResults, oe = c ?? ((e) => B.createLabel(e)), se = u(), ce = P ?? se, le = w || !!C, ue = h !== void 0, [de, fe] = m(() => {
3174
+ let { options: n, loadOptions: r, defaultOptions: i, creatable: a = !1, onCreateOption: o, formatCreateLabel: c, isMulti: d, value: h, defaultValue: g, onChange: _, placeholder: v, label: y, labelAddons: b, dropdownIcon: x, helperText: S, errorText: C, error: w = !1, required: T = !0, loading: E = !1, searchable: D, virtualized: O = !1, emptyText: k, locale: A = "en-US", storageKey: j, saveSelectionLabel: M, size: N = "md", disabled: ee = !1, id: te, className: P, wrapperClassName: F, dataTestId: I, inputValue: L, onInputChange: R, ...z } = e, ne = e.isMulti ? !!e.singleLine : !1, re = d || e.clearable, B = si[A], ie = v ?? B.placeholder, ae = k ?? B.noResults, oe = c ?? ((e) => B.createLabel(e)), se = u(), ce = te ?? se, le = w || !!C, ue = h !== void 0, [de, fe] = m(() => {
3177
3175
  if (!d) {
3178
- if (M && !ue) {
3179
- let e = _i(M);
3176
+ if (j && !ue) {
3177
+ let e = _i(j);
3180
3178
  if (e !== void 0) return e;
3181
3179
  }
3182
3180
  return g;
3183
3181
  }
3184
3182
  }), [pe, me] = m(() => {
3185
3183
  if (!d) return [];
3186
- if (M && !ue) {
3187
- let e = _i(M);
3184
+ if (j && !ue) {
3185
+ let e = _i(j);
3188
3186
  if (Array.isArray(e)) return e;
3189
3187
  }
3190
3188
  return g ?? [];
3191
- }), [he, ge] = m(() => !!M && vi(M)), [_e, V] = m(() => {
3189
+ }), [he, ge] = m(() => !!j && vi(j)), [_e, V] = m(() => {
3192
3190
  let e = /* @__PURE__ */ new Map();
3193
3191
  for (let t of n) e.set(String(t.value), t);
3194
3192
  if (Array.isArray(i)) for (let t of i) e.set(String(t.value), t);
@@ -3244,11 +3242,11 @@ var Fi = a(function(e, t) {
3244
3242
  U,
3245
3243
  _,
3246
3244
  o
3247
- ]), q = !!r, ke = O ?? (q || a ? !0 : n.length >= 10), Ae = q ? a ? Oe : Ee : a ? De : Te, je = f(() => xi(ee, le, re), [
3248
- ee,
3245
+ ]), q = !!r, ke = D ?? (q || a ? !0 : n.length >= 10), Ae = q ? a ? Oe : Ee : a ? De : Te, je = f(() => xi(N, le, ne), [
3246
+ N,
3249
3247
  le,
3250
- re
3251
- ]), Me = p(null), Ne = p(null), Pe = p(null), Fe = !!d && re, Ie = oi({
3248
+ ne
3249
+ ]), Me = p(null), Ne = p(null), Pe = p(null), Fe = !!d && ne, Ie = oi({
3252
3250
  wrapperRef: Me,
3253
3251
  measureRef: Ne,
3254
3252
  total: xe.length,
@@ -3278,28 +3276,28 @@ var Fi = a(function(e, t) {
3278
3276
  W
3279
3277
  ]), ze = !!d && !q, Be = d ? W : ye;
3280
3278
  l(() => {
3281
- !M || !he || yi(M, Be);
3279
+ !j || !he || yi(j, Be);
3282
3280
  }, [
3283
- M,
3281
+ j,
3284
3282
  he,
3285
3283
  Be
3286
3284
  ]);
3287
3285
  let Ve = s(() => {
3288
- M && ge((e) => {
3286
+ j && ge((e) => {
3289
3287
  let t = !e;
3290
- return t ? yi(M, Be) : bi(M), t;
3288
+ return t ? yi(j, Be) : bi(j), t;
3291
3289
  });
3292
- }, [M, Be]), He = f(() => M ? {
3290
+ }, [j, Be]), He = f(() => j ? {
3293
3291
  checked: he,
3294
- label: N ?? B.saveSelectionLabel
3292
+ label: M ?? B.saveSelectionLabel
3295
3293
  } : null, [
3296
- M,
3294
+ j,
3297
3295
  he,
3298
- N,
3296
+ M,
3299
3297
  B
3300
- ]), [Ue, We] = m(""), J = R ?? Ue, Ge = ze || R !== void 0 || ne !== void 0, Ke = s((e, t) => {
3301
- We(e), ne?.(e, t);
3302
- }, [ne]), Y = f(() => ze ? n.filter((e) => !e.disabled && hi(e, J)) : [], [
3298
+ ]), [Ue, We] = m(""), J = L ?? Ue, Ge = ze || L !== void 0 || R !== void 0, Ke = s((e, t) => {
3299
+ We(e), R?.(e, t);
3300
+ }, [R]), Y = f(() => ze ? n.filter((e) => !e.disabled && hi(e, J)) : [], [
3303
3301
  ze,
3304
3302
  n,
3305
3303
  J
@@ -3336,13 +3334,13 @@ var Fi = a(function(e, t) {
3336
3334
  ]), Z = Qt(), Ye = {
3337
3335
  ...q ? {} : { filterOption: (e, t) => e.data.__isNew__ === !0 || hi(e.data, t) },
3338
3336
  ...z,
3339
- dataTestId: L,
3337
+ dataTestId: I,
3340
3338
  dropdownIcon: x,
3341
- inputValueControlled: R !== void 0,
3339
+ inputValueControlled: L !== void 0,
3342
3340
  inputId: ce,
3343
3341
  unstyled: !0,
3344
3342
  classNames: je,
3345
- className: F,
3343
+ className: P,
3346
3344
  isMulti: d,
3347
3345
  options: Re,
3348
3346
  loadOptions: Se,
@@ -3371,7 +3369,7 @@ var Fi = a(function(e, t) {
3371
3369
  className: "min-w-0 flex-1 truncate",
3372
3370
  children: n
3373
3371
  }), /* @__PURE__ */ G("span", {
3374
- "data-test-id": Ci({ dataTestId: L }, `option-${String(e.value)}-actions`),
3372
+ "data-test-id": Ci({ dataTestId: I }, `option-${String(e.value)}-actions`),
3375
3373
  className: "ml-auto inline-flex shrink-0 items-center",
3376
3374
  onMouseDown: (e) => {
3377
3375
  e.preventDefault(), e.stopPropagation();
@@ -3383,8 +3381,8 @@ var Fi = a(function(e, t) {
3383
3381
  },
3384
3382
  isOptionDisabled: (e) => !!e.disabled,
3385
3383
  placeholder: ie,
3386
- isDisabled: te || E,
3387
- isClearable: D,
3384
+ isDisabled: ee || E,
3385
+ isClearable: re,
3388
3386
  isSearchable: ke,
3389
3387
  isLoading: E || void 0,
3390
3388
  noOptionsMessage: () => ae,
@@ -3420,15 +3418,15 @@ var Fi = a(function(e, t) {
3420
3418
  MultiValueRemove: ki,
3421
3419
  LoadingIndicator: Mi,
3422
3420
  IndicatorSeparator: () => null,
3423
- ...k ? { MenuList: Pi } : {},
3421
+ ...O ? { MenuList: Pi } : {},
3424
3422
  ...Fe ? { MultiValue: Ai } : {},
3425
3423
  Option: ji
3426
3424
  }
3427
3425
  };
3428
3426
  return /* @__PURE__ */ K("div", {
3429
3427
  ref: Me,
3430
- "data-test-id": L,
3431
- className: X("flex flex-col gap-1.5 w-full", I),
3428
+ "data-test-id": I,
3429
+ className: X("flex flex-col gap-1.5 w-full", F),
3432
3430
  children: [
3433
3431
  (y || b) && /* @__PURE__ */ K("div", {
3434
3432
  className: "flex items-center gap-1.5",
@@ -4274,7 +4272,7 @@ function Na({ header: e, dataTestId: t, density: n, enableSorting: r, enableFilt
4274
4272
  type: "button",
4275
4273
  "aria-label": `${typeof g == "string" ? g : l.id} column options`,
4276
4274
  className: "ml-auto shrink-0 text-fg-tertiary hover:text-fg-default focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-brand-300 rounded-sm",
4277
- children: /* @__PURE__ */ G(z, { className: "h-3.5 w-3.5" })
4275
+ children: /* @__PURE__ */ G(ne, { className: "h-3.5 w-3.5" })
4278
4276
  }) }), /* @__PURE__ */ K(yr, {
4279
4277
  align: "start",
4280
4278
  children: [
@@ -4369,7 +4367,7 @@ function Fa({ rowCount: e }) {
4369
4367
  }, t)) });
4370
4368
  }
4371
4369
  function Ia(e, t) {
4372
- let { data: n, columns: r, loading: i = !1, error: a, emptyMessage: o = "No results", getRowId: s, enableSorting: c = !1, enableMultiSort: l = !1, sorting: u, onSortingChange: h, manualSorting: g = !1, enableFiltering: _ = !1, columnFilters: v, onColumnFiltersChange: y, manualFiltering: b = !1, enableGlobalFilter: x = !1, globalFilter: S, onGlobalFilterChange: C, enableRowSelection: w = !1, enableMultiRowSelection: T = !0, rowSelection: E, onRowSelectionChange: D, enableColumnVisibility: O = !1, columnVisibility: k, onColumnVisibilityChange: A, enableColumnOrdering: j = !1, columnOrder: M, onColumnOrderChange: N, enablePinning: ee = !1, columnPinning: te, onColumnPinningChange: P, enableColumnResizing: F = !1, columnResizeMode: I = "onChange", enablePagination: L = !1, pageSize: R = 10, pageSizeOptions: ne, pagination: z, onPaginationChange: re, locale: B = "en-US", manualPagination: ie = !1, pageCount: ae, rowCount: oe, enableVirtualization: se = !1, estimatedRowHeight: ce = 44, maxBodyHeight: le = 480, onRowClick: ue, toolbar: de = !1, toolbarActions: fe, searchPlaceholder: pe, onRefresh: me, onExport: he, density: ge = "comfortable", stickyHeader: _e = !1, fillHeight: V = !1, wrapperClassName: H, className: U, dataTestId: ve } = e, [ye, be] = ja(u, h, []), [xe, Se] = ja(v, y, []), [Ce, we] = ja(S, C, ""), [Te, q] = ja(E, D, {}), [Ee, De] = ja(k, A, {}), [Oe, Le] = ja(M, N, []), [Re, ze] = ja(te, P, {}), [Be, Ve] = ja(z, re, {
4370
+ let { data: n, columns: r, loading: i = !1, error: a, emptyMessage: o = "No results", getRowId: s, enableSorting: c = !1, enableMultiSort: l = !1, sorting: u, onSortingChange: h, manualSorting: g = !1, enableFiltering: _ = !1, columnFilters: v, onColumnFiltersChange: y, manualFiltering: b = !1, enableGlobalFilter: x = !1, globalFilter: S, onGlobalFilterChange: C, enableRowSelection: w = !1, enableMultiRowSelection: T = !0, rowSelection: E, onRowSelectionChange: D, enableColumnVisibility: O = !1, columnVisibility: k, onColumnVisibilityChange: A, enableColumnOrdering: j = !1, columnOrder: M, onColumnOrderChange: N, enablePinning: ee = !1, columnPinning: te, onColumnPinningChange: P, enableColumnResizing: F = !1, columnResizeMode: I = "onChange", enablePagination: L = !1, pageSize: R = 10, pageSizeOptions: z, pagination: ne, onPaginationChange: re, locale: B = "en-US", manualPagination: ie = !1, pageCount: ae, rowCount: oe, enableVirtualization: se = !1, estimatedRowHeight: ce = 44, maxBodyHeight: le = 480, onRowClick: ue, toolbar: de = !1, toolbarActions: fe, searchPlaceholder: pe, onRefresh: me, onExport: he, density: ge = "comfortable", stickyHeader: _e = !1, fillHeight: V = !1, wrapperClassName: H, className: U, dataTestId: ve } = e, [ye, be] = ja(u, h, []), [xe, Se] = ja(v, y, []), [Ce, we] = ja(S, C, ""), [Te, q] = ja(E, D, {}), [Ee, De] = ja(k, A, {}), [Oe, Le] = ja(M, N, []), [Re, ze] = ja(te, P, {}), [Be, Ve] = ja(ne, re, {
4373
4371
  pageIndex: 0,
4374
4372
  pageSize: R
4375
4373
  }), Ue = Fe({
@@ -4563,7 +4561,7 @@ function Ia(e, t) {
4563
4561
  })] }),
4564
4562
  L && !a && /* @__PURE__ */ G(_a, {
4565
4563
  table: Ue,
4566
- pageSizeOptions: ne,
4564
+ pageSizeOptions: z,
4567
4565
  locale: B,
4568
4566
  dataTestId: ve
4569
4567
  })
@@ -4805,7 +4803,7 @@ var Ua = {
4805
4803
  children: [/* @__PURE__ */ G(pe, {
4806
4804
  className: "size-4 text-yellow-500 z-1",
4807
4805
  "aria-hidden": !0
4808
- }), /* @__PURE__ */ G(ne, {
4806
+ }), /* @__PURE__ */ G(z, {
4809
4807
  className: "size-4 text-gray-400 z-1",
4810
4808
  "aria-hidden": !0
4811
4809
  })]