test-stpr-ui-kit 0.4.50 → 0.4.52
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 +258 -256
- package/dist/test-stpr-ui-kit.umd.cjs +10 -10
- package/package.json +1 -1
package/dist/test-stpr-ui-kit.js
CHANGED
|
@@ -62,7 +62,7 @@ const sn = "_spAccordion_11ek7_43", pn = "_spAccordion_noBorder_11ek7_57", ln =
|
|
|
62
62
|
spAccordion__childrenWrapper_open: hn,
|
|
63
63
|
spAccordion__content: bn,
|
|
64
64
|
spAccordion__content_open: yn
|
|
65
|
-
},
|
|
65
|
+
}, Hs = (e) => {
|
|
66
66
|
const {
|
|
67
67
|
name: t,
|
|
68
68
|
children: o,
|
|
@@ -71,9 +71,9 @@ const sn = "_spAccordion_11ek7_43", pn = "_spAccordion_noBorder_11ek7_57", ln =
|
|
|
71
71
|
onOpen: i,
|
|
72
72
|
noBorder: r = !1,
|
|
73
73
|
noPadding: s = !1,
|
|
74
|
-
level:
|
|
74
|
+
level: u = 1,
|
|
75
75
|
classNameRoot: p,
|
|
76
|
-
classNameHeader:
|
|
76
|
+
classNameHeader: d,
|
|
77
77
|
classNameTitle: l,
|
|
78
78
|
classNameIcon: v,
|
|
79
79
|
classNameChildrenWrapper: b
|
|
@@ -88,10 +88,10 @@ const sn = "_spAccordion_11ek7_43", pn = "_spAccordion_noBorder_11ek7_57", ln =
|
|
|
88
88
|
...p && { [p]: !0 }
|
|
89
89
|
}), M = f({
|
|
90
90
|
[ce.spAccordion__header]: !0,
|
|
91
|
-
...
|
|
91
|
+
...d && { [d]: !0 }
|
|
92
92
|
}), j = f({
|
|
93
93
|
[ce.spAccordion__name]: !0,
|
|
94
|
-
[ce[`spAccordion__name--level-${
|
|
94
|
+
[ce[`spAccordion__name--level-${u}`]]: u,
|
|
95
95
|
[ce.spAccordion__name_hiddenExpand]: a,
|
|
96
96
|
...l && { [l]: !0 }
|
|
97
97
|
}), w = f({
|
|
@@ -157,9 +157,9 @@ const sn = "_spAccordion_11ek7_43", pn = "_spAccordion_noBorder_11ek7_57", ln =
|
|
|
157
157
|
iconName: i,
|
|
158
158
|
iconRotate: r = 0,
|
|
159
159
|
disabled: s = !1,
|
|
160
|
-
type:
|
|
160
|
+
type: u = "button",
|
|
161
161
|
form: p,
|
|
162
|
-
children:
|
|
162
|
+
children: d,
|
|
163
163
|
loading: l = !1,
|
|
164
164
|
isFullWidth: v = !1,
|
|
165
165
|
isOnlyIcon: b = !1,
|
|
@@ -177,7 +177,7 @@ const sn = "_spAccordion_11ek7_43", pn = "_spAccordion_noBorder_11ek7_57", ln =
|
|
|
177
177
|
});
|
|
178
178
|
return /* @__PURE__ */ H(lo, { children: [
|
|
179
179
|
(i || l) && /* @__PURE__ */ m("div", { className: c, children: l ? /* @__PURE__ */ m(mo, { classNameRoot: we.spButton__spinner }) : i && /* @__PURE__ */ m(be, { name: i, rotate: r }) }),
|
|
180
|
-
!b &&
|
|
180
|
+
!b && d && /* @__PURE__ */ m("div", { className: w, children: d })
|
|
181
181
|
] });
|
|
182
182
|
}, j = f({
|
|
183
183
|
[we.spButton]: !0,
|
|
@@ -197,7 +197,7 @@ const sn = "_spAccordion_11ek7_43", pn = "_spAccordion_noBorder_11ek7_57", ln =
|
|
|
197
197
|
className: j,
|
|
198
198
|
onClick: A,
|
|
199
199
|
disabled: s,
|
|
200
|
-
type:
|
|
200
|
+
type: u,
|
|
201
201
|
form: p,
|
|
202
202
|
children: M()
|
|
203
203
|
}
|
|
@@ -219,9 +219,9 @@ const sn = "_spAccordion_11ek7_43", pn = "_spAccordion_noBorder_11ek7_57", ln =
|
|
|
219
219
|
cancelBtnDisabled: i,
|
|
220
220
|
submitBtnContent: r,
|
|
221
221
|
formId: s,
|
|
222
|
-
disabled:
|
|
222
|
+
disabled: u,
|
|
223
223
|
onClose: p,
|
|
224
|
-
submit:
|
|
224
|
+
submit: d,
|
|
225
225
|
loading: l
|
|
226
226
|
} = e, v = f({
|
|
227
227
|
[Be.spApplyButtons]: !0,
|
|
@@ -252,8 +252,8 @@ const sn = "_spAccordion_11ek7_43", pn = "_spAccordion_noBorder_11ek7_57", ln =
|
|
|
252
252
|
variant: "primary",
|
|
253
253
|
classNameRoot: b,
|
|
254
254
|
form: s || void 0,
|
|
255
|
-
disabled:
|
|
256
|
-
onClick:
|
|
255
|
+
disabled: u,
|
|
256
|
+
onClick: d,
|
|
257
257
|
loading: l,
|
|
258
258
|
children: r
|
|
259
259
|
}
|
|
@@ -274,11 +274,11 @@ const sn = "_spAccordion_11ek7_43", pn = "_spAccordion_noBorder_11ek7_57", ln =
|
|
|
274
274
|
[ct.spBaseTooltip]: !0,
|
|
275
275
|
[ct.spBaseTooltip_noPadding]: n,
|
|
276
276
|
...i && { [i]: !0 }
|
|
277
|
-
}),
|
|
277
|
+
}), u = f({
|
|
278
278
|
[ct.spBaseTooltip__content]: !0,
|
|
279
279
|
...r && { [r]: !0 }
|
|
280
280
|
});
|
|
281
|
-
return /* @__PURE__ */ m("div", { className: s, ref: t, style: a, children: /* @__PURE__ */ m("div", { className:
|
|
281
|
+
return /* @__PURE__ */ m("div", { className: s, ref: t, style: a, children: /* @__PURE__ */ m("div", { className: u, children: o }) });
|
|
282
282
|
});
|
|
283
283
|
_o.displayName = "BaseTooltip";
|
|
284
284
|
function fo(e, t, o = !0) {
|
|
@@ -318,9 +318,9 @@ const Rt = (e) => {
|
|
|
318
318
|
trigger: i,
|
|
319
319
|
triggerAction: r,
|
|
320
320
|
actionOnClose: s,
|
|
321
|
-
classNameTriggerTooltip:
|
|
321
|
+
classNameTriggerTooltip: u,
|
|
322
322
|
position: p = de.BottomLeft,
|
|
323
|
-
text:
|
|
323
|
+
text: d,
|
|
324
324
|
noPadding: l,
|
|
325
325
|
classNameTooltip: v,
|
|
326
326
|
classNameBaseTooltipRoot: b,
|
|
@@ -339,7 +339,7 @@ const Rt = (e) => {
|
|
|
339
339
|
visibility: "hidden",
|
|
340
340
|
opacity: 0,
|
|
341
341
|
left: "-9999px"
|
|
342
|
-
}), [L, Q] = le(!1),
|
|
342
|
+
}), [L, Q] = le(!1), oe = fe(() => {
|
|
343
343
|
if (!A.current || !M.current) return;
|
|
344
344
|
const C = A.current.getBoundingClientRect(), q = M.current.getBoundingClientRect();
|
|
345
345
|
let X = 0, B = 0;
|
|
@@ -392,14 +392,14 @@ const Rt = (e) => {
|
|
|
392
392
|
}));
|
|
393
393
|
}, [p, y, L]);
|
|
394
394
|
re(() => (w(!0), () => w(!1)), []), re(() => {
|
|
395
|
-
j &&
|
|
396
|
-
}, [j,
|
|
395
|
+
j && oe();
|
|
396
|
+
}, [j, oe]), re(() => {
|
|
397
397
|
if (!j) return;
|
|
398
|
-
const C = () =>
|
|
398
|
+
const C = () => oe();
|
|
399
399
|
return window.addEventListener("resize", C), window.addEventListener("scroll", C, !0), () => {
|
|
400
400
|
window.removeEventListener("resize", C), window.removeEventListener("scroll", C, !0);
|
|
401
401
|
};
|
|
402
|
-
}, [j,
|
|
402
|
+
}, [j, oe]);
|
|
403
403
|
const ee = f({
|
|
404
404
|
[Lt.spTooltip]: !0,
|
|
405
405
|
...v && { [v]: !0 }
|
|
@@ -409,7 +409,7 @@ const Rt = (e) => {
|
|
|
409
409
|
...k && { [k]: !0 }
|
|
410
410
|
}), K = f({
|
|
411
411
|
[Lt.spTooltip__trigger]: !0,
|
|
412
|
-
...
|
|
412
|
+
...u && { [u]: !0 }
|
|
413
413
|
}), Z = document.body;
|
|
414
414
|
return /* @__PURE__ */ H(
|
|
415
415
|
"div",
|
|
@@ -426,7 +426,7 @@ const Rt = (e) => {
|
|
|
426
426
|
style: S,
|
|
427
427
|
ref: M,
|
|
428
428
|
noPadding: l,
|
|
429
|
-
text:
|
|
429
|
+
text: d,
|
|
430
430
|
classNameRoot: ae,
|
|
431
431
|
classNameContentRoot: se
|
|
432
432
|
}
|
|
@@ -447,7 +447,7 @@ const Rt = (e) => {
|
|
|
447
447
|
spCheckbox__tooltip: Jn,
|
|
448
448
|
spCheckbox__required: ea,
|
|
449
449
|
spCheckbox__error: ta
|
|
450
|
-
},
|
|
450
|
+
}, Vs = (e) => {
|
|
451
451
|
const {
|
|
452
452
|
size: t = "lg",
|
|
453
453
|
checked: o,
|
|
@@ -456,9 +456,9 @@ const Rt = (e) => {
|
|
|
456
456
|
name: i,
|
|
457
457
|
label: r,
|
|
458
458
|
error: s,
|
|
459
|
-
value:
|
|
459
|
+
value: u,
|
|
460
460
|
required: p,
|
|
461
|
-
tooltipPosition:
|
|
461
|
+
tooltipPosition: d,
|
|
462
462
|
infoTooltipText: l,
|
|
463
463
|
onMouseEnter: v,
|
|
464
464
|
classNameRoot: b,
|
|
@@ -493,17 +493,17 @@ const Rt = (e) => {
|
|
|
493
493
|
className: A,
|
|
494
494
|
checked: o,
|
|
495
495
|
onChange: (P) => {
|
|
496
|
-
!n && a && a(P, { name: i, checked: !o, value:
|
|
496
|
+
!n && a && a(P, { name: i, checked: !o, value: u });
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
499
|
),
|
|
500
500
|
r && /* @__PURE__ */ m("span", { className: M, children: r }),
|
|
501
501
|
p && /* @__PURE__ */ m("div", { className: j, children: "*" }),
|
|
502
|
-
l && /* @__PURE__ */ m("div", { className: c, children: /* @__PURE__ */ m(Je, { position:
|
|
502
|
+
l && /* @__PURE__ */ m("div", { className: c, children: /* @__PURE__ */ m(Je, { position: d, text: l }) })
|
|
503
503
|
] }),
|
|
504
504
|
s && /* @__PURE__ */ m("div", { className: w, children: s })
|
|
505
505
|
] });
|
|
506
|
-
},
|
|
506
|
+
}, Ys = (e = {}) => {
|
|
507
507
|
const { initialValue: t = null } = e, [o, n] = le(t);
|
|
508
508
|
return {
|
|
509
509
|
isOpen: !!o,
|
|
@@ -548,13 +548,13 @@ const Rt = (e) => {
|
|
|
548
548
|
title: i,
|
|
549
549
|
style: r,
|
|
550
550
|
onClick: s,
|
|
551
|
-
isEllipsis:
|
|
551
|
+
isEllipsis: u = !1,
|
|
552
552
|
isCursorPointer: p = !1,
|
|
553
|
-
isCursorPointerByOnClick:
|
|
553
|
+
isCursorPointerByOnClick: d = !0,
|
|
554
554
|
classNameRoot: l
|
|
555
|
-
} = e, v = () => s &&
|
|
555
|
+
} = e, v = () => s && d ? !0 : p, b = f({
|
|
556
556
|
[Ve.spText]: !0,
|
|
557
|
-
[Ve.spText_ellipsis]:
|
|
557
|
+
[Ve.spText_ellipsis]: u,
|
|
558
558
|
[Ve.spText_cursorPointer]: v(),
|
|
559
559
|
[Ve[`spText_type-${o}`]]: o,
|
|
560
560
|
...l && { [l]: !0 }
|
|
@@ -601,16 +601,16 @@ const pa = "_modalWrapper_1qgyc_43", la = "_modalWrapper__modal_1qgyc_63", ca =
|
|
|
601
601
|
classNameLayerRoot: i,
|
|
602
602
|
classNameRoot: r,
|
|
603
603
|
style: s,
|
|
604
|
-
modalAlign:
|
|
604
|
+
modalAlign: u = "top",
|
|
605
605
|
textAlign: p = "left",
|
|
606
|
-
onClose:
|
|
606
|
+
onClose: d,
|
|
607
607
|
header: l,
|
|
608
608
|
subHeader: v,
|
|
609
609
|
footer: b,
|
|
610
610
|
size: k = "lg"
|
|
611
611
|
} = e, y = f({
|
|
612
612
|
[_e.modalWrapper]: !0,
|
|
613
|
-
[_e[`modalWrapper--modalAlign-${
|
|
613
|
+
[_e[`modalWrapper--modalAlign-${u}`]]: u,
|
|
614
614
|
[_e[`modalWrapper--textAlign-${p}`]]: p
|
|
615
615
|
}), T = f({
|
|
616
616
|
[_e.modalWrapper__modal]: !0,
|
|
@@ -644,12 +644,12 @@ const pa = "_modalWrapper_1qgyc_43", la = "_modalWrapper__modal_1qgyc_63", ca =
|
|
|
644
644
|
] }),
|
|
645
645
|
a && /* @__PURE__ */ m("div", { className: j, children: a }),
|
|
646
646
|
b && /* @__PURE__ */ m("div", { className: S, children: b }),
|
|
647
|
-
n &&
|
|
647
|
+
n && d && /* @__PURE__ */ m(
|
|
648
648
|
wt,
|
|
649
649
|
{
|
|
650
650
|
classNameRoot: A,
|
|
651
651
|
classNameIconContainerRoot: M,
|
|
652
|
-
onClick:
|
|
652
|
+
onClick: d,
|
|
653
653
|
iconName: ue.Close,
|
|
654
654
|
variant: "link",
|
|
655
655
|
noPadding: !0,
|
|
@@ -657,7 +657,7 @@ const pa = "_modalWrapper_1qgyc_43", la = "_modalWrapper__modal_1qgyc_63", ca =
|
|
|
657
657
|
}
|
|
658
658
|
)
|
|
659
659
|
] }) }) });
|
|
660
|
-
},
|
|
660
|
+
}, Gs = (e) => {
|
|
661
661
|
const {
|
|
662
662
|
zIndex: t,
|
|
663
663
|
title: o,
|
|
@@ -666,9 +666,9 @@ const pa = "_modalWrapper_1qgyc_43", la = "_modalWrapper__modal_1qgyc_63", ca =
|
|
|
666
666
|
cancelBtnDisabled: i,
|
|
667
667
|
cancelBtnIconName: r,
|
|
668
668
|
submitBtnContent: s,
|
|
669
|
-
submit:
|
|
669
|
+
submit: u,
|
|
670
670
|
disabled: p,
|
|
671
|
-
formId:
|
|
671
|
+
formId: d,
|
|
672
672
|
onClose: l,
|
|
673
673
|
mobile: v = "column",
|
|
674
674
|
align: b = "right",
|
|
@@ -700,10 +700,10 @@ const pa = "_modalWrapper_1qgyc_43", la = "_modalWrapper__modal_1qgyc_63", ca =
|
|
|
700
700
|
cancelBtnIconName: r,
|
|
701
701
|
cancelBtnDisabled: i,
|
|
702
702
|
submitBtnContent: s,
|
|
703
|
-
formId:
|
|
703
|
+
formId: d,
|
|
704
704
|
disabled: p,
|
|
705
705
|
onClose: l,
|
|
706
|
-
submit:
|
|
706
|
+
submit: u,
|
|
707
707
|
loading: T
|
|
708
708
|
}
|
|
709
709
|
) : null
|
|
@@ -713,7 +713,7 @@ const pa = "_modalWrapper_1qgyc_43", la = "_modalWrapper__modal_1qgyc_63", ca =
|
|
|
713
713
|
spContextMenu: ga,
|
|
714
714
|
spContextMenu__item: xa,
|
|
715
715
|
spContextMenu__item_deleteItem: ha
|
|
716
|
-
},
|
|
716
|
+
}, Ks = (e) => {
|
|
717
717
|
const { onClickItem: t, options: o, classNameRoot: n } = e, a = f({
|
|
718
718
|
[dt.spContextMenu]: !0,
|
|
719
719
|
...n && { [n]: !0 }
|
|
@@ -755,14 +755,14 @@ var Ot;
|
|
|
755
755
|
function ba() {
|
|
756
756
|
if (Ot) return Y;
|
|
757
757
|
Ot = 1;
|
|
758
|
-
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,
|
|
758
|
+
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, u = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, l = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, k = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, T = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118, M = e ? Symbol.for("react.scope") : 60119;
|
|
759
759
|
function j(c) {
|
|
760
760
|
if (typeof c == "object" && c !== null) {
|
|
761
761
|
var S = c.$$typeof;
|
|
762
762
|
switch (S) {
|
|
763
763
|
case t:
|
|
764
764
|
switch (c = c.type, c) {
|
|
765
|
-
case
|
|
765
|
+
case u:
|
|
766
766
|
case p:
|
|
767
767
|
case n:
|
|
768
768
|
case i:
|
|
@@ -772,7 +772,7 @@ function ba() {
|
|
|
772
772
|
default:
|
|
773
773
|
switch (c = c && c.$$typeof, c) {
|
|
774
774
|
case s:
|
|
775
|
-
case
|
|
775
|
+
case d:
|
|
776
776
|
case k:
|
|
777
777
|
case b:
|
|
778
778
|
case r:
|
|
@@ -789,8 +789,8 @@ function ba() {
|
|
|
789
789
|
function w(c) {
|
|
790
790
|
return j(c) === p;
|
|
791
791
|
}
|
|
792
|
-
return Y.AsyncMode =
|
|
793
|
-
return w(c) || j(c) ===
|
|
792
|
+
return Y.AsyncMode = u, Y.ConcurrentMode = p, Y.ContextConsumer = s, Y.ContextProvider = r, Y.Element = t, Y.ForwardRef = d, Y.Fragment = n, Y.Lazy = k, Y.Memo = b, Y.Portal = o, Y.Profiler = i, Y.StrictMode = a, Y.Suspense = l, Y.isAsyncMode = function(c) {
|
|
793
|
+
return w(c) || j(c) === u;
|
|
794
794
|
}, Y.isConcurrentMode = w, Y.isContextConsumer = function(c) {
|
|
795
795
|
return j(c) === s;
|
|
796
796
|
}, Y.isContextProvider = function(c) {
|
|
@@ -798,7 +798,7 @@ function ba() {
|
|
|
798
798
|
}, Y.isElement = function(c) {
|
|
799
799
|
return typeof c == "object" && c !== null && c.$$typeof === t;
|
|
800
800
|
}, Y.isForwardRef = function(c) {
|
|
801
|
-
return j(c) ===
|
|
801
|
+
return j(c) === d;
|
|
802
802
|
}, Y.isFragment = function(c) {
|
|
803
803
|
return j(c) === n;
|
|
804
804
|
}, Y.isLazy = function(c) {
|
|
@@ -814,7 +814,7 @@ function ba() {
|
|
|
814
814
|
}, Y.isSuspense = function(c) {
|
|
815
815
|
return j(c) === l;
|
|
816
816
|
}, Y.isValidElementType = function(c) {
|
|
817
|
-
return typeof c == "string" || typeof c == "function" || c === n || c === p || c === i || c === a || c === l || c === v || typeof c == "object" && c !== null && (c.$$typeof === k || c.$$typeof === b || c.$$typeof === r || c.$$typeof === s || c.$$typeof ===
|
|
817
|
+
return typeof c == "string" || typeof c == "function" || c === n || c === p || c === i || c === a || c === l || c === v || typeof c == "object" && c !== null && (c.$$typeof === k || c.$$typeof === b || c.$$typeof === r || c.$$typeof === s || c.$$typeof === d || c.$$typeof === T || c.$$typeof === A || c.$$typeof === M || c.$$typeof === y);
|
|
818
818
|
}, Y.typeOf = j, Y;
|
|
819
819
|
}
|
|
820
820
|
var G = {};
|
|
@@ -829,10 +829,10 @@ var G = {};
|
|
|
829
829
|
var zt;
|
|
830
830
|
function ya() {
|
|
831
831
|
return zt || (zt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
832
|
-
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,
|
|
832
|
+
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, u = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, l = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, k = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, T = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118, M = e ? Symbol.for("react.scope") : 60119;
|
|
833
833
|
function j(g) {
|
|
834
834
|
return typeof g == "string" || typeof g == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
835
|
-
g === n || g === p || g === i || g === a || g === l || g === v || typeof g == "object" && g !== null && (g.$$typeof === k || g.$$typeof === b || g.$$typeof === r || g.$$typeof === s || g.$$typeof ===
|
|
835
|
+
g === n || g === p || g === i || g === a || g === l || g === v || typeof g == "object" && g !== null && (g.$$typeof === k || g.$$typeof === b || g.$$typeof === r || g.$$typeof === s || g.$$typeof === d || g.$$typeof === T || g.$$typeof === A || g.$$typeof === M || g.$$typeof === y);
|
|
836
836
|
}
|
|
837
837
|
function w(g) {
|
|
838
838
|
if (typeof g == "object" && g !== null) {
|
|
@@ -841,7 +841,7 @@ function ya() {
|
|
|
841
841
|
case t:
|
|
842
842
|
var Se = g.type;
|
|
843
843
|
switch (Se) {
|
|
844
|
-
case
|
|
844
|
+
case u:
|
|
845
845
|
case p:
|
|
846
846
|
case n:
|
|
847
847
|
case i:
|
|
@@ -852,7 +852,7 @@ function ya() {
|
|
|
852
852
|
var ze = Se && Se.$$typeof;
|
|
853
853
|
switch (ze) {
|
|
854
854
|
case s:
|
|
855
|
-
case
|
|
855
|
+
case d:
|
|
856
856
|
case k:
|
|
857
857
|
case b:
|
|
858
858
|
case r:
|
|
@@ -866,9 +866,9 @@ function ya() {
|
|
|
866
866
|
}
|
|
867
867
|
}
|
|
868
868
|
}
|
|
869
|
-
var c =
|
|
869
|
+
var c = u, S = p, P = s, L = r, Q = t, oe = d, ee = n, ae = k, se = b, K = o, Z = i, C = a, q = l, X = !1;
|
|
870
870
|
function B(g) {
|
|
871
|
-
return X || (X = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), _(g) || w(g) ===
|
|
871
|
+
return X || (X = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), _(g) || w(g) === u;
|
|
872
872
|
}
|
|
873
873
|
function _(g) {
|
|
874
874
|
return w(g) === p;
|
|
@@ -883,7 +883,7 @@ function ya() {
|
|
|
883
883
|
return typeof g == "object" && g !== null && g.$$typeof === t;
|
|
884
884
|
}
|
|
885
885
|
function D(g) {
|
|
886
|
-
return w(g) ===
|
|
886
|
+
return w(g) === d;
|
|
887
887
|
}
|
|
888
888
|
function $(g) {
|
|
889
889
|
return w(g) === n;
|
|
@@ -906,7 +906,7 @@ function ya() {
|
|
|
906
906
|
function ie(g) {
|
|
907
907
|
return w(g) === l;
|
|
908
908
|
}
|
|
909
|
-
G.AsyncMode = c, G.ConcurrentMode = S, G.ContextConsumer = P, G.ContextProvider = L, G.Element = Q, G.ForwardRef =
|
|
909
|
+
G.AsyncMode = c, G.ConcurrentMode = S, G.ContextConsumer = P, G.ContextProvider = L, G.Element = Q, G.ForwardRef = oe, G.Fragment = ee, G.Lazy = ae, G.Memo = se, G.Portal = K, G.Profiler = Z, G.StrictMode = C, G.Suspense = q, G.isAsyncMode = B, G.isConcurrentMode = _, G.isContextConsumer = h, G.isContextProvider = F, G.isElement = O, G.isForwardRef = D, G.isFragment = $, G.isLazy = I, G.isMemo = z, G.isPortal = U, G.isProfiler = V, G.isStrictMode = W, G.isSuspense = ie, G.isValidElementType = j, G.typeOf = w;
|
|
910
910
|
}()), G;
|
|
911
911
|
}
|
|
912
912
|
var Pt;
|
|
@@ -937,31 +937,31 @@ function wa() {
|
|
|
937
937
|
return !1;
|
|
938
938
|
for (var r = {}, s = 0; s < 10; s++)
|
|
939
939
|
r["_" + String.fromCharCode(s)] = s;
|
|
940
|
-
var
|
|
941
|
-
return r[
|
|
940
|
+
var u = Object.getOwnPropertyNames(r).map(function(d) {
|
|
941
|
+
return r[d];
|
|
942
942
|
});
|
|
943
|
-
if (
|
|
943
|
+
if (u.join("") !== "0123456789")
|
|
944
944
|
return !1;
|
|
945
945
|
var p = {};
|
|
946
|
-
return "abcdefghijklmnopqrst".split("").forEach(function(
|
|
947
|
-
p[
|
|
946
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(d) {
|
|
947
|
+
p[d] = d;
|
|
948
948
|
}), Object.keys(Object.assign({}, p)).join("") === "abcdefghijklmnopqrst";
|
|
949
949
|
} catch {
|
|
950
950
|
return !1;
|
|
951
951
|
}
|
|
952
952
|
}
|
|
953
953
|
return ut = a() ? Object.assign : function(i, r) {
|
|
954
|
-
for (var s,
|
|
955
|
-
s = Object(arguments[
|
|
954
|
+
for (var s, u = n(i), p, d = 1; d < arguments.length; d++) {
|
|
955
|
+
s = Object(arguments[d]);
|
|
956
956
|
for (var l in s)
|
|
957
|
-
t.call(s, l) && (
|
|
957
|
+
t.call(s, l) && (u[l] = s[l]);
|
|
958
958
|
if (e) {
|
|
959
959
|
p = e(s);
|
|
960
960
|
for (var v = 0; v < p.length; v++)
|
|
961
|
-
o.call(s, p[v]) && (
|
|
961
|
+
o.call(s, p[v]) && (u[p[v]] = s[p[v]]);
|
|
962
962
|
}
|
|
963
963
|
}
|
|
964
|
-
return
|
|
964
|
+
return u;
|
|
965
965
|
}, ut;
|
|
966
966
|
}
|
|
967
967
|
var mt, Wt;
|
|
@@ -992,24 +992,24 @@ function ka() {
|
|
|
992
992
|
}
|
|
993
993
|
};
|
|
994
994
|
}
|
|
995
|
-
function a(i, r, s,
|
|
995
|
+
function a(i, r, s, u, p) {
|
|
996
996
|
if (process.env.NODE_ENV !== "production") {
|
|
997
|
-
for (var
|
|
998
|
-
if (n(i,
|
|
997
|
+
for (var d in i)
|
|
998
|
+
if (n(i, d)) {
|
|
999
999
|
var l;
|
|
1000
1000
|
try {
|
|
1001
|
-
if (typeof i[
|
|
1001
|
+
if (typeof i[d] != "function") {
|
|
1002
1002
|
var v = Error(
|
|
1003
|
-
(
|
|
1003
|
+
(u || "React class") + ": " + s + " type `" + d + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[d] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
1004
1004
|
);
|
|
1005
1005
|
throw v.name = "Invariant Violation", v;
|
|
1006
1006
|
}
|
|
1007
|
-
l = i[
|
|
1007
|
+
l = i[d](r, d, u, s, null, t);
|
|
1008
1008
|
} catch (k) {
|
|
1009
1009
|
l = k;
|
|
1010
1010
|
}
|
|
1011
1011
|
if (l && !(l instanceof Error) && e(
|
|
1012
|
-
(
|
|
1012
|
+
(u || "React class") + ": type specification of " + s + " `" + d + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof l + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
1013
1013
|
), l instanceof Error && !(l.message in o)) {
|
|
1014
1014
|
o[l.message] = !0;
|
|
1015
1015
|
var b = p ? p() : "";
|
|
@@ -1031,20 +1031,20 @@ function Ca() {
|
|
|
1031
1031
|
var e = xo(), t = wa(), o = At(), n = ho(), a = ka(), i = function() {
|
|
1032
1032
|
};
|
|
1033
1033
|
process.env.NODE_ENV !== "production" && (i = function(s) {
|
|
1034
|
-
var
|
|
1035
|
-
typeof console < "u" && console.error(
|
|
1034
|
+
var u = "Warning: " + s;
|
|
1035
|
+
typeof console < "u" && console.error(u);
|
|
1036
1036
|
try {
|
|
1037
|
-
throw new Error(
|
|
1037
|
+
throw new Error(u);
|
|
1038
1038
|
} catch {
|
|
1039
1039
|
}
|
|
1040
1040
|
});
|
|
1041
1041
|
function r() {
|
|
1042
1042
|
return null;
|
|
1043
1043
|
}
|
|
1044
|
-
return vt = function(s,
|
|
1045
|
-
var p = typeof Symbol == "function" && Symbol.iterator,
|
|
1044
|
+
return vt = function(s, u) {
|
|
1045
|
+
var p = typeof Symbol == "function" && Symbol.iterator, d = "@@iterator";
|
|
1046
1046
|
function l(_) {
|
|
1047
|
-
var h = _ && (p && _[p] || _[
|
|
1047
|
+
var h = _ && (p && _[p] || _[d]);
|
|
1048
1048
|
if (typeof h == "function")
|
|
1049
1049
|
return h;
|
|
1050
1050
|
}
|
|
@@ -1062,7 +1062,7 @@ function Ca() {
|
|
|
1062
1062
|
element: w(),
|
|
1063
1063
|
elementType: c(),
|
|
1064
1064
|
instanceOf: S,
|
|
1065
|
-
node:
|
|
1065
|
+
node: oe(),
|
|
1066
1066
|
objectOf: L,
|
|
1067
1067
|
oneOf: P,
|
|
1068
1068
|
oneOfType: Q,
|
|
@@ -1081,7 +1081,7 @@ function Ca() {
|
|
|
1081
1081
|
var h = {}, F = 0;
|
|
1082
1082
|
function O($, I, z, U, V, W, ie) {
|
|
1083
1083
|
if (U = U || v, W = W || z, ie !== o) {
|
|
1084
|
-
if (
|
|
1084
|
+
if (u) {
|
|
1085
1085
|
var g = new Error(
|
|
1086
1086
|
"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"
|
|
1087
1087
|
);
|
|
@@ -1222,7 +1222,7 @@ function Ca() {
|
|
|
1222
1222
|
}
|
|
1223
1223
|
return T(O);
|
|
1224
1224
|
}
|
|
1225
|
-
function
|
|
1225
|
+
function oe() {
|
|
1226
1226
|
function _(h, F, O, D, $) {
|
|
1227
1227
|
return K(h[F]) ? null : new y("Invalid " + D + " `" + $ + "` supplied to " + ("`" + O + "`, expected a ReactNode."));
|
|
1228
1228
|
}
|
|
@@ -1355,7 +1355,7 @@ function Ta() {
|
|
|
1355
1355
|
function o() {
|
|
1356
1356
|
}
|
|
1357
1357
|
return o.resetWarningCache = t, gt = function() {
|
|
1358
|
-
function n(r, s,
|
|
1358
|
+
function n(r, s, u, p, d, l) {
|
|
1359
1359
|
if (l !== e) {
|
|
1360
1360
|
var v = new Error(
|
|
1361
1361
|
"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"
|
|
@@ -1407,22 +1407,22 @@ function De(e, t, o, n) {
|
|
|
1407
1407
|
});
|
|
1408
1408
|
}
|
|
1409
1409
|
return new (o || (o = Promise))(function(i, r) {
|
|
1410
|
-
function s(
|
|
1410
|
+
function s(d) {
|
|
1411
1411
|
try {
|
|
1412
|
-
p(n.next(
|
|
1412
|
+
p(n.next(d));
|
|
1413
1413
|
} catch (l) {
|
|
1414
1414
|
r(l);
|
|
1415
1415
|
}
|
|
1416
1416
|
}
|
|
1417
|
-
function d
|
|
1417
|
+
function u(d) {
|
|
1418
1418
|
try {
|
|
1419
|
-
p(n.throw(
|
|
1419
|
+
p(n.throw(d));
|
|
1420
1420
|
} catch (l) {
|
|
1421
1421
|
r(l);
|
|
1422
1422
|
}
|
|
1423
1423
|
}
|
|
1424
|
-
function p(
|
|
1425
|
-
|
|
1424
|
+
function p(d) {
|
|
1425
|
+
d.done ? i(d.value) : a(d.value).then(s, u);
|
|
1426
1426
|
}
|
|
1427
1427
|
p((n = n.apply(e, t || [])).next());
|
|
1428
1428
|
});
|
|
@@ -2857,8 +2857,8 @@ function Ha(e, t) {
|
|
|
2857
2857
|
try {
|
|
2858
2858
|
for (o = o.call(e); !(a = (r = o.next()).done) && (n.push(r.value), !(t && n.length === t)); a = !0)
|
|
2859
2859
|
;
|
|
2860
|
-
} catch (
|
|
2861
|
-
i = !0, s =
|
|
2860
|
+
} catch (u) {
|
|
2861
|
+
i = !0, s = u;
|
|
2862
2862
|
} finally {
|
|
2863
2863
|
try {
|
|
2864
2864
|
!a && o.return != null && o.return();
|
|
@@ -2912,8 +2912,8 @@ function je(e) {
|
|
|
2912
2912
|
}
|
|
2913
2913
|
function ei(e) {
|
|
2914
2914
|
var t = e.files, o = e.accept, n = e.minSize, a = e.maxSize, i = e.multiple, r = e.maxFiles, s = e.validator;
|
|
2915
|
-
return !i && t.length > 1 || i && r >= 1 && t.length > r ? !1 : t.every(function(
|
|
2916
|
-
var p = Co(
|
|
2915
|
+
return !i && t.length > 1 || i && r >= 1 && t.length > r ? !1 : t.every(function(u) {
|
|
2916
|
+
var p = Co(u, o), d = Me(p, 1), l = d[0], v = To(u, n, a), b = Me(v, 1), k = b[0], y = s ? s(u) : null;
|
|
2917
2917
|
return l && k && !y;
|
|
2918
2918
|
});
|
|
2919
2919
|
}
|
|
@@ -3032,8 +3032,8 @@ function xi(e, t) {
|
|
|
3032
3032
|
try {
|
|
3033
3033
|
for (o = o.call(e); !(a = (r = o.next()).done) && (n.push(r.value), !(t && n.length === t)); a = !0)
|
|
3034
3034
|
;
|
|
3035
|
-
} catch (
|
|
3036
|
-
i = !0, s =
|
|
3035
|
+
} catch (u) {
|
|
3036
|
+
i = !0, s = u;
|
|
3037
3037
|
} finally {
|
|
3038
3038
|
try {
|
|
3039
3039
|
!a && o.return != null && o.return();
|
|
@@ -3294,7 +3294,7 @@ var St = {
|
|
|
3294
3294
|
fileRejections: []
|
|
3295
3295
|
};
|
|
3296
3296
|
function yi() {
|
|
3297
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = J(J({}, Ro), e), o = t.accept, n = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple,
|
|
3297
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = J(J({}, Ro), e), o = t.accept, n = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, u = t.maxFiles, p = t.onDragEnter, d = t.onDragLeave, l = t.onDragOver, v = t.onDrop, b = t.onDropAccepted, k = t.onDropRejected, y = t.onFileDialogCancel, T = t.onFileDialogOpen, A = t.useFsAccessApi, M = t.autoFocus, j = t.preventDropOnDocument, w = t.noClick, c = t.noKeyboard, S = t.noDrag, P = t.noDragEventsBubbling, L = t.onError, Q = t.validator, oe = Fe(function() {
|
|
3298
3298
|
return ri(o);
|
|
3299
3299
|
}, [o]), ee = Fe(function() {
|
|
3300
3300
|
return ii(o);
|
|
@@ -3333,15 +3333,15 @@ function yi() {
|
|
|
3333
3333
|
}, [L]), z = fe(function(x) {
|
|
3334
3334
|
x.preventDefault(), x.persist(), Ue(x), D.current = [].concat(mi(D.current), [x.target]), Ge(x) && Promise.resolve(a(x)).then(function(R) {
|
|
3335
3335
|
if (!(Ze(x) && !P)) {
|
|
3336
|
-
var
|
|
3336
|
+
var ne = R.length, pe = ne > 0 && ei({
|
|
3337
3337
|
files: R,
|
|
3338
|
-
accept:
|
|
3338
|
+
accept: oe,
|
|
3339
3339
|
minSize: r,
|
|
3340
3340
|
maxSize: i,
|
|
3341
3341
|
multiple: s,
|
|
3342
|
-
maxFiles:
|
|
3342
|
+
maxFiles: u,
|
|
3343
3343
|
validator: Q
|
|
3344
|
-
}), xe =
|
|
3344
|
+
}), xe = ne > 0 && !pe;
|
|
3345
3345
|
B({
|
|
3346
3346
|
isDragAccept: pe,
|
|
3347
3347
|
isDragReject: xe,
|
|
@@ -3352,7 +3352,7 @@ function yi() {
|
|
|
3352
3352
|
}).catch(function(R) {
|
|
3353
3353
|
return I(R);
|
|
3354
3354
|
});
|
|
3355
|
-
}, [a, p, I, P,
|
|
3355
|
+
}, [a, p, I, P, oe, r, i, s, u, Q]), U = fe(function(x) {
|
|
3356
3356
|
x.preventDefault(), x.persist(), Ue(x);
|
|
3357
3357
|
var R = Ge(x);
|
|
3358
3358
|
if (R && x.dataTransfer)
|
|
@@ -3365,19 +3365,19 @@ function yi() {
|
|
|
3365
3365
|
x.preventDefault(), x.persist(), Ue(x);
|
|
3366
3366
|
var R = D.current.filter(function(pe) {
|
|
3367
3367
|
return K.current && K.current.contains(pe);
|
|
3368
|
-
}),
|
|
3369
|
-
|
|
3368
|
+
}), ne = R.indexOf(x.target);
|
|
3369
|
+
ne !== -1 && R.splice(ne, 1), D.current = R, !(R.length > 0) && (B({
|
|
3370
3370
|
type: "setDraggedFiles",
|
|
3371
3371
|
isDragActive: !1,
|
|
3372
3372
|
isDragAccept: !1,
|
|
3373
3373
|
isDragReject: !1
|
|
3374
|
-
}), Ge(x) &&
|
|
3375
|
-
}, [K,
|
|
3376
|
-
var
|
|
3374
|
+
}), Ge(x) && d && d(x));
|
|
3375
|
+
}, [K, d, P]), W = fe(function(x, R) {
|
|
3376
|
+
var ne = [], pe = [];
|
|
3377
3377
|
x.forEach(function(xe) {
|
|
3378
|
-
var Pe = Co(xe,
|
|
3378
|
+
var Pe = Co(xe, oe), Le = ht(Pe, 2), ot = Le[0], nt = Le[1], at = To(xe, r, i), He = ht(at, 2), it = He[0], rt = He[1], st = Q ? Q(xe) : null;
|
|
3379
3379
|
if (ot && it && !st)
|
|
3380
|
-
|
|
3380
|
+
ne.push(xe);
|
|
3381
3381
|
else {
|
|
3382
3382
|
var pt = [nt, rt];
|
|
3383
3383
|
st && (pt = pt.concat(st)), pe.push({
|
|
@@ -3387,18 +3387,18 @@ function yi() {
|
|
|
3387
3387
|
})
|
|
3388
3388
|
});
|
|
3389
3389
|
}
|
|
3390
|
-
}), (!s &&
|
|
3390
|
+
}), (!s && ne.length > 1 || s && u >= 1 && ne.length > u) && (ne.forEach(function(xe) {
|
|
3391
3391
|
pe.push({
|
|
3392
3392
|
file: xe,
|
|
3393
3393
|
errors: [Ja]
|
|
3394
3394
|
});
|
|
3395
|
-
}),
|
|
3396
|
-
acceptedFiles:
|
|
3395
|
+
}), ne.splice(0)), B({
|
|
3396
|
+
acceptedFiles: ne,
|
|
3397
3397
|
fileRejections: pe,
|
|
3398
3398
|
isDragReject: pe.length > 0,
|
|
3399
3399
|
type: "setFiles"
|
|
3400
|
-
}), v && v(
|
|
3401
|
-
}, [B, s,
|
|
3400
|
+
}), v && v(ne, pe, R), pe.length > 0 && k && k(pe, R), ne.length > 0 && b && b(ne, R);
|
|
3401
|
+
}, [B, s, oe, r, i, u, v, b, k, Q]), ie = fe(function(x) {
|
|
3402
3402
|
x.preventDefault(), x.persist(), Ue(x), D.current = [], Ge(x) && Promise.resolve(a(x)).then(function(R) {
|
|
3403
3403
|
Ze(x) && !P || W(R, x);
|
|
3404
3404
|
}).catch(function(R) {
|
|
@@ -3453,7 +3453,7 @@ function yi() {
|
|
|
3453
3453
|
P && R.stopPropagation();
|
|
3454
3454
|
}, Lo = Fe(function() {
|
|
3455
3455
|
return function() {
|
|
3456
|
-
var x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, R = x.refKey,
|
|
3456
|
+
var x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, R = x.refKey, ne = R === void 0 ? "ref" : R, pe = x.role, xe = x.onKeyDown, Pe = x.onFocus, Le = x.onBlur, ot = x.onClick, nt = x.onDragEnter, at = x.onDragOver, He = x.onDragLeave, it = x.onDrop, rt = Qe(x, di);
|
|
3457
3457
|
return J(J(Et({
|
|
3458
3458
|
onKeyDown: tt(Ce(xe, ge)),
|
|
3459
3459
|
onFocus: tt(Ce(Pe, Se)),
|
|
@@ -3464,7 +3464,7 @@ function yi() {
|
|
|
3464
3464
|
onDragLeave: $e(Ce(He, V)),
|
|
3465
3465
|
onDrop: $e(Ce(it, ie)),
|
|
3466
3466
|
role: typeof pe == "string" && pe !== "" ? pe : "presentation"
|
|
3467
|
-
},
|
|
3467
|
+
}, ne, K), !n && !c ? {
|
|
3468
3468
|
tabIndex: 0
|
|
3469
3469
|
} : {}), rt);
|
|
3470
3470
|
};
|
|
@@ -3472,8 +3472,8 @@ function yi() {
|
|
|
3472
3472
|
x.stopPropagation();
|
|
3473
3473
|
}, []), Oo = Fe(function() {
|
|
3474
3474
|
return function() {
|
|
3475
|
-
var x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, R = x.refKey,
|
|
3476
|
-
accept:
|
|
3475
|
+
var x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, R = x.refKey, ne = R === void 0 ? "ref" : R, pe = x.onChange, xe = x.onClick, Pe = Qe(x, ui), Le = Et({
|
|
3476
|
+
accept: oe,
|
|
3477
3477
|
multiple: s,
|
|
3478
3478
|
type: "file",
|
|
3479
3479
|
style: {
|
|
@@ -3491,7 +3491,7 @@ function yi() {
|
|
|
3491
3491
|
onChange: Ie(Ce(pe, ie)),
|
|
3492
3492
|
onClick: Ie(Ce(xe, Fo)),
|
|
3493
3493
|
tabIndex: -1
|
|
3494
|
-
},
|
|
3494
|
+
}, ne, Z);
|
|
3495
3495
|
return J(J({}, Le), Pe);
|
|
3496
3496
|
};
|
|
3497
3497
|
}, [Z, o, s, ie, n]);
|
|
@@ -3551,24 +3551,24 @@ const ki = (e) => {
|
|
|
3551
3551
|
disabled: i,
|
|
3552
3552
|
name: r,
|
|
3553
3553
|
multiple: s,
|
|
3554
|
-
maxFiles:
|
|
3554
|
+
maxFiles: u,
|
|
3555
3555
|
files: p = []
|
|
3556
|
-
} = e,
|
|
3556
|
+
} = e, d = fe(
|
|
3557
3557
|
(l) => {
|
|
3558
3558
|
if (!s) {
|
|
3559
3559
|
t(l, r);
|
|
3560
3560
|
return;
|
|
3561
3561
|
}
|
|
3562
3562
|
const v = [...p, ...l];
|
|
3563
|
-
if (
|
|
3564
|
-
console.log(`Максимальное возможное количество файлов для загрузки - ${
|
|
3563
|
+
if (u && v.length > u) {
|
|
3564
|
+
console.log(`Максимальное возможное количество файлов для загрузки - ${u}`), t(v.slice(0, u), r);
|
|
3565
3565
|
return;
|
|
3566
3566
|
}
|
|
3567
3567
|
t(v, r);
|
|
3568
3568
|
},
|
|
3569
|
-
[p,
|
|
3569
|
+
[p, u, s, r, t]
|
|
3570
3570
|
);
|
|
3571
|
-
return /* @__PURE__ */ m(et, { multiple: s, onDrop:
|
|
3571
|
+
return /* @__PURE__ */ m(et, { multiple: s, onDrop: d, maxSize: n, accept: a, children: ({ getRootProps: l, getInputProps: v }) => /* @__PURE__ */ H("div", { ...l({}), style: { height: "100%" }, children: [
|
|
3572
3572
|
/* @__PURE__ */ m("input", { ...v({}), disabled: i, name: r }),
|
|
3573
3573
|
o
|
|
3574
3574
|
] }) });
|
|
@@ -3581,7 +3581,7 @@ const ki = (e) => {
|
|
|
3581
3581
|
spDropdown__dopdownListItem: Ri,
|
|
3582
3582
|
spDropdown__dopdownListItem_textCenter: Ai,
|
|
3583
3583
|
spDropdown__downloadListItemDescription: ji
|
|
3584
|
-
},
|
|
3584
|
+
}, Xs = (e) => {
|
|
3585
3585
|
const {
|
|
3586
3586
|
labelText: t = "Выпадающий список",
|
|
3587
3587
|
listName: o,
|
|
@@ -3593,11 +3593,11 @@ const ki = (e) => {
|
|
|
3593
3593
|
...i && { [i]: !0 }
|
|
3594
3594
|
}), s = f({
|
|
3595
3595
|
[Ee.spDropdown__labelText]: !0
|
|
3596
|
-
}),
|
|
3596
|
+
}), u = f({
|
|
3597
3597
|
[Ee.spDropdown__tooltipContainer]: !0
|
|
3598
3598
|
}), p = f({
|
|
3599
3599
|
[Ee.spDropdown__dropdownList]: !0
|
|
3600
|
-
}),
|
|
3600
|
+
}), d = f({
|
|
3601
3601
|
[Ee.spDropdown__dropdownListHeader]: !0
|
|
3602
3602
|
}), l = f({
|
|
3603
3603
|
[Ee.spDropdown__downloadListItemDescription]: !0
|
|
@@ -3609,7 +3609,7 @@ const ki = (e) => {
|
|
|
3609
3609
|
triggerAction: () => b(!0),
|
|
3610
3610
|
actionOnClose: () => b(!1),
|
|
3611
3611
|
text: /* @__PURE__ */ H("div", { className: p, children: [
|
|
3612
|
-
o && /* @__PURE__ */ m("div", { className:
|
|
3612
|
+
o && /* @__PURE__ */ m("div", { className: d, children: o }),
|
|
3613
3613
|
n.map((y, T) => /* @__PURE__ */ H(
|
|
3614
3614
|
"div",
|
|
3615
3615
|
{
|
|
@@ -3632,7 +3632,7 @@ const ki = (e) => {
|
|
|
3632
3632
|
isStopPropagationClickOnTrigger: !0,
|
|
3633
3633
|
trigger: /* @__PURE__ */ H("div", { className: r, children: [
|
|
3634
3634
|
/* @__PURE__ */ m("div", { className: s, children: t }),
|
|
3635
|
-
/* @__PURE__ */ m("div", { className:
|
|
3635
|
+
/* @__PURE__ */ m("div", { className: u, children: /* @__PURE__ */ m(be, { name: ue.SelectChevronDown, rotate: v ? 180 : void 0 }) })
|
|
3636
3636
|
] })
|
|
3637
3637
|
}
|
|
3638
3638
|
);
|
|
@@ -3648,9 +3648,9 @@ const ki = (e) => {
|
|
|
3648
3648
|
classNameBaseTooltipContentRoot: i,
|
|
3649
3649
|
classNameBaseTooltipRoot: r,
|
|
3650
3650
|
...s
|
|
3651
|
-
} = e,
|
|
3651
|
+
} = e, u = ve(null), [p, d] = le(!1);
|
|
3652
3652
|
re(() => {
|
|
3653
|
-
|
|
3653
|
+
u.current && d(u.current.scrollWidth > u.current.clientWidth);
|
|
3654
3654
|
}, [t]);
|
|
3655
3655
|
const l = f({
|
|
3656
3656
|
[oo.ellipsisTextWithTooltip]: !0,
|
|
@@ -3670,7 +3670,7 @@ const ki = (e) => {
|
|
|
3670
3670
|
classNameBaseTooltipRoot: r,
|
|
3671
3671
|
isVisibleTooltip: p,
|
|
3672
3672
|
text: t,
|
|
3673
|
-
trigger: /* @__PURE__ */ m(Ne, { ...s, classNameRoot: l, isEllipsis: !0, ref:
|
|
3673
|
+
trigger: /* @__PURE__ */ m(Ne, { ...s, classNameRoot: l, isEllipsis: !0, ref: u, children: t })
|
|
3674
3674
|
}
|
|
3675
3675
|
);
|
|
3676
3676
|
}, Fi = "_spForm_zefbj_43", Oi = "_spForm_fullWidth_zefbj_46", zi = "_spForm_withSeparator_zefbj_49", We = {
|
|
@@ -3679,7 +3679,7 @@ const ki = (e) => {
|
|
|
3679
3679
|
spForm_withSeparator: zi,
|
|
3680
3680
|
"spForm_addMargin--size-lg": "_spForm_addMargin--size-lg_zefbj_67",
|
|
3681
3681
|
"spForm_addMargin--size-md": "_spForm_addMargin--size-md_zefbj_75"
|
|
3682
|
-
},
|
|
3682
|
+
}, Zs = (e) => {
|
|
3683
3683
|
const {
|
|
3684
3684
|
size: t = "lg",
|
|
3685
3685
|
children: o,
|
|
@@ -3688,7 +3688,7 @@ const ki = (e) => {
|
|
|
3688
3688
|
withSeparator: i = !1,
|
|
3689
3689
|
fullWidth: r = !0,
|
|
3690
3690
|
classNameRoot: s,
|
|
3691
|
-
...
|
|
3691
|
+
...u
|
|
3692
3692
|
} = e, p = f({
|
|
3693
3693
|
[We.spForm]: !0,
|
|
3694
3694
|
[We.spForm_fullWidth]: r,
|
|
@@ -3697,7 +3697,7 @@ const ki = (e) => {
|
|
|
3697
3697
|
[We.spForm_withSeparator]: i,
|
|
3698
3698
|
...s && { [s]: !0 }
|
|
3699
3699
|
});
|
|
3700
|
-
return /* @__PURE__ */ m("form", { ...
|
|
3700
|
+
return /* @__PURE__ */ m("form", { ...u, onSubmit: (l) => {
|
|
3701
3701
|
l.preventDefault(), n && n();
|
|
3702
3702
|
}, className: p, children: o });
|
|
3703
3703
|
}, Pi = "_spLabel_g0hfy_43", Bi = "_spLabel__text_g0hfy_52", Wi = "_spLabel__tooltip_g0hfy_62", Mi = "_spLabel__required_g0hfy_67", Ke = {
|
|
@@ -3716,17 +3716,17 @@ const ki = (e) => {
|
|
|
3716
3716
|
} = e, s = f({
|
|
3717
3717
|
[Ke.spLabel]: !0,
|
|
3718
3718
|
...i && { [i]: !0 }
|
|
3719
|
-
}),
|
|
3719
|
+
}), u = f({
|
|
3720
3720
|
[Ke.spLabel__text]: !0
|
|
3721
3721
|
}), p = f({
|
|
3722
3722
|
[Ke.spLabel__required]: t
|
|
3723
|
-
}),
|
|
3723
|
+
}), d = f({
|
|
3724
3724
|
[Ke.spLabel__tooltip]: !0
|
|
3725
3725
|
});
|
|
3726
3726
|
return /* @__PURE__ */ H("div", { className: s, children: [
|
|
3727
|
-
/* @__PURE__ */ m("label", { className:
|
|
3727
|
+
/* @__PURE__ */ m("label", { className: u, children: o }),
|
|
3728
3728
|
t && /* @__PURE__ */ m("div", { className: p, children: "*" }),
|
|
3729
|
-
n && /* @__PURE__ */ m("div", { className:
|
|
3729
|
+
n && /* @__PURE__ */ m("div", { className: d, children: /* @__PURE__ */ m(
|
|
3730
3730
|
Je,
|
|
3731
3731
|
{
|
|
3732
3732
|
position: a,
|
|
@@ -3754,9 +3754,9 @@ const ki = (e) => {
|
|
|
3754
3754
|
variant: i = "outlined",
|
|
3755
3755
|
disabled: r = !1,
|
|
3756
3756
|
error: s,
|
|
3757
|
-
required:
|
|
3757
|
+
required: u,
|
|
3758
3758
|
name: p,
|
|
3759
|
-
isClearable:
|
|
3759
|
+
isClearable: d,
|
|
3760
3760
|
pattern: l,
|
|
3761
3761
|
onMouseEnter: v,
|
|
3762
3762
|
infoTooltipText: b,
|
|
@@ -3778,10 +3778,10 @@ const ki = (e) => {
|
|
|
3778
3778
|
[Te.spInput__control]: !0,
|
|
3779
3779
|
[Te.spInput__control_disabled]: r,
|
|
3780
3780
|
[Te[`spInput__control_${i}`]]: i,
|
|
3781
|
-
[Te.spInput__control_clearable]:
|
|
3781
|
+
[Te.spInput__control_clearable]: d
|
|
3782
3782
|
}), Q = f({
|
|
3783
3783
|
[Te.spInput__clear]: !0
|
|
3784
|
-
}),
|
|
3784
|
+
}), oe = f({
|
|
3785
3785
|
[Te.spInput__error]: !0,
|
|
3786
3786
|
...M && { [M]: !0 }
|
|
3787
3787
|
}), ee = f({
|
|
@@ -3798,7 +3798,7 @@ const ki = (e) => {
|
|
|
3798
3798
|
{
|
|
3799
3799
|
classNameRoot: ee,
|
|
3800
3800
|
tooltipPosition: k,
|
|
3801
|
-
required:
|
|
3801
|
+
required: u,
|
|
3802
3802
|
label: a,
|
|
3803
3803
|
infoTooltipText: b,
|
|
3804
3804
|
classNameBaseTooltipRoot: w
|
|
@@ -3819,9 +3819,9 @@ const ki = (e) => {
|
|
|
3819
3819
|
ref: t
|
|
3820
3820
|
}
|
|
3821
3821
|
),
|
|
3822
|
-
|
|
3822
|
+
d && o && !r && /* @__PURE__ */ m(be, { onClick: ae, className: Q, name: ue.Trash })
|
|
3823
3823
|
] }),
|
|
3824
|
-
s && /* @__PURE__ */ m("div", { className:
|
|
3824
|
+
s && /* @__PURE__ */ m("div", { className: oe, children: s })
|
|
3825
3825
|
] });
|
|
3826
3826
|
});
|
|
3827
3827
|
Qi.displayName = "Input";
|
|
@@ -3842,42 +3842,42 @@ function ir(e, t) {
|
|
|
3842
3842
|
if (a && n || !(a || n))
|
|
3843
3843
|
return !1;
|
|
3844
3844
|
var i = o.expressions.every(function(r) {
|
|
3845
|
-
var s = r.feature,
|
|
3846
|
-
if (!
|
|
3845
|
+
var s = r.feature, u = r.modifier, p = r.value, d = t[s];
|
|
3846
|
+
if (!d)
|
|
3847
3847
|
return !1;
|
|
3848
3848
|
switch (s) {
|
|
3849
3849
|
case "orientation":
|
|
3850
3850
|
case "scan":
|
|
3851
|
-
return
|
|
3851
|
+
return d.toLowerCase() === p.toLowerCase();
|
|
3852
3852
|
case "width":
|
|
3853
3853
|
case "height":
|
|
3854
3854
|
case "device-width":
|
|
3855
3855
|
case "device-height":
|
|
3856
|
-
p = io(p),
|
|
3856
|
+
p = io(p), d = io(d);
|
|
3857
3857
|
break;
|
|
3858
3858
|
case "resolution":
|
|
3859
|
-
p = ao(p),
|
|
3859
|
+
p = ao(p), d = ao(d);
|
|
3860
3860
|
break;
|
|
3861
3861
|
case "aspect-ratio":
|
|
3862
3862
|
case "device-aspect-ratio":
|
|
3863
3863
|
case /* Deprecated */
|
|
3864
3864
|
"device-pixel-ratio":
|
|
3865
|
-
p = no(p),
|
|
3865
|
+
p = no(p), d = no(d);
|
|
3866
3866
|
break;
|
|
3867
3867
|
case "grid":
|
|
3868
3868
|
case "color":
|
|
3869
3869
|
case "color-index":
|
|
3870
3870
|
case "monochrome":
|
|
3871
|
-
p = parseInt(p, 10) || 1,
|
|
3871
|
+
p = parseInt(p, 10) || 1, d = parseInt(d, 10) || 0;
|
|
3872
3872
|
break;
|
|
3873
3873
|
}
|
|
3874
|
-
switch (
|
|
3874
|
+
switch (u) {
|
|
3875
3875
|
case "min":
|
|
3876
|
-
return
|
|
3876
|
+
return d >= p;
|
|
3877
3877
|
case "max":
|
|
3878
|
-
return
|
|
3878
|
+
return d <= p;
|
|
3879
3879
|
default:
|
|
3880
|
-
return
|
|
3880
|
+
return d === p;
|
|
3881
3881
|
}
|
|
3882
3882
|
});
|
|
3883
3883
|
return i && !n || !i && n;
|
|
@@ -3888,11 +3888,11 @@ function Ao(e) {
|
|
|
3888
3888
|
t = t.trim();
|
|
3889
3889
|
var o = t.match(er), n = o[1], a = o[2], i = o[3] || "", r = {};
|
|
3890
3890
|
return r.inverse = !!n && n.toLowerCase() === "not", r.type = a ? a.toLowerCase() : "all", i = i.match(/\([^\)]+\)/g) || [], r.expressions = i.map(function(s) {
|
|
3891
|
-
var
|
|
3891
|
+
var u = s.match(tr), p = u[1].toLowerCase().match(or);
|
|
3892
3892
|
return {
|
|
3893
3893
|
modifier: p[1],
|
|
3894
3894
|
feature: p[2],
|
|
3895
|
-
value:
|
|
3895
|
+
value: u[2]
|
|
3896
3896
|
};
|
|
3897
3897
|
}), r;
|
|
3898
3898
|
});
|
|
@@ -3936,7 +3936,7 @@ function io(e) {
|
|
|
3936
3936
|
var rr = Dt.match, ro = typeof window < "u" ? window.matchMedia : null;
|
|
3937
3937
|
function sr(e, t, o) {
|
|
3938
3938
|
var n = this, a;
|
|
3939
|
-
ro && !o && (a = ro.call(window, e)), a ? (this.matches = a.matches, this.media = a.media, a.addListener(s)) : (this.matches = rr(e, t), this.media = e), this.addListener = i, this.removeListener = r, this.dispose =
|
|
3939
|
+
ro && !o && (a = ro.call(window, e)), a ? (this.matches = a.matches, this.media = a.media, a.addListener(s)) : (this.matches = rr(e, t), this.media = e), this.addListener = i, this.removeListener = r, this.dispose = u;
|
|
3940
3940
|
function i(p) {
|
|
3941
3941
|
a && a.addListener(p);
|
|
3942
3942
|
}
|
|
@@ -3946,7 +3946,7 @@ function sr(e, t, o) {
|
|
|
3946
3946
|
function s(p) {
|
|
3947
3947
|
n.matches = p.matches, n.media = p.media;
|
|
3948
3948
|
}
|
|
3949
|
-
function
|
|
3949
|
+
function u() {
|
|
3950
3950
|
a && a.removeListener(s);
|
|
3951
3951
|
}
|
|
3952
3952
|
}
|
|
@@ -4006,7 +4006,7 @@ const me = N.oneOfType([N.string, N.number]), Do = {
|
|
|
4006
4006
|
monochrome: N.bool,
|
|
4007
4007
|
resolution: me,
|
|
4008
4008
|
type: Object.keys(Do)
|
|
4009
|
-
}, { type:
|
|
4009
|
+
}, { type: Qs, ...vr } = fr, gr = {
|
|
4010
4010
|
minAspectRatio: N.string,
|
|
4011
4011
|
maxAspectRatio: N.string,
|
|
4012
4012
|
minDeviceAspectRatio: N.string,
|
|
@@ -4096,7 +4096,7 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4096
4096
|
isMobile: r
|
|
4097
4097
|
}
|
|
4098
4098
|
};
|
|
4099
|
-
},
|
|
4099
|
+
}, Js = (e) => {
|
|
4100
4100
|
const { breakpoints: t, children: o } = e, { device: n } = Ar(t);
|
|
4101
4101
|
return /* @__PURE__ */ m(
|
|
4102
4102
|
Ji.Provider,
|
|
@@ -4108,29 +4108,29 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4108
4108
|
}
|
|
4109
4109
|
);
|
|
4110
4110
|
}, jr = 2e3, Dr = (e) => {
|
|
4111
|
-
const { targetValue: t, duration: o = jr, doneValue: n } = e, [a, i] = le(t), r = ve(), s = ve(0),
|
|
4111
|
+
const { targetValue: t, duration: o = jr, doneValue: n } = e, [a, i] = le(t), r = ve(), s = ve(0), u = ve(), p = ve(t), [d, l] = le(!1), v = ve();
|
|
4112
4112
|
return re(() => {
|
|
4113
4113
|
if (p.current = t, t === s.current) return;
|
|
4114
|
-
if (r.current && cancelAnimationFrame(r.current), t === n && !
|
|
4114
|
+
if (r.current && cancelAnimationFrame(r.current), t === n && !d) {
|
|
4115
4115
|
i(n), s.current = n;
|
|
4116
4116
|
return;
|
|
4117
4117
|
}
|
|
4118
|
-
s.current = a,
|
|
4118
|
+
s.current = a, u.current = performance.now();
|
|
4119
4119
|
const b = (k) => {
|
|
4120
|
-
if (!
|
|
4121
|
-
const y = k -
|
|
4120
|
+
if (!u.current) return;
|
|
4121
|
+
const y = k - u.current, T = Math.min(y / o, 1), A = T < 0.5 ? 4 * T * T * T : 1 - Math.pow(-2 * T + 2, 3) / 2, M = s.current + (p.current - s.current) * A, j = Math.max(0, Math.floor(M));
|
|
4122
4122
|
i(j), T < 1 && (r.current = requestAnimationFrame(b));
|
|
4123
4123
|
};
|
|
4124
4124
|
return r.current = requestAnimationFrame(b), () => {
|
|
4125
4125
|
r.current && cancelAnimationFrame(r.current);
|
|
4126
4126
|
};
|
|
4127
|
-
}, [t, o, n]), re(() => (a === n ? v.current = window.setTimeout(() => {
|
|
4127
|
+
}, [t, o, n, d]), re(() => (a === n ? v.current = window.setTimeout(() => {
|
|
4128
4128
|
l(!1);
|
|
4129
4129
|
}, 500) : (l(!0), v.current && window.clearTimeout(v.current)), () => {
|
|
4130
4130
|
v.current && window.clearTimeout(v.current);
|
|
4131
|
-
}), [a, n]), {
|
|
4131
|
+
}), [a, n]), console.log("currentValue: -->", a), {
|
|
4132
4132
|
animatedValue: a,
|
|
4133
|
-
isLoading:
|
|
4133
|
+
isLoading: d
|
|
4134
4134
|
};
|
|
4135
4135
|
}, Ir = "_progressWrapper_xn9s0_44", Lr = "_progressWrapper_loading_xn9s0_47", Fr = "_progressWrapper__childrenWrapper_xn9s0_52", Or = "_progressWrapper__childrenWrapper_loading_xn9s0_58", zr = "_pulse_xn9s0_1", Pr = "_progressWrapper__progressBadge_xn9s0_64", Br = "_progressWrapper__progressBadge_loading_xn9s0_75", Re = {
|
|
4136
4136
|
progressWrapper: Ir,
|
|
@@ -4142,7 +4142,7 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4142
4142
|
"progressWrapper__childrenWrapper--animated-backgroundProgress": "_progressWrapper__childrenWrapper--animated-backgroundProgress_xn9s0_61",
|
|
4143
4143
|
progressWrapper__progressBadge: Pr,
|
|
4144
4144
|
progressWrapper__progressBadge_loading: Br
|
|
4145
|
-
},
|
|
4145
|
+
}, ep = (e) => {
|
|
4146
4146
|
const {
|
|
4147
4147
|
value: t,
|
|
4148
4148
|
classNameRoot: o,
|
|
@@ -4151,11 +4151,11 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4151
4151
|
children: i,
|
|
4152
4152
|
doneValue: r = 100,
|
|
4153
4153
|
animationVariant: s = "backgroundProgress"
|
|
4154
|
-
} = e, { animatedValue:
|
|
4154
|
+
} = e, { animatedValue: u, isLoading: p } = Dr({
|
|
4155
4155
|
targetValue: t,
|
|
4156
4156
|
duration: a,
|
|
4157
4157
|
doneValue: r
|
|
4158
|
-
}),
|
|
4158
|
+
}), d = f({
|
|
4159
4159
|
[Re.progressWrapper]: !0,
|
|
4160
4160
|
[Re.progressWrapper_loading]: p,
|
|
4161
4161
|
...o && { [o]: !0 }
|
|
@@ -4168,9 +4168,9 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4168
4168
|
[Re[`progressWrapper__childrenWrapper--animated-${s}`]]: s,
|
|
4169
4169
|
[Re.progressWrapper__childrenWrapper_loading]: p
|
|
4170
4170
|
}), b = {
|
|
4171
|
-
"--progress": `${
|
|
4171
|
+
"--progress": `${u / r * 100}%`
|
|
4172
4172
|
};
|
|
4173
|
-
return /* @__PURE__ */ H("div", { className:
|
|
4173
|
+
return /* @__PURE__ */ H("div", { className: d, children: [
|
|
4174
4174
|
/* @__PURE__ */ m(
|
|
4175
4175
|
"div",
|
|
4176
4176
|
{
|
|
@@ -4180,7 +4180,7 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4180
4180
|
}
|
|
4181
4181
|
),
|
|
4182
4182
|
p && /* @__PURE__ */ H(Ne, { classNameRoot: l, children: [
|
|
4183
|
-
|
|
4183
|
+
u,
|
|
4184
4184
|
"%"
|
|
4185
4185
|
] })
|
|
4186
4186
|
] });
|
|
@@ -4199,7 +4199,7 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4199
4199
|
spSelect__list_scrollable: Qr,
|
|
4200
4200
|
spSelect__option: Jr,
|
|
4201
4201
|
spSelect__error: es
|
|
4202
|
-
},
|
|
4202
|
+
}, tp = (e) => {
|
|
4203
4203
|
const {
|
|
4204
4204
|
options: t,
|
|
4205
4205
|
placeholder: o = "Выберите из списка...",
|
|
@@ -4208,9 +4208,9 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4208
4208
|
variant: i = "outlined",
|
|
4209
4209
|
onChange: r,
|
|
4210
4210
|
onMouseEnter: s,
|
|
4211
|
-
error:
|
|
4211
|
+
error: u,
|
|
4212
4212
|
label: p,
|
|
4213
|
-
infoTooltipText:
|
|
4213
|
+
infoTooltipText: d,
|
|
4214
4214
|
tooltipPosition: l,
|
|
4215
4215
|
disabled: v,
|
|
4216
4216
|
required: b,
|
|
@@ -4231,11 +4231,11 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4231
4231
|
);
|
|
4232
4232
|
const L = t.find((_) => _.value === n), Q = (_, h) => {
|
|
4233
4233
|
r(_, { value: h, name: a }), S(!1);
|
|
4234
|
-
},
|
|
4234
|
+
}, oe = () => {
|
|
4235
4235
|
v || S(!c);
|
|
4236
4236
|
}, ee = f({
|
|
4237
4237
|
[he.spSelect]: !0,
|
|
4238
|
-
[he.spSelect_error]: !!
|
|
4238
|
+
[he.spSelect_error]: !!u,
|
|
4239
4239
|
...A && { [A]: !0 }
|
|
4240
4240
|
}), ae = f({
|
|
4241
4241
|
[he.spSelect__container]: !0
|
|
@@ -4265,7 +4265,7 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4265
4265
|
tooltipPosition: l,
|
|
4266
4266
|
required: b,
|
|
4267
4267
|
label: p,
|
|
4268
|
-
infoTooltipText:
|
|
4268
|
+
infoTooltipText: d,
|
|
4269
4269
|
classNameBaseTooltipRoot: w
|
|
4270
4270
|
}
|
|
4271
4271
|
),
|
|
@@ -4276,7 +4276,7 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4276
4276
|
tabIndex: v ? -1 : 0,
|
|
4277
4277
|
title: y ? n : void 0,
|
|
4278
4278
|
className: se,
|
|
4279
|
-
onClick:
|
|
4279
|
+
onClick: oe,
|
|
4280
4280
|
children: [
|
|
4281
4281
|
/* @__PURE__ */ m("div", { className: K, children: (L == null ? void 0 : L.label) || o }),
|
|
4282
4282
|
/* @__PURE__ */ m(
|
|
@@ -4315,11 +4315,11 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4315
4315
|
}
|
|
4316
4316
|
)
|
|
4317
4317
|
] }),
|
|
4318
|
-
|
|
4318
|
+
u && /* @__PURE__ */ m("div", { className: X, children: u })
|
|
4319
4319
|
] });
|
|
4320
4320
|
}, ts = "_skeleton_1u7gu_43", os = {
|
|
4321
4321
|
skeleton: ts
|
|
4322
|
-
},
|
|
4322
|
+
}, op = (e) => {
|
|
4323
4323
|
const { width: t = "100%", height: o = "1rem", circle: n = !1, classNameRoot: a = "", style: i = {} } = e, r = {
|
|
4324
4324
|
width: t,
|
|
4325
4325
|
height: o,
|
|
@@ -4340,7 +4340,7 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4340
4340
|
spStringsGroup__groupItemContent: us,
|
|
4341
4341
|
spStringsGroup__groupItemContentCopyIcon: ms,
|
|
4342
4342
|
spStringsGroup__groupItemContentCopyIcon_copied: _s
|
|
4343
|
-
},
|
|
4343
|
+
}, np = (e) => {
|
|
4344
4344
|
const {
|
|
4345
4345
|
columns: t,
|
|
4346
4346
|
data: o,
|
|
@@ -4353,11 +4353,11 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4353
4353
|
} : w).filter((w) => w.isVisible), s = f({
|
|
4354
4354
|
[ye.spTable]: !0,
|
|
4355
4355
|
...i && { [i]: !0 }
|
|
4356
|
-
}),
|
|
4356
|
+
}), u = f({
|
|
4357
4357
|
[ye.spTable__tdContent]: !0
|
|
4358
4358
|
}), p = f({
|
|
4359
4359
|
[ye.spTable__tdColorContent]: !0
|
|
4360
|
-
}),
|
|
4360
|
+
}), d = f({
|
|
4361
4361
|
[ye.spTable__emptyPage]: !0
|
|
4362
4362
|
}), [l, v] = le(null), b = (w) => {
|
|
4363
4363
|
const { text: c, rowIndex: S, colIndex: P } = w;
|
|
@@ -4368,7 +4368,7 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4368
4368
|
});
|
|
4369
4369
|
}, k = () => {
|
|
4370
4370
|
v(null);
|
|
4371
|
-
}, y = () => /* @__PURE__ */ m("div", { className:
|
|
4371
|
+
}, y = () => /* @__PURE__ */ m("div", { className: d, children: "Данные отсутствуют" }), T = ({
|
|
4372
4372
|
row: w,
|
|
4373
4373
|
col: c
|
|
4374
4374
|
}) => {
|
|
@@ -4396,7 +4396,7 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4396
4396
|
"td",
|
|
4397
4397
|
{
|
|
4398
4398
|
onMouseLeave: L ? k : void 0,
|
|
4399
|
-
children: /* @__PURE__ */ H("div", { className:
|
|
4399
|
+
children: /* @__PURE__ */ H("div", { className: u, children: [
|
|
4400
4400
|
/* @__PURE__ */ m("span", { children: S.isColorContentsCurlyBrackets ? T({ row: w, col: S }) : w[S.key] }),
|
|
4401
4401
|
!po(w[S.key]) && S.isBeCopiedValue && /* @__PURE__ */ m(
|
|
4402
4402
|
be,
|
|
@@ -4497,7 +4497,7 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4497
4497
|
spTabs__tabElement_active: xs,
|
|
4498
4498
|
spTabs__triggerTooltip: hs,
|
|
4499
4499
|
"spTabs--variant-filled": "_spTabs--variant-filled_1citb_93"
|
|
4500
|
-
},
|
|
4500
|
+
}, ap = (e) => {
|
|
4501
4501
|
const {
|
|
4502
4502
|
panes: t,
|
|
4503
4503
|
isSeparated: o = !1,
|
|
@@ -4511,7 +4511,7 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4511
4511
|
[Ae[`spTabs--variant-${i}`]]: i,
|
|
4512
4512
|
[Ae[`spTabs--size-${r}`]]: r,
|
|
4513
4513
|
...n && { [n]: !0 }
|
|
4514
|
-
}),
|
|
4514
|
+
}), u = f({
|
|
4515
4515
|
[Ae.spTabs__triggerTooltip]: !0
|
|
4516
4516
|
}), p = () => {
|
|
4517
4517
|
switch (r) {
|
|
@@ -4521,8 +4521,8 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4521
4521
|
return "p1";
|
|
4522
4522
|
}
|
|
4523
4523
|
};
|
|
4524
|
-
return /* @__PURE__ */ m("div", { className: s, children: t.map((
|
|
4525
|
-
const { name: v, active: b, onClick: k, infoTooltipText: y } =
|
|
4524
|
+
return /* @__PURE__ */ m("div", { className: s, children: t.map((d, l) => {
|
|
4525
|
+
const { name: v, active: b, onClick: k, infoTooltipText: y } = d;
|
|
4526
4526
|
return /* @__PURE__ */ H(
|
|
4527
4527
|
"div",
|
|
4528
4528
|
{
|
|
@@ -4536,31 +4536,31 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4536
4536
|
!!y && /* @__PURE__ */ m(
|
|
4537
4537
|
Je,
|
|
4538
4538
|
{
|
|
4539
|
-
classNameTriggerTooltip:
|
|
4539
|
+
classNameTriggerTooltip: u,
|
|
4540
4540
|
text: y,
|
|
4541
4541
|
classNameBaseTooltipRoot: a
|
|
4542
4542
|
}
|
|
4543
4543
|
)
|
|
4544
4544
|
]
|
|
4545
4545
|
},
|
|
4546
|
-
|
|
4546
|
+
d.key || l
|
|
4547
4547
|
);
|
|
4548
4548
|
}) });
|
|
4549
4549
|
}, bs = "_spTextWithLabel_1dr7p_1", ys = {
|
|
4550
4550
|
spTextWithLabel: bs
|
|
4551
|
-
},
|
|
4551
|
+
}, ip = (e) => {
|
|
4552
4552
|
const { children: t, label: o, style: n, ...a } = e;
|
|
4553
4553
|
return /* @__PURE__ */ H("div", { className: ys.spTextWithLabel, style: { ...n }, children: [
|
|
4554
4554
|
/* @__PURE__ */ m(jt, { label: o }),
|
|
4555
4555
|
/* @__PURE__ */ m(Ne, { ...a, children: t })
|
|
4556
4556
|
] });
|
|
4557
|
-
}, ws = "
|
|
4557
|
+
}, ws = "_spUploadFiles_1ty0v_43", ks = "_spUploadFiles_error_1ty0v_49", Cs = "_spUploadFiles__control_1ty0v_49", Ts = "_spUploadFiles__placeholder_1ty0v_57", Ns = "_spUploadFiles__control_loading_1ty0v_71", Es = "_shimmer_1ty0v_1", Ss = "_spUploadFiles__fileName_1ty0v_86", Rs = "_spUploadFiles_fileUploaded_1ty0v_118", As = "_spUploadFiles_disabled_1ty0v_118", js = "_spUploadFiles__fileNamesList_1ty0v_129", Ds = "_spUploadFiles__fileNamesList_loading_1ty0v_138", Is = "_spUploadFiles__fileNamesListItem_1ty0v_143", Ls = "_spUploadFiles__fileNamesListItem__tooltip_1ty0v_162", Fs = "_spUploadFiles__fileNamesListItem__triggerTooltip_1ty0v_165", Os = "_spUploadFiles__fileNamesListItemDelete_1ty0v_168", zs = "_spUploadFiles__tooltipWrapper_1ty0v_183", Ps = "_spUploadFiles__tooltip_1ty0v_183", Bs = "_spUploadFiles__delete_1ty0v_189", Ws = "_spUploadFiles__delete_loading_1ty0v_193", Ms = "_spUploadFiles__error_1ty0v_202", te = {
|
|
4558
4558
|
spUploadFiles: ws,
|
|
4559
4559
|
spUploadFiles_error: ks,
|
|
4560
4560
|
spUploadFiles__control: Cs,
|
|
4561
|
-
"spUploadFiles--variant-input": "_spUploadFiles--variant-
|
|
4561
|
+
"spUploadFiles--variant-input": "_spUploadFiles--variant-input_1ty0v_53",
|
|
4562
4562
|
spUploadFiles__placeholder: Ts,
|
|
4563
|
-
"spUploadFiles--variant-dropzone": "_spUploadFiles--variant-
|
|
4563
|
+
"spUploadFiles--variant-dropzone": "_spUploadFiles--variant-dropzone_1ty0v_65",
|
|
4564
4564
|
spUploadFiles__control_loading: Ns,
|
|
4565
4565
|
shimmer: Es,
|
|
4566
4566
|
spUploadFiles__fileName: Ss,
|
|
@@ -4569,14 +4569,15 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4569
4569
|
spUploadFiles__fileNamesList: js,
|
|
4570
4570
|
spUploadFiles__fileNamesList_loading: Ds,
|
|
4571
4571
|
spUploadFiles__fileNamesListItem: Is,
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
|
|
4579
|
-
|
|
4572
|
+
spUploadFiles__fileNamesListItem__tooltip: Ls,
|
|
4573
|
+
spUploadFiles__fileNamesListItem__triggerTooltip: Fs,
|
|
4574
|
+
spUploadFiles__fileNamesListItemDelete: Os,
|
|
4575
|
+
spUploadFiles__tooltipWrapper: zs,
|
|
4576
|
+
spUploadFiles__tooltip: Ps,
|
|
4577
|
+
spUploadFiles__delete: Bs,
|
|
4578
|
+
spUploadFiles__delete_loading: Ws,
|
|
4579
|
+
spUploadFiles__error: Ms
|
|
4580
|
+
}, rp = (e) => {
|
|
4580
4581
|
const {
|
|
4581
4582
|
placeholder: t = "Загрузите файл",
|
|
4582
4583
|
variant: o = "input",
|
|
@@ -4585,42 +4586,42 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4585
4586
|
maxSize: i,
|
|
4586
4587
|
accept: r,
|
|
4587
4588
|
disabled: s,
|
|
4588
|
-
multiple:
|
|
4589
|
+
multiple: u,
|
|
4589
4590
|
maxFiles: p,
|
|
4590
|
-
files:
|
|
4591
|
+
files: d = [],
|
|
4591
4592
|
infoTooltipText: l,
|
|
4592
4593
|
tooltipPosition: v = de.TopRight,
|
|
4593
4594
|
classNameRoot: b,
|
|
4594
4595
|
loading: k,
|
|
4595
4596
|
error: y
|
|
4596
|
-
} = e, T =
|
|
4597
|
-
[
|
|
4598
|
-
[
|
|
4599
|
-
[
|
|
4600
|
-
[
|
|
4601
|
-
[
|
|
4602
|
-
[
|
|
4597
|
+
} = e, T = d.map((ee) => ee.name), A = (T == null ? void 0 : T.length) > 0, M = o === "input", j = f({
|
|
4598
|
+
[te.spUploadFiles]: !0,
|
|
4599
|
+
[te[`spUploadFiles--variant-${o}`]]: o,
|
|
4600
|
+
[te.spUploadFiles_error]: !!y,
|
|
4601
|
+
[te.spUploadFiles_disabled]: s,
|
|
4602
|
+
[te.spUploadFiles_multiple]: u,
|
|
4603
|
+
[te.spUploadFiles_fileUploaded]: A,
|
|
4603
4604
|
...b && { [b]: !0 }
|
|
4604
4605
|
}), w = f({
|
|
4605
|
-
[
|
|
4606
|
-
[
|
|
4606
|
+
[te.spUploadFiles__control]: !0,
|
|
4607
|
+
[te.spUploadFiles__control_loading]: k
|
|
4607
4608
|
}), c = f({
|
|
4608
|
-
[
|
|
4609
|
-
[
|
|
4609
|
+
[te.spUploadFiles__fileNamesList]: !0,
|
|
4610
|
+
[te.spUploadFiles__fileNamesList_loading]: k
|
|
4610
4611
|
}), S = f({
|
|
4611
|
-
[
|
|
4612
|
-
[
|
|
4612
|
+
[te.spUploadFiles__delete]: !0,
|
|
4613
|
+
[te.spUploadFiles__delete_loading]: k
|
|
4613
4614
|
}), P = (ee) => {
|
|
4614
4615
|
if (k)
|
|
4615
4616
|
return;
|
|
4616
|
-
const ae = [...
|
|
4617
|
+
const ae = [...d], se = ae.findIndex((K) => K.name === ee);
|
|
4617
4618
|
ae.splice(se, 1), a(ae, n);
|
|
4618
4619
|
}, L = (ee) => {
|
|
4619
4620
|
ee.stopPropagation(), a([], n);
|
|
4620
|
-
}, Q = () =>
|
|
4621
|
+
}, Q = () => u ? /* @__PURE__ */ m("ul", { className: c, children: T.map((ee, ae) => /* @__PURE__ */ H(
|
|
4621
4622
|
"li",
|
|
4622
4623
|
{
|
|
4623
|
-
className:
|
|
4624
|
+
className: te.spUploadFiles__fileNamesListItem,
|
|
4624
4625
|
onClick: (se) => {
|
|
4625
4626
|
se.stopPropagation(), P(ee);
|
|
4626
4627
|
},
|
|
@@ -4630,22 +4631,23 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4630
4631
|
{
|
|
4631
4632
|
type: "p2",
|
|
4632
4633
|
text: ee,
|
|
4633
|
-
|
|
4634
|
+
classNameTooltipRoot: te.spUploadFiles__fileNamesListItem__tooltip,
|
|
4635
|
+
classNameTriggerTooltipRoot: te.spUploadFiles__fileNamesListItem__triggerTooltip
|
|
4634
4636
|
}
|
|
4635
4637
|
),
|
|
4636
|
-
/* @__PURE__ */ m("div", { className:
|
|
4638
|
+
/* @__PURE__ */ m("div", { className: te.spUploadFiles__fileNamesListItemDelete, children: /* @__PURE__ */ m(be, { name: ue.Trash }) })
|
|
4637
4639
|
]
|
|
4638
4640
|
},
|
|
4639
4641
|
ae
|
|
4640
|
-
)) }) : /* @__PURE__ */ m(Ne, { isEllipsis: !0, classNameRoot:
|
|
4641
|
-
A ? Q() : /* @__PURE__ */ m(Ne, { classNameRoot:
|
|
4642
|
+
)) }) : /* @__PURE__ */ m(Ne, { isEllipsis: !0, classNameRoot: te.spUploadFiles__fileName, children: T[0] }), oe = () => /* @__PURE__ */ H(lo, { children: [
|
|
4643
|
+
A ? Q() : /* @__PURE__ */ m(Ne, { classNameRoot: te.spUploadFiles__placeholder, children: t }),
|
|
4642
4644
|
A ? /* @__PURE__ */ m("div", { className: S, onClick: L, children: /* @__PURE__ */ m(be, { name: ue.Close }) }) : M && l && /* @__PURE__ */ m(
|
|
4643
4645
|
Je,
|
|
4644
4646
|
{
|
|
4645
|
-
classNameTooltip:
|
|
4647
|
+
classNameTooltip: te.spUploadFiles__tooltipWrapper,
|
|
4646
4648
|
position: v,
|
|
4647
4649
|
text: l,
|
|
4648
|
-
classNameTriggerTooltip:
|
|
4650
|
+
classNameTriggerTooltip: te.spUploadFiles__tooltip
|
|
4649
4651
|
}
|
|
4650
4652
|
)
|
|
4651
4653
|
] });
|
|
@@ -4653,8 +4655,8 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4653
4655
|
ki,
|
|
4654
4656
|
{
|
|
4655
4657
|
name: n,
|
|
4656
|
-
files:
|
|
4657
|
-
multiple:
|
|
4658
|
+
files: d,
|
|
4659
|
+
multiple: u,
|
|
4658
4660
|
maxSize: i,
|
|
4659
4661
|
maxFiles: p,
|
|
4660
4662
|
accept: r,
|
|
@@ -4663,46 +4665,46 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4663
4665
|
children: /* @__PURE__ */ H("div", { className: j, children: [
|
|
4664
4666
|
/* @__PURE__ */ H("div", { className: w, children: [
|
|
4665
4667
|
M && (k ? /* @__PURE__ */ m(mo, {}) : /* @__PURE__ */ m(be, { name: A ? ue.Check : ue.Upload })),
|
|
4666
|
-
|
|
4668
|
+
oe()
|
|
4667
4669
|
] }),
|
|
4668
|
-
y && /* @__PURE__ */ m("div", { className:
|
|
4670
|
+
y && /* @__PURE__ */ m("div", { className: te.spUploadFiles__error, children: y })
|
|
4669
4671
|
] })
|
|
4670
4672
|
}
|
|
4671
4673
|
);
|
|
4672
4674
|
};
|
|
4673
4675
|
export {
|
|
4674
|
-
|
|
4676
|
+
Hs as Accordion,
|
|
4675
4677
|
Wn as ApplyButtons,
|
|
4676
4678
|
_o as BaseTooltip,
|
|
4677
4679
|
wt as Button,
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4680
|
+
Vs as Checkbox,
|
|
4681
|
+
Gs as Confirm,
|
|
4682
|
+
Ks as ContextMenu,
|
|
4681
4683
|
ki as DefaultDropzone,
|
|
4682
|
-
|
|
4684
|
+
Xs as Dropdown,
|
|
4683
4685
|
ue as EIconName,
|
|
4684
4686
|
de as ETooltipPosition,
|
|
4685
4687
|
Li as EllipsisTextWithTooltip,
|
|
4686
|
-
|
|
4688
|
+
Zs as Form,
|
|
4687
4689
|
be as Icon,
|
|
4688
4690
|
Je as InfoTooltip,
|
|
4689
4691
|
Qi as Input,
|
|
4690
4692
|
jt as Label,
|
|
4691
4693
|
aa as Layer,
|
|
4692
4694
|
Ji as MediaContext,
|
|
4693
|
-
|
|
4695
|
+
Js as MediaContextProvider,
|
|
4694
4696
|
va as Modal,
|
|
4695
4697
|
vo as Portal,
|
|
4696
|
-
|
|
4697
|
-
|
|
4698
|
-
|
|
4698
|
+
ep as ProgressWrapper,
|
|
4699
|
+
tp as Select,
|
|
4700
|
+
op as Skeleton,
|
|
4699
4701
|
mo as Spinner,
|
|
4700
|
-
|
|
4701
|
-
|
|
4702
|
+
np as Table,
|
|
4703
|
+
ap as Tabs,
|
|
4702
4704
|
Ne as Text,
|
|
4703
|
-
|
|
4705
|
+
ip as TextWithLabel,
|
|
4704
4706
|
Rt as Tooltip,
|
|
4705
|
-
|
|
4707
|
+
rp as UploadFiles,
|
|
4706
4708
|
Dr as useAnimatedValue,
|
|
4707
|
-
|
|
4709
|
+
Ys as useModal
|
|
4708
4710
|
};
|