test-stpr-ui-kit 0.4.53 → 0.4.55
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 +182 -184
- package/dist/test-stpr-ui-kit.umd.cjs +9 -9
- package/package.json +1 -1
package/dist/test-stpr-ui-kit.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as q, jsx as c, Fragment as uo } from "react/jsx-runtime";
|
|
2
2
|
import * as k from "react";
|
|
3
|
-
import
|
|
3
|
+
import qe, { useState as te, useEffect as ne, useRef as me, useCallback as ve, createContext as _o, useContext as Ho, useMemo as De, useReducer as Vo, forwardRef as Yo, useImperativeHandle as Go, Fragment as Ko, useLayoutEffect as Xo } from "react";
|
|
4
4
|
import Zo from "react-dom";
|
|
5
5
|
import './test-stpr-ui-kit.css';function fo(e) {
|
|
6
6
|
var t, o, n = "";
|
|
@@ -39,7 +39,7 @@ const Qo = (e) => /* @__PURE__ */ k.createElement("svg", { className: "stpr-icon
|
|
|
39
39
|
file: nn,
|
|
40
40
|
infoError: sn
|
|
41
41
|
};
|
|
42
|
-
return
|
|
42
|
+
return qe.createElement(i[t], {
|
|
43
43
|
...n,
|
|
44
44
|
style: a
|
|
45
45
|
});
|
|
@@ -87,7 +87,7 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
87
87
|
[de.spAccordion_noBorder]: r,
|
|
88
88
|
[de.spAccordion_noPadding]: s,
|
|
89
89
|
...l && { [l]: !0 }
|
|
90
|
-
}),
|
|
90
|
+
}), U = f({
|
|
91
91
|
[de.spAccordion__header]: !0,
|
|
92
92
|
..._ && { [_]: !0 }
|
|
93
93
|
}), A = f({
|
|
@@ -108,8 +108,8 @@ 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__ */
|
|
112
|
-
/* @__PURE__ */
|
|
111
|
+
return /* @__PURE__ */ q("div", { className: P, children: [
|
|
112
|
+
/* @__PURE__ */ q("div", { className: U, children: [
|
|
113
113
|
/* @__PURE__ */ c("div", { className: A, children: /* @__PURE__ */ c("span", { onClick: S, children: t }) }),
|
|
114
114
|
/* @__PURE__ */ c(ge, { onClick: S, className: h, name: pe.ChevronDown })
|
|
115
115
|
] }),
|
|
@@ -135,7 +135,7 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
135
135
|
children: /* @__PURE__ */ c("div", { className: ct.spinner__inner })
|
|
136
136
|
}
|
|
137
137
|
);
|
|
138
|
-
}, Ln = "_spButton_zixup_43", Dn = "_spButton_noPadding_zixup_59", On = "_spButton_onlyIcon_zixup_62", Pn = "_spButton__iconContainer_zixup_70", Bn = "_spButton_link_zixup_73", zn = "_spButton__text_zixup_77", Wn = "_spButton_primary_zixup_89", Mn = "_spButton_blue_zixup_89",
|
|
138
|
+
}, Ln = "_spButton_zixup_43", Dn = "_spButton_noPadding_zixup_59", On = "_spButton_onlyIcon_zixup_62", Pn = "_spButton__iconContainer_zixup_70", Bn = "_spButton_link_zixup_73", zn = "_spButton__text_zixup_77", Wn = "_spButton_primary_zixup_89", Mn = "_spButton_blue_zixup_89", qn = "_spButton_white_zixup_99", Un = "_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
141
|
spButton_onlyIcon: On,
|
|
@@ -144,8 +144,8 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
144
144
|
spButton__text: zn,
|
|
145
145
|
spButton_primary: Wn,
|
|
146
146
|
spButton_blue: Mn,
|
|
147
|
-
spButton_white:
|
|
148
|
-
spButton_secondary:
|
|
147
|
+
spButton_white: qn,
|
|
148
|
+
spButton_secondary: Un,
|
|
149
149
|
spButton_fullWidth: $n,
|
|
150
150
|
spButton_disabled: Hn,
|
|
151
151
|
spButton__spinner: Vn
|
|
@@ -169,14 +169,14 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
169
169
|
classNameIconContainerRoot: S
|
|
170
170
|
} = e, P = (h) => {
|
|
171
171
|
s || a == null || a(h);
|
|
172
|
-
},
|
|
172
|
+
}, U = () => {
|
|
173
173
|
const h = f({
|
|
174
174
|
[we.spButton__text]: !0
|
|
175
175
|
}), d = f({
|
|
176
176
|
[we.spButton__iconContainer]: !0,
|
|
177
177
|
...S && { [S]: !0 }
|
|
178
178
|
});
|
|
179
|
-
return /* @__PURE__ */
|
|
179
|
+
return /* @__PURE__ */ q(uo, { children: [
|
|
180
180
|
(i || m) && /* @__PURE__ */ c("div", { className: d, children: m ? /* @__PURE__ */ c(vo, { classNameRoot: we.spButton__spinner }) : i && /* @__PURE__ */ c(ge, { name: i, rotate: r }) }),
|
|
181
181
|
!y && _ && /* @__PURE__ */ c("div", { className: h, children: _ })
|
|
182
182
|
] });
|
|
@@ -200,7 +200,7 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
200
200
|
disabled: s,
|
|
201
201
|
type: u,
|
|
202
202
|
form: l,
|
|
203
|
-
children:
|
|
203
|
+
children: U()
|
|
204
204
|
}
|
|
205
205
|
);
|
|
206
206
|
}, Yn = "_spApplyButtons_e8c1h_43", Gn = "_spApplyButtons__cancel_e8c1h_65", Kn = "_spApplyButtons__submit_e8c1h_68", ze = {
|
|
@@ -233,7 +233,7 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
233
233
|
}), w = f({
|
|
234
234
|
[ze.spApplyButtons__cancel]: !0
|
|
235
235
|
});
|
|
236
|
-
return /* @__PURE__ */
|
|
236
|
+
return /* @__PURE__ */ q("div", { className: g, children: [
|
|
237
237
|
n && l && /* @__PURE__ */ c(
|
|
238
238
|
kt,
|
|
239
239
|
{
|
|
@@ -264,7 +264,7 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
264
264
|
spBaseTooltip: Zn,
|
|
265
265
|
spBaseTooltip_noPadding: Qn,
|
|
266
266
|
spBaseTooltip__content: Jn
|
|
267
|
-
}, go =
|
|
267
|
+
}, go = qe.forwardRef((e, t) => {
|
|
268
268
|
const {
|
|
269
269
|
text: o,
|
|
270
270
|
noPadding: n = !1,
|
|
@@ -327,65 +327,65 @@ const et = (e) => {
|
|
|
327
327
|
classNameBaseTooltipRoot: y,
|
|
328
328
|
classNameBaseTooltipContentRoot: w,
|
|
329
329
|
styleTooltip: C
|
|
330
|
-
} = e, [S, P] = te(!1),
|
|
330
|
+
} = e, [S, P] = te(!1), U = me(null), A = me(null), [h, d] = te(!1);
|
|
331
331
|
xo(
|
|
332
|
-
[
|
|
332
|
+
[U, A],
|
|
333
333
|
() => {
|
|
334
334
|
s && s(), P(!1);
|
|
335
335
|
},
|
|
336
336
|
S
|
|
337
337
|
);
|
|
338
338
|
const j = (T) => {
|
|
339
|
-
n && T.stopPropagation(), !t && (S ? s && s() : r && r(), P((
|
|
339
|
+
n && T.stopPropagation(), !t && (S ? s && s() : r && r(), P((H) => o ? !H : !0));
|
|
340
340
|
}, [B, O] = te({
|
|
341
341
|
visibility: "hidden",
|
|
342
342
|
opacity: 0,
|
|
343
343
|
left: "-9999px"
|
|
344
344
|
}), [Q, ie] = te(!1), re = ve(() => {
|
|
345
|
-
if (!
|
|
346
|
-
const T =
|
|
345
|
+
if (!U.current || !A.current) return;
|
|
346
|
+
const T = U.current.getBoundingClientRect(), H = A.current.getBoundingClientRect();
|
|
347
347
|
let W = 0, p = 0;
|
|
348
348
|
switch (l) {
|
|
349
349
|
case le.Right:
|
|
350
|
-
W = T.top + window.scrollY - (
|
|
350
|
+
W = T.top + window.scrollY - (H.height - T.height) / 2, p = T.right + window.scrollX;
|
|
351
351
|
break;
|
|
352
352
|
case le.RightTop:
|
|
353
353
|
W = T.top + window.scrollY, p = T.right + window.scrollX;
|
|
354
354
|
break;
|
|
355
355
|
case le.RightBottom:
|
|
356
|
-
W = T.bottom + window.scrollY -
|
|
356
|
+
W = T.bottom + window.scrollY - H.height, p = T.right + window.scrollX;
|
|
357
357
|
break;
|
|
358
358
|
case le.Left:
|
|
359
|
-
W = T.top + window.scrollY - (
|
|
359
|
+
W = T.top + window.scrollY - (H.height - T.height) / 2, p = T.left + window.scrollX - H.width;
|
|
360
360
|
break;
|
|
361
361
|
case le.LeftTop:
|
|
362
|
-
W = T.top + window.scrollY, p = T.left + window.scrollX -
|
|
362
|
+
W = T.top + window.scrollY, p = T.left + window.scrollX - H.width;
|
|
363
363
|
break;
|
|
364
364
|
case le.LeftBottom:
|
|
365
|
-
W = T.bottom + window.scrollY -
|
|
365
|
+
W = T.bottom + window.scrollY - H.height, p = T.left + window.scrollX - H.width;
|
|
366
366
|
break;
|
|
367
367
|
case le.Bottom:
|
|
368
|
-
W = T.bottom + window.scrollY, p = T.left + window.scrollX - (
|
|
368
|
+
W = T.bottom + window.scrollY, p = T.left + window.scrollX - (H.width - T.width) / 2;
|
|
369
369
|
break;
|
|
370
370
|
case le.BottomLeft:
|
|
371
371
|
W = T.bottom + window.scrollY, p = T.left + window.scrollX;
|
|
372
372
|
break;
|
|
373
373
|
case le.BottomRight:
|
|
374
|
-
W = T.bottom + window.scrollY, p = T.right + window.scrollX -
|
|
374
|
+
W = T.bottom + window.scrollY, p = T.right + window.scrollX - H.width;
|
|
375
375
|
break;
|
|
376
376
|
case le.Top:
|
|
377
|
-
W = T.top + window.scrollY -
|
|
377
|
+
W = T.top + window.scrollY - H.height, p = T.left + window.scrollX - (H.width - T.width) / 2;
|
|
378
378
|
break;
|
|
379
379
|
case le.TopLeft:
|
|
380
|
-
W = T.top + window.scrollY -
|
|
380
|
+
W = T.top + window.scrollY - H.height, p = T.left + window.scrollX;
|
|
381
381
|
break;
|
|
382
382
|
case le.TopRight:
|
|
383
|
-
W = T.top + window.scrollY -
|
|
383
|
+
W = T.top + window.scrollY - H.height, p = T.right + window.scrollX - H.width;
|
|
384
384
|
break;
|
|
385
385
|
default:
|
|
386
386
|
W = T.bottom + window.scrollY, p = T.left + window.scrollX;
|
|
387
387
|
}
|
|
388
|
-
W +
|
|
388
|
+
W + H.height > window.innerHeight + window.scrollY && l.includes("bottom") ? W = T.top + window.scrollY - H.height : W < window.scrollY && l.includes("top") && (W = T.bottom + window.scrollY), p + H.width > window.innerWidth + window.scrollX && l.includes("left") ? p = T.left + window.scrollX - H.width + T.width : p < window.scrollX && l.includes("right") && (p = T.right + window.scrollX - T.width), O((v) => ({
|
|
389
389
|
...v,
|
|
390
390
|
top: `${W}px`,
|
|
391
391
|
left: `${p}px`,
|
|
@@ -413,7 +413,7 @@ const et = (e) => {
|
|
|
413
413
|
[Pt.spTooltip__trigger]: !0,
|
|
414
414
|
...u && { [u]: !0 }
|
|
415
415
|
}), ee = document.body;
|
|
416
|
-
return /* @__PURE__ */
|
|
416
|
+
return /* @__PURE__ */ q(
|
|
417
417
|
"div",
|
|
418
418
|
{
|
|
419
419
|
className: ue,
|
|
@@ -422,7 +422,7 @@ const et = (e) => {
|
|
|
422
422
|
onMouseLeave: () => t && ie(!1),
|
|
423
423
|
style: C,
|
|
424
424
|
children: [
|
|
425
|
-
/* @__PURE__ */ c("div", { ref:
|
|
425
|
+
/* @__PURE__ */ c("div", { ref: U, className: Z, children: i }),
|
|
426
426
|
a && /* @__PURE__ */ c(ho, { node: ee, children: /* @__PURE__ */ c(
|
|
427
427
|
go,
|
|
428
428
|
{
|
|
@@ -477,7 +477,7 @@ const et = (e) => {
|
|
|
477
477
|
[Ce.spCheckbox__box_error]: s
|
|
478
478
|
}), P = f({
|
|
479
479
|
[Ce.spCheckbox__control]: !0
|
|
480
|
-
}),
|
|
480
|
+
}), U = f({
|
|
481
481
|
[Ce.spCheckbox__label]: !0
|
|
482
482
|
}), A = f({
|
|
483
483
|
[Ce.spCheckbox__required]: !0
|
|
@@ -487,8 +487,8 @@ const et = (e) => {
|
|
|
487
487
|
}), d = f({
|
|
488
488
|
[Ce.spCheckbox__tooltip]: !0
|
|
489
489
|
});
|
|
490
|
-
return /* @__PURE__ */
|
|
491
|
-
/* @__PURE__ */
|
|
490
|
+
return /* @__PURE__ */ q("div", { className: C, onMouseEnter: g, children: [
|
|
491
|
+
/* @__PURE__ */ q("label", { className: S, children: [
|
|
492
492
|
/* @__PURE__ */ c(
|
|
493
493
|
"input",
|
|
494
494
|
{
|
|
@@ -500,7 +500,7 @@ const et = (e) => {
|
|
|
500
500
|
}
|
|
501
501
|
}
|
|
502
502
|
),
|
|
503
|
-
r && /* @__PURE__ */ c("span", { className:
|
|
503
|
+
r && /* @__PURE__ */ c("span", { className: U, children: r }),
|
|
504
504
|
l && /* @__PURE__ */ c("div", { className: A, children: "*" }),
|
|
505
505
|
m && /* @__PURE__ */ c("div", { className: d, children: /* @__PURE__ */ c(tt, { position: _, text: m }) })
|
|
506
506
|
] }),
|
|
@@ -543,7 +543,7 @@ const et = (e) => {
|
|
|
543
543
|
"spText_type-description": "_spText_type-description_1gech_92",
|
|
544
544
|
"spText_type-link": "_spText_type-link_1gech_100",
|
|
545
545
|
spText_cursorPointer: ga
|
|
546
|
-
}, Te =
|
|
546
|
+
}, Te = qe.forwardRef((e, t) => {
|
|
547
547
|
const {
|
|
548
548
|
type: o,
|
|
549
549
|
children: n,
|
|
@@ -622,7 +622,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
622
622
|
}), P = f({
|
|
623
623
|
[fe.modalWrapper__closeButton]: !0,
|
|
624
624
|
[fe[`modalWrapper__closeButton--size-${w}`]]: w
|
|
625
|
-
}),
|
|
625
|
+
}), U = f({
|
|
626
626
|
[fe.modalWrapper__closeButtonIconContainer]: !0,
|
|
627
627
|
[fe[`modalWrapper__closeButtonIconContainer--size-${w}`]]: w
|
|
628
628
|
}), A = f({
|
|
@@ -640,8 +640,8 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
640
640
|
return O.style.position = "fixed", O.style.top = `-${B}px`, O.style.left = "0", O.style.right = "0", O.style.overflow = "hidden", () => {
|
|
641
641
|
O.style.position = "", O.style.top = "", O.style.left = "", O.style.right = "", O.style.overflow = "", window.scrollTo(0, B);
|
|
642
642
|
};
|
|
643
|
-
}, []), /* @__PURE__ */ c(_a, { zIndex: t, isHiddenModal: o, classNameRoot: i, children: /* @__PURE__ */ c("div", { className: C, children: /* @__PURE__ */
|
|
644
|
-
(m || g) && /* @__PURE__ */
|
|
643
|
+
}, []), /* @__PURE__ */ c(_a, { zIndex: t, isHiddenModal: o, classNameRoot: i, children: /* @__PURE__ */ c("div", { className: C, children: /* @__PURE__ */ q("div", { className: S, style: s, children: [
|
|
644
|
+
(m || g) && /* @__PURE__ */ q("div", { className: h, children: [
|
|
645
645
|
typeof m == "string" ? /* @__PURE__ */ c(Te, { type: "h3", children: m }) : m,
|
|
646
646
|
g && /* @__PURE__ */ c("div", { className: d, children: typeof g == "string" ? /* @__PURE__ */ c(Te, { children: g }) : g })
|
|
647
647
|
] }),
|
|
@@ -651,7 +651,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
651
651
|
kt,
|
|
652
652
|
{
|
|
653
653
|
classNameRoot: P,
|
|
654
|
-
classNameIconContainerRoot:
|
|
654
|
+
classNameIconContainerRoot: U,
|
|
655
655
|
onClick: _,
|
|
656
656
|
iconName: pe.Close,
|
|
657
657
|
variant: "link",
|
|
@@ -679,7 +679,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
679
679
|
textAlign: C = "left",
|
|
680
680
|
loading: S,
|
|
681
681
|
isVisibleCloseButton: P,
|
|
682
|
-
isHiddenModal:
|
|
682
|
+
isHiddenModal: U,
|
|
683
683
|
size: A
|
|
684
684
|
} = e;
|
|
685
685
|
return /* @__PURE__ */ c(
|
|
@@ -692,7 +692,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
692
692
|
textAlign: C,
|
|
693
693
|
subHeader: n,
|
|
694
694
|
isVisibleCloseButton: P,
|
|
695
|
-
isHiddenModal:
|
|
695
|
+
isHiddenModal: U,
|
|
696
696
|
size: A,
|
|
697
697
|
footer: a || s ? /* @__PURE__ */ c(
|
|
698
698
|
Xn,
|
|
@@ -723,7 +723,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
723
723
|
});
|
|
724
724
|
return /* @__PURE__ */ c("ul", { className: a, children: o == null ? void 0 : o.map((i) => {
|
|
725
725
|
const r = i.key === "delete";
|
|
726
|
-
return /* @__PURE__ */
|
|
726
|
+
return /* @__PURE__ */ q(
|
|
727
727
|
"li",
|
|
728
728
|
{
|
|
729
729
|
className: f({
|
|
@@ -743,7 +743,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
743
743
|
}) });
|
|
744
744
|
}, Fa = (e) => {
|
|
745
745
|
const { getRootProps: t, children: o, disabled: n, name: a, getInputProps: i } = e;
|
|
746
|
-
return /* @__PURE__ */
|
|
746
|
+
return /* @__PURE__ */ q("div", { ...t({}), style: { minHeight: "100%", minWidth: "100%" }, children: [
|
|
747
747
|
/* @__PURE__ */ c("input", { ...i({}), disabled: n, name: a }),
|
|
748
748
|
o
|
|
749
749
|
] });
|
|
@@ -783,9 +783,9 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
783
783
|
hover: !1,
|
|
784
784
|
triggerAction: () => y(!0),
|
|
785
785
|
actionOnClose: () => y(!1),
|
|
786
|
-
text: /* @__PURE__ */
|
|
786
|
+
text: /* @__PURE__ */ q("div", { className: l, children: [
|
|
787
787
|
o && /* @__PURE__ */ c("div", { className: _, children: o }),
|
|
788
|
-
n.map((C, S) => /* @__PURE__ */
|
|
788
|
+
n.map((C, S) => /* @__PURE__ */ q(
|
|
789
789
|
"div",
|
|
790
790
|
{
|
|
791
791
|
className: f({
|
|
@@ -805,7 +805,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
805
805
|
noPadding: !0,
|
|
806
806
|
isToggleClick: !0,
|
|
807
807
|
isStopPropagationClickOnTrigger: !0,
|
|
808
|
-
trigger: /* @__PURE__ */
|
|
808
|
+
trigger: /* @__PURE__ */ q("div", { className: r, children: [
|
|
809
809
|
/* @__PURE__ */ c("div", { className: s, children: t }),
|
|
810
810
|
/* @__PURE__ */ c("div", { className: u, children: /* @__PURE__ */ c(ge, { name: pe.SelectChevronDown, rotate: g ? 180 : void 0 }) })
|
|
811
811
|
] })
|
|
@@ -848,10 +848,10 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
848
848
|
trigger: /* @__PURE__ */ c(Te, { ...s, classNameRoot: m, isEllipsis: !0, ref: u, children: t })
|
|
849
849
|
}
|
|
850
850
|
);
|
|
851
|
-
}, Ma = "_spForm_zefbj_43",
|
|
851
|
+
}, Ma = "_spForm_zefbj_43", qa = "_spForm_fullWidth_zefbj_46", Ua = "_spForm_withSeparator_zefbj_49", We = {
|
|
852
852
|
spForm: Ma,
|
|
853
|
-
spForm_fullWidth:
|
|
854
|
-
spForm_withSeparator:
|
|
853
|
+
spForm_fullWidth: qa,
|
|
854
|
+
spForm_withSeparator: Ua,
|
|
855
855
|
"spForm_addMargin--size-lg": "_spForm_addMargin--size-lg_zefbj_67",
|
|
856
856
|
"spForm_addMargin--size-md": "_spForm_addMargin--size-md_zefbj_75"
|
|
857
857
|
}, hp = (e) => {
|
|
@@ -898,7 +898,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
898
898
|
}), _ = f({
|
|
899
899
|
[Ge.spLabel__tooltip]: !0
|
|
900
900
|
});
|
|
901
|
-
return /* @__PURE__ */
|
|
901
|
+
return /* @__PURE__ */ q("div", { className: s, children: [
|
|
902
902
|
/* @__PURE__ */ c("label", { className: u, children: o }),
|
|
903
903
|
t && /* @__PURE__ */ c("div", { className: l, children: "*" }),
|
|
904
904
|
n && /* @__PURE__ */ c("div", { className: _, children: /* @__PURE__ */ c(
|
|
@@ -921,7 +921,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
921
921
|
spInput__control_clearable: ti,
|
|
922
922
|
spInput__clear: oi,
|
|
923
923
|
spInput__error: ni
|
|
924
|
-
}, ai =
|
|
924
|
+
}, ai = qe.forwardRef((e, t) => {
|
|
925
925
|
const {
|
|
926
926
|
value: o,
|
|
927
927
|
onChange: n,
|
|
@@ -939,7 +939,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
939
939
|
isVisibleDefaultTitle: C = !0,
|
|
940
940
|
placeholder: S = "Введите...",
|
|
941
941
|
classNameRoot: P,
|
|
942
|
-
classNameError:
|
|
942
|
+
classNameError: U,
|
|
943
943
|
classNameLabel: A,
|
|
944
944
|
classNameBaseTooltipRoot: h,
|
|
945
945
|
...d
|
|
@@ -958,7 +958,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
958
958
|
[Ne.spInput__clear]: !0
|
|
959
959
|
}), ie = f({
|
|
960
960
|
[Ne.spInput__error]: !0,
|
|
961
|
-
...
|
|
961
|
+
...U && { [U]: !0 }
|
|
962
962
|
}), re = f({
|
|
963
963
|
...A && { [A]: !0 }
|
|
964
964
|
}), ue = (Z) => {
|
|
@@ -967,7 +967,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
967
967
|
const { value: ee, name: T } = Z.target;
|
|
968
968
|
m && ee && !new RegExp(m).test(ee) || n(Z, { value: ee, name: T });
|
|
969
969
|
};
|
|
970
|
-
return /* @__PURE__ */
|
|
970
|
+
return /* @__PURE__ */ q("div", { className: j, children: [
|
|
971
971
|
a && /* @__PURE__ */ c(
|
|
972
972
|
At,
|
|
973
973
|
{
|
|
@@ -979,7 +979,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
979
979
|
classNameBaseTooltipRoot: h
|
|
980
980
|
}
|
|
981
981
|
),
|
|
982
|
-
/* @__PURE__ */
|
|
982
|
+
/* @__PURE__ */ q("div", { className: B, onMouseEnter: g, children: [
|
|
983
983
|
/* @__PURE__ */ c(
|
|
984
984
|
"input",
|
|
985
985
|
{
|
|
@@ -1031,7 +1031,7 @@ function di(e, t) {
|
|
|
1031
1031
|
case "height":
|
|
1032
1032
|
case "device-width":
|
|
1033
1033
|
case "device-height":
|
|
1034
|
-
l =
|
|
1034
|
+
l = qt(l), _ = qt(_);
|
|
1035
1035
|
break;
|
|
1036
1036
|
case "resolution":
|
|
1037
1037
|
l = Mt(l), _ = Mt(_);
|
|
@@ -1090,7 +1090,7 @@ function Mt(e) {
|
|
|
1090
1090
|
return t;
|
|
1091
1091
|
}
|
|
1092
1092
|
}
|
|
1093
|
-
function
|
|
1093
|
+
function qt(e) {
|
|
1094
1094
|
var t = parseFloat(e), o = String(e).match(li)[1];
|
|
1095
1095
|
switch (o) {
|
|
1096
1096
|
case "em":
|
|
@@ -1111,10 +1111,10 @@ function Ut(e) {
|
|
|
1111
1111
|
return t;
|
|
1112
1112
|
}
|
|
1113
1113
|
}
|
|
1114
|
-
var mi = It.match,
|
|
1114
|
+
var mi = It.match, Ut = typeof window < "u" ? window.matchMedia : null;
|
|
1115
1115
|
function ui(e, t, o) {
|
|
1116
1116
|
var n = this, a;
|
|
1117
|
-
|
|
1117
|
+
Ut && !o && (a = Ut.call(window, e)), a ? (this.matches = a.matches, this.media = a.media, a.addListener(s)) : (this.matches = mi(e, t), this.media = e), this.addListener = i, this.removeListener = r, this.dispose = u;
|
|
1118
1118
|
function i(l) {
|
|
1119
1119
|
a && a.addListener(l);
|
|
1120
1120
|
}
|
|
@@ -1171,7 +1171,7 @@ var $t;
|
|
|
1171
1171
|
function yi() {
|
|
1172
1172
|
if ($t) return G;
|
|
1173
1173
|
$t = 1;
|
|
1174
|
-
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, l = e ? Symbol.for("react.concurrent_mode") : 60111, _ = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, y = e ? Symbol.for("react.memo") : 60115, w = e ? Symbol.for("react.lazy") : 60116, C = e ? Symbol.for("react.block") : 60121, S = e ? Symbol.for("react.fundamental") : 60117, P = e ? Symbol.for("react.responder") : 60118,
|
|
1174
|
+
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, l = e ? Symbol.for("react.concurrent_mode") : 60111, _ = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, y = e ? Symbol.for("react.memo") : 60115, w = e ? Symbol.for("react.lazy") : 60116, C = e ? Symbol.for("react.block") : 60121, S = e ? Symbol.for("react.fundamental") : 60117, P = e ? Symbol.for("react.responder") : 60118, U = e ? Symbol.for("react.scope") : 60119;
|
|
1175
1175
|
function A(d) {
|
|
1176
1176
|
if (typeof d == "object" && d !== null) {
|
|
1177
1177
|
var j = d.$$typeof;
|
|
@@ -1230,7 +1230,7 @@ function yi() {
|
|
|
1230
1230
|
}, G.isSuspense = function(d) {
|
|
1231
1231
|
return A(d) === m;
|
|
1232
1232
|
}, G.isValidElementType = function(d) {
|
|
1233
|
-
return typeof d == "string" || typeof d == "function" || d === n || d === l || d === i || d === a || d === m || d === g || typeof d == "object" && d !== null && (d.$$typeof === w || d.$$typeof === y || d.$$typeof === r || d.$$typeof === s || d.$$typeof === _ || d.$$typeof === S || d.$$typeof === P || d.$$typeof ===
|
|
1233
|
+
return typeof d == "string" || typeof d == "function" || d === n || d === l || d === i || d === a || d === m || d === g || typeof d == "object" && d !== null && (d.$$typeof === w || d.$$typeof === y || d.$$typeof === r || d.$$typeof === s || d.$$typeof === _ || d.$$typeof === S || d.$$typeof === P || d.$$typeof === U || d.$$typeof === C);
|
|
1234
1234
|
}, G.typeOf = A, G;
|
|
1235
1235
|
}
|
|
1236
1236
|
var K = {};
|
|
@@ -1245,10 +1245,10 @@ var K = {};
|
|
|
1245
1245
|
var Ht;
|
|
1246
1246
|
function wi() {
|
|
1247
1247
|
return Ht || (Ht = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1248
|
-
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, l = e ? Symbol.for("react.concurrent_mode") : 60111, _ = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, y = e ? Symbol.for("react.memo") : 60115, w = e ? Symbol.for("react.lazy") : 60116, C = e ? Symbol.for("react.block") : 60121, S = e ? Symbol.for("react.fundamental") : 60117, P = e ? Symbol.for("react.responder") : 60118,
|
|
1248
|
+
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, l = e ? Symbol.for("react.concurrent_mode") : 60111, _ = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, y = e ? Symbol.for("react.memo") : 60115, w = e ? Symbol.for("react.lazy") : 60116, C = e ? Symbol.for("react.block") : 60121, S = e ? Symbol.for("react.fundamental") : 60117, P = e ? Symbol.for("react.responder") : 60118, U = e ? Symbol.for("react.scope") : 60119;
|
|
1249
1249
|
function A(x) {
|
|
1250
1250
|
return typeof x == "string" || typeof x == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1251
|
-
x === n || x === l || x === i || x === a || x === m || x === g || typeof x == "object" && x !== null && (x.$$typeof === w || x.$$typeof === y || x.$$typeof === r || x.$$typeof === s || x.$$typeof === _ || x.$$typeof === S || x.$$typeof === P || x.$$typeof ===
|
|
1251
|
+
x === n || x === l || x === i || x === a || x === m || x === g || typeof x == "object" && x !== null && (x.$$typeof === w || x.$$typeof === y || x.$$typeof === r || x.$$typeof === s || x.$$typeof === _ || x.$$typeof === S || x.$$typeof === P || x.$$typeof === U || x.$$typeof === C);
|
|
1252
1252
|
}
|
|
1253
1253
|
function h(x) {
|
|
1254
1254
|
if (typeof x == "object" && x !== null) {
|
|
@@ -1282,9 +1282,9 @@ function wi() {
|
|
|
1282
1282
|
}
|
|
1283
1283
|
}
|
|
1284
1284
|
}
|
|
1285
|
-
var d = u, j = l, B = s, O = r, Q = t, ie = _, re = n, ue = w, ce = y, X = o, Z = i, ee = a, T = m,
|
|
1285
|
+
var d = u, j = l, B = s, O = r, Q = t, ie = _, re = n, ue = w, ce = y, X = o, Z = i, ee = a, T = m, H = !1;
|
|
1286
1286
|
function W(x) {
|
|
1287
|
-
return
|
|
1287
|
+
return H || (H = !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.")), p(x) || h(x) === u;
|
|
1288
1288
|
}
|
|
1289
1289
|
function p(x) {
|
|
1290
1290
|
return h(x) === l;
|
|
@@ -1313,7 +1313,7 @@ function wi() {
|
|
|
1313
1313
|
function $(x) {
|
|
1314
1314
|
return h(x) === o;
|
|
1315
1315
|
}
|
|
1316
|
-
function
|
|
1316
|
+
function V(x) {
|
|
1317
1317
|
return h(x) === i;
|
|
1318
1318
|
}
|
|
1319
1319
|
function M(x) {
|
|
@@ -1322,7 +1322,7 @@ function wi() {
|
|
|
1322
1322
|
function ae(x) {
|
|
1323
1323
|
return h(x) === m;
|
|
1324
1324
|
}
|
|
1325
|
-
K.AsyncMode = d, K.ConcurrentMode = j, K.ContextConsumer = B, K.ContextProvider = O, K.Element = Q, K.ForwardRef = ie, K.Fragment = re, K.Lazy = ue, K.Memo = ce, K.Portal = X, K.Profiler = Z, K.StrictMode = ee, K.Suspense = T, K.isAsyncMode = W, K.isConcurrentMode = p, K.isContextConsumer = v, K.isContextProvider = R, K.isElement = I, K.isForwardRef = N, K.isFragment = D, K.isLazy = F, K.isMemo = z, K.isPortal = $, K.isProfiler =
|
|
1325
|
+
K.AsyncMode = d, K.ConcurrentMode = j, K.ContextConsumer = B, K.ContextProvider = O, K.Element = Q, K.ForwardRef = ie, K.Fragment = re, K.Lazy = ue, K.Memo = ce, K.Portal = X, K.Profiler = Z, K.StrictMode = ee, K.Suspense = T, K.isAsyncMode = W, K.isConcurrentMode = p, K.isContextConsumer = v, K.isContextProvider = R, K.isElement = I, K.isForwardRef = N, K.isFragment = D, K.isLazy = F, K.isMemo = z, K.isPortal = $, K.isProfiler = V, K.isStrictMode = M, K.isSuspense = ae, K.isValidElementType = A, K.typeOf = h;
|
|
1326
1326
|
}()), K;
|
|
1327
1327
|
}
|
|
1328
1328
|
var Vt;
|
|
@@ -1473,7 +1473,7 @@ function Ti() {
|
|
|
1473
1473
|
object: P("object"),
|
|
1474
1474
|
string: P("string"),
|
|
1475
1475
|
symbol: P("symbol"),
|
|
1476
|
-
any:
|
|
1476
|
+
any: U(),
|
|
1477
1477
|
arrayOf: A,
|
|
1478
1478
|
element: h(),
|
|
1479
1479
|
elementType: d(),
|
|
@@ -1495,7 +1495,7 @@ function Ti() {
|
|
|
1495
1495
|
function S(p) {
|
|
1496
1496
|
if (process.env.NODE_ENV !== "production")
|
|
1497
1497
|
var v = {}, R = 0;
|
|
1498
|
-
function I(D, F, z, $,
|
|
1498
|
+
function I(D, F, z, $, V, M, ae) {
|
|
1499
1499
|
if ($ = $ || g, M = M || z, ae !== o) {
|
|
1500
1500
|
if (u) {
|
|
1501
1501
|
var x = new Error(
|
|
@@ -1510,15 +1510,15 @@ function Ti() {
|
|
|
1510
1510
|
), v[xe] = !0, R++);
|
|
1511
1511
|
}
|
|
1512
1512
|
}
|
|
1513
|
-
return F[z] == null ? D ? F[z] === null ? new C("The " +
|
|
1513
|
+
return F[z] == null ? D ? F[z] === null ? new C("The " + V + " `" + M + "` is marked as required " + ("in `" + $ + "`, but its value is `null`.")) : new C("The " + V + " `" + M + "` is marked as required in " + ("`" + $ + "`, but its value is `undefined`.")) : null : p(F, z, $, V, M);
|
|
1514
1514
|
}
|
|
1515
1515
|
var N = I.bind(null, !1);
|
|
1516
1516
|
return N.isRequired = I.bind(null, !0), N;
|
|
1517
1517
|
}
|
|
1518
1518
|
function P(p) {
|
|
1519
1519
|
function v(R, I, N, D, F, z) {
|
|
1520
|
-
var $ = R[I],
|
|
1521
|
-
if (
|
|
1520
|
+
var $ = R[I], V = ee($);
|
|
1521
|
+
if (V !== p) {
|
|
1522
1522
|
var M = T($);
|
|
1523
1523
|
return new C(
|
|
1524
1524
|
"Invalid " + D + " `" + F + "` of type " + ("`" + M + "` supplied to `" + N + "`, expected ") + ("`" + p + "`."),
|
|
@@ -1529,7 +1529,7 @@ function Ti() {
|
|
|
1529
1529
|
}
|
|
1530
1530
|
return S(v);
|
|
1531
1531
|
}
|
|
1532
|
-
function
|
|
1532
|
+
function U() {
|
|
1533
1533
|
return S(r);
|
|
1534
1534
|
}
|
|
1535
1535
|
function A(p) {
|
|
@@ -1541,8 +1541,8 @@ function Ti() {
|
|
|
1541
1541
|
var $ = ee(z);
|
|
1542
1542
|
return new C("Invalid " + D + " `" + F + "` of type " + ("`" + $ + "` supplied to `" + N + "`, expected an array."));
|
|
1543
1543
|
}
|
|
1544
|
-
for (var
|
|
1545
|
-
var M = p(z,
|
|
1544
|
+
for (var V = 0; V < z.length; V++) {
|
|
1545
|
+
var M = p(z, V, N, D, F + "[" + V + "]", o);
|
|
1546
1546
|
if (M instanceof Error)
|
|
1547
1547
|
return M;
|
|
1548
1548
|
}
|
|
@@ -1591,11 +1591,11 @@ function Ti() {
|
|
|
1591
1591
|
for (var z = R[I], $ = 0; $ < p.length; $++)
|
|
1592
1592
|
if (w(z, p[$]))
|
|
1593
1593
|
return null;
|
|
1594
|
-
var
|
|
1594
|
+
var V = JSON.stringify(p, function(ae, x) {
|
|
1595
1595
|
var xe = T(x);
|
|
1596
1596
|
return xe === "symbol" ? String(x) : x;
|
|
1597
1597
|
});
|
|
1598
|
-
return new C("Invalid " + D + " `" + F + "` of value `" + String(z) + "` " + ("supplied to `" + N + "`, expected one of " +
|
|
1598
|
+
return new C("Invalid " + D + " `" + F + "` of value `" + String(z) + "` " + ("supplied to `" + N + "`, expected one of " + V + "."));
|
|
1599
1599
|
}
|
|
1600
1600
|
return S(v);
|
|
1601
1601
|
}
|
|
@@ -1606,9 +1606,9 @@ function Ti() {
|
|
|
1606
1606
|
var z = R[I], $ = ee(z);
|
|
1607
1607
|
if ($ !== "object")
|
|
1608
1608
|
return new C("Invalid " + D + " `" + F + "` of type " + ("`" + $ + "` supplied to `" + N + "`, expected an object."));
|
|
1609
|
-
for (var
|
|
1610
|
-
if (n(z,
|
|
1611
|
-
var M = p(z,
|
|
1609
|
+
for (var V in z)
|
|
1610
|
+
if (n(z, V)) {
|
|
1611
|
+
var M = p(z, V, N, D, F + "." + V, o);
|
|
1612
1612
|
if (M instanceof Error)
|
|
1613
1613
|
return M;
|
|
1614
1614
|
}
|
|
@@ -1623,17 +1623,17 @@ function Ti() {
|
|
|
1623
1623
|
var R = p[v];
|
|
1624
1624
|
if (typeof R != "function")
|
|
1625
1625
|
return i(
|
|
1626
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " +
|
|
1626
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + H(R) + " at index " + v + "."
|
|
1627
1627
|
), r;
|
|
1628
1628
|
}
|
|
1629
1629
|
function I(N, D, F, z, $) {
|
|
1630
|
-
for (var
|
|
1630
|
+
for (var V = [], M = 0; M < p.length; M++) {
|
|
1631
1631
|
var ae = p[M], x = ae(N, D, F, z, $, o);
|
|
1632
1632
|
if (x == null)
|
|
1633
1633
|
return null;
|
|
1634
|
-
x.data && n(x.data, "expectedType") &&
|
|
1634
|
+
x.data && n(x.data, "expectedType") && V.push(x.data.expectedType);
|
|
1635
1635
|
}
|
|
1636
|
-
var xe =
|
|
1636
|
+
var xe = V.length > 0 ? ", expected one of type [" + V.join(", ") + "]" : "";
|
|
1637
1637
|
return new C("Invalid " + z + " `" + $ + "` supplied to " + ("`" + F + "`" + xe + "."));
|
|
1638
1638
|
}
|
|
1639
1639
|
return S(I);
|
|
@@ -1654,11 +1654,11 @@ function Ti() {
|
|
|
1654
1654
|
var z = R[I], $ = ee(z);
|
|
1655
1655
|
if ($ !== "object")
|
|
1656
1656
|
return new C("Invalid " + D + " `" + F + "` of type `" + $ + "` " + ("supplied to `" + N + "`, expected `object`."));
|
|
1657
|
-
for (var
|
|
1658
|
-
var M = p[
|
|
1657
|
+
for (var V in p) {
|
|
1658
|
+
var M = p[V];
|
|
1659
1659
|
if (typeof M != "function")
|
|
1660
|
-
return re(N, D, F,
|
|
1661
|
-
var ae = M(z,
|
|
1660
|
+
return re(N, D, F, V, T(M));
|
|
1661
|
+
var ae = M(z, V, N, D, F + "." + V, o);
|
|
1662
1662
|
if (ae)
|
|
1663
1663
|
return ae;
|
|
1664
1664
|
}
|
|
@@ -1671,8 +1671,8 @@ function Ti() {
|
|
|
1671
1671
|
var z = R[I], $ = ee(z);
|
|
1672
1672
|
if ($ !== "object")
|
|
1673
1673
|
return new C("Invalid " + D + " `" + F + "` of type `" + $ + "` " + ("supplied to `" + N + "`, expected `object`."));
|
|
1674
|
-
var
|
|
1675
|
-
for (var M in
|
|
1674
|
+
var V = t({}, R[I], p);
|
|
1675
|
+
for (var M in V) {
|
|
1676
1676
|
var ae = p[M];
|
|
1677
1677
|
if (n(p, M) && typeof ae != "function")
|
|
1678
1678
|
return re(N, D, F, M, T(ae));
|
|
@@ -1741,7 +1741,7 @@ Valid keys: ` + JSON.stringify(Object.keys(p), null, " ")
|
|
|
1741
1741
|
}
|
|
1742
1742
|
return v;
|
|
1743
1743
|
}
|
|
1744
|
-
function
|
|
1744
|
+
function H(p) {
|
|
1745
1745
|
var v = T(p);
|
|
1746
1746
|
switch (v) {
|
|
1747
1747
|
case "array":
|
|
@@ -1887,13 +1887,13 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
1887
1887
|
const i = o();
|
|
1888
1888
|
bi(n, i) || a(i);
|
|
1889
1889
|
}, [e, t]), n;
|
|
1890
|
-
},
|
|
1890
|
+
}, qi = (e) => {
|
|
1891
1891
|
const t = () => Wi(e), [o, n] = te(t);
|
|
1892
1892
|
return ne(() => {
|
|
1893
1893
|
const a = t();
|
|
1894
1894
|
o !== a && n(a);
|
|
1895
1895
|
}, [e]), o;
|
|
1896
|
-
},
|
|
1896
|
+
}, Ui = (e, t) => {
|
|
1897
1897
|
const o = () => vi(e, t || {}, !!t), [n, a] = te(o), i = No();
|
|
1898
1898
|
return ne(() => {
|
|
1899
1899
|
if (i) {
|
|
@@ -1914,10 +1914,10 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
1914
1914
|
};
|
|
1915
1915
|
}, [e]), t;
|
|
1916
1916
|
}, bt = (e, t, o) => {
|
|
1917
|
-
const n = Mi(t), a =
|
|
1917
|
+
const n = Mi(t), a = qi(e);
|
|
1918
1918
|
if (!a)
|
|
1919
1919
|
throw new Error("Invalid or missing MediaQuery!");
|
|
1920
|
-
const i =
|
|
1920
|
+
const i = Ui(a, n), r = $i(i);
|
|
1921
1921
|
return No(), ne(() => {
|
|
1922
1922
|
}, [r]), ne(() => () => {
|
|
1923
1923
|
i && i.dispose();
|
|
@@ -1953,7 +1953,7 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
1953
1953
|
s.current = a, u.current = performance.now();
|
|
1954
1954
|
const y = (w) => {
|
|
1955
1955
|
if (!u.current) return;
|
|
1956
|
-
const C = w - u.current, S = Math.min(C / o, 1), P = S < 0.5 ? 4 * S * S * S : 1 - Math.pow(-2 * S + 2, 3) / 2,
|
|
1956
|
+
const C = w - u.current, S = Math.min(C / o, 1), P = S < 0.5 ? 4 * S * S * S : 1 - Math.pow(-2 * S + 2, 3) / 2, U = s.current + (l.current - s.current) * P, A = Math.max(0, Math.floor(U));
|
|
1957
1957
|
i(A), S < 1 && (r.current = requestAnimationFrame(y));
|
|
1958
1958
|
};
|
|
1959
1959
|
return r.current = requestAnimationFrame(y), () => {
|
|
@@ -2005,7 +2005,7 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2005
2005
|
}), y = {
|
|
2006
2006
|
"--progress": `${u / r * 100}%`
|
|
2007
2007
|
};
|
|
2008
|
-
return /* @__PURE__ */
|
|
2008
|
+
return /* @__PURE__ */ q("div", { className: _, children: [
|
|
2009
2009
|
/* @__PURE__ */ c(
|
|
2010
2010
|
"div",
|
|
2011
2011
|
{
|
|
@@ -2014,7 +2014,7 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2014
2014
|
children: i
|
|
2015
2015
|
}
|
|
2016
2016
|
),
|
|
2017
|
-
l && /* @__PURE__ */
|
|
2017
|
+
l && /* @__PURE__ */ q(Te, { classNameRoot: m, children: [
|
|
2018
2018
|
u,
|
|
2019
2019
|
"%"
|
|
2020
2020
|
] })
|
|
@@ -2053,7 +2053,7 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2053
2053
|
isVisibleDefaultTitle: C = !0,
|
|
2054
2054
|
isScrollableList: S = !1,
|
|
2055
2055
|
classNameRoot: P,
|
|
2056
|
-
classNameError:
|
|
2056
|
+
classNameError: U,
|
|
2057
2057
|
classNameLabel: A,
|
|
2058
2058
|
classNameBaseTooltipRoot: h
|
|
2059
2059
|
} = e, [d, j] = te(!1), B = me(null);
|
|
@@ -2088,11 +2088,11 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2088
2088
|
[be.spSelect__list_scrollable]: S
|
|
2089
2089
|
}), T = f({
|
|
2090
2090
|
...A && { [A]: !0 }
|
|
2091
|
-
}),
|
|
2091
|
+
}), H = f({
|
|
2092
2092
|
[be.spSelect__error]: !0,
|
|
2093
|
-
...
|
|
2093
|
+
...U && { [U]: !0 }
|
|
2094
2094
|
});
|
|
2095
|
-
return /* @__PURE__ */
|
|
2095
|
+
return /* @__PURE__ */ q("div", { className: re, ref: B, children: [
|
|
2096
2096
|
l && /* @__PURE__ */ c(
|
|
2097
2097
|
At,
|
|
2098
2098
|
{
|
|
@@ -2104,8 +2104,8 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2104
2104
|
classNameBaseTooltipRoot: h
|
|
2105
2105
|
}
|
|
2106
2106
|
),
|
|
2107
|
-
/* @__PURE__ */
|
|
2108
|
-
/* @__PURE__ */
|
|
2107
|
+
/* @__PURE__ */ q("div", { className: ue, onMouseEnter: s, children: [
|
|
2108
|
+
/* @__PURE__ */ q(
|
|
2109
2109
|
"div",
|
|
2110
2110
|
{
|
|
2111
2111
|
tabIndex: g ? -1 : 0,
|
|
@@ -2132,7 +2132,7 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2132
2132
|
style: S ? { maxHeight: `${w}px` } : {},
|
|
2133
2133
|
children: t.map((p) => {
|
|
2134
2134
|
const v = p.value === n;
|
|
2135
|
-
return /* @__PURE__ */
|
|
2135
|
+
return /* @__PURE__ */ q(
|
|
2136
2136
|
"div",
|
|
2137
2137
|
{
|
|
2138
2138
|
className: f({
|
|
@@ -2150,7 +2150,7 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2150
2150
|
}
|
|
2151
2151
|
)
|
|
2152
2152
|
] }),
|
|
2153
|
-
u && /* @__PURE__ */ c("div", { className:
|
|
2153
|
+
u && /* @__PURE__ */ c("div", { className: H, children: u })
|
|
2154
2154
|
] });
|
|
2155
2155
|
}, vr = "_skeleton_1u7gu_43", gr = {
|
|
2156
2156
|
skeleton: vr
|
|
@@ -2210,11 +2210,11 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2210
2210
|
const j = h[d.key];
|
|
2211
2211
|
if (!j) return null;
|
|
2212
2212
|
const [B, O] = j.split(/\s*\{\{|}}\s*/).filter(Boolean);
|
|
2213
|
-
return /* @__PURE__ */
|
|
2213
|
+
return /* @__PURE__ */ q("span", { children: [
|
|
2214
2214
|
B,
|
|
2215
2215
|
O && /* @__PURE__ */ c("span", { className: l, children: ` ${O}` })
|
|
2216
2216
|
] });
|
|
2217
|
-
}, P = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */
|
|
2217
|
+
}, P = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ q("table", { className: s, children: [
|
|
2218
2218
|
/* @__PURE__ */ c("colgroup", { children: r.map((h, d, j) => /* @__PURE__ */ c(
|
|
2219
2219
|
"col",
|
|
2220
2220
|
{
|
|
@@ -2231,7 +2231,7 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2231
2231
|
"td",
|
|
2232
2232
|
{
|
|
2233
2233
|
onMouseLeave: O ? w : void 0,
|
|
2234
|
-
children: /* @__PURE__ */
|
|
2234
|
+
children: /* @__PURE__ */ q("div", { className: u, children: [
|
|
2235
2235
|
/* @__PURE__ */ c("span", { children: j.isColorContentsCurlyBrackets ? S({ row: h, col: j }) : h[j.key] }),
|
|
2236
2236
|
!Nt(h[j.key]) && j.isBeCopiedValue && /* @__PURE__ */ c(
|
|
2237
2237
|
ge,
|
|
@@ -2257,7 +2257,7 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2257
2257
|
`${d}:${B}`
|
|
2258
2258
|
);
|
|
2259
2259
|
}) }, d) : null) })
|
|
2260
|
-
] }) : C(),
|
|
2260
|
+
] }) : C(), U = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ c(
|
|
2261
2261
|
"div",
|
|
2262
2262
|
{
|
|
2263
2263
|
className: f({
|
|
@@ -2267,7 +2267,7 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2267
2267
|
if (Nt(h[j.key]))
|
|
2268
2268
|
return null;
|
|
2269
2269
|
const O = (m == null ? void 0 : m.rowIndex) === d && (m == null ? void 0 : m.colIndex) === B;
|
|
2270
|
-
return /* @__PURE__ */
|
|
2270
|
+
return /* @__PURE__ */ q(
|
|
2271
2271
|
"div",
|
|
2272
2272
|
{
|
|
2273
2273
|
className: f({
|
|
@@ -2284,7 +2284,7 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2284
2284
|
children: j.title
|
|
2285
2285
|
}
|
|
2286
2286
|
),
|
|
2287
|
-
/* @__PURE__ */
|
|
2287
|
+
/* @__PURE__ */ q(
|
|
2288
2288
|
"div",
|
|
2289
2289
|
{
|
|
2290
2290
|
className: f({
|
|
@@ -2321,7 +2321,7 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2321
2321
|
}) }, d) : null)
|
|
2322
2322
|
}
|
|
2323
2323
|
) : C();
|
|
2324
|
-
return n ? a ? P() :
|
|
2324
|
+
return n ? a ? P() : U() : P();
|
|
2325
2325
|
}, Fr = "_spTabs_1citb_43", jr = "_spTabs_separated_1citb_48", Ar = "_spTabs__tabElement_1citb_48", Ir = "_spTabs__tabElement_active_1citb_83", Lr = "_spTabs__triggerTooltip_1citb_90", Fe = {
|
|
2326
2326
|
spTabs: Fr,
|
|
2327
2327
|
spTabs_separated: jr,
|
|
@@ -2358,7 +2358,7 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2358
2358
|
};
|
|
2359
2359
|
return /* @__PURE__ */ c("div", { className: s, children: t.map((_, m) => {
|
|
2360
2360
|
const { name: g, active: y, onClick: w, infoTooltipText: C } = _;
|
|
2361
|
-
return /* @__PURE__ */
|
|
2361
|
+
return /* @__PURE__ */ q(
|
|
2362
2362
|
"div",
|
|
2363
2363
|
{
|
|
2364
2364
|
className: f({
|
|
@@ -2385,7 +2385,7 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2385
2385
|
spTextWithLabel: Dr
|
|
2386
2386
|
}, Ep = (e) => {
|
|
2387
2387
|
const { children: t, label: o, style: n, ...a } = e;
|
|
2388
|
-
return /* @__PURE__ */
|
|
2388
|
+
return /* @__PURE__ */ q("div", { className: Or.spTextWithLabel, style: { ...n }, children: [
|
|
2389
2389
|
/* @__PURE__ */ c(At, { label: o }),
|
|
2390
2390
|
/* @__PURE__ */ c(Te, { ...a, children: t })
|
|
2391
2391
|
] });
|
|
@@ -3654,19 +3654,19 @@ const zr = [
|
|
|
3654
3654
|
];
|
|
3655
3655
|
function Wr(e) {
|
|
3656
3656
|
return Ae(this, void 0, void 0, function* () {
|
|
3657
|
-
return Ze(e) && Mr(e.dataTransfer) ? Hr(e.dataTransfer, e.type) :
|
|
3657
|
+
return Ze(e) && Mr(e.dataTransfer) ? Hr(e.dataTransfer, e.type) : qr(e) ? Ur(e) : Array.isArray(e) && e.every((t) => "getFile" in t && typeof t.getFile == "function") ? $r(e) : [];
|
|
3658
3658
|
});
|
|
3659
3659
|
}
|
|
3660
3660
|
function Mr(e) {
|
|
3661
3661
|
return Ze(e);
|
|
3662
3662
|
}
|
|
3663
|
-
function
|
|
3663
|
+
function qr(e) {
|
|
3664
3664
|
return Ze(e) && Ze(e.target);
|
|
3665
3665
|
}
|
|
3666
3666
|
function Ze(e) {
|
|
3667
3667
|
return typeof e == "object" && e !== null;
|
|
3668
3668
|
}
|
|
3669
|
-
function
|
|
3669
|
+
function Ur(e) {
|
|
3670
3670
|
return Et(e.target.files).map((t) => Oe(t));
|
|
3671
3671
|
}
|
|
3672
3672
|
function $r(e) {
|
|
@@ -4088,7 +4088,7 @@ var Dt = /* @__PURE__ */ Yo(function(e, t) {
|
|
|
4088
4088
|
return {
|
|
4089
4089
|
open: i
|
|
4090
4090
|
};
|
|
4091
|
-
}, [i]), /* @__PURE__ */
|
|
4091
|
+
}, [i]), /* @__PURE__ */ qe.createElement(Ko, null, o(J(J({}, r), {}, {
|
|
4092
4092
|
open: i
|
|
4093
4093
|
})));
|
|
4094
4094
|
});
|
|
@@ -4288,7 +4288,7 @@ var jt = {
|
|
|
4288
4288
|
fileRejections: []
|
|
4289
4289
|
};
|
|
4290
4290
|
function Wo() {
|
|
4291
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = J(J({}, zo), e), o = t.accept, n = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, u = t.maxFiles, l = t.onDragEnter, _ = t.onDragLeave, m = t.onDragOver, g = t.onDrop, y = t.onDropAccepted, w = t.onDropRejected, C = t.onFileDialogCancel, S = t.onFileDialogOpen, P = t.useFsAccessApi,
|
|
4291
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = J(J({}, zo), e), o = t.accept, n = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, u = t.maxFiles, l = t.onDragEnter, _ = t.onDragLeave, m = t.onDragOver, g = t.onDrop, y = t.onDropAccepted, w = t.onDropRejected, C = t.onFileDialogCancel, S = t.onFileDialogOpen, P = t.useFsAccessApi, U = t.autoFocus, A = t.preventDropOnDocument, h = t.noClick, d = t.noKeyboard, j = t.noDrag, B = t.noDragEventsBubbling, O = t.onError, Q = t.validator, ie = De(function() {
|
|
4292
4292
|
return ds(o);
|
|
4293
4293
|
}, [o]), re = De(function() {
|
|
4294
4294
|
return cs(o);
|
|
@@ -4296,7 +4296,7 @@ function Wo() {
|
|
|
4296
4296
|
return typeof S == "function" ? S : co;
|
|
4297
4297
|
}, [S]), ce = De(function() {
|
|
4298
4298
|
return typeof C == "function" ? C : co;
|
|
4299
|
-
}, [C]), X = me(null), Z = me(null), ee = Vo(Ns, jt), T = Ct(ee, 2),
|
|
4299
|
+
}, [C]), X = me(null), Z = me(null), ee = Vo(Ns, jt), T = Ct(ee, 2), H = T[0], W = T[1], p = H.isFocused, v = H.isFileDialogActive, R = me(typeof window < "u" && window.isSecureContext && P && ls()), I = function() {
|
|
4300
4300
|
!R.current && v && setTimeout(function() {
|
|
4301
4301
|
if (Z.current) {
|
|
4302
4302
|
var L = Z.current.files;
|
|
@@ -4319,9 +4319,9 @@ function Wo() {
|
|
|
4319
4319
|
A && (document.removeEventListener("dragover", po), document.removeEventListener("drop", D));
|
|
4320
4320
|
};
|
|
4321
4321
|
}, [X, A]), ne(function() {
|
|
4322
|
-
return !n &&
|
|
4322
|
+
return !n && U && X.current && X.current.focus(), function() {
|
|
4323
4323
|
};
|
|
4324
|
-
}, [X,
|
|
4324
|
+
}, [X, U, n]);
|
|
4325
4325
|
var F = ve(function(b) {
|
|
4326
4326
|
O ? O(b) : console.error(b);
|
|
4327
4327
|
}, [O]), z = ve(function(b) {
|
|
@@ -4355,7 +4355,7 @@ function Wo() {
|
|
|
4355
4355
|
} catch {
|
|
4356
4356
|
}
|
|
4357
4357
|
return L && m && m(b), !1;
|
|
4358
|
-
}, [m, B]),
|
|
4358
|
+
}, [m, B]), V = ve(function(b) {
|
|
4359
4359
|
b.preventDefault(), b.persist(), $e(b);
|
|
4360
4360
|
var L = N.current.filter(function(se) {
|
|
4361
4361
|
return X.current && X.current.contains(se);
|
|
@@ -4441,7 +4441,7 @@ function Wo() {
|
|
|
4441
4441
|
return n ? null : L;
|
|
4442
4442
|
}, ot = function(L) {
|
|
4443
4443
|
return d ? null : Ie(L);
|
|
4444
|
-
},
|
|
4444
|
+
}, Ue = function(L) {
|
|
4445
4445
|
return j ? null : Ie(L);
|
|
4446
4446
|
}, $e = function(L) {
|
|
4447
4447
|
B && L.stopPropagation();
|
|
@@ -4453,18 +4453,18 @@ function Wo() {
|
|
|
4453
4453
|
onFocus: ot(ke(Be, Se)),
|
|
4454
4454
|
onBlur: ot(ke(Le, Pe)),
|
|
4455
4455
|
onClick: Ie(ke(nt, Ot)),
|
|
4456
|
-
onDragEnter:
|
|
4457
|
-
onDragOver:
|
|
4458
|
-
onDragLeave:
|
|
4459
|
-
onDrop:
|
|
4456
|
+
onDragEnter: Ue(ke(at, z)),
|
|
4457
|
+
onDragOver: Ue(ke(it, $)),
|
|
4458
|
+
onDragLeave: Ue(ke(He, V)),
|
|
4459
|
+
onDrop: Ue(ke(rt, ae)),
|
|
4460
4460
|
role: typeof se == "string" && se !== "" ? se : "presentation"
|
|
4461
4461
|
}, oe, X), !n && !d ? {
|
|
4462
4462
|
tabIndex: 0
|
|
4463
4463
|
} : {}), st);
|
|
4464
4464
|
};
|
|
4465
|
-
}, [X, xe, Se, Pe, Ot, z, $,
|
|
4465
|
+
}, [X, xe, Se, Pe, Ot, z, $, V, ae, d, j, n]), qo = ve(function(b) {
|
|
4466
4466
|
b.stopPropagation();
|
|
4467
|
-
}, []),
|
|
4467
|
+
}, []), Uo = De(function() {
|
|
4468
4468
|
return function() {
|
|
4469
4469
|
var b = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, L = b.refKey, oe = L === void 0 ? "ref" : L, se = b.onChange, he = b.onClick, Be = Je(b, gs), Le = Ft({
|
|
4470
4470
|
accept: ie,
|
|
@@ -4483,16 +4483,16 @@ function Wo() {
|
|
|
4483
4483
|
whiteSpace: "nowrap"
|
|
4484
4484
|
},
|
|
4485
4485
|
onChange: Ie(ke(se, ae)),
|
|
4486
|
-
onClick: Ie(ke(he,
|
|
4486
|
+
onClick: Ie(ke(he, qo)),
|
|
4487
4487
|
tabIndex: -1
|
|
4488
4488
|
}, oe, Z);
|
|
4489
4489
|
return J(J({}, Le), Be);
|
|
4490
4490
|
};
|
|
4491
4491
|
}, [Z, o, s, ae, n]);
|
|
4492
|
-
return J(J({},
|
|
4492
|
+
return J(J({}, H), {}, {
|
|
4493
4493
|
isFocused: p && !n,
|
|
4494
4494
|
getRootProps: Mo,
|
|
4495
|
-
getInputProps:
|
|
4495
|
+
getInputProps: Uo,
|
|
4496
4496
|
rootRef: X,
|
|
4497
4497
|
inputRef: Z,
|
|
4498
4498
|
open: Ie(x)
|
|
@@ -4563,7 +4563,7 @@ const Es = (e) => Wo(e), Ss = (e) => {
|
|
|
4563
4563
|
i.current && u(i.current.scrollWidth > i.current.clientWidth), r.current && _(r.current.offsetWidth);
|
|
4564
4564
|
}, [t]);
|
|
4565
4565
|
const m = Rs(t);
|
|
4566
|
-
return /* @__PURE__ */
|
|
4566
|
+
return /* @__PURE__ */ q("div", { className: mo.ellipsisFileName, children: [
|
|
4567
4567
|
/* @__PURE__ */ c(
|
|
4568
4568
|
et,
|
|
4569
4569
|
{
|
|
@@ -4591,19 +4591,19 @@ const Es = (e) => Wo(e), Ss = (e) => {
|
|
|
4591
4591
|
),
|
|
4592
4592
|
s && /* @__PURE__ */ c(Te, { type: n, classNameRoot: a, children: m })
|
|
4593
4593
|
] });
|
|
4594
|
-
}, Ls = "
|
|
4594
|
+
}, Ls = "_spUploadFiles_1y1qm_43", Ds = "_spUploadFiles_error_1y1qm_49", Os = "_spUploadFiles__control_1y1qm_49", Ps = "_spUploadFiles__fileNameContainer_1y1qm_53", Bs = "_spUploadFiles__fileName_dragError_1y1qm_57", zs = "_spUploadFiles__placeholderContainer_1y1qm_60", Ws = "_spUploadFiles__placeholderContainer_withUloadTooltip_1y1qm_70", Ms = "_spUploadFiles__placeholder_1y1qm_60", qs = "_spUploadFiles__control_loading_1y1qm_102", Us = "_shimmer_1y1qm_1", $s = "_spUploadFiles__fileName_1y1qm_53", Hs = "_spUploadFiles_fileUploaded_1y1qm_149", Vs = "_spUploadFiles_disabled_1y1qm_149", Ys = "_spUploadFiles__fileNamesList_1y1qm_160", Gs = "_spUploadFiles__fileNamesList_loading_1y1qm_169", Ks = "_spUploadFiles__fileNamesListItem_1y1qm_179", Xs = "_spUploadFiles__fileNamesListItem__iconContainer_1y1qm_193", Zs = "_spUploadFiles__fileNamesListItem__iconContainer_error_1y1qm_198", Qs = "_spUploadFiles__fileNamesListItem__mainContent_1y1qm_202", Js = "_spUploadFiles__fileNamesListItem__fileName_1y1qm_208", ep = "_spUploadFiles__fileNamesListItem__description_1y1qm_212", tp = "_spUploadFiles__fileNamesListItem__description__tooltipContent_1y1qm_217", op = "_spUploadFiles__fileNamesListItem__description_error_1y1qm_220", np = "_spUploadFiles__fileNamesListItemDelete_1y1qm_223", ap = "_spUploadFiles__fileNamesListItemDelete_error_1y1qm_240", ip = "_spUploadFiles__tooltipWrapper_1y1qm_250", rp = "_spUploadFiles__tooltip_1y1qm_250", sp = "_spUploadFiles__delete_1y1qm_256", pp = "_spUploadFiles__delete_loading_1y1qm_260", lp = "_spUploadFiles__error_1y1qm_269", Y = {
|
|
4595
4595
|
spUploadFiles: Ls,
|
|
4596
4596
|
spUploadFiles_error: Ds,
|
|
4597
4597
|
spUploadFiles__control: Os,
|
|
4598
4598
|
spUploadFiles__fileNameContainer: Ps,
|
|
4599
4599
|
spUploadFiles__fileName_dragError: Bs,
|
|
4600
4600
|
spUploadFiles__placeholderContainer: zs,
|
|
4601
|
-
"spUploadFiles--variant-input": "_spUploadFiles--variant-
|
|
4601
|
+
"spUploadFiles--variant-input": "_spUploadFiles--variant-input_1y1qm_63",
|
|
4602
4602
|
spUploadFiles__placeholderContainer_withUloadTooltip: Ws,
|
|
4603
4603
|
spUploadFiles__placeholder: Ms,
|
|
4604
|
-
"spUploadFiles--variant-dropzone": "_spUploadFiles--variant-
|
|
4605
|
-
spUploadFiles__control_loading:
|
|
4606
|
-
shimmer:
|
|
4604
|
+
"spUploadFiles--variant-dropzone": "_spUploadFiles--variant-dropzone_1y1qm_85",
|
|
4605
|
+
spUploadFiles__control_loading: qs,
|
|
4606
|
+
shimmer: Us,
|
|
4607
4607
|
spUploadFiles__fileName: $s,
|
|
4608
4608
|
spUploadFiles_fileUploaded: Hs,
|
|
4609
4609
|
spUploadFiles_disabled: Vs,
|
|
@@ -4653,7 +4653,7 @@ const Es = (e) => Wo(e), Ss = (e) => {
|
|
|
4653
4653
|
a(N, n);
|
|
4654
4654
|
},
|
|
4655
4655
|
[w, u, s, n, a]
|
|
4656
|
-
), { getRootProps: P, getInputProps:
|
|
4656
|
+
), { getRootProps: P, getInputProps: U, isDragReject: A } = Es({
|
|
4657
4657
|
accept: i,
|
|
4658
4658
|
onDrop: S,
|
|
4659
4659
|
multiple: s,
|
|
@@ -4663,23 +4663,21 @@ const Es = (e) => Wo(e), Ss = (e) => {
|
|
|
4663
4663
|
d(A);
|
|
4664
4664
|
}, [A]);
|
|
4665
4665
|
const j = [...u.map((v) => ({ file: v, errors: null })), ...w], B = (j == null ? void 0 : j.length) > 0 || (w == null ? void 0 : w.length) > 0, O = o === "input", Q = f({
|
|
4666
|
-
[
|
|
4667
|
-
[
|
|
4668
|
-
[
|
|
4669
|
-
[
|
|
4670
|
-
[
|
|
4671
|
-
[H.spUploadFiles_multiple]: s,
|
|
4672
|
-
[H.spUploadFiles_fileUploaded]: B,
|
|
4666
|
+
[Y.spUploadFiles]: !0,
|
|
4667
|
+
[Y[`spUploadFiles--variant-${o}`]]: o,
|
|
4668
|
+
[Y.spUploadFiles_error]: h && !s && y && y.length > 0,
|
|
4669
|
+
[Y.spUploadFiles_disabled]: r,
|
|
4670
|
+
[Y.spUploadFiles_fileUploaded]: B,
|
|
4673
4671
|
...m && { [m]: !0 }
|
|
4674
4672
|
}), ie = f({
|
|
4675
|
-
[
|
|
4676
|
-
[
|
|
4673
|
+
[Y.spUploadFiles__control]: !0,
|
|
4674
|
+
[Y.spUploadFiles__control_loading]: g
|
|
4677
4675
|
}), re = f({
|
|
4678
|
-
[
|
|
4679
|
-
[
|
|
4676
|
+
[Y.spUploadFiles__fileNamesList]: !0,
|
|
4677
|
+
[Y.spUploadFiles__fileNamesList_loading]: g
|
|
4680
4678
|
}), ue = f({
|
|
4681
|
-
[
|
|
4682
|
-
[
|
|
4679
|
+
[Y.spUploadFiles__delete]: !0,
|
|
4680
|
+
[Y.spUploadFiles__delete_loading]: g
|
|
4683
4681
|
}), ce = (v, R) => {
|
|
4684
4682
|
if (g)
|
|
4685
4683
|
return;
|
|
@@ -4699,10 +4697,10 @@ const Es = (e) => Wo(e), Ss = (e) => {
|
|
|
4699
4697
|
Ye,
|
|
4700
4698
|
{
|
|
4701
4699
|
text: `Неверный формат файла. Загрузите файл в формате ${v}`,
|
|
4702
|
-
classNameTooltipRoot: f(
|
|
4700
|
+
classNameTooltipRoot: f(Y.spUploadFiles__fileNameContainer),
|
|
4703
4701
|
classNameRoot: f(
|
|
4704
|
-
|
|
4705
|
-
h &&
|
|
4702
|
+
Y.spUploadFiles__fileName,
|
|
4703
|
+
h && Y.spUploadFiles__fileName_dragError
|
|
4706
4704
|
)
|
|
4707
4705
|
}
|
|
4708
4706
|
);
|
|
@@ -4711,18 +4709,18 @@ const Es = (e) => Wo(e), Ss = (e) => {
|
|
|
4711
4709
|
Ye,
|
|
4712
4710
|
{
|
|
4713
4711
|
text: j[0].file.name,
|
|
4714
|
-
classNameTooltipRoot: f(
|
|
4715
|
-
classNameRoot: f(
|
|
4712
|
+
classNameTooltipRoot: f(Y.spUploadFiles__fileNameContainer),
|
|
4713
|
+
classNameRoot: f(Y.spUploadFiles__fileName)
|
|
4716
4714
|
}
|
|
4717
4715
|
);
|
|
4718
4716
|
}, T = () => /* @__PURE__ */ c("ul", { className: re, children: j.map(({ file: v, errors: R }, I) => {
|
|
4719
4717
|
const N = R ? (R == null ? void 0 : R.length) > 0 : void 0, D = () => R ? R == null ? void 0 : R.map(Ss).join(", ") : "";
|
|
4720
|
-
return /* @__PURE__ */
|
|
4718
|
+
return /* @__PURE__ */ q(
|
|
4721
4719
|
"li",
|
|
4722
4720
|
{
|
|
4723
4721
|
className: f(
|
|
4724
|
-
|
|
4725
|
-
N &&
|
|
4722
|
+
Y.spUploadFiles__fileNamesListItem,
|
|
4723
|
+
N && Y.spUploadFiles__fileNamesListItem_error
|
|
4726
4724
|
),
|
|
4727
4725
|
onClick: (F) => {
|
|
4728
4726
|
F.stopPropagation();
|
|
@@ -4732,28 +4730,28 @@ const Es = (e) => Wo(e), Ss = (e) => {
|
|
|
4732
4730
|
"div",
|
|
4733
4731
|
{
|
|
4734
4732
|
className: f(
|
|
4735
|
-
|
|
4736
|
-
N &&
|
|
4733
|
+
Y.spUploadFiles__fileNamesListItem__iconContainer,
|
|
4734
|
+
N && Y.spUploadFiles__fileNamesListItem__iconContainer_error
|
|
4737
4735
|
),
|
|
4738
4736
|
children: /* @__PURE__ */ c(ge, { name: N ? pe.InfoError : pe.File })
|
|
4739
4737
|
}
|
|
4740
4738
|
),
|
|
4741
|
-
/* @__PURE__ */
|
|
4739
|
+
/* @__PURE__ */ q("div", { className: Y.spUploadFiles__fileNamesListItem__mainContent, children: [
|
|
4742
4740
|
/* @__PURE__ */ c(
|
|
4743
4741
|
Is,
|
|
4744
4742
|
{
|
|
4745
4743
|
fileName: v.name,
|
|
4746
|
-
classNameEllipsisText:
|
|
4744
|
+
classNameEllipsisText: Y.spUploadFiles__fileNamesListItem__fileName
|
|
4747
4745
|
}
|
|
4748
4746
|
),
|
|
4749
4747
|
/* @__PURE__ */ c(
|
|
4750
4748
|
Ye,
|
|
4751
4749
|
{
|
|
4752
4750
|
text: N ? D() : Fs(v.size),
|
|
4753
|
-
classNameBaseTooltipRoot:
|
|
4751
|
+
classNameBaseTooltipRoot: Y.spUploadFiles__fileNamesListItem__description__tooltipContent,
|
|
4754
4752
|
classNameRoot: f(
|
|
4755
|
-
|
|
4756
|
-
N &&
|
|
4753
|
+
Y.spUploadFiles__fileNamesListItem__description,
|
|
4754
|
+
N && Y.spUploadFiles__fileNamesListItem__description_error
|
|
4757
4755
|
)
|
|
4758
4756
|
}
|
|
4759
4757
|
)
|
|
@@ -4761,7 +4759,7 @@ const Es = (e) => Wo(e), Ss = (e) => {
|
|
|
4761
4759
|
/* @__PURE__ */ c(
|
|
4762
4760
|
"div",
|
|
4763
4761
|
{
|
|
4764
|
-
className: f(
|
|
4762
|
+
className: f(Y.spUploadFiles__fileNamesListItemDelete),
|
|
4765
4763
|
onClick: (F) => {
|
|
4766
4764
|
F.stopPropagation(), ce(v.name, N);
|
|
4767
4765
|
},
|
|
@@ -4772,25 +4770,25 @@ const Es = (e) => Wo(e), Ss = (e) => {
|
|
|
4772
4770
|
},
|
|
4773
4771
|
I
|
|
4774
4772
|
);
|
|
4775
|
-
}) }),
|
|
4773
|
+
}) }), H = () => s ? T() : ee(), W = () => /* @__PURE__ */ c(
|
|
4776
4774
|
Ye,
|
|
4777
4775
|
{
|
|
4778
|
-
classNameRoot:
|
|
4776
|
+
classNameRoot: Y.spUploadFiles__placeholder,
|
|
4779
4777
|
classNameTooltipRoot: f(
|
|
4780
|
-
|
|
4781
|
-
!!l &&
|
|
4778
|
+
Y.spUploadFiles__placeholderContainer,
|
|
4779
|
+
!!l && Y.spUploadFiles__placeholderContainer_withUloadTooltip
|
|
4782
4780
|
),
|
|
4783
4781
|
text: t
|
|
4784
4782
|
}
|
|
4785
|
-
), p = () => /* @__PURE__ */
|
|
4786
|
-
B ?
|
|
4783
|
+
), p = () => /* @__PURE__ */ q(uo, { children: [
|
|
4784
|
+
B ? H() : W(),
|
|
4787
4785
|
B && O ? /* @__PURE__ */ c("div", { className: ue, onClick: X, children: /* @__PURE__ */ c(ge, { name: pe.Close }) }) : O && l && /* @__PURE__ */ c(
|
|
4788
4786
|
tt,
|
|
4789
4787
|
{
|
|
4790
|
-
classNameTooltip:
|
|
4788
|
+
classNameTooltip: Y.spUploadFiles__tooltipWrapper,
|
|
4791
4789
|
position: _,
|
|
4792
4790
|
text: l,
|
|
4793
|
-
classNameTriggerTooltip:
|
|
4791
|
+
classNameTriggerTooltip: Y.spUploadFiles__tooltip
|
|
4794
4792
|
}
|
|
4795
4793
|
)
|
|
4796
4794
|
] });
|
|
@@ -4798,15 +4796,15 @@ const Es = (e) => Wo(e), Ss = (e) => {
|
|
|
4798
4796
|
Fa,
|
|
4799
4797
|
{
|
|
4800
4798
|
getRootProps: P,
|
|
4801
|
-
getInputProps:
|
|
4799
|
+
getInputProps: U,
|
|
4802
4800
|
disabled: r,
|
|
4803
4801
|
name: n,
|
|
4804
|
-
children: /* @__PURE__ */
|
|
4805
|
-
/* @__PURE__ */
|
|
4802
|
+
children: /* @__PURE__ */ q("div", { className: Q, children: [
|
|
4803
|
+
/* @__PURE__ */ q("div", { className: ie, children: [
|
|
4806
4804
|
O && (g ? /* @__PURE__ */ c(vo, {}) : /* @__PURE__ */ c(ge, { name: B ? pe.Check : pe.Upload })),
|
|
4807
4805
|
p()
|
|
4808
4806
|
] }),
|
|
4809
|
-
y && /* @__PURE__ */ c("div", { className:
|
|
4807
|
+
y && /* @__PURE__ */ c("div", { className: Y.spUploadFiles__error, children: y })
|
|
4810
4808
|
] })
|
|
4811
4809
|
}
|
|
4812
4810
|
);
|