test-stpr-ui-kit 0.4.56 → 0.4.58
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/test-stpr-ui-kit.css +1 -1
- package/dist/test-stpr-ui-kit.js +520 -503
- package/dist/test-stpr-ui-kit.umd.cjs +9 -9
- package/package.json +1 -1
package/dist/test-stpr-ui-kit.js
CHANGED
|
@@ -63,7 +63,7 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
63
63
|
spAccordion__childrenWrapper_open: Rn,
|
|
64
64
|
spAccordion__content: Fn,
|
|
65
65
|
spAccordion__content_open: jn
|
|
66
|
-
},
|
|
66
|
+
}, _p = (e) => {
|
|
67
67
|
const {
|
|
68
68
|
name: t,
|
|
69
69
|
children: o,
|
|
@@ -72,12 +72,12 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
72
72
|
onOpen: i,
|
|
73
73
|
noBorder: r = !1,
|
|
74
74
|
noPadding: s = !1,
|
|
75
|
-
level:
|
|
75
|
+
level: m = 1,
|
|
76
76
|
classNameRoot: l,
|
|
77
77
|
classNameHeader: _,
|
|
78
|
-
classNameTitle:
|
|
78
|
+
classNameTitle: u,
|
|
79
79
|
classNameIcon: g,
|
|
80
|
-
classNameChildrenWrapper:
|
|
80
|
+
classNameChildrenWrapper: h
|
|
81
81
|
} = e, [w, C] = te(n), S = () => {
|
|
82
82
|
a || (C(!w), i == null || i(!w));
|
|
83
83
|
}, P = f({
|
|
@@ -92,10 +92,10 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
92
92
|
..._ && { [_]: !0 }
|
|
93
93
|
}), A = f({
|
|
94
94
|
[de.spAccordion__name]: !0,
|
|
95
|
-
[de[`spAccordion__name--level-${
|
|
95
|
+
[de[`spAccordion__name--level-${m}`]]: m,
|
|
96
96
|
[de.spAccordion__name_hiddenExpand]: a,
|
|
97
|
-
...
|
|
98
|
-
}),
|
|
97
|
+
...u && { [u]: !0 }
|
|
98
|
+
}), b = f({
|
|
99
99
|
[de.spAccordion__icon]: !0,
|
|
100
100
|
[de.spAccordion__icon_open]: w,
|
|
101
101
|
[de.spAccordion__icon_hidden]: a,
|
|
@@ -103,7 +103,7 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
103
103
|
}), d = f({
|
|
104
104
|
[de.spAccordion__childrenWrapper]: !0,
|
|
105
105
|
[de.spAccordion__childrenWrapper_open]: w,
|
|
106
|
-
...
|
|
106
|
+
...h && { [h]: !0 }
|
|
107
107
|
}), j = f({
|
|
108
108
|
[de.spAccordion__content]: !0,
|
|
109
109
|
[de.spAccordion__content_open]: w
|
|
@@ -111,7 +111,7 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
111
111
|
return /* @__PURE__ */ U("div", { className: P, children: [
|
|
112
112
|
/* @__PURE__ */ U("div", { className: q, children: [
|
|
113
113
|
/* @__PURE__ */ c("div", { className: A, children: /* @__PURE__ */ c("span", { onClick: S, children: t }) }),
|
|
114
|
-
/* @__PURE__ */ c(ge, { onClick: S, className:
|
|
114
|
+
/* @__PURE__ */ c(ge, { onClick: S, className: b, name: pe.ChevronDown })
|
|
115
115
|
] }),
|
|
116
116
|
/* @__PURE__ */ c("div", { className: d, children: /* @__PURE__ */ c("div", { className: j, children: o }) })
|
|
117
117
|
] });
|
|
@@ -135,14 +135,14 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
135
135
|
children: /* @__PURE__ */ c("div", { className: ct.spinner__inner })
|
|
136
136
|
}
|
|
137
137
|
);
|
|
138
|
-
}, Ln = "_spButton_zixup_43", Dn = "_spButton_noPadding_zixup_59", On = "_spButton_onlyIcon_zixup_62", Pn = "_spButton__iconContainer_zixup_70", Bn = "_spButton_link_zixup_73",
|
|
138
|
+
}, Ln = "_spButton_zixup_43", Dn = "_spButton_noPadding_zixup_59", On = "_spButton_onlyIcon_zixup_62", Pn = "_spButton__iconContainer_zixup_70", Bn = "_spButton_link_zixup_73", Wn = "_spButton__text_zixup_77", zn = "_spButton_primary_zixup_89", Mn = "_spButton_blue_zixup_89", Un = "_spButton_white_zixup_99", qn = "_spButton_secondary_zixup_109", $n = "_spButton_fullWidth_zixup_129", Hn = "_spButton_disabled_zixup_132", Vn = "_spButton__spinner_zixup_141", we = {
|
|
139
139
|
spButton: Ln,
|
|
140
140
|
spButton_noPadding: Dn,
|
|
141
141
|
spButton_onlyIcon: On,
|
|
142
142
|
spButton__iconContainer: Pn,
|
|
143
143
|
spButton_link: Bn,
|
|
144
|
-
spButton__text:
|
|
145
|
-
spButton_primary:
|
|
144
|
+
spButton__text: Wn,
|
|
145
|
+
spButton_primary: zn,
|
|
146
146
|
spButton_blue: Mn,
|
|
147
147
|
spButton_white: Un,
|
|
148
148
|
spButton_secondary: qn,
|
|
@@ -158,37 +158,37 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
158
158
|
iconName: i,
|
|
159
159
|
iconRotate: r = 0,
|
|
160
160
|
disabled: s = !1,
|
|
161
|
-
type:
|
|
161
|
+
type: m = "button",
|
|
162
162
|
form: l,
|
|
163
163
|
children: _,
|
|
164
|
-
loading:
|
|
164
|
+
loading: u = !1,
|
|
165
165
|
isFullWidth: g = !1,
|
|
166
|
-
isOnlyIcon:
|
|
166
|
+
isOnlyIcon: h = !1,
|
|
167
167
|
noPadding: w = !1,
|
|
168
168
|
classNameRoot: C,
|
|
169
169
|
classNameIconContainerRoot: S
|
|
170
|
-
} = e, P = (
|
|
171
|
-
s || a == null || a(
|
|
170
|
+
} = e, P = (b) => {
|
|
171
|
+
s || a == null || a(b);
|
|
172
172
|
}, q = () => {
|
|
173
|
-
const
|
|
173
|
+
const b = f({
|
|
174
174
|
[we.spButton__text]: !0
|
|
175
175
|
}), d = f({
|
|
176
176
|
[we.spButton__iconContainer]: !0,
|
|
177
177
|
...S && { [S]: !0 }
|
|
178
178
|
});
|
|
179
179
|
return /* @__PURE__ */ U(uo, { children: [
|
|
180
|
-
(i ||
|
|
181
|
-
!
|
|
180
|
+
(i || u) && /* @__PURE__ */ c("div", { className: d, children: u ? /* @__PURE__ */ c(vo, { classNameRoot: we.spButton__spinner }) : i && /* @__PURE__ */ c(ge, { name: i, rotate: r }) }),
|
|
181
|
+
!h && _ && /* @__PURE__ */ c("div", { className: b, children: _ })
|
|
182
182
|
] });
|
|
183
183
|
}, A = f({
|
|
184
184
|
[we.spButton]: !0,
|
|
185
185
|
[we.spButton_noPadding]: w,
|
|
186
|
-
[we.spButton_onlyIcon]:
|
|
186
|
+
[we.spButton_onlyIcon]: h,
|
|
187
187
|
[we[`spButton_${o}`]]: o,
|
|
188
188
|
[we[`spButton_${t}`]]: t,
|
|
189
189
|
[we.spButton_fullWidth]: g,
|
|
190
190
|
[we.spButton_disabled]: s,
|
|
191
|
-
[we.spButton_loading]:
|
|
191
|
+
[we.spButton_loading]: u,
|
|
192
192
|
...C && { [C]: !0 }
|
|
193
193
|
});
|
|
194
194
|
return /* @__PURE__ */ c(
|
|
@@ -198,12 +198,12 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
198
198
|
className: A,
|
|
199
199
|
onClick: P,
|
|
200
200
|
disabled: s,
|
|
201
|
-
type:
|
|
201
|
+
type: m,
|
|
202
202
|
form: l,
|
|
203
203
|
children: q()
|
|
204
204
|
}
|
|
205
205
|
);
|
|
206
|
-
}, Yn = "_spApplyButtons_e8c1h_43", Gn = "_spApplyButtons__cancel_e8c1h_65", Kn = "_spApplyButtons__submit_e8c1h_68",
|
|
206
|
+
}, Yn = "_spApplyButtons_e8c1h_43", Gn = "_spApplyButtons__cancel_e8c1h_65", Kn = "_spApplyButtons__submit_e8c1h_68", We = {
|
|
207
207
|
spApplyButtons: Yn,
|
|
208
208
|
"spApplyButtons_align-right": "_spApplyButtons_align-right_e8c1h_48",
|
|
209
209
|
"spApplyButtons_align-left": "_spApplyButtons_align-left_e8c1h_51",
|
|
@@ -220,18 +220,18 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
220
220
|
cancelBtnDisabled: i,
|
|
221
221
|
submitBtnContent: r,
|
|
222
222
|
formId: s,
|
|
223
|
-
disabled:
|
|
223
|
+
disabled: m,
|
|
224
224
|
onClose: l,
|
|
225
225
|
submit: _,
|
|
226
|
-
loading:
|
|
226
|
+
loading: u
|
|
227
227
|
} = e, g = f({
|
|
228
|
-
[
|
|
229
|
-
[
|
|
230
|
-
[
|
|
231
|
-
}),
|
|
232
|
-
[
|
|
228
|
+
[We.spApplyButtons]: !0,
|
|
229
|
+
[We[`spApplyButtons_mobile-${t}`]]: t,
|
|
230
|
+
[We[`spApplyButtons_align-${o}`]]: o
|
|
231
|
+
}), h = f({
|
|
232
|
+
[We.spApplyButtons__submit]: !0
|
|
233
233
|
}), w = f({
|
|
234
|
-
[
|
|
234
|
+
[We.spApplyButtons__cancel]: !0
|
|
235
235
|
});
|
|
236
236
|
return /* @__PURE__ */ U("div", { className: g, children: [
|
|
237
237
|
n && l && /* @__PURE__ */ c(
|
|
@@ -251,11 +251,11 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
251
251
|
{
|
|
252
252
|
type: "submit",
|
|
253
253
|
variant: "primary",
|
|
254
|
-
classNameRoot:
|
|
254
|
+
classNameRoot: h,
|
|
255
255
|
form: s || void 0,
|
|
256
|
-
disabled:
|
|
256
|
+
disabled: m,
|
|
257
257
|
onClick: _,
|
|
258
|
-
loading:
|
|
258
|
+
loading: u,
|
|
259
259
|
children: r
|
|
260
260
|
}
|
|
261
261
|
)
|
|
@@ -275,11 +275,11 @@ const gn = "_spAccordion_11ek7_43", xn = "_spAccordion_noBorder_11ek7_57", hn =
|
|
|
275
275
|
[dt.spBaseTooltip]: !0,
|
|
276
276
|
[dt.spBaseTooltip_noPadding]: n,
|
|
277
277
|
...i && { [i]: !0 }
|
|
278
|
-
}),
|
|
278
|
+
}), m = f({
|
|
279
279
|
[dt.spBaseTooltip__content]: !0,
|
|
280
280
|
...r && { [r]: !0 }
|
|
281
281
|
});
|
|
282
|
-
return /* @__PURE__ */ c("div", { className: s, ref: t, style: a, children: /* @__PURE__ */ c("div", { className:
|
|
282
|
+
return /* @__PURE__ */ c("div", { className: s, ref: t, style: a, children: /* @__PURE__ */ c("div", { className: m, children: o }) });
|
|
283
283
|
});
|
|
284
284
|
go.displayName = "BaseTooltip";
|
|
285
285
|
function xo(e, t, o = !0) {
|
|
@@ -319,15 +319,15 @@ const et = (e) => {
|
|
|
319
319
|
trigger: i,
|
|
320
320
|
triggerAction: r,
|
|
321
321
|
actionOnClose: s,
|
|
322
|
-
classNameTriggerTooltip:
|
|
322
|
+
classNameTriggerTooltip: m,
|
|
323
323
|
position: l = le.BottomLeft,
|
|
324
324
|
text: _,
|
|
325
|
-
noPadding:
|
|
325
|
+
noPadding: u,
|
|
326
326
|
classNameTooltip: g,
|
|
327
|
-
classNameBaseTooltipRoot:
|
|
327
|
+
classNameBaseTooltipRoot: h,
|
|
328
328
|
classNameBaseTooltipContentRoot: w,
|
|
329
329
|
styleTooltip: C
|
|
330
|
-
} = e, [S, P] = te(!1), q = me(null), A = me(null), [
|
|
330
|
+
} = e, [S, P] = te(!1), q = me(null), A = me(null), [b, d] = te(!1);
|
|
331
331
|
xo(
|
|
332
332
|
[q, A],
|
|
333
333
|
() => {
|
|
@@ -344,74 +344,74 @@ const et = (e) => {
|
|
|
344
344
|
}), [Q, ie] = te(!1), re = ve(() => {
|
|
345
345
|
if (!q.current || !A.current) return;
|
|
346
346
|
const T = q.current.getBoundingClientRect(), H = A.current.getBoundingClientRect();
|
|
347
|
-
let
|
|
347
|
+
let z = 0, p = 0;
|
|
348
348
|
switch (l) {
|
|
349
349
|
case le.Right:
|
|
350
|
-
|
|
350
|
+
z = T.top + window.scrollY - (H.height - T.height) / 2, p = T.right + window.scrollX;
|
|
351
351
|
break;
|
|
352
352
|
case le.RightTop:
|
|
353
|
-
|
|
353
|
+
z = T.top + window.scrollY, p = T.right + window.scrollX;
|
|
354
354
|
break;
|
|
355
355
|
case le.RightBottom:
|
|
356
|
-
|
|
356
|
+
z = T.bottom + window.scrollY - H.height, p = T.right + window.scrollX;
|
|
357
357
|
break;
|
|
358
358
|
case le.Left:
|
|
359
|
-
|
|
359
|
+
z = T.top + window.scrollY - (H.height - T.height) / 2, p = T.left + window.scrollX - H.width;
|
|
360
360
|
break;
|
|
361
361
|
case le.LeftTop:
|
|
362
|
-
|
|
362
|
+
z = T.top + window.scrollY, p = T.left + window.scrollX - H.width;
|
|
363
363
|
break;
|
|
364
364
|
case le.LeftBottom:
|
|
365
|
-
|
|
365
|
+
z = T.bottom + window.scrollY - H.height, p = T.left + window.scrollX - H.width;
|
|
366
366
|
break;
|
|
367
367
|
case le.Bottom:
|
|
368
|
-
|
|
368
|
+
z = T.bottom + window.scrollY, p = T.left + window.scrollX - (H.width - T.width) / 2;
|
|
369
369
|
break;
|
|
370
370
|
case le.BottomLeft:
|
|
371
|
-
|
|
371
|
+
z = T.bottom + window.scrollY, p = T.left + window.scrollX;
|
|
372
372
|
break;
|
|
373
373
|
case le.BottomRight:
|
|
374
|
-
|
|
374
|
+
z = T.bottom + window.scrollY, p = T.right + window.scrollX - H.width;
|
|
375
375
|
break;
|
|
376
376
|
case le.Top:
|
|
377
|
-
|
|
377
|
+
z = T.top + window.scrollY - H.height, p = T.left + window.scrollX - (H.width - T.width) / 2;
|
|
378
378
|
break;
|
|
379
379
|
case le.TopLeft:
|
|
380
|
-
|
|
380
|
+
z = T.top + window.scrollY - H.height, p = T.left + window.scrollX;
|
|
381
381
|
break;
|
|
382
382
|
case le.TopRight:
|
|
383
|
-
|
|
383
|
+
z = T.top + window.scrollY - H.height, p = T.right + window.scrollX - H.width;
|
|
384
384
|
break;
|
|
385
385
|
default:
|
|
386
|
-
|
|
386
|
+
z = T.bottom + window.scrollY, p = T.left + window.scrollX;
|
|
387
387
|
}
|
|
388
|
-
|
|
388
|
+
z + H.height > window.innerHeight + window.scrollY && l.includes("bottom") ? z = T.top + window.scrollY - H.height : z < window.scrollY && l.includes("top") && (z = T.bottom + window.scrollY), p + H.width > window.innerWidth + window.scrollX && l.includes("left") ? p = T.left + window.scrollX - H.width + T.width : p < window.scrollX && l.includes("right") && (p = T.right + window.scrollX - T.width), O((v) => ({
|
|
389
389
|
...v,
|
|
390
|
-
top: `${
|
|
390
|
+
top: `${z}px`,
|
|
391
391
|
left: `${p}px`,
|
|
392
392
|
visibility: S || Q ? "visible" : "hidden",
|
|
393
393
|
opacity: S || Q ? 1 : 0
|
|
394
394
|
}));
|
|
395
395
|
}, [l, S, Q]);
|
|
396
396
|
ne(() => (d(!0), () => d(!1)), []), ne(() => {
|
|
397
|
-
|
|
398
|
-
}, [
|
|
399
|
-
if (!
|
|
397
|
+
b && re();
|
|
398
|
+
}, [b, re]), ne(() => {
|
|
399
|
+
if (!b) return;
|
|
400
400
|
const T = () => re();
|
|
401
401
|
return window.addEventListener("resize", T), window.addEventListener("scroll", T, !0), () => {
|
|
402
402
|
window.removeEventListener("resize", T), window.removeEventListener("scroll", T, !0);
|
|
403
403
|
};
|
|
404
|
-
}, [
|
|
404
|
+
}, [b, re]);
|
|
405
405
|
const ue = f({
|
|
406
406
|
[Pt.spTooltip]: !0,
|
|
407
407
|
...g && { [g]: !0 }
|
|
408
408
|
}), ce = f({
|
|
409
|
-
...
|
|
409
|
+
...h && { [h]: !0 }
|
|
410
410
|
}), X = f({
|
|
411
411
|
...w && { [w]: !0 }
|
|
412
412
|
}), Z = f({
|
|
413
413
|
[Pt.spTooltip__trigger]: !0,
|
|
414
|
-
...
|
|
414
|
+
...m && { [m]: !0 }
|
|
415
415
|
}), ee = document.body;
|
|
416
416
|
return /* @__PURE__ */ U(
|
|
417
417
|
"div",
|
|
@@ -428,7 +428,7 @@ const et = (e) => {
|
|
|
428
428
|
{
|
|
429
429
|
style: B,
|
|
430
430
|
ref: A,
|
|
431
|
-
noPadding:
|
|
431
|
+
noPadding: u,
|
|
432
432
|
text: _,
|
|
433
433
|
classNameRoot: ce,
|
|
434
434
|
classNameContentRoot: X
|
|
@@ -450,7 +450,7 @@ const et = (e) => {
|
|
|
450
450
|
spCheckbox__tooltip: la,
|
|
451
451
|
spCheckbox__required: ca,
|
|
452
452
|
spCheckbox__error: da
|
|
453
|
-
},
|
|
453
|
+
}, fp = (e) => {
|
|
454
454
|
const {
|
|
455
455
|
size: t = "lg",
|
|
456
456
|
checked: o,
|
|
@@ -459,16 +459,16 @@ const et = (e) => {
|
|
|
459
459
|
name: i,
|
|
460
460
|
label: r,
|
|
461
461
|
error: s,
|
|
462
|
-
value:
|
|
462
|
+
value: m,
|
|
463
463
|
required: l,
|
|
464
464
|
tooltipPosition: _,
|
|
465
|
-
infoTooltipText:
|
|
465
|
+
infoTooltipText: u,
|
|
466
466
|
onMouseEnter: g,
|
|
467
|
-
classNameRoot:
|
|
467
|
+
classNameRoot: h,
|
|
468
468
|
classNameError: w
|
|
469
469
|
} = e, C = f({
|
|
470
470
|
[Ce.spCheckbox]: !0,
|
|
471
|
-
...
|
|
471
|
+
...h && { [h]: !0 }
|
|
472
472
|
}), S = f({
|
|
473
473
|
[Ce.spCheckbox__box]: !0,
|
|
474
474
|
[Ce.spCheckbox__box_checked]: o,
|
|
@@ -481,7 +481,7 @@ const et = (e) => {
|
|
|
481
481
|
[Ce.spCheckbox__label]: !0
|
|
482
482
|
}), A = f({
|
|
483
483
|
[Ce.spCheckbox__required]: !0
|
|
484
|
-
}),
|
|
484
|
+
}), b = f({
|
|
485
485
|
[Ce.spCheckbox__error]: !0,
|
|
486
486
|
...w && { [w]: !0 }
|
|
487
487
|
}), d = f({
|
|
@@ -496,17 +496,17 @@ const et = (e) => {
|
|
|
496
496
|
className: P,
|
|
497
497
|
checked: o,
|
|
498
498
|
onChange: (B) => {
|
|
499
|
-
!n && a && a(B, { name: i, checked: !o, value:
|
|
499
|
+
!n && a && a(B, { name: i, checked: !o, value: m });
|
|
500
500
|
}
|
|
501
501
|
}
|
|
502
502
|
),
|
|
503
503
|
r && /* @__PURE__ */ c("span", { className: q, children: r }),
|
|
504
504
|
l && /* @__PURE__ */ c("div", { className: A, children: "*" }),
|
|
505
|
-
|
|
505
|
+
u && /* @__PURE__ */ c("div", { className: d, children: /* @__PURE__ */ c(tt, { position: _, text: u }) })
|
|
506
506
|
] }),
|
|
507
|
-
s && /* @__PURE__ */ c("div", { className:
|
|
507
|
+
s && /* @__PURE__ */ c("div", { className: b, children: s })
|
|
508
508
|
] });
|
|
509
|
-
},
|
|
509
|
+
}, vp = (e = {}) => {
|
|
510
510
|
const { initialValue: t = null } = e, [o, n] = te(t);
|
|
511
511
|
return {
|
|
512
512
|
isOpen: !!o,
|
|
@@ -551,16 +551,16 @@ const et = (e) => {
|
|
|
551
551
|
title: i,
|
|
552
552
|
style: r,
|
|
553
553
|
onClick: s,
|
|
554
|
-
isEllipsis:
|
|
554
|
+
isEllipsis: m = !1,
|
|
555
555
|
isCursorPointer: l = !1,
|
|
556
556
|
isCursorPointerByOnClick: _ = !0,
|
|
557
|
-
classNameRoot:
|
|
558
|
-
} = e, g = () => s && _ ? !0 : l,
|
|
557
|
+
classNameRoot: u
|
|
558
|
+
} = e, g = () => s && _ ? !0 : l, h = f({
|
|
559
559
|
[Ve.spText]: !0,
|
|
560
|
-
[Ve.spText_ellipsis]:
|
|
560
|
+
[Ve.spText_ellipsis]: m,
|
|
561
561
|
[Ve.spText_cursorPointer]: g(),
|
|
562
562
|
[Ve[`spText_type-${o}`]]: o,
|
|
563
|
-
...
|
|
563
|
+
...u && { [u]: !0 }
|
|
564
564
|
});
|
|
565
565
|
return /* @__PURE__ */ c(
|
|
566
566
|
"span",
|
|
@@ -568,7 +568,7 @@ const et = (e) => {
|
|
|
568
568
|
style: { ...r, color: a },
|
|
569
569
|
title: i,
|
|
570
570
|
onClick: s,
|
|
571
|
-
className:
|
|
571
|
+
className: h,
|
|
572
572
|
ref: t,
|
|
573
573
|
children: n
|
|
574
574
|
}
|
|
@@ -604,16 +604,16 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
604
604
|
classNameLayerRoot: i,
|
|
605
605
|
classNameRoot: r,
|
|
606
606
|
style: s,
|
|
607
|
-
modalAlign:
|
|
607
|
+
modalAlign: m = "top",
|
|
608
608
|
textAlign: l = "left",
|
|
609
609
|
onClose: _,
|
|
610
|
-
header:
|
|
610
|
+
header: u,
|
|
611
611
|
subHeader: g,
|
|
612
|
-
footer:
|
|
612
|
+
footer: h,
|
|
613
613
|
size: w = "lg"
|
|
614
614
|
} = e, C = f({
|
|
615
615
|
[fe.modalWrapper]: !0,
|
|
616
|
-
[fe[`modalWrapper--modalAlign-${
|
|
616
|
+
[fe[`modalWrapper--modalAlign-${m}`]]: m,
|
|
617
617
|
[fe[`modalWrapper--textAlign-${l}`]]: l
|
|
618
618
|
}), S = f({
|
|
619
619
|
[fe.modalWrapper__modal]: !0,
|
|
@@ -627,11 +627,11 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
627
627
|
[fe[`modalWrapper__closeButtonIconContainer--size-${w}`]]: w
|
|
628
628
|
}), A = f({
|
|
629
629
|
[fe.modalWrapper__content]: !0
|
|
630
|
-
}),
|
|
630
|
+
}), b = f({
|
|
631
631
|
[fe.modalWrapper__header]: !0
|
|
632
632
|
}), d = f({
|
|
633
633
|
[fe.modalWrapper__subHeader]: !0,
|
|
634
|
-
[fe.modalWrapper__subHeader_onlySubHeader]: !
|
|
634
|
+
[fe.modalWrapper__subHeader_onlySubHeader]: !u
|
|
635
635
|
}), j = f({
|
|
636
636
|
[fe.modalWrapper__footer]: !0
|
|
637
637
|
});
|
|
@@ -641,12 +641,12 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
641
641
|
O.style.position = "", O.style.top = "", O.style.left = "", O.style.right = "", O.style.overflow = "", window.scrollTo(0, B);
|
|
642
642
|
};
|
|
643
643
|
}, []), /* @__PURE__ */ c(_a, { zIndex: t, isHiddenModal: o, classNameRoot: i, children: /* @__PURE__ */ c("div", { className: C, children: /* @__PURE__ */ U("div", { className: S, style: s, children: [
|
|
644
|
-
(
|
|
645
|
-
typeof
|
|
644
|
+
(u || g) && /* @__PURE__ */ U("div", { className: b, children: [
|
|
645
|
+
typeof u == "string" ? /* @__PURE__ */ c(Te, { type: "h3", children: u }) : u,
|
|
646
646
|
g && /* @__PURE__ */ c("div", { className: d, children: typeof g == "string" ? /* @__PURE__ */ c(Te, { children: g }) : g })
|
|
647
647
|
] }),
|
|
648
648
|
a && /* @__PURE__ */ c("div", { className: A, children: a }),
|
|
649
|
-
|
|
649
|
+
h && /* @__PURE__ */ c("div", { className: j, children: h }),
|
|
650
650
|
n && _ && /* @__PURE__ */ c(
|
|
651
651
|
kt,
|
|
652
652
|
{
|
|
@@ -660,7 +660,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
660
660
|
}
|
|
661
661
|
)
|
|
662
662
|
] }) }) });
|
|
663
|
-
},
|
|
663
|
+
}, gp = (e) => {
|
|
664
664
|
const {
|
|
665
665
|
zIndex: t,
|
|
666
666
|
title: o,
|
|
@@ -669,12 +669,12 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
669
669
|
cancelBtnDisabled: i,
|
|
670
670
|
cancelBtnIconName: r,
|
|
671
671
|
submitBtnContent: s,
|
|
672
|
-
submit:
|
|
672
|
+
submit: m,
|
|
673
673
|
disabled: l,
|
|
674
674
|
formId: _,
|
|
675
|
-
onClose:
|
|
675
|
+
onClose: u,
|
|
676
676
|
mobile: g = "column",
|
|
677
|
-
align:
|
|
677
|
+
align: h = "right",
|
|
678
678
|
modalAlign: w = "top",
|
|
679
679
|
textAlign: C = "left",
|
|
680
680
|
loading: S,
|
|
@@ -687,7 +687,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
687
687
|
{
|
|
688
688
|
zIndex: t,
|
|
689
689
|
header: o,
|
|
690
|
-
onClose:
|
|
690
|
+
onClose: u,
|
|
691
691
|
modalAlign: w,
|
|
692
692
|
textAlign: C,
|
|
693
693
|
subHeader: n,
|
|
@@ -698,15 +698,15 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
698
698
|
Xn,
|
|
699
699
|
{
|
|
700
700
|
mobile: g,
|
|
701
|
-
align:
|
|
701
|
+
align: h,
|
|
702
702
|
cancelBtnContent: a,
|
|
703
703
|
cancelBtnIconName: r,
|
|
704
704
|
cancelBtnDisabled: i,
|
|
705
705
|
submitBtnContent: s,
|
|
706
706
|
formId: _,
|
|
707
707
|
disabled: l,
|
|
708
|
-
onClose:
|
|
709
|
-
submit:
|
|
708
|
+
onClose: u,
|
|
709
|
+
submit: m,
|
|
710
710
|
loading: S
|
|
711
711
|
}
|
|
712
712
|
) : null
|
|
@@ -716,7 +716,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
716
716
|
spContextMenu: Ea,
|
|
717
717
|
spContextMenu__item: Sa,
|
|
718
718
|
spContextMenu__item_deleteItem: Ra
|
|
719
|
-
},
|
|
719
|
+
}, xp = (e) => {
|
|
720
720
|
const { onClickItem: t, options: o, classNameRoot: n } = e, a = f({
|
|
721
721
|
[mt.spContextMenu]: !0,
|
|
722
722
|
...n && { [n]: !0 }
|
|
@@ -756,7 +756,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
756
756
|
spDropdown__dopdownListItem: Oa,
|
|
757
757
|
spDropdown__dopdownListItem_textCenter: Pa,
|
|
758
758
|
spDropdown__downloadListItemDescription: Ba
|
|
759
|
-
},
|
|
759
|
+
}, hp = (e) => {
|
|
760
760
|
const {
|
|
761
761
|
labelText: t = "Выпадающий список",
|
|
762
762
|
listName: o,
|
|
@@ -768,21 +768,21 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
768
768
|
...i && { [i]: !0 }
|
|
769
769
|
}), s = f({
|
|
770
770
|
[Ee.spDropdown__labelText]: !0
|
|
771
|
-
}),
|
|
771
|
+
}), m = f({
|
|
772
772
|
[Ee.spDropdown__tooltipContainer]: !0
|
|
773
773
|
}), l = f({
|
|
774
774
|
[Ee.spDropdown__dropdownList]: !0
|
|
775
775
|
}), _ = f({
|
|
776
776
|
[Ee.spDropdown__dropdownListHeader]: !0
|
|
777
|
-
}),
|
|
777
|
+
}), u = f({
|
|
778
778
|
[Ee.spDropdown__downloadListItemDescription]: !0
|
|
779
|
-
}), [g,
|
|
779
|
+
}), [g, h] = te(!1);
|
|
780
780
|
return /* @__PURE__ */ c(
|
|
781
781
|
et,
|
|
782
782
|
{
|
|
783
783
|
hover: !1,
|
|
784
|
-
triggerAction: () =>
|
|
785
|
-
actionOnClose: () =>
|
|
784
|
+
triggerAction: () => h(!0),
|
|
785
|
+
actionOnClose: () => h(!1),
|
|
786
786
|
text: /* @__PURE__ */ U("div", { className: l, children: [
|
|
787
787
|
o && /* @__PURE__ */ c("div", { className: _, children: o }),
|
|
788
788
|
n.map((C, S) => /* @__PURE__ */ U(
|
|
@@ -795,7 +795,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
795
795
|
onClick: C.onClick,
|
|
796
796
|
children: [
|
|
797
797
|
C.name,
|
|
798
|
-
C.description && /* @__PURE__ */ c("span", { className:
|
|
798
|
+
C.description && /* @__PURE__ */ c("span", { className: u, children: C.description })
|
|
799
799
|
]
|
|
800
800
|
},
|
|
801
801
|
S
|
|
@@ -807,13 +807,13 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
807
807
|
isStopPropagationClickOnTrigger: !0,
|
|
808
808
|
trigger: /* @__PURE__ */ U("div", { className: r, children: [
|
|
809
809
|
/* @__PURE__ */ c("div", { className: s, children: t }),
|
|
810
|
-
/* @__PURE__ */ c("div", { className:
|
|
810
|
+
/* @__PURE__ */ c("div", { className: m, children: /* @__PURE__ */ c(ge, { name: pe.SelectChevronDown, rotate: g ? 180 : void 0 }) })
|
|
811
811
|
] })
|
|
812
812
|
}
|
|
813
813
|
);
|
|
814
|
-
},
|
|
815
|
-
ellipsisTextWithTooltip:
|
|
816
|
-
ellipsisTextWithTooltip__tooltip:
|
|
814
|
+
}, Wa = "_ellipsisTextWithTooltip_1nhiw_43", za = "_ellipsisTextWithTooltip__tooltip_1nhiw_46", Wt = {
|
|
815
|
+
ellipsisTextWithTooltip: Wa,
|
|
816
|
+
ellipsisTextWithTooltip__tooltip: za
|
|
817
817
|
}, Ye = (e) => {
|
|
818
818
|
const {
|
|
819
819
|
text: t,
|
|
@@ -823,38 +823,38 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
823
823
|
classNameBaseTooltipContentRoot: i,
|
|
824
824
|
classNameBaseTooltipRoot: r,
|
|
825
825
|
...s
|
|
826
|
-
} = e,
|
|
826
|
+
} = e, m = me(null), [l, _] = te(!1);
|
|
827
827
|
ne(() => {
|
|
828
|
-
|
|
828
|
+
m.current && _(m.current.scrollWidth > m.current.clientWidth);
|
|
829
829
|
}, [t]);
|
|
830
|
-
const
|
|
831
|
-
[
|
|
830
|
+
const u = f({
|
|
831
|
+
[Wt.ellipsisTextWithTooltip]: !0,
|
|
832
832
|
...o && { [o]: !0 }
|
|
833
833
|
}), g = f({
|
|
834
|
-
[
|
|
834
|
+
[Wt.ellipsisTextWithTooltip__tooltip]: !0,
|
|
835
835
|
...n && { [n]: !0 }
|
|
836
|
-
}),
|
|
836
|
+
}), h = f({
|
|
837
837
|
...a && { [a]: !0 }
|
|
838
838
|
});
|
|
839
839
|
return /* @__PURE__ */ c(
|
|
840
840
|
et,
|
|
841
841
|
{
|
|
842
842
|
classNameTooltip: g,
|
|
843
|
-
classNameTriggerTooltip:
|
|
843
|
+
classNameTriggerTooltip: h,
|
|
844
844
|
classNameBaseTooltipContentRoot: i,
|
|
845
845
|
classNameBaseTooltipRoot: r,
|
|
846
846
|
isVisibleTooltip: l,
|
|
847
847
|
text: t,
|
|
848
|
-
trigger: /* @__PURE__ */ c(Te, { ...s, classNameRoot:
|
|
848
|
+
trigger: /* @__PURE__ */ c(Te, { ...s, classNameRoot: u, isEllipsis: !0, ref: m, children: t })
|
|
849
849
|
}
|
|
850
850
|
);
|
|
851
|
-
}, Ma = "_spForm_zefbj_43", Ua = "_spForm_fullWidth_zefbj_46", qa = "_spForm_withSeparator_zefbj_49",
|
|
851
|
+
}, Ma = "_spForm_zefbj_43", Ua = "_spForm_fullWidth_zefbj_46", qa = "_spForm_withSeparator_zefbj_49", ze = {
|
|
852
852
|
spForm: Ma,
|
|
853
853
|
spForm_fullWidth: Ua,
|
|
854
854
|
spForm_withSeparator: qa,
|
|
855
855
|
"spForm_addMargin--size-lg": "_spForm_addMargin--size-lg_zefbj_67",
|
|
856
856
|
"spForm_addMargin--size-md": "_spForm_addMargin--size-md_zefbj_75"
|
|
857
|
-
},
|
|
857
|
+
}, bp = (e) => {
|
|
858
858
|
const {
|
|
859
859
|
size: t = "lg",
|
|
860
860
|
children: o,
|
|
@@ -863,17 +863,17 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
863
863
|
withSeparator: i = !1,
|
|
864
864
|
fullWidth: r = !0,
|
|
865
865
|
classNameRoot: s,
|
|
866
|
-
...
|
|
866
|
+
...m
|
|
867
867
|
} = e, l = f({
|
|
868
|
-
[
|
|
869
|
-
[
|
|
870
|
-
[
|
|
871
|
-
[
|
|
872
|
-
[
|
|
868
|
+
[ze.spForm]: !0,
|
|
869
|
+
[ze.spForm_fullWidth]: r,
|
|
870
|
+
[ze.spForm_addMargin]: a,
|
|
871
|
+
[ze[`spForm_addMargin--size-${t}`]]: a && t,
|
|
872
|
+
[ze.spForm_withSeparator]: i,
|
|
873
873
|
...s && { [s]: !0 }
|
|
874
874
|
});
|
|
875
|
-
return /* @__PURE__ */ c("form", { ...
|
|
876
|
-
|
|
875
|
+
return /* @__PURE__ */ c("form", { ...m, onSubmit: (u) => {
|
|
876
|
+
u.preventDefault(), n && n();
|
|
877
877
|
}, className: l, children: o });
|
|
878
878
|
}, $a = "_spLabel_g0hfy_43", Ha = "_spLabel__text_g0hfy_52", Va = "_spLabel__tooltip_g0hfy_62", Ya = "_spLabel__required_g0hfy_67", Ge = {
|
|
879
879
|
spLabel: $a,
|
|
@@ -891,7 +891,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
891
891
|
} = e, s = f({
|
|
892
892
|
[Ge.spLabel]: !0,
|
|
893
893
|
...i && { [i]: !0 }
|
|
894
|
-
}),
|
|
894
|
+
}), m = f({
|
|
895
895
|
[Ge.spLabel__text]: !0
|
|
896
896
|
}), l = f({
|
|
897
897
|
[Ge.spLabel__required]: t
|
|
@@ -899,7 +899,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
899
899
|
[Ge.spLabel__tooltip]: !0
|
|
900
900
|
});
|
|
901
901
|
return /* @__PURE__ */ U("div", { className: s, children: [
|
|
902
|
-
/* @__PURE__ */ c("label", { className:
|
|
902
|
+
/* @__PURE__ */ c("label", { className: m, children: o }),
|
|
903
903
|
t && /* @__PURE__ */ c("div", { className: l, children: "*" }),
|
|
904
904
|
n && /* @__PURE__ */ c("div", { className: _, children: /* @__PURE__ */ c(
|
|
905
905
|
tt,
|
|
@@ -910,7 +910,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
910
910
|
}
|
|
911
911
|
) })
|
|
912
912
|
] });
|
|
913
|
-
}, Ga = "
|
|
913
|
+
}, Ga = "_spInput_yvq5t_43", Ka = "_spInput_error_yvq5t_48", Xa = "_spInput__control_yvq5t_48", Za = "_spInput__container_yvq5t_55", Qa = "_spInput__control_filled_yvq5t_74", Ja = "_spInput__control_outlined_yvq5t_78", ei = "_spInput__control_disabled_yvq5t_82", ti = "_spInput__control_clearable_yvq5t_86", oi = "_spInput__clear_yvq5t_113", ni = "_spInput__error_yvq5t_122", Ne = {
|
|
914
914
|
spInput: Ga,
|
|
915
915
|
spInput_error: Ka,
|
|
916
916
|
spInput__control: Xa,
|
|
@@ -929,19 +929,19 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
929
929
|
variant: i = "outlined",
|
|
930
930
|
disabled: r = !1,
|
|
931
931
|
error: s,
|
|
932
|
-
required:
|
|
932
|
+
required: m,
|
|
933
933
|
name: l,
|
|
934
934
|
isClearable: _,
|
|
935
|
-
pattern:
|
|
935
|
+
pattern: u,
|
|
936
936
|
onMouseEnter: g,
|
|
937
|
-
infoTooltipText:
|
|
937
|
+
infoTooltipText: h,
|
|
938
938
|
tooltipPosition: w,
|
|
939
939
|
isVisibleDefaultTitle: C = !0,
|
|
940
940
|
placeholder: S = "Введите...",
|
|
941
941
|
classNameRoot: P,
|
|
942
942
|
classNameError: q,
|
|
943
943
|
classNameLabel: A,
|
|
944
|
-
classNameBaseTooltipRoot:
|
|
944
|
+
classNameBaseTooltipRoot: b,
|
|
945
945
|
...d
|
|
946
946
|
} = e, j = f({
|
|
947
947
|
[Ne.spInput]: !0,
|
|
@@ -965,7 +965,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
965
965
|
n(Z, { name: l, value: "" });
|
|
966
966
|
}, ce = (Z) => {
|
|
967
967
|
const { value: ee, name: T } = Z.target;
|
|
968
|
-
|
|
968
|
+
u && ee && !new RegExp(u).test(ee) || n(Z, { value: ee, name: T });
|
|
969
969
|
};
|
|
970
970
|
return /* @__PURE__ */ U("div", { className: j, children: [
|
|
971
971
|
a && /* @__PURE__ */ c(
|
|
@@ -973,10 +973,10 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
|
|
|
973
973
|
{
|
|
974
974
|
classNameRoot: re,
|
|
975
975
|
tooltipPosition: w,
|
|
976
|
-
required:
|
|
976
|
+
required: m,
|
|
977
977
|
label: a,
|
|
978
|
-
infoTooltipText:
|
|
979
|
-
classNameBaseTooltipRoot:
|
|
978
|
+
infoTooltipText: h,
|
|
979
|
+
classNameBaseTooltipRoot: b
|
|
980
980
|
}
|
|
981
981
|
),
|
|
982
982
|
/* @__PURE__ */ U("div", { className: B, onMouseEnter: g, children: [
|
|
@@ -1020,7 +1020,7 @@ function di(e, t) {
|
|
|
1020
1020
|
if (a && n || !(a || n))
|
|
1021
1021
|
return !1;
|
|
1022
1022
|
var i = o.expressions.every(function(r) {
|
|
1023
|
-
var s = r.feature,
|
|
1023
|
+
var s = r.feature, m = r.modifier, l = r.value, _ = t[s];
|
|
1024
1024
|
if (!_)
|
|
1025
1025
|
return !1;
|
|
1026
1026
|
switch (s) {
|
|
@@ -1040,7 +1040,7 @@ function di(e, t) {
|
|
|
1040
1040
|
case "device-aspect-ratio":
|
|
1041
1041
|
case /* Deprecated */
|
|
1042
1042
|
"device-pixel-ratio":
|
|
1043
|
-
l =
|
|
1043
|
+
l = zt(l), _ = zt(_);
|
|
1044
1044
|
break;
|
|
1045
1045
|
case "grid":
|
|
1046
1046
|
case "color":
|
|
@@ -1049,7 +1049,7 @@ function di(e, t) {
|
|
|
1049
1049
|
l = parseInt(l, 10) || 1, _ = parseInt(_, 10) || 0;
|
|
1050
1050
|
break;
|
|
1051
1051
|
}
|
|
1052
|
-
switch (
|
|
1052
|
+
switch (m) {
|
|
1053
1053
|
case "min":
|
|
1054
1054
|
return _ >= l;
|
|
1055
1055
|
case "max":
|
|
@@ -1066,16 +1066,16 @@ function yo(e) {
|
|
|
1066
1066
|
t = t.trim();
|
|
1067
1067
|
var o = t.match(ri), n = o[1], a = o[2], i = o[3] || "", r = {};
|
|
1068
1068
|
return r.inverse = !!n && n.toLowerCase() === "not", r.type = a ? a.toLowerCase() : "all", i = i.match(/\([^\)]+\)/g) || [], r.expressions = i.map(function(s) {
|
|
1069
|
-
var
|
|
1069
|
+
var m = s.match(si), l = m[1].toLowerCase().match(pi);
|
|
1070
1070
|
return {
|
|
1071
1071
|
modifier: l[1],
|
|
1072
1072
|
feature: l[2],
|
|
1073
|
-
value:
|
|
1073
|
+
value: m[2]
|
|
1074
1074
|
};
|
|
1075
1075
|
}), r;
|
|
1076
1076
|
});
|
|
1077
1077
|
}
|
|
1078
|
-
function
|
|
1078
|
+
function zt(e) {
|
|
1079
1079
|
var t = Number(e), o;
|
|
1080
1080
|
return t || (o = e.match(/^(\d+)\s*\/\s*(\d+)$/), t = o[1] / o[2]), t;
|
|
1081
1081
|
}
|
|
@@ -1114,7 +1114,7 @@ function Ut(e) {
|
|
|
1114
1114
|
var mi = It.match, qt = typeof window < "u" ? window.matchMedia : null;
|
|
1115
1115
|
function ui(e, t, o) {
|
|
1116
1116
|
var n = this, a;
|
|
1117
|
-
qt && !o && (a = qt.call(window, e)), a ? (this.matches = a.matches, this.media = a.media, a.addListener(s)) : (this.matches = mi(e, t), this.media = e), this.addListener = i, this.removeListener = r, this.dispose =
|
|
1117
|
+
qt && !o && (a = qt.call(window, e)), a ? (this.matches = a.matches, this.media = a.media, a.addListener(s)) : (this.matches = mi(e, t), this.media = e), this.addListener = i, this.removeListener = r, this.dispose = m;
|
|
1118
1118
|
function i(l) {
|
|
1119
1119
|
a && a.addListener(l);
|
|
1120
1120
|
}
|
|
@@ -1124,7 +1124,7 @@ function ui(e, t, o) {
|
|
|
1124
1124
|
function s(l) {
|
|
1125
1125
|
n.matches = l.matches, n.media = l.media;
|
|
1126
1126
|
}
|
|
1127
|
-
function
|
|
1127
|
+
function m() {
|
|
1128
1128
|
a && a.removeListener(s);
|
|
1129
1129
|
}
|
|
1130
1130
|
}
|
|
@@ -1171,26 +1171,26 @@ var $t;
|
|
|
1171
1171
|
function yi() {
|
|
1172
1172
|
if ($t) return G;
|
|
1173
1173
|
$t = 1;
|
|
1174
|
-
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,
|
|
1174
|
+
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, m = e ? Symbol.for("react.async_mode") : 60111, l = 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, S = e ? Symbol.for("react.fundamental") : 60117, P = e ? Symbol.for("react.responder") : 60118, q = e ? Symbol.for("react.scope") : 60119;
|
|
1175
1175
|
function A(d) {
|
|
1176
1176
|
if (typeof d == "object" && d !== null) {
|
|
1177
1177
|
var j = d.$$typeof;
|
|
1178
1178
|
switch (j) {
|
|
1179
1179
|
case t:
|
|
1180
1180
|
switch (d = d.type, d) {
|
|
1181
|
-
case
|
|
1181
|
+
case m:
|
|
1182
1182
|
case l:
|
|
1183
1183
|
case n:
|
|
1184
1184
|
case i:
|
|
1185
1185
|
case a:
|
|
1186
|
-
case
|
|
1186
|
+
case u:
|
|
1187
1187
|
return d;
|
|
1188
1188
|
default:
|
|
1189
1189
|
switch (d = d && d.$$typeof, d) {
|
|
1190
1190
|
case s:
|
|
1191
1191
|
case _:
|
|
1192
1192
|
case w:
|
|
1193
|
-
case
|
|
1193
|
+
case h:
|
|
1194
1194
|
case r:
|
|
1195
1195
|
return d;
|
|
1196
1196
|
default:
|
|
@@ -1202,12 +1202,12 @@ function yi() {
|
|
|
1202
1202
|
}
|
|
1203
1203
|
}
|
|
1204
1204
|
}
|
|
1205
|
-
function
|
|
1205
|
+
function b(d) {
|
|
1206
1206
|
return A(d) === l;
|
|
1207
1207
|
}
|
|
1208
|
-
return G.AsyncMode =
|
|
1209
|
-
return
|
|
1210
|
-
}, G.isConcurrentMode =
|
|
1208
|
+
return G.AsyncMode = m, G.ConcurrentMode = l, G.ContextConsumer = s, G.ContextProvider = r, G.Element = t, G.ForwardRef = _, G.Fragment = n, G.Lazy = w, G.Memo = h, G.Portal = o, G.Profiler = i, G.StrictMode = a, G.Suspense = u, G.isAsyncMode = function(d) {
|
|
1209
|
+
return b(d) || A(d) === m;
|
|
1210
|
+
}, G.isConcurrentMode = b, G.isContextConsumer = function(d) {
|
|
1211
1211
|
return A(d) === s;
|
|
1212
1212
|
}, G.isContextProvider = function(d) {
|
|
1213
1213
|
return A(d) === r;
|
|
@@ -1220,7 +1220,7 @@ function yi() {
|
|
|
1220
1220
|
}, G.isLazy = function(d) {
|
|
1221
1221
|
return A(d) === w;
|
|
1222
1222
|
}, G.isMemo = function(d) {
|
|
1223
|
-
return A(d) ===
|
|
1223
|
+
return A(d) === h;
|
|
1224
1224
|
}, G.isPortal = function(d) {
|
|
1225
1225
|
return A(d) === o;
|
|
1226
1226
|
}, G.isProfiler = function(d) {
|
|
@@ -1228,9 +1228,9 @@ function yi() {
|
|
|
1228
1228
|
}, G.isStrictMode = function(d) {
|
|
1229
1229
|
return A(d) === a;
|
|
1230
1230
|
}, G.isSuspense = function(d) {
|
|
1231
|
-
return A(d) ===
|
|
1231
|
+
return A(d) === u;
|
|
1232
1232
|
}, G.isValidElementType = function(d) {
|
|
1233
|
-
return typeof d == "string" || typeof d == "function" || d === n || d === l || d === i || d === a || d ===
|
|
1233
|
+
return typeof d == "string" || typeof d == "function" || d === n || d === l || d === i || d === a || d === u || d === g || typeof d == "object" && d !== null && (d.$$typeof === w || d.$$typeof === h || d.$$typeof === r || d.$$typeof === s || d.$$typeof === _ || d.$$typeof === S || d.$$typeof === P || d.$$typeof === q || d.$$typeof === C);
|
|
1234
1234
|
}, G.typeOf = A, G;
|
|
1235
1235
|
}
|
|
1236
1236
|
var K = {};
|
|
@@ -1245,24 +1245,24 @@ var K = {};
|
|
|
1245
1245
|
var Ht;
|
|
1246
1246
|
function wi() {
|
|
1247
1247
|
return Ht || (Ht = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1248
|
-
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,
|
|
1248
|
+
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, m = e ? Symbol.for("react.async_mode") : 60111, l = 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, S = e ? Symbol.for("react.fundamental") : 60117, P = e ? Symbol.for("react.responder") : 60118, q = e ? Symbol.for("react.scope") : 60119;
|
|
1249
1249
|
function A(x) {
|
|
1250
1250
|
return typeof x == "string" || typeof x == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1251
|
-
x === n || x === l || x === i || x === a || x ===
|
|
1251
|
+
x === n || x === l || 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 === S || x.$$typeof === P || x.$$typeof === q || x.$$typeof === C);
|
|
1252
1252
|
}
|
|
1253
|
-
function
|
|
1253
|
+
function b(x) {
|
|
1254
1254
|
if (typeof x == "object" && x !== null) {
|
|
1255
1255
|
var xe = x.$$typeof;
|
|
1256
1256
|
switch (xe) {
|
|
1257
1257
|
case t:
|
|
1258
1258
|
var Se = x.type;
|
|
1259
1259
|
switch (Se) {
|
|
1260
|
-
case
|
|
1260
|
+
case m:
|
|
1261
1261
|
case l:
|
|
1262
1262
|
case n:
|
|
1263
1263
|
case i:
|
|
1264
1264
|
case a:
|
|
1265
|
-
case
|
|
1265
|
+
case u:
|
|
1266
1266
|
return Se;
|
|
1267
1267
|
default:
|
|
1268
1268
|
var Pe = Se && Se.$$typeof;
|
|
@@ -1270,7 +1270,7 @@ function wi() {
|
|
|
1270
1270
|
case s:
|
|
1271
1271
|
case _:
|
|
1272
1272
|
case w:
|
|
1273
|
-
case
|
|
1273
|
+
case h:
|
|
1274
1274
|
case r:
|
|
1275
1275
|
return Pe;
|
|
1276
1276
|
default:
|
|
@@ -1282,47 +1282,47 @@ function wi() {
|
|
|
1282
1282
|
}
|
|
1283
1283
|
}
|
|
1284
1284
|
}
|
|
1285
|
-
var d =
|
|
1286
|
-
function
|
|
1287
|
-
return H || (H = !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.")), p(x) ||
|
|
1285
|
+
var d = m, j = l, B = s, O = r, Q = t, ie = _, re = n, ue = w, ce = h, X = o, Z = i, ee = a, T = u, H = !1;
|
|
1286
|
+
function z(x) {
|
|
1287
|
+
return H || (H = !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.")), p(x) || b(x) === m;
|
|
1288
1288
|
}
|
|
1289
1289
|
function p(x) {
|
|
1290
|
-
return
|
|
1290
|
+
return b(x) === l;
|
|
1291
1291
|
}
|
|
1292
1292
|
function v(x) {
|
|
1293
|
-
return
|
|
1293
|
+
return b(x) === s;
|
|
1294
1294
|
}
|
|
1295
1295
|
function R(x) {
|
|
1296
|
-
return
|
|
1296
|
+
return b(x) === r;
|
|
1297
1297
|
}
|
|
1298
1298
|
function I(x) {
|
|
1299
1299
|
return typeof x == "object" && x !== null && x.$$typeof === t;
|
|
1300
1300
|
}
|
|
1301
1301
|
function N(x) {
|
|
1302
|
-
return
|
|
1302
|
+
return b(x) === _;
|
|
1303
1303
|
}
|
|
1304
1304
|
function D(x) {
|
|
1305
|
-
return
|
|
1305
|
+
return b(x) === n;
|
|
1306
1306
|
}
|
|
1307
1307
|
function F(x) {
|
|
1308
|
-
return
|
|
1308
|
+
return b(x) === w;
|
|
1309
1309
|
}
|
|
1310
|
-
function
|
|
1311
|
-
return
|
|
1310
|
+
function W(x) {
|
|
1311
|
+
return b(x) === h;
|
|
1312
1312
|
}
|
|
1313
1313
|
function $(x) {
|
|
1314
|
-
return
|
|
1314
|
+
return b(x) === o;
|
|
1315
1315
|
}
|
|
1316
|
-
function
|
|
1317
|
-
return
|
|
1316
|
+
function Y(x) {
|
|
1317
|
+
return b(x) === i;
|
|
1318
1318
|
}
|
|
1319
1319
|
function M(x) {
|
|
1320
|
-
return
|
|
1320
|
+
return b(x) === a;
|
|
1321
1321
|
}
|
|
1322
1322
|
function ae(x) {
|
|
1323
|
-
return
|
|
1323
|
+
return b(x) === u;
|
|
1324
1324
|
}
|
|
1325
|
-
K.AsyncMode = d, K.ConcurrentMode = j, K.ContextConsumer = B, K.ContextProvider = O, K.Element = Q, K.ForwardRef = ie, K.Fragment = re, K.Lazy = ue, K.Memo = ce, K.Portal = X, K.Profiler = Z, K.StrictMode = ee, K.Suspense = T, K.isAsyncMode =
|
|
1325
|
+
K.AsyncMode = d, K.ConcurrentMode = j, K.ContextConsumer = B, K.ContextProvider = O, K.Element = Q, K.ForwardRef = ie, K.Fragment = re, K.Lazy = ue, K.Memo = ce, K.Portal = X, K.Profiler = Z, K.StrictMode = ee, K.Suspense = T, K.isAsyncMode = z, K.isConcurrentMode = p, K.isContextConsumer = v, K.isContextProvider = R, K.isElement = I, K.isForwardRef = N, K.isFragment = D, K.isLazy = F, K.isMemo = W, K.isPortal = $, K.isProfiler = Y, K.isStrictMode = M, K.isSuspense = ae, K.isValidElementType = A, K.typeOf = b;
|
|
1326
1326
|
}()), K;
|
|
1327
1327
|
}
|
|
1328
1328
|
var Vt;
|
|
@@ -1353,10 +1353,10 @@ function Ci() {
|
|
|
1353
1353
|
return !1;
|
|
1354
1354
|
for (var r = {}, s = 0; s < 10; s++)
|
|
1355
1355
|
r["_" + String.fromCharCode(s)] = s;
|
|
1356
|
-
var
|
|
1356
|
+
var m = Object.getOwnPropertyNames(r).map(function(_) {
|
|
1357
1357
|
return r[_];
|
|
1358
1358
|
});
|
|
1359
|
-
if (
|
|
1359
|
+
if (m.join("") !== "0123456789")
|
|
1360
1360
|
return !1;
|
|
1361
1361
|
var l = {};
|
|
1362
1362
|
return "abcdefghijklmnopqrst".split("").forEach(function(_) {
|
|
@@ -1367,17 +1367,17 @@ function Ci() {
|
|
|
1367
1367
|
}
|
|
1368
1368
|
}
|
|
1369
1369
|
return _t = a() ? Object.assign : function(i, r) {
|
|
1370
|
-
for (var s,
|
|
1370
|
+
for (var s, m = n(i), l, _ = 1; _ < arguments.length; _++) {
|
|
1371
1371
|
s = Object(arguments[_]);
|
|
1372
|
-
for (var
|
|
1373
|
-
t.call(s,
|
|
1372
|
+
for (var u in s)
|
|
1373
|
+
t.call(s, u) && (m[u] = s[u]);
|
|
1374
1374
|
if (e) {
|
|
1375
1375
|
l = e(s);
|
|
1376
1376
|
for (var g = 0; g < l.length; g++)
|
|
1377
|
-
o.call(s, l[g]) && (
|
|
1377
|
+
o.call(s, l[g]) && (m[l[g]] = s[l[g]]);
|
|
1378
1378
|
}
|
|
1379
1379
|
}
|
|
1380
|
-
return
|
|
1380
|
+
return m;
|
|
1381
1381
|
}, _t;
|
|
1382
1382
|
}
|
|
1383
1383
|
var ft, Gt;
|
|
@@ -1408,29 +1408,29 @@ function ki() {
|
|
|
1408
1408
|
}
|
|
1409
1409
|
};
|
|
1410
1410
|
}
|
|
1411
|
-
function a(i, r, s,
|
|
1411
|
+
function a(i, r, s, m, l) {
|
|
1412
1412
|
if (process.env.NODE_ENV !== "production") {
|
|
1413
1413
|
for (var _ in i)
|
|
1414
1414
|
if (n(i, _)) {
|
|
1415
|
-
var
|
|
1415
|
+
var u;
|
|
1416
1416
|
try {
|
|
1417
1417
|
if (typeof i[_] != "function") {
|
|
1418
1418
|
var g = Error(
|
|
1419
|
-
(
|
|
1419
|
+
(m || "React class") + ": " + s + " type `" + _ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[_] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
1420
1420
|
);
|
|
1421
1421
|
throw g.name = "Invariant Violation", g;
|
|
1422
1422
|
}
|
|
1423
|
-
|
|
1423
|
+
u = i[_](r, _, m, s, null, t);
|
|
1424
1424
|
} catch (w) {
|
|
1425
|
-
|
|
1425
|
+
u = w;
|
|
1426
1426
|
}
|
|
1427
|
-
if (
|
|
1428
|
-
(
|
|
1429
|
-
),
|
|
1430
|
-
o[
|
|
1431
|
-
var
|
|
1427
|
+
if (u && !(u instanceof Error) && e(
|
|
1428
|
+
(m || "React class") + ": type specification of " + s + " `" + _ + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof u + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
1429
|
+
), u instanceof Error && !(u.message in o)) {
|
|
1430
|
+
o[u.message] = !0;
|
|
1431
|
+
var h = l ? l() : "";
|
|
1432
1432
|
e(
|
|
1433
|
-
"Failed " + s + " type: " +
|
|
1433
|
+
"Failed " + s + " type: " + u.message + (h ?? "")
|
|
1434
1434
|
);
|
|
1435
1435
|
}
|
|
1436
1436
|
}
|
|
@@ -1447,24 +1447,24 @@ function Ti() {
|
|
|
1447
1447
|
var e = Co(), t = Ci(), o = Lt(), n = ko(), a = ki(), i = function() {
|
|
1448
1448
|
};
|
|
1449
1449
|
process.env.NODE_ENV !== "production" && (i = function(s) {
|
|
1450
|
-
var
|
|
1451
|
-
typeof console < "u" && console.error(
|
|
1450
|
+
var m = "Warning: " + s;
|
|
1451
|
+
typeof console < "u" && console.error(m);
|
|
1452
1452
|
try {
|
|
1453
|
-
throw new Error(
|
|
1453
|
+
throw new Error(m);
|
|
1454
1454
|
} catch {
|
|
1455
1455
|
}
|
|
1456
1456
|
});
|
|
1457
1457
|
function r() {
|
|
1458
1458
|
return null;
|
|
1459
1459
|
}
|
|
1460
|
-
return xt = function(s,
|
|
1460
|
+
return xt = function(s, m) {
|
|
1461
1461
|
var l = typeof Symbol == "function" && Symbol.iterator, _ = "@@iterator";
|
|
1462
|
-
function
|
|
1462
|
+
function u(p) {
|
|
1463
1463
|
var v = p && (l && p[l] || p[_]);
|
|
1464
1464
|
if (typeof v == "function")
|
|
1465
1465
|
return v;
|
|
1466
1466
|
}
|
|
1467
|
-
var g = "<<anonymous>>",
|
|
1467
|
+
var g = "<<anonymous>>", h = {
|
|
1468
1468
|
array: P("array"),
|
|
1469
1469
|
bigint: P("bigint"),
|
|
1470
1470
|
bool: P("boolean"),
|
|
@@ -1475,7 +1475,7 @@ function Ti() {
|
|
|
1475
1475
|
symbol: P("symbol"),
|
|
1476
1476
|
any: q(),
|
|
1477
1477
|
arrayOf: A,
|
|
1478
|
-
element:
|
|
1478
|
+
element: b(),
|
|
1479
1479
|
elementType: d(),
|
|
1480
1480
|
instanceOf: j,
|
|
1481
1481
|
node: ie(),
|
|
@@ -1495,30 +1495,30 @@ function Ti() {
|
|
|
1495
1495
|
function S(p) {
|
|
1496
1496
|
if (process.env.NODE_ENV !== "production")
|
|
1497
1497
|
var v = {}, R = 0;
|
|
1498
|
-
function I(D, F,
|
|
1499
|
-
if ($ = $ || g, M = M ||
|
|
1500
|
-
if (
|
|
1498
|
+
function I(D, F, W, $, Y, M, ae) {
|
|
1499
|
+
if ($ = $ || g, M = M || W, ae !== o) {
|
|
1500
|
+
if (m) {
|
|
1501
1501
|
var x = new Error(
|
|
1502
1502
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
1503
1503
|
);
|
|
1504
1504
|
throw x.name = "Invariant Violation", x;
|
|
1505
1505
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1506
|
-
var xe = $ + ":" +
|
|
1506
|
+
var xe = $ + ":" + W;
|
|
1507
1507
|
!v[xe] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
1508
1508
|
R < 3 && (i(
|
|
1509
1509
|
"You are manually calling a React.PropTypes validation function for the `" + M + "` prop on `" + $ + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
1510
1510
|
), v[xe] = !0, R++);
|
|
1511
1511
|
}
|
|
1512
1512
|
}
|
|
1513
|
-
return F[
|
|
1513
|
+
return F[W] == null ? D ? F[W] === null ? new C("The " + Y + " `" + M + "` is marked as required " + ("in `" + $ + "`, but its value is `null`.")) : new C("The " + Y + " `" + M + "` is marked as required in " + ("`" + $ + "`, but its value is `undefined`.")) : null : p(F, W, $, Y, M);
|
|
1514
1514
|
}
|
|
1515
1515
|
var N = I.bind(null, !1);
|
|
1516
1516
|
return N.isRequired = I.bind(null, !0), N;
|
|
1517
1517
|
}
|
|
1518
1518
|
function P(p) {
|
|
1519
|
-
function v(R, I, N, D, F,
|
|
1520
|
-
var $ = R[I],
|
|
1521
|
-
if (
|
|
1519
|
+
function v(R, I, N, D, F, W) {
|
|
1520
|
+
var $ = R[I], Y = ee($);
|
|
1521
|
+
if (Y !== p) {
|
|
1522
1522
|
var M = T($);
|
|
1523
1523
|
return new C(
|
|
1524
1524
|
"Invalid " + D + " `" + F + "` of type " + ("`" + M + "` supplied to `" + N + "`, expected ") + ("`" + p + "`."),
|
|
@@ -1536,13 +1536,13 @@ function Ti() {
|
|
|
1536
1536
|
function v(R, I, N, D, F) {
|
|
1537
1537
|
if (typeof p != "function")
|
|
1538
1538
|
return new C("Property `" + F + "` of component `" + N + "` has invalid PropType notation inside arrayOf.");
|
|
1539
|
-
var
|
|
1540
|
-
if (!Array.isArray(
|
|
1541
|
-
var $ = ee(
|
|
1539
|
+
var W = R[I];
|
|
1540
|
+
if (!Array.isArray(W)) {
|
|
1541
|
+
var $ = ee(W);
|
|
1542
1542
|
return new C("Invalid " + D + " `" + F + "` of type " + ("`" + $ + "` supplied to `" + N + "`, expected an array."));
|
|
1543
1543
|
}
|
|
1544
|
-
for (var
|
|
1545
|
-
var M = p(
|
|
1544
|
+
for (var Y = 0; Y < W.length; Y++) {
|
|
1545
|
+
var M = p(W, Y, N, D, F + "[" + Y + "]", o);
|
|
1546
1546
|
if (M instanceof Error)
|
|
1547
1547
|
return M;
|
|
1548
1548
|
}
|
|
@@ -1550,12 +1550,12 @@ function Ti() {
|
|
|
1550
1550
|
}
|
|
1551
1551
|
return S(v);
|
|
1552
1552
|
}
|
|
1553
|
-
function
|
|
1553
|
+
function b() {
|
|
1554
1554
|
function p(v, R, I, N, D) {
|
|
1555
1555
|
var F = v[R];
|
|
1556
1556
|
if (!s(F)) {
|
|
1557
|
-
var
|
|
1558
|
-
return new C("Invalid " + N + " `" + D + "` of type " + ("`" +
|
|
1557
|
+
var W = ee(F);
|
|
1558
|
+
return new C("Invalid " + N + " `" + D + "` of type " + ("`" + W + "` supplied to `" + I + "`, expected a single ReactElement."));
|
|
1559
1559
|
}
|
|
1560
1560
|
return null;
|
|
1561
1561
|
}
|
|
@@ -1565,8 +1565,8 @@ function Ti() {
|
|
|
1565
1565
|
function p(v, R, I, N, D) {
|
|
1566
1566
|
var F = v[R];
|
|
1567
1567
|
if (!e.isValidElementType(F)) {
|
|
1568
|
-
var
|
|
1569
|
-
return new C("Invalid " + N + " `" + D + "` of type " + ("`" +
|
|
1568
|
+
var W = ee(F);
|
|
1569
|
+
return new C("Invalid " + N + " `" + D + "` of type " + ("`" + W + "` supplied to `" + I + "`, expected a single ReactElement type."));
|
|
1570
1570
|
}
|
|
1571
1571
|
return null;
|
|
1572
1572
|
}
|
|
@@ -1575,8 +1575,8 @@ function Ti() {
|
|
|
1575
1575
|
function j(p) {
|
|
1576
1576
|
function v(R, I, N, D, F) {
|
|
1577
1577
|
if (!(R[I] instanceof p)) {
|
|
1578
|
-
var
|
|
1579
|
-
return new C("Invalid " + D + " `" + F + "` of type " + ("`" + $ + "` supplied to `" + N + "`, expected ") + ("instance of `" +
|
|
1578
|
+
var W = p.name || g, $ = z(R[I]);
|
|
1579
|
+
return new C("Invalid " + D + " `" + F + "` of type " + ("`" + $ + "` supplied to `" + N + "`, expected ") + ("instance of `" + W + "`."));
|
|
1580
1580
|
}
|
|
1581
1581
|
return null;
|
|
1582
1582
|
}
|
|
@@ -1588,14 +1588,14 @@ function Ti() {
|
|
|
1588
1588
|
"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])."
|
|
1589
1589
|
) : i("Invalid argument supplied to oneOf, expected an array.")), r;
|
|
1590
1590
|
function v(R, I, N, D, F) {
|
|
1591
|
-
for (var
|
|
1592
|
-
if (w(
|
|
1591
|
+
for (var W = R[I], $ = 0; $ < p.length; $++)
|
|
1592
|
+
if (w(W, p[$]))
|
|
1593
1593
|
return null;
|
|
1594
|
-
var
|
|
1594
|
+
var Y = JSON.stringify(p, function(ae, x) {
|
|
1595
1595
|
var xe = T(x);
|
|
1596
1596
|
return xe === "symbol" ? String(x) : x;
|
|
1597
1597
|
});
|
|
1598
|
-
return new C("Invalid " + D + " `" + F + "` of value `" + String(
|
|
1598
|
+
return new C("Invalid " + D + " `" + F + "` of value `" + String(W) + "` " + ("supplied to `" + N + "`, expected one of " + Y + "."));
|
|
1599
1599
|
}
|
|
1600
1600
|
return S(v);
|
|
1601
1601
|
}
|
|
@@ -1603,12 +1603,12 @@ function Ti() {
|
|
|
1603
1603
|
function v(R, I, N, D, F) {
|
|
1604
1604
|
if (typeof p != "function")
|
|
1605
1605
|
return new C("Property `" + F + "` of component `" + N + "` has invalid PropType notation inside objectOf.");
|
|
1606
|
-
var
|
|
1606
|
+
var W = R[I], $ = ee(W);
|
|
1607
1607
|
if ($ !== "object")
|
|
1608
1608
|
return new C("Invalid " + D + " `" + F + "` of type " + ("`" + $ + "` supplied to `" + N + "`, expected an object."));
|
|
1609
|
-
for (var
|
|
1610
|
-
if (n(
|
|
1611
|
-
var M = p(
|
|
1609
|
+
for (var Y in W)
|
|
1610
|
+
if (n(W, Y)) {
|
|
1611
|
+
var M = p(W, Y, N, D, F + "." + Y, o);
|
|
1612
1612
|
if (M instanceof Error)
|
|
1613
1613
|
return M;
|
|
1614
1614
|
}
|
|
@@ -1626,15 +1626,15 @@ function Ti() {
|
|
|
1626
1626
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + H(R) + " at index " + v + "."
|
|
1627
1627
|
), r;
|
|
1628
1628
|
}
|
|
1629
|
-
function I(N, D, F,
|
|
1630
|
-
for (var
|
|
1631
|
-
var ae = p[M], x = ae(N, D, F,
|
|
1629
|
+
function I(N, D, F, W, $) {
|
|
1630
|
+
for (var Y = [], M = 0; M < p.length; M++) {
|
|
1631
|
+
var ae = p[M], x = ae(N, D, F, W, $, o);
|
|
1632
1632
|
if (x == null)
|
|
1633
1633
|
return null;
|
|
1634
|
-
x.data && n(x.data, "expectedType") &&
|
|
1634
|
+
x.data && n(x.data, "expectedType") && Y.push(x.data.expectedType);
|
|
1635
1635
|
}
|
|
1636
|
-
var xe =
|
|
1637
|
-
return new C("Invalid " +
|
|
1636
|
+
var xe = Y.length > 0 ? ", expected one of type [" + Y.join(", ") + "]" : "";
|
|
1637
|
+
return new C("Invalid " + W + " `" + $ + "` supplied to " + ("`" + F + "`" + xe + "."));
|
|
1638
1638
|
}
|
|
1639
1639
|
return S(I);
|
|
1640
1640
|
}
|
|
@@ -1651,14 +1651,14 @@ function Ti() {
|
|
|
1651
1651
|
}
|
|
1652
1652
|
function ue(p) {
|
|
1653
1653
|
function v(R, I, N, D, F) {
|
|
1654
|
-
var
|
|
1654
|
+
var W = R[I], $ = ee(W);
|
|
1655
1655
|
if ($ !== "object")
|
|
1656
1656
|
return new C("Invalid " + D + " `" + F + "` of type `" + $ + "` " + ("supplied to `" + N + "`, expected `object`."));
|
|
1657
|
-
for (var
|
|
1658
|
-
var M = p[
|
|
1657
|
+
for (var Y in p) {
|
|
1658
|
+
var M = p[Y];
|
|
1659
1659
|
if (typeof M != "function")
|
|
1660
|
-
return re(N, D, F,
|
|
1661
|
-
var ae = M(
|
|
1660
|
+
return re(N, D, F, Y, T(M));
|
|
1661
|
+
var ae = M(W, Y, N, D, F + "." + Y, o);
|
|
1662
1662
|
if (ae)
|
|
1663
1663
|
return ae;
|
|
1664
1664
|
}
|
|
@@ -1668,11 +1668,11 @@ function Ti() {
|
|
|
1668
1668
|
}
|
|
1669
1669
|
function ce(p) {
|
|
1670
1670
|
function v(R, I, N, D, F) {
|
|
1671
|
-
var
|
|
1671
|
+
var W = R[I], $ = ee(W);
|
|
1672
1672
|
if ($ !== "object")
|
|
1673
1673
|
return new C("Invalid " + D + " `" + F + "` of type `" + $ + "` " + ("supplied to `" + N + "`, expected `object`."));
|
|
1674
|
-
var
|
|
1675
|
-
for (var M in
|
|
1674
|
+
var Y = t({}, R[I], p);
|
|
1675
|
+
for (var M in Y) {
|
|
1676
1676
|
var ae = p[M];
|
|
1677
1677
|
if (n(p, M) && typeof ae != "function")
|
|
1678
1678
|
return re(N, D, F, M, T(ae));
|
|
@@ -1681,7 +1681,7 @@ function Ti() {
|
|
|
1681
1681
|
"Invalid " + D + " `" + F + "` key `" + M + "` supplied to `" + N + "`.\nBad object: " + JSON.stringify(R[I], null, " ") + `
|
|
1682
1682
|
Valid keys: ` + JSON.stringify(Object.keys(p), null, " ")
|
|
1683
1683
|
);
|
|
1684
|
-
var x = ae(
|
|
1684
|
+
var x = ae(W, M, N, D, F + "." + M, o);
|
|
1685
1685
|
if (x)
|
|
1686
1686
|
return x;
|
|
1687
1687
|
}
|
|
@@ -1702,7 +1702,7 @@ Valid keys: ` + JSON.stringify(Object.keys(p), null, " ")
|
|
|
1702
1702
|
return p.every(X);
|
|
1703
1703
|
if (p === null || s(p))
|
|
1704
1704
|
return !0;
|
|
1705
|
-
var v =
|
|
1705
|
+
var v = u(p);
|
|
1706
1706
|
if (v) {
|
|
1707
1707
|
var R = v.call(p), I;
|
|
1708
1708
|
if (v !== p.entries) {
|
|
@@ -1755,10 +1755,10 @@ Valid keys: ` + JSON.stringify(Object.keys(p), null, " ")
|
|
|
1755
1755
|
return v;
|
|
1756
1756
|
}
|
|
1757
1757
|
}
|
|
1758
|
-
function
|
|
1758
|
+
function z(p) {
|
|
1759
1759
|
return !p.constructor || !p.constructor.name ? g : p.constructor.name;
|
|
1760
1760
|
}
|
|
1761
|
-
return
|
|
1761
|
+
return h.checkPropTypes = a, h.resetWarningCache = a.resetWarningCache, h.PropTypes = h, h;
|
|
1762
1762
|
}, xt;
|
|
1763
1763
|
}
|
|
1764
1764
|
var ht, Qt;
|
|
@@ -1771,8 +1771,8 @@ function Ni() {
|
|
|
1771
1771
|
function o() {
|
|
1772
1772
|
}
|
|
1773
1773
|
return o.resetWarningCache = t, ht = function() {
|
|
1774
|
-
function n(r, s,
|
|
1775
|
-
if (
|
|
1774
|
+
function n(r, s, m, l, _, u) {
|
|
1775
|
+
if (u !== e) {
|
|
1776
1776
|
var g = new Error(
|
|
1777
1777
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
1778
1778
|
);
|
|
@@ -1841,7 +1841,7 @@ const E = /* @__PURE__ */ bo(Ri), _e = E.oneOfType([E.string, E.number]), To = {
|
|
|
1841
1841
|
monochrome: E.bool,
|
|
1842
1842
|
resolution: _e,
|
|
1843
1843
|
type: Object.keys(To)
|
|
1844
|
-
}, { type:
|
|
1844
|
+
}, { type: yp, ...ji } = Fi, Ai = {
|
|
1845
1845
|
minAspectRatio: E.string,
|
|
1846
1846
|
maxAspectRatio: E.string,
|
|
1847
1847
|
minDeviceAspectRatio: E.string,
|
|
@@ -1876,19 +1876,19 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
1876
1876
|
const n = e[o];
|
|
1877
1877
|
n != null && t.push(Oi(o, n));
|
|
1878
1878
|
}), Pi(t);
|
|
1879
|
-
},
|
|
1879
|
+
}, Wi = _o(void 0), zi = (e) => e.query || Bi(e), Jt = (e) => e ? Object.keys(e).reduce((o, n) => (o[wo(n)] = e[n], o), {}) : void 0, No = () => {
|
|
1880
1880
|
const e = me(!1);
|
|
1881
1881
|
return ne(() => {
|
|
1882
1882
|
e.current = !0;
|
|
1883
1883
|
}, []), e.current;
|
|
1884
1884
|
}, Mi = (e) => {
|
|
1885
|
-
const t = Ho(
|
|
1885
|
+
const t = Ho(Wi), o = () => Jt(e) || Jt(t), [n, a] = te(o);
|
|
1886
1886
|
return ne(() => {
|
|
1887
1887
|
const i = o();
|
|
1888
1888
|
bi(n, i) || a(i);
|
|
1889
1889
|
}, [e, t]), n;
|
|
1890
1890
|
}, Ui = (e) => {
|
|
1891
|
-
const t = () =>
|
|
1891
|
+
const t = () => zi(e), [o, n] = te(t);
|
|
1892
1892
|
return ne(() => {
|
|
1893
1893
|
const a = t();
|
|
1894
1894
|
o !== a && n(a);
|
|
@@ -1931,7 +1931,7 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
1931
1931
|
isMobile: r
|
|
1932
1932
|
}
|
|
1933
1933
|
};
|
|
1934
|
-
},
|
|
1934
|
+
}, wp = (e) => {
|
|
1935
1935
|
const { breakpoints: t, children: o } = e, { device: n } = Hi(t);
|
|
1936
1936
|
return /* @__PURE__ */ c(
|
|
1937
1937
|
ii.Provider,
|
|
@@ -1943,25 +1943,25 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
1943
1943
|
}
|
|
1944
1944
|
);
|
|
1945
1945
|
}, Vi = 2e3, Yi = (e) => {
|
|
1946
|
-
const { targetValue: t, duration: o = Vi, doneValue: n } = e, [a, i] = te(t), r = me(), s = me(0),
|
|
1946
|
+
const { targetValue: t, duration: o = Vi, doneValue: n } = e, [a, i] = te(t), r = me(), s = me(0), m = me(), l = me(t), [_, u] = te(!1), g = me();
|
|
1947
1947
|
return ne(() => {
|
|
1948
1948
|
if (l.current = t, t === s.current) return;
|
|
1949
1949
|
if (r.current && cancelAnimationFrame(r.current), t === n && !_) {
|
|
1950
1950
|
i(n), s.current = n;
|
|
1951
1951
|
return;
|
|
1952
1952
|
}
|
|
1953
|
-
s.current = a,
|
|
1954
|
-
const
|
|
1955
|
-
if (!
|
|
1956
|
-
const C = w -
|
|
1957
|
-
i(A), S < 1 && (r.current = requestAnimationFrame(
|
|
1953
|
+
s.current = a, m.current = performance.now();
|
|
1954
|
+
const h = (w) => {
|
|
1955
|
+
if (!m.current) return;
|
|
1956
|
+
const C = w - m.current, S = Math.min(C / o, 1), P = S < 0.5 ? 4 * S * S * S : 1 - Math.pow(-2 * S + 2, 3) / 2, q = s.current + (l.current - s.current) * P, A = Math.max(0, Math.floor(q));
|
|
1957
|
+
i(A), S < 1 && (r.current = requestAnimationFrame(h));
|
|
1958
1958
|
};
|
|
1959
|
-
return r.current = requestAnimationFrame(
|
|
1959
|
+
return r.current = requestAnimationFrame(h), () => {
|
|
1960
1960
|
r.current && cancelAnimationFrame(r.current);
|
|
1961
1961
|
};
|
|
1962
1962
|
}, [t, o, n, _]), ne(() => (a === n ? g.current = window.setTimeout(() => {
|
|
1963
|
-
|
|
1964
|
-
}, 500) : (
|
|
1963
|
+
u(!1);
|
|
1964
|
+
}, 500) : (u(!0), g.current && window.clearTimeout(g.current)), () => {
|
|
1965
1965
|
g.current && window.clearTimeout(g.current);
|
|
1966
1966
|
}), [a, n]), {
|
|
1967
1967
|
animatedValue: a,
|
|
@@ -1977,7 +1977,7 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
1977
1977
|
"progressWrapper__childrenWrapper--animated-backgroundProgress": "_progressWrapper__childrenWrapper--animated-backgroundProgress_xn9s0_61",
|
|
1978
1978
|
progressWrapper__progressBadge: Ji,
|
|
1979
1979
|
progressWrapper__progressBadge_loading: er
|
|
1980
|
-
},
|
|
1980
|
+
}, Cp = (e) => {
|
|
1981
1981
|
const {
|
|
1982
1982
|
value: t,
|
|
1983
1983
|
classNameRoot: o,
|
|
@@ -1986,7 +1986,7 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
1986
1986
|
children: i,
|
|
1987
1987
|
doneValue: r = 100,
|
|
1988
1988
|
animationVariant: s = "backgroundProgress"
|
|
1989
|
-
} = e, { animatedValue:
|
|
1989
|
+
} = e, { animatedValue: m, isLoading: l } = Yi({
|
|
1990
1990
|
targetValue: t,
|
|
1991
1991
|
duration: a,
|
|
1992
1992
|
doneValue: r
|
|
@@ -1994,7 +1994,7 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
1994
1994
|
[Re.progressWrapper]: !0,
|
|
1995
1995
|
[Re.progressWrapper_loading]: l,
|
|
1996
1996
|
...o && { [o]: !0 }
|
|
1997
|
-
}),
|
|
1997
|
+
}), u = f({
|
|
1998
1998
|
[Re.progressWrapper__progressBadge]: !0,
|
|
1999
1999
|
[Re.progressWrapper__progressBadge_loading]: l,
|
|
2000
2000
|
...n && { [n]: !0 }
|
|
@@ -2002,20 +2002,20 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2002
2002
|
[Re.progressWrapper__childrenWrapper]: !0,
|
|
2003
2003
|
[Re[`progressWrapper__childrenWrapper--animated-${s}`]]: s,
|
|
2004
2004
|
[Re.progressWrapper__childrenWrapper_loading]: l
|
|
2005
|
-
}),
|
|
2006
|
-
"--progress": `${
|
|
2005
|
+
}), h = {
|
|
2006
|
+
"--progress": `${m / r * 100}%`
|
|
2007
2007
|
};
|
|
2008
2008
|
return /* @__PURE__ */ U("div", { className: _, children: [
|
|
2009
2009
|
/* @__PURE__ */ c(
|
|
2010
2010
|
"div",
|
|
2011
2011
|
{
|
|
2012
2012
|
className: g,
|
|
2013
|
-
style: s === "backgroundProgress" ?
|
|
2013
|
+
style: s === "backgroundProgress" ? h : void 0,
|
|
2014
2014
|
children: i
|
|
2015
2015
|
}
|
|
2016
2016
|
),
|
|
2017
|
-
l && /* @__PURE__ */ U(Te, { classNameRoot:
|
|
2018
|
-
|
|
2017
|
+
l && /* @__PURE__ */ U(Te, { classNameRoot: u, children: [
|
|
2018
|
+
m,
|
|
2019
2019
|
"%"
|
|
2020
2020
|
] })
|
|
2021
2021
|
] });
|
|
@@ -2034,7 +2034,7 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2034
2034
|
spSelect__list_scrollable: ur,
|
|
2035
2035
|
spSelect__option: _r,
|
|
2036
2036
|
spSelect__error: fr
|
|
2037
|
-
},
|
|
2037
|
+
}, kp = (e) => {
|
|
2038
2038
|
const {
|
|
2039
2039
|
options: t,
|
|
2040
2040
|
placeholder: o = "Выберите из списка...",
|
|
@@ -2043,19 +2043,19 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2043
2043
|
variant: i = "outlined",
|
|
2044
2044
|
onChange: r,
|
|
2045
2045
|
onMouseEnter: s,
|
|
2046
|
-
error:
|
|
2046
|
+
error: m,
|
|
2047
2047
|
label: l,
|
|
2048
2048
|
infoTooltipText: _,
|
|
2049
|
-
tooltipPosition:
|
|
2049
|
+
tooltipPosition: u,
|
|
2050
2050
|
disabled: g,
|
|
2051
|
-
required:
|
|
2051
|
+
required: h,
|
|
2052
2052
|
maxHeightList: w = tr,
|
|
2053
2053
|
isVisibleDefaultTitle: C = !0,
|
|
2054
2054
|
isScrollableList: S = !1,
|
|
2055
2055
|
classNameRoot: P,
|
|
2056
2056
|
classNameError: q,
|
|
2057
2057
|
classNameLabel: A,
|
|
2058
|
-
classNameBaseTooltipRoot:
|
|
2058
|
+
classNameBaseTooltipRoot: b
|
|
2059
2059
|
} = e, [d, j] = te(!1), B = me(null);
|
|
2060
2060
|
xo(
|
|
2061
2061
|
[B],
|
|
@@ -2070,7 +2070,7 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2070
2070
|
g || j(!d);
|
|
2071
2071
|
}, re = f({
|
|
2072
2072
|
[be.spSelect]: !0,
|
|
2073
|
-
[be.spSelect_error]: !!
|
|
2073
|
+
[be.spSelect_error]: !!m,
|
|
2074
2074
|
...P && { [P]: !0 }
|
|
2075
2075
|
}), ue = f({
|
|
2076
2076
|
[be.spSelect__container]: !0
|
|
@@ -2097,11 +2097,11 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2097
2097
|
At,
|
|
2098
2098
|
{
|
|
2099
2099
|
classNameRoot: T,
|
|
2100
|
-
tooltipPosition:
|
|
2101
|
-
required:
|
|
2100
|
+
tooltipPosition: u,
|
|
2101
|
+
required: h,
|
|
2102
2102
|
label: l,
|
|
2103
2103
|
infoTooltipText: _,
|
|
2104
|
-
classNameBaseTooltipRoot:
|
|
2104
|
+
classNameBaseTooltipRoot: b
|
|
2105
2105
|
}
|
|
2106
2106
|
),
|
|
2107
2107
|
/* @__PURE__ */ U("div", { className: ue, onMouseEnter: s, children: [
|
|
@@ -2150,11 +2150,11 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2150
2150
|
}
|
|
2151
2151
|
)
|
|
2152
2152
|
] }),
|
|
2153
|
-
|
|
2153
|
+
m && /* @__PURE__ */ c("div", { className: H, children: m })
|
|
2154
2154
|
] });
|
|
2155
2155
|
}, vr = "_skeleton_1u7gu_43", gr = {
|
|
2156
2156
|
skeleton: vr
|
|
2157
|
-
},
|
|
2157
|
+
}, Tp = (e) => {
|
|
2158
2158
|
const { width: t = "100%", height: o = "1rem", circle: n = !1, classNameRoot: a = "", style: i = {} } = e, r = {
|
|
2159
2159
|
width: t,
|
|
2160
2160
|
height: o,
|
|
@@ -2175,28 +2175,28 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2175
2175
|
spStringsGroup__groupItemContent: Er,
|
|
2176
2176
|
spStringsGroup__groupItemContentCopyIcon: Sr,
|
|
2177
2177
|
spStringsGroup__groupItemContentCopyIcon_copied: Rr
|
|
2178
|
-
},
|
|
2178
|
+
}, Np = (e) => {
|
|
2179
2179
|
const {
|
|
2180
2180
|
columns: t,
|
|
2181
2181
|
data: o,
|
|
2182
2182
|
isNotTableOnNotDesktop: n = !1,
|
|
2183
2183
|
isDesktop: a = !0,
|
|
2184
2184
|
classNameRoot: i
|
|
2185
|
-
} = e, r = t.map((
|
|
2186
|
-
...
|
|
2187
|
-
isVisible: o.some((d) => !!d[
|
|
2188
|
-
} :
|
|
2185
|
+
} = e, r = t.map((b) => o ? {
|
|
2186
|
+
...b,
|
|
2187
|
+
isVisible: o.some((d) => !!d[b.key])
|
|
2188
|
+
} : b).filter((b) => b.isVisible), s = f({
|
|
2189
2189
|
[ye.spTable]: !0,
|
|
2190
2190
|
...i && { [i]: !0 }
|
|
2191
|
-
}),
|
|
2191
|
+
}), m = f({
|
|
2192
2192
|
[ye.spTable__tdContent]: !0
|
|
2193
2193
|
}), l = f({
|
|
2194
2194
|
[ye.spTable__tdColorContent]: !0
|
|
2195
2195
|
}), _ = f({
|
|
2196
2196
|
[ye.spTable__emptyPage]: !0
|
|
2197
|
-
}), [
|
|
2198
|
-
const { text: d, rowIndex: j, colIndex: B } =
|
|
2199
|
-
(
|
|
2197
|
+
}), [u, g] = te(null), h = (b) => {
|
|
2198
|
+
const { text: d, rowIndex: j, colIndex: B } = b;
|
|
2199
|
+
(u == null ? void 0 : u.rowIndex) === j && (u == null ? void 0 : u.colIndex) === B || navigator.clipboard.writeText(d).then(() => {
|
|
2200
2200
|
g({ rowIndex: j, colIndex: B });
|
|
2201
2201
|
}).catch((O) => {
|
|
2202
2202
|
console.error("Ошибка при копировании:", O);
|
|
@@ -2204,10 +2204,10 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2204
2204
|
}, w = () => {
|
|
2205
2205
|
g(null);
|
|
2206
2206
|
}, C = () => /* @__PURE__ */ c("div", { className: _, children: "Данные отсутствуют" }), S = ({
|
|
2207
|
-
row:
|
|
2207
|
+
row: b,
|
|
2208
2208
|
col: d
|
|
2209
2209
|
}) => {
|
|
2210
|
-
const j =
|
|
2210
|
+
const j = b[d.key];
|
|
2211
2211
|
if (!j) return null;
|
|
2212
2212
|
const [B, O] = j.split(/\s*\{\{|}}\s*/).filter(Boolean);
|
|
2213
2213
|
return /* @__PURE__ */ U("span", { children: [
|
|
@@ -2215,7 +2215,7 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2215
2215
|
O && /* @__PURE__ */ c("span", { className: l, children: ` ${O}` })
|
|
2216
2216
|
] });
|
|
2217
2217
|
}, P = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ U("table", { className: s, children: [
|
|
2218
|
-
/* @__PURE__ */ c("colgroup", { children: r.map((
|
|
2218
|
+
/* @__PURE__ */ c("colgroup", { children: r.map((b, d, j) => /* @__PURE__ */ c(
|
|
2219
2219
|
"col",
|
|
2220
2220
|
{
|
|
2221
2221
|
style: {
|
|
@@ -2224,16 +2224,16 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2224
2224
|
},
|
|
2225
2225
|
d
|
|
2226
2226
|
)) }),
|
|
2227
|
-
/* @__PURE__ */ c("thead", { children: /* @__PURE__ */ c("tr", { children: r.map((
|
|
2228
|
-
/* @__PURE__ */ c("tbody", { children: o.map((
|
|
2229
|
-
const O = (
|
|
2227
|
+
/* @__PURE__ */ c("thead", { children: /* @__PURE__ */ c("tr", { children: r.map((b, d) => /* @__PURE__ */ c("th", { children: b.title }, d)) }) }),
|
|
2228
|
+
/* @__PURE__ */ c("tbody", { children: o.map((b, d) => b ? /* @__PURE__ */ c("tr", { children: r.map((j, B) => {
|
|
2229
|
+
const O = (u == null ? void 0 : u.rowIndex) === d && (u == null ? void 0 : u.colIndex) === B;
|
|
2230
2230
|
return /* @__PURE__ */ c(
|
|
2231
2231
|
"td",
|
|
2232
2232
|
{
|
|
2233
2233
|
onMouseLeave: O ? w : void 0,
|
|
2234
|
-
children: /* @__PURE__ */ U("div", { className:
|
|
2235
|
-
/* @__PURE__ */ c("span", { children: j.isColorContentsCurlyBrackets ? S({ row:
|
|
2236
|
-
!Nt(
|
|
2234
|
+
children: /* @__PURE__ */ U("div", { className: m, children: [
|
|
2235
|
+
/* @__PURE__ */ c("span", { children: j.isColorContentsCurlyBrackets ? S({ row: b, col: j }) : b[j.key] }),
|
|
2236
|
+
!Nt(b[j.key]) && j.isBeCopiedValue && /* @__PURE__ */ c(
|
|
2237
2237
|
ge,
|
|
2238
2238
|
{
|
|
2239
2239
|
className: f({
|
|
@@ -2242,9 +2242,9 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2242
2242
|
}),
|
|
2243
2243
|
name: O ? pe.Check : pe.Copy,
|
|
2244
2244
|
onClick: () => {
|
|
2245
|
-
const Q =
|
|
2245
|
+
const Q = b[j.key];
|
|
2246
2246
|
if (!Q) return null;
|
|
2247
|
-
|
|
2247
|
+
h({
|
|
2248
2248
|
text: Q,
|
|
2249
2249
|
rowIndex: d,
|
|
2250
2250
|
colIndex: B
|
|
@@ -2263,10 +2263,10 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2263
2263
|
className: f({
|
|
2264
2264
|
[ye.spStringsGroup]: !0
|
|
2265
2265
|
}),
|
|
2266
|
-
children: o.map((
|
|
2267
|
-
if (Nt(
|
|
2266
|
+
children: o.map((b, d) => b ? /* @__PURE__ */ c("div", { children: r.map((j, B) => {
|
|
2267
|
+
if (Nt(b[j.key]))
|
|
2268
2268
|
return null;
|
|
2269
|
-
const O = (
|
|
2269
|
+
const O = (u == null ? void 0 : u.rowIndex) === d && (u == null ? void 0 : u.colIndex) === B;
|
|
2270
2270
|
return /* @__PURE__ */ U(
|
|
2271
2271
|
"div",
|
|
2272
2272
|
{
|
|
@@ -2291,7 +2291,7 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2291
2291
|
[ye.spStringsGroup__groupItemContent]: !0
|
|
2292
2292
|
}),
|
|
2293
2293
|
children: [
|
|
2294
|
-
/* @__PURE__ */ c("span", { children: j.isColorContentsCurlyBrackets ? S({ row:
|
|
2294
|
+
/* @__PURE__ */ c("span", { children: j.isColorContentsCurlyBrackets ? S({ row: b, col: j }) : b[j.key] }),
|
|
2295
2295
|
j.isBeCopiedValue && /* @__PURE__ */ c(
|
|
2296
2296
|
ge,
|
|
2297
2297
|
{
|
|
@@ -2301,9 +2301,9 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2301
2301
|
}),
|
|
2302
2302
|
name: O ? pe.Check : pe.Copy,
|
|
2303
2303
|
onClick: () => {
|
|
2304
|
-
const Q =
|
|
2304
|
+
const Q = b[j.key];
|
|
2305
2305
|
if (!Q) return null;
|
|
2306
|
-
|
|
2306
|
+
h({
|
|
2307
2307
|
text: Q,
|
|
2308
2308
|
rowIndex: d,
|
|
2309
2309
|
colIndex: B
|
|
@@ -2332,7 +2332,7 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2332
2332
|
spTabs__tabElement_active: Ir,
|
|
2333
2333
|
spTabs__triggerTooltip: Lr,
|
|
2334
2334
|
"spTabs--variant-filled": "_spTabs--variant-filled_1citb_93"
|
|
2335
|
-
},
|
|
2335
|
+
}, Ep = (e) => {
|
|
2336
2336
|
const {
|
|
2337
2337
|
panes: t,
|
|
2338
2338
|
isSeparated: o = !1,
|
|
@@ -2346,7 +2346,7 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2346
2346
|
[Fe[`spTabs--variant-${i}`]]: i,
|
|
2347
2347
|
[Fe[`spTabs--size-${r}`]]: r,
|
|
2348
2348
|
...n && { [n]: !0 }
|
|
2349
|
-
}),
|
|
2349
|
+
}), m = f({
|
|
2350
2350
|
[Fe.spTabs__triggerTooltip]: !0
|
|
2351
2351
|
}), l = () => {
|
|
2352
2352
|
switch (r) {
|
|
@@ -2356,14 +2356,14 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2356
2356
|
return "p1";
|
|
2357
2357
|
}
|
|
2358
2358
|
};
|
|
2359
|
-
return /* @__PURE__ */ c("div", { className: s, children: t.map((_,
|
|
2360
|
-
const { name: g, active:
|
|
2359
|
+
return /* @__PURE__ */ c("div", { className: s, children: t.map((_, u) => {
|
|
2360
|
+
const { name: g, active: h, onClick: w, infoTooltipText: C } = _;
|
|
2361
2361
|
return /* @__PURE__ */ U(
|
|
2362
2362
|
"div",
|
|
2363
2363
|
{
|
|
2364
2364
|
className: f({
|
|
2365
2365
|
[Fe.spTabs__tabElement]: !0,
|
|
2366
|
-
[Fe.spTabs__tabElement_active]:
|
|
2366
|
+
[Fe.spTabs__tabElement_active]: h
|
|
2367
2367
|
}),
|
|
2368
2368
|
onClick: w,
|
|
2369
2369
|
children: [
|
|
@@ -2371,19 +2371,19 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
|
|
|
2371
2371
|
!!C && /* @__PURE__ */ c(
|
|
2372
2372
|
tt,
|
|
2373
2373
|
{
|
|
2374
|
-
classNameTriggerTooltip:
|
|
2374
|
+
classNameTriggerTooltip: m,
|
|
2375
2375
|
text: C,
|
|
2376
2376
|
classNameBaseTooltipRoot: a
|
|
2377
2377
|
}
|
|
2378
2378
|
)
|
|
2379
2379
|
]
|
|
2380
2380
|
},
|
|
2381
|
-
_.key ||
|
|
2381
|
+
_.key || u
|
|
2382
2382
|
);
|
|
2383
2383
|
}) });
|
|
2384
2384
|
}, Dr = "_spTextWithLabel_1dr7p_1", Or = {
|
|
2385
2385
|
spTextWithLabel: Dr
|
|
2386
|
-
},
|
|
2386
|
+
}, Sp = (e) => {
|
|
2387
2387
|
const { children: t, label: o, style: n, ...a } = e;
|
|
2388
2388
|
return /* @__PURE__ */ U("div", { className: Or.spTextWithLabel, style: { ...n }, children: [
|
|
2389
2389
|
/* @__PURE__ */ c(At, { label: o }),
|
|
@@ -2400,19 +2400,19 @@ function Ae(e, t, o, n) {
|
|
|
2400
2400
|
function s(_) {
|
|
2401
2401
|
try {
|
|
2402
2402
|
l(n.next(_));
|
|
2403
|
-
} catch (
|
|
2404
|
-
r(
|
|
2403
|
+
} catch (u) {
|
|
2404
|
+
r(u);
|
|
2405
2405
|
}
|
|
2406
2406
|
}
|
|
2407
|
-
function
|
|
2407
|
+
function m(_) {
|
|
2408
2408
|
try {
|
|
2409
2409
|
l(n.throw(_));
|
|
2410
|
-
} catch (
|
|
2411
|
-
r(
|
|
2410
|
+
} catch (u) {
|
|
2411
|
+
r(u);
|
|
2412
2412
|
}
|
|
2413
2413
|
}
|
|
2414
2414
|
function l(_) {
|
|
2415
|
-
_.done ? i(_.value) : a(_.value).then(s,
|
|
2415
|
+
_.done ? i(_.value) : a(_.value).then(s, m);
|
|
2416
2416
|
}
|
|
2417
2417
|
l((n = n.apply(e, t || [])).next());
|
|
2418
2418
|
});
|
|
@@ -3645,14 +3645,14 @@ function eo(e, t, o) {
|
|
|
3645
3645
|
enumerable: !0
|
|
3646
3646
|
});
|
|
3647
3647
|
}
|
|
3648
|
-
const
|
|
3648
|
+
const Wr = [
|
|
3649
3649
|
// Thumbnail cache files for macOS and Windows
|
|
3650
3650
|
".DS_Store",
|
|
3651
3651
|
// macOs
|
|
3652
3652
|
"Thumbs.db"
|
|
3653
3653
|
// Windows
|
|
3654
3654
|
];
|
|
3655
|
-
function
|
|
3655
|
+
function zr(e) {
|
|
3656
3656
|
return Ae(this, void 0, void 0, function* () {
|
|
3657
3657
|
return Ze(e) && Mr(e.dataTransfer) ? Hr(e.dataTransfer, e.type) : Ur(e) ? qr(e) : Array.isArray(e) && e.every((t) => "getFile" in t && typeof t.getFile == "function") ? $r(e) : [];
|
|
3658
3658
|
});
|
|
@@ -3687,7 +3687,7 @@ function Hr(e, t) {
|
|
|
3687
3687
|
});
|
|
3688
3688
|
}
|
|
3689
3689
|
function to(e) {
|
|
3690
|
-
return e.filter((t) =>
|
|
3690
|
+
return e.filter((t) => Wr.indexOf(t.name) === -1);
|
|
3691
3691
|
}
|
|
3692
3692
|
function Et(e) {
|
|
3693
3693
|
if (e === null)
|
|
@@ -3847,8 +3847,8 @@ function Jr(e, t) {
|
|
|
3847
3847
|
try {
|
|
3848
3848
|
for (o = o.call(e); !(a = (r = o.next()).done) && (n.push(r.value), !(t && n.length === t)); a = !0)
|
|
3849
3849
|
;
|
|
3850
|
-
} catch (
|
|
3851
|
-
i = !0, s =
|
|
3850
|
+
} catch (m) {
|
|
3851
|
+
i = !0, s = m;
|
|
3852
3852
|
} finally {
|
|
3853
3853
|
try {
|
|
3854
3854
|
!a && o.return != null && o.return();
|
|
@@ -3906,9 +3906,9 @@ function je(e) {
|
|
|
3906
3906
|
}
|
|
3907
3907
|
function is(e) {
|
|
3908
3908
|
var t = e.files, o = e.accept, n = e.minSize, a = e.maxSize, i = e.multiple, r = e.maxFiles, s = e.validator;
|
|
3909
|
-
return !i && t.length > 1 || i && r >= 1 && t.length > r ? !1 : t.every(function(
|
|
3910
|
-
var l = Lo(
|
|
3911
|
-
return
|
|
3909
|
+
return !i && t.length > 1 || i && r >= 1 && t.length > r ? !1 : t.every(function(m) {
|
|
3910
|
+
var l = Lo(m, o), _ = Me(l, 1), u = _[0], g = Do(m, n, a), h = Me(g, 1), w = h[0], C = s ? s(m) : null;
|
|
3911
|
+
return u && w && !C;
|
|
3912
3912
|
});
|
|
3913
3913
|
}
|
|
3914
3914
|
function Qe(e) {
|
|
@@ -4026,8 +4026,8 @@ function Cs(e, t) {
|
|
|
4026
4026
|
try {
|
|
4027
4027
|
for (o = o.call(e); !(a = (r = o.next()).done) && (n.push(r.value), !(t && n.length === t)); a = !0)
|
|
4028
4028
|
;
|
|
4029
|
-
} catch (
|
|
4030
|
-
i = !0, s =
|
|
4029
|
+
} catch (m) {
|
|
4030
|
+
i = !0, s = m;
|
|
4031
4031
|
} finally {
|
|
4032
4032
|
try {
|
|
4033
4033
|
!a && o.return != null && o.return();
|
|
@@ -4083,7 +4083,7 @@ function Ts(e, t) {
|
|
|
4083
4083
|
return o;
|
|
4084
4084
|
}
|
|
4085
4085
|
var Dt = /* @__PURE__ */ Yo(function(e, t) {
|
|
4086
|
-
var o = e.children, n = Je(e, _s), a =
|
|
4086
|
+
var o = e.children, n = Je(e, _s), a = zo(n), i = a.open, r = Je(a, fs);
|
|
4087
4087
|
return Go(t, function() {
|
|
4088
4088
|
return {
|
|
4089
4089
|
open: i
|
|
@@ -4093,9 +4093,9 @@ var Dt = /* @__PURE__ */ Yo(function(e, t) {
|
|
|
4093
4093
|
})));
|
|
4094
4094
|
});
|
|
4095
4095
|
Dt.displayName = "Dropzone";
|
|
4096
|
-
var
|
|
4096
|
+
var Wo = {
|
|
4097
4097
|
disabled: !1,
|
|
4098
|
-
getFilesFromEvent:
|
|
4098
|
+
getFilesFromEvent: zr,
|
|
4099
4099
|
maxSize: 1 / 0,
|
|
4100
4100
|
minSize: 0,
|
|
4101
4101
|
multiple: !0,
|
|
@@ -4109,7 +4109,7 @@ var zo = {
|
|
|
4109
4109
|
useFsAccessApi: !1,
|
|
4110
4110
|
autoFocus: !1
|
|
4111
4111
|
};
|
|
4112
|
-
Dt.defaultProps =
|
|
4112
|
+
Dt.defaultProps = Wo;
|
|
4113
4113
|
Dt.propTypes = {
|
|
4114
4114
|
/**
|
|
4115
4115
|
* Render function that exposes the dropzone state and prop getter fns
|
|
@@ -4287,8 +4287,8 @@ var jt = {
|
|
|
4287
4287
|
acceptedFiles: [],
|
|
4288
4288
|
fileRejections: []
|
|
4289
4289
|
};
|
|
4290
|
-
function
|
|
4291
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = J(J({},
|
|
4290
|
+
function zo() {
|
|
4291
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = J(J({}, Wo), e), o = t.accept, n = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, m = t.maxFiles, l = t.onDragEnter, _ = t.onDragLeave, u = t.onDragOver, g = t.onDrop, h = t.onDropAccepted, w = t.onDropRejected, C = t.onFileDialogCancel, S = t.onFileDialogOpen, P = t.useFsAccessApi, q = t.autoFocus, A = t.preventDropOnDocument, b = t.noClick, d = t.noKeyboard, j = t.noDrag, B = t.noDragEventsBubbling, O = t.onError, Q = t.validator, ie = De(function() {
|
|
4292
4292
|
return ds(o);
|
|
4293
4293
|
}, [o]), re = De(function() {
|
|
4294
4294
|
return cs(o);
|
|
@@ -4296,11 +4296,11 @@ function Wo() {
|
|
|
4296
4296
|
return typeof S == "function" ? S : co;
|
|
4297
4297
|
}, [S]), ce = De(function() {
|
|
4298
4298
|
return typeof C == "function" ? C : co;
|
|
4299
|
-
}, [C]), X = me(null), Z = me(null), ee = Vo(Ns, jt), T = Ct(ee, 2), H = T[0],
|
|
4299
|
+
}, [C]), X = me(null), Z = me(null), ee = Vo(Ns, jt), T = Ct(ee, 2), H = T[0], z = T[1], p = H.isFocused, v = H.isFileDialogActive, R = me(typeof window < "u" && window.isSecureContext && P && ls()), I = function() {
|
|
4300
4300
|
!R.current && v && setTimeout(function() {
|
|
4301
4301
|
if (Z.current) {
|
|
4302
4302
|
var L = Z.current.files;
|
|
4303
|
-
L.length || (
|
|
4303
|
+
L.length || (z({
|
|
4304
4304
|
type: "closeDialog"
|
|
4305
4305
|
}), ce());
|
|
4306
4306
|
}
|
|
@@ -4322,53 +4322,53 @@ function Wo() {
|
|
|
4322
4322
|
return !n && q && X.current && X.current.focus(), function() {
|
|
4323
4323
|
};
|
|
4324
4324
|
}, [X, q, n]);
|
|
4325
|
-
var F = ve(function(
|
|
4326
|
-
O ? O(
|
|
4327
|
-
}, [O]),
|
|
4328
|
-
|
|
4329
|
-
if (!(Qe(
|
|
4325
|
+
var F = ve(function(y) {
|
|
4326
|
+
O ? O(y) : console.error(y);
|
|
4327
|
+
}, [O]), W = ve(function(y) {
|
|
4328
|
+
y.preventDefault(), y.persist(), $e(y), N.current = [].concat(xs(N.current), [y.target]), Xe(y) && Promise.resolve(a(y)).then(function(L) {
|
|
4329
|
+
if (!(Qe(y) && !B)) {
|
|
4330
4330
|
var oe = L.length, se = oe > 0 && is({
|
|
4331
4331
|
files: L,
|
|
4332
4332
|
accept: ie,
|
|
4333
4333
|
minSize: r,
|
|
4334
4334
|
maxSize: i,
|
|
4335
4335
|
multiple: s,
|
|
4336
|
-
maxFiles:
|
|
4336
|
+
maxFiles: m,
|
|
4337
4337
|
validator: Q
|
|
4338
4338
|
}), he = oe > 0 && !se;
|
|
4339
|
-
|
|
4339
|
+
z({
|
|
4340
4340
|
isDragAccept: se,
|
|
4341
4341
|
isDragReject: he,
|
|
4342
4342
|
isDragActive: !0,
|
|
4343
4343
|
type: "setDraggedFiles"
|
|
4344
|
-
}), l && l(
|
|
4344
|
+
}), l && l(y);
|
|
4345
4345
|
}
|
|
4346
4346
|
}).catch(function(L) {
|
|
4347
4347
|
return F(L);
|
|
4348
4348
|
});
|
|
4349
|
-
}, [a, l, F, B, ie, r, i, s,
|
|
4350
|
-
|
|
4351
|
-
var L = Xe(
|
|
4352
|
-
if (L &&
|
|
4349
|
+
}, [a, l, F, B, ie, r, i, s, m, Q]), $ = ve(function(y) {
|
|
4350
|
+
y.preventDefault(), y.persist(), $e(y);
|
|
4351
|
+
var L = Xe(y);
|
|
4352
|
+
if (L && y.dataTransfer)
|
|
4353
4353
|
try {
|
|
4354
|
-
|
|
4354
|
+
y.dataTransfer.dropEffect = "copy";
|
|
4355
4355
|
} catch {
|
|
4356
4356
|
}
|
|
4357
|
-
return L &&
|
|
4358
|
-
}, [
|
|
4359
|
-
|
|
4357
|
+
return L && u && u(y), !1;
|
|
4358
|
+
}, [u, B]), Y = ve(function(y) {
|
|
4359
|
+
y.preventDefault(), y.persist(), $e(y);
|
|
4360
4360
|
var L = N.current.filter(function(se) {
|
|
4361
4361
|
return X.current && X.current.contains(se);
|
|
4362
|
-
}), oe = L.indexOf(
|
|
4363
|
-
oe !== -1 && L.splice(oe, 1), N.current = L, !(L.length > 0) && (
|
|
4362
|
+
}), oe = L.indexOf(y.target);
|
|
4363
|
+
oe !== -1 && L.splice(oe, 1), N.current = L, !(L.length > 0) && (z({
|
|
4364
4364
|
type: "setDraggedFiles",
|
|
4365
4365
|
isDragActive: !1,
|
|
4366
4366
|
isDragAccept: !1,
|
|
4367
4367
|
isDragReject: !1
|
|
4368
|
-
}), Xe(
|
|
4369
|
-
}, [X, _, B]), M = ve(function(
|
|
4368
|
+
}), Xe(y) && _ && _(y));
|
|
4369
|
+
}, [X, _, B]), M = ve(function(y, L) {
|
|
4370
4370
|
var oe = [], se = [];
|
|
4371
|
-
|
|
4371
|
+
y.forEach(function(he) {
|
|
4372
4372
|
var Be = Lo(he, ie), Le = Ct(Be, 2), nt = Le[0], at = Le[1], it = Do(he, r, i), He = Ct(it, 2), rt = He[0], st = He[1], pt = Q ? Q(he) : null;
|
|
4373
4373
|
if (nt && rt && !pt)
|
|
4374
4374
|
oe.push(he);
|
|
@@ -4381,63 +4381,63 @@ function Wo() {
|
|
|
4381
4381
|
})
|
|
4382
4382
|
});
|
|
4383
4383
|
}
|
|
4384
|
-
}), (!s && oe.length > 1 || s &&
|
|
4384
|
+
}), (!s && oe.length > 1 || s && m >= 1 && oe.length > m) && (oe.forEach(function(he) {
|
|
4385
4385
|
se.push({
|
|
4386
4386
|
file: he,
|
|
4387
4387
|
errors: [as]
|
|
4388
4388
|
});
|
|
4389
|
-
}), oe.splice(0)),
|
|
4389
|
+
}), oe.splice(0)), z({
|
|
4390
4390
|
acceptedFiles: oe,
|
|
4391
4391
|
fileRejections: se,
|
|
4392
4392
|
isDragReject: se.length > 0,
|
|
4393
4393
|
type: "setFiles"
|
|
4394
|
-
}), g && g(oe, se, L), se.length > 0 && w && w(se, L), oe.length > 0 &&
|
|
4395
|
-
}, [
|
|
4396
|
-
|
|
4397
|
-
Qe(
|
|
4394
|
+
}), g && g(oe, se, L), se.length > 0 && w && w(se, L), oe.length > 0 && h && h(oe, L);
|
|
4395
|
+
}, [z, s, ie, r, i, m, g, h, w, Q]), ae = ve(function(y) {
|
|
4396
|
+
y.preventDefault(), y.persist(), $e(y), N.current = [], Xe(y) && Promise.resolve(a(y)).then(function(L) {
|
|
4397
|
+
Qe(y) && !B || M(L, y);
|
|
4398
4398
|
}).catch(function(L) {
|
|
4399
4399
|
return F(L);
|
|
4400
|
-
}),
|
|
4400
|
+
}), z({
|
|
4401
4401
|
type: "reset"
|
|
4402
4402
|
});
|
|
4403
4403
|
}, [a, M, F, B]), x = ve(function() {
|
|
4404
4404
|
if (R.current) {
|
|
4405
|
-
|
|
4405
|
+
z({
|
|
4406
4406
|
type: "openDialog"
|
|
4407
4407
|
}), ue();
|
|
4408
|
-
var
|
|
4408
|
+
var y = {
|
|
4409
4409
|
multiple: s,
|
|
4410
4410
|
types: re
|
|
4411
4411
|
};
|
|
4412
|
-
window.showOpenFilePicker(
|
|
4412
|
+
window.showOpenFilePicker(y).then(function(L) {
|
|
4413
4413
|
return a(L);
|
|
4414
4414
|
}).then(function(L) {
|
|
4415
|
-
M(L, null),
|
|
4415
|
+
M(L, null), z({
|
|
4416
4416
|
type: "closeDialog"
|
|
4417
4417
|
});
|
|
4418
4418
|
}).catch(function(L) {
|
|
4419
|
-
ms(L) ? (ce(L),
|
|
4419
|
+
ms(L) ? (ce(L), z({
|
|
4420
4420
|
type: "closeDialog"
|
|
4421
4421
|
})) : us(L) ? (R.current = !1, Z.current ? (Z.current.value = null, Z.current.click()) : F(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."))) : F(L);
|
|
4422
4422
|
});
|
|
4423
4423
|
return;
|
|
4424
4424
|
}
|
|
4425
|
-
Z.current && (
|
|
4425
|
+
Z.current && (z({
|
|
4426
4426
|
type: "openDialog"
|
|
4427
4427
|
}), ue(), Z.current.value = null, Z.current.click());
|
|
4428
|
-
}, [
|
|
4429
|
-
!X.current || !X.current.isEqualNode(
|
|
4428
|
+
}, [z, ue, ce, P, M, F, re, s]), xe = ve(function(y) {
|
|
4429
|
+
!X.current || !X.current.isEqualNode(y.target) || (y.key === " " || y.key === "Enter" || y.keyCode === 32 || y.keyCode === 13) && (y.preventDefault(), x());
|
|
4430
4430
|
}, [X, x]), Se = ve(function() {
|
|
4431
|
-
|
|
4431
|
+
z({
|
|
4432
4432
|
type: "focus"
|
|
4433
4433
|
});
|
|
4434
4434
|
}, []), Pe = ve(function() {
|
|
4435
|
-
|
|
4435
|
+
z({
|
|
4436
4436
|
type: "blur"
|
|
4437
4437
|
});
|
|
4438
4438
|
}, []), Ot = ve(function() {
|
|
4439
|
-
|
|
4440
|
-
}, [
|
|
4439
|
+
b || (ps() ? setTimeout(x, 0) : x());
|
|
4440
|
+
}, [b, x]), Ie = function(L) {
|
|
4441
4441
|
return n ? null : L;
|
|
4442
4442
|
}, ot = function(L) {
|
|
4443
4443
|
return d ? null : Ie(L);
|
|
@@ -4447,26 +4447,26 @@ function Wo() {
|
|
|
4447
4447
|
B && L.stopPropagation();
|
|
4448
4448
|
}, Mo = De(function() {
|
|
4449
4449
|
return function() {
|
|
4450
|
-
var
|
|
4450
|
+
var y = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, L = y.refKey, oe = L === void 0 ? "ref" : L, se = y.role, he = y.onKeyDown, Be = y.onFocus, Le = y.onBlur, nt = y.onClick, at = y.onDragEnter, it = y.onDragOver, He = y.onDragLeave, rt = y.onDrop, st = Je(y, vs);
|
|
4451
4451
|
return J(J(Ft({
|
|
4452
4452
|
onKeyDown: ot(ke(he, xe)),
|
|
4453
4453
|
onFocus: ot(ke(Be, Se)),
|
|
4454
4454
|
onBlur: ot(ke(Le, Pe)),
|
|
4455
4455
|
onClick: Ie(ke(nt, Ot)),
|
|
4456
|
-
onDragEnter: qe(ke(at,
|
|
4456
|
+
onDragEnter: qe(ke(at, W)),
|
|
4457
4457
|
onDragOver: qe(ke(it, $)),
|
|
4458
|
-
onDragLeave: qe(ke(He,
|
|
4458
|
+
onDragLeave: qe(ke(He, Y)),
|
|
4459
4459
|
onDrop: qe(ke(rt, ae)),
|
|
4460
4460
|
role: typeof se == "string" && se !== "" ? se : "presentation"
|
|
4461
4461
|
}, oe, X), !n && !d ? {
|
|
4462
4462
|
tabIndex: 0
|
|
4463
4463
|
} : {}), st);
|
|
4464
4464
|
};
|
|
4465
|
-
}, [X, xe, Se, Pe, Ot,
|
|
4466
|
-
|
|
4465
|
+
}, [X, xe, Se, Pe, Ot, W, $, Y, ae, d, j, n]), Uo = ve(function(y) {
|
|
4466
|
+
y.stopPropagation();
|
|
4467
4467
|
}, []), qo = De(function() {
|
|
4468
4468
|
return function() {
|
|
4469
|
-
var
|
|
4469
|
+
var y = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, L = y.refKey, oe = L === void 0 ? "ref" : L, se = y.onChange, he = y.onClick, Be = Je(y, gs), Le = Ft({
|
|
4470
4470
|
accept: ie,
|
|
4471
4471
|
multiple: s,
|
|
4472
4472
|
type: "file",
|
|
@@ -4536,7 +4536,7 @@ function Ns(e, t) {
|
|
|
4536
4536
|
}
|
|
4537
4537
|
function co() {
|
|
4538
4538
|
}
|
|
4539
|
-
const Es = (e) =>
|
|
4539
|
+
const Es = (e) => zo(e), Ss = (e) => {
|
|
4540
4540
|
switch (e.code) {
|
|
4541
4541
|
case wt.FileInvalidType:
|
|
4542
4542
|
return "Неверный формат файла";
|
|
@@ -4552,58 +4552,73 @@ const Es = (e) => Wo(e), Ss = (e) => {
|
|
|
4552
4552
|
}, Fs = (e, t = {}) => {
|
|
4553
4553
|
const { decimals: o = 1, space: n = !0 } = t;
|
|
4554
4554
|
if (e === 0) return "0" + (n ? " " : "") + "B";
|
|
4555
|
-
const a = 1024, i = ["B", "KB", "MB", "GB", "TB"], r = Math.floor(Math.log(e) / Math.log(a)), s = r === 0 ? 0 : o,
|
|
4556
|
-
return parseFloat((e / Math.pow(a, r)).toFixed(s)) +
|
|
4555
|
+
const a = 1024, i = ["B", "KB", "MB", "GB", "TB"], r = Math.floor(Math.log(e) / Math.log(a)), s = r === 0 ? 0 : o, m = n ? " " : "";
|
|
4556
|
+
return parseFloat((e / Math.pow(a, r)).toFixed(s)) + m + i[r];
|
|
4557
4557
|
}, js = "_ellipsisFileName_qx34h_1", As = "_tooltipContent_qx34h_7", mo = {
|
|
4558
4558
|
ellipsisFileName: js,
|
|
4559
4559
|
tooltipContent: As
|
|
4560
4560
|
}, Is = (e) => {
|
|
4561
|
-
const {
|
|
4562
|
-
|
|
4561
|
+
const {
|
|
4562
|
+
fileName: t,
|
|
4563
|
+
classNameRoot: o,
|
|
4564
|
+
type: n = "p2",
|
|
4565
|
+
classNameEllipsisText: a,
|
|
4566
|
+
classNameEllipsisFileNameRoot: i
|
|
4567
|
+
} = e, r = me(null), s = me(null), [m, l] = te(!1), [_, u] = te(0), g = () => {
|
|
4568
|
+
r.current && l(r.current.scrollWidth > r.current.clientWidth), s.current && u(s.current.offsetWidth);
|
|
4563
4569
|
};
|
|
4564
|
-
Xo(() => (
|
|
4565
|
-
window.removeEventListener("resize",
|
|
4570
|
+
Xo(() => (g(), window.addEventListener("resize", g), () => {
|
|
4571
|
+
window.removeEventListener("resize", g);
|
|
4566
4572
|
}), [t]);
|
|
4567
|
-
const
|
|
4568
|
-
return /* @__PURE__ */ U(
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
|
|
4579
|
-
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
|
|
4573
|
+
const h = Rs(t);
|
|
4574
|
+
return /* @__PURE__ */ U(
|
|
4575
|
+
"div",
|
|
4576
|
+
{
|
|
4577
|
+
className: f(
|
|
4578
|
+
mo.ellipsisFileName,
|
|
4579
|
+
i && i
|
|
4580
|
+
),
|
|
4581
|
+
children: [
|
|
4582
|
+
/* @__PURE__ */ c(
|
|
4583
|
+
et,
|
|
4584
|
+
{
|
|
4585
|
+
position: le.TopLeft,
|
|
4586
|
+
classNameBaseTooltipRoot: mo.tooltipContent,
|
|
4587
|
+
styleTooltip: { maxWidth: m ? `calc(100% - ${_}px)` : "100%" },
|
|
4588
|
+
classNameTooltip: o,
|
|
4589
|
+
isVisibleTooltip: m,
|
|
4590
|
+
text: t,
|
|
4591
|
+
trigger: /* @__PURE__ */ c(Te, { type: n, isEllipsis: !0, ref: r, classNameRoot: a, children: t })
|
|
4592
|
+
}
|
|
4593
|
+
),
|
|
4594
|
+
/* @__PURE__ */ c(
|
|
4595
|
+
"div",
|
|
4596
|
+
{
|
|
4597
|
+
ref: s,
|
|
4598
|
+
style: {
|
|
4599
|
+
position: "absolute",
|
|
4600
|
+
opacity: 0,
|
|
4601
|
+
pointerEvents: "none",
|
|
4602
|
+
whiteSpace: "nowrap"
|
|
4603
|
+
},
|
|
4604
|
+
children: /* @__PURE__ */ c(Te, { type: n, classNameRoot: a, children: h })
|
|
4605
|
+
}
|
|
4606
|
+
),
|
|
4607
|
+
m && /* @__PURE__ */ c(Te, { type: n, classNameRoot: a, children: h })
|
|
4608
|
+
]
|
|
4609
|
+
}
|
|
4610
|
+
);
|
|
4611
|
+
}, Ls = "_spUploadFiles_8f1mv_43", Ds = "_spUploadFiles_error_8f1mv_49", Os = "_spUploadFiles__control_8f1mv_49", Ps = "_spUploadFiles__fileNameContainer_8f1mv_53", Bs = "_spUploadFiles__fileName_dragError_8f1mv_57", Ws = "_spUploadFiles__placeholderContainer_8f1mv_60", zs = "_spUploadFiles__placeholderContainer_withUloadTooltip_8f1mv_70", Ms = "_spUploadFiles__placeholder_8f1mv_60", Us = "_spUploadFiles__control_loading_8f1mv_102", qs = "_shimmer_8f1mv_1", $s = "_spUploadFiles__fileName_8f1mv_53", Hs = "_spUploadFiles_fileUploaded_8f1mv_149", Vs = "_spUploadFiles_disabled_8f1mv_149", Ys = "_spUploadFiles__fileNamesList_8f1mv_160", Gs = "_spUploadFiles__fileNamesList_loading_8f1mv_169", Ks = "_spUploadFiles__fileNamesListItem_8f1mv_185", Xs = "_spUploadFiles__fileNamesListItem__iconContainer_8f1mv_193", Zs = "_spUploadFiles__fileNamesListItem__iconContainer_error_8f1mv_198", Qs = "_spUploadFiles__fileNamesListItem__mainContent_8f1mv_202", Js = "_spUploadFiles__fileNamesListItem__fileNameWrapper_8f1mv_208", ep = "_spUploadFiles__fileNamesListItem__fileName_8f1mv_208", tp = "_spUploadFiles__fileNamesListItem__description_8f1mv_215", op = "_spUploadFiles__fileNamesListItem__description__tooltipContent_8f1mv_220", np = "_spUploadFiles__fileNamesListItem__description_error_8f1mv_223", ap = "_spUploadFiles__fileNamesListItemDelete_8f1mv_226", ip = "_spUploadFiles__fileNamesListItemDelete_error_8f1mv_243", rp = "_spUploadFiles__tooltipWrapper_8f1mv_253", sp = "_spUploadFiles__tooltip_8f1mv_253", pp = "_spUploadFiles__delete_8f1mv_259", lp = "_spUploadFiles__delete_loading_8f1mv_263", cp = "_spUploadFiles__error_8f1mv_272", V = {
|
|
4597
4612
|
spUploadFiles: Ls,
|
|
4598
4613
|
spUploadFiles_error: Ds,
|
|
4599
4614
|
spUploadFiles__control: Os,
|
|
4600
4615
|
spUploadFiles__fileNameContainer: Ps,
|
|
4601
4616
|
spUploadFiles__fileName_dragError: Bs,
|
|
4602
|
-
spUploadFiles__placeholderContainer:
|
|
4603
|
-
"spUploadFiles--variant-input": "_spUploadFiles--variant-
|
|
4604
|
-
spUploadFiles__placeholderContainer_withUloadTooltip:
|
|
4617
|
+
spUploadFiles__placeholderContainer: Ws,
|
|
4618
|
+
"spUploadFiles--variant-input": "_spUploadFiles--variant-input_8f1mv_63",
|
|
4619
|
+
spUploadFiles__placeholderContainer_withUloadTooltip: zs,
|
|
4605
4620
|
spUploadFiles__placeholder: Ms,
|
|
4606
|
-
"spUploadFiles--variant-dropzone": "_spUploadFiles--variant-
|
|
4621
|
+
"spUploadFiles--variant-dropzone": "_spUploadFiles--variant-dropzone_8f1mv_85",
|
|
4607
4622
|
spUploadFiles__control_loading: Us,
|
|
4608
4623
|
shimmer: qs,
|
|
4609
4624
|
spUploadFiles__fileName: $s,
|
|
@@ -4615,18 +4630,19 @@ const Es = (e) => Wo(e), Ss = (e) => {
|
|
|
4615
4630
|
spUploadFiles__fileNamesListItem__iconContainer: Xs,
|
|
4616
4631
|
spUploadFiles__fileNamesListItem__iconContainer_error: Zs,
|
|
4617
4632
|
spUploadFiles__fileNamesListItem__mainContent: Qs,
|
|
4618
|
-
|
|
4619
|
-
|
|
4620
|
-
|
|
4621
|
-
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4633
|
+
spUploadFiles__fileNamesListItem__fileNameWrapper: Js,
|
|
4634
|
+
spUploadFiles__fileNamesListItem__fileName: ep,
|
|
4635
|
+
spUploadFiles__fileNamesListItem__description: tp,
|
|
4636
|
+
spUploadFiles__fileNamesListItem__description__tooltipContent: op,
|
|
4637
|
+
spUploadFiles__fileNamesListItem__description_error: np,
|
|
4638
|
+
spUploadFiles__fileNamesListItemDelete: ap,
|
|
4639
|
+
spUploadFiles__fileNamesListItemDelete_error: ip,
|
|
4640
|
+
spUploadFiles__tooltipWrapper: rp,
|
|
4641
|
+
spUploadFiles__tooltip: sp,
|
|
4642
|
+
spUploadFiles__delete: pp,
|
|
4643
|
+
spUploadFiles__delete_loading: lp,
|
|
4644
|
+
spUploadFiles__error: cp
|
|
4645
|
+
}, Rp = (e) => {
|
|
4630
4646
|
const {
|
|
4631
4647
|
placeholder: t = "Загрузите файл",
|
|
4632
4648
|
variant: o = "input",
|
|
@@ -4635,12 +4651,12 @@ const Es = (e) => Wo(e), Ss = (e) => {
|
|
|
4635
4651
|
accept: i,
|
|
4636
4652
|
disabled: r,
|
|
4637
4653
|
multiple: s,
|
|
4638
|
-
files:
|
|
4654
|
+
files: m = [],
|
|
4639
4655
|
infoTooltipText: l,
|
|
4640
4656
|
tooltipPosition: _ = le.TopRight,
|
|
4641
|
-
classNameRoot:
|
|
4657
|
+
classNameRoot: u,
|
|
4642
4658
|
loading: g,
|
|
4643
|
-
error:
|
|
4659
|
+
error: h
|
|
4644
4660
|
} = e, [w, C] = te([]), S = ve(
|
|
4645
4661
|
(v, R) => {
|
|
4646
4662
|
const I = R.map(({ file: D, errors: F }) => ({
|
|
@@ -4651,58 +4667,58 @@ const Es = (e) => Wo(e), Ss = (e) => {
|
|
|
4651
4667
|
a(v, n);
|
|
4652
4668
|
return;
|
|
4653
4669
|
}
|
|
4654
|
-
const N = [...
|
|
4670
|
+
const N = [...m, ...v];
|
|
4655
4671
|
a(N, n);
|
|
4656
4672
|
},
|
|
4657
|
-
[w,
|
|
4673
|
+
[w, m, s, n, a]
|
|
4658
4674
|
), { getRootProps: P, getInputProps: q, isDragReject: A } = Es({
|
|
4659
4675
|
accept: i,
|
|
4660
4676
|
onDrop: S,
|
|
4661
4677
|
multiple: s,
|
|
4662
4678
|
disabled: r
|
|
4663
|
-
}), [
|
|
4679
|
+
}), [b, d] = te(A);
|
|
4664
4680
|
ne(() => {
|
|
4665
4681
|
d(A);
|
|
4666
4682
|
}, [A]);
|
|
4667
|
-
const j = [...
|
|
4668
|
-
[
|
|
4669
|
-
[
|
|
4670
|
-
[
|
|
4671
|
-
[
|
|
4672
|
-
[
|
|
4673
|
-
...
|
|
4683
|
+
const j = [...m.map((v) => ({ file: v, errors: null })), ...w], B = (j == null ? void 0 : j.length) > 0 || (w == null ? void 0 : w.length) > 0, O = o === "input", Q = f({
|
|
4684
|
+
[V.spUploadFiles]: !0,
|
|
4685
|
+
[V[`spUploadFiles--variant-${o}`]]: o,
|
|
4686
|
+
[V.spUploadFiles_error]: b && !s && h && h.length > 0,
|
|
4687
|
+
[V.spUploadFiles_disabled]: r,
|
|
4688
|
+
[V.spUploadFiles_fileUploaded]: B,
|
|
4689
|
+
...u && { [u]: !0 }
|
|
4674
4690
|
}), ie = f({
|
|
4675
|
-
[
|
|
4676
|
-
[
|
|
4691
|
+
[V.spUploadFiles__control]: !0,
|
|
4692
|
+
[V.spUploadFiles__control_loading]: g
|
|
4677
4693
|
}), re = f({
|
|
4678
|
-
[
|
|
4679
|
-
[
|
|
4694
|
+
[V.spUploadFiles__fileNamesList]: !0,
|
|
4695
|
+
[V.spUploadFiles__fileNamesList_loading]: g
|
|
4680
4696
|
}), ue = f({
|
|
4681
|
-
[
|
|
4682
|
-
[
|
|
4697
|
+
[V.spUploadFiles__delete]: !0,
|
|
4698
|
+
[V.spUploadFiles__delete_loading]: g
|
|
4683
4699
|
}), ce = (v, R) => {
|
|
4684
4700
|
if (g)
|
|
4685
4701
|
return;
|
|
4686
4702
|
if (R) {
|
|
4687
|
-
const D = [...w], F = D.findIndex((
|
|
4703
|
+
const D = [...w], F = D.findIndex((W) => W.file.name === v);
|
|
4688
4704
|
D.splice(F, 1), C(D);
|
|
4689
4705
|
return;
|
|
4690
4706
|
}
|
|
4691
|
-
const I = [...
|
|
4707
|
+
const I = [...m], N = I.findIndex((D) => D.name === v);
|
|
4692
4708
|
I.splice(N, 1), a(I, n);
|
|
4693
4709
|
}, X = (v) => {
|
|
4694
4710
|
v.stopPropagation(), a([], n), C([]), d(!1);
|
|
4695
4711
|
}, Z = (v) => Object.values(v).flatMap((R) => R.map((I) => I.toUpperCase())).join(", "), ee = () => {
|
|
4696
|
-
if (
|
|
4712
|
+
if (b) {
|
|
4697
4713
|
const v = Z(i);
|
|
4698
4714
|
return /* @__PURE__ */ c(
|
|
4699
4715
|
Ye,
|
|
4700
4716
|
{
|
|
4701
4717
|
text: `Неверный формат файла. Загрузите файл в формате ${v}`,
|
|
4702
|
-
classNameTooltipRoot: f(
|
|
4718
|
+
classNameTooltipRoot: f(V.spUploadFiles__fileNameContainer),
|
|
4703
4719
|
classNameRoot: f(
|
|
4704
|
-
|
|
4705
|
-
|
|
4720
|
+
V.spUploadFiles__fileName,
|
|
4721
|
+
b && V.spUploadFiles__fileName_dragError
|
|
4706
4722
|
)
|
|
4707
4723
|
}
|
|
4708
4724
|
);
|
|
@@ -4711,8 +4727,8 @@ const Es = (e) => Wo(e), Ss = (e) => {
|
|
|
4711
4727
|
Ye,
|
|
4712
4728
|
{
|
|
4713
4729
|
text: j[0].file.name,
|
|
4714
|
-
classNameTooltipRoot: f(
|
|
4715
|
-
classNameRoot: f(
|
|
4730
|
+
classNameTooltipRoot: f(V.spUploadFiles__fileNameContainer),
|
|
4731
|
+
classNameRoot: f(V.spUploadFiles__fileName)
|
|
4716
4732
|
}
|
|
4717
4733
|
);
|
|
4718
4734
|
}, T = () => /* @__PURE__ */ c("ul", { className: re, children: j.map(({ file: v, errors: R }, I) => {
|
|
@@ -4721,8 +4737,8 @@ const Es = (e) => Wo(e), Ss = (e) => {
|
|
|
4721
4737
|
"li",
|
|
4722
4738
|
{
|
|
4723
4739
|
className: f(
|
|
4724
|
-
|
|
4725
|
-
N &&
|
|
4740
|
+
V.spUploadFiles__fileNamesListItem,
|
|
4741
|
+
N && V.spUploadFiles__fileNamesListItem_error
|
|
4726
4742
|
),
|
|
4727
4743
|
onClick: (F) => {
|
|
4728
4744
|
F.stopPropagation();
|
|
@@ -4732,28 +4748,29 @@ const Es = (e) => Wo(e), Ss = (e) => {
|
|
|
4732
4748
|
"div",
|
|
4733
4749
|
{
|
|
4734
4750
|
className: f(
|
|
4735
|
-
|
|
4736
|
-
N &&
|
|
4751
|
+
V.spUploadFiles__fileNamesListItem__iconContainer,
|
|
4752
|
+
N && V.spUploadFiles__fileNamesListItem__iconContainer_error
|
|
4737
4753
|
),
|
|
4738
4754
|
children: /* @__PURE__ */ c(ge, { name: N ? pe.InfoError : pe.File })
|
|
4739
4755
|
}
|
|
4740
4756
|
),
|
|
4741
|
-
/* @__PURE__ */ U("div", { className:
|
|
4757
|
+
/* @__PURE__ */ U("div", { className: V.spUploadFiles__fileNamesListItem__mainContent, children: [
|
|
4742
4758
|
/* @__PURE__ */ c(
|
|
4743
4759
|
Is,
|
|
4744
4760
|
{
|
|
4745
4761
|
fileName: v.name,
|
|
4746
|
-
|
|
4762
|
+
classNameEllipsisFileNameRoot: V.spUploadFiles__fileNamesListItem__fileNameWrapper,
|
|
4763
|
+
classNameEllipsisText: V.spUploadFiles__fileNamesListItem__fileName
|
|
4747
4764
|
}
|
|
4748
4765
|
),
|
|
4749
4766
|
/* @__PURE__ */ c(
|
|
4750
4767
|
Ye,
|
|
4751
4768
|
{
|
|
4752
4769
|
text: N ? D() : Fs(v.size),
|
|
4753
|
-
classNameBaseTooltipRoot:
|
|
4770
|
+
classNameBaseTooltipRoot: V.spUploadFiles__fileNamesListItem__description__tooltipContent,
|
|
4754
4771
|
classNameRoot: f(
|
|
4755
|
-
|
|
4756
|
-
N &&
|
|
4772
|
+
V.spUploadFiles__fileNamesListItem__description,
|
|
4773
|
+
N && V.spUploadFiles__fileNamesListItem__description_error
|
|
4757
4774
|
)
|
|
4758
4775
|
}
|
|
4759
4776
|
)
|
|
@@ -4761,7 +4778,7 @@ const Es = (e) => Wo(e), Ss = (e) => {
|
|
|
4761
4778
|
/* @__PURE__ */ c(
|
|
4762
4779
|
"div",
|
|
4763
4780
|
{
|
|
4764
|
-
className: f(
|
|
4781
|
+
className: f(V.spUploadFiles__fileNamesListItemDelete),
|
|
4765
4782
|
onClick: (F) => {
|
|
4766
4783
|
F.stopPropagation(), ce(v.name, N);
|
|
4767
4784
|
},
|
|
@@ -4772,25 +4789,25 @@ const Es = (e) => Wo(e), Ss = (e) => {
|
|
|
4772
4789
|
},
|
|
4773
4790
|
I
|
|
4774
4791
|
);
|
|
4775
|
-
}) }), H = () => s ? T() : ee(),
|
|
4792
|
+
}) }), H = () => s ? T() : ee(), z = () => /* @__PURE__ */ c(
|
|
4776
4793
|
Ye,
|
|
4777
4794
|
{
|
|
4778
|
-
classNameRoot:
|
|
4795
|
+
classNameRoot: V.spUploadFiles__placeholder,
|
|
4779
4796
|
classNameTooltipRoot: f(
|
|
4780
|
-
|
|
4781
|
-
!!l &&
|
|
4797
|
+
V.spUploadFiles__placeholderContainer,
|
|
4798
|
+
!!l && V.spUploadFiles__placeholderContainer_withUloadTooltip
|
|
4782
4799
|
),
|
|
4783
4800
|
text: t
|
|
4784
4801
|
}
|
|
4785
4802
|
), p = () => /* @__PURE__ */ U(uo, { children: [
|
|
4786
|
-
B ? H() :
|
|
4803
|
+
B ? H() : z(),
|
|
4787
4804
|
B && O ? /* @__PURE__ */ c("div", { className: ue, onClick: X, children: /* @__PURE__ */ c(ge, { name: pe.Close }) }) : O && l && /* @__PURE__ */ c(
|
|
4788
4805
|
tt,
|
|
4789
4806
|
{
|
|
4790
|
-
classNameTooltip:
|
|
4807
|
+
classNameTooltip: V.spUploadFiles__tooltipWrapper,
|
|
4791
4808
|
position: _,
|
|
4792
4809
|
text: l,
|
|
4793
|
-
classNameTriggerTooltip:
|
|
4810
|
+
classNameTriggerTooltip: V.spUploadFiles__tooltip
|
|
4794
4811
|
}
|
|
4795
4812
|
)
|
|
4796
4813
|
] });
|
|
@@ -4806,44 +4823,44 @@ const Es = (e) => Wo(e), Ss = (e) => {
|
|
|
4806
4823
|
O && (g ? /* @__PURE__ */ c(vo, {}) : /* @__PURE__ */ c(ge, { name: B ? pe.Check : pe.Upload })),
|
|
4807
4824
|
p()
|
|
4808
4825
|
] }),
|
|
4809
|
-
|
|
4826
|
+
h && /* @__PURE__ */ c("div", { className: V.spUploadFiles__error, children: h })
|
|
4810
4827
|
] })
|
|
4811
4828
|
}
|
|
4812
4829
|
);
|
|
4813
4830
|
};
|
|
4814
4831
|
export {
|
|
4815
|
-
|
|
4832
|
+
_p as Accordion,
|
|
4816
4833
|
Xn as ApplyButtons,
|
|
4817
4834
|
go as BaseTooltip,
|
|
4818
4835
|
kt as Button,
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4836
|
+
fp as Checkbox,
|
|
4837
|
+
gp as Confirm,
|
|
4838
|
+
xp as ContextMenu,
|
|
4822
4839
|
Fa as DefaultDropzone,
|
|
4823
|
-
|
|
4840
|
+
hp as Dropdown,
|
|
4824
4841
|
pe as EIconName,
|
|
4825
4842
|
le as ETooltipPosition,
|
|
4826
4843
|
Ye as EllipsisTextWithTooltip,
|
|
4827
|
-
|
|
4844
|
+
bp as Form,
|
|
4828
4845
|
ge as Icon,
|
|
4829
4846
|
tt as InfoTooltip,
|
|
4830
4847
|
ai as Input,
|
|
4831
4848
|
At as Label,
|
|
4832
4849
|
_a as Layer,
|
|
4833
4850
|
ii as MediaContext,
|
|
4834
|
-
|
|
4851
|
+
wp as MediaContextProvider,
|
|
4835
4852
|
Na as Modal,
|
|
4836
4853
|
ho as Portal,
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4854
|
+
Cp as ProgressWrapper,
|
|
4855
|
+
kp as Select,
|
|
4856
|
+
Tp as Skeleton,
|
|
4840
4857
|
vo as Spinner,
|
|
4841
|
-
|
|
4842
|
-
|
|
4858
|
+
Np as Table,
|
|
4859
|
+
Ep as Tabs,
|
|
4843
4860
|
Te as Text,
|
|
4844
|
-
|
|
4861
|
+
Sp as TextWithLabel,
|
|
4845
4862
|
et as Tooltip,
|
|
4846
|
-
|
|
4863
|
+
Rp as UploadFiles,
|
|
4847
4864
|
Yi as useAnimatedValue,
|
|
4848
|
-
|
|
4865
|
+
vp as useModal
|
|
4849
4866
|
};
|