@yester/virtual-table 1.1.2 → 1.1.3
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/virtual-table.es.js
CHANGED
|
@@ -19,7 +19,7 @@ function zr() {
|
|
|
19
19
|
if (It)
|
|
20
20
|
return We;
|
|
21
21
|
It = 1;
|
|
22
|
-
var e = Ye, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty,
|
|
22
|
+
var e = Ye, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, i = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
23
23
|
function a(l, c, f) {
|
|
24
24
|
var h, b = {}, p = null, j = null;
|
|
25
25
|
f !== void 0 && (p = "" + f), c.key !== void 0 && (p = "" + c.key), c.ref !== void 0 && (j = c.ref);
|
|
@@ -28,7 +28,7 @@ function zr() {
|
|
|
28
28
|
if (l && l.defaultProps)
|
|
29
29
|
for (h in c = l.defaultProps, c)
|
|
30
30
|
b[h] === void 0 && (b[h] = c[h]);
|
|
31
|
-
return { $$typeof: t, type: l, key: p, ref: j, props: b, _owner:
|
|
31
|
+
return { $$typeof: t, type: l, key: p, ref: j, props: b, _owner: i.current };
|
|
32
32
|
}
|
|
33
33
|
return We.Fragment = r, We.jsx = a, We.jsxs = a, We;
|
|
34
34
|
}
|
|
@@ -45,86 +45,86 @@ var Ve = {};
|
|
|
45
45
|
var Lt;
|
|
46
46
|
function Ir() {
|
|
47
47
|
return Lt || (Lt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
48
|
-
var e = Ye, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"),
|
|
49
|
-
function d(
|
|
50
|
-
if (
|
|
48
|
+
var e = Ye, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), T = Symbol.iterator, w = "@@iterator";
|
|
49
|
+
function d(o) {
|
|
50
|
+
if (o === null || typeof o != "object")
|
|
51
51
|
return null;
|
|
52
|
-
var u = T &&
|
|
52
|
+
var u = T && o[T] || o[w];
|
|
53
53
|
return typeof u == "function" ? u : null;
|
|
54
54
|
}
|
|
55
55
|
var F = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
56
|
-
function k(
|
|
56
|
+
function k(o) {
|
|
57
57
|
{
|
|
58
58
|
for (var u = arguments.length, m = new Array(u > 1 ? u - 1 : 0), $ = 1; $ < u; $++)
|
|
59
59
|
m[$ - 1] = arguments[$];
|
|
60
|
-
J("error",
|
|
60
|
+
J("error", o, m);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
|
-
function J(
|
|
63
|
+
function J(o, u, m) {
|
|
64
64
|
{
|
|
65
65
|
var $ = F.ReactDebugCurrentFrame, K = $.getStackAddendum();
|
|
66
66
|
K !== "" && (u += "%s", m = m.concat([K]));
|
|
67
67
|
var X = m.map(function(V) {
|
|
68
68
|
return String(V);
|
|
69
69
|
});
|
|
70
|
-
X.unshift("Warning: " + u), Function.prototype.apply.call(console[
|
|
70
|
+
X.unshift("Warning: " + u), Function.prototype.apply.call(console[o], console, X);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
var A = !1, P = !1, D = !1, z = !1, I = !1, B;
|
|
74
74
|
B = Symbol.for("react.module.reference");
|
|
75
|
-
function M(
|
|
76
|
-
return !!(typeof
|
|
75
|
+
function M(o) {
|
|
76
|
+
return !!(typeof o == "string" || typeof o == "function" || o === n || o === s || I || o === i || o === f || o === h || z || o === j || A || P || D || typeof o == "object" && o !== null && (o.$$typeof === p || o.$$typeof === b || o.$$typeof === a || o.$$typeof === l || o.$$typeof === c || // This needs to include all possible module reference object
|
|
77
77
|
// types supported by any Flight configuration anywhere since
|
|
78
78
|
// we don't know which Flight build this will end up being used
|
|
79
79
|
// with.
|
|
80
|
-
|
|
80
|
+
o.$$typeof === B || o.getModuleId !== void 0));
|
|
81
81
|
}
|
|
82
|
-
function W(
|
|
83
|
-
var $ =
|
|
82
|
+
function W(o, u, m) {
|
|
83
|
+
var $ = o.displayName;
|
|
84
84
|
if ($)
|
|
85
85
|
return $;
|
|
86
86
|
var K = u.displayName || u.name || "";
|
|
87
87
|
return K !== "" ? m + "(" + K + ")" : m;
|
|
88
88
|
}
|
|
89
|
-
function Y(
|
|
90
|
-
return
|
|
89
|
+
function Y(o) {
|
|
90
|
+
return o.displayName || "Context";
|
|
91
91
|
}
|
|
92
|
-
function q(
|
|
93
|
-
if (
|
|
92
|
+
function q(o) {
|
|
93
|
+
if (o == null)
|
|
94
94
|
return null;
|
|
95
|
-
if (typeof
|
|
96
|
-
return
|
|
97
|
-
if (typeof
|
|
98
|
-
return
|
|
99
|
-
switch (
|
|
95
|
+
if (typeof o.tag == "number" && k("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof o == "function")
|
|
96
|
+
return o.displayName || o.name || null;
|
|
97
|
+
if (typeof o == "string")
|
|
98
|
+
return o;
|
|
99
|
+
switch (o) {
|
|
100
100
|
case n:
|
|
101
101
|
return "Fragment";
|
|
102
102
|
case r:
|
|
103
103
|
return "Portal";
|
|
104
104
|
case s:
|
|
105
105
|
return "Profiler";
|
|
106
|
-
case
|
|
106
|
+
case i:
|
|
107
107
|
return "StrictMode";
|
|
108
108
|
case f:
|
|
109
109
|
return "Suspense";
|
|
110
110
|
case h:
|
|
111
111
|
return "SuspenseList";
|
|
112
112
|
}
|
|
113
|
-
if (typeof
|
|
114
|
-
switch (
|
|
113
|
+
if (typeof o == "object")
|
|
114
|
+
switch (o.$$typeof) {
|
|
115
115
|
case l:
|
|
116
|
-
var u =
|
|
116
|
+
var u = o;
|
|
117
117
|
return Y(u) + ".Consumer";
|
|
118
118
|
case a:
|
|
119
|
-
var m =
|
|
119
|
+
var m = o;
|
|
120
120
|
return Y(m._context) + ".Provider";
|
|
121
121
|
case c:
|
|
122
|
-
return W(
|
|
122
|
+
return W(o, o.render, "ForwardRef");
|
|
123
123
|
case b:
|
|
124
|
-
var $ =
|
|
125
|
-
return $ !== null ? $ : q(
|
|
124
|
+
var $ = o.displayName || null;
|
|
125
|
+
return $ !== null ? $ : q(o.type) || "Memo";
|
|
126
126
|
case p: {
|
|
127
|
-
var K =
|
|
127
|
+
var K = o, X = K._payload, V = K._init;
|
|
128
128
|
try {
|
|
129
129
|
return q(V(X));
|
|
130
130
|
} catch {
|
|
@@ -142,20 +142,20 @@ function Ir() {
|
|
|
142
142
|
{
|
|
143
143
|
if (he === 0) {
|
|
144
144
|
ye = console.log, Te = console.info, _e = console.warn, be = console.error, Se = console.group, g = console.groupCollapsed, C = console.groupEnd;
|
|
145
|
-
var
|
|
145
|
+
var o = {
|
|
146
146
|
configurable: !0,
|
|
147
147
|
enumerable: !0,
|
|
148
148
|
value: E,
|
|
149
149
|
writable: !0
|
|
150
150
|
};
|
|
151
151
|
Object.defineProperties(console, {
|
|
152
|
-
info:
|
|
153
|
-
log:
|
|
154
|
-
warn:
|
|
155
|
-
error:
|
|
156
|
-
group:
|
|
157
|
-
groupCollapsed:
|
|
158
|
-
groupEnd:
|
|
152
|
+
info: o,
|
|
153
|
+
log: o,
|
|
154
|
+
warn: o,
|
|
155
|
+
error: o,
|
|
156
|
+
group: o,
|
|
157
|
+
groupCollapsed: o,
|
|
158
|
+
groupEnd: o
|
|
159
159
|
});
|
|
160
160
|
}
|
|
161
161
|
he++;
|
|
@@ -164,31 +164,31 @@ function Ir() {
|
|
|
164
164
|
function v() {
|
|
165
165
|
{
|
|
166
166
|
if (he--, he === 0) {
|
|
167
|
-
var
|
|
167
|
+
var o = {
|
|
168
168
|
configurable: !0,
|
|
169
169
|
enumerable: !0,
|
|
170
170
|
writable: !0
|
|
171
171
|
};
|
|
172
172
|
Object.defineProperties(console, {
|
|
173
|
-
log: te({},
|
|
173
|
+
log: te({}, o, {
|
|
174
174
|
value: ye
|
|
175
175
|
}),
|
|
176
|
-
info: te({},
|
|
176
|
+
info: te({}, o, {
|
|
177
177
|
value: Te
|
|
178
178
|
}),
|
|
179
|
-
warn: te({},
|
|
179
|
+
warn: te({}, o, {
|
|
180
180
|
value: _e
|
|
181
181
|
}),
|
|
182
|
-
error: te({},
|
|
182
|
+
error: te({}, o, {
|
|
183
183
|
value: be
|
|
184
184
|
}),
|
|
185
|
-
group: te({},
|
|
185
|
+
group: te({}, o, {
|
|
186
186
|
value: Se
|
|
187
187
|
}),
|
|
188
|
-
groupCollapsed: te({},
|
|
188
|
+
groupCollapsed: te({}, o, {
|
|
189
189
|
value: g
|
|
190
190
|
}),
|
|
191
|
-
groupEnd: te({},
|
|
191
|
+
groupEnd: te({}, o, {
|
|
192
192
|
value: C
|
|
193
193
|
})
|
|
194
194
|
});
|
|
@@ -197,7 +197,7 @@ function Ir() {
|
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
199
|
var x = F.ReactCurrentDispatcher, _;
|
|
200
|
-
function R(
|
|
200
|
+
function R(o, u, m) {
|
|
201
201
|
{
|
|
202
202
|
if (_ === void 0)
|
|
203
203
|
try {
|
|
@@ -207,7 +207,7 @@ function Ir() {
|
|
|
207
207
|
_ = $ && $[1] || "";
|
|
208
208
|
}
|
|
209
209
|
return `
|
|
210
|
-
` + _ +
|
|
210
|
+
` + _ + o;
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
213
|
var S = !1, L;
|
|
@@ -215,11 +215,11 @@ function Ir() {
|
|
|
215
215
|
var H = typeof WeakMap == "function" ? WeakMap : Map;
|
|
216
216
|
L = new H();
|
|
217
217
|
}
|
|
218
|
-
function ae(
|
|
219
|
-
if (!
|
|
218
|
+
function ae(o, u) {
|
|
219
|
+
if (!o || S)
|
|
220
220
|
return "";
|
|
221
221
|
{
|
|
222
|
-
var m = L.get(
|
|
222
|
+
var m = L.get(o);
|
|
223
223
|
if (m !== void 0)
|
|
224
224
|
return m;
|
|
225
225
|
}
|
|
@@ -244,14 +244,14 @@ function Ir() {
|
|
|
244
244
|
} catch (ve) {
|
|
245
245
|
$ = ve;
|
|
246
246
|
}
|
|
247
|
-
Reflect.construct(
|
|
247
|
+
Reflect.construct(o, [], V);
|
|
248
248
|
} else {
|
|
249
249
|
try {
|
|
250
250
|
V.call();
|
|
251
251
|
} catch (ve) {
|
|
252
252
|
$ = ve;
|
|
253
253
|
}
|
|
254
|
-
|
|
254
|
+
o.call(V.prototype);
|
|
255
255
|
}
|
|
256
256
|
} else {
|
|
257
257
|
try {
|
|
@@ -259,7 +259,7 @@ function Ir() {
|
|
|
259
259
|
} catch (ve) {
|
|
260
260
|
$ = ve;
|
|
261
261
|
}
|
|
262
|
-
|
|
262
|
+
o();
|
|
263
263
|
}
|
|
264
264
|
} catch (ve) {
|
|
265
265
|
if (ve && $ && typeof ve.stack == "string") {
|
|
@@ -274,7 +274,7 @@ function Ir() {
|
|
|
274
274
|
if (ne--, se--, se < 0 || N[ne] !== de[se]) {
|
|
275
275
|
var Ee = `
|
|
276
276
|
` + N[ne].replace(" at new ", " at ");
|
|
277
|
-
return
|
|
277
|
+
return o.displayName && Ee.includes("<anonymous>") && (Ee = Ee.replace("<anonymous>", o.displayName)), typeof o == "function" && L.set(o, Ee), Ee;
|
|
278
278
|
}
|
|
279
279
|
while (ne >= 1 && se >= 0);
|
|
280
280
|
break;
|
|
@@ -283,37 +283,37 @@ function Ir() {
|
|
|
283
283
|
} finally {
|
|
284
284
|
S = !1, x.current = X, v(), Error.prepareStackTrace = K;
|
|
285
285
|
}
|
|
286
|
-
var ke =
|
|
287
|
-
return typeof
|
|
286
|
+
var ke = o ? o.displayName || o.name : "", Me = ke ? R(ke) : "";
|
|
287
|
+
return typeof o == "function" && L.set(o, Me), Me;
|
|
288
288
|
}
|
|
289
|
-
function le(
|
|
290
|
-
return ae(
|
|
289
|
+
function le(o, u, m) {
|
|
290
|
+
return ae(o, !1);
|
|
291
291
|
}
|
|
292
|
-
function O(
|
|
293
|
-
var u =
|
|
292
|
+
function O(o) {
|
|
293
|
+
var u = o.prototype;
|
|
294
294
|
return !!(u && u.isReactComponent);
|
|
295
295
|
}
|
|
296
|
-
function Q(
|
|
297
|
-
if (
|
|
296
|
+
function Q(o, u, m) {
|
|
297
|
+
if (o == null)
|
|
298
298
|
return "";
|
|
299
|
-
if (typeof
|
|
300
|
-
return ae(
|
|
301
|
-
if (typeof
|
|
302
|
-
return R(
|
|
303
|
-
switch (
|
|
299
|
+
if (typeof o == "function")
|
|
300
|
+
return ae(o, O(o));
|
|
301
|
+
if (typeof o == "string")
|
|
302
|
+
return R(o);
|
|
303
|
+
switch (o) {
|
|
304
304
|
case f:
|
|
305
305
|
return R("Suspense");
|
|
306
306
|
case h:
|
|
307
307
|
return R("SuspenseList");
|
|
308
308
|
}
|
|
309
|
-
if (typeof
|
|
310
|
-
switch (
|
|
309
|
+
if (typeof o == "object")
|
|
310
|
+
switch (o.$$typeof) {
|
|
311
311
|
case c:
|
|
312
|
-
return le(
|
|
312
|
+
return le(o.render);
|
|
313
313
|
case b:
|
|
314
|
-
return Q(
|
|
314
|
+
return Q(o.type, u, m);
|
|
315
315
|
case p: {
|
|
316
|
-
var $ =
|
|
316
|
+
var $ = o, K = $._payload, X = $._init;
|
|
317
317
|
try {
|
|
318
318
|
return Q(X(K), u, m);
|
|
319
319
|
} catch {
|
|
@@ -323,25 +323,25 @@ function Ir() {
|
|
|
323
323
|
return "";
|
|
324
324
|
}
|
|
325
325
|
var ee = Object.prototype.hasOwnProperty, fe = {}, Le = F.ReactDebugCurrentFrame;
|
|
326
|
-
function pe(
|
|
327
|
-
if (
|
|
328
|
-
var u =
|
|
326
|
+
function pe(o) {
|
|
327
|
+
if (o) {
|
|
328
|
+
var u = o._owner, m = Q(o.type, o._source, u ? u.type : null);
|
|
329
329
|
Le.setExtraStackFrame(m);
|
|
330
330
|
} else
|
|
331
331
|
Le.setExtraStackFrame(null);
|
|
332
332
|
}
|
|
333
|
-
function
|
|
333
|
+
function oe(o, u, m, $, K) {
|
|
334
334
|
{
|
|
335
335
|
var X = Function.call.bind(ee);
|
|
336
|
-
for (var V in
|
|
337
|
-
if (X(
|
|
336
|
+
for (var V in o)
|
|
337
|
+
if (X(o, V)) {
|
|
338
338
|
var N = void 0;
|
|
339
339
|
try {
|
|
340
|
-
if (typeof
|
|
341
|
-
var de = Error(($ || "React class") + ": " + m + " type `" + V + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof
|
|
340
|
+
if (typeof o[V] != "function") {
|
|
341
|
+
var de = Error(($ || "React class") + ": " + m + " type `" + V + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[V] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
342
342
|
throw de.name = "Invariant Violation", de;
|
|
343
343
|
}
|
|
344
|
-
N =
|
|
344
|
+
N = o[V](u, V, $, m, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
345
345
|
} catch (ne) {
|
|
346
346
|
N = ne;
|
|
347
347
|
}
|
|
@@ -349,29 +349,29 @@ function Ir() {
|
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
351
|
}
|
|
352
|
-
var
|
|
353
|
-
function ce(
|
|
354
|
-
return
|
|
352
|
+
var ie = Array.isArray;
|
|
353
|
+
function ce(o) {
|
|
354
|
+
return ie(o);
|
|
355
355
|
}
|
|
356
|
-
function je(
|
|
356
|
+
function je(o) {
|
|
357
357
|
{
|
|
358
|
-
var u = typeof Symbol == "function" && Symbol.toStringTag, m = u &&
|
|
358
|
+
var u = typeof Symbol == "function" && Symbol.toStringTag, m = u && o[Symbol.toStringTag] || o.constructor.name || "Object";
|
|
359
359
|
return m;
|
|
360
360
|
}
|
|
361
361
|
}
|
|
362
|
-
function Ke(
|
|
362
|
+
function Ke(o) {
|
|
363
363
|
try {
|
|
364
|
-
return Ae(
|
|
364
|
+
return Ae(o), !1;
|
|
365
365
|
} catch {
|
|
366
366
|
return !0;
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
|
-
function Ae(
|
|
370
|
-
return "" +
|
|
369
|
+
function Ae(o) {
|
|
370
|
+
return "" + o;
|
|
371
371
|
}
|
|
372
|
-
function Ne(
|
|
373
|
-
if (Ke(
|
|
374
|
-
return k("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", je(
|
|
372
|
+
function Ne(o) {
|
|
373
|
+
if (Ke(o))
|
|
374
|
+
return k("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", je(o)), Ae(o);
|
|
375
375
|
}
|
|
376
376
|
var Ce = F.ReactCurrentOwner, ur = {
|
|
377
377
|
key: !0,
|
|
@@ -380,56 +380,56 @@ function Ir() {
|
|
|
380
380
|
__source: !0
|
|
381
381
|
}, Rt, St, et;
|
|
382
382
|
et = {};
|
|
383
|
-
function fr(
|
|
384
|
-
if (ee.call(
|
|
385
|
-
var u = Object.getOwnPropertyDescriptor(
|
|
383
|
+
function fr(o) {
|
|
384
|
+
if (ee.call(o, "ref")) {
|
|
385
|
+
var u = Object.getOwnPropertyDescriptor(o, "ref").get;
|
|
386
386
|
if (u && u.isReactWarning)
|
|
387
387
|
return !1;
|
|
388
388
|
}
|
|
389
|
-
return
|
|
389
|
+
return o.ref !== void 0;
|
|
390
390
|
}
|
|
391
|
-
function dr(
|
|
392
|
-
if (ee.call(
|
|
393
|
-
var u = Object.getOwnPropertyDescriptor(
|
|
391
|
+
function dr(o) {
|
|
392
|
+
if (ee.call(o, "key")) {
|
|
393
|
+
var u = Object.getOwnPropertyDescriptor(o, "key").get;
|
|
394
394
|
if (u && u.isReactWarning)
|
|
395
395
|
return !1;
|
|
396
396
|
}
|
|
397
|
-
return
|
|
397
|
+
return o.key !== void 0;
|
|
398
398
|
}
|
|
399
|
-
function hr(
|
|
400
|
-
if (typeof
|
|
399
|
+
function hr(o, u) {
|
|
400
|
+
if (typeof o.ref == "string" && Ce.current && u && Ce.current.stateNode !== u) {
|
|
401
401
|
var m = q(Ce.current.type);
|
|
402
|
-
et[m] || (k('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', q(Ce.current.type),
|
|
402
|
+
et[m] || (k('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', q(Ce.current.type), o.ref), et[m] = !0);
|
|
403
403
|
}
|
|
404
404
|
}
|
|
405
|
-
function pr(
|
|
405
|
+
function pr(o, u) {
|
|
406
406
|
{
|
|
407
407
|
var m = function() {
|
|
408
408
|
Rt || (Rt = !0, k("%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)", u));
|
|
409
409
|
};
|
|
410
|
-
m.isReactWarning = !0, Object.defineProperty(
|
|
410
|
+
m.isReactWarning = !0, Object.defineProperty(o, "key", {
|
|
411
411
|
get: m,
|
|
412
412
|
configurable: !0
|
|
413
413
|
});
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
|
-
function vr(
|
|
416
|
+
function vr(o, u) {
|
|
417
417
|
{
|
|
418
418
|
var m = function() {
|
|
419
419
|
St || (St = !0, k("%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)", u));
|
|
420
420
|
};
|
|
421
|
-
m.isReactWarning = !0, Object.defineProperty(
|
|
421
|
+
m.isReactWarning = !0, Object.defineProperty(o, "ref", {
|
|
422
422
|
get: m,
|
|
423
423
|
configurable: !0
|
|
424
424
|
});
|
|
425
425
|
}
|
|
426
426
|
}
|
|
427
|
-
var mr = function(
|
|
427
|
+
var mr = function(o, u, m, $, K, X, V) {
|
|
428
428
|
var N = {
|
|
429
429
|
// This tag allows us to uniquely identify this as a React Element
|
|
430
430
|
$$typeof: t,
|
|
431
431
|
// Built-in properties that belong on the element
|
|
432
|
-
type:
|
|
432
|
+
type: o,
|
|
433
433
|
key: u,
|
|
434
434
|
ref: m,
|
|
435
435
|
props: V,
|
|
@@ -453,53 +453,53 @@ function Ir() {
|
|
|
453
453
|
value: K
|
|
454
454
|
}), Object.freeze && (Object.freeze(N.props), Object.freeze(N)), N;
|
|
455
455
|
};
|
|
456
|
-
function gr(
|
|
456
|
+
function gr(o, u, m, $, K) {
|
|
457
457
|
{
|
|
458
458
|
var X, V = {}, N = null, de = null;
|
|
459
459
|
m !== void 0 && (Ne(m), N = "" + m), dr(u) && (Ne(u.key), N = "" + u.key), fr(u) && (de = u.ref, hr(u, K));
|
|
460
460
|
for (X in u)
|
|
461
461
|
ee.call(u, X) && !ur.hasOwnProperty(X) && (V[X] = u[X]);
|
|
462
|
-
if (
|
|
463
|
-
var ne =
|
|
462
|
+
if (o && o.defaultProps) {
|
|
463
|
+
var ne = o.defaultProps;
|
|
464
464
|
for (X in ne)
|
|
465
465
|
V[X] === void 0 && (V[X] = ne[X]);
|
|
466
466
|
}
|
|
467
467
|
if (N || de) {
|
|
468
|
-
var se = typeof
|
|
468
|
+
var se = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
|
|
469
469
|
N && pr(V, se), de && vr(V, se);
|
|
470
470
|
}
|
|
471
|
-
return mr(
|
|
471
|
+
return mr(o, N, de, K, $, Ce.current, V);
|
|
472
472
|
}
|
|
473
473
|
}
|
|
474
474
|
var tt = F.ReactCurrentOwner, Ct = F.ReactDebugCurrentFrame;
|
|
475
|
-
function $e(
|
|
476
|
-
if (
|
|
477
|
-
var u =
|
|
475
|
+
function $e(o) {
|
|
476
|
+
if (o) {
|
|
477
|
+
var u = o._owner, m = Q(o.type, o._source, u ? u.type : null);
|
|
478
478
|
Ct.setExtraStackFrame(m);
|
|
479
479
|
} else
|
|
480
480
|
Ct.setExtraStackFrame(null);
|
|
481
481
|
}
|
|
482
482
|
var rt;
|
|
483
483
|
rt = !1;
|
|
484
|
-
function nt(
|
|
485
|
-
return typeof
|
|
484
|
+
function nt(o) {
|
|
485
|
+
return typeof o == "object" && o !== null && o.$$typeof === t;
|
|
486
486
|
}
|
|
487
487
|
function xt() {
|
|
488
488
|
{
|
|
489
489
|
if (tt.current) {
|
|
490
|
-
var
|
|
491
|
-
if (
|
|
490
|
+
var o = q(tt.current.type);
|
|
491
|
+
if (o)
|
|
492
492
|
return `
|
|
493
493
|
|
|
494
|
-
Check the render method of \`` +
|
|
494
|
+
Check the render method of \`` + o + "`.";
|
|
495
495
|
}
|
|
496
496
|
return "";
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
|
-
function yr(
|
|
499
|
+
function yr(o) {
|
|
500
500
|
{
|
|
501
|
-
if (
|
|
502
|
-
var u =
|
|
501
|
+
if (o !== void 0) {
|
|
502
|
+
var u = o.fileName.replace(/^.*[\\\/]/, ""), m = o.lineNumber;
|
|
503
503
|
return `
|
|
504
504
|
|
|
505
505
|
Check your code at ` + u + ":" + m + ".";
|
|
@@ -508,11 +508,11 @@ Check your code at ` + u + ":" + m + ".";
|
|
|
508
508
|
}
|
|
509
509
|
}
|
|
510
510
|
var Ot = {};
|
|
511
|
-
function br(
|
|
511
|
+
function br(o) {
|
|
512
512
|
{
|
|
513
513
|
var u = xt();
|
|
514
514
|
if (!u) {
|
|
515
|
-
var m = typeof
|
|
515
|
+
var m = typeof o == "string" ? o : o.displayName || o.name;
|
|
516
516
|
m && (u = `
|
|
517
517
|
|
|
518
518
|
Check the top-level render call using <` + m + ">.");
|
|
@@ -520,41 +520,41 @@ Check the top-level render call using <` + m + ">.");
|
|
|
520
520
|
return u;
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
|
-
function Tt(
|
|
523
|
+
function Tt(o, u) {
|
|
524
524
|
{
|
|
525
|
-
if (!
|
|
525
|
+
if (!o._store || o._store.validated || o.key != null)
|
|
526
526
|
return;
|
|
527
|
-
|
|
527
|
+
o._store.validated = !0;
|
|
528
528
|
var m = br(u);
|
|
529
529
|
if (Ot[m])
|
|
530
530
|
return;
|
|
531
531
|
Ot[m] = !0;
|
|
532
532
|
var $ = "";
|
|
533
|
-
|
|
533
|
+
o && o._owner && o._owner !== tt.current && ($ = " It was passed a child from " + q(o._owner.type) + "."), $e(o), k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', m, $), $e(null);
|
|
534
534
|
}
|
|
535
535
|
}
|
|
536
|
-
function Pt(
|
|
536
|
+
function Pt(o, u) {
|
|
537
537
|
{
|
|
538
|
-
if (typeof
|
|
538
|
+
if (typeof o != "object")
|
|
539
539
|
return;
|
|
540
|
-
if (ce(
|
|
541
|
-
for (var m = 0; m <
|
|
542
|
-
var $ =
|
|
540
|
+
if (ce(o))
|
|
541
|
+
for (var m = 0; m < o.length; m++) {
|
|
542
|
+
var $ = o[m];
|
|
543
543
|
nt($) && Tt($, u);
|
|
544
544
|
}
|
|
545
|
-
else if (nt(
|
|
546
|
-
|
|
547
|
-
else if (
|
|
548
|
-
var K = d(
|
|
549
|
-
if (typeof K == "function" && K !==
|
|
550
|
-
for (var X = K.call(
|
|
545
|
+
else if (nt(o))
|
|
546
|
+
o._store && (o._store.validated = !0);
|
|
547
|
+
else if (o) {
|
|
548
|
+
var K = d(o);
|
|
549
|
+
if (typeof K == "function" && K !== o.entries)
|
|
550
|
+
for (var X = K.call(o), V; !(V = X.next()).done; )
|
|
551
551
|
nt(V.value) && Tt(V.value, u);
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
|
-
function Er(
|
|
555
|
+
function Er(o) {
|
|
556
556
|
{
|
|
557
|
-
var u =
|
|
557
|
+
var u = o.type;
|
|
558
558
|
if (u == null || typeof u == "string")
|
|
559
559
|
return;
|
|
560
560
|
var m;
|
|
@@ -568,7 +568,7 @@ Check the top-level render call using <` + m + ">.");
|
|
|
568
568
|
return;
|
|
569
569
|
if (m) {
|
|
570
570
|
var $ = q(u);
|
|
571
|
-
|
|
571
|
+
oe(m, o.props, "prop", $, o);
|
|
572
572
|
} else if (u.PropTypes !== void 0 && !rt) {
|
|
573
573
|
rt = !0;
|
|
574
574
|
var K = q(u);
|
|
@@ -577,31 +577,31 @@ Check the top-level render call using <` + m + ">.");
|
|
|
577
577
|
typeof u.getDefaultProps == "function" && !u.getDefaultProps.isReactClassApproved && k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
578
578
|
}
|
|
579
579
|
}
|
|
580
|
-
function wr(
|
|
580
|
+
function wr(o) {
|
|
581
581
|
{
|
|
582
|
-
for (var u = Object.keys(
|
|
582
|
+
for (var u = Object.keys(o.props), m = 0; m < u.length; m++) {
|
|
583
583
|
var $ = u[m];
|
|
584
584
|
if ($ !== "children" && $ !== "key") {
|
|
585
|
-
$e(
|
|
585
|
+
$e(o), k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", $), $e(null);
|
|
586
586
|
break;
|
|
587
587
|
}
|
|
588
588
|
}
|
|
589
|
-
|
|
589
|
+
o.ref !== null && ($e(o), k("Invalid attribute `ref` supplied to `React.Fragment`."), $e(null));
|
|
590
590
|
}
|
|
591
591
|
}
|
|
592
592
|
var jt = {};
|
|
593
|
-
function At(
|
|
593
|
+
function At(o, u, m, $, K, X) {
|
|
594
594
|
{
|
|
595
|
-
var V = M(
|
|
595
|
+
var V = M(o);
|
|
596
596
|
if (!V) {
|
|
597
597
|
var N = "";
|
|
598
|
-
(
|
|
598
|
+
(o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (N += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
599
599
|
var de = yr(K);
|
|
600
600
|
de ? N += de : N += xt();
|
|
601
601
|
var ne;
|
|
602
|
-
|
|
602
|
+
o === null ? ne = "null" : ce(o) ? ne = "array" : o !== void 0 && o.$$typeof === t ? (ne = "<" + (q(o.type) || "Unknown") + " />", N = " Did you accidentally export a JSX literal instead of a component?") : ne = typeof o, k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ne, N);
|
|
603
603
|
}
|
|
604
|
-
var se = gr(
|
|
604
|
+
var se = gr(o, u, m, K, X);
|
|
605
605
|
if (se == null)
|
|
606
606
|
return se;
|
|
607
607
|
if (V) {
|
|
@@ -610,35 +610,35 @@ Check the top-level render call using <` + m + ">.");
|
|
|
610
610
|
if ($)
|
|
611
611
|
if (ce(Ee)) {
|
|
612
612
|
for (var ke = 0; ke < Ee.length; ke++)
|
|
613
|
-
Pt(Ee[ke],
|
|
613
|
+
Pt(Ee[ke], o);
|
|
614
614
|
Object.freeze && Object.freeze(Ee);
|
|
615
615
|
} else
|
|
616
616
|
k("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
617
617
|
else
|
|
618
|
-
Pt(Ee,
|
|
618
|
+
Pt(Ee, o);
|
|
619
619
|
}
|
|
620
620
|
if (ee.call(u, "key")) {
|
|
621
|
-
var Me = q(
|
|
621
|
+
var Me = q(o), ve = Object.keys(u).filter(function(Or) {
|
|
622
622
|
return Or !== "key";
|
|
623
|
-
}),
|
|
624
|
-
if (!jt[Me +
|
|
623
|
+
}), ot = ve.length > 0 ? "{key: someKey, " + ve.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
624
|
+
if (!jt[Me + ot]) {
|
|
625
625
|
var xr = ve.length > 0 ? "{" + ve.join(": ..., ") + ": ...}" : "{}";
|
|
626
626
|
k(`A props object containing a "key" prop is being spread into JSX:
|
|
627
627
|
let props = %s;
|
|
628
628
|
<%s {...props} />
|
|
629
629
|
React keys must be passed directly to JSX without using spread:
|
|
630
630
|
let props = %s;
|
|
631
|
-
<%s key={someKey} {...props} />`,
|
|
631
|
+
<%s key={someKey} {...props} />`, ot, Me, xr, Me), jt[Me + ot] = !0;
|
|
632
632
|
}
|
|
633
633
|
}
|
|
634
|
-
return
|
|
634
|
+
return o === n ? wr(se) : Er(se), se;
|
|
635
635
|
}
|
|
636
636
|
}
|
|
637
|
-
function _r(
|
|
638
|
-
return At(
|
|
637
|
+
function _r(o, u, m) {
|
|
638
|
+
return At(o, u, m, !0);
|
|
639
639
|
}
|
|
640
|
-
function Rr(
|
|
641
|
-
return At(
|
|
640
|
+
function Rr(o, u, m) {
|
|
641
|
+
return At(o, u, m, !1);
|
|
642
642
|
}
|
|
643
643
|
var Sr = Rr, Cr = _r;
|
|
644
644
|
Ve.Fragment = n, Ve.jsx = Sr, Ve.jsxs = Cr;
|
|
@@ -682,8 +682,8 @@ function pt(e) {
|
|
|
682
682
|
var Dr = [];
|
|
683
683
|
function $t(e, t) {
|
|
684
684
|
if (process.env.NODE_ENV !== "production" && !e && console !== void 0)
|
|
685
|
-
var r = Dr.reduce(function(n,
|
|
686
|
-
return
|
|
685
|
+
var r = Dr.reduce(function(n, i) {
|
|
686
|
+
return i(n ?? "", "warning");
|
|
687
687
|
}, t);
|
|
688
688
|
}
|
|
689
689
|
function Fr(e, t) {
|
|
@@ -714,8 +714,8 @@ function kt(e, t) {
|
|
|
714
714
|
var r = Object.keys(e);
|
|
715
715
|
if (Object.getOwnPropertySymbols) {
|
|
716
716
|
var n = Object.getOwnPropertySymbols(e);
|
|
717
|
-
t && (n = n.filter(function(
|
|
718
|
-
return Object.getOwnPropertyDescriptor(e,
|
|
717
|
+
t && (n = n.filter(function(i) {
|
|
718
|
+
return Object.getOwnPropertyDescriptor(e, i).enumerable;
|
|
719
719
|
})), r.push.apply(r, n);
|
|
720
720
|
}
|
|
721
721
|
return r;
|
|
@@ -737,7 +737,7 @@ function Ft(e) {
|
|
|
737
737
|
function Wr(e) {
|
|
738
738
|
return e && Re(e) === "object" && Ft(e.nativeElement) ? e.nativeElement : Ft(e) ? e : null;
|
|
739
739
|
}
|
|
740
|
-
function
|
|
740
|
+
function it(e) {
|
|
741
741
|
var t = Wr(e);
|
|
742
742
|
if (t)
|
|
743
743
|
return t;
|
|
@@ -762,7 +762,7 @@ function Vr() {
|
|
|
762
762
|
if (Nt)
|
|
763
763
|
return G;
|
|
764
764
|
Nt = 1;
|
|
765
|
-
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"),
|
|
765
|
+
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), a = Symbol.for("react.context"), l = Symbol.for("react.server_context"), c = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), T;
|
|
766
766
|
T = Symbol.for("react.module.reference");
|
|
767
767
|
function w(d) {
|
|
768
768
|
if (typeof d == "object" && d !== null) {
|
|
@@ -771,7 +771,7 @@ function Vr() {
|
|
|
771
771
|
case e:
|
|
772
772
|
switch (d = d.type, d) {
|
|
773
773
|
case r:
|
|
774
|
-
case
|
|
774
|
+
case i:
|
|
775
775
|
case n:
|
|
776
776
|
case f:
|
|
777
777
|
case h:
|
|
@@ -794,7 +794,7 @@ function Vr() {
|
|
|
794
794
|
}
|
|
795
795
|
}
|
|
796
796
|
}
|
|
797
|
-
return G.ContextConsumer = a, G.ContextProvider = s, G.Element = e, G.ForwardRef = c, G.Fragment = r, G.Lazy = p, G.Memo = b, G.Portal = t, G.Profiler =
|
|
797
|
+
return G.ContextConsumer = a, G.ContextProvider = s, G.Element = e, G.ForwardRef = c, G.Fragment = r, G.Lazy = p, G.Memo = b, G.Portal = t, G.Profiler = i, G.StrictMode = n, G.Suspense = f, G.SuspenseList = h, G.isAsyncMode = function() {
|
|
798
798
|
return !1;
|
|
799
799
|
}, G.isConcurrentMode = function() {
|
|
800
800
|
return !1;
|
|
@@ -815,7 +815,7 @@ function Vr() {
|
|
|
815
815
|
}, G.isPortal = function(d) {
|
|
816
816
|
return w(d) === t;
|
|
817
817
|
}, G.isProfiler = function(d) {
|
|
818
|
-
return w(d) ===
|
|
818
|
+
return w(d) === i;
|
|
819
819
|
}, G.isStrictMode = function(d) {
|
|
820
820
|
return w(d) === n;
|
|
821
821
|
}, G.isSuspense = function(d) {
|
|
@@ -823,7 +823,7 @@ function Vr() {
|
|
|
823
823
|
}, G.isSuspenseList = function(d) {
|
|
824
824
|
return w(d) === h;
|
|
825
825
|
}, G.isValidElementType = function(d) {
|
|
826
|
-
return typeof d == "string" || typeof d == "function" || d === r || d ===
|
|
826
|
+
return typeof d == "string" || typeof d == "function" || d === r || d === i || d === n || d === f || d === h || d === j || typeof d == "object" && d !== null && (d.$$typeof === p || d.$$typeof === b || d.$$typeof === s || d.$$typeof === a || d.$$typeof === c || d.$$typeof === T || d.getModuleId !== void 0);
|
|
827
827
|
}, G.typeOf = w, G;
|
|
828
828
|
}
|
|
829
829
|
var U = {};
|
|
@@ -839,10 +839,10 @@ var U = {};
|
|
|
839
839
|
var Wt;
|
|
840
840
|
function Hr() {
|
|
841
841
|
return Wt || (Wt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
842
|
-
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"),
|
|
842
|
+
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), a = Symbol.for("react.context"), l = Symbol.for("react.server_context"), c = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), j = Symbol.for("react.offscreen"), T = !1, w = !1, d = !1, F = !1, k = !1, J;
|
|
843
843
|
J = Symbol.for("react.module.reference");
|
|
844
844
|
function A(O) {
|
|
845
|
-
return !!(typeof O == "string" || typeof O == "function" || O === r || O ===
|
|
845
|
+
return !!(typeof O == "string" || typeof O == "function" || O === r || O === i || k || O === n || O === f || O === h || F || O === j || T || w || d || typeof O == "object" && O !== null && (O.$$typeof === p || O.$$typeof === b || O.$$typeof === s || O.$$typeof === a || O.$$typeof === c || // This needs to include all possible module reference object
|
|
846
846
|
// types supported by any Flight configuration anywhere since
|
|
847
847
|
// we don't know which Flight build this will end up being used
|
|
848
848
|
// with.
|
|
@@ -856,7 +856,7 @@ function Hr() {
|
|
|
856
856
|
var ee = O.type;
|
|
857
857
|
switch (ee) {
|
|
858
858
|
case r:
|
|
859
|
-
case
|
|
859
|
+
case i:
|
|
860
860
|
case n:
|
|
861
861
|
case f:
|
|
862
862
|
case h:
|
|
@@ -880,7 +880,7 @@ function Hr() {
|
|
|
880
880
|
}
|
|
881
881
|
}
|
|
882
882
|
}
|
|
883
|
-
var D = a, z = s, I = e, B = c, M = r, W = p, Y = b, q = t, te =
|
|
883
|
+
var D = a, z = s, I = e, B = c, M = r, W = p, Y = b, q = t, te = i, he = n, ye = f, Te = h, _e = !1, be = !1;
|
|
884
884
|
function Se(O) {
|
|
885
885
|
return _e || (_e = !0), !1;
|
|
886
886
|
}
|
|
@@ -912,7 +912,7 @@ function Hr() {
|
|
|
912
912
|
return P(O) === t;
|
|
913
913
|
}
|
|
914
914
|
function L(O) {
|
|
915
|
-
return P(O) ===
|
|
915
|
+
return P(O) === i;
|
|
916
916
|
}
|
|
917
917
|
function H(O) {
|
|
918
918
|
return P(O) === n;
|
|
@@ -937,8 +937,8 @@ var Yr = Number(Tr.split(".")[0]), Kr = function(t, r) {
|
|
|
937
937
|
}, Gr = function() {
|
|
938
938
|
for (var t = arguments.length, r = new Array(t), n = 0; n < t; n++)
|
|
939
939
|
r[n] = arguments[n];
|
|
940
|
-
var
|
|
941
|
-
return
|
|
940
|
+
var i = r.filter(Boolean);
|
|
941
|
+
return i.length <= 1 ? i[0] : function(s) {
|
|
942
942
|
r.forEach(function(a) {
|
|
943
943
|
Kr(a, s);
|
|
944
944
|
});
|
|
@@ -948,8 +948,8 @@ var Yr = Number(Tr.split(".")[0]), Kr = function(t, r) {
|
|
|
948
948
|
r[n] = arguments[n];
|
|
949
949
|
return Br(function() {
|
|
950
950
|
return Gr.apply(void 0, r);
|
|
951
|
-
}, r, function(
|
|
952
|
-
return
|
|
951
|
+
}, r, function(i, s) {
|
|
952
|
+
return i.length !== s.length || i.every(function(a, l) {
|
|
953
953
|
return a !== s[l];
|
|
954
954
|
});
|
|
955
955
|
});
|
|
@@ -959,8 +959,8 @@ var Yr = Number(Tr.split(".")[0]), Kr = function(t, r) {
|
|
|
959
959
|
return !1;
|
|
960
960
|
if (Xt(t) && Yr >= 19)
|
|
961
961
|
return !0;
|
|
962
|
-
var
|
|
963
|
-
return !(typeof
|
|
962
|
+
var i = st.isMemo(t) ? t.type.type : t.type;
|
|
963
|
+
return !(typeof i == "function" && !((r = i.prototype) !== null && r !== void 0 && r.render) && i.$$typeof !== st.ForwardRef || typeof t == "function" && !((n = t.prototype) !== null && n !== void 0 && n.render) && t.$$typeof !== st.ForwardRef);
|
|
964
964
|
};
|
|
965
965
|
function Xt(e) {
|
|
966
966
|
return /* @__PURE__ */ Pr(e) && !qt(e);
|
|
@@ -973,15 +973,15 @@ var Jr = function(t) {
|
|
|
973
973
|
return null;
|
|
974
974
|
}, mt = /* @__PURE__ */ re.createContext(null);
|
|
975
975
|
function Xr(e) {
|
|
976
|
-
var t = e.children, r = e.onBatchResize, n = re.useRef(0),
|
|
976
|
+
var t = e.children, r = e.onBatchResize, n = re.useRef(0), i = re.useRef([]), s = re.useContext(mt), a = re.useCallback(function(l, c, f) {
|
|
977
977
|
n.current += 1;
|
|
978
978
|
var h = n.current;
|
|
979
|
-
|
|
979
|
+
i.current.push({
|
|
980
980
|
size: l,
|
|
981
981
|
element: c,
|
|
982
982
|
data: f
|
|
983
983
|
}), Promise.resolve().then(function() {
|
|
984
|
-
h === n.current && (r == null || r(
|
|
984
|
+
h === n.current && (r == null || r(i.current), i.current = []);
|
|
985
985
|
}), s == null || s(l, c, f);
|
|
986
986
|
}, [r, s]);
|
|
987
987
|
return /* @__PURE__ */ re.createElement(mt.Provider, {
|
|
@@ -993,8 +993,8 @@ var Zt = function() {
|
|
|
993
993
|
return Map;
|
|
994
994
|
function e(t, r) {
|
|
995
995
|
var n = -1;
|
|
996
|
-
return t.some(function(
|
|
997
|
-
return
|
|
996
|
+
return t.some(function(i, s) {
|
|
997
|
+
return i[0] === r ? (n = s, !0) : !1;
|
|
998
998
|
}), n;
|
|
999
999
|
}
|
|
1000
1000
|
return (
|
|
@@ -1013,22 +1013,22 @@ var Zt = function() {
|
|
|
1013
1013
|
enumerable: !0,
|
|
1014
1014
|
configurable: !0
|
|
1015
1015
|
}), t.prototype.get = function(r) {
|
|
1016
|
-
var n = e(this.__entries__, r),
|
|
1017
|
-
return
|
|
1016
|
+
var n = e(this.__entries__, r), i = this.__entries__[n];
|
|
1017
|
+
return i && i[1];
|
|
1018
1018
|
}, t.prototype.set = function(r, n) {
|
|
1019
|
-
var
|
|
1020
|
-
~
|
|
1019
|
+
var i = e(this.__entries__, r);
|
|
1020
|
+
~i ? this.__entries__[i][1] = n : this.__entries__.push([r, n]);
|
|
1021
1021
|
}, t.prototype.delete = function(r) {
|
|
1022
|
-
var n = this.__entries__,
|
|
1023
|
-
~
|
|
1022
|
+
var n = this.__entries__, i = e(n, r);
|
|
1023
|
+
~i && n.splice(i, 1);
|
|
1024
1024
|
}, t.prototype.has = function(r) {
|
|
1025
1025
|
return !!~e(this.__entries__, r);
|
|
1026
1026
|
}, t.prototype.clear = function() {
|
|
1027
1027
|
this.__entries__.splice(0);
|
|
1028
1028
|
}, t.prototype.forEach = function(r, n) {
|
|
1029
1029
|
n === void 0 && (n = null);
|
|
1030
|
-
for (var
|
|
1031
|
-
var a = s[
|
|
1030
|
+
for (var i = 0, s = this.__entries__; i < s.length; i++) {
|
|
1031
|
+
var a = s[i];
|
|
1032
1032
|
r.call(n, a[1], a[0]);
|
|
1033
1033
|
}
|
|
1034
1034
|
}, t;
|
|
@@ -1044,7 +1044,7 @@ var Zt = function() {
|
|
|
1044
1044
|
};
|
|
1045
1045
|
}(), Qr = 2;
|
|
1046
1046
|
function en(e, t) {
|
|
1047
|
-
var r = !1, n = !1,
|
|
1047
|
+
var r = !1, n = !1, i = 0;
|
|
1048
1048
|
function s() {
|
|
1049
1049
|
r && (r = !1, e()), n && l();
|
|
1050
1050
|
}
|
|
@@ -1054,12 +1054,12 @@ function en(e, t) {
|
|
|
1054
1054
|
function l() {
|
|
1055
1055
|
var c = Date.now();
|
|
1056
1056
|
if (r) {
|
|
1057
|
-
if (c -
|
|
1057
|
+
if (c - i < Qr)
|
|
1058
1058
|
return;
|
|
1059
1059
|
n = !0;
|
|
1060
1060
|
} else
|
|
1061
1061
|
r = !0, n = !1, setTimeout(a, t);
|
|
1062
|
-
|
|
1062
|
+
i = c;
|
|
1063
1063
|
}
|
|
1064
1064
|
return l;
|
|
1065
1065
|
}
|
|
@@ -1094,19 +1094,19 @@ var tn = 20, rn = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
1094
1094
|
}, e.prototype.disconnect_ = function() {
|
|
1095
1095
|
!gt || !this.connected_ || (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = !1, this.connected_ = !1);
|
|
1096
1096
|
}, e.prototype.onTransitionEnd_ = function(t) {
|
|
1097
|
-
var r = t.propertyName, n = r === void 0 ? "" : r,
|
|
1097
|
+
var r = t.propertyName, n = r === void 0 ? "" : r, i = rn.some(function(s) {
|
|
1098
1098
|
return !!~n.indexOf(s);
|
|
1099
1099
|
});
|
|
1100
|
-
|
|
1100
|
+
i && this.refresh();
|
|
1101
1101
|
}, e.getInstance = function() {
|
|
1102
1102
|
return this.instance_ || (this.instance_ = new e()), this.instance_;
|
|
1103
1103
|
}, e.instance_ = null, e;
|
|
1104
1104
|
}()
|
|
1105
1105
|
), Qt = function(e, t) {
|
|
1106
1106
|
for (var r = 0, n = Object.keys(t); r < n.length; r++) {
|
|
1107
|
-
var
|
|
1108
|
-
Object.defineProperty(e,
|
|
1109
|
-
value: t[
|
|
1107
|
+
var i = n[r];
|
|
1108
|
+
Object.defineProperty(e, i, {
|
|
1109
|
+
value: t[i],
|
|
1110
1110
|
enumerable: !1,
|
|
1111
1111
|
writable: !1,
|
|
1112
1112
|
configurable: !0
|
|
@@ -1123,14 +1123,14 @@ function qe(e) {
|
|
|
1123
1123
|
function Vt(e) {
|
|
1124
1124
|
for (var t = [], r = 1; r < arguments.length; r++)
|
|
1125
1125
|
t[r - 1] = arguments[r];
|
|
1126
|
-
return t.reduce(function(n,
|
|
1127
|
-
var s = e["border-" +
|
|
1126
|
+
return t.reduce(function(n, i) {
|
|
1127
|
+
var s = e["border-" + i + "-width"];
|
|
1128
1128
|
return n + qe(s);
|
|
1129
1129
|
}, 0);
|
|
1130
1130
|
}
|
|
1131
1131
|
function sn(e) {
|
|
1132
|
-
for (var t = ["top", "right", "bottom", "left"], r = {}, n = 0,
|
|
1133
|
-
var s =
|
|
1132
|
+
for (var t = ["top", "right", "bottom", "left"], r = {}, n = 0, i = t; n < i.length; n++) {
|
|
1133
|
+
var s = i[n], a = e["padding-" + s];
|
|
1134
1134
|
r[s] = qe(a);
|
|
1135
1135
|
}
|
|
1136
1136
|
return r;
|
|
@@ -1143,12 +1143,12 @@ function ln(e) {
|
|
|
1143
1143
|
var t = e.clientWidth, r = e.clientHeight;
|
|
1144
1144
|
if (!t && !r)
|
|
1145
1145
|
return er;
|
|
1146
|
-
var n = Fe(e).getComputedStyle(e),
|
|
1146
|
+
var n = Fe(e).getComputedStyle(e), i = sn(n), s = i.left + i.right, a = i.top + i.bottom, l = qe(n.width), c = qe(n.height);
|
|
1147
1147
|
if (n.boxSizing === "border-box" && (Math.round(l + s) !== t && (l -= Vt(n, "left", "right") + s), Math.round(c + a) !== r && (c -= Vt(n, "top", "bottom") + a)), !un(e)) {
|
|
1148
1148
|
var f = Math.round(l + s) - t, h = Math.round(c + a) - r;
|
|
1149
1149
|
Math.abs(f) !== 1 && (l -= f), Math.abs(h) !== 1 && (c -= h);
|
|
1150
1150
|
}
|
|
1151
|
-
return Qe(
|
|
1151
|
+
return Qe(i.left, i.top, l, c);
|
|
1152
1152
|
}
|
|
1153
1153
|
var cn = function() {
|
|
1154
1154
|
return typeof SVGGraphicsElement < "u" ? function(e) {
|
|
@@ -1164,15 +1164,15 @@ function fn(e) {
|
|
|
1164
1164
|
return gt ? cn(e) ? an(e) : ln(e) : er;
|
|
1165
1165
|
}
|
|
1166
1166
|
function dn(e) {
|
|
1167
|
-
var t = e.x, r = e.y, n = e.width,
|
|
1167
|
+
var t = e.x, r = e.y, n = e.width, i = e.height, s = typeof DOMRectReadOnly < "u" ? DOMRectReadOnly : Object, a = Object.create(s.prototype);
|
|
1168
1168
|
return Qt(a, {
|
|
1169
1169
|
x: t,
|
|
1170
1170
|
y: r,
|
|
1171
1171
|
width: n,
|
|
1172
|
-
height:
|
|
1172
|
+
height: i,
|
|
1173
1173
|
top: r,
|
|
1174
1174
|
right: t + n,
|
|
1175
|
-
bottom:
|
|
1175
|
+
bottom: i + r,
|
|
1176
1176
|
left: t
|
|
1177
1177
|
}), a;
|
|
1178
1178
|
}
|
|
@@ -1278,19 +1278,19 @@ var mn = function() {
|
|
|
1278
1278
|
function nr(e) {
|
|
1279
1279
|
e.forEach(function(t) {
|
|
1280
1280
|
var r, n = t.target;
|
|
1281
|
-
(r = Oe.get(n)) === null || r === void 0 || r.forEach(function(
|
|
1282
|
-
return
|
|
1281
|
+
(r = Oe.get(n)) === null || r === void 0 || r.forEach(function(i) {
|
|
1282
|
+
return i(n);
|
|
1283
1283
|
});
|
|
1284
1284
|
});
|
|
1285
1285
|
}
|
|
1286
|
-
var
|
|
1286
|
+
var or = new mn(nr);
|
|
1287
1287
|
process.env.NODE_ENV;
|
|
1288
1288
|
process.env.NODE_ENV;
|
|
1289
1289
|
function gn(e, t) {
|
|
1290
|
-
Oe.has(e) || (Oe.set(e, /* @__PURE__ */ new Set()),
|
|
1290
|
+
Oe.has(e) || (Oe.set(e, /* @__PURE__ */ new Set()), or.observe(e)), Oe.get(e).add(t);
|
|
1291
1291
|
}
|
|
1292
1292
|
function yn(e, t) {
|
|
1293
|
-
Oe.has(e) && (Oe.get(e).delete(t), Oe.get(e).size || (
|
|
1293
|
+
Oe.has(e) && (Oe.get(e).delete(t), Oe.get(e).size || (or.unobserve(e), Oe.delete(e)));
|
|
1294
1294
|
}
|
|
1295
1295
|
function bn(e, t) {
|
|
1296
1296
|
if (!(e instanceof t))
|
|
@@ -1330,13 +1330,13 @@ function Je(e) {
|
|
|
1330
1330
|
return t.__proto__ || Object.getPrototypeOf(t);
|
|
1331
1331
|
}, Je(e);
|
|
1332
1332
|
}
|
|
1333
|
-
function
|
|
1333
|
+
function ir() {
|
|
1334
1334
|
try {
|
|
1335
1335
|
var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
|
|
1336
1336
|
}));
|
|
1337
1337
|
} catch {
|
|
1338
1338
|
}
|
|
1339
|
-
return (
|
|
1339
|
+
return (ir = function() {
|
|
1340
1340
|
return !!e;
|
|
1341
1341
|
})();
|
|
1342
1342
|
}
|
|
@@ -1353,12 +1353,12 @@ function Rn(e, t) {
|
|
|
1353
1353
|
return _n(e);
|
|
1354
1354
|
}
|
|
1355
1355
|
function Sn(e) {
|
|
1356
|
-
var t =
|
|
1356
|
+
var t = ir();
|
|
1357
1357
|
return function() {
|
|
1358
1358
|
var r, n = Je(e);
|
|
1359
1359
|
if (t) {
|
|
1360
|
-
var
|
|
1361
|
-
r = Reflect.construct(n, arguments,
|
|
1360
|
+
var i = Je(this).constructor;
|
|
1361
|
+
r = Reflect.construct(n, arguments, i);
|
|
1362
1362
|
} else
|
|
1363
1363
|
r = n.apply(this, arguments);
|
|
1364
1364
|
return Rn(this, r);
|
|
@@ -1378,15 +1378,15 @@ var Cn = /* @__PURE__ */ function(e) {
|
|
|
1378
1378
|
}]), r;
|
|
1379
1379
|
}(re.Component);
|
|
1380
1380
|
function xn(e, t) {
|
|
1381
|
-
var r = e.children, n = e.disabled,
|
|
1381
|
+
var r = e.children, n = e.disabled, i = re.useRef(null), s = re.useRef(null), a = re.useContext(mt), l = typeof r == "function", c = l ? r(i) : r, f = re.useRef({
|
|
1382
1382
|
width: -1,
|
|
1383
1383
|
height: -1,
|
|
1384
1384
|
offsetWidth: -1,
|
|
1385
1385
|
offsetHeight: -1
|
|
1386
|
-
}), h = !l && /* @__PURE__ */ re.isValidElement(c) && qr(c), b = h ? Jr(c) : null, p = Ur(b,
|
|
1386
|
+
}), h = !l && /* @__PURE__ */ re.isValidElement(c) && qr(c), b = h ? Jr(c) : null, p = Ur(b, i), j = function() {
|
|
1387
1387
|
var F;
|
|
1388
|
-
return
|
|
1389
|
-
(
|
|
1388
|
+
return it(i.current) || // Support `nativeElement` format
|
|
1389
|
+
(i.current && Re(i.current) === "object" ? it((F = i.current) === null || F === void 0 ? void 0 : F.nativeElement) : null) || it(s.current);
|
|
1390
1390
|
};
|
|
1391
1391
|
re.useImperativeHandle(t, function() {
|
|
1392
1392
|
return j();
|
|
@@ -1417,7 +1417,7 @@ function xn(e, t) {
|
|
|
1417
1417
|
return d && !n && gn(d, w), function() {
|
|
1418
1418
|
return yn(d, w);
|
|
1419
1419
|
};
|
|
1420
|
-
}, [
|
|
1420
|
+
}, [i.current, n]), /* @__PURE__ */ re.createElement(Cn, {
|
|
1421
1421
|
ref: s
|
|
1422
1422
|
}, h ? /* @__PURE__ */ re.cloneElement(c, {
|
|
1423
1423
|
ref: p
|
|
@@ -1428,12 +1428,12 @@ process.env.NODE_ENV !== "production" && (sr.displayName = "SingleObserver");
|
|
|
1428
1428
|
var On = "rc-observer-key";
|
|
1429
1429
|
function Tn(e, t) {
|
|
1430
1430
|
var r = e.children, n = typeof r == "function" ? [r] : pt(r);
|
|
1431
|
-
return process.env.NODE_ENV !== "production" && (n.length > 1 ? $t(!1, "Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead.") : n.length === 0 && $t(!1, "`children` of ResizeObserver is empty. Nothing is in observe.")), n.map(function(
|
|
1432
|
-
var a = (
|
|
1431
|
+
return process.env.NODE_ENV !== "production" && (n.length > 1 ? $t(!1, "Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead.") : n.length === 0 && $t(!1, "`children` of ResizeObserver is empty. Nothing is in observe.")), n.map(function(i, s) {
|
|
1432
|
+
var a = (i == null ? void 0 : i.key) || "".concat(On, "-").concat(s);
|
|
1433
1433
|
return /* @__PURE__ */ re.createElement(sr, ht({}, e, {
|
|
1434
1434
|
key: a,
|
|
1435
1435
|
ref: s === 0 ? t : void 0
|
|
1436
|
-
}),
|
|
1436
|
+
}), i);
|
|
1437
1437
|
});
|
|
1438
1438
|
}
|
|
1439
1439
|
var wt = /* @__PURE__ */ re.forwardRef(Tn);
|
|
@@ -1451,7 +1451,7 @@ var ar = { exports: {} };
|
|
|
1451
1451
|
function r() {
|
|
1452
1452
|
for (var s = "", a = 0; a < arguments.length; a++) {
|
|
1453
1453
|
var l = arguments[a];
|
|
1454
|
-
l && (s =
|
|
1454
|
+
l && (s = i(s, n(l)));
|
|
1455
1455
|
}
|
|
1456
1456
|
return s;
|
|
1457
1457
|
}
|
|
@@ -1466,10 +1466,10 @@ var ar = { exports: {} };
|
|
|
1466
1466
|
return s.toString();
|
|
1467
1467
|
var a = "";
|
|
1468
1468
|
for (var l in s)
|
|
1469
|
-
t.call(s, l) && s[l] && (a =
|
|
1469
|
+
t.call(s, l) && s[l] && (a = i(a, l));
|
|
1470
1470
|
return a;
|
|
1471
1471
|
}
|
|
1472
|
-
function
|
|
1472
|
+
function i(s, a) {
|
|
1473
1473
|
return a ? s ? s + " " + a : s + a : s;
|
|
1474
1474
|
}
|
|
1475
1475
|
e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
|
|
@@ -1477,7 +1477,7 @@ var ar = { exports: {} };
|
|
|
1477
1477
|
})(ar);
|
|
1478
1478
|
var Pn = ar.exports;
|
|
1479
1479
|
const _t = /* @__PURE__ */ Mr(Pn);
|
|
1480
|
-
const jn = jr(({ columns: e, width: t, onScroll: r, meta: n },
|
|
1480
|
+
const jn = jr(({ columns: e, width: t, onScroll: r, meta: n }, i) => {
|
|
1481
1481
|
const s = we(() => {
|
|
1482
1482
|
const a = [], l = (h) => {
|
|
1483
1483
|
let b = 0;
|
|
@@ -1524,7 +1524,7 @@ const jn = jr(({ columns: e, width: t, onScroll: r, meta: n }, o) => {
|
|
|
1524
1524
|
return /* @__PURE__ */ Z.jsx(
|
|
1525
1525
|
"div",
|
|
1526
1526
|
{
|
|
1527
|
-
ref:
|
|
1527
|
+
ref: i,
|
|
1528
1528
|
className: "virtual-table-header hide-scrollbar",
|
|
1529
1529
|
style: { overflow: "auto", width: t },
|
|
1530
1530
|
onScroll: r,
|
|
@@ -1593,7 +1593,7 @@ function In({
|
|
|
1593
1593
|
defaultHeight: t,
|
|
1594
1594
|
defaultWidth: r,
|
|
1595
1595
|
disabled: n,
|
|
1596
|
-
element:
|
|
1596
|
+
element: i,
|
|
1597
1597
|
mode: s,
|
|
1598
1598
|
style: a
|
|
1599
1599
|
}) {
|
|
@@ -1608,21 +1608,21 @@ function In({
|
|
|
1608
1608
|
width: r
|
|
1609
1609
|
}), b = n || s === "only-height" && l !== void 0 || s === "only-width" && c !== void 0 || l !== void 0 && c !== void 0;
|
|
1610
1610
|
return Xe(() => {
|
|
1611
|
-
if (
|
|
1611
|
+
if (i === null || b)
|
|
1612
1612
|
return;
|
|
1613
1613
|
const p = new ResizeObserver((j) => {
|
|
1614
1614
|
for (const T of j) {
|
|
1615
1615
|
const { contentRect: w, target: d } = T;
|
|
1616
|
-
|
|
1616
|
+
i === d && h((F) => F.height === w.height && F.width === w.width ? F : {
|
|
1617
1617
|
height: w.height,
|
|
1618
1618
|
width: w.width
|
|
1619
1619
|
});
|
|
1620
1620
|
}
|
|
1621
1621
|
});
|
|
1622
|
-
return p.observe(
|
|
1623
|
-
p == null || p.unobserve(
|
|
1622
|
+
return p.observe(i, { box: e }), () => {
|
|
1623
|
+
p == null || p.unobserve(i);
|
|
1624
1624
|
};
|
|
1625
|
-
}, [e, b,
|
|
1625
|
+
}, [e, b, i, l, c]), we(
|
|
1626
1626
|
() => ({
|
|
1627
1627
|
height: l ?? f.height,
|
|
1628
1628
|
width: c ?? f.width
|
|
@@ -1646,8 +1646,8 @@ function $n(e = !1) {
|
|
|
1646
1646
|
if (De === null || e) {
|
|
1647
1647
|
const t = document.createElement("div"), r = t.style;
|
|
1648
1648
|
r.width = "50px", r.height = "50px", r.overflow = "scroll", r.direction = "rtl";
|
|
1649
|
-
const n = document.createElement("div"),
|
|
1650
|
-
return
|
|
1649
|
+
const n = document.createElement("div"), i = n.style;
|
|
1650
|
+
return i.width = "100px", i.height = "100px", t.appendChild(n), document.body.appendChild(t), t.scrollLeft > 0 ? De = "positive-descending" : (t.scrollLeft = 1, t.scrollLeft === 0 ? De = "negative" : De = "positive-ascending"), document.body.removeChild(t), De;
|
|
1651
1651
|
}
|
|
1652
1652
|
return De;
|
|
1653
1653
|
}
|
|
@@ -1663,8 +1663,8 @@ function at({
|
|
|
1663
1663
|
return -n;
|
|
1664
1664
|
case "positive-descending": {
|
|
1665
1665
|
if (e) {
|
|
1666
|
-
const { clientWidth:
|
|
1667
|
-
return a -
|
|
1666
|
+
const { clientWidth: i, scrollLeft: s, scrollWidth: a } = e;
|
|
1667
|
+
return a - i - s;
|
|
1668
1668
|
}
|
|
1669
1669
|
break;
|
|
1670
1670
|
}
|
|
@@ -1699,8 +1699,8 @@ function cr({
|
|
|
1699
1699
|
e.size === 0 ? 0 : e.size - 1
|
|
1700
1700
|
);
|
|
1701
1701
|
Pe(n !== void 0, "Unexpected bounds cache miss");
|
|
1702
|
-
const
|
|
1703
|
-
return t *
|
|
1702
|
+
const i = (n.scrollOffset + n.size) / e.size;
|
|
1703
|
+
return t * i;
|
|
1704
1704
|
}
|
|
1705
1705
|
}
|
|
1706
1706
|
function kn({
|
|
@@ -1708,7 +1708,7 @@ function kn({
|
|
|
1708
1708
|
cachedBounds: t,
|
|
1709
1709
|
index: r,
|
|
1710
1710
|
itemCount: n,
|
|
1711
|
-
itemSize:
|
|
1711
|
+
itemSize: i,
|
|
1712
1712
|
containerScrollOffset: s,
|
|
1713
1713
|
containerSize: a
|
|
1714
1714
|
}) {
|
|
@@ -1719,7 +1719,7 @@ function kn({
|
|
|
1719
1719
|
const l = cr({
|
|
1720
1720
|
cachedBounds: t,
|
|
1721
1721
|
itemCount: n,
|
|
1722
|
-
itemSize:
|
|
1722
|
+
itemSize: i
|
|
1723
1723
|
}), c = t.get(r), f = Math.max(
|
|
1724
1724
|
0,
|
|
1725
1725
|
Math.min(l - a, c.scrollOffset)
|
|
@@ -1744,7 +1744,7 @@ function lt({
|
|
|
1744
1744
|
containerScrollOffset: t,
|
|
1745
1745
|
containerSize: r,
|
|
1746
1746
|
itemCount: n,
|
|
1747
|
-
overscanCount:
|
|
1747
|
+
overscanCount: i
|
|
1748
1748
|
}) {
|
|
1749
1749
|
const s = n - 1;
|
|
1750
1750
|
let a = 0, l = -1, c = 0, f = -1, h = 0;
|
|
@@ -1754,13 +1754,13 @@ function lt({
|
|
|
1754
1754
|
break;
|
|
1755
1755
|
h++;
|
|
1756
1756
|
}
|
|
1757
|
-
for (a = h, c = Math.max(0, a -
|
|
1757
|
+
for (a = h, c = Math.max(0, a - i); h < s; ) {
|
|
1758
1758
|
const b = e.get(h);
|
|
1759
1759
|
if (b.scrollOffset + b.size >= t + r)
|
|
1760
1760
|
break;
|
|
1761
1761
|
h++;
|
|
1762
1762
|
}
|
|
1763
|
-
return l = Math.min(s, h), f = Math.min(n - 1, l +
|
|
1763
|
+
return l = Math.min(s, h), f = Math.min(n - 1, l + i), a < 0 && (a = 0, l = -1, c = 0, f = -1), {
|
|
1764
1764
|
startIndexVisible: a,
|
|
1765
1765
|
stopIndexVisible: l,
|
|
1766
1766
|
startIndexOverscan: c,
|
|
@@ -1774,8 +1774,8 @@ function Dn({
|
|
|
1774
1774
|
}) {
|
|
1775
1775
|
const n = /* @__PURE__ */ new Map();
|
|
1776
1776
|
return {
|
|
1777
|
-
get(
|
|
1778
|
-
for (Pe(
|
|
1777
|
+
get(i) {
|
|
1778
|
+
for (Pe(i < e, `Invalid index ${i}`); n.size - 1 < i; ) {
|
|
1779
1779
|
const a = n.size;
|
|
1780
1780
|
let l;
|
|
1781
1781
|
switch (typeof r) {
|
|
@@ -1797,21 +1797,21 @@ function Dn({
|
|
|
1797
1797
|
const c = n.get(a - 1);
|
|
1798
1798
|
Pe(
|
|
1799
1799
|
c !== void 0,
|
|
1800
|
-
`Unexpected bounds cache miss for index ${
|
|
1800
|
+
`Unexpected bounds cache miss for index ${i}`
|
|
1801
1801
|
), n.set(a, {
|
|
1802
1802
|
scrollOffset: c.scrollOffset + c.size,
|
|
1803
1803
|
size: l
|
|
1804
1804
|
});
|
|
1805
1805
|
}
|
|
1806
1806
|
}
|
|
1807
|
-
const s = n.get(
|
|
1807
|
+
const s = n.get(i);
|
|
1808
1808
|
return Pe(
|
|
1809
1809
|
s !== void 0,
|
|
1810
|
-
`Unexpected bounds cache miss for index ${
|
|
1810
|
+
`Unexpected bounds cache miss for index ${i}`
|
|
1811
1811
|
), s;
|
|
1812
1812
|
},
|
|
1813
|
-
set(
|
|
1814
|
-
n.set(
|
|
1813
|
+
set(i, s) {
|
|
1814
|
+
n.set(i, s);
|
|
1815
1815
|
},
|
|
1816
1816
|
get size() {
|
|
1817
1817
|
return n.size;
|
|
@@ -1860,7 +1860,7 @@ function Kt({
|
|
|
1860
1860
|
containerStyle: t,
|
|
1861
1861
|
defaultContainerSize: r = 0,
|
|
1862
1862
|
direction: n,
|
|
1863
|
-
isRtl:
|
|
1863
|
+
isRtl: i = !1,
|
|
1864
1864
|
itemCount: s,
|
|
1865
1865
|
itemProps: a,
|
|
1866
1866
|
itemSize: l,
|
|
@@ -1921,7 +1921,7 @@ function Kt({
|
|
|
1921
1921
|
const W = at({
|
|
1922
1922
|
containerElement: e,
|
|
1923
1923
|
direction: n,
|
|
1924
|
-
isRtl:
|
|
1924
|
+
isRtl: i,
|
|
1925
1925
|
scrollOffset: M
|
|
1926
1926
|
});
|
|
1927
1927
|
return lt({
|
|
@@ -1937,7 +1937,7 @@ function Kt({
|
|
|
1937
1937
|
e,
|
|
1938
1938
|
j,
|
|
1939
1939
|
n,
|
|
1940
|
-
|
|
1940
|
+
i,
|
|
1941
1941
|
s,
|
|
1942
1942
|
f
|
|
1943
1943
|
]
|
|
@@ -1953,7 +1953,7 @@ function Kt({
|
|
|
1953
1953
|
const { scrollLeft: Y, scrollTop: q } = e, te = at({
|
|
1954
1954
|
containerElement: e,
|
|
1955
1955
|
direction: n,
|
|
1956
|
-
isRtl:
|
|
1956
|
+
isRtl: i,
|
|
1957
1957
|
scrollOffset: n === "vertical" ? q : Y
|
|
1958
1958
|
}), he = lt({
|
|
1959
1959
|
cachedBounds: w,
|
|
@@ -1995,7 +1995,7 @@ function Kt({
|
|
|
1995
1995
|
if (q = at({
|
|
1996
1996
|
containerElement: e,
|
|
1997
1997
|
direction: n,
|
|
1998
|
-
isRtl:
|
|
1998
|
+
isRtl: i,
|
|
1999
1999
|
scrollOffset: q
|
|
2000
2000
|
}), typeof e.scrollTo != "function") {
|
|
2001
2001
|
const te = I(q);
|
|
@@ -2022,20 +2022,20 @@ function Vn(e, t) {
|
|
|
2022
2022
|
const {
|
|
2023
2023
|
ariaAttributes: r,
|
|
2024
2024
|
style: n,
|
|
2025
|
-
...
|
|
2025
|
+
...i
|
|
2026
2026
|
} = e, {
|
|
2027
2027
|
ariaAttributes: s,
|
|
2028
2028
|
style: a,
|
|
2029
2029
|
...l
|
|
2030
2030
|
} = t;
|
|
2031
|
-
return Be(r, s) && Be(n, a) && Be(
|
|
2031
|
+
return Be(r, s) && Be(n, a) && Be(i, l);
|
|
2032
2032
|
}
|
|
2033
2033
|
function Hn({
|
|
2034
2034
|
cellComponent: e,
|
|
2035
2035
|
cellProps: t,
|
|
2036
2036
|
children: r,
|
|
2037
2037
|
className: n,
|
|
2038
|
-
columnCount:
|
|
2038
|
+
columnCount: i,
|
|
2039
2039
|
columnWidth: s,
|
|
2040
2040
|
defaultHeight: a = 0,
|
|
2041
2041
|
defaultWidth: l = 0,
|
|
@@ -2067,7 +2067,7 @@ function Hn({
|
|
|
2067
2067
|
defaultContainerSize: l,
|
|
2068
2068
|
direction: "horizontal",
|
|
2069
2069
|
isRtl: D,
|
|
2070
|
-
itemCount:
|
|
2070
|
+
itemCount: i,
|
|
2071
2071
|
itemProps: k,
|
|
2072
2072
|
itemSize: s,
|
|
2073
2073
|
onResize: b,
|
|
@@ -2179,7 +2179,7 @@ function Hn({
|
|
|
2179
2179
|
]);
|
|
2180
2180
|
const g = we(() => {
|
|
2181
2181
|
const E = [];
|
|
2182
|
-
if (
|
|
2182
|
+
if (i > 0 && j > 0)
|
|
2183
2183
|
for (let y = ye; y <= be; y++) {
|
|
2184
2184
|
const v = te(y), x = [];
|
|
2185
2185
|
for (let _ = B; _ <= Y; _++) {
|
|
@@ -2216,7 +2216,7 @@ function Hn({
|
|
|
2216
2216
|
}, [
|
|
2217
2217
|
J,
|
|
2218
2218
|
k,
|
|
2219
|
-
|
|
2219
|
+
i,
|
|
2220
2220
|
B,
|
|
2221
2221
|
Y,
|
|
2222
2222
|
z,
|
|
@@ -2239,7 +2239,7 @@ function Hn({
|
|
|
2239
2239
|
return Mt(
|
|
2240
2240
|
d,
|
|
2241
2241
|
{
|
|
2242
|
-
"aria-colcount":
|
|
2242
|
+
"aria-colcount": i,
|
|
2243
2243
|
"aria-rowcount": j,
|
|
2244
2244
|
role: "grid",
|
|
2245
2245
|
...F,
|
|
@@ -2267,30 +2267,30 @@ const Bn = (e) => /* @__PURE__ */ Z.jsxs("svg", { viewBox: "64 64 896 896", focu
|
|
|
2267
2267
|
/* @__PURE__ */ Z.jsx("path", { d: "M690 405h-46.9c-10.2 0-19.9 4.9-25.9 13.2L512 563.6 406.8 418.2c-6-8.3-15.6-13.2-25.9-13.2H334c-6.5 0-10.3 7.4-6.5 12.7l178 246c3.2 4.4 9.7 4.4 12.9 0l178-246c3.9-5.3.1-12.7-6.4-12.7z" }),
|
|
2268
2268
|
/* @__PURE__ */ Z.jsx("path", { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" })
|
|
2269
2269
|
] }), Kn = (e, t, r) => {
|
|
2270
|
-
var
|
|
2271
|
-
const n = (
|
|
2270
|
+
var i;
|
|
2271
|
+
const n = (i = r[e]) == null ? void 0 : i[t];
|
|
2272
2272
|
return !n || n.rowspan === 0 || n.colspan === 0;
|
|
2273
|
-
}, Gn = (e, t, r, n,
|
|
2273
|
+
}, Gn = (e, t, r, n, i, s) => {
|
|
2274
2274
|
var j, T;
|
|
2275
2275
|
const a = (j = n[e]) == null ? void 0 : j[t];
|
|
2276
2276
|
if (!a || a.rowspan === 0 || a.colspan === 0)
|
|
2277
2277
|
return;
|
|
2278
2278
|
const l = { ...r };
|
|
2279
|
-
let c =
|
|
2279
|
+
let c = i[t];
|
|
2280
2280
|
const f = c.field.split("||"), h = f[f.length - 1], b = s == null ? void 0 : s.find((w) => w.field === h || w.field === c.field);
|
|
2281
2281
|
b && b.style;
|
|
2282
2282
|
const p = (b == null ? void 0 : b.style) || (c == null ? void 0 : c.style);
|
|
2283
2283
|
if (a.colspan > 1) {
|
|
2284
2284
|
let w = 0;
|
|
2285
2285
|
for (let d = t; d < t + a.colspan; d++)
|
|
2286
|
-
w += Number((T =
|
|
2286
|
+
w += Number((T = i[d]) == null ? void 0 : T.width) || 100;
|
|
2287
2287
|
l.width = w;
|
|
2288
2288
|
}
|
|
2289
2289
|
return a.rowspan > 1 && (l.height = a.rowspan * lr), p != null && p.textAlign && (l.textAlign = p.textAlign, p.textAlign === "right" && (l.justifyContent = "flex-end"), p.textAlign === "center" && (l.justifyContent = "center")), l.border = "1px solid #f0f0f0", l.padding = "8px 16px", l.display = "flex", l.alignItems = "center", l.backgroundColor = "#fff", l;
|
|
2290
|
-
}, Un = ({ columnIndex: e, rowIndex: t, style: r, mergedData: n, columns:
|
|
2290
|
+
}, Un = ({ columnIndex: e, rowIndex: t, style: r, mergedData: n, columns: i, handleExpand: s, meta: a }) => {
|
|
2291
2291
|
if (Kn(t, e, n))
|
|
2292
2292
|
return null;
|
|
2293
|
-
const l = n[t][e], c = Gn(t, e, r, n,
|
|
2293
|
+
const l = n[t][e], c = Gn(t, e, r, n, i, a), f = i[e], h = f.field.split("||"), b = h[h.length - 1], p = a == null ? void 0 : a.find((w) => w.field === b || w.field === f.field), j = Ye.isValidElement(l.content);
|
|
2294
2294
|
let T;
|
|
2295
2295
|
if (T = l.content, "formatter" in f && f.formatter && !j && (T = f.formatter(T, l.data)), p != null && p.clickHandler && !j && T !== null && T !== void 0) {
|
|
2296
2296
|
const w = l.data;
|
|
@@ -2311,7 +2311,7 @@ const Bn = (e) => /* @__PURE__ */ Z.jsxs("svg", { viewBox: "64 64 896 896", focu
|
|
|
2311
2311
|
{
|
|
2312
2312
|
style: c,
|
|
2313
2313
|
className: _t("table-cell", "virtual-table-cell", {
|
|
2314
|
-
"virtual-table-cell-last": e ===
|
|
2314
|
+
"virtual-table-cell-last": e === i.length - 1
|
|
2315
2315
|
}),
|
|
2316
2316
|
title: typeof T == "string" ? T : void 0,
|
|
2317
2317
|
children: [
|
|
@@ -2325,7 +2325,7 @@ const Bn = (e) => /* @__PURE__ */ Z.jsxs("svg", { viewBox: "64 64 896 896", focu
|
|
|
2325
2325
|
}
|
|
2326
2326
|
);
|
|
2327
2327
|
}, qn = (e) => {
|
|
2328
|
-
const { data: t, info: r, scroll: n, columns:
|
|
2328
|
+
const { data: t, info: r, scroll: n, columns: i, tableWidth: s } = e, { ref: a, onScroll: l } = r, c = ze(), f = we(() => {
|
|
2329
2329
|
const P = {};
|
|
2330
2330
|
return Object.defineProperty(P, "scrollLeft", {
|
|
2331
2331
|
get: () => {
|
|
@@ -2355,12 +2355,12 @@ const Bn = (e) => /* @__PURE__ */ Z.jsxs("svg", { viewBox: "64 64 896 896", focu
|
|
|
2355
2355
|
return P.forEach((z) => {
|
|
2356
2356
|
z != null && z.children && z.children.length > 0 ? D += p(z.children) : D += 1;
|
|
2357
2357
|
}), D;
|
|
2358
|
-
}, []), j = p(
|
|
2358
|
+
}, []), j = p(i), T = ge((P) => {
|
|
2359
2359
|
let D = [];
|
|
2360
2360
|
return P.forEach((z) => {
|
|
2361
2361
|
z != null && z.children && z.children.length > 0 ? D = [...D, ...T(z.children)] : D.push(z);
|
|
2362
2362
|
}), D;
|
|
2363
|
-
}, []), w = T(
|
|
2363
|
+
}, []), w = T(i), d = ge((P) => {
|
|
2364
2364
|
const D = w[P];
|
|
2365
2365
|
let z = (D == null ? void 0 : D.width) || 100;
|
|
2366
2366
|
return typeof z == "string" && (z = parseInt(z.replace("px", "")) || 100), z;
|
|
@@ -2382,7 +2382,7 @@ const Bn = (e) => /* @__PURE__ */ Z.jsxs("svg", { viewBox: "64 64 896 896", focu
|
|
|
2382
2382
|
columnWidth: d,
|
|
2383
2383
|
rowCount: b,
|
|
2384
2384
|
rowHeight: F,
|
|
2385
|
-
style: { height: A - 40, width: s },
|
|
2385
|
+
style: { height: A - 40, width: s, overflowY: "auto" },
|
|
2386
2386
|
onScroll: J,
|
|
2387
2387
|
className: "virtual-grid",
|
|
2388
2388
|
overscanCount: 20,
|
|
@@ -2398,24 +2398,24 @@ const Bn = (e) => /* @__PURE__ */ Z.jsxs("svg", { viewBox: "64 64 896 896", focu
|
|
|
2398
2398
|
);
|
|
2399
2399
|
}, He = (e) => {
|
|
2400
2400
|
const t = [], r = (n) => {
|
|
2401
|
-
n.children && n.children.length > 0 ? n.children.forEach((
|
|
2401
|
+
n.children && n.children.length > 0 ? n.children.forEach((i) => r(i)) : t.push(n);
|
|
2402
2402
|
};
|
|
2403
2403
|
return e.forEach((n) => r(n)), t;
|
|
2404
2404
|
}, me = (e, t) => {
|
|
2405
2405
|
const r = t.split(".");
|
|
2406
2406
|
let n = e;
|
|
2407
|
-
for (const
|
|
2407
|
+
for (const i of r) {
|
|
2408
2408
|
if (n == null)
|
|
2409
2409
|
return n;
|
|
2410
|
-
n = n[
|
|
2410
|
+
n = n[i];
|
|
2411
2411
|
}
|
|
2412
2412
|
return n == null && (n = xe), n;
|
|
2413
2413
|
}, ct = (e, t) => "|" + t.map((n) => me(e, n)).join("|"), Gt = (e, t) => {
|
|
2414
2414
|
if (!e)
|
|
2415
2415
|
return null;
|
|
2416
2416
|
try {
|
|
2417
|
-
const r = e.replace(/\{(\w+)\}/g, (n,
|
|
2418
|
-
const s = t[
|
|
2417
|
+
const r = e.replace(/\{(\w+)\}/g, (n, i) => {
|
|
2418
|
+
const s = t[i];
|
|
2419
2419
|
return s != null && !isNaN(s) ? String(s) : "0";
|
|
2420
2420
|
});
|
|
2421
2421
|
return /^[\d\.\+\-\*\/\(\)\s]+$/.test(r) ? new Function(`return ${r}`)() : null;
|
|
@@ -2433,27 +2433,27 @@ const Bn = (e) => /* @__PURE__ */ Z.jsxs("svg", { viewBox: "64 64 896 896", focu
|
|
|
2433
2433
|
max: (e) => Math.max(...e.map((t) => Number(t) || -1 / 0)),
|
|
2434
2434
|
d_count: (e) => new Set(e).size,
|
|
2435
2435
|
variance: (e) => {
|
|
2436
|
-
const t = e.map((
|
|
2436
|
+
const t = e.map((i) => Number(i)).filter((i) => !isNaN(i));
|
|
2437
2437
|
if (t.length === 0)
|
|
2438
2438
|
return 0;
|
|
2439
|
-
const r = t.reduce((
|
|
2440
|
-
return t.map((
|
|
2439
|
+
const r = t.reduce((i, s) => i + s, 0) / t.length;
|
|
2440
|
+
return t.map((i) => Math.pow(i - r, 2)).reduce((i, s) => i + s, 0) / t.length;
|
|
2441
2441
|
},
|
|
2442
2442
|
stddev: (e) => {
|
|
2443
2443
|
const t = e.map((s) => Number(s)).filter((s) => !isNaN(s));
|
|
2444
2444
|
if (t.length === 0)
|
|
2445
2445
|
return 0;
|
|
2446
|
-
const r = t.reduce((s, a) => s + a, 0) / t.length,
|
|
2447
|
-
return Math.sqrt(
|
|
2446
|
+
const r = t.reduce((s, a) => s + a, 0) / t.length, i = t.map((s) => Math.pow(s - r, 2)).reduce((s, a) => s + a, 0) / t.length;
|
|
2447
|
+
return Math.sqrt(i);
|
|
2448
2448
|
}
|
|
2449
2449
|
}, ue = /* @__PURE__ */ new Map(), ut = /* @__PURE__ */ new Map(), ft = /* @__PURE__ */ new Map(), Jn = (e) => {
|
|
2450
|
-
const { data: t, sortParams: r, fields: n } = e, { rows:
|
|
2451
|
-
if (!t || t.length === 0 || !
|
|
2450
|
+
const { data: t, sortParams: r, fields: n } = e, { rows: i, columns: s, values: a } = n;
|
|
2451
|
+
if (!t || t.length === 0 || !i.length && !s.length && !a.length)
|
|
2452
2452
|
return {
|
|
2453
2453
|
list: [],
|
|
2454
2454
|
dataExpandFilter: (g) => g
|
|
2455
2455
|
};
|
|
2456
|
-
const l = He(
|
|
2456
|
+
const l = He(i), c = He(s), f = He(a).filter((g) => !g.hidden), h = l.map((g) => g.field), b = c.map((g) => g.field), p = /* @__PURE__ */ new Map(), j = /* @__PURE__ */ new Map(), T = /* @__PURE__ */ new Map();
|
|
2457
2457
|
t.forEach((g) => {
|
|
2458
2458
|
const C = ct(g, h);
|
|
2459
2459
|
p.has(C) || p.set(C, []), p.get(C).push(g);
|
|
@@ -2507,7 +2507,7 @@ const Bn = (e) => /* @__PURE__ */ Z.jsxs("svg", { viewBox: "64 64 896 896", focu
|
|
|
2507
2507
|
}
|
|
2508
2508
|
return 0;
|
|
2509
2509
|
}), F = () => {
|
|
2510
|
-
const g = [], C = He(
|
|
2510
|
+
const g = [], C = He(i);
|
|
2511
2511
|
for (let E = 1; E <= C.length; E++)
|
|
2512
2512
|
g.push(C.slice(0, E));
|
|
2513
2513
|
return g;
|
|
@@ -2573,45 +2573,45 @@ const Bn = (e) => /* @__PURE__ */ Z.jsxs("svg", { viewBox: "64 64 896 896", focu
|
|
|
2573
2573
|
for (let Q = 0; Q < E.length; Q++) {
|
|
2574
2574
|
const ee = E[Q];
|
|
2575
2575
|
h.slice(0, v).every((Le, pe) => {
|
|
2576
|
-
var
|
|
2577
|
-
return ((
|
|
2576
|
+
var oe;
|
|
2577
|
+
return ((oe = ee[pe]) == null ? void 0 : oe.content) === ae[pe];
|
|
2578
2578
|
}) && (le === -1 && (le = Q), O = Q);
|
|
2579
2579
|
}
|
|
2580
2580
|
if (le !== -1) {
|
|
2581
2581
|
const Q = [];
|
|
2582
2582
|
let ee = "";
|
|
2583
2583
|
h.forEach((Le, pe) => {
|
|
2584
|
-
let
|
|
2585
|
-
const
|
|
2586
|
-
pe <= v && (pe === v ?
|
|
2587
|
-
const Ke = ue.has(
|
|
2588
|
-
(
|
|
2589
|
-
content:
|
|
2584
|
+
let oe = xe;
|
|
2585
|
+
const ie = pe + 1, ce = ie < h.length, je = l[pe];
|
|
2586
|
+
pe <= v && (pe === v ? oe = L : oe = ae[pe], ee += `|${oe}`);
|
|
2587
|
+
const Ke = ue.has(ie) && ue.get(ie).get(ee) || !0;
|
|
2588
|
+
(oe === xe || oe === null || oe === void 0) && je.emptyReplace && (oe = je.emptyReplace), Q.push({
|
|
2589
|
+
content: oe,
|
|
2590
2590
|
rowspan: 1,
|
|
2591
2591
|
colspan: 1,
|
|
2592
2592
|
data: null,
|
|
2593
2593
|
rowKey: ee,
|
|
2594
|
-
expandable: H === "top" && ce &&
|
|
2594
|
+
expandable: H === "top" && ce && oe !== xe && oe !== Bt,
|
|
2595
2595
|
expanded: H === "top" ? Ke : !1,
|
|
2596
|
-
level:
|
|
2596
|
+
level: ie,
|
|
2597
2597
|
onClick: H === "top" && ce ? (Ae) => D(Ae.level, Ae.rowKey) : void 0
|
|
2598
2598
|
});
|
|
2599
2599
|
}), A.forEach(([Le, pe]) => {
|
|
2600
|
-
const
|
|
2601
|
-
f.forEach((
|
|
2602
|
-
if (
|
|
2600
|
+
const oe = {};
|
|
2601
|
+
f.forEach((ie) => {
|
|
2602
|
+
if (ie.calculateType === "expr")
|
|
2603
2603
|
return;
|
|
2604
|
-
const ce =
|
|
2604
|
+
const ce = ie.field, je = ie.calculateType || "sum", Ae = R.filter((Ce) => ct(Ce, b) === Le).map((Ce) => me(Ce, ce));
|
|
2605
2605
|
let Ne = 0;
|
|
2606
|
-
Ge[je] && (Ne = Ge[je](Ae)), ie
|
|
2607
|
-
}), f.forEach((
|
|
2608
|
-
if (
|
|
2609
|
-
const ce = Gt(
|
|
2610
|
-
ie
|
|
2606
|
+
Ge[je] && (Ne = Ge[je](Ae)), oe[ie.field] = Ne;
|
|
2607
|
+
}), f.forEach((ie) => {
|
|
2608
|
+
if (ie.calculateType === "expr" && ie.expression) {
|
|
2609
|
+
const ce = Gt(ie.expression, oe);
|
|
2610
|
+
oe[ie.field] = ce !== null ? ce : 0;
|
|
2611
2611
|
}
|
|
2612
|
-
}), f.forEach((
|
|
2613
|
-
let ce = ie
|
|
2614
|
-
(ce === xe || ce === null || ce === void 0 || typeof ce == "number" && isNaN(ce)) &&
|
|
2612
|
+
}), f.forEach((ie) => {
|
|
2613
|
+
let ce = oe[ie.field];
|
|
2614
|
+
(ce === xe || ce === null || ce === void 0 || typeof ce == "number" && isNaN(ce)) && ie.emptyReplace && (ce = ie.emptyReplace), Q.push({
|
|
2615
2615
|
content: ce,
|
|
2616
2616
|
rowspan: 1,
|
|
2617
2617
|
colspan: 1,
|
|
@@ -2625,7 +2625,7 @@ const Bn = (e) => /* @__PURE__ */ Z.jsxs("svg", { viewBox: "64 64 896 896", focu
|
|
|
2625
2625
|
});
|
|
2626
2626
|
}
|
|
2627
2627
|
return E;
|
|
2628
|
-
}, B = He(
|
|
2628
|
+
}, B = He(i);
|
|
2629
2629
|
ue.clear(), t.forEach((g) => {
|
|
2630
2630
|
let C = "";
|
|
2631
2631
|
h.forEach((E, y) => {
|
|
@@ -2767,7 +2767,7 @@ const Bn = (e) => /* @__PURE__ */ Z.jsxs("svg", { viewBox: "64 64 896 896", focu
|
|
|
2767
2767
|
var L;
|
|
2768
2768
|
let S = x.find((H) => H.title === _);
|
|
2769
2769
|
if (!S) {
|
|
2770
|
-
const ae = `${((L = c[R]) == null ? void 0 : L.field) || "unknown"}
|
|
2770
|
+
const ae = `${((L = c[R]) == null ? void 0 : L.field) || "unknown"}_${_}`, le = {
|
|
2771
2771
|
field: ae,
|
|
2772
2772
|
title: _,
|
|
2773
2773
|
children: [],
|
|
@@ -2795,12 +2795,12 @@ const Bn = (e) => /* @__PURE__ */ Z.jsxs("svg", { viewBox: "64 64 896 896", focu
|
|
|
2795
2795
|
tableColumns: Se
|
|
2796
2796
|
};
|
|
2797
2797
|
}, Xn = (e) => {
|
|
2798
|
-
const { data: t, fields: r } = e, { rows: n, columns:
|
|
2798
|
+
const { data: t, fields: r } = e, { rows: n, columns: i, values: s } = r;
|
|
2799
2799
|
if (!s || s.length === 0)
|
|
2800
2800
|
return { list: [], dataExpandFilter: (a) => a };
|
|
2801
2801
|
if (!t || t.length === 0)
|
|
2802
2802
|
return { list: [], dataExpandFilter: (a) => a };
|
|
2803
|
-
if (n.length === 0 &&
|
|
2803
|
+
if (n.length === 0 && i.length === 0) {
|
|
2804
2804
|
const a = s.filter((f) => !f.hidden), l = a.map((f) => ({
|
|
2805
2805
|
...f,
|
|
2806
2806
|
width: f.width || 100,
|
|
@@ -2820,8 +2820,8 @@ const Bn = (e) => /* @__PURE__ */ Z.jsxs("svg", { viewBox: "64 64 896 896", focu
|
|
|
2820
2820
|
};
|
|
2821
2821
|
}
|
|
2822
2822
|
return Jn(e);
|
|
2823
|
-
},
|
|
2824
|
-
const { scroll: t, data: r, meta: n, sortParams:
|
|
2823
|
+
}, eo = Ut((e) => {
|
|
2824
|
+
const { scroll: t, data: r, meta: n, sortParams: i, fields: s } = e, [a, l] = Ie(0), [c, f] = Ie([]), [h, b] = Ie([]), p = ze(null), j = ge(() => {
|
|
2825
2825
|
if (p.current) {
|
|
2826
2826
|
let I = p.current;
|
|
2827
2827
|
if (!I || !I.list || !I.dataExpandFilter)
|
|
@@ -2833,11 +2833,11 @@ const Bn = (e) => /* @__PURE__ */ Z.jsxs("svg", { viewBox: "64 64 896 896", focu
|
|
|
2833
2833
|
let B = Xn({
|
|
2834
2834
|
data: r,
|
|
2835
2835
|
meta: n,
|
|
2836
|
-
sortParams:
|
|
2836
|
+
sortParams: i,
|
|
2837
2837
|
fields: s
|
|
2838
2838
|
});
|
|
2839
2839
|
p.current = B, B.tableColumns && b(B.tableColumns), j();
|
|
2840
|
-
}, [r, n,
|
|
2840
|
+
}, [r, n, i, s, j]);
|
|
2841
2841
|
const T = ge((I) => I ? typeof I == "string" ? parseInt(I.replace("px", "")) || 0 : typeof I == "number" ? I : 0 : 0, []), { baseWidth: w, colCount: d } = we(() => {
|
|
2842
2842
|
let I = 0, B = 0;
|
|
2843
2843
|
const M = (W) => {
|
|
@@ -2892,7 +2892,7 @@ const Bn = (e) => /* @__PURE__ */ Z.jsxs("svg", { viewBox: "64 64 896 896", focu
|
|
|
2892
2892
|
{
|
|
2893
2893
|
ref: J,
|
|
2894
2894
|
columns: F,
|
|
2895
|
-
width: a,
|
|
2895
|
+
width: a - 8,
|
|
2896
2896
|
onScroll: z,
|
|
2897
2897
|
meta: n
|
|
2898
2898
|
}
|
|
@@ -2920,7 +2920,7 @@ const Bn = (e) => /* @__PURE__ */ Z.jsxs("svg", { viewBox: "64 64 896 896", focu
|
|
|
2920
2920
|
);
|
|
2921
2921
|
});
|
|
2922
2922
|
export {
|
|
2923
|
-
|
|
2923
|
+
eo as VirtualTable,
|
|
2924
2924
|
Xn as dataHandler,
|
|
2925
2925
|
Jn as pivotDataHandler
|
|
2926
2926
|
};
|