test-stpr-ui-kit 0.4.55 → 0.4.56
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 +114 -112
- 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 U, jsx as c, Fragment as uo } from "react/jsx-runtime";
|
|
2
2
|
import * as k from "react";
|
|
3
|
-
import
|
|
3
|
+
import Ue, { 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 Ue.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
|
+
}), q = 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__ */ U("div", { className: P, children: [
|
|
112
|
+
/* @__PURE__ */ U("div", { className: q, 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", Un = "_spButton_white_zixup_99", qn = "_spButton_secondary_zixup_109", $n = "_spButton_fullWidth_zixup_129", Hn = "_spButton_disabled_zixup_132", Vn = "_spButton__spinner_zixup_141", we = {
|
|
139
139
|
spButton: Ln,
|
|
140
140
|
spButton_noPadding: Dn,
|
|
141
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: Un,
|
|
148
|
+
spButton_secondary: qn,
|
|
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
|
+
}, q = () => {
|
|
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__ */ U(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: q()
|
|
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__ */ U("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 = Ue.forwardRef((e, t) => {
|
|
268
268
|
const {
|
|
269
269
|
text: o,
|
|
270
270
|
noPadding: n = !1,
|
|
@@ -327,9 +327,9 @@ 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), q = me(null), A = me(null), [h, d] = te(!1);
|
|
331
331
|
xo(
|
|
332
|
-
[
|
|
332
|
+
[q, A],
|
|
333
333
|
() => {
|
|
334
334
|
s && s(), P(!1);
|
|
335
335
|
},
|
|
@@ -342,8 +342,8 @@ const et = (e) => {
|
|
|
342
342
|
opacity: 0,
|
|
343
343
|
left: "-9999px"
|
|
344
344
|
}), [Q, ie] = te(!1), re = ve(() => {
|
|
345
|
-
if (!
|
|
346
|
-
const T =
|
|
345
|
+
if (!q.current || !A.current) return;
|
|
346
|
+
const T = q.current.getBoundingClientRect(), H = A.current.getBoundingClientRect();
|
|
347
347
|
let W = 0, p = 0;
|
|
348
348
|
switch (l) {
|
|
349
349
|
case le.Right:
|
|
@@ -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__ */ U(
|
|
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: q, 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
|
+
}), q = 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__ */ U("div", { className: C, onMouseEnter: g, children: [
|
|
491
|
+
/* @__PURE__ */ U("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: q, 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 = Ue.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
|
+
}), q = 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__ */ U("div", { className: S, style: s, children: [
|
|
644
|
+
(m || g) && /* @__PURE__ */ U("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: q,
|
|
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: q,
|
|
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: q,
|
|
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__ */ U(
|
|
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__ */ U("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__ */ U("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__ */ U(
|
|
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__ */ U("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", Ua = "_spForm_fullWidth_zefbj_46", qa = "_spForm_withSeparator_zefbj_49", We = {
|
|
852
852
|
spForm: Ma,
|
|
853
|
-
spForm_fullWidth:
|
|
854
|
-
spForm_withSeparator:
|
|
853
|
+
spForm_fullWidth: Ua,
|
|
854
|
+
spForm_withSeparator: qa,
|
|
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__ */ U("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 = Ue.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: q,
|
|
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
|
+
...q && { [q]: !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__ */ U("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__ */ U("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 = Ut(l), _ = Ut(_);
|
|
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 Ut(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 qt(e) {
|
|
|
1111
1111
|
return t;
|
|
1112
1112
|
}
|
|
1113
1113
|
}
|
|
1114
|
-
var mi = It.match,
|
|
1114
|
+
var mi = It.match, qt = typeof window < "u" ? window.matchMedia : null;
|
|
1115
1115
|
function ui(e, t, o) {
|
|
1116
1116
|
var n = this, a;
|
|
1117
|
-
|
|
1117
|
+
qt && !o && (a = qt.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, q = 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 === q || 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, q = 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 === q || x.$$typeof === C);
|
|
1252
1252
|
}
|
|
1253
1253
|
function h(x) {
|
|
1254
1254
|
if (typeof x == "object" && x !== null) {
|
|
@@ -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: q(),
|
|
1477
1477
|
arrayOf: A,
|
|
1478
1478
|
element: h(),
|
|
1479
1479
|
elementType: d(),
|
|
@@ -1529,7 +1529,7 @@ function Ti() {
|
|
|
1529
1529
|
}
|
|
1530
1530
|
return S(v);
|
|
1531
1531
|
}
|
|
1532
|
-
function
|
|
1532
|
+
function q() {
|
|
1533
1533
|
return S(r);
|
|
1534
1534
|
}
|
|
1535
1535
|
function A(p) {
|
|
@@ -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
|
+
}, Ui = (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
|
+
}, qi = (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 = Ui(e);
|
|
1918
1918
|
if (!a)
|
|
1919
1919
|
throw new Error("Invalid or missing MediaQuery!");
|
|
1920
|
-
const i =
|
|
1920
|
+
const i = qi(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, q = s.current + (l.current - s.current) * P, A = Math.max(0, Math.floor(q));
|
|
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__ */ U("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__ */ U(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: q,
|
|
2057
2057
|
classNameLabel: A,
|
|
2058
2058
|
classNameBaseTooltipRoot: h
|
|
2059
2059
|
} = e, [d, j] = te(!1), B = me(null);
|
|
@@ -2090,9 +2090,9 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2090
2090
|
...A && { [A]: !0 }
|
|
2091
2091
|
}), H = f({
|
|
2092
2092
|
[be.spSelect__error]: !0,
|
|
2093
|
-
...
|
|
2093
|
+
...q && { [q]: !0 }
|
|
2094
2094
|
});
|
|
2095
|
-
return /* @__PURE__ */
|
|
2095
|
+
return /* @__PURE__ */ U("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__ */ U("div", { className: ue, onMouseEnter: s, children: [
|
|
2108
|
+
/* @__PURE__ */ U(
|
|
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__ */ U(
|
|
2136
2136
|
"div",
|
|
2137
2137
|
{
|
|
2138
2138
|
className: f({
|
|
@@ -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__ */ U("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__ */ U("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__ */ U("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(), q = () => 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__ */ U(
|
|
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__ */ U(
|
|
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() : q() : 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__ */ U(
|
|
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__ */ U("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) : Ur(e) ? qr(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 Ur(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 qr(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__ */ Ue.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, q = 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);
|
|
@@ -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 && q && X.current && X.current.focus(), function() {
|
|
4323
4323
|
};
|
|
4324
|
-
}, [X,
|
|
4324
|
+
}, [X, q, n]);
|
|
4325
4325
|
var F = ve(function(b) {
|
|
4326
4326
|
O ? O(b) : console.error(b);
|
|
4327
4327
|
}, [O]), z = ve(function(b) {
|
|
@@ -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
|
+
}, qe = 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: qe(ke(at, z)),
|
|
4457
|
+
onDragOver: qe(ke(it, $)),
|
|
4458
|
+
onDragLeave: qe(ke(He, V)),
|
|
4459
|
+
onDrop: qe(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, $, V, ae, d, j, n]),
|
|
4465
|
+
}, [X, xe, Se, Pe, Ot, z, $, V, ae, d, j, n]), Uo = ve(function(b) {
|
|
4466
4466
|
b.stopPropagation();
|
|
4467
|
-
}, []),
|
|
4467
|
+
}, []), qo = 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,7 +4483,7 @@ 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, Uo)),
|
|
4487
4487
|
tabIndex: -1
|
|
4488
4488
|
}, oe, Z);
|
|
4489
4489
|
return J(J({}, Le), Be);
|
|
@@ -4492,7 +4492,7 @@ function Wo() {
|
|
|
4492
4492
|
return J(J({}, H), {}, {
|
|
4493
4493
|
isFocused: p && !n,
|
|
4494
4494
|
getRootProps: Mo,
|
|
4495
|
-
getInputProps:
|
|
4495
|
+
getInputProps: qo,
|
|
4496
4496
|
rootRef: X,
|
|
4497
4497
|
inputRef: Z,
|
|
4498
4498
|
open: Ie(x)
|
|
@@ -4558,12 +4558,14 @@ const Es = (e) => Wo(e), Ss = (e) => {
|
|
|
4558
4558
|
ellipsisFileName: js,
|
|
4559
4559
|
tooltipContent: As
|
|
4560
4560
|
}, Is = (e) => {
|
|
4561
|
-
const { fileName: t, classNameRoot: o, type: n = "p2", classNameEllipsisText: a } = e, i = me(null), r = me(null), [s, u] = te(!1), [l, _] = te(0)
|
|
4562
|
-
Xo(() => {
|
|
4561
|
+
const { fileName: t, classNameRoot: o, type: n = "p2", classNameEllipsisText: a } = e, i = me(null), r = me(null), [s, u] = te(!1), [l, _] = te(0), m = () => {
|
|
4563
4562
|
i.current && u(i.current.scrollWidth > i.current.clientWidth), r.current && _(r.current.offsetWidth);
|
|
4564
|
-
}
|
|
4565
|
-
|
|
4566
|
-
|
|
4563
|
+
};
|
|
4564
|
+
Xo(() => (m(), window.addEventListener("resize", m), () => {
|
|
4565
|
+
window.removeEventListener("resize", m);
|
|
4566
|
+
}), [t]);
|
|
4567
|
+
const g = Rs(t);
|
|
4568
|
+
return /* @__PURE__ */ U("div", { className: mo.ellipsisFileName, children: [
|
|
4567
4569
|
/* @__PURE__ */ c(
|
|
4568
4570
|
et,
|
|
4569
4571
|
{
|
|
@@ -4586,24 +4588,24 @@ const Es = (e) => Wo(e), Ss = (e) => {
|
|
|
4586
4588
|
pointerEvents: "none",
|
|
4587
4589
|
whiteSpace: "nowrap"
|
|
4588
4590
|
},
|
|
4589
|
-
children: /* @__PURE__ */ c(Te, { type: n, classNameRoot: a, children:
|
|
4591
|
+
children: /* @__PURE__ */ c(Te, { type: n, classNameRoot: a, children: g })
|
|
4590
4592
|
}
|
|
4591
4593
|
),
|
|
4592
|
-
s && /* @__PURE__ */ c(Te, { type: n, classNameRoot: a, children:
|
|
4594
|
+
s && /* @__PURE__ */ c(Te, { type: n, classNameRoot: a, children: g })
|
|
4593
4595
|
] });
|
|
4594
|
-
}, Ls = "
|
|
4596
|
+
}, Ls = "_spUploadFiles_1ntrt_43", Ds = "_spUploadFiles_error_1ntrt_49", Os = "_spUploadFiles__control_1ntrt_49", Ps = "_spUploadFiles__fileNameContainer_1ntrt_53", Bs = "_spUploadFiles__fileName_dragError_1ntrt_57", zs = "_spUploadFiles__placeholderContainer_1ntrt_60", Ws = "_spUploadFiles__placeholderContainer_withUloadTooltip_1ntrt_70", Ms = "_spUploadFiles__placeholder_1ntrt_60", Us = "_spUploadFiles__control_loading_1ntrt_102", qs = "_shimmer_1ntrt_1", $s = "_spUploadFiles__fileName_1ntrt_53", Hs = "_spUploadFiles_fileUploaded_1ntrt_149", Vs = "_spUploadFiles_disabled_1ntrt_149", Ys = "_spUploadFiles__fileNamesList_1ntrt_160", Gs = "_spUploadFiles__fileNamesList_loading_1ntrt_169", Ks = "_spUploadFiles__fileNamesListItem_1ntrt_185", Xs = "_spUploadFiles__fileNamesListItem__iconContainer_1ntrt_199", Zs = "_spUploadFiles__fileNamesListItem__iconContainer_error_1ntrt_204", Qs = "_spUploadFiles__fileNamesListItem__mainContent_1ntrt_208", Js = "_spUploadFiles__fileNamesListItem__fileName_1ntrt_214", ep = "_spUploadFiles__fileNamesListItem__description_1ntrt_218", tp = "_spUploadFiles__fileNamesListItem__description__tooltipContent_1ntrt_223", op = "_spUploadFiles__fileNamesListItem__description_error_1ntrt_226", np = "_spUploadFiles__fileNamesListItemDelete_1ntrt_229", ap = "_spUploadFiles__fileNamesListItemDelete_error_1ntrt_246", ip = "_spUploadFiles__tooltipWrapper_1ntrt_256", rp = "_spUploadFiles__tooltip_1ntrt_256", sp = "_spUploadFiles__delete_1ntrt_262", pp = "_spUploadFiles__delete_loading_1ntrt_266", lp = "_spUploadFiles__error_1ntrt_275", Y = {
|
|
4595
4597
|
spUploadFiles: Ls,
|
|
4596
4598
|
spUploadFiles_error: Ds,
|
|
4597
4599
|
spUploadFiles__control: Os,
|
|
4598
4600
|
spUploadFiles__fileNameContainer: Ps,
|
|
4599
4601
|
spUploadFiles__fileName_dragError: Bs,
|
|
4600
4602
|
spUploadFiles__placeholderContainer: zs,
|
|
4601
|
-
"spUploadFiles--variant-input": "_spUploadFiles--variant-
|
|
4603
|
+
"spUploadFiles--variant-input": "_spUploadFiles--variant-input_1ntrt_63",
|
|
4602
4604
|
spUploadFiles__placeholderContainer_withUloadTooltip: Ws,
|
|
4603
4605
|
spUploadFiles__placeholder: Ms,
|
|
4604
|
-
"spUploadFiles--variant-dropzone": "_spUploadFiles--variant-
|
|
4605
|
-
spUploadFiles__control_loading:
|
|
4606
|
-
shimmer:
|
|
4606
|
+
"spUploadFiles--variant-dropzone": "_spUploadFiles--variant-dropzone_1ntrt_85",
|
|
4607
|
+
spUploadFiles__control_loading: Us,
|
|
4608
|
+
shimmer: qs,
|
|
4607
4609
|
spUploadFiles__fileName: $s,
|
|
4608
4610
|
spUploadFiles_fileUploaded: Hs,
|
|
4609
4611
|
spUploadFiles_disabled: Vs,
|
|
@@ -4653,7 +4655,7 @@ const Es = (e) => Wo(e), Ss = (e) => {
|
|
|
4653
4655
|
a(N, n);
|
|
4654
4656
|
},
|
|
4655
4657
|
[w, u, s, n, a]
|
|
4656
|
-
), { getRootProps: P, getInputProps:
|
|
4658
|
+
), { getRootProps: P, getInputProps: q, isDragReject: A } = Es({
|
|
4657
4659
|
accept: i,
|
|
4658
4660
|
onDrop: S,
|
|
4659
4661
|
multiple: s,
|
|
@@ -4715,7 +4717,7 @@ const Es = (e) => Wo(e), Ss = (e) => {
|
|
|
4715
4717
|
);
|
|
4716
4718
|
}, T = () => /* @__PURE__ */ c("ul", { className: re, children: j.map(({ file: v, errors: R }, I) => {
|
|
4717
4719
|
const N = R ? (R == null ? void 0 : R.length) > 0 : void 0, D = () => R ? R == null ? void 0 : R.map(Ss).join(", ") : "";
|
|
4718
|
-
return /* @__PURE__ */
|
|
4720
|
+
return /* @__PURE__ */ U(
|
|
4719
4721
|
"li",
|
|
4720
4722
|
{
|
|
4721
4723
|
className: f(
|
|
@@ -4736,7 +4738,7 @@ const Es = (e) => Wo(e), Ss = (e) => {
|
|
|
4736
4738
|
children: /* @__PURE__ */ c(ge, { name: N ? pe.InfoError : pe.File })
|
|
4737
4739
|
}
|
|
4738
4740
|
),
|
|
4739
|
-
/* @__PURE__ */
|
|
4741
|
+
/* @__PURE__ */ U("div", { className: Y.spUploadFiles__fileNamesListItem__mainContent, children: [
|
|
4740
4742
|
/* @__PURE__ */ c(
|
|
4741
4743
|
Is,
|
|
4742
4744
|
{
|
|
@@ -4780,7 +4782,7 @@ const Es = (e) => Wo(e), Ss = (e) => {
|
|
|
4780
4782
|
),
|
|
4781
4783
|
text: t
|
|
4782
4784
|
}
|
|
4783
|
-
), p = () => /* @__PURE__ */
|
|
4785
|
+
), p = () => /* @__PURE__ */ U(uo, { children: [
|
|
4784
4786
|
B ? H() : W(),
|
|
4785
4787
|
B && O ? /* @__PURE__ */ c("div", { className: ue, onClick: X, children: /* @__PURE__ */ c(ge, { name: pe.Close }) }) : O && l && /* @__PURE__ */ c(
|
|
4786
4788
|
tt,
|
|
@@ -4796,11 +4798,11 @@ const Es = (e) => Wo(e), Ss = (e) => {
|
|
|
4796
4798
|
Fa,
|
|
4797
4799
|
{
|
|
4798
4800
|
getRootProps: P,
|
|
4799
|
-
getInputProps:
|
|
4801
|
+
getInputProps: q,
|
|
4800
4802
|
disabled: r,
|
|
4801
4803
|
name: n,
|
|
4802
|
-
children: /* @__PURE__ */
|
|
4803
|
-
/* @__PURE__ */
|
|
4804
|
+
children: /* @__PURE__ */ U("div", { className: Q, children: [
|
|
4805
|
+
/* @__PURE__ */ U("div", { className: ie, children: [
|
|
4804
4806
|
O && (g ? /* @__PURE__ */ c(vo, {}) : /* @__PURE__ */ c(ge, { name: B ? pe.Check : pe.Upload })),
|
|
4805
4807
|
p()
|
|
4806
4808
|
] }),
|