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