test-stpr-ui-kit 0.4.23 → 0.4.24
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,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as Y, jsx as l, Fragment as cn } from "react/jsx-runtime";
|
|
2
|
-
import * as
|
|
3
|
-
import We, { useState as ce, useEffect as ae, useRef as Te, useCallback as
|
|
2
|
+
import * as I from "react";
|
|
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
4
|
import qn from "react-dom";
|
|
5
5
|
import './test-stpr-ui-kit.css';function un(e) {
|
|
6
6
|
var t, n, o = "";
|
|
@@ -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 $n = (e) => /* @__PURE__ */
|
|
18
|
+
const $n = (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,
|
|
@@ -68,44 +68,44 @@ const ao = "_spAccordion_ui7ma_43", io = "_spAccordion_noBorder_ui7ma_57", ro =
|
|
|
68
68
|
onOpen: i,
|
|
69
69
|
noBorder: r = !1,
|
|
70
70
|
noPadding: s = !1,
|
|
71
|
-
classNameRoot:
|
|
71
|
+
classNameRoot: f,
|
|
72
72
|
classNameHeader: c,
|
|
73
73
|
classNameTitle: u,
|
|
74
74
|
classNameIcon: d,
|
|
75
|
-
classNameChildrenWrapper:
|
|
76
|
-
} = e, [
|
|
77
|
-
a || (E(!
|
|
78
|
-
},
|
|
75
|
+
classNameChildrenWrapper: h
|
|
76
|
+
} = e, [y, E] = ce(o), b = () => {
|
|
77
|
+
a || (E(!y), i == null || i(!y));
|
|
78
|
+
}, R = _({
|
|
79
79
|
[se.spAccordion]: !0,
|
|
80
|
-
[se.spAccordion_open]:
|
|
81
|
-
[se.spAccordion_noOpen]: !
|
|
80
|
+
[se.spAccordion_open]: y,
|
|
81
|
+
[se.spAccordion_noOpen]: !y,
|
|
82
82
|
[se.spAccordion_noBorder]: r,
|
|
83
83
|
[se.spAccordion_noPadding]: s,
|
|
84
|
-
...
|
|
85
|
-
}),
|
|
84
|
+
...f && { [f]: !0 }
|
|
85
|
+
}), O = _({
|
|
86
86
|
[se.spAccordion__header]: !0,
|
|
87
87
|
...c && { [c]: !0 }
|
|
88
88
|
}), V = _({
|
|
89
89
|
[se.spAccordion__name]: !0,
|
|
90
90
|
[se.spAccordion__name_hiddenExpand]: a,
|
|
91
91
|
...u && { [u]: !0 }
|
|
92
|
-
}),
|
|
92
|
+
}), A = _({
|
|
93
93
|
[se.spAccordion__icon]: !0,
|
|
94
|
-
[se.spAccordion__icon_open]:
|
|
94
|
+
[se.spAccordion__icon_open]: y,
|
|
95
95
|
[se.spAccordion__icon_hidden]: a,
|
|
96
96
|
...d && { [d]: !0 }
|
|
97
97
|
}), w = _({
|
|
98
98
|
[se.spAccordion__childrenWrapper]: !0,
|
|
99
|
-
[se.spAccordion__childrenWrapper_open]:
|
|
100
|
-
...
|
|
99
|
+
[se.spAccordion__childrenWrapper_open]: y,
|
|
100
|
+
...h && { [h]: !0 }
|
|
101
101
|
}), p = _({
|
|
102
102
|
[se.spAccordion__content]: !0,
|
|
103
|
-
[se.spAccordion__content_open]:
|
|
103
|
+
[se.spAccordion__content_open]: y
|
|
104
104
|
});
|
|
105
|
-
return /* @__PURE__ */ Y("div", { className:
|
|
106
|
-
/* @__PURE__ */ Y("div", { className:
|
|
107
|
-
/* @__PURE__ */ l("div", { className: V, children: /* @__PURE__ */ l("span", { onClick:
|
|
108
|
-
/* @__PURE__ */ l(ge, { onClick:
|
|
105
|
+
return /* @__PURE__ */ Y("div", { className: R, children: [
|
|
106
|
+
/* @__PURE__ */ Y("div", { className: O, children: [
|
|
107
|
+
/* @__PURE__ */ l("div", { className: V, children: /* @__PURE__ */ l("span", { onClick: b, children: t }) }),
|
|
108
|
+
/* @__PURE__ */ l(ge, { onClick: b, className: A, name: re.ChevronDown })
|
|
109
109
|
] }),
|
|
110
110
|
/* @__PURE__ */ l("div", { className: w, children: /* @__PURE__ */ l("div", { className: p, children: n }) })
|
|
111
111
|
] });
|
|
@@ -129,14 +129,14 @@ const ao = "_spAccordion_ui7ma_43", io = "_spAccordion_noBorder_ui7ma_57", ro =
|
|
|
129
129
|
children: /* @__PURE__ */ l("div", { className: pt.spinner__inner })
|
|
130
130
|
}
|
|
131
131
|
);
|
|
132
|
-
}, ko = "_spButton_zixup_43", Co = "_spButton_noPadding_zixup_59", To = "_spButton_onlyIcon_zixup_62", Eo = "_spButton__iconContainer_zixup_70", So = "_spButton_link_zixup_73",
|
|
132
|
+
}, ko = "_spButton_zixup_43", Co = "_spButton_noPadding_zixup_59", To = "_spButton_onlyIcon_zixup_62", Eo = "_spButton__iconContainer_zixup_70", So = "_spButton_link_zixup_73", No = "_spButton__text_zixup_77", Io = "_spButton_primary_zixup_89", jo = "_spButton_blue_zixup_89", Ro = "_spButton_white_zixup_99", Ao = "_spButton_secondary_zixup_109", Do = "_spButton_fullWidth_zixup_129", Oo = "_spButton_disabled_zixup_132", Lo = "_spButton__spinner_zixup_141", be = {
|
|
133
133
|
spButton: ko,
|
|
134
134
|
spButton_noPadding: Co,
|
|
135
135
|
spButton_onlyIcon: To,
|
|
136
136
|
spButton__iconContainer: Eo,
|
|
137
137
|
spButton_link: So,
|
|
138
|
-
spButton__text:
|
|
139
|
-
spButton_primary:
|
|
138
|
+
spButton__text: No,
|
|
139
|
+
spButton_primary: Io,
|
|
140
140
|
spButton_blue: jo,
|
|
141
141
|
spButton_white: Ro,
|
|
142
142
|
spButton_secondary: Ao,
|
|
@@ -152,47 +152,47 @@ const ao = "_spAccordion_ui7ma_43", io = "_spAccordion_noBorder_ui7ma_57", ro =
|
|
|
152
152
|
iconName: i,
|
|
153
153
|
iconRotate: r = 0,
|
|
154
154
|
disabled: s = !1,
|
|
155
|
-
type:
|
|
155
|
+
type: f = "button",
|
|
156
156
|
form: c,
|
|
157
157
|
children: u,
|
|
158
158
|
loading: d = !1,
|
|
159
|
-
isFullWidth:
|
|
160
|
-
isOnlyIcon:
|
|
159
|
+
isFullWidth: h = !1,
|
|
160
|
+
isOnlyIcon: y = !1,
|
|
161
161
|
noPadding: E = !1,
|
|
162
|
-
classNameRoot:
|
|
163
|
-
classNameIconContainerRoot:
|
|
164
|
-
} = e,
|
|
162
|
+
classNameRoot: b,
|
|
163
|
+
classNameIconContainerRoot: R
|
|
164
|
+
} = e, O = (w) => {
|
|
165
165
|
s || a == null || a(w);
|
|
166
166
|
}, V = () => {
|
|
167
167
|
const w = _({
|
|
168
168
|
[be.spButton__text]: !0
|
|
169
169
|
}), p = _({
|
|
170
170
|
[be.spButton__iconContainer]: !0,
|
|
171
|
-
...
|
|
171
|
+
...R && { [R]: !0 }
|
|
172
172
|
});
|
|
173
173
|
return /* @__PURE__ */ Y(cn, { children: [
|
|
174
174
|
(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
|
-
!
|
|
175
|
+
!y && u && /* @__PURE__ */ l("div", { className: w, children: u })
|
|
176
176
|
] });
|
|
177
|
-
},
|
|
177
|
+
}, A = _({
|
|
178
178
|
[be.spButton]: !0,
|
|
179
179
|
[be.spButton_noPadding]: E,
|
|
180
|
-
[be.spButton_onlyIcon]:
|
|
180
|
+
[be.spButton_onlyIcon]: y,
|
|
181
181
|
[be[`spButton_${n}`]]: n,
|
|
182
182
|
[be[`spButton_${t}`]]: t,
|
|
183
|
-
[be.spButton_fullWidth]:
|
|
183
|
+
[be.spButton_fullWidth]: h,
|
|
184
184
|
[be.spButton_disabled]: s,
|
|
185
185
|
[be.spButton_loading]: d,
|
|
186
|
-
...
|
|
186
|
+
...b && { [b]: !0 }
|
|
187
187
|
});
|
|
188
188
|
return /* @__PURE__ */ l(
|
|
189
189
|
"button",
|
|
190
190
|
{
|
|
191
191
|
style: o,
|
|
192
|
-
className:
|
|
193
|
-
onClick:
|
|
192
|
+
className: A,
|
|
193
|
+
onClick: O,
|
|
194
194
|
disabled: s,
|
|
195
|
-
type:
|
|
195
|
+
type: f,
|
|
196
196
|
form: c,
|
|
197
197
|
children: V()
|
|
198
198
|
}
|
|
@@ -214,20 +214,20 @@ const ao = "_spAccordion_ui7ma_43", io = "_spAccordion_noBorder_ui7ma_57", ro =
|
|
|
214
214
|
cancelBtnDisabled: i,
|
|
215
215
|
submitBtnContent: r,
|
|
216
216
|
formId: s,
|
|
217
|
-
disabled:
|
|
217
|
+
disabled: f,
|
|
218
218
|
onClose: c,
|
|
219
219
|
submit: u,
|
|
220
220
|
loading: d
|
|
221
|
-
} = e,
|
|
221
|
+
} = e, h = _({
|
|
222
222
|
[ze.spApplyButtons]: !0,
|
|
223
223
|
[ze[`spApplyButtons_mobile-${t}`]]: t,
|
|
224
224
|
[ze[`spApplyButtons_align-${n}`]]: n
|
|
225
|
-
}),
|
|
225
|
+
}), y = _({
|
|
226
226
|
[ze.spApplyButtons__submit]: !0
|
|
227
227
|
}), E = _({
|
|
228
228
|
[ze.spApplyButtons__cancel]: !0
|
|
229
229
|
});
|
|
230
|
-
return /* @__PURE__ */ Y("div", { className:
|
|
230
|
+
return /* @__PURE__ */ Y("div", { className: h, children: [
|
|
231
231
|
o && /* @__PURE__ */ l(
|
|
232
232
|
yt,
|
|
233
233
|
{
|
|
@@ -245,9 +245,9 @@ const ao = "_spAccordion_ui7ma_43", io = "_spAccordion_noBorder_ui7ma_57", ro =
|
|
|
245
245
|
{
|
|
246
246
|
type: "submit",
|
|
247
247
|
variant: "primary",
|
|
248
|
-
classNameRoot:
|
|
248
|
+
classNameRoot: y,
|
|
249
249
|
form: s || void 0,
|
|
250
|
-
disabled:
|
|
250
|
+
disabled: f,
|
|
251
251
|
onClick: u,
|
|
252
252
|
loading: d,
|
|
253
253
|
children: r
|
|
@@ -269,11 +269,11 @@ const ao = "_spAccordion_ui7ma_43", io = "_spAccordion_noBorder_ui7ma_57", ro =
|
|
|
269
269
|
[ct.spBaseTooltip]: !0,
|
|
270
270
|
[ct.spBaseTooltip_noPadding]: o,
|
|
271
271
|
...i && { [i]: !0 }
|
|
272
|
-
}),
|
|
272
|
+
}), f = _({
|
|
273
273
|
[ct.spBaseTooltip__content]: !0,
|
|
274
274
|
...r && { [r]: !0 }
|
|
275
275
|
});
|
|
276
|
-
return /* @__PURE__ */ l("div", { className: s, ref: t, style: a, children: /* @__PURE__ */ l("div", { className:
|
|
276
|
+
return /* @__PURE__ */ l("div", { className: s, ref: t, style: a, children: /* @__PURE__ */ l("div", { className: f, children: n }) });
|
|
277
277
|
});
|
|
278
278
|
mn.displayName = "BaseTooltip";
|
|
279
279
|
function fn(e, t, n = !0) {
|
|
@@ -304,7 +304,7 @@ const _n = ({ children: e, node: t, classNameRoot: n }) => {
|
|
|
304
304
|
spTooltip__trigger: Ho
|
|
305
305
|
};
|
|
306
306
|
var ie = /* @__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))(ie || {});
|
|
307
|
-
const
|
|
307
|
+
const Nt = (e) => {
|
|
308
308
|
const {
|
|
309
309
|
hover: t = !0,
|
|
310
310
|
isToggleClick: n = !1,
|
|
@@ -313,108 +313,108 @@ const It = (e) => {
|
|
|
313
313
|
trigger: i,
|
|
314
314
|
triggerAction: r,
|
|
315
315
|
actionOnClose: s,
|
|
316
|
-
classNameTriggerTooltip:
|
|
316
|
+
classNameTriggerTooltip: f,
|
|
317
317
|
position: c = ie.BottomLeft,
|
|
318
318
|
text: u,
|
|
319
319
|
noPadding: d,
|
|
320
|
-
classNameTooltip:
|
|
321
|
-
classNameBaseTooltipRoot:
|
|
320
|
+
classNameTooltip: h,
|
|
321
|
+
classNameBaseTooltipRoot: y,
|
|
322
322
|
classNameBaseTooltipContentRoot: E
|
|
323
|
-
} = e, [
|
|
323
|
+
} = e, [b, R] = ce(!1), O = Te(null), V = Te(null), [A, w] = ce(!1);
|
|
324
324
|
fn(
|
|
325
|
-
[
|
|
325
|
+
[O, V],
|
|
326
326
|
() => {
|
|
327
|
-
s && s(),
|
|
327
|
+
s && s(), R(!1);
|
|
328
328
|
},
|
|
329
|
-
|
|
329
|
+
b
|
|
330
330
|
);
|
|
331
331
|
const p = (k) => {
|
|
332
|
-
o && k.stopPropagation(), !t && (
|
|
333
|
-
}, [T,
|
|
332
|
+
o && k.stopPropagation(), !t && (b ? s && s() : r && r(), R((M) => n ? !M : !0));
|
|
333
|
+
}, [T, F] = ce({
|
|
334
334
|
visibility: "hidden",
|
|
335
335
|
opacity: 0,
|
|
336
336
|
left: "-9999px"
|
|
337
|
-
}), [
|
|
338
|
-
if (!
|
|
339
|
-
const k =
|
|
340
|
-
let
|
|
337
|
+
}), [$, J] = ce(!1), ne = de(() => {
|
|
338
|
+
if (!O.current || !V.current) return;
|
|
339
|
+
const k = O.current.getBoundingClientRect(), M = V.current.getBoundingClientRect();
|
|
340
|
+
let K = 0, z = 0;
|
|
341
341
|
switch (c) {
|
|
342
342
|
case ie.Right:
|
|
343
|
-
|
|
343
|
+
K = k.top + window.scrollY - (M.height - k.height) / 2, z = k.right + window.scrollX;
|
|
344
344
|
break;
|
|
345
345
|
case ie.RightTop:
|
|
346
|
-
|
|
346
|
+
K = k.top + window.scrollY, z = k.right + window.scrollX;
|
|
347
347
|
break;
|
|
348
348
|
case ie.RightBottom:
|
|
349
|
-
|
|
349
|
+
K = k.bottom + window.scrollY - M.height, z = k.right + window.scrollX;
|
|
350
350
|
break;
|
|
351
351
|
case ie.Left:
|
|
352
|
-
|
|
352
|
+
K = k.top + window.scrollY - (M.height - k.height) / 2, z = k.left + window.scrollX - M.width;
|
|
353
353
|
break;
|
|
354
354
|
case ie.LeftTop:
|
|
355
|
-
|
|
355
|
+
K = k.top + window.scrollY, z = k.left + window.scrollX - M.width;
|
|
356
356
|
break;
|
|
357
357
|
case ie.LeftBottom:
|
|
358
|
-
|
|
358
|
+
K = k.bottom + window.scrollY - M.height, z = k.left + window.scrollX - M.width;
|
|
359
359
|
break;
|
|
360
360
|
case ie.Bottom:
|
|
361
|
-
|
|
361
|
+
K = k.bottom + window.scrollY, z = k.left + window.scrollX - (M.width - k.width) / 2;
|
|
362
362
|
break;
|
|
363
363
|
case ie.BottomLeft:
|
|
364
|
-
|
|
364
|
+
K = k.bottom + window.scrollY, z = k.left + window.scrollX;
|
|
365
365
|
break;
|
|
366
366
|
case ie.BottomRight:
|
|
367
|
-
|
|
367
|
+
K = k.bottom + window.scrollY, z = k.right + window.scrollX - M.width;
|
|
368
368
|
break;
|
|
369
369
|
case ie.Top:
|
|
370
|
-
|
|
370
|
+
K = k.top + window.scrollY - M.height, z = k.left + window.scrollX - (M.width - k.width) / 2;
|
|
371
371
|
break;
|
|
372
372
|
case ie.TopLeft:
|
|
373
|
-
|
|
373
|
+
K = k.top + window.scrollY - M.height, z = k.left + window.scrollX;
|
|
374
374
|
break;
|
|
375
375
|
case ie.TopRight:
|
|
376
|
-
|
|
376
|
+
K = k.top + window.scrollY - M.height, z = k.right + window.scrollX - M.width;
|
|
377
377
|
break;
|
|
378
378
|
default:
|
|
379
|
-
|
|
379
|
+
K = k.bottom + window.scrollY, z = k.left + window.scrollX;
|
|
380
380
|
}
|
|
381
|
-
|
|
382
|
-
...
|
|
383
|
-
top: `${
|
|
384
|
-
left: `${
|
|
385
|
-
visibility:
|
|
386
|
-
opacity:
|
|
381
|
+
K + M.height > window.innerHeight + window.scrollY && c.includes("bottom") ? K = k.top + window.scrollY - M.height : K < window.scrollY && c.includes("top") && (K = k.bottom + window.scrollY), z + M.width > window.innerWidth + window.scrollX && c.includes("left") ? z = k.left + window.scrollX - M.width + k.width : z < window.scrollX && c.includes("right") && (z = k.right + window.scrollX - k.width), F((m) => ({
|
|
382
|
+
...m,
|
|
383
|
+
top: `${K}px`,
|
|
384
|
+
left: `${z}px`,
|
|
385
|
+
visibility: b || $ ? "visible" : "hidden",
|
|
386
|
+
opacity: b || $ ? 1 : 0
|
|
387
387
|
}));
|
|
388
|
-
}, [c,
|
|
388
|
+
}, [c, b, $]);
|
|
389
389
|
ae(() => (w(!0), () => w(!1)), []), ae(() => {
|
|
390
|
-
|
|
391
|
-
}, [
|
|
392
|
-
if (!
|
|
390
|
+
A && ne();
|
|
391
|
+
}, [A, ne]), ae(() => {
|
|
392
|
+
if (!A) return;
|
|
393
393
|
const k = () => ne();
|
|
394
394
|
return window.addEventListener("resize", k), window.addEventListener("scroll", k, !0), () => {
|
|
395
395
|
window.removeEventListener("resize", k), window.removeEventListener("scroll", k, !0);
|
|
396
396
|
};
|
|
397
|
-
}, [
|
|
398
|
-
const
|
|
397
|
+
}, [A, ne]);
|
|
398
|
+
const ue = _({
|
|
399
399
|
[Dt.spTooltip]: !0,
|
|
400
|
-
...
|
|
401
|
-
}), ue = _({
|
|
402
|
-
...b && { [b]: !0 }
|
|
400
|
+
...h && { [h]: !0 }
|
|
403
401
|
}), me = _({
|
|
402
|
+
...y && { [y]: !0 }
|
|
403
|
+
}), le = _({
|
|
404
404
|
...E && { [E]: !0 }
|
|
405
|
-
}),
|
|
405
|
+
}), X = _({
|
|
406
406
|
[Dt.spTooltip__trigger]: !0,
|
|
407
|
-
...
|
|
407
|
+
...f && { [f]: !0 }
|
|
408
408
|
}), Z = document.body;
|
|
409
409
|
return /* @__PURE__ */ Y(
|
|
410
410
|
"div",
|
|
411
411
|
{
|
|
412
|
-
className:
|
|
412
|
+
className: ue,
|
|
413
413
|
onClick: p,
|
|
414
414
|
onMouseEnter: () => t && J(!0),
|
|
415
415
|
onMouseLeave: () => t && J(!1),
|
|
416
416
|
children: [
|
|
417
|
-
/* @__PURE__ */ l("div", { ref:
|
|
417
|
+
/* @__PURE__ */ l("div", { ref: O, className: X, children: i }),
|
|
418
418
|
a && /* @__PURE__ */ l(_n, { node: Z, children: /* @__PURE__ */ l(
|
|
419
419
|
mn,
|
|
420
420
|
{
|
|
@@ -422,14 +422,14 @@ const It = (e) => {
|
|
|
422
422
|
ref: V,
|
|
423
423
|
noPadding: d,
|
|
424
424
|
text: u,
|
|
425
|
-
classNameRoot:
|
|
426
|
-
classNameContentRoot:
|
|
425
|
+
classNameRoot: me,
|
|
426
|
+
classNameContentRoot: le
|
|
427
427
|
}
|
|
428
428
|
) })
|
|
429
429
|
]
|
|
430
430
|
}
|
|
431
431
|
);
|
|
432
|
-
}, Qe = (e) => /* @__PURE__ */ l(
|
|
432
|
+
}, Qe = (e) => /* @__PURE__ */ l(Nt, { ...e, hover: !0, trigger: /* @__PURE__ */ l(ge, { name: re.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
433
|
spCheckbox: Yo,
|
|
434
434
|
spCheckbox__control: Vo,
|
|
435
435
|
spCheckbox__label: Uo,
|
|
@@ -442,7 +442,7 @@ const It = (e) => {
|
|
|
442
442
|
spCheckbox__tooltip: Qo,
|
|
443
443
|
spCheckbox__required: Jo,
|
|
444
444
|
spCheckbox__error: ea
|
|
445
|
-
},
|
|
445
|
+
}, Ns = (e) => {
|
|
446
446
|
const {
|
|
447
447
|
size: t = "lg",
|
|
448
448
|
checked: n,
|
|
@@ -451,27 +451,27 @@ const It = (e) => {
|
|
|
451
451
|
name: i,
|
|
452
452
|
label: r,
|
|
453
453
|
error: s,
|
|
454
|
-
value:
|
|
454
|
+
value: f,
|
|
455
455
|
required: c,
|
|
456
456
|
tooltipPosition: u,
|
|
457
457
|
infoTooltipText: d,
|
|
458
|
-
onMouseEnter:
|
|
459
|
-
classNameRoot:
|
|
458
|
+
onMouseEnter: h,
|
|
459
|
+
classNameRoot: y,
|
|
460
460
|
classNameError: E
|
|
461
|
-
} = e,
|
|
461
|
+
} = e, b = _({
|
|
462
462
|
[ye.spCheckbox]: !0,
|
|
463
|
-
...
|
|
464
|
-
}),
|
|
463
|
+
...y && { [y]: !0 }
|
|
464
|
+
}), R = _({
|
|
465
465
|
[ye.spCheckbox__box]: !0,
|
|
466
466
|
[ye.spCheckbox__box_checked]: n,
|
|
467
467
|
[ye.spCheckbox__box_disabled]: o,
|
|
468
468
|
[ye[`spCheckbox__box--size-${t}`]]: t,
|
|
469
469
|
[ye.spCheckbox__box_error]: s
|
|
470
|
-
}),
|
|
470
|
+
}), O = _({
|
|
471
471
|
[ye.spCheckbox__control]: !0
|
|
472
472
|
}), V = _({
|
|
473
473
|
[ye.spCheckbox__label]: !0
|
|
474
|
-
}),
|
|
474
|
+
}), A = _({
|
|
475
475
|
[ye.spCheckbox__required]: !0
|
|
476
476
|
}), w = _({
|
|
477
477
|
[ye.spCheckbox__error]: !0,
|
|
@@ -479,26 +479,26 @@ const It = (e) => {
|
|
|
479
479
|
}), p = _({
|
|
480
480
|
[ye.spCheckbox__tooltip]: !0
|
|
481
481
|
});
|
|
482
|
-
return /* @__PURE__ */ Y("div", { className:
|
|
483
|
-
/* @__PURE__ */ Y("label", { className:
|
|
482
|
+
return /* @__PURE__ */ Y("div", { className: b, onMouseEnter: h, children: [
|
|
483
|
+
/* @__PURE__ */ Y("label", { className: R, children: [
|
|
484
484
|
/* @__PURE__ */ l(
|
|
485
485
|
"input",
|
|
486
486
|
{
|
|
487
487
|
type: "checkbox",
|
|
488
|
-
className:
|
|
488
|
+
className: O,
|
|
489
489
|
checked: n,
|
|
490
|
-
onChange: (
|
|
491
|
-
!o && a && a(
|
|
490
|
+
onChange: (F) => {
|
|
491
|
+
!o && a && a(F, { name: i, checked: !n, value: f });
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
494
|
),
|
|
495
495
|
r && /* @__PURE__ */ l("span", { className: V, children: r }),
|
|
496
|
-
c && /* @__PURE__ */ l("div", { className:
|
|
496
|
+
c && /* @__PURE__ */ l("div", { className: A, children: "*" }),
|
|
497
497
|
d && /* @__PURE__ */ l("div", { className: p, children: /* @__PURE__ */ l(Qe, { position: u, text: d }) })
|
|
498
498
|
] }),
|
|
499
499
|
s && /* @__PURE__ */ l("div", { className: w, children: s })
|
|
500
500
|
] });
|
|
501
|
-
},
|
|
501
|
+
}, Is = (e = {}) => {
|
|
502
502
|
const { initialValue: t = null } = e, [n, o] = ce(t);
|
|
503
503
|
return {
|
|
504
504
|
isOpen: !!n,
|
|
@@ -543,14 +543,14 @@ const It = (e) => {
|
|
|
543
543
|
title: i,
|
|
544
544
|
style: r,
|
|
545
545
|
onClick: s,
|
|
546
|
-
isEllipsis:
|
|
546
|
+
isEllipsis: f = !1,
|
|
547
547
|
isCursorPointer: c = !1,
|
|
548
548
|
isCursorPointerByOnClick: u = !0,
|
|
549
549
|
classNameRoot: d
|
|
550
|
-
} = e,
|
|
550
|
+
} = e, h = () => s && u ? !0 : c, y = _({
|
|
551
551
|
[Ye.spText]: !0,
|
|
552
|
-
[Ye.spText_ellipsis]:
|
|
553
|
-
[Ye.spText_cursorPointer]:
|
|
552
|
+
[Ye.spText_ellipsis]: f,
|
|
553
|
+
[Ye.spText_cursorPointer]: h(),
|
|
554
554
|
[Ye[`spText_type-${n}`]]: n,
|
|
555
555
|
...d && { [d]: !0 }
|
|
556
556
|
});
|
|
@@ -560,7 +560,7 @@ const It = (e) => {
|
|
|
560
560
|
style: { ...r, color: a },
|
|
561
561
|
title: i,
|
|
562
562
|
onClick: s,
|
|
563
|
-
className:
|
|
563
|
+
className: y,
|
|
564
564
|
ref: t,
|
|
565
565
|
children: o
|
|
566
566
|
}
|
|
@@ -587,26 +587,26 @@ const sa = "_modalWrapper_ah6vq_43", pa = "_modalWrapper__modal_ah6vq_54", ca =
|
|
|
587
587
|
classNameLayerRoot: i,
|
|
588
588
|
classNameRoot: r,
|
|
589
589
|
style: s,
|
|
590
|
-
align:
|
|
590
|
+
align: f = "top",
|
|
591
591
|
onClose: c,
|
|
592
592
|
header: u,
|
|
593
593
|
subHeader: d,
|
|
594
|
-
footer:
|
|
595
|
-
} = e,
|
|
594
|
+
footer: h
|
|
595
|
+
} = e, y = _({
|
|
596
596
|
[ke.modalWrapper]: !0,
|
|
597
|
-
[ke[`modalWrapper_align-${
|
|
597
|
+
[ke[`modalWrapper_align-${f}`]]: f
|
|
598
598
|
}), E = _({
|
|
599
599
|
[ke.modalWrapper__modal]: !0,
|
|
600
600
|
...r && { [r]: !0 }
|
|
601
|
-
}),
|
|
601
|
+
}), b = _({
|
|
602
602
|
[ke.modalWrapper__closeButton]: !0
|
|
603
|
-
}),
|
|
603
|
+
}), R = _({
|
|
604
604
|
[ke.modalWrapper__closeButtonIconContainer]: !0
|
|
605
|
-
}),
|
|
605
|
+
}), O = _({
|
|
606
606
|
[ke.modalWrapper__content]: !0
|
|
607
607
|
}), V = _({
|
|
608
608
|
[ke.modalWrapper__header]: !0
|
|
609
|
-
}),
|
|
609
|
+
}), A = _({
|
|
610
610
|
[ke.modalWrapper__subHeader]: !0
|
|
611
611
|
}), w = _({
|
|
612
612
|
[ke.modalWrapper__footer]: !0
|
|
@@ -616,18 +616,18 @@ const sa = "_modalWrapper_ah6vq_43", pa = "_modalWrapper__modal_ah6vq_54", ca =
|
|
|
616
616
|
return T.style.position = "fixed", T.style.top = `-${p}px`, T.style.left = "0", T.style.right = "0", T.style.overflow = "hidden", () => {
|
|
617
617
|
T.style.position = "", T.style.top = "", T.style.left = "", T.style.right = "", T.style.overflow = "", window.scrollTo(0, p);
|
|
618
618
|
};
|
|
619
|
-
}, []), /* @__PURE__ */ l(oa, { zIndex: t, isHiddenModal: n, classNameRoot: i, children: /* @__PURE__ */ l("div", { className:
|
|
619
|
+
}, []), /* @__PURE__ */ l(oa, { zIndex: t, isHiddenModal: n, classNameRoot: i, children: /* @__PURE__ */ l("div", { className: y, children: /* @__PURE__ */ Y("div", { className: E, style: s, children: [
|
|
620
620
|
(u || d) && /* @__PURE__ */ Y("div", { className: V, children: [
|
|
621
621
|
typeof u == "string" ? /* @__PURE__ */ l(Se, { type: "h3", children: u }) : u,
|
|
622
|
-
d && /* @__PURE__ */ l("div", { className:
|
|
622
|
+
d && /* @__PURE__ */ l("div", { className: A, children: typeof d == "string" ? /* @__PURE__ */ l(Se, { children: d }) : d })
|
|
623
623
|
] }),
|
|
624
|
-
a && /* @__PURE__ */ l("div", { className:
|
|
625
|
-
|
|
624
|
+
a && /* @__PURE__ */ l("div", { className: O, children: a }),
|
|
625
|
+
h && /* @__PURE__ */ l("div", { className: w, children: h }),
|
|
626
626
|
o && /* @__PURE__ */ l(
|
|
627
627
|
yt,
|
|
628
628
|
{
|
|
629
|
-
classNameRoot:
|
|
630
|
-
classNameIconContainerRoot:
|
|
629
|
+
classNameRoot: b,
|
|
630
|
+
classNameIconContainerRoot: R,
|
|
631
631
|
onClick: c,
|
|
632
632
|
iconName: re.Close,
|
|
633
633
|
variant: "link",
|
|
@@ -645,14 +645,14 @@ const sa = "_modalWrapper_ah6vq_43", pa = "_modalWrapper__modal_ah6vq_54", ca =
|
|
|
645
645
|
cancelBtnDisabled: i,
|
|
646
646
|
cancelBtnIconName: r,
|
|
647
647
|
submitBtnContent: s,
|
|
648
|
-
submit:
|
|
648
|
+
submit: f,
|
|
649
649
|
disabled: c,
|
|
650
650
|
formId: u,
|
|
651
651
|
onClose: d,
|
|
652
|
-
mobile:
|
|
653
|
-
align:
|
|
652
|
+
mobile: h = "column",
|
|
653
|
+
align: y = "right",
|
|
654
654
|
modalAlign: E = "top",
|
|
655
|
-
loading:
|
|
655
|
+
loading: b
|
|
656
656
|
} = e;
|
|
657
657
|
return /* @__PURE__ */ l(
|
|
658
658
|
_a,
|
|
@@ -665,8 +665,8 @@ const sa = "_modalWrapper_ah6vq_43", pa = "_modalWrapper__modal_ah6vq_54", ca =
|
|
|
665
665
|
footer: a || s ? /* @__PURE__ */ l(
|
|
666
666
|
Bo,
|
|
667
667
|
{
|
|
668
|
-
mobile:
|
|
669
|
-
align:
|
|
668
|
+
mobile: h,
|
|
669
|
+
align: y,
|
|
670
670
|
cancelBtnContent: a,
|
|
671
671
|
cancelBtnIconName: r,
|
|
672
672
|
cancelBtnDisabled: i,
|
|
@@ -674,8 +674,8 @@ const sa = "_modalWrapper_ah6vq_43", pa = "_modalWrapper__modal_ah6vq_54", ca =
|
|
|
674
674
|
formId: u,
|
|
675
675
|
disabled: c,
|
|
676
676
|
onClose: d,
|
|
677
|
-
submit:
|
|
678
|
-
loading:
|
|
677
|
+
submit: f,
|
|
678
|
+
loading: b
|
|
679
679
|
}
|
|
680
680
|
) : null
|
|
681
681
|
}
|
|
@@ -713,7 +713,7 @@ const sa = "_modalWrapper_ah6vq_43", pa = "_modalWrapper__modal_ah6vq_54", ca =
|
|
|
713
713
|
function vn(e) {
|
|
714
714
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
715
715
|
}
|
|
716
|
-
var wt = { exports: {} }, Ve = { exports: {} },
|
|
716
|
+
var wt = { exports: {} }, Ve = { exports: {} }, U = {};
|
|
717
717
|
/** @license React v16.13.1
|
|
718
718
|
* react-is.production.min.js
|
|
719
719
|
*
|
|
@@ -724,16 +724,16 @@ var wt = { exports: {} }, Ve = { exports: {} }, G = {};
|
|
|
724
724
|
*/
|
|
725
725
|
var Lt;
|
|
726
726
|
function ha() {
|
|
727
|
-
if (Lt) return
|
|
727
|
+
if (Lt) return U;
|
|
728
728
|
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,
|
|
730
|
-
function
|
|
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, y = e ? Symbol.for("react.memo") : 60115, E = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, R = e ? Symbol.for("react.fundamental") : 60117, O = e ? Symbol.for("react.responder") : 60118, V = e ? Symbol.for("react.scope") : 60119;
|
|
730
|
+
function A(p) {
|
|
731
731
|
if (typeof p == "object" && p !== null) {
|
|
732
732
|
var T = p.$$typeof;
|
|
733
733
|
switch (T) {
|
|
734
734
|
case t:
|
|
735
735
|
switch (p = p.type, p) {
|
|
736
|
-
case
|
|
736
|
+
case f:
|
|
737
737
|
case c:
|
|
738
738
|
case o:
|
|
739
739
|
case i:
|
|
@@ -745,7 +745,7 @@ function ha() {
|
|
|
745
745
|
case s:
|
|
746
746
|
case u:
|
|
747
747
|
case E:
|
|
748
|
-
case
|
|
748
|
+
case y:
|
|
749
749
|
case r:
|
|
750
750
|
return p;
|
|
751
751
|
default:
|
|
@@ -758,37 +758,37 @@ function ha() {
|
|
|
758
758
|
}
|
|
759
759
|
}
|
|
760
760
|
function w(p) {
|
|
761
|
-
return
|
|
761
|
+
return A(p) === c;
|
|
762
762
|
}
|
|
763
|
-
return
|
|
764
|
-
return w(p) ||
|
|
765
|
-
},
|
|
766
|
-
return
|
|
767
|
-
},
|
|
768
|
-
return
|
|
769
|
-
},
|
|
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 = y, U.Portal = n, U.Profiler = i, U.StrictMode = a, U.Suspense = d, U.isAsyncMode = function(p) {
|
|
764
|
+
return w(p) || A(p) === f;
|
|
765
|
+
}, U.isConcurrentMode = w, U.isContextConsumer = function(p) {
|
|
766
|
+
return A(p) === s;
|
|
767
|
+
}, U.isContextProvider = function(p) {
|
|
768
|
+
return A(p) === r;
|
|
769
|
+
}, U.isElement = function(p) {
|
|
770
770
|
return typeof p == "object" && p !== null && p.$$typeof === t;
|
|
771
|
-
},
|
|
772
|
-
return
|
|
773
|
-
},
|
|
774
|
-
return
|
|
775
|
-
},
|
|
776
|
-
return
|
|
777
|
-
},
|
|
778
|
-
return
|
|
779
|
-
},
|
|
780
|
-
return
|
|
781
|
-
},
|
|
782
|
-
return
|
|
783
|
-
},
|
|
784
|
-
return
|
|
785
|
-
},
|
|
786
|
-
return
|
|
787
|
-
},
|
|
788
|
-
return typeof p == "string" || typeof p == "function" || p === o || p === c || p === i || p === a || p === d || p ===
|
|
789
|
-
},
|
|
771
|
+
}, U.isForwardRef = function(p) {
|
|
772
|
+
return A(p) === u;
|
|
773
|
+
}, U.isFragment = function(p) {
|
|
774
|
+
return A(p) === o;
|
|
775
|
+
}, U.isLazy = function(p) {
|
|
776
|
+
return A(p) === E;
|
|
777
|
+
}, U.isMemo = function(p) {
|
|
778
|
+
return A(p) === y;
|
|
779
|
+
}, U.isPortal = function(p) {
|
|
780
|
+
return A(p) === n;
|
|
781
|
+
}, U.isProfiler = function(p) {
|
|
782
|
+
return A(p) === i;
|
|
783
|
+
}, U.isStrictMode = function(p) {
|
|
784
|
+
return A(p) === a;
|
|
785
|
+
}, U.isSuspense = function(p) {
|
|
786
|
+
return A(p) === d;
|
|
787
|
+
}, 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 === y || p.$$typeof === r || p.$$typeof === s || p.$$typeof === u || p.$$typeof === R || p.$$typeof === O || p.$$typeof === V || p.$$typeof === b);
|
|
789
|
+
}, U.typeOf = A, U;
|
|
790
790
|
}
|
|
791
|
-
var
|
|
791
|
+
var G = {};
|
|
792
792
|
/** @license React v16.13.1
|
|
793
793
|
* react-is.development.js
|
|
794
794
|
*
|
|
@@ -800,32 +800,32 @@ var K = {};
|
|
|
800
800
|
var Pt;
|
|
801
801
|
function ba() {
|
|
802
802
|
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,
|
|
804
|
-
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, y = e ? Symbol.for("react.memo") : 60115, E = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, R = e ? Symbol.for("react.fundamental") : 60117, O = e ? Symbol.for("react.responder") : 60118, V = e ? Symbol.for("react.scope") : 60119;
|
|
804
|
+
function A(v) {
|
|
805
805
|
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 ===
|
|
806
|
+
v === o || v === c || v === i || v === a || v === d || v === h || typeof v == "object" && v !== null && (v.$$typeof === E || v.$$typeof === y || v.$$typeof === r || v.$$typeof === s || v.$$typeof === u || v.$$typeof === R || v.$$typeof === O || v.$$typeof === V || v.$$typeof === b);
|
|
807
807
|
}
|
|
808
808
|
function w(v) {
|
|
809
809
|
if (typeof v == "object" && v !== null) {
|
|
810
810
|
var fe = v.$$typeof;
|
|
811
811
|
switch (fe) {
|
|
812
812
|
case t:
|
|
813
|
-
var
|
|
814
|
-
switch (
|
|
815
|
-
case
|
|
813
|
+
var Ne = v.type;
|
|
814
|
+
switch (Ne) {
|
|
815
|
+
case f:
|
|
816
816
|
case c:
|
|
817
817
|
case o:
|
|
818
818
|
case i:
|
|
819
819
|
case a:
|
|
820
820
|
case d:
|
|
821
|
-
return
|
|
821
|
+
return Ne;
|
|
822
822
|
default:
|
|
823
|
-
var Pe =
|
|
823
|
+
var Pe = Ne && Ne.$$typeof;
|
|
824
824
|
switch (Pe) {
|
|
825
825
|
case s:
|
|
826
826
|
case u:
|
|
827
827
|
case E:
|
|
828
|
-
case
|
|
828
|
+
case y:
|
|
829
829
|
case r:
|
|
830
830
|
return Pe;
|
|
831
831
|
default:
|
|
@@ -837,35 +837,35 @@ function ba() {
|
|
|
837
837
|
}
|
|
838
838
|
}
|
|
839
839
|
}
|
|
840
|
-
var p =
|
|
841
|
-
function
|
|
842
|
-
return
|
|
840
|
+
var p = f, T = c, F = s, $ = r, J = t, ne = u, ue = o, me = E, le = y, X = n, Z = i, k = a, M = d, K = !1;
|
|
841
|
+
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) || w(v) === f;
|
|
843
843
|
}
|
|
844
|
-
function
|
|
844
|
+
function m(v) {
|
|
845
845
|
return w(v) === c;
|
|
846
846
|
}
|
|
847
|
-
function
|
|
847
|
+
function g(v) {
|
|
848
848
|
return w(v) === s;
|
|
849
849
|
}
|
|
850
|
-
function
|
|
850
|
+
function D(v) {
|
|
851
851
|
return w(v) === r;
|
|
852
852
|
}
|
|
853
|
-
function
|
|
853
|
+
function L(v) {
|
|
854
854
|
return typeof v == "object" && v !== null && v.$$typeof === t;
|
|
855
855
|
}
|
|
856
|
-
function
|
|
856
|
+
function N(v) {
|
|
857
857
|
return w(v) === u;
|
|
858
858
|
}
|
|
859
|
-
function
|
|
859
|
+
function W(v) {
|
|
860
860
|
return w(v) === o;
|
|
861
861
|
}
|
|
862
|
-
function
|
|
862
|
+
function j(v) {
|
|
863
863
|
return w(v) === E;
|
|
864
864
|
}
|
|
865
|
-
function
|
|
866
|
-
return w(v) ===
|
|
865
|
+
function P(v) {
|
|
866
|
+
return w(v) === y;
|
|
867
867
|
}
|
|
868
|
-
function
|
|
868
|
+
function q(v) {
|
|
869
869
|
return w(v) === n;
|
|
870
870
|
}
|
|
871
871
|
function H(v) {
|
|
@@ -877,8 +877,8 @@ function ba() {
|
|
|
877
877
|
function te(v) {
|
|
878
878
|
return w(v) === d;
|
|
879
879
|
}
|
|
880
|
-
|
|
881
|
-
}()),
|
|
880
|
+
G.AsyncMode = p, G.ConcurrentMode = T, G.ContextConsumer = F, G.ContextProvider = $, 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 = j, G.isMemo = P, G.isPortal = q, G.isProfiler = H, G.isStrictMode = B, G.isSuspense = te, G.isValidElementType = A, G.typeOf = w;
|
|
881
|
+
}()), G;
|
|
882
882
|
}
|
|
883
883
|
var Ft;
|
|
884
884
|
function xn() {
|
|
@@ -908,10 +908,10 @@ function ya() {
|
|
|
908
908
|
return !1;
|
|
909
909
|
for (var r = {}, s = 0; s < 10; s++)
|
|
910
910
|
r["_" + String.fromCharCode(s)] = s;
|
|
911
|
-
var
|
|
911
|
+
var f = Object.getOwnPropertyNames(r).map(function(u) {
|
|
912
912
|
return r[u];
|
|
913
913
|
});
|
|
914
|
-
if (
|
|
914
|
+
if (f.join("") !== "0123456789")
|
|
915
915
|
return !1;
|
|
916
916
|
var c = {};
|
|
917
917
|
return "abcdefghijklmnopqrst".split("").forEach(function(u) {
|
|
@@ -922,21 +922,21 @@ function ya() {
|
|
|
922
922
|
}
|
|
923
923
|
}
|
|
924
924
|
return dt = a() ? Object.assign : function(i, r) {
|
|
925
|
-
for (var s,
|
|
925
|
+
for (var s, f = o(i), c, u = 1; u < arguments.length; u++) {
|
|
926
926
|
s = Object(arguments[u]);
|
|
927
927
|
for (var d in s)
|
|
928
|
-
t.call(s, d) && (
|
|
928
|
+
t.call(s, d) && (f[d] = s[d]);
|
|
929
929
|
if (e) {
|
|
930
930
|
c = e(s);
|
|
931
|
-
for (var
|
|
932
|
-
n.call(s, c[
|
|
931
|
+
for (var h = 0; h < c.length; h++)
|
|
932
|
+
n.call(s, c[h]) && (f[c[h]] = s[c[h]]);
|
|
933
933
|
}
|
|
934
934
|
}
|
|
935
|
-
return
|
|
935
|
+
return f;
|
|
936
936
|
}, dt;
|
|
937
937
|
}
|
|
938
938
|
var ut, Bt;
|
|
939
|
-
function
|
|
939
|
+
function It() {
|
|
940
940
|
if (Bt) return ut;
|
|
941
941
|
Bt = 1;
|
|
942
942
|
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
@@ -953,7 +953,7 @@ function wa() {
|
|
|
953
953
|
var e = function() {
|
|
954
954
|
};
|
|
955
955
|
if (process.env.NODE_ENV !== "production") {
|
|
956
|
-
var t =
|
|
956
|
+
var t = It(), n = {}, o = gn();
|
|
957
957
|
e = function(i) {
|
|
958
958
|
var r = "Warning: " + i;
|
|
959
959
|
typeof console < "u" && console.error(r);
|
|
@@ -963,29 +963,29 @@ function wa() {
|
|
|
963
963
|
}
|
|
964
964
|
};
|
|
965
965
|
}
|
|
966
|
-
function a(i, r, s,
|
|
966
|
+
function a(i, r, s, f, c) {
|
|
967
967
|
if (process.env.NODE_ENV !== "production") {
|
|
968
968
|
for (var u in i)
|
|
969
969
|
if (o(i, u)) {
|
|
970
970
|
var d;
|
|
971
971
|
try {
|
|
972
972
|
if (typeof i[u] != "function") {
|
|
973
|
-
var
|
|
974
|
-
(
|
|
973
|
+
var h = Error(
|
|
974
|
+
(f || "React class") + ": " + s + " type `" + u + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[u] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
975
975
|
);
|
|
976
|
-
throw
|
|
976
|
+
throw h.name = "Invariant Violation", h;
|
|
977
977
|
}
|
|
978
|
-
d = i[u](r, u,
|
|
978
|
+
d = i[u](r, u, f, s, null, t);
|
|
979
979
|
} catch (E) {
|
|
980
980
|
d = E;
|
|
981
981
|
}
|
|
982
982
|
if (d && !(d instanceof Error) && e(
|
|
983
|
-
(
|
|
983
|
+
(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
984
|
), d instanceof Error && !(d.message in n)) {
|
|
985
985
|
n[d.message] = !0;
|
|
986
|
-
var
|
|
986
|
+
var y = c ? c() : "";
|
|
987
987
|
e(
|
|
988
|
-
"Failed " + s + " type: " + d.message + (
|
|
988
|
+
"Failed " + s + " type: " + d.message + (y ?? "")
|
|
989
989
|
);
|
|
990
990
|
}
|
|
991
991
|
}
|
|
@@ -999,275 +999,275 @@ var _t, qt;
|
|
|
999
999
|
function ka() {
|
|
1000
1000
|
if (qt) return _t;
|
|
1001
1001
|
qt = 1;
|
|
1002
|
-
var e = xn(), t = ya(), n =
|
|
1002
|
+
var e = xn(), t = ya(), n = It(), o = gn(), a = wa(), i = function() {
|
|
1003
1003
|
};
|
|
1004
1004
|
process.env.NODE_ENV !== "production" && (i = function(s) {
|
|
1005
|
-
var
|
|
1006
|
-
typeof console < "u" && console.error(
|
|
1005
|
+
var f = "Warning: " + s;
|
|
1006
|
+
typeof console < "u" && console.error(f);
|
|
1007
1007
|
try {
|
|
1008
|
-
throw new Error(
|
|
1008
|
+
throw new Error(f);
|
|
1009
1009
|
} catch {
|
|
1010
1010
|
}
|
|
1011
1011
|
});
|
|
1012
1012
|
function r() {
|
|
1013
1013
|
return null;
|
|
1014
1014
|
}
|
|
1015
|
-
return _t = function(s,
|
|
1015
|
+
return _t = function(s, f) {
|
|
1016
1016
|
var c = typeof Symbol == "function" && Symbol.iterator, u = "@@iterator";
|
|
1017
|
-
function d(
|
|
1018
|
-
var
|
|
1019
|
-
if (typeof
|
|
1020
|
-
return
|
|
1017
|
+
function d(m) {
|
|
1018
|
+
var g = m && (c && m[c] || m[u]);
|
|
1019
|
+
if (typeof g == "function")
|
|
1020
|
+
return g;
|
|
1021
1021
|
}
|
|
1022
|
-
var
|
|
1023
|
-
array:
|
|
1024
|
-
bigint:
|
|
1025
|
-
bool:
|
|
1026
|
-
func:
|
|
1027
|
-
number:
|
|
1028
|
-
object:
|
|
1029
|
-
string:
|
|
1030
|
-
symbol:
|
|
1022
|
+
var h = "<<anonymous>>", y = {
|
|
1023
|
+
array: O("array"),
|
|
1024
|
+
bigint: O("bigint"),
|
|
1025
|
+
bool: O("boolean"),
|
|
1026
|
+
func: O("function"),
|
|
1027
|
+
number: O("number"),
|
|
1028
|
+
object: O("object"),
|
|
1029
|
+
string: O("string"),
|
|
1030
|
+
symbol: O("symbol"),
|
|
1031
1031
|
any: V(),
|
|
1032
|
-
arrayOf:
|
|
1032
|
+
arrayOf: A,
|
|
1033
1033
|
element: w(),
|
|
1034
1034
|
elementType: p(),
|
|
1035
1035
|
instanceOf: T,
|
|
1036
1036
|
node: ne(),
|
|
1037
|
-
objectOf:
|
|
1038
|
-
oneOf:
|
|
1037
|
+
objectOf: $,
|
|
1038
|
+
oneOf: F,
|
|
1039
1039
|
oneOfType: J,
|
|
1040
|
-
shape:
|
|
1041
|
-
exact:
|
|
1040
|
+
shape: me,
|
|
1041
|
+
exact: le
|
|
1042
1042
|
};
|
|
1043
|
-
function E(
|
|
1044
|
-
return
|
|
1043
|
+
function E(m, g) {
|
|
1044
|
+
return m === g ? m !== 0 || 1 / m === 1 / g : m !== m && g !== g;
|
|
1045
1045
|
}
|
|
1046
|
-
function
|
|
1047
|
-
this.message =
|
|
1046
|
+
function b(m, g) {
|
|
1047
|
+
this.message = m, this.data = g && typeof g == "object" ? g : {}, this.stack = "";
|
|
1048
1048
|
}
|
|
1049
|
-
|
|
1050
|
-
function
|
|
1049
|
+
b.prototype = Error.prototype;
|
|
1050
|
+
function R(m) {
|
|
1051
1051
|
if (process.env.NODE_ENV !== "production")
|
|
1052
|
-
var
|
|
1053
|
-
function
|
|
1054
|
-
if (
|
|
1055
|
-
if (
|
|
1052
|
+
var g = {}, D = 0;
|
|
1053
|
+
function L(W, j, P, q, H, B, te) {
|
|
1054
|
+
if (q = q || h, B = B || P, te !== n) {
|
|
1055
|
+
if (f) {
|
|
1056
1056
|
var v = new Error(
|
|
1057
1057
|
"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
1058
|
);
|
|
1059
1059
|
throw v.name = "Invariant Violation", v;
|
|
1060
1060
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1061
|
-
var fe =
|
|
1062
|
-
!
|
|
1063
|
-
|
|
1064
|
-
"You are manually calling a React.PropTypes validation function for the `" + B + "` prop on `" +
|
|
1065
|
-
),
|
|
1061
|
+
var fe = q + ":" + P;
|
|
1062
|
+
!g[fe] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
1063
|
+
D < 3 && (i(
|
|
1064
|
+
"You are manually calling a React.PropTypes validation function for the `" + B + "` prop on `" + q + "`. 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
|
+
), g[fe] = !0, D++);
|
|
1066
1066
|
}
|
|
1067
1067
|
}
|
|
1068
|
-
return
|
|
1068
|
+
return j[P] == null ? W ? j[P] === null ? new b("The " + H + " `" + B + "` is marked as required " + ("in `" + q + "`, but its value is `null`.")) : new b("The " + H + " `" + B + "` is marked as required in " + ("`" + q + "`, but its value is `undefined`.")) : null : m(j, P, q, H, B);
|
|
1069
1069
|
}
|
|
1070
|
-
var
|
|
1071
|
-
return
|
|
1070
|
+
var N = L.bind(null, !1);
|
|
1071
|
+
return N.isRequired = L.bind(null, !0), N;
|
|
1072
1072
|
}
|
|
1073
|
-
function
|
|
1074
|
-
function
|
|
1075
|
-
var
|
|
1076
|
-
if (H !==
|
|
1077
|
-
var B = q
|
|
1078
|
-
return new
|
|
1079
|
-
"Invalid " +
|
|
1080
|
-
{ expectedType:
|
|
1073
|
+
function O(m) {
|
|
1074
|
+
function g(D, L, N, W, j, P) {
|
|
1075
|
+
var q = D[L], H = k(q);
|
|
1076
|
+
if (H !== m) {
|
|
1077
|
+
var B = M(q);
|
|
1078
|
+
return new b(
|
|
1079
|
+
"Invalid " + W + " `" + j + "` of type " + ("`" + B + "` supplied to `" + N + "`, expected ") + ("`" + m + "`."),
|
|
1080
|
+
{ expectedType: m }
|
|
1081
1081
|
);
|
|
1082
1082
|
}
|
|
1083
1083
|
return null;
|
|
1084
1084
|
}
|
|
1085
|
-
return
|
|
1085
|
+
return R(g);
|
|
1086
1086
|
}
|
|
1087
1087
|
function V() {
|
|
1088
|
-
return
|
|
1088
|
+
return R(r);
|
|
1089
1089
|
}
|
|
1090
|
-
function
|
|
1091
|
-
function
|
|
1092
|
-
if (typeof
|
|
1093
|
-
return new
|
|
1094
|
-
var
|
|
1095
|
-
if (!Array.isArray(
|
|
1096
|
-
var
|
|
1097
|
-
return new
|
|
1090
|
+
function A(m) {
|
|
1091
|
+
function g(D, L, N, W, j) {
|
|
1092
|
+
if (typeof m != "function")
|
|
1093
|
+
return new b("Property `" + j + "` of component `" + N + "` has invalid PropType notation inside arrayOf.");
|
|
1094
|
+
var P = D[L];
|
|
1095
|
+
if (!Array.isArray(P)) {
|
|
1096
|
+
var q = k(P);
|
|
1097
|
+
return new b("Invalid " + W + " `" + j + "` of type " + ("`" + q + "` supplied to `" + N + "`, expected an array."));
|
|
1098
1098
|
}
|
|
1099
|
-
for (var H = 0; H <
|
|
1100
|
-
var B =
|
|
1099
|
+
for (var H = 0; H < P.length; H++) {
|
|
1100
|
+
var B = m(P, H, N, W, j + "[" + H + "]", n);
|
|
1101
1101
|
if (B instanceof Error)
|
|
1102
1102
|
return B;
|
|
1103
1103
|
}
|
|
1104
1104
|
return null;
|
|
1105
1105
|
}
|
|
1106
|
-
return
|
|
1106
|
+
return R(g);
|
|
1107
1107
|
}
|
|
1108
1108
|
function w() {
|
|
1109
|
-
function
|
|
1110
|
-
var
|
|
1111
|
-
if (!s(
|
|
1112
|
-
var
|
|
1113
|
-
return new
|
|
1109
|
+
function m(g, D, L, N, W) {
|
|
1110
|
+
var j = g[D];
|
|
1111
|
+
if (!s(j)) {
|
|
1112
|
+
var P = k(j);
|
|
1113
|
+
return new b("Invalid " + N + " `" + W + "` of type " + ("`" + P + "` supplied to `" + L + "`, expected a single ReactElement."));
|
|
1114
1114
|
}
|
|
1115
1115
|
return null;
|
|
1116
1116
|
}
|
|
1117
|
-
return
|
|
1117
|
+
return R(m);
|
|
1118
1118
|
}
|
|
1119
1119
|
function p() {
|
|
1120
|
-
function
|
|
1121
|
-
var
|
|
1122
|
-
if (!e.isValidElementType(
|
|
1123
|
-
var
|
|
1124
|
-
return new
|
|
1120
|
+
function m(g, D, L, N, W) {
|
|
1121
|
+
var j = g[D];
|
|
1122
|
+
if (!e.isValidElementType(j)) {
|
|
1123
|
+
var P = k(j);
|
|
1124
|
+
return new b("Invalid " + N + " `" + W + "` of type " + ("`" + P + "` supplied to `" + L + "`, expected a single ReactElement type."));
|
|
1125
1125
|
}
|
|
1126
1126
|
return null;
|
|
1127
1127
|
}
|
|
1128
|
-
return
|
|
1128
|
+
return R(m);
|
|
1129
1129
|
}
|
|
1130
|
-
function T(
|
|
1131
|
-
function
|
|
1132
|
-
if (!(
|
|
1133
|
-
var
|
|
1134
|
-
return new
|
|
1130
|
+
function T(m) {
|
|
1131
|
+
function g(D, L, N, W, j) {
|
|
1132
|
+
if (!(D[L] instanceof m)) {
|
|
1133
|
+
var P = m.name || h, q = z(D[L]);
|
|
1134
|
+
return new b("Invalid " + W + " `" + j + "` of type " + ("`" + q + "` supplied to `" + N + "`, expected ") + ("instance of `" + P + "`."));
|
|
1135
1135
|
}
|
|
1136
1136
|
return null;
|
|
1137
1137
|
}
|
|
1138
|
-
return
|
|
1138
|
+
return R(g);
|
|
1139
1139
|
}
|
|
1140
|
-
function
|
|
1141
|
-
if (!Array.isArray(
|
|
1140
|
+
function F(m) {
|
|
1141
|
+
if (!Array.isArray(m))
|
|
1142
1142
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
1143
1143
|
"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
1144
|
) : i("Invalid argument supplied to oneOf, expected an array.")), r;
|
|
1145
|
-
function
|
|
1146
|
-
for (var
|
|
1147
|
-
if (E(
|
|
1145
|
+
function g(D, L, N, W, j) {
|
|
1146
|
+
for (var P = D[L], q = 0; q < m.length; q++)
|
|
1147
|
+
if (E(P, m[q]))
|
|
1148
1148
|
return null;
|
|
1149
|
-
var H = JSON.stringify(
|
|
1150
|
-
var fe =
|
|
1149
|
+
var H = JSON.stringify(m, function(te, v) {
|
|
1150
|
+
var fe = M(v);
|
|
1151
1151
|
return fe === "symbol" ? String(v) : v;
|
|
1152
1152
|
});
|
|
1153
|
-
return new
|
|
1153
|
+
return new b("Invalid " + W + " `" + j + "` of value `" + String(P) + "` " + ("supplied to `" + N + "`, expected one of " + H + "."));
|
|
1154
1154
|
}
|
|
1155
|
-
return
|
|
1155
|
+
return R(g);
|
|
1156
1156
|
}
|
|
1157
|
-
function
|
|
1158
|
-
function
|
|
1159
|
-
if (typeof
|
|
1160
|
-
return new
|
|
1161
|
-
var
|
|
1162
|
-
if (
|
|
1163
|
-
return new
|
|
1164
|
-
for (var H in
|
|
1165
|
-
if (o(
|
|
1166
|
-
var B =
|
|
1157
|
+
function $(m) {
|
|
1158
|
+
function g(D, L, N, W, j) {
|
|
1159
|
+
if (typeof m != "function")
|
|
1160
|
+
return new b("Property `" + j + "` of component `" + N + "` has invalid PropType notation inside objectOf.");
|
|
1161
|
+
var P = D[L], q = k(P);
|
|
1162
|
+
if (q !== "object")
|
|
1163
|
+
return new b("Invalid " + W + " `" + j + "` of type " + ("`" + q + "` supplied to `" + N + "`, expected an object."));
|
|
1164
|
+
for (var H in P)
|
|
1165
|
+
if (o(P, H)) {
|
|
1166
|
+
var B = m(P, H, N, W, j + "." + H, n);
|
|
1167
1167
|
if (B instanceof Error)
|
|
1168
1168
|
return B;
|
|
1169
1169
|
}
|
|
1170
1170
|
return null;
|
|
1171
1171
|
}
|
|
1172
|
-
return
|
|
1172
|
+
return R(g);
|
|
1173
1173
|
}
|
|
1174
|
-
function J(
|
|
1175
|
-
if (!Array.isArray(
|
|
1174
|
+
function J(m) {
|
|
1175
|
+
if (!Array.isArray(m))
|
|
1176
1176
|
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), r;
|
|
1177
|
-
for (var
|
|
1178
|
-
var
|
|
1179
|
-
if (typeof
|
|
1177
|
+
for (var g = 0; g < m.length; g++) {
|
|
1178
|
+
var D = m[g];
|
|
1179
|
+
if (typeof D != "function")
|
|
1180
1180
|
return i(
|
|
1181
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " +
|
|
1181
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + K(D) + " at index " + g + "."
|
|
1182
1182
|
), r;
|
|
1183
1183
|
}
|
|
1184
|
-
function
|
|
1185
|
-
for (var H = [], B = 0; B <
|
|
1186
|
-
var te =
|
|
1184
|
+
function L(N, W, j, P, q) {
|
|
1185
|
+
for (var H = [], B = 0; B < m.length; B++) {
|
|
1186
|
+
var te = m[B], v = te(N, W, j, P, q, n);
|
|
1187
1187
|
if (v == null)
|
|
1188
1188
|
return null;
|
|
1189
1189
|
v.data && o(v.data, "expectedType") && H.push(v.data.expectedType);
|
|
1190
1190
|
}
|
|
1191
1191
|
var fe = H.length > 0 ? ", expected one of type [" + H.join(", ") + "]" : "";
|
|
1192
|
-
return new
|
|
1192
|
+
return new b("Invalid " + P + " `" + q + "` supplied to " + ("`" + j + "`" + fe + "."));
|
|
1193
1193
|
}
|
|
1194
|
-
return
|
|
1194
|
+
return R(L);
|
|
1195
1195
|
}
|
|
1196
1196
|
function ne() {
|
|
1197
|
-
function
|
|
1198
|
-
return
|
|
1197
|
+
function m(g, D, L, N, W) {
|
|
1198
|
+
return X(g[D]) ? null : new b("Invalid " + N + " `" + W + "` supplied to " + ("`" + L + "`, expected a ReactNode."));
|
|
1199
1199
|
}
|
|
1200
|
-
return
|
|
1200
|
+
return R(m);
|
|
1201
1201
|
}
|
|
1202
|
-
function
|
|
1203
|
-
return new
|
|
1204
|
-
(
|
|
1202
|
+
function ue(m, g, D, L, N) {
|
|
1203
|
+
return new b(
|
|
1204
|
+
(m || "React class") + ": " + g + " type `" + D + "." + L + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + N + "`."
|
|
1205
1205
|
);
|
|
1206
1206
|
}
|
|
1207
|
-
function
|
|
1208
|
-
function
|
|
1209
|
-
var
|
|
1210
|
-
if (
|
|
1211
|
-
return new
|
|
1212
|
-
for (var H in
|
|
1213
|
-
var B =
|
|
1207
|
+
function me(m) {
|
|
1208
|
+
function g(D, L, N, W, j) {
|
|
1209
|
+
var P = D[L], q = k(P);
|
|
1210
|
+
if (q !== "object")
|
|
1211
|
+
return new b("Invalid " + W + " `" + j + "` of type `" + q + "` " + ("supplied to `" + N + "`, expected `object`."));
|
|
1212
|
+
for (var H in m) {
|
|
1213
|
+
var B = m[H];
|
|
1214
1214
|
if (typeof B != "function")
|
|
1215
|
-
return
|
|
1216
|
-
var te = B(
|
|
1215
|
+
return ue(N, W, j, H, M(B));
|
|
1216
|
+
var te = B(P, H, N, W, j + "." + H, n);
|
|
1217
1217
|
if (te)
|
|
1218
1218
|
return te;
|
|
1219
1219
|
}
|
|
1220
1220
|
return null;
|
|
1221
1221
|
}
|
|
1222
|
-
return
|
|
1222
|
+
return R(g);
|
|
1223
1223
|
}
|
|
1224
|
-
function
|
|
1225
|
-
function
|
|
1226
|
-
var
|
|
1227
|
-
if (
|
|
1228
|
-
return new
|
|
1229
|
-
var H = t({},
|
|
1224
|
+
function le(m) {
|
|
1225
|
+
function g(D, L, N, W, j) {
|
|
1226
|
+
var P = D[L], q = k(P);
|
|
1227
|
+
if (q !== "object")
|
|
1228
|
+
return new b("Invalid " + W + " `" + j + "` of type `" + q + "` " + ("supplied to `" + N + "`, expected `object`."));
|
|
1229
|
+
var H = t({}, D[L], m);
|
|
1230
1230
|
for (var B in H) {
|
|
1231
|
-
var te =
|
|
1232
|
-
if (o(
|
|
1233
|
-
return
|
|
1231
|
+
var te = m[B];
|
|
1232
|
+
if (o(m, B) && typeof te != "function")
|
|
1233
|
+
return ue(N, W, j, B, M(te));
|
|
1234
1234
|
if (!te)
|
|
1235
|
-
return new
|
|
1236
|
-
"Invalid " +
|
|
1237
|
-
Valid keys: ` + JSON.stringify(Object.keys(
|
|
1235
|
+
return new b(
|
|
1236
|
+
"Invalid " + W + " `" + j + "` key `" + B + "` supplied to `" + N + "`.\nBad object: " + JSON.stringify(D[L], null, " ") + `
|
|
1237
|
+
Valid keys: ` + JSON.stringify(Object.keys(m), null, " ")
|
|
1238
1238
|
);
|
|
1239
|
-
var v = te(
|
|
1239
|
+
var v = te(P, B, N, W, j + "." + B, n);
|
|
1240
1240
|
if (v)
|
|
1241
1241
|
return v;
|
|
1242
1242
|
}
|
|
1243
1243
|
return null;
|
|
1244
1244
|
}
|
|
1245
|
-
return
|
|
1245
|
+
return R(g);
|
|
1246
1246
|
}
|
|
1247
|
-
function
|
|
1248
|
-
switch (typeof
|
|
1247
|
+
function X(m) {
|
|
1248
|
+
switch (typeof m) {
|
|
1249
1249
|
case "number":
|
|
1250
1250
|
case "string":
|
|
1251
1251
|
case "undefined":
|
|
1252
1252
|
return !0;
|
|
1253
1253
|
case "boolean":
|
|
1254
|
-
return !
|
|
1254
|
+
return !m;
|
|
1255
1255
|
case "object":
|
|
1256
|
-
if (Array.isArray(
|
|
1257
|
-
return
|
|
1258
|
-
if (
|
|
1256
|
+
if (Array.isArray(m))
|
|
1257
|
+
return m.every(X);
|
|
1258
|
+
if (m === null || s(m))
|
|
1259
1259
|
return !0;
|
|
1260
|
-
var
|
|
1261
|
-
if (
|
|
1262
|
-
var
|
|
1263
|
-
if (
|
|
1264
|
-
for (; !(
|
|
1265
|
-
if (
|
|
1260
|
+
var g = d(m);
|
|
1261
|
+
if (g) {
|
|
1262
|
+
var D = g.call(m), L;
|
|
1263
|
+
if (g !== m.entries) {
|
|
1264
|
+
for (; !(L = D.next()).done; )
|
|
1265
|
+
if (!X(L.value))
|
|
1266
1266
|
return !1;
|
|
1267
1267
|
} else
|
|
1268
|
-
for (; !(
|
|
1269
|
-
var
|
|
1270
|
-
if (
|
|
1268
|
+
for (; !(L = D.next()).done; ) {
|
|
1269
|
+
var N = L.value;
|
|
1270
|
+
if (N && !X(N[1]))
|
|
1271
1271
|
return !1;
|
|
1272
1272
|
}
|
|
1273
1273
|
} else
|
|
@@ -1277,61 +1277,61 @@ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
|
|
|
1277
1277
|
return !1;
|
|
1278
1278
|
}
|
|
1279
1279
|
}
|
|
1280
|
-
function Z(
|
|
1281
|
-
return
|
|
1280
|
+
function Z(m, g) {
|
|
1281
|
+
return m === "symbol" ? !0 : g ? g["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && g instanceof Symbol : !1;
|
|
1282
1282
|
}
|
|
1283
|
-
function k(
|
|
1284
|
-
var
|
|
1285
|
-
return Array.isArray(
|
|
1283
|
+
function k(m) {
|
|
1284
|
+
var g = typeof m;
|
|
1285
|
+
return Array.isArray(m) ? "array" : m instanceof RegExp ? "object" : Z(g, m) ? "symbol" : g;
|
|
1286
1286
|
}
|
|
1287
|
-
function
|
|
1288
|
-
if (typeof
|
|
1289
|
-
return "" +
|
|
1290
|
-
var
|
|
1291
|
-
if (
|
|
1292
|
-
if (
|
|
1287
|
+
function M(m) {
|
|
1288
|
+
if (typeof m > "u" || m === null)
|
|
1289
|
+
return "" + m;
|
|
1290
|
+
var g = k(m);
|
|
1291
|
+
if (g === "object") {
|
|
1292
|
+
if (m instanceof Date)
|
|
1293
1293
|
return "date";
|
|
1294
|
-
if (
|
|
1294
|
+
if (m instanceof RegExp)
|
|
1295
1295
|
return "regexp";
|
|
1296
1296
|
}
|
|
1297
|
-
return
|
|
1297
|
+
return g;
|
|
1298
1298
|
}
|
|
1299
|
-
function
|
|
1300
|
-
var
|
|
1301
|
-
switch (
|
|
1299
|
+
function K(m) {
|
|
1300
|
+
var g = M(m);
|
|
1301
|
+
switch (g) {
|
|
1302
1302
|
case "array":
|
|
1303
1303
|
case "object":
|
|
1304
|
-
return "an " +
|
|
1304
|
+
return "an " + g;
|
|
1305
1305
|
case "boolean":
|
|
1306
1306
|
case "date":
|
|
1307
1307
|
case "regexp":
|
|
1308
|
-
return "a " +
|
|
1308
|
+
return "a " + g;
|
|
1309
1309
|
default:
|
|
1310
|
-
return
|
|
1310
|
+
return g;
|
|
1311
1311
|
}
|
|
1312
1312
|
}
|
|
1313
|
-
function
|
|
1314
|
-
return !
|
|
1313
|
+
function z(m) {
|
|
1314
|
+
return !m.constructor || !m.constructor.name ? h : m.constructor.name;
|
|
1315
1315
|
}
|
|
1316
|
-
return
|
|
1316
|
+
return y.checkPropTypes = a, y.resetWarningCache = a.resetWarningCache, y.PropTypes = y, y;
|
|
1317
1317
|
}, _t;
|
|
1318
1318
|
}
|
|
1319
1319
|
var vt, $t;
|
|
1320
1320
|
function Ca() {
|
|
1321
1321
|
if ($t) return vt;
|
|
1322
1322
|
$t = 1;
|
|
1323
|
-
var e =
|
|
1323
|
+
var e = It();
|
|
1324
1324
|
function t() {
|
|
1325
1325
|
}
|
|
1326
1326
|
function n() {
|
|
1327
1327
|
}
|
|
1328
1328
|
return n.resetWarningCache = t, vt = function() {
|
|
1329
|
-
function o(r, s,
|
|
1329
|
+
function o(r, s, f, c, u, d) {
|
|
1330
1330
|
if (d !== e) {
|
|
1331
|
-
var
|
|
1331
|
+
var h = new Error(
|
|
1332
1332
|
"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"
|
|
1333
1333
|
);
|
|
1334
|
-
throw
|
|
1334
|
+
throw h.name = "Invariant Violation", h;
|
|
1335
1335
|
}
|
|
1336
1336
|
}
|
|
1337
1337
|
o.isRequired = o;
|
|
@@ -1385,7 +1385,7 @@ function Re(e, t, n, o) {
|
|
|
1385
1385
|
r(d);
|
|
1386
1386
|
}
|
|
1387
1387
|
}
|
|
1388
|
-
function
|
|
1388
|
+
function f(u) {
|
|
1389
1389
|
try {
|
|
1390
1390
|
c(o.throw(u));
|
|
1391
1391
|
} catch (d) {
|
|
@@ -1393,12 +1393,12 @@ function Re(e, t, n, o) {
|
|
|
1393
1393
|
}
|
|
1394
1394
|
}
|
|
1395
1395
|
function c(u) {
|
|
1396
|
-
u.done ? i(u.value) : a(u.value).then(s,
|
|
1396
|
+
u.done ? i(u.value) : a(u.value).then(s, f);
|
|
1397
1397
|
}
|
|
1398
1398
|
c((o = o.apply(e, t || [])).next());
|
|
1399
1399
|
});
|
|
1400
1400
|
}
|
|
1401
|
-
const
|
|
1401
|
+
const Na = /* @__PURE__ */ new Map([
|
|
1402
1402
|
// https://github.com/guzzle/psr7/blob/2d9260799e713f1c475d3c5fdc3d6561ff7441b2/src/MimeType.php
|
|
1403
1403
|
["1km", "application/vnd.1000minds.decision-model+xml"],
|
|
1404
1404
|
["3dml", "text/vnd.in3d.3dml"],
|
|
@@ -2602,13 +2602,13 @@ const Ia = /* @__PURE__ */ new Map([
|
|
|
2602
2602
|
["zsh", "text/x-scriptzsh"]
|
|
2603
2603
|
]);
|
|
2604
2604
|
function Le(e, t, n) {
|
|
2605
|
-
const o =
|
|
2605
|
+
const o = Ia(e), { webkitRelativePath: a } = e, i = typeof t == "string" ? t : typeof a == "string" && a.length > 0 ? a : `./${e.name}`;
|
|
2606
2606
|
return typeof o.path != "string" && Ht(o, "path", i), Ht(o, "relativePath", i), o;
|
|
2607
2607
|
}
|
|
2608
|
-
function
|
|
2608
|
+
function Ia(e) {
|
|
2609
2609
|
const { name: t } = e;
|
|
2610
2610
|
if (t && t.lastIndexOf(".") !== -1 && !e.type) {
|
|
2611
|
-
const o = t.split(".").pop().toLowerCase(), a =
|
|
2611
|
+
const o = t.split(".").pop().toLowerCase(), a = Na.get(o);
|
|
2612
2612
|
a && Object.defineProperty(e, "type", {
|
|
2613
2613
|
value: a,
|
|
2614
2614
|
writable: !1,
|
|
@@ -2828,8 +2828,8 @@ function Ha(e, t) {
|
|
|
2828
2828
|
try {
|
|
2829
2829
|
for (n = n.call(e); !(a = (r = n.next()).done) && (o.push(r.value), !(t && o.length === t)); a = !0)
|
|
2830
2830
|
;
|
|
2831
|
-
} catch (
|
|
2832
|
-
i = !0, s =
|
|
2831
|
+
} catch (f) {
|
|
2832
|
+
i = !0, s = f;
|
|
2833
2833
|
} finally {
|
|
2834
2834
|
try {
|
|
2835
2835
|
!a && n.return != null && n.return();
|
|
@@ -2883,9 +2883,9 @@ function je(e) {
|
|
|
2883
2883
|
}
|
|
2884
2884
|
function Ja(e) {
|
|
2885
2885
|
var t = e.files, n = e.accept, o = e.minSize, a = e.maxSize, i = e.multiple, r = e.maxFiles, s = e.validator;
|
|
2886
|
-
return !i && t.length > 1 || i && r >= 1 && t.length > r ? !1 : t.every(function(
|
|
2887
|
-
var c = kn(
|
|
2888
|
-
return d && E && !
|
|
2886
|
+
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), y = Me(h, 1), E = y[0], b = s ? s(f) : null;
|
|
2888
|
+
return d && E && !b;
|
|
2889
2889
|
});
|
|
2890
2890
|
}
|
|
2891
2891
|
function Xe(e) {
|
|
@@ -3003,8 +3003,8 @@ function xi(e, t) {
|
|
|
3003
3003
|
try {
|
|
3004
3004
|
for (n = n.call(e); !(a = (r = n.next()).done) && (o.push(r.value), !(t && o.length === t)); a = !0)
|
|
3005
3005
|
;
|
|
3006
|
-
} catch (
|
|
3007
|
-
i = !0, s =
|
|
3006
|
+
} catch (f) {
|
|
3007
|
+
i = !0, s = f;
|
|
3008
3008
|
} finally {
|
|
3009
3009
|
try {
|
|
3010
3010
|
!a && n.return != null && n.return();
|
|
@@ -3070,7 +3070,7 @@ var Je = /* @__PURE__ */ zn(function(e, t) {
|
|
|
3070
3070
|
})));
|
|
3071
3071
|
});
|
|
3072
3072
|
Je.displayName = "Dropzone";
|
|
3073
|
-
var
|
|
3073
|
+
var Nn = {
|
|
3074
3074
|
disabled: !1,
|
|
3075
3075
|
getFilesFromEvent: Ra,
|
|
3076
3076
|
maxSize: 1 / 0,
|
|
@@ -3086,7 +3086,7 @@ var In = {
|
|
|
3086
3086
|
useFsAccessApi: !1,
|
|
3087
3087
|
autoFocus: !1
|
|
3088
3088
|
};
|
|
3089
|
-
Je.defaultProps =
|
|
3089
|
+
Je.defaultProps = Nn;
|
|
3090
3090
|
Je.propTypes = {
|
|
3091
3091
|
/**
|
|
3092
3092
|
* Render function that exposes the dropzone state and prop getter fns
|
|
@@ -3265,55 +3265,55 @@ var St = {
|
|
|
3265
3265
|
fileRejections: []
|
|
3266
3266
|
};
|
|
3267
3267
|
function bi() {
|
|
3268
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = Q(Q({},
|
|
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, y = t.onDropAccepted, E = t.onDropRejected, b = t.onFileDialogCancel, R = t.onFileDialogOpen, O = t.useFsAccessApi, V = t.autoFocus, A = t.preventDropOnDocument, w = t.noClick, p = t.noKeyboard, T = t.noDrag, F = t.noDragEventsBubbling, $ = t.onError, J = t.validator, ne = Oe(function() {
|
|
3269
3269
|
return ii(n);
|
|
3270
|
-
}, [n]), de = Oe(function() {
|
|
3271
|
-
return ai(n);
|
|
3272
3270
|
}, [n]), ue = Oe(function() {
|
|
3273
|
-
return
|
|
3274
|
-
}, [
|
|
3275
|
-
return typeof
|
|
3276
|
-
}, [
|
|
3277
|
-
|
|
3271
|
+
return ai(n);
|
|
3272
|
+
}, [n]), me = Oe(function() {
|
|
3273
|
+
return typeof R == "function" ? R : en;
|
|
3274
|
+
}, [R]), le = Oe(function() {
|
|
3275
|
+
return typeof b == "function" ? b : en;
|
|
3276
|
+
}, [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
|
+
!D.current && g && setTimeout(function() {
|
|
3278
3278
|
if (Z.current) {
|
|
3279
3279
|
var S = Z.current.files;
|
|
3280
|
-
S.length || (
|
|
3280
|
+
S.length || (z({
|
|
3281
3281
|
type: "closeDialog"
|
|
3282
|
-
}),
|
|
3282
|
+
}), le());
|
|
3283
3283
|
}
|
|
3284
3284
|
}, 300);
|
|
3285
3285
|
};
|
|
3286
3286
|
ae(function() {
|
|
3287
|
-
return window.addEventListener("focus",
|
|
3288
|
-
window.removeEventListener("focus",
|
|
3287
|
+
return window.addEventListener("focus", L, !1), function() {
|
|
3288
|
+
window.removeEventListener("focus", L, !1);
|
|
3289
3289
|
};
|
|
3290
|
-
}, [Z,
|
|
3291
|
-
var
|
|
3292
|
-
|
|
3290
|
+
}, [Z, g, le, D]);
|
|
3291
|
+
var N = Te([]), W = function(S) {
|
|
3292
|
+
X.current && X.current.contains(S.target) || (S.preventDefault(), N.current = []);
|
|
3293
3293
|
};
|
|
3294
3294
|
ae(function() {
|
|
3295
|
-
return
|
|
3296
|
-
|
|
3295
|
+
return A && (document.addEventListener("dragover", Qt, !1), document.addEventListener("drop", W, !1)), function() {
|
|
3296
|
+
A && (document.removeEventListener("dragover", Qt), document.removeEventListener("drop", W));
|
|
3297
3297
|
};
|
|
3298
|
-
}, [
|
|
3299
|
-
return !o && V &&
|
|
3298
|
+
}, [X, A]), ae(function() {
|
|
3299
|
+
return !o && V && X.current && X.current.focus(), function() {
|
|
3300
3300
|
};
|
|
3301
|
-
}, [
|
|
3302
|
-
var
|
|
3303
|
-
|
|
3304
|
-
}, [
|
|
3305
|
-
x.preventDefault(), x.persist(), $e(x),
|
|
3306
|
-
if (!(Xe(x) && !
|
|
3301
|
+
}, [X, V, o]);
|
|
3302
|
+
var j = de(function(x) {
|
|
3303
|
+
$ ? $(x) : console.error(x);
|
|
3304
|
+
}, [$]), P = de(function(x) {
|
|
3305
|
+
x.preventDefault(), x.persist(), $e(x), N.current = [].concat(ui(N.current), [x.target]), Ue(x) && Promise.resolve(a(x)).then(function(S) {
|
|
3306
|
+
if (!(Xe(x) && !F)) {
|
|
3307
3307
|
var ee = S.length, oe = ee > 0 && Ja({
|
|
3308
3308
|
files: S,
|
|
3309
3309
|
accept: ne,
|
|
3310
3310
|
minSize: r,
|
|
3311
3311
|
maxSize: i,
|
|
3312
3312
|
multiple: s,
|
|
3313
|
-
maxFiles:
|
|
3313
|
+
maxFiles: f,
|
|
3314
3314
|
validator: J
|
|
3315
3315
|
}), _e = ee > 0 && !oe;
|
|
3316
|
-
|
|
3316
|
+
z({
|
|
3317
3317
|
isDragAccept: oe,
|
|
3318
3318
|
isDragReject: _e,
|
|
3319
3319
|
isDragActive: !0,
|
|
@@ -3321,9 +3321,9 @@ function bi() {
|
|
|
3321
3321
|
}), c && c(x);
|
|
3322
3322
|
}
|
|
3323
3323
|
}).catch(function(S) {
|
|
3324
|
-
return
|
|
3324
|
+
return j(S);
|
|
3325
3325
|
});
|
|
3326
|
-
}, [a, c,
|
|
3326
|
+
}, [a, c, j, F, ne, r, i, s, f, J]), q = de(function(x) {
|
|
3327
3327
|
x.preventDefault(), x.persist(), $e(x);
|
|
3328
3328
|
var S = Ue(x);
|
|
3329
3329
|
if (S && x.dataTransfer)
|
|
@@ -3332,18 +3332,18 @@ function bi() {
|
|
|
3332
3332
|
} catch {
|
|
3333
3333
|
}
|
|
3334
3334
|
return S && d && d(x), !1;
|
|
3335
|
-
}, [d,
|
|
3335
|
+
}, [d, F]), H = de(function(x) {
|
|
3336
3336
|
x.preventDefault(), x.persist(), $e(x);
|
|
3337
|
-
var S =
|
|
3338
|
-
return
|
|
3337
|
+
var S = N.current.filter(function(oe) {
|
|
3338
|
+
return X.current && X.current.contains(oe);
|
|
3339
3339
|
}), ee = S.indexOf(x.target);
|
|
3340
|
-
ee !== -1 && S.splice(ee, 1),
|
|
3340
|
+
ee !== -1 && S.splice(ee, 1), N.current = S, !(S.length > 0) && (z({
|
|
3341
3341
|
type: "setDraggedFiles",
|
|
3342
3342
|
isDragActive: !1,
|
|
3343
3343
|
isDragAccept: !1,
|
|
3344
3344
|
isDragReject: !1
|
|
3345
3345
|
}), Ue(x) && u && u(x));
|
|
3346
|
-
}, [
|
|
3346
|
+
}, [X, u, F]), B = de(function(x, S) {
|
|
3347
3347
|
var ee = [], oe = [];
|
|
3348
3348
|
x.forEach(function(_e) {
|
|
3349
3349
|
var Fe = kn(_e, ne), De = gt(Fe, 2), tt = De[0], nt = De[1], ot = Cn(_e, r, i), He = gt(ot, 2), at = He[0], it = He[1], rt = J ? J(_e) : null;
|
|
@@ -3358,61 +3358,61 @@ function bi() {
|
|
|
3358
3358
|
})
|
|
3359
3359
|
});
|
|
3360
3360
|
}
|
|
3361
|
-
}), (!s && ee.length > 1 || s &&
|
|
3361
|
+
}), (!s && ee.length > 1 || s && f >= 1 && ee.length > f) && (ee.forEach(function(_e) {
|
|
3362
3362
|
oe.push({
|
|
3363
3363
|
file: _e,
|
|
3364
3364
|
errors: [Qa]
|
|
3365
3365
|
});
|
|
3366
|
-
}), ee.splice(0)),
|
|
3366
|
+
}), ee.splice(0)), z({
|
|
3367
3367
|
acceptedFiles: ee,
|
|
3368
3368
|
fileRejections: oe,
|
|
3369
3369
|
isDragReject: oe.length > 0,
|
|
3370
3370
|
type: "setFiles"
|
|
3371
|
-
}),
|
|
3372
|
-
}, [
|
|
3373
|
-
x.preventDefault(), x.persist(), $e(x),
|
|
3374
|
-
Xe(x) && !
|
|
3371
|
+
}), h && h(ee, oe, S), oe.length > 0 && E && E(oe, S), ee.length > 0 && y && y(ee, S);
|
|
3372
|
+
}, [z, s, ne, r, i, f, h, y, E, J]), te = de(function(x) {
|
|
3373
|
+
x.preventDefault(), x.persist(), $e(x), N.current = [], Ue(x) && Promise.resolve(a(x)).then(function(S) {
|
|
3374
|
+
Xe(x) && !F || B(S, x);
|
|
3375
3375
|
}).catch(function(S) {
|
|
3376
|
-
return
|
|
3377
|
-
}),
|
|
3376
|
+
return j(S);
|
|
3377
|
+
}), z({
|
|
3378
3378
|
type: "reset"
|
|
3379
3379
|
});
|
|
3380
|
-
}, [a, B,
|
|
3381
|
-
if (
|
|
3382
|
-
|
|
3380
|
+
}, [a, B, j, F]), v = de(function() {
|
|
3381
|
+
if (D.current) {
|
|
3382
|
+
z({
|
|
3383
3383
|
type: "openDialog"
|
|
3384
|
-
}),
|
|
3384
|
+
}), me();
|
|
3385
3385
|
var x = {
|
|
3386
3386
|
multiple: s,
|
|
3387
|
-
types:
|
|
3387
|
+
types: ue
|
|
3388
3388
|
};
|
|
3389
3389
|
window.showOpenFilePicker(x).then(function(S) {
|
|
3390
3390
|
return a(S);
|
|
3391
3391
|
}).then(function(S) {
|
|
3392
|
-
B(S, null),
|
|
3392
|
+
B(S, null), z({
|
|
3393
3393
|
type: "closeDialog"
|
|
3394
3394
|
});
|
|
3395
3395
|
}).catch(function(S) {
|
|
3396
|
-
ri(S) ? (
|
|
3396
|
+
ri(S) ? (le(S), z({
|
|
3397
3397
|
type: "closeDialog"
|
|
3398
|
-
})) : si(S) ? (
|
|
3398
|
+
})) : si(S) ? (D.current = !1, Z.current ? (Z.current.value = null, Z.current.click()) : j(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."))) : j(S);
|
|
3399
3399
|
});
|
|
3400
3400
|
return;
|
|
3401
3401
|
}
|
|
3402
|
-
Z.current && (
|
|
3402
|
+
Z.current && (z({
|
|
3403
3403
|
type: "openDialog"
|
|
3404
|
-
}),
|
|
3405
|
-
}, [
|
|
3406
|
-
|
|
3407
|
-
}, [
|
|
3408
|
-
|
|
3404
|
+
}), me(), Z.current.value = null, Z.current.click());
|
|
3405
|
+
}, [z, me, le, O, B, j, ue, s]), fe = de(function(x) {
|
|
3406
|
+
!X.current || !X.current.isEqualNode(x.target) || (x.key === " " || x.key === "Enter" || x.keyCode === 32 || x.keyCode === 13) && (x.preventDefault(), v());
|
|
3407
|
+
}, [X, v]), Ne = de(function() {
|
|
3408
|
+
z({
|
|
3409
3409
|
type: "focus"
|
|
3410
3410
|
});
|
|
3411
|
-
}, []), Pe =
|
|
3412
|
-
|
|
3411
|
+
}, []), Pe = de(function() {
|
|
3412
|
+
z({
|
|
3413
3413
|
type: "blur"
|
|
3414
3414
|
});
|
|
3415
|
-
}, []), At =
|
|
3415
|
+
}, []), At = de(function() {
|
|
3416
3416
|
w || (ni() ? setTimeout(v, 0) : v());
|
|
3417
3417
|
}, [w, v]), Ae = function(S) {
|
|
3418
3418
|
return o ? null : S;
|
|
@@ -3421,25 +3421,25 @@ function bi() {
|
|
|
3421
3421
|
}, qe = function(S) {
|
|
3422
3422
|
return T ? null : Ae(S);
|
|
3423
3423
|
}, $e = function(S) {
|
|
3424
|
-
|
|
3424
|
+
F && S.stopPropagation();
|
|
3425
3425
|
}, On = Oe(function() {
|
|
3426
3426
|
return function() {
|
|
3427
3427
|
var x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, S = x.refKey, ee = S === void 0 ? "ref" : S, oe = x.role, _e = x.onKeyDown, Fe = x.onFocus, De = x.onBlur, tt = x.onClick, nt = x.onDragEnter, ot = x.onDragOver, He = x.onDragLeave, at = x.onDrop, it = Ze(x, li);
|
|
3428
3428
|
return Q(Q(Et({
|
|
3429
3429
|
onKeyDown: et(we(_e, fe)),
|
|
3430
|
-
onFocus: et(we(Fe,
|
|
3430
|
+
onFocus: et(we(Fe, Ne)),
|
|
3431
3431
|
onBlur: et(we(De, Pe)),
|
|
3432
3432
|
onClick: Ae(we(tt, At)),
|
|
3433
|
-
onDragEnter: qe(we(nt,
|
|
3434
|
-
onDragOver: qe(we(ot,
|
|
3433
|
+
onDragEnter: qe(we(nt, P)),
|
|
3434
|
+
onDragOver: qe(we(ot, q)),
|
|
3435
3435
|
onDragLeave: qe(we(He, H)),
|
|
3436
3436
|
onDrop: qe(we(at, te)),
|
|
3437
3437
|
role: typeof oe == "string" && oe !== "" ? oe : "presentation"
|
|
3438
|
-
}, ee,
|
|
3438
|
+
}, ee, X), !o && !p ? {
|
|
3439
3439
|
tabIndex: 0
|
|
3440
3440
|
} : {}), it);
|
|
3441
3441
|
};
|
|
3442
|
-
}, [
|
|
3442
|
+
}, [X, fe, Ne, Pe, At, P, q, H, te, p, T, o]), Ln = de(function(x) {
|
|
3443
3443
|
x.stopPropagation();
|
|
3444
3444
|
}, []), Pn = Oe(function() {
|
|
3445
3445
|
return function() {
|
|
@@ -3466,11 +3466,11 @@ function bi() {
|
|
|
3466
3466
|
return Q(Q({}, De), Fe);
|
|
3467
3467
|
};
|
|
3468
3468
|
}, [Z, n, s, te, o]);
|
|
3469
|
-
return Q(Q({},
|
|
3470
|
-
isFocused:
|
|
3469
|
+
return Q(Q({}, K), {}, {
|
|
3470
|
+
isFocused: m && !o,
|
|
3471
3471
|
getRootProps: On,
|
|
3472
3472
|
getInputProps: Pn,
|
|
3473
|
-
rootRef:
|
|
3473
|
+
rootRef: X,
|
|
3474
3474
|
inputRef: Z,
|
|
3475
3475
|
open: Ae(v)
|
|
3476
3476
|
});
|
|
@@ -3522,35 +3522,35 @@ const wi = (e) => {
|
|
|
3522
3522
|
disabled: i,
|
|
3523
3523
|
name: r,
|
|
3524
3524
|
multiple: s,
|
|
3525
|
-
maxFiles:
|
|
3525
|
+
maxFiles: f,
|
|
3526
3526
|
files: c = []
|
|
3527
|
-
} = e, u =
|
|
3527
|
+
} = e, u = de(
|
|
3528
3528
|
(d) => {
|
|
3529
3529
|
if (!s) {
|
|
3530
3530
|
t(d, r);
|
|
3531
3531
|
return;
|
|
3532
3532
|
}
|
|
3533
|
-
const
|
|
3534
|
-
if (
|
|
3535
|
-
console.log(`Максимальное возможное количество файлов для загрузки - ${
|
|
3533
|
+
const h = [...c, ...d];
|
|
3534
|
+
if (f && h.length > f) {
|
|
3535
|
+
console.log(`Максимальное возможное количество файлов для загрузки - ${f}`), t(h.slice(0, f), r);
|
|
3536
3536
|
return;
|
|
3537
3537
|
}
|
|
3538
|
-
t(
|
|
3538
|
+
t(h, r);
|
|
3539
3539
|
},
|
|
3540
|
-
[c,
|
|
3540
|
+
[c, f, s, r, t]
|
|
3541
3541
|
);
|
|
3542
|
-
return /* @__PURE__ */ l(Je, { multiple: s, onDrop: u, maxSize: o, accept: a, children: ({ getRootProps: d, getInputProps:
|
|
3543
|
-
/* @__PURE__ */ l("input", { ...
|
|
3542
|
+
return /* @__PURE__ */ l(Je, { multiple: s, onDrop: u, maxSize: o, accept: a, children: ({ getRootProps: d, getInputProps: h }) => /* @__PURE__ */ Y("div", { ...d({}), children: [
|
|
3543
|
+
/* @__PURE__ */ l("input", { ...h({}), disabled: i, name: r }),
|
|
3544
3544
|
n
|
|
3545
3545
|
] }) });
|
|
3546
|
-
}, ki = "_spDropdown_1f4lf_43", Ci = "_spDropdown__labelText_1f4lf_54", Ti = "_spDropdown__tooltipContainer_1f4lf_62", Ei = "_spDropdown__dropdownList_1f4lf_67", Si = "_spDropdown__dropdownListHeader_1f4lf_73",
|
|
3546
|
+
}, ki = "_spDropdown_1f4lf_43", Ci = "_spDropdown__labelText_1f4lf_54", Ti = "_spDropdown__tooltipContainer_1f4lf_62", Ei = "_spDropdown__dropdownList_1f4lf_67", Si = "_spDropdown__dropdownListHeader_1f4lf_73", Ni = "_spDropdown__dopdownListItem_1f4lf_80", Ii = "_spDropdown__dopdownListItem_textCenter_1f4lf_91", ji = "_spDropdown__downloadListItemDescription_1f4lf_94", Ee = {
|
|
3547
3547
|
spDropdown: ki,
|
|
3548
3548
|
spDropdown__labelText: Ci,
|
|
3549
3549
|
spDropdown__tooltipContainer: Ti,
|
|
3550
3550
|
spDropdown__dropdownList: Ei,
|
|
3551
3551
|
spDropdown__dropdownListHeader: Si,
|
|
3552
|
-
spDropdown__dopdownListItem:
|
|
3553
|
-
spDropdown__dopdownListItem_textCenter:
|
|
3552
|
+
spDropdown__dopdownListItem: Ni,
|
|
3553
|
+
spDropdown__dopdownListItem_textCenter: Ii,
|
|
3554
3554
|
spDropdown__downloadListItemDescription: ji
|
|
3555
3555
|
}, As = (e) => {
|
|
3556
3556
|
const {
|
|
@@ -3564,7 +3564,7 @@ const wi = (e) => {
|
|
|
3564
3564
|
...i && { [i]: !0 }
|
|
3565
3565
|
}), s = _({
|
|
3566
3566
|
[Ee.spDropdown__labelText]: !0
|
|
3567
|
-
}),
|
|
3567
|
+
}), f = _({
|
|
3568
3568
|
[Ee.spDropdown__tooltipContainer]: !0
|
|
3569
3569
|
}), c = _({
|
|
3570
3570
|
[Ee.spDropdown__dropdownList]: !0
|
|
@@ -3572,29 +3572,29 @@ const wi = (e) => {
|
|
|
3572
3572
|
[Ee.spDropdown__dropdownListHeader]: !0
|
|
3573
3573
|
}), d = _({
|
|
3574
3574
|
[Ee.spDropdown__downloadListItemDescription]: !0
|
|
3575
|
-
}), [
|
|
3575
|
+
}), [h, y] = ce(!1);
|
|
3576
3576
|
return /* @__PURE__ */ l(
|
|
3577
|
-
|
|
3577
|
+
Nt,
|
|
3578
3578
|
{
|
|
3579
3579
|
hover: !1,
|
|
3580
|
-
triggerAction: () =>
|
|
3581
|
-
actionOnClose: () =>
|
|
3580
|
+
triggerAction: () => y(!0),
|
|
3581
|
+
actionOnClose: () => y(!1),
|
|
3582
3582
|
text: /* @__PURE__ */ Y("div", { className: c, children: [
|
|
3583
3583
|
n && /* @__PURE__ */ l("div", { className: u, children: n }),
|
|
3584
|
-
o.map((
|
|
3584
|
+
o.map((b, R) => /* @__PURE__ */ Y(
|
|
3585
3585
|
"div",
|
|
3586
3586
|
{
|
|
3587
3587
|
className: _({
|
|
3588
3588
|
[Ee.spDropdown__dopdownListItem]: !0,
|
|
3589
|
-
[Ee.spDropdown__dopdownListItem_textCenter]:
|
|
3589
|
+
[Ee.spDropdown__dopdownListItem_textCenter]: b.textCenter
|
|
3590
3590
|
}),
|
|
3591
|
-
onClick:
|
|
3591
|
+
onClick: b.onClick,
|
|
3592
3592
|
children: [
|
|
3593
|
-
|
|
3594
|
-
|
|
3593
|
+
b.name,
|
|
3594
|
+
b.description && /* @__PURE__ */ l("span", { className: d, children: b.description })
|
|
3595
3595
|
]
|
|
3596
3596
|
},
|
|
3597
|
-
|
|
3597
|
+
R
|
|
3598
3598
|
))
|
|
3599
3599
|
] }),
|
|
3600
3600
|
position: a,
|
|
@@ -3603,7 +3603,7 @@ const wi = (e) => {
|
|
|
3603
3603
|
isStopPropagationClickOnTrigger: !0,
|
|
3604
3604
|
trigger: /* @__PURE__ */ Y("div", { className: r, children: [
|
|
3605
3605
|
/* @__PURE__ */ l("div", { className: s, children: t }),
|
|
3606
|
-
/* @__PURE__ */ l("div", { className:
|
|
3606
|
+
/* @__PURE__ */ l("div", { className: f, children: /* @__PURE__ */ l(ge, { name: re.SelectChevronDown, rotate: h ? 180 : void 0 }) })
|
|
3607
3607
|
] })
|
|
3608
3608
|
}
|
|
3609
3609
|
);
|
|
@@ -3619,29 +3619,29 @@ const wi = (e) => {
|
|
|
3619
3619
|
classNameBaseTooltipContentRoot: i,
|
|
3620
3620
|
classNameBaseTooltipRoot: r,
|
|
3621
3621
|
...s
|
|
3622
|
-
} = e,
|
|
3622
|
+
} = e, f = Te(null), [c, u] = ce(!1);
|
|
3623
3623
|
ae(() => {
|
|
3624
|
-
|
|
3624
|
+
f.current && u(f.current.scrollWidth > f.current.clientWidth);
|
|
3625
3625
|
}, [t]);
|
|
3626
3626
|
const d = _({
|
|
3627
3627
|
[tn.ellipsisTextWithTooltip]: !0,
|
|
3628
3628
|
...n && { [n]: !0 }
|
|
3629
|
-
}),
|
|
3629
|
+
}), h = _({
|
|
3630
3630
|
[tn.ellipsisTextWithTooltip__tooltip]: !0,
|
|
3631
3631
|
...o && { [o]: !0 }
|
|
3632
|
-
}),
|
|
3632
|
+
}), y = _({
|
|
3633
3633
|
...a && { [a]: !0 }
|
|
3634
3634
|
});
|
|
3635
3635
|
return /* @__PURE__ */ l(
|
|
3636
|
-
|
|
3636
|
+
Nt,
|
|
3637
3637
|
{
|
|
3638
|
-
classNameTooltip:
|
|
3639
|
-
classNameTriggerTooltip:
|
|
3638
|
+
classNameTooltip: h,
|
|
3639
|
+
classNameTriggerTooltip: y,
|
|
3640
3640
|
classNameBaseTooltipContentRoot: i,
|
|
3641
3641
|
classNameBaseTooltipRoot: r,
|
|
3642
3642
|
isVisibleTooltip: c,
|
|
3643
3643
|
text: t,
|
|
3644
|
-
trigger: /* @__PURE__ */ l(Se, { ...s, classNameRoot: d, isEllipsis: !0, ref:
|
|
3644
|
+
trigger: /* @__PURE__ */ l(Se, { ...s, classNameRoot: d, isEllipsis: !0, ref: f, children: t })
|
|
3645
3645
|
}
|
|
3646
3646
|
);
|
|
3647
3647
|
}, Oi = "_spForm_zefbj_43", Li = "_spForm_fullWidth_zefbj_46", Pi = "_spForm_withSeparator_zefbj_49", Be = {
|
|
@@ -3659,7 +3659,7 @@ const wi = (e) => {
|
|
|
3659
3659
|
withSeparator: i = !1,
|
|
3660
3660
|
fullWidth: r = !0,
|
|
3661
3661
|
classNameRoot: s,
|
|
3662
|
-
...
|
|
3662
|
+
...f
|
|
3663
3663
|
} = e, c = _({
|
|
3664
3664
|
[Be.spForm]: !0,
|
|
3665
3665
|
[Be.spForm_fullWidth]: r,
|
|
@@ -3668,7 +3668,7 @@ const wi = (e) => {
|
|
|
3668
3668
|
[Be.spForm_withSeparator]: i,
|
|
3669
3669
|
...s && { [s]: !0 }
|
|
3670
3670
|
});
|
|
3671
|
-
return /* @__PURE__ */ l("form", { ...
|
|
3671
|
+
return /* @__PURE__ */ l("form", { ...f, onSubmit: (d) => {
|
|
3672
3672
|
d.preventDefault(), o && o();
|
|
3673
3673
|
}, className: c, children: n });
|
|
3674
3674
|
}, Fi = "_spLabel_g0hfy_43", zi = "_spLabel__text_g0hfy_52", Bi = "_spLabel__tooltip_g0hfy_62", Mi = "_spLabel__required_g0hfy_67", Ge = {
|
|
@@ -3682,21 +3682,29 @@ const wi = (e) => {
|
|
|
3682
3682
|
label: n,
|
|
3683
3683
|
infoTooltipText: o,
|
|
3684
3684
|
tooltipPosition: a,
|
|
3685
|
-
classNameRoot: i
|
|
3686
|
-
|
|
3685
|
+
classNameRoot: i,
|
|
3686
|
+
classNameBaseTooltipRoot: r
|
|
3687
|
+
} = e, s = _({
|
|
3687
3688
|
[Ge.spLabel]: !0,
|
|
3688
3689
|
...i && { [i]: !0 }
|
|
3689
|
-
}),
|
|
3690
|
+
}), f = _({
|
|
3690
3691
|
[Ge.spLabel__text]: !0
|
|
3691
|
-
}), m = _({
|
|
3692
|
-
[Ge.spLabel__required]: t
|
|
3693
3692
|
}), c = _({
|
|
3693
|
+
[Ge.spLabel__required]: t
|
|
3694
|
+
}), u = _({
|
|
3694
3695
|
[Ge.spLabel__tooltip]: !0
|
|
3695
3696
|
});
|
|
3696
|
-
return /* @__PURE__ */ Y("div", { className:
|
|
3697
|
-
/* @__PURE__ */ l("label", { className:
|
|
3698
|
-
t && /* @__PURE__ */ l("div", { className:
|
|
3699
|
-
o && /* @__PURE__ */ l("div", { className:
|
|
3697
|
+
return /* @__PURE__ */ Y("div", { className: s, children: [
|
|
3698
|
+
/* @__PURE__ */ l("label", { className: f, children: n }),
|
|
3699
|
+
t && /* @__PURE__ */ l("div", { className: c, children: "*" }),
|
|
3700
|
+
o && /* @__PURE__ */ l("div", { className: u, children: /* @__PURE__ */ l(
|
|
3701
|
+
Qe,
|
|
3702
|
+
{
|
|
3703
|
+
position: a,
|
|
3704
|
+
text: o,
|
|
3705
|
+
classNameBaseTooltipRoot: r
|
|
3706
|
+
}
|
|
3707
|
+
) })
|
|
3700
3708
|
] });
|
|
3701
3709
|
}, Wi = "_spInput_etrn0_43", qi = "_spInput_error_etrn0_48", $i = "_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 = {
|
|
3702
3710
|
spInput: Wi,
|
|
@@ -3717,72 +3725,74 @@ const wi = (e) => {
|
|
|
3717
3725
|
variant: i = "outlined",
|
|
3718
3726
|
disabled: r = !1,
|
|
3719
3727
|
error: s,
|
|
3720
|
-
required:
|
|
3728
|
+
required: f,
|
|
3721
3729
|
name: c,
|
|
3722
3730
|
isClearable: u,
|
|
3723
3731
|
pattern: d,
|
|
3724
|
-
onMouseEnter:
|
|
3725
|
-
infoTooltipText:
|
|
3732
|
+
onMouseEnter: h,
|
|
3733
|
+
infoTooltipText: y,
|
|
3726
3734
|
tooltipPosition: E,
|
|
3727
|
-
isVisibleDefaultTitle:
|
|
3728
|
-
placeholder:
|
|
3729
|
-
classNameRoot:
|
|
3735
|
+
isVisibleDefaultTitle: b = !0,
|
|
3736
|
+
placeholder: R = "Введите...",
|
|
3737
|
+
classNameRoot: O,
|
|
3730
3738
|
classNameError: V,
|
|
3731
|
-
classNameLabel:
|
|
3732
|
-
|
|
3733
|
-
|
|
3739
|
+
classNameLabel: A,
|
|
3740
|
+
classNameBaseTooltipRoot: w,
|
|
3741
|
+
...p
|
|
3742
|
+
} = e, T = _({
|
|
3734
3743
|
[Ce.spInput]: !0,
|
|
3735
3744
|
[Ce.spInput_error]: !!s,
|
|
3736
|
-
...
|
|
3737
|
-
}),
|
|
3745
|
+
...O && { [O]: !0 }
|
|
3746
|
+
}), F = _({
|
|
3738
3747
|
[Ce.spInput__container]: !0
|
|
3739
|
-
}),
|
|
3748
|
+
}), $ = _({
|
|
3740
3749
|
[Ce.spInput__control]: !0,
|
|
3741
3750
|
[Ce.spInput__control_disabled]: r,
|
|
3742
3751
|
[Ce[`spInput__control_${i}`]]: i,
|
|
3743
3752
|
[Ce.spInput__control_clearable]: u
|
|
3744
|
-
}), U = _({
|
|
3745
|
-
[Ce.spInput__clear]: !0
|
|
3746
3753
|
}), J = _({
|
|
3754
|
+
[Ce.spInput__clear]: !0
|
|
3755
|
+
}), ne = _({
|
|
3747
3756
|
[Ce.spInput__error]: !0,
|
|
3748
3757
|
...V && { [V]: !0 }
|
|
3749
|
-
}),
|
|
3750
|
-
...
|
|
3751
|
-
}),
|
|
3752
|
-
o(
|
|
3753
|
-
},
|
|
3754
|
-
const { value:
|
|
3755
|
-
d &&
|
|
3758
|
+
}), ue = _({
|
|
3759
|
+
...A && { [A]: !0 }
|
|
3760
|
+
}), me = (Z) => {
|
|
3761
|
+
o(Z, { name: c, value: "" });
|
|
3762
|
+
}, le = (Z) => {
|
|
3763
|
+
const { value: k, name: M } = Z.target;
|
|
3764
|
+
d && k && !new RegExp(d).test(k) || o(Z, { value: k, name: M });
|
|
3756
3765
|
};
|
|
3757
|
-
return /* @__PURE__ */ Y("div", { className:
|
|
3766
|
+
return /* @__PURE__ */ Y("div", { className: T, children: [
|
|
3758
3767
|
a && /* @__PURE__ */ l(
|
|
3759
3768
|
jt,
|
|
3760
3769
|
{
|
|
3761
|
-
classNameRoot:
|
|
3770
|
+
classNameRoot: ue,
|
|
3762
3771
|
tooltipPosition: E,
|
|
3763
|
-
required:
|
|
3772
|
+
required: f,
|
|
3764
3773
|
label: a,
|
|
3765
|
-
infoTooltipText:
|
|
3774
|
+
infoTooltipText: y,
|
|
3775
|
+
classNameBaseTooltipRoot: w
|
|
3766
3776
|
}
|
|
3767
3777
|
),
|
|
3768
|
-
/* @__PURE__ */ Y("div", { className:
|
|
3778
|
+
/* @__PURE__ */ Y("div", { className: F, onMouseEnter: h, children: [
|
|
3769
3779
|
/* @__PURE__ */ l(
|
|
3770
3780
|
"input",
|
|
3771
3781
|
{
|
|
3772
|
-
...
|
|
3773
|
-
placeholder:
|
|
3782
|
+
...p,
|
|
3783
|
+
placeholder: R,
|
|
3774
3784
|
disabled: r,
|
|
3775
|
-
onChange:
|
|
3776
|
-
title:
|
|
3785
|
+
onChange: le,
|
|
3786
|
+
title: b ? n : void 0,
|
|
3777
3787
|
value: n,
|
|
3778
3788
|
name: c,
|
|
3779
|
-
className:
|
|
3789
|
+
className: $,
|
|
3780
3790
|
ref: t
|
|
3781
3791
|
}
|
|
3782
3792
|
),
|
|
3783
|
-
u && n && !r && /* @__PURE__ */ l(ge, { onClick:
|
|
3793
|
+
u && n && !r && /* @__PURE__ */ l(ge, { onClick: me, className: J, name: re.Trash })
|
|
3784
3794
|
] }),
|
|
3785
|
-
s && /* @__PURE__ */ l("div", { className:
|
|
3795
|
+
s && /* @__PURE__ */ l("div", { className: ne, children: s })
|
|
3786
3796
|
] });
|
|
3787
3797
|
});
|
|
3788
3798
|
Zi.displayName = "Input";
|
|
@@ -3809,29 +3819,29 @@ const Qi = "_spInputFiles_1ukpx_43", Ji = "_spInputFiles_error_1ukpx_48", er = "
|
|
|
3809
3819
|
accept: i,
|
|
3810
3820
|
disabled: r,
|
|
3811
3821
|
multiple: s,
|
|
3812
|
-
maxFiles:
|
|
3822
|
+
maxFiles: f,
|
|
3813
3823
|
files: c = [],
|
|
3814
3824
|
infoTooltipText: u,
|
|
3815
3825
|
tooltipPosition: d = ie.TopRight,
|
|
3816
|
-
classNameRoot:
|
|
3817
|
-
error:
|
|
3818
|
-
} = e, E = c.map((p) => p.name),
|
|
3826
|
+
classNameRoot: h,
|
|
3827
|
+
error: y
|
|
3828
|
+
} = e, E = c.map((p) => p.name), b = (E == null ? void 0 : E.length) > 0, R = _({
|
|
3819
3829
|
[ve.spInputFiles]: !0,
|
|
3820
|
-
[ve.spInputFiles_error]: !!
|
|
3830
|
+
[ve.spInputFiles_error]: !!y,
|
|
3821
3831
|
[ve.spInputFiles_disabled]: r,
|
|
3822
|
-
[ve.spInputFiles_fileUploaded]:
|
|
3823
|
-
...
|
|
3824
|
-
}),
|
|
3825
|
-
const T = [...c],
|
|
3826
|
-
T.splice(
|
|
3832
|
+
[ve.spInputFiles_fileUploaded]: b,
|
|
3833
|
+
...h && { [h]: !0 }
|
|
3834
|
+
}), O = (p) => {
|
|
3835
|
+
const T = [...c], F = T.findIndex(($) => $.name === p);
|
|
3836
|
+
T.splice(F, 1), o(T, n);
|
|
3827
3837
|
}, V = (p) => {
|
|
3828
3838
|
p.stopPropagation(), o([], n);
|
|
3829
|
-
},
|
|
3839
|
+
}, A = () => s ? /* @__PURE__ */ l("ul", { className: ve.spInputFiles__fileNamesList, children: E.map((p, T) => /* @__PURE__ */ Y(
|
|
3830
3840
|
"li",
|
|
3831
3841
|
{
|
|
3832
3842
|
className: ve.spInputFiles__fileNamesListItem,
|
|
3833
|
-
onClick: (
|
|
3834
|
-
|
|
3843
|
+
onClick: (F) => {
|
|
3844
|
+
F.stopPropagation(), O(p);
|
|
3835
3845
|
},
|
|
3836
3846
|
children: [
|
|
3837
3847
|
/* @__PURE__ */ l(
|
|
@@ -3847,8 +3857,8 @@ const Qi = "_spInputFiles_1ukpx_43", Ji = "_spInputFiles_error_1ukpx_48", er = "
|
|
|
3847
3857
|
},
|
|
3848
3858
|
T
|
|
3849
3859
|
)) }) : /* @__PURE__ */ l(Se, { isEllipsis: !0, children: E[0] }), w = () => /* @__PURE__ */ Y(cn, { children: [
|
|
3850
|
-
|
|
3851
|
-
|
|
3860
|
+
b ? A() : /* @__PURE__ */ l(Se, { children: t }),
|
|
3861
|
+
b ? /* @__PURE__ */ l("div", { className: ve.spInputFiles__delete, onClick: V, children: /* @__PURE__ */ l(ge, { name: re.Close }) }) : u && /* @__PURE__ */ l(
|
|
3852
3862
|
Qe,
|
|
3853
3863
|
{
|
|
3854
3864
|
classNameTooltip: ve.spInputFiles__tooltipWrapper,
|
|
@@ -3865,20 +3875,20 @@ const Qi = "_spInputFiles_1ukpx_43", Ji = "_spInputFiles_error_1ukpx_48", er = "
|
|
|
3865
3875
|
files: c,
|
|
3866
3876
|
multiple: s,
|
|
3867
3877
|
maxSize: a,
|
|
3868
|
-
maxFiles:
|
|
3878
|
+
maxFiles: f,
|
|
3869
3879
|
accept: i,
|
|
3870
3880
|
onDropFiles: o,
|
|
3871
|
-
disabled: r ||
|
|
3872
|
-
children: /* @__PURE__ */ Y("div", { className:
|
|
3881
|
+
disabled: r || b,
|
|
3882
|
+
children: /* @__PURE__ */ Y("div", { className: R, children: [
|
|
3873
3883
|
/* @__PURE__ */ Y("div", { className: ve.spInputFiles__control, children: [
|
|
3874
|
-
/* @__PURE__ */ l(ge, { name:
|
|
3884
|
+
/* @__PURE__ */ l(ge, { name: b ? re.Check : re.Upload }),
|
|
3875
3885
|
w()
|
|
3876
3886
|
] }),
|
|
3877
|
-
|
|
3887
|
+
y && /* @__PURE__ */ l("div", { className: ve.spInputFiles__error, children: y })
|
|
3878
3888
|
] })
|
|
3879
3889
|
}
|
|
3880
3890
|
);
|
|
3881
|
-
},
|
|
3891
|
+
}, In = ln({
|
|
3882
3892
|
device: {
|
|
3883
3893
|
isDesktop: !1,
|
|
3884
3894
|
isMobile: !1,
|
|
@@ -3895,7 +3905,7 @@ function vr(e, t) {
|
|
|
3895
3905
|
if (a && o || !(a || o))
|
|
3896
3906
|
return !1;
|
|
3897
3907
|
var i = n.expressions.every(function(r) {
|
|
3898
|
-
var s = r.feature,
|
|
3908
|
+
var s = r.feature, f = r.modifier, c = r.value, u = t[s];
|
|
3899
3909
|
if (!u)
|
|
3900
3910
|
return !1;
|
|
3901
3911
|
switch (s) {
|
|
@@ -3924,7 +3934,7 @@ function vr(e, t) {
|
|
|
3924
3934
|
c = parseInt(c, 10) || 1, u = parseInt(u, 10) || 0;
|
|
3925
3935
|
break;
|
|
3926
3936
|
}
|
|
3927
|
-
switch (
|
|
3937
|
+
switch (f) {
|
|
3928
3938
|
case "min":
|
|
3929
3939
|
return u >= c;
|
|
3930
3940
|
case "max":
|
|
@@ -3941,11 +3951,11 @@ function jn(e) {
|
|
|
3941
3951
|
t = t.trim();
|
|
3942
3952
|
var n = t.match(dr), o = n[1], a = n[2], i = n[3] || "", r = {};
|
|
3943
3953
|
return r.inverse = !!o && o.toLowerCase() === "not", r.type = a ? a.toLowerCase() : "all", i = i.match(/\([^\)]+\)/g) || [], r.expressions = i.map(function(s) {
|
|
3944
|
-
var
|
|
3954
|
+
var f = s.match(ur), c = f[1].toLowerCase().match(mr);
|
|
3945
3955
|
return {
|
|
3946
3956
|
modifier: c[1],
|
|
3947
3957
|
feature: c[2],
|
|
3948
|
-
value:
|
|
3958
|
+
value: f[2]
|
|
3949
3959
|
};
|
|
3950
3960
|
}), r;
|
|
3951
3961
|
});
|
|
@@ -3989,7 +3999,7 @@ function an(e) {
|
|
|
3989
3999
|
var xr = Rt.match, rn = typeof window < "u" ? window.matchMedia : null;
|
|
3990
4000
|
function gr(e, t, n) {
|
|
3991
4001
|
var o = this, a;
|
|
3992
|
-
rn && !n && (a = rn.call(window, e)), a ? (this.matches = a.matches, this.media = a.media, a.addListener(s)) : (this.matches = xr(e, t), this.media = e), this.addListener = i, this.removeListener = r, this.dispose =
|
|
4002
|
+
rn && !n && (a = rn.call(window, e)), a ? (this.matches = a.matches, this.media = a.media, a.addListener(s)) : (this.matches = xr(e, t), this.media = e), this.addListener = i, this.removeListener = r, this.dispose = f;
|
|
3993
4003
|
function i(c) {
|
|
3994
4004
|
a && a.addListener(c);
|
|
3995
4005
|
}
|
|
@@ -3999,7 +4009,7 @@ function gr(e, t, n) {
|
|
|
3999
4009
|
function s(c) {
|
|
4000
4010
|
o.matches = c.matches, o.media = c.media;
|
|
4001
4011
|
}
|
|
4002
|
-
function
|
|
4012
|
+
function f() {
|
|
4003
4013
|
a && a.removeListener(s);
|
|
4004
4014
|
}
|
|
4005
4015
|
}
|
|
@@ -4059,7 +4069,7 @@ const pe = C.oneOfType([C.string, C.number]), An = {
|
|
|
4059
4069
|
monochrome: C.bool,
|
|
4060
4070
|
resolution: pe,
|
|
4061
4071
|
type: Object.keys(An)
|
|
4062
|
-
}, { type: Ls, ...Sr } = Er,
|
|
4072
|
+
}, { type: Ls, ...Sr } = Er, Nr = {
|
|
4063
4073
|
minAspectRatio: C.string,
|
|
4064
4074
|
maxAspectRatio: C.string,
|
|
4065
4075
|
minDeviceAspectRatio: C.string,
|
|
@@ -4081,9 +4091,9 @@ const pe = C.oneOfType([C.string, C.number]), An = {
|
|
|
4081
4091
|
minResolution: pe,
|
|
4082
4092
|
maxResolution: pe,
|
|
4083
4093
|
...Sr
|
|
4084
|
-
},
|
|
4094
|
+
}, Ir = { ...An, ...Nr };
|
|
4085
4095
|
var jr = {
|
|
4086
|
-
all:
|
|
4096
|
+
all: Ir
|
|
4087
4097
|
};
|
|
4088
4098
|
const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
4089
4099
|
const n = Rn(e);
|
|
@@ -4152,7 +4162,7 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4152
4162
|
}, Ps = (e) => {
|
|
4153
4163
|
const { breakpoints: t, children: n } = e, { device: o } = Wr(t);
|
|
4154
4164
|
return /* @__PURE__ */ l(
|
|
4155
|
-
|
|
4165
|
+
In.Provider,
|
|
4156
4166
|
{
|
|
4157
4167
|
value: {
|
|
4158
4168
|
device: o
|
|
@@ -4184,112 +4194,114 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4184
4194
|
variant: i = "outlined",
|
|
4185
4195
|
onChange: r,
|
|
4186
4196
|
onMouseEnter: s,
|
|
4187
|
-
error:
|
|
4197
|
+
error: f,
|
|
4188
4198
|
label: c,
|
|
4189
4199
|
infoTooltipText: u,
|
|
4190
4200
|
tooltipPosition: d,
|
|
4191
|
-
disabled:
|
|
4192
|
-
required:
|
|
4201
|
+
disabled: h,
|
|
4202
|
+
required: y,
|
|
4193
4203
|
maxHeightList: E = qr,
|
|
4194
|
-
isVisibleDefaultTitle:
|
|
4195
|
-
isScrollableList:
|
|
4196
|
-
classNameRoot:
|
|
4204
|
+
isVisibleDefaultTitle: b = !0,
|
|
4205
|
+
isScrollableList: R = !1,
|
|
4206
|
+
classNameRoot: O,
|
|
4197
4207
|
classNameError: V,
|
|
4198
|
-
classNameLabel:
|
|
4199
|
-
|
|
4208
|
+
classNameLabel: A,
|
|
4209
|
+
classNameBaseTooltipRoot: w
|
|
4210
|
+
} = e, [p, T] = ce(!1), F = Te(null);
|
|
4200
4211
|
fn(
|
|
4201
|
-
[
|
|
4212
|
+
[F],
|
|
4202
4213
|
() => {
|
|
4203
|
-
|
|
4214
|
+
T(!1);
|
|
4204
4215
|
},
|
|
4205
|
-
|
|
4216
|
+
p
|
|
4206
4217
|
);
|
|
4207
|
-
const
|
|
4208
|
-
r(
|
|
4209
|
-
},
|
|
4210
|
-
|
|
4211
|
-
},
|
|
4218
|
+
const $ = t.find((m) => m.value === o), J = (m, g) => {
|
|
4219
|
+
r(m, { value: g, name: a }), T(!1);
|
|
4220
|
+
}, ne = () => {
|
|
4221
|
+
h || T(!p);
|
|
4222
|
+
}, ue = _({
|
|
4212
4223
|
[xe.spSelect]: !0,
|
|
4213
|
-
[xe.spSelect_error]: !!
|
|
4214
|
-
...
|
|
4215
|
-
}),
|
|
4224
|
+
[xe.spSelect_error]: !!f,
|
|
4225
|
+
...O && { [O]: !0 }
|
|
4226
|
+
}), me = _({
|
|
4216
4227
|
[xe.spSelect__container]: !0
|
|
4217
|
-
}),
|
|
4228
|
+
}), le = _({
|
|
4218
4229
|
[xe.spSelect__control]: !0,
|
|
4219
4230
|
[xe[`spSelect__control_${i}`]]: i,
|
|
4220
|
-
[xe.spSelect__control_disabled]:
|
|
4221
|
-
}),
|
|
4231
|
+
[xe.spSelect__control_disabled]: h
|
|
4232
|
+
}), X = _({
|
|
4222
4233
|
[xe.spSelect__value]: !0,
|
|
4223
|
-
[xe.spSelect__value_empty]:
|
|
4224
|
-
}), $ = _({
|
|
4225
|
-
[xe.spSelect__icon]: !0
|
|
4234
|
+
[xe.spSelect__value_empty]: !$
|
|
4226
4235
|
}), Z = _({
|
|
4227
|
-
[xe.
|
|
4228
|
-
[xe.spSelect__list_scrollable]: A
|
|
4236
|
+
[xe.spSelect__icon]: !0
|
|
4229
4237
|
}), k = _({
|
|
4230
|
-
|
|
4231
|
-
|
|
4238
|
+
[xe.spSelect__list]: !0,
|
|
4239
|
+
[xe.spSelect__list_scrollable]: R
|
|
4240
|
+
}), M = _({
|
|
4241
|
+
...A && { [A]: !0 }
|
|
4242
|
+
}), K = _({
|
|
4232
4243
|
[xe.spSelect__error]: !0,
|
|
4233
4244
|
...V && { [V]: !0 }
|
|
4234
4245
|
});
|
|
4235
|
-
return /* @__PURE__ */ Y("div", { className:
|
|
4246
|
+
return /* @__PURE__ */ Y("div", { className: ue, ref: F, children: [
|
|
4236
4247
|
c && /* @__PURE__ */ l(
|
|
4237
4248
|
jt,
|
|
4238
4249
|
{
|
|
4239
|
-
classNameRoot:
|
|
4250
|
+
classNameRoot: M,
|
|
4240
4251
|
tooltipPosition: d,
|
|
4241
|
-
required:
|
|
4252
|
+
required: y,
|
|
4242
4253
|
label: c,
|
|
4243
|
-
infoTooltipText: u
|
|
4254
|
+
infoTooltipText: u,
|
|
4255
|
+
classNameBaseTooltipRoot: w
|
|
4244
4256
|
}
|
|
4245
4257
|
),
|
|
4246
|
-
/* @__PURE__ */ Y("div", { className:
|
|
4258
|
+
/* @__PURE__ */ Y("div", { className: me, onMouseEnter: s, children: [
|
|
4247
4259
|
/* @__PURE__ */ Y(
|
|
4248
4260
|
"div",
|
|
4249
4261
|
{
|
|
4250
|
-
tabIndex:
|
|
4251
|
-
title:
|
|
4252
|
-
className:
|
|
4253
|
-
onClick:
|
|
4262
|
+
tabIndex: h ? -1 : 0,
|
|
4263
|
+
title: b ? o : void 0,
|
|
4264
|
+
className: le,
|
|
4265
|
+
onClick: ne,
|
|
4254
4266
|
children: [
|
|
4255
|
-
/* @__PURE__ */ l("div", { className:
|
|
4267
|
+
/* @__PURE__ */ l("div", { className: X, children: ($ == null ? void 0 : $.label) || n }),
|
|
4256
4268
|
/* @__PURE__ */ l(
|
|
4257
4269
|
ge,
|
|
4258
4270
|
{
|
|
4259
4271
|
name: re.SelectChevronDown,
|
|
4260
|
-
rotate:
|
|
4261
|
-
className:
|
|
4272
|
+
rotate: p ? 180 : void 0,
|
|
4273
|
+
className: Z
|
|
4262
4274
|
}
|
|
4263
4275
|
)
|
|
4264
4276
|
]
|
|
4265
4277
|
}
|
|
4266
4278
|
),
|
|
4267
|
-
|
|
4279
|
+
p && /* @__PURE__ */ l(
|
|
4268
4280
|
"div",
|
|
4269
4281
|
{
|
|
4270
|
-
className:
|
|
4271
|
-
style:
|
|
4272
|
-
children: t.map((
|
|
4273
|
-
const
|
|
4282
|
+
className: k,
|
|
4283
|
+
style: R ? { maxHeight: `${E}px` } : {},
|
|
4284
|
+
children: t.map((m) => {
|
|
4285
|
+
const g = m.value === o;
|
|
4274
4286
|
return /* @__PURE__ */ Y(
|
|
4275
4287
|
"div",
|
|
4276
4288
|
{
|
|
4277
4289
|
className: _({
|
|
4278
4290
|
[xe.spSelect__option]: !0
|
|
4279
4291
|
}),
|
|
4280
|
-
onClick: (
|
|
4292
|
+
onClick: (D) => J(D, m.value),
|
|
4281
4293
|
children: [
|
|
4282
|
-
|
|
4283
|
-
|
|
4294
|
+
m.label,
|
|
4295
|
+
g && /* @__PURE__ */ l(ge, { name: re.Check, className: Z })
|
|
4284
4296
|
]
|
|
4285
4297
|
},
|
|
4286
|
-
|
|
4298
|
+
m.value
|
|
4287
4299
|
);
|
|
4288
4300
|
})
|
|
4289
4301
|
}
|
|
4290
4302
|
)
|
|
4291
4303
|
] }),
|
|
4292
|
-
|
|
4304
|
+
f && /* @__PURE__ */ l("div", { className: K, children: f })
|
|
4293
4305
|
] });
|
|
4294
4306
|
}, os = "_skeleton_c18an_44", as = {
|
|
4295
4307
|
skeleton: os
|
|
@@ -4328,33 +4340,33 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4328
4340
|
...a && { [a]: !0 }
|
|
4329
4341
|
}), s = _({
|
|
4330
4342
|
[he.spTable__tdContent]: !0
|
|
4331
|
-
}),
|
|
4343
|
+
}), f = _({
|
|
4332
4344
|
[he.spTable__tdColorContent]: !0
|
|
4333
4345
|
}), c = _({
|
|
4334
4346
|
[he.spTable__emptyPage]: !0
|
|
4335
4347
|
}), {
|
|
4336
4348
|
device: { isDesktop: u }
|
|
4337
|
-
} = dn(
|
|
4338
|
-
const { text: p, rowIndex: T, colIndex:
|
|
4339
|
-
(d == null ? void 0 : d.rowIndex) === T && (d == null ? void 0 : d.colIndex) ===
|
|
4340
|
-
|
|
4341
|
-
}).catch((
|
|
4342
|
-
console.error("Ошибка при копировании:",
|
|
4349
|
+
} = dn(In), [d, h] = ce(null), y = (w) => {
|
|
4350
|
+
const { text: p, rowIndex: T, colIndex: F } = w;
|
|
4351
|
+
(d == null ? void 0 : d.rowIndex) === T && (d == null ? void 0 : d.colIndex) === F || navigator.clipboard.writeText(p).then(() => {
|
|
4352
|
+
h({ rowIndex: T, colIndex: F });
|
|
4353
|
+
}).catch(($) => {
|
|
4354
|
+
console.error("Ошибка при копировании:", $);
|
|
4343
4355
|
});
|
|
4344
4356
|
}, E = () => {
|
|
4345
|
-
|
|
4346
|
-
},
|
|
4357
|
+
h(null);
|
|
4358
|
+
}, b = () => /* @__PURE__ */ l("div", { className: c, children: "Данные отсутствуют" }), R = ({
|
|
4347
4359
|
row: w,
|
|
4348
4360
|
col: p
|
|
4349
4361
|
}) => {
|
|
4350
4362
|
const T = w[p.key];
|
|
4351
4363
|
if (!T) return null;
|
|
4352
|
-
const [
|
|
4364
|
+
const [F, $] = T.split(/\s*\{\{|}}\s*/).filter(Boolean);
|
|
4353
4365
|
return /* @__PURE__ */ Y("span", { children: [
|
|
4354
|
-
|
|
4355
|
-
|
|
4366
|
+
F,
|
|
4367
|
+
$ && /* @__PURE__ */ l("span", { className: f, children: ` ${$}` })
|
|
4356
4368
|
] });
|
|
4357
|
-
},
|
|
4369
|
+
}, O = () => n && Array.isArray(n) && n.length > 0 ? /* @__PURE__ */ Y("table", { className: r, children: [
|
|
4358
4370
|
/* @__PURE__ */ l("colgroup", { children: i.map((w, p, T) => /* @__PURE__ */ l(
|
|
4359
4371
|
"col",
|
|
4360
4372
|
{
|
|
@@ -4365,55 +4377,55 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4365
4377
|
p
|
|
4366
4378
|
)) }),
|
|
4367
4379
|
/* @__PURE__ */ l("thead", { children: /* @__PURE__ */ l("tr", { children: i.map((w, p) => /* @__PURE__ */ l("th", { children: w.title }, p)) }) }),
|
|
4368
|
-
/* @__PURE__ */ l("tbody", { children: n.map((w, p) => w ? /* @__PURE__ */ l("tr", { children: i.map((T,
|
|
4369
|
-
const
|
|
4380
|
+
/* @__PURE__ */ l("tbody", { children: n.map((w, p) => w ? /* @__PURE__ */ l("tr", { children: i.map((T, F) => {
|
|
4381
|
+
const $ = (d == null ? void 0 : d.rowIndex) === p && (d == null ? void 0 : d.colIndex) === F;
|
|
4370
4382
|
return /* @__PURE__ */ l(
|
|
4371
4383
|
"td",
|
|
4372
4384
|
{
|
|
4373
|
-
onMouseLeave:
|
|
4385
|
+
onMouseLeave: $ ? E : void 0,
|
|
4374
4386
|
children: /* @__PURE__ */ Y("div", { className: s, children: [
|
|
4375
|
-
/* @__PURE__ */ l("span", { children: T.isColorContentsCurlyBrackets ?
|
|
4387
|
+
/* @__PURE__ */ l("span", { children: T.isColorContentsCurlyBrackets ? R({ row: w, col: T }) : w[T.key] }),
|
|
4376
4388
|
!pn(w[T.key]) && T.isBeCopiedValue && /* @__PURE__ */ l(
|
|
4377
4389
|
ge,
|
|
4378
4390
|
{
|
|
4379
4391
|
className: _({
|
|
4380
4392
|
[he.spTable__tdContentCopyIcon]: !0,
|
|
4381
|
-
[he.spTable__tdContentCopyIcon_copied]:
|
|
4393
|
+
[he.spTable__tdContentCopyIcon_copied]: $
|
|
4382
4394
|
}),
|
|
4383
|
-
name:
|
|
4395
|
+
name: $ ? re.Check : re.Copy,
|
|
4384
4396
|
onClick: () => {
|
|
4385
4397
|
const J = w[T.key];
|
|
4386
4398
|
if (!J) return null;
|
|
4387
|
-
|
|
4399
|
+
y({
|
|
4388
4400
|
text: J,
|
|
4389
4401
|
rowIndex: p,
|
|
4390
|
-
colIndex:
|
|
4402
|
+
colIndex: F
|
|
4391
4403
|
});
|
|
4392
4404
|
}
|
|
4393
4405
|
}
|
|
4394
4406
|
)
|
|
4395
4407
|
] })
|
|
4396
4408
|
},
|
|
4397
|
-
`${p}:${
|
|
4409
|
+
`${p}:${F}`
|
|
4398
4410
|
);
|
|
4399
4411
|
}) }, p) : null) })
|
|
4400
|
-
] }) :
|
|
4412
|
+
] }) : b(), V = () => n && Array.isArray(n) && n.length > 0 ? /* @__PURE__ */ l(
|
|
4401
4413
|
"div",
|
|
4402
4414
|
{
|
|
4403
4415
|
className: _({
|
|
4404
4416
|
[he.spStringsGroup]: !0
|
|
4405
4417
|
}),
|
|
4406
|
-
children: n.map((w, p) => w ? /* @__PURE__ */ l("div", { children: i.map((T,
|
|
4418
|
+
children: n.map((w, p) => w ? /* @__PURE__ */ l("div", { children: i.map((T, F) => {
|
|
4407
4419
|
if (pn(w[T.key]))
|
|
4408
4420
|
return null;
|
|
4409
|
-
const
|
|
4421
|
+
const $ = (d == null ? void 0 : d.rowIndex) === p && (d == null ? void 0 : d.colIndex) === F;
|
|
4410
4422
|
return /* @__PURE__ */ Y(
|
|
4411
4423
|
"div",
|
|
4412
4424
|
{
|
|
4413
4425
|
className: _({
|
|
4414
4426
|
[he.spStringsGroup__groupItem]: !0
|
|
4415
4427
|
}),
|
|
4416
|
-
onMouseLeave:
|
|
4428
|
+
onMouseLeave: $ ? E : void 0,
|
|
4417
4429
|
children: [
|
|
4418
4430
|
/* @__PURE__ */ l(
|
|
4419
4431
|
"div",
|
|
@@ -4437,16 +4449,16 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4437
4449
|
{
|
|
4438
4450
|
className: _({
|
|
4439
4451
|
[he.spStringsGroup__groupItemContentCopyIcon]: !0,
|
|
4440
|
-
[he.spStringsGroup__groupItemContentCopyIcon_copied]:
|
|
4452
|
+
[he.spStringsGroup__groupItemContentCopyIcon_copied]: $
|
|
4441
4453
|
}),
|
|
4442
|
-
name:
|
|
4454
|
+
name: $ ? re.Check : re.Copy,
|
|
4443
4455
|
onClick: () => {
|
|
4444
4456
|
const J = w[T.key];
|
|
4445
4457
|
if (!J) return null;
|
|
4446
|
-
|
|
4458
|
+
y({
|
|
4447
4459
|
text: J,
|
|
4448
4460
|
rowIndex: p,
|
|
4449
|
-
colIndex:
|
|
4461
|
+
colIndex: F
|
|
4450
4462
|
});
|
|
4451
4463
|
}
|
|
4452
4464
|
}
|
|
@@ -4456,13 +4468,13 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4456
4468
|
)
|
|
4457
4469
|
]
|
|
4458
4470
|
},
|
|
4459
|
-
|
|
4471
|
+
F
|
|
4460
4472
|
);
|
|
4461
4473
|
}) }, p) : null)
|
|
4462
4474
|
}
|
|
4463
|
-
) :
|
|
4464
|
-
return o ? u ?
|
|
4465
|
-
}, xs = "_spTabs_1citb_43", gs = "_spTabs_separated_1citb_48", hs = "_spTabs__tabElement_1citb_48", bs = "_spTabs__tabElement_active_1citb_83", ys = "_spTabs__triggerTooltip_1citb_90",
|
|
4475
|
+
) : b();
|
|
4476
|
+
return o ? u ? O() : V() : O();
|
|
4477
|
+
}, xs = "_spTabs_1citb_43", gs = "_spTabs_separated_1citb_48", hs = "_spTabs__tabElement_1citb_48", bs = "_spTabs__tabElement_active_1citb_83", ys = "_spTabs__triggerTooltip_1citb_90", Ie = {
|
|
4466
4478
|
spTabs: xs,
|
|
4467
4479
|
spTabs_separated: gs,
|
|
4468
4480
|
"spTabs--size-md": "_spTabs--size-md_1citb_48",
|
|
@@ -4481,13 +4493,13 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4481
4493
|
variant: i = "contained",
|
|
4482
4494
|
size: r = "md"
|
|
4483
4495
|
} = e, s = _({
|
|
4484
|
-
[
|
|
4485
|
-
[
|
|
4486
|
-
[
|
|
4487
|
-
[
|
|
4496
|
+
[Ie.spTabs]: !0,
|
|
4497
|
+
[Ie.spTabs_separated]: n,
|
|
4498
|
+
[Ie[`spTabs--variant-${i}`]]: i,
|
|
4499
|
+
[Ie[`spTabs--size-${r}`]]: r,
|
|
4488
4500
|
...o && { [o]: !0 }
|
|
4489
|
-
}),
|
|
4490
|
-
[
|
|
4501
|
+
}), f = _({
|
|
4502
|
+
[Ie.spTabs__triggerTooltip]: !0
|
|
4491
4503
|
}), c = () => {
|
|
4492
4504
|
switch (r) {
|
|
4493
4505
|
case "md":
|
|
@@ -4497,22 +4509,22 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4497
4509
|
}
|
|
4498
4510
|
};
|
|
4499
4511
|
return /* @__PURE__ */ l("div", { className: s, children: t.map((u, d) => {
|
|
4500
|
-
const { name:
|
|
4512
|
+
const { name: h, active: y, onClick: E, infoTooltipText: b } = u;
|
|
4501
4513
|
return /* @__PURE__ */ Y(
|
|
4502
4514
|
"div",
|
|
4503
4515
|
{
|
|
4504
4516
|
className: _({
|
|
4505
|
-
[
|
|
4506
|
-
[
|
|
4517
|
+
[Ie.spTabs__tabElement]: !0,
|
|
4518
|
+
[Ie.spTabs__tabElement_active]: y
|
|
4507
4519
|
}),
|
|
4508
4520
|
onClick: E,
|
|
4509
4521
|
children: [
|
|
4510
|
-
/* @__PURE__ */ l(Se, { type: c(), children:
|
|
4511
|
-
!!
|
|
4522
|
+
/* @__PURE__ */ l(Se, { type: c(), children: h }),
|
|
4523
|
+
!!b && /* @__PURE__ */ l(
|
|
4512
4524
|
Qe,
|
|
4513
4525
|
{
|
|
4514
|
-
classNameTriggerTooltip:
|
|
4515
|
-
text:
|
|
4526
|
+
classNameTriggerTooltip: f,
|
|
4527
|
+
text: b,
|
|
4516
4528
|
classNameBaseTooltipRoot: a
|
|
4517
4529
|
}
|
|
4518
4530
|
)
|
|
@@ -4535,7 +4547,7 @@ export {
|
|
|
4535
4547
|
Bo as ApplyButtons,
|
|
4536
4548
|
mn as BaseTooltip,
|
|
4537
4549
|
yt as Button,
|
|
4538
|
-
|
|
4550
|
+
Ns as Checkbox,
|
|
4539
4551
|
js as Confirm,
|
|
4540
4552
|
Rs as ContextMenu,
|
|
4541
4553
|
wi as DefaultDropzone,
|
|
@@ -4550,7 +4562,7 @@ export {
|
|
|
4550
4562
|
Os as InputFiles,
|
|
4551
4563
|
jt as Label,
|
|
4552
4564
|
oa as Layer,
|
|
4553
|
-
|
|
4565
|
+
In as MediaContext,
|
|
4554
4566
|
Ps as MediaContextProvider,
|
|
4555
4567
|
_a as Modal,
|
|
4556
4568
|
_n as Portal,
|
|
@@ -4561,6 +4573,6 @@ export {
|
|
|
4561
4573
|
Ms as Tabs,
|
|
4562
4574
|
Se as Text,
|
|
4563
4575
|
Ws as TextWithLabel,
|
|
4564
|
-
|
|
4565
|
-
|
|
4576
|
+
Nt as Tooltip,
|
|
4577
|
+
Is as useModal
|
|
4566
4578
|
};
|