test-stpr-ui-kit 0.4.49 → 0.4.50
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.js +165 -165
- package/dist/test-stpr-ui-kit.umd.cjs +7 -7
- package/package.json +1 -1
package/dist/test-stpr-ui-kit.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsxs as H, jsx as
|
|
1
|
+
import { jsxs as H, jsx as m, Fragment as lo } from "react/jsx-runtime";
|
|
2
2
|
import * as E from "react";
|
|
3
3
|
import qe, { useState as le, useEffect as re, useRef as ve, useCallback as fe, forwardRef as Po, useImperativeHandle as Bo, Fragment as Wo, useMemo as Fe, useReducer as Mo, createContext as co, useContext as qo } from "react";
|
|
4
4
|
import $o from "react-dom";
|
|
@@ -73,7 +73,7 @@ const sn = "_spAccordion_11ek7_43", pn = "_spAccordion_noBorder_11ek7_57", ln =
|
|
|
73
73
|
noPadding: s = !1,
|
|
74
74
|
level: d = 1,
|
|
75
75
|
classNameRoot: p,
|
|
76
|
-
classNameHeader:
|
|
76
|
+
classNameHeader: u,
|
|
77
77
|
classNameTitle: l,
|
|
78
78
|
classNameIcon: v,
|
|
79
79
|
classNameChildrenWrapper: b
|
|
@@ -88,7 +88,7 @@ const sn = "_spAccordion_11ek7_43", pn = "_spAccordion_noBorder_11ek7_57", ln =
|
|
|
88
88
|
...p && { [p]: !0 }
|
|
89
89
|
}), M = f({
|
|
90
90
|
[ce.spAccordion__header]: !0,
|
|
91
|
-
...
|
|
91
|
+
...u && { [u]: !0 }
|
|
92
92
|
}), j = f({
|
|
93
93
|
[ce.spAccordion__name]: !0,
|
|
94
94
|
[ce[`spAccordion__name--level-${d}`]]: d,
|
|
@@ -109,10 +109,10 @@ const sn = "_spAccordion_11ek7_43", pn = "_spAccordion_noBorder_11ek7_57", ln =
|
|
|
109
109
|
});
|
|
110
110
|
return /* @__PURE__ */ H("div", { className: A, children: [
|
|
111
111
|
/* @__PURE__ */ H("div", { className: M, children: [
|
|
112
|
-
/* @__PURE__ */
|
|
113
|
-
/* @__PURE__ */
|
|
112
|
+
/* @__PURE__ */ m("div", { className: j, children: /* @__PURE__ */ m("span", { onClick: T, children: t }) }),
|
|
113
|
+
/* @__PURE__ */ m(be, { onClick: T, className: w, name: ue.ChevronDown })
|
|
114
114
|
] }),
|
|
115
|
-
/* @__PURE__ */
|
|
115
|
+
/* @__PURE__ */ m("div", { className: c, children: /* @__PURE__ */ m("div", { className: S, children: o }) })
|
|
116
116
|
] });
|
|
117
117
|
}, wn = "_spinner_18qva_43", kn = "_spinner__inner_18qva_54", lt = {
|
|
118
118
|
spinner: wn,
|
|
@@ -124,14 +124,14 @@ const sn = "_spAccordion_11ek7_43", pn = "_spAccordion_noBorder_11ek7_57", ln =
|
|
|
124
124
|
"spinner--xl": "_spinner--xl_18qva_78"
|
|
125
125
|
}, mo = (e) => {
|
|
126
126
|
const { size: t = "md", color: o = "#036bfd", classNameRoot: n } = e;
|
|
127
|
-
return /* @__PURE__ */
|
|
127
|
+
return /* @__PURE__ */ m(
|
|
128
128
|
"div",
|
|
129
129
|
{
|
|
130
130
|
className: f(lt.spinner, lt[`spinner--${t}`], n),
|
|
131
131
|
"aria-label": "Loading",
|
|
132
132
|
role: "status",
|
|
133
133
|
style: { color: o },
|
|
134
|
-
children: /* @__PURE__ */
|
|
134
|
+
children: /* @__PURE__ */ m("div", { className: lt.spinner__inner })
|
|
135
135
|
}
|
|
136
136
|
);
|
|
137
137
|
}, Cn = "_spButton_zixup_43", Tn = "_spButton_noPadding_zixup_59", Nn = "_spButton_onlyIcon_zixup_62", En = "_spButton__iconContainer_zixup_70", Sn = "_spButton_link_zixup_73", Rn = "_spButton__text_zixup_77", An = "_spButton_primary_zixup_89", jn = "_spButton_blue_zixup_89", Dn = "_spButton_white_zixup_99", In = "_spButton_secondary_zixup_109", Ln = "_spButton_fullWidth_zixup_129", Fn = "_spButton_disabled_zixup_132", On = "_spButton__spinner_zixup_141", we = {
|
|
@@ -159,7 +159,7 @@ const sn = "_spAccordion_11ek7_43", pn = "_spAccordion_noBorder_11ek7_57", ln =
|
|
|
159
159
|
disabled: s = !1,
|
|
160
160
|
type: d = "button",
|
|
161
161
|
form: p,
|
|
162
|
-
children:
|
|
162
|
+
children: u,
|
|
163
163
|
loading: l = !1,
|
|
164
164
|
isFullWidth: v = !1,
|
|
165
165
|
isOnlyIcon: b = !1,
|
|
@@ -176,8 +176,8 @@ const sn = "_spAccordion_11ek7_43", pn = "_spAccordion_noBorder_11ek7_57", ln =
|
|
|
176
176
|
...T && { [T]: !0 }
|
|
177
177
|
});
|
|
178
178
|
return /* @__PURE__ */ H(lo, { children: [
|
|
179
|
-
(i || l) && /* @__PURE__ */
|
|
180
|
-
!b &&
|
|
179
|
+
(i || l) && /* @__PURE__ */ m("div", { className: c, children: l ? /* @__PURE__ */ m(mo, { classNameRoot: we.spButton__spinner }) : i && /* @__PURE__ */ m(be, { name: i, rotate: r }) }),
|
|
180
|
+
!b && u && /* @__PURE__ */ m("div", { className: w, children: u })
|
|
181
181
|
] });
|
|
182
182
|
}, j = f({
|
|
183
183
|
[we.spButton]: !0,
|
|
@@ -190,7 +190,7 @@ const sn = "_spAccordion_11ek7_43", pn = "_spAccordion_noBorder_11ek7_57", ln =
|
|
|
190
190
|
[we.spButton_loading]: l,
|
|
191
191
|
...y && { [y]: !0 }
|
|
192
192
|
});
|
|
193
|
-
return /* @__PURE__ */
|
|
193
|
+
return /* @__PURE__ */ m(
|
|
194
194
|
"button",
|
|
195
195
|
{
|
|
196
196
|
style: n,
|
|
@@ -221,7 +221,7 @@ const sn = "_spAccordion_11ek7_43", pn = "_spAccordion_noBorder_11ek7_57", ln =
|
|
|
221
221
|
formId: s,
|
|
222
222
|
disabled: d,
|
|
223
223
|
onClose: p,
|
|
224
|
-
submit:
|
|
224
|
+
submit: u,
|
|
225
225
|
loading: l
|
|
226
226
|
} = e, v = f({
|
|
227
227
|
[Be.spApplyButtons]: !0,
|
|
@@ -233,7 +233,7 @@ const sn = "_spAccordion_11ek7_43", pn = "_spAccordion_noBorder_11ek7_57", ln =
|
|
|
233
233
|
[Be.spApplyButtons__cancel]: !0
|
|
234
234
|
});
|
|
235
235
|
return /* @__PURE__ */ H("div", { className: v, children: [
|
|
236
|
-
n && p && /* @__PURE__ */
|
|
236
|
+
n && p && /* @__PURE__ */ m(
|
|
237
237
|
wt,
|
|
238
238
|
{
|
|
239
239
|
type: "button",
|
|
@@ -245,7 +245,7 @@ const sn = "_spAccordion_11ek7_43", pn = "_spAccordion_noBorder_11ek7_57", ln =
|
|
|
245
245
|
children: n
|
|
246
246
|
}
|
|
247
247
|
),
|
|
248
|
-
r && /* @__PURE__ */
|
|
248
|
+
r && /* @__PURE__ */ m(
|
|
249
249
|
wt,
|
|
250
250
|
{
|
|
251
251
|
type: "submit",
|
|
@@ -253,7 +253,7 @@ const sn = "_spAccordion_11ek7_43", pn = "_spAccordion_noBorder_11ek7_57", ln =
|
|
|
253
253
|
classNameRoot: b,
|
|
254
254
|
form: s || void 0,
|
|
255
255
|
disabled: d,
|
|
256
|
-
onClick:
|
|
256
|
+
onClick: u,
|
|
257
257
|
loading: l,
|
|
258
258
|
children: r
|
|
259
259
|
}
|
|
@@ -278,7 +278,7 @@ const sn = "_spAccordion_11ek7_43", pn = "_spAccordion_noBorder_11ek7_57", ln =
|
|
|
278
278
|
[ct.spBaseTooltip__content]: !0,
|
|
279
279
|
...r && { [r]: !0 }
|
|
280
280
|
});
|
|
281
|
-
return /* @__PURE__ */
|
|
281
|
+
return /* @__PURE__ */ m("div", { className: s, ref: t, style: a, children: /* @__PURE__ */ m("div", { className: d, children: o }) });
|
|
282
282
|
});
|
|
283
283
|
_o.displayName = "BaseTooltip";
|
|
284
284
|
function fo(e, t, o = !0) {
|
|
@@ -320,7 +320,7 @@ const Rt = (e) => {
|
|
|
320
320
|
actionOnClose: s,
|
|
321
321
|
classNameTriggerTooltip: d,
|
|
322
322
|
position: p = de.BottomLeft,
|
|
323
|
-
text:
|
|
323
|
+
text: u,
|
|
324
324
|
noPadding: l,
|
|
325
325
|
classNameTooltip: v,
|
|
326
326
|
classNameBaseTooltipRoot: b,
|
|
@@ -419,14 +419,14 @@ const Rt = (e) => {
|
|
|
419
419
|
onMouseEnter: () => t && Q(!0),
|
|
420
420
|
onMouseLeave: () => t && Q(!1),
|
|
421
421
|
children: [
|
|
422
|
-
/* @__PURE__ */
|
|
423
|
-
a && /* @__PURE__ */
|
|
422
|
+
/* @__PURE__ */ m("div", { ref: A, className: K, children: i }),
|
|
423
|
+
a && /* @__PURE__ */ m(vo, { node: Z, children: /* @__PURE__ */ m(
|
|
424
424
|
_o,
|
|
425
425
|
{
|
|
426
426
|
style: S,
|
|
427
427
|
ref: M,
|
|
428
428
|
noPadding: l,
|
|
429
|
-
text:
|
|
429
|
+
text: u,
|
|
430
430
|
classNameRoot: ae,
|
|
431
431
|
classNameContentRoot: se
|
|
432
432
|
}
|
|
@@ -434,7 +434,7 @@ const Rt = (e) => {
|
|
|
434
434
|
]
|
|
435
435
|
}
|
|
436
436
|
);
|
|
437
|
-
}, Je = (e) => /* @__PURE__ */
|
|
437
|
+
}, Je = (e) => /* @__PURE__ */ m(Rt, { ...e, hover: !0, trigger: /* @__PURE__ */ m(be, { name: ue.Info }) }), Vn = "_spCheckbox_uc4g8_43", Yn = "_spCheckbox__control_uc4g8_49", Gn = "_spCheckbox__label_uc4g8_52", Kn = "_spCheckbox__box_uc4g8_63", Xn = "_spCheckbox__box_checked_uc4g8_90", Zn = "_spCheckbox__box_disabled_uc4g8_100", Qn = "_spCheckbox__box_error_uc4g8_111", Jn = "_spCheckbox__tooltip_uc4g8_114", ea = "_spCheckbox__required_uc4g8_119", ta = "_spCheckbox__error_uc4g8_125", ke = {
|
|
438
438
|
spCheckbox: Vn,
|
|
439
439
|
spCheckbox__control: Yn,
|
|
440
440
|
spCheckbox__label: Gn,
|
|
@@ -458,7 +458,7 @@ const Rt = (e) => {
|
|
|
458
458
|
error: s,
|
|
459
459
|
value: d,
|
|
460
460
|
required: p,
|
|
461
|
-
tooltipPosition:
|
|
461
|
+
tooltipPosition: u,
|
|
462
462
|
infoTooltipText: l,
|
|
463
463
|
onMouseEnter: v,
|
|
464
464
|
classNameRoot: b,
|
|
@@ -486,7 +486,7 @@ const Rt = (e) => {
|
|
|
486
486
|
});
|
|
487
487
|
return /* @__PURE__ */ H("div", { className: y, onMouseEnter: v, children: [
|
|
488
488
|
/* @__PURE__ */ H("label", { className: T, children: [
|
|
489
|
-
/* @__PURE__ */
|
|
489
|
+
/* @__PURE__ */ m(
|
|
490
490
|
"input",
|
|
491
491
|
{
|
|
492
492
|
type: "checkbox",
|
|
@@ -497,11 +497,11 @@ const Rt = (e) => {
|
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
499
|
),
|
|
500
|
-
r && /* @__PURE__ */
|
|
501
|
-
p && /* @__PURE__ */
|
|
502
|
-
l && /* @__PURE__ */
|
|
500
|
+
r && /* @__PURE__ */ m("span", { className: M, children: r }),
|
|
501
|
+
p && /* @__PURE__ */ m("div", { className: j, children: "*" }),
|
|
502
|
+
l && /* @__PURE__ */ m("div", { className: c, children: /* @__PURE__ */ m(Je, { position: u, text: l }) })
|
|
503
503
|
] }),
|
|
504
|
-
s && /* @__PURE__ */
|
|
504
|
+
s && /* @__PURE__ */ m("div", { className: w, children: s })
|
|
505
505
|
] });
|
|
506
506
|
}, Vs = (e = {}) => {
|
|
507
507
|
const { initialValue: t = null } = e, [o, n] = le(t);
|
|
@@ -529,7 +529,7 @@ const Rt = (e) => {
|
|
|
529
529
|
[Ft.layer_hidden]: n,
|
|
530
530
|
...a && { [a]: !0 }
|
|
531
531
|
});
|
|
532
|
-
return /* @__PURE__ */
|
|
532
|
+
return /* @__PURE__ */ m(vo, { node: i, children: /* @__PURE__ */ m("div", { style: { zIndex: o }, className: r, children: t }) });
|
|
533
533
|
}, ia = "_spText_1gech_43", ra = "_spText_ellipsis_1gech_56", sa = "_spText_cursorPointer_1gech_113", Ve = {
|
|
534
534
|
spText: ia,
|
|
535
535
|
spText_ellipsis: ra,
|
|
@@ -550,16 +550,16 @@ const Rt = (e) => {
|
|
|
550
550
|
onClick: s,
|
|
551
551
|
isEllipsis: d = !1,
|
|
552
552
|
isCursorPointer: p = !1,
|
|
553
|
-
isCursorPointerByOnClick:
|
|
553
|
+
isCursorPointerByOnClick: u = !0,
|
|
554
554
|
classNameRoot: l
|
|
555
|
-
} = e, v = () => s &&
|
|
555
|
+
} = e, v = () => s && u ? !0 : p, b = f({
|
|
556
556
|
[Ve.spText]: !0,
|
|
557
557
|
[Ve.spText_ellipsis]: d,
|
|
558
558
|
[Ve.spText_cursorPointer]: v(),
|
|
559
559
|
[Ve[`spText_type-${o}`]]: o,
|
|
560
560
|
...l && { [l]: !0 }
|
|
561
561
|
});
|
|
562
|
-
return /* @__PURE__ */
|
|
562
|
+
return /* @__PURE__ */ m(
|
|
563
563
|
"span",
|
|
564
564
|
{
|
|
565
565
|
style: { ...r, color: a },
|
|
@@ -603,7 +603,7 @@ const pa = "_modalWrapper_1qgyc_43", la = "_modalWrapper__modal_1qgyc_63", ca =
|
|
|
603
603
|
style: s,
|
|
604
604
|
modalAlign: d = "top",
|
|
605
605
|
textAlign: p = "left",
|
|
606
|
-
onClose:
|
|
606
|
+
onClose: u,
|
|
607
607
|
header: l,
|
|
608
608
|
subHeader: v,
|
|
609
609
|
footer: b,
|
|
@@ -637,19 +637,19 @@ const pa = "_modalWrapper_1qgyc_43", la = "_modalWrapper__modal_1qgyc_63", ca =
|
|
|
637
637
|
return L.style.position = "fixed", L.style.top = `-${P}px`, L.style.left = "0", L.style.right = "0", L.style.overflow = "hidden", () => {
|
|
638
638
|
L.style.position = "", L.style.top = "", L.style.left = "", L.style.right = "", L.style.overflow = "", window.scrollTo(0, P);
|
|
639
639
|
};
|
|
640
|
-
}, []), /* @__PURE__ */
|
|
640
|
+
}, []), /* @__PURE__ */ m(aa, { zIndex: t, isHiddenModal: o, classNameRoot: i, children: /* @__PURE__ */ m("div", { className: y, children: /* @__PURE__ */ H("div", { className: T, style: s, children: [
|
|
641
641
|
(l || v) && /* @__PURE__ */ H("div", { className: w, children: [
|
|
642
|
-
typeof l == "string" ? /* @__PURE__ */
|
|
643
|
-
v && /* @__PURE__ */
|
|
642
|
+
typeof l == "string" ? /* @__PURE__ */ m(Ne, { type: "h3", children: l }) : l,
|
|
643
|
+
v && /* @__PURE__ */ m("div", { className: c, children: typeof v == "string" ? /* @__PURE__ */ m(Ne, { children: v }) : v })
|
|
644
644
|
] }),
|
|
645
|
-
a && /* @__PURE__ */
|
|
646
|
-
b && /* @__PURE__ */
|
|
647
|
-
n &&
|
|
645
|
+
a && /* @__PURE__ */ m("div", { className: j, children: a }),
|
|
646
|
+
b && /* @__PURE__ */ m("div", { className: S, children: b }),
|
|
647
|
+
n && u && /* @__PURE__ */ m(
|
|
648
648
|
wt,
|
|
649
649
|
{
|
|
650
650
|
classNameRoot: A,
|
|
651
651
|
classNameIconContainerRoot: M,
|
|
652
|
-
onClick:
|
|
652
|
+
onClick: u,
|
|
653
653
|
iconName: ue.Close,
|
|
654
654
|
variant: "link",
|
|
655
655
|
noPadding: !0,
|
|
@@ -668,7 +668,7 @@ const pa = "_modalWrapper_1qgyc_43", la = "_modalWrapper__modal_1qgyc_63", ca =
|
|
|
668
668
|
submitBtnContent: s,
|
|
669
669
|
submit: d,
|
|
670
670
|
disabled: p,
|
|
671
|
-
formId:
|
|
671
|
+
formId: u,
|
|
672
672
|
onClose: l,
|
|
673
673
|
mobile: v = "column",
|
|
674
674
|
align: b = "right",
|
|
@@ -679,7 +679,7 @@ const pa = "_modalWrapper_1qgyc_43", la = "_modalWrapper__modal_1qgyc_63", ca =
|
|
|
679
679
|
isHiddenModal: M,
|
|
680
680
|
size: j
|
|
681
681
|
} = e;
|
|
682
|
-
return /* @__PURE__ */
|
|
682
|
+
return /* @__PURE__ */ m(
|
|
683
683
|
va,
|
|
684
684
|
{
|
|
685
685
|
zIndex: t,
|
|
@@ -691,7 +691,7 @@ const pa = "_modalWrapper_1qgyc_43", la = "_modalWrapper__modal_1qgyc_63", ca =
|
|
|
691
691
|
isVisibleCloseButton: A,
|
|
692
692
|
isHiddenModal: M,
|
|
693
693
|
size: j,
|
|
694
|
-
footer: a || s ? /* @__PURE__ */
|
|
694
|
+
footer: a || s ? /* @__PURE__ */ m(
|
|
695
695
|
Wn,
|
|
696
696
|
{
|
|
697
697
|
mobile: v,
|
|
@@ -700,7 +700,7 @@ const pa = "_modalWrapper_1qgyc_43", la = "_modalWrapper__modal_1qgyc_63", ca =
|
|
|
700
700
|
cancelBtnIconName: r,
|
|
701
701
|
cancelBtnDisabled: i,
|
|
702
702
|
submitBtnContent: s,
|
|
703
|
-
formId:
|
|
703
|
+
formId: u,
|
|
704
704
|
disabled: p,
|
|
705
705
|
onClose: l,
|
|
706
706
|
submit: d,
|
|
@@ -718,7 +718,7 @@ const pa = "_modalWrapper_1qgyc_43", la = "_modalWrapper__modal_1qgyc_63", ca =
|
|
|
718
718
|
[dt.spContextMenu]: !0,
|
|
719
719
|
...n && { [n]: !0 }
|
|
720
720
|
});
|
|
721
|
-
return /* @__PURE__ */
|
|
721
|
+
return /* @__PURE__ */ m("ul", { className: a, children: o == null ? void 0 : o.map((i) => {
|
|
722
722
|
const r = i.key === "delete";
|
|
723
723
|
return /* @__PURE__ */ H(
|
|
724
724
|
"li",
|
|
@@ -731,7 +731,7 @@ const pa = "_modalWrapper_1qgyc_43", la = "_modalWrapper__modal_1qgyc_63", ca =
|
|
|
731
731
|
t && t(i);
|
|
732
732
|
},
|
|
733
733
|
children: [
|
|
734
|
-
(i == null ? void 0 : i.iconName) && /* @__PURE__ */
|
|
734
|
+
(i == null ? void 0 : i.iconName) && /* @__PURE__ */ m(be, { name: i.iconName }),
|
|
735
735
|
i.label
|
|
736
736
|
]
|
|
737
737
|
},
|
|
@@ -755,7 +755,7 @@ var Ot;
|
|
|
755
755
|
function ba() {
|
|
756
756
|
if (Ot) return Y;
|
|
757
757
|
Ot = 1;
|
|
758
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111,
|
|
758
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, l = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, k = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, T = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118, M = e ? Symbol.for("react.scope") : 60119;
|
|
759
759
|
function j(c) {
|
|
760
760
|
if (typeof c == "object" && c !== null) {
|
|
761
761
|
var S = c.$$typeof;
|
|
@@ -772,7 +772,7 @@ function ba() {
|
|
|
772
772
|
default:
|
|
773
773
|
switch (c = c && c.$$typeof, c) {
|
|
774
774
|
case s:
|
|
775
|
-
case
|
|
775
|
+
case u:
|
|
776
776
|
case k:
|
|
777
777
|
case b:
|
|
778
778
|
case r:
|
|
@@ -789,7 +789,7 @@ function ba() {
|
|
|
789
789
|
function w(c) {
|
|
790
790
|
return j(c) === p;
|
|
791
791
|
}
|
|
792
|
-
return Y.AsyncMode = d, Y.ConcurrentMode = p, Y.ContextConsumer = s, Y.ContextProvider = r, Y.Element = t, Y.ForwardRef =
|
|
792
|
+
return Y.AsyncMode = d, Y.ConcurrentMode = p, Y.ContextConsumer = s, Y.ContextProvider = r, Y.Element = t, Y.ForwardRef = u, Y.Fragment = n, Y.Lazy = k, Y.Memo = b, Y.Portal = o, Y.Profiler = i, Y.StrictMode = a, Y.Suspense = l, Y.isAsyncMode = function(c) {
|
|
793
793
|
return w(c) || j(c) === d;
|
|
794
794
|
}, Y.isConcurrentMode = w, Y.isContextConsumer = function(c) {
|
|
795
795
|
return j(c) === s;
|
|
@@ -798,7 +798,7 @@ function ba() {
|
|
|
798
798
|
}, Y.isElement = function(c) {
|
|
799
799
|
return typeof c == "object" && c !== null && c.$$typeof === t;
|
|
800
800
|
}, Y.isForwardRef = function(c) {
|
|
801
|
-
return j(c) ===
|
|
801
|
+
return j(c) === u;
|
|
802
802
|
}, Y.isFragment = function(c) {
|
|
803
803
|
return j(c) === n;
|
|
804
804
|
}, Y.isLazy = function(c) {
|
|
@@ -814,7 +814,7 @@ function ba() {
|
|
|
814
814
|
}, Y.isSuspense = function(c) {
|
|
815
815
|
return j(c) === l;
|
|
816
816
|
}, Y.isValidElementType = function(c) {
|
|
817
|
-
return typeof c == "string" || typeof c == "function" || c === n || c === p || c === i || c === a || c === l || c === v || typeof c == "object" && c !== null && (c.$$typeof === k || c.$$typeof === b || c.$$typeof === r || c.$$typeof === s || c.$$typeof ===
|
|
817
|
+
return typeof c == "string" || typeof c == "function" || c === n || c === p || c === i || c === a || c === l || c === v || typeof c == "object" && c !== null && (c.$$typeof === k || c.$$typeof === b || c.$$typeof === r || c.$$typeof === s || c.$$typeof === u || c.$$typeof === T || c.$$typeof === A || c.$$typeof === M || c.$$typeof === y);
|
|
818
818
|
}, Y.typeOf = j, Y;
|
|
819
819
|
}
|
|
820
820
|
var G = {};
|
|
@@ -829,10 +829,10 @@ var G = {};
|
|
|
829
829
|
var zt;
|
|
830
830
|
function ya() {
|
|
831
831
|
return zt || (zt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
832
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111,
|
|
832
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, l = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, k = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, T = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118, M = e ? Symbol.for("react.scope") : 60119;
|
|
833
833
|
function j(g) {
|
|
834
834
|
return typeof g == "string" || typeof g == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
835
|
-
g === n || g === p || g === i || g === a || g === l || g === v || typeof g == "object" && g !== null && (g.$$typeof === k || g.$$typeof === b || g.$$typeof === r || g.$$typeof === s || g.$$typeof ===
|
|
835
|
+
g === n || g === p || g === i || g === a || g === l || g === v || typeof g == "object" && g !== null && (g.$$typeof === k || g.$$typeof === b || g.$$typeof === r || g.$$typeof === s || g.$$typeof === u || g.$$typeof === T || g.$$typeof === A || g.$$typeof === M || g.$$typeof === y);
|
|
836
836
|
}
|
|
837
837
|
function w(g) {
|
|
838
838
|
if (typeof g == "object" && g !== null) {
|
|
@@ -852,7 +852,7 @@ function ya() {
|
|
|
852
852
|
var ze = Se && Se.$$typeof;
|
|
853
853
|
switch (ze) {
|
|
854
854
|
case s:
|
|
855
|
-
case
|
|
855
|
+
case u:
|
|
856
856
|
case k:
|
|
857
857
|
case b:
|
|
858
858
|
case r:
|
|
@@ -866,7 +866,7 @@ function ya() {
|
|
|
866
866
|
}
|
|
867
867
|
}
|
|
868
868
|
}
|
|
869
|
-
var c = d, S = p, P = s, L = r, Q = t, te =
|
|
869
|
+
var c = d, S = p, P = s, L = r, Q = t, te = u, ee = n, ae = k, se = b, K = o, Z = i, C = a, q = l, X = !1;
|
|
870
870
|
function B(g) {
|
|
871
871
|
return X || (X = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), _(g) || w(g) === d;
|
|
872
872
|
}
|
|
@@ -883,7 +883,7 @@ function ya() {
|
|
|
883
883
|
return typeof g == "object" && g !== null && g.$$typeof === t;
|
|
884
884
|
}
|
|
885
885
|
function D(g) {
|
|
886
|
-
return w(g) ===
|
|
886
|
+
return w(g) === u;
|
|
887
887
|
}
|
|
888
888
|
function $(g) {
|
|
889
889
|
return w(g) === n;
|
|
@@ -937,22 +937,22 @@ function wa() {
|
|
|
937
937
|
return !1;
|
|
938
938
|
for (var r = {}, s = 0; s < 10; s++)
|
|
939
939
|
r["_" + String.fromCharCode(s)] = s;
|
|
940
|
-
var d = Object.getOwnPropertyNames(r).map(function(
|
|
941
|
-
return r[
|
|
940
|
+
var d = Object.getOwnPropertyNames(r).map(function(u) {
|
|
941
|
+
return r[u];
|
|
942
942
|
});
|
|
943
943
|
if (d.join("") !== "0123456789")
|
|
944
944
|
return !1;
|
|
945
945
|
var p = {};
|
|
946
|
-
return "abcdefghijklmnopqrst".split("").forEach(function(
|
|
947
|
-
p[
|
|
946
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(u) {
|
|
947
|
+
p[u] = u;
|
|
948
948
|
}), Object.keys(Object.assign({}, p)).join("") === "abcdefghijklmnopqrst";
|
|
949
949
|
} catch {
|
|
950
950
|
return !1;
|
|
951
951
|
}
|
|
952
952
|
}
|
|
953
953
|
return ut = a() ? Object.assign : function(i, r) {
|
|
954
|
-
for (var s, d = n(i), p,
|
|
955
|
-
s = Object(arguments[
|
|
954
|
+
for (var s, d = n(i), p, u = 1; u < arguments.length; u++) {
|
|
955
|
+
s = Object(arguments[u]);
|
|
956
956
|
for (var l in s)
|
|
957
957
|
t.call(s, l) && (d[l] = s[l]);
|
|
958
958
|
if (e) {
|
|
@@ -994,22 +994,22 @@ function ka() {
|
|
|
994
994
|
}
|
|
995
995
|
function a(i, r, s, d, p) {
|
|
996
996
|
if (process.env.NODE_ENV !== "production") {
|
|
997
|
-
for (var
|
|
998
|
-
if (n(i,
|
|
997
|
+
for (var u in i)
|
|
998
|
+
if (n(i, u)) {
|
|
999
999
|
var l;
|
|
1000
1000
|
try {
|
|
1001
|
-
if (typeof i[
|
|
1001
|
+
if (typeof i[u] != "function") {
|
|
1002
1002
|
var v = Error(
|
|
1003
|
-
(d || "React class") + ": " + s + " type `" +
|
|
1003
|
+
(d || "React class") + ": " + s + " type `" + u + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[u] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
1004
1004
|
);
|
|
1005
1005
|
throw v.name = "Invariant Violation", v;
|
|
1006
1006
|
}
|
|
1007
|
-
l = i[
|
|
1007
|
+
l = i[u](r, u, d, s, null, t);
|
|
1008
1008
|
} catch (k) {
|
|
1009
1009
|
l = k;
|
|
1010
1010
|
}
|
|
1011
1011
|
if (l && !(l instanceof Error) && e(
|
|
1012
|
-
(d || "React class") + ": type specification of " + s + " `" +
|
|
1012
|
+
(d || "React class") + ": type specification of " + s + " `" + u + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof l + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
1013
1013
|
), l instanceof Error && !(l.message in o)) {
|
|
1014
1014
|
o[l.message] = !0;
|
|
1015
1015
|
var b = p ? p() : "";
|
|
@@ -1042,9 +1042,9 @@ function Ca() {
|
|
|
1042
1042
|
return null;
|
|
1043
1043
|
}
|
|
1044
1044
|
return vt = function(s, d) {
|
|
1045
|
-
var p = typeof Symbol == "function" && Symbol.iterator,
|
|
1045
|
+
var p = typeof Symbol == "function" && Symbol.iterator, u = "@@iterator";
|
|
1046
1046
|
function l(_) {
|
|
1047
|
-
var h = _ && (p && _[p] || _[
|
|
1047
|
+
var h = _ && (p && _[p] || _[u]);
|
|
1048
1048
|
if (typeof h == "function")
|
|
1049
1049
|
return h;
|
|
1050
1050
|
}
|
|
@@ -1355,7 +1355,7 @@ function Ta() {
|
|
|
1355
1355
|
function o() {
|
|
1356
1356
|
}
|
|
1357
1357
|
return o.resetWarningCache = t, gt = function() {
|
|
1358
|
-
function n(r, s, d, p,
|
|
1358
|
+
function n(r, s, d, p, u, l) {
|
|
1359
1359
|
if (l !== e) {
|
|
1360
1360
|
var v = new Error(
|
|
1361
1361
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
@@ -1407,22 +1407,22 @@ function De(e, t, o, n) {
|
|
|
1407
1407
|
});
|
|
1408
1408
|
}
|
|
1409
1409
|
return new (o || (o = Promise))(function(i, r) {
|
|
1410
|
-
function s(
|
|
1410
|
+
function s(u) {
|
|
1411
1411
|
try {
|
|
1412
|
-
p(n.next(
|
|
1412
|
+
p(n.next(u));
|
|
1413
1413
|
} catch (l) {
|
|
1414
1414
|
r(l);
|
|
1415
1415
|
}
|
|
1416
1416
|
}
|
|
1417
|
-
function d(
|
|
1417
|
+
function d(u) {
|
|
1418
1418
|
try {
|
|
1419
|
-
p(n.throw(
|
|
1419
|
+
p(n.throw(u));
|
|
1420
1420
|
} catch (l) {
|
|
1421
1421
|
r(l);
|
|
1422
1422
|
}
|
|
1423
1423
|
}
|
|
1424
|
-
function p(
|
|
1425
|
-
|
|
1424
|
+
function p(u) {
|
|
1425
|
+
u.done ? i(u.value) : a(u.value).then(s, d);
|
|
1426
1426
|
}
|
|
1427
1427
|
p((n = n.apply(e, t || [])).next());
|
|
1428
1428
|
});
|
|
@@ -2913,7 +2913,7 @@ function je(e) {
|
|
|
2913
2913
|
function ei(e) {
|
|
2914
2914
|
var t = e.files, o = e.accept, n = e.minSize, a = e.maxSize, i = e.multiple, r = e.maxFiles, s = e.validator;
|
|
2915
2915
|
return !i && t.length > 1 || i && r >= 1 && t.length > r ? !1 : t.every(function(d) {
|
|
2916
|
-
var p = Co(d, o),
|
|
2916
|
+
var p = Co(d, o), u = Me(p, 1), l = u[0], v = To(d, n, a), b = Me(v, 1), k = b[0], y = s ? s(d) : null;
|
|
2917
2917
|
return l && k && !y;
|
|
2918
2918
|
});
|
|
2919
2919
|
}
|
|
@@ -3294,7 +3294,7 @@ var St = {
|
|
|
3294
3294
|
fileRejections: []
|
|
3295
3295
|
};
|
|
3296
3296
|
function yi() {
|
|
3297
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = J(J({}, Ro), e), o = t.accept, n = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, d = t.maxFiles, p = t.onDragEnter,
|
|
3297
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = J(J({}, Ro), e), o = t.accept, n = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, d = t.maxFiles, p = t.onDragEnter, u = t.onDragLeave, l = t.onDragOver, v = t.onDrop, b = t.onDropAccepted, k = t.onDropRejected, y = t.onFileDialogCancel, T = t.onFileDialogOpen, A = t.useFsAccessApi, M = t.autoFocus, j = t.preventDropOnDocument, w = t.noClick, c = t.noKeyboard, S = t.noDrag, P = t.noDragEventsBubbling, L = t.onError, Q = t.validator, te = Fe(function() {
|
|
3298
3298
|
return ri(o);
|
|
3299
3299
|
}, [o]), ee = Fe(function() {
|
|
3300
3300
|
return ii(o);
|
|
@@ -3371,8 +3371,8 @@ function yi() {
|
|
|
3371
3371
|
isDragActive: !1,
|
|
3372
3372
|
isDragAccept: !1,
|
|
3373
3373
|
isDragReject: !1
|
|
3374
|
-
}), Ge(x) &&
|
|
3375
|
-
}, [K,
|
|
3374
|
+
}), Ge(x) && u && u(x));
|
|
3375
|
+
}, [K, u, P]), W = fe(function(x, R) {
|
|
3376
3376
|
var oe = [], pe = [];
|
|
3377
3377
|
x.forEach(function(xe) {
|
|
3378
3378
|
var Pe = Co(xe, te), Le = ht(Pe, 2), ot = Le[0], nt = Le[1], at = To(xe, r, i), He = ht(at, 2), it = He[0], rt = He[1], st = Q ? Q(xe) : null;
|
|
@@ -3553,7 +3553,7 @@ const ki = (e) => {
|
|
|
3553
3553
|
multiple: s,
|
|
3554
3554
|
maxFiles: d,
|
|
3555
3555
|
files: p = []
|
|
3556
|
-
} = e,
|
|
3556
|
+
} = e, u = fe(
|
|
3557
3557
|
(l) => {
|
|
3558
3558
|
if (!s) {
|
|
3559
3559
|
t(l, r);
|
|
@@ -3568,8 +3568,8 @@ const ki = (e) => {
|
|
|
3568
3568
|
},
|
|
3569
3569
|
[p, d, s, r, t]
|
|
3570
3570
|
);
|
|
3571
|
-
return /* @__PURE__ */
|
|
3572
|
-
/* @__PURE__ */
|
|
3571
|
+
return /* @__PURE__ */ m(et, { multiple: s, onDrop: u, maxSize: n, accept: a, children: ({ getRootProps: l, getInputProps: v }) => /* @__PURE__ */ H("div", { ...l({}), style: { height: "100%" }, children: [
|
|
3572
|
+
/* @__PURE__ */ m("input", { ...v({}), disabled: i, name: r }),
|
|
3573
3573
|
o
|
|
3574
3574
|
] }) });
|
|
3575
3575
|
}, Ci = "_spDropdown_1f4lf_43", Ti = "_spDropdown__labelText_1f4lf_54", Ni = "_spDropdown__tooltipContainer_1f4lf_62", Ei = "_spDropdown__dropdownList_1f4lf_67", Si = "_spDropdown__dropdownListHeader_1f4lf_73", Ri = "_spDropdown__dopdownListItem_1f4lf_80", Ai = "_spDropdown__dopdownListItem_textCenter_1f4lf_91", ji = "_spDropdown__downloadListItemDescription_1f4lf_94", Ee = {
|
|
@@ -3597,19 +3597,19 @@ const ki = (e) => {
|
|
|
3597
3597
|
[Ee.spDropdown__tooltipContainer]: !0
|
|
3598
3598
|
}), p = f({
|
|
3599
3599
|
[Ee.spDropdown__dropdownList]: !0
|
|
3600
|
-
}),
|
|
3600
|
+
}), u = f({
|
|
3601
3601
|
[Ee.spDropdown__dropdownListHeader]: !0
|
|
3602
3602
|
}), l = f({
|
|
3603
3603
|
[Ee.spDropdown__downloadListItemDescription]: !0
|
|
3604
3604
|
}), [v, b] = le(!1);
|
|
3605
|
-
return /* @__PURE__ */
|
|
3605
|
+
return /* @__PURE__ */ m(
|
|
3606
3606
|
Rt,
|
|
3607
3607
|
{
|
|
3608
3608
|
hover: !1,
|
|
3609
3609
|
triggerAction: () => b(!0),
|
|
3610
3610
|
actionOnClose: () => b(!1),
|
|
3611
3611
|
text: /* @__PURE__ */ H("div", { className: p, children: [
|
|
3612
|
-
o && /* @__PURE__ */
|
|
3612
|
+
o && /* @__PURE__ */ m("div", { className: u, children: o }),
|
|
3613
3613
|
n.map((y, T) => /* @__PURE__ */ H(
|
|
3614
3614
|
"div",
|
|
3615
3615
|
{
|
|
@@ -3620,7 +3620,7 @@ const ki = (e) => {
|
|
|
3620
3620
|
onClick: y.onClick,
|
|
3621
3621
|
children: [
|
|
3622
3622
|
y.name,
|
|
3623
|
-
y.description && /* @__PURE__ */
|
|
3623
|
+
y.description && /* @__PURE__ */ m("span", { className: l, children: y.description })
|
|
3624
3624
|
]
|
|
3625
3625
|
},
|
|
3626
3626
|
T
|
|
@@ -3631,8 +3631,8 @@ const ki = (e) => {
|
|
|
3631
3631
|
isToggleClick: !0,
|
|
3632
3632
|
isStopPropagationClickOnTrigger: !0,
|
|
3633
3633
|
trigger: /* @__PURE__ */ H("div", { className: r, children: [
|
|
3634
|
-
/* @__PURE__ */
|
|
3635
|
-
/* @__PURE__ */
|
|
3634
|
+
/* @__PURE__ */ m("div", { className: s, children: t }),
|
|
3635
|
+
/* @__PURE__ */ m("div", { className: d, children: /* @__PURE__ */ m(be, { name: ue.SelectChevronDown, rotate: v ? 180 : void 0 }) })
|
|
3636
3636
|
] })
|
|
3637
3637
|
}
|
|
3638
3638
|
);
|
|
@@ -3648,9 +3648,9 @@ const ki = (e) => {
|
|
|
3648
3648
|
classNameBaseTooltipContentRoot: i,
|
|
3649
3649
|
classNameBaseTooltipRoot: r,
|
|
3650
3650
|
...s
|
|
3651
|
-
} = e, d = ve(null), [p,
|
|
3651
|
+
} = e, d = ve(null), [p, u] = le(!1);
|
|
3652
3652
|
re(() => {
|
|
3653
|
-
d.current &&
|
|
3653
|
+
d.current && u(d.current.scrollWidth > d.current.clientWidth);
|
|
3654
3654
|
}, [t]);
|
|
3655
3655
|
const l = f({
|
|
3656
3656
|
[oo.ellipsisTextWithTooltip]: !0,
|
|
@@ -3661,7 +3661,7 @@ const ki = (e) => {
|
|
|
3661
3661
|
}), b = f({
|
|
3662
3662
|
...a && { [a]: !0 }
|
|
3663
3663
|
});
|
|
3664
|
-
return /* @__PURE__ */
|
|
3664
|
+
return /* @__PURE__ */ m(
|
|
3665
3665
|
Rt,
|
|
3666
3666
|
{
|
|
3667
3667
|
classNameTooltip: v,
|
|
@@ -3670,7 +3670,7 @@ const ki = (e) => {
|
|
|
3670
3670
|
classNameBaseTooltipRoot: r,
|
|
3671
3671
|
isVisibleTooltip: p,
|
|
3672
3672
|
text: t,
|
|
3673
|
-
trigger: /* @__PURE__ */
|
|
3673
|
+
trigger: /* @__PURE__ */ m(Ne, { ...s, classNameRoot: l, isEllipsis: !0, ref: d, children: t })
|
|
3674
3674
|
}
|
|
3675
3675
|
);
|
|
3676
3676
|
}, Fi = "_spForm_zefbj_43", Oi = "_spForm_fullWidth_zefbj_46", zi = "_spForm_withSeparator_zefbj_49", We = {
|
|
@@ -3697,7 +3697,7 @@ const ki = (e) => {
|
|
|
3697
3697
|
[We.spForm_withSeparator]: i,
|
|
3698
3698
|
...s && { [s]: !0 }
|
|
3699
3699
|
});
|
|
3700
|
-
return /* @__PURE__ */
|
|
3700
|
+
return /* @__PURE__ */ m("form", { ...d, onSubmit: (l) => {
|
|
3701
3701
|
l.preventDefault(), n && n();
|
|
3702
3702
|
}, className: p, children: o });
|
|
3703
3703
|
}, Pi = "_spLabel_g0hfy_43", Bi = "_spLabel__text_g0hfy_52", Wi = "_spLabel__tooltip_g0hfy_62", Mi = "_spLabel__required_g0hfy_67", Ke = {
|
|
@@ -3720,13 +3720,13 @@ const ki = (e) => {
|
|
|
3720
3720
|
[Ke.spLabel__text]: !0
|
|
3721
3721
|
}), p = f({
|
|
3722
3722
|
[Ke.spLabel__required]: t
|
|
3723
|
-
}),
|
|
3723
|
+
}), u = f({
|
|
3724
3724
|
[Ke.spLabel__tooltip]: !0
|
|
3725
3725
|
});
|
|
3726
3726
|
return /* @__PURE__ */ H("div", { className: s, children: [
|
|
3727
|
-
/* @__PURE__ */
|
|
3728
|
-
t && /* @__PURE__ */
|
|
3729
|
-
n && /* @__PURE__ */
|
|
3727
|
+
/* @__PURE__ */ m("label", { className: d, children: o }),
|
|
3728
|
+
t && /* @__PURE__ */ m("div", { className: p, children: "*" }),
|
|
3729
|
+
n && /* @__PURE__ */ m("div", { className: u, children: /* @__PURE__ */ m(
|
|
3730
3730
|
Je,
|
|
3731
3731
|
{
|
|
3732
3732
|
position: a,
|
|
@@ -3756,7 +3756,7 @@ const ki = (e) => {
|
|
|
3756
3756
|
error: s,
|
|
3757
3757
|
required: d,
|
|
3758
3758
|
name: p,
|
|
3759
|
-
isClearable:
|
|
3759
|
+
isClearable: u,
|
|
3760
3760
|
pattern: l,
|
|
3761
3761
|
onMouseEnter: v,
|
|
3762
3762
|
infoTooltipText: b,
|
|
@@ -3778,7 +3778,7 @@ const ki = (e) => {
|
|
|
3778
3778
|
[Te.spInput__control]: !0,
|
|
3779
3779
|
[Te.spInput__control_disabled]: r,
|
|
3780
3780
|
[Te[`spInput__control_${i}`]]: i,
|
|
3781
|
-
[Te.spInput__control_clearable]:
|
|
3781
|
+
[Te.spInput__control_clearable]: u
|
|
3782
3782
|
}), Q = f({
|
|
3783
3783
|
[Te.spInput__clear]: !0
|
|
3784
3784
|
}), te = f({
|
|
@@ -3793,7 +3793,7 @@ const ki = (e) => {
|
|
|
3793
3793
|
l && C && !new RegExp(l).test(C) || n(Z, { value: C, name: q });
|
|
3794
3794
|
};
|
|
3795
3795
|
return /* @__PURE__ */ H("div", { className: S, children: [
|
|
3796
|
-
a && /* @__PURE__ */
|
|
3796
|
+
a && /* @__PURE__ */ m(
|
|
3797
3797
|
jt,
|
|
3798
3798
|
{
|
|
3799
3799
|
classNameRoot: ee,
|
|
@@ -3805,7 +3805,7 @@ const ki = (e) => {
|
|
|
3805
3805
|
}
|
|
3806
3806
|
),
|
|
3807
3807
|
/* @__PURE__ */ H("div", { className: P, onMouseEnter: v, children: [
|
|
3808
|
-
/* @__PURE__ */
|
|
3808
|
+
/* @__PURE__ */ m(
|
|
3809
3809
|
"input",
|
|
3810
3810
|
{
|
|
3811
3811
|
...c,
|
|
@@ -3819,9 +3819,9 @@ const ki = (e) => {
|
|
|
3819
3819
|
ref: t
|
|
3820
3820
|
}
|
|
3821
3821
|
),
|
|
3822
|
-
|
|
3822
|
+
u && o && !r && /* @__PURE__ */ m(be, { onClick: ae, className: Q, name: ue.Trash })
|
|
3823
3823
|
] }),
|
|
3824
|
-
s && /* @__PURE__ */
|
|
3824
|
+
s && /* @__PURE__ */ m("div", { className: te, children: s })
|
|
3825
3825
|
] });
|
|
3826
3826
|
});
|
|
3827
3827
|
Qi.displayName = "Input";
|
|
@@ -3842,42 +3842,42 @@ function ir(e, t) {
|
|
|
3842
3842
|
if (a && n || !(a || n))
|
|
3843
3843
|
return !1;
|
|
3844
3844
|
var i = o.expressions.every(function(r) {
|
|
3845
|
-
var s = r.feature, d = r.modifier, p = r.value,
|
|
3846
|
-
if (!
|
|
3845
|
+
var s = r.feature, d = r.modifier, p = r.value, u = t[s];
|
|
3846
|
+
if (!u)
|
|
3847
3847
|
return !1;
|
|
3848
3848
|
switch (s) {
|
|
3849
3849
|
case "orientation":
|
|
3850
3850
|
case "scan":
|
|
3851
|
-
return
|
|
3851
|
+
return u.toLowerCase() === p.toLowerCase();
|
|
3852
3852
|
case "width":
|
|
3853
3853
|
case "height":
|
|
3854
3854
|
case "device-width":
|
|
3855
3855
|
case "device-height":
|
|
3856
|
-
p = io(p),
|
|
3856
|
+
p = io(p), u = io(u);
|
|
3857
3857
|
break;
|
|
3858
3858
|
case "resolution":
|
|
3859
|
-
p = ao(p),
|
|
3859
|
+
p = ao(p), u = ao(u);
|
|
3860
3860
|
break;
|
|
3861
3861
|
case "aspect-ratio":
|
|
3862
3862
|
case "device-aspect-ratio":
|
|
3863
3863
|
case /* Deprecated */
|
|
3864
3864
|
"device-pixel-ratio":
|
|
3865
|
-
p = no(p),
|
|
3865
|
+
p = no(p), u = no(u);
|
|
3866
3866
|
break;
|
|
3867
3867
|
case "grid":
|
|
3868
3868
|
case "color":
|
|
3869
3869
|
case "color-index":
|
|
3870
3870
|
case "monochrome":
|
|
3871
|
-
p = parseInt(p, 10) || 1,
|
|
3871
|
+
p = parseInt(p, 10) || 1, u = parseInt(u, 10) || 0;
|
|
3872
3872
|
break;
|
|
3873
3873
|
}
|
|
3874
3874
|
switch (d) {
|
|
3875
3875
|
case "min":
|
|
3876
|
-
return
|
|
3876
|
+
return u >= p;
|
|
3877
3877
|
case "max":
|
|
3878
|
-
return
|
|
3878
|
+
return u <= p;
|
|
3879
3879
|
default:
|
|
3880
|
-
return
|
|
3880
|
+
return u === p;
|
|
3881
3881
|
}
|
|
3882
3882
|
});
|
|
3883
3883
|
return i && !n || !i && n;
|
|
@@ -4098,7 +4098,7 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4098
4098
|
};
|
|
4099
4099
|
}, Qs = (e) => {
|
|
4100
4100
|
const { breakpoints: t, children: o } = e, { device: n } = Ar(t);
|
|
4101
|
-
return /* @__PURE__ */
|
|
4101
|
+
return /* @__PURE__ */ m(
|
|
4102
4102
|
Ji.Provider,
|
|
4103
4103
|
{
|
|
4104
4104
|
value: {
|
|
@@ -4108,10 +4108,10 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4108
4108
|
}
|
|
4109
4109
|
);
|
|
4110
4110
|
}, jr = 2e3, Dr = (e) => {
|
|
4111
|
-
const { targetValue: t, duration: o = jr, doneValue: n } = e, [a, i] = le(t), r = ve(), s = ve(0), d = ve(), p = ve(t), [
|
|
4111
|
+
const { targetValue: t, duration: o = jr, doneValue: n } = e, [a, i] = le(t), r = ve(), s = ve(0), d = ve(), p = ve(t), [u, l] = le(!1), v = ve();
|
|
4112
4112
|
return re(() => {
|
|
4113
4113
|
if (p.current = t, t === s.current) return;
|
|
4114
|
-
if (r.current && cancelAnimationFrame(r.current), t === n) {
|
|
4114
|
+
if (r.current && cancelAnimationFrame(r.current), t === n && !u) {
|
|
4115
4115
|
i(n), s.current = n;
|
|
4116
4116
|
return;
|
|
4117
4117
|
}
|
|
@@ -4130,7 +4130,7 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4130
4130
|
v.current && window.clearTimeout(v.current);
|
|
4131
4131
|
}), [a, n]), {
|
|
4132
4132
|
animatedValue: a,
|
|
4133
|
-
isLoading:
|
|
4133
|
+
isLoading: u
|
|
4134
4134
|
};
|
|
4135
4135
|
}, Ir = "_progressWrapper_xn9s0_44", Lr = "_progressWrapper_loading_xn9s0_47", Fr = "_progressWrapper__childrenWrapper_xn9s0_52", Or = "_progressWrapper__childrenWrapper_loading_xn9s0_58", zr = "_pulse_xn9s0_1", Pr = "_progressWrapper__progressBadge_xn9s0_64", Br = "_progressWrapper__progressBadge_loading_xn9s0_75", Re = {
|
|
4136
4136
|
progressWrapper: Ir,
|
|
@@ -4155,7 +4155,7 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4155
4155
|
targetValue: t,
|
|
4156
4156
|
duration: a,
|
|
4157
4157
|
doneValue: r
|
|
4158
|
-
}),
|
|
4158
|
+
}), u = f({
|
|
4159
4159
|
[Re.progressWrapper]: !0,
|
|
4160
4160
|
[Re.progressWrapper_loading]: p,
|
|
4161
4161
|
...o && { [o]: !0 }
|
|
@@ -4170,8 +4170,8 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4170
4170
|
}), b = {
|
|
4171
4171
|
"--progress": `${d / r * 100}%`
|
|
4172
4172
|
};
|
|
4173
|
-
return /* @__PURE__ */ H("div", { className:
|
|
4174
|
-
/* @__PURE__ */
|
|
4173
|
+
return /* @__PURE__ */ H("div", { className: u, children: [
|
|
4174
|
+
/* @__PURE__ */ m(
|
|
4175
4175
|
"div",
|
|
4176
4176
|
{
|
|
4177
4177
|
className: v,
|
|
@@ -4210,7 +4210,7 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4210
4210
|
onMouseEnter: s,
|
|
4211
4211
|
error: d,
|
|
4212
4212
|
label: p,
|
|
4213
|
-
infoTooltipText:
|
|
4213
|
+
infoTooltipText: u,
|
|
4214
4214
|
tooltipPosition: l,
|
|
4215
4215
|
disabled: v,
|
|
4216
4216
|
required: b,
|
|
@@ -4258,14 +4258,14 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4258
4258
|
...M && { [M]: !0 }
|
|
4259
4259
|
});
|
|
4260
4260
|
return /* @__PURE__ */ H("div", { className: ee, ref: P, children: [
|
|
4261
|
-
p && /* @__PURE__ */
|
|
4261
|
+
p && /* @__PURE__ */ m(
|
|
4262
4262
|
jt,
|
|
4263
4263
|
{
|
|
4264
4264
|
classNameRoot: q,
|
|
4265
4265
|
tooltipPosition: l,
|
|
4266
4266
|
required: b,
|
|
4267
4267
|
label: p,
|
|
4268
|
-
infoTooltipText:
|
|
4268
|
+
infoTooltipText: u,
|
|
4269
4269
|
classNameBaseTooltipRoot: w
|
|
4270
4270
|
}
|
|
4271
4271
|
),
|
|
@@ -4278,8 +4278,8 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4278
4278
|
className: se,
|
|
4279
4279
|
onClick: te,
|
|
4280
4280
|
children: [
|
|
4281
|
-
/* @__PURE__ */
|
|
4282
|
-
/* @__PURE__ */
|
|
4281
|
+
/* @__PURE__ */ m("div", { className: K, children: (L == null ? void 0 : L.label) || o }),
|
|
4282
|
+
/* @__PURE__ */ m(
|
|
4283
4283
|
be,
|
|
4284
4284
|
{
|
|
4285
4285
|
name: ue.SelectChevronDown,
|
|
@@ -4290,7 +4290,7 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4290
4290
|
]
|
|
4291
4291
|
}
|
|
4292
4292
|
),
|
|
4293
|
-
c && /* @__PURE__ */
|
|
4293
|
+
c && /* @__PURE__ */ m(
|
|
4294
4294
|
"div",
|
|
4295
4295
|
{
|
|
4296
4296
|
className: C,
|
|
@@ -4306,7 +4306,7 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4306
4306
|
onClick: (F) => Q(F, _.value),
|
|
4307
4307
|
children: [
|
|
4308
4308
|
_.label,
|
|
4309
|
-
h && /* @__PURE__ */
|
|
4309
|
+
h && /* @__PURE__ */ m(be, { name: ue.Check, className: Z })
|
|
4310
4310
|
]
|
|
4311
4311
|
},
|
|
4312
4312
|
_.value
|
|
@@ -4315,7 +4315,7 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4315
4315
|
}
|
|
4316
4316
|
)
|
|
4317
4317
|
] }),
|
|
4318
|
-
d && /* @__PURE__ */
|
|
4318
|
+
d && /* @__PURE__ */ m("div", { className: X, children: d })
|
|
4319
4319
|
] });
|
|
4320
4320
|
}, ts = "_skeleton_1u7gu_43", os = {
|
|
4321
4321
|
skeleton: ts
|
|
@@ -4326,7 +4326,7 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4326
4326
|
borderRadius: n ? "50%" : "0",
|
|
4327
4327
|
...i
|
|
4328
4328
|
};
|
|
4329
|
-
return /* @__PURE__ */
|
|
4329
|
+
return /* @__PURE__ */ m("div", { style: r, className: f(a, os.skeleton) });
|
|
4330
4330
|
}, po = (e) => e == null || e === "" ? !0 : typeof e != "string" && typeof e.toString != "function" ? !1 : e.toString().replace(/\s/g, "").length < 1, ns = "_spTable_1vuaj_43", as = "_spTable__tdContentCopyIcon_1vuaj_62", is = "_spTable__tdContent_1vuaj_62", rs = "_spTable__tdColorContent_1vuaj_72", ss = "_spTable__tdContentCopyIcon_copied_1vuaj_85", ps = "_spTable__emptyPage_1vuaj_89", ls = "_spStringsGroup_1vuaj_105", cs = "_spStringsGroup__groupItem_1vuaj_119", ds = "_spStringsGroup__groupItemHeader_1vuaj_134", us = "_spStringsGroup__groupItemContent_1vuaj_138", ms = "_spStringsGroup__groupItemContentCopyIcon_1vuaj_144", _s = "_spStringsGroup__groupItemContentCopyIcon_copied_1vuaj_151", ye = {
|
|
4331
4331
|
spTable: ns,
|
|
4332
4332
|
spTable__tdContentCopyIcon: as,
|
|
@@ -4357,7 +4357,7 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4357
4357
|
[ye.spTable__tdContent]: !0
|
|
4358
4358
|
}), p = f({
|
|
4359
4359
|
[ye.spTable__tdColorContent]: !0
|
|
4360
|
-
}),
|
|
4360
|
+
}), u = f({
|
|
4361
4361
|
[ye.spTable__emptyPage]: !0
|
|
4362
4362
|
}), [l, v] = le(null), b = (w) => {
|
|
4363
4363
|
const { text: c, rowIndex: S, colIndex: P } = w;
|
|
@@ -4368,7 +4368,7 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4368
4368
|
});
|
|
4369
4369
|
}, k = () => {
|
|
4370
4370
|
v(null);
|
|
4371
|
-
}, y = () => /* @__PURE__ */
|
|
4371
|
+
}, y = () => /* @__PURE__ */ m("div", { className: u, children: "Данные отсутствуют" }), T = ({
|
|
4372
4372
|
row: w,
|
|
4373
4373
|
col: c
|
|
4374
4374
|
}) => {
|
|
@@ -4377,10 +4377,10 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4377
4377
|
const [P, L] = S.split(/\s*\{\{|}}\s*/).filter(Boolean);
|
|
4378
4378
|
return /* @__PURE__ */ H("span", { children: [
|
|
4379
4379
|
P,
|
|
4380
|
-
L && /* @__PURE__ */
|
|
4380
|
+
L && /* @__PURE__ */ m("span", { className: p, children: ` ${L}` })
|
|
4381
4381
|
] });
|
|
4382
4382
|
}, A = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ H("table", { className: s, children: [
|
|
4383
|
-
/* @__PURE__ */
|
|
4383
|
+
/* @__PURE__ */ m("colgroup", { children: r.map((w, c, S) => /* @__PURE__ */ m(
|
|
4384
4384
|
"col",
|
|
4385
4385
|
{
|
|
4386
4386
|
style: {
|
|
@@ -4389,16 +4389,16 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4389
4389
|
},
|
|
4390
4390
|
c
|
|
4391
4391
|
)) }),
|
|
4392
|
-
/* @__PURE__ */
|
|
4393
|
-
/* @__PURE__ */
|
|
4392
|
+
/* @__PURE__ */ m("thead", { children: /* @__PURE__ */ m("tr", { children: r.map((w, c) => /* @__PURE__ */ m("th", { children: w.title }, c)) }) }),
|
|
4393
|
+
/* @__PURE__ */ m("tbody", { children: o.map((w, c) => w ? /* @__PURE__ */ m("tr", { children: r.map((S, P) => {
|
|
4394
4394
|
const L = (l == null ? void 0 : l.rowIndex) === c && (l == null ? void 0 : l.colIndex) === P;
|
|
4395
|
-
return /* @__PURE__ */
|
|
4395
|
+
return /* @__PURE__ */ m(
|
|
4396
4396
|
"td",
|
|
4397
4397
|
{
|
|
4398
4398
|
onMouseLeave: L ? k : void 0,
|
|
4399
4399
|
children: /* @__PURE__ */ H("div", { className: d, children: [
|
|
4400
|
-
/* @__PURE__ */
|
|
4401
|
-
!po(w[S.key]) && S.isBeCopiedValue && /* @__PURE__ */
|
|
4400
|
+
/* @__PURE__ */ m("span", { children: S.isColorContentsCurlyBrackets ? T({ row: w, col: S }) : w[S.key] }),
|
|
4401
|
+
!po(w[S.key]) && S.isBeCopiedValue && /* @__PURE__ */ m(
|
|
4402
4402
|
be,
|
|
4403
4403
|
{
|
|
4404
4404
|
className: f({
|
|
@@ -4422,13 +4422,13 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4422
4422
|
`${c}:${P}`
|
|
4423
4423
|
);
|
|
4424
4424
|
}) }, c) : null) })
|
|
4425
|
-
] }) : y(), M = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */
|
|
4425
|
+
] }) : y(), M = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ m(
|
|
4426
4426
|
"div",
|
|
4427
4427
|
{
|
|
4428
4428
|
className: f({
|
|
4429
4429
|
[ye.spStringsGroup]: !0
|
|
4430
4430
|
}),
|
|
4431
|
-
children: o.map((w, c) => w ? /* @__PURE__ */
|
|
4431
|
+
children: o.map((w, c) => w ? /* @__PURE__ */ m("div", { children: r.map((S, P) => {
|
|
4432
4432
|
if (po(w[S.key]))
|
|
4433
4433
|
return null;
|
|
4434
4434
|
const L = (l == null ? void 0 : l.rowIndex) === c && (l == null ? void 0 : l.colIndex) === P;
|
|
@@ -4440,7 +4440,7 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4440
4440
|
}),
|
|
4441
4441
|
onMouseLeave: L ? k : void 0,
|
|
4442
4442
|
children: [
|
|
4443
|
-
/* @__PURE__ */
|
|
4443
|
+
/* @__PURE__ */ m(
|
|
4444
4444
|
"div",
|
|
4445
4445
|
{
|
|
4446
4446
|
className: f({
|
|
@@ -4456,8 +4456,8 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4456
4456
|
[ye.spStringsGroup__groupItemContent]: !0
|
|
4457
4457
|
}),
|
|
4458
4458
|
children: [
|
|
4459
|
-
/* @__PURE__ */
|
|
4460
|
-
S.isBeCopiedValue && /* @__PURE__ */
|
|
4459
|
+
/* @__PURE__ */ m("span", { children: S.isColorContentsCurlyBrackets ? T({ row: w, col: S }) : w[S.key] }),
|
|
4460
|
+
S.isBeCopiedValue && /* @__PURE__ */ m(
|
|
4461
4461
|
be,
|
|
4462
4462
|
{
|
|
4463
4463
|
className: f({
|
|
@@ -4521,8 +4521,8 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4521
4521
|
return "p1";
|
|
4522
4522
|
}
|
|
4523
4523
|
};
|
|
4524
|
-
return /* @__PURE__ */
|
|
4525
|
-
const { name: v, active: b, onClick: k, infoTooltipText: y } =
|
|
4524
|
+
return /* @__PURE__ */ m("div", { className: s, children: t.map((u, l) => {
|
|
4525
|
+
const { name: v, active: b, onClick: k, infoTooltipText: y } = u;
|
|
4526
4526
|
return /* @__PURE__ */ H(
|
|
4527
4527
|
"div",
|
|
4528
4528
|
{
|
|
@@ -4532,8 +4532,8 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4532
4532
|
}),
|
|
4533
4533
|
onClick: k,
|
|
4534
4534
|
children: [
|
|
4535
|
-
/* @__PURE__ */
|
|
4536
|
-
!!y && /* @__PURE__ */
|
|
4535
|
+
/* @__PURE__ */ m(Ne, { type: p(), children: v }),
|
|
4536
|
+
!!y && /* @__PURE__ */ m(
|
|
4537
4537
|
Je,
|
|
4538
4538
|
{
|
|
4539
4539
|
classNameTriggerTooltip: d,
|
|
@@ -4543,7 +4543,7 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4543
4543
|
)
|
|
4544
4544
|
]
|
|
4545
4545
|
},
|
|
4546
|
-
|
|
4546
|
+
u.key || l
|
|
4547
4547
|
);
|
|
4548
4548
|
}) });
|
|
4549
4549
|
}, bs = "_spTextWithLabel_1dr7p_1", ys = {
|
|
@@ -4551,8 +4551,8 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4551
4551
|
}, ap = (e) => {
|
|
4552
4552
|
const { children: t, label: o, style: n, ...a } = e;
|
|
4553
4553
|
return /* @__PURE__ */ H("div", { className: ys.spTextWithLabel, style: { ...n }, children: [
|
|
4554
|
-
/* @__PURE__ */
|
|
4555
|
-
/* @__PURE__ */
|
|
4554
|
+
/* @__PURE__ */ m(jt, { label: o }),
|
|
4555
|
+
/* @__PURE__ */ m(Ne, { ...a, children: t })
|
|
4556
4556
|
] });
|
|
4557
4557
|
}, ws = "_spUploadFiles_isuxw_43", ks = "_spUploadFiles_error_isuxw_49", Cs = "_spUploadFiles__control_isuxw_49", Ts = "_spUploadFiles__placeholder_isuxw_57", Ns = "_spUploadFiles__control_loading_isuxw_71", Es = "_shimmer_isuxw_1", Ss = "_spUploadFiles__fileName_isuxw_86", Rs = "_spUploadFiles_fileUploaded_isuxw_118", As = "_spUploadFiles_disabled_isuxw_118", js = "_spUploadFiles__fileNamesList_isuxw_129", Ds = "_spUploadFiles__fileNamesList_loading_isuxw_138", Is = "_spUploadFiles__fileNamesListItem_isuxw_143", Ls = "_spUploadFiles__fileNamesListItem__triggerTooltip_isuxw_162", Fs = "_spUploadFiles__fileNamesListItemDelete_isuxw_165", Os = "_spUploadFiles__tooltipWrapper_isuxw_180", zs = "_spUploadFiles__tooltip_isuxw_180", Ps = "_spUploadFiles__delete_isuxw_186", Bs = "_spUploadFiles__delete_loading_isuxw_190", Ws = "_spUploadFiles__error_isuxw_199", ne = {
|
|
4558
4558
|
spUploadFiles: ws,
|
|
@@ -4587,13 +4587,13 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4587
4587
|
disabled: s,
|
|
4588
4588
|
multiple: d,
|
|
4589
4589
|
maxFiles: p,
|
|
4590
|
-
files:
|
|
4590
|
+
files: u = [],
|
|
4591
4591
|
infoTooltipText: l,
|
|
4592
4592
|
tooltipPosition: v = de.TopRight,
|
|
4593
4593
|
classNameRoot: b,
|
|
4594
4594
|
loading: k,
|
|
4595
4595
|
error: y
|
|
4596
|
-
} = e, T =
|
|
4596
|
+
} = e, T = u.map((ee) => ee.name), A = (T == null ? void 0 : T.length) > 0, M = o === "input", j = f({
|
|
4597
4597
|
[ne.spUploadFiles]: !0,
|
|
4598
4598
|
[ne[`spUploadFiles--variant-${o}`]]: o,
|
|
4599
4599
|
[ne.spUploadFiles_error]: !!y,
|
|
@@ -4613,11 +4613,11 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4613
4613
|
}), P = (ee) => {
|
|
4614
4614
|
if (k)
|
|
4615
4615
|
return;
|
|
4616
|
-
const ae = [...
|
|
4616
|
+
const ae = [...u], se = ae.findIndex((K) => K.name === ee);
|
|
4617
4617
|
ae.splice(se, 1), a(ae, n);
|
|
4618
4618
|
}, L = (ee) => {
|
|
4619
4619
|
ee.stopPropagation(), a([], n);
|
|
4620
|
-
}, Q = () => d ? /* @__PURE__ */
|
|
4620
|
+
}, Q = () => d ? /* @__PURE__ */ m("ul", { className: c, children: T.map((ee, ae) => /* @__PURE__ */ H(
|
|
4621
4621
|
"li",
|
|
4622
4622
|
{
|
|
4623
4623
|
className: ne.spUploadFiles__fileNamesListItem,
|
|
@@ -4625,7 +4625,7 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4625
4625
|
se.stopPropagation(), P(ee);
|
|
4626
4626
|
},
|
|
4627
4627
|
children: [
|
|
4628
|
-
/* @__PURE__ */
|
|
4628
|
+
/* @__PURE__ */ m(
|
|
4629
4629
|
Li,
|
|
4630
4630
|
{
|
|
4631
4631
|
type: "p2",
|
|
@@ -4633,13 +4633,13 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4633
4633
|
classNameTriggerTooltipRoot: ne.spUploadFiles__fileNamesListItem__triggerTooltip
|
|
4634
4634
|
}
|
|
4635
4635
|
),
|
|
4636
|
-
/* @__PURE__ */
|
|
4636
|
+
/* @__PURE__ */ m("div", { className: ne.spUploadFiles__fileNamesListItemDelete, children: /* @__PURE__ */ m(be, { name: ue.Trash }) })
|
|
4637
4637
|
]
|
|
4638
4638
|
},
|
|
4639
4639
|
ae
|
|
4640
|
-
)) }) : /* @__PURE__ */
|
|
4641
|
-
A ? Q() : /* @__PURE__ */
|
|
4642
|
-
A ? /* @__PURE__ */
|
|
4640
|
+
)) }) : /* @__PURE__ */ m(Ne, { isEllipsis: !0, classNameRoot: ne.spUploadFiles__fileName, children: T[0] }), te = () => /* @__PURE__ */ H(lo, { children: [
|
|
4641
|
+
A ? Q() : /* @__PURE__ */ m(Ne, { classNameRoot: ne.spUploadFiles__placeholder, children: t }),
|
|
4642
|
+
A ? /* @__PURE__ */ m("div", { className: S, onClick: L, children: /* @__PURE__ */ m(be, { name: ue.Close }) }) : M && l && /* @__PURE__ */ m(
|
|
4643
4643
|
Je,
|
|
4644
4644
|
{
|
|
4645
4645
|
classNameTooltip: ne.spUploadFiles__tooltipWrapper,
|
|
@@ -4649,11 +4649,11 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4649
4649
|
}
|
|
4650
4650
|
)
|
|
4651
4651
|
] });
|
|
4652
|
-
return /* @__PURE__ */
|
|
4652
|
+
return /* @__PURE__ */ m(
|
|
4653
4653
|
ki,
|
|
4654
4654
|
{
|
|
4655
4655
|
name: n,
|
|
4656
|
-
files:
|
|
4656
|
+
files: u,
|
|
4657
4657
|
multiple: d,
|
|
4658
4658
|
maxSize: i,
|
|
4659
4659
|
maxFiles: p,
|
|
@@ -4662,10 +4662,10 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4662
4662
|
disabled: s || A,
|
|
4663
4663
|
children: /* @__PURE__ */ H("div", { className: j, children: [
|
|
4664
4664
|
/* @__PURE__ */ H("div", { className: w, children: [
|
|
4665
|
-
M && (k ? /* @__PURE__ */
|
|
4665
|
+
M && (k ? /* @__PURE__ */ m(mo, {}) : /* @__PURE__ */ m(be, { name: A ? ue.Check : ue.Upload })),
|
|
4666
4666
|
te()
|
|
4667
4667
|
] }),
|
|
4668
|
-
y && /* @__PURE__ */
|
|
4668
|
+
y && /* @__PURE__ */ m("div", { className: ne.spUploadFiles__error, children: y })
|
|
4669
4669
|
] })
|
|
4670
4670
|
}
|
|
4671
4671
|
);
|