test-stpr-ui-kit 0.5.14 → 0.5.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/test-stpr-ui-kit.js
CHANGED
|
@@ -52,13 +52,13 @@ const de = (e) => {
|
|
|
52
52
|
...n,
|
|
53
53
|
style: a
|
|
54
54
|
});
|
|
55
|
-
}, Sn = "_spAccordion_14avc_43", Ln = "_spAccordion_noBorder_14avc_60", Rn = "_spAccordion_noPadding_14avc_63",
|
|
55
|
+
}, Sn = "_spAccordion_14avc_43", Ln = "_spAccordion_noBorder_14avc_60", Rn = "_spAccordion_noPadding_14avc_63", jn = "_spAccordion_open_14avc_66", Fn = "_spAccordion__header_14avc_69", An = "_spAccordion_noOpen_14avc_88", Bn = "_spAccordion__name_14avc_99", Dn = "_spAccordion__name_hiddenExpand_14avc_110", Mn = "_spAccordion__icon_14avc_125", Pn = "_spAccordion__icon_hidden_14avc_131", On = "_spAccordion__icon_open_14avc_134", Wn = "_spAccordion__childrenWrapper_14avc_141", zn = "_spAccordion__childrenWrapper_open_14avc_150", Un = "_spAccordion__content_14avc_153", qn = "_spAccordion__content_open_14avc_159", ce = {
|
|
56
56
|
spAccordion: Sn,
|
|
57
57
|
spAccordion_noBorder: Ln,
|
|
58
58
|
spAccordion_noPadding: Rn,
|
|
59
|
-
spAccordion_open:
|
|
60
|
-
spAccordion__header:
|
|
61
|
-
spAccordion_noOpen:
|
|
59
|
+
spAccordion_open: jn,
|
|
60
|
+
spAccordion__header: Fn,
|
|
61
|
+
spAccordion_noOpen: An,
|
|
62
62
|
spAccordion__name: Bn,
|
|
63
63
|
spAccordion__name_hiddenExpand: Dn,
|
|
64
64
|
"spAccordion__name--level-1": "_spAccordion__name--level-1_14avc_114",
|
|
@@ -85,7 +85,7 @@ const de = (e) => {
|
|
|
85
85
|
classNameTitle: u,
|
|
86
86
|
classNameIcon: g,
|
|
87
87
|
classNameChildrenWrapper: h
|
|
88
|
-
} = e, [x, b] = oe(n),
|
|
88
|
+
} = e, [x, b] = oe(n), L = () => {
|
|
89
89
|
a || (i == null || i(!x), b(!x));
|
|
90
90
|
}, R = f({
|
|
91
91
|
[ce.spAccordion]: !0,
|
|
@@ -94,10 +94,10 @@ const de = (e) => {
|
|
|
94
94
|
[ce.spAccordion_noBorder]: r,
|
|
95
95
|
[ce.spAccordion_noPadding]: s,
|
|
96
96
|
...l && { [l]: !0 }
|
|
97
|
-
}),
|
|
97
|
+
}), z = f({
|
|
98
98
|
[ce.spAccordion__header]: !0,
|
|
99
99
|
...d && { [d]: !0 }
|
|
100
|
-
}),
|
|
100
|
+
}), j = f({
|
|
101
101
|
[ce.spAccordion__name]: !0,
|
|
102
102
|
[ce[`spAccordion__name--level-${p}`]]: p,
|
|
103
103
|
[ce.spAccordion__name_hiddenExpand]: a,
|
|
@@ -116,9 +116,9 @@ const de = (e) => {
|
|
|
116
116
|
[ce.spAccordion__content_open]: x
|
|
117
117
|
});
|
|
118
118
|
return /* @__PURE__ */ O("div", { className: R, children: [
|
|
119
|
-
/* @__PURE__ */ O("div", { className:
|
|
120
|
-
/* @__PURE__ */ c("div", { className:
|
|
121
|
-
/* @__PURE__ */ c(de, { onClick:
|
|
119
|
+
/* @__PURE__ */ O("div", { className: z, children: [
|
|
120
|
+
/* @__PURE__ */ c("div", { className: j, children: /* @__PURE__ */ c("span", { onClick: L, children: t }) }),
|
|
121
|
+
/* @__PURE__ */ c(de, { onClick: L, className: w, name: D.ChevronDown })
|
|
122
122
|
] }),
|
|
123
123
|
/* @__PURE__ */ c("div", { className: m, children: /* @__PURE__ */ c("div", { className: N, children: o }) })
|
|
124
124
|
] });
|
|
@@ -166,50 +166,52 @@ const de = (e) => {
|
|
|
166
166
|
iconRotate: s = 0,
|
|
167
167
|
disabled: p = !1,
|
|
168
168
|
type: l = "button",
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
169
|
+
iconPosition: d = "start",
|
|
170
|
+
form: u,
|
|
171
|
+
children: g,
|
|
172
|
+
loading: h = !1,
|
|
173
|
+
isFullWidth: x = !1,
|
|
174
|
+
isOnlyIcon: b = !1,
|
|
175
|
+
noPadding: L = !1,
|
|
176
|
+
classNameRoot: R,
|
|
177
|
+
classNameTextRoot: z,
|
|
178
|
+
classNameIconContainerRoot: j
|
|
179
|
+
} = e, w = (W) => {
|
|
180
|
+
p || a == null || a(W);
|
|
181
|
+
}, m = () => {
|
|
182
|
+
const W = f({
|
|
182
183
|
[we.spButton__text]: !0,
|
|
183
|
-
...
|
|
184
|
-
}),
|
|
184
|
+
...z && { [z]: !0 }
|
|
185
|
+
}), H = f({
|
|
185
186
|
[we.spButton__iconContainer]: !0,
|
|
186
|
-
...
|
|
187
|
-
});
|
|
187
|
+
...j && { [j]: !0 }
|
|
188
|
+
}), X = () => h ? /* @__PURE__ */ c("div", { className: H, children: /* @__PURE__ */ c(Dt, { size: "md", classNameRoot: we.spButton__spinner }) }) : i ? /* @__PURE__ */ c("div", { className: H, children: /* @__PURE__ */ c(de, { name: i, rotate: s }) }) : r ? /* @__PURE__ */ c("div", { className: H, children: r }) : null;
|
|
188
189
|
return /* @__PURE__ */ O($e, { children: [
|
|
189
|
-
|
|
190
|
-
!
|
|
190
|
+
d === "start" && X(),
|
|
191
|
+
!b && g && /* @__PURE__ */ c("div", { className: W, children: g }),
|
|
192
|
+
d === "end" && X()
|
|
191
193
|
] });
|
|
192
|
-
},
|
|
194
|
+
}, N = f({
|
|
193
195
|
[we.spButton]: !0,
|
|
194
|
-
[we.spButton_noPadding]:
|
|
195
|
-
[we.spButton_onlyIcon]:
|
|
196
|
+
[we.spButton_noPadding]: L,
|
|
197
|
+
[we.spButton_onlyIcon]: b,
|
|
196
198
|
[we[`spButton_${o}`]]: o,
|
|
197
199
|
[we[`spButton_${t}`]]: t,
|
|
198
|
-
[we.spButton_fullWidth]:
|
|
200
|
+
[we.spButton_fullWidth]: x,
|
|
199
201
|
[we.spButton_disabled]: p,
|
|
200
|
-
[we.spButton_loading]:
|
|
201
|
-
...
|
|
202
|
+
[we.spButton_loading]: h,
|
|
203
|
+
...R && { [R]: !0 }
|
|
202
204
|
});
|
|
203
205
|
return /* @__PURE__ */ c(
|
|
204
206
|
"button",
|
|
205
207
|
{
|
|
206
208
|
style: n,
|
|
207
|
-
className:
|
|
208
|
-
onClick:
|
|
209
|
+
className: N,
|
|
210
|
+
onClick: w,
|
|
209
211
|
disabled: p,
|
|
210
212
|
type: l,
|
|
211
|
-
form:
|
|
212
|
-
children:
|
|
213
|
+
form: u,
|
|
214
|
+
children: m()
|
|
213
215
|
}
|
|
214
216
|
);
|
|
215
217
|
}, aa = "_spApplyButtons_1l9jg_43", ia = "_spApplyButtons__cancel_1l9jg_73", ra = "_spApplyButtons__submit_1l9jg_76", ze = {
|
|
@@ -406,17 +408,17 @@ const ua = "_modalWrapper_1kqdh_43", _a = "_modalWrapper__modal_1kqdh_63", fa =
|
|
|
406
408
|
[ge.modalWrapper]: !0,
|
|
407
409
|
[ge[`modalWrapper--modalVerticalAlign-${p}`]]: p,
|
|
408
410
|
[ge[`modalWrapper--textAlign-${l}`]]: l
|
|
409
|
-
}),
|
|
411
|
+
}), L = f({
|
|
410
412
|
[ge.modalWrapper__modal]: !0,
|
|
411
413
|
[ge[`modalWrapper__modal--size-${x}`]]: x,
|
|
412
414
|
...r && { [r]: !0 }
|
|
413
415
|
}), R = f({
|
|
414
416
|
[ge.modalWrapper__closeButton]: !0,
|
|
415
417
|
[ge[`modalWrapper__closeButton--size-${x}`]]: x
|
|
416
|
-
}),
|
|
418
|
+
}), z = f({
|
|
417
419
|
[ge.modalWrapper__closeButtonIconContainer]: !0,
|
|
418
420
|
[ge[`modalWrapper__closeButtonIconContainer--size-${x}`]]: x
|
|
419
|
-
}),
|
|
421
|
+
}), j = f({
|
|
420
422
|
[ge.modalWrapper__content]: !0
|
|
421
423
|
}), w = f({
|
|
422
424
|
[ge.modalWrapper__header]: !0
|
|
@@ -426,18 +428,18 @@ const ua = "_modalWrapper_1kqdh_43", _a = "_modalWrapper__modal_1kqdh_63", fa =
|
|
|
426
428
|
}), N = f({
|
|
427
429
|
[ge.modalWrapper__footer]: !0
|
|
428
430
|
});
|
|
429
|
-
return /* @__PURE__ */ c(yo, { zIndex: t, isHiddenModal: o, classNameRoot: i, children: /* @__PURE__ */ c("div", { className: b, children: /* @__PURE__ */ O("div", { className:
|
|
431
|
+
return /* @__PURE__ */ c(yo, { zIndex: t, isHiddenModal: o, classNameRoot: i, children: /* @__PURE__ */ c("div", { className: b, children: /* @__PURE__ */ O("div", { className: L, style: s, children: [
|
|
430
432
|
(u || g) && /* @__PURE__ */ O("div", { className: w, children: [
|
|
431
433
|
typeof u == "string" ? /* @__PURE__ */ c(Ne, { type: "h3", children: u }) : u,
|
|
432
434
|
g && /* @__PURE__ */ c("div", { className: m, children: typeof g == "string" ? /* @__PURE__ */ c(Ne, { children: g }) : g })
|
|
433
435
|
] }),
|
|
434
|
-
a && /* @__PURE__ */ c("div", { className:
|
|
436
|
+
a && /* @__PURE__ */ c("div", { className: j, children: a }),
|
|
435
437
|
h && /* @__PURE__ */ c("div", { className: N, children: h }),
|
|
436
438
|
n && d && /* @__PURE__ */ c(
|
|
437
439
|
tt,
|
|
438
440
|
{
|
|
439
441
|
classNameRoot: R,
|
|
440
|
-
classNameIconContainerRoot:
|
|
442
|
+
classNameIconContainerRoot: z,
|
|
441
443
|
onClick: d,
|
|
442
444
|
iconName: D.Close,
|
|
443
445
|
variant: "link",
|
|
@@ -463,10 +465,10 @@ const ua = "_modalWrapper_1kqdh_43", _a = "_modalWrapper__modal_1kqdh_63", fa =
|
|
|
463
465
|
applyButtonsMobileDirection: h = "column",
|
|
464
466
|
applyButtonsAlign: x = "right",
|
|
465
467
|
modalVerticalAlign: b = "top",
|
|
466
|
-
textAlign:
|
|
468
|
+
textAlign: L = "left",
|
|
467
469
|
loading: R,
|
|
468
|
-
isVisibleCloseButton:
|
|
469
|
-
isHiddenModal:
|
|
470
|
+
isVisibleCloseButton: z,
|
|
471
|
+
isHiddenModal: j,
|
|
470
472
|
size: w,
|
|
471
473
|
classNameRoot: m,
|
|
472
474
|
classNameLayerRoot: N
|
|
@@ -478,10 +480,10 @@ const ua = "_modalWrapper_1kqdh_43", _a = "_modalWrapper__modal_1kqdh_63", fa =
|
|
|
478
480
|
header: o,
|
|
479
481
|
onClose: g,
|
|
480
482
|
modalVerticalAlign: b,
|
|
481
|
-
textAlign:
|
|
483
|
+
textAlign: L,
|
|
482
484
|
subHeader: n,
|
|
483
|
-
isVisibleCloseButton:
|
|
484
|
-
isHiddenModal:
|
|
485
|
+
isVisibleCloseButton: z,
|
|
486
|
+
isHiddenModal: j,
|
|
485
487
|
size: w,
|
|
486
488
|
classNameRoot: m,
|
|
487
489
|
classNameLayerRoot: N,
|
|
@@ -601,9 +603,9 @@ function Co(e, t, o = !0) {
|
|
|
601
603
|
};
|
|
602
604
|
}, [e, t, o]);
|
|
603
605
|
}
|
|
604
|
-
const
|
|
605
|
-
spTooltip:
|
|
606
|
-
spInfoTooltip:
|
|
606
|
+
const ja = "_spTooltip_1pqws_43", Fa = "_spInfoTooltip_1pqws_48", ko = {
|
|
607
|
+
spTooltip: ja,
|
|
608
|
+
spInfoTooltip: Fa
|
|
607
609
|
};
|
|
608
610
|
var pe = /* @__PURE__ */ ((e) => (e.Top = "top", e.TopLeft = "top-left", e.TopRight = "top-right", e.Bottom = "bottom", e.BottomLeft = "bottom-left", e.BottomRight = "bottom-right", e.Left = "left", e.LeftTop = "left-top", e.LeftBottom = "left-bottom", e.Right = "right", e.RightTop = "right-top", e.RightBottom = "right-bottom", e))(pe || {});
|
|
609
611
|
const it = (e) => {
|
|
@@ -622,81 +624,81 @@ const it = (e) => {
|
|
|
622
624
|
classNameBaseTooltipRoot: g,
|
|
623
625
|
classNameBaseTooltipContentRoot: h,
|
|
624
626
|
styleTooltip: x
|
|
625
|
-
} = e, [b,
|
|
627
|
+
} = e, [b, L] = oe(!1), R = ve(null), z = ve(null), [j, w] = oe(!1);
|
|
626
628
|
Co(
|
|
627
|
-
[R,
|
|
629
|
+
[R, z],
|
|
628
630
|
() => {
|
|
629
|
-
s && s(),
|
|
631
|
+
s && s(), L(!1);
|
|
630
632
|
},
|
|
631
633
|
b
|
|
632
634
|
);
|
|
633
635
|
const m = (T) => {
|
|
634
|
-
n && T.stopPropagation(), !t && (b ? s && s() : r && r(),
|
|
635
|
-
}, [N,
|
|
636
|
+
n && T.stopPropagation(), !t && (b ? s && s() : r && r(), L((M) => o ? !M : !0));
|
|
637
|
+
}, [N, W] = oe({
|
|
636
638
|
visibility: "hidden",
|
|
637
639
|
opacity: 0,
|
|
638
640
|
left: "-9999px"
|
|
639
|
-
}), [
|
|
640
|
-
if (!R.current || !
|
|
641
|
-
const T = R.current.getBoundingClientRect(), M =
|
|
642
|
-
let q = 0,
|
|
641
|
+
}), [H, X] = oe(!1), ne = xe(() => {
|
|
642
|
+
if (!R.current || !z.current) return;
|
|
643
|
+
const T = R.current.getBoundingClientRect(), M = z.current.getBoundingClientRect();
|
|
644
|
+
let q = 0, G = 0;
|
|
643
645
|
switch (l) {
|
|
644
646
|
case pe.Right:
|
|
645
|
-
q = T.top + window.scrollY - (M.height - T.height) / 2,
|
|
647
|
+
q = T.top + window.scrollY - (M.height - T.height) / 2, G = T.right + window.scrollX;
|
|
646
648
|
break;
|
|
647
649
|
case pe.RightTop:
|
|
648
|
-
q = T.top + window.scrollY,
|
|
650
|
+
q = T.top + window.scrollY, G = T.right + window.scrollX;
|
|
649
651
|
break;
|
|
650
652
|
case pe.RightBottom:
|
|
651
|
-
q = T.bottom + window.scrollY - M.height,
|
|
653
|
+
q = T.bottom + window.scrollY - M.height, G = T.right + window.scrollX;
|
|
652
654
|
break;
|
|
653
655
|
case pe.Left:
|
|
654
|
-
q = T.top + window.scrollY - (M.height - T.height) / 2,
|
|
656
|
+
q = T.top + window.scrollY - (M.height - T.height) / 2, G = T.left + window.scrollX - M.width;
|
|
655
657
|
break;
|
|
656
658
|
case pe.LeftTop:
|
|
657
|
-
q = T.top + window.scrollY,
|
|
659
|
+
q = T.top + window.scrollY, G = T.left + window.scrollX - M.width;
|
|
658
660
|
break;
|
|
659
661
|
case pe.LeftBottom:
|
|
660
|
-
q = T.bottom + window.scrollY - M.height,
|
|
662
|
+
q = T.bottom + window.scrollY - M.height, G = T.left + window.scrollX - M.width;
|
|
661
663
|
break;
|
|
662
664
|
case pe.Bottom:
|
|
663
|
-
q = T.bottom + window.scrollY,
|
|
665
|
+
q = T.bottom + window.scrollY, G = T.left + window.scrollX - (M.width - T.width) / 2;
|
|
664
666
|
break;
|
|
665
667
|
case pe.BottomLeft:
|
|
666
|
-
q = T.bottom + window.scrollY,
|
|
668
|
+
q = T.bottom + window.scrollY, G = T.left + window.scrollX;
|
|
667
669
|
break;
|
|
668
670
|
case pe.BottomRight:
|
|
669
|
-
q = T.bottom + window.scrollY,
|
|
671
|
+
q = T.bottom + window.scrollY, G = T.right + window.scrollX - M.width;
|
|
670
672
|
break;
|
|
671
673
|
case pe.Top:
|
|
672
|
-
q = T.top + window.scrollY - M.height,
|
|
674
|
+
q = T.top + window.scrollY - M.height, G = T.left + window.scrollX - (M.width - T.width) / 2;
|
|
673
675
|
break;
|
|
674
676
|
case pe.TopLeft:
|
|
675
|
-
q = T.top + window.scrollY - M.height,
|
|
677
|
+
q = T.top + window.scrollY - M.height, G = T.left + window.scrollX;
|
|
676
678
|
break;
|
|
677
679
|
case pe.TopRight:
|
|
678
|
-
q = T.top + window.scrollY - M.height,
|
|
680
|
+
q = T.top + window.scrollY - M.height, G = T.right + window.scrollX - M.width;
|
|
679
681
|
break;
|
|
680
682
|
default:
|
|
681
|
-
q = T.bottom + window.scrollY,
|
|
683
|
+
q = T.bottom + window.scrollY, G = T.left + window.scrollX;
|
|
682
684
|
}
|
|
683
|
-
q + M.height > window.innerHeight + window.scrollY && l.includes("bottom") ? q = T.top + window.scrollY - M.height : q < window.scrollY && l.includes("top") && (q = T.bottom + window.scrollY),
|
|
685
|
+
q + M.height > window.innerHeight + window.scrollY && l.includes("bottom") ? q = T.top + window.scrollY - M.height : q < window.scrollY && l.includes("top") && (q = T.bottom + window.scrollY), G + M.width > window.innerWidth + window.scrollX && l.includes("left") ? G = T.left + window.scrollX - M.width + T.width : G < window.scrollX && l.includes("right") && (G = T.right + window.scrollX - T.width), W((ee) => ({
|
|
684
686
|
...ee,
|
|
685
687
|
top: `${q}px`,
|
|
686
|
-
left: `${
|
|
687
|
-
visibility: b ||
|
|
688
|
-
opacity: b ||
|
|
688
|
+
left: `${G}px`,
|
|
689
|
+
visibility: b || H ? "visible" : "hidden",
|
|
690
|
+
opacity: b || H ? 1 : 0
|
|
689
691
|
}));
|
|
690
|
-
}, [l, b,
|
|
692
|
+
}, [l, b, H]);
|
|
691
693
|
re(() => (w(!0), () => w(!1)), []), re(() => {
|
|
692
|
-
|
|
693
|
-
}, [
|
|
694
|
-
if (!
|
|
694
|
+
j && ne();
|
|
695
|
+
}, [j, ne]), re(() => {
|
|
696
|
+
if (!j) return;
|
|
695
697
|
const T = () => ne();
|
|
696
698
|
return window.addEventListener("resize", T), window.addEventListener("scroll", T, !0), () => {
|
|
697
699
|
window.removeEventListener("resize", T), window.removeEventListener("scroll", T, !0);
|
|
698
700
|
};
|
|
699
|
-
}, [
|
|
701
|
+
}, [j, ne]);
|
|
700
702
|
const me = f({
|
|
701
703
|
...g && { [g]: !0 }
|
|
702
704
|
}), ue = f({
|
|
@@ -704,23 +706,23 @@ const it = (e) => {
|
|
|
704
706
|
}), le = f({
|
|
705
707
|
[ko.spTooltip]: !0,
|
|
706
708
|
...p && { [p]: !0 }
|
|
707
|
-
}),
|
|
709
|
+
}), Z = document.body;
|
|
708
710
|
return /* @__PURE__ */ O(
|
|
709
711
|
"div",
|
|
710
712
|
{
|
|
711
713
|
ref: R,
|
|
712
714
|
className: le,
|
|
713
715
|
onClick: m,
|
|
714
|
-
onMouseEnter: () => t &&
|
|
715
|
-
onMouseLeave: () => t &&
|
|
716
|
+
onMouseEnter: () => t && X(!0),
|
|
717
|
+
onMouseLeave: () => t && X(!1),
|
|
716
718
|
style: x,
|
|
717
719
|
children: [
|
|
718
720
|
i,
|
|
719
|
-
a && /* @__PURE__ */ c(bo, { node:
|
|
721
|
+
a && /* @__PURE__ */ c(bo, { node: Z, children: /* @__PURE__ */ c(
|
|
720
722
|
wo,
|
|
721
723
|
{
|
|
722
724
|
style: N,
|
|
723
|
-
ref:
|
|
725
|
+
ref: z,
|
|
724
726
|
noPadding: u,
|
|
725
727
|
text: d,
|
|
726
728
|
classNameRoot: me,
|
|
@@ -743,13 +745,13 @@ const it = (e) => {
|
|
|
743
745
|
trigger: /* @__PURE__ */ c(de, { name: D.Info })
|
|
744
746
|
}
|
|
745
747
|
);
|
|
746
|
-
},
|
|
747
|
-
spCheckbox:
|
|
748
|
+
}, Aa = "_spCheckbox_xjhws_43", Ba = "_spCheckbox__control_xjhws_49", Da = "_spCheckbox__label_xjhws_52", Ma = "_spCheckbox__box_xjhws_63", Pa = "_spCheckbox__box_checked_xjhws_90", Oa = "_spCheckbox__box_disabled_xjhws_100", Wa = "_spCheckbox__box_error_xjhws_111", za = "_spCheckbox__tooltip_xjhws_114", Ua = "_spCheckbox__required_xjhws_119", qa = "_spCheckbox__error_xjhws_125", Ce = {
|
|
749
|
+
spCheckbox: Aa,
|
|
748
750
|
spCheckbox__control: Ba,
|
|
749
751
|
spCheckbox__label: Da,
|
|
750
752
|
spCheckbox__box: Ma,
|
|
751
|
-
"spCheckbox__box--size-lg": "_spCheckbox__box--size-
|
|
752
|
-
"spCheckbox__box--size-md": "_spCheckbox__box--size-
|
|
753
|
+
"spCheckbox__box--size-lg": "_spCheckbox__box--size-lg_xjhws_69",
|
|
754
|
+
"spCheckbox__box--size-md": "_spCheckbox__box--size-md_xjhws_74",
|
|
753
755
|
spCheckbox__box_checked: Pa,
|
|
754
756
|
spCheckbox__box_disabled: Oa,
|
|
755
757
|
spCheckbox__box_error: Wa,
|
|
@@ -775,7 +777,7 @@ const it = (e) => {
|
|
|
775
777
|
} = e, b = f({
|
|
776
778
|
[Ce.spCheckbox]: !0,
|
|
777
779
|
...h && { [h]: !0 }
|
|
778
|
-
}),
|
|
780
|
+
}), L = f({
|
|
779
781
|
[Ce.spCheckbox__box]: !0,
|
|
780
782
|
[Ce.spCheckbox__box_checked]: o,
|
|
781
783
|
[Ce.spCheckbox__box_disabled]: n,
|
|
@@ -783,9 +785,9 @@ const it = (e) => {
|
|
|
783
785
|
[Ce.spCheckbox__box_error]: s
|
|
784
786
|
}), R = f({
|
|
785
787
|
[Ce.spCheckbox__control]: !0
|
|
786
|
-
}),
|
|
788
|
+
}), z = f({
|
|
787
789
|
[Ce.spCheckbox__label]: !0
|
|
788
|
-
}),
|
|
790
|
+
}), j = f({
|
|
789
791
|
[Ce.spCheckbox__required]: !0
|
|
790
792
|
}), w = f({
|
|
791
793
|
[Ce.spCheckbox__error]: !0,
|
|
@@ -794,20 +796,20 @@ const it = (e) => {
|
|
|
794
796
|
[Ce.spCheckbox__tooltip]: !0
|
|
795
797
|
});
|
|
796
798
|
return /* @__PURE__ */ O("div", { className: b, onMouseEnter: g, children: [
|
|
797
|
-
/* @__PURE__ */ O("label", { className:
|
|
799
|
+
/* @__PURE__ */ O("label", { className: L, children: [
|
|
798
800
|
/* @__PURE__ */ c(
|
|
799
801
|
"input",
|
|
800
802
|
{
|
|
801
803
|
type: "checkbox",
|
|
802
804
|
className: R,
|
|
803
805
|
checked: o,
|
|
804
|
-
onChange: (
|
|
805
|
-
!n && a && a(
|
|
806
|
+
onChange: (W) => {
|
|
807
|
+
!n && a && a(W, { name: i, checked: !o, value: p });
|
|
806
808
|
}
|
|
807
809
|
}
|
|
808
810
|
),
|
|
809
|
-
r && /* @__PURE__ */ c("span", { className:
|
|
810
|
-
l && /* @__PURE__ */ c("div", { className:
|
|
811
|
+
r && /* @__PURE__ */ c("span", { className: z, children: r }),
|
|
812
|
+
l && /* @__PURE__ */ c("div", { className: j, children: "*" }),
|
|
811
813
|
u && /* @__PURE__ */ c("div", { className: m, children: /* @__PURE__ */ c(rt, { hover: !0, position: d, text: u }) })
|
|
812
814
|
] }),
|
|
813
815
|
s && /* @__PURE__ */ c("div", { className: w, children: s })
|
|
@@ -885,7 +887,7 @@ const it = (e) => {
|
|
|
885
887
|
actionOnClose: () => h(!1),
|
|
886
888
|
text: /* @__PURE__ */ O("div", { className: l, children: [
|
|
887
889
|
o && /* @__PURE__ */ c("div", { className: d, children: o }),
|
|
888
|
-
n.map((b,
|
|
890
|
+
n.map((b, L) => /* @__PURE__ */ O(
|
|
889
891
|
"div",
|
|
890
892
|
{
|
|
891
893
|
className: f({
|
|
@@ -898,7 +900,7 @@ const it = (e) => {
|
|
|
898
900
|
b.description && /* @__PURE__ */ c("span", { className: u, children: b.description })
|
|
899
901
|
]
|
|
900
902
|
},
|
|
901
|
-
|
|
903
|
+
L
|
|
902
904
|
))
|
|
903
905
|
] }),
|
|
904
906
|
position: a,
|
|
@@ -933,7 +935,7 @@ const it = (e) => {
|
|
|
933
935
|
Xo(() => (b(), window.addEventListener("resize", b), () => {
|
|
934
936
|
window.removeEventListener("resize", b);
|
|
935
937
|
}), [t, h]);
|
|
936
|
-
const
|
|
938
|
+
const L = f({
|
|
937
939
|
[$t.ellipsisTextWithTooltip]: !0,
|
|
938
940
|
...n && { [n]: !0 }
|
|
939
941
|
}), R = f({
|
|
@@ -951,7 +953,7 @@ const it = (e) => {
|
|
|
951
953
|
isVisibleTooltip: u,
|
|
952
954
|
text: t,
|
|
953
955
|
trigger: /* @__PURE__ */ O($e, { children: [
|
|
954
|
-
/* @__PURE__ */ c(Ne, { ...p, classNameRoot:
|
|
956
|
+
/* @__PURE__ */ c(Ne, { ...p, classNameRoot: L, isEllipsis: !0, ref: l, children: t }),
|
|
955
957
|
o && u && x && /* @__PURE__ */ O($e, { children: [
|
|
956
958
|
/* @__PURE__ */ c(
|
|
957
959
|
"div",
|
|
@@ -963,7 +965,7 @@ const it = (e) => {
|
|
|
963
965
|
pointerEvents: "none",
|
|
964
966
|
whiteSpace: "nowrap"
|
|
965
967
|
},
|
|
966
|
-
children: /* @__PURE__ */ c(Ne, { ...p, classNameRoot:
|
|
968
|
+
children: /* @__PURE__ */ c(Ne, { ...p, classNameRoot: L, children: gt(t) })
|
|
967
969
|
}
|
|
968
970
|
),
|
|
969
971
|
/* @__PURE__ */ c(
|
|
@@ -971,7 +973,7 @@ const it = (e) => {
|
|
|
971
973
|
{
|
|
972
974
|
style: { width: "fit-content" },
|
|
973
975
|
...p,
|
|
974
|
-
classNameRoot:
|
|
976
|
+
classNameRoot: L,
|
|
975
977
|
children: gt(t)
|
|
976
978
|
}
|
|
977
979
|
)
|
|
@@ -1073,21 +1075,21 @@ const it = (e) => {
|
|
|
1073
1075
|
onMouseEnter: h,
|
|
1074
1076
|
infoTooltipText: x,
|
|
1075
1077
|
tooltipPosition: b,
|
|
1076
|
-
isVisibleDefaultTitle:
|
|
1078
|
+
isVisibleDefaultTitle: L = !0,
|
|
1077
1079
|
placeholder: R = "Введите...",
|
|
1078
|
-
classNameRoot:
|
|
1079
|
-
classNameError:
|
|
1080
|
+
classNameRoot: z,
|
|
1081
|
+
classNameError: j,
|
|
1080
1082
|
classNameLabel: w,
|
|
1081
1083
|
classNameBaseTooltipRoot: m,
|
|
1082
1084
|
...N
|
|
1083
|
-
} = e,
|
|
1085
|
+
} = e, W = f({
|
|
1084
1086
|
[ke.spInput]: !0,
|
|
1085
1087
|
[ke.spInput_error]: !!p,
|
|
1086
1088
|
[ke.spInput_absolutePositionError]: s,
|
|
1087
|
-
...
|
|
1088
|
-
}),
|
|
1089
|
+
...z && { [z]: !0 }
|
|
1090
|
+
}), H = f({
|
|
1089
1091
|
[ke.spInput__container]: !0
|
|
1090
|
-
}),
|
|
1092
|
+
}), X = f({
|
|
1091
1093
|
[ke.spInput__control]: !0,
|
|
1092
1094
|
[ke.spInput__control_disabled]: r,
|
|
1093
1095
|
[ke[`spInput__control_${i}`]]: i,
|
|
@@ -1097,16 +1099,16 @@ const it = (e) => {
|
|
|
1097
1099
|
}), me = f({
|
|
1098
1100
|
[ke.spInput__error]: !0,
|
|
1099
1101
|
[ke.spInput__error_absolutePosition]: s,
|
|
1100
|
-
...
|
|
1102
|
+
...j && { [j]: !0 }
|
|
1101
1103
|
}), ue = f({
|
|
1102
1104
|
...w && { [w]: !0 }
|
|
1103
1105
|
}), le = (M) => {
|
|
1104
1106
|
n(M, { name: d, value: "" });
|
|
1105
|
-
},
|
|
1106
|
-
const { value: q, name:
|
|
1107
|
-
g && q && !new RegExp(g).test(q) || n(M, { value: q, name:
|
|
1107
|
+
}, Z = (M) => {
|
|
1108
|
+
const { value: q, name: G } = M.target;
|
|
1109
|
+
g && q && !new RegExp(g).test(q) || n(M, { value: q, name: G });
|
|
1108
1110
|
};
|
|
1109
|
-
return /* @__PURE__ */ O("div", { className:
|
|
1111
|
+
return /* @__PURE__ */ O("div", { className: W, children: [
|
|
1110
1112
|
a && /* @__PURE__ */ c(
|
|
1111
1113
|
Mt,
|
|
1112
1114
|
{
|
|
@@ -1118,18 +1120,18 @@ const it = (e) => {
|
|
|
1118
1120
|
classNameBaseTooltipRoot: m
|
|
1119
1121
|
}
|
|
1120
1122
|
),
|
|
1121
|
-
/* @__PURE__ */ O("div", { className:
|
|
1123
|
+
/* @__PURE__ */ O("div", { className: H, onMouseEnter: h, children: [
|
|
1122
1124
|
/* @__PURE__ */ c(
|
|
1123
1125
|
"input",
|
|
1124
1126
|
{
|
|
1125
1127
|
...N,
|
|
1126
1128
|
placeholder: R,
|
|
1127
1129
|
disabled: r,
|
|
1128
|
-
onChange:
|
|
1129
|
-
title:
|
|
1130
|
+
onChange: Z,
|
|
1131
|
+
title: L ? o : void 0,
|
|
1130
1132
|
value: o,
|
|
1131
1133
|
name: d,
|
|
1132
|
-
className:
|
|
1134
|
+
className: X,
|
|
1133
1135
|
ref: t
|
|
1134
1136
|
}
|
|
1135
1137
|
),
|
|
@@ -1250,10 +1252,10 @@ function Yt(e) {
|
|
|
1250
1252
|
return t;
|
|
1251
1253
|
}
|
|
1252
1254
|
}
|
|
1253
|
-
var
|
|
1254
|
-
function
|
|
1255
|
+
var ji = Pt.match, Gt = typeof window < "u" ? window.matchMedia : null;
|
|
1256
|
+
function Fi(e, t, o) {
|
|
1255
1257
|
var n = this, a;
|
|
1256
|
-
Gt && !o && (a = Gt.call(window, e)), a ? (this.matches = a.matches, this.media = a.media, a.addListener(s)) : (this.matches =
|
|
1258
|
+
Gt && !o && (a = Gt.call(window, e)), a ? (this.matches = a.matches, this.media = a.media, a.addListener(s)) : (this.matches = ji(e, t), this.media = e), this.addListener = i, this.removeListener = r, this.dispose = p;
|
|
1257
1259
|
function i(l) {
|
|
1258
1260
|
a && a.addListener(l);
|
|
1259
1261
|
}
|
|
@@ -1267,10 +1269,10 @@ function Ai(e, t, o) {
|
|
|
1267
1269
|
a && a.removeListener(s);
|
|
1268
1270
|
}
|
|
1269
1271
|
}
|
|
1270
|
-
function
|
|
1271
|
-
return new
|
|
1272
|
+
function Ai(e, t, o) {
|
|
1273
|
+
return new Fi(e, t, o);
|
|
1272
1274
|
}
|
|
1273
|
-
var Bi =
|
|
1275
|
+
var Bi = Ai;
|
|
1274
1276
|
const Di = /* @__PURE__ */ To(Bi);
|
|
1275
1277
|
var Mi = /[A-Z]/g, Pi = /^ms-/, xt = {};
|
|
1276
1278
|
function Oi(e) {
|
|
@@ -1297,7 +1299,7 @@ function Wi(e, t) {
|
|
|
1297
1299
|
}
|
|
1298
1300
|
return !0;
|
|
1299
1301
|
}
|
|
1300
|
-
var Lt = { exports: {} }, Qe = { exports: {} },
|
|
1302
|
+
var Lt = { exports: {} }, Qe = { exports: {} }, Q = {};
|
|
1301
1303
|
/** @license React v16.13.1
|
|
1302
1304
|
* react-is.production.min.js
|
|
1303
1305
|
*
|
|
@@ -1308,10 +1310,10 @@ var Lt = { exports: {} }, Qe = { exports: {} }, Z = {};
|
|
|
1308
1310
|
*/
|
|
1309
1311
|
var Kt;
|
|
1310
1312
|
function zi() {
|
|
1311
|
-
if (Kt) return
|
|
1313
|
+
if (Kt) return Q;
|
|
1312
1314
|
Kt = 1;
|
|
1313
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = 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, p = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, x = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121,
|
|
1314
|
-
function
|
|
1315
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = 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, p = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, x = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, L = e ? Symbol.for("react.fundamental") : 60117, R = e ? Symbol.for("react.responder") : 60118, z = e ? Symbol.for("react.scope") : 60119;
|
|
1316
|
+
function j(m) {
|
|
1315
1317
|
if (typeof m == "object" && m !== null) {
|
|
1316
1318
|
var N = m.$$typeof;
|
|
1317
1319
|
switch (N) {
|
|
@@ -1342,37 +1344,37 @@ function zi() {
|
|
|
1342
1344
|
}
|
|
1343
1345
|
}
|
|
1344
1346
|
function w(m) {
|
|
1345
|
-
return
|
|
1347
|
+
return j(m) === l;
|
|
1346
1348
|
}
|
|
1347
|
-
return
|
|
1348
|
-
return w(m) ||
|
|
1349
|
-
},
|
|
1350
|
-
return
|
|
1351
|
-
},
|
|
1352
|
-
return
|
|
1353
|
-
},
|
|
1349
|
+
return Q.AsyncMode = p, Q.ConcurrentMode = l, Q.ContextConsumer = s, Q.ContextProvider = r, Q.Element = t, Q.ForwardRef = d, Q.Fragment = n, Q.Lazy = x, Q.Memo = h, Q.Portal = o, Q.Profiler = i, Q.StrictMode = a, Q.Suspense = u, Q.isAsyncMode = function(m) {
|
|
1350
|
+
return w(m) || j(m) === p;
|
|
1351
|
+
}, Q.isConcurrentMode = w, Q.isContextConsumer = function(m) {
|
|
1352
|
+
return j(m) === s;
|
|
1353
|
+
}, Q.isContextProvider = function(m) {
|
|
1354
|
+
return j(m) === r;
|
|
1355
|
+
}, Q.isElement = function(m) {
|
|
1354
1356
|
return typeof m == "object" && m !== null && m.$$typeof === t;
|
|
1355
|
-
},
|
|
1356
|
-
return
|
|
1357
|
-
},
|
|
1358
|
-
return
|
|
1359
|
-
},
|
|
1360
|
-
return
|
|
1361
|
-
},
|
|
1362
|
-
return
|
|
1363
|
-
},
|
|
1364
|
-
return
|
|
1365
|
-
},
|
|
1366
|
-
return
|
|
1367
|
-
},
|
|
1368
|
-
return
|
|
1369
|
-
},
|
|
1370
|
-
return
|
|
1371
|
-
},
|
|
1372
|
-
return typeof m == "string" || typeof m == "function" || m === n || m === l || m === i || m === a || m === u || m === g || typeof m == "object" && m !== null && (m.$$typeof === x || m.$$typeof === h || m.$$typeof === r || m.$$typeof === s || m.$$typeof === d || m.$$typeof ===
|
|
1373
|
-
},
|
|
1357
|
+
}, Q.isForwardRef = function(m) {
|
|
1358
|
+
return j(m) === d;
|
|
1359
|
+
}, Q.isFragment = function(m) {
|
|
1360
|
+
return j(m) === n;
|
|
1361
|
+
}, Q.isLazy = function(m) {
|
|
1362
|
+
return j(m) === x;
|
|
1363
|
+
}, Q.isMemo = function(m) {
|
|
1364
|
+
return j(m) === h;
|
|
1365
|
+
}, Q.isPortal = function(m) {
|
|
1366
|
+
return j(m) === o;
|
|
1367
|
+
}, Q.isProfiler = function(m) {
|
|
1368
|
+
return j(m) === i;
|
|
1369
|
+
}, Q.isStrictMode = function(m) {
|
|
1370
|
+
return j(m) === a;
|
|
1371
|
+
}, Q.isSuspense = function(m) {
|
|
1372
|
+
return j(m) === u;
|
|
1373
|
+
}, Q.isValidElementType = function(m) {
|
|
1374
|
+
return typeof m == "string" || typeof m == "function" || m === n || m === l || m === i || m === a || m === u || m === g || typeof m == "object" && m !== null && (m.$$typeof === x || m.$$typeof === h || m.$$typeof === r || m.$$typeof === s || m.$$typeof === d || m.$$typeof === L || m.$$typeof === R || m.$$typeof === z || m.$$typeof === b);
|
|
1375
|
+
}, Q.typeOf = j, Q;
|
|
1374
1376
|
}
|
|
1375
|
-
var
|
|
1377
|
+
var J = {};
|
|
1376
1378
|
/** @license React v16.13.1
|
|
1377
1379
|
* react-is.development.js
|
|
1378
1380
|
*
|
|
@@ -1384,10 +1386,10 @@ var Q = {};
|
|
|
1384
1386
|
var Xt;
|
|
1385
1387
|
function Ui() {
|
|
1386
1388
|
return Xt || (Xt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1387
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = 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, p = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, x = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121,
|
|
1388
|
-
function
|
|
1389
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = 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, p = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, x = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, L = e ? Symbol.for("react.fundamental") : 60117, R = e ? Symbol.for("react.responder") : 60118, z = e ? Symbol.for("react.scope") : 60119;
|
|
1390
|
+
function j(y) {
|
|
1389
1391
|
return typeof y == "string" || typeof y == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1390
|
-
y === n || y === l || y === i || y === a || y === u || y === g || typeof y == "object" && y !== null && (y.$$typeof === x || y.$$typeof === h || y.$$typeof === r || y.$$typeof === s || y.$$typeof === d || y.$$typeof ===
|
|
1392
|
+
y === n || y === l || y === i || y === a || y === u || y === g || typeof y == "object" && y !== null && (y.$$typeof === x || y.$$typeof === h || y.$$typeof === r || y.$$typeof === s || y.$$typeof === d || y.$$typeof === L || y.$$typeof === R || y.$$typeof === z || y.$$typeof === b);
|
|
1391
1393
|
}
|
|
1392
1394
|
function w(y) {
|
|
1393
1395
|
if (typeof y == "object" && y !== null) {
|
|
@@ -1421,9 +1423,9 @@ function Ui() {
|
|
|
1421
1423
|
}
|
|
1422
1424
|
}
|
|
1423
1425
|
}
|
|
1424
|
-
var m = p, N = l,
|
|
1426
|
+
var m = p, N = l, W = s, H = r, X = t, ne = d, me = n, ue = x, le = h, Z = o, T = i, M = a, q = u, G = !1;
|
|
1425
1427
|
function ee(y) {
|
|
1426
|
-
return
|
|
1428
|
+
return G || (G = !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.")), _(y) || w(y) === p;
|
|
1427
1429
|
}
|
|
1428
1430
|
function _(y) {
|
|
1429
1431
|
return w(y) === l;
|
|
@@ -1431,7 +1433,7 @@ function Ui() {
|
|
|
1431
1433
|
function v(y) {
|
|
1432
1434
|
return w(y) === s;
|
|
1433
1435
|
}
|
|
1434
|
-
function
|
|
1436
|
+
function S(y) {
|
|
1435
1437
|
return w(y) === r;
|
|
1436
1438
|
}
|
|
1437
1439
|
function F(y) {
|
|
@@ -1449,7 +1451,7 @@ function Ui() {
|
|
|
1449
1451
|
function U(y) {
|
|
1450
1452
|
return w(y) === h;
|
|
1451
1453
|
}
|
|
1452
|
-
function
|
|
1454
|
+
function V(y) {
|
|
1453
1455
|
return w(y) === o;
|
|
1454
1456
|
}
|
|
1455
1457
|
function K(y) {
|
|
@@ -1461,8 +1463,8 @@ function Ui() {
|
|
|
1461
1463
|
function ie(y) {
|
|
1462
1464
|
return w(y) === u;
|
|
1463
1465
|
}
|
|
1464
|
-
|
|
1465
|
-
}()),
|
|
1466
|
+
J.AsyncMode = m, J.ConcurrentMode = N, J.ContextConsumer = W, J.ContextProvider = H, J.Element = X, J.ForwardRef = ne, J.Fragment = me, J.Lazy = ue, J.Memo = le, J.Portal = Z, J.Profiler = T, J.StrictMode = M, J.Suspense = q, J.isAsyncMode = ee, J.isConcurrentMode = _, J.isContextConsumer = v, J.isContextProvider = S, J.isElement = F, J.isForwardRef = I, J.isFragment = P, J.isLazy = B, J.isMemo = U, J.isPortal = V, J.isProfiler = K, J.isStrictMode = $, J.isSuspense = ie, J.isValidElementType = j, J.typeOf = w;
|
|
1467
|
+
}()), J;
|
|
1466
1468
|
}
|
|
1467
1469
|
var Zt;
|
|
1468
1470
|
function Io() {
|
|
@@ -1612,15 +1614,15 @@ function Hi() {
|
|
|
1612
1614
|
object: R("object"),
|
|
1613
1615
|
string: R("string"),
|
|
1614
1616
|
symbol: R("symbol"),
|
|
1615
|
-
any:
|
|
1616
|
-
arrayOf:
|
|
1617
|
+
any: z(),
|
|
1618
|
+
arrayOf: j,
|
|
1617
1619
|
element: w(),
|
|
1618
1620
|
elementType: m(),
|
|
1619
1621
|
instanceOf: N,
|
|
1620
1622
|
node: ne(),
|
|
1621
|
-
objectOf:
|
|
1622
|
-
oneOf:
|
|
1623
|
-
oneOfType:
|
|
1623
|
+
objectOf: H,
|
|
1624
|
+
oneOf: W,
|
|
1625
|
+
oneOfType: X,
|
|
1624
1626
|
shape: ue,
|
|
1625
1627
|
exact: le
|
|
1626
1628
|
};
|
|
@@ -1631,34 +1633,34 @@ function Hi() {
|
|
|
1631
1633
|
this.message = _, this.data = v && typeof v == "object" ? v : {}, this.stack = "";
|
|
1632
1634
|
}
|
|
1633
1635
|
b.prototype = Error.prototype;
|
|
1634
|
-
function
|
|
1636
|
+
function L(_) {
|
|
1635
1637
|
if (process.env.NODE_ENV !== "production")
|
|
1636
|
-
var v = {},
|
|
1637
|
-
function F(P, B, U,
|
|
1638
|
-
if (
|
|
1638
|
+
var v = {}, S = 0;
|
|
1639
|
+
function F(P, B, U, V, K, $, ie) {
|
|
1640
|
+
if (V = V || g, $ = $ || U, ie !== o) {
|
|
1639
1641
|
if (p) {
|
|
1640
1642
|
var y = new Error(
|
|
1641
1643
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
1642
1644
|
);
|
|
1643
1645
|
throw y.name = "Invariant Violation", y;
|
|
1644
1646
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1645
|
-
var he =
|
|
1647
|
+
var he = V + ":" + U;
|
|
1646
1648
|
!v[he] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
1647
|
-
|
|
1648
|
-
"You are manually calling a React.PropTypes validation function for the `" + $ + "` prop on `" +
|
|
1649
|
-
), v[he] = !0,
|
|
1649
|
+
S < 3 && (i(
|
|
1650
|
+
"You are manually calling a React.PropTypes validation function for the `" + $ + "` prop on `" + V + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
1651
|
+
), v[he] = !0, S++);
|
|
1650
1652
|
}
|
|
1651
1653
|
}
|
|
1652
|
-
return B[U] == null ? P ? B[U] === null ? new b("The " + K + " `" + $ + "` is marked as required " + ("in `" +
|
|
1654
|
+
return B[U] == null ? P ? B[U] === null ? new b("The " + K + " `" + $ + "` is marked as required " + ("in `" + V + "`, but its value is `null`.")) : new b("The " + K + " `" + $ + "` is marked as required in " + ("`" + V + "`, but its value is `undefined`.")) : null : _(B, U, V, K, $);
|
|
1653
1655
|
}
|
|
1654
1656
|
var I = F.bind(null, !1);
|
|
1655
1657
|
return I.isRequired = F.bind(null, !0), I;
|
|
1656
1658
|
}
|
|
1657
1659
|
function R(_) {
|
|
1658
|
-
function v(
|
|
1659
|
-
var
|
|
1660
|
+
function v(S, F, I, P, B, U) {
|
|
1661
|
+
var V = S[F], K = M(V);
|
|
1660
1662
|
if (K !== _) {
|
|
1661
|
-
var $ = q(
|
|
1663
|
+
var $ = q(V);
|
|
1662
1664
|
return new b(
|
|
1663
1665
|
"Invalid " + P + " `" + B + "` of type " + ("`" + $ + "` supplied to `" + I + "`, expected ") + ("`" + _ + "`."),
|
|
1664
1666
|
{ expectedType: _ }
|
|
@@ -1666,19 +1668,19 @@ function Hi() {
|
|
|
1666
1668
|
}
|
|
1667
1669
|
return null;
|
|
1668
1670
|
}
|
|
1669
|
-
return
|
|
1671
|
+
return L(v);
|
|
1670
1672
|
}
|
|
1671
|
-
function
|
|
1672
|
-
return
|
|
1673
|
+
function z() {
|
|
1674
|
+
return L(r);
|
|
1673
1675
|
}
|
|
1674
|
-
function
|
|
1675
|
-
function v(
|
|
1676
|
+
function j(_) {
|
|
1677
|
+
function v(S, F, I, P, B) {
|
|
1676
1678
|
if (typeof _ != "function")
|
|
1677
1679
|
return new b("Property `" + B + "` of component `" + I + "` has invalid PropType notation inside arrayOf.");
|
|
1678
|
-
var U =
|
|
1680
|
+
var U = S[F];
|
|
1679
1681
|
if (!Array.isArray(U)) {
|
|
1680
|
-
var
|
|
1681
|
-
return new b("Invalid " + P + " `" + B + "` of type " + ("`" +
|
|
1682
|
+
var V = M(U);
|
|
1683
|
+
return new b("Invalid " + P + " `" + B + "` of type " + ("`" + V + "` supplied to `" + I + "`, expected an array."));
|
|
1682
1684
|
}
|
|
1683
1685
|
for (var K = 0; K < U.length; K++) {
|
|
1684
1686
|
var $ = _(U, K, I, P, B + "[" + K + "]", o);
|
|
@@ -1687,48 +1689,48 @@ function Hi() {
|
|
|
1687
1689
|
}
|
|
1688
1690
|
return null;
|
|
1689
1691
|
}
|
|
1690
|
-
return
|
|
1692
|
+
return L(v);
|
|
1691
1693
|
}
|
|
1692
1694
|
function w() {
|
|
1693
|
-
function _(v,
|
|
1694
|
-
var B = v[
|
|
1695
|
+
function _(v, S, F, I, P) {
|
|
1696
|
+
var B = v[S];
|
|
1695
1697
|
if (!s(B)) {
|
|
1696
1698
|
var U = M(B);
|
|
1697
1699
|
return new b("Invalid " + I + " `" + P + "` of type " + ("`" + U + "` supplied to `" + F + "`, expected a single ReactElement."));
|
|
1698
1700
|
}
|
|
1699
1701
|
return null;
|
|
1700
1702
|
}
|
|
1701
|
-
return
|
|
1703
|
+
return L(_);
|
|
1702
1704
|
}
|
|
1703
1705
|
function m() {
|
|
1704
|
-
function _(v,
|
|
1705
|
-
var B = v[
|
|
1706
|
+
function _(v, S, F, I, P) {
|
|
1707
|
+
var B = v[S];
|
|
1706
1708
|
if (!e.isValidElementType(B)) {
|
|
1707
1709
|
var U = M(B);
|
|
1708
1710
|
return new b("Invalid " + I + " `" + P + "` of type " + ("`" + U + "` supplied to `" + F + "`, expected a single ReactElement type."));
|
|
1709
1711
|
}
|
|
1710
1712
|
return null;
|
|
1711
1713
|
}
|
|
1712
|
-
return
|
|
1714
|
+
return L(_);
|
|
1713
1715
|
}
|
|
1714
1716
|
function N(_) {
|
|
1715
|
-
function v(
|
|
1716
|
-
if (!(
|
|
1717
|
-
var U = _.name || g,
|
|
1718
|
-
return new b("Invalid " + P + " `" + B + "` of type " + ("`" +
|
|
1717
|
+
function v(S, F, I, P, B) {
|
|
1718
|
+
if (!(S[F] instanceof _)) {
|
|
1719
|
+
var U = _.name || g, V = ee(S[F]);
|
|
1720
|
+
return new b("Invalid " + P + " `" + B + "` of type " + ("`" + V + "` supplied to `" + I + "`, expected ") + ("instance of `" + U + "`."));
|
|
1719
1721
|
}
|
|
1720
1722
|
return null;
|
|
1721
1723
|
}
|
|
1722
|
-
return
|
|
1724
|
+
return L(v);
|
|
1723
1725
|
}
|
|
1724
|
-
function
|
|
1726
|
+
function W(_) {
|
|
1725
1727
|
if (!Array.isArray(_))
|
|
1726
1728
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
1727
1729
|
"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])."
|
|
1728
1730
|
) : i("Invalid argument supplied to oneOf, expected an array.")), r;
|
|
1729
|
-
function v(
|
|
1730
|
-
for (var U =
|
|
1731
|
-
if (x(U, _[
|
|
1731
|
+
function v(S, F, I, P, B) {
|
|
1732
|
+
for (var U = S[F], V = 0; V < _.length; V++)
|
|
1733
|
+
if (x(U, _[V]))
|
|
1732
1734
|
return null;
|
|
1733
1735
|
var K = JSON.stringify(_, function(ie, y) {
|
|
1734
1736
|
var he = q(y);
|
|
@@ -1736,15 +1738,15 @@ function Hi() {
|
|
|
1736
1738
|
});
|
|
1737
1739
|
return new b("Invalid " + P + " `" + B + "` of value `" + String(U) + "` " + ("supplied to `" + I + "`, expected one of " + K + "."));
|
|
1738
1740
|
}
|
|
1739
|
-
return
|
|
1741
|
+
return L(v);
|
|
1740
1742
|
}
|
|
1741
|
-
function
|
|
1742
|
-
function v(
|
|
1743
|
+
function H(_) {
|
|
1744
|
+
function v(S, F, I, P, B) {
|
|
1743
1745
|
if (typeof _ != "function")
|
|
1744
1746
|
return new b("Property `" + B + "` of component `" + I + "` has invalid PropType notation inside objectOf.");
|
|
1745
|
-
var U =
|
|
1746
|
-
if (
|
|
1747
|
-
return new b("Invalid " + P + " `" + B + "` of type " + ("`" +
|
|
1747
|
+
var U = S[F], V = M(U);
|
|
1748
|
+
if (V !== "object")
|
|
1749
|
+
return new b("Invalid " + P + " `" + B + "` of type " + ("`" + V + "` supplied to `" + I + "`, expected an object."));
|
|
1748
1750
|
for (var K in U)
|
|
1749
1751
|
if (n(U, K)) {
|
|
1750
1752
|
var $ = _(U, K, I, P, B + "." + K, o);
|
|
@@ -1753,46 +1755,46 @@ function Hi() {
|
|
|
1753
1755
|
}
|
|
1754
1756
|
return null;
|
|
1755
1757
|
}
|
|
1756
|
-
return
|
|
1758
|
+
return L(v);
|
|
1757
1759
|
}
|
|
1758
|
-
function
|
|
1760
|
+
function X(_) {
|
|
1759
1761
|
if (!Array.isArray(_))
|
|
1760
1762
|
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), r;
|
|
1761
1763
|
for (var v = 0; v < _.length; v++) {
|
|
1762
|
-
var
|
|
1763
|
-
if (typeof
|
|
1764
|
+
var S = _[v];
|
|
1765
|
+
if (typeof S != "function")
|
|
1764
1766
|
return i(
|
|
1765
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " +
|
|
1767
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + G(S) + " at index " + v + "."
|
|
1766
1768
|
), r;
|
|
1767
1769
|
}
|
|
1768
|
-
function F(I, P, B, U,
|
|
1770
|
+
function F(I, P, B, U, V) {
|
|
1769
1771
|
for (var K = [], $ = 0; $ < _.length; $++) {
|
|
1770
|
-
var ie = _[$], y = ie(I, P, B, U,
|
|
1772
|
+
var ie = _[$], y = ie(I, P, B, U, V, o);
|
|
1771
1773
|
if (y == null)
|
|
1772
1774
|
return null;
|
|
1773
1775
|
y.data && n(y.data, "expectedType") && K.push(y.data.expectedType);
|
|
1774
1776
|
}
|
|
1775
1777
|
var he = K.length > 0 ? ", expected one of type [" + K.join(", ") + "]" : "";
|
|
1776
|
-
return new b("Invalid " + U + " `" +
|
|
1778
|
+
return new b("Invalid " + U + " `" + V + "` supplied to " + ("`" + B + "`" + he + "."));
|
|
1777
1779
|
}
|
|
1778
|
-
return
|
|
1780
|
+
return L(F);
|
|
1779
1781
|
}
|
|
1780
1782
|
function ne() {
|
|
1781
|
-
function _(v,
|
|
1782
|
-
return
|
|
1783
|
+
function _(v, S, F, I, P) {
|
|
1784
|
+
return Z(v[S]) ? null : new b("Invalid " + I + " `" + P + "` supplied to " + ("`" + F + "`, expected a ReactNode."));
|
|
1783
1785
|
}
|
|
1784
|
-
return
|
|
1786
|
+
return L(_);
|
|
1785
1787
|
}
|
|
1786
|
-
function me(_, v,
|
|
1788
|
+
function me(_, v, S, F, I) {
|
|
1787
1789
|
return new b(
|
|
1788
|
-
(_ || "React class") + ": " + v + " type `" +
|
|
1790
|
+
(_ || "React class") + ": " + v + " type `" + S + "." + F + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + I + "`."
|
|
1789
1791
|
);
|
|
1790
1792
|
}
|
|
1791
1793
|
function ue(_) {
|
|
1792
|
-
function v(
|
|
1793
|
-
var U =
|
|
1794
|
-
if (
|
|
1795
|
-
return new b("Invalid " + P + " `" + B + "` of type `" +
|
|
1794
|
+
function v(S, F, I, P, B) {
|
|
1795
|
+
var U = S[F], V = M(U);
|
|
1796
|
+
if (V !== "object")
|
|
1797
|
+
return new b("Invalid " + P + " `" + B + "` of type `" + V + "` " + ("supplied to `" + I + "`, expected `object`."));
|
|
1796
1798
|
for (var K in _) {
|
|
1797
1799
|
var $ = _[K];
|
|
1798
1800
|
if (typeof $ != "function")
|
|
@@ -1803,21 +1805,21 @@ function Hi() {
|
|
|
1803
1805
|
}
|
|
1804
1806
|
return null;
|
|
1805
1807
|
}
|
|
1806
|
-
return
|
|
1808
|
+
return L(v);
|
|
1807
1809
|
}
|
|
1808
1810
|
function le(_) {
|
|
1809
|
-
function v(
|
|
1810
|
-
var U =
|
|
1811
|
-
if (
|
|
1812
|
-
return new b("Invalid " + P + " `" + B + "` of type `" +
|
|
1813
|
-
var K = t({},
|
|
1811
|
+
function v(S, F, I, P, B) {
|
|
1812
|
+
var U = S[F], V = M(U);
|
|
1813
|
+
if (V !== "object")
|
|
1814
|
+
return new b("Invalid " + P + " `" + B + "` of type `" + V + "` " + ("supplied to `" + I + "`, expected `object`."));
|
|
1815
|
+
var K = t({}, S[F], _);
|
|
1814
1816
|
for (var $ in K) {
|
|
1815
1817
|
var ie = _[$];
|
|
1816
1818
|
if (n(_, $) && typeof ie != "function")
|
|
1817
1819
|
return me(I, P, B, $, q(ie));
|
|
1818
1820
|
if (!ie)
|
|
1819
1821
|
return new b(
|
|
1820
|
-
"Invalid " + P + " `" + B + "` key `" + $ + "` supplied to `" + I + "`.\nBad object: " + JSON.stringify(
|
|
1822
|
+
"Invalid " + P + " `" + B + "` key `" + $ + "` supplied to `" + I + "`.\nBad object: " + JSON.stringify(S[F], null, " ") + `
|
|
1821
1823
|
Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
|
|
1822
1824
|
);
|
|
1823
1825
|
var y = ie(U, $, I, P, B + "." + $, o);
|
|
@@ -1826,9 +1828,9 @@ Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
|
|
|
1826
1828
|
}
|
|
1827
1829
|
return null;
|
|
1828
1830
|
}
|
|
1829
|
-
return
|
|
1831
|
+
return L(v);
|
|
1830
1832
|
}
|
|
1831
|
-
function
|
|
1833
|
+
function Z(_) {
|
|
1832
1834
|
switch (typeof _) {
|
|
1833
1835
|
case "number":
|
|
1834
1836
|
case "string":
|
|
@@ -1838,20 +1840,20 @@ Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
|
|
|
1838
1840
|
return !_;
|
|
1839
1841
|
case "object":
|
|
1840
1842
|
if (Array.isArray(_))
|
|
1841
|
-
return _.every(
|
|
1843
|
+
return _.every(Z);
|
|
1842
1844
|
if (_ === null || s(_))
|
|
1843
1845
|
return !0;
|
|
1844
1846
|
var v = u(_);
|
|
1845
1847
|
if (v) {
|
|
1846
|
-
var
|
|
1848
|
+
var S = v.call(_), F;
|
|
1847
1849
|
if (v !== _.entries) {
|
|
1848
|
-
for (; !(F =
|
|
1849
|
-
if (!
|
|
1850
|
+
for (; !(F = S.next()).done; )
|
|
1851
|
+
if (!Z(F.value))
|
|
1850
1852
|
return !1;
|
|
1851
1853
|
} else
|
|
1852
|
-
for (; !(F =
|
|
1854
|
+
for (; !(F = S.next()).done; ) {
|
|
1853
1855
|
var I = F.value;
|
|
1854
|
-
if (I && !
|
|
1856
|
+
if (I && !Z(I[1]))
|
|
1855
1857
|
return !1;
|
|
1856
1858
|
}
|
|
1857
1859
|
} else
|
|
@@ -1880,7 +1882,7 @@ Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
|
|
|
1880
1882
|
}
|
|
1881
1883
|
return v;
|
|
1882
1884
|
}
|
|
1883
|
-
function
|
|
1885
|
+
function G(_) {
|
|
1884
1886
|
var v = q(_);
|
|
1885
1887
|
switch (v) {
|
|
1886
1888
|
case "array":
|
|
@@ -2099,7 +2101,7 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2099
2101
|
p.current = i, l.current = performance.now();
|
|
2100
2102
|
const x = (b) => {
|
|
2101
2103
|
if (!l.current) return;
|
|
2102
|
-
const
|
|
2104
|
+
const L = b - l.current, R = Math.min(L / o, 1), z = R < 0.5 ? 4 * R * R * R : 1 - Math.pow(-2 * R + 2, 3) / 2, j = p.current + (d.current - p.current) * z, w = Math.max(0, Math.floor(j));
|
|
2103
2105
|
r(w), R < 1 && (s.current = requestAnimationFrame(x));
|
|
2104
2106
|
};
|
|
2105
2107
|
return s.current = requestAnimationFrame(x), () => {
|
|
@@ -2167,7 +2169,7 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2167
2169
|
"%"
|
|
2168
2170
|
] })
|
|
2169
2171
|
] });
|
|
2170
|
-
}, yr = 180, wr = "_spSelect_1l6hu_43", Cr = "_spSelect_error_1l6hu_48", kr = "_spSelect__control_1l6hu_48", Tr = "_spSelect__value_empty_1l6hu_52", Nr = "_spSelect__icon_1l6hu_55", Er = "_spSelect_absolutePositionError_1l6hu_58", Ir = "_spSelect__container_1l6hu_61", Sr = "_spSelect__control_filled_1l6hu_81", Lr = "_spSelect__control_outlined_1l6hu_85", Rr = "_spSelect__control_disabled_1l6hu_110",
|
|
2172
|
+
}, yr = 180, wr = "_spSelect_1l6hu_43", Cr = "_spSelect_error_1l6hu_48", kr = "_spSelect__control_1l6hu_48", Tr = "_spSelect__value_empty_1l6hu_52", Nr = "_spSelect__icon_1l6hu_55", Er = "_spSelect_absolutePositionError_1l6hu_58", Ir = "_spSelect__container_1l6hu_61", Sr = "_spSelect__control_filled_1l6hu_81", Lr = "_spSelect__control_outlined_1l6hu_85", Rr = "_spSelect__control_disabled_1l6hu_110", jr = "_spSelect__value_1l6hu_52", Fr = "_spSelect__list_1l6hu_141", Ar = "_spSelect__list_scrollable_1l6hu_148", Br = "_spSelect__option_1l6hu_164", Dr = "_spSelect__error_1l6hu_182", Mr = "_spSelect__error_absolutePosition_1l6hu_189", _e = {
|
|
2171
2173
|
spSelect: wr,
|
|
2172
2174
|
spSelect_error: Cr,
|
|
2173
2175
|
spSelect__control: kr,
|
|
@@ -2178,9 +2180,9 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2178
2180
|
spSelect__control_filled: Sr,
|
|
2179
2181
|
spSelect__control_outlined: Lr,
|
|
2180
2182
|
spSelect__control_disabled: Rr,
|
|
2181
|
-
spSelect__value:
|
|
2182
|
-
spSelect__list:
|
|
2183
|
-
spSelect__list_scrollable:
|
|
2183
|
+
spSelect__value: jr,
|
|
2184
|
+
spSelect__list: Fr,
|
|
2185
|
+
spSelect__list_scrollable: Ar,
|
|
2184
2186
|
spSelect__option: Br,
|
|
2185
2187
|
spSelect__error: Dr,
|
|
2186
2188
|
spSelect__error_absolutePosition: Mr
|
|
@@ -2201,55 +2203,55 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2201
2203
|
required: h,
|
|
2202
2204
|
maxHeightList: x = yr,
|
|
2203
2205
|
isVisibleDefaultTitle: b = !0,
|
|
2204
|
-
isScrollableList:
|
|
2206
|
+
isScrollableList: L = !1,
|
|
2205
2207
|
isAbsolutePositionError: R = !1,
|
|
2206
|
-
classNameRoot:
|
|
2207
|
-
classNameError:
|
|
2208
|
+
classNameRoot: z,
|
|
2209
|
+
classNameError: j,
|
|
2208
2210
|
classNameLabel: w,
|
|
2209
2211
|
classNameBaseTooltipRoot: m
|
|
2210
|
-
} = e, [N,
|
|
2212
|
+
} = e, [N, W] = oe(!1), H = ve(null);
|
|
2211
2213
|
Co(
|
|
2212
|
-
[
|
|
2214
|
+
[H],
|
|
2213
2215
|
() => {
|
|
2214
|
-
|
|
2216
|
+
W(!1);
|
|
2215
2217
|
},
|
|
2216
2218
|
N
|
|
2217
2219
|
);
|
|
2218
|
-
const
|
|
2219
|
-
r(v, { value:
|
|
2220
|
+
const X = t.find((v) => v.value === n), ne = (v, S) => {
|
|
2221
|
+
r(v, { value: S, name: a }), W(!1);
|
|
2220
2222
|
}, me = () => {
|
|
2221
|
-
g ||
|
|
2223
|
+
g || W(!N);
|
|
2222
2224
|
}, ue = f({
|
|
2223
2225
|
[_e.spSelect]: !0,
|
|
2224
2226
|
[_e.spSelect_error]: !!p,
|
|
2225
2227
|
[_e.spSelect_absolutePositionError]: R,
|
|
2226
|
-
...
|
|
2228
|
+
...z && { [z]: !0 }
|
|
2227
2229
|
}), le = f({
|
|
2228
2230
|
[_e.spSelect__container]: !0
|
|
2229
|
-
}),
|
|
2231
|
+
}), Z = f({
|
|
2230
2232
|
[_e.spSelect__control]: !0,
|
|
2231
2233
|
[_e[`spSelect__control_${i}`]]: i,
|
|
2232
2234
|
[_e.spSelect__control_disabled]: g
|
|
2233
2235
|
}), T = f({
|
|
2234
2236
|
[_e.spSelect__value]: !0,
|
|
2235
|
-
[_e.spSelect__value_empty]: !
|
|
2237
|
+
[_e.spSelect__value_empty]: !X
|
|
2236
2238
|
}), M = f({
|
|
2237
2239
|
[_e.spSelect__icon]: !0
|
|
2238
2240
|
}), q = f({
|
|
2239
2241
|
[_e.spSelect__list]: !0,
|
|
2240
|
-
[_e.spSelect__list_scrollable]:
|
|
2241
|
-
}),
|
|
2242
|
+
[_e.spSelect__list_scrollable]: L
|
|
2243
|
+
}), G = f({
|
|
2242
2244
|
...w && { [w]: !0 }
|
|
2243
2245
|
}), ee = f({
|
|
2244
2246
|
[_e.spSelect__error]: !0,
|
|
2245
2247
|
[_e.spSelect__error_absolutePosition]: R,
|
|
2246
|
-
...
|
|
2248
|
+
...j && { [j]: !0 }
|
|
2247
2249
|
});
|
|
2248
|
-
return /* @__PURE__ */ O("div", { className: ue, ref:
|
|
2250
|
+
return /* @__PURE__ */ O("div", { className: ue, ref: H, children: [
|
|
2249
2251
|
l && /* @__PURE__ */ c(
|
|
2250
2252
|
Mt,
|
|
2251
2253
|
{
|
|
2252
|
-
classNameRoot:
|
|
2254
|
+
classNameRoot: G,
|
|
2253
2255
|
tooltipPosition: u,
|
|
2254
2256
|
required: h,
|
|
2255
2257
|
label: l,
|
|
@@ -2263,10 +2265,10 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2263
2265
|
{
|
|
2264
2266
|
tabIndex: g ? -1 : 0,
|
|
2265
2267
|
title: b ? n : void 0,
|
|
2266
|
-
className:
|
|
2268
|
+
className: Z,
|
|
2267
2269
|
onClick: me,
|
|
2268
2270
|
children: [
|
|
2269
|
-
/* @__PURE__ */ c("div", { className: T, children: (
|
|
2271
|
+
/* @__PURE__ */ c("div", { className: T, children: (X == null ? void 0 : X.label) || o }),
|
|
2270
2272
|
/* @__PURE__ */ c(
|
|
2271
2273
|
de,
|
|
2272
2274
|
{
|
|
@@ -2282,9 +2284,9 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2282
2284
|
"div",
|
|
2283
2285
|
{
|
|
2284
2286
|
className: q,
|
|
2285
|
-
style:
|
|
2287
|
+
style: L ? { maxHeight: `${x}px` } : {},
|
|
2286
2288
|
children: t.map((v) => {
|
|
2287
|
-
const
|
|
2289
|
+
const S = v.value === n;
|
|
2288
2290
|
return /* @__PURE__ */ O(
|
|
2289
2291
|
"div",
|
|
2290
2292
|
{
|
|
@@ -2294,7 +2296,7 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2294
2296
|
onClick: (F) => ne(F, v.value),
|
|
2295
2297
|
children: [
|
|
2296
2298
|
v.label,
|
|
2297
|
-
|
|
2299
|
+
S && /* @__PURE__ */ c(de, { name: D.Check, className: M })
|
|
2298
2300
|
]
|
|
2299
2301
|
},
|
|
2300
2302
|
v.value
|
|
@@ -2374,24 +2376,24 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2374
2376
|
}), d = f({
|
|
2375
2377
|
[ye.spTable__emptyPage]: !0
|
|
2376
2378
|
}), [u, g] = oe(null), h = (w) => {
|
|
2377
|
-
const { text: m, rowIndex: N, colIndex:
|
|
2378
|
-
(u == null ? void 0 : u.rowIndex) === N && (u == null ? void 0 : u.colIndex) ===
|
|
2379
|
-
g({ rowIndex: N, colIndex:
|
|
2380
|
-
}).catch((
|
|
2381
|
-
console.error("Ошибка при копировании:",
|
|
2379
|
+
const { text: m, rowIndex: N, colIndex: W } = w;
|
|
2380
|
+
(u == null ? void 0 : u.rowIndex) === N && (u == null ? void 0 : u.colIndex) === W || navigator.clipboard.writeText(m).then(() => {
|
|
2381
|
+
g({ rowIndex: N, colIndex: W });
|
|
2382
|
+
}).catch((H) => {
|
|
2383
|
+
console.error("Ошибка при копировании:", H);
|
|
2382
2384
|
});
|
|
2383
2385
|
}, x = () => {
|
|
2384
2386
|
g(null);
|
|
2385
|
-
}, b = () => /* @__PURE__ */ c("div", { className: d, children: "Данные отсутствуют" }),
|
|
2387
|
+
}, b = () => /* @__PURE__ */ c("div", { className: d, children: "Данные отсутствуют" }), L = ({
|
|
2386
2388
|
row: w,
|
|
2387
2389
|
col: m
|
|
2388
2390
|
}) => {
|
|
2389
2391
|
const N = w[m.key];
|
|
2390
2392
|
if (!N) return null;
|
|
2391
|
-
const [
|
|
2393
|
+
const [W, H] = N.split(/\s*\{\{|}}\s*/).filter(Boolean);
|
|
2392
2394
|
return /* @__PURE__ */ O("span", { children: [
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
+
W,
|
|
2396
|
+
H && /* @__PURE__ */ c("span", { className: l, children: ` ${H}` })
|
|
2395
2397
|
] });
|
|
2396
2398
|
}, R = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ O("table", { className: s, children: [
|
|
2397
2399
|
/* @__PURE__ */ c("colgroup", { children: r.map((w, m, N) => /* @__PURE__ */ c(
|
|
@@ -2404,55 +2406,55 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2404
2406
|
m
|
|
2405
2407
|
)) }),
|
|
2406
2408
|
/* @__PURE__ */ c("thead", { children: /* @__PURE__ */ c("tr", { children: r.map((w, m) => /* @__PURE__ */ c("th", { children: w.title }, m)) }) }),
|
|
2407
|
-
/* @__PURE__ */ c("tbody", { children: o.map((w, m) => w ? /* @__PURE__ */ c("tr", { children: r.map((N,
|
|
2408
|
-
const
|
|
2409
|
+
/* @__PURE__ */ c("tbody", { children: o.map((w, m) => w ? /* @__PURE__ */ c("tr", { children: r.map((N, W) => {
|
|
2410
|
+
const H = (u == null ? void 0 : u.rowIndex) === m && (u == null ? void 0 : u.colIndex) === W;
|
|
2409
2411
|
return /* @__PURE__ */ c(
|
|
2410
2412
|
"td",
|
|
2411
2413
|
{
|
|
2412
|
-
onMouseLeave:
|
|
2414
|
+
onMouseLeave: H ? x : void 0,
|
|
2413
2415
|
children: /* @__PURE__ */ O("div", { className: p, children: [
|
|
2414
|
-
/* @__PURE__ */ c("span", { children: N.isColorContentsCurlyBrackets ?
|
|
2416
|
+
/* @__PURE__ */ c("span", { children: N.isColorContentsCurlyBrackets ? L({ row: w, col: N }) : w[N.key] }),
|
|
2415
2417
|
!St(w[N.key]) && N.isBeCopiedValue && /* @__PURE__ */ c(
|
|
2416
2418
|
de,
|
|
2417
2419
|
{
|
|
2418
2420
|
className: f({
|
|
2419
2421
|
[ye.spTable__tdContentCopyIcon]: !0,
|
|
2420
|
-
[ye.spTable__tdContentCopyIcon_copied]:
|
|
2422
|
+
[ye.spTable__tdContentCopyIcon_copied]: H
|
|
2421
2423
|
}),
|
|
2422
|
-
name:
|
|
2424
|
+
name: H ? D.Check : D.Copy,
|
|
2423
2425
|
onClick: () => {
|
|
2424
|
-
const
|
|
2425
|
-
if (!
|
|
2426
|
+
const X = w[N.key];
|
|
2427
|
+
if (!X) return null;
|
|
2426
2428
|
h({
|
|
2427
|
-
text:
|
|
2429
|
+
text: X,
|
|
2428
2430
|
rowIndex: m,
|
|
2429
|
-
colIndex:
|
|
2431
|
+
colIndex: W
|
|
2430
2432
|
});
|
|
2431
2433
|
}
|
|
2432
2434
|
}
|
|
2433
2435
|
)
|
|
2434
2436
|
] })
|
|
2435
2437
|
},
|
|
2436
|
-
`${m}:${
|
|
2438
|
+
`${m}:${W}`
|
|
2437
2439
|
);
|
|
2438
2440
|
}) }, m) : null) })
|
|
2439
|
-
] }) : b(),
|
|
2441
|
+
] }) : b(), z = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ c(
|
|
2440
2442
|
"div",
|
|
2441
2443
|
{
|
|
2442
2444
|
className: f({
|
|
2443
2445
|
[ye.spStringsGroup]: !0
|
|
2444
2446
|
}),
|
|
2445
|
-
children: o.map((w, m) => w ? /* @__PURE__ */ c("div", { children: r.map((N,
|
|
2447
|
+
children: o.map((w, m) => w ? /* @__PURE__ */ c("div", { children: r.map((N, W) => {
|
|
2446
2448
|
if (St(w[N.key]))
|
|
2447
2449
|
return null;
|
|
2448
|
-
const
|
|
2450
|
+
const H = (u == null ? void 0 : u.rowIndex) === m && (u == null ? void 0 : u.colIndex) === W;
|
|
2449
2451
|
return /* @__PURE__ */ O(
|
|
2450
2452
|
"div",
|
|
2451
2453
|
{
|
|
2452
2454
|
className: f({
|
|
2453
2455
|
[ye.spStringsGroup__groupItem]: !0
|
|
2454
2456
|
}),
|
|
2455
|
-
onMouseLeave:
|
|
2457
|
+
onMouseLeave: H ? x : void 0,
|
|
2456
2458
|
children: [
|
|
2457
2459
|
/* @__PURE__ */ c(
|
|
2458
2460
|
"div",
|
|
@@ -2470,22 +2472,22 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2470
2472
|
[ye.spStringsGroup__groupItemContent]: !0
|
|
2471
2473
|
}),
|
|
2472
2474
|
children: [
|
|
2473
|
-
/* @__PURE__ */ c("span", { children: N.isColorContentsCurlyBrackets ?
|
|
2475
|
+
/* @__PURE__ */ c("span", { children: N.isColorContentsCurlyBrackets ? L({ row: w, col: N }) : w[N.key] }),
|
|
2474
2476
|
N.isBeCopiedValue && /* @__PURE__ */ c(
|
|
2475
2477
|
de,
|
|
2476
2478
|
{
|
|
2477
2479
|
className: f({
|
|
2478
2480
|
[ye.spStringsGroup__groupItemContentCopyIcon]: !0,
|
|
2479
|
-
[ye.spStringsGroup__groupItemContentCopyIcon_copied]:
|
|
2481
|
+
[ye.spStringsGroup__groupItemContentCopyIcon_copied]: H
|
|
2480
2482
|
}),
|
|
2481
|
-
name:
|
|
2483
|
+
name: H ? D.Check : D.Copy,
|
|
2482
2484
|
onClick: () => {
|
|
2483
|
-
const
|
|
2484
|
-
if (!
|
|
2485
|
+
const X = w[N.key];
|
|
2486
|
+
if (!X) return null;
|
|
2485
2487
|
h({
|
|
2486
|
-
text:
|
|
2488
|
+
text: X,
|
|
2487
2489
|
rowIndex: m,
|
|
2488
|
-
colIndex:
|
|
2490
|
+
colIndex: W
|
|
2489
2491
|
});
|
|
2490
2492
|
}
|
|
2491
2493
|
}
|
|
@@ -2495,12 +2497,12 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2495
2497
|
)
|
|
2496
2498
|
]
|
|
2497
2499
|
},
|
|
2498
|
-
|
|
2500
|
+
W
|
|
2499
2501
|
);
|
|
2500
2502
|
}) }, m) : null)
|
|
2501
2503
|
}
|
|
2502
2504
|
) : b();
|
|
2503
|
-
return n ? a ? R() :
|
|
2505
|
+
return n ? a ? R() : z() : R();
|
|
2504
2506
|
}, es = "_spTabs_p5nml_43", ts = "_spTabs_separated_p5nml_48", os = "_spTabs__tabElement_p5nml_48", ns = "_spTabs__tabElement_active_p5nml_83", as = "_spTabs__tooltip_p5nml_90", Re = {
|
|
2505
2507
|
spTabs: es,
|
|
2506
2508
|
spTabs_separated: ts,
|
|
@@ -2595,7 +2597,7 @@ const tr = (e) => `not ${e}`, or = (e, t) => {
|
|
|
2595
2597
|
/* @__PURE__ */ c(Ne, { ...l, children: p })
|
|
2596
2598
|
] });
|
|
2597
2599
|
};
|
|
2598
|
-
function
|
|
2600
|
+
function Fe(e, t, o, n) {
|
|
2599
2601
|
function a(i) {
|
|
2600
2602
|
return i instanceof o ? i : new o(function(r) {
|
|
2601
2603
|
r(i);
|
|
@@ -3858,7 +3860,7 @@ const ls = [
|
|
|
3858
3860
|
// Windows
|
|
3859
3861
|
];
|
|
3860
3862
|
function cs(e) {
|
|
3861
|
-
return
|
|
3863
|
+
return Fe(this, void 0, void 0, function* () {
|
|
3862
3864
|
return ot(e) && ds(e.dataTransfer) ? fs(e.dataTransfer, e.type) : ms(e) ? us(e) : Array.isArray(e) && e.every((t) => "getFile" in t && typeof t.getFile == "function") ? _s(e) : [];
|
|
3863
3865
|
});
|
|
3864
3866
|
}
|
|
@@ -3875,18 +3877,18 @@ function us(e) {
|
|
|
3875
3877
|
return Rt(e.target.files).map((t) => Pe(t));
|
|
3876
3878
|
}
|
|
3877
3879
|
function _s(e) {
|
|
3878
|
-
return
|
|
3880
|
+
return Fe(this, void 0, void 0, function* () {
|
|
3879
3881
|
return (yield Promise.all(e.map((o) => o.getFile()))).map((o) => Pe(o));
|
|
3880
3882
|
});
|
|
3881
3883
|
}
|
|
3882
3884
|
function fs(e, t) {
|
|
3883
|
-
return
|
|
3885
|
+
return Fe(this, void 0, void 0, function* () {
|
|
3884
3886
|
if (e.items) {
|
|
3885
3887
|
const o = Rt(e.items).filter((a) => a.kind === "file");
|
|
3886
3888
|
if (t !== "drop")
|
|
3887
3889
|
return o;
|
|
3888
3890
|
const n = yield Promise.all(o.map(vs));
|
|
3889
|
-
return so(
|
|
3891
|
+
return so(jo(n));
|
|
3890
3892
|
}
|
|
3891
3893
|
return so(Rt(e.files).map((o) => Pe(o)));
|
|
3892
3894
|
});
|
|
@@ -3908,16 +3910,16 @@ function vs(e) {
|
|
|
3908
3910
|
if (typeof e.webkitGetAsEntry != "function")
|
|
3909
3911
|
return po(e);
|
|
3910
3912
|
const t = e.webkitGetAsEntry();
|
|
3911
|
-
return t && t.isDirectory ?
|
|
3913
|
+
return t && t.isDirectory ? Fo(t) : po(e, t);
|
|
3912
3914
|
}
|
|
3913
|
-
function
|
|
3915
|
+
function jo(e) {
|
|
3914
3916
|
return e.reduce((t, o) => [
|
|
3915
3917
|
...t,
|
|
3916
|
-
...Array.isArray(o) ?
|
|
3918
|
+
...Array.isArray(o) ? jo(o) : [o]
|
|
3917
3919
|
], []);
|
|
3918
3920
|
}
|
|
3919
3921
|
function po(e, t) {
|
|
3920
|
-
return
|
|
3922
|
+
return Fe(this, void 0, void 0, function* () {
|
|
3921
3923
|
var o;
|
|
3922
3924
|
if (globalThis.isSecureContext && typeof e.getAsFileSystemHandle == "function") {
|
|
3923
3925
|
const i = yield e.getAsFileSystemHandle();
|
|
@@ -3935,16 +3937,16 @@ function po(e, t) {
|
|
|
3935
3937
|
});
|
|
3936
3938
|
}
|
|
3937
3939
|
function gs(e) {
|
|
3938
|
-
return
|
|
3939
|
-
return e.isDirectory ?
|
|
3940
|
+
return Fe(this, void 0, void 0, function* () {
|
|
3941
|
+
return e.isDirectory ? Fo(e) : xs(e);
|
|
3940
3942
|
});
|
|
3941
3943
|
}
|
|
3942
|
-
function
|
|
3944
|
+
function Fo(e) {
|
|
3943
3945
|
const t = e.createReader();
|
|
3944
3946
|
return new Promise((o, n) => {
|
|
3945
3947
|
const a = [];
|
|
3946
3948
|
function i() {
|
|
3947
|
-
t.readEntries((r) =>
|
|
3949
|
+
t.readEntries((r) => Fe(this, void 0, void 0, function* () {
|
|
3948
3950
|
if (r.length) {
|
|
3949
3951
|
const s = Promise.all(r.map(gs));
|
|
3950
3952
|
a.push(s), i();
|
|
@@ -3963,7 +3965,7 @@ function Ao(e) {
|
|
|
3963
3965
|
});
|
|
3964
3966
|
}
|
|
3965
3967
|
function xs(e) {
|
|
3966
|
-
return
|
|
3968
|
+
return Fe(this, void 0, void 0, function* () {
|
|
3967
3969
|
return new Promise((t, o) => {
|
|
3968
3970
|
e.file((n) => {
|
|
3969
3971
|
const a = Pe(n, e.fullPath);
|
|
@@ -3998,7 +4000,7 @@ function bs(e) {
|
|
|
3998
4000
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
3999
4001
|
}
|
|
4000
4002
|
function ys(e) {
|
|
4001
|
-
if (Array.isArray(e)) return
|
|
4003
|
+
if (Array.isArray(e)) return jt(e);
|
|
4002
4004
|
}
|
|
4003
4005
|
function co(e, t) {
|
|
4004
4006
|
var o = Object.keys(e);
|
|
@@ -4014,14 +4016,14 @@ function mo(e) {
|
|
|
4014
4016
|
for (var t = 1; t < arguments.length; t++) {
|
|
4015
4017
|
var o = arguments[t] != null ? arguments[t] : {};
|
|
4016
4018
|
t % 2 ? co(Object(o), !0).forEach(function(n) {
|
|
4017
|
-
|
|
4019
|
+
Ao(e, n, o[n]);
|
|
4018
4020
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : co(Object(o)).forEach(function(n) {
|
|
4019
4021
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(o, n));
|
|
4020
4022
|
});
|
|
4021
4023
|
}
|
|
4022
4024
|
return e;
|
|
4023
4025
|
}
|
|
4024
|
-
function
|
|
4026
|
+
function Ao(e, t, o) {
|
|
4025
4027
|
return t in e ? Object.defineProperty(e, t, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = o, e;
|
|
4026
4028
|
}
|
|
4027
4029
|
function He(e, t) {
|
|
@@ -4033,13 +4035,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4033
4035
|
}
|
|
4034
4036
|
function Bo(e, t) {
|
|
4035
4037
|
if (e) {
|
|
4036
|
-
if (typeof e == "string") return
|
|
4038
|
+
if (typeof e == "string") return jt(e, t);
|
|
4037
4039
|
var o = Object.prototype.toString.call(e).slice(8, -1);
|
|
4038
4040
|
if (o === "Object" && e.constructor && (o = e.constructor.name), o === "Map" || o === "Set") return Array.from(e);
|
|
4039
|
-
if (o === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)) return
|
|
4041
|
+
if (o === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)) return jt(e, t);
|
|
4040
4042
|
}
|
|
4041
4043
|
}
|
|
4042
|
-
function
|
|
4044
|
+
function jt(e, t) {
|
|
4043
4045
|
(t == null || t > e.length) && (t = e.length);
|
|
4044
4046
|
for (var o = 0, n = new Array(t); o < t; o++)
|
|
4045
4047
|
n[o] = e[o];
|
|
@@ -4096,17 +4098,17 @@ function Oo(e, t) {
|
|
|
4096
4098
|
return [o, o ? null : Es(t)];
|
|
4097
4099
|
}
|
|
4098
4100
|
function Wo(e, t, o) {
|
|
4099
|
-
if (
|
|
4100
|
-
if (
|
|
4101
|
+
if (je(e.size))
|
|
4102
|
+
if (je(t) && je(o)) {
|
|
4101
4103
|
if (e.size > o) return [!1, uo(o)];
|
|
4102
4104
|
if (e.size < t) return [!1, _o(t)];
|
|
4103
4105
|
} else {
|
|
4104
|
-
if (
|
|
4105
|
-
if (
|
|
4106
|
+
if (je(t) && e.size < t) return [!1, _o(t)];
|
|
4107
|
+
if (je(o) && e.size > o) return [!1, uo(o)];
|
|
4106
4108
|
}
|
|
4107
4109
|
return [!0, null];
|
|
4108
4110
|
}
|
|
4109
|
-
function
|
|
4111
|
+
function je(e) {
|
|
4110
4112
|
return e != null;
|
|
4111
4113
|
}
|
|
4112
4114
|
function Ss(e) {
|
|
@@ -4133,7 +4135,7 @@ function Ls(e) {
|
|
|
4133
4135
|
function Rs(e) {
|
|
4134
4136
|
return e.indexOf("Edge/") !== -1;
|
|
4135
4137
|
}
|
|
4136
|
-
function
|
|
4138
|
+
function js() {
|
|
4137
4139
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.navigator.userAgent;
|
|
4138
4140
|
return Ls(e) || Rs(e);
|
|
4139
4141
|
}
|
|
@@ -4148,17 +4150,17 @@ function Te() {
|
|
|
4148
4150
|
});
|
|
4149
4151
|
};
|
|
4150
4152
|
}
|
|
4151
|
-
function
|
|
4153
|
+
function Fs() {
|
|
4152
4154
|
return "showOpenFilePicker" in window;
|
|
4153
4155
|
}
|
|
4154
|
-
function
|
|
4155
|
-
if (
|
|
4156
|
+
function As(e) {
|
|
4157
|
+
if (je(e)) {
|
|
4156
4158
|
var t = Object.entries(e).filter(function(o) {
|
|
4157
4159
|
var n = He(o, 2), a = n[0], i = n[1], r = !0;
|
|
4158
4160
|
return zo(a) || (console.warn('Skipped "'.concat(a, '" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')), r = !1), (!Array.isArray(i) || !i.every(Uo)) && (console.warn('Skipped "'.concat(a, '" because an invalid file extension was provided.')), r = !1), r;
|
|
4159
4161
|
}).reduce(function(o, n) {
|
|
4160
4162
|
var a = He(n, 2), i = a[0], r = a[1];
|
|
4161
|
-
return mo(mo({}, o), {},
|
|
4163
|
+
return mo(mo({}, o), {}, Ao({}, i, r));
|
|
4162
4164
|
}, {});
|
|
4163
4165
|
return [{
|
|
4164
4166
|
// description is required due to https://crbug.com/1264708
|
|
@@ -4169,7 +4171,7 @@ function js(e) {
|
|
|
4169
4171
|
return e;
|
|
4170
4172
|
}
|
|
4171
4173
|
function Bs(e) {
|
|
4172
|
-
if (
|
|
4174
|
+
if (je(e))
|
|
4173
4175
|
return Object.entries(e).reduce(function(t, o) {
|
|
4174
4176
|
var n = He(o, 2), a = n[0], i = n[1];
|
|
4175
4177
|
return [].concat(lo(t), [a], lo(i));
|
|
@@ -4201,7 +4203,7 @@ function $s(e) {
|
|
|
4201
4203
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
4202
4204
|
}
|
|
4203
4205
|
function Hs(e) {
|
|
4204
|
-
if (Array.isArray(e)) return
|
|
4206
|
+
if (Array.isArray(e)) return Ft(e);
|
|
4205
4207
|
}
|
|
4206
4208
|
function It(e, t) {
|
|
4207
4209
|
return Gs(e) || Ys(e, t) || qo(e, t) || Vs();
|
|
@@ -4212,13 +4214,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
4212
4214
|
}
|
|
4213
4215
|
function qo(e, t) {
|
|
4214
4216
|
if (e) {
|
|
4215
|
-
if (typeof e == "string") return
|
|
4217
|
+
if (typeof e == "string") return Ft(e, t);
|
|
4216
4218
|
var o = Object.prototype.toString.call(e).slice(8, -1);
|
|
4217
4219
|
if (o === "Object" && e.constructor && (o = e.constructor.name), o === "Map" || o === "Set") return Array.from(e);
|
|
4218
|
-
if (o === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)) return
|
|
4220
|
+
if (o === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)) return Ft(e, t);
|
|
4219
4221
|
}
|
|
4220
4222
|
}
|
|
4221
|
-
function
|
|
4223
|
+
function Ft(e, t) {
|
|
4222
4224
|
(t == null || t > e.length) && (t = e.length);
|
|
4223
4225
|
for (var o = 0, n = new Array(t); o < t; o++)
|
|
4224
4226
|
n[o] = e[o];
|
|
@@ -4260,14 +4262,14 @@ function te(e) {
|
|
|
4260
4262
|
for (var t = 1; t < arguments.length; t++) {
|
|
4261
4263
|
var o = arguments[t] != null ? arguments[t] : {};
|
|
4262
4264
|
t % 2 ? vo(Object(o), !0).forEach(function(n) {
|
|
4263
|
-
|
|
4265
|
+
At(e, n, o[n]);
|
|
4264
4266
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : vo(Object(o)).forEach(function(n) {
|
|
4265
4267
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(o, n));
|
|
4266
4268
|
});
|
|
4267
4269
|
}
|
|
4268
4270
|
return e;
|
|
4269
4271
|
}
|
|
4270
|
-
function
|
|
4272
|
+
function At(e, t, o) {
|
|
4271
4273
|
return t in e ? Object.defineProperty(e, t, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = o, e;
|
|
4272
4274
|
}
|
|
4273
4275
|
function at(e, t) {
|
|
@@ -4493,19 +4495,19 @@ var Bt = {
|
|
|
4493
4495
|
fileRejections: []
|
|
4494
4496
|
};
|
|
4495
4497
|
function Ho() {
|
|
4496
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = te(te({}, $o), e), o = t.accept, n = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, p = t.maxFiles, l = t.onDragEnter, d = t.onDragLeave, u = t.onDragOver, g = t.onDrop, h = t.onDropAccepted, x = t.onDropRejected, b = t.onFileDialogCancel,
|
|
4498
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = te(te({}, $o), e), o = t.accept, n = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, p = t.maxFiles, l = t.onDragEnter, d = t.onDragLeave, u = t.onDragOver, g = t.onDrop, h = t.onDropAccepted, x = t.onDropRejected, b = t.onFileDialogCancel, L = t.onFileDialogOpen, R = t.useFsAccessApi, z = t.autoFocus, j = t.preventDropOnDocument, w = t.noClick, m = t.noKeyboard, N = t.noDrag, W = t.noDragEventsBubbling, H = t.onError, X = t.validator, ne = De(function() {
|
|
4497
4499
|
return Bs(o);
|
|
4498
4500
|
}, [o]), me = De(function() {
|
|
4499
|
-
return
|
|
4501
|
+
return As(o);
|
|
4500
4502
|
}, [o]), ue = De(function() {
|
|
4501
|
-
return typeof
|
|
4502
|
-
}, [
|
|
4503
|
+
return typeof L == "function" ? L : go;
|
|
4504
|
+
}, [L]), le = De(function() {
|
|
4503
4505
|
return typeof b == "function" ? b : go;
|
|
4504
|
-
}, [b]),
|
|
4505
|
-
!
|
|
4506
|
+
}, [b]), Z = ve(null), T = ve(null), M = Qo(Xs, Bt), q = It(M, 2), G = q[0], ee = q[1], _ = G.isFocused, v = G.isFileDialogActive, S = ve(typeof window < "u" && window.isSecureContext && R && Fs()), F = function() {
|
|
4507
|
+
!S.current && v && setTimeout(function() {
|
|
4506
4508
|
if (T.current) {
|
|
4507
|
-
var
|
|
4508
|
-
|
|
4509
|
+
var A = T.current.files;
|
|
4510
|
+
A.length || (ee({
|
|
4509
4511
|
type: "closeDialog"
|
|
4510
4512
|
}), le());
|
|
4511
4513
|
}
|
|
@@ -4515,31 +4517,31 @@ function Ho() {
|
|
|
4515
4517
|
return window.addEventListener("focus", F, !1), function() {
|
|
4516
4518
|
window.removeEventListener("focus", F, !1);
|
|
4517
4519
|
};
|
|
4518
|
-
}, [T, v, le,
|
|
4519
|
-
var I = ve([]), P = function(
|
|
4520
|
-
|
|
4520
|
+
}, [T, v, le, S]);
|
|
4521
|
+
var I = ve([]), P = function(A) {
|
|
4522
|
+
Z.current && Z.current.contains(A.target) || (A.preventDefault(), I.current = []);
|
|
4521
4523
|
};
|
|
4522
4524
|
re(function() {
|
|
4523
|
-
return
|
|
4524
|
-
|
|
4525
|
+
return j && (document.addEventListener("dragover", fo, !1), document.addEventListener("drop", P, !1)), function() {
|
|
4526
|
+
j && (document.removeEventListener("dragover", fo), document.removeEventListener("drop", P));
|
|
4525
4527
|
};
|
|
4526
|
-
}, [
|
|
4527
|
-
return !n &&
|
|
4528
|
+
}, [Z, j]), re(function() {
|
|
4529
|
+
return !n && z && Z.current && Z.current.focus(), function() {
|
|
4528
4530
|
};
|
|
4529
|
-
}, [
|
|
4531
|
+
}, [Z, z, n]);
|
|
4530
4532
|
var B = xe(function(k) {
|
|
4531
|
-
|
|
4532
|
-
}, [
|
|
4533
|
-
k.preventDefault(), k.persist(), Ge(k), I.current = [].concat(Us(I.current), [k.target]), et(k) && Promise.resolve(a(k)).then(function(
|
|
4534
|
-
if (!(nt(k) && !
|
|
4535
|
-
var ae =
|
|
4536
|
-
files:
|
|
4533
|
+
H ? H(k) : console.error(k);
|
|
4534
|
+
}, [H]), U = xe(function(k) {
|
|
4535
|
+
k.preventDefault(), k.persist(), Ge(k), I.current = [].concat(Us(I.current), [k.target]), et(k) && Promise.resolve(a(k)).then(function(A) {
|
|
4536
|
+
if (!(nt(k) && !W)) {
|
|
4537
|
+
var ae = A.length, se = ae > 0 && Ss({
|
|
4538
|
+
files: A,
|
|
4537
4539
|
accept: ne,
|
|
4538
4540
|
minSize: r,
|
|
4539
4541
|
maxSize: i,
|
|
4540
4542
|
multiple: s,
|
|
4541
4543
|
maxFiles: p,
|
|
4542
|
-
validator:
|
|
4544
|
+
validator: X
|
|
4543
4545
|
}), be = ae > 0 && !se;
|
|
4544
4546
|
ee({
|
|
4545
4547
|
isDragAccept: se,
|
|
@@ -4548,33 +4550,33 @@ function Ho() {
|
|
|
4548
4550
|
type: "setDraggedFiles"
|
|
4549
4551
|
}), l && l(k);
|
|
4550
4552
|
}
|
|
4551
|
-
}).catch(function(
|
|
4552
|
-
return B(
|
|
4553
|
+
}).catch(function(A) {
|
|
4554
|
+
return B(A);
|
|
4553
4555
|
});
|
|
4554
|
-
}, [a, l, B,
|
|
4556
|
+
}, [a, l, B, W, ne, r, i, s, p, X]), V = xe(function(k) {
|
|
4555
4557
|
k.preventDefault(), k.persist(), Ge(k);
|
|
4556
|
-
var
|
|
4557
|
-
if (
|
|
4558
|
+
var A = et(k);
|
|
4559
|
+
if (A && k.dataTransfer)
|
|
4558
4560
|
try {
|
|
4559
4561
|
k.dataTransfer.dropEffect = "copy";
|
|
4560
4562
|
} catch {
|
|
4561
4563
|
}
|
|
4562
|
-
return
|
|
4563
|
-
}, [u,
|
|
4564
|
+
return A && u && u(k), !1;
|
|
4565
|
+
}, [u, W]), K = xe(function(k) {
|
|
4564
4566
|
k.preventDefault(), k.persist(), Ge(k);
|
|
4565
|
-
var
|
|
4566
|
-
return
|
|
4567
|
-
}), ae =
|
|
4568
|
-
ae !== -1 &&
|
|
4567
|
+
var A = I.current.filter(function(se) {
|
|
4568
|
+
return Z.current && Z.current.contains(se);
|
|
4569
|
+
}), ae = A.indexOf(k.target);
|
|
4570
|
+
ae !== -1 && A.splice(ae, 1), I.current = A, !(A.length > 0) && (ee({
|
|
4569
4571
|
type: "setDraggedFiles",
|
|
4570
4572
|
isDragActive: !1,
|
|
4571
4573
|
isDragAccept: !1,
|
|
4572
4574
|
isDragReject: !1
|
|
4573
4575
|
}), et(k) && d && d(k));
|
|
4574
|
-
}, [
|
|
4576
|
+
}, [Z, d, W]), $ = xe(function(k, A) {
|
|
4575
4577
|
var ae = [], se = [];
|
|
4576
4578
|
k.forEach(function(be) {
|
|
4577
|
-
var We = Oo(be, ne), Be = It(We, 2), pt = Be[0], lt = Be[1], ct = Wo(be, r, i), Ke = It(ct, 2), dt = Ke[0], mt = Ke[1], ut =
|
|
4579
|
+
var We = Oo(be, ne), Be = It(We, 2), pt = Be[0], lt = Be[1], ct = Wo(be, r, i), Ke = It(ct, 2), dt = Ke[0], mt = Ke[1], ut = X ? X(be) : null;
|
|
4578
4580
|
if (pt && dt && !ut)
|
|
4579
4581
|
ae.push(be);
|
|
4580
4582
|
else {
|
|
@@ -4596,17 +4598,17 @@ function Ho() {
|
|
|
4596
4598
|
fileRejections: se,
|
|
4597
4599
|
isDragReject: se.length > 0,
|
|
4598
4600
|
type: "setFiles"
|
|
4599
|
-
}), g && g(ae, se,
|
|
4600
|
-
}, [ee, s, ne, r, i, p, g, h, x,
|
|
4601
|
-
k.preventDefault(), k.persist(), Ge(k), I.current = [], et(k) && Promise.resolve(a(k)).then(function(
|
|
4602
|
-
nt(k) && !
|
|
4603
|
-
}).catch(function(
|
|
4604
|
-
return B(
|
|
4601
|
+
}), g && g(ae, se, A), se.length > 0 && x && x(se, A), ae.length > 0 && h && h(ae, A);
|
|
4602
|
+
}, [ee, s, ne, r, i, p, g, h, x, X]), ie = xe(function(k) {
|
|
4603
|
+
k.preventDefault(), k.persist(), Ge(k), I.current = [], et(k) && Promise.resolve(a(k)).then(function(A) {
|
|
4604
|
+
nt(k) && !W || $(A, k);
|
|
4605
|
+
}).catch(function(A) {
|
|
4606
|
+
return B(A);
|
|
4605
4607
|
}), ee({
|
|
4606
4608
|
type: "reset"
|
|
4607
4609
|
});
|
|
4608
|
-
}, [a, $, B,
|
|
4609
|
-
if (
|
|
4610
|
+
}, [a, $, B, W]), y = xe(function() {
|
|
4611
|
+
if (S.current) {
|
|
4610
4612
|
ee({
|
|
4611
4613
|
type: "openDialog"
|
|
4612
4614
|
}), ue();
|
|
@@ -4614,16 +4616,16 @@ function Ho() {
|
|
|
4614
4616
|
multiple: s,
|
|
4615
4617
|
types: me
|
|
4616
4618
|
};
|
|
4617
|
-
window.showOpenFilePicker(k).then(function(
|
|
4618
|
-
return a(
|
|
4619
|
-
}).then(function(
|
|
4620
|
-
$(
|
|
4619
|
+
window.showOpenFilePicker(k).then(function(A) {
|
|
4620
|
+
return a(A);
|
|
4621
|
+
}).then(function(A) {
|
|
4622
|
+
$(A, null), ee({
|
|
4621
4623
|
type: "closeDialog"
|
|
4622
4624
|
});
|
|
4623
|
-
}).catch(function(
|
|
4624
|
-
Ds(
|
|
4625
|
+
}).catch(function(A) {
|
|
4626
|
+
Ds(A) ? (le(A), ee({
|
|
4625
4627
|
type: "closeDialog"
|
|
4626
|
-
})) : Ms(
|
|
4628
|
+
})) : Ms(A) ? (S.current = !1, T.current ? (T.current.value = null, T.current.click()) : B(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."))) : B(A);
|
|
4627
4629
|
});
|
|
4628
4630
|
return;
|
|
4629
4631
|
}
|
|
@@ -4631,8 +4633,8 @@ function Ho() {
|
|
|
4631
4633
|
type: "openDialog"
|
|
4632
4634
|
}), ue(), T.current.value = null, T.current.click());
|
|
4633
4635
|
}, [ee, ue, le, R, $, B, me, s]), he = xe(function(k) {
|
|
4634
|
-
!
|
|
4635
|
-
}, [
|
|
4636
|
+
!Z.current || !Z.current.isEqualNode(k.target) || (k.key === " " || k.key === "Enter" || k.keyCode === 32 || k.keyCode === 13) && (k.preventDefault(), y());
|
|
4637
|
+
}, [Z, y]), Se = xe(function() {
|
|
4636
4638
|
ee({
|
|
4637
4639
|
type: "focus"
|
|
4638
4640
|
});
|
|
@@ -4641,37 +4643,37 @@ function Ho() {
|
|
|
4641
4643
|
type: "blur"
|
|
4642
4644
|
});
|
|
4643
4645
|
}, []), zt = xe(function() {
|
|
4644
|
-
w || (
|
|
4645
|
-
}, [w, y]),
|
|
4646
|
-
return n ? null :
|
|
4647
|
-
}, st = function(
|
|
4648
|
-
return m ? null :
|
|
4649
|
-
}, Ye = function(
|
|
4650
|
-
return N ? null :
|
|
4651
|
-
}, Ge = function(
|
|
4652
|
-
|
|
4646
|
+
w || (js() ? setTimeout(y, 0) : y());
|
|
4647
|
+
}, [w, y]), Ae = function(A) {
|
|
4648
|
+
return n ? null : A;
|
|
4649
|
+
}, st = function(A) {
|
|
4650
|
+
return m ? null : Ae(A);
|
|
4651
|
+
}, Ye = function(A) {
|
|
4652
|
+
return N ? null : Ae(A);
|
|
4653
|
+
}, Ge = function(A) {
|
|
4654
|
+
W && A.stopPropagation();
|
|
4653
4655
|
}, Vo = De(function() {
|
|
4654
4656
|
return function() {
|
|
4655
|
-
var k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {},
|
|
4656
|
-
return te(te(
|
|
4657
|
+
var k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, A = k.refKey, ae = A === void 0 ? "ref" : A, se = k.role, be = k.onKeyDown, We = k.onFocus, Be = k.onBlur, pt = k.onClick, lt = k.onDragEnter, ct = k.onDragOver, Ke = k.onDragLeave, dt = k.onDrop, mt = at(k, Ws);
|
|
4658
|
+
return te(te(At({
|
|
4657
4659
|
onKeyDown: st(Te(be, he)),
|
|
4658
4660
|
onFocus: st(Te(We, Se)),
|
|
4659
4661
|
onBlur: st(Te(Be, Oe)),
|
|
4660
|
-
onClick:
|
|
4662
|
+
onClick: Ae(Te(pt, zt)),
|
|
4661
4663
|
onDragEnter: Ye(Te(lt, U)),
|
|
4662
|
-
onDragOver: Ye(Te(ct,
|
|
4664
|
+
onDragOver: Ye(Te(ct, V)),
|
|
4663
4665
|
onDragLeave: Ye(Te(Ke, K)),
|
|
4664
4666
|
onDrop: Ye(Te(dt, ie)),
|
|
4665
4667
|
role: typeof se == "string" && se !== "" ? se : "presentation"
|
|
4666
|
-
}, ae,
|
|
4668
|
+
}, ae, Z), !n && !m ? {
|
|
4667
4669
|
tabIndex: 0
|
|
4668
4670
|
} : {}), mt);
|
|
4669
4671
|
};
|
|
4670
|
-
}, [
|
|
4672
|
+
}, [Z, he, Se, Oe, zt, U, V, K, ie, m, N, n]), Yo = xe(function(k) {
|
|
4671
4673
|
k.stopPropagation();
|
|
4672
4674
|
}, []), Go = De(function() {
|
|
4673
4675
|
return function() {
|
|
4674
|
-
var k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {},
|
|
4676
|
+
var k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, A = k.refKey, ae = A === void 0 ? "ref" : A, se = k.onChange, be = k.onClick, We = at(k, zs), Be = At({
|
|
4675
4677
|
accept: ne,
|
|
4676
4678
|
multiple: s,
|
|
4677
4679
|
type: "file",
|
|
@@ -4687,20 +4689,20 @@ function Ho() {
|
|
|
4687
4689
|
width: "1px",
|
|
4688
4690
|
whiteSpace: "nowrap"
|
|
4689
4691
|
},
|
|
4690
|
-
onChange:
|
|
4691
|
-
onClick:
|
|
4692
|
+
onChange: Ae(Te(se, ie)),
|
|
4693
|
+
onClick: Ae(Te(be, Yo)),
|
|
4692
4694
|
tabIndex: -1
|
|
4693
4695
|
}, ae, T);
|
|
4694
4696
|
return te(te({}, Be), We);
|
|
4695
4697
|
};
|
|
4696
4698
|
}, [T, o, s, ie, n]);
|
|
4697
|
-
return te(te({},
|
|
4699
|
+
return te(te({}, G), {}, {
|
|
4698
4700
|
isFocused: _ && !n,
|
|
4699
4701
|
getRootProps: Vo,
|
|
4700
4702
|
getInputProps: Go,
|
|
4701
|
-
rootRef:
|
|
4703
|
+
rootRef: Z,
|
|
4702
4704
|
inputRef: T,
|
|
4703
|
-
open:
|
|
4705
|
+
open: Ae(y)
|
|
4704
4706
|
});
|
|
4705
4707
|
}
|
|
4706
4708
|
function Xs(e, t) {
|
|
@@ -4741,7 +4743,7 @@ function Xs(e, t) {
|
|
|
4741
4743
|
}
|
|
4742
4744
|
function go() {
|
|
4743
4745
|
}
|
|
4744
|
-
const Zs = (e) => Ho(e), Qs = "_spUploadFiles_11994_43", Js = "_spUploadFiles_error_11994_51", ep = "_spUploadFiles__control_11994_51", tp = "_spUploadFiles__fileNameContainer_11994_55", op = "_spUploadFiles__fileName_dragError_11994_59", np = "_spUploadFiles__placeholderContainer_11994_62", ap = "_spUploadFiles__placeholderContainer_withUloadTooltip_11994_72", ip = "_spUploadFiles__placeholder_11994_62", rp = "_spUploadFiles__control_loading_11994_104", sp = "_shimmer_11994_1", pp = "_spUploadFiles__fileName_11994_55", lp = "_spUploadFiles__tooltip_11994_130", cp = "_spUploadFiles_fileUploaded_11994_160", dp = "_spUploadFiles_disabled_11994_160", mp = "_spUploadFiles__fileNamesList_11994_171", up = "_spUploadFiles__fileNamesList_loading_11994_182", _p = "_spUploadFiles__fileNamesListItem_11994_187", fp = "_spUploadFiles__fileNamesListItem__iconContainer_11994_225", vp = "_spUploadFiles__fileNamesListItem__iconContainer_error_11994_234", gp = "_spUploadFiles__fileNamesListItem__mainContent_11994_239", xp = "_spUploadFiles__fileNamesListItem__fileNameWrapper_11994_246", hp = "_spUploadFiles__fileNamesListItem__fileName_11994_246", bp = "_spUploadFiles__fileNamesListItem__fileNameTooltip_11994_253", yp = "_spUploadFiles__fileNamesListItem__description_11994_256", wp = "_spUploadFiles__fileNamesListItem__description__tooltipContent_11994_261", Cp = "_spUploadFiles__fileNamesListItem__description_error_11994_264", kp = "_spUploadFiles__fileNamesListItemDelete_11994_267", Tp = "_spUploadFiles__fileNamesListItemDelete_error_11994_284", Np = "_spUploadFiles__delete_11994_297", Ep = "_spUploadFiles__delete_loading_11994_301", Ip = "_spUploadFiles__error_11994_310",
|
|
4746
|
+
const Zs = (e) => Ho(e), Qs = "_spUploadFiles_11994_43", Js = "_spUploadFiles_error_11994_51", ep = "_spUploadFiles__control_11994_51", tp = "_spUploadFiles__fileNameContainer_11994_55", op = "_spUploadFiles__fileName_dragError_11994_59", np = "_spUploadFiles__placeholderContainer_11994_62", ap = "_spUploadFiles__placeholderContainer_withUloadTooltip_11994_72", ip = "_spUploadFiles__placeholder_11994_62", rp = "_spUploadFiles__control_loading_11994_104", sp = "_shimmer_11994_1", pp = "_spUploadFiles__fileName_11994_55", lp = "_spUploadFiles__tooltip_11994_130", cp = "_spUploadFiles_fileUploaded_11994_160", dp = "_spUploadFiles_disabled_11994_160", mp = "_spUploadFiles__fileNamesList_11994_171", up = "_spUploadFiles__fileNamesList_loading_11994_182", _p = "_spUploadFiles__fileNamesListItem_11994_187", fp = "_spUploadFiles__fileNamesListItem__iconContainer_11994_225", vp = "_spUploadFiles__fileNamesListItem__iconContainer_error_11994_234", gp = "_spUploadFiles__fileNamesListItem__mainContent_11994_239", xp = "_spUploadFiles__fileNamesListItem__fileNameWrapper_11994_246", hp = "_spUploadFiles__fileNamesListItem__fileName_11994_246", bp = "_spUploadFiles__fileNamesListItem__fileNameTooltip_11994_253", yp = "_spUploadFiles__fileNamesListItem__description_11994_256", wp = "_spUploadFiles__fileNamesListItem__description__tooltipContent_11994_261", Cp = "_spUploadFiles__fileNamesListItem__description_error_11994_264", kp = "_spUploadFiles__fileNamesListItemDelete_11994_267", Tp = "_spUploadFiles__fileNamesListItemDelete_error_11994_284", Np = "_spUploadFiles__delete_11994_297", Ep = "_spUploadFiles__delete_loading_11994_301", Ip = "_spUploadFiles__error_11994_310", Y = {
|
|
4745
4747
|
spUploadFiles: Qs,
|
|
4746
4748
|
spUploadFiles_error: Js,
|
|
4747
4749
|
spUploadFiles__control: ep,
|
|
@@ -4805,41 +4807,41 @@ const Zs = (e) => Ho(e), Qs = "_spUploadFiles_11994_43", Js = "_spUploadFiles_er
|
|
|
4805
4807
|
classNameRoot: u,
|
|
4806
4808
|
loading: g,
|
|
4807
4809
|
error: h
|
|
4808
|
-
} = e, [x, b] = oe([]),
|
|
4810
|
+
} = e, [x, b] = oe([]), L = xe(
|
|
4809
4811
|
(_, v) => {
|
|
4810
|
-
const
|
|
4812
|
+
const S = v.map(({ file: I, errors: P }) => ({
|
|
4811
4813
|
file: I,
|
|
4812
4814
|
errors: P
|
|
4813
4815
|
}));
|
|
4814
4816
|
if (!s) {
|
|
4815
|
-
b([...
|
|
4817
|
+
b([...S]), a(_, n);
|
|
4816
4818
|
return;
|
|
4817
4819
|
}
|
|
4818
4820
|
const F = [...p, ..._];
|
|
4819
|
-
b([...
|
|
4821
|
+
b([...S, ...x]), a(F, n);
|
|
4820
4822
|
},
|
|
4821
4823
|
[x, p, s, n, a]
|
|
4822
|
-
), { getRootProps: R, getInputProps:
|
|
4824
|
+
), { getRootProps: R, getInputProps: z } = Zs({
|
|
4823
4825
|
accept: i,
|
|
4824
|
-
onDrop:
|
|
4826
|
+
onDrop: L,
|
|
4825
4827
|
multiple: s,
|
|
4826
4828
|
disabled: r
|
|
4827
|
-
}),
|
|
4828
|
-
[
|
|
4829
|
-
[
|
|
4830
|
-
[
|
|
4831
|
-
[
|
|
4832
|
-
[
|
|
4829
|
+
}), j = x ? (x == null ? void 0 : x.length) > 0 : void 0, w = [...p.map((_) => ({ file: _, errors: null })), ...x], m = (w == null ? void 0 : w.length) > 0 || (x == null ? void 0 : x.length) > 0, N = o === "input", W = o === "dropzone", H = f({
|
|
4830
|
+
[Y.spUploadFiles]: !0,
|
|
4831
|
+
[Y[`spUploadFiles--variant-${o}`]]: o,
|
|
4832
|
+
[Y.spUploadFiles_error]: j && !s && h && h.length > 0,
|
|
4833
|
+
[Y.spUploadFiles_disabled]: r,
|
|
4834
|
+
[Y.spUploadFiles_fileUploaded]: m,
|
|
4833
4835
|
...u && { [u]: !0 }
|
|
4834
|
-
}),
|
|
4835
|
-
[
|
|
4836
|
-
[
|
|
4836
|
+
}), X = f({
|
|
4837
|
+
[Y.spUploadFiles__control]: !0,
|
|
4838
|
+
[Y.spUploadFiles__control_loading]: g
|
|
4837
4839
|
}), ne = f({
|
|
4838
|
-
[
|
|
4839
|
-
[
|
|
4840
|
+
[Y.spUploadFiles__fileNamesList]: !0,
|
|
4841
|
+
[Y.spUploadFiles__fileNamesList_loading]: g
|
|
4840
4842
|
}), me = f({
|
|
4841
|
-
[
|
|
4842
|
-
[
|
|
4843
|
+
[Y.spUploadFiles__delete]: !0,
|
|
4844
|
+
[Y.spUploadFiles__delete_loading]: g
|
|
4843
4845
|
}), ue = (_, v) => {
|
|
4844
4846
|
if (g)
|
|
4845
4847
|
return;
|
|
@@ -4848,21 +4850,21 @@ const Zs = (e) => Ho(e), Qs = "_spUploadFiles_11994_43", Js = "_spUploadFiles_er
|
|
|
4848
4850
|
I.splice(P, 1), b(I);
|
|
4849
4851
|
return;
|
|
4850
4852
|
}
|
|
4851
|
-
const
|
|
4852
|
-
|
|
4853
|
+
const S = [...p], F = S.findIndex((I) => I.name === _);
|
|
4854
|
+
S.splice(F, 1), a(S, n);
|
|
4853
4855
|
}, le = (_) => {
|
|
4854
4856
|
_.stopPropagation(), a([], n), b([]);
|
|
4855
|
-
},
|
|
4856
|
-
if (
|
|
4857
|
-
const _ =
|
|
4857
|
+
}, Z = (_) => Object.values(_).flatMap((v) => v.map((S) => S.toUpperCase())).join(", "), T = () => {
|
|
4858
|
+
if (j) {
|
|
4859
|
+
const _ = Z(i);
|
|
4858
4860
|
return /* @__PURE__ */ c(
|
|
4859
4861
|
Ue,
|
|
4860
4862
|
{
|
|
4861
4863
|
text: `Неверный формат файла. Загрузите файл в формате ${_}`,
|
|
4862
|
-
classNameTooltipRoot: f(
|
|
4864
|
+
classNameTooltipRoot: f(Y.spUploadFiles__fileNameContainer),
|
|
4863
4865
|
classNameRoot: f(
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
+
Y.spUploadFiles__fileName,
|
|
4867
|
+
j && Y.spUploadFiles__fileName_dragError
|
|
4866
4868
|
)
|
|
4867
4869
|
}
|
|
4868
4870
|
);
|
|
@@ -4871,18 +4873,18 @@ const Zs = (e) => Ho(e), Qs = "_spUploadFiles_11994_43", Js = "_spUploadFiles_er
|
|
|
4871
4873
|
Ue,
|
|
4872
4874
|
{
|
|
4873
4875
|
text: w[0].file.name,
|
|
4874
|
-
classNameTooltipRoot: f(
|
|
4875
|
-
classNameRoot: f(
|
|
4876
|
+
classNameTooltipRoot: f(Y.spUploadFiles__fileNameContainer),
|
|
4877
|
+
classNameRoot: f(Y.spUploadFiles__fileName)
|
|
4876
4878
|
}
|
|
4877
4879
|
);
|
|
4878
|
-
}, M = () => /* @__PURE__ */ c("ul", { className: ne, children: w.map(({ file: _, errors: v },
|
|
4880
|
+
}, M = () => /* @__PURE__ */ c("ul", { className: ne, children: w.map(({ file: _, errors: v }, S) => {
|
|
4879
4881
|
const F = v ? (v == null ? void 0 : v.length) > 0 : void 0, I = () => v ? v == null ? void 0 : v.map(Sp).join(", ") : "";
|
|
4880
4882
|
return /* @__PURE__ */ O(
|
|
4881
4883
|
"li",
|
|
4882
4884
|
{
|
|
4883
4885
|
className: f(
|
|
4884
|
-
|
|
4885
|
-
F &&
|
|
4886
|
+
Y.spUploadFiles__fileNamesListItem,
|
|
4887
|
+
F && Y.spUploadFiles__fileNamesListItem_error
|
|
4886
4888
|
),
|
|
4887
4889
|
onClick: (P) => {
|
|
4888
4890
|
P.stopPropagation();
|
|
@@ -4892,32 +4894,32 @@ const Zs = (e) => Ho(e), Qs = "_spUploadFiles_11994_43", Js = "_spUploadFiles_er
|
|
|
4892
4894
|
"div",
|
|
4893
4895
|
{
|
|
4894
4896
|
className: f(
|
|
4895
|
-
|
|
4896
|
-
F &&
|
|
4897
|
+
Y.spUploadFiles__fileNamesListItem__iconContainer,
|
|
4898
|
+
F && Y.spUploadFiles__fileNamesListItem__iconContainer_error
|
|
4897
4899
|
),
|
|
4898
4900
|
children: /* @__PURE__ */ c(de, { name: F ? D.InfoError : D.File })
|
|
4899
4901
|
}
|
|
4900
4902
|
),
|
|
4901
|
-
/* @__PURE__ */ O("div", { className:
|
|
4903
|
+
/* @__PURE__ */ O("div", { className: Y.spUploadFiles__fileNamesListItem__mainContent, children: [
|
|
4902
4904
|
/* @__PURE__ */ c(
|
|
4903
4905
|
Ue,
|
|
4904
4906
|
{
|
|
4905
4907
|
text: _.name,
|
|
4906
4908
|
defaultTooltipPosition: pe.TopLeft,
|
|
4907
4909
|
isWithFixedEnd: !0,
|
|
4908
|
-
classNameRoot:
|
|
4909
|
-
classNameTooltipRoot:
|
|
4910
|
-
classNameBaseTooltipRoot:
|
|
4910
|
+
classNameRoot: Y.spUploadFiles__fileNamesListItem__fileName,
|
|
4911
|
+
classNameTooltipRoot: Y.spUploadFiles__fileNamesListItem__fileNameWrapper,
|
|
4912
|
+
classNameBaseTooltipRoot: Y.spUploadFiles__fileNamesListItem__fileNameTooltip
|
|
4911
4913
|
}
|
|
4912
4914
|
),
|
|
4913
4915
|
/* @__PURE__ */ c(
|
|
4914
4916
|
Ue,
|
|
4915
4917
|
{
|
|
4916
4918
|
text: F ? I() : Lp(_.size),
|
|
4917
|
-
classNameBaseTooltipRoot:
|
|
4919
|
+
classNameBaseTooltipRoot: Y.spUploadFiles__fileNamesListItem__description__tooltipContent,
|
|
4918
4920
|
classNameRoot: f(
|
|
4919
|
-
|
|
4920
|
-
F &&
|
|
4921
|
+
Y.spUploadFiles__fileNamesListItem__description,
|
|
4922
|
+
F && Y.spUploadFiles__fileNamesListItem__description_error
|
|
4921
4923
|
)
|
|
4922
4924
|
}
|
|
4923
4925
|
)
|
|
@@ -4925,7 +4927,7 @@ const Zs = (e) => Ho(e), Qs = "_spUploadFiles_11994_43", Js = "_spUploadFiles_er
|
|
|
4925
4927
|
/* @__PURE__ */ c(
|
|
4926
4928
|
"div",
|
|
4927
4929
|
{
|
|
4928
|
-
className: f(
|
|
4930
|
+
className: f(Y.spUploadFiles__fileNamesListItemDelete),
|
|
4929
4931
|
onClick: (P) => {
|
|
4930
4932
|
P.stopPropagation(), ue(_.name, F);
|
|
4931
4933
|
},
|
|
@@ -4934,27 +4936,27 @@ const Zs = (e) => Ho(e), Qs = "_spUploadFiles_11994_43", Js = "_spUploadFiles_er
|
|
|
4934
4936
|
)
|
|
4935
4937
|
]
|
|
4936
4938
|
},
|
|
4937
|
-
|
|
4939
|
+
S
|
|
4938
4940
|
);
|
|
4939
|
-
}) }), q = () => s ? M() : T(),
|
|
4941
|
+
}) }), q = () => s ? M() : T(), G = () => /* @__PURE__ */ c(
|
|
4940
4942
|
Ue,
|
|
4941
4943
|
{
|
|
4942
|
-
classNameRoot:
|
|
4944
|
+
classNameRoot: Y.spUploadFiles__placeholder,
|
|
4943
4945
|
classNameTooltipRoot: f(
|
|
4944
|
-
|
|
4945
|
-
!!l &&
|
|
4946
|
+
Y.spUploadFiles__placeholderContainer,
|
|
4947
|
+
!!l && Y.spUploadFiles__placeholderContainer_withUloadTooltip
|
|
4946
4948
|
),
|
|
4947
4949
|
text: t
|
|
4948
4950
|
}
|
|
4949
4951
|
), ee = () => /* @__PURE__ */ O($e, { children: [
|
|
4950
|
-
m ? q() :
|
|
4952
|
+
m ? q() : G(),
|
|
4951
4953
|
m && N ? /* @__PURE__ */ c("div", { className: me, onClick: le, children: /* @__PURE__ */ c(de, { name: D.Close }) }) : N && l && /* @__PURE__ */ c(
|
|
4952
4954
|
rt,
|
|
4953
4955
|
{
|
|
4954
4956
|
hover: !0,
|
|
4955
4957
|
position: d,
|
|
4956
4958
|
text: l,
|
|
4957
|
-
classNameTooltip:
|
|
4959
|
+
classNameTooltip: Y.spUploadFiles__tooltip
|
|
4958
4960
|
}
|
|
4959
4961
|
)
|
|
4960
4962
|
] });
|
|
@@ -4962,21 +4964,21 @@ const Zs = (e) => Ho(e), Qs = "_spUploadFiles_11994_43", Js = "_spUploadFiles_er
|
|
|
4962
4964
|
Ya,
|
|
4963
4965
|
{
|
|
4964
4966
|
getRootProps: R,
|
|
4965
|
-
getInputProps:
|
|
4967
|
+
getInputProps: z,
|
|
4966
4968
|
disabled: r,
|
|
4967
4969
|
name: n,
|
|
4968
|
-
children: /* @__PURE__ */ O("div", { className:
|
|
4969
|
-
|
|
4970
|
+
children: /* @__PURE__ */ O("div", { className: H, children: [
|
|
4971
|
+
W && /* @__PURE__ */ c(
|
|
4970
4972
|
it,
|
|
4971
4973
|
{
|
|
4972
4974
|
hover: !0,
|
|
4973
4975
|
text: l,
|
|
4974
4976
|
position: d,
|
|
4975
|
-
classNameTooltip:
|
|
4977
|
+
classNameTooltip: Y.spUploadFiles__tooltip,
|
|
4976
4978
|
trigger: void 0
|
|
4977
4979
|
}
|
|
4978
4980
|
),
|
|
4979
|
-
/* @__PURE__ */ O("div", { className:
|
|
4981
|
+
/* @__PURE__ */ O("div", { className: X, children: [
|
|
4980
4982
|
N && (g ? /* @__PURE__ */ c(Dt, {}) : /* @__PURE__ */ c(
|
|
4981
4983
|
de,
|
|
4982
4984
|
{
|
|
@@ -4986,15 +4988,15 @@ const Zs = (e) => Ho(e), Qs = "_spUploadFiles_11994_43", Js = "_spUploadFiles_er
|
|
|
4986
4988
|
)),
|
|
4987
4989
|
ee()
|
|
4988
4990
|
] }),
|
|
4989
|
-
h && /* @__PURE__ */ c("div", { className:
|
|
4991
|
+
h && /* @__PURE__ */ c("div", { className: Y.spUploadFiles__error, children: h })
|
|
4990
4992
|
] })
|
|
4991
4993
|
}
|
|
4992
4994
|
);
|
|
4993
|
-
}, Rp = "_viewImageModal_sn237_43",
|
|
4995
|
+
}, Rp = "_viewImageModal_sn237_43", jp = "_viewImageModal__img_sn237_77", Fp = "_viewImageModal__img_loading_sn237_90", Ap = "_viewImageModal__img_error_sn237_93", Bp = "_viewImageModal__spinner_sn237_96", Dp = "_viewImageModal__layer_sn237_123", Mp = "_viewImageModal__closeButton_sn237_128", Ee = {
|
|
4994
4996
|
viewImageModal: Rp,
|
|
4995
|
-
viewImageModal__img:
|
|
4996
|
-
viewImageModal__img_loading:
|
|
4997
|
-
viewImageModal__img_error:
|
|
4997
|
+
viewImageModal__img: jp,
|
|
4998
|
+
viewImageModal__img_loading: Fp,
|
|
4999
|
+
viewImageModal__img_error: Ap,
|
|
4998
5000
|
viewImageModal__spinner: Bp,
|
|
4999
5001
|
viewImageModal__layer: Dp,
|
|
5000
5002
|
viewImageModal__closeButton: Mp
|
|
@@ -5011,24 +5013,24 @@ const Zs = (e) => Ho(e), Qs = "_spUploadFiles_11994_43", Js = "_spUploadFiles_er
|
|
|
5011
5013
|
} = e, [l, d] = oe(!0), [u, g] = oe(!1), [h, x] = oe(n), b = f({
|
|
5012
5014
|
[Ee.viewImageModal]: !0,
|
|
5013
5015
|
...t && { [t]: !0 }
|
|
5014
|
-
}),
|
|
5016
|
+
}), L = f({
|
|
5015
5017
|
[Ee.viewImageModal__layer]: !0
|
|
5016
5018
|
}), R = f({
|
|
5017
5019
|
[Ee.viewImageModal__closeButton]: !0
|
|
5018
|
-
}),
|
|
5020
|
+
}), z = f({
|
|
5019
5021
|
[Ee.viewImageModal__spinner]: !0
|
|
5020
|
-
}),
|
|
5022
|
+
}), j = f(Ee.viewImageModal__img, {
|
|
5021
5023
|
[Ee.viewImageModal__img_loading]: l,
|
|
5022
5024
|
[Ee.viewImageModal__img_error]: u,
|
|
5023
5025
|
...o && { [o]: !0 }
|
|
5024
5026
|
});
|
|
5025
|
-
return /* @__PURE__ */ O(yo, { classNameRoot:
|
|
5026
|
-
s && l && /* @__PURE__ */ c(Dt, { classNameRoot:
|
|
5027
|
+
return /* @__PURE__ */ O(yo, { classNameRoot: L, children: [
|
|
5028
|
+
s && l && /* @__PURE__ */ c(Dt, { classNameRoot: z, size: "xl" }),
|
|
5027
5029
|
/* @__PURE__ */ O("div", { className: b, children: [
|
|
5028
5030
|
/* @__PURE__ */ c(
|
|
5029
5031
|
"img",
|
|
5030
5032
|
{
|
|
5031
|
-
className:
|
|
5033
|
+
className: j,
|
|
5032
5034
|
src: h,
|
|
5033
5035
|
alt: "someImage",
|
|
5034
5036
|
onLoad: (N) => {
|