test-stpr-ui-kit 0.4.7 → 0.4.9
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as H, jsx as l, Fragment as pn } from "react/jsx-runtime";
|
|
2
|
-
import * as
|
|
2
|
+
import * as N from "react";
|
|
3
3
|
import We, { useState as ce, useEffect as ae, useRef as Ce, useCallback as le, forwardRef as Fn, useImperativeHandle as zn, Fragment as Mn, useMemo as Ae, useReducer as Bn, createContext as cn, useContext as ln } from "react";
|
|
4
4
|
import Wn from "react-dom";
|
|
5
5
|
import './test-stpr-ui-kit.css';function dn(e) {
|
|
@@ -15,7 +15,7 @@ function v() {
|
|
|
15
15
|
for (var e, t, n = 0, o = "", a = arguments.length; n < a; n++) (e = arguments[n]) && (t = dn(e)) && (o && (o += " "), o += t);
|
|
16
16
|
return o;
|
|
17
17
|
}
|
|
18
|
-
const qn = (e) => /* @__PURE__ */
|
|
18
|
+
const qn = (e) => /* @__PURE__ */ N.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ N.createElement("path", { d: "M20 7L9 18L4 13", stroke: "currentColor", strokeWidth: 2 })), $n = (e) => /* @__PURE__ */ N.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 26 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ N.createElement("path", { d: "M25 6L13 18L1 6", stroke: "currentColor", strokeWidth: 2 })), Hn = (e) => /* @__PURE__ */ N.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 20 20", fill: "none", ...e }, /* @__PURE__ */ N.createElement("line", { y1: -0.4, x2: 24.5568, y2: -0.4, transform: "matrix(0.680234 -0.732995 -0.680234 -0.732995 1 19)", stroke: "currentColor", strokeWidth: 0.8 }), /* @__PURE__ */ N.createElement("line", { y1: -0.4, x2: 24.5568, y2: -0.4, transform: "matrix(-0.680234 -0.732995 0.680234 -0.732995 18.9999 19)", stroke: "currentColor", strokeWidth: 0.8 })), Yn = (e) => /* @__PURE__ */ N.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ N.createElement("path", { d: "M20 9H11C9.89543 9 9 9.89543 9 11V20C9 21.1046 9.89543 22 11 22H20C21.1046 22 22 21.1046 22 20V11C22 9.89543 21.1046 9 20 9Z", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ N.createElement("path", { d: "M5 15H4C3.46957 15 2.96086 14.7893 2.58579 14.4142C2.21071 14.0391 2 13.5304 2 13V4C2 3.46957 2.21071 2.96086 2.58579 2.58579C2.96086 2.21071 3.46957 2 4 2H13C13.5304 2 14.0391 2.21071 14.4142 2.58579C14.7893 2.96086 15 3.46957 15 4V5", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Vn = (e) => /* @__PURE__ */ N.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 18 4", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ N.createElement("circle", { cx: 2, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ N.createElement("circle", { cx: 9, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ N.createElement("circle", { cx: 16, cy: 2, r: 2, fill: "currentColor" })), Un = (e) => /* @__PURE__ */ N.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ N.createElement("path", { d: "M8 4.61111V8.5H11.8889M8 15.5C4.13401 15.5 1 12.366 1 8.5C1 4.63401 4.13401 1.5 8 1.5C11.866 1.5 15 4.63401 15 8.5C15 12.366 11.866 15.5 8 15.5Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Gn = (e) => /* @__PURE__ */ N.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ N.createElement("path", { d: "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ N.createElement("path", { d: "M12 8V12", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ N.createElement("path", { d: "M12 16H12.01", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Kn = (e) => /* @__PURE__ */ N.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ N.createElement("path", { d: "M5 12H19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Xn = (e) => /* @__PURE__ */ N.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ N.createElement("path", { d: "M12 5V19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ N.createElement("path", { d: "M5 12H19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Zn = (e) => /* @__PURE__ */ N.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 16 16", fill: "none", ...e }, /* @__PURE__ */ N.createElement("path", { d: "M8 14.4C4.472 14.4 1.6 11.528 1.6 8C1.6 4.472 4.472 1.6 8 1.6C11.528 1.6 14.4 4.472 14.4 8C14.4 11.528 11.528 14.4 8 14.4ZM8 0C6.94943 0 5.90914 0.206926 4.93853 0.608964C3.96793 1.011 3.08601 1.60028 2.34315 2.34315C0.842855 3.84344 0 5.87827 0 8C0 10.1217 0.842855 12.1566 2.34315 13.6569C3.08601 14.3997 3.96793 14.989 4.93853 15.391C5.90914 15.7931 6.94943 16 8 16C10.1217 16 12.1566 15.1571 13.6569 13.6569C15.1571 12.1566 16 10.1217 16 8C16 6.94943 15.7931 5.90914 15.391 4.93853C14.989 3.96793 14.3997 3.08601 13.6569 2.34315C12.914 1.60028 12.0321 1.011 11.0615 0.608964C10.0909 0.206926 9.05058 0 8 0ZM8.8 4H7.2V7.2H4V8.8H7.2V12H8.8V8.8H12V7.2H8.8V4Z", fill: "currentColor" })), Qn = (e) => /* @__PURE__ */ N.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ N.createElement("path", { d: "M19 3H5C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21H19C20.1046 21 21 20.1046 21 19V5C21 3.89543 20.1046 3 19 3Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ N.createElement("path", { d: "M12 8V16", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ N.createElement("path", { d: "M8 12H16", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Jn = (e) => /* @__PURE__ */ N.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ N.createElement("path", { d: "M12 15.275L6 9.275L7.275 8L12 12.725L16.725 8L18 9.275L12 15.275Z", fill: "currentColor" })), eo = (e) => /* @__PURE__ */ N.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ N.createElement("path", { d: "M3 6H5H21", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ N.createElement("path", { d: "M19 6V20C19 20.5304 18.7893 21.0391 18.4142 21.4142C18.0391 21.7893 17.5304 22 17 22H7C6.46957 22 5.96086 21.7893 5.58579 21.4142C5.21071 21.0391 5 20.5304 5 20V6M8 6V4C8 3.46957 8.21071 2.96086 8.58579 2.58579C8.96086 2.21071 9.46957 2 10 2H14C14.5304 2 15.0391 2.21071 15.4142 2.58579C15.7893 2.96086 16 3.46957 16 4V6", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ N.createElement("path", { d: "M10 11V17", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ N.createElement("path", { d: "M14 11V17", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), to = (e) => /* @__PURE__ */ N.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "-2 -2 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ N.createElement("path", { d: "M2 10V17C2 17.5304 2.21071 18.0391 2.58579 18.4142C2.96086 18.7893 3.46957 19 4 19H16C16.5304 19 17.0391 18.7893 17.4142 18.4142C17.7893 18.0391 18 17.5304 18 17V10", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ N.createElement("path", { d: "M14 5L10 1L6 5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ N.createElement("path", { d: "M10 2V13", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })), no = (e) => /* @__PURE__ */ N.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 26 26", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ N.createElement("path", { d: "M12.971 2.24023L25.8228 24.5002H0.119141L12.971 2.24023Z", fill: "#002A64" }), /* @__PURE__ */ N.createElement("path", { d: "M13.0835 4.20023L25.2079 25.2002H0.959141L13.0835 4.20023Z", fill: "#036BFD" }), /* @__PURE__ */ N.createElement("path", { d: "M14.3991 21.0002H11.8791V23.5202H14.3991V21.0002Z", fill: "#F5F5F7" }), /* @__PURE__ */ N.createElement("path", { d: "M14.3991 10.6402H11.8791V19.8802H14.3991V10.6402Z", fill: "#F5F5F7" })), ve = (e) => {
|
|
19
19
|
const { name: t, rotate: n, ...o } = e, a = {
|
|
20
20
|
...o.style,
|
|
21
21
|
flexShrink: 0,
|
|
@@ -70,13 +70,13 @@ const oo = "_spAccordion_1ohth_43", ao = "_spAccordion_noBorder_1ohth_56", io =
|
|
|
70
70
|
classNameHeader: d,
|
|
71
71
|
classNameTitle: u,
|
|
72
72
|
classNameIcon: c,
|
|
73
|
-
classNameChildrenWrapper:
|
|
74
|
-
} = e, [
|
|
75
|
-
a || (E(!
|
|
76
|
-
},
|
|
73
|
+
classNameChildrenWrapper: w
|
|
74
|
+
} = e, [k, E] = ce(o), y = () => {
|
|
75
|
+
a || (E(!k), i == null || i(!k));
|
|
76
|
+
}, j = v({
|
|
77
77
|
[fe.spAccordion]: !0,
|
|
78
|
-
[fe.spAccordion_open]:
|
|
79
|
-
[fe.spAccordion_noOpen]: !
|
|
78
|
+
[fe.spAccordion_open]: k,
|
|
79
|
+
[fe.spAccordion_noOpen]: !k,
|
|
80
80
|
[fe.spAccordion_noBorder]: r,
|
|
81
81
|
[fe.spAccordion_noPadding]: s,
|
|
82
82
|
...m && { [m]: !0 }
|
|
@@ -93,17 +93,17 @@ const oo = "_spAccordion_1ohth_43", ao = "_spAccordion_noBorder_1ohth_56", io =
|
|
|
93
93
|
...c && { [c]: !0 }
|
|
94
94
|
}), b = v({
|
|
95
95
|
[fe.spAccordion__childrenWrapper]: !0,
|
|
96
|
-
[fe.spAccordion__childrenWrapper_open]:
|
|
97
|
-
...
|
|
96
|
+
[fe.spAccordion__childrenWrapper_open]: k,
|
|
97
|
+
...w && { [w]: !0 }
|
|
98
98
|
});
|
|
99
|
-
return /* @__PURE__ */ H("div", { className:
|
|
99
|
+
return /* @__PURE__ */ H("div", { className: j, children: [
|
|
100
100
|
/* @__PURE__ */ H("div", { className: O, children: [
|
|
101
|
-
/* @__PURE__ */ l("div", { className: Y, children: /* @__PURE__ */ l("span", { onClick:
|
|
101
|
+
/* @__PURE__ */ l("div", { className: Y, children: /* @__PURE__ */ l("span", { onClick: y, children: t }) }),
|
|
102
102
|
/* @__PURE__ */ l(
|
|
103
103
|
ve,
|
|
104
104
|
{
|
|
105
|
-
rotate:
|
|
106
|
-
onClick:
|
|
105
|
+
rotate: k ? 180 : void 0,
|
|
106
|
+
onClick: y,
|
|
107
107
|
className: R,
|
|
108
108
|
name: re.ChevronDown
|
|
109
109
|
}
|
|
@@ -158,11 +158,11 @@ const oo = "_spAccordion_1ohth_43", ao = "_spAccordion_noBorder_1ohth_56", io =
|
|
|
158
158
|
form: d,
|
|
159
159
|
children: u,
|
|
160
160
|
loading: c = !1,
|
|
161
|
-
isFullWidth:
|
|
162
|
-
isOnlyIcon:
|
|
161
|
+
isFullWidth: w = !1,
|
|
162
|
+
isOnlyIcon: k = !1,
|
|
163
163
|
noPadding: E = !1,
|
|
164
|
-
classNameRoot:
|
|
165
|
-
classNameIconContainerRoot:
|
|
164
|
+
classNameRoot: y,
|
|
165
|
+
classNameIconContainerRoot: j
|
|
166
166
|
} = e, O = (b) => {
|
|
167
167
|
s || a == null || a(b);
|
|
168
168
|
}, Y = () => {
|
|
@@ -170,22 +170,22 @@ const oo = "_spAccordion_1ohth_43", ao = "_spAccordion_noBorder_1ohth_56", io =
|
|
|
170
170
|
[be.spButton__text]: !0
|
|
171
171
|
}), p = v({
|
|
172
172
|
[be.spButton__iconContainer]: !0,
|
|
173
|
-
...
|
|
173
|
+
...j && { [j]: !0 }
|
|
174
174
|
});
|
|
175
175
|
return /* @__PURE__ */ H(pn, { children: [
|
|
176
176
|
(i || c) && /* @__PURE__ */ l("div", { className: p, children: c ? /* @__PURE__ */ l(ho, { classNameRoot: be.spButton__spinner }) : i && /* @__PURE__ */ l(ve, { name: i, rotate: r }) }),
|
|
177
|
-
!
|
|
177
|
+
!k && u && /* @__PURE__ */ l("div", { className: b, children: u })
|
|
178
178
|
] });
|
|
179
179
|
}, R = v({
|
|
180
180
|
[be.spButton]: !0,
|
|
181
181
|
[be.spButton_noPadding]: E,
|
|
182
|
-
[be.spButton_onlyIcon]:
|
|
182
|
+
[be.spButton_onlyIcon]: k,
|
|
183
183
|
[be[`spButton_${n}`]]: n,
|
|
184
184
|
[be[`spButton_${t}`]]: t,
|
|
185
|
-
[be.spButton_fullWidth]:
|
|
185
|
+
[be.spButton_fullWidth]: w,
|
|
186
186
|
[be.spButton_disabled]: s,
|
|
187
187
|
[be.spButton_loading]: c,
|
|
188
|
-
...
|
|
188
|
+
...y && { [y]: !0 }
|
|
189
189
|
});
|
|
190
190
|
return /* @__PURE__ */ l(
|
|
191
191
|
"button",
|
|
@@ -218,24 +218,25 @@ const oo = "_spAccordion_1ohth_43", ao = "_spAccordion_noBorder_1ohth_56", io =
|
|
|
218
218
|
formId: s,
|
|
219
219
|
disabled: m,
|
|
220
220
|
onClose: d,
|
|
221
|
-
submit: u
|
|
222
|
-
|
|
221
|
+
submit: u,
|
|
222
|
+
loading: c
|
|
223
|
+
} = e, w = v({
|
|
223
224
|
[ze.spApplyButtons]: !0,
|
|
224
225
|
[ze[`spApplyButtons_mobile-${t}`]]: t,
|
|
225
226
|
[ze[`spApplyButtons_align-${n}`]]: n
|
|
226
|
-
}),
|
|
227
|
+
}), k = v({
|
|
227
228
|
[ze.spApplyButtons__submit]: !0
|
|
228
|
-
}),
|
|
229
|
+
}), E = v({
|
|
229
230
|
[ze.spApplyButtons__cancel]: !0
|
|
230
231
|
});
|
|
231
|
-
return /* @__PURE__ */ H("div", { className:
|
|
232
|
+
return /* @__PURE__ */ H("div", { className: w, children: [
|
|
232
233
|
o && /* @__PURE__ */ l(
|
|
233
234
|
yt,
|
|
234
235
|
{
|
|
235
236
|
type: "button",
|
|
236
237
|
variant: "secondary",
|
|
237
238
|
iconName: a,
|
|
238
|
-
classNameRoot:
|
|
239
|
+
classNameRoot: E,
|
|
239
240
|
disabled: i,
|
|
240
241
|
onClick: d,
|
|
241
242
|
children: o
|
|
@@ -246,10 +247,11 @@ const oo = "_spAccordion_1ohth_43", ao = "_spAccordion_noBorder_1ohth_56", io =
|
|
|
246
247
|
{
|
|
247
248
|
type: "submit",
|
|
248
249
|
variant: "primary",
|
|
249
|
-
classNameRoot:
|
|
250
|
+
classNameRoot: k,
|
|
250
251
|
form: s || void 0,
|
|
251
252
|
disabled: m,
|
|
252
253
|
onClick: u,
|
|
254
|
+
loading: c,
|
|
253
255
|
children: r
|
|
254
256
|
}
|
|
255
257
|
)
|
|
@@ -316,25 +318,25 @@ const jt = (e) => {
|
|
|
316
318
|
text: d,
|
|
317
319
|
noPadding: u,
|
|
318
320
|
classNameTooltip: c,
|
|
319
|
-
classNameBaseTooltipRoot:
|
|
320
|
-
classNameBaseTooltipContentRoot:
|
|
321
|
-
} = e, [E,
|
|
321
|
+
classNameBaseTooltipRoot: w,
|
|
322
|
+
classNameBaseTooltipContentRoot: k
|
|
323
|
+
} = e, [E, y] = ce(!1), j = Ce(null), O = Ce(null), [Y, R] = ce(!1);
|
|
322
324
|
fn(
|
|
323
|
-
[
|
|
325
|
+
[j, O],
|
|
324
326
|
() => {
|
|
325
|
-
r && r(),
|
|
327
|
+
r && r(), y(!1);
|
|
326
328
|
},
|
|
327
329
|
E
|
|
328
330
|
);
|
|
329
331
|
const b = (g) => {
|
|
330
|
-
t || (E ? r && r() : i && i(),
|
|
332
|
+
t || (E ? r && r() : i && i(), y((L) => n ? !L : !0));
|
|
331
333
|
}, [p, C] = ce({
|
|
332
334
|
visibility: "hidden",
|
|
333
335
|
opacity: 0,
|
|
334
336
|
left: "-9999px"
|
|
335
337
|
}), [z, G] = ce(!1), X = le(() => {
|
|
336
|
-
if (!
|
|
337
|
-
const g =
|
|
338
|
+
if (!j.current || !O.current) return;
|
|
339
|
+
const g = j.current.getBoundingClientRect(), L = O.current.getBoundingClientRect();
|
|
338
340
|
let q = 0, K = 0;
|
|
339
341
|
switch (m) {
|
|
340
342
|
case ie.Right:
|
|
@@ -397,9 +399,9 @@ const jt = (e) => {
|
|
|
397
399
|
[Wo.spTooltip]: !0,
|
|
398
400
|
...c && { [c]: !0 }
|
|
399
401
|
}), de = v({
|
|
400
|
-
...y && { [y]: !0 }
|
|
401
|
-
}), _e = v({
|
|
402
402
|
...w && { [w]: !0 }
|
|
403
|
+
}), _e = v({
|
|
404
|
+
...k && { [k]: !0 }
|
|
403
405
|
}), ne = document.body;
|
|
404
406
|
return /* @__PURE__ */ H(
|
|
405
407
|
"div",
|
|
@@ -409,7 +411,7 @@ const jt = (e) => {
|
|
|
409
411
|
onMouseEnter: () => t && G(!0),
|
|
410
412
|
onMouseLeave: () => t && G(!1),
|
|
411
413
|
children: [
|
|
412
|
-
/* @__PURE__ */ l("div", { ref:
|
|
414
|
+
/* @__PURE__ */ l("div", { ref: j, className: s, children: a }),
|
|
413
415
|
o && /* @__PURE__ */ l(mn, { node: ne, children: /* @__PURE__ */ l(
|
|
414
416
|
un,
|
|
415
417
|
{
|
|
@@ -450,13 +452,13 @@ const jt = (e) => {
|
|
|
450
452
|
required: d,
|
|
451
453
|
tooltipPosition: u,
|
|
452
454
|
infoTooltipText: c,
|
|
453
|
-
onMouseEnter:
|
|
454
|
-
classNameRoot:
|
|
455
|
+
onMouseEnter: w,
|
|
456
|
+
classNameRoot: k,
|
|
455
457
|
classNameError: E
|
|
456
|
-
} = e,
|
|
458
|
+
} = e, y = v({
|
|
457
459
|
[ye.spCheckbox]: !0,
|
|
458
|
-
...
|
|
459
|
-
}),
|
|
460
|
+
...k && { [k]: !0 }
|
|
461
|
+
}), j = v({
|
|
460
462
|
[ye.spCheckbox__box]: !0,
|
|
461
463
|
[ye.spCheckbox__box_checked]: n,
|
|
462
464
|
[ye.spCheckbox__box_disabled]: o,
|
|
@@ -474,8 +476,8 @@ const jt = (e) => {
|
|
|
474
476
|
}), p = v({
|
|
475
477
|
[ye.spCheckbox__tooltip]: !0
|
|
476
478
|
});
|
|
477
|
-
return /* @__PURE__ */ H("div", { className:
|
|
478
|
-
/* @__PURE__ */ H("label", { className:
|
|
479
|
+
return /* @__PURE__ */ H("div", { className: y, onMouseEnter: w, children: [
|
|
480
|
+
/* @__PURE__ */ H("label", { className: j, children: [
|
|
479
481
|
/* @__PURE__ */ l(
|
|
480
482
|
"input",
|
|
481
483
|
{
|
|
@@ -542,10 +544,10 @@ const jt = (e) => {
|
|
|
542
544
|
isCursorPointer: d = !1,
|
|
543
545
|
isCursorPointerByOnClick: u = !0,
|
|
544
546
|
classNameRoot: c
|
|
545
|
-
} = e,
|
|
547
|
+
} = e, w = () => s && u ? !0 : d, k = v({
|
|
546
548
|
[Ye.spText]: !0,
|
|
547
549
|
[Ye.spText_ellipsis]: m,
|
|
548
|
-
[Ye.spText_cursorPointer]:
|
|
550
|
+
[Ye.spText_cursorPointer]: w(),
|
|
549
551
|
[Ye[`spText_type-${n}`]]: n,
|
|
550
552
|
...c && { [c]: !0 }
|
|
551
553
|
});
|
|
@@ -555,17 +557,17 @@ const jt = (e) => {
|
|
|
555
557
|
style: { ...r, color: a },
|
|
556
558
|
title: i,
|
|
557
559
|
onClick: s,
|
|
558
|
-
className:
|
|
560
|
+
className: k,
|
|
559
561
|
ref: t,
|
|
560
562
|
children: o
|
|
561
563
|
}
|
|
562
564
|
);
|
|
563
565
|
});
|
|
564
566
|
Te.displayName = "Text";
|
|
565
|
-
const aa = "
|
|
567
|
+
const aa = "_modalWrapper_ah6vq_43", ia = "_modalWrapper__modal_ah6vq_54", ra = "_modalWrapper__content_ah6vq_77", sa = "_modalWrapper__header_ah6vq_80", pa = "_modalWrapper__subHeader_ah6vq_88", ca = "_modalWrapper__footer_ah6vq_96", la = "_modalWrapper__closeButton_ah6vq_99", da = "_modalWrapper__closeButtonIconContainer_ah6vq_113", ke = {
|
|
566
568
|
modalWrapper: aa,
|
|
567
|
-
"modalWrapper_align-top": "_modalWrapper_align-
|
|
568
|
-
"modalWrapper_align-center": "_modalWrapper_align-
|
|
569
|
+
"modalWrapper_align-top": "_modalWrapper_align-top_ah6vq_48",
|
|
570
|
+
"modalWrapper_align-center": "_modalWrapper_align-center_ah6vq_51",
|
|
569
571
|
modalWrapper__modal: ia,
|
|
570
572
|
modalWrapper__content: ra,
|
|
571
573
|
modalWrapper__header: sa,
|
|
@@ -586,16 +588,16 @@ const aa = "_modalWrapper_r712c_43", ia = "_modalWrapper__modal_r712c_54", ra =
|
|
|
586
588
|
onClose: d,
|
|
587
589
|
header: u,
|
|
588
590
|
subHeader: c,
|
|
589
|
-
footer:
|
|
590
|
-
} = e,
|
|
591
|
+
footer: w
|
|
592
|
+
} = e, k = v({
|
|
591
593
|
[ke.modalWrapper]: !0,
|
|
592
594
|
[ke[`modalWrapper_align-${m}`]]: m
|
|
593
595
|
}), E = v({
|
|
594
596
|
[ke.modalWrapper__modal]: !0,
|
|
595
597
|
...r && { [r]: !0 }
|
|
596
|
-
}),
|
|
598
|
+
}), y = v({
|
|
597
599
|
[ke.modalWrapper__closeButton]: !0
|
|
598
|
-
}),
|
|
600
|
+
}), j = v({
|
|
599
601
|
[ke.modalWrapper__closeButtonIconContainer]: !0
|
|
600
602
|
}), O = v({
|
|
601
603
|
[ke.modalWrapper__content]: !0
|
|
@@ -611,18 +613,18 @@ const aa = "_modalWrapper_r712c_43", ia = "_modalWrapper__modal_r712c_54", ra =
|
|
|
611
613
|
return C.style.position = "fixed", C.style.top = `-${p}px`, C.style.left = "0", C.style.right = "0", C.style.overflow = "hidden", () => {
|
|
612
614
|
C.style.position = "", C.style.top = "", C.style.left = "", C.style.right = "", C.style.overflow = "", window.scrollTo(0, p);
|
|
613
615
|
};
|
|
614
|
-
}, []), /* @__PURE__ */ l(ea, { zIndex: t, isHiddenModal: n, classNameRoot: i, children: /* @__PURE__ */ l("div", { className:
|
|
616
|
+
}, []), /* @__PURE__ */ l(ea, { zIndex: t, isHiddenModal: n, classNameRoot: i, children: /* @__PURE__ */ l("div", { className: k, children: /* @__PURE__ */ H("div", { className: E, style: s, children: [
|
|
615
617
|
(u || c) && /* @__PURE__ */ H("div", { className: Y, children: [
|
|
616
618
|
typeof u == "string" ? /* @__PURE__ */ l(Te, { type: "h3", children: u }) : u,
|
|
617
619
|
c && /* @__PURE__ */ l("div", { className: R, children: typeof c == "string" ? /* @__PURE__ */ l(Te, { children: c }) : c })
|
|
618
620
|
] }),
|
|
619
621
|
a && /* @__PURE__ */ l("div", { className: O, children: a }),
|
|
620
|
-
|
|
622
|
+
w && /* @__PURE__ */ l("div", { className: b, children: w }),
|
|
621
623
|
o && /* @__PURE__ */ l(
|
|
622
624
|
yt,
|
|
623
625
|
{
|
|
624
|
-
classNameRoot:
|
|
625
|
-
classNameIconContainerRoot:
|
|
626
|
+
classNameRoot: y,
|
|
627
|
+
classNameIconContainerRoot: j,
|
|
626
628
|
onClick: d,
|
|
627
629
|
iconName: re.Close,
|
|
628
630
|
variant: "link",
|
|
@@ -644,9 +646,10 @@ const aa = "_modalWrapper_r712c_43", ia = "_modalWrapper__modal_r712c_54", ra =
|
|
|
644
646
|
disabled: d,
|
|
645
647
|
formId: u,
|
|
646
648
|
onClose: c,
|
|
647
|
-
mobile:
|
|
648
|
-
align:
|
|
649
|
-
modalAlign: E = "top"
|
|
649
|
+
mobile: w = "column",
|
|
650
|
+
align: k = "right",
|
|
651
|
+
modalAlign: E = "top",
|
|
652
|
+
loading: y
|
|
650
653
|
} = e;
|
|
651
654
|
return /* @__PURE__ */ l(
|
|
652
655
|
ua,
|
|
@@ -656,11 +659,11 @@ const aa = "_modalWrapper_r712c_43", ia = "_modalWrapper__modal_r712c_54", ra =
|
|
|
656
659
|
onClose: c,
|
|
657
660
|
align: E,
|
|
658
661
|
subHeader: o,
|
|
659
|
-
footer: /* @__PURE__ */ l(
|
|
662
|
+
footer: a || s ? /* @__PURE__ */ l(
|
|
660
663
|
Po,
|
|
661
664
|
{
|
|
662
|
-
mobile:
|
|
663
|
-
align:
|
|
665
|
+
mobile: w,
|
|
666
|
+
align: k,
|
|
664
667
|
cancelBtnContent: a,
|
|
665
668
|
cancelBtnIconName: r,
|
|
666
669
|
cancelBtnDisabled: i,
|
|
@@ -668,9 +671,10 @@ const aa = "_modalWrapper_r712c_43", ia = "_modalWrapper__modal_r712c_54", ra =
|
|
|
668
671
|
formId: u,
|
|
669
672
|
disabled: d,
|
|
670
673
|
onClose: c,
|
|
671
|
-
submit: m
|
|
674
|
+
submit: m,
|
|
675
|
+
loading: y
|
|
672
676
|
}
|
|
673
|
-
)
|
|
677
|
+
) : null
|
|
674
678
|
}
|
|
675
679
|
);
|
|
676
680
|
}, ma = "_spContextMenu_1wocv_43", fa = "_spContextMenu__item_1wocv_54", va = "_spContextMenu__item_deleteItem_1wocv_73", lt = {
|
|
@@ -719,7 +723,7 @@ var Ot;
|
|
|
719
723
|
function _a() {
|
|
720
724
|
if (Ot) return V;
|
|
721
725
|
Ot = 1;
|
|
722
|
-
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, m = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113,
|
|
726
|
+
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, m = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113, w = e ? Symbol.for("react.suspense_list") : 60120, k = e ? Symbol.for("react.memo") : 60115, E = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, j = e ? Symbol.for("react.fundamental") : 60117, O = e ? Symbol.for("react.responder") : 60118, Y = e ? Symbol.for("react.scope") : 60119;
|
|
723
727
|
function R(p) {
|
|
724
728
|
if (typeof p == "object" && p !== null) {
|
|
725
729
|
var C = p.$$typeof;
|
|
@@ -738,7 +742,7 @@ function _a() {
|
|
|
738
742
|
case s:
|
|
739
743
|
case u:
|
|
740
744
|
case E:
|
|
741
|
-
case
|
|
745
|
+
case k:
|
|
742
746
|
case r:
|
|
743
747
|
return p;
|
|
744
748
|
default:
|
|
@@ -753,7 +757,7 @@ function _a() {
|
|
|
753
757
|
function b(p) {
|
|
754
758
|
return R(p) === d;
|
|
755
759
|
}
|
|
756
|
-
return V.AsyncMode = m, V.ConcurrentMode = d, V.ContextConsumer = s, V.ContextProvider = r, V.Element = t, V.ForwardRef = u, V.Fragment = o, V.Lazy = E, V.Memo =
|
|
760
|
+
return V.AsyncMode = m, V.ConcurrentMode = d, V.ContextConsumer = s, V.ContextProvider = r, V.Element = t, V.ForwardRef = u, V.Fragment = o, V.Lazy = E, V.Memo = k, V.Portal = n, V.Profiler = i, V.StrictMode = a, V.Suspense = c, V.isAsyncMode = function(p) {
|
|
757
761
|
return b(p) || R(p) === m;
|
|
758
762
|
}, V.isConcurrentMode = b, V.isContextConsumer = function(p) {
|
|
759
763
|
return R(p) === s;
|
|
@@ -768,7 +772,7 @@ function _a() {
|
|
|
768
772
|
}, V.isLazy = function(p) {
|
|
769
773
|
return R(p) === E;
|
|
770
774
|
}, V.isMemo = function(p) {
|
|
771
|
-
return R(p) ===
|
|
775
|
+
return R(p) === k;
|
|
772
776
|
}, V.isPortal = function(p) {
|
|
773
777
|
return R(p) === n;
|
|
774
778
|
}, V.isProfiler = function(p) {
|
|
@@ -778,7 +782,7 @@ function _a() {
|
|
|
778
782
|
}, V.isSuspense = function(p) {
|
|
779
783
|
return R(p) === c;
|
|
780
784
|
}, V.isValidElementType = function(p) {
|
|
781
|
-
return typeof p == "string" || typeof p == "function" || p === o || p === d || p === i || p === a || p === c || p ===
|
|
785
|
+
return typeof p == "string" || typeof p == "function" || p === o || p === d || p === i || p === a || p === c || p === w || typeof p == "object" && p !== null && (p.$$typeof === E || p.$$typeof === k || p.$$typeof === r || p.$$typeof === s || p.$$typeof === u || p.$$typeof === j || p.$$typeof === O || p.$$typeof === Y || p.$$typeof === y);
|
|
782
786
|
}, V.typeOf = R, V;
|
|
783
787
|
}
|
|
784
788
|
var U = {};
|
|
@@ -793,10 +797,10 @@ var U = {};
|
|
|
793
797
|
var Lt;
|
|
794
798
|
function xa() {
|
|
795
799
|
return Lt || (Lt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
796
|
-
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, m = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113,
|
|
800
|
+
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, m = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113, w = e ? Symbol.for("react.suspense_list") : 60120, k = e ? Symbol.for("react.memo") : 60115, E = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, j = e ? Symbol.for("react.fundamental") : 60117, O = e ? Symbol.for("react.responder") : 60118, Y = e ? Symbol.for("react.scope") : 60119;
|
|
797
801
|
function R(_) {
|
|
798
802
|
return typeof _ == "string" || typeof _ == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
799
|
-
_ === o || _ === d || _ === i || _ === a || _ === c || _ ===
|
|
803
|
+
_ === o || _ === d || _ === i || _ === a || _ === c || _ === w || typeof _ == "object" && _ !== null && (_.$$typeof === E || _.$$typeof === k || _.$$typeof === r || _.$$typeof === s || _.$$typeof === u || _.$$typeof === j || _.$$typeof === O || _.$$typeof === Y || _.$$typeof === y);
|
|
800
804
|
}
|
|
801
805
|
function b(_) {
|
|
802
806
|
if (typeof _ == "object" && _ !== null) {
|
|
@@ -818,7 +822,7 @@ function xa() {
|
|
|
818
822
|
case s:
|
|
819
823
|
case u:
|
|
820
824
|
case E:
|
|
821
|
-
case
|
|
825
|
+
case k:
|
|
822
826
|
case r:
|
|
823
827
|
return Pe;
|
|
824
828
|
default:
|
|
@@ -830,7 +834,7 @@ function xa() {
|
|
|
830
834
|
}
|
|
831
835
|
}
|
|
832
836
|
}
|
|
833
|
-
var p = m, C = d, z = s, G = r, X = t, se = u, de = o, _e = E, ne =
|
|
837
|
+
var p = m, C = d, z = s, G = r, X = t, se = u, de = o, _e = E, ne = k, g = n, L = i, q = a, K = c, ee = !1;
|
|
834
838
|
function Q(_) {
|
|
835
839
|
return ee || (ee = !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(_) || b(_) === m;
|
|
836
840
|
}
|
|
@@ -846,7 +850,7 @@ function xa() {
|
|
|
846
850
|
function P(_) {
|
|
847
851
|
return typeof _ == "object" && _ !== null && _.$$typeof === t;
|
|
848
852
|
}
|
|
849
|
-
function
|
|
853
|
+
function I(_) {
|
|
850
854
|
return b(_) === u;
|
|
851
855
|
}
|
|
852
856
|
function B(_) {
|
|
@@ -856,7 +860,7 @@ function xa() {
|
|
|
856
860
|
return b(_) === E;
|
|
857
861
|
}
|
|
858
862
|
function F(_) {
|
|
859
|
-
return b(_) ===
|
|
863
|
+
return b(_) === k;
|
|
860
864
|
}
|
|
861
865
|
function W(_) {
|
|
862
866
|
return b(_) === n;
|
|
@@ -870,7 +874,7 @@ function xa() {
|
|
|
870
874
|
function te(_) {
|
|
871
875
|
return b(_) === c;
|
|
872
876
|
}
|
|
873
|
-
U.AsyncMode = p, U.ConcurrentMode = C, U.ContextConsumer = z, U.ContextProvider = G, U.Element = X, U.ForwardRef = se, U.Fragment = de, U.Lazy = _e, U.Memo = ne, U.Portal = g, U.Profiler = L, U.StrictMode = q, U.Suspense = K, U.isAsyncMode = Q, U.isConcurrentMode = f, U.isContextConsumer = h, U.isContextProvider = A, U.isElement = P, U.isForwardRef =
|
|
877
|
+
U.AsyncMode = p, U.ConcurrentMode = C, U.ContextConsumer = z, U.ContextProvider = G, U.Element = X, U.ForwardRef = se, U.Fragment = de, U.Lazy = _e, U.Memo = ne, U.Portal = g, U.Profiler = L, U.StrictMode = q, U.Suspense = K, U.isAsyncMode = Q, U.isConcurrentMode = f, U.isContextConsumer = h, U.isContextProvider = A, U.isElement = P, U.isForwardRef = I, U.isFragment = B, U.isLazy = D, U.isMemo = F, U.isPortal = W, U.isProfiler = $, U.isStrictMode = M, U.isSuspense = te, U.isValidElementType = R, U.typeOf = b;
|
|
874
878
|
}()), U;
|
|
875
879
|
}
|
|
876
880
|
var Pt;
|
|
@@ -921,8 +925,8 @@ function ga() {
|
|
|
921
925
|
t.call(s, c) && (m[c] = s[c]);
|
|
922
926
|
if (e) {
|
|
923
927
|
d = e(s);
|
|
924
|
-
for (var
|
|
925
|
-
n.call(s, d[
|
|
928
|
+
for (var w = 0; w < d.length; w++)
|
|
929
|
+
n.call(s, d[w]) && (m[d[w]] = s[d[w]]);
|
|
926
930
|
}
|
|
927
931
|
}
|
|
928
932
|
return m;
|
|
@@ -963,10 +967,10 @@ function ha() {
|
|
|
963
967
|
var c;
|
|
964
968
|
try {
|
|
965
969
|
if (typeof i[u] != "function") {
|
|
966
|
-
var
|
|
970
|
+
var w = Error(
|
|
967
971
|
(m || "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`."
|
|
968
972
|
);
|
|
969
|
-
throw
|
|
973
|
+
throw w.name = "Invariant Violation", w;
|
|
970
974
|
}
|
|
971
975
|
c = i[u](r, u, m, s, null, t);
|
|
972
976
|
} catch (E) {
|
|
@@ -976,9 +980,9 @@ function ha() {
|
|
|
976
980
|
(m || "React class") + ": type specification of " + s + " `" + u + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof c + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
977
981
|
), c instanceof Error && !(c.message in n)) {
|
|
978
982
|
n[c.message] = !0;
|
|
979
|
-
var
|
|
983
|
+
var k = d ? d() : "";
|
|
980
984
|
e(
|
|
981
|
-
"Failed " + s + " type: " + c.message + (
|
|
985
|
+
"Failed " + s + " type: " + c.message + (k ?? "")
|
|
982
986
|
);
|
|
983
987
|
}
|
|
984
988
|
}
|
|
@@ -1012,7 +1016,7 @@ function ba() {
|
|
|
1012
1016
|
if (typeof h == "function")
|
|
1013
1017
|
return h;
|
|
1014
1018
|
}
|
|
1015
|
-
var
|
|
1019
|
+
var w = "<<anonymous>>", k = {
|
|
1016
1020
|
array: O("array"),
|
|
1017
1021
|
bigint: O("bigint"),
|
|
1018
1022
|
bool: O("boolean"),
|
|
@@ -1036,15 +1040,15 @@ function ba() {
|
|
|
1036
1040
|
function E(f, h) {
|
|
1037
1041
|
return f === h ? f !== 0 || 1 / f === 1 / h : f !== f && h !== h;
|
|
1038
1042
|
}
|
|
1039
|
-
function
|
|
1043
|
+
function y(f, h) {
|
|
1040
1044
|
this.message = f, this.data = h && typeof h == "object" ? h : {}, this.stack = "";
|
|
1041
1045
|
}
|
|
1042
|
-
|
|
1043
|
-
function
|
|
1046
|
+
y.prototype = Error.prototype;
|
|
1047
|
+
function j(f) {
|
|
1044
1048
|
if (process.env.NODE_ENV !== "production")
|
|
1045
1049
|
var h = {}, A = 0;
|
|
1046
1050
|
function P(B, D, F, W, $, M, te) {
|
|
1047
|
-
if (W = W ||
|
|
1051
|
+
if (W = W || w, M = M || F, te !== n) {
|
|
1048
1052
|
if (m) {
|
|
1049
1053
|
var _ = new Error(
|
|
1050
1054
|
"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"
|
|
@@ -1058,84 +1062,84 @@ function ba() {
|
|
|
1058
1062
|
), h[ue] = !0, A++);
|
|
1059
1063
|
}
|
|
1060
1064
|
}
|
|
1061
|
-
return D[F] == null ? B ? D[F] === null ? new
|
|
1065
|
+
return D[F] == null ? B ? D[F] === null ? new y("The " + $ + " `" + M + "` is marked as required " + ("in `" + W + "`, but its value is `null`.")) : new y("The " + $ + " `" + M + "` is marked as required in " + ("`" + W + "`, but its value is `undefined`.")) : null : f(D, F, W, $, M);
|
|
1062
1066
|
}
|
|
1063
|
-
var
|
|
1064
|
-
return
|
|
1067
|
+
var I = P.bind(null, !1);
|
|
1068
|
+
return I.isRequired = P.bind(null, !0), I;
|
|
1065
1069
|
}
|
|
1066
1070
|
function O(f) {
|
|
1067
|
-
function h(A, P,
|
|
1071
|
+
function h(A, P, I, B, D, F) {
|
|
1068
1072
|
var W = A[P], $ = q(W);
|
|
1069
1073
|
if ($ !== f) {
|
|
1070
1074
|
var M = K(W);
|
|
1071
|
-
return new
|
|
1072
|
-
"Invalid " + B + " `" + D + "` of type " + ("`" + M + "` supplied to `" +
|
|
1075
|
+
return new y(
|
|
1076
|
+
"Invalid " + B + " `" + D + "` of type " + ("`" + M + "` supplied to `" + I + "`, expected ") + ("`" + f + "`."),
|
|
1073
1077
|
{ expectedType: f }
|
|
1074
1078
|
);
|
|
1075
1079
|
}
|
|
1076
1080
|
return null;
|
|
1077
1081
|
}
|
|
1078
|
-
return
|
|
1082
|
+
return j(h);
|
|
1079
1083
|
}
|
|
1080
1084
|
function Y() {
|
|
1081
|
-
return
|
|
1085
|
+
return j(r);
|
|
1082
1086
|
}
|
|
1083
1087
|
function R(f) {
|
|
1084
|
-
function h(A, P,
|
|
1088
|
+
function h(A, P, I, B, D) {
|
|
1085
1089
|
if (typeof f != "function")
|
|
1086
|
-
return new
|
|
1090
|
+
return new y("Property `" + D + "` of component `" + I + "` has invalid PropType notation inside arrayOf.");
|
|
1087
1091
|
var F = A[P];
|
|
1088
1092
|
if (!Array.isArray(F)) {
|
|
1089
1093
|
var W = q(F);
|
|
1090
|
-
return new
|
|
1094
|
+
return new y("Invalid " + B + " `" + D + "` of type " + ("`" + W + "` supplied to `" + I + "`, expected an array."));
|
|
1091
1095
|
}
|
|
1092
1096
|
for (var $ = 0; $ < F.length; $++) {
|
|
1093
|
-
var M = f(F, $,
|
|
1097
|
+
var M = f(F, $, I, B, D + "[" + $ + "]", n);
|
|
1094
1098
|
if (M instanceof Error)
|
|
1095
1099
|
return M;
|
|
1096
1100
|
}
|
|
1097
1101
|
return null;
|
|
1098
1102
|
}
|
|
1099
|
-
return
|
|
1103
|
+
return j(h);
|
|
1100
1104
|
}
|
|
1101
1105
|
function b() {
|
|
1102
|
-
function f(h, A, P,
|
|
1106
|
+
function f(h, A, P, I, B) {
|
|
1103
1107
|
var D = h[A];
|
|
1104
1108
|
if (!s(D)) {
|
|
1105
1109
|
var F = q(D);
|
|
1106
|
-
return new
|
|
1110
|
+
return new y("Invalid " + I + " `" + B + "` of type " + ("`" + F + "` supplied to `" + P + "`, expected a single ReactElement."));
|
|
1107
1111
|
}
|
|
1108
1112
|
return null;
|
|
1109
1113
|
}
|
|
1110
|
-
return
|
|
1114
|
+
return j(f);
|
|
1111
1115
|
}
|
|
1112
1116
|
function p() {
|
|
1113
|
-
function f(h, A, P,
|
|
1117
|
+
function f(h, A, P, I, B) {
|
|
1114
1118
|
var D = h[A];
|
|
1115
1119
|
if (!e.isValidElementType(D)) {
|
|
1116
1120
|
var F = q(D);
|
|
1117
|
-
return new
|
|
1121
|
+
return new y("Invalid " + I + " `" + B + "` of type " + ("`" + F + "` supplied to `" + P + "`, expected a single ReactElement type."));
|
|
1118
1122
|
}
|
|
1119
1123
|
return null;
|
|
1120
1124
|
}
|
|
1121
|
-
return
|
|
1125
|
+
return j(f);
|
|
1122
1126
|
}
|
|
1123
1127
|
function C(f) {
|
|
1124
|
-
function h(A, P,
|
|
1128
|
+
function h(A, P, I, B, D) {
|
|
1125
1129
|
if (!(A[P] instanceof f)) {
|
|
1126
|
-
var F = f.name ||
|
|
1127
|
-
return new
|
|
1130
|
+
var F = f.name || w, W = Q(A[P]);
|
|
1131
|
+
return new y("Invalid " + B + " `" + D + "` of type " + ("`" + W + "` supplied to `" + I + "`, expected ") + ("instance of `" + F + "`."));
|
|
1128
1132
|
}
|
|
1129
1133
|
return null;
|
|
1130
1134
|
}
|
|
1131
|
-
return
|
|
1135
|
+
return j(h);
|
|
1132
1136
|
}
|
|
1133
1137
|
function z(f) {
|
|
1134
1138
|
if (!Array.isArray(f))
|
|
1135
1139
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
1136
1140
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
1137
1141
|
) : i("Invalid argument supplied to oneOf, expected an array.")), r;
|
|
1138
|
-
function h(A, P,
|
|
1142
|
+
function h(A, P, I, B, D) {
|
|
1139
1143
|
for (var F = A[P], W = 0; W < f.length; W++)
|
|
1140
1144
|
if (E(F, f[W]))
|
|
1141
1145
|
return null;
|
|
@@ -1143,26 +1147,26 @@ function ba() {
|
|
|
1143
1147
|
var ue = K(_);
|
|
1144
1148
|
return ue === "symbol" ? String(_) : _;
|
|
1145
1149
|
});
|
|
1146
|
-
return new
|
|
1150
|
+
return new y("Invalid " + B + " `" + D + "` of value `" + String(F) + "` " + ("supplied to `" + I + "`, expected one of " + $ + "."));
|
|
1147
1151
|
}
|
|
1148
|
-
return
|
|
1152
|
+
return j(h);
|
|
1149
1153
|
}
|
|
1150
1154
|
function G(f) {
|
|
1151
|
-
function h(A, P,
|
|
1155
|
+
function h(A, P, I, B, D) {
|
|
1152
1156
|
if (typeof f != "function")
|
|
1153
|
-
return new
|
|
1157
|
+
return new y("Property `" + D + "` of component `" + I + "` has invalid PropType notation inside objectOf.");
|
|
1154
1158
|
var F = A[P], W = q(F);
|
|
1155
1159
|
if (W !== "object")
|
|
1156
|
-
return new
|
|
1160
|
+
return new y("Invalid " + B + " `" + D + "` of type " + ("`" + W + "` supplied to `" + I + "`, expected an object."));
|
|
1157
1161
|
for (var $ in F)
|
|
1158
1162
|
if (o(F, $)) {
|
|
1159
|
-
var M = f(F, $,
|
|
1163
|
+
var M = f(F, $, I, B, D + "." + $, n);
|
|
1160
1164
|
if (M instanceof Error)
|
|
1161
1165
|
return M;
|
|
1162
1166
|
}
|
|
1163
1167
|
return null;
|
|
1164
1168
|
}
|
|
1165
|
-
return
|
|
1169
|
+
return j(h);
|
|
1166
1170
|
}
|
|
1167
1171
|
function X(f) {
|
|
1168
1172
|
if (!Array.isArray(f))
|
|
@@ -1174,68 +1178,68 @@ function ba() {
|
|
|
1174
1178
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ee(A) + " at index " + h + "."
|
|
1175
1179
|
), r;
|
|
1176
1180
|
}
|
|
1177
|
-
function P(
|
|
1181
|
+
function P(I, B, D, F, W) {
|
|
1178
1182
|
for (var $ = [], M = 0; M < f.length; M++) {
|
|
1179
|
-
var te = f[M], _ = te(
|
|
1183
|
+
var te = f[M], _ = te(I, B, D, F, W, n);
|
|
1180
1184
|
if (_ == null)
|
|
1181
1185
|
return null;
|
|
1182
1186
|
_.data && o(_.data, "expectedType") && $.push(_.data.expectedType);
|
|
1183
1187
|
}
|
|
1184
1188
|
var ue = $.length > 0 ? ", expected one of type [" + $.join(", ") + "]" : "";
|
|
1185
|
-
return new
|
|
1189
|
+
return new y("Invalid " + F + " `" + W + "` supplied to " + ("`" + D + "`" + ue + "."));
|
|
1186
1190
|
}
|
|
1187
|
-
return
|
|
1191
|
+
return j(P);
|
|
1188
1192
|
}
|
|
1189
1193
|
function se() {
|
|
1190
|
-
function f(h, A, P,
|
|
1191
|
-
return g(h[A]) ? null : new
|
|
1194
|
+
function f(h, A, P, I, B) {
|
|
1195
|
+
return g(h[A]) ? null : new y("Invalid " + I + " `" + B + "` supplied to " + ("`" + P + "`, expected a ReactNode."));
|
|
1192
1196
|
}
|
|
1193
|
-
return
|
|
1197
|
+
return j(f);
|
|
1194
1198
|
}
|
|
1195
|
-
function de(f, h, A, P,
|
|
1196
|
-
return new
|
|
1197
|
-
(f || "React class") + ": " + h + " type `" + A + "." + P + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" +
|
|
1199
|
+
function de(f, h, A, P, I) {
|
|
1200
|
+
return new y(
|
|
1201
|
+
(f || "React class") + ": " + h + " type `" + A + "." + P + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + I + "`."
|
|
1198
1202
|
);
|
|
1199
1203
|
}
|
|
1200
1204
|
function _e(f) {
|
|
1201
|
-
function h(A, P,
|
|
1205
|
+
function h(A, P, I, B, D) {
|
|
1202
1206
|
var F = A[P], W = q(F);
|
|
1203
1207
|
if (W !== "object")
|
|
1204
|
-
return new
|
|
1208
|
+
return new y("Invalid " + B + " `" + D + "` of type `" + W + "` " + ("supplied to `" + I + "`, expected `object`."));
|
|
1205
1209
|
for (var $ in f) {
|
|
1206
1210
|
var M = f[$];
|
|
1207
1211
|
if (typeof M != "function")
|
|
1208
|
-
return de(
|
|
1209
|
-
var te = M(F, $,
|
|
1212
|
+
return de(I, B, D, $, K(M));
|
|
1213
|
+
var te = M(F, $, I, B, D + "." + $, n);
|
|
1210
1214
|
if (te)
|
|
1211
1215
|
return te;
|
|
1212
1216
|
}
|
|
1213
1217
|
return null;
|
|
1214
1218
|
}
|
|
1215
|
-
return
|
|
1219
|
+
return j(h);
|
|
1216
1220
|
}
|
|
1217
1221
|
function ne(f) {
|
|
1218
|
-
function h(A, P,
|
|
1222
|
+
function h(A, P, I, B, D) {
|
|
1219
1223
|
var F = A[P], W = q(F);
|
|
1220
1224
|
if (W !== "object")
|
|
1221
|
-
return new
|
|
1225
|
+
return new y("Invalid " + B + " `" + D + "` of type `" + W + "` " + ("supplied to `" + I + "`, expected `object`."));
|
|
1222
1226
|
var $ = t({}, A[P], f);
|
|
1223
1227
|
for (var M in $) {
|
|
1224
1228
|
var te = f[M];
|
|
1225
1229
|
if (o(f, M) && typeof te != "function")
|
|
1226
|
-
return de(
|
|
1230
|
+
return de(I, B, D, M, K(te));
|
|
1227
1231
|
if (!te)
|
|
1228
|
-
return new
|
|
1229
|
-
"Invalid " + B + " `" + D + "` key `" + M + "` supplied to `" +
|
|
1232
|
+
return new y(
|
|
1233
|
+
"Invalid " + B + " `" + D + "` key `" + M + "` supplied to `" + I + "`.\nBad object: " + JSON.stringify(A[P], null, " ") + `
|
|
1230
1234
|
Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
|
|
1231
1235
|
);
|
|
1232
|
-
var _ = te(F, M,
|
|
1236
|
+
var _ = te(F, M, I, B, D + "." + M, n);
|
|
1233
1237
|
if (_)
|
|
1234
1238
|
return _;
|
|
1235
1239
|
}
|
|
1236
1240
|
return null;
|
|
1237
1241
|
}
|
|
1238
|
-
return
|
|
1242
|
+
return j(h);
|
|
1239
1243
|
}
|
|
1240
1244
|
function g(f) {
|
|
1241
1245
|
switch (typeof f) {
|
|
@@ -1259,8 +1263,8 @@ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
|
|
|
1259
1263
|
return !1;
|
|
1260
1264
|
} else
|
|
1261
1265
|
for (; !(P = A.next()).done; ) {
|
|
1262
|
-
var
|
|
1263
|
-
if (
|
|
1266
|
+
var I = P.value;
|
|
1267
|
+
if (I && !g(I[1]))
|
|
1264
1268
|
return !1;
|
|
1265
1269
|
}
|
|
1266
1270
|
} else
|
|
@@ -1304,9 +1308,9 @@ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
|
|
|
1304
1308
|
}
|
|
1305
1309
|
}
|
|
1306
1310
|
function Q(f) {
|
|
1307
|
-
return !f.constructor || !f.constructor.name ?
|
|
1311
|
+
return !f.constructor || !f.constructor.name ? w : f.constructor.name;
|
|
1308
1312
|
}
|
|
1309
|
-
return
|
|
1313
|
+
return k.checkPropTypes = a, k.resetWarningCache = a.resetWarningCache, k.PropTypes = k, k;
|
|
1310
1314
|
}, vt;
|
|
1311
1315
|
}
|
|
1312
1316
|
var _t, qt;
|
|
@@ -1321,10 +1325,10 @@ function ya() {
|
|
|
1321
1325
|
return n.resetWarningCache = t, _t = function() {
|
|
1322
1326
|
function o(r, s, m, d, u, c) {
|
|
1323
1327
|
if (c !== e) {
|
|
1324
|
-
var
|
|
1328
|
+
var w = new Error(
|
|
1325
1329
|
"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"
|
|
1326
1330
|
);
|
|
1327
|
-
throw
|
|
1331
|
+
throw w.name = "Invariant Violation", w;
|
|
1328
1332
|
}
|
|
1329
1333
|
}
|
|
1330
1334
|
o.isRequired = o;
|
|
@@ -2877,8 +2881,8 @@ function Ie(e) {
|
|
|
2877
2881
|
function Xa(e) {
|
|
2878
2882
|
var t = e.files, n = e.accept, o = e.minSize, a = e.maxSize, i = e.multiple, r = e.maxFiles, s = e.validator;
|
|
2879
2883
|
return !i && t.length > 1 || i && r >= 1 && t.length > r ? !1 : t.every(function(m) {
|
|
2880
|
-
var d = wn(m, n), u = Be(d, 1), c = u[0],
|
|
2881
|
-
return c && E && !
|
|
2884
|
+
var d = wn(m, n), u = Be(d, 1), c = u[0], w = kn(m, o, a), k = Be(w, 1), E = k[0], y = s ? s(m) : null;
|
|
2885
|
+
return c && E && !y;
|
|
2882
2886
|
});
|
|
2883
2887
|
}
|
|
2884
2888
|
function Xe(e) {
|
|
@@ -3258,15 +3262,15 @@ var St = {
|
|
|
3258
3262
|
fileRejections: []
|
|
3259
3263
|
};
|
|
3260
3264
|
function xi() {
|
|
3261
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = Z(Z({}, Sn), e), n = t.accept, o = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, m = t.maxFiles, d = t.onDragEnter, u = t.onDragLeave, c = t.onDragOver,
|
|
3265
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = Z(Z({}, Sn), e), n = t.accept, o = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, m = t.maxFiles, d = t.onDragEnter, u = t.onDragLeave, c = t.onDragOver, w = t.onDrop, k = t.onDropAccepted, E = t.onDropRejected, y = t.onFileDialogCancel, j = t.onFileDialogOpen, O = t.useFsAccessApi, Y = t.autoFocus, R = t.preventDropOnDocument, b = t.noClick, p = t.noKeyboard, C = t.noDrag, z = t.noDragEventsBubbling, G = t.onError, X = t.validator, se = Ae(function() {
|
|
3262
3266
|
return ni(n);
|
|
3263
3267
|
}, [n]), de = Ae(function() {
|
|
3264
3268
|
return ti(n);
|
|
3265
3269
|
}, [n]), _e = Ae(function() {
|
|
3266
|
-
return typeof
|
|
3267
|
-
}, [
|
|
3268
|
-
return typeof
|
|
3269
|
-
}, [
|
|
3270
|
+
return typeof j == "function" ? j : Jt;
|
|
3271
|
+
}, [j]), ne = Ae(function() {
|
|
3272
|
+
return typeof y == "function" ? y : Jt;
|
|
3273
|
+
}, [y]), g = Ce(null), L = Ce(null), q = Bn(gi, St), K = gt(q, 2), ee = K[0], Q = K[1], f = ee.isFocused, h = ee.isFileDialogActive, A = Ce(typeof window < "u" && window.isSecureContext && O && ei()), P = function() {
|
|
3270
3274
|
!A.current && h && setTimeout(function() {
|
|
3271
3275
|
if (L.current) {
|
|
3272
3276
|
var S = L.current.files;
|
|
@@ -3281,8 +3285,8 @@ function xi() {
|
|
|
3281
3285
|
window.removeEventListener("focus", P, !1);
|
|
3282
3286
|
};
|
|
3283
3287
|
}, [L, h, ne, A]);
|
|
3284
|
-
var
|
|
3285
|
-
g.current && g.current.contains(S.target) || (S.preventDefault(),
|
|
3288
|
+
var I = Ce([]), B = function(S) {
|
|
3289
|
+
g.current && g.current.contains(S.target) || (S.preventDefault(), I.current = []);
|
|
3286
3290
|
};
|
|
3287
3291
|
ae(function() {
|
|
3288
3292
|
return R && (document.addEventListener("dragover", Zt, !1), document.addEventListener("drop", B, !1)), function() {
|
|
@@ -3295,7 +3299,7 @@ function xi() {
|
|
|
3295
3299
|
var D = le(function(x) {
|
|
3296
3300
|
G ? G(x) : console.error(x);
|
|
3297
3301
|
}, [G]), F = le(function(x) {
|
|
3298
|
-
x.preventDefault(), x.persist(), $e(x),
|
|
3302
|
+
x.preventDefault(), x.persist(), $e(x), I.current = [].concat(ci(I.current), [x.target]), Ue(x) && Promise.resolve(a(x)).then(function(S) {
|
|
3299
3303
|
if (!(Xe(x) && !z)) {
|
|
3300
3304
|
var J = S.length, oe = J > 0 && Xa({
|
|
3301
3305
|
files: S,
|
|
@@ -3327,10 +3331,10 @@ function xi() {
|
|
|
3327
3331
|
return S && c && c(x), !1;
|
|
3328
3332
|
}, [c, z]), $ = le(function(x) {
|
|
3329
3333
|
x.preventDefault(), x.persist(), $e(x);
|
|
3330
|
-
var S =
|
|
3334
|
+
var S = I.current.filter(function(oe) {
|
|
3331
3335
|
return g.current && g.current.contains(oe);
|
|
3332
3336
|
}), J = S.indexOf(x.target);
|
|
3333
|
-
J !== -1 && S.splice(J, 1),
|
|
3337
|
+
J !== -1 && S.splice(J, 1), I.current = S, !(S.length > 0) && (Q({
|
|
3334
3338
|
type: "setDraggedFiles",
|
|
3335
3339
|
isDragActive: !1,
|
|
3336
3340
|
isDragAccept: !1,
|
|
@@ -3361,9 +3365,9 @@ function xi() {
|
|
|
3361
3365
|
fileRejections: oe,
|
|
3362
3366
|
isDragReject: oe.length > 0,
|
|
3363
3367
|
type: "setFiles"
|
|
3364
|
-
}),
|
|
3365
|
-
}, [Q, s, se, r, i, m,
|
|
3366
|
-
x.preventDefault(), x.persist(), $e(x),
|
|
3368
|
+
}), w && w(J, oe, S), oe.length > 0 && E && E(oe, S), J.length > 0 && k && k(J, S);
|
|
3369
|
+
}, [Q, s, se, r, i, m, w, k, E, X]), te = le(function(x) {
|
|
3370
|
+
x.preventDefault(), x.persist(), $e(x), I.current = [], Ue(x) && Promise.resolve(a(x)).then(function(S) {
|
|
3367
3371
|
Xe(x) && !z || M(S, x);
|
|
3368
3372
|
}).catch(function(S) {
|
|
3369
3373
|
return D(S);
|
|
@@ -3523,17 +3527,17 @@ const hi = (e) => {
|
|
|
3523
3527
|
t(c, r);
|
|
3524
3528
|
return;
|
|
3525
3529
|
}
|
|
3526
|
-
const
|
|
3527
|
-
if (m &&
|
|
3528
|
-
console.log(`Максимальное возможное количество файлов для загрузки - ${m}`), t(
|
|
3530
|
+
const w = [...d, ...c];
|
|
3531
|
+
if (m && w.length > m) {
|
|
3532
|
+
console.log(`Максимальное возможное количество файлов для загрузки - ${m}`), t(w.slice(0, m), r);
|
|
3529
3533
|
return;
|
|
3530
3534
|
}
|
|
3531
|
-
t(
|
|
3535
|
+
t(w, r);
|
|
3532
3536
|
},
|
|
3533
3537
|
[d, m, s, r, t]
|
|
3534
3538
|
);
|
|
3535
|
-
return /* @__PURE__ */ l(Je, { multiple: s, onDrop: u, maxSize: o, accept: a, children: ({ getRootProps: c, getInputProps:
|
|
3536
|
-
/* @__PURE__ */ l("input", { ...
|
|
3539
|
+
return /* @__PURE__ */ l(Je, { multiple: s, onDrop: u, maxSize: o, accept: a, children: ({ getRootProps: c, getInputProps: w }) => /* @__PURE__ */ H("div", { ...c({}), children: [
|
|
3540
|
+
/* @__PURE__ */ l("input", { ...w({}), disabled: i, name: r }),
|
|
3537
3541
|
n
|
|
3538
3542
|
] }) });
|
|
3539
3543
|
}, bi = "_spDropdown_1f4lf_43", yi = "_spDropdown__labelText_1f4lf_54", wi = "_spDropdown__tooltipContainer_1f4lf_62", ki = "_spDropdown__dropdownList_1f4lf_67", Ci = "_spDropdown__dropdownListHeader_1f4lf_73", Ti = "_spDropdown__dopdownListItem_1f4lf_80", Ei = "_spDropdown__dopdownListItem_textCenter_1f4lf_91", Si = "_spDropdown__downloadListItemDescription_1f4lf_94", Ee = {
|
|
@@ -3565,29 +3569,29 @@ const hi = (e) => {
|
|
|
3565
3569
|
[Ee.spDropdown__dropdownListHeader]: !0
|
|
3566
3570
|
}), c = v({
|
|
3567
3571
|
[Ee.spDropdown__downloadListItemDescription]: !0
|
|
3568
|
-
}), [
|
|
3572
|
+
}), [w, k] = ce(!1);
|
|
3569
3573
|
return /* @__PURE__ */ l(
|
|
3570
3574
|
jt,
|
|
3571
3575
|
{
|
|
3572
3576
|
hover: !1,
|
|
3573
|
-
triggerAction: () =>
|
|
3574
|
-
actionOnClose: () =>
|
|
3577
|
+
triggerAction: () => k(!0),
|
|
3578
|
+
actionOnClose: () => k(!1),
|
|
3575
3579
|
text: /* @__PURE__ */ H("div", { className: d, children: [
|
|
3576
3580
|
n && /* @__PURE__ */ l("div", { className: u, children: n }),
|
|
3577
|
-
o.map((
|
|
3581
|
+
o.map((y, j) => /* @__PURE__ */ H(
|
|
3578
3582
|
"div",
|
|
3579
3583
|
{
|
|
3580
3584
|
className: v({
|
|
3581
3585
|
[Ee.spDropdown__dopdownListItem]: !0,
|
|
3582
|
-
[Ee.spDropdown__dopdownListItem_textCenter]:
|
|
3586
|
+
[Ee.spDropdown__dopdownListItem_textCenter]: y.textCenter
|
|
3583
3587
|
}),
|
|
3584
|
-
onClick:
|
|
3588
|
+
onClick: y.onClick,
|
|
3585
3589
|
children: [
|
|
3586
|
-
|
|
3587
|
-
|
|
3590
|
+
y.name,
|
|
3591
|
+
y.description && /* @__PURE__ */ l("span", { className: c, children: y.description })
|
|
3588
3592
|
]
|
|
3589
3593
|
},
|
|
3590
|
-
|
|
3594
|
+
j
|
|
3591
3595
|
))
|
|
3592
3596
|
] }),
|
|
3593
3597
|
position: a,
|
|
@@ -3595,7 +3599,7 @@ const hi = (e) => {
|
|
|
3595
3599
|
isToggleClick: !0,
|
|
3596
3600
|
trigger: /* @__PURE__ */ H("div", { className: r, children: [
|
|
3597
3601
|
/* @__PURE__ */ l("div", { className: s, children: t }),
|
|
3598
|
-
/* @__PURE__ */ l("div", { className: m, children: /* @__PURE__ */ l(ve, { name: re.SelectChevronDown, rotate:
|
|
3602
|
+
/* @__PURE__ */ l("div", { className: m, children: /* @__PURE__ */ l(ve, { name: re.SelectChevronDown, rotate: w ? 180 : void 0 }) })
|
|
3599
3603
|
] })
|
|
3600
3604
|
}
|
|
3601
3605
|
);
|
|
@@ -3707,18 +3711,18 @@ const hi = (e) => {
|
|
|
3707
3711
|
isClearable: d,
|
|
3708
3712
|
pattern: u,
|
|
3709
3713
|
onMouseEnter: c,
|
|
3710
|
-
infoTooltipText:
|
|
3711
|
-
tooltipPosition:
|
|
3714
|
+
infoTooltipText: w,
|
|
3715
|
+
tooltipPosition: k,
|
|
3712
3716
|
isVisibleDefaultTitle: E = !0,
|
|
3713
|
-
placeholder:
|
|
3714
|
-
classNameRoot:
|
|
3717
|
+
placeholder: y = "Введите...",
|
|
3718
|
+
classNameRoot: j,
|
|
3715
3719
|
classNameError: O,
|
|
3716
3720
|
classNameLabel: Y,
|
|
3717
3721
|
...R
|
|
3718
3722
|
} = e, b = v({
|
|
3719
3723
|
[Se.spInput]: !0,
|
|
3720
3724
|
[Se.spInput_error]: !!r,
|
|
3721
|
-
...
|
|
3725
|
+
...j && { [j]: !0 }
|
|
3722
3726
|
}), p = v({
|
|
3723
3727
|
[Se.spInput__container]: !0
|
|
3724
3728
|
}), C = v({
|
|
@@ -3743,10 +3747,10 @@ const hi = (e) => {
|
|
|
3743
3747
|
Nt,
|
|
3744
3748
|
{
|
|
3745
3749
|
classNameRoot: X,
|
|
3746
|
-
tooltipPosition:
|
|
3750
|
+
tooltipPosition: k,
|
|
3747
3751
|
required: s,
|
|
3748
3752
|
label: a,
|
|
3749
|
-
infoTooltipText:
|
|
3753
|
+
infoTooltipText: w
|
|
3750
3754
|
}
|
|
3751
3755
|
),
|
|
3752
3756
|
/* @__PURE__ */ H("div", { className: p, onMouseEnter: c, children: [
|
|
@@ -3754,7 +3758,7 @@ const hi = (e) => {
|
|
|
3754
3758
|
"input",
|
|
3755
3759
|
{
|
|
3756
3760
|
...R,
|
|
3757
|
-
placeholder:
|
|
3761
|
+
placeholder: y,
|
|
3758
3762
|
disabled: i,
|
|
3759
3763
|
onChange: de,
|
|
3760
3764
|
title: E ? n : void 0,
|
|
@@ -3796,14 +3800,14 @@ const Vi = "_spInputFiles_12x0f_43", Ui = "_spInputFiles_error_12x0f_48", Gi = "
|
|
|
3796
3800
|
files: d = [],
|
|
3797
3801
|
infoTooltipText: u,
|
|
3798
3802
|
tooltipPosition: c = ie.TopRight,
|
|
3799
|
-
classNameRoot:
|
|
3800
|
-
error:
|
|
3801
|
-
} = e, E = d.map((p) => p.name),
|
|
3803
|
+
classNameRoot: w,
|
|
3804
|
+
error: k
|
|
3805
|
+
} = e, E = d.map((p) => p.name), y = (E == null ? void 0 : E.length) > 0, j = v({
|
|
3802
3806
|
[xe.spInputFiles]: !0,
|
|
3803
|
-
[xe.spInputFiles_error]: !!
|
|
3807
|
+
[xe.spInputFiles_error]: !!k,
|
|
3804
3808
|
[xe.spInputFiles_disabled]: r,
|
|
3805
|
-
[xe.spInputFiles_fileUploaded]:
|
|
3806
|
-
...
|
|
3809
|
+
[xe.spInputFiles_fileUploaded]: y,
|
|
3810
|
+
...w && { [w]: !0 }
|
|
3807
3811
|
}), O = (p) => {
|
|
3808
3812
|
const C = [...d], z = C.findIndex((G) => G.name === p);
|
|
3809
3813
|
C.splice(z, 1), o(C, n);
|
|
@@ -3823,8 +3827,8 @@ const Vi = "_spInputFiles_12x0f_43", Ui = "_spInputFiles_error_12x0f_48", Gi = "
|
|
|
3823
3827
|
},
|
|
3824
3828
|
C
|
|
3825
3829
|
)) }) : /* @__PURE__ */ l(Te, { isEllipsis: !0, children: E[0] }), b = () => /* @__PURE__ */ H(pn, { children: [
|
|
3826
|
-
|
|
3827
|
-
|
|
3830
|
+
y ? R() : /* @__PURE__ */ l(Te, { children: t }),
|
|
3831
|
+
y ? /* @__PURE__ */ l("div", { className: xe.spInputFiles__delete, onClick: Y, children: /* @__PURE__ */ l(ve, { name: re.Close }) }) : u && /* @__PURE__ */ l(
|
|
3828
3832
|
Qe,
|
|
3829
3833
|
{
|
|
3830
3834
|
classNameTooltip: xe.spInputFiles__tooltipWrapper,
|
|
@@ -3844,13 +3848,13 @@ const Vi = "_spInputFiles_12x0f_43", Ui = "_spInputFiles_error_12x0f_48", Gi = "
|
|
|
3844
3848
|
maxFiles: m,
|
|
3845
3849
|
accept: i,
|
|
3846
3850
|
onDropFiles: o,
|
|
3847
|
-
disabled: r ||
|
|
3848
|
-
children: /* @__PURE__ */ H("div", { className:
|
|
3851
|
+
disabled: r || y,
|
|
3852
|
+
children: /* @__PURE__ */ H("div", { className: j, children: [
|
|
3849
3853
|
/* @__PURE__ */ H("div", { className: xe.spInputFiles__control, children: [
|
|
3850
|
-
/* @__PURE__ */ l(ve, { name:
|
|
3854
|
+
/* @__PURE__ */ l(ve, { name: y ? re.Check : re.Upload }),
|
|
3851
3855
|
b()
|
|
3852
3856
|
] }),
|
|
3853
|
-
|
|
3857
|
+
k && /* @__PURE__ */ l("div", { className: xe.spInputFiles__error, children: k })
|
|
3854
3858
|
] })
|
|
3855
3859
|
}
|
|
3856
3860
|
);
|
|
@@ -4162,11 +4166,11 @@ const Cr = (e) => `not ${e}`, Tr = (e, t) => {
|
|
|
4162
4166
|
infoTooltipText: d,
|
|
4163
4167
|
tooltipPosition: u,
|
|
4164
4168
|
disabled: c,
|
|
4165
|
-
required:
|
|
4166
|
-
maxHeightList:
|
|
4169
|
+
required: w,
|
|
4170
|
+
maxHeightList: k = Lr,
|
|
4167
4171
|
isVisibleDefaultTitle: E = !0,
|
|
4168
|
-
isScrollableList:
|
|
4169
|
-
classNameRoot:
|
|
4172
|
+
isScrollableList: y = !1,
|
|
4173
|
+
classNameRoot: j,
|
|
4170
4174
|
classNameError: O,
|
|
4171
4175
|
classNameLabel: Y
|
|
4172
4176
|
} = e, [R, b] = ce(!1), p = Ce(null);
|
|
@@ -4184,7 +4188,7 @@ const Cr = (e) => `not ${e}`, Tr = (e, t) => {
|
|
|
4184
4188
|
}, X = v({
|
|
4185
4189
|
[ge.spSelect]: !0,
|
|
4186
4190
|
[ge.spSelect_error]: !!s,
|
|
4187
|
-
...
|
|
4191
|
+
...j && { [j]: !0 }
|
|
4188
4192
|
}), se = v({
|
|
4189
4193
|
[ge.spSelect__container]: !0
|
|
4190
4194
|
}), de = v({
|
|
@@ -4197,7 +4201,7 @@ const Cr = (e) => `not ${e}`, Tr = (e, t) => {
|
|
|
4197
4201
|
[ge.spSelect__icon]: !0
|
|
4198
4202
|
}), g = v({
|
|
4199
4203
|
[ge.spSelect__list]: !0,
|
|
4200
|
-
[ge.spSelect__list_scrollable]:
|
|
4204
|
+
[ge.spSelect__list_scrollable]: y
|
|
4201
4205
|
}), L = v({
|
|
4202
4206
|
...Y && { [Y]: !0 }
|
|
4203
4207
|
}), q = v({
|
|
@@ -4210,7 +4214,7 @@ const Cr = (e) => `not ${e}`, Tr = (e, t) => {
|
|
|
4210
4214
|
{
|
|
4211
4215
|
classNameRoot: L,
|
|
4212
4216
|
tooltipPosition: u,
|
|
4213
|
-
required:
|
|
4217
|
+
required: w,
|
|
4214
4218
|
label: m,
|
|
4215
4219
|
infoTooltipText: d
|
|
4216
4220
|
}
|
|
@@ -4240,7 +4244,7 @@ const Cr = (e) => `not ${e}`, Tr = (e, t) => {
|
|
|
4240
4244
|
"div",
|
|
4241
4245
|
{
|
|
4242
4246
|
className: g,
|
|
4243
|
-
style:
|
|
4247
|
+
style: y ? { maxHeight: `${k}px` } : {},
|
|
4244
4248
|
children: t.map((ee) => {
|
|
4245
4249
|
const Q = ee.value === o;
|
|
4246
4250
|
return /* @__PURE__ */ H(
|
|
@@ -4296,16 +4300,16 @@ const Cr = (e) => `not ${e}`, Tr = (e, t) => {
|
|
|
4296
4300
|
[he.spTable__emptyPage]: !0
|
|
4297
4301
|
}), {
|
|
4298
4302
|
device: { isDesktop: u }
|
|
4299
|
-
} = ln(jn), [c,
|
|
4303
|
+
} = ln(jn), [c, w] = ce(null), k = (b) => {
|
|
4300
4304
|
const { text: p, rowIndex: C, colIndex: z } = b;
|
|
4301
4305
|
(c == null ? void 0 : c.rowIndex) === C && (c == null ? void 0 : c.colIndex) === z || navigator.clipboard.writeText(p).then(() => {
|
|
4302
|
-
|
|
4306
|
+
w({ rowIndex: C, colIndex: z });
|
|
4303
4307
|
}).catch((G) => {
|
|
4304
4308
|
console.error("Ошибка при копировании:", G);
|
|
4305
4309
|
});
|
|
4306
4310
|
}, E = () => {
|
|
4307
|
-
|
|
4308
|
-
},
|
|
4311
|
+
w(null);
|
|
4312
|
+
}, y = () => /* @__PURE__ */ l("div", { className: d, children: "Данные отсутствуют" }), j = ({
|
|
4309
4313
|
row: b,
|
|
4310
4314
|
col: p
|
|
4311
4315
|
}) => {
|
|
@@ -4334,7 +4338,7 @@ const Cr = (e) => `not ${e}`, Tr = (e, t) => {
|
|
|
4334
4338
|
{
|
|
4335
4339
|
onMouseLeave: G ? E : void 0,
|
|
4336
4340
|
children: /* @__PURE__ */ H("div", { className: s, children: [
|
|
4337
|
-
/* @__PURE__ */ l("span", { children: C.isColorContentsCurlyBrackets ?
|
|
4341
|
+
/* @__PURE__ */ l("span", { children: C.isColorContentsCurlyBrackets ? j({ row: b, col: C }) : b[C.key] }),
|
|
4338
4342
|
!sn(b[C.key]) && C.isBeCopiedValue && /* @__PURE__ */ l(
|
|
4339
4343
|
ve,
|
|
4340
4344
|
{
|
|
@@ -4346,7 +4350,7 @@ const Cr = (e) => `not ${e}`, Tr = (e, t) => {
|
|
|
4346
4350
|
onClick: () => {
|
|
4347
4351
|
const X = b[C.key];
|
|
4348
4352
|
if (!X) return null;
|
|
4349
|
-
|
|
4353
|
+
k({
|
|
4350
4354
|
text: X,
|
|
4351
4355
|
rowIndex: p,
|
|
4352
4356
|
colIndex: z
|
|
@@ -4359,7 +4363,7 @@ const Cr = (e) => `not ${e}`, Tr = (e, t) => {
|
|
|
4359
4363
|
`${p}:${z}`
|
|
4360
4364
|
);
|
|
4361
4365
|
}) }, p) : null) })
|
|
4362
|
-
] }) :
|
|
4366
|
+
] }) : y(), Y = () => n && Array.isArray(n) && n.length > 0 ? /* @__PURE__ */ l(
|
|
4363
4367
|
"div",
|
|
4364
4368
|
{
|
|
4365
4369
|
className: v({
|
|
@@ -4405,7 +4409,7 @@ const Cr = (e) => `not ${e}`, Tr = (e, t) => {
|
|
|
4405
4409
|
onClick: () => {
|
|
4406
4410
|
const X = b[C.key];
|
|
4407
4411
|
if (!X) return null;
|
|
4408
|
-
|
|
4412
|
+
k({
|
|
4409
4413
|
text: X,
|
|
4410
4414
|
rowIndex: p,
|
|
4411
4415
|
colIndex: z
|
|
@@ -4422,7 +4426,7 @@ const Cr = (e) => `not ${e}`, Tr = (e, t) => {
|
|
|
4422
4426
|
);
|
|
4423
4427
|
}) }, p) : null)
|
|
4424
4428
|
}
|
|
4425
|
-
) :
|
|
4429
|
+
) : y();
|
|
4426
4430
|
return o ? u ? O() : Y() : O();
|
|
4427
4431
|
}, rs = "_spTabs_1guzj_43", ss = "_spTabs_separated_1guzj_50", ps = "_spTabs__tabElement_1guzj_54", cs = "_spTabs__tabElement_active_1guzj_71", ls = "_spTabs__triggerTooltip_1guzj_78", ds = "_spTabs__tabElement_separated_1guzj_81", Oe = {
|
|
4428
4432
|
spTabs: rs,
|