test-stpr-ui-kit 0.4.2 → 0.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/test-stpr-ui-kit.css +1 -1
- package/dist/test-stpr-ui-kit.es.d.ts +22 -15
- package/dist/test-stpr-ui-kit.es.js +520 -515
- package/dist/test-stpr-ui-kit.umd.cjs +10 -10
- package/package.json +1 -1
|
@@ -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 re, useRef as Ce, useCallback as le, forwardRef as Fn, useImperativeHandle as zn, Fragment as
|
|
2
|
+
import * as I from "react";
|
|
3
|
+
import We, { useState as ce, useEffect as re, useRef as Ce, useCallback as le, forwardRef as Fn, useImperativeHandle as zn, Fragment as Mn, useMemo as Ae, useReducer as Bn, createContext as cn, useContext as ln } from "react";
|
|
4
4
|
import Wn from "react-dom";
|
|
5
5
|
import './test-stpr-ui-kit.css';function dn(e) {
|
|
6
6
|
var t, n, o = "";
|
|
@@ -15,7 +15,7 @@ function v() {
|
|
|
15
15
|
for (var e, t, n = 0, o = "", a = arguments.length; n < a; n++) (e = arguments[n]) && (t = dn(e)) && (o && (o += " "), o += t);
|
|
16
16
|
return o;
|
|
17
17
|
}
|
|
18
|
-
const qn = (e) => /* @__PURE__ */
|
|
18
|
+
const qn = (e) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ I.createElement("path", { d: "M20 7L9 18L4 13", stroke: "currentColor", strokeWidth: 2 })), $n = (e) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 26 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ I.createElement("path", { d: "M25 6L13 18L1 6", stroke: "currentColor", strokeWidth: 2 })), Hn = (e) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 20 20", fill: "none", ...e }, /* @__PURE__ */ I.createElement("line", { y1: -0.4, x2: 24.5568, y2: -0.4, transform: "matrix(0.680234 -0.732995 -0.680234 -0.732995 1 19)", stroke: "currentColor", strokeWidth: 0.8 }), /* @__PURE__ */ I.createElement("line", { y1: -0.4, x2: 24.5568, y2: -0.4, transform: "matrix(-0.680234 -0.732995 0.680234 -0.732995 18.9999 19)", stroke: "currentColor", strokeWidth: 0.8 })), Yn = (e) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ I.createElement("path", { d: "M20 9H11C9.89543 9 9 9.89543 9 11V20C9 21.1046 9.89543 22 11 22H20C21.1046 22 22 21.1046 22 20V11C22 9.89543 21.1046 9 20 9Z", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ I.createElement("path", { d: "M5 15H4C3.46957 15 2.96086 14.7893 2.58579 14.4142C2.21071 14.0391 2 13.5304 2 13V4C2 3.46957 2.21071 2.96086 2.58579 2.58579C2.96086 2.21071 3.46957 2 4 2H13C13.5304 2 14.0391 2.21071 14.4142 2.58579C14.7893 2.96086 15 3.46957 15 4V5", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Vn = (e) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 18 4", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ I.createElement("circle", { cx: 2, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ I.createElement("circle", { cx: 9, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ I.createElement("circle", { cx: 16, cy: 2, r: 2, fill: "currentColor" })), Un = (e) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ I.createElement("path", { d: "M8 4.61111V8.5H11.8889M8 15.5C4.13401 15.5 1 12.366 1 8.5C1 4.63401 4.13401 1.5 8 1.5C11.866 1.5 15 4.63401 15 8.5C15 12.366 11.866 15.5 8 15.5Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Gn = (e) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ I.createElement("path", { d: "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ I.createElement("path", { d: "M12 8V12", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ I.createElement("path", { d: "M12 16H12.01", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Kn = (e) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ I.createElement("path", { d: "M5 12H19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Xn = (e) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ I.createElement("path", { d: "M12 5V19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ I.createElement("path", { d: "M5 12H19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Zn = (e) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 16 16", fill: "none", ...e }, /* @__PURE__ */ I.createElement("path", { d: "M8 14.4C4.472 14.4 1.6 11.528 1.6 8C1.6 4.472 4.472 1.6 8 1.6C11.528 1.6 14.4 4.472 14.4 8C14.4 11.528 11.528 14.4 8 14.4ZM8 0C6.94943 0 5.90914 0.206926 4.93853 0.608964C3.96793 1.011 3.08601 1.60028 2.34315 2.34315C0.842855 3.84344 0 5.87827 0 8C0 10.1217 0.842855 12.1566 2.34315 13.6569C3.08601 14.3997 3.96793 14.989 4.93853 15.391C5.90914 15.7931 6.94943 16 8 16C10.1217 16 12.1566 15.1571 13.6569 13.6569C15.1571 12.1566 16 10.1217 16 8C16 6.94943 15.7931 5.90914 15.391 4.93853C14.989 3.96793 14.3997 3.08601 13.6569 2.34315C12.914 1.60028 12.0321 1.011 11.0615 0.608964C10.0909 0.206926 9.05058 0 8 0ZM8.8 4H7.2V7.2H4V8.8H7.2V12H8.8V8.8H12V7.2H8.8V4Z", fill: "currentColor" })), Qn = (e) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ I.createElement("path", { d: "M19 3H5C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21H19C20.1046 21 21 20.1046 21 19V5C21 3.89543 20.1046 3 19 3Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ I.createElement("path", { d: "M12 8V16", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ I.createElement("path", { d: "M8 12H16", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Jn = (e) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ I.createElement("path", { d: "M12 15.275L6 9.275L7.275 8L12 12.725L16.725 8L18 9.275L12 15.275Z", fill: "currentColor" })), eo = (e) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ I.createElement("path", { d: "M3 6H5H21", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ I.createElement("path", { d: "M19 6V20C19 20.5304 18.7893 21.0391 18.4142 21.4142C18.0391 21.7893 17.5304 22 17 22H7C6.46957 22 5.96086 21.7893 5.58579 21.4142C5.21071 21.0391 5 20.5304 5 20V6M8 6V4C8 3.46957 8.21071 2.96086 8.58579 2.58579C8.96086 2.21071 9.46957 2 10 2H14C14.5304 2 15.0391 2.21071 15.4142 2.58579C15.7893 2.96086 16 3.46957 16 4V6", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ I.createElement("path", { d: "M10 11V17", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ I.createElement("path", { d: "M14 11V17", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), to = (e) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "-2 -2 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ I.createElement("path", { d: "M2 10V17C2 17.5304 2.21071 18.0391 2.58579 18.4142C2.96086 18.7893 3.46957 19 4 19H16C16.5304 19 17.0391 18.7893 17.4142 18.4142C17.7893 18.0391 18 17.5304 18 17V10", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ I.createElement("path", { d: "M14 5L10 1L6 5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ I.createElement("path", { d: "M10 2V13", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })), no = (e) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 26 26", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ I.createElement("path", { d: "M12.971 2.24023L25.8228 24.5002H0.119141L12.971 2.24023Z", fill: "#002A64" }), /* @__PURE__ */ I.createElement("path", { d: "M13.0835 4.20023L25.2079 25.2002H0.959141L13.0835 4.20023Z", fill: "#036BFD" }), /* @__PURE__ */ I.createElement("path", { d: "M14.3991 21.0002H11.8791V23.5202H14.3991V21.0002Z", fill: "#F5F5F7" }), /* @__PURE__ */ I.createElement("path", { d: "M14.3991 10.6402H11.8791V19.8802H14.3991V10.6402Z", fill: "#F5F5F7" })), ve = (e) => {
|
|
19
19
|
const { name: t, rotate: n, ...o } = e, a = {
|
|
20
20
|
...o.style,
|
|
21
21
|
flexShrink: 0,
|
|
@@ -25,37 +25,39 @@ const qn = (e) => /* @__PURE__ */ D.createElement("svg", { className: "stpr-icon
|
|
|
25
25
|
info: Gn,
|
|
26
26
|
plus: Xn,
|
|
27
27
|
minus: Kn,
|
|
28
|
-
selectChevronDown:
|
|
29
|
-
upload:
|
|
30
|
-
trash:
|
|
28
|
+
selectChevronDown: Jn,
|
|
29
|
+
upload: to,
|
|
30
|
+
trash: eo,
|
|
31
31
|
check: qn,
|
|
32
32
|
copy: Yn,
|
|
33
33
|
close: Hn,
|
|
34
|
-
plusSquare:
|
|
35
|
-
warningColor:
|
|
34
|
+
plusSquare: Qn,
|
|
35
|
+
warningColor: no,
|
|
36
36
|
dots: Vn,
|
|
37
|
-
historyClock: Un
|
|
37
|
+
historyClock: Un,
|
|
38
|
+
plusCircle: Zn
|
|
38
39
|
};
|
|
39
40
|
return We.createElement(i[t], {
|
|
40
41
|
...o,
|
|
41
42
|
style: a
|
|
42
43
|
});
|
|
43
44
|
};
|
|
44
|
-
var ie = /* @__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.WarningColor = "warningColor", e.Dots = "dots", e.HistoryClock = "historyClock", e.Minus = "minus", e))(ie || {});
|
|
45
|
-
const
|
|
46
|
-
spAccordion:
|
|
47
|
-
spAccordion_noBorder:
|
|
48
|
-
spAccordion_noPadding:
|
|
49
|
-
spAccordion__name:
|
|
50
|
-
spAccordion_open:
|
|
51
|
-
spAccordion__header:
|
|
52
|
-
spAccordion_noOpen:
|
|
53
|
-
spAccordion__name_hiddenExpand:
|
|
54
|
-
spAccordion__icon:
|
|
55
|
-
spAccordion__icon_hidden:
|
|
56
|
-
spAccordion__childrenWrapper:
|
|
57
|
-
spAccordion__childrenWrapper_open:
|
|
58
|
-
|
|
45
|
+
var ie = /* @__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))(ie || {});
|
|
46
|
+
const oo = "_spAccordion_1ohth_43", ao = "_spAccordion_noBorder_1ohth_56", io = "_spAccordion_noPadding_1ohth_59", ro = "_spAccordion__name_1ohth_62", so = "_spAccordion_open_1ohth_72", po = "_spAccordion__header_1ohth_75", co = "_spAccordion_noOpen_1ohth_83", lo = "_spAccordion__name_hiddenExpand_1ohth_114", uo = "_spAccordion__icon_1ohth_117", mo = "_spAccordion__icon_hidden_1ohth_127", fo = "_spAccordion__childrenWrapper_1ohth_133", vo = "_spAccordion__childrenWrapper_open_1ohth_142", _o = "_spAccordion__content_1ohth_145", fe = {
|
|
47
|
+
spAccordion: oo,
|
|
48
|
+
spAccordion_noBorder: ao,
|
|
49
|
+
spAccordion_noPadding: io,
|
|
50
|
+
spAccordion__name: ro,
|
|
51
|
+
spAccordion_open: so,
|
|
52
|
+
spAccordion__header: po,
|
|
53
|
+
spAccordion_noOpen: co,
|
|
54
|
+
spAccordion__name_hiddenExpand: lo,
|
|
55
|
+
spAccordion__icon: uo,
|
|
56
|
+
spAccordion__icon_hidden: mo,
|
|
57
|
+
spAccordion__childrenWrapper: fo,
|
|
58
|
+
spAccordion__childrenWrapper_open: vo,
|
|
59
|
+
spAccordion__content: _o
|
|
60
|
+
}, xs = (e) => {
|
|
59
61
|
const {
|
|
60
62
|
name: t,
|
|
61
63
|
children: n,
|
|
@@ -71,34 +73,34 @@ const no = "_spAccordion_1q3b8_43", oo = "_spAccordion_noBorder_1q3b8_56", ao =
|
|
|
71
73
|
classNameChildrenWrapper: y
|
|
72
74
|
} = e, [w, T] = ce(o), k = () => {
|
|
73
75
|
a || (T(!w), i == null || i(!w));
|
|
74
|
-
},
|
|
75
|
-
[
|
|
76
|
-
[
|
|
77
|
-
[
|
|
78
|
-
[
|
|
79
|
-
[
|
|
76
|
+
}, N = v({
|
|
77
|
+
[fe.spAccordion]: !0,
|
|
78
|
+
[fe.spAccordion_open]: w,
|
|
79
|
+
[fe.spAccordion_noOpen]: !w,
|
|
80
|
+
[fe.spAccordion_noBorder]: r,
|
|
81
|
+
[fe.spAccordion_noPadding]: s,
|
|
80
82
|
...m && { [m]: !0 }
|
|
81
83
|
}), O = v({
|
|
82
|
-
[
|
|
84
|
+
[fe.spAccordion__header]: !0,
|
|
83
85
|
...d && { [d]: !0 }
|
|
84
86
|
}), Y = v({
|
|
85
|
-
[
|
|
86
|
-
[
|
|
87
|
+
[fe.spAccordion__name]: !0,
|
|
88
|
+
[fe.spAccordion__name_hiddenExpand]: a,
|
|
87
89
|
...u && { [u]: !0 }
|
|
88
90
|
}), R = v({
|
|
89
|
-
[
|
|
90
|
-
[
|
|
91
|
+
[fe.spAccordion__icon]: !0,
|
|
92
|
+
[fe.spAccordion__icon_hidden]: a,
|
|
91
93
|
...c && { [c]: !0 }
|
|
92
94
|
}), b = v({
|
|
93
|
-
[
|
|
94
|
-
[
|
|
95
|
+
[fe.spAccordion__childrenWrapper]: !0,
|
|
96
|
+
[fe.spAccordion__childrenWrapper_open]: w,
|
|
95
97
|
...y && { [y]: !0 }
|
|
96
98
|
});
|
|
97
|
-
return /* @__PURE__ */ H("div", { className:
|
|
99
|
+
return /* @__PURE__ */ H("div", { className: N, children: [
|
|
98
100
|
/* @__PURE__ */ H("div", { className: O, children: [
|
|
99
101
|
/* @__PURE__ */ l("div", { className: Y, children: /* @__PURE__ */ l("span", { onClick: k, children: t }) }),
|
|
100
102
|
/* @__PURE__ */ l(
|
|
101
|
-
|
|
103
|
+
ve,
|
|
102
104
|
{
|
|
103
105
|
rotate: w ? 180 : void 0,
|
|
104
106
|
onClick: k,
|
|
@@ -107,17 +109,17 @@ const no = "_spAccordion_1q3b8_43", oo = "_spAccordion_noBorder_1q3b8_56", ao =
|
|
|
107
109
|
}
|
|
108
110
|
)
|
|
109
111
|
] }),
|
|
110
|
-
/* @__PURE__ */ l("div", { className: b, children: /* @__PURE__ */ l("div", { children: n }) })
|
|
112
|
+
/* @__PURE__ */ l("div", { className: b, children: /* @__PURE__ */ l("div", { className: fe.spAccordion__content, children: n }) })
|
|
111
113
|
] });
|
|
112
|
-
},
|
|
113
|
-
spinner:
|
|
114
|
-
spinner__inner:
|
|
114
|
+
}, xo = "_spinner_f5rd2_43", go = "_spinner__inner_f5rd2_53", pt = {
|
|
115
|
+
spinner: xo,
|
|
116
|
+
spinner__inner: go,
|
|
115
117
|
"spinner-rotate": "_spinner-rotate_f5rd2_1",
|
|
116
118
|
"spinner--sm": "_spinner--sm_f5rd2_66",
|
|
117
119
|
"spinner--md": "_spinner--md_f5rd2_70",
|
|
118
120
|
"spinner--lg": "_spinner--lg_f5rd2_73",
|
|
119
121
|
"spinner--xl": "_spinner--xl_f5rd2_77"
|
|
120
|
-
},
|
|
122
|
+
}, ho = (e) => {
|
|
121
123
|
const { size: t = "md", color: n = "#036bfd", classNameRoot: o } = e;
|
|
122
124
|
return /* @__PURE__ */ l(
|
|
123
125
|
"div",
|
|
@@ -129,20 +131,20 @@ const no = "_spAccordion_1q3b8_43", oo = "_spAccordion_noBorder_1q3b8_56", ao =
|
|
|
129
131
|
children: /* @__PURE__ */ l("div", { className: pt.spinner__inner })
|
|
130
132
|
}
|
|
131
133
|
);
|
|
132
|
-
},
|
|
133
|
-
spButton:
|
|
134
|
-
spButton_noPadding:
|
|
135
|
-
spButton_onlyIcon:
|
|
136
|
-
spButton__iconContainer:
|
|
137
|
-
spButton_link:
|
|
138
|
-
spButton__text:
|
|
139
|
-
spButton_primary:
|
|
140
|
-
spButton_blue:
|
|
141
|
-
spButton_white:
|
|
142
|
-
spButton_secondary:
|
|
143
|
-
spButton_fullWidth:
|
|
144
|
-
spButton_disabled:
|
|
145
|
-
spButton__spinner:
|
|
134
|
+
}, bo = "_spButton_g64hf_43", yo = "_spButton_noPadding_g64hf_58", wo = "_spButton_onlyIcon_g64hf_61", ko = "_spButton__iconContainer_g64hf_69", Co = "_spButton_link_g64hf_72", To = "_spButton__text_g64hf_76", Eo = "_spButton_primary_g64hf_88", So = "_spButton_blue_g64hf_88", jo = "_spButton_white_g64hf_98", Io = "_spButton_secondary_g64hf_108", No = "_spButton_fullWidth_g64hf_128", Do = "_spButton_disabled_g64hf_131", Ro = "_spButton__spinner_g64hf_139", be = {
|
|
135
|
+
spButton: bo,
|
|
136
|
+
spButton_noPadding: yo,
|
|
137
|
+
spButton_onlyIcon: wo,
|
|
138
|
+
spButton__iconContainer: ko,
|
|
139
|
+
spButton_link: Co,
|
|
140
|
+
spButton__text: To,
|
|
141
|
+
spButton_primary: Eo,
|
|
142
|
+
spButton_blue: So,
|
|
143
|
+
spButton_white: jo,
|
|
144
|
+
spButton_secondary: Io,
|
|
145
|
+
spButton_fullWidth: No,
|
|
146
|
+
spButton_disabled: Do,
|
|
147
|
+
spButton__spinner: Ro
|
|
146
148
|
}, yt = (e) => {
|
|
147
149
|
const {
|
|
148
150
|
color: t = "blue",
|
|
@@ -160,7 +162,7 @@ const no = "_spAccordion_1q3b8_43", oo = "_spAccordion_noBorder_1q3b8_56", ao =
|
|
|
160
162
|
isOnlyIcon: w = !1,
|
|
161
163
|
noPadding: T = !1,
|
|
162
164
|
classNameRoot: k,
|
|
163
|
-
classNameIconContainerRoot:
|
|
165
|
+
classNameIconContainerRoot: N
|
|
164
166
|
} = e, O = (b) => {
|
|
165
167
|
s || a == null || a(b);
|
|
166
168
|
}, Y = () => {
|
|
@@ -168,10 +170,10 @@ const no = "_spAccordion_1q3b8_43", oo = "_spAccordion_noBorder_1q3b8_56", ao =
|
|
|
168
170
|
[be.spButton__text]: !0
|
|
169
171
|
}), p = v({
|
|
170
172
|
[be.spButton__iconContainer]: !0,
|
|
171
|
-
...
|
|
173
|
+
...N && { [N]: !0 }
|
|
172
174
|
});
|
|
173
175
|
return /* @__PURE__ */ H(pn, { children: [
|
|
174
|
-
(i || c) && /* @__PURE__ */ l("div", { className: p, children: c ? /* @__PURE__ */ l(
|
|
176
|
+
(i || c) && /* @__PURE__ */ l("div", { className: p, children: c ? /* @__PURE__ */ l(ho, { classNameRoot: be.spButton__spinner }) : i && /* @__PURE__ */ l(ve, { name: i, rotate: r }) }),
|
|
175
177
|
!w && u && /* @__PURE__ */ l("div", { className: b, children: u })
|
|
176
178
|
] });
|
|
177
179
|
}, R = v({
|
|
@@ -197,15 +199,15 @@ const no = "_spAccordion_1q3b8_43", oo = "_spAccordion_noBorder_1q3b8_56", ao =
|
|
|
197
199
|
children: Y()
|
|
198
200
|
}
|
|
199
201
|
);
|
|
200
|
-
},
|
|
201
|
-
spApplyButtons:
|
|
202
|
+
}, Ao = "_spApplyButtons_e8c1h_43", Oo = "_spApplyButtons__cancel_e8c1h_65", Lo = "_spApplyButtons__submit_e8c1h_68", ze = {
|
|
203
|
+
spApplyButtons: Ao,
|
|
202
204
|
"spApplyButtons_align-right": "_spApplyButtons_align-right_e8c1h_48",
|
|
203
205
|
"spApplyButtons_align-left": "_spApplyButtons_align-left_e8c1h_51",
|
|
204
206
|
"spApplyButtons_align-center": "_spApplyButtons_align-center_e8c1h_54",
|
|
205
207
|
"spApplyButtons_mobile-column": "_spApplyButtons_mobile-column_e8c1h_57",
|
|
206
|
-
spApplyButtons__cancel:
|
|
207
|
-
spApplyButtons__submit:
|
|
208
|
-
},
|
|
208
|
+
spApplyButtons__cancel: Oo,
|
|
209
|
+
spApplyButtons__submit: Lo
|
|
210
|
+
}, Po = (e) => {
|
|
209
211
|
const {
|
|
210
212
|
mobile: t = "column",
|
|
211
213
|
align: n = "center",
|
|
@@ -252,10 +254,10 @@ const no = "_spAccordion_1q3b8_43", oo = "_spAccordion_noBorder_1q3b8_56", ao =
|
|
|
252
254
|
}
|
|
253
255
|
)
|
|
254
256
|
] });
|
|
255
|
-
},
|
|
256
|
-
spBaseTooltip:
|
|
257
|
-
spBaseTooltip_noPadding:
|
|
258
|
-
spBaseTooltip__content:
|
|
257
|
+
}, Fo = "_spBaseTooltip_1ahs2_43", zo = "_spBaseTooltip_noPadding_1ahs2_56", Mo = "_spBaseTooltip__content_1ahs2_59", ct = {
|
|
258
|
+
spBaseTooltip: Fo,
|
|
259
|
+
spBaseTooltip_noPadding: zo,
|
|
260
|
+
spBaseTooltip__content: Mo
|
|
259
261
|
}, un = We.forwardRef((e, t) => {
|
|
260
262
|
const {
|
|
261
263
|
text: n,
|
|
@@ -286,8 +288,8 @@ const mn = ({ children: e, node: t, classNameRoot: n }) => {
|
|
|
286
288
|
t || document.body.removeChild(i);
|
|
287
289
|
};
|
|
288
290
|
}, [t, n]), o ? Wn.createPortal(e, o) : null;
|
|
289
|
-
},
|
|
290
|
-
spTooltip:
|
|
291
|
+
}, Bo = "_spTooltip_umff1_43", Wo = {
|
|
292
|
+
spTooltip: Bo
|
|
291
293
|
};
|
|
292
294
|
var ae = /* @__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))(ae || {});
|
|
293
295
|
function fn(e, t, n = !0) {
|
|
@@ -316,9 +318,9 @@ const jt = (e) => {
|
|
|
316
318
|
classNameTooltip: c,
|
|
317
319
|
classNameBaseTooltipRoot: y,
|
|
318
320
|
classNameBaseTooltipContentRoot: w
|
|
319
|
-
} = e, [T, k] = ce(!1),
|
|
321
|
+
} = e, [T, k] = ce(!1), N = Ce(null), O = Ce(null), [Y, R] = ce(!1);
|
|
320
322
|
fn(
|
|
321
|
-
[
|
|
323
|
+
[N, O],
|
|
322
324
|
() => {
|
|
323
325
|
r && r(), k(!1);
|
|
324
326
|
},
|
|
@@ -331,8 +333,8 @@ const jt = (e) => {
|
|
|
331
333
|
opacity: 0,
|
|
332
334
|
left: "-9999px"
|
|
333
335
|
}), [z, G] = ce(!1), X = le(() => {
|
|
334
|
-
if (!
|
|
335
|
-
const g =
|
|
336
|
+
if (!N.current || !O.current) return;
|
|
337
|
+
const g = N.current.getBoundingClientRect(), L = O.current.getBoundingClientRect();
|
|
336
338
|
let q = 0, K = 0;
|
|
337
339
|
switch (m) {
|
|
338
340
|
case ae.Right:
|
|
@@ -392,11 +394,11 @@ const jt = (e) => {
|
|
|
392
394
|
};
|
|
393
395
|
}, [Y, X]);
|
|
394
396
|
const se = v({
|
|
395
|
-
[
|
|
397
|
+
[Wo.spTooltip]: !0,
|
|
396
398
|
...c && { [c]: !0 }
|
|
397
399
|
}), de = v({
|
|
398
400
|
...y && { [y]: !0 }
|
|
399
|
-
}),
|
|
401
|
+
}), _e = v({
|
|
400
402
|
...w && { [w]: !0 }
|
|
401
403
|
}), ne = document.body;
|
|
402
404
|
return /* @__PURE__ */ H(
|
|
@@ -407,7 +409,7 @@ const jt = (e) => {
|
|
|
407
409
|
onMouseEnter: () => t && G(!0),
|
|
408
410
|
onMouseLeave: () => t && G(!1),
|
|
409
411
|
children: [
|
|
410
|
-
/* @__PURE__ */ l("div", { ref:
|
|
412
|
+
/* @__PURE__ */ l("div", { ref: N, className: s, children: a }),
|
|
411
413
|
o && /* @__PURE__ */ l(mn, { node: ne, children: /* @__PURE__ */ l(
|
|
412
414
|
un,
|
|
413
415
|
{
|
|
@@ -416,26 +418,26 @@ const jt = (e) => {
|
|
|
416
418
|
noPadding: u,
|
|
417
419
|
text: d,
|
|
418
420
|
classNameRoot: de,
|
|
419
|
-
classNameContentRoot:
|
|
421
|
+
classNameContentRoot: _e
|
|
420
422
|
}
|
|
421
423
|
) })
|
|
422
424
|
]
|
|
423
425
|
}
|
|
424
426
|
);
|
|
425
|
-
}, Qe = (e) => /* @__PURE__ */ l(jt, { ...e, hover: !0, trigger: /* @__PURE__ */ l(
|
|
426
|
-
spCheckbox:
|
|
427
|
-
spCheckbox__control:
|
|
428
|
-
spCheckbox__label:
|
|
429
|
-
spCheckbox__box:
|
|
430
|
-
"spCheckbox__box--size-lg": "_spCheckbox__box--size-
|
|
431
|
-
"spCheckbox__box--size-md": "_spCheckbox__box--size-
|
|
432
|
-
spCheckbox__box_checked:
|
|
433
|
-
spCheckbox__box_disabled:
|
|
434
|
-
spCheckbox__box_error:
|
|
435
|
-
spCheckbox__tooltip:
|
|
436
|
-
spCheckbox__required:
|
|
437
|
-
spCheckbox__error:
|
|
438
|
-
},
|
|
427
|
+
}, Qe = (e) => /* @__PURE__ */ l(jt, { ...e, hover: !0, trigger: /* @__PURE__ */ l(ve, { name: ie.Info }) }), qo = "_spCheckbox_di6ar_43", $o = "_spCheckbox__control_di6ar_49", Ho = "_spCheckbox__label_di6ar_52", Yo = "_spCheckbox__box_di6ar_63", Vo = "_spCheckbox__box_checked_di6ar_90", Uo = "_spCheckbox__box_disabled_di6ar_100", Go = "_spCheckbox__box_error_di6ar_110", Ko = "_spCheckbox__tooltip_di6ar_113", Xo = "_spCheckbox__required_di6ar_118", Zo = "_spCheckbox__error_di6ar_124", ye = {
|
|
428
|
+
spCheckbox: qo,
|
|
429
|
+
spCheckbox__control: $o,
|
|
430
|
+
spCheckbox__label: Ho,
|
|
431
|
+
spCheckbox__box: Yo,
|
|
432
|
+
"spCheckbox__box--size-lg": "_spCheckbox__box--size-lg_di6ar_68",
|
|
433
|
+
"spCheckbox__box--size-md": "_spCheckbox__box--size-md_di6ar_73",
|
|
434
|
+
spCheckbox__box_checked: Vo,
|
|
435
|
+
spCheckbox__box_disabled: Uo,
|
|
436
|
+
spCheckbox__box_error: Go,
|
|
437
|
+
spCheckbox__tooltip: Ko,
|
|
438
|
+
spCheckbox__required: Xo,
|
|
439
|
+
spCheckbox__error: Zo
|
|
440
|
+
}, gs = (e) => {
|
|
439
441
|
const {
|
|
440
442
|
size: t = "lg",
|
|
441
443
|
checked: n,
|
|
@@ -454,7 +456,7 @@ const jt = (e) => {
|
|
|
454
456
|
} = e, k = v({
|
|
455
457
|
[ye.spCheckbox]: !0,
|
|
456
458
|
...w && { [w]: !0 }
|
|
457
|
-
}),
|
|
459
|
+
}), N = v({
|
|
458
460
|
[ye.spCheckbox__box]: !0,
|
|
459
461
|
[ye.spCheckbox__box_checked]: n,
|
|
460
462
|
[ye.spCheckbox__box_disabled]: o,
|
|
@@ -473,7 +475,7 @@ const jt = (e) => {
|
|
|
473
475
|
[ye.spCheckbox__tooltip]: !0
|
|
474
476
|
});
|
|
475
477
|
return /* @__PURE__ */ H("div", { className: k, onMouseEnter: y, children: [
|
|
476
|
-
/* @__PURE__ */ H("label", { className:
|
|
478
|
+
/* @__PURE__ */ H("label", { className: N, children: [
|
|
477
479
|
/* @__PURE__ */ l(
|
|
478
480
|
"input",
|
|
479
481
|
{
|
|
@@ -491,7 +493,7 @@ const jt = (e) => {
|
|
|
491
493
|
] }),
|
|
492
494
|
s && /* @__PURE__ */ l("div", { className: b, children: s })
|
|
493
495
|
] });
|
|
494
|
-
},
|
|
496
|
+
}, hs = (e = {}) => {
|
|
495
497
|
const { initialValue: t = null } = e, [n, o] = ce(t);
|
|
496
498
|
return {
|
|
497
499
|
isOpen: !!n,
|
|
@@ -503,10 +505,10 @@ const jt = (e) => {
|
|
|
503
505
|
o(null);
|
|
504
506
|
}
|
|
505
507
|
};
|
|
506
|
-
},
|
|
507
|
-
layer:
|
|
508
|
-
layer_hidden:
|
|
509
|
-
},
|
|
508
|
+
}, Qo = "_layer_14g8d_43", Jo = "_layer_hidden_14g8d_65", At = {
|
|
509
|
+
layer: Qo,
|
|
510
|
+
layer_hidden: Jo
|
|
511
|
+
}, ea = (e) => {
|
|
510
512
|
const {
|
|
511
513
|
children: t,
|
|
512
514
|
zIndex: n = "9999",
|
|
@@ -518,16 +520,16 @@ const jt = (e) => {
|
|
|
518
520
|
...a && { [a]: !0 }
|
|
519
521
|
});
|
|
520
522
|
return /* @__PURE__ */ l(mn, { node: i, children: /* @__PURE__ */ l("div", { style: { zIndex: n }, className: r, children: t }) });
|
|
521
|
-
},
|
|
522
|
-
spText:
|
|
523
|
-
spText_ellipsis:
|
|
523
|
+
}, ta = "_spText_13ohe_43", na = "_spText_ellipsis_13ohe_54", oa = "_spText_cursorPointer_13ohe_111", Ye = {
|
|
524
|
+
spText: ta,
|
|
525
|
+
spText_ellipsis: na,
|
|
524
526
|
"spText_type-h1": "_spText_type-h1_13ohe_60",
|
|
525
527
|
"spText_type-h3": "_spText_type-h3_13ohe_70",
|
|
526
528
|
"spText_type-p1": "_spText_type-p1_13ohe_81",
|
|
527
529
|
"spText_type-p2": "_spText_type-p2_13ohe_86",
|
|
528
530
|
"spText_type-description": "_spText_type-description_13ohe_90",
|
|
529
531
|
"spText_type-link": "_spText_type-link_13ohe_98",
|
|
530
|
-
spText_cursorPointer:
|
|
532
|
+
spText_cursorPointer: oa
|
|
531
533
|
}, Te = We.forwardRef((e, t) => {
|
|
532
534
|
const {
|
|
533
535
|
type: n,
|
|
@@ -560,18 +562,18 @@ const jt = (e) => {
|
|
|
560
562
|
);
|
|
561
563
|
});
|
|
562
564
|
Te.displayName = "Text";
|
|
563
|
-
const
|
|
564
|
-
modalWrapper:
|
|
565
|
+
const aa = "_modalWrapper_r712c_43", ia = "_modalWrapper__modal_r712c_54", ra = "_modalWrapper__content_r712c_69", sa = "_modalWrapper__header_r712c_72", pa = "_modalWrapper__subHeader_r712c_82", ca = "_modalWrapper__footer_r712c_90", la = "_modalWrapper__closeButton_r712c_104", da = "_modalWrapper__closeButtonIconContainer_r712c_118", ke = {
|
|
566
|
+
modalWrapper: aa,
|
|
565
567
|
"modalWrapper_align-top": "_modalWrapper_align-top_r712c_48",
|
|
566
568
|
"modalWrapper_align-center": "_modalWrapper_align-center_r712c_51",
|
|
567
|
-
modalWrapper__modal:
|
|
568
|
-
modalWrapper__content:
|
|
569
|
-
modalWrapper__header:
|
|
570
|
-
modalWrapper__subHeader:
|
|
571
|
-
modalWrapper__footer:
|
|
572
|
-
modalWrapper__closeButton:
|
|
573
|
-
modalWrapper__closeButtonIconContainer:
|
|
574
|
-
},
|
|
569
|
+
modalWrapper__modal: ia,
|
|
570
|
+
modalWrapper__content: ra,
|
|
571
|
+
modalWrapper__header: sa,
|
|
572
|
+
modalWrapper__subHeader: pa,
|
|
573
|
+
modalWrapper__footer: ca,
|
|
574
|
+
modalWrapper__closeButton: la,
|
|
575
|
+
modalWrapper__closeButtonIconContainer: da
|
|
576
|
+
}, ua = (e) => {
|
|
575
577
|
const {
|
|
576
578
|
zIndex: t,
|
|
577
579
|
isHiddenModal: n = !1,
|
|
@@ -593,7 +595,7 @@ const na = "_modalWrapper_r712c_43", oa = "_modalWrapper__modal_r712c_54", aa =
|
|
|
593
595
|
...r && { [r]: !0 }
|
|
594
596
|
}), k = v({
|
|
595
597
|
[ke.modalWrapper__closeButton]: !0
|
|
596
|
-
}),
|
|
598
|
+
}), N = v({
|
|
597
599
|
[ke.modalWrapper__closeButtonIconContainer]: !0
|
|
598
600
|
}), O = v({
|
|
599
601
|
[ke.modalWrapper__content]: !0
|
|
@@ -604,7 +606,7 @@ const na = "_modalWrapper_r712c_43", oa = "_modalWrapper__modal_r712c_54", aa =
|
|
|
604
606
|
}), b = v({
|
|
605
607
|
[ke.modalWrapper__footer]: !0
|
|
606
608
|
});
|
|
607
|
-
return /* @__PURE__ */ l(
|
|
609
|
+
return /* @__PURE__ */ l(ea, { zIndex: t, isHiddenModal: n, classNameRoot: i, children: /* @__PURE__ */ l("div", { className: w, children: /* @__PURE__ */ H("div", { className: T, style: s, children: [
|
|
608
610
|
(u || c) && /* @__PURE__ */ H("div", { className: Y, children: [
|
|
609
611
|
typeof u == "string" ? /* @__PURE__ */ l(Te, { type: "h3", children: u }) : u,
|
|
610
612
|
c && /* @__PURE__ */ l("div", { className: R, children: typeof c == "string" ? /* @__PURE__ */ l(Te, { children: c }) : c })
|
|
@@ -615,15 +617,16 @@ const na = "_modalWrapper_r712c_43", oa = "_modalWrapper__modal_r712c_54", aa =
|
|
|
615
617
|
yt,
|
|
616
618
|
{
|
|
617
619
|
classNameRoot: k,
|
|
618
|
-
classNameIconContainerRoot:
|
|
620
|
+
classNameIconContainerRoot: N,
|
|
619
621
|
onClick: d,
|
|
620
622
|
iconName: ie.Close,
|
|
621
623
|
variant: "link",
|
|
624
|
+
noPadding: !0,
|
|
622
625
|
isOnlyIcon: !0
|
|
623
626
|
}
|
|
624
627
|
)
|
|
625
628
|
] }) }) });
|
|
626
|
-
},
|
|
629
|
+
}, bs = (e) => {
|
|
627
630
|
const {
|
|
628
631
|
zIndex: t,
|
|
629
632
|
title: n,
|
|
@@ -641,7 +644,7 @@ const na = "_modalWrapper_r712c_43", oa = "_modalWrapper__modal_r712c_54", aa =
|
|
|
641
644
|
modalAlign: T = "top"
|
|
642
645
|
} = e;
|
|
643
646
|
return /* @__PURE__ */ l(
|
|
644
|
-
|
|
647
|
+
ua,
|
|
645
648
|
{
|
|
646
649
|
zIndex: t,
|
|
647
650
|
header: n,
|
|
@@ -649,7 +652,7 @@ const na = "_modalWrapper_r712c_43", oa = "_modalWrapper__modal_r712c_54", aa =
|
|
|
649
652
|
align: T,
|
|
650
653
|
subHeader: o,
|
|
651
654
|
footer: /* @__PURE__ */ l(
|
|
652
|
-
|
|
655
|
+
Po,
|
|
653
656
|
{
|
|
654
657
|
mobile: y,
|
|
655
658
|
align: w,
|
|
@@ -665,11 +668,11 @@ const na = "_modalWrapper_r712c_43", oa = "_modalWrapper__modal_r712c_54", aa =
|
|
|
665
668
|
)
|
|
666
669
|
}
|
|
667
670
|
);
|
|
668
|
-
},
|
|
669
|
-
spContextMenu:
|
|
670
|
-
spContextMenu__item:
|
|
671
|
-
spContextMenu__item_deleteItem:
|
|
672
|
-
},
|
|
671
|
+
}, ma = "_spContextMenu_1wocv_43", fa = "_spContextMenu__item_1wocv_54", va = "_spContextMenu__item_deleteItem_1wocv_73", lt = {
|
|
672
|
+
spContextMenu: ma,
|
|
673
|
+
spContextMenu__item: fa,
|
|
674
|
+
spContextMenu__item_deleteItem: va
|
|
675
|
+
}, ys = (e) => {
|
|
673
676
|
const { onClickItem: t, options: n, classNameRoot: o } = e, a = v({
|
|
674
677
|
[lt.spContextMenu]: !0,
|
|
675
678
|
...o && { [o]: !0 }
|
|
@@ -687,7 +690,7 @@ const na = "_modalWrapper_r712c_43", oa = "_modalWrapper__modal_r712c_54", aa =
|
|
|
687
690
|
t && t(i);
|
|
688
691
|
},
|
|
689
692
|
children: [
|
|
690
|
-
(i == null ? void 0 : i.iconName) && /* @__PURE__ */ l(
|
|
693
|
+
(i == null ? void 0 : i.iconName) && /* @__PURE__ */ l(ve, { name: i.iconName }),
|
|
691
694
|
i.label
|
|
692
695
|
]
|
|
693
696
|
},
|
|
@@ -708,10 +711,10 @@ var wt = { exports: {} }, Ve = { exports: {} }, V = {};
|
|
|
708
711
|
* LICENSE file in the root directory of this source tree.
|
|
709
712
|
*/
|
|
710
713
|
var Ot;
|
|
711
|
-
function
|
|
714
|
+
function _a() {
|
|
712
715
|
if (Ot) return V;
|
|
713
716
|
Ot = 1;
|
|
714
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, w = e ? Symbol.for("react.memo") : 60115, T = e ? Symbol.for("react.lazy") : 60116, k = e ? Symbol.for("react.block") : 60121,
|
|
717
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, w = e ? Symbol.for("react.memo") : 60115, T = e ? Symbol.for("react.lazy") : 60116, k = e ? Symbol.for("react.block") : 60121, N = e ? Symbol.for("react.fundamental") : 60117, O = e ? Symbol.for("react.responder") : 60118, Y = e ? Symbol.for("react.scope") : 60119;
|
|
715
718
|
function R(p) {
|
|
716
719
|
if (typeof p == "object" && p !== null) {
|
|
717
720
|
var S = p.$$typeof;
|
|
@@ -770,7 +773,7 @@ function fa() {
|
|
|
770
773
|
}, V.isSuspense = function(p) {
|
|
771
774
|
return R(p) === c;
|
|
772
775
|
}, V.isValidElementType = function(p) {
|
|
773
|
-
return typeof p == "string" || typeof p == "function" || p === o || p === d || p === i || p === a || p === c || p === y || typeof p == "object" && p !== null && (p.$$typeof === T || p.$$typeof === w || p.$$typeof === r || p.$$typeof === s || p.$$typeof === u || p.$$typeof ===
|
|
776
|
+
return typeof p == "string" || typeof p == "function" || p === o || p === d || p === i || p === a || p === c || p === y || typeof p == "object" && p !== null && (p.$$typeof === T || p.$$typeof === w || p.$$typeof === r || p.$$typeof === s || p.$$typeof === u || p.$$typeof === N || p.$$typeof === O || p.$$typeof === Y || p.$$typeof === k);
|
|
774
777
|
}, V.typeOf = R, V;
|
|
775
778
|
}
|
|
776
779
|
var U = {};
|
|
@@ -783,29 +786,29 @@ var U = {};
|
|
|
783
786
|
* LICENSE file in the root directory of this source tree.
|
|
784
787
|
*/
|
|
785
788
|
var Lt;
|
|
786
|
-
function
|
|
789
|
+
function xa() {
|
|
787
790
|
return Lt || (Lt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
788
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, w = e ? Symbol.for("react.memo") : 60115, T = e ? Symbol.for("react.lazy") : 60116, k = e ? Symbol.for("react.block") : 60121,
|
|
791
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, w = e ? Symbol.for("react.memo") : 60115, T = e ? Symbol.for("react.lazy") : 60116, k = e ? Symbol.for("react.block") : 60121, N = e ? Symbol.for("react.fundamental") : 60117, O = e ? Symbol.for("react.responder") : 60118, Y = e ? Symbol.for("react.scope") : 60119;
|
|
789
792
|
function R(_) {
|
|
790
793
|
return typeof _ == "string" || typeof _ == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
791
|
-
_ === o || _ === d || _ === i || _ === a || _ === c || _ === y || typeof _ == "object" && _ !== null && (_.$$typeof === T || _.$$typeof === w || _.$$typeof === r || _.$$typeof === s || _.$$typeof === u || _.$$typeof ===
|
|
794
|
+
_ === o || _ === d || _ === i || _ === a || _ === c || _ === y || typeof _ == "object" && _ !== null && (_.$$typeof === T || _.$$typeof === w || _.$$typeof === r || _.$$typeof === s || _.$$typeof === u || _.$$typeof === N || _.$$typeof === O || _.$$typeof === Y || _.$$typeof === k);
|
|
792
795
|
}
|
|
793
796
|
function b(_) {
|
|
794
797
|
if (typeof _ == "object" && _ !== null) {
|
|
795
798
|
var ue = _.$$typeof;
|
|
796
799
|
switch (ue) {
|
|
797
800
|
case t:
|
|
798
|
-
var
|
|
799
|
-
switch (
|
|
801
|
+
var je = _.type;
|
|
802
|
+
switch (je) {
|
|
800
803
|
case m:
|
|
801
804
|
case d:
|
|
802
805
|
case o:
|
|
803
806
|
case i:
|
|
804
807
|
case a:
|
|
805
808
|
case c:
|
|
806
|
-
return
|
|
809
|
+
return je;
|
|
807
810
|
default:
|
|
808
|
-
var Pe =
|
|
811
|
+
var Pe = je && je.$$typeof;
|
|
809
812
|
switch (Pe) {
|
|
810
813
|
case s:
|
|
811
814
|
case u:
|
|
@@ -822,7 +825,7 @@ function va() {
|
|
|
822
825
|
}
|
|
823
826
|
}
|
|
824
827
|
}
|
|
825
|
-
var p = m, S = d, z = s, G = r, X = t, se = u, de = o,
|
|
828
|
+
var p = m, S = d, z = s, G = r, X = t, se = u, de = o, _e = T, ne = w, g = n, L = i, q = a, K = c, ee = !1;
|
|
826
829
|
function Q(_) {
|
|
827
830
|
return ee || (ee = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), f(_) || b(_) === m;
|
|
828
831
|
}
|
|
@@ -841,10 +844,10 @@ function va() {
|
|
|
841
844
|
function j(_) {
|
|
842
845
|
return b(_) === u;
|
|
843
846
|
}
|
|
844
|
-
function
|
|
847
|
+
function B(_) {
|
|
845
848
|
return b(_) === o;
|
|
846
849
|
}
|
|
847
|
-
function
|
|
850
|
+
function D(_) {
|
|
848
851
|
return b(_) === T;
|
|
849
852
|
}
|
|
850
853
|
function F(_) {
|
|
@@ -856,18 +859,18 @@ function va() {
|
|
|
856
859
|
function $(_) {
|
|
857
860
|
return b(_) === i;
|
|
858
861
|
}
|
|
859
|
-
function
|
|
862
|
+
function M(_) {
|
|
860
863
|
return b(_) === a;
|
|
861
864
|
}
|
|
862
865
|
function te(_) {
|
|
863
866
|
return b(_) === c;
|
|
864
867
|
}
|
|
865
|
-
U.AsyncMode = p, U.ConcurrentMode = S, U.ContextConsumer = z, U.ContextProvider = G, U.Element = X, U.ForwardRef = se, U.Fragment = de, U.Lazy =
|
|
868
|
+
U.AsyncMode = p, U.ConcurrentMode = S, U.ContextConsumer = z, U.ContextProvider = G, U.Element = X, U.ForwardRef = se, U.Fragment = de, U.Lazy = _e, U.Memo = ne, U.Portal = g, U.Profiler = L, U.StrictMode = q, U.Suspense = K, U.isAsyncMode = Q, U.isConcurrentMode = f, U.isContextConsumer = h, U.isContextProvider = A, U.isElement = P, U.isForwardRef = j, U.isFragment = B, U.isLazy = D, U.isMemo = F, U.isPortal = W, U.isProfiler = $, U.isStrictMode = M, U.isSuspense = te, U.isValidElementType = R, U.typeOf = b;
|
|
866
869
|
}()), U;
|
|
867
870
|
}
|
|
868
871
|
var Pt;
|
|
869
872
|
function _n() {
|
|
870
|
-
return Pt || (Pt = 1, process.env.NODE_ENV === "production" ? Ve.exports =
|
|
873
|
+
return Pt || (Pt = 1, process.env.NODE_ENV === "production" ? Ve.exports = _a() : Ve.exports = xa()), Ve.exports;
|
|
871
874
|
}
|
|
872
875
|
/*
|
|
873
876
|
object-assign
|
|
@@ -875,7 +878,7 @@ object-assign
|
|
|
875
878
|
@license MIT
|
|
876
879
|
*/
|
|
877
880
|
var dt, Ft;
|
|
878
|
-
function
|
|
881
|
+
function ga() {
|
|
879
882
|
if (Ft) return dt;
|
|
880
883
|
Ft = 1;
|
|
881
884
|
var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable;
|
|
@@ -927,14 +930,14 @@ function It() {
|
|
|
927
930
|
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
928
931
|
return ut = e, ut;
|
|
929
932
|
}
|
|
930
|
-
var mt,
|
|
933
|
+
var mt, Mt;
|
|
931
934
|
function xn() {
|
|
932
|
-
return
|
|
935
|
+
return Mt || (Mt = 1, mt = Function.call.bind(Object.prototype.hasOwnProperty)), mt;
|
|
933
936
|
}
|
|
934
|
-
var ft,
|
|
935
|
-
function
|
|
936
|
-
if (
|
|
937
|
-
|
|
937
|
+
var ft, Bt;
|
|
938
|
+
function ha() {
|
|
939
|
+
if (Bt) return ft;
|
|
940
|
+
Bt = 1;
|
|
938
941
|
var e = function() {
|
|
939
942
|
};
|
|
940
943
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -981,10 +984,10 @@ function xa() {
|
|
|
981
984
|
}, ft = a, ft;
|
|
982
985
|
}
|
|
983
986
|
var vt, Wt;
|
|
984
|
-
function
|
|
987
|
+
function ba() {
|
|
985
988
|
if (Wt) return vt;
|
|
986
989
|
Wt = 1;
|
|
987
|
-
var e = _n(), t =
|
|
990
|
+
var e = _n(), t = ga(), n = It(), o = xn(), a = ha(), i = function() {
|
|
988
991
|
};
|
|
989
992
|
process.env.NODE_ENV !== "production" && (i = function(s) {
|
|
990
993
|
var m = "Warning: " + s;
|
|
@@ -1022,7 +1025,7 @@ function ga() {
|
|
|
1022
1025
|
objectOf: G,
|
|
1023
1026
|
oneOf: z,
|
|
1024
1027
|
oneOfType: X,
|
|
1025
|
-
shape:
|
|
1028
|
+
shape: _e,
|
|
1026
1029
|
exact: ne
|
|
1027
1030
|
};
|
|
1028
1031
|
function T(f, h) {
|
|
@@ -1032,11 +1035,11 @@ function ga() {
|
|
|
1032
1035
|
this.message = f, this.data = h && typeof h == "object" ? h : {}, this.stack = "";
|
|
1033
1036
|
}
|
|
1034
1037
|
k.prototype = Error.prototype;
|
|
1035
|
-
function
|
|
1038
|
+
function N(f) {
|
|
1036
1039
|
if (process.env.NODE_ENV !== "production")
|
|
1037
1040
|
var h = {}, A = 0;
|
|
1038
|
-
function P(
|
|
1039
|
-
if (W = W || y,
|
|
1041
|
+
function P(B, D, F, W, $, M, te) {
|
|
1042
|
+
if (W = W || y, M = M || F, te !== n) {
|
|
1040
1043
|
if (m) {
|
|
1041
1044
|
var _ = new Error(
|
|
1042
1045
|
"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"
|
|
@@ -1046,88 +1049,88 @@ function ga() {
|
|
|
1046
1049
|
var ue = W + ":" + F;
|
|
1047
1050
|
!h[ue] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
1048
1051
|
A < 3 && (i(
|
|
1049
|
-
"You are manually calling a React.PropTypes validation function for the `" +
|
|
1052
|
+
"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."
|
|
1050
1053
|
), h[ue] = !0, A++);
|
|
1051
1054
|
}
|
|
1052
1055
|
}
|
|
1053
|
-
return
|
|
1056
|
+
return D[F] == null ? B ? D[F] === 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(D, F, W, $, M);
|
|
1054
1057
|
}
|
|
1055
1058
|
var j = P.bind(null, !1);
|
|
1056
1059
|
return j.isRequired = P.bind(null, !0), j;
|
|
1057
1060
|
}
|
|
1058
1061
|
function O(f) {
|
|
1059
|
-
function h(A, P, j,
|
|
1062
|
+
function h(A, P, j, B, D, F) {
|
|
1060
1063
|
var W = A[P], $ = q(W);
|
|
1061
1064
|
if ($ !== f) {
|
|
1062
|
-
var
|
|
1065
|
+
var M = K(W);
|
|
1063
1066
|
return new k(
|
|
1064
|
-
"Invalid " +
|
|
1067
|
+
"Invalid " + B + " `" + D + "` of type " + ("`" + M + "` supplied to `" + j + "`, expected ") + ("`" + f + "`."),
|
|
1065
1068
|
{ expectedType: f }
|
|
1066
1069
|
);
|
|
1067
1070
|
}
|
|
1068
1071
|
return null;
|
|
1069
1072
|
}
|
|
1070
|
-
return
|
|
1073
|
+
return N(h);
|
|
1071
1074
|
}
|
|
1072
1075
|
function Y() {
|
|
1073
|
-
return
|
|
1076
|
+
return N(r);
|
|
1074
1077
|
}
|
|
1075
1078
|
function R(f) {
|
|
1076
|
-
function h(A, P, j,
|
|
1079
|
+
function h(A, P, j, B, D) {
|
|
1077
1080
|
if (typeof f != "function")
|
|
1078
|
-
return new k("Property `" +
|
|
1081
|
+
return new k("Property `" + D + "` of component `" + j + "` has invalid PropType notation inside arrayOf.");
|
|
1079
1082
|
var F = A[P];
|
|
1080
1083
|
if (!Array.isArray(F)) {
|
|
1081
1084
|
var W = q(F);
|
|
1082
|
-
return new k("Invalid " +
|
|
1085
|
+
return new k("Invalid " + B + " `" + D + "` of type " + ("`" + W + "` supplied to `" + j + "`, expected an array."));
|
|
1083
1086
|
}
|
|
1084
1087
|
for (var $ = 0; $ < F.length; $++) {
|
|
1085
|
-
var
|
|
1086
|
-
if (
|
|
1087
|
-
return
|
|
1088
|
+
var M = f(F, $, j, B, D + "[" + $ + "]", n);
|
|
1089
|
+
if (M instanceof Error)
|
|
1090
|
+
return M;
|
|
1088
1091
|
}
|
|
1089
1092
|
return null;
|
|
1090
1093
|
}
|
|
1091
|
-
return
|
|
1094
|
+
return N(h);
|
|
1092
1095
|
}
|
|
1093
1096
|
function b() {
|
|
1094
|
-
function f(h, A, P, j,
|
|
1095
|
-
var
|
|
1096
|
-
if (!s(
|
|
1097
|
-
var F = q(
|
|
1098
|
-
return new k("Invalid " + j + " `" +
|
|
1097
|
+
function f(h, A, P, j, B) {
|
|
1098
|
+
var D = h[A];
|
|
1099
|
+
if (!s(D)) {
|
|
1100
|
+
var F = q(D);
|
|
1101
|
+
return new k("Invalid " + j + " `" + B + "` of type " + ("`" + F + "` supplied to `" + P + "`, expected a single ReactElement."));
|
|
1099
1102
|
}
|
|
1100
1103
|
return null;
|
|
1101
1104
|
}
|
|
1102
|
-
return
|
|
1105
|
+
return N(f);
|
|
1103
1106
|
}
|
|
1104
1107
|
function p() {
|
|
1105
|
-
function f(h, A, P, j,
|
|
1106
|
-
var
|
|
1107
|
-
if (!e.isValidElementType(
|
|
1108
|
-
var F = q(
|
|
1109
|
-
return new k("Invalid " + j + " `" +
|
|
1108
|
+
function f(h, A, P, j, B) {
|
|
1109
|
+
var D = h[A];
|
|
1110
|
+
if (!e.isValidElementType(D)) {
|
|
1111
|
+
var F = q(D);
|
|
1112
|
+
return new k("Invalid " + j + " `" + B + "` of type " + ("`" + F + "` supplied to `" + P + "`, expected a single ReactElement type."));
|
|
1110
1113
|
}
|
|
1111
1114
|
return null;
|
|
1112
1115
|
}
|
|
1113
|
-
return
|
|
1116
|
+
return N(f);
|
|
1114
1117
|
}
|
|
1115
1118
|
function S(f) {
|
|
1116
|
-
function h(A, P, j,
|
|
1119
|
+
function h(A, P, j, B, D) {
|
|
1117
1120
|
if (!(A[P] instanceof f)) {
|
|
1118
1121
|
var F = f.name || y, W = Q(A[P]);
|
|
1119
|
-
return new k("Invalid " +
|
|
1122
|
+
return new k("Invalid " + B + " `" + D + "` of type " + ("`" + W + "` supplied to `" + j + "`, expected ") + ("instance of `" + F + "`."));
|
|
1120
1123
|
}
|
|
1121
1124
|
return null;
|
|
1122
1125
|
}
|
|
1123
|
-
return
|
|
1126
|
+
return N(h);
|
|
1124
1127
|
}
|
|
1125
1128
|
function z(f) {
|
|
1126
1129
|
if (!Array.isArray(f))
|
|
1127
1130
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
1128
1131
|
"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])."
|
|
1129
1132
|
) : i("Invalid argument supplied to oneOf, expected an array.")), r;
|
|
1130
|
-
function h(A, P, j,
|
|
1133
|
+
function h(A, P, j, B, D) {
|
|
1131
1134
|
for (var F = A[P], W = 0; W < f.length; W++)
|
|
1132
1135
|
if (T(F, f[W]))
|
|
1133
1136
|
return null;
|
|
@@ -1135,26 +1138,26 @@ function ga() {
|
|
|
1135
1138
|
var ue = K(_);
|
|
1136
1139
|
return ue === "symbol" ? String(_) : _;
|
|
1137
1140
|
});
|
|
1138
|
-
return new k("Invalid " +
|
|
1141
|
+
return new k("Invalid " + B + " `" + D + "` of value `" + String(F) + "` " + ("supplied to `" + j + "`, expected one of " + $ + "."));
|
|
1139
1142
|
}
|
|
1140
|
-
return
|
|
1143
|
+
return N(h);
|
|
1141
1144
|
}
|
|
1142
1145
|
function G(f) {
|
|
1143
|
-
function h(A, P, j,
|
|
1146
|
+
function h(A, P, j, B, D) {
|
|
1144
1147
|
if (typeof f != "function")
|
|
1145
|
-
return new k("Property `" +
|
|
1148
|
+
return new k("Property `" + D + "` of component `" + j + "` has invalid PropType notation inside objectOf.");
|
|
1146
1149
|
var F = A[P], W = q(F);
|
|
1147
1150
|
if (W !== "object")
|
|
1148
|
-
return new k("Invalid " +
|
|
1151
|
+
return new k("Invalid " + B + " `" + D + "` of type " + ("`" + W + "` supplied to `" + j + "`, expected an object."));
|
|
1149
1152
|
for (var $ in F)
|
|
1150
1153
|
if (o(F, $)) {
|
|
1151
|
-
var
|
|
1152
|
-
if (
|
|
1153
|
-
return
|
|
1154
|
+
var M = f(F, $, j, B, D + "." + $, n);
|
|
1155
|
+
if (M instanceof Error)
|
|
1156
|
+
return M;
|
|
1154
1157
|
}
|
|
1155
1158
|
return null;
|
|
1156
1159
|
}
|
|
1157
|
-
return
|
|
1160
|
+
return N(h);
|
|
1158
1161
|
}
|
|
1159
1162
|
function X(f) {
|
|
1160
1163
|
if (!Array.isArray(f))
|
|
@@ -1166,68 +1169,68 @@ function ga() {
|
|
|
1166
1169
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ee(A) + " at index " + h + "."
|
|
1167
1170
|
), r;
|
|
1168
1171
|
}
|
|
1169
|
-
function P(j,
|
|
1170
|
-
for (var $ = [],
|
|
1171
|
-
var te = f[
|
|
1172
|
+
function P(j, B, D, F, W) {
|
|
1173
|
+
for (var $ = [], M = 0; M < f.length; M++) {
|
|
1174
|
+
var te = f[M], _ = te(j, B, D, F, W, n);
|
|
1172
1175
|
if (_ == null)
|
|
1173
1176
|
return null;
|
|
1174
1177
|
_.data && o(_.data, "expectedType") && $.push(_.data.expectedType);
|
|
1175
1178
|
}
|
|
1176
1179
|
var ue = $.length > 0 ? ", expected one of type [" + $.join(", ") + "]" : "";
|
|
1177
|
-
return new k("Invalid " + F + " `" + W + "` supplied to " + ("`" +
|
|
1180
|
+
return new k("Invalid " + F + " `" + W + "` supplied to " + ("`" + D + "`" + ue + "."));
|
|
1178
1181
|
}
|
|
1179
|
-
return
|
|
1182
|
+
return N(P);
|
|
1180
1183
|
}
|
|
1181
1184
|
function se() {
|
|
1182
|
-
function f(h, A, P, j,
|
|
1183
|
-
return g(h[A]) ? null : new k("Invalid " + j + " `" +
|
|
1185
|
+
function f(h, A, P, j, B) {
|
|
1186
|
+
return g(h[A]) ? null : new k("Invalid " + j + " `" + B + "` supplied to " + ("`" + P + "`, expected a ReactNode."));
|
|
1184
1187
|
}
|
|
1185
|
-
return
|
|
1188
|
+
return N(f);
|
|
1186
1189
|
}
|
|
1187
1190
|
function de(f, h, A, P, j) {
|
|
1188
1191
|
return new k(
|
|
1189
1192
|
(f || "React class") + ": " + h + " type `" + A + "." + P + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + j + "`."
|
|
1190
1193
|
);
|
|
1191
1194
|
}
|
|
1192
|
-
function
|
|
1193
|
-
function h(A, P, j,
|
|
1195
|
+
function _e(f) {
|
|
1196
|
+
function h(A, P, j, B, D) {
|
|
1194
1197
|
var F = A[P], W = q(F);
|
|
1195
1198
|
if (W !== "object")
|
|
1196
|
-
return new k("Invalid " +
|
|
1199
|
+
return new k("Invalid " + B + " `" + D + "` of type `" + W + "` " + ("supplied to `" + j + "`, expected `object`."));
|
|
1197
1200
|
for (var $ in f) {
|
|
1198
|
-
var
|
|
1199
|
-
if (typeof
|
|
1200
|
-
return de(j,
|
|
1201
|
-
var te =
|
|
1201
|
+
var M = f[$];
|
|
1202
|
+
if (typeof M != "function")
|
|
1203
|
+
return de(j, B, D, $, K(M));
|
|
1204
|
+
var te = M(F, $, j, B, D + "." + $, n);
|
|
1202
1205
|
if (te)
|
|
1203
1206
|
return te;
|
|
1204
1207
|
}
|
|
1205
1208
|
return null;
|
|
1206
1209
|
}
|
|
1207
|
-
return
|
|
1210
|
+
return N(h);
|
|
1208
1211
|
}
|
|
1209
1212
|
function ne(f) {
|
|
1210
|
-
function h(A, P, j,
|
|
1213
|
+
function h(A, P, j, B, D) {
|
|
1211
1214
|
var F = A[P], W = q(F);
|
|
1212
1215
|
if (W !== "object")
|
|
1213
|
-
return new k("Invalid " +
|
|
1216
|
+
return new k("Invalid " + B + " `" + D + "` of type `" + W + "` " + ("supplied to `" + j + "`, expected `object`."));
|
|
1214
1217
|
var $ = t({}, A[P], f);
|
|
1215
|
-
for (var
|
|
1216
|
-
var te = f[
|
|
1217
|
-
if (o(f,
|
|
1218
|
-
return de(j,
|
|
1218
|
+
for (var M in $) {
|
|
1219
|
+
var te = f[M];
|
|
1220
|
+
if (o(f, M) && typeof te != "function")
|
|
1221
|
+
return de(j, B, D, M, K(te));
|
|
1219
1222
|
if (!te)
|
|
1220
1223
|
return new k(
|
|
1221
|
-
"Invalid " +
|
|
1224
|
+
"Invalid " + B + " `" + D + "` key `" + M + "` supplied to `" + j + "`.\nBad object: " + JSON.stringify(A[P], null, " ") + `
|
|
1222
1225
|
Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
|
|
1223
1226
|
);
|
|
1224
|
-
var _ = te(F,
|
|
1227
|
+
var _ = te(F, M, j, B, D + "." + M, n);
|
|
1225
1228
|
if (_)
|
|
1226
1229
|
return _;
|
|
1227
1230
|
}
|
|
1228
1231
|
return null;
|
|
1229
1232
|
}
|
|
1230
|
-
return
|
|
1233
|
+
return N(h);
|
|
1231
1234
|
}
|
|
1232
1235
|
function g(f) {
|
|
1233
1236
|
switch (typeof f) {
|
|
@@ -1302,7 +1305,7 @@ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
|
|
|
1302
1305
|
}, vt;
|
|
1303
1306
|
}
|
|
1304
1307
|
var _t, qt;
|
|
1305
|
-
function
|
|
1308
|
+
function ya() {
|
|
1306
1309
|
if (qt) return _t;
|
|
1307
1310
|
qt = 1;
|
|
1308
1311
|
var e = It();
|
|
@@ -1350,12 +1353,12 @@ function ha() {
|
|
|
1350
1353
|
}, _t;
|
|
1351
1354
|
}
|
|
1352
1355
|
if (process.env.NODE_ENV !== "production") {
|
|
1353
|
-
var
|
|
1354
|
-
wt.exports =
|
|
1356
|
+
var wa = _n(), ka = !0;
|
|
1357
|
+
wt.exports = ba()(wa.isElement, ka);
|
|
1355
1358
|
} else
|
|
1356
|
-
wt.exports =
|
|
1357
|
-
var
|
|
1358
|
-
const C = /* @__PURE__ */ vn(
|
|
1359
|
+
wt.exports = ya()();
|
|
1360
|
+
var Ca = wt.exports;
|
|
1361
|
+
const C = /* @__PURE__ */ vn(Ca);
|
|
1359
1362
|
function Ne(e, t, n, o) {
|
|
1360
1363
|
function a(i) {
|
|
1361
1364
|
return i instanceof n ? i : new n(function(r) {
|
|
@@ -1383,7 +1386,7 @@ function Ne(e, t, n, o) {
|
|
|
1383
1386
|
d((o = o.apply(e, t || [])).next());
|
|
1384
1387
|
});
|
|
1385
1388
|
}
|
|
1386
|
-
const
|
|
1389
|
+
const Ta = /* @__PURE__ */ new Map([
|
|
1387
1390
|
// https://github.com/guzzle/psr7/blob/2d9260799e713f1c475d3c5fdc3d6561ff7441b2/src/MimeType.php
|
|
1388
1391
|
["1km", "application/vnd.1000minds.decision-model+xml"],
|
|
1389
1392
|
["3dml", "text/vnd.in3d.3dml"],
|
|
@@ -2587,13 +2590,13 @@ const ka = /* @__PURE__ */ new Map([
|
|
|
2587
2590
|
["zsh", "text/x-scriptzsh"]
|
|
2588
2591
|
]);
|
|
2589
2592
|
function Le(e, t, n) {
|
|
2590
|
-
const o =
|
|
2593
|
+
const o = Ea(e), { webkitRelativePath: a } = e, i = typeof t == "string" ? t : typeof a == "string" && a.length > 0 ? a : `./${e.name}`;
|
|
2591
2594
|
return typeof o.path != "string" && $t(o, "path", i), $t(o, "relativePath", i), o;
|
|
2592
2595
|
}
|
|
2593
|
-
function
|
|
2596
|
+
function Ea(e) {
|
|
2594
2597
|
const { name: t } = e;
|
|
2595
2598
|
if (t && t.lastIndexOf(".") !== -1 && !e.type) {
|
|
2596
|
-
const o = t.split(".").pop().toLowerCase(), a =
|
|
2599
|
+
const o = t.split(".").pop().toLowerCase(), a = Ta.get(o);
|
|
2597
2600
|
a && Object.defineProperty(e, "type", {
|
|
2598
2601
|
value: a,
|
|
2599
2602
|
writable: !1,
|
|
@@ -2611,49 +2614,49 @@ function $t(e, t, n) {
|
|
|
2611
2614
|
enumerable: !0
|
|
2612
2615
|
});
|
|
2613
2616
|
}
|
|
2614
|
-
const
|
|
2617
|
+
const Sa = [
|
|
2615
2618
|
// Thumbnail cache files for macOS and Windows
|
|
2616
2619
|
".DS_Store",
|
|
2617
2620
|
// macOs
|
|
2618
2621
|
"Thumbs.db"
|
|
2619
2622
|
// Windows
|
|
2620
2623
|
];
|
|
2621
|
-
function
|
|
2624
|
+
function ja(e) {
|
|
2622
2625
|
return Ne(this, void 0, void 0, function* () {
|
|
2623
|
-
return Ke(e) &&
|
|
2626
|
+
return Ke(e) && Ia(e.dataTransfer) ? Aa(e.dataTransfer, e.type) : Na(e) ? Da(e) : Array.isArray(e) && e.every((t) => "getFile" in t && typeof t.getFile == "function") ? Ra(e) : [];
|
|
2624
2627
|
});
|
|
2625
2628
|
}
|
|
2626
|
-
function
|
|
2629
|
+
function Ia(e) {
|
|
2627
2630
|
return Ke(e);
|
|
2628
2631
|
}
|
|
2629
|
-
function
|
|
2632
|
+
function Na(e) {
|
|
2630
2633
|
return Ke(e) && Ke(e.target);
|
|
2631
2634
|
}
|
|
2632
2635
|
function Ke(e) {
|
|
2633
2636
|
return typeof e == "object" && e !== null;
|
|
2634
2637
|
}
|
|
2635
|
-
function
|
|
2638
|
+
function Da(e) {
|
|
2636
2639
|
return kt(e.target.files).map((t) => Le(t));
|
|
2637
2640
|
}
|
|
2638
|
-
function
|
|
2641
|
+
function Ra(e) {
|
|
2639
2642
|
return Ne(this, void 0, void 0, function* () {
|
|
2640
2643
|
return (yield Promise.all(e.map((n) => n.getFile()))).map((n) => Le(n));
|
|
2641
2644
|
});
|
|
2642
2645
|
}
|
|
2643
|
-
function
|
|
2646
|
+
function Aa(e, t) {
|
|
2644
2647
|
return Ne(this, void 0, void 0, function* () {
|
|
2645
2648
|
if (e.items) {
|
|
2646
2649
|
const n = kt(e.items).filter((a) => a.kind === "file");
|
|
2647
2650
|
if (t !== "drop")
|
|
2648
2651
|
return n;
|
|
2649
|
-
const o = yield Promise.all(n.map(
|
|
2652
|
+
const o = yield Promise.all(n.map(Oa));
|
|
2650
2653
|
return Ht(gn(o));
|
|
2651
2654
|
}
|
|
2652
2655
|
return Ht(kt(e.files).map((n) => Le(n)));
|
|
2653
2656
|
});
|
|
2654
2657
|
}
|
|
2655
2658
|
function Ht(e) {
|
|
2656
|
-
return e.filter((t) =>
|
|
2659
|
+
return e.filter((t) => Sa.indexOf(t.name) === -1);
|
|
2657
2660
|
}
|
|
2658
2661
|
function kt(e) {
|
|
2659
2662
|
if (e === null)
|
|
@@ -2665,7 +2668,7 @@ function kt(e) {
|
|
|
2665
2668
|
}
|
|
2666
2669
|
return t;
|
|
2667
2670
|
}
|
|
2668
|
-
function
|
|
2671
|
+
function Oa(e) {
|
|
2669
2672
|
if (typeof e.webkitGetAsEntry != "function")
|
|
2670
2673
|
return Yt(e);
|
|
2671
2674
|
const t = e.webkitGetAsEntry();
|
|
@@ -2695,9 +2698,9 @@ function Yt(e, t) {
|
|
|
2695
2698
|
return Le(o, (n = t == null ? void 0 : t.fullPath) !== null && n !== void 0 ? n : void 0);
|
|
2696
2699
|
});
|
|
2697
2700
|
}
|
|
2698
|
-
function
|
|
2701
|
+
function La(e) {
|
|
2699
2702
|
return Ne(this, void 0, void 0, function* () {
|
|
2700
|
-
return e.isDirectory ? hn(e) :
|
|
2703
|
+
return e.isDirectory ? hn(e) : Pa(e);
|
|
2701
2704
|
});
|
|
2702
2705
|
}
|
|
2703
2706
|
function hn(e) {
|
|
@@ -2707,7 +2710,7 @@ function hn(e) {
|
|
|
2707
2710
|
function i() {
|
|
2708
2711
|
t.readEntries((r) => Ne(this, void 0, void 0, function* () {
|
|
2709
2712
|
if (r.length) {
|
|
2710
|
-
const s = Promise.all(r.map(
|
|
2713
|
+
const s = Promise.all(r.map(La));
|
|
2711
2714
|
a.push(s), i();
|
|
2712
2715
|
} else
|
|
2713
2716
|
try {
|
|
@@ -2723,7 +2726,7 @@ function hn(e) {
|
|
|
2723
2726
|
i();
|
|
2724
2727
|
});
|
|
2725
2728
|
}
|
|
2726
|
-
function
|
|
2729
|
+
function Pa(e) {
|
|
2727
2730
|
return Ne(this, void 0, void 0, function* () {
|
|
2728
2731
|
return new Promise((t, n) => {
|
|
2729
2732
|
e.file((o) => {
|
|
@@ -2749,16 +2752,16 @@ var xt = function(e, t) {
|
|
|
2749
2752
|
return !0;
|
|
2750
2753
|
};
|
|
2751
2754
|
function Vt(e) {
|
|
2752
|
-
return
|
|
2755
|
+
return Ma(e) || za(e) || yn(e) || Fa();
|
|
2753
2756
|
}
|
|
2754
|
-
function
|
|
2757
|
+
function Fa() {
|
|
2755
2758
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2756
2759
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2757
2760
|
}
|
|
2758
|
-
function
|
|
2761
|
+
function za(e) {
|
|
2759
2762
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
2760
2763
|
}
|
|
2761
|
-
function
|
|
2764
|
+
function Ma(e) {
|
|
2762
2765
|
if (Array.isArray(e)) return Ct(e);
|
|
2763
2766
|
}
|
|
2764
2767
|
function Ut(e, t) {
|
|
@@ -2785,10 +2788,10 @@ function Gt(e) {
|
|
|
2785
2788
|
function bn(e, t, n) {
|
|
2786
2789
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
2787
2790
|
}
|
|
2788
|
-
function
|
|
2789
|
-
return
|
|
2791
|
+
function Be(e, t) {
|
|
2792
|
+
return qa(e) || Wa(e, t) || yn(e, t) || Ba();
|
|
2790
2793
|
}
|
|
2791
|
-
function
|
|
2794
|
+
function Ba() {
|
|
2792
2795
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2793
2796
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2794
2797
|
}
|
|
@@ -2806,7 +2809,7 @@ function Ct(e, t) {
|
|
|
2806
2809
|
o[n] = e[n];
|
|
2807
2810
|
return o;
|
|
2808
2811
|
}
|
|
2809
|
-
function
|
|
2812
|
+
function Wa(e, t) {
|
|
2810
2813
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
2811
2814
|
if (n != null) {
|
|
2812
2815
|
var o = [], a = !0, i = !1, r, s;
|
|
@@ -2825,32 +2828,32 @@ function Ba(e, t) {
|
|
|
2825
2828
|
return o;
|
|
2826
2829
|
}
|
|
2827
2830
|
}
|
|
2828
|
-
function
|
|
2831
|
+
function qa(e) {
|
|
2829
2832
|
if (Array.isArray(e)) return e;
|
|
2830
2833
|
}
|
|
2831
|
-
var
|
|
2834
|
+
var $a = typeof xt == "function" ? xt : xt.default, Ha = "file-invalid-type", Ya = "file-too-large", Va = "file-too-small", Ua = "too-many-files", Ga = function() {
|
|
2832
2835
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", n = t.split(","), o = n.length > 1 ? "one of ".concat(n.join(", ")) : n[0];
|
|
2833
2836
|
return {
|
|
2834
|
-
code:
|
|
2837
|
+
code: Ha,
|
|
2835
2838
|
message: "File type must be ".concat(o)
|
|
2836
2839
|
};
|
|
2837
2840
|
}, Kt = function(t) {
|
|
2838
2841
|
return {
|
|
2839
|
-
code:
|
|
2842
|
+
code: Ya,
|
|
2840
2843
|
message: "File is larger than ".concat(t, " ").concat(t === 1 ? "byte" : "bytes")
|
|
2841
2844
|
};
|
|
2842
2845
|
}, Xt = function(t) {
|
|
2843
2846
|
return {
|
|
2844
|
-
code:
|
|
2847
|
+
code: Va,
|
|
2845
2848
|
message: "File is smaller than ".concat(t, " ").concat(t === 1 ? "byte" : "bytes")
|
|
2846
2849
|
};
|
|
2847
|
-
},
|
|
2848
|
-
code:
|
|
2850
|
+
}, Ka = {
|
|
2851
|
+
code: Ua,
|
|
2849
2852
|
message: "Too many files"
|
|
2850
2853
|
};
|
|
2851
2854
|
function wn(e, t) {
|
|
2852
|
-
var n = e.type === "application/x-moz-file" ||
|
|
2853
|
-
return [n, n ? null :
|
|
2855
|
+
var n = e.type === "application/x-moz-file" || $a(e, t);
|
|
2856
|
+
return [n, n ? null : Ga(t)];
|
|
2854
2857
|
}
|
|
2855
2858
|
function kn(e, t, n) {
|
|
2856
2859
|
if (Ie(e.size))
|
|
@@ -2866,10 +2869,10 @@ function kn(e, t, n) {
|
|
|
2866
2869
|
function Ie(e) {
|
|
2867
2870
|
return e != null;
|
|
2868
2871
|
}
|
|
2869
|
-
function
|
|
2872
|
+
function Xa(e) {
|
|
2870
2873
|
var t = e.files, n = e.accept, o = e.minSize, a = e.maxSize, i = e.multiple, r = e.maxFiles, s = e.validator;
|
|
2871
2874
|
return !i && t.length > 1 || i && r >= 1 && t.length > r ? !1 : t.every(function(m) {
|
|
2872
|
-
var d = wn(m, n), u =
|
|
2875
|
+
var d = wn(m, n), u = Be(d, 1), c = u[0], y = kn(m, o, a), w = Be(y, 1), T = w[0], k = s ? s(m) : null;
|
|
2873
2876
|
return c && T && !k;
|
|
2874
2877
|
});
|
|
2875
2878
|
}
|
|
@@ -2884,15 +2887,15 @@ function Ue(e) {
|
|
|
2884
2887
|
function Zt(e) {
|
|
2885
2888
|
e.preventDefault();
|
|
2886
2889
|
}
|
|
2887
|
-
function
|
|
2890
|
+
function Za(e) {
|
|
2888
2891
|
return e.indexOf("MSIE") !== -1 || e.indexOf("Trident/") !== -1;
|
|
2889
2892
|
}
|
|
2890
|
-
function
|
|
2893
|
+
function Qa(e) {
|
|
2891
2894
|
return e.indexOf("Edge/") !== -1;
|
|
2892
2895
|
}
|
|
2893
|
-
function
|
|
2896
|
+
function Ja() {
|
|
2894
2897
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.navigator.userAgent;
|
|
2895
|
-
return
|
|
2898
|
+
return Za(e) || Qa(e);
|
|
2896
2899
|
}
|
|
2897
2900
|
function we() {
|
|
2898
2901
|
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
|
|
@@ -2905,16 +2908,16 @@ function we() {
|
|
|
2905
2908
|
});
|
|
2906
2909
|
};
|
|
2907
2910
|
}
|
|
2908
|
-
function
|
|
2911
|
+
function ei() {
|
|
2909
2912
|
return "showOpenFilePicker" in window;
|
|
2910
2913
|
}
|
|
2911
|
-
function
|
|
2914
|
+
function ti(e) {
|
|
2912
2915
|
if (Ie(e)) {
|
|
2913
2916
|
var t = Object.entries(e).filter(function(n) {
|
|
2914
|
-
var o =
|
|
2917
|
+
var o = Be(n, 2), a = o[0], i = o[1], r = !0;
|
|
2915
2918
|
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;
|
|
2916
2919
|
}).reduce(function(n, o) {
|
|
2917
|
-
var a =
|
|
2920
|
+
var a = Be(o, 2), i = a[0], r = a[1];
|
|
2918
2921
|
return Gt(Gt({}, n), {}, bn({}, i, r));
|
|
2919
2922
|
}, {});
|
|
2920
2923
|
return [{
|
|
@@ -2925,19 +2928,19 @@ function Ja(e) {
|
|
|
2925
2928
|
}
|
|
2926
2929
|
return e;
|
|
2927
2930
|
}
|
|
2928
|
-
function
|
|
2931
|
+
function ni(e) {
|
|
2929
2932
|
if (Ie(e))
|
|
2930
2933
|
return Object.entries(e).reduce(function(t, n) {
|
|
2931
|
-
var o =
|
|
2934
|
+
var o = Be(n, 2), a = o[0], i = o[1];
|
|
2932
2935
|
return [].concat(Vt(t), [a], Vt(i));
|
|
2933
2936
|
}, []).filter(function(t) {
|
|
2934
2937
|
return Cn(t) || Tn(t);
|
|
2935
2938
|
}).join(",");
|
|
2936
2939
|
}
|
|
2937
|
-
function
|
|
2940
|
+
function oi(e) {
|
|
2938
2941
|
return e instanceof DOMException && (e.name === "AbortError" || e.code === e.ABORT_ERR);
|
|
2939
2942
|
}
|
|
2940
|
-
function
|
|
2943
|
+
function ai(e) {
|
|
2941
2944
|
return e instanceof DOMException && (e.name === "SecurityError" || e.code === e.SECURITY_ERR);
|
|
2942
2945
|
}
|
|
2943
2946
|
function Cn(e) {
|
|
@@ -2946,24 +2949,24 @@ function Cn(e) {
|
|
|
2946
2949
|
function Tn(e) {
|
|
2947
2950
|
return /^.*\.[\w]+$/.test(e);
|
|
2948
2951
|
}
|
|
2949
|
-
var
|
|
2950
|
-
function
|
|
2951
|
-
return
|
|
2952
|
+
var ii = ["children"], ri = ["open"], si = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], pi = ["refKey", "onChange", "onClick"];
|
|
2953
|
+
function ci(e) {
|
|
2954
|
+
return ui(e) || di(e) || En(e) || li();
|
|
2952
2955
|
}
|
|
2953
|
-
function
|
|
2956
|
+
function li() {
|
|
2954
2957
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2955
2958
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2956
2959
|
}
|
|
2957
|
-
function
|
|
2960
|
+
function di(e) {
|
|
2958
2961
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
2959
2962
|
}
|
|
2960
|
-
function
|
|
2963
|
+
function ui(e) {
|
|
2961
2964
|
if (Array.isArray(e)) return Tt(e);
|
|
2962
2965
|
}
|
|
2963
2966
|
function gt(e, t) {
|
|
2964
|
-
return
|
|
2967
|
+
return vi(e) || fi(e, t) || En(e, t) || mi();
|
|
2965
2968
|
}
|
|
2966
|
-
function
|
|
2969
|
+
function mi() {
|
|
2967
2970
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2968
2971
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2969
2972
|
}
|
|
@@ -2981,7 +2984,7 @@ function Tt(e, t) {
|
|
|
2981
2984
|
o[n] = e[n];
|
|
2982
2985
|
return o;
|
|
2983
2986
|
}
|
|
2984
|
-
function
|
|
2987
|
+
function fi(e, t) {
|
|
2985
2988
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
2986
2989
|
if (n != null) {
|
|
2987
2990
|
var o = [], a = !0, i = !1, r, s;
|
|
@@ -3000,7 +3003,7 @@ function ui(e, t) {
|
|
|
3000
3003
|
return o;
|
|
3001
3004
|
}
|
|
3002
3005
|
}
|
|
3003
|
-
function
|
|
3006
|
+
function vi(e) {
|
|
3004
3007
|
if (Array.isArray(e)) return e;
|
|
3005
3008
|
}
|
|
3006
3009
|
function Qt(e, t) {
|
|
@@ -3029,7 +3032,7 @@ function Et(e, t, n) {
|
|
|
3029
3032
|
}
|
|
3030
3033
|
function Ze(e, t) {
|
|
3031
3034
|
if (e == null) return {};
|
|
3032
|
-
var n =
|
|
3035
|
+
var n = _i(e, t), o, a;
|
|
3033
3036
|
if (Object.getOwnPropertySymbols) {
|
|
3034
3037
|
var i = Object.getOwnPropertySymbols(e);
|
|
3035
3038
|
for (a = 0; a < i.length; a++)
|
|
@@ -3037,7 +3040,7 @@ function Ze(e, t) {
|
|
|
3037
3040
|
}
|
|
3038
3041
|
return n;
|
|
3039
3042
|
}
|
|
3040
|
-
function
|
|
3043
|
+
function _i(e, t) {
|
|
3041
3044
|
if (e == null) return {};
|
|
3042
3045
|
var n = {}, o = Object.keys(e), a, i;
|
|
3043
3046
|
for (i = 0; i < o.length; i++)
|
|
@@ -3045,19 +3048,19 @@ function fi(e, t) {
|
|
|
3045
3048
|
return n;
|
|
3046
3049
|
}
|
|
3047
3050
|
var Je = /* @__PURE__ */ Fn(function(e, t) {
|
|
3048
|
-
var n = e.children, o = Ze(e,
|
|
3051
|
+
var n = e.children, o = Ze(e, ii), a = xi(o), i = a.open, r = Ze(a, ri);
|
|
3049
3052
|
return zn(t, function() {
|
|
3050
3053
|
return {
|
|
3051
3054
|
open: i
|
|
3052
3055
|
};
|
|
3053
|
-
}, [i]), /* @__PURE__ */ We.createElement(
|
|
3056
|
+
}, [i]), /* @__PURE__ */ We.createElement(Mn, null, n(Z(Z({}, r), {}, {
|
|
3054
3057
|
open: i
|
|
3055
3058
|
})));
|
|
3056
3059
|
});
|
|
3057
3060
|
Je.displayName = "Dropzone";
|
|
3058
3061
|
var Sn = {
|
|
3059
3062
|
disabled: !1,
|
|
3060
|
-
getFilesFromEvent:
|
|
3063
|
+
getFilesFromEvent: ja,
|
|
3061
3064
|
maxSize: 1 / 0,
|
|
3062
3065
|
minSize: 0,
|
|
3063
3066
|
multiple: !0,
|
|
@@ -3249,16 +3252,16 @@ var St = {
|
|
|
3249
3252
|
acceptedFiles: [],
|
|
3250
3253
|
fileRejections: []
|
|
3251
3254
|
};
|
|
3252
|
-
function
|
|
3253
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = Z(Z({}, Sn), e), n = t.accept, o = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, m = t.maxFiles, d = t.onDragEnter, u = t.onDragLeave, c = t.onDragOver, y = t.onDrop, w = t.onDropAccepted, T = t.onDropRejected, k = t.onFileDialogCancel,
|
|
3254
|
-
return
|
|
3255
|
+
function xi() {
|
|
3256
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = Z(Z({}, Sn), e), n = t.accept, o = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, m = t.maxFiles, d = t.onDragEnter, u = t.onDragLeave, c = t.onDragOver, y = t.onDrop, w = t.onDropAccepted, T = t.onDropRejected, k = t.onFileDialogCancel, N = t.onFileDialogOpen, O = t.useFsAccessApi, Y = t.autoFocus, R = t.preventDropOnDocument, b = t.noClick, p = t.noKeyboard, S = t.noDrag, z = t.noDragEventsBubbling, G = t.onError, X = t.validator, se = Ae(function() {
|
|
3257
|
+
return ni(n);
|
|
3255
3258
|
}, [n]), de = Ae(function() {
|
|
3256
|
-
return
|
|
3257
|
-
}, [n]),
|
|
3258
|
-
return typeof
|
|
3259
|
-
}, [
|
|
3259
|
+
return ti(n);
|
|
3260
|
+
}, [n]), _e = Ae(function() {
|
|
3261
|
+
return typeof N == "function" ? N : Jt;
|
|
3262
|
+
}, [N]), ne = Ae(function() {
|
|
3260
3263
|
return typeof k == "function" ? k : Jt;
|
|
3261
|
-
}, [k]), g = Ce(null), L = Ce(null), q =
|
|
3264
|
+
}, [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()), P = function() {
|
|
3262
3265
|
!A.current && h && setTimeout(function() {
|
|
3263
3266
|
if (L.current) {
|
|
3264
3267
|
var E = L.current.files;
|
|
@@ -3273,23 +3276,23 @@ function vi() {
|
|
|
3273
3276
|
window.removeEventListener("focus", P, !1);
|
|
3274
3277
|
};
|
|
3275
3278
|
}, [L, h, ne, A]);
|
|
3276
|
-
var j = Ce([]),
|
|
3279
|
+
var j = Ce([]), B = function(E) {
|
|
3277
3280
|
g.current && g.current.contains(E.target) || (E.preventDefault(), j.current = []);
|
|
3278
3281
|
};
|
|
3279
3282
|
re(function() {
|
|
3280
|
-
return R && (document.addEventListener("dragover", Zt, !1), document.addEventListener("drop",
|
|
3281
|
-
R && (document.removeEventListener("dragover", Zt), document.removeEventListener("drop",
|
|
3283
|
+
return R && (document.addEventListener("dragover", Zt, !1), document.addEventListener("drop", B, !1)), function() {
|
|
3284
|
+
R && (document.removeEventListener("dragover", Zt), document.removeEventListener("drop", B));
|
|
3282
3285
|
};
|
|
3283
3286
|
}, [g, R]), re(function() {
|
|
3284
3287
|
return !o && Y && g.current && g.current.focus(), function() {
|
|
3285
3288
|
};
|
|
3286
3289
|
}, [g, Y, o]);
|
|
3287
|
-
var
|
|
3290
|
+
var D = le(function(x) {
|
|
3288
3291
|
G ? G(x) : console.error(x);
|
|
3289
3292
|
}, [G]), F = le(function(x) {
|
|
3290
|
-
x.preventDefault(), x.persist(), $e(x), j.current = [].concat(
|
|
3293
|
+
x.preventDefault(), x.persist(), $e(x), j.current = [].concat(ci(j.current), [x.target]), Ue(x) && Promise.resolve(a(x)).then(function(E) {
|
|
3291
3294
|
if (!(Xe(x) && !z)) {
|
|
3292
|
-
var J = E.length, oe = J > 0 &&
|
|
3295
|
+
var J = E.length, oe = J > 0 && Xa({
|
|
3293
3296
|
files: E,
|
|
3294
3297
|
accept: se,
|
|
3295
3298
|
minSize: r,
|
|
@@ -3306,9 +3309,9 @@ function vi() {
|
|
|
3306
3309
|
}), d && d(x);
|
|
3307
3310
|
}
|
|
3308
3311
|
}).catch(function(E) {
|
|
3309
|
-
return
|
|
3312
|
+
return D(E);
|
|
3310
3313
|
});
|
|
3311
|
-
}, [a, d,
|
|
3314
|
+
}, [a, d, D, z, se, r, i, s, m, X]), W = le(function(x) {
|
|
3312
3315
|
x.preventDefault(), x.persist(), $e(x);
|
|
3313
3316
|
var E = Ue(x);
|
|
3314
3317
|
if (E && x.dataTransfer)
|
|
@@ -3328,7 +3331,7 @@ function vi() {
|
|
|
3328
3331
|
isDragAccept: !1,
|
|
3329
3332
|
isDragReject: !1
|
|
3330
3333
|
}), Ue(x) && u && u(x));
|
|
3331
|
-
}, [g, u, z]),
|
|
3334
|
+
}, [g, u, z]), M = le(function(x, E) {
|
|
3332
3335
|
var J = [], oe = [];
|
|
3333
3336
|
x.forEach(function(me) {
|
|
3334
3337
|
var Fe = wn(me, se), Re = gt(Fe, 2), tt = Re[0], nt = Re[1], ot = kn(me, r, i), He = gt(ot, 2), at = He[0], it = He[1], rt = X ? X(me) : null;
|
|
@@ -3346,7 +3349,7 @@ function vi() {
|
|
|
3346
3349
|
}), (!s && J.length > 1 || s && m >= 1 && J.length > m) && (J.forEach(function(me) {
|
|
3347
3350
|
oe.push({
|
|
3348
3351
|
file: me,
|
|
3349
|
-
errors: [
|
|
3352
|
+
errors: [Ka]
|
|
3350
3353
|
});
|
|
3351
3354
|
}), J.splice(0)), Q({
|
|
3352
3355
|
acceptedFiles: J,
|
|
@@ -3356,17 +3359,17 @@ function vi() {
|
|
|
3356
3359
|
}), y && y(J, oe, E), oe.length > 0 && T && T(oe, E), J.length > 0 && w && w(J, E);
|
|
3357
3360
|
}, [Q, s, se, r, i, m, y, w, T, X]), te = le(function(x) {
|
|
3358
3361
|
x.preventDefault(), x.persist(), $e(x), j.current = [], Ue(x) && Promise.resolve(a(x)).then(function(E) {
|
|
3359
|
-
Xe(x) && !z ||
|
|
3362
|
+
Xe(x) && !z || M(E, x);
|
|
3360
3363
|
}).catch(function(E) {
|
|
3361
|
-
return
|
|
3364
|
+
return D(E);
|
|
3362
3365
|
}), Q({
|
|
3363
3366
|
type: "reset"
|
|
3364
3367
|
});
|
|
3365
|
-
}, [a,
|
|
3368
|
+
}, [a, M, D, z]), _ = le(function() {
|
|
3366
3369
|
if (A.current) {
|
|
3367
3370
|
Q({
|
|
3368
3371
|
type: "openDialog"
|
|
3369
|
-
}),
|
|
3372
|
+
}), _e();
|
|
3370
3373
|
var x = {
|
|
3371
3374
|
multiple: s,
|
|
3372
3375
|
types: de
|
|
@@ -3374,22 +3377,22 @@ function vi() {
|
|
|
3374
3377
|
window.showOpenFilePicker(x).then(function(E) {
|
|
3375
3378
|
return a(E);
|
|
3376
3379
|
}).then(function(E) {
|
|
3377
|
-
|
|
3380
|
+
M(E, null), Q({
|
|
3378
3381
|
type: "closeDialog"
|
|
3379
3382
|
});
|
|
3380
3383
|
}).catch(function(E) {
|
|
3381
|
-
|
|
3384
|
+
oi(E) ? (ne(E), Q({
|
|
3382
3385
|
type: "closeDialog"
|
|
3383
|
-
})) :
|
|
3386
|
+
})) : ai(E) ? (A.current = !1, L.current ? (L.current.value = null, L.current.click()) : D(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."))) : D(E);
|
|
3384
3387
|
});
|
|
3385
3388
|
return;
|
|
3386
3389
|
}
|
|
3387
3390
|
L.current && (Q({
|
|
3388
3391
|
type: "openDialog"
|
|
3389
|
-
}),
|
|
3390
|
-
}, [Q,
|
|
3392
|
+
}), _e(), L.current.value = null, L.current.click());
|
|
3393
|
+
}, [Q, _e, ne, O, M, D, de, s]), ue = le(function(x) {
|
|
3391
3394
|
!g.current || !g.current.isEqualNode(x.target) || (x.key === " " || x.key === "Enter" || x.keyCode === 32 || x.keyCode === 13) && (x.preventDefault(), _());
|
|
3392
|
-
}, [g, _]),
|
|
3395
|
+
}, [g, _]), je = le(function() {
|
|
3393
3396
|
Q({
|
|
3394
3397
|
type: "focus"
|
|
3395
3398
|
});
|
|
@@ -3398,7 +3401,7 @@ function vi() {
|
|
|
3398
3401
|
type: "blur"
|
|
3399
3402
|
});
|
|
3400
3403
|
}, []), Rt = le(function() {
|
|
3401
|
-
b || (
|
|
3404
|
+
b || (Ja() ? setTimeout(_, 0) : _());
|
|
3402
3405
|
}, [b, _]), De = function(E) {
|
|
3403
3406
|
return o ? null : E;
|
|
3404
3407
|
}, et = function(E) {
|
|
@@ -3409,10 +3412,10 @@ function vi() {
|
|
|
3409
3412
|
z && E.stopPropagation();
|
|
3410
3413
|
}, An = Ae(function() {
|
|
3411
3414
|
return function() {
|
|
3412
|
-
var x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, E = x.refKey, J = E === void 0 ? "ref" : E, oe = x.role, me = x.onKeyDown, Fe = x.onFocus, Re = x.onBlur, tt = x.onClick, nt = x.onDragEnter, ot = x.onDragOver, He = x.onDragLeave, at = x.onDrop, it = Ze(x,
|
|
3415
|
+
var x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, E = x.refKey, J = E === void 0 ? "ref" : E, oe = x.role, me = x.onKeyDown, Fe = x.onFocus, Re = x.onBlur, tt = x.onClick, nt = x.onDragEnter, ot = x.onDragOver, He = x.onDragLeave, at = x.onDrop, it = Ze(x, si);
|
|
3413
3416
|
return Z(Z(Et({
|
|
3414
3417
|
onKeyDown: et(we(me, ue)),
|
|
3415
|
-
onFocus: et(we(Fe,
|
|
3418
|
+
onFocus: et(we(Fe, je)),
|
|
3416
3419
|
onBlur: et(we(Re, Pe)),
|
|
3417
3420
|
onClick: De(we(tt, Rt)),
|
|
3418
3421
|
onDragEnter: qe(we(nt, F)),
|
|
@@ -3424,11 +3427,11 @@ function vi() {
|
|
|
3424
3427
|
tabIndex: 0
|
|
3425
3428
|
} : {}), it);
|
|
3426
3429
|
};
|
|
3427
|
-
}, [g, ue,
|
|
3430
|
+
}, [g, ue, je, Pe, Rt, F, W, $, te, p, S, o]), On = le(function(x) {
|
|
3428
3431
|
x.stopPropagation();
|
|
3429
3432
|
}, []), Ln = Ae(function() {
|
|
3430
3433
|
return function() {
|
|
3431
|
-
var x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, E = x.refKey, J = E === void 0 ? "ref" : E, oe = x.onChange, me = x.onClick, Fe = Ze(x,
|
|
3434
|
+
var x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, E = x.refKey, J = E === void 0 ? "ref" : E, oe = x.onChange, me = x.onClick, Fe = Ze(x, pi), Re = Et({
|
|
3432
3435
|
accept: se,
|
|
3433
3436
|
multiple: s,
|
|
3434
3437
|
type: "file",
|
|
@@ -3460,7 +3463,7 @@ function vi() {
|
|
|
3460
3463
|
open: De(_)
|
|
3461
3464
|
});
|
|
3462
3465
|
}
|
|
3463
|
-
function
|
|
3466
|
+
function gi(e, t) {
|
|
3464
3467
|
switch (t.type) {
|
|
3465
3468
|
case "focus":
|
|
3466
3469
|
return Z(Z({}, e), {}, {
|
|
@@ -3498,7 +3501,7 @@ function _i(e, t) {
|
|
|
3498
3501
|
}
|
|
3499
3502
|
function Jt() {
|
|
3500
3503
|
}
|
|
3501
|
-
const
|
|
3504
|
+
const hi = (e) => {
|
|
3502
3505
|
const {
|
|
3503
3506
|
onDropFiles: t,
|
|
3504
3507
|
children: n,
|
|
@@ -3528,16 +3531,16 @@ const xi = (e) => {
|
|
|
3528
3531
|
/* @__PURE__ */ l("input", { ...y({}), disabled: i, name: r }),
|
|
3529
3532
|
n
|
|
3530
3533
|
] }) });
|
|
3531
|
-
},
|
|
3532
|
-
spDropdown:
|
|
3533
|
-
spDropdown__labelText:
|
|
3534
|
-
spDropdown__tooltipContainer:
|
|
3535
|
-
spDropdown__dropdownList:
|
|
3536
|
-
spDropdown__dropdownListHeader:
|
|
3537
|
-
spDropdown__dopdownListItem:
|
|
3538
|
-
spDropdown__dopdownListItem_textCenter:
|
|
3539
|
-
spDropdown__downloadListItemDescription:
|
|
3540
|
-
},
|
|
3534
|
+
}, bi = "_spDropdown_1f4lf_43", yi = "_spDropdown__labelText_1f4lf_54", wi = "_spDropdown__tooltipContainer_1f4lf_62", ki = "_spDropdown__dropdownList_1f4lf_67", Ci = "_spDropdown__dropdownListHeader_1f4lf_73", Ti = "_spDropdown__dopdownListItem_1f4lf_80", Ei = "_spDropdown__dopdownListItem_textCenter_1f4lf_91", Si = "_spDropdown__downloadListItemDescription_1f4lf_94", Ee = {
|
|
3535
|
+
spDropdown: bi,
|
|
3536
|
+
spDropdown__labelText: yi,
|
|
3537
|
+
spDropdown__tooltipContainer: wi,
|
|
3538
|
+
spDropdown__dropdownList: ki,
|
|
3539
|
+
spDropdown__dropdownListHeader: Ci,
|
|
3540
|
+
spDropdown__dopdownListItem: Ti,
|
|
3541
|
+
spDropdown__dopdownListItem_textCenter: Ei,
|
|
3542
|
+
spDropdown__downloadListItemDescription: Si
|
|
3543
|
+
}, ws = (e) => {
|
|
3541
3544
|
const {
|
|
3542
3545
|
labelText: t = "Выпадающий список",
|
|
3543
3546
|
listName: n,
|
|
@@ -3566,7 +3569,7 @@ const xi = (e) => {
|
|
|
3566
3569
|
actionOnClose: () => w(!1),
|
|
3567
3570
|
text: /* @__PURE__ */ H("div", { className: d, children: [
|
|
3568
3571
|
n && /* @__PURE__ */ l("div", { className: u, children: n }),
|
|
3569
|
-
o.map((k,
|
|
3572
|
+
o.map((k, N) => /* @__PURE__ */ H(
|
|
3570
3573
|
"div",
|
|
3571
3574
|
{
|
|
3572
3575
|
className: v({
|
|
@@ -3579,7 +3582,7 @@ const xi = (e) => {
|
|
|
3579
3582
|
k.description && /* @__PURE__ */ l("span", { className: c, children: k.description })
|
|
3580
3583
|
]
|
|
3581
3584
|
},
|
|
3582
|
-
|
|
3585
|
+
N
|
|
3583
3586
|
))
|
|
3584
3587
|
] }),
|
|
3585
3588
|
position: a,
|
|
@@ -3587,14 +3590,14 @@ const xi = (e) => {
|
|
|
3587
3590
|
isToggleClick: !0,
|
|
3588
3591
|
trigger: /* @__PURE__ */ H("div", { className: r, children: [
|
|
3589
3592
|
/* @__PURE__ */ l("div", { className: s, children: t }),
|
|
3590
|
-
/* @__PURE__ */ l("div", { className: m, children: /* @__PURE__ */ l(
|
|
3593
|
+
/* @__PURE__ */ l("div", { className: m, children: /* @__PURE__ */ l(ve, { name: ie.SelectChevronDown, rotate: y ? 180 : void 0 }) })
|
|
3591
3594
|
] })
|
|
3592
3595
|
}
|
|
3593
3596
|
);
|
|
3594
|
-
},
|
|
3595
|
-
ellipsisTextWithTooltip:
|
|
3596
|
-
ellipsisTextWithTooltip__tooltip:
|
|
3597
|
-
},
|
|
3597
|
+
}, ji = "_ellipsisTextWithTooltip_1nhiw_43", Ii = "_ellipsisTextWithTooltip__tooltip_1nhiw_46", en = {
|
|
3598
|
+
ellipsisTextWithTooltip: ji,
|
|
3599
|
+
ellipsisTextWithTooltip__tooltip: Ii
|
|
3600
|
+
}, ks = (e) => {
|
|
3598
3601
|
const {
|
|
3599
3602
|
text: t,
|
|
3600
3603
|
classNameRoot: n,
|
|
@@ -3624,13 +3627,13 @@ const xi = (e) => {
|
|
|
3624
3627
|
trigger: /* @__PURE__ */ l(Te, { ...r, classNameRoot: u, isEllipsis: !0, ref: s, children: t })
|
|
3625
3628
|
}
|
|
3626
3629
|
);
|
|
3627
|
-
},
|
|
3628
|
-
spForm:
|
|
3629
|
-
spForm_fullWidth:
|
|
3630
|
-
spForm_withSeparator:
|
|
3630
|
+
}, Ni = "_spForm_zefbj_43", Di = "_spForm_fullWidth_zefbj_46", Ri = "_spForm_withSeparator_zefbj_49", Me = {
|
|
3631
|
+
spForm: Ni,
|
|
3632
|
+
spForm_fullWidth: Di,
|
|
3633
|
+
spForm_withSeparator: Ri,
|
|
3631
3634
|
"spForm_addMargin--size-lg": "_spForm_addMargin--size-lg_zefbj_67",
|
|
3632
3635
|
"spForm_addMargin--size-md": "_spForm_addMargin--size-md_zefbj_75"
|
|
3633
|
-
},
|
|
3636
|
+
}, Cs = (e) => {
|
|
3634
3637
|
const {
|
|
3635
3638
|
size: t = "lg",
|
|
3636
3639
|
children: n,
|
|
@@ -3641,21 +3644,21 @@ const xi = (e) => {
|
|
|
3641
3644
|
classNameRoot: s,
|
|
3642
3645
|
...m
|
|
3643
3646
|
} = e, d = v({
|
|
3644
|
-
[
|
|
3645
|
-
[
|
|
3646
|
-
[
|
|
3647
|
-
[
|
|
3648
|
-
[
|
|
3647
|
+
[Me.spForm]: !0,
|
|
3648
|
+
[Me.spForm_fullWidth]: r,
|
|
3649
|
+
[Me.spForm_addMargin]: a,
|
|
3650
|
+
[Me[`spForm_addMargin--size-${t}`]]: a && t,
|
|
3651
|
+
[Me.spForm_withSeparator]: i,
|
|
3649
3652
|
...s && { [s]: !0 }
|
|
3650
3653
|
});
|
|
3651
3654
|
return /* @__PURE__ */ l("form", { ...m, onSubmit: (c) => {
|
|
3652
3655
|
c.preventDefault(), o && o();
|
|
3653
3656
|
}, className: d, children: n });
|
|
3654
|
-
},
|
|
3655
|
-
spLabel:
|
|
3656
|
-
spLabel__text:
|
|
3657
|
-
spLabel__tooltip:
|
|
3658
|
-
spLabel__required:
|
|
3657
|
+
}, Ai = "_spLabel_g0hfy_43", Oi = "_spLabel__text_g0hfy_52", Li = "_spLabel__tooltip_g0hfy_62", Pi = "_spLabel__required_g0hfy_67", Ge = {
|
|
3658
|
+
spLabel: Ai,
|
|
3659
|
+
spLabel__text: Oi,
|
|
3660
|
+
spLabel__tooltip: Li,
|
|
3661
|
+
spLabel__required: Pi
|
|
3659
3662
|
}, Nt = (e) => {
|
|
3660
3663
|
const {
|
|
3661
3664
|
required: t,
|
|
@@ -3678,15 +3681,16 @@ const xi = (e) => {
|
|
|
3678
3681
|
t && /* @__PURE__ */ l("div", { className: m, children: "*" }),
|
|
3679
3682
|
o && /* @__PURE__ */ l("div", { className: d, children: /* @__PURE__ */ l(Qe, { position: a, text: o }) })
|
|
3680
3683
|
] });
|
|
3681
|
-
},
|
|
3682
|
-
spInput:
|
|
3683
|
-
spInput_error:
|
|
3684
|
-
spInput__control:
|
|
3685
|
-
spInput__container:
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3684
|
+
}, Fi = "_spInput_1ipku_43", zi = "_spInput_error_1ipku_48", Mi = "_spInput__control_1ipku_48", Bi = "_spInput__container_1ipku_55", Wi = "_spInput__control_disabled_1ipku_75", qi = "_spInput__control_clearable_1ipku_78", $i = "_spInput__clear_1ipku_98", Hi = "_spInput__error_1ipku_107", Se = {
|
|
3685
|
+
spInput: Fi,
|
|
3686
|
+
spInput_error: zi,
|
|
3687
|
+
spInput__control: Mi,
|
|
3688
|
+
spInput__container: Bi,
|
|
3689
|
+
spInput__control_disabled: Wi,
|
|
3690
|
+
spInput__control_clearable: qi,
|
|
3691
|
+
spInput__clear: $i,
|
|
3692
|
+
spInput__error: Hi
|
|
3693
|
+
}, Yi = We.forwardRef((e, t) => {
|
|
3690
3694
|
const {
|
|
3691
3695
|
value: n,
|
|
3692
3696
|
onChange: o,
|
|
@@ -3702,23 +3706,24 @@ const xi = (e) => {
|
|
|
3702
3706
|
tooltipPosition: w,
|
|
3703
3707
|
isVisibleDefaultTitle: T = !0,
|
|
3704
3708
|
placeholder: k = "Введите...",
|
|
3705
|
-
classNameRoot:
|
|
3709
|
+
classNameRoot: N,
|
|
3706
3710
|
classNameError: O,
|
|
3707
3711
|
classNameLabel: Y,
|
|
3708
3712
|
...R
|
|
3709
3713
|
} = e, b = v({
|
|
3710
|
-
[
|
|
3711
|
-
[
|
|
3712
|
-
...
|
|
3714
|
+
[Se.spInput]: !0,
|
|
3715
|
+
[Se.spInput_error]: !!r,
|
|
3716
|
+
...N && { [N]: !0 }
|
|
3713
3717
|
}), p = v({
|
|
3714
|
-
[
|
|
3718
|
+
[Se.spInput__container]: !0
|
|
3715
3719
|
}), S = v({
|
|
3716
|
-
[
|
|
3717
|
-
[
|
|
3720
|
+
[Se.spInput__control]: !0,
|
|
3721
|
+
[Se.spInput__control_disabled]: i,
|
|
3722
|
+
[Se.spInput__control_clearable]: d
|
|
3718
3723
|
}), z = v({
|
|
3719
|
-
[
|
|
3724
|
+
[Se.spInput__clear]: !0
|
|
3720
3725
|
}), G = v({
|
|
3721
|
-
[
|
|
3726
|
+
[Se.spInput__error]: !0,
|
|
3722
3727
|
...O && { [O]: !0 }
|
|
3723
3728
|
}), X = v({
|
|
3724
3729
|
...Y && { [Y]: !0 }
|
|
@@ -3754,26 +3759,26 @@ const xi = (e) => {
|
|
|
3754
3759
|
ref: t
|
|
3755
3760
|
}
|
|
3756
3761
|
),
|
|
3757
|
-
d && n && !i && /* @__PURE__ */ l(
|
|
3762
|
+
d && n && !i && /* @__PURE__ */ l(ve, { onClick: se, className: z, name: ie.Trash })
|
|
3758
3763
|
] }),
|
|
3759
3764
|
r && /* @__PURE__ */ l("div", { className: G, children: r })
|
|
3760
3765
|
] });
|
|
3761
3766
|
});
|
|
3762
|
-
|
|
3763
|
-
const
|
|
3764
|
-
spInputFiles:
|
|
3765
|
-
spInputFiles_error:
|
|
3766
|
-
spInputFiles__control:
|
|
3767
|
-
spInputFiles_fileUploaded:
|
|
3768
|
-
spInputFiles_disabled:
|
|
3769
|
-
spInputFiles__fileNamesList:
|
|
3770
|
-
spInputFiles__fileNamesListItem:
|
|
3771
|
-
spInputFiles__fileNamesListItemDelete:
|
|
3772
|
-
spInputFiles__tooltipWrapper:
|
|
3773
|
-
spInputFiles__tooltip:
|
|
3774
|
-
spInputFiles__delete:
|
|
3775
|
-
spInputFiles__error:
|
|
3776
|
-
},
|
|
3767
|
+
Yi.displayName = "Input";
|
|
3768
|
+
const Vi = "_spInputFiles_12x0f_43", Ui = "_spInputFiles_error_12x0f_48", Gi = "_spInputFiles__control_12x0f_48", Ki = "_spInputFiles_fileUploaded_12x0f_73", Xi = "_spInputFiles_disabled_12x0f_73", Zi = "_spInputFiles__fileNamesList_12x0f_83", Qi = "_spInputFiles__fileNamesListItem_12x0f_91", Ji = "_spInputFiles__fileNamesListItemDelete_12x0f_110", er = "_spInputFiles__tooltipWrapper_12x0f_125", tr = "_spInputFiles__tooltip_12x0f_125", nr = "_spInputFiles__delete_12x0f_131", or = "_spInputFiles__error_12x0f_139", xe = {
|
|
3769
|
+
spInputFiles: Vi,
|
|
3770
|
+
spInputFiles_error: Ui,
|
|
3771
|
+
spInputFiles__control: Gi,
|
|
3772
|
+
spInputFiles_fileUploaded: Ki,
|
|
3773
|
+
spInputFiles_disabled: Xi,
|
|
3774
|
+
spInputFiles__fileNamesList: Zi,
|
|
3775
|
+
spInputFiles__fileNamesListItem: Qi,
|
|
3776
|
+
spInputFiles__fileNamesListItemDelete: Ji,
|
|
3777
|
+
spInputFiles__tooltipWrapper: er,
|
|
3778
|
+
spInputFiles__tooltip: tr,
|
|
3779
|
+
spInputFiles__delete: nr,
|
|
3780
|
+
spInputFiles__error: or
|
|
3781
|
+
}, Ts = (e) => {
|
|
3777
3782
|
const {
|
|
3778
3783
|
placeholder: t = "Загрузите файл",
|
|
3779
3784
|
name: n,
|
|
@@ -3788,7 +3793,7 @@ const $i = "_spInputFiles_12x0f_43", Hi = "_spInputFiles_error_12x0f_48", Yi = "
|
|
|
3788
3793
|
tooltipPosition: c = ae.TopRight,
|
|
3789
3794
|
classNameRoot: y,
|
|
3790
3795
|
error: w
|
|
3791
|
-
} = e, T = d.map((p) => p.name), k = (T == null ? void 0 : T.length) > 0,
|
|
3796
|
+
} = e, T = d.map((p) => p.name), k = (T == null ? void 0 : T.length) > 0, N = v({
|
|
3792
3797
|
[xe.spInputFiles]: !0,
|
|
3793
3798
|
[xe.spInputFiles_error]: !!w,
|
|
3794
3799
|
[xe.spInputFiles_disabled]: r,
|
|
@@ -3808,13 +3813,13 @@ const $i = "_spInputFiles_12x0f_43", Hi = "_spInputFiles_error_12x0f_48", Yi = "
|
|
|
3808
3813
|
},
|
|
3809
3814
|
children: [
|
|
3810
3815
|
/* @__PURE__ */ l(Te, { isEllipsis: !0, children: p }),
|
|
3811
|
-
/* @__PURE__ */ l("div", { className: xe.spInputFiles__fileNamesListItemDelete, children: /* @__PURE__ */ l(
|
|
3816
|
+
/* @__PURE__ */ l("div", { className: xe.spInputFiles__fileNamesListItemDelete, children: /* @__PURE__ */ l(ve, { name: ie.Trash }) })
|
|
3812
3817
|
]
|
|
3813
3818
|
},
|
|
3814
3819
|
S
|
|
3815
3820
|
)) }) : /* @__PURE__ */ l(Te, { isEllipsis: !0, children: T[0] }), b = () => /* @__PURE__ */ H(pn, { children: [
|
|
3816
3821
|
k ? R() : /* @__PURE__ */ l(Te, { children: t }),
|
|
3817
|
-
k ? /* @__PURE__ */ l("div", { className: xe.spInputFiles__delete, onClick: Y, children: /* @__PURE__ */ l(
|
|
3822
|
+
k ? /* @__PURE__ */ l("div", { className: xe.spInputFiles__delete, onClick: Y, children: /* @__PURE__ */ l(ve, { name: ie.Close }) }) : u && /* @__PURE__ */ l(
|
|
3818
3823
|
Qe,
|
|
3819
3824
|
{
|
|
3820
3825
|
classNameTooltip: xe.spInputFiles__tooltipWrapper,
|
|
@@ -3825,7 +3830,7 @@ const $i = "_spInputFiles_12x0f_43", Hi = "_spInputFiles_error_12x0f_48", Yi = "
|
|
|
3825
3830
|
)
|
|
3826
3831
|
] });
|
|
3827
3832
|
return /* @__PURE__ */ l(
|
|
3828
|
-
|
|
3833
|
+
hi,
|
|
3829
3834
|
{
|
|
3830
3835
|
name: n,
|
|
3831
3836
|
files: d,
|
|
@@ -3835,9 +3840,9 @@ const $i = "_spInputFiles_12x0f_43", Hi = "_spInputFiles_error_12x0f_48", Yi = "
|
|
|
3835
3840
|
accept: i,
|
|
3836
3841
|
onDropFiles: o,
|
|
3837
3842
|
disabled: r || k,
|
|
3838
|
-
children: /* @__PURE__ */ H("div", { className:
|
|
3843
|
+
children: /* @__PURE__ */ H("div", { className: N, children: [
|
|
3839
3844
|
/* @__PURE__ */ H("div", { className: xe.spInputFiles__control, children: [
|
|
3840
|
-
/* @__PURE__ */ l(
|
|
3845
|
+
/* @__PURE__ */ l(ve, { name: k ? ie.Check : ie.Upload }),
|
|
3841
3846
|
b()
|
|
3842
3847
|
] }),
|
|
3843
3848
|
w && /* @__PURE__ */ l("div", { className: xe.spInputFiles__error, children: w })
|
|
@@ -3852,10 +3857,10 @@ const $i = "_spInputFiles_12x0f_43", Hi = "_spInputFiles_error_12x0f_48", Yi = "
|
|
|
3852
3857
|
}
|
|
3853
3858
|
});
|
|
3854
3859
|
var Dt = {};
|
|
3855
|
-
Dt.match =
|
|
3860
|
+
Dt.match = cr;
|
|
3856
3861
|
Dt.parse = In;
|
|
3857
|
-
var
|
|
3858
|
-
function
|
|
3862
|
+
var ar = /(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i, ir = /\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/, rr = /^(?:(min|max)-)?(.+)/, sr = /(em|rem|px|cm|mm|in|pt|pc)?$/, pr = /(dpi|dpcm|dppx)?$/;
|
|
3863
|
+
function cr(e, t) {
|
|
3859
3864
|
return In(e).some(function(n) {
|
|
3860
3865
|
var o = n.inverse, a = n.type === "all" || t.type === n.type;
|
|
3861
3866
|
if (a && o || !(a || o))
|
|
@@ -3905,9 +3910,9 @@ function rr(e, t) {
|
|
|
3905
3910
|
function In(e) {
|
|
3906
3911
|
return e.split(",").map(function(t) {
|
|
3907
3912
|
t = t.trim();
|
|
3908
|
-
var n = t.match(
|
|
3913
|
+
var n = t.match(ar), o = n[1], a = n[2], i = n[3] || "", r = {};
|
|
3909
3914
|
return r.inverse = !!o && o.toLowerCase() === "not", r.type = a ? a.toLowerCase() : "all", i = i.match(/\([^\)]+\)/g) || [], r.expressions = i.map(function(s) {
|
|
3910
|
-
var m = s.match(
|
|
3915
|
+
var m = s.match(ir), d = m[1].toLowerCase().match(rr);
|
|
3911
3916
|
return {
|
|
3912
3917
|
modifier: d[1],
|
|
3913
3918
|
feature: d[2],
|
|
@@ -3921,7 +3926,7 @@ function tn(e) {
|
|
|
3921
3926
|
return t || (n = e.match(/^(\d+)\s*\/\s*(\d+)$/), t = n[1] / n[2]), t;
|
|
3922
3927
|
}
|
|
3923
3928
|
function nn(e) {
|
|
3924
|
-
var t = parseFloat(e), n = String(e).match(
|
|
3929
|
+
var t = parseFloat(e), n = String(e).match(pr)[1];
|
|
3925
3930
|
switch (n) {
|
|
3926
3931
|
case "dpcm":
|
|
3927
3932
|
return t / 2.54;
|
|
@@ -3932,7 +3937,7 @@ function nn(e) {
|
|
|
3932
3937
|
}
|
|
3933
3938
|
}
|
|
3934
3939
|
function on(e) {
|
|
3935
|
-
var t = parseFloat(e), n = String(e).match(
|
|
3940
|
+
var t = parseFloat(e), n = String(e).match(sr)[1];
|
|
3936
3941
|
switch (n) {
|
|
3937
3942
|
case "em":
|
|
3938
3943
|
return t * 16;
|
|
@@ -3952,10 +3957,10 @@ function on(e) {
|
|
|
3952
3957
|
return t;
|
|
3953
3958
|
}
|
|
3954
3959
|
}
|
|
3955
|
-
var
|
|
3956
|
-
function
|
|
3960
|
+
var lr = Dt.match, an = typeof window < "u" ? window.matchMedia : null;
|
|
3961
|
+
function dr(e, t, n) {
|
|
3957
3962
|
var o = this, a;
|
|
3958
|
-
an && !n && (a = an.call(window, e)), a ? (this.matches = a.matches, this.media = a.media, a.addListener(s)) : (this.matches =
|
|
3963
|
+
an && !n && (a = an.call(window, e)), a ? (this.matches = a.matches, this.media = a.media, a.addListener(s)) : (this.matches = lr(e, t), this.media = e), this.addListener = i, this.removeListener = r, this.dispose = m;
|
|
3959
3964
|
function i(d) {
|
|
3960
3965
|
a && a.addListener(d);
|
|
3961
3966
|
}
|
|
@@ -3969,22 +3974,22 @@ function pr(e, t, n) {
|
|
|
3969
3974
|
a && a.removeListener(s);
|
|
3970
3975
|
}
|
|
3971
3976
|
}
|
|
3972
|
-
function
|
|
3973
|
-
return new
|
|
3977
|
+
function ur(e, t, n) {
|
|
3978
|
+
return new dr(e, t, n);
|
|
3974
3979
|
}
|
|
3975
|
-
var
|
|
3976
|
-
const
|
|
3977
|
-
var
|
|
3978
|
-
function
|
|
3980
|
+
var mr = ur;
|
|
3981
|
+
const fr = /* @__PURE__ */ vn(mr);
|
|
3982
|
+
var vr = /[A-Z]/g, _r = /^ms-/, ht = {};
|
|
3983
|
+
function xr(e) {
|
|
3979
3984
|
return "-" + e.toLowerCase();
|
|
3980
3985
|
}
|
|
3981
3986
|
function Nn(e) {
|
|
3982
3987
|
if (ht.hasOwnProperty(e))
|
|
3983
3988
|
return ht[e];
|
|
3984
|
-
var t = e.replace(
|
|
3985
|
-
return ht[e] =
|
|
3989
|
+
var t = e.replace(vr, xr);
|
|
3990
|
+
return ht[e] = _r.test(t) ? "-" + t : t;
|
|
3986
3991
|
}
|
|
3987
|
-
function
|
|
3992
|
+
function gr(e, t) {
|
|
3988
3993
|
if (e === t)
|
|
3989
3994
|
return !0;
|
|
3990
3995
|
if (!e || !t)
|
|
@@ -4011,7 +4016,7 @@ const pe = C.oneOfType([C.string, C.number]), Dn = {
|
|
|
4011
4016
|
tty: C.bool,
|
|
4012
4017
|
tv: C.bool,
|
|
4013
4018
|
embossed: C.bool
|
|
4014
|
-
},
|
|
4019
|
+
}, hr = {
|
|
4015
4020
|
orientation: C.oneOf(["portrait", "landscape"]),
|
|
4016
4021
|
scan: C.oneOf(["progressive", "interlace"]),
|
|
4017
4022
|
aspectRatio: C.string,
|
|
@@ -4025,7 +4030,7 @@ const pe = C.oneOfType([C.string, C.number]), Dn = {
|
|
|
4025
4030
|
monochrome: C.bool,
|
|
4026
4031
|
resolution: pe,
|
|
4027
4032
|
type: Object.keys(Dn)
|
|
4028
|
-
}, { type:
|
|
4033
|
+
}, { type: Es, ...br } = hr, yr = {
|
|
4029
4034
|
minAspectRatio: C.string,
|
|
4030
4035
|
maxAspectRatio: C.string,
|
|
4031
4036
|
minDeviceAspectRatio: C.string,
|
|
@@ -4046,39 +4051,39 @@ const pe = C.oneOfType([C.string, C.number]), Dn = {
|
|
|
4046
4051
|
maxMonochrome: C.number,
|
|
4047
4052
|
minResolution: pe,
|
|
4048
4053
|
maxResolution: pe,
|
|
4049
|
-
...
|
|
4050
|
-
},
|
|
4051
|
-
var
|
|
4052
|
-
all:
|
|
4054
|
+
...br
|
|
4055
|
+
}, wr = { ...Dn, ...yr };
|
|
4056
|
+
var kr = {
|
|
4057
|
+
all: wr
|
|
4053
4058
|
};
|
|
4054
|
-
const
|
|
4059
|
+
const Cr = (e) => `not ${e}`, Tr = (e, t) => {
|
|
4055
4060
|
const n = Nn(e);
|
|
4056
|
-
return typeof t == "number" && (t = `${t}px`), t === !0 ? n : t === !1 ?
|
|
4057
|
-
},
|
|
4061
|
+
return typeof t == "number" && (t = `${t}px`), t === !0 ? n : t === !1 ? Cr(n) : `(${n}: ${t})`;
|
|
4062
|
+
}, Er = (e) => e.join(" and "), Sr = (e) => {
|
|
4058
4063
|
const t = [];
|
|
4059
|
-
return Object.keys(
|
|
4064
|
+
return Object.keys(kr.all).forEach((n) => {
|
|
4060
4065
|
const o = e[n];
|
|
4061
|
-
o != null && t.push(
|
|
4062
|
-
}),
|
|
4063
|
-
},
|
|
4066
|
+
o != null && t.push(Tr(n, o));
|
|
4067
|
+
}), Er(t);
|
|
4068
|
+
}, jr = cn(void 0), Ir = (e) => e.query || Sr(e), rn = (e) => e ? Object.keys(e).reduce((n, o) => (n[Nn(o)] = e[o], n), {}) : void 0, Rn = () => {
|
|
4064
4069
|
const e = Ce(!1);
|
|
4065
4070
|
return re(() => {
|
|
4066
4071
|
e.current = !0;
|
|
4067
4072
|
}, []), e.current;
|
|
4068
|
-
},
|
|
4069
|
-
const t = ln(
|
|
4073
|
+
}, Nr = (e) => {
|
|
4074
|
+
const t = ln(jr), n = () => rn(e) || rn(t), [o, a] = ce(n);
|
|
4070
4075
|
return re(() => {
|
|
4071
4076
|
const i = n();
|
|
4072
|
-
|
|
4077
|
+
gr(o, i) || a(i);
|
|
4073
4078
|
}, [e, t]), o;
|
|
4074
|
-
},
|
|
4075
|
-
const t = () =>
|
|
4079
|
+
}, Dr = (e) => {
|
|
4080
|
+
const t = () => Ir(e), [n, o] = ce(t);
|
|
4076
4081
|
return re(() => {
|
|
4077
4082
|
const a = t();
|
|
4078
4083
|
n !== a && o(a);
|
|
4079
4084
|
}, [e]), n;
|
|
4080
|
-
},
|
|
4081
|
-
const n = () =>
|
|
4085
|
+
}, Rr = (e, t) => {
|
|
4086
|
+
const n = () => fr(e, t || {}, !!t), [o, a] = ce(n), i = Rn();
|
|
4082
4087
|
return re(() => {
|
|
4083
4088
|
if (i) {
|
|
4084
4089
|
const r = n();
|
|
@@ -4087,7 +4092,7 @@ const yr = (e) => `not ${e}`, wr = (e, t) => {
|
|
|
4087
4092
|
};
|
|
4088
4093
|
}
|
|
4089
4094
|
}, [e, t]), o;
|
|
4090
|
-
},
|
|
4095
|
+
}, Ar = (e) => {
|
|
4091
4096
|
const [t, n] = ce(e.matches);
|
|
4092
4097
|
return re(() => {
|
|
4093
4098
|
const o = (a) => {
|
|
@@ -4098,15 +4103,15 @@ const yr = (e) => `not ${e}`, wr = (e, t) => {
|
|
|
4098
4103
|
};
|
|
4099
4104
|
}, [e]), t;
|
|
4100
4105
|
}, bt = (e, t, n) => {
|
|
4101
|
-
const o =
|
|
4106
|
+
const o = Nr(t), a = Dr(e);
|
|
4102
4107
|
if (!a)
|
|
4103
4108
|
throw new Error("Invalid or missing MediaQuery!");
|
|
4104
|
-
const i =
|
|
4109
|
+
const i = Rr(a, o), r = Ar(i);
|
|
4105
4110
|
return Rn(), re(() => {
|
|
4106
4111
|
}, [r]), re(() => () => {
|
|
4107
4112
|
i && i.dispose();
|
|
4108
4113
|
}, []), r;
|
|
4109
|
-
},
|
|
4114
|
+
}, Or = (e) => {
|
|
4110
4115
|
const { desktop: t, tablet: n, mobile: o } = e, a = bt(t), i = bt(n), r = bt(o);
|
|
4111
4116
|
return {
|
|
4112
4117
|
device: {
|
|
@@ -4115,8 +4120,8 @@ const yr = (e) => `not ${e}`, wr = (e, t) => {
|
|
|
4115
4120
|
isMobile: r
|
|
4116
4121
|
}
|
|
4117
4122
|
};
|
|
4118
|
-
},
|
|
4119
|
-
const { breakpoints: t, children: n } = e, { device: o } =
|
|
4123
|
+
}, Ss = (e) => {
|
|
4124
|
+
const { breakpoints: t, children: n } = e, { device: o } = Or(t);
|
|
4120
4125
|
return /* @__PURE__ */ l(
|
|
4121
4126
|
jn.Provider,
|
|
4122
4127
|
{
|
|
@@ -4126,20 +4131,20 @@ const yr = (e) => `not ${e}`, wr = (e, t) => {
|
|
|
4126
4131
|
children: n
|
|
4127
4132
|
}
|
|
4128
4133
|
);
|
|
4129
|
-
},
|
|
4130
|
-
spSelect:
|
|
4131
|
-
spSelect_error:
|
|
4132
|
-
spSelect__control:
|
|
4133
|
-
spSelect__value_empty:
|
|
4134
|
-
spSelect__icon:
|
|
4135
|
-
spSelect__container:
|
|
4136
|
-
spSelect__control_disabled:
|
|
4137
|
-
spSelect__value:
|
|
4138
|
-
spSelect__list:
|
|
4139
|
-
spSelect__list_scrollable:
|
|
4140
|
-
spSelect__option:
|
|
4141
|
-
spSelect__error:
|
|
4142
|
-
},
|
|
4134
|
+
}, Lr = 180, Pr = "_spSelect_p1q5p_43", Fr = "_spSelect_error_p1q5p_48", zr = "_spSelect__control_p1q5p_48", Mr = "_spSelect__value_empty_p1q5p_52", Br = "_spSelect__icon_p1q5p_55", Wr = "_spSelect__container_p1q5p_58", qr = "_spSelect__control_disabled_p1q5p_93", $r = "_spSelect__value_p1q5p_52", Hr = "_spSelect__list_p1q5p_127", Yr = "_spSelect__list_scrollable_p1q5p_134", Vr = "_spSelect__option_p1q5p_137", Ur = "_spSelect__error_p1q5p_155", ge = {
|
|
4135
|
+
spSelect: Pr,
|
|
4136
|
+
spSelect_error: Fr,
|
|
4137
|
+
spSelect__control: zr,
|
|
4138
|
+
spSelect__value_empty: Mr,
|
|
4139
|
+
spSelect__icon: Br,
|
|
4140
|
+
spSelect__container: Wr,
|
|
4141
|
+
spSelect__control_disabled: qr,
|
|
4142
|
+
spSelect__value: $r,
|
|
4143
|
+
spSelect__list: Hr,
|
|
4144
|
+
spSelect__list_scrollable: Yr,
|
|
4145
|
+
spSelect__option: Vr,
|
|
4146
|
+
spSelect__error: Ur
|
|
4147
|
+
}, js = (e) => {
|
|
4143
4148
|
const {
|
|
4144
4149
|
options: t,
|
|
4145
4150
|
placeholder: n = "Выберите из списка...",
|
|
@@ -4153,10 +4158,10 @@ const yr = (e) => `not ${e}`, wr = (e, t) => {
|
|
|
4153
4158
|
tooltipPosition: u,
|
|
4154
4159
|
disabled: c,
|
|
4155
4160
|
required: y,
|
|
4156
|
-
maxHeightList: w =
|
|
4161
|
+
maxHeightList: w = Lr,
|
|
4157
4162
|
isVisibleDefaultTitle: T = !0,
|
|
4158
4163
|
isScrollableList: k = !1,
|
|
4159
|
-
classNameRoot:
|
|
4164
|
+
classNameRoot: N,
|
|
4160
4165
|
classNameError: O,
|
|
4161
4166
|
classNameLabel: Y
|
|
4162
4167
|
} = e, [R, b] = ce(!1), p = Ce(null);
|
|
@@ -4174,13 +4179,13 @@ const yr = (e) => `not ${e}`, wr = (e, t) => {
|
|
|
4174
4179
|
}, X = v({
|
|
4175
4180
|
[ge.spSelect]: !0,
|
|
4176
4181
|
[ge.spSelect_error]: !!s,
|
|
4177
|
-
...
|
|
4182
|
+
...N && { [N]: !0 }
|
|
4178
4183
|
}), se = v({
|
|
4179
4184
|
[ge.spSelect__container]: !0
|
|
4180
4185
|
}), de = v({
|
|
4181
4186
|
[ge.spSelect__control]: !0,
|
|
4182
4187
|
[ge.spSelect__control_disabled]: c
|
|
4183
|
-
}),
|
|
4188
|
+
}), _e = v({
|
|
4184
4189
|
[ge.spSelect__value]: !0,
|
|
4185
4190
|
[ge.spSelect__value_empty]: !S
|
|
4186
4191
|
}), ne = v({
|
|
@@ -4214,9 +4219,9 @@ const yr = (e) => `not ${e}`, wr = (e, t) => {
|
|
|
4214
4219
|
className: de,
|
|
4215
4220
|
onClick: G,
|
|
4216
4221
|
children: [
|
|
4217
|
-
/* @__PURE__ */ l("div", { className:
|
|
4222
|
+
/* @__PURE__ */ l("div", { className: _e, children: (S == null ? void 0 : S.label) || n }),
|
|
4218
4223
|
/* @__PURE__ */ l(
|
|
4219
|
-
|
|
4224
|
+
ve,
|
|
4220
4225
|
{
|
|
4221
4226
|
name: ie.SelectChevronDown,
|
|
4222
4227
|
rotate: R ? 180 : void 0,
|
|
@@ -4242,7 +4247,7 @@ const yr = (e) => `not ${e}`, wr = (e, t) => {
|
|
|
4242
4247
|
onClick: (f) => z(f, ee.value),
|
|
4243
4248
|
children: [
|
|
4244
4249
|
ee.label,
|
|
4245
|
-
Q && /* @__PURE__ */ l(
|
|
4250
|
+
Q && /* @__PURE__ */ l(ve, { name: ie.Check, className: ne })
|
|
4246
4251
|
]
|
|
4247
4252
|
},
|
|
4248
4253
|
ee.value
|
|
@@ -4253,20 +4258,20 @@ const yr = (e) => `not ${e}`, wr = (e, t) => {
|
|
|
4253
4258
|
] }),
|
|
4254
4259
|
s && /* @__PURE__ */ l("div", { className: q, children: s })
|
|
4255
4260
|
] });
|
|
4256
|
-
},
|
|
4257
|
-
spTable:
|
|
4258
|
-
spTable__tdContentCopyIcon:
|
|
4259
|
-
spTable__tdContent:
|
|
4260
|
-
spTable__tdColorContent:
|
|
4261
|
-
spTable__tdContentCopyIcon_copied:
|
|
4262
|
-
spTable__emptyPage:
|
|
4263
|
-
spStringsGroup:
|
|
4264
|
-
spStringsGroup__groupItem:
|
|
4265
|
-
spStringsGroup__groupItemHeader:
|
|
4266
|
-
spStringsGroup__groupItemContent:
|
|
4267
|
-
spStringsGroup__groupItemContentCopyIcon:
|
|
4268
|
-
spStringsGroup__groupItemContentCopyIcon_copied:
|
|
4269
|
-
}, sn = (e) => e == null || e === "" ? !0 : typeof e != "string" && typeof e.toString != "function" ? !1 : e.toString().replace(/\s/g, "").length < 1,
|
|
4261
|
+
}, Gr = "_spTable_1vuaj_43", Kr = "_spTable__tdContentCopyIcon_1vuaj_62", Xr = "_spTable__tdContent_1vuaj_62", Zr = "_spTable__tdColorContent_1vuaj_72", Qr = "_spTable__tdContentCopyIcon_copied_1vuaj_85", Jr = "_spTable__emptyPage_1vuaj_89", es = "_spStringsGroup_1vuaj_105", ts = "_spStringsGroup__groupItem_1vuaj_119", ns = "_spStringsGroup__groupItemHeader_1vuaj_134", os = "_spStringsGroup__groupItemContent_1vuaj_138", as = "_spStringsGroup__groupItemContentCopyIcon_1vuaj_144", is = "_spStringsGroup__groupItemContentCopyIcon_copied_1vuaj_151", he = {
|
|
4262
|
+
spTable: Gr,
|
|
4263
|
+
spTable__tdContentCopyIcon: Kr,
|
|
4264
|
+
spTable__tdContent: Xr,
|
|
4265
|
+
spTable__tdColorContent: Zr,
|
|
4266
|
+
spTable__tdContentCopyIcon_copied: Qr,
|
|
4267
|
+
spTable__emptyPage: Jr,
|
|
4268
|
+
spStringsGroup: es,
|
|
4269
|
+
spStringsGroup__groupItem: ts,
|
|
4270
|
+
spStringsGroup__groupItemHeader: ns,
|
|
4271
|
+
spStringsGroup__groupItemContent: os,
|
|
4272
|
+
spStringsGroup__groupItemContentCopyIcon: as,
|
|
4273
|
+
spStringsGroup__groupItemContentCopyIcon_copied: is
|
|
4274
|
+
}, sn = (e) => e == null || e === "" ? !0 : typeof e != "string" && typeof e.toString != "function" ? !1 : e.toString().replace(/\s/g, "").length < 1, Is = (e) => {
|
|
4270
4275
|
const {
|
|
4271
4276
|
columns: t,
|
|
4272
4277
|
data: n,
|
|
@@ -4295,7 +4300,7 @@ const yr = (e) => `not ${e}`, wr = (e, t) => {
|
|
|
4295
4300
|
});
|
|
4296
4301
|
}, T = () => {
|
|
4297
4302
|
y(null);
|
|
4298
|
-
}, k = () => /* @__PURE__ */ l("div", { className: d, children: "Данные отсутствуют" }),
|
|
4303
|
+
}, k = () => /* @__PURE__ */ l("div", { className: d, children: "Данные отсутствуют" }), N = ({
|
|
4299
4304
|
row: b,
|
|
4300
4305
|
col: p
|
|
4301
4306
|
}) => {
|
|
@@ -4324,9 +4329,9 @@ const yr = (e) => `not ${e}`, wr = (e, t) => {
|
|
|
4324
4329
|
{
|
|
4325
4330
|
onMouseLeave: G ? T : void 0,
|
|
4326
4331
|
children: /* @__PURE__ */ H("div", { className: s, children: [
|
|
4327
|
-
/* @__PURE__ */ l("span", { children: S.isColorContentsCurlyBrackets ?
|
|
4332
|
+
/* @__PURE__ */ l("span", { children: S.isColorContentsCurlyBrackets ? N({ row: b, col: S }) : b[S.key] }),
|
|
4328
4333
|
!sn(b[S.key]) && S.isBeCopiedValue && /* @__PURE__ */ l(
|
|
4329
|
-
|
|
4334
|
+
ve,
|
|
4330
4335
|
{
|
|
4331
4336
|
className: v({
|
|
4332
4337
|
[he.spTable__tdContentCopyIcon]: !0,
|
|
@@ -4385,7 +4390,7 @@ const yr = (e) => `not ${e}`, wr = (e, t) => {
|
|
|
4385
4390
|
children: [
|
|
4386
4391
|
/* @__PURE__ */ l("span", { children: b[S.key] }),
|
|
4387
4392
|
S.isBeCopiedValue && /* @__PURE__ */ l(
|
|
4388
|
-
|
|
4393
|
+
ve,
|
|
4389
4394
|
{
|
|
4390
4395
|
className: v({
|
|
4391
4396
|
[he.spStringsGroup__groupItemContentCopyIcon]: !0,
|
|
@@ -4414,14 +4419,14 @@ const yr = (e) => `not ${e}`, wr = (e, t) => {
|
|
|
4414
4419
|
}
|
|
4415
4420
|
) : k();
|
|
4416
4421
|
return o ? u ? O() : Y() : O();
|
|
4417
|
-
},
|
|
4418
|
-
spTabs:
|
|
4419
|
-
spTabs_separated:
|
|
4420
|
-
spTabs__tabElement:
|
|
4421
|
-
spTabs__tabElement_active:
|
|
4422
|
-
spTabs__triggerTooltip:
|
|
4423
|
-
spTabs__tabElement_separated:
|
|
4424
|
-
},
|
|
4422
|
+
}, rs = "_spTabs_1guzj_43", ss = "_spTabs_separated_1guzj_50", ps = "_spTabs__tabElement_1guzj_54", cs = "_spTabs__tabElement_active_1guzj_71", ls = "_spTabs__triggerTooltip_1guzj_78", ds = "_spTabs__tabElement_separated_1guzj_81", Oe = {
|
|
4423
|
+
spTabs: rs,
|
|
4424
|
+
spTabs_separated: ss,
|
|
4425
|
+
spTabs__tabElement: ps,
|
|
4426
|
+
spTabs__tabElement_active: cs,
|
|
4427
|
+
spTabs__triggerTooltip: ls,
|
|
4428
|
+
spTabs__tabElement_separated: ds
|
|
4429
|
+
}, Ns = (e) => {
|
|
4425
4430
|
const { panes: t, isSeparated: n = !1, classNameRoot: o } = e, a = v({
|
|
4426
4431
|
[Oe.spTabs]: !0,
|
|
4427
4432
|
[Oe.spTabs_separated]: n,
|
|
@@ -4454,45 +4459,45 @@ const yr = (e) => `not ${e}`, wr = (e, t) => {
|
|
|
4454
4459
|
r.key || s
|
|
4455
4460
|
);
|
|
4456
4461
|
}) });
|
|
4457
|
-
},
|
|
4458
|
-
spTextWithLabel:
|
|
4459
|
-
},
|
|
4462
|
+
}, us = "_spTextWithLabel_1dr7p_1", ms = {
|
|
4463
|
+
spTextWithLabel: us
|
|
4464
|
+
}, Ds = (e) => {
|
|
4460
4465
|
const { children: t, label: n, style: o, ...a } = e;
|
|
4461
|
-
return /* @__PURE__ */ H("div", { className:
|
|
4466
|
+
return /* @__PURE__ */ H("div", { className: ms.spTextWithLabel, style: { ...o }, children: [
|
|
4462
4467
|
/* @__PURE__ */ l(Nt, { label: n }),
|
|
4463
4468
|
/* @__PURE__ */ l(Te, { ...a, children: t })
|
|
4464
4469
|
] });
|
|
4465
4470
|
};
|
|
4466
4471
|
export {
|
|
4467
|
-
|
|
4468
|
-
|
|
4472
|
+
xs as Accordion,
|
|
4473
|
+
Po as ApplyButtons,
|
|
4469
4474
|
un as BaseTooltip,
|
|
4470
4475
|
yt as Button,
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
-
|
|
4476
|
+
gs as Checkbox,
|
|
4477
|
+
bs as Confirm,
|
|
4478
|
+
ys as ContextMenu,
|
|
4479
|
+
hi as DefaultDropzone,
|
|
4480
|
+
ws as Dropdown,
|
|
4476
4481
|
ie as EIconName,
|
|
4477
4482
|
ae as ETooltipPosition,
|
|
4478
|
-
|
|
4479
|
-
|
|
4480
|
-
|
|
4483
|
+
ks as EllipsisTextWithTooltip,
|
|
4484
|
+
Cs as Form,
|
|
4485
|
+
ve as Icon,
|
|
4481
4486
|
Qe as InfoTooltip,
|
|
4482
|
-
|
|
4483
|
-
|
|
4487
|
+
Yi as Input,
|
|
4488
|
+
Ts as InputFiles,
|
|
4484
4489
|
Nt as Label,
|
|
4485
|
-
|
|
4490
|
+
ea as Layer,
|
|
4486
4491
|
jn as MediaContext,
|
|
4487
|
-
|
|
4488
|
-
|
|
4492
|
+
Ss as MediaContextProvider,
|
|
4493
|
+
ua as Modal,
|
|
4489
4494
|
mn as Portal,
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4495
|
+
js as Select,
|
|
4496
|
+
ho as Spinner,
|
|
4497
|
+
Is as Table,
|
|
4498
|
+
Ns as Tabs,
|
|
4494
4499
|
Te as Text,
|
|
4495
|
-
|
|
4500
|
+
Ds as TextWithLabel,
|
|
4496
4501
|
jt as Tooltip,
|
|
4497
|
-
|
|
4502
|
+
hs as useModal
|
|
4498
4503
|
};
|