test-stpr-ui-kit 0.4.63 → 0.4.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/test-stpr-ui-kit.css +1 -1
- package/dist/test-stpr-ui-kit.es.d.ts +5 -2
- package/dist/test-stpr-ui-kit.js +303 -300
- package/dist/test-stpr-ui-kit.umd.cjs +10 -10
- package/package.json +1 -1
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_14avc_43", xn = "_spAccordion_noBorder_14avc_60", hn = "_spAccordion_noPadding_14avc_63", bn = "_spAccordion_open_14avc_66", yn = "_spAccordion__header_14avc_69", wn = "_spAccordion_noOpen_14avc_88", Cn = "_spAccordion__name_14avc_99", kn = "_spAccordion__name_hiddenExpand_14avc_110", Tn = "_spAccordion__icon_14avc_125", Nn = "_spAccordion__icon_hidden_14avc_131", En = "_spAccordion__icon_open_14avc_134", Sn = "_spAccordion__childrenWrapper_14avc_141", Rn = "_spAccordion__childrenWrapper_open_14avc_150", Fn = "_spAccordion__content_14avc_153", jn = "_spAccordion__content_open_14avc_159", 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_14avc_114",
|
|
58
|
+
"spAccordion__name--level-2": "_spAccordion__name--level-2_14avc_117",
|
|
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",
|
|
@@ -135,7 +135,7 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
135
135
|
children: /* @__PURE__ */ l("div", { className: ct.spinner__inner })
|
|
136
136
|
}
|
|
137
137
|
);
|
|
138
|
-
}, Ln = "
|
|
138
|
+
}, Ln = "_spButton_18vch_43", Dn = "_spButton_noPadding_18vch_62", Pn = "_spButton_onlyIcon_18vch_65", On = "_spButton__iconContainer_18vch_73", Bn = "_spButton_link_18vch_76", Wn = "_spButton__text_18vch_80", zn = "_spButton_primary_18vch_92", Mn = "_spButton_blue_18vch_92", Un = "_spButton_white_18vch_102", qn = "_spButton_secondary_18vch_112", $n = "_spButton_fullWidth_18vch_132", Hn = "_spButton_disabled_18vch_135", Vn = "_spButton__spinner_18vch_144", we = {
|
|
139
139
|
spButton: Ln,
|
|
140
140
|
spButton_noPadding: Dn,
|
|
141
141
|
spButton_onlyIcon: Pn,
|
|
@@ -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) => {
|
|
@@ -217,50 +218,52 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
217
218
|
align: o = "center",
|
|
218
219
|
cancelBtnContent: n,
|
|
219
220
|
cancelBtnIconName: a,
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
221
|
+
submitBtnIconName: i,
|
|
222
|
+
cancelBtnDisabled: r,
|
|
223
|
+
submitBtnContent: s,
|
|
224
|
+
formId: d,
|
|
225
|
+
disabled: p,
|
|
226
|
+
onClose: _,
|
|
227
|
+
submit: u,
|
|
228
|
+
loading: g
|
|
229
|
+
} = e, h = f({
|
|
228
230
|
[We.spApplyButtons]: !0,
|
|
229
231
|
[We[`spApplyButtons_mobile-${t}`]]: t,
|
|
230
232
|
[We[`spApplyButtons_align-${o}`]]: o
|
|
231
|
-
}), h = f({
|
|
232
|
-
[We.spApplyButtons__submit]: !0
|
|
233
233
|
}), w = f({
|
|
234
|
+
[We.spApplyButtons__submit]: !0
|
|
235
|
+
}), C = f({
|
|
234
236
|
[We.spApplyButtons__cancel]: !0
|
|
235
237
|
});
|
|
236
|
-
return /* @__PURE__ */ U("div", { className:
|
|
237
|
-
n &&
|
|
238
|
-
|
|
238
|
+
return /* @__PURE__ */ U("div", { className: h, children: [
|
|
239
|
+
n && /* @__PURE__ */ l(
|
|
240
|
+
kt,
|
|
239
241
|
{
|
|
240
242
|
type: "button",
|
|
241
243
|
variant: "secondary",
|
|
242
244
|
iconName: a,
|
|
243
|
-
classNameRoot:
|
|
244
|
-
disabled:
|
|
245
|
-
onClick:
|
|
245
|
+
classNameRoot: C,
|
|
246
|
+
disabled: r,
|
|
247
|
+
onClick: _,
|
|
246
248
|
children: n
|
|
247
249
|
}
|
|
248
250
|
),
|
|
249
|
-
|
|
250
|
-
|
|
251
|
+
s && /* @__PURE__ */ l(
|
|
252
|
+
kt,
|
|
251
253
|
{
|
|
252
254
|
type: "submit",
|
|
253
255
|
variant: "primary",
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
256
|
+
iconName: i,
|
|
257
|
+
classNameRoot: w,
|
|
258
|
+
form: d || void 0,
|
|
259
|
+
disabled: p,
|
|
260
|
+
onClick: u,
|
|
261
|
+
loading: g,
|
|
262
|
+
children: s
|
|
260
263
|
}
|
|
261
264
|
)
|
|
262
265
|
] });
|
|
263
|
-
}, Zn = "
|
|
266
|
+
}, Zn = "_spBaseTooltip_5usel_43", Qn = "_spBaseTooltip_noPadding_5usel_70", Jn = "_spBaseTooltip__content_5usel_96", dt = {
|
|
264
267
|
spBaseTooltip: Zn,
|
|
265
268
|
spBaseTooltip_noPadding: Qn,
|
|
266
269
|
spBaseTooltip__content: Jn
|
|
@@ -326,7 +329,7 @@ const et = (e) => {
|
|
|
326
329
|
classNameTooltip: g,
|
|
327
330
|
classNameBaseTooltipRoot: h,
|
|
328
331
|
classNameBaseTooltipContentRoot: w,
|
|
329
|
-
styleTooltip:
|
|
332
|
+
styleTooltip: C
|
|
330
333
|
} = e, [R, W] = te(!1), q = me(null), A = me(null), [b, m] = te(!1);
|
|
331
334
|
xo(
|
|
332
335
|
[q, A],
|
|
@@ -335,57 +338,57 @@ const et = (e) => {
|
|
|
335
338
|
},
|
|
336
339
|
R
|
|
337
340
|
);
|
|
338
|
-
const F = (
|
|
339
|
-
n &&
|
|
341
|
+
const F = (k) => {
|
|
342
|
+
n && k.stopPropagation(), !t && (R ? s && s() : r && r(), W(($) => o ? !$ : !0));
|
|
340
343
|
}, [P, O] = te({
|
|
341
344
|
visibility: "hidden",
|
|
342
345
|
opacity: 0,
|
|
343
346
|
left: "-9999px"
|
|
344
347
|
}), [Z, ie] = te(!1), re = ge(() => {
|
|
345
348
|
if (!q.current || !A.current) return;
|
|
346
|
-
const
|
|
349
|
+
const k = q.current.getBoundingClientRect(), $ = A.current.getBoundingClientRect();
|
|
347
350
|
let z = 0, c = 0;
|
|
348
351
|
switch (p) {
|
|
349
352
|
case le.Right:
|
|
350
|
-
z =
|
|
353
|
+
z = k.top + window.scrollY - ($.height - k.height) / 2, c = k.right + window.scrollX;
|
|
351
354
|
break;
|
|
352
355
|
case le.RightTop:
|
|
353
|
-
z =
|
|
356
|
+
z = k.top + window.scrollY, c = k.right + window.scrollX;
|
|
354
357
|
break;
|
|
355
358
|
case le.RightBottom:
|
|
356
|
-
z =
|
|
359
|
+
z = k.bottom + window.scrollY - $.height, c = k.right + window.scrollX;
|
|
357
360
|
break;
|
|
358
361
|
case le.Left:
|
|
359
|
-
z =
|
|
362
|
+
z = k.top + window.scrollY - ($.height - k.height) / 2, c = k.left + window.scrollX - $.width;
|
|
360
363
|
break;
|
|
361
364
|
case le.LeftTop:
|
|
362
|
-
z =
|
|
365
|
+
z = k.top + window.scrollY, c = k.left + window.scrollX - $.width;
|
|
363
366
|
break;
|
|
364
367
|
case le.LeftBottom:
|
|
365
|
-
z =
|
|
368
|
+
z = k.bottom + window.scrollY - $.height, c = k.left + window.scrollX - $.width;
|
|
366
369
|
break;
|
|
367
370
|
case le.Bottom:
|
|
368
|
-
z =
|
|
371
|
+
z = k.bottom + window.scrollY, c = k.left + window.scrollX - ($.width - k.width) / 2;
|
|
369
372
|
break;
|
|
370
373
|
case le.BottomLeft:
|
|
371
|
-
z =
|
|
374
|
+
z = k.bottom + window.scrollY, c = k.left + window.scrollX;
|
|
372
375
|
break;
|
|
373
376
|
case le.BottomRight:
|
|
374
|
-
z =
|
|
377
|
+
z = k.bottom + window.scrollY, c = k.right + window.scrollX - $.width;
|
|
375
378
|
break;
|
|
376
379
|
case le.Top:
|
|
377
|
-
z =
|
|
380
|
+
z = k.top + window.scrollY - $.height, c = k.left + window.scrollX - ($.width - k.width) / 2;
|
|
378
381
|
break;
|
|
379
382
|
case le.TopLeft:
|
|
380
|
-
z =
|
|
383
|
+
z = k.top + window.scrollY - $.height, c = k.left + window.scrollX;
|
|
381
384
|
break;
|
|
382
385
|
case le.TopRight:
|
|
383
|
-
z =
|
|
386
|
+
z = k.top + window.scrollY - $.height, c = k.right + window.scrollX - $.width;
|
|
384
387
|
break;
|
|
385
388
|
default:
|
|
386
|
-
z =
|
|
389
|
+
z = k.bottom + window.scrollY, c = k.left + window.scrollX;
|
|
387
390
|
}
|
|
388
|
-
z + $.height > window.innerHeight + window.scrollY && p.includes("bottom") ? z =
|
|
391
|
+
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
392
|
...v,
|
|
390
393
|
top: `${z}px`,
|
|
391
394
|
left: `${c}px`,
|
|
@@ -397,9 +400,9 @@ const et = (e) => {
|
|
|
397
400
|
b && re();
|
|
398
401
|
}, [b, re]), ne(() => {
|
|
399
402
|
if (!b) return;
|
|
400
|
-
const
|
|
401
|
-
return window.addEventListener("resize",
|
|
402
|
-
window.removeEventListener("resize",
|
|
403
|
+
const k = () => re();
|
|
404
|
+
return window.addEventListener("resize", k), window.addEventListener("scroll", k, !0), () => {
|
|
405
|
+
window.removeEventListener("resize", k), window.removeEventListener("scroll", k, !0);
|
|
403
406
|
};
|
|
404
407
|
}, [b, re]);
|
|
405
408
|
const ue = f({
|
|
@@ -420,7 +423,7 @@ const et = (e) => {
|
|
|
420
423
|
onClick: F,
|
|
421
424
|
onMouseEnter: () => t && ie(!0),
|
|
422
425
|
onMouseLeave: () => t && ie(!1),
|
|
423
|
-
style:
|
|
426
|
+
style: C,
|
|
424
427
|
children: [
|
|
425
428
|
/* @__PURE__ */ l("div", { ref: q, className: J, children: i }),
|
|
426
429
|
a && /* @__PURE__ */ l(ho, { node: Q, children: /* @__PURE__ */ l(
|
|
@@ -437,13 +440,13 @@ const et = (e) => {
|
|
|
437
440
|
]
|
|
438
441
|
}
|
|
439
442
|
);
|
|
440
|
-
}, tt = (e) => /* @__PURE__ */ l(et, { ...e, hover: !0, trigger: /* @__PURE__ */ l(xe, { name: pe.Info }) }), oa = "
|
|
443
|
+
}, 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
444
|
spCheckbox: oa,
|
|
442
445
|
spCheckbox__control: na,
|
|
443
446
|
spCheckbox__label: aa,
|
|
444
447
|
spCheckbox__box: ia,
|
|
445
|
-
"spCheckbox__box--size-lg": "_spCheckbox__box--size-
|
|
446
|
-
"spCheckbox__box--size-md": "_spCheckbox__box--size-
|
|
448
|
+
"spCheckbox__box--size-lg": "_spCheckbox__box--size-lg_tgkwb_68",
|
|
449
|
+
"spCheckbox__box--size-md": "_spCheckbox__box--size-md_tgkwb_73",
|
|
447
450
|
spCheckbox__box_checked: ra,
|
|
448
451
|
spCheckbox__box_disabled: sa,
|
|
449
452
|
spCheckbox__box_error: pa,
|
|
@@ -466,28 +469,28 @@ const et = (e) => {
|
|
|
466
469
|
onMouseEnter: g,
|
|
467
470
|
classNameRoot: h,
|
|
468
471
|
classNameError: w
|
|
469
|
-
} = e,
|
|
470
|
-
[
|
|
472
|
+
} = e, C = f({
|
|
473
|
+
[Ce.spCheckbox]: !0,
|
|
471
474
|
...h && { [h]: !0 }
|
|
472
475
|
}), R = f({
|
|
473
|
-
[
|
|
474
|
-
[
|
|
475
|
-
[
|
|
476
|
-
[
|
|
477
|
-
[
|
|
476
|
+
[Ce.spCheckbox__box]: !0,
|
|
477
|
+
[Ce.spCheckbox__box_checked]: o,
|
|
478
|
+
[Ce.spCheckbox__box_disabled]: n,
|
|
479
|
+
[Ce[`spCheckbox__box--size-${t}`]]: t,
|
|
480
|
+
[Ce.spCheckbox__box_error]: s
|
|
478
481
|
}), W = f({
|
|
479
|
-
[
|
|
482
|
+
[Ce.spCheckbox__control]: !0
|
|
480
483
|
}), q = f({
|
|
481
|
-
[
|
|
484
|
+
[Ce.spCheckbox__label]: !0
|
|
482
485
|
}), A = f({
|
|
483
|
-
[
|
|
486
|
+
[Ce.spCheckbox__required]: !0
|
|
484
487
|
}), b = f({
|
|
485
|
-
[
|
|
488
|
+
[Ce.spCheckbox__error]: !0,
|
|
486
489
|
...w && { [w]: !0 }
|
|
487
490
|
}), m = f({
|
|
488
|
-
[
|
|
491
|
+
[Ce.spCheckbox__tooltip]: !0
|
|
489
492
|
});
|
|
490
|
-
return /* @__PURE__ */ U("div", { className:
|
|
493
|
+
return /* @__PURE__ */ U("div", { className: C, onMouseEnter: g, children: [
|
|
491
494
|
/* @__PURE__ */ U("label", { className: R, children: [
|
|
492
495
|
/* @__PURE__ */ l(
|
|
493
496
|
"input",
|
|
@@ -575,7 +578,7 @@ const et = (e) => {
|
|
|
575
578
|
);
|
|
576
579
|
});
|
|
577
580
|
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",
|
|
581
|
+
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
582
|
modalWrapper: xa,
|
|
580
583
|
"modalWrapper--modalAlign-top": "_modalWrapper--modalAlign-top_1qgyc_48",
|
|
581
584
|
"modalWrapper--modalAlign-center": "_modalWrapper--modalAlign-center_1qgyc_51",
|
|
@@ -588,8 +591,8 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
588
591
|
modalWrapper__content: ba,
|
|
589
592
|
modalWrapper__header: ya,
|
|
590
593
|
modalWrapper__subHeader: wa,
|
|
591
|
-
modalWrapper__subHeader_onlySubHeader:
|
|
592
|
-
modalWrapper__footer:
|
|
594
|
+
modalWrapper__subHeader_onlySubHeader: Ca,
|
|
595
|
+
modalWrapper__footer: ka,
|
|
593
596
|
modalWrapper__closeButton: Ta,
|
|
594
597
|
"modalWrapper__closeButton--size-lg": "_modalWrapper__closeButton--size-lg_1qgyc_126",
|
|
595
598
|
"modalWrapper__closeButton--size-md": "_modalWrapper__closeButton--size-md_1qgyc_130",
|
|
@@ -611,7 +614,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
611
614
|
subHeader: g,
|
|
612
615
|
footer: h,
|
|
613
616
|
size: w = "lg"
|
|
614
|
-
} = e,
|
|
617
|
+
} = e, C = f({
|
|
615
618
|
[ve.modalWrapper]: !0,
|
|
616
619
|
[ve[`modalWrapper--modalAlign-${d}`]]: d,
|
|
617
620
|
[ve[`modalWrapper--textAlign-${p}`]]: p
|
|
@@ -640,7 +643,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
640
643
|
return O.style.position = "fixed", O.style.top = `-${P}px`, O.style.left = "0", O.style.right = "0", O.style.overflow = "hidden", () => {
|
|
641
644
|
O.style.position = "", O.style.top = "", O.style.left = "", O.style.right = "", O.style.overflow = "", window.scrollTo(0, P);
|
|
642
645
|
};
|
|
643
|
-
}, []), /* @__PURE__ */ l(_a, { zIndex: t, isHiddenModal: o, classNameRoot: i, children: /* @__PURE__ */ l("div", { className:
|
|
646
|
+
}, []), /* @__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
647
|
(u || g) && /* @__PURE__ */ U("div", { className: b, children: [
|
|
645
648
|
typeof u == "string" ? /* @__PURE__ */ l(Ne, { type: "h3", children: u }) : u,
|
|
646
649
|
g && /* @__PURE__ */ l("div", { className: m, children: typeof g == "string" ? /* @__PURE__ */ l(Ne, { children: g }) : g })
|
|
@@ -648,7 +651,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
648
651
|
a && /* @__PURE__ */ l("div", { className: A, children: a }),
|
|
649
652
|
h && /* @__PURE__ */ l("div", { className: F, children: h }),
|
|
650
653
|
n && _ && /* @__PURE__ */ l(
|
|
651
|
-
|
|
654
|
+
kt,
|
|
652
655
|
{
|
|
653
656
|
classNameRoot: W,
|
|
654
657
|
classNameIconContainerRoot: q,
|
|
@@ -676,7 +679,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
676
679
|
mobile: g = "column",
|
|
677
680
|
align: h = "right",
|
|
678
681
|
modalAlign: w = "top",
|
|
679
|
-
textAlign:
|
|
682
|
+
textAlign: C = "left",
|
|
680
683
|
loading: R,
|
|
681
684
|
isVisibleCloseButton: W,
|
|
682
685
|
isHiddenModal: q,
|
|
@@ -689,7 +692,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
689
692
|
header: o,
|
|
690
693
|
onClose: u,
|
|
691
694
|
modalAlign: w,
|
|
692
|
-
textAlign:
|
|
695
|
+
textAlign: C,
|
|
693
696
|
subHeader: n,
|
|
694
697
|
isVisibleCloseButton: W,
|
|
695
698
|
isHiddenModal: q,
|
|
@@ -747,16 +750,16 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
747
750
|
/* @__PURE__ */ l("input", { ...i({}), disabled: n, name: a }),
|
|
748
751
|
o
|
|
749
752
|
] });
|
|
750
|
-
},
|
|
751
|
-
spDropdown:
|
|
752
|
-
spDropdown__labelText:
|
|
753
|
+
}, 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 = {
|
|
754
|
+
spDropdown: ja,
|
|
755
|
+
spDropdown__labelText: Ia,
|
|
753
756
|
spDropdown__tooltipContainer: Aa,
|
|
754
757
|
spDropdown__dropdownList: La,
|
|
755
758
|
spDropdown__dropdownListHeader: Da,
|
|
756
759
|
spDropdown__dopdownListItem: Pa,
|
|
757
760
|
spDropdown__dopdownListItem_textCenter: Oa,
|
|
758
761
|
spDropdown__downloadListItemDescription: Ba
|
|
759
|
-
},
|
|
762
|
+
}, Cp = (e) => {
|
|
760
763
|
const {
|
|
761
764
|
labelText: t = "Выпадающий список",
|
|
762
765
|
listName: o,
|
|
@@ -785,17 +788,17 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
785
788
|
actionOnClose: () => h(!1),
|
|
786
789
|
text: /* @__PURE__ */ U("div", { className: p, children: [
|
|
787
790
|
o && /* @__PURE__ */ l("div", { className: _, children: o }),
|
|
788
|
-
n.map((
|
|
791
|
+
n.map((C, R) => /* @__PURE__ */ U(
|
|
789
792
|
"div",
|
|
790
793
|
{
|
|
791
794
|
className: f({
|
|
792
795
|
[Ee.spDropdown__dopdownListItem]: !0,
|
|
793
|
-
[Ee.spDropdown__dopdownListItem_textCenter]:
|
|
796
|
+
[Ee.spDropdown__dopdownListItem_textCenter]: C.textCenter
|
|
794
797
|
}),
|
|
795
|
-
onClick:
|
|
798
|
+
onClick: C.onClick,
|
|
796
799
|
children: [
|
|
797
|
-
|
|
798
|
-
|
|
800
|
+
C.name,
|
|
801
|
+
C.description && /* @__PURE__ */ l("span", { className: u, children: C.description })
|
|
799
802
|
]
|
|
800
803
|
},
|
|
801
804
|
R
|
|
@@ -854,7 +857,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
854
857
|
spForm_withSeparator: qa,
|
|
855
858
|
"spForm_addMargin--size-lg": "_spForm_addMargin--size-lg_zefbj_67",
|
|
856
859
|
"spForm_addMargin--size-md": "_spForm_addMargin--size-md_zefbj_75"
|
|
857
|
-
},
|
|
860
|
+
}, kp = (e) => {
|
|
858
861
|
const {
|
|
859
862
|
size: t = "lg",
|
|
860
863
|
children: o,
|
|
@@ -880,7 +883,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
880
883
|
spLabel__text: Ha,
|
|
881
884
|
spLabel__tooltip: Va,
|
|
882
885
|
spLabel__required: Ya
|
|
883
|
-
},
|
|
886
|
+
}, It = (e) => {
|
|
884
887
|
const {
|
|
885
888
|
required: t,
|
|
886
889
|
label: o,
|
|
@@ -910,7 +913,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
910
913
|
}
|
|
911
914
|
) })
|
|
912
915
|
] });
|
|
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",
|
|
916
|
+
}, 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
917
|
spInput: Ga,
|
|
915
918
|
spInput_error: Ka,
|
|
916
919
|
spInput__control: Xa,
|
|
@@ -938,7 +941,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
938
941
|
pattern: g,
|
|
939
942
|
onMouseEnter: h,
|
|
940
943
|
infoTooltipText: w,
|
|
941
|
-
tooltipPosition:
|
|
944
|
+
tooltipPosition: C,
|
|
942
945
|
isVisibleDefaultTitle: R = !0,
|
|
943
946
|
placeholder: W = "Введите...",
|
|
944
947
|
classNameRoot: q,
|
|
@@ -947,37 +950,37 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
947
950
|
classNameBaseTooltipRoot: m,
|
|
948
951
|
...F
|
|
949
952
|
} = e, P = f({
|
|
950
|
-
[
|
|
951
|
-
[
|
|
952
|
-
[
|
|
953
|
+
[ke.spInput]: !0,
|
|
954
|
+
[ke.spInput_error]: !!d,
|
|
955
|
+
[ke.spInput_absolutePositionError]: s,
|
|
953
956
|
...q && { [q]: !0 }
|
|
954
957
|
}), O = f({
|
|
955
|
-
[
|
|
958
|
+
[ke.spInput__container]: !0
|
|
956
959
|
}), Z = f({
|
|
957
|
-
[
|
|
958
|
-
[
|
|
959
|
-
[
|
|
960
|
-
[
|
|
960
|
+
[ke.spInput__control]: !0,
|
|
961
|
+
[ke.spInput__control_disabled]: r,
|
|
962
|
+
[ke[`spInput__control_${i}`]]: i,
|
|
963
|
+
[ke.spInput__control_clearable]: u
|
|
961
964
|
}), ie = f({
|
|
962
|
-
[
|
|
965
|
+
[ke.spInput__clear]: !0
|
|
963
966
|
}), re = f({
|
|
964
|
-
[
|
|
965
|
-
[
|
|
967
|
+
[ke.spInput__error]: !0,
|
|
968
|
+
[ke.spInput__error_absolutePosition]: s,
|
|
966
969
|
...A && { [A]: !0 }
|
|
967
970
|
}), ue = f({
|
|
968
971
|
...b && { [b]: !0 }
|
|
969
972
|
}), ce = (Q) => {
|
|
970
973
|
n(Q, { name: _, value: "" });
|
|
971
974
|
}, G = (Q) => {
|
|
972
|
-
const { value:
|
|
973
|
-
g &&
|
|
975
|
+
const { value: k, name: $ } = Q.target;
|
|
976
|
+
g && k && !new RegExp(g).test(k) || n(Q, { value: k, name: $ });
|
|
974
977
|
};
|
|
975
978
|
return /* @__PURE__ */ U("div", { className: P, children: [
|
|
976
979
|
a && /* @__PURE__ */ l(
|
|
977
|
-
|
|
980
|
+
It,
|
|
978
981
|
{
|
|
979
982
|
classNameRoot: ue,
|
|
980
|
-
tooltipPosition:
|
|
983
|
+
tooltipPosition: C,
|
|
981
984
|
required: p,
|
|
982
985
|
label: a,
|
|
983
986
|
infoTooltipText: w,
|
|
@@ -1173,10 +1176,10 @@ var Tt = { exports: {} }, Ke = { exports: {} }, K = {};
|
|
|
1173
1176
|
* LICENSE file in the root directory of this source tree.
|
|
1174
1177
|
*/
|
|
1175
1178
|
var $t;
|
|
1176
|
-
function
|
|
1179
|
+
function Ci() {
|
|
1177
1180
|
if ($t) return K;
|
|
1178
1181
|
$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,
|
|
1182
|
+
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
1183
|
function A(m) {
|
|
1181
1184
|
if (typeof m == "object" && m !== null) {
|
|
1182
1185
|
var F = m.$$typeof;
|
|
@@ -1235,7 +1238,7 @@ function ki() {
|
|
|
1235
1238
|
}, K.isSuspense = function(m) {
|
|
1236
1239
|
return A(m) === u;
|
|
1237
1240
|
}, 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 ===
|
|
1241
|
+
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
1242
|
}, K.typeOf = A, K;
|
|
1240
1243
|
}
|
|
1241
1244
|
var X = {};
|
|
@@ -1248,12 +1251,12 @@ var X = {};
|
|
|
1248
1251
|
* LICENSE file in the root directory of this source tree.
|
|
1249
1252
|
*/
|
|
1250
1253
|
var Ht;
|
|
1251
|
-
function
|
|
1254
|
+
function ki() {
|
|
1252
1255
|
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,
|
|
1256
|
+
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
1257
|
function A(x) {
|
|
1255
1258
|
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 ===
|
|
1259
|
+
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
1260
|
}
|
|
1258
1261
|
function b(x) {
|
|
1259
1262
|
if (typeof x == "object" && x !== null) {
|
|
@@ -1287,7 +1290,7 @@ function Ci() {
|
|
|
1287
1290
|
}
|
|
1288
1291
|
}
|
|
1289
1292
|
}
|
|
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,
|
|
1293
|
+
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
1294
|
function z(x) {
|
|
1292
1295
|
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
1296
|
}
|
|
@@ -1300,7 +1303,7 @@ function Ci() {
|
|
|
1300
1303
|
function N(x) {
|
|
1301
1304
|
return b(x) === r;
|
|
1302
1305
|
}
|
|
1303
|
-
function
|
|
1306
|
+
function I(x) {
|
|
1304
1307
|
return typeof x == "object" && x !== null && x.$$typeof === t;
|
|
1305
1308
|
}
|
|
1306
1309
|
function E(x) {
|
|
@@ -1309,7 +1312,7 @@ function Ci() {
|
|
|
1309
1312
|
function D(x) {
|
|
1310
1313
|
return b(x) === n;
|
|
1311
1314
|
}
|
|
1312
|
-
function
|
|
1315
|
+
function j(x) {
|
|
1313
1316
|
return b(x) === w;
|
|
1314
1317
|
}
|
|
1315
1318
|
function B(x) {
|
|
@@ -1327,12 +1330,12 @@ function Ci() {
|
|
|
1327
1330
|
function ae(x) {
|
|
1328
1331
|
return b(x) === u;
|
|
1329
1332
|
}
|
|
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 =
|
|
1333
|
+
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
1334
|
}()), X;
|
|
1332
1335
|
}
|
|
1333
1336
|
var Vt;
|
|
1334
|
-
function
|
|
1335
|
-
return Vt || (Vt = 1, process.env.NODE_ENV === "production" ? Ke.exports =
|
|
1337
|
+
function Co() {
|
|
1338
|
+
return Vt || (Vt = 1, process.env.NODE_ENV === "production" ? Ke.exports = Ci() : Ke.exports = ki()), Ke.exports;
|
|
1336
1339
|
}
|
|
1337
1340
|
/*
|
|
1338
1341
|
object-assign
|
|
@@ -1393,7 +1396,7 @@ function Lt() {
|
|
|
1393
1396
|
return ft = e, ft;
|
|
1394
1397
|
}
|
|
1395
1398
|
var vt, Kt;
|
|
1396
|
-
function
|
|
1399
|
+
function ko() {
|
|
1397
1400
|
return Kt || (Kt = 1, vt = Function.call.bind(Object.prototype.hasOwnProperty)), vt;
|
|
1398
1401
|
}
|
|
1399
1402
|
var gt, Xt;
|
|
@@ -1403,7 +1406,7 @@ function Ni() {
|
|
|
1403
1406
|
var e = function() {
|
|
1404
1407
|
};
|
|
1405
1408
|
if (process.env.NODE_ENV !== "production") {
|
|
1406
|
-
var t = Lt(), o = {}, n =
|
|
1409
|
+
var t = Lt(), o = {}, n = ko();
|
|
1407
1410
|
e = function(i) {
|
|
1408
1411
|
var r = "Warning: " + i;
|
|
1409
1412
|
typeof console < "u" && console.error(r);
|
|
@@ -1449,7 +1452,7 @@ var xt, Zt;
|
|
|
1449
1452
|
function Ei() {
|
|
1450
1453
|
if (Zt) return xt;
|
|
1451
1454
|
Zt = 1;
|
|
1452
|
-
var e =
|
|
1455
|
+
var e = Co(), t = Ti(), o = Lt(), n = ko(), a = Ni(), i = function() {
|
|
1453
1456
|
};
|
|
1454
1457
|
process.env.NODE_ENV !== "production" && (i = function(s) {
|
|
1455
1458
|
var d = "Warning: " + s;
|
|
@@ -1493,14 +1496,14 @@ function Ei() {
|
|
|
1493
1496
|
function w(c, v) {
|
|
1494
1497
|
return c === v ? c !== 0 || 1 / c === 1 / v : c !== c && v !== v;
|
|
1495
1498
|
}
|
|
1496
|
-
function
|
|
1499
|
+
function C(c, v) {
|
|
1497
1500
|
this.message = c, this.data = v && typeof v == "object" ? v : {}, this.stack = "";
|
|
1498
1501
|
}
|
|
1499
|
-
|
|
1502
|
+
C.prototype = Error.prototype;
|
|
1500
1503
|
function R(c) {
|
|
1501
1504
|
if (process.env.NODE_ENV !== "production")
|
|
1502
1505
|
var v = {}, N = 0;
|
|
1503
|
-
function
|
|
1506
|
+
function I(D, j, B, H, Y, M, ae) {
|
|
1504
1507
|
if (H = H || g, M = M || B, ae !== o) {
|
|
1505
1508
|
if (d) {
|
|
1506
1509
|
var x = new Error(
|
|
@@ -1515,18 +1518,18 @@ function Ei() {
|
|
|
1515
1518
|
), v[he] = !0, N++);
|
|
1516
1519
|
}
|
|
1517
1520
|
}
|
|
1518
|
-
return
|
|
1521
|
+
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
1522
|
}
|
|
1520
|
-
var E =
|
|
1521
|
-
return E.isRequired =
|
|
1523
|
+
var E = I.bind(null, !1);
|
|
1524
|
+
return E.isRequired = I.bind(null, !0), E;
|
|
1522
1525
|
}
|
|
1523
1526
|
function W(c) {
|
|
1524
|
-
function v(N,
|
|
1525
|
-
var H = N[
|
|
1527
|
+
function v(N, I, E, D, j, B) {
|
|
1528
|
+
var H = N[I], Y = Q(H);
|
|
1526
1529
|
if (Y !== c) {
|
|
1527
|
-
var M =
|
|
1528
|
-
return new
|
|
1529
|
-
"Invalid " + D + " `" +
|
|
1530
|
+
var M = k(H);
|
|
1531
|
+
return new C(
|
|
1532
|
+
"Invalid " + D + " `" + j + "` of type " + ("`" + M + "` supplied to `" + E + "`, expected ") + ("`" + c + "`."),
|
|
1530
1533
|
{ expectedType: c }
|
|
1531
1534
|
);
|
|
1532
1535
|
}
|
|
@@ -1538,16 +1541,16 @@ function Ei() {
|
|
|
1538
1541
|
return R(r);
|
|
1539
1542
|
}
|
|
1540
1543
|
function A(c) {
|
|
1541
|
-
function v(N,
|
|
1544
|
+
function v(N, I, E, D, j) {
|
|
1542
1545
|
if (typeof c != "function")
|
|
1543
|
-
return new
|
|
1544
|
-
var B = N[
|
|
1546
|
+
return new C("Property `" + j + "` of component `" + E + "` has invalid PropType notation inside arrayOf.");
|
|
1547
|
+
var B = N[I];
|
|
1545
1548
|
if (!Array.isArray(B)) {
|
|
1546
1549
|
var H = Q(B);
|
|
1547
|
-
return new
|
|
1550
|
+
return new C("Invalid " + D + " `" + j + "` of type " + ("`" + H + "` supplied to `" + E + "`, expected an array."));
|
|
1548
1551
|
}
|
|
1549
1552
|
for (var Y = 0; Y < B.length; Y++) {
|
|
1550
|
-
var M = c(B, Y, E, D,
|
|
1553
|
+
var M = c(B, Y, E, D, j + "[" + Y + "]", o);
|
|
1551
1554
|
if (M instanceof Error)
|
|
1552
1555
|
return M;
|
|
1553
1556
|
}
|
|
@@ -1556,32 +1559,32 @@ function Ei() {
|
|
|
1556
1559
|
return R(v);
|
|
1557
1560
|
}
|
|
1558
1561
|
function b() {
|
|
1559
|
-
function c(v, N,
|
|
1560
|
-
var
|
|
1561
|
-
if (!s(
|
|
1562
|
-
var B = Q(
|
|
1563
|
-
return new
|
|
1562
|
+
function c(v, N, I, E, D) {
|
|
1563
|
+
var j = v[N];
|
|
1564
|
+
if (!s(j)) {
|
|
1565
|
+
var B = Q(j);
|
|
1566
|
+
return new C("Invalid " + E + " `" + D + "` of type " + ("`" + B + "` supplied to `" + I + "`, expected a single ReactElement."));
|
|
1564
1567
|
}
|
|
1565
1568
|
return null;
|
|
1566
1569
|
}
|
|
1567
1570
|
return R(c);
|
|
1568
1571
|
}
|
|
1569
1572
|
function m() {
|
|
1570
|
-
function c(v, N,
|
|
1571
|
-
var
|
|
1572
|
-
if (!e.isValidElementType(
|
|
1573
|
-
var B = Q(
|
|
1574
|
-
return new
|
|
1573
|
+
function c(v, N, I, E, D) {
|
|
1574
|
+
var j = v[N];
|
|
1575
|
+
if (!e.isValidElementType(j)) {
|
|
1576
|
+
var B = Q(j);
|
|
1577
|
+
return new C("Invalid " + E + " `" + D + "` of type " + ("`" + B + "` supplied to `" + I + "`, expected a single ReactElement type."));
|
|
1575
1578
|
}
|
|
1576
1579
|
return null;
|
|
1577
1580
|
}
|
|
1578
1581
|
return R(c);
|
|
1579
1582
|
}
|
|
1580
1583
|
function F(c) {
|
|
1581
|
-
function v(N,
|
|
1582
|
-
if (!(N[
|
|
1583
|
-
var B = c.name || g, H = z(N[
|
|
1584
|
-
return new
|
|
1584
|
+
function v(N, I, E, D, j) {
|
|
1585
|
+
if (!(N[I] instanceof c)) {
|
|
1586
|
+
var B = c.name || g, H = z(N[I]);
|
|
1587
|
+
return new C("Invalid " + D + " `" + j + "` of type " + ("`" + H + "` supplied to `" + E + "`, expected ") + ("instance of `" + B + "`."));
|
|
1585
1588
|
}
|
|
1586
1589
|
return null;
|
|
1587
1590
|
}
|
|
@@ -1592,28 +1595,28 @@ function Ei() {
|
|
|
1592
1595
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
1593
1596
|
"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
1597
|
) : i("Invalid argument supplied to oneOf, expected an array.")), r;
|
|
1595
|
-
function v(N,
|
|
1596
|
-
for (var B = N[
|
|
1598
|
+
function v(N, I, E, D, j) {
|
|
1599
|
+
for (var B = N[I], H = 0; H < c.length; H++)
|
|
1597
1600
|
if (w(B, c[H]))
|
|
1598
1601
|
return null;
|
|
1599
1602
|
var Y = JSON.stringify(c, function(ae, x) {
|
|
1600
|
-
var he =
|
|
1603
|
+
var he = k(x);
|
|
1601
1604
|
return he === "symbol" ? String(x) : x;
|
|
1602
1605
|
});
|
|
1603
|
-
return new
|
|
1606
|
+
return new C("Invalid " + D + " `" + j + "` of value `" + String(B) + "` " + ("supplied to `" + E + "`, expected one of " + Y + "."));
|
|
1604
1607
|
}
|
|
1605
1608
|
return R(v);
|
|
1606
1609
|
}
|
|
1607
1610
|
function O(c) {
|
|
1608
|
-
function v(N,
|
|
1611
|
+
function v(N, I, E, D, j) {
|
|
1609
1612
|
if (typeof c != "function")
|
|
1610
|
-
return new
|
|
1611
|
-
var B = N[
|
|
1613
|
+
return new C("Property `" + j + "` of component `" + E + "` has invalid PropType notation inside objectOf.");
|
|
1614
|
+
var B = N[I], H = Q(B);
|
|
1612
1615
|
if (H !== "object")
|
|
1613
|
-
return new
|
|
1616
|
+
return new C("Invalid " + D + " `" + j + "` of type " + ("`" + H + "` supplied to `" + E + "`, expected an object."));
|
|
1614
1617
|
for (var Y in B)
|
|
1615
1618
|
if (n(B, Y)) {
|
|
1616
|
-
var M = c(B, Y, E, D,
|
|
1619
|
+
var M = c(B, Y, E, D, j + "." + Y, o);
|
|
1617
1620
|
if (M instanceof Error)
|
|
1618
1621
|
return M;
|
|
1619
1622
|
}
|
|
@@ -1631,39 +1634,39 @@ function Ei() {
|
|
|
1631
1634
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + $(N) + " at index " + v + "."
|
|
1632
1635
|
), r;
|
|
1633
1636
|
}
|
|
1634
|
-
function
|
|
1637
|
+
function I(E, D, j, B, H) {
|
|
1635
1638
|
for (var Y = [], M = 0; M < c.length; M++) {
|
|
1636
|
-
var ae = c[M], x = ae(E, D,
|
|
1639
|
+
var ae = c[M], x = ae(E, D, j, B, H, o);
|
|
1637
1640
|
if (x == null)
|
|
1638
1641
|
return null;
|
|
1639
1642
|
x.data && n(x.data, "expectedType") && Y.push(x.data.expectedType);
|
|
1640
1643
|
}
|
|
1641
1644
|
var he = Y.length > 0 ? ", expected one of type [" + Y.join(", ") + "]" : "";
|
|
1642
|
-
return new
|
|
1645
|
+
return new C("Invalid " + B + " `" + H + "` supplied to " + ("`" + j + "`" + he + "."));
|
|
1643
1646
|
}
|
|
1644
|
-
return R(
|
|
1647
|
+
return R(I);
|
|
1645
1648
|
}
|
|
1646
1649
|
function ie() {
|
|
1647
|
-
function c(v, N,
|
|
1648
|
-
return G(v[N]) ? null : new
|
|
1650
|
+
function c(v, N, I, E, D) {
|
|
1651
|
+
return G(v[N]) ? null : new C("Invalid " + E + " `" + D + "` supplied to " + ("`" + I + "`, expected a ReactNode."));
|
|
1649
1652
|
}
|
|
1650
1653
|
return R(c);
|
|
1651
1654
|
}
|
|
1652
|
-
function re(c, v, N,
|
|
1653
|
-
return new
|
|
1654
|
-
(c || "React class") + ": " + v + " type `" + N + "." +
|
|
1655
|
+
function re(c, v, N, I, E) {
|
|
1656
|
+
return new C(
|
|
1657
|
+
(c || "React class") + ": " + v + " type `" + N + "." + I + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + E + "`."
|
|
1655
1658
|
);
|
|
1656
1659
|
}
|
|
1657
1660
|
function ue(c) {
|
|
1658
|
-
function v(N,
|
|
1659
|
-
var B = N[
|
|
1661
|
+
function v(N, I, E, D, j) {
|
|
1662
|
+
var B = N[I], H = Q(B);
|
|
1660
1663
|
if (H !== "object")
|
|
1661
|
-
return new
|
|
1664
|
+
return new C("Invalid " + D + " `" + j + "` of type `" + H + "` " + ("supplied to `" + E + "`, expected `object`."));
|
|
1662
1665
|
for (var Y in c) {
|
|
1663
1666
|
var M = c[Y];
|
|
1664
1667
|
if (typeof M != "function")
|
|
1665
|
-
return re(E, D,
|
|
1666
|
-
var ae = M(B, Y, E, D,
|
|
1668
|
+
return re(E, D, j, Y, k(M));
|
|
1669
|
+
var ae = M(B, Y, E, D, j + "." + Y, o);
|
|
1667
1670
|
if (ae)
|
|
1668
1671
|
return ae;
|
|
1669
1672
|
}
|
|
@@ -1672,21 +1675,21 @@ function Ei() {
|
|
|
1672
1675
|
return R(v);
|
|
1673
1676
|
}
|
|
1674
1677
|
function ce(c) {
|
|
1675
|
-
function v(N,
|
|
1676
|
-
var B = N[
|
|
1678
|
+
function v(N, I, E, D, j) {
|
|
1679
|
+
var B = N[I], H = Q(B);
|
|
1677
1680
|
if (H !== "object")
|
|
1678
|
-
return new
|
|
1679
|
-
var Y = t({}, N[
|
|
1681
|
+
return new C("Invalid " + D + " `" + j + "` of type `" + H + "` " + ("supplied to `" + E + "`, expected `object`."));
|
|
1682
|
+
var Y = t({}, N[I], c);
|
|
1680
1683
|
for (var M in Y) {
|
|
1681
1684
|
var ae = c[M];
|
|
1682
1685
|
if (n(c, M) && typeof ae != "function")
|
|
1683
|
-
return re(E, D,
|
|
1686
|
+
return re(E, D, j, M, k(ae));
|
|
1684
1687
|
if (!ae)
|
|
1685
|
-
return new
|
|
1686
|
-
"Invalid " + D + " `" +
|
|
1688
|
+
return new C(
|
|
1689
|
+
"Invalid " + D + " `" + j + "` key `" + M + "` supplied to `" + E + "`.\nBad object: " + JSON.stringify(N[I], null, " ") + `
|
|
1687
1690
|
Valid keys: ` + JSON.stringify(Object.keys(c), null, " ")
|
|
1688
1691
|
);
|
|
1689
|
-
var x = ae(B, M, E, D,
|
|
1692
|
+
var x = ae(B, M, E, D, j + "." + M, o);
|
|
1690
1693
|
if (x)
|
|
1691
1694
|
return x;
|
|
1692
1695
|
}
|
|
@@ -1709,14 +1712,14 @@ Valid keys: ` + JSON.stringify(Object.keys(c), null, " ")
|
|
|
1709
1712
|
return !0;
|
|
1710
1713
|
var v = u(c);
|
|
1711
1714
|
if (v) {
|
|
1712
|
-
var N = v.call(c),
|
|
1715
|
+
var N = v.call(c), I;
|
|
1713
1716
|
if (v !== c.entries) {
|
|
1714
|
-
for (; !(
|
|
1715
|
-
if (!G(
|
|
1717
|
+
for (; !(I = N.next()).done; )
|
|
1718
|
+
if (!G(I.value))
|
|
1716
1719
|
return !1;
|
|
1717
1720
|
} else
|
|
1718
|
-
for (; !(
|
|
1719
|
-
var E =
|
|
1721
|
+
for (; !(I = N.next()).done; ) {
|
|
1722
|
+
var E = I.value;
|
|
1720
1723
|
if (E && !G(E[1]))
|
|
1721
1724
|
return !1;
|
|
1722
1725
|
}
|
|
@@ -1734,7 +1737,7 @@ Valid keys: ` + JSON.stringify(Object.keys(c), null, " ")
|
|
|
1734
1737
|
var v = typeof c;
|
|
1735
1738
|
return Array.isArray(c) ? "array" : c instanceof RegExp ? "object" : J(v, c) ? "symbol" : v;
|
|
1736
1739
|
}
|
|
1737
|
-
function
|
|
1740
|
+
function k(c) {
|
|
1738
1741
|
if (typeof c > "u" || c === null)
|
|
1739
1742
|
return "" + c;
|
|
1740
1743
|
var v = Q(c);
|
|
@@ -1747,7 +1750,7 @@ Valid keys: ` + JSON.stringify(Object.keys(c), null, " ")
|
|
|
1747
1750
|
return v;
|
|
1748
1751
|
}
|
|
1749
1752
|
function $(c) {
|
|
1750
|
-
var v =
|
|
1753
|
+
var v = k(c);
|
|
1751
1754
|
switch (v) {
|
|
1752
1755
|
case "array":
|
|
1753
1756
|
case "object":
|
|
@@ -1815,12 +1818,12 @@ function Si() {
|
|
|
1815
1818
|
}, ht;
|
|
1816
1819
|
}
|
|
1817
1820
|
if (process.env.NODE_ENV !== "production") {
|
|
1818
|
-
var Ri =
|
|
1821
|
+
var Ri = Co(), Fi = !0;
|
|
1819
1822
|
Tt.exports = Ei()(Ri.isElement, Fi);
|
|
1820
1823
|
} else
|
|
1821
1824
|
Tt.exports = Si()();
|
|
1822
|
-
var
|
|
1823
|
-
const S = /* @__PURE__ */ bo(
|
|
1825
|
+
var ji = Tt.exports;
|
|
1826
|
+
const S = /* @__PURE__ */ bo(ji), fe = S.oneOfType([S.string, S.number]), To = {
|
|
1824
1827
|
all: S.bool,
|
|
1825
1828
|
grid: S.bool,
|
|
1826
1829
|
aural: S.bool,
|
|
@@ -1832,7 +1835,7 @@ const S = /* @__PURE__ */ bo(Ii), fe = S.oneOfType([S.string, S.number]), To = {
|
|
|
1832
1835
|
tty: S.bool,
|
|
1833
1836
|
tv: S.bool,
|
|
1834
1837
|
embossed: S.bool
|
|
1835
|
-
},
|
|
1838
|
+
}, Ii = {
|
|
1836
1839
|
orientation: S.oneOf(["portrait", "landscape"]),
|
|
1837
1840
|
scan: S.oneOf(["progressive", "interlace"]),
|
|
1838
1841
|
aspectRatio: S.string,
|
|
@@ -1846,7 +1849,7 @@ const S = /* @__PURE__ */ bo(Ii), fe = S.oneOfType([S.string, S.number]), To = {
|
|
|
1846
1849
|
monochrome: S.bool,
|
|
1847
1850
|
resolution: fe,
|
|
1848
1851
|
type: Object.keys(To)
|
|
1849
|
-
}, { type: Tp, ...Ai } =
|
|
1852
|
+
}, { type: Tp, ...Ai } = Ii, Li = {
|
|
1850
1853
|
minAspectRatio: S.string,
|
|
1851
1854
|
maxAspectRatio: S.string,
|
|
1852
1855
|
minDeviceAspectRatio: S.string,
|
|
@@ -1958,7 +1961,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
1958
1961
|
s.current = a, d.current = performance.now();
|
|
1959
1962
|
const h = (w) => {
|
|
1960
1963
|
if (!d.current) return;
|
|
1961
|
-
const
|
|
1964
|
+
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
1965
|
i(A), R < 1 && (r.current = requestAnimationFrame(h));
|
|
1963
1966
|
};
|
|
1964
1967
|
return r.current = requestAnimationFrame(h), () => {
|
|
@@ -2057,7 +2060,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2057
2060
|
disabled: g = !1,
|
|
2058
2061
|
required: h,
|
|
2059
2062
|
maxHeightList: w = nr,
|
|
2060
|
-
isVisibleDefaultTitle:
|
|
2063
|
+
isVisibleDefaultTitle: C = !0,
|
|
2061
2064
|
isScrollableList: R = !1,
|
|
2062
2065
|
isAbsolutePositionError: W = !1,
|
|
2063
2066
|
classNameRoot: q,
|
|
@@ -2092,7 +2095,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2092
2095
|
[_e.spSelect__value_empty]: !Z
|
|
2093
2096
|
}), Q = f({
|
|
2094
2097
|
[_e.spSelect__icon]: !0
|
|
2095
|
-
}),
|
|
2098
|
+
}), k = f({
|
|
2096
2099
|
[_e.spSelect__list]: !0,
|
|
2097
2100
|
[_e.spSelect__list_scrollable]: R
|
|
2098
2101
|
}), $ = f({
|
|
@@ -2104,7 +2107,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2104
2107
|
});
|
|
2105
2108
|
return /* @__PURE__ */ U("div", { className: ue, ref: O, children: [
|
|
2106
2109
|
p && /* @__PURE__ */ l(
|
|
2107
|
-
|
|
2110
|
+
It,
|
|
2108
2111
|
{
|
|
2109
2112
|
classNameRoot: $,
|
|
2110
2113
|
tooltipPosition: u,
|
|
@@ -2119,7 +2122,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2119
2122
|
"div",
|
|
2120
2123
|
{
|
|
2121
2124
|
tabIndex: g ? -1 : 0,
|
|
2122
|
-
title:
|
|
2125
|
+
title: C ? n : void 0,
|
|
2123
2126
|
className: G,
|
|
2124
2127
|
onClick: re,
|
|
2125
2128
|
children: [
|
|
@@ -2138,7 +2141,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2138
2141
|
F && /* @__PURE__ */ l(
|
|
2139
2142
|
"div",
|
|
2140
2143
|
{
|
|
2141
|
-
className:
|
|
2144
|
+
className: k,
|
|
2142
2145
|
style: R ? { maxHeight: `${w}px` } : {},
|
|
2143
2146
|
children: t.map((v) => {
|
|
2144
2147
|
const N = v.value === n;
|
|
@@ -2148,7 +2151,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2148
2151
|
className: f({
|
|
2149
2152
|
[_e.spSelect__option]: !0
|
|
2150
2153
|
}),
|
|
2151
|
-
onClick: (
|
|
2154
|
+
onClick: (I) => ie(I, v.value),
|
|
2152
2155
|
children: [
|
|
2153
2156
|
v.label,
|
|
2154
2157
|
N && /* @__PURE__ */ l(xe, { name: pe.Check, className: Q })
|
|
@@ -2172,18 +2175,18 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2172
2175
|
...i
|
|
2173
2176
|
};
|
|
2174
2177
|
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",
|
|
2178
|
+
}, 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
2179
|
spTable: wr,
|
|
2177
|
-
spTable__tdContentCopyIcon:
|
|
2178
|
-
spTable__tdContent:
|
|
2180
|
+
spTable__tdContentCopyIcon: Cr,
|
|
2181
|
+
spTable__tdContent: kr,
|
|
2179
2182
|
spTable__tdColorContent: Tr,
|
|
2180
2183
|
spTable__tdContentCopyIcon_copied: Nr,
|
|
2181
2184
|
spTable__emptyPage: Er,
|
|
2182
2185
|
spStringsGroup: Sr,
|
|
2183
2186
|
spStringsGroup__groupItem: Rr,
|
|
2184
2187
|
spStringsGroup__groupItemHeader: Fr,
|
|
2185
|
-
spStringsGroup__groupItemContent:
|
|
2186
|
-
spStringsGroup__groupItemContentCopyIcon:
|
|
2188
|
+
spStringsGroup__groupItemContent: jr,
|
|
2189
|
+
spStringsGroup__groupItemContentCopyIcon: Ir,
|
|
2187
2190
|
spStringsGroup__groupItemContentCopyIcon_copied: Ar
|
|
2188
2191
|
}, Fp = (e) => {
|
|
2189
2192
|
const {
|
|
@@ -2213,7 +2216,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2213
2216
|
});
|
|
2214
2217
|
}, w = () => {
|
|
2215
2218
|
g(null);
|
|
2216
|
-
},
|
|
2219
|
+
}, C = () => /* @__PURE__ */ l("div", { className: _, children: "Данные отсутствуют" }), R = ({
|
|
2217
2220
|
row: b,
|
|
2218
2221
|
col: m
|
|
2219
2222
|
}) => {
|
|
@@ -2267,7 +2270,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2267
2270
|
`${m}:${P}`
|
|
2268
2271
|
);
|
|
2269
2272
|
}) }, m) : null) })
|
|
2270
|
-
] }) :
|
|
2273
|
+
] }) : C(), q = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ l(
|
|
2271
2274
|
"div",
|
|
2272
2275
|
{
|
|
2273
2276
|
className: f({
|
|
@@ -2330,19 +2333,19 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2330
2333
|
);
|
|
2331
2334
|
}) }, m) : null)
|
|
2332
2335
|
}
|
|
2333
|
-
) :
|
|
2336
|
+
) : C();
|
|
2334
2337
|
return n ? a ? W() : q() : W();
|
|
2335
|
-
}, Lr = "
|
|
2338
|
+
}, 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
2339
|
spTabs: Lr,
|
|
2337
2340
|
spTabs_separated: Dr,
|
|
2338
|
-
"spTabs--size-md": "_spTabs--size-
|
|
2341
|
+
"spTabs--size-md": "_spTabs--size-md_loi7t_48",
|
|
2339
2342
|
spTabs__tabElement: Pr,
|
|
2340
|
-
"spTabs--size-lg": "_spTabs--size-
|
|
2341
|
-
"spTabs--variant-contained": "_spTabs--variant-
|
|
2343
|
+
"spTabs--size-lg": "_spTabs--size-lg_loi7t_51",
|
|
2344
|
+
"spTabs--variant-contained": "_spTabs--variant-contained_loi7t_54",
|
|
2342
2345
|
spTabs__tabElement_active: Or,
|
|
2343
2346
|
spTabs__triggerTooltip: Br,
|
|
2344
|
-
"spTabs--variant-filled": "_spTabs--variant-
|
|
2345
|
-
},
|
|
2347
|
+
"spTabs--variant-filled": "_spTabs--variant-filled_loi7t_93"
|
|
2348
|
+
}, jp = (e) => {
|
|
2346
2349
|
const {
|
|
2347
2350
|
panes: t,
|
|
2348
2351
|
isSeparated: o = !1,
|
|
@@ -2367,7 +2370,7 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2367
2370
|
}
|
|
2368
2371
|
};
|
|
2369
2372
|
return /* @__PURE__ */ l("div", { className: s, children: t.map((_, u) => {
|
|
2370
|
-
const { name: g, active: h, onClick: w, infoTooltipText:
|
|
2373
|
+
const { name: g, active: h, onClick: w, infoTooltipText: C } = _;
|
|
2371
2374
|
return /* @__PURE__ */ U(
|
|
2372
2375
|
"div",
|
|
2373
2376
|
{
|
|
@@ -2378,11 +2381,11 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2378
2381
|
onClick: w,
|
|
2379
2382
|
children: [
|
|
2380
2383
|
/* @__PURE__ */ l(Ne, { type: p(), children: g }),
|
|
2381
|
-
!!
|
|
2384
|
+
!!C && /* @__PURE__ */ l(
|
|
2382
2385
|
tt,
|
|
2383
2386
|
{
|
|
2384
2387
|
classNameTriggerTooltip: d,
|
|
2385
|
-
text:
|
|
2388
|
+
text: C,
|
|
2386
2389
|
classNameBaseTooltipRoot: a
|
|
2387
2390
|
}
|
|
2388
2391
|
)
|
|
@@ -2393,14 +2396,14 @@ const Oi = (e) => `not ${e}`, Bi = (e, t) => {
|
|
|
2393
2396
|
}) });
|
|
2394
2397
|
}, Wr = "_spTextWithLabel_1dr7p_1", zr = {
|
|
2395
2398
|
spTextWithLabel: Wr
|
|
2396
|
-
},
|
|
2399
|
+
}, Ip = (e) => {
|
|
2397
2400
|
const { children: t, label: o, style: n, ...a } = e;
|
|
2398
2401
|
return /* @__PURE__ */ U("div", { className: zr.spTextWithLabel, style: { ...n }, children: [
|
|
2399
|
-
/* @__PURE__ */ l(
|
|
2402
|
+
/* @__PURE__ */ l(It, { label: o }),
|
|
2400
2403
|
/* @__PURE__ */ l(Ne, { ...a, children: t })
|
|
2401
2404
|
] });
|
|
2402
2405
|
};
|
|
2403
|
-
function
|
|
2406
|
+
function Ie(e, t, o, n) {
|
|
2404
2407
|
function a(i) {
|
|
2405
2408
|
return i instanceof o ? i : new o(function(r) {
|
|
2406
2409
|
r(i);
|
|
@@ -3663,7 +3666,7 @@ const qr = [
|
|
|
3663
3666
|
// Windows
|
|
3664
3667
|
];
|
|
3665
3668
|
function $r(e) {
|
|
3666
|
-
return
|
|
3669
|
+
return Ie(this, void 0, void 0, function* () {
|
|
3667
3670
|
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
3671
|
});
|
|
3669
3672
|
}
|
|
@@ -3680,12 +3683,12 @@ function Yr(e) {
|
|
|
3680
3683
|
return Et(e.target.files).map((t) => Pe(t));
|
|
3681
3684
|
}
|
|
3682
3685
|
function Gr(e) {
|
|
3683
|
-
return
|
|
3686
|
+
return Ie(this, void 0, void 0, function* () {
|
|
3684
3687
|
return (yield Promise.all(e.map((o) => o.getFile()))).map((o) => Pe(o));
|
|
3685
3688
|
});
|
|
3686
3689
|
}
|
|
3687
3690
|
function Kr(e, t) {
|
|
3688
|
-
return
|
|
3691
|
+
return Ie(this, void 0, void 0, function* () {
|
|
3689
3692
|
if (e.items) {
|
|
3690
3693
|
const o = Et(e.items).filter((a) => a.kind === "file");
|
|
3691
3694
|
if (t !== "drop")
|
|
@@ -3722,7 +3725,7 @@ function Eo(e) {
|
|
|
3722
3725
|
], []);
|
|
3723
3726
|
}
|
|
3724
3727
|
function oo(e, t) {
|
|
3725
|
-
return
|
|
3728
|
+
return Ie(this, void 0, void 0, function* () {
|
|
3726
3729
|
var o;
|
|
3727
3730
|
if (globalThis.isSecureContext && typeof e.getAsFileSystemHandle == "function") {
|
|
3728
3731
|
const i = yield e.getAsFileSystemHandle();
|
|
@@ -3740,7 +3743,7 @@ function oo(e, t) {
|
|
|
3740
3743
|
});
|
|
3741
3744
|
}
|
|
3742
3745
|
function Zr(e) {
|
|
3743
|
-
return
|
|
3746
|
+
return Ie(this, void 0, void 0, function* () {
|
|
3744
3747
|
return e.isDirectory ? So(e) : Qr(e);
|
|
3745
3748
|
});
|
|
3746
3749
|
}
|
|
@@ -3749,7 +3752,7 @@ function So(e) {
|
|
|
3749
3752
|
return new Promise((o, n) => {
|
|
3750
3753
|
const a = [];
|
|
3751
3754
|
function i() {
|
|
3752
|
-
t.readEntries((r) =>
|
|
3755
|
+
t.readEntries((r) => Ie(this, void 0, void 0, function* () {
|
|
3753
3756
|
if (r.length) {
|
|
3754
3757
|
const s = Promise.all(r.map(Zr));
|
|
3755
3758
|
a.push(s), i();
|
|
@@ -3768,7 +3771,7 @@ function So(e) {
|
|
|
3768
3771
|
});
|
|
3769
3772
|
}
|
|
3770
3773
|
function Qr(e) {
|
|
3771
|
-
return
|
|
3774
|
+
return Ie(this, void 0, void 0, function* () {
|
|
3772
3775
|
return new Promise((t, o) => {
|
|
3773
3776
|
e.file((n) => {
|
|
3774
3777
|
const a = Pe(n, e.fullPath);
|
|
@@ -3872,19 +3875,19 @@ function ns(e, t) {
|
|
|
3872
3875
|
function as(e) {
|
|
3873
3876
|
if (Array.isArray(e)) return e;
|
|
3874
3877
|
}
|
|
3875
|
-
var is = typeof yt == "function" ? yt : yt.default,
|
|
3876
|
-
FileInvalidType:
|
|
3877
|
-
FileTooLarge:
|
|
3878
|
+
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 = {
|
|
3879
|
+
FileInvalidType: jo,
|
|
3880
|
+
FileTooLarge: Io,
|
|
3878
3881
|
FileTooSmall: Ao
|
|
3879
3882
|
}, ss = function() {
|
|
3880
3883
|
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
3884
|
return {
|
|
3882
|
-
code:
|
|
3885
|
+
code: jo,
|
|
3883
3886
|
message: "File type must be ".concat(n)
|
|
3884
3887
|
};
|
|
3885
3888
|
}, ro = function(t) {
|
|
3886
3889
|
return {
|
|
3887
|
-
code:
|
|
3890
|
+
code: Io,
|
|
3888
3891
|
message: "File is larger than ".concat(t, " ").concat(t === 1 ? "byte" : "bytes")
|
|
3889
3892
|
};
|
|
3890
3893
|
}, so = function(t) {
|
|
@@ -3901,24 +3904,24 @@ function Lo(e, t) {
|
|
|
3901
3904
|
return [o, o ? null : ss(t)];
|
|
3902
3905
|
}
|
|
3903
3906
|
function Do(e, t, o) {
|
|
3904
|
-
if (
|
|
3905
|
-
if (
|
|
3907
|
+
if (je(e.size))
|
|
3908
|
+
if (je(t) && je(o)) {
|
|
3906
3909
|
if (e.size > o) return [!1, ro(o)];
|
|
3907
3910
|
if (e.size < t) return [!1, so(t)];
|
|
3908
3911
|
} else {
|
|
3909
|
-
if (
|
|
3910
|
-
if (
|
|
3912
|
+
if (je(t) && e.size < t) return [!1, so(t)];
|
|
3913
|
+
if (je(o) && e.size > o) return [!1, ro(o)];
|
|
3911
3914
|
}
|
|
3912
3915
|
return [!0, null];
|
|
3913
3916
|
}
|
|
3914
|
-
function
|
|
3917
|
+
function je(e) {
|
|
3915
3918
|
return e != null;
|
|
3916
3919
|
}
|
|
3917
3920
|
function ls(e) {
|
|
3918
3921
|
var t = e.files, o = e.accept, n = e.minSize, a = e.maxSize, i = e.multiple, r = e.maxFiles, s = e.validator;
|
|
3919
3922
|
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 && !
|
|
3923
|
+
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;
|
|
3924
|
+
return u && w && !C;
|
|
3922
3925
|
});
|
|
3923
3926
|
}
|
|
3924
3927
|
function Qe(e) {
|
|
@@ -3957,7 +3960,7 @@ function us() {
|
|
|
3957
3960
|
return "showOpenFilePicker" in window;
|
|
3958
3961
|
}
|
|
3959
3962
|
function _s(e) {
|
|
3960
|
-
if (
|
|
3963
|
+
if (je(e)) {
|
|
3961
3964
|
var t = Object.entries(e).filter(function(o) {
|
|
3962
3965
|
var n = Me(o, 2), a = n[0], i = n[1], r = !0;
|
|
3963
3966
|
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 +3977,7 @@ function _s(e) {
|
|
|
3974
3977
|
return e;
|
|
3975
3978
|
}
|
|
3976
3979
|
function fs(e) {
|
|
3977
|
-
if (
|
|
3980
|
+
if (je(e))
|
|
3978
3981
|
return Object.entries(e).reduce(function(t, o) {
|
|
3979
3982
|
var n = Me(o, 2), a = n[0], i = n[1];
|
|
3980
3983
|
return [].concat(no(t), [a], no(i));
|
|
@@ -3996,19 +3999,19 @@ function Oo(e) {
|
|
|
3996
3999
|
}
|
|
3997
4000
|
var xs = ["children"], hs = ["open"], bs = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], ys = ["refKey", "onChange", "onClick"];
|
|
3998
4001
|
function ws(e) {
|
|
3999
|
-
return Ts(e) ||
|
|
4002
|
+
return Ts(e) || ks(e) || Bo(e) || Cs();
|
|
4000
4003
|
}
|
|
4001
|
-
function
|
|
4004
|
+
function Cs() {
|
|
4002
4005
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
4003
4006
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
4004
4007
|
}
|
|
4005
|
-
function
|
|
4008
|
+
function ks(e) {
|
|
4006
4009
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
4007
4010
|
}
|
|
4008
4011
|
function Ts(e) {
|
|
4009
4012
|
if (Array.isArray(e)) return Rt(e);
|
|
4010
4013
|
}
|
|
4011
|
-
function
|
|
4014
|
+
function Ct(e, t) {
|
|
4012
4015
|
return Ss(e) || Es(e, t) || Bo(e, t) || Ns();
|
|
4013
4016
|
}
|
|
4014
4017
|
function Ns() {
|
|
@@ -4288,7 +4291,7 @@ Dt.propTypes = {
|
|
|
4288
4291
|
*/
|
|
4289
4292
|
validator: S.func
|
|
4290
4293
|
};
|
|
4291
|
-
var
|
|
4294
|
+
var jt = {
|
|
4292
4295
|
isFocused: !1,
|
|
4293
4296
|
isFileDialogActive: !1,
|
|
4294
4297
|
isDragActive: !1,
|
|
@@ -4298,15 +4301,15 @@ var It = {
|
|
|
4298
4301
|
fileRejections: []
|
|
4299
4302
|
};
|
|
4300
4303
|
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,
|
|
4304
|
+
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
4305
|
return fs(o);
|
|
4303
4306
|
}, [o]), re = De(function() {
|
|
4304
4307
|
return _s(o);
|
|
4305
4308
|
}, [o]), ue = De(function() {
|
|
4306
4309
|
return typeof R == "function" ? R : co;
|
|
4307
4310
|
}, [R]), ce = De(function() {
|
|
4308
|
-
return typeof
|
|
4309
|
-
}, [
|
|
4311
|
+
return typeof C == "function" ? C : co;
|
|
4312
|
+
}, [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
4313
|
!N.current && v && setTimeout(function() {
|
|
4311
4314
|
if (J.current) {
|
|
4312
4315
|
var L = J.current.files;
|
|
@@ -4317,8 +4320,8 @@ function zo() {
|
|
|
4317
4320
|
}, 300);
|
|
4318
4321
|
};
|
|
4319
4322
|
ne(function() {
|
|
4320
|
-
return window.addEventListener("focus",
|
|
4321
|
-
window.removeEventListener("focus",
|
|
4323
|
+
return window.addEventListener("focus", I, !1), function() {
|
|
4324
|
+
window.removeEventListener("focus", I, !1);
|
|
4322
4325
|
};
|
|
4323
4326
|
}, [J, v, ce, N]);
|
|
4324
4327
|
var E = me([]), D = function(L) {
|
|
@@ -4332,7 +4335,7 @@ function zo() {
|
|
|
4332
4335
|
return !n && q && G.current && G.current.focus(), function() {
|
|
4333
4336
|
};
|
|
4334
4337
|
}, [G, q, n]);
|
|
4335
|
-
var
|
|
4338
|
+
var j = ge(function(y) {
|
|
4336
4339
|
O ? O(y) : console.error(y);
|
|
4337
4340
|
}, [O]), B = ge(function(y) {
|
|
4338
4341
|
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 +4357,9 @@ function zo() {
|
|
|
4354
4357
|
}), p && p(y);
|
|
4355
4358
|
}
|
|
4356
4359
|
}).catch(function(L) {
|
|
4357
|
-
return
|
|
4360
|
+
return j(L);
|
|
4358
4361
|
});
|
|
4359
|
-
}, [a, p,
|
|
4362
|
+
}, [a, p, j, P, ie, r, i, s, d, Z]), H = ge(function(y) {
|
|
4360
4363
|
y.preventDefault(), y.persist(), $e(y);
|
|
4361
4364
|
var L = Xe(y);
|
|
4362
4365
|
if (L && y.dataTransfer)
|
|
@@ -4379,7 +4382,7 @@ function zo() {
|
|
|
4379
4382
|
}, [G, _, P]), M = ge(function(y, L) {
|
|
4380
4383
|
var oe = [], se = [];
|
|
4381
4384
|
y.forEach(function(be) {
|
|
4382
|
-
var Be = Lo(be, ie), Le =
|
|
4385
|
+
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
4386
|
if (nt && rt && !pt)
|
|
4384
4387
|
oe.push(be);
|
|
4385
4388
|
else {
|
|
@@ -4406,11 +4409,11 @@ function zo() {
|
|
|
4406
4409
|
y.preventDefault(), y.persist(), $e(y), E.current = [], Xe(y) && Promise.resolve(a(y)).then(function(L) {
|
|
4407
4410
|
Qe(y) && !P || M(L, y);
|
|
4408
4411
|
}).catch(function(L) {
|
|
4409
|
-
return
|
|
4412
|
+
return j(L);
|
|
4410
4413
|
}), z({
|
|
4411
4414
|
type: "reset"
|
|
4412
4415
|
});
|
|
4413
|
-
}, [a, M,
|
|
4416
|
+
}, [a, M, j, P]), x = ge(function() {
|
|
4414
4417
|
if (N.current) {
|
|
4415
4418
|
z({
|
|
4416
4419
|
type: "openDialog"
|
|
@@ -4428,14 +4431,14 @@ function zo() {
|
|
|
4428
4431
|
}).catch(function(L) {
|
|
4429
4432
|
vs(L) ? (ce(L), z({
|
|
4430
4433
|
type: "closeDialog"
|
|
4431
|
-
})) : gs(L) ? (N.current = !1, J.current ? (J.current.value = null, J.current.click()) :
|
|
4434
|
+
})) : 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
4435
|
});
|
|
4433
4436
|
return;
|
|
4434
4437
|
}
|
|
4435
4438
|
J.current && (z({
|
|
4436
4439
|
type: "openDialog"
|
|
4437
4440
|
}), ue(), J.current.value = null, J.current.click());
|
|
4438
|
-
}, [z, ue, ce, W, M,
|
|
4441
|
+
}, [z, ue, ce, W, M, j, re, s]), he = ge(function(y) {
|
|
4439
4442
|
!G.current || !G.current.isEqualNode(y.target) || (y.key === " " || y.key === "Enter" || y.keyCode === 32 || y.keyCode === 13) && (y.preventDefault(), x());
|
|
4440
4443
|
}, [G, x]), Se = ge(function() {
|
|
4441
4444
|
z({
|
|
@@ -4519,7 +4522,7 @@ function Fs(e, t) {
|
|
|
4519
4522
|
isFocused: !1
|
|
4520
4523
|
});
|
|
4521
4524
|
case "openDialog":
|
|
4522
|
-
return ee(ee({},
|
|
4525
|
+
return ee(ee({}, jt), {}, {
|
|
4523
4526
|
isFileDialogActive: !0
|
|
4524
4527
|
});
|
|
4525
4528
|
case "closeDialog":
|
|
@@ -4539,14 +4542,14 @@ function Fs(e, t) {
|
|
|
4539
4542
|
isDragReject: t.isDragReject
|
|
4540
4543
|
});
|
|
4541
4544
|
case "reset":
|
|
4542
|
-
return ee({},
|
|
4545
|
+
return ee({}, jt);
|
|
4543
4546
|
default:
|
|
4544
4547
|
return e;
|
|
4545
4548
|
}
|
|
4546
4549
|
}
|
|
4547
4550
|
function co() {
|
|
4548
4551
|
}
|
|
4549
|
-
const
|
|
4552
|
+
const js = (e) => zo(e), Is = (e) => {
|
|
4550
4553
|
switch (e.code) {
|
|
4551
4554
|
case wt.FileInvalidType:
|
|
4552
4555
|
return "Неверный формат файла";
|
|
@@ -4667,13 +4670,13 @@ const Is = (e) => zo(e), js = (e) => {
|
|
|
4667
4670
|
classNameRoot: u,
|
|
4668
4671
|
loading: g,
|
|
4669
4672
|
error: h
|
|
4670
|
-
} = e, [w,
|
|
4673
|
+
} = e, [w, C] = te([]), R = ge(
|
|
4671
4674
|
(v, N) => {
|
|
4672
|
-
const
|
|
4675
|
+
const I = N.map(({ file: D, errors: j }) => ({
|
|
4673
4676
|
file: D,
|
|
4674
|
-
errors:
|
|
4677
|
+
errors: j
|
|
4675
4678
|
}));
|
|
4676
|
-
if (
|
|
4679
|
+
if (C([...I, ...w]), !s) {
|
|
4677
4680
|
a(v, n);
|
|
4678
4681
|
return;
|
|
4679
4682
|
}
|
|
@@ -4681,7 +4684,7 @@ const Is = (e) => zo(e), js = (e) => {
|
|
|
4681
4684
|
a(E, n);
|
|
4682
4685
|
},
|
|
4683
4686
|
[w, d, s, n, a]
|
|
4684
|
-
), { getRootProps: W, getInputProps: q, isDragReject: A } =
|
|
4687
|
+
), { getRootProps: W, getInputProps: q, isDragReject: A } = js({
|
|
4685
4688
|
accept: i,
|
|
4686
4689
|
onDrop: R,
|
|
4687
4690
|
multiple: s,
|
|
@@ -4710,15 +4713,15 @@ const Is = (e) => zo(e), js = (e) => {
|
|
|
4710
4713
|
if (g)
|
|
4711
4714
|
return;
|
|
4712
4715
|
if (N) {
|
|
4713
|
-
const D = [...w],
|
|
4714
|
-
D.splice(
|
|
4716
|
+
const D = [...w], j = D.findIndex((B) => B.file.name === v);
|
|
4717
|
+
D.splice(j, 1), C(D);
|
|
4715
4718
|
return;
|
|
4716
4719
|
}
|
|
4717
|
-
const
|
|
4718
|
-
|
|
4720
|
+
const I = [...d], E = I.findIndex((D) => D.name === v);
|
|
4721
|
+
I.splice(E, 1), a(I, n);
|
|
4719
4722
|
}, G = (v) => {
|
|
4720
|
-
v.stopPropagation(), a([], n),
|
|
4721
|
-
}, J = (v) => Object.values(v).flatMap((N) => N.map((
|
|
4723
|
+
v.stopPropagation(), a([], n), C([]), m(!1);
|
|
4724
|
+
}, J = (v) => Object.values(v).flatMap((N) => N.map((I) => I.toUpperCase())).join(", "), Q = () => {
|
|
4722
4725
|
if (b) {
|
|
4723
4726
|
const v = J(i);
|
|
4724
4727
|
return /* @__PURE__ */ l(
|
|
@@ -4741,8 +4744,8 @@ const Is = (e) => zo(e), js = (e) => {
|
|
|
4741
4744
|
classNameRoot: f(V.spUploadFiles__fileName)
|
|
4742
4745
|
}
|
|
4743
4746
|
);
|
|
4744
|
-
},
|
|
4745
|
-
const E = N ? (N == null ? void 0 : N.length) > 0 : void 0, D = () => N ? N == null ? void 0 : N.map(
|
|
4747
|
+
}, k = () => /* @__PURE__ */ l("ul", { className: re, children: F.map(({ file: v, errors: N }, I) => {
|
|
4748
|
+
const E = N ? (N == null ? void 0 : N.length) > 0 : void 0, D = () => N ? N == null ? void 0 : N.map(Is).join(", ") : "";
|
|
4746
4749
|
return /* @__PURE__ */ U(
|
|
4747
4750
|
"li",
|
|
4748
4751
|
{
|
|
@@ -4750,8 +4753,8 @@ const Is = (e) => zo(e), js = (e) => {
|
|
|
4750
4753
|
V.spUploadFiles__fileNamesListItem,
|
|
4751
4754
|
E && V.spUploadFiles__fileNamesListItem_error
|
|
4752
4755
|
),
|
|
4753
|
-
onClick: (
|
|
4754
|
-
|
|
4756
|
+
onClick: (j) => {
|
|
4757
|
+
j.stopPropagation();
|
|
4755
4758
|
},
|
|
4756
4759
|
children: [
|
|
4757
4760
|
/* @__PURE__ */ l(
|
|
@@ -4789,17 +4792,17 @@ const Is = (e) => zo(e), js = (e) => {
|
|
|
4789
4792
|
"div",
|
|
4790
4793
|
{
|
|
4791
4794
|
className: f(V.spUploadFiles__fileNamesListItemDelete),
|
|
4792
|
-
onClick: (
|
|
4793
|
-
|
|
4795
|
+
onClick: (j) => {
|
|
4796
|
+
j.stopPropagation(), ce(v.name, E);
|
|
4794
4797
|
},
|
|
4795
4798
|
children: /* @__PURE__ */ l(xe, { name: pe.Close })
|
|
4796
4799
|
}
|
|
4797
4800
|
)
|
|
4798
4801
|
]
|
|
4799
4802
|
},
|
|
4800
|
-
|
|
4803
|
+
I
|
|
4801
4804
|
);
|
|
4802
|
-
}) }), $ = () => s ?
|
|
4805
|
+
}) }), $ = () => s ? k() : Q(), z = () => /* @__PURE__ */ l(
|
|
4803
4806
|
Ye,
|
|
4804
4807
|
{
|
|
4805
4808
|
classNameRoot: V.spUploadFiles__placeholder,
|
|
@@ -4848,20 +4851,20 @@ export {
|
|
|
4848
4851
|
xp as Accordion,
|
|
4849
4852
|
Xn as ApplyButtons,
|
|
4850
4853
|
go as BaseTooltip,
|
|
4851
|
-
|
|
4854
|
+
kt as Button,
|
|
4852
4855
|
hp as Checkbox,
|
|
4853
4856
|
yp as Confirm,
|
|
4854
4857
|
wp as ContextMenu,
|
|
4855
4858
|
Fa as DefaultDropzone,
|
|
4856
|
-
|
|
4859
|
+
Cp as Dropdown,
|
|
4857
4860
|
pe as EIconName,
|
|
4858
4861
|
le as ETooltipPosition,
|
|
4859
4862
|
Ye as EllipsisTextWithTooltip,
|
|
4860
|
-
|
|
4863
|
+
kp as Form,
|
|
4861
4864
|
xe as Icon,
|
|
4862
4865
|
tt as InfoTooltip,
|
|
4863
4866
|
ri as Input,
|
|
4864
|
-
|
|
4867
|
+
It as Label,
|
|
4865
4868
|
_a as Layer,
|
|
4866
4869
|
si as MediaContext,
|
|
4867
4870
|
Np as MediaContextProvider,
|
|
@@ -4872,9 +4875,9 @@ export {
|
|
|
4872
4875
|
Rp as Skeleton,
|
|
4873
4876
|
vo as Spinner,
|
|
4874
4877
|
Fp as Table,
|
|
4875
|
-
|
|
4878
|
+
jp as Tabs,
|
|
4876
4879
|
Ne as Text,
|
|
4877
|
-
|
|
4880
|
+
Ip as TextWithLabel,
|
|
4878
4881
|
et as Tooltip,
|
|
4879
4882
|
Ap as UploadFiles,
|
|
4880
4883
|
Ki as useAnimatedValue,
|