test-stpr-ui-kit 0.5.15 → 0.5.17
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
|
@@ -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
|
+
}), F = 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: F, 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: F
|
|
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
|
+
...F && { [F]: !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
|
+
}), F = 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: F, 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: F,
|
|
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: F,
|
|
485
487
|
size: w,
|
|
486
488
|
classNameRoot: m,
|
|
487
489
|
classNameLayerRoot: N,
|
|
@@ -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), [F, 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
|
+
F && ne();
|
|
695
|
+
}, [F, ne]), re(() => {
|
|
696
|
+
if (!F) 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
|
+
}, [F, 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
|
-
}, ja = "
|
|
748
|
+
}, ja = "_spCheckbox_14v70_43", Ba = "_spCheckbox__control_14v70_49", Da = "_spCheckbox__label_14v70_52", Ma = "_spCheckbox__box_14v70_63", Pa = "_spCheckbox__box_checked_14v70_93", Oa = "_spCheckbox__box_disabled_14v70_99", Wa = "_spCheckbox__box_error_14v70_110", za = "_spCheckbox__tooltip_14v70_113", Ua = "_spCheckbox__required_14v70_118", qa = "_spCheckbox__error_14v70_124", Ce = {
|
|
747
749
|
spCheckbox: ja,
|
|
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_14v70_70",
|
|
754
|
+
"spCheckbox__box--size-md": "_spCheckbox__box--size-md_14v70_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
|
+
}), F = 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: F, 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: F,
|
|
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
|
+
...F && { [F]: !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
|
),
|
|
@@ -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 F(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 F(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) || F(m) === p;
|
|
1351
|
+
}, Q.isConcurrentMode = w, Q.isContextConsumer = function(m) {
|
|
1352
|
+
return F(m) === s;
|
|
1353
|
+
}, Q.isContextProvider = function(m) {
|
|
1354
|
+
return F(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 F(m) === d;
|
|
1359
|
+
}, Q.isFragment = function(m) {
|
|
1360
|
+
return F(m) === n;
|
|
1361
|
+
}, Q.isLazy = function(m) {
|
|
1362
|
+
return F(m) === x;
|
|
1363
|
+
}, Q.isMemo = function(m) {
|
|
1364
|
+
return F(m) === h;
|
|
1365
|
+
}, Q.isPortal = function(m) {
|
|
1366
|
+
return F(m) === o;
|
|
1367
|
+
}, Q.isProfiler = function(m) {
|
|
1368
|
+
return F(m) === i;
|
|
1369
|
+
}, Q.isStrictMode = function(m) {
|
|
1370
|
+
return F(m) === a;
|
|
1371
|
+
}, Q.isSuspense = function(m) {
|
|
1372
|
+
return F(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 = F, 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 F(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,10 +1433,10 @@ 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
|
-
function
|
|
1439
|
+
function A(y) {
|
|
1438
1440
|
return typeof y == "object" && y !== null && y.$$typeof === t;
|
|
1439
1441
|
}
|
|
1440
1442
|
function I(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 = A, 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 = F, 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: F,
|
|
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
|
|
1638
|
-
if (
|
|
1638
|
+
var v = {}, S = 0;
|
|
1639
|
+
function A(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
|
-
var I =
|
|
1655
|
-
return I.isRequired =
|
|
1656
|
+
var I = A.bind(null, !1);
|
|
1657
|
+
return I.isRequired = A.bind(null, !0), I;
|
|
1656
1658
|
}
|
|
1657
1659
|
function R(_) {
|
|
1658
|
-
function v(
|
|
1659
|
-
var
|
|
1660
|
+
function v(S, A, I, P, B, U) {
|
|
1661
|
+
var V = S[A], 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 F(_) {
|
|
1677
|
+
function v(S, A, 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[A];
|
|
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, A, I, P) {
|
|
1696
|
+
var B = v[S];
|
|
1695
1697
|
if (!s(B)) {
|
|
1696
1698
|
var U = M(B);
|
|
1697
|
-
return new b("Invalid " + I + " `" + P + "` of type " + ("`" + U + "` supplied to `" +
|
|
1699
|
+
return new b("Invalid " + I + " `" + P + "` of type " + ("`" + U + "` supplied to `" + A + "`, 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, A, I, P) {
|
|
1707
|
+
var B = v[S];
|
|
1706
1708
|
if (!e.isValidElementType(B)) {
|
|
1707
1709
|
var U = M(B);
|
|
1708
|
-
return new b("Invalid " + I + " `" + P + "` of type " + ("`" + U + "` supplied to `" +
|
|
1710
|
+
return new b("Invalid " + I + " `" + P + "` of type " + ("`" + U + "` supplied to `" + A + "`, 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, A, I, P, B) {
|
|
1718
|
+
if (!(S[A] instanceof _)) {
|
|
1719
|
+
var U = _.name || g, V = ee(S[A]);
|
|
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, A, I, P, B) {
|
|
1732
|
+
for (var U = S[A], 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, A, 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[A], 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
|
|
1770
|
+
function A(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(A);
|
|
1779
1781
|
}
|
|
1780
1782
|
function ne() {
|
|
1781
|
-
function _(v,
|
|
1782
|
-
return
|
|
1783
|
+
function _(v, S, A, I, P) {
|
|
1784
|
+
return Z(v[S]) ? null : new b("Invalid " + I + " `" + P + "` supplied to " + ("`" + A + "`, expected a ReactNode."));
|
|
1783
1785
|
}
|
|
1784
|
-
return
|
|
1786
|
+
return L(_);
|
|
1785
1787
|
}
|
|
1786
|
-
function me(_, v,
|
|
1788
|
+
function me(_, v, S, A, I) {
|
|
1787
1789
|
return new b(
|
|
1788
|
-
(_ || "React class") + ": " + v + " type `" +
|
|
1790
|
+
(_ || "React class") + ": " + v + " type `" + S + "." + A + "` 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, A, I, P, B) {
|
|
1795
|
+
var U = S[A], 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, A, I, P, B) {
|
|
1812
|
+
var U = S[A], 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[A], _);
|
|
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[A], 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(_), A;
|
|
1847
1849
|
if (v !== _.entries) {
|
|
1848
|
-
for (; !(
|
|
1849
|
-
if (!
|
|
1850
|
+
for (; !(A = S.next()).done; )
|
|
1851
|
+
if (!Z(A.value))
|
|
1850
1852
|
return !1;
|
|
1851
1853
|
} else
|
|
1852
|
-
for (; !(
|
|
1853
|
-
var I =
|
|
1854
|
-
if (I && !
|
|
1854
|
+
for (; !(A = S.next()).done; ) {
|
|
1855
|
+
var I = A.value;
|
|
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, F = p.current + (d.current - p.current) * z, w = Math.max(0, Math.floor(F));
|
|
2103
2105
|
r(w), R < 1 && (s.current = requestAnimationFrame(x));
|
|
2104
2106
|
};
|
|
2105
2107
|
return s.current = requestAnimationFrame(x), () => {
|
|
@@ -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: F,
|
|
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
|
+
...F && { [F]: !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,19 +2284,19 @@ 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
|
{
|
|
2291
2293
|
className: f({
|
|
2292
2294
|
[_e.spSelect__option]: !0
|
|
2293
2295
|
}),
|
|
2294
|
-
onClick: (
|
|
2296
|
+
onClick: (A) => ne(A, 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,
|
|
@@ -4493,16 +4495,16 @@ 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, F = 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
4501
|
return js(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 && As()), A = function() {
|
|
4507
|
+
!S.current && v && setTimeout(function() {
|
|
4506
4508
|
if (T.current) {
|
|
4507
4509
|
var j = T.current.files;
|
|
4508
4510
|
j.length || (ee({
|
|
@@ -4512,26 +4514,26 @@ function Ho() {
|
|
|
4512
4514
|
}, 300);
|
|
4513
4515
|
};
|
|
4514
4516
|
re(function() {
|
|
4515
|
-
return window.addEventListener("focus",
|
|
4516
|
-
window.removeEventListener("focus",
|
|
4517
|
+
return window.addEventListener("focus", A, !1), function() {
|
|
4518
|
+
window.removeEventListener("focus", A, !1);
|
|
4517
4519
|
};
|
|
4518
|
-
}, [T, v, le,
|
|
4520
|
+
}, [T, v, le, S]);
|
|
4519
4521
|
var I = ve([]), P = function(j) {
|
|
4520
|
-
|
|
4522
|
+
Z.current && Z.current.contains(j.target) || (j.preventDefault(), I.current = []);
|
|
4521
4523
|
};
|
|
4522
4524
|
re(function() {
|
|
4523
|
-
return
|
|
4524
|
-
|
|
4525
|
+
return F && (document.addEventListener("dragover", fo, !1), document.addEventListener("drop", P, !1)), function() {
|
|
4526
|
+
F && (document.removeEventListener("dragover", fo), document.removeEventListener("drop", P));
|
|
4525
4527
|
};
|
|
4526
|
-
}, [
|
|
4527
|
-
return !n &&
|
|
4528
|
+
}, [Z, F]), 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
|
+
H ? H(k) : console.error(k);
|
|
4534
|
+
}, [H]), U = xe(function(k) {
|
|
4533
4535
|
k.preventDefault(), k.persist(), Ge(k), I.current = [].concat(Us(I.current), [k.target]), et(k) && Promise.resolve(a(k)).then(function(j) {
|
|
4534
|
-
if (!(nt(k) && !
|
|
4536
|
+
if (!(nt(k) && !W)) {
|
|
4535
4537
|
var ae = j.length, se = ae > 0 && Ss({
|
|
4536
4538
|
files: j,
|
|
4537
4539
|
accept: ne,
|
|
@@ -4539,7 +4541,7 @@ function Ho() {
|
|
|
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,
|
|
@@ -4551,7 +4553,7 @@ function Ho() {
|
|
|
4551
4553
|
}).catch(function(j) {
|
|
4552
4554
|
return B(j);
|
|
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
4558
|
var j = et(k);
|
|
4557
4559
|
if (j && k.dataTransfer)
|
|
@@ -4560,10 +4562,10 @@ function Ho() {
|
|
|
4560
4562
|
} catch {
|
|
4561
4563
|
}
|
|
4562
4564
|
return j && u && u(k), !1;
|
|
4563
|
-
}, [u,
|
|
4565
|
+
}, [u, W]), K = xe(function(k) {
|
|
4564
4566
|
k.preventDefault(), k.persist(), Ge(k);
|
|
4565
4567
|
var j = I.current.filter(function(se) {
|
|
4566
|
-
return
|
|
4568
|
+
return Z.current && Z.current.contains(se);
|
|
4567
4569
|
}), ae = j.indexOf(k.target);
|
|
4568
4570
|
ae !== -1 && j.splice(ae, 1), I.current = j, !(j.length > 0) && (ee({
|
|
4569
4571
|
type: "setDraggedFiles",
|
|
@@ -4571,10 +4573,10 @@ function Ho() {
|
|
|
4571
4573
|
isDragAccept: !1,
|
|
4572
4574
|
isDragReject: !1
|
|
4573
4575
|
}), et(k) && d && d(k));
|
|
4574
|
-
}, [
|
|
4576
|
+
}, [Z, d, W]), $ = xe(function(k, j) {
|
|
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 {
|
|
@@ -4597,16 +4599,16 @@ function Ho() {
|
|
|
4597
4599
|
isDragReject: se.length > 0,
|
|
4598
4600
|
type: "setFiles"
|
|
4599
4601
|
}), g && g(ae, se, j), se.length > 0 && x && x(se, j), ae.length > 0 && h && h(ae, j);
|
|
4600
|
-
}, [ee, s, ne, r, i, p, g, h, x,
|
|
4602
|
+
}, [ee, s, ne, r, i, p, g, h, x, X]), ie = xe(function(k) {
|
|
4601
4603
|
k.preventDefault(), k.persist(), Ge(k), I.current = [], et(k) && Promise.resolve(a(k)).then(function(j) {
|
|
4602
|
-
nt(k) && !
|
|
4604
|
+
nt(k) && !W || $(j, k);
|
|
4603
4605
|
}).catch(function(j) {
|
|
4604
4606
|
return B(j);
|
|
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();
|
|
@@ -4623,7 +4625,7 @@ function Ho() {
|
|
|
4623
4625
|
}).catch(function(j) {
|
|
4624
4626
|
Ds(j) ? (le(j), ee({
|
|
4625
4627
|
type: "closeDialog"
|
|
4626
|
-
})) : Ms(j) ? (
|
|
4628
|
+
})) : Ms(j) ? (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(j);
|
|
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
|
});
|
|
@@ -4649,7 +4651,7 @@ function Ho() {
|
|
|
4649
4651
|
}, Ye = function(j) {
|
|
4650
4652
|
return N ? null : je(j);
|
|
4651
4653
|
}, Ge = function(j) {
|
|
4652
|
-
|
|
4654
|
+
W && j.stopPropagation();
|
|
4653
4655
|
}, Vo = De(function() {
|
|
4654
4656
|
return function() {
|
|
4655
4657
|
var k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, j = k.refKey, ae = j === void 0 ? "ref" : j, 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);
|
|
@@ -4659,15 +4661,15 @@ function Ho() {
|
|
|
4659
4661
|
onBlur: st(Te(Be, Oe)),
|
|
4660
4662
|
onClick: je(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() {
|
|
@@ -4694,11 +4696,11 @@ function Ho() {
|
|
|
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
4705
|
open: je(y)
|
|
4704
4706
|
});
|
|
@@ -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
|
-
const
|
|
4819
|
-
b([...
|
|
4820
|
+
const A = [...p, ..._];
|
|
4821
|
+
b([...S, ...x]), a(A, 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
|
+
}), F = 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]: F && !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], A = S.findIndex((I) => I.name === _);
|
|
4854
|
+
S.splice(A, 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 (F) {
|
|
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
|
+
F && 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 },
|
|
4879
|
-
const
|
|
4880
|
+
}, M = () => /* @__PURE__ */ c("ul", { className: ne, children: w.map(({ file: _, errors: v }, S) => {
|
|
4881
|
+
const A = 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
|
-
|
|
4886
|
+
Y.spUploadFiles__fileNamesListItem,
|
|
4887
|
+
A && 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
|
-
|
|
4897
|
+
Y.spUploadFiles__fileNamesListItem__iconContainer,
|
|
4898
|
+
A && Y.spUploadFiles__fileNamesListItem__iconContainer_error
|
|
4897
4899
|
),
|
|
4898
|
-
children: /* @__PURE__ */ c(de, { name:
|
|
4900
|
+
children: /* @__PURE__ */ c(de, { name: A ? 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
|
-
text:
|
|
4917
|
-
classNameBaseTooltipRoot:
|
|
4918
|
+
text: A ? I() : Lp(_.size),
|
|
4919
|
+
classNameBaseTooltipRoot: Y.spUploadFiles__fileNamesListItem__description__tooltipContent,
|
|
4918
4920
|
classNameRoot: f(
|
|
4919
|
-
|
|
4920
|
-
|
|
4921
|
+
Y.spUploadFiles__fileNamesListItem__description,
|
|
4922
|
+
A && Y.spUploadFiles__fileNamesListItem__description_error
|
|
4921
4923
|
)
|
|
4922
4924
|
}
|
|
4923
4925
|
)
|
|
@@ -4925,36 +4927,36 @@ 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
|
-
P.stopPropagation(), ue(_.name,
|
|
4932
|
+
P.stopPropagation(), ue(_.name, A);
|
|
4931
4933
|
},
|
|
4932
4934
|
children: /* @__PURE__ */ c(de, { name: D.Close })
|
|
4933
4935
|
}
|
|
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,7 +4988,7 @@ 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
|
);
|
|
@@ -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
|
+
}), F = 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: F,
|
|
5032
5034
|
src: h,
|
|
5033
5035
|
alt: "someImage",
|
|
5034
5036
|
onLoad: (N) => {
|