test-stpr-ui-kit 0.4.22 → 0.4.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/test-stpr-ui-kit.js +361 -361
- package/dist/test-stpr-ui-kit.umd.cjs +6 -6
- package/package.json +1 -1
package/dist/test-stpr-ui-kit.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as Y, jsx as l, Fragment as cn } from "react/jsx-runtime";
|
|
2
2
|
import * as N from "react";
|
|
3
3
|
import We, { useState as ce, useEffect as ae, useRef as Te, useCallback as le, forwardRef as zn, useImperativeHandle as Bn, Fragment as Mn, useMemo as Oe, useReducer as Wn, createContext as ln, useContext as dn } from "react";
|
|
4
4
|
import qn from "react-dom";
|
|
@@ -75,7 +75,7 @@ const ao = "_spAccordion_ui7ma_43", io = "_spAccordion_noBorder_ui7ma_57", ro =
|
|
|
75
75
|
classNameChildrenWrapper: g
|
|
76
76
|
} = e, [b, E] = ce(o), h = () => {
|
|
77
77
|
a || (E(!b), i == null || i(!b));
|
|
78
|
-
},
|
|
78
|
+
}, A = _({
|
|
79
79
|
[se.spAccordion]: !0,
|
|
80
80
|
[se.spAccordion_open]: b,
|
|
81
81
|
[se.spAccordion_noOpen]: !b,
|
|
@@ -85,11 +85,11 @@ const ao = "_spAccordion_ui7ma_43", io = "_spAccordion_noBorder_ui7ma_57", ro =
|
|
|
85
85
|
}), L = _({
|
|
86
86
|
[se.spAccordion__header]: !0,
|
|
87
87
|
...c && { [c]: !0 }
|
|
88
|
-
}),
|
|
88
|
+
}), V = _({
|
|
89
89
|
[se.spAccordion__name]: !0,
|
|
90
90
|
[se.spAccordion__name_hiddenExpand]: a,
|
|
91
91
|
...u && { [u]: !0 }
|
|
92
|
-
}),
|
|
92
|
+
}), D = _({
|
|
93
93
|
[se.spAccordion__icon]: !0,
|
|
94
94
|
[se.spAccordion__icon_open]: b,
|
|
95
95
|
[se.spAccordion__icon_hidden]: a,
|
|
@@ -102,10 +102,10 @@ const ao = "_spAccordion_ui7ma_43", io = "_spAccordion_noBorder_ui7ma_57", ro =
|
|
|
102
102
|
[se.spAccordion__content]: !0,
|
|
103
103
|
[se.spAccordion__content_open]: b
|
|
104
104
|
});
|
|
105
|
-
return /* @__PURE__ */
|
|
106
|
-
/* @__PURE__ */
|
|
107
|
-
/* @__PURE__ */ l("div", { className:
|
|
108
|
-
/* @__PURE__ */ l(ge, { onClick: h, className:
|
|
105
|
+
return /* @__PURE__ */ Y("div", { className: A, children: [
|
|
106
|
+
/* @__PURE__ */ Y("div", { className: L, children: [
|
|
107
|
+
/* @__PURE__ */ l("div", { className: V, children: /* @__PURE__ */ l("span", { onClick: h, children: t }) }),
|
|
108
|
+
/* @__PURE__ */ l(ge, { onClick: h, className: D, name: re.ChevronDown })
|
|
109
109
|
] }),
|
|
110
110
|
/* @__PURE__ */ l("div", { className: w, children: /* @__PURE__ */ l("div", { className: p, children: n }) })
|
|
111
111
|
] });
|
|
@@ -160,21 +160,21 @@ const ao = "_spAccordion_ui7ma_43", io = "_spAccordion_noBorder_ui7ma_57", ro =
|
|
|
160
160
|
isOnlyIcon: b = !1,
|
|
161
161
|
noPadding: E = !1,
|
|
162
162
|
classNameRoot: h,
|
|
163
|
-
classNameIconContainerRoot:
|
|
163
|
+
classNameIconContainerRoot: A
|
|
164
164
|
} = e, L = (w) => {
|
|
165
165
|
s || a == null || a(w);
|
|
166
|
-
},
|
|
166
|
+
}, V = () => {
|
|
167
167
|
const w = _({
|
|
168
168
|
[be.spButton__text]: !0
|
|
169
169
|
}), p = _({
|
|
170
170
|
[be.spButton__iconContainer]: !0,
|
|
171
|
-
...
|
|
171
|
+
...A && { [A]: !0 }
|
|
172
172
|
});
|
|
173
|
-
return /* @__PURE__ */
|
|
173
|
+
return /* @__PURE__ */ Y(cn, { children: [
|
|
174
174
|
(i || d) && /* @__PURE__ */ l("div", { className: p, children: d ? /* @__PURE__ */ l(wo, { classNameRoot: be.spButton__spinner }) : i && /* @__PURE__ */ l(ge, { name: i, rotate: r }) }),
|
|
175
175
|
!b && u && /* @__PURE__ */ l("div", { className: w, children: u })
|
|
176
176
|
] });
|
|
177
|
-
},
|
|
177
|
+
}, D = _({
|
|
178
178
|
[be.spButton]: !0,
|
|
179
179
|
[be.spButton_noPadding]: E,
|
|
180
180
|
[be.spButton_onlyIcon]: b,
|
|
@@ -189,12 +189,12 @@ const ao = "_spAccordion_ui7ma_43", io = "_spAccordion_noBorder_ui7ma_57", ro =
|
|
|
189
189
|
"button",
|
|
190
190
|
{
|
|
191
191
|
style: o,
|
|
192
|
-
className:
|
|
192
|
+
className: D,
|
|
193
193
|
onClick: L,
|
|
194
194
|
disabled: s,
|
|
195
195
|
type: m,
|
|
196
196
|
form: c,
|
|
197
|
-
children:
|
|
197
|
+
children: V()
|
|
198
198
|
}
|
|
199
199
|
);
|
|
200
200
|
}, Po = "_spApplyButtons_e8c1h_43", Fo = "_spApplyButtons__cancel_e8c1h_65", zo = "_spApplyButtons__submit_e8c1h_68", ze = {
|
|
@@ -227,7 +227,7 @@ const ao = "_spAccordion_ui7ma_43", io = "_spAccordion_noBorder_ui7ma_57", ro =
|
|
|
227
227
|
}), E = _({
|
|
228
228
|
[ze.spApplyButtons__cancel]: !0
|
|
229
229
|
});
|
|
230
|
-
return /* @__PURE__ */
|
|
230
|
+
return /* @__PURE__ */ Y("div", { className: g, children: [
|
|
231
231
|
o && /* @__PURE__ */ l(
|
|
232
232
|
yt,
|
|
233
233
|
{
|
|
@@ -320,81 +320,81 @@ const It = (e) => {
|
|
|
320
320
|
classNameTooltip: g,
|
|
321
321
|
classNameBaseTooltipRoot: b,
|
|
322
322
|
classNameBaseTooltipContentRoot: E
|
|
323
|
-
} = e, [h,
|
|
323
|
+
} = e, [h, A] = ce(!1), L = Te(null), V = Te(null), [D, w] = ce(!1);
|
|
324
324
|
fn(
|
|
325
|
-
[L,
|
|
325
|
+
[L, V],
|
|
326
326
|
() => {
|
|
327
|
-
s && s(),
|
|
327
|
+
s && s(), A(!1);
|
|
328
328
|
},
|
|
329
329
|
h
|
|
330
330
|
);
|
|
331
|
-
const p = (
|
|
332
|
-
o &&
|
|
333
|
-
}, [
|
|
331
|
+
const p = (k) => {
|
|
332
|
+
o && k.stopPropagation(), !t && (h ? s && s() : r && r(), A((q) => n ? !q : !0));
|
|
333
|
+
}, [T, P] = ce({
|
|
334
334
|
visibility: "hidden",
|
|
335
335
|
opacity: 0,
|
|
336
336
|
left: "-9999px"
|
|
337
337
|
}), [U, J] = ce(!1), ne = le(() => {
|
|
338
|
-
if (!L.current || !
|
|
339
|
-
const
|
|
340
|
-
let X = 0,
|
|
338
|
+
if (!L.current || !V.current) return;
|
|
339
|
+
const k = L.current.getBoundingClientRect(), q = V.current.getBoundingClientRect();
|
|
340
|
+
let X = 0, j = 0;
|
|
341
341
|
switch (c) {
|
|
342
342
|
case ie.Right:
|
|
343
|
-
X =
|
|
343
|
+
X = k.top + window.scrollY - (q.height - k.height) / 2, j = k.right + window.scrollX;
|
|
344
344
|
break;
|
|
345
345
|
case ie.RightTop:
|
|
346
|
-
X =
|
|
346
|
+
X = k.top + window.scrollY, j = k.right + window.scrollX;
|
|
347
347
|
break;
|
|
348
348
|
case ie.RightBottom:
|
|
349
|
-
X =
|
|
349
|
+
X = k.bottom + window.scrollY - q.height, j = k.right + window.scrollX;
|
|
350
350
|
break;
|
|
351
351
|
case ie.Left:
|
|
352
|
-
X =
|
|
352
|
+
X = k.top + window.scrollY - (q.height - k.height) / 2, j = k.left + window.scrollX - q.width;
|
|
353
353
|
break;
|
|
354
354
|
case ie.LeftTop:
|
|
355
|
-
X =
|
|
355
|
+
X = k.top + window.scrollY, j = k.left + window.scrollX - q.width;
|
|
356
356
|
break;
|
|
357
357
|
case ie.LeftBottom:
|
|
358
|
-
X =
|
|
358
|
+
X = k.bottom + window.scrollY - q.height, j = k.left + window.scrollX - q.width;
|
|
359
359
|
break;
|
|
360
360
|
case ie.Bottom:
|
|
361
|
-
X =
|
|
361
|
+
X = k.bottom + window.scrollY, j = k.left + window.scrollX - (q.width - k.width) / 2;
|
|
362
362
|
break;
|
|
363
363
|
case ie.BottomLeft:
|
|
364
|
-
X =
|
|
364
|
+
X = k.bottom + window.scrollY, j = k.left + window.scrollX;
|
|
365
365
|
break;
|
|
366
366
|
case ie.BottomRight:
|
|
367
|
-
X =
|
|
367
|
+
X = k.bottom + window.scrollY, j = k.right + window.scrollX - q.width;
|
|
368
368
|
break;
|
|
369
369
|
case ie.Top:
|
|
370
|
-
X =
|
|
370
|
+
X = k.top + window.scrollY - q.height, j = k.left + window.scrollX - (q.width - k.width) / 2;
|
|
371
371
|
break;
|
|
372
372
|
case ie.TopLeft:
|
|
373
|
-
X =
|
|
373
|
+
X = k.top + window.scrollY - q.height, j = k.left + window.scrollX;
|
|
374
374
|
break;
|
|
375
375
|
case ie.TopRight:
|
|
376
|
-
X =
|
|
376
|
+
X = k.top + window.scrollY - q.height, j = k.right + window.scrollX - q.width;
|
|
377
377
|
break;
|
|
378
378
|
default:
|
|
379
|
-
X =
|
|
379
|
+
X = k.bottom + window.scrollY, j = k.left + window.scrollX;
|
|
380
380
|
}
|
|
381
|
-
X +
|
|
381
|
+
X + q.height > window.innerHeight + window.scrollY && c.includes("bottom") ? X = k.top + window.scrollY - q.height : X < window.scrollY && c.includes("top") && (X = k.bottom + window.scrollY), j + q.width > window.innerWidth + window.scrollX && c.includes("left") ? j = k.left + window.scrollX - q.width + k.width : j < window.scrollX && c.includes("right") && (j = k.right + window.scrollX - k.width), P((f) => ({
|
|
382
382
|
...f,
|
|
383
383
|
top: `${X}px`,
|
|
384
|
-
left: `${
|
|
384
|
+
left: `${j}px`,
|
|
385
385
|
visibility: h || U ? "visible" : "hidden",
|
|
386
386
|
opacity: h || U ? 1 : 0
|
|
387
387
|
}));
|
|
388
388
|
}, [c, h, U]);
|
|
389
389
|
ae(() => (w(!0), () => w(!1)), []), ae(() => {
|
|
390
|
-
|
|
391
|
-
}, [
|
|
392
|
-
if (!
|
|
393
|
-
const
|
|
394
|
-
return window.addEventListener("resize",
|
|
395
|
-
window.removeEventListener("resize",
|
|
390
|
+
D && ne();
|
|
391
|
+
}, [D, ne]), ae(() => {
|
|
392
|
+
if (!D) return;
|
|
393
|
+
const k = () => ne();
|
|
394
|
+
return window.addEventListener("resize", k), window.addEventListener("scroll", k, !0), () => {
|
|
395
|
+
window.removeEventListener("resize", k), window.removeEventListener("scroll", k, !0);
|
|
396
396
|
};
|
|
397
|
-
}, [
|
|
397
|
+
}, [D, ne]);
|
|
398
398
|
const de = _({
|
|
399
399
|
[Dt.spTooltip]: !0,
|
|
400
400
|
...g && { [g]: !0 }
|
|
@@ -402,11 +402,11 @@ const It = (e) => {
|
|
|
402
402
|
...b && { [b]: !0 }
|
|
403
403
|
}), me = _({
|
|
404
404
|
...E && { [E]: !0 }
|
|
405
|
-
}),
|
|
405
|
+
}), $ = _({
|
|
406
406
|
[Dt.spTooltip__trigger]: !0,
|
|
407
407
|
...m && { [m]: !0 }
|
|
408
408
|
}), Z = document.body;
|
|
409
|
-
return /* @__PURE__ */
|
|
409
|
+
return /* @__PURE__ */ Y(
|
|
410
410
|
"div",
|
|
411
411
|
{
|
|
412
412
|
className: de,
|
|
@@ -414,12 +414,12 @@ const It = (e) => {
|
|
|
414
414
|
onMouseEnter: () => t && J(!0),
|
|
415
415
|
onMouseLeave: () => t && J(!1),
|
|
416
416
|
children: [
|
|
417
|
-
/* @__PURE__ */ l("div", { ref: L, className:
|
|
417
|
+
/* @__PURE__ */ l("div", { ref: L, className: $, children: i }),
|
|
418
418
|
a && /* @__PURE__ */ l(_n, { node: Z, children: /* @__PURE__ */ l(
|
|
419
419
|
mn,
|
|
420
420
|
{
|
|
421
|
-
style:
|
|
422
|
-
ref:
|
|
421
|
+
style: T,
|
|
422
|
+
ref: V,
|
|
423
423
|
noPadding: d,
|
|
424
424
|
text: u,
|
|
425
425
|
classNameRoot: ue,
|
|
@@ -461,7 +461,7 @@ const It = (e) => {
|
|
|
461
461
|
} = e, h = _({
|
|
462
462
|
[ye.spCheckbox]: !0,
|
|
463
463
|
...b && { [b]: !0 }
|
|
464
|
-
}),
|
|
464
|
+
}), A = _({
|
|
465
465
|
[ye.spCheckbox__box]: !0,
|
|
466
466
|
[ye.spCheckbox__box_checked]: n,
|
|
467
467
|
[ye.spCheckbox__box_disabled]: o,
|
|
@@ -469,9 +469,9 @@ const It = (e) => {
|
|
|
469
469
|
[ye.spCheckbox__box_error]: s
|
|
470
470
|
}), L = _({
|
|
471
471
|
[ye.spCheckbox__control]: !0
|
|
472
|
-
}),
|
|
472
|
+
}), V = _({
|
|
473
473
|
[ye.spCheckbox__label]: !0
|
|
474
|
-
}),
|
|
474
|
+
}), D = _({
|
|
475
475
|
[ye.spCheckbox__required]: !0
|
|
476
476
|
}), w = _({
|
|
477
477
|
[ye.spCheckbox__error]: !0,
|
|
@@ -479,8 +479,8 @@ const It = (e) => {
|
|
|
479
479
|
}), p = _({
|
|
480
480
|
[ye.spCheckbox__tooltip]: !0
|
|
481
481
|
});
|
|
482
|
-
return /* @__PURE__ */
|
|
483
|
-
/* @__PURE__ */
|
|
482
|
+
return /* @__PURE__ */ Y("div", { className: h, onMouseEnter: g, children: [
|
|
483
|
+
/* @__PURE__ */ Y("label", { className: A, children: [
|
|
484
484
|
/* @__PURE__ */ l(
|
|
485
485
|
"input",
|
|
486
486
|
{
|
|
@@ -492,8 +492,8 @@ const It = (e) => {
|
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
494
|
),
|
|
495
|
-
r && /* @__PURE__ */ l("span", { className:
|
|
496
|
-
c && /* @__PURE__ */ l("div", { className:
|
|
495
|
+
r && /* @__PURE__ */ l("span", { className: V, children: r }),
|
|
496
|
+
c && /* @__PURE__ */ l("div", { className: D, children: "*" }),
|
|
497
497
|
d && /* @__PURE__ */ l("div", { className: p, children: /* @__PURE__ */ l(Qe, { position: u, text: d }) })
|
|
498
498
|
] }),
|
|
499
499
|
s && /* @__PURE__ */ l("div", { className: w, children: s })
|
|
@@ -600,26 +600,26 @@ const sa = "_modalWrapper_ah6vq_43", pa = "_modalWrapper__modal_ah6vq_54", ca =
|
|
|
600
600
|
...r && { [r]: !0 }
|
|
601
601
|
}), h = _({
|
|
602
602
|
[ke.modalWrapper__closeButton]: !0
|
|
603
|
-
}),
|
|
603
|
+
}), A = _({
|
|
604
604
|
[ke.modalWrapper__closeButtonIconContainer]: !0
|
|
605
605
|
}), L = _({
|
|
606
606
|
[ke.modalWrapper__content]: !0
|
|
607
|
-
}),
|
|
607
|
+
}), V = _({
|
|
608
608
|
[ke.modalWrapper__header]: !0
|
|
609
|
-
}),
|
|
609
|
+
}), D = _({
|
|
610
610
|
[ke.modalWrapper__subHeader]: !0
|
|
611
611
|
}), w = _({
|
|
612
612
|
[ke.modalWrapper__footer]: !0
|
|
613
613
|
});
|
|
614
614
|
return ae(() => {
|
|
615
|
-
const p = window.scrollY,
|
|
616
|
-
return
|
|
617
|
-
|
|
615
|
+
const p = window.scrollY, T = document.body;
|
|
616
|
+
return T.style.position = "fixed", T.style.top = `-${p}px`, T.style.left = "0", T.style.right = "0", T.style.overflow = "hidden", () => {
|
|
617
|
+
T.style.position = "", T.style.top = "", T.style.left = "", T.style.right = "", T.style.overflow = "", window.scrollTo(0, p);
|
|
618
618
|
};
|
|
619
|
-
}, []), /* @__PURE__ */ l(oa, { zIndex: t, isHiddenModal: n, classNameRoot: i, children: /* @__PURE__ */ l("div", { className: b, children: /* @__PURE__ */
|
|
620
|
-
(u || d) && /* @__PURE__ */
|
|
619
|
+
}, []), /* @__PURE__ */ l(oa, { zIndex: t, isHiddenModal: n, classNameRoot: i, children: /* @__PURE__ */ l("div", { className: b, children: /* @__PURE__ */ Y("div", { className: E, style: s, children: [
|
|
620
|
+
(u || d) && /* @__PURE__ */ Y("div", { className: V, children: [
|
|
621
621
|
typeof u == "string" ? /* @__PURE__ */ l(Se, { type: "h3", children: u }) : u,
|
|
622
|
-
d && /* @__PURE__ */ l("div", { className:
|
|
622
|
+
d && /* @__PURE__ */ l("div", { className: D, children: typeof d == "string" ? /* @__PURE__ */ l(Se, { children: d }) : d })
|
|
623
623
|
] }),
|
|
624
624
|
a && /* @__PURE__ */ l("div", { className: L, children: a }),
|
|
625
625
|
g && /* @__PURE__ */ l("div", { className: w, children: g }),
|
|
@@ -627,7 +627,7 @@ const sa = "_modalWrapper_ah6vq_43", pa = "_modalWrapper__modal_ah6vq_54", ca =
|
|
|
627
627
|
yt,
|
|
628
628
|
{
|
|
629
629
|
classNameRoot: h,
|
|
630
|
-
classNameIconContainerRoot:
|
|
630
|
+
classNameIconContainerRoot: A,
|
|
631
631
|
onClick: c,
|
|
632
632
|
iconName: re.Close,
|
|
633
633
|
variant: "link",
|
|
@@ -691,7 +691,7 @@ const sa = "_modalWrapper_ah6vq_43", pa = "_modalWrapper__modal_ah6vq_54", ca =
|
|
|
691
691
|
});
|
|
692
692
|
return /* @__PURE__ */ l("ul", { className: a, children: n == null ? void 0 : n.map((i) => {
|
|
693
693
|
const r = i.key === "delete";
|
|
694
|
-
return /* @__PURE__ */
|
|
694
|
+
return /* @__PURE__ */ Y(
|
|
695
695
|
"li",
|
|
696
696
|
{
|
|
697
697
|
className: _({
|
|
@@ -726,11 +726,11 @@ var Lt;
|
|
|
726
726
|
function ha() {
|
|
727
727
|
if (Lt) return G;
|
|
728
728
|
Lt = 1;
|
|
729
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, E = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121,
|
|
730
|
-
function
|
|
729
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, E = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121, A = e ? Symbol.for("react.fundamental") : 60117, L = e ? Symbol.for("react.responder") : 60118, V = e ? Symbol.for("react.scope") : 60119;
|
|
730
|
+
function D(p) {
|
|
731
731
|
if (typeof p == "object" && p !== null) {
|
|
732
|
-
var
|
|
733
|
-
switch (
|
|
732
|
+
var T = p.$$typeof;
|
|
733
|
+
switch (T) {
|
|
734
734
|
case t:
|
|
735
735
|
switch (p = p.type, p) {
|
|
736
736
|
case m:
|
|
@@ -749,44 +749,44 @@ function ha() {
|
|
|
749
749
|
case r:
|
|
750
750
|
return p;
|
|
751
751
|
default:
|
|
752
|
-
return
|
|
752
|
+
return T;
|
|
753
753
|
}
|
|
754
754
|
}
|
|
755
755
|
case n:
|
|
756
|
-
return
|
|
756
|
+
return T;
|
|
757
757
|
}
|
|
758
758
|
}
|
|
759
759
|
}
|
|
760
760
|
function w(p) {
|
|
761
|
-
return
|
|
761
|
+
return D(p) === c;
|
|
762
762
|
}
|
|
763
763
|
return G.AsyncMode = m, G.ConcurrentMode = c, G.ContextConsumer = s, G.ContextProvider = r, G.Element = t, G.ForwardRef = u, G.Fragment = o, G.Lazy = E, G.Memo = b, G.Portal = n, G.Profiler = i, G.StrictMode = a, G.Suspense = d, G.isAsyncMode = function(p) {
|
|
764
|
-
return w(p) ||
|
|
764
|
+
return w(p) || D(p) === m;
|
|
765
765
|
}, G.isConcurrentMode = w, G.isContextConsumer = function(p) {
|
|
766
|
-
return
|
|
766
|
+
return D(p) === s;
|
|
767
767
|
}, G.isContextProvider = function(p) {
|
|
768
|
-
return
|
|
768
|
+
return D(p) === r;
|
|
769
769
|
}, G.isElement = function(p) {
|
|
770
770
|
return typeof p == "object" && p !== null && p.$$typeof === t;
|
|
771
771
|
}, G.isForwardRef = function(p) {
|
|
772
|
-
return
|
|
772
|
+
return D(p) === u;
|
|
773
773
|
}, G.isFragment = function(p) {
|
|
774
|
-
return
|
|
774
|
+
return D(p) === o;
|
|
775
775
|
}, G.isLazy = function(p) {
|
|
776
|
-
return
|
|
776
|
+
return D(p) === E;
|
|
777
777
|
}, G.isMemo = function(p) {
|
|
778
|
-
return
|
|
778
|
+
return D(p) === b;
|
|
779
779
|
}, G.isPortal = function(p) {
|
|
780
|
-
return
|
|
780
|
+
return D(p) === n;
|
|
781
781
|
}, G.isProfiler = function(p) {
|
|
782
|
-
return
|
|
782
|
+
return D(p) === i;
|
|
783
783
|
}, G.isStrictMode = function(p) {
|
|
784
|
-
return
|
|
784
|
+
return D(p) === a;
|
|
785
785
|
}, G.isSuspense = function(p) {
|
|
786
|
-
return
|
|
786
|
+
return D(p) === d;
|
|
787
787
|
}, G.isValidElementType = function(p) {
|
|
788
|
-
return typeof p == "string" || typeof p == "function" || p === o || p === c || p === i || p === a || p === d || p === g || typeof p == "object" && p !== null && (p.$$typeof === E || p.$$typeof === b || p.$$typeof === r || p.$$typeof === s || p.$$typeof === u || p.$$typeof ===
|
|
789
|
-
}, G.typeOf =
|
|
788
|
+
return typeof p == "string" || typeof p == "function" || p === o || p === c || p === i || p === a || p === d || p === g || typeof p == "object" && p !== null && (p.$$typeof === E || p.$$typeof === b || p.$$typeof === r || p.$$typeof === s || p.$$typeof === u || p.$$typeof === A || p.$$typeof === L || p.$$typeof === V || p.$$typeof === h);
|
|
789
|
+
}, G.typeOf = D, G;
|
|
790
790
|
}
|
|
791
791
|
var K = {};
|
|
792
792
|
/** @license React v16.13.1
|
|
@@ -800,10 +800,10 @@ var K = {};
|
|
|
800
800
|
var Pt;
|
|
801
801
|
function ba() {
|
|
802
802
|
return Pt || (Pt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
803
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, E = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121,
|
|
804
|
-
function
|
|
803
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, E = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121, A = e ? Symbol.for("react.fundamental") : 60117, L = e ? Symbol.for("react.responder") : 60118, V = e ? Symbol.for("react.scope") : 60119;
|
|
804
|
+
function D(v) {
|
|
805
805
|
return typeof v == "string" || typeof v == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
806
|
-
v === o || v === c || v === i || v === a || v === d || v === g || typeof v == "object" && v !== null && (v.$$typeof === E || v.$$typeof === b || v.$$typeof === r || v.$$typeof === s || v.$$typeof === u || v.$$typeof ===
|
|
806
|
+
v === o || v === c || v === i || v === a || v === d || v === g || typeof v == "object" && v !== null && (v.$$typeof === E || v.$$typeof === b || v.$$typeof === r || v.$$typeof === s || v.$$typeof === u || v.$$typeof === A || v.$$typeof === L || v.$$typeof === V || v.$$typeof === h);
|
|
807
807
|
}
|
|
808
808
|
function w(v) {
|
|
809
809
|
if (typeof v == "object" && v !== null) {
|
|
@@ -837,8 +837,8 @@ function ba() {
|
|
|
837
837
|
}
|
|
838
838
|
}
|
|
839
839
|
}
|
|
840
|
-
var p = m,
|
|
841
|
-
function
|
|
840
|
+
var p = m, T = c, P = s, U = r, J = t, ne = u, de = o, ue = E, me = b, $ = n, Z = i, k = a, q = d, X = !1;
|
|
841
|
+
function j(v) {
|
|
842
842
|
return X || (X = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), f(v) || w(v) === m;
|
|
843
843
|
}
|
|
844
844
|
function f(v) {
|
|
@@ -859,7 +859,7 @@ function ba() {
|
|
|
859
859
|
function M(v) {
|
|
860
860
|
return w(v) === o;
|
|
861
861
|
}
|
|
862
|
-
function
|
|
862
|
+
function R(v) {
|
|
863
863
|
return w(v) === E;
|
|
864
864
|
}
|
|
865
865
|
function z(v) {
|
|
@@ -868,7 +868,7 @@ function ba() {
|
|
|
868
868
|
function W(v) {
|
|
869
869
|
return w(v) === n;
|
|
870
870
|
}
|
|
871
|
-
function
|
|
871
|
+
function H(v) {
|
|
872
872
|
return w(v) === i;
|
|
873
873
|
}
|
|
874
874
|
function B(v) {
|
|
@@ -877,7 +877,7 @@ function ba() {
|
|
|
877
877
|
function te(v) {
|
|
878
878
|
return w(v) === d;
|
|
879
879
|
}
|
|
880
|
-
K.AsyncMode = p, K.ConcurrentMode =
|
|
880
|
+
K.AsyncMode = p, K.ConcurrentMode = T, K.ContextConsumer = P, K.ContextProvider = U, K.Element = J, K.ForwardRef = ne, K.Fragment = de, K.Lazy = ue, K.Memo = me, K.Portal = $, K.Profiler = Z, K.StrictMode = k, K.Suspense = q, K.isAsyncMode = j, K.isConcurrentMode = f, K.isContextConsumer = y, K.isContextProvider = O, K.isElement = F, K.isForwardRef = I, K.isFragment = M, K.isLazy = R, K.isMemo = z, K.isPortal = W, K.isProfiler = H, K.isStrictMode = B, K.isSuspense = te, K.isValidElementType = D, K.typeOf = w;
|
|
881
881
|
}()), K;
|
|
882
882
|
}
|
|
883
883
|
var Ft;
|
|
@@ -1028,11 +1028,11 @@ function ka() {
|
|
|
1028
1028
|
object: L("object"),
|
|
1029
1029
|
string: L("string"),
|
|
1030
1030
|
symbol: L("symbol"),
|
|
1031
|
-
any:
|
|
1032
|
-
arrayOf:
|
|
1031
|
+
any: V(),
|
|
1032
|
+
arrayOf: D,
|
|
1033
1033
|
element: w(),
|
|
1034
1034
|
elementType: p(),
|
|
1035
|
-
instanceOf:
|
|
1035
|
+
instanceOf: T,
|
|
1036
1036
|
node: ne(),
|
|
1037
1037
|
objectOf: U,
|
|
1038
1038
|
oneOf: P,
|
|
@@ -1047,10 +1047,10 @@ function ka() {
|
|
|
1047
1047
|
this.message = f, this.data = y && typeof y == "object" ? y : {}, this.stack = "";
|
|
1048
1048
|
}
|
|
1049
1049
|
h.prototype = Error.prototype;
|
|
1050
|
-
function
|
|
1050
|
+
function A(f) {
|
|
1051
1051
|
if (process.env.NODE_ENV !== "production")
|
|
1052
1052
|
var y = {}, O = 0;
|
|
1053
|
-
function F(M,
|
|
1053
|
+
function F(M, R, z, W, H, B, te) {
|
|
1054
1054
|
if (W = W || g, B = B || z, te !== n) {
|
|
1055
1055
|
if (m) {
|
|
1056
1056
|
var v = new Error(
|
|
@@ -1065,111 +1065,111 @@ function ka() {
|
|
|
1065
1065
|
), y[fe] = !0, O++);
|
|
1066
1066
|
}
|
|
1067
1067
|
}
|
|
1068
|
-
return
|
|
1068
|
+
return R[z] == null ? M ? R[z] === null ? new h("The " + H + " `" + B + "` is marked as required " + ("in `" + W + "`, but its value is `null`.")) : new h("The " + H + " `" + B + "` is marked as required in " + ("`" + W + "`, but its value is `undefined`.")) : null : f(R, z, W, H, B);
|
|
1069
1069
|
}
|
|
1070
1070
|
var I = F.bind(null, !1);
|
|
1071
1071
|
return I.isRequired = F.bind(null, !0), I;
|
|
1072
1072
|
}
|
|
1073
1073
|
function L(f) {
|
|
1074
|
-
function y(O, F, I, M,
|
|
1075
|
-
var W = O[F],
|
|
1076
|
-
if (
|
|
1077
|
-
var B =
|
|
1074
|
+
function y(O, F, I, M, R, z) {
|
|
1075
|
+
var W = O[F], H = k(W);
|
|
1076
|
+
if (H !== f) {
|
|
1077
|
+
var B = q(W);
|
|
1078
1078
|
return new h(
|
|
1079
|
-
"Invalid " + M + " `" +
|
|
1079
|
+
"Invalid " + M + " `" + R + "` of type " + ("`" + B + "` supplied to `" + I + "`, expected ") + ("`" + f + "`."),
|
|
1080
1080
|
{ expectedType: f }
|
|
1081
1081
|
);
|
|
1082
1082
|
}
|
|
1083
1083
|
return null;
|
|
1084
1084
|
}
|
|
1085
|
-
return
|
|
1085
|
+
return A(y);
|
|
1086
1086
|
}
|
|
1087
|
-
function
|
|
1088
|
-
return
|
|
1087
|
+
function V() {
|
|
1088
|
+
return A(r);
|
|
1089
1089
|
}
|
|
1090
|
-
function
|
|
1091
|
-
function y(O, F, I, M,
|
|
1090
|
+
function D(f) {
|
|
1091
|
+
function y(O, F, I, M, R) {
|
|
1092
1092
|
if (typeof f != "function")
|
|
1093
|
-
return new h("Property `" +
|
|
1093
|
+
return new h("Property `" + R + "` of component `" + I + "` has invalid PropType notation inside arrayOf.");
|
|
1094
1094
|
var z = O[F];
|
|
1095
1095
|
if (!Array.isArray(z)) {
|
|
1096
|
-
var W =
|
|
1097
|
-
return new h("Invalid " + M + " `" +
|
|
1096
|
+
var W = k(z);
|
|
1097
|
+
return new h("Invalid " + M + " `" + R + "` of type " + ("`" + W + "` supplied to `" + I + "`, expected an array."));
|
|
1098
1098
|
}
|
|
1099
|
-
for (var
|
|
1100
|
-
var B = f(z,
|
|
1099
|
+
for (var H = 0; H < z.length; H++) {
|
|
1100
|
+
var B = f(z, H, I, M, R + "[" + H + "]", n);
|
|
1101
1101
|
if (B instanceof Error)
|
|
1102
1102
|
return B;
|
|
1103
1103
|
}
|
|
1104
1104
|
return null;
|
|
1105
1105
|
}
|
|
1106
|
-
return
|
|
1106
|
+
return A(y);
|
|
1107
1107
|
}
|
|
1108
1108
|
function w() {
|
|
1109
1109
|
function f(y, O, F, I, M) {
|
|
1110
|
-
var
|
|
1111
|
-
if (!s(
|
|
1112
|
-
var z =
|
|
1110
|
+
var R = y[O];
|
|
1111
|
+
if (!s(R)) {
|
|
1112
|
+
var z = k(R);
|
|
1113
1113
|
return new h("Invalid " + I + " `" + M + "` of type " + ("`" + z + "` supplied to `" + F + "`, expected a single ReactElement."));
|
|
1114
1114
|
}
|
|
1115
1115
|
return null;
|
|
1116
1116
|
}
|
|
1117
|
-
return
|
|
1117
|
+
return A(f);
|
|
1118
1118
|
}
|
|
1119
1119
|
function p() {
|
|
1120
1120
|
function f(y, O, F, I, M) {
|
|
1121
|
-
var
|
|
1122
|
-
if (!e.isValidElementType(
|
|
1123
|
-
var z =
|
|
1121
|
+
var R = y[O];
|
|
1122
|
+
if (!e.isValidElementType(R)) {
|
|
1123
|
+
var z = k(R);
|
|
1124
1124
|
return new h("Invalid " + I + " `" + M + "` of type " + ("`" + z + "` supplied to `" + F + "`, expected a single ReactElement type."));
|
|
1125
1125
|
}
|
|
1126
1126
|
return null;
|
|
1127
1127
|
}
|
|
1128
|
-
return
|
|
1128
|
+
return A(f);
|
|
1129
1129
|
}
|
|
1130
|
-
function
|
|
1131
|
-
function y(O, F, I, M,
|
|
1130
|
+
function T(f) {
|
|
1131
|
+
function y(O, F, I, M, R) {
|
|
1132
1132
|
if (!(O[F] instanceof f)) {
|
|
1133
|
-
var z = f.name || g, W =
|
|
1134
|
-
return new h("Invalid " + M + " `" +
|
|
1133
|
+
var z = f.name || g, W = j(O[F]);
|
|
1134
|
+
return new h("Invalid " + M + " `" + R + "` of type " + ("`" + W + "` supplied to `" + I + "`, expected ") + ("instance of `" + z + "`."));
|
|
1135
1135
|
}
|
|
1136
1136
|
return null;
|
|
1137
1137
|
}
|
|
1138
|
-
return
|
|
1138
|
+
return A(y);
|
|
1139
1139
|
}
|
|
1140
1140
|
function P(f) {
|
|
1141
1141
|
if (!Array.isArray(f))
|
|
1142
1142
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
1143
1143
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
1144
1144
|
) : i("Invalid argument supplied to oneOf, expected an array.")), r;
|
|
1145
|
-
function y(O, F, I, M,
|
|
1145
|
+
function y(O, F, I, M, R) {
|
|
1146
1146
|
for (var z = O[F], W = 0; W < f.length; W++)
|
|
1147
1147
|
if (E(z, f[W]))
|
|
1148
1148
|
return null;
|
|
1149
|
-
var
|
|
1150
|
-
var fe =
|
|
1149
|
+
var H = JSON.stringify(f, function(te, v) {
|
|
1150
|
+
var fe = q(v);
|
|
1151
1151
|
return fe === "symbol" ? String(v) : v;
|
|
1152
1152
|
});
|
|
1153
|
-
return new h("Invalid " + M + " `" +
|
|
1153
|
+
return new h("Invalid " + M + " `" + R + "` of value `" + String(z) + "` " + ("supplied to `" + I + "`, expected one of " + H + "."));
|
|
1154
1154
|
}
|
|
1155
|
-
return
|
|
1155
|
+
return A(y);
|
|
1156
1156
|
}
|
|
1157
1157
|
function U(f) {
|
|
1158
|
-
function y(O, F, I, M,
|
|
1158
|
+
function y(O, F, I, M, R) {
|
|
1159
1159
|
if (typeof f != "function")
|
|
1160
|
-
return new h("Property `" +
|
|
1161
|
-
var z = O[F], W =
|
|
1160
|
+
return new h("Property `" + R + "` of component `" + I + "` has invalid PropType notation inside objectOf.");
|
|
1161
|
+
var z = O[F], W = k(z);
|
|
1162
1162
|
if (W !== "object")
|
|
1163
|
-
return new h("Invalid " + M + " `" +
|
|
1164
|
-
for (var
|
|
1165
|
-
if (o(z,
|
|
1166
|
-
var B = f(z,
|
|
1163
|
+
return new h("Invalid " + M + " `" + R + "` of type " + ("`" + W + "` supplied to `" + I + "`, expected an object."));
|
|
1164
|
+
for (var H in z)
|
|
1165
|
+
if (o(z, H)) {
|
|
1166
|
+
var B = f(z, H, I, M, R + "." + H, n);
|
|
1167
1167
|
if (B instanceof Error)
|
|
1168
1168
|
return B;
|
|
1169
1169
|
}
|
|
1170
1170
|
return null;
|
|
1171
1171
|
}
|
|
1172
|
-
return
|
|
1172
|
+
return A(y);
|
|
1173
1173
|
}
|
|
1174
1174
|
function J(f) {
|
|
1175
1175
|
if (!Array.isArray(f))
|
|
@@ -1181,23 +1181,23 @@ function ka() {
|
|
|
1181
1181
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + X(O) + " at index " + y + "."
|
|
1182
1182
|
), r;
|
|
1183
1183
|
}
|
|
1184
|
-
function F(I, M,
|
|
1185
|
-
for (var
|
|
1186
|
-
var te = f[B], v = te(I, M,
|
|
1184
|
+
function F(I, M, R, z, W) {
|
|
1185
|
+
for (var H = [], B = 0; B < f.length; B++) {
|
|
1186
|
+
var te = f[B], v = te(I, M, R, z, W, n);
|
|
1187
1187
|
if (v == null)
|
|
1188
1188
|
return null;
|
|
1189
|
-
v.data && o(v.data, "expectedType") &&
|
|
1189
|
+
v.data && o(v.data, "expectedType") && H.push(v.data.expectedType);
|
|
1190
1190
|
}
|
|
1191
|
-
var fe =
|
|
1192
|
-
return new h("Invalid " + z + " `" + W + "` supplied to " + ("`" +
|
|
1191
|
+
var fe = H.length > 0 ? ", expected one of type [" + H.join(", ") + "]" : "";
|
|
1192
|
+
return new h("Invalid " + z + " `" + W + "` supplied to " + ("`" + R + "`" + fe + "."));
|
|
1193
1193
|
}
|
|
1194
|
-
return
|
|
1194
|
+
return A(F);
|
|
1195
1195
|
}
|
|
1196
1196
|
function ne() {
|
|
1197
1197
|
function f(y, O, F, I, M) {
|
|
1198
|
-
return
|
|
1198
|
+
return $(y[O]) ? null : new h("Invalid " + I + " `" + M + "` supplied to " + ("`" + F + "`, expected a ReactNode."));
|
|
1199
1199
|
}
|
|
1200
|
-
return
|
|
1200
|
+
return A(f);
|
|
1201
1201
|
}
|
|
1202
1202
|
function de(f, y, O, F, I) {
|
|
1203
1203
|
return new h(
|
|
@@ -1205,46 +1205,46 @@ function ka() {
|
|
|
1205
1205
|
);
|
|
1206
1206
|
}
|
|
1207
1207
|
function ue(f) {
|
|
1208
|
-
function y(O, F, I, M,
|
|
1209
|
-
var z = O[F], W =
|
|
1208
|
+
function y(O, F, I, M, R) {
|
|
1209
|
+
var z = O[F], W = k(z);
|
|
1210
1210
|
if (W !== "object")
|
|
1211
|
-
return new h("Invalid " + M + " `" +
|
|
1212
|
-
for (var
|
|
1213
|
-
var B = f[
|
|
1211
|
+
return new h("Invalid " + M + " `" + R + "` of type `" + W + "` " + ("supplied to `" + I + "`, expected `object`."));
|
|
1212
|
+
for (var H in f) {
|
|
1213
|
+
var B = f[H];
|
|
1214
1214
|
if (typeof B != "function")
|
|
1215
|
-
return de(I, M,
|
|
1216
|
-
var te = B(z,
|
|
1215
|
+
return de(I, M, R, H, q(B));
|
|
1216
|
+
var te = B(z, H, I, M, R + "." + H, n);
|
|
1217
1217
|
if (te)
|
|
1218
1218
|
return te;
|
|
1219
1219
|
}
|
|
1220
1220
|
return null;
|
|
1221
1221
|
}
|
|
1222
|
-
return
|
|
1222
|
+
return A(y);
|
|
1223
1223
|
}
|
|
1224
1224
|
function me(f) {
|
|
1225
|
-
function y(O, F, I, M,
|
|
1226
|
-
var z = O[F], W =
|
|
1225
|
+
function y(O, F, I, M, R) {
|
|
1226
|
+
var z = O[F], W = k(z);
|
|
1227
1227
|
if (W !== "object")
|
|
1228
|
-
return new h("Invalid " + M + " `" +
|
|
1229
|
-
var
|
|
1230
|
-
for (var B in
|
|
1228
|
+
return new h("Invalid " + M + " `" + R + "` of type `" + W + "` " + ("supplied to `" + I + "`, expected `object`."));
|
|
1229
|
+
var H = t({}, O[F], f);
|
|
1230
|
+
for (var B in H) {
|
|
1231
1231
|
var te = f[B];
|
|
1232
1232
|
if (o(f, B) && typeof te != "function")
|
|
1233
|
-
return de(I, M,
|
|
1233
|
+
return de(I, M, R, B, q(te));
|
|
1234
1234
|
if (!te)
|
|
1235
1235
|
return new h(
|
|
1236
|
-
"Invalid " + M + " `" +
|
|
1236
|
+
"Invalid " + M + " `" + R + "` key `" + B + "` supplied to `" + I + "`.\nBad object: " + JSON.stringify(O[F], null, " ") + `
|
|
1237
1237
|
Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
|
|
1238
1238
|
);
|
|
1239
|
-
var v = te(z, B, I, M,
|
|
1239
|
+
var v = te(z, B, I, M, R + "." + B, n);
|
|
1240
1240
|
if (v)
|
|
1241
1241
|
return v;
|
|
1242
1242
|
}
|
|
1243
1243
|
return null;
|
|
1244
1244
|
}
|
|
1245
|
-
return
|
|
1245
|
+
return A(y);
|
|
1246
1246
|
}
|
|
1247
|
-
function
|
|
1247
|
+
function $(f) {
|
|
1248
1248
|
switch (typeof f) {
|
|
1249
1249
|
case "number":
|
|
1250
1250
|
case "string":
|
|
@@ -1254,7 +1254,7 @@ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
|
|
|
1254
1254
|
return !f;
|
|
1255
1255
|
case "object":
|
|
1256
1256
|
if (Array.isArray(f))
|
|
1257
|
-
return f.every(
|
|
1257
|
+
return f.every($);
|
|
1258
1258
|
if (f === null || s(f))
|
|
1259
1259
|
return !0;
|
|
1260
1260
|
var y = d(f);
|
|
@@ -1262,12 +1262,12 @@ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
|
|
|
1262
1262
|
var O = y.call(f), F;
|
|
1263
1263
|
if (y !== f.entries) {
|
|
1264
1264
|
for (; !(F = O.next()).done; )
|
|
1265
|
-
if (
|
|
1265
|
+
if (!$(F.value))
|
|
1266
1266
|
return !1;
|
|
1267
1267
|
} else
|
|
1268
1268
|
for (; !(F = O.next()).done; ) {
|
|
1269
1269
|
var I = F.value;
|
|
1270
|
-
if (I &&
|
|
1270
|
+
if (I && !$(I[1]))
|
|
1271
1271
|
return !1;
|
|
1272
1272
|
}
|
|
1273
1273
|
} else
|
|
@@ -1280,14 +1280,14 @@ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
|
|
|
1280
1280
|
function Z(f, y) {
|
|
1281
1281
|
return f === "symbol" ? !0 : y ? y["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && y instanceof Symbol : !1;
|
|
1282
1282
|
}
|
|
1283
|
-
function
|
|
1283
|
+
function k(f) {
|
|
1284
1284
|
var y = typeof f;
|
|
1285
1285
|
return Array.isArray(f) ? "array" : f instanceof RegExp ? "object" : Z(y, f) ? "symbol" : y;
|
|
1286
1286
|
}
|
|
1287
|
-
function
|
|
1287
|
+
function q(f) {
|
|
1288
1288
|
if (typeof f > "u" || f === null)
|
|
1289
1289
|
return "" + f;
|
|
1290
|
-
var y =
|
|
1290
|
+
var y = k(f);
|
|
1291
1291
|
if (y === "object") {
|
|
1292
1292
|
if (f instanceof Date)
|
|
1293
1293
|
return "date";
|
|
@@ -1297,7 +1297,7 @@ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
|
|
|
1297
1297
|
return y;
|
|
1298
1298
|
}
|
|
1299
1299
|
function X(f) {
|
|
1300
|
-
var y =
|
|
1300
|
+
var y = q(f);
|
|
1301
1301
|
switch (y) {
|
|
1302
1302
|
case "array":
|
|
1303
1303
|
case "object":
|
|
@@ -1310,7 +1310,7 @@ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
|
|
|
1310
1310
|
return y;
|
|
1311
1311
|
}
|
|
1312
1312
|
}
|
|
1313
|
-
function
|
|
1313
|
+
function j(f) {
|
|
1314
1314
|
return !f.constructor || !f.constructor.name ? g : f.constructor.name;
|
|
1315
1315
|
}
|
|
1316
1316
|
return b.checkPropTypes = a, b.resetWarningCache = a.resetWarningCache, b.PropTypes = b, b;
|
|
@@ -1370,7 +1370,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
1370
1370
|
} else
|
|
1371
1371
|
wt.exports = Ca()();
|
|
1372
1372
|
var Sa = wt.exports;
|
|
1373
|
-
const
|
|
1373
|
+
const C = /* @__PURE__ */ vn(Sa);
|
|
1374
1374
|
function Re(e, t, n, o) {
|
|
1375
1375
|
function a(i) {
|
|
1376
1376
|
return i instanceof n ? i : new n(function(r) {
|
|
@@ -3103,7 +3103,7 @@ Je.propTypes = {
|
|
|
3103
3103
|
* @param {File[]} params.acceptedFiles Accepted files
|
|
3104
3104
|
* @param {FileRejection[]} params.fileRejections Rejected files and why they were rejected
|
|
3105
3105
|
*/
|
|
3106
|
-
children:
|
|
3106
|
+
children: C.func,
|
|
3107
3107
|
/**
|
|
3108
3108
|
* Set accepted file types.
|
|
3109
3109
|
* Checkout https://developer.mozilla.org/en-US/docs/Web/API/window/showOpenFilePicker types option for more information.
|
|
@@ -3111,90 +3111,90 @@ Je.propTypes = {
|
|
|
3111
3111
|
* for example, are reported as text/plain under macOS but as application/vnd.ms-excel under
|
|
3112
3112
|
* Windows. In some cases there might not be a mime type set at all (https://github.com/react-dropzone/react-dropzone/issues/276).
|
|
3113
3113
|
*/
|
|
3114
|
-
accept:
|
|
3114
|
+
accept: C.objectOf(C.arrayOf(C.string)),
|
|
3115
3115
|
/**
|
|
3116
3116
|
* Allow drag 'n' drop (or selection from the file dialog) of multiple files
|
|
3117
3117
|
*/
|
|
3118
|
-
multiple:
|
|
3118
|
+
multiple: C.bool,
|
|
3119
3119
|
/**
|
|
3120
3120
|
* If false, allow dropped items to take over the current browser window
|
|
3121
3121
|
*/
|
|
3122
|
-
preventDropOnDocument:
|
|
3122
|
+
preventDropOnDocument: C.bool,
|
|
3123
3123
|
/**
|
|
3124
3124
|
* If true, disables click to open the native file selection dialog
|
|
3125
3125
|
*/
|
|
3126
|
-
noClick:
|
|
3126
|
+
noClick: C.bool,
|
|
3127
3127
|
/**
|
|
3128
3128
|
* If true, disables SPACE/ENTER to open the native file selection dialog.
|
|
3129
3129
|
* Note that it also stops tracking the focus state.
|
|
3130
3130
|
*/
|
|
3131
|
-
noKeyboard:
|
|
3131
|
+
noKeyboard: C.bool,
|
|
3132
3132
|
/**
|
|
3133
3133
|
* If true, disables drag 'n' drop
|
|
3134
3134
|
*/
|
|
3135
|
-
noDrag:
|
|
3135
|
+
noDrag: C.bool,
|
|
3136
3136
|
/**
|
|
3137
3137
|
* If true, stops drag event propagation to parents
|
|
3138
3138
|
*/
|
|
3139
|
-
noDragEventsBubbling:
|
|
3139
|
+
noDragEventsBubbling: C.bool,
|
|
3140
3140
|
/**
|
|
3141
3141
|
* Minimum file size (in bytes)
|
|
3142
3142
|
*/
|
|
3143
|
-
minSize:
|
|
3143
|
+
minSize: C.number,
|
|
3144
3144
|
/**
|
|
3145
3145
|
* Maximum file size (in bytes)
|
|
3146
3146
|
*/
|
|
3147
|
-
maxSize:
|
|
3147
|
+
maxSize: C.number,
|
|
3148
3148
|
/**
|
|
3149
3149
|
* Maximum accepted number of files
|
|
3150
3150
|
* The default value is 0 which means there is no limitation to how many files are accepted.
|
|
3151
3151
|
*/
|
|
3152
|
-
maxFiles:
|
|
3152
|
+
maxFiles: C.number,
|
|
3153
3153
|
/**
|
|
3154
3154
|
* Enable/disable the dropzone
|
|
3155
3155
|
*/
|
|
3156
|
-
disabled:
|
|
3156
|
+
disabled: C.bool,
|
|
3157
3157
|
/**
|
|
3158
3158
|
* Use this to provide a custom file aggregator
|
|
3159
3159
|
*
|
|
3160
3160
|
* @param {(DragEvent|Event|Array<FileSystemFileHandle>)} event A drag event or input change event (if files were selected via the file dialog)
|
|
3161
3161
|
*/
|
|
3162
|
-
getFilesFromEvent:
|
|
3162
|
+
getFilesFromEvent: C.func,
|
|
3163
3163
|
/**
|
|
3164
3164
|
* Cb for when closing the file dialog with no selection
|
|
3165
3165
|
*/
|
|
3166
|
-
onFileDialogCancel:
|
|
3166
|
+
onFileDialogCancel: C.func,
|
|
3167
3167
|
/**
|
|
3168
3168
|
* Cb for when opening the file dialog
|
|
3169
3169
|
*/
|
|
3170
|
-
onFileDialogOpen:
|
|
3170
|
+
onFileDialogOpen: C.func,
|
|
3171
3171
|
/**
|
|
3172
3172
|
* Set to true to use the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API
|
|
3173
3173
|
* to open the file picker instead of using an `<input type="file">` click event.
|
|
3174
3174
|
*/
|
|
3175
|
-
useFsAccessApi:
|
|
3175
|
+
useFsAccessApi: C.bool,
|
|
3176
3176
|
/**
|
|
3177
3177
|
* Set to true to focus the root element on render
|
|
3178
3178
|
*/
|
|
3179
|
-
autoFocus:
|
|
3179
|
+
autoFocus: C.bool,
|
|
3180
3180
|
/**
|
|
3181
3181
|
* Cb for when the `dragenter` event occurs.
|
|
3182
3182
|
*
|
|
3183
3183
|
* @param {DragEvent} event
|
|
3184
3184
|
*/
|
|
3185
|
-
onDragEnter:
|
|
3185
|
+
onDragEnter: C.func,
|
|
3186
3186
|
/**
|
|
3187
3187
|
* Cb for when the `dragleave` event occurs
|
|
3188
3188
|
*
|
|
3189
3189
|
* @param {DragEvent} event
|
|
3190
3190
|
*/
|
|
3191
|
-
onDragLeave:
|
|
3191
|
+
onDragLeave: C.func,
|
|
3192
3192
|
/**
|
|
3193
3193
|
* Cb for when the `dragover` event occurs
|
|
3194
3194
|
*
|
|
3195
3195
|
* @param {DragEvent} event
|
|
3196
3196
|
*/
|
|
3197
|
-
onDragOver:
|
|
3197
|
+
onDragOver: C.func,
|
|
3198
3198
|
/**
|
|
3199
3199
|
* Cb for when the `drop` event occurs.
|
|
3200
3200
|
* Note that this callback is invoked after the `getFilesFromEvent` callback is done.
|
|
@@ -3225,7 +3225,7 @@ Je.propTypes = {
|
|
|
3225
3225
|
* @param {FileRejection[]} fileRejections
|
|
3226
3226
|
* @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)
|
|
3227
3227
|
*/
|
|
3228
|
-
onDrop:
|
|
3228
|
+
onDrop: C.func,
|
|
3229
3229
|
/**
|
|
3230
3230
|
* Cb for when the `drop` event occurs.
|
|
3231
3231
|
* Note that if no files are accepted, this callback is not invoked.
|
|
@@ -3233,7 +3233,7 @@ Je.propTypes = {
|
|
|
3233
3233
|
* @param {File[]} files
|
|
3234
3234
|
* @param {(DragEvent|Event)} event
|
|
3235
3235
|
*/
|
|
3236
|
-
onDropAccepted:
|
|
3236
|
+
onDropAccepted: C.func,
|
|
3237
3237
|
/**
|
|
3238
3238
|
* Cb for when the `drop` event occurs.
|
|
3239
3239
|
* Note that if no files are rejected, this callback is not invoked.
|
|
@@ -3241,19 +3241,19 @@ Je.propTypes = {
|
|
|
3241
3241
|
* @param {FileRejection[]} fileRejections
|
|
3242
3242
|
* @param {(DragEvent|Event)} event
|
|
3243
3243
|
*/
|
|
3244
|
-
onDropRejected:
|
|
3244
|
+
onDropRejected: C.func,
|
|
3245
3245
|
/**
|
|
3246
3246
|
* Cb for when there's some error from any of the promises.
|
|
3247
3247
|
*
|
|
3248
3248
|
* @param {Error} error
|
|
3249
3249
|
*/
|
|
3250
|
-
onError:
|
|
3250
|
+
onError: C.func,
|
|
3251
3251
|
/**
|
|
3252
3252
|
* Custom validation function. It must return null if there's no errors.
|
|
3253
3253
|
* @param {File} file
|
|
3254
3254
|
* @returns {FileError|FileError[]|null}
|
|
3255
3255
|
*/
|
|
3256
|
-
validator:
|
|
3256
|
+
validator: C.func
|
|
3257
3257
|
};
|
|
3258
3258
|
var St = {
|
|
3259
3259
|
isFocused: !1,
|
|
@@ -3265,19 +3265,19 @@ var St = {
|
|
|
3265
3265
|
fileRejections: []
|
|
3266
3266
|
};
|
|
3267
3267
|
function bi() {
|
|
3268
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = Q(Q({}, In), e), n = t.accept, o = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, m = t.maxFiles, c = t.onDragEnter, u = t.onDragLeave, d = t.onDragOver, g = t.onDrop, b = t.onDropAccepted, E = t.onDropRejected, h = t.onFileDialogCancel,
|
|
3268
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = Q(Q({}, In), e), n = t.accept, o = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, m = t.maxFiles, c = t.onDragEnter, u = t.onDragLeave, d = t.onDragOver, g = t.onDrop, b = t.onDropAccepted, E = t.onDropRejected, h = t.onFileDialogCancel, A = t.onFileDialogOpen, L = t.useFsAccessApi, V = t.autoFocus, D = t.preventDropOnDocument, w = t.noClick, p = t.noKeyboard, T = t.noDrag, P = t.noDragEventsBubbling, U = t.onError, J = t.validator, ne = Oe(function() {
|
|
3269
3269
|
return ii(n);
|
|
3270
3270
|
}, [n]), de = Oe(function() {
|
|
3271
3271
|
return ai(n);
|
|
3272
3272
|
}, [n]), ue = Oe(function() {
|
|
3273
|
-
return typeof
|
|
3274
|
-
}, [
|
|
3273
|
+
return typeof A == "function" ? A : en;
|
|
3274
|
+
}, [A]), me = Oe(function() {
|
|
3275
3275
|
return typeof h == "function" ? h : en;
|
|
3276
|
-
}, [h]),
|
|
3276
|
+
}, [h]), $ = Te(null), Z = Te(null), k = Wn(yi, St), q = gt(k, 2), X = q[0], j = q[1], f = X.isFocused, y = X.isFileDialogActive, O = Te(typeof window < "u" && window.isSecureContext && L && oi()), F = function() {
|
|
3277
3277
|
!O.current && y && setTimeout(function() {
|
|
3278
3278
|
if (Z.current) {
|
|
3279
3279
|
var S = Z.current.files;
|
|
3280
|
-
S.length || (
|
|
3280
|
+
S.length || (j({
|
|
3281
3281
|
type: "closeDialog"
|
|
3282
3282
|
}), me());
|
|
3283
3283
|
}
|
|
@@ -3289,17 +3289,17 @@ function bi() {
|
|
|
3289
3289
|
};
|
|
3290
3290
|
}, [Z, y, me, O]);
|
|
3291
3291
|
var I = Te([]), M = function(S) {
|
|
3292
|
-
|
|
3292
|
+
$.current && $.current.contains(S.target) || (S.preventDefault(), I.current = []);
|
|
3293
3293
|
};
|
|
3294
3294
|
ae(function() {
|
|
3295
|
-
return
|
|
3296
|
-
|
|
3295
|
+
return D && (document.addEventListener("dragover", Qt, !1), document.addEventListener("drop", M, !1)), function() {
|
|
3296
|
+
D && (document.removeEventListener("dragover", Qt), document.removeEventListener("drop", M));
|
|
3297
3297
|
};
|
|
3298
|
-
}, [
|
|
3299
|
-
return !o &&
|
|
3298
|
+
}, [$, D]), ae(function() {
|
|
3299
|
+
return !o && V && $.current && $.current.focus(), function() {
|
|
3300
3300
|
};
|
|
3301
|
-
}, [
|
|
3302
|
-
var
|
|
3301
|
+
}, [$, V, o]);
|
|
3302
|
+
var R = le(function(x) {
|
|
3303
3303
|
U ? U(x) : console.error(x);
|
|
3304
3304
|
}, [U]), z = le(function(x) {
|
|
3305
3305
|
x.preventDefault(), x.persist(), $e(x), I.current = [].concat(ui(I.current), [x.target]), Ue(x) && Promise.resolve(a(x)).then(function(S) {
|
|
@@ -3313,7 +3313,7 @@ function bi() {
|
|
|
3313
3313
|
maxFiles: m,
|
|
3314
3314
|
validator: J
|
|
3315
3315
|
}), _e = ee > 0 && !oe;
|
|
3316
|
-
|
|
3316
|
+
j({
|
|
3317
3317
|
isDragAccept: oe,
|
|
3318
3318
|
isDragReject: _e,
|
|
3319
3319
|
isDragActive: !0,
|
|
@@ -3321,9 +3321,9 @@ function bi() {
|
|
|
3321
3321
|
}), c && c(x);
|
|
3322
3322
|
}
|
|
3323
3323
|
}).catch(function(S) {
|
|
3324
|
-
return
|
|
3324
|
+
return R(S);
|
|
3325
3325
|
});
|
|
3326
|
-
}, [a, c,
|
|
3326
|
+
}, [a, c, R, P, ne, r, i, s, m, J]), W = le(function(x) {
|
|
3327
3327
|
x.preventDefault(), x.persist(), $e(x);
|
|
3328
3328
|
var S = Ue(x);
|
|
3329
3329
|
if (S && x.dataTransfer)
|
|
@@ -3332,18 +3332,18 @@ function bi() {
|
|
|
3332
3332
|
} catch {
|
|
3333
3333
|
}
|
|
3334
3334
|
return S && d && d(x), !1;
|
|
3335
|
-
}, [d, P]),
|
|
3335
|
+
}, [d, P]), H = le(function(x) {
|
|
3336
3336
|
x.preventDefault(), x.persist(), $e(x);
|
|
3337
3337
|
var S = I.current.filter(function(oe) {
|
|
3338
|
-
return
|
|
3338
|
+
return $.current && $.current.contains(oe);
|
|
3339
3339
|
}), ee = S.indexOf(x.target);
|
|
3340
|
-
ee !== -1 && S.splice(ee, 1), I.current = S, !(S.length > 0) && (
|
|
3340
|
+
ee !== -1 && S.splice(ee, 1), I.current = S, !(S.length > 0) && (j({
|
|
3341
3341
|
type: "setDraggedFiles",
|
|
3342
3342
|
isDragActive: !1,
|
|
3343
3343
|
isDragAccept: !1,
|
|
3344
3344
|
isDragReject: !1
|
|
3345
3345
|
}), Ue(x) && u && u(x));
|
|
3346
|
-
}, [
|
|
3346
|
+
}, [$, u, P]), B = le(function(x, S) {
|
|
3347
3347
|
var ee = [], oe = [];
|
|
3348
3348
|
x.forEach(function(_e) {
|
|
3349
3349
|
var Fe = kn(_e, ne), De = gt(Fe, 2), tt = De[0], nt = De[1], ot = Cn(_e, r, i), He = gt(ot, 2), at = He[0], it = He[1], rt = J ? J(_e) : null;
|
|
@@ -3363,23 +3363,23 @@ function bi() {
|
|
|
3363
3363
|
file: _e,
|
|
3364
3364
|
errors: [Qa]
|
|
3365
3365
|
});
|
|
3366
|
-
}), ee.splice(0)),
|
|
3366
|
+
}), ee.splice(0)), j({
|
|
3367
3367
|
acceptedFiles: ee,
|
|
3368
3368
|
fileRejections: oe,
|
|
3369
3369
|
isDragReject: oe.length > 0,
|
|
3370
3370
|
type: "setFiles"
|
|
3371
3371
|
}), g && g(ee, oe, S), oe.length > 0 && E && E(oe, S), ee.length > 0 && b && b(ee, S);
|
|
3372
|
-
}, [
|
|
3372
|
+
}, [j, s, ne, r, i, m, g, b, E, J]), te = le(function(x) {
|
|
3373
3373
|
x.preventDefault(), x.persist(), $e(x), I.current = [], Ue(x) && Promise.resolve(a(x)).then(function(S) {
|
|
3374
3374
|
Xe(x) && !P || B(S, x);
|
|
3375
3375
|
}).catch(function(S) {
|
|
3376
|
-
return
|
|
3377
|
-
}),
|
|
3376
|
+
return R(S);
|
|
3377
|
+
}), j({
|
|
3378
3378
|
type: "reset"
|
|
3379
3379
|
});
|
|
3380
|
-
}, [a, B,
|
|
3380
|
+
}, [a, B, R, P]), v = le(function() {
|
|
3381
3381
|
if (O.current) {
|
|
3382
|
-
|
|
3382
|
+
j({
|
|
3383
3383
|
type: "openDialog"
|
|
3384
3384
|
}), ue();
|
|
3385
3385
|
var x = {
|
|
@@ -3389,27 +3389,27 @@ function bi() {
|
|
|
3389
3389
|
window.showOpenFilePicker(x).then(function(S) {
|
|
3390
3390
|
return a(S);
|
|
3391
3391
|
}).then(function(S) {
|
|
3392
|
-
B(S, null),
|
|
3392
|
+
B(S, null), j({
|
|
3393
3393
|
type: "closeDialog"
|
|
3394
3394
|
});
|
|
3395
3395
|
}).catch(function(S) {
|
|
3396
|
-
ri(S) ? (me(S),
|
|
3396
|
+
ri(S) ? (me(S), j({
|
|
3397
3397
|
type: "closeDialog"
|
|
3398
|
-
})) : si(S) ? (O.current = !1, Z.current ? (Z.current.value = null, Z.current.click()) :
|
|
3398
|
+
})) : si(S) ? (O.current = !1, Z.current ? (Z.current.value = null, Z.current.click()) : R(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))) : R(S);
|
|
3399
3399
|
});
|
|
3400
3400
|
return;
|
|
3401
3401
|
}
|
|
3402
|
-
Z.current && (
|
|
3402
|
+
Z.current && (j({
|
|
3403
3403
|
type: "openDialog"
|
|
3404
3404
|
}), ue(), Z.current.value = null, Z.current.click());
|
|
3405
|
-
}, [
|
|
3406
|
-
|
|
3407
|
-
}, [
|
|
3408
|
-
|
|
3405
|
+
}, [j, ue, me, L, B, R, de, s]), fe = le(function(x) {
|
|
3406
|
+
!$.current || !$.current.isEqualNode(x.target) || (x.key === " " || x.key === "Enter" || x.keyCode === 32 || x.keyCode === 13) && (x.preventDefault(), v());
|
|
3407
|
+
}, [$, v]), Ie = le(function() {
|
|
3408
|
+
j({
|
|
3409
3409
|
type: "focus"
|
|
3410
3410
|
});
|
|
3411
3411
|
}, []), Pe = le(function() {
|
|
3412
|
-
|
|
3412
|
+
j({
|
|
3413
3413
|
type: "blur"
|
|
3414
3414
|
});
|
|
3415
3415
|
}, []), At = le(function() {
|
|
@@ -3419,7 +3419,7 @@ function bi() {
|
|
|
3419
3419
|
}, et = function(S) {
|
|
3420
3420
|
return p ? null : Ae(S);
|
|
3421
3421
|
}, qe = function(S) {
|
|
3422
|
-
return
|
|
3422
|
+
return T ? null : Ae(S);
|
|
3423
3423
|
}, $e = function(S) {
|
|
3424
3424
|
P && S.stopPropagation();
|
|
3425
3425
|
}, On = Oe(function() {
|
|
@@ -3432,14 +3432,14 @@ function bi() {
|
|
|
3432
3432
|
onClick: Ae(we(tt, At)),
|
|
3433
3433
|
onDragEnter: qe(we(nt, z)),
|
|
3434
3434
|
onDragOver: qe(we(ot, W)),
|
|
3435
|
-
onDragLeave: qe(we(He,
|
|
3435
|
+
onDragLeave: qe(we(He, H)),
|
|
3436
3436
|
onDrop: qe(we(at, te)),
|
|
3437
3437
|
role: typeof oe == "string" && oe !== "" ? oe : "presentation"
|
|
3438
|
-
}, ee,
|
|
3438
|
+
}, ee, $), !o && !p ? {
|
|
3439
3439
|
tabIndex: 0
|
|
3440
3440
|
} : {}), it);
|
|
3441
3441
|
};
|
|
3442
|
-
}, [
|
|
3442
|
+
}, [$, fe, Ie, Pe, At, z, W, H, te, p, T, o]), Ln = le(function(x) {
|
|
3443
3443
|
x.stopPropagation();
|
|
3444
3444
|
}, []), Pn = Oe(function() {
|
|
3445
3445
|
return function() {
|
|
@@ -3470,7 +3470,7 @@ function bi() {
|
|
|
3470
3470
|
isFocused: f && !o,
|
|
3471
3471
|
getRootProps: On,
|
|
3472
3472
|
getInputProps: Pn,
|
|
3473
|
-
rootRef:
|
|
3473
|
+
rootRef: $,
|
|
3474
3474
|
inputRef: Z,
|
|
3475
3475
|
open: Ae(v)
|
|
3476
3476
|
});
|
|
@@ -3539,7 +3539,7 @@ const wi = (e) => {
|
|
|
3539
3539
|
},
|
|
3540
3540
|
[c, m, s, r, t]
|
|
3541
3541
|
);
|
|
3542
|
-
return /* @__PURE__ */ l(Je, { multiple: s, onDrop: u, maxSize: o, accept: a, children: ({ getRootProps: d, getInputProps: g }) => /* @__PURE__ */
|
|
3542
|
+
return /* @__PURE__ */ l(Je, { multiple: s, onDrop: u, maxSize: o, accept: a, children: ({ getRootProps: d, getInputProps: g }) => /* @__PURE__ */ Y("div", { ...d({}), children: [
|
|
3543
3543
|
/* @__PURE__ */ l("input", { ...g({}), disabled: i, name: r }),
|
|
3544
3544
|
n
|
|
3545
3545
|
] }) });
|
|
@@ -3579,9 +3579,9 @@ const wi = (e) => {
|
|
|
3579
3579
|
hover: !1,
|
|
3580
3580
|
triggerAction: () => b(!0),
|
|
3581
3581
|
actionOnClose: () => b(!1),
|
|
3582
|
-
text: /* @__PURE__ */
|
|
3582
|
+
text: /* @__PURE__ */ Y("div", { className: c, children: [
|
|
3583
3583
|
n && /* @__PURE__ */ l("div", { className: u, children: n }),
|
|
3584
|
-
o.map((h,
|
|
3584
|
+
o.map((h, A) => /* @__PURE__ */ Y(
|
|
3585
3585
|
"div",
|
|
3586
3586
|
{
|
|
3587
3587
|
className: _({
|
|
@@ -3594,14 +3594,14 @@ const wi = (e) => {
|
|
|
3594
3594
|
h.description && /* @__PURE__ */ l("span", { className: d, children: h.description })
|
|
3595
3595
|
]
|
|
3596
3596
|
},
|
|
3597
|
-
|
|
3597
|
+
A
|
|
3598
3598
|
))
|
|
3599
3599
|
] }),
|
|
3600
3600
|
position: a,
|
|
3601
3601
|
noPadding: !0,
|
|
3602
3602
|
isToggleClick: !0,
|
|
3603
3603
|
isStopPropagationClickOnTrigger: !0,
|
|
3604
|
-
trigger: /* @__PURE__ */
|
|
3604
|
+
trigger: /* @__PURE__ */ Y("div", { className: r, children: [
|
|
3605
3605
|
/* @__PURE__ */ l("div", { className: s, children: t }),
|
|
3606
3606
|
/* @__PURE__ */ l("div", { className: m, children: /* @__PURE__ */ l(ge, { name: re.SelectChevronDown, rotate: g ? 180 : void 0 }) })
|
|
3607
3607
|
] })
|
|
@@ -3693,7 +3693,7 @@ const wi = (e) => {
|
|
|
3693
3693
|
}), c = _({
|
|
3694
3694
|
[Ge.spLabel__tooltip]: !0
|
|
3695
3695
|
});
|
|
3696
|
-
return /* @__PURE__ */
|
|
3696
|
+
return /* @__PURE__ */ Y("div", { className: r, children: [
|
|
3697
3697
|
/* @__PURE__ */ l("label", { className: s, children: n }),
|
|
3698
3698
|
t && /* @__PURE__ */ l("div", { className: m, children: "*" }),
|
|
3699
3699
|
o && /* @__PURE__ */ l("div", { className: c, children: /* @__PURE__ */ l(Qe, { position: a, text: o }) })
|
|
@@ -3725,16 +3725,16 @@ const wi = (e) => {
|
|
|
3725
3725
|
infoTooltipText: b,
|
|
3726
3726
|
tooltipPosition: E,
|
|
3727
3727
|
isVisibleDefaultTitle: h = !0,
|
|
3728
|
-
placeholder:
|
|
3728
|
+
placeholder: A = "Введите...",
|
|
3729
3729
|
classNameRoot: L,
|
|
3730
|
-
classNameError:
|
|
3731
|
-
classNameLabel:
|
|
3730
|
+
classNameError: V,
|
|
3731
|
+
classNameLabel: D,
|
|
3732
3732
|
...w
|
|
3733
3733
|
} = e, p = _({
|
|
3734
3734
|
[Ce.spInput]: !0,
|
|
3735
3735
|
[Ce.spInput_error]: !!s,
|
|
3736
3736
|
...L && { [L]: !0 }
|
|
3737
|
-
}),
|
|
3737
|
+
}), T = _({
|
|
3738
3738
|
[Ce.spInput__container]: !0
|
|
3739
3739
|
}), P = _({
|
|
3740
3740
|
[Ce.spInput__control]: !0,
|
|
@@ -3745,16 +3745,16 @@ const wi = (e) => {
|
|
|
3745
3745
|
[Ce.spInput__clear]: !0
|
|
3746
3746
|
}), J = _({
|
|
3747
3747
|
[Ce.spInput__error]: !0,
|
|
3748
|
-
...
|
|
3748
|
+
...V && { [V]: !0 }
|
|
3749
3749
|
}), ne = _({
|
|
3750
|
-
...
|
|
3751
|
-
}), de = (
|
|
3752
|
-
o(
|
|
3753
|
-
}, ue = (
|
|
3754
|
-
const { value: Z, name:
|
|
3755
|
-
d && Z && !new RegExp(d).test(Z) || o(
|
|
3750
|
+
...D && { [D]: !0 }
|
|
3751
|
+
}), de = ($) => {
|
|
3752
|
+
o($, { name: c, value: "" });
|
|
3753
|
+
}, ue = ($) => {
|
|
3754
|
+
const { value: Z, name: k } = $.target;
|
|
3755
|
+
d && Z && !new RegExp(d).test(Z) || o($, { value: Z, name: k });
|
|
3756
3756
|
};
|
|
3757
|
-
return /* @__PURE__ */
|
|
3757
|
+
return /* @__PURE__ */ Y("div", { className: p, children: [
|
|
3758
3758
|
a && /* @__PURE__ */ l(
|
|
3759
3759
|
jt,
|
|
3760
3760
|
{
|
|
@@ -3765,12 +3765,12 @@ const wi = (e) => {
|
|
|
3765
3765
|
infoTooltipText: b
|
|
3766
3766
|
}
|
|
3767
3767
|
),
|
|
3768
|
-
/* @__PURE__ */
|
|
3768
|
+
/* @__PURE__ */ Y("div", { className: T, onMouseEnter: g, children: [
|
|
3769
3769
|
/* @__PURE__ */ l(
|
|
3770
3770
|
"input",
|
|
3771
3771
|
{
|
|
3772
3772
|
...w,
|
|
3773
|
-
placeholder:
|
|
3773
|
+
placeholder: A,
|
|
3774
3774
|
disabled: r,
|
|
3775
3775
|
onChange: ue,
|
|
3776
3776
|
title: h ? n : void 0,
|
|
@@ -3815,18 +3815,18 @@ const Qi = "_spInputFiles_1ukpx_43", Ji = "_spInputFiles_error_1ukpx_48", er = "
|
|
|
3815
3815
|
tooltipPosition: d = ie.TopRight,
|
|
3816
3816
|
classNameRoot: g,
|
|
3817
3817
|
error: b
|
|
3818
|
-
} = e, E = c.map((p) => p.name), h = (E == null ? void 0 : E.length) > 0,
|
|
3818
|
+
} = e, E = c.map((p) => p.name), h = (E == null ? void 0 : E.length) > 0, A = _({
|
|
3819
3819
|
[ve.spInputFiles]: !0,
|
|
3820
3820
|
[ve.spInputFiles_error]: !!b,
|
|
3821
3821
|
[ve.spInputFiles_disabled]: r,
|
|
3822
3822
|
[ve.spInputFiles_fileUploaded]: h,
|
|
3823
3823
|
...g && { [g]: !0 }
|
|
3824
3824
|
}), L = (p) => {
|
|
3825
|
-
const
|
|
3826
|
-
|
|
3827
|
-
},
|
|
3825
|
+
const T = [...c], P = T.findIndex((U) => U.name === p);
|
|
3826
|
+
T.splice(P, 1), o(T, n);
|
|
3827
|
+
}, V = (p) => {
|
|
3828
3828
|
p.stopPropagation(), o([], n);
|
|
3829
|
-
},
|
|
3829
|
+
}, D = () => s ? /* @__PURE__ */ l("ul", { className: ve.spInputFiles__fileNamesList, children: E.map((p, T) => /* @__PURE__ */ Y(
|
|
3830
3830
|
"li",
|
|
3831
3831
|
{
|
|
3832
3832
|
className: ve.spInputFiles__fileNamesListItem,
|
|
@@ -3845,10 +3845,10 @@ const Qi = "_spInputFiles_1ukpx_43", Ji = "_spInputFiles_error_1ukpx_48", er = "
|
|
|
3845
3845
|
/* @__PURE__ */ l("div", { className: ve.spInputFiles__fileNamesListItemDelete, children: /* @__PURE__ */ l(ge, { name: re.Trash }) })
|
|
3846
3846
|
]
|
|
3847
3847
|
},
|
|
3848
|
-
|
|
3849
|
-
)) }) : /* @__PURE__ */ l(Se, { isEllipsis: !0, children: E[0] }), w = () => /* @__PURE__ */
|
|
3850
|
-
h ?
|
|
3851
|
-
h ? /* @__PURE__ */ l("div", { className: ve.spInputFiles__delete, onClick:
|
|
3848
|
+
T
|
|
3849
|
+
)) }) : /* @__PURE__ */ l(Se, { isEllipsis: !0, children: E[0] }), w = () => /* @__PURE__ */ Y(cn, { children: [
|
|
3850
|
+
h ? D() : /* @__PURE__ */ l(Se, { children: t }),
|
|
3851
|
+
h ? /* @__PURE__ */ l("div", { className: ve.spInputFiles__delete, onClick: V, children: /* @__PURE__ */ l(ge, { name: re.Close }) }) : u && /* @__PURE__ */ l(
|
|
3852
3852
|
Qe,
|
|
3853
3853
|
{
|
|
3854
3854
|
classNameTooltip: ve.spInputFiles__tooltipWrapper,
|
|
@@ -3869,8 +3869,8 @@ const Qi = "_spInputFiles_1ukpx_43", Ji = "_spInputFiles_error_1ukpx_48", er = "
|
|
|
3869
3869
|
accept: i,
|
|
3870
3870
|
onDropFiles: o,
|
|
3871
3871
|
disabled: r || h,
|
|
3872
|
-
children: /* @__PURE__ */
|
|
3873
|
-
/* @__PURE__ */
|
|
3872
|
+
children: /* @__PURE__ */ Y("div", { className: A, children: [
|
|
3873
|
+
/* @__PURE__ */ Y("div", { className: ve.spInputFiles__control, children: [
|
|
3874
3874
|
/* @__PURE__ */ l(ge, { name: h ? re.Check : re.Upload }),
|
|
3875
3875
|
w()
|
|
3876
3876
|
] }),
|
|
@@ -4033,37 +4033,37 @@ function Tr(e, t) {
|
|
|
4033
4033
|
}
|
|
4034
4034
|
return !0;
|
|
4035
4035
|
}
|
|
4036
|
-
const pe =
|
|
4037
|
-
all:
|
|
4038
|
-
grid:
|
|
4039
|
-
aural:
|
|
4040
|
-
braille:
|
|
4041
|
-
handheld:
|
|
4042
|
-
print:
|
|
4043
|
-
projection:
|
|
4044
|
-
screen:
|
|
4045
|
-
tty:
|
|
4046
|
-
tv:
|
|
4047
|
-
embossed:
|
|
4036
|
+
const pe = C.oneOfType([C.string, C.number]), An = {
|
|
4037
|
+
all: C.bool,
|
|
4038
|
+
grid: C.bool,
|
|
4039
|
+
aural: C.bool,
|
|
4040
|
+
braille: C.bool,
|
|
4041
|
+
handheld: C.bool,
|
|
4042
|
+
print: C.bool,
|
|
4043
|
+
projection: C.bool,
|
|
4044
|
+
screen: C.bool,
|
|
4045
|
+
tty: C.bool,
|
|
4046
|
+
tv: C.bool,
|
|
4047
|
+
embossed: C.bool
|
|
4048
4048
|
}, Er = {
|
|
4049
|
-
orientation:
|
|
4050
|
-
scan:
|
|
4051
|
-
aspectRatio:
|
|
4052
|
-
deviceAspectRatio:
|
|
4049
|
+
orientation: C.oneOf(["portrait", "landscape"]),
|
|
4050
|
+
scan: C.oneOf(["progressive", "interlace"]),
|
|
4051
|
+
aspectRatio: C.string,
|
|
4052
|
+
deviceAspectRatio: C.string,
|
|
4053
4053
|
height: pe,
|
|
4054
4054
|
deviceHeight: pe,
|
|
4055
4055
|
width: pe,
|
|
4056
4056
|
deviceWidth: pe,
|
|
4057
|
-
color:
|
|
4058
|
-
colorIndex:
|
|
4059
|
-
monochrome:
|
|
4057
|
+
color: C.bool,
|
|
4058
|
+
colorIndex: C.bool,
|
|
4059
|
+
monochrome: C.bool,
|
|
4060
4060
|
resolution: pe,
|
|
4061
4061
|
type: Object.keys(An)
|
|
4062
4062
|
}, { type: Ls, ...Sr } = Er, Ir = {
|
|
4063
|
-
minAspectRatio:
|
|
4064
|
-
maxAspectRatio:
|
|
4065
|
-
minDeviceAspectRatio:
|
|
4066
|
-
maxDeviceAspectRatio:
|
|
4063
|
+
minAspectRatio: C.string,
|
|
4064
|
+
maxAspectRatio: C.string,
|
|
4065
|
+
minDeviceAspectRatio: C.string,
|
|
4066
|
+
maxDeviceAspectRatio: C.string,
|
|
4067
4067
|
minHeight: pe,
|
|
4068
4068
|
maxHeight: pe,
|
|
4069
4069
|
minDeviceHeight: pe,
|
|
@@ -4072,12 +4072,12 @@ const pe = k.oneOfType([k.string, k.number]), An = {
|
|
|
4072
4072
|
maxWidth: pe,
|
|
4073
4073
|
minDeviceWidth: pe,
|
|
4074
4074
|
maxDeviceWidth: pe,
|
|
4075
|
-
minColor:
|
|
4076
|
-
maxColor:
|
|
4077
|
-
minColorIndex:
|
|
4078
|
-
maxColorIndex:
|
|
4079
|
-
minMonochrome:
|
|
4080
|
-
maxMonochrome:
|
|
4075
|
+
minColor: C.number,
|
|
4076
|
+
maxColor: C.number,
|
|
4077
|
+
minColorIndex: C.number,
|
|
4078
|
+
maxColorIndex: C.number,
|
|
4079
|
+
minMonochrome: C.number,
|
|
4080
|
+
maxMonochrome: C.number,
|
|
4081
4081
|
minResolution: pe,
|
|
4082
4082
|
maxResolution: pe,
|
|
4083
4083
|
...Sr
|
|
@@ -4192,20 +4192,20 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4192
4192
|
required: b,
|
|
4193
4193
|
maxHeightList: E = qr,
|
|
4194
4194
|
isVisibleDefaultTitle: h = !0,
|
|
4195
|
-
isScrollableList:
|
|
4195
|
+
isScrollableList: A = !1,
|
|
4196
4196
|
classNameRoot: L,
|
|
4197
|
-
classNameError:
|
|
4198
|
-
classNameLabel:
|
|
4199
|
-
} = e, [w, p] = ce(!1),
|
|
4197
|
+
classNameError: V,
|
|
4198
|
+
classNameLabel: D
|
|
4199
|
+
} = e, [w, p] = ce(!1), T = Te(null);
|
|
4200
4200
|
fn(
|
|
4201
|
-
[
|
|
4201
|
+
[T],
|
|
4202
4202
|
() => {
|
|
4203
4203
|
p(!1);
|
|
4204
4204
|
},
|
|
4205
4205
|
w
|
|
4206
4206
|
);
|
|
4207
|
-
const P = t.find((
|
|
4208
|
-
r(
|
|
4207
|
+
const P = t.find((j) => j.value === o), U = (j, f) => {
|
|
4208
|
+
r(j, { value: f, name: a }), p(!1);
|
|
4209
4209
|
}, J = () => {
|
|
4210
4210
|
g || p(!w);
|
|
4211
4211
|
}, ne = _({
|
|
@@ -4221,30 +4221,30 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4221
4221
|
}), me = _({
|
|
4222
4222
|
[xe.spSelect__value]: !0,
|
|
4223
4223
|
[xe.spSelect__value_empty]: !P
|
|
4224
|
-
}),
|
|
4224
|
+
}), $ = _({
|
|
4225
4225
|
[xe.spSelect__icon]: !0
|
|
4226
4226
|
}), Z = _({
|
|
4227
4227
|
[xe.spSelect__list]: !0,
|
|
4228
|
-
[xe.spSelect__list_scrollable]:
|
|
4229
|
-
}),
|
|
4230
|
-
...
|
|
4231
|
-
}),
|
|
4228
|
+
[xe.spSelect__list_scrollable]: A
|
|
4229
|
+
}), k = _({
|
|
4230
|
+
...D && { [D]: !0 }
|
|
4231
|
+
}), q = _({
|
|
4232
4232
|
[xe.spSelect__error]: !0,
|
|
4233
|
-
...
|
|
4233
|
+
...V && { [V]: !0 }
|
|
4234
4234
|
});
|
|
4235
|
-
return /* @__PURE__ */
|
|
4235
|
+
return /* @__PURE__ */ Y("div", { className: ne, ref: T, children: [
|
|
4236
4236
|
c && /* @__PURE__ */ l(
|
|
4237
4237
|
jt,
|
|
4238
4238
|
{
|
|
4239
|
-
classNameRoot:
|
|
4239
|
+
classNameRoot: k,
|
|
4240
4240
|
tooltipPosition: d,
|
|
4241
4241
|
required: b,
|
|
4242
4242
|
label: c,
|
|
4243
4243
|
infoTooltipText: u
|
|
4244
4244
|
}
|
|
4245
4245
|
),
|
|
4246
|
-
/* @__PURE__ */
|
|
4247
|
-
/* @__PURE__ */
|
|
4246
|
+
/* @__PURE__ */ Y("div", { className: de, onMouseEnter: s, children: [
|
|
4247
|
+
/* @__PURE__ */ Y(
|
|
4248
4248
|
"div",
|
|
4249
4249
|
{
|
|
4250
4250
|
tabIndex: g ? -1 : 0,
|
|
@@ -4258,7 +4258,7 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4258
4258
|
{
|
|
4259
4259
|
name: re.SelectChevronDown,
|
|
4260
4260
|
rotate: w ? 180 : void 0,
|
|
4261
|
-
className:
|
|
4261
|
+
className: $
|
|
4262
4262
|
}
|
|
4263
4263
|
)
|
|
4264
4264
|
]
|
|
@@ -4268,28 +4268,28 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4268
4268
|
"div",
|
|
4269
4269
|
{
|
|
4270
4270
|
className: Z,
|
|
4271
|
-
style:
|
|
4272
|
-
children: t.map((
|
|
4273
|
-
const f =
|
|
4274
|
-
return /* @__PURE__ */
|
|
4271
|
+
style: A ? { maxHeight: `${E}px` } : {},
|
|
4272
|
+
children: t.map((j) => {
|
|
4273
|
+
const f = j.value === o;
|
|
4274
|
+
return /* @__PURE__ */ Y(
|
|
4275
4275
|
"div",
|
|
4276
4276
|
{
|
|
4277
4277
|
className: _({
|
|
4278
4278
|
[xe.spSelect__option]: !0
|
|
4279
4279
|
}),
|
|
4280
|
-
onClick: (y) => U(y,
|
|
4280
|
+
onClick: (y) => U(y, j.value),
|
|
4281
4281
|
children: [
|
|
4282
|
-
|
|
4283
|
-
f && /* @__PURE__ */ l(ge, { name: re.Check, className:
|
|
4282
|
+
j.label,
|
|
4283
|
+
f && /* @__PURE__ */ l(ge, { name: re.Check, className: $ })
|
|
4284
4284
|
]
|
|
4285
4285
|
},
|
|
4286
|
-
|
|
4286
|
+
j.value
|
|
4287
4287
|
);
|
|
4288
4288
|
})
|
|
4289
4289
|
}
|
|
4290
4290
|
)
|
|
4291
4291
|
] }),
|
|
4292
|
-
m && /* @__PURE__ */ l("div", { className:
|
|
4292
|
+
m && /* @__PURE__ */ l("div", { className: q, children: m })
|
|
4293
4293
|
] });
|
|
4294
4294
|
}, os = "_skeleton_c18an_44", as = {
|
|
4295
4295
|
skeleton: os
|
|
@@ -4335,45 +4335,45 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4335
4335
|
}), {
|
|
4336
4336
|
device: { isDesktop: u }
|
|
4337
4337
|
} = dn(Nn), [d, g] = ce(null), b = (w) => {
|
|
4338
|
-
const { text: p, rowIndex:
|
|
4339
|
-
(d == null ? void 0 : d.rowIndex) ===
|
|
4340
|
-
g({ rowIndex:
|
|
4338
|
+
const { text: p, rowIndex: T, colIndex: P } = w;
|
|
4339
|
+
(d == null ? void 0 : d.rowIndex) === T && (d == null ? void 0 : d.colIndex) === P || navigator.clipboard.writeText(p).then(() => {
|
|
4340
|
+
g({ rowIndex: T, colIndex: P });
|
|
4341
4341
|
}).catch((U) => {
|
|
4342
4342
|
console.error("Ошибка при копировании:", U);
|
|
4343
4343
|
});
|
|
4344
4344
|
}, E = () => {
|
|
4345
4345
|
g(null);
|
|
4346
|
-
}, h = () => /* @__PURE__ */ l("div", { className: c, children: "Данные отсутствуют" }),
|
|
4346
|
+
}, h = () => /* @__PURE__ */ l("div", { className: c, children: "Данные отсутствуют" }), A = ({
|
|
4347
4347
|
row: w,
|
|
4348
4348
|
col: p
|
|
4349
4349
|
}) => {
|
|
4350
|
-
const
|
|
4351
|
-
if (!
|
|
4352
|
-
const [P, U] =
|
|
4353
|
-
return /* @__PURE__ */
|
|
4350
|
+
const T = w[p.key];
|
|
4351
|
+
if (!T) return null;
|
|
4352
|
+
const [P, U] = T.split(/\s*\{\{|}}\s*/).filter(Boolean);
|
|
4353
|
+
return /* @__PURE__ */ Y("span", { children: [
|
|
4354
4354
|
P,
|
|
4355
4355
|
U && /* @__PURE__ */ l("span", { className: m, children: ` ${U}` })
|
|
4356
4356
|
] });
|
|
4357
|
-
}, L = () => n && Array.isArray(n) && n.length > 0 ? /* @__PURE__ */
|
|
4358
|
-
/* @__PURE__ */ l("colgroup", { children: i.map((w, p,
|
|
4357
|
+
}, L = () => n && Array.isArray(n) && n.length > 0 ? /* @__PURE__ */ Y("table", { className: r, children: [
|
|
4358
|
+
/* @__PURE__ */ l("colgroup", { children: i.map((w, p, T) => /* @__PURE__ */ l(
|
|
4359
4359
|
"col",
|
|
4360
4360
|
{
|
|
4361
4361
|
style: {
|
|
4362
|
-
width: `calc(100%/${
|
|
4362
|
+
width: `calc(100%/${T.length})`
|
|
4363
4363
|
}
|
|
4364
4364
|
},
|
|
4365
4365
|
p
|
|
4366
4366
|
)) }),
|
|
4367
4367
|
/* @__PURE__ */ l("thead", { children: /* @__PURE__ */ l("tr", { children: i.map((w, p) => /* @__PURE__ */ l("th", { children: w.title }, p)) }) }),
|
|
4368
|
-
/* @__PURE__ */ l("tbody", { children: n.map((w, p) => w ? /* @__PURE__ */ l("tr", { children: i.map((
|
|
4368
|
+
/* @__PURE__ */ l("tbody", { children: n.map((w, p) => w ? /* @__PURE__ */ l("tr", { children: i.map((T, P) => {
|
|
4369
4369
|
const U = (d == null ? void 0 : d.rowIndex) === p && (d == null ? void 0 : d.colIndex) === P;
|
|
4370
4370
|
return /* @__PURE__ */ l(
|
|
4371
4371
|
"td",
|
|
4372
4372
|
{
|
|
4373
4373
|
onMouseLeave: U ? E : void 0,
|
|
4374
|
-
children: /* @__PURE__ */
|
|
4375
|
-
/* @__PURE__ */ l("span", { children:
|
|
4376
|
-
!pn(w[
|
|
4374
|
+
children: /* @__PURE__ */ Y("div", { className: s, children: [
|
|
4375
|
+
/* @__PURE__ */ l("span", { children: T.isColorContentsCurlyBrackets ? A({ row: w, col: T }) : w[T.key] }),
|
|
4376
|
+
!pn(w[T.key]) && T.isBeCopiedValue && /* @__PURE__ */ l(
|
|
4377
4377
|
ge,
|
|
4378
4378
|
{
|
|
4379
4379
|
className: _({
|
|
@@ -4382,7 +4382,7 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4382
4382
|
}),
|
|
4383
4383
|
name: U ? re.Check : re.Copy,
|
|
4384
4384
|
onClick: () => {
|
|
4385
|
-
const J = w[
|
|
4385
|
+
const J = w[T.key];
|
|
4386
4386
|
if (!J) return null;
|
|
4387
4387
|
b({
|
|
4388
4388
|
text: J,
|
|
@@ -4397,17 +4397,17 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4397
4397
|
`${p}:${P}`
|
|
4398
4398
|
);
|
|
4399
4399
|
}) }, p) : null) })
|
|
4400
|
-
] }) : h(),
|
|
4400
|
+
] }) : h(), V = () => n && Array.isArray(n) && n.length > 0 ? /* @__PURE__ */ l(
|
|
4401
4401
|
"div",
|
|
4402
4402
|
{
|
|
4403
4403
|
className: _({
|
|
4404
4404
|
[he.spStringsGroup]: !0
|
|
4405
4405
|
}),
|
|
4406
|
-
children: n.map((w, p) => w ? /* @__PURE__ */ l("div", { children: i.map((
|
|
4407
|
-
if (pn(w[
|
|
4406
|
+
children: n.map((w, p) => w ? /* @__PURE__ */ l("div", { children: i.map((T, P) => {
|
|
4407
|
+
if (pn(w[T.key]))
|
|
4408
4408
|
return null;
|
|
4409
4409
|
const U = (d == null ? void 0 : d.rowIndex) === p && (d == null ? void 0 : d.colIndex) === P;
|
|
4410
|
-
return /* @__PURE__ */
|
|
4410
|
+
return /* @__PURE__ */ Y(
|
|
4411
4411
|
"div",
|
|
4412
4412
|
{
|
|
4413
4413
|
className: _({
|
|
@@ -4421,18 +4421,18 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4421
4421
|
className: _({
|
|
4422
4422
|
[he.spStringsGroup__groupItemHeader]: !0
|
|
4423
4423
|
}),
|
|
4424
|
-
children:
|
|
4424
|
+
children: T.title
|
|
4425
4425
|
}
|
|
4426
4426
|
),
|
|
4427
|
-
/* @__PURE__ */
|
|
4427
|
+
/* @__PURE__ */ Y(
|
|
4428
4428
|
"div",
|
|
4429
4429
|
{
|
|
4430
4430
|
className: _({
|
|
4431
4431
|
[he.spStringsGroup__groupItemContent]: !0
|
|
4432
4432
|
}),
|
|
4433
4433
|
children: [
|
|
4434
|
-
/* @__PURE__ */ l("span", { children: w[
|
|
4435
|
-
|
|
4434
|
+
/* @__PURE__ */ l("span", { children: w[T.key] }),
|
|
4435
|
+
T.isBeCopiedValue && /* @__PURE__ */ l(
|
|
4436
4436
|
ge,
|
|
4437
4437
|
{
|
|
4438
4438
|
className: _({
|
|
@@ -4441,7 +4441,7 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4441
4441
|
}),
|
|
4442
4442
|
name: U ? re.Check : re.Copy,
|
|
4443
4443
|
onClick: () => {
|
|
4444
|
-
const J = w[
|
|
4444
|
+
const J = w[T.key];
|
|
4445
4445
|
if (!J) return null;
|
|
4446
4446
|
b({
|
|
4447
4447
|
text: J,
|
|
@@ -4461,7 +4461,7 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4461
4461
|
}) }, p) : null)
|
|
4462
4462
|
}
|
|
4463
4463
|
) : h();
|
|
4464
|
-
return o ? u ? L() :
|
|
4464
|
+
return o ? u ? L() : V() : L();
|
|
4465
4465
|
}, xs = "_spTabs_1citb_43", gs = "_spTabs_separated_1citb_48", hs = "_spTabs__tabElement_1citb_48", bs = "_spTabs__tabElement_active_1citb_83", ys = "_spTabs__triggerTooltip_1citb_90", Ne = {
|
|
4466
4466
|
spTabs: xs,
|
|
4467
4467
|
spTabs_separated: gs,
|
|
@@ -4498,7 +4498,7 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4498
4498
|
};
|
|
4499
4499
|
return /* @__PURE__ */ l("div", { className: s, children: t.map((u, d) => {
|
|
4500
4500
|
const { name: g, active: b, onClick: E, infoTooltipText: h } = u;
|
|
4501
|
-
return /* @__PURE__ */
|
|
4501
|
+
return /* @__PURE__ */ Y(
|
|
4502
4502
|
"div",
|
|
4503
4503
|
{
|
|
4504
4504
|
className: _({
|
|
@@ -4525,7 +4525,7 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4525
4525
|
spTextWithLabel: ws
|
|
4526
4526
|
}, Ws = (e) => {
|
|
4527
4527
|
const { children: t, label: n, style: o, ...a } = e;
|
|
4528
|
-
return /* @__PURE__ */
|
|
4528
|
+
return /* @__PURE__ */ Y("div", { className: ks.spTextWithLabel, style: { ...o }, children: [
|
|
4529
4529
|
/* @__PURE__ */ l(jt, { label: n }),
|
|
4530
4530
|
/* @__PURE__ */ l(Se, { ...a, children: t })
|
|
4531
4531
|
] });
|