radar-ui 1.1.23 → 1.1.24

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