test-stpr-ui-kit 0.4.46 → 0.4.48
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 +812 -806
- package/dist/test-stpr-ui-kit.umd.cjs +8 -8
- package/package.json +1 -1
package/dist/test-stpr-ui-kit.js
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { jsxs as H, jsx as
|
|
2
|
-
import * as
|
|
3
|
-
import $e, { useState as le, useEffect as re, useRef as fe, useCallback as _e, forwardRef as
|
|
4
|
-
import
|
|
5
|
-
import './test-stpr-ui-kit.css';function
|
|
1
|
+
import { jsxs as H, jsx as u, Fragment as lo } from "react/jsx-runtime";
|
|
2
|
+
import * as E from "react";
|
|
3
|
+
import $e, { useState as le, useEffect as re, useRef as fe, useCallback as _e, forwardRef as Po, useImperativeHandle as Bo, Fragment as Wo, useMemo as Fe, useReducer as Mo, createContext as co, useContext as $o } from "react";
|
|
4
|
+
import qo from "react-dom";
|
|
5
|
+
import './test-stpr-ui-kit.css';function uo(e) {
|
|
6
6
|
var t, o, n = "";
|
|
7
7
|
if (typeof e == "string" || typeof e == "number") n += e;
|
|
8
8
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
9
9
|
var a = e.length;
|
|
10
|
-
for (t = 0; t < a; t++) e[t] && (o =
|
|
10
|
+
for (t = 0; t < a; t++) e[t] && (o = uo(e[t])) && (n && (n += " "), n += o);
|
|
11
11
|
} else for (o in e) e[o] && (n && (n += " "), n += o);
|
|
12
12
|
return n;
|
|
13
13
|
}
|
|
14
14
|
function f() {
|
|
15
|
-
for (var e, t, o = 0, n = "", a = arguments.length; o < a; o++) (e = arguments[o]) && (t =
|
|
15
|
+
for (var e, t, o = 0, n = "", a = arguments.length; o < a; o++) (e = arguments[o]) && (t = uo(e)) && (n && (n += " "), n += t);
|
|
16
16
|
return n;
|
|
17
17
|
}
|
|
18
|
-
const
|
|
18
|
+
const Uo = (e) => /* @__PURE__ */ E.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__ */ E.createElement("path", { d: "M20 7L9 18L4 13", stroke: "currentColor", strokeWidth: 2 })), Ho = (e) => /* @__PURE__ */ E.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__ */ E.createElement("path", { d: "M25 6L13 18L1 6", stroke: "currentColor", strokeWidth: 2 })), Vo = (e) => /* @__PURE__ */ E.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 21 22", fill: "none", ...e }, /* @__PURE__ */ E.createElement("line", { y1: -1, x2: 20.464, y2: -1, transform: "matrix(0.680234 -0.732995 -0.680234 -0.732995 3 18)", stroke: "currentColor", strokeWidth: 2 }), /* @__PURE__ */ E.createElement("line", { y1: -1, x2: 20.464, y2: -1, transform: "matrix(-0.680234 -0.732995 0.680234 -0.732995 18 18)", stroke: "currentColor", strokeWidth: 2 })), Yo = (e) => /* @__PURE__ */ E.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__ */ E.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__ */ E.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" })), Go = (e) => /* @__PURE__ */ E.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__ */ E.createElement("circle", { cx: 2, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ E.createElement("circle", { cx: 9, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ E.createElement("circle", { cx: 16, cy: 2, r: 2, fill: "currentColor" })), Ko = (e) => /* @__PURE__ */ E.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__ */ E.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" })), Xo = (e) => /* @__PURE__ */ E.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__ */ E.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__ */ E.createElement("path", { d: "M12 8V12", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ E.createElement("path", { d: "M12 16H12.01", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Zo = (e) => /* @__PURE__ */ E.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__ */ E.createElement("path", { d: "M5 12H19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Qo = (e) => /* @__PURE__ */ E.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__ */ E.createElement("path", { d: "M12 5V19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ E.createElement("path", { d: "M5 12H19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Jo = (e) => /* @__PURE__ */ E.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__ */ E.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" })), en = (e) => /* @__PURE__ */ E.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__ */ E.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__ */ E.createElement("path", { d: "M12 8V16", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ E.createElement("path", { d: "M8 12H16", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), tn = (e) => /* @__PURE__ */ E.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__ */ E.createElement("path", { d: "M12 15.275L6 9.275L7.275 8L12 12.725L16.725 8L18 9.275L12 15.275Z", fill: "currentColor" })), on = (e) => /* @__PURE__ */ E.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 17 17", fill: "none", ...e }, /* @__PURE__ */ E.createElement("path", { d: "M4.88889 10.6667L7.05556 8.5L4.88889 6.33333M9.22222 10.6667H12.1111M5.46667 15H11.5333C12.7468 15 13.3535 15 13.817 14.7638C14.2247 14.5561 14.5561 14.2247 14.7638 13.817C15 13.3535 15 12.7468 15 11.5333V5.46667C15 4.25322 15 3.6465 14.7638 3.18302C14.5561 2.77534 14.2247 2.44388 13.817 2.23615C13.3535 2 12.7468 2 11.5333 2H5.46667C4.25322 2 3.6465 2 3.18302 2.23615C2.77534 2.44388 2.44388 2.77534 2.23615 3.18302C2 3.6465 2 4.25322 2 5.46667V11.5333C2 12.7468 2 13.3535 2.23615 13.817C2.44388 14.2247 2.77534 14.5561 3.18302 14.7638C3.6465 15 4.25322 15 5.46667 15Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), nn = (e) => /* @__PURE__ */ E.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__ */ E.createElement("path", { d: "M3 6H5H21", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ E.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__ */ E.createElement("path", { d: "M10 11V17", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ E.createElement("path", { d: "M14 11V17", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), an = (e) => /* @__PURE__ */ E.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__ */ E.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__ */ E.createElement("path", { d: "M14 5L10 1L6 5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ E.createElement("path", { d: "M10 2V13", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })), rn = (e) => /* @__PURE__ */ E.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__ */ E.createElement("path", { d: "M12.971 2.24023L25.8228 24.5002H0.119141L12.971 2.24023Z", fill: "#002A64" }), /* @__PURE__ */ E.createElement("path", { d: "M13.0835 4.20023L25.2079 25.2002H0.959141L13.0835 4.20023Z", fill: "#036BFD" }), /* @__PURE__ */ E.createElement("path", { d: "M14.3991 21.0002H11.8791V23.5202H14.3991V21.0002Z", fill: "#F5F5F7" }), /* @__PURE__ */ E.createElement("path", { d: "M14.3991 10.6402H11.8791V19.8802H14.3991V10.6402Z", fill: "#F5F5F7" })), he = (e) => {
|
|
19
19
|
const { name: t, rotate: o, ...n } = e, a = {
|
|
20
20
|
...n.style,
|
|
21
21
|
flexShrink: 0,
|
|
22
22
|
transform: o ? `rotate(${o}deg)` : ""
|
|
23
23
|
}, i = {
|
|
24
|
-
chevronDown:
|
|
25
|
-
info:
|
|
26
|
-
plus:
|
|
27
|
-
minus:
|
|
28
|
-
selectChevronDown:
|
|
29
|
-
upload:
|
|
30
|
-
trash:
|
|
31
|
-
check:
|
|
32
|
-
copy:
|
|
33
|
-
close:
|
|
34
|
-
plusSquare:
|
|
35
|
-
warningColor:
|
|
36
|
-
dots:
|
|
37
|
-
historyClock:
|
|
38
|
-
plusCircle:
|
|
39
|
-
terminalSquare:
|
|
24
|
+
chevronDown: Ho,
|
|
25
|
+
info: Xo,
|
|
26
|
+
plus: Qo,
|
|
27
|
+
minus: Zo,
|
|
28
|
+
selectChevronDown: tn,
|
|
29
|
+
upload: an,
|
|
30
|
+
trash: nn,
|
|
31
|
+
check: Uo,
|
|
32
|
+
copy: Yo,
|
|
33
|
+
close: Vo,
|
|
34
|
+
plusSquare: en,
|
|
35
|
+
warningColor: rn,
|
|
36
|
+
dots: Go,
|
|
37
|
+
historyClock: Ko,
|
|
38
|
+
plusCircle: Jo,
|
|
39
|
+
terminalSquare: on
|
|
40
40
|
};
|
|
41
41
|
return $e.createElement(i[t], {
|
|
42
42
|
...n,
|
|
@@ -44,24 +44,24 @@ const Ho = (e) => /* @__PURE__ */ S.createElement("svg", { className: "stpr-icon
|
|
|
44
44
|
});
|
|
45
45
|
};
|
|
46
46
|
var ue = /* @__PURE__ */ ((e) => (e.ChevronDown = "chevronDown", e.Info = "info", e.Plus = "plus", e.SelectChevronDown = "selectChevronDown", e.Upload = "upload", e.Trash = "trash", e.Check = "check", e.Copy = "copy", e.Close = "close", e.PlusSquare = "plusSquare", e.PlusCircle = "plusCircle", e.WarningColor = "warningColor", e.Dots = "dots", e.HistoryClock = "historyClock", e.Minus = "minus", e.TerminalSquare = "terminalSquare", e))(ue || {});
|
|
47
|
-
const
|
|
48
|
-
spAccordion:
|
|
49
|
-
spAccordion_noBorder:
|
|
50
|
-
spAccordion_noPadding:
|
|
51
|
-
spAccordion_open:
|
|
52
|
-
spAccordion__header:
|
|
53
|
-
spAccordion_noOpen:
|
|
54
|
-
spAccordion__name:
|
|
55
|
-
spAccordion__name_hiddenExpand:
|
|
47
|
+
const sn = "_spAccordion_11ek7_43", pn = "_spAccordion_noBorder_11ek7_57", ln = "_spAccordion_noPadding_11ek7_60", cn = "_spAccordion_open_11ek7_63", dn = "_spAccordion__header_11ek7_66", un = "_spAccordion_noOpen_11ek7_74", mn = "_spAccordion__name_11ek7_96", _n = "_spAccordion__name_hiddenExpand_11ek7_107", fn = "_spAccordion__icon_11ek7_122", vn = "_spAccordion__icon_hidden_11ek7_128", xn = "_spAccordion__icon_open_11ek7_131", gn = "_spAccordion__childrenWrapper_11ek7_138", hn = "_spAccordion__childrenWrapper_open_11ek7_147", bn = "_spAccordion__content_11ek7_150", yn = "_spAccordion__content_open_11ek7_156", ce = {
|
|
48
|
+
spAccordion: sn,
|
|
49
|
+
spAccordion_noBorder: pn,
|
|
50
|
+
spAccordion_noPadding: ln,
|
|
51
|
+
spAccordion_open: cn,
|
|
52
|
+
spAccordion__header: dn,
|
|
53
|
+
spAccordion_noOpen: un,
|
|
54
|
+
spAccordion__name: mn,
|
|
55
|
+
spAccordion__name_hiddenExpand: _n,
|
|
56
56
|
"spAccordion__name--level-1": "_spAccordion__name--level-1_11ek7_111",
|
|
57
57
|
"spAccordion__name--level-2": "_spAccordion__name--level-2_11ek7_114",
|
|
58
|
-
spAccordion__icon:
|
|
59
|
-
spAccordion__icon_hidden:
|
|
60
|
-
spAccordion__icon_open:
|
|
61
|
-
spAccordion__childrenWrapper:
|
|
62
|
-
spAccordion__childrenWrapper_open:
|
|
63
|
-
spAccordion__content:
|
|
64
|
-
spAccordion__content_open:
|
|
58
|
+
spAccordion__icon: fn,
|
|
59
|
+
spAccordion__icon_hidden: vn,
|
|
60
|
+
spAccordion__icon_open: xn,
|
|
61
|
+
spAccordion__childrenWrapper: gn,
|
|
62
|
+
spAccordion__childrenWrapper_open: hn,
|
|
63
|
+
spAccordion__content: bn,
|
|
64
|
+
spAccordion__content_open: yn
|
|
65
65
|
}, Hs = (e) => {
|
|
66
66
|
const {
|
|
67
67
|
name: t,
|
|
@@ -71,15 +71,15 @@ const pn = "_spAccordion_11ek7_43", ln = "_spAccordion_noBorder_11ek7_57", cn =
|
|
|
71
71
|
onOpen: i,
|
|
72
72
|
noBorder: r = !1,
|
|
73
73
|
noPadding: s = !1,
|
|
74
|
-
level:
|
|
74
|
+
level: d = 1,
|
|
75
75
|
classNameRoot: p,
|
|
76
76
|
classNameHeader: m,
|
|
77
77
|
classNameTitle: l,
|
|
78
78
|
classNameIcon: v,
|
|
79
|
-
classNameChildrenWrapper:
|
|
80
|
-
} = e, [C,
|
|
81
|
-
a || (
|
|
82
|
-
},
|
|
79
|
+
classNameChildrenWrapper: b
|
|
80
|
+
} = e, [C, y] = le(n), T = () => {
|
|
81
|
+
a || (y(!C), i == null || i(!C));
|
|
82
|
+
}, A = f({
|
|
83
83
|
[ce.spAccordion]: !0,
|
|
84
84
|
[ce.spAccordion_open]: C,
|
|
85
85
|
[ce.spAccordion_noOpen]: !C,
|
|
@@ -91,10 +91,10 @@ const pn = "_spAccordion_11ek7_43", ln = "_spAccordion_noBorder_11ek7_57", cn =
|
|
|
91
91
|
...m && { [m]: !0 }
|
|
92
92
|
}), j = f({
|
|
93
93
|
[ce.spAccordion__name]: !0,
|
|
94
|
-
[ce[`spAccordion__name--level-${
|
|
94
|
+
[ce[`spAccordion__name--level-${d}`]]: d,
|
|
95
95
|
[ce.spAccordion__name_hiddenExpand]: a,
|
|
96
96
|
...l && { [l]: !0 }
|
|
97
|
-
}),
|
|
97
|
+
}), w = f({
|
|
98
98
|
[ce.spAccordion__icon]: !0,
|
|
99
99
|
[ce.spAccordion__icon_open]: C,
|
|
100
100
|
[ce.spAccordion__icon_hidden]: a,
|
|
@@ -102,52 +102,52 @@ const pn = "_spAccordion_11ek7_43", ln = "_spAccordion_noBorder_11ek7_57", cn =
|
|
|
102
102
|
}), c = f({
|
|
103
103
|
[ce.spAccordion__childrenWrapper]: !0,
|
|
104
104
|
[ce.spAccordion__childrenWrapper_open]: C,
|
|
105
|
-
...
|
|
106
|
-
}),
|
|
105
|
+
...b && { [b]: !0 }
|
|
106
|
+
}), S = f({
|
|
107
107
|
[ce.spAccordion__content]: !0,
|
|
108
108
|
[ce.spAccordion__content_open]: C
|
|
109
109
|
});
|
|
110
|
-
return /* @__PURE__ */ H("div", { className:
|
|
110
|
+
return /* @__PURE__ */ H("div", { className: A, children: [
|
|
111
111
|
/* @__PURE__ */ H("div", { className: M, children: [
|
|
112
|
-
/* @__PURE__ */
|
|
113
|
-
/* @__PURE__ */
|
|
112
|
+
/* @__PURE__ */ u("div", { className: j, children: /* @__PURE__ */ u("span", { onClick: T, children: t }) }),
|
|
113
|
+
/* @__PURE__ */ u(he, { onClick: T, className: w, name: ue.ChevronDown })
|
|
114
114
|
] }),
|
|
115
|
-
/* @__PURE__ */
|
|
115
|
+
/* @__PURE__ */ u("div", { className: c, children: /* @__PURE__ */ u("div", { className: S, children: o }) })
|
|
116
116
|
] });
|
|
117
|
-
},
|
|
118
|
-
spinner:
|
|
119
|
-
spinner__inner:
|
|
117
|
+
}, wn = "_spinner_18qva_43", kn = "_spinner__inner_18qva_54", lt = {
|
|
118
|
+
spinner: wn,
|
|
119
|
+
spinner__inner: kn,
|
|
120
120
|
"spinner-rotate": "_spinner-rotate_18qva_1",
|
|
121
121
|
"spinner--sm": "_spinner--sm_18qva_67",
|
|
122
122
|
"spinner--md": "_spinner--md_18qva_71",
|
|
123
123
|
"spinner--lg": "_spinner--lg_18qva_74",
|
|
124
124
|
"spinner--xl": "_spinner--xl_18qva_78"
|
|
125
|
-
},
|
|
125
|
+
}, mo = (e) => {
|
|
126
126
|
const { size: t = "md", color: o = "#036bfd", classNameRoot: n } = e;
|
|
127
|
-
return /* @__PURE__ */
|
|
127
|
+
return /* @__PURE__ */ u(
|
|
128
128
|
"div",
|
|
129
129
|
{
|
|
130
130
|
className: f(lt.spinner, lt[`spinner--${t}`], n),
|
|
131
131
|
"aria-label": "Loading",
|
|
132
132
|
role: "status",
|
|
133
133
|
style: { color: o },
|
|
134
|
-
children: /* @__PURE__ */
|
|
134
|
+
children: /* @__PURE__ */ u("div", { className: lt.spinner__inner })
|
|
135
135
|
}
|
|
136
136
|
);
|
|
137
|
-
},
|
|
138
|
-
spButton:
|
|
139
|
-
spButton_noPadding:
|
|
140
|
-
spButton_onlyIcon:
|
|
141
|
-
spButton__iconContainer:
|
|
142
|
-
spButton_link:
|
|
143
|
-
spButton__text:
|
|
144
|
-
spButton_primary:
|
|
145
|
-
spButton_blue:
|
|
146
|
-
spButton_white:
|
|
147
|
-
spButton_secondary:
|
|
148
|
-
spButton_fullWidth:
|
|
149
|
-
spButton_disabled:
|
|
150
|
-
spButton__spinner:
|
|
137
|
+
}, Cn = "_spButton_zixup_43", Tn = "_spButton_noPadding_zixup_59", Nn = "_spButton_onlyIcon_zixup_62", En = "_spButton__iconContainer_zixup_70", Sn = "_spButton_link_zixup_73", Rn = "_spButton__text_zixup_77", An = "_spButton_primary_zixup_89", jn = "_spButton_blue_zixup_89", Dn = "_spButton_white_zixup_99", In = "_spButton_secondary_zixup_109", Ln = "_spButton_fullWidth_zixup_129", Fn = "_spButton_disabled_zixup_132", On = "_spButton__spinner_zixup_141", we = {
|
|
138
|
+
spButton: Cn,
|
|
139
|
+
spButton_noPadding: Tn,
|
|
140
|
+
spButton_onlyIcon: Nn,
|
|
141
|
+
spButton__iconContainer: En,
|
|
142
|
+
spButton_link: Sn,
|
|
143
|
+
spButton__text: Rn,
|
|
144
|
+
spButton_primary: An,
|
|
145
|
+
spButton_blue: jn,
|
|
146
|
+
spButton_white: Dn,
|
|
147
|
+
spButton_secondary: In,
|
|
148
|
+
spButton_fullWidth: Ln,
|
|
149
|
+
spButton_disabled: Fn,
|
|
150
|
+
spButton__spinner: On
|
|
151
151
|
}, wt = (e) => {
|
|
152
152
|
const {
|
|
153
153
|
color: t = "blue",
|
|
@@ -157,60 +157,60 @@ const pn = "_spAccordion_11ek7_43", ln = "_spAccordion_noBorder_11ek7_57", cn =
|
|
|
157
157
|
iconName: i,
|
|
158
158
|
iconRotate: r = 0,
|
|
159
159
|
disabled: s = !1,
|
|
160
|
-
type:
|
|
160
|
+
type: d = "button",
|
|
161
161
|
form: p,
|
|
162
162
|
children: m,
|
|
163
163
|
loading: l = !1,
|
|
164
164
|
isFullWidth: v = !1,
|
|
165
|
-
isOnlyIcon:
|
|
165
|
+
isOnlyIcon: b = !1,
|
|
166
166
|
noPadding: C = !1,
|
|
167
|
-
classNameRoot:
|
|
168
|
-
classNameIconContainerRoot:
|
|
169
|
-
} = e,
|
|
170
|
-
s || a == null || a(
|
|
167
|
+
classNameRoot: y,
|
|
168
|
+
classNameIconContainerRoot: T
|
|
169
|
+
} = e, A = (w) => {
|
|
170
|
+
s || a == null || a(w);
|
|
171
171
|
}, M = () => {
|
|
172
|
-
const
|
|
172
|
+
const w = f({
|
|
173
173
|
[we.spButton__text]: !0
|
|
174
174
|
}), c = f({
|
|
175
175
|
[we.spButton__iconContainer]: !0,
|
|
176
|
-
...
|
|
176
|
+
...T && { [T]: !0 }
|
|
177
177
|
});
|
|
178
|
-
return /* @__PURE__ */ H(
|
|
179
|
-
(i || l) && /* @__PURE__ */
|
|
180
|
-
!
|
|
178
|
+
return /* @__PURE__ */ H(lo, { children: [
|
|
179
|
+
(i || l) && /* @__PURE__ */ u("div", { className: c, children: l ? /* @__PURE__ */ u(mo, { classNameRoot: we.spButton__spinner }) : i && /* @__PURE__ */ u(he, { name: i, rotate: r }) }),
|
|
180
|
+
!b && m && /* @__PURE__ */ u("div", { className: w, children: m })
|
|
181
181
|
] });
|
|
182
182
|
}, j = f({
|
|
183
183
|
[we.spButton]: !0,
|
|
184
184
|
[we.spButton_noPadding]: C,
|
|
185
|
-
[we.spButton_onlyIcon]:
|
|
185
|
+
[we.spButton_onlyIcon]: b,
|
|
186
186
|
[we[`spButton_${o}`]]: o,
|
|
187
187
|
[we[`spButton_${t}`]]: t,
|
|
188
188
|
[we.spButton_fullWidth]: v,
|
|
189
189
|
[we.spButton_disabled]: s,
|
|
190
190
|
[we.spButton_loading]: l,
|
|
191
|
-
...
|
|
191
|
+
...y && { [y]: !0 }
|
|
192
192
|
});
|
|
193
|
-
return /* @__PURE__ */
|
|
193
|
+
return /* @__PURE__ */ u(
|
|
194
194
|
"button",
|
|
195
195
|
{
|
|
196
196
|
style: n,
|
|
197
197
|
className: j,
|
|
198
|
-
onClick:
|
|
198
|
+
onClick: A,
|
|
199
199
|
disabled: s,
|
|
200
|
-
type:
|
|
200
|
+
type: d,
|
|
201
201
|
form: p,
|
|
202
202
|
children: M()
|
|
203
203
|
}
|
|
204
204
|
);
|
|
205
|
-
},
|
|
206
|
-
spApplyButtons:
|
|
205
|
+
}, zn = "_spApplyButtons_e8c1h_43", Pn = "_spApplyButtons__cancel_e8c1h_65", Bn = "_spApplyButtons__submit_e8c1h_68", Be = {
|
|
206
|
+
spApplyButtons: zn,
|
|
207
207
|
"spApplyButtons_align-right": "_spApplyButtons_align-right_e8c1h_48",
|
|
208
208
|
"spApplyButtons_align-left": "_spApplyButtons_align-left_e8c1h_51",
|
|
209
209
|
"spApplyButtons_align-center": "_spApplyButtons_align-center_e8c1h_54",
|
|
210
210
|
"spApplyButtons_mobile-column": "_spApplyButtons_mobile-column_e8c1h_57",
|
|
211
|
-
spApplyButtons__cancel:
|
|
212
|
-
spApplyButtons__submit:
|
|
213
|
-
},
|
|
211
|
+
spApplyButtons__cancel: Pn,
|
|
212
|
+
spApplyButtons__submit: Bn
|
|
213
|
+
}, Wn = (e) => {
|
|
214
214
|
const {
|
|
215
215
|
mobile: t = "column",
|
|
216
216
|
align: o = "center",
|
|
@@ -219,7 +219,7 @@ const pn = "_spAccordion_11ek7_43", ln = "_spAccordion_noBorder_11ek7_57", cn =
|
|
|
219
219
|
cancelBtnDisabled: i,
|
|
220
220
|
submitBtnContent: r,
|
|
221
221
|
formId: s,
|
|
222
|
-
disabled:
|
|
222
|
+
disabled: d,
|
|
223
223
|
onClose: p,
|
|
224
224
|
submit: m,
|
|
225
225
|
loading: l
|
|
@@ -227,13 +227,13 @@ const pn = "_spAccordion_11ek7_43", ln = "_spAccordion_noBorder_11ek7_57", cn =
|
|
|
227
227
|
[Be.spApplyButtons]: !0,
|
|
228
228
|
[Be[`spApplyButtons_mobile-${t}`]]: t,
|
|
229
229
|
[Be[`spApplyButtons_align-${o}`]]: o
|
|
230
|
-
}),
|
|
230
|
+
}), b = f({
|
|
231
231
|
[Be.spApplyButtons__submit]: !0
|
|
232
232
|
}), C = f({
|
|
233
233
|
[Be.spApplyButtons__cancel]: !0
|
|
234
234
|
});
|
|
235
235
|
return /* @__PURE__ */ H("div", { className: v, children: [
|
|
236
|
-
n && p && /* @__PURE__ */
|
|
236
|
+
n && p && /* @__PURE__ */ u(
|
|
237
237
|
wt,
|
|
238
238
|
{
|
|
239
239
|
type: "button",
|
|
@@ -245,25 +245,25 @@ const pn = "_spAccordion_11ek7_43", ln = "_spAccordion_noBorder_11ek7_57", cn =
|
|
|
245
245
|
children: n
|
|
246
246
|
}
|
|
247
247
|
),
|
|
248
|
-
r && /* @__PURE__ */
|
|
248
|
+
r && /* @__PURE__ */ u(
|
|
249
249
|
wt,
|
|
250
250
|
{
|
|
251
251
|
type: "submit",
|
|
252
252
|
variant: "primary",
|
|
253
|
-
classNameRoot:
|
|
253
|
+
classNameRoot: b,
|
|
254
254
|
form: s || void 0,
|
|
255
|
-
disabled:
|
|
255
|
+
disabled: d,
|
|
256
256
|
onClick: m,
|
|
257
257
|
loading: l,
|
|
258
258
|
children: r
|
|
259
259
|
}
|
|
260
260
|
)
|
|
261
261
|
] });
|
|
262
|
-
},
|
|
263
|
-
spBaseTooltip:
|
|
264
|
-
spBaseTooltip_noPadding:
|
|
265
|
-
spBaseTooltip__content:
|
|
266
|
-
},
|
|
262
|
+
}, Mn = "_spBaseTooltip_z1ltl_43", $n = "_spBaseTooltip_noPadding_z1ltl_71", qn = "_spBaseTooltip__content_z1ltl_74", ct = {
|
|
263
|
+
spBaseTooltip: Mn,
|
|
264
|
+
spBaseTooltip_noPadding: $n,
|
|
265
|
+
spBaseTooltip__content: qn
|
|
266
|
+
}, _o = $e.forwardRef((e, t) => {
|
|
267
267
|
const {
|
|
268
268
|
text: o,
|
|
269
269
|
noPadding: n = !1,
|
|
@@ -274,14 +274,14 @@ const pn = "_spAccordion_11ek7_43", ln = "_spAccordion_noBorder_11ek7_57", cn =
|
|
|
274
274
|
[ct.spBaseTooltip]: !0,
|
|
275
275
|
[ct.spBaseTooltip_noPadding]: n,
|
|
276
276
|
...i && { [i]: !0 }
|
|
277
|
-
}),
|
|
277
|
+
}), d = f({
|
|
278
278
|
[ct.spBaseTooltip__content]: !0,
|
|
279
279
|
...r && { [r]: !0 }
|
|
280
280
|
});
|
|
281
|
-
return /* @__PURE__ */
|
|
281
|
+
return /* @__PURE__ */ u("div", { className: s, ref: t, style: a, children: /* @__PURE__ */ u("div", { className: d, children: o }) });
|
|
282
282
|
});
|
|
283
|
-
|
|
284
|
-
function
|
|
283
|
+
_o.displayName = "BaseTooltip";
|
|
284
|
+
function fo(e, t, o = !0) {
|
|
285
285
|
re(() => {
|
|
286
286
|
if (!o) return;
|
|
287
287
|
const n = (a) => {
|
|
@@ -292,7 +292,7 @@ function vo(e, t, o = !0) {
|
|
|
292
292
|
};
|
|
293
293
|
}, [e, t, o]);
|
|
294
294
|
}
|
|
295
|
-
const
|
|
295
|
+
const vo = ({ children: e, node: t, classNameRoot: o }) => {
|
|
296
296
|
const [n, a] = le(null);
|
|
297
297
|
return re(() => {
|
|
298
298
|
if (t) {
|
|
@@ -303,10 +303,10 @@ const xo = ({ children: e, node: t, classNameRoot: o }) => {
|
|
|
303
303
|
return o && (i.className = o), document.body.appendChild(i), a(i), () => {
|
|
304
304
|
t || document.body.removeChild(i);
|
|
305
305
|
};
|
|
306
|
-
}, [t, o]), n ?
|
|
307
|
-
},
|
|
308
|
-
spTooltip:
|
|
309
|
-
spTooltip__trigger:
|
|
306
|
+
}, [t, o]), n ? qo.createPortal(e, n) : null;
|
|
307
|
+
}, Un = "_spTooltip_9ogwj_43", Hn = "_spTooltip__trigger_9ogwj_46", Lt = {
|
|
308
|
+
spTooltip: Un,
|
|
309
|
+
spTooltip__trigger: Hn
|
|
310
310
|
};
|
|
311
311
|
var de = /* @__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))(de || {});
|
|
312
312
|
const Rt = (e) => {
|
|
@@ -318,30 +318,30 @@ const Rt = (e) => {
|
|
|
318
318
|
trigger: i,
|
|
319
319
|
triggerAction: r,
|
|
320
320
|
actionOnClose: s,
|
|
321
|
-
classNameTriggerTooltip:
|
|
321
|
+
classNameTriggerTooltip: d,
|
|
322
322
|
position: p = de.BottomLeft,
|
|
323
323
|
text: m,
|
|
324
324
|
noPadding: l,
|
|
325
325
|
classNameTooltip: v,
|
|
326
|
-
classNameBaseTooltipRoot:
|
|
326
|
+
classNameBaseTooltipRoot: b,
|
|
327
327
|
classNameBaseTooltipContentRoot: C
|
|
328
|
-
} = e, [
|
|
329
|
-
|
|
330
|
-
[
|
|
328
|
+
} = e, [y, T] = le(!1), A = fe(null), M = fe(null), [j, w] = le(!1);
|
|
329
|
+
fo(
|
|
330
|
+
[A, M],
|
|
331
331
|
() => {
|
|
332
|
-
s && s(),
|
|
332
|
+
s && s(), T(!1);
|
|
333
333
|
},
|
|
334
|
-
|
|
334
|
+
y
|
|
335
335
|
);
|
|
336
336
|
const c = (k) => {
|
|
337
|
-
n && k.stopPropagation(), !t && (
|
|
338
|
-
}, [
|
|
337
|
+
n && k.stopPropagation(), !t && (y ? s && s() : r && r(), T(($) => o ? !$ : !0));
|
|
338
|
+
}, [S, P] = le({
|
|
339
339
|
visibility: "hidden",
|
|
340
340
|
opacity: 0,
|
|
341
341
|
left: "-9999px"
|
|
342
342
|
}), [L, Q] = le(!1), te = _e(() => {
|
|
343
|
-
if (!
|
|
344
|
-
const k =
|
|
343
|
+
if (!A.current || !M.current) return;
|
|
344
|
+
const k = A.current.getBoundingClientRect(), $ = M.current.getBoundingClientRect();
|
|
345
345
|
let X = 0, B = 0;
|
|
346
346
|
switch (p) {
|
|
347
347
|
case de.Right:
|
|
@@ -387,11 +387,11 @@ const Rt = (e) => {
|
|
|
387
387
|
..._,
|
|
388
388
|
top: `${X}px`,
|
|
389
389
|
left: `${B}px`,
|
|
390
|
-
visibility:
|
|
391
|
-
opacity:
|
|
390
|
+
visibility: y || L ? "visible" : "hidden",
|
|
391
|
+
opacity: y || L ? 1 : 0
|
|
392
392
|
}));
|
|
393
|
-
}, [p,
|
|
394
|
-
re(() => (
|
|
393
|
+
}, [p, y, L]);
|
|
394
|
+
re(() => (w(!0), () => w(!1)), []), re(() => {
|
|
395
395
|
j && te();
|
|
396
396
|
}, [j, te]), re(() => {
|
|
397
397
|
if (!j) return;
|
|
@@ -404,12 +404,12 @@ const Rt = (e) => {
|
|
|
404
404
|
[Lt.spTooltip]: !0,
|
|
405
405
|
...v && { [v]: !0 }
|
|
406
406
|
}), ae = f({
|
|
407
|
-
...
|
|
407
|
+
...b && { [b]: !0 }
|
|
408
408
|
}), se = f({
|
|
409
409
|
...C && { [C]: !0 }
|
|
410
410
|
}), K = f({
|
|
411
411
|
[Lt.spTooltip__trigger]: !0,
|
|
412
|
-
...
|
|
412
|
+
...d && { [d]: !0 }
|
|
413
413
|
}), Z = document.body;
|
|
414
414
|
return /* @__PURE__ */ H(
|
|
415
415
|
"div",
|
|
@@ -419,11 +419,11 @@ const Rt = (e) => {
|
|
|
419
419
|
onMouseEnter: () => t && Q(!0),
|
|
420
420
|
onMouseLeave: () => t && Q(!1),
|
|
421
421
|
children: [
|
|
422
|
-
/* @__PURE__ */
|
|
423
|
-
a && /* @__PURE__ */
|
|
424
|
-
|
|
422
|
+
/* @__PURE__ */ u("div", { ref: A, className: K, children: i }),
|
|
423
|
+
a && /* @__PURE__ */ u(vo, { node: Z, children: /* @__PURE__ */ u(
|
|
424
|
+
_o,
|
|
425
425
|
{
|
|
426
|
-
style:
|
|
426
|
+
style: S,
|
|
427
427
|
ref: M,
|
|
428
428
|
noPadding: l,
|
|
429
429
|
text: m,
|
|
@@ -434,19 +434,19 @@ const Rt = (e) => {
|
|
|
434
434
|
]
|
|
435
435
|
}
|
|
436
436
|
);
|
|
437
|
-
}, Je = (e) => /* @__PURE__ */
|
|
438
|
-
spCheckbox:
|
|
439
|
-
spCheckbox__control:
|
|
440
|
-
spCheckbox__label:
|
|
441
|
-
spCheckbox__box:
|
|
437
|
+
}, Je = (e) => /* @__PURE__ */ u(Rt, { ...e, hover: !0, trigger: /* @__PURE__ */ u(he, { name: ue.Info }) }), Vn = "_spCheckbox_uc4g8_43", Yn = "_spCheckbox__control_uc4g8_49", Gn = "_spCheckbox__label_uc4g8_52", Kn = "_spCheckbox__box_uc4g8_63", Xn = "_spCheckbox__box_checked_uc4g8_90", Zn = "_spCheckbox__box_disabled_uc4g8_100", Qn = "_spCheckbox__box_error_uc4g8_111", Jn = "_spCheckbox__tooltip_uc4g8_114", ea = "_spCheckbox__required_uc4g8_119", ta = "_spCheckbox__error_uc4g8_125", ke = {
|
|
438
|
+
spCheckbox: Vn,
|
|
439
|
+
spCheckbox__control: Yn,
|
|
440
|
+
spCheckbox__label: Gn,
|
|
441
|
+
spCheckbox__box: Kn,
|
|
442
442
|
"spCheckbox__box--size-lg": "_spCheckbox__box--size-lg_uc4g8_68",
|
|
443
443
|
"spCheckbox__box--size-md": "_spCheckbox__box--size-md_uc4g8_73",
|
|
444
|
-
spCheckbox__box_checked:
|
|
445
|
-
spCheckbox__box_disabled:
|
|
446
|
-
spCheckbox__box_error:
|
|
447
|
-
spCheckbox__tooltip:
|
|
448
|
-
spCheckbox__required:
|
|
449
|
-
spCheckbox__error:
|
|
444
|
+
spCheckbox__box_checked: Xn,
|
|
445
|
+
spCheckbox__box_disabled: Zn,
|
|
446
|
+
spCheckbox__box_error: Qn,
|
|
447
|
+
spCheckbox__tooltip: Jn,
|
|
448
|
+
spCheckbox__required: ea,
|
|
449
|
+
spCheckbox__error: ta
|
|
450
450
|
}, Vs = (e) => {
|
|
451
451
|
const {
|
|
452
452
|
size: t = "lg",
|
|
@@ -456,52 +456,52 @@ const Rt = (e) => {
|
|
|
456
456
|
name: i,
|
|
457
457
|
label: r,
|
|
458
458
|
error: s,
|
|
459
|
-
value:
|
|
459
|
+
value: d,
|
|
460
460
|
required: p,
|
|
461
461
|
tooltipPosition: m,
|
|
462
462
|
infoTooltipText: l,
|
|
463
463
|
onMouseEnter: v,
|
|
464
|
-
classNameRoot:
|
|
464
|
+
classNameRoot: b,
|
|
465
465
|
classNameError: C
|
|
466
|
-
} = e,
|
|
466
|
+
} = e, y = f({
|
|
467
467
|
[ke.spCheckbox]: !0,
|
|
468
|
-
...
|
|
469
|
-
}),
|
|
468
|
+
...b && { [b]: !0 }
|
|
469
|
+
}), T = f({
|
|
470
470
|
[ke.spCheckbox__box]: !0,
|
|
471
471
|
[ke.spCheckbox__box_checked]: o,
|
|
472
472
|
[ke.spCheckbox__box_disabled]: n,
|
|
473
473
|
[ke[`spCheckbox__box--size-${t}`]]: t,
|
|
474
474
|
[ke.spCheckbox__box_error]: s
|
|
475
|
-
}),
|
|
475
|
+
}), A = f({
|
|
476
476
|
[ke.spCheckbox__control]: !0
|
|
477
477
|
}), M = f({
|
|
478
478
|
[ke.spCheckbox__label]: !0
|
|
479
479
|
}), j = f({
|
|
480
480
|
[ke.spCheckbox__required]: !0
|
|
481
|
-
}),
|
|
481
|
+
}), w = f({
|
|
482
482
|
[ke.spCheckbox__error]: !0,
|
|
483
483
|
...C && { [C]: !0 }
|
|
484
484
|
}), c = f({
|
|
485
485
|
[ke.spCheckbox__tooltip]: !0
|
|
486
486
|
});
|
|
487
|
-
return /* @__PURE__ */ H("div", { className:
|
|
488
|
-
/* @__PURE__ */ H("label", { className:
|
|
489
|
-
/* @__PURE__ */
|
|
487
|
+
return /* @__PURE__ */ H("div", { className: y, onMouseEnter: v, children: [
|
|
488
|
+
/* @__PURE__ */ H("label", { className: T, children: [
|
|
489
|
+
/* @__PURE__ */ u(
|
|
490
490
|
"input",
|
|
491
491
|
{
|
|
492
492
|
type: "checkbox",
|
|
493
|
-
className:
|
|
493
|
+
className: A,
|
|
494
494
|
checked: o,
|
|
495
495
|
onChange: (P) => {
|
|
496
|
-
!n && a && a(P, { name: i, checked: !o, value:
|
|
496
|
+
!n && a && a(P, { name: i, checked: !o, value: d });
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
499
|
),
|
|
500
|
-
r && /* @__PURE__ */
|
|
501
|
-
p && /* @__PURE__ */
|
|
502
|
-
l && /* @__PURE__ */
|
|
500
|
+
r && /* @__PURE__ */ u("span", { className: M, children: r }),
|
|
501
|
+
p && /* @__PURE__ */ u("div", { className: j, children: "*" }),
|
|
502
|
+
l && /* @__PURE__ */ u("div", { className: c, children: /* @__PURE__ */ u(Je, { position: m, text: l }) })
|
|
503
503
|
] }),
|
|
504
|
-
s && /* @__PURE__ */
|
|
504
|
+
s && /* @__PURE__ */ u("div", { className: w, children: s })
|
|
505
505
|
] });
|
|
506
506
|
}, Ys = (e = {}) => {
|
|
507
507
|
const { initialValue: t = null } = e, [o, n] = le(t);
|
|
@@ -515,10 +515,10 @@ const Rt = (e) => {
|
|
|
515
515
|
n(null);
|
|
516
516
|
}
|
|
517
517
|
};
|
|
518
|
-
},
|
|
519
|
-
layer:
|
|
520
|
-
layer_hidden:
|
|
521
|
-
},
|
|
518
|
+
}, oa = "_layer_14g8d_43", na = "_layer_hidden_14g8d_65", Ft = {
|
|
519
|
+
layer: oa,
|
|
520
|
+
layer_hidden: na
|
|
521
|
+
}, aa = (e) => {
|
|
522
522
|
const {
|
|
523
523
|
children: t,
|
|
524
524
|
zIndex: o = "9999",
|
|
@@ -529,17 +529,17 @@ const Rt = (e) => {
|
|
|
529
529
|
[Ft.layer_hidden]: n,
|
|
530
530
|
...a && { [a]: !0 }
|
|
531
531
|
});
|
|
532
|
-
return /* @__PURE__ */
|
|
533
|
-
},
|
|
534
|
-
spText:
|
|
535
|
-
spText_ellipsis:
|
|
532
|
+
return /* @__PURE__ */ u(vo, { node: i, children: /* @__PURE__ */ u("div", { style: { zIndex: o }, className: r, children: t }) });
|
|
533
|
+
}, ia = "_spText_1gech_43", ra = "_spText_ellipsis_1gech_56", sa = "_spText_cursorPointer_1gech_113", Ve = {
|
|
534
|
+
spText: ia,
|
|
535
|
+
spText_ellipsis: ra,
|
|
536
536
|
"spText_type-h1": "_spText_type-h1_1gech_62",
|
|
537
537
|
"spText_type-h3": "_spText_type-h3_1gech_72",
|
|
538
538
|
"spText_type-p1": "_spText_type-p1_1gech_83",
|
|
539
539
|
"spText_type-p2": "_spText_type-p2_1gech_88",
|
|
540
540
|
"spText_type-description": "_spText_type-description_1gech_92",
|
|
541
541
|
"spText_type-link": "_spText_type-link_1gech_100",
|
|
542
|
-
spText_cursorPointer:
|
|
542
|
+
spText_cursorPointer: sa
|
|
543
543
|
}, Ne = $e.forwardRef((e, t) => {
|
|
544
544
|
const {
|
|
545
545
|
type: o,
|
|
@@ -548,48 +548,48 @@ const Rt = (e) => {
|
|
|
548
548
|
title: i,
|
|
549
549
|
style: r,
|
|
550
550
|
onClick: s,
|
|
551
|
-
isEllipsis:
|
|
551
|
+
isEllipsis: d = !1,
|
|
552
552
|
isCursorPointer: p = !1,
|
|
553
553
|
isCursorPointerByOnClick: m = !0,
|
|
554
554
|
classNameRoot: l
|
|
555
|
-
} = e, v = () => s && m ? !0 : p,
|
|
555
|
+
} = e, v = () => s && m ? !0 : p, b = f({
|
|
556
556
|
[Ve.spText]: !0,
|
|
557
|
-
[Ve.spText_ellipsis]:
|
|
557
|
+
[Ve.spText_ellipsis]: d,
|
|
558
558
|
[Ve.spText_cursorPointer]: v(),
|
|
559
559
|
[Ve[`spText_type-${o}`]]: o,
|
|
560
560
|
...l && { [l]: !0 }
|
|
561
561
|
});
|
|
562
|
-
return /* @__PURE__ */
|
|
562
|
+
return /* @__PURE__ */ u(
|
|
563
563
|
"span",
|
|
564
564
|
{
|
|
565
565
|
style: { ...r, color: a },
|
|
566
566
|
title: i,
|
|
567
567
|
onClick: s,
|
|
568
|
-
className:
|
|
568
|
+
className: b,
|
|
569
569
|
ref: t,
|
|
570
570
|
children: n
|
|
571
571
|
}
|
|
572
572
|
);
|
|
573
573
|
});
|
|
574
574
|
Ne.displayName = "Text";
|
|
575
|
-
const
|
|
576
|
-
modalWrapper:
|
|
575
|
+
const pa = "_modalWrapper_awlzb_43", la = "_modalWrapper__modal_awlzb_63", ca = "_modalWrapper__content_awlzb_92", da = "_modalWrapper__header_awlzb_95", ua = "_modalWrapper__subHeader_awlzb_103", ma = "_modalWrapper__subHeader_onlySubHeader_awlzb_111", _a = "_modalWrapper__footer_awlzb_114", fa = "_modalWrapper__closeButton_awlzb_117", va = "_modalWrapper__closeButtonIconContainer_awlzb_131", be = {
|
|
576
|
+
modalWrapper: pa,
|
|
577
577
|
"modalWrapper--modalAlign-top": "_modalWrapper--modalAlign-top_awlzb_48",
|
|
578
578
|
"modalWrapper--modalAlign-center": "_modalWrapper--modalAlign-center_awlzb_51",
|
|
579
579
|
"modalWrapper--textAlign-left": "_modalWrapper--textAlign-left_awlzb_54",
|
|
580
580
|
"modalWrapper--textAlign-center": "_modalWrapper--textAlign-center_awlzb_57",
|
|
581
581
|
"modalWrapper--textAlign-right": "_modalWrapper--textAlign-right_awlzb_60",
|
|
582
|
-
modalWrapper__modal:
|
|
582
|
+
modalWrapper__modal: la,
|
|
583
583
|
"modalWrapper__modal--size-lg": "_modalWrapper__modal--size-lg_awlzb_81",
|
|
584
584
|
"modalWrapper__modal--size-md": "_modalWrapper__modal--size-md_awlzb_87",
|
|
585
|
-
modalWrapper__content:
|
|
586
|
-
modalWrapper__header:
|
|
587
|
-
modalWrapper__subHeader:
|
|
588
|
-
modalWrapper__subHeader_onlySubHeader:
|
|
589
|
-
modalWrapper__footer:
|
|
590
|
-
modalWrapper__closeButton:
|
|
591
|
-
modalWrapper__closeButtonIconContainer:
|
|
592
|
-
},
|
|
585
|
+
modalWrapper__content: ca,
|
|
586
|
+
modalWrapper__header: da,
|
|
587
|
+
modalWrapper__subHeader: ua,
|
|
588
|
+
modalWrapper__subHeader_onlySubHeader: ma,
|
|
589
|
+
modalWrapper__footer: _a,
|
|
590
|
+
modalWrapper__closeButton: fa,
|
|
591
|
+
modalWrapper__closeButtonIconContainer: va
|
|
592
|
+
}, xa = (e) => {
|
|
593
593
|
const {
|
|
594
594
|
zIndex: t,
|
|
595
595
|
isHiddenModal: o = !1,
|
|
@@ -598,33 +598,33 @@ const la = "_modalWrapper_awlzb_43", ca = "_modalWrapper__modal_awlzb_63", da =
|
|
|
598
598
|
classNameLayerRoot: i,
|
|
599
599
|
classNameRoot: r,
|
|
600
600
|
style: s,
|
|
601
|
-
modalAlign:
|
|
601
|
+
modalAlign: d = "top",
|
|
602
602
|
textAlign: p = "left",
|
|
603
603
|
onClose: m,
|
|
604
604
|
header: l,
|
|
605
605
|
subHeader: v,
|
|
606
|
-
footer:
|
|
606
|
+
footer: b,
|
|
607
607
|
size: C = "lg"
|
|
608
|
-
} = e,
|
|
608
|
+
} = e, y = f({
|
|
609
609
|
[be.modalWrapper]: !0,
|
|
610
|
-
[be[`modalWrapper--modalAlign-${
|
|
610
|
+
[be[`modalWrapper--modalAlign-${d}`]]: d,
|
|
611
611
|
[be[`modalWrapper--textAlign-${p}`]]: p
|
|
612
|
-
}),
|
|
612
|
+
}), T = f({
|
|
613
613
|
[be.modalWrapper__modal]: !0,
|
|
614
614
|
[be[`modalWrapper__modal--size-${C}`]]: C,
|
|
615
615
|
...r && { [r]: !0 }
|
|
616
|
-
}),
|
|
616
|
+
}), A = f({
|
|
617
617
|
[be.modalWrapper__closeButton]: !0
|
|
618
618
|
}), M = f({
|
|
619
619
|
[be.modalWrapper__closeButtonIconContainer]: !0
|
|
620
620
|
}), j = f({
|
|
621
621
|
[be.modalWrapper__content]: !0
|
|
622
|
-
}),
|
|
622
|
+
}), w = f({
|
|
623
623
|
[be.modalWrapper__header]: !0
|
|
624
624
|
}), c = f({
|
|
625
625
|
[be.modalWrapper__subHeader]: !0,
|
|
626
626
|
[be.modalWrapper__subHeader_onlySubHeader]: !l
|
|
627
|
-
}),
|
|
627
|
+
}), S = f({
|
|
628
628
|
[be.modalWrapper__footer]: !0
|
|
629
629
|
});
|
|
630
630
|
return re(() => {
|
|
@@ -632,17 +632,17 @@ const la = "_modalWrapper_awlzb_43", ca = "_modalWrapper__modal_awlzb_63", da =
|
|
|
632
632
|
return L.style.position = "fixed", L.style.top = `-${P}px`, L.style.left = "0", L.style.right = "0", L.style.overflow = "hidden", () => {
|
|
633
633
|
L.style.position = "", L.style.top = "", L.style.left = "", L.style.right = "", L.style.overflow = "", window.scrollTo(0, P);
|
|
634
634
|
};
|
|
635
|
-
}, []), /* @__PURE__ */
|
|
636
|
-
(l || v) && /* @__PURE__ */ H("div", { className:
|
|
637
|
-
typeof l == "string" ? /* @__PURE__ */
|
|
638
|
-
v && /* @__PURE__ */
|
|
635
|
+
}, []), /* @__PURE__ */ u(aa, { zIndex: t, isHiddenModal: o, classNameRoot: i, children: /* @__PURE__ */ u("div", { className: y, children: /* @__PURE__ */ H("div", { className: T, style: s, children: [
|
|
636
|
+
(l || v) && /* @__PURE__ */ H("div", { className: w, children: [
|
|
637
|
+
typeof l == "string" ? /* @__PURE__ */ u(Ne, { type: "h3", children: l }) : l,
|
|
638
|
+
v && /* @__PURE__ */ u("div", { className: c, children: typeof v == "string" ? /* @__PURE__ */ u(Ne, { children: v }) : v })
|
|
639
639
|
] }),
|
|
640
|
-
a && /* @__PURE__ */
|
|
641
|
-
|
|
642
|
-
n && m && /* @__PURE__ */
|
|
640
|
+
a && /* @__PURE__ */ u("div", { className: j, children: a }),
|
|
641
|
+
b && /* @__PURE__ */ u("div", { className: S, children: b }),
|
|
642
|
+
n && m && /* @__PURE__ */ u(
|
|
643
643
|
wt,
|
|
644
644
|
{
|
|
645
|
-
classNameRoot:
|
|
645
|
+
classNameRoot: A,
|
|
646
646
|
classNameIconContainerRoot: M,
|
|
647
647
|
onClick: m,
|
|
648
648
|
iconName: ue.Close,
|
|
@@ -661,36 +661,36 @@ const la = "_modalWrapper_awlzb_43", ca = "_modalWrapper__modal_awlzb_63", da =
|
|
|
661
661
|
cancelBtnDisabled: i,
|
|
662
662
|
cancelBtnIconName: r,
|
|
663
663
|
submitBtnContent: s,
|
|
664
|
-
submit:
|
|
664
|
+
submit: d,
|
|
665
665
|
disabled: p,
|
|
666
666
|
formId: m,
|
|
667
667
|
onClose: l,
|
|
668
668
|
mobile: v = "column",
|
|
669
|
-
align:
|
|
669
|
+
align: b = "right",
|
|
670
670
|
modalAlign: C = "top",
|
|
671
|
-
textAlign:
|
|
672
|
-
loading:
|
|
673
|
-
isVisibleCloseButton:
|
|
671
|
+
textAlign: y = "left",
|
|
672
|
+
loading: T,
|
|
673
|
+
isVisibleCloseButton: A,
|
|
674
674
|
isHiddenModal: M,
|
|
675
675
|
size: j
|
|
676
676
|
} = e;
|
|
677
|
-
return /* @__PURE__ */
|
|
678
|
-
|
|
677
|
+
return /* @__PURE__ */ u(
|
|
678
|
+
xa,
|
|
679
679
|
{
|
|
680
680
|
zIndex: t,
|
|
681
681
|
header: o,
|
|
682
682
|
onClose: l,
|
|
683
683
|
modalAlign: C,
|
|
684
|
-
textAlign:
|
|
684
|
+
textAlign: y,
|
|
685
685
|
subHeader: n,
|
|
686
|
-
isVisibleCloseButton:
|
|
686
|
+
isVisibleCloseButton: A,
|
|
687
687
|
isHiddenModal: M,
|
|
688
688
|
size: j,
|
|
689
|
-
footer: a || s ? /* @__PURE__ */
|
|
690
|
-
|
|
689
|
+
footer: a || s ? /* @__PURE__ */ u(
|
|
690
|
+
Wn,
|
|
691
691
|
{
|
|
692
692
|
mobile: v,
|
|
693
|
-
align:
|
|
693
|
+
align: b,
|
|
694
694
|
cancelBtnContent: a,
|
|
695
695
|
cancelBtnIconName: r,
|
|
696
696
|
cancelBtnDisabled: i,
|
|
@@ -698,22 +698,22 @@ const la = "_modalWrapper_awlzb_43", ca = "_modalWrapper__modal_awlzb_63", da =
|
|
|
698
698
|
formId: m,
|
|
699
699
|
disabled: p,
|
|
700
700
|
onClose: l,
|
|
701
|
-
submit:
|
|
702
|
-
loading:
|
|
701
|
+
submit: d,
|
|
702
|
+
loading: T
|
|
703
703
|
}
|
|
704
704
|
) : null
|
|
705
705
|
}
|
|
706
706
|
);
|
|
707
|
-
},
|
|
708
|
-
spContextMenu:
|
|
709
|
-
spContextMenu__item:
|
|
710
|
-
spContextMenu__item_deleteItem:
|
|
707
|
+
}, ga = "_spContextMenu_1cza9_43", ha = "_spContextMenu__item_1cza9_55", ba = "_spContextMenu__item_deleteItem_1cza9_74", dt = {
|
|
708
|
+
spContextMenu: ga,
|
|
709
|
+
spContextMenu__item: ha,
|
|
710
|
+
spContextMenu__item_deleteItem: ba
|
|
711
711
|
}, Ks = (e) => {
|
|
712
712
|
const { onClickItem: t, options: o, classNameRoot: n } = e, a = f({
|
|
713
713
|
[dt.spContextMenu]: !0,
|
|
714
714
|
...n && { [n]: !0 }
|
|
715
715
|
});
|
|
716
|
-
return /* @__PURE__ */
|
|
716
|
+
return /* @__PURE__ */ u("ul", { className: a, children: o == null ? void 0 : o.map((i) => {
|
|
717
717
|
const r = i.key === "delete";
|
|
718
718
|
return /* @__PURE__ */ H(
|
|
719
719
|
"li",
|
|
@@ -726,7 +726,7 @@ const la = "_modalWrapper_awlzb_43", ca = "_modalWrapper__modal_awlzb_63", da =
|
|
|
726
726
|
t && t(i);
|
|
727
727
|
},
|
|
728
728
|
children: [
|
|
729
|
-
(i == null ? void 0 : i.iconName) && /* @__PURE__ */
|
|
729
|
+
(i == null ? void 0 : i.iconName) && /* @__PURE__ */ u(he, { name: i.iconName }),
|
|
730
730
|
i.label
|
|
731
731
|
]
|
|
732
732
|
},
|
|
@@ -734,7 +734,7 @@ const la = "_modalWrapper_awlzb_43", ca = "_modalWrapper__modal_awlzb_63", da =
|
|
|
734
734
|
);
|
|
735
735
|
}) });
|
|
736
736
|
};
|
|
737
|
-
function
|
|
737
|
+
function xo(e) {
|
|
738
738
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
739
739
|
}
|
|
740
740
|
var kt = { exports: {} }, Ye = { exports: {} }, Y = {};
|
|
@@ -747,17 +747,17 @@ var kt = { exports: {} }, Ye = { exports: {} }, Y = {};
|
|
|
747
747
|
* LICENSE file in the root directory of this source tree.
|
|
748
748
|
*/
|
|
749
749
|
var Ot;
|
|
750
|
-
function
|
|
750
|
+
function ya() {
|
|
751
751
|
if (Ot) return Y;
|
|
752
752
|
Ot = 1;
|
|
753
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110,
|
|
753
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, l = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, C = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, T = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118, M = e ? Symbol.for("react.scope") : 60119;
|
|
754
754
|
function j(c) {
|
|
755
755
|
if (typeof c == "object" && c !== null) {
|
|
756
|
-
var
|
|
757
|
-
switch (
|
|
756
|
+
var S = c.$$typeof;
|
|
757
|
+
switch (S) {
|
|
758
758
|
case t:
|
|
759
759
|
switch (c = c.type, c) {
|
|
760
|
-
case
|
|
760
|
+
case d:
|
|
761
761
|
case p:
|
|
762
762
|
case n:
|
|
763
763
|
case i:
|
|
@@ -769,24 +769,24 @@ function wa() {
|
|
|
769
769
|
case s:
|
|
770
770
|
case m:
|
|
771
771
|
case C:
|
|
772
|
-
case
|
|
772
|
+
case b:
|
|
773
773
|
case r:
|
|
774
774
|
return c;
|
|
775
775
|
default:
|
|
776
|
-
return
|
|
776
|
+
return S;
|
|
777
777
|
}
|
|
778
778
|
}
|
|
779
779
|
case o:
|
|
780
|
-
return
|
|
780
|
+
return S;
|
|
781
781
|
}
|
|
782
782
|
}
|
|
783
783
|
}
|
|
784
|
-
function
|
|
784
|
+
function w(c) {
|
|
785
785
|
return j(c) === p;
|
|
786
786
|
}
|
|
787
|
-
return Y.AsyncMode =
|
|
788
|
-
return
|
|
789
|
-
}, Y.isConcurrentMode =
|
|
787
|
+
return Y.AsyncMode = d, Y.ConcurrentMode = p, Y.ContextConsumer = s, Y.ContextProvider = r, Y.Element = t, Y.ForwardRef = m, Y.Fragment = n, Y.Lazy = C, Y.Memo = b, Y.Portal = o, Y.Profiler = i, Y.StrictMode = a, Y.Suspense = l, Y.isAsyncMode = function(c) {
|
|
788
|
+
return w(c) || j(c) === d;
|
|
789
|
+
}, Y.isConcurrentMode = w, Y.isContextConsumer = function(c) {
|
|
790
790
|
return j(c) === s;
|
|
791
791
|
}, Y.isContextProvider = function(c) {
|
|
792
792
|
return j(c) === r;
|
|
@@ -799,7 +799,7 @@ function wa() {
|
|
|
799
799
|
}, Y.isLazy = function(c) {
|
|
800
800
|
return j(c) === C;
|
|
801
801
|
}, Y.isMemo = function(c) {
|
|
802
|
-
return j(c) ===
|
|
802
|
+
return j(c) === b;
|
|
803
803
|
}, Y.isPortal = function(c) {
|
|
804
804
|
return j(c) === o;
|
|
805
805
|
}, Y.isProfiler = function(c) {
|
|
@@ -809,7 +809,7 @@ function wa() {
|
|
|
809
809
|
}, Y.isSuspense = function(c) {
|
|
810
810
|
return j(c) === l;
|
|
811
811
|
}, Y.isValidElementType = function(c) {
|
|
812
|
-
return typeof c == "string" || typeof c == "function" || c === n || c === p || c === i || c === a || c === l || c === v || typeof c == "object" && c !== null && (c.$$typeof === C || c.$$typeof ===
|
|
812
|
+
return typeof c == "string" || typeof c == "function" || c === n || c === p || c === i || c === a || c === l || c === v || typeof c == "object" && c !== null && (c.$$typeof === C || c.$$typeof === b || c.$$typeof === r || c.$$typeof === s || c.$$typeof === m || c.$$typeof === T || c.$$typeof === A || c.$$typeof === M || c.$$typeof === y);
|
|
813
813
|
}, Y.typeOf = j, Y;
|
|
814
814
|
}
|
|
815
815
|
var G = {};
|
|
@@ -822,21 +822,21 @@ var G = {};
|
|
|
822
822
|
* LICENSE file in the root directory of this source tree.
|
|
823
823
|
*/
|
|
824
824
|
var zt;
|
|
825
|
-
function
|
|
825
|
+
function wa() {
|
|
826
826
|
return zt || (zt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
827
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110,
|
|
827
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, l = e ? Symbol.for("react.suspense") : 60113, v = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, C = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, T = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118, M = e ? Symbol.for("react.scope") : 60119;
|
|
828
828
|
function j(x) {
|
|
829
829
|
return typeof x == "string" || typeof x == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
830
|
-
x === n || x === p || x === i || x === a || x === l || x === v || typeof x == "object" && x !== null && (x.$$typeof === C || x.$$typeof ===
|
|
830
|
+
x === n || x === p || x === i || x === a || x === l || x === v || typeof x == "object" && x !== null && (x.$$typeof === C || x.$$typeof === b || x.$$typeof === r || x.$$typeof === s || x.$$typeof === m || x.$$typeof === T || x.$$typeof === A || x.$$typeof === M || x.$$typeof === y);
|
|
831
831
|
}
|
|
832
|
-
function
|
|
832
|
+
function w(x) {
|
|
833
833
|
if (typeof x == "object" && x !== null) {
|
|
834
834
|
var ve = x.$$typeof;
|
|
835
835
|
switch (ve) {
|
|
836
836
|
case t:
|
|
837
837
|
var Se = x.type;
|
|
838
838
|
switch (Se) {
|
|
839
|
-
case
|
|
839
|
+
case d:
|
|
840
840
|
case p:
|
|
841
841
|
case n:
|
|
842
842
|
case i:
|
|
@@ -849,7 +849,7 @@ function ka() {
|
|
|
849
849
|
case s:
|
|
850
850
|
case m:
|
|
851
851
|
case C:
|
|
852
|
-
case
|
|
852
|
+
case b:
|
|
853
853
|
case r:
|
|
854
854
|
return ze;
|
|
855
855
|
default:
|
|
@@ -861,52 +861,52 @@ function ka() {
|
|
|
861
861
|
}
|
|
862
862
|
}
|
|
863
863
|
}
|
|
864
|
-
var c =
|
|
864
|
+
var c = d, S = p, P = s, L = r, Q = t, te = m, ee = n, ae = C, se = b, K = o, Z = i, k = a, $ = l, X = !1;
|
|
865
865
|
function B(x) {
|
|
866
|
-
return X || (X = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), _(x) ||
|
|
866
|
+
return X || (X = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), _(x) || w(x) === d;
|
|
867
867
|
}
|
|
868
868
|
function _(x) {
|
|
869
|
-
return
|
|
869
|
+
return w(x) === p;
|
|
870
870
|
}
|
|
871
871
|
function h(x) {
|
|
872
|
-
return
|
|
872
|
+
return w(x) === s;
|
|
873
873
|
}
|
|
874
874
|
function F(x) {
|
|
875
|
-
return
|
|
875
|
+
return w(x) === r;
|
|
876
876
|
}
|
|
877
877
|
function O(x) {
|
|
878
878
|
return typeof x == "object" && x !== null && x.$$typeof === t;
|
|
879
879
|
}
|
|
880
880
|
function D(x) {
|
|
881
|
-
return
|
|
881
|
+
return w(x) === m;
|
|
882
882
|
}
|
|
883
883
|
function q(x) {
|
|
884
|
-
return
|
|
884
|
+
return w(x) === n;
|
|
885
885
|
}
|
|
886
886
|
function I(x) {
|
|
887
|
-
return
|
|
887
|
+
return w(x) === C;
|
|
888
888
|
}
|
|
889
889
|
function z(x) {
|
|
890
|
-
return
|
|
890
|
+
return w(x) === b;
|
|
891
891
|
}
|
|
892
892
|
function U(x) {
|
|
893
|
-
return
|
|
893
|
+
return w(x) === o;
|
|
894
894
|
}
|
|
895
895
|
function V(x) {
|
|
896
|
-
return
|
|
896
|
+
return w(x) === i;
|
|
897
897
|
}
|
|
898
898
|
function W(x) {
|
|
899
|
-
return
|
|
899
|
+
return w(x) === a;
|
|
900
900
|
}
|
|
901
901
|
function ie(x) {
|
|
902
|
-
return
|
|
902
|
+
return w(x) === l;
|
|
903
903
|
}
|
|
904
|
-
G.AsyncMode = c, G.ConcurrentMode =
|
|
904
|
+
G.AsyncMode = c, G.ConcurrentMode = S, G.ContextConsumer = P, G.ContextProvider = L, G.Element = Q, G.ForwardRef = te, G.Fragment = ee, G.Lazy = ae, G.Memo = se, G.Portal = K, G.Profiler = Z, G.StrictMode = k, G.Suspense = $, G.isAsyncMode = B, G.isConcurrentMode = _, G.isContextConsumer = h, G.isContextProvider = F, G.isElement = O, G.isForwardRef = D, G.isFragment = q, G.isLazy = I, G.isMemo = z, G.isPortal = U, G.isProfiler = V, G.isStrictMode = W, G.isSuspense = ie, G.isValidElementType = j, G.typeOf = w;
|
|
905
905
|
}()), G;
|
|
906
906
|
}
|
|
907
907
|
var Pt;
|
|
908
|
-
function
|
|
909
|
-
return Pt || (Pt = 1, process.env.NODE_ENV === "production" ? Ye.exports =
|
|
908
|
+
function go() {
|
|
909
|
+
return Pt || (Pt = 1, process.env.NODE_ENV === "production" ? Ye.exports = ya() : Ye.exports = wa()), Ye.exports;
|
|
910
910
|
}
|
|
911
911
|
/*
|
|
912
912
|
object-assign
|
|
@@ -914,7 +914,7 @@ object-assign
|
|
|
914
914
|
@license MIT
|
|
915
915
|
*/
|
|
916
916
|
var ut, Bt;
|
|
917
|
-
function
|
|
917
|
+
function ka() {
|
|
918
918
|
if (Bt) return ut;
|
|
919
919
|
Bt = 1;
|
|
920
920
|
var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, o = Object.prototype.propertyIsEnumerable;
|
|
@@ -932,10 +932,10 @@ function Ca() {
|
|
|
932
932
|
return !1;
|
|
933
933
|
for (var r = {}, s = 0; s < 10; s++)
|
|
934
934
|
r["_" + String.fromCharCode(s)] = s;
|
|
935
|
-
var
|
|
935
|
+
var d = Object.getOwnPropertyNames(r).map(function(m) {
|
|
936
936
|
return r[m];
|
|
937
937
|
});
|
|
938
|
-
if (
|
|
938
|
+
if (d.join("") !== "0123456789")
|
|
939
939
|
return !1;
|
|
940
940
|
var p = {};
|
|
941
941
|
return "abcdefghijklmnopqrst".split("").forEach(function(m) {
|
|
@@ -946,17 +946,17 @@ function Ca() {
|
|
|
946
946
|
}
|
|
947
947
|
}
|
|
948
948
|
return ut = a() ? Object.assign : function(i, r) {
|
|
949
|
-
for (var s,
|
|
949
|
+
for (var s, d = n(i), p, m = 1; m < arguments.length; m++) {
|
|
950
950
|
s = Object(arguments[m]);
|
|
951
951
|
for (var l in s)
|
|
952
|
-
t.call(s, l) && (
|
|
952
|
+
t.call(s, l) && (d[l] = s[l]);
|
|
953
953
|
if (e) {
|
|
954
954
|
p = e(s);
|
|
955
955
|
for (var v = 0; v < p.length; v++)
|
|
956
|
-
o.call(s, p[v]) && (
|
|
956
|
+
o.call(s, p[v]) && (d[p[v]] = s[p[v]]);
|
|
957
957
|
}
|
|
958
958
|
}
|
|
959
|
-
return
|
|
959
|
+
return d;
|
|
960
960
|
}, ut;
|
|
961
961
|
}
|
|
962
962
|
var mt, Wt;
|
|
@@ -967,17 +967,17 @@ function At() {
|
|
|
967
967
|
return mt = e, mt;
|
|
968
968
|
}
|
|
969
969
|
var _t, Mt;
|
|
970
|
-
function
|
|
970
|
+
function ho() {
|
|
971
971
|
return Mt || (Mt = 1, _t = Function.call.bind(Object.prototype.hasOwnProperty)), _t;
|
|
972
972
|
}
|
|
973
973
|
var ft, $t;
|
|
974
|
-
function
|
|
974
|
+
function Ca() {
|
|
975
975
|
if ($t) return ft;
|
|
976
976
|
$t = 1;
|
|
977
977
|
var e = function() {
|
|
978
978
|
};
|
|
979
979
|
if (process.env.NODE_ENV !== "production") {
|
|
980
|
-
var t = At(), o = {}, n =
|
|
980
|
+
var t = At(), o = {}, n = ho();
|
|
981
981
|
e = function(i) {
|
|
982
982
|
var r = "Warning: " + i;
|
|
983
983
|
typeof console < "u" && console.error(r);
|
|
@@ -987,7 +987,7 @@ function Ta() {
|
|
|
987
987
|
}
|
|
988
988
|
};
|
|
989
989
|
}
|
|
990
|
-
function a(i, r, s,
|
|
990
|
+
function a(i, r, s, d, p) {
|
|
991
991
|
if (process.env.NODE_ENV !== "production") {
|
|
992
992
|
for (var m in i)
|
|
993
993
|
if (n(i, m)) {
|
|
@@ -995,21 +995,21 @@ function Ta() {
|
|
|
995
995
|
try {
|
|
996
996
|
if (typeof i[m] != "function") {
|
|
997
997
|
var v = Error(
|
|
998
|
-
(
|
|
998
|
+
(d || "React class") + ": " + s + " type `" + m + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[m] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
999
999
|
);
|
|
1000
1000
|
throw v.name = "Invariant Violation", v;
|
|
1001
1001
|
}
|
|
1002
|
-
l = i[m](r, m,
|
|
1002
|
+
l = i[m](r, m, d, s, null, t);
|
|
1003
1003
|
} catch (C) {
|
|
1004
1004
|
l = C;
|
|
1005
1005
|
}
|
|
1006
1006
|
if (l && !(l instanceof Error) && e(
|
|
1007
|
-
(
|
|
1007
|
+
(d || "React class") + ": type specification of " + s + " `" + m + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof l + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
1008
1008
|
), l instanceof Error && !(l.message in o)) {
|
|
1009
1009
|
o[l.message] = !0;
|
|
1010
|
-
var
|
|
1010
|
+
var b = p ? p() : "";
|
|
1011
1011
|
e(
|
|
1012
|
-
"Failed " + s + " type: " + l.message + (
|
|
1012
|
+
"Failed " + s + " type: " + l.message + (b ?? "")
|
|
1013
1013
|
);
|
|
1014
1014
|
}
|
|
1015
1015
|
}
|
|
@@ -1020,43 +1020,43 @@ function Ta() {
|
|
|
1020
1020
|
}, ft = a, ft;
|
|
1021
1021
|
}
|
|
1022
1022
|
var vt, qt;
|
|
1023
|
-
function
|
|
1023
|
+
function Ta() {
|
|
1024
1024
|
if (qt) return vt;
|
|
1025
1025
|
qt = 1;
|
|
1026
|
-
var e =
|
|
1026
|
+
var e = go(), t = ka(), o = At(), n = ho(), a = Ca(), i = function() {
|
|
1027
1027
|
};
|
|
1028
1028
|
process.env.NODE_ENV !== "production" && (i = function(s) {
|
|
1029
|
-
var
|
|
1030
|
-
typeof console < "u" && console.error(
|
|
1029
|
+
var d = "Warning: " + s;
|
|
1030
|
+
typeof console < "u" && console.error(d);
|
|
1031
1031
|
try {
|
|
1032
|
-
throw new Error(
|
|
1032
|
+
throw new Error(d);
|
|
1033
1033
|
} catch {
|
|
1034
1034
|
}
|
|
1035
1035
|
});
|
|
1036
1036
|
function r() {
|
|
1037
1037
|
return null;
|
|
1038
1038
|
}
|
|
1039
|
-
return vt = function(s,
|
|
1039
|
+
return vt = function(s, d) {
|
|
1040
1040
|
var p = typeof Symbol == "function" && Symbol.iterator, m = "@@iterator";
|
|
1041
1041
|
function l(_) {
|
|
1042
1042
|
var h = _ && (p && _[p] || _[m]);
|
|
1043
1043
|
if (typeof h == "function")
|
|
1044
1044
|
return h;
|
|
1045
1045
|
}
|
|
1046
|
-
var v = "<<anonymous>>",
|
|
1047
|
-
array:
|
|
1048
|
-
bigint:
|
|
1049
|
-
bool:
|
|
1050
|
-
func:
|
|
1051
|
-
number:
|
|
1052
|
-
object:
|
|
1053
|
-
string:
|
|
1054
|
-
symbol:
|
|
1046
|
+
var v = "<<anonymous>>", b = {
|
|
1047
|
+
array: A("array"),
|
|
1048
|
+
bigint: A("bigint"),
|
|
1049
|
+
bool: A("boolean"),
|
|
1050
|
+
func: A("function"),
|
|
1051
|
+
number: A("number"),
|
|
1052
|
+
object: A("object"),
|
|
1053
|
+
string: A("string"),
|
|
1054
|
+
symbol: A("symbol"),
|
|
1055
1055
|
any: M(),
|
|
1056
1056
|
arrayOf: j,
|
|
1057
|
-
element:
|
|
1057
|
+
element: w(),
|
|
1058
1058
|
elementType: c(),
|
|
1059
|
-
instanceOf:
|
|
1059
|
+
instanceOf: S,
|
|
1060
1060
|
node: te(),
|
|
1061
1061
|
objectOf: L,
|
|
1062
1062
|
oneOf: P,
|
|
@@ -1067,16 +1067,16 @@ function Na() {
|
|
|
1067
1067
|
function C(_, h) {
|
|
1068
1068
|
return _ === h ? _ !== 0 || 1 / _ === 1 / h : _ !== _ && h !== h;
|
|
1069
1069
|
}
|
|
1070
|
-
function
|
|
1070
|
+
function y(_, h) {
|
|
1071
1071
|
this.message = _, this.data = h && typeof h == "object" ? h : {}, this.stack = "";
|
|
1072
1072
|
}
|
|
1073
|
-
|
|
1074
|
-
function
|
|
1073
|
+
y.prototype = Error.prototype;
|
|
1074
|
+
function T(_) {
|
|
1075
1075
|
if (process.env.NODE_ENV !== "production")
|
|
1076
1076
|
var h = {}, F = 0;
|
|
1077
1077
|
function O(q, I, z, U, V, W, ie) {
|
|
1078
1078
|
if (U = U || v, W = W || z, ie !== o) {
|
|
1079
|
-
if (
|
|
1079
|
+
if (d) {
|
|
1080
1080
|
var x = new Error(
|
|
1081
1081
|
"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"
|
|
1082
1082
|
);
|
|
@@ -1089,36 +1089,36 @@ function Na() {
|
|
|
1089
1089
|
), h[ve] = !0, F++);
|
|
1090
1090
|
}
|
|
1091
1091
|
}
|
|
1092
|
-
return I[z] == null ? q ? I[z] === null ? new
|
|
1092
|
+
return I[z] == null ? q ? I[z] === null ? new y("The " + V + " `" + W + "` is marked as required " + ("in `" + U + "`, but its value is `null`.")) : new y("The " + V + " `" + W + "` is marked as required in " + ("`" + U + "`, but its value is `undefined`.")) : null : _(I, z, U, V, W);
|
|
1093
1093
|
}
|
|
1094
1094
|
var D = O.bind(null, !1);
|
|
1095
1095
|
return D.isRequired = O.bind(null, !0), D;
|
|
1096
1096
|
}
|
|
1097
|
-
function
|
|
1097
|
+
function A(_) {
|
|
1098
1098
|
function h(F, O, D, q, I, z) {
|
|
1099
1099
|
var U = F[O], V = k(U);
|
|
1100
1100
|
if (V !== _) {
|
|
1101
1101
|
var W = $(U);
|
|
1102
|
-
return new
|
|
1102
|
+
return new y(
|
|
1103
1103
|
"Invalid " + q + " `" + I + "` of type " + ("`" + W + "` supplied to `" + D + "`, expected ") + ("`" + _ + "`."),
|
|
1104
1104
|
{ expectedType: _ }
|
|
1105
1105
|
);
|
|
1106
1106
|
}
|
|
1107
1107
|
return null;
|
|
1108
1108
|
}
|
|
1109
|
-
return
|
|
1109
|
+
return T(h);
|
|
1110
1110
|
}
|
|
1111
1111
|
function M() {
|
|
1112
|
-
return
|
|
1112
|
+
return T(r);
|
|
1113
1113
|
}
|
|
1114
1114
|
function j(_) {
|
|
1115
1115
|
function h(F, O, D, q, I) {
|
|
1116
1116
|
if (typeof _ != "function")
|
|
1117
|
-
return new
|
|
1117
|
+
return new y("Property `" + I + "` of component `" + D + "` has invalid PropType notation inside arrayOf.");
|
|
1118
1118
|
var z = F[O];
|
|
1119
1119
|
if (!Array.isArray(z)) {
|
|
1120
1120
|
var U = k(z);
|
|
1121
|
-
return new
|
|
1121
|
+
return new y("Invalid " + q + " `" + I + "` of type " + ("`" + U + "` supplied to `" + D + "`, expected an array."));
|
|
1122
1122
|
}
|
|
1123
1123
|
for (var V = 0; V < z.length; V++) {
|
|
1124
1124
|
var W = _(z, V, D, q, I + "[" + V + "]", o);
|
|
@@ -1127,39 +1127,39 @@ function Na() {
|
|
|
1127
1127
|
}
|
|
1128
1128
|
return null;
|
|
1129
1129
|
}
|
|
1130
|
-
return
|
|
1130
|
+
return T(h);
|
|
1131
1131
|
}
|
|
1132
|
-
function
|
|
1132
|
+
function w() {
|
|
1133
1133
|
function _(h, F, O, D, q) {
|
|
1134
1134
|
var I = h[F];
|
|
1135
1135
|
if (!s(I)) {
|
|
1136
1136
|
var z = k(I);
|
|
1137
|
-
return new
|
|
1137
|
+
return new y("Invalid " + D + " `" + q + "` of type " + ("`" + z + "` supplied to `" + O + "`, expected a single ReactElement."));
|
|
1138
1138
|
}
|
|
1139
1139
|
return null;
|
|
1140
1140
|
}
|
|
1141
|
-
return
|
|
1141
|
+
return T(_);
|
|
1142
1142
|
}
|
|
1143
1143
|
function c() {
|
|
1144
1144
|
function _(h, F, O, D, q) {
|
|
1145
1145
|
var I = h[F];
|
|
1146
1146
|
if (!e.isValidElementType(I)) {
|
|
1147
1147
|
var z = k(I);
|
|
1148
|
-
return new
|
|
1148
|
+
return new y("Invalid " + D + " `" + q + "` of type " + ("`" + z + "` supplied to `" + O + "`, expected a single ReactElement type."));
|
|
1149
1149
|
}
|
|
1150
1150
|
return null;
|
|
1151
1151
|
}
|
|
1152
|
-
return
|
|
1152
|
+
return T(_);
|
|
1153
1153
|
}
|
|
1154
|
-
function
|
|
1154
|
+
function S(_) {
|
|
1155
1155
|
function h(F, O, D, q, I) {
|
|
1156
1156
|
if (!(F[O] instanceof _)) {
|
|
1157
1157
|
var z = _.name || v, U = B(F[O]);
|
|
1158
|
-
return new
|
|
1158
|
+
return new y("Invalid " + q + " `" + I + "` of type " + ("`" + U + "` supplied to `" + D + "`, expected ") + ("instance of `" + z + "`."));
|
|
1159
1159
|
}
|
|
1160
1160
|
return null;
|
|
1161
1161
|
}
|
|
1162
|
-
return
|
|
1162
|
+
return T(h);
|
|
1163
1163
|
}
|
|
1164
1164
|
function P(_) {
|
|
1165
1165
|
if (!Array.isArray(_))
|
|
@@ -1174,17 +1174,17 @@ function Na() {
|
|
|
1174
1174
|
var ve = $(x);
|
|
1175
1175
|
return ve === "symbol" ? String(x) : x;
|
|
1176
1176
|
});
|
|
1177
|
-
return new
|
|
1177
|
+
return new y("Invalid " + q + " `" + I + "` of value `" + String(z) + "` " + ("supplied to `" + D + "`, expected one of " + V + "."));
|
|
1178
1178
|
}
|
|
1179
|
-
return
|
|
1179
|
+
return T(h);
|
|
1180
1180
|
}
|
|
1181
1181
|
function L(_) {
|
|
1182
1182
|
function h(F, O, D, q, I) {
|
|
1183
1183
|
if (typeof _ != "function")
|
|
1184
|
-
return new
|
|
1184
|
+
return new y("Property `" + I + "` of component `" + D + "` has invalid PropType notation inside objectOf.");
|
|
1185
1185
|
var z = F[O], U = k(z);
|
|
1186
1186
|
if (U !== "object")
|
|
1187
|
-
return new
|
|
1187
|
+
return new y("Invalid " + q + " `" + I + "` of type " + ("`" + U + "` supplied to `" + D + "`, expected an object."));
|
|
1188
1188
|
for (var V in z)
|
|
1189
1189
|
if (n(z, V)) {
|
|
1190
1190
|
var W = _(z, V, D, q, I + "." + V, o);
|
|
@@ -1193,7 +1193,7 @@ function Na() {
|
|
|
1193
1193
|
}
|
|
1194
1194
|
return null;
|
|
1195
1195
|
}
|
|
1196
|
-
return
|
|
1196
|
+
return T(h);
|
|
1197
1197
|
}
|
|
1198
1198
|
function Q(_) {
|
|
1199
1199
|
if (!Array.isArray(_))
|
|
@@ -1213,18 +1213,18 @@ function Na() {
|
|
|
1213
1213
|
x.data && n(x.data, "expectedType") && V.push(x.data.expectedType);
|
|
1214
1214
|
}
|
|
1215
1215
|
var ve = V.length > 0 ? ", expected one of type [" + V.join(", ") + "]" : "";
|
|
1216
|
-
return new
|
|
1216
|
+
return new y("Invalid " + z + " `" + U + "` supplied to " + ("`" + I + "`" + ve + "."));
|
|
1217
1217
|
}
|
|
1218
|
-
return
|
|
1218
|
+
return T(O);
|
|
1219
1219
|
}
|
|
1220
1220
|
function te() {
|
|
1221
1221
|
function _(h, F, O, D, q) {
|
|
1222
|
-
return K(h[F]) ? null : new
|
|
1222
|
+
return K(h[F]) ? null : new y("Invalid " + D + " `" + q + "` supplied to " + ("`" + O + "`, expected a ReactNode."));
|
|
1223
1223
|
}
|
|
1224
|
-
return
|
|
1224
|
+
return T(_);
|
|
1225
1225
|
}
|
|
1226
1226
|
function ee(_, h, F, O, D) {
|
|
1227
|
-
return new
|
|
1227
|
+
return new y(
|
|
1228
1228
|
(_ || "React class") + ": " + h + " type `" + F + "." + O + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + D + "`."
|
|
1229
1229
|
);
|
|
1230
1230
|
}
|
|
@@ -1232,7 +1232,7 @@ function Na() {
|
|
|
1232
1232
|
function h(F, O, D, q, I) {
|
|
1233
1233
|
var z = F[O], U = k(z);
|
|
1234
1234
|
if (U !== "object")
|
|
1235
|
-
return new
|
|
1235
|
+
return new y("Invalid " + q + " `" + I + "` of type `" + U + "` " + ("supplied to `" + D + "`, expected `object`."));
|
|
1236
1236
|
for (var V in _) {
|
|
1237
1237
|
var W = _[V];
|
|
1238
1238
|
if (typeof W != "function")
|
|
@@ -1243,20 +1243,20 @@ function Na() {
|
|
|
1243
1243
|
}
|
|
1244
1244
|
return null;
|
|
1245
1245
|
}
|
|
1246
|
-
return
|
|
1246
|
+
return T(h);
|
|
1247
1247
|
}
|
|
1248
1248
|
function se(_) {
|
|
1249
1249
|
function h(F, O, D, q, I) {
|
|
1250
1250
|
var z = F[O], U = k(z);
|
|
1251
1251
|
if (U !== "object")
|
|
1252
|
-
return new
|
|
1252
|
+
return new y("Invalid " + q + " `" + I + "` of type `" + U + "` " + ("supplied to `" + D + "`, expected `object`."));
|
|
1253
1253
|
var V = t({}, F[O], _);
|
|
1254
1254
|
for (var W in V) {
|
|
1255
1255
|
var ie = _[W];
|
|
1256
1256
|
if (n(_, W) && typeof ie != "function")
|
|
1257
1257
|
return ee(D, q, I, W, $(ie));
|
|
1258
1258
|
if (!ie)
|
|
1259
|
-
return new
|
|
1259
|
+
return new y(
|
|
1260
1260
|
"Invalid " + q + " `" + I + "` key `" + W + "` supplied to `" + D + "`.\nBad object: " + JSON.stringify(F[O], null, " ") + `
|
|
1261
1261
|
Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
|
|
1262
1262
|
);
|
|
@@ -1266,7 +1266,7 @@ Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
|
|
|
1266
1266
|
}
|
|
1267
1267
|
return null;
|
|
1268
1268
|
}
|
|
1269
|
-
return
|
|
1269
|
+
return T(h);
|
|
1270
1270
|
}
|
|
1271
1271
|
function K(_) {
|
|
1272
1272
|
switch (typeof _) {
|
|
@@ -1337,11 +1337,11 @@ Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
|
|
|
1337
1337
|
function B(_) {
|
|
1338
1338
|
return !_.constructor || !_.constructor.name ? v : _.constructor.name;
|
|
1339
1339
|
}
|
|
1340
|
-
return
|
|
1340
|
+
return b.checkPropTypes = a, b.resetWarningCache = a.resetWarningCache, b.PropTypes = b, b;
|
|
1341
1341
|
}, vt;
|
|
1342
1342
|
}
|
|
1343
1343
|
var xt, Ut;
|
|
1344
|
-
function
|
|
1344
|
+
function Na() {
|
|
1345
1345
|
if (Ut) return xt;
|
|
1346
1346
|
Ut = 1;
|
|
1347
1347
|
var e = At();
|
|
@@ -1350,7 +1350,7 @@ function Ea() {
|
|
|
1350
1350
|
function o() {
|
|
1351
1351
|
}
|
|
1352
1352
|
return o.resetWarningCache = t, xt = function() {
|
|
1353
|
-
function n(r, s,
|
|
1353
|
+
function n(r, s, d, p, m, l) {
|
|
1354
1354
|
if (l !== e) {
|
|
1355
1355
|
var v = new Error(
|
|
1356
1356
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
@@ -1389,12 +1389,12 @@ function Ea() {
|
|
|
1389
1389
|
}, xt;
|
|
1390
1390
|
}
|
|
1391
1391
|
if (process.env.NODE_ENV !== "production") {
|
|
1392
|
-
var
|
|
1393
|
-
kt.exports =
|
|
1392
|
+
var Ea = go(), Sa = !0;
|
|
1393
|
+
kt.exports = Ta()(Ea.isElement, Sa);
|
|
1394
1394
|
} else
|
|
1395
|
-
kt.exports =
|
|
1396
|
-
var
|
|
1397
|
-
const
|
|
1395
|
+
kt.exports = Na()();
|
|
1396
|
+
var Ra = kt.exports;
|
|
1397
|
+
const N = /* @__PURE__ */ xo(Ra);
|
|
1398
1398
|
function De(e, t, o, n) {
|
|
1399
1399
|
function a(i) {
|
|
1400
1400
|
return i instanceof o ? i : new o(function(r) {
|
|
@@ -1409,7 +1409,7 @@ function De(e, t, o, n) {
|
|
|
1409
1409
|
r(l);
|
|
1410
1410
|
}
|
|
1411
1411
|
}
|
|
1412
|
-
function
|
|
1412
|
+
function d(m) {
|
|
1413
1413
|
try {
|
|
1414
1414
|
p(n.throw(m));
|
|
1415
1415
|
} catch (l) {
|
|
@@ -1417,12 +1417,12 @@ function De(e, t, o, n) {
|
|
|
1417
1417
|
}
|
|
1418
1418
|
}
|
|
1419
1419
|
function p(m) {
|
|
1420
|
-
m.done ? i(m.value) : a(m.value).then(s,
|
|
1420
|
+
m.done ? i(m.value) : a(m.value).then(s, d);
|
|
1421
1421
|
}
|
|
1422
1422
|
p((n = n.apply(e, t || [])).next());
|
|
1423
1423
|
});
|
|
1424
1424
|
}
|
|
1425
|
-
const
|
|
1425
|
+
const Aa = /* @__PURE__ */ new Map([
|
|
1426
1426
|
// https://github.com/guzzle/psr7/blob/2d9260799e713f1c475d3c5fdc3d6561ff7441b2/src/MimeType.php
|
|
1427
1427
|
["1km", "application/vnd.1000minds.decision-model+xml"],
|
|
1428
1428
|
["3dml", "text/vnd.in3d.3dml"],
|
|
@@ -2626,13 +2626,13 @@ const ja = /* @__PURE__ */ new Map([
|
|
|
2626
2626
|
["zsh", "text/x-scriptzsh"]
|
|
2627
2627
|
]);
|
|
2628
2628
|
function Oe(e, t, o) {
|
|
2629
|
-
const n =
|
|
2629
|
+
const n = ja(e), { webkitRelativePath: a } = e, i = typeof t == "string" ? t : typeof a == "string" && a.length > 0 ? a : `./${e.name}`;
|
|
2630
2630
|
return typeof n.path != "string" && Ht(n, "path", i), Ht(n, "relativePath", i), n;
|
|
2631
2631
|
}
|
|
2632
|
-
function
|
|
2632
|
+
function ja(e) {
|
|
2633
2633
|
const { name: t } = e;
|
|
2634
2634
|
if (t && t.lastIndexOf(".") !== -1 && !e.type) {
|
|
2635
|
-
const n = t.split(".").pop().toLowerCase(), a =
|
|
2635
|
+
const n = t.split(".").pop().toLowerCase(), a = Aa.get(n);
|
|
2636
2636
|
a && Object.defineProperty(e, "type", {
|
|
2637
2637
|
value: a,
|
|
2638
2638
|
writable: !1,
|
|
@@ -2650,49 +2650,49 @@ function Ht(e, t, o) {
|
|
|
2650
2650
|
enumerable: !0
|
|
2651
2651
|
});
|
|
2652
2652
|
}
|
|
2653
|
-
const
|
|
2653
|
+
const Da = [
|
|
2654
2654
|
// Thumbnail cache files for macOS and Windows
|
|
2655
2655
|
".DS_Store",
|
|
2656
2656
|
// macOs
|
|
2657
2657
|
"Thumbs.db"
|
|
2658
2658
|
// Windows
|
|
2659
2659
|
];
|
|
2660
|
-
function
|
|
2660
|
+
function Ia(e) {
|
|
2661
2661
|
return De(this, void 0, void 0, function* () {
|
|
2662
|
-
return Xe(e) &&
|
|
2662
|
+
return Xe(e) && La(e.dataTransfer) ? Pa(e.dataTransfer, e.type) : Fa(e) ? Oa(e) : Array.isArray(e) && e.every((t) => "getFile" in t && typeof t.getFile == "function") ? za(e) : [];
|
|
2663
2663
|
});
|
|
2664
2664
|
}
|
|
2665
|
-
function
|
|
2665
|
+
function La(e) {
|
|
2666
2666
|
return Xe(e);
|
|
2667
2667
|
}
|
|
2668
|
-
function
|
|
2668
|
+
function Fa(e) {
|
|
2669
2669
|
return Xe(e) && Xe(e.target);
|
|
2670
2670
|
}
|
|
2671
2671
|
function Xe(e) {
|
|
2672
2672
|
return typeof e == "object" && e !== null;
|
|
2673
2673
|
}
|
|
2674
|
-
function
|
|
2674
|
+
function Oa(e) {
|
|
2675
2675
|
return Ct(e.target.files).map((t) => Oe(t));
|
|
2676
2676
|
}
|
|
2677
|
-
function
|
|
2677
|
+
function za(e) {
|
|
2678
2678
|
return De(this, void 0, void 0, function* () {
|
|
2679
2679
|
return (yield Promise.all(e.map((o) => o.getFile()))).map((o) => Oe(o));
|
|
2680
2680
|
});
|
|
2681
2681
|
}
|
|
2682
|
-
function
|
|
2682
|
+
function Pa(e, t) {
|
|
2683
2683
|
return De(this, void 0, void 0, function* () {
|
|
2684
2684
|
if (e.items) {
|
|
2685
2685
|
const o = Ct(e.items).filter((a) => a.kind === "file");
|
|
2686
2686
|
if (t !== "drop")
|
|
2687
2687
|
return o;
|
|
2688
|
-
const n = yield Promise.all(o.map(
|
|
2689
|
-
return Vt(
|
|
2688
|
+
const n = yield Promise.all(o.map(Ba));
|
|
2689
|
+
return Vt(bo(n));
|
|
2690
2690
|
}
|
|
2691
2691
|
return Vt(Ct(e.files).map((o) => Oe(o)));
|
|
2692
2692
|
});
|
|
2693
2693
|
}
|
|
2694
2694
|
function Vt(e) {
|
|
2695
|
-
return e.filter((t) =>
|
|
2695
|
+
return e.filter((t) => Da.indexOf(t.name) === -1);
|
|
2696
2696
|
}
|
|
2697
2697
|
function Ct(e) {
|
|
2698
2698
|
if (e === null)
|
|
@@ -2704,16 +2704,16 @@ function Ct(e) {
|
|
|
2704
2704
|
}
|
|
2705
2705
|
return t;
|
|
2706
2706
|
}
|
|
2707
|
-
function
|
|
2707
|
+
function Ba(e) {
|
|
2708
2708
|
if (typeof e.webkitGetAsEntry != "function")
|
|
2709
2709
|
return Yt(e);
|
|
2710
2710
|
const t = e.webkitGetAsEntry();
|
|
2711
|
-
return t && t.isDirectory ?
|
|
2711
|
+
return t && t.isDirectory ? yo(t) : Yt(e, t);
|
|
2712
2712
|
}
|
|
2713
|
-
function
|
|
2713
|
+
function bo(e) {
|
|
2714
2714
|
return e.reduce((t, o) => [
|
|
2715
2715
|
...t,
|
|
2716
|
-
...Array.isArray(o) ?
|
|
2716
|
+
...Array.isArray(o) ? bo(o) : [o]
|
|
2717
2717
|
], []);
|
|
2718
2718
|
}
|
|
2719
2719
|
function Yt(e, t) {
|
|
@@ -2734,19 +2734,19 @@ function Yt(e, t) {
|
|
|
2734
2734
|
return Oe(n, (o = t == null ? void 0 : t.fullPath) !== null && o !== void 0 ? o : void 0);
|
|
2735
2735
|
});
|
|
2736
2736
|
}
|
|
2737
|
-
function
|
|
2737
|
+
function Wa(e) {
|
|
2738
2738
|
return De(this, void 0, void 0, function* () {
|
|
2739
|
-
return e.isDirectory ?
|
|
2739
|
+
return e.isDirectory ? yo(e) : Ma(e);
|
|
2740
2740
|
});
|
|
2741
2741
|
}
|
|
2742
|
-
function
|
|
2742
|
+
function yo(e) {
|
|
2743
2743
|
const t = e.createReader();
|
|
2744
2744
|
return new Promise((o, n) => {
|
|
2745
2745
|
const a = [];
|
|
2746
2746
|
function i() {
|
|
2747
2747
|
t.readEntries((r) => De(this, void 0, void 0, function* () {
|
|
2748
2748
|
if (r.length) {
|
|
2749
|
-
const s = Promise.all(r.map(
|
|
2749
|
+
const s = Promise.all(r.map(Wa));
|
|
2750
2750
|
a.push(s), i();
|
|
2751
2751
|
} else
|
|
2752
2752
|
try {
|
|
@@ -2762,7 +2762,7 @@ function wo(e) {
|
|
|
2762
2762
|
i();
|
|
2763
2763
|
});
|
|
2764
2764
|
}
|
|
2765
|
-
function
|
|
2765
|
+
function Ma(e) {
|
|
2766
2766
|
return De(this, void 0, void 0, function* () {
|
|
2767
2767
|
return new Promise((t, o) => {
|
|
2768
2768
|
e.file((n) => {
|
|
@@ -2788,16 +2788,16 @@ var gt = function(e, t) {
|
|
|
2788
2788
|
return !0;
|
|
2789
2789
|
};
|
|
2790
2790
|
function Gt(e) {
|
|
2791
|
-
return
|
|
2791
|
+
return Ua(e) || qa(e) || ko(e) || $a();
|
|
2792
2792
|
}
|
|
2793
|
-
function
|
|
2793
|
+
function $a() {
|
|
2794
2794
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2795
2795
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2796
2796
|
}
|
|
2797
|
-
function
|
|
2797
|
+
function qa(e) {
|
|
2798
2798
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
2799
2799
|
}
|
|
2800
|
-
function
|
|
2800
|
+
function Ua(e) {
|
|
2801
2801
|
if (Array.isArray(e)) return Tt(e);
|
|
2802
2802
|
}
|
|
2803
2803
|
function Kt(e, t) {
|
|
@@ -2814,24 +2814,24 @@ function Xt(e) {
|
|
|
2814
2814
|
for (var t = 1; t < arguments.length; t++) {
|
|
2815
2815
|
var o = arguments[t] != null ? arguments[t] : {};
|
|
2816
2816
|
t % 2 ? Kt(Object(o), !0).forEach(function(n) {
|
|
2817
|
-
|
|
2817
|
+
wo(e, n, o[n]);
|
|
2818
2818
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : Kt(Object(o)).forEach(function(n) {
|
|
2819
2819
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(o, n));
|
|
2820
2820
|
});
|
|
2821
2821
|
}
|
|
2822
2822
|
return e;
|
|
2823
2823
|
}
|
|
2824
|
-
function
|
|
2824
|
+
function wo(e, t, o) {
|
|
2825
2825
|
return t in e ? Object.defineProperty(e, t, { value: o, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = o, e;
|
|
2826
2826
|
}
|
|
2827
2827
|
function Me(e, t) {
|
|
2828
|
-
return
|
|
2828
|
+
return Ya(e) || Va(e, t) || ko(e, t) || Ha();
|
|
2829
2829
|
}
|
|
2830
|
-
function
|
|
2830
|
+
function Ha() {
|
|
2831
2831
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2832
2832
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2833
2833
|
}
|
|
2834
|
-
function
|
|
2834
|
+
function ko(e, t) {
|
|
2835
2835
|
if (e) {
|
|
2836
2836
|
if (typeof e == "string") return Tt(e, t);
|
|
2837
2837
|
var o = Object.prototype.toString.call(e).slice(8, -1);
|
|
@@ -2845,15 +2845,15 @@ function Tt(e, t) {
|
|
|
2845
2845
|
n[o] = e[o];
|
|
2846
2846
|
return n;
|
|
2847
2847
|
}
|
|
2848
|
-
function
|
|
2848
|
+
function Va(e, t) {
|
|
2849
2849
|
var o = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
2850
2850
|
if (o != null) {
|
|
2851
2851
|
var n = [], a = !0, i = !1, r, s;
|
|
2852
2852
|
try {
|
|
2853
2853
|
for (o = o.call(e); !(a = (r = o.next()).done) && (n.push(r.value), !(t && n.length === t)); a = !0)
|
|
2854
2854
|
;
|
|
2855
|
-
} catch (
|
|
2856
|
-
i = !0, s =
|
|
2855
|
+
} catch (d) {
|
|
2856
|
+
i = !0, s = d;
|
|
2857
2857
|
} finally {
|
|
2858
2858
|
try {
|
|
2859
2859
|
!a && o.return != null && o.return();
|
|
@@ -2864,34 +2864,34 @@ function Ya(e, t) {
|
|
|
2864
2864
|
return n;
|
|
2865
2865
|
}
|
|
2866
2866
|
}
|
|
2867
|
-
function
|
|
2867
|
+
function Ya(e) {
|
|
2868
2868
|
if (Array.isArray(e)) return e;
|
|
2869
2869
|
}
|
|
2870
|
-
var
|
|
2870
|
+
var Ga = typeof gt == "function" ? gt : gt.default, Ka = "file-invalid-type", Xa = "file-too-large", Za = "file-too-small", Qa = "too-many-files", Ja = function() {
|
|
2871
2871
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", o = t.split(","), n = o.length > 1 ? "one of ".concat(o.join(", ")) : o[0];
|
|
2872
2872
|
return {
|
|
2873
|
-
code:
|
|
2873
|
+
code: Ka,
|
|
2874
2874
|
message: "File type must be ".concat(n)
|
|
2875
2875
|
};
|
|
2876
2876
|
}, Zt = function(t) {
|
|
2877
2877
|
return {
|
|
2878
|
-
code:
|
|
2878
|
+
code: Xa,
|
|
2879
2879
|
message: "File is larger than ".concat(t, " ").concat(t === 1 ? "byte" : "bytes")
|
|
2880
2880
|
};
|
|
2881
2881
|
}, Qt = function(t) {
|
|
2882
2882
|
return {
|
|
2883
|
-
code:
|
|
2883
|
+
code: Za,
|
|
2884
2884
|
message: "File is smaller than ".concat(t, " ").concat(t === 1 ? "byte" : "bytes")
|
|
2885
2885
|
};
|
|
2886
|
-
},
|
|
2887
|
-
code:
|
|
2886
|
+
}, ei = {
|
|
2887
|
+
code: Qa,
|
|
2888
2888
|
message: "Too many files"
|
|
2889
2889
|
};
|
|
2890
|
-
function
|
|
2891
|
-
var o = e.type === "application/x-moz-file" ||
|
|
2892
|
-
return [o, o ? null :
|
|
2890
|
+
function Co(e, t) {
|
|
2891
|
+
var o = e.type === "application/x-moz-file" || Ga(e, t);
|
|
2892
|
+
return [o, o ? null : Ja(t)];
|
|
2893
2893
|
}
|
|
2894
|
-
function
|
|
2894
|
+
function To(e, t, o) {
|
|
2895
2895
|
if (je(e.size))
|
|
2896
2896
|
if (je(t) && je(o)) {
|
|
2897
2897
|
if (e.size > o) return [!1, Zt(o)];
|
|
@@ -2905,11 +2905,11 @@ function No(e, t, o) {
|
|
|
2905
2905
|
function je(e) {
|
|
2906
2906
|
return e != null;
|
|
2907
2907
|
}
|
|
2908
|
-
function
|
|
2908
|
+
function ti(e) {
|
|
2909
2909
|
var t = e.files, o = e.accept, n = e.minSize, a = e.maxSize, i = e.multiple, r = e.maxFiles, s = e.validator;
|
|
2910
|
-
return !i && t.length > 1 || i && r >= 1 && t.length > r ? !1 : t.every(function(
|
|
2911
|
-
var p =
|
|
2912
|
-
return l && C && !
|
|
2910
|
+
return !i && t.length > 1 || i && r >= 1 && t.length > r ? !1 : t.every(function(d) {
|
|
2911
|
+
var p = Co(d, o), m = Me(p, 1), l = m[0], v = To(d, n, a), b = Me(v, 1), C = b[0], y = s ? s(d) : null;
|
|
2912
|
+
return l && C && !y;
|
|
2913
2913
|
});
|
|
2914
2914
|
}
|
|
2915
2915
|
function Ze(e) {
|
|
@@ -2923,15 +2923,15 @@ function Ge(e) {
|
|
|
2923
2923
|
function Jt(e) {
|
|
2924
2924
|
e.preventDefault();
|
|
2925
2925
|
}
|
|
2926
|
-
function
|
|
2926
|
+
function oi(e) {
|
|
2927
2927
|
return e.indexOf("MSIE") !== -1 || e.indexOf("Trident/") !== -1;
|
|
2928
2928
|
}
|
|
2929
|
-
function
|
|
2929
|
+
function ni(e) {
|
|
2930
2930
|
return e.indexOf("Edge/") !== -1;
|
|
2931
2931
|
}
|
|
2932
|
-
function
|
|
2932
|
+
function ai() {
|
|
2933
2933
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.navigator.userAgent;
|
|
2934
|
-
return
|
|
2934
|
+
return oi(e) || ni(e);
|
|
2935
2935
|
}
|
|
2936
2936
|
function Ce() {
|
|
2937
2937
|
for (var e = arguments.length, t = new Array(e), o = 0; o < e; o++)
|
|
@@ -2944,17 +2944,17 @@ function Ce() {
|
|
|
2944
2944
|
});
|
|
2945
2945
|
};
|
|
2946
2946
|
}
|
|
2947
|
-
function
|
|
2947
|
+
function ii() {
|
|
2948
2948
|
return "showOpenFilePicker" in window;
|
|
2949
2949
|
}
|
|
2950
|
-
function
|
|
2950
|
+
function ri(e) {
|
|
2951
2951
|
if (je(e)) {
|
|
2952
2952
|
var t = Object.entries(e).filter(function(o) {
|
|
2953
2953
|
var n = Me(o, 2), a = n[0], i = n[1], r = !0;
|
|
2954
|
-
return
|
|
2954
|
+
return No(a) || (console.warn('Skipped "'.concat(a, '" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')), r = !1), (!Array.isArray(i) || !i.every(Eo)) && (console.warn('Skipped "'.concat(a, '" because an invalid file extension was provided.')), r = !1), r;
|
|
2955
2955
|
}).reduce(function(o, n) {
|
|
2956
2956
|
var a = Me(n, 2), i = a[0], r = a[1];
|
|
2957
|
-
return Xt(Xt({}, o), {},
|
|
2957
|
+
return Xt(Xt({}, o), {}, wo({}, i, r));
|
|
2958
2958
|
}, {});
|
|
2959
2959
|
return [{
|
|
2960
2960
|
// description is required due to https://crbug.com/1264708
|
|
@@ -2964,49 +2964,49 @@ function si(e) {
|
|
|
2964
2964
|
}
|
|
2965
2965
|
return e;
|
|
2966
2966
|
}
|
|
2967
|
-
function
|
|
2967
|
+
function si(e) {
|
|
2968
2968
|
if (je(e))
|
|
2969
2969
|
return Object.entries(e).reduce(function(t, o) {
|
|
2970
2970
|
var n = Me(o, 2), a = n[0], i = n[1];
|
|
2971
2971
|
return [].concat(Gt(t), [a], Gt(i));
|
|
2972
2972
|
}, []).filter(function(t) {
|
|
2973
|
-
return
|
|
2973
|
+
return No(t) || Eo(t);
|
|
2974
2974
|
}).join(",");
|
|
2975
2975
|
}
|
|
2976
|
-
function
|
|
2976
|
+
function pi(e) {
|
|
2977
2977
|
return e instanceof DOMException && (e.name === "AbortError" || e.code === e.ABORT_ERR);
|
|
2978
2978
|
}
|
|
2979
|
-
function
|
|
2979
|
+
function li(e) {
|
|
2980
2980
|
return e instanceof DOMException && (e.name === "SecurityError" || e.code === e.SECURITY_ERR);
|
|
2981
2981
|
}
|
|
2982
|
-
function
|
|
2982
|
+
function No(e) {
|
|
2983
2983
|
return e === "audio/*" || e === "video/*" || e === "image/*" || e === "text/*" || e === "application/*" || /\w+\/[-+.\w]+/g.test(e);
|
|
2984
2984
|
}
|
|
2985
|
-
function
|
|
2985
|
+
function Eo(e) {
|
|
2986
2986
|
return /^.*\.[\w]+$/.test(e);
|
|
2987
2987
|
}
|
|
2988
|
-
var
|
|
2989
|
-
function
|
|
2990
|
-
return
|
|
2988
|
+
var ci = ["children"], di = ["open"], ui = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], mi = ["refKey", "onChange", "onClick"];
|
|
2989
|
+
function _i(e) {
|
|
2990
|
+
return xi(e) || vi(e) || So(e) || fi();
|
|
2991
2991
|
}
|
|
2992
|
-
function
|
|
2992
|
+
function fi() {
|
|
2993
2993
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2994
2994
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2995
2995
|
}
|
|
2996
|
-
function
|
|
2996
|
+
function vi(e) {
|
|
2997
2997
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
2998
2998
|
}
|
|
2999
|
-
function
|
|
2999
|
+
function xi(e) {
|
|
3000
3000
|
if (Array.isArray(e)) return Nt(e);
|
|
3001
3001
|
}
|
|
3002
3002
|
function ht(e, t) {
|
|
3003
|
-
return
|
|
3003
|
+
return bi(e) || hi(e, t) || So(e, t) || gi();
|
|
3004
3004
|
}
|
|
3005
|
-
function
|
|
3005
|
+
function gi() {
|
|
3006
3006
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3007
3007
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
3008
3008
|
}
|
|
3009
|
-
function
|
|
3009
|
+
function So(e, t) {
|
|
3010
3010
|
if (e) {
|
|
3011
3011
|
if (typeof e == "string") return Nt(e, t);
|
|
3012
3012
|
var o = Object.prototype.toString.call(e).slice(8, -1);
|
|
@@ -3020,15 +3020,15 @@ function Nt(e, t) {
|
|
|
3020
3020
|
n[o] = e[o];
|
|
3021
3021
|
return n;
|
|
3022
3022
|
}
|
|
3023
|
-
function
|
|
3023
|
+
function hi(e, t) {
|
|
3024
3024
|
var o = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
3025
3025
|
if (o != null) {
|
|
3026
3026
|
var n = [], a = !0, i = !1, r, s;
|
|
3027
3027
|
try {
|
|
3028
3028
|
for (o = o.call(e); !(a = (r = o.next()).done) && (n.push(r.value), !(t && n.length === t)); a = !0)
|
|
3029
3029
|
;
|
|
3030
|
-
} catch (
|
|
3031
|
-
i = !0, s =
|
|
3030
|
+
} catch (d) {
|
|
3031
|
+
i = !0, s = d;
|
|
3032
3032
|
} finally {
|
|
3033
3033
|
try {
|
|
3034
3034
|
!a && o.return != null && o.return();
|
|
@@ -3039,7 +3039,7 @@ function bi(e, t) {
|
|
|
3039
3039
|
return n;
|
|
3040
3040
|
}
|
|
3041
3041
|
}
|
|
3042
|
-
function
|
|
3042
|
+
function bi(e) {
|
|
3043
3043
|
if (Array.isArray(e)) return e;
|
|
3044
3044
|
}
|
|
3045
3045
|
function eo(e, t) {
|
|
@@ -3068,7 +3068,7 @@ function Et(e, t, o) {
|
|
|
3068
3068
|
}
|
|
3069
3069
|
function Qe(e, t) {
|
|
3070
3070
|
if (e == null) return {};
|
|
3071
|
-
var o =
|
|
3071
|
+
var o = yi(e, t), n, a;
|
|
3072
3072
|
if (Object.getOwnPropertySymbols) {
|
|
3073
3073
|
var i = Object.getOwnPropertySymbols(e);
|
|
3074
3074
|
for (a = 0; a < i.length; a++)
|
|
@@ -3076,27 +3076,27 @@ function Qe(e, t) {
|
|
|
3076
3076
|
}
|
|
3077
3077
|
return o;
|
|
3078
3078
|
}
|
|
3079
|
-
function
|
|
3079
|
+
function yi(e, t) {
|
|
3080
3080
|
if (e == null) return {};
|
|
3081
3081
|
var o = {}, n = Object.keys(e), a, i;
|
|
3082
3082
|
for (i = 0; i < n.length; i++)
|
|
3083
3083
|
a = n[i], !(t.indexOf(a) >= 0) && (o[a] = e[a]);
|
|
3084
3084
|
return o;
|
|
3085
3085
|
}
|
|
3086
|
-
var et = /* @__PURE__ */
|
|
3087
|
-
var o = e.children, n = Qe(e,
|
|
3088
|
-
return
|
|
3086
|
+
var et = /* @__PURE__ */ Po(function(e, t) {
|
|
3087
|
+
var o = e.children, n = Qe(e, ci), a = wi(n), i = a.open, r = Qe(a, di);
|
|
3088
|
+
return Bo(t, function() {
|
|
3089
3089
|
return {
|
|
3090
3090
|
open: i
|
|
3091
3091
|
};
|
|
3092
|
-
}, [i]), /* @__PURE__ */ $e.createElement(
|
|
3092
|
+
}, [i]), /* @__PURE__ */ $e.createElement(Wo, null, o(J(J({}, r), {}, {
|
|
3093
3093
|
open: i
|
|
3094
3094
|
})));
|
|
3095
3095
|
});
|
|
3096
3096
|
et.displayName = "Dropzone";
|
|
3097
|
-
var
|
|
3097
|
+
var Ro = {
|
|
3098
3098
|
disabled: !1,
|
|
3099
|
-
getFilesFromEvent:
|
|
3099
|
+
getFilesFromEvent: Ia,
|
|
3100
3100
|
maxSize: 1 / 0,
|
|
3101
3101
|
minSize: 0,
|
|
3102
3102
|
multiple: !0,
|
|
@@ -3110,7 +3110,7 @@ var Ao = {
|
|
|
3110
3110
|
useFsAccessApi: !1,
|
|
3111
3111
|
autoFocus: !1
|
|
3112
3112
|
};
|
|
3113
|
-
et.defaultProps =
|
|
3113
|
+
et.defaultProps = Ro;
|
|
3114
3114
|
et.propTypes = {
|
|
3115
3115
|
/**
|
|
3116
3116
|
* Render function that exposes the dropzone state and prop getter fns
|
|
@@ -3127,7 +3127,7 @@ et.propTypes = {
|
|
|
3127
3127
|
* @param {File[]} params.acceptedFiles Accepted files
|
|
3128
3128
|
* @param {FileRejection[]} params.fileRejections Rejected files and why they were rejected
|
|
3129
3129
|
*/
|
|
3130
|
-
children:
|
|
3130
|
+
children: N.func,
|
|
3131
3131
|
/**
|
|
3132
3132
|
* Set accepted file types.
|
|
3133
3133
|
* Checkout https://developer.mozilla.org/en-US/docs/Web/API/window/showOpenFilePicker types option for more information.
|
|
@@ -3135,90 +3135,90 @@ et.propTypes = {
|
|
|
3135
3135
|
* for example, are reported as text/plain under macOS but as application/vnd.ms-excel under
|
|
3136
3136
|
* Windows. In some cases there might not be a mime type set at all (https://github.com/react-dropzone/react-dropzone/issues/276).
|
|
3137
3137
|
*/
|
|
3138
|
-
accept:
|
|
3138
|
+
accept: N.objectOf(N.arrayOf(N.string)),
|
|
3139
3139
|
/**
|
|
3140
3140
|
* Allow drag 'n' drop (or selection from the file dialog) of multiple files
|
|
3141
3141
|
*/
|
|
3142
|
-
multiple:
|
|
3142
|
+
multiple: N.bool,
|
|
3143
3143
|
/**
|
|
3144
3144
|
* If false, allow dropped items to take over the current browser window
|
|
3145
3145
|
*/
|
|
3146
|
-
preventDropOnDocument:
|
|
3146
|
+
preventDropOnDocument: N.bool,
|
|
3147
3147
|
/**
|
|
3148
3148
|
* If true, disables click to open the native file selection dialog
|
|
3149
3149
|
*/
|
|
3150
|
-
noClick:
|
|
3150
|
+
noClick: N.bool,
|
|
3151
3151
|
/**
|
|
3152
3152
|
* If true, disables SPACE/ENTER to open the native file selection dialog.
|
|
3153
3153
|
* Note that it also stops tracking the focus state.
|
|
3154
3154
|
*/
|
|
3155
|
-
noKeyboard:
|
|
3155
|
+
noKeyboard: N.bool,
|
|
3156
3156
|
/**
|
|
3157
3157
|
* If true, disables drag 'n' drop
|
|
3158
3158
|
*/
|
|
3159
|
-
noDrag:
|
|
3159
|
+
noDrag: N.bool,
|
|
3160
3160
|
/**
|
|
3161
3161
|
* If true, stops drag event propagation to parents
|
|
3162
3162
|
*/
|
|
3163
|
-
noDragEventsBubbling:
|
|
3163
|
+
noDragEventsBubbling: N.bool,
|
|
3164
3164
|
/**
|
|
3165
3165
|
* Minimum file size (in bytes)
|
|
3166
3166
|
*/
|
|
3167
|
-
minSize:
|
|
3167
|
+
minSize: N.number,
|
|
3168
3168
|
/**
|
|
3169
3169
|
* Maximum file size (in bytes)
|
|
3170
3170
|
*/
|
|
3171
|
-
maxSize:
|
|
3171
|
+
maxSize: N.number,
|
|
3172
3172
|
/**
|
|
3173
3173
|
* Maximum accepted number of files
|
|
3174
3174
|
* The default value is 0 which means there is no limitation to how many files are accepted.
|
|
3175
3175
|
*/
|
|
3176
|
-
maxFiles:
|
|
3176
|
+
maxFiles: N.number,
|
|
3177
3177
|
/**
|
|
3178
3178
|
* Enable/disable the dropzone
|
|
3179
3179
|
*/
|
|
3180
|
-
disabled:
|
|
3180
|
+
disabled: N.bool,
|
|
3181
3181
|
/**
|
|
3182
3182
|
* Use this to provide a custom file aggregator
|
|
3183
3183
|
*
|
|
3184
3184
|
* @param {(DragEvent|Event|Array<FileSystemFileHandle>)} event A drag event or input change event (if files were selected via the file dialog)
|
|
3185
3185
|
*/
|
|
3186
|
-
getFilesFromEvent:
|
|
3186
|
+
getFilesFromEvent: N.func,
|
|
3187
3187
|
/**
|
|
3188
3188
|
* Cb for when closing the file dialog with no selection
|
|
3189
3189
|
*/
|
|
3190
|
-
onFileDialogCancel:
|
|
3190
|
+
onFileDialogCancel: N.func,
|
|
3191
3191
|
/**
|
|
3192
3192
|
* Cb for when opening the file dialog
|
|
3193
3193
|
*/
|
|
3194
|
-
onFileDialogOpen:
|
|
3194
|
+
onFileDialogOpen: N.func,
|
|
3195
3195
|
/**
|
|
3196
3196
|
* Set to true to use the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API
|
|
3197
3197
|
* to open the file picker instead of using an `<input type="file">` click event.
|
|
3198
3198
|
*/
|
|
3199
|
-
useFsAccessApi:
|
|
3199
|
+
useFsAccessApi: N.bool,
|
|
3200
3200
|
/**
|
|
3201
3201
|
* Set to true to focus the root element on render
|
|
3202
3202
|
*/
|
|
3203
|
-
autoFocus:
|
|
3203
|
+
autoFocus: N.bool,
|
|
3204
3204
|
/**
|
|
3205
3205
|
* Cb for when the `dragenter` event occurs.
|
|
3206
3206
|
*
|
|
3207
3207
|
* @param {DragEvent} event
|
|
3208
3208
|
*/
|
|
3209
|
-
onDragEnter:
|
|
3209
|
+
onDragEnter: N.func,
|
|
3210
3210
|
/**
|
|
3211
3211
|
* Cb for when the `dragleave` event occurs
|
|
3212
3212
|
*
|
|
3213
3213
|
* @param {DragEvent} event
|
|
3214
3214
|
*/
|
|
3215
|
-
onDragLeave:
|
|
3215
|
+
onDragLeave: N.func,
|
|
3216
3216
|
/**
|
|
3217
3217
|
* Cb for when the `dragover` event occurs
|
|
3218
3218
|
*
|
|
3219
3219
|
* @param {DragEvent} event
|
|
3220
3220
|
*/
|
|
3221
|
-
onDragOver:
|
|
3221
|
+
onDragOver: N.func,
|
|
3222
3222
|
/**
|
|
3223
3223
|
* Cb for when the `drop` event occurs.
|
|
3224
3224
|
* Note that this callback is invoked after the `getFilesFromEvent` callback is done.
|
|
@@ -3249,7 +3249,7 @@ et.propTypes = {
|
|
|
3249
3249
|
* @param {FileRejection[]} fileRejections
|
|
3250
3250
|
* @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)
|
|
3251
3251
|
*/
|
|
3252
|
-
onDrop:
|
|
3252
|
+
onDrop: N.func,
|
|
3253
3253
|
/**
|
|
3254
3254
|
* Cb for when the `drop` event occurs.
|
|
3255
3255
|
* Note that if no files are accepted, this callback is not invoked.
|
|
@@ -3257,7 +3257,7 @@ et.propTypes = {
|
|
|
3257
3257
|
* @param {File[]} files
|
|
3258
3258
|
* @param {(DragEvent|Event)} event
|
|
3259
3259
|
*/
|
|
3260
|
-
onDropAccepted:
|
|
3260
|
+
onDropAccepted: N.func,
|
|
3261
3261
|
/**
|
|
3262
3262
|
* Cb for when the `drop` event occurs.
|
|
3263
3263
|
* Note that if no files are rejected, this callback is not invoked.
|
|
@@ -3265,19 +3265,19 @@ et.propTypes = {
|
|
|
3265
3265
|
* @param {FileRejection[]} fileRejections
|
|
3266
3266
|
* @param {(DragEvent|Event)} event
|
|
3267
3267
|
*/
|
|
3268
|
-
onDropRejected:
|
|
3268
|
+
onDropRejected: N.func,
|
|
3269
3269
|
/**
|
|
3270
3270
|
* Cb for when there's some error from any of the promises.
|
|
3271
3271
|
*
|
|
3272
3272
|
* @param {Error} error
|
|
3273
3273
|
*/
|
|
3274
|
-
onError:
|
|
3274
|
+
onError: N.func,
|
|
3275
3275
|
/**
|
|
3276
3276
|
* Custom validation function. It must return null if there's no errors.
|
|
3277
3277
|
* @param {File} file
|
|
3278
3278
|
* @returns {FileError|FileError[]|null}
|
|
3279
3279
|
*/
|
|
3280
|
-
validator:
|
|
3280
|
+
validator: N.func
|
|
3281
3281
|
};
|
|
3282
3282
|
var St = {
|
|
3283
3283
|
isFocused: !1,
|
|
@@ -3288,20 +3288,20 @@ var St = {
|
|
|
3288
3288
|
acceptedFiles: [],
|
|
3289
3289
|
fileRejections: []
|
|
3290
3290
|
};
|
|
3291
|
-
function
|
|
3292
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = J(J({},
|
|
3293
|
-
return pi(o);
|
|
3294
|
-
}, [o]), ee = Fe(function() {
|
|
3291
|
+
function wi() {
|
|
3292
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = J(J({}, Ro), e), o = t.accept, n = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, d = t.maxFiles, p = t.onDragEnter, m = t.onDragLeave, l = t.onDragOver, v = t.onDrop, b = t.onDropAccepted, C = t.onDropRejected, y = t.onFileDialogCancel, T = t.onFileDialogOpen, A = t.useFsAccessApi, M = t.autoFocus, j = t.preventDropOnDocument, w = t.noClick, c = t.noKeyboard, S = t.noDrag, P = t.noDragEventsBubbling, L = t.onError, Q = t.validator, te = Fe(function() {
|
|
3295
3293
|
return si(o);
|
|
3294
|
+
}, [o]), ee = Fe(function() {
|
|
3295
|
+
return ri(o);
|
|
3296
3296
|
}, [o]), ae = Fe(function() {
|
|
3297
|
-
return typeof
|
|
3298
|
-
}, [
|
|
3299
|
-
return typeof
|
|
3300
|
-
}, [
|
|
3297
|
+
return typeof T == "function" ? T : to;
|
|
3298
|
+
}, [T]), se = Fe(function() {
|
|
3299
|
+
return typeof y == "function" ? y : to;
|
|
3300
|
+
}, [y]), K = fe(null), Z = fe(null), k = Mo(ki, St), $ = ht(k, 2), X = $[0], B = $[1], _ = X.isFocused, h = X.isFileDialogActive, F = fe(typeof window < "u" && window.isSecureContext && A && ii()), O = function() {
|
|
3301
3301
|
!F.current && h && setTimeout(function() {
|
|
3302
3302
|
if (Z.current) {
|
|
3303
|
-
var
|
|
3304
|
-
|
|
3303
|
+
var R = Z.current.files;
|
|
3304
|
+
R.length || (B({
|
|
3305
3305
|
type: "closeDialog"
|
|
3306
3306
|
}), se());
|
|
3307
3307
|
}
|
|
@@ -3312,8 +3312,8 @@ function ki() {
|
|
|
3312
3312
|
window.removeEventListener("focus", O, !1);
|
|
3313
3313
|
};
|
|
3314
3314
|
}, [Z, h, se, F]);
|
|
3315
|
-
var D = fe([]), q = function(
|
|
3316
|
-
K.current && K.current.contains(
|
|
3315
|
+
var D = fe([]), q = function(R) {
|
|
3316
|
+
K.current && K.current.contains(R.target) || (R.preventDefault(), D.current = []);
|
|
3317
3317
|
};
|
|
3318
3318
|
re(function() {
|
|
3319
3319
|
return j && (document.addEventListener("dragover", Jt, !1), document.addEventListener("drop", q, !1)), function() {
|
|
@@ -3326,15 +3326,15 @@ function ki() {
|
|
|
3326
3326
|
var I = _e(function(g) {
|
|
3327
3327
|
L ? L(g) : console.error(g);
|
|
3328
3328
|
}, [L]), z = _e(function(g) {
|
|
3329
|
-
g.preventDefault(), g.persist(), Ue(g), D.current = [].concat(
|
|
3329
|
+
g.preventDefault(), g.persist(), Ue(g), D.current = [].concat(_i(D.current), [g.target]), Ge(g) && Promise.resolve(a(g)).then(function(R) {
|
|
3330
3330
|
if (!(Ze(g) && !P)) {
|
|
3331
|
-
var oe =
|
|
3332
|
-
files:
|
|
3331
|
+
var oe = R.length, pe = oe > 0 && ti({
|
|
3332
|
+
files: R,
|
|
3333
3333
|
accept: te,
|
|
3334
3334
|
minSize: r,
|
|
3335
3335
|
maxSize: i,
|
|
3336
3336
|
multiple: s,
|
|
3337
|
-
maxFiles:
|
|
3337
|
+
maxFiles: d,
|
|
3338
3338
|
validator: Q
|
|
3339
3339
|
}), xe = oe > 0 && !pe;
|
|
3340
3340
|
B({
|
|
@@ -3344,60 +3344,60 @@ function ki() {
|
|
|
3344
3344
|
type: "setDraggedFiles"
|
|
3345
3345
|
}), p && p(g);
|
|
3346
3346
|
}
|
|
3347
|
-
}).catch(function(
|
|
3348
|
-
return I(
|
|
3347
|
+
}).catch(function(R) {
|
|
3348
|
+
return I(R);
|
|
3349
3349
|
});
|
|
3350
|
-
}, [a, p, I, P, te, r, i, s,
|
|
3350
|
+
}, [a, p, I, P, te, r, i, s, d, Q]), U = _e(function(g) {
|
|
3351
3351
|
g.preventDefault(), g.persist(), Ue(g);
|
|
3352
|
-
var
|
|
3353
|
-
if (
|
|
3352
|
+
var R = Ge(g);
|
|
3353
|
+
if (R && g.dataTransfer)
|
|
3354
3354
|
try {
|
|
3355
3355
|
g.dataTransfer.dropEffect = "copy";
|
|
3356
3356
|
} catch {
|
|
3357
3357
|
}
|
|
3358
|
-
return
|
|
3358
|
+
return R && l && l(g), !1;
|
|
3359
3359
|
}, [l, P]), V = _e(function(g) {
|
|
3360
3360
|
g.preventDefault(), g.persist(), Ue(g);
|
|
3361
|
-
var
|
|
3361
|
+
var R = D.current.filter(function(pe) {
|
|
3362
3362
|
return K.current && K.current.contains(pe);
|
|
3363
|
-
}), oe =
|
|
3364
|
-
oe !== -1 &&
|
|
3363
|
+
}), oe = R.indexOf(g.target);
|
|
3364
|
+
oe !== -1 && R.splice(oe, 1), D.current = R, !(R.length > 0) && (B({
|
|
3365
3365
|
type: "setDraggedFiles",
|
|
3366
3366
|
isDragActive: !1,
|
|
3367
3367
|
isDragAccept: !1,
|
|
3368
3368
|
isDragReject: !1
|
|
3369
3369
|
}), Ge(g) && m && m(g));
|
|
3370
|
-
}, [K, m, P]), W = _e(function(g,
|
|
3370
|
+
}, [K, m, P]), W = _e(function(g, R) {
|
|
3371
3371
|
var oe = [], pe = [];
|
|
3372
3372
|
g.forEach(function(xe) {
|
|
3373
|
-
var Pe =
|
|
3373
|
+
var Pe = Co(xe, te), Le = ht(Pe, 2), ot = Le[0], nt = Le[1], at = To(xe, r, i), He = ht(at, 2), it = He[0], rt = He[1], st = Q ? Q(xe) : null;
|
|
3374
3374
|
if (ot && it && !st)
|
|
3375
3375
|
oe.push(xe);
|
|
3376
3376
|
else {
|
|
3377
3377
|
var pt = [nt, rt];
|
|
3378
3378
|
st && (pt = pt.concat(st)), pe.push({
|
|
3379
3379
|
file: xe,
|
|
3380
|
-
errors: pt.filter(function(
|
|
3381
|
-
return
|
|
3380
|
+
errors: pt.filter(function(zo) {
|
|
3381
|
+
return zo;
|
|
3382
3382
|
})
|
|
3383
3383
|
});
|
|
3384
3384
|
}
|
|
3385
|
-
}), (!s && oe.length > 1 || s &&
|
|
3385
|
+
}), (!s && oe.length > 1 || s && d >= 1 && oe.length > d) && (oe.forEach(function(xe) {
|
|
3386
3386
|
pe.push({
|
|
3387
3387
|
file: xe,
|
|
3388
|
-
errors: [
|
|
3388
|
+
errors: [ei]
|
|
3389
3389
|
});
|
|
3390
3390
|
}), oe.splice(0)), B({
|
|
3391
3391
|
acceptedFiles: oe,
|
|
3392
3392
|
fileRejections: pe,
|
|
3393
3393
|
isDragReject: pe.length > 0,
|
|
3394
3394
|
type: "setFiles"
|
|
3395
|
-
}), v && v(oe, pe,
|
|
3396
|
-
}, [B, s, te, r, i,
|
|
3397
|
-
g.preventDefault(), g.persist(), Ue(g), D.current = [], Ge(g) && Promise.resolve(a(g)).then(function(
|
|
3398
|
-
Ze(g) && !P || W(
|
|
3399
|
-
}).catch(function(
|
|
3400
|
-
return I(
|
|
3395
|
+
}), v && v(oe, pe, R), pe.length > 0 && C && C(pe, R), oe.length > 0 && b && b(oe, R);
|
|
3396
|
+
}, [B, s, te, r, i, d, v, b, C, Q]), ie = _e(function(g) {
|
|
3397
|
+
g.preventDefault(), g.persist(), Ue(g), D.current = [], Ge(g) && Promise.resolve(a(g)).then(function(R) {
|
|
3398
|
+
Ze(g) && !P || W(R, g);
|
|
3399
|
+
}).catch(function(R) {
|
|
3400
|
+
return I(R);
|
|
3401
3401
|
}), B({
|
|
3402
3402
|
type: "reset"
|
|
3403
3403
|
});
|
|
@@ -3410,23 +3410,23 @@ function ki() {
|
|
|
3410
3410
|
multiple: s,
|
|
3411
3411
|
types: ee
|
|
3412
3412
|
};
|
|
3413
|
-
window.showOpenFilePicker(g).then(function(
|
|
3414
|
-
return a(
|
|
3415
|
-
}).then(function(
|
|
3416
|
-
W(
|
|
3413
|
+
window.showOpenFilePicker(g).then(function(R) {
|
|
3414
|
+
return a(R);
|
|
3415
|
+
}).then(function(R) {
|
|
3416
|
+
W(R, null), B({
|
|
3417
3417
|
type: "closeDialog"
|
|
3418
3418
|
});
|
|
3419
|
-
}).catch(function(
|
|
3420
|
-
|
|
3419
|
+
}).catch(function(R) {
|
|
3420
|
+
pi(R) ? (se(R), B({
|
|
3421
3421
|
type: "closeDialog"
|
|
3422
|
-
})) :
|
|
3422
|
+
})) : li(R) ? (F.current = !1, Z.current ? (Z.current.value = null, Z.current.click()) : I(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."))) : I(R);
|
|
3423
3423
|
});
|
|
3424
3424
|
return;
|
|
3425
3425
|
}
|
|
3426
3426
|
Z.current && (B({
|
|
3427
3427
|
type: "openDialog"
|
|
3428
3428
|
}), ae(), Z.current.value = null, Z.current.click());
|
|
3429
|
-
}, [B, ae, se,
|
|
3429
|
+
}, [B, ae, se, A, W, I, ee, s]), ve = _e(function(g) {
|
|
3430
3430
|
!K.current || !K.current.isEqualNode(g.target) || (g.key === " " || g.key === "Enter" || g.keyCode === 32 || g.keyCode === 13) && (g.preventDefault(), x());
|
|
3431
3431
|
}, [K, x]), Se = _e(function() {
|
|
3432
3432
|
B({
|
|
@@ -3437,18 +3437,18 @@ function ki() {
|
|
|
3437
3437
|
type: "blur"
|
|
3438
3438
|
});
|
|
3439
3439
|
}, []), It = _e(function() {
|
|
3440
|
-
|
|
3441
|
-
}, [
|
|
3442
|
-
return n ? null :
|
|
3443
|
-
}, tt = function(
|
|
3444
|
-
return c ? null : Ie(
|
|
3445
|
-
}, qe = function(
|
|
3446
|
-
return
|
|
3447
|
-
}, Ue = function(
|
|
3448
|
-
P &&
|
|
3449
|
-
},
|
|
3440
|
+
w || (ai() ? setTimeout(x, 0) : x());
|
|
3441
|
+
}, [w, x]), Ie = function(R) {
|
|
3442
|
+
return n ? null : R;
|
|
3443
|
+
}, tt = function(R) {
|
|
3444
|
+
return c ? null : Ie(R);
|
|
3445
|
+
}, qe = function(R) {
|
|
3446
|
+
return S ? null : Ie(R);
|
|
3447
|
+
}, Ue = function(R) {
|
|
3448
|
+
P && R.stopPropagation();
|
|
3449
|
+
}, Lo = Fe(function() {
|
|
3450
3450
|
return function() {
|
|
3451
|
-
var g = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {},
|
|
3451
|
+
var g = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, R = g.refKey, oe = R === void 0 ? "ref" : R, pe = g.role, xe = g.onKeyDown, Pe = g.onFocus, Le = g.onBlur, ot = g.onClick, nt = g.onDragEnter, at = g.onDragOver, He = g.onDragLeave, it = g.onDrop, rt = Qe(g, ui);
|
|
3452
3452
|
return J(J(Et({
|
|
3453
3453
|
onKeyDown: tt(Ce(xe, ve)),
|
|
3454
3454
|
onFocus: tt(Ce(Pe, Se)),
|
|
@@ -3463,11 +3463,11 @@ function ki() {
|
|
|
3463
3463
|
tabIndex: 0
|
|
3464
3464
|
} : {}), rt);
|
|
3465
3465
|
};
|
|
3466
|
-
}, [K, ve, Se, ze, It, z, U, V, ie, c,
|
|
3466
|
+
}, [K, ve, Se, ze, It, z, U, V, ie, c, S, n]), Fo = _e(function(g) {
|
|
3467
3467
|
g.stopPropagation();
|
|
3468
|
-
}, []),
|
|
3468
|
+
}, []), Oo = Fe(function() {
|
|
3469
3469
|
return function() {
|
|
3470
|
-
var g = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {},
|
|
3470
|
+
var g = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, R = g.refKey, oe = R === void 0 ? "ref" : R, pe = g.onChange, xe = g.onClick, Pe = Qe(g, mi), Le = Et({
|
|
3471
3471
|
accept: te,
|
|
3472
3472
|
multiple: s,
|
|
3473
3473
|
type: "file",
|
|
@@ -3484,7 +3484,7 @@ function ki() {
|
|
|
3484
3484
|
whiteSpace: "nowrap"
|
|
3485
3485
|
},
|
|
3486
3486
|
onChange: Ie(Ce(pe, ie)),
|
|
3487
|
-
onClick: Ie(Ce(xe,
|
|
3487
|
+
onClick: Ie(Ce(xe, Fo)),
|
|
3488
3488
|
tabIndex: -1
|
|
3489
3489
|
}, oe, Z);
|
|
3490
3490
|
return J(J({}, Le), Pe);
|
|
@@ -3492,14 +3492,14 @@ function ki() {
|
|
|
3492
3492
|
}, [Z, o, s, ie, n]);
|
|
3493
3493
|
return J(J({}, X), {}, {
|
|
3494
3494
|
isFocused: _ && !n,
|
|
3495
|
-
getRootProps:
|
|
3496
|
-
getInputProps:
|
|
3495
|
+
getRootProps: Lo,
|
|
3496
|
+
getInputProps: Oo,
|
|
3497
3497
|
rootRef: K,
|
|
3498
3498
|
inputRef: Z,
|
|
3499
3499
|
open: Ie(x)
|
|
3500
3500
|
});
|
|
3501
3501
|
}
|
|
3502
|
-
function
|
|
3502
|
+
function ki(e, t) {
|
|
3503
3503
|
switch (t.type) {
|
|
3504
3504
|
case "focus":
|
|
3505
3505
|
return J(J({}, e), {}, {
|
|
@@ -3537,7 +3537,7 @@ function Ci(e, t) {
|
|
|
3537
3537
|
}
|
|
3538
3538
|
function to() {
|
|
3539
3539
|
}
|
|
3540
|
-
const
|
|
3540
|
+
const Ci = (e) => {
|
|
3541
3541
|
const {
|
|
3542
3542
|
onDropFiles: t,
|
|
3543
3543
|
children: o,
|
|
@@ -3546,7 +3546,7 @@ const Ti = (e) => {
|
|
|
3546
3546
|
disabled: i,
|
|
3547
3547
|
name: r,
|
|
3548
3548
|
multiple: s,
|
|
3549
|
-
maxFiles:
|
|
3549
|
+
maxFiles: d,
|
|
3550
3550
|
files: p = []
|
|
3551
3551
|
} = e, m = _e(
|
|
3552
3552
|
(l) => {
|
|
@@ -3555,27 +3555,27 @@ const Ti = (e) => {
|
|
|
3555
3555
|
return;
|
|
3556
3556
|
}
|
|
3557
3557
|
const v = [...p, ...l];
|
|
3558
|
-
if (
|
|
3559
|
-
console.log(`Максимальное возможное количество файлов для загрузки - ${
|
|
3558
|
+
if (d && v.length > d) {
|
|
3559
|
+
console.log(`Максимальное возможное количество файлов для загрузки - ${d}`), t(v.slice(0, d), r);
|
|
3560
3560
|
return;
|
|
3561
3561
|
}
|
|
3562
3562
|
t(v, r);
|
|
3563
3563
|
},
|
|
3564
|
-
[p,
|
|
3564
|
+
[p, d, s, r, t]
|
|
3565
3565
|
);
|
|
3566
|
-
return /* @__PURE__ */
|
|
3567
|
-
/* @__PURE__ */
|
|
3566
|
+
return /* @__PURE__ */ u(et, { multiple: s, onDrop: m, maxSize: n, accept: a, children: ({ getRootProps: l, getInputProps: v }) => /* @__PURE__ */ H("div", { ...l({}), style: { height: "100%" }, children: [
|
|
3567
|
+
/* @__PURE__ */ u("input", { ...v({}), disabled: i, name: r }),
|
|
3568
3568
|
o
|
|
3569
3569
|
] }) });
|
|
3570
|
-
},
|
|
3571
|
-
spDropdown:
|
|
3572
|
-
spDropdown__labelText:
|
|
3573
|
-
spDropdown__tooltipContainer:
|
|
3574
|
-
spDropdown__dropdownList:
|
|
3575
|
-
spDropdown__dropdownListHeader:
|
|
3576
|
-
spDropdown__dopdownListItem:
|
|
3577
|
-
spDropdown__dopdownListItem_textCenter:
|
|
3578
|
-
spDropdown__downloadListItemDescription:
|
|
3570
|
+
}, Ti = "_spDropdown_1f4lf_43", Ni = "_spDropdown__labelText_1f4lf_54", Ei = "_spDropdown__tooltipContainer_1f4lf_62", Si = "_spDropdown__dropdownList_1f4lf_67", Ri = "_spDropdown__dropdownListHeader_1f4lf_73", Ai = "_spDropdown__dopdownListItem_1f4lf_80", ji = "_spDropdown__dopdownListItem_textCenter_1f4lf_91", Di = "_spDropdown__downloadListItemDescription_1f4lf_94", Ee = {
|
|
3571
|
+
spDropdown: Ti,
|
|
3572
|
+
spDropdown__labelText: Ni,
|
|
3573
|
+
spDropdown__tooltipContainer: Ei,
|
|
3574
|
+
spDropdown__dropdownList: Si,
|
|
3575
|
+
spDropdown__dropdownListHeader: Ri,
|
|
3576
|
+
spDropdown__dopdownListItem: Ai,
|
|
3577
|
+
spDropdown__dopdownListItem_textCenter: ji,
|
|
3578
|
+
spDropdown__downloadListItemDescription: Di
|
|
3579
3579
|
}, Xs = (e) => {
|
|
3580
3580
|
const {
|
|
3581
3581
|
labelText: t = "Выпадающий список",
|
|
@@ -3588,7 +3588,7 @@ const Ti = (e) => {
|
|
|
3588
3588
|
...i && { [i]: !0 }
|
|
3589
3589
|
}), s = f({
|
|
3590
3590
|
[Ee.spDropdown__labelText]: !0
|
|
3591
|
-
}),
|
|
3591
|
+
}), d = f({
|
|
3592
3592
|
[Ee.spDropdown__tooltipContainer]: !0
|
|
3593
3593
|
}), p = f({
|
|
3594
3594
|
[Ee.spDropdown__dropdownList]: !0
|
|
@@ -3596,29 +3596,29 @@ const Ti = (e) => {
|
|
|
3596
3596
|
[Ee.spDropdown__dropdownListHeader]: !0
|
|
3597
3597
|
}), l = f({
|
|
3598
3598
|
[Ee.spDropdown__downloadListItemDescription]: !0
|
|
3599
|
-
}), [v,
|
|
3600
|
-
return /* @__PURE__ */
|
|
3599
|
+
}), [v, b] = le(!1);
|
|
3600
|
+
return /* @__PURE__ */ u(
|
|
3601
3601
|
Rt,
|
|
3602
3602
|
{
|
|
3603
3603
|
hover: !1,
|
|
3604
|
-
triggerAction: () =>
|
|
3605
|
-
actionOnClose: () =>
|
|
3604
|
+
triggerAction: () => b(!0),
|
|
3605
|
+
actionOnClose: () => b(!1),
|
|
3606
3606
|
text: /* @__PURE__ */ H("div", { className: p, children: [
|
|
3607
|
-
o && /* @__PURE__ */
|
|
3608
|
-
n.map((
|
|
3607
|
+
o && /* @__PURE__ */ u("div", { className: m, children: o }),
|
|
3608
|
+
n.map((y, T) => /* @__PURE__ */ H(
|
|
3609
3609
|
"div",
|
|
3610
3610
|
{
|
|
3611
3611
|
className: f({
|
|
3612
3612
|
[Ee.spDropdown__dopdownListItem]: !0,
|
|
3613
|
-
[Ee.spDropdown__dopdownListItem_textCenter]:
|
|
3613
|
+
[Ee.spDropdown__dopdownListItem_textCenter]: y.textCenter
|
|
3614
3614
|
}),
|
|
3615
|
-
onClick:
|
|
3615
|
+
onClick: y.onClick,
|
|
3616
3616
|
children: [
|
|
3617
|
-
|
|
3618
|
-
|
|
3617
|
+
y.name,
|
|
3618
|
+
y.description && /* @__PURE__ */ u("span", { className: l, children: y.description })
|
|
3619
3619
|
]
|
|
3620
3620
|
},
|
|
3621
|
-
|
|
3621
|
+
T
|
|
3622
3622
|
))
|
|
3623
3623
|
] }),
|
|
3624
3624
|
position: a,
|
|
@@ -3626,15 +3626,15 @@ const Ti = (e) => {
|
|
|
3626
3626
|
isToggleClick: !0,
|
|
3627
3627
|
isStopPropagationClickOnTrigger: !0,
|
|
3628
3628
|
trigger: /* @__PURE__ */ H("div", { className: r, children: [
|
|
3629
|
-
/* @__PURE__ */
|
|
3630
|
-
/* @__PURE__ */
|
|
3629
|
+
/* @__PURE__ */ u("div", { className: s, children: t }),
|
|
3630
|
+
/* @__PURE__ */ u("div", { className: d, children: /* @__PURE__ */ u(he, { name: ue.SelectChevronDown, rotate: v ? 180 : void 0 }) })
|
|
3631
3631
|
] })
|
|
3632
3632
|
}
|
|
3633
3633
|
);
|
|
3634
|
-
},
|
|
3635
|
-
ellipsisTextWithTooltip:
|
|
3636
|
-
ellipsisTextWithTooltip__tooltip:
|
|
3637
|
-
},
|
|
3634
|
+
}, Ii = "_ellipsisTextWithTooltip_1nhiw_43", Li = "_ellipsisTextWithTooltip__tooltip_1nhiw_46", oo = {
|
|
3635
|
+
ellipsisTextWithTooltip: Ii,
|
|
3636
|
+
ellipsisTextWithTooltip__tooltip: Li
|
|
3637
|
+
}, Fi = (e) => {
|
|
3638
3638
|
const {
|
|
3639
3639
|
text: t,
|
|
3640
3640
|
classNameRoot: o,
|
|
@@ -3643,9 +3643,9 @@ const Ti = (e) => {
|
|
|
3643
3643
|
classNameBaseTooltipContentRoot: i,
|
|
3644
3644
|
classNameBaseTooltipRoot: r,
|
|
3645
3645
|
...s
|
|
3646
|
-
} = e,
|
|
3646
|
+
} = e, d = fe(null), [p, m] = le(!1);
|
|
3647
3647
|
re(() => {
|
|
3648
|
-
|
|
3648
|
+
d.current && m(d.current.scrollWidth > d.current.clientWidth);
|
|
3649
3649
|
}, [t]);
|
|
3650
3650
|
const l = f({
|
|
3651
3651
|
[oo.ellipsisTextWithTooltip]: !0,
|
|
@@ -3653,25 +3653,25 @@ const Ti = (e) => {
|
|
|
3653
3653
|
}), v = f({
|
|
3654
3654
|
[oo.ellipsisTextWithTooltip__tooltip]: !0,
|
|
3655
3655
|
...n && { [n]: !0 }
|
|
3656
|
-
}),
|
|
3656
|
+
}), b = f({
|
|
3657
3657
|
...a && { [a]: !0 }
|
|
3658
3658
|
});
|
|
3659
|
-
return /* @__PURE__ */
|
|
3659
|
+
return /* @__PURE__ */ u(
|
|
3660
3660
|
Rt,
|
|
3661
3661
|
{
|
|
3662
3662
|
classNameTooltip: v,
|
|
3663
|
-
classNameTriggerTooltip:
|
|
3663
|
+
classNameTriggerTooltip: b,
|
|
3664
3664
|
classNameBaseTooltipContentRoot: i,
|
|
3665
3665
|
classNameBaseTooltipRoot: r,
|
|
3666
3666
|
isVisibleTooltip: p,
|
|
3667
3667
|
text: t,
|
|
3668
|
-
trigger: /* @__PURE__ */
|
|
3668
|
+
trigger: /* @__PURE__ */ u(Ne, { ...s, classNameRoot: l, isEllipsis: !0, ref: d, children: t })
|
|
3669
3669
|
}
|
|
3670
3670
|
);
|
|
3671
|
-
},
|
|
3672
|
-
spForm:
|
|
3673
|
-
spForm_fullWidth:
|
|
3674
|
-
spForm_withSeparator:
|
|
3671
|
+
}, Oi = "_spForm_zefbj_43", zi = "_spForm_fullWidth_zefbj_46", Pi = "_spForm_withSeparator_zefbj_49", We = {
|
|
3672
|
+
spForm: Oi,
|
|
3673
|
+
spForm_fullWidth: zi,
|
|
3674
|
+
spForm_withSeparator: Pi,
|
|
3675
3675
|
"spForm_addMargin--size-lg": "_spForm_addMargin--size-lg_zefbj_67",
|
|
3676
3676
|
"spForm_addMargin--size-md": "_spForm_addMargin--size-md_zefbj_75"
|
|
3677
3677
|
}, Zs = (e) => {
|
|
@@ -3683,7 +3683,7 @@ const Ti = (e) => {
|
|
|
3683
3683
|
withSeparator: i = !1,
|
|
3684
3684
|
fullWidth: r = !0,
|
|
3685
3685
|
classNameRoot: s,
|
|
3686
|
-
...
|
|
3686
|
+
...d
|
|
3687
3687
|
} = e, p = f({
|
|
3688
3688
|
[We.spForm]: !0,
|
|
3689
3689
|
[We.spForm_fullWidth]: r,
|
|
@@ -3692,14 +3692,14 @@ const Ti = (e) => {
|
|
|
3692
3692
|
[We.spForm_withSeparator]: i,
|
|
3693
3693
|
...s && { [s]: !0 }
|
|
3694
3694
|
});
|
|
3695
|
-
return /* @__PURE__ */
|
|
3695
|
+
return /* @__PURE__ */ u("form", { ...d, onSubmit: (l) => {
|
|
3696
3696
|
l.preventDefault(), n && n();
|
|
3697
3697
|
}, className: p, children: o });
|
|
3698
|
-
},
|
|
3699
|
-
spLabel:
|
|
3700
|
-
spLabel__text:
|
|
3701
|
-
spLabel__tooltip:
|
|
3702
|
-
spLabel__required:
|
|
3698
|
+
}, Bi = "_spLabel_g0hfy_43", Wi = "_spLabel__text_g0hfy_52", Mi = "_spLabel__tooltip_g0hfy_62", $i = "_spLabel__required_g0hfy_67", Ke = {
|
|
3699
|
+
spLabel: Bi,
|
|
3700
|
+
spLabel__text: Wi,
|
|
3701
|
+
spLabel__tooltip: Mi,
|
|
3702
|
+
spLabel__required: $i
|
|
3703
3703
|
}, jt = (e) => {
|
|
3704
3704
|
const {
|
|
3705
3705
|
required: t,
|
|
@@ -3711,7 +3711,7 @@ const Ti = (e) => {
|
|
|
3711
3711
|
} = e, s = f({
|
|
3712
3712
|
[Ke.spLabel]: !0,
|
|
3713
3713
|
...i && { [i]: !0 }
|
|
3714
|
-
}),
|
|
3714
|
+
}), d = f({
|
|
3715
3715
|
[Ke.spLabel__text]: !0
|
|
3716
3716
|
}), p = f({
|
|
3717
3717
|
[Ke.spLabel__required]: t
|
|
@@ -3719,9 +3719,9 @@ const Ti = (e) => {
|
|
|
3719
3719
|
[Ke.spLabel__tooltip]: !0
|
|
3720
3720
|
});
|
|
3721
3721
|
return /* @__PURE__ */ H("div", { className: s, children: [
|
|
3722
|
-
/* @__PURE__ */
|
|
3723
|
-
t && /* @__PURE__ */
|
|
3724
|
-
n && /* @__PURE__ */
|
|
3722
|
+
/* @__PURE__ */ u("label", { className: d, children: o }),
|
|
3723
|
+
t && /* @__PURE__ */ u("div", { className: p, children: "*" }),
|
|
3724
|
+
n && /* @__PURE__ */ u("div", { className: m, children: /* @__PURE__ */ u(
|
|
3725
3725
|
Je,
|
|
3726
3726
|
{
|
|
3727
3727
|
position: a,
|
|
@@ -3730,18 +3730,18 @@ const Ti = (e) => {
|
|
|
3730
3730
|
}
|
|
3731
3731
|
) })
|
|
3732
3732
|
] });
|
|
3733
|
-
},
|
|
3734
|
-
spInput:
|
|
3735
|
-
spInput_error:
|
|
3736
|
-
spInput__control:
|
|
3737
|
-
spInput__container:
|
|
3738
|
-
spInput__control_filled:
|
|
3739
|
-
spInput__control_outlined:
|
|
3740
|
-
spInput__control_disabled:
|
|
3741
|
-
spInput__control_clearable:
|
|
3742
|
-
spInput__clear:
|
|
3743
|
-
spInput__error:
|
|
3744
|
-
},
|
|
3733
|
+
}, qi = "_spInput_etrn0_43", Ui = "_spInput_error_etrn0_48", Hi = "_spInput__control_etrn0_48", Vi = "_spInput__container_etrn0_55", Yi = "_spInput__control_filled_etrn0_74", Gi = "_spInput__control_outlined_etrn0_78", Ki = "_spInput__control_disabled_etrn0_82", Xi = "_spInput__control_clearable_etrn0_86", Zi = "_spInput__clear_etrn0_113", Qi = "_spInput__error_etrn0_122", Te = {
|
|
3734
|
+
spInput: qi,
|
|
3735
|
+
spInput_error: Ui,
|
|
3736
|
+
spInput__control: Hi,
|
|
3737
|
+
spInput__container: Vi,
|
|
3738
|
+
spInput__control_filled: Yi,
|
|
3739
|
+
spInput__control_outlined: Gi,
|
|
3740
|
+
spInput__control_disabled: Ki,
|
|
3741
|
+
spInput__control_clearable: Xi,
|
|
3742
|
+
spInput__clear: Zi,
|
|
3743
|
+
spInput__error: Qi
|
|
3744
|
+
}, Ji = $e.forwardRef((e, t) => {
|
|
3745
3745
|
const {
|
|
3746
3746
|
value: o,
|
|
3747
3747
|
onChange: n,
|
|
@@ -3749,24 +3749,24 @@ const Ti = (e) => {
|
|
|
3749
3749
|
variant: i = "outlined",
|
|
3750
3750
|
disabled: r = !1,
|
|
3751
3751
|
error: s,
|
|
3752
|
-
required:
|
|
3752
|
+
required: d,
|
|
3753
3753
|
name: p,
|
|
3754
3754
|
isClearable: m,
|
|
3755
3755
|
pattern: l,
|
|
3756
3756
|
onMouseEnter: v,
|
|
3757
|
-
infoTooltipText:
|
|
3757
|
+
infoTooltipText: b,
|
|
3758
3758
|
tooltipPosition: C,
|
|
3759
|
-
isVisibleDefaultTitle:
|
|
3760
|
-
placeholder:
|
|
3761
|
-
classNameRoot:
|
|
3759
|
+
isVisibleDefaultTitle: y = !0,
|
|
3760
|
+
placeholder: T = "Введите...",
|
|
3761
|
+
classNameRoot: A,
|
|
3762
3762
|
classNameError: M,
|
|
3763
3763
|
classNameLabel: j,
|
|
3764
|
-
classNameBaseTooltipRoot:
|
|
3764
|
+
classNameBaseTooltipRoot: w,
|
|
3765
3765
|
...c
|
|
3766
|
-
} = e,
|
|
3766
|
+
} = e, S = f({
|
|
3767
3767
|
[Te.spInput]: !0,
|
|
3768
3768
|
[Te.spInput_error]: !!s,
|
|
3769
|
-
...
|
|
3769
|
+
...A && { [A]: !0 }
|
|
3770
3770
|
}), P = f({
|
|
3771
3771
|
[Te.spInput__container]: !0
|
|
3772
3772
|
}), L = f({
|
|
@@ -3787,40 +3787,40 @@ const Ti = (e) => {
|
|
|
3787
3787
|
const { value: k, name: $ } = Z.target;
|
|
3788
3788
|
l && k && !new RegExp(l).test(k) || n(Z, { value: k, name: $ });
|
|
3789
3789
|
};
|
|
3790
|
-
return /* @__PURE__ */ H("div", { className:
|
|
3791
|
-
a && /* @__PURE__ */
|
|
3790
|
+
return /* @__PURE__ */ H("div", { className: S, children: [
|
|
3791
|
+
a && /* @__PURE__ */ u(
|
|
3792
3792
|
jt,
|
|
3793
3793
|
{
|
|
3794
3794
|
classNameRoot: ee,
|
|
3795
3795
|
tooltipPosition: C,
|
|
3796
|
-
required:
|
|
3796
|
+
required: d,
|
|
3797
3797
|
label: a,
|
|
3798
|
-
infoTooltipText:
|
|
3799
|
-
classNameBaseTooltipRoot:
|
|
3798
|
+
infoTooltipText: b,
|
|
3799
|
+
classNameBaseTooltipRoot: w
|
|
3800
3800
|
}
|
|
3801
3801
|
),
|
|
3802
3802
|
/* @__PURE__ */ H("div", { className: P, onMouseEnter: v, children: [
|
|
3803
|
-
/* @__PURE__ */
|
|
3803
|
+
/* @__PURE__ */ u(
|
|
3804
3804
|
"input",
|
|
3805
3805
|
{
|
|
3806
3806
|
...c,
|
|
3807
|
-
placeholder:
|
|
3807
|
+
placeholder: T,
|
|
3808
3808
|
disabled: r,
|
|
3809
3809
|
onChange: se,
|
|
3810
|
-
title:
|
|
3810
|
+
title: y ? o : void 0,
|
|
3811
3811
|
value: o,
|
|
3812
3812
|
name: p,
|
|
3813
3813
|
className: L,
|
|
3814
3814
|
ref: t
|
|
3815
3815
|
}
|
|
3816
3816
|
),
|
|
3817
|
-
m && o && !r && /* @__PURE__ */
|
|
3817
|
+
m && o && !r && /* @__PURE__ */ u(he, { onClick: ae, className: Q, name: ue.Trash })
|
|
3818
3818
|
] }),
|
|
3819
|
-
s && /* @__PURE__ */
|
|
3819
|
+
s && /* @__PURE__ */ u("div", { className: te, children: s })
|
|
3820
3820
|
] });
|
|
3821
3821
|
});
|
|
3822
|
-
|
|
3823
|
-
const
|
|
3822
|
+
Ji.displayName = "Input";
|
|
3823
|
+
const er = co({
|
|
3824
3824
|
device: {
|
|
3825
3825
|
isDesktop: !1,
|
|
3826
3826
|
isMobile: !1,
|
|
@@ -3828,16 +3828,16 @@ const tr = uo({
|
|
|
3828
3828
|
}
|
|
3829
3829
|
});
|
|
3830
3830
|
var Dt = {};
|
|
3831
|
-
Dt.match =
|
|
3832
|
-
Dt.parse =
|
|
3833
|
-
var
|
|
3834
|
-
function
|
|
3835
|
-
return
|
|
3831
|
+
Dt.match = rr;
|
|
3832
|
+
Dt.parse = Ao;
|
|
3833
|
+
var tr = /(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i, or = /\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/, nr = /^(?:(min|max)-)?(.+)/, ar = /(em|rem|px|cm|mm|in|pt|pc)?$/, ir = /(dpi|dpcm|dppx)?$/;
|
|
3834
|
+
function rr(e, t) {
|
|
3835
|
+
return Ao(e).some(function(o) {
|
|
3836
3836
|
var n = o.inverse, a = o.type === "all" || t.type === o.type;
|
|
3837
3837
|
if (a && n || !(a || n))
|
|
3838
3838
|
return !1;
|
|
3839
3839
|
var i = o.expressions.every(function(r) {
|
|
3840
|
-
var s = r.feature,
|
|
3840
|
+
var s = r.feature, d = r.modifier, p = r.value, m = t[s];
|
|
3841
3841
|
if (!m)
|
|
3842
3842
|
return !1;
|
|
3843
3843
|
switch (s) {
|
|
@@ -3866,7 +3866,7 @@ function sr(e, t) {
|
|
|
3866
3866
|
p = parseInt(p, 10) || 1, m = parseInt(m, 10) || 0;
|
|
3867
3867
|
break;
|
|
3868
3868
|
}
|
|
3869
|
-
switch (
|
|
3869
|
+
switch (d) {
|
|
3870
3870
|
case "min":
|
|
3871
3871
|
return m >= p;
|
|
3872
3872
|
case "max":
|
|
@@ -3878,16 +3878,16 @@ function sr(e, t) {
|
|
|
3878
3878
|
return i && !n || !i && n;
|
|
3879
3879
|
});
|
|
3880
3880
|
}
|
|
3881
|
-
function
|
|
3881
|
+
function Ao(e) {
|
|
3882
3882
|
return e.split(",").map(function(t) {
|
|
3883
3883
|
t = t.trim();
|
|
3884
|
-
var o = t.match(
|
|
3884
|
+
var o = t.match(tr), n = o[1], a = o[2], i = o[3] || "", r = {};
|
|
3885
3885
|
return r.inverse = !!n && n.toLowerCase() === "not", r.type = a ? a.toLowerCase() : "all", i = i.match(/\([^\)]+\)/g) || [], r.expressions = i.map(function(s) {
|
|
3886
|
-
var
|
|
3886
|
+
var d = s.match(or), p = d[1].toLowerCase().match(nr);
|
|
3887
3887
|
return {
|
|
3888
3888
|
modifier: p[1],
|
|
3889
3889
|
feature: p[2],
|
|
3890
|
-
value:
|
|
3890
|
+
value: d[2]
|
|
3891
3891
|
};
|
|
3892
3892
|
}), r;
|
|
3893
3893
|
});
|
|
@@ -3897,7 +3897,7 @@ function no(e) {
|
|
|
3897
3897
|
return t || (o = e.match(/^(\d+)\s*\/\s*(\d+)$/), t = o[1] / o[2]), t;
|
|
3898
3898
|
}
|
|
3899
3899
|
function ao(e) {
|
|
3900
|
-
var t = parseFloat(e), o = String(e).match(
|
|
3900
|
+
var t = parseFloat(e), o = String(e).match(ir)[1];
|
|
3901
3901
|
switch (o) {
|
|
3902
3902
|
case "dpcm":
|
|
3903
3903
|
return t / 2.54;
|
|
@@ -3908,7 +3908,7 @@ function ao(e) {
|
|
|
3908
3908
|
}
|
|
3909
3909
|
}
|
|
3910
3910
|
function io(e) {
|
|
3911
|
-
var t = parseFloat(e), o = String(e).match(
|
|
3911
|
+
var t = parseFloat(e), o = String(e).match(ar)[1];
|
|
3912
3912
|
switch (o) {
|
|
3913
3913
|
case "em":
|
|
3914
3914
|
return t * 16;
|
|
@@ -3928,10 +3928,10 @@ function io(e) {
|
|
|
3928
3928
|
return t;
|
|
3929
3929
|
}
|
|
3930
3930
|
}
|
|
3931
|
-
var
|
|
3932
|
-
function
|
|
3931
|
+
var sr = Dt.match, ro = typeof window < "u" ? window.matchMedia : null;
|
|
3932
|
+
function pr(e, t, o) {
|
|
3933
3933
|
var n = this, a;
|
|
3934
|
-
ro && !o && (a = ro.call(window, e)), a ? (this.matches = a.matches, this.media = a.media, a.addListener(s)) : (this.matches =
|
|
3934
|
+
ro && !o && (a = ro.call(window, e)), a ? (this.matches = a.matches, this.media = a.media, a.addListener(s)) : (this.matches = sr(e, t), this.media = e), this.addListener = i, this.removeListener = r, this.dispose = d;
|
|
3935
3935
|
function i(p) {
|
|
3936
3936
|
a && a.addListener(p);
|
|
3937
3937
|
}
|
|
@@ -3941,26 +3941,26 @@ function lr(e, t, o) {
|
|
|
3941
3941
|
function s(p) {
|
|
3942
3942
|
n.matches = p.matches, n.media = p.media;
|
|
3943
3943
|
}
|
|
3944
|
-
function
|
|
3944
|
+
function d() {
|
|
3945
3945
|
a && a.removeListener(s);
|
|
3946
3946
|
}
|
|
3947
3947
|
}
|
|
3948
|
-
function
|
|
3949
|
-
return new
|
|
3948
|
+
function lr(e, t, o) {
|
|
3949
|
+
return new pr(e, t, o);
|
|
3950
3950
|
}
|
|
3951
|
-
var
|
|
3952
|
-
const
|
|
3953
|
-
var
|
|
3954
|
-
function
|
|
3951
|
+
var cr = lr;
|
|
3952
|
+
const dr = /* @__PURE__ */ xo(cr);
|
|
3953
|
+
var ur = /[A-Z]/g, mr = /^ms-/, bt = {};
|
|
3954
|
+
function _r(e) {
|
|
3955
3955
|
return "-" + e.toLowerCase();
|
|
3956
3956
|
}
|
|
3957
|
-
function
|
|
3957
|
+
function jo(e) {
|
|
3958
3958
|
if (bt.hasOwnProperty(e))
|
|
3959
3959
|
return bt[e];
|
|
3960
|
-
var t = e.replace(
|
|
3961
|
-
return bt[e] =
|
|
3960
|
+
var t = e.replace(ur, _r);
|
|
3961
|
+
return bt[e] = mr.test(t) ? "-" + t : t;
|
|
3962
3962
|
}
|
|
3963
|
-
function
|
|
3963
|
+
function fr(e, t) {
|
|
3964
3964
|
if (e === t)
|
|
3965
3965
|
return !0;
|
|
3966
3966
|
if (!e || !t)
|
|
@@ -3975,37 +3975,37 @@ function vr(e, t) {
|
|
|
3975
3975
|
}
|
|
3976
3976
|
return !0;
|
|
3977
3977
|
}
|
|
3978
|
-
const me =
|
|
3979
|
-
all:
|
|
3980
|
-
grid:
|
|
3981
|
-
aural:
|
|
3982
|
-
braille:
|
|
3983
|
-
handheld:
|
|
3984
|
-
print:
|
|
3985
|
-
projection:
|
|
3986
|
-
screen:
|
|
3987
|
-
tty:
|
|
3988
|
-
tv:
|
|
3989
|
-
embossed:
|
|
3990
|
-
},
|
|
3991
|
-
orientation:
|
|
3992
|
-
scan:
|
|
3993
|
-
aspectRatio:
|
|
3994
|
-
deviceAspectRatio:
|
|
3978
|
+
const me = N.oneOfType([N.string, N.number]), Do = {
|
|
3979
|
+
all: N.bool,
|
|
3980
|
+
grid: N.bool,
|
|
3981
|
+
aural: N.bool,
|
|
3982
|
+
braille: N.bool,
|
|
3983
|
+
handheld: N.bool,
|
|
3984
|
+
print: N.bool,
|
|
3985
|
+
projection: N.bool,
|
|
3986
|
+
screen: N.bool,
|
|
3987
|
+
tty: N.bool,
|
|
3988
|
+
tv: N.bool,
|
|
3989
|
+
embossed: N.bool
|
|
3990
|
+
}, vr = {
|
|
3991
|
+
orientation: N.oneOf(["portrait", "landscape"]),
|
|
3992
|
+
scan: N.oneOf(["progressive", "interlace"]),
|
|
3993
|
+
aspectRatio: N.string,
|
|
3994
|
+
deviceAspectRatio: N.string,
|
|
3995
3995
|
height: me,
|
|
3996
3996
|
deviceHeight: me,
|
|
3997
3997
|
width: me,
|
|
3998
3998
|
deviceWidth: me,
|
|
3999
|
-
color:
|
|
4000
|
-
colorIndex:
|
|
4001
|
-
monochrome:
|
|
3999
|
+
color: N.bool,
|
|
4000
|
+
colorIndex: N.bool,
|
|
4001
|
+
monochrome: N.bool,
|
|
4002
4002
|
resolution: me,
|
|
4003
|
-
type: Object.keys(
|
|
4004
|
-
}, { type: Qs, ...
|
|
4005
|
-
minAspectRatio:
|
|
4006
|
-
maxAspectRatio:
|
|
4007
|
-
minDeviceAspectRatio:
|
|
4008
|
-
maxDeviceAspectRatio:
|
|
4003
|
+
type: Object.keys(Do)
|
|
4004
|
+
}, { type: Qs, ...xr } = vr, gr = {
|
|
4005
|
+
minAspectRatio: N.string,
|
|
4006
|
+
maxAspectRatio: N.string,
|
|
4007
|
+
minDeviceAspectRatio: N.string,
|
|
4008
|
+
maxDeviceAspectRatio: N.string,
|
|
4009
4009
|
minHeight: me,
|
|
4010
4010
|
maxHeight: me,
|
|
4011
4011
|
minDeviceHeight: me,
|
|
@@ -4014,47 +4014,47 @@ const me = T.oneOfType([T.string, T.number]), Io = {
|
|
|
4014
4014
|
maxWidth: me,
|
|
4015
4015
|
minDeviceWidth: me,
|
|
4016
4016
|
maxDeviceWidth: me,
|
|
4017
|
-
minColor:
|
|
4018
|
-
maxColor:
|
|
4019
|
-
minColorIndex:
|
|
4020
|
-
maxColorIndex:
|
|
4021
|
-
minMonochrome:
|
|
4022
|
-
maxMonochrome:
|
|
4017
|
+
minColor: N.number,
|
|
4018
|
+
maxColor: N.number,
|
|
4019
|
+
minColorIndex: N.number,
|
|
4020
|
+
maxColorIndex: N.number,
|
|
4021
|
+
minMonochrome: N.number,
|
|
4022
|
+
maxMonochrome: N.number,
|
|
4023
4023
|
minResolution: me,
|
|
4024
4024
|
maxResolution: me,
|
|
4025
|
-
...
|
|
4026
|
-
},
|
|
4027
|
-
var
|
|
4028
|
-
all:
|
|
4025
|
+
...xr
|
|
4026
|
+
}, hr = { ...Do, ...gr };
|
|
4027
|
+
var br = {
|
|
4028
|
+
all: hr
|
|
4029
4029
|
};
|
|
4030
|
-
const
|
|
4031
|
-
const o =
|
|
4032
|
-
return typeof t == "number" && (t = `${t}px`), t === !0 ? o : t === !1 ?
|
|
4033
|
-
},
|
|
4030
|
+
const yr = (e) => `not ${e}`, wr = (e, t) => {
|
|
4031
|
+
const o = jo(e);
|
|
4032
|
+
return typeof t == "number" && (t = `${t}px`), t === !0 ? o : t === !1 ? yr(o) : `(${o}: ${t})`;
|
|
4033
|
+
}, kr = (e) => e.join(" and "), Cr = (e) => {
|
|
4034
4034
|
const t = [];
|
|
4035
|
-
return Object.keys(
|
|
4035
|
+
return Object.keys(br.all).forEach((o) => {
|
|
4036
4036
|
const n = e[o];
|
|
4037
|
-
n != null && t.push(
|
|
4038
|
-
}),
|
|
4039
|
-
},
|
|
4037
|
+
n != null && t.push(wr(o, n));
|
|
4038
|
+
}), kr(t);
|
|
4039
|
+
}, Tr = co(void 0), Nr = (e) => e.query || Cr(e), so = (e) => e ? Object.keys(e).reduce((o, n) => (o[jo(n)] = e[n], o), {}) : void 0, Io = () => {
|
|
4040
4040
|
const e = fe(!1);
|
|
4041
4041
|
return re(() => {
|
|
4042
4042
|
e.current = !0;
|
|
4043
4043
|
}, []), e.current;
|
|
4044
|
-
},
|
|
4045
|
-
const t =
|
|
4044
|
+
}, Er = (e) => {
|
|
4045
|
+
const t = $o(Tr), o = () => so(e) || so(t), [n, a] = le(o);
|
|
4046
4046
|
return re(() => {
|
|
4047
4047
|
const i = o();
|
|
4048
|
-
|
|
4048
|
+
fr(n, i) || a(i);
|
|
4049
4049
|
}, [e, t]), n;
|
|
4050
|
-
},
|
|
4051
|
-
const t = () =>
|
|
4050
|
+
}, Sr = (e) => {
|
|
4051
|
+
const t = () => Nr(e), [o, n] = le(t);
|
|
4052
4052
|
return re(() => {
|
|
4053
4053
|
const a = t();
|
|
4054
4054
|
o !== a && n(a);
|
|
4055
4055
|
}, [e]), o;
|
|
4056
|
-
},
|
|
4057
|
-
const o = () =>
|
|
4056
|
+
}, Rr = (e, t) => {
|
|
4057
|
+
const o = () => dr(e, t || {}, !!t), [n, a] = le(o), i = Io();
|
|
4058
4058
|
return re(() => {
|
|
4059
4059
|
if (i) {
|
|
4060
4060
|
const r = o();
|
|
@@ -4063,7 +4063,7 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4063
4063
|
};
|
|
4064
4064
|
}
|
|
4065
4065
|
}, [e, t]), n;
|
|
4066
|
-
},
|
|
4066
|
+
}, Ar = (e) => {
|
|
4067
4067
|
const [t, o] = le(e.matches);
|
|
4068
4068
|
return re(() => {
|
|
4069
4069
|
const n = (a) => {
|
|
@@ -4074,15 +4074,15 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4074
4074
|
};
|
|
4075
4075
|
}, [e]), t;
|
|
4076
4076
|
}, yt = (e, t, o) => {
|
|
4077
|
-
const n =
|
|
4077
|
+
const n = Er(t), a = Sr(e);
|
|
4078
4078
|
if (!a)
|
|
4079
4079
|
throw new Error("Invalid or missing MediaQuery!");
|
|
4080
|
-
const i =
|
|
4081
|
-
return
|
|
4080
|
+
const i = Rr(a, n), r = Ar(i);
|
|
4081
|
+
return Io(), re(() => {
|
|
4082
4082
|
}, [r]), re(() => () => {
|
|
4083
4083
|
i && i.dispose();
|
|
4084
4084
|
}, []), r;
|
|
4085
|
-
},
|
|
4085
|
+
}, jr = (e) => {
|
|
4086
4086
|
const { desktop: t, tablet: o, mobile: n } = e, a = yt(t), i = yt(o), r = yt(n);
|
|
4087
4087
|
return {
|
|
4088
4088
|
device: {
|
|
@@ -4092,9 +4092,9 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4092
4092
|
}
|
|
4093
4093
|
};
|
|
4094
4094
|
}, Js = (e) => {
|
|
4095
|
-
const { breakpoints: t, children: o } = e, { device: n } =
|
|
4096
|
-
return /* @__PURE__ */
|
|
4097
|
-
|
|
4095
|
+
const { breakpoints: t, children: o } = e, { device: n } = jr(t);
|
|
4096
|
+
return /* @__PURE__ */ u(
|
|
4097
|
+
er.Provider,
|
|
4098
4098
|
{
|
|
4099
4099
|
value: {
|
|
4100
4100
|
device: n
|
|
@@ -4102,16 +4102,21 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4102
4102
|
children: o
|
|
4103
4103
|
}
|
|
4104
4104
|
);
|
|
4105
|
-
},
|
|
4106
|
-
const { targetValue: t, duration: o =
|
|
4105
|
+
}, Dr = 2e3, Ir = (e) => {
|
|
4106
|
+
const { targetValue: t, duration: o = Dr, doneValue: n } = e, [a, i] = le(t), r = fe(), s = fe(0), d = fe(), p = fe(t), [m, l] = le(!1), v = fe();
|
|
4107
4107
|
return re(() => {
|
|
4108
4108
|
if (p.current = t, t === s.current) return;
|
|
4109
|
-
r.current && cancelAnimationFrame(r.current),
|
|
4110
|
-
|
|
4111
|
-
|
|
4112
|
-
|
|
4109
|
+
if (r.current && cancelAnimationFrame(r.current), t === n) {
|
|
4110
|
+
i(n), s.current = n;
|
|
4111
|
+
return;
|
|
4112
|
+
}
|
|
4113
|
+
s.current = a, d.current = performance.now();
|
|
4114
|
+
const b = (C) => {
|
|
4115
|
+
if (!d.current) return;
|
|
4116
|
+
const y = C - d.current, T = Math.min(y / o, 1), A = T < 0.5 ? 4 * T * T * T : 1 - Math.pow(-2 * T + 2, 3) / 2, M = s.current + (p.current - s.current) * A, j = Math.max(0, Math.floor(M));
|
|
4117
|
+
i(j), T < 1 && (r.current = requestAnimationFrame(b));
|
|
4113
4118
|
};
|
|
4114
|
-
return r.current = requestAnimationFrame(
|
|
4119
|
+
return r.current = requestAnimationFrame(b), () => {
|
|
4115
4120
|
r.current && cancelAnimationFrame(r.current);
|
|
4116
4121
|
};
|
|
4117
4122
|
}, [t, o, n]), re(() => (a === n ? v.current = window.setTimeout(() => {
|
|
@@ -4141,7 +4146,7 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4141
4146
|
children: i,
|
|
4142
4147
|
doneValue: r = 100,
|
|
4143
4148
|
animationVariant: s = "backgroundProgress"
|
|
4144
|
-
} = e, { animatedValue:
|
|
4149
|
+
} = e, { animatedValue: d, isLoading: p } = Ir({
|
|
4145
4150
|
targetValue: t,
|
|
4146
4151
|
duration: a,
|
|
4147
4152
|
doneValue: r
|
|
@@ -4157,20 +4162,20 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4157
4162
|
[Re.progressWrapper__childrenWrapper]: !0,
|
|
4158
4163
|
[Re[`progressWrapper__childrenWrapper--animated-${s}`]]: s,
|
|
4159
4164
|
[Re.progressWrapper__childrenWrapper_loading]: p
|
|
4160
|
-
}),
|
|
4161
|
-
"--progress": `${
|
|
4165
|
+
}), b = {
|
|
4166
|
+
"--progress": `${d / r * 100}%`
|
|
4162
4167
|
};
|
|
4163
4168
|
return /* @__PURE__ */ H("div", { className: m, children: [
|
|
4164
|
-
/* @__PURE__ */
|
|
4169
|
+
/* @__PURE__ */ u(
|
|
4165
4170
|
"div",
|
|
4166
4171
|
{
|
|
4167
4172
|
className: v,
|
|
4168
|
-
style: s === "backgroundProgress" ?
|
|
4173
|
+
style: s === "backgroundProgress" ? b : void 0,
|
|
4169
4174
|
children: i
|
|
4170
4175
|
}
|
|
4171
4176
|
),
|
|
4172
4177
|
p && /* @__PURE__ */ H(Ne, { classNameRoot: l, children: [
|
|
4173
|
-
|
|
4178
|
+
d,
|
|
4174
4179
|
"%"
|
|
4175
4180
|
] })
|
|
4176
4181
|
] });
|
|
@@ -4198,35 +4203,35 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4198
4203
|
variant: i = "outlined",
|
|
4199
4204
|
onChange: r,
|
|
4200
4205
|
onMouseEnter: s,
|
|
4201
|
-
error:
|
|
4206
|
+
error: d,
|
|
4202
4207
|
label: p,
|
|
4203
4208
|
infoTooltipText: m,
|
|
4204
4209
|
tooltipPosition: l,
|
|
4205
4210
|
disabled: v,
|
|
4206
|
-
required:
|
|
4211
|
+
required: b,
|
|
4207
4212
|
maxHeightList: C = Mr,
|
|
4208
|
-
isVisibleDefaultTitle:
|
|
4209
|
-
isScrollableList:
|
|
4210
|
-
classNameRoot:
|
|
4213
|
+
isVisibleDefaultTitle: y = !0,
|
|
4214
|
+
isScrollableList: T = !1,
|
|
4215
|
+
classNameRoot: A,
|
|
4211
4216
|
classNameError: M,
|
|
4212
4217
|
classNameLabel: j,
|
|
4213
|
-
classNameBaseTooltipRoot:
|
|
4214
|
-
} = e, [c,
|
|
4215
|
-
|
|
4218
|
+
classNameBaseTooltipRoot: w
|
|
4219
|
+
} = e, [c, S] = le(!1), P = fe(null);
|
|
4220
|
+
fo(
|
|
4216
4221
|
[P],
|
|
4217
4222
|
() => {
|
|
4218
|
-
|
|
4223
|
+
S(!1);
|
|
4219
4224
|
},
|
|
4220
4225
|
c
|
|
4221
4226
|
);
|
|
4222
4227
|
const L = t.find((_) => _.value === n), Q = (_, h) => {
|
|
4223
|
-
r(_, { value: h, name: a }),
|
|
4228
|
+
r(_, { value: h, name: a }), S(!1);
|
|
4224
4229
|
}, te = () => {
|
|
4225
|
-
v ||
|
|
4230
|
+
v || S(!c);
|
|
4226
4231
|
}, ee = f({
|
|
4227
4232
|
[ge.spSelect]: !0,
|
|
4228
|
-
[ge.spSelect_error]: !!
|
|
4229
|
-
...
|
|
4233
|
+
[ge.spSelect_error]: !!d,
|
|
4234
|
+
...A && { [A]: !0 }
|
|
4230
4235
|
}), ae = f({
|
|
4231
4236
|
[ge.spSelect__container]: !0
|
|
4232
4237
|
}), se = f({
|
|
@@ -4240,7 +4245,7 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4240
4245
|
[ge.spSelect__icon]: !0
|
|
4241
4246
|
}), k = f({
|
|
4242
4247
|
[ge.spSelect__list]: !0,
|
|
4243
|
-
[ge.spSelect__list_scrollable]:
|
|
4248
|
+
[ge.spSelect__list_scrollable]: T
|
|
4244
4249
|
}), $ = f({
|
|
4245
4250
|
...j && { [j]: !0 }
|
|
4246
4251
|
}), X = f({
|
|
@@ -4248,15 +4253,15 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4248
4253
|
...M && { [M]: !0 }
|
|
4249
4254
|
});
|
|
4250
4255
|
return /* @__PURE__ */ H("div", { className: ee, ref: P, children: [
|
|
4251
|
-
p && /* @__PURE__ */
|
|
4256
|
+
p && /* @__PURE__ */ u(
|
|
4252
4257
|
jt,
|
|
4253
4258
|
{
|
|
4254
4259
|
classNameRoot: $,
|
|
4255
4260
|
tooltipPosition: l,
|
|
4256
|
-
required:
|
|
4261
|
+
required: b,
|
|
4257
4262
|
label: p,
|
|
4258
4263
|
infoTooltipText: m,
|
|
4259
|
-
classNameBaseTooltipRoot:
|
|
4264
|
+
classNameBaseTooltipRoot: w
|
|
4260
4265
|
}
|
|
4261
4266
|
),
|
|
4262
4267
|
/* @__PURE__ */ H("div", { className: ae, onMouseEnter: s, children: [
|
|
@@ -4264,12 +4269,12 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4264
4269
|
"div",
|
|
4265
4270
|
{
|
|
4266
4271
|
tabIndex: v ? -1 : 0,
|
|
4267
|
-
title:
|
|
4272
|
+
title: y ? n : void 0,
|
|
4268
4273
|
className: se,
|
|
4269
4274
|
onClick: te,
|
|
4270
4275
|
children: [
|
|
4271
|
-
/* @__PURE__ */
|
|
4272
|
-
/* @__PURE__ */
|
|
4276
|
+
/* @__PURE__ */ u("div", { className: K, children: (L == null ? void 0 : L.label) || o }),
|
|
4277
|
+
/* @__PURE__ */ u(
|
|
4273
4278
|
he,
|
|
4274
4279
|
{
|
|
4275
4280
|
name: ue.SelectChevronDown,
|
|
@@ -4280,11 +4285,11 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4280
4285
|
]
|
|
4281
4286
|
}
|
|
4282
4287
|
),
|
|
4283
|
-
c && /* @__PURE__ */
|
|
4288
|
+
c && /* @__PURE__ */ u(
|
|
4284
4289
|
"div",
|
|
4285
4290
|
{
|
|
4286
4291
|
className: k,
|
|
4287
|
-
style:
|
|
4292
|
+
style: T ? { maxHeight: `${C}px` } : {},
|
|
4288
4293
|
children: t.map((_) => {
|
|
4289
4294
|
const h = _.value === n;
|
|
4290
4295
|
return /* @__PURE__ */ H(
|
|
@@ -4296,7 +4301,7 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4296
4301
|
onClick: (F) => Q(F, _.value),
|
|
4297
4302
|
children: [
|
|
4298
4303
|
_.label,
|
|
4299
|
-
h && /* @__PURE__ */
|
|
4304
|
+
h && /* @__PURE__ */ u(he, { name: ue.Check, className: Z })
|
|
4300
4305
|
]
|
|
4301
4306
|
},
|
|
4302
4307
|
_.value
|
|
@@ -4305,7 +4310,7 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4305
4310
|
}
|
|
4306
4311
|
)
|
|
4307
4312
|
] }),
|
|
4308
|
-
|
|
4313
|
+
d && /* @__PURE__ */ u("div", { className: X, children: d })
|
|
4309
4314
|
] });
|
|
4310
4315
|
}, os = "_skeleton_1u7gu_43", ns = {
|
|
4311
4316
|
skeleton: os
|
|
@@ -4316,8 +4321,8 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4316
4321
|
borderRadius: n ? "50%" : "0",
|
|
4317
4322
|
...i
|
|
4318
4323
|
};
|
|
4319
|
-
return /* @__PURE__ */
|
|
4320
|
-
},
|
|
4324
|
+
return /* @__PURE__ */ u("div", { style: r, className: f(a, ns.skeleton) });
|
|
4325
|
+
}, po = (e) => e == null || e === "" ? !0 : typeof e != "string" && typeof e.toString != "function" ? !1 : e.toString().replace(/\s/g, "").length < 1, as = "_spTable_1vuaj_43", is = "_spTable__tdContentCopyIcon_1vuaj_62", rs = "_spTable__tdContent_1vuaj_62", ss = "_spTable__tdColorContent_1vuaj_72", ps = "_spTable__tdContentCopyIcon_copied_1vuaj_85", ls = "_spTable__emptyPage_1vuaj_89", cs = "_spStringsGroup_1vuaj_105", ds = "_spStringsGroup__groupItem_1vuaj_119", us = "_spStringsGroup__groupItemHeader_1vuaj_134", ms = "_spStringsGroup__groupItemContent_1vuaj_138", _s = "_spStringsGroup__groupItemContentCopyIcon_1vuaj_144", fs = "_spStringsGroup__groupItemContentCopyIcon_copied_1vuaj_151", ye = {
|
|
4321
4326
|
spTable: as,
|
|
4322
4327
|
spTable__tdContentCopyIcon: is,
|
|
4323
4328
|
spTable__tdContent: rs,
|
|
@@ -4337,58 +4342,58 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4337
4342
|
isNotTableOnNotDesktop: n = !1,
|
|
4338
4343
|
isDesktop: a = !0,
|
|
4339
4344
|
classNameRoot: i
|
|
4340
|
-
} = e, r = t.map((
|
|
4341
|
-
...
|
|
4342
|
-
isVisible: o.some((c) => !!c[
|
|
4343
|
-
} :
|
|
4345
|
+
} = e, r = t.map((w) => o ? {
|
|
4346
|
+
...w,
|
|
4347
|
+
isVisible: o.some((c) => !!c[w.key])
|
|
4348
|
+
} : w).filter((w) => w.isVisible), s = f({
|
|
4344
4349
|
[ye.spTable]: !0,
|
|
4345
4350
|
...i && { [i]: !0 }
|
|
4346
|
-
}),
|
|
4351
|
+
}), d = f({
|
|
4347
4352
|
[ye.spTable__tdContent]: !0
|
|
4348
4353
|
}), p = f({
|
|
4349
4354
|
[ye.spTable__tdColorContent]: !0
|
|
4350
4355
|
}), m = f({
|
|
4351
4356
|
[ye.spTable__emptyPage]: !0
|
|
4352
|
-
}), [l, v] = le(null),
|
|
4353
|
-
const { text: c, rowIndex:
|
|
4354
|
-
(l == null ? void 0 : l.rowIndex) ===
|
|
4355
|
-
v({ rowIndex:
|
|
4357
|
+
}), [l, v] = le(null), b = (w) => {
|
|
4358
|
+
const { text: c, rowIndex: S, colIndex: P } = w;
|
|
4359
|
+
(l == null ? void 0 : l.rowIndex) === S && (l == null ? void 0 : l.colIndex) === P || navigator.clipboard.writeText(c).then(() => {
|
|
4360
|
+
v({ rowIndex: S, colIndex: P });
|
|
4356
4361
|
}).catch((L) => {
|
|
4357
4362
|
console.error("Ошибка при копировании:", L);
|
|
4358
4363
|
});
|
|
4359
4364
|
}, C = () => {
|
|
4360
4365
|
v(null);
|
|
4361
|
-
},
|
|
4362
|
-
row:
|
|
4366
|
+
}, y = () => /* @__PURE__ */ u("div", { className: m, children: "Данные отсутствуют" }), T = ({
|
|
4367
|
+
row: w,
|
|
4363
4368
|
col: c
|
|
4364
4369
|
}) => {
|
|
4365
|
-
const
|
|
4366
|
-
if (!
|
|
4367
|
-
const [P, L] =
|
|
4370
|
+
const S = w[c.key];
|
|
4371
|
+
if (!S) return null;
|
|
4372
|
+
const [P, L] = S.split(/\s*\{\{|}}\s*/).filter(Boolean);
|
|
4368
4373
|
return /* @__PURE__ */ H("span", { children: [
|
|
4369
4374
|
P,
|
|
4370
|
-
L && /* @__PURE__ */
|
|
4375
|
+
L && /* @__PURE__ */ u("span", { className: p, children: ` ${L}` })
|
|
4371
4376
|
] });
|
|
4372
|
-
},
|
|
4373
|
-
/* @__PURE__ */
|
|
4377
|
+
}, A = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ H("table", { className: s, children: [
|
|
4378
|
+
/* @__PURE__ */ u("colgroup", { children: r.map((w, c, S) => /* @__PURE__ */ u(
|
|
4374
4379
|
"col",
|
|
4375
4380
|
{
|
|
4376
4381
|
style: {
|
|
4377
|
-
width: `calc(100%/${
|
|
4382
|
+
width: `calc(100%/${S.length})`
|
|
4378
4383
|
}
|
|
4379
4384
|
},
|
|
4380
4385
|
c
|
|
4381
4386
|
)) }),
|
|
4382
|
-
/* @__PURE__ */
|
|
4383
|
-
/* @__PURE__ */
|
|
4387
|
+
/* @__PURE__ */ u("thead", { children: /* @__PURE__ */ u("tr", { children: r.map((w, c) => /* @__PURE__ */ u("th", { children: w.title }, c)) }) }),
|
|
4388
|
+
/* @__PURE__ */ u("tbody", { children: o.map((w, c) => w ? /* @__PURE__ */ u("tr", { children: r.map((S, P) => {
|
|
4384
4389
|
const L = (l == null ? void 0 : l.rowIndex) === c && (l == null ? void 0 : l.colIndex) === P;
|
|
4385
|
-
return /* @__PURE__ */
|
|
4390
|
+
return /* @__PURE__ */ u(
|
|
4386
4391
|
"td",
|
|
4387
4392
|
{
|
|
4388
4393
|
onMouseLeave: L ? C : void 0,
|
|
4389
|
-
children: /* @__PURE__ */ H("div", { className:
|
|
4390
|
-
/* @__PURE__ */
|
|
4391
|
-
!
|
|
4394
|
+
children: /* @__PURE__ */ H("div", { className: d, children: [
|
|
4395
|
+
/* @__PURE__ */ u("span", { children: S.isColorContentsCurlyBrackets ? T({ row: w, col: S }) : w[S.key] }),
|
|
4396
|
+
!po(w[S.key]) && S.isBeCopiedValue && /* @__PURE__ */ u(
|
|
4392
4397
|
he,
|
|
4393
4398
|
{
|
|
4394
4399
|
className: f({
|
|
@@ -4397,9 +4402,9 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4397
4402
|
}),
|
|
4398
4403
|
name: L ? ue.Check : ue.Copy,
|
|
4399
4404
|
onClick: () => {
|
|
4400
|
-
const Q =
|
|
4405
|
+
const Q = w[S.key];
|
|
4401
4406
|
if (!Q) return null;
|
|
4402
|
-
|
|
4407
|
+
b({
|
|
4403
4408
|
text: Q,
|
|
4404
4409
|
rowIndex: c,
|
|
4405
4410
|
colIndex: P
|
|
@@ -4412,14 +4417,14 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4412
4417
|
`${c}:${P}`
|
|
4413
4418
|
);
|
|
4414
4419
|
}) }, c) : null) })
|
|
4415
|
-
] }) :
|
|
4420
|
+
] }) : y(), M = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ u(
|
|
4416
4421
|
"div",
|
|
4417
4422
|
{
|
|
4418
4423
|
className: f({
|
|
4419
4424
|
[ye.spStringsGroup]: !0
|
|
4420
4425
|
}),
|
|
4421
|
-
children: o.map((
|
|
4422
|
-
if (
|
|
4426
|
+
children: o.map((w, c) => w ? /* @__PURE__ */ u("div", { children: r.map((S, P) => {
|
|
4427
|
+
if (po(w[S.key]))
|
|
4423
4428
|
return null;
|
|
4424
4429
|
const L = (l == null ? void 0 : l.rowIndex) === c && (l == null ? void 0 : l.colIndex) === P;
|
|
4425
4430
|
return /* @__PURE__ */ H(
|
|
@@ -4430,13 +4435,13 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4430
4435
|
}),
|
|
4431
4436
|
onMouseLeave: L ? C : void 0,
|
|
4432
4437
|
children: [
|
|
4433
|
-
/* @__PURE__ */
|
|
4438
|
+
/* @__PURE__ */ u(
|
|
4434
4439
|
"div",
|
|
4435
4440
|
{
|
|
4436
4441
|
className: f({
|
|
4437
4442
|
[ye.spStringsGroup__groupItemHeader]: !0
|
|
4438
4443
|
}),
|
|
4439
|
-
children:
|
|
4444
|
+
children: S.title
|
|
4440
4445
|
}
|
|
4441
4446
|
),
|
|
4442
4447
|
/* @__PURE__ */ H(
|
|
@@ -4446,8 +4451,8 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4446
4451
|
[ye.spStringsGroup__groupItemContent]: !0
|
|
4447
4452
|
}),
|
|
4448
4453
|
children: [
|
|
4449
|
-
/* @__PURE__ */
|
|
4450
|
-
|
|
4454
|
+
/* @__PURE__ */ u("span", { children: S.isColorContentsCurlyBrackets ? T({ row: w, col: S }) : w[S.key] }),
|
|
4455
|
+
S.isBeCopiedValue && /* @__PURE__ */ u(
|
|
4451
4456
|
he,
|
|
4452
4457
|
{
|
|
4453
4458
|
className: f({
|
|
@@ -4456,9 +4461,9 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4456
4461
|
}),
|
|
4457
4462
|
name: L ? ue.Check : ue.Copy,
|
|
4458
4463
|
onClick: () => {
|
|
4459
|
-
const Q =
|
|
4464
|
+
const Q = w[S.key];
|
|
4460
4465
|
if (!Q) return null;
|
|
4461
|
-
|
|
4466
|
+
b({
|
|
4462
4467
|
text: Q,
|
|
4463
4468
|
rowIndex: c,
|
|
4464
4469
|
colIndex: P
|
|
@@ -4475,8 +4480,8 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4475
4480
|
);
|
|
4476
4481
|
}) }, c) : null)
|
|
4477
4482
|
}
|
|
4478
|
-
) :
|
|
4479
|
-
return n ? a ?
|
|
4483
|
+
) : y();
|
|
4484
|
+
return n ? a ? A() : M() : A();
|
|
4480
4485
|
}, vs = "_spTabs_1citb_43", xs = "_spTabs_separated_1citb_48", gs = "_spTabs__tabElement_1citb_48", hs = "_spTabs__tabElement_active_1citb_83", bs = "_spTabs__triggerTooltip_1citb_90", Ae = {
|
|
4481
4486
|
spTabs: vs,
|
|
4482
4487
|
spTabs_separated: xs,
|
|
@@ -4501,7 +4506,7 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4501
4506
|
[Ae[`spTabs--variant-${i}`]]: i,
|
|
4502
4507
|
[Ae[`spTabs--size-${r}`]]: r,
|
|
4503
4508
|
...n && { [n]: !0 }
|
|
4504
|
-
}),
|
|
4509
|
+
}), d = f({
|
|
4505
4510
|
[Ae.spTabs__triggerTooltip]: !0
|
|
4506
4511
|
}), p = () => {
|
|
4507
4512
|
switch (r) {
|
|
@@ -4511,23 +4516,23 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4511
4516
|
return "p1";
|
|
4512
4517
|
}
|
|
4513
4518
|
};
|
|
4514
|
-
return /* @__PURE__ */
|
|
4515
|
-
const { name: v, active:
|
|
4519
|
+
return /* @__PURE__ */ u("div", { className: s, children: t.map((m, l) => {
|
|
4520
|
+
const { name: v, active: b, onClick: C, infoTooltipText: y } = m;
|
|
4516
4521
|
return /* @__PURE__ */ H(
|
|
4517
4522
|
"div",
|
|
4518
4523
|
{
|
|
4519
4524
|
className: f({
|
|
4520
4525
|
[Ae.spTabs__tabElement]: !0,
|
|
4521
|
-
[Ae.spTabs__tabElement_active]:
|
|
4526
|
+
[Ae.spTabs__tabElement_active]: b
|
|
4522
4527
|
}),
|
|
4523
4528
|
onClick: C,
|
|
4524
4529
|
children: [
|
|
4525
|
-
/* @__PURE__ */
|
|
4526
|
-
!!
|
|
4530
|
+
/* @__PURE__ */ u(Ne, { type: p(), children: v }),
|
|
4531
|
+
!!y && /* @__PURE__ */ u(
|
|
4527
4532
|
Je,
|
|
4528
4533
|
{
|
|
4529
|
-
classNameTriggerTooltip:
|
|
4530
|
-
text:
|
|
4534
|
+
classNameTriggerTooltip: d,
|
|
4535
|
+
text: y,
|
|
4531
4536
|
classNameBaseTooltipRoot: a
|
|
4532
4537
|
}
|
|
4533
4538
|
)
|
|
@@ -4541,8 +4546,8 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4541
4546
|
}, ip = (e) => {
|
|
4542
4547
|
const { children: t, label: o, style: n, ...a } = e;
|
|
4543
4548
|
return /* @__PURE__ */ H("div", { className: ws.spTextWithLabel, style: { ...n }, children: [
|
|
4544
|
-
/* @__PURE__ */
|
|
4545
|
-
/* @__PURE__ */
|
|
4549
|
+
/* @__PURE__ */ u(jt, { label: o }),
|
|
4550
|
+
/* @__PURE__ */ u(Ne, { ...a, children: t })
|
|
4546
4551
|
] });
|
|
4547
4552
|
}, ks = "_spUploadFiles_isuxw_43", Cs = "_spUploadFiles_error_isuxw_49", Ts = "_spUploadFiles__control_isuxw_49", Ns = "_spUploadFiles__placeholder_isuxw_57", Es = "_spUploadFiles__control_loading_isuxw_71", Ss = "_shimmer_isuxw_1", Rs = "_spUploadFiles__fileName_isuxw_86", As = "_spUploadFiles_fileUploaded_isuxw_118", js = "_spUploadFiles_disabled_isuxw_118", Ds = "_spUploadFiles__fileNamesList_isuxw_129", Is = "_spUploadFiles__fileNamesList_loading_isuxw_138", Ls = "_spUploadFiles__fileNamesListItem_isuxw_143", Fs = "_spUploadFiles__fileNamesListItem__triggerTooltip_isuxw_162", Os = "_spUploadFiles__fileNamesListItemDelete_isuxw_165", zs = "_spUploadFiles__tooltipWrapper_isuxw_180", Ps = "_spUploadFiles__tooltip_isuxw_180", Bs = "_spUploadFiles__delete_isuxw_186", Ws = "_spUploadFiles__delete_loading_isuxw_190", Ms = "_spUploadFiles__error_isuxw_199", ne = {
|
|
4548
4553
|
spUploadFiles: ks,
|
|
@@ -4575,29 +4580,29 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4575
4580
|
maxSize: i,
|
|
4576
4581
|
accept: r,
|
|
4577
4582
|
disabled: s,
|
|
4578
|
-
multiple:
|
|
4583
|
+
multiple: d,
|
|
4579
4584
|
maxFiles: p,
|
|
4580
4585
|
files: m = [],
|
|
4581
4586
|
infoTooltipText: l,
|
|
4582
4587
|
tooltipPosition: v = de.TopRight,
|
|
4583
|
-
classNameRoot:
|
|
4588
|
+
classNameRoot: b,
|
|
4584
4589
|
loading: C,
|
|
4585
|
-
error:
|
|
4586
|
-
} = e,
|
|
4590
|
+
error: y
|
|
4591
|
+
} = e, T = m.map((ee) => ee.name), A = (T == null ? void 0 : T.length) > 0, M = o === "input", j = f({
|
|
4587
4592
|
[ne.spUploadFiles]: !0,
|
|
4588
4593
|
[ne[`spUploadFiles--variant-${o}`]]: o,
|
|
4589
|
-
[ne.spUploadFiles_error]: !!
|
|
4594
|
+
[ne.spUploadFiles_error]: !!y,
|
|
4590
4595
|
[ne.spUploadFiles_disabled]: s,
|
|
4591
|
-
[ne.spUploadFiles_multiple]:
|
|
4592
|
-
[ne.spUploadFiles_fileUploaded]:
|
|
4593
|
-
...
|
|
4594
|
-
}),
|
|
4596
|
+
[ne.spUploadFiles_multiple]: d,
|
|
4597
|
+
[ne.spUploadFiles_fileUploaded]: A,
|
|
4598
|
+
...b && { [b]: !0 }
|
|
4599
|
+
}), w = f({
|
|
4595
4600
|
[ne.spUploadFiles__control]: !0,
|
|
4596
4601
|
[ne.spUploadFiles__control_loading]: C
|
|
4597
4602
|
}), c = f({
|
|
4598
4603
|
[ne.spUploadFiles__fileNamesList]: !0,
|
|
4599
4604
|
[ne.spUploadFiles__fileNamesList_loading]: C
|
|
4600
|
-
}),
|
|
4605
|
+
}), S = f({
|
|
4601
4606
|
[ne.spUploadFiles__delete]: !0,
|
|
4602
4607
|
[ne.spUploadFiles__delete_loading]: C
|
|
4603
4608
|
}), P = (ee) => {
|
|
@@ -4607,7 +4612,7 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4607
4612
|
ae.splice(se, 1), a(ae, n);
|
|
4608
4613
|
}, L = (ee) => {
|
|
4609
4614
|
ee.stopPropagation(), a([], n);
|
|
4610
|
-
}, Q = () =>
|
|
4615
|
+
}, Q = () => d ? /* @__PURE__ */ u("ul", { className: c, children: T.map((ee, ae) => /* @__PURE__ */ H(
|
|
4611
4616
|
"li",
|
|
4612
4617
|
{
|
|
4613
4618
|
className: ne.spUploadFiles__fileNamesListItem,
|
|
@@ -4615,21 +4620,21 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4615
4620
|
se.stopPropagation(), P(ee);
|
|
4616
4621
|
},
|
|
4617
4622
|
children: [
|
|
4618
|
-
/* @__PURE__ */
|
|
4619
|
-
|
|
4623
|
+
/* @__PURE__ */ u(
|
|
4624
|
+
Fi,
|
|
4620
4625
|
{
|
|
4621
4626
|
type: "p2",
|
|
4622
4627
|
text: ee,
|
|
4623
4628
|
classNameTriggerTooltipRoot: ne.spUploadFiles__fileNamesListItem__triggerTooltip
|
|
4624
4629
|
}
|
|
4625
4630
|
),
|
|
4626
|
-
/* @__PURE__ */
|
|
4631
|
+
/* @__PURE__ */ u("div", { className: ne.spUploadFiles__fileNamesListItemDelete, children: /* @__PURE__ */ u(he, { name: ue.Trash }) })
|
|
4627
4632
|
]
|
|
4628
4633
|
},
|
|
4629
4634
|
ae
|
|
4630
|
-
)) }) : /* @__PURE__ */
|
|
4631
|
-
|
|
4632
|
-
|
|
4635
|
+
)) }) : /* @__PURE__ */ u(Ne, { isEllipsis: !0, classNameRoot: ne.spUploadFiles__fileName, children: T[0] }), te = () => /* @__PURE__ */ H(lo, { children: [
|
|
4636
|
+
A ? Q() : /* @__PURE__ */ u(Ne, { classNameRoot: ne.spUploadFiles__placeholder, children: t }),
|
|
4637
|
+
A ? /* @__PURE__ */ u("div", { className: S, onClick: L, children: /* @__PURE__ */ u(he, { name: ue.Close }) }) : M && l && /* @__PURE__ */ u(
|
|
4633
4638
|
Je,
|
|
4634
4639
|
{
|
|
4635
4640
|
classNameTooltip: ne.spUploadFiles__tooltipWrapper,
|
|
@@ -4639,59 +4644,60 @@ const wr = (e) => `not ${e}`, kr = (e, t) => {
|
|
|
4639
4644
|
}
|
|
4640
4645
|
)
|
|
4641
4646
|
] });
|
|
4642
|
-
return /* @__PURE__ */
|
|
4643
|
-
|
|
4647
|
+
return /* @__PURE__ */ u(
|
|
4648
|
+
Ci,
|
|
4644
4649
|
{
|
|
4645
4650
|
name: n,
|
|
4646
4651
|
files: m,
|
|
4647
|
-
multiple:
|
|
4652
|
+
multiple: d,
|
|
4648
4653
|
maxSize: i,
|
|
4649
4654
|
maxFiles: p,
|
|
4650
4655
|
accept: r,
|
|
4651
4656
|
onDropFiles: a,
|
|
4652
|
-
disabled: s ||
|
|
4657
|
+
disabled: s || A,
|
|
4653
4658
|
children: /* @__PURE__ */ H("div", { className: j, children: [
|
|
4654
|
-
/* @__PURE__ */ H("div", { className:
|
|
4655
|
-
M && (C ? /* @__PURE__ */
|
|
4659
|
+
/* @__PURE__ */ H("div", { className: w, children: [
|
|
4660
|
+
M && (C ? /* @__PURE__ */ u(mo, {}) : /* @__PURE__ */ u(he, { name: A ? ue.Check : ue.Upload })),
|
|
4656
4661
|
te()
|
|
4657
4662
|
] }),
|
|
4658
|
-
|
|
4663
|
+
y && /* @__PURE__ */ u("div", { className: ne.spUploadFiles__error, children: y })
|
|
4659
4664
|
] })
|
|
4660
4665
|
}
|
|
4661
4666
|
);
|
|
4662
4667
|
};
|
|
4663
4668
|
export {
|
|
4664
4669
|
Hs as Accordion,
|
|
4665
|
-
|
|
4666
|
-
|
|
4670
|
+
Wn as ApplyButtons,
|
|
4671
|
+
_o as BaseTooltip,
|
|
4667
4672
|
wt as Button,
|
|
4668
4673
|
Vs as Checkbox,
|
|
4669
4674
|
Gs as Confirm,
|
|
4670
4675
|
Ks as ContextMenu,
|
|
4671
|
-
|
|
4676
|
+
Ci as DefaultDropzone,
|
|
4672
4677
|
Xs as Dropdown,
|
|
4673
4678
|
ue as EIconName,
|
|
4674
4679
|
de as ETooltipPosition,
|
|
4675
|
-
|
|
4680
|
+
Fi as EllipsisTextWithTooltip,
|
|
4676
4681
|
Zs as Form,
|
|
4677
4682
|
he as Icon,
|
|
4678
4683
|
Je as InfoTooltip,
|
|
4679
|
-
|
|
4684
|
+
Ji as Input,
|
|
4680
4685
|
jt as Label,
|
|
4681
|
-
|
|
4682
|
-
|
|
4686
|
+
aa as Layer,
|
|
4687
|
+
er as MediaContext,
|
|
4683
4688
|
Js as MediaContextProvider,
|
|
4684
|
-
|
|
4685
|
-
|
|
4689
|
+
xa as Modal,
|
|
4690
|
+
vo as Portal,
|
|
4686
4691
|
ep as ProgressWrapper,
|
|
4687
4692
|
tp as Select,
|
|
4688
4693
|
op as Skeleton,
|
|
4689
|
-
|
|
4694
|
+
mo as Spinner,
|
|
4690
4695
|
np as Table,
|
|
4691
4696
|
ap as Tabs,
|
|
4692
4697
|
Ne as Text,
|
|
4693
4698
|
ip as TextWithLabel,
|
|
4694
4699
|
Rt as Tooltip,
|
|
4695
4700
|
rp as UploadFiles,
|
|
4701
|
+
Ir as useAnimatedValue,
|
|
4696
4702
|
Ys as useModal
|
|
4697
4703
|
};
|