test-stpr-ui-kit 0.4.25 → 0.4.26
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
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs as Y, jsx as l, Fragment as cn } from "react/jsx-runtime";
|
|
2
2
|
import * as I from "react";
|
|
3
3
|
import We, { useState as ce, useEffect as ae, useRef as Te, useCallback as de, forwardRef as zn, useImperativeHandle as Bn, Fragment as Mn, useMemo as Oe, useReducer as Wn, createContext as ln, useContext as dn } from "react";
|
|
4
|
-
import
|
|
4
|
+
import $n from "react-dom";
|
|
5
5
|
import './test-stpr-ui-kit.css';function un(e) {
|
|
6
6
|
var t, n, o = "";
|
|
7
7
|
if (typeof e == "string" || typeof e == "number") o += e;
|
|
@@ -15,7 +15,7 @@ function _() {
|
|
|
15
15
|
for (var e, t, n = 0, o = "", a = arguments.length; n < a; n++) (e = arguments[n]) && (t = un(e)) && (o && (o += " "), o += t);
|
|
16
16
|
return o;
|
|
17
17
|
}
|
|
18
|
-
const
|
|
18
|
+
const qn = (e) => /* @__PURE__ */ I.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__ */ I.createElement("path", { d: "M20 7L9 18L4 13", stroke: "currentColor", strokeWidth: 2 })), Hn = (e) => /* @__PURE__ */ I.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__ */ I.createElement("path", { d: "M25 6L13 18L1 6", stroke: "currentColor", strokeWidth: 2 })), Yn = (e) => /* @__PURE__ */ I.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__ */ I.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__ */ I.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 })), Vn = (e) => /* @__PURE__ */ I.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__ */ I.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__ */ I.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" })), Un = (e) => /* @__PURE__ */ I.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__ */ I.createElement("circle", { cx: 2, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ I.createElement("circle", { cx: 9, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ I.createElement("circle", { cx: 16, cy: 2, r: 2, fill: "currentColor" })), Gn = (e) => /* @__PURE__ */ I.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__ */ I.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" })), Kn = (e) => /* @__PURE__ */ I.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__ */ I.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__ */ I.createElement("path", { d: "M12 8V12", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ I.createElement("path", { d: "M12 16H12.01", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Xn = (e) => /* @__PURE__ */ I.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__ */ I.createElement("path", { d: "M5 12H19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Zn = (e) => /* @__PURE__ */ I.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__ */ I.createElement("path", { d: "M12 5V19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ I.createElement("path", { d: "M5 12H19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Qn = (e) => /* @__PURE__ */ I.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__ */ I.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" })), Jn = (e) => /* @__PURE__ */ I.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__ */ I.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__ */ I.createElement("path", { d: "M12 8V16", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ I.createElement("path", { d: "M8 12H16", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), eo = (e) => /* @__PURE__ */ I.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__ */ I.createElement("path", { d: "M12 15.275L6 9.275L7.275 8L12 12.725L16.725 8L18 9.275L12 15.275Z", fill: "currentColor" })), to = (e) => /* @__PURE__ */ I.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__ */ I.createElement("path", { d: "M3 6H5H21", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ I.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__ */ I.createElement("path", { d: "M10 11V17", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ I.createElement("path", { d: "M14 11V17", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), no = (e) => /* @__PURE__ */ I.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__ */ I.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__ */ I.createElement("path", { d: "M14 5L10 1L6 5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ I.createElement("path", { d: "M10 2V13", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })), oo = (e) => /* @__PURE__ */ I.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__ */ I.createElement("path", { d: "M12.971 2.24023L25.8228 24.5002H0.119141L12.971 2.24023Z", fill: "#002A64" }), /* @__PURE__ */ I.createElement("path", { d: "M13.0835 4.20023L25.2079 25.2002H0.959141L13.0835 4.20023Z", fill: "#036BFD" }), /* @__PURE__ */ I.createElement("path", { d: "M14.3991 21.0002H11.8791V23.5202H14.3991V21.0002Z", fill: "#F5F5F7" }), /* @__PURE__ */ I.createElement("path", { d: "M14.3991 10.6402H11.8791V19.8802H14.3991V10.6402Z", fill: "#F5F5F7" })), ge = (e) => {
|
|
19
19
|
const { name: t, rotate: n, ...o } = e, a = {
|
|
20
20
|
...o.style,
|
|
21
21
|
flexShrink: 0,
|
|
@@ -28,7 +28,7 @@ const $n = (e) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon
|
|
|
28
28
|
selectChevronDown: eo,
|
|
29
29
|
upload: no,
|
|
30
30
|
trash: to,
|
|
31
|
-
check:
|
|
31
|
+
check: qn,
|
|
32
32
|
copy: Vn,
|
|
33
33
|
close: Yn,
|
|
34
34
|
plusSquare: Jn,
|
|
@@ -42,16 +42,18 @@ const $n = (e) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon
|
|
|
42
42
|
style: a
|
|
43
43
|
});
|
|
44
44
|
};
|
|
45
|
-
var
|
|
46
|
-
const ao = "
|
|
45
|
+
var se = /* @__PURE__ */ ((e) => (e.ChevronDown = "chevronDown", e.Info = "info", e.Plus = "plus", e.SelectChevronDown = "selectChevronDown", e.Upload = "upload", e.Trash = "trash", e.Check = "check", e.Copy = "copy", e.Close = "close", e.PlusSquare = "plusSquare", e.PlusCircle = "plusCircle", e.WarningColor = "warningColor", e.Dots = "dots", e.HistoryClock = "historyClock", e.Minus = "minus", e))(se || {});
|
|
46
|
+
const ao = "_spAccordion_11ek7_43", io = "_spAccordion_noBorder_11ek7_57", ro = "_spAccordion_noPadding_11ek7_60", so = "_spAccordion_open_11ek7_63", po = "_spAccordion__header_11ek7_66", co = "_spAccordion_noOpen_11ek7_74", lo = "_spAccordion__name_11ek7_96", uo = "_spAccordion__name_hiddenExpand_11ek7_107", mo = "_spAccordion__icon_11ek7_122", fo = "_spAccordion__icon_hidden_11ek7_128", _o = "_spAccordion__icon_open_11ek7_131", vo = "_spAccordion__childrenWrapper_11ek7_138", xo = "_spAccordion__childrenWrapper_open_11ek7_147", go = "_spAccordion__content_11ek7_150", ho = "_spAccordion__content_open_11ek7_156", ie = {
|
|
47
47
|
spAccordion: ao,
|
|
48
48
|
spAccordion_noBorder: io,
|
|
49
49
|
spAccordion_noPadding: ro,
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
50
|
+
spAccordion_open: so,
|
|
51
|
+
spAccordion__header: po,
|
|
52
|
+
spAccordion_noOpen: co,
|
|
53
|
+
spAccordion__name: lo,
|
|
54
54
|
spAccordion__name_hiddenExpand: uo,
|
|
55
|
+
"spAccordion__name--level-1": "_spAccordion__name--level-1_11ek7_111",
|
|
56
|
+
"spAccordion__name--level-2": "_spAccordion__name--level-2_11ek7_114",
|
|
55
57
|
spAccordion__icon: mo,
|
|
56
58
|
spAccordion__icon_hidden: fo,
|
|
57
59
|
spAccordion__icon_open: _o,
|
|
@@ -68,46 +70,48 @@ const ao = "_spAccordion_ui7ma_43", io = "_spAccordion_noBorder_ui7ma_57", ro =
|
|
|
68
70
|
onOpen: i,
|
|
69
71
|
noBorder: r = !1,
|
|
70
72
|
noPadding: s = !1,
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
[
|
|
81
|
-
[
|
|
82
|
-
[
|
|
83
|
-
[
|
|
84
|
-
|
|
85
|
-
}), O = _({
|
|
86
|
-
[se.spAccordion__header]: !0,
|
|
73
|
+
level: f = 1,
|
|
74
|
+
classNameRoot: c,
|
|
75
|
+
classNameHeader: u,
|
|
76
|
+
classNameTitle: d,
|
|
77
|
+
classNameIcon: h,
|
|
78
|
+
classNameChildrenWrapper: w
|
|
79
|
+
} = e, [E, b] = ce(o), j = () => {
|
|
80
|
+
a || (b(!E), i == null || i(!E));
|
|
81
|
+
}, O = _({
|
|
82
|
+
[ie.spAccordion]: !0,
|
|
83
|
+
[ie.spAccordion_open]: E,
|
|
84
|
+
[ie.spAccordion_noOpen]: !E,
|
|
85
|
+
[ie.spAccordion_noBorder]: r,
|
|
86
|
+
[ie.spAccordion_noPadding]: s,
|
|
87
87
|
...c && { [c]: !0 }
|
|
88
88
|
}), V = _({
|
|
89
|
-
[
|
|
90
|
-
[se.spAccordion__name_hiddenExpand]: a,
|
|
89
|
+
[ie.spAccordion__header]: !0,
|
|
91
90
|
...u && { [u]: !0 }
|
|
92
91
|
}), A = _({
|
|
93
|
-
[
|
|
94
|
-
[
|
|
95
|
-
[
|
|
92
|
+
[ie.spAccordion__name]: !0,
|
|
93
|
+
[ie[`spAccordion__name--level-${f}`]]: f,
|
|
94
|
+
[ie.spAccordion__name_hiddenExpand]: a,
|
|
96
95
|
...d && { [d]: !0 }
|
|
97
|
-
}),
|
|
98
|
-
[
|
|
99
|
-
[
|
|
96
|
+
}), y = _({
|
|
97
|
+
[ie.spAccordion__icon]: !0,
|
|
98
|
+
[ie.spAccordion__icon_open]: E,
|
|
99
|
+
[ie.spAccordion__icon_hidden]: a,
|
|
100
100
|
...h && { [h]: !0 }
|
|
101
101
|
}), p = _({
|
|
102
|
-
[
|
|
103
|
-
[
|
|
102
|
+
[ie.spAccordion__childrenWrapper]: !0,
|
|
103
|
+
[ie.spAccordion__childrenWrapper_open]: E,
|
|
104
|
+
...w && { [w]: !0 }
|
|
105
|
+
}), C = _({
|
|
106
|
+
[ie.spAccordion__content]: !0,
|
|
107
|
+
[ie.spAccordion__content_open]: E
|
|
104
108
|
});
|
|
105
|
-
return /* @__PURE__ */ Y("div", { className:
|
|
106
|
-
/* @__PURE__ */ Y("div", { className:
|
|
107
|
-
/* @__PURE__ */ l("div", { className:
|
|
108
|
-
/* @__PURE__ */ l(ge, { onClick:
|
|
109
|
+
return /* @__PURE__ */ Y("div", { className: O, children: [
|
|
110
|
+
/* @__PURE__ */ Y("div", { className: V, children: [
|
|
111
|
+
/* @__PURE__ */ l("div", { className: A, children: /* @__PURE__ */ l("span", { onClick: j, children: t }) }),
|
|
112
|
+
/* @__PURE__ */ l(ge, { onClick: j, className: y, name: se.ChevronDown })
|
|
109
113
|
] }),
|
|
110
|
-
/* @__PURE__ */ l("div", { className:
|
|
114
|
+
/* @__PURE__ */ l("div", { className: p, children: /* @__PURE__ */ l("div", { className: C, children: n }) })
|
|
111
115
|
] });
|
|
112
116
|
}, bo = "_spinner_f5rd2_43", yo = "_spinner__inner_f5rd2_53", pt = {
|
|
113
117
|
spinner: bo,
|
|
@@ -157,27 +161,27 @@ const ao = "_spAccordion_ui7ma_43", io = "_spAccordion_noBorder_ui7ma_57", ro =
|
|
|
157
161
|
children: u,
|
|
158
162
|
loading: d = !1,
|
|
159
163
|
isFullWidth: h = !1,
|
|
160
|
-
isOnlyIcon:
|
|
164
|
+
isOnlyIcon: w = !1,
|
|
161
165
|
noPadding: E = !1,
|
|
162
166
|
classNameRoot: b,
|
|
163
|
-
classNameIconContainerRoot:
|
|
164
|
-
} = e, O = (
|
|
165
|
-
s || a == null || a(
|
|
167
|
+
classNameIconContainerRoot: j
|
|
168
|
+
} = e, O = (y) => {
|
|
169
|
+
s || a == null || a(y);
|
|
166
170
|
}, V = () => {
|
|
167
|
-
const
|
|
171
|
+
const y = _({
|
|
168
172
|
[be.spButton__text]: !0
|
|
169
173
|
}), p = _({
|
|
170
174
|
[be.spButton__iconContainer]: !0,
|
|
171
|
-
...
|
|
175
|
+
...j && { [j]: !0 }
|
|
172
176
|
});
|
|
173
177
|
return /* @__PURE__ */ Y(cn, { children: [
|
|
174
178
|
(i || d) && /* @__PURE__ */ l("div", { className: p, children: d ? /* @__PURE__ */ l(wo, { classNameRoot: be.spButton__spinner }) : i && /* @__PURE__ */ l(ge, { name: i, rotate: r }) }),
|
|
175
|
-
!
|
|
179
|
+
!w && u && /* @__PURE__ */ l("div", { className: y, children: u })
|
|
176
180
|
] });
|
|
177
181
|
}, A = _({
|
|
178
182
|
[be.spButton]: !0,
|
|
179
183
|
[be.spButton_noPadding]: E,
|
|
180
|
-
[be.spButton_onlyIcon]:
|
|
184
|
+
[be.spButton_onlyIcon]: w,
|
|
181
185
|
[be[`spButton_${n}`]]: n,
|
|
182
186
|
[be[`spButton_${t}`]]: t,
|
|
183
187
|
[be.spButton_fullWidth]: h,
|
|
@@ -222,7 +226,7 @@ const ao = "_spAccordion_ui7ma_43", io = "_spAccordion_noBorder_ui7ma_57", ro =
|
|
|
222
226
|
[ze.spApplyButtons]: !0,
|
|
223
227
|
[ze[`spApplyButtons_mobile-${t}`]]: t,
|
|
224
228
|
[ze[`spApplyButtons_align-${n}`]]: n
|
|
225
|
-
}),
|
|
229
|
+
}), w = _({
|
|
226
230
|
[ze.spApplyButtons__submit]: !0
|
|
227
231
|
}), E = _({
|
|
228
232
|
[ze.spApplyButtons__cancel]: !0
|
|
@@ -245,7 +249,7 @@ const ao = "_spAccordion_ui7ma_43", io = "_spAccordion_noBorder_ui7ma_57", ro =
|
|
|
245
249
|
{
|
|
246
250
|
type: "submit",
|
|
247
251
|
variant: "primary",
|
|
248
|
-
classNameRoot:
|
|
252
|
+
classNameRoot: w,
|
|
249
253
|
form: s || void 0,
|
|
250
254
|
disabled: f,
|
|
251
255
|
onClick: u,
|
|
@@ -254,10 +258,10 @@ const ao = "_spAccordion_ui7ma_43", io = "_spAccordion_noBorder_ui7ma_57", ro =
|
|
|
254
258
|
}
|
|
255
259
|
)
|
|
256
260
|
] });
|
|
257
|
-
}, Mo = "_spBaseTooltip_z1ltl_43", Wo = "_spBaseTooltip_noPadding_z1ltl_71",
|
|
261
|
+
}, Mo = "_spBaseTooltip_z1ltl_43", Wo = "_spBaseTooltip_noPadding_z1ltl_71", $o = "_spBaseTooltip__content_z1ltl_74", ct = {
|
|
258
262
|
spBaseTooltip: Mo,
|
|
259
263
|
spBaseTooltip_noPadding: Wo,
|
|
260
|
-
spBaseTooltip__content:
|
|
264
|
+
spBaseTooltip__content: $o
|
|
261
265
|
}, mn = We.forwardRef((e, t) => {
|
|
262
266
|
const {
|
|
263
267
|
text: n,
|
|
@@ -298,12 +302,12 @@ const _n = ({ children: e, node: t, classNameRoot: n }) => {
|
|
|
298
302
|
return n && (i.className = n), document.body.appendChild(i), a(i), () => {
|
|
299
303
|
t || document.body.removeChild(i);
|
|
300
304
|
};
|
|
301
|
-
}, [t, n]), o ?
|
|
302
|
-
},
|
|
303
|
-
spTooltip:
|
|
305
|
+
}, [t, n]), o ? $n.createPortal(e, o) : null;
|
|
306
|
+
}, qo = "_spTooltip_9ogwj_43", Ho = "_spTooltip__trigger_9ogwj_46", Dt = {
|
|
307
|
+
spTooltip: qo,
|
|
304
308
|
spTooltip__trigger: Ho
|
|
305
309
|
};
|
|
306
|
-
var
|
|
310
|
+
var re = /* @__PURE__ */ ((e) => (e.Top = "top", e.TopLeft = "top-left", e.TopRight = "top-right", e.Bottom = "bottom", e.BottomLeft = "bottom-left", e.BottomRight = "bottom-right", e.Left = "left", e.LeftTop = "left-top", e.LeftBottom = "left-bottom", e.Right = "right", e.RightTop = "right-top", e.RightBottom = "right-bottom", e))(re || {});
|
|
307
311
|
const Nt = (e) => {
|
|
308
312
|
const {
|
|
309
313
|
hover: t = !0,
|
|
@@ -314,65 +318,65 @@ const Nt = (e) => {
|
|
|
314
318
|
triggerAction: r,
|
|
315
319
|
actionOnClose: s,
|
|
316
320
|
classNameTriggerTooltip: f,
|
|
317
|
-
position: c =
|
|
321
|
+
position: c = re.BottomLeft,
|
|
318
322
|
text: u,
|
|
319
323
|
noPadding: d,
|
|
320
324
|
classNameTooltip: h,
|
|
321
|
-
classNameBaseTooltipRoot:
|
|
325
|
+
classNameBaseTooltipRoot: w,
|
|
322
326
|
classNameBaseTooltipContentRoot: E
|
|
323
|
-
} = e, [b,
|
|
327
|
+
} = e, [b, j] = ce(!1), O = Te(null), V = Te(null), [A, y] = ce(!1);
|
|
324
328
|
fn(
|
|
325
329
|
[O, V],
|
|
326
330
|
() => {
|
|
327
|
-
s && s(),
|
|
331
|
+
s && s(), j(!1);
|
|
328
332
|
},
|
|
329
333
|
b
|
|
330
334
|
);
|
|
331
335
|
const p = (k) => {
|
|
332
|
-
o && k.stopPropagation(), !t && (b ? s && s() : r && r(),
|
|
333
|
-
}, [
|
|
336
|
+
o && k.stopPropagation(), !t && (b ? s && s() : r && r(), j((M) => n ? !M : !0));
|
|
337
|
+
}, [C, F] = ce({
|
|
334
338
|
visibility: "hidden",
|
|
335
339
|
opacity: 0,
|
|
336
340
|
left: "-9999px"
|
|
337
|
-
}), [
|
|
341
|
+
}), [q, J] = ce(!1), ne = de(() => {
|
|
338
342
|
if (!O.current || !V.current) return;
|
|
339
343
|
const k = O.current.getBoundingClientRect(), M = V.current.getBoundingClientRect();
|
|
340
344
|
let K = 0, z = 0;
|
|
341
345
|
switch (c) {
|
|
342
|
-
case
|
|
346
|
+
case re.Right:
|
|
343
347
|
K = k.top + window.scrollY - (M.height - k.height) / 2, z = k.right + window.scrollX;
|
|
344
348
|
break;
|
|
345
|
-
case
|
|
349
|
+
case re.RightTop:
|
|
346
350
|
K = k.top + window.scrollY, z = k.right + window.scrollX;
|
|
347
351
|
break;
|
|
348
|
-
case
|
|
352
|
+
case re.RightBottom:
|
|
349
353
|
K = k.bottom + window.scrollY - M.height, z = k.right + window.scrollX;
|
|
350
354
|
break;
|
|
351
|
-
case
|
|
355
|
+
case re.Left:
|
|
352
356
|
K = k.top + window.scrollY - (M.height - k.height) / 2, z = k.left + window.scrollX - M.width;
|
|
353
357
|
break;
|
|
354
|
-
case
|
|
358
|
+
case re.LeftTop:
|
|
355
359
|
K = k.top + window.scrollY, z = k.left + window.scrollX - M.width;
|
|
356
360
|
break;
|
|
357
|
-
case
|
|
361
|
+
case re.LeftBottom:
|
|
358
362
|
K = k.bottom + window.scrollY - M.height, z = k.left + window.scrollX - M.width;
|
|
359
363
|
break;
|
|
360
|
-
case
|
|
364
|
+
case re.Bottom:
|
|
361
365
|
K = k.bottom + window.scrollY, z = k.left + window.scrollX - (M.width - k.width) / 2;
|
|
362
366
|
break;
|
|
363
|
-
case
|
|
367
|
+
case re.BottomLeft:
|
|
364
368
|
K = k.bottom + window.scrollY, z = k.left + window.scrollX;
|
|
365
369
|
break;
|
|
366
|
-
case
|
|
370
|
+
case re.BottomRight:
|
|
367
371
|
K = k.bottom + window.scrollY, z = k.right + window.scrollX - M.width;
|
|
368
372
|
break;
|
|
369
|
-
case
|
|
373
|
+
case re.Top:
|
|
370
374
|
K = k.top + window.scrollY - M.height, z = k.left + window.scrollX - (M.width - k.width) / 2;
|
|
371
375
|
break;
|
|
372
|
-
case
|
|
376
|
+
case re.TopLeft:
|
|
373
377
|
K = k.top + window.scrollY - M.height, z = k.left + window.scrollX;
|
|
374
378
|
break;
|
|
375
|
-
case
|
|
379
|
+
case re.TopRight:
|
|
376
380
|
K = k.top + window.scrollY - M.height, z = k.right + window.scrollX - M.width;
|
|
377
381
|
break;
|
|
378
382
|
default:
|
|
@@ -382,11 +386,11 @@ const Nt = (e) => {
|
|
|
382
386
|
...m,
|
|
383
387
|
top: `${K}px`,
|
|
384
388
|
left: `${z}px`,
|
|
385
|
-
visibility: b ||
|
|
386
|
-
opacity: b ||
|
|
389
|
+
visibility: b || q ? "visible" : "hidden",
|
|
390
|
+
opacity: b || q ? 1 : 0
|
|
387
391
|
}));
|
|
388
|
-
}, [c, b,
|
|
389
|
-
ae(() => (
|
|
392
|
+
}, [c, b, q]);
|
|
393
|
+
ae(() => (y(!0), () => y(!1)), []), ae(() => {
|
|
390
394
|
A && ne();
|
|
391
395
|
}, [A, ne]), ae(() => {
|
|
392
396
|
if (!A) return;
|
|
@@ -399,7 +403,7 @@ const Nt = (e) => {
|
|
|
399
403
|
[Dt.spTooltip]: !0,
|
|
400
404
|
...h && { [h]: !0 }
|
|
401
405
|
}), me = _({
|
|
402
|
-
...
|
|
406
|
+
...w && { [w]: !0 }
|
|
403
407
|
}), le = _({
|
|
404
408
|
...E && { [E]: !0 }
|
|
405
409
|
}), X = _({
|
|
@@ -418,7 +422,7 @@ const Nt = (e) => {
|
|
|
418
422
|
a && /* @__PURE__ */ l(_n, { node: Z, children: /* @__PURE__ */ l(
|
|
419
423
|
mn,
|
|
420
424
|
{
|
|
421
|
-
style:
|
|
425
|
+
style: C,
|
|
422
426
|
ref: V,
|
|
423
427
|
noPadding: d,
|
|
424
428
|
text: u,
|
|
@@ -429,7 +433,7 @@ const Nt = (e) => {
|
|
|
429
433
|
]
|
|
430
434
|
}
|
|
431
435
|
);
|
|
432
|
-
}, Qe = (e) => /* @__PURE__ */ l(Nt, { ...e, hover: !0, trigger: /* @__PURE__ */ l(ge, { name:
|
|
436
|
+
}, Qe = (e) => /* @__PURE__ */ l(Nt, { ...e, hover: !0, trigger: /* @__PURE__ */ l(ge, { name: se.Info }) }), Yo = "_spCheckbox_uc4g8_43", Vo = "_spCheckbox__control_uc4g8_49", Uo = "_spCheckbox__label_uc4g8_52", Go = "_spCheckbox__box_uc4g8_63", Ko = "_spCheckbox__box_checked_uc4g8_90", Xo = "_spCheckbox__box_disabled_uc4g8_100", Zo = "_spCheckbox__box_error_uc4g8_111", Qo = "_spCheckbox__tooltip_uc4g8_114", Jo = "_spCheckbox__required_uc4g8_119", ea = "_spCheckbox__error_uc4g8_125", ye = {
|
|
433
437
|
spCheckbox: Yo,
|
|
434
438
|
spCheckbox__control: Vo,
|
|
435
439
|
spCheckbox__label: Uo,
|
|
@@ -456,12 +460,12 @@ const Nt = (e) => {
|
|
|
456
460
|
tooltipPosition: u,
|
|
457
461
|
infoTooltipText: d,
|
|
458
462
|
onMouseEnter: h,
|
|
459
|
-
classNameRoot:
|
|
463
|
+
classNameRoot: w,
|
|
460
464
|
classNameError: E
|
|
461
465
|
} = e, b = _({
|
|
462
466
|
[ye.spCheckbox]: !0,
|
|
463
|
-
...
|
|
464
|
-
}),
|
|
467
|
+
...w && { [w]: !0 }
|
|
468
|
+
}), j = _({
|
|
465
469
|
[ye.spCheckbox__box]: !0,
|
|
466
470
|
[ye.spCheckbox__box_checked]: n,
|
|
467
471
|
[ye.spCheckbox__box_disabled]: o,
|
|
@@ -473,14 +477,14 @@ const Nt = (e) => {
|
|
|
473
477
|
[ye.spCheckbox__label]: !0
|
|
474
478
|
}), A = _({
|
|
475
479
|
[ye.spCheckbox__required]: !0
|
|
476
|
-
}),
|
|
480
|
+
}), y = _({
|
|
477
481
|
[ye.spCheckbox__error]: !0,
|
|
478
482
|
...E && { [E]: !0 }
|
|
479
483
|
}), p = _({
|
|
480
484
|
[ye.spCheckbox__tooltip]: !0
|
|
481
485
|
});
|
|
482
486
|
return /* @__PURE__ */ Y("div", { className: b, onMouseEnter: h, children: [
|
|
483
|
-
/* @__PURE__ */ Y("label", { className:
|
|
487
|
+
/* @__PURE__ */ Y("label", { className: j, children: [
|
|
484
488
|
/* @__PURE__ */ l(
|
|
485
489
|
"input",
|
|
486
490
|
{
|
|
@@ -496,7 +500,7 @@ const Nt = (e) => {
|
|
|
496
500
|
c && /* @__PURE__ */ l("div", { className: A, children: "*" }),
|
|
497
501
|
d && /* @__PURE__ */ l("div", { className: p, children: /* @__PURE__ */ l(Qe, { position: u, text: d }) })
|
|
498
502
|
] }),
|
|
499
|
-
s && /* @__PURE__ */ l("div", { className:
|
|
503
|
+
s && /* @__PURE__ */ l("div", { className: y, children: s })
|
|
500
504
|
] });
|
|
501
505
|
}, Is = (e = {}) => {
|
|
502
506
|
const { initialValue: t = null } = e, [n, o] = ce(t);
|
|
@@ -547,7 +551,7 @@ const Nt = (e) => {
|
|
|
547
551
|
isCursorPointer: c = !1,
|
|
548
552
|
isCursorPointerByOnClick: u = !0,
|
|
549
553
|
classNameRoot: d
|
|
550
|
-
} = e, h = () => s && u ? !0 : c,
|
|
554
|
+
} = e, h = () => s && u ? !0 : c, w = _({
|
|
551
555
|
[Ye.spText]: !0,
|
|
552
556
|
[Ye.spText_ellipsis]: f,
|
|
553
557
|
[Ye.spText_cursorPointer]: h(),
|
|
@@ -560,7 +564,7 @@ const Nt = (e) => {
|
|
|
560
564
|
style: { ...r, color: a },
|
|
561
565
|
title: i,
|
|
562
566
|
onClick: s,
|
|
563
|
-
className:
|
|
567
|
+
className: w,
|
|
564
568
|
ref: t,
|
|
565
569
|
children: o
|
|
566
570
|
}
|
|
@@ -592,7 +596,7 @@ const sa = "_modalWrapper_ah6vq_43", pa = "_modalWrapper__modal_ah6vq_54", ca =
|
|
|
592
596
|
header: u,
|
|
593
597
|
subHeader: d,
|
|
594
598
|
footer: h
|
|
595
|
-
} = e,
|
|
599
|
+
} = e, w = _({
|
|
596
600
|
[ke.modalWrapper]: !0,
|
|
597
601
|
[ke[`modalWrapper_align-${f}`]]: f
|
|
598
602
|
}), E = _({
|
|
@@ -600,7 +604,7 @@ const sa = "_modalWrapper_ah6vq_43", pa = "_modalWrapper__modal_ah6vq_54", ca =
|
|
|
600
604
|
...r && { [r]: !0 }
|
|
601
605
|
}), b = _({
|
|
602
606
|
[ke.modalWrapper__closeButton]: !0
|
|
603
|
-
}),
|
|
607
|
+
}), j = _({
|
|
604
608
|
[ke.modalWrapper__closeButtonIconContainer]: !0
|
|
605
609
|
}), O = _({
|
|
606
610
|
[ke.modalWrapper__content]: !0
|
|
@@ -608,28 +612,28 @@ const sa = "_modalWrapper_ah6vq_43", pa = "_modalWrapper__modal_ah6vq_54", ca =
|
|
|
608
612
|
[ke.modalWrapper__header]: !0
|
|
609
613
|
}), A = _({
|
|
610
614
|
[ke.modalWrapper__subHeader]: !0
|
|
611
|
-
}),
|
|
615
|
+
}), y = _({
|
|
612
616
|
[ke.modalWrapper__footer]: !0
|
|
613
617
|
});
|
|
614
618
|
return ae(() => {
|
|
615
|
-
const p = window.scrollY,
|
|
616
|
-
return
|
|
617
|
-
|
|
619
|
+
const p = window.scrollY, C = document.body;
|
|
620
|
+
return C.style.position = "fixed", C.style.top = `-${p}px`, C.style.left = "0", C.style.right = "0", C.style.overflow = "hidden", () => {
|
|
621
|
+
C.style.position = "", C.style.top = "", C.style.left = "", C.style.right = "", C.style.overflow = "", window.scrollTo(0, p);
|
|
618
622
|
};
|
|
619
|
-
}, []), /* @__PURE__ */ l(oa, { zIndex: t, isHiddenModal: n, classNameRoot: i, children: /* @__PURE__ */ l("div", { className:
|
|
623
|
+
}, []), /* @__PURE__ */ l(oa, { zIndex: t, isHiddenModal: n, classNameRoot: i, children: /* @__PURE__ */ l("div", { className: w, children: /* @__PURE__ */ Y("div", { className: E, style: s, children: [
|
|
620
624
|
(u || d) && /* @__PURE__ */ Y("div", { className: V, children: [
|
|
621
625
|
typeof u == "string" ? /* @__PURE__ */ l(Se, { type: "h3", children: u }) : u,
|
|
622
626
|
d && /* @__PURE__ */ l("div", { className: A, children: typeof d == "string" ? /* @__PURE__ */ l(Se, { children: d }) : d })
|
|
623
627
|
] }),
|
|
624
628
|
a && /* @__PURE__ */ l("div", { className: O, children: a }),
|
|
625
|
-
h && /* @__PURE__ */ l("div", { className:
|
|
629
|
+
h && /* @__PURE__ */ l("div", { className: y, children: h }),
|
|
626
630
|
o && /* @__PURE__ */ l(
|
|
627
631
|
yt,
|
|
628
632
|
{
|
|
629
633
|
classNameRoot: b,
|
|
630
|
-
classNameIconContainerRoot:
|
|
634
|
+
classNameIconContainerRoot: j,
|
|
631
635
|
onClick: c,
|
|
632
|
-
iconName:
|
|
636
|
+
iconName: se.Close,
|
|
633
637
|
variant: "link",
|
|
634
638
|
noPadding: !0,
|
|
635
639
|
isOnlyIcon: !0
|
|
@@ -650,7 +654,7 @@ const sa = "_modalWrapper_ah6vq_43", pa = "_modalWrapper__modal_ah6vq_54", ca =
|
|
|
650
654
|
formId: u,
|
|
651
655
|
onClose: d,
|
|
652
656
|
mobile: h = "column",
|
|
653
|
-
align:
|
|
657
|
+
align: w = "right",
|
|
654
658
|
modalAlign: E = "top",
|
|
655
659
|
loading: b
|
|
656
660
|
} = e;
|
|
@@ -666,7 +670,7 @@ const sa = "_modalWrapper_ah6vq_43", pa = "_modalWrapper__modal_ah6vq_54", ca =
|
|
|
666
670
|
Bo,
|
|
667
671
|
{
|
|
668
672
|
mobile: h,
|
|
669
|
-
align:
|
|
673
|
+
align: w,
|
|
670
674
|
cancelBtnContent: a,
|
|
671
675
|
cancelBtnIconName: r,
|
|
672
676
|
cancelBtnDisabled: i,
|
|
@@ -726,11 +730,11 @@ var Lt;
|
|
|
726
730
|
function ha() {
|
|
727
731
|
if (Lt) return U;
|
|
728
732
|
Lt = 1;
|
|
729
|
-
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, f = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120,
|
|
733
|
+
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, f = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, w = e ? Symbol.for("react.memo") : 60115, E = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, j = e ? Symbol.for("react.fundamental") : 60117, O = e ? Symbol.for("react.responder") : 60118, V = e ? Symbol.for("react.scope") : 60119;
|
|
730
734
|
function A(p) {
|
|
731
735
|
if (typeof p == "object" && p !== null) {
|
|
732
|
-
var
|
|
733
|
-
switch (
|
|
736
|
+
var C = p.$$typeof;
|
|
737
|
+
switch (C) {
|
|
734
738
|
case t:
|
|
735
739
|
switch (p = p.type, p) {
|
|
736
740
|
case f:
|
|
@@ -745,24 +749,24 @@ function ha() {
|
|
|
745
749
|
case s:
|
|
746
750
|
case u:
|
|
747
751
|
case E:
|
|
748
|
-
case
|
|
752
|
+
case w:
|
|
749
753
|
case r:
|
|
750
754
|
return p;
|
|
751
755
|
default:
|
|
752
|
-
return
|
|
756
|
+
return C;
|
|
753
757
|
}
|
|
754
758
|
}
|
|
755
759
|
case n:
|
|
756
|
-
return
|
|
760
|
+
return C;
|
|
757
761
|
}
|
|
758
762
|
}
|
|
759
763
|
}
|
|
760
|
-
function
|
|
764
|
+
function y(p) {
|
|
761
765
|
return A(p) === c;
|
|
762
766
|
}
|
|
763
|
-
return U.AsyncMode = f, U.ConcurrentMode = c, U.ContextConsumer = s, U.ContextProvider = r, U.Element = t, U.ForwardRef = u, U.Fragment = o, U.Lazy = E, U.Memo =
|
|
764
|
-
return
|
|
765
|
-
}, U.isConcurrentMode =
|
|
767
|
+
return U.AsyncMode = f, U.ConcurrentMode = c, U.ContextConsumer = s, U.ContextProvider = r, U.Element = t, U.ForwardRef = u, U.Fragment = o, U.Lazy = E, U.Memo = w, U.Portal = n, U.Profiler = i, U.StrictMode = a, U.Suspense = d, U.isAsyncMode = function(p) {
|
|
768
|
+
return y(p) || A(p) === f;
|
|
769
|
+
}, U.isConcurrentMode = y, U.isContextConsumer = function(p) {
|
|
766
770
|
return A(p) === s;
|
|
767
771
|
}, U.isContextProvider = function(p) {
|
|
768
772
|
return A(p) === r;
|
|
@@ -775,7 +779,7 @@ function ha() {
|
|
|
775
779
|
}, U.isLazy = function(p) {
|
|
776
780
|
return A(p) === E;
|
|
777
781
|
}, U.isMemo = function(p) {
|
|
778
|
-
return A(p) ===
|
|
782
|
+
return A(p) === w;
|
|
779
783
|
}, U.isPortal = function(p) {
|
|
780
784
|
return A(p) === n;
|
|
781
785
|
}, U.isProfiler = function(p) {
|
|
@@ -785,7 +789,7 @@ function ha() {
|
|
|
785
789
|
}, U.isSuspense = function(p) {
|
|
786
790
|
return A(p) === d;
|
|
787
791
|
}, U.isValidElementType = function(p) {
|
|
788
|
-
return typeof p == "string" || typeof p == "function" || p === o || p === c || p === i || p === a || p === d || p === h || typeof p == "object" && p !== null && (p.$$typeof === E || p.$$typeof ===
|
|
792
|
+
return typeof p == "string" || typeof p == "function" || p === o || p === c || p === i || p === a || p === d || p === h || typeof p == "object" && p !== null && (p.$$typeof === E || p.$$typeof === w || p.$$typeof === r || p.$$typeof === s || p.$$typeof === u || p.$$typeof === j || p.$$typeof === O || p.$$typeof === V || p.$$typeof === b);
|
|
789
793
|
}, U.typeOf = A, U;
|
|
790
794
|
}
|
|
791
795
|
var G = {};
|
|
@@ -800,12 +804,12 @@ var G = {};
|
|
|
800
804
|
var Pt;
|
|
801
805
|
function ba() {
|
|
802
806
|
return Pt || (Pt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
803
|
-
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, f = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120,
|
|
807
|
+
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, f = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, w = e ? Symbol.for("react.memo") : 60115, E = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, j = e ? Symbol.for("react.fundamental") : 60117, O = e ? Symbol.for("react.responder") : 60118, V = e ? Symbol.for("react.scope") : 60119;
|
|
804
808
|
function A(v) {
|
|
805
809
|
return typeof v == "string" || typeof v == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
806
|
-
v === o || v === c || v === i || v === a || v === d || v === h || typeof v == "object" && v !== null && (v.$$typeof === E || v.$$typeof ===
|
|
810
|
+
v === o || v === c || v === i || v === a || v === d || v === h || typeof v == "object" && v !== null && (v.$$typeof === E || v.$$typeof === w || v.$$typeof === r || v.$$typeof === s || v.$$typeof === u || v.$$typeof === j || v.$$typeof === O || v.$$typeof === V || v.$$typeof === b);
|
|
807
811
|
}
|
|
808
|
-
function
|
|
812
|
+
function y(v) {
|
|
809
813
|
if (typeof v == "object" && v !== null) {
|
|
810
814
|
var fe = v.$$typeof;
|
|
811
815
|
switch (fe) {
|
|
@@ -825,7 +829,7 @@ function ba() {
|
|
|
825
829
|
case s:
|
|
826
830
|
case u:
|
|
827
831
|
case E:
|
|
828
|
-
case
|
|
832
|
+
case w:
|
|
829
833
|
case r:
|
|
830
834
|
return Pe;
|
|
831
835
|
default:
|
|
@@ -837,47 +841,47 @@ function ba() {
|
|
|
837
841
|
}
|
|
838
842
|
}
|
|
839
843
|
}
|
|
840
|
-
var p = f,
|
|
844
|
+
var p = f, C = c, F = s, q = r, J = t, ne = u, ue = o, me = E, le = w, X = n, Z = i, k = a, M = d, K = !1;
|
|
841
845
|
function z(v) {
|
|
842
|
-
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.")), m(v) ||
|
|
846
|
+
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.")), m(v) || y(v) === f;
|
|
843
847
|
}
|
|
844
848
|
function m(v) {
|
|
845
|
-
return
|
|
849
|
+
return y(v) === c;
|
|
846
850
|
}
|
|
847
851
|
function g(v) {
|
|
848
|
-
return
|
|
852
|
+
return y(v) === s;
|
|
849
853
|
}
|
|
850
854
|
function D(v) {
|
|
851
|
-
return
|
|
855
|
+
return y(v) === r;
|
|
852
856
|
}
|
|
853
857
|
function L(v) {
|
|
854
858
|
return typeof v == "object" && v !== null && v.$$typeof === t;
|
|
855
859
|
}
|
|
856
860
|
function N(v) {
|
|
857
|
-
return
|
|
861
|
+
return y(v) === u;
|
|
858
862
|
}
|
|
859
863
|
function W(v) {
|
|
860
|
-
return
|
|
864
|
+
return y(v) === o;
|
|
861
865
|
}
|
|
862
|
-
function
|
|
863
|
-
return
|
|
866
|
+
function R(v) {
|
|
867
|
+
return y(v) === E;
|
|
864
868
|
}
|
|
865
869
|
function P(v) {
|
|
866
|
-
return
|
|
870
|
+
return y(v) === w;
|
|
867
871
|
}
|
|
868
|
-
function
|
|
869
|
-
return
|
|
872
|
+
function $(v) {
|
|
873
|
+
return y(v) === n;
|
|
870
874
|
}
|
|
871
875
|
function H(v) {
|
|
872
|
-
return
|
|
876
|
+
return y(v) === i;
|
|
873
877
|
}
|
|
874
878
|
function B(v) {
|
|
875
|
-
return
|
|
879
|
+
return y(v) === a;
|
|
876
880
|
}
|
|
877
881
|
function te(v) {
|
|
878
|
-
return
|
|
882
|
+
return y(v) === d;
|
|
879
883
|
}
|
|
880
|
-
G.AsyncMode = p, G.ConcurrentMode =
|
|
884
|
+
G.AsyncMode = p, G.ConcurrentMode = C, G.ContextConsumer = F, G.ContextProvider = q, G.Element = J, G.ForwardRef = ne, G.Fragment = ue, G.Lazy = me, G.Memo = le, G.Portal = X, G.Profiler = Z, G.StrictMode = k, G.Suspense = M, G.isAsyncMode = z, G.isConcurrentMode = m, G.isContextConsumer = g, G.isContextProvider = D, G.isElement = L, G.isForwardRef = N, G.isFragment = W, G.isLazy = R, G.isMemo = P, G.isPortal = $, G.isProfiler = H, G.isStrictMode = B, G.isSuspense = te, G.isValidElementType = A, G.typeOf = y;
|
|
881
885
|
}()), G;
|
|
882
886
|
}
|
|
883
887
|
var Ft;
|
|
@@ -983,9 +987,9 @@ function wa() {
|
|
|
983
987
|
(f || "React class") + ": type specification of " + s + " `" + u + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof d + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
984
988
|
), d instanceof Error && !(d.message in n)) {
|
|
985
989
|
n[d.message] = !0;
|
|
986
|
-
var
|
|
990
|
+
var w = c ? c() : "";
|
|
987
991
|
e(
|
|
988
|
-
"Failed " + s + " type: " + d.message + (
|
|
992
|
+
"Failed " + s + " type: " + d.message + (w ?? "")
|
|
989
993
|
);
|
|
990
994
|
}
|
|
991
995
|
}
|
|
@@ -995,10 +999,10 @@ function wa() {
|
|
|
995
999
|
process.env.NODE_ENV !== "production" && (n = {});
|
|
996
1000
|
}, ft = a, ft;
|
|
997
1001
|
}
|
|
998
|
-
var _t,
|
|
1002
|
+
var _t, $t;
|
|
999
1003
|
function ka() {
|
|
1000
|
-
if (
|
|
1001
|
-
|
|
1004
|
+
if ($t) return _t;
|
|
1005
|
+
$t = 1;
|
|
1002
1006
|
var e = xn(), t = ya(), n = It(), o = gn(), a = wa(), i = function() {
|
|
1003
1007
|
};
|
|
1004
1008
|
process.env.NODE_ENV !== "production" && (i = function(s) {
|
|
@@ -1019,7 +1023,7 @@ function ka() {
|
|
|
1019
1023
|
if (typeof g == "function")
|
|
1020
1024
|
return g;
|
|
1021
1025
|
}
|
|
1022
|
-
var h = "<<anonymous>>",
|
|
1026
|
+
var h = "<<anonymous>>", w = {
|
|
1023
1027
|
array: O("array"),
|
|
1024
1028
|
bigint: O("bigint"),
|
|
1025
1029
|
bool: O("boolean"),
|
|
@@ -1030,11 +1034,11 @@ function ka() {
|
|
|
1030
1034
|
symbol: O("symbol"),
|
|
1031
1035
|
any: V(),
|
|
1032
1036
|
arrayOf: A,
|
|
1033
|
-
element:
|
|
1037
|
+
element: y(),
|
|
1034
1038
|
elementType: p(),
|
|
1035
|
-
instanceOf:
|
|
1039
|
+
instanceOf: C,
|
|
1036
1040
|
node: ne(),
|
|
1037
|
-
objectOf:
|
|
1041
|
+
objectOf: q,
|
|
1038
1042
|
oneOf: F,
|
|
1039
1043
|
oneOfType: J,
|
|
1040
1044
|
shape: me,
|
|
@@ -1047,129 +1051,129 @@ function ka() {
|
|
|
1047
1051
|
this.message = m, this.data = g && typeof g == "object" ? g : {}, this.stack = "";
|
|
1048
1052
|
}
|
|
1049
1053
|
b.prototype = Error.prototype;
|
|
1050
|
-
function
|
|
1054
|
+
function j(m) {
|
|
1051
1055
|
if (process.env.NODE_ENV !== "production")
|
|
1052
1056
|
var g = {}, D = 0;
|
|
1053
|
-
function L(W,
|
|
1054
|
-
if (
|
|
1057
|
+
function L(W, R, P, $, H, B, te) {
|
|
1058
|
+
if ($ = $ || h, B = B || P, te !== n) {
|
|
1055
1059
|
if (f) {
|
|
1056
1060
|
var v = new Error(
|
|
1057
1061
|
"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
1062
|
);
|
|
1059
1063
|
throw v.name = "Invariant Violation", v;
|
|
1060
1064
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1061
|
-
var fe =
|
|
1065
|
+
var fe = $ + ":" + P;
|
|
1062
1066
|
!g[fe] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
1063
1067
|
D < 3 && (i(
|
|
1064
|
-
"You are manually calling a React.PropTypes validation function for the `" + B + "` prop on `" +
|
|
1068
|
+
"You are manually calling a React.PropTypes validation function for the `" + B + "` prop on `" + $ + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
1065
1069
|
), g[fe] = !0, D++);
|
|
1066
1070
|
}
|
|
1067
1071
|
}
|
|
1068
|
-
return
|
|
1072
|
+
return R[P] == null ? W ? R[P] === null ? new b("The " + H + " `" + B + "` is marked as required " + ("in `" + $ + "`, but its value is `null`.")) : new b("The " + H + " `" + B + "` is marked as required in " + ("`" + $ + "`, but its value is `undefined`.")) : null : m(R, P, $, H, B);
|
|
1069
1073
|
}
|
|
1070
1074
|
var N = L.bind(null, !1);
|
|
1071
1075
|
return N.isRequired = L.bind(null, !0), N;
|
|
1072
1076
|
}
|
|
1073
1077
|
function O(m) {
|
|
1074
|
-
function g(D, L, N, W,
|
|
1075
|
-
var
|
|
1078
|
+
function g(D, L, N, W, R, P) {
|
|
1079
|
+
var $ = D[L], H = k($);
|
|
1076
1080
|
if (H !== m) {
|
|
1077
|
-
var B = M(
|
|
1081
|
+
var B = M($);
|
|
1078
1082
|
return new b(
|
|
1079
|
-
"Invalid " + W + " `" +
|
|
1083
|
+
"Invalid " + W + " `" + R + "` of type " + ("`" + B + "` supplied to `" + N + "`, expected ") + ("`" + m + "`."),
|
|
1080
1084
|
{ expectedType: m }
|
|
1081
1085
|
);
|
|
1082
1086
|
}
|
|
1083
1087
|
return null;
|
|
1084
1088
|
}
|
|
1085
|
-
return
|
|
1089
|
+
return j(g);
|
|
1086
1090
|
}
|
|
1087
1091
|
function V() {
|
|
1088
|
-
return
|
|
1092
|
+
return j(r);
|
|
1089
1093
|
}
|
|
1090
1094
|
function A(m) {
|
|
1091
|
-
function g(D, L, N, W,
|
|
1095
|
+
function g(D, L, N, W, R) {
|
|
1092
1096
|
if (typeof m != "function")
|
|
1093
|
-
return new b("Property `" +
|
|
1097
|
+
return new b("Property `" + R + "` of component `" + N + "` has invalid PropType notation inside arrayOf.");
|
|
1094
1098
|
var P = D[L];
|
|
1095
1099
|
if (!Array.isArray(P)) {
|
|
1096
|
-
var
|
|
1097
|
-
return new b("Invalid " + W + " `" +
|
|
1100
|
+
var $ = k(P);
|
|
1101
|
+
return new b("Invalid " + W + " `" + R + "` of type " + ("`" + $ + "` supplied to `" + N + "`, expected an array."));
|
|
1098
1102
|
}
|
|
1099
1103
|
for (var H = 0; H < P.length; H++) {
|
|
1100
|
-
var B = m(P, H, N, W,
|
|
1104
|
+
var B = m(P, H, N, W, R + "[" + H + "]", n);
|
|
1101
1105
|
if (B instanceof Error)
|
|
1102
1106
|
return B;
|
|
1103
1107
|
}
|
|
1104
1108
|
return null;
|
|
1105
1109
|
}
|
|
1106
|
-
return
|
|
1110
|
+
return j(g);
|
|
1107
1111
|
}
|
|
1108
|
-
function
|
|
1112
|
+
function y() {
|
|
1109
1113
|
function m(g, D, L, N, W) {
|
|
1110
|
-
var
|
|
1111
|
-
if (!s(
|
|
1112
|
-
var P = k(
|
|
1114
|
+
var R = g[D];
|
|
1115
|
+
if (!s(R)) {
|
|
1116
|
+
var P = k(R);
|
|
1113
1117
|
return new b("Invalid " + N + " `" + W + "` of type " + ("`" + P + "` supplied to `" + L + "`, expected a single ReactElement."));
|
|
1114
1118
|
}
|
|
1115
1119
|
return null;
|
|
1116
1120
|
}
|
|
1117
|
-
return
|
|
1121
|
+
return j(m);
|
|
1118
1122
|
}
|
|
1119
1123
|
function p() {
|
|
1120
1124
|
function m(g, D, L, N, W) {
|
|
1121
|
-
var
|
|
1122
|
-
if (!e.isValidElementType(
|
|
1123
|
-
var P = k(
|
|
1125
|
+
var R = g[D];
|
|
1126
|
+
if (!e.isValidElementType(R)) {
|
|
1127
|
+
var P = k(R);
|
|
1124
1128
|
return new b("Invalid " + N + " `" + W + "` of type " + ("`" + P + "` supplied to `" + L + "`, expected a single ReactElement type."));
|
|
1125
1129
|
}
|
|
1126
1130
|
return null;
|
|
1127
1131
|
}
|
|
1128
|
-
return
|
|
1132
|
+
return j(m);
|
|
1129
1133
|
}
|
|
1130
|
-
function
|
|
1131
|
-
function g(D, L, N, W,
|
|
1134
|
+
function C(m) {
|
|
1135
|
+
function g(D, L, N, W, R) {
|
|
1132
1136
|
if (!(D[L] instanceof m)) {
|
|
1133
|
-
var P = m.name || h,
|
|
1134
|
-
return new b("Invalid " + W + " `" +
|
|
1137
|
+
var P = m.name || h, $ = z(D[L]);
|
|
1138
|
+
return new b("Invalid " + W + " `" + R + "` of type " + ("`" + $ + "` supplied to `" + N + "`, expected ") + ("instance of `" + P + "`."));
|
|
1135
1139
|
}
|
|
1136
1140
|
return null;
|
|
1137
1141
|
}
|
|
1138
|
-
return
|
|
1142
|
+
return j(g);
|
|
1139
1143
|
}
|
|
1140
1144
|
function F(m) {
|
|
1141
1145
|
if (!Array.isArray(m))
|
|
1142
1146
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
1143
1147
|
"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])."
|
|
1144
1148
|
) : i("Invalid argument supplied to oneOf, expected an array.")), r;
|
|
1145
|
-
function g(D, L, N, W,
|
|
1146
|
-
for (var P = D[L],
|
|
1147
|
-
if (E(P, m[
|
|
1149
|
+
function g(D, L, N, W, R) {
|
|
1150
|
+
for (var P = D[L], $ = 0; $ < m.length; $++)
|
|
1151
|
+
if (E(P, m[$]))
|
|
1148
1152
|
return null;
|
|
1149
1153
|
var H = JSON.stringify(m, function(te, v) {
|
|
1150
1154
|
var fe = M(v);
|
|
1151
1155
|
return fe === "symbol" ? String(v) : v;
|
|
1152
1156
|
});
|
|
1153
|
-
return new b("Invalid " + W + " `" +
|
|
1157
|
+
return new b("Invalid " + W + " `" + R + "` of value `" + String(P) + "` " + ("supplied to `" + N + "`, expected one of " + H + "."));
|
|
1154
1158
|
}
|
|
1155
|
-
return
|
|
1159
|
+
return j(g);
|
|
1156
1160
|
}
|
|
1157
|
-
function
|
|
1158
|
-
function g(D, L, N, W,
|
|
1161
|
+
function q(m) {
|
|
1162
|
+
function g(D, L, N, W, R) {
|
|
1159
1163
|
if (typeof m != "function")
|
|
1160
|
-
return new b("Property `" +
|
|
1161
|
-
var P = D[L],
|
|
1162
|
-
if (
|
|
1163
|
-
return new b("Invalid " + W + " `" +
|
|
1164
|
+
return new b("Property `" + R + "` of component `" + N + "` has invalid PropType notation inside objectOf.");
|
|
1165
|
+
var P = D[L], $ = k(P);
|
|
1166
|
+
if ($ !== "object")
|
|
1167
|
+
return new b("Invalid " + W + " `" + R + "` of type " + ("`" + $ + "` supplied to `" + N + "`, expected an object."));
|
|
1164
1168
|
for (var H in P)
|
|
1165
1169
|
if (o(P, H)) {
|
|
1166
|
-
var B = m(P, H, N, W,
|
|
1170
|
+
var B = m(P, H, N, W, R + "." + H, n);
|
|
1167
1171
|
if (B instanceof Error)
|
|
1168
1172
|
return B;
|
|
1169
1173
|
}
|
|
1170
1174
|
return null;
|
|
1171
1175
|
}
|
|
1172
|
-
return
|
|
1176
|
+
return j(g);
|
|
1173
1177
|
}
|
|
1174
1178
|
function J(m) {
|
|
1175
1179
|
if (!Array.isArray(m))
|
|
@@ -1181,23 +1185,23 @@ function ka() {
|
|
|
1181
1185
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + K(D) + " at index " + g + "."
|
|
1182
1186
|
), r;
|
|
1183
1187
|
}
|
|
1184
|
-
function L(N, W,
|
|
1188
|
+
function L(N, W, R, P, $) {
|
|
1185
1189
|
for (var H = [], B = 0; B < m.length; B++) {
|
|
1186
|
-
var te = m[B], v = te(N, W,
|
|
1190
|
+
var te = m[B], v = te(N, W, R, P, $, n);
|
|
1187
1191
|
if (v == null)
|
|
1188
1192
|
return null;
|
|
1189
1193
|
v.data && o(v.data, "expectedType") && H.push(v.data.expectedType);
|
|
1190
1194
|
}
|
|
1191
1195
|
var fe = H.length > 0 ? ", expected one of type [" + H.join(", ") + "]" : "";
|
|
1192
|
-
return new b("Invalid " + P + " `" +
|
|
1196
|
+
return new b("Invalid " + P + " `" + $ + "` supplied to " + ("`" + R + "`" + fe + "."));
|
|
1193
1197
|
}
|
|
1194
|
-
return
|
|
1198
|
+
return j(L);
|
|
1195
1199
|
}
|
|
1196
1200
|
function ne() {
|
|
1197
1201
|
function m(g, D, L, N, W) {
|
|
1198
1202
|
return X(g[D]) ? null : new b("Invalid " + N + " `" + W + "` supplied to " + ("`" + L + "`, expected a ReactNode."));
|
|
1199
1203
|
}
|
|
1200
|
-
return
|
|
1204
|
+
return j(m);
|
|
1201
1205
|
}
|
|
1202
1206
|
function ue(m, g, D, L, N) {
|
|
1203
1207
|
return new b(
|
|
@@ -1205,44 +1209,44 @@ function ka() {
|
|
|
1205
1209
|
);
|
|
1206
1210
|
}
|
|
1207
1211
|
function me(m) {
|
|
1208
|
-
function g(D, L, N, W,
|
|
1209
|
-
var P = D[L],
|
|
1210
|
-
if (
|
|
1211
|
-
return new b("Invalid " + W + " `" +
|
|
1212
|
+
function g(D, L, N, W, R) {
|
|
1213
|
+
var P = D[L], $ = k(P);
|
|
1214
|
+
if ($ !== "object")
|
|
1215
|
+
return new b("Invalid " + W + " `" + R + "` of type `" + $ + "` " + ("supplied to `" + N + "`, expected `object`."));
|
|
1212
1216
|
for (var H in m) {
|
|
1213
1217
|
var B = m[H];
|
|
1214
1218
|
if (typeof B != "function")
|
|
1215
|
-
return ue(N, W,
|
|
1216
|
-
var te = B(P, H, N, W,
|
|
1219
|
+
return ue(N, W, R, H, M(B));
|
|
1220
|
+
var te = B(P, H, N, W, R + "." + H, n);
|
|
1217
1221
|
if (te)
|
|
1218
1222
|
return te;
|
|
1219
1223
|
}
|
|
1220
1224
|
return null;
|
|
1221
1225
|
}
|
|
1222
|
-
return
|
|
1226
|
+
return j(g);
|
|
1223
1227
|
}
|
|
1224
1228
|
function le(m) {
|
|
1225
|
-
function g(D, L, N, W,
|
|
1226
|
-
var P = D[L],
|
|
1227
|
-
if (
|
|
1228
|
-
return new b("Invalid " + W + " `" +
|
|
1229
|
+
function g(D, L, N, W, R) {
|
|
1230
|
+
var P = D[L], $ = k(P);
|
|
1231
|
+
if ($ !== "object")
|
|
1232
|
+
return new b("Invalid " + W + " `" + R + "` of type `" + $ + "` " + ("supplied to `" + N + "`, expected `object`."));
|
|
1229
1233
|
var H = t({}, D[L], m);
|
|
1230
1234
|
for (var B in H) {
|
|
1231
1235
|
var te = m[B];
|
|
1232
1236
|
if (o(m, B) && typeof te != "function")
|
|
1233
|
-
return ue(N, W,
|
|
1237
|
+
return ue(N, W, R, B, M(te));
|
|
1234
1238
|
if (!te)
|
|
1235
1239
|
return new b(
|
|
1236
|
-
"Invalid " + W + " `" +
|
|
1240
|
+
"Invalid " + W + " `" + R + "` key `" + B + "` supplied to `" + N + "`.\nBad object: " + JSON.stringify(D[L], null, " ") + `
|
|
1237
1241
|
Valid keys: ` + JSON.stringify(Object.keys(m), null, " ")
|
|
1238
1242
|
);
|
|
1239
|
-
var v = te(P, B, N, W,
|
|
1243
|
+
var v = te(P, B, N, W, R + "." + B, n);
|
|
1240
1244
|
if (v)
|
|
1241
1245
|
return v;
|
|
1242
1246
|
}
|
|
1243
1247
|
return null;
|
|
1244
1248
|
}
|
|
1245
|
-
return
|
|
1249
|
+
return j(g);
|
|
1246
1250
|
}
|
|
1247
1251
|
function X(m) {
|
|
1248
1252
|
switch (typeof m) {
|
|
@@ -1313,13 +1317,13 @@ Valid keys: ` + JSON.stringify(Object.keys(m), null, " ")
|
|
|
1313
1317
|
function z(m) {
|
|
1314
1318
|
return !m.constructor || !m.constructor.name ? h : m.constructor.name;
|
|
1315
1319
|
}
|
|
1316
|
-
return
|
|
1320
|
+
return w.checkPropTypes = a, w.resetWarningCache = a.resetWarningCache, w.PropTypes = w, w;
|
|
1317
1321
|
}, _t;
|
|
1318
1322
|
}
|
|
1319
|
-
var vt,
|
|
1323
|
+
var vt, qt;
|
|
1320
1324
|
function Ca() {
|
|
1321
|
-
if (
|
|
1322
|
-
|
|
1325
|
+
if (qt) return vt;
|
|
1326
|
+
qt = 1;
|
|
1323
1327
|
var e = It();
|
|
1324
1328
|
function t() {
|
|
1325
1329
|
}
|
|
@@ -1370,7 +1374,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
1370
1374
|
} else
|
|
1371
1375
|
wt.exports = Ca()();
|
|
1372
1376
|
var Sa = wt.exports;
|
|
1373
|
-
const
|
|
1377
|
+
const T = /* @__PURE__ */ vn(Sa);
|
|
1374
1378
|
function Re(e, t, n, o) {
|
|
1375
1379
|
function a(i) {
|
|
1376
1380
|
return i instanceof n ? i : new n(function(r) {
|
|
@@ -2764,7 +2768,7 @@ var xt = function(e, t) {
|
|
|
2764
2768
|
return !0;
|
|
2765
2769
|
};
|
|
2766
2770
|
function Ut(e) {
|
|
2767
|
-
return
|
|
2771
|
+
return $a(e) || Wa(e) || wn(e) || Ma();
|
|
2768
2772
|
}
|
|
2769
2773
|
function Ma() {
|
|
2770
2774
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
@@ -2773,7 +2777,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2773
2777
|
function Wa(e) {
|
|
2774
2778
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
2775
2779
|
}
|
|
2776
|
-
function
|
|
2780
|
+
function $a(e) {
|
|
2777
2781
|
if (Array.isArray(e)) return Ct(e);
|
|
2778
2782
|
}
|
|
2779
2783
|
function Gt(e, t) {
|
|
@@ -2801,9 +2805,9 @@ function yn(e, t, n) {
|
|
|
2801
2805
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
2802
2806
|
}
|
|
2803
2807
|
function Me(e, t) {
|
|
2804
|
-
return Ya(e) || Ha(e, t) || wn(e, t) ||
|
|
2808
|
+
return Ya(e) || Ha(e, t) || wn(e, t) || qa();
|
|
2805
2809
|
}
|
|
2806
|
-
function
|
|
2810
|
+
function qa() {
|
|
2807
2811
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2808
2812
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2809
2813
|
}
|
|
@@ -2884,7 +2888,7 @@ function je(e) {
|
|
|
2884
2888
|
function Ja(e) {
|
|
2885
2889
|
var t = e.files, n = e.accept, o = e.minSize, a = e.maxSize, i = e.multiple, r = e.maxFiles, s = e.validator;
|
|
2886
2890
|
return !i && t.length > 1 || i && r >= 1 && t.length > r ? !1 : t.every(function(f) {
|
|
2887
|
-
var c = kn(f, n), u = Me(c, 1), d = u[0], h = Cn(f, o, a),
|
|
2891
|
+
var c = kn(f, n), u = Me(c, 1), d = u[0], h = Cn(f, o, a), w = Me(h, 1), E = w[0], b = s ? s(f) : null;
|
|
2888
2892
|
return d && E && !b;
|
|
2889
2893
|
});
|
|
2890
2894
|
}
|
|
@@ -3103,7 +3107,7 @@ Je.propTypes = {
|
|
|
3103
3107
|
* @param {File[]} params.acceptedFiles Accepted files
|
|
3104
3108
|
* @param {FileRejection[]} params.fileRejections Rejected files and why they were rejected
|
|
3105
3109
|
*/
|
|
3106
|
-
children:
|
|
3110
|
+
children: T.func,
|
|
3107
3111
|
/**
|
|
3108
3112
|
* Set accepted file types.
|
|
3109
3113
|
* Checkout https://developer.mozilla.org/en-US/docs/Web/API/window/showOpenFilePicker types option for more information.
|
|
@@ -3111,90 +3115,90 @@ Je.propTypes = {
|
|
|
3111
3115
|
* for example, are reported as text/plain under macOS but as application/vnd.ms-excel under
|
|
3112
3116
|
* Windows. In some cases there might not be a mime type set at all (https://github.com/react-dropzone/react-dropzone/issues/276).
|
|
3113
3117
|
*/
|
|
3114
|
-
accept:
|
|
3118
|
+
accept: T.objectOf(T.arrayOf(T.string)),
|
|
3115
3119
|
/**
|
|
3116
3120
|
* Allow drag 'n' drop (or selection from the file dialog) of multiple files
|
|
3117
3121
|
*/
|
|
3118
|
-
multiple:
|
|
3122
|
+
multiple: T.bool,
|
|
3119
3123
|
/**
|
|
3120
3124
|
* If false, allow dropped items to take over the current browser window
|
|
3121
3125
|
*/
|
|
3122
|
-
preventDropOnDocument:
|
|
3126
|
+
preventDropOnDocument: T.bool,
|
|
3123
3127
|
/**
|
|
3124
3128
|
* If true, disables click to open the native file selection dialog
|
|
3125
3129
|
*/
|
|
3126
|
-
noClick:
|
|
3130
|
+
noClick: T.bool,
|
|
3127
3131
|
/**
|
|
3128
3132
|
* If true, disables SPACE/ENTER to open the native file selection dialog.
|
|
3129
3133
|
* Note that it also stops tracking the focus state.
|
|
3130
3134
|
*/
|
|
3131
|
-
noKeyboard:
|
|
3135
|
+
noKeyboard: T.bool,
|
|
3132
3136
|
/**
|
|
3133
3137
|
* If true, disables drag 'n' drop
|
|
3134
3138
|
*/
|
|
3135
|
-
noDrag:
|
|
3139
|
+
noDrag: T.bool,
|
|
3136
3140
|
/**
|
|
3137
3141
|
* If true, stops drag event propagation to parents
|
|
3138
3142
|
*/
|
|
3139
|
-
noDragEventsBubbling:
|
|
3143
|
+
noDragEventsBubbling: T.bool,
|
|
3140
3144
|
/**
|
|
3141
3145
|
* Minimum file size (in bytes)
|
|
3142
3146
|
*/
|
|
3143
|
-
minSize:
|
|
3147
|
+
minSize: T.number,
|
|
3144
3148
|
/**
|
|
3145
3149
|
* Maximum file size (in bytes)
|
|
3146
3150
|
*/
|
|
3147
|
-
maxSize:
|
|
3151
|
+
maxSize: T.number,
|
|
3148
3152
|
/**
|
|
3149
3153
|
* Maximum accepted number of files
|
|
3150
3154
|
* The default value is 0 which means there is no limitation to how many files are accepted.
|
|
3151
3155
|
*/
|
|
3152
|
-
maxFiles:
|
|
3156
|
+
maxFiles: T.number,
|
|
3153
3157
|
/**
|
|
3154
3158
|
* Enable/disable the dropzone
|
|
3155
3159
|
*/
|
|
3156
|
-
disabled:
|
|
3160
|
+
disabled: T.bool,
|
|
3157
3161
|
/**
|
|
3158
3162
|
* Use this to provide a custom file aggregator
|
|
3159
3163
|
*
|
|
3160
3164
|
* @param {(DragEvent|Event|Array<FileSystemFileHandle>)} event A drag event or input change event (if files were selected via the file dialog)
|
|
3161
3165
|
*/
|
|
3162
|
-
getFilesFromEvent:
|
|
3166
|
+
getFilesFromEvent: T.func,
|
|
3163
3167
|
/**
|
|
3164
3168
|
* Cb for when closing the file dialog with no selection
|
|
3165
3169
|
*/
|
|
3166
|
-
onFileDialogCancel:
|
|
3170
|
+
onFileDialogCancel: T.func,
|
|
3167
3171
|
/**
|
|
3168
3172
|
* Cb for when opening the file dialog
|
|
3169
3173
|
*/
|
|
3170
|
-
onFileDialogOpen:
|
|
3174
|
+
onFileDialogOpen: T.func,
|
|
3171
3175
|
/**
|
|
3172
3176
|
* Set to true to use the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API
|
|
3173
3177
|
* to open the file picker instead of using an `<input type="file">` click event.
|
|
3174
3178
|
*/
|
|
3175
|
-
useFsAccessApi:
|
|
3179
|
+
useFsAccessApi: T.bool,
|
|
3176
3180
|
/**
|
|
3177
3181
|
* Set to true to focus the root element on render
|
|
3178
3182
|
*/
|
|
3179
|
-
autoFocus:
|
|
3183
|
+
autoFocus: T.bool,
|
|
3180
3184
|
/**
|
|
3181
3185
|
* Cb for when the `dragenter` event occurs.
|
|
3182
3186
|
*
|
|
3183
3187
|
* @param {DragEvent} event
|
|
3184
3188
|
*/
|
|
3185
|
-
onDragEnter:
|
|
3189
|
+
onDragEnter: T.func,
|
|
3186
3190
|
/**
|
|
3187
3191
|
* Cb for when the `dragleave` event occurs
|
|
3188
3192
|
*
|
|
3189
3193
|
* @param {DragEvent} event
|
|
3190
3194
|
*/
|
|
3191
|
-
onDragLeave:
|
|
3195
|
+
onDragLeave: T.func,
|
|
3192
3196
|
/**
|
|
3193
3197
|
* Cb for when the `dragover` event occurs
|
|
3194
3198
|
*
|
|
3195
3199
|
* @param {DragEvent} event
|
|
3196
3200
|
*/
|
|
3197
|
-
onDragOver:
|
|
3201
|
+
onDragOver: T.func,
|
|
3198
3202
|
/**
|
|
3199
3203
|
* Cb for when the `drop` event occurs.
|
|
3200
3204
|
* Note that this callback is invoked after the `getFilesFromEvent` callback is done.
|
|
@@ -3225,7 +3229,7 @@ Je.propTypes = {
|
|
|
3225
3229
|
* @param {FileRejection[]} fileRejections
|
|
3226
3230
|
* @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)
|
|
3227
3231
|
*/
|
|
3228
|
-
onDrop:
|
|
3232
|
+
onDrop: T.func,
|
|
3229
3233
|
/**
|
|
3230
3234
|
* Cb for when the `drop` event occurs.
|
|
3231
3235
|
* Note that if no files are accepted, this callback is not invoked.
|
|
@@ -3233,7 +3237,7 @@ Je.propTypes = {
|
|
|
3233
3237
|
* @param {File[]} files
|
|
3234
3238
|
* @param {(DragEvent|Event)} event
|
|
3235
3239
|
*/
|
|
3236
|
-
onDropAccepted:
|
|
3240
|
+
onDropAccepted: T.func,
|
|
3237
3241
|
/**
|
|
3238
3242
|
* Cb for when the `drop` event occurs.
|
|
3239
3243
|
* Note that if no files are rejected, this callback is not invoked.
|
|
@@ -3241,19 +3245,19 @@ Je.propTypes = {
|
|
|
3241
3245
|
* @param {FileRejection[]} fileRejections
|
|
3242
3246
|
* @param {(DragEvent|Event)} event
|
|
3243
3247
|
*/
|
|
3244
|
-
onDropRejected:
|
|
3248
|
+
onDropRejected: T.func,
|
|
3245
3249
|
/**
|
|
3246
3250
|
* Cb for when there's some error from any of the promises.
|
|
3247
3251
|
*
|
|
3248
3252
|
* @param {Error} error
|
|
3249
3253
|
*/
|
|
3250
|
-
onError:
|
|
3254
|
+
onError: T.func,
|
|
3251
3255
|
/**
|
|
3252
3256
|
* Custom validation function. It must return null if there's no errors.
|
|
3253
3257
|
* @param {File} file
|
|
3254
3258
|
* @returns {FileError|FileError[]|null}
|
|
3255
3259
|
*/
|
|
3256
|
-
validator:
|
|
3260
|
+
validator: T.func
|
|
3257
3261
|
};
|
|
3258
3262
|
var St = {
|
|
3259
3263
|
isFocused: !1,
|
|
@@ -3265,13 +3269,13 @@ var St = {
|
|
|
3265
3269
|
fileRejections: []
|
|
3266
3270
|
};
|
|
3267
3271
|
function bi() {
|
|
3268
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = Q(Q({}, Nn), e), n = t.accept, o = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, f = t.maxFiles, c = t.onDragEnter, u = t.onDragLeave, d = t.onDragOver, h = t.onDrop,
|
|
3272
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = Q(Q({}, Nn), e), n = t.accept, o = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, f = t.maxFiles, c = t.onDragEnter, u = t.onDragLeave, d = t.onDragOver, h = t.onDrop, w = t.onDropAccepted, E = t.onDropRejected, b = t.onFileDialogCancel, j = t.onFileDialogOpen, O = t.useFsAccessApi, V = t.autoFocus, A = t.preventDropOnDocument, y = t.noClick, p = t.noKeyboard, C = t.noDrag, F = t.noDragEventsBubbling, q = t.onError, J = t.validator, ne = Oe(function() {
|
|
3269
3273
|
return ii(n);
|
|
3270
3274
|
}, [n]), ue = Oe(function() {
|
|
3271
3275
|
return ai(n);
|
|
3272
3276
|
}, [n]), me = Oe(function() {
|
|
3273
|
-
return typeof
|
|
3274
|
-
}, [
|
|
3277
|
+
return typeof j == "function" ? j : en;
|
|
3278
|
+
}, [j]), le = Oe(function() {
|
|
3275
3279
|
return typeof b == "function" ? b : en;
|
|
3276
3280
|
}, [b]), X = Te(null), Z = Te(null), k = Wn(yi, St), M = gt(k, 2), K = M[0], z = M[1], m = K.isFocused, g = K.isFileDialogActive, D = Te(typeof window < "u" && window.isSecureContext && O && oi()), L = function() {
|
|
3277
3281
|
!D.current && g && setTimeout(function() {
|
|
@@ -3299,10 +3303,10 @@ function bi() {
|
|
|
3299
3303
|
return !o && V && X.current && X.current.focus(), function() {
|
|
3300
3304
|
};
|
|
3301
3305
|
}, [X, V, o]);
|
|
3302
|
-
var
|
|
3303
|
-
|
|
3304
|
-
}, [
|
|
3305
|
-
x.preventDefault(), x.persist(),
|
|
3306
|
+
var R = de(function(x) {
|
|
3307
|
+
q ? q(x) : console.error(x);
|
|
3308
|
+
}, [q]), P = de(function(x) {
|
|
3309
|
+
x.preventDefault(), x.persist(), qe(x), N.current = [].concat(ui(N.current), [x.target]), Ue(x) && Promise.resolve(a(x)).then(function(S) {
|
|
3306
3310
|
if (!(Xe(x) && !F)) {
|
|
3307
3311
|
var ee = S.length, oe = ee > 0 && Ja({
|
|
3308
3312
|
files: S,
|
|
@@ -3321,10 +3325,10 @@ function bi() {
|
|
|
3321
3325
|
}), c && c(x);
|
|
3322
3326
|
}
|
|
3323
3327
|
}).catch(function(S) {
|
|
3324
|
-
return
|
|
3328
|
+
return R(S);
|
|
3325
3329
|
});
|
|
3326
|
-
}, [a, c,
|
|
3327
|
-
x.preventDefault(), x.persist(),
|
|
3330
|
+
}, [a, c, R, F, ne, r, i, s, f, J]), $ = de(function(x) {
|
|
3331
|
+
x.preventDefault(), x.persist(), qe(x);
|
|
3328
3332
|
var S = Ue(x);
|
|
3329
3333
|
if (S && x.dataTransfer)
|
|
3330
3334
|
try {
|
|
@@ -3333,7 +3337,7 @@ function bi() {
|
|
|
3333
3337
|
}
|
|
3334
3338
|
return S && d && d(x), !1;
|
|
3335
3339
|
}, [d, F]), H = de(function(x) {
|
|
3336
|
-
x.preventDefault(), x.persist(),
|
|
3340
|
+
x.preventDefault(), x.persist(), qe(x);
|
|
3337
3341
|
var S = N.current.filter(function(oe) {
|
|
3338
3342
|
return X.current && X.current.contains(oe);
|
|
3339
3343
|
}), ee = S.indexOf(x.target);
|
|
@@ -3368,16 +3372,16 @@ function bi() {
|
|
|
3368
3372
|
fileRejections: oe,
|
|
3369
3373
|
isDragReject: oe.length > 0,
|
|
3370
3374
|
type: "setFiles"
|
|
3371
|
-
}), h && h(ee, oe, S), oe.length > 0 && E && E(oe, S), ee.length > 0 &&
|
|
3372
|
-
}, [z, s, ne, r, i, f, h,
|
|
3373
|
-
x.preventDefault(), x.persist(),
|
|
3375
|
+
}), h && h(ee, oe, S), oe.length > 0 && E && E(oe, S), ee.length > 0 && w && w(ee, S);
|
|
3376
|
+
}, [z, s, ne, r, i, f, h, w, E, J]), te = de(function(x) {
|
|
3377
|
+
x.preventDefault(), x.persist(), qe(x), N.current = [], Ue(x) && Promise.resolve(a(x)).then(function(S) {
|
|
3374
3378
|
Xe(x) && !F || B(S, x);
|
|
3375
3379
|
}).catch(function(S) {
|
|
3376
|
-
return
|
|
3380
|
+
return R(S);
|
|
3377
3381
|
}), z({
|
|
3378
3382
|
type: "reset"
|
|
3379
3383
|
});
|
|
3380
|
-
}, [a, B,
|
|
3384
|
+
}, [a, B, R, F]), v = de(function() {
|
|
3381
3385
|
if (D.current) {
|
|
3382
3386
|
z({
|
|
3383
3387
|
type: "openDialog"
|
|
@@ -3395,14 +3399,14 @@ function bi() {
|
|
|
3395
3399
|
}).catch(function(S) {
|
|
3396
3400
|
ri(S) ? (le(S), z({
|
|
3397
3401
|
type: "closeDialog"
|
|
3398
|
-
})) : si(S) ? (D.current = !1, Z.current ? (Z.current.value = null, Z.current.click()) :
|
|
3402
|
+
})) : si(S) ? (D.current = !1, Z.current ? (Z.current.value = null, Z.current.click()) : R(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))) : R(S);
|
|
3399
3403
|
});
|
|
3400
3404
|
return;
|
|
3401
3405
|
}
|
|
3402
3406
|
Z.current && (z({
|
|
3403
3407
|
type: "openDialog"
|
|
3404
3408
|
}), me(), Z.current.value = null, Z.current.click());
|
|
3405
|
-
}, [z, me, le, O, B,
|
|
3409
|
+
}, [z, me, le, O, B, R, ue, s]), fe = de(function(x) {
|
|
3406
3410
|
!X.current || !X.current.isEqualNode(x.target) || (x.key === " " || x.key === "Enter" || x.keyCode === 32 || x.keyCode === 13) && (x.preventDefault(), v());
|
|
3407
3411
|
}, [X, v]), Ne = de(function() {
|
|
3408
3412
|
z({
|
|
@@ -3413,14 +3417,14 @@ function bi() {
|
|
|
3413
3417
|
type: "blur"
|
|
3414
3418
|
});
|
|
3415
3419
|
}, []), At = de(function() {
|
|
3416
|
-
|
|
3417
|
-
}, [
|
|
3420
|
+
y || (ni() ? setTimeout(v, 0) : v());
|
|
3421
|
+
}, [y, v]), Ae = function(S) {
|
|
3418
3422
|
return o ? null : S;
|
|
3419
3423
|
}, et = function(S) {
|
|
3420
3424
|
return p ? null : Ae(S);
|
|
3421
|
-
}, qe = function(S) {
|
|
3422
|
-
return T ? null : Ae(S);
|
|
3423
3425
|
}, $e = function(S) {
|
|
3426
|
+
return C ? null : Ae(S);
|
|
3427
|
+
}, qe = function(S) {
|
|
3424
3428
|
F && S.stopPropagation();
|
|
3425
3429
|
}, On = Oe(function() {
|
|
3426
3430
|
return function() {
|
|
@@ -3430,16 +3434,16 @@ function bi() {
|
|
|
3430
3434
|
onFocus: et(we(Fe, Ne)),
|
|
3431
3435
|
onBlur: et(we(De, Pe)),
|
|
3432
3436
|
onClick: Ae(we(tt, At)),
|
|
3433
|
-
onDragEnter:
|
|
3434
|
-
onDragOver:
|
|
3435
|
-
onDragLeave:
|
|
3436
|
-
onDrop:
|
|
3437
|
+
onDragEnter: $e(we(nt, P)),
|
|
3438
|
+
onDragOver: $e(we(ot, $)),
|
|
3439
|
+
onDragLeave: $e(we(He, H)),
|
|
3440
|
+
onDrop: $e(we(at, te)),
|
|
3437
3441
|
role: typeof oe == "string" && oe !== "" ? oe : "presentation"
|
|
3438
3442
|
}, ee, X), !o && !p ? {
|
|
3439
3443
|
tabIndex: 0
|
|
3440
3444
|
} : {}), it);
|
|
3441
3445
|
};
|
|
3442
|
-
}, [X, fe, Ne, Pe, At, P,
|
|
3446
|
+
}, [X, fe, Ne, Pe, At, P, $, H, te, p, C, o]), Ln = de(function(x) {
|
|
3443
3447
|
x.stopPropagation();
|
|
3444
3448
|
}, []), Pn = Oe(function() {
|
|
3445
3449
|
return function() {
|
|
@@ -3557,7 +3561,7 @@ const wi = (e) => {
|
|
|
3557
3561
|
labelText: t = "Выпадающий список",
|
|
3558
3562
|
listName: n,
|
|
3559
3563
|
dropdownList: o = [],
|
|
3560
|
-
dropdownPosition: a =
|
|
3564
|
+
dropdownPosition: a = re.BottomRight,
|
|
3561
3565
|
classNameRoot: i
|
|
3562
3566
|
} = e, r = _({
|
|
3563
3567
|
[Ee.spDropdown]: !0,
|
|
@@ -3572,16 +3576,16 @@ const wi = (e) => {
|
|
|
3572
3576
|
[Ee.spDropdown__dropdownListHeader]: !0
|
|
3573
3577
|
}), d = _({
|
|
3574
3578
|
[Ee.spDropdown__downloadListItemDescription]: !0
|
|
3575
|
-
}), [h,
|
|
3579
|
+
}), [h, w] = ce(!1);
|
|
3576
3580
|
return /* @__PURE__ */ l(
|
|
3577
3581
|
Nt,
|
|
3578
3582
|
{
|
|
3579
3583
|
hover: !1,
|
|
3580
|
-
triggerAction: () =>
|
|
3581
|
-
actionOnClose: () =>
|
|
3584
|
+
triggerAction: () => w(!0),
|
|
3585
|
+
actionOnClose: () => w(!1),
|
|
3582
3586
|
text: /* @__PURE__ */ Y("div", { className: c, children: [
|
|
3583
3587
|
n && /* @__PURE__ */ l("div", { className: u, children: n }),
|
|
3584
|
-
o.map((b,
|
|
3588
|
+
o.map((b, j) => /* @__PURE__ */ Y(
|
|
3585
3589
|
"div",
|
|
3586
3590
|
{
|
|
3587
3591
|
className: _({
|
|
@@ -3594,7 +3598,7 @@ const wi = (e) => {
|
|
|
3594
3598
|
b.description && /* @__PURE__ */ l("span", { className: d, children: b.description })
|
|
3595
3599
|
]
|
|
3596
3600
|
},
|
|
3597
|
-
|
|
3601
|
+
j
|
|
3598
3602
|
))
|
|
3599
3603
|
] }),
|
|
3600
3604
|
position: a,
|
|
@@ -3603,7 +3607,7 @@ const wi = (e) => {
|
|
|
3603
3607
|
isStopPropagationClickOnTrigger: !0,
|
|
3604
3608
|
trigger: /* @__PURE__ */ Y("div", { className: r, children: [
|
|
3605
3609
|
/* @__PURE__ */ l("div", { className: s, children: t }),
|
|
3606
|
-
/* @__PURE__ */ l("div", { className: f, children: /* @__PURE__ */ l(ge, { name:
|
|
3610
|
+
/* @__PURE__ */ l("div", { className: f, children: /* @__PURE__ */ l(ge, { name: se.SelectChevronDown, rotate: h ? 180 : void 0 }) })
|
|
3607
3611
|
] })
|
|
3608
3612
|
}
|
|
3609
3613
|
);
|
|
@@ -3629,14 +3633,14 @@ const wi = (e) => {
|
|
|
3629
3633
|
}), h = _({
|
|
3630
3634
|
[tn.ellipsisTextWithTooltip__tooltip]: !0,
|
|
3631
3635
|
...o && { [o]: !0 }
|
|
3632
|
-
}),
|
|
3636
|
+
}), w = _({
|
|
3633
3637
|
...a && { [a]: !0 }
|
|
3634
3638
|
});
|
|
3635
3639
|
return /* @__PURE__ */ l(
|
|
3636
3640
|
Nt,
|
|
3637
3641
|
{
|
|
3638
3642
|
classNameTooltip: h,
|
|
3639
|
-
classNameTriggerTooltip:
|
|
3643
|
+
classNameTriggerTooltip: w,
|
|
3640
3644
|
classNameBaseTooltipContentRoot: i,
|
|
3641
3645
|
classNameBaseTooltipRoot: r,
|
|
3642
3646
|
isVisibleTooltip: c,
|
|
@@ -3706,10 +3710,10 @@ const wi = (e) => {
|
|
|
3706
3710
|
}
|
|
3707
3711
|
) })
|
|
3708
3712
|
] });
|
|
3709
|
-
}, Wi = "_spInput_etrn0_43",
|
|
3713
|
+
}, Wi = "_spInput_etrn0_43", $i = "_spInput_error_etrn0_48", qi = "_spInput__control_etrn0_48", Hi = "_spInput__container_etrn0_55", Yi = "_spInput__control_filled_etrn0_74", Vi = "_spInput__control_outlined_etrn0_78", Ui = "_spInput__control_disabled_etrn0_82", Gi = "_spInput__control_clearable_etrn0_86", Ki = "_spInput__clear_etrn0_113", Xi = "_spInput__error_etrn0_122", Ce = {
|
|
3710
3714
|
spInput: Wi,
|
|
3711
|
-
spInput_error:
|
|
3712
|
-
spInput__control:
|
|
3715
|
+
spInput_error: $i,
|
|
3716
|
+
spInput__control: qi,
|
|
3713
3717
|
spInput__container: Hi,
|
|
3714
3718
|
spInput__control_filled: Yi,
|
|
3715
3719
|
spInput__control_outlined: Vi,
|
|
@@ -3730,22 +3734,22 @@ const wi = (e) => {
|
|
|
3730
3734
|
isClearable: u,
|
|
3731
3735
|
pattern: d,
|
|
3732
3736
|
onMouseEnter: h,
|
|
3733
|
-
infoTooltipText:
|
|
3737
|
+
infoTooltipText: w,
|
|
3734
3738
|
tooltipPosition: E,
|
|
3735
3739
|
isVisibleDefaultTitle: b = !0,
|
|
3736
|
-
placeholder:
|
|
3740
|
+
placeholder: j = "Введите...",
|
|
3737
3741
|
classNameRoot: O,
|
|
3738
3742
|
classNameError: V,
|
|
3739
3743
|
classNameLabel: A,
|
|
3740
|
-
classNameBaseTooltipRoot:
|
|
3744
|
+
classNameBaseTooltipRoot: y,
|
|
3741
3745
|
...p
|
|
3742
|
-
} = e,
|
|
3746
|
+
} = e, C = _({
|
|
3743
3747
|
[Ce.spInput]: !0,
|
|
3744
3748
|
[Ce.spInput_error]: !!s,
|
|
3745
3749
|
...O && { [O]: !0 }
|
|
3746
3750
|
}), F = _({
|
|
3747
3751
|
[Ce.spInput__container]: !0
|
|
3748
|
-
}),
|
|
3752
|
+
}), q = _({
|
|
3749
3753
|
[Ce.spInput__control]: !0,
|
|
3750
3754
|
[Ce.spInput__control_disabled]: r,
|
|
3751
3755
|
[Ce[`spInput__control_${i}`]]: i,
|
|
@@ -3763,7 +3767,7 @@ const wi = (e) => {
|
|
|
3763
3767
|
const { value: k, name: M } = Z.target;
|
|
3764
3768
|
d && k && !new RegExp(d).test(k) || o(Z, { value: k, name: M });
|
|
3765
3769
|
};
|
|
3766
|
-
return /* @__PURE__ */ Y("div", { className:
|
|
3770
|
+
return /* @__PURE__ */ Y("div", { className: C, children: [
|
|
3767
3771
|
a && /* @__PURE__ */ l(
|
|
3768
3772
|
jt,
|
|
3769
3773
|
{
|
|
@@ -3771,8 +3775,8 @@ const wi = (e) => {
|
|
|
3771
3775
|
tooltipPosition: E,
|
|
3772
3776
|
required: f,
|
|
3773
3777
|
label: a,
|
|
3774
|
-
infoTooltipText:
|
|
3775
|
-
classNameBaseTooltipRoot:
|
|
3778
|
+
infoTooltipText: w,
|
|
3779
|
+
classNameBaseTooltipRoot: y
|
|
3776
3780
|
}
|
|
3777
3781
|
),
|
|
3778
3782
|
/* @__PURE__ */ Y("div", { className: F, onMouseEnter: h, children: [
|
|
@@ -3780,17 +3784,17 @@ const wi = (e) => {
|
|
|
3780
3784
|
"input",
|
|
3781
3785
|
{
|
|
3782
3786
|
...p,
|
|
3783
|
-
placeholder:
|
|
3787
|
+
placeholder: j,
|
|
3784
3788
|
disabled: r,
|
|
3785
3789
|
onChange: le,
|
|
3786
3790
|
title: b ? n : void 0,
|
|
3787
3791
|
value: n,
|
|
3788
3792
|
name: c,
|
|
3789
|
-
className:
|
|
3793
|
+
className: q,
|
|
3790
3794
|
ref: t
|
|
3791
3795
|
}
|
|
3792
3796
|
),
|
|
3793
|
-
u && n && !r && /* @__PURE__ */ l(ge, { onClick: me, className: J, name:
|
|
3797
|
+
u && n && !r && /* @__PURE__ */ l(ge, { onClick: me, className: J, name: se.Trash })
|
|
3794
3798
|
] }),
|
|
3795
3799
|
s && /* @__PURE__ */ l("div", { className: ne, children: s })
|
|
3796
3800
|
] });
|
|
@@ -3822,21 +3826,21 @@ const Qi = "_spInputFiles_1ukpx_43", Ji = "_spInputFiles_error_1ukpx_48", er = "
|
|
|
3822
3826
|
maxFiles: f,
|
|
3823
3827
|
files: c = [],
|
|
3824
3828
|
infoTooltipText: u,
|
|
3825
|
-
tooltipPosition: d =
|
|
3829
|
+
tooltipPosition: d = re.TopRight,
|
|
3826
3830
|
classNameRoot: h,
|
|
3827
|
-
error:
|
|
3828
|
-
} = e, E = c.map((p) => p.name), b = (E == null ? void 0 : E.length) > 0,
|
|
3831
|
+
error: w
|
|
3832
|
+
} = e, E = c.map((p) => p.name), b = (E == null ? void 0 : E.length) > 0, j = _({
|
|
3829
3833
|
[ve.spInputFiles]: !0,
|
|
3830
|
-
[ve.spInputFiles_error]: !!
|
|
3834
|
+
[ve.spInputFiles_error]: !!w,
|
|
3831
3835
|
[ve.spInputFiles_disabled]: r,
|
|
3832
3836
|
[ve.spInputFiles_fileUploaded]: b,
|
|
3833
3837
|
...h && { [h]: !0 }
|
|
3834
3838
|
}), O = (p) => {
|
|
3835
|
-
const
|
|
3836
|
-
|
|
3839
|
+
const C = [...c], F = C.findIndex((q) => q.name === p);
|
|
3840
|
+
C.splice(F, 1), o(C, n);
|
|
3837
3841
|
}, V = (p) => {
|
|
3838
3842
|
p.stopPropagation(), o([], n);
|
|
3839
|
-
}, A = () => s ? /* @__PURE__ */ l("ul", { className: ve.spInputFiles__fileNamesList, children: E.map((p,
|
|
3843
|
+
}, A = () => s ? /* @__PURE__ */ l("ul", { className: ve.spInputFiles__fileNamesList, children: E.map((p, C) => /* @__PURE__ */ Y(
|
|
3840
3844
|
"li",
|
|
3841
3845
|
{
|
|
3842
3846
|
className: ve.spInputFiles__fileNamesListItem,
|
|
@@ -3852,13 +3856,13 @@ const Qi = "_spInputFiles_1ukpx_43", Ji = "_spInputFiles_error_1ukpx_48", er = "
|
|
|
3852
3856
|
classNameTriggerTooltipRoot: ve.spInputFiles__fileNamesListItem__triggerTooltip
|
|
3853
3857
|
}
|
|
3854
3858
|
),
|
|
3855
|
-
/* @__PURE__ */ l("div", { className: ve.spInputFiles__fileNamesListItemDelete, children: /* @__PURE__ */ l(ge, { name:
|
|
3859
|
+
/* @__PURE__ */ l("div", { className: ve.spInputFiles__fileNamesListItemDelete, children: /* @__PURE__ */ l(ge, { name: se.Trash }) })
|
|
3856
3860
|
]
|
|
3857
3861
|
},
|
|
3858
|
-
|
|
3859
|
-
)) }) : /* @__PURE__ */ l(Se, { isEllipsis: !0, children: E[0] }),
|
|
3862
|
+
C
|
|
3863
|
+
)) }) : /* @__PURE__ */ l(Se, { isEllipsis: !0, children: E[0] }), y = () => /* @__PURE__ */ Y(cn, { children: [
|
|
3860
3864
|
b ? A() : /* @__PURE__ */ l(Se, { children: t }),
|
|
3861
|
-
b ? /* @__PURE__ */ l("div", { className: ve.spInputFiles__delete, onClick: V, children: /* @__PURE__ */ l(ge, { name:
|
|
3865
|
+
b ? /* @__PURE__ */ l("div", { className: ve.spInputFiles__delete, onClick: V, children: /* @__PURE__ */ l(ge, { name: se.Close }) }) : u && /* @__PURE__ */ l(
|
|
3862
3866
|
Qe,
|
|
3863
3867
|
{
|
|
3864
3868
|
classNameTooltip: ve.spInputFiles__tooltipWrapper,
|
|
@@ -3879,12 +3883,12 @@ const Qi = "_spInputFiles_1ukpx_43", Ji = "_spInputFiles_error_1ukpx_48", er = "
|
|
|
3879
3883
|
accept: i,
|
|
3880
3884
|
onDropFiles: o,
|
|
3881
3885
|
disabled: r || b,
|
|
3882
|
-
children: /* @__PURE__ */ Y("div", { className:
|
|
3886
|
+
children: /* @__PURE__ */ Y("div", { className: j, children: [
|
|
3883
3887
|
/* @__PURE__ */ Y("div", { className: ve.spInputFiles__control, children: [
|
|
3884
|
-
/* @__PURE__ */ l(ge, { name: b ?
|
|
3885
|
-
|
|
3888
|
+
/* @__PURE__ */ l(ge, { name: b ? se.Check : se.Upload }),
|
|
3889
|
+
y()
|
|
3886
3890
|
] }),
|
|
3887
|
-
|
|
3891
|
+
w && /* @__PURE__ */ l("div", { className: ve.spInputFiles__error, children: w })
|
|
3888
3892
|
] })
|
|
3889
3893
|
}
|
|
3890
3894
|
);
|
|
@@ -4043,37 +4047,37 @@ function Tr(e, t) {
|
|
|
4043
4047
|
}
|
|
4044
4048
|
return !0;
|
|
4045
4049
|
}
|
|
4046
|
-
const pe =
|
|
4047
|
-
all:
|
|
4048
|
-
grid:
|
|
4049
|
-
aural:
|
|
4050
|
-
braille:
|
|
4051
|
-
handheld:
|
|
4052
|
-
print:
|
|
4053
|
-
projection:
|
|
4054
|
-
screen:
|
|
4055
|
-
tty:
|
|
4056
|
-
tv:
|
|
4057
|
-
embossed:
|
|
4050
|
+
const pe = T.oneOfType([T.string, T.number]), An = {
|
|
4051
|
+
all: T.bool,
|
|
4052
|
+
grid: T.bool,
|
|
4053
|
+
aural: T.bool,
|
|
4054
|
+
braille: T.bool,
|
|
4055
|
+
handheld: T.bool,
|
|
4056
|
+
print: T.bool,
|
|
4057
|
+
projection: T.bool,
|
|
4058
|
+
screen: T.bool,
|
|
4059
|
+
tty: T.bool,
|
|
4060
|
+
tv: T.bool,
|
|
4061
|
+
embossed: T.bool
|
|
4058
4062
|
}, Er = {
|
|
4059
|
-
orientation:
|
|
4060
|
-
scan:
|
|
4061
|
-
aspectRatio:
|
|
4062
|
-
deviceAspectRatio:
|
|
4063
|
+
orientation: T.oneOf(["portrait", "landscape"]),
|
|
4064
|
+
scan: T.oneOf(["progressive", "interlace"]),
|
|
4065
|
+
aspectRatio: T.string,
|
|
4066
|
+
deviceAspectRatio: T.string,
|
|
4063
4067
|
height: pe,
|
|
4064
4068
|
deviceHeight: pe,
|
|
4065
4069
|
width: pe,
|
|
4066
4070
|
deviceWidth: pe,
|
|
4067
|
-
color:
|
|
4068
|
-
colorIndex:
|
|
4069
|
-
monochrome:
|
|
4071
|
+
color: T.bool,
|
|
4072
|
+
colorIndex: T.bool,
|
|
4073
|
+
monochrome: T.bool,
|
|
4070
4074
|
resolution: pe,
|
|
4071
4075
|
type: Object.keys(An)
|
|
4072
4076
|
}, { type: Ls, ...Sr } = Er, Nr = {
|
|
4073
|
-
minAspectRatio:
|
|
4074
|
-
maxAspectRatio:
|
|
4075
|
-
minDeviceAspectRatio:
|
|
4076
|
-
maxDeviceAspectRatio:
|
|
4077
|
+
minAspectRatio: T.string,
|
|
4078
|
+
maxAspectRatio: T.string,
|
|
4079
|
+
minDeviceAspectRatio: T.string,
|
|
4080
|
+
maxDeviceAspectRatio: T.string,
|
|
4077
4081
|
minHeight: pe,
|
|
4078
4082
|
maxHeight: pe,
|
|
4079
4083
|
minDeviceHeight: pe,
|
|
@@ -4082,12 +4086,12 @@ const pe = C.oneOfType([C.string, C.number]), An = {
|
|
|
4082
4086
|
maxWidth: pe,
|
|
4083
4087
|
minDeviceWidth: pe,
|
|
4084
4088
|
maxDeviceWidth: pe,
|
|
4085
|
-
minColor:
|
|
4086
|
-
maxColor:
|
|
4087
|
-
minColorIndex:
|
|
4088
|
-
maxColorIndex:
|
|
4089
|
-
minMonochrome:
|
|
4090
|
-
maxMonochrome:
|
|
4089
|
+
minColor: T.number,
|
|
4090
|
+
maxColor: T.number,
|
|
4091
|
+
minColorIndex: T.number,
|
|
4092
|
+
maxColorIndex: T.number,
|
|
4093
|
+
minMonochrome: T.number,
|
|
4094
|
+
maxMonochrome: T.number,
|
|
4091
4095
|
minResolution: pe,
|
|
4092
4096
|
maxResolution: pe,
|
|
4093
4097
|
...Sr
|
|
@@ -4170,8 +4174,8 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4170
4174
|
children: n
|
|
4171
4175
|
}
|
|
4172
4176
|
);
|
|
4173
|
-
},
|
|
4174
|
-
spSelect:
|
|
4177
|
+
}, $r = 180, qr = "_spSelect_140u6_43", Hr = "_spSelect_error_140u6_48", Yr = "_spSelect__control_140u6_48", Vr = "_spSelect__value_empty_140u6_52", Ur = "_spSelect__icon_140u6_55", Gr = "_spSelect__container_140u6_58", Kr = "_spSelect__control_filled_140u6_78", Xr = "_spSelect__control_outlined_140u6_82", Zr = "_spSelect__control_disabled_140u6_107", Qr = "_spSelect__value_140u6_52", Jr = "_spSelect__list_140u6_138", es = "_spSelect__list_scrollable_140u6_145", ts = "_spSelect__option_140u6_161", ns = "_spSelect__error_140u6_179", xe = {
|
|
4178
|
+
spSelect: qr,
|
|
4175
4179
|
spSelect_error: Hr,
|
|
4176
4180
|
spSelect__control: Yr,
|
|
4177
4181
|
spSelect__value_empty: Vr,
|
|
@@ -4199,26 +4203,26 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4199
4203
|
infoTooltipText: u,
|
|
4200
4204
|
tooltipPosition: d,
|
|
4201
4205
|
disabled: h,
|
|
4202
|
-
required:
|
|
4203
|
-
maxHeightList: E =
|
|
4206
|
+
required: w,
|
|
4207
|
+
maxHeightList: E = $r,
|
|
4204
4208
|
isVisibleDefaultTitle: b = !0,
|
|
4205
|
-
isScrollableList:
|
|
4209
|
+
isScrollableList: j = !1,
|
|
4206
4210
|
classNameRoot: O,
|
|
4207
4211
|
classNameError: V,
|
|
4208
4212
|
classNameLabel: A,
|
|
4209
|
-
classNameBaseTooltipRoot:
|
|
4210
|
-
} = e, [p,
|
|
4213
|
+
classNameBaseTooltipRoot: y
|
|
4214
|
+
} = e, [p, C] = ce(!1), F = Te(null);
|
|
4211
4215
|
fn(
|
|
4212
4216
|
[F],
|
|
4213
4217
|
() => {
|
|
4214
|
-
|
|
4218
|
+
C(!1);
|
|
4215
4219
|
},
|
|
4216
4220
|
p
|
|
4217
4221
|
);
|
|
4218
|
-
const
|
|
4219
|
-
r(m, { value: g, name: a }),
|
|
4222
|
+
const q = t.find((m) => m.value === o), J = (m, g) => {
|
|
4223
|
+
r(m, { value: g, name: a }), C(!1);
|
|
4220
4224
|
}, ne = () => {
|
|
4221
|
-
h ||
|
|
4225
|
+
h || C(!p);
|
|
4222
4226
|
}, ue = _({
|
|
4223
4227
|
[xe.spSelect]: !0,
|
|
4224
4228
|
[xe.spSelect_error]: !!f,
|
|
@@ -4231,12 +4235,12 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4231
4235
|
[xe.spSelect__control_disabled]: h
|
|
4232
4236
|
}), X = _({
|
|
4233
4237
|
[xe.spSelect__value]: !0,
|
|
4234
|
-
[xe.spSelect__value_empty]:
|
|
4238
|
+
[xe.spSelect__value_empty]: !q
|
|
4235
4239
|
}), Z = _({
|
|
4236
4240
|
[xe.spSelect__icon]: !0
|
|
4237
4241
|
}), k = _({
|
|
4238
4242
|
[xe.spSelect__list]: !0,
|
|
4239
|
-
[xe.spSelect__list_scrollable]:
|
|
4243
|
+
[xe.spSelect__list_scrollable]: j
|
|
4240
4244
|
}), M = _({
|
|
4241
4245
|
...A && { [A]: !0 }
|
|
4242
4246
|
}), K = _({
|
|
@@ -4249,10 +4253,10 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4249
4253
|
{
|
|
4250
4254
|
classNameRoot: M,
|
|
4251
4255
|
tooltipPosition: d,
|
|
4252
|
-
required:
|
|
4256
|
+
required: w,
|
|
4253
4257
|
label: c,
|
|
4254
4258
|
infoTooltipText: u,
|
|
4255
|
-
classNameBaseTooltipRoot:
|
|
4259
|
+
classNameBaseTooltipRoot: y
|
|
4256
4260
|
}
|
|
4257
4261
|
),
|
|
4258
4262
|
/* @__PURE__ */ Y("div", { className: me, onMouseEnter: s, children: [
|
|
@@ -4264,11 +4268,11 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4264
4268
|
className: le,
|
|
4265
4269
|
onClick: ne,
|
|
4266
4270
|
children: [
|
|
4267
|
-
/* @__PURE__ */ l("div", { className: X, children: (
|
|
4271
|
+
/* @__PURE__ */ l("div", { className: X, children: (q == null ? void 0 : q.label) || n }),
|
|
4268
4272
|
/* @__PURE__ */ l(
|
|
4269
4273
|
ge,
|
|
4270
4274
|
{
|
|
4271
|
-
name:
|
|
4275
|
+
name: se.SelectChevronDown,
|
|
4272
4276
|
rotate: p ? 180 : void 0,
|
|
4273
4277
|
className: Z
|
|
4274
4278
|
}
|
|
@@ -4280,7 +4284,7 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4280
4284
|
"div",
|
|
4281
4285
|
{
|
|
4282
4286
|
className: k,
|
|
4283
|
-
style:
|
|
4287
|
+
style: j ? { maxHeight: `${E}px` } : {},
|
|
4284
4288
|
children: t.map((m) => {
|
|
4285
4289
|
const g = m.value === o;
|
|
4286
4290
|
return /* @__PURE__ */ Y(
|
|
@@ -4292,7 +4296,7 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4292
4296
|
onClick: (D) => J(D, m.value),
|
|
4293
4297
|
children: [
|
|
4294
4298
|
m.label,
|
|
4295
|
-
g && /* @__PURE__ */ l(ge, { name:
|
|
4299
|
+
g && /* @__PURE__ */ l(ge, { name: se.Check, className: Z })
|
|
4296
4300
|
]
|
|
4297
4301
|
},
|
|
4298
4302
|
m.value
|
|
@@ -4332,10 +4336,10 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4332
4336
|
data: n,
|
|
4333
4337
|
isNotTableOnNotDesktop: o = !1,
|
|
4334
4338
|
classNameRoot: a
|
|
4335
|
-
} = e, i = t.map((
|
|
4336
|
-
...
|
|
4337
|
-
isVisible: n.some((p) => !!p[
|
|
4338
|
-
})).filter((
|
|
4339
|
+
} = e, i = t.map((y) => ({
|
|
4340
|
+
...y,
|
|
4341
|
+
isVisible: n.some((p) => !!p[y.key])
|
|
4342
|
+
})).filter((y) => y.isVisible), r = _({
|
|
4339
4343
|
[he.spTable]: !0,
|
|
4340
4344
|
...a && { [a]: !0 }
|
|
4341
4345
|
}), s = _({
|
|
@@ -4346,57 +4350,57 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4346
4350
|
[he.spTable__emptyPage]: !0
|
|
4347
4351
|
}), {
|
|
4348
4352
|
device: { isDesktop: u }
|
|
4349
|
-
} = dn(In), [d, h] = ce(null),
|
|
4350
|
-
const { text: p, rowIndex:
|
|
4351
|
-
(d == null ? void 0 : d.rowIndex) ===
|
|
4352
|
-
h({ rowIndex:
|
|
4353
|
-
}).catch((
|
|
4354
|
-
console.error("Ошибка при копировании:",
|
|
4353
|
+
} = dn(In), [d, h] = ce(null), w = (y) => {
|
|
4354
|
+
const { text: p, rowIndex: C, colIndex: F } = y;
|
|
4355
|
+
(d == null ? void 0 : d.rowIndex) === C && (d == null ? void 0 : d.colIndex) === F || navigator.clipboard.writeText(p).then(() => {
|
|
4356
|
+
h({ rowIndex: C, colIndex: F });
|
|
4357
|
+
}).catch((q) => {
|
|
4358
|
+
console.error("Ошибка при копировании:", q);
|
|
4355
4359
|
});
|
|
4356
4360
|
}, E = () => {
|
|
4357
4361
|
h(null);
|
|
4358
|
-
}, b = () => /* @__PURE__ */ l("div", { className: c, children: "Данные отсутствуют" }),
|
|
4359
|
-
row:
|
|
4362
|
+
}, b = () => /* @__PURE__ */ l("div", { className: c, children: "Данные отсутствуют" }), j = ({
|
|
4363
|
+
row: y,
|
|
4360
4364
|
col: p
|
|
4361
4365
|
}) => {
|
|
4362
|
-
const
|
|
4363
|
-
if (!
|
|
4364
|
-
const [F,
|
|
4366
|
+
const C = y[p.key];
|
|
4367
|
+
if (!C) return null;
|
|
4368
|
+
const [F, q] = C.split(/\s*\{\{|}}\s*/).filter(Boolean);
|
|
4365
4369
|
return /* @__PURE__ */ Y("span", { children: [
|
|
4366
4370
|
F,
|
|
4367
|
-
|
|
4371
|
+
q && /* @__PURE__ */ l("span", { className: f, children: ` ${q}` })
|
|
4368
4372
|
] });
|
|
4369
4373
|
}, O = () => n && Array.isArray(n) && n.length > 0 ? /* @__PURE__ */ Y("table", { className: r, children: [
|
|
4370
|
-
/* @__PURE__ */ l("colgroup", { children: i.map((
|
|
4374
|
+
/* @__PURE__ */ l("colgroup", { children: i.map((y, p, C) => /* @__PURE__ */ l(
|
|
4371
4375
|
"col",
|
|
4372
4376
|
{
|
|
4373
4377
|
style: {
|
|
4374
|
-
width: `calc(100%/${
|
|
4378
|
+
width: `calc(100%/${C.length})`
|
|
4375
4379
|
}
|
|
4376
4380
|
},
|
|
4377
4381
|
p
|
|
4378
4382
|
)) }),
|
|
4379
|
-
/* @__PURE__ */ l("thead", { children: /* @__PURE__ */ l("tr", { children: i.map((
|
|
4380
|
-
/* @__PURE__ */ l("tbody", { children: n.map((
|
|
4381
|
-
const
|
|
4383
|
+
/* @__PURE__ */ l("thead", { children: /* @__PURE__ */ l("tr", { children: i.map((y, p) => /* @__PURE__ */ l("th", { children: y.title }, p)) }) }),
|
|
4384
|
+
/* @__PURE__ */ l("tbody", { children: n.map((y, p) => y ? /* @__PURE__ */ l("tr", { children: i.map((C, F) => {
|
|
4385
|
+
const q = (d == null ? void 0 : d.rowIndex) === p && (d == null ? void 0 : d.colIndex) === F;
|
|
4382
4386
|
return /* @__PURE__ */ l(
|
|
4383
4387
|
"td",
|
|
4384
4388
|
{
|
|
4385
|
-
onMouseLeave:
|
|
4389
|
+
onMouseLeave: q ? E : void 0,
|
|
4386
4390
|
children: /* @__PURE__ */ Y("div", { className: s, children: [
|
|
4387
|
-
/* @__PURE__ */ l("span", { children:
|
|
4388
|
-
!pn(
|
|
4391
|
+
/* @__PURE__ */ l("span", { children: C.isColorContentsCurlyBrackets ? j({ row: y, col: C }) : y[C.key] }),
|
|
4392
|
+
!pn(y[C.key]) && C.isBeCopiedValue && /* @__PURE__ */ l(
|
|
4389
4393
|
ge,
|
|
4390
4394
|
{
|
|
4391
4395
|
className: _({
|
|
4392
4396
|
[he.spTable__tdContentCopyIcon]: !0,
|
|
4393
|
-
[he.spTable__tdContentCopyIcon_copied]:
|
|
4397
|
+
[he.spTable__tdContentCopyIcon_copied]: q
|
|
4394
4398
|
}),
|
|
4395
|
-
name:
|
|
4399
|
+
name: q ? se.Check : se.Copy,
|
|
4396
4400
|
onClick: () => {
|
|
4397
|
-
const J =
|
|
4401
|
+
const J = y[C.key];
|
|
4398
4402
|
if (!J) return null;
|
|
4399
|
-
|
|
4403
|
+
w({
|
|
4400
4404
|
text: J,
|
|
4401
4405
|
rowIndex: p,
|
|
4402
4406
|
colIndex: F
|
|
@@ -4415,17 +4419,17 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4415
4419
|
className: _({
|
|
4416
4420
|
[he.spStringsGroup]: !0
|
|
4417
4421
|
}),
|
|
4418
|
-
children: n.map((
|
|
4419
|
-
if (pn(
|
|
4422
|
+
children: n.map((y, p) => y ? /* @__PURE__ */ l("div", { children: i.map((C, F) => {
|
|
4423
|
+
if (pn(y[C.key]))
|
|
4420
4424
|
return null;
|
|
4421
|
-
const
|
|
4425
|
+
const q = (d == null ? void 0 : d.rowIndex) === p && (d == null ? void 0 : d.colIndex) === F;
|
|
4422
4426
|
return /* @__PURE__ */ Y(
|
|
4423
4427
|
"div",
|
|
4424
4428
|
{
|
|
4425
4429
|
className: _({
|
|
4426
4430
|
[he.spStringsGroup__groupItem]: !0
|
|
4427
4431
|
}),
|
|
4428
|
-
onMouseLeave:
|
|
4432
|
+
onMouseLeave: q ? E : void 0,
|
|
4429
4433
|
children: [
|
|
4430
4434
|
/* @__PURE__ */ l(
|
|
4431
4435
|
"div",
|
|
@@ -4433,7 +4437,7 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4433
4437
|
className: _({
|
|
4434
4438
|
[he.spStringsGroup__groupItemHeader]: !0
|
|
4435
4439
|
}),
|
|
4436
|
-
children:
|
|
4440
|
+
children: C.title
|
|
4437
4441
|
}
|
|
4438
4442
|
),
|
|
4439
4443
|
/* @__PURE__ */ Y(
|
|
@@ -4443,19 +4447,19 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4443
4447
|
[he.spStringsGroup__groupItemContent]: !0
|
|
4444
4448
|
}),
|
|
4445
4449
|
children: [
|
|
4446
|
-
/* @__PURE__ */ l("span", { children:
|
|
4447
|
-
|
|
4450
|
+
/* @__PURE__ */ l("span", { children: y[C.key] }),
|
|
4451
|
+
C.isBeCopiedValue && /* @__PURE__ */ l(
|
|
4448
4452
|
ge,
|
|
4449
4453
|
{
|
|
4450
4454
|
className: _({
|
|
4451
4455
|
[he.spStringsGroup__groupItemContentCopyIcon]: !0,
|
|
4452
|
-
[he.spStringsGroup__groupItemContentCopyIcon_copied]:
|
|
4456
|
+
[he.spStringsGroup__groupItemContentCopyIcon_copied]: q
|
|
4453
4457
|
}),
|
|
4454
|
-
name:
|
|
4458
|
+
name: q ? se.Check : se.Copy,
|
|
4455
4459
|
onClick: () => {
|
|
4456
|
-
const J =
|
|
4460
|
+
const J = y[C.key];
|
|
4457
4461
|
if (!J) return null;
|
|
4458
|
-
|
|
4462
|
+
w({
|
|
4459
4463
|
text: J,
|
|
4460
4464
|
rowIndex: p,
|
|
4461
4465
|
colIndex: F
|
|
@@ -4509,13 +4513,13 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4509
4513
|
}
|
|
4510
4514
|
};
|
|
4511
4515
|
return /* @__PURE__ */ l("div", { className: s, children: t.map((u, d) => {
|
|
4512
|
-
const { name: h, active:
|
|
4516
|
+
const { name: h, active: w, onClick: E, infoTooltipText: b } = u;
|
|
4513
4517
|
return /* @__PURE__ */ Y(
|
|
4514
4518
|
"div",
|
|
4515
4519
|
{
|
|
4516
4520
|
className: _({
|
|
4517
4521
|
[Ie.spTabs__tabElement]: !0,
|
|
4518
|
-
[Ie.spTabs__tabElement_active]:
|
|
4522
|
+
[Ie.spTabs__tabElement_active]: w
|
|
4519
4523
|
}),
|
|
4520
4524
|
onClick: E,
|
|
4521
4525
|
children: [
|
|
@@ -4552,8 +4556,8 @@ export {
|
|
|
4552
4556
|
Rs as ContextMenu,
|
|
4553
4557
|
wi as DefaultDropzone,
|
|
4554
4558
|
As as Dropdown,
|
|
4555
|
-
|
|
4556
|
-
|
|
4559
|
+
se as EIconName,
|
|
4560
|
+
re as ETooltipPosition,
|
|
4557
4561
|
Di as EllipsisTextWithTooltip,
|
|
4558
4562
|
Ds as Form,
|
|
4559
4563
|
ge as Icon,
|