test-stpr-ui-kit 0.4.59 → 0.4.61
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 -108
- package/dist/test-stpr-ui-kit.umd.cjs +10 -10
- 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 l, Fragment as uo } from "react/jsx-runtime";
|
|
2
2
|
import * as T from "react";
|
|
3
|
-
import
|
|
3
|
+
import qe, { useState as te, useEffect as ne, useRef as me, useCallback as ge, 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__ */ T.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
|
...p && { [p]: !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: W, children: [
|
|
112
|
+
/* @__PURE__ */ q("div", { className: U, children: [
|
|
113
113
|
/* @__PURE__ */ l("div", { className: A, children: /* @__PURE__ */ l("span", { onClick: R, children: t }) }),
|
|
114
114
|
/* @__PURE__ */ l(xe, { onClick: R, className: b, name: pe.ChevronDown })
|
|
115
115
|
] }),
|
|
@@ -135,7 +135,7 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
135
135
|
children: /* @__PURE__ */ l("div", { className: ct.spinner__inner })
|
|
136
136
|
}
|
|
137
137
|
);
|
|
138
|
-
}, Ln = "_spButton_zixup_43", Dn = "_spButton_noPadding_zixup_59", Pn = "_spButton_onlyIcon_zixup_62", On = "_spButton__iconContainer_zixup_70", Bn = "_spButton_link_zixup_73", Wn = "_spButton__text_zixup_77", zn = "_spButton_primary_zixup_89", Mn = "_spButton_blue_zixup_89",
|
|
138
|
+
}, Ln = "_spButton_zixup_43", Dn = "_spButton_noPadding_zixup_59", Pn = "_spButton_onlyIcon_zixup_62", On = "_spButton__iconContainer_zixup_70", Bn = "_spButton_link_zixup_73", Wn = "_spButton__text_zixup_77", zn = "_spButton_primary_zixup_89", Mn = "_spButton_blue_zixup_89", 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: Pn,
|
|
@@ -144,8 +144,8 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
144
144
|
spButton__text: Wn,
|
|
145
145
|
spButton_primary: zn,
|
|
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: R
|
|
170
170
|
} = e, W = (b) => {
|
|
171
171
|
s || a == null || a(b);
|
|
172
|
-
},
|
|
172
|
+
}, U = () => {
|
|
173
173
|
const b = f({
|
|
174
174
|
[we.spButton__text]: !0
|
|
175
175
|
}), m = f({
|
|
176
176
|
[we.spButton__iconContainer]: !0,
|
|
177
177
|
...R && { [R]: !0 }
|
|
178
178
|
});
|
|
179
|
-
return /* @__PURE__ */
|
|
179
|
+
return /* @__PURE__ */ q(uo, { children: [
|
|
180
180
|
(i || u) && /* @__PURE__ */ l("div", { className: m, children: u ? /* @__PURE__ */ l(vo, { classNameRoot: we.spButton__spinner }) : i && /* @__PURE__ */ l(xe, { name: i, rotate: r }) }),
|
|
181
181
|
!h && _ && /* @__PURE__ */ l("div", { className: b, 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: d,
|
|
202
202
|
form: p,
|
|
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", We = {
|
|
@@ -233,7 +233,7 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
233
233
|
}), w = f({
|
|
234
234
|
[We.spApplyButtons__cancel]: !0
|
|
235
235
|
});
|
|
236
|
-
return /* @__PURE__ */
|
|
236
|
+
return /* @__PURE__ */ q("div", { className: g, children: [
|
|
237
237
|
n && p && /* @__PURE__ */ l(
|
|
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,9 +327,9 @@ const et = (e) => {
|
|
|
327
327
|
classNameBaseTooltipRoot: h,
|
|
328
328
|
classNameBaseTooltipContentRoot: w,
|
|
329
329
|
styleTooltip: C
|
|
330
|
-
} = e, [R, W] = te(!1),
|
|
330
|
+
} = e, [R, W] = te(!1), U = me(null), A = me(null), [b, m] = te(!1);
|
|
331
331
|
xo(
|
|
332
|
-
[
|
|
332
|
+
[U, A],
|
|
333
333
|
() => {
|
|
334
334
|
s && s(), W(!1);
|
|
335
335
|
},
|
|
@@ -342,8 +342,8 @@ const et = (e) => {
|
|
|
342
342
|
opacity: 0,
|
|
343
343
|
left: "-9999px"
|
|
344
344
|
}), [Z, ie] = te(!1), re = ge(() => {
|
|
345
|
-
if (!
|
|
346
|
-
const k =
|
|
345
|
+
if (!U.current || !A.current) return;
|
|
346
|
+
const k = U.current.getBoundingClientRect(), $ = A.current.getBoundingClientRect();
|
|
347
347
|
let z = 0, c = 0;
|
|
348
348
|
switch (p) {
|
|
349
349
|
case le.Right:
|
|
@@ -413,7 +413,7 @@ const et = (e) => {
|
|
|
413
413
|
[Ot.spTooltip__trigger]: !0,
|
|
414
414
|
...d && { [d]: !0 }
|
|
415
415
|
}), Q = 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__ */ l("div", { ref:
|
|
425
|
+
/* @__PURE__ */ l("div", { ref: U, className: J, children: i }),
|
|
426
426
|
a && /* @__PURE__ */ l(ho, { node: Q, children: /* @__PURE__ */ l(
|
|
427
427
|
go,
|
|
428
428
|
{
|
|
@@ -477,7 +477,7 @@ const et = (e) => {
|
|
|
477
477
|
[Ce.spCheckbox__box_error]: s
|
|
478
478
|
}), W = 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
|
}), m = 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: R, children: [
|
|
492
492
|
/* @__PURE__ */ l(
|
|
493
493
|
"input",
|
|
494
494
|
{
|
|
@@ -500,7 +500,7 @@ const et = (e) => {
|
|
|
500
500
|
}
|
|
501
501
|
}
|
|
502
502
|
),
|
|
503
|
-
r && /* @__PURE__ */ l("span", { className:
|
|
503
|
+
r && /* @__PURE__ */ l("span", { className: U, children: r }),
|
|
504
504
|
p && /* @__PURE__ */ l("div", { className: A, children: "*" }),
|
|
505
505
|
u && /* @__PURE__ */ l("div", { className: m, children: /* @__PURE__ */ l(tt, { position: _, text: u }) })
|
|
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
|
-
}, Ne =
|
|
546
|
+
}, Ne = 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
|
}), W = f({
|
|
623
623
|
[ve.modalWrapper__closeButton]: !0,
|
|
624
624
|
[ve[`modalWrapper__closeButton--size-${w}`]]: w
|
|
625
|
-
}),
|
|
625
|
+
}), U = f({
|
|
626
626
|
[ve.modalWrapper__closeButtonIconContainer]: !0,
|
|
627
627
|
[ve[`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 = `-${P}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, P);
|
|
642
642
|
};
|
|
643
|
-
}, []), /* @__PURE__ */ l(_a, { zIndex: t, isHiddenModal: o, classNameRoot: i, children: /* @__PURE__ */ l("div", { className: C, children: /* @__PURE__ */
|
|
644
|
-
(u || g) && /* @__PURE__ */
|
|
643
|
+
}, []), /* @__PURE__ */ l(_a, { zIndex: t, isHiddenModal: o, classNameRoot: i, children: /* @__PURE__ */ l("div", { className: C, children: /* @__PURE__ */ q("div", { className: R, style: s, children: [
|
|
644
|
+
(u || g) && /* @__PURE__ */ q("div", { className: b, children: [
|
|
645
645
|
typeof u == "string" ? /* @__PURE__ */ l(Ne, { type: "h3", children: u }) : u,
|
|
646
646
|
g && /* @__PURE__ */ l("div", { className: m, children: typeof g == "string" ? /* @__PURE__ */ l(Ne, { 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: W,
|
|
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: R,
|
|
681
681
|
isVisibleCloseButton: W,
|
|
682
|
-
isHiddenModal:
|
|
682
|
+
isHiddenModal: U,
|
|
683
683
|
size: A
|
|
684
684
|
} = e;
|
|
685
685
|
return /* @__PURE__ */ l(
|
|
@@ -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: W,
|
|
695
|
-
isHiddenModal:
|
|
695
|
+
isHiddenModal: U,
|
|
696
696
|
size: A,
|
|
697
697
|
footer: a || s ? /* @__PURE__ */ l(
|
|
698
698
|
Xn,
|
|
@@ -723,7 +723,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
723
723
|
});
|
|
724
724
|
return /* @__PURE__ */ l("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__ */ l("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: () => h(!0),
|
|
785
785
|
actionOnClose: () => h(!1),
|
|
786
|
-
text: /* @__PURE__ */
|
|
786
|
+
text: /* @__PURE__ */ q("div", { className: p, children: [
|
|
787
787
|
o && /* @__PURE__ */ l("div", { className: _, children: o }),
|
|
788
|
-
n.map((C, R) => /* @__PURE__ */
|
|
788
|
+
n.map((C, R) => /* @__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__ */ l("div", { className: s, children: t }),
|
|
810
810
|
/* @__PURE__ */ l("div", { className: d, children: /* @__PURE__ */ l(xe, { 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__ */ l(Ne, { ...s, classNameRoot: u, isEllipsis: !0, ref: d, 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", ze = {
|
|
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
|
}, kp = (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__ */ l("label", { className: d, children: o }),
|
|
903
903
|
t && /* @__PURE__ */ l("div", { className: p, children: "*" }),
|
|
904
904
|
n && /* @__PURE__ */ l("div", { className: _, children: /* @__PURE__ */ l(
|
|
@@ -923,7 +923,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
923
923
|
spInput__clear: ni,
|
|
924
924
|
spInput__error: ai,
|
|
925
925
|
spInput__error_absolutePosition: ii
|
|
926
|
-
}, ri =
|
|
926
|
+
}, ri = qe.forwardRef((e, t) => {
|
|
927
927
|
const {
|
|
928
928
|
value: o,
|
|
929
929
|
onChange: n,
|
|
@@ -941,7 +941,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
941
941
|
tooltipPosition: C,
|
|
942
942
|
isVisibleDefaultTitle: R = !0,
|
|
943
943
|
placeholder: W = "Введите...",
|
|
944
|
-
classNameRoot:
|
|
944
|
+
classNameRoot: U,
|
|
945
945
|
classNameError: A,
|
|
946
946
|
classNameLabel: b,
|
|
947
947
|
classNameBaseTooltipRoot: m,
|
|
@@ -950,7 +950,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
950
950
|
[ke.spInput]: !0,
|
|
951
951
|
[ke.spInput_error]: !!d,
|
|
952
952
|
[ke.spInput_absolutePositionError]: s,
|
|
953
|
-
...
|
|
953
|
+
...U && { [U]: !0 }
|
|
954
954
|
}), O = f({
|
|
955
955
|
[ke.spInput__container]: !0
|
|
956
956
|
}), Z = f({
|
|
@@ -972,7 +972,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
972
972
|
const { value: k, name: $ } = Q.target;
|
|
973
973
|
g && k && !new RegExp(g).test(k) || n(Q, { value: k, name: $ });
|
|
974
974
|
};
|
|
975
|
-
return /* @__PURE__ */
|
|
975
|
+
return /* @__PURE__ */ q("div", { className: P, children: [
|
|
976
976
|
a && /* @__PURE__ */ l(
|
|
977
977
|
jt,
|
|
978
978
|
{
|
|
@@ -984,7 +984,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
984
984
|
classNameBaseTooltipRoot: m
|
|
985
985
|
}
|
|
986
986
|
),
|
|
987
|
-
/* @__PURE__ */
|
|
987
|
+
/* @__PURE__ */ q("div", { className: O, onMouseEnter: h, children: [
|
|
988
988
|
/* @__PURE__ */ l(
|
|
989
989
|
"input",
|
|
990
990
|
{
|
|
@@ -1036,7 +1036,7 @@ function ui(e, t) {
|
|
|
1036
1036
|
case "height":
|
|
1037
1037
|
case "device-width":
|
|
1038
1038
|
case "device-height":
|
|
1039
|
-
p =
|
|
1039
|
+
p = qt(p), _ = qt(_);
|
|
1040
1040
|
break;
|
|
1041
1041
|
case "resolution":
|
|
1042
1042
|
p = Mt(p), _ = Mt(_);
|
|
@@ -1095,7 +1095,7 @@ function Mt(e) {
|
|
|
1095
1095
|
return t;
|
|
1096
1096
|
}
|
|
1097
1097
|
}
|
|
1098
|
-
function
|
|
1098
|
+
function qt(e) {
|
|
1099
1099
|
var t = parseFloat(e), o = String(e).match(di)[1];
|
|
1100
1100
|
switch (o) {
|
|
1101
1101
|
case "em":
|
|
@@ -1116,10 +1116,10 @@ function Ut(e) {
|
|
|
1116
1116
|
return t;
|
|
1117
1117
|
}
|
|
1118
1118
|
}
|
|
1119
|
-
var _i = At.match,
|
|
1119
|
+
var _i = At.match, Ut = typeof window < "u" ? window.matchMedia : null;
|
|
1120
1120
|
function fi(e, t, o) {
|
|
1121
1121
|
var n = this, a;
|
|
1122
|
-
|
|
1122
|
+
Ut && !o && (a = Ut.call(window, e)), a ? (this.matches = a.matches, this.media = a.media, a.addListener(s)) : (this.matches = _i(e, t), this.media = e), this.addListener = i, this.removeListener = r, this.dispose = d;
|
|
1123
1123
|
function i(p) {
|
|
1124
1124
|
a && a.addListener(p);
|
|
1125
1125
|
}
|
|
@@ -1176,7 +1176,7 @@ var $t;
|
|
|
1176
1176
|
function Ci() {
|
|
1177
1177
|
if ($t) return K;
|
|
1178
1178
|
$t = 1;
|
|
1179
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, _ = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, w = e ? Symbol.for("react.lazy") : 60116, C = e ? Symbol.for("react.block") : 60121, R = e ? Symbol.for("react.fundamental") : 60117, W = e ? Symbol.for("react.responder") : 60118,
|
|
1179
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, _ = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, w = e ? Symbol.for("react.lazy") : 60116, C = e ? Symbol.for("react.block") : 60121, R = e ? Symbol.for("react.fundamental") : 60117, W = e ? Symbol.for("react.responder") : 60118, U = e ? Symbol.for("react.scope") : 60119;
|
|
1180
1180
|
function A(m) {
|
|
1181
1181
|
if (typeof m == "object" && m !== null) {
|
|
1182
1182
|
var F = m.$$typeof;
|
|
@@ -1235,7 +1235,7 @@ function Ci() {
|
|
|
1235
1235
|
}, K.isSuspense = function(m) {
|
|
1236
1236
|
return A(m) === u;
|
|
1237
1237
|
}, K.isValidElementType = function(m) {
|
|
1238
|
-
return typeof m == "string" || typeof m == "function" || m === n || m === p || m === i || m === a || m === u || m === g || typeof m == "object" && m !== null && (m.$$typeof === w || m.$$typeof === h || m.$$typeof === r || m.$$typeof === s || m.$$typeof === _ || m.$$typeof === R || m.$$typeof === W || m.$$typeof ===
|
|
1238
|
+
return typeof m == "string" || typeof m == "function" || m === n || m === p || m === i || m === a || m === u || m === g || typeof m == "object" && m !== null && (m.$$typeof === w || m.$$typeof === h || m.$$typeof === r || m.$$typeof === s || m.$$typeof === _ || m.$$typeof === R || m.$$typeof === W || m.$$typeof === U || m.$$typeof === C);
|
|
1239
1239
|
}, K.typeOf = A, K;
|
|
1240
1240
|
}
|
|
1241
1241
|
var X = {};
|
|
@@ -1250,10 +1250,10 @@ var X = {};
|
|
|
1250
1250
|
var Ht;
|
|
1251
1251
|
function ki() {
|
|
1252
1252
|
return Ht || (Ht = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1253
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, _ = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, w = e ? Symbol.for("react.lazy") : 60116, C = e ? Symbol.for("react.block") : 60121, R = e ? Symbol.for("react.fundamental") : 60117, W = e ? Symbol.for("react.responder") : 60118,
|
|
1253
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, _ = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, w = e ? Symbol.for("react.lazy") : 60116, C = e ? Symbol.for("react.block") : 60121, R = e ? Symbol.for("react.fundamental") : 60117, W = e ? Symbol.for("react.responder") : 60118, U = e ? Symbol.for("react.scope") : 60119;
|
|
1254
1254
|
function A(x) {
|
|
1255
1255
|
return typeof x == "string" || typeof x == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1256
|
-
x === n || x === p || x === i || x === a || x === u || x === g || typeof x == "object" && x !== null && (x.$$typeof === w || x.$$typeof === h || x.$$typeof === r || x.$$typeof === s || x.$$typeof === _ || x.$$typeof === R || x.$$typeof === W || x.$$typeof ===
|
|
1256
|
+
x === n || x === p || x === i || x === a || x === u || x === g || typeof x == "object" && x !== null && (x.$$typeof === w || x.$$typeof === h || x.$$typeof === r || x.$$typeof === s || x.$$typeof === _ || x.$$typeof === R || x.$$typeof === W || x.$$typeof === U || x.$$typeof === C);
|
|
1257
1257
|
}
|
|
1258
1258
|
function b(x) {
|
|
1259
1259
|
if (typeof x == "object" && x !== null) {
|
|
@@ -1478,7 +1478,7 @@ function Ei() {
|
|
|
1478
1478
|
object: W("object"),
|
|
1479
1479
|
string: W("string"),
|
|
1480
1480
|
symbol: W("symbol"),
|
|
1481
|
-
any:
|
|
1481
|
+
any: U(),
|
|
1482
1482
|
arrayOf: A,
|
|
1483
1483
|
element: b(),
|
|
1484
1484
|
elementType: m(),
|
|
@@ -1534,7 +1534,7 @@ function Ei() {
|
|
|
1534
1534
|
}
|
|
1535
1535
|
return R(v);
|
|
1536
1536
|
}
|
|
1537
|
-
function
|
|
1537
|
+
function U() {
|
|
1538
1538
|
return R(r);
|
|
1539
1539
|
}
|
|
1540
1540
|
function A(c) {
|
|
@@ -1881,19 +1881,19 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
1881
1881
|
const n = e[o];
|
|
1882
1882
|
n != null && t.push(Bi(o, n));
|
|
1883
1883
|
}), Wi(t);
|
|
1884
|
-
}, Mi = _o(void 0),
|
|
1884
|
+
}, Mi = _o(void 0), qi = (e) => e.query || zi(e), Jt = (e) => e ? Object.keys(e).reduce((o, n) => (o[wo(n)] = e[n], o), {}) : void 0, No = () => {
|
|
1885
1885
|
const e = me(!1);
|
|
1886
1886
|
return ne(() => {
|
|
1887
1887
|
e.current = !0;
|
|
1888
1888
|
}, []), e.current;
|
|
1889
|
-
},
|
|
1889
|
+
}, Ui = (e) => {
|
|
1890
1890
|
const t = Ho(Mi), o = () => Jt(e) || Jt(t), [n, a] = te(o);
|
|
1891
1891
|
return ne(() => {
|
|
1892
1892
|
const i = o();
|
|
1893
1893
|
wi(n, i) || a(i);
|
|
1894
1894
|
}, [e, t]), n;
|
|
1895
1895
|
}, $i = (e) => {
|
|
1896
|
-
const t = () =>
|
|
1896
|
+
const t = () => qi(e), [o, n] = te(t);
|
|
1897
1897
|
return ne(() => {
|
|
1898
1898
|
const a = t();
|
|
1899
1899
|
o !== a && n(a);
|
|
@@ -1919,7 +1919,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
1919
1919
|
};
|
|
1920
1920
|
}, [e]), t;
|
|
1921
1921
|
}, bt = (e, t, o) => {
|
|
1922
|
-
const n =
|
|
1922
|
+
const n = Ui(t), a = $i(e);
|
|
1923
1923
|
if (!a)
|
|
1924
1924
|
throw new Error("Invalid or missing MediaQuery!");
|
|
1925
1925
|
const i = Hi(a, n), r = Vi(i);
|
|
@@ -1958,7 +1958,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
1958
1958
|
s.current = a, d.current = performance.now();
|
|
1959
1959
|
const h = (w) => {
|
|
1960
1960
|
if (!d.current) return;
|
|
1961
|
-
const C = w - d.current, R = Math.min(C / o, 1), W = R < 0.5 ? 4 * R * R * R : 1 - Math.pow(-2 * R + 2, 3) / 2,
|
|
1961
|
+
const C = w - d.current, R = Math.min(C / o, 1), W = R < 0.5 ? 4 * R * R * R : 1 - Math.pow(-2 * R + 2, 3) / 2, U = s.current + (p.current - s.current) * W, A = Math.max(0, Math.floor(U));
|
|
1962
1962
|
i(A), R < 1 && (r.current = requestAnimationFrame(h));
|
|
1963
1963
|
};
|
|
1964
1964
|
return r.current = requestAnimationFrame(h), () => {
|
|
@@ -2010,7 +2010,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2010
2010
|
}), h = {
|
|
2011
2011
|
"--progress": `${d / r * 100}%`
|
|
2012
2012
|
};
|
|
2013
|
-
return /* @__PURE__ */
|
|
2013
|
+
return /* @__PURE__ */ q("div", { className: _, children: [
|
|
2014
2014
|
/* @__PURE__ */ l(
|
|
2015
2015
|
"div",
|
|
2016
2016
|
{
|
|
@@ -2019,7 +2019,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2019
2019
|
children: i
|
|
2020
2020
|
}
|
|
2021
2021
|
),
|
|
2022
|
-
p && /* @__PURE__ */
|
|
2022
|
+
p && /* @__PURE__ */ q(Ne, { classNameRoot: u, children: [
|
|
2023
2023
|
d,
|
|
2024
2024
|
"%"
|
|
2025
2025
|
] })
|
|
@@ -2060,7 +2060,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2060
2060
|
isVisibleDefaultTitle: C = !0,
|
|
2061
2061
|
isScrollableList: R = !1,
|
|
2062
2062
|
isAbsolutePositionError: W = !1,
|
|
2063
|
-
classNameRoot:
|
|
2063
|
+
classNameRoot: U,
|
|
2064
2064
|
classNameError: A,
|
|
2065
2065
|
classNameLabel: b,
|
|
2066
2066
|
classNameBaseTooltipRoot: m
|
|
@@ -2080,7 +2080,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2080
2080
|
[_e.spSelect]: !0,
|
|
2081
2081
|
[_e.spSelect_error]: !!d,
|
|
2082
2082
|
[_e.spSelect_absolutePositionError]: W,
|
|
2083
|
-
...
|
|
2083
|
+
...U && { [U]: !0 }
|
|
2084
2084
|
}), ce = f({
|
|
2085
2085
|
[_e.spSelect__container]: !0
|
|
2086
2086
|
}), G = f({
|
|
@@ -2102,7 +2102,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2102
2102
|
[_e.spSelect__error_absolutePosition]: W,
|
|
2103
2103
|
...A && { [A]: !0 }
|
|
2104
2104
|
});
|
|
2105
|
-
return /* @__PURE__ */
|
|
2105
|
+
return /* @__PURE__ */ q("div", { className: ue, ref: O, children: [
|
|
2106
2106
|
p && /* @__PURE__ */ l(
|
|
2107
2107
|
jt,
|
|
2108
2108
|
{
|
|
@@ -2114,8 +2114,8 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2114
2114
|
classNameBaseTooltipRoot: m
|
|
2115
2115
|
}
|
|
2116
2116
|
),
|
|
2117
|
-
/* @__PURE__ */
|
|
2118
|
-
/* @__PURE__ */
|
|
2117
|
+
/* @__PURE__ */ q("div", { className: ce, onMouseEnter: s, children: [
|
|
2118
|
+
/* @__PURE__ */ q(
|
|
2119
2119
|
"div",
|
|
2120
2120
|
{
|
|
2121
2121
|
tabIndex: g ? -1 : 0,
|
|
@@ -2142,7 +2142,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2142
2142
|
style: R ? { maxHeight: `${w}px` } : {},
|
|
2143
2143
|
children: t.map((v) => {
|
|
2144
2144
|
const N = v.value === n;
|
|
2145
|
-
return /* @__PURE__ */
|
|
2145
|
+
return /* @__PURE__ */ q(
|
|
2146
2146
|
"div",
|
|
2147
2147
|
{
|
|
2148
2148
|
className: f({
|
|
@@ -2220,11 +2220,11 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2220
2220
|
const F = b[m.key];
|
|
2221
2221
|
if (!F) return null;
|
|
2222
2222
|
const [P, O] = F.split(/\s*\{\{|}}\s*/).filter(Boolean);
|
|
2223
|
-
return /* @__PURE__ */
|
|
2223
|
+
return /* @__PURE__ */ q("span", { children: [
|
|
2224
2224
|
P,
|
|
2225
2225
|
O && /* @__PURE__ */ l("span", { className: p, children: ` ${O}` })
|
|
2226
2226
|
] });
|
|
2227
|
-
}, W = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */
|
|
2227
|
+
}, W = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ q("table", { className: s, children: [
|
|
2228
2228
|
/* @__PURE__ */ l("colgroup", { children: r.map((b, m, F) => /* @__PURE__ */ l(
|
|
2229
2229
|
"col",
|
|
2230
2230
|
{
|
|
@@ -2241,7 +2241,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2241
2241
|
"td",
|
|
2242
2242
|
{
|
|
2243
2243
|
onMouseLeave: O ? w : void 0,
|
|
2244
|
-
children: /* @__PURE__ */
|
|
2244
|
+
children: /* @__PURE__ */ q("div", { className: d, children: [
|
|
2245
2245
|
/* @__PURE__ */ l("span", { children: F.isColorContentsCurlyBrackets ? R({ row: b, col: F }) : b[F.key] }),
|
|
2246
2246
|
!Nt(b[F.key]) && F.isBeCopiedValue && /* @__PURE__ */ l(
|
|
2247
2247
|
xe,
|
|
@@ -2267,7 +2267,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2267
2267
|
`${m}:${P}`
|
|
2268
2268
|
);
|
|
2269
2269
|
}) }, m) : null) })
|
|
2270
|
-
] }) : C(),
|
|
2270
|
+
] }) : C(), U = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ l(
|
|
2271
2271
|
"div",
|
|
2272
2272
|
{
|
|
2273
2273
|
className: f({
|
|
@@ -2277,7 +2277,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2277
2277
|
if (Nt(b[F.key]))
|
|
2278
2278
|
return null;
|
|
2279
2279
|
const O = (u == null ? void 0 : u.rowIndex) === m && (u == null ? void 0 : u.colIndex) === P;
|
|
2280
|
-
return /* @__PURE__ */
|
|
2280
|
+
return /* @__PURE__ */ q(
|
|
2281
2281
|
"div",
|
|
2282
2282
|
{
|
|
2283
2283
|
className: f({
|
|
@@ -2294,7 +2294,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2294
2294
|
children: F.title
|
|
2295
2295
|
}
|
|
2296
2296
|
),
|
|
2297
|
-
/* @__PURE__ */
|
|
2297
|
+
/* @__PURE__ */ q(
|
|
2298
2298
|
"div",
|
|
2299
2299
|
{
|
|
2300
2300
|
className: f({
|
|
@@ -2331,7 +2331,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2331
2331
|
}) }, m) : null)
|
|
2332
2332
|
}
|
|
2333
2333
|
) : C();
|
|
2334
|
-
return n ? a ? W() :
|
|
2334
|
+
return n ? a ? W() : U() : W();
|
|
2335
2335
|
}, Lr = "_spTabs_1citb_43", Dr = "_spTabs_separated_1citb_48", Pr = "_spTabs__tabElement_1citb_48", Or = "_spTabs__tabElement_active_1citb_83", Br = "_spTabs__triggerTooltip_1citb_90", Fe = {
|
|
2336
2336
|
spTabs: Lr,
|
|
2337
2337
|
spTabs_separated: Dr,
|
|
@@ -2368,7 +2368,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2368
2368
|
};
|
|
2369
2369
|
return /* @__PURE__ */ l("div", { className: s, children: t.map((_, u) => {
|
|
2370
2370
|
const { name: g, active: h, onClick: w, infoTooltipText: C } = _;
|
|
2371
|
-
return /* @__PURE__ */
|
|
2371
|
+
return /* @__PURE__ */ q(
|
|
2372
2372
|
"div",
|
|
2373
2373
|
{
|
|
2374
2374
|
className: f({
|
|
@@ -2395,7 +2395,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2395
2395
|
spTextWithLabel: Wr
|
|
2396
2396
|
}, jp = (e) => {
|
|
2397
2397
|
const { children: t, label: o, style: n, ...a } = e;
|
|
2398
|
-
return /* @__PURE__ */
|
|
2398
|
+
return /* @__PURE__ */ q("div", { className: zr.spTextWithLabel, style: { ...n }, children: [
|
|
2399
2399
|
/* @__PURE__ */ l(jt, { label: o }),
|
|
2400
2400
|
/* @__PURE__ */ l(Ne, { ...a, children: t })
|
|
2401
2401
|
] });
|
|
@@ -3631,10 +3631,10 @@ const Mr = /* @__PURE__ */ new Map([
|
|
|
3631
3631
|
["zsh", "text/x-scriptzsh"]
|
|
3632
3632
|
]);
|
|
3633
3633
|
function Pe(e, t, o) {
|
|
3634
|
-
const n =
|
|
3634
|
+
const n = qr(e), { webkitRelativePath: a } = e, i = typeof t == "string" ? t : typeof a == "string" && a.length > 0 ? a : `./${e.name}`;
|
|
3635
3635
|
return typeof n.path != "string" && eo(n, "path", i), eo(n, "relativePath", i), n;
|
|
3636
3636
|
}
|
|
3637
|
-
function
|
|
3637
|
+
function qr(e) {
|
|
3638
3638
|
const { name: t } = e;
|
|
3639
3639
|
if (t && t.lastIndexOf(".") !== -1 && !e.type) {
|
|
3640
3640
|
const n = t.split(".").pop().toLowerCase(), a = Mr.get(n);
|
|
@@ -3655,7 +3655,7 @@ function eo(e, t, o) {
|
|
|
3655
3655
|
enumerable: !0
|
|
3656
3656
|
});
|
|
3657
3657
|
}
|
|
3658
|
-
const
|
|
3658
|
+
const Ur = [
|
|
3659
3659
|
// Thumbnail cache files for macOS and Windows
|
|
3660
3660
|
".DS_Store",
|
|
3661
3661
|
// macOs
|
|
@@ -3697,7 +3697,7 @@ function Kr(e, t) {
|
|
|
3697
3697
|
});
|
|
3698
3698
|
}
|
|
3699
3699
|
function to(e) {
|
|
3700
|
-
return e.filter((t) =>
|
|
3700
|
+
return e.filter((t) => Ur.indexOf(t.name) === -1);
|
|
3701
3701
|
}
|
|
3702
3702
|
function Et(e) {
|
|
3703
3703
|
if (e === null)
|
|
@@ -4098,7 +4098,7 @@ var Dt = /* @__PURE__ */ Yo(function(e, t) {
|
|
|
4098
4098
|
return {
|
|
4099
4099
|
open: i
|
|
4100
4100
|
};
|
|
4101
|
-
}, [i]), /* @__PURE__ */
|
|
4101
|
+
}, [i]), /* @__PURE__ */ qe.createElement(Ko, null, o(ee(ee({}, r), {}, {
|
|
4102
4102
|
open: i
|
|
4103
4103
|
})));
|
|
4104
4104
|
});
|
|
@@ -4298,7 +4298,7 @@ var It = {
|
|
|
4298
4298
|
fileRejections: []
|
|
4299
4299
|
};
|
|
4300
4300
|
function zo() {
|
|
4301
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = ee(ee({}, Wo), e), o = t.accept, n = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, d = t.maxFiles, p = t.onDragEnter, _ = t.onDragLeave, u = t.onDragOver, g = t.onDrop, h = t.onDropAccepted, w = t.onDropRejected, C = t.onFileDialogCancel, R = t.onFileDialogOpen, W = t.useFsAccessApi,
|
|
4301
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = ee(ee({}, Wo), e), o = t.accept, n = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, d = t.maxFiles, p = t.onDragEnter, _ = t.onDragLeave, u = t.onDragOver, g = t.onDrop, h = t.onDropAccepted, w = t.onDropRejected, C = t.onFileDialogCancel, R = t.onFileDialogOpen, W = t.useFsAccessApi, U = t.autoFocus, A = t.preventDropOnDocument, b = t.noClick, m = t.noKeyboard, F = t.noDrag, P = t.noDragEventsBubbling, O = t.onError, Z = t.validator, ie = De(function() {
|
|
4302
4302
|
return fs(o);
|
|
4303
4303
|
}, [o]), re = De(function() {
|
|
4304
4304
|
return _s(o);
|
|
@@ -4329,9 +4329,9 @@ function zo() {
|
|
|
4329
4329
|
A && (document.removeEventListener("dragover", po), document.removeEventListener("drop", D));
|
|
4330
4330
|
};
|
|
4331
4331
|
}, [G, A]), ne(function() {
|
|
4332
|
-
return !n &&
|
|
4332
|
+
return !n && U && G.current && G.current.focus(), function() {
|
|
4333
4333
|
};
|
|
4334
|
-
}, [G,
|
|
4334
|
+
}, [G, U, n]);
|
|
4335
4335
|
var I = ge(function(y) {
|
|
4336
4336
|
O ? O(y) : console.error(y);
|
|
4337
4337
|
}, [O]), B = ge(function(y) {
|
|
@@ -4451,7 +4451,7 @@ function zo() {
|
|
|
4451
4451
|
return n ? null : L;
|
|
4452
4452
|
}, ot = function(L) {
|
|
4453
4453
|
return m ? null : Ae(L);
|
|
4454
|
-
},
|
|
4454
|
+
}, Ue = function(L) {
|
|
4455
4455
|
return F ? null : Ae(L);
|
|
4456
4456
|
}, $e = function(L) {
|
|
4457
4457
|
P && L.stopPropagation();
|
|
@@ -4463,18 +4463,18 @@ function zo() {
|
|
|
4463
4463
|
onFocus: ot(Te(Be, Se)),
|
|
4464
4464
|
onBlur: ot(Te(Le, Oe)),
|
|
4465
4465
|
onClick: Ae(Te(nt, Pt)),
|
|
4466
|
-
onDragEnter:
|
|
4467
|
-
onDragOver:
|
|
4468
|
-
onDragLeave:
|
|
4469
|
-
onDrop:
|
|
4466
|
+
onDragEnter: Ue(Te(at, B)),
|
|
4467
|
+
onDragOver: Ue(Te(it, H)),
|
|
4468
|
+
onDragLeave: Ue(Te(He, Y)),
|
|
4469
|
+
onDrop: Ue(Te(rt, ae)),
|
|
4470
4470
|
role: typeof se == "string" && se !== "" ? se : "presentation"
|
|
4471
4471
|
}, oe, G), !n && !m ? {
|
|
4472
4472
|
tabIndex: 0
|
|
4473
4473
|
} : {}), st);
|
|
4474
4474
|
};
|
|
4475
|
-
}, [G, he, Se, Oe, Pt, B, H, Y, ae, m, F, n]),
|
|
4475
|
+
}, [G, he, Se, Oe, Pt, B, H, Y, ae, m, F, n]), qo = ge(function(y) {
|
|
4476
4476
|
y.stopPropagation();
|
|
4477
|
-
}, []),
|
|
4477
|
+
}, []), Uo = De(function() {
|
|
4478
4478
|
return function() {
|
|
4479
4479
|
var y = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, L = y.refKey, oe = L === void 0 ? "ref" : L, se = y.onChange, be = y.onClick, Be = Je(y, ys), Le = Ft({
|
|
4480
4480
|
accept: ie,
|
|
@@ -4493,7 +4493,7 @@ function zo() {
|
|
|
4493
4493
|
whiteSpace: "nowrap"
|
|
4494
4494
|
},
|
|
4495
4495
|
onChange: Ae(Te(se, ae)),
|
|
4496
|
-
onClick: Ae(Te(be,
|
|
4496
|
+
onClick: Ae(Te(be, qo)),
|
|
4497
4497
|
tabIndex: -1
|
|
4498
4498
|
}, oe, J);
|
|
4499
4499
|
return ee(ee({}, Le), Be);
|
|
@@ -4502,7 +4502,7 @@ function zo() {
|
|
|
4502
4502
|
return ee(ee({}, $), {}, {
|
|
4503
4503
|
isFocused: c && !n,
|
|
4504
4504
|
getRootProps: Mo,
|
|
4505
|
-
getInputProps:
|
|
4505
|
+
getInputProps: Uo,
|
|
4506
4506
|
rootRef: G,
|
|
4507
4507
|
inputRef: J,
|
|
4508
4508
|
open: Ae(x)
|
|
@@ -4581,7 +4581,7 @@ const Is = (e) => zo(e), js = (e) => {
|
|
|
4581
4581
|
window.removeEventListener("resize", g);
|
|
4582
4582
|
}), [t]);
|
|
4583
4583
|
const h = As(t);
|
|
4584
|
-
return /* @__PURE__ */
|
|
4584
|
+
return /* @__PURE__ */ q(
|
|
4585
4585
|
"div",
|
|
4586
4586
|
{
|
|
4587
4587
|
className: f(
|
|
@@ -4618,17 +4618,17 @@ const Is = (e) => zo(e), js = (e) => {
|
|
|
4618
4618
|
]
|
|
4619
4619
|
}
|
|
4620
4620
|
);
|
|
4621
|
-
}, Bs = "
|
|
4621
|
+
}, Bs = "_spUploadFiles_wgqym_43", Ws = "_spUploadFiles_error_wgqym_49", zs = "_spUploadFiles__control_wgqym_49", Ms = "_spUploadFiles__fileNameContainer_wgqym_53", qs = "_spUploadFiles__fileName_dragError_wgqym_57", Us = "_spUploadFiles__placeholderContainer_wgqym_60", $s = "_spUploadFiles__placeholderContainer_withUloadTooltip_wgqym_70", Hs = "_spUploadFiles__placeholder_wgqym_60", Vs = "_spUploadFiles__control_loading_wgqym_102", Ys = "_shimmer_wgqym_1", Gs = "_spUploadFiles__fileName_wgqym_53", Ks = "_spUploadFiles_fileUploaded_wgqym_149", Xs = "_spUploadFiles_disabled_wgqym_149", Zs = "_spUploadFiles__fileNamesList_wgqym_160", Qs = "_spUploadFiles__fileNamesList_loading_wgqym_174", Js = "_spUploadFiles__fileNamesListItem_wgqym_179", ep = "_spUploadFiles__fileNamesListItem__iconContainer_wgqym_202", tp = "_spUploadFiles__fileNamesListItem__iconContainer_error_wgqym_208", op = "_spUploadFiles__fileNamesListItem__mainContent_wgqym_212", np = "_spUploadFiles__fileNamesListItem__fileNameWrapper_wgqym_219", ap = "_spUploadFiles__fileNamesListItem__fileName_wgqym_219", ip = "_spUploadFiles__fileNamesListItem__description_wgqym_226", rp = "_spUploadFiles__fileNamesListItem__description__tooltipContent_wgqym_231", sp = "_spUploadFiles__fileNamesListItem__description_error_wgqym_234", pp = "_spUploadFiles__fileNamesListItemDelete_wgqym_237", lp = "_spUploadFiles__fileNamesListItemDelete_error_wgqym_254", cp = "_spUploadFiles__tooltipWrapper_wgqym_264", dp = "_spUploadFiles__tooltip_wgqym_264", mp = "_spUploadFiles__delete_wgqym_270", up = "_spUploadFiles__delete_loading_wgqym_274", _p = "_spUploadFiles__error_wgqym_283", V = {
|
|
4622
4622
|
spUploadFiles: Bs,
|
|
4623
4623
|
spUploadFiles_error: Ws,
|
|
4624
4624
|
spUploadFiles__control: zs,
|
|
4625
4625
|
spUploadFiles__fileNameContainer: Ms,
|
|
4626
|
-
spUploadFiles__fileName_dragError:
|
|
4627
|
-
spUploadFiles__placeholderContainer:
|
|
4628
|
-
"spUploadFiles--variant-input": "_spUploadFiles--variant-
|
|
4626
|
+
spUploadFiles__fileName_dragError: qs,
|
|
4627
|
+
spUploadFiles__placeholderContainer: Us,
|
|
4628
|
+
"spUploadFiles--variant-input": "_spUploadFiles--variant-input_wgqym_63",
|
|
4629
4629
|
spUploadFiles__placeholderContainer_withUloadTooltip: $s,
|
|
4630
4630
|
spUploadFiles__placeholder: Hs,
|
|
4631
|
-
"spUploadFiles--variant-dropzone": "_spUploadFiles--variant-
|
|
4631
|
+
"spUploadFiles--variant-dropzone": "_spUploadFiles--variant-dropzone_wgqym_85",
|
|
4632
4632
|
spUploadFiles__control_loading: Vs,
|
|
4633
4633
|
shimmer: Ys,
|
|
4634
4634
|
spUploadFiles__fileName: Gs,
|
|
@@ -4681,7 +4681,7 @@ const Is = (e) => zo(e), js = (e) => {
|
|
|
4681
4681
|
a(E, n);
|
|
4682
4682
|
},
|
|
4683
4683
|
[w, d, s, n, a]
|
|
4684
|
-
), { getRootProps: W, getInputProps:
|
|
4684
|
+
), { getRootProps: W, getInputProps: U, isDragReject: A } = Is({
|
|
4685
4685
|
accept: i,
|
|
4686
4686
|
onDrop: R,
|
|
4687
4687
|
multiple: s,
|
|
@@ -4743,7 +4743,7 @@ const Is = (e) => zo(e), js = (e) => {
|
|
|
4743
4743
|
);
|
|
4744
4744
|
}, k = () => /* @__PURE__ */ l("ul", { className: re, children: F.map(({ file: v, errors: N }, j) => {
|
|
4745
4745
|
const E = N ? (N == null ? void 0 : N.length) > 0 : void 0, D = () => N ? N == null ? void 0 : N.map(js).join(", ") : "";
|
|
4746
|
-
return /* @__PURE__ */
|
|
4746
|
+
return /* @__PURE__ */ q(
|
|
4747
4747
|
"li",
|
|
4748
4748
|
{
|
|
4749
4749
|
className: f(
|
|
@@ -4764,7 +4764,7 @@ const Is = (e) => zo(e), js = (e) => {
|
|
|
4764
4764
|
children: /* @__PURE__ */ l(xe, { name: E ? pe.InfoError : pe.File })
|
|
4765
4765
|
}
|
|
4766
4766
|
),
|
|
4767
|
-
/* @__PURE__ */
|
|
4767
|
+
/* @__PURE__ */ q("div", { className: V.spUploadFiles__fileNamesListItem__mainContent, children: [
|
|
4768
4768
|
/* @__PURE__ */ l(
|
|
4769
4769
|
Os,
|
|
4770
4770
|
{
|
|
@@ -4809,7 +4809,7 @@ const Is = (e) => zo(e), js = (e) => {
|
|
|
4809
4809
|
),
|
|
4810
4810
|
text: t
|
|
4811
4811
|
}
|
|
4812
|
-
), c = () => /* @__PURE__ */
|
|
4812
|
+
), c = () => /* @__PURE__ */ q(uo, { children: [
|
|
4813
4813
|
P ? $() : z(),
|
|
4814
4814
|
P && O ? /* @__PURE__ */ l("div", { className: ue, onClick: G, children: /* @__PURE__ */ l(xe, { name: pe.Close }) }) : O && p && /* @__PURE__ */ l(
|
|
4815
4815
|
tt,
|
|
@@ -4825,12 +4825,18 @@ const Is = (e) => zo(e), js = (e) => {
|
|
|
4825
4825
|
Fa,
|
|
4826
4826
|
{
|
|
4827
4827
|
getRootProps: W,
|
|
4828
|
-
getInputProps:
|
|
4828
|
+
getInputProps: U,
|
|
4829
4829
|
disabled: r,
|
|
4830
4830
|
name: n,
|
|
4831
|
-
children: /* @__PURE__ */
|
|
4832
|
-
/* @__PURE__ */
|
|
4833
|
-
O && (g ? /* @__PURE__ */ l(vo, {}) : /* @__PURE__ */ l(
|
|
4831
|
+
children: /* @__PURE__ */ q("div", { className: Z, children: [
|
|
4832
|
+
/* @__PURE__ */ q("div", { className: ie, children: [
|
|
4833
|
+
O && (g ? /* @__PURE__ */ l(vo, {}) : /* @__PURE__ */ l(
|
|
4834
|
+
xe,
|
|
4835
|
+
{
|
|
4836
|
+
name: P ? pe.Check : pe.Upload,
|
|
4837
|
+
style: { flexShrink: 0 }
|
|
4838
|
+
}
|
|
4839
|
+
)),
|
|
4834
4840
|
c()
|
|
4835
4841
|
] }),
|
|
4836
4842
|
h && /* @__PURE__ */ l("div", { className: V.spUploadFiles__error, children: h })
|