@aveonline/ui-react 1.14.0 → 1.14.1

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/ui-react.mjs CHANGED
@@ -978,7 +978,7 @@ const w1 = mt((e, t) => {
978
978
  children: r
979
979
  });
980
980
  });
981
- function N8({
981
+ function P8({
982
982
  kind: e = "default",
983
983
  className: t,
984
984
  children: n,
@@ -992,7 +992,7 @@ function N8({
992
992
  children: n
993
993
  });
994
994
  }
995
- function D8({
995
+ function N8({
996
996
  variant: e,
997
997
  children: t
998
998
  }) {
@@ -3696,7 +3696,7 @@ let bu = "div", Do = Bt.RenderStrategy, Go = pe(function(e, t) {
3696
3696
  Child: Bu,
3697
3697
  Root: Or
3698
3698
  });
3699
- function G8({
3699
+ function D8({
3700
3700
  onChange: e,
3701
3701
  isSelected: t = !1,
3702
3702
  isDisabled: n,
@@ -5786,7 +5786,7 @@ const b0 = mt((e, t) => {
5786
5786
  })
5787
5787
  });
5788
5788
  });
5789
- function O8({
5789
+ function G8({
5790
5790
  track: e,
5791
5791
  isDisabled: t = !1,
5792
5792
  isSelected: n = !1,
@@ -10778,7 +10778,7 @@ const U1 = (e) => /* @__PURE__ */ d(yt.DropdownIndicator, {
10778
10778
  })]
10779
10779
  });
10780
10780
  };
10781
- function L8({
10781
+ function O8({
10782
10782
  options: e,
10783
10783
  placeholder: t = "",
10784
10784
  defaultValue: n,
@@ -10903,7 +10903,7 @@ var e4 = /* @__PURE__ */ mt(function(e, t) {
10903
10903
  ...i
10904
10904
  });
10905
10905
  });
10906
- function H8({
10906
+ function L8({
10907
10907
  placeholder: e = "",
10908
10908
  id: t = "default-async",
10909
10909
  name: n = "default-async",
@@ -10993,7 +10993,7 @@ const t4 = ({
10993
10993
  }, s = {
10994
10994
  addButton: () => l(a.addButton)
10995
10995
  };
10996
- return /* @__PURE__ */ M(F8, {
10996
+ return /* @__PURE__ */ M(V8, {
10997
10997
  variant: "plain",
10998
10998
  fullWidth: !0,
10999
10999
  align: e,
@@ -11017,7 +11017,7 @@ const t4 = ({
11017
11017
  })
11018
11018
  });
11019
11019
  };
11020
- function T8({
11020
+ function H8({
11021
11021
  options: e,
11022
11022
  placeholder: t = "",
11023
11023
  defaultValue: n,
@@ -11174,7 +11174,7 @@ const Xa = ({
11174
11174
  })]
11175
11175
  })
11176
11176
  });
11177
- function k8({
11177
+ function T8({
11178
11178
  id: e = "default-country",
11179
11179
  name: t = "default-country",
11180
11180
  placeholder: n = "",
@@ -11307,7 +11307,7 @@ var c4 = /* @__PURE__ */ mt(function(e, t) {
11307
11307
  ...r
11308
11308
  });
11309
11309
  });
11310
- function Z8({
11310
+ function k8({
11311
11311
  placeholder: e = "",
11312
11312
  id: t = "default-async-creatable",
11313
11313
  name: n = "default-async-creatable",
@@ -11410,7 +11410,7 @@ function Z8({
11410
11410
  })
11411
11411
  });
11412
11412
  }
11413
- function X8({
11413
+ function Z8({
11414
11414
  tabs: e,
11415
11415
  variant: t = "default"
11416
11416
  }) {
@@ -11522,7 +11522,7 @@ function ja({
11522
11522
  })]
11523
11523
  });
11524
11524
  }
11525
- function j8({
11525
+ function X8({
11526
11526
  title: e,
11527
11527
  iconTitle: t,
11528
11528
  subtitle: n,
@@ -11586,7 +11586,7 @@ function j8({
11586
11586
  })]
11587
11587
  });
11588
11588
  }
11589
- function z8({
11589
+ function j8({
11590
11590
  title: e,
11591
11591
  subtitle: t,
11592
11592
  defaultOpen: n = !1,
@@ -11776,7 +11776,7 @@ function d4() {
11776
11776
  })
11777
11777
  });
11778
11778
  }
11779
- function W8({
11779
+ function z8({
11780
11780
  title: e,
11781
11781
  description: t,
11782
11782
  img: n,
@@ -11802,7 +11802,7 @@ function W8({
11802
11802
  }), r]
11803
11803
  });
11804
11804
  }
11805
- function Y8({
11805
+ function W8({
11806
11806
  icon: e,
11807
11807
  isSelected: t = !1,
11808
11808
  title: n,
@@ -11844,11 +11844,11 @@ function Y8({
11844
11844
  })]
11845
11845
  });
11846
11846
  }
11847
- function J8({
11847
+ function Y8({
11848
11848
  hasLogo: e = !1,
11849
11849
  className: t = "",
11850
11850
  menuMovil: n,
11851
- dropdownUser: i,
11851
+ options: i,
11852
11852
  ...r
11853
11853
  }) {
11854
11854
  const [o, a] = j(!1), l = Vr("(min-width: 768px)"), s = Vr("(max-width: 1038px)");
@@ -11870,20 +11870,13 @@ function J8({
11870
11870
  kind: "brand-sm",
11871
11871
  className: "hidden w-[69px] md:block"
11872
11872
  })]
11873
- }), /* @__PURE__ */ M("div", {
11873
+ }), /* @__PURE__ */ d("div", {
11874
11874
  className: "flex items-center gap-x-sm",
11875
- children: [/* @__PURE__ */ d(fe, {
11876
- kind: "notifications",
11877
- color: "default",
11878
- cursor: "pointer",
11879
- size: "sm"
11880
- }), /* @__PURE__ */ d(Q4, {
11881
- ...i
11882
- })]
11875
+ children: i
11883
11876
  })]
11884
11877
  });
11885
11878
  }
11886
- function U8({
11879
+ function J8({
11887
11880
  children: e,
11888
11881
  onClose: t,
11889
11882
  isOpen: n
@@ -12561,7 +12554,7 @@ const w4 = mt((e, t) => {
12561
12554
  })]
12562
12555
  });
12563
12556
  });
12564
- function K8({
12557
+ function U8({
12565
12558
  kind: e = "default",
12566
12559
  icon: t,
12567
12560
  description: n,
@@ -12614,7 +12607,7 @@ function K8({
12614
12607
  })]
12615
12608
  });
12616
12609
  }
12617
- function Q4({
12610
+ function K8({
12618
12611
  name: e,
12619
12612
  email: t,
12620
12613
  items: n,
@@ -12758,7 +12751,7 @@ function gt(e, t) {
12758
12751
  function Vn(e) {
12759
12752
  return e instanceof Function;
12760
12753
  }
12761
- function S4(e, t) {
12754
+ function Q4(e, t) {
12762
12755
  const n = [], i = (r) => {
12763
12756
  r.forEach((o) => {
12764
12757
  n.push(o);
@@ -12792,7 +12785,7 @@ function q(e, t, n) {
12792
12785
  return r;
12793
12786
  };
12794
12787
  }
12795
- function V4(e, t, n, i) {
12788
+ function S4(e, t, n, i) {
12796
12789
  var r, o;
12797
12790
  const l = {
12798
12791
  ...e._getDefaultColumnDef(),
@@ -12871,7 +12864,7 @@ function eo(e, t, n) {
12871
12864
  Object.assign(o, a.createHeader == null ? void 0 : a.createHeader(o, e));
12872
12865
  }), o;
12873
12866
  }
12874
- const F4 = {
12867
+ const V4 = {
12875
12868
  createTable: (e) => ({
12876
12869
  getHeaderGroups: q(() => [e.getAllColumns(), e.getVisibleLeafColumns(), e.getState().columnPinning.left, e.getState().columnPinning.right], (t, n, i, r) => {
12877
12870
  var o, a;
@@ -13078,7 +13071,7 @@ const un = {
13078
13071
  deltaPercentage: null,
13079
13072
  isResizingColumn: !1,
13080
13073
  columnSizingStart: []
13081
- }), M4 = {
13074
+ }), F4 = {
13082
13075
  getDefaultColumnDef: () => un,
13083
13076
  getInitialState: (e) => ({
13084
13077
  columnSizing: {},
@@ -13181,7 +13174,7 @@ const un = {
13181
13174
  var I;
13182
13175
  document.removeEventListener("touchmove", f.moveHandler), document.removeEventListener("touchend", f.upHandler), p.cancelable && (p.preventDefault(), p.stopPropagation()), A((I = p.touches[0]) == null ? void 0 : I.clientX);
13183
13176
  }
13184
- }, C = P4() ? {
13177
+ }, C = M4() ? {
13185
13178
  passive: !1
13186
13179
  } : !1;
13187
13180
  Br(r) ? (document.addEventListener("touchmove", f.moveHandler, C), document.addEventListener("touchend", f.upHandler, C)) : (document.addEventListener("mousemove", g.moveHandler, C), document.addEventListener("mouseup", g.upHandler, C)), t.setColumnSizingInfo((p) => ({
@@ -13226,7 +13219,7 @@ const un = {
13226
13219
  })
13227
13220
  };
13228
13221
  let cn = null;
13229
- function P4() {
13222
+ function M4() {
13230
13223
  if (typeof cn == "boolean")
13231
13224
  return cn;
13232
13225
  let e = !1;
@@ -13246,7 +13239,7 @@ function P4() {
13246
13239
  function Br(e) {
13247
13240
  return e.type === "touchstart";
13248
13241
  }
13249
- const N4 = {
13242
+ const P4 = {
13250
13243
  getInitialState: (e) => ({
13251
13244
  expanded: {},
13252
13245
  ...e
@@ -13407,7 +13400,7 @@ const Qt = {
13407
13400
  function Et(e) {
13408
13401
  return e == null || e === "";
13409
13402
  }
13410
- const D4 = {
13403
+ const N4 = {
13411
13404
  getDefaultColumnDef: () => ({
13412
13405
  filterFn: "auto"
13413
13406
  }),
@@ -13536,35 +13529,35 @@ const D4 = {
13536
13529
  function to(e, t, n) {
13537
13530
  return (e && e.autoRemove ? e.autoRemove(t, n) : !1) || typeof t > "u" || typeof t == "string" && !t;
13538
13531
  }
13539
- const G4 = (e, t, n) => n.reduce((i, r) => {
13532
+ const D4 = (e, t, n) => n.reduce((i, r) => {
13540
13533
  const o = r.getValue(e);
13541
13534
  return i + (typeof o == "number" ? o : 0);
13542
- }, 0), O4 = (e, t, n) => {
13535
+ }, 0), G4 = (e, t, n) => {
13543
13536
  let i;
13544
13537
  return n.forEach((r) => {
13545
13538
  const o = r.getValue(e);
13546
13539
  o != null && (i > o || i === void 0 && o >= o) && (i = o);
13547
13540
  }), i;
13548
- }, L4 = (e, t, n) => {
13541
+ }, O4 = (e, t, n) => {
13549
13542
  let i;
13550
13543
  return n.forEach((r) => {
13551
13544
  const o = r.getValue(e);
13552
13545
  o != null && (i < o || i === void 0 && o >= o) && (i = o);
13553
13546
  }), i;
13554
- }, H4 = (e, t, n) => {
13547
+ }, L4 = (e, t, n) => {
13555
13548
  let i, r;
13556
13549
  return n.forEach((o) => {
13557
13550
  const a = o.getValue(e);
13558
13551
  a != null && (i === void 0 ? a >= a && (i = r = a) : (i > a && (i = a), r < a && (r = a)));
13559
13552
  }), [i, r];
13560
- }, T4 = (e, t) => {
13553
+ }, H4 = (e, t) => {
13561
13554
  let n = 0, i = 0;
13562
13555
  if (t.forEach((r) => {
13563
13556
  let o = r.getValue(e);
13564
13557
  o != null && (o = +o) >= o && (++n, i += o);
13565
13558
  }), n)
13566
13559
  return i / n;
13567
- }, k4 = (e, t) => {
13560
+ }, T4 = (e, t) => {
13568
13561
  if (!t.length)
13569
13562
  return;
13570
13563
  let n = 0, i = 0;
@@ -13572,17 +13565,17 @@ const G4 = (e, t, n) => n.reduce((i, r) => {
13572
13565
  let o = r.getValue(e);
13573
13566
  typeof o == "number" && (n = Math.min(n, o), i = Math.max(i, o));
13574
13567
  }), (n + i) / 2;
13575
- }, Z4 = (e, t) => Array.from(new Set(t.map((n) => n.getValue(e))).values()), X4 = (e, t) => new Set(t.map((n) => n.getValue(e))).size, j4 = (e, t) => t.length, Rr = {
13576
- sum: G4,
13577
- min: O4,
13578
- max: L4,
13579
- extent: H4,
13580
- mean: T4,
13581
- median: k4,
13582
- unique: Z4,
13583
- uniqueCount: X4,
13584
- count: j4
13585
- }, z4 = {
13568
+ }, k4 = (e, t) => Array.from(new Set(t.map((n) => n.getValue(e))).values()), Z4 = (e, t) => new Set(t.map((n) => n.getValue(e))).size, X4 = (e, t) => t.length, Rr = {
13569
+ sum: D4,
13570
+ min: G4,
13571
+ max: O4,
13572
+ extent: L4,
13573
+ mean: H4,
13574
+ median: T4,
13575
+ unique: k4,
13576
+ uniqueCount: Z4,
13577
+ count: X4
13578
+ }, j4 = {
13586
13579
  getDefaultColumnDef: () => ({
13587
13580
  aggregatedCell: (e) => {
13588
13581
  var t, n;
@@ -13656,13 +13649,13 @@ const G4 = (e, t, n) => n.reduce((i, r) => {
13656
13649
  }
13657
13650
  })
13658
13651
  };
13659
- function W4(e, t, n) {
13652
+ function z4(e, t, n) {
13660
13653
  if (!(t != null && t.length) || !n)
13661
13654
  return e;
13662
13655
  const i = e.filter((o) => !t.includes(o.id));
13663
13656
  return n === "remove" ? i : [...t.map((o) => e.find((a) => a.id === o)).filter(Boolean), ...i];
13664
13657
  }
13665
- const Y4 = {
13658
+ const W4 = {
13666
13659
  getInitialState: (e) => ({
13667
13660
  columnOrder: [],
13668
13661
  ...e
@@ -13688,7 +13681,7 @@ const Y4 = {
13688
13681
  }
13689
13682
  o = [...o, ...l];
13690
13683
  }
13691
- return W4(o, n, i);
13684
+ return z4(o, n, i);
13692
13685
  }, {
13693
13686
  key: process.env.NODE_ENV === "development" && "getOrderColumnsFn"
13694
13687
  })
@@ -13696,7 +13689,7 @@ const Y4 = {
13696
13689
  }, Ur = 0, Kr = 10, yr = () => ({
13697
13690
  pageIndex: Ur,
13698
13691
  pageSize: Kr
13699
- }), J4 = {
13692
+ }), Y4 = {
13700
13693
  getInitialState: (e) => ({
13701
13694
  ...e,
13702
13695
  pagination: {
@@ -13800,7 +13793,7 @@ const Y4 = {
13800
13793
  }, xr = () => ({
13801
13794
  left: [],
13802
13795
  right: []
13803
- }), U4 = {
13796
+ }), J4 = {
13804
13797
  getInitialState: (e) => ({
13805
13798
  columnPinning: xr(),
13806
13799
  ...e
@@ -13922,7 +13915,7 @@ const Y4 = {
13922
13915
  }
13923
13916
  })
13924
13917
  })
13925
- }, K4 = {
13918
+ }, U4 = {
13926
13919
  getInitialState: (e) => ({
13927
13920
  rowSelection: {},
13928
13921
  ...e
@@ -14110,10 +14103,10 @@ function no(e, t, n) {
14110
14103
  }
14111
14104
  return !1;
14112
14105
  }
14113
- const _r = /([0-9]+)/gm, q4 = (e, t, n) => el(jt(e.getValue(n)).toLowerCase(), jt(t.getValue(n)).toLowerCase()), _4 = (e, t, n) => el(jt(e.getValue(n)), jt(t.getValue(n))), $4 = (e, t, n) => k2(jt(e.getValue(n)).toLowerCase(), jt(t.getValue(n)).toLowerCase()), e8 = (e, t, n) => k2(jt(e.getValue(n)), jt(t.getValue(n))), t8 = (e, t, n) => {
14106
+ const _r = /([0-9]+)/gm, K4 = (e, t, n) => el(jt(e.getValue(n)).toLowerCase(), jt(t.getValue(n)).toLowerCase()), q4 = (e, t, n) => el(jt(e.getValue(n)), jt(t.getValue(n))), _4 = (e, t, n) => k2(jt(e.getValue(n)).toLowerCase(), jt(t.getValue(n)).toLowerCase()), $4 = (e, t, n) => k2(jt(e.getValue(n)), jt(t.getValue(n))), e8 = (e, t, n) => {
14114
14107
  const i = e.getValue(n), r = t.getValue(n);
14115
14108
  return i > r ? 1 : i < r ? -1 : 0;
14116
- }, n8 = (e, t, n) => k2(e.getValue(n), t.getValue(n));
14109
+ }, t8 = (e, t, n) => k2(e.getValue(n), t.getValue(n));
14117
14110
  function k2(e, t) {
14118
14111
  return e === t ? 0 : e > t ? 1 : -1;
14119
14112
  }
@@ -14141,13 +14134,13 @@ function el(e, t) {
14141
14134
  return n.length - i.length;
14142
14135
  }
14143
14136
  const x1 = {
14144
- alphanumeric: q4,
14145
- alphanumericCaseSensitive: _4,
14146
- text: $4,
14147
- textCaseSensitive: e8,
14148
- datetime: t8,
14149
- basic: n8
14150
- }, r8 = {
14137
+ alphanumeric: K4,
14138
+ alphanumericCaseSensitive: q4,
14139
+ text: _4,
14140
+ textCaseSensitive: $4,
14141
+ datetime: e8,
14142
+ basic: t8
14143
+ }, n8 = {
14151
14144
  getInitialState: (e) => ({
14152
14145
  sorting: [],
14153
14146
  ...e
@@ -14249,7 +14242,7 @@ const x1 = {
14249
14242
  getPreSortedRowModel: () => e.getGroupedRowModel(),
14250
14243
  getSortedRowModel: () => (!e._getSortedRowModel && e.options.getSortedRowModel && (e._getSortedRowModel = e.options.getSortedRowModel(e)), e.options.manualSorting || !e._getSortedRowModel ? e.getPreSortedRowModel() : e._getSortedRowModel())
14251
14244
  })
14252
- }, i8 = {
14245
+ }, r8 = {
14253
14246
  getInitialState: (e) => ({
14254
14247
  columnVisibility: {},
14255
14248
  ...e
@@ -14326,8 +14319,8 @@ const x1 = {
14326
14319
  }
14327
14320
  };
14328
14321
  }
14329
- }, ro = [F4, i8, Y4, U4, D4, r8, z4, N4, J4, K4, M4];
14330
- function o8(e) {
14322
+ }, ro = [V4, r8, W4, J4, N4, n8, j4, P4, Y4, U4, F4];
14323
+ function i8(e) {
14331
14324
  var t;
14332
14325
  (e.debugAll || e.debugTable) && console.info("Creating Table Instance...");
14333
14326
  let n = {
@@ -14411,7 +14404,7 @@ function o8(e) {
14411
14404
  getAllColumns: q(() => [n._getColumnDefs()], (c) => {
14412
14405
  const A = function(g, f, C) {
14413
14406
  return C === void 0 && (C = 0), g.map((p) => {
14414
- const I = V4(n, p, C, f), E = p;
14407
+ const I = S4(n, p, C, f), E = p;
14415
14408
  return I.columns = E.columns ? A(E.columns, I, C + 1) : [], I;
14416
14409
  });
14417
14410
  };
@@ -14454,7 +14447,7 @@ function o8(e) {
14454
14447
  };
14455
14448
  return Object.assign(n, u), n._features.forEach((c) => Object.assign(n, c.createTable == null ? void 0 : c.createTable(n))), n;
14456
14449
  }
14457
- function a8(e, t, n, i) {
14450
+ function o8(e, t, n, i) {
14458
14451
  const r = () => {
14459
14452
  var a;
14460
14453
  return (a = o.getValue()) != null ? a : e.options.renderFallbackValue;
@@ -14507,8 +14500,8 @@ const Z2 = (e, t, n, i, r, o) => {
14507
14500
  return (s = a.getValue(l)) != null ? s : e.options.renderFallbackValue;
14508
14501
  },
14509
14502
  subRows: o != null ? o : [],
14510
- getLeafRows: () => S4(a.subRows, (l) => l.subRows),
14511
- getAllCells: q(() => [e.getAllLeafColumns()], (l) => l.map((s) => a8(e, a, s, s.id)), {
14503
+ getLeafRows: () => Q4(a.subRows, (l) => l.subRows),
14504
+ getAllCells: q(() => [e.getAllLeafColumns()], (l) => l.map((s) => o8(e, a, s, s.id)), {
14512
14505
  key: process.env.NODE_ENV === "development" && "row.getAllCells",
14513
14506
  debug: () => {
14514
14507
  var l;
@@ -14529,7 +14522,7 @@ const Z2 = (e, t, n, i, r, o) => {
14529
14522
  }
14530
14523
  return a;
14531
14524
  };
14532
- function l8() {
14525
+ function a8() {
14533
14526
  return (e) => q(() => [e.options.data], (t) => {
14534
14527
  const n = {
14535
14528
  rows: [],
@@ -14559,10 +14552,10 @@ function l8() {
14559
14552
  }
14560
14553
  });
14561
14554
  }
14562
- function s8(e, t, n) {
14563
- return n.options.filterFromLeafRows ? u8(e, t, n) : c8(e, t, n);
14555
+ function l8(e, t, n) {
14556
+ return n.options.filterFromLeafRows ? s8(e, t, n) : u8(e, t, n);
14564
14557
  }
14565
- function u8(e, t, n) {
14558
+ function s8(e, t, n) {
14566
14559
  var i;
14567
14560
  const r = [], o = {}, a = (i = n.options.maxLeafRowFilterDepth) != null ? i : 100, l = function(s, u) {
14568
14561
  u === void 0 && (u = 0);
@@ -14591,7 +14584,7 @@ function u8(e, t, n) {
14591
14584
  rowsById: o
14592
14585
  };
14593
14586
  }
14594
- function c8(e, t, n) {
14587
+ function u8(e, t, n) {
14595
14588
  var i;
14596
14589
  const r = [], o = {}, a = (i = n.options.maxLeafRowFilterDepth) != null ? i : 100, l = function(s, u) {
14597
14590
  u === void 0 && (u = 0);
@@ -14615,7 +14608,7 @@ function c8(e, t, n) {
14615
14608
  rowsById: o
14616
14609
  };
14617
14610
  }
14618
- function A8() {
14611
+ function c8() {
14619
14612
  return (e) => q(() => [e.getPreFilteredRowModel(), e.getState().columnFilters, e.getState().globalFilter], (t, n, i) => {
14620
14613
  if (!t.rows.length || !(n != null && n.length) && !i) {
14621
14614
  for (let g = 0; g < t.flatRows.length; g++)
@@ -14679,7 +14672,7 @@ function A8() {
14679
14672
  return !1;
14680
14673
  return !0;
14681
14674
  };
14682
- return s8(t.rows, A, e);
14675
+ return l8(t.rows, A, e);
14683
14676
  }, {
14684
14677
  key: process.env.NODE_ENV === "development" && "getFilteredRowModel",
14685
14678
  debug: () => {
@@ -14691,7 +14684,7 @@ function A8() {
14691
14684
  }
14692
14685
  });
14693
14686
  }
14694
- function d8() {
14687
+ function A8() {
14695
14688
  return (e) => q(() => [e.getState().sorting, e.getPreSortedRowModel()], (t, n) => {
14696
14689
  if (!n.rows.length || !(t != null && t.length))
14697
14690
  return n;
@@ -14744,7 +14737,7 @@ function d8() {
14744
14737
  }
14745
14738
  });
14746
14739
  }
14747
- function g8(e) {
14740
+ function d8(e) {
14748
14741
  const t = [], n = (i) => {
14749
14742
  var r;
14750
14743
  t.push(i), (r = i.subRows) != null && r.length && i.getIsExpanded() && i.subRows.forEach(n);
@@ -14755,7 +14748,7 @@ function g8(e) {
14755
14748
  rowsById: e.rowsById
14756
14749
  };
14757
14750
  }
14758
- function f8(e) {
14751
+ function g8(e) {
14759
14752
  return (t) => q(() => [t.getState().pagination, t.getPrePaginationRowModel(), t.options.paginateExpandedRows ? void 0 : t.getState().expanded], (n, i) => {
14760
14753
  if (!i.rows.length)
14761
14754
  return i;
@@ -14775,7 +14768,7 @@ function f8(e) {
14775
14768
  rows: a,
14776
14769
  flatRows: l,
14777
14770
  rowsById: s
14778
- } : A = g8({
14771
+ } : A = d8({
14779
14772
  rows: a,
14780
14773
  flatRows: l,
14781
14774
  rowsById: s
@@ -14803,23 +14796,23 @@ function f8(e) {
14803
14796
  * @license MIT
14804
14797
  */
14805
14798
  function Qr(e, t) {
14806
- return e ? C8(e) ? /* @__PURE__ */ d(e, {
14799
+ return e ? f8(e) ? /* @__PURE__ */ d(e, {
14807
14800
  ...t
14808
14801
  }) : e : null;
14809
14802
  }
14810
- function C8(e) {
14811
- return p8(e) || typeof e == "function" || I8(e);
14803
+ function f8(e) {
14804
+ return C8(e) || typeof e == "function" || p8(e);
14812
14805
  }
14813
- function p8(e) {
14806
+ function C8(e) {
14814
14807
  return typeof e == "function" && (() => {
14815
14808
  const t = Object.getPrototypeOf(e);
14816
14809
  return t.prototype && t.prototype.isReactComponent;
14817
14810
  })();
14818
14811
  }
14819
- function I8(e) {
14812
+ function p8(e) {
14820
14813
  return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
14821
14814
  }
14822
- function E8(e) {
14815
+ function I8(e) {
14823
14816
  const t = {
14824
14817
  state: {},
14825
14818
  onStateChange: () => {
@@ -14827,7 +14820,7 @@ function E8(e) {
14827
14820
  renderFallbackValue: null,
14828
14821
  ...e
14829
14822
  }, [n] = m.useState(() => ({
14830
- current: o8(t)
14823
+ current: i8(t)
14831
14824
  })), [i, r] = m.useState(() => n.current.initialState);
14832
14825
  return n.current.setOptions((o) => ({
14833
14826
  ...o,
@@ -15251,9 +15244,9 @@ const tl = {
15251
15244
  x\u0327: "x",
15252
15245
  Z\u0327: "Z",
15253
15246
  z\u0327: "z"
15254
- }, m8 = Object.keys(tl).join("|"), v8 = new RegExp(m8, "g");
15255
- function h8(e) {
15256
- return e.replace(v8, (t) => tl[t]);
15247
+ }, E8 = Object.keys(tl).join("|"), m8 = new RegExp(E8, "g");
15248
+ function v8(e) {
15249
+ return e.replace(m8, (t) => tl[t]);
15257
15250
  }
15258
15251
  /**
15259
15252
  * @name match-sorter
@@ -15271,7 +15264,7 @@ const et = {
15271
15264
  MATCHES: 1,
15272
15265
  NO_MATCH: 0
15273
15266
  };
15274
- function b8(e, t, n) {
15267
+ function h8(e, t, n) {
15275
15268
  var i;
15276
15269
  if (n = n || {}, n.threshold = (i = n.threshold) != null ? i : et.MATCHES, !n.accessors) {
15277
15270
  const a = io(e, t, n);
@@ -15283,7 +15276,7 @@ function b8(e, t, n) {
15283
15276
  passed: a >= n.threshold
15284
15277
  };
15285
15278
  }
15286
- const r = x8(e, n.accessors), o = {
15279
+ const r = y8(e, n.accessors), o = {
15287
15280
  rankedValue: e,
15288
15281
  rank: et.NO_MATCH,
15289
15282
  accessorIndex: -1,
@@ -15303,9 +15296,9 @@ function b8(e, t, n) {
15303
15296
  return o;
15304
15297
  }
15305
15298
  function io(e, t, n) {
15306
- return e = oo(e, n), t = oo(t, n), t.length > e.length ? et.NO_MATCH : e === t ? et.CASE_SENSITIVE_EQUAL : (e = e.toLowerCase(), t = t.toLowerCase(), e === t ? et.EQUAL : e.startsWith(t) ? et.STARTS_WITH : e.includes(` ${t}`) ? et.WORD_STARTS_WITH : e.includes(t) ? et.CONTAINS : t.length === 1 ? et.NO_MATCH : B8(e).includes(t) ? et.ACRONYM : R8(e, t));
15299
+ return e = oo(e, n), t = oo(t, n), t.length > e.length ? et.NO_MATCH : e === t ? et.CASE_SENSITIVE_EQUAL : (e = e.toLowerCase(), t = t.toLowerCase(), e === t ? et.EQUAL : e.startsWith(t) ? et.STARTS_WITH : e.includes(` ${t}`) ? et.WORD_STARTS_WITH : e.includes(t) ? et.CONTAINS : t.length === 1 ? et.NO_MATCH : b8(e).includes(t) ? et.ACRONYM : B8(e, t));
15307
15300
  }
15308
- function B8(e) {
15301
+ function b8(e) {
15309
15302
  let t = "";
15310
15303
  return e.split(" ").forEach((i) => {
15311
15304
  i.split("-").forEach((o) => {
@@ -15313,7 +15306,7 @@ function B8(e) {
15313
15306
  });
15314
15307
  }), t;
15315
15308
  }
15316
- function R8(e, t) {
15309
+ function B8(e, t) {
15317
15310
  let n = 0, i = 0;
15318
15311
  function r(s, u, c) {
15319
15312
  for (let A = c, g = u.length; A < g; A++)
@@ -15341,18 +15334,18 @@ function oo(e, t) {
15341
15334
  let {
15342
15335
  keepDiacritics: n
15343
15336
  } = t;
15344
- return e = `${e}`, n || (e = h8(e)), e;
15337
+ return e = `${e}`, n || (e = v8(e)), e;
15345
15338
  }
15346
- function y8(e, t) {
15339
+ function R8(e, t) {
15347
15340
  let n = t;
15348
15341
  typeof t == "object" && (n = t.accessor);
15349
15342
  const i = n(e);
15350
15343
  return i == null ? [] : Array.isArray(i) ? i : [String(i)];
15351
15344
  }
15352
- function x8(e, t) {
15345
+ function y8(e, t) {
15353
15346
  const n = [];
15354
15347
  for (let i = 0, r = t.length; i < r; i++) {
15355
- const o = t[i], a = w8(o), l = y8(e, o);
15348
+ const o = t[i], a = x8(o), l = R8(e, o);
15356
15349
  for (let s = 0, u = l.length; s < u; s++)
15357
15350
  n.push({
15358
15351
  itemValue: l[s],
@@ -15365,13 +15358,13 @@ const ao = {
15365
15358
  maxRanking: 1 / 0,
15366
15359
  minRanking: -1 / 0
15367
15360
  };
15368
- function w8(e) {
15361
+ function x8(e) {
15369
15362
  return typeof e == "function" ? ao : {
15370
15363
  ...ao,
15371
15364
  ...e
15372
15365
  };
15373
15366
  }
15374
- function Q8({
15367
+ function w8({
15375
15368
  pageIndex: e,
15376
15369
  getPageCount: t,
15377
15370
  pageSize: n,
@@ -15415,7 +15408,7 @@ function Q8({
15415
15408
  })]
15416
15409
  });
15417
15410
  }
15418
- function S8({
15411
+ function Q8({
15419
15412
  value: e,
15420
15413
  onChange: t,
15421
15414
  debounce: n = 500,
@@ -15453,11 +15446,11 @@ function _8({
15453
15446
  paginationOptionList: o = [10, 20, 30, 40, 50]
15454
15447
  }) {
15455
15448
  const [a] = j(() => [...t]), l = W(() => n, []), [s, u] = j([]), [c, A] = j(""), g = (C, p, I, E) => {
15456
- const B = b8(C.getValue(p), I);
15449
+ const B = h8(C.getValue(p), I);
15457
15450
  return E({
15458
15451
  itemRank: B
15459
15452
  }), B.passed;
15460
- }, f = E8({
15453
+ }, f = I8({
15461
15454
  data: a,
15462
15455
  columns: l,
15463
15456
  filterFns: {
@@ -15470,16 +15463,16 @@ function _8({
15470
15463
  onColumnFiltersChange: u,
15471
15464
  onGlobalFilterChange: A,
15472
15465
  globalFilterFn: g,
15473
- getCoreRowModel: l8(),
15474
- getFilteredRowModel: A8(),
15475
- getSortedRowModel: d8(),
15466
+ getCoreRowModel: a8(),
15467
+ getFilteredRowModel: c8(),
15468
+ getSortedRowModel: A8(),
15476
15469
  ...r && {
15477
- getPaginationRowModel: f8()
15470
+ getPaginationRowModel: g8()
15478
15471
  }
15479
15472
  });
15480
15473
  return /* @__PURE__ */ M("div", {
15481
15474
  className: "p-2",
15482
- children: [e ? /* @__PURE__ */ d(S8, {
15475
+ children: [e ? /* @__PURE__ */ d(Q8, {
15483
15476
  value: c != null ? c : "",
15484
15477
  onChange: (C) => A(String(C)),
15485
15478
  placeholder: i
@@ -15511,7 +15504,7 @@ function _8({
15511
15504
  }, p.id))
15512
15505
  }, C.id))
15513
15506
  })]
15514
- }), r ? /* @__PURE__ */ d(Q8, {
15507
+ }), r ? /* @__PURE__ */ d(w8, {
15515
15508
  pageIndex: f.getState().pagination.pageIndex,
15516
15509
  getPageCount: f.getPageCount(),
15517
15510
  pageSize: f.getState().pagination.pageSize,
@@ -15524,7 +15517,7 @@ function _8({
15524
15517
  }) : null]
15525
15518
  });
15526
15519
  }
15527
- function V8({ filling: e, isDisabled: t }) {
15520
+ function S8({ filling: e, isDisabled: t }) {
15528
15521
  const n = () => {
15529
15522
  if (t && e)
15530
15523
  return "w-5 h-5";
@@ -15545,7 +15538,7 @@ function $8({
15545
15538
  }) {
15546
15539
  const {
15547
15540
  getClass: i
15548
- } = V8({
15541
+ } = S8({
15549
15542
  options: e,
15550
15543
  filling: t,
15551
15544
  isDisabled: n
@@ -15854,7 +15847,7 @@ nl.Main = function({
15854
15847
  children: t
15855
15848
  });
15856
15849
  };
15857
- const F8 = mt((e, t) => {
15850
+ const V8 = mt((e, t) => {
15858
15851
  const {
15859
15852
  hasFill: n = !0,
15860
15853
  variant: i = "primary",
@@ -15898,44 +15891,44 @@ const F8 = mt((e, t) => {
15898
15891
  });
15899
15892
  });
15900
15893
  export {
15901
- Z8 as AsyncCreatableSelect,
15902
- H8 as AsyncSelect,
15894
+ k8 as AsyncCreatableSelect,
15895
+ L8 as AsyncSelect,
15903
15896
  q2 as Avatar,
15904
- D8 as Badge,
15905
- F8 as Button,
15897
+ N8 as Badge,
15898
+ V8 as Button,
15906
15899
  e7 as CardSelect,
15907
15900
  Uo as Checkbox,
15908
- z8 as Dropdown,
15901
+ j8 as Dropdown,
15909
15902
  $8 as DropdownButton,
15910
15903
  q8 as DropdownFilterMultiple,
15911
- Q4 as DropdownUser,
15912
- W8 as EmptyState,
15904
+ K8 as DropdownUser,
15905
+ z8 as EmptyState,
15913
15906
  w4 as Field,
15914
15907
  t7 as FilterSearchMultiple,
15915
- K8 as Flag,
15916
- J8 as Header,
15908
+ U8 as Flag,
15909
+ Y8 as Header,
15917
15910
  t1 as Heading,
15918
15911
  fe as Icon,
15919
15912
  ja as InlineError,
15920
15913
  X2 as LayoutMain,
15921
15914
  nl as LayoutShipment,
15922
- N8 as Link,
15915
+ P8 as Link,
15923
15916
  C1 as Logo,
15924
- j8 as Modal,
15917
+ X8 as Modal,
15925
15918
  n7 as Navigation,
15926
- U8 as NavigationMovil,
15919
+ J8 as NavigationMovil,
15927
15920
  b0 as RadioButton,
15928
- L8 as Select,
15929
- T8 as SelectButton,
15930
- k8 as SelectCountry,
15921
+ O8 as Select,
15922
+ H8 as SelectButton,
15923
+ T8 as SelectCountry,
15931
15924
  Ko as Spinner,
15932
15925
  L2 as Summary,
15933
- G8 as Switch,
15934
- X8 as Tab,
15935
- Y8 as TabNav,
15926
+ D8 as Switch,
15927
+ Z8 as Tab,
15928
+ W8 as TabNav,
15936
15929
  _8 as Table,
15937
15930
  ne as Text,
15938
15931
  w1 as TextRef,
15939
15932
  Jo as Tooltip,
15940
- O8 as Tracker
15933
+ G8 as Tracker
15941
15934
  };