test-stpr-ui-kit 0.4.53 → 0.4.54

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.
@@ -336,56 +336,56 @@ const et = (e) => {
336
336
  S
337
337
  );
338
338
  const j = (T) => {
339
- n && T.stopPropagation(), !t && (S ? s && s() : r && r(), P((V) => o ? !V : !0));
339
+ n && T.stopPropagation(), !t && (S ? s && s() : r && r(), P((H) => o ? !H : !0));
340
340
  }, [B, O] = te({
341
341
  visibility: "hidden",
342
342
  opacity: 0,
343
343
  left: "-9999px"
344
344
  }), [Q, ie] = te(!1), re = ve(() => {
345
345
  if (!q.current || !A.current) return;
346
- const T = q.current.getBoundingClientRect(), V = A.current.getBoundingClientRect();
346
+ const T = q.current.getBoundingClientRect(), H = A.current.getBoundingClientRect();
347
347
  let W = 0, p = 0;
348
348
  switch (l) {
349
349
  case le.Right:
350
- W = T.top + window.scrollY - (V.height - T.height) / 2, p = T.right + window.scrollX;
350
+ W = T.top + window.scrollY - (H.height - T.height) / 2, p = T.right + window.scrollX;
351
351
  break;
352
352
  case le.RightTop:
353
353
  W = T.top + window.scrollY, p = T.right + window.scrollX;
354
354
  break;
355
355
  case le.RightBottom:
356
- W = T.bottom + window.scrollY - V.height, p = T.right + window.scrollX;
356
+ W = T.bottom + window.scrollY - H.height, p = T.right + window.scrollX;
357
357
  break;
358
358
  case le.Left:
359
- W = T.top + window.scrollY - (V.height - T.height) / 2, p = T.left + window.scrollX - V.width;
359
+ W = 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
- W = T.top + window.scrollY, p = T.left + window.scrollX - V.width;
362
+ W = T.top + window.scrollY, p = T.left + window.scrollX - H.width;
363
363
  break;
364
364
  case le.LeftBottom:
365
- W = T.bottom + window.scrollY - V.height, p = T.left + window.scrollX - V.width;
365
+ W = T.bottom + window.scrollY - H.height, p = T.left + window.scrollX - H.width;
366
366
  break;
367
367
  case le.Bottom:
368
- W = T.bottom + window.scrollY, p = T.left + window.scrollX - (V.width - T.width) / 2;
368
+ W = T.bottom + window.scrollY, p = T.left + window.scrollX - (H.width - T.width) / 2;
369
369
  break;
370
370
  case le.BottomLeft:
371
371
  W = T.bottom + window.scrollY, p = T.left + window.scrollX;
372
372
  break;
373
373
  case le.BottomRight:
374
- W = T.bottom + window.scrollY, p = T.right + window.scrollX - V.width;
374
+ W = T.bottom + window.scrollY, p = T.right + window.scrollX - H.width;
375
375
  break;
376
376
  case le.Top:
377
- W = T.top + window.scrollY - V.height, p = T.left + window.scrollX - (V.width - T.width) / 2;
377
+ W = 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
- W = T.top + window.scrollY - V.height, p = T.left + window.scrollX;
380
+ W = T.top + window.scrollY - H.height, p = T.left + window.scrollX;
381
381
  break;
382
382
  case le.TopRight:
383
- W = T.top + window.scrollY - V.height, p = T.right + window.scrollX - V.width;
383
+ W = T.top + window.scrollY - H.height, p = T.right + window.scrollX - H.width;
384
384
  break;
385
385
  default:
386
386
  W = T.bottom + window.scrollY, p = T.left + window.scrollX;
387
387
  }
388
- W + V.height > window.innerHeight + window.scrollY && l.includes("bottom") ? W = T.top + window.scrollY - V.height : W < window.scrollY && l.includes("top") && (W = T.bottom + window.scrollY), p + V.width > window.innerWidth + window.scrollX && l.includes("left") ? p = T.left + window.scrollX - V.width + T.width : p < window.scrollX && l.includes("right") && (p = T.right + window.scrollX - T.width), O((v) => ({
388
+ W + H.height > window.innerHeight + window.scrollY && l.includes("bottom") ? W = T.top + window.scrollY - H.height : W < window.scrollY && l.includes("top") && (W = 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
390
  top: `${W}px`,
391
391
  left: `${p}px`,
@@ -743,7 +743,7 @@ const xa = "_modalWrapper_1qgyc_43", ha = "_modalWrapper__modal_1qgyc_63", ba =
743
743
  }) });
744
744
  }, Fa = (e) => {
745
745
  const { getRootProps: t, children: o, disabled: n, name: a, getInputProps: i } = e;
746
- return /* @__PURE__ */ U("div", { ...t({}), style: { height: "100%" }, children: [
746
+ return /* @__PURE__ */ U("div", { ...t({}), style: { minHeight: "100%", minWidth: "100%" }, children: [
747
747
  /* @__PURE__ */ c("input", { ...i({}), disabled: n, name: a }),
748
748
  o
749
749
  ] });
@@ -1282,9 +1282,9 @@ function wi() {
1282
1282
  }
1283
1283
  }
1284
1284
  }
1285
- var d = u, j = l, B = s, O = r, Q = t, ie = _, re = n, ue = w, ce = y, X = o, Z = i, ee = a, T = m, V = !1;
1285
+ var d = u, j = l, B = s, O = r, Q = t, ie = _, re = n, ue = w, ce = y, X = o, Z = i, ee = a, T = m, H = !1;
1286
1286
  function W(x) {
1287
- return V || (V = !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) || h(x) === u;
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) || h(x) === u;
1288
1288
  }
1289
1289
  function p(x) {
1290
1290
  return h(x) === l;
@@ -1313,7 +1313,7 @@ function wi() {
1313
1313
  function $(x) {
1314
1314
  return h(x) === o;
1315
1315
  }
1316
- function Y(x) {
1316
+ function V(x) {
1317
1317
  return h(x) === i;
1318
1318
  }
1319
1319
  function M(x) {
@@ -1322,7 +1322,7 @@ function wi() {
1322
1322
  function ae(x) {
1323
1323
  return h(x) === m;
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 = W, K.isConcurrentMode = p, K.isContextConsumer = v, K.isContextProvider = R, K.isElement = I, K.isForwardRef = N, K.isFragment = D, K.isLazy = F, K.isMemo = z, K.isPortal = $, K.isProfiler = Y, K.isStrictMode = M, K.isSuspense = ae, K.isValidElementType = A, K.typeOf = h;
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 = W, K.isConcurrentMode = p, K.isContextConsumer = v, K.isContextProvider = R, K.isElement = I, K.isForwardRef = N, K.isFragment = D, K.isLazy = F, K.isMemo = z, K.isPortal = $, K.isProfiler = V, K.isStrictMode = M, K.isSuspense = ae, K.isValidElementType = A, K.typeOf = h;
1326
1326
  }()), K;
1327
1327
  }
1328
1328
  var Vt;
@@ -1495,7 +1495,7 @@ 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, z, $, Y, M, ae) {
1498
+ function I(D, F, z, $, V, M, ae) {
1499
1499
  if ($ = $ || g, M = M || z, ae !== o) {
1500
1500
  if (u) {
1501
1501
  var x = new Error(
@@ -1510,15 +1510,15 @@ function Ti() {
1510
1510
  ), v[xe] = !0, R++);
1511
1511
  }
1512
1512
  }
1513
- return F[z] == null ? D ? F[z] === 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, z, $, Y, M);
1513
+ return F[z] == null ? D ? F[z] === null ? new C("The " + V + " `" + M + "` is marked as required " + ("in `" + $ + "`, but its value is `null`.")) : new C("The " + V + " `" + M + "` is marked as required in " + ("`" + $ + "`, but its value is `undefined`.")) : null : p(F, z, $, V, 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
1519
  function v(R, I, N, D, F, z) {
1520
- var $ = R[I], Y = ee($);
1521
- if (Y !== p) {
1520
+ var $ = R[I], V = ee($);
1521
+ if (V !== p) {
1522
1522
  var M = T($);
1523
1523
  return new C(
1524
1524
  "Invalid " + D + " `" + F + "` of type " + ("`" + M + "` supplied to `" + N + "`, expected ") + ("`" + p + "`."),
@@ -1541,8 +1541,8 @@ function Ti() {
1541
1541
  var $ = ee(z);
1542
1542
  return new C("Invalid " + D + " `" + F + "` of type " + ("`" + $ + "` supplied to `" + N + "`, expected an array."));
1543
1543
  }
1544
- for (var Y = 0; Y < z.length; Y++) {
1545
- var M = p(z, Y, N, D, F + "[" + Y + "]", o);
1544
+ for (var V = 0; V < z.length; V++) {
1545
+ var M = p(z, V, N, D, F + "[" + V + "]", o);
1546
1546
  if (M instanceof Error)
1547
1547
  return M;
1548
1548
  }
@@ -1591,11 +1591,11 @@ function Ti() {
1591
1591
  for (var z = R[I], $ = 0; $ < p.length; $++)
1592
1592
  if (w(z, p[$]))
1593
1593
  return null;
1594
- var Y = JSON.stringify(p, function(ae, x) {
1594
+ var V = 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(z) + "` " + ("supplied to `" + N + "`, expected one of " + Y + "."));
1598
+ return new C("Invalid " + D + " `" + F + "` of value `" + String(z) + "` " + ("supplied to `" + N + "`, expected one of " + V + "."));
1599
1599
  }
1600
1600
  return S(v);
1601
1601
  }
@@ -1606,9 +1606,9 @@ function Ti() {
1606
1606
  var z = R[I], $ = ee(z);
1607
1607
  if ($ !== "object")
1608
1608
  return new C("Invalid " + D + " `" + F + "` of type " + ("`" + $ + "` supplied to `" + N + "`, expected an object."));
1609
- for (var Y in z)
1610
- if (n(z, Y)) {
1611
- var M = p(z, Y, N, D, F + "." + Y, o);
1609
+ for (var V in z)
1610
+ if (n(z, V)) {
1611
+ var M = p(z, V, N, D, F + "." + V, o);
1612
1612
  if (M instanceof Error)
1613
1613
  return M;
1614
1614
  }
@@ -1623,17 +1623,17 @@ function Ti() {
1623
1623
  var R = p[v];
1624
1624
  if (typeof R != "function")
1625
1625
  return i(
1626
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + V(R) + " at index " + v + "."
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
1629
  function I(N, D, F, z, $) {
1630
- for (var Y = [], M = 0; M < p.length; M++) {
1630
+ for (var V = [], M = 0; M < p.length; M++) {
1631
1631
  var ae = p[M], x = ae(N, D, F, z, $, o);
1632
1632
  if (x == null)
1633
1633
  return null;
1634
- x.data && n(x.data, "expectedType") && Y.push(x.data.expectedType);
1634
+ x.data && n(x.data, "expectedType") && V.push(x.data.expectedType);
1635
1635
  }
1636
- var xe = Y.length > 0 ? ", expected one of type [" + Y.join(", ") + "]" : "";
1636
+ var xe = V.length > 0 ? ", expected one of type [" + V.join(", ") + "]" : "";
1637
1637
  return new C("Invalid " + z + " `" + $ + "` supplied to " + ("`" + F + "`" + xe + "."));
1638
1638
  }
1639
1639
  return S(I);
@@ -1654,11 +1654,11 @@ function Ti() {
1654
1654
  var z = R[I], $ = ee(z);
1655
1655
  if ($ !== "object")
1656
1656
  return new C("Invalid " + D + " `" + F + "` of type `" + $ + "` " + ("supplied to `" + N + "`, expected `object`."));
1657
- for (var Y in p) {
1658
- var M = p[Y];
1657
+ for (var V in p) {
1658
+ var M = p[V];
1659
1659
  if (typeof M != "function")
1660
- return re(N, D, F, Y, T(M));
1661
- var ae = M(z, Y, N, D, F + "." + Y, o);
1660
+ return re(N, D, F, V, T(M));
1661
+ var ae = M(z, V, N, D, F + "." + V, o);
1662
1662
  if (ae)
1663
1663
  return ae;
1664
1664
  }
@@ -1671,8 +1671,8 @@ function Ti() {
1671
1671
  var z = R[I], $ = ee(z);
1672
1672
  if ($ !== "object")
1673
1673
  return new C("Invalid " + D + " `" + F + "` of type `" + $ + "` " + ("supplied to `" + N + "`, expected `object`."));
1674
- var Y = t({}, R[I], p);
1675
- for (var M in Y) {
1674
+ var V = t({}, R[I], p);
1675
+ for (var M in V) {
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));
@@ -1741,7 +1741,7 @@ Valid keys: ` + JSON.stringify(Object.keys(p), null, " ")
1741
1741
  }
1742
1742
  return v;
1743
1743
  }
1744
- function V(p) {
1744
+ function H(p) {
1745
1745
  var v = T(p);
1746
1746
  switch (v) {
1747
1747
  case "array":
@@ -2088,7 +2088,7 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
2088
2088
  [be.spSelect__list_scrollable]: S
2089
2089
  }), T = f({
2090
2090
  ...A && { [A]: !0 }
2091
- }), V = f({
2091
+ }), H = f({
2092
2092
  [be.spSelect__error]: !0,
2093
2093
  ...q && { [q]: !0 }
2094
2094
  });
@@ -2150,7 +2150,7 @@ const Di = (e) => `not ${e}`, Oi = (e, t) => {
2150
2150
  }
2151
2151
  )
2152
2152
  ] }),
2153
- u && /* @__PURE__ */ c("div", { className: V, children: u })
2153
+ u && /* @__PURE__ */ c("div", { className: H, children: u })
2154
2154
  ] });
2155
2155
  }, vr = "_skeleton_1u7gu_43", gr = {
2156
2156
  skeleton: vr
@@ -4296,7 +4296,7 @@ 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), V = T[0], W = T[1], p = V.isFocused, v = V.isFileDialogActive, R = me(typeof window < "u" && window.isSecureContext && P && ls()), I = function() {
4299
+ }, [C]), X = me(null), Z = me(null), ee = Vo(Ns, jt), T = Ct(ee, 2), H = T[0], W = 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;
@@ -4355,7 +4355,7 @@ function Wo() {
4355
4355
  } catch {
4356
4356
  }
4357
4357
  return L && m && m(b), !1;
4358
- }, [m, B]), Y = ve(function(b) {
4358
+ }, [m, B]), V = ve(function(b) {
4359
4359
  b.preventDefault(), b.persist(), $e(b);
4360
4360
  var L = N.current.filter(function(se) {
4361
4361
  return X.current && X.current.contains(se);
@@ -4455,14 +4455,14 @@ function Wo() {
4455
4455
  onClick: Ie(ke(nt, Ot)),
4456
4456
  onDragEnter: qe(ke(at, z)),
4457
4457
  onDragOver: qe(ke(it, $)),
4458
- onDragLeave: qe(ke(He, Y)),
4458
+ onDragLeave: qe(ke(He, V)),
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, z, $, Y, ae, d, j, n]), Uo = ve(function(b) {
4465
+ }, [X, xe, Se, Pe, Ot, z, $, V, ae, d, j, n]), Uo = ve(function(b) {
4466
4466
  b.stopPropagation();
4467
4467
  }, []), qo = De(function() {
4468
4468
  return function() {
@@ -4489,7 +4489,7 @@ function Wo() {
4489
4489
  return J(J({}, Le), Be);
4490
4490
  };
4491
4491
  }, [Z, o, s, ae, n]);
4492
- return J(J({}, V), {}, {
4492
+ return J(J({}, H), {}, {
4493
4493
  isFocused: p && !n,
4494
4494
  getRootProps: Mo,
4495
4495
  getInputProps: qo,
@@ -4591,7 +4591,7 @@ const Es = (e) => Wo(e), Ss = (e) => {
4591
4591
  ),
4592
4592
  s && /* @__PURE__ */ c(Te, { type: n, classNameRoot: a, children: m })
4593
4593
  ] });
4594
- }, Ls = "_spUploadFiles_76r0y_43", Ds = "_spUploadFiles_error_76r0y_49", Os = "_spUploadFiles__control_76r0y_49", Ps = "_spUploadFiles__fileNameContainer_76r0y_53", Bs = "_spUploadFiles__fileName_dragError_76r0y_57", zs = "_spUploadFiles__placeholderContainer_76r0y_60", Ws = "_spUploadFiles__placeholderContainer_withUloadTooltip_76r0y_70", Ms = "_spUploadFiles__placeholder_76r0y_60", Us = "_spUploadFiles__control_loading_76r0y_102", qs = "_shimmer_76r0y_1", $s = "_spUploadFiles__fileName_76r0y_53", Hs = "_spUploadFiles_fileUploaded_76r0y_149", Vs = "_spUploadFiles_disabled_76r0y_149", Ys = "_spUploadFiles__fileNamesList_76r0y_160", Gs = "_spUploadFiles__fileNamesList_loading_76r0y_169", Ks = "_spUploadFiles__fileNamesListItem_76r0y_179", Xs = "_spUploadFiles__fileNamesListItem__iconContainer_76r0y_193", Zs = "_spUploadFiles__fileNamesListItem__iconContainer_error_76r0y_197", Qs = "_spUploadFiles__fileNamesListItem__mainContent_76r0y_200", Js = "_spUploadFiles__fileNamesListItem__fileName_76r0y_206", ep = "_spUploadFiles__fileNamesListItem__description_76r0y_210", tp = "_spUploadFiles__fileNamesListItem__description__tooltipContent_76r0y_215", op = "_spUploadFiles__fileNamesListItem__description_error_76r0y_218", np = "_spUploadFiles__fileNamesListItemDelete_76r0y_221", ap = "_spUploadFiles__fileNamesListItemDelete_error_76r0y_238", ip = "_spUploadFiles__tooltipWrapper_76r0y_248", rp = "_spUploadFiles__tooltip_76r0y_248", sp = "_spUploadFiles__delete_76r0y_254", pp = "_spUploadFiles__delete_loading_76r0y_258", lp = "_spUploadFiles__error_76r0y_267", H = {
4594
+ }, Ls = "_spUploadFiles_76r0y_43", Ds = "_spUploadFiles_error_76r0y_49", Os = "_spUploadFiles__control_76r0y_49", Ps = "_spUploadFiles__fileNameContainer_76r0y_53", Bs = "_spUploadFiles__fileName_dragError_76r0y_57", zs = "_spUploadFiles__placeholderContainer_76r0y_60", Ws = "_spUploadFiles__placeholderContainer_withUloadTooltip_76r0y_70", Ms = "_spUploadFiles__placeholder_76r0y_60", Us = "_spUploadFiles__control_loading_76r0y_102", qs = "_shimmer_76r0y_1", $s = "_spUploadFiles__fileName_76r0y_53", Hs = "_spUploadFiles_fileUploaded_76r0y_149", Vs = "_spUploadFiles_disabled_76r0y_149", Ys = "_spUploadFiles__fileNamesList_76r0y_160", Gs = "_spUploadFiles__fileNamesList_loading_76r0y_169", Ks = "_spUploadFiles__fileNamesListItem_76r0y_179", Xs = "_spUploadFiles__fileNamesListItem__iconContainer_76r0y_193", Zs = "_spUploadFiles__fileNamesListItem__iconContainer_error_76r0y_197", Qs = "_spUploadFiles__fileNamesListItem__mainContent_76r0y_200", Js = "_spUploadFiles__fileNamesListItem__fileName_76r0y_206", ep = "_spUploadFiles__fileNamesListItem__description_76r0y_210", tp = "_spUploadFiles__fileNamesListItem__description__tooltipContent_76r0y_215", op = "_spUploadFiles__fileNamesListItem__description_error_76r0y_218", np = "_spUploadFiles__fileNamesListItemDelete_76r0y_221", ap = "_spUploadFiles__fileNamesListItemDelete_error_76r0y_238", ip = "_spUploadFiles__tooltipWrapper_76r0y_248", rp = "_spUploadFiles__tooltip_76r0y_248", sp = "_spUploadFiles__delete_76r0y_254", pp = "_spUploadFiles__delete_loading_76r0y_258", lp = "_spUploadFiles__error_76r0y_267", Y = {
4595
4595
  spUploadFiles: Ls,
4596
4596
  spUploadFiles_error: Ds,
4597
4597
  spUploadFiles__control: Os,
@@ -4663,23 +4663,21 @@ const Es = (e) => Wo(e), Ss = (e) => {
4663
4663
  d(A);
4664
4664
  }, [A]);
4665
4665
  const j = [...u.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({
4666
- [H.spUploadFiles]: !0,
4667
- [H[`spUploadFiles--variant-${o}`]]: o,
4668
- [H.spUploadFiles_error]: !!y,
4669
- [H.spUploadFiles_error]: h && !s,
4670
- [H.spUploadFiles_disabled]: r,
4671
- [H.spUploadFiles_multiple]: s,
4672
- [H.spUploadFiles_fileUploaded]: B,
4666
+ [Y.spUploadFiles]: !0,
4667
+ [Y[`spUploadFiles--variant-${o}`]]: o,
4668
+ [Y.spUploadFiles_error]: h && !s && y && y.length > 0,
4669
+ [Y.spUploadFiles_disabled]: r,
4670
+ [Y.spUploadFiles_fileUploaded]: B,
4673
4671
  ...m && { [m]: !0 }
4674
4672
  }), ie = f({
4675
- [H.spUploadFiles__control]: !0,
4676
- [H.spUploadFiles__control_loading]: g
4673
+ [Y.spUploadFiles__control]: !0,
4674
+ [Y.spUploadFiles__control_loading]: g
4677
4675
  }), re = f({
4678
- [H.spUploadFiles__fileNamesList]: !0,
4679
- [H.spUploadFiles__fileNamesList_loading]: g
4676
+ [Y.spUploadFiles__fileNamesList]: !0,
4677
+ [Y.spUploadFiles__fileNamesList_loading]: g
4680
4678
  }), ue = f({
4681
- [H.spUploadFiles__delete]: !0,
4682
- [H.spUploadFiles__delete_loading]: g
4679
+ [Y.spUploadFiles__delete]: !0,
4680
+ [Y.spUploadFiles__delete_loading]: g
4683
4681
  }), ce = (v, R) => {
4684
4682
  if (g)
4685
4683
  return;
@@ -4699,10 +4697,10 @@ const Es = (e) => Wo(e), Ss = (e) => {
4699
4697
  Ye,
4700
4698
  {
4701
4699
  text: `Неверный формат файла. Загрузите файл в формате ${v}`,
4702
- classNameTooltipRoot: f(H.spUploadFiles__fileNameContainer),
4700
+ classNameTooltipRoot: f(Y.spUploadFiles__fileNameContainer),
4703
4701
  classNameRoot: f(
4704
- H.spUploadFiles__fileName,
4705
- h && H.spUploadFiles__fileName_dragError
4702
+ Y.spUploadFiles__fileName,
4703
+ h && Y.spUploadFiles__fileName_dragError
4706
4704
  )
4707
4705
  }
4708
4706
  );
@@ -4711,8 +4709,8 @@ const Es = (e) => Wo(e), Ss = (e) => {
4711
4709
  Ye,
4712
4710
  {
4713
4711
  text: j[0].file.name,
4714
- classNameTooltipRoot: f(H.spUploadFiles__fileNameContainer),
4715
- classNameRoot: f(H.spUploadFiles__fileName)
4712
+ classNameTooltipRoot: f(Y.spUploadFiles__fileNameContainer),
4713
+ classNameRoot: f(Y.spUploadFiles__fileName)
4716
4714
  }
4717
4715
  );
4718
4716
  }, T = () => /* @__PURE__ */ c("ul", { className: re, children: j.map(({ file: v, errors: R }, I) => {
@@ -4721,8 +4719,8 @@ const Es = (e) => Wo(e), Ss = (e) => {
4721
4719
  "li",
4722
4720
  {
4723
4721
  className: f(
4724
- H.spUploadFiles__fileNamesListItem,
4725
- N && H.spUploadFiles__fileNamesListItem_error
4722
+ Y.spUploadFiles__fileNamesListItem,
4723
+ N && Y.spUploadFiles__fileNamesListItem_error
4726
4724
  ),
4727
4725
  onClick: (F) => {
4728
4726
  F.stopPropagation();
@@ -4732,28 +4730,28 @@ const Es = (e) => Wo(e), Ss = (e) => {
4732
4730
  "div",
4733
4731
  {
4734
4732
  className: f(
4735
- H.spUploadFiles__fileNamesListItem__iconContainer,
4736
- N && H.spUploadFiles__fileNamesListItem__iconContainer_error
4733
+ Y.spUploadFiles__fileNamesListItem__iconContainer,
4734
+ N && Y.spUploadFiles__fileNamesListItem__iconContainer_error
4737
4735
  ),
4738
4736
  children: /* @__PURE__ */ c(ge, { name: N ? pe.InfoError : pe.File })
4739
4737
  }
4740
4738
  ),
4741
- /* @__PURE__ */ U("div", { className: H.spUploadFiles__fileNamesListItem__mainContent, children: [
4739
+ /* @__PURE__ */ U("div", { className: Y.spUploadFiles__fileNamesListItem__mainContent, children: [
4742
4740
  /* @__PURE__ */ c(
4743
4741
  Is,
4744
4742
  {
4745
4743
  fileName: v.name,
4746
- classNameEllipsisText: H.spUploadFiles__fileNamesListItem__fileName
4744
+ classNameEllipsisText: Y.spUploadFiles__fileNamesListItem__fileName
4747
4745
  }
4748
4746
  ),
4749
4747
  /* @__PURE__ */ c(
4750
4748
  Ye,
4751
4749
  {
4752
4750
  text: N ? D() : Fs(v.size),
4753
- classNameBaseTooltipRoot: H.spUploadFiles__fileNamesListItem__description__tooltipContent,
4751
+ classNameBaseTooltipRoot: Y.spUploadFiles__fileNamesListItem__description__tooltipContent,
4754
4752
  classNameRoot: f(
4755
- H.spUploadFiles__fileNamesListItem__description,
4756
- N && H.spUploadFiles__fileNamesListItem__description_error
4753
+ Y.spUploadFiles__fileNamesListItem__description,
4754
+ N && Y.spUploadFiles__fileNamesListItem__description_error
4757
4755
  )
4758
4756
  }
4759
4757
  )
@@ -4761,7 +4759,7 @@ const Es = (e) => Wo(e), Ss = (e) => {
4761
4759
  /* @__PURE__ */ c(
4762
4760
  "div",
4763
4761
  {
4764
- className: f(H.spUploadFiles__fileNamesListItemDelete),
4762
+ className: f(Y.spUploadFiles__fileNamesListItemDelete),
4765
4763
  onClick: (F) => {
4766
4764
  F.stopPropagation(), ce(v.name, N);
4767
4765
  },
@@ -4772,25 +4770,25 @@ const Es = (e) => Wo(e), Ss = (e) => {
4772
4770
  },
4773
4771
  I
4774
4772
  );
4775
- }) }), V = () => s ? T() : ee(), W = () => /* @__PURE__ */ c(
4773
+ }) }), H = () => s ? T() : ee(), W = () => /* @__PURE__ */ c(
4776
4774
  Ye,
4777
4775
  {
4778
- classNameRoot: H.spUploadFiles__placeholder,
4776
+ classNameRoot: Y.spUploadFiles__placeholder,
4779
4777
  classNameTooltipRoot: f(
4780
- H.spUploadFiles__placeholderContainer,
4781
- !!l && H.spUploadFiles__placeholderContainer_withUloadTooltip
4778
+ Y.spUploadFiles__placeholderContainer,
4779
+ !!l && Y.spUploadFiles__placeholderContainer_withUloadTooltip
4782
4780
  ),
4783
4781
  text: t
4784
4782
  }
4785
4783
  ), p = () => /* @__PURE__ */ U(uo, { children: [
4786
- B ? V() : W(),
4784
+ B ? H() : W(),
4787
4785
  B && O ? /* @__PURE__ */ c("div", { className: ue, onClick: X, children: /* @__PURE__ */ c(ge, { name: pe.Close }) }) : O && l && /* @__PURE__ */ c(
4788
4786
  tt,
4789
4787
  {
4790
- classNameTooltip: H.spUploadFiles__tooltipWrapper,
4788
+ classNameTooltip: Y.spUploadFiles__tooltipWrapper,
4791
4789
  position: _,
4792
4790
  text: l,
4793
- classNameTriggerTooltip: H.spUploadFiles__tooltip
4791
+ classNameTriggerTooltip: Y.spUploadFiles__tooltip
4794
4792
  }
4795
4793
  )
4796
4794
  ] });
@@ -4806,7 +4804,7 @@ const Es = (e) => Wo(e), Ss = (e) => {
4806
4804
  O && (g ? /* @__PURE__ */ c(vo, {}) : /* @__PURE__ */ c(ge, { name: B ? pe.Check : pe.Upload })),
4807
4805
  p()
4808
4806
  ] }),
4809
- y && /* @__PURE__ */ c("div", { className: H.spUploadFiles__error, children: y })
4807
+ y && /* @__PURE__ */ c("div", { className: Y.spUploadFiles__error, children: y })
4810
4808
  ] })
4811
4809
  }
4812
4810
  );