radar-ui 1.1.42 → 1.1.43

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
@@ -24,12 +24,12 @@ function qt() {
24
24
  if (at) return Ve;
25
25
  at = 1;
26
26
  var t = qe, i = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, s = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
27
- function a(c, f, w) {
28
- var h, E = {}, q = null, P = null;
29
- w !== void 0 && (q = "" + w), f.key !== void 0 && (q = "" + f.key), f.ref !== void 0 && (P = f.ref);
30
- for (h in f) n.call(f, h) && !o.hasOwnProperty(h) && (E[h] = f[h]);
31
- if (c && c.defaultProps) for (h in f = c.defaultProps, f) E[h] === void 0 && (E[h] = f[h]);
32
- return { $$typeof: i, type: c, key: q, ref: P, props: E, _owner: s.current };
27
+ function a(c, f, _) {
28
+ var h, k = {}, V = null, W = null;
29
+ _ !== void 0 && (V = "" + _), f.key !== void 0 && (V = "" + f.key), f.ref !== void 0 && (W = f.ref);
30
+ for (h in f) n.call(f, h) && !o.hasOwnProperty(h) && (k[h] = f[h]);
31
+ if (c && c.defaultProps) for (h in f = c.defaultProps, f) k[h] === void 0 && (k[h] = f[h]);
32
+ return { $$typeof: i, type: c, key: V, ref: W, props: k, _owner: s.current };
33
33
  }
34
34
  return Ve.Fragment = r, Ve.jsx = a, Ve.jsxs = a, Ve;
35
35
  }
@@ -46,24 +46,24 @@ var Ke = {};
46
46
  var lt;
47
47
  function Ht() {
48
48
  return lt || (lt = 1, process.env.NODE_ENV !== "production" && function() {
49
- var t = qe, i = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), c = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), q = Symbol.for("react.lazy"), P = Symbol.for("react.offscreen"), N = Symbol.iterator, Z = "@@iterator";
49
+ var t = qe, i = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), c = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), k = Symbol.for("react.memo"), V = Symbol.for("react.lazy"), W = Symbol.for("react.offscreen"), P = Symbol.iterator, H = "@@iterator";
50
50
  function re(e) {
51
51
  if (e === null || typeof e != "object")
52
52
  return null;
53
- var u = N && e[N] || e[Z];
53
+ var u = P && e[P] || e[H];
54
54
  return typeof u == "function" ? u : null;
55
55
  }
56
- var Y = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
56
+ var J = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
57
57
  function g(e) {
58
58
  {
59
59
  for (var u = arguments.length, v = new Array(u > 1 ? u - 1 : 0), B = 1; B < u; B++)
60
60
  v[B - 1] = arguments[B];
61
- ee("error", e, v);
61
+ Q("error", e, v);
62
62
  }
63
63
  }
64
- function ee(e, u, v) {
64
+ function Q(e, u, v) {
65
65
  {
66
- var B = Y.ReactDebugCurrentFrame, he = B.getStackAddendum();
66
+ var B = J.ReactDebugCurrentFrame, he = B.getStackAddendum();
67
67
  he !== "" && (u += "%s", v = v.concat([he]));
68
68
  var me = v.map(function(oe) {
69
69
  return String(oe);
@@ -71,10 +71,10 @@ function Ht() {
71
71
  me.unshift("Warning: " + u), Function.prototype.apply.call(console[e], console, me);
72
72
  }
73
73
  }
74
- var S = !1, W = !1, ae = !1, p = !1, _ = !1, y;
74
+ var E = !1, N = !1, ae = !1, p = !1, w = !1, y;
75
75
  y = Symbol.for("react.module.reference");
76
76
  function b(e) {
77
- return !!(typeof e == "string" || typeof e == "function" || e === n || e === o || _ || e === s || e === w || e === h || p || e === P || S || W || ae || typeof e == "object" && e !== null && (e.$$typeof === q || e.$$typeof === E || e.$$typeof === a || e.$$typeof === c || e.$$typeof === f || // This needs to include all possible module reference object
77
+ return !!(typeof e == "string" || typeof e == "function" || e === n || e === o || w || e === s || e === _ || e === h || p || e === W || E || N || ae || typeof e == "object" && e !== null && (e.$$typeof === V || e.$$typeof === k || e.$$typeof === a || e.$$typeof === c || e.$$typeof === f || // This needs to include all possible module reference object
78
78
  // types supported by any Flight configuration anywhere since
79
79
  // we don't know which Flight build this will end up being used
80
80
  // with.
@@ -106,7 +106,7 @@ function Ht() {
106
106
  return "Profiler";
107
107
  case s:
108
108
  return "StrictMode";
109
- case w:
109
+ case _:
110
110
  return "Suspense";
111
111
  case h:
112
112
  return "SuspenseList";
@@ -121,10 +121,10 @@ function Ht() {
121
121
  return j(v._context) + ".Provider";
122
122
  case f:
123
123
  return m(e, e.render, "ForwardRef");
124
- case E:
124
+ case k:
125
125
  var B = e.displayName || null;
126
126
  return B !== null ? B : R(e.type) || "Memo";
127
- case q: {
127
+ case V: {
128
128
  var he = e, me = he._payload, oe = he._init;
129
129
  try {
130
130
  return R(oe(me));
@@ -135,14 +135,14 @@ function Ht() {
135
135
  }
136
136
  return null;
137
137
  }
138
- var M = Object.assign, G = 0, F, H, te, I, z, V, $;
138
+ var M = Object.assign, G = 0, F, U, te, I, z, K, $;
139
139
  function le() {
140
140
  }
141
141
  le.__reactDisabledLog = !0;
142
142
  function A() {
143
143
  {
144
144
  if (G === 0) {
145
- F = console.log, H = console.info, te = console.warn, I = console.error, z = console.group, V = console.groupCollapsed, $ = console.groupEnd;
145
+ F = console.log, U = console.info, te = console.warn, I = console.error, z = console.group, K = console.groupCollapsed, $ = console.groupEnd;
146
146
  var e = {
147
147
  configurable: !0,
148
148
  enumerable: !0,
@@ -175,7 +175,7 @@ function Ht() {
175
175
  value: F
176
176
  }),
177
177
  info: M({}, e, {
178
- value: H
178
+ value: U
179
179
  }),
180
180
  warn: M({}, e, {
181
181
  value: te
@@ -187,7 +187,7 @@ function Ht() {
187
187
  value: z
188
188
  }),
189
189
  groupCollapsed: M({}, e, {
190
- value: V
190
+ value: K
191
191
  }),
192
192
  groupEnd: M({}, e, {
193
193
  value: $
@@ -197,7 +197,7 @@ function Ht() {
197
197
  G < 0 && g("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
198
198
  }
199
199
  }
200
- var k = Y.ReactCurrentDispatcher, C;
200
+ var S = J.ReactCurrentDispatcher, C;
201
201
  function X(e, u, v) {
202
202
  {
203
203
  if (C === void 0)
@@ -211,16 +211,16 @@ function Ht() {
211
211
  ` + C + e;
212
212
  }
213
213
  }
214
- var D = !1, Q;
214
+ var D = !1, ee;
215
215
  {
216
216
  var fe = typeof WeakMap == "function" ? WeakMap : Map;
217
- Q = new fe();
217
+ ee = new fe();
218
218
  }
219
219
  function ie(e, u) {
220
220
  if (!e || D)
221
221
  return "";
222
222
  {
223
- var v = Q.get(e);
223
+ var v = ee.get(e);
224
224
  if (v !== void 0)
225
225
  return v;
226
226
  }
@@ -229,7 +229,7 @@ function Ht() {
229
229
  var he = Error.prepareStackTrace;
230
230
  Error.prepareStackTrace = void 0;
231
231
  var me;
232
- me = k.current, k.current = null, A();
232
+ me = S.current, S.current = null, A();
233
233
  try {
234
234
  if (u) {
235
235
  var oe = function() {
@@ -275,19 +275,19 @@ function Ht() {
275
275
  if (xe--, _e--, _e < 0 || se[xe] !== Se[_e]) {
276
276
  var Te = `
277
277
  ` + se[xe].replace(" at new ", " at ");
278
- return e.displayName && Te.includes("<anonymous>") && (Te = Te.replace("<anonymous>", e.displayName)), typeof e == "function" && Q.set(e, Te), Te;
278
+ return e.displayName && Te.includes("<anonymous>") && (Te = Te.replace("<anonymous>", e.displayName)), typeof e == "function" && ee.set(e, Te), Te;
279
279
  }
280
280
  while (xe >= 1 && _e >= 0);
281
281
  break;
282
282
  }
283
283
  }
284
284
  } finally {
285
- D = !1, k.current = me, O(), Error.prepareStackTrace = he;
285
+ D = !1, S.current = me, O(), Error.prepareStackTrace = he;
286
286
  }
287
287
  var Ne = e ? e.displayName || e.name : "", We = Ne ? X(Ne) : "";
288
- return typeof e == "function" && Q.set(e, We), We;
288
+ return typeof e == "function" && ee.set(e, We), We;
289
289
  }
290
- function K(e, u, v) {
290
+ function q(e, u, v) {
291
291
  return ie(e, !1);
292
292
  }
293
293
  function ne(e) {
@@ -302,7 +302,7 @@ function Ht() {
302
302
  if (typeof e == "string")
303
303
  return X(e);
304
304
  switch (e) {
305
- case w:
305
+ case _:
306
306
  return X("Suspense");
307
307
  case h:
308
308
  return X("SuspenseList");
@@ -310,10 +310,10 @@ function Ht() {
310
310
  if (typeof e == "object")
311
311
  switch (e.$$typeof) {
312
312
  case f:
313
- return K(e.render);
314
- case E:
313
+ return q(e.render);
314
+ case k:
315
315
  return L(e.type, u, v);
316
- case q: {
316
+ case V: {
317
317
  var B = e, he = B._payload, me = B._init;
318
318
  try {
319
319
  return L(me(he), u, v);
@@ -323,7 +323,7 @@ function Ht() {
323
323
  }
324
324
  return "";
325
325
  }
326
- var ce = Object.prototype.hasOwnProperty, ye = {}, pe = Y.ReactDebugCurrentFrame;
326
+ var ce = Object.prototype.hasOwnProperty, ye = {}, pe = J.ReactDebugCurrentFrame;
327
327
  function ve(e) {
328
328
  if (e) {
329
329
  var u = e._owner, v = L(e.type, e._source, u ? u.type : null);
@@ -354,7 +354,7 @@ function Ht() {
354
354
  function T(e) {
355
355
  return d(e);
356
356
  }
357
- function U(e) {
357
+ function Y(e) {
358
358
  {
359
359
  var u = typeof Symbol == "function" && Symbol.toStringTag, v = u && e[Symbol.toStringTag] || e.constructor.name || "Object";
360
360
  return v;
@@ -362,19 +362,19 @@ function Ht() {
362
362
  }
363
363
  function x(e) {
364
364
  try {
365
- return J(e), !1;
365
+ return Z(e), !1;
366
366
  } catch {
367
367
  return !0;
368
368
  }
369
369
  }
370
- function J(e) {
370
+ function Z(e) {
371
371
  return "" + e;
372
372
  }
373
373
  function ge(e) {
374
374
  if (x(e))
375
- return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", U(e)), J(e);
375
+ return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Y(e)), Z(e);
376
376
  }
377
- var de = Y.ReactCurrentOwner, ke = {
377
+ var de = J.ReactCurrentOwner, ke = {
378
378
  key: !0,
379
379
  ref: !0,
380
380
  __self: !0,
@@ -468,7 +468,7 @@ function Ht() {
468
468
  return He(e, se, Se, he, B, de.current, oe);
469
469
  }
470
470
  }
471
- var Pe = Y.ReactCurrentOwner, $e = Y.ReactDebugCurrentFrame;
471
+ var Pe = J.ReactCurrentOwner, $e = J.ReactDebugCurrentFrame;
472
472
  function De(e) {
473
473
  if (e) {
474
474
  var u = e._owner, v = L(e.type, e._source, u ? u.type : null);
@@ -551,7 +551,7 @@ Check the top-level render call using <` + v + ">.");
551
551
  v = u.propTypes;
552
552
  else if (typeof u == "object" && (u.$$typeof === f || // Note: Memo only checks outer props here.
553
553
  // Inner props are checked in the reconciler.
554
- u.$$typeof === E))
554
+ u.$$typeof === k))
555
555
  v = u.propTypes;
556
556
  else
557
557
  return;
@@ -645,23 +645,23 @@ const Ut = ({
645
645
  onResizeFrame: a,
646
646
  onResizeEnd: c
647
647
  }) => {
648
- const [f, w] = we(!1), [h, E] = we(null), [q, P] = we(0), [N, Z] = we(0), [re, Y] = we(null), g = Ee(null);
648
+ const [f, _] = we(!1), [h, k] = we(null), [V, W] = we(0), [P, H] = we(0), [re, J] = we(null), g = Ee(null);
649
649
  Ee(0);
650
- const ee = Ee(!1), S = Ee(null), W = Ee(0), ae = Ee(0), p = Ee(null), _ = Ee(null), y = Ee(!1), b = Ee(null), m = ue((M) => {
651
- !f || !h || !t || (b.current = M, !y.current && (y.current = !0, _.current = requestAnimationFrame((G) => {
652
- var k;
650
+ const Q = Ee(!1), E = Ee(null), N = Ee(0), ae = Ee(0), p = Ee(null), w = Ee(null), y = Ee(!1), b = Ee(null), m = ue((M) => {
651
+ !f || !h || !t || (b.current = M, !y.current && (y.current = !0, w.current = requestAnimationFrame((G) => {
652
+ var S;
653
653
  y.current = !1, a == null || a(G);
654
654
  const F = b.current;
655
655
  if (!F) return;
656
- const H = F.clientX - q, te = t.minWidth || 50;
657
- let I = N + H;
658
- I < te && (I = te), t.maxWidth && I > t.maxWidth && (I = t.maxWidth), W.current = I;
659
- const z = I - N;
656
+ const U = F.clientX - V, te = t.minWidth || 50;
657
+ let I = P + U;
658
+ I < te && (I = te), t.maxWidth && I > t.maxWidth && (I = t.maxWidth), N.current = I;
659
+ const z = I - P;
660
660
  p.current && (p.current.style.transform = `translateX(${z}px)`);
661
- const V = (C) => {
661
+ const K = (C) => {
662
662
  var X;
663
663
  return typeof window < "u" && ((X = window.CSS) != null && X.escape) ? window.CSS.escape(C) : C.replace(/([#.;?\[\]\s])/g, "\\$1");
664
- }, $ = V(t.key), le = (k = S.current) == null ? void 0 : k.closest("table");
664
+ }, $ = K(t.key), le = (S = E.current) == null ? void 0 : S.closest("table");
665
665
  if (!le) return;
666
666
  const A = le.querySelector(`th[data-column-key="${$}"]`);
667
667
  if (A && (A.style.width = `${I}px`, A.style.minWidth = `${I}px`), le.querySelectorAll(`td[data-column-key="${$}"]`).forEach((C) => {
@@ -670,55 +670,55 @@ const Ut = ({
670
670
  }), t.fixed) {
671
671
  const C = (ie) => window.getComputedStyle(ie).position === "sticky", D = Array.from(
672
672
  le.querySelectorAll("th.radar-table__header-cell.leaf-header")
673
- ).filter((ie) => C(ie)), Q = A, fe = Q ? D.indexOf(Q) : -1;
673
+ ).filter((ie) => C(ie)), ee = A, fe = ee ? D.indexOf(ee) : -1;
674
674
  if (fe !== -1) {
675
- let ie = parseFloat(D[fe].style.left || "0") || 0, K = D[fe].getBoundingClientRect().width;
675
+ let ie = parseFloat(D[fe].style.left || "0") || 0, q = D[fe].getBoundingClientRect().width;
676
676
  for (let ne = fe + 1; ne < D.length; ne++) {
677
- ie += Math.floor(K), D[ne].style.left = `${ie}px`;
677
+ ie += Math.floor(q), D[ne].style.left = `${ie}px`;
678
678
  const L = D[ne].getAttribute("data-column-key");
679
679
  if (L) {
680
- const ce = V(L);
680
+ const ce = K(L);
681
681
  le.querySelectorAll(`td[data-column-key="${ce}"]`).forEach((pe) => {
682
682
  const ve = pe;
683
683
  window.getComputedStyle(ve).position === "sticky" && (ve.style.left = `${ie}px`);
684
684
  });
685
685
  }
686
- K = D[ne].getBoundingClientRect().width;
686
+ q = D[ne].getBoundingClientRect().width;
687
687
  }
688
688
  }
689
689
  }
690
690
  })));
691
- }, [f, q, N, h, s, t, a]), j = ue(() => {
691
+ }, [f, V, P, h, s, t, a]), j = ue(() => {
692
692
  var A;
693
- if (S.current.style.opacity = "", !f || !h) return;
693
+ if (E.current.style.opacity = "", !f || !h) return;
694
694
  const M = t.minWidth || 50;
695
- let G = W.current || N;
695
+ let G = N.current || P;
696
696
  G < M && (G = M), t != null && t.maxWidth && G > t.maxWidth && (G = t.maxWidth);
697
- const F = G, H = h;
698
- _.current && (cancelAnimationFrame(_.current), _.current = null), y.current = !1, b.current = null, g.current && (clearInterval(g.current), g.current = null), ee.current = !1, p.current && (p.current.style.transform = "translateX(0px)"), w(!1), P(0), Z(0), E(null), Y(null), W.current = 0, ae.current = 0, document.removeEventListener("mousemove", m), document.removeEventListener("mouseup", j);
697
+ const F = G, U = h;
698
+ w.current && (cancelAnimationFrame(w.current), w.current = null), y.current = !1, b.current = null, g.current && (clearInterval(g.current), g.current = null), Q.current = !1, p.current && (p.current.style.transform = "translateX(0px)"), _(!1), W(0), H(0), k(null), J(null), N.current = 0, ae.current = 0, document.removeEventListener("mousemove", m), document.removeEventListener("mouseup", j);
699
699
  const te = (O) => {
700
- var k;
701
- return typeof window < "u" && ((k = window.CSS) != null && k.escape) ? window.CSS.escape(O) : O.replace(/([#.;?\[\]\s])/g, "\\$1");
702
- }, I = te(H), z = (A = S.current) == null ? void 0 : A.closest("table");
700
+ var S;
701
+ return typeof window < "u" && ((S = window.CSS) != null && S.escape) ? window.CSS.escape(O) : O.replace(/([#.;?\[\]\s])/g, "\\$1");
702
+ }, I = te(U), z = (A = E.current) == null ? void 0 : A.closest("table");
703
703
  if (!z) return;
704
- const V = z.querySelector(`th[data-column-key="${I}"]`);
705
- if (V && (V.style.width = `${F}px`, V.style.minWidth = `${F}px`), z.querySelectorAll(`td[data-column-key="${I}"]`).forEach((O) => {
706
- const k = O;
707
- k.style.width = `${F}px`, k.style.minWidth = `${F}px`;
704
+ const K = z.querySelector(`th[data-column-key="${I}"]`);
705
+ if (K && (K.style.width = `${F}px`, K.style.minWidth = `${F}px`), z.querySelectorAll(`td[data-column-key="${I}"]`).forEach((O) => {
706
+ const S = O;
707
+ S.style.width = `${F}px`, S.style.minWidth = `${F}px`;
708
708
  }), t.fixed) {
709
- const O = (Q) => window.getComputedStyle(Q).position === "sticky", C = Array.from(
709
+ const O = (ee) => window.getComputedStyle(ee).position === "sticky", C = Array.from(
710
710
  z.querySelectorAll("th.radar-table__header-cell.leaf-header")
711
- ).filter((Q) => O(Q)), X = V, D = X ? C.indexOf(X) : -1;
711
+ ).filter((ee) => O(ee)), X = K, D = X ? C.indexOf(X) : -1;
712
712
  if (D !== -1) {
713
- let Q = parseFloat(C[D].style.left || "0") || 0, fe = C[D].getBoundingClientRect().width;
713
+ let ee = parseFloat(C[D].style.left || "0") || 0, fe = C[D].getBoundingClientRect().width;
714
714
  for (let ie = D + 1; ie < C.length; ie++) {
715
- Q += Math.floor(fe), C[ie].style.left = `${Q}px`;
716
- const K = C[ie].getAttribute("data-column-key");
717
- if (K) {
718
- const ne = te(K);
715
+ ee += Math.floor(fe), C[ie].style.left = `${ee}px`;
716
+ const q = C[ie].getAttribute("data-column-key");
717
+ if (q) {
718
+ const ne = te(q);
719
719
  z.querySelectorAll(`td[data-column-key="${ne}"]`).forEach((ce) => {
720
720
  const ye = ce;
721
- window.getComputedStyle(ye).position === "sticky" && (ye.style.left = `${Q}px`);
721
+ window.getComputedStyle(ye).position === "sticky" && (ye.style.left = `${ee}px`);
722
722
  });
723
723
  }
724
724
  fe = C[ie].getBoundingClientRect().width;
@@ -727,26 +727,26 @@ const Ut = ({
727
727
  }
728
728
  const le = setTimeout(() => {
729
729
  var C;
730
- const O = (C = S == null ? void 0 : S.current) == null ? void 0 : C.closest("th"), k = (O == null ? void 0 : O.getBoundingClientRect().width) ?? F;
730
+ const O = (C = E == null ? void 0 : E.current) == null ? void 0 : C.closest("th"), S = (O == null ? void 0 : O.getBoundingClientRect().width) ?? F;
731
731
  Ft(() => {
732
- n == null || n(H, k);
732
+ n == null || n(U, S);
733
733
  }), c == null || c();
734
734
  }, 0);
735
735
  return () => clearTimeout(le);
736
- }, [f, h, t, N, n, m, c]), R = ue((M, G, F) => {
737
- if (M.preventDefault(), o == null || o(), !S.current) return;
738
- const H = S.current.closest("th"), te = (H == null ? void 0 : H.getBoundingClientRect().width) ?? F;
739
- w(!0), P(M.clientX), Z(te), E(G), S.current.style.opacity = "1", S.current.classList.add("radar-table__resize-button_active");
740
- const I = S.current.getBoundingClientRect(), z = s == null ? void 0 : s.current, V = S.current.closest("table");
736
+ }, [f, h, t, P, n, m, c]), R = ue((M, G, F) => {
737
+ if (M.preventDefault(), o == null || o(), !E.current) return;
738
+ const U = E.current.closest("th"), te = (U == null ? void 0 : U.getBoundingClientRect().width) ?? F;
739
+ _(!0), W(M.clientX), H(te), k(G), E.current.style.opacity = "1", E.current.classList.add("radar-table__resize-button_active");
740
+ const I = E.current.getBoundingClientRect(), z = s == null ? void 0 : s.current, K = E.current.closest("table");
741
741
  if (z) {
742
742
  const $ = z.getBoundingClientRect();
743
- Y({
743
+ J({
744
744
  top: $.top + I.height * 2,
745
745
  height: $.height - I.height * 2
746
746
  });
747
- } else if (V) {
748
- const $ = V.getBoundingClientRect();
749
- Y({
747
+ } else if (K) {
748
+ const $ = K.getBoundingClientRect();
749
+ J({
750
750
  top: $.top,
751
751
  height: $.height
752
752
  });
@@ -755,12 +755,12 @@ const Ut = ({
755
755
  return Ie(() => {
756
756
  f && (document.addEventListener("mousemove", m), document.addEventListener("mouseup", j));
757
757
  }, [f, m, j]), Ie(() => () => {
758
- _.current && (cancelAnimationFrame(_.current), _.current = null), y.current = !1, b.current = null, document.removeEventListener("mousemove", m), document.removeEventListener("mouseup", j);
758
+ w.current && (cancelAnimationFrame(w.current), w.current = null), y.current = !1, b.current = null, document.removeEventListener("mousemove", m), document.removeEventListener("mouseup", j);
759
759
  }, [m, j]), /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
760
760
  /* @__PURE__ */ l.jsx(
761
761
  "button",
762
762
  {
763
- ref: S,
763
+ ref: E,
764
764
  className: "radar-table__resize-button",
765
765
  onMouseDown: (M) => R(M, t.key, i || r || 200),
766
766
  title: "Изменить ширину колонки",
@@ -782,21 +782,22 @@ const Ut = ({
782
782
  }
783
783
  )
784
784
  ] });
785
- }, Yt = ({ text: t, children: i }) => {
786
- const [r, n] = we(!1), [s, o] = we("left"), a = Ee(null), c = () => {
787
- if (a.current) {
788
- const f = a.current.getBoundingClientRect(), w = window.innerWidth, h = 250, E = 20, q = w - f.left, P = f.right;
789
- q < h + E && P > h + E ? o("right") : o("left");
790
- }
791
- n(!0);
785
+ }, Yt = ({ text: t, children: i, containerRef: r }) => {
786
+ const [n, s] = we(!1), [o, a] = we("left"), c = Ee(null), f = () => {
787
+ var _;
788
+ if (c.current) {
789
+ const h = c.current.getBoundingClientRect(), k = ((_ = r == null ? void 0 : r.current) == null ? void 0 : _.clientWidth) ?? window.innerWidth, V = 250, W = 20, P = k - h.left, H = h.right;
790
+ P < V + W && H > V + W ? a("right") : a("left");
791
+ }
792
+ s(!0);
792
793
  };
793
794
  return /* @__PURE__ */ l.jsxs(
794
795
  "button",
795
796
  {
796
- ref: a,
797
+ ref: c,
797
798
  className: "radar-table__tooltip-button",
798
- onMouseOver: c,
799
- onMouseOut: () => n(!1),
799
+ onMouseOver: f,
800
+ onMouseOut: () => s(!1),
800
801
  children: [
801
802
  i || /* @__PURE__ */ l.jsxs("svg", { width: "1.5em", height: "1em", viewBox: "0 0 24 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
802
803
  /* @__PURE__ */ l.jsx("rect", { stroke: "currentColor", x: "0.75", y: "0.75", width: "18.5", height: "18.5", rx: "9.25", strokeOpacity: "0.25", strokeWidth: "1.5" }),
@@ -805,7 +806,7 @@ const Ut = ({
805
806
  /* @__PURE__ */ l.jsx(
806
807
  "div",
807
808
  {
808
- className: `radar-table__tooltip-text ${r ? "radar-table__tooltip-text_visible" : ""} radar-table__tooltip-text--${s}`,
809
+ className: `radar-table__tooltip-text ${n ? "radar-table__tooltip-text_visible" : ""} radar-table__tooltip-text--${o}`,
809
810
  children: t
810
811
  }
811
812
  )
@@ -825,7 +826,7 @@ function Zt({
825
826
  onColumnReorder: r,
826
827
  scrollContainerRef: n
827
828
  }) {
828
- const [s, o] = we(null), [a, c] = we(40), [f, w] = we(200), [h, E] = we(null), q = It(
829
+ const [s, o] = we(null), [a, c] = we(40), [f, _] = we(200), [h, k] = we(null), V = It(
829
830
  ot(Lt, {
830
831
  activationConstraint: {
831
832
  distance: 5
@@ -835,10 +836,10 @@ function Zt({
835
836
  ot(Mt, {
836
837
  coordinateGetter: Vt
837
838
  })
838
- ), P = ue((p) => {
839
- const _ = Wt(p);
840
- if (_.length > 0) {
841
- const m = _.filter(
839
+ ), W = ue((p) => {
840
+ const w = Wt(p);
841
+ if (w.length > 0) {
842
+ const m = w.filter(
842
843
  (j) => j.id.toString().startsWith("drop-zone-")
843
844
  );
844
845
  if (m.length > 0)
@@ -848,7 +849,7 @@ function Zt({
848
849
  (m) => m.id.toString().startsWith("drop-zone-")
849
850
  );
850
851
  return b.length > 0 ? [b[0]] : [];
851
- }, []), N = ue((p) => p.some((_) => _.children && _.children.length > 0), []), Z = ue((p, _) => {
852
+ }, []), P = ue((p) => p.some((w) => w.children && w.children.length > 0), []), H = ue((p, w) => {
852
853
  const y = (b, m, j = 0, R = null) => {
853
854
  for (const M of b) {
854
855
  if (M.key === m)
@@ -860,22 +861,22 @@ function Zt({
860
861
  }
861
862
  return null;
862
863
  };
863
- return y(p, _);
864
- }, []), re = ue((p, _) => {
864
+ return y(p, w);
865
+ }, []), re = ue((p, w) => {
865
866
  var b;
866
- const y = Z(_, p);
867
+ const y = H(w, p);
867
868
  return y && (y.column.fixed || ((b = y.parent) == null ? void 0 : b.fixed)) || !1;
868
- }, [Z]), Y = ue((p, _) => {
869
- if (p.columnKey === _.columnKey)
869
+ }, [H]), J = ue((p, w) => {
870
+ if (p.columnKey === w.columnKey)
870
871
  return !1;
871
- const y = re(p.columnKey, i), b = re(_.columnKey, i);
872
+ const y = re(p.columnKey, i), b = re(w.columnKey, i);
872
873
  if (y !== b)
873
874
  return !1;
874
- if (N(i)) {
875
- const m = Z(i, p.columnKey), j = Z(i, _.columnKey);
875
+ if (P(i)) {
876
+ const m = H(i, p.columnKey), j = H(i, w.columnKey);
876
877
  if (!m || !j)
877
878
  return !1;
878
- const R = p.isLeaf, M = _.isLeaf;
879
+ const R = p.isLeaf, M = w.isLeaf;
879
880
  if (!R && !M) {
880
881
  const G = m.level === j.level, F = m.parent === null && j.parent === null || m.parent !== null && j.parent !== null && m.parent.key === j.parent.key;
881
882
  return G && F;
@@ -887,53 +888,53 @@ function Zt({
887
888
  return !1;
888
889
  }
889
890
  return !0;
890
- }, [i, N, Z, re]), g = ue((p, _, y) => {
891
+ }, [i, P, H, re]), g = ue((p, w, y) => {
891
892
  var $, le;
892
- if (!N(i)) {
893
- const A = y.findIndex((D) => D.key === p), O = y.findIndex((D) => D.key === _);
893
+ if (!P(i)) {
894
+ const A = y.findIndex((D) => D.key === p), O = y.findIndex((D) => D.key === w);
894
895
  if (A === -1 || O === -1)
895
896
  return y;
896
- const k = [...y], C = k[A];
897
- k.splice(A, 1);
897
+ const S = [...y], C = S[A];
898
+ S.splice(A, 1);
898
899
  const X = (A < O, O);
899
- return k.splice(X, 0, C), k;
900
+ return S.splice(X, 0, C), S;
900
901
  }
901
- const b = Z(i, p), m = Z(i, _);
902
+ const b = H(i, p), m = H(i, w);
902
903
  if (!b || !m)
903
904
  return y;
904
905
  const j = JSON.parse(JSON.stringify(i)), R = (A, O) => {
905
906
  if (O === null)
906
907
  return { container: A, parentObj: null };
907
- const k = (X) => {
908
+ const S = (X) => {
908
909
  for (const D of X) {
909
910
  if (D.key === O)
910
911
  return D;
911
912
  if (D.children) {
912
- const Q = k(D.children);
913
- if (Q) return Q;
913
+ const ee = S(D.children);
914
+ if (ee) return ee;
914
915
  }
915
916
  }
916
917
  return null;
917
- }, C = k(A);
918
+ }, C = S(A);
918
919
  return {
919
920
  container: (C == null ? void 0 : C.children) || A,
920
921
  parentObj: C
921
922
  };
922
- }, M = (($ = b.parent) == null ? void 0 : $.key) || null, G = ((le = m.parent) == null ? void 0 : le.key) || null, { container: F } = R(j, M), { container: H } = R(j, G);
923
- if (F !== H)
923
+ }, M = (($ = b.parent) == null ? void 0 : $.key) || null, G = ((le = m.parent) == null ? void 0 : le.key) || null, { container: F } = R(j, M), { container: U } = R(j, G);
924
+ if (F !== U)
924
925
  return y;
925
- const te = F.findIndex((A) => A.key === p), I = F.findIndex((A) => A.key === _);
926
+ const te = F.findIndex((A) => A.key === p), I = F.findIndex((A) => A.key === w);
926
927
  if (te === -1 || I === -1)
927
928
  return y;
928
- const [z] = F.splice(te, 1), V = (te < I, I);
929
- return F.splice(V, 0, z), j;
930
- }, [i, N, Z]), ee = ue((p) => {
931
- const _ = p.active.data.current;
932
- o(_);
933
- const y = document.querySelector(`[data-column-key="${_.columnKey}"]`);
929
+ const [z] = F.splice(te, 1), K = (te < I, I);
930
+ return F.splice(K, 0, z), j;
931
+ }, [i, P, H]), Q = ue((p) => {
932
+ const w = p.active.data.current;
933
+ o(w);
934
+ const y = document.querySelector(`[data-column-key="${w.columnKey}"]`);
934
935
  if (y) {
935
936
  const b = y.getBoundingClientRect();
936
- w(b.width);
937
+ _(b.width);
937
938
  const m = y.closest("table");
938
939
  y.closest('[style*="overflow"]');
939
940
  const j = m;
@@ -943,49 +944,49 @@ function Zt({
943
944
  } else
944
945
  c(400);
945
946
  } else
946
- c(400), w(200);
947
+ c(400), _(200);
947
948
  document.body.style.cursor = "grabbing";
948
- }, []), S = ue((p) => {
949
- const { active: _, over: y } = p;
950
- if (!y || !_.data.current) {
951
- document.body.style.cursor = "grabbing", E(null);
949
+ }, []), E = ue((p) => {
950
+ const { active: w, over: y } = p;
951
+ if (!y || !w.data.current) {
952
+ document.body.style.cursor = "grabbing", k(null);
952
953
  return;
953
954
  }
954
- const b = _.data.current, m = y.data.current;
955
+ const b = w.data.current, m = y.data.current;
955
956
  if (!m) {
956
- document.body.style.cursor = "grabbing", E(null);
957
+ document.body.style.cursor = "grabbing", k(null);
957
958
  return;
958
959
  }
959
- const j = Y(b, m);
960
+ const j = J(b, m);
960
961
  document.body.style.cursor = j ? "copy" : "not-allowed";
961
- const R = document.querySelectorAll(`th[data-column-key="${m.columnKey}"]`), M = N(i), G = R.length > 0 ? M && m.isLeaf ? R[R.length - 1] : R[0] : null;
962
+ const R = document.querySelectorAll(`th[data-column-key="${m.columnKey}"]`), M = P(i), G = R.length > 0 ? M && m.isLeaf ? R[R.length - 1] : R[0] : null;
962
963
  if (G) {
963
- const F = G.getBoundingClientRect(), H = G.closest("table");
964
+ const F = G.getBoundingClientRect(), U = G.closest("table");
964
965
  let te = F.left;
965
966
  const I = n == null ? void 0 : n.current;
966
- let z, V;
967
+ let z, K;
967
968
  if (I) {
968
969
  const $ = I.getBoundingClientRect();
969
- z = $.top, V = $.height;
970
- } else if (H) {
971
- const $ = H.getBoundingClientRect();
972
- z = $.top, V = $.height;
970
+ z = $.top, K = $.height;
971
+ } else if (U) {
972
+ const $ = U.getBoundingClientRect();
973
+ z = $.top, K = $.height;
973
974
  } else
974
- z = F.top, V = F.height * 10;
975
- E({
975
+ z = F.top, K = F.height * 10;
976
+ k({
976
977
  left: te,
977
978
  top: z,
978
- height: V,
979
+ height: K,
979
980
  color: j ? "#5329FF" : "#ff3b3b"
980
981
  });
981
982
  } else
982
- E(null);
983
- }, [Y]), W = ue((p) => {
984
- const { active: _, over: y } = p;
985
- if (document.body.style.cursor = "", o(null), c(40), w(200), E(null), !y || !_.data.current || !y.data.current)
983
+ k(null);
984
+ }, [J]), N = ue((p) => {
985
+ const { active: w, over: y } = p;
986
+ if (document.body.style.cursor = "", o(null), c(40), _(200), k(null), !y || !w.data.current || !y.data.current)
986
987
  return;
987
- const b = _.data.current, m = y.data.current;
988
- if (Y(b, m) && r) {
988
+ const b = w.data.current, m = y.data.current;
989
+ if (J(b, m) && r) {
989
990
  const j = g(
990
991
  b.columnKey,
991
992
  m.columnKey,
@@ -999,18 +1000,18 @@ function Zt({
999
1000
  // будет вычислен в TableHeader если нужно
1000
1001
  }, r(j);
1001
1002
  }
1002
- }, [Y, r, g, i]), ae = {
1003
+ }, [J, r, g, i]), ae = {
1003
1004
  activeColumn: s,
1004
- isValidDropZone: Y
1005
+ isValidDropZone: J
1005
1006
  };
1006
1007
  return /* @__PURE__ */ l.jsx(bt.Provider, { value: ae, children: /* @__PURE__ */ l.jsxs(
1007
1008
  Nt,
1008
1009
  {
1009
- sensors: q,
1010
- collisionDetection: P,
1011
- onDragStart: ee,
1012
- onDragOver: S,
1013
- onDragEnd: W,
1010
+ sensors: V,
1011
+ collisionDetection: W,
1012
+ onDragStart: Q,
1013
+ onDragOver: E,
1014
+ onDragEnd: N,
1014
1015
  children: [
1015
1016
  t,
1016
1017
  /* @__PURE__ */ l.jsx(At, { dropAnimation: null, children: s ? /* @__PURE__ */ l.jsx(
@@ -1065,25 +1066,25 @@ function Qt({
1065
1066
  onResize: a,
1066
1067
  onResizeStart: c,
1067
1068
  onResizeFrame: f,
1068
- onResizeEnd: w,
1069
+ onResizeEnd: _,
1069
1070
  sortIcon: h,
1070
- resizeable: E,
1071
- draggableColumns: q,
1072
- preset: P,
1073
- headerCellClassName: N,
1074
- headerCellStyle: Z,
1071
+ resizeable: k,
1072
+ draggableColumns: V,
1073
+ preset: W,
1074
+ headerCellClassName: P,
1075
+ headerCellStyle: H,
1075
1076
  headerCellWrapperClassName: re,
1076
- headerCellWrapperStyle: Y,
1077
+ headerCellWrapperStyle: J,
1077
1078
  stickyHeader: g,
1078
- scrollContainerRef: ee,
1079
- resizeThrottle: S
1079
+ scrollContainerRef: Q,
1080
+ resizeThrottle: E
1080
1081
  }) {
1081
1082
  var ie;
1082
1083
  if (t.hidden)
1083
1084
  return null;
1084
- const { activeColumn: W, isValidDropZone: ae } = Jt(), p = !t.children || t.children.length === 0;
1085
- Ye(() => (n == null ? void 0 : n.some((K) => K.children && K.children.length > 0)) || !1, [n]);
1086
- const _ = q, b = ue((K) => {
1085
+ const { activeColumn: N, isValidDropZone: ae } = Jt(), p = !t.children || t.children.length === 0;
1086
+ Ye(() => (n == null ? void 0 : n.some((q) => q.children && q.children.length > 0)) || !1, [n]);
1087
+ const w = V, b = ue((q) => {
1087
1088
  if (!n) return null;
1088
1089
  const ne = (L, ce, ye = null) => {
1089
1090
  for (const pe of L) {
@@ -1096,8 +1097,8 @@ function Qt({
1096
1097
  }
1097
1098
  return null;
1098
1099
  };
1099
- return ne(n, K);
1100
- }, [n])(t.key), m = t.fixed || (b == null ? void 0 : b.fixed) || !1, R = ue((K) => {
1100
+ return ne(n, q);
1101
+ }, [n])(t.key), m = t.fixed || (b == null ? void 0 : b.fixed) || !1, R = ue((q) => {
1101
1102
  if (!n) return 0;
1102
1103
  const ne = (L, ce, ye = 0) => {
1103
1104
  for (const pe of L) {
@@ -1110,12 +1111,12 @@ function Qt({
1110
1111
  }
1111
1112
  return -1;
1112
1113
  };
1113
- return ne(n, K);
1114
+ return ne(n, q);
1114
1115
  }, [n])(t.key), {
1115
1116
  attributes: M,
1116
1117
  listeners: G,
1117
1118
  setNodeRef: F,
1118
- isDragging: H
1119
+ isDragging: U
1119
1120
  } = zt({
1120
1121
  id: `column-${t.key}`,
1121
1122
  data: {
@@ -1128,7 +1129,7 @@ function Qt({
1128
1129
  isLeaf: p
1129
1130
  // ✅ Добавляем информацию о типе колонки
1130
1131
  },
1131
- disabled: !_
1132
+ disabled: !w
1132
1133
  }), {
1133
1134
  setNodeRef: te,
1134
1135
  isOver: I
@@ -1143,46 +1144,46 @@ function Qt({
1143
1144
  // ✅ Добавляем информацию о типе колонки
1144
1145
  },
1145
1146
  disabled: !1
1146
- }), z = ue((K) => {
1147
- F(K), te(K);
1148
- }, [F, te]), V = Ye(() => {
1149
- if (!W || !I) return !1;
1150
- const K = {
1147
+ }), z = ue((q) => {
1148
+ F(q), te(q);
1149
+ }, [F, te]), K = Ye(() => {
1150
+ if (!N || !I) return !1;
1151
+ const q = {
1151
1152
  type: "column-drop-zone",
1152
1153
  columnKey: t.key,
1153
1154
  isFixed: m,
1154
1155
  accepts: [m ? "fixed" : "non-fixed"],
1155
1156
  isLeaf: p
1156
1157
  };
1157
- return ae(W, K);
1158
- }, [W, I, t.key, m, ae, p]), $ = Ye(() => H ? "grabbing" : I && W ? V ? "copy" : "not-allowed" : "default", [H, I, W, V]), le = t.fixed && !t.width ? 200 : t.width, A = t.fixed && !t.minWidth ? 200 : t.minWidth, O = ue(() => {
1159
- let K = t.fixedLeft || 0;
1158
+ return ae(N, q);
1159
+ }, [N, I, t.key, m, ae, p]), $ = Ye(() => U ? "grabbing" : I && N ? K ? "copy" : "not-allowed" : "default", [U, I, N, K]), le = t.fixed && !t.width ? 200 : t.width, A = t.fixed && !t.minWidth ? 200 : t.minWidth, O = ue(() => {
1160
+ let q = t.fixedLeft || 0;
1160
1161
  if (!m)
1161
- return K;
1162
+ return q;
1162
1163
  for (let ne = 0; ne < i; ne++) {
1163
1164
  const L = r[ne];
1164
- L.fixed && !L.hidden && (K += (L.width || L.minWidth || 200) + (L.fixedLeft || 0));
1165
+ L.fixed && !L.hidden && (q += (L.width || L.minWidth || 200) + (L.fixedLeft || 0));
1165
1166
  }
1166
- return K;
1167
- }, [t.fixedLeft, r, i, m]), [k, C] = we(() => O());
1167
+ return q;
1168
+ }, [t.fixedLeft, r, i, m]), [S, C] = we(() => O());
1168
1169
  Xe(() => {
1169
1170
  if (!m) {
1170
1171
  C(O());
1171
1172
  return;
1172
1173
  }
1173
- let K = t.fixedLeft || 0;
1174
+ let q = t.fixedLeft || 0;
1174
1175
  for (let ne = 0; ne < i; ne++) {
1175
1176
  const L = r[ne];
1176
1177
  if (L.fixed && !L.hidden) {
1177
1178
  const ce = L.width || L.minWidth || 200, ye = Xt(L.key);
1178
- K += Math.floor(ye ?? ce) + (L.fixedLeft || 0) - 0.05;
1179
+ q += Math.floor(ye ?? ce) + (L.fixedLeft || 0) - 0.05;
1179
1180
  }
1180
1181
  }
1181
- C(K);
1182
+ C(q);
1182
1183
  }, [t.fixedLeft, t.width, t.minWidth, r, i, m, O]);
1183
- const D = ((K) => {
1184
- if (K.groupColor)
1185
- return K.groupColor;
1184
+ const D = ((q) => {
1185
+ if (q.groupColor)
1186
+ return q.groupColor;
1186
1187
  if (n) {
1187
1188
  const ne = (ce, ye) => {
1188
1189
  for (const pe of ce)
@@ -1193,24 +1194,24 @@ function Qt({
1193
1194
  if (ve) return ve;
1194
1195
  }
1195
1196
  return null;
1196
- }, L = ne(n, K.key);
1197
+ }, L = ne(n, q.key);
1197
1198
  return L == null ? void 0 : L.groupColor;
1198
1199
  }
1199
1200
  })(t);
1200
- let Q = "currentColor", fe = "currentColor";
1201
- return s.sort_field === t.key && (s.sort_order === "ASC" && (Q = "#5329FF"), s.sort_order === "DESC" && (fe = "#5329FF")), /* @__PURE__ */ l.jsx(
1201
+ let ee = "currentColor", fe = "currentColor";
1202
+ return s.sort_field === t.key && (s.sort_order === "ASC" && (ee = "#5329FF"), s.sort_order === "DESC" && (fe = "#5329FF")), /* @__PURE__ */ l.jsx(
1202
1203
  "th",
1203
1204
  {
1204
1205
  ref: z,
1205
1206
  "data-column-key": t.key,
1206
1207
  className: `
1207
1208
  radar-table__header-cell
1208
- ${P ? P + "__header-cell" : ""}
1209
- ${N || ""}
1210
- ${H ? "dragging" : ""}
1209
+ ${W ? W + "__header-cell" : ""}
1210
+ ${P || ""}
1211
+ ${U ? "dragging" : ""}
1211
1212
  ${I ? "drag-over" : ""}
1212
- ${V && I ? "valid-drop-zone" : ""}
1213
- ${I && !V ? "invalid-drop-zone" : ""}
1213
+ ${K && I ? "valid-drop-zone" : ""}
1214
+ ${I && !K ? "invalid-drop-zone" : ""}
1214
1215
  ${p ? "leaf-header" : "group-header"}
1215
1216
  ${t.className || ""}`,
1216
1217
  colSpan: t.colSpan || 1,
@@ -1220,12 +1221,12 @@ function Qt({
1220
1221
  //minWidth: currWidth,
1221
1222
  position: t.fixed ? "sticky" : "static",
1222
1223
  top: g && typeof g == "number" ? g : 0,
1223
- left: k,
1224
+ left: S,
1224
1225
  borderRight: t.fixed && !((ie = r[i + 1]) != null && ie.fixed) ? "1px solid #E8E8E8" : "none",
1225
1226
  zIndex: t.fixed ? 2 : "auto",
1226
1227
  backgroundColor: D,
1227
1228
  cursor: $,
1228
- ...Z,
1229
+ ...H,
1229
1230
  ...t.style
1230
1231
  },
1231
1232
  children: /* @__PURE__ */ l.jsxs(
@@ -1233,18 +1234,18 @@ function Qt({
1233
1234
  {
1234
1235
  className: `
1235
1236
  radar-table__header-cell-wrapper
1236
- ${P ? P + "__header-cell-wrapper" : ""}
1237
+ ${W ? W + "__header-cell-wrapper" : ""}
1237
1238
  ${re || ""}
1238
1239
  `,
1239
- style: Y,
1240
+ style: J,
1240
1241
  children: [
1241
- _ && /* @__PURE__ */ l.jsx(
1242
+ w && /* @__PURE__ */ l.jsx(
1242
1243
  "div",
1243
1244
  {
1244
- className: `radar-table__drag-handle ${H ? "dragging" : ""} ${p ? "" : "group-drag-handle"}`,
1245
+ className: `radar-table__drag-handle ${U ? "dragging" : ""} ${p ? "" : "group-drag-handle"}`,
1245
1246
  ...M,
1246
1247
  ...G,
1247
- style: { cursor: H ? "grabbing" : "grab" },
1248
+ style: { cursor: U ? "grabbing" : "grab" },
1248
1249
  children: /* @__PURE__ */ l.jsxs("svg", { width: "8", height: "10", viewBox: "0 0 16 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
1249
1250
  /* @__PURE__ */ l.jsx("path", { d: "M2 2.62268e-07C3.10457 4.07115e-07 4 0.89543 4 2C4 3.10457 3.10457 4 2 4C0.895433 4 2.21557e-06 3.10457 2.36042e-06 2C2.50526e-06 0.89543 0.895433 1.17422e-07 2 2.62268e-07Z", fill: "#999999" }),
1250
1251
  /* @__PURE__ */ l.jsx("path", { d: "M14 16C15.1046 16 16 16.8954 16 18C16 19.1046 15.1046 20 14 20C12.8954 20 12 19.1046 12 18C12 16.8954 12.8954 16 14 16Z", fill: "#999999" }),
@@ -1260,12 +1261,12 @@ function Qt({
1260
1261
  {
1261
1262
  title: t.title,
1262
1263
  onClick: () => {
1263
- const { sort_field: K, sort_order: ne } = s;
1264
+ const { sort_field: q, sort_order: ne } = s;
1264
1265
  let L = {
1265
1266
  columnKey: t.key,
1266
1267
  direction: "ASC"
1267
1268
  };
1268
- K === t.key ? ne === "ASC" ? L.direction = "DESC" : ne === "DESC" && (L.columnKey = void 0, L.direction = void 0) : (L.columnKey = t.key, L.direction = "ASC"), o(L.columnKey, L.direction);
1269
+ q === t.key ? ne === "ASC" ? L.direction = "DESC" : ne === "DESC" && (L.columnKey = void 0, L.direction = void 0) : (L.columnKey = t.key, L.direction = "ASC"), o(L.columnKey, L.direction);
1269
1270
  },
1270
1271
  style: {
1271
1272
  cursor: t.sortable ? "pointer" : "default",
@@ -1279,34 +1280,34 @@ function Qt({
1279
1280
  "button",
1280
1281
  {
1281
1282
  className: "radar-table__sort-button",
1282
- onClick: (K) => o(t.key, "ASC"),
1283
+ onClick: (q) => o(t.key, "ASC"),
1283
1284
  title: `Сортировать по ${t.title}`,
1284
- children: /* @__PURE__ */ l.jsx("svg", { width: "12", height: "7", viewBox: "0 0 12 7", fill: "none", xmlns: "http://www.w3.org/2000/svg", style: { width: 12, height: 7 }, children: /* @__PURE__ */ l.jsx("path", { fill: Q, d: "M4.99264 0.21967C5.28553 -0.0732233 5.76041 -0.0732233 6.0533 0.21967L10.8263 4.99264C11.1192 5.28553 11.1192 5.76041 10.8263 6.0533C10.5334 6.34619 10.0585 6.34619 9.76561 6.0533L6.27297 2.56066L5.5 1.78769L4.77297 2.56066L1.28033 6.0533C0.987437 6.34619 0.512563 6.34619 0.21967 6.0533C-0.0732234 5.76041 -0.0732234 5.28553 0.21967 4.99264L4.99264 0.21967Z" }) })
1285
+ children: /* @__PURE__ */ l.jsx("svg", { width: "12", height: "7", viewBox: "0 0 12 7", fill: "none", xmlns: "http://www.w3.org/2000/svg", style: { width: 12, height: 7 }, children: /* @__PURE__ */ l.jsx("path", { fill: ee, d: "M4.99264 0.21967C5.28553 -0.0732233 5.76041 -0.0732233 6.0533 0.21967L10.8263 4.99264C11.1192 5.28553 11.1192 5.76041 10.8263 6.0533C10.5334 6.34619 10.0585 6.34619 9.76561 6.0533L6.27297 2.56066L5.5 1.78769L4.77297 2.56066L1.28033 6.0533C0.987437 6.34619 0.512563 6.34619 0.21967 6.0533C-0.0732234 5.76041 -0.0732234 5.28553 0.21967 4.99264L4.99264 0.21967Z" }) })
1285
1286
  }
1286
1287
  ),
1287
1288
  /* @__PURE__ */ l.jsx(
1288
1289
  "button",
1289
1290
  {
1290
1291
  className: "radar-table__sort-button",
1291
- onClick: (K) => o(t.key, "DESC"),
1292
+ onClick: (q) => o(t.key, "DESC"),
1292
1293
  title: `Сортировать по ${t.title}`,
1293
1294
  children: /* @__PURE__ */ l.jsx("svg", { width: "12", height: "7", viewBox: "0 0 12 7", fill: "none", xmlns: "http://www.w3.org/2000/svg", style: { width: 12, height: 7 }, children: /* @__PURE__ */ l.jsx("path", { fill: fe, d: "M4.99264 6.78033C5.28553 7.07322 5.76041 7.07322 6.0533 6.78033L10.8263 2.00736C11.1192 1.71447 11.1192 1.23959 10.8263 0.946699C10.5334 0.653806 10.0585 0.653806 9.76561 0.946699L6.27297 4.43934L5.5 5.21231L4.77297 4.43934L1.28033 0.946699C0.987437 0.653806 0.512563 0.653806 0.21967 0.946699C-0.0732234 1.23959 -0.0732234 1.71447 0.21967 2.00736L4.99264 6.78033Z" }) })
1294
1295
  }
1295
1296
  )
1296
1297
  ] }),
1297
1298
  t.sortable && h && p && h(s.sort_field, s.sort_order),
1298
- t.tooltipText && /* @__PURE__ */ l.jsx(Yt, { text: t.tooltipText, children: t.tooltipIcon }),
1299
- E && p && /* @__PURE__ */ l.jsx(
1299
+ t.tooltipText && /* @__PURE__ */ l.jsx(Yt, { text: t.tooltipText, containerRef: Q, children: t.tooltipIcon }),
1300
+ k && p && /* @__PURE__ */ l.jsx(
1300
1301
  Ut,
1301
1302
  {
1302
1303
  column: t,
1303
1304
  currWidth: le,
1304
1305
  currMinWidth: A,
1305
1306
  onResize: a,
1306
- scrollContainerRef: ee,
1307
+ scrollContainerRef: Q,
1307
1308
  onResizeStart: c,
1308
1309
  onResizeFrame: f,
1309
- onResizeEnd: w
1310
+ onResizeEnd: _
1310
1311
  }
1311
1312
  )
1312
1313
  ]
@@ -1325,88 +1326,88 @@ function ct({
1325
1326
  onResizeEnd: a,
1326
1327
  onColumnReorder: c,
1327
1328
  sortIcon: f,
1328
- resizeable: w,
1329
+ resizeable: _,
1329
1330
  draggableColumns: h,
1330
- preset: E,
1331
- headerClassName: q,
1332
- headerStyle: P,
1333
- headerRowClassName: N,
1334
- headerRowStyle: Z,
1331
+ preset: k,
1332
+ headerClassName: V,
1333
+ headerStyle: W,
1334
+ headerRowClassName: P,
1335
+ headerRowStyle: H,
1335
1336
  headerCellClassName: re,
1336
- headerCellStyle: Y,
1337
+ headerCellStyle: J,
1337
1338
  headerCellWrapperClassName: g,
1338
- headerCellWrapperStyle: ee,
1339
- stickyHeader: S,
1340
- scrollContainerRef: W,
1339
+ headerCellWrapperStyle: Q,
1340
+ stickyHeader: E,
1341
+ scrollContainerRef: N,
1341
1342
  sorting: ae,
1342
1343
  defaultSorting: p,
1343
- resizeThrottle: _
1344
+ resizeThrottle: w
1344
1345
  }) {
1345
1346
  const [y, b] = we(() => p || { sort_field: void 0, sort_order: void 0 }), [m, j] = we(t), R = ae !== void 0, M = R ? ae : y;
1346
1347
  Ie(() => {
1347
1348
  !R && p && b(p);
1348
1349
  }, [p, R]);
1349
- const G = ue((F, H) => {
1350
+ const G = ue((F, U) => {
1350
1351
  const { sort_field: te, sort_order: I } = M;
1351
1352
  let z = {
1352
1353
  sort_field: F,
1353
- sort_order: H
1354
+ sort_order: U
1354
1355
  };
1355
- te === F && I === H && (z = {
1356
+ te === F && I === U && (z = {
1356
1357
  sort_field: void 0,
1357
1358
  sort_order: void 0
1358
1359
  }), R || b(z), r == null || r(z.sort_field, z.sort_order);
1359
1360
  }, [M, r, R]);
1360
1361
  return Ie(() => {
1361
- if (t.some((F) => F.children || !w)) {
1362
+ if (t.some((F) => F.children || !_)) {
1362
1363
  j(t);
1363
1364
  return;
1364
1365
  } else {
1365
1366
  const F = () => {
1366
- const H = W == null ? void 0 : W.current;
1367
- if (!H) return;
1368
- const te = H.clientWidth, I = t.reduce((V, $) => V + (($ == null ? void 0 : $.width) ?? 0), 0);
1367
+ const U = N == null ? void 0 : N.current;
1368
+ if (!U) return;
1369
+ const te = U.clientWidth, I = t.reduce((K, $) => K + (($ == null ? void 0 : $.width) ?? 0), 0);
1369
1370
  if (I > te) {
1370
1371
  j(t);
1371
1372
  return;
1372
1373
  }
1373
- const z = t.map((V) => {
1374
- const $ = ((V == null ? void 0 : V.width) ?? 0) / I, le = Math.floor(te * $);
1375
- return V.width = Math.round(le), V.maxWidth = le * 2, V;
1374
+ const z = t.map((K) => {
1375
+ const $ = ((K == null ? void 0 : K.width) ?? 0) / I, le = Math.floor(te * $);
1376
+ return K.width = Math.round(le), K.maxWidth = le * 2, K;
1376
1377
  });
1377
1378
  j([...z]), requestAnimationFrame(() => {
1378
- const V = (k) => {
1379
+ const K = (S) => {
1379
1380
  var C;
1380
- return typeof window < "u" && ((C = window.CSS) != null && C.escape) ? window.CSS.escape(k) : k.replace(/([#.;?\[\]\s])/g, "\\$1");
1381
- }, $ = H.querySelector("table");
1381
+ return typeof window < "u" && ((C = window.CSS) != null && C.escape) ? window.CSS.escape(S) : S.replace(/([#.;?\[\]\s])/g, "\\$1");
1382
+ }, $ = U.querySelector("table");
1382
1383
  if (!$) return;
1383
- z.forEach((k) => {
1384
- if (k.hidden) return;
1385
- const C = V(k.key), X = k.width || k.minWidth || 200, D = $.querySelector(`th[data-column-key="${C}"]`);
1384
+ z.forEach((S) => {
1385
+ if (S.hidden) return;
1386
+ const C = K(S.key), X = S.width || S.minWidth || 200, D = $.querySelector(`th[data-column-key="${C}"]`);
1386
1387
  D && (D.style.width = `${X}px`, D.style.minWidth = `${X}px`), $.querySelectorAll(`td[data-column-key="${C}"]`).forEach((fe) => {
1387
1388
  const ie = fe;
1388
1389
  ie.style.width = `${X}px`, ie.style.minWidth = `${X}px`;
1389
1390
  });
1390
1391
  });
1391
- const le = (k) => window.getComputedStyle(k).position === "sticky", O = Array.from(
1392
+ const le = (S) => window.getComputedStyle(S).position === "sticky", O = Array.from(
1392
1393
  $.querySelectorAll("th.radar-table__header-cell.leaf-header")
1393
- ).filter((k) => le(k));
1394
+ ).filter((S) => le(S));
1394
1395
  if (O.length > 0) {
1395
- let k = 0;
1396
+ let S = 0;
1396
1397
  O.forEach((C, X) => {
1397
1398
  if (X === 0) {
1398
- const Q = C.getAttribute("data-column-key"), fe = z.find((ie) => ie.key === Q);
1399
- k = (fe == null ? void 0 : fe.fixedLeft) || 0, C.style.left = `${k}px`;
1399
+ const ee = C.getAttribute("data-column-key"), fe = z.find((ie) => ie.key === ee);
1400
+ S = (fe == null ? void 0 : fe.fixedLeft) || 0, C.style.left = `${S}px`;
1400
1401
  } else {
1401
- const Q = O[X - 1].getBoundingClientRect().width;
1402
- k += Math.floor(Q), C.style.left = `${k}px`;
1402
+ const ee = O[X - 1].getBoundingClientRect().width;
1403
+ S += Math.floor(ee), C.style.left = `${S}px`;
1403
1404
  }
1404
1405
  const D = C.getAttribute("data-column-key");
1405
1406
  if (D) {
1406
- const Q = V(D);
1407
- $.querySelectorAll(`td[data-column-key="${Q}"]`).forEach((ie) => {
1408
- const K = ie;
1409
- window.getComputedStyle(K).position === "sticky" && (K.style.left = `${C.style.left}`);
1407
+ const ee = K(D);
1408
+ $.querySelectorAll(`td[data-column-key="${ee}"]`).forEach((ie) => {
1409
+ const q = ie;
1410
+ window.getComputedStyle(q).position === "sticky" && (q.style.left = `${C.style.left}`);
1410
1411
  });
1411
1412
  }
1412
1413
  });
@@ -1415,16 +1416,16 @@ function ct({
1415
1416
  };
1416
1417
  return F(), window.addEventListener("resize", F), () => window.removeEventListener("resize", F);
1417
1418
  }
1418
- }, [t, W, w]), /* @__PURE__ */ l.jsx(
1419
+ }, [t, N, _]), /* @__PURE__ */ l.jsx(
1419
1420
  "tr",
1420
1421
  {
1421
- className: `radar-table__header-row ${E ? E + "__header-row" : ""} ${N || ""}`,
1422
- style: Z,
1423
- children: m == null ? void 0 : m.map((F, H) => /* @__PURE__ */ l.jsx(
1422
+ className: `radar-table__header-row ${k ? k + "__header-row" : ""} ${P || ""}`,
1423
+ style: H,
1424
+ children: m == null ? void 0 : m.map((F, U) => /* @__PURE__ */ l.jsx(
1424
1425
  Qt,
1425
1426
  {
1426
1427
  column: F,
1427
- index: H,
1428
+ index: U,
1428
1429
  config: t,
1429
1430
  fullConfig: i,
1430
1431
  sorting: M,
@@ -1434,16 +1435,16 @@ function ct({
1434
1435
  onResizeFrame: o,
1435
1436
  onResizeEnd: a,
1436
1437
  sortIcon: f,
1437
- resizeable: w,
1438
+ resizeable: _,
1438
1439
  draggableColumns: h,
1439
- preset: E,
1440
+ preset: k,
1440
1441
  headerCellClassName: re,
1441
- headerCellStyle: Y,
1442
+ headerCellStyle: J,
1442
1443
  headerCellWrapperClassName: g,
1443
- headerCellWrapperStyle: ee,
1444
- stickyHeader: S,
1445
- scrollContainerRef: W,
1446
- resizeThrottle: _
1444
+ headerCellWrapperStyle: Q,
1445
+ stickyHeader: E,
1446
+ scrollContainerRef: N,
1447
+ resizeThrottle: w
1447
1448
  },
1448
1449
  F.key
1449
1450
  ))
@@ -1460,24 +1461,24 @@ function er(t) {
1460
1461
  headerRowClassName: a,
1461
1462
  headerRowStyle: c,
1462
1463
  headerCellClassName: f,
1463
- headerCellStyle: w,
1464
+ headerCellStyle: _,
1464
1465
  headerCellWrapperClassName: h,
1465
- headerCellWrapperStyle: E,
1466
- onResize: q,
1467
- onColumnReorder: P,
1468
- sorting: N,
1469
- defaultSorting: Z
1470
- } = t, re = i.some((S) => S.children && S.children.length > 0), Y = Ye(() => {
1466
+ headerCellWrapperStyle: k,
1467
+ onResize: V,
1468
+ onColumnReorder: W,
1469
+ sorting: P,
1470
+ defaultSorting: H
1471
+ } = t, re = i.some((E) => E.children && E.children.length > 0), J = Ye(() => {
1471
1472
  if (!re)
1472
1473
  return null;
1473
- const S = {}, W = (ae, p = 0) => {
1474
- S[p] || (S[p] = []), ae.forEach((_) => {
1475
- _.hidden || (S[p].push(_), _.children && _.children.length > 0 && W(_.children, p + 1));
1474
+ const E = {}, N = (ae, p = 0) => {
1475
+ E[p] || (E[p] = []), ae.forEach((w) => {
1476
+ w.hidden || (E[p].push(w), w.children && w.children.length > 0 && N(w.children, p + 1));
1476
1477
  });
1477
1478
  };
1478
- return W(i), S;
1479
- }, [i, re]), g = ue((S, W) => {
1480
- if (!q) return;
1479
+ return N(i), E;
1480
+ }, [i, re]), g = ue((E, N) => {
1481
+ if (!V) return;
1481
1482
  const ae = (y, b) => {
1482
1483
  for (const m of y) {
1483
1484
  if (m.key === b) return m;
@@ -1494,61 +1495,61 @@ function er(t) {
1494
1495
  return y.children.forEach((m) => {
1495
1496
  m.hidden || b.push(...p(m));
1496
1497
  }), b;
1497
- }, _ = ae(i, S);
1498
- if (_)
1499
- if (_.children && _.children.length > 0) {
1500
- const y = p(_);
1498
+ }, w = ae(i, E);
1499
+ if (w)
1500
+ if (w.children && w.children.length > 0) {
1501
+ const y = p(w);
1501
1502
  if (y.length > 0) {
1502
- const b = y.reduce((j, R) => j + (R.width || R.minWidth || 200), 0), m = W / b;
1503
+ const b = y.reduce((j, R) => j + (R.width || R.minWidth || 200), 0), m = N / b;
1503
1504
  y.forEach((j) => {
1504
1505
  const R = Math.max(50, Math.round((j.width || j.minWidth || 200) * m));
1505
- q(j.key, R);
1506
+ V(j.key, R);
1506
1507
  });
1507
1508
  }
1508
1509
  } else
1509
- q(S, W);
1510
- }, [i, q]), ee = ue((S) => {
1511
- if (!P) return;
1510
+ V(E, N);
1511
+ }, [i, V]), Q = ue((E) => {
1512
+ if (!W) return;
1512
1513
  if (!re) {
1513
- P(S);
1514
+ W(E);
1514
1515
  return;
1515
1516
  }
1516
- const W = (A, O, k = [], C = null) => {
1517
+ const N = (A, O, S = [], C = null) => {
1517
1518
  for (let X = 0; X < A.length; X++) {
1518
- const D = A[X], Q = [...k, X];
1519
+ const D = A[X], ee = [...S, X];
1519
1520
  if (D.key === O)
1520
1521
  return {
1521
1522
  column: D,
1522
1523
  parent: C,
1523
- path: Q,
1524
- level: k.length
1524
+ path: ee,
1525
+ level: S.length
1525
1526
  };
1526
1527
  if (D.children && D.children.length > 0) {
1527
- const fe = W(D.children, O, Q, D);
1528
+ const fe = N(D.children, O, ee, D);
1528
1529
  if (fe)
1529
1530
  return fe;
1530
1531
  }
1531
1532
  }
1532
1533
  return null;
1533
1534
  };
1534
- if (!Object.values(Y).find((A) => {
1535
- if (A.length !== S.length) return !1;
1536
- const O = A.map((C) => C.key).sort(), k = S.map((C) => C.key).sort();
1537
- return JSON.stringify(O) === JSON.stringify(k);
1535
+ if (!Object.values(J).find((A) => {
1536
+ if (A.length !== E.length) return !1;
1537
+ const O = A.map((C) => C.key).sort(), S = E.map((C) => C.key).sort();
1538
+ return JSON.stringify(O) === JSON.stringify(S);
1538
1539
  }))
1539
1540
  return;
1540
- const p = S._dragInfo;
1541
+ const p = E._dragInfo;
1541
1542
  if (!(p != null && p.draggedKey) || !(p != null && p.targetKey))
1542
1543
  return;
1543
- const { draggedKey: _, targetKey: y } = p, b = W(i, _), m = W(i, y);
1544
+ const { draggedKey: w, targetKey: y } = p, b = N(i, w), m = N(i, y);
1544
1545
  if (!b || !m) return;
1545
- const { column: j, parent: R, path: M, level: G } = b, { column: F, parent: H, path: te, level: I } = m, z = (A, O) => A.fixed || (O == null ? void 0 : O.fixed) || !1, V = z(j, R), $ = z(F, H);
1546
- if (G !== I || R !== H || R && H && R.key !== H.key || V !== $)
1546
+ const { column: j, parent: R, path: M, level: G } = b, { column: F, parent: U, path: te, level: I } = m, z = (A, O) => A.fixed || (O == null ? void 0 : O.fixed) || !1, K = z(j, R), $ = z(F, U);
1547
+ if (G !== I || R !== U || R && U && R.key !== U.key || K !== $)
1547
1548
  return;
1548
1549
  const le = JSON.parse(JSON.stringify(i));
1549
1550
  if (G === 0) {
1550
- const A = M[0], O = te[0], [k] = le.splice(A, 1);
1551
- le.splice(O, 0, k);
1551
+ const A = M[0], O = te[0], [S] = le.splice(A, 1);
1552
+ le.splice(O, 0, S);
1552
1553
  } else {
1553
1554
  const A = M.slice(0, -1);
1554
1555
  let O = le;
@@ -1556,14 +1557,14 @@ function er(t) {
1556
1557
  D === 0 ? O = O[A[D]] : O = O.children[A[D]];
1557
1558
  if (!O || !O.children)
1558
1559
  return;
1559
- const k = M[M.length - 1], C = te[te.length - 1];
1560
- if (k < 0 || k >= O.children.length || C < 0 || C >= O.children.length)
1560
+ const S = M[M.length - 1], C = te[te.length - 1];
1561
+ if (S < 0 || S >= O.children.length || C < 0 || C >= O.children.length)
1561
1562
  return;
1562
- const [X] = O.children.splice(k, 1);
1563
+ const [X] = O.children.splice(S, 1);
1563
1564
  O.children.splice(C, 0, X);
1564
1565
  }
1565
- P(le);
1566
- }, [i, P, Y]);
1566
+ W(le);
1567
+ }, [i, W, J]);
1567
1568
  return re ? /* @__PURE__ */ l.jsx(
1568
1569
  "thead",
1569
1570
  {
@@ -1573,19 +1574,19 @@ function er(t) {
1573
1574
  top: o && typeof o == "number" ? o : 0,
1574
1575
  ...s
1575
1576
  },
1576
- children: Object.keys(Y).map((S) => {
1577
- const W = Y[parseInt(S)], ae = parseInt(S);
1577
+ children: Object.keys(J).map((E) => {
1578
+ const N = J[parseInt(E)], ae = parseInt(E);
1578
1579
  return /* @__PURE__ */ l.jsx(
1579
1580
  ct,
1580
1581
  {
1581
- config: W,
1582
+ config: N,
1582
1583
  fullConfig: i,
1583
1584
  onSort: t.onSort,
1584
1585
  onResize: g,
1585
1586
  onResizeStart: t.onResizeStart,
1586
1587
  onResizeFrame: t.onResizeFrame,
1587
1588
  onResizeEnd: t.onResizeEnd,
1588
- onColumnReorder: ee,
1589
+ onColumnReorder: Q,
1589
1590
  resizeable: t.resizeable,
1590
1591
  draggableColumns: t.draggableColumns,
1591
1592
  preset: r,
@@ -1598,17 +1599,17 @@ function er(t) {
1598
1599
  top: o && typeof o == "number" ? o + (ae - 1) * 50 : 0
1599
1600
  },
1600
1601
  headerCellClassName: f,
1601
- headerCellStyle: w,
1602
+ headerCellStyle: _,
1602
1603
  headerCellWrapperClassName: h,
1603
- headerCellWrapperStyle: E,
1604
+ headerCellWrapperStyle: k,
1604
1605
  stickyHeader: o,
1605
1606
  sortIcon: t.sortIcon,
1606
1607
  scrollContainerRef: t.scrollContainerRef,
1607
- sorting: N,
1608
- defaultSorting: Z,
1608
+ sorting: P,
1609
+ defaultSorting: H,
1609
1610
  resizeThrottle: t.resizeThrottle
1610
1611
  },
1611
- S
1612
+ E
1612
1613
  );
1613
1614
  })
1614
1615
  }
@@ -1621,7 +1622,7 @@ function er(t) {
1621
1622
  top: o && typeof o == "number" ? o : 0,
1622
1623
  ...s
1623
1624
  },
1624
- children: /* @__PURE__ */ l.jsx(ct, { ...t, fullConfig: i, onResize: g, onResizeStart: t.onResizeStart, onResizeFrame: t.onResizeFrame, onResizeEnd: t.onResizeEnd, onColumnReorder: ee, scrollContainerRef: t.scrollContainerRef, sorting: N, defaultSorting: Z, resizeThrottle: t.resizeThrottle })
1625
+ children: /* @__PURE__ */ l.jsx(ct, { ...t, fullConfig: i, onResize: g, onResizeStart: t.onResizeStart, onResizeFrame: t.onResizeFrame, onResizeEnd: t.onResizeEnd, onColumnReorder: Q, scrollContainerRef: t.scrollContainerRef, sorting: P, defaultSorting: H, resizeThrottle: t.resizeThrottle })
1625
1626
  }
1626
1627
  );
1627
1628
  }
@@ -1640,22 +1641,22 @@ const tr = (t, i) => {
1640
1641
  function Ae(t, i, r) {
1641
1642
  let n = r.initialDeps ?? [], s;
1642
1643
  function o() {
1643
- var a, c, f, w;
1644
+ var a, c, f, _;
1644
1645
  let h;
1645
1646
  r.key && ((a = r.debug) != null && a.call(r)) && (h = Date.now());
1646
- const E = t();
1647
- if (!(E.length !== n.length || E.some((N, Z) => n[Z] !== N)))
1647
+ const k = t();
1648
+ if (!(k.length !== n.length || k.some((P, H) => n[H] !== P)))
1648
1649
  return s;
1649
- n = E;
1650
- let P;
1651
- if (r.key && ((c = r.debug) != null && c.call(r)) && (P = Date.now()), s = i(...E), r.key && ((f = r.debug) != null && f.call(r))) {
1652
- const N = Math.round((Date.now() - h) * 100) / 100, Z = Math.round((Date.now() - P) * 100) / 100, re = Z / 16, Y = (g, ee) => {
1653
- for (g = String(g); g.length < ee; )
1650
+ n = k;
1651
+ let W;
1652
+ if (r.key && ((c = r.debug) != null && c.call(r)) && (W = Date.now()), s = i(...k), r.key && ((f = r.debug) != null && f.call(r))) {
1653
+ const P = Math.round((Date.now() - h) * 100) / 100, H = Math.round((Date.now() - W) * 100) / 100, re = H / 16, J = (g, Q) => {
1654
+ for (g = String(g); g.length < Q; )
1654
1655
  g = " " + g;
1655
1656
  return g;
1656
1657
  };
1657
1658
  console.info(
1658
- `%c⏱ ${Y(Z, 5)} /${Y(N, 5)} ms`,
1659
+ `%c⏱ ${J(H, 5)} /${J(P, 5)} ms`,
1659
1660
  `
1660
1661
  font-size: .6rem;
1661
1662
  font-weight: bold;
@@ -1666,7 +1667,7 @@ function Ae(t, i, r) {
1666
1667
  r == null ? void 0 : r.key
1667
1668
  );
1668
1669
  }
1669
- return (w = r == null ? void 0 : r.onChange) == null || w.call(r, s), s;
1670
+ return (_ = r == null ? void 0 : r.onChange) == null || _.call(r, s), s;
1670
1671
  }
1671
1672
  return o.updateDeps = (a) => {
1672
1673
  n = a;
@@ -1708,9 +1709,9 @@ const rr = (t, i) => Math.abs(t - i) < 1.01, nr = (t, i, r) => {
1708
1709
  const c = () => {
1709
1710
  const f = a[0];
1710
1711
  if (f != null && f.borderBoxSize) {
1711
- const w = f.borderBoxSize[0];
1712
- if (w) {
1713
- s({ width: w.inlineSize, height: w.blockSize });
1712
+ const _ = f.borderBoxSize[0];
1713
+ if (_) {
1714
+ s({ width: _.inlineSize, height: _.blockSize });
1714
1715
  return;
1715
1716
  }
1716
1717
  }
@@ -1739,13 +1740,13 @@ const rr = (t, i) => Math.abs(t - i) < 1.01, nr = (t, i, r) => {
1739
1740
  },
1740
1741
  t.options.isScrollingResetDelay
1741
1742
  ), a = (h) => () => {
1742
- const { horizontal: E, isRtl: q } = t.options;
1743
- s = E ? r.scrollLeft * (q && -1 || 1) : r.scrollTop, o(), i(s, h);
1743
+ const { horizontal: k, isRtl: V } = t.options;
1744
+ s = k ? r.scrollLeft * (V && -1 || 1) : r.scrollTop, o(), i(s, h);
1744
1745
  }, c = a(!0), f = a(!1);
1745
1746
  f(), r.addEventListener("scroll", c, ft);
1746
- const w = t.options.useScrollendEvent && ht;
1747
- return w && r.addEventListener("scrollend", f, ft), () => {
1748
- r.removeEventListener("scroll", c), w && r.removeEventListener("scrollend", f);
1747
+ const _ = t.options.useScrollendEvent && ht;
1748
+ return _ && r.addEventListener("scrollend", f, ft), () => {
1749
+ r.removeEventListener("scroll", c), _ && r.removeEventListener("scrollend", f);
1749
1750
  };
1750
1751
  }, lr = (t, i, r) => {
1751
1752
  if (i != null && i.borderBoxSize) {
@@ -1912,19 +1913,19 @@ class dr {
1912
1913
  }));
1913
1914
  const f = this.pendingMeasuredCacheIndexes.length > 0 ? Math.min(...this.pendingMeasuredCacheIndexes) : 0;
1914
1915
  this.pendingMeasuredCacheIndexes = [];
1915
- const w = this.measurementsCache.slice(0, f);
1916
+ const _ = this.measurementsCache.slice(0, f);
1916
1917
  for (let h = f; h < r; h++) {
1917
- const E = o(h), q = this.options.lanes === 1 ? w[h - 1] : this.getFurthestMeasurement(w, h), P = q ? q.end + this.options.gap : n + s, N = c.get(E), Z = typeof N == "number" ? N : this.options.estimateSize(h), re = P + Z, Y = q ? q.lane : h % this.options.lanes;
1918
- w[h] = {
1918
+ const k = o(h), V = this.options.lanes === 1 ? _[h - 1] : this.getFurthestMeasurement(_, h), W = V ? V.end + this.options.gap : n + s, P = c.get(k), H = typeof P == "number" ? P : this.options.estimateSize(h), re = W + H, J = V ? V.lane : h % this.options.lanes;
1919
+ _[h] = {
1919
1920
  index: h,
1920
- start: P,
1921
- size: Z,
1921
+ start: W,
1922
+ size: H,
1922
1923
  end: re,
1923
- key: E,
1924
- lane: Y
1924
+ key: k,
1925
+ lane: J
1925
1926
  };
1926
1927
  }
1927
- return this.measurementsCache = w, w;
1928
+ return this.measurementsCache = _, _;
1928
1929
  },
1929
1930
  {
1930
1931
  key: process.env.NODE_ENV !== "production" && "getMeasurements",
@@ -2057,24 +2058,24 @@ class dr {
2057
2058
  "The `smooth` scroll behavior is not fully supported with dynamic size."
2058
2059
  ), r = Math.max(0, Math.min(r, this.options.count - 1));
2059
2060
  let o = 0;
2060
- const a = 10, c = (w) => {
2061
+ const a = 10, c = (_) => {
2061
2062
  if (!this.targetWindow) return;
2062
- const h = this.getOffsetForIndex(r, w);
2063
+ const h = this.getOffsetForIndex(r, _);
2063
2064
  if (!h) {
2064
2065
  console.warn("Failed to get offset for index:", r);
2065
2066
  return;
2066
2067
  }
2067
- const [E, q] = h;
2068
- this._scrollToOffset(E, { adjustments: void 0, behavior: s }), this.targetWindow.requestAnimationFrame(() => {
2069
- const P = this.getScrollOffset(), N = this.getOffsetForIndex(r, q);
2070
- if (!N) {
2068
+ const [k, V] = h;
2069
+ this._scrollToOffset(k, { adjustments: void 0, behavior: s }), this.targetWindow.requestAnimationFrame(() => {
2070
+ const W = this.getScrollOffset(), P = this.getOffsetForIndex(r, V);
2071
+ if (!P) {
2071
2072
  console.warn("Failed to get offset for index:", r);
2072
2073
  return;
2073
2074
  }
2074
- rr(N[0], P) || f(q);
2075
+ rr(P[0], W) || f(V);
2075
2076
  });
2076
- }, f = (w) => {
2077
- this.targetWindow && (o++, o < a ? (process.env.NODE_ENV !== "production" && this.options.debug && console.info("Schedule retry", o, a), this.targetWindow.requestAnimationFrame(() => c(w))) : console.warn(
2077
+ }, f = (_) => {
2078
+ this.targetWindow && (o++, o < a ? (process.env.NODE_ENV !== "production" && this.options.debug && console.info("Schedule retry", o, a), this.targetWindow.requestAnimationFrame(() => c(_))) : console.warn(
2078
2079
  `Failed to scroll to index ${r} after ${a} attempts.`
2079
2080
  ));
2080
2081
  };
@@ -2156,10 +2157,10 @@ function ur({
2156
2157
  const h = t[c];
2157
2158
  f[h.lane] = h.end, c++;
2158
2159
  }
2159
- const w = Array(n).fill(r + i);
2160
- for (; a >= 0 && w.some((h) => h >= r); ) {
2160
+ const _ = Array(n).fill(r + i);
2161
+ for (; a >= 0 && _.some((h) => h >= r); ) {
2161
2162
  const h = t[a];
2162
- w[h.lane] = h.start, a--;
2163
+ _[h.lane] = h.start, a--;
2163
2164
  }
2164
2165
  a = Math.max(0, a - a % n), c = Math.min(s, c + (n - 1 - c % n));
2165
2166
  }
@@ -2204,40 +2205,40 @@ function yr({
2204
2205
  preset: a,
2205
2206
  customCellRender: c,
2206
2207
  treeMode: f,
2207
- expandedRowKeys: w,
2208
+ expandedRowKeys: _,
2208
2209
  defaultExpandedRowKeys: h,
2209
- onExpandedRowsChange: E,
2210
- indentSize: q,
2211
- expandIcon: P,
2212
- bodyClassName: N,
2213
- bodyStyle: Z,
2210
+ onExpandedRowsChange: k,
2211
+ indentSize: V,
2212
+ expandIcon: W,
2213
+ bodyClassName: P,
2214
+ bodyStyle: H,
2214
2215
  bodyRowClassName: re,
2215
- bodyRowStyle: Y,
2216
+ bodyRowStyle: J,
2216
2217
  bodyCellClassName: g,
2217
- bodyCellStyle: ee,
2218
- bodyCellWrapperClassName: S,
2219
- bodyCellWrapperStyle: W,
2218
+ bodyCellStyle: Q,
2219
+ bodyCellWrapperClassName: E,
2220
+ bodyCellWrapperStyle: N,
2220
2221
  noDataRender: ae,
2221
2222
  scrollContainerRef: p,
2222
- recalculateRowHeight: _,
2223
+ recalculateRowHeight: w,
2223
2224
  virtualization: y
2224
2225
  }) {
2225
2226
  var Re;
2226
- const [b, m] = we(null), [j, R] = we(null), [M, G] = we(() => h && h.length > 0 ? new Set(h) : /* @__PURE__ */ new Set()), F = qe.useMemo(() => w ? new Set(w) : M, [w, M]), H = ue((d) => {
2227
- w || G(new Set(d)), E == null || E(d);
2228
- }, [w, E]), te = ue((d) => n ? n(d) : JSON.stringify(d), [n]), I = qe.useMemo(() => {
2227
+ const [b, m] = we(null), [j, R] = we(null), [M, G] = we(() => h && h.length > 0 ? new Set(h) : /* @__PURE__ */ new Set()), F = qe.useMemo(() => _ ? new Set(_) : M, [_, M]), U = ue((d) => {
2228
+ _ || G(new Set(d)), k == null || k(d);
2229
+ }, [_, k]), te = ue((d) => n ? n(d) : JSON.stringify(d), [n]), I = qe.useMemo(() => {
2229
2230
  if (!f) return [];
2230
- const d = [], T = (U, x, J) => {
2231
- U.forEach((ge, de) => {
2231
+ const d = [], T = (Y, x, Z) => {
2232
+ Y.forEach((ge, de) => {
2232
2233
  const ke = te(ge), be = ge == null ? void 0 : ge.children, Ce = be && be.length > 0;
2233
2234
  d.push({
2234
2235
  record: ge,
2235
2236
  key: ke,
2236
2237
  type: x === 0 ? "parent" : "child",
2237
- parentKey: J,
2238
+ parentKey: Z,
2238
2239
  depth: x,
2239
2240
  indexWithinGroup: de,
2240
- groupSize: U.length
2241
+ groupSize: Y.length
2241
2242
  }), Ce && F.has(ke) && T(be, x + 1, ke);
2242
2243
  });
2243
2244
  };
@@ -2247,56 +2248,56 @@ function yr({
2247
2248
  return I.forEach((T) => d.set(T.key, T)), d;
2248
2249
  }, [I]);
2249
2250
  Ie(() => {
2250
- mr && _ && (() => {
2251
+ mr && w && (() => {
2251
2252
  const T = document.querySelectorAll(".radar-table__body-row");
2252
2253
  document.querySelectorAll(".radar-table__header-row").forEach((x) => {
2253
- const J = x.querySelectorAll(".radar-table__header-cell-wrapper");
2254
+ const Z = x.querySelectorAll(".radar-table__header-cell-wrapper");
2254
2255
  let ge = 0;
2255
- J.forEach((de) => {
2256
+ Z.forEach((de) => {
2256
2257
  de.style.height = "auto", ge = Math.max(ge, de.offsetHeight);
2257
- }), J.forEach((de) => {
2258
+ }), Z.forEach((de) => {
2258
2259
  de.style.height = ge + "px";
2259
2260
  });
2260
2261
  }), T.forEach((x) => {
2261
- const J = x.querySelectorAll(".radar-table__body-cell-wrapper");
2262
+ const Z = x.querySelectorAll(".radar-table__body-cell-wrapper");
2262
2263
  let ge = 0;
2263
- J.forEach((de) => {
2264
+ Z.forEach((de) => {
2264
2265
  de.style.height = "auto", ge = Math.max(ge, de.offsetHeight);
2265
- }), J.forEach((de) => {
2266
+ }), Z.forEach((de) => {
2266
2267
  de.style.height = ge + "px";
2267
2268
  });
2268
2269
  });
2269
2270
  })();
2270
2271
  }, [i, r]);
2271
2272
  const $ = ((d) => {
2272
- const T = [], U = (x) => {
2273
- x.forEach((J) => {
2274
- J.children && J.children.length > 0 ? U(J.children) : T.push(J);
2273
+ const T = [], Y = (x) => {
2274
+ x.forEach((Z) => {
2275
+ Z.children && Z.children.length > 0 ? Y(Z.children) : T.push(Z);
2275
2276
  });
2276
2277
  };
2277
- return U(d), T;
2278
+ return Y(d), T;
2278
2279
  })(r), le = (d) => {
2279
2280
  if (d.groupColor)
2280
2281
  return d.groupColor;
2281
- const T = (x, J) => {
2282
+ const T = (x, Z) => {
2282
2283
  for (const ge of x)
2283
2284
  if (ge.children) {
2284
- if (ge.children.some((ke) => ke.key === J))
2285
+ if (ge.children.some((ke) => ke.key === Z))
2285
2286
  return ge;
2286
- const de = T(ge.children, J);
2287
+ const de = T(ge.children, Z);
2287
2288
  if (de) return de;
2288
2289
  }
2289
2290
  return null;
2290
- }, U = T(r, d.key);
2291
- return U == null ? void 0 : U.groupColor;
2291
+ }, Y = T(r, d.key);
2292
+ return Y == null ? void 0 : Y.groupColor;
2292
2293
  }, A = ue((d, T) => {
2293
2294
  if (!T) {
2294
2295
  d.preventDefault();
2295
2296
  return;
2296
2297
  }
2297
2298
  m(T), d.dataTransfer.effectAllowed = "move", d.dataTransfer.setData("text/plain", T), document.body.style.cursor = "grabbing";
2298
- const U = i.find((x) => (n ? n(x) : JSON.stringify(x)) === T);
2299
- if (U) {
2299
+ const Y = i.find((x) => (n ? n(x) : JSON.stringify(x)) === T);
2300
+ if (Y) {
2300
2301
  const x = document.createElement("div");
2301
2302
  x.style.cssText = `
2302
2303
  background: white;
@@ -2312,9 +2313,9 @@ function yr({
2312
2313
  overflow: hidden;
2313
2314
  text-overflow: ellipsis;
2314
2315
  `;
2315
- const J = $[0];
2316
- if (J) {
2317
- const de = U[J.key];
2316
+ const Z = $[0];
2317
+ if (Z) {
2318
+ const de = Y[Z.key];
2318
2319
  x.textContent = (de == null ? void 0 : de.toString()) || "Строка";
2319
2320
  } else
2320
2321
  x.textContent = "Строка";
@@ -2326,16 +2327,16 @@ function yr({
2326
2327
  }
2327
2328
  }, []), O = ue((d) => {
2328
2329
  d.preventDefault(), d.dataTransfer.dropEffect = "move";
2329
- }, []), k = ue((d, T) => {
2330
+ }, []), S = ue((d, T) => {
2330
2331
  if (d.preventDefault(), !b) return;
2331
2332
  if (!f) {
2332
2333
  b !== T && R(T);
2333
2334
  return;
2334
2335
  }
2335
- const U = z.get(b), x = z.get(T);
2336
- if (!U || !x) return;
2337
- const J = U.depth === x.depth && U.parentKey === x.parentKey;
2338
- R(J && b !== T ? T : null);
2336
+ const Y = z.get(b), x = z.get(T);
2337
+ if (!Y || !x) return;
2338
+ const Z = Y.depth === x.depth && Y.parentKey === x.parentKey;
2339
+ R(Z && b !== T ? T : null);
2339
2340
  }, [b, f, z]), C = ue((d) => {
2340
2341
  d.preventDefault(), R(null);
2341
2342
  }, []), X = ue(() => {
@@ -2351,13 +2352,13 @@ function yr({
2351
2352
  be.splice(ke, 0, Ce), o == null || o(be), m(null), R(null), document.body.style.cursor = "";
2352
2353
  return;
2353
2354
  }
2354
- const U = z.get(b), x = z.get(T);
2355
- if (!U || !x || U.depth !== x.depth || U.parentKey !== x.parentKey)
2355
+ const Y = z.get(b), x = z.get(T);
2356
+ if (!Y || !x || Y.depth !== x.depth || Y.parentKey !== x.parentKey)
2356
2357
  return;
2357
- const J = (de, ke) => {
2358
- if (ke === U.parentKey) {
2358
+ const Z = (de, ke) => {
2359
+ if (ke === Y.parentKey) {
2359
2360
  const be = de.findIndex(
2360
- (Le) => te(Le) === U.key
2361
+ (Le) => te(Le) === Y.key
2361
2362
  ), Ce = de.findIndex(
2362
2363
  (Le) => te(Le) === x.key
2363
2364
  );
@@ -2369,26 +2370,26 @@ function yr({
2369
2370
  const Ce = be == null ? void 0 : be.children;
2370
2371
  return Ce && Ce.length > 0 ? {
2371
2372
  ...be,
2372
- children: J(Ce, te(be))
2373
+ children: Z(Ce, te(be))
2373
2374
  } : be;
2374
2375
  });
2375
- }, ge = J(i);
2376
+ }, ge = Z(i);
2376
2377
  o == null || o(ge), m(null), R(null), document.body.style.cursor = "";
2377
2378
  }, [b, i, te, o, f, z]);
2378
2379
  if (i.length === 0) {
2379
2380
  let d;
2380
- return p && (d = ((Re = p.current) == null ? void 0 : Re.clientWidth) + "px"), /* @__PURE__ */ l.jsx("tbody", { className: `radar-table__body ${a ? a + "__body" : ""} ${N}`, style: Z, children: /* @__PURE__ */ l.jsx(
2381
+ return p && (d = ((Re = p.current) == null ? void 0 : Re.clientWidth) + "px"), /* @__PURE__ */ l.jsx("tbody", { className: `radar-table__body ${a ? a + "__body" : ""} ${P}`, style: H, children: /* @__PURE__ */ l.jsx(
2381
2382
  "tr",
2382
2383
  {
2383
2384
  className: `radar-table__body-row ${a ? a + "__body-row" : ""} ${re}`,
2384
- style: Y,
2385
+ style: J,
2385
2386
  children: /* @__PURE__ */ l.jsxs(
2386
2387
  "td",
2387
2388
  {
2388
2389
  className: `radar-table__body-cell ${a ? a + "__body-cell" : ""} ${g}`,
2389
2390
  colSpan: $.length,
2390
2391
  style: {
2391
- ...ee
2392
+ ...Q
2392
2393
  },
2393
2394
  children: [
2394
2395
  ae && ae(),
@@ -2399,7 +2400,7 @@ function yr({
2399
2400
  }
2400
2401
  ) });
2401
2402
  }
2402
- const Q = f ? I : i.map((d) => ({
2403
+ const ee = f ? I : i.map((d) => ({
2403
2404
  record: d,
2404
2405
  key: n ? n(d) : JSON.stringify(d),
2405
2406
  type: "parent",
@@ -2408,11 +2409,11 @@ function yr({
2408
2409
  groupSize: i.length
2409
2410
  })), fe = ue((d) => {
2410
2411
  const T = new Set(F);
2411
- T.has(d) ? T.delete(d) : T.add(d), H(Array.from(T));
2412
- }, [F, H]);
2413
- function ie({ column: d, index: T, row: U, item: x }) {
2412
+ T.has(d) ? T.delete(d) : T.add(d), U(Array.from(T));
2413
+ }, [F, U]);
2414
+ function ie({ column: d, index: T, row: Y, item: x }) {
2414
2415
  var He, Ue;
2415
- const J = Ee(null), [ge, de] = we(0), ke = d.fixed && !d.width ? 200 : d.width, be = d.fixed && !d.minWidth ? 200 : d.minWidth;
2416
+ const Z = Ee(null), [ge, de] = we(0), ke = d.fixed && !d.width ? 200 : d.width, be = d.fixed && !d.minWidth ? 200 : d.minWidth;
2416
2417
  let Ce = !1;
2417
2418
  c && c.idx.includes(d.dataIndex) && (Ce = !0), c && c.idx.length === 0 && (Ce = !0), Xe(() => {
2418
2419
  if (!d.fixed) {
@@ -2429,11 +2430,11 @@ function yr({
2429
2430
  }
2430
2431
  de(Pe);
2431
2432
  }, [d.fixed, d.fixedLeft, d.width, T]);
2432
- const Oe = le(d), Fe = T === 0, Le = f && Fe && U.depth > 0 ? U.depth * (q || 16) : void 0, ze = !!(f && (x != null && x.children) && x.children.length > 0), Me = !!(f && F.has(U.key));
2433
+ const Oe = le(d), Fe = T === 0, Le = f && Fe && Y.depth > 0 ? Y.depth * (V || 16) : void 0, ze = !!(f && (x != null && x.children) && x.children.length > 0), Me = !!(f && F.has(Y.key));
2433
2434
  return d.hidden ? null : /* @__PURE__ */ l.jsx(
2434
2435
  "td",
2435
2436
  {
2436
- ref: J,
2437
+ ref: Z,
2437
2438
  "data-column-key": d.key,
2438
2439
  className: `radar-table__body-cell ${a ? a + "__body-cell" : ""} ${g}`,
2439
2440
  style: {
@@ -2443,17 +2444,17 @@ function yr({
2443
2444
  left: ge,
2444
2445
  borderRight: d.fixed && !((He = $[T + 1]) != null && He.fixed) ? "1px solid #E8E8E8" : "none",
2445
2446
  cursor: Fe && ze ? "pointer" : "default",
2446
- ...ee
2447
+ ...Q
2447
2448
  },
2448
- onClick: Fe && ze ? () => fe(U.key) : void 0,
2449
+ onClick: Fe && ze ? () => fe(Y.key) : void 0,
2449
2450
  children: /* @__PURE__ */ l.jsxs(
2450
2451
  "div",
2451
2452
  {
2452
- className: `radar-table__body-cell-wrapper ${a ? a + "__body-cell-wrapper" : ""} ${S}`,
2453
+ className: `radar-table__body-cell-wrapper ${a ? a + "__body-cell-wrapper" : ""} ${E}`,
2453
2454
  style: {
2454
2455
  backgroundColor: Oe || "white",
2455
2456
  paddingLeft: Le,
2456
- ...W
2457
+ ...N
2457
2458
  },
2458
2459
  children: [
2459
2460
  Fe && ze && f && /* @__PURE__ */ l.jsx(
@@ -2462,10 +2463,10 @@ function yr({
2462
2463
  type: "button",
2463
2464
  className: `radar-table__expander-btn ${Me ? "expanded" : ""}`,
2464
2465
  "aria-expanded": Me,
2465
- onClick: () => fe(U.key),
2466
+ onClick: () => fe(Y.key),
2466
2467
  style: { marginRight: 8, background: "transparent", border: "none", transform: Me ? "rotate(180deg)" : "rotate(0deg)", transition: "transform 150ms ease" },
2467
2468
  title: Me ? "Свернуть" : "Развернуть",
2468
- children: P ? P(Me, x, U.depth) : /* @__PURE__ */ l.jsx("svg", { width: "12", height: "8", viewBox: "0 0 12 8", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ l.jsx("path", { d: "M4.99264 6.91705C5.28553 7.20994 5.76041 7.20994 6.0533 6.91705L10.8263 2.14408C11.1192 1.85118 11.1192 1.37631 10.8263 1.08342C10.5334 0.790524 10.0585 0.790524 9.76561 1.08342L6.27297 4.57606L5.5 5.34903L4.77297 4.57606L1.28033 1.08342C0.987437 0.790524 0.512563 0.790524 0.21967 1.08342C-0.0732234 1.37631 -0.0732234 1.85118 0.21967 2.14408L4.99264 6.91705Z", fill: "#8C8C8C" }) })
2469
+ children: W ? W(Me, x, Y.depth) : /* @__PURE__ */ l.jsx("svg", { width: "12", height: "8", viewBox: "0 0 12 8", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ l.jsx("path", { d: "M4.99264 6.91705C5.28553 7.20994 5.76041 7.20994 6.0533 6.91705L10.8263 2.14408C11.1192 1.85118 11.1192 1.37631 10.8263 1.08342C10.5334 0.790524 10.0585 0.790524 9.76561 1.08342L6.27297 4.57606L5.5 5.34903L4.77297 4.57606L1.28033 1.08342C0.987437 0.790524 0.512563 0.790524 0.21967 1.08342C-0.0732234 1.37631 -0.0732234 1.85118 0.21967 2.14408L4.99264 6.91705Z", fill: "#8C8C8C" }) })
2469
2470
  }
2470
2471
  ),
2471
2472
  Ce ? c == null ? void 0 : c.renderer(x[d.dataIndex], x, T, d.dataIndex) : /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
@@ -2480,29 +2481,29 @@ function yr({
2480
2481
  );
2481
2482
  }
2482
2483
  if (!(y != null && y.enabled))
2483
- return /* @__PURE__ */ l.jsx("tbody", { className: `radar-table__body ${a ? a + "__body" : ""} ${N}`, style: Z, children: Q.map((d) => {
2484
- const T = d.record, U = d.key;
2484
+ return /* @__PURE__ */ l.jsx("tbody", { className: `radar-table__body ${a ? a + "__body" : ""} ${P}`, style: H, children: ee.map((d) => {
2485
+ const T = d.record, Y = d.key;
2485
2486
  return /* @__PURE__ */ l.jsx(
2486
2487
  "tr",
2487
2488
  {
2488
- className: `radar-table__body-row ${a ? a + "__body-row" : ""} ${re} ${b === U ? "dragging" : ""} ${j === U ? "drag-over" : ""} ${f ? d.type === "parent" ? "radar-table__body-row--parent" : "radar-table__body-row--child" : ""}`,
2489
- style: Y,
2489
+ className: `radar-table__body-row ${a ? a + "__body-row" : ""} ${re} ${b === Y ? "dragging" : ""} ${j === Y ? "drag-over" : ""} ${f ? d.type === "parent" ? "radar-table__body-row--parent" : "radar-table__body-row--child" : ""}`,
2490
+ style: J,
2490
2491
  draggable: t,
2491
- onDragStart: (x) => A(x, U),
2492
+ onDragStart: (x) => A(x, Y),
2492
2493
  onDragOver: O,
2493
- onDragEnter: (x) => k(x, U),
2494
+ onDragEnter: (x) => S(x, Y),
2494
2495
  onDragLeave: C,
2495
- onDrop: (x) => D(x, U),
2496
+ onDrop: (x) => D(x, Y),
2496
2497
  onDragEnd: X,
2497
- children: $.map((x, J) => /* @__PURE__ */ l.jsx(ie, { column: x, index: J, row: d, item: T }, x.key))
2498
+ children: $.map((x, Z) => /* @__PURE__ */ l.jsx(ie, { column: x, index: Z, row: d, item: T }, x.key))
2498
2499
  },
2499
- U
2500
+ Y
2500
2501
  );
2501
2502
  }) });
2502
- const K = y.estimateSize ?? 48, ne = y.overscan ?? 12, L = hr({
2503
- count: Q.length,
2503
+ const q = y.estimateSize ?? 48, ne = y.overscan ?? 12, L = hr({
2504
+ count: ee.length,
2504
2505
  getScrollElement: () => p == null ? void 0 : p.current,
2505
- estimateSize: () => K,
2506
+ estimateSize: () => q,
2506
2507
  overscan: ne,
2507
2508
  measureElement: (d) => d.getBoundingClientRect().height
2508
2509
  });
@@ -2521,31 +2522,31 @@ function yr({
2521
2522
  L.measure();
2522
2523
  }, 0);
2523
2524
  return () => clearTimeout(d);
2524
- }, [Q.length, y == null ? void 0 : y.enabled]);
2525
+ }, [ee.length, y == null ? void 0 : y.enabled]);
2525
2526
  const ce = L.getVirtualItems(), ye = L.getTotalSize(), pe = ce.length ? ce[0].start : 0, ve = ce.length ? ye - ce[ce.length - 1].end : 0;
2526
- return /* @__PURE__ */ l.jsxs("tbody", { className: `radar-table__body ${a ? a + "__body" : ""} ${N}`, style: Z, children: [
2527
+ return /* @__PURE__ */ l.jsxs("tbody", { className: `radar-table__body ${a ? a + "__body" : ""} ${P}`, style: H, children: [
2527
2528
  pe > 0 && /* @__PURE__ */ l.jsx("tr", { style: { height: pe }, children: /* @__PURE__ */ l.jsx("td", { colSpan: $.length }) }),
2528
2529
  ce.map((d) => {
2529
- const T = Q[d.index];
2530
+ const T = ee[d.index];
2530
2531
  if (!T) return null;
2531
- const U = T.record, x = T.key;
2532
+ const Y = T.record, x = T.key;
2532
2533
  return /* @__PURE__ */ l.jsx(
2533
2534
  "tr",
2534
2535
  {
2535
2536
  "data-index": d.index,
2536
- ref: (J) => {
2537
- J && L.measureElement(J);
2537
+ ref: (Z) => {
2538
+ Z && L.measureElement(Z);
2538
2539
  },
2539
2540
  className: `radar-table__body-row ${a ? a + "__body-row" : ""} ${re} ${b === x ? "dragging" : ""} ${j === x ? "drag-over" : ""} ${f ? T.type === "parent" ? "radar-table__body-row--parent" : "radar-table__body-row--child" : ""}`,
2540
- style: Y,
2541
+ style: J,
2541
2542
  draggable: t,
2542
- onDragStart: (J) => A(J, x),
2543
+ onDragStart: (Z) => A(Z, x),
2543
2544
  onDragOver: O,
2544
- onDragEnter: (J) => k(J, x),
2545
+ onDragEnter: (Z) => S(Z, x),
2545
2546
  onDragLeave: C,
2546
- onDrop: (J) => D(J, x),
2547
+ onDrop: (Z) => D(Z, x),
2547
2548
  onDragEnd: X,
2548
- children: $.map((J, ge) => /* @__PURE__ */ l.jsx(ie, { column: J, index: ge, row: T, item: U }, J.key))
2549
+ children: $.map((Z, ge) => /* @__PURE__ */ l.jsx(ie, { column: Z, index: ge, row: T, item: Y }, Z.key))
2549
2550
  },
2550
2551
  x
2551
2552
  );
@@ -2558,25 +2559,25 @@ const pt = ({ config: t }) => {
2558
2559
  Ie(() => {
2559
2560
  f(t);
2560
2561
  }, [t]);
2561
- const w = Math.ceil(i / a), h = (w - 1) * a + 1, E = w * a, q = (g) => {
2562
- const ee = ["Backspace", "Delete", "ArrowLeft", "ArrowRight", "Tab", "Enter"];
2563
- !/^[0-9]$/.test(g.key) && !ee.includes(g.key) && g.preventDefault();
2564
- }, P = (g) => {
2562
+ const _ = Math.ceil(i / a), h = (_ - 1) * a + 1, k = _ * a, V = (g) => {
2563
+ const Q = ["Backspace", "Delete", "ArrowLeft", "ArrowRight", "Tab", "Enter"];
2564
+ !/^[0-9]$/.test(g.key) && !Q.includes(g.key) && g.preventDefault();
2565
+ }, W = (g) => {
2565
2566
  if (g.key === "Enter") {
2566
- const ee = parseInt(g.currentTarget.value);
2567
- ee > 0 && ee <= n && (f({ ...t, current: ee }), s == null || s(ee, r), g.currentTarget.value = "");
2567
+ const Q = parseInt(g.currentTarget.value);
2568
+ Q > 0 && Q <= n && (f({ ...t, current: Q }), s == null || s(Q, r), g.currentTarget.value = "");
2568
2569
  }
2569
- }, N = (g) => {
2570
- const S = g.target.value.replace(/[^0-9]/g, "");
2571
- g.target.value = S;
2572
- }, Z = (g) => {
2570
+ }, P = (g) => {
2571
+ const E = g.target.value.replace(/[^0-9]/g, "");
2572
+ g.target.value = E;
2573
+ }, H = (g) => {
2573
2574
  g.preventDefault();
2574
- const S = g.clipboardData.getData("text").replace(/[^0-9]/g, ""), W = g.target, ae = W.selectionStart || 0, p = W.selectionEnd || 0, _ = W.value.substring(0, ae) + S + W.value.substring(p);
2575
- W.value = _, W.setSelectionRange(ae + S.length, ae + S.length);
2575
+ const E = g.clipboardData.getData("text").replace(/[^0-9]/g, ""), N = g.target, ae = N.selectionStart || 0, p = N.selectionEnd || 0, w = N.value.substring(0, ae) + E + N.value.substring(p);
2576
+ N.value = w, N.setSelectionRange(ae + E.length, ae + E.length);
2576
2577
  }, re = (g) => {
2577
- const ee = g.currentTarget.id;
2578
- ee === "pagination_left_button" && i > 1 && (f({ ...t, current: i - 1 }), s == null || s(i - 1, r)), ee === "pagination_right_button" && i < n && (f({ ...t, current: i + 1 }), s == null || s(i + 1, r));
2579
- }, Y = (g) => {
2578
+ const Q = g.currentTarget.id;
2579
+ Q === "pagination_left_button" && i > 1 && (f({ ...t, current: i - 1 }), s == null || s(i - 1, r)), Q === "pagination_right_button" && i < n && (f({ ...t, current: i + 1 }), s == null || s(i + 1, r));
2580
+ }, J = (g) => {
2580
2581
  f({ ...t, current: g }), s == null || s(g, r);
2581
2582
  };
2582
2583
  return c && n <= 1 ? null : /* @__PURE__ */ l.jsxs("div", { className: "radar-table__pagination", children: [
@@ -2589,10 +2590,10 @@ const pt = ({ config: t }) => {
2589
2590
  },
2590
2591
  children: [
2591
2592
  /* @__PURE__ */ l.jsx("button", { className: "radar-table__pagination-button radar-table__pagination-button_control", id: "pagination_left_button", onClick: re, title: "Назад", children: /* @__PURE__ */ l.jsx("svg", { width: "6", height: "10", viewBox: "0 0 6 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ l.jsx("path", { d: "M5 0.544067L1 4.54407L5 8.54407", stroke: "#8C8C8C", strokeLinecap: "round" }) }) }),
2592
- Array.from({ length: n }, (g, ee) => ee + 1).map((g) => {
2593
- const ee = i === g;
2594
- if (g >= h && g <= E)
2595
- return ee ? /* @__PURE__ */ l.jsx("button", { className: "radar-table__pagination-button radar-table__pagination-button_active", children: g }, g) : /* @__PURE__ */ l.jsx("button", { className: "radar-table__pagination-button", onClick: () => Y(g), children: g }, g);
2593
+ Array.from({ length: n }, (g, Q) => Q + 1).map((g) => {
2594
+ const Q = i === g;
2595
+ if (g >= h && g <= k)
2596
+ return Q ? /* @__PURE__ */ l.jsx("button", { className: "radar-table__pagination-button radar-table__pagination-button_active", children: g }, g) : /* @__PURE__ */ l.jsx("button", { className: "radar-table__pagination-button", onClick: () => J(g), children: g }, g);
2596
2597
  }),
2597
2598
  /* @__PURE__ */ l.jsx("button", { className: "radar-table__pagination-button radar-table__pagination-button_control", id: "pagination_right_button", onClick: re, title: "Вперёд", children: /* @__PURE__ */ l.jsx("svg", { width: "6", height: "10", viewBox: "0 0 6 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ l.jsx("path", { d: "M1 8.54407L5 4.54407L1 0.544067", stroke: "#8C8C8C", strokeLinecap: "round" }) }) })
2598
2599
  ]
@@ -2604,10 +2605,10 @@ const pt = ({ config: t }) => {
2604
2605
  "input",
2605
2606
  {
2606
2607
  className: "radar-table__pagination-input",
2607
- onKeyDown: q,
2608
- onChange: N,
2609
- onPaste: Z,
2610
- onKeyUp: (g) => P(g)
2608
+ onKeyDown: V,
2609
+ onChange: P,
2610
+ onPaste: H,
2611
+ onKeyUp: (g) => W(g)
2611
2612
  }
2612
2613
  ),
2613
2614
  " стр. из ",
@@ -2627,29 +2628,29 @@ function vr(t = !1) {
2627
2628
  totalDuration: 0
2628
2629
  }), n = Ee([]), s = Ee([]), o = Ee(0), a = Ee(!1), c = ue(() => {
2629
2630
  t && (o.current = performance.now(), n.current = [], s.current = [], a.current = !0);
2630
- }, [t]), f = ue((E) => {
2631
- !t || !a.current || n.current.push(E);
2632
- }, [t]), w = ue(() => {
2631
+ }, [t]), f = ue((k) => {
2632
+ !t || !a.current || n.current.push(k);
2633
+ }, [t]), _ = ue(() => {
2633
2634
  if (!t || !a.current) return;
2634
2635
  a.current = !1;
2635
- const E = n.current, q = performance.now() - o.current, P = [];
2636
- let N = 0, Z = 0;
2637
- if (E.length > 1) {
2638
- for (let S = 1; S < E.length; S++) {
2639
- const W = E[S] - E[S - 1];
2640
- P.push(W);
2641
- }
2642
- N = P[P.length - 1], Z = 1e3 / N;
2643
- const re = P.reduce((S, W) => S + W, 0) / P.length, Y = 1e3 / re, g = Math.min(...P), ee = Math.max(...P);
2636
+ const k = n.current, V = performance.now() - o.current, W = [];
2637
+ let P = 0, H = 0;
2638
+ if (k.length > 1) {
2639
+ for (let E = 1; E < k.length; E++) {
2640
+ const N = k[E] - k[E - 1];
2641
+ W.push(N);
2642
+ }
2643
+ P = W[W.length - 1], H = 1e3 / P;
2644
+ const re = W.reduce((E, N) => E + N, 0) / W.length, J = 1e3 / re, g = Math.min(...W), Q = Math.max(...W);
2644
2645
  r({
2645
- totalFrames: E.length,
2646
+ totalFrames: k.length,
2646
2647
  avgFrameTime: re,
2647
2648
  minFrameTime: g,
2648
- maxFrameTime: ee,
2649
- avgFps: Y,
2650
- lastFrameTime: N,
2651
- lastFps: Z,
2652
- totalDuration: q
2649
+ maxFrameTime: Q,
2650
+ avgFps: J,
2651
+ lastFrameTime: P,
2652
+ lastFps: H,
2653
+ totalDuration: V
2653
2654
  });
2654
2655
  }
2655
2656
  }, [t]), h = ue(() => {
@@ -2668,7 +2669,7 @@ function vr(t = !1) {
2668
2669
  metrics: i,
2669
2670
  startResize: c,
2670
2671
  trackFrame: f,
2671
- endResize: w,
2672
+ endResize: _,
2672
2673
  reset: h
2673
2674
  };
2674
2675
  }
@@ -2682,24 +2683,24 @@ function Sr({
2682
2683
  stickyHeader: a = !1,
2683
2684
  resizeable: c = !1,
2684
2685
  draggableRows: f = !1,
2685
- draggableColumns: w = !1,
2686
+ draggableColumns: _ = !1,
2686
2687
  scrollContainerRef: h,
2687
- onResize: E,
2688
- onSort: q,
2689
- onRowReorder: P,
2690
- onColumnReorder: N,
2691
- customCellRender: Z,
2688
+ onResize: k,
2689
+ onSort: V,
2690
+ onRowReorder: W,
2691
+ onColumnReorder: P,
2692
+ customCellRender: H,
2692
2693
  noDataRender: re,
2693
- sortIcon: Y,
2694
+ sortIcon: J,
2694
2695
  expandIcon: g,
2695
- recalculateRowHeight: ee = !1,
2696
+ recalculateRowHeight: Q = !1,
2696
2697
  // sorting props
2697
- sorting: S,
2698
- defaultSorting: W,
2698
+ sorting: E,
2699
+ defaultSorting: N,
2699
2700
  // tree props
2700
2701
  treeMode: ae,
2701
2702
  expandedRowKeys: p,
2702
- defaultExpandedRowKeys: _,
2703
+ defaultExpandedRowKeys: w,
2703
2704
  onExpandedRowsChange: y,
2704
2705
  indentSize: b,
2705
2706
  className: m = "",
@@ -2708,23 +2709,23 @@ function Sr({
2708
2709
  headerStyle: M,
2709
2710
  headerCellClassName: G = "",
2710
2711
  headerCellStyle: F,
2711
- headerRowClassName: H = "",
2712
+ headerRowClassName: U = "",
2712
2713
  headerRowStyle: te,
2713
2714
  headerCellWrapperClassName: I = "",
2714
2715
  headerCellWrapperStyle: z,
2715
- bodyClassName: V = "",
2716
+ bodyClassName: K = "",
2716
2717
  bodyStyle: $,
2717
2718
  bodyRowClassName: le = "",
2718
2719
  bodyRowStyle: A,
2719
2720
  bodyCellClassName: O = "",
2720
- bodyCellStyle: k,
2721
+ bodyCellStyle: S,
2721
2722
  bodyCellWrapperClassName: C = "",
2722
2723
  bodyCellWrapperStyle: X,
2723
2724
  headerGroupRowClassName: D,
2724
- headerGroupRowStyle: Q,
2725
+ headerGroupRowStyle: ee,
2725
2726
  headerGroupCellClassName: fe,
2726
2727
  headerGroupCellStyle: ie,
2727
- headerGroupCellWrapperClassName: K,
2728
+ headerGroupCellWrapperClassName: q,
2728
2729
  headerGroupCellWrapperStyle: ne,
2729
2730
  paginationContainerClassName: L = "",
2730
2731
  paginationContainerStyle: ce,
@@ -2732,15 +2733,15 @@ function Sr({
2732
2733
  virtualization: pe,
2733
2734
  benchmark: ve
2734
2735
  }) {
2735
- const Re = typeof ve == "boolean" ? ve : !1, { metrics: d, startResize: T, trackFrame: U, endResize: x } = vr(Re);
2736
+ const Re = typeof ve == "boolean" ? ve : !1, { metrics: d, startResize: T, trackFrame: Y, endResize: x } = vr(Re);
2736
2737
  return Ie(() => {
2737
2738
  Re && d.totalFrames > 0 && (console.group("📊 Resize Benchmark (Mouse Move)"), console.log("Total Frames:", d.totalFrames), console.log("Last Frame Time:", `${d.lastFrameTime.toFixed(2)}ms`), console.log("Last FPS:", d.lastFps.toFixed(1)), console.log("Avg Frame Time:", `${d.avgFrameTime.toFixed(2)}ms`), console.log("Avg FPS:", d.avgFps.toFixed(1)), console.log("Min Frame Time:", `${d.minFrameTime.toFixed(2)}ms`), console.log("Max Frame Time:", `${d.maxFrameTime.toFixed(2)}ms`), console.log("Total Duration:", `${d.totalDuration.toFixed(2)}ms`), console.groupEnd());
2738
- }, [d, Re]), w ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
2739
+ }, [d, Re]), _ ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
2739
2740
  /* @__PURE__ */ l.jsx(
2740
2741
  Zt,
2741
2742
  {
2742
2743
  fullConfig: r,
2743
- onColumnReorder: N,
2744
+ onColumnReorder: P,
2744
2745
  scrollContainerRef: h,
2745
2746
  children: /* @__PURE__ */ l.jsx(
2746
2747
  mt,
@@ -2754,18 +2755,18 @@ function Sr({
2754
2755
  stickyHeader: a,
2755
2756
  resizeable: c,
2756
2757
  draggableRows: f,
2757
- draggableColumns: w,
2758
+ draggableColumns: _,
2758
2759
  scrollContainerRef: h,
2759
- onResize: E,
2760
- onSort: q,
2761
- onRowReorder: P,
2762
- onColumnReorder: N,
2763
- customCellRender: Z,
2764
- sortIcon: Y,
2760
+ onResize: k,
2761
+ onSort: V,
2762
+ onRowReorder: W,
2763
+ onColumnReorder: P,
2764
+ customCellRender: H,
2765
+ sortIcon: J,
2765
2766
  expandIcon: g,
2766
2767
  treeMode: ae,
2767
2768
  expandedRowKeys: p,
2768
- defaultExpandedRowKeys: _,
2769
+ defaultExpandedRowKeys: w,
2769
2770
  onExpandedRowsChange: y,
2770
2771
  indentSize: b,
2771
2772
  className: m,
@@ -2774,34 +2775,34 @@ function Sr({
2774
2775
  headerStyle: M,
2775
2776
  headerCellClassName: G,
2776
2777
  headerCellStyle: F,
2777
- headerRowClassName: H,
2778
+ headerRowClassName: U,
2778
2779
  headerRowStyle: te,
2779
2780
  headerCellWrapperClassName: I,
2780
2781
  headerCellWrapperStyle: z,
2781
- bodyClassName: V,
2782
+ bodyClassName: K,
2782
2783
  bodyStyle: $,
2783
2784
  bodyRowClassName: le,
2784
2785
  bodyRowStyle: A,
2785
2786
  bodyCellClassName: O,
2786
- bodyCellStyle: k,
2787
+ bodyCellStyle: S,
2787
2788
  bodyCellWrapperClassName: C,
2788
2789
  bodyCellWrapperStyle: X,
2789
2790
  headerGroupRowClassName: D,
2790
- headerGroupRowStyle: Q,
2791
+ headerGroupRowStyle: ee,
2791
2792
  headerGroupCellClassName: fe,
2792
2793
  headerGroupCellStyle: ie,
2793
- headerGroupCellWrapperClassName: K,
2794
+ headerGroupCellWrapperClassName: q,
2794
2795
  headerGroupCellWrapperStyle: ne,
2795
2796
  paginationContainerClassName: L,
2796
2797
  paginationContainerStyle: ce,
2797
2798
  noDataRender: re,
2798
- recalculateRowHeight: ee,
2799
- sorting: S,
2800
- defaultSorting: W,
2799
+ recalculateRowHeight: Q,
2800
+ sorting: E,
2801
+ defaultSorting: N,
2801
2802
  resizeThrottle: ye,
2802
2803
  virtualization: pe,
2803
2804
  onResizeStart: T,
2804
- onResizeFrame: U,
2805
+ onResizeFrame: Y,
2805
2806
  onResizeEnd: x
2806
2807
  }
2807
2808
  )
@@ -2821,18 +2822,18 @@ function Sr({
2821
2822
  stickyHeader: a,
2822
2823
  resizeable: c,
2823
2824
  draggableRows: f,
2824
- draggableColumns: w,
2825
+ draggableColumns: _,
2825
2826
  scrollContainerRef: h,
2826
- onResize: E,
2827
- onSort: q,
2828
- onRowReorder: P,
2829
- onColumnReorder: N,
2830
- customCellRender: Z,
2831
- sortIcon: Y,
2827
+ onResize: k,
2828
+ onSort: V,
2829
+ onRowReorder: W,
2830
+ onColumnReorder: P,
2831
+ customCellRender: H,
2832
+ sortIcon: J,
2832
2833
  expandIcon: g,
2833
2834
  treeMode: ae,
2834
2835
  expandedRowKeys: p,
2835
- defaultExpandedRowKeys: _,
2836
+ defaultExpandedRowKeys: w,
2836
2837
  onExpandedRowsChange: y,
2837
2838
  indentSize: b,
2838
2839
  className: m,
@@ -2841,34 +2842,34 @@ function Sr({
2841
2842
  headerStyle: M,
2842
2843
  headerCellClassName: G,
2843
2844
  headerCellStyle: F,
2844
- headerRowClassName: H,
2845
+ headerRowClassName: U,
2845
2846
  headerRowStyle: te,
2846
2847
  headerCellWrapperClassName: I,
2847
2848
  headerCellWrapperStyle: z,
2848
- bodyClassName: V,
2849
+ bodyClassName: K,
2849
2850
  bodyStyle: $,
2850
2851
  bodyRowClassName: le,
2851
2852
  bodyRowStyle: A,
2852
2853
  bodyCellClassName: O,
2853
- bodyCellStyle: k,
2854
+ bodyCellStyle: S,
2854
2855
  bodyCellWrapperClassName: C,
2855
2856
  bodyCellWrapperStyle: X,
2856
2857
  headerGroupRowClassName: D,
2857
- headerGroupRowStyle: Q,
2858
+ headerGroupRowStyle: ee,
2858
2859
  headerGroupCellClassName: fe,
2859
2860
  headerGroupCellStyle: ie,
2860
- headerGroupCellWrapperClassName: K,
2861
+ headerGroupCellWrapperClassName: q,
2861
2862
  headerGroupCellWrapperStyle: ne,
2862
2863
  paginationContainerClassName: L,
2863
2864
  paginationContainerStyle: ce,
2864
2865
  noDataRender: re,
2865
- recalculateRowHeight: ee,
2866
- sorting: S,
2867
- defaultSorting: W,
2866
+ recalculateRowHeight: Q,
2867
+ sorting: E,
2868
+ defaultSorting: N,
2868
2869
  resizeThrottle: ye,
2869
2870
  virtualization: pe,
2870
2871
  onResizeStart: T,
2871
- onResizeFrame: U,
2872
+ onResizeFrame: Y,
2872
2873
  onResizeEnd: x
2873
2874
  }
2874
2875
  ),
@@ -2885,22 +2886,22 @@ function mt(t) {
2885
2886
  stickyHeader: a,
2886
2887
  resizeable: c,
2887
2888
  draggableRows: f,
2888
- draggableColumns: w,
2889
+ draggableColumns: _,
2889
2890
  scrollContainerRef: h,
2890
- onResize: E,
2891
- onResizeStart: q,
2892
- onResizeFrame: P,
2893
- onResizeEnd: N,
2894
- onSort: Z,
2891
+ onResize: k,
2892
+ onResizeStart: V,
2893
+ onResizeFrame: W,
2894
+ onResizeEnd: P,
2895
+ onSort: H,
2895
2896
  onRowReorder: re,
2896
- onColumnReorder: Y,
2897
+ onColumnReorder: J,
2897
2898
  customCellRender: g,
2898
- sortIcon: ee,
2899
- expandIcon: S,
2900
- treeMode: W,
2899
+ sortIcon: Q,
2900
+ expandIcon: E,
2901
+ treeMode: N,
2901
2902
  expandedRowKeys: ae,
2902
2903
  defaultExpandedRowKeys: p,
2903
- onExpandedRowsChange: _,
2904
+ onExpandedRowsChange: w,
2904
2905
  indentSize: y,
2905
2906
  className: b,
2906
2907
  style: m,
@@ -2909,23 +2910,23 @@ function mt(t) {
2909
2910
  headerCellClassName: M,
2910
2911
  headerCellStyle: G,
2911
2912
  headerRowClassName: F,
2912
- headerRowStyle: H,
2913
+ headerRowStyle: U,
2913
2914
  headerCellWrapperClassName: te,
2914
2915
  headerCellWrapperStyle: I,
2915
2916
  bodyClassName: z,
2916
- bodyStyle: V,
2917
+ bodyStyle: K,
2917
2918
  bodyRowClassName: $,
2918
2919
  bodyRowStyle: le,
2919
2920
  bodyCellClassName: A,
2920
2921
  bodyCellStyle: O,
2921
- bodyCellWrapperClassName: k,
2922
+ bodyCellWrapperClassName: S,
2922
2923
  bodyCellWrapperStyle: C,
2923
2924
  headerGroupRowClassName: X,
2924
2925
  headerGroupRowStyle: D,
2925
- headerGroupCellClassName: Q,
2926
+ headerGroupCellClassName: ee,
2926
2927
  headerGroupCellStyle: fe,
2927
2928
  headerGroupCellWrapperClassName: ie,
2928
- headerGroupCellWrapperStyle: K,
2929
+ headerGroupCellWrapperStyle: q,
2929
2930
  noDataRender: ne,
2930
2931
  recalculateRowHeight: L,
2931
2932
  sorting: ce,
@@ -2945,33 +2946,33 @@ function mt(t) {
2945
2946
  /* @__PURE__ */ l.jsx(
2946
2947
  er,
2947
2948
  {
2948
- draggableColumns: w,
2949
+ draggableColumns: _,
2949
2950
  config: n,
2950
- onSort: Z,
2951
+ onSort: H,
2951
2952
  resizeable: c,
2952
- onResize: E,
2953
- onResizeStart: q,
2954
- onResizeFrame: P,
2955
- onResizeEnd: N,
2956
- sortIcon: ee,
2953
+ onResize: k,
2954
+ onResizeStart: V,
2955
+ onResizeFrame: W,
2956
+ onResizeEnd: P,
2957
+ sortIcon: Q,
2957
2958
  preset: r,
2958
2959
  headerClassName: j,
2959
2960
  headerStyle: R,
2960
2961
  headerRowClassName: F,
2961
- headerRowStyle: H,
2962
+ headerRowStyle: U,
2962
2963
  headerCellClassName: M,
2963
2964
  headerCellStyle: G,
2964
2965
  headerCellWrapperClassName: te,
2965
2966
  headerCellWrapperStyle: I,
2966
2967
  headerGroupRowClassName: X,
2967
2968
  headerGroupRowStyle: D,
2968
- headerGroupCellClassName: Q,
2969
+ headerGroupCellClassName: ee,
2969
2970
  headerGroupCellStyle: fe,
2970
2971
  headerGroupCellWrapperClassName: ie,
2971
- headerGroupCellWrapperStyle: K,
2972
+ headerGroupCellWrapperStyle: q,
2972
2973
  stickyHeader: a,
2973
2974
  scrollContainerRef: h,
2974
- onColumnReorder: Y,
2975
+ onColumnReorder: J,
2975
2976
  sorting: ce,
2976
2977
  defaultSorting: ye,
2977
2978
  resizeThrottle: pe
@@ -2988,19 +2989,19 @@ function mt(t) {
2988
2989
  loading: o,
2989
2990
  preset: r,
2990
2991
  customCellRender: g,
2991
- expandIcon: S,
2992
- treeMode: W,
2992
+ expandIcon: E,
2993
+ treeMode: N,
2993
2994
  expandedRowKeys: ae,
2994
2995
  defaultExpandedRowKeys: p,
2995
- onExpandedRowsChange: _,
2996
+ onExpandedRowsChange: w,
2996
2997
  indentSize: y,
2997
2998
  bodyClassName: z,
2998
- bodyStyle: V,
2999
+ bodyStyle: K,
2999
3000
  bodyRowClassName: $,
3000
3001
  bodyRowStyle: le,
3001
3002
  bodyCellClassName: A,
3002
3003
  bodyCellStyle: O,
3003
- bodyCellWrapperClassName: k,
3004
+ bodyCellWrapperClassName: S,
3004
3005
  bodyCellWrapperStyle: C,
3005
3006
  noDataRender: ne,
3006
3007
  scrollContainerRef: h,