test-stpr-ui-kit 0.4.63 → 0.4.64
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
|
@@ -45,24 +45,24 @@ const Qo = (e) => /* @__PURE__ */ T.createElement("svg", { className: "stpr-icon
|
|
|
45
45
|
});
|
|
46
46
|
};
|
|
47
47
|
var pe = /* @__PURE__ */ ((e) => (e.ChevronDown = "chevronDown", e.Info = "info", e.Plus = "plus", e.SelectChevronDown = "selectChevronDown", e.Upload = "upload", e.Trash = "trash", e.Check = "check", e.Copy = "copy", e.Close = "close", e.PlusSquare = "plusSquare", e.PlusCircle = "plusCircle", e.WarningColor = "warningColor", e.Dots = "dots", e.HistoryClock = "historyClock", e.Minus = "minus", e.TerminalSquare = "terminalSquare", e.File = "file", e.InfoError = "infoError", e))(pe || {});
|
|
48
|
-
const gn = "
|
|
48
|
+
const gn = "_spAccordion_17brt_43", xn = "_spAccordion_noBorder_17brt_57", hn = "_spAccordion_noPadding_17brt_60", bn = "_spAccordion_open_17brt_63", yn = "_spAccordion__header_17brt_66", wn = "_spAccordion_noOpen_17brt_85", Cn = "_spAccordion__name_17brt_96", kn = "_spAccordion__name_hiddenExpand_17brt_107", Tn = "_spAccordion__icon_17brt_122", Nn = "_spAccordion__icon_hidden_17brt_128", En = "_spAccordion__icon_open_17brt_131", Sn = "_spAccordion__childrenWrapper_17brt_138", Rn = "_spAccordion__childrenWrapper_open_17brt_147", Fn = "_spAccordion__content_17brt_150", jn = "_spAccordion__content_open_17brt_156", de = {
|
|
49
49
|
spAccordion: gn,
|
|
50
50
|
spAccordion_noBorder: xn,
|
|
51
51
|
spAccordion_noPadding: hn,
|
|
52
52
|
spAccordion_open: bn,
|
|
53
53
|
spAccordion__header: yn,
|
|
54
54
|
spAccordion_noOpen: wn,
|
|
55
|
-
spAccordion__name:
|
|
56
|
-
spAccordion__name_hiddenExpand:
|
|
57
|
-
"spAccordion__name--level-1": "_spAccordion__name--level-
|
|
58
|
-
"spAccordion__name--level-2": "_spAccordion__name--level-
|
|
55
|
+
spAccordion__name: Cn,
|
|
56
|
+
spAccordion__name_hiddenExpand: kn,
|
|
57
|
+
"spAccordion__name--level-1": "_spAccordion__name--level-1_17brt_111",
|
|
58
|
+
"spAccordion__name--level-2": "_spAccordion__name--level-2_17brt_114",
|
|
59
59
|
spAccordion__icon: Tn,
|
|
60
60
|
spAccordion__icon_hidden: Nn,
|
|
61
61
|
spAccordion__icon_open: En,
|
|
62
62
|
spAccordion__childrenWrapper: Sn,
|
|
63
63
|
spAccordion__childrenWrapper_open: Rn,
|
|
64
64
|
spAccordion__content: Fn,
|
|
65
|
-
spAccordion__content_open:
|
|
65
|
+
spAccordion__content_open: jn
|
|
66
66
|
}, xp = (e) => {
|
|
67
67
|
const {
|
|
68
68
|
name: t,
|
|
@@ -78,8 +78,8 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
78
78
|
classNameTitle: u,
|
|
79
79
|
classNameIcon: g,
|
|
80
80
|
classNameChildrenWrapper: h
|
|
81
|
-
} = e, [w,
|
|
82
|
-
a || (
|
|
81
|
+
} = e, [w, C] = te(n), R = () => {
|
|
82
|
+
a || (i == null || i(!w), C(!w));
|
|
83
83
|
}, W = f({
|
|
84
84
|
[de.spAccordion]: !0,
|
|
85
85
|
[de.spAccordion_open]: w,
|
|
@@ -115,8 +115,8 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
115
115
|
] }),
|
|
116
116
|
/* @__PURE__ */ l("div", { className: m, children: /* @__PURE__ */ l("div", { className: F, children: o }) })
|
|
117
117
|
] });
|
|
118
|
-
},
|
|
119
|
-
spinner:
|
|
118
|
+
}, In = "_spinner_18qva_43", An = "_spinner__inner_18qva_54", ct = {
|
|
119
|
+
spinner: In,
|
|
120
120
|
spinner__inner: An,
|
|
121
121
|
"spinner-rotate": "_spinner-rotate_18qva_1",
|
|
122
122
|
"spinner--sm": "_spinner--sm_18qva_67",
|
|
@@ -149,7 +149,7 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
149
149
|
spButton_fullWidth: $n,
|
|
150
150
|
spButton_disabled: Hn,
|
|
151
151
|
spButton__spinner: Vn
|
|
152
|
-
},
|
|
152
|
+
}, kt = (e) => {
|
|
153
153
|
const {
|
|
154
154
|
color: t = "blue",
|
|
155
155
|
variant: o = "primary",
|
|
@@ -165,7 +165,7 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
165
165
|
isFullWidth: g = !1,
|
|
166
166
|
isOnlyIcon: h = !1,
|
|
167
167
|
noPadding: w = !1,
|
|
168
|
-
classNameRoot:
|
|
168
|
+
classNameRoot: C,
|
|
169
169
|
classNameIconContainerRoot: R
|
|
170
170
|
} = e, W = (b) => {
|
|
171
171
|
s || a == null || a(b);
|
|
@@ -189,7 +189,7 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
189
189
|
[we.spButton_fullWidth]: g,
|
|
190
190
|
[we.spButton_disabled]: s,
|
|
191
191
|
[we.spButton_loading]: u,
|
|
192
|
-
...
|
|
192
|
+
...C && { [C]: !0 }
|
|
193
193
|
});
|
|
194
194
|
return /* @__PURE__ */ l(
|
|
195
195
|
"button",
|
|
@@ -203,12 +203,13 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
203
203
|
children: q()
|
|
204
204
|
}
|
|
205
205
|
);
|
|
206
|
-
}, Yn = "
|
|
206
|
+
}, Yn = "_spApplyButtons_1l9jg_43", Gn = "_spApplyButtons__cancel_1l9jg_73", Kn = "_spApplyButtons__submit_1l9jg_76", We = {
|
|
207
207
|
spApplyButtons: Yn,
|
|
208
|
-
"spApplyButtons_align-right": "_spApplyButtons_align-
|
|
209
|
-
"spApplyButtons_align-left": "_spApplyButtons_align-
|
|
210
|
-
"spApplyButtons_align-center": "_spApplyButtons_align-
|
|
211
|
-
"spApplyButtons_mobile-column": "_spApplyButtons_mobile-
|
|
208
|
+
"spApplyButtons_align-right": "_spApplyButtons_align-right_1l9jg_48",
|
|
209
|
+
"spApplyButtons_align-left": "_spApplyButtons_align-left_1l9jg_51",
|
|
210
|
+
"spApplyButtons_align-center": "_spApplyButtons_align-center_1l9jg_54",
|
|
211
|
+
"spApplyButtons_mobile-column": "_spApplyButtons_mobile-column_1l9jg_57",
|
|
212
|
+
"spApplyButtons_mobile-column-reverse": "_spApplyButtons_mobile-column-reverse_1l9jg_65",
|
|
212
213
|
spApplyButtons__cancel: Gn,
|
|
213
214
|
spApplyButtons__submit: Kn
|
|
214
215
|
}, Xn = (e) => {
|
|
@@ -234,8 +235,8 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
234
235
|
[We.spApplyButtons__cancel]: !0
|
|
235
236
|
});
|
|
236
237
|
return /* @__PURE__ */ U("div", { className: g, children: [
|
|
237
|
-
n &&
|
|
238
|
-
|
|
238
|
+
n && /* @__PURE__ */ l(
|
|
239
|
+
kt,
|
|
239
240
|
{
|
|
240
241
|
type: "button",
|
|
241
242
|
variant: "secondary",
|
|
@@ -247,7 +248,7 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
247
248
|
}
|
|
248
249
|
),
|
|
249
250
|
r && /* @__PURE__ */ l(
|
|
250
|
-
|
|
251
|
+
kt,
|
|
251
252
|
{
|
|
252
253
|
type: "submit",
|
|
253
254
|
variant: "primary",
|
|
@@ -260,7 +261,7 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
260
261
|
}
|
|
261
262
|
)
|
|
262
263
|
] });
|
|
263
|
-
}, Zn = "
|
|
264
|
+
}, Zn = "_spBaseTooltip_b64jt_43", Qn = "_spBaseTooltip_noPadding_b64jt_70", Jn = "_spBaseTooltip__content_b64jt_88", dt = {
|
|
264
265
|
spBaseTooltip: Zn,
|
|
265
266
|
spBaseTooltip_noPadding: Qn,
|
|
266
267
|
spBaseTooltip__content: Jn
|
|
@@ -326,7 +327,7 @@ const et = (e) => {
|
|
|
326
327
|
classNameTooltip: g,
|
|
327
328
|
classNameBaseTooltipRoot: h,
|
|
328
329
|
classNameBaseTooltipContentRoot: w,
|
|
329
|
-
styleTooltip:
|
|
330
|
+
styleTooltip: C
|
|
330
331
|
} = e, [R, W] = te(!1), q = me(null), A = me(null), [b, m] = te(!1);
|
|
331
332
|
xo(
|
|
332
333
|
[q, A],
|
|
@@ -335,57 +336,57 @@ const et = (e) => {
|
|
|
335
336
|
},
|
|
336
337
|
R
|
|
337
338
|
);
|
|
338
|
-
const F = (
|
|
339
|
-
n &&
|
|
339
|
+
const F = (k) => {
|
|
340
|
+
n && k.stopPropagation(), !t && (R ? s && s() : r && r(), W(($) => o ? !$ : !0));
|
|
340
341
|
}, [P, O] = te({
|
|
341
342
|
visibility: "hidden",
|
|
342
343
|
opacity: 0,
|
|
343
344
|
left: "-9999px"
|
|
344
345
|
}), [Z, ie] = te(!1), re = ge(() => {
|
|
345
346
|
if (!q.current || !A.current) return;
|
|
346
|
-
const
|
|
347
|
+
const k = q.current.getBoundingClientRect(), $ = A.current.getBoundingClientRect();
|
|
347
348
|
let z = 0, c = 0;
|
|
348
349
|
switch (p) {
|
|
349
350
|
case le.Right:
|
|
350
|
-
z =
|
|
351
|
+
z = k.top + window.scrollY - ($.height - k.height) / 2, c = k.right + window.scrollX;
|
|
351
352
|
break;
|
|
352
353
|
case le.RightTop:
|
|
353
|
-
z =
|
|
354
|
+
z = k.top + window.scrollY, c = k.right + window.scrollX;
|
|
354
355
|
break;
|
|
355
356
|
case le.RightBottom:
|
|
356
|
-
z =
|
|
357
|
+
z = k.bottom + window.scrollY - $.height, c = k.right + window.scrollX;
|
|
357
358
|
break;
|
|
358
359
|
case le.Left:
|
|
359
|
-
z =
|
|
360
|
+
z = k.top + window.scrollY - ($.height - k.height) / 2, c = k.left + window.scrollX - $.width;
|
|
360
361
|
break;
|
|
361
362
|
case le.LeftTop:
|
|
362
|
-
z =
|
|
363
|
+
z = k.top + window.scrollY, c = k.left + window.scrollX - $.width;
|
|
363
364
|
break;
|
|
364
365
|
case le.LeftBottom:
|
|
365
|
-
z =
|
|
366
|
+
z = k.bottom + window.scrollY - $.height, c = k.left + window.scrollX - $.width;
|
|
366
367
|
break;
|
|
367
368
|
case le.Bottom:
|
|
368
|
-
z =
|
|
369
|
+
z = k.bottom + window.scrollY, c = k.left + window.scrollX - ($.width - k.width) / 2;
|
|
369
370
|
break;
|
|
370
371
|
case le.BottomLeft:
|
|
371
|
-
z =
|
|
372
|
+
z = k.bottom + window.scrollY, c = k.left + window.scrollX;
|
|
372
373
|
break;
|
|
373
374
|
case le.BottomRight:
|
|
374
|
-
z =
|
|
375
|
+
z = k.bottom + window.scrollY, c = k.right + window.scrollX - $.width;
|
|
375
376
|
break;
|
|
376
377
|
case le.Top:
|
|
377
|
-
z =
|
|
378
|
+
z = k.top + window.scrollY - $.height, c = k.left + window.scrollX - ($.width - k.width) / 2;
|
|
378
379
|
break;
|
|
379
380
|
case le.TopLeft:
|
|
380
|
-
z =
|
|
381
|
+
z = k.top + window.scrollY - $.height, c = k.left + window.scrollX;
|
|
381
382
|
break;
|
|
382
383
|
case le.TopRight:
|
|
383
|
-
z =
|
|
384
|
+
z = k.top + window.scrollY - $.height, c = k.right + window.scrollX - $.width;
|
|
384
385
|
break;
|
|
385
386
|
default:
|
|
386
|
-
z =
|
|
387
|
+
z = k.bottom + window.scrollY, c = k.left + window.scrollX;
|
|
387
388
|
}
|
|
388
|
-
z + $.height > window.innerHeight + window.scrollY && p.includes("bottom") ? z =
|
|
389
|
+
z + $.height > window.innerHeight + window.scrollY && p.includes("bottom") ? z = k.top + window.scrollY - $.height : z < window.scrollY && p.includes("top") && (z = k.bottom + window.scrollY), c + $.width > window.innerWidth + window.scrollX && p.includes("left") ? c = k.left + window.scrollX - $.width + k.width : c < window.scrollX && p.includes("right") && (c = k.right + window.scrollX - k.width), O((v) => ({
|
|
389
390
|
...v,
|
|
390
391
|
top: `${z}px`,
|
|
391
392
|
left: `${c}px`,
|
|
@@ -397,9 +398,9 @@ const et = (e) => {
|
|
|
397
398
|
b && re();
|
|
398
399
|
}, [b, re]), ne(() => {
|
|
399
400
|
if (!b) return;
|
|
400
|
-
const
|
|
401
|
-
return window.addEventListener("resize",
|
|
402
|
-
window.removeEventListener("resize",
|
|
401
|
+
const k = () => re();
|
|
402
|
+
return window.addEventListener("resize", k), window.addEventListener("scroll", k, !0), () => {
|
|
403
|
+
window.removeEventListener("resize", k), window.removeEventListener("scroll", k, !0);
|
|
403
404
|
};
|
|
404
405
|
}, [b, re]);
|
|
405
406
|
const ue = f({
|
|
@@ -420,7 +421,7 @@ const et = (e) => {
|
|
|
420
421
|
onClick: F,
|
|
421
422
|
onMouseEnter: () => t && ie(!0),
|
|
422
423
|
onMouseLeave: () => t && ie(!1),
|
|
423
|
-
style:
|
|
424
|
+
style: C,
|
|
424
425
|
children: [
|
|
425
426
|
/* @__PURE__ */ l("div", { ref: q, className: J, children: i }),
|
|
426
427
|
a && /* @__PURE__ */ l(ho, { node: Q, children: /* @__PURE__ */ l(
|
|
@@ -437,13 +438,13 @@ const et = (e) => {
|
|
|
437
438
|
]
|
|
438
439
|
}
|
|
439
440
|
);
|
|
440
|
-
}, tt = (e) => /* @__PURE__ */ l(et, { ...e, hover: !0, trigger: /* @__PURE__ */ l(xe, { name: pe.Info }) }), oa = "
|
|
441
|
+
}, tt = (e) => /* @__PURE__ */ l(et, { ...e, hover: !0, trigger: /* @__PURE__ */ l(xe, { name: pe.Info }) }), oa = "_spCheckbox_tgkwb_43", na = "_spCheckbox__control_tgkwb_49", aa = "_spCheckbox__label_tgkwb_52", ia = "_spCheckbox__box_tgkwb_63", ra = "_spCheckbox__box_checked_tgkwb_90", sa = "_spCheckbox__box_disabled_tgkwb_100", pa = "_spCheckbox__box_error_tgkwb_111", la = "_spCheckbox__tooltip_tgkwb_114", ca = "_spCheckbox__required_tgkwb_119", da = "_spCheckbox__error_tgkwb_125", Ce = {
|
|
441
442
|
spCheckbox: oa,
|
|
442
443
|
spCheckbox__control: na,
|
|
443
444
|
spCheckbox__label: aa,
|
|
444
445
|
spCheckbox__box: ia,
|
|
445
|
-
"spCheckbox__box--size-lg": "_spCheckbox__box--size-
|
|
446
|
-
"spCheckbox__box--size-md": "_spCheckbox__box--size-
|
|
446
|
+
"spCheckbox__box--size-lg": "_spCheckbox__box--size-lg_tgkwb_68",
|
|
447
|
+
"spCheckbox__box--size-md": "_spCheckbox__box--size-md_tgkwb_73",
|
|
447
448
|
spCheckbox__box_checked: ra,
|
|
448
449
|
spCheckbox__box_disabled: sa,
|
|
449
450
|
spCheckbox__box_error: pa,
|
|
@@ -466,28 +467,28 @@ const et = (e) => {
|
|
|
466
467
|
onMouseEnter: g,
|
|
467
468
|
classNameRoot: h,
|
|
468
469
|
classNameError: w
|
|
469
|
-
} = e,
|
|
470
|
-
[
|
|
470
|
+
} = e, C = f({
|
|
471
|
+
[Ce.spCheckbox]: !0,
|
|
471
472
|
...h && { [h]: !0 }
|
|
472
473
|
}), R = f({
|
|
473
|
-
[
|
|
474
|
-
[
|
|
475
|
-
[
|
|
476
|
-
[
|
|
477
|
-
[
|
|
474
|
+
[Ce.spCheckbox__box]: !0,
|
|
475
|
+
[Ce.spCheckbox__box_checked]: o,
|
|
476
|
+
[Ce.spCheckbox__box_disabled]: n,
|
|
477
|
+
[Ce[`spCheckbox__box--size-${t}`]]: t,
|
|
478
|
+
[Ce.spCheckbox__box_error]: s
|
|
478
479
|
}), W = f({
|
|
479
|
-
[
|
|
480
|
+
[Ce.spCheckbox__control]: !0
|
|
480
481
|
}), q = f({
|
|
481
|
-
[
|
|
482
|
+
[Ce.spCheckbox__label]: !0
|
|
482
483
|
}), A = f({
|
|
483
|
-
[
|
|
484
|
+
[Ce.spCheckbox__required]: !0
|
|
484
485
|
}), b = f({
|
|
485
|
-
[
|
|
486
|
+
[Ce.spCheckbox__error]: !0,
|
|
486
487
|
...w && { [w]: !0 }
|
|
487
488
|
}), m = f({
|
|
488
|
-
[
|
|
489
|
+
[Ce.spCheckbox__tooltip]: !0
|
|
489
490
|
});
|
|
490
|
-
return /* @__PURE__ */ U("div", { className:
|
|
491
|
+
return /* @__PURE__ */ U("div", { className: C, onMouseEnter: g, children: [
|
|
491
492
|
/* @__PURE__ */ U("label", { className: R, children: [
|
|
492
493
|
/* @__PURE__ */ l(
|
|
493
494
|
"input",
|
|
@@ -575,7 +576,7 @@ const et = (e) => {
|
|
|
575
576
|
);
|
|
576
577
|
});
|
|
577
578
|
Ne.displayName = "Text";
|
|
578
|
-
const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba = "_modalWrapper__content_1qgyc_92", ya = "_modalWrapper__header_1qgyc_95", wa = "_modalWrapper__subHeader_1qgyc_103",
|
|
579
|
+
const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba = "_modalWrapper__content_1qgyc_92", ya = "_modalWrapper__header_1qgyc_95", wa = "_modalWrapper__subHeader_1qgyc_103", Ca = "_modalWrapper__subHeader_onlySubHeader_1qgyc_111", ka = "_modalWrapper__footer_1qgyc_114", Ta = "_modalWrapper__closeButton_1qgyc_117", ve = {
|
|
579
580
|
modalWrapper: xa,
|
|
580
581
|
"modalWrapper--modalAlign-top": "_modalWrapper--modalAlign-top_1qgyc_48",
|
|
581
582
|
"modalWrapper--modalAlign-center": "_modalWrapper--modalAlign-center_1qgyc_51",
|
|
@@ -588,8 +589,8 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
588
589
|
modalWrapper__content: ba,
|
|
589
590
|
modalWrapper__header: ya,
|
|
590
591
|
modalWrapper__subHeader: wa,
|
|
591
|
-
modalWrapper__subHeader_onlySubHeader:
|
|
592
|
-
modalWrapper__footer:
|
|
592
|
+
modalWrapper__subHeader_onlySubHeader: Ca,
|
|
593
|
+
modalWrapper__footer: ka,
|
|
593
594
|
modalWrapper__closeButton: Ta,
|
|
594
595
|
"modalWrapper__closeButton--size-lg": "_modalWrapper__closeButton--size-lg_1qgyc_126",
|
|
595
596
|
"modalWrapper__closeButton--size-md": "_modalWrapper__closeButton--size-md_1qgyc_130",
|
|
@@ -611,7 +612,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
611
612
|
subHeader: g,
|
|
612
613
|
footer: h,
|
|
613
614
|
size: w = "lg"
|
|
614
|
-
} = e,
|
|
615
|
+
} = e, C = f({
|
|
615
616
|
[ve.modalWrapper]: !0,
|
|
616
617
|
[ve[`modalWrapper--modalAlign-${d}`]]: d,
|
|
617
618
|
[ve[`modalWrapper--textAlign-${p}`]]: p
|
|
@@ -640,7 +641,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
640
641
|
return O.style.position = "fixed", O.style.top = `-${P}px`, O.style.left = "0", O.style.right = "0", O.style.overflow = "hidden", () => {
|
|
641
642
|
O.style.position = "", O.style.top = "", O.style.left = "", O.style.right = "", O.style.overflow = "", window.scrollTo(0, P);
|
|
642
643
|
};
|
|
643
|
-
}, []), /* @__PURE__ */ l(_a, { zIndex: t, isHiddenModal: o, classNameRoot: i, children: /* @__PURE__ */ l("div", { className:
|
|
644
|
+
}, []), /* @__PURE__ */ l(_a, { zIndex: t, isHiddenModal: o, classNameRoot: i, children: /* @__PURE__ */ l("div", { className: C, children: /* @__PURE__ */ U("div", { className: R, style: s, children: [
|
|
644
645
|
(u || g) && /* @__PURE__ */ U("div", { className: b, children: [
|
|
645
646
|
typeof u == "string" ? /* @__PURE__ */ l(Ne, { type: "h3", children: u }) : u,
|
|
646
647
|
g && /* @__PURE__ */ l("div", { className: m, children: typeof g == "string" ? /* @__PURE__ */ l(Ne, { children: g }) : g })
|
|
@@ -648,7 +649,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
648
649
|
a && /* @__PURE__ */ l("div", { className: A, children: a }),
|
|
649
650
|
h && /* @__PURE__ */ l("div", { className: F, children: h }),
|
|
650
651
|
n && _ && /* @__PURE__ */ l(
|
|
651
|
-
|
|
652
|
+
kt,
|
|
652
653
|
{
|
|
653
654
|
classNameRoot: W,
|
|
654
655
|
classNameIconContainerRoot: q,
|
|
@@ -676,7 +677,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
676
677
|
mobile: g = "column",
|
|
677
678
|
align: h = "right",
|
|
678
679
|
modalAlign: w = "top",
|
|
679
|
-
textAlign:
|
|
680
|
+
textAlign: C = "left",
|
|
680
681
|
loading: R,
|
|
681
682
|
isVisibleCloseButton: W,
|
|
682
683
|
isHiddenModal: q,
|
|
@@ -689,7 +690,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
689
690
|
header: o,
|
|
690
691
|
onClose: u,
|
|
691
692
|
modalAlign: w,
|
|
692
|
-
textAlign:
|
|
693
|
+
textAlign: C,
|
|
693
694
|
subHeader: n,
|
|
694
695
|
isVisibleCloseButton: W,
|
|
695
696
|
isHiddenModal: q,
|
|
@@ -747,16 +748,16 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
747
748
|
/* @__PURE__ */ l("input", { ...i({}), disabled: n, name: a }),
|
|
748
749
|
o
|
|
749
750
|
] });
|
|
750
|
-
},
|
|
751
|
-
spDropdown:
|
|
752
|
-
spDropdown__labelText:
|
|
751
|
+
}, ja = "_spDropdown_1f4lf_43", Ia = "_spDropdown__labelText_1f4lf_54", Aa = "_spDropdown__tooltipContainer_1f4lf_62", La = "_spDropdown__dropdownList_1f4lf_67", Da = "_spDropdown__dropdownListHeader_1f4lf_73", Pa = "_spDropdown__dopdownListItem_1f4lf_80", Oa = "_spDropdown__dopdownListItem_textCenter_1f4lf_91", Ba = "_spDropdown__downloadListItemDescription_1f4lf_94", Ee = {
|
|
752
|
+
spDropdown: ja,
|
|
753
|
+
spDropdown__labelText: Ia,
|
|
753
754
|
spDropdown__tooltipContainer: Aa,
|
|
754
755
|
spDropdown__dropdownList: La,
|
|
755
756
|
spDropdown__dropdownListHeader: Da,
|
|
756
757
|
spDropdown__dopdownListItem: Pa,
|
|
757
758
|
spDropdown__dopdownListItem_textCenter: Oa,
|
|
758
759
|
spDropdown__downloadListItemDescription: Ba
|
|
759
|
-
},
|
|
760
|
+
}, Cp = (e) => {
|
|
760
761
|
const {
|
|
761
762
|
labelText: t = "Выпадающий список",
|
|
762
763
|
listName: o,
|
|
@@ -785,17 +786,17 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
785
786
|
actionOnClose: () => h(!1),
|
|
786
787
|
text: /* @__PURE__ */ U("div", { className: p, children: [
|
|
787
788
|
o && /* @__PURE__ */ l("div", { className: _, children: o }),
|
|
788
|
-
n.map((
|
|
789
|
+
n.map((C, R) => /* @__PURE__ */ U(
|
|
789
790
|
"div",
|
|
790
791
|
{
|
|
791
792
|
className: f({
|
|
792
793
|
[Ee.spDropdown__dopdownListItem]: !0,
|
|
793
|
-
[Ee.spDropdown__dopdownListItem_textCenter]:
|
|
794
|
+
[Ee.spDropdown__dopdownListItem_textCenter]: C.textCenter
|
|
794
795
|
}),
|
|
795
|
-
onClick:
|
|
796
|
+
onClick: C.onClick,
|
|
796
797
|
children: [
|
|
797
|
-
|
|
798
|
-
|
|
798
|
+
C.name,
|
|
799
|
+
C.description && /* @__PURE__ */ l("span", { className: u, children: C.description })
|
|
799
800
|
]
|
|
800
801
|
},
|
|
801
802
|
R
|
|
@@ -854,7 +855,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
854
855
|
spForm_withSeparator: qa,
|
|
855
856
|
"spForm_addMargin--size-lg": "_spForm_addMargin--size-lg_zefbj_67",
|
|
856
857
|
"spForm_addMargin--size-md": "_spForm_addMargin--size-md_zefbj_75"
|
|
857
|
-
},
|
|
858
|
+
}, kp = (e) => {
|
|
858
859
|
const {
|
|
859
860
|
size: t = "lg",
|
|
860
861
|
children: o,
|
|
@@ -880,7 +881,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
880
881
|
spLabel__text: Ha,
|
|
881
882
|
spLabel__tooltip: Va,
|
|
882
883
|
spLabel__required: Ya
|
|
883
|
-
},
|
|
884
|
+
}, It = (e) => {
|
|
884
885
|
const {
|
|
885
886
|
required: t,
|
|
886
887
|
label: o,
|
|
@@ -910,7 +911,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
910
911
|
}
|
|
911
912
|
) })
|
|
912
913
|
] });
|
|
913
|
-
}, Ga = "_spInput_l89ke_43", Ka = "_spInput_error_l89ke_48", Xa = "_spInput__control_l89ke_48", Za = "_spInput_absolutePositionError_l89ke_55", Qa = "_spInput__container_l89ke_58", Ja = "_spInput__control_filled_l89ke_77", ei = "_spInput__control_outlined_l89ke_81", ti = "_spInput__control_disabled_l89ke_85", oi = "_spInput__control_clearable_l89ke_89", ni = "_spInput__clear_l89ke_116", ai = "_spInput__error_l89ke_125", ii = "_spInput__error_absolutePosition_l89ke_132",
|
|
914
|
+
}, Ga = "_spInput_l89ke_43", Ka = "_spInput_error_l89ke_48", Xa = "_spInput__control_l89ke_48", Za = "_spInput_absolutePositionError_l89ke_55", Qa = "_spInput__container_l89ke_58", Ja = "_spInput__control_filled_l89ke_77", ei = "_spInput__control_outlined_l89ke_81", ti = "_spInput__control_disabled_l89ke_85", oi = "_spInput__control_clearable_l89ke_89", ni = "_spInput__clear_l89ke_116", ai = "_spInput__error_l89ke_125", ii = "_spInput__error_absolutePosition_l89ke_132", ke = {
|
|
914
915
|
spInput: Ga,
|
|
915
916
|
spInput_error: Ka,
|
|
916
917
|
spInput__control: Xa,
|
|
@@ -938,7 +939,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
938
939
|
pattern: g,
|
|
939
940
|
onMouseEnter: h,
|
|
940
941
|
infoTooltipText: w,
|
|
941
|
-
tooltipPosition:
|
|
942
|
+
tooltipPosition: C,
|
|
942
943
|
isVisibleDefaultTitle: R = !0,
|
|
943
944
|
placeholder: W = "Введите...",
|
|
944
945
|
classNameRoot: q,
|
|
@@ -947,37 +948,37 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
947
948
|
classNameBaseTooltipRoot: m,
|
|
948
949
|
...F
|
|
949
950
|
} = e, P = f({
|
|
950
|
-
[
|
|
951
|
-
[
|
|
952
|
-
[
|
|
951
|
+
[ke.spInput]: !0,
|
|
952
|
+
[ke.spInput_error]: !!d,
|
|
953
|
+
[ke.spInput_absolutePositionError]: s,
|
|
953
954
|
...q && { [q]: !0 }
|
|
954
955
|
}), O = f({
|
|
955
|
-
[
|
|
956
|
+
[ke.spInput__container]: !0
|
|
956
957
|
}), Z = f({
|
|
957
|
-
[
|
|
958
|
-
[
|
|
959
|
-
[
|
|
960
|
-
[
|
|
958
|
+
[ke.spInput__control]: !0,
|
|
959
|
+
[ke.spInput__control_disabled]: r,
|
|
960
|
+
[ke[`spInput__control_${i}`]]: i,
|
|
961
|
+
[ke.spInput__control_clearable]: u
|
|
961
962
|
}), ie = f({
|
|
962
|
-
[
|
|
963
|
+
[ke.spInput__clear]: !0
|
|
963
964
|
}), re = f({
|
|
964
|
-
[
|
|
965
|
-
[
|
|
965
|
+
[ke.spInput__error]: !0,
|
|
966
|
+
[ke.spInput__error_absolutePosition]: s,
|
|
966
967
|
...A && { [A]: !0 }
|
|
967
968
|
}), ue = f({
|
|
968
969
|
...b && { [b]: !0 }
|
|
969
970
|
}), ce = (Q) => {
|
|
970
971
|
n(Q, { name: _, value: "" });
|
|
971
972
|
}, G = (Q) => {
|
|
972
|
-
const { value:
|
|
973
|
-
g &&
|
|
973
|
+
const { value: k, name: $ } = Q.target;
|
|
974
|
+
g && k && !new RegExp(g).test(k) || n(Q, { value: k, name: $ });
|
|
974
975
|
};
|
|
975
976
|
return /* @__PURE__ */ U("div", { className: P, children: [
|
|
976
977
|
a && /* @__PURE__ */ l(
|
|
977
|
-
|
|
978
|
+
It,
|
|
978
979
|
{
|
|
979
980
|
classNameRoot: ue,
|
|
980
|
-
tooltipPosition:
|
|
981
|
+
tooltipPosition: C,
|
|
981
982
|
required: p,
|
|
982
983
|
label: a,
|
|
983
984
|
infoTooltipText: w,
|
|
@@ -1173,10 +1174,10 @@ var Tt = { exports: {} }, Ke = { exports: {} }, K = {};
|
|
|
1173
1174
|
* LICENSE file in the root directory of this source tree.
|
|
1174
1175
|
*/
|
|
1175
1176
|
var $t;
|
|
1176
|
-
function
|
|
1177
|
+
function Ci() {
|
|
1177
1178
|
if ($t) return K;
|
|
1178
1179
|
$t = 1;
|
|
1179
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, _ = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, w = e ? Symbol.for("react.lazy") : 60116,
|
|
1180
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, _ = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, w = e ? Symbol.for("react.lazy") : 60116, C = e ? Symbol.for("react.block") : 60121, R = e ? Symbol.for("react.fundamental") : 60117, W = e ? Symbol.for("react.responder") : 60118, q = e ? Symbol.for("react.scope") : 60119;
|
|
1180
1181
|
function A(m) {
|
|
1181
1182
|
if (typeof m == "object" && m !== null) {
|
|
1182
1183
|
var F = m.$$typeof;
|
|
@@ -1235,7 +1236,7 @@ function ki() {
|
|
|
1235
1236
|
}, K.isSuspense = function(m) {
|
|
1236
1237
|
return A(m) === u;
|
|
1237
1238
|
}, K.isValidElementType = function(m) {
|
|
1238
|
-
return typeof m == "string" || typeof m == "function" || m === n || m === p || m === i || m === a || m === u || m === g || typeof m == "object" && m !== null && (m.$$typeof === w || m.$$typeof === h || m.$$typeof === r || m.$$typeof === s || m.$$typeof === _ || m.$$typeof === R || m.$$typeof === W || m.$$typeof === q || m.$$typeof ===
|
|
1239
|
+
return typeof m == "string" || typeof m == "function" || m === n || m === p || m === i || m === a || m === u || m === g || typeof m == "object" && m !== null && (m.$$typeof === w || m.$$typeof === h || m.$$typeof === r || m.$$typeof === s || m.$$typeof === _ || m.$$typeof === R || m.$$typeof === W || m.$$typeof === q || m.$$typeof === C);
|
|
1239
1240
|
}, K.typeOf = A, K;
|
|
1240
1241
|
}
|
|
1241
1242
|
var X = {};
|
|
@@ -1248,12 +1249,12 @@ var X = {};
|
|
|
1248
1249
|
* LICENSE file in the root directory of this source tree.
|
|
1249
1250
|
*/
|
|
1250
1251
|
var Ht;
|
|
1251
|
-
function
|
|
1252
|
+
function ki() {
|
|
1252
1253
|
return Ht || (Ht = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1253
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, _ = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, w = e ? Symbol.for("react.lazy") : 60116,
|
|
1254
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, o = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, s = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, p = e ? Symbol.for("react.concurrent_mode") : 60111, _ = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, w = e ? Symbol.for("react.lazy") : 60116, C = e ? Symbol.for("react.block") : 60121, R = e ? Symbol.for("react.fundamental") : 60117, W = e ? Symbol.for("react.responder") : 60118, q = e ? Symbol.for("react.scope") : 60119;
|
|
1254
1255
|
function A(x) {
|
|
1255
1256
|
return typeof x == "string" || typeof x == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1256
|
-
x === n || x === p || x === i || x === a || x === u || x === g || typeof x == "object" && x !== null && (x.$$typeof === w || x.$$typeof === h || x.$$typeof === r || x.$$typeof === s || x.$$typeof === _ || x.$$typeof === R || x.$$typeof === W || x.$$typeof === q || x.$$typeof ===
|
|
1257
|
+
x === n || x === p || x === i || x === a || x === u || x === g || typeof x == "object" && x !== null && (x.$$typeof === w || x.$$typeof === h || x.$$typeof === r || x.$$typeof === s || x.$$typeof === _ || x.$$typeof === R || x.$$typeof === W || x.$$typeof === q || x.$$typeof === C);
|
|
1257
1258
|
}
|
|
1258
1259
|
function b(x) {
|
|
1259
1260
|
if (typeof x == "object" && x !== null) {
|
|
@@ -1287,7 +1288,7 @@ function Ci() {
|
|
|
1287
1288
|
}
|
|
1288
1289
|
}
|
|
1289
1290
|
}
|
|
1290
|
-
var m = d, F = p, P = s, O = r, Z = t, ie = _, re = n, ue = w, ce = h, G = o, J = i, Q = a,
|
|
1291
|
+
var m = d, F = p, P = s, O = r, Z = t, ie = _, re = n, ue = w, ce = h, G = o, J = i, Q = a, k = u, $ = !1;
|
|
1291
1292
|
function z(x) {
|
|
1292
1293
|
return $ || ($ = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), c(x) || b(x) === d;
|
|
1293
1294
|
}
|
|
@@ -1300,7 +1301,7 @@ function Ci() {
|
|
|
1300
1301
|
function N(x) {
|
|
1301
1302
|
return b(x) === r;
|
|
1302
1303
|
}
|
|
1303
|
-
function
|
|
1304
|
+
function I(x) {
|
|
1304
1305
|
return typeof x == "object" && x !== null && x.$$typeof === t;
|
|
1305
1306
|
}
|
|
1306
1307
|
function E(x) {
|
|
@@ -1309,7 +1310,7 @@ function Ci() {
|
|
|
1309
1310
|
function D(x) {
|
|
1310
1311
|
return b(x) === n;
|
|
1311
1312
|
}
|
|
1312
|
-
function
|
|
1313
|
+
function j(x) {
|
|
1313
1314
|
return b(x) === w;
|
|
1314
1315
|
}
|
|
1315
1316
|
function B(x) {
|
|
@@ -1327,12 +1328,12 @@ function Ci() {
|
|
|
1327
1328
|
function ae(x) {
|
|
1328
1329
|
return b(x) === u;
|
|
1329
1330
|
}
|
|
1330
|
-
X.AsyncMode = m, X.ConcurrentMode = F, X.ContextConsumer = P, X.ContextProvider = O, X.Element = Z, X.ForwardRef = ie, X.Fragment = re, X.Lazy = ue, X.Memo = ce, X.Portal = G, X.Profiler = J, X.StrictMode = Q, X.Suspense =
|
|
1331
|
+
X.AsyncMode = m, X.ConcurrentMode = F, X.ContextConsumer = P, X.ContextProvider = O, X.Element = Z, X.ForwardRef = ie, X.Fragment = re, X.Lazy = ue, X.Memo = ce, X.Portal = G, X.Profiler = J, X.StrictMode = Q, X.Suspense = k, X.isAsyncMode = z, X.isConcurrentMode = c, X.isContextConsumer = v, X.isContextProvider = N, X.isElement = I, X.isForwardRef = E, X.isFragment = D, X.isLazy = j, X.isMemo = B, X.isPortal = H, X.isProfiler = Y, X.isStrictMode = M, X.isSuspense = ae, X.isValidElementType = A, X.typeOf = b;
|
|
1331
1332
|
}()), X;
|
|
1332
1333
|
}
|
|
1333
1334
|
var Vt;
|
|
1334
|
-
function
|
|
1335
|
-
return Vt || (Vt = 1, process.env.NODE_ENV === "production" ? Ke.exports =
|
|
1335
|
+
function Co() {
|
|
1336
|
+
return Vt || (Vt = 1, process.env.NODE_ENV === "production" ? Ke.exports = Ci() : Ke.exports = ki()), Ke.exports;
|
|
1336
1337
|
}
|
|
1337
1338
|
/*
|
|
1338
1339
|
object-assign
|
|
@@ -1393,7 +1394,7 @@ function Lt() {
|
|
|
1393
1394
|
return ft = e, ft;
|
|
1394
1395
|
}
|
|
1395
1396
|
var vt, Kt;
|
|
1396
|
-
function
|
|
1397
|
+
function ko() {
|
|
1397
1398
|
return Kt || (Kt = 1, vt = Function.call.bind(Object.prototype.hasOwnProperty)), vt;
|
|
1398
1399
|
}
|
|
1399
1400
|
var gt, Xt;
|
|
@@ -1403,7 +1404,7 @@ function Ni() {
|
|
|
1403
1404
|
var e = function() {
|
|
1404
1405
|
};
|
|
1405
1406
|
if (process.env.NODE_ENV !== "production") {
|
|
1406
|
-
var t = Lt(), o = {}, n =
|
|
1407
|
+
var t = Lt(), o = {}, n = ko();
|
|
1407
1408
|
e = function(i) {
|
|
1408
1409
|
var r = "Warning: " + i;
|
|
1409
1410
|
typeof console < "u" && console.error(r);
|
|
@@ -1449,7 +1450,7 @@ var xt, Zt;
|
|
|
1449
1450
|
function Ei() {
|
|
1450
1451
|
if (Zt) return xt;
|
|
1451
1452
|
Zt = 1;
|
|
1452
|
-
var e =
|
|
1453
|
+
var e = Co(), t = Ti(), o = Lt(), n = ko(), a = Ni(), i = function() {
|
|
1453
1454
|
};
|
|
1454
1455
|
process.env.NODE_ENV !== "production" && (i = function(s) {
|
|
1455
1456
|
var d = "Warning: " + s;
|
|
@@ -1493,14 +1494,14 @@ function Ei() {
|
|
|
1493
1494
|
function w(c, v) {
|
|
1494
1495
|
return c === v ? c !== 0 || 1 / c === 1 / v : c !== c && v !== v;
|
|
1495
1496
|
}
|
|
1496
|
-
function
|
|
1497
|
+
function C(c, v) {
|
|
1497
1498
|
this.message = c, this.data = v && typeof v == "object" ? v : {}, this.stack = "";
|
|
1498
1499
|
}
|
|
1499
|
-
|
|
1500
|
+
C.prototype = Error.prototype;
|
|
1500
1501
|
function R(c) {
|
|
1501
1502
|
if (process.env.NODE_ENV !== "production")
|
|
1502
1503
|
var v = {}, N = 0;
|
|
1503
|
-
function
|
|
1504
|
+
function I(D, j, B, H, Y, M, ae) {
|
|
1504
1505
|
if (H = H || g, M = M || B, ae !== o) {
|
|
1505
1506
|
if (d) {
|
|
1506
1507
|
var x = new Error(
|
|
@@ -1515,18 +1516,18 @@ function Ei() {
|
|
|
1515
1516
|
), v[he] = !0, N++);
|
|
1516
1517
|
}
|
|
1517
1518
|
}
|
|
1518
|
-
return
|
|
1519
|
+
return j[B] == null ? D ? j[B] === null ? new C("The " + Y + " `" + M + "` is marked as required " + ("in `" + H + "`, but its value is `null`.")) : new C("The " + Y + " `" + M + "` is marked as required in " + ("`" + H + "`, but its value is `undefined`.")) : null : c(j, B, H, Y, M);
|
|
1519
1520
|
}
|
|
1520
|
-
var E =
|
|
1521
|
-
return E.isRequired =
|
|
1521
|
+
var E = I.bind(null, !1);
|
|
1522
|
+
return E.isRequired = I.bind(null, !0), E;
|
|
1522
1523
|
}
|
|
1523
1524
|
function W(c) {
|
|
1524
|
-
function v(N,
|
|
1525
|
-
var H = N[
|
|
1525
|
+
function v(N, I, E, D, j, B) {
|
|
1526
|
+
var H = N[I], Y = Q(H);
|
|
1526
1527
|
if (Y !== c) {
|
|
1527
|
-
var M =
|
|
1528
|
-
return new
|
|
1529
|
-
"Invalid " + D + " `" +
|
|
1528
|
+
var M = k(H);
|
|
1529
|
+
return new C(
|
|
1530
|
+
"Invalid " + D + " `" + j + "` of type " + ("`" + M + "` supplied to `" + E + "`, expected ") + ("`" + c + "`."),
|
|
1530
1531
|
{ expectedType: c }
|
|
1531
1532
|
);
|
|
1532
1533
|
}
|
|
@@ -1538,16 +1539,16 @@ function Ei() {
|
|
|
1538
1539
|
return R(r);
|
|
1539
1540
|
}
|
|
1540
1541
|
function A(c) {
|
|
1541
|
-
function v(N,
|
|
1542
|
+
function v(N, I, E, D, j) {
|
|
1542
1543
|
if (typeof c != "function")
|
|
1543
|
-
return new
|
|
1544
|
-
var B = N[
|
|
1544
|
+
return new C("Property `" + j + "` of component `" + E + "` has invalid PropType notation inside arrayOf.");
|
|
1545
|
+
var B = N[I];
|
|
1545
1546
|
if (!Array.isArray(B)) {
|
|
1546
1547
|
var H = Q(B);
|
|
1547
|
-
return new
|
|
1548
|
+
return new C("Invalid " + D + " `" + j + "` of type " + ("`" + H + "` supplied to `" + E + "`, expected an array."));
|
|
1548
1549
|
}
|
|
1549
1550
|
for (var Y = 0; Y < B.length; Y++) {
|
|
1550
|
-
var M = c(B, Y, E, D,
|
|
1551
|
+
var M = c(B, Y, E, D, j + "[" + Y + "]", o);
|
|
1551
1552
|
if (M instanceof Error)
|
|
1552
1553
|
return M;
|
|
1553
1554
|
}
|
|
@@ -1556,32 +1557,32 @@ function Ei() {
|
|
|
1556
1557
|
return R(v);
|
|
1557
1558
|
}
|
|
1558
1559
|
function b() {
|
|
1559
|
-
function c(v, N,
|
|
1560
|
-
var
|
|
1561
|
-
if (!s(
|
|
1562
|
-
var B = Q(
|
|
1563
|
-
return new
|
|
1560
|
+
function c(v, N, I, E, D) {
|
|
1561
|
+
var j = v[N];
|
|
1562
|
+
if (!s(j)) {
|
|
1563
|
+
var B = Q(j);
|
|
1564
|
+
return new C("Invalid " + E + " `" + D + "` of type " + ("`" + B + "` supplied to `" + I + "`, expected a single ReactElement."));
|
|
1564
1565
|
}
|
|
1565
1566
|
return null;
|
|
1566
1567
|
}
|
|
1567
1568
|
return R(c);
|
|
1568
1569
|
}
|
|
1569
1570
|
function m() {
|
|
1570
|
-
function c(v, N,
|
|
1571
|
-
var
|
|
1572
|
-
if (!e.isValidElementType(
|
|
1573
|
-
var B = Q(
|
|
1574
|
-
return new
|
|
1571
|
+
function c(v, N, I, E, D) {
|
|
1572
|
+
var j = v[N];
|
|
1573
|
+
if (!e.isValidElementType(j)) {
|
|
1574
|
+
var B = Q(j);
|
|
1575
|
+
return new C("Invalid " + E + " `" + D + "` of type " + ("`" + B + "` supplied to `" + I + "`, expected a single ReactElement type."));
|
|
1575
1576
|
}
|
|
1576
1577
|
return null;
|
|
1577
1578
|
}
|
|
1578
1579
|
return R(c);
|
|
1579
1580
|
}
|
|
1580
1581
|
function F(c) {
|
|
1581
|
-
function v(N,
|
|
1582
|
-
if (!(N[
|
|
1583
|
-
var B = c.name || g, H = z(N[
|
|
1584
|
-
return new
|
|
1582
|
+
function v(N, I, E, D, j) {
|
|
1583
|
+
if (!(N[I] instanceof c)) {
|
|
1584
|
+
var B = c.name || g, H = z(N[I]);
|
|
1585
|
+
return new C("Invalid " + D + " `" + j + "` of type " + ("`" + H + "` supplied to `" + E + "`, expected ") + ("instance of `" + B + "`."));
|
|
1585
1586
|
}
|
|
1586
1587
|
return null;
|
|
1587
1588
|
}
|
|
@@ -1592,28 +1593,28 @@ function Ei() {
|
|
|
1592
1593
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
1593
1594
|
"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])."
|
|
1594
1595
|
) : i("Invalid argument supplied to oneOf, expected an array.")), r;
|
|
1595
|
-
function v(N,
|
|
1596
|
-
for (var B = N[
|
|
1596
|
+
function v(N, I, E, D, j) {
|
|
1597
|
+
for (var B = N[I], H = 0; H < c.length; H++)
|
|
1597
1598
|
if (w(B, c[H]))
|
|
1598
1599
|
return null;
|
|
1599
1600
|
var Y = JSON.stringify(c, function(ae, x) {
|
|
1600
|
-
var he =
|
|
1601
|
+
var he = k(x);
|
|
1601
1602
|
return he === "symbol" ? String(x) : x;
|
|
1602
1603
|
});
|
|
1603
|
-
return new
|
|
1604
|
+
return new C("Invalid " + D + " `" + j + "` of value `" + String(B) + "` " + ("supplied to `" + E + "`, expected one of " + Y + "."));
|
|
1604
1605
|
}
|
|
1605
1606
|
return R(v);
|
|
1606
1607
|
}
|
|
1607
1608
|
function O(c) {
|
|
1608
|
-
function v(N,
|
|
1609
|
+
function v(N, I, E, D, j) {
|
|
1609
1610
|
if (typeof c != "function")
|
|
1610
|
-
return new
|
|
1611
|
-
var B = N[
|
|
1611
|
+
return new C("Property `" + j + "` of component `" + E + "` has invalid PropType notation inside objectOf.");
|
|
1612
|
+
var B = N[I], H = Q(B);
|
|
1612
1613
|
if (H !== "object")
|
|
1613
|
-
return new
|
|
1614
|
+
return new C("Invalid " + D + " `" + j + "` of type " + ("`" + H + "` supplied to `" + E + "`, expected an object."));
|
|
1614
1615
|
for (var Y in B)
|
|
1615
1616
|
if (n(B, Y)) {
|
|
1616
|
-
var M = c(B, Y, E, D,
|
|
1617
|
+
var M = c(B, Y, E, D, j + "." + Y, o);
|
|
1617
1618
|
if (M instanceof Error)
|
|
1618
1619
|
return M;
|
|
1619
1620
|
}
|
|
@@ -1631,39 +1632,39 @@ function Ei() {
|
|
|
1631
1632
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + $(N) + " at index " + v + "."
|
|
1632
1633
|
), r;
|
|
1633
1634
|
}
|
|
1634
|
-
function
|
|
1635
|
+
function I(E, D, j, B, H) {
|
|
1635
1636
|
for (var Y = [], M = 0; M < c.length; M++) {
|
|
1636
|
-
var ae = c[M], x = ae(E, D,
|
|
1637
|
+
var ae = c[M], x = ae(E, D, j, B, H, o);
|
|
1637
1638
|
if (x == null)
|
|
1638
1639
|
return null;
|
|
1639
1640
|
x.data && n(x.data, "expectedType") && Y.push(x.data.expectedType);
|
|
1640
1641
|
}
|
|
1641
1642
|
var he = Y.length > 0 ? ", expected one of type [" + Y.join(", ") + "]" : "";
|
|
1642
|
-
return new
|
|
1643
|
+
return new C("Invalid " + B + " `" + H + "` supplied to " + ("`" + j + "`" + he + "."));
|
|
1643
1644
|
}
|
|
1644
|
-
return R(
|
|
1645
|
+
return R(I);
|
|
1645
1646
|
}
|
|
1646
1647
|
function ie() {
|
|
1647
|
-
function c(v, N,
|
|
1648
|
-
return G(v[N]) ? null : new
|
|
1648
|
+
function c(v, N, I, E, D) {
|
|
1649
|
+
return G(v[N]) ? null : new C("Invalid " + E + " `" + D + "` supplied to " + ("`" + I + "`, expected a ReactNode."));
|
|
1649
1650
|
}
|
|
1650
1651
|
return R(c);
|
|
1651
1652
|
}
|
|
1652
|
-
function re(c, v, N,
|
|
1653
|
-
return new
|
|
1654
|
-
(c || "React class") + ": " + v + " type `" + N + "." +
|
|
1653
|
+
function re(c, v, N, I, E) {
|
|
1654
|
+
return new C(
|
|
1655
|
+
(c || "React class") + ": " + v + " type `" + N + "." + I + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + E + "`."
|
|
1655
1656
|
);
|
|
1656
1657
|
}
|
|
1657
1658
|
function ue(c) {
|
|
1658
|
-
function v(N,
|
|
1659
|
-
var B = N[
|
|
1659
|
+
function v(N, I, E, D, j) {
|
|
1660
|
+
var B = N[I], H = Q(B);
|
|
1660
1661
|
if (H !== "object")
|
|
1661
|
-
return new
|
|
1662
|
+
return new C("Invalid " + D + " `" + j + "` of type `" + H + "` " + ("supplied to `" + E + "`, expected `object`."));
|
|
1662
1663
|
for (var Y in c) {
|
|
1663
1664
|
var M = c[Y];
|
|
1664
1665
|
if (typeof M != "function")
|
|
1665
|
-
return re(E, D,
|
|
1666
|
-
var ae = M(B, Y, E, D,
|
|
1666
|
+
return re(E, D, j, Y, k(M));
|
|
1667
|
+
var ae = M(B, Y, E, D, j + "." + Y, o);
|
|
1667
1668
|
if (ae)
|
|
1668
1669
|
return ae;
|
|
1669
1670
|
}
|
|
@@ -1672,21 +1673,21 @@ function Ei() {
|
|
|
1672
1673
|
return R(v);
|
|
1673
1674
|
}
|
|
1674
1675
|
function ce(c) {
|
|
1675
|
-
function v(N,
|
|
1676
|
-
var B = N[
|
|
1676
|
+
function v(N, I, E, D, j) {
|
|
1677
|
+
var B = N[I], H = Q(B);
|
|
1677
1678
|
if (H !== "object")
|
|
1678
|
-
return new
|
|
1679
|
-
var Y = t({}, N[
|
|
1679
|
+
return new C("Invalid " + D + " `" + j + "` of type `" + H + "` " + ("supplied to `" + E + "`, expected `object`."));
|
|
1680
|
+
var Y = t({}, N[I], c);
|
|
1680
1681
|
for (var M in Y) {
|
|
1681
1682
|
var ae = c[M];
|
|
1682
1683
|
if (n(c, M) && typeof ae != "function")
|
|
1683
|
-
return re(E, D,
|
|
1684
|
+
return re(E, D, j, M, k(ae));
|
|
1684
1685
|
if (!ae)
|
|
1685
|
-
return new
|
|
1686
|
-
"Invalid " + D + " `" +
|
|
1686
|
+
return new C(
|
|
1687
|
+
"Invalid " + D + " `" + j + "` key `" + M + "` supplied to `" + E + "`.\nBad object: " + JSON.stringify(N[I], null, " ") + `
|
|
1687
1688
|
Valid keys: ` + JSON.stringify(Object.keys(c), null, " ")
|
|
1688
1689
|
);
|
|
1689
|
-
var x = ae(B, M, E, D,
|
|
1690
|
+
var x = ae(B, M, E, D, j + "." + M, o);
|
|
1690
1691
|
if (x)
|
|
1691
1692
|
return x;
|
|
1692
1693
|
}
|
|
@@ -1709,14 +1710,14 @@ Valid keys: ` + JSON.stringify(Object.keys(c), null, " ")
|
|
|
1709
1710
|
return !0;
|
|
1710
1711
|
var v = u(c);
|
|
1711
1712
|
if (v) {
|
|
1712
|
-
var N = v.call(c),
|
|
1713
|
+
var N = v.call(c), I;
|
|
1713
1714
|
if (v !== c.entries) {
|
|
1714
|
-
for (; !(
|
|
1715
|
-
if (!G(
|
|
1715
|
+
for (; !(I = N.next()).done; )
|
|
1716
|
+
if (!G(I.value))
|
|
1716
1717
|
return !1;
|
|
1717
1718
|
} else
|
|
1718
|
-
for (; !(
|
|
1719
|
-
var E =
|
|
1719
|
+
for (; !(I = N.next()).done; ) {
|
|
1720
|
+
var E = I.value;
|
|
1720
1721
|
if (E && !G(E[1]))
|
|
1721
1722
|
return !1;
|
|
1722
1723
|
}
|
|
@@ -1734,7 +1735,7 @@ Valid keys: ` + JSON.stringify(Object.keys(c), null, " ")
|
|
|
1734
1735
|
var v = typeof c;
|
|
1735
1736
|
return Array.isArray(c) ? "array" : c instanceof RegExp ? "object" : J(v, c) ? "symbol" : v;
|
|
1736
1737
|
}
|
|
1737
|
-
function
|
|
1738
|
+
function k(c) {
|
|
1738
1739
|
if (typeof c > "u" || c === null)
|
|
1739
1740
|
return "" + c;
|
|
1740
1741
|
var v = Q(c);
|
|
@@ -1747,7 +1748,7 @@ Valid keys: ` + JSON.stringify(Object.keys(c), null, " ")
|
|
|
1747
1748
|
return v;
|
|
1748
1749
|
}
|
|
1749
1750
|
function $(c) {
|
|
1750
|
-
var v =
|
|
1751
|
+
var v = k(c);
|
|
1751
1752
|
switch (v) {
|
|
1752
1753
|
case "array":
|
|
1753
1754
|
case "object":
|
|
@@ -1815,12 +1816,12 @@ function Si() {
|
|
|
1815
1816
|
}, ht;
|
|
1816
1817
|
}
|
|
1817
1818
|
if (process.env.NODE_ENV !== "production") {
|
|
1818
|
-
var Ri =
|
|
1819
|
+
var Ri = Co(), Fi = !0;
|
|
1819
1820
|
Tt.exports = Ei()(Ri.isElement, Fi);
|
|
1820
1821
|
} else
|
|
1821
1822
|
Tt.exports = Si()();
|
|
1822
|
-
var
|
|
1823
|
-
const S = /* @__PURE__ */ bo(
|
|
1823
|
+
var ji = Tt.exports;
|
|
1824
|
+
const S = /* @__PURE__ */ bo(ji), fe = S.oneOfType([S.string, S.number]), To = {
|
|
1824
1825
|
all: S.bool,
|
|
1825
1826
|
grid: S.bool,
|
|
1826
1827
|
aural: S.bool,
|
|
@@ -1832,7 +1833,7 @@ const S = /* @__PURE__ */ bo(Ii), fe = S.oneOfType([S.string, S.number]), To = {
|
|
|
1832
1833
|
tty: S.bool,
|
|
1833
1834
|
tv: S.bool,
|
|
1834
1835
|
embossed: S.bool
|
|
1835
|
-
},
|
|
1836
|
+
}, Ii = {
|
|
1836
1837
|
orientation: S.oneOf(["portrait", "landscape"]),
|
|
1837
1838
|
scan: S.oneOf(["progressive", "interlace"]),
|
|
1838
1839
|
aspectRatio: S.string,
|
|
@@ -1846,7 +1847,7 @@ const S = /* @__PURE__ */ bo(Ii), fe = S.oneOfType([S.string, S.number]), To = {
|
|
|
1846
1847
|
monochrome: S.bool,
|
|
1847
1848
|
resolution: fe,
|
|
1848
1849
|
type: Object.keys(To)
|
|
1849
|
-
}, { type: Tp, ...Ai } =
|
|
1850
|
+
}, { type: Tp, ...Ai } = Ii, Li = {
|
|
1850
1851
|
minAspectRatio: S.string,
|
|
1851
1852
|
maxAspectRatio: S.string,
|
|
1852
1853
|
minDeviceAspectRatio: S.string,
|
|
@@ -1958,7 +1959,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
1958
1959
|
s.current = a, d.current = performance.now();
|
|
1959
1960
|
const h = (w) => {
|
|
1960
1961
|
if (!d.current) return;
|
|
1961
|
-
const
|
|
1962
|
+
const C = w - d.current, R = Math.min(C / o, 1), W = R < 0.5 ? 4 * R * R * R : 1 - Math.pow(-2 * R + 2, 3) / 2, q = s.current + (p.current - s.current) * W, A = Math.max(0, Math.floor(q));
|
|
1962
1963
|
i(A), R < 1 && (r.current = requestAnimationFrame(h));
|
|
1963
1964
|
};
|
|
1964
1965
|
return r.current = requestAnimationFrame(h), () => {
|
|
@@ -2057,7 +2058,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2057
2058
|
disabled: g = !1,
|
|
2058
2059
|
required: h,
|
|
2059
2060
|
maxHeightList: w = nr,
|
|
2060
|
-
isVisibleDefaultTitle:
|
|
2061
|
+
isVisibleDefaultTitle: C = !0,
|
|
2061
2062
|
isScrollableList: R = !1,
|
|
2062
2063
|
isAbsolutePositionError: W = !1,
|
|
2063
2064
|
classNameRoot: q,
|
|
@@ -2092,7 +2093,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2092
2093
|
[_e.spSelect__value_empty]: !Z
|
|
2093
2094
|
}), Q = f({
|
|
2094
2095
|
[_e.spSelect__icon]: !0
|
|
2095
|
-
}),
|
|
2096
|
+
}), k = f({
|
|
2096
2097
|
[_e.spSelect__list]: !0,
|
|
2097
2098
|
[_e.spSelect__list_scrollable]: R
|
|
2098
2099
|
}), $ = f({
|
|
@@ -2104,7 +2105,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2104
2105
|
});
|
|
2105
2106
|
return /* @__PURE__ */ U("div", { className: ue, ref: O, children: [
|
|
2106
2107
|
p && /* @__PURE__ */ l(
|
|
2107
|
-
|
|
2108
|
+
It,
|
|
2108
2109
|
{
|
|
2109
2110
|
classNameRoot: $,
|
|
2110
2111
|
tooltipPosition: u,
|
|
@@ -2119,7 +2120,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2119
2120
|
"div",
|
|
2120
2121
|
{
|
|
2121
2122
|
tabIndex: g ? -1 : 0,
|
|
2122
|
-
title:
|
|
2123
|
+
title: C ? n : void 0,
|
|
2123
2124
|
className: G,
|
|
2124
2125
|
onClick: re,
|
|
2125
2126
|
children: [
|
|
@@ -2138,7 +2139,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2138
2139
|
F && /* @__PURE__ */ l(
|
|
2139
2140
|
"div",
|
|
2140
2141
|
{
|
|
2141
|
-
className:
|
|
2142
|
+
className: k,
|
|
2142
2143
|
style: R ? { maxHeight: `${w}px` } : {},
|
|
2143
2144
|
children: t.map((v) => {
|
|
2144
2145
|
const N = v.value === n;
|
|
@@ -2148,7 +2149,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2148
2149
|
className: f({
|
|
2149
2150
|
[_e.spSelect__option]: !0
|
|
2150
2151
|
}),
|
|
2151
|
-
onClick: (
|
|
2152
|
+
onClick: (I) => ie(I, v.value),
|
|
2152
2153
|
children: [
|
|
2153
2154
|
v.label,
|
|
2154
2155
|
N && /* @__PURE__ */ l(xe, { name: pe.Check, className: Q })
|
|
@@ -2172,18 +2173,18 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2172
2173
|
...i
|
|
2173
2174
|
};
|
|
2174
2175
|
return /* @__PURE__ */ l("div", { style: r, className: f(a, yr.skeleton) });
|
|
2175
|
-
}, Nt = (e) => e == null || e === "" ? !0 : typeof e != "string" && typeof e.toString != "function" ? !1 : e.toString().replace(/\s/g, "").length < 1, wr = "_spTable_1vuaj_43",
|
|
2176
|
+
}, Nt = (e) => e == null || e === "" ? !0 : typeof e != "string" && typeof e.toString != "function" ? !1 : e.toString().replace(/\s/g, "").length < 1, wr = "_spTable_1vuaj_43", Cr = "_spTable__tdContentCopyIcon_1vuaj_62", kr = "_spTable__tdContent_1vuaj_62", Tr = "_spTable__tdColorContent_1vuaj_72", Nr = "_spTable__tdContentCopyIcon_copied_1vuaj_85", Er = "_spTable__emptyPage_1vuaj_89", Sr = "_spStringsGroup_1vuaj_105", Rr = "_spStringsGroup__groupItem_1vuaj_119", Fr = "_spStringsGroup__groupItemHeader_1vuaj_134", jr = "_spStringsGroup__groupItemContent_1vuaj_138", Ir = "_spStringsGroup__groupItemContentCopyIcon_1vuaj_144", Ar = "_spStringsGroup__groupItemContentCopyIcon_copied_1vuaj_151", ye = {
|
|
2176
2177
|
spTable: wr,
|
|
2177
|
-
spTable__tdContentCopyIcon:
|
|
2178
|
-
spTable__tdContent:
|
|
2178
|
+
spTable__tdContentCopyIcon: Cr,
|
|
2179
|
+
spTable__tdContent: kr,
|
|
2179
2180
|
spTable__tdColorContent: Tr,
|
|
2180
2181
|
spTable__tdContentCopyIcon_copied: Nr,
|
|
2181
2182
|
spTable__emptyPage: Er,
|
|
2182
2183
|
spStringsGroup: Sr,
|
|
2183
2184
|
spStringsGroup__groupItem: Rr,
|
|
2184
2185
|
spStringsGroup__groupItemHeader: Fr,
|
|
2185
|
-
spStringsGroup__groupItemContent:
|
|
2186
|
-
spStringsGroup__groupItemContentCopyIcon:
|
|
2186
|
+
spStringsGroup__groupItemContent: jr,
|
|
2187
|
+
spStringsGroup__groupItemContentCopyIcon: Ir,
|
|
2187
2188
|
spStringsGroup__groupItemContentCopyIcon_copied: Ar
|
|
2188
2189
|
}, Fp = (e) => {
|
|
2189
2190
|
const {
|
|
@@ -2213,7 +2214,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2213
2214
|
});
|
|
2214
2215
|
}, w = () => {
|
|
2215
2216
|
g(null);
|
|
2216
|
-
},
|
|
2217
|
+
}, C = () => /* @__PURE__ */ l("div", { className: _, children: "Данные отсутствуют" }), R = ({
|
|
2217
2218
|
row: b,
|
|
2218
2219
|
col: m
|
|
2219
2220
|
}) => {
|
|
@@ -2267,7 +2268,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2267
2268
|
`${m}:${P}`
|
|
2268
2269
|
);
|
|
2269
2270
|
}) }, m) : null) })
|
|
2270
|
-
] }) :
|
|
2271
|
+
] }) : C(), q = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ l(
|
|
2271
2272
|
"div",
|
|
2272
2273
|
{
|
|
2273
2274
|
className: f({
|
|
@@ -2330,19 +2331,19 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2330
2331
|
);
|
|
2331
2332
|
}) }, m) : null)
|
|
2332
2333
|
}
|
|
2333
|
-
) :
|
|
2334
|
+
) : C();
|
|
2334
2335
|
return n ? a ? W() : q() : W();
|
|
2335
|
-
}, Lr = "
|
|
2336
|
+
}, Lr = "_spTabs_loi7t_43", Dr = "_spTabs_separated_loi7t_48", Pr = "_spTabs__tabElement_loi7t_48", Or = "_spTabs__tabElement_active_loi7t_83", Br = "_spTabs__triggerTooltip_loi7t_90", Fe = {
|
|
2336
2337
|
spTabs: Lr,
|
|
2337
2338
|
spTabs_separated: Dr,
|
|
2338
|
-
"spTabs--size-md": "_spTabs--size-
|
|
2339
|
+
"spTabs--size-md": "_spTabs--size-md_loi7t_48",
|
|
2339
2340
|
spTabs__tabElement: Pr,
|
|
2340
|
-
"spTabs--size-lg": "_spTabs--size-
|
|
2341
|
-
"spTabs--variant-contained": "_spTabs--variant-
|
|
2341
|
+
"spTabs--size-lg": "_spTabs--size-lg_loi7t_51",
|
|
2342
|
+
"spTabs--variant-contained": "_spTabs--variant-contained_loi7t_54",
|
|
2342
2343
|
spTabs__tabElement_active: Or,
|
|
2343
2344
|
spTabs__triggerTooltip: Br,
|
|
2344
|
-
"spTabs--variant-filled": "_spTabs--variant-
|
|
2345
|
-
},
|
|
2345
|
+
"spTabs--variant-filled": "_spTabs--variant-filled_loi7t_93"
|
|
2346
|
+
}, jp = (e) => {
|
|
2346
2347
|
const {
|
|
2347
2348
|
panes: t,
|
|
2348
2349
|
isSeparated: o = !1,
|
|
@@ -2367,7 +2368,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2367
2368
|
}
|
|
2368
2369
|
};
|
|
2369
2370
|
return /* @__PURE__ */ l("div", { className: s, children: t.map((_, u) => {
|
|
2370
|
-
const { name: g, active: h, onClick: w, infoTooltipText:
|
|
2371
|
+
const { name: g, active: h, onClick: w, infoTooltipText: C } = _;
|
|
2371
2372
|
return /* @__PURE__ */ U(
|
|
2372
2373
|
"div",
|
|
2373
2374
|
{
|
|
@@ -2378,11 +2379,11 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2378
2379
|
onClick: w,
|
|
2379
2380
|
children: [
|
|
2380
2381
|
/* @__PURE__ */ l(Ne, { type: p(), children: g }),
|
|
2381
|
-
!!
|
|
2382
|
+
!!C && /* @__PURE__ */ l(
|
|
2382
2383
|
tt,
|
|
2383
2384
|
{
|
|
2384
2385
|
classNameTriggerTooltip: d,
|
|
2385
|
-
text:
|
|
2386
|
+
text: C,
|
|
2386
2387
|
classNameBaseTooltipRoot: a
|
|
2387
2388
|
}
|
|
2388
2389
|
)
|
|
@@ -2393,14 +2394,14 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2393
2394
|
}) });
|
|
2394
2395
|
}, Wr = "_spTextWithLabel_1dr7p_1", zr = {
|
|
2395
2396
|
spTextWithLabel: Wr
|
|
2396
|
-
},
|
|
2397
|
+
}, Ip = (e) => {
|
|
2397
2398
|
const { children: t, label: o, style: n, ...a } = e;
|
|
2398
2399
|
return /* @__PURE__ */ U("div", { className: zr.spTextWithLabel, style: { ...n }, children: [
|
|
2399
|
-
/* @__PURE__ */ l(
|
|
2400
|
+
/* @__PURE__ */ l(It, { label: o }),
|
|
2400
2401
|
/* @__PURE__ */ l(Ne, { ...a, children: t })
|
|
2401
2402
|
] });
|
|
2402
2403
|
};
|
|
2403
|
-
function
|
|
2404
|
+
function Ie(e, t, o, n) {
|
|
2404
2405
|
function a(i) {
|
|
2405
2406
|
return i instanceof o ? i : new o(function(r) {
|
|
2406
2407
|
r(i);
|
|
@@ -3663,7 +3664,7 @@ const qr = [
|
|
|
3663
3664
|
// Windows
|
|
3664
3665
|
];
|
|
3665
3666
|
function $r(e) {
|
|
3666
|
-
return
|
|
3667
|
+
return Ie(this, void 0, void 0, function* () {
|
|
3667
3668
|
return Ze(e) && Hr(e.dataTransfer) ? Kr(e.dataTransfer, e.type) : Vr(e) ? Yr(e) : Array.isArray(e) && e.every((t) => "getFile" in t && typeof t.getFile == "function") ? Gr(e) : [];
|
|
3668
3669
|
});
|
|
3669
3670
|
}
|
|
@@ -3680,12 +3681,12 @@ function Yr(e) {
|
|
|
3680
3681
|
return Et(e.target.files).map((t) => Pe(t));
|
|
3681
3682
|
}
|
|
3682
3683
|
function Gr(e) {
|
|
3683
|
-
return
|
|
3684
|
+
return Ie(this, void 0, void 0, function* () {
|
|
3684
3685
|
return (yield Promise.all(e.map((o) => o.getFile()))).map((o) => Pe(o));
|
|
3685
3686
|
});
|
|
3686
3687
|
}
|
|
3687
3688
|
function Kr(e, t) {
|
|
3688
|
-
return
|
|
3689
|
+
return Ie(this, void 0, void 0, function* () {
|
|
3689
3690
|
if (e.items) {
|
|
3690
3691
|
const o = Et(e.items).filter((a) => a.kind === "file");
|
|
3691
3692
|
if (t !== "drop")
|
|
@@ -3722,7 +3723,7 @@ function Eo(e) {
|
|
|
3722
3723
|
], []);
|
|
3723
3724
|
}
|
|
3724
3725
|
function oo(e, t) {
|
|
3725
|
-
return
|
|
3726
|
+
return Ie(this, void 0, void 0, function* () {
|
|
3726
3727
|
var o;
|
|
3727
3728
|
if (globalThis.isSecureContext && typeof e.getAsFileSystemHandle == "function") {
|
|
3728
3729
|
const i = yield e.getAsFileSystemHandle();
|
|
@@ -3740,7 +3741,7 @@ function oo(e, t) {
|
|
|
3740
3741
|
});
|
|
3741
3742
|
}
|
|
3742
3743
|
function Zr(e) {
|
|
3743
|
-
return
|
|
3744
|
+
return Ie(this, void 0, void 0, function* () {
|
|
3744
3745
|
return e.isDirectory ? So(e) : Qr(e);
|
|
3745
3746
|
});
|
|
3746
3747
|
}
|
|
@@ -3749,7 +3750,7 @@ function So(e) {
|
|
|
3749
3750
|
return new Promise((o, n) => {
|
|
3750
3751
|
const a = [];
|
|
3751
3752
|
function i() {
|
|
3752
|
-
t.readEntries((r) =>
|
|
3753
|
+
t.readEntries((r) => Ie(this, void 0, void 0, function* () {
|
|
3753
3754
|
if (r.length) {
|
|
3754
3755
|
const s = Promise.all(r.map(Zr));
|
|
3755
3756
|
a.push(s), i();
|
|
@@ -3768,7 +3769,7 @@ function So(e) {
|
|
|
3768
3769
|
});
|
|
3769
3770
|
}
|
|
3770
3771
|
function Qr(e) {
|
|
3771
|
-
return
|
|
3772
|
+
return Ie(this, void 0, void 0, function* () {
|
|
3772
3773
|
return new Promise((t, o) => {
|
|
3773
3774
|
e.file((n) => {
|
|
3774
3775
|
const a = Pe(n, e.fullPath);
|
|
@@ -3872,19 +3873,19 @@ function ns(e, t) {
|
|
|
3872
3873
|
function as(e) {
|
|
3873
3874
|
if (Array.isArray(e)) return e;
|
|
3874
3875
|
}
|
|
3875
|
-
var is = typeof yt == "function" ? yt : yt.default,
|
|
3876
|
-
FileInvalidType:
|
|
3877
|
-
FileTooLarge:
|
|
3876
|
+
var is = typeof yt == "function" ? yt : yt.default, jo = "file-invalid-type", Io = "file-too-large", Ao = "file-too-small", rs = "too-many-files", wt = {
|
|
3877
|
+
FileInvalidType: jo,
|
|
3878
|
+
FileTooLarge: Io,
|
|
3878
3879
|
FileTooSmall: Ao
|
|
3879
3880
|
}, ss = function() {
|
|
3880
3881
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", o = t.split(","), n = o.length > 1 ? "one of ".concat(o.join(", ")) : o[0];
|
|
3881
3882
|
return {
|
|
3882
|
-
code:
|
|
3883
|
+
code: jo,
|
|
3883
3884
|
message: "File type must be ".concat(n)
|
|
3884
3885
|
};
|
|
3885
3886
|
}, ro = function(t) {
|
|
3886
3887
|
return {
|
|
3887
|
-
code:
|
|
3888
|
+
code: Io,
|
|
3888
3889
|
message: "File is larger than ".concat(t, " ").concat(t === 1 ? "byte" : "bytes")
|
|
3889
3890
|
};
|
|
3890
3891
|
}, so = function(t) {
|
|
@@ -3901,24 +3902,24 @@ function Lo(e, t) {
|
|
|
3901
3902
|
return [o, o ? null : ss(t)];
|
|
3902
3903
|
}
|
|
3903
3904
|
function Do(e, t, o) {
|
|
3904
|
-
if (
|
|
3905
|
-
if (
|
|
3905
|
+
if (je(e.size))
|
|
3906
|
+
if (je(t) && je(o)) {
|
|
3906
3907
|
if (e.size > o) return [!1, ro(o)];
|
|
3907
3908
|
if (e.size < t) return [!1, so(t)];
|
|
3908
3909
|
} else {
|
|
3909
|
-
if (
|
|
3910
|
-
if (
|
|
3910
|
+
if (je(t) && e.size < t) return [!1, so(t)];
|
|
3911
|
+
if (je(o) && e.size > o) return [!1, ro(o)];
|
|
3911
3912
|
}
|
|
3912
3913
|
return [!0, null];
|
|
3913
3914
|
}
|
|
3914
|
-
function
|
|
3915
|
+
function je(e) {
|
|
3915
3916
|
return e != null;
|
|
3916
3917
|
}
|
|
3917
3918
|
function ls(e) {
|
|
3918
3919
|
var t = e.files, o = e.accept, n = e.minSize, a = e.maxSize, i = e.multiple, r = e.maxFiles, s = e.validator;
|
|
3919
3920
|
return !i && t.length > 1 || i && r >= 1 && t.length > r ? !1 : t.every(function(d) {
|
|
3920
|
-
var p = Lo(d, o), _ = Me(p, 1), u = _[0], g = Do(d, n, a), h = Me(g, 1), w = h[0],
|
|
3921
|
-
return u && w && !
|
|
3921
|
+
var p = Lo(d, o), _ = Me(p, 1), u = _[0], g = Do(d, n, a), h = Me(g, 1), w = h[0], C = s ? s(d) : null;
|
|
3922
|
+
return u && w && !C;
|
|
3922
3923
|
});
|
|
3923
3924
|
}
|
|
3924
3925
|
function Qe(e) {
|
|
@@ -3957,7 +3958,7 @@ function us() {
|
|
|
3957
3958
|
return "showOpenFilePicker" in window;
|
|
3958
3959
|
}
|
|
3959
3960
|
function _s(e) {
|
|
3960
|
-
if (
|
|
3961
|
+
if (je(e)) {
|
|
3961
3962
|
var t = Object.entries(e).filter(function(o) {
|
|
3962
3963
|
var n = Me(o, 2), a = n[0], i = n[1], r = !0;
|
|
3963
3964
|
return Po(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(Oo)) && (console.warn('Skipped "'.concat(a, '" because an invalid file extension was provided.')), r = !1), r;
|
|
@@ -3974,7 +3975,7 @@ function _s(e) {
|
|
|
3974
3975
|
return e;
|
|
3975
3976
|
}
|
|
3976
3977
|
function fs(e) {
|
|
3977
|
-
if (
|
|
3978
|
+
if (je(e))
|
|
3978
3979
|
return Object.entries(e).reduce(function(t, o) {
|
|
3979
3980
|
var n = Me(o, 2), a = n[0], i = n[1];
|
|
3980
3981
|
return [].concat(no(t), [a], no(i));
|
|
@@ -3996,19 +3997,19 @@ function Oo(e) {
|
|
|
3996
3997
|
}
|
|
3997
3998
|
var xs = ["children"], hs = ["open"], bs = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], ys = ["refKey", "onChange", "onClick"];
|
|
3998
3999
|
function ws(e) {
|
|
3999
|
-
return Ts(e) ||
|
|
4000
|
+
return Ts(e) || ks(e) || Bo(e) || Cs();
|
|
4000
4001
|
}
|
|
4001
|
-
function
|
|
4002
|
+
function Cs() {
|
|
4002
4003
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
4003
4004
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
4004
4005
|
}
|
|
4005
|
-
function
|
|
4006
|
+
function ks(e) {
|
|
4006
4007
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
4007
4008
|
}
|
|
4008
4009
|
function Ts(e) {
|
|
4009
4010
|
if (Array.isArray(e)) return Rt(e);
|
|
4010
4011
|
}
|
|
4011
|
-
function
|
|
4012
|
+
function Ct(e, t) {
|
|
4012
4013
|
return Ss(e) || Es(e, t) || Bo(e, t) || Ns();
|
|
4013
4014
|
}
|
|
4014
4015
|
function Ns() {
|
|
@@ -4288,7 +4289,7 @@ Dt.propTypes = {
|
|
|
4288
4289
|
*/
|
|
4289
4290
|
validator: S.func
|
|
4290
4291
|
};
|
|
4291
|
-
var
|
|
4292
|
+
var jt = {
|
|
4292
4293
|
isFocused: !1,
|
|
4293
4294
|
isFileDialogActive: !1,
|
|
4294
4295
|
isDragActive: !1,
|
|
@@ -4298,15 +4299,15 @@ var It = {
|
|
|
4298
4299
|
fileRejections: []
|
|
4299
4300
|
};
|
|
4300
4301
|
function zo() {
|
|
4301
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = ee(ee({}, Wo), e), o = t.accept, n = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, d = t.maxFiles, p = t.onDragEnter, _ = t.onDragLeave, u = t.onDragOver, g = t.onDrop, h = t.onDropAccepted, w = t.onDropRejected,
|
|
4302
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = ee(ee({}, Wo), e), o = t.accept, n = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, d = t.maxFiles, p = t.onDragEnter, _ = t.onDragLeave, u = t.onDragOver, g = t.onDrop, h = t.onDropAccepted, w = t.onDropRejected, C = t.onFileDialogCancel, R = t.onFileDialogOpen, W = t.useFsAccessApi, q = t.autoFocus, A = t.preventDropOnDocument, b = t.noClick, m = t.noKeyboard, F = t.noDrag, P = t.noDragEventsBubbling, O = t.onError, Z = t.validator, ie = De(function() {
|
|
4302
4303
|
return fs(o);
|
|
4303
4304
|
}, [o]), re = De(function() {
|
|
4304
4305
|
return _s(o);
|
|
4305
4306
|
}, [o]), ue = De(function() {
|
|
4306
4307
|
return typeof R == "function" ? R : co;
|
|
4307
4308
|
}, [R]), ce = De(function() {
|
|
4308
|
-
return typeof
|
|
4309
|
-
}, [
|
|
4309
|
+
return typeof C == "function" ? C : co;
|
|
4310
|
+
}, [C]), G = me(null), J = me(null), Q = Vo(Fs, jt), k = Ct(Q, 2), $ = k[0], z = k[1], c = $.isFocused, v = $.isFileDialogActive, N = me(typeof window < "u" && window.isSecureContext && W && us()), I = function() {
|
|
4310
4311
|
!N.current && v && setTimeout(function() {
|
|
4311
4312
|
if (J.current) {
|
|
4312
4313
|
var L = J.current.files;
|
|
@@ -4317,8 +4318,8 @@ function zo() {
|
|
|
4317
4318
|
}, 300);
|
|
4318
4319
|
};
|
|
4319
4320
|
ne(function() {
|
|
4320
|
-
return window.addEventListener("focus",
|
|
4321
|
-
window.removeEventListener("focus",
|
|
4321
|
+
return window.addEventListener("focus", I, !1), function() {
|
|
4322
|
+
window.removeEventListener("focus", I, !1);
|
|
4322
4323
|
};
|
|
4323
4324
|
}, [J, v, ce, N]);
|
|
4324
4325
|
var E = me([]), D = function(L) {
|
|
@@ -4332,7 +4333,7 @@ function zo() {
|
|
|
4332
4333
|
return !n && q && G.current && G.current.focus(), function() {
|
|
4333
4334
|
};
|
|
4334
4335
|
}, [G, q, n]);
|
|
4335
|
-
var
|
|
4336
|
+
var j = ge(function(y) {
|
|
4336
4337
|
O ? O(y) : console.error(y);
|
|
4337
4338
|
}, [O]), B = ge(function(y) {
|
|
4338
4339
|
y.preventDefault(), y.persist(), $e(y), E.current = [].concat(ws(E.current), [y.target]), Xe(y) && Promise.resolve(a(y)).then(function(L) {
|
|
@@ -4354,9 +4355,9 @@ function zo() {
|
|
|
4354
4355
|
}), p && p(y);
|
|
4355
4356
|
}
|
|
4356
4357
|
}).catch(function(L) {
|
|
4357
|
-
return
|
|
4358
|
+
return j(L);
|
|
4358
4359
|
});
|
|
4359
|
-
}, [a, p,
|
|
4360
|
+
}, [a, p, j, P, ie, r, i, s, d, Z]), H = ge(function(y) {
|
|
4360
4361
|
y.preventDefault(), y.persist(), $e(y);
|
|
4361
4362
|
var L = Xe(y);
|
|
4362
4363
|
if (L && y.dataTransfer)
|
|
@@ -4379,7 +4380,7 @@ function zo() {
|
|
|
4379
4380
|
}, [G, _, P]), M = ge(function(y, L) {
|
|
4380
4381
|
var oe = [], se = [];
|
|
4381
4382
|
y.forEach(function(be) {
|
|
4382
|
-
var Be = Lo(be, ie), Le =
|
|
4383
|
+
var Be = Lo(be, ie), Le = Ct(Be, 2), nt = Le[0], at = Le[1], it = Do(be, r, i), He = Ct(it, 2), rt = He[0], st = He[1], pt = Z ? Z(be) : null;
|
|
4383
4384
|
if (nt && rt && !pt)
|
|
4384
4385
|
oe.push(be);
|
|
4385
4386
|
else {
|
|
@@ -4406,11 +4407,11 @@ function zo() {
|
|
|
4406
4407
|
y.preventDefault(), y.persist(), $e(y), E.current = [], Xe(y) && Promise.resolve(a(y)).then(function(L) {
|
|
4407
4408
|
Qe(y) && !P || M(L, y);
|
|
4408
4409
|
}).catch(function(L) {
|
|
4409
|
-
return
|
|
4410
|
+
return j(L);
|
|
4410
4411
|
}), z({
|
|
4411
4412
|
type: "reset"
|
|
4412
4413
|
});
|
|
4413
|
-
}, [a, M,
|
|
4414
|
+
}, [a, M, j, P]), x = ge(function() {
|
|
4414
4415
|
if (N.current) {
|
|
4415
4416
|
z({
|
|
4416
4417
|
type: "openDialog"
|
|
@@ -4428,14 +4429,14 @@ function zo() {
|
|
|
4428
4429
|
}).catch(function(L) {
|
|
4429
4430
|
vs(L) ? (ce(L), z({
|
|
4430
4431
|
type: "closeDialog"
|
|
4431
|
-
})) : gs(L) ? (N.current = !1, J.current ? (J.current.value = null, J.current.click()) :
|
|
4432
|
+
})) : gs(L) ? (N.current = !1, J.current ? (J.current.value = null, J.current.click()) : j(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."))) : j(L);
|
|
4432
4433
|
});
|
|
4433
4434
|
return;
|
|
4434
4435
|
}
|
|
4435
4436
|
J.current && (z({
|
|
4436
4437
|
type: "openDialog"
|
|
4437
4438
|
}), ue(), J.current.value = null, J.current.click());
|
|
4438
|
-
}, [z, ue, ce, W, M,
|
|
4439
|
+
}, [z, ue, ce, W, M, j, re, s]), he = ge(function(y) {
|
|
4439
4440
|
!G.current || !G.current.isEqualNode(y.target) || (y.key === " " || y.key === "Enter" || y.keyCode === 32 || y.keyCode === 13) && (y.preventDefault(), x());
|
|
4440
4441
|
}, [G, x]), Se = ge(function() {
|
|
4441
4442
|
z({
|
|
@@ -4519,7 +4520,7 @@ function Fs(e, t) {
|
|
|
4519
4520
|
isFocused: !1
|
|
4520
4521
|
});
|
|
4521
4522
|
case "openDialog":
|
|
4522
|
-
return ee(ee({},
|
|
4523
|
+
return ee(ee({}, jt), {}, {
|
|
4523
4524
|
isFileDialogActive: !0
|
|
4524
4525
|
});
|
|
4525
4526
|
case "closeDialog":
|
|
@@ -4539,14 +4540,14 @@ function Fs(e, t) {
|
|
|
4539
4540
|
isDragReject: t.isDragReject
|
|
4540
4541
|
});
|
|
4541
4542
|
case "reset":
|
|
4542
|
-
return ee({},
|
|
4543
|
+
return ee({}, jt);
|
|
4543
4544
|
default:
|
|
4544
4545
|
return e;
|
|
4545
4546
|
}
|
|
4546
4547
|
}
|
|
4547
4548
|
function co() {
|
|
4548
4549
|
}
|
|
4549
|
-
const
|
|
4550
|
+
const js = (e) => zo(e), Is = (e) => {
|
|
4550
4551
|
switch (e.code) {
|
|
4551
4552
|
case wt.FileInvalidType:
|
|
4552
4553
|
return "Неверный формат файла";
|
|
@@ -4667,13 +4668,13 @@ const Is = (e) => zo(e), js = (e) => {
|
|
|
4667
4668
|
classNameRoot: u,
|
|
4668
4669
|
loading: g,
|
|
4669
4670
|
error: h
|
|
4670
|
-
} = e, [w,
|
|
4671
|
+
} = e, [w, C] = te([]), R = ge(
|
|
4671
4672
|
(v, N) => {
|
|
4672
|
-
const
|
|
4673
|
+
const I = N.map(({ file: D, errors: j }) => ({
|
|
4673
4674
|
file: D,
|
|
4674
|
-
errors:
|
|
4675
|
+
errors: j
|
|
4675
4676
|
}));
|
|
4676
|
-
if (
|
|
4677
|
+
if (C([...I, ...w]), !s) {
|
|
4677
4678
|
a(v, n);
|
|
4678
4679
|
return;
|
|
4679
4680
|
}
|
|
@@ -4681,7 +4682,7 @@ const Is = (e) => zo(e), js = (e) => {
|
|
|
4681
4682
|
a(E, n);
|
|
4682
4683
|
},
|
|
4683
4684
|
[w, d, s, n, a]
|
|
4684
|
-
), { getRootProps: W, getInputProps: q, isDragReject: A } =
|
|
4685
|
+
), { getRootProps: W, getInputProps: q, isDragReject: A } = js({
|
|
4685
4686
|
accept: i,
|
|
4686
4687
|
onDrop: R,
|
|
4687
4688
|
multiple: s,
|
|
@@ -4710,15 +4711,15 @@ const Is = (e) => zo(e), js = (e) => {
|
|
|
4710
4711
|
if (g)
|
|
4711
4712
|
return;
|
|
4712
4713
|
if (N) {
|
|
4713
|
-
const D = [...w],
|
|
4714
|
-
D.splice(
|
|
4714
|
+
const D = [...w], j = D.findIndex((B) => B.file.name === v);
|
|
4715
|
+
D.splice(j, 1), C(D);
|
|
4715
4716
|
return;
|
|
4716
4717
|
}
|
|
4717
|
-
const
|
|
4718
|
-
|
|
4718
|
+
const I = [...d], E = I.findIndex((D) => D.name === v);
|
|
4719
|
+
I.splice(E, 1), a(I, n);
|
|
4719
4720
|
}, G = (v) => {
|
|
4720
|
-
v.stopPropagation(), a([], n),
|
|
4721
|
-
}, J = (v) => Object.values(v).flatMap((N) => N.map((
|
|
4721
|
+
v.stopPropagation(), a([], n), C([]), m(!1);
|
|
4722
|
+
}, J = (v) => Object.values(v).flatMap((N) => N.map((I) => I.toUpperCase())).join(", "), Q = () => {
|
|
4722
4723
|
if (b) {
|
|
4723
4724
|
const v = J(i);
|
|
4724
4725
|
return /* @__PURE__ */ l(
|
|
@@ -4741,8 +4742,8 @@ const Is = (e) => zo(e), js = (e) => {
|
|
|
4741
4742
|
classNameRoot: f(V.spUploadFiles__fileName)
|
|
4742
4743
|
}
|
|
4743
4744
|
);
|
|
4744
|
-
},
|
|
4745
|
-
const E = N ? (N == null ? void 0 : N.length) > 0 : void 0, D = () => N ? N == null ? void 0 : N.map(
|
|
4745
|
+
}, k = () => /* @__PURE__ */ l("ul", { className: re, children: F.map(({ file: v, errors: N }, I) => {
|
|
4746
|
+
const E = N ? (N == null ? void 0 : N.length) > 0 : void 0, D = () => N ? N == null ? void 0 : N.map(Is).join(", ") : "";
|
|
4746
4747
|
return /* @__PURE__ */ U(
|
|
4747
4748
|
"li",
|
|
4748
4749
|
{
|
|
@@ -4750,8 +4751,8 @@ const Is = (e) => zo(e), js = (e) => {
|
|
|
4750
4751
|
V.spUploadFiles__fileNamesListItem,
|
|
4751
4752
|
E && V.spUploadFiles__fileNamesListItem_error
|
|
4752
4753
|
),
|
|
4753
|
-
onClick: (
|
|
4754
|
-
|
|
4754
|
+
onClick: (j) => {
|
|
4755
|
+
j.stopPropagation();
|
|
4755
4756
|
},
|
|
4756
4757
|
children: [
|
|
4757
4758
|
/* @__PURE__ */ l(
|
|
@@ -4789,17 +4790,17 @@ const Is = (e) => zo(e), js = (e) => {
|
|
|
4789
4790
|
"div",
|
|
4790
4791
|
{
|
|
4791
4792
|
className: f(V.spUploadFiles__fileNamesListItemDelete),
|
|
4792
|
-
onClick: (
|
|
4793
|
-
|
|
4793
|
+
onClick: (j) => {
|
|
4794
|
+
j.stopPropagation(), ce(v.name, E);
|
|
4794
4795
|
},
|
|
4795
4796
|
children: /* @__PURE__ */ l(xe, { name: pe.Close })
|
|
4796
4797
|
}
|
|
4797
4798
|
)
|
|
4798
4799
|
]
|
|
4799
4800
|
},
|
|
4800
|
-
|
|
4801
|
+
I
|
|
4801
4802
|
);
|
|
4802
|
-
}) }), $ = () => s ?
|
|
4803
|
+
}) }), $ = () => s ? k() : Q(), z = () => /* @__PURE__ */ l(
|
|
4803
4804
|
Ye,
|
|
4804
4805
|
{
|
|
4805
4806
|
classNameRoot: V.spUploadFiles__placeholder,
|
|
@@ -4848,20 +4849,20 @@ export {
|
|
|
4848
4849
|
xp as Accordion,
|
|
4849
4850
|
Xn as ApplyButtons,
|
|
4850
4851
|
go as BaseTooltip,
|
|
4851
|
-
|
|
4852
|
+
kt as Button,
|
|
4852
4853
|
hp as Checkbox,
|
|
4853
4854
|
yp as Confirm,
|
|
4854
4855
|
wp as ContextMenu,
|
|
4855
4856
|
Fa as DefaultDropzone,
|
|
4856
|
-
|
|
4857
|
+
Cp as Dropdown,
|
|
4857
4858
|
pe as EIconName,
|
|
4858
4859
|
le as ETooltipPosition,
|
|
4859
4860
|
Ye as EllipsisTextWithTooltip,
|
|
4860
|
-
|
|
4861
|
+
kp as Form,
|
|
4861
4862
|
xe as Icon,
|
|
4862
4863
|
tt as InfoTooltip,
|
|
4863
4864
|
ri as Input,
|
|
4864
|
-
|
|
4865
|
+
It as Label,
|
|
4865
4866
|
_a as Layer,
|
|
4866
4867
|
si as MediaContext,
|
|
4867
4868
|
Np as MediaContextProvider,
|
|
@@ -4872,9 +4873,9 @@ export {
|
|
|
4872
4873
|
Rp as Skeleton,
|
|
4873
4874
|
vo as Spinner,
|
|
4874
4875
|
Fp as Table,
|
|
4875
|
-
|
|
4876
|
+
jp as Tabs,
|
|
4876
4877
|
Ne as Text,
|
|
4877
|
-
|
|
4878
|
+
Ip as TextWithLabel,
|
|
4878
4879
|
et as Tooltip,
|
|
4879
4880
|
Ap as UploadFiles,
|
|
4880
4881
|
Ki as useAnimatedValue,
|