test-stpr-ui-kit 0.4.40 → 0.4.41
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
CHANGED
|
@@ -72,7 +72,7 @@ const ro = "_spAccordion_11ek7_43", so = "_spAccordion_noBorder_11ek7_57", po =
|
|
|
72
72
|
noBorder: r = !1,
|
|
73
73
|
noPadding: s = !1,
|
|
74
74
|
level: u = 1,
|
|
75
|
-
classNameRoot:
|
|
75
|
+
classNameRoot: p,
|
|
76
76
|
classNameHeader: d,
|
|
77
77
|
classNameTitle: l,
|
|
78
78
|
classNameIcon: v,
|
|
@@ -85,7 +85,7 @@ const ro = "_spAccordion_11ek7_43", so = "_spAccordion_noBorder_11ek7_57", po =
|
|
|
85
85
|
[re.spAccordion_noOpen]: !w,
|
|
86
86
|
[re.spAccordion_noBorder]: r,
|
|
87
87
|
[re.spAccordion_noPadding]: s,
|
|
88
|
-
...
|
|
88
|
+
...p && { [p]: !0 }
|
|
89
89
|
}), V = _({
|
|
90
90
|
[re.spAccordion__header]: !0,
|
|
91
91
|
...d && { [d]: !0 }
|
|
@@ -99,7 +99,7 @@ const ro = "_spAccordion_11ek7_43", so = "_spAccordion_noBorder_11ek7_57", po =
|
|
|
99
99
|
[re.spAccordion__icon_open]: w,
|
|
100
100
|
[re.spAccordion__icon_hidden]: a,
|
|
101
101
|
...v && { [v]: !0 }
|
|
102
|
-
}),
|
|
102
|
+
}), c = _({
|
|
103
103
|
[re.spAccordion__childrenWrapper]: !0,
|
|
104
104
|
[re.spAccordion__childrenWrapper_open]: w,
|
|
105
105
|
...y && { [y]: !0 }
|
|
@@ -112,7 +112,7 @@ const ro = "_spAccordion_11ek7_43", so = "_spAccordion_noBorder_11ek7_57", po =
|
|
|
112
112
|
/* @__PURE__ */ m("div", { className: R, children: /* @__PURE__ */ m("span", { onClick: S, children: t }) }),
|
|
113
113
|
/* @__PURE__ */ m(he, { onClick: S, className: k, name: pe.ChevronDown })
|
|
114
114
|
] }),
|
|
115
|
-
/* @__PURE__ */ m("div", { className:
|
|
115
|
+
/* @__PURE__ */ m("div", { className: c, children: /* @__PURE__ */ m("div", { className: E, children: n }) })
|
|
116
116
|
] });
|
|
117
117
|
}, wo = "_spinner_f5rd2_43", ko = "_spinner__inner_f5rd2_53", ct = {
|
|
118
118
|
spinner: wo,
|
|
@@ -158,7 +158,7 @@ const ro = "_spAccordion_11ek7_43", so = "_spAccordion_noBorder_11ek7_57", po =
|
|
|
158
158
|
iconRotate: r = 0,
|
|
159
159
|
disabled: s = !1,
|
|
160
160
|
type: u = "button",
|
|
161
|
-
form:
|
|
161
|
+
form: p,
|
|
162
162
|
children: d,
|
|
163
163
|
loading: l = !1,
|
|
164
164
|
isFullWidth: v = !1,
|
|
@@ -171,12 +171,12 @@ const ro = "_spAccordion_11ek7_43", so = "_spAccordion_noBorder_11ek7_57", po =
|
|
|
171
171
|
}, V = () => {
|
|
172
172
|
const k = _({
|
|
173
173
|
[we.spButton__text]: !0
|
|
174
|
-
}),
|
|
174
|
+
}), c = _({
|
|
175
175
|
[we.spButton__iconContainer]: !0,
|
|
176
176
|
...S && { [S]: !0 }
|
|
177
177
|
});
|
|
178
178
|
return /* @__PURE__ */ H(dn, { children: [
|
|
179
|
-
(i || l) && /* @__PURE__ */ m("div", { className:
|
|
179
|
+
(i || l) && /* @__PURE__ */ m("div", { className: c, children: l ? /* @__PURE__ */ m(Co, { classNameRoot: we.spButton__spinner }) : i && /* @__PURE__ */ m(he, { name: i, rotate: r }) }),
|
|
180
180
|
!y && d && /* @__PURE__ */ m("div", { className: k, children: d })
|
|
181
181
|
] });
|
|
182
182
|
}, R = _({
|
|
@@ -198,7 +198,7 @@ const ro = "_spAccordion_11ek7_43", so = "_spAccordion_noBorder_11ek7_57", po =
|
|
|
198
198
|
onClick: L,
|
|
199
199
|
disabled: s,
|
|
200
200
|
type: u,
|
|
201
|
-
form:
|
|
201
|
+
form: p,
|
|
202
202
|
children: V()
|
|
203
203
|
}
|
|
204
204
|
);
|
|
@@ -220,7 +220,7 @@ const ro = "_spAccordion_11ek7_43", so = "_spAccordion_noBorder_11ek7_57", po =
|
|
|
220
220
|
submitBtnContent: r,
|
|
221
221
|
formId: s,
|
|
222
222
|
disabled: u,
|
|
223
|
-
onClose:
|
|
223
|
+
onClose: p,
|
|
224
224
|
submit: d,
|
|
225
225
|
loading: l
|
|
226
226
|
} = e, v = _({
|
|
@@ -233,7 +233,7 @@ const ro = "_spAccordion_11ek7_43", so = "_spAccordion_noBorder_11ek7_57", po =
|
|
|
233
233
|
[Be.spApplyButtons__cancel]: !0
|
|
234
234
|
});
|
|
235
235
|
return /* @__PURE__ */ H("div", { className: v, children: [
|
|
236
|
-
o && /* @__PURE__ */ m(
|
|
236
|
+
o && p && /* @__PURE__ */ m(
|
|
237
237
|
wt,
|
|
238
238
|
{
|
|
239
239
|
type: "button",
|
|
@@ -241,7 +241,7 @@ const ro = "_spAccordion_11ek7_43", so = "_spAccordion_noBorder_11ek7_57", po =
|
|
|
241
241
|
iconName: a,
|
|
242
242
|
classNameRoot: w,
|
|
243
243
|
disabled: i,
|
|
244
|
-
onClick:
|
|
244
|
+
onClick: p,
|
|
245
245
|
children: o
|
|
246
246
|
}
|
|
247
247
|
),
|
|
@@ -319,7 +319,7 @@ const It = (e) => {
|
|
|
319
319
|
triggerAction: r,
|
|
320
320
|
actionOnClose: s,
|
|
321
321
|
classNameTriggerTooltip: u,
|
|
322
|
-
position:
|
|
322
|
+
position: p = se.BottomLeft,
|
|
323
323
|
text: d,
|
|
324
324
|
noPadding: l,
|
|
325
325
|
classNameTooltip: v,
|
|
@@ -333,7 +333,7 @@ const It = (e) => {
|
|
|
333
333
|
},
|
|
334
334
|
g
|
|
335
335
|
);
|
|
336
|
-
const
|
|
336
|
+
const c = (C) => {
|
|
337
337
|
o && C.stopPropagation(), !t && (g ? s && s() : r && r(), S((M) => n ? !M : !0));
|
|
338
338
|
}, [E, z] = ie({
|
|
339
339
|
visibility: "hidden",
|
|
@@ -343,7 +343,7 @@ const It = (e) => {
|
|
|
343
343
|
if (!L.current || !V.current) return;
|
|
344
344
|
const C = L.current.getBoundingClientRect(), M = V.current.getBoundingClientRect();
|
|
345
345
|
let K = 0, B = 0;
|
|
346
|
-
switch (
|
|
346
|
+
switch (p) {
|
|
347
347
|
case se.Right:
|
|
348
348
|
K = C.top + window.scrollY - (M.height - C.height) / 2, B = C.right + window.scrollX;
|
|
349
349
|
break;
|
|
@@ -383,14 +383,14 @@ const It = (e) => {
|
|
|
383
383
|
default:
|
|
384
384
|
K = C.bottom + window.scrollY, B = C.left + window.scrollX;
|
|
385
385
|
}
|
|
386
|
-
K + M.height > window.innerHeight + window.scrollY &&
|
|
386
|
+
K + M.height > window.innerHeight + window.scrollY && p.includes("bottom") ? K = C.top + window.scrollY - M.height : K < window.scrollY && p.includes("top") && (K = C.bottom + window.scrollY), B + M.width > window.innerWidth + window.scrollX && p.includes("left") ? B = C.left + window.scrollX - M.width + C.width : B < window.scrollX && p.includes("right") && (B = C.right + window.scrollX - C.width), z((f) => ({
|
|
387
387
|
...f,
|
|
388
388
|
top: `${K}px`,
|
|
389
389
|
left: `${B}px`,
|
|
390
390
|
visibility: g || D ? "visible" : "hidden",
|
|
391
391
|
opacity: g || D ? 1 : 0
|
|
392
392
|
}));
|
|
393
|
-
}, [
|
|
393
|
+
}, [p, g, D]);
|
|
394
394
|
ne(() => (k(!0), () => k(!1)), []), ne(() => {
|
|
395
395
|
R && oe();
|
|
396
396
|
}, [R, oe]), ne(() => {
|
|
@@ -415,7 +415,7 @@ const It = (e) => {
|
|
|
415
415
|
"div",
|
|
416
416
|
{
|
|
417
417
|
className: me,
|
|
418
|
-
onClick:
|
|
418
|
+
onClick: c,
|
|
419
419
|
onMouseEnter: () => t && J(!0),
|
|
420
420
|
onMouseLeave: () => t && J(!1),
|
|
421
421
|
children: [
|
|
@@ -457,7 +457,7 @@ const It = (e) => {
|
|
|
457
457
|
label: r,
|
|
458
458
|
error: s,
|
|
459
459
|
value: u,
|
|
460
|
-
required:
|
|
460
|
+
required: p,
|
|
461
461
|
tooltipPosition: d,
|
|
462
462
|
infoTooltipText: l,
|
|
463
463
|
onMouseEnter: v,
|
|
@@ -481,7 +481,7 @@ const It = (e) => {
|
|
|
481
481
|
}), k = _({
|
|
482
482
|
[ke.spCheckbox__error]: !0,
|
|
483
483
|
...w && { [w]: !0 }
|
|
484
|
-
}),
|
|
484
|
+
}), c = _({
|
|
485
485
|
[ke.spCheckbox__tooltip]: !0
|
|
486
486
|
});
|
|
487
487
|
return /* @__PURE__ */ H("div", { className: g, onMouseEnter: v, children: [
|
|
@@ -498,8 +498,8 @@ const It = (e) => {
|
|
|
498
498
|
}
|
|
499
499
|
),
|
|
500
500
|
r && /* @__PURE__ */ m("span", { className: V, children: r }),
|
|
501
|
-
|
|
502
|
-
l && /* @__PURE__ */ m("div", { className:
|
|
501
|
+
p && /* @__PURE__ */ m("div", { className: R, children: "*" }),
|
|
502
|
+
l && /* @__PURE__ */ m("div", { className: c, children: /* @__PURE__ */ m(Je, { position: d, text: l }) })
|
|
503
503
|
] }),
|
|
504
504
|
s && /* @__PURE__ */ m("div", { className: k, children: s })
|
|
505
505
|
] });
|
|
@@ -549,10 +549,10 @@ const It = (e) => {
|
|
|
549
549
|
style: r,
|
|
550
550
|
onClick: s,
|
|
551
551
|
isEllipsis: u = !1,
|
|
552
|
-
isCursorPointer:
|
|
552
|
+
isCursorPointer: p = !1,
|
|
553
553
|
isCursorPointerByOnClick: d = !0,
|
|
554
554
|
classNameRoot: l
|
|
555
|
-
} = e, v = () => s && d ? !0 :
|
|
555
|
+
} = e, v = () => s && d ? !0 : p, y = _({
|
|
556
556
|
[Ye.spText]: !0,
|
|
557
557
|
[Ye.spText_ellipsis]: u,
|
|
558
558
|
[Ye.spText_cursorPointer]: v(),
|
|
@@ -599,7 +599,7 @@ const ca = "_modalWrapper_awlzb_43", la = "_modalWrapper__modal_awlzb_63", da =
|
|
|
599
599
|
classNameRoot: r,
|
|
600
600
|
style: s,
|
|
601
601
|
modalAlign: u = "top",
|
|
602
|
-
textAlign:
|
|
602
|
+
textAlign: p = "left",
|
|
603
603
|
onClose: d,
|
|
604
604
|
header: l,
|
|
605
605
|
subHeader: v,
|
|
@@ -608,7 +608,7 @@ const ca = "_modalWrapper_awlzb_43", la = "_modalWrapper__modal_awlzb_63", da =
|
|
|
608
608
|
} = e, g = _({
|
|
609
609
|
[be.modalWrapper]: !0,
|
|
610
610
|
[be[`modalWrapper--modalAlign-${u}`]]: u,
|
|
611
|
-
[be[`modalWrapper--textAlign-${
|
|
611
|
+
[be[`modalWrapper--textAlign-${p}`]]: p
|
|
612
612
|
}), S = _({
|
|
613
613
|
[be.modalWrapper__modal]: !0,
|
|
614
614
|
[be[`modalWrapper__modal--size-${w}`]]: w,
|
|
@@ -621,7 +621,7 @@ const ca = "_modalWrapper_awlzb_43", la = "_modalWrapper__modal_awlzb_63", da =
|
|
|
621
621
|
[be.modalWrapper__content]: !0
|
|
622
622
|
}), k = _({
|
|
623
623
|
[be.modalWrapper__header]: !0
|
|
624
|
-
}),
|
|
624
|
+
}), c = _({
|
|
625
625
|
[be.modalWrapper__subHeader]: !0,
|
|
626
626
|
[be.modalWrapper__subHeader_onlySubHeader]: !l
|
|
627
627
|
}), E = _({
|
|
@@ -635,7 +635,7 @@ const ca = "_modalWrapper_awlzb_43", la = "_modalWrapper__modal_awlzb_63", da =
|
|
|
635
635
|
}, []), /* @__PURE__ */ m(ia, { zIndex: t, isHiddenModal: n, classNameRoot: i, children: /* @__PURE__ */ m("div", { className: g, children: /* @__PURE__ */ H("div", { className: S, style: s, children: [
|
|
636
636
|
(l || v) && /* @__PURE__ */ H("div", { className: k, children: [
|
|
637
637
|
typeof l == "string" ? /* @__PURE__ */ m(Ee, { type: "h3", children: l }) : l,
|
|
638
|
-
v && /* @__PURE__ */ m("div", { className:
|
|
638
|
+
v && /* @__PURE__ */ m("div", { className: c, children: typeof v == "string" ? /* @__PURE__ */ m(Ee, { children: v }) : v })
|
|
639
639
|
] }),
|
|
640
640
|
a && /* @__PURE__ */ m("div", { className: R, children: a }),
|
|
641
641
|
y && /* @__PURE__ */ m("div", { className: E, children: y }),
|
|
@@ -662,7 +662,7 @@ const ca = "_modalWrapper_awlzb_43", la = "_modalWrapper__modal_awlzb_63", da =
|
|
|
662
662
|
cancelBtnIconName: r,
|
|
663
663
|
submitBtnContent: s,
|
|
664
664
|
submit: u,
|
|
665
|
-
disabled:
|
|
665
|
+
disabled: p,
|
|
666
666
|
formId: d,
|
|
667
667
|
onClose: l,
|
|
668
668
|
mobile: v = "column",
|
|
@@ -696,7 +696,7 @@ const ca = "_modalWrapper_awlzb_43", la = "_modalWrapper__modal_awlzb_63", da =
|
|
|
696
696
|
cancelBtnDisabled: i,
|
|
697
697
|
submitBtnContent: s,
|
|
698
698
|
formId: d,
|
|
699
|
-
disabled:
|
|
699
|
+
disabled: p,
|
|
700
700
|
onClose: l,
|
|
701
701
|
submit: u,
|
|
702
702
|
loading: S
|
|
@@ -750,28 +750,28 @@ var zt;
|
|
|
750
750
|
function wa() {
|
|
751
751
|
if (zt) return U;
|
|
752
752
|
zt = 1;
|
|
753
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111,
|
|
754
|
-
function R(
|
|
755
|
-
if (typeof
|
|
756
|
-
var E =
|
|
753
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, l = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, y = e ? Symbol.for("react.memo") : 60115, w = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, S = e ? Symbol.for("react.fundamental") : 60117, L = e ? Symbol.for("react.responder") : 60118, V = e ? Symbol.for("react.scope") : 60119;
|
|
754
|
+
function R(c) {
|
|
755
|
+
if (typeof c == "object" && c !== null) {
|
|
756
|
+
var E = c.$$typeof;
|
|
757
757
|
switch (E) {
|
|
758
758
|
case t:
|
|
759
|
-
switch (
|
|
759
|
+
switch (c = c.type, c) {
|
|
760
760
|
case u:
|
|
761
|
-
case
|
|
761
|
+
case p:
|
|
762
762
|
case o:
|
|
763
763
|
case i:
|
|
764
764
|
case a:
|
|
765
765
|
case l:
|
|
766
|
-
return
|
|
766
|
+
return c;
|
|
767
767
|
default:
|
|
768
|
-
switch (
|
|
768
|
+
switch (c = c && c.$$typeof, c) {
|
|
769
769
|
case s:
|
|
770
770
|
case d:
|
|
771
771
|
case w:
|
|
772
772
|
case y:
|
|
773
773
|
case r:
|
|
774
|
-
return
|
|
774
|
+
return c;
|
|
775
775
|
default:
|
|
776
776
|
return E;
|
|
777
777
|
}
|
|
@@ -781,35 +781,35 @@ function wa() {
|
|
|
781
781
|
}
|
|
782
782
|
}
|
|
783
783
|
}
|
|
784
|
-
function k(
|
|
785
|
-
return R(
|
|
784
|
+
function k(c) {
|
|
785
|
+
return R(c) === p;
|
|
786
786
|
}
|
|
787
|
-
return U.AsyncMode = u, U.ConcurrentMode =
|
|
788
|
-
return k(
|
|
789
|
-
}, U.isConcurrentMode = k, U.isContextConsumer = function(
|
|
790
|
-
return R(
|
|
791
|
-
}, U.isContextProvider = function(
|
|
792
|
-
return R(
|
|
793
|
-
}, U.isElement = function(
|
|
794
|
-
return typeof
|
|
795
|
-
}, U.isForwardRef = function(
|
|
796
|
-
return R(
|
|
797
|
-
}, U.isFragment = function(
|
|
798
|
-
return R(
|
|
799
|
-
}, U.isLazy = function(
|
|
800
|
-
return R(
|
|
801
|
-
}, U.isMemo = function(
|
|
802
|
-
return R(
|
|
803
|
-
}, U.isPortal = function(
|
|
804
|
-
return R(
|
|
805
|
-
}, U.isProfiler = function(
|
|
806
|
-
return R(
|
|
807
|
-
}, U.isStrictMode = function(
|
|
808
|
-
return R(
|
|
809
|
-
}, U.isSuspense = function(
|
|
810
|
-
return R(
|
|
811
|
-
}, U.isValidElementType = function(
|
|
812
|
-
return typeof
|
|
787
|
+
return U.AsyncMode = u, U.ConcurrentMode = p, U.ContextConsumer = s, U.ContextProvider = r, U.Element = t, U.ForwardRef = d, U.Fragment = o, U.Lazy = w, U.Memo = y, U.Portal = n, U.Profiler = i, U.StrictMode = a, U.Suspense = l, U.isAsyncMode = function(c) {
|
|
788
|
+
return k(c) || R(c) === u;
|
|
789
|
+
}, U.isConcurrentMode = k, U.isContextConsumer = function(c) {
|
|
790
|
+
return R(c) === s;
|
|
791
|
+
}, U.isContextProvider = function(c) {
|
|
792
|
+
return R(c) === r;
|
|
793
|
+
}, U.isElement = function(c) {
|
|
794
|
+
return typeof c == "object" && c !== null && c.$$typeof === t;
|
|
795
|
+
}, U.isForwardRef = function(c) {
|
|
796
|
+
return R(c) === d;
|
|
797
|
+
}, U.isFragment = function(c) {
|
|
798
|
+
return R(c) === o;
|
|
799
|
+
}, U.isLazy = function(c) {
|
|
800
|
+
return R(c) === w;
|
|
801
|
+
}, U.isMemo = function(c) {
|
|
802
|
+
return R(c) === y;
|
|
803
|
+
}, U.isPortal = function(c) {
|
|
804
|
+
return R(c) === n;
|
|
805
|
+
}, U.isProfiler = function(c) {
|
|
806
|
+
return R(c) === i;
|
|
807
|
+
}, U.isStrictMode = function(c) {
|
|
808
|
+
return R(c) === a;
|
|
809
|
+
}, U.isSuspense = function(c) {
|
|
810
|
+
return R(c) === l;
|
|
811
|
+
}, U.isValidElementType = function(c) {
|
|
812
|
+
return typeof c == "string" || typeof c == "function" || c === o || c === p || c === i || c === a || c === l || c === v || typeof c == "object" && c !== null && (c.$$typeof === w || c.$$typeof === y || c.$$typeof === r || c.$$typeof === s || c.$$typeof === d || c.$$typeof === S || c.$$typeof === L || c.$$typeof === V || c.$$typeof === g);
|
|
813
813
|
}, U.typeOf = R, U;
|
|
814
814
|
}
|
|
815
815
|
var G = {};
|
|
@@ -824,10 +824,10 @@ var G = {};
|
|
|
824
824
|
var Pt;
|
|
825
825
|
function ka() {
|
|
826
826
|
return Pt || (Pt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
827
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111,
|
|
827
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, l = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, y = e ? Symbol.for("react.memo") : 60115, w = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, S = e ? Symbol.for("react.fundamental") : 60117, L = e ? Symbol.for("react.responder") : 60118, V = e ? Symbol.for("react.scope") : 60119;
|
|
828
828
|
function R(x) {
|
|
829
829
|
return typeof x == "string" || typeof x == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
830
|
-
x === o || x ===
|
|
830
|
+
x === o || x === p || x === i || x === a || x === l || x === v || typeof x == "object" && x !== null && (x.$$typeof === w || x.$$typeof === y || x.$$typeof === r || x.$$typeof === s || x.$$typeof === d || x.$$typeof === S || x.$$typeof === L || x.$$typeof === V || x.$$typeof === g);
|
|
831
831
|
}
|
|
832
832
|
function k(x) {
|
|
833
833
|
if (typeof x == "object" && x !== null) {
|
|
@@ -837,7 +837,7 @@ function ka() {
|
|
|
837
837
|
var Ne = x.type;
|
|
838
838
|
switch (Ne) {
|
|
839
839
|
case u:
|
|
840
|
-
case
|
|
840
|
+
case p:
|
|
841
841
|
case o:
|
|
842
842
|
case i:
|
|
843
843
|
case a:
|
|
@@ -861,12 +861,12 @@ function ka() {
|
|
|
861
861
|
}
|
|
862
862
|
}
|
|
863
863
|
}
|
|
864
|
-
var
|
|
864
|
+
var c = u, E = p, z = s, D = r, J = t, oe = d, me = o, fe = w, le = y, X = n, Z = i, C = a, M = l, K = !1;
|
|
865
865
|
function B(x) {
|
|
866
866
|
return K || (K = !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.")), f(x) || k(x) === u;
|
|
867
867
|
}
|
|
868
868
|
function f(x) {
|
|
869
|
-
return k(x) ===
|
|
869
|
+
return k(x) === p;
|
|
870
870
|
}
|
|
871
871
|
function b(x) {
|
|
872
872
|
return k(x) === s;
|
|
@@ -901,7 +901,7 @@ function ka() {
|
|
|
901
901
|
function te(x) {
|
|
902
902
|
return k(x) === l;
|
|
903
903
|
}
|
|
904
|
-
G.AsyncMode =
|
|
904
|
+
G.AsyncMode = c, G.ConcurrentMode = E, G.ContextConsumer = z, G.ContextProvider = D, G.Element = J, G.ForwardRef = oe, G.Fragment = me, G.Lazy = fe, G.Memo = le, G.Portal = X, G.Profiler = Z, G.StrictMode = C, G.Suspense = M, G.isAsyncMode = B, G.isConcurrentMode = f, G.isContextConsumer = b, G.isContextProvider = O, G.isElement = P, G.isForwardRef = A, G.isFragment = $, G.isLazy = j, G.isMemo = F, G.isPortal = q, G.isProfiler = Y, G.isStrictMode = W, G.isSuspense = te, G.isValidElementType = R, G.typeOf = k;
|
|
905
905
|
}()), G;
|
|
906
906
|
}
|
|
907
907
|
var Ft;
|
|
@@ -937,23 +937,23 @@ function Ca() {
|
|
|
937
937
|
});
|
|
938
938
|
if (u.join("") !== "0123456789")
|
|
939
939
|
return !1;
|
|
940
|
-
var
|
|
940
|
+
var p = {};
|
|
941
941
|
return "abcdefghijklmnopqrst".split("").forEach(function(d) {
|
|
942
|
-
|
|
943
|
-
}), Object.keys(Object.assign({},
|
|
942
|
+
p[d] = d;
|
|
943
|
+
}), Object.keys(Object.assign({}, p)).join("") === "abcdefghijklmnopqrst";
|
|
944
944
|
} catch {
|
|
945
945
|
return !1;
|
|
946
946
|
}
|
|
947
947
|
}
|
|
948
948
|
return ut = a() ? Object.assign : function(i, r) {
|
|
949
|
-
for (var s, u = o(i),
|
|
949
|
+
for (var s, u = o(i), p, d = 1; d < arguments.length; d++) {
|
|
950
950
|
s = Object(arguments[d]);
|
|
951
951
|
for (var l in s)
|
|
952
952
|
t.call(s, l) && (u[l] = s[l]);
|
|
953
953
|
if (e) {
|
|
954
|
-
|
|
955
|
-
for (var v = 0; v <
|
|
956
|
-
n.call(s,
|
|
954
|
+
p = e(s);
|
|
955
|
+
for (var v = 0; v < p.length; v++)
|
|
956
|
+
n.call(s, p[v]) && (u[p[v]] = s[p[v]]);
|
|
957
957
|
}
|
|
958
958
|
}
|
|
959
959
|
return u;
|
|
@@ -987,7 +987,7 @@ function Ta() {
|
|
|
987
987
|
}
|
|
988
988
|
};
|
|
989
989
|
}
|
|
990
|
-
function a(i, r, s, u,
|
|
990
|
+
function a(i, r, s, u, p) {
|
|
991
991
|
if (process.env.NODE_ENV !== "production") {
|
|
992
992
|
for (var d in i)
|
|
993
993
|
if (o(i, d)) {
|
|
@@ -1007,7 +1007,7 @@ function Ta() {
|
|
|
1007
1007
|
(u || "React class") + ": type specification of " + s + " `" + d + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof l + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
1008
1008
|
), l instanceof Error && !(l.message in n)) {
|
|
1009
1009
|
n[l.message] = !0;
|
|
1010
|
-
var y =
|
|
1010
|
+
var y = p ? p() : "";
|
|
1011
1011
|
e(
|
|
1012
1012
|
"Failed " + s + " type: " + l.message + (y ?? "")
|
|
1013
1013
|
);
|
|
@@ -1037,9 +1037,9 @@ function Ea() {
|
|
|
1037
1037
|
return null;
|
|
1038
1038
|
}
|
|
1039
1039
|
return vt = function(s, u) {
|
|
1040
|
-
var
|
|
1040
|
+
var p = typeof Symbol == "function" && Symbol.iterator, d = "@@iterator";
|
|
1041
1041
|
function l(f) {
|
|
1042
|
-
var b = f && (
|
|
1042
|
+
var b = f && (p && f[p] || f[d]);
|
|
1043
1043
|
if (typeof b == "function")
|
|
1044
1044
|
return b;
|
|
1045
1045
|
}
|
|
@@ -1055,7 +1055,7 @@ function Ea() {
|
|
|
1055
1055
|
any: V(),
|
|
1056
1056
|
arrayOf: R,
|
|
1057
1057
|
element: k(),
|
|
1058
|
-
elementType:
|
|
1058
|
+
elementType: c(),
|
|
1059
1059
|
instanceOf: E,
|
|
1060
1060
|
node: oe(),
|
|
1061
1061
|
objectOf: D,
|
|
@@ -1140,7 +1140,7 @@ function Ea() {
|
|
|
1140
1140
|
}
|
|
1141
1141
|
return S(f);
|
|
1142
1142
|
}
|
|
1143
|
-
function
|
|
1143
|
+
function c() {
|
|
1144
1144
|
function f(b, O, P, A, $) {
|
|
1145
1145
|
var j = b[O];
|
|
1146
1146
|
if (!e.isValidElementType(j)) {
|
|
@@ -1350,7 +1350,7 @@ function Sa() {
|
|
|
1350
1350
|
function n() {
|
|
1351
1351
|
}
|
|
1352
1352
|
return n.resetWarningCache = t, xt = function() {
|
|
1353
|
-
function o(r, s, u,
|
|
1353
|
+
function o(r, s, u, p, d, l) {
|
|
1354
1354
|
if (l !== e) {
|
|
1355
1355
|
var v = new Error(
|
|
1356
1356
|
"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"
|
|
@@ -1404,22 +1404,22 @@ function je(e, t, n, o) {
|
|
|
1404
1404
|
return new (n || (n = Promise))(function(i, r) {
|
|
1405
1405
|
function s(d) {
|
|
1406
1406
|
try {
|
|
1407
|
-
|
|
1407
|
+
p(o.next(d));
|
|
1408
1408
|
} catch (l) {
|
|
1409
1409
|
r(l);
|
|
1410
1410
|
}
|
|
1411
1411
|
}
|
|
1412
1412
|
function u(d) {
|
|
1413
1413
|
try {
|
|
1414
|
-
|
|
1414
|
+
p(o.throw(d));
|
|
1415
1415
|
} catch (l) {
|
|
1416
1416
|
r(l);
|
|
1417
1417
|
}
|
|
1418
1418
|
}
|
|
1419
|
-
function
|
|
1419
|
+
function p(d) {
|
|
1420
1420
|
d.done ? i(d.value) : a(d.value).then(s, u);
|
|
1421
1421
|
}
|
|
1422
|
-
|
|
1422
|
+
p((o = o.apply(e, t || [])).next());
|
|
1423
1423
|
});
|
|
1424
1424
|
}
|
|
1425
1425
|
const Ra = /* @__PURE__ */ new Map([
|
|
@@ -2908,7 +2908,7 @@ function Re(e) {
|
|
|
2908
2908
|
function ni(e) {
|
|
2909
2909
|
var t = e.files, n = e.accept, o = e.minSize, a = e.maxSize, i = e.multiple, r = e.maxFiles, s = e.validator;
|
|
2910
2910
|
return !i && t.length > 1 || i && r >= 1 && t.length > r ? !1 : t.every(function(u) {
|
|
2911
|
-
var
|
|
2911
|
+
var p = Cn(u, n), d = Me(p, 1), l = d[0], v = Tn(u, o, a), y = Me(v, 1), w = y[0], g = s ? s(u) : null;
|
|
2912
2912
|
return l && w && !g;
|
|
2913
2913
|
});
|
|
2914
2914
|
}
|
|
@@ -3289,7 +3289,7 @@ var Nt = {
|
|
|
3289
3289
|
fileRejections: []
|
|
3290
3290
|
};
|
|
3291
3291
|
function ki() {
|
|
3292
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = Q(Q({}, In), e), n = t.accept, o = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, u = t.maxFiles,
|
|
3292
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = Q(Q({}, In), e), n = t.accept, o = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, u = t.maxFiles, p = t.onDragEnter, d = t.onDragLeave, l = t.onDragOver, v = t.onDrop, y = t.onDropAccepted, w = t.onDropRejected, g = t.onFileDialogCancel, S = t.onFileDialogOpen, L = t.useFsAccessApi, V = t.autoFocus, R = t.preventDropOnDocument, k = t.noClick, c = t.noKeyboard, E = t.noDrag, z = t.noDragEventsBubbling, D = t.onError, J = t.validator, oe = Oe(function() {
|
|
3293
3293
|
return pi(n);
|
|
3294
3294
|
}, [n]), me = Oe(function() {
|
|
3295
3295
|
return si(n);
|
|
@@ -3342,12 +3342,12 @@ function ki() {
|
|
|
3342
3342
|
isDragReject: ve,
|
|
3343
3343
|
isDragActive: !0,
|
|
3344
3344
|
type: "setDraggedFiles"
|
|
3345
|
-
}),
|
|
3345
|
+
}), p && p(h);
|
|
3346
3346
|
}
|
|
3347
3347
|
}).catch(function(I) {
|
|
3348
3348
|
return j(I);
|
|
3349
3349
|
});
|
|
3350
|
-
}, [a,
|
|
3350
|
+
}, [a, p, j, z, oe, r, i, s, u, J]), q = de(function(h) {
|
|
3351
3351
|
h.preventDefault(), h.persist(), He(h);
|
|
3352
3352
|
var I = Ge(h);
|
|
3353
3353
|
if (I && h.dataTransfer)
|
|
@@ -3441,7 +3441,7 @@ function ki() {
|
|
|
3441
3441
|
}, [k, x]), De = function(I) {
|
|
3442
3442
|
return o ? null : I;
|
|
3443
3443
|
}, tt = function(I) {
|
|
3444
|
-
return
|
|
3444
|
+
return c ? null : De(I);
|
|
3445
3445
|
}, qe = function(I) {
|
|
3446
3446
|
return E ? null : De(I);
|
|
3447
3447
|
}, He = function(I) {
|
|
@@ -3459,11 +3459,11 @@ function ki() {
|
|
|
3459
3459
|
onDragLeave: qe(Ce(Ve, Y)),
|
|
3460
3460
|
onDrop: qe(Ce(it, te)),
|
|
3461
3461
|
role: typeof ae == "string" && ae !== "" ? ae : "presentation"
|
|
3462
|
-
}, ee, X), !o && !
|
|
3462
|
+
}, ee, X), !o && !c ? {
|
|
3463
3463
|
tabIndex: 0
|
|
3464
3464
|
} : {}), rt);
|
|
3465
3465
|
};
|
|
3466
|
-
}, [X, _e, Ne, Pe, Dt, F, q, Y, te,
|
|
3466
|
+
}, [X, _e, Ne, Pe, Dt, F, q, Y, te, c, E, o]), On = de(function(h) {
|
|
3467
3467
|
h.stopPropagation();
|
|
3468
3468
|
}, []), zn = Oe(function() {
|
|
3469
3469
|
return function() {
|
|
@@ -3547,21 +3547,21 @@ const Ti = (e) => {
|
|
|
3547
3547
|
name: r,
|
|
3548
3548
|
multiple: s,
|
|
3549
3549
|
maxFiles: u,
|
|
3550
|
-
files:
|
|
3550
|
+
files: p = []
|
|
3551
3551
|
} = e, d = de(
|
|
3552
3552
|
(l) => {
|
|
3553
3553
|
if (!s) {
|
|
3554
3554
|
t(l, r);
|
|
3555
3555
|
return;
|
|
3556
3556
|
}
|
|
3557
|
-
const v = [...
|
|
3557
|
+
const v = [...p, ...l];
|
|
3558
3558
|
if (u && v.length > u) {
|
|
3559
3559
|
console.log(`Максимальное возможное количество файлов для загрузки - ${u}`), t(v.slice(0, u), r);
|
|
3560
3560
|
return;
|
|
3561
3561
|
}
|
|
3562
3562
|
t(v, r);
|
|
3563
3563
|
},
|
|
3564
|
-
[
|
|
3564
|
+
[p, u, s, r, t]
|
|
3565
3565
|
);
|
|
3566
3566
|
return /* @__PURE__ */ m(et, { multiple: s, onDrop: d, maxSize: o, accept: a, children: ({ getRootProps: l, getInputProps: v }) => /* @__PURE__ */ H("div", { ...l({}), children: [
|
|
3567
3567
|
/* @__PURE__ */ m("input", { ...v({}), disabled: i, name: r }),
|
|
@@ -3590,7 +3590,7 @@ const Ti = (e) => {
|
|
|
3590
3590
|
[Se.spDropdown__labelText]: !0
|
|
3591
3591
|
}), u = _({
|
|
3592
3592
|
[Se.spDropdown__tooltipContainer]: !0
|
|
3593
|
-
}),
|
|
3593
|
+
}), p = _({
|
|
3594
3594
|
[Se.spDropdown__dropdownList]: !0
|
|
3595
3595
|
}), d = _({
|
|
3596
3596
|
[Se.spDropdown__dropdownListHeader]: !0
|
|
@@ -3603,7 +3603,7 @@ const Ti = (e) => {
|
|
|
3603
3603
|
hover: !1,
|
|
3604
3604
|
triggerAction: () => y(!0),
|
|
3605
3605
|
actionOnClose: () => y(!1),
|
|
3606
|
-
text: /* @__PURE__ */ H("div", { className:
|
|
3606
|
+
text: /* @__PURE__ */ H("div", { className: p, children: [
|
|
3607
3607
|
n && /* @__PURE__ */ m("div", { className: d, children: n }),
|
|
3608
3608
|
o.map((g, S) => /* @__PURE__ */ H(
|
|
3609
3609
|
"div",
|
|
@@ -3643,7 +3643,7 @@ const Ti = (e) => {
|
|
|
3643
3643
|
classNameBaseTooltipContentRoot: i,
|
|
3644
3644
|
classNameBaseTooltipRoot: r,
|
|
3645
3645
|
...s
|
|
3646
|
-
} = e, u = ue(null), [
|
|
3646
|
+
} = e, u = ue(null), [p, d] = ie(!1);
|
|
3647
3647
|
ne(() => {
|
|
3648
3648
|
u.current && d(u.current.scrollWidth > u.current.clientWidth);
|
|
3649
3649
|
}, [t]);
|
|
@@ -3663,7 +3663,7 @@ const Ti = (e) => {
|
|
|
3663
3663
|
classNameTriggerTooltip: y,
|
|
3664
3664
|
classNameBaseTooltipContentRoot: i,
|
|
3665
3665
|
classNameBaseTooltipRoot: r,
|
|
3666
|
-
isVisibleTooltip:
|
|
3666
|
+
isVisibleTooltip: p,
|
|
3667
3667
|
text: t,
|
|
3668
3668
|
trigger: /* @__PURE__ */ m(Ee, { ...s, classNameRoot: l, isEllipsis: !0, ref: u, children: t })
|
|
3669
3669
|
}
|
|
@@ -3684,7 +3684,7 @@ const Ti = (e) => {
|
|
|
3684
3684
|
fullWidth: r = !0,
|
|
3685
3685
|
classNameRoot: s,
|
|
3686
3686
|
...u
|
|
3687
|
-
} = e,
|
|
3687
|
+
} = e, p = _({
|
|
3688
3688
|
[We.spForm]: !0,
|
|
3689
3689
|
[We.spForm_fullWidth]: r,
|
|
3690
3690
|
[We.spForm_addMargin]: a,
|
|
@@ -3694,7 +3694,7 @@ const Ti = (e) => {
|
|
|
3694
3694
|
});
|
|
3695
3695
|
return /* @__PURE__ */ m("form", { ...u, onSubmit: (l) => {
|
|
3696
3696
|
l.preventDefault(), o && o();
|
|
3697
|
-
}, className:
|
|
3697
|
+
}, className: p, children: n });
|
|
3698
3698
|
}, Wi = "_spLabel_g0hfy_43", Mi = "_spLabel__text_g0hfy_52", $i = "_spLabel__tooltip_g0hfy_62", qi = "_spLabel__required_g0hfy_67", Ke = {
|
|
3699
3699
|
spLabel: Wi,
|
|
3700
3700
|
spLabel__text: Mi,
|
|
@@ -3713,14 +3713,14 @@ const Ti = (e) => {
|
|
|
3713
3713
|
...i && { [i]: !0 }
|
|
3714
3714
|
}), u = _({
|
|
3715
3715
|
[Ke.spLabel__text]: !0
|
|
3716
|
-
}),
|
|
3716
|
+
}), p = _({
|
|
3717
3717
|
[Ke.spLabel__required]: t
|
|
3718
3718
|
}), d = _({
|
|
3719
3719
|
[Ke.spLabel__tooltip]: !0
|
|
3720
3720
|
});
|
|
3721
3721
|
return /* @__PURE__ */ H("div", { className: s, children: [
|
|
3722
3722
|
/* @__PURE__ */ m("label", { className: u, children: n }),
|
|
3723
|
-
t && /* @__PURE__ */ m("div", { className:
|
|
3723
|
+
t && /* @__PURE__ */ m("div", { className: p, children: "*" }),
|
|
3724
3724
|
o && /* @__PURE__ */ m("div", { className: d, children: /* @__PURE__ */ m(
|
|
3725
3725
|
Je,
|
|
3726
3726
|
{
|
|
@@ -3750,7 +3750,7 @@ const Ti = (e) => {
|
|
|
3750
3750
|
disabled: r = !1,
|
|
3751
3751
|
error: s,
|
|
3752
3752
|
required: u,
|
|
3753
|
-
name:
|
|
3753
|
+
name: p,
|
|
3754
3754
|
isClearable: d,
|
|
3755
3755
|
pattern: l,
|
|
3756
3756
|
onMouseEnter: v,
|
|
@@ -3762,7 +3762,7 @@ const Ti = (e) => {
|
|
|
3762
3762
|
classNameError: V,
|
|
3763
3763
|
classNameLabel: R,
|
|
3764
3764
|
classNameBaseTooltipRoot: k,
|
|
3765
|
-
...
|
|
3765
|
+
...c
|
|
3766
3766
|
} = e, E = _({
|
|
3767
3767
|
[Te.spInput]: !0,
|
|
3768
3768
|
[Te.spInput_error]: !!s,
|
|
@@ -3782,7 +3782,7 @@ const Ti = (e) => {
|
|
|
3782
3782
|
}), me = _({
|
|
3783
3783
|
...R && { [R]: !0 }
|
|
3784
3784
|
}), fe = (Z) => {
|
|
3785
|
-
o(Z, { name:
|
|
3785
|
+
o(Z, { name: p, value: "" });
|
|
3786
3786
|
}, le = (Z) => {
|
|
3787
3787
|
const { value: C, name: M } = Z.target;
|
|
3788
3788
|
l && C && !new RegExp(l).test(C) || o(Z, { value: C, name: M });
|
|
@@ -3803,13 +3803,13 @@ const Ti = (e) => {
|
|
|
3803
3803
|
/* @__PURE__ */ m(
|
|
3804
3804
|
"input",
|
|
3805
3805
|
{
|
|
3806
|
-
...
|
|
3806
|
+
...c,
|
|
3807
3807
|
placeholder: S,
|
|
3808
3808
|
disabled: r,
|
|
3809
3809
|
onChange: le,
|
|
3810
3810
|
title: g ? n : void 0,
|
|
3811
3811
|
value: n,
|
|
3812
|
-
name:
|
|
3812
|
+
name: p,
|
|
3813
3813
|
className: D,
|
|
3814
3814
|
ref: t
|
|
3815
3815
|
}
|
|
@@ -3844,35 +3844,35 @@ const tr = "_spInputFiles_1ukpx_43", nr = "_spInputFiles_error_1ukpx_48", or = "
|
|
|
3844
3844
|
disabled: r,
|
|
3845
3845
|
multiple: s,
|
|
3846
3846
|
maxFiles: u,
|
|
3847
|
-
files:
|
|
3847
|
+
files: p = [],
|
|
3848
3848
|
infoTooltipText: d,
|
|
3849
3849
|
tooltipPosition: l = se.TopRight,
|
|
3850
3850
|
classNameRoot: v,
|
|
3851
3851
|
error: y
|
|
3852
|
-
} = e, w =
|
|
3852
|
+
} = e, w = p.map((c) => c.name), g = (w == null ? void 0 : w.length) > 0, S = _({
|
|
3853
3853
|
[xe.spInputFiles]: !0,
|
|
3854
3854
|
[xe.spInputFiles_error]: !!y,
|
|
3855
3855
|
[xe.spInputFiles_disabled]: r,
|
|
3856
3856
|
[xe.spInputFiles_fileUploaded]: g,
|
|
3857
3857
|
...v && { [v]: !0 }
|
|
3858
|
-
}), L = (
|
|
3859
|
-
const E = [...
|
|
3858
|
+
}), L = (c) => {
|
|
3859
|
+
const E = [...p], z = E.findIndex((D) => D.name === c);
|
|
3860
3860
|
E.splice(z, 1), o(E, n);
|
|
3861
|
-
}, V = (
|
|
3862
|
-
|
|
3863
|
-
}, R = () => s ? /* @__PURE__ */ m("ul", { className: xe.spInputFiles__fileNamesList, children: w.map((
|
|
3861
|
+
}, V = (c) => {
|
|
3862
|
+
c.stopPropagation(), o([], n);
|
|
3863
|
+
}, R = () => s ? /* @__PURE__ */ m("ul", { className: xe.spInputFiles__fileNamesList, children: w.map((c, E) => /* @__PURE__ */ H(
|
|
3864
3864
|
"li",
|
|
3865
3865
|
{
|
|
3866
3866
|
className: xe.spInputFiles__fileNamesListItem,
|
|
3867
3867
|
onClick: (z) => {
|
|
3868
|
-
z.stopPropagation(), L(
|
|
3868
|
+
z.stopPropagation(), L(c);
|
|
3869
3869
|
},
|
|
3870
3870
|
children: [
|
|
3871
3871
|
/* @__PURE__ */ m(
|
|
3872
3872
|
zi,
|
|
3873
3873
|
{
|
|
3874
3874
|
type: "p2",
|
|
3875
|
-
text:
|
|
3875
|
+
text: c,
|
|
3876
3876
|
classNameTriggerTooltipRoot: xe.spInputFiles__fileNamesListItem__triggerTooltip
|
|
3877
3877
|
}
|
|
3878
3878
|
),
|
|
@@ -3896,7 +3896,7 @@ const tr = "_spInputFiles_1ukpx_43", nr = "_spInputFiles_error_1ukpx_48", or = "
|
|
|
3896
3896
|
Ti,
|
|
3897
3897
|
{
|
|
3898
3898
|
name: n,
|
|
3899
|
-
files:
|
|
3899
|
+
files: p,
|
|
3900
3900
|
multiple: s,
|
|
3901
3901
|
maxSize: a,
|
|
3902
3902
|
maxFiles: u,
|
|
@@ -3929,42 +3929,42 @@ function br(e, t) {
|
|
|
3929
3929
|
if (a && o || !(a || o))
|
|
3930
3930
|
return !1;
|
|
3931
3931
|
var i = n.expressions.every(function(r) {
|
|
3932
|
-
var s = r.feature, u = r.modifier,
|
|
3932
|
+
var s = r.feature, u = r.modifier, p = r.value, d = t[s];
|
|
3933
3933
|
if (!d)
|
|
3934
3934
|
return !1;
|
|
3935
3935
|
switch (s) {
|
|
3936
3936
|
case "orientation":
|
|
3937
3937
|
case "scan":
|
|
3938
|
-
return d.toLowerCase() ===
|
|
3938
|
+
return d.toLowerCase() === p.toLowerCase();
|
|
3939
3939
|
case "width":
|
|
3940
3940
|
case "height":
|
|
3941
3941
|
case "device-width":
|
|
3942
3942
|
case "device-height":
|
|
3943
|
-
|
|
3943
|
+
p = rn(p), d = rn(d);
|
|
3944
3944
|
break;
|
|
3945
3945
|
case "resolution":
|
|
3946
|
-
|
|
3946
|
+
p = an(p), d = an(d);
|
|
3947
3947
|
break;
|
|
3948
3948
|
case "aspect-ratio":
|
|
3949
3949
|
case "device-aspect-ratio":
|
|
3950
3950
|
case /* Deprecated */
|
|
3951
3951
|
"device-pixel-ratio":
|
|
3952
|
-
|
|
3952
|
+
p = on(p), d = on(d);
|
|
3953
3953
|
break;
|
|
3954
3954
|
case "grid":
|
|
3955
3955
|
case "color":
|
|
3956
3956
|
case "color-index":
|
|
3957
3957
|
case "monochrome":
|
|
3958
|
-
|
|
3958
|
+
p = parseInt(p, 10) || 1, d = parseInt(d, 10) || 0;
|
|
3959
3959
|
break;
|
|
3960
3960
|
}
|
|
3961
3961
|
switch (u) {
|
|
3962
3962
|
case "min":
|
|
3963
|
-
return d >=
|
|
3963
|
+
return d >= p;
|
|
3964
3964
|
case "max":
|
|
3965
|
-
return d <=
|
|
3965
|
+
return d <= p;
|
|
3966
3966
|
default:
|
|
3967
|
-
return d ===
|
|
3967
|
+
return d === p;
|
|
3968
3968
|
}
|
|
3969
3969
|
});
|
|
3970
3970
|
return i && !o || !i && o;
|
|
@@ -3975,10 +3975,10 @@ function An(e) {
|
|
|
3975
3975
|
t = t.trim();
|
|
3976
3976
|
var n = t.match(_r), o = n[1], a = n[2], i = n[3] || "", r = {};
|
|
3977
3977
|
return r.inverse = !!o && o.toLowerCase() === "not", r.type = a ? a.toLowerCase() : "all", i = i.match(/\([^\)]+\)/g) || [], r.expressions = i.map(function(s) {
|
|
3978
|
-
var u = s.match(vr),
|
|
3978
|
+
var u = s.match(vr), p = u[1].toLowerCase().match(xr);
|
|
3979
3979
|
return {
|
|
3980
|
-
modifier:
|
|
3981
|
-
feature:
|
|
3980
|
+
modifier: p[1],
|
|
3981
|
+
feature: p[2],
|
|
3982
3982
|
value: u[2]
|
|
3983
3983
|
};
|
|
3984
3984
|
}), r;
|
|
@@ -4024,14 +4024,14 @@ var yr = jt.match, sn = typeof window < "u" ? window.matchMedia : null;
|
|
|
4024
4024
|
function wr(e, t, n) {
|
|
4025
4025
|
var o = this, a;
|
|
4026
4026
|
sn && !n && (a = sn.call(window, e)), a ? (this.matches = a.matches, this.media = a.media, a.addListener(s)) : (this.matches = yr(e, t), this.media = e), this.addListener = i, this.removeListener = r, this.dispose = u;
|
|
4027
|
-
function i(
|
|
4028
|
-
a && a.addListener(
|
|
4027
|
+
function i(p) {
|
|
4028
|
+
a && a.addListener(p);
|
|
4029
4029
|
}
|
|
4030
|
-
function r(
|
|
4031
|
-
a && a.removeListener(
|
|
4030
|
+
function r(p) {
|
|
4031
|
+
a && a.removeListener(p);
|
|
4032
4032
|
}
|
|
4033
|
-
function s(
|
|
4034
|
-
o.matches =
|
|
4033
|
+
function s(p) {
|
|
4034
|
+
o.matches = p.matches, o.media = p.media;
|
|
4035
4035
|
}
|
|
4036
4036
|
function u() {
|
|
4037
4037
|
a && a.removeListener(s);
|
|
@@ -4195,12 +4195,12 @@ const Or = (e) => `not ${e}`, zr = (e, t) => {
|
|
|
4195
4195
|
}
|
|
4196
4196
|
);
|
|
4197
4197
|
}, cn = 2e3, Yr = (e) => {
|
|
4198
|
-
const { targetValue: t, duration: n = cn, doneValue: o } = e, [a, i] = ie(t), r = ue(), s = ue(0), u = ue(),
|
|
4198
|
+
const { targetValue: t, duration: n = cn, doneValue: o } = e, [a, i] = ie(t), r = ue(), s = ue(0), u = ue(), p = ue(t);
|
|
4199
4199
|
return ne(() => {
|
|
4200
|
-
if (
|
|
4200
|
+
if (p.current = t, t === s.current) return;
|
|
4201
4201
|
r.current && cancelAnimationFrame(r.current), s.current = a, u.current = performance.now();
|
|
4202
4202
|
const d = (l) => {
|
|
4203
|
-
const v = t === o ? cn : n, y = l - (u.current || l), w = Math.min(y / v, 1), g = w < 0.5 ? 4 * w * w * w : 1 - Math.pow(-2 * w + 2, 3) / 2, S = s.current + (
|
|
4203
|
+
const v = t === o ? cn : n, y = l - (u.current || l), w = Math.min(y / v, 1), g = w < 0.5 ? 4 * w * w * w : 1 - Math.pow(-2 * w + 2, 3) / 2, S = s.current + (p.current - s.current) * g, L = Math.max(0, Math.floor(S));
|
|
4204
4204
|
i(L), w < 1 && (r.current = requestAnimationFrame(d));
|
|
4205
4205
|
};
|
|
4206
4206
|
return r.current = requestAnimationFrame(d), () => {
|
|
@@ -4226,14 +4226,14 @@ const Or = (e) => `not ${e}`, zr = (e, t) => {
|
|
|
4226
4226
|
children: i,
|
|
4227
4227
|
doneValue: r = 100,
|
|
4228
4228
|
animationVariant: s = "backgroundProgress"
|
|
4229
|
-
} = e, [u,
|
|
4229
|
+
} = e, [u, p] = ie(!1), d = ue(), l = Yr({
|
|
4230
4230
|
targetValue: t,
|
|
4231
4231
|
duration: a,
|
|
4232
4232
|
doneValue: r
|
|
4233
4233
|
});
|
|
4234
4234
|
ne(() => (l === r ? d.current = window.setTimeout(() => {
|
|
4235
|
-
|
|
4236
|
-
}, 500) : (
|
|
4235
|
+
p(!1);
|
|
4236
|
+
}, 500) : (p(!0), d.current && window.clearTimeout(d.current)), () => {
|
|
4237
4237
|
d.current && window.clearTimeout(d.current);
|
|
4238
4238
|
}), [l, r]);
|
|
4239
4239
|
const v = _({
|
|
@@ -4290,7 +4290,7 @@ const Or = (e) => `not ${e}`, zr = (e, t) => {
|
|
|
4290
4290
|
onChange: r,
|
|
4291
4291
|
onMouseEnter: s,
|
|
4292
4292
|
error: u,
|
|
4293
|
-
label:
|
|
4293
|
+
label: p,
|
|
4294
4294
|
infoTooltipText: d,
|
|
4295
4295
|
tooltipPosition: l,
|
|
4296
4296
|
disabled: v,
|
|
@@ -4302,18 +4302,18 @@ const Or = (e) => `not ${e}`, zr = (e, t) => {
|
|
|
4302
4302
|
classNameError: V,
|
|
4303
4303
|
classNameLabel: R,
|
|
4304
4304
|
classNameBaseTooltipRoot: k
|
|
4305
|
-
} = e, [
|
|
4305
|
+
} = e, [c, E] = ie(!1), z = ue(null);
|
|
4306
4306
|
_n(
|
|
4307
4307
|
[z],
|
|
4308
4308
|
() => {
|
|
4309
4309
|
E(!1);
|
|
4310
4310
|
},
|
|
4311
|
-
|
|
4311
|
+
c
|
|
4312
4312
|
);
|
|
4313
4313
|
const D = t.find((f) => f.value === o), J = (f, b) => {
|
|
4314
4314
|
r(f, { value: b, name: a }), E(!1);
|
|
4315
4315
|
}, oe = () => {
|
|
4316
|
-
v || E(!
|
|
4316
|
+
v || E(!c);
|
|
4317
4317
|
}, me = _({
|
|
4318
4318
|
[ge.spSelect]: !0,
|
|
4319
4319
|
[ge.spSelect_error]: !!u,
|
|
@@ -4339,13 +4339,13 @@ const Or = (e) => `not ${e}`, zr = (e, t) => {
|
|
|
4339
4339
|
...V && { [V]: !0 }
|
|
4340
4340
|
});
|
|
4341
4341
|
return /* @__PURE__ */ H("div", { className: me, ref: z, children: [
|
|
4342
|
-
|
|
4342
|
+
p && /* @__PURE__ */ m(
|
|
4343
4343
|
Rt,
|
|
4344
4344
|
{
|
|
4345
4345
|
classNameRoot: M,
|
|
4346
4346
|
tooltipPosition: l,
|
|
4347
4347
|
required: y,
|
|
4348
|
-
label:
|
|
4348
|
+
label: p,
|
|
4349
4349
|
infoTooltipText: d,
|
|
4350
4350
|
classNameBaseTooltipRoot: k
|
|
4351
4351
|
}
|
|
@@ -4364,14 +4364,14 @@ const Or = (e) => `not ${e}`, zr = (e, t) => {
|
|
|
4364
4364
|
he,
|
|
4365
4365
|
{
|
|
4366
4366
|
name: pe.SelectChevronDown,
|
|
4367
|
-
rotate:
|
|
4367
|
+
rotate: c ? 180 : void 0,
|
|
4368
4368
|
className: Z
|
|
4369
4369
|
}
|
|
4370
4370
|
)
|
|
4371
4371
|
]
|
|
4372
4372
|
}
|
|
4373
4373
|
),
|
|
4374
|
-
|
|
4374
|
+
c && /* @__PURE__ */ m(
|
|
4375
4375
|
"div",
|
|
4376
4376
|
{
|
|
4377
4377
|
className: C,
|
|
@@ -4430,19 +4430,19 @@ const Or = (e) => `not ${e}`, zr = (e, t) => {
|
|
|
4430
4430
|
classNameRoot: i
|
|
4431
4431
|
} = e, r = t.map((k) => n ? {
|
|
4432
4432
|
...k,
|
|
4433
|
-
isVisible: n.some((
|
|
4433
|
+
isVisible: n.some((c) => !!c[k.key])
|
|
4434
4434
|
} : k).filter((k) => k.isVisible), s = _({
|
|
4435
4435
|
[ye.spTable]: !0,
|
|
4436
4436
|
...i && { [i]: !0 }
|
|
4437
4437
|
}), u = _({
|
|
4438
4438
|
[ye.spTable__tdContent]: !0
|
|
4439
|
-
}),
|
|
4439
|
+
}), p = _({
|
|
4440
4440
|
[ye.spTable__tdColorContent]: !0
|
|
4441
4441
|
}), d = _({
|
|
4442
4442
|
[ye.spTable__emptyPage]: !0
|
|
4443
4443
|
}), [l, v] = ie(null), y = (k) => {
|
|
4444
|
-
const { text:
|
|
4445
|
-
(l == null ? void 0 : l.rowIndex) === E && (l == null ? void 0 : l.colIndex) === z || navigator.clipboard.writeText(
|
|
4444
|
+
const { text: c, rowIndex: E, colIndex: z } = k;
|
|
4445
|
+
(l == null ? void 0 : l.rowIndex) === E && (l == null ? void 0 : l.colIndex) === z || navigator.clipboard.writeText(c).then(() => {
|
|
4446
4446
|
v({ rowIndex: E, colIndex: z });
|
|
4447
4447
|
}).catch((D) => {
|
|
4448
4448
|
console.error("Ошибка при копировании:", D);
|
|
@@ -4451,28 +4451,28 @@ const Or = (e) => `not ${e}`, zr = (e, t) => {
|
|
|
4451
4451
|
v(null);
|
|
4452
4452
|
}, g = () => /* @__PURE__ */ m("div", { className: d, children: "Данные отсутствуют" }), S = ({
|
|
4453
4453
|
row: k,
|
|
4454
|
-
col:
|
|
4454
|
+
col: c
|
|
4455
4455
|
}) => {
|
|
4456
|
-
const E = k[
|
|
4456
|
+
const E = k[c.key];
|
|
4457
4457
|
if (!E) return null;
|
|
4458
4458
|
const [z, D] = E.split(/\s*\{\{|}}\s*/).filter(Boolean);
|
|
4459
4459
|
return /* @__PURE__ */ H("span", { children: [
|
|
4460
4460
|
z,
|
|
4461
|
-
D && /* @__PURE__ */ m("span", { className:
|
|
4461
|
+
D && /* @__PURE__ */ m("span", { className: p, children: ` ${D}` })
|
|
4462
4462
|
] });
|
|
4463
4463
|
}, L = () => n && Array.isArray(n) && n.length > 0 ? /* @__PURE__ */ H("table", { className: s, children: [
|
|
4464
|
-
/* @__PURE__ */ m("colgroup", { children: r.map((k,
|
|
4464
|
+
/* @__PURE__ */ m("colgroup", { children: r.map((k, c, E) => /* @__PURE__ */ m(
|
|
4465
4465
|
"col",
|
|
4466
4466
|
{
|
|
4467
4467
|
style: {
|
|
4468
4468
|
width: `calc(100%/${E.length})`
|
|
4469
4469
|
}
|
|
4470
4470
|
},
|
|
4471
|
-
|
|
4471
|
+
c
|
|
4472
4472
|
)) }),
|
|
4473
|
-
/* @__PURE__ */ m("thead", { children: /* @__PURE__ */ m("tr", { children: r.map((k,
|
|
4474
|
-
/* @__PURE__ */ m("tbody", { children: n.map((k,
|
|
4475
|
-
const D = (l == null ? void 0 : l.rowIndex) ===
|
|
4473
|
+
/* @__PURE__ */ m("thead", { children: /* @__PURE__ */ m("tr", { children: r.map((k, c) => /* @__PURE__ */ m("th", { children: k.title }, c)) }) }),
|
|
4474
|
+
/* @__PURE__ */ m("tbody", { children: n.map((k, c) => k ? /* @__PURE__ */ m("tr", { children: r.map((E, z) => {
|
|
4475
|
+
const D = (l == null ? void 0 : l.rowIndex) === c && (l == null ? void 0 : l.colIndex) === z;
|
|
4476
4476
|
return /* @__PURE__ */ m(
|
|
4477
4477
|
"td",
|
|
4478
4478
|
{
|
|
@@ -4492,7 +4492,7 @@ const Or = (e) => `not ${e}`, zr = (e, t) => {
|
|
|
4492
4492
|
if (!J) return null;
|
|
4493
4493
|
y({
|
|
4494
4494
|
text: J,
|
|
4495
|
-
rowIndex:
|
|
4495
|
+
rowIndex: c,
|
|
4496
4496
|
colIndex: z
|
|
4497
4497
|
});
|
|
4498
4498
|
}
|
|
@@ -4500,19 +4500,19 @@ const Or = (e) => `not ${e}`, zr = (e, t) => {
|
|
|
4500
4500
|
)
|
|
4501
4501
|
] })
|
|
4502
4502
|
},
|
|
4503
|
-
`${
|
|
4503
|
+
`${c}:${z}`
|
|
4504
4504
|
);
|
|
4505
|
-
}) },
|
|
4505
|
+
}) }, c) : null) })
|
|
4506
4506
|
] }) : g(), V = () => n && Array.isArray(n) && n.length > 0 ? /* @__PURE__ */ m(
|
|
4507
4507
|
"div",
|
|
4508
4508
|
{
|
|
4509
4509
|
className: _({
|
|
4510
4510
|
[ye.spStringsGroup]: !0
|
|
4511
4511
|
}),
|
|
4512
|
-
children: n.map((k,
|
|
4512
|
+
children: n.map((k, c) => k ? /* @__PURE__ */ m("div", { children: r.map((E, z) => {
|
|
4513
4513
|
if (ln(k[E.key]))
|
|
4514
4514
|
return null;
|
|
4515
|
-
const D = (l == null ? void 0 : l.rowIndex) ===
|
|
4515
|
+
const D = (l == null ? void 0 : l.rowIndex) === c && (l == null ? void 0 : l.colIndex) === z;
|
|
4516
4516
|
return /* @__PURE__ */ H(
|
|
4517
4517
|
"div",
|
|
4518
4518
|
{
|
|
@@ -4551,7 +4551,7 @@ const Or = (e) => `not ${e}`, zr = (e, t) => {
|
|
|
4551
4551
|
if (!J) return null;
|
|
4552
4552
|
y({
|
|
4553
4553
|
text: J,
|
|
4554
|
-
rowIndex:
|
|
4554
|
+
rowIndex: c,
|
|
4555
4555
|
colIndex: z
|
|
4556
4556
|
});
|
|
4557
4557
|
}
|
|
@@ -4564,7 +4564,7 @@ const Or = (e) => `not ${e}`, zr = (e, t) => {
|
|
|
4564
4564
|
},
|
|
4565
4565
|
z
|
|
4566
4566
|
);
|
|
4567
|
-
}) },
|
|
4567
|
+
}) }, c) : null)
|
|
4568
4568
|
}
|
|
4569
4569
|
) : g();
|
|
4570
4570
|
return o ? a ? L() : V() : L();
|
|
@@ -4594,7 +4594,7 @@ const Or = (e) => `not ${e}`, zr = (e, t) => {
|
|
|
4594
4594
|
...o && { [o]: !0 }
|
|
4595
4595
|
}), u = _({
|
|
4596
4596
|
[Ae.spTabs__triggerTooltip]: !0
|
|
4597
|
-
}),
|
|
4597
|
+
}), p = () => {
|
|
4598
4598
|
switch (r) {
|
|
4599
4599
|
case "md":
|
|
4600
4600
|
return "p2";
|
|
@@ -4613,7 +4613,7 @@ const Or = (e) => `not ${e}`, zr = (e, t) => {
|
|
|
4613
4613
|
}),
|
|
4614
4614
|
onClick: w,
|
|
4615
4615
|
children: [
|
|
4616
|
-
/* @__PURE__ */ m(Ee, { type:
|
|
4616
|
+
/* @__PURE__ */ m(Ee, { type: p(), children: v }),
|
|
4617
4617
|
!!g && /* @__PURE__ */ m(
|
|
4618
4618
|
Je,
|
|
4619
4619
|
{
|