radar-ui 1.1.15 → 1.1.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Table/TableBody.d.ts.map +1 -1
- package/dist/index.js +256 -268
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -21,15 +21,15 @@ var Xe;
|
|
|
21
21
|
function Nt() {
|
|
22
22
|
if (Xe) return Te;
|
|
23
23
|
Xe = 1;
|
|
24
|
-
var t = Re, n = Symbol.for("react.element"), u = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty,
|
|
25
|
-
function
|
|
24
|
+
var t = Re, n = Symbol.for("react.element"), u = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, k = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, v = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
25
|
+
function w(E, g, N) {
|
|
26
26
|
var S, I = {}, B = null, Y = null;
|
|
27
27
|
N !== void 0 && (B = "" + N), g.key !== void 0 && (B = "" + g.key), g.ref !== void 0 && (Y = g.ref);
|
|
28
28
|
for (S in g) o.call(g, S) && !v.hasOwnProperty(S) && (I[S] = g[S]);
|
|
29
|
-
if (
|
|
30
|
-
return { $$typeof: n, type:
|
|
29
|
+
if (E && E.defaultProps) for (S in g = E.defaultProps, g) I[S] === void 0 && (I[S] = g[S]);
|
|
30
|
+
return { $$typeof: n, type: E, key: B, ref: Y, props: I, _owner: k.current };
|
|
31
31
|
}
|
|
32
|
-
return Te.Fragment = u, Te.jsx =
|
|
32
|
+
return Te.Fragment = u, Te.jsx = w, Te.jsxs = w, Te;
|
|
33
33
|
}
|
|
34
34
|
var Pe = {};
|
|
35
35
|
/**
|
|
@@ -44,8 +44,8 @@ var Pe = {};
|
|
|
44
44
|
var qe;
|
|
45
45
|
function It() {
|
|
46
46
|
return qe || (qe = 1, process.env.NODE_ENV !== "production" && function() {
|
|
47
|
-
var t = Re, n = Symbol.for("react.element"), u = Symbol.for("react.portal"), o = Symbol.for("react.fragment"),
|
|
48
|
-
function
|
|
47
|
+
var t = Re, n = Symbol.for("react.element"), u = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), k = Symbol.for("react.strict_mode"), v = Symbol.for("react.profiler"), w = Symbol.for("react.provider"), E = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), N = Symbol.for("react.suspense"), S = Symbol.for("react.suspense_list"), I = Symbol.for("react.memo"), B = Symbol.for("react.lazy"), Y = Symbol.for("react.offscreen"), H = Symbol.iterator, K = "@@iterator";
|
|
48
|
+
function C(e) {
|
|
49
49
|
if (e === null || typeof e != "object")
|
|
50
50
|
return null;
|
|
51
51
|
var a = H && e[H] || e[K];
|
|
@@ -54,14 +54,14 @@ function It() {
|
|
|
54
54
|
var f = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
55
55
|
function r(e) {
|
|
56
56
|
{
|
|
57
|
-
for (var a = arguments.length, d = new Array(a > 1 ? a - 1 : 0),
|
|
58
|
-
d[
|
|
57
|
+
for (var a = arguments.length, d = new Array(a > 1 ? a - 1 : 0), j = 1; j < a; j++)
|
|
58
|
+
d[j - 1] = arguments[j];
|
|
59
59
|
l("error", e, d);
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
function l(e, a, d) {
|
|
63
63
|
{
|
|
64
|
-
var
|
|
64
|
+
var j = f.ReactDebugCurrentFrame, G = j.getStackAddendum();
|
|
65
65
|
G !== "" && (a += "%s", d = d.concat([G]));
|
|
66
66
|
var Q = d.map(function(z) {
|
|
67
67
|
return String(z);
|
|
@@ -72,16 +72,16 @@ function It() {
|
|
|
72
72
|
var h = !1, x = !1, m = !1, y = !1, D = !1, p;
|
|
73
73
|
p = Symbol.for("react.module.reference");
|
|
74
74
|
function L(e) {
|
|
75
|
-
return !!(typeof e == "string" || typeof e == "function" || e === o || e === v || D || e ===
|
|
75
|
+
return !!(typeof e == "string" || typeof e == "function" || e === o || e === v || D || e === k || e === N || e === S || y || e === Y || h || x || m || typeof e == "object" && e !== null && (e.$$typeof === B || e.$$typeof === I || e.$$typeof === w || e.$$typeof === E || e.$$typeof === g || // This needs to include all possible module reference object
|
|
76
76
|
// types supported by any Flight configuration anywhere since
|
|
77
77
|
// we don't know which Flight build this will end up being used
|
|
78
78
|
// with.
|
|
79
79
|
e.$$typeof === p || e.getModuleId !== void 0));
|
|
80
80
|
}
|
|
81
81
|
function A(e, a, d) {
|
|
82
|
-
var
|
|
83
|
-
if (
|
|
84
|
-
return
|
|
82
|
+
var j = e.displayName;
|
|
83
|
+
if (j)
|
|
84
|
+
return j;
|
|
85
85
|
var G = a.displayName || a.name || "";
|
|
86
86
|
return G !== "" ? d + "(" + G + ")" : d;
|
|
87
87
|
}
|
|
@@ -102,7 +102,7 @@ function It() {
|
|
|
102
102
|
return "Portal";
|
|
103
103
|
case v:
|
|
104
104
|
return "Profiler";
|
|
105
|
-
case
|
|
105
|
+
case k:
|
|
106
106
|
return "StrictMode";
|
|
107
107
|
case N:
|
|
108
108
|
return "Suspense";
|
|
@@ -111,17 +111,17 @@ function It() {
|
|
|
111
111
|
}
|
|
112
112
|
if (typeof e == "object")
|
|
113
113
|
switch (e.$$typeof) {
|
|
114
|
-
case
|
|
114
|
+
case E:
|
|
115
115
|
var a = e;
|
|
116
116
|
return P(a) + ".Consumer";
|
|
117
|
-
case
|
|
117
|
+
case w:
|
|
118
118
|
var d = e;
|
|
119
119
|
return P(d._context) + ".Provider";
|
|
120
120
|
case g:
|
|
121
121
|
return A(e, e.render, "ForwardRef");
|
|
122
122
|
case I:
|
|
123
|
-
var
|
|
124
|
-
return
|
|
123
|
+
var j = e.displayName || null;
|
|
124
|
+
return j !== null ? j : M(e.type) || "Memo";
|
|
125
125
|
case B: {
|
|
126
126
|
var G = e, Q = G._payload, z = G._init;
|
|
127
127
|
try {
|
|
@@ -133,14 +133,14 @@ function It() {
|
|
|
133
133
|
}
|
|
134
134
|
return null;
|
|
135
135
|
}
|
|
136
|
-
var te = Object.assign, U = 0, ue, Z, re, q,
|
|
136
|
+
var te = Object.assign, U = 0, ue, Z, re, q, se, X, J;
|
|
137
137
|
function $() {
|
|
138
138
|
}
|
|
139
139
|
$.__reactDisabledLog = !0;
|
|
140
140
|
function ne() {
|
|
141
141
|
{
|
|
142
142
|
if (U === 0) {
|
|
143
|
-
ue = console.log, Z = console.info, re = console.warn, q = console.error,
|
|
143
|
+
ue = console.log, Z = console.info, re = console.warn, q = console.error, se = console.group, X = console.groupCollapsed, J = console.groupEnd;
|
|
144
144
|
var e = {
|
|
145
145
|
configurable: !0,
|
|
146
146
|
enumerable: !0,
|
|
@@ -182,7 +182,7 @@ function It() {
|
|
|
182
182
|
value: q
|
|
183
183
|
}),
|
|
184
184
|
group: te({}, e, {
|
|
185
|
-
value:
|
|
185
|
+
value: se
|
|
186
186
|
}),
|
|
187
187
|
groupCollapsed: te({}, e, {
|
|
188
188
|
value: X
|
|
@@ -195,15 +195,15 @@ function It() {
|
|
|
195
195
|
U < 0 && r("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
196
196
|
}
|
|
197
197
|
}
|
|
198
|
-
var
|
|
198
|
+
var le = f.ReactCurrentDispatcher, _;
|
|
199
199
|
function W(e, a, d) {
|
|
200
200
|
{
|
|
201
201
|
if (_ === void 0)
|
|
202
202
|
try {
|
|
203
203
|
throw Error();
|
|
204
204
|
} catch (G) {
|
|
205
|
-
var
|
|
206
|
-
_ =
|
|
205
|
+
var j = G.stack.trim().match(/\n( *(at )?)/);
|
|
206
|
+
_ = j && j[1] || "";
|
|
207
207
|
}
|
|
208
208
|
return `
|
|
209
209
|
` + _ + e;
|
|
@@ -222,12 +222,12 @@ function It() {
|
|
|
222
222
|
if (d !== void 0)
|
|
223
223
|
return d;
|
|
224
224
|
}
|
|
225
|
-
var
|
|
225
|
+
var j;
|
|
226
226
|
ie = !0;
|
|
227
227
|
var G = Error.prepareStackTrace;
|
|
228
228
|
Error.prepareStackTrace = void 0;
|
|
229
229
|
var Q;
|
|
230
|
-
Q =
|
|
230
|
+
Q = le.current, le.current = null, ne();
|
|
231
231
|
try {
|
|
232
232
|
if (a) {
|
|
233
233
|
var z = function() {
|
|
@@ -241,14 +241,14 @@ function It() {
|
|
|
241
241
|
try {
|
|
242
242
|
Reflect.construct(z, []);
|
|
243
243
|
} catch (ye) {
|
|
244
|
-
|
|
244
|
+
j = ye;
|
|
245
245
|
}
|
|
246
246
|
Reflect.construct(e, [], z);
|
|
247
247
|
} else {
|
|
248
248
|
try {
|
|
249
249
|
z.call();
|
|
250
250
|
} catch (ye) {
|
|
251
|
-
|
|
251
|
+
j = ye;
|
|
252
252
|
}
|
|
253
253
|
e.call(z.prototype);
|
|
254
254
|
}
|
|
@@ -256,33 +256,33 @@ function It() {
|
|
|
256
256
|
try {
|
|
257
257
|
throw Error();
|
|
258
258
|
} catch (ye) {
|
|
259
|
-
|
|
259
|
+
j = ye;
|
|
260
260
|
}
|
|
261
261
|
e();
|
|
262
262
|
}
|
|
263
263
|
} catch (ye) {
|
|
264
|
-
if (ye &&
|
|
264
|
+
if (ye && j && typeof ye.stack == "string") {
|
|
265
265
|
for (var F = ye.stack.split(`
|
|
266
|
-
`), ve =
|
|
267
|
-
`),
|
|
266
|
+
`), ve = j.stack.split(`
|
|
267
|
+
`), oe = F.length - 1, de = ve.length - 1; oe >= 1 && de >= 0 && F[oe] !== ve[de]; )
|
|
268
268
|
de--;
|
|
269
|
-
for (;
|
|
270
|
-
if (F[
|
|
271
|
-
if (
|
|
269
|
+
for (; oe >= 1 && de >= 0; oe--, de--)
|
|
270
|
+
if (F[oe] !== ve[de]) {
|
|
271
|
+
if (oe !== 1 || de !== 1)
|
|
272
272
|
do
|
|
273
|
-
if (
|
|
273
|
+
if (oe--, de--, de < 0 || F[oe] !== ve[de]) {
|
|
274
274
|
var xe = `
|
|
275
|
-
` + F[
|
|
275
|
+
` + F[oe].replace(" at new ", " at ");
|
|
276
276
|
return e.displayName && xe.includes("<anonymous>") && (xe = xe.replace("<anonymous>", e.displayName)), typeof e == "function" && fe.set(e, xe), xe;
|
|
277
277
|
}
|
|
278
|
-
while (
|
|
278
|
+
while (oe >= 1 && de >= 0);
|
|
279
279
|
break;
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
} finally {
|
|
283
|
-
ie = !1,
|
|
283
|
+
ie = !1, le.current = Q, ae(), Error.prepareStackTrace = G;
|
|
284
284
|
}
|
|
285
|
-
var
|
|
285
|
+
var we = e ? e.displayName || e.name : "", je = we ? W(we) : "";
|
|
286
286
|
return typeof e == "function" && fe.set(e, je), je;
|
|
287
287
|
}
|
|
288
288
|
function b(e, a, d) {
|
|
@@ -312,7 +312,7 @@ function It() {
|
|
|
312
312
|
case I:
|
|
313
313
|
return c(e.type, a, d);
|
|
314
314
|
case B: {
|
|
315
|
-
var
|
|
315
|
+
var j = e, G = j._payload, Q = j._init;
|
|
316
316
|
try {
|
|
317
317
|
return c(Q(G), a, d);
|
|
318
318
|
} catch {
|
|
@@ -329,7 +329,7 @@ function It() {
|
|
|
329
329
|
} else
|
|
330
330
|
R.setExtraStackFrame(null);
|
|
331
331
|
}
|
|
332
|
-
function
|
|
332
|
+
function ce(e, a, d, j, G) {
|
|
333
333
|
{
|
|
334
334
|
var Q = Function.call.bind(T);
|
|
335
335
|
for (var z in e)
|
|
@@ -337,14 +337,14 @@ function It() {
|
|
|
337
337
|
var F = void 0;
|
|
338
338
|
try {
|
|
339
339
|
if (typeof e[z] != "function") {
|
|
340
|
-
var ve = Error((
|
|
340
|
+
var ve = Error((j || "React class") + ": " + d + " type `" + z + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[z] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
341
341
|
throw ve.name = "Invariant Violation", ve;
|
|
342
342
|
}
|
|
343
|
-
F = e[z](a, z,
|
|
344
|
-
} catch (
|
|
345
|
-
F =
|
|
343
|
+
F = e[z](a, z, j, d, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
344
|
+
} catch (oe) {
|
|
345
|
+
F = oe;
|
|
346
346
|
}
|
|
347
|
-
F && !(F instanceof Error) && (he(G), r("%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).",
|
|
347
|
+
F && !(F instanceof Error) && (he(G), r("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", j || "React class", d, z, typeof F), he(null)), F instanceof Error && !(F.message in V) && (V[F.message] = !0, he(G), r("Failed %s type: %s", d, F.message), he(null));
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
350
|
}
|
|
@@ -352,7 +352,7 @@ function It() {
|
|
|
352
352
|
function ge(e) {
|
|
353
353
|
return Ce(e);
|
|
354
354
|
}
|
|
355
|
-
function
|
|
355
|
+
function Se(e) {
|
|
356
356
|
{
|
|
357
357
|
var a = typeof Symbol == "function" && Symbol.toStringTag, d = a && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
358
358
|
return d;
|
|
@@ -370,7 +370,7 @@ function It() {
|
|
|
370
370
|
}
|
|
371
371
|
function De(e) {
|
|
372
372
|
if (Ee(e))
|
|
373
|
-
return r("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
373
|
+
return r("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Se(e)), me(e);
|
|
374
374
|
}
|
|
375
375
|
var Oe = f.ReactCurrentOwner, _e = {
|
|
376
376
|
key: !0,
|
|
@@ -419,7 +419,7 @@ function It() {
|
|
|
419
419
|
});
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
|
-
var dt = function(e, a, d,
|
|
422
|
+
var dt = function(e, a, d, j, G, Q, z) {
|
|
423
423
|
var F = {
|
|
424
424
|
// This tag allows us to uniquely identify this as a React Element
|
|
425
425
|
$$typeof: n,
|
|
@@ -440,7 +440,7 @@ function It() {
|
|
|
440
440
|
configurable: !1,
|
|
441
441
|
enumerable: !1,
|
|
442
442
|
writable: !1,
|
|
443
|
-
value:
|
|
443
|
+
value: j
|
|
444
444
|
}), Object.defineProperty(F, "_source", {
|
|
445
445
|
configurable: !1,
|
|
446
446
|
enumerable: !1,
|
|
@@ -448,26 +448,26 @@ function It() {
|
|
|
448
448
|
value: G
|
|
449
449
|
}), Object.freeze && (Object.freeze(F.props), Object.freeze(F)), F;
|
|
450
450
|
};
|
|
451
|
-
function ut(e, a, d,
|
|
451
|
+
function ut(e, a, d, j, G) {
|
|
452
452
|
{
|
|
453
453
|
var Q, z = {}, F = null, ve = null;
|
|
454
454
|
d !== void 0 && (De(d), F = "" + d), ot(a) && (De(a.key), F = "" + a.key), it(a) && (ve = a.ref, st(a, G));
|
|
455
455
|
for (Q in a)
|
|
456
456
|
T.call(a, Q) && !_e.hasOwnProperty(Q) && (z[Q] = a[Q]);
|
|
457
457
|
if (e && e.defaultProps) {
|
|
458
|
-
var
|
|
459
|
-
for (Q in
|
|
460
|
-
z[Q] === void 0 && (z[Q] =
|
|
458
|
+
var oe = e.defaultProps;
|
|
459
|
+
for (Q in oe)
|
|
460
|
+
z[Q] === void 0 && (z[Q] = oe[Q]);
|
|
461
461
|
}
|
|
462
462
|
if (F || ve) {
|
|
463
463
|
var de = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
464
464
|
F && lt(z, de), ve && ct(z, de);
|
|
465
465
|
}
|
|
466
|
-
return dt(e, F, ve, G,
|
|
466
|
+
return dt(e, F, ve, G, j, Oe.current, z);
|
|
467
467
|
}
|
|
468
468
|
}
|
|
469
469
|
var $e = f.ReactCurrentOwner, Je = f.ReactDebugCurrentFrame;
|
|
470
|
-
function
|
|
470
|
+
function ke(e) {
|
|
471
471
|
if (e) {
|
|
472
472
|
var a = e._owner, d = c(e.type, e._source, a ? a.type : null);
|
|
473
473
|
Je.setExtraStackFrame(d);
|
|
@@ -516,8 +516,8 @@ Check the top-level render call using <` + d + ">.");
|
|
|
516
516
|
if (Ye[d])
|
|
517
517
|
return;
|
|
518
518
|
Ye[d] = !0;
|
|
519
|
-
var
|
|
520
|
-
e && e._owner && e._owner !== $e.current && (
|
|
519
|
+
var j = "";
|
|
520
|
+
e && e._owner && e._owner !== $e.current && (j = " It was passed a child from " + M(e._owner.type) + "."), ke(e), r('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', d, j), ke(null);
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
523
|
function Ue(e, a) {
|
|
@@ -526,13 +526,13 @@ Check the top-level render call using <` + d + ">.");
|
|
|
526
526
|
return;
|
|
527
527
|
if (ge(e))
|
|
528
528
|
for (var d = 0; d < e.length; d++) {
|
|
529
|
-
var
|
|
530
|
-
We(
|
|
529
|
+
var j = e[d];
|
|
530
|
+
We(j) && He(j, a);
|
|
531
531
|
}
|
|
532
532
|
else if (We(e))
|
|
533
533
|
e._store && (e._store.validated = !0);
|
|
534
534
|
else if (e) {
|
|
535
|
-
var G =
|
|
535
|
+
var G = C(e);
|
|
536
536
|
if (typeof G == "function" && G !== e.entries)
|
|
537
537
|
for (var Q = G.call(e), z; !(z = Q.next()).done; )
|
|
538
538
|
We(z.value) && He(z.value, a);
|
|
@@ -554,8 +554,8 @@ Check the top-level render call using <` + d + ">.");
|
|
|
554
554
|
else
|
|
555
555
|
return;
|
|
556
556
|
if (d) {
|
|
557
|
-
var
|
|
558
|
-
|
|
557
|
+
var j = M(a);
|
|
558
|
+
ce(d, e.props, "prop", j, e);
|
|
559
559
|
} else if (a.PropTypes !== void 0 && !Fe) {
|
|
560
560
|
Fe = !0;
|
|
561
561
|
var G = M(a);
|
|
@@ -567,17 +567,17 @@ Check the top-level render call using <` + d + ">.");
|
|
|
567
567
|
function pt(e) {
|
|
568
568
|
{
|
|
569
569
|
for (var a = Object.keys(e.props), d = 0; d < a.length; d++) {
|
|
570
|
-
var
|
|
571
|
-
if (
|
|
572
|
-
|
|
570
|
+
var j = a[d];
|
|
571
|
+
if (j !== "children" && j !== "key") {
|
|
572
|
+
ke(e), r("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", j), ke(null);
|
|
573
573
|
break;
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
|
-
e.ref !== null && (
|
|
576
|
+
e.ref !== null && (ke(e), r("Invalid attribute `ref` supplied to `React.Fragment`."), ke(null));
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
579
|
var Ze = {};
|
|
580
|
-
function Ge(e, a, d,
|
|
580
|
+
function Ge(e, a, d, j, G, Q) {
|
|
581
581
|
{
|
|
582
582
|
var z = L(e);
|
|
583
583
|
if (!z) {
|
|
@@ -585,8 +585,8 @@ Check the top-level render call using <` + d + ">.");
|
|
|
585
585
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (F += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
586
586
|
var ve = ft();
|
|
587
587
|
ve ? F += ve : F += Be();
|
|
588
|
-
var
|
|
589
|
-
e === null ?
|
|
588
|
+
var oe;
|
|
589
|
+
e === null ? oe = "null" : ge(e) ? oe = "array" : e !== void 0 && e.$$typeof === n ? (oe = "<" + (M(e.type) || "Unknown") + " />", F = " Did you accidentally export a JSX literal instead of a component?") : oe = typeof e, r("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", oe, F);
|
|
590
590
|
}
|
|
591
591
|
var de = ut(e, a, d, G, Q);
|
|
592
592
|
if (de == null)
|
|
@@ -594,10 +594,10 @@ Check the top-level render call using <` + d + ">.");
|
|
|
594
594
|
if (z) {
|
|
595
595
|
var xe = a.children;
|
|
596
596
|
if (xe !== void 0)
|
|
597
|
-
if (
|
|
597
|
+
if (j)
|
|
598
598
|
if (ge(xe)) {
|
|
599
|
-
for (var
|
|
600
|
-
Ue(xe[
|
|
599
|
+
for (var we = 0; we < xe.length; we++)
|
|
600
|
+
Ue(xe[we], e);
|
|
601
601
|
Object.freeze && Object.freeze(xe);
|
|
602
602
|
} else
|
|
603
603
|
r("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
@@ -633,21 +633,21 @@ React keys must be passed directly to JSX without using spread:
|
|
|
633
633
|
}
|
|
634
634
|
process.env.NODE_ENV === "production" ? Me.exports = Nt() : Me.exports = It();
|
|
635
635
|
var i = Me.exports;
|
|
636
|
-
const $t = ({ column: t, currWidth: n, currMinWidth: u, onResize: o, scrollContainerRef:
|
|
637
|
-
const [v,
|
|
638
|
-
if (!v || !
|
|
636
|
+
const $t = ({ column: t, currWidth: n, currMinWidth: u, onResize: o, scrollContainerRef: k }) => {
|
|
637
|
+
const [v, w] = be(!1), [E, g] = be(null), [N, S] = be(0), [I, B] = be(0), Y = Le(null), H = Le(0), K = Le(!1), C = Le(null), f = ee((h) => {
|
|
638
|
+
if (!v || !E || !t) return;
|
|
639
639
|
const x = h.clientX - N;
|
|
640
640
|
let m = Math.min((t == null ? void 0 : t.maxWidth) || 9999999, I + x);
|
|
641
|
-
const y =
|
|
641
|
+
const y = k == null ? void 0 : k.current, D = -10, p = 10, L = h.clientX, A = y == null ? void 0 : y.getBoundingClientRect(), P = A == null ? void 0 : A.right;
|
|
642
642
|
y && P && P - L < D && !K.current && (K.current = !0, H.current = m, Y.current = setInterval(() => {
|
|
643
643
|
if (t != null && t.maxWidth && H.current >= (t == null ? void 0 : t.maxWidth)) return;
|
|
644
644
|
const te = y.scrollWidth - y.clientWidth + p;
|
|
645
|
-
y.scrollLeft < te ? (y.scrollLeft += p, H.current += p, console.log("Calling onResize with width:", H.current), o == null || o(
|
|
646
|
-
}, 16)), K.current || o == null || o(
|
|
647
|
-
}, [v, N, I,
|
|
648
|
-
v && (
|
|
649
|
-
}, [v,
|
|
650
|
-
h.preventDefault(),
|
|
645
|
+
y.scrollLeft < te ? (y.scrollLeft += p, H.current += p, console.log("Calling onResize with width:", H.current), o == null || o(E, H.current)) : (console.log("Max scroll reached, but continuing to resize"), H.current += p, o == null || o(E, H.current));
|
|
646
|
+
}, 16)), K.current || o == null || o(E, m);
|
|
647
|
+
}, [v, N, I, E, o, k]), r = ee((h) => {
|
|
648
|
+
v && (E && h.clientX - N, Y.current && (console.log("Stopping auto scroll on mouse up"), clearInterval(Y.current), Y.current = null), K.current = !1, w(!1), S(0), B(0), g(null), document.removeEventListener("mousemove", f), document.removeEventListener("mouseup", r));
|
|
649
|
+
}, [v, E, N, I, f]), l = ee((h, x, m) => {
|
|
650
|
+
h.preventDefault(), w(!0), S(h.clientX), B(m), g(x);
|
|
651
651
|
}, []);
|
|
652
652
|
return Ie(() => {
|
|
653
653
|
v && (document.addEventListener("mousemove", f), document.addEventListener("mouseup", r));
|
|
@@ -656,7 +656,7 @@ const $t = ({ column: t, currWidth: n, currMinWidth: u, onResize: o, scrollConta
|
|
|
656
656
|
}, [f, r]), /* @__PURE__ */ i.jsx(
|
|
657
657
|
"button",
|
|
658
658
|
{
|
|
659
|
-
ref:
|
|
659
|
+
ref: C,
|
|
660
660
|
className: "radar-table__resize-button",
|
|
661
661
|
onMouseDown: (h) => l(h, t.key, n || u || 200),
|
|
662
662
|
title: "Изменить ширину колонки",
|
|
@@ -664,9 +664,9 @@ const $t = ({ column: t, currWidth: n, currMinWidth: u, onResize: o, scrollConta
|
|
|
664
664
|
}
|
|
665
665
|
);
|
|
666
666
|
}, Ft = ({ text: t, children: n }) => {
|
|
667
|
-
const [u, o] = be(!1), [
|
|
668
|
-
if (
|
|
669
|
-
const g =
|
|
667
|
+
const [u, o] = be(!1), [k, v] = be("left"), w = Le(null), E = () => {
|
|
668
|
+
if (w.current) {
|
|
669
|
+
const g = w.current.getBoundingClientRect(), N = window.innerWidth, S = 250, I = 20, B = N - g.left, Y = g.right;
|
|
670
670
|
B < S + I && Y > S + I ? v("right") : v("left");
|
|
671
671
|
}
|
|
672
672
|
o(!0);
|
|
@@ -674,9 +674,9 @@ const $t = ({ column: t, currWidth: n, currMinWidth: u, onResize: o, scrollConta
|
|
|
674
674
|
return /* @__PURE__ */ i.jsxs(
|
|
675
675
|
"button",
|
|
676
676
|
{
|
|
677
|
-
ref:
|
|
677
|
+
ref: w,
|
|
678
678
|
className: "radar-table__tooltip-button",
|
|
679
|
-
onMouseOver:
|
|
679
|
+
onMouseOver: E,
|
|
680
680
|
onMouseOut: () => o(!1),
|
|
681
681
|
children: [
|
|
682
682
|
n || /* @__PURE__ */ i.jsxs("svg", { width: "1.5em", height: "1em", viewBox: "0 0 24 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
@@ -686,7 +686,7 @@ const $t = ({ column: t, currWidth: n, currMinWidth: u, onResize: o, scrollConta
|
|
|
686
686
|
/* @__PURE__ */ i.jsx(
|
|
687
687
|
"div",
|
|
688
688
|
{
|
|
689
|
-
className: `radar-table__tooltip-text ${u ? "radar-table__tooltip-text_visible" : ""} radar-table__tooltip-text--${
|
|
689
|
+
className: `radar-table__tooltip-text ${u ? "radar-table__tooltip-text_visible" : ""} radar-table__tooltip-text--${k}`,
|
|
690
690
|
children: t
|
|
691
691
|
}
|
|
692
692
|
)
|
|
@@ -705,7 +705,7 @@ function At({
|
|
|
705
705
|
fullConfig: n,
|
|
706
706
|
onColumnReorder: u
|
|
707
707
|
}) {
|
|
708
|
-
const [o,
|
|
708
|
+
const [o, k] = be(null), v = jt(
|
|
709
709
|
Ke(kt, {
|
|
710
710
|
activationConstraint: {
|
|
711
711
|
distance: 5
|
|
@@ -715,8 +715,8 @@ function At({
|
|
|
715
715
|
Ke(wt, {
|
|
716
716
|
coordinateGetter: Rt
|
|
717
717
|
})
|
|
718
|
-
),
|
|
719
|
-
const f = St(
|
|
718
|
+
), w = ee((C) => {
|
|
719
|
+
const f = St(C);
|
|
720
720
|
if (f.length > 0) {
|
|
721
721
|
const h = f.filter(
|
|
722
722
|
(x) => x.id.toString().startsWith("drop-zone-")
|
|
@@ -724,11 +724,11 @@ function At({
|
|
|
724
724
|
if (h.length > 0)
|
|
725
725
|
return console.log("🎯 Pointer collision found:", h[0].id), h;
|
|
726
726
|
}
|
|
727
|
-
const l = Dt(
|
|
727
|
+
const l = Dt(C).filter(
|
|
728
728
|
(h) => h.id.toString().startsWith("drop-zone-")
|
|
729
729
|
);
|
|
730
730
|
return l.length > 0 ? (console.log("📦 Rect collision found:", l[0].id), [l[0]]) : [];
|
|
731
|
-
}, []),
|
|
731
|
+
}, []), E = ee((C) => C.some((f) => f.children && f.children.length > 0), []), g = ee((C, f) => {
|
|
732
732
|
const r = (l, h, x = 0, m = null) => {
|
|
733
733
|
for (const y of l) {
|
|
734
734
|
if (y.key === h)
|
|
@@ -740,26 +740,26 @@ function At({
|
|
|
740
740
|
}
|
|
741
741
|
return null;
|
|
742
742
|
};
|
|
743
|
-
return r(
|
|
744
|
-
}, []), N = ee((
|
|
743
|
+
return r(C, f);
|
|
744
|
+
}, []), N = ee((C, f) => {
|
|
745
745
|
var l;
|
|
746
|
-
const r = g(f,
|
|
746
|
+
const r = g(f, C);
|
|
747
747
|
return r && (r.column.fixed || ((l = r.parent) == null ? void 0 : l.fixed)) || !1;
|
|
748
|
-
}, [g]), S = ee((
|
|
748
|
+
}, [g]), S = ee((C, f) => {
|
|
749
749
|
var h, x, m, y;
|
|
750
|
-
if (
|
|
750
|
+
if (C.columnKey === f.columnKey)
|
|
751
751
|
return !1;
|
|
752
|
-
const r = N(
|
|
752
|
+
const r = N(C.columnKey, n), l = N(f.columnKey, n);
|
|
753
753
|
if (r !== l)
|
|
754
754
|
return console.log("❌ Drop rejected: fixed status mismatch", {
|
|
755
755
|
draggedFixed: r,
|
|
756
756
|
targetFixed: l
|
|
757
757
|
}), !1;
|
|
758
|
-
if (
|
|
759
|
-
const D = g(n,
|
|
758
|
+
if (E(n)) {
|
|
759
|
+
const D = g(n, C.columnKey), p = g(n, f.columnKey);
|
|
760
760
|
if (!D || !p)
|
|
761
761
|
return console.log("❌ Drop rejected: column info not found"), !1;
|
|
762
|
-
const L =
|
|
762
|
+
const L = C.isLeaf, A = f.isLeaf;
|
|
763
763
|
if (!L && !A) {
|
|
764
764
|
const P = D.level === p.level, M = D.parent === null && p.parent === null || D.parent !== null && p.parent !== null && D.parent.key === p.parent.key;
|
|
765
765
|
return console.log("🔄 Group to group validation:", {
|
|
@@ -788,18 +788,18 @@ function At({
|
|
|
788
788
|
}), !1;
|
|
789
789
|
}
|
|
790
790
|
return !0;
|
|
791
|
-
}, [n,
|
|
791
|
+
}, [n, E, g, N]), I = ee((C, f, r) => {
|
|
792
792
|
var U, ue;
|
|
793
|
-
if (console.log("🔄 Performing column reorder:", { draggedKey:
|
|
794
|
-
const Z = r.findIndex((J) => J.key ===
|
|
793
|
+
if (console.log("🔄 Performing column reorder:", { draggedKey: C, targetKey: f }), !E(n)) {
|
|
794
|
+
const Z = r.findIndex((J) => J.key === C), re = r.findIndex((J) => J.key === f);
|
|
795
795
|
if (Z === -1 || re === -1)
|
|
796
796
|
return console.log("❌ Column not found in simple config"), r;
|
|
797
|
-
const q = [...r],
|
|
797
|
+
const q = [...r], se = q[Z];
|
|
798
798
|
q.splice(Z, 1);
|
|
799
799
|
const X = (Z < re, re);
|
|
800
|
-
return q.splice(X, 0,
|
|
800
|
+
return q.splice(X, 0, se), console.log("✅ Simple header reorder completed"), q;
|
|
801
801
|
}
|
|
802
|
-
const l = g(n,
|
|
802
|
+
const l = g(n, C), h = g(n, f);
|
|
803
803
|
if (!l || !h)
|
|
804
804
|
return console.log("❌ Column info not found in complex config"), r;
|
|
805
805
|
const x = JSON.parse(JSON.stringify(n)), m = (Z, re) => {
|
|
@@ -815,15 +815,15 @@ function At({
|
|
|
815
815
|
}
|
|
816
816
|
}
|
|
817
817
|
return null;
|
|
818
|
-
},
|
|
818
|
+
}, se = q(Z);
|
|
819
819
|
return {
|
|
820
|
-
container: (
|
|
821
|
-
parentObj:
|
|
820
|
+
container: (se == null ? void 0 : se.children) || Z,
|
|
821
|
+
parentObj: se
|
|
822
822
|
};
|
|
823
823
|
}, y = ((U = l.parent) == null ? void 0 : U.key) || null, D = ((ue = h.parent) == null ? void 0 : ue.key) || null, { container: p } = m(x, y), { container: L } = m(x, D);
|
|
824
824
|
if (p !== L)
|
|
825
825
|
return console.log("❌ Different containers for drag and target"), r;
|
|
826
|
-
const A = p.findIndex((Z) => Z.key ===
|
|
826
|
+
const A = p.findIndex((Z) => Z.key === C), P = p.findIndex((Z) => Z.key === f);
|
|
827
827
|
if (A === -1 || P === -1)
|
|
828
828
|
return console.log("❌ Column not found in container", {
|
|
829
829
|
draggedIndex: A,
|
|
@@ -832,18 +832,18 @@ function At({
|
|
|
832
832
|
}), r;
|
|
833
833
|
const [M] = p.splice(A, 1), te = (A < P, P);
|
|
834
834
|
return p.splice(te, 0, M), console.log("✅ Complex header reorder completed", {
|
|
835
|
-
draggedKey:
|
|
835
|
+
draggedKey: C,
|
|
836
836
|
targetKey: f,
|
|
837
837
|
draggedIndex: A,
|
|
838
838
|
targetIndex: P,
|
|
839
839
|
insertIndex: te,
|
|
840
840
|
parentKey: y
|
|
841
841
|
}), x;
|
|
842
|
-
}, [n,
|
|
843
|
-
const f =
|
|
844
|
-
|
|
845
|
-
}, []), Y = ee((
|
|
846
|
-
const { active: f, over: r } =
|
|
842
|
+
}, [n, E, g]), B = ee((C) => {
|
|
843
|
+
const f = C.active.data.current;
|
|
844
|
+
k(f), document.body.style.cursor = "grabbing", console.log("🚀 Drag started:", f);
|
|
845
|
+
}, []), Y = ee((C) => {
|
|
846
|
+
const { active: f, over: r } = C;
|
|
847
847
|
if (!r || !f.data.current) {
|
|
848
848
|
document.body.style.cursor = "grabbing";
|
|
849
849
|
return;
|
|
@@ -860,9 +860,9 @@ function At({
|
|
|
860
860
|
draggedType: l.isLeaf ? "leaf" : "group",
|
|
861
861
|
targetType: h.isLeaf ? "leaf" : "group"
|
|
862
862
|
});
|
|
863
|
-
}, [S]), H = ee((
|
|
864
|
-
const { active: f, over: r } =
|
|
865
|
-
if (document.body.style.cursor = "",
|
|
863
|
+
}, [S]), H = ee((C) => {
|
|
864
|
+
const { active: f, over: r } = C;
|
|
865
|
+
if (document.body.style.cursor = "", k(null), !r || !f.data.current || !r.data.current) {
|
|
866
866
|
console.log("❌ Invalid drop - no target");
|
|
867
867
|
return;
|
|
868
868
|
}
|
|
@@ -893,7 +893,7 @@ function At({
|
|
|
893
893
|
Ot,
|
|
894
894
|
{
|
|
895
895
|
sensors: v,
|
|
896
|
-
collisionDetection:
|
|
896
|
+
collisionDetection: w,
|
|
897
897
|
onDragStart: B,
|
|
898
898
|
onDragOver: Y,
|
|
899
899
|
onDragEnd: H,
|
|
@@ -904,7 +904,7 @@ function At({
|
|
|
904
904
|
" ",
|
|
905
905
|
o.columnKey,
|
|
906
906
|
o.isFixed && " 📌",
|
|
907
|
-
|
|
907
|
+
E(n) && /* @__PURE__ */ i.jsx("span", { className: "drag-type", children: o.isLeaf ? " (leaf)" : " (group)" })
|
|
908
908
|
] }) }) : null })
|
|
909
909
|
]
|
|
910
910
|
}
|
|
@@ -915,10 +915,10 @@ function Mt({
|
|
|
915
915
|
index: n,
|
|
916
916
|
config: u,
|
|
917
917
|
fullConfig: o,
|
|
918
|
-
sorting:
|
|
918
|
+
sorting: k,
|
|
919
919
|
onSort: v,
|
|
920
|
-
onResize:
|
|
921
|
-
sortIcon:
|
|
920
|
+
onResize: w,
|
|
921
|
+
sortIcon: E,
|
|
922
922
|
resizeable: g,
|
|
923
923
|
draggableColumns: N,
|
|
924
924
|
preset: S,
|
|
@@ -927,9 +927,9 @@ function Mt({
|
|
|
927
927
|
headerCellWrapperClassName: Y,
|
|
928
928
|
headerCellWrapperStyle: H,
|
|
929
929
|
stickyHeader: K,
|
|
930
|
-
scrollContainerRef:
|
|
930
|
+
scrollContainerRef: C
|
|
931
931
|
}) {
|
|
932
|
-
var
|
|
932
|
+
var le;
|
|
933
933
|
if (t.hidden)
|
|
934
934
|
return null;
|
|
935
935
|
const { activeColumn: f, isValidDropZone: r } = Wt(), l = !t.children || t.children.length === 0;
|
|
@@ -1006,7 +1006,7 @@ function Mt({
|
|
|
1006
1006
|
isLeaf: l
|
|
1007
1007
|
};
|
|
1008
1008
|
return r(f, _);
|
|
1009
|
-
}, [f, U, t.key, y, r, l]), re = Ne(() => M ? "grabbing" : U && f ? Z ? "copy" : "not-allowed" : "default", [M, U, f, Z]), q = t.fixed && !t.width ? 200 : t.width,
|
|
1009
|
+
}, [f, U, t.key, y, r, l]), re = Ne(() => M ? "grabbing" : U && f ? Z ? "copy" : "not-allowed" : "default", [M, U, f, Z]), q = t.fixed && !t.width ? 200 : t.width, se = t.fixed && !t.minWidth ? 200 : t.minWidth;
|
|
1010
1010
|
let X = t.fixedLeft ? t.fixedLeft : 0;
|
|
1011
1011
|
if (n !== 0)
|
|
1012
1012
|
for (let _ = 0; _ < n; _++) {
|
|
@@ -1031,7 +1031,7 @@ function Mt({
|
|
|
1031
1031
|
}
|
|
1032
1032
|
})(t);
|
|
1033
1033
|
let ne = "currentColor", ae = "currentColor";
|
|
1034
|
-
return
|
|
1034
|
+
return k.sort_field === t.key && (k.sort_order === "ASC" && (ne = "#5329FF"), k.sort_order === "DESC" && (ae = "#5329FF")), /* @__PURE__ */ i.jsx(
|
|
1035
1035
|
"th",
|
|
1036
1036
|
{
|
|
1037
1037
|
ref: ue,
|
|
@@ -1050,11 +1050,11 @@ function Mt({
|
|
|
1050
1050
|
rowSpan: t.rowSpan || 1,
|
|
1051
1051
|
style: {
|
|
1052
1052
|
width: q,
|
|
1053
|
-
minWidth:
|
|
1053
|
+
minWidth: se,
|
|
1054
1054
|
position: t.fixed ? "sticky" : "static",
|
|
1055
1055
|
top: K && typeof K == "number" ? K : 0,
|
|
1056
1056
|
left: X,
|
|
1057
|
-
borderRight: t.fixed && !((
|
|
1057
|
+
borderRight: t.fixed && !((le = u[n + 1]) != null && le.fixed) ? "1px solid #E8E8E8" : "none",
|
|
1058
1058
|
zIndex: t.fixed ? 2 : "auto",
|
|
1059
1059
|
backgroundColor: $,
|
|
1060
1060
|
cursor: re,
|
|
@@ -1093,7 +1093,7 @@ function Mt({
|
|
|
1093
1093
|
{
|
|
1094
1094
|
title: t.title,
|
|
1095
1095
|
onClick: () => {
|
|
1096
|
-
const { sort_order: _ } =
|
|
1096
|
+
const { sort_order: _ } = k;
|
|
1097
1097
|
let W = {
|
|
1098
1098
|
columnKey: t.key,
|
|
1099
1099
|
direction: "ASC"
|
|
@@ -1107,7 +1107,7 @@ function Mt({
|
|
|
1107
1107
|
children: t.title
|
|
1108
1108
|
}
|
|
1109
1109
|
) }),
|
|
1110
|
-
t.sortable && !
|
|
1110
|
+
t.sortable && !E && l && /* @__PURE__ */ i.jsxs("div", { className: "radar-table__sort-button-wrapper", children: [
|
|
1111
1111
|
/* @__PURE__ */ i.jsx(
|
|
1112
1112
|
"button",
|
|
1113
1113
|
{
|
|
@@ -1127,16 +1127,16 @@ function Mt({
|
|
|
1127
1127
|
}
|
|
1128
1128
|
)
|
|
1129
1129
|
] }),
|
|
1130
|
-
t.sortable &&
|
|
1130
|
+
t.sortable && E && l && E(k.sort_field, k.sort_order),
|
|
1131
1131
|
t.tooltipText && /* @__PURE__ */ i.jsx(Ft, { text: t.tooltipText, children: t.tooltipIcon }),
|
|
1132
1132
|
g && l && /* @__PURE__ */ i.jsx(
|
|
1133
1133
|
$t,
|
|
1134
1134
|
{
|
|
1135
1135
|
column: t,
|
|
1136
1136
|
currWidth: q,
|
|
1137
|
-
currMinWidth:
|
|
1138
|
-
onResize:
|
|
1139
|
-
scrollContainerRef:
|
|
1137
|
+
currMinWidth: se,
|
|
1138
|
+
onResize: w,
|
|
1139
|
+
scrollContainerRef: C
|
|
1140
1140
|
}
|
|
1141
1141
|
)
|
|
1142
1142
|
]
|
|
@@ -1150,11 +1150,11 @@ function Qe({
|
|
|
1150
1150
|
fullConfig: n,
|
|
1151
1151
|
onSort: u,
|
|
1152
1152
|
onResize: o,
|
|
1153
|
-
onColumnReorder:
|
|
1153
|
+
onColumnReorder: k,
|
|
1154
1154
|
// ✅ Сохранен (понадобится для передачи в TableDndProvider)
|
|
1155
1155
|
sortIcon: v,
|
|
1156
|
-
resizeable:
|
|
1157
|
-
draggableColumns:
|
|
1156
|
+
resizeable: w,
|
|
1157
|
+
draggableColumns: E,
|
|
1158
1158
|
preset: g,
|
|
1159
1159
|
headerClassName: N,
|
|
1160
1160
|
headerStyle: S,
|
|
@@ -1163,7 +1163,7 @@ function Qe({
|
|
|
1163
1163
|
headerCellClassName: Y,
|
|
1164
1164
|
headerCellStyle: H,
|
|
1165
1165
|
headerCellWrapperClassName: K,
|
|
1166
|
-
headerCellWrapperStyle:
|
|
1166
|
+
headerCellWrapperStyle: C,
|
|
1167
1167
|
stickyHeader: f,
|
|
1168
1168
|
scrollContainerRef: r
|
|
1169
1169
|
// ✅ Сохранен (для передачи в HeaderCell)
|
|
@@ -1198,13 +1198,13 @@ function Qe({
|
|
|
1198
1198
|
onSort: x,
|
|
1199
1199
|
onResize: o,
|
|
1200
1200
|
sortIcon: v,
|
|
1201
|
-
resizeable:
|
|
1202
|
-
draggableColumns:
|
|
1201
|
+
resizeable: w,
|
|
1202
|
+
draggableColumns: E,
|
|
1203
1203
|
preset: g,
|
|
1204
1204
|
headerCellClassName: Y,
|
|
1205
1205
|
headerCellStyle: H,
|
|
1206
1206
|
headerCellWrapperClassName: K,
|
|
1207
|
-
headerCellWrapperStyle:
|
|
1207
|
+
headerCellWrapperStyle: C,
|
|
1208
1208
|
stickyHeader: f,
|
|
1209
1209
|
scrollContainerRef: r
|
|
1210
1210
|
},
|
|
@@ -1218,10 +1218,10 @@ function Vt(t) {
|
|
|
1218
1218
|
config: n,
|
|
1219
1219
|
preset: u,
|
|
1220
1220
|
headerClassName: o,
|
|
1221
|
-
headerStyle:
|
|
1221
|
+
headerStyle: k,
|
|
1222
1222
|
stickyHeader: v,
|
|
1223
|
-
headerRowClassName:
|
|
1224
|
-
headerRowStyle:
|
|
1223
|
+
headerRowClassName: w,
|
|
1224
|
+
headerRowStyle: E,
|
|
1225
1225
|
headerCellClassName: g,
|
|
1226
1226
|
headerCellStyle: N,
|
|
1227
1227
|
headerCellWrapperClassName: S,
|
|
@@ -1237,7 +1237,7 @@ function Vt(t) {
|
|
|
1237
1237
|
});
|
|
1238
1238
|
};
|
|
1239
1239
|
return l(n), r;
|
|
1240
|
-
}, [n, H]),
|
|
1240
|
+
}, [n, H]), C = ee((r, l) => {
|
|
1241
1241
|
if (!B) return;
|
|
1242
1242
|
const h = (y, D) => {
|
|
1243
1243
|
for (const p of y) {
|
|
@@ -1275,8 +1275,8 @@ function Vt(t) {
|
|
|
1275
1275
|
return;
|
|
1276
1276
|
}
|
|
1277
1277
|
const l = (J, $, ne = [], ae = null) => {
|
|
1278
|
-
for (let
|
|
1279
|
-
const _ = J[
|
|
1278
|
+
for (let le = 0; le < J.length; le++) {
|
|
1279
|
+
const _ = J[le], W = [...ne, le];
|
|
1280
1280
|
if (_.key === $)
|
|
1281
1281
|
return {
|
|
1282
1282
|
column: _,
|
|
@@ -1303,8 +1303,8 @@ function Vt(t) {
|
|
|
1303
1303
|
return;
|
|
1304
1304
|
const { draggedKey: m, targetKey: y } = x, D = l(n, m), p = l(n, y);
|
|
1305
1305
|
if (!D || !p) return;
|
|
1306
|
-
const { column: L, parent: A, path: P, level: M } = D, { column: te, parent: U, path: ue, level: Z } = p, re = (J, $) => J.fixed || ($ == null ? void 0 : $.fixed) || !1, q = re(L, A),
|
|
1307
|
-
if (M !== Z || A !== U || A && U && A.key !== U.key || q !==
|
|
1306
|
+
const { column: L, parent: A, path: P, level: M } = D, { column: te, parent: U, path: ue, level: Z } = p, re = (J, $) => J.fixed || ($ == null ? void 0 : $.fixed) || !1, q = re(L, A), se = re(te, U);
|
|
1307
|
+
if (M !== Z || A !== U || A && U && A.key !== U.key || q !== se)
|
|
1308
1308
|
return;
|
|
1309
1309
|
const X = JSON.parse(JSON.stringify(n));
|
|
1310
1310
|
if (M === 0) {
|
|
@@ -1320,8 +1320,8 @@ function Vt(t) {
|
|
|
1320
1320
|
const ne = P[P.length - 1], ae = ue[ue.length - 1];
|
|
1321
1321
|
if (ne < 0 || ne >= $.children.length || ae < 0 || ae >= $.children.length)
|
|
1322
1322
|
return;
|
|
1323
|
-
const [
|
|
1324
|
-
$.children.splice(ae, 0,
|
|
1323
|
+
const [le] = $.children.splice(ne, 1);
|
|
1324
|
+
$.children.splice(ae, 0, le);
|
|
1325
1325
|
}
|
|
1326
1326
|
Y(X);
|
|
1327
1327
|
}, [n, Y, K]);
|
|
@@ -1332,7 +1332,7 @@ function Vt(t) {
|
|
|
1332
1332
|
style: {
|
|
1333
1333
|
position: v ? "sticky" : "static",
|
|
1334
1334
|
top: v && typeof v == "number" ? v : 0,
|
|
1335
|
-
...
|
|
1335
|
+
...k
|
|
1336
1336
|
},
|
|
1337
1337
|
children: Object.keys(K).map((r) => {
|
|
1338
1338
|
const l = K[parseInt(r)], h = parseInt(r);
|
|
@@ -1342,16 +1342,16 @@ function Vt(t) {
|
|
|
1342
1342
|
config: l,
|
|
1343
1343
|
fullConfig: n,
|
|
1344
1344
|
onSort: t.onSort,
|
|
1345
|
-
onResize:
|
|
1345
|
+
onResize: C,
|
|
1346
1346
|
onColumnReorder: f,
|
|
1347
1347
|
resizeable: t.resizeable,
|
|
1348
1348
|
draggableColumns: t.draggableColumns,
|
|
1349
1349
|
preset: u,
|
|
1350
1350
|
headerClassName: o,
|
|
1351
|
-
headerStyle:
|
|
1352
|
-
headerRowClassName:
|
|
1351
|
+
headerStyle: k,
|
|
1352
|
+
headerRowClassName: w,
|
|
1353
1353
|
headerRowStyle: {
|
|
1354
|
-
...
|
|
1354
|
+
...E,
|
|
1355
1355
|
position: v ? "sticky" : "static",
|
|
1356
1356
|
top: v && typeof v == "number" ? v + (h - 1) * 50 : 0
|
|
1357
1357
|
},
|
|
@@ -1374,9 +1374,9 @@ function Vt(t) {
|
|
|
1374
1374
|
style: {
|
|
1375
1375
|
position: v ? "sticky" : "static",
|
|
1376
1376
|
top: v && typeof v == "number" ? v : 0,
|
|
1377
|
-
...
|
|
1377
|
+
...k
|
|
1378
1378
|
},
|
|
1379
|
-
children: /* @__PURE__ */ i.jsx(Qe, { ...t, fullConfig: n, onResize:
|
|
1379
|
+
children: /* @__PURE__ */ i.jsx(Qe, { ...t, fullConfig: n, onResize: C, onColumnReorder: f, scrollContainerRef: t.scrollContainerRef })
|
|
1380
1380
|
}
|
|
1381
1381
|
);
|
|
1382
1382
|
}
|
|
@@ -1397,10 +1397,10 @@ function Bt({
|
|
|
1397
1397
|
dataSource: n,
|
|
1398
1398
|
config: u,
|
|
1399
1399
|
rowKey: o,
|
|
1400
|
-
loading:
|
|
1400
|
+
loading: k = !1,
|
|
1401
1401
|
onRowReorder: v,
|
|
1402
|
-
preset:
|
|
1403
|
-
customCellRender:
|
|
1402
|
+
preset: w,
|
|
1403
|
+
customCellRender: E,
|
|
1404
1404
|
treeMode: g,
|
|
1405
1405
|
expandedRowKeys: N,
|
|
1406
1406
|
defaultExpandedRowKeys: S,
|
|
@@ -1409,7 +1409,7 @@ function Bt({
|
|
|
1409
1409
|
expandIcon: Y,
|
|
1410
1410
|
bodyClassName: H,
|
|
1411
1411
|
bodyStyle: K,
|
|
1412
|
-
bodyRowClassName:
|
|
1412
|
+
bodyRowClassName: C,
|
|
1413
1413
|
bodyRowStyle: f,
|
|
1414
1414
|
bodyCellClassName: r,
|
|
1415
1415
|
bodyCellStyle: l,
|
|
@@ -1540,7 +1540,7 @@ function Bt({
|
|
|
1540
1540
|
if (!O || !c) return;
|
|
1541
1541
|
const T = O.type === "parent" && c.type === "parent" || O.type === "child" && c.type === "child" && O.parentKey === c.parentKey;
|
|
1542
1542
|
P(T && p !== b ? b : null);
|
|
1543
|
-
}, [p, g, q]),
|
|
1543
|
+
}, [p, g, q]), le = ee((s) => {
|
|
1544
1544
|
s.preventDefault(), P(null);
|
|
1545
1545
|
}, []), _ = ee(() => {
|
|
1546
1546
|
L(null), P(null), document.body.style.cursor = "";
|
|
@@ -1548,7 +1548,7 @@ function Bt({
|
|
|
1548
1548
|
if (s.preventDefault(), !p || p === b)
|
|
1549
1549
|
return;
|
|
1550
1550
|
if (!g) {
|
|
1551
|
-
const T = n.findIndex((
|
|
1551
|
+
const T = n.findIndex((ce) => (o ? o(ce) : JSON.stringify(ce)) === p), V = n.findIndex((ce) => (o ? o(ce) : JSON.stringify(ce)) === b);
|
|
1552
1552
|
if (T === -1 || V === -1)
|
|
1553
1553
|
return;
|
|
1554
1554
|
const R = [...n], [he] = R.splice(T, 1);
|
|
@@ -1558,7 +1558,7 @@ function Bt({
|
|
|
1558
1558
|
const O = q.get(p), c = q.get(b);
|
|
1559
1559
|
if (!(!O || !c)) {
|
|
1560
1560
|
if (O.type === "parent" && c.type === "parent") {
|
|
1561
|
-
const T = n.findIndex((
|
|
1561
|
+
const T = n.findIndex((ce) => (o ? o(ce) : JSON.stringify(ce)) === O.key), V = n.findIndex((ce) => (o ? o(ce) : JSON.stringify(ce)) === c.key);
|
|
1562
1562
|
if (T === -1 || V === -1) return;
|
|
1563
1563
|
const R = [...n], [he] = R.splice(T, 1);
|
|
1564
1564
|
R.splice(V, 0, he), v == null || v(R), L(null), P(null), document.body.style.cursor = "";
|
|
@@ -1569,12 +1569,12 @@ function Bt({
|
|
|
1569
1569
|
if (T === -1) return;
|
|
1570
1570
|
const V = n[T], R = V == null ? void 0 : V.children;
|
|
1571
1571
|
if (!R || R.length === 0) return;
|
|
1572
|
-
const he = R.findIndex((ge) => (o ? o(ge) : JSON.stringify(ge)) === O.key),
|
|
1573
|
-
if (he === -1 ||
|
|
1574
|
-
const Ce = n.map((ge,
|
|
1575
|
-
if (
|
|
1572
|
+
const he = R.findIndex((ge) => (o ? o(ge) : JSON.stringify(ge)) === O.key), ce = R.findIndex((ge) => (o ? o(ge) : JSON.stringify(ge)) === c.key);
|
|
1573
|
+
if (he === -1 || ce === -1) return;
|
|
1574
|
+
const Ce = n.map((ge, Se) => {
|
|
1575
|
+
if (Se !== T) return ge;
|
|
1576
1576
|
const Ee = [...R], [me] = Ee.splice(he, 1);
|
|
1577
|
-
return Ee.splice(
|
|
1577
|
+
return Ee.splice(ce, 0, me), { ...ge, children: Ee };
|
|
1578
1578
|
});
|
|
1579
1579
|
v == null || v(Ce), L(null), P(null), document.body.style.cursor = "";
|
|
1580
1580
|
return;
|
|
@@ -1583,15 +1583,15 @@ function Bt({
|
|
|
1583
1583
|
}, [p, n, o, v, g, q]);
|
|
1584
1584
|
if (n.length === 0) {
|
|
1585
1585
|
let s;
|
|
1586
|
-
return y && (s = ((pe = y.current) == null ? void 0 : pe.clientWidth) + "px"), /* @__PURE__ */ i.jsx("tbody", { className: `radar-table__body ${
|
|
1586
|
+
return y && (s = ((pe = y.current) == null ? void 0 : pe.clientWidth) + "px"), /* @__PURE__ */ i.jsx("tbody", { className: `radar-table__body ${w ? w + "__body" : ""} ${H}`, style: K, children: /* @__PURE__ */ i.jsx(
|
|
1587
1587
|
"tr",
|
|
1588
1588
|
{
|
|
1589
|
-
className: `radar-table__body-row ${
|
|
1589
|
+
className: `radar-table__body-row ${w ? w + "__body-row" : ""} ${C}`,
|
|
1590
1590
|
style: f,
|
|
1591
1591
|
children: /* @__PURE__ */ i.jsxs(
|
|
1592
1592
|
"td",
|
|
1593
1593
|
{
|
|
1594
|
-
className: `radar-table__body-cell ${
|
|
1594
|
+
className: `radar-table__body-cell ${w ? w + "__body-cell" : ""} ${r}`,
|
|
1595
1595
|
colSpan: X.length,
|
|
1596
1596
|
style: {
|
|
1597
1597
|
...l
|
|
@@ -1616,32 +1616,32 @@ function Bt({
|
|
|
1616
1616
|
const b = new Set(U);
|
|
1617
1617
|
b.has(s) ? b.delete(s) : b.add(s), ue(Array.from(b));
|
|
1618
1618
|
}, [U, ue]);
|
|
1619
|
-
return /* @__PURE__ */ i.jsx("tbody", { className: `radar-table__body ${
|
|
1619
|
+
return /* @__PURE__ */ i.jsx("tbody", { className: `radar-table__body ${w ? w + "__body" : ""} ${H}`, style: K, children: ie.map((s) => {
|
|
1620
1620
|
const b = s.record, O = s.key;
|
|
1621
1621
|
return /* @__PURE__ */ i.jsx(
|
|
1622
1622
|
"tr",
|
|
1623
1623
|
{
|
|
1624
|
-
className: `radar-table__body-row ${
|
|
1624
|
+
className: `radar-table__body-row ${w ? w + "__body-row" : ""} ${C} ${p === O ? "dragging" : ""} ${A === O ? "drag-over" : ""} ${g ? s.type === "parent" ? "radar-table__body-row--parent" : "radar-table__body-row--child" : ""}`,
|
|
1625
1625
|
style: f,
|
|
1626
1626
|
draggable: t,
|
|
1627
1627
|
onDragStart: (c) => $(c, O),
|
|
1628
1628
|
onDragOver: ne,
|
|
1629
1629
|
onDragEnter: (c) => ae(c, O),
|
|
1630
|
-
onDragLeave:
|
|
1630
|
+
onDragLeave: le,
|
|
1631
1631
|
onDrop: (c) => W(c, O),
|
|
1632
1632
|
onDragEnd: _,
|
|
1633
1633
|
children: X.map((c, T) => {
|
|
1634
1634
|
var De, Oe;
|
|
1635
1635
|
const V = c.fixed && !c.width ? 200 : c.width, R = c.fixed && !c.minWidth ? 200 : c.minWidth;
|
|
1636
|
-
let he = c.fixedLeft ? c.fixedLeft : 0,
|
|
1637
|
-
if (
|
|
1636
|
+
let he = c.fixedLeft ? c.fixedLeft : 0, ce = !1;
|
|
1637
|
+
if (E && E.idx.includes(c.dataIndex) && (ce = !0), E && E.idx.length === 0 && (ce = !0), c.fixed && T !== 0)
|
|
1638
1638
|
for (let _e = 0; _e < T; _e++)
|
|
1639
1639
|
X[_e].fixed && !X[_e].hidden && (he += (X[_e].width || X[_e].minWidth || 200) + (X[_e].fixedLeft || 0));
|
|
1640
|
-
const Ce = J(c), ge = T === 0,
|
|
1641
|
-
return !c.hidden && /* @__PURE__ */ i.
|
|
1640
|
+
const Ce = J(c), ge = T === 0, Se = g && ge && s.depth > 0 ? s.depth * (B || 16) : void 0, Ee = !!(g && s.type === "parent"), me = !!(g && U.has(s.key));
|
|
1641
|
+
return !c.hidden && /* @__PURE__ */ i.jsx(
|
|
1642
1642
|
"td",
|
|
1643
1643
|
{
|
|
1644
|
-
className: `radar-table__body-cell ${
|
|
1644
|
+
className: `radar-table__body-cell ${w ? w + "__body-cell" : ""} ${r}`,
|
|
1645
1645
|
style: {
|
|
1646
1646
|
width: V,
|
|
1647
1647
|
minWidth: R,
|
|
@@ -1650,47 +1650,35 @@ function Bt({
|
|
|
1650
1650
|
borderRight: c.fixed && !((De = X[T + 1]) != null && De.fixed) ? "1px solid #E8E8E8" : "none",
|
|
1651
1651
|
...l
|
|
1652
1652
|
},
|
|
1653
|
-
children:
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
{
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1653
|
+
children: /* @__PURE__ */ i.jsxs(
|
|
1654
|
+
"div",
|
|
1655
|
+
{
|
|
1656
|
+
className: `radar-table__body-cell-wrapper ${w ? w + "__body-cell-wrapper" : ""} ${h}`,
|
|
1657
|
+
style: {
|
|
1658
|
+
backgroundColor: Ce || "white",
|
|
1659
|
+
paddingLeft: Se,
|
|
1660
|
+
...x
|
|
1661
|
+
},
|
|
1662
|
+
children: [
|
|
1663
|
+
ge && Ee && g && /* @__PURE__ */ i.jsx(
|
|
1664
|
+
"button",
|
|
1665
|
+
{
|
|
1666
|
+
type: "button",
|
|
1667
|
+
className: `radar-table__expander-btn ${me ? "expanded" : ""}`,
|
|
1668
|
+
"aria-expanded": me,
|
|
1669
|
+
onClick: () => fe(s.key),
|
|
1670
|
+
style: { marginRight: 8, cursor: "pointer", background: "transparent", border: "none", transform: me ? "rotate(180deg)" : "rotate(0deg)", transition: "transform 150ms ease" },
|
|
1671
|
+
title: me ? "Свернуть" : "Развернуть",
|
|
1672
|
+
children: Y ? Y(me, b) : /* @__PURE__ */ i.jsx("svg", { width: "12", height: "8", viewBox: "0 0 12 8", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ i.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" }) })
|
|
1673
|
+
}
|
|
1674
|
+
),
|
|
1675
|
+
ce ? E == null ? void 0 : E.renderer(b[c.dataIndex], b, T, c.dataIndex) : /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
1676
1676
|
c.units && zt(((Oe = b[c.key]) == null ? void 0 : Oe.toString()) || "", c.units),
|
|
1677
1677
|
!c.units && b[c.key]
|
|
1678
|
-
]
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
"div",
|
|
1683
|
-
{
|
|
1684
|
-
className: `radar-table__body-cell-wrapper ${C ? C + "__body-cell-wrapper" : ""} ${h}`,
|
|
1685
|
-
style: {
|
|
1686
|
-
...x,
|
|
1687
|
-
backgroundColor: Ce || "white",
|
|
1688
|
-
paddingLeft: ke
|
|
1689
|
-
},
|
|
1690
|
-
children: j == null ? void 0 : j.renderer(b[c.dataIndex], b, T, c.dataIndex)
|
|
1691
|
-
}
|
|
1692
|
-
)
|
|
1693
|
-
]
|
|
1678
|
+
] })
|
|
1679
|
+
]
|
|
1680
|
+
}
|
|
1681
|
+
)
|
|
1694
1682
|
},
|
|
1695
1683
|
c.key
|
|
1696
1684
|
);
|
|
@@ -1701,17 +1689,17 @@ function Bt({
|
|
|
1701
1689
|
}) });
|
|
1702
1690
|
}
|
|
1703
1691
|
const et = ({ config: t }) => {
|
|
1704
|
-
const [{ current: n, pageSize: u, total: o, onChange:
|
|
1692
|
+
const [{ current: n, pageSize: u, total: o, onChange: k, showQuickJumper: v, buttonsCount: w = 4, hideOnSinglePage: E = !1 }, g] = be(t);
|
|
1705
1693
|
Ie(() => {
|
|
1706
1694
|
g(t);
|
|
1707
1695
|
}, [t]);
|
|
1708
|
-
const N = Math.ceil(n /
|
|
1696
|
+
const N = Math.ceil(n / w), S = (N - 1) * w + 1, I = N * w, B = (r) => {
|
|
1709
1697
|
const l = ["Backspace", "Delete", "ArrowLeft", "ArrowRight", "Tab", "Enter"];
|
|
1710
1698
|
!/^[0-9]$/.test(r.key) && !l.includes(r.key) && r.preventDefault();
|
|
1711
1699
|
}, Y = (r) => {
|
|
1712
1700
|
if (r.key === "Enter") {
|
|
1713
1701
|
const l = parseInt(r.currentTarget.value);
|
|
1714
|
-
l > 0 && l <= o && (g({ ...t, current: l }),
|
|
1702
|
+
l > 0 && l <= o && (g({ ...t, current: l }), k == null || k(l, u), r.currentTarget.value = "");
|
|
1715
1703
|
}
|
|
1716
1704
|
}, H = (r) => {
|
|
1717
1705
|
const h = r.target.value.replace(/[^0-9]/g, "");
|
|
@@ -1720,28 +1708,28 @@ const et = ({ config: t }) => {
|
|
|
1720
1708
|
r.preventDefault();
|
|
1721
1709
|
const h = r.clipboardData.getData("text").replace(/[^0-9]/g, ""), x = r.target, m = x.selectionStart || 0, y = x.selectionEnd || 0, D = x.value.substring(0, m) + h + x.value.substring(y);
|
|
1722
1710
|
x.value = D, x.setSelectionRange(m + h.length, m + h.length);
|
|
1723
|
-
},
|
|
1711
|
+
}, C = (r) => {
|
|
1724
1712
|
const l = r.currentTarget.id;
|
|
1725
|
-
l === "pagination_left_button" && n > 1 && (g({ ...t, current: n - 1 }),
|
|
1713
|
+
l === "pagination_left_button" && n > 1 && (g({ ...t, current: n - 1 }), k == null || k(n - 1, u)), l === "pagination_right_button" && n < o && (g({ ...t, current: n + 1 }), k == null || k(n + 1, u));
|
|
1726
1714
|
}, f = (r) => {
|
|
1727
|
-
g({ ...t, current: r }),
|
|
1715
|
+
g({ ...t, current: r }), k == null || k(r, u);
|
|
1728
1716
|
};
|
|
1729
|
-
return
|
|
1717
|
+
return E && o <= 1 ? null : /* @__PURE__ */ i.jsxs("div", { className: "radar-table__pagination", children: [
|
|
1730
1718
|
/* @__PURE__ */ i.jsxs(
|
|
1731
1719
|
"div",
|
|
1732
1720
|
{
|
|
1733
1721
|
className: "radar-table__pagination-main",
|
|
1734
1722
|
style: {
|
|
1735
|
-
gridTemplateColumns: `repeat(${
|
|
1723
|
+
gridTemplateColumns: `repeat(${w + 2}, 32px)`
|
|
1736
1724
|
},
|
|
1737
1725
|
children: [
|
|
1738
|
-
/* @__PURE__ */ i.jsx("button", { className: "radar-table__pagination-button radar-table__pagination-button_control", id: "pagination_left_button", onClick:
|
|
1726
|
+
/* @__PURE__ */ i.jsx("button", { className: "radar-table__pagination-button radar-table__pagination-button_control", id: "pagination_left_button", onClick: C, title: "Назад", children: /* @__PURE__ */ i.jsx("svg", { width: "6", height: "10", viewBox: "0 0 6 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ i.jsx("path", { d: "M5 0.544067L1 4.54407L5 8.54407", stroke: "#8C8C8C", strokeLinecap: "round" }) }) }),
|
|
1739
1727
|
Array.from({ length: o }, (r, l) => l + 1).map((r) => {
|
|
1740
1728
|
const l = n === r;
|
|
1741
1729
|
if (r >= S && r <= I)
|
|
1742
1730
|
return l ? /* @__PURE__ */ i.jsx("button", { className: "radar-table__pagination-button radar-table__pagination-button_active", children: r }, r) : /* @__PURE__ */ i.jsx("button", { className: "radar-table__pagination-button", onClick: () => f(r), children: r }, r);
|
|
1743
1731
|
}),
|
|
1744
|
-
/* @__PURE__ */ i.jsx("button", { className: "radar-table__pagination-button radar-table__pagination-button_control", id: "pagination_right_button", onClick:
|
|
1732
|
+
/* @__PURE__ */ i.jsx("button", { className: "radar-table__pagination-button radar-table__pagination-button_control", id: "pagination_right_button", onClick: C, title: "Вперёд", children: /* @__PURE__ */ i.jsx("svg", { width: "6", height: "10", viewBox: "0 0 6 10", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ i.jsx("path", { d: "M1 8.54407L5 4.54407L1 0.544067", stroke: "#8C8C8C", strokeLinecap: "round" }) }) })
|
|
1745
1733
|
]
|
|
1746
1734
|
}
|
|
1747
1735
|
),
|
|
@@ -1767,10 +1755,10 @@ function Kt({
|
|
|
1767
1755
|
preset: n,
|
|
1768
1756
|
config: u,
|
|
1769
1757
|
rowKey: o,
|
|
1770
|
-
loading:
|
|
1758
|
+
loading: k = !1,
|
|
1771
1759
|
pagination: v,
|
|
1772
|
-
stickyHeader:
|
|
1773
|
-
resizeable:
|
|
1760
|
+
stickyHeader: w = !1,
|
|
1761
|
+
resizeable: E = !1,
|
|
1774
1762
|
draggableRows: g = !1,
|
|
1775
1763
|
draggableColumns: N = !1,
|
|
1776
1764
|
scrollContainerRef: S,
|
|
@@ -1779,7 +1767,7 @@ function Kt({
|
|
|
1779
1767
|
onRowReorder: Y,
|
|
1780
1768
|
onColumnReorder: H,
|
|
1781
1769
|
customCellRender: K,
|
|
1782
|
-
noDataRender:
|
|
1770
|
+
noDataRender: C,
|
|
1783
1771
|
sortIcon: f,
|
|
1784
1772
|
expandIcon: r,
|
|
1785
1773
|
recalculateRowHeight: l = !1,
|
|
@@ -1800,13 +1788,13 @@ function Kt({
|
|
|
1800
1788
|
headerCellWrapperClassName: Z = "",
|
|
1801
1789
|
headerCellWrapperStyle: re,
|
|
1802
1790
|
bodyClassName: q = "",
|
|
1803
|
-
bodyStyle:
|
|
1791
|
+
bodyStyle: se,
|
|
1804
1792
|
bodyRowClassName: X = "",
|
|
1805
1793
|
bodyRowStyle: J,
|
|
1806
1794
|
bodyCellClassName: $ = "",
|
|
1807
1795
|
bodyCellStyle: ne,
|
|
1808
1796
|
bodyCellWrapperClassName: ae = "",
|
|
1809
|
-
bodyCellWrapperStyle:
|
|
1797
|
+
bodyCellWrapperStyle: le,
|
|
1810
1798
|
headerGroupRowClassName: _,
|
|
1811
1799
|
headerGroupRowStyle: W,
|
|
1812
1800
|
headerGroupCellClassName: ie,
|
|
@@ -1829,10 +1817,10 @@ function Kt({
|
|
|
1829
1817
|
preset: n,
|
|
1830
1818
|
config: u,
|
|
1831
1819
|
rowKey: o,
|
|
1832
|
-
loading:
|
|
1820
|
+
loading: k,
|
|
1833
1821
|
pagination: v,
|
|
1834
|
-
stickyHeader:
|
|
1835
|
-
resizeable:
|
|
1822
|
+
stickyHeader: w,
|
|
1823
|
+
resizeable: E,
|
|
1836
1824
|
draggableRows: g,
|
|
1837
1825
|
draggableColumns: N,
|
|
1838
1826
|
scrollContainerRef: S,
|
|
@@ -1859,13 +1847,13 @@ function Kt({
|
|
|
1859
1847
|
headerCellWrapperClassName: Z,
|
|
1860
1848
|
headerCellWrapperStyle: re,
|
|
1861
1849
|
bodyClassName: q,
|
|
1862
|
-
bodyStyle:
|
|
1850
|
+
bodyStyle: se,
|
|
1863
1851
|
bodyRowClassName: X,
|
|
1864
1852
|
bodyRowStyle: J,
|
|
1865
1853
|
bodyCellClassName: $,
|
|
1866
1854
|
bodyCellStyle: ne,
|
|
1867
1855
|
bodyCellWrapperClassName: ae,
|
|
1868
|
-
bodyCellWrapperStyle:
|
|
1856
|
+
bodyCellWrapperStyle: le,
|
|
1869
1857
|
headerGroupRowClassName: _,
|
|
1870
1858
|
headerGroupRowStyle: W,
|
|
1871
1859
|
headerGroupCellClassName: ie,
|
|
@@ -1874,7 +1862,7 @@ function Kt({
|
|
|
1874
1862
|
headerGroupCellWrapperStyle: s,
|
|
1875
1863
|
paginationContainerClassName: b,
|
|
1876
1864
|
paginationContainerStyle: O,
|
|
1877
|
-
noDataRender:
|
|
1865
|
+
noDataRender: C,
|
|
1878
1866
|
recalculateRowHeight: l
|
|
1879
1867
|
}
|
|
1880
1868
|
)
|
|
@@ -1889,10 +1877,10 @@ function Kt({
|
|
|
1889
1877
|
preset: n,
|
|
1890
1878
|
config: u,
|
|
1891
1879
|
rowKey: o,
|
|
1892
|
-
loading:
|
|
1880
|
+
loading: k,
|
|
1893
1881
|
pagination: v,
|
|
1894
|
-
stickyHeader:
|
|
1895
|
-
resizeable:
|
|
1882
|
+
stickyHeader: w,
|
|
1883
|
+
resizeable: E,
|
|
1896
1884
|
draggableRows: g,
|
|
1897
1885
|
draggableColumns: N,
|
|
1898
1886
|
scrollContainerRef: S,
|
|
@@ -1919,13 +1907,13 @@ function Kt({
|
|
|
1919
1907
|
headerCellWrapperClassName: Z,
|
|
1920
1908
|
headerCellWrapperStyle: re,
|
|
1921
1909
|
bodyClassName: q,
|
|
1922
|
-
bodyStyle:
|
|
1910
|
+
bodyStyle: se,
|
|
1923
1911
|
bodyRowClassName: X,
|
|
1924
1912
|
bodyRowStyle: J,
|
|
1925
1913
|
bodyCellClassName: $,
|
|
1926
1914
|
bodyCellStyle: ne,
|
|
1927
1915
|
bodyCellWrapperClassName: ae,
|
|
1928
|
-
bodyCellWrapperStyle:
|
|
1916
|
+
bodyCellWrapperStyle: le,
|
|
1929
1917
|
headerGroupRowClassName: _,
|
|
1930
1918
|
headerGroupRowStyle: W,
|
|
1931
1919
|
headerGroupCellClassName: ie,
|
|
@@ -1934,7 +1922,7 @@ function Kt({
|
|
|
1934
1922
|
headerGroupCellWrapperStyle: s,
|
|
1935
1923
|
paginationContainerClassName: b,
|
|
1936
1924
|
paginationContainerStyle: O,
|
|
1937
|
-
noDataRender:
|
|
1925
|
+
noDataRender: C,
|
|
1938
1926
|
recalculateRowHeight: l
|
|
1939
1927
|
}
|
|
1940
1928
|
),
|
|
@@ -1946,10 +1934,10 @@ function tt(t) {
|
|
|
1946
1934
|
dataSource: n,
|
|
1947
1935
|
preset: u,
|
|
1948
1936
|
config: o,
|
|
1949
|
-
rowKey:
|
|
1937
|
+
rowKey: k,
|
|
1950
1938
|
loading: v,
|
|
1951
|
-
stickyHeader:
|
|
1952
|
-
resizeable:
|
|
1939
|
+
stickyHeader: w,
|
|
1940
|
+
resizeable: E,
|
|
1953
1941
|
draggableRows: g,
|
|
1954
1942
|
draggableColumns: N,
|
|
1955
1943
|
scrollContainerRef: S,
|
|
@@ -1958,7 +1946,7 @@ function tt(t) {
|
|
|
1958
1946
|
onRowReorder: Y,
|
|
1959
1947
|
onColumnReorder: H,
|
|
1960
1948
|
customCellRender: K,
|
|
1961
|
-
sortIcon:
|
|
1949
|
+
sortIcon: C,
|
|
1962
1950
|
expandIcon: f,
|
|
1963
1951
|
treeMode: r,
|
|
1964
1952
|
expandedRowKeys: l,
|
|
@@ -1978,13 +1966,13 @@ function tt(t) {
|
|
|
1978
1966
|
bodyClassName: Z,
|
|
1979
1967
|
bodyStyle: re,
|
|
1980
1968
|
bodyRowClassName: q,
|
|
1981
|
-
bodyRowStyle:
|
|
1969
|
+
bodyRowStyle: se,
|
|
1982
1970
|
bodyCellClassName: X,
|
|
1983
1971
|
bodyCellStyle: J,
|
|
1984
1972
|
bodyCellWrapperClassName: $,
|
|
1985
1973
|
bodyCellWrapperStyle: ne,
|
|
1986
1974
|
headerGroupRowClassName: ae,
|
|
1987
|
-
headerGroupRowStyle:
|
|
1975
|
+
headerGroupRowStyle: le,
|
|
1988
1976
|
headerGroupCellClassName: _,
|
|
1989
1977
|
headerGroupCellStyle: W,
|
|
1990
1978
|
headerGroupCellWrapperClassName: ie,
|
|
@@ -1999,9 +1987,9 @@ function tt(t) {
|
|
|
1999
1987
|
draggableColumns: N,
|
|
2000
1988
|
config: o,
|
|
2001
1989
|
onSort: B,
|
|
2002
|
-
resizeable:
|
|
1990
|
+
resizeable: E,
|
|
2003
1991
|
onResize: I,
|
|
2004
|
-
sortIcon:
|
|
1992
|
+
sortIcon: C,
|
|
2005
1993
|
preset: u,
|
|
2006
1994
|
headerClassName: p,
|
|
2007
1995
|
headerStyle: L,
|
|
@@ -2012,12 +2000,12 @@ function tt(t) {
|
|
|
2012
2000
|
headerCellWrapperClassName: U,
|
|
2013
2001
|
headerCellWrapperStyle: ue,
|
|
2014
2002
|
headerGroupRowClassName: ae,
|
|
2015
|
-
headerGroupRowStyle:
|
|
2003
|
+
headerGroupRowStyle: le,
|
|
2016
2004
|
headerGroupCellClassName: _,
|
|
2017
2005
|
headerGroupCellStyle: W,
|
|
2018
2006
|
headerGroupCellWrapperClassName: ie,
|
|
2019
2007
|
headerGroupCellWrapperStyle: fe,
|
|
2020
|
-
stickyHeader:
|
|
2008
|
+
stickyHeader: w,
|
|
2021
2009
|
scrollContainerRef: S,
|
|
2022
2010
|
onColumnReorder: H
|
|
2023
2011
|
}
|
|
@@ -2029,7 +2017,7 @@ function tt(t) {
|
|
|
2029
2017
|
onRowReorder: Y,
|
|
2030
2018
|
dataSource: n,
|
|
2031
2019
|
config: o,
|
|
2032
|
-
rowKey:
|
|
2020
|
+
rowKey: k,
|
|
2033
2021
|
loading: v,
|
|
2034
2022
|
preset: u,
|
|
2035
2023
|
customCellRender: K,
|
|
@@ -2042,7 +2030,7 @@ function tt(t) {
|
|
|
2042
2030
|
bodyClassName: Z,
|
|
2043
2031
|
bodyStyle: re,
|
|
2044
2032
|
bodyRowClassName: q,
|
|
2045
|
-
bodyRowStyle:
|
|
2033
|
+
bodyRowStyle: se,
|
|
2046
2034
|
bodyCellClassName: X,
|
|
2047
2035
|
bodyCellStyle: J,
|
|
2048
2036
|
bodyCellWrapperClassName: $,
|