test-stpr-ui-kit 0.4.51 → 0.4.52
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 +97 -95
- package/dist/test-stpr-ui-kit.umd.cjs +10 -10
- package/package.json +1 -1
package/dist/test-stpr-ui-kit.js
CHANGED
|
@@ -62,7 +62,7 @@ const sn = "_spAccordion_11ek7_43", pn = "_spAccordion_noBorder_11ek7_57", ln =
|
|
|
62
62
|
spAccordion__childrenWrapper_open: hn,
|
|
63
63
|
spAccordion__content: bn,
|
|
64
64
|
spAccordion__content_open: yn
|
|
65
|
-
},
|
|
65
|
+
}, Hs = (e) => {
|
|
66
66
|
const {
|
|
67
67
|
name: t,
|
|
68
68
|
children: o,
|
|
@@ -339,7 +339,7 @@ const Rt = (e) => {
|
|
|
339
339
|
visibility: "hidden",
|
|
340
340
|
opacity: 0,
|
|
341
341
|
left: "-9999px"
|
|
342
|
-
}), [L, Q] = le(!1),
|
|
342
|
+
}), [L, Q] = le(!1), oe = fe(() => {
|
|
343
343
|
if (!A.current || !M.current) return;
|
|
344
344
|
const C = A.current.getBoundingClientRect(), q = M.current.getBoundingClientRect();
|
|
345
345
|
let X = 0, B = 0;
|
|
@@ -392,14 +392,14 @@ const Rt = (e) => {
|
|
|
392
392
|
}));
|
|
393
393
|
}, [p, y, L]);
|
|
394
394
|
re(() => (w(!0), () => w(!1)), []), re(() => {
|
|
395
|
-
j &&
|
|
396
|
-
}, [j,
|
|
395
|
+
j && oe();
|
|
396
|
+
}, [j, oe]), re(() => {
|
|
397
397
|
if (!j) return;
|
|
398
|
-
const C = () =>
|
|
398
|
+
const C = () => oe();
|
|
399
399
|
return window.addEventListener("resize", C), window.addEventListener("scroll", C, !0), () => {
|
|
400
400
|
window.removeEventListener("resize", C), window.removeEventListener("scroll", C, !0);
|
|
401
401
|
};
|
|
402
|
-
}, [j,
|
|
402
|
+
}, [j, oe]);
|
|
403
403
|
const ee = f({
|
|
404
404
|
[Lt.spTooltip]: !0,
|
|
405
405
|
...v && { [v]: !0 }
|
|
@@ -447,7 +447,7 @@ const Rt = (e) => {
|
|
|
447
447
|
spCheckbox__tooltip: Jn,
|
|
448
448
|
spCheckbox__required: ea,
|
|
449
449
|
spCheckbox__error: ta
|
|
450
|
-
},
|
|
450
|
+
}, Vs = (e) => {
|
|
451
451
|
const {
|
|
452
452
|
size: t = "lg",
|
|
453
453
|
checked: o,
|
|
@@ -503,7 +503,7 @@ const Rt = (e) => {
|
|
|
503
503
|
] }),
|
|
504
504
|
s && /* @__PURE__ */ m("div", { className: w, children: s })
|
|
505
505
|
] });
|
|
506
|
-
},
|
|
506
|
+
}, Ys = (e = {}) => {
|
|
507
507
|
const { initialValue: t = null } = e, [o, n] = le(t);
|
|
508
508
|
return {
|
|
509
509
|
isOpen: !!o,
|
|
@@ -657,7 +657,7 @@ const pa = "_modalWrapper_1qgyc_43", la = "_modalWrapper__modal_1qgyc_63", ca =
|
|
|
657
657
|
}
|
|
658
658
|
)
|
|
659
659
|
] }) }) });
|
|
660
|
-
},
|
|
660
|
+
}, Gs = (e) => {
|
|
661
661
|
const {
|
|
662
662
|
zIndex: t,
|
|
663
663
|
title: o,
|
|
@@ -713,7 +713,7 @@ const pa = "_modalWrapper_1qgyc_43", la = "_modalWrapper__modal_1qgyc_63", ca =
|
|
|
713
713
|
spContextMenu: ga,
|
|
714
714
|
spContextMenu__item: xa,
|
|
715
715
|
spContextMenu__item_deleteItem: ha
|
|
716
|
-
},
|
|
716
|
+
}, Ks = (e) => {
|
|
717
717
|
const { onClickItem: t, options: o, classNameRoot: n } = e, a = f({
|
|
718
718
|
[dt.spContextMenu]: !0,
|
|
719
719
|
...n && { [n]: !0 }
|
|
@@ -866,7 +866,7 @@ function ya() {
|
|
|
866
866
|
}
|
|
867
867
|
}
|
|
868
868
|
}
|
|
869
|
-
var c = u, S = p, P = s, L = r, Q = t,
|
|
869
|
+
var c = u, S = p, P = s, L = r, Q = t, oe = d, ee = n, ae = k, se = b, K = o, Z = i, C = a, q = l, X = !1;
|
|
870
870
|
function B(g) {
|
|
871
871
|
return X || (X = !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.")), _(g) || w(g) === u;
|
|
872
872
|
}
|
|
@@ -906,7 +906,7 @@ function ya() {
|
|
|
906
906
|
function ie(g) {
|
|
907
907
|
return w(g) === l;
|
|
908
908
|
}
|
|
909
|
-
G.AsyncMode = c, G.ConcurrentMode = S, G.ContextConsumer = P, G.ContextProvider = L, G.Element = Q, G.ForwardRef =
|
|
909
|
+
G.AsyncMode = c, G.ConcurrentMode = S, G.ContextConsumer = P, G.ContextProvider = L, G.Element = Q, G.ForwardRef = oe, G.Fragment = ee, G.Lazy = ae, G.Memo = se, G.Portal = K, G.Profiler = Z, G.StrictMode = C, G.Suspense = q, G.isAsyncMode = B, G.isConcurrentMode = _, G.isContextConsumer = h, G.isContextProvider = F, G.isElement = O, G.isForwardRef = D, G.isFragment = $, G.isLazy = I, G.isMemo = z, G.isPortal = U, G.isProfiler = V, G.isStrictMode = W, G.isSuspense = ie, G.isValidElementType = j, G.typeOf = w;
|
|
910
910
|
}()), G;
|
|
911
911
|
}
|
|
912
912
|
var Pt;
|
|
@@ -1062,7 +1062,7 @@ function Ca() {
|
|
|
1062
1062
|
element: w(),
|
|
1063
1063
|
elementType: c(),
|
|
1064
1064
|
instanceOf: S,
|
|
1065
|
-
node:
|
|
1065
|
+
node: oe(),
|
|
1066
1066
|
objectOf: L,
|
|
1067
1067
|
oneOf: P,
|
|
1068
1068
|
oneOfType: Q,
|
|
@@ -1222,7 +1222,7 @@ function Ca() {
|
|
|
1222
1222
|
}
|
|
1223
1223
|
return T(O);
|
|
1224
1224
|
}
|
|
1225
|
-
function
|
|
1225
|
+
function oe() {
|
|
1226
1226
|
function _(h, F, O, D, $) {
|
|
1227
1227
|
return K(h[F]) ? null : new y("Invalid " + D + " `" + $ + "` supplied to " + ("`" + O + "`, expected a ReactNode."));
|
|
1228
1228
|
}
|
|
@@ -3294,7 +3294,7 @@ var St = {
|
|
|
3294
3294
|
fileRejections: []
|
|
3295
3295
|
};
|
|
3296
3296
|
function yi() {
|
|
3297
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = J(J({}, Ro), e), o = t.accept, n = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, u = t.maxFiles, p = t.onDragEnter, d = t.onDragLeave, l = t.onDragOver, v = t.onDrop, b = t.onDropAccepted, k = t.onDropRejected, y = t.onFileDialogCancel, T = t.onFileDialogOpen, A = t.useFsAccessApi, M = t.autoFocus, j = t.preventDropOnDocument, w = t.noClick, c = t.noKeyboard, S = t.noDrag, P = t.noDragEventsBubbling, L = t.onError, Q = t.validator,
|
|
3297
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = J(J({}, Ro), e), o = t.accept, n = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, u = t.maxFiles, p = t.onDragEnter, d = t.onDragLeave, l = t.onDragOver, v = t.onDrop, b = t.onDropAccepted, k = t.onDropRejected, y = t.onFileDialogCancel, T = t.onFileDialogOpen, A = t.useFsAccessApi, M = t.autoFocus, j = t.preventDropOnDocument, w = t.noClick, c = t.noKeyboard, S = t.noDrag, P = t.noDragEventsBubbling, L = t.onError, Q = t.validator, oe = Fe(function() {
|
|
3298
3298
|
return ri(o);
|
|
3299
3299
|
}, [o]), ee = Fe(function() {
|
|
3300
3300
|
return ii(o);
|
|
@@ -3333,15 +3333,15 @@ function yi() {
|
|
|
3333
3333
|
}, [L]), z = fe(function(x) {
|
|
3334
3334
|
x.preventDefault(), x.persist(), Ue(x), D.current = [].concat(mi(D.current), [x.target]), Ge(x) && Promise.resolve(a(x)).then(function(R) {
|
|
3335
3335
|
if (!(Ze(x) && !P)) {
|
|
3336
|
-
var
|
|
3336
|
+
var ne = R.length, pe = ne > 0 && ei({
|
|
3337
3337
|
files: R,
|
|
3338
|
-
accept:
|
|
3338
|
+
accept: oe,
|
|
3339
3339
|
minSize: r,
|
|
3340
3340
|
maxSize: i,
|
|
3341
3341
|
multiple: s,
|
|
3342
3342
|
maxFiles: u,
|
|
3343
3343
|
validator: Q
|
|
3344
|
-
}), xe =
|
|
3344
|
+
}), xe = ne > 0 && !pe;
|
|
3345
3345
|
B({
|
|
3346
3346
|
isDragAccept: pe,
|
|
3347
3347
|
isDragReject: xe,
|
|
@@ -3352,7 +3352,7 @@ function yi() {
|
|
|
3352
3352
|
}).catch(function(R) {
|
|
3353
3353
|
return I(R);
|
|
3354
3354
|
});
|
|
3355
|
-
}, [a, p, I, P,
|
|
3355
|
+
}, [a, p, I, P, oe, r, i, s, u, Q]), U = fe(function(x) {
|
|
3356
3356
|
x.preventDefault(), x.persist(), Ue(x);
|
|
3357
3357
|
var R = Ge(x);
|
|
3358
3358
|
if (R && x.dataTransfer)
|
|
@@ -3365,19 +3365,19 @@ function yi() {
|
|
|
3365
3365
|
x.preventDefault(), x.persist(), Ue(x);
|
|
3366
3366
|
var R = D.current.filter(function(pe) {
|
|
3367
3367
|
return K.current && K.current.contains(pe);
|
|
3368
|
-
}),
|
|
3369
|
-
|
|
3368
|
+
}), ne = R.indexOf(x.target);
|
|
3369
|
+
ne !== -1 && R.splice(ne, 1), D.current = R, !(R.length > 0) && (B({
|
|
3370
3370
|
type: "setDraggedFiles",
|
|
3371
3371
|
isDragActive: !1,
|
|
3372
3372
|
isDragAccept: !1,
|
|
3373
3373
|
isDragReject: !1
|
|
3374
3374
|
}), Ge(x) && d && d(x));
|
|
3375
3375
|
}, [K, d, P]), W = fe(function(x, R) {
|
|
3376
|
-
var
|
|
3376
|
+
var ne = [], pe = [];
|
|
3377
3377
|
x.forEach(function(xe) {
|
|
3378
|
-
var Pe = Co(xe,
|
|
3378
|
+
var Pe = Co(xe, oe), Le = ht(Pe, 2), ot = Le[0], nt = Le[1], at = To(xe, r, i), He = ht(at, 2), it = He[0], rt = He[1], st = Q ? Q(xe) : null;
|
|
3379
3379
|
if (ot && it && !st)
|
|
3380
|
-
|
|
3380
|
+
ne.push(xe);
|
|
3381
3381
|
else {
|
|
3382
3382
|
var pt = [nt, rt];
|
|
3383
3383
|
st && (pt = pt.concat(st)), pe.push({
|
|
@@ -3387,18 +3387,18 @@ function yi() {
|
|
|
3387
3387
|
})
|
|
3388
3388
|
});
|
|
3389
3389
|
}
|
|
3390
|
-
}), (!s &&
|
|
3390
|
+
}), (!s && ne.length > 1 || s && u >= 1 && ne.length > u) && (ne.forEach(function(xe) {
|
|
3391
3391
|
pe.push({
|
|
3392
3392
|
file: xe,
|
|
3393
3393
|
errors: [Ja]
|
|
3394
3394
|
});
|
|
3395
|
-
}),
|
|
3396
|
-
acceptedFiles:
|
|
3395
|
+
}), ne.splice(0)), B({
|
|
3396
|
+
acceptedFiles: ne,
|
|
3397
3397
|
fileRejections: pe,
|
|
3398
3398
|
isDragReject: pe.length > 0,
|
|
3399
3399
|
type: "setFiles"
|
|
3400
|
-
}), v && v(
|
|
3401
|
-
}, [B, s,
|
|
3400
|
+
}), v && v(ne, pe, R), pe.length > 0 && k && k(pe, R), ne.length > 0 && b && b(ne, R);
|
|
3401
|
+
}, [B, s, oe, r, i, u, v, b, k, Q]), ie = fe(function(x) {
|
|
3402
3402
|
x.preventDefault(), x.persist(), Ue(x), D.current = [], Ge(x) && Promise.resolve(a(x)).then(function(R) {
|
|
3403
3403
|
Ze(x) && !P || W(R, x);
|
|
3404
3404
|
}).catch(function(R) {
|
|
@@ -3453,7 +3453,7 @@ function yi() {
|
|
|
3453
3453
|
P && R.stopPropagation();
|
|
3454
3454
|
}, Lo = Fe(function() {
|
|
3455
3455
|
return function() {
|
|
3456
|
-
var x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, R = x.refKey,
|
|
3456
|
+
var x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, R = x.refKey, ne = R === void 0 ? "ref" : R, pe = x.role, xe = x.onKeyDown, Pe = x.onFocus, Le = x.onBlur, ot = x.onClick, nt = x.onDragEnter, at = x.onDragOver, He = x.onDragLeave, it = x.onDrop, rt = Qe(x, di);
|
|
3457
3457
|
return J(J(Et({
|
|
3458
3458
|
onKeyDown: tt(Ce(xe, ge)),
|
|
3459
3459
|
onFocus: tt(Ce(Pe, Se)),
|
|
@@ -3464,7 +3464,7 @@ function yi() {
|
|
|
3464
3464
|
onDragLeave: $e(Ce(He, V)),
|
|
3465
3465
|
onDrop: $e(Ce(it, ie)),
|
|
3466
3466
|
role: typeof pe == "string" && pe !== "" ? pe : "presentation"
|
|
3467
|
-
},
|
|
3467
|
+
}, ne, K), !n && !c ? {
|
|
3468
3468
|
tabIndex: 0
|
|
3469
3469
|
} : {}), rt);
|
|
3470
3470
|
};
|
|
@@ -3472,8 +3472,8 @@ function yi() {
|
|
|
3472
3472
|
x.stopPropagation();
|
|
3473
3473
|
}, []), Oo = Fe(function() {
|
|
3474
3474
|
return function() {
|
|
3475
|
-
var x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, R = x.refKey,
|
|
3476
|
-
accept:
|
|
3475
|
+
var x = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, R = x.refKey, ne = R === void 0 ? "ref" : R, pe = x.onChange, xe = x.onClick, Pe = Qe(x, ui), Le = Et({
|
|
3476
|
+
accept: oe,
|
|
3477
3477
|
multiple: s,
|
|
3478
3478
|
type: "file",
|
|
3479
3479
|
style: {
|
|
@@ -3491,7 +3491,7 @@ function yi() {
|
|
|
3491
3491
|
onChange: Ie(Ce(pe, ie)),
|
|
3492
3492
|
onClick: Ie(Ce(xe, Fo)),
|
|
3493
3493
|
tabIndex: -1
|
|
3494
|
-
},
|
|
3494
|
+
}, ne, Z);
|
|
3495
3495
|
return J(J({}, Le), Pe);
|
|
3496
3496
|
};
|
|
3497
3497
|
}, [Z, o, s, ie, n]);
|
|
@@ -3581,7 +3581,7 @@ const ki = (e) => {
|
|
|
3581
3581
|
spDropdown__dopdownListItem: Ri,
|
|
3582
3582
|
spDropdown__dopdownListItem_textCenter: Ai,
|
|
3583
3583
|
spDropdown__downloadListItemDescription: ji
|
|
3584
|
-
},
|
|
3584
|
+
}, Xs = (e) => {
|
|
3585
3585
|
const {
|
|
3586
3586
|
labelText: t = "Выпадающий список",
|
|
3587
3587
|
listName: o,
|
|
@@ -3679,7 +3679,7 @@ const ki = (e) => {
|
|
|
3679
3679
|
spForm_withSeparator: zi,
|
|
3680
3680
|
"spForm_addMargin--size-lg": "_spForm_addMargin--size-lg_zefbj_67",
|
|
3681
3681
|
"spForm_addMargin--size-md": "_spForm_addMargin--size-md_zefbj_75"
|
|
3682
|
-
},
|
|
3682
|
+
}, Zs = (e) => {
|
|
3683
3683
|
const {
|
|
3684
3684
|
size: t = "lg",
|
|
3685
3685
|
children: o,
|
|
@@ -3781,7 +3781,7 @@ const ki = (e) => {
|
|
|
3781
3781
|
[Te.spInput__control_clearable]: d
|
|
3782
3782
|
}), Q = f({
|
|
3783
3783
|
[Te.spInput__clear]: !0
|
|
3784
|
-
}),
|
|
3784
|
+
}), oe = f({
|
|
3785
3785
|
[Te.spInput__error]: !0,
|
|
3786
3786
|
...M && { [M]: !0 }
|
|
3787
3787
|
}), ee = f({
|
|
@@ -3821,7 +3821,7 @@ const ki = (e) => {
|
|
|
3821
3821
|
),
|
|
3822
3822
|
d && o && !r && /* @__PURE__ */ m(be, { onClick: ae, className: Q, name: ue.Trash })
|
|
3823
3823
|
] }),
|
|
3824
|
-
s && /* @__PURE__ */ m("div", { className:
|
|
3824
|
+
s && /* @__PURE__ */ m("div", { className: oe, children: s })
|
|
3825
3825
|
] });
|
|
3826
3826
|
});
|
|
3827
3827
|
Qi.displayName = "Input";
|
|
@@ -4006,7 +4006,7 @@ const me = N.oneOfType([N.string, N.number]), Do = {
|
|
|
4006
4006
|
monochrome: N.bool,
|
|
4007
4007
|
resolution: me,
|
|
4008
4008
|
type: Object.keys(Do)
|
|
4009
|
-
}, { type:
|
|
4009
|
+
}, { type: Qs, ...vr } = fr, gr = {
|
|
4010
4010
|
minAspectRatio: N.string,
|
|
4011
4011
|
maxAspectRatio: N.string,
|
|
4012
4012
|
minDeviceAspectRatio: N.string,
|
|
@@ -4096,7 +4096,7 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4096
4096
|
isMobile: r
|
|
4097
4097
|
}
|
|
4098
4098
|
};
|
|
4099
|
-
},
|
|
4099
|
+
}, Js = (e) => {
|
|
4100
4100
|
const { breakpoints: t, children: o } = e, { device: n } = Ar(t);
|
|
4101
4101
|
return /* @__PURE__ */ m(
|
|
4102
4102
|
Ji.Provider,
|
|
@@ -4142,7 +4142,7 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4142
4142
|
"progressWrapper__childrenWrapper--animated-backgroundProgress": "_progressWrapper__childrenWrapper--animated-backgroundProgress_xn9s0_61",
|
|
4143
4143
|
progressWrapper__progressBadge: Pr,
|
|
4144
4144
|
progressWrapper__progressBadge_loading: Br
|
|
4145
|
-
},
|
|
4145
|
+
}, ep = (e) => {
|
|
4146
4146
|
const {
|
|
4147
4147
|
value: t,
|
|
4148
4148
|
classNameRoot: o,
|
|
@@ -4199,7 +4199,7 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4199
4199
|
spSelect__list_scrollable: Qr,
|
|
4200
4200
|
spSelect__option: Jr,
|
|
4201
4201
|
spSelect__error: es
|
|
4202
|
-
},
|
|
4202
|
+
}, tp = (e) => {
|
|
4203
4203
|
const {
|
|
4204
4204
|
options: t,
|
|
4205
4205
|
placeholder: o = "Выберите из списка...",
|
|
@@ -4231,7 +4231,7 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4231
4231
|
);
|
|
4232
4232
|
const L = t.find((_) => _.value === n), Q = (_, h) => {
|
|
4233
4233
|
r(_, { value: h, name: a }), S(!1);
|
|
4234
|
-
},
|
|
4234
|
+
}, oe = () => {
|
|
4235
4235
|
v || S(!c);
|
|
4236
4236
|
}, ee = f({
|
|
4237
4237
|
[he.spSelect]: !0,
|
|
@@ -4276,7 +4276,7 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4276
4276
|
tabIndex: v ? -1 : 0,
|
|
4277
4277
|
title: y ? n : void 0,
|
|
4278
4278
|
className: se,
|
|
4279
|
-
onClick:
|
|
4279
|
+
onClick: oe,
|
|
4280
4280
|
children: [
|
|
4281
4281
|
/* @__PURE__ */ m("div", { className: K, children: (L == null ? void 0 : L.label) || o }),
|
|
4282
4282
|
/* @__PURE__ */ m(
|
|
@@ -4319,7 +4319,7 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4319
4319
|
] });
|
|
4320
4320
|
}, ts = "_skeleton_1u7gu_43", os = {
|
|
4321
4321
|
skeleton: ts
|
|
4322
|
-
},
|
|
4322
|
+
}, op = (e) => {
|
|
4323
4323
|
const { width: t = "100%", height: o = "1rem", circle: n = !1, classNameRoot: a = "", style: i = {} } = e, r = {
|
|
4324
4324
|
width: t,
|
|
4325
4325
|
height: o,
|
|
@@ -4340,7 +4340,7 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4340
4340
|
spStringsGroup__groupItemContent: us,
|
|
4341
4341
|
spStringsGroup__groupItemContentCopyIcon: ms,
|
|
4342
4342
|
spStringsGroup__groupItemContentCopyIcon_copied: _s
|
|
4343
|
-
},
|
|
4343
|
+
}, np = (e) => {
|
|
4344
4344
|
const {
|
|
4345
4345
|
columns: t,
|
|
4346
4346
|
data: o,
|
|
@@ -4497,7 +4497,7 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4497
4497
|
spTabs__tabElement_active: xs,
|
|
4498
4498
|
spTabs__triggerTooltip: hs,
|
|
4499
4499
|
"spTabs--variant-filled": "_spTabs--variant-filled_1citb_93"
|
|
4500
|
-
},
|
|
4500
|
+
}, ap = (e) => {
|
|
4501
4501
|
const {
|
|
4502
4502
|
panes: t,
|
|
4503
4503
|
isSeparated: o = !1,
|
|
@@ -4548,19 +4548,19 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4548
4548
|
}) });
|
|
4549
4549
|
}, bs = "_spTextWithLabel_1dr7p_1", ys = {
|
|
4550
4550
|
spTextWithLabel: bs
|
|
4551
|
-
},
|
|
4551
|
+
}, ip = (e) => {
|
|
4552
4552
|
const { children: t, label: o, style: n, ...a } = e;
|
|
4553
4553
|
return /* @__PURE__ */ H("div", { className: ys.spTextWithLabel, style: { ...n }, children: [
|
|
4554
4554
|
/* @__PURE__ */ m(jt, { label: o }),
|
|
4555
4555
|
/* @__PURE__ */ m(Ne, { ...a, children: t })
|
|
4556
4556
|
] });
|
|
4557
|
-
}, ws = "
|
|
4557
|
+
}, ws = "_spUploadFiles_1ty0v_43", ks = "_spUploadFiles_error_1ty0v_49", Cs = "_spUploadFiles__control_1ty0v_49", Ts = "_spUploadFiles__placeholder_1ty0v_57", Ns = "_spUploadFiles__control_loading_1ty0v_71", Es = "_shimmer_1ty0v_1", Ss = "_spUploadFiles__fileName_1ty0v_86", Rs = "_spUploadFiles_fileUploaded_1ty0v_118", As = "_spUploadFiles_disabled_1ty0v_118", js = "_spUploadFiles__fileNamesList_1ty0v_129", Ds = "_spUploadFiles__fileNamesList_loading_1ty0v_138", Is = "_spUploadFiles__fileNamesListItem_1ty0v_143", Ls = "_spUploadFiles__fileNamesListItem__tooltip_1ty0v_162", Fs = "_spUploadFiles__fileNamesListItem__triggerTooltip_1ty0v_165", Os = "_spUploadFiles__fileNamesListItemDelete_1ty0v_168", zs = "_spUploadFiles__tooltipWrapper_1ty0v_183", Ps = "_spUploadFiles__tooltip_1ty0v_183", Bs = "_spUploadFiles__delete_1ty0v_189", Ws = "_spUploadFiles__delete_loading_1ty0v_193", Ms = "_spUploadFiles__error_1ty0v_202", te = {
|
|
4558
4558
|
spUploadFiles: ws,
|
|
4559
4559
|
spUploadFiles_error: ks,
|
|
4560
4560
|
spUploadFiles__control: Cs,
|
|
4561
|
-
"spUploadFiles--variant-input": "_spUploadFiles--variant-
|
|
4561
|
+
"spUploadFiles--variant-input": "_spUploadFiles--variant-input_1ty0v_53",
|
|
4562
4562
|
spUploadFiles__placeholder: Ts,
|
|
4563
|
-
"spUploadFiles--variant-dropzone": "_spUploadFiles--variant-
|
|
4563
|
+
"spUploadFiles--variant-dropzone": "_spUploadFiles--variant-dropzone_1ty0v_65",
|
|
4564
4564
|
spUploadFiles__control_loading: Ns,
|
|
4565
4565
|
shimmer: Es,
|
|
4566
4566
|
spUploadFiles__fileName: Ss,
|
|
@@ -4569,14 +4569,15 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4569
4569
|
spUploadFiles__fileNamesList: js,
|
|
4570
4570
|
spUploadFiles__fileNamesList_loading: Ds,
|
|
4571
4571
|
spUploadFiles__fileNamesListItem: Is,
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
|
|
4579
|
-
|
|
4572
|
+
spUploadFiles__fileNamesListItem__tooltip: Ls,
|
|
4573
|
+
spUploadFiles__fileNamesListItem__triggerTooltip: Fs,
|
|
4574
|
+
spUploadFiles__fileNamesListItemDelete: Os,
|
|
4575
|
+
spUploadFiles__tooltipWrapper: zs,
|
|
4576
|
+
spUploadFiles__tooltip: Ps,
|
|
4577
|
+
spUploadFiles__delete: Bs,
|
|
4578
|
+
spUploadFiles__delete_loading: Ws,
|
|
4579
|
+
spUploadFiles__error: Ms
|
|
4580
|
+
}, rp = (e) => {
|
|
4580
4581
|
const {
|
|
4581
4582
|
placeholder: t = "Загрузите файл",
|
|
4582
4583
|
variant: o = "input",
|
|
@@ -4594,22 +4595,22 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4594
4595
|
loading: k,
|
|
4595
4596
|
error: y
|
|
4596
4597
|
} = e, T = d.map((ee) => ee.name), A = (T == null ? void 0 : T.length) > 0, M = o === "input", j = f({
|
|
4597
|
-
[
|
|
4598
|
-
[
|
|
4599
|
-
[
|
|
4600
|
-
[
|
|
4601
|
-
[
|
|
4602
|
-
[
|
|
4598
|
+
[te.spUploadFiles]: !0,
|
|
4599
|
+
[te[`spUploadFiles--variant-${o}`]]: o,
|
|
4600
|
+
[te.spUploadFiles_error]: !!y,
|
|
4601
|
+
[te.spUploadFiles_disabled]: s,
|
|
4602
|
+
[te.spUploadFiles_multiple]: u,
|
|
4603
|
+
[te.spUploadFiles_fileUploaded]: A,
|
|
4603
4604
|
...b && { [b]: !0 }
|
|
4604
4605
|
}), w = f({
|
|
4605
|
-
[
|
|
4606
|
-
[
|
|
4606
|
+
[te.spUploadFiles__control]: !0,
|
|
4607
|
+
[te.spUploadFiles__control_loading]: k
|
|
4607
4608
|
}), c = f({
|
|
4608
|
-
[
|
|
4609
|
-
[
|
|
4609
|
+
[te.spUploadFiles__fileNamesList]: !0,
|
|
4610
|
+
[te.spUploadFiles__fileNamesList_loading]: k
|
|
4610
4611
|
}), S = f({
|
|
4611
|
-
[
|
|
4612
|
-
[
|
|
4612
|
+
[te.spUploadFiles__delete]: !0,
|
|
4613
|
+
[te.spUploadFiles__delete_loading]: k
|
|
4613
4614
|
}), P = (ee) => {
|
|
4614
4615
|
if (k)
|
|
4615
4616
|
return;
|
|
@@ -4620,7 +4621,7 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4620
4621
|
}, Q = () => u ? /* @__PURE__ */ m("ul", { className: c, children: T.map((ee, ae) => /* @__PURE__ */ H(
|
|
4621
4622
|
"li",
|
|
4622
4623
|
{
|
|
4623
|
-
className:
|
|
4624
|
+
className: te.spUploadFiles__fileNamesListItem,
|
|
4624
4625
|
onClick: (se) => {
|
|
4625
4626
|
se.stopPropagation(), P(ee);
|
|
4626
4627
|
},
|
|
@@ -4630,22 +4631,23 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4630
4631
|
{
|
|
4631
4632
|
type: "p2",
|
|
4632
4633
|
text: ee,
|
|
4633
|
-
|
|
4634
|
+
classNameTooltipRoot: te.spUploadFiles__fileNamesListItem__tooltip,
|
|
4635
|
+
classNameTriggerTooltipRoot: te.spUploadFiles__fileNamesListItem__triggerTooltip
|
|
4634
4636
|
}
|
|
4635
4637
|
),
|
|
4636
|
-
/* @__PURE__ */ m("div", { className:
|
|
4638
|
+
/* @__PURE__ */ m("div", { className: te.spUploadFiles__fileNamesListItemDelete, children: /* @__PURE__ */ m(be, { name: ue.Trash }) })
|
|
4637
4639
|
]
|
|
4638
4640
|
},
|
|
4639
4641
|
ae
|
|
4640
|
-
)) }) : /* @__PURE__ */ m(Ne, { isEllipsis: !0, classNameRoot:
|
|
4641
|
-
A ? Q() : /* @__PURE__ */ m(Ne, { classNameRoot:
|
|
4642
|
+
)) }) : /* @__PURE__ */ m(Ne, { isEllipsis: !0, classNameRoot: te.spUploadFiles__fileName, children: T[0] }), oe = () => /* @__PURE__ */ H(lo, { children: [
|
|
4643
|
+
A ? Q() : /* @__PURE__ */ m(Ne, { classNameRoot: te.spUploadFiles__placeholder, children: t }),
|
|
4642
4644
|
A ? /* @__PURE__ */ m("div", { className: S, onClick: L, children: /* @__PURE__ */ m(be, { name: ue.Close }) }) : M && l && /* @__PURE__ */ m(
|
|
4643
4645
|
Je,
|
|
4644
4646
|
{
|
|
4645
|
-
classNameTooltip:
|
|
4647
|
+
classNameTooltip: te.spUploadFiles__tooltipWrapper,
|
|
4646
4648
|
position: v,
|
|
4647
4649
|
text: l,
|
|
4648
|
-
classNameTriggerTooltip:
|
|
4650
|
+
classNameTriggerTooltip: te.spUploadFiles__tooltip
|
|
4649
4651
|
}
|
|
4650
4652
|
)
|
|
4651
4653
|
] });
|
|
@@ -4663,46 +4665,46 @@ const br = (e) => `not ${e}`, yr = (e, t) => {
|
|
|
4663
4665
|
children: /* @__PURE__ */ H("div", { className: j, children: [
|
|
4664
4666
|
/* @__PURE__ */ H("div", { className: w, children: [
|
|
4665
4667
|
M && (k ? /* @__PURE__ */ m(mo, {}) : /* @__PURE__ */ m(be, { name: A ? ue.Check : ue.Upload })),
|
|
4666
|
-
|
|
4668
|
+
oe()
|
|
4667
4669
|
] }),
|
|
4668
|
-
y && /* @__PURE__ */ m("div", { className:
|
|
4670
|
+
y && /* @__PURE__ */ m("div", { className: te.spUploadFiles__error, children: y })
|
|
4669
4671
|
] })
|
|
4670
4672
|
}
|
|
4671
4673
|
);
|
|
4672
4674
|
};
|
|
4673
4675
|
export {
|
|
4674
|
-
|
|
4676
|
+
Hs as Accordion,
|
|
4675
4677
|
Wn as ApplyButtons,
|
|
4676
4678
|
_o as BaseTooltip,
|
|
4677
4679
|
wt as Button,
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4680
|
+
Vs as Checkbox,
|
|
4681
|
+
Gs as Confirm,
|
|
4682
|
+
Ks as ContextMenu,
|
|
4681
4683
|
ki as DefaultDropzone,
|
|
4682
|
-
|
|
4684
|
+
Xs as Dropdown,
|
|
4683
4685
|
ue as EIconName,
|
|
4684
4686
|
de as ETooltipPosition,
|
|
4685
4687
|
Li as EllipsisTextWithTooltip,
|
|
4686
|
-
|
|
4688
|
+
Zs as Form,
|
|
4687
4689
|
be as Icon,
|
|
4688
4690
|
Je as InfoTooltip,
|
|
4689
4691
|
Qi as Input,
|
|
4690
4692
|
jt as Label,
|
|
4691
4693
|
aa as Layer,
|
|
4692
4694
|
Ji as MediaContext,
|
|
4693
|
-
|
|
4695
|
+
Js as MediaContextProvider,
|
|
4694
4696
|
va as Modal,
|
|
4695
4697
|
vo as Portal,
|
|
4696
|
-
|
|
4697
|
-
|
|
4698
|
-
|
|
4698
|
+
ep as ProgressWrapper,
|
|
4699
|
+
tp as Select,
|
|
4700
|
+
op as Skeleton,
|
|
4699
4701
|
mo as Spinner,
|
|
4700
|
-
|
|
4701
|
-
|
|
4702
|
+
np as Table,
|
|
4703
|
+
ap as Tabs,
|
|
4702
4704
|
Ne as Text,
|
|
4703
|
-
|
|
4705
|
+
ip as TextWithLabel,
|
|
4704
4706
|
Rt as Tooltip,
|
|
4705
|
-
|
|
4707
|
+
rp as UploadFiles,
|
|
4706
4708
|
Dr as useAnimatedValue,
|
|
4707
|
-
|
|
4709
|
+
Ys as useModal
|
|
4708
4710
|
};
|