test-stpr-ui-kit 0.4.60 → 0.4.62
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.css +1 -1
- package/dist/test-stpr-ui-kit.js +262 -256
- package/dist/test-stpr-ui-kit.umd.cjs +8 -8
- package/package.json +1 -1
package/dist/test-stpr-ui-kit.js
CHANGED
|
@@ -80,7 +80,7 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
80
80
|
classNameChildrenWrapper: h
|
|
81
81
|
} = e, [w, C] = te(n), R = () => {
|
|
82
82
|
a || (C(!w), i == null || i(!w));
|
|
83
|
-
},
|
|
83
|
+
}, W = f({
|
|
84
84
|
[de.spAccordion]: !0,
|
|
85
85
|
[de.spAccordion_open]: w,
|
|
86
86
|
[de.spAccordion_noOpen]: !w,
|
|
@@ -108,7 +108,7 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
108
108
|
[de.spAccordion__content]: !0,
|
|
109
109
|
[de.spAccordion__content_open]: w
|
|
110
110
|
});
|
|
111
|
-
return /* @__PURE__ */ U("div", { className:
|
|
111
|
+
return /* @__PURE__ */ U("div", { className: W, children: [
|
|
112
112
|
/* @__PURE__ */ U("div", { className: q, children: [
|
|
113
113
|
/* @__PURE__ */ l("div", { className: A, children: /* @__PURE__ */ l("span", { onClick: R, children: t }) }),
|
|
114
114
|
/* @__PURE__ */ l(xe, { onClick: R, className: b, name: pe.ChevronDown })
|
|
@@ -135,14 +135,14 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
135
135
|
children: /* @__PURE__ */ l("div", { className: ct.spinner__inner })
|
|
136
136
|
}
|
|
137
137
|
);
|
|
138
|
-
}, Ln = "_spButton_zixup_43", Dn = "_spButton_noPadding_zixup_59",
|
|
138
|
+
}, Ln = "_spButton_zixup_43", Dn = "_spButton_noPadding_zixup_59", Pn = "_spButton_onlyIcon_zixup_62", On = "_spButton__iconContainer_zixup_70", Bn = "_spButton_link_zixup_73", Wn = "_spButton__text_zixup_77", zn = "_spButton_primary_zixup_89", Mn = "_spButton_blue_zixup_89", Un = "_spButton_white_zixup_99", qn = "_spButton_secondary_zixup_109", $n = "_spButton_fullWidth_zixup_129", Hn = "_spButton_disabled_zixup_132", Vn = "_spButton__spinner_zixup_141", we = {
|
|
139
139
|
spButton: Ln,
|
|
140
140
|
spButton_noPadding: Dn,
|
|
141
|
-
spButton_onlyIcon:
|
|
142
|
-
spButton__iconContainer:
|
|
143
|
-
spButton_link:
|
|
144
|
-
spButton__text:
|
|
145
|
-
spButton_primary:
|
|
141
|
+
spButton_onlyIcon: Pn,
|
|
142
|
+
spButton__iconContainer: On,
|
|
143
|
+
spButton_link: Bn,
|
|
144
|
+
spButton__text: Wn,
|
|
145
|
+
spButton_primary: zn,
|
|
146
146
|
spButton_blue: Mn,
|
|
147
147
|
spButton_white: Un,
|
|
148
148
|
spButton_secondary: qn,
|
|
@@ -167,7 +167,7 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
167
167
|
noPadding: w = !1,
|
|
168
168
|
classNameRoot: C,
|
|
169
169
|
classNameIconContainerRoot: R
|
|
170
|
-
} = e,
|
|
170
|
+
} = e, W = (b) => {
|
|
171
171
|
s || a == null || a(b);
|
|
172
172
|
}, q = () => {
|
|
173
173
|
const b = f({
|
|
@@ -196,14 +196,14 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
196
196
|
{
|
|
197
197
|
style: n,
|
|
198
198
|
className: A,
|
|
199
|
-
onClick:
|
|
199
|
+
onClick: W,
|
|
200
200
|
disabled: s,
|
|
201
201
|
type: d,
|
|
202
202
|
form: p,
|
|
203
203
|
children: q()
|
|
204
204
|
}
|
|
205
205
|
);
|
|
206
|
-
}, Yn = "_spApplyButtons_e8c1h_43", Gn = "_spApplyButtons__cancel_e8c1h_65", Kn = "_spApplyButtons__submit_e8c1h_68",
|
|
206
|
+
}, Yn = "_spApplyButtons_e8c1h_43", Gn = "_spApplyButtons__cancel_e8c1h_65", Kn = "_spApplyButtons__submit_e8c1h_68", We = {
|
|
207
207
|
spApplyButtons: Yn,
|
|
208
208
|
"spApplyButtons_align-right": "_spApplyButtons_align-right_e8c1h_48",
|
|
209
209
|
"spApplyButtons_align-left": "_spApplyButtons_align-left_e8c1h_51",
|
|
@@ -225,13 +225,13 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
225
225
|
submit: _,
|
|
226
226
|
loading: u
|
|
227
227
|
} = e, g = f({
|
|
228
|
-
[
|
|
229
|
-
[
|
|
230
|
-
[
|
|
228
|
+
[We.spApplyButtons]: !0,
|
|
229
|
+
[We[`spApplyButtons_mobile-${t}`]]: t,
|
|
230
|
+
[We[`spApplyButtons_align-${o}`]]: o
|
|
231
231
|
}), h = f({
|
|
232
|
-
[
|
|
232
|
+
[We.spApplyButtons__submit]: !0
|
|
233
233
|
}), w = f({
|
|
234
|
-
[
|
|
234
|
+
[We.spApplyButtons__cancel]: !0
|
|
235
235
|
});
|
|
236
236
|
return /* @__PURE__ */ U("div", { className: g, children: [
|
|
237
237
|
n && p && /* @__PURE__ */ l(
|
|
@@ -305,7 +305,7 @@ const ho = ({ children: e, node: t, classNameRoot: o }) => {
|
|
|
305
305
|
t || document.body.removeChild(i);
|
|
306
306
|
};
|
|
307
307
|
}, [t, o]), n ? Zo.createPortal(e, n) : null;
|
|
308
|
-
}, ea = "_spTooltip_9ogwj_43", ta = "_spTooltip__trigger_9ogwj_46",
|
|
308
|
+
}, ea = "_spTooltip_9ogwj_43", ta = "_spTooltip__trigger_9ogwj_46", Ot = {
|
|
309
309
|
spTooltip: ea,
|
|
310
310
|
spTooltip__trigger: ta
|
|
311
311
|
};
|
|
@@ -327,67 +327,67 @@ const et = (e) => {
|
|
|
327
327
|
classNameBaseTooltipRoot: h,
|
|
328
328
|
classNameBaseTooltipContentRoot: w,
|
|
329
329
|
styleTooltip: C
|
|
330
|
-
} = e, [R,
|
|
330
|
+
} = e, [R, W] = te(!1), q = me(null), A = me(null), [b, m] = te(!1);
|
|
331
331
|
xo(
|
|
332
332
|
[q, A],
|
|
333
333
|
() => {
|
|
334
|
-
s && s(),
|
|
334
|
+
s && s(), W(!1);
|
|
335
335
|
},
|
|
336
336
|
R
|
|
337
337
|
);
|
|
338
338
|
const F = (k) => {
|
|
339
|
-
n && k.stopPropagation(), !t && (R ? s && s() : r && r(),
|
|
340
|
-
}, [
|
|
339
|
+
n && k.stopPropagation(), !t && (R ? s && s() : r && r(), W(($) => o ? !$ : !0));
|
|
340
|
+
}, [P, O] = te({
|
|
341
341
|
visibility: "hidden",
|
|
342
342
|
opacity: 0,
|
|
343
343
|
left: "-9999px"
|
|
344
344
|
}), [Z, ie] = te(!1), re = ge(() => {
|
|
345
345
|
if (!q.current || !A.current) return;
|
|
346
346
|
const k = q.current.getBoundingClientRect(), $ = A.current.getBoundingClientRect();
|
|
347
|
-
let
|
|
347
|
+
let z = 0, c = 0;
|
|
348
348
|
switch (p) {
|
|
349
349
|
case le.Right:
|
|
350
|
-
|
|
350
|
+
z = k.top + window.scrollY - ($.height - k.height) / 2, c = k.right + window.scrollX;
|
|
351
351
|
break;
|
|
352
352
|
case le.RightTop:
|
|
353
|
-
|
|
353
|
+
z = k.top + window.scrollY, c = k.right + window.scrollX;
|
|
354
354
|
break;
|
|
355
355
|
case le.RightBottom:
|
|
356
|
-
|
|
356
|
+
z = k.bottom + window.scrollY - $.height, c = k.right + window.scrollX;
|
|
357
357
|
break;
|
|
358
358
|
case le.Left:
|
|
359
|
-
|
|
359
|
+
z = k.top + window.scrollY - ($.height - k.height) / 2, c = k.left + window.scrollX - $.width;
|
|
360
360
|
break;
|
|
361
361
|
case le.LeftTop:
|
|
362
|
-
|
|
362
|
+
z = k.top + window.scrollY, c = k.left + window.scrollX - $.width;
|
|
363
363
|
break;
|
|
364
364
|
case le.LeftBottom:
|
|
365
|
-
|
|
365
|
+
z = k.bottom + window.scrollY - $.height, c = k.left + window.scrollX - $.width;
|
|
366
366
|
break;
|
|
367
367
|
case le.Bottom:
|
|
368
|
-
|
|
368
|
+
z = k.bottom + window.scrollY, c = k.left + window.scrollX - ($.width - k.width) / 2;
|
|
369
369
|
break;
|
|
370
370
|
case le.BottomLeft:
|
|
371
|
-
|
|
371
|
+
z = k.bottom + window.scrollY, c = k.left + window.scrollX;
|
|
372
372
|
break;
|
|
373
373
|
case le.BottomRight:
|
|
374
|
-
|
|
374
|
+
z = k.bottom + window.scrollY, c = k.right + window.scrollX - $.width;
|
|
375
375
|
break;
|
|
376
376
|
case le.Top:
|
|
377
|
-
|
|
377
|
+
z = k.top + window.scrollY - $.height, c = k.left + window.scrollX - ($.width - k.width) / 2;
|
|
378
378
|
break;
|
|
379
379
|
case le.TopLeft:
|
|
380
|
-
|
|
380
|
+
z = k.top + window.scrollY - $.height, c = k.left + window.scrollX;
|
|
381
381
|
break;
|
|
382
382
|
case le.TopRight:
|
|
383
|
-
|
|
383
|
+
z = k.top + window.scrollY - $.height, c = k.right + window.scrollX - $.width;
|
|
384
384
|
break;
|
|
385
385
|
default:
|
|
386
|
-
|
|
386
|
+
z = k.bottom + window.scrollY, c = k.left + window.scrollX;
|
|
387
387
|
}
|
|
388
|
-
|
|
388
|
+
z + $.height > window.innerHeight + window.scrollY && p.includes("bottom") ? z = k.top + window.scrollY - $.height : z < window.scrollY && p.includes("top") && (z = k.bottom + window.scrollY), c + $.width > window.innerWidth + window.scrollX && p.includes("left") ? c = k.left + window.scrollX - $.width + k.width : c < window.scrollX && p.includes("right") && (c = k.right + window.scrollX - k.width), O((v) => ({
|
|
389
389
|
...v,
|
|
390
|
-
top: `${
|
|
390
|
+
top: `${z}px`,
|
|
391
391
|
left: `${c}px`,
|
|
392
392
|
visibility: R || Z ? "visible" : "hidden",
|
|
393
393
|
opacity: R || Z ? 1 : 0
|
|
@@ -403,14 +403,14 @@ const et = (e) => {
|
|
|
403
403
|
};
|
|
404
404
|
}, [b, re]);
|
|
405
405
|
const ue = f({
|
|
406
|
-
[
|
|
406
|
+
[Ot.spTooltip]: !0,
|
|
407
407
|
...g && { [g]: !0 }
|
|
408
408
|
}), ce = f({
|
|
409
409
|
...h && { [h]: !0 }
|
|
410
410
|
}), G = f({
|
|
411
411
|
...w && { [w]: !0 }
|
|
412
412
|
}), J = f({
|
|
413
|
-
[
|
|
413
|
+
[Ot.spTooltip__trigger]: !0,
|
|
414
414
|
...d && { [d]: !0 }
|
|
415
415
|
}), Q = document.body;
|
|
416
416
|
return /* @__PURE__ */ U(
|
|
@@ -426,7 +426,7 @@ const et = (e) => {
|
|
|
426
426
|
a && /* @__PURE__ */ l(ho, { node: Q, children: /* @__PURE__ */ l(
|
|
427
427
|
go,
|
|
428
428
|
{
|
|
429
|
-
style:
|
|
429
|
+
style: P,
|
|
430
430
|
ref: A,
|
|
431
431
|
noPadding: u,
|
|
432
432
|
text: _,
|
|
@@ -475,7 +475,7 @@ const et = (e) => {
|
|
|
475
475
|
[Ce.spCheckbox__box_disabled]: n,
|
|
476
476
|
[Ce[`spCheckbox__box--size-${t}`]]: t,
|
|
477
477
|
[Ce.spCheckbox__box_error]: s
|
|
478
|
-
}),
|
|
478
|
+
}), W = f({
|
|
479
479
|
[Ce.spCheckbox__control]: !0
|
|
480
480
|
}), q = f({
|
|
481
481
|
[Ce.spCheckbox__label]: !0
|
|
@@ -493,10 +493,10 @@ const et = (e) => {
|
|
|
493
493
|
"input",
|
|
494
494
|
{
|
|
495
495
|
type: "checkbox",
|
|
496
|
-
className:
|
|
496
|
+
className: W,
|
|
497
497
|
checked: o,
|
|
498
|
-
onChange: (
|
|
499
|
-
!n && a && a(
|
|
498
|
+
onChange: (P) => {
|
|
499
|
+
!n && a && a(P, { name: i, checked: !o, value: d });
|
|
500
500
|
}
|
|
501
501
|
}
|
|
502
502
|
),
|
|
@@ -518,7 +518,7 @@ const et = (e) => {
|
|
|
518
518
|
n(null);
|
|
519
519
|
}
|
|
520
520
|
};
|
|
521
|
-
}, ma = "_layer_14g8d_43", ua = "_layer_hidden_14g8d_65",
|
|
521
|
+
}, ma = "_layer_14g8d_43", ua = "_layer_hidden_14g8d_65", Bt = {
|
|
522
522
|
layer: ma,
|
|
523
523
|
layer_hidden: ua
|
|
524
524
|
}, _a = (e) => {
|
|
@@ -528,8 +528,8 @@ const et = (e) => {
|
|
|
528
528
|
isHiddenModal: n = !1,
|
|
529
529
|
classNameRoot: a
|
|
530
530
|
} = e, i = document.body, r = f({
|
|
531
|
-
[
|
|
532
|
-
[
|
|
531
|
+
[Bt.layer]: !0,
|
|
532
|
+
[Bt.layer_hidden]: n,
|
|
533
533
|
...a && { [a]: !0 }
|
|
534
534
|
});
|
|
535
535
|
return /* @__PURE__ */ l(ho, { node: i, children: /* @__PURE__ */ l("div", { style: { zIndex: o }, className: r, children: t }) });
|
|
@@ -619,7 +619,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
619
619
|
[ve.modalWrapper__modal]: !0,
|
|
620
620
|
[ve[`modalWrapper__modal--size-${w}`]]: w,
|
|
621
621
|
...r && { [r]: !0 }
|
|
622
|
-
}),
|
|
622
|
+
}), W = f({
|
|
623
623
|
[ve.modalWrapper__closeButton]: !0,
|
|
624
624
|
[ve[`modalWrapper__closeButton--size-${w}`]]: w
|
|
625
625
|
}), q = f({
|
|
@@ -636,9 +636,9 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
636
636
|
[ve.modalWrapper__footer]: !0
|
|
637
637
|
});
|
|
638
638
|
return ne(() => {
|
|
639
|
-
const
|
|
640
|
-
return
|
|
641
|
-
|
|
639
|
+
const P = window.scrollY, O = document.body;
|
|
640
|
+
return O.style.position = "fixed", O.style.top = `-${P}px`, O.style.left = "0", O.style.right = "0", O.style.overflow = "hidden", () => {
|
|
641
|
+
O.style.position = "", O.style.top = "", O.style.left = "", O.style.right = "", O.style.overflow = "", window.scrollTo(0, P);
|
|
642
642
|
};
|
|
643
643
|
}, []), /* @__PURE__ */ l(_a, { zIndex: t, isHiddenModal: o, classNameRoot: i, children: /* @__PURE__ */ l("div", { className: C, children: /* @__PURE__ */ U("div", { className: R, style: s, children: [
|
|
644
644
|
(u || g) && /* @__PURE__ */ U("div", { className: b, children: [
|
|
@@ -650,7 +650,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
650
650
|
n && _ && /* @__PURE__ */ l(
|
|
651
651
|
kt,
|
|
652
652
|
{
|
|
653
|
-
classNameRoot:
|
|
653
|
+
classNameRoot: W,
|
|
654
654
|
classNameIconContainerRoot: q,
|
|
655
655
|
onClick: _,
|
|
656
656
|
iconName: pe.Close,
|
|
@@ -678,7 +678,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
678
678
|
modalAlign: w = "top",
|
|
679
679
|
textAlign: C = "left",
|
|
680
680
|
loading: R,
|
|
681
|
-
isVisibleCloseButton:
|
|
681
|
+
isVisibleCloseButton: W,
|
|
682
682
|
isHiddenModal: q,
|
|
683
683
|
size: A
|
|
684
684
|
} = e;
|
|
@@ -691,7 +691,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
691
691
|
modalAlign: w,
|
|
692
692
|
textAlign: C,
|
|
693
693
|
subHeader: n,
|
|
694
|
-
isVisibleCloseButton:
|
|
694
|
+
isVisibleCloseButton: W,
|
|
695
695
|
isHiddenModal: q,
|
|
696
696
|
size: A,
|
|
697
697
|
footer: a || s ? /* @__PURE__ */ l(
|
|
@@ -747,15 +747,15 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
747
747
|
/* @__PURE__ */ l("input", { ...i({}), disabled: n, name: a }),
|
|
748
748
|
o
|
|
749
749
|
] });
|
|
750
|
-
}, Ia = "_spDropdown_1f4lf_43", ja = "_spDropdown__labelText_1f4lf_54", Aa = "_spDropdown__tooltipContainer_1f4lf_62", La = "_spDropdown__dropdownList_1f4lf_67", Da = "_spDropdown__dropdownListHeader_1f4lf_73",
|
|
750
|
+
}, Ia = "_spDropdown_1f4lf_43", ja = "_spDropdown__labelText_1f4lf_54", Aa = "_spDropdown__tooltipContainer_1f4lf_62", La = "_spDropdown__dropdownList_1f4lf_67", Da = "_spDropdown__dropdownListHeader_1f4lf_73", Pa = "_spDropdown__dopdownListItem_1f4lf_80", Oa = "_spDropdown__dopdownListItem_textCenter_1f4lf_91", Ba = "_spDropdown__downloadListItemDescription_1f4lf_94", Ee = {
|
|
751
751
|
spDropdown: Ia,
|
|
752
752
|
spDropdown__labelText: ja,
|
|
753
753
|
spDropdown__tooltipContainer: Aa,
|
|
754
754
|
spDropdown__dropdownList: La,
|
|
755
755
|
spDropdown__dropdownListHeader: Da,
|
|
756
|
-
spDropdown__dopdownListItem:
|
|
757
|
-
spDropdown__dopdownListItem_textCenter:
|
|
758
|
-
spDropdown__downloadListItemDescription:
|
|
756
|
+
spDropdown__dopdownListItem: Pa,
|
|
757
|
+
spDropdown__dopdownListItem_textCenter: Oa,
|
|
758
|
+
spDropdown__downloadListItemDescription: Ba
|
|
759
759
|
}, Cp = (e) => {
|
|
760
760
|
const {
|
|
761
761
|
labelText: t = "Выпадающий список",
|
|
@@ -811,9 +811,9 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
811
811
|
] })
|
|
812
812
|
}
|
|
813
813
|
);
|
|
814
|
-
},
|
|
815
|
-
ellipsisTextWithTooltip:
|
|
816
|
-
ellipsisTextWithTooltip__tooltip:
|
|
814
|
+
}, Wa = "_ellipsisTextWithTooltip_1nhiw_43", za = "_ellipsisTextWithTooltip__tooltip_1nhiw_46", Wt = {
|
|
815
|
+
ellipsisTextWithTooltip: Wa,
|
|
816
|
+
ellipsisTextWithTooltip__tooltip: za
|
|
817
817
|
}, Ye = (e) => {
|
|
818
818
|
const {
|
|
819
819
|
text: t,
|
|
@@ -828,10 +828,10 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
828
828
|
d.current && _(d.current.scrollWidth > d.current.clientWidth);
|
|
829
829
|
}, [t]);
|
|
830
830
|
const u = f({
|
|
831
|
-
[
|
|
831
|
+
[Wt.ellipsisTextWithTooltip]: !0,
|
|
832
832
|
...o && { [o]: !0 }
|
|
833
833
|
}), g = f({
|
|
834
|
-
[
|
|
834
|
+
[Wt.ellipsisTextWithTooltip__tooltip]: !0,
|
|
835
835
|
...n && { [n]: !0 }
|
|
836
836
|
}), h = f({
|
|
837
837
|
...a && { [a]: !0 }
|
|
@@ -848,7 +848,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
848
848
|
trigger: /* @__PURE__ */ l(Ne, { ...s, classNameRoot: u, isEllipsis: !0, ref: d, children: t })
|
|
849
849
|
}
|
|
850
850
|
);
|
|
851
|
-
}, Ma = "_spForm_zefbj_43", Ua = "_spForm_fullWidth_zefbj_46", qa = "_spForm_withSeparator_zefbj_49",
|
|
851
|
+
}, Ma = "_spForm_zefbj_43", Ua = "_spForm_fullWidth_zefbj_46", qa = "_spForm_withSeparator_zefbj_49", ze = {
|
|
852
852
|
spForm: Ma,
|
|
853
853
|
spForm_fullWidth: Ua,
|
|
854
854
|
spForm_withSeparator: qa,
|
|
@@ -865,11 +865,11 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
865
865
|
classNameRoot: s,
|
|
866
866
|
...d
|
|
867
867
|
} = e, p = f({
|
|
868
|
-
[
|
|
869
|
-
[
|
|
870
|
-
[
|
|
871
|
-
[
|
|
872
|
-
[
|
|
868
|
+
[ze.spForm]: !0,
|
|
869
|
+
[ze.spForm_fullWidth]: r,
|
|
870
|
+
[ze.spForm_addMargin]: a,
|
|
871
|
+
[ze[`spForm_addMargin--size-${t}`]]: a && t,
|
|
872
|
+
[ze.spForm_withSeparator]: i,
|
|
873
873
|
...s && { [s]: !0 }
|
|
874
874
|
});
|
|
875
875
|
return /* @__PURE__ */ l("form", { ...d, onSubmit: (u) => {
|
|
@@ -940,18 +940,18 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
940
940
|
infoTooltipText: w,
|
|
941
941
|
tooltipPosition: C,
|
|
942
942
|
isVisibleDefaultTitle: R = !0,
|
|
943
|
-
placeholder:
|
|
943
|
+
placeholder: W = "Введите...",
|
|
944
944
|
classNameRoot: q,
|
|
945
945
|
classNameError: A,
|
|
946
946
|
classNameLabel: b,
|
|
947
947
|
classNameBaseTooltipRoot: m,
|
|
948
948
|
...F
|
|
949
|
-
} = e,
|
|
949
|
+
} = e, P = f({
|
|
950
950
|
[ke.spInput]: !0,
|
|
951
951
|
[ke.spInput_error]: !!d,
|
|
952
952
|
[ke.spInput_absolutePositionError]: s,
|
|
953
953
|
...q && { [q]: !0 }
|
|
954
|
-
}),
|
|
954
|
+
}), O = f({
|
|
955
955
|
[ke.spInput__container]: !0
|
|
956
956
|
}), Z = f({
|
|
957
957
|
[ke.spInput__control]: !0,
|
|
@@ -972,7 +972,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
972
972
|
const { value: k, name: $ } = Q.target;
|
|
973
973
|
g && k && !new RegExp(g).test(k) || n(Q, { value: k, name: $ });
|
|
974
974
|
};
|
|
975
|
-
return /* @__PURE__ */ U("div", { className:
|
|
975
|
+
return /* @__PURE__ */ U("div", { className: P, children: [
|
|
976
976
|
a && /* @__PURE__ */ l(
|
|
977
977
|
jt,
|
|
978
978
|
{
|
|
@@ -984,12 +984,12 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
984
984
|
classNameBaseTooltipRoot: m
|
|
985
985
|
}
|
|
986
986
|
),
|
|
987
|
-
/* @__PURE__ */ U("div", { className:
|
|
987
|
+
/* @__PURE__ */ U("div", { className: O, onMouseEnter: h, children: [
|
|
988
988
|
/* @__PURE__ */ l(
|
|
989
989
|
"input",
|
|
990
990
|
{
|
|
991
991
|
...F,
|
|
992
|
-
placeholder:
|
|
992
|
+
placeholder: W,
|
|
993
993
|
disabled: r,
|
|
994
994
|
onChange: G,
|
|
995
995
|
title: R ? o : void 0,
|
|
@@ -1045,7 +1045,7 @@ function ui(e, t) {
|
|
|
1045
1045
|
case "device-aspect-ratio":
|
|
1046
1046
|
case /* Deprecated */
|
|
1047
1047
|
"device-pixel-ratio":
|
|
1048
|
-
p =
|
|
1048
|
+
p = zt(p), _ = zt(_);
|
|
1049
1049
|
break;
|
|
1050
1050
|
case "grid":
|
|
1051
1051
|
case "color":
|
|
@@ -1080,7 +1080,7 @@ function yo(e) {
|
|
|
1080
1080
|
}), r;
|
|
1081
1081
|
});
|
|
1082
1082
|
}
|
|
1083
|
-
function
|
|
1083
|
+
function zt(e) {
|
|
1084
1084
|
var t = Number(e), o;
|
|
1085
1085
|
return t || (o = e.match(/^(\d+)\s*\/\s*(\d+)$/), t = o[1] / o[2]), t;
|
|
1086
1086
|
}
|
|
@@ -1176,7 +1176,7 @@ var $t;
|
|
|
1176
1176
|
function Ci() {
|
|
1177
1177
|
if ($t) return K;
|
|
1178
1178
|
$t = 1;
|
|
1179
|
-
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, d = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, _ = 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, w = e ? Symbol.for("react.lazy") : 60116, C = e ? Symbol.for("react.block") : 60121, R = e ? Symbol.for("react.fundamental") : 60117,
|
|
1179
|
+
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, d = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, _ = 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, w = e ? Symbol.for("react.lazy") : 60116, C = e ? Symbol.for("react.block") : 60121, R = e ? Symbol.for("react.fundamental") : 60117, W = e ? Symbol.for("react.responder") : 60118, q = e ? Symbol.for("react.scope") : 60119;
|
|
1180
1180
|
function A(m) {
|
|
1181
1181
|
if (typeof m == "object" && m !== null) {
|
|
1182
1182
|
var F = m.$$typeof;
|
|
@@ -1235,7 +1235,7 @@ function Ci() {
|
|
|
1235
1235
|
}, K.isSuspense = function(m) {
|
|
1236
1236
|
return A(m) === u;
|
|
1237
1237
|
}, K.isValidElementType = function(m) {
|
|
1238
|
-
return typeof m == "string" || typeof m == "function" || m === n || m === p || m === i || m === a || m === u || m === g || typeof m == "object" && m !== null && (m.$$typeof === w || m.$$typeof === h || m.$$typeof === r || m.$$typeof === s || m.$$typeof === _ || m.$$typeof === R || m.$$typeof ===
|
|
1238
|
+
return typeof m == "string" || typeof m == "function" || m === n || m === p || m === i || m === a || m === u || m === g || typeof m == "object" && m !== null && (m.$$typeof === w || m.$$typeof === h || m.$$typeof === r || m.$$typeof === s || m.$$typeof === _ || m.$$typeof === R || m.$$typeof === W || m.$$typeof === q || m.$$typeof === C);
|
|
1239
1239
|
}, K.typeOf = A, K;
|
|
1240
1240
|
}
|
|
1241
1241
|
var X = {};
|
|
@@ -1250,10 +1250,10 @@ var X = {};
|
|
|
1250
1250
|
var Ht;
|
|
1251
1251
|
function ki() {
|
|
1252
1252
|
return Ht || (Ht = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1253
|
-
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, d = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, _ = 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, w = e ? Symbol.for("react.lazy") : 60116, C = e ? Symbol.for("react.block") : 60121, R = e ? Symbol.for("react.fundamental") : 60117,
|
|
1253
|
+
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, d = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, _ = 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, w = e ? Symbol.for("react.lazy") : 60116, C = e ? Symbol.for("react.block") : 60121, R = e ? Symbol.for("react.fundamental") : 60117, W = e ? Symbol.for("react.responder") : 60118, q = e ? Symbol.for("react.scope") : 60119;
|
|
1254
1254
|
function A(x) {
|
|
1255
1255
|
return typeof x == "string" || typeof x == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1256
|
-
x === n || x === p || x === i || x === a || x === u || x === g || typeof x == "object" && x !== null && (x.$$typeof === w || x.$$typeof === h || x.$$typeof === r || x.$$typeof === s || x.$$typeof === _ || x.$$typeof === R || x.$$typeof ===
|
|
1256
|
+
x === n || x === p || x === i || x === a || x === u || x === g || typeof x == "object" && x !== null && (x.$$typeof === w || x.$$typeof === h || x.$$typeof === r || x.$$typeof === s || x.$$typeof === _ || x.$$typeof === R || x.$$typeof === W || x.$$typeof === q || x.$$typeof === C);
|
|
1257
1257
|
}
|
|
1258
1258
|
function b(x) {
|
|
1259
1259
|
if (typeof x == "object" && x !== null) {
|
|
@@ -1270,14 +1270,14 @@ function ki() {
|
|
|
1270
1270
|
case u:
|
|
1271
1271
|
return Se;
|
|
1272
1272
|
default:
|
|
1273
|
-
var
|
|
1274
|
-
switch (
|
|
1273
|
+
var Oe = Se && Se.$$typeof;
|
|
1274
|
+
switch (Oe) {
|
|
1275
1275
|
case s:
|
|
1276
1276
|
case _:
|
|
1277
1277
|
case w:
|
|
1278
1278
|
case h:
|
|
1279
1279
|
case r:
|
|
1280
|
-
return
|
|
1280
|
+
return Oe;
|
|
1281
1281
|
default:
|
|
1282
1282
|
return he;
|
|
1283
1283
|
}
|
|
@@ -1287,8 +1287,8 @@ function ki() {
|
|
|
1287
1287
|
}
|
|
1288
1288
|
}
|
|
1289
1289
|
}
|
|
1290
|
-
var m = d, F = p,
|
|
1291
|
-
function
|
|
1290
|
+
var m = d, F = p, P = s, O = r, Z = t, ie = _, re = n, ue = w, ce = h, G = o, J = i, Q = a, k = u, $ = !1;
|
|
1291
|
+
function z(x) {
|
|
1292
1292
|
return $ || ($ = !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.")), c(x) || b(x) === d;
|
|
1293
1293
|
}
|
|
1294
1294
|
function c(x) {
|
|
@@ -1312,7 +1312,7 @@ function ki() {
|
|
|
1312
1312
|
function I(x) {
|
|
1313
1313
|
return b(x) === w;
|
|
1314
1314
|
}
|
|
1315
|
-
function
|
|
1315
|
+
function B(x) {
|
|
1316
1316
|
return b(x) === h;
|
|
1317
1317
|
}
|
|
1318
1318
|
function H(x) {
|
|
@@ -1327,7 +1327,7 @@ function ki() {
|
|
|
1327
1327
|
function ae(x) {
|
|
1328
1328
|
return b(x) === u;
|
|
1329
1329
|
}
|
|
1330
|
-
X.AsyncMode = m, X.ConcurrentMode = F, X.ContextConsumer =
|
|
1330
|
+
X.AsyncMode = m, X.ConcurrentMode = F, X.ContextConsumer = P, X.ContextProvider = O, X.Element = Z, X.ForwardRef = ie, X.Fragment = re, X.Lazy = ue, X.Memo = ce, X.Portal = G, X.Profiler = J, X.StrictMode = Q, X.Suspense = k, X.isAsyncMode = z, X.isConcurrentMode = c, X.isContextConsumer = v, X.isContextProvider = N, X.isElement = j, X.isForwardRef = E, X.isFragment = D, X.isLazy = I, X.isMemo = B, X.isPortal = H, X.isProfiler = Y, X.isStrictMode = M, X.isSuspense = ae, X.isValidElementType = A, X.typeOf = b;
|
|
1331
1331
|
}()), X;
|
|
1332
1332
|
}
|
|
1333
1333
|
var Vt;
|
|
@@ -1470,22 +1470,22 @@ function Ei() {
|
|
|
1470
1470
|
return v;
|
|
1471
1471
|
}
|
|
1472
1472
|
var g = "<<anonymous>>", h = {
|
|
1473
|
-
array:
|
|
1474
|
-
bigint:
|
|
1475
|
-
bool:
|
|
1476
|
-
func:
|
|
1477
|
-
number:
|
|
1478
|
-
object:
|
|
1479
|
-
string:
|
|
1480
|
-
symbol:
|
|
1473
|
+
array: W("array"),
|
|
1474
|
+
bigint: W("bigint"),
|
|
1475
|
+
bool: W("boolean"),
|
|
1476
|
+
func: W("function"),
|
|
1477
|
+
number: W("number"),
|
|
1478
|
+
object: W("object"),
|
|
1479
|
+
string: W("string"),
|
|
1480
|
+
symbol: W("symbol"),
|
|
1481
1481
|
any: q(),
|
|
1482
1482
|
arrayOf: A,
|
|
1483
1483
|
element: b(),
|
|
1484
1484
|
elementType: m(),
|
|
1485
1485
|
instanceOf: F,
|
|
1486
1486
|
node: ie(),
|
|
1487
|
-
objectOf:
|
|
1488
|
-
oneOf:
|
|
1487
|
+
objectOf: O,
|
|
1488
|
+
oneOf: P,
|
|
1489
1489
|
oneOfType: Z,
|
|
1490
1490
|
shape: ue,
|
|
1491
1491
|
exact: ce
|
|
@@ -1500,28 +1500,28 @@ function Ei() {
|
|
|
1500
1500
|
function R(c) {
|
|
1501
1501
|
if (process.env.NODE_ENV !== "production")
|
|
1502
1502
|
var v = {}, N = 0;
|
|
1503
|
-
function j(D, I,
|
|
1504
|
-
if (H = H || g, M = M ||
|
|
1503
|
+
function j(D, I, B, H, Y, M, ae) {
|
|
1504
|
+
if (H = H || g, M = M || B, ae !== o) {
|
|
1505
1505
|
if (d) {
|
|
1506
1506
|
var x = new Error(
|
|
1507
1507
|
"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"
|
|
1508
1508
|
);
|
|
1509
1509
|
throw x.name = "Invariant Violation", x;
|
|
1510
1510
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1511
|
-
var he = H + ":" +
|
|
1511
|
+
var he = H + ":" + B;
|
|
1512
1512
|
!v[he] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
1513
1513
|
N < 3 && (i(
|
|
1514
1514
|
"You are manually calling a React.PropTypes validation function for the `" + M + "` prop on `" + H + "`. 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."
|
|
1515
1515
|
), v[he] = !0, N++);
|
|
1516
1516
|
}
|
|
1517
1517
|
}
|
|
1518
|
-
return I[
|
|
1518
|
+
return I[B] == null ? D ? I[B] === null ? new C("The " + Y + " `" + M + "` is marked as required " + ("in `" + H + "`, but its value is `null`.")) : new C("The " + Y + " `" + M + "` is marked as required in " + ("`" + H + "`, but its value is `undefined`.")) : null : c(I, B, H, Y, M);
|
|
1519
1519
|
}
|
|
1520
1520
|
var E = j.bind(null, !1);
|
|
1521
1521
|
return E.isRequired = j.bind(null, !0), E;
|
|
1522
1522
|
}
|
|
1523
|
-
function
|
|
1524
|
-
function v(N, j, E, D, I,
|
|
1523
|
+
function W(c) {
|
|
1524
|
+
function v(N, j, E, D, I, B) {
|
|
1525
1525
|
var H = N[j], Y = Q(H);
|
|
1526
1526
|
if (Y !== c) {
|
|
1527
1527
|
var M = k(H);
|
|
@@ -1541,13 +1541,13 @@ function Ei() {
|
|
|
1541
1541
|
function v(N, j, E, D, I) {
|
|
1542
1542
|
if (typeof c != "function")
|
|
1543
1543
|
return new C("Property `" + I + "` of component `" + E + "` has invalid PropType notation inside arrayOf.");
|
|
1544
|
-
var
|
|
1545
|
-
if (!Array.isArray(
|
|
1546
|
-
var H = Q(
|
|
1544
|
+
var B = N[j];
|
|
1545
|
+
if (!Array.isArray(B)) {
|
|
1546
|
+
var H = Q(B);
|
|
1547
1547
|
return new C("Invalid " + D + " `" + I + "` of type " + ("`" + H + "` supplied to `" + E + "`, expected an array."));
|
|
1548
1548
|
}
|
|
1549
|
-
for (var Y = 0; Y <
|
|
1550
|
-
var M = c(
|
|
1549
|
+
for (var Y = 0; Y < B.length; Y++) {
|
|
1550
|
+
var M = c(B, Y, E, D, I + "[" + Y + "]", o);
|
|
1551
1551
|
if (M instanceof Error)
|
|
1552
1552
|
return M;
|
|
1553
1553
|
}
|
|
@@ -1559,8 +1559,8 @@ function Ei() {
|
|
|
1559
1559
|
function c(v, N, j, E, D) {
|
|
1560
1560
|
var I = v[N];
|
|
1561
1561
|
if (!s(I)) {
|
|
1562
|
-
var
|
|
1563
|
-
return new C("Invalid " + E + " `" + D + "` of type " + ("`" +
|
|
1562
|
+
var B = Q(I);
|
|
1563
|
+
return new C("Invalid " + E + " `" + D + "` of type " + ("`" + B + "` supplied to `" + j + "`, expected a single ReactElement."));
|
|
1564
1564
|
}
|
|
1565
1565
|
return null;
|
|
1566
1566
|
}
|
|
@@ -1570,8 +1570,8 @@ function Ei() {
|
|
|
1570
1570
|
function c(v, N, j, E, D) {
|
|
1571
1571
|
var I = v[N];
|
|
1572
1572
|
if (!e.isValidElementType(I)) {
|
|
1573
|
-
var
|
|
1574
|
-
return new C("Invalid " + E + " `" + D + "` of type " + ("`" +
|
|
1573
|
+
var B = Q(I);
|
|
1574
|
+
return new C("Invalid " + E + " `" + D + "` of type " + ("`" + B + "` supplied to `" + j + "`, expected a single ReactElement type."));
|
|
1575
1575
|
}
|
|
1576
1576
|
return null;
|
|
1577
1577
|
}
|
|
@@ -1580,40 +1580,40 @@ function Ei() {
|
|
|
1580
1580
|
function F(c) {
|
|
1581
1581
|
function v(N, j, E, D, I) {
|
|
1582
1582
|
if (!(N[j] instanceof c)) {
|
|
1583
|
-
var
|
|
1584
|
-
return new C("Invalid " + D + " `" + I + "` of type " + ("`" + H + "` supplied to `" + E + "`, expected ") + ("instance of `" +
|
|
1583
|
+
var B = c.name || g, H = z(N[j]);
|
|
1584
|
+
return new C("Invalid " + D + " `" + I + "` of type " + ("`" + H + "` supplied to `" + E + "`, expected ") + ("instance of `" + B + "`."));
|
|
1585
1585
|
}
|
|
1586
1586
|
return null;
|
|
1587
1587
|
}
|
|
1588
1588
|
return R(v);
|
|
1589
1589
|
}
|
|
1590
|
-
function
|
|
1590
|
+
function P(c) {
|
|
1591
1591
|
if (!Array.isArray(c))
|
|
1592
1592
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
1593
1593
|
"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])."
|
|
1594
1594
|
) : i("Invalid argument supplied to oneOf, expected an array.")), r;
|
|
1595
1595
|
function v(N, j, E, D, I) {
|
|
1596
|
-
for (var
|
|
1597
|
-
if (w(
|
|
1596
|
+
for (var B = N[j], H = 0; H < c.length; H++)
|
|
1597
|
+
if (w(B, c[H]))
|
|
1598
1598
|
return null;
|
|
1599
1599
|
var Y = JSON.stringify(c, function(ae, x) {
|
|
1600
1600
|
var he = k(x);
|
|
1601
1601
|
return he === "symbol" ? String(x) : x;
|
|
1602
1602
|
});
|
|
1603
|
-
return new C("Invalid " + D + " `" + I + "` of value `" + String(
|
|
1603
|
+
return new C("Invalid " + D + " `" + I + "` of value `" + String(B) + "` " + ("supplied to `" + E + "`, expected one of " + Y + "."));
|
|
1604
1604
|
}
|
|
1605
1605
|
return R(v);
|
|
1606
1606
|
}
|
|
1607
|
-
function
|
|
1607
|
+
function O(c) {
|
|
1608
1608
|
function v(N, j, E, D, I) {
|
|
1609
1609
|
if (typeof c != "function")
|
|
1610
1610
|
return new C("Property `" + I + "` of component `" + E + "` has invalid PropType notation inside objectOf.");
|
|
1611
|
-
var
|
|
1611
|
+
var B = N[j], H = Q(B);
|
|
1612
1612
|
if (H !== "object")
|
|
1613
1613
|
return new C("Invalid " + D + " `" + I + "` of type " + ("`" + H + "` supplied to `" + E + "`, expected an object."));
|
|
1614
|
-
for (var Y in
|
|
1615
|
-
if (n(
|
|
1616
|
-
var M = c(
|
|
1614
|
+
for (var Y in B)
|
|
1615
|
+
if (n(B, Y)) {
|
|
1616
|
+
var M = c(B, Y, E, D, I + "." + Y, o);
|
|
1617
1617
|
if (M instanceof Error)
|
|
1618
1618
|
return M;
|
|
1619
1619
|
}
|
|
@@ -1631,15 +1631,15 @@ function Ei() {
|
|
|
1631
1631
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + $(N) + " at index " + v + "."
|
|
1632
1632
|
), r;
|
|
1633
1633
|
}
|
|
1634
|
-
function j(E, D, I,
|
|
1634
|
+
function j(E, D, I, B, H) {
|
|
1635
1635
|
for (var Y = [], M = 0; M < c.length; M++) {
|
|
1636
|
-
var ae = c[M], x = ae(E, D, I,
|
|
1636
|
+
var ae = c[M], x = ae(E, D, I, B, H, o);
|
|
1637
1637
|
if (x == null)
|
|
1638
1638
|
return null;
|
|
1639
1639
|
x.data && n(x.data, "expectedType") && Y.push(x.data.expectedType);
|
|
1640
1640
|
}
|
|
1641
1641
|
var he = Y.length > 0 ? ", expected one of type [" + Y.join(", ") + "]" : "";
|
|
1642
|
-
return new C("Invalid " +
|
|
1642
|
+
return new C("Invalid " + B + " `" + H + "` supplied to " + ("`" + I + "`" + he + "."));
|
|
1643
1643
|
}
|
|
1644
1644
|
return R(j);
|
|
1645
1645
|
}
|
|
@@ -1656,14 +1656,14 @@ function Ei() {
|
|
|
1656
1656
|
}
|
|
1657
1657
|
function ue(c) {
|
|
1658
1658
|
function v(N, j, E, D, I) {
|
|
1659
|
-
var
|
|
1659
|
+
var B = N[j], H = Q(B);
|
|
1660
1660
|
if (H !== "object")
|
|
1661
1661
|
return new C("Invalid " + D + " `" + I + "` of type `" + H + "` " + ("supplied to `" + E + "`, expected `object`."));
|
|
1662
1662
|
for (var Y in c) {
|
|
1663
1663
|
var M = c[Y];
|
|
1664
1664
|
if (typeof M != "function")
|
|
1665
1665
|
return re(E, D, I, Y, k(M));
|
|
1666
|
-
var ae = M(
|
|
1666
|
+
var ae = M(B, Y, E, D, I + "." + Y, o);
|
|
1667
1667
|
if (ae)
|
|
1668
1668
|
return ae;
|
|
1669
1669
|
}
|
|
@@ -1673,7 +1673,7 @@ function Ei() {
|
|
|
1673
1673
|
}
|
|
1674
1674
|
function ce(c) {
|
|
1675
1675
|
function v(N, j, E, D, I) {
|
|
1676
|
-
var
|
|
1676
|
+
var B = N[j], H = Q(B);
|
|
1677
1677
|
if (H !== "object")
|
|
1678
1678
|
return new C("Invalid " + D + " `" + I + "` of type `" + H + "` " + ("supplied to `" + E + "`, expected `object`."));
|
|
1679
1679
|
var Y = t({}, N[j], c);
|
|
@@ -1686,7 +1686,7 @@ function Ei() {
|
|
|
1686
1686
|
"Invalid " + D + " `" + I + "` key `" + M + "` supplied to `" + E + "`.\nBad object: " + JSON.stringify(N[j], null, " ") + `
|
|
1687
1687
|
Valid keys: ` + JSON.stringify(Object.keys(c), null, " ")
|
|
1688
1688
|
);
|
|
1689
|
-
var x = ae(
|
|
1689
|
+
var x = ae(B, M, E, D, I + "." + M, o);
|
|
1690
1690
|
if (x)
|
|
1691
1691
|
return x;
|
|
1692
1692
|
}
|
|
@@ -1760,7 +1760,7 @@ Valid keys: ` + JSON.stringify(Object.keys(c), null, " ")
|
|
|
1760
1760
|
return v;
|
|
1761
1761
|
}
|
|
1762
1762
|
}
|
|
1763
|
-
function
|
|
1763
|
+
function z(c) {
|
|
1764
1764
|
return !c.constructor || !c.constructor.name ? g : c.constructor.name;
|
|
1765
1765
|
}
|
|
1766
1766
|
return h.checkPropTypes = a, h.resetWarningCache = a.resetWarningCache, h.PropTypes = h, h;
|
|
@@ -1869,19 +1869,19 @@ const S = /* @__PURE__ */ bo(Ii), fe = S.oneOfType([S.string, S.number]), To = {
|
|
|
1869
1869
|
maxResolution: fe,
|
|
1870
1870
|
...Ai
|
|
1871
1871
|
}, Di = { ...To, ...Li };
|
|
1872
|
-
var
|
|
1872
|
+
var Pi = {
|
|
1873
1873
|
all: Di
|
|
1874
1874
|
};
|
|
1875
|
-
const
|
|
1875
|
+
const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
1876
1876
|
const o = wo(e);
|
|
1877
|
-
return typeof t == "number" && (t = `${t}px`), t === !0 ? o : t === !1 ?
|
|
1878
|
-
},
|
|
1877
|
+
return typeof t == "number" && (t = `${t}px`), t === !0 ? o : t === !1 ? Oi(o) : `(${o}: ${t})`;
|
|
1878
|
+
}, Wi = (e) => e.join(" and "), zi = (e) => {
|
|
1879
1879
|
const t = [];
|
|
1880
|
-
return Object.keys(
|
|
1880
|
+
return Object.keys(Pi.all).forEach((o) => {
|
|
1881
1881
|
const n = e[o];
|
|
1882
|
-
n != null && t.push(
|
|
1883
|
-
}),
|
|
1884
|
-
}, Mi = _o(void 0), Ui = (e) => e.query ||
|
|
1882
|
+
n != null && t.push(Bi(o, n));
|
|
1883
|
+
}), Wi(t);
|
|
1884
|
+
}, Mi = _o(void 0), Ui = (e) => e.query || zi(e), Jt = (e) => e ? Object.keys(e).reduce((o, n) => (o[wo(n)] = e[n], o), {}) : void 0, No = () => {
|
|
1885
1885
|
const e = me(!1);
|
|
1886
1886
|
return ne(() => {
|
|
1887
1887
|
e.current = !0;
|
|
@@ -1958,7 +1958,7 @@ const Pi = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
1958
1958
|
s.current = a, d.current = performance.now();
|
|
1959
1959
|
const h = (w) => {
|
|
1960
1960
|
if (!d.current) return;
|
|
1961
|
-
const C = w - d.current, R = Math.min(C / o, 1),
|
|
1961
|
+
const C = w - d.current, R = Math.min(C / o, 1), W = R < 0.5 ? 4 * R * R * R : 1 - Math.pow(-2 * R + 2, 3) / 2, q = s.current + (p.current - s.current) * W, A = Math.max(0, Math.floor(q));
|
|
1962
1962
|
i(A), R < 1 && (r.current = requestAnimationFrame(h));
|
|
1963
1963
|
};
|
|
1964
1964
|
return r.current = requestAnimationFrame(h), () => {
|
|
@@ -2059,27 +2059,27 @@ const Pi = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2059
2059
|
maxHeightList: w = nr,
|
|
2060
2060
|
isVisibleDefaultTitle: C = !0,
|
|
2061
2061
|
isScrollableList: R = !1,
|
|
2062
|
-
isAbsolutePositionError:
|
|
2062
|
+
isAbsolutePositionError: W = !1,
|
|
2063
2063
|
classNameRoot: q,
|
|
2064
2064
|
classNameError: A,
|
|
2065
2065
|
classNameLabel: b,
|
|
2066
2066
|
classNameBaseTooltipRoot: m
|
|
2067
|
-
} = e, [F,
|
|
2067
|
+
} = e, [F, P] = te(!1), O = me(null);
|
|
2068
2068
|
xo(
|
|
2069
|
-
[
|
|
2069
|
+
[O],
|
|
2070
2070
|
() => {
|
|
2071
|
-
|
|
2071
|
+
P(!1);
|
|
2072
2072
|
},
|
|
2073
2073
|
F
|
|
2074
2074
|
);
|
|
2075
2075
|
const Z = t.find((v) => v.value === n), ie = (v, N) => {
|
|
2076
|
-
r(v, { value: N, name: a }),
|
|
2076
|
+
r(v, { value: N, name: a }), P(!1);
|
|
2077
2077
|
}, re = () => {
|
|
2078
|
-
g ||
|
|
2078
|
+
g || P(!F);
|
|
2079
2079
|
}, ue = f({
|
|
2080
2080
|
[_e.spSelect]: !0,
|
|
2081
2081
|
[_e.spSelect_error]: !!d,
|
|
2082
|
-
[_e.spSelect_absolutePositionError]:
|
|
2082
|
+
[_e.spSelect_absolutePositionError]: W,
|
|
2083
2083
|
...q && { [q]: !0 }
|
|
2084
2084
|
}), ce = f({
|
|
2085
2085
|
[_e.spSelect__container]: !0
|
|
@@ -2097,12 +2097,12 @@ const Pi = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2097
2097
|
[_e.spSelect__list_scrollable]: R
|
|
2098
2098
|
}), $ = f({
|
|
2099
2099
|
...b && { [b]: !0 }
|
|
2100
|
-
}),
|
|
2100
|
+
}), z = f({
|
|
2101
2101
|
[_e.spSelect__error]: !0,
|
|
2102
|
-
[_e.spSelect__error_absolutePosition]:
|
|
2102
|
+
[_e.spSelect__error_absolutePosition]: W,
|
|
2103
2103
|
...A && { [A]: !0 }
|
|
2104
2104
|
});
|
|
2105
|
-
return /* @__PURE__ */ U("div", { className: ue, ref:
|
|
2105
|
+
return /* @__PURE__ */ U("div", { className: ue, ref: O, children: [
|
|
2106
2106
|
p && /* @__PURE__ */ l(
|
|
2107
2107
|
jt,
|
|
2108
2108
|
{
|
|
@@ -2160,7 +2160,7 @@ const Pi = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2160
2160
|
}
|
|
2161
2161
|
)
|
|
2162
2162
|
] }),
|
|
2163
|
-
d && /* @__PURE__ */ l("div", { className:
|
|
2163
|
+
d && /* @__PURE__ */ l("div", { className: z, children: d })
|
|
2164
2164
|
] });
|
|
2165
2165
|
}, br = "_skeleton_1u7gu_43", yr = {
|
|
2166
2166
|
skeleton: br
|
|
@@ -2205,11 +2205,11 @@ const Pi = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2205
2205
|
}), _ = f({
|
|
2206
2206
|
[ye.spTable__emptyPage]: !0
|
|
2207
2207
|
}), [u, g] = te(null), h = (b) => {
|
|
2208
|
-
const { text: m, rowIndex: F, colIndex:
|
|
2209
|
-
(u == null ? void 0 : u.rowIndex) === F && (u == null ? void 0 : u.colIndex) ===
|
|
2210
|
-
g({ rowIndex: F, colIndex:
|
|
2211
|
-
}).catch((
|
|
2212
|
-
console.error("Ошибка при копировании:",
|
|
2208
|
+
const { text: m, rowIndex: F, colIndex: P } = b;
|
|
2209
|
+
(u == null ? void 0 : u.rowIndex) === F && (u == null ? void 0 : u.colIndex) === P || navigator.clipboard.writeText(m).then(() => {
|
|
2210
|
+
g({ rowIndex: F, colIndex: P });
|
|
2211
|
+
}).catch((O) => {
|
|
2212
|
+
console.error("Ошибка при копировании:", O);
|
|
2213
2213
|
});
|
|
2214
2214
|
}, w = () => {
|
|
2215
2215
|
g(null);
|
|
@@ -2219,12 +2219,12 @@ const Pi = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2219
2219
|
}) => {
|
|
2220
2220
|
const F = b[m.key];
|
|
2221
2221
|
if (!F) return null;
|
|
2222
|
-
const [
|
|
2222
|
+
const [P, O] = F.split(/\s*\{\{|}}\s*/).filter(Boolean);
|
|
2223
2223
|
return /* @__PURE__ */ U("span", { children: [
|
|
2224
|
-
|
|
2225
|
-
|
|
2224
|
+
P,
|
|
2225
|
+
O && /* @__PURE__ */ l("span", { className: p, children: ` ${O}` })
|
|
2226
2226
|
] });
|
|
2227
|
-
},
|
|
2227
|
+
}, W = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ U("table", { className: s, children: [
|
|
2228
2228
|
/* @__PURE__ */ l("colgroup", { children: r.map((b, m, F) => /* @__PURE__ */ l(
|
|
2229
2229
|
"col",
|
|
2230
2230
|
{
|
|
@@ -2235,12 +2235,12 @@ const Pi = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2235
2235
|
m
|
|
2236
2236
|
)) }),
|
|
2237
2237
|
/* @__PURE__ */ l("thead", { children: /* @__PURE__ */ l("tr", { children: r.map((b, m) => /* @__PURE__ */ l("th", { children: b.title }, m)) }) }),
|
|
2238
|
-
/* @__PURE__ */ l("tbody", { children: o.map((b, m) => b ? /* @__PURE__ */ l("tr", { children: r.map((F,
|
|
2239
|
-
const
|
|
2238
|
+
/* @__PURE__ */ l("tbody", { children: o.map((b, m) => b ? /* @__PURE__ */ l("tr", { children: r.map((F, P) => {
|
|
2239
|
+
const O = (u == null ? void 0 : u.rowIndex) === m && (u == null ? void 0 : u.colIndex) === P;
|
|
2240
2240
|
return /* @__PURE__ */ l(
|
|
2241
2241
|
"td",
|
|
2242
2242
|
{
|
|
2243
|
-
onMouseLeave:
|
|
2243
|
+
onMouseLeave: O ? w : void 0,
|
|
2244
2244
|
children: /* @__PURE__ */ U("div", { className: d, children: [
|
|
2245
2245
|
/* @__PURE__ */ l("span", { children: F.isColorContentsCurlyBrackets ? R({ row: b, col: F }) : b[F.key] }),
|
|
2246
2246
|
!Nt(b[F.key]) && F.isBeCopiedValue && /* @__PURE__ */ l(
|
|
@@ -2248,23 +2248,23 @@ const Pi = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2248
2248
|
{
|
|
2249
2249
|
className: f({
|
|
2250
2250
|
[ye.spTable__tdContentCopyIcon]: !0,
|
|
2251
|
-
[ye.spTable__tdContentCopyIcon_copied]:
|
|
2251
|
+
[ye.spTable__tdContentCopyIcon_copied]: O
|
|
2252
2252
|
}),
|
|
2253
|
-
name:
|
|
2253
|
+
name: O ? pe.Check : pe.Copy,
|
|
2254
2254
|
onClick: () => {
|
|
2255
2255
|
const Z = b[F.key];
|
|
2256
2256
|
if (!Z) return null;
|
|
2257
2257
|
h({
|
|
2258
2258
|
text: Z,
|
|
2259
2259
|
rowIndex: m,
|
|
2260
|
-
colIndex:
|
|
2260
|
+
colIndex: P
|
|
2261
2261
|
});
|
|
2262
2262
|
}
|
|
2263
2263
|
}
|
|
2264
2264
|
)
|
|
2265
2265
|
] })
|
|
2266
2266
|
},
|
|
2267
|
-
`${m}:${
|
|
2267
|
+
`${m}:${P}`
|
|
2268
2268
|
);
|
|
2269
2269
|
}) }, m) : null) })
|
|
2270
2270
|
] }) : C(), q = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ l(
|
|
@@ -2273,17 +2273,17 @@ const Pi = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2273
2273
|
className: f({
|
|
2274
2274
|
[ye.spStringsGroup]: !0
|
|
2275
2275
|
}),
|
|
2276
|
-
children: o.map((b, m) => b ? /* @__PURE__ */ l("div", { children: r.map((F,
|
|
2276
|
+
children: o.map((b, m) => b ? /* @__PURE__ */ l("div", { children: r.map((F, P) => {
|
|
2277
2277
|
if (Nt(b[F.key]))
|
|
2278
2278
|
return null;
|
|
2279
|
-
const
|
|
2279
|
+
const O = (u == null ? void 0 : u.rowIndex) === m && (u == null ? void 0 : u.colIndex) === P;
|
|
2280
2280
|
return /* @__PURE__ */ U(
|
|
2281
2281
|
"div",
|
|
2282
2282
|
{
|
|
2283
2283
|
className: f({
|
|
2284
2284
|
[ye.spStringsGroup__groupItem]: !0
|
|
2285
2285
|
}),
|
|
2286
|
-
onMouseLeave:
|
|
2286
|
+
onMouseLeave: O ? w : void 0,
|
|
2287
2287
|
children: [
|
|
2288
2288
|
/* @__PURE__ */ l(
|
|
2289
2289
|
"div",
|
|
@@ -2307,16 +2307,16 @@ const Pi = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2307
2307
|
{
|
|
2308
2308
|
className: f({
|
|
2309
2309
|
[ye.spStringsGroup__groupItemContentCopyIcon]: !0,
|
|
2310
|
-
[ye.spStringsGroup__groupItemContentCopyIcon_copied]:
|
|
2310
|
+
[ye.spStringsGroup__groupItemContentCopyIcon_copied]: O
|
|
2311
2311
|
}),
|
|
2312
|
-
name:
|
|
2312
|
+
name: O ? pe.Check : pe.Copy,
|
|
2313
2313
|
onClick: () => {
|
|
2314
2314
|
const Z = b[F.key];
|
|
2315
2315
|
if (!Z) return null;
|
|
2316
2316
|
h({
|
|
2317
2317
|
text: Z,
|
|
2318
2318
|
rowIndex: m,
|
|
2319
|
-
colIndex:
|
|
2319
|
+
colIndex: P
|
|
2320
2320
|
});
|
|
2321
2321
|
}
|
|
2322
2322
|
}
|
|
@@ -2326,21 +2326,21 @@ const Pi = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2326
2326
|
)
|
|
2327
2327
|
]
|
|
2328
2328
|
},
|
|
2329
|
-
|
|
2329
|
+
P
|
|
2330
2330
|
);
|
|
2331
2331
|
}) }, m) : null)
|
|
2332
2332
|
}
|
|
2333
2333
|
) : C();
|
|
2334
|
-
return n ? a ?
|
|
2335
|
-
}, Lr = "_spTabs_1citb_43", Dr = "_spTabs_separated_1citb_48",
|
|
2334
|
+
return n ? a ? W() : q() : W();
|
|
2335
|
+
}, Lr = "_spTabs_1citb_43", Dr = "_spTabs_separated_1citb_48", Pr = "_spTabs__tabElement_1citb_48", Or = "_spTabs__tabElement_active_1citb_83", Br = "_spTabs__triggerTooltip_1citb_90", Fe = {
|
|
2336
2336
|
spTabs: Lr,
|
|
2337
2337
|
spTabs_separated: Dr,
|
|
2338
2338
|
"spTabs--size-md": "_spTabs--size-md_1citb_48",
|
|
2339
|
-
spTabs__tabElement:
|
|
2339
|
+
spTabs__tabElement: Pr,
|
|
2340
2340
|
"spTabs--size-lg": "_spTabs--size-lg_1citb_51",
|
|
2341
2341
|
"spTabs--variant-contained": "_spTabs--variant-contained_1citb_54",
|
|
2342
|
-
spTabs__tabElement_active:
|
|
2343
|
-
spTabs__triggerTooltip:
|
|
2342
|
+
spTabs__tabElement_active: Or,
|
|
2343
|
+
spTabs__triggerTooltip: Br,
|
|
2344
2344
|
"spTabs--variant-filled": "_spTabs--variant-filled_1citb_93"
|
|
2345
2345
|
}, Ip = (e) => {
|
|
2346
2346
|
const {
|
|
@@ -2391,11 +2391,11 @@ const Pi = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2391
2391
|
_.key || u
|
|
2392
2392
|
);
|
|
2393
2393
|
}) });
|
|
2394
|
-
},
|
|
2395
|
-
spTextWithLabel:
|
|
2394
|
+
}, Wr = "_spTextWithLabel_1dr7p_1", zr = {
|
|
2395
|
+
spTextWithLabel: Wr
|
|
2396
2396
|
}, jp = (e) => {
|
|
2397
2397
|
const { children: t, label: o, style: n, ...a } = e;
|
|
2398
|
-
return /* @__PURE__ */ U("div", { className:
|
|
2398
|
+
return /* @__PURE__ */ U("div", { className: zr.spTextWithLabel, style: { ...n }, children: [
|
|
2399
2399
|
/* @__PURE__ */ l(jt, { label: o }),
|
|
2400
2400
|
/* @__PURE__ */ l(Ne, { ...a, children: t })
|
|
2401
2401
|
] });
|
|
@@ -3630,7 +3630,7 @@ const Mr = /* @__PURE__ */ new Map([
|
|
|
3630
3630
|
["zmm", "application/vnd.handheld-entertainment+xml"],
|
|
3631
3631
|
["zsh", "text/x-scriptzsh"]
|
|
3632
3632
|
]);
|
|
3633
|
-
function
|
|
3633
|
+
function Pe(e, t, o) {
|
|
3634
3634
|
const n = Ur(e), { webkitRelativePath: a } = e, i = typeof t == "string" ? t : typeof a == "string" && a.length > 0 ? a : `./${e.name}`;
|
|
3635
3635
|
return typeof n.path != "string" && eo(n, "path", i), eo(n, "relativePath", i), n;
|
|
3636
3636
|
}
|
|
@@ -3677,11 +3677,11 @@ function Ze(e) {
|
|
|
3677
3677
|
return typeof e == "object" && e !== null;
|
|
3678
3678
|
}
|
|
3679
3679
|
function Yr(e) {
|
|
3680
|
-
return Et(e.target.files).map((t) =>
|
|
3680
|
+
return Et(e.target.files).map((t) => Pe(t));
|
|
3681
3681
|
}
|
|
3682
3682
|
function Gr(e) {
|
|
3683
3683
|
return je(this, void 0, void 0, function* () {
|
|
3684
|
-
return (yield Promise.all(e.map((o) => o.getFile()))).map((o) =>
|
|
3684
|
+
return (yield Promise.all(e.map((o) => o.getFile()))).map((o) => Pe(o));
|
|
3685
3685
|
});
|
|
3686
3686
|
}
|
|
3687
3687
|
function Kr(e, t) {
|
|
@@ -3693,7 +3693,7 @@ function Kr(e, t) {
|
|
|
3693
3693
|
const n = yield Promise.all(o.map(Xr));
|
|
3694
3694
|
return to(Eo(n));
|
|
3695
3695
|
}
|
|
3696
|
-
return to(Et(e.files).map((o) =>
|
|
3696
|
+
return to(Et(e.files).map((o) => Pe(o)));
|
|
3697
3697
|
});
|
|
3698
3698
|
}
|
|
3699
3699
|
function to(e) {
|
|
@@ -3730,13 +3730,13 @@ function oo(e, t) {
|
|
|
3730
3730
|
throw new Error(`${e} is not a File`);
|
|
3731
3731
|
if (i !== void 0) {
|
|
3732
3732
|
const r = yield i.getFile();
|
|
3733
|
-
return r.handle = i,
|
|
3733
|
+
return r.handle = i, Pe(r);
|
|
3734
3734
|
}
|
|
3735
3735
|
}
|
|
3736
3736
|
const n = e.getAsFile();
|
|
3737
3737
|
if (!n)
|
|
3738
3738
|
throw new Error(`${e} is not a File`);
|
|
3739
|
-
return
|
|
3739
|
+
return Pe(n, (o = t == null ? void 0 : t.fullPath) !== null && o !== void 0 ? o : void 0);
|
|
3740
3740
|
});
|
|
3741
3741
|
}
|
|
3742
3742
|
function Zr(e) {
|
|
@@ -3771,7 +3771,7 @@ function Qr(e) {
|
|
|
3771
3771
|
return je(this, void 0, void 0, function* () {
|
|
3772
3772
|
return new Promise((t, o) => {
|
|
3773
3773
|
e.file((n) => {
|
|
3774
|
-
const a =
|
|
3774
|
+
const a = Pe(n, e.fullPath);
|
|
3775
3775
|
t(a);
|
|
3776
3776
|
}, (n) => {
|
|
3777
3777
|
o(n);
|
|
@@ -3960,7 +3960,7 @@ function _s(e) {
|
|
|
3960
3960
|
if (Ie(e)) {
|
|
3961
3961
|
var t = Object.entries(e).filter(function(o) {
|
|
3962
3962
|
var n = Me(o, 2), a = n[0], i = n[1], r = !0;
|
|
3963
|
-
return
|
|
3963
|
+
return Po(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(Oo)) && (console.warn('Skipped "'.concat(a, '" because an invalid file extension was provided.')), r = !1), r;
|
|
3964
3964
|
}).reduce(function(o, n) {
|
|
3965
3965
|
var a = Me(n, 2), i = a[0], r = a[1];
|
|
3966
3966
|
return io(io({}, o), {}, Ro({}, i, r));
|
|
@@ -3979,7 +3979,7 @@ function fs(e) {
|
|
|
3979
3979
|
var n = Me(o, 2), a = n[0], i = n[1];
|
|
3980
3980
|
return [].concat(no(t), [a], no(i));
|
|
3981
3981
|
}, []).filter(function(t) {
|
|
3982
|
-
return
|
|
3982
|
+
return Po(t) || Oo(t);
|
|
3983
3983
|
}).join(",");
|
|
3984
3984
|
}
|
|
3985
3985
|
function vs(e) {
|
|
@@ -3988,15 +3988,15 @@ function vs(e) {
|
|
|
3988
3988
|
function gs(e) {
|
|
3989
3989
|
return e instanceof DOMException && (e.name === "SecurityError" || e.code === e.SECURITY_ERR);
|
|
3990
3990
|
}
|
|
3991
|
-
function
|
|
3991
|
+
function Po(e) {
|
|
3992
3992
|
return e === "audio/*" || e === "video/*" || e === "image/*" || e === "text/*" || e === "application/*" || /\w+\/[-+.\w]+/g.test(e);
|
|
3993
3993
|
}
|
|
3994
|
-
function
|
|
3994
|
+
function Oo(e) {
|
|
3995
3995
|
return /^.*\.[\w]+$/.test(e);
|
|
3996
3996
|
}
|
|
3997
3997
|
var xs = ["children"], hs = ["open"], bs = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], ys = ["refKey", "onChange", "onClick"];
|
|
3998
3998
|
function ws(e) {
|
|
3999
|
-
return Ts(e) || ks(e) ||
|
|
3999
|
+
return Ts(e) || ks(e) || Bo(e) || Cs();
|
|
4000
4000
|
}
|
|
4001
4001
|
function Cs() {
|
|
4002
4002
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
@@ -4009,13 +4009,13 @@ function Ts(e) {
|
|
|
4009
4009
|
if (Array.isArray(e)) return Rt(e);
|
|
4010
4010
|
}
|
|
4011
4011
|
function Ct(e, t) {
|
|
4012
|
-
return Ss(e) || Es(e, t) ||
|
|
4012
|
+
return Ss(e) || Es(e, t) || Bo(e, t) || Ns();
|
|
4013
4013
|
}
|
|
4014
4014
|
function Ns() {
|
|
4015
4015
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
4016
4016
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
4017
4017
|
}
|
|
4018
|
-
function
|
|
4018
|
+
function Bo(e, t) {
|
|
4019
4019
|
if (e) {
|
|
4020
4020
|
if (typeof e == "string") return Rt(e, t);
|
|
4021
4021
|
var o = Object.prototype.toString.call(e).slice(8, -1);
|
|
@@ -4093,7 +4093,7 @@ function Rs(e, t) {
|
|
|
4093
4093
|
return o;
|
|
4094
4094
|
}
|
|
4095
4095
|
var Dt = /* @__PURE__ */ Yo(function(e, t) {
|
|
4096
|
-
var o = e.children, n = Je(e, xs), a =
|
|
4096
|
+
var o = e.children, n = Je(e, xs), a = zo(n), i = a.open, r = Je(a, hs);
|
|
4097
4097
|
return Go(t, function() {
|
|
4098
4098
|
return {
|
|
4099
4099
|
open: i
|
|
@@ -4103,7 +4103,7 @@ var Dt = /* @__PURE__ */ Yo(function(e, t) {
|
|
|
4103
4103
|
})));
|
|
4104
4104
|
});
|
|
4105
4105
|
Dt.displayName = "Dropzone";
|
|
4106
|
-
var
|
|
4106
|
+
var Wo = {
|
|
4107
4107
|
disabled: !1,
|
|
4108
4108
|
getFilesFromEvent: $r,
|
|
4109
4109
|
maxSize: 1 / 0,
|
|
@@ -4119,7 +4119,7 @@ var Bo = {
|
|
|
4119
4119
|
useFsAccessApi: !1,
|
|
4120
4120
|
autoFocus: !1
|
|
4121
4121
|
};
|
|
4122
|
-
Dt.defaultProps =
|
|
4122
|
+
Dt.defaultProps = Wo;
|
|
4123
4123
|
Dt.propTypes = {
|
|
4124
4124
|
/**
|
|
4125
4125
|
* Render function that exposes the dropzone state and prop getter fns
|
|
@@ -4297,8 +4297,8 @@ var It = {
|
|
|
4297
4297
|
acceptedFiles: [],
|
|
4298
4298
|
fileRejections: []
|
|
4299
4299
|
};
|
|
4300
|
-
function
|
|
4301
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = ee(ee({},
|
|
4300
|
+
function zo() {
|
|
4301
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = ee(ee({}, Wo), e), o = t.accept, n = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, d = t.maxFiles, p = t.onDragEnter, _ = t.onDragLeave, u = t.onDragOver, g = t.onDrop, h = t.onDropAccepted, w = t.onDropRejected, C = t.onFileDialogCancel, R = t.onFileDialogOpen, W = t.useFsAccessApi, q = t.autoFocus, A = t.preventDropOnDocument, b = t.noClick, m = t.noKeyboard, F = t.noDrag, P = t.noDragEventsBubbling, O = t.onError, Z = t.validator, ie = De(function() {
|
|
4302
4302
|
return fs(o);
|
|
4303
4303
|
}, [o]), re = De(function() {
|
|
4304
4304
|
return _s(o);
|
|
@@ -4306,11 +4306,11 @@ function Wo() {
|
|
|
4306
4306
|
return typeof R == "function" ? R : co;
|
|
4307
4307
|
}, [R]), ce = De(function() {
|
|
4308
4308
|
return typeof C == "function" ? C : co;
|
|
4309
|
-
}, [C]), G = me(null), J = me(null), Q = Vo(Fs, It), k = Ct(Q, 2), $ = k[0],
|
|
4309
|
+
}, [C]), G = me(null), J = me(null), Q = Vo(Fs, It), k = Ct(Q, 2), $ = k[0], z = k[1], c = $.isFocused, v = $.isFileDialogActive, N = me(typeof window < "u" && window.isSecureContext && W && us()), j = function() {
|
|
4310
4310
|
!N.current && v && setTimeout(function() {
|
|
4311
4311
|
if (J.current) {
|
|
4312
4312
|
var L = J.current.files;
|
|
4313
|
-
L.length || (
|
|
4313
|
+
L.length || (z({
|
|
4314
4314
|
type: "closeDialog"
|
|
4315
4315
|
}), ce());
|
|
4316
4316
|
}
|
|
@@ -4333,10 +4333,10 @@ function Wo() {
|
|
|
4333
4333
|
};
|
|
4334
4334
|
}, [G, q, n]);
|
|
4335
4335
|
var I = ge(function(y) {
|
|
4336
|
-
|
|
4337
|
-
}, [
|
|
4336
|
+
O ? O(y) : console.error(y);
|
|
4337
|
+
}, [O]), B = ge(function(y) {
|
|
4338
4338
|
y.preventDefault(), y.persist(), $e(y), E.current = [].concat(ws(E.current), [y.target]), Xe(y) && Promise.resolve(a(y)).then(function(L) {
|
|
4339
|
-
if (!(Qe(y) && !
|
|
4339
|
+
if (!(Qe(y) && !P)) {
|
|
4340
4340
|
var oe = L.length, se = oe > 0 && ls({
|
|
4341
4341
|
files: L,
|
|
4342
4342
|
accept: ie,
|
|
@@ -4346,7 +4346,7 @@ function Wo() {
|
|
|
4346
4346
|
maxFiles: d,
|
|
4347
4347
|
validator: Z
|
|
4348
4348
|
}), be = oe > 0 && !se;
|
|
4349
|
-
|
|
4349
|
+
z({
|
|
4350
4350
|
isDragAccept: se,
|
|
4351
4351
|
isDragReject: be,
|
|
4352
4352
|
isDragActive: !0,
|
|
@@ -4356,7 +4356,7 @@ function Wo() {
|
|
|
4356
4356
|
}).catch(function(L) {
|
|
4357
4357
|
return I(L);
|
|
4358
4358
|
});
|
|
4359
|
-
}, [a, p, I,
|
|
4359
|
+
}, [a, p, I, P, ie, r, i, s, d, Z]), H = ge(function(y) {
|
|
4360
4360
|
y.preventDefault(), y.persist(), $e(y);
|
|
4361
4361
|
var L = Xe(y);
|
|
4362
4362
|
if (L && y.dataTransfer)
|
|
@@ -4365,21 +4365,21 @@ function Wo() {
|
|
|
4365
4365
|
} catch {
|
|
4366
4366
|
}
|
|
4367
4367
|
return L && u && u(y), !1;
|
|
4368
|
-
}, [u,
|
|
4368
|
+
}, [u, P]), Y = ge(function(y) {
|
|
4369
4369
|
y.preventDefault(), y.persist(), $e(y);
|
|
4370
4370
|
var L = E.current.filter(function(se) {
|
|
4371
4371
|
return G.current && G.current.contains(se);
|
|
4372
4372
|
}), oe = L.indexOf(y.target);
|
|
4373
|
-
oe !== -1 && L.splice(oe, 1), E.current = L, !(L.length > 0) && (
|
|
4373
|
+
oe !== -1 && L.splice(oe, 1), E.current = L, !(L.length > 0) && (z({
|
|
4374
4374
|
type: "setDraggedFiles",
|
|
4375
4375
|
isDragActive: !1,
|
|
4376
4376
|
isDragAccept: !1,
|
|
4377
4377
|
isDragReject: !1
|
|
4378
4378
|
}), Xe(y) && _ && _(y));
|
|
4379
|
-
}, [G, _,
|
|
4379
|
+
}, [G, _, P]), M = ge(function(y, L) {
|
|
4380
4380
|
var oe = [], se = [];
|
|
4381
4381
|
y.forEach(function(be) {
|
|
4382
|
-
var
|
|
4382
|
+
var Be = Lo(be, ie), Le = Ct(Be, 2), nt = Le[0], at = Le[1], it = Do(be, r, i), He = Ct(it, 2), rt = He[0], st = He[1], pt = Z ? Z(be) : null;
|
|
4383
4383
|
if (nt && rt && !pt)
|
|
4384
4384
|
oe.push(be);
|
|
4385
4385
|
else {
|
|
@@ -4396,23 +4396,23 @@ function Wo() {
|
|
|
4396
4396
|
file: be,
|
|
4397
4397
|
errors: [ps]
|
|
4398
4398
|
});
|
|
4399
|
-
}), oe.splice(0)),
|
|
4399
|
+
}), oe.splice(0)), z({
|
|
4400
4400
|
acceptedFiles: oe,
|
|
4401
4401
|
fileRejections: se,
|
|
4402
4402
|
isDragReject: se.length > 0,
|
|
4403
4403
|
type: "setFiles"
|
|
4404
4404
|
}), g && g(oe, se, L), se.length > 0 && w && w(se, L), oe.length > 0 && h && h(oe, L);
|
|
4405
|
-
}, [
|
|
4405
|
+
}, [z, s, ie, r, i, d, g, h, w, Z]), ae = ge(function(y) {
|
|
4406
4406
|
y.preventDefault(), y.persist(), $e(y), E.current = [], Xe(y) && Promise.resolve(a(y)).then(function(L) {
|
|
4407
|
-
Qe(y) && !
|
|
4407
|
+
Qe(y) && !P || M(L, y);
|
|
4408
4408
|
}).catch(function(L) {
|
|
4409
4409
|
return I(L);
|
|
4410
|
-
}),
|
|
4410
|
+
}), z({
|
|
4411
4411
|
type: "reset"
|
|
4412
4412
|
});
|
|
4413
|
-
}, [a, M, I,
|
|
4413
|
+
}, [a, M, I, P]), x = ge(function() {
|
|
4414
4414
|
if (N.current) {
|
|
4415
|
-
|
|
4415
|
+
z({
|
|
4416
4416
|
type: "openDialog"
|
|
4417
4417
|
}), ue();
|
|
4418
4418
|
var y = {
|
|
@@ -4422,30 +4422,30 @@ function Wo() {
|
|
|
4422
4422
|
window.showOpenFilePicker(y).then(function(L) {
|
|
4423
4423
|
return a(L);
|
|
4424
4424
|
}).then(function(L) {
|
|
4425
|
-
M(L, null),
|
|
4425
|
+
M(L, null), z({
|
|
4426
4426
|
type: "closeDialog"
|
|
4427
4427
|
});
|
|
4428
4428
|
}).catch(function(L) {
|
|
4429
|
-
vs(L) ? (ce(L),
|
|
4429
|
+
vs(L) ? (ce(L), z({
|
|
4430
4430
|
type: "closeDialog"
|
|
4431
4431
|
})) : gs(L) ? (N.current = !1, J.current ? (J.current.value = null, J.current.click()) : I(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."))) : I(L);
|
|
4432
4432
|
});
|
|
4433
4433
|
return;
|
|
4434
4434
|
}
|
|
4435
|
-
J.current && (
|
|
4435
|
+
J.current && (z({
|
|
4436
4436
|
type: "openDialog"
|
|
4437
4437
|
}), ue(), J.current.value = null, J.current.click());
|
|
4438
|
-
}, [
|
|
4438
|
+
}, [z, ue, ce, W, M, I, re, s]), he = ge(function(y) {
|
|
4439
4439
|
!G.current || !G.current.isEqualNode(y.target) || (y.key === " " || y.key === "Enter" || y.keyCode === 32 || y.keyCode === 13) && (y.preventDefault(), x());
|
|
4440
4440
|
}, [G, x]), Se = ge(function() {
|
|
4441
|
-
|
|
4441
|
+
z({
|
|
4442
4442
|
type: "focus"
|
|
4443
4443
|
});
|
|
4444
|
-
}, []),
|
|
4445
|
-
|
|
4444
|
+
}, []), Oe = ge(function() {
|
|
4445
|
+
z({
|
|
4446
4446
|
type: "blur"
|
|
4447
4447
|
});
|
|
4448
|
-
}, []),
|
|
4448
|
+
}, []), Pt = ge(function() {
|
|
4449
4449
|
b || (ms() ? setTimeout(x, 0) : x());
|
|
4450
4450
|
}, [b, x]), Ae = function(L) {
|
|
4451
4451
|
return n ? null : L;
|
|
@@ -4454,16 +4454,16 @@ function Wo() {
|
|
|
4454
4454
|
}, qe = function(L) {
|
|
4455
4455
|
return F ? null : Ae(L);
|
|
4456
4456
|
}, $e = function(L) {
|
|
4457
|
-
|
|
4457
|
+
P && L.stopPropagation();
|
|
4458
4458
|
}, Mo = De(function() {
|
|
4459
4459
|
return function() {
|
|
4460
|
-
var y = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, L = y.refKey, oe = L === void 0 ? "ref" : L, se = y.role, be = y.onKeyDown,
|
|
4460
|
+
var y = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, L = y.refKey, oe = L === void 0 ? "ref" : L, se = y.role, be = y.onKeyDown, Be = y.onFocus, Le = y.onBlur, nt = y.onClick, at = y.onDragEnter, it = y.onDragOver, He = y.onDragLeave, rt = y.onDrop, st = Je(y, bs);
|
|
4461
4461
|
return ee(ee(Ft({
|
|
4462
4462
|
onKeyDown: ot(Te(be, he)),
|
|
4463
|
-
onFocus: ot(Te(
|
|
4464
|
-
onBlur: ot(Te(Le,
|
|
4465
|
-
onClick: Ae(Te(nt,
|
|
4466
|
-
onDragEnter: qe(Te(at,
|
|
4463
|
+
onFocus: ot(Te(Be, Se)),
|
|
4464
|
+
onBlur: ot(Te(Le, Oe)),
|
|
4465
|
+
onClick: Ae(Te(nt, Pt)),
|
|
4466
|
+
onDragEnter: qe(Te(at, B)),
|
|
4467
4467
|
onDragOver: qe(Te(it, H)),
|
|
4468
4468
|
onDragLeave: qe(Te(He, Y)),
|
|
4469
4469
|
onDrop: qe(Te(rt, ae)),
|
|
@@ -4472,11 +4472,11 @@ function Wo() {
|
|
|
4472
4472
|
tabIndex: 0
|
|
4473
4473
|
} : {}), st);
|
|
4474
4474
|
};
|
|
4475
|
-
}, [G, he, Se,
|
|
4475
|
+
}, [G, he, Se, Oe, Pt, B, H, Y, ae, m, F, n]), Uo = ge(function(y) {
|
|
4476
4476
|
y.stopPropagation();
|
|
4477
4477
|
}, []), qo = De(function() {
|
|
4478
4478
|
return function() {
|
|
4479
|
-
var y = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, L = y.refKey, oe = L === void 0 ? "ref" : L, se = y.onChange, be = y.onClick,
|
|
4479
|
+
var y = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, L = y.refKey, oe = L === void 0 ? "ref" : L, se = y.onChange, be = y.onClick, Be = Je(y, ys), Le = Ft({
|
|
4480
4480
|
accept: ie,
|
|
4481
4481
|
multiple: s,
|
|
4482
4482
|
type: "file",
|
|
@@ -4496,7 +4496,7 @@ function Wo() {
|
|
|
4496
4496
|
onClick: Ae(Te(be, Uo)),
|
|
4497
4497
|
tabIndex: -1
|
|
4498
4498
|
}, oe, J);
|
|
4499
|
-
return ee(ee({}, Le),
|
|
4499
|
+
return ee(ee({}, Le), Be);
|
|
4500
4500
|
};
|
|
4501
4501
|
}, [J, o, s, ae, n]);
|
|
4502
4502
|
return ee(ee({}, $), {}, {
|
|
@@ -4546,7 +4546,7 @@ function Fs(e, t) {
|
|
|
4546
4546
|
}
|
|
4547
4547
|
function co() {
|
|
4548
4548
|
}
|
|
4549
|
-
const Is = (e) =>
|
|
4549
|
+
const Is = (e) => zo(e), js = (e) => {
|
|
4550
4550
|
switch (e.code) {
|
|
4551
4551
|
case wt.FileInvalidType:
|
|
4552
4552
|
return "Неверный формат файла";
|
|
@@ -4564,10 +4564,10 @@ const Is = (e) => Wo(e), js = (e) => {
|
|
|
4564
4564
|
if (e === 0) return "0" + (n ? " " : "") + "B";
|
|
4565
4565
|
const a = 1024, i = ["B", "KB", "MB", "GB", "TB"], r = Math.floor(Math.log(e) / Math.log(a)), s = r === 0 ? 0 : o, d = n ? " " : "";
|
|
4566
4566
|
return parseFloat((e / Math.pow(a, r)).toFixed(s)) + d + i[r];
|
|
4567
|
-
}, Ds = "_ellipsisFileName_qx34h_1",
|
|
4567
|
+
}, Ds = "_ellipsisFileName_qx34h_1", Ps = "_tooltipContent_qx34h_7", mo = {
|
|
4568
4568
|
ellipsisFileName: Ds,
|
|
4569
|
-
tooltipContent:
|
|
4570
|
-
},
|
|
4569
|
+
tooltipContent: Ps
|
|
4570
|
+
}, Os = (e) => {
|
|
4571
4571
|
const {
|
|
4572
4572
|
fileName: t,
|
|
4573
4573
|
classNameRoot: o,
|
|
@@ -4618,17 +4618,17 @@ const Is = (e) => Wo(e), js = (e) => {
|
|
|
4618
4618
|
]
|
|
4619
4619
|
}
|
|
4620
4620
|
);
|
|
4621
|
-
},
|
|
4622
|
-
spUploadFiles:
|
|
4623
|
-
spUploadFiles_error:
|
|
4624
|
-
spUploadFiles__control:
|
|
4621
|
+
}, Bs = "_spUploadFiles_1xysh_43", Ws = "_spUploadFiles_error_1xysh_50", zs = "_spUploadFiles__control_1xysh_50", Ms = "_spUploadFiles__fileNameContainer_1xysh_54", Us = "_spUploadFiles__fileName_dragError_1xysh_58", qs = "_spUploadFiles__placeholderContainer_1xysh_61", $s = "_spUploadFiles__placeholderContainer_withUloadTooltip_1xysh_71", Hs = "_spUploadFiles__placeholder_1xysh_61", Vs = "_spUploadFiles__control_loading_1xysh_103", Ys = "_shimmer_1xysh_1", Gs = "_spUploadFiles__fileName_1xysh_54", Ks = "_spUploadFiles_fileUploaded_1xysh_150", Xs = "_spUploadFiles_disabled_1xysh_150", Zs = "_spUploadFiles__fileNamesList_1xysh_161", Qs = "_spUploadFiles__fileNamesList_loading_1xysh_177", Js = "_spUploadFiles__fileNamesListItem_1xysh_182", ep = "_spUploadFiles__fileNamesListItem__iconContainer_1xysh_209", tp = "_spUploadFiles__fileNamesListItem__iconContainer_error_1xysh_215", op = "_spUploadFiles__fileNamesListItem__mainContent_1xysh_219", np = "_spUploadFiles__fileNamesListItem__fileNameWrapper_1xysh_226", ap = "_spUploadFiles__fileNamesListItem__fileName_1xysh_226", ip = "_spUploadFiles__fileNamesListItem__description_1xysh_233", rp = "_spUploadFiles__fileNamesListItem__description__tooltipContent_1xysh_238", sp = "_spUploadFiles__fileNamesListItem__description_error_1xysh_241", pp = "_spUploadFiles__fileNamesListItemDelete_1xysh_244", lp = "_spUploadFiles__fileNamesListItemDelete_error_1xysh_261", cp = "_spUploadFiles__tooltipWrapper_1xysh_271", dp = "_spUploadFiles__tooltip_1xysh_271", mp = "_spUploadFiles__delete_1xysh_277", up = "_spUploadFiles__delete_loading_1xysh_281", _p = "_spUploadFiles__error_1xysh_290", V = {
|
|
4622
|
+
spUploadFiles: Bs,
|
|
4623
|
+
spUploadFiles_error: Ws,
|
|
4624
|
+
spUploadFiles__control: zs,
|
|
4625
4625
|
spUploadFiles__fileNameContainer: Ms,
|
|
4626
4626
|
spUploadFiles__fileName_dragError: Us,
|
|
4627
4627
|
spUploadFiles__placeholderContainer: qs,
|
|
4628
|
-
"spUploadFiles--variant-input": "_spUploadFiles--variant-
|
|
4628
|
+
"spUploadFiles--variant-input": "_spUploadFiles--variant-input_1xysh_64",
|
|
4629
4629
|
spUploadFiles__placeholderContainer_withUloadTooltip: $s,
|
|
4630
4630
|
spUploadFiles__placeholder: Hs,
|
|
4631
|
-
"spUploadFiles--variant-dropzone": "_spUploadFiles--variant-
|
|
4631
|
+
"spUploadFiles--variant-dropzone": "_spUploadFiles--variant-dropzone_1xysh_86",
|
|
4632
4632
|
spUploadFiles__control_loading: Vs,
|
|
4633
4633
|
shimmer: Ys,
|
|
4634
4634
|
spUploadFiles__fileName: Gs,
|
|
@@ -4681,7 +4681,7 @@ const Is = (e) => Wo(e), js = (e) => {
|
|
|
4681
4681
|
a(E, n);
|
|
4682
4682
|
},
|
|
4683
4683
|
[w, d, s, n, a]
|
|
4684
|
-
), { getRootProps:
|
|
4684
|
+
), { getRootProps: W, getInputProps: q, isDragReject: A } = Is({
|
|
4685
4685
|
accept: i,
|
|
4686
4686
|
onDrop: R,
|
|
4687
4687
|
multiple: s,
|
|
@@ -4690,12 +4690,12 @@ const Is = (e) => Wo(e), js = (e) => {
|
|
|
4690
4690
|
ne(() => {
|
|
4691
4691
|
m(A);
|
|
4692
4692
|
}, [A]);
|
|
4693
|
-
const F = [...d.map((v) => ({ file: v, errors: null })), ...w],
|
|
4693
|
+
const F = [...d.map((v) => ({ file: v, errors: null })), ...w], P = (F == null ? void 0 : F.length) > 0 || (w == null ? void 0 : w.length) > 0, O = o === "input", Z = f({
|
|
4694
4694
|
[V.spUploadFiles]: !0,
|
|
4695
4695
|
[V[`spUploadFiles--variant-${o}`]]: o,
|
|
4696
4696
|
[V.spUploadFiles_error]: b && !s && h && h.length > 0,
|
|
4697
4697
|
[V.spUploadFiles_disabled]: r,
|
|
4698
|
-
[V.spUploadFiles_fileUploaded]:
|
|
4698
|
+
[V.spUploadFiles_fileUploaded]: P,
|
|
4699
4699
|
...u && { [u]: !0 }
|
|
4700
4700
|
}), ie = f({
|
|
4701
4701
|
[V.spUploadFiles__control]: !0,
|
|
@@ -4710,7 +4710,7 @@ const Is = (e) => Wo(e), js = (e) => {
|
|
|
4710
4710
|
if (g)
|
|
4711
4711
|
return;
|
|
4712
4712
|
if (N) {
|
|
4713
|
-
const D = [...w], I = D.findIndex((
|
|
4713
|
+
const D = [...w], I = D.findIndex((B) => B.file.name === v);
|
|
4714
4714
|
D.splice(I, 1), C(D);
|
|
4715
4715
|
return;
|
|
4716
4716
|
}
|
|
@@ -4766,7 +4766,7 @@ const Is = (e) => Wo(e), js = (e) => {
|
|
|
4766
4766
|
),
|
|
4767
4767
|
/* @__PURE__ */ U("div", { className: V.spUploadFiles__fileNamesListItem__mainContent, children: [
|
|
4768
4768
|
/* @__PURE__ */ l(
|
|
4769
|
-
|
|
4769
|
+
Os,
|
|
4770
4770
|
{
|
|
4771
4771
|
fileName: v.name,
|
|
4772
4772
|
classNameEllipsisFileNameRoot: V.spUploadFiles__fileNamesListItem__fileNameWrapper,
|
|
@@ -4799,7 +4799,7 @@ const Is = (e) => Wo(e), js = (e) => {
|
|
|
4799
4799
|
},
|
|
4800
4800
|
j
|
|
4801
4801
|
);
|
|
4802
|
-
}) }), $ = () => s ? k() : Q(),
|
|
4802
|
+
}) }), $ = () => s ? k() : Q(), z = () => /* @__PURE__ */ l(
|
|
4803
4803
|
Ye,
|
|
4804
4804
|
{
|
|
4805
4805
|
classNameRoot: V.spUploadFiles__placeholder,
|
|
@@ -4810,8 +4810,8 @@ const Is = (e) => Wo(e), js = (e) => {
|
|
|
4810
4810
|
text: t
|
|
4811
4811
|
}
|
|
4812
4812
|
), c = () => /* @__PURE__ */ U(uo, { children: [
|
|
4813
|
-
|
|
4814
|
-
|
|
4813
|
+
P ? $() : z(),
|
|
4814
|
+
P && O ? /* @__PURE__ */ l("div", { className: ue, onClick: G, children: /* @__PURE__ */ l(xe, { name: pe.Close }) }) : O && p && /* @__PURE__ */ l(
|
|
4815
4815
|
tt,
|
|
4816
4816
|
{
|
|
4817
4817
|
classNameTooltip: V.spUploadFiles__tooltipWrapper,
|
|
@@ -4824,13 +4824,19 @@ const Is = (e) => Wo(e), js = (e) => {
|
|
|
4824
4824
|
return /* @__PURE__ */ l(
|
|
4825
4825
|
Fa,
|
|
4826
4826
|
{
|
|
4827
|
-
getRootProps:
|
|
4827
|
+
getRootProps: W,
|
|
4828
4828
|
getInputProps: q,
|
|
4829
4829
|
disabled: r,
|
|
4830
4830
|
name: n,
|
|
4831
4831
|
children: /* @__PURE__ */ U("div", { className: Z, children: [
|
|
4832
4832
|
/* @__PURE__ */ U("div", { className: ie, children: [
|
|
4833
|
-
|
|
4833
|
+
O && (g ? /* @__PURE__ */ l(vo, {}) : /* @__PURE__ */ l(
|
|
4834
|
+
xe,
|
|
4835
|
+
{
|
|
4836
|
+
name: P ? pe.Check : pe.Upload,
|
|
4837
|
+
style: { flexShrink: 0 }
|
|
4838
|
+
}
|
|
4839
|
+
)),
|
|
4834
4840
|
c()
|
|
4835
4841
|
] }),
|
|
4836
4842
|
h && /* @__PURE__ */ l("div", { className: V.spUploadFiles__error, children: h })
|