test-stpr-ui-kit 0.4.8 → 0.4.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as H, jsx as l, Fragment as pn } from "react/jsx-runtime";
|
|
2
|
-
import * as
|
|
3
|
-
import We, { useState as ce, useEffect as ae, useRef as Ce, useCallback as le, forwardRef as
|
|
2
|
+
import * as j from "react";
|
|
3
|
+
import We, { useState as ce, useEffect as ae, useRef as Ce, useCallback as le, forwardRef as Pn, useImperativeHandle as Fn, Fragment as Mn, useMemo as Ae, useReducer as Bn, createContext as cn, useContext as ln } from "react";
|
|
4
4
|
import Wn from "react-dom";
|
|
5
5
|
import './test-stpr-ui-kit.css';function dn(e) {
|
|
6
6
|
var t, n, o = "";
|
|
@@ -15,9 +15,10 @@ function v() {
|
|
|
15
15
|
for (var e, t, n = 0, o = "", a = arguments.length; n < a; n++) (e = arguments[n]) && (t = dn(e)) && (o && (o += " "), o += t);
|
|
16
16
|
return o;
|
|
17
17
|
}
|
|
18
|
-
const qn = (e) => /* @__PURE__ */
|
|
18
|
+
const qn = (e) => /* @__PURE__ */ j.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__ */ j.createElement("path", { d: "M20 7L9 18L4 13", stroke: "currentColor", strokeWidth: 2 })), $n = (e) => /* @__PURE__ */ j.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__ */ j.createElement("path", { d: "M25 6L13 18L1 6", stroke: "currentColor", strokeWidth: 2 })), Hn = (e) => /* @__PURE__ */ j.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 20 20", fill: "none", ...e }, /* @__PURE__ */ j.createElement("line", { y1: -0.4, x2: 24.5568, y2: -0.4, transform: "matrix(0.680234 -0.732995 -0.680234 -0.732995 1 19)", stroke: "currentColor", strokeWidth: 0.8 }), /* @__PURE__ */ j.createElement("line", { y1: -0.4, x2: 24.5568, y2: -0.4, transform: "matrix(-0.680234 -0.732995 0.680234 -0.732995 18.9999 19)", stroke: "currentColor", strokeWidth: 0.8 })), Yn = (e) => /* @__PURE__ */ j.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__ */ j.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__ */ j.createElement("path", { d: "M5 15H4C3.46957 15 2.96086 14.7893 2.58579 14.4142C2.21071 14.0391 2 13.5304 2 13V4C2 3.46957 2.21071 2.96086 2.58579 2.58579C2.96086 2.21071 3.46957 2 4 2H13C13.5304 2 14.0391 2.21071 14.4142 2.58579C14.7893 2.96086 15 3.46957 15 4V5", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Vn = (e) => /* @__PURE__ */ j.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__ */ j.createElement("circle", { cx: 2, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ j.createElement("circle", { cx: 9, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ j.createElement("circle", { cx: 16, cy: 2, r: 2, fill: "currentColor" })), Un = (e) => /* @__PURE__ */ j.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__ */ j.createElement("path", { d: "M8 4.61111V8.5H11.8889M8 15.5C4.13401 15.5 1 12.366 1 8.5C1 4.63401 4.13401 1.5 8 1.5C11.866 1.5 15 4.63401 15 8.5C15 12.366 11.866 15.5 8 15.5Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Gn = (e) => /* @__PURE__ */ j.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__ */ j.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__ */ j.createElement("path", { d: "M12 8V12", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ j.createElement("path", { d: "M12 16H12.01", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Kn = (e) => /* @__PURE__ */ j.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__ */ j.createElement("path", { d: "M5 12H19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Xn = (e) => /* @__PURE__ */ j.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__ */ j.createElement("path", { d: "M12 5V19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ j.createElement("path", { d: "M5 12H19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Zn = (e) => /* @__PURE__ */ j.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__ */ j.createElement("path", { d: "M8 14.4C4.472 14.4 1.6 11.528 1.6 8C1.6 4.472 4.472 1.6 8 1.6C11.528 1.6 14.4 4.472 14.4 8C14.4 11.528 11.528 14.4 8 14.4ZM8 0C6.94943 0 5.90914 0.206926 4.93853 0.608964C3.96793 1.011 3.08601 1.60028 2.34315 2.34315C0.842855 3.84344 0 5.87827 0 8C0 10.1217 0.842855 12.1566 2.34315 13.6569C3.08601 14.3997 3.96793 14.989 4.93853 15.391C5.90914 15.7931 6.94943 16 8 16C10.1217 16 12.1566 15.1571 13.6569 13.6569C15.1571 12.1566 16 10.1217 16 8C16 6.94943 15.7931 5.90914 15.391 4.93853C14.989 3.96793 14.3997 3.08601 13.6569 2.34315C12.914 1.60028 12.0321 1.011 11.0615 0.608964C10.0909 0.206926 9.05058 0 8 0ZM8.8 4H7.2V7.2H4V8.8H7.2V12H8.8V8.8H12V7.2H8.8V4Z", fill: "currentColor" })), Qn = (e) => /* @__PURE__ */ j.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__ */ j.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__ */ j.createElement("path", { d: "M12 8V16", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ j.createElement("path", { d: "M8 12H16", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Jn = (e) => /* @__PURE__ */ j.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__ */ j.createElement("path", { d: "M12 15.275L6 9.275L7.275 8L12 12.725L16.725 8L18 9.275L12 15.275Z", fill: "currentColor" })), eo = (e) => /* @__PURE__ */ j.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__ */ j.createElement("path", { d: "M3 6H5H21", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ j.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__ */ j.createElement("path", { d: "M10 11V17", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ j.createElement("path", { d: "M14 11V17", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), to = (e) => /* @__PURE__ */ j.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__ */ j.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__ */ j.createElement("path", { d: "M14 5L10 1L6 5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ j.createElement("path", { d: "M10 2V13", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })), no = (e) => /* @__PURE__ */ j.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__ */ j.createElement("path", { d: "M12.971 2.24023L25.8228 24.5002H0.119141L12.971 2.24023Z", fill: "#002A64" }), /* @__PURE__ */ j.createElement("path", { d: "M13.0835 4.20023L25.2079 25.2002H0.959141L13.0835 4.20023Z", fill: "#036BFD" }), /* @__PURE__ */ j.createElement("path", { d: "M14.3991 21.0002H11.8791V23.5202H14.3991V21.0002Z", fill: "#F5F5F7" }), /* @__PURE__ */ j.createElement("path", { d: "M14.3991 10.6402H11.8791V19.8802H14.3991V10.6402Z", fill: "#F5F5F7" })), _e = (e) => {
|
|
19
19
|
const { name: t, rotate: n, ...o } = e, a = {
|
|
20
20
|
...o.style,
|
|
21
|
+
boxSizing: "border-box",
|
|
21
22
|
flexShrink: 0,
|
|
22
23
|
transform: n ? `rotate(${n}deg)` : ""
|
|
23
24
|
}, i = {
|
|
@@ -43,7 +44,7 @@ const qn = (e) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon
|
|
|
43
44
|
});
|
|
44
45
|
};
|
|
45
46
|
var re = /* @__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))(re || {});
|
|
46
|
-
const oo = "
|
|
47
|
+
const oo = "_spAccordion_zstv3_43", ao = "_spAccordion_noBorder_zstv3_60", io = "_spAccordion_noPadding_zstv3_63", ro = "_spAccordion__name_zstv3_66", so = "_spAccordion_open_zstv3_76", po = "_spAccordion__header_zstv3_79", co = "_spAccordion_noOpen_zstv3_87", lo = "_spAccordion__name_hiddenExpand_zstv3_118", uo = "_spAccordion__icon_zstv3_121", mo = "_spAccordion__icon_hidden_zstv3_131", fo = "_spAccordion__childrenWrapper_zstv3_137", vo = "_spAccordion__childrenWrapper_open_zstv3_146", _o = "_spAccordion__content_zstv3_149", fe = {
|
|
47
48
|
spAccordion: oo,
|
|
48
49
|
spAccordion_noBorder: ao,
|
|
49
50
|
spAccordion_noPadding: io,
|
|
@@ -57,7 +58,7 @@ const oo = "_spAccordion_1ohth_43", ao = "_spAccordion_noBorder_1ohth_56", io =
|
|
|
57
58
|
spAccordion__childrenWrapper: fo,
|
|
58
59
|
spAccordion__childrenWrapper_open: vo,
|
|
59
60
|
spAccordion__content: _o
|
|
60
|
-
},
|
|
61
|
+
}, hs = (e) => {
|
|
61
62
|
const {
|
|
62
63
|
name: t,
|
|
63
64
|
children: n,
|
|
@@ -66,59 +67,59 @@ const oo = "_spAccordion_1ohth_43", ao = "_spAccordion_noBorder_1ohth_56", io =
|
|
|
66
67
|
onOpen: i,
|
|
67
68
|
noBorder: r = !1,
|
|
68
69
|
noPadding: s = !1,
|
|
69
|
-
classNameRoot:
|
|
70
|
+
classNameRoot: u,
|
|
70
71
|
classNameHeader: d,
|
|
71
|
-
classNameTitle:
|
|
72
|
+
classNameTitle: m,
|
|
72
73
|
classNameIcon: c,
|
|
73
|
-
classNameChildrenWrapper:
|
|
74
|
-
} = e, [
|
|
75
|
-
a || (E(!
|
|
76
|
-
},
|
|
74
|
+
classNameChildrenWrapper: b
|
|
75
|
+
} = e, [y, E] = ce(o), k = () => {
|
|
76
|
+
a || (E(!y), i == null || i(!y));
|
|
77
|
+
}, I = v({
|
|
77
78
|
[fe.spAccordion]: !0,
|
|
78
|
-
[fe.spAccordion_open]:
|
|
79
|
-
[fe.spAccordion_noOpen]: !
|
|
79
|
+
[fe.spAccordion_open]: y,
|
|
80
|
+
[fe.spAccordion_noOpen]: !y,
|
|
80
81
|
[fe.spAccordion_noBorder]: r,
|
|
81
82
|
[fe.spAccordion_noPadding]: s,
|
|
82
|
-
...
|
|
83
|
+
...u && { [u]: !0 }
|
|
83
84
|
}), O = v({
|
|
84
85
|
[fe.spAccordion__header]: !0,
|
|
85
86
|
...d && { [d]: !0 }
|
|
86
87
|
}), Y = v({
|
|
87
88
|
[fe.spAccordion__name]: !0,
|
|
88
89
|
[fe.spAccordion__name_hiddenExpand]: a,
|
|
89
|
-
...
|
|
90
|
-
}),
|
|
90
|
+
...m && { [m]: !0 }
|
|
91
|
+
}), D = v({
|
|
91
92
|
[fe.spAccordion__icon]: !0,
|
|
92
93
|
[fe.spAccordion__icon_hidden]: a,
|
|
93
94
|
...c && { [c]: !0 }
|
|
94
|
-
}),
|
|
95
|
+
}), w = v({
|
|
95
96
|
[fe.spAccordion__childrenWrapper]: !0,
|
|
96
|
-
[fe.spAccordion__childrenWrapper_open]:
|
|
97
|
-
...
|
|
97
|
+
[fe.spAccordion__childrenWrapper_open]: y,
|
|
98
|
+
...b && { [b]: !0 }
|
|
98
99
|
});
|
|
99
|
-
return /* @__PURE__ */ H("div", { className:
|
|
100
|
+
return /* @__PURE__ */ H("div", { className: I, children: [
|
|
100
101
|
/* @__PURE__ */ H("div", { className: O, children: [
|
|
101
|
-
/* @__PURE__ */ l("div", { className: Y, children: /* @__PURE__ */ l("span", { onClick:
|
|
102
|
+
/* @__PURE__ */ l("div", { className: Y, children: /* @__PURE__ */ l("span", { onClick: k, children: t }) }),
|
|
102
103
|
/* @__PURE__ */ l(
|
|
103
|
-
|
|
104
|
+
_e,
|
|
104
105
|
{
|
|
105
|
-
rotate:
|
|
106
|
-
onClick:
|
|
107
|
-
className:
|
|
106
|
+
rotate: y ? 180 : void 0,
|
|
107
|
+
onClick: k,
|
|
108
|
+
className: D,
|
|
108
109
|
name: re.ChevronDown
|
|
109
110
|
}
|
|
110
111
|
)
|
|
111
112
|
] }),
|
|
112
|
-
/* @__PURE__ */ l("div", { className:
|
|
113
|
+
/* @__PURE__ */ l("div", { className: w, children: /* @__PURE__ */ l("div", { className: fe.spAccordion__content, children: n }) })
|
|
113
114
|
] });
|
|
114
|
-
}, xo = "
|
|
115
|
+
}, xo = "_spinner_gr4by_43", go = "_spinner__inner_gr4by_57", pt = {
|
|
115
116
|
spinner: xo,
|
|
116
117
|
spinner__inner: go,
|
|
117
|
-
"spinner-rotate": "_spinner-
|
|
118
|
-
"spinner--sm": "_spinner--
|
|
119
|
-
"spinner--md": "_spinner--
|
|
120
|
-
"spinner--lg": "_spinner--
|
|
121
|
-
"spinner--xl": "_spinner--
|
|
118
|
+
"spinner-rotate": "_spinner-rotate_gr4by_1",
|
|
119
|
+
"spinner--sm": "_spinner--sm_gr4by_70",
|
|
120
|
+
"spinner--md": "_spinner--md_gr4by_74",
|
|
121
|
+
"spinner--lg": "_spinner--lg_gr4by_77",
|
|
122
|
+
"spinner--xl": "_spinner--xl_gr4by_81"
|
|
122
123
|
}, ho = (e) => {
|
|
123
124
|
const { size: t = "md", color: n = "#036bfd", classNameRoot: o } = e;
|
|
124
125
|
return /* @__PURE__ */ l(
|
|
@@ -131,7 +132,7 @@ const oo = "_spAccordion_1ohth_43", ao = "_spAccordion_noBorder_1ohth_56", io =
|
|
|
131
132
|
children: /* @__PURE__ */ l("div", { className: pt.spinner__inner })
|
|
132
133
|
}
|
|
133
134
|
);
|
|
134
|
-
}, bo = "
|
|
135
|
+
}, bo = "_spButton_t6ehg_43", yo = "_spButton_noPadding_t6ehg_62", wo = "_spButton_onlyIcon_t6ehg_65", ko = "_spButton__iconContainer_t6ehg_73", Co = "_spButton_link_t6ehg_76", To = "_spButton__text_t6ehg_80", Eo = "_spButton_primary_t6ehg_92", So = "_spButton_blue_t6ehg_92", Io = "_spButton_white_t6ehg_102", No = "_spButton_secondary_t6ehg_112", jo = "_spButton_fullWidth_t6ehg_132", Ro = "_spButton_disabled_t6ehg_135", Do = "_spButton__spinner_t6ehg_143", be = {
|
|
135
136
|
spButton: bo,
|
|
136
137
|
spButton_noPadding: yo,
|
|
137
138
|
spButton_onlyIcon: wo,
|
|
@@ -140,11 +141,11 @@ const oo = "_spAccordion_1ohth_43", ao = "_spAccordion_noBorder_1ohth_56", io =
|
|
|
140
141
|
spButton__text: To,
|
|
141
142
|
spButton_primary: Eo,
|
|
142
143
|
spButton_blue: So,
|
|
143
|
-
spButton_white:
|
|
144
|
-
spButton_secondary:
|
|
145
|
-
spButton_fullWidth:
|
|
146
|
-
spButton_disabled:
|
|
147
|
-
spButton__spinner:
|
|
144
|
+
spButton_white: Io,
|
|
145
|
+
spButton_secondary: No,
|
|
146
|
+
spButton_fullWidth: jo,
|
|
147
|
+
spButton_disabled: Ro,
|
|
148
|
+
spButton__spinner: Do
|
|
148
149
|
}, yt = (e) => {
|
|
149
150
|
const {
|
|
150
151
|
color: t = "blue",
|
|
@@ -154,60 +155,60 @@ const oo = "_spAccordion_1ohth_43", ao = "_spAccordion_noBorder_1ohth_56", io =
|
|
|
154
155
|
iconName: i,
|
|
155
156
|
iconRotate: r = 0,
|
|
156
157
|
disabled: s = !1,
|
|
157
|
-
type:
|
|
158
|
+
type: u = "button",
|
|
158
159
|
form: d,
|
|
159
|
-
children:
|
|
160
|
+
children: m,
|
|
160
161
|
loading: c = !1,
|
|
161
|
-
isFullWidth:
|
|
162
|
-
isOnlyIcon:
|
|
162
|
+
isFullWidth: b = !1,
|
|
163
|
+
isOnlyIcon: y = !1,
|
|
163
164
|
noPadding: E = !1,
|
|
164
|
-
classNameRoot:
|
|
165
|
-
classNameIconContainerRoot:
|
|
166
|
-
} = e, O = (
|
|
167
|
-
s || a == null || a(
|
|
165
|
+
classNameRoot: k,
|
|
166
|
+
classNameIconContainerRoot: I
|
|
167
|
+
} = e, O = (w) => {
|
|
168
|
+
s || a == null || a(w);
|
|
168
169
|
}, Y = () => {
|
|
169
|
-
const
|
|
170
|
+
const w = v({
|
|
170
171
|
[be.spButton__text]: !0
|
|
171
172
|
}), p = v({
|
|
172
173
|
[be.spButton__iconContainer]: !0,
|
|
173
|
-
...
|
|
174
|
+
...I && { [I]: !0 }
|
|
174
175
|
});
|
|
175
176
|
return /* @__PURE__ */ H(pn, { children: [
|
|
176
|
-
(i || c) && /* @__PURE__ */ l("div", { className: p, children: c ? /* @__PURE__ */ l(ho, { classNameRoot: be.spButton__spinner }) : i && /* @__PURE__ */ l(
|
|
177
|
-
!
|
|
177
|
+
(i || c) && /* @__PURE__ */ l("div", { className: p, children: c ? /* @__PURE__ */ l(ho, { classNameRoot: be.spButton__spinner }) : i && /* @__PURE__ */ l(_e, { name: i, rotate: r }) }),
|
|
178
|
+
!y && m && /* @__PURE__ */ l("div", { className: w, children: m })
|
|
178
179
|
] });
|
|
179
|
-
},
|
|
180
|
+
}, D = v({
|
|
180
181
|
[be.spButton]: !0,
|
|
181
182
|
[be.spButton_noPadding]: E,
|
|
182
|
-
[be.spButton_onlyIcon]:
|
|
183
|
+
[be.spButton_onlyIcon]: y,
|
|
183
184
|
[be[`spButton_${n}`]]: n,
|
|
184
185
|
[be[`spButton_${t}`]]: t,
|
|
185
|
-
[be.spButton_fullWidth]:
|
|
186
|
+
[be.spButton_fullWidth]: b,
|
|
186
187
|
[be.spButton_disabled]: s,
|
|
187
188
|
[be.spButton_loading]: c,
|
|
188
|
-
...
|
|
189
|
+
...k && { [k]: !0 }
|
|
189
190
|
});
|
|
190
191
|
return /* @__PURE__ */ l(
|
|
191
192
|
"button",
|
|
192
193
|
{
|
|
193
194
|
style: o,
|
|
194
|
-
className:
|
|
195
|
+
className: D,
|
|
195
196
|
onClick: O,
|
|
196
197
|
disabled: s,
|
|
197
|
-
type:
|
|
198
|
+
type: u,
|
|
198
199
|
form: d,
|
|
199
200
|
children: Y()
|
|
200
201
|
}
|
|
201
202
|
);
|
|
202
|
-
}, Ao = "
|
|
203
|
+
}, Ao = "_spApplyButtons_ayc5k_43", Oo = "_spApplyButtons__cancel_ayc5k_69", Lo = "_spApplyButtons__submit_ayc5k_72", Fe = {
|
|
203
204
|
spApplyButtons: Ao,
|
|
204
|
-
"spApplyButtons_align-right": "_spApplyButtons_align-
|
|
205
|
-
"spApplyButtons_align-left": "_spApplyButtons_align-
|
|
206
|
-
"spApplyButtons_align-center": "_spApplyButtons_align-
|
|
207
|
-
"spApplyButtons_mobile-column": "_spApplyButtons_mobile-
|
|
205
|
+
"spApplyButtons_align-right": "_spApplyButtons_align-right_ayc5k_52",
|
|
206
|
+
"spApplyButtons_align-left": "_spApplyButtons_align-left_ayc5k_55",
|
|
207
|
+
"spApplyButtons_align-center": "_spApplyButtons_align-center_ayc5k_58",
|
|
208
|
+
"spApplyButtons_mobile-column": "_spApplyButtons_mobile-column_ayc5k_61",
|
|
208
209
|
spApplyButtons__cancel: Oo,
|
|
209
210
|
spApplyButtons__submit: Lo
|
|
210
|
-
},
|
|
211
|
+
}, zo = (e) => {
|
|
211
212
|
const {
|
|
212
213
|
mobile: t = "column",
|
|
213
214
|
align: n = "center",
|
|
@@ -216,20 +217,20 @@ const oo = "_spAccordion_1ohth_43", ao = "_spAccordion_noBorder_1ohth_56", io =
|
|
|
216
217
|
cancelBtnDisabled: i,
|
|
217
218
|
submitBtnContent: r,
|
|
218
219
|
formId: s,
|
|
219
|
-
disabled:
|
|
220
|
+
disabled: u,
|
|
220
221
|
onClose: d,
|
|
221
|
-
submit:
|
|
222
|
+
submit: m,
|
|
222
223
|
loading: c
|
|
223
|
-
} = e,
|
|
224
|
-
[
|
|
225
|
-
[
|
|
226
|
-
[
|
|
227
|
-
}),
|
|
228
|
-
[
|
|
224
|
+
} = e, b = v({
|
|
225
|
+
[Fe.spApplyButtons]: !0,
|
|
226
|
+
[Fe[`spApplyButtons_mobile-${t}`]]: t,
|
|
227
|
+
[Fe[`spApplyButtons_align-${n}`]]: n
|
|
228
|
+
}), y = v({
|
|
229
|
+
[Fe.spApplyButtons__submit]: !0
|
|
229
230
|
}), E = v({
|
|
230
|
-
[
|
|
231
|
+
[Fe.spApplyButtons__cancel]: !0
|
|
231
232
|
});
|
|
232
|
-
return /* @__PURE__ */ H("div", { className:
|
|
233
|
+
return /* @__PURE__ */ H("div", { className: b, children: [
|
|
233
234
|
o && /* @__PURE__ */ l(
|
|
234
235
|
yt,
|
|
235
236
|
{
|
|
@@ -247,18 +248,18 @@ const oo = "_spAccordion_1ohth_43", ao = "_spAccordion_noBorder_1ohth_56", io =
|
|
|
247
248
|
{
|
|
248
249
|
type: "submit",
|
|
249
250
|
variant: "primary",
|
|
250
|
-
classNameRoot:
|
|
251
|
+
classNameRoot: y,
|
|
251
252
|
form: s || void 0,
|
|
252
|
-
disabled:
|
|
253
|
-
onClick:
|
|
253
|
+
disabled: u,
|
|
254
|
+
onClick: m,
|
|
254
255
|
loading: c,
|
|
255
256
|
children: r
|
|
256
257
|
}
|
|
257
258
|
)
|
|
258
259
|
] });
|
|
259
|
-
},
|
|
260
|
-
spBaseTooltip:
|
|
261
|
-
spBaseTooltip_noPadding:
|
|
260
|
+
}, Po = "_spBaseTooltip_105v4_43", Fo = "_spBaseTooltip_noPadding_105v4_60", Mo = "_spBaseTooltip__content_105v4_63", ct = {
|
|
261
|
+
spBaseTooltip: Po,
|
|
262
|
+
spBaseTooltip_noPadding: Fo,
|
|
262
263
|
spBaseTooltip__content: Mo
|
|
263
264
|
}, un = We.forwardRef((e, t) => {
|
|
264
265
|
const {
|
|
@@ -271,11 +272,11 @@ const oo = "_spAccordion_1ohth_43", ao = "_spAccordion_noBorder_1ohth_56", io =
|
|
|
271
272
|
[ct.spBaseTooltip]: !0,
|
|
272
273
|
[ct.spBaseTooltip_noPadding]: o,
|
|
273
274
|
...i && { [i]: !0 }
|
|
274
|
-
}),
|
|
275
|
+
}), u = v({
|
|
275
276
|
[ct.spBaseTooltip__content]: !0,
|
|
276
277
|
...r && { [r]: !0 }
|
|
277
278
|
});
|
|
278
|
-
return /* @__PURE__ */ l("div", { className: s, ref: t, style: a, children: /* @__PURE__ */ l("div", { className:
|
|
279
|
+
return /* @__PURE__ */ l("div", { className: s, ref: t, style: a, children: /* @__PURE__ */ l("div", { className: u, children: n }) });
|
|
279
280
|
});
|
|
280
281
|
un.displayName = "BaseTooltip";
|
|
281
282
|
const mn = ({ children: e, node: t, classNameRoot: n }) => {
|
|
@@ -290,7 +291,7 @@ const mn = ({ children: e, node: t, classNameRoot: n }) => {
|
|
|
290
291
|
t || document.body.removeChild(i);
|
|
291
292
|
};
|
|
292
293
|
}, [t, n]), o ? Wn.createPortal(e, o) : null;
|
|
293
|
-
}, Bo = "
|
|
294
|
+
}, Bo = "_spTooltip_1eqde_43", Wo = {
|
|
294
295
|
spTooltip: Bo
|
|
295
296
|
};
|
|
296
297
|
var ie = /* @__PURE__ */ ((e) => (e.Top = "top", e.TopLeft = "top-left", e.TopRight = "top-right", e.Bottom = "bottom", e.BottomLeft = "bottom-left", e.BottomRight = "bottom-right", e.Left = "left", e.LeftTop = "left-top", e.LeftBottom = "left-bottom", e.Right = "right", e.RightTop = "right-top", e.RightBottom = "right-bottom", e))(ie || {});
|
|
@@ -305,7 +306,7 @@ function fn(e, t, n = !0) {
|
|
|
305
306
|
};
|
|
306
307
|
}, [e, t, n]);
|
|
307
308
|
}
|
|
308
|
-
const
|
|
309
|
+
const It = (e) => {
|
|
309
310
|
const {
|
|
310
311
|
hover: t = !0,
|
|
311
312
|
isToggleClick: n = !1,
|
|
@@ -314,31 +315,31 @@ const jt = (e) => {
|
|
|
314
315
|
triggerAction: i,
|
|
315
316
|
actionOnClose: r,
|
|
316
317
|
classNameTriggerTooltip: s,
|
|
317
|
-
position:
|
|
318
|
+
position: u = ie.BottomLeft,
|
|
318
319
|
text: d,
|
|
319
|
-
noPadding:
|
|
320
|
+
noPadding: m,
|
|
320
321
|
classNameTooltip: c,
|
|
321
|
-
classNameBaseTooltipRoot:
|
|
322
|
-
classNameBaseTooltipContentRoot:
|
|
323
|
-
} = e, [E,
|
|
322
|
+
classNameBaseTooltipRoot: b,
|
|
323
|
+
classNameBaseTooltipContentRoot: y
|
|
324
|
+
} = e, [E, k] = ce(!1), I = Ce(null), O = Ce(null), [Y, D] = ce(!1);
|
|
324
325
|
fn(
|
|
325
|
-
[
|
|
326
|
+
[I, O],
|
|
326
327
|
() => {
|
|
327
|
-
r && r(),
|
|
328
|
+
r && r(), k(!1);
|
|
328
329
|
},
|
|
329
330
|
E
|
|
330
331
|
);
|
|
331
|
-
const
|
|
332
|
-
t || (E ? r && r() : i && i(),
|
|
332
|
+
const w = (g) => {
|
|
333
|
+
t || (E ? r && r() : i && i(), k((L) => n ? !L : !0));
|
|
333
334
|
}, [p, C] = ce({
|
|
334
335
|
visibility: "hidden",
|
|
335
336
|
opacity: 0,
|
|
336
337
|
left: "-9999px"
|
|
337
|
-
}), [
|
|
338
|
-
if (!
|
|
339
|
-
const g =
|
|
338
|
+
}), [F, G] = ce(!1), X = le(() => {
|
|
339
|
+
if (!I.current || !O.current) return;
|
|
340
|
+
const g = I.current.getBoundingClientRect(), L = O.current.getBoundingClientRect();
|
|
340
341
|
let q = 0, K = 0;
|
|
341
|
-
switch (
|
|
342
|
+
switch (u) {
|
|
342
343
|
case ie.Right:
|
|
343
344
|
q = g.top + window.scrollY - (L.height - g.height) / 2, K = g.right + window.scrollX;
|
|
344
345
|
break;
|
|
@@ -378,15 +379,15 @@ const jt = (e) => {
|
|
|
378
379
|
default:
|
|
379
380
|
q = g.bottom + window.scrollY, K = g.left + window.scrollX;
|
|
380
381
|
}
|
|
381
|
-
q + L.height > window.innerHeight + window.scrollY &&
|
|
382
|
+
q + L.height > window.innerHeight + window.scrollY && u.includes("bottom") ? q = g.top + window.scrollY - L.height : q < window.scrollY && u.includes("top") && (q = g.bottom + window.scrollY), C((ee) => ({
|
|
382
383
|
...ee,
|
|
383
384
|
top: `${q}px`,
|
|
384
385
|
left: `${K}px`,
|
|
385
|
-
visibility: E ||
|
|
386
|
-
opacity: E ||
|
|
386
|
+
visibility: E || F ? "visible" : "hidden",
|
|
387
|
+
opacity: E || F ? 1 : 0
|
|
387
388
|
}));
|
|
388
|
-
}, [
|
|
389
|
-
ae(() => (
|
|
389
|
+
}, [u, E, F]);
|
|
390
|
+
ae(() => (D(!0), () => D(!1)), []), ae(() => {
|
|
390
391
|
Y && X();
|
|
391
392
|
}, [Y, X]), ae(() => {
|
|
392
393
|
if (!Y) return;
|
|
@@ -399,47 +400,47 @@ const jt = (e) => {
|
|
|
399
400
|
[Wo.spTooltip]: !0,
|
|
400
401
|
...c && { [c]: !0 }
|
|
401
402
|
}), de = v({
|
|
402
|
-
...
|
|
403
|
-
}),
|
|
404
|
-
...
|
|
403
|
+
...b && { [b]: !0 }
|
|
404
|
+
}), xe = v({
|
|
405
|
+
...y && { [y]: !0 }
|
|
405
406
|
}), ne = document.body;
|
|
406
407
|
return /* @__PURE__ */ H(
|
|
407
408
|
"div",
|
|
408
409
|
{
|
|
409
410
|
className: se,
|
|
410
|
-
onClick:
|
|
411
|
+
onClick: w,
|
|
411
412
|
onMouseEnter: () => t && G(!0),
|
|
412
413
|
onMouseLeave: () => t && G(!1),
|
|
413
414
|
children: [
|
|
414
|
-
/* @__PURE__ */ l("div", { ref:
|
|
415
|
+
/* @__PURE__ */ l("div", { ref: I, className: s, children: a }),
|
|
415
416
|
o && /* @__PURE__ */ l(mn, { node: ne, children: /* @__PURE__ */ l(
|
|
416
417
|
un,
|
|
417
418
|
{
|
|
418
419
|
style: p,
|
|
419
420
|
ref: O,
|
|
420
|
-
noPadding:
|
|
421
|
+
noPadding: m,
|
|
421
422
|
text: d,
|
|
422
423
|
classNameRoot: de,
|
|
423
|
-
classNameContentRoot:
|
|
424
|
+
classNameContentRoot: xe
|
|
424
425
|
}
|
|
425
426
|
) })
|
|
426
427
|
]
|
|
427
428
|
}
|
|
428
429
|
);
|
|
429
|
-
}, Qe = (e) => /* @__PURE__ */ l(
|
|
430
|
+
}, Qe = (e) => /* @__PURE__ */ l(It, { ...e, hover: !0, trigger: /* @__PURE__ */ l(_e, { name: re.Info }) }), qo = "_spCheckbox_1qoym_43", $o = "_spCheckbox__control_1qoym_53", Ho = "_spCheckbox__label_1qoym_56", Yo = "_spCheckbox__box_1qoym_67", Vo = "_spCheckbox__box_checked_1qoym_94", Uo = "_spCheckbox__box_disabled_1qoym_104", Go = "_spCheckbox__box_error_1qoym_114", Ko = "_spCheckbox__tooltip_1qoym_117", Xo = "_spCheckbox__required_1qoym_122", Zo = "_spCheckbox__error_1qoym_128", ye = {
|
|
430
431
|
spCheckbox: qo,
|
|
431
432
|
spCheckbox__control: $o,
|
|
432
433
|
spCheckbox__label: Ho,
|
|
433
434
|
spCheckbox__box: Yo,
|
|
434
|
-
"spCheckbox__box--size-lg": "_spCheckbox__box--size-
|
|
435
|
-
"spCheckbox__box--size-md": "_spCheckbox__box--size-
|
|
435
|
+
"spCheckbox__box--size-lg": "_spCheckbox__box--size-lg_1qoym_72",
|
|
436
|
+
"spCheckbox__box--size-md": "_spCheckbox__box--size-md_1qoym_77",
|
|
436
437
|
spCheckbox__box_checked: Vo,
|
|
437
438
|
spCheckbox__box_disabled: Uo,
|
|
438
439
|
spCheckbox__box_error: Go,
|
|
439
440
|
spCheckbox__tooltip: Ko,
|
|
440
441
|
spCheckbox__required: Xo,
|
|
441
442
|
spCheckbox__error: Zo
|
|
442
|
-
},
|
|
443
|
+
}, bs = (e) => {
|
|
443
444
|
const {
|
|
444
445
|
size: t = "lg",
|
|
445
446
|
checked: n,
|
|
@@ -448,17 +449,17 @@ const jt = (e) => {
|
|
|
448
449
|
name: i,
|
|
449
450
|
label: r,
|
|
450
451
|
error: s,
|
|
451
|
-
value:
|
|
452
|
+
value: u,
|
|
452
453
|
required: d,
|
|
453
|
-
tooltipPosition:
|
|
454
|
+
tooltipPosition: m,
|
|
454
455
|
infoTooltipText: c,
|
|
455
|
-
onMouseEnter:
|
|
456
|
-
classNameRoot:
|
|
456
|
+
onMouseEnter: b,
|
|
457
|
+
classNameRoot: y,
|
|
457
458
|
classNameError: E
|
|
458
|
-
} = e,
|
|
459
|
+
} = e, k = v({
|
|
459
460
|
[ye.spCheckbox]: !0,
|
|
460
|
-
...
|
|
461
|
-
}),
|
|
461
|
+
...y && { [y]: !0 }
|
|
462
|
+
}), I = v({
|
|
462
463
|
[ye.spCheckbox__box]: !0,
|
|
463
464
|
[ye.spCheckbox__box_checked]: n,
|
|
464
465
|
[ye.spCheckbox__box_disabled]: o,
|
|
@@ -468,34 +469,34 @@ const jt = (e) => {
|
|
|
468
469
|
[ye.spCheckbox__control]: !0
|
|
469
470
|
}), Y = v({
|
|
470
471
|
[ye.spCheckbox__label]: !0
|
|
471
|
-
}),
|
|
472
|
+
}), D = v({
|
|
472
473
|
[ye.spCheckbox__required]: !0
|
|
473
|
-
}),
|
|
474
|
+
}), w = v({
|
|
474
475
|
[ye.spCheckbox__error]: !0,
|
|
475
476
|
...E && { [E]: !0 }
|
|
476
477
|
}), p = v({
|
|
477
478
|
[ye.spCheckbox__tooltip]: !0
|
|
478
479
|
});
|
|
479
|
-
return /* @__PURE__ */ H("div", { className:
|
|
480
|
-
/* @__PURE__ */ H("label", { className:
|
|
480
|
+
return /* @__PURE__ */ H("div", { className: k, onMouseEnter: b, children: [
|
|
481
|
+
/* @__PURE__ */ H("label", { className: I, children: [
|
|
481
482
|
/* @__PURE__ */ l(
|
|
482
483
|
"input",
|
|
483
484
|
{
|
|
484
485
|
type: "checkbox",
|
|
485
486
|
className: O,
|
|
486
487
|
checked: n,
|
|
487
|
-
onChange: (
|
|
488
|
-
!o && a && a(
|
|
488
|
+
onChange: (F) => {
|
|
489
|
+
!o && a && a(F, { name: i, checked: !n, value: u });
|
|
489
490
|
}
|
|
490
491
|
}
|
|
491
492
|
),
|
|
492
493
|
r && /* @__PURE__ */ l("span", { className: Y, children: r }),
|
|
493
|
-
d && /* @__PURE__ */ l("div", { className:
|
|
494
|
-
c && /* @__PURE__ */ l("div", { className: p, children: /* @__PURE__ */ l(Qe, { position:
|
|
494
|
+
d && /* @__PURE__ */ l("div", { className: D, children: "*" }),
|
|
495
|
+
c && /* @__PURE__ */ l("div", { className: p, children: /* @__PURE__ */ l(Qe, { position: m, text: c }) })
|
|
495
496
|
] }),
|
|
496
|
-
s && /* @__PURE__ */ l("div", { className:
|
|
497
|
+
s && /* @__PURE__ */ l("div", { className: w, children: s })
|
|
497
498
|
] });
|
|
498
|
-
},
|
|
499
|
+
}, ys = (e = {}) => {
|
|
499
500
|
const { initialValue: t = null } = e, [n, o] = ce(t);
|
|
500
501
|
return {
|
|
501
502
|
isOpen: !!n,
|
|
@@ -507,7 +508,7 @@ const jt = (e) => {
|
|
|
507
508
|
o(null);
|
|
508
509
|
}
|
|
509
510
|
};
|
|
510
|
-
}, Qo = "
|
|
511
|
+
}, Qo = "_layer_112v5_43", Jo = "_layer_hidden_112v5_69", At = {
|
|
511
512
|
layer: Qo,
|
|
512
513
|
layer_hidden: Jo
|
|
513
514
|
}, ea = (e) => {
|
|
@@ -522,17 +523,17 @@ const jt = (e) => {
|
|
|
522
523
|
...a && { [a]: !0 }
|
|
523
524
|
});
|
|
524
525
|
return /* @__PURE__ */ l(mn, { node: i, children: /* @__PURE__ */ l("div", { style: { zIndex: n }, className: r, children: t }) });
|
|
525
|
-
}, ta = "
|
|
526
|
+
}, ta = "_spText_10b73_43", na = "_spText_ellipsis_10b73_59", oa = "_spText_cursorPointer_10b73_116", Ye = {
|
|
526
527
|
spText: ta,
|
|
527
528
|
spText_ellipsis: na,
|
|
528
|
-
"spText_type-h1": "_spText_type-
|
|
529
|
-
"spText_type-h3": "_spText_type-
|
|
530
|
-
"spText_type-p1": "_spText_type-
|
|
531
|
-
"spText_type-p2": "_spText_type-
|
|
532
|
-
"spText_type-description": "_spText_type-
|
|
533
|
-
"spText_type-link": "_spText_type-
|
|
529
|
+
"spText_type-h1": "_spText_type-h1_10b73_65",
|
|
530
|
+
"spText_type-h3": "_spText_type-h3_10b73_75",
|
|
531
|
+
"spText_type-p1": "_spText_type-p1_10b73_86",
|
|
532
|
+
"spText_type-p2": "_spText_type-p2_10b73_91",
|
|
533
|
+
"spText_type-description": "_spText_type-description_10b73_95",
|
|
534
|
+
"spText_type-link": "_spText_type-link_10b73_103",
|
|
534
535
|
spText_cursorPointer: oa
|
|
535
|
-
},
|
|
536
|
+
}, Se = We.forwardRef((e, t) => {
|
|
536
537
|
const {
|
|
537
538
|
type: n,
|
|
538
539
|
children: o,
|
|
@@ -540,14 +541,14 @@ const jt = (e) => {
|
|
|
540
541
|
title: i,
|
|
541
542
|
style: r,
|
|
542
543
|
onClick: s,
|
|
543
|
-
isEllipsis:
|
|
544
|
+
isEllipsis: u = !1,
|
|
544
545
|
isCursorPointer: d = !1,
|
|
545
|
-
isCursorPointerByOnClick:
|
|
546
|
+
isCursorPointerByOnClick: m = !0,
|
|
546
547
|
classNameRoot: c
|
|
547
|
-
} = e,
|
|
548
|
+
} = e, b = () => s && m ? !0 : d, y = v({
|
|
548
549
|
[Ye.spText]: !0,
|
|
549
|
-
[Ye.spText_ellipsis]:
|
|
550
|
-
[Ye.spText_cursorPointer]:
|
|
550
|
+
[Ye.spText_ellipsis]: u,
|
|
551
|
+
[Ye.spText_cursorPointer]: b(),
|
|
551
552
|
[Ye[`spText_type-${n}`]]: n,
|
|
552
553
|
...c && { [c]: !0 }
|
|
553
554
|
});
|
|
@@ -557,17 +558,17 @@ const jt = (e) => {
|
|
|
557
558
|
style: { ...r, color: a },
|
|
558
559
|
title: i,
|
|
559
560
|
onClick: s,
|
|
560
|
-
className:
|
|
561
|
+
className: y,
|
|
561
562
|
ref: t,
|
|
562
563
|
children: o
|
|
563
564
|
}
|
|
564
565
|
);
|
|
565
566
|
});
|
|
566
|
-
|
|
567
|
-
const aa = "
|
|
567
|
+
Se.displayName = "Text";
|
|
568
|
+
const aa = "_modalWrapper_kusfc_43", ia = "_modalWrapper__modal_kusfc_58", ra = "_modalWrapper__content_kusfc_81", sa = "_modalWrapper__header_kusfc_84", pa = "_modalWrapper__subHeader_kusfc_92", ca = "_modalWrapper__footer_kusfc_100", la = "_modalWrapper__closeButton_kusfc_103", da = "_modalWrapper__closeButtonIconContainer_kusfc_117", ke = {
|
|
568
569
|
modalWrapper: aa,
|
|
569
|
-
"modalWrapper_align-top": "_modalWrapper_align-
|
|
570
|
-
"modalWrapper_align-center": "_modalWrapper_align-
|
|
570
|
+
"modalWrapper_align-top": "_modalWrapper_align-top_kusfc_52",
|
|
571
|
+
"modalWrapper_align-center": "_modalWrapper_align-center_kusfc_55",
|
|
571
572
|
modalWrapper__modal: ia,
|
|
572
573
|
modalWrapper__content: ra,
|
|
573
574
|
modalWrapper__header: sa,
|
|
@@ -584,28 +585,28 @@ const aa = "_modalWrapper_r712c_43", ia = "_modalWrapper__modal_r712c_54", ra =
|
|
|
584
585
|
classNameLayerRoot: i,
|
|
585
586
|
classNameRoot: r,
|
|
586
587
|
style: s,
|
|
587
|
-
align:
|
|
588
|
+
align: u = "top",
|
|
588
589
|
onClose: d,
|
|
589
|
-
header:
|
|
590
|
+
header: m,
|
|
590
591
|
subHeader: c,
|
|
591
|
-
footer:
|
|
592
|
-
} = e,
|
|
592
|
+
footer: b
|
|
593
|
+
} = e, y = v({
|
|
593
594
|
[ke.modalWrapper]: !0,
|
|
594
|
-
[ke[`modalWrapper_align-${
|
|
595
|
+
[ke[`modalWrapper_align-${u}`]]: u
|
|
595
596
|
}), E = v({
|
|
596
597
|
[ke.modalWrapper__modal]: !0,
|
|
597
598
|
...r && { [r]: !0 }
|
|
598
|
-
}),
|
|
599
|
+
}), k = v({
|
|
599
600
|
[ke.modalWrapper__closeButton]: !0
|
|
600
|
-
}),
|
|
601
|
+
}), I = v({
|
|
601
602
|
[ke.modalWrapper__closeButtonIconContainer]: !0
|
|
602
603
|
}), O = v({
|
|
603
604
|
[ke.modalWrapper__content]: !0
|
|
604
605
|
}), Y = v({
|
|
605
606
|
[ke.modalWrapper__header]: !0
|
|
606
|
-
}),
|
|
607
|
+
}), D = v({
|
|
607
608
|
[ke.modalWrapper__subHeader]: !0
|
|
608
|
-
}),
|
|
609
|
+
}), w = v({
|
|
609
610
|
[ke.modalWrapper__footer]: !0
|
|
610
611
|
});
|
|
611
612
|
return ae(() => {
|
|
@@ -613,18 +614,18 @@ const aa = "_modalWrapper_r712c_43", ia = "_modalWrapper__modal_r712c_54", ra =
|
|
|
613
614
|
return C.style.position = "fixed", C.style.top = `-${p}px`, C.style.left = "0", C.style.right = "0", C.style.overflow = "hidden", () => {
|
|
614
615
|
C.style.position = "", C.style.top = "", C.style.left = "", C.style.right = "", C.style.overflow = "", window.scrollTo(0, p);
|
|
615
616
|
};
|
|
616
|
-
}, []), /* @__PURE__ */ l(ea, { zIndex: t, isHiddenModal: n, classNameRoot: i, children: /* @__PURE__ */ l("div", { className:
|
|
617
|
-
(
|
|
618
|
-
typeof
|
|
619
|
-
c && /* @__PURE__ */ l("div", { className:
|
|
617
|
+
}, []), /* @__PURE__ */ l(ea, { zIndex: t, isHiddenModal: n, classNameRoot: i, children: /* @__PURE__ */ l("div", { className: y, children: /* @__PURE__ */ H("div", { className: E, style: s, children: [
|
|
618
|
+
(m || c) && /* @__PURE__ */ H("div", { className: Y, children: [
|
|
619
|
+
typeof m == "string" ? /* @__PURE__ */ l(Se, { type: "h3", children: m }) : m,
|
|
620
|
+
c && /* @__PURE__ */ l("div", { className: D, children: typeof c == "string" ? /* @__PURE__ */ l(Se, { children: c }) : c })
|
|
620
621
|
] }),
|
|
621
622
|
a && /* @__PURE__ */ l("div", { className: O, children: a }),
|
|
622
|
-
|
|
623
|
+
b && /* @__PURE__ */ l("div", { className: w, children: b }),
|
|
623
624
|
o && /* @__PURE__ */ l(
|
|
624
625
|
yt,
|
|
625
626
|
{
|
|
626
|
-
classNameRoot:
|
|
627
|
-
classNameIconContainerRoot:
|
|
627
|
+
classNameRoot: k,
|
|
628
|
+
classNameIconContainerRoot: I,
|
|
628
629
|
onClick: d,
|
|
629
630
|
iconName: re.Close,
|
|
630
631
|
variant: "link",
|
|
@@ -633,7 +634,7 @@ const aa = "_modalWrapper_r712c_43", ia = "_modalWrapper__modal_r712c_54", ra =
|
|
|
633
634
|
}
|
|
634
635
|
)
|
|
635
636
|
] }) }) });
|
|
636
|
-
},
|
|
637
|
+
}, ws = (e) => {
|
|
637
638
|
const {
|
|
638
639
|
zIndex: t,
|
|
639
640
|
title: n,
|
|
@@ -642,14 +643,14 @@ const aa = "_modalWrapper_r712c_43", ia = "_modalWrapper__modal_r712c_54", ra =
|
|
|
642
643
|
cancelBtnDisabled: i,
|
|
643
644
|
cancelBtnIconName: r,
|
|
644
645
|
submitBtnContent: s,
|
|
645
|
-
submit:
|
|
646
|
+
submit: u,
|
|
646
647
|
disabled: d,
|
|
647
|
-
formId:
|
|
648
|
+
formId: m,
|
|
648
649
|
onClose: c,
|
|
649
|
-
mobile:
|
|
650
|
-
align:
|
|
650
|
+
mobile: b = "column",
|
|
651
|
+
align: y = "right",
|
|
651
652
|
modalAlign: E = "top",
|
|
652
|
-
loading:
|
|
653
|
+
loading: k
|
|
653
654
|
} = e;
|
|
654
655
|
return /* @__PURE__ */ l(
|
|
655
656
|
ua,
|
|
@@ -659,29 +660,29 @@ const aa = "_modalWrapper_r712c_43", ia = "_modalWrapper__modal_r712c_54", ra =
|
|
|
659
660
|
onClose: c,
|
|
660
661
|
align: E,
|
|
661
662
|
subHeader: o,
|
|
662
|
-
footer: /* @__PURE__ */ l(
|
|
663
|
-
|
|
663
|
+
footer: a || s ? /* @__PURE__ */ l(
|
|
664
|
+
zo,
|
|
664
665
|
{
|
|
665
|
-
mobile:
|
|
666
|
-
align:
|
|
666
|
+
mobile: b,
|
|
667
|
+
align: y,
|
|
667
668
|
cancelBtnContent: a,
|
|
668
669
|
cancelBtnIconName: r,
|
|
669
670
|
cancelBtnDisabled: i,
|
|
670
671
|
submitBtnContent: s,
|
|
671
|
-
formId:
|
|
672
|
+
formId: m,
|
|
672
673
|
disabled: d,
|
|
673
674
|
onClose: c,
|
|
674
|
-
submit:
|
|
675
|
-
loading:
|
|
675
|
+
submit: u,
|
|
676
|
+
loading: k
|
|
676
677
|
}
|
|
677
|
-
)
|
|
678
|
+
) : null
|
|
678
679
|
}
|
|
679
680
|
);
|
|
680
|
-
}, ma = "
|
|
681
|
+
}, ma = "_spContextMenu_1jcxd_43", fa = "_spContextMenu__item_1jcxd_59", va = "_spContextMenu__item_deleteItem_1jcxd_77", lt = {
|
|
681
682
|
spContextMenu: ma,
|
|
682
683
|
spContextMenu__item: fa,
|
|
683
684
|
spContextMenu__item_deleteItem: va
|
|
684
|
-
},
|
|
685
|
+
}, ks = (e) => {
|
|
685
686
|
const { onClickItem: t, options: n, classNameRoot: o } = e, a = v({
|
|
686
687
|
[lt.spContextMenu]: !0,
|
|
687
688
|
...o && { [o]: !0 }
|
|
@@ -699,7 +700,7 @@ const aa = "_modalWrapper_r712c_43", ia = "_modalWrapper__modal_r712c_54", ra =
|
|
|
699
700
|
t && t(i);
|
|
700
701
|
},
|
|
701
702
|
children: [
|
|
702
|
-
(i == null ? void 0 : i.iconName) && /* @__PURE__ */ l(
|
|
703
|
+
(i == null ? void 0 : i.iconName) && /* @__PURE__ */ l(_e, { name: i.iconName }),
|
|
703
704
|
i.label
|
|
704
705
|
]
|
|
705
706
|
},
|
|
@@ -723,14 +724,14 @@ var Ot;
|
|
|
723
724
|
function _a() {
|
|
724
725
|
if (Ot) return V;
|
|
725
726
|
Ot = 1;
|
|
726
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110,
|
|
727
|
-
function
|
|
727
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113, b = e ? Symbol.for("react.suspense_list") : 60120, y = e ? Symbol.for("react.memo") : 60115, E = e ? Symbol.for("react.lazy") : 60116, k = e ? Symbol.for("react.block") : 60121, I = e ? Symbol.for("react.fundamental") : 60117, O = e ? Symbol.for("react.responder") : 60118, Y = e ? Symbol.for("react.scope") : 60119;
|
|
728
|
+
function D(p) {
|
|
728
729
|
if (typeof p == "object" && p !== null) {
|
|
729
730
|
var C = p.$$typeof;
|
|
730
731
|
switch (C) {
|
|
731
732
|
case t:
|
|
732
733
|
switch (p = p.type, p) {
|
|
733
|
-
case
|
|
734
|
+
case u:
|
|
734
735
|
case d:
|
|
735
736
|
case o:
|
|
736
737
|
case i:
|
|
@@ -740,9 +741,9 @@ function _a() {
|
|
|
740
741
|
default:
|
|
741
742
|
switch (p = p && p.$$typeof, p) {
|
|
742
743
|
case s:
|
|
743
|
-
case
|
|
744
|
+
case m:
|
|
744
745
|
case E:
|
|
745
|
-
case
|
|
746
|
+
case y:
|
|
746
747
|
case r:
|
|
747
748
|
return p;
|
|
748
749
|
default:
|
|
@@ -754,36 +755,36 @@ function _a() {
|
|
|
754
755
|
}
|
|
755
756
|
}
|
|
756
757
|
}
|
|
757
|
-
function
|
|
758
|
-
return
|
|
758
|
+
function w(p) {
|
|
759
|
+
return D(p) === d;
|
|
759
760
|
}
|
|
760
|
-
return V.AsyncMode =
|
|
761
|
-
return
|
|
762
|
-
}, V.isConcurrentMode =
|
|
763
|
-
return
|
|
761
|
+
return V.AsyncMode = u, V.ConcurrentMode = d, V.ContextConsumer = s, V.ContextProvider = r, V.Element = t, V.ForwardRef = m, V.Fragment = o, V.Lazy = E, V.Memo = y, V.Portal = n, V.Profiler = i, V.StrictMode = a, V.Suspense = c, V.isAsyncMode = function(p) {
|
|
762
|
+
return w(p) || D(p) === u;
|
|
763
|
+
}, V.isConcurrentMode = w, V.isContextConsumer = function(p) {
|
|
764
|
+
return D(p) === s;
|
|
764
765
|
}, V.isContextProvider = function(p) {
|
|
765
|
-
return
|
|
766
|
+
return D(p) === r;
|
|
766
767
|
}, V.isElement = function(p) {
|
|
767
768
|
return typeof p == "object" && p !== null && p.$$typeof === t;
|
|
768
769
|
}, V.isForwardRef = function(p) {
|
|
769
|
-
return
|
|
770
|
+
return D(p) === m;
|
|
770
771
|
}, V.isFragment = function(p) {
|
|
771
|
-
return
|
|
772
|
+
return D(p) === o;
|
|
772
773
|
}, V.isLazy = function(p) {
|
|
773
|
-
return
|
|
774
|
+
return D(p) === E;
|
|
774
775
|
}, V.isMemo = function(p) {
|
|
775
|
-
return
|
|
776
|
+
return D(p) === y;
|
|
776
777
|
}, V.isPortal = function(p) {
|
|
777
|
-
return
|
|
778
|
+
return D(p) === n;
|
|
778
779
|
}, V.isProfiler = function(p) {
|
|
779
|
-
return
|
|
780
|
+
return D(p) === i;
|
|
780
781
|
}, V.isStrictMode = function(p) {
|
|
781
|
-
return
|
|
782
|
+
return D(p) === a;
|
|
782
783
|
}, V.isSuspense = function(p) {
|
|
783
|
-
return
|
|
784
|
+
return D(p) === c;
|
|
784
785
|
}, V.isValidElementType = function(p) {
|
|
785
|
-
return typeof p == "string" || typeof p == "function" || p === o || p === d || p === i || p === a || p === c || p ===
|
|
786
|
-
}, V.typeOf =
|
|
786
|
+
return typeof p == "string" || typeof p == "function" || p === o || p === d || p === i || p === a || p === c || p === b || typeof p == "object" && p !== null && (p.$$typeof === E || p.$$typeof === y || p.$$typeof === r || p.$$typeof === s || p.$$typeof === m || p.$$typeof === I || p.$$typeof === O || p.$$typeof === Y || p.$$typeof === k);
|
|
787
|
+
}, V.typeOf = D, V;
|
|
787
788
|
}
|
|
788
789
|
var U = {};
|
|
789
790
|
/** @license React v16.13.1
|
|
@@ -797,34 +798,34 @@ var U = {};
|
|
|
797
798
|
var Lt;
|
|
798
799
|
function xa() {
|
|
799
800
|
return Lt || (Lt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
800
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110,
|
|
801
|
-
function
|
|
801
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, m = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113, b = e ? Symbol.for("react.suspense_list") : 60120, y = e ? Symbol.for("react.memo") : 60115, E = e ? Symbol.for("react.lazy") : 60116, k = e ? Symbol.for("react.block") : 60121, I = e ? Symbol.for("react.fundamental") : 60117, O = e ? Symbol.for("react.responder") : 60118, Y = e ? Symbol.for("react.scope") : 60119;
|
|
802
|
+
function D(_) {
|
|
802
803
|
return typeof _ == "string" || typeof _ == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
803
|
-
_ === o || _ === d || _ === i || _ === a || _ === c || _ ===
|
|
804
|
+
_ === o || _ === d || _ === i || _ === a || _ === c || _ === b || typeof _ == "object" && _ !== null && (_.$$typeof === E || _.$$typeof === y || _.$$typeof === r || _.$$typeof === s || _.$$typeof === m || _.$$typeof === I || _.$$typeof === O || _.$$typeof === Y || _.$$typeof === k);
|
|
804
805
|
}
|
|
805
|
-
function
|
|
806
|
+
function w(_) {
|
|
806
807
|
if (typeof _ == "object" && _ !== null) {
|
|
807
808
|
var ue = _.$$typeof;
|
|
808
809
|
switch (ue) {
|
|
809
810
|
case t:
|
|
810
|
-
var
|
|
811
|
-
switch (
|
|
812
|
-
case
|
|
811
|
+
var Ie = _.type;
|
|
812
|
+
switch (Ie) {
|
|
813
|
+
case u:
|
|
813
814
|
case d:
|
|
814
815
|
case o:
|
|
815
816
|
case i:
|
|
816
817
|
case a:
|
|
817
818
|
case c:
|
|
818
|
-
return
|
|
819
|
+
return Ie;
|
|
819
820
|
default:
|
|
820
|
-
var
|
|
821
|
-
switch (
|
|
821
|
+
var ze = Ie && Ie.$$typeof;
|
|
822
|
+
switch (ze) {
|
|
822
823
|
case s:
|
|
823
|
-
case
|
|
824
|
+
case m:
|
|
824
825
|
case E:
|
|
825
|
-
case
|
|
826
|
+
case y:
|
|
826
827
|
case r:
|
|
827
|
-
return
|
|
828
|
+
return ze;
|
|
828
829
|
default:
|
|
829
830
|
return ue;
|
|
830
831
|
}
|
|
@@ -834,62 +835,62 @@ function xa() {
|
|
|
834
835
|
}
|
|
835
836
|
}
|
|
836
837
|
}
|
|
837
|
-
var p =
|
|
838
|
+
var p = u, C = d, F = s, G = r, X = t, se = m, de = o, xe = E, ne = y, g = n, L = i, q = a, K = c, ee = !1;
|
|
838
839
|
function Q(_) {
|
|
839
|
-
return ee || (ee = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), f(_) ||
|
|
840
|
+
return ee || (ee = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), f(_) || w(_) === u;
|
|
840
841
|
}
|
|
841
842
|
function f(_) {
|
|
842
|
-
return
|
|
843
|
+
return w(_) === d;
|
|
843
844
|
}
|
|
844
845
|
function h(_) {
|
|
845
|
-
return
|
|
846
|
+
return w(_) === s;
|
|
846
847
|
}
|
|
847
848
|
function A(_) {
|
|
848
|
-
return
|
|
849
|
+
return w(_) === r;
|
|
849
850
|
}
|
|
850
|
-
function
|
|
851
|
+
function z(_) {
|
|
851
852
|
return typeof _ == "object" && _ !== null && _.$$typeof === t;
|
|
852
853
|
}
|
|
853
|
-
function
|
|
854
|
-
return
|
|
854
|
+
function N(_) {
|
|
855
|
+
return w(_) === m;
|
|
855
856
|
}
|
|
856
857
|
function B(_) {
|
|
857
|
-
return
|
|
858
|
+
return w(_) === o;
|
|
858
859
|
}
|
|
859
|
-
function
|
|
860
|
-
return
|
|
860
|
+
function R(_) {
|
|
861
|
+
return w(_) === E;
|
|
861
862
|
}
|
|
862
|
-
function
|
|
863
|
-
return
|
|
863
|
+
function P(_) {
|
|
864
|
+
return w(_) === y;
|
|
864
865
|
}
|
|
865
866
|
function W(_) {
|
|
866
|
-
return
|
|
867
|
+
return w(_) === n;
|
|
867
868
|
}
|
|
868
869
|
function $(_) {
|
|
869
|
-
return
|
|
870
|
+
return w(_) === i;
|
|
870
871
|
}
|
|
871
872
|
function M(_) {
|
|
872
|
-
return
|
|
873
|
+
return w(_) === a;
|
|
873
874
|
}
|
|
874
875
|
function te(_) {
|
|
875
|
-
return
|
|
876
|
+
return w(_) === c;
|
|
876
877
|
}
|
|
877
|
-
U.AsyncMode = p, U.ConcurrentMode = C, U.ContextConsumer =
|
|
878
|
+
U.AsyncMode = p, U.ConcurrentMode = C, U.ContextConsumer = F, U.ContextProvider = G, U.Element = X, U.ForwardRef = se, U.Fragment = de, U.Lazy = xe, U.Memo = ne, U.Portal = g, U.Profiler = L, U.StrictMode = q, U.Suspense = K, U.isAsyncMode = Q, U.isConcurrentMode = f, U.isContextConsumer = h, U.isContextProvider = A, U.isElement = z, U.isForwardRef = N, U.isFragment = B, U.isLazy = R, U.isMemo = P, U.isPortal = W, U.isProfiler = $, U.isStrictMode = M, U.isSuspense = te, U.isValidElementType = D, U.typeOf = w;
|
|
878
879
|
}()), U;
|
|
879
880
|
}
|
|
880
|
-
var
|
|
881
|
+
var zt;
|
|
881
882
|
function _n() {
|
|
882
|
-
return
|
|
883
|
+
return zt || (zt = 1, process.env.NODE_ENV === "production" ? Ve.exports = _a() : Ve.exports = xa()), Ve.exports;
|
|
883
884
|
}
|
|
884
885
|
/*
|
|
885
886
|
object-assign
|
|
886
887
|
(c) Sindre Sorhus
|
|
887
888
|
@license MIT
|
|
888
889
|
*/
|
|
889
|
-
var dt,
|
|
890
|
+
var dt, Pt;
|
|
890
891
|
function ga() {
|
|
891
|
-
if (
|
|
892
|
-
|
|
892
|
+
if (Pt) return dt;
|
|
893
|
+
Pt = 1;
|
|
893
894
|
var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable;
|
|
894
895
|
function o(i) {
|
|
895
896
|
if (i == null)
|
|
@@ -905,37 +906,37 @@ function ga() {
|
|
|
905
906
|
return !1;
|
|
906
907
|
for (var r = {}, s = 0; s < 10; s++)
|
|
907
908
|
r["_" + String.fromCharCode(s)] = s;
|
|
908
|
-
var
|
|
909
|
-
return r[
|
|
909
|
+
var u = Object.getOwnPropertyNames(r).map(function(m) {
|
|
910
|
+
return r[m];
|
|
910
911
|
});
|
|
911
|
-
if (
|
|
912
|
+
if (u.join("") !== "0123456789")
|
|
912
913
|
return !1;
|
|
913
914
|
var d = {};
|
|
914
|
-
return "abcdefghijklmnopqrst".split("").forEach(function(
|
|
915
|
-
d[
|
|
915
|
+
return "abcdefghijklmnopqrst".split("").forEach(function(m) {
|
|
916
|
+
d[m] = m;
|
|
916
917
|
}), Object.keys(Object.assign({}, d)).join("") === "abcdefghijklmnopqrst";
|
|
917
918
|
} catch {
|
|
918
919
|
return !1;
|
|
919
920
|
}
|
|
920
921
|
}
|
|
921
922
|
return dt = a() ? Object.assign : function(i, r) {
|
|
922
|
-
for (var s,
|
|
923
|
-
s = Object(arguments[
|
|
923
|
+
for (var s, u = o(i), d, m = 1; m < arguments.length; m++) {
|
|
924
|
+
s = Object(arguments[m]);
|
|
924
925
|
for (var c in s)
|
|
925
|
-
t.call(s, c) && (
|
|
926
|
+
t.call(s, c) && (u[c] = s[c]);
|
|
926
927
|
if (e) {
|
|
927
928
|
d = e(s);
|
|
928
|
-
for (var
|
|
929
|
-
n.call(s, d[
|
|
929
|
+
for (var b = 0; b < d.length; b++)
|
|
930
|
+
n.call(s, d[b]) && (u[d[b]] = s[d[b]]);
|
|
930
931
|
}
|
|
931
932
|
}
|
|
932
|
-
return
|
|
933
|
+
return u;
|
|
933
934
|
}, dt;
|
|
934
935
|
}
|
|
935
|
-
var ut,
|
|
936
|
-
function
|
|
937
|
-
if (
|
|
938
|
-
|
|
936
|
+
var ut, Ft;
|
|
937
|
+
function Nt() {
|
|
938
|
+
if (Ft) return ut;
|
|
939
|
+
Ft = 1;
|
|
939
940
|
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
940
941
|
return ut = e, ut;
|
|
941
942
|
}
|
|
@@ -950,7 +951,7 @@ function ha() {
|
|
|
950
951
|
var e = function() {
|
|
951
952
|
};
|
|
952
953
|
if (process.env.NODE_ENV !== "production") {
|
|
953
|
-
var t =
|
|
954
|
+
var t = Nt(), n = {}, o = xn();
|
|
954
955
|
e = function(i) {
|
|
955
956
|
var r = "Warning: " + i;
|
|
956
957
|
typeof console < "u" && console.error(r);
|
|
@@ -960,29 +961,29 @@ function ha() {
|
|
|
960
961
|
}
|
|
961
962
|
};
|
|
962
963
|
}
|
|
963
|
-
function a(i, r, s,
|
|
964
|
+
function a(i, r, s, u, d) {
|
|
964
965
|
if (process.env.NODE_ENV !== "production") {
|
|
965
|
-
for (var
|
|
966
|
-
if (o(i,
|
|
966
|
+
for (var m in i)
|
|
967
|
+
if (o(i, m)) {
|
|
967
968
|
var c;
|
|
968
969
|
try {
|
|
969
|
-
if (typeof i[
|
|
970
|
-
var
|
|
971
|
-
(
|
|
970
|
+
if (typeof i[m] != "function") {
|
|
971
|
+
var b = Error(
|
|
972
|
+
(u || "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`."
|
|
972
973
|
);
|
|
973
|
-
throw
|
|
974
|
+
throw b.name = "Invariant Violation", b;
|
|
974
975
|
}
|
|
975
|
-
c = i[
|
|
976
|
+
c = i[m](r, m, u, s, null, t);
|
|
976
977
|
} catch (E) {
|
|
977
978
|
c = E;
|
|
978
979
|
}
|
|
979
980
|
if (c && !(c instanceof Error) && e(
|
|
980
|
-
(
|
|
981
|
+
(u || "React class") + ": type specification of " + s + " `" + m + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof c + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
981
982
|
), c instanceof Error && !(c.message in n)) {
|
|
982
983
|
n[c.message] = !0;
|
|
983
|
-
var
|
|
984
|
+
var y = d ? d() : "";
|
|
984
985
|
e(
|
|
985
|
-
"Failed " + s + " type: " + c.message + (
|
|
986
|
+
"Failed " + s + " type: " + c.message + (y ?? "")
|
|
986
987
|
);
|
|
987
988
|
}
|
|
988
989
|
}
|
|
@@ -996,27 +997,27 @@ var vt, Wt;
|
|
|
996
997
|
function ba() {
|
|
997
998
|
if (Wt) return vt;
|
|
998
999
|
Wt = 1;
|
|
999
|
-
var e = _n(), t = ga(), n =
|
|
1000
|
+
var e = _n(), t = ga(), n = Nt(), o = xn(), a = ha(), i = function() {
|
|
1000
1001
|
};
|
|
1001
1002
|
process.env.NODE_ENV !== "production" && (i = function(s) {
|
|
1002
|
-
var
|
|
1003
|
-
typeof console < "u" && console.error(
|
|
1003
|
+
var u = "Warning: " + s;
|
|
1004
|
+
typeof console < "u" && console.error(u);
|
|
1004
1005
|
try {
|
|
1005
|
-
throw new Error(
|
|
1006
|
+
throw new Error(u);
|
|
1006
1007
|
} catch {
|
|
1007
1008
|
}
|
|
1008
1009
|
});
|
|
1009
1010
|
function r() {
|
|
1010
1011
|
return null;
|
|
1011
1012
|
}
|
|
1012
|
-
return vt = function(s,
|
|
1013
|
-
var d = typeof Symbol == "function" && Symbol.iterator,
|
|
1013
|
+
return vt = function(s, u) {
|
|
1014
|
+
var d = typeof Symbol == "function" && Symbol.iterator, m = "@@iterator";
|
|
1014
1015
|
function c(f) {
|
|
1015
|
-
var h = f && (d && f[d] || f[
|
|
1016
|
+
var h = f && (d && f[d] || f[m]);
|
|
1016
1017
|
if (typeof h == "function")
|
|
1017
1018
|
return h;
|
|
1018
1019
|
}
|
|
1019
|
-
var
|
|
1020
|
+
var b = "<<anonymous>>", y = {
|
|
1020
1021
|
array: O("array"),
|
|
1021
1022
|
bigint: O("bigint"),
|
|
1022
1023
|
bool: O("boolean"),
|
|
@@ -1026,147 +1027,147 @@ function ba() {
|
|
|
1026
1027
|
string: O("string"),
|
|
1027
1028
|
symbol: O("symbol"),
|
|
1028
1029
|
any: Y(),
|
|
1029
|
-
arrayOf:
|
|
1030
|
-
element:
|
|
1030
|
+
arrayOf: D,
|
|
1031
|
+
element: w(),
|
|
1031
1032
|
elementType: p(),
|
|
1032
1033
|
instanceOf: C,
|
|
1033
1034
|
node: se(),
|
|
1034
1035
|
objectOf: G,
|
|
1035
|
-
oneOf:
|
|
1036
|
+
oneOf: F,
|
|
1036
1037
|
oneOfType: X,
|
|
1037
|
-
shape:
|
|
1038
|
+
shape: xe,
|
|
1038
1039
|
exact: ne
|
|
1039
1040
|
};
|
|
1040
1041
|
function E(f, h) {
|
|
1041
1042
|
return f === h ? f !== 0 || 1 / f === 1 / h : f !== f && h !== h;
|
|
1042
1043
|
}
|
|
1043
|
-
function
|
|
1044
|
+
function k(f, h) {
|
|
1044
1045
|
this.message = f, this.data = h && typeof h == "object" ? h : {}, this.stack = "";
|
|
1045
1046
|
}
|
|
1046
|
-
|
|
1047
|
-
function
|
|
1047
|
+
k.prototype = Error.prototype;
|
|
1048
|
+
function I(f) {
|
|
1048
1049
|
if (process.env.NODE_ENV !== "production")
|
|
1049
1050
|
var h = {}, A = 0;
|
|
1050
|
-
function
|
|
1051
|
-
if (W = W ||
|
|
1052
|
-
if (
|
|
1051
|
+
function z(B, R, P, W, $, M, te) {
|
|
1052
|
+
if (W = W || b, M = M || P, te !== n) {
|
|
1053
|
+
if (u) {
|
|
1053
1054
|
var _ = new Error(
|
|
1054
1055
|
"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"
|
|
1055
1056
|
);
|
|
1056
1057
|
throw _.name = "Invariant Violation", _;
|
|
1057
1058
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1058
|
-
var ue = W + ":" +
|
|
1059
|
+
var ue = W + ":" + P;
|
|
1059
1060
|
!h[ue] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
1060
1061
|
A < 3 && (i(
|
|
1061
1062
|
"You are manually calling a React.PropTypes validation function for the `" + M + "` prop on `" + W + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
1062
1063
|
), h[ue] = !0, A++);
|
|
1063
1064
|
}
|
|
1064
1065
|
}
|
|
1065
|
-
return
|
|
1066
|
+
return R[P] == null ? B ? R[P] === null ? new k("The " + $ + " `" + M + "` is marked as required " + ("in `" + W + "`, but its value is `null`.")) : new k("The " + $ + " `" + M + "` is marked as required in " + ("`" + W + "`, but its value is `undefined`.")) : null : f(R, P, W, $, M);
|
|
1066
1067
|
}
|
|
1067
|
-
var
|
|
1068
|
-
return
|
|
1068
|
+
var N = z.bind(null, !1);
|
|
1069
|
+
return N.isRequired = z.bind(null, !0), N;
|
|
1069
1070
|
}
|
|
1070
1071
|
function O(f) {
|
|
1071
|
-
function h(A,
|
|
1072
|
-
var W = A[
|
|
1072
|
+
function h(A, z, N, B, R, P) {
|
|
1073
|
+
var W = A[z], $ = q(W);
|
|
1073
1074
|
if ($ !== f) {
|
|
1074
1075
|
var M = K(W);
|
|
1075
|
-
return new
|
|
1076
|
-
"Invalid " + B + " `" +
|
|
1076
|
+
return new k(
|
|
1077
|
+
"Invalid " + B + " `" + R + "` of type " + ("`" + M + "` supplied to `" + N + "`, expected ") + ("`" + f + "`."),
|
|
1077
1078
|
{ expectedType: f }
|
|
1078
1079
|
);
|
|
1079
1080
|
}
|
|
1080
1081
|
return null;
|
|
1081
1082
|
}
|
|
1082
|
-
return
|
|
1083
|
+
return I(h);
|
|
1083
1084
|
}
|
|
1084
1085
|
function Y() {
|
|
1085
|
-
return
|
|
1086
|
+
return I(r);
|
|
1086
1087
|
}
|
|
1087
|
-
function
|
|
1088
|
-
function h(A,
|
|
1088
|
+
function D(f) {
|
|
1089
|
+
function h(A, z, N, B, R) {
|
|
1089
1090
|
if (typeof f != "function")
|
|
1090
|
-
return new
|
|
1091
|
-
var
|
|
1092
|
-
if (!Array.isArray(
|
|
1093
|
-
var W = q(
|
|
1094
|
-
return new
|
|
1091
|
+
return new k("Property `" + R + "` of component `" + N + "` has invalid PropType notation inside arrayOf.");
|
|
1092
|
+
var P = A[z];
|
|
1093
|
+
if (!Array.isArray(P)) {
|
|
1094
|
+
var W = q(P);
|
|
1095
|
+
return new k("Invalid " + B + " `" + R + "` of type " + ("`" + W + "` supplied to `" + N + "`, expected an array."));
|
|
1095
1096
|
}
|
|
1096
|
-
for (var $ = 0; $ <
|
|
1097
|
-
var M = f(
|
|
1097
|
+
for (var $ = 0; $ < P.length; $++) {
|
|
1098
|
+
var M = f(P, $, N, B, R + "[" + $ + "]", n);
|
|
1098
1099
|
if (M instanceof Error)
|
|
1099
1100
|
return M;
|
|
1100
1101
|
}
|
|
1101
1102
|
return null;
|
|
1102
1103
|
}
|
|
1103
|
-
return
|
|
1104
|
+
return I(h);
|
|
1104
1105
|
}
|
|
1105
|
-
function
|
|
1106
|
-
function f(h, A,
|
|
1107
|
-
var
|
|
1108
|
-
if (!s(
|
|
1109
|
-
var
|
|
1110
|
-
return new
|
|
1106
|
+
function w() {
|
|
1107
|
+
function f(h, A, z, N, B) {
|
|
1108
|
+
var R = h[A];
|
|
1109
|
+
if (!s(R)) {
|
|
1110
|
+
var P = q(R);
|
|
1111
|
+
return new k("Invalid " + N + " `" + B + "` of type " + ("`" + P + "` supplied to `" + z + "`, expected a single ReactElement."));
|
|
1111
1112
|
}
|
|
1112
1113
|
return null;
|
|
1113
1114
|
}
|
|
1114
|
-
return
|
|
1115
|
+
return I(f);
|
|
1115
1116
|
}
|
|
1116
1117
|
function p() {
|
|
1117
|
-
function f(h, A,
|
|
1118
|
-
var
|
|
1119
|
-
if (!e.isValidElementType(
|
|
1120
|
-
var
|
|
1121
|
-
return new
|
|
1118
|
+
function f(h, A, z, N, B) {
|
|
1119
|
+
var R = h[A];
|
|
1120
|
+
if (!e.isValidElementType(R)) {
|
|
1121
|
+
var P = q(R);
|
|
1122
|
+
return new k("Invalid " + N + " `" + B + "` of type " + ("`" + P + "` supplied to `" + z + "`, expected a single ReactElement type."));
|
|
1122
1123
|
}
|
|
1123
1124
|
return null;
|
|
1124
1125
|
}
|
|
1125
|
-
return
|
|
1126
|
+
return I(f);
|
|
1126
1127
|
}
|
|
1127
1128
|
function C(f) {
|
|
1128
|
-
function h(A,
|
|
1129
|
-
if (!(A[
|
|
1130
|
-
var
|
|
1131
|
-
return new
|
|
1129
|
+
function h(A, z, N, B, R) {
|
|
1130
|
+
if (!(A[z] instanceof f)) {
|
|
1131
|
+
var P = f.name || b, W = Q(A[z]);
|
|
1132
|
+
return new k("Invalid " + B + " `" + R + "` of type " + ("`" + W + "` supplied to `" + N + "`, expected ") + ("instance of `" + P + "`."));
|
|
1132
1133
|
}
|
|
1133
1134
|
return null;
|
|
1134
1135
|
}
|
|
1135
|
-
return
|
|
1136
|
+
return I(h);
|
|
1136
1137
|
}
|
|
1137
|
-
function
|
|
1138
|
+
function F(f) {
|
|
1138
1139
|
if (!Array.isArray(f))
|
|
1139
1140
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
1140
1141
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
1141
1142
|
) : i("Invalid argument supplied to oneOf, expected an array.")), r;
|
|
1142
|
-
function h(A,
|
|
1143
|
-
for (var
|
|
1144
|
-
if (E(
|
|
1143
|
+
function h(A, z, N, B, R) {
|
|
1144
|
+
for (var P = A[z], W = 0; W < f.length; W++)
|
|
1145
|
+
if (E(P, f[W]))
|
|
1145
1146
|
return null;
|
|
1146
1147
|
var $ = JSON.stringify(f, function(te, _) {
|
|
1147
1148
|
var ue = K(_);
|
|
1148
1149
|
return ue === "symbol" ? String(_) : _;
|
|
1149
1150
|
});
|
|
1150
|
-
return new
|
|
1151
|
+
return new k("Invalid " + B + " `" + R + "` of value `" + String(P) + "` " + ("supplied to `" + N + "`, expected one of " + $ + "."));
|
|
1151
1152
|
}
|
|
1152
|
-
return
|
|
1153
|
+
return I(h);
|
|
1153
1154
|
}
|
|
1154
1155
|
function G(f) {
|
|
1155
|
-
function h(A,
|
|
1156
|
+
function h(A, z, N, B, R) {
|
|
1156
1157
|
if (typeof f != "function")
|
|
1157
|
-
return new
|
|
1158
|
-
var
|
|
1158
|
+
return new k("Property `" + R + "` of component `" + N + "` has invalid PropType notation inside objectOf.");
|
|
1159
|
+
var P = A[z], W = q(P);
|
|
1159
1160
|
if (W !== "object")
|
|
1160
|
-
return new
|
|
1161
|
-
for (var $ in
|
|
1162
|
-
if (o(
|
|
1163
|
-
var M = f(
|
|
1161
|
+
return new k("Invalid " + B + " `" + R + "` of type " + ("`" + W + "` supplied to `" + N + "`, expected an object."));
|
|
1162
|
+
for (var $ in P)
|
|
1163
|
+
if (o(P, $)) {
|
|
1164
|
+
var M = f(P, $, N, B, R + "." + $, n);
|
|
1164
1165
|
if (M instanceof Error)
|
|
1165
1166
|
return M;
|
|
1166
1167
|
}
|
|
1167
1168
|
return null;
|
|
1168
1169
|
}
|
|
1169
|
-
return
|
|
1170
|
+
return I(h);
|
|
1170
1171
|
}
|
|
1171
1172
|
function X(f) {
|
|
1172
1173
|
if (!Array.isArray(f))
|
|
@@ -1178,68 +1179,68 @@ function ba() {
|
|
|
1178
1179
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ee(A) + " at index " + h + "."
|
|
1179
1180
|
), r;
|
|
1180
1181
|
}
|
|
1181
|
-
function
|
|
1182
|
+
function z(N, B, R, P, W) {
|
|
1182
1183
|
for (var $ = [], M = 0; M < f.length; M++) {
|
|
1183
|
-
var te = f[M], _ = te(
|
|
1184
|
+
var te = f[M], _ = te(N, B, R, P, W, n);
|
|
1184
1185
|
if (_ == null)
|
|
1185
1186
|
return null;
|
|
1186
1187
|
_.data && o(_.data, "expectedType") && $.push(_.data.expectedType);
|
|
1187
1188
|
}
|
|
1188
1189
|
var ue = $.length > 0 ? ", expected one of type [" + $.join(", ") + "]" : "";
|
|
1189
|
-
return new
|
|
1190
|
+
return new k("Invalid " + P + " `" + W + "` supplied to " + ("`" + R + "`" + ue + "."));
|
|
1190
1191
|
}
|
|
1191
|
-
return
|
|
1192
|
+
return I(z);
|
|
1192
1193
|
}
|
|
1193
1194
|
function se() {
|
|
1194
|
-
function f(h, A,
|
|
1195
|
-
return g(h[A]) ? null : new
|
|
1195
|
+
function f(h, A, z, N, B) {
|
|
1196
|
+
return g(h[A]) ? null : new k("Invalid " + N + " `" + B + "` supplied to " + ("`" + z + "`, expected a ReactNode."));
|
|
1196
1197
|
}
|
|
1197
|
-
return
|
|
1198
|
+
return I(f);
|
|
1198
1199
|
}
|
|
1199
|
-
function de(f, h, A,
|
|
1200
|
-
return new
|
|
1201
|
-
(f || "React class") + ": " + h + " type `" + A + "." +
|
|
1200
|
+
function de(f, h, A, z, N) {
|
|
1201
|
+
return new k(
|
|
1202
|
+
(f || "React class") + ": " + h + " type `" + A + "." + z + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + N + "`."
|
|
1202
1203
|
);
|
|
1203
1204
|
}
|
|
1204
|
-
function
|
|
1205
|
-
function h(A,
|
|
1206
|
-
var
|
|
1205
|
+
function xe(f) {
|
|
1206
|
+
function h(A, z, N, B, R) {
|
|
1207
|
+
var P = A[z], W = q(P);
|
|
1207
1208
|
if (W !== "object")
|
|
1208
|
-
return new
|
|
1209
|
+
return new k("Invalid " + B + " `" + R + "` of type `" + W + "` " + ("supplied to `" + N + "`, expected `object`."));
|
|
1209
1210
|
for (var $ in f) {
|
|
1210
1211
|
var M = f[$];
|
|
1211
1212
|
if (typeof M != "function")
|
|
1212
|
-
return de(
|
|
1213
|
-
var te = M(
|
|
1213
|
+
return de(N, B, R, $, K(M));
|
|
1214
|
+
var te = M(P, $, N, B, R + "." + $, n);
|
|
1214
1215
|
if (te)
|
|
1215
1216
|
return te;
|
|
1216
1217
|
}
|
|
1217
1218
|
return null;
|
|
1218
1219
|
}
|
|
1219
|
-
return
|
|
1220
|
+
return I(h);
|
|
1220
1221
|
}
|
|
1221
1222
|
function ne(f) {
|
|
1222
|
-
function h(A,
|
|
1223
|
-
var
|
|
1223
|
+
function h(A, z, N, B, R) {
|
|
1224
|
+
var P = A[z], W = q(P);
|
|
1224
1225
|
if (W !== "object")
|
|
1225
|
-
return new
|
|
1226
|
-
var $ = t({}, A[
|
|
1226
|
+
return new k("Invalid " + B + " `" + R + "` of type `" + W + "` " + ("supplied to `" + N + "`, expected `object`."));
|
|
1227
|
+
var $ = t({}, A[z], f);
|
|
1227
1228
|
for (var M in $) {
|
|
1228
1229
|
var te = f[M];
|
|
1229
1230
|
if (o(f, M) && typeof te != "function")
|
|
1230
|
-
return de(
|
|
1231
|
+
return de(N, B, R, M, K(te));
|
|
1231
1232
|
if (!te)
|
|
1232
|
-
return new
|
|
1233
|
-
"Invalid " + B + " `" +
|
|
1233
|
+
return new k(
|
|
1234
|
+
"Invalid " + B + " `" + R + "` key `" + M + "` supplied to `" + N + "`.\nBad object: " + JSON.stringify(A[z], null, " ") + `
|
|
1234
1235
|
Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
|
|
1235
1236
|
);
|
|
1236
|
-
var _ = te(
|
|
1237
|
+
var _ = te(P, M, N, B, R + "." + M, n);
|
|
1237
1238
|
if (_)
|
|
1238
1239
|
return _;
|
|
1239
1240
|
}
|
|
1240
1241
|
return null;
|
|
1241
1242
|
}
|
|
1242
|
-
return
|
|
1243
|
+
return I(h);
|
|
1243
1244
|
}
|
|
1244
1245
|
function g(f) {
|
|
1245
1246
|
switch (typeof f) {
|
|
@@ -1256,15 +1257,15 @@ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
|
|
|
1256
1257
|
return !0;
|
|
1257
1258
|
var h = c(f);
|
|
1258
1259
|
if (h) {
|
|
1259
|
-
var A = h.call(f),
|
|
1260
|
+
var A = h.call(f), z;
|
|
1260
1261
|
if (h !== f.entries) {
|
|
1261
|
-
for (; !(
|
|
1262
|
-
if (!g(
|
|
1262
|
+
for (; !(z = A.next()).done; )
|
|
1263
|
+
if (!g(z.value))
|
|
1263
1264
|
return !1;
|
|
1264
1265
|
} else
|
|
1265
|
-
for (; !(
|
|
1266
|
-
var
|
|
1267
|
-
if (
|
|
1266
|
+
for (; !(z = A.next()).done; ) {
|
|
1267
|
+
var N = z.value;
|
|
1268
|
+
if (N && !g(N[1]))
|
|
1268
1269
|
return !1;
|
|
1269
1270
|
}
|
|
1270
1271
|
} else
|
|
@@ -1308,27 +1309,27 @@ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
|
|
|
1308
1309
|
}
|
|
1309
1310
|
}
|
|
1310
1311
|
function Q(f) {
|
|
1311
|
-
return !f.constructor || !f.constructor.name ?
|
|
1312
|
+
return !f.constructor || !f.constructor.name ? b : f.constructor.name;
|
|
1312
1313
|
}
|
|
1313
|
-
return
|
|
1314
|
+
return y.checkPropTypes = a, y.resetWarningCache = a.resetWarningCache, y.PropTypes = y, y;
|
|
1314
1315
|
}, vt;
|
|
1315
1316
|
}
|
|
1316
1317
|
var _t, qt;
|
|
1317
1318
|
function ya() {
|
|
1318
1319
|
if (qt) return _t;
|
|
1319
1320
|
qt = 1;
|
|
1320
|
-
var e =
|
|
1321
|
+
var e = Nt();
|
|
1321
1322
|
function t() {
|
|
1322
1323
|
}
|
|
1323
1324
|
function n() {
|
|
1324
1325
|
}
|
|
1325
1326
|
return n.resetWarningCache = t, _t = function() {
|
|
1326
|
-
function o(r, s,
|
|
1327
|
+
function o(r, s, u, d, m, c) {
|
|
1327
1328
|
if (c !== e) {
|
|
1328
|
-
var
|
|
1329
|
+
var b = new Error(
|
|
1329
1330
|
"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"
|
|
1330
1331
|
);
|
|
1331
|
-
throw
|
|
1332
|
+
throw b.name = "Invariant Violation", b;
|
|
1332
1333
|
}
|
|
1333
1334
|
}
|
|
1334
1335
|
o.isRequired = o;
|
|
@@ -1368,29 +1369,29 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
1368
1369
|
wt.exports = ya()();
|
|
1369
1370
|
var Ca = wt.exports;
|
|
1370
1371
|
const T = /* @__PURE__ */ vn(Ca);
|
|
1371
|
-
function
|
|
1372
|
+
function je(e, t, n, o) {
|
|
1372
1373
|
function a(i) {
|
|
1373
1374
|
return i instanceof n ? i : new n(function(r) {
|
|
1374
1375
|
r(i);
|
|
1375
1376
|
});
|
|
1376
1377
|
}
|
|
1377
1378
|
return new (n || (n = Promise))(function(i, r) {
|
|
1378
|
-
function s(
|
|
1379
|
+
function s(m) {
|
|
1379
1380
|
try {
|
|
1380
|
-
d(o.next(
|
|
1381
|
+
d(o.next(m));
|
|
1381
1382
|
} catch (c) {
|
|
1382
1383
|
r(c);
|
|
1383
1384
|
}
|
|
1384
1385
|
}
|
|
1385
|
-
function m
|
|
1386
|
+
function u(m) {
|
|
1386
1387
|
try {
|
|
1387
|
-
d(o.throw(
|
|
1388
|
+
d(o.throw(m));
|
|
1388
1389
|
} catch (c) {
|
|
1389
1390
|
r(c);
|
|
1390
1391
|
}
|
|
1391
1392
|
}
|
|
1392
|
-
function d(
|
|
1393
|
-
|
|
1393
|
+
function d(m) {
|
|
1394
|
+
m.done ? i(m.value) : a(m.value).then(s, u);
|
|
1394
1395
|
}
|
|
1395
1396
|
d((o = o.apply(e, t || [])).next());
|
|
1396
1397
|
});
|
|
@@ -2630,30 +2631,30 @@ const Sa = [
|
|
|
2630
2631
|
"Thumbs.db"
|
|
2631
2632
|
// Windows
|
|
2632
2633
|
];
|
|
2633
|
-
function
|
|
2634
|
-
return
|
|
2635
|
-
return Ke(e) &&
|
|
2634
|
+
function Ia(e) {
|
|
2635
|
+
return je(this, void 0, void 0, function* () {
|
|
2636
|
+
return Ke(e) && Na(e.dataTransfer) ? Aa(e.dataTransfer, e.type) : ja(e) ? Ra(e) : Array.isArray(e) && e.every((t) => "getFile" in t && typeof t.getFile == "function") ? Da(e) : [];
|
|
2636
2637
|
});
|
|
2637
2638
|
}
|
|
2638
|
-
function
|
|
2639
|
+
function Na(e) {
|
|
2639
2640
|
return Ke(e);
|
|
2640
2641
|
}
|
|
2641
|
-
function
|
|
2642
|
+
function ja(e) {
|
|
2642
2643
|
return Ke(e) && Ke(e.target);
|
|
2643
2644
|
}
|
|
2644
2645
|
function Ke(e) {
|
|
2645
2646
|
return typeof e == "object" && e !== null;
|
|
2646
2647
|
}
|
|
2647
|
-
function
|
|
2648
|
+
function Ra(e) {
|
|
2648
2649
|
return kt(e.target.files).map((t) => Le(t));
|
|
2649
2650
|
}
|
|
2650
|
-
function
|
|
2651
|
-
return
|
|
2651
|
+
function Da(e) {
|
|
2652
|
+
return je(this, void 0, void 0, function* () {
|
|
2652
2653
|
return (yield Promise.all(e.map((n) => n.getFile()))).map((n) => Le(n));
|
|
2653
2654
|
});
|
|
2654
2655
|
}
|
|
2655
2656
|
function Aa(e, t) {
|
|
2656
|
-
return
|
|
2657
|
+
return je(this, void 0, void 0, function* () {
|
|
2657
2658
|
if (e.items) {
|
|
2658
2659
|
const n = kt(e.items).filter((a) => a.kind === "file");
|
|
2659
2660
|
if (t !== "drop")
|
|
@@ -2690,7 +2691,7 @@ function gn(e) {
|
|
|
2690
2691
|
], []);
|
|
2691
2692
|
}
|
|
2692
2693
|
function Yt(e, t) {
|
|
2693
|
-
return
|
|
2694
|
+
return je(this, void 0, void 0, function* () {
|
|
2694
2695
|
var n;
|
|
2695
2696
|
if (globalThis.isSecureContext && typeof e.getAsFileSystemHandle == "function") {
|
|
2696
2697
|
const i = yield e.getAsFileSystemHandle();
|
|
@@ -2708,8 +2709,8 @@ function Yt(e, t) {
|
|
|
2708
2709
|
});
|
|
2709
2710
|
}
|
|
2710
2711
|
function La(e) {
|
|
2711
|
-
return
|
|
2712
|
-
return e.isDirectory ? hn(e) :
|
|
2712
|
+
return je(this, void 0, void 0, function* () {
|
|
2713
|
+
return e.isDirectory ? hn(e) : za(e);
|
|
2713
2714
|
});
|
|
2714
2715
|
}
|
|
2715
2716
|
function hn(e) {
|
|
@@ -2717,7 +2718,7 @@ function hn(e) {
|
|
|
2717
2718
|
return new Promise((n, o) => {
|
|
2718
2719
|
const a = [];
|
|
2719
2720
|
function i() {
|
|
2720
|
-
t.readEntries((r) =>
|
|
2721
|
+
t.readEntries((r) => je(this, void 0, void 0, function* () {
|
|
2721
2722
|
if (r.length) {
|
|
2722
2723
|
const s = Promise.all(r.map(La));
|
|
2723
2724
|
a.push(s), i();
|
|
@@ -2735,8 +2736,8 @@ function hn(e) {
|
|
|
2735
2736
|
i();
|
|
2736
2737
|
});
|
|
2737
2738
|
}
|
|
2738
|
-
function
|
|
2739
|
-
return
|
|
2739
|
+
function za(e) {
|
|
2740
|
+
return je(this, void 0, void 0, function* () {
|
|
2740
2741
|
return new Promise((t, n) => {
|
|
2741
2742
|
e.file((o) => {
|
|
2742
2743
|
const a = Le(o, e.fullPath);
|
|
@@ -2761,13 +2762,13 @@ var xt = function(e, t) {
|
|
|
2761
2762
|
return !0;
|
|
2762
2763
|
};
|
|
2763
2764
|
function Vt(e) {
|
|
2764
|
-
return Ma(e) ||
|
|
2765
|
+
return Ma(e) || Fa(e) || yn(e) || Pa();
|
|
2765
2766
|
}
|
|
2766
|
-
function
|
|
2767
|
+
function Pa() {
|
|
2767
2768
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2768
2769
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2769
2770
|
}
|
|
2770
|
-
function
|
|
2771
|
+
function Fa(e) {
|
|
2771
2772
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
2772
2773
|
}
|
|
2773
2774
|
function Ma(e) {
|
|
@@ -2825,8 +2826,8 @@ function Wa(e, t) {
|
|
|
2825
2826
|
try {
|
|
2826
2827
|
for (n = n.call(e); !(a = (r = n.next()).done) && (o.push(r.value), !(t && o.length === t)); a = !0)
|
|
2827
2828
|
;
|
|
2828
|
-
} catch (
|
|
2829
|
-
i = !0, s =
|
|
2829
|
+
} catch (u) {
|
|
2830
|
+
i = !0, s = u;
|
|
2830
2831
|
} finally {
|
|
2831
2832
|
try {
|
|
2832
2833
|
!a && n.return != null && n.return();
|
|
@@ -2865,24 +2866,24 @@ function wn(e, t) {
|
|
|
2865
2866
|
return [n, n ? null : Ga(t)];
|
|
2866
2867
|
}
|
|
2867
2868
|
function kn(e, t, n) {
|
|
2868
|
-
if (
|
|
2869
|
-
if (
|
|
2869
|
+
if (Ne(e.size))
|
|
2870
|
+
if (Ne(t) && Ne(n)) {
|
|
2870
2871
|
if (e.size > n) return [!1, Kt(n)];
|
|
2871
2872
|
if (e.size < t) return [!1, Xt(t)];
|
|
2872
2873
|
} else {
|
|
2873
|
-
if (
|
|
2874
|
-
if (
|
|
2874
|
+
if (Ne(t) && e.size < t) return [!1, Xt(t)];
|
|
2875
|
+
if (Ne(n) && e.size > n) return [!1, Kt(n)];
|
|
2875
2876
|
}
|
|
2876
2877
|
return [!0, null];
|
|
2877
2878
|
}
|
|
2878
|
-
function
|
|
2879
|
+
function Ne(e) {
|
|
2879
2880
|
return e != null;
|
|
2880
2881
|
}
|
|
2881
2882
|
function Xa(e) {
|
|
2882
2883
|
var t = e.files, n = e.accept, o = e.minSize, a = e.maxSize, i = e.multiple, r = e.maxFiles, s = e.validator;
|
|
2883
|
-
return !i && t.length > 1 || i && r >= 1 && t.length > r ? !1 : t.every(function(
|
|
2884
|
-
var d = wn(
|
|
2885
|
-
return c && E && !
|
|
2884
|
+
return !i && t.length > 1 || i && r >= 1 && t.length > r ? !1 : t.every(function(u) {
|
|
2885
|
+
var d = wn(u, n), m = Be(d, 1), c = m[0], b = kn(u, o, a), y = Be(b, 1), E = y[0], k = s ? s(u) : null;
|
|
2886
|
+
return c && E && !k;
|
|
2886
2887
|
});
|
|
2887
2888
|
}
|
|
2888
2889
|
function Xe(e) {
|
|
@@ -2921,7 +2922,7 @@ function ei() {
|
|
|
2921
2922
|
return "showOpenFilePicker" in window;
|
|
2922
2923
|
}
|
|
2923
2924
|
function ti(e) {
|
|
2924
|
-
if (
|
|
2925
|
+
if (Ne(e)) {
|
|
2925
2926
|
var t = Object.entries(e).filter(function(n) {
|
|
2926
2927
|
var o = Be(n, 2), a = o[0], i = o[1], r = !0;
|
|
2927
2928
|
return Cn(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(Tn)) && (console.warn('Skipped "'.concat(a, '" because an invalid file extension was provided.')), r = !1), r;
|
|
@@ -2938,7 +2939,7 @@ function ti(e) {
|
|
|
2938
2939
|
return e;
|
|
2939
2940
|
}
|
|
2940
2941
|
function ni(e) {
|
|
2941
|
-
if (
|
|
2942
|
+
if (Ne(e))
|
|
2942
2943
|
return Object.entries(e).reduce(function(t, n) {
|
|
2943
2944
|
var o = Be(n, 2), a = o[0], i = o[1];
|
|
2944
2945
|
return [].concat(Vt(t), [a], Vt(i));
|
|
@@ -3000,8 +3001,8 @@ function fi(e, t) {
|
|
|
3000
3001
|
try {
|
|
3001
3002
|
for (n = n.call(e); !(a = (r = n.next()).done) && (o.push(r.value), !(t && o.length === t)); a = !0)
|
|
3002
3003
|
;
|
|
3003
|
-
} catch (
|
|
3004
|
-
i = !0, s =
|
|
3004
|
+
} catch (u) {
|
|
3005
|
+
i = !0, s = u;
|
|
3005
3006
|
} finally {
|
|
3006
3007
|
try {
|
|
3007
3008
|
!a && n.return != null && n.return();
|
|
@@ -3056,9 +3057,9 @@ function _i(e, t) {
|
|
|
3056
3057
|
a = o[i], !(t.indexOf(a) >= 0) && (n[a] = e[a]);
|
|
3057
3058
|
return n;
|
|
3058
3059
|
}
|
|
3059
|
-
var Je = /* @__PURE__ */
|
|
3060
|
+
var Je = /* @__PURE__ */ Pn(function(e, t) {
|
|
3060
3061
|
var n = e.children, o = Ze(e, ii), a = xi(o), i = a.open, r = Ze(a, ri);
|
|
3061
|
-
return
|
|
3062
|
+
return Fn(t, function() {
|
|
3062
3063
|
return {
|
|
3063
3064
|
open: i
|
|
3064
3065
|
};
|
|
@@ -3069,7 +3070,7 @@ var Je = /* @__PURE__ */ Fn(function(e, t) {
|
|
|
3069
3070
|
Je.displayName = "Dropzone";
|
|
3070
3071
|
var Sn = {
|
|
3071
3072
|
disabled: !1,
|
|
3072
|
-
getFilesFromEvent:
|
|
3073
|
+
getFilesFromEvent: Ia,
|
|
3073
3074
|
maxSize: 1 / 0,
|
|
3074
3075
|
minSize: 0,
|
|
3075
3076
|
multiple: !0,
|
|
@@ -3262,15 +3263,15 @@ var St = {
|
|
|
3262
3263
|
fileRejections: []
|
|
3263
3264
|
};
|
|
3264
3265
|
function xi() {
|
|
3265
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = Z(Z({}, Sn), e), n = t.accept, o = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple,
|
|
3266
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = Z(Z({}, Sn), e), n = t.accept, o = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, u = t.maxFiles, d = t.onDragEnter, m = t.onDragLeave, c = t.onDragOver, b = t.onDrop, y = t.onDropAccepted, E = t.onDropRejected, k = t.onFileDialogCancel, I = t.onFileDialogOpen, O = t.useFsAccessApi, Y = t.autoFocus, D = t.preventDropOnDocument, w = t.noClick, p = t.noKeyboard, C = t.noDrag, F = t.noDragEventsBubbling, G = t.onError, X = t.validator, se = Ae(function() {
|
|
3266
3267
|
return ni(n);
|
|
3267
3268
|
}, [n]), de = Ae(function() {
|
|
3268
3269
|
return ti(n);
|
|
3269
|
-
}, [n]),
|
|
3270
|
-
return typeof
|
|
3271
|
-
}, [
|
|
3272
|
-
return typeof
|
|
3273
|
-
}, [
|
|
3270
|
+
}, [n]), xe = Ae(function() {
|
|
3271
|
+
return typeof I == "function" ? I : Jt;
|
|
3272
|
+
}, [I]), ne = Ae(function() {
|
|
3273
|
+
return typeof k == "function" ? k : Jt;
|
|
3274
|
+
}, [k]), g = Ce(null), L = Ce(null), q = Bn(gi, St), K = gt(q, 2), ee = K[0], Q = K[1], f = ee.isFocused, h = ee.isFileDialogActive, A = Ce(typeof window < "u" && window.isSecureContext && O && ei()), z = function() {
|
|
3274
3275
|
!A.current && h && setTimeout(function() {
|
|
3275
3276
|
if (L.current) {
|
|
3276
3277
|
var S = L.current.files;
|
|
@@ -3281,33 +3282,33 @@ function xi() {
|
|
|
3281
3282
|
}, 300);
|
|
3282
3283
|
};
|
|
3283
3284
|
ae(function() {
|
|
3284
|
-
return window.addEventListener("focus",
|
|
3285
|
-
window.removeEventListener("focus",
|
|
3285
|
+
return window.addEventListener("focus", z, !1), function() {
|
|
3286
|
+
window.removeEventListener("focus", z, !1);
|
|
3286
3287
|
};
|
|
3287
3288
|
}, [L, h, ne, A]);
|
|
3288
|
-
var
|
|
3289
|
-
g.current && g.current.contains(S.target) || (S.preventDefault(),
|
|
3289
|
+
var N = Ce([]), B = function(S) {
|
|
3290
|
+
g.current && g.current.contains(S.target) || (S.preventDefault(), N.current = []);
|
|
3290
3291
|
};
|
|
3291
3292
|
ae(function() {
|
|
3292
|
-
return
|
|
3293
|
-
|
|
3293
|
+
return D && (document.addEventListener("dragover", Zt, !1), document.addEventListener("drop", B, !1)), function() {
|
|
3294
|
+
D && (document.removeEventListener("dragover", Zt), document.removeEventListener("drop", B));
|
|
3294
3295
|
};
|
|
3295
|
-
}, [g,
|
|
3296
|
+
}, [g, D]), ae(function() {
|
|
3296
3297
|
return !o && Y && g.current && g.current.focus(), function() {
|
|
3297
3298
|
};
|
|
3298
3299
|
}, [g, Y, o]);
|
|
3299
|
-
var
|
|
3300
|
+
var R = le(function(x) {
|
|
3300
3301
|
G ? G(x) : console.error(x);
|
|
3301
|
-
}, [G]),
|
|
3302
|
-
x.preventDefault(), x.persist(), $e(x),
|
|
3303
|
-
if (!(Xe(x) && !
|
|
3302
|
+
}, [G]), P = le(function(x) {
|
|
3303
|
+
x.preventDefault(), x.persist(), $e(x), N.current = [].concat(ci(N.current), [x.target]), Ue(x) && Promise.resolve(a(x)).then(function(S) {
|
|
3304
|
+
if (!(Xe(x) && !F)) {
|
|
3304
3305
|
var J = S.length, oe = J > 0 && Xa({
|
|
3305
3306
|
files: S,
|
|
3306
3307
|
accept: se,
|
|
3307
3308
|
minSize: r,
|
|
3308
3309
|
maxSize: i,
|
|
3309
3310
|
multiple: s,
|
|
3310
|
-
maxFiles:
|
|
3311
|
+
maxFiles: u,
|
|
3311
3312
|
validator: X
|
|
3312
3313
|
}), me = J > 0 && !oe;
|
|
3313
3314
|
Q({
|
|
@@ -3318,9 +3319,9 @@ function xi() {
|
|
|
3318
3319
|
}), d && d(x);
|
|
3319
3320
|
}
|
|
3320
3321
|
}).catch(function(S) {
|
|
3321
|
-
return
|
|
3322
|
+
return R(S);
|
|
3322
3323
|
});
|
|
3323
|
-
}, [a, d,
|
|
3324
|
+
}, [a, d, R, F, se, r, i, s, u, X]), W = le(function(x) {
|
|
3324
3325
|
x.preventDefault(), x.persist(), $e(x);
|
|
3325
3326
|
var S = Ue(x);
|
|
3326
3327
|
if (S && x.dataTransfer)
|
|
@@ -3329,33 +3330,33 @@ function xi() {
|
|
|
3329
3330
|
} catch {
|
|
3330
3331
|
}
|
|
3331
3332
|
return S && c && c(x), !1;
|
|
3332
|
-
}, [c,
|
|
3333
|
+
}, [c, F]), $ = le(function(x) {
|
|
3333
3334
|
x.preventDefault(), x.persist(), $e(x);
|
|
3334
|
-
var S =
|
|
3335
|
+
var S = N.current.filter(function(oe) {
|
|
3335
3336
|
return g.current && g.current.contains(oe);
|
|
3336
3337
|
}), J = S.indexOf(x.target);
|
|
3337
|
-
J !== -1 && S.splice(J, 1),
|
|
3338
|
+
J !== -1 && S.splice(J, 1), N.current = S, !(S.length > 0) && (Q({
|
|
3338
3339
|
type: "setDraggedFiles",
|
|
3339
3340
|
isDragActive: !1,
|
|
3340
3341
|
isDragAccept: !1,
|
|
3341
3342
|
isDragReject: !1
|
|
3342
|
-
}), Ue(x) &&
|
|
3343
|
-
}, [g,
|
|
3343
|
+
}), Ue(x) && m && m(x));
|
|
3344
|
+
}, [g, m, F]), M = le(function(x, S) {
|
|
3344
3345
|
var J = [], oe = [];
|
|
3345
3346
|
x.forEach(function(me) {
|
|
3346
|
-
var
|
|
3347
|
+
var Pe = wn(me, se), De = gt(Pe, 2), tt = De[0], nt = De[1], ot = kn(me, r, i), He = gt(ot, 2), at = He[0], it = He[1], rt = X ? X(me) : null;
|
|
3347
3348
|
if (tt && at && !rt)
|
|
3348
3349
|
J.push(me);
|
|
3349
3350
|
else {
|
|
3350
3351
|
var st = [nt, it];
|
|
3351
3352
|
rt && (st = st.concat(rt)), oe.push({
|
|
3352
3353
|
file: me,
|
|
3353
|
-
errors: st.filter(function(
|
|
3354
|
-
return
|
|
3354
|
+
errors: st.filter(function(zn) {
|
|
3355
|
+
return zn;
|
|
3355
3356
|
})
|
|
3356
3357
|
});
|
|
3357
3358
|
}
|
|
3358
|
-
}), (!s && J.length > 1 || s &&
|
|
3359
|
+
}), (!s && J.length > 1 || s && u >= 1 && J.length > u) && (J.forEach(function(me) {
|
|
3359
3360
|
oe.push({
|
|
3360
3361
|
file: me,
|
|
3361
3362
|
errors: [Ka]
|
|
@@ -3365,20 +3366,20 @@ function xi() {
|
|
|
3365
3366
|
fileRejections: oe,
|
|
3366
3367
|
isDragReject: oe.length > 0,
|
|
3367
3368
|
type: "setFiles"
|
|
3368
|
-
}),
|
|
3369
|
-
}, [Q, s, se, r, i,
|
|
3370
|
-
x.preventDefault(), x.persist(), $e(x),
|
|
3371
|
-
Xe(x) && !
|
|
3369
|
+
}), b && b(J, oe, S), oe.length > 0 && E && E(oe, S), J.length > 0 && y && y(J, S);
|
|
3370
|
+
}, [Q, s, se, r, i, u, b, y, E, X]), te = le(function(x) {
|
|
3371
|
+
x.preventDefault(), x.persist(), $e(x), N.current = [], Ue(x) && Promise.resolve(a(x)).then(function(S) {
|
|
3372
|
+
Xe(x) && !F || M(S, x);
|
|
3372
3373
|
}).catch(function(S) {
|
|
3373
|
-
return
|
|
3374
|
+
return R(S);
|
|
3374
3375
|
}), Q({
|
|
3375
3376
|
type: "reset"
|
|
3376
3377
|
});
|
|
3377
|
-
}, [a, M,
|
|
3378
|
+
}, [a, M, R, F]), _ = le(function() {
|
|
3378
3379
|
if (A.current) {
|
|
3379
3380
|
Q({
|
|
3380
3381
|
type: "openDialog"
|
|
3381
|
-
}),
|
|
3382
|
+
}), xe();
|
|
3382
3383
|
var x = {
|
|
3383
3384
|
multiple: s,
|
|
3384
3385
|
types: de
|
|
@@ -3392,42 +3393,42 @@ function xi() {
|
|
|
3392
3393
|
}).catch(function(S) {
|
|
3393
3394
|
oi(S) ? (ne(S), Q({
|
|
3394
3395
|
type: "closeDialog"
|
|
3395
|
-
})) : ai(S) ? (A.current = !1, L.current ? (L.current.value = null, L.current.click()) :
|
|
3396
|
+
})) : ai(S) ? (A.current = !1, L.current ? (L.current.value = null, L.current.click()) : R(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))) : R(S);
|
|
3396
3397
|
});
|
|
3397
3398
|
return;
|
|
3398
3399
|
}
|
|
3399
3400
|
L.current && (Q({
|
|
3400
3401
|
type: "openDialog"
|
|
3401
|
-
}),
|
|
3402
|
-
}, [Q,
|
|
3402
|
+
}), xe(), L.current.value = null, L.current.click());
|
|
3403
|
+
}, [Q, xe, ne, O, M, R, de, s]), ue = le(function(x) {
|
|
3403
3404
|
!g.current || !g.current.isEqualNode(x.target) || (x.key === " " || x.key === "Enter" || x.keyCode === 32 || x.keyCode === 13) && (x.preventDefault(), _());
|
|
3404
|
-
}, [g, _]),
|
|
3405
|
+
}, [g, _]), Ie = le(function() {
|
|
3405
3406
|
Q({
|
|
3406
3407
|
type: "focus"
|
|
3407
3408
|
});
|
|
3408
|
-
}, []),
|
|
3409
|
+
}, []), ze = le(function() {
|
|
3409
3410
|
Q({
|
|
3410
3411
|
type: "blur"
|
|
3411
3412
|
});
|
|
3412
|
-
}, []),
|
|
3413
|
-
|
|
3414
|
-
}, [
|
|
3413
|
+
}, []), Dt = le(function() {
|
|
3414
|
+
w || (Ja() ? setTimeout(_, 0) : _());
|
|
3415
|
+
}, [w, _]), Re = function(S) {
|
|
3415
3416
|
return o ? null : S;
|
|
3416
3417
|
}, et = function(S) {
|
|
3417
|
-
return p ? null :
|
|
3418
|
+
return p ? null : Re(S);
|
|
3418
3419
|
}, qe = function(S) {
|
|
3419
|
-
return C ? null :
|
|
3420
|
+
return C ? null : Re(S);
|
|
3420
3421
|
}, $e = function(S) {
|
|
3421
|
-
|
|
3422
|
+
F && S.stopPropagation();
|
|
3422
3423
|
}, An = Ae(function() {
|
|
3423
3424
|
return function() {
|
|
3424
|
-
var x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, S = x.refKey, J = S === void 0 ? "ref" : S, oe = x.role, me = x.onKeyDown,
|
|
3425
|
+
var x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, S = x.refKey, J = S === void 0 ? "ref" : S, oe = x.role, me = x.onKeyDown, Pe = x.onFocus, De = x.onBlur, tt = x.onClick, nt = x.onDragEnter, ot = x.onDragOver, He = x.onDragLeave, at = x.onDrop, it = Ze(x, si);
|
|
3425
3426
|
return Z(Z(Et({
|
|
3426
3427
|
onKeyDown: et(we(me, ue)),
|
|
3427
|
-
onFocus: et(we(
|
|
3428
|
-
onBlur: et(we(
|
|
3429
|
-
onClick:
|
|
3430
|
-
onDragEnter: qe(we(nt,
|
|
3428
|
+
onFocus: et(we(Pe, Ie)),
|
|
3429
|
+
onBlur: et(we(De, ze)),
|
|
3430
|
+
onClick: Re(we(tt, Dt)),
|
|
3431
|
+
onDragEnter: qe(we(nt, P)),
|
|
3431
3432
|
onDragOver: qe(we(ot, W)),
|
|
3432
3433
|
onDragLeave: qe(we(He, $)),
|
|
3433
3434
|
onDrop: qe(we(at, te)),
|
|
@@ -3436,11 +3437,11 @@ function xi() {
|
|
|
3436
3437
|
tabIndex: 0
|
|
3437
3438
|
} : {}), it);
|
|
3438
3439
|
};
|
|
3439
|
-
}, [g, ue,
|
|
3440
|
+
}, [g, ue, Ie, ze, Dt, P, W, $, te, p, C, o]), On = le(function(x) {
|
|
3440
3441
|
x.stopPropagation();
|
|
3441
3442
|
}, []), Ln = Ae(function() {
|
|
3442
3443
|
return function() {
|
|
3443
|
-
var x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, S = x.refKey, J = S === void 0 ? "ref" : S, oe = x.onChange, me = x.onClick,
|
|
3444
|
+
var x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, S = x.refKey, J = S === void 0 ? "ref" : S, oe = x.onChange, me = x.onClick, Pe = Ze(x, pi), De = Et({
|
|
3444
3445
|
accept: se,
|
|
3445
3446
|
multiple: s,
|
|
3446
3447
|
type: "file",
|
|
@@ -3456,11 +3457,11 @@ function xi() {
|
|
|
3456
3457
|
width: "1px",
|
|
3457
3458
|
whiteSpace: "nowrap"
|
|
3458
3459
|
},
|
|
3459
|
-
onChange:
|
|
3460
|
-
onClick:
|
|
3460
|
+
onChange: Re(we(oe, te)),
|
|
3461
|
+
onClick: Re(we(me, On)),
|
|
3461
3462
|
tabIndex: -1
|
|
3462
3463
|
}, J, L);
|
|
3463
|
-
return Z(Z({},
|
|
3464
|
+
return Z(Z({}, De), Pe);
|
|
3464
3465
|
};
|
|
3465
3466
|
}, [L, n, s, te, o]);
|
|
3466
3467
|
return Z(Z({}, ee), {}, {
|
|
@@ -3469,7 +3470,7 @@ function xi() {
|
|
|
3469
3470
|
getInputProps: Ln,
|
|
3470
3471
|
rootRef: g,
|
|
3471
3472
|
inputRef: L,
|
|
3472
|
-
open:
|
|
3473
|
+
open: Re(_)
|
|
3473
3474
|
});
|
|
3474
3475
|
}
|
|
3475
3476
|
function gi(e, t) {
|
|
@@ -3519,28 +3520,28 @@ const hi = (e) => {
|
|
|
3519
3520
|
disabled: i,
|
|
3520
3521
|
name: r,
|
|
3521
3522
|
multiple: s,
|
|
3522
|
-
maxFiles:
|
|
3523
|
+
maxFiles: u,
|
|
3523
3524
|
files: d = []
|
|
3524
|
-
} = e,
|
|
3525
|
+
} = e, m = le(
|
|
3525
3526
|
(c) => {
|
|
3526
3527
|
if (!s) {
|
|
3527
3528
|
t(c, r);
|
|
3528
3529
|
return;
|
|
3529
3530
|
}
|
|
3530
|
-
const
|
|
3531
|
-
if (
|
|
3532
|
-
console.log(`Максимальное возможное количество файлов для загрузки - ${
|
|
3531
|
+
const b = [...d, ...c];
|
|
3532
|
+
if (u && b.length > u) {
|
|
3533
|
+
console.log(`Максимальное возможное количество файлов для загрузки - ${u}`), t(b.slice(0, u), r);
|
|
3533
3534
|
return;
|
|
3534
3535
|
}
|
|
3535
|
-
t(
|
|
3536
|
+
t(b, r);
|
|
3536
3537
|
},
|
|
3537
|
-
[d,
|
|
3538
|
+
[d, u, s, r, t]
|
|
3538
3539
|
);
|
|
3539
|
-
return /* @__PURE__ */ l(Je, { multiple: s, onDrop:
|
|
3540
|
-
/* @__PURE__ */ l("input", { ...
|
|
3540
|
+
return /* @__PURE__ */ l(Je, { multiple: s, onDrop: m, maxSize: o, accept: a, children: ({ getRootProps: c, getInputProps: b }) => /* @__PURE__ */ H("div", { ...c({}), children: [
|
|
3541
|
+
/* @__PURE__ */ l("input", { ...b({}), disabled: i, name: r }),
|
|
3541
3542
|
n
|
|
3542
3543
|
] }) });
|
|
3543
|
-
}, bi = "
|
|
3544
|
+
}, bi = "_spDropdown_3gjr7_43", yi = "_spDropdown__labelText_3gjr7_58", wi = "_spDropdown__tooltipContainer_3gjr7_66", ki = "_spDropdown__dropdownList_3gjr7_71", Ci = "_spDropdown__dropdownListHeader_3gjr7_77", Ti = "_spDropdown__dopdownListItem_3gjr7_84", Ei = "_spDropdown__dopdownListItem_textCenter_3gjr7_95", Si = "_spDropdown__downloadListItemDescription_3gjr7_98", Te = {
|
|
3544
3545
|
spDropdown: bi,
|
|
3545
3546
|
spDropdown__labelText: yi,
|
|
3546
3547
|
spDropdown__tooltipContainer: wi,
|
|
@@ -3549,7 +3550,7 @@ const hi = (e) => {
|
|
|
3549
3550
|
spDropdown__dopdownListItem: Ti,
|
|
3550
3551
|
spDropdown__dopdownListItem_textCenter: Ei,
|
|
3551
3552
|
spDropdown__downloadListItemDescription: Si
|
|
3552
|
-
},
|
|
3553
|
+
}, Cs = (e) => {
|
|
3553
3554
|
const {
|
|
3554
3555
|
labelText: t = "Выпадающий список",
|
|
3555
3556
|
listName: n,
|
|
@@ -3557,41 +3558,41 @@ const hi = (e) => {
|
|
|
3557
3558
|
dropdownPosition: a = ie.BottomRight,
|
|
3558
3559
|
classNameRoot: i
|
|
3559
3560
|
} = e, r = v({
|
|
3560
|
-
[
|
|
3561
|
+
[Te.spDropdown]: !0,
|
|
3561
3562
|
...i && { [i]: !0 }
|
|
3562
3563
|
}), s = v({
|
|
3563
|
-
[
|
|
3564
|
-
}), m = v({
|
|
3565
|
-
[Ee.spDropdown__tooltipContainer]: !0
|
|
3566
|
-
}), d = v({
|
|
3567
|
-
[Ee.spDropdown__dropdownList]: !0
|
|
3564
|
+
[Te.spDropdown__labelText]: !0
|
|
3568
3565
|
}), u = v({
|
|
3569
|
-
[
|
|
3566
|
+
[Te.spDropdown__tooltipContainer]: !0
|
|
3567
|
+
}), d = v({
|
|
3568
|
+
[Te.spDropdown__dropdownList]: !0
|
|
3569
|
+
}), m = v({
|
|
3570
|
+
[Te.spDropdown__dropdownListHeader]: !0
|
|
3570
3571
|
}), c = v({
|
|
3571
|
-
[
|
|
3572
|
-
}), [
|
|
3572
|
+
[Te.spDropdown__downloadListItemDescription]: !0
|
|
3573
|
+
}), [b, y] = ce(!1);
|
|
3573
3574
|
return /* @__PURE__ */ l(
|
|
3574
|
-
|
|
3575
|
+
It,
|
|
3575
3576
|
{
|
|
3576
3577
|
hover: !1,
|
|
3577
|
-
triggerAction: () =>
|
|
3578
|
-
actionOnClose: () =>
|
|
3578
|
+
triggerAction: () => y(!0),
|
|
3579
|
+
actionOnClose: () => y(!1),
|
|
3579
3580
|
text: /* @__PURE__ */ H("div", { className: d, children: [
|
|
3580
|
-
n && /* @__PURE__ */ l("div", { className:
|
|
3581
|
-
o.map((
|
|
3581
|
+
n && /* @__PURE__ */ l("div", { className: m, children: n }),
|
|
3582
|
+
o.map((k, I) => /* @__PURE__ */ H(
|
|
3582
3583
|
"div",
|
|
3583
3584
|
{
|
|
3584
3585
|
className: v({
|
|
3585
|
-
[
|
|
3586
|
-
[
|
|
3586
|
+
[Te.spDropdown__dopdownListItem]: !0,
|
|
3587
|
+
[Te.spDropdown__dopdownListItem_textCenter]: k.textCenter
|
|
3587
3588
|
}),
|
|
3588
|
-
onClick:
|
|
3589
|
+
onClick: k.onClick,
|
|
3589
3590
|
children: [
|
|
3590
|
-
|
|
3591
|
-
|
|
3591
|
+
k.name,
|
|
3592
|
+
k.description && /* @__PURE__ */ l("span", { className: c, children: k.description })
|
|
3592
3593
|
]
|
|
3593
3594
|
},
|
|
3594
|
-
|
|
3595
|
+
I
|
|
3595
3596
|
))
|
|
3596
3597
|
] }),
|
|
3597
3598
|
position: a,
|
|
@@ -3599,50 +3600,54 @@ const hi = (e) => {
|
|
|
3599
3600
|
isToggleClick: !0,
|
|
3600
3601
|
trigger: /* @__PURE__ */ H("div", { className: r, children: [
|
|
3601
3602
|
/* @__PURE__ */ l("div", { className: s, children: t }),
|
|
3602
|
-
/* @__PURE__ */ l("div", { className:
|
|
3603
|
+
/* @__PURE__ */ l("div", { className: u, children: /* @__PURE__ */ l(_e, { name: re.SelectChevronDown, rotate: b ? 180 : void 0 }) })
|
|
3603
3604
|
] })
|
|
3604
3605
|
}
|
|
3605
3606
|
);
|
|
3606
|
-
},
|
|
3607
|
-
ellipsisTextWithTooltip:
|
|
3608
|
-
ellipsisTextWithTooltip__tooltip:
|
|
3609
|
-
},
|
|
3607
|
+
}, Ii = "_ellipsisTextWithTooltip_14k1x_43", Ni = "_ellipsisTextWithTooltip__tooltip_14k1x_50", en = {
|
|
3608
|
+
ellipsisTextWithTooltip: Ii,
|
|
3609
|
+
ellipsisTextWithTooltip__tooltip: Ni
|
|
3610
|
+
}, ji = (e) => {
|
|
3610
3611
|
const {
|
|
3611
3612
|
text: t,
|
|
3612
3613
|
classNameRoot: n,
|
|
3613
3614
|
classNameTooltipRoot: o,
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3615
|
+
classNameTriggerTooltipRoot: a,
|
|
3616
|
+
classNameBaseTooltipContentRoot: i,
|
|
3617
|
+
classNameBaseTooltipRoot: r,
|
|
3618
|
+
...s
|
|
3619
|
+
} = e, u = Ce(null), [d, m] = ce(!1);
|
|
3618
3620
|
ae(() => {
|
|
3619
|
-
|
|
3621
|
+
u.current && m(u.current.scrollWidth > u.current.clientWidth);
|
|
3620
3622
|
}, [t]);
|
|
3621
|
-
const
|
|
3623
|
+
const c = v({
|
|
3622
3624
|
[en.ellipsisTextWithTooltip]: !0,
|
|
3623
3625
|
...n && { [n]: !0 }
|
|
3624
|
-
}),
|
|
3626
|
+
}), b = v({
|
|
3625
3627
|
[en.ellipsisTextWithTooltip__tooltip]: !0,
|
|
3626
3628
|
...o && { [o]: !0 }
|
|
3629
|
+
}), y = v({
|
|
3630
|
+
...a && { [a]: !0 }
|
|
3627
3631
|
});
|
|
3628
3632
|
return /* @__PURE__ */ l(
|
|
3629
|
-
|
|
3633
|
+
It,
|
|
3630
3634
|
{
|
|
3631
|
-
classNameTooltip:
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
+
classNameTooltip: b,
|
|
3636
|
+
classNameTriggerTooltip: y,
|
|
3637
|
+
classNameBaseTooltipContentRoot: i,
|
|
3638
|
+
classNameBaseTooltipRoot: r,
|
|
3639
|
+
isVisibleTooltip: d,
|
|
3635
3640
|
text: t,
|
|
3636
|
-
trigger: /* @__PURE__ */ l(
|
|
3641
|
+
trigger: /* @__PURE__ */ l(Se, { ...s, classNameRoot: c, isEllipsis: !0, ref: u, children: t })
|
|
3637
3642
|
}
|
|
3638
3643
|
);
|
|
3639
|
-
},
|
|
3640
|
-
spForm:
|
|
3644
|
+
}, Ri = "_spForm_159yd_43", Di = "_spForm_fullWidth_159yd_50", Ai = "_spForm_withSeparator_159yd_53", Me = {
|
|
3645
|
+
spForm: Ri,
|
|
3641
3646
|
spForm_fullWidth: Di,
|
|
3642
|
-
spForm_withSeparator:
|
|
3643
|
-
"spForm_addMargin--size-lg": "_spForm_addMargin--size-
|
|
3644
|
-
"spForm_addMargin--size-md": "_spForm_addMargin--size-
|
|
3645
|
-
},
|
|
3647
|
+
spForm_withSeparator: Ai,
|
|
3648
|
+
"spForm_addMargin--size-lg": "_spForm_addMargin--size-lg_159yd_71",
|
|
3649
|
+
"spForm_addMargin--size-md": "_spForm_addMargin--size-md_159yd_79"
|
|
3650
|
+
}, Ts = (e) => {
|
|
3646
3651
|
const {
|
|
3647
3652
|
size: t = "lg",
|
|
3648
3653
|
children: n,
|
|
@@ -3651,7 +3656,7 @@ const hi = (e) => {
|
|
|
3651
3656
|
withSeparator: i = !1,
|
|
3652
3657
|
fullWidth: r = !0,
|
|
3653
3658
|
classNameRoot: s,
|
|
3654
|
-
...
|
|
3659
|
+
...u
|
|
3655
3660
|
} = e, d = v({
|
|
3656
3661
|
[Me.spForm]: !0,
|
|
3657
3662
|
[Me.spForm_fullWidth]: r,
|
|
@@ -3660,15 +3665,15 @@ const hi = (e) => {
|
|
|
3660
3665
|
[Me.spForm_withSeparator]: i,
|
|
3661
3666
|
...s && { [s]: !0 }
|
|
3662
3667
|
});
|
|
3663
|
-
return /* @__PURE__ */ l("form", { ...
|
|
3668
|
+
return /* @__PURE__ */ l("form", { ...u, onSubmit: (c) => {
|
|
3664
3669
|
c.preventDefault(), o && o();
|
|
3665
3670
|
}, className: d, children: n });
|
|
3666
|
-
},
|
|
3667
|
-
spLabel:
|
|
3668
|
-
spLabel__text:
|
|
3669
|
-
spLabel__tooltip:
|
|
3671
|
+
}, Oi = "_spLabel_oxel8_43", Li = "_spLabel__text_oxel8_56", zi = "_spLabel__tooltip_oxel8_66", Pi = "_spLabel__required_oxel8_71", Ge = {
|
|
3672
|
+
spLabel: Oi,
|
|
3673
|
+
spLabel__text: Li,
|
|
3674
|
+
spLabel__tooltip: zi,
|
|
3670
3675
|
spLabel__required: Pi
|
|
3671
|
-
},
|
|
3676
|
+
}, jt = (e) => {
|
|
3672
3677
|
const {
|
|
3673
3678
|
required: t,
|
|
3674
3679
|
label: n,
|
|
@@ -3680,26 +3685,26 @@ const hi = (e) => {
|
|
|
3680
3685
|
...i && { [i]: !0 }
|
|
3681
3686
|
}), s = v({
|
|
3682
3687
|
[Ge.spLabel__text]: !0
|
|
3683
|
-
}),
|
|
3688
|
+
}), u = v({
|
|
3684
3689
|
[Ge.spLabel__required]: t
|
|
3685
3690
|
}), d = v({
|
|
3686
3691
|
[Ge.spLabel__tooltip]: !0
|
|
3687
3692
|
});
|
|
3688
3693
|
return /* @__PURE__ */ H("div", { className: r, children: [
|
|
3689
3694
|
/* @__PURE__ */ l("label", { className: s, children: n }),
|
|
3690
|
-
t && /* @__PURE__ */ l("div", { className:
|
|
3695
|
+
t && /* @__PURE__ */ l("div", { className: u, children: "*" }),
|
|
3691
3696
|
o && /* @__PURE__ */ l("div", { className: d, children: /* @__PURE__ */ l(Qe, { position: a, text: o }) })
|
|
3692
3697
|
] });
|
|
3693
|
-
}, Fi = "
|
|
3698
|
+
}, Fi = "_spInput_flv19_43", Mi = "_spInput_error_flv19_52", Bi = "_spInput__control_flv19_52", Wi = "_spInput__container_flv19_59", qi = "_spInput__control_disabled_flv19_79", $i = "_spInput__control_clearable_flv19_82", Hi = "_spInput__clear_flv19_102", Yi = "_spInput__error_flv19_111", Ee = {
|
|
3694
3699
|
spInput: Fi,
|
|
3695
|
-
spInput_error:
|
|
3696
|
-
spInput__control:
|
|
3697
|
-
spInput__container:
|
|
3698
|
-
spInput__control_disabled:
|
|
3699
|
-
spInput__control_clearable:
|
|
3700
|
-
spInput__clear:
|
|
3701
|
-
spInput__error:
|
|
3702
|
-
},
|
|
3700
|
+
spInput_error: Mi,
|
|
3701
|
+
spInput__control: Bi,
|
|
3702
|
+
spInput__container: Wi,
|
|
3703
|
+
spInput__control_disabled: qi,
|
|
3704
|
+
spInput__control_clearable: $i,
|
|
3705
|
+
spInput__clear: Hi,
|
|
3706
|
+
spInput__error: Yi
|
|
3707
|
+
}, Vi = We.forwardRef((e, t) => {
|
|
3703
3708
|
const {
|
|
3704
3709
|
value: n,
|
|
3705
3710
|
onChange: o,
|
|
@@ -3707,87 +3712,88 @@ const hi = (e) => {
|
|
|
3707
3712
|
disabled: i = !1,
|
|
3708
3713
|
error: r,
|
|
3709
3714
|
required: s,
|
|
3710
|
-
name:
|
|
3715
|
+
name: u,
|
|
3711
3716
|
isClearable: d,
|
|
3712
|
-
pattern:
|
|
3717
|
+
pattern: m,
|
|
3713
3718
|
onMouseEnter: c,
|
|
3714
|
-
infoTooltipText:
|
|
3715
|
-
tooltipPosition:
|
|
3719
|
+
infoTooltipText: b,
|
|
3720
|
+
tooltipPosition: y,
|
|
3716
3721
|
isVisibleDefaultTitle: E = !0,
|
|
3717
|
-
placeholder:
|
|
3718
|
-
classNameRoot:
|
|
3722
|
+
placeholder: k = "Введите...",
|
|
3723
|
+
classNameRoot: I,
|
|
3719
3724
|
classNameError: O,
|
|
3720
3725
|
classNameLabel: Y,
|
|
3721
|
-
...
|
|
3722
|
-
} = e,
|
|
3723
|
-
[
|
|
3724
|
-
[
|
|
3725
|
-
...
|
|
3726
|
+
...D
|
|
3727
|
+
} = e, w = v({
|
|
3728
|
+
[Ee.spInput]: !0,
|
|
3729
|
+
[Ee.spInput_error]: !!r,
|
|
3730
|
+
...I && { [I]: !0 }
|
|
3726
3731
|
}), p = v({
|
|
3727
|
-
[
|
|
3732
|
+
[Ee.spInput__container]: !0
|
|
3728
3733
|
}), C = v({
|
|
3729
|
-
[
|
|
3730
|
-
[
|
|
3731
|
-
[
|
|
3732
|
-
}),
|
|
3733
|
-
[
|
|
3734
|
+
[Ee.spInput__control]: !0,
|
|
3735
|
+
[Ee.spInput__control_disabled]: i,
|
|
3736
|
+
[Ee.spInput__control_clearable]: d
|
|
3737
|
+
}), F = v({
|
|
3738
|
+
[Ee.spInput__clear]: !0
|
|
3734
3739
|
}), G = v({
|
|
3735
|
-
[
|
|
3740
|
+
[Ee.spInput__error]: !0,
|
|
3736
3741
|
...O && { [O]: !0 }
|
|
3737
3742
|
}), X = v({
|
|
3738
3743
|
...Y && { [Y]: !0 }
|
|
3739
3744
|
}), se = (ne) => {
|
|
3740
|
-
o(ne, { name:
|
|
3745
|
+
o(ne, { name: u, value: "" });
|
|
3741
3746
|
}, de = (ne) => {
|
|
3742
3747
|
const { value: g, name: L } = ne.target;
|
|
3743
|
-
|
|
3748
|
+
m && g && !new RegExp(m).test(g) || o(ne, { value: g, name: L });
|
|
3744
3749
|
};
|
|
3745
|
-
return /* @__PURE__ */ H("div", { className:
|
|
3750
|
+
return /* @__PURE__ */ H("div", { className: w, children: [
|
|
3746
3751
|
a && /* @__PURE__ */ l(
|
|
3747
|
-
|
|
3752
|
+
jt,
|
|
3748
3753
|
{
|
|
3749
3754
|
classNameRoot: X,
|
|
3750
|
-
tooltipPosition:
|
|
3755
|
+
tooltipPosition: y,
|
|
3751
3756
|
required: s,
|
|
3752
3757
|
label: a,
|
|
3753
|
-
infoTooltipText:
|
|
3758
|
+
infoTooltipText: b
|
|
3754
3759
|
}
|
|
3755
3760
|
),
|
|
3756
3761
|
/* @__PURE__ */ H("div", { className: p, onMouseEnter: c, children: [
|
|
3757
3762
|
/* @__PURE__ */ l(
|
|
3758
3763
|
"input",
|
|
3759
3764
|
{
|
|
3760
|
-
...
|
|
3761
|
-
placeholder:
|
|
3765
|
+
...D,
|
|
3766
|
+
placeholder: k,
|
|
3762
3767
|
disabled: i,
|
|
3763
3768
|
onChange: de,
|
|
3764
3769
|
title: E ? n : void 0,
|
|
3765
3770
|
value: n,
|
|
3766
|
-
name:
|
|
3771
|
+
name: u,
|
|
3767
3772
|
className: C,
|
|
3768
3773
|
ref: t
|
|
3769
3774
|
}
|
|
3770
3775
|
),
|
|
3771
|
-
d && n && !i && /* @__PURE__ */ l(
|
|
3776
|
+
d && n && !i && /* @__PURE__ */ l(_e, { onClick: se, className: F, name: re.Trash })
|
|
3772
3777
|
] }),
|
|
3773
3778
|
r && /* @__PURE__ */ l("div", { className: G, children: r })
|
|
3774
3779
|
] });
|
|
3775
3780
|
});
|
|
3776
|
-
|
|
3777
|
-
const
|
|
3778
|
-
spInputFiles:
|
|
3779
|
-
spInputFiles_error:
|
|
3780
|
-
spInputFiles__control:
|
|
3781
|
-
spInputFiles_fileUploaded:
|
|
3782
|
-
spInputFiles_disabled:
|
|
3783
|
-
spInputFiles__fileNamesList:
|
|
3784
|
-
spInputFiles__fileNamesListItem:
|
|
3785
|
-
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
|
|
3789
|
-
|
|
3790
|
-
|
|
3781
|
+
Vi.displayName = "Input";
|
|
3782
|
+
const Ui = "_spInputFiles_1h9y1_43", Gi = "_spInputFiles_error_1h9y1_52", Ki = "_spInputFiles__control_1h9y1_52", Xi = "_spInputFiles_fileUploaded_1h9y1_77", Zi = "_spInputFiles_disabled_1h9y1_77", Qi = "_spInputFiles__fileNamesList_1h9y1_87", Ji = "_spInputFiles__fileNamesListItem_1h9y1_95", er = "_spInputFiles__fileNamesListItem__triggerTooltip_1h9y1_114", tr = "_spInputFiles__fileNamesListItemDelete_1h9y1_117", nr = "_spInputFiles__tooltipWrapper_1h9y1_132", or = "_spInputFiles__tooltip_1h9y1_132", ar = "_spInputFiles__delete_1h9y1_138", ir = "_spInputFiles__error_1h9y1_146", ve = {
|
|
3783
|
+
spInputFiles: Ui,
|
|
3784
|
+
spInputFiles_error: Gi,
|
|
3785
|
+
spInputFiles__control: Ki,
|
|
3786
|
+
spInputFiles_fileUploaded: Xi,
|
|
3787
|
+
spInputFiles_disabled: Zi,
|
|
3788
|
+
spInputFiles__fileNamesList: Qi,
|
|
3789
|
+
spInputFiles__fileNamesListItem: Ji,
|
|
3790
|
+
spInputFiles__fileNamesListItem__triggerTooltip: er,
|
|
3791
|
+
spInputFiles__fileNamesListItemDelete: tr,
|
|
3792
|
+
spInputFiles__tooltipWrapper: nr,
|
|
3793
|
+
spInputFiles__tooltip: or,
|
|
3794
|
+
spInputFiles__delete: ar,
|
|
3795
|
+
spInputFiles__error: ir
|
|
3796
|
+
}, Es = (e) => {
|
|
3791
3797
|
const {
|
|
3792
3798
|
placeholder: t = "Загрузите файл",
|
|
3793
3799
|
name: n,
|
|
@@ -3796,45 +3802,52 @@ const Vi = "_spInputFiles_12x0f_43", Ui = "_spInputFiles_error_12x0f_48", Gi = "
|
|
|
3796
3802
|
accept: i,
|
|
3797
3803
|
disabled: r,
|
|
3798
3804
|
multiple: s,
|
|
3799
|
-
maxFiles:
|
|
3805
|
+
maxFiles: u,
|
|
3800
3806
|
files: d = [],
|
|
3801
|
-
infoTooltipText:
|
|
3807
|
+
infoTooltipText: m,
|
|
3802
3808
|
tooltipPosition: c = ie.TopRight,
|
|
3803
|
-
classNameRoot:
|
|
3804
|
-
error:
|
|
3805
|
-
} = e, E = d.map((p) => p.name),
|
|
3806
|
-
[
|
|
3807
|
-
[
|
|
3808
|
-
[
|
|
3809
|
-
[
|
|
3810
|
-
...
|
|
3809
|
+
classNameRoot: b,
|
|
3810
|
+
error: y
|
|
3811
|
+
} = e, E = d.map((p) => p.name), k = (E == null ? void 0 : E.length) > 0, I = v({
|
|
3812
|
+
[ve.spInputFiles]: !0,
|
|
3813
|
+
[ve.spInputFiles_error]: !!y,
|
|
3814
|
+
[ve.spInputFiles_disabled]: r,
|
|
3815
|
+
[ve.spInputFiles_fileUploaded]: k,
|
|
3816
|
+
...b && { [b]: !0 }
|
|
3811
3817
|
}), O = (p) => {
|
|
3812
|
-
const C = [...d],
|
|
3813
|
-
C.splice(
|
|
3818
|
+
const C = [...d], F = C.findIndex((G) => G.name === p);
|
|
3819
|
+
C.splice(F, 1), o(C, n);
|
|
3814
3820
|
}, Y = (p) => {
|
|
3815
3821
|
p.stopPropagation(), o([], n);
|
|
3816
|
-
},
|
|
3822
|
+
}, D = () => s ? /* @__PURE__ */ l("ul", { className: ve.spInputFiles__fileNamesList, children: E.map((p, C) => /* @__PURE__ */ H(
|
|
3817
3823
|
"li",
|
|
3818
3824
|
{
|
|
3819
|
-
className:
|
|
3820
|
-
onClick: (
|
|
3821
|
-
|
|
3825
|
+
className: ve.spInputFiles__fileNamesListItem,
|
|
3826
|
+
onClick: (F) => {
|
|
3827
|
+
F.stopPropagation(), O(p);
|
|
3822
3828
|
},
|
|
3823
3829
|
children: [
|
|
3824
|
-
/* @__PURE__ */ l(
|
|
3825
|
-
|
|
3830
|
+
/* @__PURE__ */ l(
|
|
3831
|
+
ji,
|
|
3832
|
+
{
|
|
3833
|
+
type: "p2",
|
|
3834
|
+
text: p,
|
|
3835
|
+
classNameTriggerTooltipRoot: ve.spInputFiles__fileNamesListItem__triggerTooltip
|
|
3836
|
+
}
|
|
3837
|
+
),
|
|
3838
|
+
/* @__PURE__ */ l("div", { className: ve.spInputFiles__fileNamesListItemDelete, children: /* @__PURE__ */ l(_e, { name: re.Trash }) })
|
|
3826
3839
|
]
|
|
3827
3840
|
},
|
|
3828
3841
|
C
|
|
3829
|
-
)) }) : /* @__PURE__ */ l(
|
|
3830
|
-
|
|
3831
|
-
|
|
3842
|
+
)) }) : /* @__PURE__ */ l(Se, { isEllipsis: !0, children: E[0] }), w = () => /* @__PURE__ */ H(pn, { children: [
|
|
3843
|
+
k ? D() : /* @__PURE__ */ l(Se, { children: t }),
|
|
3844
|
+
k ? /* @__PURE__ */ l("div", { className: ve.spInputFiles__delete, onClick: Y, children: /* @__PURE__ */ l(_e, { name: re.Close }) }) : m && /* @__PURE__ */ l(
|
|
3832
3845
|
Qe,
|
|
3833
3846
|
{
|
|
3834
|
-
classNameTooltip:
|
|
3847
|
+
classNameTooltip: ve.spInputFiles__tooltipWrapper,
|
|
3835
3848
|
position: c,
|
|
3836
|
-
text:
|
|
3837
|
-
classNameTriggerTooltip:
|
|
3849
|
+
text: m,
|
|
3850
|
+
classNameTriggerTooltip: ve.spInputFiles__tooltip
|
|
3838
3851
|
}
|
|
3839
3852
|
)
|
|
3840
3853
|
] });
|
|
@@ -3845,87 +3858,87 @@ const Vi = "_spInputFiles_12x0f_43", Ui = "_spInputFiles_error_12x0f_48", Gi = "
|
|
|
3845
3858
|
files: d,
|
|
3846
3859
|
multiple: s,
|
|
3847
3860
|
maxSize: a,
|
|
3848
|
-
maxFiles:
|
|
3861
|
+
maxFiles: u,
|
|
3849
3862
|
accept: i,
|
|
3850
3863
|
onDropFiles: o,
|
|
3851
|
-
disabled: r ||
|
|
3852
|
-
children: /* @__PURE__ */ H("div", { className:
|
|
3853
|
-
/* @__PURE__ */ H("div", { className:
|
|
3854
|
-
/* @__PURE__ */ l(
|
|
3855
|
-
|
|
3864
|
+
disabled: r || k,
|
|
3865
|
+
children: /* @__PURE__ */ H("div", { className: I, children: [
|
|
3866
|
+
/* @__PURE__ */ H("div", { className: ve.spInputFiles__control, children: [
|
|
3867
|
+
/* @__PURE__ */ l(_e, { name: k ? re.Check : re.Upload }),
|
|
3868
|
+
w()
|
|
3856
3869
|
] }),
|
|
3857
|
-
|
|
3870
|
+
y && /* @__PURE__ */ l("div", { className: ve.spInputFiles__error, children: y })
|
|
3858
3871
|
] })
|
|
3859
3872
|
}
|
|
3860
3873
|
);
|
|
3861
|
-
},
|
|
3874
|
+
}, In = cn({
|
|
3862
3875
|
device: {
|
|
3863
3876
|
isDesktop: !1,
|
|
3864
3877
|
isMobile: !1,
|
|
3865
3878
|
isTablet: !1
|
|
3866
3879
|
}
|
|
3867
3880
|
});
|
|
3868
|
-
var
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
var
|
|
3872
|
-
function
|
|
3873
|
-
return
|
|
3881
|
+
var Rt = {};
|
|
3882
|
+
Rt.match = dr;
|
|
3883
|
+
Rt.parse = Nn;
|
|
3884
|
+
var rr = /(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i, sr = /\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/, pr = /^(?:(min|max)-)?(.+)/, cr = /(em|rem|px|cm|mm|in|pt|pc)?$/, lr = /(dpi|dpcm|dppx)?$/;
|
|
3885
|
+
function dr(e, t) {
|
|
3886
|
+
return Nn(e).some(function(n) {
|
|
3874
3887
|
var o = n.inverse, a = n.type === "all" || t.type === n.type;
|
|
3875
3888
|
if (a && o || !(a || o))
|
|
3876
3889
|
return !1;
|
|
3877
3890
|
var i = n.expressions.every(function(r) {
|
|
3878
|
-
var s = r.feature,
|
|
3879
|
-
if (!
|
|
3891
|
+
var s = r.feature, u = r.modifier, d = r.value, m = t[s];
|
|
3892
|
+
if (!m)
|
|
3880
3893
|
return !1;
|
|
3881
3894
|
switch (s) {
|
|
3882
3895
|
case "orientation":
|
|
3883
3896
|
case "scan":
|
|
3884
|
-
return
|
|
3897
|
+
return m.toLowerCase() === d.toLowerCase();
|
|
3885
3898
|
case "width":
|
|
3886
3899
|
case "height":
|
|
3887
3900
|
case "device-width":
|
|
3888
3901
|
case "device-height":
|
|
3889
|
-
d = on(d),
|
|
3902
|
+
d = on(d), m = on(m);
|
|
3890
3903
|
break;
|
|
3891
3904
|
case "resolution":
|
|
3892
|
-
d = nn(d),
|
|
3905
|
+
d = nn(d), m = nn(m);
|
|
3893
3906
|
break;
|
|
3894
3907
|
case "aspect-ratio":
|
|
3895
3908
|
case "device-aspect-ratio":
|
|
3896
3909
|
case /* Deprecated */
|
|
3897
3910
|
"device-pixel-ratio":
|
|
3898
|
-
d = tn(d),
|
|
3911
|
+
d = tn(d), m = tn(m);
|
|
3899
3912
|
break;
|
|
3900
3913
|
case "grid":
|
|
3901
3914
|
case "color":
|
|
3902
3915
|
case "color-index":
|
|
3903
3916
|
case "monochrome":
|
|
3904
|
-
d = parseInt(d, 10) || 1,
|
|
3917
|
+
d = parseInt(d, 10) || 1, m = parseInt(m, 10) || 0;
|
|
3905
3918
|
break;
|
|
3906
3919
|
}
|
|
3907
|
-
switch (
|
|
3920
|
+
switch (u) {
|
|
3908
3921
|
case "min":
|
|
3909
|
-
return
|
|
3922
|
+
return m >= d;
|
|
3910
3923
|
case "max":
|
|
3911
|
-
return
|
|
3924
|
+
return m <= d;
|
|
3912
3925
|
default:
|
|
3913
|
-
return
|
|
3926
|
+
return m === d;
|
|
3914
3927
|
}
|
|
3915
3928
|
});
|
|
3916
3929
|
return i && !o || !i && o;
|
|
3917
3930
|
});
|
|
3918
3931
|
}
|
|
3919
|
-
function
|
|
3932
|
+
function Nn(e) {
|
|
3920
3933
|
return e.split(",").map(function(t) {
|
|
3921
3934
|
t = t.trim();
|
|
3922
|
-
var n = t.match(
|
|
3935
|
+
var n = t.match(rr), o = n[1], a = n[2], i = n[3] || "", r = {};
|
|
3923
3936
|
return r.inverse = !!o && o.toLowerCase() === "not", r.type = a ? a.toLowerCase() : "all", i = i.match(/\([^\)]+\)/g) || [], r.expressions = i.map(function(s) {
|
|
3924
|
-
var
|
|
3937
|
+
var u = s.match(sr), d = u[1].toLowerCase().match(pr);
|
|
3925
3938
|
return {
|
|
3926
3939
|
modifier: d[1],
|
|
3927
3940
|
feature: d[2],
|
|
3928
|
-
value:
|
|
3941
|
+
value: u[2]
|
|
3929
3942
|
};
|
|
3930
3943
|
}), r;
|
|
3931
3944
|
});
|
|
@@ -3935,7 +3948,7 @@ function tn(e) {
|
|
|
3935
3948
|
return t || (n = e.match(/^(\d+)\s*\/\s*(\d+)$/), t = n[1] / n[2]), t;
|
|
3936
3949
|
}
|
|
3937
3950
|
function nn(e) {
|
|
3938
|
-
var t = parseFloat(e), n = String(e).match(
|
|
3951
|
+
var t = parseFloat(e), n = String(e).match(lr)[1];
|
|
3939
3952
|
switch (n) {
|
|
3940
3953
|
case "dpcm":
|
|
3941
3954
|
return t / 2.54;
|
|
@@ -3946,7 +3959,7 @@ function nn(e) {
|
|
|
3946
3959
|
}
|
|
3947
3960
|
}
|
|
3948
3961
|
function on(e) {
|
|
3949
|
-
var t = parseFloat(e), n = String(e).match(
|
|
3962
|
+
var t = parseFloat(e), n = String(e).match(cr)[1];
|
|
3950
3963
|
switch (n) {
|
|
3951
3964
|
case "em":
|
|
3952
3965
|
return t * 16;
|
|
@@ -3966,10 +3979,10 @@ function on(e) {
|
|
|
3966
3979
|
return t;
|
|
3967
3980
|
}
|
|
3968
3981
|
}
|
|
3969
|
-
var
|
|
3970
|
-
function
|
|
3982
|
+
var ur = Rt.match, an = typeof window < "u" ? window.matchMedia : null;
|
|
3983
|
+
function mr(e, t, n) {
|
|
3971
3984
|
var o = this, a;
|
|
3972
|
-
an && !n && (a = an.call(window, e)), a ? (this.matches = a.matches, this.media = a.media, a.addListener(s)) : (this.matches =
|
|
3985
|
+
an && !n && (a = an.call(window, e)), a ? (this.matches = a.matches, this.media = a.media, a.addListener(s)) : (this.matches = ur(e, t), this.media = e), this.addListener = i, this.removeListener = r, this.dispose = u;
|
|
3973
3986
|
function i(d) {
|
|
3974
3987
|
a && a.addListener(d);
|
|
3975
3988
|
}
|
|
@@ -3979,26 +3992,26 @@ function dr(e, t, n) {
|
|
|
3979
3992
|
function s(d) {
|
|
3980
3993
|
o.matches = d.matches, o.media = d.media;
|
|
3981
3994
|
}
|
|
3982
|
-
function
|
|
3995
|
+
function u() {
|
|
3983
3996
|
a && a.removeListener(s);
|
|
3984
3997
|
}
|
|
3985
3998
|
}
|
|
3986
|
-
function
|
|
3987
|
-
return new
|
|
3999
|
+
function fr(e, t, n) {
|
|
4000
|
+
return new mr(e, t, n);
|
|
3988
4001
|
}
|
|
3989
|
-
var
|
|
3990
|
-
const
|
|
3991
|
-
var
|
|
3992
|
-
function
|
|
4002
|
+
var vr = fr;
|
|
4003
|
+
const _r = /* @__PURE__ */ vn(vr);
|
|
4004
|
+
var xr = /[A-Z]/g, gr = /^ms-/, ht = {};
|
|
4005
|
+
function hr(e) {
|
|
3993
4006
|
return "-" + e.toLowerCase();
|
|
3994
4007
|
}
|
|
3995
|
-
function
|
|
4008
|
+
function jn(e) {
|
|
3996
4009
|
if (ht.hasOwnProperty(e))
|
|
3997
4010
|
return ht[e];
|
|
3998
|
-
var t = e.replace(
|
|
3999
|
-
return ht[e] =
|
|
4011
|
+
var t = e.replace(xr, hr);
|
|
4012
|
+
return ht[e] = gr.test(t) ? "-" + t : t;
|
|
4000
4013
|
}
|
|
4001
|
-
function
|
|
4014
|
+
function br(e, t) {
|
|
4002
4015
|
if (e === t)
|
|
4003
4016
|
return !0;
|
|
4004
4017
|
if (!e || !t)
|
|
@@ -4013,7 +4026,7 @@ function gr(e, t) {
|
|
|
4013
4026
|
}
|
|
4014
4027
|
return !0;
|
|
4015
4028
|
}
|
|
4016
|
-
const pe = T.oneOfType([T.string, T.number]),
|
|
4029
|
+
const pe = T.oneOfType([T.string, T.number]), Rn = {
|
|
4017
4030
|
all: T.bool,
|
|
4018
4031
|
grid: T.bool,
|
|
4019
4032
|
aural: T.bool,
|
|
@@ -4025,7 +4038,7 @@ const pe = T.oneOfType([T.string, T.number]), Dn = {
|
|
|
4025
4038
|
tty: T.bool,
|
|
4026
4039
|
tv: T.bool,
|
|
4027
4040
|
embossed: T.bool
|
|
4028
|
-
},
|
|
4041
|
+
}, yr = {
|
|
4029
4042
|
orientation: T.oneOf(["portrait", "landscape"]),
|
|
4030
4043
|
scan: T.oneOf(["progressive", "interlace"]),
|
|
4031
4044
|
aspectRatio: T.string,
|
|
@@ -4038,8 +4051,8 @@ const pe = T.oneOfType([T.string, T.number]), Dn = {
|
|
|
4038
4051
|
colorIndex: T.bool,
|
|
4039
4052
|
monochrome: T.bool,
|
|
4040
4053
|
resolution: pe,
|
|
4041
|
-
type: Object.keys(
|
|
4042
|
-
}, { type:
|
|
4054
|
+
type: Object.keys(Rn)
|
|
4055
|
+
}, { type: Ss, ...wr } = yr, kr = {
|
|
4043
4056
|
minAspectRatio: T.string,
|
|
4044
4057
|
maxAspectRatio: T.string,
|
|
4045
4058
|
minDeviceAspectRatio: T.string,
|
|
@@ -4060,39 +4073,39 @@ const pe = T.oneOfType([T.string, T.number]), Dn = {
|
|
|
4060
4073
|
maxMonochrome: T.number,
|
|
4061
4074
|
minResolution: pe,
|
|
4062
4075
|
maxResolution: pe,
|
|
4063
|
-
...
|
|
4064
|
-
},
|
|
4065
|
-
var
|
|
4066
|
-
all:
|
|
4076
|
+
...wr
|
|
4077
|
+
}, Cr = { ...Rn, ...kr };
|
|
4078
|
+
var Tr = {
|
|
4079
|
+
all: Cr
|
|
4067
4080
|
};
|
|
4068
|
-
const
|
|
4069
|
-
const n =
|
|
4070
|
-
return typeof t == "number" && (t = `${t}px`), t === !0 ? n : t === !1 ?
|
|
4071
|
-
},
|
|
4081
|
+
const Er = (e) => `not ${e}`, Sr = (e, t) => {
|
|
4082
|
+
const n = jn(e);
|
|
4083
|
+
return typeof t == "number" && (t = `${t}px`), t === !0 ? n : t === !1 ? Er(n) : `(${n}: ${t})`;
|
|
4084
|
+
}, Ir = (e) => e.join(" and "), Nr = (e) => {
|
|
4072
4085
|
const t = [];
|
|
4073
|
-
return Object.keys(
|
|
4086
|
+
return Object.keys(Tr.all).forEach((n) => {
|
|
4074
4087
|
const o = e[n];
|
|
4075
|
-
o != null && t.push(
|
|
4076
|
-
}),
|
|
4077
|
-
}, jr = cn(void 0),
|
|
4088
|
+
o != null && t.push(Sr(n, o));
|
|
4089
|
+
}), Ir(t);
|
|
4090
|
+
}, jr = cn(void 0), Rr = (e) => e.query || Nr(e), rn = (e) => e ? Object.keys(e).reduce((n, o) => (n[jn(o)] = e[o], n), {}) : void 0, Dn = () => {
|
|
4078
4091
|
const e = Ce(!1);
|
|
4079
4092
|
return ae(() => {
|
|
4080
4093
|
e.current = !0;
|
|
4081
4094
|
}, []), e.current;
|
|
4082
|
-
},
|
|
4095
|
+
}, Dr = (e) => {
|
|
4083
4096
|
const t = ln(jr), n = () => rn(e) || rn(t), [o, a] = ce(n);
|
|
4084
4097
|
return ae(() => {
|
|
4085
4098
|
const i = n();
|
|
4086
|
-
|
|
4099
|
+
br(o, i) || a(i);
|
|
4087
4100
|
}, [e, t]), o;
|
|
4088
|
-
},
|
|
4089
|
-
const t = () =>
|
|
4101
|
+
}, Ar = (e) => {
|
|
4102
|
+
const t = () => Rr(e), [n, o] = ce(t);
|
|
4090
4103
|
return ae(() => {
|
|
4091
4104
|
const a = t();
|
|
4092
4105
|
n !== a && o(a);
|
|
4093
4106
|
}, [e]), n;
|
|
4094
|
-
},
|
|
4095
|
-
const n = () =>
|
|
4107
|
+
}, Or = (e, t) => {
|
|
4108
|
+
const n = () => _r(e, t || {}, !!t), [o, a] = ce(n), i = Dn();
|
|
4096
4109
|
return ae(() => {
|
|
4097
4110
|
if (i) {
|
|
4098
4111
|
const r = n();
|
|
@@ -4101,7 +4114,7 @@ const Cr = (e) => `not ${e}`, Tr = (e, t) => {
|
|
|
4101
4114
|
};
|
|
4102
4115
|
}
|
|
4103
4116
|
}, [e, t]), o;
|
|
4104
|
-
},
|
|
4117
|
+
}, Lr = (e) => {
|
|
4105
4118
|
const [t, n] = ce(e.matches);
|
|
4106
4119
|
return ae(() => {
|
|
4107
4120
|
const o = (a) => {
|
|
@@ -4112,15 +4125,15 @@ const Cr = (e) => `not ${e}`, Tr = (e, t) => {
|
|
|
4112
4125
|
};
|
|
4113
4126
|
}, [e]), t;
|
|
4114
4127
|
}, bt = (e, t, n) => {
|
|
4115
|
-
const o =
|
|
4128
|
+
const o = Dr(t), a = Ar(e);
|
|
4116
4129
|
if (!a)
|
|
4117
4130
|
throw new Error("Invalid or missing MediaQuery!");
|
|
4118
|
-
const i =
|
|
4119
|
-
return
|
|
4131
|
+
const i = Or(a, o), r = Lr(i);
|
|
4132
|
+
return Dn(), ae(() => {
|
|
4120
4133
|
}, [r]), ae(() => () => {
|
|
4121
4134
|
i && i.dispose();
|
|
4122
4135
|
}, []), r;
|
|
4123
|
-
},
|
|
4136
|
+
}, zr = (e) => {
|
|
4124
4137
|
const { desktop: t, tablet: n, mobile: o } = e, a = bt(t), i = bt(n), r = bt(o);
|
|
4125
4138
|
return {
|
|
4126
4139
|
device: {
|
|
@@ -4129,10 +4142,10 @@ const Cr = (e) => `not ${e}`, Tr = (e, t) => {
|
|
|
4129
4142
|
isMobile: r
|
|
4130
4143
|
}
|
|
4131
4144
|
};
|
|
4132
|
-
},
|
|
4133
|
-
const { breakpoints: t, children: n } = e, { device: o } =
|
|
4145
|
+
}, Is = (e) => {
|
|
4146
|
+
const { breakpoints: t, children: n } = e, { device: o } = zr(t);
|
|
4134
4147
|
return /* @__PURE__ */ l(
|
|
4135
|
-
|
|
4148
|
+
In.Provider,
|
|
4136
4149
|
{
|
|
4137
4150
|
value: {
|
|
4138
4151
|
device: o
|
|
@@ -4140,20 +4153,20 @@ const Cr = (e) => `not ${e}`, Tr = (e, t) => {
|
|
|
4140
4153
|
children: n
|
|
4141
4154
|
}
|
|
4142
4155
|
);
|
|
4143
|
-
},
|
|
4144
|
-
spSelect:
|
|
4145
|
-
spSelect_error:
|
|
4146
|
-
spSelect__control:
|
|
4147
|
-
spSelect__value_empty:
|
|
4148
|
-
spSelect__icon:
|
|
4149
|
-
spSelect__container:
|
|
4150
|
-
spSelect__control_disabled:
|
|
4151
|
-
spSelect__value:
|
|
4152
|
-
spSelect__list:
|
|
4153
|
-
spSelect__list_scrollable:
|
|
4154
|
-
spSelect__option:
|
|
4155
|
-
spSelect__error:
|
|
4156
|
-
},
|
|
4156
|
+
}, Pr = 180, Fr = "_spSelect_1pz4z_43", Mr = "_spSelect_error_1pz4z_52", Br = "_spSelect__control_1pz4z_52", Wr = "_spSelect__value_empty_1pz4z_56", qr = "_spSelect__icon_1pz4z_59", $r = "_spSelect__container_1pz4z_62", Hr = "_spSelect__control_disabled_1pz4z_97", Yr = "_spSelect__value_1pz4z_56", Vr = "_spSelect__list_1pz4z_131", Ur = "_spSelect__list_scrollable_1pz4z_138", Gr = "_spSelect__option_1pz4z_141", Kr = "_spSelect__error_1pz4z_159", ge = {
|
|
4157
|
+
spSelect: Fr,
|
|
4158
|
+
spSelect_error: Mr,
|
|
4159
|
+
spSelect__control: Br,
|
|
4160
|
+
spSelect__value_empty: Wr,
|
|
4161
|
+
spSelect__icon: qr,
|
|
4162
|
+
spSelect__container: $r,
|
|
4163
|
+
spSelect__control_disabled: Hr,
|
|
4164
|
+
spSelect__value: Yr,
|
|
4165
|
+
spSelect__list: Vr,
|
|
4166
|
+
spSelect__list_scrollable: Ur,
|
|
4167
|
+
spSelect__option: Gr,
|
|
4168
|
+
spSelect__error: Kr
|
|
4169
|
+
}, Ns = (e) => {
|
|
4157
4170
|
const {
|
|
4158
4171
|
options: t,
|
|
4159
4172
|
placeholder: n = "Выберите из списка...",
|
|
@@ -4162,46 +4175,46 @@ const Cr = (e) => `not ${e}`, Tr = (e, t) => {
|
|
|
4162
4175
|
onChange: i,
|
|
4163
4176
|
onMouseEnter: r,
|
|
4164
4177
|
error: s,
|
|
4165
|
-
label:
|
|
4178
|
+
label: u,
|
|
4166
4179
|
infoTooltipText: d,
|
|
4167
|
-
tooltipPosition:
|
|
4180
|
+
tooltipPosition: m,
|
|
4168
4181
|
disabled: c,
|
|
4169
|
-
required:
|
|
4170
|
-
maxHeightList:
|
|
4182
|
+
required: b,
|
|
4183
|
+
maxHeightList: y = Pr,
|
|
4171
4184
|
isVisibleDefaultTitle: E = !0,
|
|
4172
|
-
isScrollableList:
|
|
4173
|
-
classNameRoot:
|
|
4185
|
+
isScrollableList: k = !1,
|
|
4186
|
+
classNameRoot: I,
|
|
4174
4187
|
classNameError: O,
|
|
4175
4188
|
classNameLabel: Y
|
|
4176
|
-
} = e, [
|
|
4189
|
+
} = e, [D, w] = ce(!1), p = Ce(null);
|
|
4177
4190
|
fn(
|
|
4178
4191
|
[p],
|
|
4179
4192
|
() => {
|
|
4180
|
-
|
|
4193
|
+
w(!1);
|
|
4181
4194
|
},
|
|
4182
|
-
|
|
4195
|
+
D
|
|
4183
4196
|
);
|
|
4184
|
-
const C = t.find((ee) => ee.value === o),
|
|
4185
|
-
i(ee, { value: Q, name: a }),
|
|
4197
|
+
const C = t.find((ee) => ee.value === o), F = (ee, Q) => {
|
|
4198
|
+
i(ee, { value: Q, name: a }), w(!1);
|
|
4186
4199
|
}, G = () => {
|
|
4187
|
-
c ||
|
|
4200
|
+
c || w(!D);
|
|
4188
4201
|
}, X = v({
|
|
4189
4202
|
[ge.spSelect]: !0,
|
|
4190
4203
|
[ge.spSelect_error]: !!s,
|
|
4191
|
-
...
|
|
4204
|
+
...I && { [I]: !0 }
|
|
4192
4205
|
}), se = v({
|
|
4193
4206
|
[ge.spSelect__container]: !0
|
|
4194
4207
|
}), de = v({
|
|
4195
4208
|
[ge.spSelect__control]: !0,
|
|
4196
4209
|
[ge.spSelect__control_disabled]: c
|
|
4197
|
-
}),
|
|
4210
|
+
}), xe = v({
|
|
4198
4211
|
[ge.spSelect__value]: !0,
|
|
4199
4212
|
[ge.spSelect__value_empty]: !C
|
|
4200
4213
|
}), ne = v({
|
|
4201
4214
|
[ge.spSelect__icon]: !0
|
|
4202
4215
|
}), g = v({
|
|
4203
4216
|
[ge.spSelect__list]: !0,
|
|
4204
|
-
[ge.spSelect__list_scrollable]:
|
|
4217
|
+
[ge.spSelect__list_scrollable]: k
|
|
4205
4218
|
}), L = v({
|
|
4206
4219
|
...Y && { [Y]: !0 }
|
|
4207
4220
|
}), q = v({
|
|
@@ -4209,13 +4222,13 @@ const Cr = (e) => `not ${e}`, Tr = (e, t) => {
|
|
|
4209
4222
|
...O && { [O]: !0 }
|
|
4210
4223
|
});
|
|
4211
4224
|
return /* @__PURE__ */ H("div", { className: X, ref: p, children: [
|
|
4212
|
-
|
|
4213
|
-
|
|
4225
|
+
u && /* @__PURE__ */ l(
|
|
4226
|
+
jt,
|
|
4214
4227
|
{
|
|
4215
4228
|
classNameRoot: L,
|
|
4216
|
-
tooltipPosition:
|
|
4217
|
-
required:
|
|
4218
|
-
label:
|
|
4229
|
+
tooltipPosition: m,
|
|
4230
|
+
required: b,
|
|
4231
|
+
label: u,
|
|
4219
4232
|
infoTooltipText: d
|
|
4220
4233
|
}
|
|
4221
4234
|
),
|
|
@@ -4228,23 +4241,23 @@ const Cr = (e) => `not ${e}`, Tr = (e, t) => {
|
|
|
4228
4241
|
className: de,
|
|
4229
4242
|
onClick: G,
|
|
4230
4243
|
children: [
|
|
4231
|
-
/* @__PURE__ */ l("div", { className:
|
|
4244
|
+
/* @__PURE__ */ l("div", { className: xe, children: (C == null ? void 0 : C.label) || n }),
|
|
4232
4245
|
/* @__PURE__ */ l(
|
|
4233
|
-
|
|
4246
|
+
_e,
|
|
4234
4247
|
{
|
|
4235
4248
|
name: re.SelectChevronDown,
|
|
4236
|
-
rotate:
|
|
4249
|
+
rotate: D ? 180 : void 0,
|
|
4237
4250
|
className: ne
|
|
4238
4251
|
}
|
|
4239
4252
|
)
|
|
4240
4253
|
]
|
|
4241
4254
|
}
|
|
4242
4255
|
),
|
|
4243
|
-
|
|
4256
|
+
D && /* @__PURE__ */ l(
|
|
4244
4257
|
"div",
|
|
4245
4258
|
{
|
|
4246
4259
|
className: g,
|
|
4247
|
-
style:
|
|
4260
|
+
style: k ? { maxHeight: `${y}px` } : {},
|
|
4248
4261
|
children: t.map((ee) => {
|
|
4249
4262
|
const Q = ee.value === o;
|
|
4250
4263
|
return /* @__PURE__ */ H(
|
|
@@ -4253,10 +4266,10 @@ const Cr = (e) => `not ${e}`, Tr = (e, t) => {
|
|
|
4253
4266
|
className: v({
|
|
4254
4267
|
[ge.spSelect__option]: !0
|
|
4255
4268
|
}),
|
|
4256
|
-
onClick: (f) =>
|
|
4269
|
+
onClick: (f) => F(f, ee.value),
|
|
4257
4270
|
children: [
|
|
4258
4271
|
ee.label,
|
|
4259
|
-
Q && /* @__PURE__ */ l(
|
|
4272
|
+
Q && /* @__PURE__ */ l(_e, { name: re.Check, className: ne })
|
|
4260
4273
|
]
|
|
4261
4274
|
},
|
|
4262
4275
|
ee.value
|
|
@@ -4267,61 +4280,61 @@ const Cr = (e) => `not ${e}`, Tr = (e, t) => {
|
|
|
4267
4280
|
] }),
|
|
4268
4281
|
s && /* @__PURE__ */ l("div", { className: q, children: s })
|
|
4269
4282
|
] });
|
|
4270
|
-
},
|
|
4271
|
-
spTable:
|
|
4272
|
-
spTable__tdContentCopyIcon:
|
|
4273
|
-
spTable__tdContent:
|
|
4274
|
-
spTable__tdColorContent:
|
|
4275
|
-
spTable__tdContentCopyIcon_copied:
|
|
4276
|
-
spTable__emptyPage:
|
|
4277
|
-
spStringsGroup:
|
|
4278
|
-
spStringsGroup__groupItem:
|
|
4279
|
-
spStringsGroup__groupItemHeader:
|
|
4280
|
-
spStringsGroup__groupItemContent:
|
|
4281
|
-
spStringsGroup__groupItemContentCopyIcon:
|
|
4282
|
-
spStringsGroup__groupItemContentCopyIcon_copied:
|
|
4283
|
-
}, sn = (e) => e == null || e === "" ? !0 : typeof e != "string" && typeof e.toString != "function" ? !1 : e.toString().replace(/\s/g, "").length < 1,
|
|
4283
|
+
}, Xr = "_spTable_1wwrq_43", Zr = "_spTable__tdContentCopyIcon_1wwrq_66", Qr = "_spTable__tdContent_1wwrq_66", Jr = "_spTable__tdColorContent_1wwrq_76", es = "_spTable__tdContentCopyIcon_copied_1wwrq_89", ts = "_spTable__emptyPage_1wwrq_93", ns = "_spStringsGroup_1wwrq_109", os = "_spStringsGroup__groupItem_1wwrq_123", as = "_spStringsGroup__groupItemHeader_1wwrq_138", is = "_spStringsGroup__groupItemContent_1wwrq_142", rs = "_spStringsGroup__groupItemContentCopyIcon_1wwrq_148", ss = "_spStringsGroup__groupItemContentCopyIcon_copied_1wwrq_155", he = {
|
|
4284
|
+
spTable: Xr,
|
|
4285
|
+
spTable__tdContentCopyIcon: Zr,
|
|
4286
|
+
spTable__tdContent: Qr,
|
|
4287
|
+
spTable__tdColorContent: Jr,
|
|
4288
|
+
spTable__tdContentCopyIcon_copied: es,
|
|
4289
|
+
spTable__emptyPage: ts,
|
|
4290
|
+
spStringsGroup: ns,
|
|
4291
|
+
spStringsGroup__groupItem: os,
|
|
4292
|
+
spStringsGroup__groupItemHeader: as,
|
|
4293
|
+
spStringsGroup__groupItemContent: is,
|
|
4294
|
+
spStringsGroup__groupItemContentCopyIcon: rs,
|
|
4295
|
+
spStringsGroup__groupItemContentCopyIcon_copied: ss
|
|
4296
|
+
}, sn = (e) => e == null || e === "" ? !0 : typeof e != "string" && typeof e.toString != "function" ? !1 : e.toString().replace(/\s/g, "").length < 1, js = (e) => {
|
|
4284
4297
|
const {
|
|
4285
4298
|
columns: t,
|
|
4286
4299
|
data: n,
|
|
4287
4300
|
isNotTableOnNotDesktop: o = !1,
|
|
4288
4301
|
classNameRoot: a
|
|
4289
|
-
} = e, i = t.map((
|
|
4290
|
-
...
|
|
4291
|
-
isVisible: n.some((p) => !!p[
|
|
4292
|
-
})).filter((
|
|
4302
|
+
} = e, i = t.map((w) => ({
|
|
4303
|
+
...w,
|
|
4304
|
+
isVisible: n.some((p) => !!p[w.key])
|
|
4305
|
+
})).filter((w) => w.isVisible), r = v({
|
|
4293
4306
|
[he.spTable]: !0,
|
|
4294
4307
|
...a && { [a]: !0 }
|
|
4295
4308
|
}), s = v({
|
|
4296
4309
|
[he.spTable__tdContent]: !0
|
|
4297
|
-
}),
|
|
4310
|
+
}), u = v({
|
|
4298
4311
|
[he.spTable__tdColorContent]: !0
|
|
4299
4312
|
}), d = v({
|
|
4300
4313
|
[he.spTable__emptyPage]: !0
|
|
4301
4314
|
}), {
|
|
4302
|
-
device: { isDesktop:
|
|
4303
|
-
} = ln(
|
|
4304
|
-
const { text: p, rowIndex: C, colIndex:
|
|
4305
|
-
(c == null ? void 0 : c.rowIndex) === C && (c == null ? void 0 : c.colIndex) ===
|
|
4306
|
-
|
|
4315
|
+
device: { isDesktop: m }
|
|
4316
|
+
} = ln(In), [c, b] = ce(null), y = (w) => {
|
|
4317
|
+
const { text: p, rowIndex: C, colIndex: F } = w;
|
|
4318
|
+
(c == null ? void 0 : c.rowIndex) === C && (c == null ? void 0 : c.colIndex) === F || navigator.clipboard.writeText(p).then(() => {
|
|
4319
|
+
b({ rowIndex: C, colIndex: F });
|
|
4307
4320
|
}).catch((G) => {
|
|
4308
4321
|
console.error("Ошибка при копировании:", G);
|
|
4309
4322
|
});
|
|
4310
4323
|
}, E = () => {
|
|
4311
|
-
|
|
4312
|
-
},
|
|
4313
|
-
row:
|
|
4324
|
+
b(null);
|
|
4325
|
+
}, k = () => /* @__PURE__ */ l("div", { className: d, children: "Данные отсутствуют" }), I = ({
|
|
4326
|
+
row: w,
|
|
4314
4327
|
col: p
|
|
4315
4328
|
}) => {
|
|
4316
|
-
const C =
|
|
4329
|
+
const C = w[p.key];
|
|
4317
4330
|
if (!C) return null;
|
|
4318
|
-
const [
|
|
4331
|
+
const [F, G] = C.split(/\s*\{\{|}}\s*/).filter(Boolean);
|
|
4319
4332
|
return /* @__PURE__ */ H("span", { children: [
|
|
4320
|
-
|
|
4321
|
-
G && /* @__PURE__ */ l("span", { className:
|
|
4333
|
+
F,
|
|
4334
|
+
G && /* @__PURE__ */ l("span", { className: u, children: ` ${G}` })
|
|
4322
4335
|
] });
|
|
4323
4336
|
}, O = () => n && Array.isArray(n) && n.length > 0 ? /* @__PURE__ */ H("table", { className: r, children: [
|
|
4324
|
-
/* @__PURE__ */ l("colgroup", { children: i.map((
|
|
4337
|
+
/* @__PURE__ */ l("colgroup", { children: i.map((w, p, C) => /* @__PURE__ */ l(
|
|
4325
4338
|
"col",
|
|
4326
4339
|
{
|
|
4327
4340
|
style: {
|
|
@@ -4330,17 +4343,17 @@ const Cr = (e) => `not ${e}`, Tr = (e, t) => {
|
|
|
4330
4343
|
},
|
|
4331
4344
|
p
|
|
4332
4345
|
)) }),
|
|
4333
|
-
/* @__PURE__ */ l("thead", { children: /* @__PURE__ */ l("tr", { children: i.map((
|
|
4334
|
-
/* @__PURE__ */ l("tbody", { children: n.map((
|
|
4335
|
-
const G = (c == null ? void 0 : c.rowIndex) === p && (c == null ? void 0 : c.colIndex) ===
|
|
4346
|
+
/* @__PURE__ */ l("thead", { children: /* @__PURE__ */ l("tr", { children: i.map((w, p) => /* @__PURE__ */ l("th", { children: w.title }, p)) }) }),
|
|
4347
|
+
/* @__PURE__ */ l("tbody", { children: n.map((w, p) => w ? /* @__PURE__ */ l("tr", { children: i.map((C, F) => {
|
|
4348
|
+
const G = (c == null ? void 0 : c.rowIndex) === p && (c == null ? void 0 : c.colIndex) === F;
|
|
4336
4349
|
return /* @__PURE__ */ l(
|
|
4337
4350
|
"td",
|
|
4338
4351
|
{
|
|
4339
4352
|
onMouseLeave: G ? E : void 0,
|
|
4340
4353
|
children: /* @__PURE__ */ H("div", { className: s, children: [
|
|
4341
|
-
/* @__PURE__ */ l("span", { children: C.isColorContentsCurlyBrackets ?
|
|
4342
|
-
!sn(
|
|
4343
|
-
|
|
4354
|
+
/* @__PURE__ */ l("span", { children: C.isColorContentsCurlyBrackets ? I({ row: w, col: C }) : w[C.key] }),
|
|
4355
|
+
!sn(w[C.key]) && C.isBeCopiedValue && /* @__PURE__ */ l(
|
|
4356
|
+
_e,
|
|
4344
4357
|
{
|
|
4345
4358
|
className: v({
|
|
4346
4359
|
[he.spTable__tdContentCopyIcon]: !0,
|
|
@@ -4348,31 +4361,31 @@ const Cr = (e) => `not ${e}`, Tr = (e, t) => {
|
|
|
4348
4361
|
}),
|
|
4349
4362
|
name: G ? re.Check : re.Copy,
|
|
4350
4363
|
onClick: () => {
|
|
4351
|
-
const X =
|
|
4364
|
+
const X = w[C.key];
|
|
4352
4365
|
if (!X) return null;
|
|
4353
|
-
|
|
4366
|
+
y({
|
|
4354
4367
|
text: X,
|
|
4355
4368
|
rowIndex: p,
|
|
4356
|
-
colIndex:
|
|
4369
|
+
colIndex: F
|
|
4357
4370
|
});
|
|
4358
4371
|
}
|
|
4359
4372
|
}
|
|
4360
4373
|
)
|
|
4361
4374
|
] })
|
|
4362
4375
|
},
|
|
4363
|
-
`${p}:${
|
|
4376
|
+
`${p}:${F}`
|
|
4364
4377
|
);
|
|
4365
4378
|
}) }, p) : null) })
|
|
4366
|
-
] }) :
|
|
4379
|
+
] }) : k(), Y = () => n && Array.isArray(n) && n.length > 0 ? /* @__PURE__ */ l(
|
|
4367
4380
|
"div",
|
|
4368
4381
|
{
|
|
4369
4382
|
className: v({
|
|
4370
4383
|
[he.spStringsGroup]: !0
|
|
4371
4384
|
}),
|
|
4372
|
-
children: n.map((
|
|
4373
|
-
if (sn(
|
|
4385
|
+
children: n.map((w, p) => w ? /* @__PURE__ */ l("div", { children: i.map((C, F) => {
|
|
4386
|
+
if (sn(w[C.key]))
|
|
4374
4387
|
return null;
|
|
4375
|
-
const G = (c == null ? void 0 : c.rowIndex) === p && (c == null ? void 0 : c.colIndex) ===
|
|
4388
|
+
const G = (c == null ? void 0 : c.rowIndex) === p && (c == null ? void 0 : c.colIndex) === F;
|
|
4376
4389
|
return /* @__PURE__ */ H(
|
|
4377
4390
|
"div",
|
|
4378
4391
|
{
|
|
@@ -4397,9 +4410,9 @@ const Cr = (e) => `not ${e}`, Tr = (e, t) => {
|
|
|
4397
4410
|
[he.spStringsGroup__groupItemContent]: !0
|
|
4398
4411
|
}),
|
|
4399
4412
|
children: [
|
|
4400
|
-
/* @__PURE__ */ l("span", { children:
|
|
4413
|
+
/* @__PURE__ */ l("span", { children: w[C.key] }),
|
|
4401
4414
|
C.isBeCopiedValue && /* @__PURE__ */ l(
|
|
4402
|
-
|
|
4415
|
+
_e,
|
|
4403
4416
|
{
|
|
4404
4417
|
className: v({
|
|
4405
4418
|
[he.spStringsGroup__groupItemContentCopyIcon]: !0,
|
|
@@ -4407,12 +4420,12 @@ const Cr = (e) => `not ${e}`, Tr = (e, t) => {
|
|
|
4407
4420
|
}),
|
|
4408
4421
|
name: G ? re.Check : re.Copy,
|
|
4409
4422
|
onClick: () => {
|
|
4410
|
-
const X =
|
|
4423
|
+
const X = w[C.key];
|
|
4411
4424
|
if (!X) return null;
|
|
4412
|
-
|
|
4425
|
+
y({
|
|
4413
4426
|
text: X,
|
|
4414
4427
|
rowIndex: p,
|
|
4415
|
-
colIndex:
|
|
4428
|
+
colIndex: F
|
|
4416
4429
|
});
|
|
4417
4430
|
}
|
|
4418
4431
|
}
|
|
@@ -4422,20 +4435,20 @@ const Cr = (e) => `not ${e}`, Tr = (e, t) => {
|
|
|
4422
4435
|
)
|
|
4423
4436
|
]
|
|
4424
4437
|
},
|
|
4425
|
-
|
|
4438
|
+
F
|
|
4426
4439
|
);
|
|
4427
4440
|
}) }, p) : null)
|
|
4428
4441
|
}
|
|
4429
|
-
) :
|
|
4430
|
-
return o ?
|
|
4431
|
-
},
|
|
4432
|
-
spTabs:
|
|
4433
|
-
spTabs_separated:
|
|
4434
|
-
spTabs__tabElement:
|
|
4435
|
-
spTabs__tabElement_active:
|
|
4436
|
-
spTabs__triggerTooltip:
|
|
4437
|
-
spTabs__tabElement_separated:
|
|
4438
|
-
},
|
|
4442
|
+
) : k();
|
|
4443
|
+
return o ? m ? O() : Y() : O();
|
|
4444
|
+
}, ps = "_spTabs_4bnra_43", cs = "_spTabs_separated_4bnra_54", ls = "_spTabs__tabElement_4bnra_58", ds = "_spTabs__tabElement_active_4bnra_75", us = "_spTabs__triggerTooltip_4bnra_82", ms = "_spTabs__tabElement_separated_4bnra_85", Oe = {
|
|
4445
|
+
spTabs: ps,
|
|
4446
|
+
spTabs_separated: cs,
|
|
4447
|
+
spTabs__tabElement: ls,
|
|
4448
|
+
spTabs__tabElement_active: ds,
|
|
4449
|
+
spTabs__triggerTooltip: us,
|
|
4450
|
+
spTabs__tabElement_separated: ms
|
|
4451
|
+
}, Rs = (e) => {
|
|
4439
4452
|
const { panes: t, isSeparated: n = !1, classNameRoot: o } = e, a = v({
|
|
4440
4453
|
[Oe.spTabs]: !0,
|
|
4441
4454
|
[Oe.spTabs_separated]: n,
|
|
@@ -4444,7 +4457,7 @@ const Cr = (e) => `not ${e}`, Tr = (e, t) => {
|
|
|
4444
4457
|
[Oe.spTabs__triggerTooltip]: !0
|
|
4445
4458
|
});
|
|
4446
4459
|
return /* @__PURE__ */ l("div", { className: a, children: t.map((r, s) => {
|
|
4447
|
-
const { name:
|
|
4460
|
+
const { name: u, active: d, onClick: m, infoTooltipText: c } = r;
|
|
4448
4461
|
return /* @__PURE__ */ H(
|
|
4449
4462
|
"div",
|
|
4450
4463
|
{
|
|
@@ -4453,9 +4466,9 @@ const Cr = (e) => `not ${e}`, Tr = (e, t) => {
|
|
|
4453
4466
|
[Oe.spTabs__tabElement_active]: d,
|
|
4454
4467
|
[Oe.spTabs__tabElement_separated]: n
|
|
4455
4468
|
}),
|
|
4456
|
-
onClick:
|
|
4469
|
+
onClick: m,
|
|
4457
4470
|
children: [
|
|
4458
|
-
/* @__PURE__ */ l(
|
|
4471
|
+
/* @__PURE__ */ l(Se, { type: "p2", children: u }),
|
|
4459
4472
|
!!c && /* @__PURE__ */ l(
|
|
4460
4473
|
Qe,
|
|
4461
4474
|
{
|
|
@@ -4468,45 +4481,45 @@ const Cr = (e) => `not ${e}`, Tr = (e, t) => {
|
|
|
4468
4481
|
r.key || s
|
|
4469
4482
|
);
|
|
4470
4483
|
}) });
|
|
4471
|
-
},
|
|
4472
|
-
spTextWithLabel:
|
|
4484
|
+
}, fs = "_spTextWithLabel_1xbk1_1", vs = {
|
|
4485
|
+
spTextWithLabel: fs
|
|
4473
4486
|
}, Ds = (e) => {
|
|
4474
4487
|
const { children: t, label: n, style: o, ...a } = e;
|
|
4475
|
-
return /* @__PURE__ */ H("div", { className:
|
|
4476
|
-
/* @__PURE__ */ l(
|
|
4477
|
-
/* @__PURE__ */ l(
|
|
4488
|
+
return /* @__PURE__ */ H("div", { className: vs.spTextWithLabel, style: { ...o }, children: [
|
|
4489
|
+
/* @__PURE__ */ l(jt, { label: n }),
|
|
4490
|
+
/* @__PURE__ */ l(Se, { ...a, children: t })
|
|
4478
4491
|
] });
|
|
4479
4492
|
};
|
|
4480
4493
|
export {
|
|
4481
|
-
|
|
4482
|
-
|
|
4494
|
+
hs as Accordion,
|
|
4495
|
+
zo as ApplyButtons,
|
|
4483
4496
|
un as BaseTooltip,
|
|
4484
4497
|
yt as Button,
|
|
4485
|
-
|
|
4486
|
-
|
|
4487
|
-
|
|
4498
|
+
bs as Checkbox,
|
|
4499
|
+
ws as Confirm,
|
|
4500
|
+
ks as ContextMenu,
|
|
4488
4501
|
hi as DefaultDropzone,
|
|
4489
|
-
|
|
4502
|
+
Cs as Dropdown,
|
|
4490
4503
|
re as EIconName,
|
|
4491
4504
|
ie as ETooltipPosition,
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4505
|
+
ji as EllipsisTextWithTooltip,
|
|
4506
|
+
Ts as Form,
|
|
4507
|
+
_e as Icon,
|
|
4495
4508
|
Qe as InfoTooltip,
|
|
4496
|
-
|
|
4497
|
-
|
|
4498
|
-
|
|
4509
|
+
Vi as Input,
|
|
4510
|
+
Es as InputFiles,
|
|
4511
|
+
jt as Label,
|
|
4499
4512
|
ea as Layer,
|
|
4500
|
-
|
|
4501
|
-
|
|
4513
|
+
In as MediaContext,
|
|
4514
|
+
Is as MediaContextProvider,
|
|
4502
4515
|
ua as Modal,
|
|
4503
4516
|
mn as Portal,
|
|
4504
|
-
|
|
4517
|
+
Ns as Select,
|
|
4505
4518
|
ho as Spinner,
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
|
|
4519
|
+
js as Table,
|
|
4520
|
+
Rs as Tabs,
|
|
4521
|
+
Se as Text,
|
|
4509
4522
|
Ds as TextWithLabel,
|
|
4510
|
-
|
|
4511
|
-
|
|
4523
|
+
It as Tooltip,
|
|
4524
|
+
ys as useModal
|
|
4512
4525
|
};
|