test-stpr-ui-kit 0.4.27 → 0.4.30
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.es.d.ts +1 -0
- package/dist/test-stpr-ui-kit.js +331 -332
- package/dist/test-stpr-ui-kit.umd.cjs +10 -10
- package/package.json +1 -1
package/dist/test-stpr-ui-kit.js
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import { jsxs as Y, jsx as l, Fragment as cn } from "react/jsx-runtime";
|
|
2
2
|
import * as I from "react";
|
|
3
|
-
import We, { useState as ce, useEffect as ae, useRef as Te, useCallback as de, forwardRef as
|
|
4
|
-
import
|
|
5
|
-
import './test-stpr-ui-kit.css';function
|
|
3
|
+
import We, { useState as ce, useEffect as ae, useRef as Te, useCallback as de, forwardRef as Pn, useImperativeHandle as Fn, Fragment as zn, useMemo as Oe, useReducer as Bn, createContext as ln, useContext as Mn } from "react";
|
|
4
|
+
import Wn from "react-dom";
|
|
5
|
+
import './test-stpr-ui-kit.css';function dn(e) {
|
|
6
6
|
var t, n, o = "";
|
|
7
7
|
if (typeof e == "string" || typeof e == "number") o += e;
|
|
8
8
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
9
9
|
var a = e.length;
|
|
10
|
-
for (t = 0; t < a; t++) e[t] && (n =
|
|
10
|
+
for (t = 0; t < a; t++) e[t] && (n = dn(e[t])) && (o && (o += " "), o += n);
|
|
11
11
|
} else for (n in e) e[n] && (o && (o += " "), o += n);
|
|
12
12
|
return o;
|
|
13
13
|
}
|
|
14
14
|
function _() {
|
|
15
|
-
for (var e, t, n = 0, o = "", a = arguments.length; n < a; n++) (e = arguments[n]) && (t =
|
|
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
|
|
18
|
+
const $n = (e) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ I.createElement("path", { d: "M20 7L9 18L4 13", stroke: "currentColor", strokeWidth: 2 })), qn = (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" })), ge = (e) => {
|
|
19
19
|
const { name: t, rotate: n, ...o } = e, a = {
|
|
20
20
|
...o.style,
|
|
21
21
|
flexShrink: 0,
|
|
22
22
|
transform: n ? `rotate(${n}deg)` : ""
|
|
23
23
|
}, i = {
|
|
24
|
-
chevronDown:
|
|
25
|
-
info:
|
|
26
|
-
plus:
|
|
27
|
-
minus:
|
|
28
|
-
selectChevronDown:
|
|
29
|
-
upload:
|
|
30
|
-
trash:
|
|
31
|
-
check:
|
|
32
|
-
copy:
|
|
33
|
-
close:
|
|
34
|
-
plusSquare:
|
|
35
|
-
warningColor:
|
|
36
|
-
dots:
|
|
37
|
-
historyClock:
|
|
38
|
-
plusCircle:
|
|
24
|
+
chevronDown: qn,
|
|
25
|
+
info: Gn,
|
|
26
|
+
plus: Xn,
|
|
27
|
+
minus: Kn,
|
|
28
|
+
selectChevronDown: Jn,
|
|
29
|
+
upload: to,
|
|
30
|
+
trash: eo,
|
|
31
|
+
check: $n,
|
|
32
|
+
copy: Yn,
|
|
33
|
+
close: Hn,
|
|
34
|
+
plusSquare: Qn,
|
|
35
|
+
warningColor: no,
|
|
36
|
+
dots: Vn,
|
|
37
|
+
historyClock: Un,
|
|
38
|
+
plusCircle: Zn
|
|
39
39
|
};
|
|
40
40
|
return We.createElement(i[t], {
|
|
41
41
|
...o,
|
|
@@ -43,24 +43,24 @@ const qn = (e) => /* @__PURE__ */ I.createElement("svg", { className: "stpr-icon
|
|
|
43
43
|
});
|
|
44
44
|
};
|
|
45
45
|
var se = /* @__PURE__ */ ((e) => (e.ChevronDown = "chevronDown", e.Info = "info", e.Plus = "plus", e.SelectChevronDown = "selectChevronDown", e.Upload = "upload", e.Trash = "trash", e.Check = "check", e.Copy = "copy", e.Close = "close", e.PlusSquare = "plusSquare", e.PlusCircle = "plusCircle", e.WarningColor = "warningColor", e.Dots = "dots", e.HistoryClock = "historyClock", e.Minus = "minus", e))(se || {});
|
|
46
|
-
const
|
|
47
|
-
spAccordion:
|
|
48
|
-
spAccordion_noBorder:
|
|
49
|
-
spAccordion_noPadding:
|
|
50
|
-
spAccordion_open:
|
|
51
|
-
spAccordion__header:
|
|
52
|
-
spAccordion_noOpen:
|
|
53
|
-
spAccordion__name:
|
|
54
|
-
spAccordion__name_hiddenExpand:
|
|
46
|
+
const oo = "_spAccordion_11ek7_43", ao = "_spAccordion_noBorder_11ek7_57", io = "_spAccordion_noPadding_11ek7_60", ro = "_spAccordion_open_11ek7_63", so = "_spAccordion__header_11ek7_66", po = "_spAccordion_noOpen_11ek7_74", co = "_spAccordion__name_11ek7_96", lo = "_spAccordion__name_hiddenExpand_11ek7_107", uo = "_spAccordion__icon_11ek7_122", mo = "_spAccordion__icon_hidden_11ek7_128", fo = "_spAccordion__icon_open_11ek7_131", _o = "_spAccordion__childrenWrapper_11ek7_138", vo = "_spAccordion__childrenWrapper_open_11ek7_147", xo = "_spAccordion__content_11ek7_150", go = "_spAccordion__content_open_11ek7_156", ie = {
|
|
47
|
+
spAccordion: oo,
|
|
48
|
+
spAccordion_noBorder: ao,
|
|
49
|
+
spAccordion_noPadding: io,
|
|
50
|
+
spAccordion_open: ro,
|
|
51
|
+
spAccordion__header: so,
|
|
52
|
+
spAccordion_noOpen: po,
|
|
53
|
+
spAccordion__name: co,
|
|
54
|
+
spAccordion__name_hiddenExpand: lo,
|
|
55
55
|
"spAccordion__name--level-1": "_spAccordion__name--level-1_11ek7_111",
|
|
56
56
|
"spAccordion__name--level-2": "_spAccordion__name--level-2_11ek7_114",
|
|
57
|
-
spAccordion__icon:
|
|
58
|
-
spAccordion__icon_hidden:
|
|
59
|
-
spAccordion__icon_open:
|
|
60
|
-
spAccordion__childrenWrapper:
|
|
61
|
-
spAccordion__childrenWrapper_open:
|
|
62
|
-
spAccordion__content:
|
|
63
|
-
spAccordion__content_open:
|
|
57
|
+
spAccordion__icon: uo,
|
|
58
|
+
spAccordion__icon_hidden: mo,
|
|
59
|
+
spAccordion__icon_open: fo,
|
|
60
|
+
spAccordion__childrenWrapper: _o,
|
|
61
|
+
spAccordion__childrenWrapper_open: vo,
|
|
62
|
+
spAccordion__content: xo,
|
|
63
|
+
spAccordion__content_open: go
|
|
64
64
|
}, Ss = (e) => {
|
|
65
65
|
const {
|
|
66
66
|
name: t,
|
|
@@ -113,15 +113,15 @@ const ao = "_spAccordion_11ek7_43", io = "_spAccordion_noBorder_11ek7_57", ro =
|
|
|
113
113
|
] }),
|
|
114
114
|
/* @__PURE__ */ l("div", { className: p, children: /* @__PURE__ */ l("div", { className: C, children: n }) })
|
|
115
115
|
] });
|
|
116
|
-
},
|
|
117
|
-
spinner:
|
|
118
|
-
spinner__inner:
|
|
116
|
+
}, ho = "_spinner_f5rd2_43", bo = "_spinner__inner_f5rd2_53", pt = {
|
|
117
|
+
spinner: ho,
|
|
118
|
+
spinner__inner: bo,
|
|
119
119
|
"spinner-rotate": "_spinner-rotate_f5rd2_1",
|
|
120
120
|
"spinner--sm": "_spinner--sm_f5rd2_66",
|
|
121
121
|
"spinner--md": "_spinner--md_f5rd2_70",
|
|
122
122
|
"spinner--lg": "_spinner--lg_f5rd2_73",
|
|
123
123
|
"spinner--xl": "_spinner--xl_f5rd2_77"
|
|
124
|
-
},
|
|
124
|
+
}, yo = (e) => {
|
|
125
125
|
const { size: t = "md", color: n = "#036bfd", classNameRoot: o } = e;
|
|
126
126
|
return /* @__PURE__ */ l(
|
|
127
127
|
"div",
|
|
@@ -133,20 +133,20 @@ const ao = "_spAccordion_11ek7_43", io = "_spAccordion_noBorder_11ek7_57", ro =
|
|
|
133
133
|
children: /* @__PURE__ */ l("div", { className: pt.spinner__inner })
|
|
134
134
|
}
|
|
135
135
|
);
|
|
136
|
-
},
|
|
137
|
-
spButton:
|
|
138
|
-
spButton_noPadding:
|
|
139
|
-
spButton_onlyIcon:
|
|
140
|
-
spButton__iconContainer:
|
|
141
|
-
spButton_link:
|
|
142
|
-
spButton__text:
|
|
143
|
-
spButton_primary:
|
|
144
|
-
spButton_blue:
|
|
145
|
-
spButton_white:
|
|
146
|
-
spButton_secondary:
|
|
147
|
-
spButton_fullWidth:
|
|
148
|
-
spButton_disabled:
|
|
149
|
-
spButton__spinner:
|
|
136
|
+
}, wo = "_spButton_zixup_43", ko = "_spButton_noPadding_zixup_59", Co = "_spButton_onlyIcon_zixup_62", To = "_spButton__iconContainer_zixup_70", Eo = "_spButton_link_zixup_73", So = "_spButton__text_zixup_77", No = "_spButton_primary_zixup_89", Io = "_spButton_blue_zixup_89", jo = "_spButton_white_zixup_99", Ro = "_spButton_secondary_zixup_109", Ao = "_spButton_fullWidth_zixup_129", Do = "_spButton_disabled_zixup_132", Oo = "_spButton__spinner_zixup_141", be = {
|
|
137
|
+
spButton: wo,
|
|
138
|
+
spButton_noPadding: ko,
|
|
139
|
+
spButton_onlyIcon: Co,
|
|
140
|
+
spButton__iconContainer: To,
|
|
141
|
+
spButton_link: Eo,
|
|
142
|
+
spButton__text: So,
|
|
143
|
+
spButton_primary: No,
|
|
144
|
+
spButton_blue: Io,
|
|
145
|
+
spButton_white: jo,
|
|
146
|
+
spButton_secondary: Ro,
|
|
147
|
+
spButton_fullWidth: Ao,
|
|
148
|
+
spButton_disabled: Do,
|
|
149
|
+
spButton__spinner: Oo
|
|
150
150
|
}, yt = (e) => {
|
|
151
151
|
const {
|
|
152
152
|
color: t = "blue",
|
|
@@ -175,7 +175,7 @@ const ao = "_spAccordion_11ek7_43", io = "_spAccordion_noBorder_11ek7_57", ro =
|
|
|
175
175
|
...j && { [j]: !0 }
|
|
176
176
|
});
|
|
177
177
|
return /* @__PURE__ */ Y(cn, { children: [
|
|
178
|
-
(i || d) && /* @__PURE__ */ l("div", { className: p, children: d ? /* @__PURE__ */ l(
|
|
178
|
+
(i || d) && /* @__PURE__ */ l("div", { className: p, children: d ? /* @__PURE__ */ l(yo, { classNameRoot: be.spButton__spinner }) : i && /* @__PURE__ */ l(ge, { name: i, rotate: r }) }),
|
|
179
179
|
!w && u && /* @__PURE__ */ l("div", { className: y, children: u })
|
|
180
180
|
] });
|
|
181
181
|
}, A = _({
|
|
@@ -201,15 +201,15 @@ const ao = "_spAccordion_11ek7_43", io = "_spAccordion_noBorder_11ek7_57", ro =
|
|
|
201
201
|
children: V()
|
|
202
202
|
}
|
|
203
203
|
);
|
|
204
|
-
},
|
|
205
|
-
spApplyButtons:
|
|
204
|
+
}, Lo = "_spApplyButtons_e8c1h_43", Po = "_spApplyButtons__cancel_e8c1h_65", Fo = "_spApplyButtons__submit_e8c1h_68", ze = {
|
|
205
|
+
spApplyButtons: Lo,
|
|
206
206
|
"spApplyButtons_align-right": "_spApplyButtons_align-right_e8c1h_48",
|
|
207
207
|
"spApplyButtons_align-left": "_spApplyButtons_align-left_e8c1h_51",
|
|
208
208
|
"spApplyButtons_align-center": "_spApplyButtons_align-center_e8c1h_54",
|
|
209
209
|
"spApplyButtons_mobile-column": "_spApplyButtons_mobile-column_e8c1h_57",
|
|
210
|
-
spApplyButtons__cancel:
|
|
211
|
-
spApplyButtons__submit:
|
|
212
|
-
},
|
|
210
|
+
spApplyButtons__cancel: Po,
|
|
211
|
+
spApplyButtons__submit: Fo
|
|
212
|
+
}, zo = (e) => {
|
|
213
213
|
const {
|
|
214
214
|
mobile: t = "column",
|
|
215
215
|
align: n = "center",
|
|
@@ -258,11 +258,11 @@ const ao = "_spAccordion_11ek7_43", io = "_spAccordion_noBorder_11ek7_57", ro =
|
|
|
258
258
|
}
|
|
259
259
|
)
|
|
260
260
|
] });
|
|
261
|
-
},
|
|
262
|
-
spBaseTooltip:
|
|
263
|
-
spBaseTooltip_noPadding:
|
|
264
|
-
spBaseTooltip__content:
|
|
265
|
-
},
|
|
261
|
+
}, Bo = "_spBaseTooltip_z1ltl_43", Mo = "_spBaseTooltip_noPadding_z1ltl_71", Wo = "_spBaseTooltip__content_z1ltl_74", ct = {
|
|
262
|
+
spBaseTooltip: Bo,
|
|
263
|
+
spBaseTooltip_noPadding: Mo,
|
|
264
|
+
spBaseTooltip__content: Wo
|
|
265
|
+
}, un = We.forwardRef((e, t) => {
|
|
266
266
|
const {
|
|
267
267
|
text: n,
|
|
268
268
|
noPadding: o = !1,
|
|
@@ -279,8 +279,8 @@ const ao = "_spAccordion_11ek7_43", io = "_spAccordion_noBorder_11ek7_57", ro =
|
|
|
279
279
|
});
|
|
280
280
|
return /* @__PURE__ */ l("div", { className: s, ref: t, style: a, children: /* @__PURE__ */ l("div", { className: f, children: n }) });
|
|
281
281
|
});
|
|
282
|
-
|
|
283
|
-
function
|
|
282
|
+
un.displayName = "BaseTooltip";
|
|
283
|
+
function mn(e, t, n = !0) {
|
|
284
284
|
ae(() => {
|
|
285
285
|
if (!n) return;
|
|
286
286
|
const o = (a) => {
|
|
@@ -291,7 +291,7 @@ function fn(e, t, n = !0) {
|
|
|
291
291
|
};
|
|
292
292
|
}, [e, t, n]);
|
|
293
293
|
}
|
|
294
|
-
const
|
|
294
|
+
const fn = ({ children: e, node: t, classNameRoot: n }) => {
|
|
295
295
|
const [o, a] = ce(null);
|
|
296
296
|
return ae(() => {
|
|
297
297
|
if (t) {
|
|
@@ -302,10 +302,10 @@ const _n = ({ children: e, node: t, classNameRoot: n }) => {
|
|
|
302
302
|
return n && (i.className = n), document.body.appendChild(i), a(i), () => {
|
|
303
303
|
t || document.body.removeChild(i);
|
|
304
304
|
};
|
|
305
|
-
}, [t, n]), o ?
|
|
306
|
-
},
|
|
307
|
-
spTooltip:
|
|
308
|
-
spTooltip__trigger:
|
|
305
|
+
}, [t, n]), o ? Wn.createPortal(e, o) : null;
|
|
306
|
+
}, $o = "_spTooltip_9ogwj_43", qo = "_spTooltip__trigger_9ogwj_46", Dt = {
|
|
307
|
+
spTooltip: $o,
|
|
308
|
+
spTooltip__trigger: qo
|
|
309
309
|
};
|
|
310
310
|
var re = /* @__PURE__ */ ((e) => (e.Top = "top", e.TopLeft = "top-left", e.TopRight = "top-right", e.Bottom = "bottom", e.BottomLeft = "bottom-left", e.BottomRight = "bottom-right", e.Left = "left", e.LeftTop = "left-top", e.LeftBottom = "left-bottom", e.Right = "right", e.RightTop = "right-top", e.RightBottom = "right-bottom", e))(re || {});
|
|
311
311
|
const Nt = (e) => {
|
|
@@ -325,7 +325,7 @@ const Nt = (e) => {
|
|
|
325
325
|
classNameBaseTooltipRoot: w,
|
|
326
326
|
classNameBaseTooltipContentRoot: E
|
|
327
327
|
} = e, [b, j] = ce(!1), O = Te(null), V = Te(null), [A, y] = ce(!1);
|
|
328
|
-
|
|
328
|
+
mn(
|
|
329
329
|
[O, V],
|
|
330
330
|
() => {
|
|
331
331
|
s && s(), j(!1);
|
|
@@ -419,8 +419,8 @@ const Nt = (e) => {
|
|
|
419
419
|
onMouseLeave: () => t && J(!1),
|
|
420
420
|
children: [
|
|
421
421
|
/* @__PURE__ */ l("div", { ref: O, className: X, children: i }),
|
|
422
|
-
a && /* @__PURE__ */ l(
|
|
423
|
-
|
|
422
|
+
a && /* @__PURE__ */ l(fn, { node: Z, children: /* @__PURE__ */ l(
|
|
423
|
+
un,
|
|
424
424
|
{
|
|
425
425
|
style: C,
|
|
426
426
|
ref: V,
|
|
@@ -433,19 +433,19 @@ const Nt = (e) => {
|
|
|
433
433
|
]
|
|
434
434
|
}
|
|
435
435
|
);
|
|
436
|
-
}, Qe = (e) => /* @__PURE__ */ l(Nt, { ...e, hover: !0, trigger: /* @__PURE__ */ l(ge, { name: se.Info }) }),
|
|
437
|
-
spCheckbox:
|
|
438
|
-
spCheckbox__control:
|
|
439
|
-
spCheckbox__label:
|
|
440
|
-
spCheckbox__box:
|
|
436
|
+
}, Qe = (e) => /* @__PURE__ */ l(Nt, { ...e, hover: !0, trigger: /* @__PURE__ */ l(ge, { name: se.Info }) }), Ho = "_spCheckbox_uc4g8_43", Yo = "_spCheckbox__control_uc4g8_49", Vo = "_spCheckbox__label_uc4g8_52", Uo = "_spCheckbox__box_uc4g8_63", Go = "_spCheckbox__box_checked_uc4g8_90", Ko = "_spCheckbox__box_disabled_uc4g8_100", Xo = "_spCheckbox__box_error_uc4g8_111", Zo = "_spCheckbox__tooltip_uc4g8_114", Qo = "_spCheckbox__required_uc4g8_119", Jo = "_spCheckbox__error_uc4g8_125", ye = {
|
|
437
|
+
spCheckbox: Ho,
|
|
438
|
+
spCheckbox__control: Yo,
|
|
439
|
+
spCheckbox__label: Vo,
|
|
440
|
+
spCheckbox__box: Uo,
|
|
441
441
|
"spCheckbox__box--size-lg": "_spCheckbox__box--size-lg_uc4g8_68",
|
|
442
442
|
"spCheckbox__box--size-md": "_spCheckbox__box--size-md_uc4g8_73",
|
|
443
|
-
spCheckbox__box_checked:
|
|
444
|
-
spCheckbox__box_disabled:
|
|
445
|
-
spCheckbox__box_error:
|
|
446
|
-
spCheckbox__tooltip:
|
|
447
|
-
spCheckbox__required:
|
|
448
|
-
spCheckbox__error:
|
|
443
|
+
spCheckbox__box_checked: Go,
|
|
444
|
+
spCheckbox__box_disabled: Ko,
|
|
445
|
+
spCheckbox__box_error: Xo,
|
|
446
|
+
spCheckbox__tooltip: Zo,
|
|
447
|
+
spCheckbox__required: Qo,
|
|
448
|
+
spCheckbox__error: Jo
|
|
449
449
|
}, Ns = (e) => {
|
|
450
450
|
const {
|
|
451
451
|
size: t = "lg",
|
|
@@ -514,10 +514,10 @@ const Nt = (e) => {
|
|
|
514
514
|
o(null);
|
|
515
515
|
}
|
|
516
516
|
};
|
|
517
|
-
},
|
|
518
|
-
layer:
|
|
519
|
-
layer_hidden:
|
|
520
|
-
},
|
|
517
|
+
}, ea = "_layer_14g8d_43", ta = "_layer_hidden_14g8d_65", Ot = {
|
|
518
|
+
layer: ea,
|
|
519
|
+
layer_hidden: ta
|
|
520
|
+
}, na = (e) => {
|
|
521
521
|
const {
|
|
522
522
|
children: t,
|
|
523
523
|
zIndex: n = "9999",
|
|
@@ -528,17 +528,17 @@ const Nt = (e) => {
|
|
|
528
528
|
[Ot.layer_hidden]: o,
|
|
529
529
|
...a && { [a]: !0 }
|
|
530
530
|
});
|
|
531
|
-
return /* @__PURE__ */ l(
|
|
532
|
-
},
|
|
533
|
-
spText:
|
|
534
|
-
spText_ellipsis:
|
|
531
|
+
return /* @__PURE__ */ l(fn, { node: i, children: /* @__PURE__ */ l("div", { style: { zIndex: n }, className: r, children: t }) });
|
|
532
|
+
}, oa = "_spText_1gech_43", aa = "_spText_ellipsis_1gech_56", ia = "_spText_cursorPointer_1gech_113", Ye = {
|
|
533
|
+
spText: oa,
|
|
534
|
+
spText_ellipsis: aa,
|
|
535
535
|
"spText_type-h1": "_spText_type-h1_1gech_62",
|
|
536
536
|
"spText_type-h3": "_spText_type-h3_1gech_72",
|
|
537
537
|
"spText_type-p1": "_spText_type-p1_1gech_83",
|
|
538
538
|
"spText_type-p2": "_spText_type-p2_1gech_88",
|
|
539
539
|
"spText_type-description": "_spText_type-description_1gech_92",
|
|
540
540
|
"spText_type-link": "_spText_type-link_1gech_100",
|
|
541
|
-
spText_cursorPointer:
|
|
541
|
+
spText_cursorPointer: ia
|
|
542
542
|
}, Se = We.forwardRef((e, t) => {
|
|
543
543
|
const {
|
|
544
544
|
type: n,
|
|
@@ -571,18 +571,18 @@ const Nt = (e) => {
|
|
|
571
571
|
);
|
|
572
572
|
});
|
|
573
573
|
Se.displayName = "Text";
|
|
574
|
-
const
|
|
575
|
-
modalWrapper:
|
|
574
|
+
const ra = "_modalWrapper_ah6vq_43", sa = "_modalWrapper__modal_ah6vq_54", pa = "_modalWrapper__content_ah6vq_77", ca = "_modalWrapper__header_ah6vq_80", la = "_modalWrapper__subHeader_ah6vq_88", da = "_modalWrapper__footer_ah6vq_96", ua = "_modalWrapper__closeButton_ah6vq_99", ma = "_modalWrapper__closeButtonIconContainer_ah6vq_113", ke = {
|
|
575
|
+
modalWrapper: ra,
|
|
576
576
|
"modalWrapper_align-top": "_modalWrapper_align-top_ah6vq_48",
|
|
577
577
|
"modalWrapper_align-center": "_modalWrapper_align-center_ah6vq_51",
|
|
578
|
-
modalWrapper__modal:
|
|
579
|
-
modalWrapper__content:
|
|
580
|
-
modalWrapper__header:
|
|
581
|
-
modalWrapper__subHeader:
|
|
582
|
-
modalWrapper__footer:
|
|
583
|
-
modalWrapper__closeButton:
|
|
584
|
-
modalWrapper__closeButtonIconContainer:
|
|
585
|
-
},
|
|
578
|
+
modalWrapper__modal: sa,
|
|
579
|
+
modalWrapper__content: pa,
|
|
580
|
+
modalWrapper__header: ca,
|
|
581
|
+
modalWrapper__subHeader: la,
|
|
582
|
+
modalWrapper__footer: da,
|
|
583
|
+
modalWrapper__closeButton: ua,
|
|
584
|
+
modalWrapper__closeButtonIconContainer: ma
|
|
585
|
+
}, fa = (e) => {
|
|
586
586
|
const {
|
|
587
587
|
zIndex: t,
|
|
588
588
|
isHiddenModal: n = !1,
|
|
@@ -620,7 +620,7 @@ const sa = "_modalWrapper_ah6vq_43", pa = "_modalWrapper__modal_ah6vq_54", ca =
|
|
|
620
620
|
return C.style.position = "fixed", C.style.top = `-${p}px`, C.style.left = "0", C.style.right = "0", C.style.overflow = "hidden", () => {
|
|
621
621
|
C.style.position = "", C.style.top = "", C.style.left = "", C.style.right = "", C.style.overflow = "", window.scrollTo(0, p);
|
|
622
622
|
};
|
|
623
|
-
}, []), /* @__PURE__ */ l(
|
|
623
|
+
}, []), /* @__PURE__ */ l(na, { zIndex: t, isHiddenModal: n, classNameRoot: i, children: /* @__PURE__ */ l("div", { className: w, children: /* @__PURE__ */ Y("div", { className: E, style: s, children: [
|
|
624
624
|
(u || d) && /* @__PURE__ */ Y("div", { className: V, children: [
|
|
625
625
|
typeof u == "string" ? /* @__PURE__ */ l(Se, { type: "h3", children: u }) : u,
|
|
626
626
|
d && /* @__PURE__ */ l("div", { className: A, children: typeof d == "string" ? /* @__PURE__ */ l(Se, { children: d }) : d })
|
|
@@ -659,7 +659,7 @@ const sa = "_modalWrapper_ah6vq_43", pa = "_modalWrapper__modal_ah6vq_54", ca =
|
|
|
659
659
|
loading: b
|
|
660
660
|
} = e;
|
|
661
661
|
return /* @__PURE__ */ l(
|
|
662
|
-
|
|
662
|
+
fa,
|
|
663
663
|
{
|
|
664
664
|
zIndex: t,
|
|
665
665
|
header: n,
|
|
@@ -667,7 +667,7 @@ const sa = "_modalWrapper_ah6vq_43", pa = "_modalWrapper__modal_ah6vq_54", ca =
|
|
|
667
667
|
align: E,
|
|
668
668
|
subHeader: o,
|
|
669
669
|
footer: a || s ? /* @__PURE__ */ l(
|
|
670
|
-
|
|
670
|
+
zo,
|
|
671
671
|
{
|
|
672
672
|
mobile: h,
|
|
673
673
|
align: w,
|
|
@@ -684,10 +684,10 @@ const sa = "_modalWrapper_ah6vq_43", pa = "_modalWrapper__modal_ah6vq_54", ca =
|
|
|
684
684
|
) : null
|
|
685
685
|
}
|
|
686
686
|
);
|
|
687
|
-
},
|
|
688
|
-
spContextMenu:
|
|
689
|
-
spContextMenu__item:
|
|
690
|
-
spContextMenu__item_deleteItem:
|
|
687
|
+
}, _a = "_spContextMenu_kdyu_43", va = "_spContextMenu__item_kdyu_55", xa = "_spContextMenu__item_deleteItem_kdyu_73", lt = {
|
|
688
|
+
spContextMenu: _a,
|
|
689
|
+
spContextMenu__item: va,
|
|
690
|
+
spContextMenu__item_deleteItem: xa
|
|
691
691
|
}, Rs = (e) => {
|
|
692
692
|
const { onClickItem: t, options: n, classNameRoot: o } = e, a = _({
|
|
693
693
|
[lt.spContextMenu]: !0,
|
|
@@ -714,7 +714,7 @@ const sa = "_modalWrapper_ah6vq_43", pa = "_modalWrapper__modal_ah6vq_54", ca =
|
|
|
714
714
|
);
|
|
715
715
|
}) });
|
|
716
716
|
};
|
|
717
|
-
function
|
|
717
|
+
function _n(e) {
|
|
718
718
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
719
719
|
}
|
|
720
720
|
var wt = { exports: {} }, Ve = { exports: {} }, U = {};
|
|
@@ -727,7 +727,7 @@ var wt = { exports: {} }, Ve = { exports: {} }, U = {};
|
|
|
727
727
|
* LICENSE file in the root directory of this source tree.
|
|
728
728
|
*/
|
|
729
729
|
var Lt;
|
|
730
|
-
function
|
|
730
|
+
function ga() {
|
|
731
731
|
if (Lt) return U;
|
|
732
732
|
Lt = 1;
|
|
733
733
|
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, w = e ? Symbol.for("react.memo") : 60115, E = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, j = e ? Symbol.for("react.fundamental") : 60117, O = e ? Symbol.for("react.responder") : 60118, V = e ? Symbol.for("react.scope") : 60119;
|
|
@@ -802,7 +802,7 @@ var G = {};
|
|
|
802
802
|
* LICENSE file in the root directory of this source tree.
|
|
803
803
|
*/
|
|
804
804
|
var Pt;
|
|
805
|
-
function
|
|
805
|
+
function ha() {
|
|
806
806
|
return Pt || (Pt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
807
807
|
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, f = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, w = e ? Symbol.for("react.memo") : 60115, E = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, j = e ? Symbol.for("react.fundamental") : 60117, O = e ? Symbol.for("react.responder") : 60118, V = e ? Symbol.for("react.scope") : 60119;
|
|
808
808
|
function A(v) {
|
|
@@ -885,8 +885,8 @@ function ba() {
|
|
|
885
885
|
}()), G;
|
|
886
886
|
}
|
|
887
887
|
var Ft;
|
|
888
|
-
function
|
|
889
|
-
return Ft || (Ft = 1, process.env.NODE_ENV === "production" ? Ve.exports =
|
|
888
|
+
function vn() {
|
|
889
|
+
return Ft || (Ft = 1, process.env.NODE_ENV === "production" ? Ve.exports = ga() : Ve.exports = ha()), Ve.exports;
|
|
890
890
|
}
|
|
891
891
|
/*
|
|
892
892
|
object-assign
|
|
@@ -894,7 +894,7 @@ object-assign
|
|
|
894
894
|
@license MIT
|
|
895
895
|
*/
|
|
896
896
|
var dt, zt;
|
|
897
|
-
function
|
|
897
|
+
function ba() {
|
|
898
898
|
if (zt) return dt;
|
|
899
899
|
zt = 1;
|
|
900
900
|
var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable;
|
|
@@ -947,17 +947,17 @@ function It() {
|
|
|
947
947
|
return ut = e, ut;
|
|
948
948
|
}
|
|
949
949
|
var mt, Mt;
|
|
950
|
-
function
|
|
950
|
+
function xn() {
|
|
951
951
|
return Mt || (Mt = 1, mt = Function.call.bind(Object.prototype.hasOwnProperty)), mt;
|
|
952
952
|
}
|
|
953
953
|
var ft, Wt;
|
|
954
|
-
function
|
|
954
|
+
function ya() {
|
|
955
955
|
if (Wt) return ft;
|
|
956
956
|
Wt = 1;
|
|
957
957
|
var e = function() {
|
|
958
958
|
};
|
|
959
959
|
if (process.env.NODE_ENV !== "production") {
|
|
960
|
-
var t = It(), n = {}, o =
|
|
960
|
+
var t = It(), n = {}, o = xn();
|
|
961
961
|
e = function(i) {
|
|
962
962
|
var r = "Warning: " + i;
|
|
963
963
|
typeof console < "u" && console.error(r);
|
|
@@ -1000,10 +1000,10 @@ function wa() {
|
|
|
1000
1000
|
}, ft = a, ft;
|
|
1001
1001
|
}
|
|
1002
1002
|
var _t, $t;
|
|
1003
|
-
function
|
|
1003
|
+
function wa() {
|
|
1004
1004
|
if ($t) return _t;
|
|
1005
1005
|
$t = 1;
|
|
1006
|
-
var e =
|
|
1006
|
+
var e = vn(), t = ba(), n = It(), o = xn(), a = ya(), i = function() {
|
|
1007
1007
|
};
|
|
1008
1008
|
process.env.NODE_ENV !== "production" && (i = function(s) {
|
|
1009
1009
|
var f = "Warning: " + s;
|
|
@@ -1321,7 +1321,7 @@ Valid keys: ` + JSON.stringify(Object.keys(m), null, " ")
|
|
|
1321
1321
|
}, _t;
|
|
1322
1322
|
}
|
|
1323
1323
|
var vt, qt;
|
|
1324
|
-
function
|
|
1324
|
+
function ka() {
|
|
1325
1325
|
if (qt) return vt;
|
|
1326
1326
|
qt = 1;
|
|
1327
1327
|
var e = It();
|
|
@@ -1369,12 +1369,12 @@ function Ca() {
|
|
|
1369
1369
|
}, vt;
|
|
1370
1370
|
}
|
|
1371
1371
|
if (process.env.NODE_ENV !== "production") {
|
|
1372
|
-
var
|
|
1373
|
-
wt.exports =
|
|
1372
|
+
var Ca = vn(), Ta = !0;
|
|
1373
|
+
wt.exports = wa()(Ca.isElement, Ta);
|
|
1374
1374
|
} else
|
|
1375
|
-
wt.exports =
|
|
1376
|
-
var
|
|
1377
|
-
const T = /* @__PURE__ */
|
|
1375
|
+
wt.exports = ka()();
|
|
1376
|
+
var Ea = wt.exports;
|
|
1377
|
+
const T = /* @__PURE__ */ _n(Ea);
|
|
1378
1378
|
function Re(e, t, n, o) {
|
|
1379
1379
|
function a(i) {
|
|
1380
1380
|
return i instanceof n ? i : new n(function(r) {
|
|
@@ -1402,7 +1402,7 @@ function Re(e, t, n, o) {
|
|
|
1402
1402
|
c((o = o.apply(e, t || [])).next());
|
|
1403
1403
|
});
|
|
1404
1404
|
}
|
|
1405
|
-
const
|
|
1405
|
+
const Sa = /* @__PURE__ */ new Map([
|
|
1406
1406
|
// https://github.com/guzzle/psr7/blob/2d9260799e713f1c475d3c5fdc3d6561ff7441b2/src/MimeType.php
|
|
1407
1407
|
["1km", "application/vnd.1000minds.decision-model+xml"],
|
|
1408
1408
|
["3dml", "text/vnd.in3d.3dml"],
|
|
@@ -2606,13 +2606,13 @@ const Na = /* @__PURE__ */ new Map([
|
|
|
2606
2606
|
["zsh", "text/x-scriptzsh"]
|
|
2607
2607
|
]);
|
|
2608
2608
|
function Le(e, t, n) {
|
|
2609
|
-
const o =
|
|
2609
|
+
const o = Na(e), { webkitRelativePath: a } = e, i = typeof t == "string" ? t : typeof a == "string" && a.length > 0 ? a : `./${e.name}`;
|
|
2610
2610
|
return typeof o.path != "string" && Ht(o, "path", i), Ht(o, "relativePath", i), o;
|
|
2611
2611
|
}
|
|
2612
|
-
function
|
|
2612
|
+
function Na(e) {
|
|
2613
2613
|
const { name: t } = e;
|
|
2614
2614
|
if (t && t.lastIndexOf(".") !== -1 && !e.type) {
|
|
2615
|
-
const o = t.split(".").pop().toLowerCase(), a =
|
|
2615
|
+
const o = t.split(".").pop().toLowerCase(), a = Sa.get(o);
|
|
2616
2616
|
a && Object.defineProperty(e, "type", {
|
|
2617
2617
|
value: a,
|
|
2618
2618
|
writable: !1,
|
|
@@ -2630,49 +2630,49 @@ function Ht(e, t, n) {
|
|
|
2630
2630
|
enumerable: !0
|
|
2631
2631
|
});
|
|
2632
2632
|
}
|
|
2633
|
-
const
|
|
2633
|
+
const Ia = [
|
|
2634
2634
|
// Thumbnail cache files for macOS and Windows
|
|
2635
2635
|
".DS_Store",
|
|
2636
2636
|
// macOs
|
|
2637
2637
|
"Thumbs.db"
|
|
2638
2638
|
// Windows
|
|
2639
2639
|
];
|
|
2640
|
-
function
|
|
2640
|
+
function ja(e) {
|
|
2641
2641
|
return Re(this, void 0, void 0, function* () {
|
|
2642
|
-
return Ke(e) &&
|
|
2642
|
+
return Ke(e) && Ra(e.dataTransfer) ? La(e.dataTransfer, e.type) : Aa(e) ? Da(e) : Array.isArray(e) && e.every((t) => "getFile" in t && typeof t.getFile == "function") ? Oa(e) : [];
|
|
2643
2643
|
});
|
|
2644
2644
|
}
|
|
2645
|
-
function
|
|
2645
|
+
function Ra(e) {
|
|
2646
2646
|
return Ke(e);
|
|
2647
2647
|
}
|
|
2648
|
-
function
|
|
2648
|
+
function Aa(e) {
|
|
2649
2649
|
return Ke(e) && Ke(e.target);
|
|
2650
2650
|
}
|
|
2651
2651
|
function Ke(e) {
|
|
2652
2652
|
return typeof e == "object" && e !== null;
|
|
2653
2653
|
}
|
|
2654
|
-
function
|
|
2654
|
+
function Da(e) {
|
|
2655
2655
|
return kt(e.target.files).map((t) => Le(t));
|
|
2656
2656
|
}
|
|
2657
|
-
function
|
|
2657
|
+
function Oa(e) {
|
|
2658
2658
|
return Re(this, void 0, void 0, function* () {
|
|
2659
2659
|
return (yield Promise.all(e.map((n) => n.getFile()))).map((n) => Le(n));
|
|
2660
2660
|
});
|
|
2661
2661
|
}
|
|
2662
|
-
function
|
|
2662
|
+
function La(e, t) {
|
|
2663
2663
|
return Re(this, void 0, void 0, function* () {
|
|
2664
2664
|
if (e.items) {
|
|
2665
2665
|
const n = kt(e.items).filter((a) => a.kind === "file");
|
|
2666
2666
|
if (t !== "drop")
|
|
2667
2667
|
return n;
|
|
2668
|
-
const o = yield Promise.all(n.map(
|
|
2669
|
-
return Yt(
|
|
2668
|
+
const o = yield Promise.all(n.map(Pa));
|
|
2669
|
+
return Yt(gn(o));
|
|
2670
2670
|
}
|
|
2671
2671
|
return Yt(kt(e.files).map((n) => Le(n)));
|
|
2672
2672
|
});
|
|
2673
2673
|
}
|
|
2674
2674
|
function Yt(e) {
|
|
2675
|
-
return e.filter((t) =>
|
|
2675
|
+
return e.filter((t) => Ia.indexOf(t.name) === -1);
|
|
2676
2676
|
}
|
|
2677
2677
|
function kt(e) {
|
|
2678
2678
|
if (e === null)
|
|
@@ -2684,16 +2684,16 @@ function kt(e) {
|
|
|
2684
2684
|
}
|
|
2685
2685
|
return t;
|
|
2686
2686
|
}
|
|
2687
|
-
function
|
|
2687
|
+
function Pa(e) {
|
|
2688
2688
|
if (typeof e.webkitGetAsEntry != "function")
|
|
2689
2689
|
return Vt(e);
|
|
2690
2690
|
const t = e.webkitGetAsEntry();
|
|
2691
|
-
return t && t.isDirectory ?
|
|
2691
|
+
return t && t.isDirectory ? hn(t) : Vt(e, t);
|
|
2692
2692
|
}
|
|
2693
|
-
function
|
|
2693
|
+
function gn(e) {
|
|
2694
2694
|
return e.reduce((t, n) => [
|
|
2695
2695
|
...t,
|
|
2696
|
-
...Array.isArray(n) ?
|
|
2696
|
+
...Array.isArray(n) ? gn(n) : [n]
|
|
2697
2697
|
], []);
|
|
2698
2698
|
}
|
|
2699
2699
|
function Vt(e, t) {
|
|
@@ -2714,19 +2714,19 @@ function Vt(e, t) {
|
|
|
2714
2714
|
return Le(o, (n = t == null ? void 0 : t.fullPath) !== null && n !== void 0 ? n : void 0);
|
|
2715
2715
|
});
|
|
2716
2716
|
}
|
|
2717
|
-
function
|
|
2717
|
+
function Fa(e) {
|
|
2718
2718
|
return Re(this, void 0, void 0, function* () {
|
|
2719
|
-
return e.isDirectory ?
|
|
2719
|
+
return e.isDirectory ? hn(e) : za(e);
|
|
2720
2720
|
});
|
|
2721
2721
|
}
|
|
2722
|
-
function
|
|
2722
|
+
function hn(e) {
|
|
2723
2723
|
const t = e.createReader();
|
|
2724
2724
|
return new Promise((n, o) => {
|
|
2725
2725
|
const a = [];
|
|
2726
2726
|
function i() {
|
|
2727
2727
|
t.readEntries((r) => Re(this, void 0, void 0, function* () {
|
|
2728
2728
|
if (r.length) {
|
|
2729
|
-
const s = Promise.all(r.map(
|
|
2729
|
+
const s = Promise.all(r.map(Fa));
|
|
2730
2730
|
a.push(s), i();
|
|
2731
2731
|
} else
|
|
2732
2732
|
try {
|
|
@@ -2742,7 +2742,7 @@ function bn(e) {
|
|
|
2742
2742
|
i();
|
|
2743
2743
|
});
|
|
2744
2744
|
}
|
|
2745
|
-
function
|
|
2745
|
+
function za(e) {
|
|
2746
2746
|
return Re(this, void 0, void 0, function* () {
|
|
2747
2747
|
return new Promise((t, n) => {
|
|
2748
2748
|
e.file((o) => {
|
|
@@ -2768,16 +2768,16 @@ var xt = function(e, t) {
|
|
|
2768
2768
|
return !0;
|
|
2769
2769
|
};
|
|
2770
2770
|
function Ut(e) {
|
|
2771
|
-
return
|
|
2771
|
+
return Wa(e) || Ma(e) || yn(e) || Ba();
|
|
2772
2772
|
}
|
|
2773
|
-
function
|
|
2773
|
+
function Ba() {
|
|
2774
2774
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2775
2775
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2776
2776
|
}
|
|
2777
|
-
function
|
|
2777
|
+
function Ma(e) {
|
|
2778
2778
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
2779
2779
|
}
|
|
2780
|
-
function
|
|
2780
|
+
function Wa(e) {
|
|
2781
2781
|
if (Array.isArray(e)) return Ct(e);
|
|
2782
2782
|
}
|
|
2783
2783
|
function Gt(e, t) {
|
|
@@ -2794,24 +2794,24 @@ function Kt(e) {
|
|
|
2794
2794
|
for (var t = 1; t < arguments.length; t++) {
|
|
2795
2795
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
2796
2796
|
t % 2 ? Gt(Object(n), !0).forEach(function(o) {
|
|
2797
|
-
|
|
2797
|
+
bn(e, o, n[o]);
|
|
2798
2798
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Gt(Object(n)).forEach(function(o) {
|
|
2799
2799
|
Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o));
|
|
2800
2800
|
});
|
|
2801
2801
|
}
|
|
2802
2802
|
return e;
|
|
2803
2803
|
}
|
|
2804
|
-
function
|
|
2804
|
+
function bn(e, t, n) {
|
|
2805
2805
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
2806
2806
|
}
|
|
2807
2807
|
function Me(e, t) {
|
|
2808
|
-
return
|
|
2808
|
+
return Ha(e) || qa(e, t) || yn(e, t) || $a();
|
|
2809
2809
|
}
|
|
2810
|
-
function
|
|
2810
|
+
function $a() {
|
|
2811
2811
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2812
2812
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2813
2813
|
}
|
|
2814
|
-
function
|
|
2814
|
+
function yn(e, t) {
|
|
2815
2815
|
if (e) {
|
|
2816
2816
|
if (typeof e == "string") return Ct(e, t);
|
|
2817
2817
|
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
@@ -2825,7 +2825,7 @@ function Ct(e, t) {
|
|
|
2825
2825
|
o[n] = e[n];
|
|
2826
2826
|
return o;
|
|
2827
2827
|
}
|
|
2828
|
-
function
|
|
2828
|
+
function qa(e, t) {
|
|
2829
2829
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
2830
2830
|
if (n != null) {
|
|
2831
2831
|
var o = [], a = !0, i = !1, r, s;
|
|
@@ -2844,34 +2844,34 @@ function Ha(e, t) {
|
|
|
2844
2844
|
return o;
|
|
2845
2845
|
}
|
|
2846
2846
|
}
|
|
2847
|
-
function
|
|
2847
|
+
function Ha(e) {
|
|
2848
2848
|
if (Array.isArray(e)) return e;
|
|
2849
2849
|
}
|
|
2850
|
-
var
|
|
2850
|
+
var Ya = typeof xt == "function" ? xt : xt.default, Va = "file-invalid-type", Ua = "file-too-large", Ga = "file-too-small", Ka = "too-many-files", Xa = function() {
|
|
2851
2851
|
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];
|
|
2852
2852
|
return {
|
|
2853
|
-
code:
|
|
2853
|
+
code: Va,
|
|
2854
2854
|
message: "File type must be ".concat(o)
|
|
2855
2855
|
};
|
|
2856
2856
|
}, Xt = function(t) {
|
|
2857
2857
|
return {
|
|
2858
|
-
code:
|
|
2858
|
+
code: Ua,
|
|
2859
2859
|
message: "File is larger than ".concat(t, " ").concat(t === 1 ? "byte" : "bytes")
|
|
2860
2860
|
};
|
|
2861
2861
|
}, Zt = function(t) {
|
|
2862
2862
|
return {
|
|
2863
|
-
code:
|
|
2863
|
+
code: Ga,
|
|
2864
2864
|
message: "File is smaller than ".concat(t, " ").concat(t === 1 ? "byte" : "bytes")
|
|
2865
2865
|
};
|
|
2866
|
-
},
|
|
2867
|
-
code:
|
|
2866
|
+
}, Za = {
|
|
2867
|
+
code: Ka,
|
|
2868
2868
|
message: "Too many files"
|
|
2869
2869
|
};
|
|
2870
|
-
function
|
|
2871
|
-
var n = e.type === "application/x-moz-file" ||
|
|
2872
|
-
return [n, n ? null :
|
|
2870
|
+
function wn(e, t) {
|
|
2871
|
+
var n = e.type === "application/x-moz-file" || Ya(e, t);
|
|
2872
|
+
return [n, n ? null : Xa(t)];
|
|
2873
2873
|
}
|
|
2874
|
-
function
|
|
2874
|
+
function kn(e, t, n) {
|
|
2875
2875
|
if (je(e.size))
|
|
2876
2876
|
if (je(t) && je(n)) {
|
|
2877
2877
|
if (e.size > n) return [!1, Xt(n)];
|
|
@@ -2885,10 +2885,10 @@ function Cn(e, t, n) {
|
|
|
2885
2885
|
function je(e) {
|
|
2886
2886
|
return e != null;
|
|
2887
2887
|
}
|
|
2888
|
-
function
|
|
2888
|
+
function Qa(e) {
|
|
2889
2889
|
var t = e.files, n = e.accept, o = e.minSize, a = e.maxSize, i = e.multiple, r = e.maxFiles, s = e.validator;
|
|
2890
2890
|
return !i && t.length > 1 || i && r >= 1 && t.length > r ? !1 : t.every(function(f) {
|
|
2891
|
-
var c =
|
|
2891
|
+
var c = wn(f, n), u = Me(c, 1), d = u[0], h = kn(f, o, a), w = Me(h, 1), E = w[0], b = s ? s(f) : null;
|
|
2892
2892
|
return d && E && !b;
|
|
2893
2893
|
});
|
|
2894
2894
|
}
|
|
@@ -2903,15 +2903,15 @@ function Ue(e) {
|
|
|
2903
2903
|
function Qt(e) {
|
|
2904
2904
|
e.preventDefault();
|
|
2905
2905
|
}
|
|
2906
|
-
function
|
|
2906
|
+
function Ja(e) {
|
|
2907
2907
|
return e.indexOf("MSIE") !== -1 || e.indexOf("Trident/") !== -1;
|
|
2908
2908
|
}
|
|
2909
|
-
function
|
|
2909
|
+
function ei(e) {
|
|
2910
2910
|
return e.indexOf("Edge/") !== -1;
|
|
2911
2911
|
}
|
|
2912
|
-
function
|
|
2912
|
+
function ti() {
|
|
2913
2913
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.navigator.userAgent;
|
|
2914
|
-
return
|
|
2914
|
+
return Ja(e) || ei(e);
|
|
2915
2915
|
}
|
|
2916
2916
|
function we() {
|
|
2917
2917
|
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
|
|
@@ -2924,17 +2924,17 @@ function we() {
|
|
|
2924
2924
|
});
|
|
2925
2925
|
};
|
|
2926
2926
|
}
|
|
2927
|
-
function
|
|
2927
|
+
function ni() {
|
|
2928
2928
|
return "showOpenFilePicker" in window;
|
|
2929
2929
|
}
|
|
2930
|
-
function
|
|
2930
|
+
function oi(e) {
|
|
2931
2931
|
if (je(e)) {
|
|
2932
2932
|
var t = Object.entries(e).filter(function(n) {
|
|
2933
2933
|
var o = Me(n, 2), a = o[0], i = o[1], r = !0;
|
|
2934
|
-
return
|
|
2934
|
+
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;
|
|
2935
2935
|
}).reduce(function(n, o) {
|
|
2936
2936
|
var a = Me(o, 2), i = a[0], r = a[1];
|
|
2937
|
-
return Kt(Kt({}, n), {},
|
|
2937
|
+
return Kt(Kt({}, n), {}, bn({}, i, r));
|
|
2938
2938
|
}, {});
|
|
2939
2939
|
return [{
|
|
2940
2940
|
// description is required due to https://crbug.com/1264708
|
|
@@ -2944,49 +2944,49 @@ function ai(e) {
|
|
|
2944
2944
|
}
|
|
2945
2945
|
return e;
|
|
2946
2946
|
}
|
|
2947
|
-
function
|
|
2947
|
+
function ai(e) {
|
|
2948
2948
|
if (je(e))
|
|
2949
2949
|
return Object.entries(e).reduce(function(t, n) {
|
|
2950
2950
|
var o = Me(n, 2), a = o[0], i = o[1];
|
|
2951
2951
|
return [].concat(Ut(t), [a], Ut(i));
|
|
2952
2952
|
}, []).filter(function(t) {
|
|
2953
|
-
return
|
|
2953
|
+
return Cn(t) || Tn(t);
|
|
2954
2954
|
}).join(",");
|
|
2955
2955
|
}
|
|
2956
|
-
function
|
|
2956
|
+
function ii(e) {
|
|
2957
2957
|
return e instanceof DOMException && (e.name === "AbortError" || e.code === e.ABORT_ERR);
|
|
2958
2958
|
}
|
|
2959
|
-
function
|
|
2959
|
+
function ri(e) {
|
|
2960
2960
|
return e instanceof DOMException && (e.name === "SecurityError" || e.code === e.SECURITY_ERR);
|
|
2961
2961
|
}
|
|
2962
|
-
function
|
|
2962
|
+
function Cn(e) {
|
|
2963
2963
|
return e === "audio/*" || e === "video/*" || e === "image/*" || e === "text/*" || e === "application/*" || /\w+\/[-+.\w]+/g.test(e);
|
|
2964
2964
|
}
|
|
2965
|
-
function
|
|
2965
|
+
function Tn(e) {
|
|
2966
2966
|
return /^.*\.[\w]+$/.test(e);
|
|
2967
2967
|
}
|
|
2968
|
-
var
|
|
2969
|
-
function
|
|
2970
|
-
return
|
|
2968
|
+
var si = ["children"], pi = ["open"], ci = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], li = ["refKey", "onChange", "onClick"];
|
|
2969
|
+
function di(e) {
|
|
2970
|
+
return fi(e) || mi(e) || En(e) || ui();
|
|
2971
2971
|
}
|
|
2972
|
-
function
|
|
2972
|
+
function ui() {
|
|
2973
2973
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2974
2974
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2975
2975
|
}
|
|
2976
|
-
function
|
|
2976
|
+
function mi(e) {
|
|
2977
2977
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
2978
2978
|
}
|
|
2979
|
-
function
|
|
2979
|
+
function fi(e) {
|
|
2980
2980
|
if (Array.isArray(e)) return Tt(e);
|
|
2981
2981
|
}
|
|
2982
2982
|
function gt(e, t) {
|
|
2983
|
-
return
|
|
2983
|
+
return xi(e) || vi(e, t) || En(e, t) || _i();
|
|
2984
2984
|
}
|
|
2985
|
-
function
|
|
2985
|
+
function _i() {
|
|
2986
2986
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2987
2987
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2988
2988
|
}
|
|
2989
|
-
function
|
|
2989
|
+
function En(e, t) {
|
|
2990
2990
|
if (e) {
|
|
2991
2991
|
if (typeof e == "string") return Tt(e, t);
|
|
2992
2992
|
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
@@ -3000,7 +3000,7 @@ function Tt(e, t) {
|
|
|
3000
3000
|
o[n] = e[n];
|
|
3001
3001
|
return o;
|
|
3002
3002
|
}
|
|
3003
|
-
function
|
|
3003
|
+
function vi(e, t) {
|
|
3004
3004
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
3005
3005
|
if (n != null) {
|
|
3006
3006
|
var o = [], a = !0, i = !1, r, s;
|
|
@@ -3019,7 +3019,7 @@ function xi(e, t) {
|
|
|
3019
3019
|
return o;
|
|
3020
3020
|
}
|
|
3021
3021
|
}
|
|
3022
|
-
function
|
|
3022
|
+
function xi(e) {
|
|
3023
3023
|
if (Array.isArray(e)) return e;
|
|
3024
3024
|
}
|
|
3025
3025
|
function Jt(e, t) {
|
|
@@ -3048,7 +3048,7 @@ function Et(e, t, n) {
|
|
|
3048
3048
|
}
|
|
3049
3049
|
function Ze(e, t) {
|
|
3050
3050
|
if (e == null) return {};
|
|
3051
|
-
var n =
|
|
3051
|
+
var n = gi(e, t), o, a;
|
|
3052
3052
|
if (Object.getOwnPropertySymbols) {
|
|
3053
3053
|
var i = Object.getOwnPropertySymbols(e);
|
|
3054
3054
|
for (a = 0; a < i.length; a++)
|
|
@@ -3056,27 +3056,27 @@ function Ze(e, t) {
|
|
|
3056
3056
|
}
|
|
3057
3057
|
return n;
|
|
3058
3058
|
}
|
|
3059
|
-
function
|
|
3059
|
+
function gi(e, t) {
|
|
3060
3060
|
if (e == null) return {};
|
|
3061
3061
|
var n = {}, o = Object.keys(e), a, i;
|
|
3062
3062
|
for (i = 0; i < o.length; i++)
|
|
3063
3063
|
a = o[i], !(t.indexOf(a) >= 0) && (n[a] = e[a]);
|
|
3064
3064
|
return n;
|
|
3065
3065
|
}
|
|
3066
|
-
var Je = /* @__PURE__ */
|
|
3067
|
-
var n = e.children, o = Ze(e,
|
|
3068
|
-
return
|
|
3066
|
+
var Je = /* @__PURE__ */ Pn(function(e, t) {
|
|
3067
|
+
var n = e.children, o = Ze(e, si), a = hi(o), i = a.open, r = Ze(a, pi);
|
|
3068
|
+
return Fn(t, function() {
|
|
3069
3069
|
return {
|
|
3070
3070
|
open: i
|
|
3071
3071
|
};
|
|
3072
|
-
}, [i]), /* @__PURE__ */ We.createElement(
|
|
3072
|
+
}, [i]), /* @__PURE__ */ We.createElement(zn, null, n(Q(Q({}, r), {}, {
|
|
3073
3073
|
open: i
|
|
3074
3074
|
})));
|
|
3075
3075
|
});
|
|
3076
3076
|
Je.displayName = "Dropzone";
|
|
3077
|
-
var
|
|
3077
|
+
var Sn = {
|
|
3078
3078
|
disabled: !1,
|
|
3079
|
-
getFilesFromEvent:
|
|
3079
|
+
getFilesFromEvent: ja,
|
|
3080
3080
|
maxSize: 1 / 0,
|
|
3081
3081
|
minSize: 0,
|
|
3082
3082
|
multiple: !0,
|
|
@@ -3090,7 +3090,7 @@ var Nn = {
|
|
|
3090
3090
|
useFsAccessApi: !1,
|
|
3091
3091
|
autoFocus: !1
|
|
3092
3092
|
};
|
|
3093
|
-
Je.defaultProps =
|
|
3093
|
+
Je.defaultProps = Sn;
|
|
3094
3094
|
Je.propTypes = {
|
|
3095
3095
|
/**
|
|
3096
3096
|
* Render function that exposes the dropzone state and prop getter fns
|
|
@@ -3268,16 +3268,16 @@ var St = {
|
|
|
3268
3268
|
acceptedFiles: [],
|
|
3269
3269
|
fileRejections: []
|
|
3270
3270
|
};
|
|
3271
|
-
function
|
|
3272
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = Q(Q({},
|
|
3273
|
-
return ii(n);
|
|
3274
|
-
}, [n]), ue = Oe(function() {
|
|
3271
|
+
function hi() {
|
|
3272
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = Q(Q({}, Sn), e), n = t.accept, o = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, f = t.maxFiles, c = t.onDragEnter, u = t.onDragLeave, d = t.onDragOver, h = t.onDrop, w = t.onDropAccepted, E = t.onDropRejected, b = t.onFileDialogCancel, j = t.onFileDialogOpen, O = t.useFsAccessApi, V = t.autoFocus, A = t.preventDropOnDocument, y = t.noClick, p = t.noKeyboard, C = t.noDrag, F = t.noDragEventsBubbling, q = t.onError, J = t.validator, ne = Oe(function() {
|
|
3275
3273
|
return ai(n);
|
|
3274
|
+
}, [n]), ue = Oe(function() {
|
|
3275
|
+
return oi(n);
|
|
3276
3276
|
}, [n]), me = Oe(function() {
|
|
3277
3277
|
return typeof j == "function" ? j : en;
|
|
3278
3278
|
}, [j]), le = Oe(function() {
|
|
3279
3279
|
return typeof b == "function" ? b : en;
|
|
3280
|
-
}, [b]), X = Te(null), Z = Te(null), k =
|
|
3280
|
+
}, [b]), X = Te(null), Z = Te(null), k = Bn(bi, St), M = gt(k, 2), K = M[0], z = M[1], m = K.isFocused, g = K.isFileDialogActive, D = Te(typeof window < "u" && window.isSecureContext && O && ni()), L = function() {
|
|
3281
3281
|
!D.current && g && setTimeout(function() {
|
|
3282
3282
|
if (Z.current) {
|
|
3283
3283
|
var S = Z.current.files;
|
|
@@ -3306,9 +3306,9 @@ function bi() {
|
|
|
3306
3306
|
var R = de(function(x) {
|
|
3307
3307
|
q ? q(x) : console.error(x);
|
|
3308
3308
|
}, [q]), P = de(function(x) {
|
|
3309
|
-
x.preventDefault(), x.persist(), qe(x), N.current = [].concat(
|
|
3309
|
+
x.preventDefault(), x.persist(), qe(x), N.current = [].concat(di(N.current), [x.target]), Ue(x) && Promise.resolve(a(x)).then(function(S) {
|
|
3310
3310
|
if (!(Xe(x) && !F)) {
|
|
3311
|
-
var ee = S.length, oe = ee > 0 &&
|
|
3311
|
+
var ee = S.length, oe = ee > 0 && Qa({
|
|
3312
3312
|
files: S,
|
|
3313
3313
|
accept: ne,
|
|
3314
3314
|
minSize: r,
|
|
@@ -3350,22 +3350,22 @@ function bi() {
|
|
|
3350
3350
|
}, [X, u, F]), B = de(function(x, S) {
|
|
3351
3351
|
var ee = [], oe = [];
|
|
3352
3352
|
x.forEach(function(_e) {
|
|
3353
|
-
var Fe =
|
|
3353
|
+
var Fe = wn(_e, ne), De = gt(Fe, 2), tt = De[0], nt = De[1], ot = kn(_e, r, i), He = gt(ot, 2), at = He[0], it = He[1], rt = J ? J(_e) : null;
|
|
3354
3354
|
if (tt && at && !rt)
|
|
3355
3355
|
ee.push(_e);
|
|
3356
3356
|
else {
|
|
3357
3357
|
var st = [nt, it];
|
|
3358
3358
|
rt && (st = st.concat(rt)), oe.push({
|
|
3359
3359
|
file: _e,
|
|
3360
|
-
errors: st.filter(function(
|
|
3361
|
-
return
|
|
3360
|
+
errors: st.filter(function(Ln) {
|
|
3361
|
+
return Ln;
|
|
3362
3362
|
})
|
|
3363
3363
|
});
|
|
3364
3364
|
}
|
|
3365
3365
|
}), (!s && ee.length > 1 || s && f >= 1 && ee.length > f) && (ee.forEach(function(_e) {
|
|
3366
3366
|
oe.push({
|
|
3367
3367
|
file: _e,
|
|
3368
|
-
errors: [
|
|
3368
|
+
errors: [Za]
|
|
3369
3369
|
});
|
|
3370
3370
|
}), ee.splice(0)), z({
|
|
3371
3371
|
acceptedFiles: ee,
|
|
@@ -3397,9 +3397,9 @@ function bi() {
|
|
|
3397
3397
|
type: "closeDialog"
|
|
3398
3398
|
});
|
|
3399
3399
|
}).catch(function(S) {
|
|
3400
|
-
|
|
3400
|
+
ii(S) ? (le(S), z({
|
|
3401
3401
|
type: "closeDialog"
|
|
3402
|
-
})) :
|
|
3402
|
+
})) : ri(S) ? (D.current = !1, Z.current ? (Z.current.value = null, Z.current.click()) : R(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))) : R(S);
|
|
3403
3403
|
});
|
|
3404
3404
|
return;
|
|
3405
3405
|
}
|
|
@@ -3417,7 +3417,7 @@ function bi() {
|
|
|
3417
3417
|
type: "blur"
|
|
3418
3418
|
});
|
|
3419
3419
|
}, []), At = de(function() {
|
|
3420
|
-
y || (
|
|
3420
|
+
y || (ti() ? setTimeout(v, 0) : v());
|
|
3421
3421
|
}, [y, v]), Ae = function(S) {
|
|
3422
3422
|
return o ? null : S;
|
|
3423
3423
|
}, et = function(S) {
|
|
@@ -3426,9 +3426,9 @@ function bi() {
|
|
|
3426
3426
|
return C ? null : Ae(S);
|
|
3427
3427
|
}, qe = function(S) {
|
|
3428
3428
|
F && S.stopPropagation();
|
|
3429
|
-
},
|
|
3429
|
+
}, An = Oe(function() {
|
|
3430
3430
|
return function() {
|
|
3431
|
-
var x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, S = x.refKey, ee = S === void 0 ? "ref" : S, oe = x.role, _e = x.onKeyDown, Fe = x.onFocus, De = x.onBlur, tt = x.onClick, nt = x.onDragEnter, ot = x.onDragOver, He = x.onDragLeave, at = x.onDrop, it = Ze(x,
|
|
3431
|
+
var x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, S = x.refKey, ee = S === void 0 ? "ref" : S, oe = x.role, _e = x.onKeyDown, Fe = x.onFocus, De = x.onBlur, tt = x.onClick, nt = x.onDragEnter, ot = x.onDragOver, He = x.onDragLeave, at = x.onDrop, it = Ze(x, ci);
|
|
3432
3432
|
return Q(Q(Et({
|
|
3433
3433
|
onKeyDown: et(we(_e, fe)),
|
|
3434
3434
|
onFocus: et(we(Fe, Ne)),
|
|
@@ -3443,11 +3443,11 @@ function bi() {
|
|
|
3443
3443
|
tabIndex: 0
|
|
3444
3444
|
} : {}), it);
|
|
3445
3445
|
};
|
|
3446
|
-
}, [X, fe, Ne, Pe, At, P, $, H, te, p, C, o]),
|
|
3446
|
+
}, [X, fe, Ne, Pe, At, P, $, H, te, p, C, o]), Dn = de(function(x) {
|
|
3447
3447
|
x.stopPropagation();
|
|
3448
|
-
}, []),
|
|
3448
|
+
}, []), On = Oe(function() {
|
|
3449
3449
|
return function() {
|
|
3450
|
-
var x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, S = x.refKey, ee = S === void 0 ? "ref" : S, oe = x.onChange, _e = x.onClick, Fe = Ze(x,
|
|
3450
|
+
var x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, S = x.refKey, ee = S === void 0 ? "ref" : S, oe = x.onChange, _e = x.onClick, Fe = Ze(x, li), De = Et({
|
|
3451
3451
|
accept: ne,
|
|
3452
3452
|
multiple: s,
|
|
3453
3453
|
type: "file",
|
|
@@ -3464,7 +3464,7 @@ function bi() {
|
|
|
3464
3464
|
whiteSpace: "nowrap"
|
|
3465
3465
|
},
|
|
3466
3466
|
onChange: Ae(we(oe, te)),
|
|
3467
|
-
onClick: Ae(we(_e,
|
|
3467
|
+
onClick: Ae(we(_e, Dn)),
|
|
3468
3468
|
tabIndex: -1
|
|
3469
3469
|
}, ee, Z);
|
|
3470
3470
|
return Q(Q({}, De), Fe);
|
|
@@ -3472,14 +3472,14 @@ function bi() {
|
|
|
3472
3472
|
}, [Z, n, s, te, o]);
|
|
3473
3473
|
return Q(Q({}, K), {}, {
|
|
3474
3474
|
isFocused: m && !o,
|
|
3475
|
-
getRootProps:
|
|
3476
|
-
getInputProps:
|
|
3475
|
+
getRootProps: An,
|
|
3476
|
+
getInputProps: On,
|
|
3477
3477
|
rootRef: X,
|
|
3478
3478
|
inputRef: Z,
|
|
3479
3479
|
open: Ae(v)
|
|
3480
3480
|
});
|
|
3481
3481
|
}
|
|
3482
|
-
function
|
|
3482
|
+
function bi(e, t) {
|
|
3483
3483
|
switch (t.type) {
|
|
3484
3484
|
case "focus":
|
|
3485
3485
|
return Q(Q({}, e), {}, {
|
|
@@ -3517,7 +3517,7 @@ function yi(e, t) {
|
|
|
3517
3517
|
}
|
|
3518
3518
|
function en() {
|
|
3519
3519
|
}
|
|
3520
|
-
const
|
|
3520
|
+
const yi = (e) => {
|
|
3521
3521
|
const {
|
|
3522
3522
|
onDropFiles: t,
|
|
3523
3523
|
children: n,
|
|
@@ -3547,15 +3547,15 @@ const wi = (e) => {
|
|
|
3547
3547
|
/* @__PURE__ */ l("input", { ...h({}), disabled: i, name: r }),
|
|
3548
3548
|
n
|
|
3549
3549
|
] }) });
|
|
3550
|
-
},
|
|
3551
|
-
spDropdown:
|
|
3552
|
-
spDropdown__labelText:
|
|
3553
|
-
spDropdown__tooltipContainer:
|
|
3554
|
-
spDropdown__dropdownList:
|
|
3555
|
-
spDropdown__dropdownListHeader:
|
|
3556
|
-
spDropdown__dopdownListItem:
|
|
3557
|
-
spDropdown__dopdownListItem_textCenter:
|
|
3558
|
-
spDropdown__downloadListItemDescription:
|
|
3550
|
+
}, wi = "_spDropdown_1f4lf_43", ki = "_spDropdown__labelText_1f4lf_54", Ci = "_spDropdown__tooltipContainer_1f4lf_62", Ti = "_spDropdown__dropdownList_1f4lf_67", Ei = "_spDropdown__dropdownListHeader_1f4lf_73", Si = "_spDropdown__dopdownListItem_1f4lf_80", Ni = "_spDropdown__dopdownListItem_textCenter_1f4lf_91", Ii = "_spDropdown__downloadListItemDescription_1f4lf_94", Ee = {
|
|
3551
|
+
spDropdown: wi,
|
|
3552
|
+
spDropdown__labelText: ki,
|
|
3553
|
+
spDropdown__tooltipContainer: Ci,
|
|
3554
|
+
spDropdown__dropdownList: Ti,
|
|
3555
|
+
spDropdown__dropdownListHeader: Ei,
|
|
3556
|
+
spDropdown__dopdownListItem: Si,
|
|
3557
|
+
spDropdown__dopdownListItem_textCenter: Ni,
|
|
3558
|
+
spDropdown__downloadListItemDescription: Ii
|
|
3559
3559
|
}, As = (e) => {
|
|
3560
3560
|
const {
|
|
3561
3561
|
labelText: t = "Выпадающий список",
|
|
@@ -3611,10 +3611,10 @@ const wi = (e) => {
|
|
|
3611
3611
|
] })
|
|
3612
3612
|
}
|
|
3613
3613
|
);
|
|
3614
|
-
},
|
|
3615
|
-
ellipsisTextWithTooltip:
|
|
3616
|
-
ellipsisTextWithTooltip__tooltip:
|
|
3617
|
-
},
|
|
3614
|
+
}, ji = "_ellipsisTextWithTooltip_1nhiw_43", Ri = "_ellipsisTextWithTooltip__tooltip_1nhiw_46", tn = {
|
|
3615
|
+
ellipsisTextWithTooltip: ji,
|
|
3616
|
+
ellipsisTextWithTooltip__tooltip: Ri
|
|
3617
|
+
}, Ai = (e) => {
|
|
3618
3618
|
const {
|
|
3619
3619
|
text: t,
|
|
3620
3620
|
classNameRoot: n,
|
|
@@ -3648,10 +3648,10 @@ const wi = (e) => {
|
|
|
3648
3648
|
trigger: /* @__PURE__ */ l(Se, { ...s, classNameRoot: d, isEllipsis: !0, ref: f, children: t })
|
|
3649
3649
|
}
|
|
3650
3650
|
);
|
|
3651
|
-
},
|
|
3652
|
-
spForm:
|
|
3653
|
-
spForm_fullWidth:
|
|
3654
|
-
spForm_withSeparator:
|
|
3651
|
+
}, Di = "_spForm_zefbj_43", Oi = "_spForm_fullWidth_zefbj_46", Li = "_spForm_withSeparator_zefbj_49", Be = {
|
|
3652
|
+
spForm: Di,
|
|
3653
|
+
spForm_fullWidth: Oi,
|
|
3654
|
+
spForm_withSeparator: Li,
|
|
3655
3655
|
"spForm_addMargin--size-lg": "_spForm_addMargin--size-lg_zefbj_67",
|
|
3656
3656
|
"spForm_addMargin--size-md": "_spForm_addMargin--size-md_zefbj_75"
|
|
3657
3657
|
}, Ds = (e) => {
|
|
@@ -3675,11 +3675,11 @@ const wi = (e) => {
|
|
|
3675
3675
|
return /* @__PURE__ */ l("form", { ...f, onSubmit: (d) => {
|
|
3676
3676
|
d.preventDefault(), o && o();
|
|
3677
3677
|
}, className: c, children: n });
|
|
3678
|
-
},
|
|
3679
|
-
spLabel:
|
|
3680
|
-
spLabel__text:
|
|
3681
|
-
spLabel__tooltip:
|
|
3682
|
-
spLabel__required:
|
|
3678
|
+
}, Pi = "_spLabel_g0hfy_43", Fi = "_spLabel__text_g0hfy_52", zi = "_spLabel__tooltip_g0hfy_62", Bi = "_spLabel__required_g0hfy_67", Ge = {
|
|
3679
|
+
spLabel: Pi,
|
|
3680
|
+
spLabel__text: Fi,
|
|
3681
|
+
spLabel__tooltip: zi,
|
|
3682
|
+
spLabel__required: Bi
|
|
3683
3683
|
}, jt = (e) => {
|
|
3684
3684
|
const {
|
|
3685
3685
|
required: t,
|
|
@@ -3710,18 +3710,18 @@ const wi = (e) => {
|
|
|
3710
3710
|
}
|
|
3711
3711
|
) })
|
|
3712
3712
|
] });
|
|
3713
|
-
},
|
|
3714
|
-
spInput:
|
|
3715
|
-
spInput_error:
|
|
3716
|
-
spInput__control:
|
|
3717
|
-
spInput__container:
|
|
3718
|
-
spInput__control_filled:
|
|
3719
|
-
spInput__control_outlined:
|
|
3720
|
-
spInput__control_disabled:
|
|
3721
|
-
spInput__control_clearable:
|
|
3722
|
-
spInput__clear:
|
|
3723
|
-
spInput__error:
|
|
3724
|
-
},
|
|
3713
|
+
}, Mi = "_spInput_etrn0_43", Wi = "_spInput_error_etrn0_48", $i = "_spInput__control_etrn0_48", qi = "_spInput__container_etrn0_55", Hi = "_spInput__control_filled_etrn0_74", Yi = "_spInput__control_outlined_etrn0_78", Vi = "_spInput__control_disabled_etrn0_82", Ui = "_spInput__control_clearable_etrn0_86", Gi = "_spInput__clear_etrn0_113", Ki = "_spInput__error_etrn0_122", Ce = {
|
|
3714
|
+
spInput: Mi,
|
|
3715
|
+
spInput_error: Wi,
|
|
3716
|
+
spInput__control: $i,
|
|
3717
|
+
spInput__container: qi,
|
|
3718
|
+
spInput__control_filled: Hi,
|
|
3719
|
+
spInput__control_outlined: Yi,
|
|
3720
|
+
spInput__control_disabled: Vi,
|
|
3721
|
+
spInput__control_clearable: Ui,
|
|
3722
|
+
spInput__clear: Gi,
|
|
3723
|
+
spInput__error: Ki
|
|
3724
|
+
}, Xi = We.forwardRef((e, t) => {
|
|
3725
3725
|
const {
|
|
3726
3726
|
value: n,
|
|
3727
3727
|
onChange: o,
|
|
@@ -3799,21 +3799,21 @@ const wi = (e) => {
|
|
|
3799
3799
|
s && /* @__PURE__ */ l("div", { className: ne, children: s })
|
|
3800
3800
|
] });
|
|
3801
3801
|
});
|
|
3802
|
-
|
|
3803
|
-
const
|
|
3804
|
-
spInputFiles:
|
|
3805
|
-
spInputFiles_error:
|
|
3806
|
-
spInputFiles__control:
|
|
3807
|
-
spInputFiles_disabled:
|
|
3808
|
-
spInputFiles_fileUploaded:
|
|
3809
|
-
spInputFiles__fileNamesList:
|
|
3810
|
-
spInputFiles__fileNamesListItem:
|
|
3811
|
-
spInputFiles__fileNamesListItem__triggerTooltip:
|
|
3812
|
-
spInputFiles__fileNamesListItemDelete:
|
|
3813
|
-
spInputFiles__tooltipWrapper:
|
|
3814
|
-
spInputFiles__tooltip:
|
|
3815
|
-
spInputFiles__delete:
|
|
3816
|
-
spInputFiles__error:
|
|
3802
|
+
Xi.displayName = "Input";
|
|
3803
|
+
const Zi = "_spInputFiles_1ukpx_43", Qi = "_spInputFiles_error_1ukpx_48", Ji = "_spInputFiles__control_1ukpx_48", er = "_spInputFiles_disabled_1ukpx_77", tr = "_spInputFiles_fileUploaded_1ukpx_81", nr = "_spInputFiles__fileNamesList_1ukpx_85", or = "_spInputFiles__fileNamesListItem_1ukpx_94", ar = "_spInputFiles__fileNamesListItem__triggerTooltip_1ukpx_113", ir = "_spInputFiles__fileNamesListItemDelete_1ukpx_116", rr = "_spInputFiles__tooltipWrapper_1ukpx_131", sr = "_spInputFiles__tooltip_1ukpx_131", pr = "_spInputFiles__delete_1ukpx_137", cr = "_spInputFiles__error_1ukpx_145", ve = {
|
|
3804
|
+
spInputFiles: Zi,
|
|
3805
|
+
spInputFiles_error: Qi,
|
|
3806
|
+
spInputFiles__control: Ji,
|
|
3807
|
+
spInputFiles_disabled: er,
|
|
3808
|
+
spInputFiles_fileUploaded: tr,
|
|
3809
|
+
spInputFiles__fileNamesList: nr,
|
|
3810
|
+
spInputFiles__fileNamesListItem: or,
|
|
3811
|
+
spInputFiles__fileNamesListItem__triggerTooltip: ar,
|
|
3812
|
+
spInputFiles__fileNamesListItemDelete: ir,
|
|
3813
|
+
spInputFiles__tooltipWrapper: rr,
|
|
3814
|
+
spInputFiles__tooltip: sr,
|
|
3815
|
+
spInputFiles__delete: pr,
|
|
3816
|
+
spInputFiles__error: cr
|
|
3817
3817
|
}, Os = (e) => {
|
|
3818
3818
|
const {
|
|
3819
3819
|
placeholder: t = "Загрузите файл",
|
|
@@ -3849,7 +3849,7 @@ const Qi = "_spInputFiles_1ukpx_43", Ji = "_spInputFiles_error_1ukpx_48", er = "
|
|
|
3849
3849
|
},
|
|
3850
3850
|
children: [
|
|
3851
3851
|
/* @__PURE__ */ l(
|
|
3852
|
-
|
|
3852
|
+
Ai,
|
|
3853
3853
|
{
|
|
3854
3854
|
type: "p2",
|
|
3855
3855
|
text: p,
|
|
@@ -3873,7 +3873,7 @@ const Qi = "_spInputFiles_1ukpx_43", Ji = "_spInputFiles_error_1ukpx_48", er = "
|
|
|
3873
3873
|
)
|
|
3874
3874
|
] });
|
|
3875
3875
|
return /* @__PURE__ */ l(
|
|
3876
|
-
|
|
3876
|
+
yi,
|
|
3877
3877
|
{
|
|
3878
3878
|
name: n,
|
|
3879
3879
|
files: c,
|
|
@@ -3892,7 +3892,7 @@ const Qi = "_spInputFiles_1ukpx_43", Ji = "_spInputFiles_error_1ukpx_48", er = "
|
|
|
3892
3892
|
] })
|
|
3893
3893
|
}
|
|
3894
3894
|
);
|
|
3895
|
-
},
|
|
3895
|
+
}, lr = ln({
|
|
3896
3896
|
device: {
|
|
3897
3897
|
isDesktop: !1,
|
|
3898
3898
|
isMobile: !1,
|
|
@@ -3901,10 +3901,10 @@ const Qi = "_spInputFiles_1ukpx_43", Ji = "_spInputFiles_error_1ukpx_48", er = "
|
|
|
3901
3901
|
});
|
|
3902
3902
|
var Rt = {};
|
|
3903
3903
|
Rt.match = vr;
|
|
3904
|
-
Rt.parse =
|
|
3904
|
+
Rt.parse = Nn;
|
|
3905
3905
|
var dr = /(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i, ur = /\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/, mr = /^(?:(min|max)-)?(.+)/, fr = /(em|rem|px|cm|mm|in|pt|pc)?$/, _r = /(dpi|dpcm|dppx)?$/;
|
|
3906
3906
|
function vr(e, t) {
|
|
3907
|
-
return
|
|
3907
|
+
return Nn(e).some(function(n) {
|
|
3908
3908
|
var o = n.inverse, a = n.type === "all" || t.type === n.type;
|
|
3909
3909
|
if (a && o || !(a || o))
|
|
3910
3910
|
return !1;
|
|
@@ -3950,7 +3950,7 @@ function vr(e, t) {
|
|
|
3950
3950
|
return i && !o || !i && o;
|
|
3951
3951
|
});
|
|
3952
3952
|
}
|
|
3953
|
-
function
|
|
3953
|
+
function Nn(e) {
|
|
3954
3954
|
return e.split(",").map(function(t) {
|
|
3955
3955
|
t = t.trim();
|
|
3956
3956
|
var n = t.match(dr), o = n[1], a = n[2], i = n[3] || "", r = {};
|
|
@@ -4021,12 +4021,12 @@ function hr(e, t, n) {
|
|
|
4021
4021
|
return new gr(e, t, n);
|
|
4022
4022
|
}
|
|
4023
4023
|
var br = hr;
|
|
4024
|
-
const yr = /* @__PURE__ */
|
|
4024
|
+
const yr = /* @__PURE__ */ _n(br);
|
|
4025
4025
|
var wr = /[A-Z]/g, kr = /^ms-/, ht = {};
|
|
4026
4026
|
function Cr(e) {
|
|
4027
4027
|
return "-" + e.toLowerCase();
|
|
4028
4028
|
}
|
|
4029
|
-
function
|
|
4029
|
+
function In(e) {
|
|
4030
4030
|
if (ht.hasOwnProperty(e))
|
|
4031
4031
|
return ht[e];
|
|
4032
4032
|
var t = e.replace(wr, Cr);
|
|
@@ -4047,7 +4047,7 @@ function Tr(e, t) {
|
|
|
4047
4047
|
}
|
|
4048
4048
|
return !0;
|
|
4049
4049
|
}
|
|
4050
|
-
const pe = T.oneOfType([T.string, T.number]),
|
|
4050
|
+
const pe = T.oneOfType([T.string, T.number]), jn = {
|
|
4051
4051
|
all: T.bool,
|
|
4052
4052
|
grid: T.bool,
|
|
4053
4053
|
aural: T.bool,
|
|
@@ -4072,7 +4072,7 @@ const pe = T.oneOfType([T.string, T.number]), An = {
|
|
|
4072
4072
|
colorIndex: T.bool,
|
|
4073
4073
|
monochrome: T.bool,
|
|
4074
4074
|
resolution: pe,
|
|
4075
|
-
type: Object.keys(
|
|
4075
|
+
type: Object.keys(jn)
|
|
4076
4076
|
}, { type: Ls, ...Sr } = Er, Nr = {
|
|
4077
4077
|
minAspectRatio: T.string,
|
|
4078
4078
|
maxAspectRatio: T.string,
|
|
@@ -4095,12 +4095,12 @@ const pe = T.oneOfType([T.string, T.number]), An = {
|
|
|
4095
4095
|
minResolution: pe,
|
|
4096
4096
|
maxResolution: pe,
|
|
4097
4097
|
...Sr
|
|
4098
|
-
}, Ir = { ...
|
|
4098
|
+
}, Ir = { ...jn, ...Nr };
|
|
4099
4099
|
var jr = {
|
|
4100
4100
|
all: Ir
|
|
4101
4101
|
};
|
|
4102
4102
|
const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
4103
|
-
const n =
|
|
4103
|
+
const n = In(e);
|
|
4104
4104
|
return typeof t == "number" && (t = `${t}px`), t === !0 ? n : t === !1 ? Rr(n) : `(${n}: ${t})`;
|
|
4105
4105
|
}, Dr = (e) => e.join(" and "), Or = (e) => {
|
|
4106
4106
|
const t = [];
|
|
@@ -4108,13 +4108,13 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4108
4108
|
const o = e[n];
|
|
4109
4109
|
o != null && t.push(Ar(n, o));
|
|
4110
4110
|
}), Dr(t);
|
|
4111
|
-
}, Lr = ln(void 0), Pr = (e) => e.query || Or(e), sn = (e) => e ? Object.keys(e).reduce((n, o) => (n[
|
|
4111
|
+
}, Lr = ln(void 0), Pr = (e) => e.query || Or(e), sn = (e) => e ? Object.keys(e).reduce((n, o) => (n[In(o)] = e[o], n), {}) : void 0, Rn = () => {
|
|
4112
4112
|
const e = Te(!1);
|
|
4113
4113
|
return ae(() => {
|
|
4114
4114
|
e.current = !0;
|
|
4115
4115
|
}, []), e.current;
|
|
4116
4116
|
}, Fr = (e) => {
|
|
4117
|
-
const t =
|
|
4117
|
+
const t = Mn(Lr), n = () => sn(e) || sn(t), [o, a] = ce(n);
|
|
4118
4118
|
return ae(() => {
|
|
4119
4119
|
const i = n();
|
|
4120
4120
|
Tr(o, i) || a(i);
|
|
@@ -4126,7 +4126,7 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4126
4126
|
n !== a && o(a);
|
|
4127
4127
|
}, [e]), n;
|
|
4128
4128
|
}, Br = (e, t) => {
|
|
4129
|
-
const n = () => yr(e, t || {}, !!t), [o, a] = ce(n), i =
|
|
4129
|
+
const n = () => yr(e, t || {}, !!t), [o, a] = ce(n), i = Rn();
|
|
4130
4130
|
return ae(() => {
|
|
4131
4131
|
if (i) {
|
|
4132
4132
|
const r = n();
|
|
@@ -4150,7 +4150,7 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4150
4150
|
if (!a)
|
|
4151
4151
|
throw new Error("Invalid or missing MediaQuery!");
|
|
4152
4152
|
const i = Br(a, o), r = Mr(i);
|
|
4153
|
-
return
|
|
4153
|
+
return Rn(), ae(() => {
|
|
4154
4154
|
}, [r]), ae(() => () => {
|
|
4155
4155
|
i && i.dispose();
|
|
4156
4156
|
}, []), r;
|
|
@@ -4166,7 +4166,7 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4166
4166
|
}, Ps = (e) => {
|
|
4167
4167
|
const { breakpoints: t, children: n } = e, { device: o } = Wr(t);
|
|
4168
4168
|
return /* @__PURE__ */ l(
|
|
4169
|
-
|
|
4169
|
+
lr.Provider,
|
|
4170
4170
|
{
|
|
4171
4171
|
value: {
|
|
4172
4172
|
device: o
|
|
@@ -4212,7 +4212,7 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4212
4212
|
classNameLabel: A,
|
|
4213
4213
|
classNameBaseTooltipRoot: y
|
|
4214
4214
|
} = e, [p, C] = ce(!1), F = Te(null);
|
|
4215
|
-
|
|
4215
|
+
mn(
|
|
4216
4216
|
[F],
|
|
4217
4217
|
() => {
|
|
4218
4218
|
C(!1);
|
|
@@ -4335,22 +4335,21 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4335
4335
|
columns: t,
|
|
4336
4336
|
data: n,
|
|
4337
4337
|
isNotTableOnNotDesktop: o = !1,
|
|
4338
|
-
|
|
4339
|
-
|
|
4338
|
+
isDesktop: a = !0,
|
|
4339
|
+
classNameRoot: i
|
|
4340
|
+
} = e, r = t.map((y) => n ? {
|
|
4340
4341
|
...y,
|
|
4341
4342
|
isVisible: n.some((p) => !!p[y.key])
|
|
4342
|
-
} : y).filter((y) => y.isVisible),
|
|
4343
|
+
} : y).filter((y) => y.isVisible), s = _({
|
|
4343
4344
|
[he.spTable]: !0,
|
|
4344
|
-
...
|
|
4345
|
-
}), s = _({
|
|
4346
|
-
[he.spTable__tdContent]: !0
|
|
4345
|
+
...i && { [i]: !0 }
|
|
4347
4346
|
}), f = _({
|
|
4348
|
-
[he.
|
|
4347
|
+
[he.spTable__tdContent]: !0
|
|
4349
4348
|
}), c = _({
|
|
4349
|
+
[he.spTable__tdColorContent]: !0
|
|
4350
|
+
}), u = _({
|
|
4350
4351
|
[he.spTable__emptyPage]: !0
|
|
4351
|
-
}), {
|
|
4352
|
-
device: { isDesktop: u }
|
|
4353
|
-
} = dn(In), [d, h] = ce(null), w = (y) => {
|
|
4352
|
+
}), [d, h] = ce(null), w = (y) => {
|
|
4354
4353
|
const { text: p, rowIndex: C, colIndex: F } = y;
|
|
4355
4354
|
(d == null ? void 0 : d.rowIndex) === C && (d == null ? void 0 : d.colIndex) === F || navigator.clipboard.writeText(p).then(() => {
|
|
4356
4355
|
h({ rowIndex: C, colIndex: F });
|
|
@@ -4359,7 +4358,7 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4359
4358
|
});
|
|
4360
4359
|
}, E = () => {
|
|
4361
4360
|
h(null);
|
|
4362
|
-
}, b = () => /* @__PURE__ */ l("div", { className:
|
|
4361
|
+
}, b = () => /* @__PURE__ */ l("div", { className: u, children: "Данные отсутствуют" }), j = ({
|
|
4363
4362
|
row: y,
|
|
4364
4363
|
col: p
|
|
4365
4364
|
}) => {
|
|
@@ -4368,10 +4367,10 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4368
4367
|
const [F, q] = C.split(/\s*\{\{|}}\s*/).filter(Boolean);
|
|
4369
4368
|
return /* @__PURE__ */ Y("span", { children: [
|
|
4370
4369
|
F,
|
|
4371
|
-
q && /* @__PURE__ */ l("span", { className:
|
|
4370
|
+
q && /* @__PURE__ */ l("span", { className: c, children: ` ${q}` })
|
|
4372
4371
|
] });
|
|
4373
|
-
}, O = () => n && Array.isArray(n) && n.length > 0 ? /* @__PURE__ */ Y("table", { className:
|
|
4374
|
-
/* @__PURE__ */ l("colgroup", { children:
|
|
4372
|
+
}, O = () => n && Array.isArray(n) && n.length > 0 ? /* @__PURE__ */ Y("table", { className: s, children: [
|
|
4373
|
+
/* @__PURE__ */ l("colgroup", { children: r.map((y, p, C) => /* @__PURE__ */ l(
|
|
4375
4374
|
"col",
|
|
4376
4375
|
{
|
|
4377
4376
|
style: {
|
|
@@ -4380,14 +4379,14 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4380
4379
|
},
|
|
4381
4380
|
p
|
|
4382
4381
|
)) }),
|
|
4383
|
-
/* @__PURE__ */ l("thead", { children: /* @__PURE__ */ l("tr", { children:
|
|
4384
|
-
/* @__PURE__ */ l("tbody", { children: n.map((y, p) => y ? /* @__PURE__ */ l("tr", { children:
|
|
4382
|
+
/* @__PURE__ */ l("thead", { children: /* @__PURE__ */ l("tr", { children: r.map((y, p) => /* @__PURE__ */ l("th", { children: y.title }, p)) }) }),
|
|
4383
|
+
/* @__PURE__ */ l("tbody", { children: n.map((y, p) => y ? /* @__PURE__ */ l("tr", { children: r.map((C, F) => {
|
|
4385
4384
|
const q = (d == null ? void 0 : d.rowIndex) === p && (d == null ? void 0 : d.colIndex) === F;
|
|
4386
4385
|
return /* @__PURE__ */ l(
|
|
4387
4386
|
"td",
|
|
4388
4387
|
{
|
|
4389
4388
|
onMouseLeave: q ? E : void 0,
|
|
4390
|
-
children: /* @__PURE__ */ Y("div", { className:
|
|
4389
|
+
children: /* @__PURE__ */ Y("div", { className: f, children: [
|
|
4391
4390
|
/* @__PURE__ */ l("span", { children: C.isColorContentsCurlyBrackets ? j({ row: y, col: C }) : y[C.key] }),
|
|
4392
4391
|
!pn(y[C.key]) && C.isBeCopiedValue && /* @__PURE__ */ l(
|
|
4393
4392
|
ge,
|
|
@@ -4419,7 +4418,7 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4419
4418
|
className: _({
|
|
4420
4419
|
[he.spStringsGroup]: !0
|
|
4421
4420
|
}),
|
|
4422
|
-
children: n.map((y, p) => y ? /* @__PURE__ */ l("div", { children:
|
|
4421
|
+
children: n.map((y, p) => y ? /* @__PURE__ */ l("div", { children: r.map((C, F) => {
|
|
4423
4422
|
if (pn(y[C.key]))
|
|
4424
4423
|
return null;
|
|
4425
4424
|
const q = (d == null ? void 0 : d.rowIndex) === p && (d == null ? void 0 : d.colIndex) === F;
|
|
@@ -4447,7 +4446,7 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4447
4446
|
[he.spStringsGroup__groupItemContent]: !0
|
|
4448
4447
|
}),
|
|
4449
4448
|
children: [
|
|
4450
|
-
/* @__PURE__ */ l("span", { children: y[C.key] }),
|
|
4449
|
+
/* @__PURE__ */ l("span", { children: C.isColorContentsCurlyBrackets ? j({ row: y, col: C }) : y[C.key] }),
|
|
4451
4450
|
C.isBeCopiedValue && /* @__PURE__ */ l(
|
|
4452
4451
|
ge,
|
|
4453
4452
|
{
|
|
@@ -4477,7 +4476,7 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4477
4476
|
}) }, p) : null)
|
|
4478
4477
|
}
|
|
4479
4478
|
) : b();
|
|
4480
|
-
return o ?
|
|
4479
|
+
return o ? a ? O() : V() : O();
|
|
4481
4480
|
}, xs = "_spTabs_1citb_43", gs = "_spTabs_separated_1citb_48", hs = "_spTabs__tabElement_1citb_48", bs = "_spTabs__tabElement_active_1citb_83", ys = "_spTabs__triggerTooltip_1citb_90", Ie = {
|
|
4482
4481
|
spTabs: xs,
|
|
4483
4482
|
spTabs_separated: gs,
|
|
@@ -4548,31 +4547,31 @@ const Rr = (e) => `not ${e}`, Ar = (e, t) => {
|
|
|
4548
4547
|
};
|
|
4549
4548
|
export {
|
|
4550
4549
|
Ss as Accordion,
|
|
4551
|
-
|
|
4552
|
-
|
|
4550
|
+
zo as ApplyButtons,
|
|
4551
|
+
un as BaseTooltip,
|
|
4553
4552
|
yt as Button,
|
|
4554
4553
|
Ns as Checkbox,
|
|
4555
4554
|
js as Confirm,
|
|
4556
4555
|
Rs as ContextMenu,
|
|
4557
|
-
|
|
4556
|
+
yi as DefaultDropzone,
|
|
4558
4557
|
As as Dropdown,
|
|
4559
4558
|
se as EIconName,
|
|
4560
4559
|
re as ETooltipPosition,
|
|
4561
|
-
|
|
4560
|
+
Ai as EllipsisTextWithTooltip,
|
|
4562
4561
|
Ds as Form,
|
|
4563
4562
|
ge as Icon,
|
|
4564
4563
|
Qe as InfoTooltip,
|
|
4565
|
-
|
|
4564
|
+
Xi as Input,
|
|
4566
4565
|
Os as InputFiles,
|
|
4567
4566
|
jt as Label,
|
|
4568
|
-
|
|
4569
|
-
|
|
4567
|
+
na as Layer,
|
|
4568
|
+
lr as MediaContext,
|
|
4570
4569
|
Ps as MediaContextProvider,
|
|
4571
|
-
|
|
4572
|
-
|
|
4570
|
+
fa as Modal,
|
|
4571
|
+
fn as Portal,
|
|
4573
4572
|
Fs as Select,
|
|
4574
4573
|
zs as Skeleton,
|
|
4575
|
-
|
|
4574
|
+
yo as Spinner,
|
|
4576
4575
|
Bs as Table,
|
|
4577
4576
|
Ms as Tabs,
|
|
4578
4577
|
Se as Text,
|