test-stpr-ui-kit 0.4.36 → 0.4.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/test-stpr-ui-kit.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as q, jsx as m, Fragment as dn } from "react/jsx-runtime";
|
|
2
2
|
import * as N from "react";
|
|
3
|
-
import
|
|
4
|
-
import
|
|
3
|
+
import $e, { useState as ie, useEffect as ne, useRef as ue, useCallback as de, forwardRef as Bn, useImperativeHandle as zn, Fragment as Wn, useMemo as Oe, useReducer as Mn, createContext as un, useContext as $n } from "react";
|
|
4
|
+
import qn from "react-dom";
|
|
5
5
|
import './test-stpr-ui-kit.css';function mn(e) {
|
|
6
6
|
var t, n, o = "";
|
|
7
7
|
if (typeof e == "string" || typeof e == "number") o += e;
|
|
@@ -38,7 +38,7 @@ const Hn = (e) => /* @__PURE__ */ N.createElement("svg", { className: "stpr-icon
|
|
|
38
38
|
plusCircle: Jn,
|
|
39
39
|
terminalSquare: no
|
|
40
40
|
};
|
|
41
|
-
return
|
|
41
|
+
return $e.createElement(i[t], {
|
|
42
42
|
...o,
|
|
43
43
|
style: a
|
|
44
44
|
});
|
|
@@ -62,7 +62,7 @@ const ro = "_spAccordion_11ek7_43", so = "_spAccordion_noBorder_11ek7_57", po =
|
|
|
62
62
|
spAccordion__childrenWrapper_open: ho,
|
|
63
63
|
spAccordion__content: bo,
|
|
64
64
|
spAccordion__content_open: yo
|
|
65
|
-
},
|
|
65
|
+
}, zs = (e) => {
|
|
66
66
|
const {
|
|
67
67
|
name: t,
|
|
68
68
|
children: n,
|
|
@@ -79,17 +79,17 @@ const ro = "_spAccordion_11ek7_43", so = "_spAccordion_noBorder_11ek7_57", po =
|
|
|
79
79
|
classNameChildrenWrapper: y
|
|
80
80
|
} = e, [w, g] = ie(o), S = () => {
|
|
81
81
|
a || (g(!w), i == null || i(!w));
|
|
82
|
-
},
|
|
82
|
+
}, A = _({
|
|
83
83
|
[re.spAccordion]: !0,
|
|
84
84
|
[re.spAccordion_open]: w,
|
|
85
85
|
[re.spAccordion_noOpen]: !w,
|
|
86
86
|
[re.spAccordion_noBorder]: r,
|
|
87
87
|
[re.spAccordion_noPadding]: s,
|
|
88
88
|
...c && { [c]: !0 }
|
|
89
|
-
}),
|
|
89
|
+
}), V = _({
|
|
90
90
|
[re.spAccordion__header]: !0,
|
|
91
91
|
...l && { [l]: !0 }
|
|
92
|
-
}),
|
|
92
|
+
}), D = _({
|
|
93
93
|
[re.spAccordion__name]: !0,
|
|
94
94
|
[re[`spAccordion__name--level-${u}`]]: u,
|
|
95
95
|
[re.spAccordion__name_hiddenExpand]: a,
|
|
@@ -107,9 +107,9 @@ const ro = "_spAccordion_11ek7_43", so = "_spAccordion_noBorder_11ek7_57", po =
|
|
|
107
107
|
[re.spAccordion__content]: !0,
|
|
108
108
|
[re.spAccordion__content_open]: w
|
|
109
109
|
});
|
|
110
|
-
return /* @__PURE__ */
|
|
111
|
-
/* @__PURE__ */
|
|
112
|
-
/* @__PURE__ */ m("div", { className:
|
|
110
|
+
return /* @__PURE__ */ q("div", { className: A, children: [
|
|
111
|
+
/* @__PURE__ */ q("div", { className: V, children: [
|
|
112
|
+
/* @__PURE__ */ m("div", { className: D, children: /* @__PURE__ */ m("span", { onClick: S, children: t }) }),
|
|
113
113
|
/* @__PURE__ */ m(he, { onClick: S, className: k, name: pe.ChevronDown })
|
|
114
114
|
] }),
|
|
115
115
|
/* @__PURE__ */ m("div", { className: p, children: /* @__PURE__ */ m("div", { className: T, children: n }) })
|
|
@@ -134,14 +134,14 @@ const ro = "_spAccordion_11ek7_43", so = "_spAccordion_noBorder_11ek7_57", po =
|
|
|
134
134
|
children: /* @__PURE__ */ m("div", { className: ct.spinner__inner })
|
|
135
135
|
}
|
|
136
136
|
);
|
|
137
|
-
}, To = "_spButton_zixup_43", Eo = "_spButton_noPadding_zixup_59",
|
|
137
|
+
}, To = "_spButton_zixup_43", Eo = "_spButton_noPadding_zixup_59", So = "_spButton_onlyIcon_zixup_62", No = "_spButton__iconContainer_zixup_70", Io = "_spButton_link_zixup_73", jo = "_spButton__text_zixup_77", Ro = "_spButton_primary_zixup_89", Ao = "_spButton_blue_zixup_89", Do = "_spButton_white_zixup_99", Lo = "_spButton_secondary_zixup_109", Oo = "_spButton_fullWidth_zixup_129", Po = "_spButton_disabled_zixup_132", Fo = "_spButton__spinner_zixup_141", ye = {
|
|
138
138
|
spButton: To,
|
|
139
139
|
spButton_noPadding: Eo,
|
|
140
|
-
spButton_onlyIcon:
|
|
141
|
-
spButton__iconContainer:
|
|
140
|
+
spButton_onlyIcon: So,
|
|
141
|
+
spButton__iconContainer: No,
|
|
142
142
|
spButton_link: Io,
|
|
143
|
-
spButton__text:
|
|
144
|
-
spButton_primary:
|
|
143
|
+
spButton__text: jo,
|
|
144
|
+
spButton_primary: Ro,
|
|
145
145
|
spButton_blue: Ao,
|
|
146
146
|
spButton_white: Do,
|
|
147
147
|
spButton_secondary: Lo,
|
|
@@ -166,20 +166,20 @@ const ro = "_spAccordion_11ek7_43", so = "_spAccordion_noBorder_11ek7_57", po =
|
|
|
166
166
|
noPadding: w = !1,
|
|
167
167
|
classNameRoot: g,
|
|
168
168
|
classNameIconContainerRoot: S
|
|
169
|
-
} = e,
|
|
169
|
+
} = e, A = (k) => {
|
|
170
170
|
s || a == null || a(k);
|
|
171
|
-
},
|
|
171
|
+
}, V = () => {
|
|
172
172
|
const k = _({
|
|
173
173
|
[ye.spButton__text]: !0
|
|
174
174
|
}), p = _({
|
|
175
175
|
[ye.spButton__iconContainer]: !0,
|
|
176
176
|
...S && { [S]: !0 }
|
|
177
177
|
});
|
|
178
|
-
return /* @__PURE__ */
|
|
178
|
+
return /* @__PURE__ */ q(dn, { children: [
|
|
179
179
|
(i || d) && /* @__PURE__ */ m("div", { className: p, children: d ? /* @__PURE__ */ m(Co, { classNameRoot: ye.spButton__spinner }) : i && /* @__PURE__ */ m(he, { name: i, rotate: r }) }),
|
|
180
180
|
!y && l && /* @__PURE__ */ m("div", { className: k, children: l })
|
|
181
181
|
] });
|
|
182
|
-
},
|
|
182
|
+
}, D = _({
|
|
183
183
|
[ye.spButton]: !0,
|
|
184
184
|
[ye.spButton_noPadding]: w,
|
|
185
185
|
[ye.spButton_onlyIcon]: y,
|
|
@@ -194,12 +194,12 @@ const ro = "_spAccordion_11ek7_43", so = "_spAccordion_noBorder_11ek7_57", po =
|
|
|
194
194
|
"button",
|
|
195
195
|
{
|
|
196
196
|
style: o,
|
|
197
|
-
className:
|
|
198
|
-
onClick:
|
|
197
|
+
className: D,
|
|
198
|
+
onClick: A,
|
|
199
199
|
disabled: s,
|
|
200
200
|
type: u,
|
|
201
201
|
form: c,
|
|
202
|
-
children:
|
|
202
|
+
children: V()
|
|
203
203
|
}
|
|
204
204
|
);
|
|
205
205
|
}, Bo = "_spApplyButtons_e8c1h_43", zo = "_spApplyButtons__cancel_e8c1h_65", Wo = "_spApplyButtons__submit_e8c1h_68", ze = {
|
|
@@ -232,7 +232,7 @@ const ro = "_spAccordion_11ek7_43", so = "_spAccordion_noBorder_11ek7_57", po =
|
|
|
232
232
|
}), w = _({
|
|
233
233
|
[ze.spApplyButtons__cancel]: !0
|
|
234
234
|
});
|
|
235
|
-
return /* @__PURE__ */
|
|
235
|
+
return /* @__PURE__ */ q("div", { className: x, children: [
|
|
236
236
|
o && /* @__PURE__ */ m(
|
|
237
237
|
wt,
|
|
238
238
|
{
|
|
@@ -259,11 +259,11 @@ const ro = "_spAccordion_11ek7_43", so = "_spAccordion_noBorder_11ek7_57", po =
|
|
|
259
259
|
}
|
|
260
260
|
)
|
|
261
261
|
] });
|
|
262
|
-
},
|
|
263
|
-
spBaseTooltip:
|
|
264
|
-
spBaseTooltip_noPadding:
|
|
262
|
+
}, $o = "_spBaseTooltip_z1ltl_43", qo = "_spBaseTooltip_noPadding_z1ltl_71", Ho = "_spBaseTooltip__content_z1ltl_74", lt = {
|
|
263
|
+
spBaseTooltip: $o,
|
|
264
|
+
spBaseTooltip_noPadding: qo,
|
|
265
265
|
spBaseTooltip__content: Ho
|
|
266
|
-
}, fn =
|
|
266
|
+
}, fn = $e.forwardRef((e, t) => {
|
|
267
267
|
const {
|
|
268
268
|
text: n,
|
|
269
269
|
noPadding: o = !1,
|
|
@@ -303,7 +303,7 @@ const vn = ({ children: e, node: t, classNameRoot: n }) => {
|
|
|
303
303
|
return n && (i.className = n), document.body.appendChild(i), a(i), () => {
|
|
304
304
|
t || document.body.removeChild(i);
|
|
305
305
|
};
|
|
306
|
-
}, [t, n]), o ?
|
|
306
|
+
}, [t, n]), o ? qn.createPortal(e, o) : null;
|
|
307
307
|
}, Vo = "_spTooltip_9ogwj_43", Yo = "_spTooltip__trigger_9ogwj_46", Lt = {
|
|
308
308
|
spTooltip: Vo,
|
|
309
309
|
spTooltip__trigger: Yo
|
|
@@ -325,9 +325,9 @@ const It = (e) => {
|
|
|
325
325
|
classNameTooltip: x,
|
|
326
326
|
classNameBaseTooltipRoot: y,
|
|
327
327
|
classNameBaseTooltipContentRoot: w
|
|
328
|
-
} = e, [g, S] = ie(!1),
|
|
328
|
+
} = e, [g, S] = ie(!1), A = ue(null), V = ue(null), [D, k] = ie(!1);
|
|
329
329
|
_n(
|
|
330
|
-
[
|
|
330
|
+
[A, V],
|
|
331
331
|
() => {
|
|
332
332
|
s && s(), S(!1);
|
|
333
333
|
},
|
|
@@ -340,8 +340,8 @@ const It = (e) => {
|
|
|
340
340
|
opacity: 0,
|
|
341
341
|
left: "-9999px"
|
|
342
342
|
}), [H, J] = ie(!1), oe = de(() => {
|
|
343
|
-
if (!
|
|
344
|
-
const C =
|
|
343
|
+
if (!A.current || !V.current) return;
|
|
344
|
+
const C = A.current.getBoundingClientRect(), W = V.current.getBoundingClientRect();
|
|
345
345
|
let K = 0, B = 0;
|
|
346
346
|
switch (c) {
|
|
347
347
|
case se.Right:
|
|
@@ -392,14 +392,14 @@ const It = (e) => {
|
|
|
392
392
|
}));
|
|
393
393
|
}, [c, g, H]);
|
|
394
394
|
ne(() => (k(!0), () => k(!1)), []), ne(() => {
|
|
395
|
-
|
|
396
|
-
}, [
|
|
397
|
-
if (!
|
|
395
|
+
D && oe();
|
|
396
|
+
}, [D, oe]), ne(() => {
|
|
397
|
+
if (!D) return;
|
|
398
398
|
const C = () => oe();
|
|
399
399
|
return window.addEventListener("resize", C), window.addEventListener("scroll", C, !0), () => {
|
|
400
400
|
window.removeEventListener("resize", C), window.removeEventListener("scroll", C, !0);
|
|
401
401
|
};
|
|
402
|
-
}, [
|
|
402
|
+
}, [D, oe]);
|
|
403
403
|
const me = _({
|
|
404
404
|
[Lt.spTooltip]: !0,
|
|
405
405
|
...x && { [x]: !0 }
|
|
@@ -411,7 +411,7 @@ const It = (e) => {
|
|
|
411
411
|
[Lt.spTooltip__trigger]: !0,
|
|
412
412
|
...u && { [u]: !0 }
|
|
413
413
|
}), Z = document.body;
|
|
414
|
-
return /* @__PURE__ */
|
|
414
|
+
return /* @__PURE__ */ q(
|
|
415
415
|
"div",
|
|
416
416
|
{
|
|
417
417
|
className: me,
|
|
@@ -419,12 +419,12 @@ const It = (e) => {
|
|
|
419
419
|
onMouseEnter: () => t && J(!0),
|
|
420
420
|
onMouseLeave: () => t && J(!1),
|
|
421
421
|
children: [
|
|
422
|
-
/* @__PURE__ */ m("div", { ref:
|
|
422
|
+
/* @__PURE__ */ m("div", { ref: A, className: X, children: i }),
|
|
423
423
|
a && /* @__PURE__ */ m(vn, { node: Z, children: /* @__PURE__ */ m(
|
|
424
424
|
fn,
|
|
425
425
|
{
|
|
426
426
|
style: T,
|
|
427
|
-
ref:
|
|
427
|
+
ref: V,
|
|
428
428
|
noPadding: d,
|
|
429
429
|
text: l,
|
|
430
430
|
classNameRoot: fe,
|
|
@@ -447,7 +447,7 @@ const It = (e) => {
|
|
|
447
447
|
spCheckbox__tooltip: ea,
|
|
448
448
|
spCheckbox__required: ta,
|
|
449
449
|
spCheckbox__error: na
|
|
450
|
-
},
|
|
450
|
+
}, Ws = (e) => {
|
|
451
451
|
const {
|
|
452
452
|
size: t = "lg",
|
|
453
453
|
checked: n,
|
|
@@ -472,11 +472,11 @@ const It = (e) => {
|
|
|
472
472
|
[we.spCheckbox__box_disabled]: o,
|
|
473
473
|
[we[`spCheckbox__box--size-${t}`]]: t,
|
|
474
474
|
[we.spCheckbox__box_error]: s
|
|
475
|
-
}),
|
|
475
|
+
}), A = _({
|
|
476
476
|
[we.spCheckbox__control]: !0
|
|
477
|
-
}),
|
|
477
|
+
}), V = _({
|
|
478
478
|
[we.spCheckbox__label]: !0
|
|
479
|
-
}),
|
|
479
|
+
}), D = _({
|
|
480
480
|
[we.spCheckbox__required]: !0
|
|
481
481
|
}), k = _({
|
|
482
482
|
[we.spCheckbox__error]: !0,
|
|
@@ -484,26 +484,26 @@ const It = (e) => {
|
|
|
484
484
|
}), p = _({
|
|
485
485
|
[we.spCheckbox__tooltip]: !0
|
|
486
486
|
});
|
|
487
|
-
return /* @__PURE__ */
|
|
488
|
-
/* @__PURE__ */
|
|
487
|
+
return /* @__PURE__ */ q("div", { className: g, onMouseEnter: x, children: [
|
|
488
|
+
/* @__PURE__ */ q("label", { className: S, children: [
|
|
489
489
|
/* @__PURE__ */ m(
|
|
490
490
|
"input",
|
|
491
491
|
{
|
|
492
492
|
type: "checkbox",
|
|
493
|
-
className:
|
|
493
|
+
className: A,
|
|
494
494
|
checked: n,
|
|
495
495
|
onChange: (F) => {
|
|
496
496
|
!o && a && a(F, { name: i, checked: !n, value: u });
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
499
|
),
|
|
500
|
-
r && /* @__PURE__ */ m("span", { className:
|
|
501
|
-
c && /* @__PURE__ */ m("div", { className:
|
|
500
|
+
r && /* @__PURE__ */ m("span", { className: V, children: r }),
|
|
501
|
+
c && /* @__PURE__ */ m("div", { className: D, children: "*" }),
|
|
502
502
|
d && /* @__PURE__ */ m("div", { className: p, children: /* @__PURE__ */ m(Je, { position: l, text: d }) })
|
|
503
503
|
] }),
|
|
504
504
|
s && /* @__PURE__ */ m("div", { className: k, children: s })
|
|
505
505
|
] });
|
|
506
|
-
},
|
|
506
|
+
}, Ms = (e = {}) => {
|
|
507
507
|
const { initialValue: t = null } = e, [n, o] = ie(t);
|
|
508
508
|
return {
|
|
509
509
|
isOpen: !!n,
|
|
@@ -540,7 +540,7 @@ const It = (e) => {
|
|
|
540
540
|
"spText_type-description": "_spText_type-description_1gech_92",
|
|
541
541
|
"spText_type-link": "_spText_type-link_1gech_100",
|
|
542
542
|
spText_cursorPointer: pa
|
|
543
|
-
}, Ee =
|
|
543
|
+
}, Ee = $e.forwardRef((e, t) => {
|
|
544
544
|
const {
|
|
545
545
|
type: n,
|
|
546
546
|
children: o,
|
|
@@ -572,18 +572,19 @@ const It = (e) => {
|
|
|
572
572
|
);
|
|
573
573
|
});
|
|
574
574
|
Ee.displayName = "Text";
|
|
575
|
-
const ca = "
|
|
575
|
+
const ca = "_modalWrapper_1jx5o_43", la = "_modalWrapper__modal_1jx5o_54", da = "_modalWrapper__content_1jx5o_77", ua = "_modalWrapper__header_1jx5o_80", ma = "_modalWrapper__subHeader_1jx5o_88", fa = "_modalWrapper__subHeader_onlySubHeader_1jx5o_96", _a = "_modalWrapper__footer_1jx5o_99", va = "_modalWrapper__closeButton_1jx5o_102", xa = "_modalWrapper__closeButtonIconContainer_1jx5o_116", ke = {
|
|
576
576
|
modalWrapper: ca,
|
|
577
|
-
"modalWrapper_align-top": "_modalWrapper_align-
|
|
578
|
-
"modalWrapper_align-center": "_modalWrapper_align-
|
|
577
|
+
"modalWrapper_align-top": "_modalWrapper_align-top_1jx5o_48",
|
|
578
|
+
"modalWrapper_align-center": "_modalWrapper_align-center_1jx5o_51",
|
|
579
579
|
modalWrapper__modal: la,
|
|
580
580
|
modalWrapper__content: da,
|
|
581
581
|
modalWrapper__header: ua,
|
|
582
582
|
modalWrapper__subHeader: ma,
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
583
|
+
modalWrapper__subHeader_onlySubHeader: fa,
|
|
584
|
+
modalWrapper__footer: _a,
|
|
585
|
+
modalWrapper__closeButton: va,
|
|
586
|
+
modalWrapper__closeButtonIconContainer: xa
|
|
587
|
+
}, ga = (e) => {
|
|
587
588
|
const {
|
|
588
589
|
zIndex: t,
|
|
589
590
|
isHiddenModal: n = !1,
|
|
@@ -598,37 +599,38 @@ const ca = "_modalWrapper_ah6vq_43", la = "_modalWrapper__modal_ah6vq_54", da =
|
|
|
598
599
|
subHeader: d,
|
|
599
600
|
footer: x
|
|
600
601
|
} = e, y = _({
|
|
601
|
-
[
|
|
602
|
-
[
|
|
602
|
+
[ke.modalWrapper]: !0,
|
|
603
|
+
[ke[`modalWrapper_align-${u}`]]: u
|
|
603
604
|
}), w = _({
|
|
604
|
-
[
|
|
605
|
+
[ke.modalWrapper__modal]: !0,
|
|
605
606
|
...r && { [r]: !0 }
|
|
606
607
|
}), g = _({
|
|
607
|
-
[
|
|
608
|
+
[ke.modalWrapper__closeButton]: !0
|
|
608
609
|
}), S = _({
|
|
609
|
-
[
|
|
610
|
-
}), L = _({
|
|
611
|
-
[Ce.modalWrapper__content]: !0
|
|
612
|
-
}), Y = _({
|
|
613
|
-
[Ce.modalWrapper__header]: !0
|
|
610
|
+
[ke.modalWrapper__closeButtonIconContainer]: !0
|
|
614
611
|
}), A = _({
|
|
615
|
-
[
|
|
612
|
+
[ke.modalWrapper__content]: !0
|
|
613
|
+
}), V = _({
|
|
614
|
+
[ke.modalWrapper__header]: !0
|
|
615
|
+
}), D = _({
|
|
616
|
+
[ke.modalWrapper__subHeader]: !0,
|
|
617
|
+
[ke.modalWrapper__subHeader_onlySubHeader]: !l
|
|
616
618
|
}), k = _({
|
|
617
|
-
[
|
|
619
|
+
[ke.modalWrapper__footer]: !0
|
|
618
620
|
});
|
|
619
621
|
return ne(() => {
|
|
620
622
|
const p = window.scrollY, T = document.body;
|
|
621
623
|
return T.style.position = "fixed", T.style.top = `-${p}px`, T.style.left = "0", T.style.right = "0", T.style.overflow = "hidden", () => {
|
|
622
624
|
T.style.position = "", T.style.top = "", T.style.left = "", T.style.right = "", T.style.overflow = "", window.scrollTo(0, p);
|
|
623
625
|
};
|
|
624
|
-
}, []), /* @__PURE__ */ m(ia, { zIndex: t, isHiddenModal: n, classNameRoot: i, children: /* @__PURE__ */ m("div", { className: y, children: /* @__PURE__ */
|
|
625
|
-
(l || d) && /* @__PURE__ */
|
|
626
|
+
}, []), /* @__PURE__ */ m(ia, { zIndex: t, isHiddenModal: n, classNameRoot: i, children: /* @__PURE__ */ m("div", { className: y, children: /* @__PURE__ */ q("div", { className: w, style: s, children: [
|
|
627
|
+
(l || d) && /* @__PURE__ */ q("div", { className: V, children: [
|
|
626
628
|
typeof l == "string" ? /* @__PURE__ */ m(Ee, { type: "h3", children: l }) : l,
|
|
627
|
-
d && /* @__PURE__ */ m("div", { className:
|
|
629
|
+
d && /* @__PURE__ */ m("div", { className: D, children: typeof d == "string" ? /* @__PURE__ */ m(Ee, { children: d }) : d })
|
|
628
630
|
] }),
|
|
629
|
-
a && /* @__PURE__ */ m("div", { className:
|
|
631
|
+
a && /* @__PURE__ */ m("div", { className: A, children: a }),
|
|
630
632
|
x && /* @__PURE__ */ m("div", { className: k, children: x }),
|
|
631
|
-
o && /* @__PURE__ */ m(
|
|
633
|
+
o && c && /* @__PURE__ */ m(
|
|
632
634
|
wt,
|
|
633
635
|
{
|
|
634
636
|
classNameRoot: g,
|
|
@@ -641,7 +643,7 @@ const ca = "_modalWrapper_ah6vq_43", la = "_modalWrapper__modal_ah6vq_54", da =
|
|
|
641
643
|
}
|
|
642
644
|
)
|
|
643
645
|
] }) }) });
|
|
644
|
-
},
|
|
646
|
+
}, $s = (e) => {
|
|
645
647
|
const {
|
|
646
648
|
zIndex: t,
|
|
647
649
|
title: n,
|
|
@@ -657,16 +659,20 @@ const ca = "_modalWrapper_ah6vq_43", la = "_modalWrapper__modal_ah6vq_54", da =
|
|
|
657
659
|
mobile: x = "column",
|
|
658
660
|
align: y = "right",
|
|
659
661
|
modalAlign: w = "top",
|
|
660
|
-
loading: g
|
|
662
|
+
loading: g,
|
|
663
|
+
isVisibleCloseButton: S,
|
|
664
|
+
isHiddenModal: A
|
|
661
665
|
} = e;
|
|
662
666
|
return /* @__PURE__ */ m(
|
|
663
|
-
|
|
667
|
+
ga,
|
|
664
668
|
{
|
|
665
669
|
zIndex: t,
|
|
666
670
|
header: n,
|
|
667
671
|
onClose: d,
|
|
668
672
|
align: w,
|
|
669
673
|
subHeader: o,
|
|
674
|
+
isVisibleCloseButton: S,
|
|
675
|
+
isHiddenModal: A,
|
|
670
676
|
footer: a || s ? /* @__PURE__ */ m(
|
|
671
677
|
Mo,
|
|
672
678
|
{
|
|
@@ -685,10 +691,10 @@ const ca = "_modalWrapper_ah6vq_43", la = "_modalWrapper__modal_ah6vq_54", da =
|
|
|
685
691
|
) : null
|
|
686
692
|
}
|
|
687
693
|
);
|
|
688
|
-
},
|
|
689
|
-
spContextMenu:
|
|
690
|
-
spContextMenu__item:
|
|
691
|
-
spContextMenu__item_deleteItem:
|
|
694
|
+
}, ha = "_spContextMenu_1cza9_43", ba = "_spContextMenu__item_1cza9_55", ya = "_spContextMenu__item_deleteItem_1cza9_74", dt = {
|
|
695
|
+
spContextMenu: ha,
|
|
696
|
+
spContextMenu__item: ba,
|
|
697
|
+
spContextMenu__item_deleteItem: ya
|
|
692
698
|
}, qs = (e) => {
|
|
693
699
|
const { onClickItem: t, options: n, classNameRoot: o } = e, a = _({
|
|
694
700
|
[dt.spContextMenu]: !0,
|
|
@@ -696,7 +702,7 @@ const ca = "_modalWrapper_ah6vq_43", la = "_modalWrapper__modal_ah6vq_54", da =
|
|
|
696
702
|
});
|
|
697
703
|
return /* @__PURE__ */ m("ul", { className: a, children: n == null ? void 0 : n.map((i) => {
|
|
698
704
|
const r = i.key === "delete";
|
|
699
|
-
return /* @__PURE__ */
|
|
705
|
+
return /* @__PURE__ */ q(
|
|
700
706
|
"li",
|
|
701
707
|
{
|
|
702
708
|
className: _({
|
|
@@ -728,11 +734,11 @@ var kt = { exports: {} }, Ue = { exports: {} }, U = {};
|
|
|
728
734
|
* LICENSE file in the root directory of this source tree.
|
|
729
735
|
*/
|
|
730
736
|
var Pt;
|
|
731
|
-
function
|
|
737
|
+
function wa() {
|
|
732
738
|
if (Pt) return U;
|
|
733
739
|
Pt = 1;
|
|
734
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, l = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, x = e ? Symbol.for("react.suspense_list") : 60120, y = e ? Symbol.for("react.memo") : 60115, w = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, S = e ? Symbol.for("react.fundamental") : 60117,
|
|
735
|
-
function
|
|
740
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, l = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, x = e ? Symbol.for("react.suspense_list") : 60120, y = e ? Symbol.for("react.memo") : 60115, w = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, S = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118, V = e ? Symbol.for("react.scope") : 60119;
|
|
741
|
+
function D(p) {
|
|
736
742
|
if (typeof p == "object" && p !== null) {
|
|
737
743
|
var T = p.$$typeof;
|
|
738
744
|
switch (T) {
|
|
@@ -763,35 +769,35 @@ function ya() {
|
|
|
763
769
|
}
|
|
764
770
|
}
|
|
765
771
|
function k(p) {
|
|
766
|
-
return
|
|
772
|
+
return D(p) === c;
|
|
767
773
|
}
|
|
768
774
|
return U.AsyncMode = u, U.ConcurrentMode = c, U.ContextConsumer = s, U.ContextProvider = r, U.Element = t, U.ForwardRef = l, U.Fragment = o, U.Lazy = w, U.Memo = y, U.Portal = n, U.Profiler = i, U.StrictMode = a, U.Suspense = d, U.isAsyncMode = function(p) {
|
|
769
|
-
return k(p) ||
|
|
775
|
+
return k(p) || D(p) === u;
|
|
770
776
|
}, U.isConcurrentMode = k, U.isContextConsumer = function(p) {
|
|
771
|
-
return
|
|
777
|
+
return D(p) === s;
|
|
772
778
|
}, U.isContextProvider = function(p) {
|
|
773
|
-
return
|
|
779
|
+
return D(p) === r;
|
|
774
780
|
}, U.isElement = function(p) {
|
|
775
781
|
return typeof p == "object" && p !== null && p.$$typeof === t;
|
|
776
782
|
}, U.isForwardRef = function(p) {
|
|
777
|
-
return
|
|
783
|
+
return D(p) === l;
|
|
778
784
|
}, U.isFragment = function(p) {
|
|
779
|
-
return
|
|
785
|
+
return D(p) === o;
|
|
780
786
|
}, U.isLazy = function(p) {
|
|
781
|
-
return
|
|
787
|
+
return D(p) === w;
|
|
782
788
|
}, U.isMemo = function(p) {
|
|
783
|
-
return
|
|
789
|
+
return D(p) === y;
|
|
784
790
|
}, U.isPortal = function(p) {
|
|
785
|
-
return
|
|
791
|
+
return D(p) === n;
|
|
786
792
|
}, U.isProfiler = function(p) {
|
|
787
|
-
return
|
|
793
|
+
return D(p) === i;
|
|
788
794
|
}, U.isStrictMode = function(p) {
|
|
789
|
-
return
|
|
795
|
+
return D(p) === a;
|
|
790
796
|
}, U.isSuspense = function(p) {
|
|
791
|
-
return
|
|
797
|
+
return D(p) === d;
|
|
792
798
|
}, U.isValidElementType = function(p) {
|
|
793
|
-
return typeof p == "string" || typeof p == "function" || p === o || p === c || p === i || p === a || p === d || p === x || typeof p == "object" && p !== null && (p.$$typeof === w || p.$$typeof === y || p.$$typeof === r || p.$$typeof === s || p.$$typeof === l || p.$$typeof === S || p.$$typeof ===
|
|
794
|
-
}, U.typeOf =
|
|
799
|
+
return typeof p == "string" || typeof p == "function" || p === o || p === c || p === i || p === a || p === d || p === x || typeof p == "object" && p !== null && (p.$$typeof === w || p.$$typeof === y || p.$$typeof === r || p.$$typeof === s || p.$$typeof === l || p.$$typeof === S || p.$$typeof === A || p.$$typeof === V || p.$$typeof === g);
|
|
800
|
+
}, U.typeOf = D, U;
|
|
795
801
|
}
|
|
796
802
|
var G = {};
|
|
797
803
|
/** @license React v16.13.1
|
|
@@ -803,29 +809,29 @@ var G = {};
|
|
|
803
809
|
* LICENSE file in the root directory of this source tree.
|
|
804
810
|
*/
|
|
805
811
|
var Ft;
|
|
806
|
-
function
|
|
812
|
+
function ka() {
|
|
807
813
|
return Ft || (Ft = 1, process.env.NODE_ENV !== "production" && function() {
|
|
808
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, l = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, x = e ? Symbol.for("react.suspense_list") : 60120, y = e ? Symbol.for("react.memo") : 60115, w = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, S = e ? Symbol.for("react.fundamental") : 60117,
|
|
809
|
-
function
|
|
814
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, l = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, x = e ? Symbol.for("react.suspense_list") : 60120, y = e ? Symbol.for("react.memo") : 60115, w = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, S = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118, V = e ? Symbol.for("react.scope") : 60119;
|
|
815
|
+
function D(v) {
|
|
810
816
|
return typeof v == "string" || typeof v == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
811
|
-
v === o || v === c || v === i || v === a || v === d || v === x || typeof v == "object" && v !== null && (v.$$typeof === w || v.$$typeof === y || v.$$typeof === r || v.$$typeof === s || v.$$typeof === l || v.$$typeof === S || v.$$typeof ===
|
|
817
|
+
v === o || v === c || v === i || v === a || v === d || v === x || typeof v == "object" && v !== null && (v.$$typeof === w || v.$$typeof === y || v.$$typeof === r || v.$$typeof === s || v.$$typeof === l || v.$$typeof === S || v.$$typeof === A || v.$$typeof === V || v.$$typeof === g);
|
|
812
818
|
}
|
|
813
819
|
function k(v) {
|
|
814
820
|
if (typeof v == "object" && v !== null) {
|
|
815
821
|
var _e = v.$$typeof;
|
|
816
822
|
switch (_e) {
|
|
817
823
|
case t:
|
|
818
|
-
var
|
|
819
|
-
switch (
|
|
824
|
+
var Ne = v.type;
|
|
825
|
+
switch (Ne) {
|
|
820
826
|
case u:
|
|
821
827
|
case c:
|
|
822
828
|
case o:
|
|
823
829
|
case i:
|
|
824
830
|
case a:
|
|
825
831
|
case d:
|
|
826
|
-
return
|
|
832
|
+
return Ne;
|
|
827
833
|
default:
|
|
828
|
-
var Fe =
|
|
834
|
+
var Fe = Ne && Ne.$$typeof;
|
|
829
835
|
switch (Fe) {
|
|
830
836
|
case s:
|
|
831
837
|
case l:
|
|
@@ -852,28 +858,28 @@ function wa() {
|
|
|
852
858
|
function b(v) {
|
|
853
859
|
return k(v) === s;
|
|
854
860
|
}
|
|
855
|
-
function
|
|
861
|
+
function L(v) {
|
|
856
862
|
return k(v) === r;
|
|
857
863
|
}
|
|
858
864
|
function O(v) {
|
|
859
865
|
return typeof v == "object" && v !== null && v.$$typeof === t;
|
|
860
866
|
}
|
|
861
|
-
function
|
|
867
|
+
function j(v) {
|
|
862
868
|
return k(v) === l;
|
|
863
869
|
}
|
|
864
870
|
function M(v) {
|
|
865
871
|
return k(v) === o;
|
|
866
872
|
}
|
|
867
|
-
function
|
|
873
|
+
function R(v) {
|
|
868
874
|
return k(v) === w;
|
|
869
875
|
}
|
|
870
876
|
function P(v) {
|
|
871
877
|
return k(v) === y;
|
|
872
878
|
}
|
|
873
|
-
function
|
|
879
|
+
function $(v) {
|
|
874
880
|
return k(v) === n;
|
|
875
881
|
}
|
|
876
|
-
function
|
|
882
|
+
function Y(v) {
|
|
877
883
|
return k(v) === i;
|
|
878
884
|
}
|
|
879
885
|
function z(v) {
|
|
@@ -882,12 +888,12 @@ function wa() {
|
|
|
882
888
|
function te(v) {
|
|
883
889
|
return k(v) === d;
|
|
884
890
|
}
|
|
885
|
-
G.AsyncMode = p, G.ConcurrentMode = T, G.ContextConsumer = F, G.ContextProvider = H, G.Element = J, G.ForwardRef = oe, G.Fragment = me, G.Lazy = fe, G.Memo = le, G.Portal = X, G.Profiler = Z, G.StrictMode = C, G.Suspense = W, G.isAsyncMode = B, G.isConcurrentMode = f, G.isContextConsumer = b, G.isContextProvider =
|
|
891
|
+
G.AsyncMode = p, G.ConcurrentMode = T, G.ContextConsumer = F, G.ContextProvider = H, G.Element = J, G.ForwardRef = oe, G.Fragment = me, G.Lazy = fe, G.Memo = le, G.Portal = X, G.Profiler = Z, G.StrictMode = C, G.Suspense = W, G.isAsyncMode = B, G.isConcurrentMode = f, G.isContextConsumer = b, G.isContextProvider = L, G.isElement = O, G.isForwardRef = j, G.isFragment = M, G.isLazy = R, G.isMemo = P, G.isPortal = $, G.isProfiler = Y, G.isStrictMode = z, G.isSuspense = te, G.isValidElementType = D, G.typeOf = k;
|
|
886
892
|
}()), G;
|
|
887
893
|
}
|
|
888
894
|
var Bt;
|
|
889
895
|
function gn() {
|
|
890
|
-
return Bt || (Bt = 1, process.env.NODE_ENV === "production" ? Ue.exports =
|
|
896
|
+
return Bt || (Bt = 1, process.env.NODE_ENV === "production" ? Ue.exports = wa() : Ue.exports = ka()), Ue.exports;
|
|
891
897
|
}
|
|
892
898
|
/*
|
|
893
899
|
object-assign
|
|
@@ -895,7 +901,7 @@ object-assign
|
|
|
895
901
|
@license MIT
|
|
896
902
|
*/
|
|
897
903
|
var ut, zt;
|
|
898
|
-
function
|
|
904
|
+
function Ca() {
|
|
899
905
|
if (zt) return ut;
|
|
900
906
|
zt = 1;
|
|
901
907
|
var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable;
|
|
@@ -941,7 +947,7 @@ function ka() {
|
|
|
941
947
|
}, ut;
|
|
942
948
|
}
|
|
943
949
|
var mt, Wt;
|
|
944
|
-
function
|
|
950
|
+
function jt() {
|
|
945
951
|
if (Wt) return mt;
|
|
946
952
|
Wt = 1;
|
|
947
953
|
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
@@ -951,14 +957,14 @@ var ft, Mt;
|
|
|
951
957
|
function hn() {
|
|
952
958
|
return Mt || (Mt = 1, ft = Function.call.bind(Object.prototype.hasOwnProperty)), ft;
|
|
953
959
|
}
|
|
954
|
-
var _t,
|
|
955
|
-
function
|
|
956
|
-
if (
|
|
957
|
-
|
|
960
|
+
var _t, $t;
|
|
961
|
+
function Ta() {
|
|
962
|
+
if ($t) return _t;
|
|
963
|
+
$t = 1;
|
|
958
964
|
var e = function() {
|
|
959
965
|
};
|
|
960
966
|
if (process.env.NODE_ENV !== "production") {
|
|
961
|
-
var t =
|
|
967
|
+
var t = jt(), n = {}, o = hn();
|
|
962
968
|
e = function(i) {
|
|
963
969
|
var r = "Warning: " + i;
|
|
964
970
|
typeof console < "u" && console.error(r);
|
|
@@ -1000,11 +1006,11 @@ function Ca() {
|
|
|
1000
1006
|
process.env.NODE_ENV !== "production" && (n = {});
|
|
1001
1007
|
}, _t = a, _t;
|
|
1002
1008
|
}
|
|
1003
|
-
var vt,
|
|
1004
|
-
function
|
|
1005
|
-
if (
|
|
1006
|
-
|
|
1007
|
-
var e = gn(), t =
|
|
1009
|
+
var vt, qt;
|
|
1010
|
+
function Ea() {
|
|
1011
|
+
if (qt) return vt;
|
|
1012
|
+
qt = 1;
|
|
1013
|
+
var e = gn(), t = Ca(), n = jt(), o = hn(), a = Ta(), i = function() {
|
|
1008
1014
|
};
|
|
1009
1015
|
process.env.NODE_ENV !== "production" && (i = function(s) {
|
|
1010
1016
|
var u = "Warning: " + s;
|
|
@@ -1025,16 +1031,16 @@ function Ta() {
|
|
|
1025
1031
|
return b;
|
|
1026
1032
|
}
|
|
1027
1033
|
var x = "<<anonymous>>", y = {
|
|
1028
|
-
array:
|
|
1029
|
-
bigint:
|
|
1030
|
-
bool:
|
|
1031
|
-
func:
|
|
1032
|
-
number:
|
|
1033
|
-
object:
|
|
1034
|
-
string:
|
|
1035
|
-
symbol:
|
|
1036
|
-
any:
|
|
1037
|
-
arrayOf:
|
|
1034
|
+
array: A("array"),
|
|
1035
|
+
bigint: A("bigint"),
|
|
1036
|
+
bool: A("boolean"),
|
|
1037
|
+
func: A("function"),
|
|
1038
|
+
number: A("number"),
|
|
1039
|
+
object: A("object"),
|
|
1040
|
+
string: A("string"),
|
|
1041
|
+
symbol: A("symbol"),
|
|
1042
|
+
any: V(),
|
|
1043
|
+
arrayOf: D,
|
|
1038
1044
|
element: k(),
|
|
1039
1045
|
elementType: p(),
|
|
1040
1046
|
instanceOf: T,
|
|
@@ -1054,34 +1060,34 @@ function Ta() {
|
|
|
1054
1060
|
g.prototype = Error.prototype;
|
|
1055
1061
|
function S(f) {
|
|
1056
1062
|
if (process.env.NODE_ENV !== "production")
|
|
1057
|
-
var b = {},
|
|
1058
|
-
function O(M,
|
|
1059
|
-
if (
|
|
1063
|
+
var b = {}, L = 0;
|
|
1064
|
+
function O(M, R, P, $, Y, z, te) {
|
|
1065
|
+
if ($ = $ || x, z = z || P, te !== n) {
|
|
1060
1066
|
if (u) {
|
|
1061
1067
|
var v = new Error(
|
|
1062
1068
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
1063
1069
|
);
|
|
1064
1070
|
throw v.name = "Invariant Violation", v;
|
|
1065
1071
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1066
|
-
var _e =
|
|
1072
|
+
var _e = $ + ":" + P;
|
|
1067
1073
|
!b[_e] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
1068
|
-
|
|
1069
|
-
"You are manually calling a React.PropTypes validation function for the `" + z + "` prop on `" +
|
|
1070
|
-
), b[_e] = !0,
|
|
1074
|
+
L < 3 && (i(
|
|
1075
|
+
"You are manually calling a React.PropTypes validation function for the `" + z + "` prop on `" + $ + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
1076
|
+
), b[_e] = !0, L++);
|
|
1071
1077
|
}
|
|
1072
1078
|
}
|
|
1073
|
-
return
|
|
1079
|
+
return R[P] == null ? M ? R[P] === null ? new g("The " + Y + " `" + z + "` is marked as required " + ("in `" + $ + "`, but its value is `null`.")) : new g("The " + Y + " `" + z + "` is marked as required in " + ("`" + $ + "`, but its value is `undefined`.")) : null : f(R, P, $, Y, z);
|
|
1074
1080
|
}
|
|
1075
|
-
var
|
|
1076
|
-
return
|
|
1081
|
+
var j = O.bind(null, !1);
|
|
1082
|
+
return j.isRequired = O.bind(null, !0), j;
|
|
1077
1083
|
}
|
|
1078
|
-
function
|
|
1079
|
-
function b(
|
|
1080
|
-
var
|
|
1081
|
-
if (
|
|
1082
|
-
var z = W(
|
|
1084
|
+
function A(f) {
|
|
1085
|
+
function b(L, O, j, M, R, P) {
|
|
1086
|
+
var $ = L[O], Y = C($);
|
|
1087
|
+
if (Y !== f) {
|
|
1088
|
+
var z = W($);
|
|
1083
1089
|
return new g(
|
|
1084
|
-
"Invalid " + M + " `" +
|
|
1090
|
+
"Invalid " + M + " `" + R + "` of type " + ("`" + z + "` supplied to `" + j + "`, expected ") + ("`" + f + "`."),
|
|
1085
1091
|
{ expectedType: f }
|
|
1086
1092
|
);
|
|
1087
1093
|
}
|
|
@@ -1089,20 +1095,20 @@ function Ta() {
|
|
|
1089
1095
|
}
|
|
1090
1096
|
return S(b);
|
|
1091
1097
|
}
|
|
1092
|
-
function
|
|
1098
|
+
function V() {
|
|
1093
1099
|
return S(r);
|
|
1094
1100
|
}
|
|
1095
|
-
function
|
|
1096
|
-
function b(
|
|
1101
|
+
function D(f) {
|
|
1102
|
+
function b(L, O, j, M, R) {
|
|
1097
1103
|
if (typeof f != "function")
|
|
1098
|
-
return new g("Property `" +
|
|
1099
|
-
var P =
|
|
1104
|
+
return new g("Property `" + R + "` of component `" + j + "` has invalid PropType notation inside arrayOf.");
|
|
1105
|
+
var P = L[O];
|
|
1100
1106
|
if (!Array.isArray(P)) {
|
|
1101
|
-
var
|
|
1102
|
-
return new g("Invalid " + M + " `" +
|
|
1107
|
+
var $ = C(P);
|
|
1108
|
+
return new g("Invalid " + M + " `" + R + "` of type " + ("`" + $ + "` supplied to `" + j + "`, expected an array."));
|
|
1103
1109
|
}
|
|
1104
|
-
for (var
|
|
1105
|
-
var z = f(P,
|
|
1110
|
+
for (var Y = 0; Y < P.length; Y++) {
|
|
1111
|
+
var z = f(P, Y, j, M, R + "[" + Y + "]", n);
|
|
1106
1112
|
if (z instanceof Error)
|
|
1107
1113
|
return z;
|
|
1108
1114
|
}
|
|
@@ -1111,32 +1117,32 @@ function Ta() {
|
|
|
1111
1117
|
return S(b);
|
|
1112
1118
|
}
|
|
1113
1119
|
function k() {
|
|
1114
|
-
function f(b,
|
|
1115
|
-
var
|
|
1116
|
-
if (!s(
|
|
1117
|
-
var P = C(
|
|
1118
|
-
return new g("Invalid " +
|
|
1120
|
+
function f(b, L, O, j, M) {
|
|
1121
|
+
var R = b[L];
|
|
1122
|
+
if (!s(R)) {
|
|
1123
|
+
var P = C(R);
|
|
1124
|
+
return new g("Invalid " + j + " `" + M + "` of type " + ("`" + P + "` supplied to `" + O + "`, expected a single ReactElement."));
|
|
1119
1125
|
}
|
|
1120
1126
|
return null;
|
|
1121
1127
|
}
|
|
1122
1128
|
return S(f);
|
|
1123
1129
|
}
|
|
1124
1130
|
function p() {
|
|
1125
|
-
function f(b,
|
|
1126
|
-
var
|
|
1127
|
-
if (!e.isValidElementType(
|
|
1128
|
-
var P = C(
|
|
1129
|
-
return new g("Invalid " +
|
|
1131
|
+
function f(b, L, O, j, M) {
|
|
1132
|
+
var R = b[L];
|
|
1133
|
+
if (!e.isValidElementType(R)) {
|
|
1134
|
+
var P = C(R);
|
|
1135
|
+
return new g("Invalid " + j + " `" + M + "` of type " + ("`" + P + "` supplied to `" + O + "`, expected a single ReactElement type."));
|
|
1130
1136
|
}
|
|
1131
1137
|
return null;
|
|
1132
1138
|
}
|
|
1133
1139
|
return S(f);
|
|
1134
1140
|
}
|
|
1135
1141
|
function T(f) {
|
|
1136
|
-
function b(
|
|
1137
|
-
if (!(
|
|
1138
|
-
var P = f.name || x,
|
|
1139
|
-
return new g("Invalid " + M + " `" +
|
|
1142
|
+
function b(L, O, j, M, R) {
|
|
1143
|
+
if (!(L[O] instanceof f)) {
|
|
1144
|
+
var P = f.name || x, $ = B(L[O]);
|
|
1145
|
+
return new g("Invalid " + M + " `" + R + "` of type " + ("`" + $ + "` supplied to `" + j + "`, expected ") + ("instance of `" + P + "`."));
|
|
1140
1146
|
}
|
|
1141
1147
|
return null;
|
|
1142
1148
|
}
|
|
@@ -1147,28 +1153,28 @@ function Ta() {
|
|
|
1147
1153
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
1148
1154
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
1149
1155
|
) : i("Invalid argument supplied to oneOf, expected an array.")), r;
|
|
1150
|
-
function b(
|
|
1151
|
-
for (var P =
|
|
1152
|
-
if (w(P, f[
|
|
1156
|
+
function b(L, O, j, M, R) {
|
|
1157
|
+
for (var P = L[O], $ = 0; $ < f.length; $++)
|
|
1158
|
+
if (w(P, f[$]))
|
|
1153
1159
|
return null;
|
|
1154
|
-
var
|
|
1160
|
+
var Y = JSON.stringify(f, function(te, v) {
|
|
1155
1161
|
var _e = W(v);
|
|
1156
1162
|
return _e === "symbol" ? String(v) : v;
|
|
1157
1163
|
});
|
|
1158
|
-
return new g("Invalid " + M + " `" +
|
|
1164
|
+
return new g("Invalid " + M + " `" + R + "` of value `" + String(P) + "` " + ("supplied to `" + j + "`, expected one of " + Y + "."));
|
|
1159
1165
|
}
|
|
1160
1166
|
return S(b);
|
|
1161
1167
|
}
|
|
1162
1168
|
function H(f) {
|
|
1163
|
-
function b(
|
|
1169
|
+
function b(L, O, j, M, R) {
|
|
1164
1170
|
if (typeof f != "function")
|
|
1165
|
-
return new g("Property `" +
|
|
1166
|
-
var P =
|
|
1167
|
-
if (
|
|
1168
|
-
return new g("Invalid " + M + " `" +
|
|
1169
|
-
for (var
|
|
1170
|
-
if (o(P,
|
|
1171
|
-
var z = f(P,
|
|
1171
|
+
return new g("Property `" + R + "` of component `" + j + "` has invalid PropType notation inside objectOf.");
|
|
1172
|
+
var P = L[O], $ = C(P);
|
|
1173
|
+
if ($ !== "object")
|
|
1174
|
+
return new g("Invalid " + M + " `" + R + "` of type " + ("`" + $ + "` supplied to `" + j + "`, expected an object."));
|
|
1175
|
+
for (var Y in P)
|
|
1176
|
+
if (o(P, Y)) {
|
|
1177
|
+
var z = f(P, Y, j, M, R + "." + Y, n);
|
|
1172
1178
|
if (z instanceof Error)
|
|
1173
1179
|
return z;
|
|
1174
1180
|
}
|
|
@@ -1180,45 +1186,45 @@ function Ta() {
|
|
|
1180
1186
|
if (!Array.isArray(f))
|
|
1181
1187
|
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), r;
|
|
1182
1188
|
for (var b = 0; b < f.length; b++) {
|
|
1183
|
-
var
|
|
1184
|
-
if (typeof
|
|
1189
|
+
var L = f[b];
|
|
1190
|
+
if (typeof L != "function")
|
|
1185
1191
|
return i(
|
|
1186
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + K(
|
|
1192
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + K(L) + " at index " + b + "."
|
|
1187
1193
|
), r;
|
|
1188
1194
|
}
|
|
1189
|
-
function O(
|
|
1190
|
-
for (var
|
|
1191
|
-
var te = f[z], v = te(
|
|
1195
|
+
function O(j, M, R, P, $) {
|
|
1196
|
+
for (var Y = [], z = 0; z < f.length; z++) {
|
|
1197
|
+
var te = f[z], v = te(j, M, R, P, $, n);
|
|
1192
1198
|
if (v == null)
|
|
1193
1199
|
return null;
|
|
1194
|
-
v.data && o(v.data, "expectedType") &&
|
|
1200
|
+
v.data && o(v.data, "expectedType") && Y.push(v.data.expectedType);
|
|
1195
1201
|
}
|
|
1196
|
-
var _e =
|
|
1197
|
-
return new g("Invalid " + P + " `" +
|
|
1202
|
+
var _e = Y.length > 0 ? ", expected one of type [" + Y.join(", ") + "]" : "";
|
|
1203
|
+
return new g("Invalid " + P + " `" + $ + "` supplied to " + ("`" + R + "`" + _e + "."));
|
|
1198
1204
|
}
|
|
1199
1205
|
return S(O);
|
|
1200
1206
|
}
|
|
1201
1207
|
function oe() {
|
|
1202
|
-
function f(b,
|
|
1203
|
-
return X(b[
|
|
1208
|
+
function f(b, L, O, j, M) {
|
|
1209
|
+
return X(b[L]) ? null : new g("Invalid " + j + " `" + M + "` supplied to " + ("`" + O + "`, expected a ReactNode."));
|
|
1204
1210
|
}
|
|
1205
1211
|
return S(f);
|
|
1206
1212
|
}
|
|
1207
|
-
function me(f, b,
|
|
1213
|
+
function me(f, b, L, O, j) {
|
|
1208
1214
|
return new g(
|
|
1209
|
-
(f || "React class") + ": " + b + " type `" +
|
|
1215
|
+
(f || "React class") + ": " + b + " type `" + L + "." + O + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + j + "`."
|
|
1210
1216
|
);
|
|
1211
1217
|
}
|
|
1212
1218
|
function fe(f) {
|
|
1213
|
-
function b(
|
|
1214
|
-
var P =
|
|
1215
|
-
if (
|
|
1216
|
-
return new g("Invalid " + M + " `" +
|
|
1217
|
-
for (var
|
|
1218
|
-
var z = f[
|
|
1219
|
+
function b(L, O, j, M, R) {
|
|
1220
|
+
var P = L[O], $ = C(P);
|
|
1221
|
+
if ($ !== "object")
|
|
1222
|
+
return new g("Invalid " + M + " `" + R + "` of type `" + $ + "` " + ("supplied to `" + j + "`, expected `object`."));
|
|
1223
|
+
for (var Y in f) {
|
|
1224
|
+
var z = f[Y];
|
|
1219
1225
|
if (typeof z != "function")
|
|
1220
|
-
return me(
|
|
1221
|
-
var te = z(P,
|
|
1226
|
+
return me(j, M, R, Y, W(z));
|
|
1227
|
+
var te = z(P, Y, j, M, R + "." + Y, n);
|
|
1222
1228
|
if (te)
|
|
1223
1229
|
return te;
|
|
1224
1230
|
}
|
|
@@ -1227,21 +1233,21 @@ function Ta() {
|
|
|
1227
1233
|
return S(b);
|
|
1228
1234
|
}
|
|
1229
1235
|
function le(f) {
|
|
1230
|
-
function b(
|
|
1231
|
-
var P =
|
|
1232
|
-
if (
|
|
1233
|
-
return new g("Invalid " + M + " `" +
|
|
1234
|
-
var
|
|
1235
|
-
for (var z in
|
|
1236
|
+
function b(L, O, j, M, R) {
|
|
1237
|
+
var P = L[O], $ = C(P);
|
|
1238
|
+
if ($ !== "object")
|
|
1239
|
+
return new g("Invalid " + M + " `" + R + "` of type `" + $ + "` " + ("supplied to `" + j + "`, expected `object`."));
|
|
1240
|
+
var Y = t({}, L[O], f);
|
|
1241
|
+
for (var z in Y) {
|
|
1236
1242
|
var te = f[z];
|
|
1237
1243
|
if (o(f, z) && typeof te != "function")
|
|
1238
|
-
return me(
|
|
1244
|
+
return me(j, M, R, z, W(te));
|
|
1239
1245
|
if (!te)
|
|
1240
1246
|
return new g(
|
|
1241
|
-
"Invalid " + M + " `" +
|
|
1247
|
+
"Invalid " + M + " `" + R + "` key `" + z + "` supplied to `" + j + "`.\nBad object: " + JSON.stringify(L[O], null, " ") + `
|
|
1242
1248
|
Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
|
|
1243
1249
|
);
|
|
1244
|
-
var v = te(P, z,
|
|
1250
|
+
var v = te(P, z, j, M, R + "." + z, n);
|
|
1245
1251
|
if (v)
|
|
1246
1252
|
return v;
|
|
1247
1253
|
}
|
|
@@ -1264,15 +1270,15 @@ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
|
|
|
1264
1270
|
return !0;
|
|
1265
1271
|
var b = d(f);
|
|
1266
1272
|
if (b) {
|
|
1267
|
-
var
|
|
1273
|
+
var L = b.call(f), O;
|
|
1268
1274
|
if (b !== f.entries) {
|
|
1269
|
-
for (; !(O =
|
|
1275
|
+
for (; !(O = L.next()).done; )
|
|
1270
1276
|
if (!X(O.value))
|
|
1271
1277
|
return !1;
|
|
1272
1278
|
} else
|
|
1273
|
-
for (; !(O =
|
|
1274
|
-
var
|
|
1275
|
-
if (
|
|
1279
|
+
for (; !(O = L.next()).done; ) {
|
|
1280
|
+
var j = O.value;
|
|
1281
|
+
if (j && !X(j[1]))
|
|
1276
1282
|
return !1;
|
|
1277
1283
|
}
|
|
1278
1284
|
} else
|
|
@@ -1322,10 +1328,10 @@ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
|
|
|
1322
1328
|
}, vt;
|
|
1323
1329
|
}
|
|
1324
1330
|
var xt, Ht;
|
|
1325
|
-
function
|
|
1331
|
+
function Sa() {
|
|
1326
1332
|
if (Ht) return xt;
|
|
1327
1333
|
Ht = 1;
|
|
1328
|
-
var e =
|
|
1334
|
+
var e = jt();
|
|
1329
1335
|
function t() {
|
|
1330
1336
|
}
|
|
1331
1337
|
function n() {
|
|
@@ -1370,12 +1376,12 @@ function Ea() {
|
|
|
1370
1376
|
}, xt;
|
|
1371
1377
|
}
|
|
1372
1378
|
if (process.env.NODE_ENV !== "production") {
|
|
1373
|
-
var Na = gn(),
|
|
1374
|
-
kt.exports =
|
|
1379
|
+
var Na = gn(), Ia = !0;
|
|
1380
|
+
kt.exports = Ea()(Na.isElement, Ia);
|
|
1375
1381
|
} else
|
|
1376
|
-
kt.exports =
|
|
1377
|
-
var
|
|
1378
|
-
const E = /* @__PURE__ */ xn(
|
|
1382
|
+
kt.exports = Sa()();
|
|
1383
|
+
var ja = kt.exports;
|
|
1384
|
+
const E = /* @__PURE__ */ xn(ja);
|
|
1379
1385
|
function Ae(e, t, n, o) {
|
|
1380
1386
|
function a(i) {
|
|
1381
1387
|
return i instanceof n ? i : new n(function(r) {
|
|
@@ -2607,10 +2613,10 @@ const Ra = /* @__PURE__ */ new Map([
|
|
|
2607
2613
|
["zsh", "text/x-scriptzsh"]
|
|
2608
2614
|
]);
|
|
2609
2615
|
function Pe(e, t, n) {
|
|
2610
|
-
const o =
|
|
2616
|
+
const o = Aa(e), { webkitRelativePath: a } = e, i = typeof t == "string" ? t : typeof a == "string" && a.length > 0 ? a : `./${e.name}`;
|
|
2611
2617
|
return typeof o.path != "string" && Vt(o, "path", i), Vt(o, "relativePath", i), o;
|
|
2612
2618
|
}
|
|
2613
|
-
function
|
|
2619
|
+
function Aa(e) {
|
|
2614
2620
|
const { name: t } = e;
|
|
2615
2621
|
if (t && t.lastIndexOf(".") !== -1 && !e.type) {
|
|
2616
2622
|
const o = t.split(".").pop().toLowerCase(), a = Ra.get(o);
|
|
@@ -2631,49 +2637,49 @@ function Vt(e, t, n) {
|
|
|
2631
2637
|
enumerable: !0
|
|
2632
2638
|
});
|
|
2633
2639
|
}
|
|
2634
|
-
const
|
|
2640
|
+
const Da = [
|
|
2635
2641
|
// Thumbnail cache files for macOS and Windows
|
|
2636
2642
|
".DS_Store",
|
|
2637
2643
|
// macOs
|
|
2638
2644
|
"Thumbs.db"
|
|
2639
2645
|
// Windows
|
|
2640
2646
|
];
|
|
2641
|
-
function
|
|
2647
|
+
function La(e) {
|
|
2642
2648
|
return Ae(this, void 0, void 0, function* () {
|
|
2643
|
-
return Xe(e) &&
|
|
2649
|
+
return Xe(e) && Oa(e.dataTransfer) ? za(e.dataTransfer, e.type) : Pa(e) ? Fa(e) : Array.isArray(e) && e.every((t) => "getFile" in t && typeof t.getFile == "function") ? Ba(e) : [];
|
|
2644
2650
|
});
|
|
2645
2651
|
}
|
|
2646
|
-
function
|
|
2652
|
+
function Oa(e) {
|
|
2647
2653
|
return Xe(e);
|
|
2648
2654
|
}
|
|
2649
|
-
function
|
|
2655
|
+
function Pa(e) {
|
|
2650
2656
|
return Xe(e) && Xe(e.target);
|
|
2651
2657
|
}
|
|
2652
2658
|
function Xe(e) {
|
|
2653
2659
|
return typeof e == "object" && e !== null;
|
|
2654
2660
|
}
|
|
2655
|
-
function
|
|
2661
|
+
function Fa(e) {
|
|
2656
2662
|
return Ct(e.target.files).map((t) => Pe(t));
|
|
2657
2663
|
}
|
|
2658
|
-
function
|
|
2664
|
+
function Ba(e) {
|
|
2659
2665
|
return Ae(this, void 0, void 0, function* () {
|
|
2660
2666
|
return (yield Promise.all(e.map((n) => n.getFile()))).map((n) => Pe(n));
|
|
2661
2667
|
});
|
|
2662
2668
|
}
|
|
2663
|
-
function
|
|
2669
|
+
function za(e, t) {
|
|
2664
2670
|
return Ae(this, void 0, void 0, function* () {
|
|
2665
2671
|
if (e.items) {
|
|
2666
2672
|
const n = Ct(e.items).filter((a) => a.kind === "file");
|
|
2667
2673
|
if (t !== "drop")
|
|
2668
2674
|
return n;
|
|
2669
|
-
const o = yield Promise.all(n.map(
|
|
2675
|
+
const o = yield Promise.all(n.map(Wa));
|
|
2670
2676
|
return Yt(bn(o));
|
|
2671
2677
|
}
|
|
2672
2678
|
return Yt(Ct(e.files).map((n) => Pe(n)));
|
|
2673
2679
|
});
|
|
2674
2680
|
}
|
|
2675
2681
|
function Yt(e) {
|
|
2676
|
-
return e.filter((t) =>
|
|
2682
|
+
return e.filter((t) => Da.indexOf(t.name) === -1);
|
|
2677
2683
|
}
|
|
2678
2684
|
function Ct(e) {
|
|
2679
2685
|
if (e === null)
|
|
@@ -2685,7 +2691,7 @@ function Ct(e) {
|
|
|
2685
2691
|
}
|
|
2686
2692
|
return t;
|
|
2687
2693
|
}
|
|
2688
|
-
function
|
|
2694
|
+
function Wa(e) {
|
|
2689
2695
|
if (typeof e.webkitGetAsEntry != "function")
|
|
2690
2696
|
return Ut(e);
|
|
2691
2697
|
const t = e.webkitGetAsEntry();
|
|
@@ -2715,9 +2721,9 @@ function Ut(e, t) {
|
|
|
2715
2721
|
return Pe(o, (n = t == null ? void 0 : t.fullPath) !== null && n !== void 0 ? n : void 0);
|
|
2716
2722
|
});
|
|
2717
2723
|
}
|
|
2718
|
-
function
|
|
2724
|
+
function Ma(e) {
|
|
2719
2725
|
return Ae(this, void 0, void 0, function* () {
|
|
2720
|
-
return e.isDirectory ? yn(e) :
|
|
2726
|
+
return e.isDirectory ? yn(e) : $a(e);
|
|
2721
2727
|
});
|
|
2722
2728
|
}
|
|
2723
2729
|
function yn(e) {
|
|
@@ -2727,7 +2733,7 @@ function yn(e) {
|
|
|
2727
2733
|
function i() {
|
|
2728
2734
|
t.readEntries((r) => Ae(this, void 0, void 0, function* () {
|
|
2729
2735
|
if (r.length) {
|
|
2730
|
-
const s = Promise.all(r.map(
|
|
2736
|
+
const s = Promise.all(r.map(Ma));
|
|
2731
2737
|
a.push(s), i();
|
|
2732
2738
|
} else
|
|
2733
2739
|
try {
|
|
@@ -2743,7 +2749,7 @@ function yn(e) {
|
|
|
2743
2749
|
i();
|
|
2744
2750
|
});
|
|
2745
2751
|
}
|
|
2746
|
-
function
|
|
2752
|
+
function $a(e) {
|
|
2747
2753
|
return Ae(this, void 0, void 0, function* () {
|
|
2748
2754
|
return new Promise((t, n) => {
|
|
2749
2755
|
e.file((o) => {
|
|
@@ -2769,16 +2775,16 @@ var gt = function(e, t) {
|
|
|
2769
2775
|
return !0;
|
|
2770
2776
|
};
|
|
2771
2777
|
function Gt(e) {
|
|
2772
|
-
return
|
|
2778
|
+
return Va(e) || Ha(e) || kn(e) || qa();
|
|
2773
2779
|
}
|
|
2774
2780
|
function qa() {
|
|
2775
2781
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2776
2782
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2777
2783
|
}
|
|
2778
|
-
function
|
|
2784
|
+
function Ha(e) {
|
|
2779
2785
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
2780
2786
|
}
|
|
2781
|
-
function
|
|
2787
|
+
function Va(e) {
|
|
2782
2788
|
if (Array.isArray(e)) return Tt(e);
|
|
2783
2789
|
}
|
|
2784
2790
|
function Kt(e, t) {
|
|
@@ -2806,9 +2812,9 @@ function wn(e, t, n) {
|
|
|
2806
2812
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
2807
2813
|
}
|
|
2808
2814
|
function Me(e, t) {
|
|
2809
|
-
return
|
|
2815
|
+
return Ga(e) || Ua(e, t) || kn(e, t) || Ya();
|
|
2810
2816
|
}
|
|
2811
|
-
function
|
|
2817
|
+
function Ya() {
|
|
2812
2818
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2813
2819
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2814
2820
|
}
|
|
@@ -2826,7 +2832,7 @@ function Tt(e, t) {
|
|
|
2826
2832
|
o[n] = e[n];
|
|
2827
2833
|
return o;
|
|
2828
2834
|
}
|
|
2829
|
-
function
|
|
2835
|
+
function Ua(e, t) {
|
|
2830
2836
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
2831
2837
|
if (n != null) {
|
|
2832
2838
|
var o = [], a = !0, i = !1, r, s;
|
|
@@ -2845,48 +2851,48 @@ function Ya(e, t) {
|
|
|
2845
2851
|
return o;
|
|
2846
2852
|
}
|
|
2847
2853
|
}
|
|
2848
|
-
function
|
|
2854
|
+
function Ga(e) {
|
|
2849
2855
|
if (Array.isArray(e)) return e;
|
|
2850
2856
|
}
|
|
2851
|
-
var
|
|
2857
|
+
var Ka = typeof gt == "function" ? gt : gt.default, Xa = "file-invalid-type", Za = "file-too-large", Qa = "file-too-small", Ja = "too-many-files", ei = function() {
|
|
2852
2858
|
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];
|
|
2853
2859
|
return {
|
|
2854
|
-
code:
|
|
2860
|
+
code: Xa,
|
|
2855
2861
|
message: "File type must be ".concat(o)
|
|
2856
2862
|
};
|
|
2857
2863
|
}, Zt = function(t) {
|
|
2858
2864
|
return {
|
|
2859
|
-
code:
|
|
2865
|
+
code: Za,
|
|
2860
2866
|
message: "File is larger than ".concat(t, " ").concat(t === 1 ? "byte" : "bytes")
|
|
2861
2867
|
};
|
|
2862
2868
|
}, Qt = function(t) {
|
|
2863
2869
|
return {
|
|
2864
|
-
code:
|
|
2870
|
+
code: Qa,
|
|
2865
2871
|
message: "File is smaller than ".concat(t, " ").concat(t === 1 ? "byte" : "bytes")
|
|
2866
2872
|
};
|
|
2867
|
-
},
|
|
2868
|
-
code:
|
|
2873
|
+
}, ti = {
|
|
2874
|
+
code: Ja,
|
|
2869
2875
|
message: "Too many files"
|
|
2870
2876
|
};
|
|
2871
2877
|
function Cn(e, t) {
|
|
2872
|
-
var n = e.type === "application/x-moz-file" ||
|
|
2873
|
-
return [n, n ? null :
|
|
2878
|
+
var n = e.type === "application/x-moz-file" || Ka(e, t);
|
|
2879
|
+
return [n, n ? null : ei(t)];
|
|
2874
2880
|
}
|
|
2875
2881
|
function Tn(e, t, n) {
|
|
2876
|
-
if (
|
|
2877
|
-
if (
|
|
2882
|
+
if (Re(e.size))
|
|
2883
|
+
if (Re(t) && Re(n)) {
|
|
2878
2884
|
if (e.size > n) return [!1, Zt(n)];
|
|
2879
2885
|
if (e.size < t) return [!1, Qt(t)];
|
|
2880
2886
|
} else {
|
|
2881
|
-
if (
|
|
2882
|
-
if (
|
|
2887
|
+
if (Re(t) && e.size < t) return [!1, Qt(t)];
|
|
2888
|
+
if (Re(n) && e.size > n) return [!1, Zt(n)];
|
|
2883
2889
|
}
|
|
2884
2890
|
return [!0, null];
|
|
2885
2891
|
}
|
|
2886
|
-
function
|
|
2892
|
+
function Re(e) {
|
|
2887
2893
|
return e != null;
|
|
2888
2894
|
}
|
|
2889
|
-
function
|
|
2895
|
+
function ni(e) {
|
|
2890
2896
|
var t = e.files, n = e.accept, o = e.minSize, a = e.maxSize, i = e.multiple, r = e.maxFiles, s = e.validator;
|
|
2891
2897
|
return !i && t.length > 1 || i && r >= 1 && t.length > r ? !1 : t.every(function(u) {
|
|
2892
2898
|
var c = Cn(u, n), l = Me(c, 1), d = l[0], x = Tn(u, o, a), y = Me(x, 1), w = y[0], g = s ? s(u) : null;
|
|
@@ -2904,17 +2910,17 @@ function Ge(e) {
|
|
|
2904
2910
|
function Jt(e) {
|
|
2905
2911
|
e.preventDefault();
|
|
2906
2912
|
}
|
|
2907
|
-
function
|
|
2913
|
+
function oi(e) {
|
|
2908
2914
|
return e.indexOf("MSIE") !== -1 || e.indexOf("Trident/") !== -1;
|
|
2909
2915
|
}
|
|
2910
|
-
function
|
|
2916
|
+
function ai(e) {
|
|
2911
2917
|
return e.indexOf("Edge/") !== -1;
|
|
2912
2918
|
}
|
|
2913
|
-
function
|
|
2919
|
+
function ii() {
|
|
2914
2920
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.navigator.userAgent;
|
|
2915
|
-
return
|
|
2921
|
+
return oi(e) || ai(e);
|
|
2916
2922
|
}
|
|
2917
|
-
function
|
|
2923
|
+
function Ce() {
|
|
2918
2924
|
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
|
|
2919
2925
|
t[n] = arguments[n];
|
|
2920
2926
|
return function(o) {
|
|
@@ -2925,14 +2931,14 @@ function ke() {
|
|
|
2925
2931
|
});
|
|
2926
2932
|
};
|
|
2927
2933
|
}
|
|
2928
|
-
function
|
|
2934
|
+
function ri() {
|
|
2929
2935
|
return "showOpenFilePicker" in window;
|
|
2930
2936
|
}
|
|
2931
|
-
function
|
|
2932
|
-
if (
|
|
2937
|
+
function si(e) {
|
|
2938
|
+
if (Re(e)) {
|
|
2933
2939
|
var t = Object.entries(e).filter(function(n) {
|
|
2934
2940
|
var o = Me(n, 2), a = o[0], i = o[1], r = !0;
|
|
2935
|
-
return En(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(
|
|
2941
|
+
return En(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(Sn)) && (console.warn('Skipped "'.concat(a, '" because an invalid file extension was provided.')), r = !1), r;
|
|
2936
2942
|
}).reduce(function(n, o) {
|
|
2937
2943
|
var a = Me(o, 2), i = a[0], r = a[1];
|
|
2938
2944
|
return Xt(Xt({}, n), {}, wn({}, i, r));
|
|
@@ -2945,49 +2951,49 @@ function ri(e) {
|
|
|
2945
2951
|
}
|
|
2946
2952
|
return e;
|
|
2947
2953
|
}
|
|
2948
|
-
function
|
|
2949
|
-
if (
|
|
2954
|
+
function pi(e) {
|
|
2955
|
+
if (Re(e))
|
|
2950
2956
|
return Object.entries(e).reduce(function(t, n) {
|
|
2951
2957
|
var o = Me(n, 2), a = o[0], i = o[1];
|
|
2952
2958
|
return [].concat(Gt(t), [a], Gt(i));
|
|
2953
2959
|
}, []).filter(function(t) {
|
|
2954
|
-
return En(t) ||
|
|
2960
|
+
return En(t) || Sn(t);
|
|
2955
2961
|
}).join(",");
|
|
2956
2962
|
}
|
|
2957
|
-
function
|
|
2963
|
+
function ci(e) {
|
|
2958
2964
|
return e instanceof DOMException && (e.name === "AbortError" || e.code === e.ABORT_ERR);
|
|
2959
2965
|
}
|
|
2960
|
-
function
|
|
2966
|
+
function li(e) {
|
|
2961
2967
|
return e instanceof DOMException && (e.name === "SecurityError" || e.code === e.SECURITY_ERR);
|
|
2962
2968
|
}
|
|
2963
2969
|
function En(e) {
|
|
2964
2970
|
return e === "audio/*" || e === "video/*" || e === "image/*" || e === "text/*" || e === "application/*" || /\w+\/[-+.\w]+/g.test(e);
|
|
2965
2971
|
}
|
|
2966
|
-
function
|
|
2972
|
+
function Sn(e) {
|
|
2967
2973
|
return /^.*\.[\w]+$/.test(e);
|
|
2968
2974
|
}
|
|
2969
|
-
var
|
|
2970
|
-
function
|
|
2971
|
-
return
|
|
2975
|
+
var di = ["children"], ui = ["open"], mi = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], fi = ["refKey", "onChange", "onClick"];
|
|
2976
|
+
function _i(e) {
|
|
2977
|
+
return gi(e) || xi(e) || Nn(e) || vi();
|
|
2972
2978
|
}
|
|
2973
|
-
function
|
|
2979
|
+
function vi() {
|
|
2974
2980
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2975
2981
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2976
2982
|
}
|
|
2977
|
-
function
|
|
2983
|
+
function xi(e) {
|
|
2978
2984
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
2979
2985
|
}
|
|
2980
|
-
function
|
|
2986
|
+
function gi(e) {
|
|
2981
2987
|
if (Array.isArray(e)) return Et(e);
|
|
2982
2988
|
}
|
|
2983
2989
|
function ht(e, t) {
|
|
2984
|
-
return
|
|
2990
|
+
return yi(e) || bi(e, t) || Nn(e, t) || hi();
|
|
2985
2991
|
}
|
|
2986
|
-
function
|
|
2992
|
+
function hi() {
|
|
2987
2993
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2988
2994
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2989
2995
|
}
|
|
2990
|
-
function
|
|
2996
|
+
function Nn(e, t) {
|
|
2991
2997
|
if (e) {
|
|
2992
2998
|
if (typeof e == "string") return Et(e, t);
|
|
2993
2999
|
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
@@ -3001,7 +3007,7 @@ function Et(e, t) {
|
|
|
3001
3007
|
o[n] = e[n];
|
|
3002
3008
|
return o;
|
|
3003
3009
|
}
|
|
3004
|
-
function
|
|
3010
|
+
function bi(e, t) {
|
|
3005
3011
|
var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
3006
3012
|
if (n != null) {
|
|
3007
3013
|
var o = [], a = !0, i = !1, r, s;
|
|
@@ -3020,7 +3026,7 @@ function hi(e, t) {
|
|
|
3020
3026
|
return o;
|
|
3021
3027
|
}
|
|
3022
3028
|
}
|
|
3023
|
-
function
|
|
3029
|
+
function yi(e) {
|
|
3024
3030
|
if (Array.isArray(e)) return e;
|
|
3025
3031
|
}
|
|
3026
3032
|
function en(e, t) {
|
|
@@ -3037,19 +3043,19 @@ function Q(e) {
|
|
|
3037
3043
|
for (var t = 1; t < arguments.length; t++) {
|
|
3038
3044
|
var n = arguments[t] != null ? arguments[t] : {};
|
|
3039
3045
|
t % 2 ? en(Object(n), !0).forEach(function(o) {
|
|
3040
|
-
|
|
3046
|
+
St(e, o, n[o]);
|
|
3041
3047
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : en(Object(n)).forEach(function(o) {
|
|
3042
3048
|
Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(n, o));
|
|
3043
3049
|
});
|
|
3044
3050
|
}
|
|
3045
3051
|
return e;
|
|
3046
3052
|
}
|
|
3047
|
-
function
|
|
3053
|
+
function St(e, t, n) {
|
|
3048
3054
|
return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
|
|
3049
3055
|
}
|
|
3050
3056
|
function Qe(e, t) {
|
|
3051
3057
|
if (e == null) return {};
|
|
3052
|
-
var n =
|
|
3058
|
+
var n = wi(e, t), o, a;
|
|
3053
3059
|
if (Object.getOwnPropertySymbols) {
|
|
3054
3060
|
var i = Object.getOwnPropertySymbols(e);
|
|
3055
3061
|
for (a = 0; a < i.length; a++)
|
|
@@ -3057,7 +3063,7 @@ function Qe(e, t) {
|
|
|
3057
3063
|
}
|
|
3058
3064
|
return n;
|
|
3059
3065
|
}
|
|
3060
|
-
function
|
|
3066
|
+
function wi(e, t) {
|
|
3061
3067
|
if (e == null) return {};
|
|
3062
3068
|
var n = {}, o = Object.keys(e), a, i;
|
|
3063
3069
|
for (i = 0; i < o.length; i++)
|
|
@@ -3065,19 +3071,19 @@ function yi(e, t) {
|
|
|
3065
3071
|
return n;
|
|
3066
3072
|
}
|
|
3067
3073
|
var et = /* @__PURE__ */ Bn(function(e, t) {
|
|
3068
|
-
var n = e.children, o = Qe(e,
|
|
3074
|
+
var n = e.children, o = Qe(e, di), a = ki(o), i = a.open, r = Qe(a, ui);
|
|
3069
3075
|
return zn(t, function() {
|
|
3070
3076
|
return {
|
|
3071
3077
|
open: i
|
|
3072
3078
|
};
|
|
3073
|
-
}, [i]), /* @__PURE__ */
|
|
3079
|
+
}, [i]), /* @__PURE__ */ $e.createElement(Wn, null, n(Q(Q({}, r), {}, {
|
|
3074
3080
|
open: i
|
|
3075
3081
|
})));
|
|
3076
3082
|
});
|
|
3077
3083
|
et.displayName = "Dropzone";
|
|
3078
3084
|
var In = {
|
|
3079
3085
|
disabled: !1,
|
|
3080
|
-
getFilesFromEvent:
|
|
3086
|
+
getFilesFromEvent: La,
|
|
3081
3087
|
maxSize: 1 / 0,
|
|
3082
3088
|
minSize: 0,
|
|
3083
3089
|
multiple: !0,
|
|
@@ -3260,7 +3266,7 @@ et.propTypes = {
|
|
|
3260
3266
|
*/
|
|
3261
3267
|
validator: E.func
|
|
3262
3268
|
};
|
|
3263
|
-
var
|
|
3269
|
+
var Nt = {
|
|
3264
3270
|
isFocused: !1,
|
|
3265
3271
|
isFileDialogActive: !1,
|
|
3266
3272
|
isDragActive: !1,
|
|
@@ -3269,17 +3275,17 @@ var St = {
|
|
|
3269
3275
|
acceptedFiles: [],
|
|
3270
3276
|
fileRejections: []
|
|
3271
3277
|
};
|
|
3272
|
-
function
|
|
3273
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = Q(Q({}, In), e), n = t.accept, o = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, u = t.maxFiles, c = t.onDragEnter, l = t.onDragLeave, d = t.onDragOver, x = t.onDrop, y = t.onDropAccepted, w = t.onDropRejected, g = t.onFileDialogCancel, S = t.onFileDialogOpen,
|
|
3274
|
-
return
|
|
3278
|
+
function ki() {
|
|
3279
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = Q(Q({}, In), e), n = t.accept, o = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, u = t.maxFiles, c = t.onDragEnter, l = t.onDragLeave, d = t.onDragOver, x = t.onDrop, y = t.onDropAccepted, w = t.onDropRejected, g = t.onFileDialogCancel, S = t.onFileDialogOpen, A = t.useFsAccessApi, V = t.autoFocus, D = t.preventDropOnDocument, k = t.noClick, p = t.noKeyboard, T = t.noDrag, F = t.noDragEventsBubbling, H = t.onError, J = t.validator, oe = Oe(function() {
|
|
3280
|
+
return pi(n);
|
|
3275
3281
|
}, [n]), me = Oe(function() {
|
|
3276
|
-
return
|
|
3282
|
+
return si(n);
|
|
3277
3283
|
}, [n]), fe = Oe(function() {
|
|
3278
3284
|
return typeof S == "function" ? S : tn;
|
|
3279
3285
|
}, [S]), le = Oe(function() {
|
|
3280
3286
|
return typeof g == "function" ? g : tn;
|
|
3281
|
-
}, [g]), X = ue(null), Z = ue(null), C = Mn(
|
|
3282
|
-
!
|
|
3287
|
+
}, [g]), X = ue(null), Z = ue(null), C = Mn(Ci, Nt), W = ht(C, 2), K = W[0], B = W[1], f = K.isFocused, b = K.isFileDialogActive, L = ue(typeof window < "u" && window.isSecureContext && A && ri()), O = function() {
|
|
3288
|
+
!L.current && b && setTimeout(function() {
|
|
3283
3289
|
if (Z.current) {
|
|
3284
3290
|
var I = Z.current.files;
|
|
3285
3291
|
I.length || (B({
|
|
@@ -3292,24 +3298,24 @@ function wi() {
|
|
|
3292
3298
|
return window.addEventListener("focus", O, !1), function() {
|
|
3293
3299
|
window.removeEventListener("focus", O, !1);
|
|
3294
3300
|
};
|
|
3295
|
-
}, [Z, b, le,
|
|
3296
|
-
var
|
|
3297
|
-
X.current && X.current.contains(I.target) || (I.preventDefault(),
|
|
3301
|
+
}, [Z, b, le, L]);
|
|
3302
|
+
var j = ue([]), M = function(I) {
|
|
3303
|
+
X.current && X.current.contains(I.target) || (I.preventDefault(), j.current = []);
|
|
3298
3304
|
};
|
|
3299
3305
|
ne(function() {
|
|
3300
|
-
return
|
|
3301
|
-
|
|
3306
|
+
return D && (document.addEventListener("dragover", Jt, !1), document.addEventListener("drop", M, !1)), function() {
|
|
3307
|
+
D && (document.removeEventListener("dragover", Jt), document.removeEventListener("drop", M));
|
|
3302
3308
|
};
|
|
3303
|
-
}, [X,
|
|
3304
|
-
return !o &&
|
|
3309
|
+
}, [X, D]), ne(function() {
|
|
3310
|
+
return !o && V && X.current && X.current.focus(), function() {
|
|
3305
3311
|
};
|
|
3306
|
-
}, [X,
|
|
3307
|
-
var
|
|
3312
|
+
}, [X, V, o]);
|
|
3313
|
+
var R = de(function(h) {
|
|
3308
3314
|
H ? H(h) : console.error(h);
|
|
3309
3315
|
}, [H]), P = de(function(h) {
|
|
3310
|
-
h.preventDefault(), h.persist(), He(h),
|
|
3316
|
+
h.preventDefault(), h.persist(), He(h), j.current = [].concat(_i(j.current), [h.target]), Ge(h) && Promise.resolve(a(h)).then(function(I) {
|
|
3311
3317
|
if (!(Ze(h) && !F)) {
|
|
3312
|
-
var ee = I.length, ae = ee > 0 &&
|
|
3318
|
+
var ee = I.length, ae = ee > 0 && ni({
|
|
3313
3319
|
files: I,
|
|
3314
3320
|
accept: oe,
|
|
3315
3321
|
minSize: r,
|
|
@@ -3326,9 +3332,9 @@ function wi() {
|
|
|
3326
3332
|
}), c && c(h);
|
|
3327
3333
|
}
|
|
3328
3334
|
}).catch(function(I) {
|
|
3329
|
-
return
|
|
3335
|
+
return R(I);
|
|
3330
3336
|
});
|
|
3331
|
-
}, [a, c,
|
|
3337
|
+
}, [a, c, R, F, oe, r, i, s, u, J]), $ = de(function(h) {
|
|
3332
3338
|
h.preventDefault(), h.persist(), He(h);
|
|
3333
3339
|
var I = Ge(h);
|
|
3334
3340
|
if (I && h.dataTransfer)
|
|
@@ -3337,12 +3343,12 @@ function wi() {
|
|
|
3337
3343
|
} catch {
|
|
3338
3344
|
}
|
|
3339
3345
|
return I && d && d(h), !1;
|
|
3340
|
-
}, [d, F]),
|
|
3346
|
+
}, [d, F]), Y = de(function(h) {
|
|
3341
3347
|
h.preventDefault(), h.persist(), He(h);
|
|
3342
|
-
var I =
|
|
3348
|
+
var I = j.current.filter(function(ae) {
|
|
3343
3349
|
return X.current && X.current.contains(ae);
|
|
3344
3350
|
}), ee = I.indexOf(h.target);
|
|
3345
|
-
ee !== -1 && I.splice(ee, 1),
|
|
3351
|
+
ee !== -1 && I.splice(ee, 1), j.current = I, !(I.length > 0) && (B({
|
|
3346
3352
|
type: "setDraggedFiles",
|
|
3347
3353
|
isDragActive: !1,
|
|
3348
3354
|
isDragAccept: !1,
|
|
@@ -3366,7 +3372,7 @@ function wi() {
|
|
|
3366
3372
|
}), (!s && ee.length > 1 || s && u >= 1 && ee.length > u) && (ee.forEach(function(ve) {
|
|
3367
3373
|
ae.push({
|
|
3368
3374
|
file: ve,
|
|
3369
|
-
errors: [
|
|
3375
|
+
errors: [ti]
|
|
3370
3376
|
});
|
|
3371
3377
|
}), ee.splice(0)), B({
|
|
3372
3378
|
acceptedFiles: ee,
|
|
@@ -3375,15 +3381,15 @@ function wi() {
|
|
|
3375
3381
|
type: "setFiles"
|
|
3376
3382
|
}), x && x(ee, ae, I), ae.length > 0 && w && w(ae, I), ee.length > 0 && y && y(ee, I);
|
|
3377
3383
|
}, [B, s, oe, r, i, u, x, y, w, J]), te = de(function(h) {
|
|
3378
|
-
h.preventDefault(), h.persist(), He(h),
|
|
3384
|
+
h.preventDefault(), h.persist(), He(h), j.current = [], Ge(h) && Promise.resolve(a(h)).then(function(I) {
|
|
3379
3385
|
Ze(h) && !F || z(I, h);
|
|
3380
3386
|
}).catch(function(I) {
|
|
3381
|
-
return
|
|
3387
|
+
return R(I);
|
|
3382
3388
|
}), B({
|
|
3383
3389
|
type: "reset"
|
|
3384
3390
|
});
|
|
3385
|
-
}, [a, z,
|
|
3386
|
-
if (
|
|
3391
|
+
}, [a, z, R, F]), v = de(function() {
|
|
3392
|
+
if (L.current) {
|
|
3387
3393
|
B({
|
|
3388
3394
|
type: "openDialog"
|
|
3389
3395
|
}), fe();
|
|
@@ -3398,18 +3404,18 @@ function wi() {
|
|
|
3398
3404
|
type: "closeDialog"
|
|
3399
3405
|
});
|
|
3400
3406
|
}).catch(function(I) {
|
|
3401
|
-
|
|
3407
|
+
ci(I) ? (le(I), B({
|
|
3402
3408
|
type: "closeDialog"
|
|
3403
|
-
})) :
|
|
3409
|
+
})) : li(I) ? (L.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(I);
|
|
3404
3410
|
});
|
|
3405
3411
|
return;
|
|
3406
3412
|
}
|
|
3407
3413
|
Z.current && (B({
|
|
3408
3414
|
type: "openDialog"
|
|
3409
3415
|
}), fe(), Z.current.value = null, Z.current.click());
|
|
3410
|
-
}, [B, fe, le,
|
|
3416
|
+
}, [B, fe, le, A, z, R, me, s]), _e = de(function(h) {
|
|
3411
3417
|
!X.current || !X.current.isEqualNode(h.target) || (h.key === " " || h.key === "Enter" || h.keyCode === 32 || h.keyCode === 13) && (h.preventDefault(), v());
|
|
3412
|
-
}, [X, v]),
|
|
3418
|
+
}, [X, v]), Ne = de(function() {
|
|
3413
3419
|
B({
|
|
3414
3420
|
type: "focus"
|
|
3415
3421
|
});
|
|
@@ -3418,37 +3424,37 @@ function wi() {
|
|
|
3418
3424
|
type: "blur"
|
|
3419
3425
|
});
|
|
3420
3426
|
}, []), Dt = de(function() {
|
|
3421
|
-
k || (
|
|
3427
|
+
k || (ii() ? setTimeout(v, 0) : v());
|
|
3422
3428
|
}, [k, v]), De = function(I) {
|
|
3423
3429
|
return o ? null : I;
|
|
3424
3430
|
}, tt = function(I) {
|
|
3425
3431
|
return p ? null : De(I);
|
|
3426
|
-
},
|
|
3432
|
+
}, qe = function(I) {
|
|
3427
3433
|
return T ? null : De(I);
|
|
3428
3434
|
}, He = function(I) {
|
|
3429
3435
|
F && I.stopPropagation();
|
|
3430
3436
|
}, Ln = Oe(function() {
|
|
3431
3437
|
return function() {
|
|
3432
|
-
var h = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, I = h.refKey, ee = I === void 0 ? "ref" : I, ae = h.role, ve = h.onKeyDown, Be = h.onFocus, Le = h.onBlur, nt = h.onClick, ot = h.onDragEnter, at = h.onDragOver, Ve = h.onDragLeave, it = h.onDrop, rt = Qe(h,
|
|
3433
|
-
return Q(Q(
|
|
3434
|
-
onKeyDown: tt(
|
|
3435
|
-
onFocus: tt(
|
|
3436
|
-
onBlur: tt(
|
|
3437
|
-
onClick: De(
|
|
3438
|
-
onDragEnter:
|
|
3439
|
-
onDragOver:
|
|
3440
|
-
onDragLeave:
|
|
3441
|
-
onDrop:
|
|
3438
|
+
var h = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, I = h.refKey, ee = I === void 0 ? "ref" : I, ae = h.role, ve = h.onKeyDown, Be = h.onFocus, Le = h.onBlur, nt = h.onClick, ot = h.onDragEnter, at = h.onDragOver, Ve = h.onDragLeave, it = h.onDrop, rt = Qe(h, mi);
|
|
3439
|
+
return Q(Q(St({
|
|
3440
|
+
onKeyDown: tt(Ce(ve, _e)),
|
|
3441
|
+
onFocus: tt(Ce(Be, Ne)),
|
|
3442
|
+
onBlur: tt(Ce(Le, Fe)),
|
|
3443
|
+
onClick: De(Ce(nt, Dt)),
|
|
3444
|
+
onDragEnter: qe(Ce(ot, P)),
|
|
3445
|
+
onDragOver: qe(Ce(at, $)),
|
|
3446
|
+
onDragLeave: qe(Ce(Ve, Y)),
|
|
3447
|
+
onDrop: qe(Ce(it, te)),
|
|
3442
3448
|
role: typeof ae == "string" && ae !== "" ? ae : "presentation"
|
|
3443
3449
|
}, ee, X), !o && !p ? {
|
|
3444
3450
|
tabIndex: 0
|
|
3445
3451
|
} : {}), rt);
|
|
3446
3452
|
};
|
|
3447
|
-
}, [X, _e,
|
|
3453
|
+
}, [X, _e, Ne, Fe, Dt, P, $, Y, te, p, T, o]), On = de(function(h) {
|
|
3448
3454
|
h.stopPropagation();
|
|
3449
3455
|
}, []), Pn = Oe(function() {
|
|
3450
3456
|
return function() {
|
|
3451
|
-
var h = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, I = h.refKey, ee = I === void 0 ? "ref" : I, ae = h.onChange, ve = h.onClick, Be = Qe(h,
|
|
3457
|
+
var h = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, I = h.refKey, ee = I === void 0 ? "ref" : I, ae = h.onChange, ve = h.onClick, Be = Qe(h, fi), Le = St({
|
|
3452
3458
|
accept: oe,
|
|
3453
3459
|
multiple: s,
|
|
3454
3460
|
type: "file",
|
|
@@ -3464,8 +3470,8 @@ function wi() {
|
|
|
3464
3470
|
width: "1px",
|
|
3465
3471
|
whiteSpace: "nowrap"
|
|
3466
3472
|
},
|
|
3467
|
-
onChange: De(
|
|
3468
|
-
onClick: De(
|
|
3473
|
+
onChange: De(Ce(ae, te)),
|
|
3474
|
+
onClick: De(Ce(ve, On)),
|
|
3469
3475
|
tabIndex: -1
|
|
3470
3476
|
}, ee, Z);
|
|
3471
3477
|
return Q(Q({}, Le), Be);
|
|
@@ -3480,7 +3486,7 @@ function wi() {
|
|
|
3480
3486
|
open: De(v)
|
|
3481
3487
|
});
|
|
3482
3488
|
}
|
|
3483
|
-
function
|
|
3489
|
+
function Ci(e, t) {
|
|
3484
3490
|
switch (t.type) {
|
|
3485
3491
|
case "focus":
|
|
3486
3492
|
return Q(Q({}, e), {}, {
|
|
@@ -3491,7 +3497,7 @@ function ki(e, t) {
|
|
|
3491
3497
|
isFocused: !1
|
|
3492
3498
|
});
|
|
3493
3499
|
case "openDialog":
|
|
3494
|
-
return Q(Q({},
|
|
3500
|
+
return Q(Q({}, Nt), {}, {
|
|
3495
3501
|
isFileDialogActive: !0
|
|
3496
3502
|
});
|
|
3497
3503
|
case "closeDialog":
|
|
@@ -3511,14 +3517,14 @@ function ki(e, t) {
|
|
|
3511
3517
|
isDragReject: t.isDragReject
|
|
3512
3518
|
});
|
|
3513
3519
|
case "reset":
|
|
3514
|
-
return Q({},
|
|
3520
|
+
return Q({}, Nt);
|
|
3515
3521
|
default:
|
|
3516
3522
|
return e;
|
|
3517
3523
|
}
|
|
3518
3524
|
}
|
|
3519
3525
|
function tn() {
|
|
3520
3526
|
}
|
|
3521
|
-
const
|
|
3527
|
+
const Ti = (e) => {
|
|
3522
3528
|
const {
|
|
3523
3529
|
onDropFiles: t,
|
|
3524
3530
|
children: n,
|
|
@@ -3544,20 +3550,20 @@ const Ci = (e) => {
|
|
|
3544
3550
|
},
|
|
3545
3551
|
[c, u, s, r, t]
|
|
3546
3552
|
);
|
|
3547
|
-
return /* @__PURE__ */ m(et, { multiple: s, onDrop: l, maxSize: o, accept: a, children: ({ getRootProps: d, getInputProps: x }) => /* @__PURE__ */
|
|
3553
|
+
return /* @__PURE__ */ m(et, { multiple: s, onDrop: l, maxSize: o, accept: a, children: ({ getRootProps: d, getInputProps: x }) => /* @__PURE__ */ q("div", { ...d({}), children: [
|
|
3548
3554
|
/* @__PURE__ */ m("input", { ...x({}), disabled: i, name: r }),
|
|
3549
3555
|
n
|
|
3550
3556
|
] }) });
|
|
3551
|
-
},
|
|
3552
|
-
spDropdown:
|
|
3553
|
-
spDropdown__labelText:
|
|
3557
|
+
}, Ei = "_spDropdown_1f4lf_43", Si = "_spDropdown__labelText_1f4lf_54", Ni = "_spDropdown__tooltipContainer_1f4lf_62", Ii = "_spDropdown__dropdownList_1f4lf_67", ji = "_spDropdown__dropdownListHeader_1f4lf_73", Ri = "_spDropdown__dopdownListItem_1f4lf_80", Ai = "_spDropdown__dopdownListItem_textCenter_1f4lf_91", Di = "_spDropdown__downloadListItemDescription_1f4lf_94", Se = {
|
|
3558
|
+
spDropdown: Ei,
|
|
3559
|
+
spDropdown__labelText: Si,
|
|
3554
3560
|
spDropdown__tooltipContainer: Ni,
|
|
3555
|
-
spDropdown__dropdownList:
|
|
3556
|
-
spDropdown__dropdownListHeader:
|
|
3561
|
+
spDropdown__dropdownList: Ii,
|
|
3562
|
+
spDropdown__dropdownListHeader: ji,
|
|
3557
3563
|
spDropdown__dopdownListItem: Ri,
|
|
3558
|
-
spDropdown__dopdownListItem_textCenter:
|
|
3559
|
-
spDropdown__downloadListItemDescription:
|
|
3560
|
-
},
|
|
3564
|
+
spDropdown__dopdownListItem_textCenter: Ai,
|
|
3565
|
+
spDropdown__downloadListItemDescription: Di
|
|
3566
|
+
}, Hs = (e) => {
|
|
3561
3567
|
const {
|
|
3562
3568
|
labelText: t = "Выпадающий список",
|
|
3563
3569
|
listName: n,
|
|
@@ -3565,18 +3571,18 @@ const Ci = (e) => {
|
|
|
3565
3571
|
dropdownPosition: a = se.BottomRight,
|
|
3566
3572
|
classNameRoot: i
|
|
3567
3573
|
} = e, r = _({
|
|
3568
|
-
[
|
|
3574
|
+
[Se.spDropdown]: !0,
|
|
3569
3575
|
...i && { [i]: !0 }
|
|
3570
3576
|
}), s = _({
|
|
3571
|
-
[
|
|
3577
|
+
[Se.spDropdown__labelText]: !0
|
|
3572
3578
|
}), u = _({
|
|
3573
|
-
[
|
|
3579
|
+
[Se.spDropdown__tooltipContainer]: !0
|
|
3574
3580
|
}), c = _({
|
|
3575
|
-
[
|
|
3581
|
+
[Se.spDropdown__dropdownList]: !0
|
|
3576
3582
|
}), l = _({
|
|
3577
|
-
[
|
|
3583
|
+
[Se.spDropdown__dropdownListHeader]: !0
|
|
3578
3584
|
}), d = _({
|
|
3579
|
-
[
|
|
3585
|
+
[Se.spDropdown__downloadListItemDescription]: !0
|
|
3580
3586
|
}), [x, y] = ie(!1);
|
|
3581
3587
|
return /* @__PURE__ */ m(
|
|
3582
3588
|
It,
|
|
@@ -3584,14 +3590,14 @@ const Ci = (e) => {
|
|
|
3584
3590
|
hover: !1,
|
|
3585
3591
|
triggerAction: () => y(!0),
|
|
3586
3592
|
actionOnClose: () => y(!1),
|
|
3587
|
-
text: /* @__PURE__ */
|
|
3593
|
+
text: /* @__PURE__ */ q("div", { className: c, children: [
|
|
3588
3594
|
n && /* @__PURE__ */ m("div", { className: l, children: n }),
|
|
3589
|
-
o.map((g, S) => /* @__PURE__ */
|
|
3595
|
+
o.map((g, S) => /* @__PURE__ */ q(
|
|
3590
3596
|
"div",
|
|
3591
3597
|
{
|
|
3592
3598
|
className: _({
|
|
3593
|
-
[
|
|
3594
|
-
[
|
|
3599
|
+
[Se.spDropdown__dopdownListItem]: !0,
|
|
3600
|
+
[Se.spDropdown__dopdownListItem_textCenter]: g.textCenter
|
|
3595
3601
|
}),
|
|
3596
3602
|
onClick: g.onClick,
|
|
3597
3603
|
children: [
|
|
@@ -3606,16 +3612,16 @@ const Ci = (e) => {
|
|
|
3606
3612
|
noPadding: !0,
|
|
3607
3613
|
isToggleClick: !0,
|
|
3608
3614
|
isStopPropagationClickOnTrigger: !0,
|
|
3609
|
-
trigger: /* @__PURE__ */
|
|
3615
|
+
trigger: /* @__PURE__ */ q("div", { className: r, children: [
|
|
3610
3616
|
/* @__PURE__ */ m("div", { className: s, children: t }),
|
|
3611
3617
|
/* @__PURE__ */ m("div", { className: u, children: /* @__PURE__ */ m(he, { name: pe.SelectChevronDown, rotate: x ? 180 : void 0 }) })
|
|
3612
3618
|
] })
|
|
3613
3619
|
}
|
|
3614
3620
|
);
|
|
3615
|
-
},
|
|
3616
|
-
ellipsisTextWithTooltip:
|
|
3617
|
-
ellipsisTextWithTooltip__tooltip:
|
|
3618
|
-
},
|
|
3621
|
+
}, Li = "_ellipsisTextWithTooltip_1nhiw_43", Oi = "_ellipsisTextWithTooltip__tooltip_1nhiw_46", nn = {
|
|
3622
|
+
ellipsisTextWithTooltip: Li,
|
|
3623
|
+
ellipsisTextWithTooltip__tooltip: Oi
|
|
3624
|
+
}, Pi = (e) => {
|
|
3619
3625
|
const {
|
|
3620
3626
|
text: t,
|
|
3621
3627
|
classNameRoot: n,
|
|
@@ -3649,13 +3655,13 @@ const Ci = (e) => {
|
|
|
3649
3655
|
trigger: /* @__PURE__ */ m(Ee, { ...s, classNameRoot: d, isEllipsis: !0, ref: u, children: t })
|
|
3650
3656
|
}
|
|
3651
3657
|
);
|
|
3652
|
-
},
|
|
3653
|
-
spForm:
|
|
3654
|
-
spForm_fullWidth:
|
|
3655
|
-
spForm_withSeparator:
|
|
3658
|
+
}, Fi = "_spForm_zefbj_43", Bi = "_spForm_fullWidth_zefbj_46", zi = "_spForm_withSeparator_zefbj_49", We = {
|
|
3659
|
+
spForm: Fi,
|
|
3660
|
+
spForm_fullWidth: Bi,
|
|
3661
|
+
spForm_withSeparator: zi,
|
|
3656
3662
|
"spForm_addMargin--size-lg": "_spForm_addMargin--size-lg_zefbj_67",
|
|
3657
3663
|
"spForm_addMargin--size-md": "_spForm_addMargin--size-md_zefbj_75"
|
|
3658
|
-
},
|
|
3664
|
+
}, Vs = (e) => {
|
|
3659
3665
|
const {
|
|
3660
3666
|
size: t = "lg",
|
|
3661
3667
|
children: n,
|
|
@@ -3676,12 +3682,12 @@ const Ci = (e) => {
|
|
|
3676
3682
|
return /* @__PURE__ */ m("form", { ...u, onSubmit: (d) => {
|
|
3677
3683
|
d.preventDefault(), o && o();
|
|
3678
3684
|
}, className: c, children: n });
|
|
3679
|
-
},
|
|
3680
|
-
spLabel:
|
|
3681
|
-
spLabel__text:
|
|
3682
|
-
spLabel__tooltip:
|
|
3685
|
+
}, Wi = "_spLabel_g0hfy_43", Mi = "_spLabel__text_g0hfy_52", $i = "_spLabel__tooltip_g0hfy_62", qi = "_spLabel__required_g0hfy_67", Ke = {
|
|
3686
|
+
spLabel: Wi,
|
|
3687
|
+
spLabel__text: Mi,
|
|
3688
|
+
spLabel__tooltip: $i,
|
|
3683
3689
|
spLabel__required: qi
|
|
3684
|
-
},
|
|
3690
|
+
}, Rt = (e) => {
|
|
3685
3691
|
const {
|
|
3686
3692
|
required: t,
|
|
3687
3693
|
label: n,
|
|
@@ -3699,7 +3705,7 @@ const Ci = (e) => {
|
|
|
3699
3705
|
}), l = _({
|
|
3700
3706
|
[Ke.spLabel__tooltip]: !0
|
|
3701
3707
|
});
|
|
3702
|
-
return /* @__PURE__ */
|
|
3708
|
+
return /* @__PURE__ */ q("div", { className: s, children: [
|
|
3703
3709
|
/* @__PURE__ */ m("label", { className: u, children: n }),
|
|
3704
3710
|
t && /* @__PURE__ */ m("div", { className: c, children: "*" }),
|
|
3705
3711
|
o && /* @__PURE__ */ m("div", { className: l, children: /* @__PURE__ */ m(
|
|
@@ -3711,18 +3717,18 @@ const Ci = (e) => {
|
|
|
3711
3717
|
}
|
|
3712
3718
|
) })
|
|
3713
3719
|
] });
|
|
3714
|
-
},
|
|
3715
|
-
spInput:
|
|
3716
|
-
spInput_error:
|
|
3717
|
-
spInput__control:
|
|
3718
|
-
spInput__container:
|
|
3719
|
-
spInput__control_filled:
|
|
3720
|
-
spInput__control_outlined:
|
|
3721
|
-
spInput__control_disabled:
|
|
3722
|
-
spInput__control_clearable:
|
|
3723
|
-
spInput__clear:
|
|
3724
|
-
spInput__error:
|
|
3725
|
-
},
|
|
3720
|
+
}, Hi = "_spInput_etrn0_43", Vi = "_spInput_error_etrn0_48", Yi = "_spInput__control_etrn0_48", Ui = "_spInput__container_etrn0_55", Gi = "_spInput__control_filled_etrn0_74", Ki = "_spInput__control_outlined_etrn0_78", Xi = "_spInput__control_disabled_etrn0_82", Zi = "_spInput__control_clearable_etrn0_86", Qi = "_spInput__clear_etrn0_113", Ji = "_spInput__error_etrn0_122", Te = {
|
|
3721
|
+
spInput: Hi,
|
|
3722
|
+
spInput_error: Vi,
|
|
3723
|
+
spInput__control: Yi,
|
|
3724
|
+
spInput__container: Ui,
|
|
3725
|
+
spInput__control_filled: Gi,
|
|
3726
|
+
spInput__control_outlined: Ki,
|
|
3727
|
+
spInput__control_disabled: Xi,
|
|
3728
|
+
spInput__control_clearable: Zi,
|
|
3729
|
+
spInput__clear: Qi,
|
|
3730
|
+
spInput__error: Ji
|
|
3731
|
+
}, er = $e.forwardRef((e, t) => {
|
|
3726
3732
|
const {
|
|
3727
3733
|
value: n,
|
|
3728
3734
|
onChange: o,
|
|
@@ -3739,15 +3745,15 @@ const Ci = (e) => {
|
|
|
3739
3745
|
tooltipPosition: w,
|
|
3740
3746
|
isVisibleDefaultTitle: g = !0,
|
|
3741
3747
|
placeholder: S = "Введите...",
|
|
3742
|
-
classNameRoot:
|
|
3743
|
-
classNameError:
|
|
3744
|
-
classNameLabel:
|
|
3748
|
+
classNameRoot: A,
|
|
3749
|
+
classNameError: V,
|
|
3750
|
+
classNameLabel: D,
|
|
3745
3751
|
classNameBaseTooltipRoot: k,
|
|
3746
3752
|
...p
|
|
3747
3753
|
} = e, T = _({
|
|
3748
3754
|
[Te.spInput]: !0,
|
|
3749
3755
|
[Te.spInput_error]: !!s,
|
|
3750
|
-
...
|
|
3756
|
+
...A && { [A]: !0 }
|
|
3751
3757
|
}), F = _({
|
|
3752
3758
|
[Te.spInput__container]: !0
|
|
3753
3759
|
}), H = _({
|
|
@@ -3759,18 +3765,18 @@ const Ci = (e) => {
|
|
|
3759
3765
|
[Te.spInput__clear]: !0
|
|
3760
3766
|
}), oe = _({
|
|
3761
3767
|
[Te.spInput__error]: !0,
|
|
3762
|
-
...
|
|
3768
|
+
...V && { [V]: !0 }
|
|
3763
3769
|
}), me = _({
|
|
3764
|
-
...
|
|
3770
|
+
...D && { [D]: !0 }
|
|
3765
3771
|
}), fe = (Z) => {
|
|
3766
3772
|
o(Z, { name: c, value: "" });
|
|
3767
3773
|
}, le = (Z) => {
|
|
3768
3774
|
const { value: C, name: W } = Z.target;
|
|
3769
3775
|
d && C && !new RegExp(d).test(C) || o(Z, { value: C, name: W });
|
|
3770
3776
|
};
|
|
3771
|
-
return /* @__PURE__ */
|
|
3777
|
+
return /* @__PURE__ */ q("div", { className: T, children: [
|
|
3772
3778
|
a && /* @__PURE__ */ m(
|
|
3773
|
-
|
|
3779
|
+
Rt,
|
|
3774
3780
|
{
|
|
3775
3781
|
classNameRoot: me,
|
|
3776
3782
|
tooltipPosition: w,
|
|
@@ -3780,7 +3786,7 @@ const Ci = (e) => {
|
|
|
3780
3786
|
classNameBaseTooltipRoot: k
|
|
3781
3787
|
}
|
|
3782
3788
|
),
|
|
3783
|
-
/* @__PURE__ */
|
|
3789
|
+
/* @__PURE__ */ q("div", { className: F, onMouseEnter: x, children: [
|
|
3784
3790
|
/* @__PURE__ */ m(
|
|
3785
3791
|
"input",
|
|
3786
3792
|
{
|
|
@@ -3800,22 +3806,22 @@ const Ci = (e) => {
|
|
|
3800
3806
|
s && /* @__PURE__ */ m("div", { className: oe, children: s })
|
|
3801
3807
|
] });
|
|
3802
3808
|
});
|
|
3803
|
-
|
|
3804
|
-
const
|
|
3805
|
-
spInputFiles:
|
|
3806
|
-
spInputFiles_error:
|
|
3807
|
-
spInputFiles__control:
|
|
3808
|
-
spInputFiles_disabled:
|
|
3809
|
-
spInputFiles_fileUploaded:
|
|
3810
|
-
spInputFiles__fileNamesList:
|
|
3811
|
-
spInputFiles__fileNamesListItem:
|
|
3812
|
-
spInputFiles__fileNamesListItem__triggerTooltip:
|
|
3813
|
-
spInputFiles__fileNamesListItemDelete:
|
|
3814
|
-
spInputFiles__tooltipWrapper:
|
|
3815
|
-
spInputFiles__tooltip:
|
|
3816
|
-
spInputFiles__delete:
|
|
3817
|
-
spInputFiles__error:
|
|
3818
|
-
},
|
|
3809
|
+
er.displayName = "Input";
|
|
3810
|
+
const tr = "_spInputFiles_1ukpx_43", nr = "_spInputFiles_error_1ukpx_48", or = "_spInputFiles__control_1ukpx_48", ar = "_spInputFiles_disabled_1ukpx_77", ir = "_spInputFiles_fileUploaded_1ukpx_81", rr = "_spInputFiles__fileNamesList_1ukpx_85", sr = "_spInputFiles__fileNamesListItem_1ukpx_94", pr = "_spInputFiles__fileNamesListItem__triggerTooltip_1ukpx_113", cr = "_spInputFiles__fileNamesListItemDelete_1ukpx_116", lr = "_spInputFiles__tooltipWrapper_1ukpx_131", dr = "_spInputFiles__tooltip_1ukpx_131", ur = "_spInputFiles__delete_1ukpx_137", mr = "_spInputFiles__error_1ukpx_145", xe = {
|
|
3811
|
+
spInputFiles: tr,
|
|
3812
|
+
spInputFiles_error: nr,
|
|
3813
|
+
spInputFiles__control: or,
|
|
3814
|
+
spInputFiles_disabled: ar,
|
|
3815
|
+
spInputFiles_fileUploaded: ir,
|
|
3816
|
+
spInputFiles__fileNamesList: rr,
|
|
3817
|
+
spInputFiles__fileNamesListItem: sr,
|
|
3818
|
+
spInputFiles__fileNamesListItem__triggerTooltip: pr,
|
|
3819
|
+
spInputFiles__fileNamesListItemDelete: cr,
|
|
3820
|
+
spInputFiles__tooltipWrapper: lr,
|
|
3821
|
+
spInputFiles__tooltip: dr,
|
|
3822
|
+
spInputFiles__delete: ur,
|
|
3823
|
+
spInputFiles__error: mr
|
|
3824
|
+
}, Ys = (e) => {
|
|
3819
3825
|
const {
|
|
3820
3826
|
placeholder: t = "Загрузите файл",
|
|
3821
3827
|
name: n,
|
|
@@ -3836,21 +3842,21 @@ const er = "_spInputFiles_1ukpx_43", tr = "_spInputFiles_error_1ukpx_48", nr = "
|
|
|
3836
3842
|
[xe.spInputFiles_disabled]: r,
|
|
3837
3843
|
[xe.spInputFiles_fileUploaded]: g,
|
|
3838
3844
|
...x && { [x]: !0 }
|
|
3839
|
-
}),
|
|
3845
|
+
}), A = (p) => {
|
|
3840
3846
|
const T = [...c], F = T.findIndex((H) => H.name === p);
|
|
3841
3847
|
T.splice(F, 1), o(T, n);
|
|
3842
|
-
},
|
|
3848
|
+
}, V = (p) => {
|
|
3843
3849
|
p.stopPropagation(), o([], n);
|
|
3844
|
-
},
|
|
3850
|
+
}, D = () => s ? /* @__PURE__ */ m("ul", { className: xe.spInputFiles__fileNamesList, children: w.map((p, T) => /* @__PURE__ */ q(
|
|
3845
3851
|
"li",
|
|
3846
3852
|
{
|
|
3847
3853
|
className: xe.spInputFiles__fileNamesListItem,
|
|
3848
3854
|
onClick: (F) => {
|
|
3849
|
-
F.stopPropagation(),
|
|
3855
|
+
F.stopPropagation(), A(p);
|
|
3850
3856
|
},
|
|
3851
3857
|
children: [
|
|
3852
3858
|
/* @__PURE__ */ m(
|
|
3853
|
-
|
|
3859
|
+
Pi,
|
|
3854
3860
|
{
|
|
3855
3861
|
type: "p2",
|
|
3856
3862
|
text: p,
|
|
@@ -3861,9 +3867,9 @@ const er = "_spInputFiles_1ukpx_43", tr = "_spInputFiles_error_1ukpx_48", nr = "
|
|
|
3861
3867
|
]
|
|
3862
3868
|
},
|
|
3863
3869
|
T
|
|
3864
|
-
)) }) : /* @__PURE__ */ m(Ee, { isEllipsis: !0, children: w[0] }), k = () => /* @__PURE__ */
|
|
3865
|
-
g ?
|
|
3866
|
-
g ? /* @__PURE__ */ m("div", { className: xe.spInputFiles__delete, onClick:
|
|
3870
|
+
)) }) : /* @__PURE__ */ m(Ee, { isEllipsis: !0, children: w[0] }), k = () => /* @__PURE__ */ q(dn, { children: [
|
|
3871
|
+
g ? D() : /* @__PURE__ */ m(Ee, { children: t }),
|
|
3872
|
+
g ? /* @__PURE__ */ m("div", { className: xe.spInputFiles__delete, onClick: V, children: /* @__PURE__ */ m(he, { name: pe.Close }) }) : l && /* @__PURE__ */ m(
|
|
3867
3873
|
Je,
|
|
3868
3874
|
{
|
|
3869
3875
|
classNameTooltip: xe.spInputFiles__tooltipWrapper,
|
|
@@ -3874,7 +3880,7 @@ const er = "_spInputFiles_1ukpx_43", tr = "_spInputFiles_error_1ukpx_48", nr = "
|
|
|
3874
3880
|
)
|
|
3875
3881
|
] });
|
|
3876
3882
|
return /* @__PURE__ */ m(
|
|
3877
|
-
|
|
3883
|
+
Ti,
|
|
3878
3884
|
{
|
|
3879
3885
|
name: n,
|
|
3880
3886
|
files: c,
|
|
@@ -3884,8 +3890,8 @@ const er = "_spInputFiles_1ukpx_43", tr = "_spInputFiles_error_1ukpx_48", nr = "
|
|
|
3884
3890
|
accept: i,
|
|
3885
3891
|
onDropFiles: o,
|
|
3886
3892
|
disabled: r || g,
|
|
3887
|
-
children: /* @__PURE__ */
|
|
3888
|
-
/* @__PURE__ */
|
|
3893
|
+
children: /* @__PURE__ */ q("div", { className: S, children: [
|
|
3894
|
+
/* @__PURE__ */ q("div", { className: xe.spInputFiles__control, children: [
|
|
3889
3895
|
/* @__PURE__ */ m(he, { name: g ? pe.Check : pe.Upload }),
|
|
3890
3896
|
k()
|
|
3891
3897
|
] }),
|
|
@@ -3893,7 +3899,7 @@ const er = "_spInputFiles_1ukpx_43", tr = "_spInputFiles_error_1ukpx_48", nr = "
|
|
|
3893
3899
|
] })
|
|
3894
3900
|
}
|
|
3895
3901
|
);
|
|
3896
|
-
},
|
|
3902
|
+
}, fr = un({
|
|
3897
3903
|
device: {
|
|
3898
3904
|
isDesktop: !1,
|
|
3899
3905
|
isMobile: !1,
|
|
@@ -3901,11 +3907,11 @@ const er = "_spInputFiles_1ukpx_43", tr = "_spInputFiles_error_1ukpx_48", nr = "
|
|
|
3901
3907
|
}
|
|
3902
3908
|
});
|
|
3903
3909
|
var At = {};
|
|
3904
|
-
At.match =
|
|
3905
|
-
At.parse =
|
|
3906
|
-
var
|
|
3907
|
-
function
|
|
3908
|
-
return
|
|
3910
|
+
At.match = br;
|
|
3911
|
+
At.parse = jn;
|
|
3912
|
+
var _r = /(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i, vr = /\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/, xr = /^(?:(min|max)-)?(.+)/, gr = /(em|rem|px|cm|mm|in|pt|pc)?$/, hr = /(dpi|dpcm|dppx)?$/;
|
|
3913
|
+
function br(e, t) {
|
|
3914
|
+
return jn(e).some(function(n) {
|
|
3909
3915
|
var o = n.inverse, a = n.type === "all" || t.type === n.type;
|
|
3910
3916
|
if (a && o || !(a || o))
|
|
3911
3917
|
return !1;
|
|
@@ -3951,12 +3957,12 @@ function hr(e, t) {
|
|
|
3951
3957
|
return i && !o || !i && o;
|
|
3952
3958
|
});
|
|
3953
3959
|
}
|
|
3954
|
-
function
|
|
3960
|
+
function jn(e) {
|
|
3955
3961
|
return e.split(",").map(function(t) {
|
|
3956
3962
|
t = t.trim();
|
|
3957
|
-
var n = t.match(
|
|
3963
|
+
var n = t.match(_r), o = n[1], a = n[2], i = n[3] || "", r = {};
|
|
3958
3964
|
return r.inverse = !!o && o.toLowerCase() === "not", r.type = a ? a.toLowerCase() : "all", i = i.match(/\([^\)]+\)/g) || [], r.expressions = i.map(function(s) {
|
|
3959
|
-
var u = s.match(
|
|
3965
|
+
var u = s.match(vr), c = u[1].toLowerCase().match(xr);
|
|
3960
3966
|
return {
|
|
3961
3967
|
modifier: c[1],
|
|
3962
3968
|
feature: c[2],
|
|
@@ -3970,7 +3976,7 @@ function on(e) {
|
|
|
3970
3976
|
return t || (n = e.match(/^(\d+)\s*\/\s*(\d+)$/), t = n[1] / n[2]), t;
|
|
3971
3977
|
}
|
|
3972
3978
|
function an(e) {
|
|
3973
|
-
var t = parseFloat(e), n = String(e).match(
|
|
3979
|
+
var t = parseFloat(e), n = String(e).match(hr)[1];
|
|
3974
3980
|
switch (n) {
|
|
3975
3981
|
case "dpcm":
|
|
3976
3982
|
return t / 2.54;
|
|
@@ -3981,7 +3987,7 @@ function an(e) {
|
|
|
3981
3987
|
}
|
|
3982
3988
|
}
|
|
3983
3989
|
function rn(e) {
|
|
3984
|
-
var t = parseFloat(e), n = String(e).match(
|
|
3990
|
+
var t = parseFloat(e), n = String(e).match(gr)[1];
|
|
3985
3991
|
switch (n) {
|
|
3986
3992
|
case "em":
|
|
3987
3993
|
return t * 16;
|
|
@@ -4001,10 +4007,10 @@ function rn(e) {
|
|
|
4001
4007
|
return t;
|
|
4002
4008
|
}
|
|
4003
4009
|
}
|
|
4004
|
-
var
|
|
4005
|
-
function
|
|
4010
|
+
var yr = At.match, sn = typeof window < "u" ? window.matchMedia : null;
|
|
4011
|
+
function wr(e, t, n) {
|
|
4006
4012
|
var o = this, a;
|
|
4007
|
-
sn && !n && (a = sn.call(window, e)), a ? (this.matches = a.matches, this.media = a.media, a.addListener(s)) : (this.matches =
|
|
4013
|
+
sn && !n && (a = sn.call(window, e)), a ? (this.matches = a.matches, this.media = a.media, a.addListener(s)) : (this.matches = yr(e, t), this.media = e), this.addListener = i, this.removeListener = r, this.dispose = u;
|
|
4008
4014
|
function i(c) {
|
|
4009
4015
|
a && a.addListener(c);
|
|
4010
4016
|
}
|
|
@@ -4018,22 +4024,22 @@ function yr(e, t, n) {
|
|
|
4018
4024
|
a && a.removeListener(s);
|
|
4019
4025
|
}
|
|
4020
4026
|
}
|
|
4021
|
-
function
|
|
4022
|
-
return new
|
|
4027
|
+
function kr(e, t, n) {
|
|
4028
|
+
return new wr(e, t, n);
|
|
4023
4029
|
}
|
|
4024
|
-
var
|
|
4025
|
-
const
|
|
4026
|
-
var
|
|
4030
|
+
var Cr = kr;
|
|
4031
|
+
const Tr = /* @__PURE__ */ xn(Cr);
|
|
4032
|
+
var Er = /[A-Z]/g, Sr = /^ms-/, bt = {};
|
|
4027
4033
|
function Nr(e) {
|
|
4028
4034
|
return "-" + e.toLowerCase();
|
|
4029
4035
|
}
|
|
4030
|
-
function
|
|
4036
|
+
function Rn(e) {
|
|
4031
4037
|
if (bt.hasOwnProperty(e))
|
|
4032
4038
|
return bt[e];
|
|
4033
|
-
var t = e.replace(
|
|
4034
|
-
return bt[e] =
|
|
4039
|
+
var t = e.replace(Er, Nr);
|
|
4040
|
+
return bt[e] = Sr.test(t) ? "-" + t : t;
|
|
4035
4041
|
}
|
|
4036
|
-
function
|
|
4042
|
+
function Ir(e, t) {
|
|
4037
4043
|
if (e === t)
|
|
4038
4044
|
return !0;
|
|
4039
4045
|
if (!e || !t)
|
|
@@ -4060,7 +4066,7 @@ const ce = E.oneOfType([E.string, E.number]), An = {
|
|
|
4060
4066
|
tty: E.bool,
|
|
4061
4067
|
tv: E.bool,
|
|
4062
4068
|
embossed: E.bool
|
|
4063
|
-
},
|
|
4069
|
+
}, jr = {
|
|
4064
4070
|
orientation: E.oneOf(["portrait", "landscape"]),
|
|
4065
4071
|
scan: E.oneOf(["progressive", "interlace"]),
|
|
4066
4072
|
aspectRatio: E.string,
|
|
@@ -4074,7 +4080,7 @@ const ce = E.oneOfType([E.string, E.number]), An = {
|
|
|
4074
4080
|
monochrome: E.bool,
|
|
4075
4081
|
resolution: ce,
|
|
4076
4082
|
type: Object.keys(An)
|
|
4077
|
-
}, { type:
|
|
4083
|
+
}, { type: Us, ...Rr } = jr, Ar = {
|
|
4078
4084
|
minAspectRatio: E.string,
|
|
4079
4085
|
maxAspectRatio: E.string,
|
|
4080
4086
|
minDeviceAspectRatio: E.string,
|
|
@@ -4096,38 +4102,38 @@ const ce = E.oneOfType([E.string, E.number]), An = {
|
|
|
4096
4102
|
minResolution: ce,
|
|
4097
4103
|
maxResolution: ce,
|
|
4098
4104
|
...Rr
|
|
4099
|
-
},
|
|
4100
|
-
var
|
|
4101
|
-
all:
|
|
4105
|
+
}, Dr = { ...An, ...Ar };
|
|
4106
|
+
var Lr = {
|
|
4107
|
+
all: Dr
|
|
4102
4108
|
};
|
|
4103
|
-
const
|
|
4104
|
-
const n =
|
|
4105
|
-
return typeof t == "number" && (t = `${t}px`), t === !0 ? n : t === !1 ?
|
|
4106
|
-
},
|
|
4109
|
+
const Or = (e) => `not ${e}`, Pr = (e, t) => {
|
|
4110
|
+
const n = Rn(e);
|
|
4111
|
+
return typeof t == "number" && (t = `${t}px`), t === !0 ? n : t === !1 ? Or(n) : `(${n}: ${t})`;
|
|
4112
|
+
}, Fr = (e) => e.join(" and "), Br = (e) => {
|
|
4107
4113
|
const t = [];
|
|
4108
|
-
return Object.keys(
|
|
4114
|
+
return Object.keys(Lr.all).forEach((n) => {
|
|
4109
4115
|
const o = e[n];
|
|
4110
|
-
o != null && t.push(
|
|
4111
|
-
}),
|
|
4112
|
-
},
|
|
4116
|
+
o != null && t.push(Pr(n, o));
|
|
4117
|
+
}), Fr(t);
|
|
4118
|
+
}, zr = un(void 0), Wr = (e) => e.query || Br(e), pn = (e) => e ? Object.keys(e).reduce((n, o) => (n[Rn(o)] = e[o], n), {}) : void 0, Dn = () => {
|
|
4113
4119
|
const e = ue(!1);
|
|
4114
4120
|
return ne(() => {
|
|
4115
4121
|
e.current = !0;
|
|
4116
4122
|
}, []), e.current;
|
|
4117
|
-
},
|
|
4118
|
-
const t =
|
|
4123
|
+
}, Mr = (e) => {
|
|
4124
|
+
const t = $n(zr), n = () => pn(e) || pn(t), [o, a] = ie(n);
|
|
4119
4125
|
return ne(() => {
|
|
4120
4126
|
const i = n();
|
|
4121
|
-
|
|
4127
|
+
Ir(o, i) || a(i);
|
|
4122
4128
|
}, [e, t]), o;
|
|
4123
|
-
},
|
|
4124
|
-
const t = () =>
|
|
4129
|
+
}, $r = (e) => {
|
|
4130
|
+
const t = () => Wr(e), [n, o] = ie(t);
|
|
4125
4131
|
return ne(() => {
|
|
4126
4132
|
const a = t();
|
|
4127
4133
|
n !== a && o(a);
|
|
4128
4134
|
}, [e]), n;
|
|
4129
4135
|
}, qr = (e, t) => {
|
|
4130
|
-
const n = () =>
|
|
4136
|
+
const n = () => Tr(e, t || {}, !!t), [o, a] = ie(n), i = Dn();
|
|
4131
4137
|
return ne(() => {
|
|
4132
4138
|
if (i) {
|
|
4133
4139
|
const r = n();
|
|
@@ -4136,7 +4142,7 @@ const Lr = (e) => `not ${e}`, Or = (e, t) => {
|
|
|
4136
4142
|
};
|
|
4137
4143
|
}
|
|
4138
4144
|
}, [e, t]), o;
|
|
4139
|
-
},
|
|
4145
|
+
}, Hr = (e) => {
|
|
4140
4146
|
const [t, n] = ie(e.matches);
|
|
4141
4147
|
return ne(() => {
|
|
4142
4148
|
const o = (a) => {
|
|
@@ -4147,15 +4153,15 @@ const Lr = (e) => `not ${e}`, Or = (e, t) => {
|
|
|
4147
4153
|
};
|
|
4148
4154
|
}, [e]), t;
|
|
4149
4155
|
}, yt = (e, t, n) => {
|
|
4150
|
-
const o =
|
|
4156
|
+
const o = Mr(t), a = $r(e);
|
|
4151
4157
|
if (!a)
|
|
4152
4158
|
throw new Error("Invalid or missing MediaQuery!");
|
|
4153
|
-
const i = qr(a, o), r =
|
|
4159
|
+
const i = qr(a, o), r = Hr(i);
|
|
4154
4160
|
return Dn(), ne(() => {
|
|
4155
4161
|
}, [r]), ne(() => () => {
|
|
4156
4162
|
i && i.dispose();
|
|
4157
4163
|
}, []), r;
|
|
4158
|
-
},
|
|
4164
|
+
}, Vr = (e) => {
|
|
4159
4165
|
const { desktop: t, tablet: n, mobile: o } = e, a = yt(t), i = yt(n), r = yt(o);
|
|
4160
4166
|
return {
|
|
4161
4167
|
device: {
|
|
@@ -4164,10 +4170,10 @@ const Lr = (e) => `not ${e}`, Or = (e, t) => {
|
|
|
4164
4170
|
isMobile: r
|
|
4165
4171
|
}
|
|
4166
4172
|
};
|
|
4167
|
-
},
|
|
4168
|
-
const { breakpoints: t, children: n } = e, { device: o } =
|
|
4173
|
+
}, Gs = (e) => {
|
|
4174
|
+
const { breakpoints: t, children: n } = e, { device: o } = Vr(t);
|
|
4169
4175
|
return /* @__PURE__ */ m(
|
|
4170
|
-
|
|
4176
|
+
fr.Provider,
|
|
4171
4177
|
{
|
|
4172
4178
|
value: {
|
|
4173
4179
|
device: o
|
|
@@ -4175,30 +4181,30 @@ const Lr = (e) => `not ${e}`, Or = (e, t) => {
|
|
|
4175
4181
|
children: n
|
|
4176
4182
|
}
|
|
4177
4183
|
);
|
|
4178
|
-
}, cn = 2e3,
|
|
4184
|
+
}, cn = 2e3, Yr = (e) => {
|
|
4179
4185
|
const { targetValue: t, duration: n = cn, doneValue: o } = e, [a, i] = ie(t), r = ue(), s = ue(0), u = ue(), c = ue(t);
|
|
4180
4186
|
return ne(() => {
|
|
4181
4187
|
if (c.current = t, t === s.current) return;
|
|
4182
4188
|
r.current && cancelAnimationFrame(r.current), s.current = a, u.current = performance.now();
|
|
4183
4189
|
const l = (d) => {
|
|
4184
|
-
const x = t === o ? cn : n, y = d - (u.current || d), w = Math.min(y / x, 1), g = w < 0.5 ? 4 * w * w * w : 1 - Math.pow(-2 * w + 2, 3) / 2, S = s.current + (c.current - s.current) * g,
|
|
4185
|
-
i(
|
|
4190
|
+
const x = t === o ? cn : n, y = d - (u.current || d), w = Math.min(y / x, 1), g = w < 0.5 ? 4 * w * w * w : 1 - Math.pow(-2 * w + 2, 3) / 2, S = s.current + (c.current - s.current) * g, A = Math.max(0, Math.floor(S));
|
|
4191
|
+
i(A), w < 1 && (r.current = requestAnimationFrame(l));
|
|
4186
4192
|
};
|
|
4187
4193
|
return r.current = requestAnimationFrame(l), () => {
|
|
4188
4194
|
r.current && cancelAnimationFrame(r.current);
|
|
4189
4195
|
};
|
|
4190
4196
|
}, [t, n, o]), a;
|
|
4191
|
-
},
|
|
4192
|
-
progressWrapper:
|
|
4193
|
-
progressWrapper_loading:
|
|
4194
|
-
progressWrapper__childrenWrapper:
|
|
4195
|
-
progressWrapper__childrenWrapper_loading:
|
|
4197
|
+
}, Ur = "_progressWrapper_xn9s0_44", Gr = "_progressWrapper_loading_xn9s0_47", Kr = "_progressWrapper__childrenWrapper_xn9s0_52", Xr = "_progressWrapper__childrenWrapper_loading_xn9s0_58", Zr = "_pulse_xn9s0_1", Qr = "_progressWrapper__progressBadge_xn9s0_64", Jr = "_progressWrapper__progressBadge_loading_xn9s0_75", Ie = {
|
|
4198
|
+
progressWrapper: Ur,
|
|
4199
|
+
progressWrapper_loading: Gr,
|
|
4200
|
+
progressWrapper__childrenWrapper: Kr,
|
|
4201
|
+
progressWrapper__childrenWrapper_loading: Xr,
|
|
4196
4202
|
"progressWrapper__childrenWrapper--animated-pulse": "_progressWrapper__childrenWrapper--animated-pulse_xn9s0_58",
|
|
4197
|
-
pulse:
|
|
4203
|
+
pulse: Zr,
|
|
4198
4204
|
"progressWrapper__childrenWrapper--animated-backgroundProgress": "_progressWrapper__childrenWrapper--animated-backgroundProgress_xn9s0_61",
|
|
4199
|
-
progressWrapper__progressBadge:
|
|
4200
|
-
progressWrapper__progressBadge_loading:
|
|
4201
|
-
},
|
|
4205
|
+
progressWrapper__progressBadge: Qr,
|
|
4206
|
+
progressWrapper__progressBadge_loading: Jr
|
|
4207
|
+
}, Ks = (e) => {
|
|
4202
4208
|
const {
|
|
4203
4209
|
value: t,
|
|
4204
4210
|
classNameRoot: n,
|
|
@@ -4207,7 +4213,7 @@ const Lr = (e) => `not ${e}`, Or = (e, t) => {
|
|
|
4207
4213
|
children: i,
|
|
4208
4214
|
doneValue: r = 100,
|
|
4209
4215
|
animationVariant: s = "backgroundProgress"
|
|
4210
|
-
} = e, [u, c] = ie(!1), l = ue(), d =
|
|
4216
|
+
} = e, [u, c] = ie(!1), l = ue(), d = Yr({
|
|
4211
4217
|
targetValue: t,
|
|
4212
4218
|
duration: a,
|
|
4213
4219
|
doneValue: r
|
|
@@ -4232,7 +4238,7 @@ const Lr = (e) => `not ${e}`, Or = (e, t) => {
|
|
|
4232
4238
|
}), g = {
|
|
4233
4239
|
"--progress": `${d / r * 100}%`
|
|
4234
4240
|
};
|
|
4235
|
-
return /* @__PURE__ */
|
|
4241
|
+
return /* @__PURE__ */ q("div", { className: x, children: [
|
|
4236
4242
|
/* @__PURE__ */ m(
|
|
4237
4243
|
"div",
|
|
4238
4244
|
{
|
|
@@ -4241,27 +4247,27 @@ const Lr = (e) => `not ${e}`, Or = (e, t) => {
|
|
|
4241
4247
|
children: i
|
|
4242
4248
|
}
|
|
4243
4249
|
),
|
|
4244
|
-
u && /* @__PURE__ */
|
|
4250
|
+
u && /* @__PURE__ */ q(Ee, { classNameRoot: y, children: [
|
|
4245
4251
|
d,
|
|
4246
4252
|
"%"
|
|
4247
4253
|
] })
|
|
4248
4254
|
] });
|
|
4249
|
-
},
|
|
4250
|
-
spSelect:
|
|
4251
|
-
spSelect_error:
|
|
4252
|
-
spSelect__control:
|
|
4253
|
-
spSelect__value_empty:
|
|
4254
|
-
spSelect__icon:
|
|
4255
|
-
spSelect__container:
|
|
4256
|
-
spSelect__control_filled:
|
|
4257
|
-
spSelect__control_outlined:
|
|
4258
|
-
spSelect__control_disabled:
|
|
4259
|
-
spSelect__value:
|
|
4260
|
-
spSelect__list:
|
|
4261
|
-
spSelect__list_scrollable:
|
|
4262
|
-
spSelect__option:
|
|
4263
|
-
spSelect__error:
|
|
4264
|
-
},
|
|
4255
|
+
}, es = 180, ts = "_spSelect_140u6_43", ns = "_spSelect_error_140u6_48", os = "_spSelect__control_140u6_48", as = "_spSelect__value_empty_140u6_52", is = "_spSelect__icon_140u6_55", rs = "_spSelect__container_140u6_58", ss = "_spSelect__control_filled_140u6_78", ps = "_spSelect__control_outlined_140u6_82", cs = "_spSelect__control_disabled_140u6_107", ls = "_spSelect__value_140u6_52", ds = "_spSelect__list_140u6_138", us = "_spSelect__list_scrollable_140u6_145", ms = "_spSelect__option_140u6_161", fs = "_spSelect__error_140u6_179", ge = {
|
|
4256
|
+
spSelect: ts,
|
|
4257
|
+
spSelect_error: ns,
|
|
4258
|
+
spSelect__control: os,
|
|
4259
|
+
spSelect__value_empty: as,
|
|
4260
|
+
spSelect__icon: is,
|
|
4261
|
+
spSelect__container: rs,
|
|
4262
|
+
spSelect__control_filled: ss,
|
|
4263
|
+
spSelect__control_outlined: ps,
|
|
4264
|
+
spSelect__control_disabled: cs,
|
|
4265
|
+
spSelect__value: ls,
|
|
4266
|
+
spSelect__list: ds,
|
|
4267
|
+
spSelect__list_scrollable: us,
|
|
4268
|
+
spSelect__option: ms,
|
|
4269
|
+
spSelect__error: fs
|
|
4270
|
+
}, Xs = (e) => {
|
|
4265
4271
|
const {
|
|
4266
4272
|
options: t,
|
|
4267
4273
|
placeholder: n = "Выберите из списка...",
|
|
@@ -4276,12 +4282,12 @@ const Lr = (e) => `not ${e}`, Or = (e, t) => {
|
|
|
4276
4282
|
tooltipPosition: d,
|
|
4277
4283
|
disabled: x,
|
|
4278
4284
|
required: y,
|
|
4279
|
-
maxHeightList: w =
|
|
4285
|
+
maxHeightList: w = es,
|
|
4280
4286
|
isVisibleDefaultTitle: g = !0,
|
|
4281
4287
|
isScrollableList: S = !1,
|
|
4282
|
-
classNameRoot:
|
|
4283
|
-
classNameError:
|
|
4284
|
-
classNameLabel:
|
|
4288
|
+
classNameRoot: A,
|
|
4289
|
+
classNameError: V,
|
|
4290
|
+
classNameLabel: D,
|
|
4285
4291
|
classNameBaseTooltipRoot: k
|
|
4286
4292
|
} = e, [p, T] = ie(!1), F = ue(null);
|
|
4287
4293
|
_n(
|
|
@@ -4298,7 +4304,7 @@ const Lr = (e) => `not ${e}`, Or = (e, t) => {
|
|
|
4298
4304
|
}, me = _({
|
|
4299
4305
|
[ge.spSelect]: !0,
|
|
4300
4306
|
[ge.spSelect_error]: !!u,
|
|
4301
|
-
...
|
|
4307
|
+
...A && { [A]: !0 }
|
|
4302
4308
|
}), fe = _({
|
|
4303
4309
|
[ge.spSelect__container]: !0
|
|
4304
4310
|
}), le = _({
|
|
@@ -4314,14 +4320,14 @@ const Lr = (e) => `not ${e}`, Or = (e, t) => {
|
|
|
4314
4320
|
[ge.spSelect__list]: !0,
|
|
4315
4321
|
[ge.spSelect__list_scrollable]: S
|
|
4316
4322
|
}), W = _({
|
|
4317
|
-
...
|
|
4323
|
+
...D && { [D]: !0 }
|
|
4318
4324
|
}), K = _({
|
|
4319
4325
|
[ge.spSelect__error]: !0,
|
|
4320
|
-
...
|
|
4326
|
+
...V && { [V]: !0 }
|
|
4321
4327
|
});
|
|
4322
|
-
return /* @__PURE__ */
|
|
4328
|
+
return /* @__PURE__ */ q("div", { className: me, ref: F, children: [
|
|
4323
4329
|
c && /* @__PURE__ */ m(
|
|
4324
|
-
|
|
4330
|
+
Rt,
|
|
4325
4331
|
{
|
|
4326
4332
|
classNameRoot: W,
|
|
4327
4333
|
tooltipPosition: d,
|
|
@@ -4331,8 +4337,8 @@ const Lr = (e) => `not ${e}`, Or = (e, t) => {
|
|
|
4331
4337
|
classNameBaseTooltipRoot: k
|
|
4332
4338
|
}
|
|
4333
4339
|
),
|
|
4334
|
-
/* @__PURE__ */
|
|
4335
|
-
/* @__PURE__ */
|
|
4340
|
+
/* @__PURE__ */ q("div", { className: fe, onMouseEnter: s, children: [
|
|
4341
|
+
/* @__PURE__ */ q(
|
|
4336
4342
|
"div",
|
|
4337
4343
|
{
|
|
4338
4344
|
tabIndex: x ? -1 : 0,
|
|
@@ -4359,13 +4365,13 @@ const Lr = (e) => `not ${e}`, Or = (e, t) => {
|
|
|
4359
4365
|
style: S ? { maxHeight: `${w}px` } : {},
|
|
4360
4366
|
children: t.map((f) => {
|
|
4361
4367
|
const b = f.value === o;
|
|
4362
|
-
return /* @__PURE__ */
|
|
4368
|
+
return /* @__PURE__ */ q(
|
|
4363
4369
|
"div",
|
|
4364
4370
|
{
|
|
4365
4371
|
className: _({
|
|
4366
4372
|
[ge.spSelect__option]: !0
|
|
4367
4373
|
}),
|
|
4368
|
-
onClick: (
|
|
4374
|
+
onClick: (L) => J(L, f.value),
|
|
4369
4375
|
children: [
|
|
4370
4376
|
f.label,
|
|
4371
4377
|
b && /* @__PURE__ */ m(he, { name: pe.Check, className: Z })
|
|
@@ -4379,30 +4385,30 @@ const Lr = (e) => `not ${e}`, Or = (e, t) => {
|
|
|
4379
4385
|
] }),
|
|
4380
4386
|
u && /* @__PURE__ */ m("div", { className: K, children: u })
|
|
4381
4387
|
] });
|
|
4382
|
-
},
|
|
4383
|
-
skeleton:
|
|
4384
|
-
},
|
|
4388
|
+
}, _s = "_skeleton_c18an_44", vs = {
|
|
4389
|
+
skeleton: _s
|
|
4390
|
+
}, Zs = (e) => {
|
|
4385
4391
|
const { width: t = "100%", height: n = "1rem", circle: o = !1, classNameRoot: a = "", style: i = {} } = e, r = {
|
|
4386
4392
|
width: t,
|
|
4387
4393
|
height: n,
|
|
4388
4394
|
borderRadius: o ? "50%" : "0",
|
|
4389
4395
|
...i
|
|
4390
4396
|
};
|
|
4391
|
-
return /* @__PURE__ */ m("div", { style: r, className: _(a,
|
|
4392
|
-
}, ln = (e) => e == null || e === "" ? !0 : typeof e != "string" && typeof e.toString != "function" ? !1 : e.toString().replace(/\s/g, "").length < 1,
|
|
4393
|
-
spTable:
|
|
4394
|
-
spTable__tdContentCopyIcon:
|
|
4395
|
-
spTable__tdContent:
|
|
4396
|
-
spTable__tdColorContent:
|
|
4397
|
-
spTable__tdContentCopyIcon_copied:
|
|
4398
|
-
spTable__emptyPage:
|
|
4399
|
-
spStringsGroup:
|
|
4400
|
-
spStringsGroup__groupItem:
|
|
4401
|
-
spStringsGroup__groupItemHeader:
|
|
4402
|
-
spStringsGroup__groupItemContent:
|
|
4403
|
-
spStringsGroup__groupItemContentCopyIcon:
|
|
4397
|
+
return /* @__PURE__ */ m("div", { style: r, className: _(a, vs.skeleton) });
|
|
4398
|
+
}, ln = (e) => e == null || e === "" ? !0 : typeof e != "string" && typeof e.toString != "function" ? !1 : e.toString().replace(/\s/g, "").length < 1, xs = "_spTable_1vuaj_43", gs = "_spTable__tdContentCopyIcon_1vuaj_62", hs = "_spTable__tdContent_1vuaj_62", bs = "_spTable__tdColorContent_1vuaj_72", ys = "_spTable__tdContentCopyIcon_copied_1vuaj_85", ws = "_spTable__emptyPage_1vuaj_89", ks = "_spStringsGroup_1vuaj_105", Cs = "_spStringsGroup__groupItem_1vuaj_119", Ts = "_spStringsGroup__groupItemHeader_1vuaj_134", Es = "_spStringsGroup__groupItemContent_1vuaj_138", Ss = "_spStringsGroup__groupItemContentCopyIcon_1vuaj_144", Ns = "_spStringsGroup__groupItemContentCopyIcon_copied_1vuaj_151", be = {
|
|
4399
|
+
spTable: xs,
|
|
4400
|
+
spTable__tdContentCopyIcon: gs,
|
|
4401
|
+
spTable__tdContent: hs,
|
|
4402
|
+
spTable__tdColorContent: bs,
|
|
4403
|
+
spTable__tdContentCopyIcon_copied: ys,
|
|
4404
|
+
spTable__emptyPage: ws,
|
|
4405
|
+
spStringsGroup: ks,
|
|
4406
|
+
spStringsGroup__groupItem: Cs,
|
|
4407
|
+
spStringsGroup__groupItemHeader: Ts,
|
|
4408
|
+
spStringsGroup__groupItemContent: Es,
|
|
4409
|
+
spStringsGroup__groupItemContentCopyIcon: Ss,
|
|
4404
4410
|
spStringsGroup__groupItemContentCopyIcon_copied: Ns
|
|
4405
|
-
},
|
|
4411
|
+
}, Qs = (e) => {
|
|
4406
4412
|
const {
|
|
4407
4413
|
columns: t,
|
|
4408
4414
|
data: n,
|
|
@@ -4437,11 +4443,11 @@ const Lr = (e) => `not ${e}`, Or = (e, t) => {
|
|
|
4437
4443
|
const T = k[p.key];
|
|
4438
4444
|
if (!T) return null;
|
|
4439
4445
|
const [F, H] = T.split(/\s*\{\{|}}\s*/).filter(Boolean);
|
|
4440
|
-
return /* @__PURE__ */
|
|
4446
|
+
return /* @__PURE__ */ q("span", { children: [
|
|
4441
4447
|
F,
|
|
4442
4448
|
H && /* @__PURE__ */ m("span", { className: c, children: ` ${H}` })
|
|
4443
4449
|
] });
|
|
4444
|
-
},
|
|
4450
|
+
}, A = () => n && Array.isArray(n) && n.length > 0 ? /* @__PURE__ */ q("table", { className: s, children: [
|
|
4445
4451
|
/* @__PURE__ */ m("colgroup", { children: r.map((k, p, T) => /* @__PURE__ */ m(
|
|
4446
4452
|
"col",
|
|
4447
4453
|
{
|
|
@@ -4458,7 +4464,7 @@ const Lr = (e) => `not ${e}`, Or = (e, t) => {
|
|
|
4458
4464
|
"td",
|
|
4459
4465
|
{
|
|
4460
4466
|
onMouseLeave: H ? w : void 0,
|
|
4461
|
-
children: /* @__PURE__ */
|
|
4467
|
+
children: /* @__PURE__ */ q("div", { className: u, children: [
|
|
4462
4468
|
/* @__PURE__ */ m("span", { children: T.isColorContentsCurlyBrackets ? S({ row: k, col: T }) : k[T.key] }),
|
|
4463
4469
|
!ln(k[T.key]) && T.isBeCopiedValue && /* @__PURE__ */ m(
|
|
4464
4470
|
he,
|
|
@@ -4484,7 +4490,7 @@ const Lr = (e) => `not ${e}`, Or = (e, t) => {
|
|
|
4484
4490
|
`${p}:${F}`
|
|
4485
4491
|
);
|
|
4486
4492
|
}) }, p) : null) })
|
|
4487
|
-
] }) : g(),
|
|
4493
|
+
] }) : g(), V = () => n && Array.isArray(n) && n.length > 0 ? /* @__PURE__ */ m(
|
|
4488
4494
|
"div",
|
|
4489
4495
|
{
|
|
4490
4496
|
className: _({
|
|
@@ -4494,7 +4500,7 @@ const Lr = (e) => `not ${e}`, Or = (e, t) => {
|
|
|
4494
4500
|
if (ln(k[T.key]))
|
|
4495
4501
|
return null;
|
|
4496
4502
|
const H = (d == null ? void 0 : d.rowIndex) === p && (d == null ? void 0 : d.colIndex) === F;
|
|
4497
|
-
return /* @__PURE__ */
|
|
4503
|
+
return /* @__PURE__ */ q(
|
|
4498
4504
|
"div",
|
|
4499
4505
|
{
|
|
4500
4506
|
className: _({
|
|
@@ -4511,7 +4517,7 @@ const Lr = (e) => `not ${e}`, Or = (e, t) => {
|
|
|
4511
4517
|
children: T.title
|
|
4512
4518
|
}
|
|
4513
4519
|
),
|
|
4514
|
-
/* @__PURE__ */
|
|
4520
|
+
/* @__PURE__ */ q(
|
|
4515
4521
|
"div",
|
|
4516
4522
|
{
|
|
4517
4523
|
className: _({
|
|
@@ -4548,18 +4554,18 @@ const Lr = (e) => `not ${e}`, Or = (e, t) => {
|
|
|
4548
4554
|
}) }, p) : null)
|
|
4549
4555
|
}
|
|
4550
4556
|
) : g();
|
|
4551
|
-
return o ? a ?
|
|
4552
|
-
},
|
|
4553
|
-
spTabs:
|
|
4554
|
-
spTabs_separated:
|
|
4557
|
+
return o ? a ? A() : V() : A();
|
|
4558
|
+
}, Is = "_spTabs_1citb_43", js = "_spTabs_separated_1citb_48", Rs = "_spTabs__tabElement_1citb_48", As = "_spTabs__tabElement_active_1citb_83", Ds = "_spTabs__triggerTooltip_1citb_90", je = {
|
|
4559
|
+
spTabs: Is,
|
|
4560
|
+
spTabs_separated: js,
|
|
4555
4561
|
"spTabs--size-md": "_spTabs--size-md_1citb_48",
|
|
4556
4562
|
spTabs__tabElement: Rs,
|
|
4557
4563
|
"spTabs--size-lg": "_spTabs--size-lg_1citb_51",
|
|
4558
4564
|
"spTabs--variant-contained": "_spTabs--variant-contained_1citb_54",
|
|
4559
|
-
spTabs__tabElement_active:
|
|
4560
|
-
spTabs__triggerTooltip:
|
|
4565
|
+
spTabs__tabElement_active: As,
|
|
4566
|
+
spTabs__triggerTooltip: Ds,
|
|
4561
4567
|
"spTabs--variant-filled": "_spTabs--variant-filled_1citb_93"
|
|
4562
|
-
},
|
|
4568
|
+
}, Js = (e) => {
|
|
4563
4569
|
const {
|
|
4564
4570
|
panes: t,
|
|
4565
4571
|
isSeparated: n = !1,
|
|
@@ -4568,13 +4574,13 @@ const Lr = (e) => `not ${e}`, Or = (e, t) => {
|
|
|
4568
4574
|
variant: i = "contained",
|
|
4569
4575
|
size: r = "md"
|
|
4570
4576
|
} = e, s = _({
|
|
4571
|
-
[
|
|
4572
|
-
[
|
|
4573
|
-
[
|
|
4574
|
-
[
|
|
4577
|
+
[je.spTabs]: !0,
|
|
4578
|
+
[je.spTabs_separated]: n,
|
|
4579
|
+
[je[`spTabs--variant-${i}`]]: i,
|
|
4580
|
+
[je[`spTabs--size-${r}`]]: r,
|
|
4575
4581
|
...o && { [o]: !0 }
|
|
4576
4582
|
}), u = _({
|
|
4577
|
-
[
|
|
4583
|
+
[je.spTabs__triggerTooltip]: !0
|
|
4578
4584
|
}), c = () => {
|
|
4579
4585
|
switch (r) {
|
|
4580
4586
|
case "md":
|
|
@@ -4585,12 +4591,12 @@ const Lr = (e) => `not ${e}`, Or = (e, t) => {
|
|
|
4585
4591
|
};
|
|
4586
4592
|
return /* @__PURE__ */ m("div", { className: s, children: t.map((l, d) => {
|
|
4587
4593
|
const { name: x, active: y, onClick: w, infoTooltipText: g } = l;
|
|
4588
|
-
return /* @__PURE__ */
|
|
4594
|
+
return /* @__PURE__ */ q(
|
|
4589
4595
|
"div",
|
|
4590
4596
|
{
|
|
4591
4597
|
className: _({
|
|
4592
|
-
[
|
|
4593
|
-
[
|
|
4598
|
+
[je.spTabs__tabElement]: !0,
|
|
4599
|
+
[je.spTabs__tabElement_active]: y
|
|
4594
4600
|
}),
|
|
4595
4601
|
onClick: w,
|
|
4596
4602
|
children: [
|
|
@@ -4608,47 +4614,47 @@ const Lr = (e) => `not ${e}`, Or = (e, t) => {
|
|
|
4608
4614
|
l.key || d
|
|
4609
4615
|
);
|
|
4610
4616
|
}) });
|
|
4611
|
-
},
|
|
4612
|
-
spTextWithLabel:
|
|
4613
|
-
},
|
|
4617
|
+
}, Ls = "_spTextWithLabel_1dr7p_1", Os = {
|
|
4618
|
+
spTextWithLabel: Ls
|
|
4619
|
+
}, ep = (e) => {
|
|
4614
4620
|
const { children: t, label: n, style: o, ...a } = e;
|
|
4615
|
-
return /* @__PURE__ */
|
|
4616
|
-
/* @__PURE__ */ m(
|
|
4621
|
+
return /* @__PURE__ */ q("div", { className: Os.spTextWithLabel, style: { ...o }, children: [
|
|
4622
|
+
/* @__PURE__ */ m(Rt, { label: n }),
|
|
4617
4623
|
/* @__PURE__ */ m(Ee, { ...a, children: t })
|
|
4618
4624
|
] });
|
|
4619
4625
|
};
|
|
4620
4626
|
export {
|
|
4621
|
-
|
|
4627
|
+
zs as Accordion,
|
|
4622
4628
|
Mo as ApplyButtons,
|
|
4623
4629
|
fn as BaseTooltip,
|
|
4624
4630
|
wt as Button,
|
|
4625
|
-
|
|
4626
|
-
|
|
4631
|
+
Ws as Checkbox,
|
|
4632
|
+
$s as Confirm,
|
|
4627
4633
|
qs as ContextMenu,
|
|
4628
|
-
|
|
4629
|
-
|
|
4634
|
+
Ti as DefaultDropzone,
|
|
4635
|
+
Hs as Dropdown,
|
|
4630
4636
|
pe as EIconName,
|
|
4631
4637
|
se as ETooltipPosition,
|
|
4632
|
-
|
|
4633
|
-
|
|
4638
|
+
Pi as EllipsisTextWithTooltip,
|
|
4639
|
+
Vs as Form,
|
|
4634
4640
|
he as Icon,
|
|
4635
4641
|
Je as InfoTooltip,
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4642
|
+
er as Input,
|
|
4643
|
+
Ys as InputFiles,
|
|
4644
|
+
Rt as Label,
|
|
4639
4645
|
ia as Layer,
|
|
4640
|
-
|
|
4641
|
-
|
|
4642
|
-
|
|
4646
|
+
fr as MediaContext,
|
|
4647
|
+
Gs as MediaContextProvider,
|
|
4648
|
+
ga as Modal,
|
|
4643
4649
|
vn as Portal,
|
|
4644
|
-
|
|
4645
|
-
|
|
4646
|
-
|
|
4650
|
+
Ks as ProgressWrapper,
|
|
4651
|
+
Xs as Select,
|
|
4652
|
+
Zs as Skeleton,
|
|
4647
4653
|
Co as Spinner,
|
|
4648
|
-
|
|
4649
|
-
|
|
4654
|
+
Qs as Table,
|
|
4655
|
+
Js as Tabs,
|
|
4650
4656
|
Ee as Text,
|
|
4651
|
-
|
|
4657
|
+
ep as TextWithLabel,
|
|
4652
4658
|
It as Tooltip,
|
|
4653
|
-
|
|
4659
|
+
Ms as useModal
|
|
4654
4660
|
};
|