test-stpr-ui-kit 0.4.38 → 0.4.39
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,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as q, jsx as m, Fragment as dn } from "react/jsx-runtime";
|
|
2
2
|
import * as N from "react";
|
|
3
|
-
import $e, { useState as ie, useEffect as ne, useRef as ue, useCallback as de, forwardRef as
|
|
3
|
+
import $e, { useState as ie, useEffect as ne, useRef as ue, useCallback as de, forwardRef as zn, useImperativeHandle as Bn, Fragment as Wn, useMemo as Oe, useReducer as Mn, createContext as un, useContext as $n } from "react";
|
|
4
4
|
import qn from "react-dom";
|
|
5
5
|
import './test-stpr-ui-kit.css';function mn(e) {
|
|
6
6
|
var t, n, o = "";
|
|
@@ -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
|
+
}, Bs = (e) => {
|
|
66
66
|
const {
|
|
67
67
|
name: t,
|
|
68
68
|
children: n,
|
|
@@ -79,14 +79,14 @@ 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
|
+
}, L = _({
|
|
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
|
+
}), H = _({
|
|
90
90
|
[re.spAccordion__header]: !0,
|
|
91
91
|
...l && { [l]: !0 }
|
|
92
92
|
}), D = _({
|
|
@@ -103,16 +103,16 @@ const ro = "_spAccordion_11ek7_43", so = "_spAccordion_noBorder_11ek7_57", po =
|
|
|
103
103
|
[re.spAccordion__childrenWrapper]: !0,
|
|
104
104
|
[re.spAccordion__childrenWrapper_open]: w,
|
|
105
105
|
...y && { [y]: !0 }
|
|
106
|
-
}),
|
|
106
|
+
}), E = _({
|
|
107
107
|
[re.spAccordion__content]: !0,
|
|
108
108
|
[re.spAccordion__content_open]: w
|
|
109
109
|
});
|
|
110
|
-
return /* @__PURE__ */ q("div", { className:
|
|
111
|
-
/* @__PURE__ */ q("div", { className:
|
|
110
|
+
return /* @__PURE__ */ q("div", { className: L, children: [
|
|
111
|
+
/* @__PURE__ */ q("div", { className: H, children: [
|
|
112
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
|
-
/* @__PURE__ */ m("div", { className: p, children: /* @__PURE__ */ m("div", { className:
|
|
115
|
+
/* @__PURE__ */ m("div", { className: p, children: /* @__PURE__ */ m("div", { className: E, children: n }) })
|
|
116
116
|
] });
|
|
117
117
|
}, wo = "_spinner_f5rd2_43", ko = "_spinner__inner_f5rd2_53", ct = {
|
|
118
118
|
spinner: wo,
|
|
@@ -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", So = "_spButton_onlyIcon_zixup_62", No = "_spButton__iconContainer_zixup_70", Io = "_spButton_link_zixup_73",
|
|
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", Ro = "_spButton__text_zixup_77", jo = "_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
140
|
spButton_onlyIcon: So,
|
|
141
141
|
spButton__iconContainer: No,
|
|
142
142
|
spButton_link: Io,
|
|
143
|
-
spButton__text:
|
|
144
|
-
spButton_primary:
|
|
143
|
+
spButton__text: Ro,
|
|
144
|
+
spButton_primary: jo,
|
|
145
145
|
spButton_blue: Ao,
|
|
146
146
|
spButton_white: Do,
|
|
147
147
|
spButton_secondary: Lo,
|
|
@@ -166,9 +166,9 @@ 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, L = (k) => {
|
|
170
170
|
s || a == null || a(k);
|
|
171
|
-
},
|
|
171
|
+
}, H = () => {
|
|
172
172
|
const k = _({
|
|
173
173
|
[ye.spButton__text]: !0
|
|
174
174
|
}), p = _({
|
|
@@ -195,20 +195,20 @@ const ro = "_spAccordion_11ek7_43", so = "_spAccordion_noBorder_11ek7_57", po =
|
|
|
195
195
|
{
|
|
196
196
|
style: o,
|
|
197
197
|
className: D,
|
|
198
|
-
onClick:
|
|
198
|
+
onClick: L,
|
|
199
199
|
disabled: s,
|
|
200
200
|
type: u,
|
|
201
201
|
form: c,
|
|
202
|
-
children:
|
|
202
|
+
children: H()
|
|
203
203
|
}
|
|
204
204
|
);
|
|
205
|
-
},
|
|
206
|
-
spApplyButtons:
|
|
205
|
+
}, zo = "_spApplyButtons_e8c1h_43", Bo = "_spApplyButtons__cancel_e8c1h_65", Wo = "_spApplyButtons__submit_e8c1h_68", Be = {
|
|
206
|
+
spApplyButtons: zo,
|
|
207
207
|
"spApplyButtons_align-right": "_spApplyButtons_align-right_e8c1h_48",
|
|
208
208
|
"spApplyButtons_align-left": "_spApplyButtons_align-left_e8c1h_51",
|
|
209
209
|
"spApplyButtons_align-center": "_spApplyButtons_align-center_e8c1h_54",
|
|
210
210
|
"spApplyButtons_mobile-column": "_spApplyButtons_mobile-column_e8c1h_57",
|
|
211
|
-
spApplyButtons__cancel:
|
|
211
|
+
spApplyButtons__cancel: Bo,
|
|
212
212
|
spApplyButtons__submit: Wo
|
|
213
213
|
}, Mo = (e) => {
|
|
214
214
|
const {
|
|
@@ -224,13 +224,13 @@ const ro = "_spAccordion_11ek7_43", so = "_spAccordion_noBorder_11ek7_57", po =
|
|
|
224
224
|
submit: l,
|
|
225
225
|
loading: d
|
|
226
226
|
} = e, x = _({
|
|
227
|
-
[
|
|
228
|
-
[
|
|
229
|
-
[
|
|
227
|
+
[Be.spApplyButtons]: !0,
|
|
228
|
+
[Be[`spApplyButtons_mobile-${t}`]]: t,
|
|
229
|
+
[Be[`spApplyButtons_align-${n}`]]: n
|
|
230
230
|
}), y = _({
|
|
231
|
-
[
|
|
231
|
+
[Be.spApplyButtons__submit]: !0
|
|
232
232
|
}), w = _({
|
|
233
|
-
[
|
|
233
|
+
[Be.spApplyButtons__cancel]: !0
|
|
234
234
|
});
|
|
235
235
|
return /* @__PURE__ */ q("div", { className: x, children: [
|
|
236
236
|
o && /* @__PURE__ */ m(
|
|
@@ -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), L = ue(null), H = ue(null), [D, k] = ie(!1);
|
|
329
329
|
_n(
|
|
330
|
-
[
|
|
330
|
+
[L, H],
|
|
331
331
|
() => {
|
|
332
332
|
s && s(), S(!1);
|
|
333
333
|
},
|
|
@@ -335,62 +335,62 @@ const It = (e) => {
|
|
|
335
335
|
);
|
|
336
336
|
const p = (C) => {
|
|
337
337
|
o && C.stopPropagation(), !t && (g ? s && s() : r && r(), S((W) => n ? !W : !0));
|
|
338
|
-
}, [
|
|
338
|
+
}, [E, I] = ie({
|
|
339
339
|
visibility: "hidden",
|
|
340
340
|
opacity: 0,
|
|
341
341
|
left: "-9999px"
|
|
342
|
-
}), [
|
|
343
|
-
if (!
|
|
344
|
-
const C =
|
|
345
|
-
let K = 0,
|
|
342
|
+
}), [V, J] = ie(!1), oe = de(() => {
|
|
343
|
+
if (!L.current || !H.current) return;
|
|
344
|
+
const C = L.current.getBoundingClientRect(), W = H.current.getBoundingClientRect();
|
|
345
|
+
let K = 0, z = 0;
|
|
346
346
|
switch (c) {
|
|
347
347
|
case se.Right:
|
|
348
|
-
K = C.top + window.scrollY - (W.height - C.height) / 2,
|
|
348
|
+
K = C.top + window.scrollY - (W.height - C.height) / 2, z = C.right + window.scrollX;
|
|
349
349
|
break;
|
|
350
350
|
case se.RightTop:
|
|
351
|
-
K = C.top + window.scrollY,
|
|
351
|
+
K = C.top + window.scrollY, z = C.right + window.scrollX;
|
|
352
352
|
break;
|
|
353
353
|
case se.RightBottom:
|
|
354
|
-
K = C.bottom + window.scrollY - W.height,
|
|
354
|
+
K = C.bottom + window.scrollY - W.height, z = C.right + window.scrollX;
|
|
355
355
|
break;
|
|
356
356
|
case se.Left:
|
|
357
|
-
K = C.top + window.scrollY - (W.height - C.height) / 2,
|
|
357
|
+
K = C.top + window.scrollY - (W.height - C.height) / 2, z = C.left + window.scrollX - W.width;
|
|
358
358
|
break;
|
|
359
359
|
case se.LeftTop:
|
|
360
|
-
K = C.top + window.scrollY,
|
|
360
|
+
K = C.top + window.scrollY, z = C.left + window.scrollX - W.width;
|
|
361
361
|
break;
|
|
362
362
|
case se.LeftBottom:
|
|
363
|
-
K = C.bottom + window.scrollY - W.height,
|
|
363
|
+
K = C.bottom + window.scrollY - W.height, z = C.left + window.scrollX - W.width;
|
|
364
364
|
break;
|
|
365
365
|
case se.Bottom:
|
|
366
|
-
K = C.bottom + window.scrollY,
|
|
366
|
+
K = C.bottom + window.scrollY, z = C.left + window.scrollX - (W.width - C.width) / 2;
|
|
367
367
|
break;
|
|
368
368
|
case se.BottomLeft:
|
|
369
|
-
K = C.bottom + window.scrollY,
|
|
369
|
+
K = C.bottom + window.scrollY, z = C.left + window.scrollX;
|
|
370
370
|
break;
|
|
371
371
|
case se.BottomRight:
|
|
372
|
-
K = C.bottom + window.scrollY,
|
|
372
|
+
K = C.bottom + window.scrollY, z = C.right + window.scrollX - W.width;
|
|
373
373
|
break;
|
|
374
374
|
case se.Top:
|
|
375
|
-
K = C.top + window.scrollY - W.height,
|
|
375
|
+
K = C.top + window.scrollY - W.height, z = C.left + window.scrollX - (W.width - C.width) / 2;
|
|
376
376
|
break;
|
|
377
377
|
case se.TopLeft:
|
|
378
|
-
K = C.top + window.scrollY - W.height,
|
|
378
|
+
K = C.top + window.scrollY - W.height, z = C.left + window.scrollX;
|
|
379
379
|
break;
|
|
380
380
|
case se.TopRight:
|
|
381
|
-
K = C.top + window.scrollY - W.height,
|
|
381
|
+
K = C.top + window.scrollY - W.height, z = C.right + window.scrollX - W.width;
|
|
382
382
|
break;
|
|
383
383
|
default:
|
|
384
|
-
K = C.bottom + window.scrollY,
|
|
384
|
+
K = C.bottom + window.scrollY, z = C.left + window.scrollX;
|
|
385
385
|
}
|
|
386
|
-
K + W.height > window.innerHeight + window.scrollY && c.includes("bottom") ? K = C.top + window.scrollY - W.height : K < window.scrollY && c.includes("top") && (K = C.bottom + window.scrollY),
|
|
386
|
+
K + W.height > window.innerHeight + window.scrollY && c.includes("bottom") ? K = C.top + window.scrollY - W.height : K < window.scrollY && c.includes("top") && (K = C.bottom + window.scrollY), z + W.width > window.innerWidth + window.scrollX && c.includes("left") ? z = C.left + window.scrollX - W.width + C.width : z < window.scrollX && c.includes("right") && (z = C.right + window.scrollX - C.width), I((f) => ({
|
|
387
387
|
...f,
|
|
388
388
|
top: `${K}px`,
|
|
389
|
-
left: `${
|
|
390
|
-
visibility: g ||
|
|
391
|
-
opacity: g ||
|
|
389
|
+
left: `${z}px`,
|
|
390
|
+
visibility: g || V ? "visible" : "hidden",
|
|
391
|
+
opacity: g || V ? 1 : 0
|
|
392
392
|
}));
|
|
393
|
-
}, [c, g,
|
|
393
|
+
}, [c, g, V]);
|
|
394
394
|
ne(() => (k(!0), () => k(!1)), []), ne(() => {
|
|
395
395
|
D && oe();
|
|
396
396
|
}, [D, oe]), ne(() => {
|
|
@@ -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: L, className: X, children: i }),
|
|
423
423
|
a && /* @__PURE__ */ m(vn, { node: Z, children: /* @__PURE__ */ m(
|
|
424
424
|
fn,
|
|
425
425
|
{
|
|
426
|
-
style:
|
|
427
|
-
ref:
|
|
426
|
+
style: E,
|
|
427
|
+
ref: H,
|
|
428
428
|
noPadding: d,
|
|
429
429
|
text: l,
|
|
430
430
|
classNameRoot: fe,
|
|
@@ -472,9 +472,9 @@ 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
|
+
}), L = _({
|
|
476
476
|
[we.spCheckbox__control]: !0
|
|
477
|
-
}),
|
|
477
|
+
}), H = _({
|
|
478
478
|
[we.spCheckbox__label]: !0
|
|
479
479
|
}), D = _({
|
|
480
480
|
[we.spCheckbox__required]: !0
|
|
@@ -490,14 +490,14 @@ const It = (e) => {
|
|
|
490
490
|
"input",
|
|
491
491
|
{
|
|
492
492
|
type: "checkbox",
|
|
493
|
-
className:
|
|
493
|
+
className: L,
|
|
494
494
|
checked: n,
|
|
495
|
-
onChange: (
|
|
496
|
-
!o && a && a(
|
|
495
|
+
onChange: (I) => {
|
|
496
|
+
!o && a && a(I, { name: i, checked: !n, value: u });
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
499
|
),
|
|
500
|
-
r && /* @__PURE__ */ m("span", { className:
|
|
500
|
+
r && /* @__PURE__ */ m("span", { className: H, children: r }),
|
|
501
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
|
] }),
|
|
@@ -572,11 +572,13 @@ const It = (e) => {
|
|
|
572
572
|
);
|
|
573
573
|
});
|
|
574
574
|
Ee.displayName = "Text";
|
|
575
|
-
const ca = "
|
|
575
|
+
const ca = "_modalWrapper_14inb_43", la = "_modalWrapper__modal_14inb_54", da = "_modalWrapper__content_14inb_83", ua = "_modalWrapper__header_14inb_86", ma = "_modalWrapper__subHeader_14inb_94", fa = "_modalWrapper__subHeader_onlySubHeader_14inb_102", _a = "_modalWrapper__footer_14inb_105", va = "_modalWrapper__closeButton_14inb_108", xa = "_modalWrapper__closeButtonIconContainer_14inb_122", ke = {
|
|
576
576
|
modalWrapper: ca,
|
|
577
|
-
"modalWrapper_align-top": "_modalWrapper_align-
|
|
578
|
-
"modalWrapper_align-center": "_modalWrapper_align-
|
|
577
|
+
"modalWrapper_align-top": "_modalWrapper_align-top_14inb_48",
|
|
578
|
+
"modalWrapper_align-center": "_modalWrapper_align-center_14inb_51",
|
|
579
579
|
modalWrapper__modal: la,
|
|
580
|
+
"modalWrapper__modal--size-lg": "_modalWrapper__modal--size-lg_14inb_72",
|
|
581
|
+
"modalWrapper__modal--size-md": "_modalWrapper__modal--size-md_14inb_78",
|
|
580
582
|
modalWrapper__content: da,
|
|
581
583
|
modalWrapper__header: ua,
|
|
582
584
|
modalWrapper__subHeader: ma,
|
|
@@ -597,44 +599,46 @@ const ca = "_modalWrapper_1jx5o_43", la = "_modalWrapper__modal_1jx5o_54", da =
|
|
|
597
599
|
onClose: c,
|
|
598
600
|
header: l,
|
|
599
601
|
subHeader: d,
|
|
600
|
-
footer: x
|
|
601
|
-
|
|
602
|
+
footer: x,
|
|
603
|
+
size: y = "lg"
|
|
604
|
+
} = e, w = _({
|
|
602
605
|
[ke.modalWrapper]: !0,
|
|
603
606
|
[ke[`modalWrapper_align-${u}`]]: u
|
|
604
|
-
}),
|
|
607
|
+
}), g = _({
|
|
605
608
|
[ke.modalWrapper__modal]: !0,
|
|
609
|
+
[ke[`modalWrapper__modal--size-${y}`]]: y,
|
|
606
610
|
...r && { [r]: !0 }
|
|
607
|
-
}), g = _({
|
|
608
|
-
[ke.modalWrapper__closeButton]: !0
|
|
609
611
|
}), S = _({
|
|
612
|
+
[ke.modalWrapper__closeButton]: !0
|
|
613
|
+
}), L = _({
|
|
610
614
|
[ke.modalWrapper__closeButtonIconContainer]: !0
|
|
611
|
-
}),
|
|
615
|
+
}), H = _({
|
|
612
616
|
[ke.modalWrapper__content]: !0
|
|
613
|
-
}), V = _({
|
|
614
|
-
[ke.modalWrapper__header]: !0
|
|
615
617
|
}), D = _({
|
|
618
|
+
[ke.modalWrapper__header]: !0
|
|
619
|
+
}), k = _({
|
|
616
620
|
[ke.modalWrapper__subHeader]: !0,
|
|
617
621
|
[ke.modalWrapper__subHeader_onlySubHeader]: !l
|
|
618
|
-
}),
|
|
622
|
+
}), p = _({
|
|
619
623
|
[ke.modalWrapper__footer]: !0
|
|
620
624
|
});
|
|
621
625
|
return ne(() => {
|
|
622
|
-
const
|
|
623
|
-
return
|
|
624
|
-
|
|
626
|
+
const E = window.scrollY, I = document.body;
|
|
627
|
+
return I.style.position = "fixed", I.style.top = `-${E}px`, I.style.left = "0", I.style.right = "0", I.style.overflow = "hidden", () => {
|
|
628
|
+
I.style.position = "", I.style.top = "", I.style.left = "", I.style.right = "", I.style.overflow = "", window.scrollTo(0, E);
|
|
625
629
|
};
|
|
626
|
-
}, []), /* @__PURE__ */ m(ia, { zIndex: t, isHiddenModal: n, classNameRoot: i, children: /* @__PURE__ */ m("div", { className:
|
|
627
|
-
(l || d) && /* @__PURE__ */ q("div", { className:
|
|
630
|
+
}, []), /* @__PURE__ */ m(ia, { zIndex: t, isHiddenModal: n, classNameRoot: i, children: /* @__PURE__ */ m("div", { className: w, children: /* @__PURE__ */ q("div", { className: g, style: s, children: [
|
|
631
|
+
(l || d) && /* @__PURE__ */ q("div", { className: D, children: [
|
|
628
632
|
typeof l == "string" ? /* @__PURE__ */ m(Ee, { type: "h3", children: l }) : l,
|
|
629
|
-
d && /* @__PURE__ */ m("div", { className:
|
|
633
|
+
d && /* @__PURE__ */ m("div", { className: k, children: typeof d == "string" ? /* @__PURE__ */ m(Ee, { children: d }) : d })
|
|
630
634
|
] }),
|
|
631
|
-
a && /* @__PURE__ */ m("div", { className:
|
|
632
|
-
x && /* @__PURE__ */ m("div", { className:
|
|
635
|
+
a && /* @__PURE__ */ m("div", { className: H, children: a }),
|
|
636
|
+
x && /* @__PURE__ */ m("div", { className: p, children: x }),
|
|
633
637
|
o && c && /* @__PURE__ */ m(
|
|
634
638
|
wt,
|
|
635
639
|
{
|
|
636
|
-
classNameRoot:
|
|
637
|
-
classNameIconContainerRoot:
|
|
640
|
+
classNameRoot: S,
|
|
641
|
+
classNameIconContainerRoot: L,
|
|
638
642
|
onClick: c,
|
|
639
643
|
iconName: pe.Close,
|
|
640
644
|
variant: "link",
|
|
@@ -661,7 +665,8 @@ const ca = "_modalWrapper_1jx5o_43", la = "_modalWrapper__modal_1jx5o_54", da =
|
|
|
661
665
|
modalAlign: w = "top",
|
|
662
666
|
loading: g,
|
|
663
667
|
isVisibleCloseButton: S,
|
|
664
|
-
isHiddenModal:
|
|
668
|
+
isHiddenModal: L,
|
|
669
|
+
size: H
|
|
665
670
|
} = e;
|
|
666
671
|
return /* @__PURE__ */ m(
|
|
667
672
|
ga,
|
|
@@ -672,7 +677,8 @@ const ca = "_modalWrapper_1jx5o_43", la = "_modalWrapper__modal_1jx5o_54", da =
|
|
|
672
677
|
align: w,
|
|
673
678
|
subHeader: o,
|
|
674
679
|
isVisibleCloseButton: S,
|
|
675
|
-
isHiddenModal:
|
|
680
|
+
isHiddenModal: L,
|
|
681
|
+
size: H,
|
|
676
682
|
footer: a || s ? /* @__PURE__ */ m(
|
|
677
683
|
Mo,
|
|
678
684
|
{
|
|
@@ -737,11 +743,11 @@ var Pt;
|
|
|
737
743
|
function wa() {
|
|
738
744
|
if (Pt) return U;
|
|
739
745
|
Pt = 1;
|
|
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,
|
|
746
|
+
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, L = e ? Symbol.for("react.responder") : 60118, H = e ? Symbol.for("react.scope") : 60119;
|
|
741
747
|
function D(p) {
|
|
742
748
|
if (typeof p == "object" && p !== null) {
|
|
743
|
-
var
|
|
744
|
-
switch (
|
|
749
|
+
var E = p.$$typeof;
|
|
750
|
+
switch (E) {
|
|
745
751
|
case t:
|
|
746
752
|
switch (p = p.type, p) {
|
|
747
753
|
case u:
|
|
@@ -760,11 +766,11 @@ function wa() {
|
|
|
760
766
|
case r:
|
|
761
767
|
return p;
|
|
762
768
|
default:
|
|
763
|
-
return
|
|
769
|
+
return E;
|
|
764
770
|
}
|
|
765
771
|
}
|
|
766
772
|
case n:
|
|
767
|
-
return
|
|
773
|
+
return E;
|
|
768
774
|
}
|
|
769
775
|
}
|
|
770
776
|
}
|
|
@@ -796,7 +802,7 @@ function wa() {
|
|
|
796
802
|
}, U.isSuspense = function(p) {
|
|
797
803
|
return D(p) === d;
|
|
798
804
|
}, U.isValidElementType = function(p) {
|
|
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 ===
|
|
805
|
+
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 === L || p.$$typeof === H || p.$$typeof === g);
|
|
800
806
|
}, U.typeOf = D, U;
|
|
801
807
|
}
|
|
802
808
|
var G = {};
|
|
@@ -811,10 +817,10 @@ var G = {};
|
|
|
811
817
|
var Ft;
|
|
812
818
|
function ka() {
|
|
813
819
|
return Ft || (Ft = 1, process.env.NODE_ENV !== "production" && 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,
|
|
820
|
+
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, L = e ? Symbol.for("react.responder") : 60118, H = e ? Symbol.for("react.scope") : 60119;
|
|
815
821
|
function D(v) {
|
|
816
822
|
return typeof v == "string" || typeof v == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
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 ===
|
|
823
|
+
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 === L || v.$$typeof === H || v.$$typeof === g);
|
|
818
824
|
}
|
|
819
825
|
function k(v) {
|
|
820
826
|
if (typeof v == "object" && v !== null) {
|
|
@@ -848,8 +854,8 @@ function ka() {
|
|
|
848
854
|
}
|
|
849
855
|
}
|
|
850
856
|
}
|
|
851
|
-
var p = u,
|
|
852
|
-
function
|
|
857
|
+
var p = u, E = c, I = s, V = r, J = t, oe = l, me = o, fe = w, le = y, X = n, Z = i, C = a, W = d, K = !1;
|
|
858
|
+
function z(v) {
|
|
853
859
|
return K || (K = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), f(v) || k(v) === u;
|
|
854
860
|
}
|
|
855
861
|
function f(v) {
|
|
@@ -858,10 +864,10 @@ function ka() {
|
|
|
858
864
|
function b(v) {
|
|
859
865
|
return k(v) === s;
|
|
860
866
|
}
|
|
861
|
-
function
|
|
867
|
+
function O(v) {
|
|
862
868
|
return k(v) === r;
|
|
863
869
|
}
|
|
864
|
-
function
|
|
870
|
+
function P(v) {
|
|
865
871
|
return typeof v == "object" && v !== null && v.$$typeof === t;
|
|
866
872
|
}
|
|
867
873
|
function j(v) {
|
|
@@ -870,10 +876,10 @@ function ka() {
|
|
|
870
876
|
function M(v) {
|
|
871
877
|
return k(v) === o;
|
|
872
878
|
}
|
|
873
|
-
function
|
|
879
|
+
function A(v) {
|
|
874
880
|
return k(v) === w;
|
|
875
881
|
}
|
|
876
|
-
function
|
|
882
|
+
function F(v) {
|
|
877
883
|
return k(v) === y;
|
|
878
884
|
}
|
|
879
885
|
function $(v) {
|
|
@@ -882,28 +888,28 @@ function ka() {
|
|
|
882
888
|
function Y(v) {
|
|
883
889
|
return k(v) === i;
|
|
884
890
|
}
|
|
885
|
-
function
|
|
891
|
+
function B(v) {
|
|
886
892
|
return k(v) === a;
|
|
887
893
|
}
|
|
888
894
|
function te(v) {
|
|
889
895
|
return k(v) === d;
|
|
890
896
|
}
|
|
891
|
-
G.AsyncMode = p, G.ConcurrentMode =
|
|
897
|
+
G.AsyncMode = p, G.ConcurrentMode = E, G.ContextConsumer = I, G.ContextProvider = V, 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 = z, G.isConcurrentMode = f, G.isContextConsumer = b, G.isContextProvider = O, G.isElement = P, G.isForwardRef = j, G.isFragment = M, G.isLazy = A, G.isMemo = F, G.isPortal = $, G.isProfiler = Y, G.isStrictMode = B, G.isSuspense = te, G.isValidElementType = D, G.typeOf = k;
|
|
892
898
|
}()), G;
|
|
893
899
|
}
|
|
894
|
-
var
|
|
900
|
+
var zt;
|
|
895
901
|
function gn() {
|
|
896
|
-
return
|
|
902
|
+
return zt || (zt = 1, process.env.NODE_ENV === "production" ? Ue.exports = wa() : Ue.exports = ka()), Ue.exports;
|
|
897
903
|
}
|
|
898
904
|
/*
|
|
899
905
|
object-assign
|
|
900
906
|
(c) Sindre Sorhus
|
|
901
907
|
@license MIT
|
|
902
908
|
*/
|
|
903
|
-
var ut,
|
|
909
|
+
var ut, Bt;
|
|
904
910
|
function Ca() {
|
|
905
|
-
if (
|
|
906
|
-
|
|
911
|
+
if (Bt) return ut;
|
|
912
|
+
Bt = 1;
|
|
907
913
|
var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable;
|
|
908
914
|
function o(i) {
|
|
909
915
|
if (i == null)
|
|
@@ -947,7 +953,7 @@ function Ca() {
|
|
|
947
953
|
}, ut;
|
|
948
954
|
}
|
|
949
955
|
var mt, Wt;
|
|
950
|
-
function
|
|
956
|
+
function Rt() {
|
|
951
957
|
if (Wt) return mt;
|
|
952
958
|
Wt = 1;
|
|
953
959
|
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
@@ -964,7 +970,7 @@ function Ta() {
|
|
|
964
970
|
var e = function() {
|
|
965
971
|
};
|
|
966
972
|
if (process.env.NODE_ENV !== "production") {
|
|
967
|
-
var t =
|
|
973
|
+
var t = Rt(), n = {}, o = hn();
|
|
968
974
|
e = function(i) {
|
|
969
975
|
var r = "Warning: " + i;
|
|
970
976
|
typeof console < "u" && console.error(r);
|
|
@@ -1010,7 +1016,7 @@ var vt, qt;
|
|
|
1010
1016
|
function Ea() {
|
|
1011
1017
|
if (qt) return vt;
|
|
1012
1018
|
qt = 1;
|
|
1013
|
-
var e = gn(), t = Ca(), n =
|
|
1019
|
+
var e = gn(), t = Ca(), n = Rt(), o = hn(), a = Ta(), i = function() {
|
|
1014
1020
|
};
|
|
1015
1021
|
process.env.NODE_ENV !== "production" && (i = function(s) {
|
|
1016
1022
|
var u = "Warning: " + s;
|
|
@@ -1031,22 +1037,22 @@ function Ea() {
|
|
|
1031
1037
|
return b;
|
|
1032
1038
|
}
|
|
1033
1039
|
var x = "<<anonymous>>", y = {
|
|
1034
|
-
array:
|
|
1035
|
-
bigint:
|
|
1036
|
-
bool:
|
|
1037
|
-
func:
|
|
1038
|
-
number:
|
|
1039
|
-
object:
|
|
1040
|
-
string:
|
|
1041
|
-
symbol:
|
|
1042
|
-
any:
|
|
1040
|
+
array: L("array"),
|
|
1041
|
+
bigint: L("bigint"),
|
|
1042
|
+
bool: L("boolean"),
|
|
1043
|
+
func: L("function"),
|
|
1044
|
+
number: L("number"),
|
|
1045
|
+
object: L("object"),
|
|
1046
|
+
string: L("string"),
|
|
1047
|
+
symbol: L("symbol"),
|
|
1048
|
+
any: H(),
|
|
1043
1049
|
arrayOf: D,
|
|
1044
1050
|
element: k(),
|
|
1045
1051
|
elementType: p(),
|
|
1046
|
-
instanceOf:
|
|
1052
|
+
instanceOf: E,
|
|
1047
1053
|
node: oe(),
|
|
1048
|
-
objectOf:
|
|
1049
|
-
oneOf:
|
|
1054
|
+
objectOf: V,
|
|
1055
|
+
oneOf: I,
|
|
1050
1056
|
oneOfType: J,
|
|
1051
1057
|
shape: fe,
|
|
1052
1058
|
exact: le
|
|
@@ -1060,34 +1066,34 @@ function Ea() {
|
|
|
1060
1066
|
g.prototype = Error.prototype;
|
|
1061
1067
|
function S(f) {
|
|
1062
1068
|
if (process.env.NODE_ENV !== "production")
|
|
1063
|
-
var b = {},
|
|
1064
|
-
function
|
|
1065
|
-
if ($ = $ || x,
|
|
1069
|
+
var b = {}, O = 0;
|
|
1070
|
+
function P(M, A, F, $, Y, B, te) {
|
|
1071
|
+
if ($ = $ || x, B = B || F, te !== n) {
|
|
1066
1072
|
if (u) {
|
|
1067
1073
|
var v = new Error(
|
|
1068
1074
|
"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"
|
|
1069
1075
|
);
|
|
1070
1076
|
throw v.name = "Invariant Violation", v;
|
|
1071
1077
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1072
|
-
var _e = $ + ":" +
|
|
1078
|
+
var _e = $ + ":" + F;
|
|
1073
1079
|
!b[_e] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
1074
|
-
|
|
1075
|
-
"You are manually calling a React.PropTypes validation function for the `" +
|
|
1076
|
-
), b[_e] = !0,
|
|
1080
|
+
O < 3 && (i(
|
|
1081
|
+
"You are manually calling a React.PropTypes validation function for the `" + B + "` 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."
|
|
1082
|
+
), b[_e] = !0, O++);
|
|
1077
1083
|
}
|
|
1078
1084
|
}
|
|
1079
|
-
return
|
|
1085
|
+
return A[F] == null ? M ? A[F] === null ? new g("The " + Y + " `" + B + "` is marked as required " + ("in `" + $ + "`, but its value is `null`.")) : new g("The " + Y + " `" + B + "` is marked as required in " + ("`" + $ + "`, but its value is `undefined`.")) : null : f(A, F, $, Y, B);
|
|
1080
1086
|
}
|
|
1081
|
-
var j =
|
|
1082
|
-
return j.isRequired =
|
|
1087
|
+
var j = P.bind(null, !1);
|
|
1088
|
+
return j.isRequired = P.bind(null, !0), j;
|
|
1083
1089
|
}
|
|
1084
|
-
function
|
|
1085
|
-
function b(
|
|
1086
|
-
var $ =
|
|
1090
|
+
function L(f) {
|
|
1091
|
+
function b(O, P, j, M, A, F) {
|
|
1092
|
+
var $ = O[P], Y = C($);
|
|
1087
1093
|
if (Y !== f) {
|
|
1088
|
-
var
|
|
1094
|
+
var B = W($);
|
|
1089
1095
|
return new g(
|
|
1090
|
-
"Invalid " + M + " `" +
|
|
1096
|
+
"Invalid " + M + " `" + A + "` of type " + ("`" + B + "` supplied to `" + j + "`, expected ") + ("`" + f + "`."),
|
|
1091
1097
|
{ expectedType: f }
|
|
1092
1098
|
);
|
|
1093
1099
|
}
|
|
@@ -1095,88 +1101,88 @@ function Ea() {
|
|
|
1095
1101
|
}
|
|
1096
1102
|
return S(b);
|
|
1097
1103
|
}
|
|
1098
|
-
function
|
|
1104
|
+
function H() {
|
|
1099
1105
|
return S(r);
|
|
1100
1106
|
}
|
|
1101
1107
|
function D(f) {
|
|
1102
|
-
function b(
|
|
1108
|
+
function b(O, P, j, M, A) {
|
|
1103
1109
|
if (typeof f != "function")
|
|
1104
|
-
return new g("Property `" +
|
|
1105
|
-
var
|
|
1106
|
-
if (!Array.isArray(
|
|
1107
|
-
var $ = C(
|
|
1108
|
-
return new g("Invalid " + M + " `" +
|
|
1110
|
+
return new g("Property `" + A + "` of component `" + j + "` has invalid PropType notation inside arrayOf.");
|
|
1111
|
+
var F = O[P];
|
|
1112
|
+
if (!Array.isArray(F)) {
|
|
1113
|
+
var $ = C(F);
|
|
1114
|
+
return new g("Invalid " + M + " `" + A + "` of type " + ("`" + $ + "` supplied to `" + j + "`, expected an array."));
|
|
1109
1115
|
}
|
|
1110
|
-
for (var Y = 0; Y <
|
|
1111
|
-
var
|
|
1112
|
-
if (
|
|
1113
|
-
return
|
|
1116
|
+
for (var Y = 0; Y < F.length; Y++) {
|
|
1117
|
+
var B = f(F, Y, j, M, A + "[" + Y + "]", n);
|
|
1118
|
+
if (B instanceof Error)
|
|
1119
|
+
return B;
|
|
1114
1120
|
}
|
|
1115
1121
|
return null;
|
|
1116
1122
|
}
|
|
1117
1123
|
return S(b);
|
|
1118
1124
|
}
|
|
1119
1125
|
function k() {
|
|
1120
|
-
function f(b,
|
|
1121
|
-
var
|
|
1122
|
-
if (!s(
|
|
1123
|
-
var
|
|
1124
|
-
return new g("Invalid " + j + " `" + M + "` of type " + ("`" +
|
|
1126
|
+
function f(b, O, P, j, M) {
|
|
1127
|
+
var A = b[O];
|
|
1128
|
+
if (!s(A)) {
|
|
1129
|
+
var F = C(A);
|
|
1130
|
+
return new g("Invalid " + j + " `" + M + "` of type " + ("`" + F + "` supplied to `" + P + "`, expected a single ReactElement."));
|
|
1125
1131
|
}
|
|
1126
1132
|
return null;
|
|
1127
1133
|
}
|
|
1128
1134
|
return S(f);
|
|
1129
1135
|
}
|
|
1130
1136
|
function p() {
|
|
1131
|
-
function f(b,
|
|
1132
|
-
var
|
|
1133
|
-
if (!e.isValidElementType(
|
|
1134
|
-
var
|
|
1135
|
-
return new g("Invalid " + j + " `" + M + "` of type " + ("`" +
|
|
1137
|
+
function f(b, O, P, j, M) {
|
|
1138
|
+
var A = b[O];
|
|
1139
|
+
if (!e.isValidElementType(A)) {
|
|
1140
|
+
var F = C(A);
|
|
1141
|
+
return new g("Invalid " + j + " `" + M + "` of type " + ("`" + F + "` supplied to `" + P + "`, expected a single ReactElement type."));
|
|
1136
1142
|
}
|
|
1137
1143
|
return null;
|
|
1138
1144
|
}
|
|
1139
1145
|
return S(f);
|
|
1140
1146
|
}
|
|
1141
|
-
function
|
|
1142
|
-
function b(
|
|
1143
|
-
if (!(
|
|
1144
|
-
var
|
|
1145
|
-
return new g("Invalid " + M + " `" +
|
|
1147
|
+
function E(f) {
|
|
1148
|
+
function b(O, P, j, M, A) {
|
|
1149
|
+
if (!(O[P] instanceof f)) {
|
|
1150
|
+
var F = f.name || x, $ = z(O[P]);
|
|
1151
|
+
return new g("Invalid " + M + " `" + A + "` of type " + ("`" + $ + "` supplied to `" + j + "`, expected ") + ("instance of `" + F + "`."));
|
|
1146
1152
|
}
|
|
1147
1153
|
return null;
|
|
1148
1154
|
}
|
|
1149
1155
|
return S(b);
|
|
1150
1156
|
}
|
|
1151
|
-
function
|
|
1157
|
+
function I(f) {
|
|
1152
1158
|
if (!Array.isArray(f))
|
|
1153
1159
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
1154
1160
|
"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])."
|
|
1155
1161
|
) : i("Invalid argument supplied to oneOf, expected an array.")), r;
|
|
1156
|
-
function b(
|
|
1157
|
-
for (var
|
|
1158
|
-
if (w(
|
|
1162
|
+
function b(O, P, j, M, A) {
|
|
1163
|
+
for (var F = O[P], $ = 0; $ < f.length; $++)
|
|
1164
|
+
if (w(F, f[$]))
|
|
1159
1165
|
return null;
|
|
1160
1166
|
var Y = JSON.stringify(f, function(te, v) {
|
|
1161
1167
|
var _e = W(v);
|
|
1162
1168
|
return _e === "symbol" ? String(v) : v;
|
|
1163
1169
|
});
|
|
1164
|
-
return new g("Invalid " + M + " `" +
|
|
1170
|
+
return new g("Invalid " + M + " `" + A + "` of value `" + String(F) + "` " + ("supplied to `" + j + "`, expected one of " + Y + "."));
|
|
1165
1171
|
}
|
|
1166
1172
|
return S(b);
|
|
1167
1173
|
}
|
|
1168
|
-
function
|
|
1169
|
-
function b(
|
|
1174
|
+
function V(f) {
|
|
1175
|
+
function b(O, P, j, M, A) {
|
|
1170
1176
|
if (typeof f != "function")
|
|
1171
|
-
return new g("Property `" +
|
|
1172
|
-
var
|
|
1177
|
+
return new g("Property `" + A + "` of component `" + j + "` has invalid PropType notation inside objectOf.");
|
|
1178
|
+
var F = O[P], $ = C(F);
|
|
1173
1179
|
if ($ !== "object")
|
|
1174
|
-
return new g("Invalid " + M + " `" +
|
|
1175
|
-
for (var Y in
|
|
1176
|
-
if (o(
|
|
1177
|
-
var
|
|
1178
|
-
if (
|
|
1179
|
-
return
|
|
1180
|
+
return new g("Invalid " + M + " `" + A + "` of type " + ("`" + $ + "` supplied to `" + j + "`, expected an object."));
|
|
1181
|
+
for (var Y in F)
|
|
1182
|
+
if (o(F, Y)) {
|
|
1183
|
+
var B = f(F, Y, j, M, A + "." + Y, n);
|
|
1184
|
+
if (B instanceof Error)
|
|
1185
|
+
return B;
|
|
1180
1186
|
}
|
|
1181
1187
|
return null;
|
|
1182
1188
|
}
|
|
@@ -1186,45 +1192,45 @@ function Ea() {
|
|
|
1186
1192
|
if (!Array.isArray(f))
|
|
1187
1193
|
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), r;
|
|
1188
1194
|
for (var b = 0; b < f.length; b++) {
|
|
1189
|
-
var
|
|
1190
|
-
if (typeof
|
|
1195
|
+
var O = f[b];
|
|
1196
|
+
if (typeof O != "function")
|
|
1191
1197
|
return i(
|
|
1192
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + K(
|
|
1198
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + K(O) + " at index " + b + "."
|
|
1193
1199
|
), r;
|
|
1194
1200
|
}
|
|
1195
|
-
function
|
|
1196
|
-
for (var Y = [],
|
|
1197
|
-
var te = f[
|
|
1201
|
+
function P(j, M, A, F, $) {
|
|
1202
|
+
for (var Y = [], B = 0; B < f.length; B++) {
|
|
1203
|
+
var te = f[B], v = te(j, M, A, F, $, n);
|
|
1198
1204
|
if (v == null)
|
|
1199
1205
|
return null;
|
|
1200
1206
|
v.data && o(v.data, "expectedType") && Y.push(v.data.expectedType);
|
|
1201
1207
|
}
|
|
1202
1208
|
var _e = Y.length > 0 ? ", expected one of type [" + Y.join(", ") + "]" : "";
|
|
1203
|
-
return new g("Invalid " +
|
|
1209
|
+
return new g("Invalid " + F + " `" + $ + "` supplied to " + ("`" + A + "`" + _e + "."));
|
|
1204
1210
|
}
|
|
1205
|
-
return S(
|
|
1211
|
+
return S(P);
|
|
1206
1212
|
}
|
|
1207
1213
|
function oe() {
|
|
1208
|
-
function f(b,
|
|
1209
|
-
return X(b[
|
|
1214
|
+
function f(b, O, P, j, M) {
|
|
1215
|
+
return X(b[O]) ? null : new g("Invalid " + j + " `" + M + "` supplied to " + ("`" + P + "`, expected a ReactNode."));
|
|
1210
1216
|
}
|
|
1211
1217
|
return S(f);
|
|
1212
1218
|
}
|
|
1213
|
-
function me(f, b,
|
|
1219
|
+
function me(f, b, O, P, j) {
|
|
1214
1220
|
return new g(
|
|
1215
|
-
(f || "React class") + ": " + b + " type `" +
|
|
1221
|
+
(f || "React class") + ": " + b + " type `" + O + "." + P + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + j + "`."
|
|
1216
1222
|
);
|
|
1217
1223
|
}
|
|
1218
1224
|
function fe(f) {
|
|
1219
|
-
function b(
|
|
1220
|
-
var
|
|
1225
|
+
function b(O, P, j, M, A) {
|
|
1226
|
+
var F = O[P], $ = C(F);
|
|
1221
1227
|
if ($ !== "object")
|
|
1222
|
-
return new g("Invalid " + M + " `" +
|
|
1228
|
+
return new g("Invalid " + M + " `" + A + "` of type `" + $ + "` " + ("supplied to `" + j + "`, expected `object`."));
|
|
1223
1229
|
for (var Y in f) {
|
|
1224
|
-
var
|
|
1225
|
-
if (typeof
|
|
1226
|
-
return me(j, M,
|
|
1227
|
-
var te =
|
|
1230
|
+
var B = f[Y];
|
|
1231
|
+
if (typeof B != "function")
|
|
1232
|
+
return me(j, M, A, Y, W(B));
|
|
1233
|
+
var te = B(F, Y, j, M, A + "." + Y, n);
|
|
1228
1234
|
if (te)
|
|
1229
1235
|
return te;
|
|
1230
1236
|
}
|
|
@@ -1233,21 +1239,21 @@ function Ea() {
|
|
|
1233
1239
|
return S(b);
|
|
1234
1240
|
}
|
|
1235
1241
|
function le(f) {
|
|
1236
|
-
function b(
|
|
1237
|
-
var
|
|
1242
|
+
function b(O, P, j, M, A) {
|
|
1243
|
+
var F = O[P], $ = C(F);
|
|
1238
1244
|
if ($ !== "object")
|
|
1239
|
-
return new g("Invalid " + M + " `" +
|
|
1240
|
-
var Y = t({},
|
|
1241
|
-
for (var
|
|
1242
|
-
var te = f[
|
|
1243
|
-
if (o(f,
|
|
1244
|
-
return me(j, M,
|
|
1245
|
+
return new g("Invalid " + M + " `" + A + "` of type `" + $ + "` " + ("supplied to `" + j + "`, expected `object`."));
|
|
1246
|
+
var Y = t({}, O[P], f);
|
|
1247
|
+
for (var B in Y) {
|
|
1248
|
+
var te = f[B];
|
|
1249
|
+
if (o(f, B) && typeof te != "function")
|
|
1250
|
+
return me(j, M, A, B, W(te));
|
|
1245
1251
|
if (!te)
|
|
1246
1252
|
return new g(
|
|
1247
|
-
"Invalid " + M + " `" +
|
|
1253
|
+
"Invalid " + M + " `" + A + "` key `" + B + "` supplied to `" + j + "`.\nBad object: " + JSON.stringify(O[P], null, " ") + `
|
|
1248
1254
|
Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
|
|
1249
1255
|
);
|
|
1250
|
-
var v = te(
|
|
1256
|
+
var v = te(F, B, j, M, A + "." + B, n);
|
|
1251
1257
|
if (v)
|
|
1252
1258
|
return v;
|
|
1253
1259
|
}
|
|
@@ -1270,14 +1276,14 @@ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
|
|
|
1270
1276
|
return !0;
|
|
1271
1277
|
var b = d(f);
|
|
1272
1278
|
if (b) {
|
|
1273
|
-
var
|
|
1279
|
+
var O = b.call(f), P;
|
|
1274
1280
|
if (b !== f.entries) {
|
|
1275
|
-
for (; !(
|
|
1276
|
-
if (!X(
|
|
1281
|
+
for (; !(P = O.next()).done; )
|
|
1282
|
+
if (!X(P.value))
|
|
1277
1283
|
return !1;
|
|
1278
1284
|
} else
|
|
1279
|
-
for (; !(
|
|
1280
|
-
var j =
|
|
1285
|
+
for (; !(P = O.next()).done; ) {
|
|
1286
|
+
var j = P.value;
|
|
1281
1287
|
if (j && !X(j[1]))
|
|
1282
1288
|
return !1;
|
|
1283
1289
|
}
|
|
@@ -1321,7 +1327,7 @@ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
|
|
|
1321
1327
|
return b;
|
|
1322
1328
|
}
|
|
1323
1329
|
}
|
|
1324
|
-
function
|
|
1330
|
+
function z(f) {
|
|
1325
1331
|
return !f.constructor || !f.constructor.name ? x : f.constructor.name;
|
|
1326
1332
|
}
|
|
1327
1333
|
return y.checkPropTypes = a, y.resetWarningCache = a.resetWarningCache, y.PropTypes = y, y;
|
|
@@ -1331,7 +1337,7 @@ var xt, Ht;
|
|
|
1331
1337
|
function Sa() {
|
|
1332
1338
|
if (Ht) return xt;
|
|
1333
1339
|
Ht = 1;
|
|
1334
|
-
var e =
|
|
1340
|
+
var e = Rt();
|
|
1335
1341
|
function t() {
|
|
1336
1342
|
}
|
|
1337
1343
|
function n() {
|
|
@@ -1380,8 +1386,8 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
1380
1386
|
kt.exports = Ea()(Na.isElement, Ia);
|
|
1381
1387
|
} else
|
|
1382
1388
|
kt.exports = Sa()();
|
|
1383
|
-
var
|
|
1384
|
-
const
|
|
1389
|
+
var Ra = kt.exports;
|
|
1390
|
+
const T = /* @__PURE__ */ xn(Ra);
|
|
1385
1391
|
function Ae(e, t, n, o) {
|
|
1386
1392
|
function a(i) {
|
|
1387
1393
|
return i instanceof n ? i : new n(function(r) {
|
|
@@ -1409,7 +1415,7 @@ function Ae(e, t, n, o) {
|
|
|
1409
1415
|
c((o = o.apply(e, t || [])).next());
|
|
1410
1416
|
});
|
|
1411
1417
|
}
|
|
1412
|
-
const
|
|
1418
|
+
const ja = /* @__PURE__ */ new Map([
|
|
1413
1419
|
// https://github.com/guzzle/psr7/blob/2d9260799e713f1c475d3c5fdc3d6561ff7441b2/src/MimeType.php
|
|
1414
1420
|
["1km", "application/vnd.1000minds.decision-model+xml"],
|
|
1415
1421
|
["3dml", "text/vnd.in3d.3dml"],
|
|
@@ -2619,7 +2625,7 @@ function Pe(e, t, n) {
|
|
|
2619
2625
|
function Aa(e) {
|
|
2620
2626
|
const { name: t } = e;
|
|
2621
2627
|
if (t && t.lastIndexOf(".") !== -1 && !e.type) {
|
|
2622
|
-
const o = t.split(".").pop().toLowerCase(), a =
|
|
2628
|
+
const o = t.split(".").pop().toLowerCase(), a = ja.get(o);
|
|
2623
2629
|
a && Object.defineProperty(e, "type", {
|
|
2624
2630
|
value: a,
|
|
2625
2631
|
writable: !1,
|
|
@@ -2646,7 +2652,7 @@ const Da = [
|
|
|
2646
2652
|
];
|
|
2647
2653
|
function La(e) {
|
|
2648
2654
|
return Ae(this, void 0, void 0, function* () {
|
|
2649
|
-
return Xe(e) && Oa(e.dataTransfer) ?
|
|
2655
|
+
return Xe(e) && Oa(e.dataTransfer) ? Ba(e.dataTransfer, e.type) : Pa(e) ? Fa(e) : Array.isArray(e) && e.every((t) => "getFile" in t && typeof t.getFile == "function") ? za(e) : [];
|
|
2650
2656
|
});
|
|
2651
2657
|
}
|
|
2652
2658
|
function Oa(e) {
|
|
@@ -2661,12 +2667,12 @@ function Xe(e) {
|
|
|
2661
2667
|
function Fa(e) {
|
|
2662
2668
|
return Ct(e.target.files).map((t) => Pe(t));
|
|
2663
2669
|
}
|
|
2664
|
-
function
|
|
2670
|
+
function za(e) {
|
|
2665
2671
|
return Ae(this, void 0, void 0, function* () {
|
|
2666
2672
|
return (yield Promise.all(e.map((n) => n.getFile()))).map((n) => Pe(n));
|
|
2667
2673
|
});
|
|
2668
2674
|
}
|
|
2669
|
-
function
|
|
2675
|
+
function Ba(e, t) {
|
|
2670
2676
|
return Ae(this, void 0, void 0, function* () {
|
|
2671
2677
|
if (e.items) {
|
|
2672
2678
|
const n = Ct(e.items).filter((a) => a.kind === "file");
|
|
@@ -2879,17 +2885,17 @@ function Cn(e, t) {
|
|
|
2879
2885
|
return [n, n ? null : ei(t)];
|
|
2880
2886
|
}
|
|
2881
2887
|
function Tn(e, t, n) {
|
|
2882
|
-
if (
|
|
2883
|
-
if (
|
|
2888
|
+
if (je(e.size))
|
|
2889
|
+
if (je(t) && je(n)) {
|
|
2884
2890
|
if (e.size > n) return [!1, Zt(n)];
|
|
2885
2891
|
if (e.size < t) return [!1, Qt(t)];
|
|
2886
2892
|
} else {
|
|
2887
|
-
if (
|
|
2888
|
-
if (
|
|
2893
|
+
if (je(t) && e.size < t) return [!1, Qt(t)];
|
|
2894
|
+
if (je(n) && e.size > n) return [!1, Zt(n)];
|
|
2889
2895
|
}
|
|
2890
2896
|
return [!0, null];
|
|
2891
2897
|
}
|
|
2892
|
-
function
|
|
2898
|
+
function je(e) {
|
|
2893
2899
|
return e != null;
|
|
2894
2900
|
}
|
|
2895
2901
|
function ni(e) {
|
|
@@ -2935,7 +2941,7 @@ function ri() {
|
|
|
2935
2941
|
return "showOpenFilePicker" in window;
|
|
2936
2942
|
}
|
|
2937
2943
|
function si(e) {
|
|
2938
|
-
if (
|
|
2944
|
+
if (je(e)) {
|
|
2939
2945
|
var t = Object.entries(e).filter(function(n) {
|
|
2940
2946
|
var o = Me(n, 2), a = o[0], i = o[1], r = !0;
|
|
2941
2947
|
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;
|
|
@@ -2952,7 +2958,7 @@ function si(e) {
|
|
|
2952
2958
|
return e;
|
|
2953
2959
|
}
|
|
2954
2960
|
function pi(e) {
|
|
2955
|
-
if (
|
|
2961
|
+
if (je(e))
|
|
2956
2962
|
return Object.entries(e).reduce(function(t, n) {
|
|
2957
2963
|
var o = Me(n, 2), a = o[0], i = o[1];
|
|
2958
2964
|
return [].concat(Gt(t), [a], Gt(i));
|
|
@@ -3070,9 +3076,9 @@ function wi(e, t) {
|
|
|
3070
3076
|
a = o[i], !(t.indexOf(a) >= 0) && (n[a] = e[a]);
|
|
3071
3077
|
return n;
|
|
3072
3078
|
}
|
|
3073
|
-
var et = /* @__PURE__ */
|
|
3079
|
+
var et = /* @__PURE__ */ zn(function(e, t) {
|
|
3074
3080
|
var n = e.children, o = Qe(e, di), a = ki(o), i = a.open, r = Qe(a, ui);
|
|
3075
|
-
return
|
|
3081
|
+
return Bn(t, function() {
|
|
3076
3082
|
return {
|
|
3077
3083
|
open: i
|
|
3078
3084
|
};
|
|
@@ -3114,7 +3120,7 @@ et.propTypes = {
|
|
|
3114
3120
|
* @param {File[]} params.acceptedFiles Accepted files
|
|
3115
3121
|
* @param {FileRejection[]} params.fileRejections Rejected files and why they were rejected
|
|
3116
3122
|
*/
|
|
3117
|
-
children:
|
|
3123
|
+
children: T.func,
|
|
3118
3124
|
/**
|
|
3119
3125
|
* Set accepted file types.
|
|
3120
3126
|
* Checkout https://developer.mozilla.org/en-US/docs/Web/API/window/showOpenFilePicker types option for more information.
|
|
@@ -3122,90 +3128,90 @@ et.propTypes = {
|
|
|
3122
3128
|
* for example, are reported as text/plain under macOS but as application/vnd.ms-excel under
|
|
3123
3129
|
* Windows. In some cases there might not be a mime type set at all (https://github.com/react-dropzone/react-dropzone/issues/276).
|
|
3124
3130
|
*/
|
|
3125
|
-
accept:
|
|
3131
|
+
accept: T.objectOf(T.arrayOf(T.string)),
|
|
3126
3132
|
/**
|
|
3127
3133
|
* Allow drag 'n' drop (or selection from the file dialog) of multiple files
|
|
3128
3134
|
*/
|
|
3129
|
-
multiple:
|
|
3135
|
+
multiple: T.bool,
|
|
3130
3136
|
/**
|
|
3131
3137
|
* If false, allow dropped items to take over the current browser window
|
|
3132
3138
|
*/
|
|
3133
|
-
preventDropOnDocument:
|
|
3139
|
+
preventDropOnDocument: T.bool,
|
|
3134
3140
|
/**
|
|
3135
3141
|
* If true, disables click to open the native file selection dialog
|
|
3136
3142
|
*/
|
|
3137
|
-
noClick:
|
|
3143
|
+
noClick: T.bool,
|
|
3138
3144
|
/**
|
|
3139
3145
|
* If true, disables SPACE/ENTER to open the native file selection dialog.
|
|
3140
3146
|
* Note that it also stops tracking the focus state.
|
|
3141
3147
|
*/
|
|
3142
|
-
noKeyboard:
|
|
3148
|
+
noKeyboard: T.bool,
|
|
3143
3149
|
/**
|
|
3144
3150
|
* If true, disables drag 'n' drop
|
|
3145
3151
|
*/
|
|
3146
|
-
noDrag:
|
|
3152
|
+
noDrag: T.bool,
|
|
3147
3153
|
/**
|
|
3148
3154
|
* If true, stops drag event propagation to parents
|
|
3149
3155
|
*/
|
|
3150
|
-
noDragEventsBubbling:
|
|
3156
|
+
noDragEventsBubbling: T.bool,
|
|
3151
3157
|
/**
|
|
3152
3158
|
* Minimum file size (in bytes)
|
|
3153
3159
|
*/
|
|
3154
|
-
minSize:
|
|
3160
|
+
minSize: T.number,
|
|
3155
3161
|
/**
|
|
3156
3162
|
* Maximum file size (in bytes)
|
|
3157
3163
|
*/
|
|
3158
|
-
maxSize:
|
|
3164
|
+
maxSize: T.number,
|
|
3159
3165
|
/**
|
|
3160
3166
|
* Maximum accepted number of files
|
|
3161
3167
|
* The default value is 0 which means there is no limitation to how many files are accepted.
|
|
3162
3168
|
*/
|
|
3163
|
-
maxFiles:
|
|
3169
|
+
maxFiles: T.number,
|
|
3164
3170
|
/**
|
|
3165
3171
|
* Enable/disable the dropzone
|
|
3166
3172
|
*/
|
|
3167
|
-
disabled:
|
|
3173
|
+
disabled: T.bool,
|
|
3168
3174
|
/**
|
|
3169
3175
|
* Use this to provide a custom file aggregator
|
|
3170
3176
|
*
|
|
3171
3177
|
* @param {(DragEvent|Event|Array<FileSystemFileHandle>)} event A drag event or input change event (if files were selected via the file dialog)
|
|
3172
3178
|
*/
|
|
3173
|
-
getFilesFromEvent:
|
|
3179
|
+
getFilesFromEvent: T.func,
|
|
3174
3180
|
/**
|
|
3175
3181
|
* Cb for when closing the file dialog with no selection
|
|
3176
3182
|
*/
|
|
3177
|
-
onFileDialogCancel:
|
|
3183
|
+
onFileDialogCancel: T.func,
|
|
3178
3184
|
/**
|
|
3179
3185
|
* Cb for when opening the file dialog
|
|
3180
3186
|
*/
|
|
3181
|
-
onFileDialogOpen:
|
|
3187
|
+
onFileDialogOpen: T.func,
|
|
3182
3188
|
/**
|
|
3183
3189
|
* Set to true to use the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API
|
|
3184
3190
|
* to open the file picker instead of using an `<input type="file">` click event.
|
|
3185
3191
|
*/
|
|
3186
|
-
useFsAccessApi:
|
|
3192
|
+
useFsAccessApi: T.bool,
|
|
3187
3193
|
/**
|
|
3188
3194
|
* Set to true to focus the root element on render
|
|
3189
3195
|
*/
|
|
3190
|
-
autoFocus:
|
|
3196
|
+
autoFocus: T.bool,
|
|
3191
3197
|
/**
|
|
3192
3198
|
* Cb for when the `dragenter` event occurs.
|
|
3193
3199
|
*
|
|
3194
3200
|
* @param {DragEvent} event
|
|
3195
3201
|
*/
|
|
3196
|
-
onDragEnter:
|
|
3202
|
+
onDragEnter: T.func,
|
|
3197
3203
|
/**
|
|
3198
3204
|
* Cb for when the `dragleave` event occurs
|
|
3199
3205
|
*
|
|
3200
3206
|
* @param {DragEvent} event
|
|
3201
3207
|
*/
|
|
3202
|
-
onDragLeave:
|
|
3208
|
+
onDragLeave: T.func,
|
|
3203
3209
|
/**
|
|
3204
3210
|
* Cb for when the `dragover` event occurs
|
|
3205
3211
|
*
|
|
3206
3212
|
* @param {DragEvent} event
|
|
3207
3213
|
*/
|
|
3208
|
-
onDragOver:
|
|
3214
|
+
onDragOver: T.func,
|
|
3209
3215
|
/**
|
|
3210
3216
|
* Cb for when the `drop` event occurs.
|
|
3211
3217
|
* Note that this callback is invoked after the `getFilesFromEvent` callback is done.
|
|
@@ -3236,7 +3242,7 @@ et.propTypes = {
|
|
|
3236
3242
|
* @param {FileRejection[]} fileRejections
|
|
3237
3243
|
* @param {(DragEvent|Event)} event A drag event or input change event (if files were selected via the file dialog)
|
|
3238
3244
|
*/
|
|
3239
|
-
onDrop:
|
|
3245
|
+
onDrop: T.func,
|
|
3240
3246
|
/**
|
|
3241
3247
|
* Cb for when the `drop` event occurs.
|
|
3242
3248
|
* Note that if no files are accepted, this callback is not invoked.
|
|
@@ -3244,7 +3250,7 @@ et.propTypes = {
|
|
|
3244
3250
|
* @param {File[]} files
|
|
3245
3251
|
* @param {(DragEvent|Event)} event
|
|
3246
3252
|
*/
|
|
3247
|
-
onDropAccepted:
|
|
3253
|
+
onDropAccepted: T.func,
|
|
3248
3254
|
/**
|
|
3249
3255
|
* Cb for when the `drop` event occurs.
|
|
3250
3256
|
* Note that if no files are rejected, this callback is not invoked.
|
|
@@ -3252,19 +3258,19 @@ et.propTypes = {
|
|
|
3252
3258
|
* @param {FileRejection[]} fileRejections
|
|
3253
3259
|
* @param {(DragEvent|Event)} event
|
|
3254
3260
|
*/
|
|
3255
|
-
onDropRejected:
|
|
3261
|
+
onDropRejected: T.func,
|
|
3256
3262
|
/**
|
|
3257
3263
|
* Cb for when there's some error from any of the promises.
|
|
3258
3264
|
*
|
|
3259
3265
|
* @param {Error} error
|
|
3260
3266
|
*/
|
|
3261
|
-
onError:
|
|
3267
|
+
onError: T.func,
|
|
3262
3268
|
/**
|
|
3263
3269
|
* Custom validation function. It must return null if there's no errors.
|
|
3264
3270
|
* @param {File} file
|
|
3265
3271
|
* @returns {FileError|FileError[]|null}
|
|
3266
3272
|
*/
|
|
3267
|
-
validator:
|
|
3273
|
+
validator: T.func
|
|
3268
3274
|
};
|
|
3269
3275
|
var Nt = {
|
|
3270
3276
|
isFocused: !1,
|
|
@@ -3276,7 +3282,7 @@ var Nt = {
|
|
|
3276
3282
|
fileRejections: []
|
|
3277
3283
|
};
|
|
3278
3284
|
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,
|
|
3285
|
+
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, L = t.useFsAccessApi, H = t.autoFocus, D = t.preventDropOnDocument, k = t.noClick, p = t.noKeyboard, E = t.noDrag, I = t.noDragEventsBubbling, V = t.onError, J = t.validator, oe = Oe(function() {
|
|
3280
3286
|
return pi(n);
|
|
3281
3287
|
}, [n]), me = Oe(function() {
|
|
3282
3288
|
return si(n);
|
|
@@ -3284,39 +3290,39 @@ function ki() {
|
|
|
3284
3290
|
return typeof S == "function" ? S : tn;
|
|
3285
3291
|
}, [S]), le = Oe(function() {
|
|
3286
3292
|
return typeof g == "function" ? g : tn;
|
|
3287
|
-
}, [g]), X = ue(null), Z = ue(null), C = Mn(Ci, Nt), W = ht(C, 2), K = W[0],
|
|
3288
|
-
!
|
|
3293
|
+
}, [g]), X = ue(null), Z = ue(null), C = Mn(Ci, Nt), W = ht(C, 2), K = W[0], z = W[1], f = K.isFocused, b = K.isFileDialogActive, O = ue(typeof window < "u" && window.isSecureContext && L && ri()), P = function() {
|
|
3294
|
+
!O.current && b && setTimeout(function() {
|
|
3289
3295
|
if (Z.current) {
|
|
3290
|
-
var
|
|
3291
|
-
|
|
3296
|
+
var R = Z.current.files;
|
|
3297
|
+
R.length || (z({
|
|
3292
3298
|
type: "closeDialog"
|
|
3293
3299
|
}), le());
|
|
3294
3300
|
}
|
|
3295
3301
|
}, 300);
|
|
3296
3302
|
};
|
|
3297
3303
|
ne(function() {
|
|
3298
|
-
return window.addEventListener("focus",
|
|
3299
|
-
window.removeEventListener("focus",
|
|
3304
|
+
return window.addEventListener("focus", P, !1), function() {
|
|
3305
|
+
window.removeEventListener("focus", P, !1);
|
|
3300
3306
|
};
|
|
3301
|
-
}, [Z, b, le,
|
|
3302
|
-
var j = ue([]), M = function(
|
|
3303
|
-
X.current && X.current.contains(
|
|
3307
|
+
}, [Z, b, le, O]);
|
|
3308
|
+
var j = ue([]), M = function(R) {
|
|
3309
|
+
X.current && X.current.contains(R.target) || (R.preventDefault(), j.current = []);
|
|
3304
3310
|
};
|
|
3305
3311
|
ne(function() {
|
|
3306
3312
|
return D && (document.addEventListener("dragover", Jt, !1), document.addEventListener("drop", M, !1)), function() {
|
|
3307
3313
|
D && (document.removeEventListener("dragover", Jt), document.removeEventListener("drop", M));
|
|
3308
3314
|
};
|
|
3309
3315
|
}, [X, D]), ne(function() {
|
|
3310
|
-
return !o &&
|
|
3316
|
+
return !o && H && X.current && X.current.focus(), function() {
|
|
3311
3317
|
};
|
|
3312
|
-
}, [X,
|
|
3313
|
-
var
|
|
3314
|
-
|
|
3315
|
-
}, [
|
|
3316
|
-
h.preventDefault(), h.persist(), He(h), j.current = [].concat(_i(j.current), [h.target]), Ge(h) && Promise.resolve(a(h)).then(function(
|
|
3317
|
-
if (!(Ze(h) && !
|
|
3318
|
-
var ee =
|
|
3319
|
-
files:
|
|
3318
|
+
}, [X, H, o]);
|
|
3319
|
+
var A = de(function(h) {
|
|
3320
|
+
V ? V(h) : console.error(h);
|
|
3321
|
+
}, [V]), F = de(function(h) {
|
|
3322
|
+
h.preventDefault(), h.persist(), He(h), j.current = [].concat(_i(j.current), [h.target]), Ge(h) && Promise.resolve(a(h)).then(function(R) {
|
|
3323
|
+
if (!(Ze(h) && !I)) {
|
|
3324
|
+
var ee = R.length, ae = ee > 0 && ni({
|
|
3325
|
+
files: R,
|
|
3320
3326
|
accept: oe,
|
|
3321
3327
|
minSize: r,
|
|
3322
3328
|
maxSize: i,
|
|
@@ -3324,40 +3330,40 @@ function ki() {
|
|
|
3324
3330
|
maxFiles: u,
|
|
3325
3331
|
validator: J
|
|
3326
3332
|
}), ve = ee > 0 && !ae;
|
|
3327
|
-
|
|
3333
|
+
z({
|
|
3328
3334
|
isDragAccept: ae,
|
|
3329
3335
|
isDragReject: ve,
|
|
3330
3336
|
isDragActive: !0,
|
|
3331
3337
|
type: "setDraggedFiles"
|
|
3332
3338
|
}), c && c(h);
|
|
3333
3339
|
}
|
|
3334
|
-
}).catch(function(
|
|
3335
|
-
return R
|
|
3340
|
+
}).catch(function(R) {
|
|
3341
|
+
return A(R);
|
|
3336
3342
|
});
|
|
3337
|
-
}, [a, c,
|
|
3343
|
+
}, [a, c, A, I, oe, r, i, s, u, J]), $ = de(function(h) {
|
|
3338
3344
|
h.preventDefault(), h.persist(), He(h);
|
|
3339
|
-
var
|
|
3340
|
-
if (
|
|
3345
|
+
var R = Ge(h);
|
|
3346
|
+
if (R && h.dataTransfer)
|
|
3341
3347
|
try {
|
|
3342
3348
|
h.dataTransfer.dropEffect = "copy";
|
|
3343
3349
|
} catch {
|
|
3344
3350
|
}
|
|
3345
|
-
return
|
|
3346
|
-
}, [d,
|
|
3351
|
+
return R && d && d(h), !1;
|
|
3352
|
+
}, [d, I]), Y = de(function(h) {
|
|
3347
3353
|
h.preventDefault(), h.persist(), He(h);
|
|
3348
|
-
var
|
|
3354
|
+
var R = j.current.filter(function(ae) {
|
|
3349
3355
|
return X.current && X.current.contains(ae);
|
|
3350
|
-
}), ee =
|
|
3351
|
-
ee !== -1 &&
|
|
3356
|
+
}), ee = R.indexOf(h.target);
|
|
3357
|
+
ee !== -1 && R.splice(ee, 1), j.current = R, !(R.length > 0) && (z({
|
|
3352
3358
|
type: "setDraggedFiles",
|
|
3353
3359
|
isDragActive: !1,
|
|
3354
3360
|
isDragAccept: !1,
|
|
3355
3361
|
isDragReject: !1
|
|
3356
3362
|
}), Ge(h) && l && l(h));
|
|
3357
|
-
}, [X, l,
|
|
3363
|
+
}, [X, l, I]), B = de(function(h, R) {
|
|
3358
3364
|
var ee = [], ae = [];
|
|
3359
3365
|
h.forEach(function(ve) {
|
|
3360
|
-
var
|
|
3366
|
+
var ze = Cn(ve, oe), Le = ht(ze, 2), nt = Le[0], ot = Le[1], at = Tn(ve, r, i), Ve = ht(at, 2), it = Ve[0], rt = Ve[1], st = J ? J(ve) : null;
|
|
3361
3367
|
if (nt && it && !st)
|
|
3362
3368
|
ee.push(ve);
|
|
3363
3369
|
else {
|
|
@@ -3374,74 +3380,74 @@ function ki() {
|
|
|
3374
3380
|
file: ve,
|
|
3375
3381
|
errors: [ti]
|
|
3376
3382
|
});
|
|
3377
|
-
}), ee.splice(0)),
|
|
3383
|
+
}), ee.splice(0)), z({
|
|
3378
3384
|
acceptedFiles: ee,
|
|
3379
3385
|
fileRejections: ae,
|
|
3380
3386
|
isDragReject: ae.length > 0,
|
|
3381
3387
|
type: "setFiles"
|
|
3382
|
-
}), x && x(ee, ae,
|
|
3383
|
-
}, [
|
|
3384
|
-
h.preventDefault(), h.persist(), He(h), j.current = [], Ge(h) && Promise.resolve(a(h)).then(function(
|
|
3385
|
-
Ze(h) && !
|
|
3386
|
-
}).catch(function(
|
|
3387
|
-
return R
|
|
3388
|
-
}),
|
|
3388
|
+
}), x && x(ee, ae, R), ae.length > 0 && w && w(ae, R), ee.length > 0 && y && y(ee, R);
|
|
3389
|
+
}, [z, s, oe, r, i, u, x, y, w, J]), te = de(function(h) {
|
|
3390
|
+
h.preventDefault(), h.persist(), He(h), j.current = [], Ge(h) && Promise.resolve(a(h)).then(function(R) {
|
|
3391
|
+
Ze(h) && !I || B(R, h);
|
|
3392
|
+
}).catch(function(R) {
|
|
3393
|
+
return A(R);
|
|
3394
|
+
}), z({
|
|
3389
3395
|
type: "reset"
|
|
3390
3396
|
});
|
|
3391
|
-
}, [a,
|
|
3392
|
-
if (
|
|
3393
|
-
|
|
3397
|
+
}, [a, B, A, I]), v = de(function() {
|
|
3398
|
+
if (O.current) {
|
|
3399
|
+
z({
|
|
3394
3400
|
type: "openDialog"
|
|
3395
3401
|
}), fe();
|
|
3396
3402
|
var h = {
|
|
3397
3403
|
multiple: s,
|
|
3398
3404
|
types: me
|
|
3399
3405
|
};
|
|
3400
|
-
window.showOpenFilePicker(h).then(function(
|
|
3401
|
-
return a(
|
|
3402
|
-
}).then(function(
|
|
3403
|
-
|
|
3406
|
+
window.showOpenFilePicker(h).then(function(R) {
|
|
3407
|
+
return a(R);
|
|
3408
|
+
}).then(function(R) {
|
|
3409
|
+
B(R, null), z({
|
|
3404
3410
|
type: "closeDialog"
|
|
3405
3411
|
});
|
|
3406
|
-
}).catch(function(
|
|
3407
|
-
ci(
|
|
3412
|
+
}).catch(function(R) {
|
|
3413
|
+
ci(R) ? (le(R), z({
|
|
3408
3414
|
type: "closeDialog"
|
|
3409
|
-
})) : li(
|
|
3415
|
+
})) : li(R) ? (O.current = !1, Z.current ? (Z.current.value = null, Z.current.click()) : A(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."))) : A(R);
|
|
3410
3416
|
});
|
|
3411
3417
|
return;
|
|
3412
3418
|
}
|
|
3413
|
-
Z.current && (
|
|
3419
|
+
Z.current && (z({
|
|
3414
3420
|
type: "openDialog"
|
|
3415
3421
|
}), fe(), Z.current.value = null, Z.current.click());
|
|
3416
|
-
}, [
|
|
3422
|
+
}, [z, fe, le, L, B, A, me, s]), _e = de(function(h) {
|
|
3417
3423
|
!X.current || !X.current.isEqualNode(h.target) || (h.key === " " || h.key === "Enter" || h.keyCode === 32 || h.keyCode === 13) && (h.preventDefault(), v());
|
|
3418
3424
|
}, [X, v]), Ne = de(function() {
|
|
3419
|
-
|
|
3425
|
+
z({
|
|
3420
3426
|
type: "focus"
|
|
3421
3427
|
});
|
|
3422
3428
|
}, []), Fe = de(function() {
|
|
3423
|
-
|
|
3429
|
+
z({
|
|
3424
3430
|
type: "blur"
|
|
3425
3431
|
});
|
|
3426
3432
|
}, []), Dt = de(function() {
|
|
3427
3433
|
k || (ii() ? setTimeout(v, 0) : v());
|
|
3428
|
-
}, [k, v]), De = function(
|
|
3429
|
-
return o ? null :
|
|
3430
|
-
}, tt = function(
|
|
3431
|
-
return p ? null : De(
|
|
3432
|
-
}, qe = function(
|
|
3433
|
-
return
|
|
3434
|
-
}, He = function(
|
|
3435
|
-
|
|
3434
|
+
}, [k, v]), De = function(R) {
|
|
3435
|
+
return o ? null : R;
|
|
3436
|
+
}, tt = function(R) {
|
|
3437
|
+
return p ? null : De(R);
|
|
3438
|
+
}, qe = function(R) {
|
|
3439
|
+
return E ? null : De(R);
|
|
3440
|
+
}, He = function(R) {
|
|
3441
|
+
I && R.stopPropagation();
|
|
3436
3442
|
}, Ln = Oe(function() {
|
|
3437
3443
|
return function() {
|
|
3438
|
-
var h = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {},
|
|
3444
|
+
var h = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, R = h.refKey, ee = R === void 0 ? "ref" : R, ae = h.role, ve = h.onKeyDown, ze = 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
3445
|
return Q(Q(St({
|
|
3440
3446
|
onKeyDown: tt(Ce(ve, _e)),
|
|
3441
|
-
onFocus: tt(Ce(
|
|
3447
|
+
onFocus: tt(Ce(ze, Ne)),
|
|
3442
3448
|
onBlur: tt(Ce(Le, Fe)),
|
|
3443
3449
|
onClick: De(Ce(nt, Dt)),
|
|
3444
|
-
onDragEnter: qe(Ce(ot,
|
|
3450
|
+
onDragEnter: qe(Ce(ot, F)),
|
|
3445
3451
|
onDragOver: qe(Ce(at, $)),
|
|
3446
3452
|
onDragLeave: qe(Ce(Ve, Y)),
|
|
3447
3453
|
onDrop: qe(Ce(it, te)),
|
|
@@ -3450,11 +3456,11 @@ function ki() {
|
|
|
3450
3456
|
tabIndex: 0
|
|
3451
3457
|
} : {}), rt);
|
|
3452
3458
|
};
|
|
3453
|
-
}, [X, _e, Ne, Fe, Dt,
|
|
3459
|
+
}, [X, _e, Ne, Fe, Dt, F, $, Y, te, p, E, o]), On = de(function(h) {
|
|
3454
3460
|
h.stopPropagation();
|
|
3455
3461
|
}, []), Pn = Oe(function() {
|
|
3456
3462
|
return function() {
|
|
3457
|
-
var h = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {},
|
|
3463
|
+
var h = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, R = h.refKey, ee = R === void 0 ? "ref" : R, ae = h.onChange, ve = h.onClick, ze = Qe(h, fi), Le = St({
|
|
3458
3464
|
accept: oe,
|
|
3459
3465
|
multiple: s,
|
|
3460
3466
|
type: "file",
|
|
@@ -3474,7 +3480,7 @@ function ki() {
|
|
|
3474
3480
|
onClick: De(Ce(ve, On)),
|
|
3475
3481
|
tabIndex: -1
|
|
3476
3482
|
}, ee, Z);
|
|
3477
|
-
return Q(Q({}, Le),
|
|
3483
|
+
return Q(Q({}, Le), ze);
|
|
3478
3484
|
};
|
|
3479
3485
|
}, [Z, n, s, te, o]);
|
|
3480
3486
|
return Q(Q({}, K), {}, {
|
|
@@ -3554,13 +3560,13 @@ const Ti = (e) => {
|
|
|
3554
3560
|
/* @__PURE__ */ m("input", { ...x({}), disabled: i, name: r }),
|
|
3555
3561
|
n
|
|
3556
3562
|
] }) });
|
|
3557
|
-
}, Ei = "_spDropdown_1f4lf_43", Si = "_spDropdown__labelText_1f4lf_54", Ni = "_spDropdown__tooltipContainer_1f4lf_62", Ii = "_spDropdown__dropdownList_1f4lf_67",
|
|
3563
|
+
}, Ei = "_spDropdown_1f4lf_43", Si = "_spDropdown__labelText_1f4lf_54", Ni = "_spDropdown__tooltipContainer_1f4lf_62", Ii = "_spDropdown__dropdownList_1f4lf_67", Ri = "_spDropdown__dropdownListHeader_1f4lf_73", ji = "_spDropdown__dopdownListItem_1f4lf_80", Ai = "_spDropdown__dopdownListItem_textCenter_1f4lf_91", Di = "_spDropdown__downloadListItemDescription_1f4lf_94", Se = {
|
|
3558
3564
|
spDropdown: Ei,
|
|
3559
3565
|
spDropdown__labelText: Si,
|
|
3560
3566
|
spDropdown__tooltipContainer: Ni,
|
|
3561
3567
|
spDropdown__dropdownList: Ii,
|
|
3562
|
-
spDropdown__dropdownListHeader:
|
|
3563
|
-
spDropdown__dopdownListItem:
|
|
3568
|
+
spDropdown__dropdownListHeader: Ri,
|
|
3569
|
+
spDropdown__dopdownListItem: ji,
|
|
3564
3570
|
spDropdown__dopdownListItem_textCenter: Ai,
|
|
3565
3571
|
spDropdown__downloadListItemDescription: Di
|
|
3566
3572
|
}, Hs = (e) => {
|
|
@@ -3655,10 +3661,10 @@ const Ti = (e) => {
|
|
|
3655
3661
|
trigger: /* @__PURE__ */ m(Ee, { ...s, classNameRoot: d, isEllipsis: !0, ref: u, children: t })
|
|
3656
3662
|
}
|
|
3657
3663
|
);
|
|
3658
|
-
}, Fi = "_spForm_zefbj_43",
|
|
3664
|
+
}, Fi = "_spForm_zefbj_43", zi = "_spForm_fullWidth_zefbj_46", Bi = "_spForm_withSeparator_zefbj_49", We = {
|
|
3659
3665
|
spForm: Fi,
|
|
3660
|
-
spForm_fullWidth:
|
|
3661
|
-
spForm_withSeparator:
|
|
3666
|
+
spForm_fullWidth: zi,
|
|
3667
|
+
spForm_withSeparator: Bi,
|
|
3662
3668
|
"spForm_addMargin--size-lg": "_spForm_addMargin--size-lg_zefbj_67",
|
|
3663
3669
|
"spForm_addMargin--size-md": "_spForm_addMargin--size-md_zefbj_75"
|
|
3664
3670
|
}, Vs = (e) => {
|
|
@@ -3687,7 +3693,7 @@ const Ti = (e) => {
|
|
|
3687
3693
|
spLabel__text: Mi,
|
|
3688
3694
|
spLabel__tooltip: $i,
|
|
3689
3695
|
spLabel__required: qi
|
|
3690
|
-
},
|
|
3696
|
+
}, jt = (e) => {
|
|
3691
3697
|
const {
|
|
3692
3698
|
required: t,
|
|
3693
3699
|
label: n,
|
|
@@ -3745,18 +3751,18 @@ const Ti = (e) => {
|
|
|
3745
3751
|
tooltipPosition: w,
|
|
3746
3752
|
isVisibleDefaultTitle: g = !0,
|
|
3747
3753
|
placeholder: S = "Введите...",
|
|
3748
|
-
classNameRoot:
|
|
3749
|
-
classNameError:
|
|
3754
|
+
classNameRoot: L,
|
|
3755
|
+
classNameError: H,
|
|
3750
3756
|
classNameLabel: D,
|
|
3751
3757
|
classNameBaseTooltipRoot: k,
|
|
3752
3758
|
...p
|
|
3753
|
-
} = e,
|
|
3759
|
+
} = e, E = _({
|
|
3754
3760
|
[Te.spInput]: !0,
|
|
3755
3761
|
[Te.spInput_error]: !!s,
|
|
3756
|
-
...
|
|
3757
|
-
}),
|
|
3762
|
+
...L && { [L]: !0 }
|
|
3763
|
+
}), I = _({
|
|
3758
3764
|
[Te.spInput__container]: !0
|
|
3759
|
-
}),
|
|
3765
|
+
}), V = _({
|
|
3760
3766
|
[Te.spInput__control]: !0,
|
|
3761
3767
|
[Te.spInput__control_disabled]: r,
|
|
3762
3768
|
[Te[`spInput__control_${i}`]]: i,
|
|
@@ -3765,7 +3771,7 @@ const Ti = (e) => {
|
|
|
3765
3771
|
[Te.spInput__clear]: !0
|
|
3766
3772
|
}), oe = _({
|
|
3767
3773
|
[Te.spInput__error]: !0,
|
|
3768
|
-
...
|
|
3774
|
+
...H && { [H]: !0 }
|
|
3769
3775
|
}), me = _({
|
|
3770
3776
|
...D && { [D]: !0 }
|
|
3771
3777
|
}), fe = (Z) => {
|
|
@@ -3774,9 +3780,9 @@ const Ti = (e) => {
|
|
|
3774
3780
|
const { value: C, name: W } = Z.target;
|
|
3775
3781
|
d && C && !new RegExp(d).test(C) || o(Z, { value: C, name: W });
|
|
3776
3782
|
};
|
|
3777
|
-
return /* @__PURE__ */ q("div", { className:
|
|
3783
|
+
return /* @__PURE__ */ q("div", { className: E, children: [
|
|
3778
3784
|
a && /* @__PURE__ */ m(
|
|
3779
|
-
|
|
3785
|
+
jt,
|
|
3780
3786
|
{
|
|
3781
3787
|
classNameRoot: me,
|
|
3782
3788
|
tooltipPosition: w,
|
|
@@ -3786,7 +3792,7 @@ const Ti = (e) => {
|
|
|
3786
3792
|
classNameBaseTooltipRoot: k
|
|
3787
3793
|
}
|
|
3788
3794
|
),
|
|
3789
|
-
/* @__PURE__ */ q("div", { className:
|
|
3795
|
+
/* @__PURE__ */ q("div", { className: I, onMouseEnter: x, children: [
|
|
3790
3796
|
/* @__PURE__ */ m(
|
|
3791
3797
|
"input",
|
|
3792
3798
|
{
|
|
@@ -3797,7 +3803,7 @@ const Ti = (e) => {
|
|
|
3797
3803
|
title: g ? n : void 0,
|
|
3798
3804
|
value: n,
|
|
3799
3805
|
name: c,
|
|
3800
|
-
className:
|
|
3806
|
+
className: V,
|
|
3801
3807
|
ref: t
|
|
3802
3808
|
}
|
|
3803
3809
|
),
|
|
@@ -3842,17 +3848,17 @@ const tr = "_spInputFiles_1ukpx_43", nr = "_spInputFiles_error_1ukpx_48", or = "
|
|
|
3842
3848
|
[xe.spInputFiles_disabled]: r,
|
|
3843
3849
|
[xe.spInputFiles_fileUploaded]: g,
|
|
3844
3850
|
...x && { [x]: !0 }
|
|
3845
|
-
}),
|
|
3846
|
-
const
|
|
3847
|
-
|
|
3848
|
-
},
|
|
3851
|
+
}), L = (p) => {
|
|
3852
|
+
const E = [...c], I = E.findIndex((V) => V.name === p);
|
|
3853
|
+
E.splice(I, 1), o(E, n);
|
|
3854
|
+
}, H = (p) => {
|
|
3849
3855
|
p.stopPropagation(), o([], n);
|
|
3850
|
-
}, D = () => s ? /* @__PURE__ */ m("ul", { className: xe.spInputFiles__fileNamesList, children: w.map((p,
|
|
3856
|
+
}, D = () => s ? /* @__PURE__ */ m("ul", { className: xe.spInputFiles__fileNamesList, children: w.map((p, E) => /* @__PURE__ */ q(
|
|
3851
3857
|
"li",
|
|
3852
3858
|
{
|
|
3853
3859
|
className: xe.spInputFiles__fileNamesListItem,
|
|
3854
|
-
onClick: (
|
|
3855
|
-
|
|
3860
|
+
onClick: (I) => {
|
|
3861
|
+
I.stopPropagation(), L(p);
|
|
3856
3862
|
},
|
|
3857
3863
|
children: [
|
|
3858
3864
|
/* @__PURE__ */ m(
|
|
@@ -3866,10 +3872,10 @@ const tr = "_spInputFiles_1ukpx_43", nr = "_spInputFiles_error_1ukpx_48", or = "
|
|
|
3866
3872
|
/* @__PURE__ */ m("div", { className: xe.spInputFiles__fileNamesListItemDelete, children: /* @__PURE__ */ m(he, { name: pe.Trash }) })
|
|
3867
3873
|
]
|
|
3868
3874
|
},
|
|
3869
|
-
|
|
3875
|
+
E
|
|
3870
3876
|
)) }) : /* @__PURE__ */ m(Ee, { isEllipsis: !0, children: w[0] }), k = () => /* @__PURE__ */ q(dn, { children: [
|
|
3871
3877
|
g ? D() : /* @__PURE__ */ m(Ee, { children: t }),
|
|
3872
|
-
g ? /* @__PURE__ */ m("div", { className: xe.spInputFiles__delete, onClick:
|
|
3878
|
+
g ? /* @__PURE__ */ m("div", { className: xe.spInputFiles__delete, onClick: H, children: /* @__PURE__ */ m(he, { name: pe.Close }) }) : l && /* @__PURE__ */ m(
|
|
3873
3879
|
Je,
|
|
3874
3880
|
{
|
|
3875
3881
|
classNameTooltip: xe.spInputFiles__tooltipWrapper,
|
|
@@ -3908,10 +3914,10 @@ const tr = "_spInputFiles_1ukpx_43", nr = "_spInputFiles_error_1ukpx_48", or = "
|
|
|
3908
3914
|
});
|
|
3909
3915
|
var At = {};
|
|
3910
3916
|
At.match = br;
|
|
3911
|
-
At.parse =
|
|
3917
|
+
At.parse = Rn;
|
|
3912
3918
|
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
3919
|
function br(e, t) {
|
|
3914
|
-
return
|
|
3920
|
+
return Rn(e).some(function(n) {
|
|
3915
3921
|
var o = n.inverse, a = n.type === "all" || t.type === n.type;
|
|
3916
3922
|
if (a && o || !(a || o))
|
|
3917
3923
|
return !1;
|
|
@@ -3957,7 +3963,7 @@ function br(e, t) {
|
|
|
3957
3963
|
return i && !o || !i && o;
|
|
3958
3964
|
});
|
|
3959
3965
|
}
|
|
3960
|
-
function
|
|
3966
|
+
function Rn(e) {
|
|
3961
3967
|
return e.split(",").map(function(t) {
|
|
3962
3968
|
t = t.trim();
|
|
3963
3969
|
var n = t.match(_r), o = n[1], a = n[2], i = n[3] || "", r = {};
|
|
@@ -4033,7 +4039,7 @@ var Er = /[A-Z]/g, Sr = /^ms-/, bt = {};
|
|
|
4033
4039
|
function Nr(e) {
|
|
4034
4040
|
return "-" + e.toLowerCase();
|
|
4035
4041
|
}
|
|
4036
|
-
function
|
|
4042
|
+
function jn(e) {
|
|
4037
4043
|
if (bt.hasOwnProperty(e))
|
|
4038
4044
|
return bt[e];
|
|
4039
4045
|
var t = e.replace(Er, Nr);
|
|
@@ -4054,37 +4060,37 @@ function Ir(e, t) {
|
|
|
4054
4060
|
}
|
|
4055
4061
|
return !0;
|
|
4056
4062
|
}
|
|
4057
|
-
const ce =
|
|
4058
|
-
all:
|
|
4059
|
-
grid:
|
|
4060
|
-
aural:
|
|
4061
|
-
braille:
|
|
4062
|
-
handheld:
|
|
4063
|
-
print:
|
|
4064
|
-
projection:
|
|
4065
|
-
screen:
|
|
4066
|
-
tty:
|
|
4067
|
-
tv:
|
|
4068
|
-
embossed:
|
|
4069
|
-
},
|
|
4070
|
-
orientation:
|
|
4071
|
-
scan:
|
|
4072
|
-
aspectRatio:
|
|
4073
|
-
deviceAspectRatio:
|
|
4063
|
+
const ce = T.oneOfType([T.string, T.number]), An = {
|
|
4064
|
+
all: T.bool,
|
|
4065
|
+
grid: T.bool,
|
|
4066
|
+
aural: T.bool,
|
|
4067
|
+
braille: T.bool,
|
|
4068
|
+
handheld: T.bool,
|
|
4069
|
+
print: T.bool,
|
|
4070
|
+
projection: T.bool,
|
|
4071
|
+
screen: T.bool,
|
|
4072
|
+
tty: T.bool,
|
|
4073
|
+
tv: T.bool,
|
|
4074
|
+
embossed: T.bool
|
|
4075
|
+
}, Rr = {
|
|
4076
|
+
orientation: T.oneOf(["portrait", "landscape"]),
|
|
4077
|
+
scan: T.oneOf(["progressive", "interlace"]),
|
|
4078
|
+
aspectRatio: T.string,
|
|
4079
|
+
deviceAspectRatio: T.string,
|
|
4074
4080
|
height: ce,
|
|
4075
4081
|
deviceHeight: ce,
|
|
4076
4082
|
width: ce,
|
|
4077
4083
|
deviceWidth: ce,
|
|
4078
|
-
color:
|
|
4079
|
-
colorIndex:
|
|
4080
|
-
monochrome:
|
|
4084
|
+
color: T.bool,
|
|
4085
|
+
colorIndex: T.bool,
|
|
4086
|
+
monochrome: T.bool,
|
|
4081
4087
|
resolution: ce,
|
|
4082
4088
|
type: Object.keys(An)
|
|
4083
|
-
}, { type: Us, ...
|
|
4084
|
-
minAspectRatio:
|
|
4085
|
-
maxAspectRatio:
|
|
4086
|
-
minDeviceAspectRatio:
|
|
4087
|
-
maxDeviceAspectRatio:
|
|
4089
|
+
}, { type: Us, ...jr } = Rr, Ar = {
|
|
4090
|
+
minAspectRatio: T.string,
|
|
4091
|
+
maxAspectRatio: T.string,
|
|
4092
|
+
minDeviceAspectRatio: T.string,
|
|
4093
|
+
maxDeviceAspectRatio: T.string,
|
|
4088
4094
|
minHeight: ce,
|
|
4089
4095
|
maxHeight: ce,
|
|
4090
4096
|
minDeviceHeight: ce,
|
|
@@ -4093,35 +4099,35 @@ const ce = E.oneOfType([E.string, E.number]), An = {
|
|
|
4093
4099
|
maxWidth: ce,
|
|
4094
4100
|
minDeviceWidth: ce,
|
|
4095
4101
|
maxDeviceWidth: ce,
|
|
4096
|
-
minColor:
|
|
4097
|
-
maxColor:
|
|
4098
|
-
minColorIndex:
|
|
4099
|
-
maxColorIndex:
|
|
4100
|
-
minMonochrome:
|
|
4101
|
-
maxMonochrome:
|
|
4102
|
+
minColor: T.number,
|
|
4103
|
+
maxColor: T.number,
|
|
4104
|
+
minColorIndex: T.number,
|
|
4105
|
+
maxColorIndex: T.number,
|
|
4106
|
+
minMonochrome: T.number,
|
|
4107
|
+
maxMonochrome: T.number,
|
|
4102
4108
|
minResolution: ce,
|
|
4103
4109
|
maxResolution: ce,
|
|
4104
|
-
...
|
|
4110
|
+
...jr
|
|
4105
4111
|
}, Dr = { ...An, ...Ar };
|
|
4106
4112
|
var Lr = {
|
|
4107
4113
|
all: Dr
|
|
4108
4114
|
};
|
|
4109
4115
|
const Or = (e) => `not ${e}`, Pr = (e, t) => {
|
|
4110
|
-
const n =
|
|
4116
|
+
const n = jn(e);
|
|
4111
4117
|
return typeof t == "number" && (t = `${t}px`), t === !0 ? n : t === !1 ? Or(n) : `(${n}: ${t})`;
|
|
4112
|
-
}, Fr = (e) => e.join(" and "),
|
|
4118
|
+
}, Fr = (e) => e.join(" and "), zr = (e) => {
|
|
4113
4119
|
const t = [];
|
|
4114
4120
|
return Object.keys(Lr.all).forEach((n) => {
|
|
4115
4121
|
const o = e[n];
|
|
4116
4122
|
o != null && t.push(Pr(n, o));
|
|
4117
4123
|
}), Fr(t);
|
|
4118
|
-
},
|
|
4124
|
+
}, Br = un(void 0), Wr = (e) => e.query || zr(e), pn = (e) => e ? Object.keys(e).reduce((n, o) => (n[jn(o)] = e[o], n), {}) : void 0, Dn = () => {
|
|
4119
4125
|
const e = ue(!1);
|
|
4120
4126
|
return ne(() => {
|
|
4121
4127
|
e.current = !0;
|
|
4122
4128
|
}, []), e.current;
|
|
4123
4129
|
}, Mr = (e) => {
|
|
4124
|
-
const t = $n(
|
|
4130
|
+
const t = $n(Br), n = () => pn(e) || pn(t), [o, a] = ie(n);
|
|
4125
4131
|
return ne(() => {
|
|
4126
4132
|
const i = n();
|
|
4127
4133
|
Ir(o, i) || a(i);
|
|
@@ -4187,8 +4193,8 @@ const Or = (e) => `not ${e}`, Pr = (e, t) => {
|
|
|
4187
4193
|
if (c.current = t, t === s.current) return;
|
|
4188
4194
|
r.current && cancelAnimationFrame(r.current), s.current = a, u.current = performance.now();
|
|
4189
4195
|
const l = (d) => {
|
|
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,
|
|
4191
|
-
i(
|
|
4196
|
+
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, L = Math.max(0, Math.floor(S));
|
|
4197
|
+
i(L), w < 1 && (r.current = requestAnimationFrame(l));
|
|
4192
4198
|
};
|
|
4193
4199
|
return r.current = requestAnimationFrame(l), () => {
|
|
4194
4200
|
r.current && cancelAnimationFrame(r.current);
|
|
@@ -4285,26 +4291,26 @@ const Or = (e) => `not ${e}`, Pr = (e, t) => {
|
|
|
4285
4291
|
maxHeightList: w = es,
|
|
4286
4292
|
isVisibleDefaultTitle: g = !0,
|
|
4287
4293
|
isScrollableList: S = !1,
|
|
4288
|
-
classNameRoot:
|
|
4289
|
-
classNameError:
|
|
4294
|
+
classNameRoot: L,
|
|
4295
|
+
classNameError: H,
|
|
4290
4296
|
classNameLabel: D,
|
|
4291
4297
|
classNameBaseTooltipRoot: k
|
|
4292
|
-
} = e, [p,
|
|
4298
|
+
} = e, [p, E] = ie(!1), I = ue(null);
|
|
4293
4299
|
_n(
|
|
4294
|
-
[
|
|
4300
|
+
[I],
|
|
4295
4301
|
() => {
|
|
4296
|
-
|
|
4302
|
+
E(!1);
|
|
4297
4303
|
},
|
|
4298
4304
|
p
|
|
4299
4305
|
);
|
|
4300
|
-
const
|
|
4301
|
-
r(f, { value: b, name: a }),
|
|
4306
|
+
const V = t.find((f) => f.value === o), J = (f, b) => {
|
|
4307
|
+
r(f, { value: b, name: a }), E(!1);
|
|
4302
4308
|
}, oe = () => {
|
|
4303
|
-
x ||
|
|
4309
|
+
x || E(!p);
|
|
4304
4310
|
}, me = _({
|
|
4305
4311
|
[ge.spSelect]: !0,
|
|
4306
4312
|
[ge.spSelect_error]: !!u,
|
|
4307
|
-
...
|
|
4313
|
+
...L && { [L]: !0 }
|
|
4308
4314
|
}), fe = _({
|
|
4309
4315
|
[ge.spSelect__container]: !0
|
|
4310
4316
|
}), le = _({
|
|
@@ -4313,7 +4319,7 @@ const Or = (e) => `not ${e}`, Pr = (e, t) => {
|
|
|
4313
4319
|
[ge.spSelect__control_disabled]: x
|
|
4314
4320
|
}), X = _({
|
|
4315
4321
|
[ge.spSelect__value]: !0,
|
|
4316
|
-
[ge.spSelect__value_empty]: !
|
|
4322
|
+
[ge.spSelect__value_empty]: !V
|
|
4317
4323
|
}), Z = _({
|
|
4318
4324
|
[ge.spSelect__icon]: !0
|
|
4319
4325
|
}), C = _({
|
|
@@ -4323,11 +4329,11 @@ const Or = (e) => `not ${e}`, Pr = (e, t) => {
|
|
|
4323
4329
|
...D && { [D]: !0 }
|
|
4324
4330
|
}), K = _({
|
|
4325
4331
|
[ge.spSelect__error]: !0,
|
|
4326
|
-
...
|
|
4332
|
+
...H && { [H]: !0 }
|
|
4327
4333
|
});
|
|
4328
|
-
return /* @__PURE__ */ q("div", { className: me, ref:
|
|
4334
|
+
return /* @__PURE__ */ q("div", { className: me, ref: I, children: [
|
|
4329
4335
|
c && /* @__PURE__ */ m(
|
|
4330
|
-
|
|
4336
|
+
jt,
|
|
4331
4337
|
{
|
|
4332
4338
|
classNameRoot: W,
|
|
4333
4339
|
tooltipPosition: d,
|
|
@@ -4346,7 +4352,7 @@ const Or = (e) => `not ${e}`, Pr = (e, t) => {
|
|
|
4346
4352
|
className: le,
|
|
4347
4353
|
onClick: oe,
|
|
4348
4354
|
children: [
|
|
4349
|
-
/* @__PURE__ */ m("div", { className: X, children: (
|
|
4355
|
+
/* @__PURE__ */ m("div", { className: X, children: (V == null ? void 0 : V.label) || n }),
|
|
4350
4356
|
/* @__PURE__ */ m(
|
|
4351
4357
|
he,
|
|
4352
4358
|
{
|
|
@@ -4371,7 +4377,7 @@ const Or = (e) => `not ${e}`, Pr = (e, t) => {
|
|
|
4371
4377
|
className: _({
|
|
4372
4378
|
[ge.spSelect__option]: !0
|
|
4373
4379
|
}),
|
|
4374
|
-
onClick: (
|
|
4380
|
+
onClick: (O) => J(O, f.value),
|
|
4375
4381
|
children: [
|
|
4376
4382
|
f.label,
|
|
4377
4383
|
b && /* @__PURE__ */ m(he, { name: pe.Check, className: Z })
|
|
@@ -4428,11 +4434,11 @@ const Or = (e) => `not ${e}`, Pr = (e, t) => {
|
|
|
4428
4434
|
}), l = _({
|
|
4429
4435
|
[be.spTable__emptyPage]: !0
|
|
4430
4436
|
}), [d, x] = ie(null), y = (k) => {
|
|
4431
|
-
const { text: p, rowIndex:
|
|
4432
|
-
(d == null ? void 0 : d.rowIndex) ===
|
|
4433
|
-
x({ rowIndex:
|
|
4434
|
-
}).catch((
|
|
4435
|
-
console.error("Ошибка при копировании:",
|
|
4437
|
+
const { text: p, rowIndex: E, colIndex: I } = k;
|
|
4438
|
+
(d == null ? void 0 : d.rowIndex) === E && (d == null ? void 0 : d.colIndex) === I || navigator.clipboard.writeText(p).then(() => {
|
|
4439
|
+
x({ rowIndex: E, colIndex: I });
|
|
4440
|
+
}).catch((V) => {
|
|
4441
|
+
console.error("Ошибка при копировании:", V);
|
|
4436
4442
|
});
|
|
4437
4443
|
}, w = () => {
|
|
4438
4444
|
x(null);
|
|
@@ -4440,73 +4446,73 @@ const Or = (e) => `not ${e}`, Pr = (e, t) => {
|
|
|
4440
4446
|
row: k,
|
|
4441
4447
|
col: p
|
|
4442
4448
|
}) => {
|
|
4443
|
-
const
|
|
4444
|
-
if (!
|
|
4445
|
-
const [
|
|
4449
|
+
const E = k[p.key];
|
|
4450
|
+
if (!E) return null;
|
|
4451
|
+
const [I, V] = E.split(/\s*\{\{|}}\s*/).filter(Boolean);
|
|
4446
4452
|
return /* @__PURE__ */ q("span", { children: [
|
|
4447
|
-
|
|
4448
|
-
|
|
4453
|
+
I,
|
|
4454
|
+
V && /* @__PURE__ */ m("span", { className: c, children: ` ${V}` })
|
|
4449
4455
|
] });
|
|
4450
|
-
},
|
|
4451
|
-
/* @__PURE__ */ m("colgroup", { children: r.map((k, p,
|
|
4456
|
+
}, L = () => n && Array.isArray(n) && n.length > 0 ? /* @__PURE__ */ q("table", { className: s, children: [
|
|
4457
|
+
/* @__PURE__ */ m("colgroup", { children: r.map((k, p, E) => /* @__PURE__ */ m(
|
|
4452
4458
|
"col",
|
|
4453
4459
|
{
|
|
4454
4460
|
style: {
|
|
4455
|
-
width: `calc(100%/${
|
|
4461
|
+
width: `calc(100%/${E.length})`
|
|
4456
4462
|
}
|
|
4457
4463
|
},
|
|
4458
4464
|
p
|
|
4459
4465
|
)) }),
|
|
4460
4466
|
/* @__PURE__ */ m("thead", { children: /* @__PURE__ */ m("tr", { children: r.map((k, p) => /* @__PURE__ */ m("th", { children: k.title }, p)) }) }),
|
|
4461
|
-
/* @__PURE__ */ m("tbody", { children: n.map((k, p) => k ? /* @__PURE__ */ m("tr", { children: r.map((
|
|
4462
|
-
const
|
|
4467
|
+
/* @__PURE__ */ m("tbody", { children: n.map((k, p) => k ? /* @__PURE__ */ m("tr", { children: r.map((E, I) => {
|
|
4468
|
+
const V = (d == null ? void 0 : d.rowIndex) === p && (d == null ? void 0 : d.colIndex) === I;
|
|
4463
4469
|
return /* @__PURE__ */ m(
|
|
4464
4470
|
"td",
|
|
4465
4471
|
{
|
|
4466
|
-
onMouseLeave:
|
|
4472
|
+
onMouseLeave: V ? w : void 0,
|
|
4467
4473
|
children: /* @__PURE__ */ q("div", { className: u, children: [
|
|
4468
|
-
/* @__PURE__ */ m("span", { children:
|
|
4469
|
-
!ln(k[
|
|
4474
|
+
/* @__PURE__ */ m("span", { children: E.isColorContentsCurlyBrackets ? S({ row: k, col: E }) : k[E.key] }),
|
|
4475
|
+
!ln(k[E.key]) && E.isBeCopiedValue && /* @__PURE__ */ m(
|
|
4470
4476
|
he,
|
|
4471
4477
|
{
|
|
4472
4478
|
className: _({
|
|
4473
4479
|
[be.spTable__tdContentCopyIcon]: !0,
|
|
4474
|
-
[be.spTable__tdContentCopyIcon_copied]:
|
|
4480
|
+
[be.spTable__tdContentCopyIcon_copied]: V
|
|
4475
4481
|
}),
|
|
4476
|
-
name:
|
|
4482
|
+
name: V ? pe.Check : pe.Copy,
|
|
4477
4483
|
onClick: () => {
|
|
4478
|
-
const J = k[
|
|
4484
|
+
const J = k[E.key];
|
|
4479
4485
|
if (!J) return null;
|
|
4480
4486
|
y({
|
|
4481
4487
|
text: J,
|
|
4482
4488
|
rowIndex: p,
|
|
4483
|
-
colIndex:
|
|
4489
|
+
colIndex: I
|
|
4484
4490
|
});
|
|
4485
4491
|
}
|
|
4486
4492
|
}
|
|
4487
4493
|
)
|
|
4488
4494
|
] })
|
|
4489
4495
|
},
|
|
4490
|
-
`${p}:${
|
|
4496
|
+
`${p}:${I}`
|
|
4491
4497
|
);
|
|
4492
4498
|
}) }, p) : null) })
|
|
4493
|
-
] }) : g(),
|
|
4499
|
+
] }) : g(), H = () => n && Array.isArray(n) && n.length > 0 ? /* @__PURE__ */ m(
|
|
4494
4500
|
"div",
|
|
4495
4501
|
{
|
|
4496
4502
|
className: _({
|
|
4497
4503
|
[be.spStringsGroup]: !0
|
|
4498
4504
|
}),
|
|
4499
|
-
children: n.map((k, p) => k ? /* @__PURE__ */ m("div", { children: r.map((
|
|
4500
|
-
if (ln(k[
|
|
4505
|
+
children: n.map((k, p) => k ? /* @__PURE__ */ m("div", { children: r.map((E, I) => {
|
|
4506
|
+
if (ln(k[E.key]))
|
|
4501
4507
|
return null;
|
|
4502
|
-
const
|
|
4508
|
+
const V = (d == null ? void 0 : d.rowIndex) === p && (d == null ? void 0 : d.colIndex) === I;
|
|
4503
4509
|
return /* @__PURE__ */ q(
|
|
4504
4510
|
"div",
|
|
4505
4511
|
{
|
|
4506
4512
|
className: _({
|
|
4507
4513
|
[be.spStringsGroup__groupItem]: !0
|
|
4508
4514
|
}),
|
|
4509
|
-
onMouseLeave:
|
|
4515
|
+
onMouseLeave: V ? w : void 0,
|
|
4510
4516
|
children: [
|
|
4511
4517
|
/* @__PURE__ */ m(
|
|
4512
4518
|
"div",
|
|
@@ -4514,7 +4520,7 @@ const Or = (e) => `not ${e}`, Pr = (e, t) => {
|
|
|
4514
4520
|
className: _({
|
|
4515
4521
|
[be.spStringsGroup__groupItemHeader]: !0
|
|
4516
4522
|
}),
|
|
4517
|
-
children:
|
|
4523
|
+
children: E.title
|
|
4518
4524
|
}
|
|
4519
4525
|
),
|
|
4520
4526
|
/* @__PURE__ */ q(
|
|
@@ -4524,22 +4530,22 @@ const Or = (e) => `not ${e}`, Pr = (e, t) => {
|
|
|
4524
4530
|
[be.spStringsGroup__groupItemContent]: !0
|
|
4525
4531
|
}),
|
|
4526
4532
|
children: [
|
|
4527
|
-
/* @__PURE__ */ m("span", { children:
|
|
4528
|
-
|
|
4533
|
+
/* @__PURE__ */ m("span", { children: E.isColorContentsCurlyBrackets ? S({ row: k, col: E }) : k[E.key] }),
|
|
4534
|
+
E.isBeCopiedValue && /* @__PURE__ */ m(
|
|
4529
4535
|
he,
|
|
4530
4536
|
{
|
|
4531
4537
|
className: _({
|
|
4532
4538
|
[be.spStringsGroup__groupItemContentCopyIcon]: !0,
|
|
4533
|
-
[be.spStringsGroup__groupItemContentCopyIcon_copied]:
|
|
4539
|
+
[be.spStringsGroup__groupItemContentCopyIcon_copied]: V
|
|
4534
4540
|
}),
|
|
4535
|
-
name:
|
|
4541
|
+
name: V ? pe.Check : pe.Copy,
|
|
4536
4542
|
onClick: () => {
|
|
4537
|
-
const J = k[
|
|
4543
|
+
const J = k[E.key];
|
|
4538
4544
|
if (!J) return null;
|
|
4539
4545
|
y({
|
|
4540
4546
|
text: J,
|
|
4541
4547
|
rowIndex: p,
|
|
4542
|
-
colIndex:
|
|
4548
|
+
colIndex: I
|
|
4543
4549
|
});
|
|
4544
4550
|
}
|
|
4545
4551
|
}
|
|
@@ -4549,17 +4555,17 @@ const Or = (e) => `not ${e}`, Pr = (e, t) => {
|
|
|
4549
4555
|
)
|
|
4550
4556
|
]
|
|
4551
4557
|
},
|
|
4552
|
-
|
|
4558
|
+
I
|
|
4553
4559
|
);
|
|
4554
4560
|
}) }, p) : null)
|
|
4555
4561
|
}
|
|
4556
4562
|
) : g();
|
|
4557
|
-
return o ? a ?
|
|
4558
|
-
}, Is = "_spTabs_1citb_43",
|
|
4563
|
+
return o ? a ? L() : H() : L();
|
|
4564
|
+
}, Is = "_spTabs_1citb_43", Rs = "_spTabs_separated_1citb_48", js = "_spTabs__tabElement_1citb_48", As = "_spTabs__tabElement_active_1citb_83", Ds = "_spTabs__triggerTooltip_1citb_90", Re = {
|
|
4559
4565
|
spTabs: Is,
|
|
4560
|
-
spTabs_separated:
|
|
4566
|
+
spTabs_separated: Rs,
|
|
4561
4567
|
"spTabs--size-md": "_spTabs--size-md_1citb_48",
|
|
4562
|
-
spTabs__tabElement:
|
|
4568
|
+
spTabs__tabElement: js,
|
|
4563
4569
|
"spTabs--size-lg": "_spTabs--size-lg_1citb_51",
|
|
4564
4570
|
"spTabs--variant-contained": "_spTabs--variant-contained_1citb_54",
|
|
4565
4571
|
spTabs__tabElement_active: As,
|
|
@@ -4574,13 +4580,13 @@ const Or = (e) => `not ${e}`, Pr = (e, t) => {
|
|
|
4574
4580
|
variant: i = "contained",
|
|
4575
4581
|
size: r = "md"
|
|
4576
4582
|
} = e, s = _({
|
|
4577
|
-
[
|
|
4578
|
-
[
|
|
4579
|
-
[
|
|
4580
|
-
[
|
|
4583
|
+
[Re.spTabs]: !0,
|
|
4584
|
+
[Re.spTabs_separated]: n,
|
|
4585
|
+
[Re[`spTabs--variant-${i}`]]: i,
|
|
4586
|
+
[Re[`spTabs--size-${r}`]]: r,
|
|
4581
4587
|
...o && { [o]: !0 }
|
|
4582
4588
|
}), u = _({
|
|
4583
|
-
[
|
|
4589
|
+
[Re.spTabs__triggerTooltip]: !0
|
|
4584
4590
|
}), c = () => {
|
|
4585
4591
|
switch (r) {
|
|
4586
4592
|
case "md":
|
|
@@ -4595,8 +4601,8 @@ const Or = (e) => `not ${e}`, Pr = (e, t) => {
|
|
|
4595
4601
|
"div",
|
|
4596
4602
|
{
|
|
4597
4603
|
className: _({
|
|
4598
|
-
[
|
|
4599
|
-
[
|
|
4604
|
+
[Re.spTabs__tabElement]: !0,
|
|
4605
|
+
[Re.spTabs__tabElement_active]: y
|
|
4600
4606
|
}),
|
|
4601
4607
|
onClick: w,
|
|
4602
4608
|
children: [
|
|
@@ -4619,12 +4625,12 @@ const Or = (e) => `not ${e}`, Pr = (e, t) => {
|
|
|
4619
4625
|
}, ep = (e) => {
|
|
4620
4626
|
const { children: t, label: n, style: o, ...a } = e;
|
|
4621
4627
|
return /* @__PURE__ */ q("div", { className: Os.spTextWithLabel, style: { ...o }, children: [
|
|
4622
|
-
/* @__PURE__ */ m(
|
|
4628
|
+
/* @__PURE__ */ m(jt, { label: n }),
|
|
4623
4629
|
/* @__PURE__ */ m(Ee, { ...a, children: t })
|
|
4624
4630
|
] });
|
|
4625
4631
|
};
|
|
4626
4632
|
export {
|
|
4627
|
-
|
|
4633
|
+
Bs as Accordion,
|
|
4628
4634
|
Mo as ApplyButtons,
|
|
4629
4635
|
fn as BaseTooltip,
|
|
4630
4636
|
wt as Button,
|
|
@@ -4641,7 +4647,7 @@ export {
|
|
|
4641
4647
|
Je as InfoTooltip,
|
|
4642
4648
|
er as Input,
|
|
4643
4649
|
Ys as InputFiles,
|
|
4644
|
-
|
|
4650
|
+
jt as Label,
|
|
4645
4651
|
ia as Layer,
|
|
4646
4652
|
fr as MediaContext,
|
|
4647
4653
|
Gs as MediaContextProvider,
|