@yester/virtual-table 1.2.2 → 1.2.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 +1113 -1110
- package/dist/virtual-table.es.js.map +1 -1
- package/dist/virtual-table.umd.js +14 -14
- package/dist/virtual-table.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/virtual-table.es.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import
|
|
1
|
+
import * as re from "react";
|
|
2
|
+
import Ge, { version as Pr, isValidElement as jr, forwardRef as Ar, useMemo as ye, memo as Xt, useState as $e, useImperativeHandle as Mr, useEffect as et, createElement as Lt, useLayoutEffect as Rt, useRef as Le, useCallback as ge } from "react";
|
|
3
3
|
import $t from "react-dom";
|
|
4
4
|
function zr(e) {
|
|
5
5
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
6
6
|
}
|
|
7
|
-
var
|
|
7
|
+
var pt = { exports: {} }, He = {};
|
|
8
8
|
/**
|
|
9
9
|
* @license React
|
|
10
10
|
* react-jsx-runtime.production.min.js
|
|
@@ -14,25 +14,25 @@ var ht = { exports: {} }, We = {};
|
|
|
14
14
|
* This source code is licensed under the MIT license found in the
|
|
15
15
|
* LICENSE file in the root directory of this source tree.
|
|
16
16
|
*/
|
|
17
|
-
var
|
|
17
|
+
var kt;
|
|
18
18
|
function Ir() {
|
|
19
|
-
if (
|
|
20
|
-
return
|
|
21
|
-
|
|
22
|
-
var e =
|
|
23
|
-
function a(
|
|
24
|
-
var
|
|
25
|
-
c !== void 0 && (
|
|
26
|
-
for (
|
|
27
|
-
n.call(l,
|
|
28
|
-
if (
|
|
29
|
-
for (
|
|
30
|
-
|
|
31
|
-
return { $$typeof: t, type:
|
|
19
|
+
if (kt)
|
|
20
|
+
return He;
|
|
21
|
+
kt = 1;
|
|
22
|
+
var e = Ge, 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
|
+
function a(d, l, c) {
|
|
24
|
+
var h, v = {}, E = null, z = null;
|
|
25
|
+
c !== void 0 && (E = "" + c), l.key !== void 0 && (E = "" + l.key), l.ref !== void 0 && (z = l.ref);
|
|
26
|
+
for (h in l)
|
|
27
|
+
n.call(l, h) && !s.hasOwnProperty(h) && (v[h] = l[h]);
|
|
28
|
+
if (d && d.defaultProps)
|
|
29
|
+
for (h in l = d.defaultProps, l)
|
|
30
|
+
v[h] === void 0 && (v[h] = l[h]);
|
|
31
|
+
return { $$typeof: t, type: d, key: E, ref: z, props: v, _owner: i.current };
|
|
32
32
|
}
|
|
33
|
-
return
|
|
33
|
+
return He.Fragment = r, He.jsx = a, He.jsxs = a, He;
|
|
34
34
|
}
|
|
35
|
-
var
|
|
35
|
+
var Be = {};
|
|
36
36
|
/**
|
|
37
37
|
* @license React
|
|
38
38
|
* react-jsx-runtime.development.js
|
|
@@ -42,57 +42,57 @@ var Ve = {};
|
|
|
42
42
|
* This source code is licensed under the MIT license found in the
|
|
43
43
|
* LICENSE file in the root directory of this source tree.
|
|
44
44
|
*/
|
|
45
|
-
var
|
|
46
|
-
function
|
|
47
|
-
return
|
|
48
|
-
var e =
|
|
45
|
+
var Dt;
|
|
46
|
+
function Lr() {
|
|
47
|
+
return Dt || (Dt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
48
|
+
var e = Ge, 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"), d = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), z = Symbol.for("react.offscreen"), A = Symbol.iterator, S = "@@iterator";
|
|
49
49
|
function u(o) {
|
|
50
50
|
if (o === null || typeof o != "object")
|
|
51
51
|
return null;
|
|
52
|
-
var
|
|
53
|
-
return typeof
|
|
52
|
+
var f = A && o[A] || o[S];
|
|
53
|
+
return typeof f == "function" ? f : null;
|
|
54
54
|
}
|
|
55
55
|
var j = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
56
|
-
function
|
|
56
|
+
function T(o) {
|
|
57
57
|
{
|
|
58
|
-
for (var
|
|
59
|
-
|
|
60
|
-
J("error", o,
|
|
58
|
+
for (var f = arguments.length, b = new Array(f > 1 ? f - 1 : 0), L = 1; L < f; L++)
|
|
59
|
+
b[L - 1] = arguments[L];
|
|
60
|
+
J("error", o, b);
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
|
-
function J(o,
|
|
63
|
+
function J(o, f, b) {
|
|
64
64
|
{
|
|
65
65
|
var L = j.ReactDebugCurrentFrame, G = L.getStackAddendum();
|
|
66
|
-
G !== "" && (
|
|
67
|
-
var
|
|
66
|
+
G !== "" && (f += "%s", b = b.concat([G]));
|
|
67
|
+
var Z = b.map(function(B) {
|
|
68
68
|
return String(B);
|
|
69
69
|
});
|
|
70
|
-
|
|
70
|
+
Z.unshift("Warning: " + f), Function.prototype.apply.call(console[o], console, Z);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
var
|
|
73
|
+
var I = !1, N = !1, $ = !1, k = !1, p = !1, F;
|
|
74
74
|
F = Symbol.for("react.module.reference");
|
|
75
75
|
function M(o) {
|
|
76
|
-
return !!(typeof o == "string" || typeof o == "function" || o === n || o === s || p || o === i || o === c || o ===
|
|
76
|
+
return !!(typeof o == "string" || typeof o == "function" || o === n || o === s || p || o === i || o === c || o === h || k || o === z || I || N || $ || typeof o == "object" && o !== null && (o.$$typeof === E || o.$$typeof === v || o.$$typeof === a || o.$$typeof === d || o.$$typeof === l || // 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 === F || o.getModuleId !== void 0));
|
|
81
81
|
}
|
|
82
|
-
function W(o,
|
|
82
|
+
function W(o, f, b) {
|
|
83
83
|
var L = o.displayName;
|
|
84
84
|
if (L)
|
|
85
85
|
return L;
|
|
86
|
-
var G =
|
|
87
|
-
return G !== "" ?
|
|
86
|
+
var G = f.displayName || f.name || "";
|
|
87
|
+
return G !== "" ? b + "(" + G + ")" : b;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function Y(o) {
|
|
90
90
|
return o.displayName || "Context";
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function H(o) {
|
|
93
93
|
if (o == null)
|
|
94
94
|
return null;
|
|
95
|
-
if (typeof o.tag == "number" &&
|
|
95
|
+
if (typeof o.tag == "number" && T("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof o == "function")
|
|
96
96
|
return o.displayName || o.name || null;
|
|
97
97
|
if (typeof o == "string")
|
|
98
98
|
return o;
|
|
@@ -107,26 +107,26 @@ function $r() {
|
|
|
107
107
|
return "StrictMode";
|
|
108
108
|
case c:
|
|
109
109
|
return "Suspense";
|
|
110
|
-
case
|
|
110
|
+
case h:
|
|
111
111
|
return "SuspenseList";
|
|
112
112
|
}
|
|
113
113
|
if (typeof o == "object")
|
|
114
114
|
switch (o.$$typeof) {
|
|
115
|
-
case
|
|
116
|
-
var
|
|
117
|
-
return
|
|
115
|
+
case d:
|
|
116
|
+
var f = o;
|
|
117
|
+
return Y(f) + ".Consumer";
|
|
118
118
|
case a:
|
|
119
|
-
var
|
|
120
|
-
return
|
|
119
|
+
var b = o;
|
|
120
|
+
return Y(b._context) + ".Provider";
|
|
121
121
|
case l:
|
|
122
122
|
return W(o, o.render, "ForwardRef");
|
|
123
|
-
case
|
|
123
|
+
case v:
|
|
124
124
|
var L = o.displayName || null;
|
|
125
|
-
return L !== null ? L :
|
|
126
|
-
case
|
|
127
|
-
var G = o,
|
|
125
|
+
return L !== null ? L : H(o.type) || "Memo";
|
|
126
|
+
case E: {
|
|
127
|
+
var G = o, Z = G._payload, B = G._init;
|
|
128
128
|
try {
|
|
129
|
-
return
|
|
129
|
+
return H(B(Z));
|
|
130
130
|
} catch {
|
|
131
131
|
return null;
|
|
132
132
|
}
|
|
@@ -134,14 +134,14 @@ function $r() {
|
|
|
134
134
|
}
|
|
135
135
|
return null;
|
|
136
136
|
}
|
|
137
|
-
var
|
|
137
|
+
var ee = Object.assign, de = 0, be, Se, _e, pe, Oe, Te, g;
|
|
138
138
|
function w() {
|
|
139
139
|
}
|
|
140
140
|
w.__reactDisabledLog = !0;
|
|
141
|
-
function
|
|
141
|
+
function _() {
|
|
142
142
|
{
|
|
143
|
-
if (
|
|
144
|
-
be = console.log,
|
|
143
|
+
if (de === 0) {
|
|
144
|
+
be = console.log, Se = console.info, _e = console.warn, pe = console.error, Oe = console.group, Te = console.groupCollapsed, g = console.groupEnd;
|
|
145
145
|
var o = {
|
|
146
146
|
configurable: !0,
|
|
147
147
|
enumerable: !0,
|
|
@@ -158,79 +158,79 @@ function $r() {
|
|
|
158
158
|
groupEnd: o
|
|
159
159
|
});
|
|
160
160
|
}
|
|
161
|
-
|
|
161
|
+
de++;
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function R() {
|
|
165
165
|
{
|
|
166
|
-
if (
|
|
166
|
+
if (de--, de === 0) {
|
|
167
167
|
var o = {
|
|
168
168
|
configurable: !0,
|
|
169
169
|
enumerable: !0,
|
|
170
170
|
writable: !0
|
|
171
171
|
};
|
|
172
172
|
Object.defineProperties(console, {
|
|
173
|
-
log:
|
|
173
|
+
log: ee({}, o, {
|
|
174
174
|
value: be
|
|
175
175
|
}),
|
|
176
|
-
info:
|
|
177
|
-
value:
|
|
176
|
+
info: ee({}, o, {
|
|
177
|
+
value: Se
|
|
178
178
|
}),
|
|
179
|
-
warn:
|
|
179
|
+
warn: ee({}, o, {
|
|
180
180
|
value: _e
|
|
181
181
|
}),
|
|
182
|
-
error:
|
|
183
|
-
value:
|
|
182
|
+
error: ee({}, o, {
|
|
183
|
+
value: pe
|
|
184
184
|
}),
|
|
185
|
-
group:
|
|
186
|
-
value:
|
|
185
|
+
group: ee({}, o, {
|
|
186
|
+
value: Oe
|
|
187
187
|
}),
|
|
188
|
-
groupCollapsed:
|
|
189
|
-
value:
|
|
188
|
+
groupCollapsed: ee({}, o, {
|
|
189
|
+
value: Te
|
|
190
190
|
}),
|
|
191
|
-
groupEnd:
|
|
192
|
-
value:
|
|
191
|
+
groupEnd: ee({}, o, {
|
|
192
|
+
value: g
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}
|
|
196
|
-
|
|
196
|
+
de < 0 && T("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
197
197
|
}
|
|
198
198
|
}
|
|
199
|
-
var
|
|
200
|
-
function
|
|
199
|
+
var m = j.ReactCurrentDispatcher, O;
|
|
200
|
+
function x(o, f, b) {
|
|
201
201
|
{
|
|
202
|
-
if (
|
|
202
|
+
if (O === void 0)
|
|
203
203
|
try {
|
|
204
204
|
throw Error();
|
|
205
205
|
} catch (G) {
|
|
206
206
|
var L = G.stack.trim().match(/\n( *(at )?)/);
|
|
207
|
-
|
|
207
|
+
O = L && L[1] || "";
|
|
208
208
|
}
|
|
209
209
|
return `
|
|
210
|
-
` +
|
|
210
|
+
` + O + o;
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
|
-
var
|
|
213
|
+
var P = !1, C;
|
|
214
214
|
{
|
|
215
|
-
var
|
|
216
|
-
|
|
215
|
+
var D = typeof WeakMap == "function" ? WeakMap : Map;
|
|
216
|
+
C = new D();
|
|
217
217
|
}
|
|
218
|
-
function
|
|
219
|
-
if (!o ||
|
|
218
|
+
function K(o, f) {
|
|
219
|
+
if (!o || P)
|
|
220
220
|
return "";
|
|
221
221
|
{
|
|
222
|
-
var
|
|
223
|
-
if (
|
|
224
|
-
return
|
|
222
|
+
var b = C.get(o);
|
|
223
|
+
if (b !== void 0)
|
|
224
|
+
return b;
|
|
225
225
|
}
|
|
226
226
|
var L;
|
|
227
|
-
|
|
227
|
+
P = !0;
|
|
228
228
|
var G = Error.prepareStackTrace;
|
|
229
229
|
Error.prepareStackTrace = void 0;
|
|
230
|
-
var
|
|
231
|
-
|
|
230
|
+
var Z;
|
|
231
|
+
Z = m.current, m.current = null, _();
|
|
232
232
|
try {
|
|
233
|
-
if (
|
|
233
|
+
if (f) {
|
|
234
234
|
var B = function() {
|
|
235
235
|
throw Error();
|
|
236
236
|
};
|
|
@@ -241,200 +241,200 @@ function $r() {
|
|
|
241
241
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
242
242
|
try {
|
|
243
243
|
Reflect.construct(B, []);
|
|
244
|
-
} catch (
|
|
245
|
-
L =
|
|
244
|
+
} catch (he) {
|
|
245
|
+
L = he;
|
|
246
246
|
}
|
|
247
247
|
Reflect.construct(o, [], B);
|
|
248
248
|
} else {
|
|
249
249
|
try {
|
|
250
250
|
B.call();
|
|
251
|
-
} catch (
|
|
252
|
-
L =
|
|
251
|
+
} catch (he) {
|
|
252
|
+
L = he;
|
|
253
253
|
}
|
|
254
254
|
o.call(B.prototype);
|
|
255
255
|
}
|
|
256
256
|
} else {
|
|
257
257
|
try {
|
|
258
258
|
throw Error();
|
|
259
|
-
} catch (
|
|
260
|
-
L =
|
|
259
|
+
} catch (he) {
|
|
260
|
+
L = he;
|
|
261
261
|
}
|
|
262
262
|
o();
|
|
263
263
|
}
|
|
264
|
-
} catch (
|
|
265
|
-
if (
|
|
266
|
-
for (var V =
|
|
267
|
-
`),
|
|
268
|
-
`),
|
|
269
|
-
|
|
270
|
-
for (;
|
|
271
|
-
if (V[
|
|
272
|
-
if (
|
|
264
|
+
} catch (he) {
|
|
265
|
+
if (he && L && typeof he.stack == "string") {
|
|
266
|
+
for (var V = he.stack.split(`
|
|
267
|
+
`), fe = L.stack.split(`
|
|
268
|
+
`), oe = V.length - 1, se = fe.length - 1; oe >= 1 && se >= 0 && V[oe] !== fe[se]; )
|
|
269
|
+
se--;
|
|
270
|
+
for (; oe >= 1 && se >= 0; oe--, se--)
|
|
271
|
+
if (V[oe] !== fe[se]) {
|
|
272
|
+
if (oe !== 1 || se !== 1)
|
|
273
273
|
do
|
|
274
|
-
if (
|
|
275
|
-
var
|
|
276
|
-
` + V[
|
|
277
|
-
return o.displayName &&
|
|
274
|
+
if (oe--, se--, se < 0 || V[oe] !== fe[se]) {
|
|
275
|
+
var Ee = `
|
|
276
|
+
` + V[oe].replace(" at new ", " at ");
|
|
277
|
+
return o.displayName && Ee.includes("<anonymous>") && (Ee = Ee.replace("<anonymous>", o.displayName)), typeof o == "function" && C.set(o, Ee), Ee;
|
|
278
278
|
}
|
|
279
|
-
while (
|
|
279
|
+
while (oe >= 1 && se >= 0);
|
|
280
280
|
break;
|
|
281
281
|
}
|
|
282
282
|
}
|
|
283
283
|
} finally {
|
|
284
|
-
|
|
284
|
+
P = !1, m.current = Z, R(), Error.prepareStackTrace = G;
|
|
285
285
|
}
|
|
286
|
-
var
|
|
287
|
-
return typeof o == "function" &&
|
|
286
|
+
var De = o ? o.displayName || o.name : "", Ie = De ? x(De) : "";
|
|
287
|
+
return typeof o == "function" && C.set(o, Ie), Ie;
|
|
288
288
|
}
|
|
289
|
-
function
|
|
290
|
-
return
|
|
289
|
+
function ne(o, f, b) {
|
|
290
|
+
return K(o, !1);
|
|
291
291
|
}
|
|
292
|
-
function
|
|
293
|
-
var
|
|
294
|
-
return !!(
|
|
292
|
+
function y(o) {
|
|
293
|
+
var f = o.prototype;
|
|
294
|
+
return !!(f && f.isReactComponent);
|
|
295
295
|
}
|
|
296
|
-
function
|
|
296
|
+
function le(o, f, b) {
|
|
297
297
|
if (o == null)
|
|
298
298
|
return "";
|
|
299
299
|
if (typeof o == "function")
|
|
300
|
-
return
|
|
300
|
+
return K(o, y(o));
|
|
301
301
|
if (typeof o == "string")
|
|
302
|
-
return
|
|
302
|
+
return x(o);
|
|
303
303
|
switch (o) {
|
|
304
304
|
case c:
|
|
305
|
-
return
|
|
306
|
-
case
|
|
307
|
-
return
|
|
305
|
+
return x("Suspense");
|
|
306
|
+
case h:
|
|
307
|
+
return x("SuspenseList");
|
|
308
308
|
}
|
|
309
309
|
if (typeof o == "object")
|
|
310
310
|
switch (o.$$typeof) {
|
|
311
311
|
case l:
|
|
312
|
-
return
|
|
313
|
-
case
|
|
314
|
-
return
|
|
315
|
-
case
|
|
316
|
-
var L = o, G = L._payload,
|
|
312
|
+
return ne(o.render);
|
|
313
|
+
case v:
|
|
314
|
+
return le(o.type, f, b);
|
|
315
|
+
case E: {
|
|
316
|
+
var L = o, G = L._payload, Z = L._init;
|
|
317
317
|
try {
|
|
318
|
-
return Z(
|
|
318
|
+
return le(Z(G), f, b);
|
|
319
319
|
} catch {
|
|
320
320
|
}
|
|
321
321
|
}
|
|
322
322
|
}
|
|
323
323
|
return "";
|
|
324
324
|
}
|
|
325
|
-
var
|
|
326
|
-
function
|
|
325
|
+
var X = Object.prototype.hasOwnProperty, ae = {}, ve = j.ReactDebugCurrentFrame;
|
|
326
|
+
function Pe(o) {
|
|
327
327
|
if (o) {
|
|
328
|
-
var
|
|
329
|
-
|
|
328
|
+
var f = o._owner, b = le(o.type, o._source, f ? f.type : null);
|
|
329
|
+
ve.setExtraStackFrame(b);
|
|
330
330
|
} else
|
|
331
|
-
|
|
331
|
+
ve.setExtraStackFrame(null);
|
|
332
332
|
}
|
|
333
|
-
function
|
|
333
|
+
function we(o, f, b, L, G) {
|
|
334
334
|
{
|
|
335
|
-
var
|
|
335
|
+
var Z = Function.call.bind(X);
|
|
336
336
|
for (var B in o)
|
|
337
|
-
if (
|
|
337
|
+
if (Z(o, B)) {
|
|
338
338
|
var V = void 0;
|
|
339
339
|
try {
|
|
340
340
|
if (typeof o[B] != "function") {
|
|
341
|
-
var
|
|
342
|
-
throw
|
|
341
|
+
var fe = Error((L || "React class") + ": " + b + " type `" + B + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[B] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
342
|
+
throw fe.name = "Invariant Violation", fe;
|
|
343
343
|
}
|
|
344
|
-
V = o[B](
|
|
345
|
-
} catch (
|
|
346
|
-
V =
|
|
344
|
+
V = o[B](f, B, L, b, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
345
|
+
} catch (oe) {
|
|
346
|
+
V = oe;
|
|
347
347
|
}
|
|
348
|
-
V && !(V instanceof Error) && (
|
|
348
|
+
V && !(V instanceof Error) && (Pe(G), T("%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).", L || "React class", b, B, typeof V), Pe(null)), V instanceof Error && !(V.message in ae) && (ae[V.message] = !0, Pe(G), T("Failed %s type: %s", b, V.message), Pe(null));
|
|
349
349
|
}
|
|
350
350
|
}
|
|
351
351
|
}
|
|
352
|
-
var
|
|
353
|
-
function
|
|
354
|
-
return
|
|
352
|
+
var ie = Array.isArray;
|
|
353
|
+
function te(o) {
|
|
354
|
+
return ie(o);
|
|
355
355
|
}
|
|
356
|
-
function
|
|
356
|
+
function ue(o) {
|
|
357
357
|
{
|
|
358
|
-
var
|
|
359
|
-
return
|
|
358
|
+
var f = typeof Symbol == "function" && Symbol.toStringTag, b = f && o[Symbol.toStringTag] || o.constructor.name || "Object";
|
|
359
|
+
return b;
|
|
360
360
|
}
|
|
361
361
|
}
|
|
362
|
-
function
|
|
362
|
+
function Me(o) {
|
|
363
363
|
try {
|
|
364
|
-
return
|
|
364
|
+
return We(o), !1;
|
|
365
365
|
} catch {
|
|
366
366
|
return !0;
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
|
-
function
|
|
369
|
+
function We(o) {
|
|
370
370
|
return "" + o;
|
|
371
371
|
}
|
|
372
|
-
function
|
|
373
|
-
if (
|
|
374
|
-
return
|
|
372
|
+
function ze(o) {
|
|
373
|
+
if (Me(o))
|
|
374
|
+
return T("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ue(o)), We(o);
|
|
375
375
|
}
|
|
376
|
-
var
|
|
376
|
+
var je = j.ReactCurrentOwner, Ve = {
|
|
377
377
|
key: !0,
|
|
378
378
|
ref: !0,
|
|
379
379
|
__self: !0,
|
|
380
380
|
__source: !0
|
|
381
|
-
},
|
|
382
|
-
|
|
381
|
+
}, xt, Ot, rt;
|
|
382
|
+
rt = {};
|
|
383
383
|
function dr(o) {
|
|
384
|
-
if (
|
|
385
|
-
var
|
|
386
|
-
if (
|
|
384
|
+
if (X.call(o, "ref")) {
|
|
385
|
+
var f = Object.getOwnPropertyDescriptor(o, "ref").get;
|
|
386
|
+
if (f && f.isReactWarning)
|
|
387
387
|
return !1;
|
|
388
388
|
}
|
|
389
389
|
return o.ref !== void 0;
|
|
390
390
|
}
|
|
391
391
|
function hr(o) {
|
|
392
|
-
if (
|
|
393
|
-
var
|
|
394
|
-
if (
|
|
392
|
+
if (X.call(o, "key")) {
|
|
393
|
+
var f = Object.getOwnPropertyDescriptor(o, "key").get;
|
|
394
|
+
if (f && f.isReactWarning)
|
|
395
395
|
return !1;
|
|
396
396
|
}
|
|
397
397
|
return o.key !== void 0;
|
|
398
398
|
}
|
|
399
|
-
function pr(o,
|
|
400
|
-
if (typeof o.ref == "string" &&
|
|
401
|
-
var
|
|
402
|
-
|
|
399
|
+
function pr(o, f) {
|
|
400
|
+
if (typeof o.ref == "string" && je.current && f && je.current.stateNode !== f) {
|
|
401
|
+
var b = H(je.current.type);
|
|
402
|
+
rt[b] || (T('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', H(je.current.type), o.ref), rt[b] = !0);
|
|
403
403
|
}
|
|
404
404
|
}
|
|
405
|
-
function vr(o,
|
|
405
|
+
function vr(o, f) {
|
|
406
406
|
{
|
|
407
|
-
var
|
|
408
|
-
|
|
407
|
+
var b = function() {
|
|
408
|
+
xt || (xt = !0, T("%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)", f));
|
|
409
409
|
};
|
|
410
|
-
|
|
411
|
-
get:
|
|
410
|
+
b.isReactWarning = !0, Object.defineProperty(o, "key", {
|
|
411
|
+
get: b,
|
|
412
412
|
configurable: !0
|
|
413
413
|
});
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
|
-
function mr(o,
|
|
416
|
+
function mr(o, f) {
|
|
417
417
|
{
|
|
418
|
-
var
|
|
419
|
-
|
|
418
|
+
var b = function() {
|
|
419
|
+
Ot || (Ot = !0, T("%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)", f));
|
|
420
420
|
};
|
|
421
|
-
|
|
422
|
-
get:
|
|
421
|
+
b.isReactWarning = !0, Object.defineProperty(o, "ref", {
|
|
422
|
+
get: b,
|
|
423
423
|
configurable: !0
|
|
424
424
|
});
|
|
425
425
|
}
|
|
426
426
|
}
|
|
427
|
-
var gr = function(o,
|
|
427
|
+
var gr = function(o, f, b, L, G, Z, B) {
|
|
428
428
|
var V = {
|
|
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
432
|
type: o,
|
|
433
|
-
key:
|
|
434
|
-
ref:
|
|
433
|
+
key: f,
|
|
434
|
+
ref: b,
|
|
435
435
|
props: B,
|
|
436
436
|
// Record the component responsible for creating this element.
|
|
437
|
-
_owner:
|
|
437
|
+
_owner: Z
|
|
438
438
|
};
|
|
439
439
|
return V._store = {}, Object.defineProperty(V._store, "validated", {
|
|
440
440
|
configurable: !1,
|
|
@@ -453,41 +453,41 @@ function $r() {
|
|
|
453
453
|
value: G
|
|
454
454
|
}), Object.freeze && (Object.freeze(V.props), Object.freeze(V)), V;
|
|
455
455
|
};
|
|
456
|
-
function yr(o,
|
|
456
|
+
function yr(o, f, b, L, G) {
|
|
457
457
|
{
|
|
458
|
-
var
|
|
459
|
-
|
|
460
|
-
for (
|
|
461
|
-
|
|
458
|
+
var Z, B = {}, V = null, fe = null;
|
|
459
|
+
b !== void 0 && (ze(b), V = "" + b), hr(f) && (ze(f.key), V = "" + f.key), dr(f) && (fe = f.ref, pr(f, G));
|
|
460
|
+
for (Z in f)
|
|
461
|
+
X.call(f, Z) && !Ve.hasOwnProperty(Z) && (B[Z] = f[Z]);
|
|
462
462
|
if (o && o.defaultProps) {
|
|
463
|
-
var
|
|
464
|
-
for (
|
|
465
|
-
B[
|
|
463
|
+
var oe = o.defaultProps;
|
|
464
|
+
for (Z in oe)
|
|
465
|
+
B[Z] === void 0 && (B[Z] = oe[Z]);
|
|
466
466
|
}
|
|
467
|
-
if (V ||
|
|
468
|
-
var
|
|
469
|
-
V && vr(B,
|
|
467
|
+
if (V || fe) {
|
|
468
|
+
var se = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
|
|
469
|
+
V && vr(B, se), fe && mr(B, se);
|
|
470
470
|
}
|
|
471
|
-
return gr(o, V,
|
|
471
|
+
return gr(o, V, fe, G, L, je.current, B);
|
|
472
472
|
}
|
|
473
473
|
}
|
|
474
|
-
var
|
|
475
|
-
function
|
|
474
|
+
var nt = j.ReactCurrentOwner, Tt = j.ReactDebugCurrentFrame;
|
|
475
|
+
function ke(o) {
|
|
476
476
|
if (o) {
|
|
477
|
-
var
|
|
478
|
-
|
|
477
|
+
var f = o._owner, b = le(o.type, o._source, f ? f.type : null);
|
|
478
|
+
Tt.setExtraStackFrame(b);
|
|
479
479
|
} else
|
|
480
|
-
|
|
480
|
+
Tt.setExtraStackFrame(null);
|
|
481
481
|
}
|
|
482
|
-
var
|
|
483
|
-
|
|
484
|
-
function
|
|
482
|
+
var ot;
|
|
483
|
+
ot = !1;
|
|
484
|
+
function it(o) {
|
|
485
485
|
return typeof o == "object" && o !== null && o.$$typeof === t;
|
|
486
486
|
}
|
|
487
|
-
function
|
|
487
|
+
function Pt() {
|
|
488
488
|
{
|
|
489
|
-
if (
|
|
490
|
-
var o =
|
|
489
|
+
if (nt.current) {
|
|
490
|
+
var o = H(nt.current.type);
|
|
491
491
|
if (o)
|
|
492
492
|
return `
|
|
493
493
|
|
|
@@ -499,162 +499,162 @@ Check the render method of \`` + o + "`.";
|
|
|
499
499
|
function br(o) {
|
|
500
500
|
{
|
|
501
501
|
if (o !== void 0) {
|
|
502
|
-
var
|
|
502
|
+
var f = o.fileName.replace(/^.*[\\\/]/, ""), b = o.lineNumber;
|
|
503
503
|
return `
|
|
504
504
|
|
|
505
|
-
Check your code at ` +
|
|
505
|
+
Check your code at ` + f + ":" + b + ".";
|
|
506
506
|
}
|
|
507
507
|
return "";
|
|
508
508
|
}
|
|
509
509
|
}
|
|
510
|
-
var
|
|
510
|
+
var jt = {};
|
|
511
511
|
function Er(o) {
|
|
512
512
|
{
|
|
513
|
-
var
|
|
514
|
-
if (!
|
|
515
|
-
var
|
|
516
|
-
|
|
513
|
+
var f = Pt();
|
|
514
|
+
if (!f) {
|
|
515
|
+
var b = typeof o == "string" ? o : o.displayName || o.name;
|
|
516
|
+
b && (f = `
|
|
517
517
|
|
|
518
|
-
Check the top-level render call using <` +
|
|
518
|
+
Check the top-level render call using <` + b + ">.");
|
|
519
519
|
}
|
|
520
|
-
return
|
|
520
|
+
return f;
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
|
-
function
|
|
523
|
+
function At(o, f) {
|
|
524
524
|
{
|
|
525
525
|
if (!o._store || o._store.validated || o.key != null)
|
|
526
526
|
return;
|
|
527
527
|
o._store.validated = !0;
|
|
528
|
-
var
|
|
529
|
-
if (
|
|
528
|
+
var b = Er(f);
|
|
529
|
+
if (jt[b])
|
|
530
530
|
return;
|
|
531
|
-
|
|
531
|
+
jt[b] = !0;
|
|
532
532
|
var L = "";
|
|
533
|
-
o && o._owner && o._owner !==
|
|
533
|
+
o && o._owner && o._owner !== nt.current && (L = " It was passed a child from " + H(o._owner.type) + "."), ke(o), T('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', b, L), ke(null);
|
|
534
534
|
}
|
|
535
535
|
}
|
|
536
|
-
function
|
|
536
|
+
function Mt(o, f) {
|
|
537
537
|
{
|
|
538
538
|
if (typeof o != "object")
|
|
539
539
|
return;
|
|
540
|
-
if (
|
|
541
|
-
for (var
|
|
542
|
-
var L = o[
|
|
543
|
-
|
|
540
|
+
if (te(o))
|
|
541
|
+
for (var b = 0; b < o.length; b++) {
|
|
542
|
+
var L = o[b];
|
|
543
|
+
it(L) && At(L, f);
|
|
544
544
|
}
|
|
545
|
-
else if (
|
|
545
|
+
else if (it(o))
|
|
546
546
|
o._store && (o._store.validated = !0);
|
|
547
547
|
else if (o) {
|
|
548
548
|
var G = u(o);
|
|
549
549
|
if (typeof G == "function" && G !== o.entries)
|
|
550
|
-
for (var
|
|
551
|
-
|
|
550
|
+
for (var Z = G.call(o), B; !(B = Z.next()).done; )
|
|
551
|
+
it(B.value) && At(B.value, f);
|
|
552
552
|
}
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
555
|
function wr(o) {
|
|
556
556
|
{
|
|
557
|
-
var
|
|
558
|
-
if (
|
|
557
|
+
var f = o.type;
|
|
558
|
+
if (f == null || typeof f == "string")
|
|
559
559
|
return;
|
|
560
|
-
var
|
|
561
|
-
if (typeof
|
|
562
|
-
|
|
563
|
-
else if (typeof
|
|
560
|
+
var b;
|
|
561
|
+
if (typeof f == "function")
|
|
562
|
+
b = f.propTypes;
|
|
563
|
+
else if (typeof f == "object" && (f.$$typeof === l || // Note: Memo only checks outer props here.
|
|
564
564
|
// Inner props are checked in the reconciler.
|
|
565
|
-
|
|
566
|
-
|
|
565
|
+
f.$$typeof === v))
|
|
566
|
+
b = f.propTypes;
|
|
567
567
|
else
|
|
568
568
|
return;
|
|
569
|
-
if (
|
|
570
|
-
var L =
|
|
571
|
-
|
|
572
|
-
} else if (
|
|
573
|
-
|
|
574
|
-
var G =
|
|
575
|
-
|
|
569
|
+
if (b) {
|
|
570
|
+
var L = H(f);
|
|
571
|
+
we(b, o.props, "prop", L, o);
|
|
572
|
+
} else if (f.PropTypes !== void 0 && !ot) {
|
|
573
|
+
ot = !0;
|
|
574
|
+
var G = H(f);
|
|
575
|
+
T("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", G || "Unknown");
|
|
576
576
|
}
|
|
577
|
-
typeof
|
|
577
|
+
typeof f.getDefaultProps == "function" && !f.getDefaultProps.isReactClassApproved && T("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
578
578
|
}
|
|
579
579
|
}
|
|
580
580
|
function _r(o) {
|
|
581
581
|
{
|
|
582
|
-
for (var
|
|
583
|
-
var L =
|
|
582
|
+
for (var f = Object.keys(o.props), b = 0; b < f.length; b++) {
|
|
583
|
+
var L = f[b];
|
|
584
584
|
if (L !== "children" && L !== "key") {
|
|
585
|
-
|
|
585
|
+
ke(o), T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", L), ke(null);
|
|
586
586
|
break;
|
|
587
587
|
}
|
|
588
588
|
}
|
|
589
|
-
o.ref !== null && (
|
|
589
|
+
o.ref !== null && (ke(o), T("Invalid attribute `ref` supplied to `React.Fragment`."), ke(null));
|
|
590
590
|
}
|
|
591
591
|
}
|
|
592
|
-
var
|
|
593
|
-
function
|
|
592
|
+
var zt = {};
|
|
593
|
+
function It(o, f, b, L, G, Z) {
|
|
594
594
|
{
|
|
595
595
|
var B = M(o);
|
|
596
596
|
if (!B) {
|
|
597
597
|
var V = "";
|
|
598
598
|
(o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (V += " 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
|
-
var
|
|
600
|
-
|
|
601
|
-
var
|
|
602
|
-
o === null ?
|
|
599
|
+
var fe = br(G);
|
|
600
|
+
fe ? V += fe : V += Pt();
|
|
601
|
+
var oe;
|
|
602
|
+
o === null ? oe = "null" : te(o) ? oe = "array" : o !== void 0 && o.$$typeof === t ? (oe = "<" + (H(o.type) || "Unknown") + " />", V = " Did you accidentally export a JSX literal instead of a component?") : oe = typeof o, T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", oe, V);
|
|
603
603
|
}
|
|
604
|
-
var
|
|
605
|
-
if (
|
|
606
|
-
return
|
|
604
|
+
var se = yr(o, f, b, G, Z);
|
|
605
|
+
if (se == null)
|
|
606
|
+
return se;
|
|
607
607
|
if (B) {
|
|
608
|
-
var
|
|
609
|
-
if (
|
|
608
|
+
var Ee = f.children;
|
|
609
|
+
if (Ee !== void 0)
|
|
610
610
|
if (L)
|
|
611
|
-
if (
|
|
612
|
-
for (var
|
|
613
|
-
|
|
614
|
-
Object.freeze && Object.freeze(
|
|
611
|
+
if (te(Ee)) {
|
|
612
|
+
for (var De = 0; De < Ee.length; De++)
|
|
613
|
+
Mt(Ee[De], o);
|
|
614
|
+
Object.freeze && Object.freeze(Ee);
|
|
615
615
|
} else
|
|
616
|
-
|
|
616
|
+
T("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
|
-
|
|
618
|
+
Mt(Ee, o);
|
|
619
619
|
}
|
|
620
|
-
if (
|
|
621
|
-
var
|
|
620
|
+
if (X.call(f, "key")) {
|
|
621
|
+
var Ie = H(o), he = Object.keys(f).filter(function(Tr) {
|
|
622
622
|
return Tr !== "key";
|
|
623
|
-
}),
|
|
624
|
-
if (!
|
|
625
|
-
var Or =
|
|
626
|
-
|
|
623
|
+
}), st = he.length > 0 ? "{key: someKey, " + he.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
624
|
+
if (!zt[Ie + st]) {
|
|
625
|
+
var Or = he.length > 0 ? "{" + he.join(": ..., ") + ": ...}" : "{}";
|
|
626
|
+
T(`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} />`, st, Ie, Or, Ie), zt[Ie + st] = !0;
|
|
632
632
|
}
|
|
633
633
|
}
|
|
634
|
-
return o === n ? _r(
|
|
634
|
+
return o === n ? _r(se) : wr(se), se;
|
|
635
635
|
}
|
|
636
636
|
}
|
|
637
|
-
function Rr(o,
|
|
638
|
-
return
|
|
637
|
+
function Rr(o, f, b) {
|
|
638
|
+
return It(o, f, b, !0);
|
|
639
639
|
}
|
|
640
|
-
function Sr(o,
|
|
641
|
-
return
|
|
640
|
+
function Sr(o, f, b) {
|
|
641
|
+
return It(o, f, b, !1);
|
|
642
642
|
}
|
|
643
643
|
var Cr = Sr, xr = Rr;
|
|
644
|
-
|
|
645
|
-
}()),
|
|
644
|
+
Be.Fragment = n, Be.jsx = Cr, Be.jsxs = xr;
|
|
645
|
+
}()), Be;
|
|
646
646
|
}
|
|
647
|
-
process.env.NODE_ENV === "production" ?
|
|
648
|
-
var Q =
|
|
649
|
-
function
|
|
650
|
-
return
|
|
647
|
+
process.env.NODE_ENV === "production" ? pt.exports = Ir() : pt.exports = Lr();
|
|
648
|
+
var Q = pt.exports;
|
|
649
|
+
function vt() {
|
|
650
|
+
return vt = Object.assign ? Object.assign.bind() : function(e) {
|
|
651
651
|
for (var t = 1; t < arguments.length; t++) {
|
|
652
652
|
var r = arguments[t];
|
|
653
653
|
for (var n in r)
|
|
654
654
|
({}).hasOwnProperty.call(r, n) && (e[n] = r[n]);
|
|
655
655
|
}
|
|
656
656
|
return e;
|
|
657
|
-
},
|
|
657
|
+
}, vt.apply(null, arguments);
|
|
658
658
|
}
|
|
659
659
|
function Re(e) {
|
|
660
660
|
"@babel/helpers - typeof";
|
|
@@ -664,23 +664,23 @@ function Re(e) {
|
|
|
664
664
|
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
665
665
|
}, Re(e);
|
|
666
666
|
}
|
|
667
|
-
var
|
|
668
|
-
function
|
|
667
|
+
var $r = Symbol.for("react.element"), kr = Symbol.for("react.transitional.element"), Dr = Symbol.for("react.fragment");
|
|
668
|
+
function Zt(e) {
|
|
669
669
|
return (
|
|
670
670
|
// Base object type
|
|
671
671
|
e && Re(e) === "object" && // React Element type
|
|
672
|
-
(e.$$typeof ===
|
|
672
|
+
(e.$$typeof === $r || e.$$typeof === kr) && // React Fragment type
|
|
673
673
|
e.type === Dr
|
|
674
674
|
);
|
|
675
675
|
}
|
|
676
|
-
function
|
|
676
|
+
function mt(e) {
|
|
677
677
|
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = [];
|
|
678
|
-
return
|
|
679
|
-
n == null && !t.keepEmpty || (Array.isArray(n) ? r = r.concat(
|
|
678
|
+
return Ge.Children.forEach(e, function(n) {
|
|
679
|
+
n == null && !t.keepEmpty || (Array.isArray(n) ? r = r.concat(mt(n)) : Zt(n) && n.props ? r = r.concat(mt(n.props.children, t)) : r.push(n));
|
|
680
680
|
}), r;
|
|
681
681
|
}
|
|
682
682
|
var Fr = [];
|
|
683
|
-
function
|
|
683
|
+
function Ft(e, t) {
|
|
684
684
|
if (process.env.NODE_ENV !== "production" && !e && console !== void 0)
|
|
685
685
|
var r = Fr.reduce(function(n, i) {
|
|
686
686
|
return i(n ?? "", "warning");
|
|
@@ -698,19 +698,19 @@ function Nr(e, t) {
|
|
|
698
698
|
}
|
|
699
699
|
return (t === "string" ? String : Number)(e);
|
|
700
700
|
}
|
|
701
|
-
function
|
|
701
|
+
function Qt(e) {
|
|
702
702
|
var t = Nr(e, "string");
|
|
703
703
|
return Re(t) == "symbol" ? t : t + "";
|
|
704
704
|
}
|
|
705
705
|
function Wr(e, t, r) {
|
|
706
|
-
return (t =
|
|
706
|
+
return (t = Qt(t)) in e ? Object.defineProperty(e, t, {
|
|
707
707
|
value: r,
|
|
708
708
|
enumerable: !0,
|
|
709
709
|
configurable: !0,
|
|
710
710
|
writable: !0
|
|
711
711
|
}) : e[t] = r, e;
|
|
712
712
|
}
|
|
713
|
-
function
|
|
713
|
+
function Nt(e, t) {
|
|
714
714
|
var r = Object.keys(e);
|
|
715
715
|
if (Object.getOwnPropertySymbols) {
|
|
716
716
|
var n = Object.getOwnPropertySymbols(e);
|
|
@@ -720,34 +720,34 @@ function Ft(e, t) {
|
|
|
720
720
|
}
|
|
721
721
|
return r;
|
|
722
722
|
}
|
|
723
|
-
function
|
|
723
|
+
function Wt(e) {
|
|
724
724
|
for (var t = 1; t < arguments.length; t++) {
|
|
725
725
|
var r = arguments[t] != null ? arguments[t] : {};
|
|
726
|
-
t % 2 ?
|
|
726
|
+
t % 2 ? Nt(Object(r), !0).forEach(function(n) {
|
|
727
727
|
Wr(e, n, r[n]);
|
|
728
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) :
|
|
728
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Nt(Object(r)).forEach(function(n) {
|
|
729
729
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
|
|
730
730
|
});
|
|
731
731
|
}
|
|
732
732
|
return e;
|
|
733
733
|
}
|
|
734
|
-
function
|
|
734
|
+
function Vt(e) {
|
|
735
735
|
return e instanceof HTMLElement || e instanceof SVGElement;
|
|
736
736
|
}
|
|
737
737
|
function Vr(e) {
|
|
738
|
-
return e && Re(e) === "object" &&
|
|
738
|
+
return e && Re(e) === "object" && Vt(e.nativeElement) ? e.nativeElement : Vt(e) ? e : null;
|
|
739
739
|
}
|
|
740
|
-
function
|
|
740
|
+
function at(e) {
|
|
741
741
|
var t = Vr(e);
|
|
742
742
|
if (t)
|
|
743
743
|
return t;
|
|
744
|
-
if (e instanceof
|
|
744
|
+
if (e instanceof Ge.Component) {
|
|
745
745
|
var r;
|
|
746
746
|
return (r = $t.findDOMNode) === null || r === void 0 ? void 0 : r.call($t, e);
|
|
747
747
|
}
|
|
748
748
|
return null;
|
|
749
749
|
}
|
|
750
|
-
var
|
|
750
|
+
var gt = { exports: {} }, U = {};
|
|
751
751
|
/**
|
|
752
752
|
* @license React
|
|
753
753
|
* react-is.production.min.js
|
|
@@ -757,14 +757,14 @@ var mt = { exports: {} }, U = {};
|
|
|
757
757
|
* This source code is licensed under the MIT license found in the
|
|
758
758
|
* LICENSE file in the root directory of this source tree.
|
|
759
759
|
*/
|
|
760
|
-
var
|
|
760
|
+
var Ht;
|
|
761
761
|
function Hr() {
|
|
762
|
-
if (
|
|
762
|
+
if (Ht)
|
|
763
763
|
return U;
|
|
764
|
-
|
|
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"),
|
|
764
|
+
Ht = 1;
|
|
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"), d = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), z = Symbol.for("react.offscreen"), A;
|
|
766
766
|
A = Symbol.for("react.module.reference");
|
|
767
|
-
function
|
|
767
|
+
function S(u) {
|
|
768
768
|
if (typeof u == "object" && u !== null) {
|
|
769
769
|
var j = u.$$typeof;
|
|
770
770
|
switch (j) {
|
|
@@ -774,15 +774,15 @@ function Hr() {
|
|
|
774
774
|
case i:
|
|
775
775
|
case n:
|
|
776
776
|
case c:
|
|
777
|
-
case
|
|
777
|
+
case h:
|
|
778
778
|
return u;
|
|
779
779
|
default:
|
|
780
780
|
switch (u = u && u.$$typeof, u) {
|
|
781
|
-
case
|
|
781
|
+
case d:
|
|
782
782
|
case a:
|
|
783
783
|
case l:
|
|
784
|
-
case b:
|
|
785
784
|
case E:
|
|
785
|
+
case v:
|
|
786
786
|
case s:
|
|
787
787
|
return u;
|
|
788
788
|
default:
|
|
@@ -794,37 +794,37 @@ function Hr() {
|
|
|
794
794
|
}
|
|
795
795
|
}
|
|
796
796
|
}
|
|
797
|
-
return U.ContextConsumer = a, U.ContextProvider = s, U.Element = e, U.ForwardRef = l, U.Fragment = r, U.Lazy =
|
|
797
|
+
return U.ContextConsumer = a, U.ContextProvider = s, U.Element = e, U.ForwardRef = l, U.Fragment = r, U.Lazy = E, U.Memo = v, U.Portal = t, U.Profiler = i, U.StrictMode = n, U.Suspense = c, U.SuspenseList = h, U.isAsyncMode = function() {
|
|
798
798
|
return !1;
|
|
799
799
|
}, U.isConcurrentMode = function() {
|
|
800
800
|
return !1;
|
|
801
801
|
}, U.isContextConsumer = function(u) {
|
|
802
|
-
return
|
|
802
|
+
return S(u) === a;
|
|
803
803
|
}, U.isContextProvider = function(u) {
|
|
804
|
-
return
|
|
804
|
+
return S(u) === s;
|
|
805
805
|
}, U.isElement = function(u) {
|
|
806
806
|
return typeof u == "object" && u !== null && u.$$typeof === e;
|
|
807
807
|
}, U.isForwardRef = function(u) {
|
|
808
|
-
return
|
|
808
|
+
return S(u) === l;
|
|
809
809
|
}, U.isFragment = function(u) {
|
|
810
|
-
return
|
|
810
|
+
return S(u) === r;
|
|
811
811
|
}, U.isLazy = function(u) {
|
|
812
|
-
return
|
|
812
|
+
return S(u) === E;
|
|
813
813
|
}, U.isMemo = function(u) {
|
|
814
|
-
return
|
|
814
|
+
return S(u) === v;
|
|
815
815
|
}, U.isPortal = function(u) {
|
|
816
|
-
return
|
|
816
|
+
return S(u) === t;
|
|
817
817
|
}, U.isProfiler = function(u) {
|
|
818
|
-
return
|
|
818
|
+
return S(u) === i;
|
|
819
819
|
}, U.isStrictMode = function(u) {
|
|
820
|
-
return
|
|
820
|
+
return S(u) === n;
|
|
821
821
|
}, U.isSuspense = function(u) {
|
|
822
|
-
return
|
|
822
|
+
return S(u) === c;
|
|
823
823
|
}, U.isSuspenseList = function(u) {
|
|
824
|
-
return
|
|
824
|
+
return S(u) === h;
|
|
825
825
|
}, U.isValidElementType = function(u) {
|
|
826
|
-
return typeof u == "string" || typeof u == "function" || u === r || u === i || u === n || u === c || u ===
|
|
827
|
-
}, U.typeOf =
|
|
826
|
+
return typeof u == "string" || typeof u == "function" || u === r || u === i || u === n || u === c || u === h || u === z || typeof u == "object" && u !== null && (u.$$typeof === E || u.$$typeof === v || u.$$typeof === s || u.$$typeof === a || u.$$typeof === l || u.$$typeof === A || u.getModuleId !== void 0);
|
|
827
|
+
}, U.typeOf = S, U;
|
|
828
828
|
}
|
|
829
829
|
var q = {};
|
|
830
830
|
/**
|
|
@@ -836,100 +836,100 @@ var q = {};
|
|
|
836
836
|
* This source code is licensed under the MIT license found in the
|
|
837
837
|
* LICENSE file in the root directory of this source tree.
|
|
838
838
|
*/
|
|
839
|
-
var
|
|
839
|
+
var Bt;
|
|
840
840
|
function Br() {
|
|
841
|
-
return
|
|
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"),
|
|
841
|
+
return Bt || (Bt = 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"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), a = Symbol.for("react.context"), d = Symbol.for("react.server_context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), z = Symbol.for("react.offscreen"), A = !1, S = !1, u = !1, j = !1, T = !1, J;
|
|
843
843
|
J = Symbol.for("react.module.reference");
|
|
844
|
-
function
|
|
845
|
-
return !!(typeof
|
|
844
|
+
function I(y) {
|
|
845
|
+
return !!(typeof y == "string" || typeof y == "function" || y === r || y === i || T || y === n || y === c || y === h || j || y === z || A || S || u || typeof y == "object" && y !== null && (y.$$typeof === E || y.$$typeof === v || y.$$typeof === s || y.$$typeof === a || y.$$typeof === l || // 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.
|
|
849
|
-
|
|
849
|
+
y.$$typeof === J || y.getModuleId !== void 0));
|
|
850
850
|
}
|
|
851
|
-
function N(
|
|
852
|
-
if (typeof
|
|
853
|
-
var
|
|
854
|
-
switch (
|
|
851
|
+
function N(y) {
|
|
852
|
+
if (typeof y == "object" && y !== null) {
|
|
853
|
+
var le = y.$$typeof;
|
|
854
|
+
switch (le) {
|
|
855
855
|
case e:
|
|
856
|
-
var
|
|
857
|
-
switch (
|
|
856
|
+
var X = y.type;
|
|
857
|
+
switch (X) {
|
|
858
858
|
case r:
|
|
859
859
|
case i:
|
|
860
860
|
case n:
|
|
861
861
|
case c:
|
|
862
|
-
case
|
|
863
|
-
return
|
|
862
|
+
case h:
|
|
863
|
+
return X;
|
|
864
864
|
default:
|
|
865
|
-
var
|
|
866
|
-
switch (
|
|
867
|
-
case
|
|
865
|
+
var ae = X && X.$$typeof;
|
|
866
|
+
switch (ae) {
|
|
867
|
+
case d:
|
|
868
868
|
case a:
|
|
869
869
|
case l:
|
|
870
|
-
case b:
|
|
871
870
|
case E:
|
|
871
|
+
case v:
|
|
872
872
|
case s:
|
|
873
|
-
return
|
|
873
|
+
return ae;
|
|
874
874
|
default:
|
|
875
|
-
return
|
|
875
|
+
return le;
|
|
876
876
|
}
|
|
877
877
|
}
|
|
878
878
|
case t:
|
|
879
|
-
return
|
|
879
|
+
return le;
|
|
880
880
|
}
|
|
881
881
|
}
|
|
882
882
|
}
|
|
883
|
-
var
|
|
884
|
-
function
|
|
883
|
+
var $ = a, k = s, p = e, F = l, M = r, W = E, Y = v, H = t, ee = i, de = n, be = c, Se = h, _e = !1, pe = !1;
|
|
884
|
+
function Oe(y) {
|
|
885
885
|
return _e || (_e = !0), !1;
|
|
886
886
|
}
|
|
887
|
-
function
|
|
888
|
-
return
|
|
887
|
+
function Te(y) {
|
|
888
|
+
return pe || (pe = !0), !1;
|
|
889
889
|
}
|
|
890
|
-
function
|
|
891
|
-
return N(
|
|
890
|
+
function g(y) {
|
|
891
|
+
return N(y) === a;
|
|
892
892
|
}
|
|
893
|
-
function w(
|
|
894
|
-
return N(
|
|
893
|
+
function w(y) {
|
|
894
|
+
return N(y) === s;
|
|
895
895
|
}
|
|
896
|
-
function
|
|
897
|
-
return typeof
|
|
896
|
+
function _(y) {
|
|
897
|
+
return typeof y == "object" && y !== null && y.$$typeof === e;
|
|
898
898
|
}
|
|
899
|
-
function
|
|
900
|
-
return N(
|
|
899
|
+
function R(y) {
|
|
900
|
+
return N(y) === l;
|
|
901
901
|
}
|
|
902
|
-
function
|
|
903
|
-
return N(
|
|
902
|
+
function m(y) {
|
|
903
|
+
return N(y) === r;
|
|
904
904
|
}
|
|
905
|
-
function
|
|
906
|
-
return N(
|
|
905
|
+
function O(y) {
|
|
906
|
+
return N(y) === E;
|
|
907
907
|
}
|
|
908
|
-
function
|
|
909
|
-
return N(
|
|
908
|
+
function x(y) {
|
|
909
|
+
return N(y) === v;
|
|
910
910
|
}
|
|
911
|
-
function
|
|
912
|
-
return N(
|
|
911
|
+
function P(y) {
|
|
912
|
+
return N(y) === t;
|
|
913
913
|
}
|
|
914
|
-
function
|
|
915
|
-
return N(
|
|
914
|
+
function C(y) {
|
|
915
|
+
return N(y) === i;
|
|
916
916
|
}
|
|
917
|
-
function
|
|
918
|
-
return N(
|
|
917
|
+
function D(y) {
|
|
918
|
+
return N(y) === n;
|
|
919
919
|
}
|
|
920
|
-
function
|
|
921
|
-
return N(
|
|
920
|
+
function K(y) {
|
|
921
|
+
return N(y) === c;
|
|
922
922
|
}
|
|
923
|
-
function
|
|
924
|
-
return N(
|
|
923
|
+
function ne(y) {
|
|
924
|
+
return N(y) === h;
|
|
925
925
|
}
|
|
926
|
-
q.ContextConsumer =
|
|
926
|
+
q.ContextConsumer = $, q.ContextProvider = k, q.Element = p, q.ForwardRef = F, q.Fragment = M, q.Lazy = W, q.Memo = Y, q.Portal = H, q.Profiler = ee, q.StrictMode = de, q.Suspense = be, q.SuspenseList = Se, q.isAsyncMode = Oe, q.isConcurrentMode = Te, q.isContextConsumer = g, q.isContextProvider = w, q.isElement = _, q.isForwardRef = R, q.isFragment = m, q.isLazy = O, q.isMemo = x, q.isPortal = P, q.isProfiler = C, q.isStrictMode = D, q.isSuspense = K, q.isSuspenseList = ne, q.isValidElementType = I, q.typeOf = N;
|
|
927
927
|
}()), q;
|
|
928
928
|
}
|
|
929
|
-
process.env.NODE_ENV === "production" ?
|
|
930
|
-
var
|
|
929
|
+
process.env.NODE_ENV === "production" ? gt.exports = Hr() : gt.exports = Br();
|
|
930
|
+
var lt = gt.exports;
|
|
931
931
|
function Yr(e, t, r) {
|
|
932
|
-
var n =
|
|
932
|
+
var n = re.useRef({});
|
|
933
933
|
return (!("value" in n.current) || r(n.current.condition, t)) && (n.current.value = e(), n.current.condition = t), n.current.value;
|
|
934
934
|
}
|
|
935
935
|
var Kr = Number(Pr.split(".")[0]), Gr = function(t, r) {
|
|
@@ -949,46 +949,46 @@ var Kr = Number(Pr.split(".")[0]), Gr = function(t, r) {
|
|
|
949
949
|
return Yr(function() {
|
|
950
950
|
return Ur.apply(void 0, r);
|
|
951
951
|
}, r, function(i, s) {
|
|
952
|
-
return i.length !== s.length || i.every(function(a,
|
|
953
|
-
return a !== s[
|
|
952
|
+
return i.length !== s.length || i.every(function(a, d) {
|
|
953
|
+
return a !== s[d];
|
|
954
954
|
});
|
|
955
955
|
});
|
|
956
956
|
}, Jr = function(t) {
|
|
957
957
|
var r, n;
|
|
958
958
|
if (!t)
|
|
959
959
|
return !1;
|
|
960
|
-
if (
|
|
960
|
+
if (er(t) && Kr >= 19)
|
|
961
961
|
return !0;
|
|
962
|
-
var i =
|
|
963
|
-
return !(typeof i == "function" && !((r = i.prototype) !== null && r !== void 0 && r.render) && i.$$typeof !==
|
|
962
|
+
var i = lt.isMemo(t) ? t.type.type : t.type;
|
|
963
|
+
return !(typeof i == "function" && !((r = i.prototype) !== null && r !== void 0 && r.render) && i.$$typeof !== lt.ForwardRef || typeof t == "function" && !((n = t.prototype) !== null && n !== void 0 && n.render) && t.$$typeof !== lt.ForwardRef);
|
|
964
964
|
};
|
|
965
|
-
function
|
|
966
|
-
return /* @__PURE__ */ jr(e) && !
|
|
965
|
+
function er(e) {
|
|
966
|
+
return /* @__PURE__ */ jr(e) && !Zt(e);
|
|
967
967
|
}
|
|
968
968
|
var Xr = function(t) {
|
|
969
|
-
if (t &&
|
|
969
|
+
if (t && er(t)) {
|
|
970
970
|
var r = t;
|
|
971
971
|
return r.props.propertyIsEnumerable("ref") ? r.props.ref : r.ref;
|
|
972
972
|
}
|
|
973
973
|
return null;
|
|
974
|
-
},
|
|
974
|
+
}, yt = /* @__PURE__ */ re.createContext(null);
|
|
975
975
|
function Zr(e) {
|
|
976
|
-
var t = e.children, r = e.onBatchResize, n =
|
|
976
|
+
var t = e.children, r = e.onBatchResize, n = re.useRef(0), i = re.useRef([]), s = re.useContext(yt), a = re.useCallback(function(d, l, c) {
|
|
977
977
|
n.current += 1;
|
|
978
|
-
var
|
|
978
|
+
var h = n.current;
|
|
979
979
|
i.current.push({
|
|
980
|
-
size:
|
|
980
|
+
size: d,
|
|
981
981
|
element: l,
|
|
982
982
|
data: c
|
|
983
983
|
}), Promise.resolve().then(function() {
|
|
984
|
-
|
|
985
|
-
}), s == null || s(
|
|
984
|
+
h === n.current && (r == null || r(i.current), i.current = []);
|
|
985
|
+
}), s == null || s(d, l, c);
|
|
986
986
|
}, [r, s]);
|
|
987
|
-
return /* @__PURE__ */
|
|
987
|
+
return /* @__PURE__ */ re.createElement(yt.Provider, {
|
|
988
988
|
value: a
|
|
989
989
|
}, t);
|
|
990
990
|
}
|
|
991
|
-
var
|
|
991
|
+
var tr = function() {
|
|
992
992
|
if (typeof Map < "u")
|
|
993
993
|
return Map;
|
|
994
994
|
function e(t, r) {
|
|
@@ -1034,10 +1034,10 @@ var er = function() {
|
|
|
1034
1034
|
}, t;
|
|
1035
1035
|
}()
|
|
1036
1036
|
);
|
|
1037
|
-
}(),
|
|
1037
|
+
}(), bt = typeof window < "u" && typeof document < "u" && window.document === document, qe = function() {
|
|
1038
1038
|
return typeof global < "u" && global.Math === Math ? global : typeof self < "u" && self.Math === Math ? self : typeof window < "u" && window.Math === Math ? window : Function("return this")();
|
|
1039
1039
|
}(), Qr = function() {
|
|
1040
|
-
return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(
|
|
1040
|
+
return typeof requestAnimationFrame == "function" ? requestAnimationFrame.bind(qe) : function(e) {
|
|
1041
1041
|
return setTimeout(function() {
|
|
1042
1042
|
return e(Date.now());
|
|
1043
1043
|
}, 1e3 / 60);
|
|
@@ -1046,12 +1046,12 @@ var er = function() {
|
|
|
1046
1046
|
function tn(e, t) {
|
|
1047
1047
|
var r = !1, n = !1, i = 0;
|
|
1048
1048
|
function s() {
|
|
1049
|
-
r && (r = !1, e()), n &&
|
|
1049
|
+
r && (r = !1, e()), n && d();
|
|
1050
1050
|
}
|
|
1051
1051
|
function a() {
|
|
1052
1052
|
Qr(s);
|
|
1053
1053
|
}
|
|
1054
|
-
function
|
|
1054
|
+
function d() {
|
|
1055
1055
|
var l = Date.now();
|
|
1056
1056
|
if (r) {
|
|
1057
1057
|
if (l - i < en)
|
|
@@ -1061,7 +1061,7 @@ function tn(e, t) {
|
|
|
1061
1061
|
r = !0, n = !1, setTimeout(a, t);
|
|
1062
1062
|
i = l;
|
|
1063
1063
|
}
|
|
1064
|
-
return
|
|
1064
|
+
return d;
|
|
1065
1065
|
}
|
|
1066
1066
|
var rn = 20, nn = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], on = typeof MutationObserver < "u", sn = (
|
|
1067
1067
|
/** @class */
|
|
@@ -1085,14 +1085,14 @@ var rn = 20, nn = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
1085
1085
|
return r.broadcastActive();
|
|
1086
1086
|
}), t.length > 0;
|
|
1087
1087
|
}, e.prototype.connect_ = function() {
|
|
1088
|
-
!
|
|
1088
|
+
!bt || this.connected_ || (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), on ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, {
|
|
1089
1089
|
attributes: !0,
|
|
1090
1090
|
childList: !0,
|
|
1091
1091
|
characterData: !0,
|
|
1092
1092
|
subtree: !0
|
|
1093
1093
|
})) : (document.addEventListener("DOMSubtreeModified", this.refresh), this.mutationEventsAdded_ = !0), this.connected_ = !0);
|
|
1094
1094
|
}, e.prototype.disconnect_ = function() {
|
|
1095
|
-
!
|
|
1095
|
+
!bt || !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
1097
|
var r = t.propertyName, n = r === void 0 ? "" : r, i = nn.some(function(s) {
|
|
1098
1098
|
return !!~n.indexOf(s);
|
|
@@ -1102,7 +1102,7 @@ var rn = 20, nn = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
1102
1102
|
return this.instance_ || (this.instance_ = new e()), this.instance_;
|
|
1103
1103
|
}, e.instance_ = null, e;
|
|
1104
1104
|
}()
|
|
1105
|
-
),
|
|
1105
|
+
), rr = function(e, t) {
|
|
1106
1106
|
for (var r = 0, n = Object.keys(t); r < n.length; r++) {
|
|
1107
1107
|
var i = n[r];
|
|
1108
1108
|
Object.defineProperty(e, i, {
|
|
@@ -1113,59 +1113,59 @@ var rn = 20, nn = ["top", "right", "bottom", "left", "width", "height", "size",
|
|
|
1113
1113
|
});
|
|
1114
1114
|
}
|
|
1115
1115
|
return e;
|
|
1116
|
-
},
|
|
1116
|
+
}, Ne = function(e) {
|
|
1117
1117
|
var t = e && e.ownerDocument && e.ownerDocument.defaultView;
|
|
1118
|
-
return t ||
|
|
1119
|
-
},
|
|
1120
|
-
function
|
|
1118
|
+
return t || qe;
|
|
1119
|
+
}, nr = tt(0, 0, 0, 0);
|
|
1120
|
+
function Je(e) {
|
|
1121
1121
|
return parseFloat(e) || 0;
|
|
1122
1122
|
}
|
|
1123
|
-
function
|
|
1123
|
+
function Yt(e) {
|
|
1124
1124
|
for (var t = [], r = 1; r < arguments.length; r++)
|
|
1125
1125
|
t[r - 1] = arguments[r];
|
|
1126
1126
|
return t.reduce(function(n, i) {
|
|
1127
1127
|
var s = e["border-" + i + "-width"];
|
|
1128
|
-
return n +
|
|
1128
|
+
return n + Je(s);
|
|
1129
1129
|
}, 0);
|
|
1130
1130
|
}
|
|
1131
1131
|
function an(e) {
|
|
1132
1132
|
for (var t = ["top", "right", "bottom", "left"], r = {}, n = 0, i = t; n < i.length; n++) {
|
|
1133
1133
|
var s = i[n], a = e["padding-" + s];
|
|
1134
|
-
r[s] =
|
|
1134
|
+
r[s] = Je(a);
|
|
1135
1135
|
}
|
|
1136
1136
|
return r;
|
|
1137
1137
|
}
|
|
1138
1138
|
function ln(e) {
|
|
1139
1139
|
var t = e.getBBox();
|
|
1140
|
-
return
|
|
1140
|
+
return tt(0, 0, t.width, t.height);
|
|
1141
1141
|
}
|
|
1142
1142
|
function cn(e) {
|
|
1143
1143
|
var t = e.clientWidth, r = e.clientHeight;
|
|
1144
1144
|
if (!t && !r)
|
|
1145
|
-
return
|
|
1146
|
-
var n =
|
|
1147
|
-
if (n.boxSizing === "border-box" && (Math.round(
|
|
1148
|
-
var c = Math.round(
|
|
1149
|
-
Math.abs(c) !== 1 && (
|
|
1145
|
+
return nr;
|
|
1146
|
+
var n = Ne(e).getComputedStyle(e), i = an(n), s = i.left + i.right, a = i.top + i.bottom, d = Je(n.width), l = Je(n.height);
|
|
1147
|
+
if (n.boxSizing === "border-box" && (Math.round(d + s) !== t && (d -= Yt(n, "left", "right") + s), Math.round(l + a) !== r && (l -= Yt(n, "top", "bottom") + a)), !fn(e)) {
|
|
1148
|
+
var c = Math.round(d + s) - t, h = Math.round(l + a) - r;
|
|
1149
|
+
Math.abs(c) !== 1 && (d -= c), Math.abs(h) !== 1 && (l -= h);
|
|
1150
1150
|
}
|
|
1151
|
-
return
|
|
1151
|
+
return tt(i.left, i.top, d, l);
|
|
1152
1152
|
}
|
|
1153
1153
|
var un = function() {
|
|
1154
1154
|
return typeof SVGGraphicsElement < "u" ? function(e) {
|
|
1155
|
-
return e instanceof
|
|
1155
|
+
return e instanceof Ne(e).SVGGraphicsElement;
|
|
1156
1156
|
} : function(e) {
|
|
1157
|
-
return e instanceof
|
|
1157
|
+
return e instanceof Ne(e).SVGElement && typeof e.getBBox == "function";
|
|
1158
1158
|
};
|
|
1159
1159
|
}();
|
|
1160
1160
|
function fn(e) {
|
|
1161
|
-
return e ===
|
|
1161
|
+
return e === Ne(e).document.documentElement;
|
|
1162
1162
|
}
|
|
1163
1163
|
function dn(e) {
|
|
1164
|
-
return
|
|
1164
|
+
return bt ? un(e) ? ln(e) : cn(e) : nr;
|
|
1165
1165
|
}
|
|
1166
1166
|
function hn(e) {
|
|
1167
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
|
-
return
|
|
1168
|
+
return rr(a, {
|
|
1169
1169
|
x: t,
|
|
1170
1170
|
y: r,
|
|
1171
1171
|
width: n,
|
|
@@ -1176,14 +1176,14 @@ function hn(e) {
|
|
|
1176
1176
|
left: t
|
|
1177
1177
|
}), a;
|
|
1178
1178
|
}
|
|
1179
|
-
function
|
|
1179
|
+
function tt(e, t, r, n) {
|
|
1180
1180
|
return { x: e, y: t, width: r, height: n };
|
|
1181
1181
|
}
|
|
1182
1182
|
var pn = (
|
|
1183
1183
|
/** @class */
|
|
1184
1184
|
function() {
|
|
1185
1185
|
function e(t) {
|
|
1186
|
-
this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ =
|
|
1186
|
+
this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = tt(0, 0, 0, 0), this.target = t;
|
|
1187
1187
|
}
|
|
1188
1188
|
return e.prototype.isActive = function() {
|
|
1189
1189
|
var t = dn(this.target);
|
|
@@ -1198,7 +1198,7 @@ var pn = (
|
|
|
1198
1198
|
function() {
|
|
1199
1199
|
function e(t, r) {
|
|
1200
1200
|
var n = hn(r);
|
|
1201
|
-
|
|
1201
|
+
rr(this, { target: t, contentRect: n });
|
|
1202
1202
|
}
|
|
1203
1203
|
return e;
|
|
1204
1204
|
}()
|
|
@@ -1206,7 +1206,7 @@ var pn = (
|
|
|
1206
1206
|
/** @class */
|
|
1207
1207
|
function() {
|
|
1208
1208
|
function e(t, r, n) {
|
|
1209
|
-
if (this.activeObservations_ = [], this.observations_ = new
|
|
1209
|
+
if (this.activeObservations_ = [], this.observations_ = new tr(), typeof t != "function")
|
|
1210
1210
|
throw new TypeError("The callback provided as parameter 1 is not a function.");
|
|
1211
1211
|
this.callback_ = t, this.controller_ = r, this.callbackCtx_ = n;
|
|
1212
1212
|
}
|
|
@@ -1214,7 +1214,7 @@ var pn = (
|
|
|
1214
1214
|
if (!arguments.length)
|
|
1215
1215
|
throw new TypeError("1 argument required, but only 0 present.");
|
|
1216
1216
|
if (!(typeof Element > "u" || !(Element instanceof Object))) {
|
|
1217
|
-
if (!(t instanceof
|
|
1217
|
+
if (!(t instanceof Ne(t).Element))
|
|
1218
1218
|
throw new TypeError('parameter 1 is not of type "Element".');
|
|
1219
1219
|
var r = this.observations_;
|
|
1220
1220
|
r.has(t) || (r.set(t, new pn(t)), this.controller_.addObserver(this), this.controller_.refresh());
|
|
@@ -1223,7 +1223,7 @@ var pn = (
|
|
|
1223
1223
|
if (!arguments.length)
|
|
1224
1224
|
throw new TypeError("1 argument required, but only 0 present.");
|
|
1225
1225
|
if (!(typeof Element > "u" || !(Element instanceof Object))) {
|
|
1226
|
-
if (!(t instanceof
|
|
1226
|
+
if (!(t instanceof Ne(t).Element))
|
|
1227
1227
|
throw new TypeError('parameter 1 is not of type "Element".');
|
|
1228
1228
|
var r = this.observations_;
|
|
1229
1229
|
r.has(t) && (r.delete(t), r.size || this.controller_.removeObserver(this));
|
|
@@ -1248,7 +1248,7 @@ var pn = (
|
|
|
1248
1248
|
return this.activeObservations_.length > 0;
|
|
1249
1249
|
}, e;
|
|
1250
1250
|
}()
|
|
1251
|
-
),
|
|
1251
|
+
), or = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new tr(), ir = (
|
|
1252
1252
|
/** @class */
|
|
1253
1253
|
function() {
|
|
1254
1254
|
function e(t) {
|
|
@@ -1257,7 +1257,7 @@ var pn = (
|
|
|
1257
1257
|
if (!arguments.length)
|
|
1258
1258
|
throw new TypeError("1 argument required, but only 0 present.");
|
|
1259
1259
|
var r = sn.getInstance(), n = new mn(t, r, this);
|
|
1260
|
-
|
|
1260
|
+
or.set(this, n);
|
|
1261
1261
|
}
|
|
1262
1262
|
return e;
|
|
1263
1263
|
}()
|
|
@@ -1267,50 +1267,50 @@ var pn = (
|
|
|
1267
1267
|
"unobserve",
|
|
1268
1268
|
"disconnect"
|
|
1269
1269
|
].forEach(function(e) {
|
|
1270
|
-
|
|
1270
|
+
ir.prototype[e] = function() {
|
|
1271
1271
|
var t;
|
|
1272
|
-
return (t =
|
|
1272
|
+
return (t = or.get(this))[e].apply(t, arguments);
|
|
1273
1273
|
};
|
|
1274
1274
|
});
|
|
1275
1275
|
var gn = function() {
|
|
1276
|
-
return typeof
|
|
1277
|
-
}(),
|
|
1278
|
-
function
|
|
1276
|
+
return typeof qe.ResizeObserver < "u" ? qe.ResizeObserver : ir;
|
|
1277
|
+
}(), xe = /* @__PURE__ */ new Map();
|
|
1278
|
+
function sr(e) {
|
|
1279
1279
|
e.forEach(function(t) {
|
|
1280
1280
|
var r, n = t.target;
|
|
1281
|
-
(r =
|
|
1281
|
+
(r = xe.get(n)) === null || r === void 0 || r.forEach(function(i) {
|
|
1282
1282
|
return i(n);
|
|
1283
1283
|
});
|
|
1284
1284
|
});
|
|
1285
1285
|
}
|
|
1286
|
-
var
|
|
1286
|
+
var ar = new gn(sr);
|
|
1287
1287
|
process.env.NODE_ENV;
|
|
1288
1288
|
process.env.NODE_ENV;
|
|
1289
1289
|
function yn(e, t) {
|
|
1290
|
-
|
|
1290
|
+
xe.has(e) || (xe.set(e, /* @__PURE__ */ new Set()), ar.observe(e)), xe.get(e).add(t);
|
|
1291
1291
|
}
|
|
1292
1292
|
function bn(e, t) {
|
|
1293
|
-
|
|
1293
|
+
xe.has(e) && (xe.get(e).delete(t), xe.get(e).size || (ar.unobserve(e), xe.delete(e)));
|
|
1294
1294
|
}
|
|
1295
1295
|
function En(e, t) {
|
|
1296
1296
|
if (!(e instanceof t))
|
|
1297
1297
|
throw new TypeError("Cannot call a class as a function");
|
|
1298
1298
|
}
|
|
1299
|
-
function
|
|
1299
|
+
function Kt(e, t) {
|
|
1300
1300
|
for (var r = 0; r < t.length; r++) {
|
|
1301
1301
|
var n = t[r];
|
|
1302
|
-
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e,
|
|
1302
|
+
n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(e, Qt(n.key), n);
|
|
1303
1303
|
}
|
|
1304
1304
|
}
|
|
1305
1305
|
function wn(e, t, r) {
|
|
1306
|
-
return t &&
|
|
1306
|
+
return t && Kt(e.prototype, t), r && Kt(e, r), Object.defineProperty(e, "prototype", {
|
|
1307
1307
|
writable: !1
|
|
1308
1308
|
}), e;
|
|
1309
1309
|
}
|
|
1310
|
-
function
|
|
1311
|
-
return
|
|
1310
|
+
function Et(e, t) {
|
|
1311
|
+
return Et = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, n) {
|
|
1312
1312
|
return r.__proto__ = n, r;
|
|
1313
|
-
},
|
|
1313
|
+
}, Et(e, t);
|
|
1314
1314
|
}
|
|
1315
1315
|
function _n(e, t) {
|
|
1316
1316
|
if (typeof t != "function" && t !== null)
|
|
@@ -1323,20 +1323,20 @@ function _n(e, t) {
|
|
|
1323
1323
|
}
|
|
1324
1324
|
}), Object.defineProperty(e, "prototype", {
|
|
1325
1325
|
writable: !1
|
|
1326
|
-
}), t &&
|
|
1326
|
+
}), t && Et(e, t);
|
|
1327
1327
|
}
|
|
1328
|
-
function
|
|
1329
|
-
return
|
|
1328
|
+
function Xe(e) {
|
|
1329
|
+
return Xe = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
|
|
1330
1330
|
return t.__proto__ || Object.getPrototypeOf(t);
|
|
1331
|
-
},
|
|
1331
|
+
}, Xe(e);
|
|
1332
1332
|
}
|
|
1333
|
-
function
|
|
1333
|
+
function lr() {
|
|
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 (lr = function() {
|
|
1340
1340
|
return !!e;
|
|
1341
1341
|
})();
|
|
1342
1342
|
}
|
|
@@ -1353,11 +1353,11 @@ function Sn(e, t) {
|
|
|
1353
1353
|
return Rn(e);
|
|
1354
1354
|
}
|
|
1355
1355
|
function Cn(e) {
|
|
1356
|
-
var t =
|
|
1356
|
+
var t = lr();
|
|
1357
1357
|
return function() {
|
|
1358
|
-
var r, n =
|
|
1358
|
+
var r, n = Xe(e);
|
|
1359
1359
|
if (t) {
|
|
1360
|
-
var i =
|
|
1360
|
+
var i = Xe(this).constructor;
|
|
1361
1361
|
r = Reflect.construct(n, arguments, i);
|
|
1362
1362
|
} else
|
|
1363
1363
|
r = n.apply(this, arguments);
|
|
@@ -1376,25 +1376,25 @@ var xn = /* @__PURE__ */ function(e) {
|
|
|
1376
1376
|
return this.props.children;
|
|
1377
1377
|
}
|
|
1378
1378
|
}]), r;
|
|
1379
|
-
}(
|
|
1379
|
+
}(re.Component);
|
|
1380
1380
|
function On(e, t) {
|
|
1381
|
-
var r = e.children, n = e.disabled, i =
|
|
1381
|
+
var r = e.children, n = e.disabled, i = re.useRef(null), s = re.useRef(null), a = re.useContext(yt), d = typeof r == "function", l = d ? r(i) : r, c = re.useRef({
|
|
1382
1382
|
width: -1,
|
|
1383
1383
|
height: -1,
|
|
1384
1384
|
offsetWidth: -1,
|
|
1385
1385
|
offsetHeight: -1
|
|
1386
|
-
}),
|
|
1386
|
+
}), h = !d && /* @__PURE__ */ re.isValidElement(l) && Jr(l), v = h ? Xr(l) : null, E = qr(v, i), z = function() {
|
|
1387
1387
|
var j;
|
|
1388
|
-
return
|
|
1389
|
-
(i.current && Re(i.current) === "object" ?
|
|
1388
|
+
return at(i.current) || // Support `nativeElement` format
|
|
1389
|
+
(i.current && Re(i.current) === "object" ? at((j = i.current) === null || j === void 0 ? void 0 : j.nativeElement) : null) || at(s.current);
|
|
1390
1390
|
};
|
|
1391
|
-
|
|
1392
|
-
return
|
|
1391
|
+
re.useImperativeHandle(t, function() {
|
|
1392
|
+
return z();
|
|
1393
1393
|
});
|
|
1394
|
-
var A =
|
|
1394
|
+
var A = re.useRef(e);
|
|
1395
1395
|
A.current = e;
|
|
1396
|
-
var
|
|
1397
|
-
var j = A.current,
|
|
1396
|
+
var S = re.useCallback(function(u) {
|
|
1397
|
+
var j = A.current, T = j.onResize, J = j.data, I = u.getBoundingClientRect(), N = I.width, $ = I.height, k = u.offsetWidth, p = u.offsetHeight, F = Math.floor(N), M = Math.floor($);
|
|
1398
1398
|
if (c.current.width !== F || c.current.height !== M || c.current.offsetWidth !== k || c.current.offsetHeight !== p) {
|
|
1399
1399
|
var W = {
|
|
1400
1400
|
width: F,
|
|
@@ -1403,43 +1403,43 @@ function On(e, t) {
|
|
|
1403
1403
|
offsetHeight: p
|
|
1404
1404
|
};
|
|
1405
1405
|
c.current = W;
|
|
1406
|
-
var
|
|
1407
|
-
offsetWidth:
|
|
1408
|
-
offsetHeight:
|
|
1406
|
+
var Y = k === Math.round(N) ? N : k, H = p === Math.round($) ? $ : p, ee = Wt(Wt({}, W), {}, {
|
|
1407
|
+
offsetWidth: Y,
|
|
1408
|
+
offsetHeight: H
|
|
1409
1409
|
});
|
|
1410
|
-
a == null || a(
|
|
1411
|
-
|
|
1410
|
+
a == null || a(ee, u, J), T && Promise.resolve().then(function() {
|
|
1411
|
+
T(ee, u);
|
|
1412
1412
|
});
|
|
1413
1413
|
}
|
|
1414
1414
|
}, []);
|
|
1415
|
-
return
|
|
1416
|
-
var u =
|
|
1417
|
-
return u && !n && yn(u,
|
|
1418
|
-
return bn(u,
|
|
1415
|
+
return re.useEffect(function() {
|
|
1416
|
+
var u = z();
|
|
1417
|
+
return u && !n && yn(u, S), function() {
|
|
1418
|
+
return bn(u, S);
|
|
1419
1419
|
};
|
|
1420
|
-
}, [i.current, n]), /* @__PURE__ */
|
|
1420
|
+
}, [i.current, n]), /* @__PURE__ */ re.createElement(xn, {
|
|
1421
1421
|
ref: s
|
|
1422
|
-
},
|
|
1423
|
-
ref:
|
|
1422
|
+
}, h ? /* @__PURE__ */ re.cloneElement(l, {
|
|
1423
|
+
ref: E
|
|
1424
1424
|
}) : l);
|
|
1425
1425
|
}
|
|
1426
|
-
var
|
|
1427
|
-
process.env.NODE_ENV !== "production" && (
|
|
1426
|
+
var cr = /* @__PURE__ */ re.forwardRef(On);
|
|
1427
|
+
process.env.NODE_ENV !== "production" && (cr.displayName = "SingleObserver");
|
|
1428
1428
|
var Tn = "rc-observer-key";
|
|
1429
1429
|
function Pn(e, t) {
|
|
1430
|
-
var r = e.children, n = typeof r == "function" ? [r] :
|
|
1431
|
-
return process.env.NODE_ENV !== "production" && (n.length > 1 ?
|
|
1430
|
+
var r = e.children, n = typeof r == "function" ? [r] : mt(r);
|
|
1431
|
+
return process.env.NODE_ENV !== "production" && (n.length > 1 ? Ft(!1, "Find more than one child node with `children` in ResizeObserver. Please use ResizeObserver.Collection instead.") : n.length === 0 && Ft(!1, "`children` of ResizeObserver is empty. Nothing is in observe.")), n.map(function(i, s) {
|
|
1432
1432
|
var a = (i == null ? void 0 : i.key) || "".concat(Tn, "-").concat(s);
|
|
1433
|
-
return /* @__PURE__ */
|
|
1433
|
+
return /* @__PURE__ */ re.createElement(cr, vt({}, e, {
|
|
1434
1434
|
key: a,
|
|
1435
1435
|
ref: s === 0 ? t : void 0
|
|
1436
1436
|
}), i);
|
|
1437
1437
|
});
|
|
1438
1438
|
}
|
|
1439
|
-
var
|
|
1440
|
-
process.env.NODE_ENV !== "production" && (
|
|
1441
|
-
|
|
1442
|
-
var
|
|
1439
|
+
var St = /* @__PURE__ */ re.forwardRef(Pn);
|
|
1440
|
+
process.env.NODE_ENV !== "production" && (St.displayName = "ResizeObserver");
|
|
1441
|
+
St.Collection = Zr;
|
|
1442
|
+
var ur = { exports: {} };
|
|
1443
1443
|
/*!
|
|
1444
1444
|
Copyright (c) 2018 Jed Watson.
|
|
1445
1445
|
Licensed under the MIT License (MIT), see
|
|
@@ -1450,8 +1450,8 @@ var cr = { exports: {} };
|
|
|
1450
1450
|
var t = {}.hasOwnProperty;
|
|
1451
1451
|
function r() {
|
|
1452
1452
|
for (var s = "", a = 0; a < arguments.length; a++) {
|
|
1453
|
-
var
|
|
1454
|
-
|
|
1453
|
+
var d = arguments[a];
|
|
1454
|
+
d && (s = i(s, n(d)));
|
|
1455
1455
|
}
|
|
1456
1456
|
return s;
|
|
1457
1457
|
}
|
|
@@ -1465,8 +1465,8 @@ var cr = { exports: {} };
|
|
|
1465
1465
|
if (s.toString !== Object.prototype.toString && !s.toString.toString().includes("[native code]"))
|
|
1466
1466
|
return s.toString();
|
|
1467
1467
|
var a = "";
|
|
1468
|
-
for (var
|
|
1469
|
-
t.call(s,
|
|
1468
|
+
for (var d in s)
|
|
1469
|
+
t.call(s, d) && s[d] && (a = i(a, d));
|
|
1470
1470
|
return a;
|
|
1471
1471
|
}
|
|
1472
1472
|
function i(s, a) {
|
|
@@ -1474,49 +1474,49 @@ var cr = { exports: {} };
|
|
|
1474
1474
|
}
|
|
1475
1475
|
e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
|
|
1476
1476
|
})();
|
|
1477
|
-
})(
|
|
1478
|
-
var jn =
|
|
1479
|
-
const
|
|
1477
|
+
})(ur);
|
|
1478
|
+
var jn = ur.exports;
|
|
1479
|
+
const Ct = /* @__PURE__ */ zr(jn);
|
|
1480
1480
|
const An = Ar(({ columns: e, width: t, onScroll: r, meta: n }, i) => {
|
|
1481
1481
|
const s = ye(() => {
|
|
1482
|
-
const a = [],
|
|
1483
|
-
let
|
|
1484
|
-
return
|
|
1485
|
-
if (
|
|
1486
|
-
const
|
|
1487
|
-
|
|
1482
|
+
const a = [], d = (h) => {
|
|
1483
|
+
let v = 0;
|
|
1484
|
+
return h.forEach((E) => {
|
|
1485
|
+
if (E.children && E.children.length > 0) {
|
|
1486
|
+
const z = d(E.children);
|
|
1487
|
+
z > v && (v = z);
|
|
1488
1488
|
}
|
|
1489
|
-
}),
|
|
1490
|
-
}, l =
|
|
1491
|
-
a[
|
|
1489
|
+
}), v + 1;
|
|
1490
|
+
}, l = d(e), c = (h, v) => {
|
|
1491
|
+
a[v] || (a[v] = []), h.forEach((E) => {
|
|
1492
1492
|
var u, j;
|
|
1493
|
-
let
|
|
1494
|
-
(u =
|
|
1495
|
-
let A = n == null ? void 0 : n.find((
|
|
1493
|
+
let z = "left";
|
|
1494
|
+
(u = E.style) != null && u.textAlign && (z = E.style.textAlign);
|
|
1495
|
+
let A = n == null ? void 0 : n.find((T) => T.field === E.field);
|
|
1496
1496
|
if (!A) {
|
|
1497
|
-
const
|
|
1498
|
-
if (
|
|
1499
|
-
const J =
|
|
1500
|
-
A = n == null ? void 0 : n.find((
|
|
1497
|
+
const T = E.field.split("||");
|
|
1498
|
+
if (T.length > 1) {
|
|
1499
|
+
const J = T[T.length - 1];
|
|
1500
|
+
A = n == null ? void 0 : n.find((I) => I.field === J);
|
|
1501
1501
|
} else
|
|
1502
|
-
|
|
1502
|
+
E.field.includes("__") && (A = n == null ? void 0 : n.find((J) => E.field.startsWith(`${J.field}_`)));
|
|
1503
1503
|
}
|
|
1504
|
-
(j = A == null ? void 0 : A.style) != null && j.textAlign && (
|
|
1505
|
-
const
|
|
1506
|
-
key:
|
|
1507
|
-
title:
|
|
1508
|
-
width:
|
|
1509
|
-
align:
|
|
1510
|
-
className:
|
|
1504
|
+
(j = A == null ? void 0 : A.style) != null && j.textAlign && (z = A.style.textAlign);
|
|
1505
|
+
const S = {
|
|
1506
|
+
key: E.field || E.dataIndex || E.title || String(Math.random()),
|
|
1507
|
+
title: E.title,
|
|
1508
|
+
width: E.width,
|
|
1509
|
+
align: z,
|
|
1510
|
+
className: E.field,
|
|
1511
1511
|
// col.className not in type, ignore
|
|
1512
1512
|
colSpan: 1,
|
|
1513
1513
|
rowSpan: 1
|
|
1514
1514
|
};
|
|
1515
|
-
if (
|
|
1516
|
-
const
|
|
1517
|
-
|
|
1515
|
+
if (E.children && E.children.length > 0) {
|
|
1516
|
+
const T = (J) => J.children && J.children.length > 0 ? J.children.reduce((I, N) => I + T(N), 0) : 1;
|
|
1517
|
+
S.colSpan = T(E), a[v].push(S), c(E.children, v + 1);
|
|
1518
1518
|
} else
|
|
1519
|
-
|
|
1519
|
+
S.rowSpan = l - v, a[v].push(S);
|
|
1520
1520
|
});
|
|
1521
1521
|
};
|
|
1522
1522
|
return c(e, 0), a;
|
|
@@ -1529,14 +1529,14 @@ const An = Ar(({ columns: e, width: t, onScroll: r, meta: n }, i) => {
|
|
|
1529
1529
|
style: { overflow: "auto", width: t },
|
|
1530
1530
|
onScroll: r,
|
|
1531
1531
|
children: /* @__PURE__ */ Q.jsxs("table", { style: { tableLayout: "fixed", width: "100%" }, children: [
|
|
1532
|
-
/* @__PURE__ */ Q.jsx("colgroup", { children: e.map((a,
|
|
1532
|
+
/* @__PURE__ */ Q.jsx("colgroup", { children: e.map((a, d) => {
|
|
1533
1533
|
const l = (c) => c.children && c.children.length > 0 ? c.children.flatMap(l) : [c.width];
|
|
1534
|
-
return l(a).map((c,
|
|
1534
|
+
return l(a).map((c, h) => /* @__PURE__ */ Q.jsx("col", { style: { width: c, minWidth: c } }, `${d}-${h}`));
|
|
1535
1535
|
}).flat() }),
|
|
1536
|
-
/* @__PURE__ */ Q.jsx("thead", { className: "virtual-table-thead", children: s.map((a,
|
|
1536
|
+
/* @__PURE__ */ Q.jsx("thead", { className: "virtual-table-thead", children: s.map((a, d) => /* @__PURE__ */ Q.jsx("tr", { className: "virtual-table-row", children: a.map((l, c) => /* @__PURE__ */ Q.jsx(
|
|
1537
1537
|
"th",
|
|
1538
1538
|
{
|
|
1539
|
-
className:
|
|
1539
|
+
className: Ct("virtual-table-cell", l.className),
|
|
1540
1540
|
colSpan: l.colSpan,
|
|
1541
1541
|
rowSpan: l.rowSpan,
|
|
1542
1542
|
title: l.title,
|
|
@@ -1546,20 +1546,20 @@ const An = Ar(({ columns: e, width: t, onScroll: r, meta: n }, i) => {
|
|
|
1546
1546
|
children: l.title
|
|
1547
1547
|
},
|
|
1548
1548
|
c
|
|
1549
|
-
)) },
|
|
1549
|
+
)) }, d)) })
|
|
1550
1550
|
] })
|
|
1551
1551
|
}
|
|
1552
1552
|
);
|
|
1553
|
-
}),
|
|
1553
|
+
}), wt = (e) => {
|
|
1554
1554
|
if (e === null || typeof e != "object")
|
|
1555
1555
|
return e;
|
|
1556
1556
|
if (Array.isArray(e))
|
|
1557
|
-
return e.map((r) =>
|
|
1557
|
+
return e.map((r) => wt(r));
|
|
1558
1558
|
const t = {};
|
|
1559
1559
|
for (const r in e)
|
|
1560
|
-
Object.prototype.hasOwnProperty.call(e, r) && (t[r] =
|
|
1560
|
+
Object.prototype.hasOwnProperty.call(e, r) && (t[r] = wt(e[r]));
|
|
1561
1561
|
return t;
|
|
1562
|
-
},
|
|
1562
|
+
}, _t = 43, Mn = 100, Ce = "-", Gt = "合计", Ze = 20;
|
|
1563
1563
|
function zn(e) {
|
|
1564
1564
|
let t = e;
|
|
1565
1565
|
for (; t; ) {
|
|
@@ -1570,13 +1570,13 @@ function zn(e) {
|
|
|
1570
1570
|
return !1;
|
|
1571
1571
|
}
|
|
1572
1572
|
function In(e, t) {
|
|
1573
|
-
const [r, n] =
|
|
1574
|
-
return
|
|
1573
|
+
const [r, n] = $e(t === "rtl");
|
|
1574
|
+
return Rt(() => {
|
|
1575
1575
|
e && (t || n(zn(e)));
|
|
1576
1576
|
}, [t, e]), r;
|
|
1577
1577
|
}
|
|
1578
|
-
const
|
|
1579
|
-
function
|
|
1578
|
+
const Qe = typeof window < "u" ? Rt : et;
|
|
1579
|
+
function Ut(e) {
|
|
1580
1580
|
if (e !== void 0)
|
|
1581
1581
|
switch (typeof e) {
|
|
1582
1582
|
case "number":
|
|
@@ -1588,7 +1588,7 @@ function Gt(e) {
|
|
|
1588
1588
|
}
|
|
1589
1589
|
}
|
|
1590
1590
|
}
|
|
1591
|
-
function
|
|
1591
|
+
function Ln({
|
|
1592
1592
|
box: e,
|
|
1593
1593
|
defaultHeight: t,
|
|
1594
1594
|
defaultWidth: r,
|
|
@@ -1597,61 +1597,61 @@ function $n({
|
|
|
1597
1597
|
mode: s,
|
|
1598
1598
|
style: a
|
|
1599
1599
|
}) {
|
|
1600
|
-
const { styleHeight:
|
|
1600
|
+
const { styleHeight: d, styleWidth: l } = ye(
|
|
1601
1601
|
() => ({
|
|
1602
|
-
styleHeight:
|
|
1603
|
-
styleWidth:
|
|
1602
|
+
styleHeight: Ut(a == null ? void 0 : a.height),
|
|
1603
|
+
styleWidth: Ut(a == null ? void 0 : a.width)
|
|
1604
1604
|
}),
|
|
1605
1605
|
[a == null ? void 0 : a.height, a == null ? void 0 : a.width]
|
|
1606
|
-
), [c,
|
|
1606
|
+
), [c, h] = $e({
|
|
1607
1607
|
height: t,
|
|
1608
1608
|
width: r
|
|
1609
|
-
}),
|
|
1610
|
-
return
|
|
1611
|
-
if (i === null ||
|
|
1609
|
+
}), v = n || s === "only-height" && d !== void 0 || s === "only-width" && l !== void 0 || d !== void 0 && l !== void 0;
|
|
1610
|
+
return Qe(() => {
|
|
1611
|
+
if (i === null || v)
|
|
1612
1612
|
return;
|
|
1613
|
-
const
|
|
1614
|
-
for (const A of
|
|
1615
|
-
const { contentRect:
|
|
1616
|
-
i === u &&
|
|
1617
|
-
height:
|
|
1618
|
-
width:
|
|
1613
|
+
const E = new ResizeObserver((z) => {
|
|
1614
|
+
for (const A of z) {
|
|
1615
|
+
const { contentRect: S, target: u } = A;
|
|
1616
|
+
i === u && h((j) => j.height === S.height && j.width === S.width ? j : {
|
|
1617
|
+
height: S.height,
|
|
1618
|
+
width: S.width
|
|
1619
1619
|
});
|
|
1620
1620
|
}
|
|
1621
1621
|
});
|
|
1622
|
-
return
|
|
1623
|
-
|
|
1622
|
+
return E.observe(i, { box: e }), () => {
|
|
1623
|
+
E == null || E.unobserve(i);
|
|
1624
1624
|
};
|
|
1625
|
-
}, [e,
|
|
1625
|
+
}, [e, v, i, d, l]), ye(
|
|
1626
1626
|
() => ({
|
|
1627
|
-
height:
|
|
1627
|
+
height: d ?? c.height,
|
|
1628
1628
|
width: l ?? c.width
|
|
1629
1629
|
}),
|
|
1630
|
-
[c,
|
|
1630
|
+
[c, d, l]
|
|
1631
1631
|
);
|
|
1632
1632
|
}
|
|
1633
|
-
function
|
|
1634
|
-
const t =
|
|
1633
|
+
function $n(e) {
|
|
1634
|
+
const t = Le(() => {
|
|
1635
1635
|
throw new Error("Cannot call during render.");
|
|
1636
1636
|
});
|
|
1637
|
-
return
|
|
1637
|
+
return Qe(() => {
|
|
1638
1638
|
t.current = e;
|
|
1639
1639
|
}, [e]), ge((r) => {
|
|
1640
1640
|
var n;
|
|
1641
1641
|
return (n = t.current) == null ? void 0 : n.call(t, r);
|
|
1642
1642
|
}, [t]);
|
|
1643
1643
|
}
|
|
1644
|
-
let
|
|
1644
|
+
let Fe = null;
|
|
1645
1645
|
function kn(e = !1) {
|
|
1646
|
-
if (
|
|
1646
|
+
if (Fe === 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
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 ?
|
|
1650
|
+
return i.width = "100px", i.height = "100px", t.appendChild(n), document.body.appendChild(t), t.scrollLeft > 0 ? Fe = "positive-descending" : (t.scrollLeft = 1, t.scrollLeft === 0 ? Fe = "negative" : Fe = "positive-ascending"), document.body.removeChild(t), Fe;
|
|
1651
1651
|
}
|
|
1652
|
-
return
|
|
1652
|
+
return Fe;
|
|
1653
1653
|
}
|
|
1654
|
-
function
|
|
1654
|
+
function ct({
|
|
1655
1655
|
containerElement: e,
|
|
1656
1656
|
direction: t,
|
|
1657
1657
|
isRtl: r,
|
|
@@ -1671,21 +1671,21 @@ function lt({
|
|
|
1671
1671
|
}
|
|
1672
1672
|
return n;
|
|
1673
1673
|
}
|
|
1674
|
-
function
|
|
1674
|
+
function Ae(e, t = "Assertion error") {
|
|
1675
1675
|
if (!e)
|
|
1676
1676
|
throw Error(t);
|
|
1677
1677
|
}
|
|
1678
|
-
function
|
|
1678
|
+
function Ke(e, t) {
|
|
1679
1679
|
if (e === t)
|
|
1680
1680
|
return !0;
|
|
1681
|
-
if (!!e != !!t || (
|
|
1681
|
+
if (!!e != !!t || (Ae(e !== void 0), Ae(t !== void 0), Object.keys(e).length !== Object.keys(t).length))
|
|
1682
1682
|
return !1;
|
|
1683
1683
|
for (const r in e)
|
|
1684
1684
|
if (!Object.is(t[r], e[r]))
|
|
1685
1685
|
return !1;
|
|
1686
1686
|
return !0;
|
|
1687
1687
|
}
|
|
1688
|
-
function
|
|
1688
|
+
function fr({
|
|
1689
1689
|
cachedBounds: e,
|
|
1690
1690
|
itemCount: t,
|
|
1691
1691
|
itemSize: r
|
|
@@ -1698,7 +1698,7 @@ function ur({
|
|
|
1698
1698
|
const n = e.get(
|
|
1699
1699
|
e.size === 0 ? 0 : e.size - 1
|
|
1700
1700
|
);
|
|
1701
|
-
|
|
1701
|
+
Ae(n !== void 0, "Unexpected bounds cache miss");
|
|
1702
1702
|
const i = (n.scrollOffset + n.size) / e.size;
|
|
1703
1703
|
return t * i;
|
|
1704
1704
|
}
|
|
@@ -1716,30 +1716,30 @@ function Dn({
|
|
|
1716
1716
|
throw RangeError(`Invalid index specified: ${r}`, {
|
|
1717
1717
|
cause: `Index ${r} is not within the range of 0 - ${n - 1}`
|
|
1718
1718
|
});
|
|
1719
|
-
const
|
|
1719
|
+
const d = fr({
|
|
1720
1720
|
cachedBounds: t,
|
|
1721
1721
|
itemCount: n,
|
|
1722
1722
|
itemSize: i
|
|
1723
1723
|
}), l = t.get(r), c = Math.max(
|
|
1724
1724
|
0,
|
|
1725
|
-
Math.min(
|
|
1726
|
-
),
|
|
1725
|
+
Math.min(d - a, l.scrollOffset)
|
|
1726
|
+
), h = Math.max(
|
|
1727
1727
|
0,
|
|
1728
1728
|
l.scrollOffset - a + l.size
|
|
1729
1729
|
);
|
|
1730
|
-
switch (e === "smart" && (s >=
|
|
1730
|
+
switch (e === "smart" && (s >= h && s <= c ? e = "auto" : e = "center"), e) {
|
|
1731
1731
|
case "start":
|
|
1732
1732
|
return c;
|
|
1733
1733
|
case "end":
|
|
1734
|
-
return
|
|
1734
|
+
return h;
|
|
1735
1735
|
case "center":
|
|
1736
|
-
return l.scrollOffset <= a / 2 ? 0 : l.scrollOffset + l.size / 2 >=
|
|
1736
|
+
return l.scrollOffset <= a / 2 ? 0 : l.scrollOffset + l.size / 2 >= d - a / 2 ? d - a : l.scrollOffset + l.size / 2 - a / 2;
|
|
1737
1737
|
case "auto":
|
|
1738
1738
|
default:
|
|
1739
|
-
return s >=
|
|
1739
|
+
return s >= h && s <= c ? s : s < h ? h : c;
|
|
1740
1740
|
}
|
|
1741
1741
|
}
|
|
1742
|
-
function
|
|
1742
|
+
function ut({
|
|
1743
1743
|
cachedBounds: e,
|
|
1744
1744
|
containerScrollOffset: t,
|
|
1745
1745
|
containerSize: r,
|
|
@@ -1747,22 +1747,22 @@ function ct({
|
|
|
1747
1747
|
overscanCount: i
|
|
1748
1748
|
}) {
|
|
1749
1749
|
const s = n - 1;
|
|
1750
|
-
let a = 0,
|
|
1751
|
-
for (;
|
|
1752
|
-
const
|
|
1753
|
-
if (
|
|
1750
|
+
let a = 0, d = -1, l = 0, c = -1, h = 0;
|
|
1751
|
+
for (; h < s; ) {
|
|
1752
|
+
const v = e.get(h);
|
|
1753
|
+
if (v.scrollOffset + v.size > t)
|
|
1754
1754
|
break;
|
|
1755
|
-
|
|
1755
|
+
h++;
|
|
1756
1756
|
}
|
|
1757
|
-
for (a =
|
|
1758
|
-
const
|
|
1759
|
-
if (
|
|
1757
|
+
for (a = h, l = Math.max(0, a - i); h < s; ) {
|
|
1758
|
+
const v = e.get(h);
|
|
1759
|
+
if (v.scrollOffset + v.size >= t + r)
|
|
1760
1760
|
break;
|
|
1761
|
-
|
|
1761
|
+
h++;
|
|
1762
1762
|
}
|
|
1763
|
-
return
|
|
1763
|
+
return d = Math.min(s, h), c = Math.min(n - 1, d + i), a < 0 && (a = 0, d = -1, l = 0, c = -1), {
|
|
1764
1764
|
startIndexVisible: a,
|
|
1765
|
-
stopIndexVisible:
|
|
1765
|
+
stopIndexVisible: d,
|
|
1766
1766
|
startIndexOverscan: l,
|
|
1767
1767
|
stopIndexOverscan: c
|
|
1768
1768
|
};
|
|
@@ -1775,37 +1775,37 @@ function Fn({
|
|
|
1775
1775
|
const n = /* @__PURE__ */ new Map();
|
|
1776
1776
|
return {
|
|
1777
1777
|
get(i) {
|
|
1778
|
-
for (
|
|
1778
|
+
for (Ae(i < e, `Invalid index ${i}`); n.size - 1 < i; ) {
|
|
1779
1779
|
const a = n.size;
|
|
1780
|
-
let
|
|
1780
|
+
let d;
|
|
1781
1781
|
switch (typeof r) {
|
|
1782
1782
|
case "function": {
|
|
1783
|
-
|
|
1783
|
+
d = r(a, t);
|
|
1784
1784
|
break;
|
|
1785
1785
|
}
|
|
1786
1786
|
case "number": {
|
|
1787
|
-
|
|
1787
|
+
d = r;
|
|
1788
1788
|
break;
|
|
1789
1789
|
}
|
|
1790
1790
|
}
|
|
1791
1791
|
if (a === 0)
|
|
1792
1792
|
n.set(a, {
|
|
1793
|
-
size:
|
|
1793
|
+
size: d,
|
|
1794
1794
|
scrollOffset: 0
|
|
1795
1795
|
});
|
|
1796
1796
|
else {
|
|
1797
1797
|
const l = n.get(a - 1);
|
|
1798
|
-
|
|
1798
|
+
Ae(
|
|
1799
1799
|
l !== void 0,
|
|
1800
1800
|
`Unexpected bounds cache miss for index ${i}`
|
|
1801
1801
|
), n.set(a, {
|
|
1802
1802
|
scrollOffset: l.scrollOffset + l.size,
|
|
1803
|
-
size:
|
|
1803
|
+
size: d
|
|
1804
1804
|
});
|
|
1805
1805
|
}
|
|
1806
1806
|
}
|
|
1807
1807
|
const s = n.get(i);
|
|
1808
|
-
return
|
|
1808
|
+
return Ae(
|
|
1809
1809
|
s !== void 0,
|
|
1810
1810
|
`Unexpected bounds cache miss for index ${i}`
|
|
1811
1811
|
), s;
|
|
@@ -1839,10 +1839,10 @@ function Wn({
|
|
|
1839
1839
|
let r;
|
|
1840
1840
|
switch (typeof t) {
|
|
1841
1841
|
case "string": {
|
|
1842
|
-
|
|
1842
|
+
Ae(
|
|
1843
1843
|
t.endsWith("%"),
|
|
1844
1844
|
`Invalid item size: "${t}"; string values must be percentages (e.g. "100%")`
|
|
1845
|
-
),
|
|
1845
|
+
), Ae(
|
|
1846
1846
|
e !== void 0,
|
|
1847
1847
|
"Container size must be defined if a percentage item size is specified"
|
|
1848
1848
|
), r = e * parseInt(t) / 100;
|
|
@@ -1855,7 +1855,7 @@ function Wn({
|
|
|
1855
1855
|
}
|
|
1856
1856
|
return r;
|
|
1857
1857
|
}
|
|
1858
|
-
function
|
|
1858
|
+
function qt({
|
|
1859
1859
|
containerElement: e,
|
|
1860
1860
|
containerStyle: t,
|
|
1861
1861
|
defaultContainerSize: r = 0,
|
|
@@ -1863,145 +1863,145 @@ function Ut({
|
|
|
1863
1863
|
isRtl: i = !1,
|
|
1864
1864
|
itemCount: s,
|
|
1865
1865
|
itemProps: a,
|
|
1866
|
-
itemSize:
|
|
1866
|
+
itemSize: d,
|
|
1867
1867
|
onResize: l,
|
|
1868
1868
|
overscanCount: c
|
|
1869
1869
|
}) {
|
|
1870
|
-
const { height:
|
|
1870
|
+
const { height: h = r, width: v = r } = Ln({
|
|
1871
1871
|
defaultHeight: n === "vertical" ? r : void 0,
|
|
1872
1872
|
defaultWidth: n === "horizontal" ? r : void 0,
|
|
1873
1873
|
element: e,
|
|
1874
1874
|
mode: n === "vertical" ? "only-height" : "only-width",
|
|
1875
1875
|
style: t
|
|
1876
|
-
}),
|
|
1876
|
+
}), E = Le({
|
|
1877
1877
|
height: 0,
|
|
1878
1878
|
width: 0
|
|
1879
|
-
}),
|
|
1880
|
-
|
|
1879
|
+
}), z = n === "vertical" ? h : v, A = Wn({ containerSize: z, itemSize: d });
|
|
1880
|
+
Rt(() => {
|
|
1881
1881
|
if (typeof l == "function") {
|
|
1882
|
-
const M =
|
|
1883
|
-
(M.height !==
|
|
1882
|
+
const M = E.current;
|
|
1883
|
+
(M.height !== h || M.width !== v) && (l({ height: h, width: v }, { ...M }), M.height = h, M.width = v);
|
|
1884
1884
|
}
|
|
1885
|
-
}, [
|
|
1886
|
-
const
|
|
1885
|
+
}, [h, l, v]);
|
|
1886
|
+
const S = Nn({
|
|
1887
1887
|
itemCount: s,
|
|
1888
1888
|
itemProps: a,
|
|
1889
1889
|
itemSize: A
|
|
1890
1890
|
}), u = ge(
|
|
1891
|
-
(M) =>
|
|
1892
|
-
[
|
|
1893
|
-
), [j,
|
|
1894
|
-
() =>
|
|
1895
|
-
cachedBounds:
|
|
1891
|
+
(M) => S.get(M),
|
|
1892
|
+
[S]
|
|
1893
|
+
), [j, T] = $e(
|
|
1894
|
+
() => ut({
|
|
1895
|
+
cachedBounds: S,
|
|
1896
1896
|
// TODO Potentially support a defaultScrollOffset prop?
|
|
1897
1897
|
containerScrollOffset: 0,
|
|
1898
|
-
containerSize:
|
|
1898
|
+
containerSize: z,
|
|
1899
1899
|
itemCount: s,
|
|
1900
1900
|
overscanCount: c
|
|
1901
1901
|
})
|
|
1902
1902
|
), {
|
|
1903
1903
|
startIndexVisible: J,
|
|
1904
|
-
startIndexOverscan:
|
|
1904
|
+
startIndexOverscan: I,
|
|
1905
1905
|
stopIndexVisible: N,
|
|
1906
|
-
stopIndexOverscan:
|
|
1906
|
+
stopIndexOverscan: $
|
|
1907
1907
|
} = {
|
|
1908
1908
|
startIndexVisible: Math.min(s - 1, j.startIndexVisible),
|
|
1909
1909
|
startIndexOverscan: Math.min(s - 1, j.startIndexOverscan),
|
|
1910
1910
|
stopIndexVisible: Math.min(s - 1, j.stopIndexVisible),
|
|
1911
1911
|
stopIndexOverscan: Math.min(s - 1, j.stopIndexOverscan)
|
|
1912
1912
|
}, k = ge(
|
|
1913
|
-
() =>
|
|
1914
|
-
cachedBounds:
|
|
1913
|
+
() => fr({
|
|
1914
|
+
cachedBounds: S,
|
|
1915
1915
|
itemCount: s,
|
|
1916
1916
|
itemSize: A
|
|
1917
1917
|
}),
|
|
1918
|
-
[
|
|
1918
|
+
[S, s, A]
|
|
1919
1919
|
), p = ge(
|
|
1920
1920
|
(M) => {
|
|
1921
|
-
const W =
|
|
1921
|
+
const W = ct({
|
|
1922
1922
|
containerElement: e,
|
|
1923
1923
|
direction: n,
|
|
1924
1924
|
isRtl: i,
|
|
1925
1925
|
scrollOffset: M
|
|
1926
1926
|
});
|
|
1927
|
-
return
|
|
1928
|
-
cachedBounds:
|
|
1927
|
+
return ut({
|
|
1928
|
+
cachedBounds: S,
|
|
1929
1929
|
containerScrollOffset: W,
|
|
1930
|
-
containerSize:
|
|
1930
|
+
containerSize: z,
|
|
1931
1931
|
itemCount: s,
|
|
1932
1932
|
overscanCount: c
|
|
1933
1933
|
});
|
|
1934
1934
|
},
|
|
1935
1935
|
[
|
|
1936
|
-
|
|
1936
|
+
S,
|
|
1937
1937
|
e,
|
|
1938
|
-
|
|
1938
|
+
z,
|
|
1939
1939
|
n,
|
|
1940
1940
|
i,
|
|
1941
1941
|
s,
|
|
1942
1942
|
c
|
|
1943
1943
|
]
|
|
1944
1944
|
);
|
|
1945
|
-
|
|
1945
|
+
Qe(() => {
|
|
1946
1946
|
const M = (n === "vertical" ? e == null ? void 0 : e.scrollTop : e == null ? void 0 : e.scrollLeft) ?? 0;
|
|
1947
|
-
|
|
1948
|
-
}, [e, n, p]),
|
|
1947
|
+
T(p(M));
|
|
1948
|
+
}, [e, n, p]), Qe(() => {
|
|
1949
1949
|
if (!e)
|
|
1950
1950
|
return;
|
|
1951
1951
|
const M = () => {
|
|
1952
|
-
|
|
1953
|
-
const { scrollLeft:
|
|
1952
|
+
T((W) => {
|
|
1953
|
+
const { scrollLeft: Y, scrollTop: H } = e, ee = ct({
|
|
1954
1954
|
containerElement: e,
|
|
1955
1955
|
direction: n,
|
|
1956
1956
|
isRtl: i,
|
|
1957
|
-
scrollOffset: n === "vertical" ?
|
|
1958
|
-
}),
|
|
1959
|
-
cachedBounds:
|
|
1960
|
-
containerScrollOffset:
|
|
1961
|
-
containerSize:
|
|
1957
|
+
scrollOffset: n === "vertical" ? H : Y
|
|
1958
|
+
}), de = ut({
|
|
1959
|
+
cachedBounds: S,
|
|
1960
|
+
containerScrollOffset: ee,
|
|
1961
|
+
containerSize: z,
|
|
1962
1962
|
itemCount: s,
|
|
1963
1963
|
overscanCount: c
|
|
1964
1964
|
});
|
|
1965
|
-
return
|
|
1965
|
+
return Ke(de, W) ? W : de;
|
|
1966
1966
|
});
|
|
1967
1967
|
};
|
|
1968
1968
|
return e.addEventListener("scroll", M), () => {
|
|
1969
1969
|
e.removeEventListener("scroll", M);
|
|
1970
1970
|
};
|
|
1971
1971
|
}, [
|
|
1972
|
-
|
|
1972
|
+
S,
|
|
1973
1973
|
e,
|
|
1974
|
-
|
|
1974
|
+
z,
|
|
1975
1975
|
n,
|
|
1976
1976
|
s,
|
|
1977
1977
|
c
|
|
1978
1978
|
]);
|
|
1979
|
-
const F =
|
|
1979
|
+
const F = $n(
|
|
1980
1980
|
({
|
|
1981
1981
|
align: M = "auto",
|
|
1982
1982
|
containerScrollOffset: W,
|
|
1983
|
-
index:
|
|
1983
|
+
index: Y
|
|
1984
1984
|
}) => {
|
|
1985
|
-
let
|
|
1985
|
+
let H = Dn({
|
|
1986
1986
|
align: M,
|
|
1987
|
-
cachedBounds:
|
|
1987
|
+
cachedBounds: S,
|
|
1988
1988
|
containerScrollOffset: W,
|
|
1989
|
-
containerSize:
|
|
1990
|
-
index:
|
|
1989
|
+
containerSize: z,
|
|
1990
|
+
index: Y,
|
|
1991
1991
|
itemCount: s,
|
|
1992
1992
|
itemSize: A
|
|
1993
1993
|
});
|
|
1994
1994
|
if (e) {
|
|
1995
|
-
if (
|
|
1995
|
+
if (H = ct({
|
|
1996
1996
|
containerElement: e,
|
|
1997
1997
|
direction: n,
|
|
1998
1998
|
isRtl: i,
|
|
1999
|
-
scrollOffset:
|
|
1999
|
+
scrollOffset: H
|
|
2000
2000
|
}), typeof e.scrollTo != "function") {
|
|
2001
|
-
const
|
|
2002
|
-
|
|
2001
|
+
const ee = p(H);
|
|
2002
|
+
Ke(j, ee) || T(ee);
|
|
2003
2003
|
}
|
|
2004
|
-
return
|
|
2004
|
+
return H;
|
|
2005
2005
|
}
|
|
2006
2006
|
}
|
|
2007
2007
|
);
|
|
@@ -2009,9 +2009,9 @@ function Ut({
|
|
|
2009
2009
|
getCellBounds: u,
|
|
2010
2010
|
getEstimatedSize: k,
|
|
2011
2011
|
scrollToIndex: F,
|
|
2012
|
-
startIndexOverscan:
|
|
2012
|
+
startIndexOverscan: I,
|
|
2013
2013
|
startIndexVisible: J,
|
|
2014
|
-
stopIndexOverscan:
|
|
2014
|
+
stopIndexOverscan: $,
|
|
2015
2015
|
stopIndexVisible: N
|
|
2016
2016
|
};
|
|
2017
2017
|
}
|
|
@@ -2026,9 +2026,9 @@ function Hn(e, t) {
|
|
|
2026
2026
|
} = e, {
|
|
2027
2027
|
ariaAttributes: s,
|
|
2028
2028
|
style: a,
|
|
2029
|
-
...
|
|
2029
|
+
...d
|
|
2030
2030
|
} = t;
|
|
2031
|
-
return
|
|
2031
|
+
return Ke(r, s) && Ke(n, a) && Ke(i, d);
|
|
2032
2032
|
}
|
|
2033
2033
|
function Bn({
|
|
2034
2034
|
cellComponent: e,
|
|
@@ -2038,209 +2038,209 @@ function Bn({
|
|
|
2038
2038
|
columnCount: i,
|
|
2039
2039
|
columnWidth: s,
|
|
2040
2040
|
defaultHeight: a = 0,
|
|
2041
|
-
defaultWidth:
|
|
2041
|
+
defaultWidth: d = 0,
|
|
2042
2042
|
dir: l,
|
|
2043
2043
|
gridRef: c,
|
|
2044
|
-
onCellsRendered:
|
|
2045
|
-
onResize:
|
|
2046
|
-
overscanCount:
|
|
2047
|
-
rowCount:
|
|
2044
|
+
onCellsRendered: h,
|
|
2045
|
+
onResize: v,
|
|
2046
|
+
overscanCount: E = 3,
|
|
2047
|
+
rowCount: z,
|
|
2048
2048
|
rowHeight: A,
|
|
2049
|
-
style:
|
|
2049
|
+
style: S,
|
|
2050
2050
|
tagName: u = "div",
|
|
2051
2051
|
...j
|
|
2052
2052
|
}) {
|
|
2053
|
-
const
|
|
2054
|
-
() =>
|
|
2053
|
+
const T = Vn(t), J = ye(
|
|
2054
|
+
() => Xt(e, Hn),
|
|
2055
2055
|
[e]
|
|
2056
|
-
), [
|
|
2056
|
+
), [I, N] = $e(null), $ = In(I, l), {
|
|
2057
2057
|
getCellBounds: k,
|
|
2058
2058
|
getEstimatedSize: p,
|
|
2059
2059
|
startIndexOverscan: F,
|
|
2060
2060
|
startIndexVisible: M,
|
|
2061
2061
|
scrollToIndex: W,
|
|
2062
|
-
stopIndexOverscan:
|
|
2063
|
-
stopIndexVisible:
|
|
2064
|
-
} =
|
|
2065
|
-
containerElement:
|
|
2066
|
-
containerStyle:
|
|
2067
|
-
defaultContainerSize:
|
|
2062
|
+
stopIndexOverscan: Y,
|
|
2063
|
+
stopIndexVisible: H
|
|
2064
|
+
} = qt({
|
|
2065
|
+
containerElement: I,
|
|
2066
|
+
containerStyle: S,
|
|
2067
|
+
defaultContainerSize: d,
|
|
2068
2068
|
direction: "horizontal",
|
|
2069
|
-
isRtl:
|
|
2069
|
+
isRtl: $,
|
|
2070
2070
|
itemCount: i,
|
|
2071
|
-
itemProps:
|
|
2071
|
+
itemProps: T,
|
|
2072
2072
|
itemSize: s,
|
|
2073
|
-
onResize:
|
|
2074
|
-
overscanCount:
|
|
2073
|
+
onResize: v,
|
|
2074
|
+
overscanCount: E
|
|
2075
2075
|
}), {
|
|
2076
|
-
getCellBounds:
|
|
2077
|
-
getEstimatedSize:
|
|
2076
|
+
getCellBounds: ee,
|
|
2077
|
+
getEstimatedSize: de,
|
|
2078
2078
|
startIndexOverscan: be,
|
|
2079
|
-
startIndexVisible:
|
|
2079
|
+
startIndexVisible: Se,
|
|
2080
2080
|
scrollToIndex: _e,
|
|
2081
|
-
stopIndexOverscan:
|
|
2082
|
-
stopIndexVisible:
|
|
2083
|
-
} =
|
|
2084
|
-
containerElement:
|
|
2085
|
-
containerStyle:
|
|
2081
|
+
stopIndexOverscan: pe,
|
|
2082
|
+
stopIndexVisible: Oe
|
|
2083
|
+
} = qt({
|
|
2084
|
+
containerElement: I,
|
|
2085
|
+
containerStyle: S,
|
|
2086
2086
|
defaultContainerSize: a,
|
|
2087
2087
|
direction: "vertical",
|
|
2088
|
-
itemCount:
|
|
2089
|
-
itemProps:
|
|
2088
|
+
itemCount: z,
|
|
2089
|
+
itemProps: T,
|
|
2090
2090
|
itemSize: A,
|
|
2091
|
-
onResize:
|
|
2092
|
-
overscanCount:
|
|
2091
|
+
onResize: v,
|
|
2092
|
+
overscanCount: E
|
|
2093
2093
|
});
|
|
2094
2094
|
Mr(
|
|
2095
2095
|
c,
|
|
2096
2096
|
() => ({
|
|
2097
2097
|
get element() {
|
|
2098
|
-
return
|
|
2098
|
+
return I;
|
|
2099
2099
|
},
|
|
2100
2100
|
scrollToCell({
|
|
2101
2101
|
behavior: w = "auto",
|
|
2102
|
-
columnAlign:
|
|
2103
|
-
columnIndex:
|
|
2104
|
-
rowAlign:
|
|
2105
|
-
rowIndex:
|
|
2102
|
+
columnAlign: _ = "auto",
|
|
2103
|
+
columnIndex: R,
|
|
2104
|
+
rowAlign: m = "auto",
|
|
2105
|
+
rowIndex: O
|
|
2106
2106
|
}) {
|
|
2107
|
-
const
|
|
2107
|
+
const x = W({
|
|
2108
|
+
align: _,
|
|
2109
|
+
containerScrollOffset: (I == null ? void 0 : I.scrollLeft) ?? 0,
|
|
2110
|
+
index: R
|
|
2111
|
+
}), P = _e({
|
|
2108
2112
|
align: m,
|
|
2109
|
-
containerScrollOffset: (
|
|
2110
|
-
index:
|
|
2111
|
-
}), S = _e({
|
|
2112
|
-
align: x,
|
|
2113
|
-
containerScrollOffset: (z == null ? void 0 : z.scrollTop) ?? 0,
|
|
2114
|
-
index: _
|
|
2113
|
+
containerScrollOffset: (I == null ? void 0 : I.scrollTop) ?? 0,
|
|
2114
|
+
index: O
|
|
2115
2115
|
});
|
|
2116
|
-
typeof (
|
|
2116
|
+
typeof (I == null ? void 0 : I.scrollTo) == "function" && I.scrollTo({
|
|
2117
2117
|
behavior: w,
|
|
2118
|
-
left:
|
|
2119
|
-
top:
|
|
2118
|
+
left: x,
|
|
2119
|
+
top: P
|
|
2120
2120
|
});
|
|
2121
2121
|
},
|
|
2122
2122
|
scrollToColumn({
|
|
2123
2123
|
align: w = "auto",
|
|
2124
|
-
behavior:
|
|
2125
|
-
index:
|
|
2124
|
+
behavior: _ = "auto",
|
|
2125
|
+
index: R
|
|
2126
2126
|
}) {
|
|
2127
|
-
const
|
|
2127
|
+
const m = W({
|
|
2128
2128
|
align: w,
|
|
2129
|
-
containerScrollOffset: (
|
|
2130
|
-
index:
|
|
2129
|
+
containerScrollOffset: (I == null ? void 0 : I.scrollLeft) ?? 0,
|
|
2130
|
+
index: R
|
|
2131
2131
|
});
|
|
2132
|
-
typeof (
|
|
2133
|
-
behavior:
|
|
2134
|
-
left:
|
|
2132
|
+
typeof (I == null ? void 0 : I.scrollTo) == "function" && I.scrollTo({
|
|
2133
|
+
behavior: _,
|
|
2134
|
+
left: m
|
|
2135
2135
|
});
|
|
2136
2136
|
},
|
|
2137
2137
|
scrollToRow({
|
|
2138
2138
|
align: w = "auto",
|
|
2139
|
-
behavior:
|
|
2140
|
-
index:
|
|
2139
|
+
behavior: _ = "auto",
|
|
2140
|
+
index: R
|
|
2141
2141
|
}) {
|
|
2142
|
-
const
|
|
2142
|
+
const m = _e({
|
|
2143
2143
|
align: w,
|
|
2144
|
-
containerScrollOffset: (
|
|
2145
|
-
index:
|
|
2144
|
+
containerScrollOffset: (I == null ? void 0 : I.scrollTop) ?? 0,
|
|
2145
|
+
index: R
|
|
2146
2146
|
});
|
|
2147
|
-
typeof (
|
|
2148
|
-
behavior:
|
|
2149
|
-
top:
|
|
2147
|
+
typeof (I == null ? void 0 : I.scrollTo) == "function" && I.scrollTo({
|
|
2148
|
+
behavior: _,
|
|
2149
|
+
top: m
|
|
2150
2150
|
});
|
|
2151
2151
|
}
|
|
2152
2152
|
}),
|
|
2153
|
-
[
|
|
2154
|
-
),
|
|
2155
|
-
F >= 0 &&
|
|
2153
|
+
[I, W, _e]
|
|
2154
|
+
), et(() => {
|
|
2155
|
+
F >= 0 && Y >= 0 && be >= 0 && pe >= 0 && h && h(
|
|
2156
2156
|
{
|
|
2157
2157
|
columnStartIndex: M,
|
|
2158
|
-
columnStopIndex:
|
|
2159
|
-
rowStartIndex:
|
|
2160
|
-
rowStopIndex:
|
|
2158
|
+
columnStopIndex: H,
|
|
2159
|
+
rowStartIndex: Se,
|
|
2160
|
+
rowStopIndex: Oe
|
|
2161
2161
|
},
|
|
2162
2162
|
{
|
|
2163
2163
|
columnStartIndex: F,
|
|
2164
|
-
columnStopIndex:
|
|
2164
|
+
columnStopIndex: Y,
|
|
2165
2165
|
rowStartIndex: be,
|
|
2166
|
-
rowStopIndex:
|
|
2166
|
+
rowStopIndex: pe
|
|
2167
2167
|
}
|
|
2168
2168
|
);
|
|
2169
2169
|
}, [
|
|
2170
|
-
|
|
2170
|
+
h,
|
|
2171
2171
|
F,
|
|
2172
2172
|
M,
|
|
2173
|
+
Y,
|
|
2173
2174
|
H,
|
|
2174
|
-
K,
|
|
2175
2175
|
be,
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2176
|
+
Se,
|
|
2177
|
+
pe,
|
|
2178
|
+
Oe
|
|
2179
2179
|
]);
|
|
2180
|
-
const
|
|
2180
|
+
const Te = ye(() => {
|
|
2181
2181
|
const w = [];
|
|
2182
|
-
if (i > 0 &&
|
|
2183
|
-
for (let
|
|
2184
|
-
const
|
|
2185
|
-
for (let
|
|
2186
|
-
const
|
|
2187
|
-
|
|
2188
|
-
/* @__PURE__ */
|
|
2182
|
+
if (i > 0 && z > 0)
|
|
2183
|
+
for (let _ = be; _ <= pe; _++) {
|
|
2184
|
+
const R = ee(_), m = [];
|
|
2185
|
+
for (let O = F; O <= Y; O++) {
|
|
2186
|
+
const x = k(O);
|
|
2187
|
+
m.push(
|
|
2188
|
+
/* @__PURE__ */ Lt(
|
|
2189
2189
|
J,
|
|
2190
2190
|
{
|
|
2191
|
-
...
|
|
2191
|
+
...T,
|
|
2192
2192
|
ariaAttributes: {
|
|
2193
|
-
"aria-colindex":
|
|
2193
|
+
"aria-colindex": O + 1,
|
|
2194
2194
|
role: "gridcell"
|
|
2195
2195
|
},
|
|
2196
|
-
columnIndex:
|
|
2197
|
-
key:
|
|
2198
|
-
rowIndex:
|
|
2196
|
+
columnIndex: O,
|
|
2197
|
+
key: O,
|
|
2198
|
+
rowIndex: _,
|
|
2199
2199
|
style: {
|
|
2200
2200
|
position: "absolute",
|
|
2201
|
-
left:
|
|
2202
|
-
right:
|
|
2203
|
-
transform: `translate(${
|
|
2204
|
-
height:
|
|
2205
|
-
width:
|
|
2201
|
+
left: $ ? void 0 : 0,
|
|
2202
|
+
right: $ ? 0 : void 0,
|
|
2203
|
+
transform: `translate(${$ ? -x.scrollOffset : x.scrollOffset}px, ${R.scrollOffset}px)`,
|
|
2204
|
+
height: R.size,
|
|
2205
|
+
width: x.size
|
|
2206
2206
|
}
|
|
2207
2207
|
}
|
|
2208
2208
|
)
|
|
2209
2209
|
);
|
|
2210
2210
|
}
|
|
2211
2211
|
w.push(
|
|
2212
|
-
/* @__PURE__ */ Q.jsx("div", { role: "row", "aria-rowindex":
|
|
2212
|
+
/* @__PURE__ */ Q.jsx("div", { role: "row", "aria-rowindex": _ + 1, children: m }, _)
|
|
2213
2213
|
);
|
|
2214
2214
|
}
|
|
2215
2215
|
return w;
|
|
2216
2216
|
}, [
|
|
2217
2217
|
J,
|
|
2218
|
-
|
|
2218
|
+
T,
|
|
2219
2219
|
i,
|
|
2220
2220
|
F,
|
|
2221
|
-
|
|
2221
|
+
Y,
|
|
2222
2222
|
k,
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2223
|
+
ee,
|
|
2224
|
+
$,
|
|
2225
|
+
z,
|
|
2226
2226
|
be,
|
|
2227
|
-
|
|
2228
|
-
]),
|
|
2227
|
+
pe
|
|
2228
|
+
]), g = /* @__PURE__ */ Q.jsx(
|
|
2229
2229
|
"div",
|
|
2230
2230
|
{
|
|
2231
2231
|
"aria-hidden": !0,
|
|
2232
2232
|
style: {
|
|
2233
|
-
height:
|
|
2233
|
+
height: de(),
|
|
2234
2234
|
width: p(),
|
|
2235
2235
|
zIndex: -1
|
|
2236
2236
|
}
|
|
2237
2237
|
}
|
|
2238
2238
|
);
|
|
2239
|
-
return
|
|
2239
|
+
return Lt(
|
|
2240
2240
|
u,
|
|
2241
2241
|
{
|
|
2242
2242
|
"aria-colcount": i,
|
|
2243
|
-
"aria-rowcount":
|
|
2243
|
+
"aria-rowcount": z,
|
|
2244
2244
|
role: "grid",
|
|
2245
2245
|
...j,
|
|
2246
2246
|
className: n,
|
|
@@ -2252,12 +2252,12 @@ function Bn({
|
|
|
2252
2252
|
maxWidth: "100%",
|
|
2253
2253
|
flexGrow: 1,
|
|
2254
2254
|
overflow: "auto",
|
|
2255
|
-
...
|
|
2255
|
+
...S
|
|
2256
2256
|
}
|
|
2257
2257
|
},
|
|
2258
|
-
|
|
2258
|
+
Te,
|
|
2259
2259
|
r,
|
|
2260
|
-
|
|
2260
|
+
g
|
|
2261
2261
|
);
|
|
2262
2262
|
}
|
|
2263
2263
|
const Yn = (e) => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "64 64 896 896", focusable: "false", width: "1em", height: "1em", fill: "currentColor", "aria-hidden": "true", ...e, children: [
|
|
@@ -2271,20 +2271,20 @@ const Yn = (e) => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "64 64 896 896", focu
|
|
|
2271
2271
|
const n = (i = r[e]) == null ? void 0 : i[t];
|
|
2272
2272
|
return n ? n.rowspan === 0 || n.colspan === 0 : !1;
|
|
2273
2273
|
}, Un = (e, t, r, n, i, s, a) => {
|
|
2274
|
-
var
|
|
2275
|
-
const
|
|
2274
|
+
var S, u;
|
|
2275
|
+
const d = (S = n[e]) == null ? void 0 : S[t], l = a || d;
|
|
2276
2276
|
if (!l)
|
|
2277
2277
|
return;
|
|
2278
2278
|
const c = { ...r };
|
|
2279
|
-
let
|
|
2280
|
-
const
|
|
2279
|
+
let h = i[t];
|
|
2280
|
+
const v = h.field.split("||"), E = v[v.length - 1], z = s == null ? void 0 : s.find((j) => j.field === E || j.field === h.field), A = (z == null ? void 0 : z.style) || (h == null ? void 0 : h.style);
|
|
2281
2281
|
if (l.colspan > 1) {
|
|
2282
2282
|
let j = 0;
|
|
2283
|
-
for (let
|
|
2284
|
-
j += Number((u = i[
|
|
2283
|
+
for (let T = t; T < t + l.colspan; T++)
|
|
2284
|
+
j += Number((u = i[T]) == null ? void 0 : u.width) || 100;
|
|
2285
2285
|
c.width = j;
|
|
2286
2286
|
}
|
|
2287
|
-
return l.rowspan > 1 && (c.height = l.rowspan *
|
|
2287
|
+
return l.rowspan > 1 && (c.height = l.rowspan * _t), c.height || (c.height = _t), A != null && A.textAlign && (c.textAlign = A.textAlign, A.textAlign === "right" && (c.justifyContent = "flex-end"), A.textAlign === "center" && (c.justifyContent = "center")), c.border = "1px solid #f0f0f0", c.padding = "8px 16px", c.display = "flex", c.alignItems = "center", c.backgroundColor = "#fff", l.rowspan > Ze && (c.zIndex = 1e4 - e, c.position = "absolute"), c;
|
|
2288
2288
|
}, qn = ({
|
|
2289
2289
|
columnIndex: e,
|
|
2290
2290
|
rowIndex: t,
|
|
@@ -2293,16 +2293,16 @@ const Yn = (e) => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "64 64 896 896", focu
|
|
|
2293
2293
|
columns: i,
|
|
2294
2294
|
handleExpand: s,
|
|
2295
2295
|
meta: a,
|
|
2296
|
-
mergedCellsMap:
|
|
2296
|
+
mergedCellsMap: d
|
|
2297
2297
|
}) => {
|
|
2298
2298
|
let l = n[t][e], c = !1;
|
|
2299
|
-
if (l.rowspan === 0 &&
|
|
2300
|
-
const j = `${t}-${e}`,
|
|
2301
|
-
if (
|
|
2302
|
-
const J =
|
|
2299
|
+
if (l.rowspan === 0 && d) {
|
|
2300
|
+
const j = `${t}-${e}`, T = d.get(j);
|
|
2301
|
+
if (T && T.rowspan > Ze && T.startIndex < t) {
|
|
2302
|
+
const J = T.rowspan - (t - T.startIndex);
|
|
2303
2303
|
l = {
|
|
2304
2304
|
...l,
|
|
2305
|
-
...
|
|
2305
|
+
...T,
|
|
2306
2306
|
rowspan: J
|
|
2307
2307
|
// We might need to adjust content if it relies on being at the top, but usually content is same.
|
|
2308
2308
|
// onClick and others are copied from mergeInfo
|
|
@@ -2311,16 +2311,16 @@ const Yn = (e) => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "64 64 896 896", focu
|
|
|
2311
2311
|
}
|
|
2312
2312
|
if (!c && Gn(t, e, n))
|
|
2313
2313
|
return null;
|
|
2314
|
-
const
|
|
2314
|
+
const h = Un(t, e, r, n, i, a, l), v = i[e], E = v.field.split("||"), z = E[E.length - 1], A = a == null ? void 0 : a.find((j) => j.field === z || j.field === v.field), S = Ge.isValidElement(l.content);
|
|
2315
2315
|
let u;
|
|
2316
|
-
if (u = l.content, "formatter" in
|
|
2316
|
+
if (u = l.content, "formatter" in v && v.formatter && !S && (l.data.satisfaction_denominator_count, u = v.formatter(u, l.data)), A != null && A.clickHandler && !S && u !== null && u !== void 0) {
|
|
2317
2317
|
const j = l.data;
|
|
2318
2318
|
u = /* @__PURE__ */ Q.jsx(
|
|
2319
2319
|
"a",
|
|
2320
2320
|
{
|
|
2321
2321
|
href: "javascript:void(0)",
|
|
2322
|
-
onClick: (
|
|
2323
|
-
|
|
2322
|
+
onClick: (T) => {
|
|
2323
|
+
T.preventDefault(), T.stopPropagation(), A.clickHandler(j);
|
|
2324
2324
|
},
|
|
2325
2325
|
className: "virtual-table-cell-link",
|
|
2326
2326
|
children: u
|
|
@@ -2330,8 +2330,8 @@ const Yn = (e) => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "64 64 896 896", focu
|
|
|
2330
2330
|
return /* @__PURE__ */ Q.jsxs(
|
|
2331
2331
|
"div",
|
|
2332
2332
|
{
|
|
2333
|
-
style:
|
|
2334
|
-
className:
|
|
2333
|
+
style: h,
|
|
2334
|
+
className: Ct("table-cell", "virtual-table-cell", {
|
|
2335
2335
|
"virtual-table-cell-last": e === i.length - 1
|
|
2336
2336
|
}),
|
|
2337
2337
|
title: typeof u == "string" ? u : void 0,
|
|
@@ -2346,9 +2346,9 @@ const Yn = (e) => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "64 64 896 896", focu
|
|
|
2346
2346
|
}
|
|
2347
2347
|
);
|
|
2348
2348
|
}, Jn = (e) => {
|
|
2349
|
-
const { data: t, info: r, scroll: n, columns: i, tableWidth: s } = e, { ref: a, onScroll:
|
|
2350
|
-
const
|
|
2351
|
-
return Object.defineProperty(
|
|
2349
|
+
const { data: t, info: r, scroll: n, columns: i, tableWidth: s } = e, { ref: a, onScroll: d } = r, l = Le(), c = ye(() => {
|
|
2350
|
+
const $ = {};
|
|
2351
|
+
return Object.defineProperty($, "scrollLeft", {
|
|
2352
2352
|
get: () => {
|
|
2353
2353
|
var k, p;
|
|
2354
2354
|
return ((p = (k = l.current) == null ? void 0 : k.element) == null ? void 0 : p.scrollLeft) || 0;
|
|
@@ -2357,7 +2357,7 @@ const Yn = (e) => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "64 64 896 896", focu
|
|
|
2357
2357
|
var p;
|
|
2358
2358
|
(p = l.current) != null && p.element && (l.current.element.scrollLeft = k);
|
|
2359
2359
|
}
|
|
2360
|
-
}), Object.defineProperty(
|
|
2360
|
+
}), Object.defineProperty($, "scrollTop", {
|
|
2361
2361
|
get: () => {
|
|
2362
2362
|
var k, p;
|
|
2363
2363
|
return ((p = (k = l.current) == null ? void 0 : k.element) == null ? void 0 : p.scrollTop) || 0;
|
|
@@ -2366,39 +2366,39 @@ const Yn = (e) => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "64 64 896 896", focu
|
|
|
2366
2366
|
var p;
|
|
2367
2367
|
(p = l.current) != null && p.element && (l.current.element.scrollTop = k);
|
|
2368
2368
|
}
|
|
2369
|
-
}),
|
|
2369
|
+
}), $;
|
|
2370
2370
|
}, []);
|
|
2371
|
-
|
|
2371
|
+
et(() => {
|
|
2372
2372
|
a && (a.current = c);
|
|
2373
2373
|
}, [a, c]);
|
|
2374
|
-
const
|
|
2374
|
+
const h = t, v = h.length, E = ge(($) => {
|
|
2375
2375
|
let k = 0;
|
|
2376
|
-
return
|
|
2377
|
-
p != null && p.children && p.children.length > 0 ? k +=
|
|
2376
|
+
return $.forEach((p) => {
|
|
2377
|
+
p != null && p.children && p.children.length > 0 ? k += E(p.children) : k += 1;
|
|
2378
2378
|
}), k;
|
|
2379
|
-
}, []),
|
|
2379
|
+
}, []), z = E(i), A = ge(($) => {
|
|
2380
2380
|
let k = [];
|
|
2381
|
-
return
|
|
2381
|
+
return $.forEach((p) => {
|
|
2382
2382
|
p != null && p.children && p.children.length > 0 ? k = [...k, ...A(p.children)] : k.push(p);
|
|
2383
2383
|
}), k;
|
|
2384
|
-
}, []),
|
|
2385
|
-
const k =
|
|
2384
|
+
}, []), S = A(i), u = ge(($) => {
|
|
2385
|
+
const k = S[$];
|
|
2386
2386
|
let p = (k == null ? void 0 : k.width) || 100;
|
|
2387
2387
|
return typeof p == "string" && (p = parseInt(p.replace("px", "")) || 100), p;
|
|
2388
|
-
}, [
|
|
2389
|
-
if (
|
|
2390
|
-
|
|
2388
|
+
}, [S]), j = ge(($) => _t, []), T = ye(() => h.map(($) => $.cells), [h]), J = ge(($) => {
|
|
2389
|
+
if ($ && typeof $.scrollLeft == "number") {
|
|
2390
|
+
d && d($);
|
|
2391
2391
|
return;
|
|
2392
2392
|
}
|
|
2393
|
-
if (
|
|
2394
|
-
const { scrollLeft: k, scrollTop: p } =
|
|
2395
|
-
|
|
2393
|
+
if ($ && $.target) {
|
|
2394
|
+
const { scrollLeft: k, scrollTop: p } = $.target;
|
|
2395
|
+
d && d({ scrollLeft: k, scrollTop: p });
|
|
2396
2396
|
}
|
|
2397
|
-
}, [
|
|
2398
|
-
const
|
|
2399
|
-
return
|
|
2397
|
+
}, [d]), I = ye(() => {
|
|
2398
|
+
const $ = /* @__PURE__ */ new Map();
|
|
2399
|
+
return h.forEach((k, p) => {
|
|
2400
2400
|
k.cells.forEach((F, M) => {
|
|
2401
|
-
if (F.rowspan >
|
|
2401
|
+
if (F.rowspan > Ze) {
|
|
2402
2402
|
const W = {
|
|
2403
2403
|
startIndex: p,
|
|
2404
2404
|
rowspan: F.rowspan,
|
|
@@ -2410,38 +2410,38 @@ const Yn = (e) => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "64 64 896 896", focu
|
|
|
2410
2410
|
rowKey: F.rowKey,
|
|
2411
2411
|
onClick: F.onClick
|
|
2412
2412
|
};
|
|
2413
|
-
for (let
|
|
2414
|
-
const
|
|
2415
|
-
|
|
2413
|
+
for (let Y = 0; Y < F.rowspan; Y++) {
|
|
2414
|
+
const H = `${p + Y}-${M}`;
|
|
2415
|
+
$.set(H, W);
|
|
2416
2416
|
}
|
|
2417
2417
|
}
|
|
2418
2418
|
});
|
|
2419
|
-
}),
|
|
2420
|
-
}, [
|
|
2419
|
+
}), $;
|
|
2420
|
+
}, [h]), N = (typeof (n == null ? void 0 : n.y) == "number" ? n.y : parseInt((n == null ? void 0 : n.y) || "400")) || 400;
|
|
2421
2421
|
return /* @__PURE__ */ Q.jsx(
|
|
2422
2422
|
Bn,
|
|
2423
2423
|
{
|
|
2424
2424
|
gridRef: l,
|
|
2425
|
-
columnCount:
|
|
2425
|
+
columnCount: z,
|
|
2426
2426
|
columnWidth: u,
|
|
2427
|
-
rowCount:
|
|
2427
|
+
rowCount: v,
|
|
2428
2428
|
rowHeight: j,
|
|
2429
2429
|
style: { height: N - 40, width: s, overflowY: "auto" },
|
|
2430
2430
|
onScroll: J,
|
|
2431
2431
|
className: "virtual-grid",
|
|
2432
|
-
overscanCount:
|
|
2432
|
+
overscanCount: Ze,
|
|
2433
2433
|
cellComponent: qn,
|
|
2434
2434
|
cellProps: {
|
|
2435
|
-
mergedData:
|
|
2436
|
-
columns:
|
|
2437
|
-
data:
|
|
2435
|
+
mergedData: T,
|
|
2436
|
+
columns: S,
|
|
2437
|
+
data: h,
|
|
2438
2438
|
handleExpand: e.handleExpand,
|
|
2439
2439
|
meta: e.meta,
|
|
2440
|
-
mergedCellsMap:
|
|
2440
|
+
mergedCellsMap: I
|
|
2441
2441
|
}
|
|
2442
2442
|
}
|
|
2443
2443
|
);
|
|
2444
|
-
},
|
|
2444
|
+
}, Ye = (e) => {
|
|
2445
2445
|
const t = [], r = (n) => {
|
|
2446
2446
|
n.children && n.children.length > 0 ? n.children.forEach((i) => r(i)) : t.push(n);
|
|
2447
2447
|
};
|
|
@@ -2454,20 +2454,23 @@ const Yn = (e) => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "64 64 896 896", focu
|
|
|
2454
2454
|
return n;
|
|
2455
2455
|
n = n[i];
|
|
2456
2456
|
}
|
|
2457
|
-
return n == null && (n =
|
|
2458
|
-
},
|
|
2457
|
+
return n == null && (n = Ce), n;
|
|
2458
|
+
}, ft = (e, t) => "|" + t.map((n) => me(e, n)).join("|"), Jt = (e, t) => {
|
|
2459
2459
|
if (!e)
|
|
2460
2460
|
return null;
|
|
2461
2461
|
try {
|
|
2462
|
-
const r = e.replace(/\{(\w+)\}/g, (
|
|
2463
|
-
const
|
|
2464
|
-
return
|
|
2462
|
+
const r = e.replace(/\{(\w+)\}/g, (i, s) => {
|
|
2463
|
+
const a = t[s];
|
|
2464
|
+
return a != null && !isNaN(a) ? String(a) : "0";
|
|
2465
2465
|
});
|
|
2466
|
-
|
|
2466
|
+
if (!/^[\d\.\+\-\*\/\(\)\s]+$/.test(r))
|
|
2467
|
+
return null;
|
|
2468
|
+
const n = new Function(`return ${r}`)();
|
|
2469
|
+
return typeof n != "number" || !isFinite(n) || isNaN(n) ? null : n;
|
|
2467
2470
|
} catch {
|
|
2468
2471
|
return null;
|
|
2469
2472
|
}
|
|
2470
|
-
},
|
|
2473
|
+
}, Ue = {
|
|
2471
2474
|
sum: (e) => e.reduce((t, r) => t + (Number(r) || 0), 0),
|
|
2472
2475
|
avg: (e) => {
|
|
2473
2476
|
const t = e;
|
|
@@ -2491,362 +2494,362 @@ const Yn = (e) => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "64 64 896 896", focu
|
|
|
2491
2494
|
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;
|
|
2492
2495
|
return Math.sqrt(i);
|
|
2493
2496
|
}
|
|
2494
|
-
},
|
|
2497
|
+
}, ce = /* @__PURE__ */ new Map(), dt = /* @__PURE__ */ new Map(), ht = /* @__PURE__ */ new Map(), Xn = (e) => {
|
|
2495
2498
|
const { data: t, sortParams: r, fields: n } = e, { rows: i, columns: s, values: a } = n;
|
|
2496
2499
|
if (!t || t.length === 0 || !i.length && !s.length && !a.length)
|
|
2497
2500
|
return {
|
|
2498
2501
|
list: [],
|
|
2499
|
-
dataExpandFilter: (
|
|
2502
|
+
dataExpandFilter: (g) => g
|
|
2500
2503
|
};
|
|
2501
|
-
const
|
|
2502
|
-
t.forEach((
|
|
2503
|
-
const
|
|
2504
|
-
|
|
2505
|
-
const
|
|
2506
|
-
|
|
2507
|
-
const
|
|
2508
|
-
|
|
2504
|
+
const d = Ye(i), l = Ye(s), c = Ye(a), h = c.filter((g) => !g.hidden), v = d.map((g) => g.field), E = l.map((g) => g.field), z = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map(), S = /* @__PURE__ */ new Map();
|
|
2505
|
+
t.forEach((g) => {
|
|
2506
|
+
const w = ft(g, v);
|
|
2507
|
+
z.has(w) || z.set(w, []), z.get(w).push(g);
|
|
2508
|
+
const _ = ft(g, E);
|
|
2509
|
+
A.has(_) || A.set(_, []), A.get(_).push(g);
|
|
2510
|
+
const R = `${w}||${_}`;
|
|
2511
|
+
S.has(R) || S.set(R, []), S.get(R).push(g);
|
|
2509
2512
|
});
|
|
2510
|
-
const
|
|
2513
|
+
const u = () => Array.from(z.entries()).sort(([g, w], [_, R]) => {
|
|
2511
2514
|
if (r && r.length > 0)
|
|
2512
|
-
for (const
|
|
2513
|
-
const { field:
|
|
2514
|
-
if (
|
|
2515
|
-
return
|
|
2516
|
-
if (
|
|
2517
|
-
return
|
|
2515
|
+
for (const m of r) {
|
|
2516
|
+
const { field: O, sortType: x } = m, P = x === "asc", C = me(w[0], O), D = me(R[0], O);
|
|
2517
|
+
if (C < D)
|
|
2518
|
+
return P ? -1 : 1;
|
|
2519
|
+
if (C > D)
|
|
2520
|
+
return P ? 1 : -1;
|
|
2518
2521
|
}
|
|
2519
|
-
for (let
|
|
2520
|
-
const
|
|
2521
|
-
if (
|
|
2522
|
-
if (
|
|
2523
|
-
const
|
|
2524
|
-
if (
|
|
2525
|
-
return
|
|
2526
|
-
if (
|
|
2527
|
-
return
|
|
2522
|
+
for (let m = 0; m < v.length; m++) {
|
|
2523
|
+
const O = v[m], x = d[m], P = me(w[0], O), C = me(R[0], O);
|
|
2524
|
+
if (P !== C)
|
|
2525
|
+
if (x.sort && x.sort.enabled) {
|
|
2526
|
+
const D = x.sort.type === "asc";
|
|
2527
|
+
if (P < C)
|
|
2528
|
+
return D ? -1 : 1;
|
|
2529
|
+
if (P > C)
|
|
2530
|
+
return D ? 1 : -1;
|
|
2528
2531
|
} else {
|
|
2529
|
-
if (
|
|
2532
|
+
if (P < C)
|
|
2530
2533
|
return -1;
|
|
2531
|
-
if (
|
|
2534
|
+
if (P > C)
|
|
2532
2535
|
return 1;
|
|
2533
2536
|
}
|
|
2534
2537
|
}
|
|
2535
2538
|
return 0;
|
|
2536
|
-
}),
|
|
2537
|
-
for (let
|
|
2538
|
-
const
|
|
2539
|
-
if (
|
|
2540
|
-
if (
|
|
2541
|
-
const
|
|
2542
|
-
if (
|
|
2543
|
-
return
|
|
2544
|
-
if (
|
|
2545
|
-
return
|
|
2539
|
+
}), j = () => Array.from(A.entries()).sort(([g, w], [_, R]) => {
|
|
2540
|
+
for (let m = 0; m < E.length; m++) {
|
|
2541
|
+
const O = E[m], x = l[m], P = me(w[0], O), C = me(R[0], O);
|
|
2542
|
+
if (P !== C)
|
|
2543
|
+
if (x.sort && x.sort.enabled) {
|
|
2544
|
+
const D = x.sort.type === "asc";
|
|
2545
|
+
if (P < C)
|
|
2546
|
+
return D ? -1 : 1;
|
|
2547
|
+
if (P > C)
|
|
2548
|
+
return D ? 1 : -1;
|
|
2546
2549
|
} else {
|
|
2547
|
-
if (
|
|
2550
|
+
if (P < C)
|
|
2548
2551
|
return -1;
|
|
2549
|
-
if (
|
|
2552
|
+
if (P > C)
|
|
2550
2553
|
return 1;
|
|
2551
2554
|
}
|
|
2552
2555
|
}
|
|
2553
2556
|
return 0;
|
|
2554
|
-
}),
|
|
2555
|
-
const
|
|
2556
|
-
for (let
|
|
2557
|
-
|
|
2558
|
-
return
|
|
2559
|
-
}, P = () => {
|
|
2560
|
-
const v = j(), C = /* @__PURE__ */ new Set();
|
|
2561
|
-
return v.forEach((w, m) => {
|
|
2562
|
-
const g = w[w.length - 1];
|
|
2563
|
-
g.total && g.total.enabled && C.add(m);
|
|
2564
|
-
}), C;
|
|
2557
|
+
}), T = () => {
|
|
2558
|
+
const g = [], w = Ye(i);
|
|
2559
|
+
for (let _ = 1; _ <= w.length; _++)
|
|
2560
|
+
g.push(w.slice(0, _));
|
|
2561
|
+
return g;
|
|
2565
2562
|
}, J = () => {
|
|
2566
|
-
const
|
|
2567
|
-
return
|
|
2568
|
-
|
|
2569
|
-
m
|
|
2570
|
-
|
|
2571
|
-
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2563
|
+
const g = T(), w = /* @__PURE__ */ new Set();
|
|
2564
|
+
return g.forEach((_, R) => {
|
|
2565
|
+
const m = _[_.length - 1];
|
|
2566
|
+
m.total && m.total.enabled && w.add(R);
|
|
2567
|
+
}), w;
|
|
2568
|
+
}, I = () => {
|
|
2569
|
+
const g = T(), w = [], _ = J();
|
|
2570
|
+
return _.size === 0 || _.forEach((R) => {
|
|
2571
|
+
let m = [];
|
|
2572
|
+
R > 0 && (m = g[R - 1]);
|
|
2573
|
+
const O = {};
|
|
2574
|
+
t.forEach((x) => {
|
|
2575
|
+
let P = "";
|
|
2576
|
+
if (R > 0 ? P = m.map((C) => me(x, C.field)).join("|") : P = "__GLOBAL__", !O[P]) {
|
|
2577
|
+
const D = g[R][R].total;
|
|
2578
|
+
O[P] = {
|
|
2576
2579
|
records: [],
|
|
2577
|
-
config:
|
|
2580
|
+
config: D
|
|
2578
2581
|
};
|
|
2579
2582
|
}
|
|
2580
|
-
|
|
2581
|
-
}),
|
|
2582
|
-
}),
|
|
2583
|
-
},
|
|
2584
|
-
if (
|
|
2585
|
-
const
|
|
2586
|
-
|
|
2587
|
-
const
|
|
2588
|
-
if (
|
|
2589
|
-
const
|
|
2590
|
-
if (
|
|
2591
|
-
const
|
|
2592
|
-
|
|
2593
|
-
ne.startsWith(
|
|
2583
|
+
O[P].records.push(x);
|
|
2584
|
+
}), w.push({ level: R, data: O });
|
|
2585
|
+
}), w;
|
|
2586
|
+
}, N = j(), $ = /* @__PURE__ */ new Map(), k = (g, w) => {
|
|
2587
|
+
if (ce.has(g)) {
|
|
2588
|
+
const _ = ce.get(g), m = !_.get(w);
|
|
2589
|
+
_.set(w, m), dt.set("rowKey", w), dt.set("level", g), dt.set("expanded", m);
|
|
2590
|
+
const O = g - 1;
|
|
2591
|
+
if (O >= 0 && O < d.length && d[O].clickExpandChildren && m === !0) {
|
|
2592
|
+
const P = g + 1;
|
|
2593
|
+
if (ce.has(P)) {
|
|
2594
|
+
const C = ce.get(P), D = w + "|";
|
|
2595
|
+
C.forEach((K, ne) => {
|
|
2596
|
+
ne.startsWith(D) && (C.set(ne, !0), p(P, ne));
|
|
2594
2597
|
});
|
|
2595
2598
|
}
|
|
2596
2599
|
}
|
|
2597
2600
|
}
|
|
2598
|
-
},
|
|
2599
|
-
const
|
|
2600
|
-
if (
|
|
2601
|
-
const
|
|
2602
|
-
|
|
2603
|
-
|
|
2601
|
+
}, p = (g, w) => {
|
|
2602
|
+
const _ = g + 1;
|
|
2603
|
+
if (ce.has(_)) {
|
|
2604
|
+
const R = ce.get(_), m = w + "|";
|
|
2605
|
+
R.forEach((O, x) => {
|
|
2606
|
+
x.startsWith(m) && (R.set(x, !0), p(_, x));
|
|
2604
2607
|
});
|
|
2605
2608
|
}
|
|
2606
|
-
},
|
|
2607
|
-
const
|
|
2608
|
-
if (
|
|
2609
|
-
return
|
|
2610
|
-
for (let
|
|
2611
|
-
const { level:
|
|
2612
|
-
Object.keys(
|
|
2613
|
-
const { records:
|
|
2614
|
-
let
|
|
2615
|
-
if (
|
|
2616
|
-
|
|
2609
|
+
}, F = (g) => {
|
|
2610
|
+
const w = I(), _ = [...g];
|
|
2611
|
+
if (w.length === 0)
|
|
2612
|
+
return _;
|
|
2613
|
+
for (let R = 0; R < w.length; R++) {
|
|
2614
|
+
const { level: m, data: O } = w[R];
|
|
2615
|
+
Object.keys(O).forEach((x) => {
|
|
2616
|
+
const { records: P, config: C } = O[x], { label: D = Gt, position: K = "bottom" } = C || {}, ne = x.split("|");
|
|
2617
|
+
let y = -1, le = -1;
|
|
2618
|
+
if (m === 0)
|
|
2619
|
+
y = 0, le = _.length - 1;
|
|
2617
2620
|
else
|
|
2618
|
-
for (let
|
|
2619
|
-
const
|
|
2620
|
-
|
|
2621
|
-
var
|
|
2622
|
-
return ((
|
|
2623
|
-
}) && (
|
|
2621
|
+
for (let X = 0; X < _.length; X++) {
|
|
2622
|
+
const ae = _[X];
|
|
2623
|
+
v.slice(0, m).every((Pe, we) => {
|
|
2624
|
+
var ie;
|
|
2625
|
+
return ((ie = ae[we]) == null ? void 0 : ie.content) === ne[we];
|
|
2626
|
+
}) && (y === -1 && (y = X), le = X);
|
|
2624
2627
|
}
|
|
2625
|
-
if (
|
|
2626
|
-
const
|
|
2627
|
-
let
|
|
2628
|
-
|
|
2629
|
-
let
|
|
2630
|
-
const
|
|
2631
|
-
|
|
2632
|
-
const
|
|
2633
|
-
(
|
|
2634
|
-
content:
|
|
2628
|
+
if (y !== -1) {
|
|
2629
|
+
const X = [];
|
|
2630
|
+
let ae = "";
|
|
2631
|
+
v.forEach((Pe, we) => {
|
|
2632
|
+
let ie = Ce;
|
|
2633
|
+
const te = we + 1, ue = te < v.length, Me = d[we];
|
|
2634
|
+
we <= m && (we === m ? ie = D : ie = ne[we], ae += `|${ie}`);
|
|
2635
|
+
const We = ce.has(te) && ce.get(te).get(ae) || !0;
|
|
2636
|
+
(ie === Ce || ie === null || ie === void 0) && Me.emptyReplace && (ie = Me.emptyReplace), X.push({
|
|
2637
|
+
content: ie,
|
|
2635
2638
|
rowspan: 1,
|
|
2636
2639
|
colspan: 1,
|
|
2637
2640
|
data: null,
|
|
2638
|
-
rowKey:
|
|
2639
|
-
expandable:
|
|
2640
|
-
expanded:
|
|
2641
|
-
level:
|
|
2642
|
-
onClick:
|
|
2641
|
+
rowKey: ae,
|
|
2642
|
+
expandable: K === "top" && ue && ie !== Ce && ie !== Gt,
|
|
2643
|
+
expanded: K === "top" ? We : !1,
|
|
2644
|
+
level: te,
|
|
2645
|
+
onClick: K === "top" && ue ? (ze) => k(ze.level, ze.rowKey) : void 0
|
|
2643
2646
|
});
|
|
2644
|
-
}),
|
|
2645
|
-
const
|
|
2646
|
-
c.forEach((
|
|
2647
|
-
if (
|
|
2647
|
+
}), N.forEach(([Pe, we]) => {
|
|
2648
|
+
const ie = {};
|
|
2649
|
+
c.forEach((te) => {
|
|
2650
|
+
if (te.calculateType === "expr")
|
|
2648
2651
|
return;
|
|
2649
|
-
const
|
|
2650
|
-
let
|
|
2651
|
-
|
|
2652
|
-
}), c.forEach((
|
|
2653
|
-
if (
|
|
2654
|
-
const
|
|
2655
|
-
|
|
2652
|
+
const ue = te.field, Me = te.calculateType || "sum", ze = P.filter((Ve) => ft(Ve, E) === Pe).map((Ve) => me(Ve, ue));
|
|
2653
|
+
let je = 0;
|
|
2654
|
+
Ue[Me] && (je = Ue[Me](ze)), ie[te.field] = je;
|
|
2655
|
+
}), c.forEach((te) => {
|
|
2656
|
+
if (te.calculateType === "expr" && te.expression) {
|
|
2657
|
+
const ue = Jt(te.expression, ie);
|
|
2658
|
+
ie[te.field] = ue !== null ? ue : 0;
|
|
2656
2659
|
}
|
|
2657
|
-
}),
|
|
2658
|
-
let
|
|
2659
|
-
(
|
|
2660
|
-
content:
|
|
2660
|
+
}), h.forEach((te) => {
|
|
2661
|
+
let ue = ie[te.field];
|
|
2662
|
+
(ue === Ce || ue === null || ue === void 0 || typeof ue == "number" && isNaN(ue)) && te.emptyReplace && (ue = te.emptyReplace), X.push({
|
|
2663
|
+
content: ue,
|
|
2661
2664
|
rowspan: 1,
|
|
2662
2665
|
colspan: 1,
|
|
2663
2666
|
data: null
|
|
2664
2667
|
});
|
|
2665
2668
|
});
|
|
2666
2669
|
});
|
|
2667
|
-
const
|
|
2668
|
-
|
|
2670
|
+
const ve = K === "top" ? y : le + 1;
|
|
2671
|
+
ht.has(ae) || (_.splice(ve, 0, X), ht.set(ae, 1), K === "top" && m > 0 && $.set(x, ae));
|
|
2669
2672
|
}
|
|
2670
2673
|
});
|
|
2671
2674
|
}
|
|
2672
|
-
return
|
|
2673
|
-
},
|
|
2674
|
-
|
|
2675
|
-
let
|
|
2676
|
-
|
|
2677
|
-
const
|
|
2678
|
-
|
|
2679
|
-
const
|
|
2680
|
-
|
|
2675
|
+
return _;
|
|
2676
|
+
}, M = Ye(i);
|
|
2677
|
+
ce.clear(), t.forEach((g) => {
|
|
2678
|
+
let w = "";
|
|
2679
|
+
v.forEach((_, R) => {
|
|
2680
|
+
const m = R + 1, O = me(g, _);
|
|
2681
|
+
w += `|${O}`, ce.has(m) || ce.set(m, /* @__PURE__ */ new Map());
|
|
2682
|
+
const x = d[R].collapsed;
|
|
2683
|
+
ce.get(m).set(w, !x);
|
|
2681
2684
|
});
|
|
2682
2685
|
});
|
|
2683
|
-
const
|
|
2684
|
-
let
|
|
2686
|
+
const W = u();
|
|
2687
|
+
let Y = [];
|
|
2685
2688
|
const H = /* @__PURE__ */ new Map();
|
|
2686
|
-
|
|
2687
|
-
const
|
|
2688
|
-
let
|
|
2689
|
-
|
|
2690
|
-
const
|
|
2691
|
-
|
|
2692
|
-
const
|
|
2693
|
-
|
|
2689
|
+
W.forEach(([g, w]) => {
|
|
2690
|
+
const _ = w[0];
|
|
2691
|
+
let R = "";
|
|
2692
|
+
v.forEach((m, O) => {
|
|
2693
|
+
const x = me(_, m), P = O + 1;
|
|
2694
|
+
R += `|${x}`, H.has(P) || H.set(P, /* @__PURE__ */ new Map());
|
|
2695
|
+
const C = H.get(P);
|
|
2696
|
+
C.set(R, (C.get(R) || 0) + 1);
|
|
2694
2697
|
});
|
|
2695
|
-
}),
|
|
2696
|
-
const
|
|
2697
|
-
let
|
|
2698
|
-
|
|
2699
|
-
var
|
|
2700
|
-
let
|
|
2701
|
-
const
|
|
2702
|
-
|
|
2703
|
-
let ne =
|
|
2704
|
-
const
|
|
2705
|
-
if ((
|
|
2706
|
-
const
|
|
2707
|
-
|
|
2698
|
+
}), W.forEach(([g, w]) => {
|
|
2699
|
+
const _ = w[0], R = [];
|
|
2700
|
+
let m = "";
|
|
2701
|
+
v.forEach((O, x) => {
|
|
2702
|
+
var ae;
|
|
2703
|
+
let P = me(_, O);
|
|
2704
|
+
const C = x + 1, D = C < v.length, K = d[x];
|
|
2705
|
+
m += `|${P}`;
|
|
2706
|
+
let ne = g;
|
|
2707
|
+
const y = M.find((ve) => ve.field === O);
|
|
2708
|
+
if ((ae = y == null ? void 0 : y.total) != null && ae.enabled && y.total.label && (ne = `${m}|${y.total.label}`), D) {
|
|
2709
|
+
const ve = m;
|
|
2710
|
+
$.has(ve) || $.set(ve, ne);
|
|
2708
2711
|
}
|
|
2709
|
-
const
|
|
2710
|
-
(
|
|
2711
|
-
content:
|
|
2712
|
+
const le = ce.has(C) && ce.get(C).get(m) || !0, X = C < v.length ? (H.get(C).get(m) || 0) > 1 : !1;
|
|
2713
|
+
(P === Ce || P === null || P === void 0) && K.emptyReplace && (P = K.emptyReplace), R.push({
|
|
2714
|
+
content: P,
|
|
2712
2715
|
rowspan: 1,
|
|
2713
2716
|
colspan: 1,
|
|
2714
|
-
data:
|
|
2715
|
-
expandable:
|
|
2716
|
-
expanded:
|
|
2717
|
-
level:
|
|
2718
|
-
rowKey:
|
|
2719
|
-
onClick:
|
|
2717
|
+
data: _,
|
|
2718
|
+
expandable: D && X,
|
|
2719
|
+
expanded: le,
|
|
2720
|
+
level: C,
|
|
2721
|
+
rowKey: m,
|
|
2722
|
+
onClick: D && X ? (ve) => k(ve.level, ve.rowKey) : void 0
|
|
2720
2723
|
});
|
|
2721
|
-
}),
|
|
2722
|
-
const
|
|
2723
|
-
c.forEach((
|
|
2724
|
-
if (
|
|
2724
|
+
}), N.forEach(([O, x]) => {
|
|
2725
|
+
const P = {};
|
|
2726
|
+
c.forEach((C) => {
|
|
2727
|
+
if (C.calculateType === "expr")
|
|
2725
2728
|
return;
|
|
2726
|
-
const
|
|
2727
|
-
let
|
|
2728
|
-
|
|
2729
|
-
}), c.forEach((
|
|
2730
|
-
if (
|
|
2731
|
-
const
|
|
2732
|
-
|
|
2729
|
+
const D = C.field, K = C.calculateType || "sum", ne = `${g}||${O}`, le = (S.get(ne) || []).map((ae) => me(ae, D));
|
|
2730
|
+
let X = 0;
|
|
2731
|
+
Ue[K] && (X = Ue[K](le)), P[C.field] = X;
|
|
2732
|
+
}), c.forEach((C) => {
|
|
2733
|
+
if (C.calculateType === "expr" && C.expression) {
|
|
2734
|
+
const D = Jt(C.expression, P);
|
|
2735
|
+
P[C.field] = D !== null ? D : 0;
|
|
2733
2736
|
}
|
|
2734
|
-
}),
|
|
2735
|
-
let
|
|
2736
|
-
(
|
|
2737
|
-
content:
|
|
2737
|
+
}), h.forEach((C) => {
|
|
2738
|
+
let D = P[C.field];
|
|
2739
|
+
(D === Ce || D === null || D === void 0 || typeof D == "number" && isNaN(D)) && C.emptyReplace && (D = C.emptyReplace), R.push({
|
|
2740
|
+
content: D,
|
|
2738
2741
|
rowspan: 1,
|
|
2739
2742
|
colspan: 1,
|
|
2740
|
-
data:
|
|
2743
|
+
data: _
|
|
2741
2744
|
});
|
|
2742
2745
|
});
|
|
2743
|
-
}),
|
|
2746
|
+
}), Y.push({ cells: R, rowKey: m });
|
|
2744
2747
|
});
|
|
2745
|
-
const
|
|
2746
|
-
const
|
|
2747
|
-
for (let
|
|
2748
|
-
if (
|
|
2749
|
-
const
|
|
2750
|
-
if (
|
|
2751
|
-
const
|
|
2752
|
-
if (
|
|
2748
|
+
const ee = (g) => {
|
|
2749
|
+
const _ = g.split("|").filter(Boolean).length;
|
|
2750
|
+
for (let R = 1; R < _; R++)
|
|
2751
|
+
if (ce.has(R)) {
|
|
2752
|
+
const m = ce.get(R), O = g.split("|").slice(0, R + 1).join("|");
|
|
2753
|
+
if (m.has(O) && !m.get(O)) {
|
|
2754
|
+
const x = O, P = $.get(x);
|
|
2755
|
+
if (g !== P)
|
|
2753
2756
|
return !1;
|
|
2754
2757
|
}
|
|
2755
2758
|
}
|
|
2756
2759
|
return !0;
|
|
2757
|
-
},
|
|
2758
|
-
var
|
|
2759
|
-
if (!
|
|
2760
|
-
return
|
|
2761
|
-
for (let
|
|
2762
|
-
let
|
|
2763
|
-
for (let
|
|
2764
|
-
const
|
|
2760
|
+
}, de = (g) => {
|
|
2761
|
+
var w, _;
|
|
2762
|
+
if (!g || g.length === 0)
|
|
2763
|
+
return g;
|
|
2764
|
+
for (let R = 0; R < d.length; R++) {
|
|
2765
|
+
let m = g[0][R].content, O = 0, x = d[R], P = (w = x.total) == null ? void 0 : w.enabled, C = ((_ = x.total) == null ? void 0 : _.label) || "";
|
|
2766
|
+
for (let D = 1; D < g.length; D++) {
|
|
2767
|
+
const K = g[D][R];
|
|
2765
2768
|
let ne = !0;
|
|
2766
|
-
if (
|
|
2767
|
-
for (let
|
|
2768
|
-
const
|
|
2769
|
-
if (
|
|
2769
|
+
if (R > 0)
|
|
2770
|
+
for (let y = 0; y < R; y++) {
|
|
2771
|
+
const le = g[O][y], X = g[D][y];
|
|
2772
|
+
if (le.content !== X.content) {
|
|
2770
2773
|
ne = !1;
|
|
2771
2774
|
break;
|
|
2772
2775
|
}
|
|
2773
2776
|
}
|
|
2774
|
-
|
|
2777
|
+
K.content !== Ce && (!P || K.content !== C) && K.content === m && ne ? (K.rowspan = 0, g[O][R].rowspan++) : (m = K.content, O = D);
|
|
2775
2778
|
}
|
|
2776
2779
|
}
|
|
2777
|
-
return
|
|
2778
|
-
},
|
|
2779
|
-
const
|
|
2780
|
-
const
|
|
2781
|
-
if (
|
|
2782
|
-
const
|
|
2783
|
-
|
|
2780
|
+
return g;
|
|
2781
|
+
}, be = (g) => {
|
|
2782
|
+
const w = g.filter((m) => ee(m.rowKey)), _ = w.map((m) => m.cells.map((O) => {
|
|
2783
|
+
const x = { ...O };
|
|
2784
|
+
if (x.expandable && x.level && x.rowKey && ce.has(x.level)) {
|
|
2785
|
+
const P = ce.get(x.level);
|
|
2786
|
+
P.has(x.rowKey) && (x.expanded = P.get(x.rowKey));
|
|
2784
2787
|
}
|
|
2785
|
-
return
|
|
2788
|
+
return x;
|
|
2786
2789
|
}));
|
|
2787
|
-
return
|
|
2788
|
-
rowKey:
|
|
2789
|
-
cells:
|
|
2790
|
+
return de(_), w.map((m, O) => ({
|
|
2791
|
+
rowKey: m.rowKey,
|
|
2792
|
+
cells: _[O]
|
|
2790
2793
|
}));
|
|
2791
2794
|
};
|
|
2792
|
-
|
|
2793
|
-
const
|
|
2794
|
-
let
|
|
2795
|
-
return
|
|
2796
|
-
|
|
2797
|
-
}), { cells:
|
|
2798
|
-
}),
|
|
2799
|
-
const
|
|
2800
|
-
if (
|
|
2801
|
-
|
|
2802
|
-
...
|
|
2803
|
-
width:
|
|
2795
|
+
ht.clear();
|
|
2796
|
+
const Se = Y.map((g) => g.cells), pe = F(Se).map((g, w) => {
|
|
2797
|
+
let _ = "";
|
|
2798
|
+
return g.forEach((R, m) => {
|
|
2799
|
+
m < v.length && R.rowKey && (_ = R.rowKey);
|
|
2800
|
+
}), { cells: g, rowKey: _ };
|
|
2801
|
+
}), Te = (() => {
|
|
2802
|
+
const g = [];
|
|
2803
|
+
if (d.forEach((w) => {
|
|
2804
|
+
g.push({
|
|
2805
|
+
...w,
|
|
2806
|
+
width: w.width || 100,
|
|
2804
2807
|
fixed: "left",
|
|
2805
|
-
key:
|
|
2808
|
+
key: w.field
|
|
2806
2809
|
});
|
|
2807
2810
|
}), l.length === 0)
|
|
2808
|
-
|
|
2809
|
-
|
|
2810
|
-
...
|
|
2811
|
-
width:
|
|
2812
|
-
key:
|
|
2811
|
+
h.forEach((w) => {
|
|
2812
|
+
g.push({
|
|
2813
|
+
...w,
|
|
2814
|
+
width: w.width || 100,
|
|
2815
|
+
key: w.field
|
|
2813
2816
|
});
|
|
2814
2817
|
});
|
|
2815
2818
|
else {
|
|
2816
|
-
const
|
|
2817
|
-
|
|
2818
|
-
const
|
|
2819
|
-
let
|
|
2820
|
-
|
|
2821
|
-
var
|
|
2822
|
-
let
|
|
2823
|
-
if (!
|
|
2824
|
-
const ne = `${((
|
|
2819
|
+
const w = [];
|
|
2820
|
+
N.forEach(([_, R]) => {
|
|
2821
|
+
const m = _.split("|").filter((x) => x !== "");
|
|
2822
|
+
let O = w;
|
|
2823
|
+
m.forEach((x, P) => {
|
|
2824
|
+
var D;
|
|
2825
|
+
let C = O.find((K) => K.title === x);
|
|
2826
|
+
if (!C) {
|
|
2827
|
+
const ne = `${((D = l[P]) == null ? void 0 : D.field) || "unknown"}__${x}`, y = {
|
|
2825
2828
|
field: ne,
|
|
2826
|
-
title:
|
|
2829
|
+
title: x,
|
|
2827
2830
|
children: [],
|
|
2828
2831
|
key: ne
|
|
2829
2832
|
};
|
|
2830
|
-
|
|
2833
|
+
O.push(y), C = y;
|
|
2831
2834
|
}
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
...
|
|
2835
|
-
field: `${
|
|
2836
|
-
title:
|
|
2837
|
-
width:
|
|
2838
|
-
key: `${
|
|
2835
|
+
P === m.length - 1 ? h.forEach((K) => {
|
|
2836
|
+
C.children || (C.children = []), C.children.push({
|
|
2837
|
+
...K,
|
|
2838
|
+
field: `${_}||${K.field}`,
|
|
2839
|
+
title: K.title || K.field,
|
|
2840
|
+
width: K.width || 100,
|
|
2841
|
+
key: `${_}||${K.field}`
|
|
2839
2842
|
});
|
|
2840
|
-
}) : (
|
|
2843
|
+
}) : (C.children || (C.children = []), O = C.children);
|
|
2841
2844
|
});
|
|
2842
|
-
}),
|
|
2845
|
+
}), g.push(...w);
|
|
2843
2846
|
}
|
|
2844
|
-
return
|
|
2847
|
+
return g;
|
|
2845
2848
|
})();
|
|
2846
2849
|
return {
|
|
2847
|
-
list:
|
|
2848
|
-
dataExpandFilter:
|
|
2849
|
-
tableColumns:
|
|
2850
|
+
list: pe,
|
|
2851
|
+
dataExpandFilter: be,
|
|
2852
|
+
tableColumns: Te
|
|
2850
2853
|
};
|
|
2851
2854
|
}, Zn = (e) => {
|
|
2852
2855
|
const { data: t, fields: r } = e, { rows: n, columns: i, values: s } = r;
|
|
@@ -2855,60 +2858,60 @@ const Yn = (e) => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "64 64 896 896", focu
|
|
|
2855
2858
|
if (!t || t.length === 0)
|
|
2856
2859
|
return { list: [], dataExpandFilter: (a) => a };
|
|
2857
2860
|
if (n.length === 0 && i.length === 0) {
|
|
2858
|
-
const a = s.filter((c) => !c.hidden),
|
|
2861
|
+
const a = s.filter((c) => !c.hidden), d = a.map((c) => ({
|
|
2859
2862
|
...c,
|
|
2860
2863
|
width: c.width || 100,
|
|
2861
2864
|
key: c.field
|
|
2862
2865
|
}));
|
|
2863
2866
|
return {
|
|
2864
|
-
list: t.map((c,
|
|
2865
|
-
content: c[
|
|
2867
|
+
list: t.map((c, h) => ({ cells: a.map((E) => ({
|
|
2868
|
+
content: c[E.field] ?? Ce,
|
|
2866
2869
|
rowspan: 1,
|
|
2867
2870
|
colspan: 1,
|
|
2868
|
-
style:
|
|
2871
|
+
style: E.style,
|
|
2869
2872
|
data: c
|
|
2870
2873
|
// Pass original record for detail view cells
|
|
2871
|
-
})), rowKey:
|
|
2874
|
+
})), rowKey: h.toString() })),
|
|
2872
2875
|
dataExpandFilter: (c) => c,
|
|
2873
|
-
tableColumns:
|
|
2876
|
+
tableColumns: d
|
|
2874
2877
|
};
|
|
2875
2878
|
}
|
|
2876
2879
|
return Xn(e);
|
|
2877
|
-
}, to =
|
|
2878
|
-
const { scroll: t, data: r, meta: n, sortParams: i, fields: s } = e, [a,
|
|
2879
|
-
if (
|
|
2880
|
-
let p =
|
|
2880
|
+
}, to = Xt((e) => {
|
|
2881
|
+
const { scroll: t, data: r, meta: n, sortParams: i, fields: s } = e, [a, d] = $e(0), [l, c] = $e([]), [h, v] = $e([]), E = Le(null), z = ge(() => {
|
|
2882
|
+
if (E.current) {
|
|
2883
|
+
let p = E.current;
|
|
2881
2884
|
if (!p || !p.list || !p.dataExpandFilter)
|
|
2882
2885
|
return;
|
|
2883
2886
|
c(p.dataExpandFilter(p.list));
|
|
2884
2887
|
}
|
|
2885
2888
|
}, []);
|
|
2886
|
-
|
|
2889
|
+
et(() => {
|
|
2887
2890
|
let F = Zn({
|
|
2888
2891
|
data: r,
|
|
2889
2892
|
meta: n,
|
|
2890
2893
|
sortParams: i,
|
|
2891
2894
|
fields: s
|
|
2892
2895
|
});
|
|
2893
|
-
|
|
2894
|
-
}, [r, n, i, s,
|
|
2895
|
-
const A = ge((p) => p ? typeof p == "string" ? parseInt(p.replace("px", "")) || 0 : typeof p == "number" ? p : 0 : 0, []), { baseWidth:
|
|
2896
|
+
E.current = F, F.tableColumns && v(F.tableColumns), z();
|
|
2897
|
+
}, [r, n, i, s, z]);
|
|
2898
|
+
const A = ge((p) => p ? typeof p == "string" ? parseInt(p.replace("px", "")) || 0 : typeof p == "number" ? p : 0 : 0, []), { baseWidth: S, colCount: u } = ye(() => {
|
|
2896
2899
|
let p = 0, F = 0;
|
|
2897
2900
|
const M = (W) => {
|
|
2898
|
-
W.forEach((
|
|
2899
|
-
(!("type" in
|
|
2901
|
+
W.forEach((Y) => {
|
|
2902
|
+
(!("type" in Y) || Y.type !== "group") && (p += A(Y.width), F += 1), Y != null && Y.children && Y.children.length > 0 && M(Y.children);
|
|
2900
2903
|
});
|
|
2901
2904
|
};
|
|
2902
|
-
return M(
|
|
2903
|
-
}, [
|
|
2905
|
+
return M(h), { baseWidth: p, colCount: F };
|
|
2906
|
+
}, [h, A]), j = ye(() => {
|
|
2904
2907
|
const p = (F) => F.map((M) => {
|
|
2905
2908
|
let W = 0;
|
|
2906
|
-
|
|
2907
|
-
const
|
|
2908
|
-
return M.colSpan && M.colSpan > 1 ? M.width =
|
|
2909
|
+
S < a && u > 0 && (W = Math.floor((a - S) / u));
|
|
2910
|
+
const H = (M.width ? A(M.width) : Mn) + W;
|
|
2911
|
+
return M.colSpan && M.colSpan > 1 ? M.width = H * M.colSpan : M.width = H, M.fixed && (M.fixed = !1), M != null && M.children && M.children.length > 0 && (M.children = p(M.children)), M;
|
|
2909
2912
|
});
|
|
2910
|
-
return p(
|
|
2911
|
-
}, [
|
|
2913
|
+
return p(wt(h));
|
|
2914
|
+
}, [h, S, a, u, A]), T = ye(() => {
|
|
2912
2915
|
let p = 0;
|
|
2913
2916
|
const F = (M) => {
|
|
2914
2917
|
M.forEach((W) => {
|
|
@@ -2916,7 +2919,7 @@ const Yn = (e) => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "64 64 896 896", focu
|
|
|
2916
2919
|
});
|
|
2917
2920
|
};
|
|
2918
2921
|
return F(j), p;
|
|
2919
|
-
}, [j, A]), J =
|
|
2922
|
+
}, [j, A]), J = Le(null), I = Le(null), N = Le(!1), $ = ge(({ scrollLeft: p }) => {
|
|
2920
2923
|
N.current || (N.current = !0, J.current && (J.current.scrollLeft = p), requestAnimationFrame(() => {
|
|
2921
2924
|
N.current = !1;
|
|
2922
2925
|
}));
|
|
@@ -2925,20 +2928,20 @@ const Yn = (e) => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "64 64 896 896", focu
|
|
|
2925
2928
|
return;
|
|
2926
2929
|
N.current = !0;
|
|
2927
2930
|
const F = p.currentTarget.scrollLeft;
|
|
2928
|
-
|
|
2931
|
+
I.current && (I.current.scrollLeft = F), requestAnimationFrame(() => {
|
|
2929
2932
|
N.current = !1;
|
|
2930
2933
|
});
|
|
2931
2934
|
}, []);
|
|
2932
2935
|
return /* @__PURE__ */ Q.jsx(
|
|
2933
|
-
|
|
2936
|
+
St,
|
|
2934
2937
|
{
|
|
2935
2938
|
onResize: ({ width: p }) => {
|
|
2936
|
-
p && p !== a &&
|
|
2939
|
+
p && p !== a && d(p);
|
|
2937
2940
|
},
|
|
2938
2941
|
children: /* @__PURE__ */ Q.jsxs(
|
|
2939
2942
|
"div",
|
|
2940
2943
|
{
|
|
2941
|
-
className:
|
|
2944
|
+
className: Ct("virtual-table", e.className),
|
|
2942
2945
|
style: { width: "100%", ...e.style },
|
|
2943
2946
|
children: [
|
|
2944
2947
|
/* @__PURE__ */ Q.jsx(
|
|
@@ -2956,14 +2959,14 @@ const Yn = (e) => /* @__PURE__ */ Q.jsxs("svg", { viewBox: "64 64 896 896", focu
|
|
|
2956
2959
|
{
|
|
2957
2960
|
data: l,
|
|
2958
2961
|
info: {
|
|
2959
|
-
ref:
|
|
2960
|
-
onScroll:
|
|
2962
|
+
ref: I,
|
|
2963
|
+
onScroll: $
|
|
2961
2964
|
},
|
|
2962
2965
|
scroll: t,
|
|
2963
2966
|
columns: j,
|
|
2964
2967
|
tableWidth: a,
|
|
2965
|
-
gridWidth:
|
|
2966
|
-
handleExpand:
|
|
2968
|
+
gridWidth: T,
|
|
2969
|
+
handleExpand: z,
|
|
2967
2970
|
meta: n
|
|
2968
2971
|
}
|
|
2969
2972
|
) })
|