radar-ui 1.1.26 → 1.1.27

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
@@ -4,10 +4,10 @@
4
4
  style.textContent = ".radar-table-container{display:flex;flex-direction:column;gap:16px;position:relative}.radar-table{width:100%;border-collapse:separate;border-spacing:0;font-family:inherit;overflow:clip;scroll-snap-type:x mandatory;scroll-behavior:smooth;table-layout:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.radar-table-default{border-radius:12px;background-color:#fff}.radar-table-pagination-container{position:sticky;bottom:-16px;left:0;background-color:#fff;padding:16px;border-top:1px solid #E8E8E8;width:100%}.radar-table *,.radar-table *:before,.radar-table *:after{box-sizing:border-box}@-moz-document url-prefix(){.radar-table{border-collapse:separate;border-spacing:0}.radar-table__body-row{box-sizing:border-box}.radar-table__body-cell{vertical-align:top;box-sizing:border-box}.radar-table__body-cell-wrapper,.radar-table__header-cell-wrapper{display:flex!important;align-items:center!important;box-sizing:border-box!important;padding:9px 12px!important;height:1px;min-height:32px;vertical-align:top}.radar-table-default__body-cell-wrapper,.radar-table-simple__body-cell-wrapper{line-height:1!important;padding:9px 12px!important;font-size:14px!important}.radar-table-default__header-cell-wrapper{padding:9px 12px!important}.radar-table-simple__header-cell-wrapper{padding:20px 10px!important}}.radar-table__header{text-align:left;z-index:1}.radar-table-default__header{background-color:#f7f6fe}.radar-table-simple__header{background-color:#fff}.radar-table__header-group-cell{scroll-snap-align:start}.radar-table-simple__header-group-cell{font-family:inherit;font-weight:700;font-size:18px;line-height:1.2;letter-spacing:0%;color:#1a1a1a;box-sizing:border-box;vertical-align:top}.radar-table__header-group-cell-wrapper{width:100%}.radar-table-simple__header-group-cell-wrapper{padding:12px 10px;display:flex;gap:8px;align-items:center;box-sizing:border-box;min-height:44px}.radar-table__header-cell{scroll-snap-align:start;box-sizing:border-box}.radar-table-default__header-cell{font-family:Manrope,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen;font-weight:500!important;font-size:14px;line-height:100%;letter-spacing:0%;color:#8c8c8c;background-color:#f7f6fe;box-sizing:border-box}.radar-table-simple__header-cell{font-weight:500!important;font-size:16px;line-height:1.2;letter-spacing:0%;color:#8c8c8c;background-color:#fff;box-sizing:border-box;vertical-align:top}.radar-table-default__header-cell:first-child{border-top-left-radius:12px;border-bottom-left-radius:12px}.radar-table-default__header-cell:last-child{border-top-right-radius:12px;border-bottom-right-radius:12px}.radar-table__header-cell-wrapper{width:100%;position:relative;box-sizing:border-box;padding-right:25px!important}.radar-table__header-cell-wrapper:hover .radar-table__resize-button{opacity:1}.radar-table__header-cell-wrapper:hover{width:100%;position:relative;box-sizing:border-box;padding-right:25px!important}.radar-table-default__header-cell-wrapper{padding:9px 12px;display:flex;gap:8px;align-items:center;box-sizing:border-box}.radar-table-simple__header-cell-wrapper{padding:20px 10px;display:flex;gap:8px;align-items:center;box-sizing:border-box;min-height:60px}.radar-table__header-cell-text-wrapper{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.radar-table__sort-button-wrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px}.radar-table__sort-button{border:none;background-color:transparent;color:inherit;cursor:pointer;font-size:inherit;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.radar-table__sort-button svg{width:1em;height:1em}.radar-table__sort-button:hover{opacity:.75}.radar-table__drag-handle{display:flex;align-items:center;justify-content:center;cursor:move;opacity:.5;transition:opacity .2s ease;padding:2px;margin-right:4px}.radar-table__drag-handle:hover{opacity:.8}.radar-table__drag-handle.dragging{opacity:1}.radar-table__header-cell.dragging{opacity:.5;transform:rotate(2deg);z-index:1000}.radar-table__header-cell.drag-over.valid-drop-zone,.radar-table__header-cell.drag-over.invalid-drop-zone{transition:all .2s ease;z-index:1000}.radar-table__drag-handle{cursor:grab;transition:transform .2s ease}.radar-table__drag-handle:hover{transform:scale(1.1)}.radar-table__drag-handle.dragging{cursor:grabbing}.radar-table__header-cell.group-header{cursor:default!important}.radar-table__header-cell.group-header{cursor:grab}.radar-table__header-cell.group-header.dragging{cursor:grabbing}.radar-table__body-row[draggable=true]{user-select:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.radar-table__body-row.dragging{opacity:.25;cursor:grabbing;border-radius:20px}.radar-table__body-row.drag-over{border-top:2px solid #5329FF!important}.radar-table__body-row[draggable=true]{cursor:grab}.radar-table__body-row[draggable=true]:active{cursor:grabbing}.radar-table__body-cell{scroll-snap-align:start;box-sizing:border-box;vertical-align:top}.radar-table-default__body-cell,.radar-table-simple__body-cell{height:1px}.radar-table__body-cell-wrapper{width:100%;height:100%;font-family:inherit;background-color:#fff;display:flex;align-items:center}.radar-table__expander-btn{width:16px;height:16px;display:inline-flex;align-items:center;justify-content:center;padding:0;line-height:16px;font-size:12px;color:#1a1a1a;cursor:pointer;transition:transform .15s ease}.radar-table__expander-btn:focus{outline:none}.radar-table-default__body-cell-wrapper{padding:7px 12px;display:flex;gap:8px;border-bottom:1px solid #E8E8E8;font-weight:500;font-size:14px;line-height:1.2;letter-spacing:0%;color:#1a1a1a;box-sizing:border-box;align-items:center}.radar-table-simple__body-cell-wrapper{padding:18px 12px;display:flex;gap:8px;border-bottom:1px solid #E8E8E8;font-weight:500;font-size:16px;line-height:1.2;letter-spacing:0%;color:#1a1a1a;box-sizing:border-box;align-items:center}.radar-table-default__body-row:last-of-type .radar-table-default__body-cell-wrapper{border-bottom:none}.radar-table-simple__body-row:last-of-type .radar-table-simple__body-cell-wrapper{border-bottom:none}.radar-table__body-noData{padding:18px 12px;display:flex;align-items:center;font-size:16px;line-height:1.2;width:100%}.radar-table__body-noData_width{padding:18px 12px;display:flex;justify-content:center;align-items:center;font-size:16px;line-height:1.2}.radar-table__body-cell-wrapper--stretch,.radar-table-default__body-cell-wrapper--stretch,.radar-table-simple__body-cell-wrapper--stretch{align-items:stretch!important}.radar-table__body-cell-wrapper .salary-cell,.radar-table-default__body-cell-wrapper .salary-cell,.radar-table-simple__body-cell-wrapper .salary-cell{width:100%;height:auto;min-height:auto}.radar-table__custom-content-wrapper{width:100%;height:auto;min-height:100%}.radar-table__footer{pointer-events:auto}.radar-table__footer.resizing{pointer-events:none}.radar-table-default__footer,.radar-table-simple__footer{background-color:#fff}.radar-table-default__footer-cell,.radar-table-simple__footer-cell{border-top:1px solid #E8E8E8}.radar-table__footer-cell-wrapper{width:100%;font-family:inherit}.radar-table-default__footer-cell-wrapper,.radar-table-simple__footer-cell-wrapper{padding:12px 0;display:flex;gap:8px}.radar-table__resize-button{opacity:0;position:absolute;right:0;top:50%;transform:translateY(-50%);height:32px;width:20px;padding-right:6px;background-color:transparent;cursor:col-resize;border:none;display:flex;justify-content:flex-end;align-items:center;transition:all .2s cubic-bezier(.4,0,.2,1)}.radar-table__resize-button:hover{cursor:col-resize!important}.radar-table__resize-button div{background-color:#8c8c8c;width:2px;height:50%;opacity:1;transition:all .3s cubic-bezier(.4,0,.2,1);border-radius:1px}.radar-table__resize-button:hover div{opacity:.5}.radar-table__resize-button:active div{background-color:#5329ff80;opacity:0}.radar-table__resize-line{position:fixed;width:2px;background-color:#5329ff80;z-index:9999;pointer-events:none;opacity:.5}.radar-table__pagination{display:flex;align-items:center;gap:24px}.radar-table__pagination-main{display:grid;grid-template-rows:32px;gap:4px}.radar-table__pagination-button{width:100%;height:100%;max-width:32px;max-height:32px;border-radius:8px;border:none;cursor:pointer;background-color:#f7f7f7;font-family:inherit;font-weight:500;font-size:14px;line-height:100%;letter-spacing:0%;color:#8c8c8c;opacity:1;transition:all .2s ease;display:flex;align-items:center;justify-content:center;border:1px solid #F7F7F7}.radar-table__pagination-button_active{color:#5329ff;background-color:#eeeaff;border:1px solid #5329FF}.radar-table__pagination-button_control{background-color:transparent;border:none}.radar-table__pagination-button_control:hover{background-color:#f7f7f7}.radar-table__pagination-button:hover{opacity:.75}.radar-table__pagination-quick-jumper{display:flex;align-items:center;gap:8px;font-family:inherit;font-weight:500;font-style:Medium;font-size:14px;line-height:100%;letter-spacing:0%;color:#1a1a1a}.radar-table__pagination-input{width:32px;height:32px;border-radius:8px;border:1px solid #F7F7F7;background-color:#f7f7f7;font-family:inherit;font-weight:500;font-size:14px;line-height:100%;letter-spacing:0%;color:#5329ff;background-color:#eeeaff;text-align:center;outline:none;border:none}.radar-table__tooltip-button{border:none;display:flex;align-items:center;justify-content:center;background-color:transparent;color:inherit;cursor:pointer;font-size:inherit;position:relative}.radar-table__tooltip-button:hover{color:#5329ff}.radar-table__tooltip-text{position:absolute;top:calc(100% + 10px);left:0;background-color:#fff;padding:8px;width:250px;transform:scale(0);opacity:0;transition:all .2s ease;transform-origin:top left;border-radius:8px;box-shadow:0 0 20px #00000014;white-space:pre-line;text-align:left;font-family:inherit;font-weight:500;font-size:14px;line-height:100%;letter-spacing:0%;color:#1a1a1a;z-index:1000}.radar-table__tooltip-text_visible{transform:scale(1);opacity:1}.radar-table__tooltip-text--right{left:auto!important;right:0!important;transform-origin:top right!important}.radar-table__tooltip-text--right.radar-table__tooltip-text_visible{transform:scale(1)!important}.radar-table__drag-handle{height:20px;cursor:grab;border-radius:4px;border:none}.radar-title{font-family:Manrope,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen;color:#1a1a1a;margin:0;padding:0}.radar-title_h1{font-size:22px;font-weight:600;line-height:100%;letter-spacing:0%}.radar-title_h2{font-size:18px;font-weight:600;line-height:100%;letter-spacing:0%}.radar-text{font-family:Manrope,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen;color:#1a1a1a;margin:0;padding:0}.radar-text_m{font-size:14px}.radar-text_s{font-size:12px}.radar-text_medium{font-weight:500}.radar-text_semibold{font-weight:600}.radar-text_bold{font-weight:700}\n";
5
5
  document.head.appendChild(style);
6
6
  })();
7
- import Ne, { useState as ge, useRef as we, useCallback as ne, useEffect as Ie, createContext as Et, useContext as kt, useMemo as Ae, useLayoutEffect as lt } from "react";
8
- import { useSensors as jt, useSensor as et, PointerSensor as wt, KeyboardSensor as St, pointerWithin as Rt, rectIntersection as Tt, DndContext as Dt, DragOverlay as Ot, useDraggable as Pt, useDroppable as Lt } from "@dnd-kit/core";
9
- import { sortableKeyboardCoordinates as $t } from "@dnd-kit/sortable";
10
- var Ye = { exports: {} }, Le = {};
7
+ import Oe, { useState as ge, useRef as je, useCallback as ne, startTransition as Et, useEffect as Pe, createContext as kt, useContext as wt, useMemo as Ae, useLayoutEffect as lt } from "react";
8
+ import { useSensors as jt, useSensor as et, PointerSensor as St, KeyboardSensor as Rt, pointerWithin as Tt, rectIntersection as Dt, DndContext as Ot, DragOverlay as Lt, useDraggable as $t, useDroppable as It } from "@dnd-kit/core";
9
+ import { sortableKeyboardCoordinates as Nt } from "@dnd-kit/sortable";
10
+ var Ye = { exports: {} }, Ie = {};
11
11
  /**
12
12
  * @license React
13
13
  * react-jsx-runtime.production.min.js
@@ -18,20 +18,20 @@ var Ye = { exports: {} }, Le = {};
18
18
  * LICENSE file in the root directory of this source tree.
19
19
  */
20
20
  var tt;
21
- function Nt() {
22
- if (tt) return Le;
21
+ function Pt() {
22
+ if (tt) return Ie;
23
23
  tt = 1;
24
- var t = Ne, r = Symbol.for("react.element"), o = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, E = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, y = { key: !0, ref: !0, __self: !0, __source: !0 };
25
- function w(D, _, M) {
26
- var k, P = {}, K = null, G = null;
27
- M !== void 0 && (K = "" + M), _.key !== void 0 && (K = "" + _.key), _.ref !== void 0 && (G = _.ref);
28
- for (k in _) l.call(_, k) && !y.hasOwnProperty(k) && (P[k] = _[k]);
29
- if (D && D.defaultProps) for (k in _ = D.defaultProps, _) P[k] === void 0 && (P[k] = _[k]);
30
- return { $$typeof: r, type: D, key: K, ref: G, props: P, _owner: E.current };
24
+ var t = Oe, r = Symbol.for("react.element"), l = Symbol.for("react.fragment"), s = Object.prototype.hasOwnProperty, E = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, y = { key: !0, ref: !0, __self: !0, __source: !0 };
25
+ function j(D, m, M) {
26
+ var k, L = {}, U = null, G = null;
27
+ M !== void 0 && (U = "" + M), m.key !== void 0 && (U = "" + m.key), m.ref !== void 0 && (G = m.ref);
28
+ for (k in m) s.call(m, k) && !y.hasOwnProperty(k) && (L[k] = m[k]);
29
+ if (D && D.defaultProps) for (k in m = D.defaultProps, m) L[k] === void 0 && (L[k] = m[k]);
30
+ return { $$typeof: r, type: D, key: U, ref: G, props: L, _owner: E.current };
31
31
  }
32
- return Le.Fragment = o, Le.jsx = w, Le.jsxs = w, Le;
32
+ return Ie.Fragment = l, Ie.jsx = j, Ie.jsxs = j, Ie;
33
33
  }
34
- var $e = {};
34
+ var Ne = {};
35
35
  /**
36
36
  * @license React
37
37
  * react-jsx-runtime.development.js
@@ -42,50 +42,50 @@ var $e = {};
42
42
  * LICENSE file in the root directory of this source tree.
43
43
  */
44
44
  var rt;
45
- function It() {
45
+ function Wt() {
46
46
  return rt || (rt = 1, process.env.NODE_ENV !== "production" && function() {
47
- var t = Ne, r = Symbol.for("react.element"), o = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), E = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"), w = Symbol.for("react.provider"), D = Symbol.for("react.context"), _ = Symbol.for("react.forward_ref"), M = Symbol.for("react.suspense"), k = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), K = Symbol.for("react.lazy"), G = Symbol.for("react.offscreen"), X = Symbol.iterator, U = "@@iterator";
47
+ var t = Oe, r = Symbol.for("react.element"), l = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), E = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"), j = Symbol.for("react.provider"), D = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), M = Symbol.for("react.suspense"), k = Symbol.for("react.suspense_list"), L = Symbol.for("react.memo"), U = Symbol.for("react.lazy"), G = Symbol.for("react.offscreen"), X = Symbol.iterator, K = "@@iterator";
48
48
  function te(e) {
49
49
  if (e === null || typeof e != "object")
50
50
  return null;
51
- var i = X && e[X] || e[U];
52
- return typeof i == "function" ? i : null;
51
+ var a = X && e[X] || e[K];
52
+ return typeof a == "function" ? a : null;
53
53
  }
54
54
  var V = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
55
55
  function d(e) {
56
56
  {
57
- for (var i = arguments.length, g = new Array(i > 1 ? i - 1 : 0), j = 1; j < i; j++)
58
- g[j - 1] = arguments[j];
59
- L("error", e, g);
57
+ for (var a = arguments.length, p = new Array(a > 1 ? a - 1 : 0), w = 1; w < a; w++)
58
+ p[w - 1] = arguments[w];
59
+ $("error", e, p);
60
60
  }
61
61
  }
62
- function L(e, i, g) {
62
+ function $(e, a, p) {
63
63
  {
64
- var j = V.ReactDebugCurrentFrame, ee = j.getStackAddendum();
65
- ee !== "" && (i += "%s", g = g.concat([ee]));
66
- var ie = g.map(function(Y) {
64
+ var w = V.ReactDebugCurrentFrame, ee = w.getStackAddendum();
65
+ ee !== "" && (a += "%s", p = p.concat([ee]));
66
+ var ae = p.map(function(Y) {
67
67
  return String(Y);
68
68
  });
69
- ie.unshift("Warning: " + i), Function.prototype.apply.call(console[e], console, ie);
69
+ ae.unshift("Warning: " + a), Function.prototype.apply.call(console[e], console, ae);
70
70
  }
71
71
  }
72
- var x = !1, F = !1, J = !1, p = !1, f = !1, c;
72
+ var x = !1, F = !1, H = !1, v = !1, f = !1, c;
73
73
  c = Symbol.for("react.module.reference");
74
- function m(e) {
75
- return !!(typeof e == "string" || typeof e == "function" || e === l || e === y || f || e === E || e === M || e === k || p || e === G || x || F || J || typeof e == "object" && e !== null && (e.$$typeof === K || e.$$typeof === P || e.$$typeof === w || e.$$typeof === D || e.$$typeof === _ || // This needs to include all possible module reference object
74
+ function _(e) {
75
+ return !!(typeof e == "string" || typeof e == "function" || e === s || e === y || f || e === E || e === M || e === k || v || e === G || x || F || H || typeof e == "object" && e !== null && (e.$$typeof === U || e.$$typeof === L || e.$$typeof === j || e.$$typeof === D || e.$$typeof === m || // This needs to include all possible module reference object
76
76
  // types supported by any Flight configuration anywhere since
77
77
  // we don't know which Flight build this will end up being used
78
78
  // with.
79
79
  e.$$typeof === c || e.getModuleId !== void 0));
80
80
  }
81
- function v(e, i, g) {
82
- var j = e.displayName;
83
- if (j)
84
- return j;
85
- var ee = i.displayName || i.name || "";
86
- return ee !== "" ? g + "(" + ee + ")" : g;
81
+ function h(e, a, p) {
82
+ var w = e.displayName;
83
+ if (w)
84
+ return w;
85
+ var ee = a.displayName || a.name || "";
86
+ return ee !== "" ? p + "(" + ee + ")" : p;
87
87
  }
88
- function h(e) {
88
+ function g(e) {
89
89
  return e.displayName || "Context";
90
90
  }
91
91
  function C(e) {
@@ -96,9 +96,9 @@ function It() {
96
96
  if (typeof e == "string")
97
97
  return e;
98
98
  switch (e) {
99
- case l:
99
+ case s:
100
100
  return "Fragment";
101
- case o:
101
+ case l:
102
102
  return "Portal";
103
103
  case y:
104
104
  return "Profiler";
@@ -112,20 +112,20 @@ function It() {
112
112
  if (typeof e == "object")
113
113
  switch (e.$$typeof) {
114
114
  case D:
115
- var i = e;
116
- return h(i) + ".Consumer";
117
- case w:
118
- var g = e;
119
- return h(g._context) + ".Provider";
120
- case _:
121
- return v(e, e.render, "ForwardRef");
122
- case P:
123
- var j = e.displayName || null;
124
- return j !== null ? j : C(e.type) || "Memo";
125
- case K: {
126
- var ee = e, ie = ee._payload, Y = ee._init;
115
+ var a = e;
116
+ return g(a) + ".Consumer";
117
+ case j:
118
+ var p = e;
119
+ return g(p._context) + ".Provider";
120
+ case m:
121
+ return h(e, e.render, "ForwardRef");
122
+ case L:
123
+ var w = e.displayName || null;
124
+ return w !== null ? w : C(e.type) || "Memo";
125
+ case U: {
126
+ var ee = e, ae = ee._payload, Y = ee._init;
127
127
  try {
128
- return C(Y(ie));
128
+ return C(Y(ae));
129
129
  } catch {
130
130
  return null;
131
131
  }
@@ -133,14 +133,14 @@ function It() {
133
133
  }
134
134
  return null;
135
135
  }
136
- var T = Object.assign, O = 0, N, ce, ae, se, de, re, le;
136
+ var T = Object.assign, O = 0, N, ce, ie, se, de, re, le;
137
137
  function he() {
138
138
  }
139
139
  he.__reactDisabledLog = !0;
140
140
  function A() {
141
141
  {
142
142
  if (O === 0) {
143
- N = console.log, ce = console.info, ae = console.warn, se = console.error, de = console.group, re = console.groupCollapsed, le = console.groupEnd;
143
+ N = console.log, ce = console.info, ie = console.warn, se = console.error, de = console.group, re = console.groupCollapsed, le = console.groupEnd;
144
144
  var e = {
145
145
  configurable: !0,
146
146
  enumerable: !0,
@@ -160,7 +160,7 @@ function It() {
160
160
  O++;
161
161
  }
162
162
  }
163
- function I() {
163
+ function P() {
164
164
  {
165
165
  if (O--, O === 0) {
166
166
  var e = {
@@ -176,7 +176,7 @@ function It() {
176
176
  value: ce
177
177
  }),
178
178
  warn: T({}, e, {
179
- value: ae
179
+ value: ie
180
180
  }),
181
181
  error: T({}, e, {
182
182
  value: se
@@ -195,15 +195,15 @@ function It() {
195
195
  O < 0 && d("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
196
196
  }
197
197
  }
198
- var Z = V.ReactCurrentDispatcher, Q;
199
- function oe(e, i, g) {
198
+ var q = V.ReactCurrentDispatcher, Q;
199
+ function oe(e, a, p) {
200
200
  {
201
201
  if (Q === void 0)
202
202
  try {
203
203
  throw Error();
204
204
  } catch (ee) {
205
- var j = ee.stack.trim().match(/\n( *(at )?)/);
206
- Q = j && j[1] || "";
205
+ var w = ee.stack.trim().match(/\n( *(at )?)/);
206
+ Q = w && w[1] || "";
207
207
  }
208
208
  return `
209
209
  ` + Q + e;
@@ -211,25 +211,25 @@ function It() {
211
211
  }
212
212
  var B = !1, S;
213
213
  {
214
- var q = typeof WeakMap == "function" ? WeakMap : Map;
215
- S = new q();
214
+ var Z = typeof WeakMap == "function" ? WeakMap : Map;
215
+ S = new Z();
216
216
  }
217
- function W(e, i) {
217
+ function W(e, a) {
218
218
  if (!e || B)
219
219
  return "";
220
220
  {
221
- var g = S.get(e);
222
- if (g !== void 0)
223
- return g;
221
+ var p = S.get(e);
222
+ if (p !== void 0)
223
+ return p;
224
224
  }
225
- var j;
225
+ var w;
226
226
  B = !0;
227
227
  var ee = Error.prepareStackTrace;
228
228
  Error.prepareStackTrace = void 0;
229
- var ie;
230
- ie = Z.current, Z.current = null, A();
229
+ var ae;
230
+ ae = q.current, q.current = null, A();
231
231
  try {
232
- if (i) {
232
+ if (a) {
233
233
  var Y = function() {
234
234
  throw Error();
235
235
  };
@@ -241,14 +241,14 @@ function It() {
241
241
  try {
242
242
  Reflect.construct(Y, []);
243
243
  } catch (xe) {
244
- j = xe;
244
+ w = xe;
245
245
  }
246
246
  Reflect.construct(e, [], Y);
247
247
  } else {
248
248
  try {
249
249
  Y.call();
250
250
  } catch (xe) {
251
- j = xe;
251
+ w = xe;
252
252
  }
253
253
  e.call(Y.prototype);
254
254
  }
@@ -256,14 +256,14 @@ function It() {
256
256
  try {
257
257
  throw Error();
258
258
  } catch (xe) {
259
- j = xe;
259
+ w = xe;
260
260
  }
261
261
  e();
262
262
  }
263
263
  } catch (xe) {
264
- if (xe && j && typeof xe.stack == "string") {
264
+ if (xe && w && typeof xe.stack == "string") {
265
265
  for (var z = xe.stack.split(`
266
- `), ye = j.stack.split(`
266
+ `), ye = w.stack.split(`
267
267
  `), ue = z.length - 1, fe = ye.length - 1; ue >= 1 && fe >= 0 && z[ue] !== ye[fe]; )
268
268
  fe--;
269
269
  for (; ue >= 1 && fe >= 0; ue--, fe--)
@@ -271,28 +271,28 @@ function It() {
271
271
  if (ue !== 1 || fe !== 1)
272
272
  do
273
273
  if (ue--, fe--, fe < 0 || z[ue] !== ye[fe]) {
274
- var _e = `
274
+ var me = `
275
275
  ` + z[ue].replace(" at new ", " at ");
276
- return e.displayName && _e.includes("<anonymous>") && (_e = _e.replace("<anonymous>", e.displayName)), typeof e == "function" && S.set(e, _e), _e;
276
+ return e.displayName && me.includes("<anonymous>") && (me = me.replace("<anonymous>", e.displayName)), typeof e == "function" && S.set(e, me), me;
277
277
  }
278
278
  while (ue >= 1 && fe >= 0);
279
279
  break;
280
280
  }
281
281
  }
282
282
  } finally {
283
- B = !1, Z.current = ie, I(), Error.prepareStackTrace = ee;
283
+ B = !1, q.current = ae, P(), Error.prepareStackTrace = ee;
284
284
  }
285
285
  var De = e ? e.displayName || e.name : "", Re = De ? oe(De) : "";
286
286
  return typeof e == "function" && S.set(e, Re), Re;
287
287
  }
288
- function a(e, i, g) {
288
+ function i(e, a, p) {
289
289
  return W(e, !1);
290
290
  }
291
291
  function b(e) {
292
- var i = e.prototype;
293
- return !!(i && i.isReactComponent);
292
+ var a = e.prototype;
293
+ return !!(a && a.isReactComponent);
294
294
  }
295
- function u(e, i, g) {
295
+ function u(e, a, p) {
296
296
  if (e == null)
297
297
  return "";
298
298
  if (typeof e == "function")
@@ -307,55 +307,55 @@ function It() {
307
307
  }
308
308
  if (typeof e == "object")
309
309
  switch (e.$$typeof) {
310
- case _:
311
- return a(e.render);
312
- case P:
313
- return u(e.type, i, g);
314
- case K: {
315
- var j = e, ee = j._payload, ie = j._init;
310
+ case m:
311
+ return i(e.render);
312
+ case L:
313
+ return u(e.type, a, p);
314
+ case U: {
315
+ var w = e, ee = w._payload, ae = w._init;
316
316
  try {
317
- return u(ie(ee), i, g);
317
+ return u(ae(ee), a, p);
318
318
  } catch {
319
319
  }
320
320
  }
321
321
  }
322
322
  return "";
323
323
  }
324
- var s = Object.prototype.hasOwnProperty, R = {}, H = V.ReactDebugCurrentFrame;
325
- function $(e) {
324
+ var o = Object.prototype.hasOwnProperty, R = {}, J = V.ReactDebugCurrentFrame;
325
+ function I(e) {
326
326
  if (e) {
327
- var i = e._owner, g = u(e.type, e._source, i ? i.type : null);
328
- H.setExtraStackFrame(g);
327
+ var a = e._owner, p = u(e.type, e._source, a ? a.type : null);
328
+ J.setExtraStackFrame(p);
329
329
  } else
330
- H.setExtraStackFrame(null);
330
+ J.setExtraStackFrame(null);
331
331
  }
332
- function be(e, i, g, j, ee) {
332
+ function be(e, a, p, w, ee) {
333
333
  {
334
- var ie = Function.call.bind(s);
334
+ var ae = Function.call.bind(o);
335
335
  for (var Y in e)
336
- if (ie(e, Y)) {
336
+ if (ae(e, Y)) {
337
337
  var z = void 0;
338
338
  try {
339
339
  if (typeof e[Y] != "function") {
340
- var ye = Error((j || "React class") + ": " + g + " type `" + Y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[Y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
340
+ var ye = Error((w || "React class") + ": " + p + " type `" + Y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[Y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
341
341
  throw ye.name = "Invariant Violation", ye;
342
342
  }
343
- z = e[Y](i, Y, j, g, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
343
+ z = e[Y](a, Y, w, p, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
344
344
  } catch (ue) {
345
345
  z = ue;
346
346
  }
347
- z && !(z instanceof Error) && ($(ee), d("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", j || "React class", g, Y, typeof z), $(null)), z instanceof Error && !(z.message in R) && (R[z.message] = !0, $(ee), d("Failed %s type: %s", g, z.message), $(null));
347
+ z && !(z instanceof Error) && (I(ee), d("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", w || "React class", p, Y, typeof z), I(null)), z instanceof Error && !(z.message in R) && (R[z.message] = !0, I(ee), d("Failed %s type: %s", p, z.message), I(null));
348
348
  }
349
349
  }
350
350
  }
351
351
  var pe = Array.isArray;
352
- function me(e) {
352
+ function _e(e) {
353
353
  return pe(e);
354
354
  }
355
355
  function ve(e) {
356
356
  {
357
- var i = typeof Symbol == "function" && Symbol.toStringTag, g = i && e[Symbol.toStringTag] || e.constructor.name || "Object";
358
- return g;
357
+ var a = typeof Symbol == "function" && Symbol.toStringTag, p = a && e[Symbol.toStringTag] || e.constructor.name || "Object";
358
+ return p;
359
359
  }
360
360
  }
361
361
  function Ee(e) {
@@ -372,64 +372,64 @@ function It() {
372
372
  if (Ee(e))
373
373
  return d("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ve(e)), ke(e);
374
374
  }
375
- var je = V.ReactCurrentOwner, We = {
375
+ var we = V.ReactCurrentOwner, We = {
376
376
  key: !0,
377
377
  ref: !0,
378
378
  __self: !0,
379
379
  __source: !0
380
- }, Oe, Pe;
380
+ }, Le, $e;
381
381
  function Fe(e) {
382
- if (s.call(e, "ref")) {
383
- var i = Object.getOwnPropertyDescriptor(e, "ref").get;
384
- if (i && i.isReactWarning)
382
+ if (o.call(e, "ref")) {
383
+ var a = Object.getOwnPropertyDescriptor(e, "ref").get;
384
+ if (a && a.isReactWarning)
385
385
  return !1;
386
386
  }
387
387
  return e.ref !== void 0;
388
388
  }
389
389
  function Ce(e) {
390
- if (s.call(e, "key")) {
391
- var i = Object.getOwnPropertyDescriptor(e, "key").get;
392
- if (i && i.isReactWarning)
390
+ if (o.call(e, "key")) {
391
+ var a = Object.getOwnPropertyDescriptor(e, "key").get;
392
+ if (a && a.isReactWarning)
393
393
  return !1;
394
394
  }
395
395
  return e.key !== void 0;
396
396
  }
397
- function ze(e, i) {
398
- typeof e.ref == "string" && je.current;
397
+ function ze(e, a) {
398
+ typeof e.ref == "string" && we.current;
399
399
  }
400
- function Me(e, i) {
400
+ function Me(e, a) {
401
401
  {
402
- var g = function() {
403
- Oe || (Oe = !0, d("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
402
+ var p = function() {
403
+ Le || (Le = !0, d("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", a));
404
404
  };
405
- g.isReactWarning = !0, Object.defineProperty(e, "key", {
406
- get: g,
405
+ p.isReactWarning = !0, Object.defineProperty(e, "key", {
406
+ get: p,
407
407
  configurable: !0
408
408
  });
409
409
  }
410
410
  }
411
- function dt(e, i) {
411
+ function dt(e, a) {
412
412
  {
413
- var g = function() {
414
- Pe || (Pe = !0, d("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", i));
413
+ var p = function() {
414
+ $e || ($e = !0, d("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", a));
415
415
  };
416
- g.isReactWarning = !0, Object.defineProperty(e, "ref", {
417
- get: g,
416
+ p.isReactWarning = !0, Object.defineProperty(e, "ref", {
417
+ get: p,
418
418
  configurable: !0
419
419
  });
420
420
  }
421
421
  }
422
- var ut = function(e, i, g, j, ee, ie, Y) {
422
+ var ut = function(e, a, p, w, ee, ae, Y) {
423
423
  var z = {
424
424
  // This tag allows us to uniquely identify this as a React Element
425
425
  $$typeof: r,
426
426
  // Built-in properties that belong on the element
427
427
  type: e,
428
- key: i,
429
- ref: g,
428
+ key: a,
429
+ ref: p,
430
430
  props: Y,
431
431
  // Record the component responsible for creating this element.
432
- _owner: ie
432
+ _owner: ae
433
433
  };
434
434
  return z._store = {}, Object.defineProperty(z._store, "validated", {
435
435
  configurable: !1,
@@ -440,7 +440,7 @@ function It() {
440
440
  configurable: !1,
441
441
  enumerable: !1,
442
442
  writable: !1,
443
- value: j
443
+ value: w
444
444
  }), Object.defineProperty(z, "_source", {
445
445
  configurable: !1,
446
446
  enumerable: !1,
@@ -448,38 +448,38 @@ function It() {
448
448
  value: ee
449
449
  }), Object.freeze && (Object.freeze(z.props), Object.freeze(z)), z;
450
450
  };
451
- function ft(e, i, g, j, ee) {
451
+ function ft(e, a, p, w, ee) {
452
452
  {
453
- var ie, Y = {}, z = null, ye = null;
454
- g !== void 0 && (Se(g), z = "" + g), Ce(i) && (Se(i.key), z = "" + i.key), Fe(i) && (ye = i.ref, ze(i, ee));
455
- for (ie in i)
456
- s.call(i, ie) && !We.hasOwnProperty(ie) && (Y[ie] = i[ie]);
453
+ var ae, Y = {}, z = null, ye = null;
454
+ p !== void 0 && (Se(p), z = "" + p), Ce(a) && (Se(a.key), z = "" + a.key), Fe(a) && (ye = a.ref, ze(a, ee));
455
+ for (ae in a)
456
+ o.call(a, ae) && !We.hasOwnProperty(ae) && (Y[ae] = a[ae]);
457
457
  if (e && e.defaultProps) {
458
458
  var ue = e.defaultProps;
459
- for (ie in ue)
460
- Y[ie] === void 0 && (Y[ie] = ue[ie]);
459
+ for (ae in ue)
460
+ Y[ae] === void 0 && (Y[ae] = ue[ae]);
461
461
  }
462
462
  if (z || ye) {
463
463
  var fe = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
464
464
  z && Me(Y, fe), ye && dt(Y, fe);
465
465
  }
466
- return ut(e, z, ye, ee, j, je.current, Y);
466
+ return ut(e, z, ye, ee, w, we.current, Y);
467
467
  }
468
468
  }
469
- var Be = V.ReactCurrentOwner, Ue = V.ReactDebugCurrentFrame;
469
+ var Be = V.ReactCurrentOwner, Ke = V.ReactDebugCurrentFrame;
470
470
  function Te(e) {
471
471
  if (e) {
472
- var i = e._owner, g = u(e.type, e._source, i ? i.type : null);
473
- Ue.setExtraStackFrame(g);
472
+ var a = e._owner, p = u(e.type, e._source, a ? a.type : null);
473
+ Ke.setExtraStackFrame(p);
474
474
  } else
475
- Ue.setExtraStackFrame(null);
475
+ Ke.setExtraStackFrame(null);
476
476
  }
477
477
  var Ve;
478
478
  Ve = !1;
479
- function Je(e) {
479
+ function He(e) {
480
480
  return typeof e == "object" && e !== null && e.$$typeof === r;
481
481
  }
482
- function Ke() {
482
+ function Ue() {
483
483
  {
484
484
  if (Be.current) {
485
485
  var e = C(Be.current.type);
@@ -494,82 +494,82 @@ Check the render method of \`` + e + "`.";
494
494
  function ht(e) {
495
495
  return "";
496
496
  }
497
- var Ze = {};
497
+ var qe = {};
498
498
  function gt(e) {
499
499
  {
500
- var i = Ke();
501
- if (!i) {
502
- var g = typeof e == "string" ? e : e.displayName || e.name;
503
- g && (i = `
500
+ var a = Ue();
501
+ if (!a) {
502
+ var p = typeof e == "string" ? e : e.displayName || e.name;
503
+ p && (a = `
504
504
 
505
- Check the top-level render call using <` + g + ">.");
505
+ Check the top-level render call using <` + p + ">.");
506
506
  }
507
- return i;
507
+ return a;
508
508
  }
509
509
  }
510
- function qe(e, i) {
510
+ function Ze(e, a) {
511
511
  {
512
512
  if (!e._store || e._store.validated || e.key != null)
513
513
  return;
514
514
  e._store.validated = !0;
515
- var g = gt(i);
516
- if (Ze[g])
515
+ var p = gt(a);
516
+ if (qe[p])
517
517
  return;
518
- Ze[g] = !0;
519
- var j = "";
520
- e && e._owner && e._owner !== Be.current && (j = " It was passed a child from " + C(e._owner.type) + "."), Te(e), d('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', g, j), Te(null);
518
+ qe[p] = !0;
519
+ var w = "";
520
+ e && e._owner && e._owner !== Be.current && (w = " It was passed a child from " + C(e._owner.type) + "."), Te(e), d('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', p, w), Te(null);
521
521
  }
522
522
  }
523
- function Ge(e, i) {
523
+ function Ge(e, a) {
524
524
  {
525
525
  if (typeof e != "object")
526
526
  return;
527
- if (me(e))
528
- for (var g = 0; g < e.length; g++) {
529
- var j = e[g];
530
- Je(j) && qe(j, i);
527
+ if (_e(e))
528
+ for (var p = 0; p < e.length; p++) {
529
+ var w = e[p];
530
+ He(w) && Ze(w, a);
531
531
  }
532
- else if (Je(e))
532
+ else if (He(e))
533
533
  e._store && (e._store.validated = !0);
534
534
  else if (e) {
535
535
  var ee = te(e);
536
536
  if (typeof ee == "function" && ee !== e.entries)
537
- for (var ie = ee.call(e), Y; !(Y = ie.next()).done; )
538
- Je(Y.value) && qe(Y.value, i);
537
+ for (var ae = ee.call(e), Y; !(Y = ae.next()).done; )
538
+ He(Y.value) && Ze(Y.value, a);
539
539
  }
540
540
  }
541
541
  }
542
542
  function pt(e) {
543
543
  {
544
- var i = e.type;
545
- if (i == null || typeof i == "string")
544
+ var a = e.type;
545
+ if (a == null || typeof a == "string")
546
546
  return;
547
- var g;
548
- if (typeof i == "function")
549
- g = i.propTypes;
550
- else if (typeof i == "object" && (i.$$typeof === _ || // Note: Memo only checks outer props here.
547
+ var p;
548
+ if (typeof a == "function")
549
+ p = a.propTypes;
550
+ else if (typeof a == "object" && (a.$$typeof === m || // Note: Memo only checks outer props here.
551
551
  // Inner props are checked in the reconciler.
552
- i.$$typeof === P))
553
- g = i.propTypes;
552
+ a.$$typeof === L))
553
+ p = a.propTypes;
554
554
  else
555
555
  return;
556
- if (g) {
557
- var j = C(i);
558
- be(g, e.props, "prop", j, e);
559
- } else if (i.PropTypes !== void 0 && !Ve) {
556
+ if (p) {
557
+ var w = C(a);
558
+ be(p, e.props, "prop", w, e);
559
+ } else if (a.PropTypes !== void 0 && !Ve) {
560
560
  Ve = !0;
561
- var ee = C(i);
561
+ var ee = C(a);
562
562
  d("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", ee || "Unknown");
563
563
  }
564
- typeof i.getDefaultProps == "function" && !i.getDefaultProps.isReactClassApproved && d("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
564
+ typeof a.getDefaultProps == "function" && !a.getDefaultProps.isReactClassApproved && d("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
565
565
  }
566
566
  }
567
567
  function vt(e) {
568
568
  {
569
- for (var i = Object.keys(e.props), g = 0; g < i.length; g++) {
570
- var j = i[g];
571
- if (j !== "children" && j !== "key") {
572
- Te(e), d("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", j), Te(null);
569
+ for (var a = Object.keys(e.props), p = 0; p < a.length; p++) {
570
+ var w = a[p];
571
+ if (w !== "children" && w !== "key") {
572
+ Te(e), d("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", w), Te(null);
573
573
  break;
574
574
  }
575
575
  }
@@ -577,95 +577,99 @@ Check the top-level render call using <` + g + ">.");
577
577
  }
578
578
  }
579
579
  var Xe = {};
580
- function Qe(e, i, g, j, ee, ie) {
580
+ function Qe(e, a, p, w, ee, ae) {
581
581
  {
582
- var Y = m(e);
582
+ var Y = _(e);
583
583
  if (!Y) {
584
584
  var z = "";
585
585
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (z += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
586
586
  var ye = ht();
587
- ye ? z += ye : z += Ke();
587
+ ye ? z += ye : z += Ue();
588
588
  var ue;
589
- e === null ? ue = "null" : me(e) ? ue = "array" : e !== void 0 && e.$$typeof === r ? (ue = "<" + (C(e.type) || "Unknown") + " />", z = " Did you accidentally export a JSX literal instead of a component?") : ue = typeof e, d("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ue, z);
589
+ e === null ? ue = "null" : _e(e) ? ue = "array" : e !== void 0 && e.$$typeof === r ? (ue = "<" + (C(e.type) || "Unknown") + " />", z = " Did you accidentally export a JSX literal instead of a component?") : ue = typeof e, d("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ue, z);
590
590
  }
591
- var fe = ft(e, i, g, ee, ie);
591
+ var fe = ft(e, a, p, ee, ae);
592
592
  if (fe == null)
593
593
  return fe;
594
594
  if (Y) {
595
- var _e = i.children;
596
- if (_e !== void 0)
597
- if (j)
598
- if (me(_e)) {
599
- for (var De = 0; De < _e.length; De++)
600
- Ge(_e[De], e);
601
- Object.freeze && Object.freeze(_e);
595
+ var me = a.children;
596
+ if (me !== void 0)
597
+ if (w)
598
+ if (_e(me)) {
599
+ for (var De = 0; De < me.length; De++)
600
+ Ge(me[De], e);
601
+ Object.freeze && Object.freeze(me);
602
602
  } else
603
603
  d("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
604
604
  else
605
- Ge(_e, e);
605
+ Ge(me, e);
606
606
  }
607
- if (s.call(i, "key")) {
608
- var Re = C(e), xe = Object.keys(i).filter(function(Ct) {
607
+ if (o.call(a, "key")) {
608
+ var Re = C(e), xe = Object.keys(a).filter(function(Ct) {
609
609
  return Ct !== "key";
610
- }), He = xe.length > 0 ? "{key: someKey, " + xe.join(": ..., ") + ": ...}" : "{key: someKey}";
611
- if (!Xe[Re + He]) {
612
- var mt = xe.length > 0 ? "{" + xe.join(": ..., ") + ": ...}" : "{}";
610
+ }), Je = xe.length > 0 ? "{key: someKey, " + xe.join(": ..., ") + ": ...}" : "{key: someKey}";
611
+ if (!Xe[Re + Je]) {
612
+ var _t = xe.length > 0 ? "{" + xe.join(": ..., ") + ": ...}" : "{}";
613
613
  d(`A props object containing a "key" prop is being spread into JSX:
614
614
  let props = %s;
615
615
  <%s {...props} />
616
616
  React keys must be passed directly to JSX without using spread:
617
617
  let props = %s;
618
- <%s key={someKey} {...props} />`, He, Re, mt, Re), Xe[Re + He] = !0;
618
+ <%s key={someKey} {...props} />`, Je, Re, _t, Re), Xe[Re + Je] = !0;
619
619
  }
620
620
  }
621
- return e === l ? vt(fe) : pt(fe), fe;
621
+ return e === s ? vt(fe) : pt(fe), fe;
622
622
  }
623
623
  }
624
- function yt(e, i, g) {
625
- return Qe(e, i, g, !0);
624
+ function yt(e, a, p) {
625
+ return Qe(e, a, p, !0);
626
626
  }
627
- function bt(e, i, g) {
628
- return Qe(e, i, g, !1);
627
+ function bt(e, a, p) {
628
+ return Qe(e, a, p, !1);
629
629
  }
630
- var xt = bt, _t = yt;
631
- $e.Fragment = l, $e.jsx = xt, $e.jsxs = _t;
632
- }()), $e;
630
+ var xt = bt, mt = yt;
631
+ Ne.Fragment = s, Ne.jsx = xt, Ne.jsxs = mt;
632
+ }()), Ne;
633
633
  }
634
- process.env.NODE_ENV === "production" ? Ye.exports = Nt() : Ye.exports = It();
634
+ process.env.NODE_ENV === "production" ? Ye.exports = Pt() : Ye.exports = Wt();
635
635
  var n = Ye.exports;
636
- const Wt = ({
636
+ const Ft = ({
637
637
  column: t,
638
638
  currWidth: r,
639
- currMinWidth: o,
640
- onResize: l,
639
+ currMinWidth: l,
640
+ onResize: s,
641
641
  scrollContainerRef: E
642
642
  }) => {
643
- const [y, w] = ge(!1), [D, _] = ge(null), [M, k] = ge(0), [P, K] = ge(0), [G, X] = ge(null), [U, te] = ge(null), V = we(null);
644
- we(0);
645
- const d = we(!1), L = we(null), x = we(0), F = we(0), J = ne((c) => {
643
+ const [y, j] = ge(!1), [D, m] = ge(null), [M, k] = ge(0), [L, U] = ge(0), [G, X] = ge(null), [K, te] = ge(null), V = je(null);
644
+ je(0);
645
+ const d = je(!1), $ = je(null), x = je(0), F = je(0), H = ne((c) => {
646
646
  if (!y || !D || !t) return;
647
- const m = c.clientX - M;
647
+ const _ = c.clientX - M;
648
648
  t.minWidth;
649
- let v = P + m;
650
- x.current = v;
651
- const h = v - P, C = F.current + h;
649
+ let h = L + _;
650
+ x.current = h;
651
+ const g = h - L, C = F.current + g;
652
652
  X(C);
653
- }, [y, M, P, D, E, t]), p = ne(() => {
653
+ }, [y, M, L, D, E, t]), v = ne(() => {
654
654
  if (!y || !D) return;
655
655
  t.minWidth;
656
- const m = x.current || P;
657
- l == null || l(D, m), V.current && (clearInterval(V.current), V.current = null), d.current = !1, w(!1), k(0), K(0), _(null), X(null), te(null), x.current = 0, F.current = 0, document.removeEventListener("mousemove", J), document.removeEventListener("mouseup", p);
658
- }, [y, D, t, P, l, J]), f = ne((c, m, v) => {
659
- if (c.preventDefault(), !L.current) return;
660
- w(!0), k(c.clientX), K(v), _(m), x.current = v;
661
- const h = L.current.getBoundingClientRect(), C = h.left + 12;
656
+ const _ = x.current || L, h = D;
657
+ V.current && (clearInterval(V.current), V.current = null), d.current = !1, j(!1), k(0), U(0), m(null), X(null), te(null), x.current = 0, F.current = 0, document.removeEventListener("mousemove", H), document.removeEventListener("mouseup", v), requestAnimationFrame(() => {
658
+ Et(() => {
659
+ s == null || s(h, _);
660
+ });
661
+ });
662
+ }, [y, D, t, L, s, H]), f = ne((c, _, h) => {
663
+ if (c.preventDefault(), !$.current) return;
664
+ j(!0), k(c.clientX), U(h), m(_), x.current = h;
665
+ const g = $.current.getBoundingClientRect(), C = g.left + 12;
662
666
  X(C), F.current = C;
663
- const T = E == null ? void 0 : E.current, O = L.current.closest("table");
667
+ const T = E == null ? void 0 : E.current, O = $.current.closest("table");
664
668
  if (T) {
665
669
  const N = T.getBoundingClientRect();
666
670
  te({
667
- top: N.top + h.height * 2,
668
- height: N.height - h.height * 2
671
+ top: N.top + g.height * 2,
672
+ height: N.height - g.height * 2
669
673
  });
670
674
  } else if (O) {
671
675
  const N = O.getBoundingClientRect();
@@ -675,48 +679,48 @@ const Wt = ({
675
679
  });
676
680
  }
677
681
  }, [E]);
678
- return Ie(() => {
679
- y && (document.addEventListener("mousemove", J), document.addEventListener("mouseup", p));
680
- }, [y, J, p]), Ie(() => () => {
681
- document.removeEventListener("mousemove", J), document.removeEventListener("mouseup", p);
682
- }, [J, p]), /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
682
+ return Pe(() => {
683
+ y && (document.addEventListener("mousemove", H), document.addEventListener("mouseup", v));
684
+ }, [y, H, v]), Pe(() => () => {
685
+ document.removeEventListener("mousemove", H), document.removeEventListener("mouseup", v);
686
+ }, [H, v]), /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
683
687
  /* @__PURE__ */ n.jsx(
684
688
  "button",
685
689
  {
686
- ref: L,
690
+ ref: $,
687
691
  className: "radar-table__resize-button",
688
- onMouseDown: (c) => f(c, t.key, r || o || 200),
692
+ onMouseDown: (c) => f(c, t.key, r || l || 200),
689
693
  title: "Изменить ширину колонки",
690
694
  children: /* @__PURE__ */ n.jsx("div", {})
691
695
  }
692
696
  ),
693
- G !== null && U && /* @__PURE__ */ n.jsx(
697
+ G !== null && K && /* @__PURE__ */ n.jsx(
694
698
  "div",
695
699
  {
696
700
  className: "radar-table__resize-line",
697
701
  style: {
698
702
  left: `${G}px`,
699
- top: `${U.top}px`,
700
- height: `${U.height}px`
703
+ top: `${K.top}px`,
704
+ height: `${K.height}px`
701
705
  }
702
706
  }
703
707
  )
704
708
  ] });
705
- }, Ft = ({ text: t, children: r }) => {
706
- const [o, l] = ge(!1), [E, y] = ge("left"), w = we(null), D = () => {
707
- if (w.current) {
708
- const _ = w.current.getBoundingClientRect(), M = window.innerWidth, k = 250, P = 20, K = M - _.left, G = _.right;
709
- K < k + P && G > k + P ? y("right") : y("left");
709
+ }, At = ({ text: t, children: r }) => {
710
+ const [l, s] = ge(!1), [E, y] = ge("left"), j = je(null), D = () => {
711
+ if (j.current) {
712
+ const m = j.current.getBoundingClientRect(), M = window.innerWidth, k = 250, L = 20, U = M - m.left, G = m.right;
713
+ U < k + L && G > k + L ? y("right") : y("left");
710
714
  }
711
- l(!0);
715
+ s(!0);
712
716
  };
713
717
  return /* @__PURE__ */ n.jsxs(
714
718
  "button",
715
719
  {
716
- ref: w,
720
+ ref: j,
717
721
  className: "radar-table__tooltip-button",
718
722
  onMouseOver: D,
719
- onMouseOut: () => l(!1),
723
+ onMouseOut: () => s(!1),
720
724
  children: [
721
725
  r || /* @__PURE__ */ n.jsxs("svg", { width: "1.5em", height: "1em", viewBox: "0 0 24 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
722
726
  /* @__PURE__ */ n.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" }),
@@ -725,164 +729,164 @@ const Wt = ({
725
729
  /* @__PURE__ */ n.jsx(
726
730
  "div",
727
731
  {
728
- className: `radar-table__tooltip-text ${o ? "radar-table__tooltip-text_visible" : ""} radar-table__tooltip-text--${E}`,
732
+ className: `radar-table__tooltip-text ${l ? "radar-table__tooltip-text_visible" : ""} radar-table__tooltip-text--${E}`,
729
733
  children: t
730
734
  }
731
735
  )
732
736
  ]
733
737
  }
734
738
  );
735
- }, ct = Et(null), At = () => {
736
- const t = kt(ct);
739
+ }, ct = kt(null), zt = () => {
740
+ const t = wt(ct);
737
741
  return t || {
738
742
  activeColumn: null,
739
743
  isValidDropZone: () => !1
740
744
  };
741
745
  };
742
- function zt({
746
+ function Mt({
743
747
  children: t,
744
748
  fullConfig: r,
745
- onColumnReorder: o,
746
- scrollContainerRef: l
749
+ onColumnReorder: l,
750
+ scrollContainerRef: s
747
751
  }) {
748
- const [E, y] = ge(null), [w, D] = ge(40), [_, M] = ge(200), [k, P] = ge(null), K = jt(
749
- et(wt, {
752
+ const [E, y] = ge(null), [j, D] = ge(40), [m, M] = ge(200), [k, L] = ge(null), U = jt(
753
+ et(St, {
750
754
  activationConstraint: {
751
755
  distance: 5
752
756
  // Уменьшили дистанцию
753
757
  }
754
758
  }),
755
- et(St, {
756
- coordinateGetter: $t
759
+ et(Rt, {
760
+ coordinateGetter: Nt
757
761
  })
758
- ), G = ne((p) => {
759
- const f = Rt(p);
762
+ ), G = ne((v) => {
763
+ const f = Tt(v);
760
764
  if (f.length > 0) {
761
- const v = f.filter(
762
- (h) => h.id.toString().startsWith("drop-zone-")
765
+ const h = f.filter(
766
+ (g) => g.id.toString().startsWith("drop-zone-")
763
767
  );
764
- if (v.length > 0)
765
- return v;
768
+ if (h.length > 0)
769
+ return h;
766
770
  }
767
- const m = Tt(p).filter(
768
- (v) => v.id.toString().startsWith("drop-zone-")
771
+ const _ = Dt(v).filter(
772
+ (h) => h.id.toString().startsWith("drop-zone-")
769
773
  );
770
- return m.length > 0 ? [m[0]] : [];
771
- }, []), X = ne((p) => p.some((f) => f.children && f.children.length > 0), []), U = ne((p, f) => {
772
- const c = (m, v, h = 0, C = null) => {
773
- for (const T of m) {
774
- if (T.key === v)
775
- return { column: T, parent: C, level: h };
774
+ return _.length > 0 ? [_[0]] : [];
775
+ }, []), X = ne((v) => v.some((f) => f.children && f.children.length > 0), []), K = ne((v, f) => {
776
+ const c = (_, h, g = 0, C = null) => {
777
+ for (const T of _) {
778
+ if (T.key === h)
779
+ return { column: T, parent: C, level: g };
776
780
  if (T.children && T.children.length > 0) {
777
- const O = c(T.children, v, h + 1, T);
781
+ const O = c(T.children, h, g + 1, T);
778
782
  if (O) return O;
779
783
  }
780
784
  }
781
785
  return null;
782
786
  };
783
- return c(p, f);
784
- }, []), te = ne((p, f) => {
785
- var m;
786
- const c = U(f, p);
787
- return c && (c.column.fixed || ((m = c.parent) == null ? void 0 : m.fixed)) || !1;
788
- }, [U]), V = ne((p, f) => {
789
- if (p.columnKey === f.columnKey)
787
+ return c(v, f);
788
+ }, []), te = ne((v, f) => {
789
+ var _;
790
+ const c = K(f, v);
791
+ return c && (c.column.fixed || ((_ = c.parent) == null ? void 0 : _.fixed)) || !1;
792
+ }, [K]), V = ne((v, f) => {
793
+ if (v.columnKey === f.columnKey)
790
794
  return !1;
791
- const c = te(p.columnKey, r), m = te(f.columnKey, r);
792
- if (c !== m)
795
+ const c = te(v.columnKey, r), _ = te(f.columnKey, r);
796
+ if (c !== _)
793
797
  return !1;
794
798
  if (X(r)) {
795
- const v = U(r, p.columnKey), h = U(r, f.columnKey);
796
- if (!v || !h)
799
+ const h = K(r, v.columnKey), g = K(r, f.columnKey);
800
+ if (!h || !g)
797
801
  return !1;
798
- const C = p.isLeaf, T = f.isLeaf;
802
+ const C = v.isLeaf, T = f.isLeaf;
799
803
  if (!C && !T) {
800
- const O = v.level === h.level, N = v.parent === null && h.parent === null || v.parent !== null && h.parent !== null && v.parent.key === h.parent.key;
804
+ const O = h.level === g.level, N = h.parent === null && g.parent === null || h.parent !== null && g.parent !== null && h.parent.key === g.parent.key;
801
805
  return O && N;
802
806
  }
803
807
  if (C && T) {
804
- const O = v.level === h.level, N = v.parent === null && h.parent === null || v.parent !== null && h.parent !== null && v.parent.key === h.parent.key;
808
+ const O = h.level === g.level, N = h.parent === null && g.parent === null || h.parent !== null && g.parent !== null && h.parent.key === g.parent.key;
805
809
  return O && N;
806
810
  }
807
811
  return !1;
808
812
  }
809
813
  return !0;
810
- }, [r, X, U, te]), d = ne((p, f, c) => {
814
+ }, [r, X, K, te]), d = ne((v, f, c) => {
811
815
  var le, he;
812
816
  if (!X(r)) {
813
- const A = c.findIndex((B) => B.key === p), I = c.findIndex((B) => B.key === f);
814
- if (A === -1 || I === -1)
817
+ const A = c.findIndex((B) => B.key === v), P = c.findIndex((B) => B.key === f);
818
+ if (A === -1 || P === -1)
815
819
  return c;
816
- const Z = [...c], Q = Z[A];
817
- Z.splice(A, 1);
818
- const oe = (A < I, I);
819
- return Z.splice(oe, 0, Q), Z;
820
+ const q = [...c], Q = q[A];
821
+ q.splice(A, 1);
822
+ const oe = (A < P, P);
823
+ return q.splice(oe, 0, Q), q;
820
824
  }
821
- const m = U(r, p), v = U(r, f);
822
- if (!m || !v)
825
+ const _ = K(r, v), h = K(r, f);
826
+ if (!_ || !h)
823
827
  return c;
824
- const h = JSON.parse(JSON.stringify(r)), C = (A, I) => {
825
- if (I === null)
828
+ const g = JSON.parse(JSON.stringify(r)), C = (A, P) => {
829
+ if (P === null)
826
830
  return { container: A, parentObj: null };
827
- const Z = (oe) => {
831
+ const q = (oe) => {
828
832
  for (const B of oe) {
829
- if (B.key === I)
833
+ if (B.key === P)
830
834
  return B;
831
835
  if (B.children) {
832
- const S = Z(B.children);
836
+ const S = q(B.children);
833
837
  if (S) return S;
834
838
  }
835
839
  }
836
840
  return null;
837
- }, Q = Z(A);
841
+ }, Q = q(A);
838
842
  return {
839
843
  container: (Q == null ? void 0 : Q.children) || A,
840
844
  parentObj: Q
841
845
  };
842
- }, T = ((le = m.parent) == null ? void 0 : le.key) || null, O = ((he = v.parent) == null ? void 0 : he.key) || null, { container: N } = C(h, T), { container: ce } = C(h, O);
846
+ }, T = ((le = _.parent) == null ? void 0 : le.key) || null, O = ((he = h.parent) == null ? void 0 : he.key) || null, { container: N } = C(g, T), { container: ce } = C(g, O);
843
847
  if (N !== ce)
844
848
  return c;
845
- const ae = N.findIndex((A) => A.key === p), se = N.findIndex((A) => A.key === f);
846
- if (ae === -1 || se === -1)
849
+ const ie = N.findIndex((A) => A.key === v), se = N.findIndex((A) => A.key === f);
850
+ if (ie === -1 || se === -1)
847
851
  return c;
848
- const [de] = N.splice(ae, 1), re = (ae < se, se);
849
- return N.splice(re, 0, de), h;
850
- }, [r, X, U]), L = ne((p) => {
851
- const f = p.active.data.current;
852
+ const [de] = N.splice(ie, 1), re = (ie < se, se);
853
+ return N.splice(re, 0, de), g;
854
+ }, [r, X, K]), $ = ne((v) => {
855
+ const f = v.active.data.current;
852
856
  y(f);
853
857
  const c = document.querySelector(`[data-column-key="${f.columnKey}"]`);
854
858
  if (c) {
855
- const m = c.getBoundingClientRect();
856
- M(m.width);
857
- const v = c.closest("table");
859
+ const _ = c.getBoundingClientRect();
860
+ M(_.width);
861
+ const h = c.closest("table");
858
862
  c.closest('[style*="overflow"]');
859
- const h = v;
860
- if (h) {
861
- const C = h.getBoundingClientRect();
863
+ const g = h;
864
+ if (g) {
865
+ const C = g.getBoundingClientRect();
862
866
  D(C.height);
863
867
  } else
864
868
  D(400);
865
869
  } else
866
870
  D(400), M(200);
867
871
  document.body.style.cursor = "grabbing";
868
- }, []), x = ne((p) => {
869
- const { active: f, over: c } = p;
872
+ }, []), x = ne((v) => {
873
+ const { active: f, over: c } = v;
870
874
  if (!c || !f.data.current) {
871
- document.body.style.cursor = "grabbing", P(null);
875
+ document.body.style.cursor = "grabbing", L(null);
872
876
  return;
873
877
  }
874
- const m = f.data.current, v = c.data.current;
875
- if (!v) {
876
- document.body.style.cursor = "grabbing", P(null);
878
+ const _ = f.data.current, h = c.data.current;
879
+ if (!h) {
880
+ document.body.style.cursor = "grabbing", L(null);
877
881
  return;
878
882
  }
879
- const h = V(m, v);
880
- document.body.style.cursor = h ? "copy" : "not-allowed";
881
- const C = document.querySelectorAll(`th[data-column-key="${v.columnKey}"]`), T = X(r), O = C.length > 0 ? T && v.isLeaf ? C[C.length - 1] : C[0] : null;
883
+ const g = V(_, h);
884
+ document.body.style.cursor = g ? "copy" : "not-allowed";
885
+ const C = document.querySelectorAll(`th[data-column-key="${h.columnKey}"]`), T = X(r), O = C.length > 0 ? T && h.isLeaf ? C[C.length - 1] : C[0] : null;
882
886
  if (O) {
883
887
  const N = O.getBoundingClientRect(), ce = O.closest("table");
884
- let ae = N.left;
885
- const se = l == null ? void 0 : l.current;
888
+ let ie = N.left;
889
+ const se = s == null ? void 0 : s.current;
886
890
  let de, re;
887
891
  if (se) {
888
892
  const le = se.getBoundingClientRect();
@@ -892,53 +896,53 @@ function zt({
892
896
  de = le.top, re = le.height;
893
897
  } else
894
898
  de = N.top, re = N.height * 10;
895
- P({
896
- left: ae,
899
+ L({
900
+ left: ie,
897
901
  top: de,
898
902
  height: re,
899
- color: h ? "#5329FF" : "#ff3b3b"
903
+ color: g ? "#5329FF" : "#ff3b3b"
900
904
  });
901
905
  } else
902
- P(null);
903
- }, [V]), F = ne((p) => {
904
- const { active: f, over: c } = p;
905
- if (document.body.style.cursor = "", y(null), D(40), M(200), P(null), !c || !f.data.current || !c.data.current)
906
+ L(null);
907
+ }, [V]), F = ne((v) => {
908
+ const { active: f, over: c } = v;
909
+ if (document.body.style.cursor = "", y(null), D(40), M(200), L(null), !c || !f.data.current || !c.data.current)
906
910
  return;
907
- const m = f.data.current, v = c.data.current;
908
- if (V(m, v) && o) {
909
- const h = d(
910
- m.columnKey,
911
- v.columnKey,
911
+ const _ = f.data.current, h = c.data.current;
912
+ if (V(_, h) && l) {
913
+ const g = d(
914
+ _.columnKey,
915
+ h.columnKey,
912
916
  r
913
917
  );
914
- h._dragInfo = {
915
- draggedKey: m.columnKey,
916
- targetKey: v.columnKey,
917
- draggedIndex: m.index,
918
+ g._dragInfo = {
919
+ draggedKey: _.columnKey,
920
+ targetKey: h.columnKey,
921
+ draggedIndex: _.index,
918
922
  targetIndex: -1
919
923
  // будет вычислен в TableHeader если нужно
920
- }, o(h);
924
+ }, l(g);
921
925
  }
922
- }, [V, o, d, r]), J = {
926
+ }, [V, l, d, r]), H = {
923
927
  activeColumn: E,
924
928
  isValidDropZone: V
925
929
  };
926
- return /* @__PURE__ */ n.jsx(ct.Provider, { value: J, children: /* @__PURE__ */ n.jsxs(
927
- Dt,
930
+ return /* @__PURE__ */ n.jsx(ct.Provider, { value: H, children: /* @__PURE__ */ n.jsxs(
931
+ Ot,
928
932
  {
929
- sensors: K,
933
+ sensors: U,
930
934
  collisionDetection: G,
931
- onDragStart: L,
935
+ onDragStart: $,
932
936
  onDragOver: x,
933
937
  onDragEnd: F,
934
938
  children: [
935
939
  t,
936
- /* @__PURE__ */ n.jsx(Ot, { dropAnimation: null, children: E ? /* @__PURE__ */ n.jsx(
940
+ /* @__PURE__ */ n.jsx(Lt, { dropAnimation: null, children: E ? /* @__PURE__ */ n.jsx(
937
941
  "div",
938
942
  {
939
943
  style: {
940
- width: `${_}px`,
941
- height: `${w}px`,
944
+ width: `${m}px`,
945
+ height: `${j}px`,
942
946
  backgroundColor: "#5329FF",
943
947
  opacity: 0.5,
944
948
  borderRadius: "4px",
@@ -967,80 +971,80 @@ function zt({
967
971
  }
968
972
  ) });
969
973
  }
970
- const Mt = (t) => {
974
+ const Bt = (t) => {
971
975
  var r;
972
976
  return typeof window < "u" && ((r = window.CSS) != null && r.escape) ? window.CSS.escape(t) : t.replace(/([#.;?\[\]\s])/g, "\\$1");
973
- }, Bt = (t) => {
977
+ }, Vt = (t) => {
974
978
  if (typeof document > "u") return null;
975
- const r = `th[data-column-key="${Mt(t)}"]`, o = document.querySelector(r);
976
- return o ? o.getBoundingClientRect().width : null;
979
+ const r = `th[data-column-key="${Bt(t)}"]`, l = document.querySelector(r);
980
+ return l ? l.getBoundingClientRect().width : null;
977
981
  };
978
- function Vt({
982
+ function Ht({
979
983
  column: t,
980
984
  index: r,
981
- config: o,
982
- fullConfig: l,
985
+ config: l,
986
+ fullConfig: s,
983
987
  sorting: E,
984
988
  onSort: y,
985
- onResize: w,
989
+ onResize: j,
986
990
  sortIcon: D,
987
- resizeable: _,
991
+ resizeable: m,
988
992
  draggableColumns: M,
989
993
  preset: k,
990
- headerCellClassName: P,
991
- headerCellStyle: K,
994
+ headerCellClassName: L,
995
+ headerCellStyle: U,
992
996
  headerCellWrapperClassName: G,
993
997
  headerCellWrapperStyle: X,
994
- stickyHeader: U,
998
+ stickyHeader: K,
995
999
  scrollContainerRef: te,
996
1000
  resizeThrottle: V
997
1001
  }) {
998
1002
  var B;
999
1003
  if (t.hidden)
1000
1004
  return null;
1001
- const { activeColumn: d, isValidDropZone: L } = At(), x = !t.children || t.children.length === 0;
1002
- Ae(() => (l == null ? void 0 : l.some((S) => S.children && S.children.length > 0)) || !1, [l]);
1003
- const F = M, p = ne((S) => {
1004
- if (!l) return null;
1005
- const q = (W, a, b = null) => {
1005
+ const { activeColumn: d, isValidDropZone: $ } = zt(), x = !t.children || t.children.length === 0;
1006
+ Ae(() => (s == null ? void 0 : s.some((S) => S.children && S.children.length > 0)) || !1, [s]);
1007
+ const F = M, v = ne((S) => {
1008
+ if (!s) return null;
1009
+ const Z = (W, i, b = null) => {
1006
1010
  for (const u of W) {
1007
- if (u.key === a)
1011
+ if (u.key === i)
1008
1012
  return b;
1009
1013
  if (u.children && u.children.length > 0) {
1010
- const s = q(u.children, a, u);
1011
- if (s !== null) return s;
1014
+ const o = Z(u.children, i, u);
1015
+ if (o !== null) return o;
1012
1016
  }
1013
1017
  }
1014
1018
  return null;
1015
1019
  };
1016
- return q(l, S);
1017
- }, [l])(t.key), f = t.fixed || (p == null ? void 0 : p.fixed) || !1, m = ne((S) => {
1018
- if (!l) return 0;
1019
- const q = (W, a, b = 0) => {
1020
+ return Z(s, S);
1021
+ }, [s])(t.key), f = t.fixed || (v == null ? void 0 : v.fixed) || !1, _ = ne((S) => {
1022
+ if (!s) return 0;
1023
+ const Z = (W, i, b = 0) => {
1020
1024
  for (const u of W) {
1021
- if (u.key === a)
1025
+ if (u.key === i)
1022
1026
  return b;
1023
1027
  if (u.children && u.children.length > 0) {
1024
- const s = q(u.children, a, b + 1);
1025
- if (s !== -1) return s;
1028
+ const o = Z(u.children, i, b + 1);
1029
+ if (o !== -1) return o;
1026
1030
  }
1027
1031
  }
1028
1032
  return -1;
1029
1033
  };
1030
- return q(l, S);
1031
- }, [l])(t.key), {
1032
- attributes: v,
1033
- listeners: h,
1034
+ return Z(s, S);
1035
+ }, [s])(t.key), {
1036
+ attributes: h,
1037
+ listeners: g,
1034
1038
  setNodeRef: C,
1035
1039
  isDragging: T
1036
- } = Pt({
1040
+ } = $t({
1037
1041
  id: `column-${t.key}`,
1038
1042
  data: {
1039
1043
  type: "table-column",
1040
1044
  columnKey: t.key,
1041
1045
  isFixed: f,
1042
- parentKey: p == null ? void 0 : p.key,
1043
- level: m,
1046
+ parentKey: v == null ? void 0 : v.key,
1047
+ level: _,
1044
1048
  index: r,
1045
1049
  isLeaf: x
1046
1050
  // ✅ Добавляем информацию о типе колонки
@@ -1049,7 +1053,7 @@ function Vt({
1049
1053
  }), {
1050
1054
  setNodeRef: O,
1051
1055
  isOver: N
1052
- } = Lt({
1056
+ } = It({
1053
1057
  id: `drop-zone-${t.key}`,
1054
1058
  data: {
1055
1059
  type: "column-drop-zone",
@@ -1062,7 +1066,7 @@ function Vt({
1062
1066
  disabled: !1
1063
1067
  }), ce = ne((S) => {
1064
1068
  C(S), O(S);
1065
- }, [C, O]), ae = Ae(() => {
1069
+ }, [C, O]), ie = Ae(() => {
1066
1070
  if (!d || !N) return !1;
1067
1071
  const S = {
1068
1072
  type: "column-drop-zone",
@@ -1071,46 +1075,46 @@ function Vt({
1071
1075
  accepts: [f ? "fixed" : "non-fixed"],
1072
1076
  isLeaf: x
1073
1077
  };
1074
- return L(d, S);
1075
- }, [d, N, t.key, f, L, x]), se = Ae(() => T ? "grabbing" : N && d ? ae ? "copy" : "not-allowed" : "default", [T, N, d, ae]), de = t.fixed && !t.width ? 200 : t.width, re = t.fixed && !t.minWidth ? 200 : t.minWidth, le = ne(() => {
1078
+ return $(d, S);
1079
+ }, [d, N, t.key, f, $, x]), se = Ae(() => T ? "grabbing" : N && d ? ie ? "copy" : "not-allowed" : "default", [T, N, d, ie]), de = t.fixed && !t.width ? 200 : t.width, re = t.fixed && !t.minWidth ? 200 : t.minWidth, le = ne(() => {
1076
1080
  let S = t.fixedLeft || 0;
1077
1081
  if (!f)
1078
1082
  return S;
1079
- for (let q = 0; q < r; q++) {
1080
- const W = o[q];
1083
+ for (let Z = 0; Z < r; Z++) {
1084
+ const W = l[Z];
1081
1085
  W.fixed && !W.hidden && (S += (W.width || W.minWidth || 200) + (W.fixedLeft || 0));
1082
1086
  }
1083
1087
  return S;
1084
- }, [t.fixedLeft, o, r, f]), [he, A] = ge(() => le());
1088
+ }, [t.fixedLeft, l, r, f]), [he, A] = ge(() => le());
1085
1089
  lt(() => {
1086
1090
  if (!f) {
1087
1091
  A(le());
1088
1092
  return;
1089
1093
  }
1090
1094
  let S = t.fixedLeft || 0;
1091
- for (let q = 0; q < r; q++) {
1092
- const W = o[q];
1095
+ for (let Z = 0; Z < r; Z++) {
1096
+ const W = l[Z];
1093
1097
  if (W.fixed && !W.hidden) {
1094
- const a = W.width || W.minWidth || 200, b = Bt(W.key);
1095
- S += Math.floor(b ?? a) + (W.fixedLeft || 0) - 0.05;
1098
+ const i = W.width || W.minWidth || 200, b = Vt(W.key);
1099
+ S += Math.floor(b ?? i) + (W.fixedLeft || 0) - 0.05;
1096
1100
  }
1097
1101
  }
1098
1102
  A(S);
1099
- }, [t.fixedLeft, t.width, t.minWidth, o, r, f, le]);
1100
- const Z = ((S) => {
1103
+ }, [t.fixedLeft, t.width, t.minWidth, l, r, f, le]);
1104
+ const q = ((S) => {
1101
1105
  if (S.groupColor)
1102
1106
  return S.groupColor;
1103
- if (l) {
1104
- const q = (a, b) => {
1105
- for (const u of a)
1107
+ if (s) {
1108
+ const Z = (i, b) => {
1109
+ for (const u of i)
1106
1110
  if (u.children) {
1107
1111
  if (u.children.some((R) => R.key === b))
1108
1112
  return u;
1109
- const s = q(u.children, b);
1110
- if (s) return s;
1113
+ const o = Z(u.children, b);
1114
+ if (o) return o;
1111
1115
  }
1112
1116
  return null;
1113
- }, W = q(l, S.key);
1117
+ }, W = Z(s, S.key);
1114
1118
  return W == null ? void 0 : W.groupColor;
1115
1119
  }
1116
1120
  })(t);
@@ -1123,11 +1127,11 @@ function Vt({
1123
1127
  className: `
1124
1128
  radar-table__header-cell
1125
1129
  ${k ? k + "__header-cell" : ""}
1126
- ${P || ""}
1130
+ ${L || ""}
1127
1131
  ${T ? "dragging" : ""}
1128
1132
  ${N ? "drag-over" : ""}
1129
- ${ae && N ? "valid-drop-zone" : ""}
1130
- ${N && !ae ? "invalid-drop-zone" : ""}
1133
+ ${ie && N ? "valid-drop-zone" : ""}
1134
+ ${N && !ie ? "invalid-drop-zone" : ""}
1131
1135
  ${x ? "leaf-header" : "group-header"}
1132
1136
  ${t.className || ""}`,
1133
1137
  colSpan: t.colSpan || 1,
@@ -1136,13 +1140,13 @@ function Vt({
1136
1140
  width: de,
1137
1141
  minWidth: re,
1138
1142
  position: t.fixed ? "sticky" : "static",
1139
- top: U && typeof U == "number" ? U : 0,
1143
+ top: K && typeof K == "number" ? K : 0,
1140
1144
  left: he,
1141
- borderRight: t.fixed && !((B = o[r + 1]) != null && B.fixed) ? "1px solid #E8E8E8" : "none",
1145
+ borderRight: t.fixed && !((B = l[r + 1]) != null && B.fixed) ? "1px solid #E8E8E8" : "none",
1142
1146
  zIndex: t.fixed ? 2 : "auto",
1143
- backgroundColor: Z,
1147
+ backgroundColor: q,
1144
1148
  cursor: se,
1145
- ...K,
1149
+ ...U,
1146
1150
  ...t.style
1147
1151
  },
1148
1152
  children: /* @__PURE__ */ n.jsxs(
@@ -1159,8 +1163,8 @@ function Vt({
1159
1163
  "div",
1160
1164
  {
1161
1165
  className: `radar-table__drag-handle ${T ? "dragging" : ""} ${x ? "" : "group-drag-handle"}`,
1162
- ...v,
1163
1166
  ...h,
1167
+ ...g,
1164
1168
  style: { cursor: T ? "grabbing" : "grab" },
1165
1169
  children: /* @__PURE__ */ n.jsxs("svg", { width: "8", height: "10", viewBox: "0 0 16 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
1166
1170
  /* @__PURE__ */ n.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" }),
@@ -1177,12 +1181,12 @@ function Vt({
1177
1181
  {
1178
1182
  title: t.title,
1179
1183
  onClick: () => {
1180
- const { sort_field: S, sort_order: q } = E;
1184
+ const { sort_field: S, sort_order: Z } = E;
1181
1185
  let W = {
1182
1186
  columnKey: t.key,
1183
1187
  direction: "ASC"
1184
1188
  };
1185
- S === t.key ? q === "ASC" ? W.direction = "DESC" : q === "DESC" && (W.columnKey = void 0, W.direction = void 0) : (W.columnKey = t.key, W.direction = "ASC"), y(W.columnKey, W.direction);
1189
+ S === t.key ? Z === "ASC" ? W.direction = "DESC" : Z === "DESC" && (W.columnKey = void 0, W.direction = void 0) : (W.columnKey = t.key, W.direction = "ASC"), y(W.columnKey, W.direction);
1186
1190
  },
1187
1191
  style: {
1188
1192
  cursor: t.sortable ? "pointer" : "default",
@@ -1212,14 +1216,14 @@ function Vt({
1212
1216
  )
1213
1217
  ] }),
1214
1218
  t.sortable && D && x && D(E.sort_field, E.sort_order),
1215
- t.tooltipText && /* @__PURE__ */ n.jsx(Ft, { text: t.tooltipText, children: t.tooltipIcon }),
1216
- _ && x && /* @__PURE__ */ n.jsx(
1217
- Wt,
1219
+ t.tooltipText && /* @__PURE__ */ n.jsx(At, { text: t.tooltipText, children: t.tooltipIcon }),
1220
+ m && x && /* @__PURE__ */ n.jsx(
1221
+ Ft,
1218
1222
  {
1219
1223
  column: t,
1220
1224
  currWidth: de,
1221
1225
  currMinWidth: re,
1222
- onResize: w,
1226
+ onResize: j,
1223
1227
  scrollContainerRef: te
1224
1228
  }
1225
1229
  )
@@ -1232,72 +1236,72 @@ function Vt({
1232
1236
  function nt({
1233
1237
  config: t,
1234
1238
  fullConfig: r,
1235
- onSort: o,
1236
- onResize: l,
1239
+ onSort: l,
1240
+ onResize: s,
1237
1241
  onColumnReorder: E,
1238
1242
  // ✅ Сохранен (понадобится для передачи в TableDndProvider)
1239
1243
  sortIcon: y,
1240
- resizeable: w,
1244
+ resizeable: j,
1241
1245
  draggableColumns: D,
1242
- preset: _,
1246
+ preset: m,
1243
1247
  headerClassName: M,
1244
1248
  headerStyle: k,
1245
- headerRowClassName: P,
1246
- headerRowStyle: K,
1249
+ headerRowClassName: L,
1250
+ headerRowStyle: U,
1247
1251
  headerCellClassName: G,
1248
1252
  headerCellStyle: X,
1249
- headerCellWrapperClassName: U,
1253
+ headerCellWrapperClassName: K,
1250
1254
  headerCellWrapperStyle: te,
1251
1255
  stickyHeader: V,
1252
1256
  scrollContainerRef: d,
1253
1257
  // ✅ Сохранен (для передачи в HeaderCell)
1254
- sorting: L,
1258
+ sorting: $,
1255
1259
  defaultSorting: x,
1256
1260
  resizeThrottle: F
1257
1261
  }) {
1258
- const [J, p] = ge(() => x || { sort_field: void 0, sort_order: void 0 }), f = L !== void 0, c = f ? L : J;
1259
- Ie(() => {
1260
- !f && x && p(x);
1262
+ const [H, v] = ge(() => x || { sort_field: void 0, sort_order: void 0 }), f = $ !== void 0, c = f ? $ : H;
1263
+ Pe(() => {
1264
+ !f && x && v(x);
1261
1265
  }, [x, f]);
1262
- const m = ne((v, h) => {
1266
+ const _ = ne((h, g) => {
1263
1267
  const { sort_field: C, sort_order: T } = c;
1264
1268
  let O = {
1265
- sort_field: v,
1266
- sort_order: h
1269
+ sort_field: h,
1270
+ sort_order: g
1267
1271
  };
1268
- C === v && T === h && (O = {
1272
+ C === h && T === g && (O = {
1269
1273
  sort_field: void 0,
1270
1274
  sort_order: void 0
1271
- }), f || p(O), o == null || o(O.sort_field, O.sort_order);
1272
- }, [c, o, f]);
1275
+ }), f || v(O), l == null || l(O.sort_field, O.sort_order);
1276
+ }, [c, l, f]);
1273
1277
  return /* @__PURE__ */ n.jsx(
1274
1278
  "tr",
1275
1279
  {
1276
- className: `radar-table__header-row ${_ ? _ + "__header-row" : ""} ${P || ""}`,
1277
- style: K,
1278
- children: t.map((v, h) => /* @__PURE__ */ n.jsx(
1279
- Vt,
1280
+ className: `radar-table__header-row ${m ? m + "__header-row" : ""} ${L || ""}`,
1281
+ style: U,
1282
+ children: t.map((h, g) => /* @__PURE__ */ n.jsx(
1283
+ Ht,
1280
1284
  {
1281
- column: v,
1282
- index: h,
1285
+ column: h,
1286
+ index: g,
1283
1287
  config: t,
1284
1288
  fullConfig: r,
1285
1289
  sorting: c,
1286
- onSort: m,
1287
- onResize: l,
1290
+ onSort: _,
1291
+ onResize: s,
1288
1292
  sortIcon: y,
1289
- resizeable: w,
1293
+ resizeable: j,
1290
1294
  draggableColumns: D,
1291
- preset: _,
1295
+ preset: m,
1292
1296
  headerCellClassName: G,
1293
1297
  headerCellStyle: X,
1294
- headerCellWrapperClassName: U,
1298
+ headerCellWrapperClassName: K,
1295
1299
  headerCellWrapperStyle: te,
1296
1300
  stickyHeader: V,
1297
1301
  scrollContainerRef: d,
1298
1302
  resizeThrottle: F
1299
1303
  },
1300
- v.key
1304
+ h.key
1301
1305
  ))
1302
1306
  }
1303
1307
  );
@@ -1305,128 +1309,128 @@ function nt({
1305
1309
  function Jt(t) {
1306
1310
  const {
1307
1311
  config: r,
1308
- preset: o,
1309
- headerClassName: l,
1312
+ preset: l,
1313
+ headerClassName: s,
1310
1314
  headerStyle: E,
1311
1315
  stickyHeader: y,
1312
- headerRowClassName: w,
1316
+ headerRowClassName: j,
1313
1317
  headerRowStyle: D,
1314
- headerCellClassName: _,
1318
+ headerCellClassName: m,
1315
1319
  headerCellStyle: M,
1316
1320
  headerCellWrapperClassName: k,
1317
- headerCellWrapperStyle: P,
1318
- onResize: K,
1321
+ headerCellWrapperStyle: L,
1322
+ onResize: U,
1319
1323
  onColumnReorder: G,
1320
1324
  sorting: X,
1321
- defaultSorting: U
1325
+ defaultSorting: K
1322
1326
  } = t, te = r.some((x) => x.children && x.children.length > 0), V = Ae(() => {
1323
1327
  if (!te)
1324
1328
  return null;
1325
- const x = {}, F = (J, p = 0) => {
1326
- x[p] || (x[p] = []), J.forEach((f) => {
1327
- f.hidden || (x[p].push(f), f.children && f.children.length > 0 && F(f.children, p + 1));
1329
+ const x = {}, F = (H, v = 0) => {
1330
+ x[v] || (x[v] = []), H.forEach((f) => {
1331
+ f.hidden || (x[v].push(f), f.children && f.children.length > 0 && F(f.children, v + 1));
1328
1332
  });
1329
1333
  };
1330
1334
  return F(r), x;
1331
1335
  }, [r, te]), d = ne((x, F) => {
1332
- if (!K) return;
1333
- const J = (c, m) => {
1334
- for (const v of c) {
1335
- if (v.key === m) return v;
1336
- if (v.children) {
1337
- const h = J(v.children, m);
1338
- if (h) return h;
1336
+ if (!U) return;
1337
+ const H = (c, _) => {
1338
+ for (const h of c) {
1339
+ if (h.key === _) return h;
1340
+ if (h.children) {
1341
+ const g = H(h.children, _);
1342
+ if (g) return g;
1339
1343
  }
1340
1344
  }
1341
1345
  return null;
1342
- }, p = (c) => {
1346
+ }, v = (c) => {
1343
1347
  if (!c.children || c.children.length === 0)
1344
1348
  return [c];
1345
- const m = [];
1346
- return c.children.forEach((v) => {
1347
- v.hidden || m.push(...p(v));
1348
- }), m;
1349
- }, f = J(r, x);
1349
+ const _ = [];
1350
+ return c.children.forEach((h) => {
1351
+ h.hidden || _.push(...v(h));
1352
+ }), _;
1353
+ }, f = H(r, x);
1350
1354
  if (f)
1351
1355
  if (f.children && f.children.length > 0) {
1352
- const c = p(f);
1356
+ const c = v(f);
1353
1357
  if (c.length > 0) {
1354
- const m = c.reduce((h, C) => h + (C.width || C.minWidth || 200), 0), v = F / m;
1355
- c.forEach((h) => {
1356
- const C = Math.max(50, Math.round((h.width || h.minWidth || 200) * v));
1357
- K(h.key, C);
1358
+ const _ = c.reduce((g, C) => g + (C.width || C.minWidth || 200), 0), h = F / _;
1359
+ c.forEach((g) => {
1360
+ const C = Math.max(50, Math.round((g.width || g.minWidth || 200) * h));
1361
+ U(g.key, C);
1358
1362
  });
1359
1363
  }
1360
1364
  } else
1361
- K(x, F);
1362
- }, [r, K]), L = ne((x) => {
1365
+ U(x, F);
1366
+ }, [r, U]), $ = ne((x) => {
1363
1367
  if (!G) return;
1364
1368
  if (!te) {
1365
1369
  G(x);
1366
1370
  return;
1367
1371
  }
1368
- const F = (A, I, Z = [], Q = null) => {
1372
+ const F = (A, P, q = [], Q = null) => {
1369
1373
  for (let oe = 0; oe < A.length; oe++) {
1370
- const B = A[oe], S = [...Z, oe];
1371
- if (B.key === I)
1374
+ const B = A[oe], S = [...q, oe];
1375
+ if (B.key === P)
1372
1376
  return {
1373
1377
  column: B,
1374
1378
  parent: Q,
1375
1379
  path: S,
1376
- level: Z.length
1380
+ level: q.length
1377
1381
  };
1378
1382
  if (B.children && B.children.length > 0) {
1379
- const q = F(B.children, I, S, B);
1380
- if (q)
1381
- return q;
1383
+ const Z = F(B.children, P, S, B);
1384
+ if (Z)
1385
+ return Z;
1382
1386
  }
1383
1387
  }
1384
1388
  return null;
1385
1389
  };
1386
1390
  if (!Object.values(V).find((A) => {
1387
1391
  if (A.length !== x.length) return !1;
1388
- const I = A.map((Q) => Q.key).sort(), Z = x.map((Q) => Q.key).sort();
1389
- return JSON.stringify(I) === JSON.stringify(Z);
1392
+ const P = A.map((Q) => Q.key).sort(), q = x.map((Q) => Q.key).sort();
1393
+ return JSON.stringify(P) === JSON.stringify(q);
1390
1394
  }))
1391
1395
  return;
1392
- const p = x._dragInfo;
1393
- if (!(p != null && p.draggedKey) || !(p != null && p.targetKey))
1396
+ const v = x._dragInfo;
1397
+ if (!(v != null && v.draggedKey) || !(v != null && v.targetKey))
1394
1398
  return;
1395
- const { draggedKey: f, targetKey: c } = p, m = F(r, f), v = F(r, c);
1396
- if (!m || !v) return;
1397
- const { column: h, parent: C, path: T, level: O } = m, { column: N, parent: ce, path: ae, level: se } = v, de = (A, I) => A.fixed || (I == null ? void 0 : I.fixed) || !1, re = de(h, C), le = de(N, ce);
1399
+ const { draggedKey: f, targetKey: c } = v, _ = F(r, f), h = F(r, c);
1400
+ if (!_ || !h) return;
1401
+ const { column: g, parent: C, path: T, level: O } = _, { column: N, parent: ce, path: ie, level: se } = h, de = (A, P) => A.fixed || (P == null ? void 0 : P.fixed) || !1, re = de(g, C), le = de(N, ce);
1398
1402
  if (O !== se || C !== ce || C && ce && C.key !== ce.key || re !== le)
1399
1403
  return;
1400
1404
  const he = JSON.parse(JSON.stringify(r));
1401
1405
  if (O === 0) {
1402
- const A = T[0], I = ae[0], [Z] = he.splice(A, 1);
1403
- he.splice(I, 0, Z);
1406
+ const A = T[0], P = ie[0], [q] = he.splice(A, 1);
1407
+ he.splice(P, 0, q);
1404
1408
  } else {
1405
1409
  const A = T.slice(0, -1);
1406
- let I = he;
1410
+ let P = he;
1407
1411
  for (let B = 0; B < A.length; B++)
1408
- B === 0 ? I = I[A[B]] : I = I.children[A[B]];
1409
- if (!I || !I.children)
1412
+ B === 0 ? P = P[A[B]] : P = P.children[A[B]];
1413
+ if (!P || !P.children)
1410
1414
  return;
1411
- const Z = T[T.length - 1], Q = ae[ae.length - 1];
1412
- if (Z < 0 || Z >= I.children.length || Q < 0 || Q >= I.children.length)
1415
+ const q = T[T.length - 1], Q = ie[ie.length - 1];
1416
+ if (q < 0 || q >= P.children.length || Q < 0 || Q >= P.children.length)
1413
1417
  return;
1414
- const [oe] = I.children.splice(Z, 1);
1415
- I.children.splice(Q, 0, oe);
1418
+ const [oe] = P.children.splice(q, 1);
1419
+ P.children.splice(Q, 0, oe);
1416
1420
  }
1417
1421
  G(he);
1418
1422
  }, [r, G, V]);
1419
1423
  return te ? /* @__PURE__ */ n.jsx(
1420
1424
  "thead",
1421
1425
  {
1422
- className: `radar-table__header ${o ? o + "__header" : ""} ${l}`,
1426
+ className: `radar-table__header ${l ? l + "__header" : ""} ${s}`,
1423
1427
  style: {
1424
1428
  position: y ? "sticky" : "static",
1425
1429
  top: y && typeof y == "number" ? y : 0,
1426
1430
  ...E
1427
1431
  },
1428
1432
  children: Object.keys(V).map((x) => {
1429
- const F = V[parseInt(x)], J = parseInt(x);
1433
+ const F = V[parseInt(x)], H = parseInt(x);
1430
1434
  return /* @__PURE__ */ n.jsx(
1431
1435
  nt,
1432
1436
  {
@@ -1434,27 +1438,27 @@ function Jt(t) {
1434
1438
  fullConfig: r,
1435
1439
  onSort: t.onSort,
1436
1440
  onResize: d,
1437
- onColumnReorder: L,
1441
+ onColumnReorder: $,
1438
1442
  resizeable: t.resizeable,
1439
1443
  draggableColumns: t.draggableColumns,
1440
- preset: o,
1441
- headerClassName: l,
1444
+ preset: l,
1445
+ headerClassName: s,
1442
1446
  headerStyle: E,
1443
- headerRowClassName: w,
1447
+ headerRowClassName: j,
1444
1448
  headerRowStyle: {
1445
1449
  ...D,
1446
1450
  position: y ? "sticky" : "static",
1447
- top: y && typeof y == "number" ? y + (J - 1) * 50 : 0
1451
+ top: y && typeof y == "number" ? y + (H - 1) * 50 : 0
1448
1452
  },
1449
- headerCellClassName: _,
1453
+ headerCellClassName: m,
1450
1454
  headerCellStyle: M,
1451
1455
  headerCellWrapperClassName: k,
1452
- headerCellWrapperStyle: P,
1456
+ headerCellWrapperStyle: L,
1453
1457
  stickyHeader: y,
1454
1458
  sortIcon: t.sortIcon,
1455
1459
  scrollContainerRef: t.scrollContainerRef,
1456
1460
  sorting: X,
1457
- defaultSorting: U,
1461
+ defaultSorting: K,
1458
1462
  resizeThrottle: t.resizeThrottle
1459
1463
  },
1460
1464
  x
@@ -1464,146 +1468,146 @@ function Jt(t) {
1464
1468
  ) : /* @__PURE__ */ n.jsx(
1465
1469
  "thead",
1466
1470
  {
1467
- className: `radar-table__header ${o ? o + "__header" : ""} ${l}`,
1471
+ className: `radar-table__header ${l ? l + "__header" : ""} ${s}`,
1468
1472
  style: {
1469
1473
  position: y ? "sticky" : "static",
1470
1474
  top: y && typeof y == "number" ? y : 0,
1471
1475
  ...E
1472
1476
  },
1473
- children: /* @__PURE__ */ n.jsx(nt, { ...t, fullConfig: r, onResize: d, onColumnReorder: L, scrollContainerRef: t.scrollContainerRef, sorting: X, defaultSorting: U, resizeThrottle: t.resizeThrottle })
1477
+ children: /* @__PURE__ */ n.jsx(nt, { ...t, fullConfig: r, onResize: d, onColumnReorder: $, scrollContainerRef: t.scrollContainerRef, sorting: X, defaultSorting: K, resizeThrottle: t.resizeThrottle })
1474
1478
  }
1475
1479
  );
1476
1480
  }
1477
- const Ht = (t, r) => {
1478
- let o = "0";
1481
+ const Yt = (t, r) => {
1482
+ let l = "0";
1479
1483
  if (t != null) {
1480
- const l = parseFloat(t);
1481
- if (Number.isNaN(l))
1482
- return r && (o += ` ${r}`), o;
1483
- o = l.toLocaleString("ru-RU", {
1484
+ const s = parseFloat(t);
1485
+ if (Number.isNaN(s))
1486
+ return r && (l += ` ${r}`), l;
1487
+ l = s.toLocaleString("ru-RU", {
1484
1488
  maximumFractionDigits: 2
1485
- }), r && (o += ` ${r}`);
1489
+ }), r && (l += ` ${r}`);
1486
1490
  }
1487
- return o;
1488
- }, Yt = (t) => {
1491
+ return l;
1492
+ }, Kt = (t) => {
1489
1493
  var r;
1490
1494
  return typeof window < "u" && ((r = window.CSS) != null && r.escape) ? window.CSS.escape(t) : t.replace(/([#.;?\[\]\s])/g, "\\$1");
1491
1495
  }, Ut = (t) => {
1492
1496
  if (typeof document > "u") return null;
1493
- const r = `th[data-column-key="${Yt(t)}"]`, o = document.querySelector(r);
1494
- return o ? o.getBoundingClientRect().width : null;
1495
- }, Kt = typeof navigator < "u" && navigator.userAgent.toLowerCase().includes("firefox");
1497
+ const r = `th[data-column-key="${Kt(t)}"]`, l = document.querySelector(r);
1498
+ return l ? l.getBoundingClientRect().width : null;
1499
+ }, qt = typeof navigator < "u" && navigator.userAgent.toLowerCase().includes("firefox");
1496
1500
  function Zt({
1497
1501
  draggableRows: t = !1,
1498
1502
  dataSource: r,
1499
- config: o,
1500
- rowKey: l,
1503
+ config: l,
1504
+ rowKey: s,
1501
1505
  loading: E = !1,
1502
1506
  onRowReorder: y,
1503
- preset: w,
1507
+ preset: j,
1504
1508
  customCellRender: D,
1505
- treeMode: _,
1509
+ treeMode: m,
1506
1510
  expandedRowKeys: M,
1507
1511
  defaultExpandedRowKeys: k,
1508
- onExpandedRowsChange: P,
1509
- indentSize: K,
1512
+ onExpandedRowsChange: L,
1513
+ indentSize: U,
1510
1514
  expandIcon: G,
1511
1515
  bodyClassName: X,
1512
- bodyStyle: U,
1516
+ bodyStyle: K,
1513
1517
  bodyRowClassName: te,
1514
1518
  bodyRowStyle: V,
1515
1519
  bodyCellClassName: d,
1516
- bodyCellStyle: L,
1520
+ bodyCellStyle: $,
1517
1521
  bodyCellWrapperClassName: x,
1518
1522
  bodyCellWrapperStyle: F,
1519
- noDataRender: J,
1520
- scrollContainerRef: p,
1523
+ noDataRender: H,
1524
+ scrollContainerRef: v,
1521
1525
  recalculateRowHeight: f
1522
1526
  }) {
1523
1527
  var W;
1524
- const [c, m] = ge(null), [v, h] = ge(null), [C, T] = ge(() => k && k.length > 0 ? new Set(k) : /* @__PURE__ */ new Set()), O = Ne.useMemo(() => M ? new Set(M) : C, [M, C]), N = ne((a) => {
1525
- M || T(new Set(a)), P == null || P(a);
1526
- }, [M, P]), ce = ne((a) => l ? l(a) : JSON.stringify(a), [l]), ae = Ne.useMemo(() => {
1527
- if (!_) return [];
1528
- const a = [], b = r;
1529
- return b.forEach((u, s) => {
1530
- const R = ce(u), H = u == null ? void 0 : u.children;
1531
- a.push({
1528
+ const [c, _] = ge(null), [h, g] = ge(null), [C, T] = ge(() => k && k.length > 0 ? new Set(k) : /* @__PURE__ */ new Set()), O = Oe.useMemo(() => M ? new Set(M) : C, [M, C]), N = ne((i) => {
1529
+ M || T(new Set(i)), L == null || L(i);
1530
+ }, [M, L]), ce = ne((i) => s ? s(i) : JSON.stringify(i), [s]), ie = Oe.useMemo(() => {
1531
+ if (!m) return [];
1532
+ const i = [], b = r;
1533
+ return b.forEach((u, o) => {
1534
+ const R = ce(u), J = u == null ? void 0 : u.children;
1535
+ i.push({
1532
1536
  record: u,
1533
1537
  key: R,
1534
1538
  type: "parent",
1535
1539
  depth: 0,
1536
- indexWithinGroup: s,
1540
+ indexWithinGroup: o,
1537
1541
  groupSize: b.length
1538
- }), H && H.length > 0 && O.has(R) && H.forEach(($, be) => {
1539
- a.push({
1540
- record: $,
1541
- key: ce($),
1542
+ }), J && J.length > 0 && O.has(R) && J.forEach((I, be) => {
1543
+ i.push({
1544
+ record: I,
1545
+ key: ce(I),
1542
1546
  type: "child",
1543
1547
  parentKey: R,
1544
1548
  depth: 1,
1545
1549
  indexWithinGroup: be,
1546
- groupSize: H.length
1550
+ groupSize: J.length
1547
1551
  });
1548
1552
  });
1549
- }), a;
1550
- }, [_, r, ce, O]), se = Ne.useMemo(() => {
1551
- const a = /* @__PURE__ */ new Map();
1552
- return ae.forEach((b) => a.set(b.key, b)), a;
1553
- }, [ae]);
1554
- Ie(() => {
1555
- Kt && f && (() => {
1553
+ }), i;
1554
+ }, [m, r, ce, O]), se = Oe.useMemo(() => {
1555
+ const i = /* @__PURE__ */ new Map();
1556
+ return ie.forEach((b) => i.set(b.key, b)), i;
1557
+ }, [ie]);
1558
+ Pe(() => {
1559
+ qt && f && (() => {
1556
1560
  const b = document.querySelectorAll(".radar-table__body-row");
1557
- document.querySelectorAll(".radar-table__header-row").forEach((s) => {
1558
- const R = s.querySelectorAll(".radar-table__header-cell-wrapper");
1559
- let H = 0;
1560
- R.forEach(($) => {
1561
- $.style.height = "auto", H = Math.max(H, $.offsetHeight);
1562
- }), R.forEach(($) => {
1563
- $.style.height = H + "px";
1561
+ document.querySelectorAll(".radar-table__header-row").forEach((o) => {
1562
+ const R = o.querySelectorAll(".radar-table__header-cell-wrapper");
1563
+ let J = 0;
1564
+ R.forEach((I) => {
1565
+ I.style.height = "auto", J = Math.max(J, I.offsetHeight);
1566
+ }), R.forEach((I) => {
1567
+ I.style.height = J + "px";
1564
1568
  });
1565
- }), b.forEach((s) => {
1566
- const R = s.querySelectorAll(".radar-table__body-cell-wrapper");
1567
- let H = 0;
1568
- R.forEach(($) => {
1569
- $.style.height = "auto", H = Math.max(H, $.offsetHeight);
1570
- }), R.forEach(($) => {
1571
- $.style.height = H + "px";
1569
+ }), b.forEach((o) => {
1570
+ const R = o.querySelectorAll(".radar-table__body-cell-wrapper");
1571
+ let J = 0;
1572
+ R.forEach((I) => {
1573
+ I.style.height = "auto", J = Math.max(J, I.offsetHeight);
1574
+ }), R.forEach((I) => {
1575
+ I.style.height = J + "px";
1572
1576
  });
1573
1577
  });
1574
1578
  })();
1575
- }, [r, o]);
1576
- const re = ((a) => {
1577
- const b = [], u = (s) => {
1578
- s.forEach((R) => {
1579
+ }, [r, l]);
1580
+ const re = ((i) => {
1581
+ const b = [], u = (o) => {
1582
+ o.forEach((R) => {
1579
1583
  R.children && R.children.length > 0 ? u(R.children) : b.push(R);
1580
1584
  });
1581
1585
  };
1582
- return u(a), b;
1583
- })(o), le = (a) => {
1584
- if (a.groupColor)
1585
- return a.groupColor;
1586
- const b = (s, R) => {
1587
- for (const H of s)
1588
- if (H.children) {
1589
- if (H.children.some((be) => be.key === R))
1590
- return H;
1591
- const $ = b(H.children, R);
1592
- if ($) return $;
1586
+ return u(i), b;
1587
+ })(l), le = (i) => {
1588
+ if (i.groupColor)
1589
+ return i.groupColor;
1590
+ const b = (o, R) => {
1591
+ for (const J of o)
1592
+ if (J.children) {
1593
+ if (J.children.some((be) => be.key === R))
1594
+ return J;
1595
+ const I = b(J.children, R);
1596
+ if (I) return I;
1593
1597
  }
1594
1598
  return null;
1595
- }, u = b(o, a.key);
1599
+ }, u = b(l, i.key);
1596
1600
  return u == null ? void 0 : u.groupColor;
1597
- }, he = ne((a, b) => {
1601
+ }, he = ne((i, b) => {
1598
1602
  if (!b) {
1599
- a.preventDefault();
1603
+ i.preventDefault();
1600
1604
  return;
1601
1605
  }
1602
- m(b), a.dataTransfer.effectAllowed = "move", a.dataTransfer.setData("text/plain", b), document.body.style.cursor = "grabbing";
1603
- const u = r.find((s) => (l ? l(s) : JSON.stringify(s)) === b);
1606
+ _(b), i.dataTransfer.effectAllowed = "move", i.dataTransfer.setData("text/plain", b), document.body.style.cursor = "grabbing";
1607
+ const u = r.find((o) => (s ? s(o) : JSON.stringify(o)) === b);
1604
1608
  if (u) {
1605
- const s = document.createElement("div");
1606
- s.style.cssText = `
1609
+ const o = document.createElement("div");
1610
+ o.style.cssText = `
1607
1611
  background: white;
1608
1612
  border-radius: 6px;
1609
1613
  padding: 8px 12px;
@@ -1619,114 +1623,114 @@ function Zt({
1619
1623
  `;
1620
1624
  const R = re[0];
1621
1625
  if (R) {
1622
- const $ = u[R.key];
1623
- s.textContent = ($ == null ? void 0 : $.toString()) || "Строка";
1626
+ const I = u[R.key];
1627
+ o.textContent = (I == null ? void 0 : I.toString()) || "Строка";
1624
1628
  } else
1625
- s.textContent = "Строка";
1626
- document.body.appendChild(s), s.style.position = "absolute", s.style.top = "-1000px", s.style.left = "-1000px", a.dataTransfer.setDragImage(s, 10, 10);
1627
- const H = setTimeout(() => {
1628
- document.body.contains(s) && document.body.removeChild(s);
1629
+ o.textContent = "Строка";
1630
+ document.body.appendChild(o), o.style.position = "absolute", o.style.top = "-1000px", o.style.left = "-1000px", i.dataTransfer.setDragImage(o, 10, 10);
1631
+ const J = setTimeout(() => {
1632
+ document.body.contains(o) && document.body.removeChild(o);
1629
1633
  }, 0);
1630
- return () => clearTimeout(H);
1631
- }
1632
- }, []), A = ne((a) => {
1633
- a.preventDefault(), a.dataTransfer.dropEffect = "move";
1634
- }, []), I = ne((a, b) => {
1635
- if (a.preventDefault(), !c) return;
1636
- if (!_) {
1637
- c !== b && h(b);
1634
+ return () => clearTimeout(J);
1635
+ }
1636
+ }, []), A = ne((i) => {
1637
+ i.preventDefault(), i.dataTransfer.dropEffect = "move";
1638
+ }, []), P = ne((i, b) => {
1639
+ if (i.preventDefault(), !c) return;
1640
+ if (!m) {
1641
+ c !== b && g(b);
1638
1642
  return;
1639
1643
  }
1640
- const u = se.get(c), s = se.get(b);
1641
- if (!u || !s) return;
1642
- const R = u.type === "parent" && s.type === "parent" || u.type === "child" && s.type === "child" && u.parentKey === s.parentKey;
1643
- h(R && c !== b ? b : null);
1644
- }, [c, _, se]), Z = ne((a) => {
1645
- a.preventDefault(), h(null);
1644
+ const u = se.get(c), o = se.get(b);
1645
+ if (!u || !o) return;
1646
+ const R = u.type === "parent" && o.type === "parent" || u.type === "child" && o.type === "child" && u.parentKey === o.parentKey;
1647
+ g(R && c !== b ? b : null);
1648
+ }, [c, m, se]), q = ne((i) => {
1649
+ i.preventDefault(), g(null);
1646
1650
  }, []), Q = ne(() => {
1647
- m(null), h(null), document.body.style.cursor = "";
1648
- }, []), oe = ne((a, b) => {
1649
- if (a.preventDefault(), !c || c === b)
1651
+ _(null), g(null), document.body.style.cursor = "";
1652
+ }, []), oe = ne((i, b) => {
1653
+ if (i.preventDefault(), !c || c === b)
1650
1654
  return;
1651
- if (!_) {
1652
- const R = r.findIndex((pe) => (l ? l(pe) : JSON.stringify(pe)) === c), H = r.findIndex((pe) => (l ? l(pe) : JSON.stringify(pe)) === b);
1653
- if (R === -1 || H === -1)
1655
+ if (!m) {
1656
+ const R = r.findIndex((pe) => (s ? s(pe) : JSON.stringify(pe)) === c), J = r.findIndex((pe) => (s ? s(pe) : JSON.stringify(pe)) === b);
1657
+ if (R === -1 || J === -1)
1654
1658
  return;
1655
- const $ = [...r], [be] = $.splice(R, 1);
1656
- $.splice(H, 0, be), y == null || y($), m(null), h(null), document.body.style.cursor = "";
1659
+ const I = [...r], [be] = I.splice(R, 1);
1660
+ I.splice(J, 0, be), y == null || y(I), _(null), g(null), document.body.style.cursor = "";
1657
1661
  return;
1658
1662
  }
1659
- const u = se.get(c), s = se.get(b);
1660
- if (!(!u || !s)) {
1661
- if (u.type === "parent" && s.type === "parent") {
1662
- const R = r.findIndex((pe) => (l ? l(pe) : JSON.stringify(pe)) === u.key), H = r.findIndex((pe) => (l ? l(pe) : JSON.stringify(pe)) === s.key);
1663
- if (R === -1 || H === -1) return;
1664
- const $ = [...r], [be] = $.splice(R, 1);
1665
- $.splice(H, 0, be), y == null || y($), m(null), h(null), document.body.style.cursor = "";
1663
+ const u = se.get(c), o = se.get(b);
1664
+ if (!(!u || !o)) {
1665
+ if (u.type === "parent" && o.type === "parent") {
1666
+ const R = r.findIndex((pe) => (s ? s(pe) : JSON.stringify(pe)) === u.key), J = r.findIndex((pe) => (s ? s(pe) : JSON.stringify(pe)) === o.key);
1667
+ if (R === -1 || J === -1) return;
1668
+ const I = [...r], [be] = I.splice(R, 1);
1669
+ I.splice(J, 0, be), y == null || y(I), _(null), g(null), document.body.style.cursor = "";
1666
1670
  return;
1667
1671
  }
1668
- if (u.type === "child" && s.type === "child" && u.parentKey === s.parentKey) {
1669
- const R = r.findIndex((ve) => (l ? l(ve) : JSON.stringify(ve)) === u.parentKey);
1672
+ if (u.type === "child" && o.type === "child" && u.parentKey === o.parentKey) {
1673
+ const R = r.findIndex((ve) => (s ? s(ve) : JSON.stringify(ve)) === u.parentKey);
1670
1674
  if (R === -1) return;
1671
- const H = r[R], $ = H == null ? void 0 : H.children;
1672
- if (!$ || $.length === 0) return;
1673
- const be = $.findIndex((ve) => (l ? l(ve) : JSON.stringify(ve)) === u.key), pe = $.findIndex((ve) => (l ? l(ve) : JSON.stringify(ve)) === s.key);
1675
+ const J = r[R], I = J == null ? void 0 : J.children;
1676
+ if (!I || I.length === 0) return;
1677
+ const be = I.findIndex((ve) => (s ? s(ve) : JSON.stringify(ve)) === u.key), pe = I.findIndex((ve) => (s ? s(ve) : JSON.stringify(ve)) === o.key);
1674
1678
  if (be === -1 || pe === -1) return;
1675
- const me = r.map((ve, Ee) => {
1679
+ const _e = r.map((ve, Ee) => {
1676
1680
  if (Ee !== R) return ve;
1677
- const ke = [...$], [Se] = ke.splice(be, 1);
1681
+ const ke = [...I], [Se] = ke.splice(be, 1);
1678
1682
  return ke.splice(pe, 0, Se), { ...ve, children: ke };
1679
1683
  });
1680
- y == null || y(me), m(null), h(null), document.body.style.cursor = "";
1684
+ y == null || y(_e), _(null), g(null), document.body.style.cursor = "";
1681
1685
  return;
1682
1686
  }
1683
1687
  }
1684
- }, [c, r, l, y, _, se]);
1688
+ }, [c, r, s, y, m, se]);
1685
1689
  if (r.length === 0) {
1686
- let a;
1687
- return p && (a = ((W = p.current) == null ? void 0 : W.clientWidth) + "px"), /* @__PURE__ */ n.jsx("tbody", { className: `radar-table__body ${w ? w + "__body" : ""} ${X}`, style: U, children: /* @__PURE__ */ n.jsx(
1690
+ let i;
1691
+ return v && (i = ((W = v.current) == null ? void 0 : W.clientWidth) + "px"), /* @__PURE__ */ n.jsx("tbody", { className: `radar-table__body ${j ? j + "__body" : ""} ${X}`, style: K, children: /* @__PURE__ */ n.jsx(
1688
1692
  "tr",
1689
1693
  {
1690
- className: `radar-table__body-row ${w ? w + "__body-row" : ""} ${te}`,
1694
+ className: `radar-table__body-row ${j ? j + "__body-row" : ""} ${te}`,
1691
1695
  style: V,
1692
1696
  children: /* @__PURE__ */ n.jsxs(
1693
1697
  "td",
1694
1698
  {
1695
- className: `radar-table__body-cell ${w ? w + "__body-cell" : ""} ${d}`,
1699
+ className: `radar-table__body-cell ${j ? j + "__body-cell" : ""} ${d}`,
1696
1700
  colSpan: re.length,
1697
1701
  style: {
1698
- ...L
1702
+ ...$
1699
1703
  },
1700
1704
  children: [
1701
- J && J(),
1702
- !J && /* @__PURE__ */ n.jsx("div", { className: `${a ? "radar-table__body-noData_width" : "radar-table__body-noData"}`, style: { width: a || "" }, children: "Нет данных" })
1705
+ H && H(),
1706
+ !H && /* @__PURE__ */ n.jsx("div", { className: `${i ? "radar-table__body-noData_width" : "radar-table__body-noData"}`, style: { width: i || "" }, children: "Нет данных" })
1703
1707
  ]
1704
1708
  }
1705
1709
  )
1706
1710
  }
1707
1711
  ) });
1708
1712
  }
1709
- const B = _ ? ae : r.map((a) => ({
1710
- record: a,
1711
- key: l ? l(a) : JSON.stringify(a),
1713
+ const B = m ? ie : r.map((i) => ({
1714
+ record: i,
1715
+ key: s ? s(i) : JSON.stringify(i),
1712
1716
  type: "parent",
1713
1717
  depth: 0,
1714
1718
  indexWithinGroup: 0,
1715
1719
  groupSize: r.length
1716
- })), S = ne((a) => {
1720
+ })), S = ne((i) => {
1717
1721
  const b = new Set(O);
1718
- b.has(a) ? b.delete(a) : b.add(a), N(Array.from(b));
1722
+ b.has(i) ? b.delete(i) : b.add(i), N(Array.from(b));
1719
1723
  }, [O, N]);
1720
- function q({ column: a, index: b, row: u, item: s }) {
1721
- var Oe, Pe;
1722
- const R = we(null), [H, $] = ge(0), be = a.fixed && !a.width ? 200 : a.width, pe = a.fixed && !a.minWidth ? 200 : a.minWidth;
1723
- let me = !1;
1724
- D && D.idx.includes(a.dataIndex) && (me = !0), D && D.idx.length === 0 && (me = !0), lt(() => {
1725
- if (!a.fixed) {
1726
- $(0);
1724
+ function Z({ column: i, index: b, row: u, item: o }) {
1725
+ var Le, $e;
1726
+ const R = je(null), [J, I] = ge(0), be = i.fixed && !i.width ? 200 : i.width, pe = i.fixed && !i.minWidth ? 200 : i.minWidth;
1727
+ let _e = !1;
1728
+ D && D.idx.includes(i.dataIndex) && (_e = !0), D && D.idx.length === 0 && (_e = !0), lt(() => {
1729
+ if (!i.fixed) {
1730
+ I(0);
1727
1731
  return;
1728
1732
  }
1729
- let Fe = a.fixedLeft || 0;
1733
+ let Fe = i.fixedLeft || 0;
1730
1734
  if (b !== 0) {
1731
1735
  for (let Ce = 0; Ce < b; Ce++)
1732
1736
  if (re[Ce].fixed && !re[Ce].hidden) {
@@ -1734,117 +1738,120 @@ function Zt({
1734
1738
  Fe += Math.floor(Me ?? ze) - 0.05;
1735
1739
  }
1736
1740
  }
1737
- $(Fe);
1738
- }, [a.fixed, a.fixedLeft, a.width, b]);
1739
- const ve = le(a), Ee = b === 0, ke = _ && Ee && u.depth > 0 ? u.depth * (K || 16) : void 0, Se = !!(_ && u.type === "parent"), je = !!(_ && O.has(u.key)), We = !!(_ && Se && (s != null && s.children) && s.children.length > 0);
1740
- return a.hidden ? null : /* @__PURE__ */ n.jsx(
1741
+ I(Fe);
1742
+ }, [i.fixed, i.fixedLeft, i.width, b]);
1743
+ const ve = le(i), Ee = b === 0, ke = m && Ee && u.depth > 0 ? u.depth * (U || 16) : void 0, Se = !!(m && u.type === "parent"), we = !!(m && O.has(u.key)), We = !!(m && Se && (o != null && o.children) && o.children.length > 0);
1744
+ return i.hidden ? null : /* @__PURE__ */ n.jsx(
1741
1745
  "td",
1742
1746
  {
1743
1747
  ref: R,
1744
- className: `radar-table__body-cell ${w ? w + "__body-cell" : ""} ${d}`,
1748
+ className: `radar-table__body-cell ${j ? j + "__body-cell" : ""} ${d}`,
1745
1749
  style: {
1746
1750
  width: be,
1747
1751
  minWidth: pe,
1748
- position: a.fixed ? "sticky" : "static",
1749
- left: H,
1750
- borderRight: a.fixed && !((Oe = re[b + 1]) != null && Oe.fixed) ? "1px solid #E8E8E8" : "none",
1752
+ position: i.fixed ? "sticky" : "static",
1753
+ left: J,
1754
+ borderRight: i.fixed && !((Le = re[b + 1]) != null && Le.fixed) ? "1px solid #E8E8E8" : "none",
1751
1755
  cursor: Ee && We ? "pointer" : "default",
1752
- ...L
1756
+ ...$
1753
1757
  },
1754
1758
  onClick: Ee && We ? () => S(u.key) : void 0,
1755
1759
  children: /* @__PURE__ */ n.jsxs(
1756
1760
  "div",
1757
1761
  {
1758
- className: `radar-table__body-cell-wrapper ${w ? w + "__body-cell-wrapper" : ""} ${x}`,
1762
+ className: `radar-table__body-cell-wrapper ${j ? j + "__body-cell-wrapper" : ""} ${x}`,
1759
1763
  style: {
1760
1764
  backgroundColor: ve || "white",
1761
1765
  paddingLeft: ke,
1762
1766
  ...F
1763
1767
  },
1764
1768
  children: [
1765
- Ee && Se && _ && (s == null ? void 0 : s.children) && s.children.length > 0 && /* @__PURE__ */ n.jsx(
1769
+ Ee && Se && m && (o == null ? void 0 : o.children) && o.children.length > 0 && /* @__PURE__ */ n.jsx(
1766
1770
  "button",
1767
1771
  {
1768
1772
  type: "button",
1769
- className: `radar-table__expander-btn ${je ? "expanded" : ""}`,
1770
- "aria-expanded": je,
1773
+ className: `radar-table__expander-btn ${we ? "expanded" : ""}`,
1774
+ "aria-expanded": we,
1771
1775
  onClick: () => S(u.key),
1772
- style: { marginRight: 8, background: "transparent", border: "none", transform: je ? "rotate(180deg)" : "rotate(0deg)", transition: "transform 150ms ease" },
1773
- title: je ? "Свернуть" : "Развернуть",
1774
- children: G ? G(je, s) : /* @__PURE__ */ n.jsx("svg", { width: "12", height: "8", viewBox: "0 0 12 8", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ n.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" }) })
1776
+ style: { marginRight: 8, background: "transparent", border: "none", transform: we ? "rotate(180deg)" : "rotate(0deg)", transition: "transform 150ms ease" },
1777
+ title: we ? "Свернуть" : "Развернуть",
1778
+ children: G ? G(we, o) : /* @__PURE__ */ n.jsx("svg", { width: "12", height: "8", viewBox: "0 0 12 8", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ n.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" }) })
1775
1779
  }
1776
1780
  ),
1777
- me ? D == null ? void 0 : D.renderer(s[a.dataIndex], s, b, a.dataIndex) : /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
1778
- a.units && Ht(((Pe = s[a.key]) == null ? void 0 : Pe.toString()) || "", a.units),
1779
- !a.units && s[a.key]
1781
+ _e ? D == null ? void 0 : D.renderer(o[i.dataIndex], o, b, i.dataIndex) : /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
1782
+ i.units && Yt((($e = o[i.key]) == null ? void 0 : $e.toString()) || "", i.units),
1783
+ !i.units && o[i.key]
1780
1784
  ] })
1781
1785
  ]
1782
1786
  }
1783
1787
  )
1784
1788
  },
1785
- a.key
1789
+ i.key
1786
1790
  );
1787
1791
  }
1788
- return /* @__PURE__ */ n.jsx("tbody", { className: `radar-table__body ${w ? w + "__body" : ""} ${X}`, style: U, children: B.map((a) => {
1789
- const b = a.record, u = a.key;
1792
+ return /* @__PURE__ */ n.jsx("tbody", { className: `radar-table__body ${j ? j + "__body" : ""} ${X}`, style: K, children: B.map((i) => {
1793
+ const b = i.record, u = i.key;
1790
1794
  return /* @__PURE__ */ n.jsx(
1791
1795
  "tr",
1792
1796
  {
1793
- className: `radar-table__body-row ${w ? w + "__body-row" : ""} ${te} ${c === u ? "dragging" : ""} ${v === u ? "drag-over" : ""} ${_ ? a.type === "parent" ? "radar-table__body-row--parent" : "radar-table__body-row--child" : ""}`,
1797
+ className: `radar-table__body-row ${j ? j + "__body-row" : ""} ${te} ${c === u ? "dragging" : ""} ${h === u ? "drag-over" : ""} ${m ? i.type === "parent" ? "radar-table__body-row--parent" : "radar-table__body-row--child" : ""}`,
1794
1798
  style: V,
1795
1799
  draggable: t,
1796
- onDragStart: (s) => he(s, u),
1800
+ onDragStart: (o) => he(o, u),
1797
1801
  onDragOver: A,
1798
- onDragEnter: (s) => I(s, u),
1799
- onDragLeave: Z,
1800
- onDrop: (s) => oe(s, u),
1802
+ onDragEnter: (o) => P(o, u),
1803
+ onDragLeave: q,
1804
+ onDrop: (o) => oe(o, u),
1801
1805
  onDragEnd: Q,
1802
- children: re.map((s, R) => /* @__PURE__ */ n.jsx(q, { column: s, index: R, row: a, item: b }, s.key))
1806
+ children: re.map((o, R) => /* @__PURE__ */ n.jsx(Z, { column: o, index: R, row: i, item: b }, o.key))
1803
1807
  },
1804
1808
  u
1805
1809
  );
1806
1810
  }) });
1807
1811
  }
1808
- const it = ({ config: t }) => {
1809
- const [{ current: r, pageSize: o, total: l, onChange: E, showQuickJumper: y, buttonsCount: w = 4, hideOnSinglePage: D = !1 }, _] = ge(t);
1810
- Ie(() => {
1811
- _(t);
1812
+ const Gt = Oe.memo(Zt, (t, r) => !(t.dataSource !== r.dataSource || t.config.length !== r.config.length || t.config.some((s, E) => {
1813
+ const y = r.config[E];
1814
+ return y ? s.key !== y.key || s.hidden !== y.hidden || s.dataIndex !== y.dataIndex || s.fixed !== y.fixed || s.sortable !== y.sortable : !0;
1815
+ }) || t.customCellRender !== r.customCellRender || t.expandedRowKeys !== r.expandedRowKeys || t.draggableRows !== r.draggableRows || t.treeMode !== r.treeMode || t.loading !== r.loading || t.preset !== r.preset || t.recalculateRowHeight !== r.recalculateRowHeight)), at = ({ config: t }) => {
1816
+ const [{ current: r, pageSize: l, total: s, onChange: E, showQuickJumper: y, buttonsCount: j = 4, hideOnSinglePage: D = !1 }, m] = ge(t);
1817
+ Pe(() => {
1818
+ m(t);
1812
1819
  }, [t]);
1813
- const M = Math.ceil(r / w), k = (M - 1) * w + 1, P = M * w, K = (d) => {
1814
- const L = ["Backspace", "Delete", "ArrowLeft", "ArrowRight", "Tab", "Enter"];
1815
- !/^[0-9]$/.test(d.key) && !L.includes(d.key) && d.preventDefault();
1820
+ const M = Math.ceil(r / j), k = (M - 1) * j + 1, L = M * j, U = (d) => {
1821
+ const $ = ["Backspace", "Delete", "ArrowLeft", "ArrowRight", "Tab", "Enter"];
1822
+ !/^[0-9]$/.test(d.key) && !$.includes(d.key) && d.preventDefault();
1816
1823
  }, G = (d) => {
1817
1824
  if (d.key === "Enter") {
1818
- const L = parseInt(d.currentTarget.value);
1819
- L > 0 && L <= l && (_({ ...t, current: L }), E == null || E(L, o), d.currentTarget.value = "");
1825
+ const $ = parseInt(d.currentTarget.value);
1826
+ $ > 0 && $ <= s && (m({ ...t, current: $ }), E == null || E($, l), d.currentTarget.value = "");
1820
1827
  }
1821
1828
  }, X = (d) => {
1822
1829
  const x = d.target.value.replace(/[^0-9]/g, "");
1823
1830
  d.target.value = x;
1824
- }, U = (d) => {
1831
+ }, K = (d) => {
1825
1832
  d.preventDefault();
1826
- const x = d.clipboardData.getData("text").replace(/[^0-9]/g, ""), F = d.target, J = F.selectionStart || 0, p = F.selectionEnd || 0, f = F.value.substring(0, J) + x + F.value.substring(p);
1827
- F.value = f, F.setSelectionRange(J + x.length, J + x.length);
1833
+ const x = d.clipboardData.getData("text").replace(/[^0-9]/g, ""), F = d.target, H = F.selectionStart || 0, v = F.selectionEnd || 0, f = F.value.substring(0, H) + x + F.value.substring(v);
1834
+ F.value = f, F.setSelectionRange(H + x.length, H + x.length);
1828
1835
  }, te = (d) => {
1829
- const L = d.currentTarget.id;
1830
- L === "pagination_left_button" && r > 1 && (_({ ...t, current: r - 1 }), E == null || E(r - 1, o)), L === "pagination_right_button" && r < l && (_({ ...t, current: r + 1 }), E == null || E(r + 1, o));
1836
+ const $ = d.currentTarget.id;
1837
+ $ === "pagination_left_button" && r > 1 && (m({ ...t, current: r - 1 }), E == null || E(r - 1, l)), $ === "pagination_right_button" && r < s && (m({ ...t, current: r + 1 }), E == null || E(r + 1, l));
1831
1838
  }, V = (d) => {
1832
- _({ ...t, current: d }), E == null || E(d, o);
1839
+ m({ ...t, current: d }), E == null || E(d, l);
1833
1840
  };
1834
- return D && l <= 1 ? null : /* @__PURE__ */ n.jsxs("div", { className: "radar-table__pagination", children: [
1841
+ return D && s <= 1 ? null : /* @__PURE__ */ n.jsxs("div", { className: "radar-table__pagination", children: [
1835
1842
  /* @__PURE__ */ n.jsxs(
1836
1843
  "div",
1837
1844
  {
1838
1845
  className: "radar-table__pagination-main",
1839
1846
  style: {
1840
- gridTemplateColumns: `repeat(${w + 2}, 32px)`
1847
+ gridTemplateColumns: `repeat(${j + 2}, 32px)`
1841
1848
  },
1842
1849
  children: [
1843
1850
  /* @__PURE__ */ n.jsx("button", { className: "radar-table__pagination-button radar-table__pagination-button_control", id: "pagination_left_button", onClick: te, title: "Назад", children: /* @__PURE__ */ n.jsx("svg", { width: "6", height: "10", viewBox: "0 0 6 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ n.jsx("path", { d: "M5 0.544067L1 4.54407L5 8.54407", stroke: "#8C8C8C", strokeLinecap: "round" }) }) }),
1844
- Array.from({ length: l }, (d, L) => L + 1).map((d) => {
1845
- const L = r === d;
1846
- if (d >= k && d <= P)
1847
- return L ? /* @__PURE__ */ n.jsx("button", { className: "radar-table__pagination-button radar-table__pagination-button_active", children: d }, d) : /* @__PURE__ */ n.jsx("button", { className: "radar-table__pagination-button", onClick: () => V(d), children: d }, d);
1851
+ Array.from({ length: s }, (d, $) => $ + 1).map((d) => {
1852
+ const $ = r === d;
1853
+ if (d >= k && d <= L)
1854
+ return $ ? /* @__PURE__ */ n.jsx("button", { className: "radar-table__pagination-button radar-table__pagination-button_active", children: d }, d) : /* @__PURE__ */ n.jsx("button", { className: "radar-table__pagination-button", onClick: () => V(d), children: d }, d);
1848
1855
  }),
1849
1856
  /* @__PURE__ */ n.jsx("button", { className: "radar-table__pagination-button radar-table__pagination-button_control", id: "pagination_right_button", onClick: te, title: "Вперёд", children: /* @__PURE__ */ n.jsx("svg", { width: "6", height: "10", viewBox: "0 0 6 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ n.jsx("path", { d: "M1 8.54407L5 4.54407L1 0.544067", stroke: "#8C8C8C", strokeLinecap: "round" }) }) })
1850
1857
  ]
@@ -1856,136 +1863,136 @@ const it = ({ config: t }) => {
1856
1863
  "input",
1857
1864
  {
1858
1865
  className: "radar-table__pagination-input",
1859
- onKeyDown: K,
1866
+ onKeyDown: U,
1860
1867
  onChange: X,
1861
- onPaste: U,
1868
+ onPaste: K,
1862
1869
  onKeyUp: (d) => G(d)
1863
1870
  }
1864
1871
  ),
1865
1872
  " стр. из ",
1866
- l
1873
+ s
1867
1874
  ] })
1868
1875
  ] });
1869
1876
  };
1870
- function tr({
1877
+ function nr({
1871
1878
  dataSource: t,
1872
1879
  preset: r,
1873
- config: o,
1874
- rowKey: l,
1880
+ config: l,
1881
+ rowKey: s,
1875
1882
  loading: E = !1,
1876
1883
  pagination: y,
1877
- stickyHeader: w = !1,
1884
+ stickyHeader: j = !1,
1878
1885
  resizeable: D = !1,
1879
- draggableRows: _ = !1,
1886
+ draggableRows: m = !1,
1880
1887
  draggableColumns: M = !1,
1881
1888
  scrollContainerRef: k,
1882
- onResize: P,
1883
- onSort: K,
1889
+ onResize: L,
1890
+ onSort: U,
1884
1891
  onRowReorder: G,
1885
1892
  onColumnReorder: X,
1886
- customCellRender: U,
1893
+ customCellRender: K,
1887
1894
  noDataRender: te,
1888
1895
  sortIcon: V,
1889
1896
  expandIcon: d,
1890
- recalculateRowHeight: L = !1,
1897
+ recalculateRowHeight: $ = !1,
1891
1898
  // sorting props
1892
1899
  sorting: x,
1893
1900
  defaultSorting: F,
1894
1901
  // tree props
1895
- treeMode: J,
1896
- expandedRowKeys: p,
1902
+ treeMode: H,
1903
+ expandedRowKeys: v,
1897
1904
  defaultExpandedRowKeys: f,
1898
1905
  onExpandedRowsChange: c,
1899
- indentSize: m,
1900
- className: v = "",
1901
- style: h,
1906
+ indentSize: _,
1907
+ className: h = "",
1908
+ style: g,
1902
1909
  headerClassName: C = "",
1903
1910
  headerStyle: T,
1904
1911
  headerCellClassName: O = "",
1905
1912
  headerCellStyle: N,
1906
1913
  headerRowClassName: ce = "",
1907
- headerRowStyle: ae,
1914
+ headerRowStyle: ie,
1908
1915
  headerCellWrapperClassName: se = "",
1909
1916
  headerCellWrapperStyle: de,
1910
1917
  bodyClassName: re = "",
1911
1918
  bodyStyle: le,
1912
1919
  bodyRowClassName: he = "",
1913
1920
  bodyRowStyle: A,
1914
- bodyCellClassName: I = "",
1915
- bodyCellStyle: Z,
1921
+ bodyCellClassName: P = "",
1922
+ bodyCellStyle: q,
1916
1923
  bodyCellWrapperClassName: Q = "",
1917
1924
  bodyCellWrapperStyle: oe,
1918
1925
  headerGroupRowClassName: B,
1919
1926
  headerGroupRowStyle: S,
1920
- headerGroupCellClassName: q,
1927
+ headerGroupCellClassName: Z,
1921
1928
  headerGroupCellStyle: W,
1922
- headerGroupCellWrapperClassName: a,
1929
+ headerGroupCellWrapperClassName: i,
1923
1930
  headerGroupCellWrapperStyle: b,
1924
1931
  paginationContainerClassName: u = "",
1925
- paginationContainerStyle: s,
1932
+ paginationContainerStyle: o,
1926
1933
  resizeThrottle: R = 0
1927
1934
  }) {
1928
1935
  return M ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
1929
1936
  /* @__PURE__ */ n.jsx(
1930
- zt,
1937
+ Mt,
1931
1938
  {
1932
- fullConfig: o,
1939
+ fullConfig: l,
1933
1940
  onColumnReorder: X,
1934
1941
  scrollContainerRef: k,
1935
1942
  children: /* @__PURE__ */ n.jsx(
1936
- at,
1943
+ it,
1937
1944
  {
1938
1945
  dataSource: t,
1939
1946
  preset: r,
1940
- config: o,
1941
- rowKey: l,
1947
+ config: l,
1948
+ rowKey: s,
1942
1949
  loading: E,
1943
1950
  pagination: y,
1944
- stickyHeader: w,
1951
+ stickyHeader: j,
1945
1952
  resizeable: D,
1946
- draggableRows: _,
1953
+ draggableRows: m,
1947
1954
  draggableColumns: M,
1948
1955
  scrollContainerRef: k,
1949
- onResize: P,
1950
- onSort: K,
1956
+ onResize: L,
1957
+ onSort: U,
1951
1958
  onRowReorder: G,
1952
1959
  onColumnReorder: X,
1953
- customCellRender: U,
1960
+ customCellRender: K,
1954
1961
  sortIcon: V,
1955
1962
  expandIcon: d,
1956
- treeMode: J,
1957
- expandedRowKeys: p,
1963
+ treeMode: H,
1964
+ expandedRowKeys: v,
1958
1965
  defaultExpandedRowKeys: f,
1959
1966
  onExpandedRowsChange: c,
1960
- indentSize: m,
1961
- className: v,
1962
- style: h,
1967
+ indentSize: _,
1968
+ className: h,
1969
+ style: g,
1963
1970
  headerClassName: C,
1964
1971
  headerStyle: T,
1965
1972
  headerCellClassName: O,
1966
1973
  headerCellStyle: N,
1967
1974
  headerRowClassName: ce,
1968
- headerRowStyle: ae,
1975
+ headerRowStyle: ie,
1969
1976
  headerCellWrapperClassName: se,
1970
1977
  headerCellWrapperStyle: de,
1971
1978
  bodyClassName: re,
1972
1979
  bodyStyle: le,
1973
1980
  bodyRowClassName: he,
1974
1981
  bodyRowStyle: A,
1975
- bodyCellClassName: I,
1976
- bodyCellStyle: Z,
1982
+ bodyCellClassName: P,
1983
+ bodyCellStyle: q,
1977
1984
  bodyCellWrapperClassName: Q,
1978
1985
  bodyCellWrapperStyle: oe,
1979
1986
  headerGroupRowClassName: B,
1980
1987
  headerGroupRowStyle: S,
1981
- headerGroupCellClassName: q,
1988
+ headerGroupCellClassName: Z,
1982
1989
  headerGroupCellStyle: W,
1983
- headerGroupCellWrapperClassName: a,
1990
+ headerGroupCellWrapperClassName: i,
1984
1991
  headerGroupCellWrapperStyle: b,
1985
1992
  paginationContainerClassName: u,
1986
- paginationContainerStyle: s,
1993
+ paginationContainerStyle: o,
1987
1994
  noDataRender: te,
1988
- recalculateRowHeight: L,
1995
+ recalculateRowHeight: $,
1989
1996
  sorting: x,
1990
1997
  defaultSorting: F,
1991
1998
  resizeThrottle: R
@@ -1993,196 +2000,196 @@ function tr({
1993
2000
  )
1994
2001
  }
1995
2002
  ),
1996
- /* @__PURE__ */ n.jsx("div", { className: `radar-table-pagination-container ${u}`, style: s, children: y && /* @__PURE__ */ n.jsx(it, { config: y }) })
2003
+ /* @__PURE__ */ n.jsx("div", { className: `radar-table-pagination-container ${u}`, style: o, children: y && /* @__PURE__ */ n.jsx(at, { config: y }) })
1997
2004
  ] }) : /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
1998
2005
  /* @__PURE__ */ n.jsx(
1999
- at,
2006
+ it,
2000
2007
  {
2001
2008
  dataSource: t,
2002
2009
  preset: r,
2003
- config: o,
2004
- rowKey: l,
2010
+ config: l,
2011
+ rowKey: s,
2005
2012
  loading: E,
2006
2013
  pagination: y,
2007
- stickyHeader: w,
2014
+ stickyHeader: j,
2008
2015
  resizeable: D,
2009
- draggableRows: _,
2016
+ draggableRows: m,
2010
2017
  draggableColumns: M,
2011
2018
  scrollContainerRef: k,
2012
- onResize: P,
2013
- onSort: K,
2019
+ onResize: L,
2020
+ onSort: U,
2014
2021
  onRowReorder: G,
2015
2022
  onColumnReorder: X,
2016
- customCellRender: U,
2023
+ customCellRender: K,
2017
2024
  sortIcon: V,
2018
2025
  expandIcon: d,
2019
- treeMode: J,
2020
- expandedRowKeys: p,
2026
+ treeMode: H,
2027
+ expandedRowKeys: v,
2021
2028
  defaultExpandedRowKeys: f,
2022
2029
  onExpandedRowsChange: c,
2023
- indentSize: m,
2024
- className: v,
2025
- style: h,
2030
+ indentSize: _,
2031
+ className: h,
2032
+ style: g,
2026
2033
  headerClassName: C,
2027
2034
  headerStyle: T,
2028
2035
  headerCellClassName: O,
2029
2036
  headerCellStyle: N,
2030
2037
  headerRowClassName: ce,
2031
- headerRowStyle: ae,
2038
+ headerRowStyle: ie,
2032
2039
  headerCellWrapperClassName: se,
2033
2040
  headerCellWrapperStyle: de,
2034
2041
  bodyClassName: re,
2035
2042
  bodyStyle: le,
2036
2043
  bodyRowClassName: he,
2037
2044
  bodyRowStyle: A,
2038
- bodyCellClassName: I,
2039
- bodyCellStyle: Z,
2045
+ bodyCellClassName: P,
2046
+ bodyCellStyle: q,
2040
2047
  bodyCellWrapperClassName: Q,
2041
2048
  bodyCellWrapperStyle: oe,
2042
2049
  headerGroupRowClassName: B,
2043
2050
  headerGroupRowStyle: S,
2044
- headerGroupCellClassName: q,
2051
+ headerGroupCellClassName: Z,
2045
2052
  headerGroupCellStyle: W,
2046
- headerGroupCellWrapperClassName: a,
2053
+ headerGroupCellWrapperClassName: i,
2047
2054
  headerGroupCellWrapperStyle: b,
2048
2055
  paginationContainerClassName: u,
2049
- paginationContainerStyle: s,
2056
+ paginationContainerStyle: o,
2050
2057
  noDataRender: te,
2051
- recalculateRowHeight: L,
2058
+ recalculateRowHeight: $,
2052
2059
  sorting: x,
2053
2060
  defaultSorting: F,
2054
2061
  resizeThrottle: R
2055
2062
  }
2056
2063
  ),
2057
- /* @__PURE__ */ n.jsx("div", { className: `radar-table-pagination-container ${u}`, style: s, children: y && /* @__PURE__ */ n.jsx(it, { config: y }) })
2064
+ /* @__PURE__ */ n.jsx("div", { className: `radar-table-pagination-container ${u}`, style: o, children: y && /* @__PURE__ */ n.jsx(at, { config: y }) })
2058
2065
  ] });
2059
2066
  }
2060
- function at(t) {
2067
+ function it(t) {
2061
2068
  const {
2062
2069
  dataSource: r,
2063
- preset: o,
2064
- config: l,
2070
+ preset: l,
2071
+ config: s,
2065
2072
  rowKey: E,
2066
2073
  loading: y,
2067
- stickyHeader: w,
2074
+ stickyHeader: j,
2068
2075
  resizeable: D,
2069
- draggableRows: _,
2076
+ draggableRows: m,
2070
2077
  draggableColumns: M,
2071
2078
  scrollContainerRef: k,
2072
- onResize: P,
2073
- onSort: K,
2079
+ onResize: L,
2080
+ onSort: U,
2074
2081
  onRowReorder: G,
2075
2082
  onColumnReorder: X,
2076
- customCellRender: U,
2083
+ customCellRender: K,
2077
2084
  sortIcon: te,
2078
2085
  expandIcon: V,
2079
2086
  treeMode: d,
2080
- expandedRowKeys: L,
2087
+ expandedRowKeys: $,
2081
2088
  defaultExpandedRowKeys: x,
2082
2089
  onExpandedRowsChange: F,
2083
- indentSize: J,
2084
- className: p,
2090
+ indentSize: H,
2091
+ className: v,
2085
2092
  style: f,
2086
2093
  headerClassName: c,
2087
- headerStyle: m,
2088
- headerCellClassName: v,
2089
- headerCellStyle: h,
2094
+ headerStyle: _,
2095
+ headerCellClassName: h,
2096
+ headerCellStyle: g,
2090
2097
  headerRowClassName: C,
2091
2098
  headerRowStyle: T,
2092
2099
  headerCellWrapperClassName: O,
2093
2100
  headerCellWrapperStyle: N,
2094
2101
  bodyClassName: ce,
2095
- bodyStyle: ae,
2102
+ bodyStyle: ie,
2096
2103
  bodyRowClassName: se,
2097
2104
  bodyRowStyle: de,
2098
2105
  bodyCellClassName: re,
2099
2106
  bodyCellStyle: le,
2100
2107
  bodyCellWrapperClassName: he,
2101
2108
  bodyCellWrapperStyle: A,
2102
- headerGroupRowClassName: I,
2103
- headerGroupRowStyle: Z,
2109
+ headerGroupRowClassName: P,
2110
+ headerGroupRowStyle: q,
2104
2111
  headerGroupCellClassName: Q,
2105
2112
  headerGroupCellStyle: oe,
2106
2113
  headerGroupCellWrapperClassName: B,
2107
2114
  headerGroupCellWrapperStyle: S,
2108
- noDataRender: q,
2115
+ noDataRender: Z,
2109
2116
  recalculateRowHeight: W,
2110
- sorting: a,
2117
+ sorting: i,
2111
2118
  defaultSorting: b,
2112
2119
  resizeThrottle: u
2113
2120
  } = t;
2114
- return /* @__PURE__ */ n.jsxs("table", { className: `radar-table ${o || ""} ${p}`, style: f, children: [
2121
+ return /* @__PURE__ */ n.jsxs("table", { className: `radar-table ${l || ""} ${v}`, style: f, children: [
2115
2122
  /* @__PURE__ */ n.jsx(
2116
2123
  Jt,
2117
2124
  {
2118
2125
  draggableColumns: M,
2119
- config: l,
2120
- onSort: K,
2126
+ config: s,
2127
+ onSort: U,
2121
2128
  resizeable: D,
2122
- onResize: P,
2129
+ onResize: L,
2123
2130
  sortIcon: te,
2124
- preset: o,
2131
+ preset: l,
2125
2132
  headerClassName: c,
2126
- headerStyle: m,
2133
+ headerStyle: _,
2127
2134
  headerRowClassName: C,
2128
2135
  headerRowStyle: T,
2129
- headerCellClassName: v,
2130
- headerCellStyle: h,
2136
+ headerCellClassName: h,
2137
+ headerCellStyle: g,
2131
2138
  headerCellWrapperClassName: O,
2132
2139
  headerCellWrapperStyle: N,
2133
- headerGroupRowClassName: I,
2134
- headerGroupRowStyle: Z,
2140
+ headerGroupRowClassName: P,
2141
+ headerGroupRowStyle: q,
2135
2142
  headerGroupCellClassName: Q,
2136
2143
  headerGroupCellStyle: oe,
2137
2144
  headerGroupCellWrapperClassName: B,
2138
2145
  headerGroupCellWrapperStyle: S,
2139
- stickyHeader: w,
2146
+ stickyHeader: j,
2140
2147
  scrollContainerRef: k,
2141
2148
  onColumnReorder: X,
2142
- sorting: a,
2149
+ sorting: i,
2143
2150
  defaultSorting: b,
2144
2151
  resizeThrottle: u
2145
2152
  }
2146
2153
  ),
2147
2154
  /* @__PURE__ */ n.jsx(
2148
- Zt,
2155
+ Gt,
2149
2156
  {
2150
- draggableRows: _,
2157
+ draggableRows: m,
2151
2158
  onRowReorder: G,
2152
2159
  dataSource: r,
2153
- config: l,
2160
+ config: s,
2154
2161
  rowKey: E,
2155
2162
  loading: y,
2156
- preset: o,
2157
- customCellRender: U,
2163
+ preset: l,
2164
+ customCellRender: K,
2158
2165
  expandIcon: V,
2159
2166
  treeMode: d,
2160
- expandedRowKeys: L,
2167
+ expandedRowKeys: $,
2161
2168
  defaultExpandedRowKeys: x,
2162
2169
  onExpandedRowsChange: F,
2163
- indentSize: J,
2170
+ indentSize: H,
2164
2171
  bodyClassName: ce,
2165
- bodyStyle: ae,
2172
+ bodyStyle: ie,
2166
2173
  bodyRowClassName: se,
2167
2174
  bodyRowStyle: de,
2168
2175
  bodyCellClassName: re,
2169
2176
  bodyCellStyle: le,
2170
2177
  bodyCellWrapperClassName: he,
2171
2178
  bodyCellWrapperStyle: A,
2172
- noDataRender: q,
2179
+ noDataRender: Z,
2173
2180
  scrollContainerRef: k,
2174
2181
  recalculateRowHeight: W
2175
2182
  }
2176
2183
  )
2177
2184
  ] });
2178
2185
  }
2179
- const st = ({ children: t, tagType: r = "h1", ...o }) => {
2186
+ const st = ({ children: t, tagType: r = "h1", ...l }) => {
2180
2187
  if (r === "h1")
2181
2188
  return /* @__PURE__ */ n.jsx(
2182
2189
  "h1",
2183
2190
  {
2184
2191
  className: "radar-title radar-title_h1",
2185
- ...o,
2192
+ ...l,
2186
2193
  children: t
2187
2194
  }
2188
2195
  );
@@ -2191,7 +2198,7 @@ const st = ({ children: t, tagType: r = "h1", ...o }) => {
2191
2198
  "h2",
2192
2199
  {
2193
2200
  className: "radar-title radar-title_h1",
2194
- ...o,
2201
+ ...l,
2195
2202
  children: t
2196
2203
  }
2197
2204
  );
@@ -2200,7 +2207,7 @@ const st = ({ children: t, tagType: r = "h1", ...o }) => {
2200
2207
  "h3",
2201
2208
  {
2202
2209
  className: "radar-title radar-title_h1",
2203
- ...o,
2210
+ ...l,
2204
2211
  children: t
2205
2212
  }
2206
2213
  );
@@ -2209,7 +2216,7 @@ const st = ({ children: t, tagType: r = "h1", ...o }) => {
2209
2216
  "h4",
2210
2217
  {
2211
2218
  className: "radar-title radar-title_h1",
2212
- ...o,
2219
+ ...l,
2213
2220
  children: t
2214
2221
  }
2215
2222
  );
@@ -2218,7 +2225,7 @@ const st = ({ children: t, tagType: r = "h1", ...o }) => {
2218
2225
  "h5",
2219
2226
  {
2220
2227
  className: "radar-title radar-title_h1",
2221
- ...o,
2228
+ ...l,
2222
2229
  children: t
2223
2230
  }
2224
2231
  );
@@ -2227,17 +2234,17 @@ const st = ({ children: t, tagType: r = "h1", ...o }) => {
2227
2234
  "h6",
2228
2235
  {
2229
2236
  className: "radar-title radar-title_h1",
2230
- ...o,
2237
+ ...l,
2231
2238
  children: t
2232
2239
  }
2233
2240
  );
2234
- }, qt = ({ children: t, tagType: r = "h2", ...o }) => {
2241
+ }, Xt = ({ children: t, tagType: r = "h2", ...l }) => {
2235
2242
  if (r === "h1")
2236
2243
  return /* @__PURE__ */ n.jsx(
2237
2244
  "h1",
2238
2245
  {
2239
2246
  className: "radar-title radar-title_h2",
2240
- ...o,
2247
+ ...l,
2241
2248
  children: t
2242
2249
  }
2243
2250
  );
@@ -2246,7 +2253,7 @@ const st = ({ children: t, tagType: r = "h1", ...o }) => {
2246
2253
  "h2",
2247
2254
  {
2248
2255
  className: "radar-title radar-title_h2",
2249
- ...o,
2256
+ ...l,
2250
2257
  children: t
2251
2258
  }
2252
2259
  );
@@ -2255,7 +2262,7 @@ const st = ({ children: t, tagType: r = "h1", ...o }) => {
2255
2262
  "h3",
2256
2263
  {
2257
2264
  className: "radar-title radar-title_h2",
2258
- ...o,
2265
+ ...l,
2259
2266
  children: t
2260
2267
  }
2261
2268
  );
@@ -2264,7 +2271,7 @@ const st = ({ children: t, tagType: r = "h1", ...o }) => {
2264
2271
  "h4",
2265
2272
  {
2266
2273
  className: "radar-title radar-title_h2",
2267
- ...o,
2274
+ ...l,
2268
2275
  children: t
2269
2276
  }
2270
2277
  );
@@ -2273,7 +2280,7 @@ const st = ({ children: t, tagType: r = "h1", ...o }) => {
2273
2280
  "h5",
2274
2281
  {
2275
2282
  className: "radar-title radar-title_h2",
2276
- ...o,
2283
+ ...l,
2277
2284
  children: t
2278
2285
  }
2279
2286
  );
@@ -2282,16 +2289,16 @@ const st = ({ children: t, tagType: r = "h1", ...o }) => {
2282
2289
  "h6",
2283
2290
  {
2284
2291
  className: "radar-title radar-title_h2",
2285
- ...o,
2292
+ ...l,
2286
2293
  children: t
2287
2294
  }
2288
2295
  );
2289
- }, rr = Object.assign(st, { H1: st, H2: qt }), ot = ({ children: t, fontStyle: r = "medium", ...o }) => /* @__PURE__ */ n.jsx("p", { className: `radar-text radar-text_m radar-text_${r}`, ...o, children: t }), Gt = ({ children: t, fontStyle: r = "medium", ...o }) => /* @__PURE__ */ n.jsx("p", { className: `radar-text radar-text_s radar-text_${r}`, ...o, children: t }), nr = Object.assign(ot, { M: ot, S: Gt });
2296
+ }, ar = Object.assign(st, { H1: st, H2: Xt }), ot = ({ children: t, fontStyle: r = "medium", ...l }) => /* @__PURE__ */ n.jsx("p", { className: `radar-text radar-text_m radar-text_${r}`, ...l, children: t }), Qt = ({ children: t, fontStyle: r = "medium", ...l }) => /* @__PURE__ */ n.jsx("p", { className: `radar-text radar-text_s radar-text_${r}`, ...l, children: t }), ir = Object.assign(ot, { M: ot, S: Qt });
2290
2297
  export {
2291
- Vt as HeaderCell,
2292
- it as Pagination,
2293
- nr as RadarText,
2294
- rr as RadarTitle,
2295
- tr as Table,
2296
- Ft as Tooltip
2298
+ Ht as HeaderCell,
2299
+ at as Pagination,
2300
+ ir as RadarText,
2301
+ ar as RadarTitle,
2302
+ nr as Table,
2303
+ At as Tooltip
2297
2304
  };