test-stpr-ui-kit 0.4.61 → 0.4.63
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.js +244 -244
- package/dist/test-stpr-ui-kit.umd.cjs +10 -10
- package/package.json +1 -1
package/dist/test-stpr-ui-kit.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as U, jsx as l, Fragment as uo } from "react/jsx-runtime";
|
|
2
2
|
import * as T from "react";
|
|
3
|
-
import
|
|
3
|
+
import Ue, { useState as te, useEffect as ne, useRef as me, useCallback as ge, createContext as _o, useContext as Ho, useMemo as De, useReducer as Vo, forwardRef as Yo, useImperativeHandle as Go, Fragment as Ko, useLayoutEffect as Xo } from "react";
|
|
4
4
|
import Zo from "react-dom";
|
|
5
5
|
import './test-stpr-ui-kit.css';function fo(e) {
|
|
6
6
|
var t, o, n = "";
|
|
@@ -39,21 +39,21 @@ const Qo = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon
|
|
|
39
39
|
file: nn,
|
|
40
40
|
infoError: sn
|
|
41
41
|
};
|
|
42
|
-
return
|
|
42
|
+
return Ue.createElement(i[t], {
|
|
43
43
|
...n,
|
|
44
44
|
style: a
|
|
45
45
|
});
|
|
46
46
|
};
|
|
47
47
|
var pe = /* @__PURE__ */ ((e) => (e.ChevronDown = "chevronDown", e.Info = "info", e.Plus = "plus", e.SelectChevronDown = "selectChevronDown", e.Upload = "upload", e.Trash = "trash", e.Check = "check", e.Copy = "copy", e.Close = "close", e.PlusSquare = "plusSquare", e.PlusCircle = "plusCircle", e.WarningColor = "warningColor", e.Dots = "dots", e.HistoryClock = "historyClock", e.Minus = "minus", e.TerminalSquare = "terminalSquare", e.File = "file", e.InfoError = "infoError", e))(pe || {});
|
|
48
|
-
const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn = "_spAccordion_noPadding_11ek7_60", bn = "_spAccordion_open_11ek7_63", yn = "_spAccordion__header_11ek7_66", wn = "_spAccordion_noOpen_11ek7_74",
|
|
48
|
+
const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn = "_spAccordion_noPadding_11ek7_60", bn = "_spAccordion_open_11ek7_63", yn = "_spAccordion__header_11ek7_66", wn = "_spAccordion_noOpen_11ek7_74", kn = "_spAccordion__name_11ek7_96", Cn = "_spAccordion__name_hiddenExpand_11ek7_107", Tn = "_spAccordion__icon_11ek7_122", Nn = "_spAccordion__icon_hidden_11ek7_128", En = "_spAccordion__icon_open_11ek7_131", Sn = "_spAccordion__childrenWrapper_11ek7_138", Rn = "_spAccordion__childrenWrapper_open_11ek7_147", Fn = "_spAccordion__content_11ek7_150", In = "_spAccordion__content_open_11ek7_156", de = {
|
|
49
49
|
spAccordion: gn,
|
|
50
50
|
spAccordion_noBorder: xn,
|
|
51
51
|
spAccordion_noPadding: hn,
|
|
52
52
|
spAccordion_open: bn,
|
|
53
53
|
spAccordion__header: yn,
|
|
54
54
|
spAccordion_noOpen: wn,
|
|
55
|
-
spAccordion__name:
|
|
56
|
-
spAccordion__name_hiddenExpand:
|
|
55
|
+
spAccordion__name: kn,
|
|
56
|
+
spAccordion__name_hiddenExpand: Cn,
|
|
57
57
|
"spAccordion__name--level-1": "_spAccordion__name--level-1_11ek7_111",
|
|
58
58
|
"spAccordion__name--level-2": "_spAccordion__name--level-2_11ek7_114",
|
|
59
59
|
spAccordion__icon: Tn,
|
|
@@ -78,8 +78,8 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
78
78
|
classNameTitle: u,
|
|
79
79
|
classNameIcon: g,
|
|
80
80
|
classNameChildrenWrapper: h
|
|
81
|
-
} = e, [w,
|
|
82
|
-
a || (
|
|
81
|
+
} = e, [w, k] = te(n), R = () => {
|
|
82
|
+
a || (k(!w), i == null || i(!w));
|
|
83
83
|
}, W = f({
|
|
84
84
|
[de.spAccordion]: !0,
|
|
85
85
|
[de.spAccordion_open]: w,
|
|
@@ -87,7 +87,7 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
87
87
|
[de.spAccordion_noBorder]: r,
|
|
88
88
|
[de.spAccordion_noPadding]: s,
|
|
89
89
|
...p && { [p]: !0 }
|
|
90
|
-
}),
|
|
90
|
+
}), q = f({
|
|
91
91
|
[de.spAccordion__header]: !0,
|
|
92
92
|
..._ && { [_]: !0 }
|
|
93
93
|
}), A = f({
|
|
@@ -108,8 +108,8 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
108
108
|
[de.spAccordion__content]: !0,
|
|
109
109
|
[de.spAccordion__content_open]: w
|
|
110
110
|
});
|
|
111
|
-
return /* @__PURE__ */
|
|
112
|
-
/* @__PURE__ */
|
|
111
|
+
return /* @__PURE__ */ U("div", { className: W, children: [
|
|
112
|
+
/* @__PURE__ */ U("div", { className: q, children: [
|
|
113
113
|
/* @__PURE__ */ l("div", { className: A, children: /* @__PURE__ */ l("span", { onClick: R, children: t }) }),
|
|
114
114
|
/* @__PURE__ */ l(xe, { onClick: R, className: b, name: pe.ChevronDown })
|
|
115
115
|
] }),
|
|
@@ -135,7 +135,7 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
135
135
|
children: /* @__PURE__ */ l("div", { className: ct.spinner__inner })
|
|
136
136
|
}
|
|
137
137
|
);
|
|
138
|
-
}, Ln = "_spButton_zixup_43", Dn = "_spButton_noPadding_zixup_59", Pn = "_spButton_onlyIcon_zixup_62", On = "_spButton__iconContainer_zixup_70", Bn = "_spButton_link_zixup_73", Wn = "_spButton__text_zixup_77", zn = "_spButton_primary_zixup_89", Mn = "_spButton_blue_zixup_89",
|
|
138
|
+
}, Ln = "_spButton_zixup_43", Dn = "_spButton_noPadding_zixup_59", Pn = "_spButton_onlyIcon_zixup_62", On = "_spButton__iconContainer_zixup_70", Bn = "_spButton_link_zixup_73", Wn = "_spButton__text_zixup_77", zn = "_spButton_primary_zixup_89", Mn = "_spButton_blue_zixup_89", Un = "_spButton_white_zixup_99", qn = "_spButton_secondary_zixup_109", $n = "_spButton_fullWidth_zixup_129", Hn = "_spButton_disabled_zixup_132", Vn = "_spButton__spinner_zixup_141", we = {
|
|
139
139
|
spButton: Ln,
|
|
140
140
|
spButton_noPadding: Dn,
|
|
141
141
|
spButton_onlyIcon: Pn,
|
|
@@ -144,12 +144,12 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
144
144
|
spButton__text: Wn,
|
|
145
145
|
spButton_primary: zn,
|
|
146
146
|
spButton_blue: Mn,
|
|
147
|
-
spButton_white:
|
|
148
|
-
spButton_secondary:
|
|
147
|
+
spButton_white: Un,
|
|
148
|
+
spButton_secondary: qn,
|
|
149
149
|
spButton_fullWidth: $n,
|
|
150
150
|
spButton_disabled: Hn,
|
|
151
151
|
spButton__spinner: Vn
|
|
152
|
-
},
|
|
152
|
+
}, Ct = (e) => {
|
|
153
153
|
const {
|
|
154
154
|
color: t = "blue",
|
|
155
155
|
variant: o = "primary",
|
|
@@ -165,18 +165,18 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
165
165
|
isFullWidth: g = !1,
|
|
166
166
|
isOnlyIcon: h = !1,
|
|
167
167
|
noPadding: w = !1,
|
|
168
|
-
classNameRoot:
|
|
168
|
+
classNameRoot: k,
|
|
169
169
|
classNameIconContainerRoot: R
|
|
170
170
|
} = e, W = (b) => {
|
|
171
171
|
s || a == null || a(b);
|
|
172
|
-
},
|
|
172
|
+
}, q = () => {
|
|
173
173
|
const b = f({
|
|
174
174
|
[we.spButton__text]: !0
|
|
175
175
|
}), m = f({
|
|
176
176
|
[we.spButton__iconContainer]: !0,
|
|
177
177
|
...R && { [R]: !0 }
|
|
178
178
|
});
|
|
179
|
-
return /* @__PURE__ */
|
|
179
|
+
return /* @__PURE__ */ U(uo, { children: [
|
|
180
180
|
(i || u) && /* @__PURE__ */ l("div", { className: m, children: u ? /* @__PURE__ */ l(vo, { classNameRoot: we.spButton__spinner }) : i && /* @__PURE__ */ l(xe, { name: i, rotate: r }) }),
|
|
181
181
|
!h && _ && /* @__PURE__ */ l("div", { className: b, children: _ })
|
|
182
182
|
] });
|
|
@@ -189,7 +189,7 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
189
189
|
[we.spButton_fullWidth]: g,
|
|
190
190
|
[we.spButton_disabled]: s,
|
|
191
191
|
[we.spButton_loading]: u,
|
|
192
|
-
...
|
|
192
|
+
...k && { [k]: !0 }
|
|
193
193
|
});
|
|
194
194
|
return /* @__PURE__ */ l(
|
|
195
195
|
"button",
|
|
@@ -200,7 +200,7 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
200
200
|
disabled: s,
|
|
201
201
|
type: d,
|
|
202
202
|
form: p,
|
|
203
|
-
children:
|
|
203
|
+
children: q()
|
|
204
204
|
}
|
|
205
205
|
);
|
|
206
206
|
}, Yn = "_spApplyButtons_e8c1h_43", Gn = "_spApplyButtons__cancel_e8c1h_65", Kn = "_spApplyButtons__submit_e8c1h_68", We = {
|
|
@@ -233,9 +233,9 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
233
233
|
}), w = f({
|
|
234
234
|
[We.spApplyButtons__cancel]: !0
|
|
235
235
|
});
|
|
236
|
-
return /* @__PURE__ */
|
|
236
|
+
return /* @__PURE__ */ U("div", { className: g, children: [
|
|
237
237
|
n && p && /* @__PURE__ */ l(
|
|
238
|
-
|
|
238
|
+
Ct,
|
|
239
239
|
{
|
|
240
240
|
type: "button",
|
|
241
241
|
variant: "secondary",
|
|
@@ -247,7 +247,7 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
247
247
|
}
|
|
248
248
|
),
|
|
249
249
|
r && /* @__PURE__ */ l(
|
|
250
|
-
|
|
250
|
+
Ct,
|
|
251
251
|
{
|
|
252
252
|
type: "submit",
|
|
253
253
|
variant: "primary",
|
|
@@ -264,7 +264,7 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
264
264
|
spBaseTooltip: Zn,
|
|
265
265
|
spBaseTooltip_noPadding: Qn,
|
|
266
266
|
spBaseTooltip__content: Jn
|
|
267
|
-
}, go =
|
|
267
|
+
}, go = Ue.forwardRef((e, t) => {
|
|
268
268
|
const {
|
|
269
269
|
text: o,
|
|
270
270
|
noPadding: n = !1,
|
|
@@ -326,66 +326,66 @@ const et = (e) => {
|
|
|
326
326
|
classNameTooltip: g,
|
|
327
327
|
classNameBaseTooltipRoot: h,
|
|
328
328
|
classNameBaseTooltipContentRoot: w,
|
|
329
|
-
styleTooltip:
|
|
330
|
-
} = e, [R, W] = te(!1),
|
|
329
|
+
styleTooltip: k
|
|
330
|
+
} = e, [R, W] = te(!1), q = me(null), A = me(null), [b, m] = te(!1);
|
|
331
331
|
xo(
|
|
332
|
-
[
|
|
332
|
+
[q, A],
|
|
333
333
|
() => {
|
|
334
334
|
s && s(), W(!1);
|
|
335
335
|
},
|
|
336
336
|
R
|
|
337
337
|
);
|
|
338
|
-
const F = (
|
|
339
|
-
n &&
|
|
338
|
+
const F = (C) => {
|
|
339
|
+
n && C.stopPropagation(), !t && (R ? s && s() : r && r(), W(($) => o ? !$ : !0));
|
|
340
340
|
}, [P, O] = te({
|
|
341
341
|
visibility: "hidden",
|
|
342
342
|
opacity: 0,
|
|
343
343
|
left: "-9999px"
|
|
344
344
|
}), [Z, ie] = te(!1), re = ge(() => {
|
|
345
|
-
if (!
|
|
346
|
-
const
|
|
345
|
+
if (!q.current || !A.current) return;
|
|
346
|
+
const C = q.current.getBoundingClientRect(), $ = A.current.getBoundingClientRect();
|
|
347
347
|
let z = 0, c = 0;
|
|
348
348
|
switch (p) {
|
|
349
349
|
case le.Right:
|
|
350
|
-
z =
|
|
350
|
+
z = C.top + window.scrollY - ($.height - C.height) / 2, c = C.right + window.scrollX;
|
|
351
351
|
break;
|
|
352
352
|
case le.RightTop:
|
|
353
|
-
z =
|
|
353
|
+
z = C.top + window.scrollY, c = C.right + window.scrollX;
|
|
354
354
|
break;
|
|
355
355
|
case le.RightBottom:
|
|
356
|
-
z =
|
|
356
|
+
z = C.bottom + window.scrollY - $.height, c = C.right + window.scrollX;
|
|
357
357
|
break;
|
|
358
358
|
case le.Left:
|
|
359
|
-
z =
|
|
359
|
+
z = C.top + window.scrollY - ($.height - C.height) / 2, c = C.left + window.scrollX - $.width;
|
|
360
360
|
break;
|
|
361
361
|
case le.LeftTop:
|
|
362
|
-
z =
|
|
362
|
+
z = C.top + window.scrollY, c = C.left + window.scrollX - $.width;
|
|
363
363
|
break;
|
|
364
364
|
case le.LeftBottom:
|
|
365
|
-
z =
|
|
365
|
+
z = C.bottom + window.scrollY - $.height, c = C.left + window.scrollX - $.width;
|
|
366
366
|
break;
|
|
367
367
|
case le.Bottom:
|
|
368
|
-
z =
|
|
368
|
+
z = C.bottom + window.scrollY, c = C.left + window.scrollX - ($.width - C.width) / 2;
|
|
369
369
|
break;
|
|
370
370
|
case le.BottomLeft:
|
|
371
|
-
z =
|
|
371
|
+
z = C.bottom + window.scrollY, c = C.left + window.scrollX;
|
|
372
372
|
break;
|
|
373
373
|
case le.BottomRight:
|
|
374
|
-
z =
|
|
374
|
+
z = C.bottom + window.scrollY, c = C.right + window.scrollX - $.width;
|
|
375
375
|
break;
|
|
376
376
|
case le.Top:
|
|
377
|
-
z =
|
|
377
|
+
z = C.top + window.scrollY - $.height, c = C.left + window.scrollX - ($.width - C.width) / 2;
|
|
378
378
|
break;
|
|
379
379
|
case le.TopLeft:
|
|
380
|
-
z =
|
|
380
|
+
z = C.top + window.scrollY - $.height, c = C.left + window.scrollX;
|
|
381
381
|
break;
|
|
382
382
|
case le.TopRight:
|
|
383
|
-
z =
|
|
383
|
+
z = C.top + window.scrollY - $.height, c = C.right + window.scrollX - $.width;
|
|
384
384
|
break;
|
|
385
385
|
default:
|
|
386
|
-
z =
|
|
386
|
+
z = C.bottom + window.scrollY, c = C.left + window.scrollX;
|
|
387
387
|
}
|
|
388
|
-
z + $.height > window.innerHeight + window.scrollY && p.includes("bottom") ? z =
|
|
388
|
+
z + $.height > window.innerHeight + window.scrollY && p.includes("bottom") ? z = C.top + window.scrollY - $.height : z < window.scrollY && p.includes("top") && (z = C.bottom + window.scrollY), c + $.width > window.innerWidth + window.scrollX && p.includes("left") ? c = C.left + window.scrollX - $.width + C.width : c < window.scrollX && p.includes("right") && (c = C.right + window.scrollX - C.width), O((v) => ({
|
|
389
389
|
...v,
|
|
390
390
|
top: `${z}px`,
|
|
391
391
|
left: `${c}px`,
|
|
@@ -397,9 +397,9 @@ const et = (e) => {
|
|
|
397
397
|
b && re();
|
|
398
398
|
}, [b, re]), ne(() => {
|
|
399
399
|
if (!b) return;
|
|
400
|
-
const
|
|
401
|
-
return window.addEventListener("resize",
|
|
402
|
-
window.removeEventListener("resize",
|
|
400
|
+
const C = () => re();
|
|
401
|
+
return window.addEventListener("resize", C), window.addEventListener("scroll", C, !0), () => {
|
|
402
|
+
window.removeEventListener("resize", C), window.removeEventListener("scroll", C, !0);
|
|
403
403
|
};
|
|
404
404
|
}, [b, re]);
|
|
405
405
|
const ue = f({
|
|
@@ -413,16 +413,16 @@ const et = (e) => {
|
|
|
413
413
|
[Ot.spTooltip__trigger]: !0,
|
|
414
414
|
...d && { [d]: !0 }
|
|
415
415
|
}), Q = document.body;
|
|
416
|
-
return /* @__PURE__ */
|
|
416
|
+
return /* @__PURE__ */ U(
|
|
417
417
|
"div",
|
|
418
418
|
{
|
|
419
419
|
className: ue,
|
|
420
420
|
onClick: F,
|
|
421
421
|
onMouseEnter: () => t && ie(!0),
|
|
422
422
|
onMouseLeave: () => t && ie(!1),
|
|
423
|
-
style:
|
|
423
|
+
style: k,
|
|
424
424
|
children: [
|
|
425
|
-
/* @__PURE__ */ l("div", { ref:
|
|
425
|
+
/* @__PURE__ */ l("div", { ref: q, className: J, children: i }),
|
|
426
426
|
a && /* @__PURE__ */ l(ho, { node: Q, children: /* @__PURE__ */ l(
|
|
427
427
|
go,
|
|
428
428
|
{
|
|
@@ -437,7 +437,7 @@ const et = (e) => {
|
|
|
437
437
|
]
|
|
438
438
|
}
|
|
439
439
|
);
|
|
440
|
-
}, tt = (e) => /* @__PURE__ */ l(et, { ...e, hover: !0, trigger: /* @__PURE__ */ l(xe, { name: pe.Info }) }), oa = "_spCheckbox_uc4g8_43", na = "_spCheckbox__control_uc4g8_49", aa = "_spCheckbox__label_uc4g8_52", ia = "_spCheckbox__box_uc4g8_63", ra = "_spCheckbox__box_checked_uc4g8_90", sa = "_spCheckbox__box_disabled_uc4g8_100", pa = "_spCheckbox__box_error_uc4g8_111", la = "_spCheckbox__tooltip_uc4g8_114", ca = "_spCheckbox__required_uc4g8_119", da = "_spCheckbox__error_uc4g8_125",
|
|
440
|
+
}, tt = (e) => /* @__PURE__ */ l(et, { ...e, hover: !0, trigger: /* @__PURE__ */ l(xe, { name: pe.Info }) }), oa = "_spCheckbox_uc4g8_43", na = "_spCheckbox__control_uc4g8_49", aa = "_spCheckbox__label_uc4g8_52", ia = "_spCheckbox__box_uc4g8_63", ra = "_spCheckbox__box_checked_uc4g8_90", sa = "_spCheckbox__box_disabled_uc4g8_100", pa = "_spCheckbox__box_error_uc4g8_111", la = "_spCheckbox__tooltip_uc4g8_114", ca = "_spCheckbox__required_uc4g8_119", da = "_spCheckbox__error_uc4g8_125", ke = {
|
|
441
441
|
spCheckbox: oa,
|
|
442
442
|
spCheckbox__control: na,
|
|
443
443
|
spCheckbox__label: aa,
|
|
@@ -466,29 +466,29 @@ const et = (e) => {
|
|
|
466
466
|
onMouseEnter: g,
|
|
467
467
|
classNameRoot: h,
|
|
468
468
|
classNameError: w
|
|
469
|
-
} = e,
|
|
470
|
-
[
|
|
469
|
+
} = e, k = f({
|
|
470
|
+
[ke.spCheckbox]: !0,
|
|
471
471
|
...h && { [h]: !0 }
|
|
472
472
|
}), R = f({
|
|
473
|
-
[
|
|
474
|
-
[
|
|
475
|
-
[
|
|
476
|
-
[
|
|
477
|
-
[
|
|
473
|
+
[ke.spCheckbox__box]: !0,
|
|
474
|
+
[ke.spCheckbox__box_checked]: o,
|
|
475
|
+
[ke.spCheckbox__box_disabled]: n,
|
|
476
|
+
[ke[`spCheckbox__box--size-${t}`]]: t,
|
|
477
|
+
[ke.spCheckbox__box_error]: s
|
|
478
478
|
}), W = f({
|
|
479
|
-
[
|
|
480
|
-
}),
|
|
481
|
-
[
|
|
479
|
+
[ke.spCheckbox__control]: !0
|
|
480
|
+
}), q = f({
|
|
481
|
+
[ke.spCheckbox__label]: !0
|
|
482
482
|
}), A = f({
|
|
483
|
-
[
|
|
483
|
+
[ke.spCheckbox__required]: !0
|
|
484
484
|
}), b = f({
|
|
485
|
-
[
|
|
485
|
+
[ke.spCheckbox__error]: !0,
|
|
486
486
|
...w && { [w]: !0 }
|
|
487
487
|
}), m = f({
|
|
488
|
-
[
|
|
488
|
+
[ke.spCheckbox__tooltip]: !0
|
|
489
489
|
});
|
|
490
|
-
return /* @__PURE__ */
|
|
491
|
-
/* @__PURE__ */
|
|
490
|
+
return /* @__PURE__ */ U("div", { className: k, onMouseEnter: g, children: [
|
|
491
|
+
/* @__PURE__ */ U("label", { className: R, children: [
|
|
492
492
|
/* @__PURE__ */ l(
|
|
493
493
|
"input",
|
|
494
494
|
{
|
|
@@ -500,7 +500,7 @@ const et = (e) => {
|
|
|
500
500
|
}
|
|
501
501
|
}
|
|
502
502
|
),
|
|
503
|
-
r && /* @__PURE__ */ l("span", { className:
|
|
503
|
+
r && /* @__PURE__ */ l("span", { className: q, children: r }),
|
|
504
504
|
p && /* @__PURE__ */ l("div", { className: A, children: "*" }),
|
|
505
505
|
u && /* @__PURE__ */ l("div", { className: m, children: /* @__PURE__ */ l(tt, { position: _, text: u }) })
|
|
506
506
|
] }),
|
|
@@ -543,7 +543,7 @@ const et = (e) => {
|
|
|
543
543
|
"spText_type-description": "_spText_type-description_1gech_92",
|
|
544
544
|
"spText_type-link": "_spText_type-link_1gech_100",
|
|
545
545
|
spText_cursorPointer: ga
|
|
546
|
-
}, Ne =
|
|
546
|
+
}, Ne = Ue.forwardRef((e, t) => {
|
|
547
547
|
const {
|
|
548
548
|
type: o,
|
|
549
549
|
children: n,
|
|
@@ -575,7 +575,7 @@ const et = (e) => {
|
|
|
575
575
|
);
|
|
576
576
|
});
|
|
577
577
|
Ne.displayName = "Text";
|
|
578
|
-
const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba = "_modalWrapper__content_1qgyc_92", ya = "_modalWrapper__header_1qgyc_95", wa = "_modalWrapper__subHeader_1qgyc_103",
|
|
578
|
+
const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba = "_modalWrapper__content_1qgyc_92", ya = "_modalWrapper__header_1qgyc_95", wa = "_modalWrapper__subHeader_1qgyc_103", ka = "_modalWrapper__subHeader_onlySubHeader_1qgyc_111", Ca = "_modalWrapper__footer_1qgyc_114", Ta = "_modalWrapper__closeButton_1qgyc_117", ve = {
|
|
579
579
|
modalWrapper: xa,
|
|
580
580
|
"modalWrapper--modalAlign-top": "_modalWrapper--modalAlign-top_1qgyc_48",
|
|
581
581
|
"modalWrapper--modalAlign-center": "_modalWrapper--modalAlign-center_1qgyc_51",
|
|
@@ -588,8 +588,8 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
588
588
|
modalWrapper__content: ba,
|
|
589
589
|
modalWrapper__header: ya,
|
|
590
590
|
modalWrapper__subHeader: wa,
|
|
591
|
-
modalWrapper__subHeader_onlySubHeader:
|
|
592
|
-
modalWrapper__footer:
|
|
591
|
+
modalWrapper__subHeader_onlySubHeader: ka,
|
|
592
|
+
modalWrapper__footer: Ca,
|
|
593
593
|
modalWrapper__closeButton: Ta,
|
|
594
594
|
"modalWrapper__closeButton--size-lg": "_modalWrapper__closeButton--size-lg_1qgyc_126",
|
|
595
595
|
"modalWrapper__closeButton--size-md": "_modalWrapper__closeButton--size-md_1qgyc_130",
|
|
@@ -611,7 +611,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
611
611
|
subHeader: g,
|
|
612
612
|
footer: h,
|
|
613
613
|
size: w = "lg"
|
|
614
|
-
} = e,
|
|
614
|
+
} = e, k = f({
|
|
615
615
|
[ve.modalWrapper]: !0,
|
|
616
616
|
[ve[`modalWrapper--modalAlign-${d}`]]: d,
|
|
617
617
|
[ve[`modalWrapper--textAlign-${p}`]]: p
|
|
@@ -622,7 +622,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
622
622
|
}), W = f({
|
|
623
623
|
[ve.modalWrapper__closeButton]: !0,
|
|
624
624
|
[ve[`modalWrapper__closeButton--size-${w}`]]: w
|
|
625
|
-
}),
|
|
625
|
+
}), q = f({
|
|
626
626
|
[ve.modalWrapper__closeButtonIconContainer]: !0,
|
|
627
627
|
[ve[`modalWrapper__closeButtonIconContainer--size-${w}`]]: w
|
|
628
628
|
}), A = f({
|
|
@@ -640,18 +640,18 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
640
640
|
return O.style.position = "fixed", O.style.top = `-${P}px`, O.style.left = "0", O.style.right = "0", O.style.overflow = "hidden", () => {
|
|
641
641
|
O.style.position = "", O.style.top = "", O.style.left = "", O.style.right = "", O.style.overflow = "", window.scrollTo(0, P);
|
|
642
642
|
};
|
|
643
|
-
}, []), /* @__PURE__ */ l(_a, { zIndex: t, isHiddenModal: o, classNameRoot: i, children: /* @__PURE__ */ l("div", { className:
|
|
644
|
-
(u || g) && /* @__PURE__ */
|
|
643
|
+
}, []), /* @__PURE__ */ l(_a, { zIndex: t, isHiddenModal: o, classNameRoot: i, children: /* @__PURE__ */ l("div", { className: k, children: /* @__PURE__ */ U("div", { className: R, style: s, children: [
|
|
644
|
+
(u || g) && /* @__PURE__ */ U("div", { className: b, children: [
|
|
645
645
|
typeof u == "string" ? /* @__PURE__ */ l(Ne, { type: "h3", children: u }) : u,
|
|
646
646
|
g && /* @__PURE__ */ l("div", { className: m, children: typeof g == "string" ? /* @__PURE__ */ l(Ne, { children: g }) : g })
|
|
647
647
|
] }),
|
|
648
648
|
a && /* @__PURE__ */ l("div", { className: A, children: a }),
|
|
649
649
|
h && /* @__PURE__ */ l("div", { className: F, children: h }),
|
|
650
650
|
n && _ && /* @__PURE__ */ l(
|
|
651
|
-
|
|
651
|
+
Ct,
|
|
652
652
|
{
|
|
653
653
|
classNameRoot: W,
|
|
654
|
-
classNameIconContainerRoot:
|
|
654
|
+
classNameIconContainerRoot: q,
|
|
655
655
|
onClick: _,
|
|
656
656
|
iconName: pe.Close,
|
|
657
657
|
variant: "link",
|
|
@@ -676,10 +676,10 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
676
676
|
mobile: g = "column",
|
|
677
677
|
align: h = "right",
|
|
678
678
|
modalAlign: w = "top",
|
|
679
|
-
textAlign:
|
|
679
|
+
textAlign: k = "left",
|
|
680
680
|
loading: R,
|
|
681
681
|
isVisibleCloseButton: W,
|
|
682
|
-
isHiddenModal:
|
|
682
|
+
isHiddenModal: q,
|
|
683
683
|
size: A
|
|
684
684
|
} = e;
|
|
685
685
|
return /* @__PURE__ */ l(
|
|
@@ -689,10 +689,10 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
689
689
|
header: o,
|
|
690
690
|
onClose: u,
|
|
691
691
|
modalAlign: w,
|
|
692
|
-
textAlign:
|
|
692
|
+
textAlign: k,
|
|
693
693
|
subHeader: n,
|
|
694
694
|
isVisibleCloseButton: W,
|
|
695
|
-
isHiddenModal:
|
|
695
|
+
isHiddenModal: q,
|
|
696
696
|
size: A,
|
|
697
697
|
footer: a || s ? /* @__PURE__ */ l(
|
|
698
698
|
Xn,
|
|
@@ -723,7 +723,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
723
723
|
});
|
|
724
724
|
return /* @__PURE__ */ l("ul", { className: a, children: o == null ? void 0 : o.map((i) => {
|
|
725
725
|
const r = i.key === "delete";
|
|
726
|
-
return /* @__PURE__ */
|
|
726
|
+
return /* @__PURE__ */ U(
|
|
727
727
|
"li",
|
|
728
728
|
{
|
|
729
729
|
className: f({
|
|
@@ -743,7 +743,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
743
743
|
}) });
|
|
744
744
|
}, Fa = (e) => {
|
|
745
745
|
const { getRootProps: t, children: o, disabled: n, name: a, getInputProps: i } = e;
|
|
746
|
-
return /* @__PURE__ */
|
|
746
|
+
return /* @__PURE__ */ U("div", { ...t({}), style: { minHeight: "100%", minWidth: "100%" }, children: [
|
|
747
747
|
/* @__PURE__ */ l("input", { ...i({}), disabled: n, name: a }),
|
|
748
748
|
o
|
|
749
749
|
] });
|
|
@@ -756,7 +756,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
756
756
|
spDropdown__dopdownListItem: Pa,
|
|
757
757
|
spDropdown__dopdownListItem_textCenter: Oa,
|
|
758
758
|
spDropdown__downloadListItemDescription: Ba
|
|
759
|
-
},
|
|
759
|
+
}, kp = (e) => {
|
|
760
760
|
const {
|
|
761
761
|
labelText: t = "Выпадающий список",
|
|
762
762
|
listName: o,
|
|
@@ -783,19 +783,19 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
783
783
|
hover: !1,
|
|
784
784
|
triggerAction: () => h(!0),
|
|
785
785
|
actionOnClose: () => h(!1),
|
|
786
|
-
text: /* @__PURE__ */
|
|
786
|
+
text: /* @__PURE__ */ U("div", { className: p, children: [
|
|
787
787
|
o && /* @__PURE__ */ l("div", { className: _, children: o }),
|
|
788
|
-
n.map((
|
|
788
|
+
n.map((k, R) => /* @__PURE__ */ U(
|
|
789
789
|
"div",
|
|
790
790
|
{
|
|
791
791
|
className: f({
|
|
792
792
|
[Ee.spDropdown__dopdownListItem]: !0,
|
|
793
|
-
[Ee.spDropdown__dopdownListItem_textCenter]:
|
|
793
|
+
[Ee.spDropdown__dopdownListItem_textCenter]: k.textCenter
|
|
794
794
|
}),
|
|
795
|
-
onClick:
|
|
795
|
+
onClick: k.onClick,
|
|
796
796
|
children: [
|
|
797
|
-
|
|
798
|
-
|
|
797
|
+
k.name,
|
|
798
|
+
k.description && /* @__PURE__ */ l("span", { className: u, children: k.description })
|
|
799
799
|
]
|
|
800
800
|
},
|
|
801
801
|
R
|
|
@@ -805,7 +805,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
805
805
|
noPadding: !0,
|
|
806
806
|
isToggleClick: !0,
|
|
807
807
|
isStopPropagationClickOnTrigger: !0,
|
|
808
|
-
trigger: /* @__PURE__ */
|
|
808
|
+
trigger: /* @__PURE__ */ U("div", { className: r, children: [
|
|
809
809
|
/* @__PURE__ */ l("div", { className: s, children: t }),
|
|
810
810
|
/* @__PURE__ */ l("div", { className: d, children: /* @__PURE__ */ l(xe, { name: pe.SelectChevronDown, rotate: g ? 180 : void 0 }) })
|
|
811
811
|
] })
|
|
@@ -848,13 +848,13 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
848
848
|
trigger: /* @__PURE__ */ l(Ne, { ...s, classNameRoot: u, isEllipsis: !0, ref: d, children: t })
|
|
849
849
|
}
|
|
850
850
|
);
|
|
851
|
-
}, Ma = "_spForm_zefbj_43",
|
|
851
|
+
}, Ma = "_spForm_zefbj_43", Ua = "_spForm_fullWidth_zefbj_46", qa = "_spForm_withSeparator_zefbj_49", ze = {
|
|
852
852
|
spForm: Ma,
|
|
853
|
-
spForm_fullWidth:
|
|
854
|
-
spForm_withSeparator:
|
|
853
|
+
spForm_fullWidth: Ua,
|
|
854
|
+
spForm_withSeparator: qa,
|
|
855
855
|
"spForm_addMargin--size-lg": "_spForm_addMargin--size-lg_zefbj_67",
|
|
856
856
|
"spForm_addMargin--size-md": "_spForm_addMargin--size-md_zefbj_75"
|
|
857
|
-
},
|
|
857
|
+
}, Cp = (e) => {
|
|
858
858
|
const {
|
|
859
859
|
size: t = "lg",
|
|
860
860
|
children: o,
|
|
@@ -898,7 +898,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
898
898
|
}), _ = f({
|
|
899
899
|
[Ge.spLabel__tooltip]: !0
|
|
900
900
|
});
|
|
901
|
-
return /* @__PURE__ */
|
|
901
|
+
return /* @__PURE__ */ U("div", { className: s, children: [
|
|
902
902
|
/* @__PURE__ */ l("label", { className: d, children: o }),
|
|
903
903
|
t && /* @__PURE__ */ l("div", { className: p, children: "*" }),
|
|
904
904
|
n && /* @__PURE__ */ l("div", { className: _, children: /* @__PURE__ */ l(
|
|
@@ -910,7 +910,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
910
910
|
}
|
|
911
911
|
) })
|
|
912
912
|
] });
|
|
913
|
-
}, Ga = "_spInput_l89ke_43", Ka = "_spInput_error_l89ke_48", Xa = "_spInput__control_l89ke_48", Za = "_spInput_absolutePositionError_l89ke_55", Qa = "_spInput__container_l89ke_58", Ja = "_spInput__control_filled_l89ke_77", ei = "_spInput__control_outlined_l89ke_81", ti = "_spInput__control_disabled_l89ke_85", oi = "_spInput__control_clearable_l89ke_89", ni = "_spInput__clear_l89ke_116", ai = "_spInput__error_l89ke_125", ii = "_spInput__error_absolutePosition_l89ke_132",
|
|
913
|
+
}, Ga = "_spInput_l89ke_43", Ka = "_spInput_error_l89ke_48", Xa = "_spInput__control_l89ke_48", Za = "_spInput_absolutePositionError_l89ke_55", Qa = "_spInput__container_l89ke_58", Ja = "_spInput__control_filled_l89ke_77", ei = "_spInput__control_outlined_l89ke_81", ti = "_spInput__control_disabled_l89ke_85", oi = "_spInput__control_clearable_l89ke_89", ni = "_spInput__clear_l89ke_116", ai = "_spInput__error_l89ke_125", ii = "_spInput__error_absolutePosition_l89ke_132", Ce = {
|
|
914
914
|
spInput: Ga,
|
|
915
915
|
spInput_error: Ka,
|
|
916
916
|
spInput__control: Xa,
|
|
@@ -923,7 +923,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
923
923
|
spInput__clear: ni,
|
|
924
924
|
spInput__error: ai,
|
|
925
925
|
spInput__error_absolutePosition: ii
|
|
926
|
-
}, ri =
|
|
926
|
+
}, ri = Ue.forwardRef((e, t) => {
|
|
927
927
|
const {
|
|
928
928
|
value: o,
|
|
929
929
|
onChange: n,
|
|
@@ -938,53 +938,53 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
938
938
|
pattern: g,
|
|
939
939
|
onMouseEnter: h,
|
|
940
940
|
infoTooltipText: w,
|
|
941
|
-
tooltipPosition:
|
|
941
|
+
tooltipPosition: k,
|
|
942
942
|
isVisibleDefaultTitle: R = !0,
|
|
943
943
|
placeholder: W = "Введите...",
|
|
944
|
-
classNameRoot:
|
|
944
|
+
classNameRoot: q,
|
|
945
945
|
classNameError: A,
|
|
946
946
|
classNameLabel: b,
|
|
947
947
|
classNameBaseTooltipRoot: m,
|
|
948
948
|
...F
|
|
949
949
|
} = e, P = f({
|
|
950
|
-
[
|
|
951
|
-
[
|
|
952
|
-
[
|
|
953
|
-
...
|
|
950
|
+
[Ce.spInput]: !0,
|
|
951
|
+
[Ce.spInput_error]: !!d,
|
|
952
|
+
[Ce.spInput_absolutePositionError]: s,
|
|
953
|
+
...q && { [q]: !0 }
|
|
954
954
|
}), O = f({
|
|
955
|
-
[
|
|
955
|
+
[Ce.spInput__container]: !0
|
|
956
956
|
}), Z = f({
|
|
957
|
-
[
|
|
958
|
-
[
|
|
959
|
-
[
|
|
960
|
-
[
|
|
957
|
+
[Ce.spInput__control]: !0,
|
|
958
|
+
[Ce.spInput__control_disabled]: r,
|
|
959
|
+
[Ce[`spInput__control_${i}`]]: i,
|
|
960
|
+
[Ce.spInput__control_clearable]: u
|
|
961
961
|
}), ie = f({
|
|
962
|
-
[
|
|
962
|
+
[Ce.spInput__clear]: !0
|
|
963
963
|
}), re = f({
|
|
964
|
-
[
|
|
965
|
-
[
|
|
964
|
+
[Ce.spInput__error]: !0,
|
|
965
|
+
[Ce.spInput__error_absolutePosition]: s,
|
|
966
966
|
...A && { [A]: !0 }
|
|
967
967
|
}), ue = f({
|
|
968
968
|
...b && { [b]: !0 }
|
|
969
969
|
}), ce = (Q) => {
|
|
970
970
|
n(Q, { name: _, value: "" });
|
|
971
971
|
}, G = (Q) => {
|
|
972
|
-
const { value:
|
|
973
|
-
g &&
|
|
972
|
+
const { value: C, name: $ } = Q.target;
|
|
973
|
+
g && C && !new RegExp(g).test(C) || n(Q, { value: C, name: $ });
|
|
974
974
|
};
|
|
975
|
-
return /* @__PURE__ */
|
|
975
|
+
return /* @__PURE__ */ U("div", { className: P, children: [
|
|
976
976
|
a && /* @__PURE__ */ l(
|
|
977
977
|
jt,
|
|
978
978
|
{
|
|
979
979
|
classNameRoot: ue,
|
|
980
|
-
tooltipPosition:
|
|
980
|
+
tooltipPosition: k,
|
|
981
981
|
required: p,
|
|
982
982
|
label: a,
|
|
983
983
|
infoTooltipText: w,
|
|
984
984
|
classNameBaseTooltipRoot: m
|
|
985
985
|
}
|
|
986
986
|
),
|
|
987
|
-
/* @__PURE__ */
|
|
987
|
+
/* @__PURE__ */ U("div", { className: O, onMouseEnter: h, children: [
|
|
988
988
|
/* @__PURE__ */ l(
|
|
989
989
|
"input",
|
|
990
990
|
{
|
|
@@ -1036,7 +1036,7 @@ function ui(e, t) {
|
|
|
1036
1036
|
case "height":
|
|
1037
1037
|
case "device-width":
|
|
1038
1038
|
case "device-height":
|
|
1039
|
-
p =
|
|
1039
|
+
p = Ut(p), _ = Ut(_);
|
|
1040
1040
|
break;
|
|
1041
1041
|
case "resolution":
|
|
1042
1042
|
p = Mt(p), _ = Mt(_);
|
|
@@ -1095,7 +1095,7 @@ function Mt(e) {
|
|
|
1095
1095
|
return t;
|
|
1096
1096
|
}
|
|
1097
1097
|
}
|
|
1098
|
-
function
|
|
1098
|
+
function Ut(e) {
|
|
1099
1099
|
var t = parseFloat(e), o = String(e).match(di)[1];
|
|
1100
1100
|
switch (o) {
|
|
1101
1101
|
case "em":
|
|
@@ -1116,10 +1116,10 @@ function qt(e) {
|
|
|
1116
1116
|
return t;
|
|
1117
1117
|
}
|
|
1118
1118
|
}
|
|
1119
|
-
var _i = At.match,
|
|
1119
|
+
var _i = At.match, qt = typeof window < "u" ? window.matchMedia : null;
|
|
1120
1120
|
function fi(e, t, o) {
|
|
1121
1121
|
var n = this, a;
|
|
1122
|
-
|
|
1122
|
+
qt && !o && (a = qt.call(window, e)), a ? (this.matches = a.matches, this.media = a.media, a.addListener(s)) : (this.matches = _i(e, t), this.media = e), this.addListener = i, this.removeListener = r, this.dispose = d;
|
|
1123
1123
|
function i(p) {
|
|
1124
1124
|
a && a.addListener(p);
|
|
1125
1125
|
}
|
|
@@ -1173,10 +1173,10 @@ var Tt = { exports: {} }, Ke = { exports: {} }, K = {};
|
|
|
1173
1173
|
* LICENSE file in the root directory of this source tree.
|
|
1174
1174
|
*/
|
|
1175
1175
|
var $t;
|
|
1176
|
-
function
|
|
1176
|
+
function ki() {
|
|
1177
1177
|
if ($t) return K;
|
|
1178
1178
|
$t = 1;
|
|
1179
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, _ = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, w = e ? Symbol.for("react.lazy") : 60116,
|
|
1179
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, _ = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, w = e ? Symbol.for("react.lazy") : 60116, k = e ? Symbol.for("react.block") : 60121, R = e ? Symbol.for("react.fundamental") : 60117, W = e ? Symbol.for("react.responder") : 60118, q = e ? Symbol.for("react.scope") : 60119;
|
|
1180
1180
|
function A(m) {
|
|
1181
1181
|
if (typeof m == "object" && m !== null) {
|
|
1182
1182
|
var F = m.$$typeof;
|
|
@@ -1235,7 +1235,7 @@ function Ci() {
|
|
|
1235
1235
|
}, K.isSuspense = function(m) {
|
|
1236
1236
|
return A(m) === u;
|
|
1237
1237
|
}, K.isValidElementType = function(m) {
|
|
1238
|
-
return typeof m == "string" || typeof m == "function" || m === n || m === p || m === i || m === a || m === u || m === g || typeof m == "object" && m !== null && (m.$$typeof === w || m.$$typeof === h || m.$$typeof === r || m.$$typeof === s || m.$$typeof === _ || m.$$typeof === R || m.$$typeof === W || m.$$typeof ===
|
|
1238
|
+
return typeof m == "string" || typeof m == "function" || m === n || m === p || m === i || m === a || m === u || m === g || typeof m == "object" && m !== null && (m.$$typeof === w || m.$$typeof === h || m.$$typeof === r || m.$$typeof === s || m.$$typeof === _ || m.$$typeof === R || m.$$typeof === W || m.$$typeof === q || m.$$typeof === k);
|
|
1239
1239
|
}, K.typeOf = A, K;
|
|
1240
1240
|
}
|
|
1241
1241
|
var X = {};
|
|
@@ -1248,12 +1248,12 @@ var X = {};
|
|
|
1248
1248
|
* LICENSE file in the root directory of this source tree.
|
|
1249
1249
|
*/
|
|
1250
1250
|
var Ht;
|
|
1251
|
-
function
|
|
1251
|
+
function Ci() {
|
|
1252
1252
|
return Ht || (Ht = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1253
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, _ = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, w = e ? Symbol.for("react.lazy") : 60116,
|
|
1253
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, _ = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, w = e ? Symbol.for("react.lazy") : 60116, k = e ? Symbol.for("react.block") : 60121, R = e ? Symbol.for("react.fundamental") : 60117, W = e ? Symbol.for("react.responder") : 60118, q = e ? Symbol.for("react.scope") : 60119;
|
|
1254
1254
|
function A(x) {
|
|
1255
1255
|
return typeof x == "string" || typeof x == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1256
|
-
x === n || x === p || x === i || x === a || x === u || x === g || typeof x == "object" && x !== null && (x.$$typeof === w || x.$$typeof === h || x.$$typeof === r || x.$$typeof === s || x.$$typeof === _ || x.$$typeof === R || x.$$typeof === W || x.$$typeof ===
|
|
1256
|
+
x === n || x === p || x === i || x === a || x === u || x === g || typeof x == "object" && x !== null && (x.$$typeof === w || x.$$typeof === h || x.$$typeof === r || x.$$typeof === s || x.$$typeof === _ || x.$$typeof === R || x.$$typeof === W || x.$$typeof === q || x.$$typeof === k);
|
|
1257
1257
|
}
|
|
1258
1258
|
function b(x) {
|
|
1259
1259
|
if (typeof x == "object" && x !== null) {
|
|
@@ -1287,7 +1287,7 @@ function ki() {
|
|
|
1287
1287
|
}
|
|
1288
1288
|
}
|
|
1289
1289
|
}
|
|
1290
|
-
var m = d, F = p, P = s, O = r, Z = t, ie = _, re = n, ue = w, ce = h, G = o, J = i, Q = a,
|
|
1290
|
+
var m = d, F = p, P = s, O = r, Z = t, ie = _, re = n, ue = w, ce = h, G = o, J = i, Q = a, C = u, $ = !1;
|
|
1291
1291
|
function z(x) {
|
|
1292
1292
|
return $ || ($ = !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.")), c(x) || b(x) === d;
|
|
1293
1293
|
}
|
|
@@ -1327,12 +1327,12 @@ function ki() {
|
|
|
1327
1327
|
function ae(x) {
|
|
1328
1328
|
return b(x) === u;
|
|
1329
1329
|
}
|
|
1330
|
-
X.AsyncMode = m, X.ConcurrentMode = F, X.ContextConsumer = P, X.ContextProvider = O, X.Element = Z, X.ForwardRef = ie, X.Fragment = re, X.Lazy = ue, X.Memo = ce, X.Portal = G, X.Profiler = J, X.StrictMode = Q, X.Suspense =
|
|
1330
|
+
X.AsyncMode = m, X.ConcurrentMode = F, X.ContextConsumer = P, X.ContextProvider = O, X.Element = Z, X.ForwardRef = ie, X.Fragment = re, X.Lazy = ue, X.Memo = ce, X.Portal = G, X.Profiler = J, X.StrictMode = Q, X.Suspense = C, X.isAsyncMode = z, X.isConcurrentMode = c, X.isContextConsumer = v, X.isContextProvider = N, X.isElement = j, X.isForwardRef = E, X.isFragment = D, X.isLazy = I, X.isMemo = B, X.isPortal = H, X.isProfiler = Y, X.isStrictMode = M, X.isSuspense = ae, X.isValidElementType = A, X.typeOf = b;
|
|
1331
1331
|
}()), X;
|
|
1332
1332
|
}
|
|
1333
1333
|
var Vt;
|
|
1334
|
-
function
|
|
1335
|
-
return Vt || (Vt = 1, process.env.NODE_ENV === "production" ? Ke.exports =
|
|
1334
|
+
function ko() {
|
|
1335
|
+
return Vt || (Vt = 1, process.env.NODE_ENV === "production" ? Ke.exports = ki() : Ke.exports = Ci()), Ke.exports;
|
|
1336
1336
|
}
|
|
1337
1337
|
/*
|
|
1338
1338
|
object-assign
|
|
@@ -1393,7 +1393,7 @@ function Lt() {
|
|
|
1393
1393
|
return ft = e, ft;
|
|
1394
1394
|
}
|
|
1395
1395
|
var vt, Kt;
|
|
1396
|
-
function
|
|
1396
|
+
function Co() {
|
|
1397
1397
|
return Kt || (Kt = 1, vt = Function.call.bind(Object.prototype.hasOwnProperty)), vt;
|
|
1398
1398
|
}
|
|
1399
1399
|
var gt, Xt;
|
|
@@ -1403,7 +1403,7 @@ function Ni() {
|
|
|
1403
1403
|
var e = function() {
|
|
1404
1404
|
};
|
|
1405
1405
|
if (process.env.NODE_ENV !== "production") {
|
|
1406
|
-
var t = Lt(), o = {}, n =
|
|
1406
|
+
var t = Lt(), o = {}, n = Co();
|
|
1407
1407
|
e = function(i) {
|
|
1408
1408
|
var r = "Warning: " + i;
|
|
1409
1409
|
typeof console < "u" && console.error(r);
|
|
@@ -1449,7 +1449,7 @@ var xt, Zt;
|
|
|
1449
1449
|
function Ei() {
|
|
1450
1450
|
if (Zt) return xt;
|
|
1451
1451
|
Zt = 1;
|
|
1452
|
-
var e =
|
|
1452
|
+
var e = ko(), t = Ti(), o = Lt(), n = Co(), a = Ni(), i = function() {
|
|
1453
1453
|
};
|
|
1454
1454
|
process.env.NODE_ENV !== "production" && (i = function(s) {
|
|
1455
1455
|
var d = "Warning: " + s;
|
|
@@ -1478,7 +1478,7 @@ function Ei() {
|
|
|
1478
1478
|
object: W("object"),
|
|
1479
1479
|
string: W("string"),
|
|
1480
1480
|
symbol: W("symbol"),
|
|
1481
|
-
any:
|
|
1481
|
+
any: q(),
|
|
1482
1482
|
arrayOf: A,
|
|
1483
1483
|
element: b(),
|
|
1484
1484
|
elementType: m(),
|
|
@@ -1493,10 +1493,10 @@ function Ei() {
|
|
|
1493
1493
|
function w(c, v) {
|
|
1494
1494
|
return c === v ? c !== 0 || 1 / c === 1 / v : c !== c && v !== v;
|
|
1495
1495
|
}
|
|
1496
|
-
function
|
|
1496
|
+
function k(c, v) {
|
|
1497
1497
|
this.message = c, this.data = v && typeof v == "object" ? v : {}, this.stack = "";
|
|
1498
1498
|
}
|
|
1499
|
-
|
|
1499
|
+
k.prototype = Error.prototype;
|
|
1500
1500
|
function R(c) {
|
|
1501
1501
|
if (process.env.NODE_ENV !== "production")
|
|
1502
1502
|
var v = {}, N = 0;
|
|
@@ -1515,7 +1515,7 @@ function Ei() {
|
|
|
1515
1515
|
), v[he] = !0, N++);
|
|
1516
1516
|
}
|
|
1517
1517
|
}
|
|
1518
|
-
return I[B] == null ? D ? I[B] === null ? new
|
|
1518
|
+
return I[B] == null ? D ? I[B] === null ? new k("The " + Y + " `" + M + "` is marked as required " + ("in `" + H + "`, but its value is `null`.")) : new k("The " + Y + " `" + M + "` is marked as required in " + ("`" + H + "`, but its value is `undefined`.")) : null : c(I, B, H, Y, M);
|
|
1519
1519
|
}
|
|
1520
1520
|
var E = j.bind(null, !1);
|
|
1521
1521
|
return E.isRequired = j.bind(null, !0), E;
|
|
@@ -1524,8 +1524,8 @@ function Ei() {
|
|
|
1524
1524
|
function v(N, j, E, D, I, B) {
|
|
1525
1525
|
var H = N[j], Y = Q(H);
|
|
1526
1526
|
if (Y !== c) {
|
|
1527
|
-
var M =
|
|
1528
|
-
return new
|
|
1527
|
+
var M = C(H);
|
|
1528
|
+
return new k(
|
|
1529
1529
|
"Invalid " + D + " `" + I + "` of type " + ("`" + M + "` supplied to `" + E + "`, expected ") + ("`" + c + "`."),
|
|
1530
1530
|
{ expectedType: c }
|
|
1531
1531
|
);
|
|
@@ -1534,17 +1534,17 @@ function Ei() {
|
|
|
1534
1534
|
}
|
|
1535
1535
|
return R(v);
|
|
1536
1536
|
}
|
|
1537
|
-
function
|
|
1537
|
+
function q() {
|
|
1538
1538
|
return R(r);
|
|
1539
1539
|
}
|
|
1540
1540
|
function A(c) {
|
|
1541
1541
|
function v(N, j, E, D, I) {
|
|
1542
1542
|
if (typeof c != "function")
|
|
1543
|
-
return new
|
|
1543
|
+
return new k("Property `" + I + "` of component `" + E + "` has invalid PropType notation inside arrayOf.");
|
|
1544
1544
|
var B = N[j];
|
|
1545
1545
|
if (!Array.isArray(B)) {
|
|
1546
1546
|
var H = Q(B);
|
|
1547
|
-
return new
|
|
1547
|
+
return new k("Invalid " + D + " `" + I + "` of type " + ("`" + H + "` supplied to `" + E + "`, expected an array."));
|
|
1548
1548
|
}
|
|
1549
1549
|
for (var Y = 0; Y < B.length; Y++) {
|
|
1550
1550
|
var M = c(B, Y, E, D, I + "[" + Y + "]", o);
|
|
@@ -1560,7 +1560,7 @@ function Ei() {
|
|
|
1560
1560
|
var I = v[N];
|
|
1561
1561
|
if (!s(I)) {
|
|
1562
1562
|
var B = Q(I);
|
|
1563
|
-
return new
|
|
1563
|
+
return new k("Invalid " + E + " `" + D + "` of type " + ("`" + B + "` supplied to `" + j + "`, expected a single ReactElement."));
|
|
1564
1564
|
}
|
|
1565
1565
|
return null;
|
|
1566
1566
|
}
|
|
@@ -1571,7 +1571,7 @@ function Ei() {
|
|
|
1571
1571
|
var I = v[N];
|
|
1572
1572
|
if (!e.isValidElementType(I)) {
|
|
1573
1573
|
var B = Q(I);
|
|
1574
|
-
return new
|
|
1574
|
+
return new k("Invalid " + E + " `" + D + "` of type " + ("`" + B + "` supplied to `" + j + "`, expected a single ReactElement type."));
|
|
1575
1575
|
}
|
|
1576
1576
|
return null;
|
|
1577
1577
|
}
|
|
@@ -1581,7 +1581,7 @@ function Ei() {
|
|
|
1581
1581
|
function v(N, j, E, D, I) {
|
|
1582
1582
|
if (!(N[j] instanceof c)) {
|
|
1583
1583
|
var B = c.name || g, H = z(N[j]);
|
|
1584
|
-
return new
|
|
1584
|
+
return new k("Invalid " + D + " `" + I + "` of type " + ("`" + H + "` supplied to `" + E + "`, expected ") + ("instance of `" + B + "`."));
|
|
1585
1585
|
}
|
|
1586
1586
|
return null;
|
|
1587
1587
|
}
|
|
@@ -1597,20 +1597,20 @@ function Ei() {
|
|
|
1597
1597
|
if (w(B, c[H]))
|
|
1598
1598
|
return null;
|
|
1599
1599
|
var Y = JSON.stringify(c, function(ae, x) {
|
|
1600
|
-
var he =
|
|
1600
|
+
var he = C(x);
|
|
1601
1601
|
return he === "symbol" ? String(x) : x;
|
|
1602
1602
|
});
|
|
1603
|
-
return new
|
|
1603
|
+
return new k("Invalid " + D + " `" + I + "` of value `" + String(B) + "` " + ("supplied to `" + E + "`, expected one of " + Y + "."));
|
|
1604
1604
|
}
|
|
1605
1605
|
return R(v);
|
|
1606
1606
|
}
|
|
1607
1607
|
function O(c) {
|
|
1608
1608
|
function v(N, j, E, D, I) {
|
|
1609
1609
|
if (typeof c != "function")
|
|
1610
|
-
return new
|
|
1610
|
+
return new k("Property `" + I + "` of component `" + E + "` has invalid PropType notation inside objectOf.");
|
|
1611
1611
|
var B = N[j], H = Q(B);
|
|
1612
1612
|
if (H !== "object")
|
|
1613
|
-
return new
|
|
1613
|
+
return new k("Invalid " + D + " `" + I + "` of type " + ("`" + H + "` supplied to `" + E + "`, expected an object."));
|
|
1614
1614
|
for (var Y in B)
|
|
1615
1615
|
if (n(B, Y)) {
|
|
1616
1616
|
var M = c(B, Y, E, D, I + "." + Y, o);
|
|
@@ -1639,18 +1639,18 @@ function Ei() {
|
|
|
1639
1639
|
x.data && n(x.data, "expectedType") && Y.push(x.data.expectedType);
|
|
1640
1640
|
}
|
|
1641
1641
|
var he = Y.length > 0 ? ", expected one of type [" + Y.join(", ") + "]" : "";
|
|
1642
|
-
return new
|
|
1642
|
+
return new k("Invalid " + B + " `" + H + "` supplied to " + ("`" + I + "`" + he + "."));
|
|
1643
1643
|
}
|
|
1644
1644
|
return R(j);
|
|
1645
1645
|
}
|
|
1646
1646
|
function ie() {
|
|
1647
1647
|
function c(v, N, j, E, D) {
|
|
1648
|
-
return G(v[N]) ? null : new
|
|
1648
|
+
return G(v[N]) ? null : new k("Invalid " + E + " `" + D + "` supplied to " + ("`" + j + "`, expected a ReactNode."));
|
|
1649
1649
|
}
|
|
1650
1650
|
return R(c);
|
|
1651
1651
|
}
|
|
1652
1652
|
function re(c, v, N, j, E) {
|
|
1653
|
-
return new
|
|
1653
|
+
return new k(
|
|
1654
1654
|
(c || "React class") + ": " + v + " type `" + N + "." + j + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + E + "`."
|
|
1655
1655
|
);
|
|
1656
1656
|
}
|
|
@@ -1658,11 +1658,11 @@ function Ei() {
|
|
|
1658
1658
|
function v(N, j, E, D, I) {
|
|
1659
1659
|
var B = N[j], H = Q(B);
|
|
1660
1660
|
if (H !== "object")
|
|
1661
|
-
return new
|
|
1661
|
+
return new k("Invalid " + D + " `" + I + "` of type `" + H + "` " + ("supplied to `" + E + "`, expected `object`."));
|
|
1662
1662
|
for (var Y in c) {
|
|
1663
1663
|
var M = c[Y];
|
|
1664
1664
|
if (typeof M != "function")
|
|
1665
|
-
return re(E, D, I, Y,
|
|
1665
|
+
return re(E, D, I, Y, C(M));
|
|
1666
1666
|
var ae = M(B, Y, E, D, I + "." + Y, o);
|
|
1667
1667
|
if (ae)
|
|
1668
1668
|
return ae;
|
|
@@ -1675,14 +1675,14 @@ function Ei() {
|
|
|
1675
1675
|
function v(N, j, E, D, I) {
|
|
1676
1676
|
var B = N[j], H = Q(B);
|
|
1677
1677
|
if (H !== "object")
|
|
1678
|
-
return new
|
|
1678
|
+
return new k("Invalid " + D + " `" + I + "` of type `" + H + "` " + ("supplied to `" + E + "`, expected `object`."));
|
|
1679
1679
|
var Y = t({}, N[j], c);
|
|
1680
1680
|
for (var M in Y) {
|
|
1681
1681
|
var ae = c[M];
|
|
1682
1682
|
if (n(c, M) && typeof ae != "function")
|
|
1683
|
-
return re(E, D, I, M,
|
|
1683
|
+
return re(E, D, I, M, C(ae));
|
|
1684
1684
|
if (!ae)
|
|
1685
|
-
return new
|
|
1685
|
+
return new k(
|
|
1686
1686
|
"Invalid " + D + " `" + I + "` key `" + M + "` supplied to `" + E + "`.\nBad object: " + JSON.stringify(N[j], null, " ") + `
|
|
1687
1687
|
Valid keys: ` + JSON.stringify(Object.keys(c), null, " ")
|
|
1688
1688
|
);
|
|
@@ -1734,7 +1734,7 @@ Valid keys: ` + JSON.stringify(Object.keys(c), null, " ")
|
|
|
1734
1734
|
var v = typeof c;
|
|
1735
1735
|
return Array.isArray(c) ? "array" : c instanceof RegExp ? "object" : J(v, c) ? "symbol" : v;
|
|
1736
1736
|
}
|
|
1737
|
-
function
|
|
1737
|
+
function C(c) {
|
|
1738
1738
|
if (typeof c > "u" || c === null)
|
|
1739
1739
|
return "" + c;
|
|
1740
1740
|
var v = Q(c);
|
|
@@ -1747,7 +1747,7 @@ Valid keys: ` + JSON.stringify(Object.keys(c), null, " ")
|
|
|
1747
1747
|
return v;
|
|
1748
1748
|
}
|
|
1749
1749
|
function $(c) {
|
|
1750
|
-
var v =
|
|
1750
|
+
var v = C(c);
|
|
1751
1751
|
switch (v) {
|
|
1752
1752
|
case "array":
|
|
1753
1753
|
case "object":
|
|
@@ -1815,7 +1815,7 @@ function Si() {
|
|
|
1815
1815
|
}, ht;
|
|
1816
1816
|
}
|
|
1817
1817
|
if (process.env.NODE_ENV !== "production") {
|
|
1818
|
-
var Ri =
|
|
1818
|
+
var Ri = ko(), Fi = !0;
|
|
1819
1819
|
Tt.exports = Ei()(Ri.isElement, Fi);
|
|
1820
1820
|
} else
|
|
1821
1821
|
Tt.exports = Si()();
|
|
@@ -1881,19 +1881,19 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
1881
1881
|
const n = e[o];
|
|
1882
1882
|
n != null && t.push(Bi(o, n));
|
|
1883
1883
|
}), Wi(t);
|
|
1884
|
-
}, Mi = _o(void 0),
|
|
1884
|
+
}, Mi = _o(void 0), Ui = (e) => e.query || zi(e), Jt = (e) => e ? Object.keys(e).reduce((o, n) => (o[wo(n)] = e[n], o), {}) : void 0, No = () => {
|
|
1885
1885
|
const e = me(!1);
|
|
1886
1886
|
return ne(() => {
|
|
1887
1887
|
e.current = !0;
|
|
1888
1888
|
}, []), e.current;
|
|
1889
|
-
},
|
|
1889
|
+
}, qi = (e) => {
|
|
1890
1890
|
const t = Ho(Mi), o = () => Jt(e) || Jt(t), [n, a] = te(o);
|
|
1891
1891
|
return ne(() => {
|
|
1892
1892
|
const i = o();
|
|
1893
1893
|
wi(n, i) || a(i);
|
|
1894
1894
|
}, [e, t]), n;
|
|
1895
1895
|
}, $i = (e) => {
|
|
1896
|
-
const t = () =>
|
|
1896
|
+
const t = () => Ui(e), [o, n] = te(t);
|
|
1897
1897
|
return ne(() => {
|
|
1898
1898
|
const a = t();
|
|
1899
1899
|
o !== a && n(a);
|
|
@@ -1919,7 +1919,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
1919
1919
|
};
|
|
1920
1920
|
}, [e]), t;
|
|
1921
1921
|
}, bt = (e, t, o) => {
|
|
1922
|
-
const n =
|
|
1922
|
+
const n = qi(t), a = $i(e);
|
|
1923
1923
|
if (!a)
|
|
1924
1924
|
throw new Error("Invalid or missing MediaQuery!");
|
|
1925
1925
|
const i = Hi(a, n), r = Vi(i);
|
|
@@ -1958,7 +1958,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
1958
1958
|
s.current = a, d.current = performance.now();
|
|
1959
1959
|
const h = (w) => {
|
|
1960
1960
|
if (!d.current) return;
|
|
1961
|
-
const
|
|
1961
|
+
const k = w - d.current, R = Math.min(k / o, 1), W = R < 0.5 ? 4 * R * R * R : 1 - Math.pow(-2 * R + 2, 3) / 2, q = s.current + (p.current - s.current) * W, A = Math.max(0, Math.floor(q));
|
|
1962
1962
|
i(A), R < 1 && (r.current = requestAnimationFrame(h));
|
|
1963
1963
|
};
|
|
1964
1964
|
return r.current = requestAnimationFrame(h), () => {
|
|
@@ -2010,7 +2010,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2010
2010
|
}), h = {
|
|
2011
2011
|
"--progress": `${d / r * 100}%`
|
|
2012
2012
|
};
|
|
2013
|
-
return /* @__PURE__ */
|
|
2013
|
+
return /* @__PURE__ */ U("div", { className: _, children: [
|
|
2014
2014
|
/* @__PURE__ */ l(
|
|
2015
2015
|
"div",
|
|
2016
2016
|
{
|
|
@@ -2019,7 +2019,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2019
2019
|
children: i
|
|
2020
2020
|
}
|
|
2021
2021
|
),
|
|
2022
|
-
p && /* @__PURE__ */
|
|
2022
|
+
p && /* @__PURE__ */ U(Ne, { classNameRoot: u, children: [
|
|
2023
2023
|
d,
|
|
2024
2024
|
"%"
|
|
2025
2025
|
] })
|
|
@@ -2057,10 +2057,10 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2057
2057
|
disabled: g = !1,
|
|
2058
2058
|
required: h,
|
|
2059
2059
|
maxHeightList: w = nr,
|
|
2060
|
-
isVisibleDefaultTitle:
|
|
2060
|
+
isVisibleDefaultTitle: k = !0,
|
|
2061
2061
|
isScrollableList: R = !1,
|
|
2062
2062
|
isAbsolutePositionError: W = !1,
|
|
2063
|
-
classNameRoot:
|
|
2063
|
+
classNameRoot: q,
|
|
2064
2064
|
classNameError: A,
|
|
2065
2065
|
classNameLabel: b,
|
|
2066
2066
|
classNameBaseTooltipRoot: m
|
|
@@ -2080,7 +2080,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2080
2080
|
[_e.spSelect]: !0,
|
|
2081
2081
|
[_e.spSelect_error]: !!d,
|
|
2082
2082
|
[_e.spSelect_absolutePositionError]: W,
|
|
2083
|
-
...
|
|
2083
|
+
...q && { [q]: !0 }
|
|
2084
2084
|
}), ce = f({
|
|
2085
2085
|
[_e.spSelect__container]: !0
|
|
2086
2086
|
}), G = f({
|
|
@@ -2092,7 +2092,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2092
2092
|
[_e.spSelect__value_empty]: !Z
|
|
2093
2093
|
}), Q = f({
|
|
2094
2094
|
[_e.spSelect__icon]: !0
|
|
2095
|
-
}),
|
|
2095
|
+
}), C = f({
|
|
2096
2096
|
[_e.spSelect__list]: !0,
|
|
2097
2097
|
[_e.spSelect__list_scrollable]: R
|
|
2098
2098
|
}), $ = f({
|
|
@@ -2102,7 +2102,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2102
2102
|
[_e.spSelect__error_absolutePosition]: W,
|
|
2103
2103
|
...A && { [A]: !0 }
|
|
2104
2104
|
});
|
|
2105
|
-
return /* @__PURE__ */
|
|
2105
|
+
return /* @__PURE__ */ U("div", { className: ue, ref: O, children: [
|
|
2106
2106
|
p && /* @__PURE__ */ l(
|
|
2107
2107
|
jt,
|
|
2108
2108
|
{
|
|
@@ -2114,12 +2114,12 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2114
2114
|
classNameBaseTooltipRoot: m
|
|
2115
2115
|
}
|
|
2116
2116
|
),
|
|
2117
|
-
/* @__PURE__ */
|
|
2118
|
-
/* @__PURE__ */
|
|
2117
|
+
/* @__PURE__ */ U("div", { className: ce, onMouseEnter: s, children: [
|
|
2118
|
+
/* @__PURE__ */ U(
|
|
2119
2119
|
"div",
|
|
2120
2120
|
{
|
|
2121
2121
|
tabIndex: g ? -1 : 0,
|
|
2122
|
-
title:
|
|
2122
|
+
title: k ? n : void 0,
|
|
2123
2123
|
className: G,
|
|
2124
2124
|
onClick: re,
|
|
2125
2125
|
children: [
|
|
@@ -2138,11 +2138,11 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2138
2138
|
F && /* @__PURE__ */ l(
|
|
2139
2139
|
"div",
|
|
2140
2140
|
{
|
|
2141
|
-
className:
|
|
2141
|
+
className: C,
|
|
2142
2142
|
style: R ? { maxHeight: `${w}px` } : {},
|
|
2143
2143
|
children: t.map((v) => {
|
|
2144
2144
|
const N = v.value === n;
|
|
2145
|
-
return /* @__PURE__ */
|
|
2145
|
+
return /* @__PURE__ */ U(
|
|
2146
2146
|
"div",
|
|
2147
2147
|
{
|
|
2148
2148
|
className: f({
|
|
@@ -2172,10 +2172,10 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2172
2172
|
...i
|
|
2173
2173
|
};
|
|
2174
2174
|
return /* @__PURE__ */ l("div", { style: r, className: f(a, yr.skeleton) });
|
|
2175
|
-
}, Nt = (e) => e == null || e === "" ? !0 : typeof e != "string" && typeof e.toString != "function" ? !1 : e.toString().replace(/\s/g, "").length < 1, wr = "_spTable_1vuaj_43",
|
|
2175
|
+
}, Nt = (e) => e == null || e === "" ? !0 : typeof e != "string" && typeof e.toString != "function" ? !1 : e.toString().replace(/\s/g, "").length < 1, wr = "_spTable_1vuaj_43", kr = "_spTable__tdContentCopyIcon_1vuaj_62", Cr = "_spTable__tdContent_1vuaj_62", Tr = "_spTable__tdColorContent_1vuaj_72", Nr = "_spTable__tdContentCopyIcon_copied_1vuaj_85", Er = "_spTable__emptyPage_1vuaj_89", Sr = "_spStringsGroup_1vuaj_105", Rr = "_spStringsGroup__groupItem_1vuaj_119", Fr = "_spStringsGroup__groupItemHeader_1vuaj_134", Ir = "_spStringsGroup__groupItemContent_1vuaj_138", jr = "_spStringsGroup__groupItemContentCopyIcon_1vuaj_144", Ar = "_spStringsGroup__groupItemContentCopyIcon_copied_1vuaj_151", ye = {
|
|
2176
2176
|
spTable: wr,
|
|
2177
|
-
spTable__tdContentCopyIcon:
|
|
2178
|
-
spTable__tdContent:
|
|
2177
|
+
spTable__tdContentCopyIcon: kr,
|
|
2178
|
+
spTable__tdContent: Cr,
|
|
2179
2179
|
spTable__tdColorContent: Tr,
|
|
2180
2180
|
spTable__tdContentCopyIcon_copied: Nr,
|
|
2181
2181
|
spTable__emptyPage: Er,
|
|
@@ -2213,18 +2213,18 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2213
2213
|
});
|
|
2214
2214
|
}, w = () => {
|
|
2215
2215
|
g(null);
|
|
2216
|
-
},
|
|
2216
|
+
}, k = () => /* @__PURE__ */ l("div", { className: _, children: "Данные отсутствуют" }), R = ({
|
|
2217
2217
|
row: b,
|
|
2218
2218
|
col: m
|
|
2219
2219
|
}) => {
|
|
2220
2220
|
const F = b[m.key];
|
|
2221
2221
|
if (!F) return null;
|
|
2222
2222
|
const [P, O] = F.split(/\s*\{\{|}}\s*/).filter(Boolean);
|
|
2223
|
-
return /* @__PURE__ */
|
|
2223
|
+
return /* @__PURE__ */ U("span", { children: [
|
|
2224
2224
|
P,
|
|
2225
2225
|
O && /* @__PURE__ */ l("span", { className: p, children: ` ${O}` })
|
|
2226
2226
|
] });
|
|
2227
|
-
}, W = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */
|
|
2227
|
+
}, W = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ U("table", { className: s, children: [
|
|
2228
2228
|
/* @__PURE__ */ l("colgroup", { children: r.map((b, m, F) => /* @__PURE__ */ l(
|
|
2229
2229
|
"col",
|
|
2230
2230
|
{
|
|
@@ -2241,7 +2241,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2241
2241
|
"td",
|
|
2242
2242
|
{
|
|
2243
2243
|
onMouseLeave: O ? w : void 0,
|
|
2244
|
-
children: /* @__PURE__ */
|
|
2244
|
+
children: /* @__PURE__ */ U("div", { className: d, children: [
|
|
2245
2245
|
/* @__PURE__ */ l("span", { children: F.isColorContentsCurlyBrackets ? R({ row: b, col: F }) : b[F.key] }),
|
|
2246
2246
|
!Nt(b[F.key]) && F.isBeCopiedValue && /* @__PURE__ */ l(
|
|
2247
2247
|
xe,
|
|
@@ -2267,7 +2267,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2267
2267
|
`${m}:${P}`
|
|
2268
2268
|
);
|
|
2269
2269
|
}) }, m) : null) })
|
|
2270
|
-
] }) :
|
|
2270
|
+
] }) : k(), q = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ l(
|
|
2271
2271
|
"div",
|
|
2272
2272
|
{
|
|
2273
2273
|
className: f({
|
|
@@ -2277,7 +2277,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2277
2277
|
if (Nt(b[F.key]))
|
|
2278
2278
|
return null;
|
|
2279
2279
|
const O = (u == null ? void 0 : u.rowIndex) === m && (u == null ? void 0 : u.colIndex) === P;
|
|
2280
|
-
return /* @__PURE__ */
|
|
2280
|
+
return /* @__PURE__ */ U(
|
|
2281
2281
|
"div",
|
|
2282
2282
|
{
|
|
2283
2283
|
className: f({
|
|
@@ -2294,7 +2294,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2294
2294
|
children: F.title
|
|
2295
2295
|
}
|
|
2296
2296
|
),
|
|
2297
|
-
/* @__PURE__ */
|
|
2297
|
+
/* @__PURE__ */ U(
|
|
2298
2298
|
"div",
|
|
2299
2299
|
{
|
|
2300
2300
|
className: f({
|
|
@@ -2330,8 +2330,8 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2330
2330
|
);
|
|
2331
2331
|
}) }, m) : null)
|
|
2332
2332
|
}
|
|
2333
|
-
) :
|
|
2334
|
-
return n ? a ? W() :
|
|
2333
|
+
) : k();
|
|
2334
|
+
return n ? a ? W() : q() : W();
|
|
2335
2335
|
}, Lr = "_spTabs_1citb_43", Dr = "_spTabs_separated_1citb_48", Pr = "_spTabs__tabElement_1citb_48", Or = "_spTabs__tabElement_active_1citb_83", Br = "_spTabs__triggerTooltip_1citb_90", Fe = {
|
|
2336
2336
|
spTabs: Lr,
|
|
2337
2337
|
spTabs_separated: Dr,
|
|
@@ -2367,8 +2367,8 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2367
2367
|
}
|
|
2368
2368
|
};
|
|
2369
2369
|
return /* @__PURE__ */ l("div", { className: s, children: t.map((_, u) => {
|
|
2370
|
-
const { name: g, active: h, onClick: w, infoTooltipText:
|
|
2371
|
-
return /* @__PURE__ */
|
|
2370
|
+
const { name: g, active: h, onClick: w, infoTooltipText: k } = _;
|
|
2371
|
+
return /* @__PURE__ */ U(
|
|
2372
2372
|
"div",
|
|
2373
2373
|
{
|
|
2374
2374
|
className: f({
|
|
@@ -2378,11 +2378,11 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2378
2378
|
onClick: w,
|
|
2379
2379
|
children: [
|
|
2380
2380
|
/* @__PURE__ */ l(Ne, { type: p(), children: g }),
|
|
2381
|
-
!!
|
|
2381
|
+
!!k && /* @__PURE__ */ l(
|
|
2382
2382
|
tt,
|
|
2383
2383
|
{
|
|
2384
2384
|
classNameTriggerTooltip: d,
|
|
2385
|
-
text:
|
|
2385
|
+
text: k,
|
|
2386
2386
|
classNameBaseTooltipRoot: a
|
|
2387
2387
|
}
|
|
2388
2388
|
)
|
|
@@ -2395,7 +2395,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2395
2395
|
spTextWithLabel: Wr
|
|
2396
2396
|
}, jp = (e) => {
|
|
2397
2397
|
const { children: t, label: o, style: n, ...a } = e;
|
|
2398
|
-
return /* @__PURE__ */
|
|
2398
|
+
return /* @__PURE__ */ U("div", { className: zr.spTextWithLabel, style: { ...n }, children: [
|
|
2399
2399
|
/* @__PURE__ */ l(jt, { label: o }),
|
|
2400
2400
|
/* @__PURE__ */ l(Ne, { ...a, children: t })
|
|
2401
2401
|
] });
|
|
@@ -3631,10 +3631,10 @@ const Mr = /* @__PURE__ */ new Map([
|
|
|
3631
3631
|
["zsh", "text/x-scriptzsh"]
|
|
3632
3632
|
]);
|
|
3633
3633
|
function Pe(e, t, o) {
|
|
3634
|
-
const n =
|
|
3634
|
+
const n = Ur(e), { webkitRelativePath: a } = e, i = typeof t == "string" ? t : typeof a == "string" && a.length > 0 ? a : `./${e.name}`;
|
|
3635
3635
|
return typeof n.path != "string" && eo(n, "path", i), eo(n, "relativePath", i), n;
|
|
3636
3636
|
}
|
|
3637
|
-
function
|
|
3637
|
+
function Ur(e) {
|
|
3638
3638
|
const { name: t } = e;
|
|
3639
3639
|
if (t && t.lastIndexOf(".") !== -1 && !e.type) {
|
|
3640
3640
|
const n = t.split(".").pop().toLowerCase(), a = Mr.get(n);
|
|
@@ -3655,7 +3655,7 @@ function eo(e, t, o) {
|
|
|
3655
3655
|
enumerable: !0
|
|
3656
3656
|
});
|
|
3657
3657
|
}
|
|
3658
|
-
const
|
|
3658
|
+
const qr = [
|
|
3659
3659
|
// Thumbnail cache files for macOS and Windows
|
|
3660
3660
|
".DS_Store",
|
|
3661
3661
|
// macOs
|
|
@@ -3697,7 +3697,7 @@ function Kr(e, t) {
|
|
|
3697
3697
|
});
|
|
3698
3698
|
}
|
|
3699
3699
|
function to(e) {
|
|
3700
|
-
return e.filter((t) =>
|
|
3700
|
+
return e.filter((t) => qr.indexOf(t.name) === -1);
|
|
3701
3701
|
}
|
|
3702
3702
|
function Et(e) {
|
|
3703
3703
|
if (e === null)
|
|
@@ -3917,8 +3917,8 @@ function Ie(e) {
|
|
|
3917
3917
|
function ls(e) {
|
|
3918
3918
|
var t = e.files, o = e.accept, n = e.minSize, a = e.maxSize, i = e.multiple, r = e.maxFiles, s = e.validator;
|
|
3919
3919
|
return !i && t.length > 1 || i && r >= 1 && t.length > r ? !1 : t.every(function(d) {
|
|
3920
|
-
var p = Lo(d, o), _ = Me(p, 1), u = _[0], g = Do(d, n, a), h = Me(g, 1), w = h[0],
|
|
3921
|
-
return u && w && !
|
|
3920
|
+
var p = Lo(d, o), _ = Me(p, 1), u = _[0], g = Do(d, n, a), h = Me(g, 1), w = h[0], k = s ? s(d) : null;
|
|
3921
|
+
return u && w && !k;
|
|
3922
3922
|
});
|
|
3923
3923
|
}
|
|
3924
3924
|
function Qe(e) {
|
|
@@ -3996,19 +3996,19 @@ function Oo(e) {
|
|
|
3996
3996
|
}
|
|
3997
3997
|
var xs = ["children"], hs = ["open"], bs = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], ys = ["refKey", "onChange", "onClick"];
|
|
3998
3998
|
function ws(e) {
|
|
3999
|
-
return Ts(e) ||
|
|
3999
|
+
return Ts(e) || Cs(e) || Bo(e) || ks();
|
|
4000
4000
|
}
|
|
4001
|
-
function
|
|
4001
|
+
function ks() {
|
|
4002
4002
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
4003
4003
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
4004
4004
|
}
|
|
4005
|
-
function
|
|
4005
|
+
function Cs(e) {
|
|
4006
4006
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
4007
4007
|
}
|
|
4008
4008
|
function Ts(e) {
|
|
4009
4009
|
if (Array.isArray(e)) return Rt(e);
|
|
4010
4010
|
}
|
|
4011
|
-
function
|
|
4011
|
+
function kt(e, t) {
|
|
4012
4012
|
return Ss(e) || Es(e, t) || Bo(e, t) || Ns();
|
|
4013
4013
|
}
|
|
4014
4014
|
function Ns() {
|
|
@@ -4098,7 +4098,7 @@ var Dt = /* @__PURE__ */ Yo(function(e, t) {
|
|
|
4098
4098
|
return {
|
|
4099
4099
|
open: i
|
|
4100
4100
|
};
|
|
4101
|
-
}, [i]), /* @__PURE__ */
|
|
4101
|
+
}, [i]), /* @__PURE__ */ Ue.createElement(Ko, null, o(ee(ee({}, r), {}, {
|
|
4102
4102
|
open: i
|
|
4103
4103
|
})));
|
|
4104
4104
|
});
|
|
@@ -4298,15 +4298,15 @@ var It = {
|
|
|
4298
4298
|
fileRejections: []
|
|
4299
4299
|
};
|
|
4300
4300
|
function zo() {
|
|
4301
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = ee(ee({}, Wo), e), o = t.accept, n = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, d = t.maxFiles, p = t.onDragEnter, _ = t.onDragLeave, u = t.onDragOver, g = t.onDrop, h = t.onDropAccepted, w = t.onDropRejected,
|
|
4301
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = ee(ee({}, Wo), e), o = t.accept, n = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, d = t.maxFiles, p = t.onDragEnter, _ = t.onDragLeave, u = t.onDragOver, g = t.onDrop, h = t.onDropAccepted, w = t.onDropRejected, k = t.onFileDialogCancel, R = t.onFileDialogOpen, W = t.useFsAccessApi, q = t.autoFocus, A = t.preventDropOnDocument, b = t.noClick, m = t.noKeyboard, F = t.noDrag, P = t.noDragEventsBubbling, O = t.onError, Z = t.validator, ie = De(function() {
|
|
4302
4302
|
return fs(o);
|
|
4303
4303
|
}, [o]), re = De(function() {
|
|
4304
4304
|
return _s(o);
|
|
4305
4305
|
}, [o]), ue = De(function() {
|
|
4306
4306
|
return typeof R == "function" ? R : co;
|
|
4307
4307
|
}, [R]), ce = De(function() {
|
|
4308
|
-
return typeof
|
|
4309
|
-
}, [
|
|
4308
|
+
return typeof k == "function" ? k : co;
|
|
4309
|
+
}, [k]), G = me(null), J = me(null), Q = Vo(Fs, It), C = kt(Q, 2), $ = C[0], z = C[1], c = $.isFocused, v = $.isFileDialogActive, N = me(typeof window < "u" && window.isSecureContext && W && us()), j = function() {
|
|
4310
4310
|
!N.current && v && setTimeout(function() {
|
|
4311
4311
|
if (J.current) {
|
|
4312
4312
|
var L = J.current.files;
|
|
@@ -4329,9 +4329,9 @@ function zo() {
|
|
|
4329
4329
|
A && (document.removeEventListener("dragover", po), document.removeEventListener("drop", D));
|
|
4330
4330
|
};
|
|
4331
4331
|
}, [G, A]), ne(function() {
|
|
4332
|
-
return !n &&
|
|
4332
|
+
return !n && q && G.current && G.current.focus(), function() {
|
|
4333
4333
|
};
|
|
4334
|
-
}, [G,
|
|
4334
|
+
}, [G, q, n]);
|
|
4335
4335
|
var I = ge(function(y) {
|
|
4336
4336
|
O ? O(y) : console.error(y);
|
|
4337
4337
|
}, [O]), B = ge(function(y) {
|
|
@@ -4379,7 +4379,7 @@ function zo() {
|
|
|
4379
4379
|
}, [G, _, P]), M = ge(function(y, L) {
|
|
4380
4380
|
var oe = [], se = [];
|
|
4381
4381
|
y.forEach(function(be) {
|
|
4382
|
-
var Be = Lo(be, ie), Le =
|
|
4382
|
+
var Be = Lo(be, ie), Le = kt(Be, 2), nt = Le[0], at = Le[1], it = Do(be, r, i), He = kt(it, 2), rt = He[0], st = He[1], pt = Z ? Z(be) : null;
|
|
4383
4383
|
if (nt && rt && !pt)
|
|
4384
4384
|
oe.push(be);
|
|
4385
4385
|
else {
|
|
@@ -4451,7 +4451,7 @@ function zo() {
|
|
|
4451
4451
|
return n ? null : L;
|
|
4452
4452
|
}, ot = function(L) {
|
|
4453
4453
|
return m ? null : Ae(L);
|
|
4454
|
-
},
|
|
4454
|
+
}, qe = function(L) {
|
|
4455
4455
|
return F ? null : Ae(L);
|
|
4456
4456
|
}, $e = function(L) {
|
|
4457
4457
|
P && L.stopPropagation();
|
|
@@ -4463,18 +4463,18 @@ function zo() {
|
|
|
4463
4463
|
onFocus: ot(Te(Be, Se)),
|
|
4464
4464
|
onBlur: ot(Te(Le, Oe)),
|
|
4465
4465
|
onClick: Ae(Te(nt, Pt)),
|
|
4466
|
-
onDragEnter:
|
|
4467
|
-
onDragOver:
|
|
4468
|
-
onDragLeave:
|
|
4469
|
-
onDrop:
|
|
4466
|
+
onDragEnter: qe(Te(at, B)),
|
|
4467
|
+
onDragOver: qe(Te(it, H)),
|
|
4468
|
+
onDragLeave: qe(Te(He, Y)),
|
|
4469
|
+
onDrop: qe(Te(rt, ae)),
|
|
4470
4470
|
role: typeof se == "string" && se !== "" ? se : "presentation"
|
|
4471
4471
|
}, oe, G), !n && !m ? {
|
|
4472
4472
|
tabIndex: 0
|
|
4473
4473
|
} : {}), st);
|
|
4474
4474
|
};
|
|
4475
|
-
}, [G, he, Se, Oe, Pt, B, H, Y, ae, m, F, n]),
|
|
4475
|
+
}, [G, he, Se, Oe, Pt, B, H, Y, ae, m, F, n]), Uo = ge(function(y) {
|
|
4476
4476
|
y.stopPropagation();
|
|
4477
|
-
}, []),
|
|
4477
|
+
}, []), qo = De(function() {
|
|
4478
4478
|
return function() {
|
|
4479
4479
|
var y = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, L = y.refKey, oe = L === void 0 ? "ref" : L, se = y.onChange, be = y.onClick, Be = Je(y, ys), Le = Ft({
|
|
4480
4480
|
accept: ie,
|
|
@@ -4493,7 +4493,7 @@ function zo() {
|
|
|
4493
4493
|
whiteSpace: "nowrap"
|
|
4494
4494
|
},
|
|
4495
4495
|
onChange: Ae(Te(se, ae)),
|
|
4496
|
-
onClick: Ae(Te(be,
|
|
4496
|
+
onClick: Ae(Te(be, Uo)),
|
|
4497
4497
|
tabIndex: -1
|
|
4498
4498
|
}, oe, J);
|
|
4499
4499
|
return ee(ee({}, Le), Be);
|
|
@@ -4502,7 +4502,7 @@ function zo() {
|
|
|
4502
4502
|
return ee(ee({}, $), {}, {
|
|
4503
4503
|
isFocused: c && !n,
|
|
4504
4504
|
getRootProps: Mo,
|
|
4505
|
-
getInputProps:
|
|
4505
|
+
getInputProps: qo,
|
|
4506
4506
|
rootRef: G,
|
|
4507
4507
|
inputRef: J,
|
|
4508
4508
|
open: Ae(x)
|
|
@@ -4581,7 +4581,7 @@ const Is = (e) => zo(e), js = (e) => {
|
|
|
4581
4581
|
window.removeEventListener("resize", g);
|
|
4582
4582
|
}), [t]);
|
|
4583
4583
|
const h = As(t);
|
|
4584
|
-
return /* @__PURE__ */
|
|
4584
|
+
return /* @__PURE__ */ U(
|
|
4585
4585
|
"div",
|
|
4586
4586
|
{
|
|
4587
4587
|
className: f(
|
|
@@ -4618,17 +4618,17 @@ const Is = (e) => zo(e), js = (e) => {
|
|
|
4618
4618
|
]
|
|
4619
4619
|
}
|
|
4620
4620
|
);
|
|
4621
|
-
}, Bs = "
|
|
4621
|
+
}, Bs = "_spUploadFiles_ncgke_43", Ws = "_spUploadFiles_error_ncgke_50", zs = "_spUploadFiles__control_ncgke_50", Ms = "_spUploadFiles__fileNameContainer_ncgke_54", Us = "_spUploadFiles__fileName_dragError_ncgke_58", qs = "_spUploadFiles__placeholderContainer_ncgke_61", $s = "_spUploadFiles__placeholderContainer_withUloadTooltip_ncgke_71", Hs = "_spUploadFiles__placeholder_ncgke_61", Vs = "_spUploadFiles__control_loading_ncgke_103", Ys = "_shimmer_ncgke_1", Gs = "_spUploadFiles__fileName_ncgke_54", Ks = "_spUploadFiles_fileUploaded_ncgke_150", Xs = "_spUploadFiles_disabled_ncgke_150", Zs = "_spUploadFiles__fileNamesList_ncgke_161", Qs = "_spUploadFiles__fileNamesList_loading_ncgke_172", Js = "_spUploadFiles__fileNamesListItem_ncgke_177", ep = "_spUploadFiles__fileNamesListItem__iconContainer_ncgke_204", tp = "_spUploadFiles__fileNamesListItem__iconContainer_error_ncgke_210", op = "_spUploadFiles__fileNamesListItem__mainContent_ncgke_214", np = "_spUploadFiles__fileNamesListItem__fileNameWrapper_ncgke_221", ap = "_spUploadFiles__fileNamesListItem__fileName_ncgke_221", ip = "_spUploadFiles__fileNamesListItem__description_ncgke_228", rp = "_spUploadFiles__fileNamesListItem__description__tooltipContent_ncgke_233", sp = "_spUploadFiles__fileNamesListItem__description_error_ncgke_236", pp = "_spUploadFiles__fileNamesListItemDelete_ncgke_239", lp = "_spUploadFiles__fileNamesListItemDelete_error_ncgke_256", cp = "_spUploadFiles__tooltipWrapper_ncgke_266", dp = "_spUploadFiles__tooltip_ncgke_266", mp = "_spUploadFiles__delete_ncgke_272", up = "_spUploadFiles__delete_loading_ncgke_276", _p = "_spUploadFiles__error_ncgke_285", V = {
|
|
4622
4622
|
spUploadFiles: Bs,
|
|
4623
4623
|
spUploadFiles_error: Ws,
|
|
4624
4624
|
spUploadFiles__control: zs,
|
|
4625
4625
|
spUploadFiles__fileNameContainer: Ms,
|
|
4626
|
-
spUploadFiles__fileName_dragError:
|
|
4627
|
-
spUploadFiles__placeholderContainer:
|
|
4628
|
-
"spUploadFiles--variant-input": "_spUploadFiles--variant-
|
|
4626
|
+
spUploadFiles__fileName_dragError: Us,
|
|
4627
|
+
spUploadFiles__placeholderContainer: qs,
|
|
4628
|
+
"spUploadFiles--variant-input": "_spUploadFiles--variant-input_ncgke_64",
|
|
4629
4629
|
spUploadFiles__placeholderContainer_withUloadTooltip: $s,
|
|
4630
4630
|
spUploadFiles__placeholder: Hs,
|
|
4631
|
-
"spUploadFiles--variant-dropzone": "_spUploadFiles--variant-
|
|
4631
|
+
"spUploadFiles--variant-dropzone": "_spUploadFiles--variant-dropzone_ncgke_86",
|
|
4632
4632
|
spUploadFiles__control_loading: Vs,
|
|
4633
4633
|
shimmer: Ys,
|
|
4634
4634
|
spUploadFiles__fileName: Gs,
|
|
@@ -4667,13 +4667,13 @@ const Is = (e) => zo(e), js = (e) => {
|
|
|
4667
4667
|
classNameRoot: u,
|
|
4668
4668
|
loading: g,
|
|
4669
4669
|
error: h
|
|
4670
|
-
} = e, [w,
|
|
4670
|
+
} = e, [w, k] = te([]), R = ge(
|
|
4671
4671
|
(v, N) => {
|
|
4672
4672
|
const j = N.map(({ file: D, errors: I }) => ({
|
|
4673
4673
|
file: D,
|
|
4674
4674
|
errors: I
|
|
4675
4675
|
}));
|
|
4676
|
-
if (
|
|
4676
|
+
if (k([...j, ...w]), !s) {
|
|
4677
4677
|
a(v, n);
|
|
4678
4678
|
return;
|
|
4679
4679
|
}
|
|
@@ -4681,7 +4681,7 @@ const Is = (e) => zo(e), js = (e) => {
|
|
|
4681
4681
|
a(E, n);
|
|
4682
4682
|
},
|
|
4683
4683
|
[w, d, s, n, a]
|
|
4684
|
-
), { getRootProps: W, getInputProps:
|
|
4684
|
+
), { getRootProps: W, getInputProps: q, isDragReject: A } = Is({
|
|
4685
4685
|
accept: i,
|
|
4686
4686
|
onDrop: R,
|
|
4687
4687
|
multiple: s,
|
|
@@ -4711,13 +4711,13 @@ const Is = (e) => zo(e), js = (e) => {
|
|
|
4711
4711
|
return;
|
|
4712
4712
|
if (N) {
|
|
4713
4713
|
const D = [...w], I = D.findIndex((B) => B.file.name === v);
|
|
4714
|
-
D.splice(I, 1),
|
|
4714
|
+
D.splice(I, 1), k(D);
|
|
4715
4715
|
return;
|
|
4716
4716
|
}
|
|
4717
4717
|
const j = [...d], E = j.findIndex((D) => D.name === v);
|
|
4718
4718
|
j.splice(E, 1), a(j, n);
|
|
4719
4719
|
}, G = (v) => {
|
|
4720
|
-
v.stopPropagation(), a([], n),
|
|
4720
|
+
v.stopPropagation(), a([], n), k([]), m(!1);
|
|
4721
4721
|
}, J = (v) => Object.values(v).flatMap((N) => N.map((j) => j.toUpperCase())).join(", "), Q = () => {
|
|
4722
4722
|
if (b) {
|
|
4723
4723
|
const v = J(i);
|
|
@@ -4741,9 +4741,9 @@ const Is = (e) => zo(e), js = (e) => {
|
|
|
4741
4741
|
classNameRoot: f(V.spUploadFiles__fileName)
|
|
4742
4742
|
}
|
|
4743
4743
|
);
|
|
4744
|
-
},
|
|
4744
|
+
}, C = () => /* @__PURE__ */ l("ul", { className: re, children: F.map(({ file: v, errors: N }, j) => {
|
|
4745
4745
|
const E = N ? (N == null ? void 0 : N.length) > 0 : void 0, D = () => N ? N == null ? void 0 : N.map(js).join(", ") : "";
|
|
4746
|
-
return /* @__PURE__ */
|
|
4746
|
+
return /* @__PURE__ */ U(
|
|
4747
4747
|
"li",
|
|
4748
4748
|
{
|
|
4749
4749
|
className: f(
|
|
@@ -4764,7 +4764,7 @@ const Is = (e) => zo(e), js = (e) => {
|
|
|
4764
4764
|
children: /* @__PURE__ */ l(xe, { name: E ? pe.InfoError : pe.File })
|
|
4765
4765
|
}
|
|
4766
4766
|
),
|
|
4767
|
-
/* @__PURE__ */
|
|
4767
|
+
/* @__PURE__ */ U("div", { className: V.spUploadFiles__fileNamesListItem__mainContent, children: [
|
|
4768
4768
|
/* @__PURE__ */ l(
|
|
4769
4769
|
Os,
|
|
4770
4770
|
{
|
|
@@ -4799,7 +4799,7 @@ const Is = (e) => zo(e), js = (e) => {
|
|
|
4799
4799
|
},
|
|
4800
4800
|
j
|
|
4801
4801
|
);
|
|
4802
|
-
}) }), $ = () => s ?
|
|
4802
|
+
}) }), $ = () => s ? C() : Q(), z = () => /* @__PURE__ */ l(
|
|
4803
4803
|
Ye,
|
|
4804
4804
|
{
|
|
4805
4805
|
classNameRoot: V.spUploadFiles__placeholder,
|
|
@@ -4809,7 +4809,7 @@ const Is = (e) => zo(e), js = (e) => {
|
|
|
4809
4809
|
),
|
|
4810
4810
|
text: t
|
|
4811
4811
|
}
|
|
4812
|
-
), c = () => /* @__PURE__ */
|
|
4812
|
+
), c = () => /* @__PURE__ */ U(uo, { children: [
|
|
4813
4813
|
P ? $() : z(),
|
|
4814
4814
|
P && O ? /* @__PURE__ */ l("div", { className: ue, onClick: G, children: /* @__PURE__ */ l(xe, { name: pe.Close }) }) : O && p && /* @__PURE__ */ l(
|
|
4815
4815
|
tt,
|
|
@@ -4825,11 +4825,11 @@ const Is = (e) => zo(e), js = (e) => {
|
|
|
4825
4825
|
Fa,
|
|
4826
4826
|
{
|
|
4827
4827
|
getRootProps: W,
|
|
4828
|
-
getInputProps:
|
|
4828
|
+
getInputProps: q,
|
|
4829
4829
|
disabled: r,
|
|
4830
4830
|
name: n,
|
|
4831
|
-
children: /* @__PURE__ */
|
|
4832
|
-
/* @__PURE__ */
|
|
4831
|
+
children: /* @__PURE__ */ U("div", { className: Z, children: [
|
|
4832
|
+
/* @__PURE__ */ U("div", { className: ie, children: [
|
|
4833
4833
|
O && (g ? /* @__PURE__ */ l(vo, {}) : /* @__PURE__ */ l(
|
|
4834
4834
|
xe,
|
|
4835
4835
|
{
|
|
@@ -4848,16 +4848,16 @@ export {
|
|
|
4848
4848
|
xp as Accordion,
|
|
4849
4849
|
Xn as ApplyButtons,
|
|
4850
4850
|
go as BaseTooltip,
|
|
4851
|
-
|
|
4851
|
+
Ct as Button,
|
|
4852
4852
|
hp as Checkbox,
|
|
4853
4853
|
yp as Confirm,
|
|
4854
4854
|
wp as ContextMenu,
|
|
4855
4855
|
Fa as DefaultDropzone,
|
|
4856
|
-
|
|
4856
|
+
kp as Dropdown,
|
|
4857
4857
|
pe as EIconName,
|
|
4858
4858
|
le as ETooltipPosition,
|
|
4859
4859
|
Ye as EllipsisTextWithTooltip,
|
|
4860
|
-
|
|
4860
|
+
Cp as Form,
|
|
4861
4861
|
xe as Icon,
|
|
4862
4862
|
tt as InfoTooltip,
|
|
4863
4863
|
ri as Input,
|