test-stpr-ui-kit 0.5.24 → 0.5.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/test-stpr-ui-kit.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as W, jsx as c, Fragment as $e } from "react/jsx-runtime";
|
|
2
2
|
import * as C from "react";
|
|
3
|
-
import Ve, { useState as
|
|
3
|
+
import Ve, { useState as ne, useEffect as re, useRef as ve, useCallback as he, useLayoutEffect as Xo, createContext as xo, useContext as Zo, useMemo as De, useReducer as Qo, forwardRef as Jo, useImperativeHandle as en, Fragment as tn } from "react";
|
|
4
4
|
import on from "react-dom";
|
|
5
5
|
import './test-stpr-ui-kit.css';function ho(e) {
|
|
6
6
|
var t, o, n = "";
|
|
@@ -17,7 +17,7 @@ function _() {
|
|
|
17
17
|
}
|
|
18
18
|
const nn = (e) => /* @__PURE__ */ C.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M10.4058 21.6H5.6058C4.28031 21.6 3.2058 20.5254 3.20581 19.2L3.2059 4.80001C3.20591 3.47453 4.28043 2.40002 5.6059 2.40002H16.4062C17.7317 2.40002 18.8062 3.47454 18.8062 4.80002V11.4M17.3999 21.1882V17.7941M17.3999 17.7941V14.4M17.3999 17.7941L14.0058 17.7941M17.3999 17.7941L20.794 17.7941M7.40619 7.20002H14.6062M7.40619 10.8H14.6062M7.40619 14.4H11.0062", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), an = (e) => /* @__PURE__ */ C.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M12.5 15.5H8C6.60444 15.5 5.90665 15.5 5.33886 15.6722C4.06045 16.06 3.06004 17.0605 2.67224 18.3389C2.5 18.9067 2.5 19.6044 2.5 21M19.5 21V15M16.5 18H22.5M15 7.5C15 9.98528 12.9853 12 10.5 12C8.01472 12 6 9.98528 6 7.5C6 5.01472 8.01472 3 10.5 3C12.9853 3 15 5.01472 15 7.5Z", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), rn = (e) => /* @__PURE__ */ C.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M20 7L9 18L4 13", stroke: "currentColor", strokeWidth: 2 })), sn = (e) => /* @__PURE__ */ C.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 26 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M25 6L13 18L1 6", stroke: "currentColor", strokeWidth: 2 })), pn = (e) => /* @__PURE__ */ C.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 21 22", fill: "none", ...e }, /* @__PURE__ */ C.createElement("line", { y1: -1, x2: 20.464, y2: -1, transform: "matrix(0.680234 -0.732995 -0.680234 -0.732995 3 18)", stroke: "currentColor", strokeWidth: 2 }), /* @__PURE__ */ C.createElement("line", { y1: -1, x2: 20.464, y2: -1, transform: "matrix(-0.680234 -0.732995 0.680234 -0.732995 18 18)", stroke: "currentColor", strokeWidth: 2 })), ln = (e) => /* @__PURE__ */ C.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M20 9H11C9.89543 9 9 9.89543 9 11V20C9 21.1046 9.89543 22 11 22H20C21.1046 22 22 21.1046 22 20V11C22 9.89543 21.1046 9 20 9Z", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M5 15H4C3.46957 15 2.96086 14.7893 2.58579 14.4142C2.21071 14.0391 2 13.5304 2 13V4C2 3.46957 2.21071 2.96086 2.58579 2.58579C2.96086 2.21071 3.46957 2 4 2H13C13.5304 2 14.0391 2.21071 14.4142 2.58579C14.7893 2.96086 15 3.46957 15 4V5", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), cn = (e) => /* @__PURE__ */ C.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 18 4", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("circle", { cx: 2, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ C.createElement("circle", { cx: 9, cy: 2, r: 2, fill: "currentColor" }), /* @__PURE__ */ C.createElement("circle", { cx: 16, cy: 2, r: 2, fill: "currentColor" })), dn = (e) => /* @__PURE__ */ C.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M19.5 14V17.3333C19.5 17.7754 19.3244 18.1993 19.0118 18.5118C18.6993 18.8244 18.2754 19 17.8333 19H6.16667C5.72464 19 5.30072 18.8244 4.98816 18.5118C4.67559 18.1993 4.5 17.7754 4.5 17.3333V14", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M7.83325 9.83333L11.9999 14L16.1666 9.83333", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M12 14V3.99995", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), mn = (e) => /* @__PURE__ */ C.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M13.9487 6.9516L17.5487 10.5516M4.94873 19.5516L9.31472 18.6719C9.54649 18.6252 9.75931 18.511 9.92645 18.3438L19.7001 8.56478C20.1687 8.09593 20.1684 7.33594 19.6994 6.86748L17.629 4.7994C17.1602 4.33113 16.4006 4.33145 15.9322 4.80011L6.15749 14.5802C5.99068 14.7471 5.87678 14.9595 5.83003 15.1908L4.94873 19.5516Z", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), un = (e) => /* @__PURE__ */ C.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 26 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M14.125 0V11.2002C14.1251 11.4762 14.3489 11.7002 14.625 11.7002H26V28.7998C26 29.6485 25.6573 30.4624 25.0479 31.0625C24.4384 31.6626 23.612 32 22.75 32H3.25C2.38805 32 1.56164 31.6626 0.952148 31.0625C0.342655 30.4624 0 29.6485 0 28.7998V3.2002C0 2.3515 0.342655 1.53762 0.952148 0.9375C1.56164 0.337386 2.38805 0 3.25 0H14.125ZM25.4922 10.7002H15.125V0.492188L25.4922 10.7002Z", fill: "currentColor" })), _n = (e) => /* @__PURE__ */ C.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 16 17", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M8 4.61111V8.5H11.8889M8 15.5C4.13401 15.5 1 12.366 1 8.5C1 4.63401 4.13401 1.5 8 1.5C11.866 1.5 15 4.63401 15 8.5C15 12.366 11.866 15.5 8 15.5Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), fn = (e) => /* @__PURE__ */ C.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M12 8V12", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M12 16H12.01", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), vn = (e) => /* @__PURE__ */ C.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M16 0.5C24.5604 0.5 31.5 7.43959 31.5 16C31.5 24.5604 24.5604 31.5 16 31.5C7.43959 31.5 0.5 24.5604 0.5 16C0.5 7.43959 7.43959 0.5 16 0.5Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M16 22.4V16", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M16 9.59961H16.016", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })), gn = (e) => /* @__PURE__ */ C.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M12 15L15 12M15 12L12 9M15 12H4M9 7.24859V7.2002C9 6.08009 9 5.51962 9.21799 5.0918C9.40973 4.71547 9.71547 4.40973 10.0918 4.21799C10.5196 4 11.0801 4 12.2002 4H16.8002C17.9203 4 18.4796 4 18.9074 4.21799C19.2837 4.40973 19.5905 4.71547 19.7822 5.0918C20 5.5192 20 6.07899 20 7.19691V16.8036C20 17.9215 20 18.4805 19.7822 18.9079C19.5905 19.2842 19.2837 19.5905 18.9074 19.7822C18.48 20 17.921 20 16.8031 20H12.1969C11.079 20 10.5192 20 10.0918 19.7822C9.71547 19.5905 9.40973 19.2839 9.21799 18.9076C9 18.4798 9 17.9201 9 16.8V16.75", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), xn = (e) => /* @__PURE__ */ C.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M5 12H19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), hn = (e) => /* @__PURE__ */ C.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M12 5V19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M5 12H19", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), bn = (e) => /* @__PURE__ */ C.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 16 16", fill: "none", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M8 14.4C4.472 14.4 1.6 11.528 1.6 8C1.6 4.472 4.472 1.6 8 1.6C11.528 1.6 14.4 4.472 14.4 8C14.4 11.528 11.528 14.4 8 14.4ZM8 0C6.94943 0 5.90914 0.206926 4.93853 0.608964C3.96793 1.011 3.08601 1.60028 2.34315 2.34315C0.842855 3.84344 0 5.87827 0 8C0 10.1217 0.842855 12.1566 2.34315 13.6569C3.08601 14.3997 3.96793 14.989 4.93853 15.391C5.90914 15.7931 6.94943 16 8 16C10.1217 16 12.1566 15.1571 13.6569 13.6569C15.1571 12.1566 16 10.1217 16 8C16 6.94943 15.7931 5.90914 15.391 4.93853C14.989 3.96793 14.3997 3.08601 13.6569 2.34315C12.914 1.60028 12.0321 1.011 11.0615 0.608964C10.0909 0.206926 9.05058 0 8 0ZM8.8 4H7.2V7.2H4V8.8H7.2V12H8.8V8.8H12V7.2H8.8V4Z", fill: "currentColor" })), yn = (e) => /* @__PURE__ */ C.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M19 3H5C3.89543 3 3 3.89543 3 5V19C3 20.1046 3.89543 21 5 21H19C20.1046 21 21 20.1046 21 19V5C21 3.89543 20.1046 3 19 3Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M12 8V16", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M8 12H16", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), wn = (e) => /* @__PURE__ */ C.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M4.5 10.2222C4.5 10.2222 6.18841 7.79397 7.56007 6.34511C8.93174 4.89624 10.8272 4 12.9211 4C17.1068 4 20.5 7.58172 20.5 12C20.5 16.4183 17.1068 20 12.9211 20C9.46582 20 6.55062 17.5594 5.63833 14.2222M4.5 10.2222V4.88889M4.5 10.2222H9.55263", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Cn = (e) => /* @__PURE__ */ C.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M16.4444 20L7.55556 19.9998M16.4444 20L17.1583 19.9998C18.152 19.9998 18.6489 19.9998 19.0288 19.8063C19.3633 19.6358 19.636 19.3637 19.8064 19.0292C20 18.6493 20 18.1519 20 17.1582V9.52843C20 9.12948 20 8.92902 19.9575 8.73866C19.9195 8.56884 19.8571 8.40575 19.7717 8.25413C19.677 8.08595 19.544 7.93822 19.2826 7.64777L16.8335 4.92658C16.5306 4.58998 16.377 4.41938 16.1927 4.29687C16.0269 4.18667 15.8438 4.10541 15.6509 4.05588C15.4333 4 15.1998 4 14.7334 4H6.84462C5.84897 4 5.35077 4 4.97049 4.19376C4.63598 4.3642 4.36421 4.63597 4.19377 4.97048C4 5.35076 4 5.84895 4 6.84459V17.1556C4 18.1512 4 18.6484 4.19377 19.0286C4.36421 19.3631 4.63598 19.6358 4.97049 19.8063C5.3504 19.9998 5.84799 19.9998 6.8417 19.9998H7.55556M16.4444 20V16.6193C16.4444 15.6256 16.4444 15.1281 16.2509 14.7481C16.0804 14.4136 15.8077 14.1419 15.4732 13.9714C15.093 13.7777 14.5958 13.7777 13.6002 13.7777H10.4002C9.40452 13.7777 8.90633 13.7777 8.52604 13.9714C8.19153 14.1419 7.91976 14.4136 7.74932 14.7481C7.55556 15.1284 7.55556 15.6266 7.55556 16.6223V19.9998M14.6667 7.55552H9.33333", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), kn = (e) => /* @__PURE__ */ C.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M12 15.275L6 9.275L7.275 8L12 12.725L16.725 8L18 9.275L12 15.275Z", fill: "currentColor" })), Tn = (e) => /* @__PURE__ */ C.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 17 17", fill: "none", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M4.88889 10.6667L7.05556 8.5L4.88889 6.33333M9.22222 10.6667H12.1111M5.46667 15H11.5333C12.7468 15 13.3535 15 13.817 14.7638C14.2247 14.5561 14.5561 14.2247 14.7638 13.817C15 13.3535 15 12.7468 15 11.5333V5.46667C15 4.25322 15 3.6465 14.7638 3.18302C14.5561 2.77534 14.2247 2.44388 13.817 2.23615C13.3535 2 12.7468 2 11.5333 2H5.46667C4.25322 2 3.6465 2 3.18302 2.23615C2.77534 2.44388 2.44388 2.77534 2.23615 3.18302C2 3.6465 2 4.25322 2 5.46667V11.5333C2 12.7468 2 13.3535 2.23615 13.817C2.44388 14.2247 2.77534 14.5561 3.18302 14.7638C3.6465 15 4.25322 15 5.46667 15Z", stroke: "currentColor", strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })), Nn = (e) => /* @__PURE__ */ C.createElement("svg", { className: "stpr-icon", xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", fill: "none", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M3 6H5H21", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M19 6V20C19 20.5304 18.7893 21.0391 18.4142 21.4142C18.0391 21.7893 17.5304 22 17 22H7C6.46957 22 5.96086 21.7893 5.58579 21.4142C5.21071 21.0391 5 20.5304 5 20V6M8 6V4C8 3.46957 8.21071 2.96086 8.58579 2.58579C8.96086 2.21071 9.46957 2 10 2H14C14.5304 2 15.0391 2.21071 15.4142 2.58579C15.7893 2.96086 16 3.46957 16 4V6", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M10 11V17", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M14 11V17", stroke: "currentColor", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), En = (e) => /* @__PURE__ */ C.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "-2 -2 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M2 10V17C2 17.5304 2.21071 18.0391 2.58579 18.4142C2.96086 18.7893 3.46957 19 4 19H16C16.5304 19 17.0391 18.7893 17.4142 18.4142C17.7893 18.0391 18 17.5304 18 17V10", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M14 5L10 1L6 5", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }), /* @__PURE__ */ C.createElement("path", { d: "M10 2V13", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" })), Sn = (e) => /* @__PURE__ */ C.createElement("svg", { className: "stpr-icon", width: 24, height: 24, viewBox: "0 0 26 26", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ C.createElement("path", { d: "M12.971 2.24023L25.8228 24.5002H0.119141L12.971 2.24023Z", fill: "#002A64" }), /* @__PURE__ */ C.createElement("path", { d: "M13.0835 4.20023L25.2079 25.2002H0.959141L13.0835 4.20023Z", fill: "#036BFD" }), /* @__PURE__ */ C.createElement("path", { d: "M14.3991 21.0002H11.8791V23.5202H14.3991V21.0002Z", fill: "#F5F5F7" }), /* @__PURE__ */ C.createElement("path", { d: "M14.3991 10.6402H11.8791V19.8802H14.3991V10.6402Z", fill: "#F5F5F7" }));
|
|
19
19
|
var D = /* @__PURE__ */ ((e) => (e.ChevronDown = "chevronDown", e.Info = "info", e.Plus = "plus", e.SelectChevronDown = "selectChevronDown", e.Upload = "upload", e.Trash = "trash", e.Check = "check", e.Copy = "copy", e.Close = "close", e.PlusSquare = "plusSquare", e.PlusCircle = "plusCircle", e.WarningColor = "warningColor", e.Dots = "dots", e.HistoryClock = "historyClock", e.Minus = "minus", e.TerminalSquare = "terminalSquare", e.File = "file", e.InfoError = "infoError", e.Save = "save", e.Refresh = "refresh", e.Logout = "logout", e.Edit = "edit", e.Download = "download", e.AddUser = "addUser", e.AddFile = "addFile", e))(D || {});
|
|
20
|
-
const
|
|
20
|
+
const me = (e) => {
|
|
21
21
|
const { name: t, rotate: o, ...n } = e, a = {
|
|
22
22
|
...n,
|
|
23
23
|
transform: o ? `rotate(${o}deg)` : ""
|
|
@@ -52,7 +52,7 @@ const de = (e) => {
|
|
|
52
52
|
...n,
|
|
53
53
|
style: a
|
|
54
54
|
});
|
|
55
|
-
}, In = "_spAccordion_14avc_43", Ln = "_spAccordion_noBorder_14avc_60", jn = "_spAccordion_noPadding_14avc_63", Rn = "_spAccordion_open_14avc_66", An = "_spAccordion__header_14avc_69", Fn = "_spAccordion_noOpen_14avc_88", Bn = "_spAccordion__name_14avc_99", Dn = "_spAccordion__name_hiddenExpand_14avc_110", Mn = "_spAccordion__icon_14avc_125", Pn = "_spAccordion__icon_hidden_14avc_131", On = "_spAccordion__icon_open_14avc_134", Wn = "_spAccordion__childrenWrapper_14avc_141", zn = "_spAccordion__childrenWrapper_open_14avc_150", Un = "_spAccordion__content_14avc_153", qn = "_spAccordion__content_open_14avc_159",
|
|
55
|
+
}, In = "_spAccordion_14avc_43", Ln = "_spAccordion_noBorder_14avc_60", jn = "_spAccordion_noPadding_14avc_63", Rn = "_spAccordion_open_14avc_66", An = "_spAccordion__header_14avc_69", Fn = "_spAccordion_noOpen_14avc_88", Bn = "_spAccordion__name_14avc_99", Dn = "_spAccordion__name_hiddenExpand_14avc_110", Mn = "_spAccordion__icon_14avc_125", Pn = "_spAccordion__icon_hidden_14avc_131", On = "_spAccordion__icon_open_14avc_134", Wn = "_spAccordion__childrenWrapper_14avc_141", zn = "_spAccordion__childrenWrapper_open_14avc_150", Un = "_spAccordion__content_14avc_153", qn = "_spAccordion__content_open_14avc_159", de = {
|
|
56
56
|
spAccordion: In,
|
|
57
57
|
spAccordion_noBorder: Ln,
|
|
58
58
|
spAccordion_noPadding: jn,
|
|
@@ -84,41 +84,41 @@ const de = (e) => {
|
|
|
84
84
|
classNameHeader: d,
|
|
85
85
|
classNameTitle: u,
|
|
86
86
|
classNameIcon: g,
|
|
87
|
-
classNameChildrenWrapper:
|
|
88
|
-
} = e, [x,
|
|
89
|
-
a || (i == null || i(!x),
|
|
87
|
+
classNameChildrenWrapper: b
|
|
88
|
+
} = e, [x, h] = ne(n), S = () => {
|
|
89
|
+
a || (i == null || i(!x), h(!x));
|
|
90
90
|
}, j = _({
|
|
91
|
-
[
|
|
92
|
-
[
|
|
93
|
-
[
|
|
94
|
-
[
|
|
95
|
-
[
|
|
91
|
+
[de.spAccordion]: !0,
|
|
92
|
+
[de.spAccordion_open]: x,
|
|
93
|
+
[de.spAccordion_noOpen]: !x,
|
|
94
|
+
[de.spAccordion_noBorder]: r,
|
|
95
|
+
[de.spAccordion_noPadding]: s,
|
|
96
96
|
...l && { [l]: !0 }
|
|
97
97
|
}), z = _({
|
|
98
|
-
[
|
|
98
|
+
[de.spAccordion__header]: !0,
|
|
99
99
|
...d && { [d]: !0 }
|
|
100
100
|
}), R = _({
|
|
101
|
-
[
|
|
102
|
-
[
|
|
103
|
-
[
|
|
101
|
+
[de.spAccordion__name]: !0,
|
|
102
|
+
[de[`spAccordion__name--level-${p}`]]: p,
|
|
103
|
+
[de.spAccordion__name_hiddenExpand]: a,
|
|
104
104
|
...u && { [u]: !0 }
|
|
105
105
|
}), w = _({
|
|
106
|
-
[
|
|
107
|
-
[
|
|
108
|
-
[
|
|
106
|
+
[de.spAccordion__icon]: !0,
|
|
107
|
+
[de.spAccordion__icon_open]: x,
|
|
108
|
+
[de.spAccordion__icon_hidden]: a,
|
|
109
109
|
...g && { [g]: !0 }
|
|
110
110
|
}), m = _({
|
|
111
|
-
[
|
|
112
|
-
[
|
|
113
|
-
...
|
|
111
|
+
[de.spAccordion__childrenWrapper]: !0,
|
|
112
|
+
[de.spAccordion__childrenWrapper_open]: x,
|
|
113
|
+
...b && { [b]: !0 }
|
|
114
114
|
}), N = _({
|
|
115
|
-
[
|
|
116
|
-
[
|
|
115
|
+
[de.spAccordion__content]: !0,
|
|
116
|
+
[de.spAccordion__content_open]: x
|
|
117
117
|
});
|
|
118
118
|
return /* @__PURE__ */ W("div", { className: j, children: [
|
|
119
119
|
/* @__PURE__ */ W("div", { className: z, children: [
|
|
120
|
-
/* @__PURE__ */ c("div", { className: R, children: /* @__PURE__ */ c("span", { onClick:
|
|
121
|
-
/* @__PURE__ */ c(
|
|
120
|
+
/* @__PURE__ */ c("div", { className: R, children: /* @__PURE__ */ c("span", { onClick: S, children: t }) }),
|
|
121
|
+
/* @__PURE__ */ c(me, { onClick: S, className: w, name: D.ChevronDown })
|
|
122
122
|
] }),
|
|
123
123
|
/* @__PURE__ */ c("div", { className: m, children: /* @__PURE__ */ c("div", { className: N, children: o }) })
|
|
124
124
|
] });
|
|
@@ -169,10 +169,10 @@ const de = (e) => {
|
|
|
169
169
|
iconPosition: d = "start",
|
|
170
170
|
form: u,
|
|
171
171
|
children: g,
|
|
172
|
-
loading:
|
|
172
|
+
loading: b = !1,
|
|
173
173
|
isFullWidth: x = !1,
|
|
174
|
-
isOnlyIcon:
|
|
175
|
-
noPadding:
|
|
174
|
+
isOnlyIcon: h = !1,
|
|
175
|
+
noPadding: S = !1,
|
|
176
176
|
classNameRoot: j,
|
|
177
177
|
classNameTextRoot: z,
|
|
178
178
|
classNameIconContainerRoot: R
|
|
@@ -185,21 +185,21 @@ const de = (e) => {
|
|
|
185
185
|
}), q = _({
|
|
186
186
|
[Ce.spButton__iconContainer]: !0,
|
|
187
187
|
...R && { [R]: !0 }
|
|
188
|
-
}),
|
|
188
|
+
}), Y = () => b ? /* @__PURE__ */ c("div", { className: q, children: /* @__PURE__ */ c(Dt, { size: "md", classNameRoot: Ce.spButton__spinner }) }) : i ? /* @__PURE__ */ c("div", { className: q, children: /* @__PURE__ */ c(me, { name: i, rotate: s }) }) : r ? /* @__PURE__ */ c("div", { className: q, children: r }) : null;
|
|
189
189
|
return /* @__PURE__ */ W($e, { children: [
|
|
190
|
-
d === "start" &&
|
|
191
|
-
!
|
|
192
|
-
d === "end" &&
|
|
190
|
+
d === "start" && Y(),
|
|
191
|
+
!h && g && /* @__PURE__ */ c("div", { className: O, children: g }),
|
|
192
|
+
d === "end" && Y()
|
|
193
193
|
] });
|
|
194
194
|
}, N = _({
|
|
195
195
|
[Ce.spButton]: !0,
|
|
196
|
-
[Ce.spButton_noPadding]:
|
|
197
|
-
[Ce.spButton_onlyIcon]:
|
|
196
|
+
[Ce.spButton_noPadding]: S,
|
|
197
|
+
[Ce.spButton_onlyIcon]: h,
|
|
198
198
|
[Ce[`spButton_${o}`]]: o,
|
|
199
199
|
[Ce[`spButton_${t}`]]: t,
|
|
200
200
|
[Ce.spButton_fullWidth]: x,
|
|
201
201
|
[Ce.spButton_disabled]: p,
|
|
202
|
-
[Ce.spButton_loading]:
|
|
202
|
+
[Ce.spButton_loading]: b,
|
|
203
203
|
...j && { [j]: !0 }
|
|
204
204
|
});
|
|
205
205
|
return /* @__PURE__ */ c(
|
|
@@ -237,25 +237,29 @@ const de = (e) => {
|
|
|
237
237
|
onClose: d,
|
|
238
238
|
submit: u,
|
|
239
239
|
loading: g,
|
|
240
|
-
cancelBtnVariant:
|
|
241
|
-
submitBtnVariant: x = "primary"
|
|
242
|
-
|
|
240
|
+
cancelBtnVariant: b = "secondary",
|
|
241
|
+
submitBtnVariant: x = "primary",
|
|
242
|
+
cancelBtnClassName: h,
|
|
243
|
+
submitBtnClassName: S
|
|
244
|
+
} = e, j = _({
|
|
243
245
|
[ze.spApplyButtons]: !0,
|
|
244
246
|
[ze[`spApplyButtons_mobile-${t}`]]: t,
|
|
245
247
|
[ze[`spApplyButtons_align-${o}`]]: o
|
|
246
|
-
}),
|
|
247
|
-
[ze.spApplyButtons__submit]: !0
|
|
248
|
-
|
|
249
|
-
|
|
248
|
+
}), z = _({
|
|
249
|
+
[ze.spApplyButtons__submit]: !0,
|
|
250
|
+
...S && { [S]: !0 }
|
|
251
|
+
}), R = _({
|
|
252
|
+
[ze.spApplyButtons__cancel]: !0,
|
|
253
|
+
...h && { [h]: !0 }
|
|
250
254
|
});
|
|
251
|
-
return /* @__PURE__ */ W("div", { className:
|
|
255
|
+
return /* @__PURE__ */ W("div", { className: j, children: [
|
|
252
256
|
d && /* @__PURE__ */ c(
|
|
253
257
|
tt,
|
|
254
258
|
{
|
|
255
259
|
type: "button",
|
|
256
|
-
variant:
|
|
260
|
+
variant: b,
|
|
257
261
|
iconName: a,
|
|
258
|
-
classNameRoot:
|
|
262
|
+
classNameRoot: R,
|
|
259
263
|
disabled: r,
|
|
260
264
|
onClick: d,
|
|
261
265
|
children: n
|
|
@@ -267,7 +271,7 @@ const de = (e) => {
|
|
|
267
271
|
type: "submit",
|
|
268
272
|
variant: x,
|
|
269
273
|
iconName: i,
|
|
270
|
-
classNameRoot:
|
|
274
|
+
classNameRoot: z,
|
|
271
275
|
form: p || void 0,
|
|
272
276
|
disabled: l,
|
|
273
277
|
onClick: u,
|
|
@@ -277,7 +281,7 @@ const de = (e) => {
|
|
|
277
281
|
)
|
|
278
282
|
] });
|
|
279
283
|
}, $p = (e = {}) => {
|
|
280
|
-
const { initialValue: t = null } = e, [o, n] =
|
|
284
|
+
const { initialValue: t = null } = e, [o, n] = ne(t);
|
|
281
285
|
return {
|
|
282
286
|
isOpen: !!o,
|
|
283
287
|
modalData: o,
|
|
@@ -297,7 +301,7 @@ const de = (e) => {
|
|
|
297
301
|
}
|
|
298
302
|
};
|
|
299
303
|
}, bo = ({ children: e, node: t, classNameRoot: o }) => {
|
|
300
|
-
const [n, a] =
|
|
304
|
+
const [n, a] = ne(null);
|
|
301
305
|
return re(() => {
|
|
302
306
|
if (t) {
|
|
303
307
|
a(t);
|
|
@@ -350,7 +354,7 @@ const de = (e) => {
|
|
|
350
354
|
isCursorPointer: l = !1,
|
|
351
355
|
isCursorPointerByOnClick: d = !0,
|
|
352
356
|
classNameRoot: u
|
|
353
|
-
} = e, g = () => s && d ? !0 : l,
|
|
357
|
+
} = e, g = () => s && d ? !0 : l, b = _({
|
|
354
358
|
[Xe.spText]: !0,
|
|
355
359
|
[Xe.spText_ellipsis]: p,
|
|
356
360
|
[Xe.spText_cursorPointer]: g(),
|
|
@@ -363,7 +367,7 @@ const de = (e) => {
|
|
|
363
367
|
style: { ...r, color: a },
|
|
364
368
|
title: i,
|
|
365
369
|
onClick: (x) => s && s(x),
|
|
366
|
-
className:
|
|
370
|
+
className: b,
|
|
367
371
|
ref: t,
|
|
368
372
|
children: n
|
|
369
373
|
}
|
|
@@ -404,13 +408,13 @@ const ua = "_modalWrapper_1pg9r_43", _a = "_modalWrapper__modal_1pg9r_63", fa =
|
|
|
404
408
|
onClose: d,
|
|
405
409
|
header: u,
|
|
406
410
|
subHeader: g,
|
|
407
|
-
footer:
|
|
411
|
+
footer: b,
|
|
408
412
|
size: x = "lg"
|
|
409
|
-
} = e,
|
|
413
|
+
} = e, h = _({
|
|
410
414
|
[ge.modalWrapper]: !0,
|
|
411
415
|
[ge[`modalWrapper--modalVerticalAlign-${p}`]]: p,
|
|
412
416
|
[ge[`modalWrapper--textAlign-${l}`]]: l
|
|
413
|
-
}),
|
|
417
|
+
}), S = _({
|
|
414
418
|
[ge.modalWrapper__modal]: !0,
|
|
415
419
|
[ge[`modalWrapper__modal--size-${x}`]]: x,
|
|
416
420
|
...r && { [r]: !0 }
|
|
@@ -430,13 +434,13 @@ const ua = "_modalWrapper_1pg9r_43", _a = "_modalWrapper__modal_1pg9r_63", fa =
|
|
|
430
434
|
}), N = _({
|
|
431
435
|
[ge.modalWrapper__footer]: !0
|
|
432
436
|
});
|
|
433
|
-
return /* @__PURE__ */ c(yo, { zIndex: t, isHiddenModal: o, classNameRoot: i, children: /* @__PURE__ */ c("div", { className:
|
|
437
|
+
return /* @__PURE__ */ c(yo, { zIndex: t, isHiddenModal: o, classNameRoot: i, children: /* @__PURE__ */ c("div", { className: h, children: /* @__PURE__ */ W("div", { className: S, style: s, children: [
|
|
434
438
|
(u || g) && /* @__PURE__ */ W("div", { className: w, children: [
|
|
435
439
|
typeof u == "string" ? /* @__PURE__ */ c(Ee, { type: "h3", children: u }) : u,
|
|
436
440
|
g && /* @__PURE__ */ c("div", { className: m, children: typeof g == "string" ? /* @__PURE__ */ c(Ee, { children: g }) : g })
|
|
437
441
|
] }),
|
|
438
442
|
a && /* @__PURE__ */ c("div", { className: R, children: a }),
|
|
439
|
-
|
|
443
|
+
b && /* @__PURE__ */ c("div", { className: N, children: b }),
|
|
440
444
|
n && d && /* @__PURE__ */ c(
|
|
441
445
|
tt,
|
|
442
446
|
{
|
|
@@ -464,10 +468,10 @@ const ua = "_modalWrapper_1pg9r_43", _a = "_modalWrapper__modal_1pg9r_63", fa =
|
|
|
464
468
|
disabled: d,
|
|
465
469
|
formId: u,
|
|
466
470
|
onClose: g,
|
|
467
|
-
applyButtonsMobileDirection:
|
|
471
|
+
applyButtonsMobileDirection: b = "column",
|
|
468
472
|
applyButtonsAlign: x = "right",
|
|
469
|
-
modalVerticalAlign:
|
|
470
|
-
textAlign:
|
|
473
|
+
modalVerticalAlign: h = "top",
|
|
474
|
+
textAlign: S = "left",
|
|
471
475
|
loading: j,
|
|
472
476
|
isVisibleCloseButton: z,
|
|
473
477
|
isHiddenModal: R,
|
|
@@ -475,7 +479,9 @@ const ua = "_modalWrapper_1pg9r_43", _a = "_modalWrapper__modal_1pg9r_63", fa =
|
|
|
475
479
|
classNameRoot: m,
|
|
476
480
|
classNameLayerRoot: N,
|
|
477
481
|
submitBtnVariant: O,
|
|
478
|
-
cancelBtnVariant: q
|
|
482
|
+
cancelBtnVariant: q,
|
|
483
|
+
submitBtnClassName: Y,
|
|
484
|
+
cancelBtnClassName: oe
|
|
479
485
|
} = e;
|
|
480
486
|
return /* @__PURE__ */ c(
|
|
481
487
|
ya,
|
|
@@ -483,8 +489,8 @@ const ua = "_modalWrapper_1pg9r_43", _a = "_modalWrapper__modal_1pg9r_63", fa =
|
|
|
483
489
|
zIndex: t,
|
|
484
490
|
header: o,
|
|
485
491
|
onClose: g,
|
|
486
|
-
modalVerticalAlign:
|
|
487
|
-
textAlign:
|
|
492
|
+
modalVerticalAlign: h,
|
|
493
|
+
textAlign: S,
|
|
488
494
|
subHeader: n,
|
|
489
495
|
isVisibleCloseButton: z,
|
|
490
496
|
isHiddenModal: R,
|
|
@@ -494,7 +500,9 @@ const ua = "_modalWrapper_1pg9r_43", _a = "_modalWrapper__modal_1pg9r_63", fa =
|
|
|
494
500
|
footer: a || r || s || p ? /* @__PURE__ */ c(
|
|
495
501
|
sa,
|
|
496
502
|
{
|
|
497
|
-
|
|
503
|
+
submitBtnClassName: Y,
|
|
504
|
+
cancelBtnClassName: oe,
|
|
505
|
+
applyButtonsMobileDirection: b,
|
|
498
506
|
applyButtonsAlign: x,
|
|
499
507
|
cancelBtnContent: a,
|
|
500
508
|
cancelBtnIconName: r,
|
|
@@ -521,7 +529,7 @@ const ua = "_modalWrapper_1pg9r_43", _a = "_modalWrapper__modal_1pg9r_63", fa =
|
|
|
521
529
|
authButtonText: i = "Авторизоваться",
|
|
522
530
|
confirmSize: r = "md",
|
|
523
531
|
zIndex: s = 999
|
|
524
|
-
} = e, [p, l] =
|
|
532
|
+
} = e, [p, l] = ne(o);
|
|
525
533
|
return re(() => {
|
|
526
534
|
l(o);
|
|
527
535
|
}, [o]), /* @__PURE__ */ W($e, { children: [
|
|
@@ -592,7 +600,7 @@ const Na = "_spBreadcrumb_8fr8j_43", Ea = "_spBreadcrumb__list_8fr8j_46", Sa = "
|
|
|
592
600
|
),
|
|
593
601
|
children: [
|
|
594
602
|
/* @__PURE__ */ c("span", { title: r, className: Me.spBreadcrumb__listItem__text, onClick: s, children: r }),
|
|
595
|
-
/* @__PURE__ */ c("div", { className: Me.spBreadcrumb__listItem__separator, children: /* @__PURE__ */ c(
|
|
603
|
+
/* @__PURE__ */ c("div", { className: Me.spBreadcrumb__listItem__separator, children: /* @__PURE__ */ c(me, { name: D.SelectChevronDown, rotate: -90 }) })
|
|
596
604
|
]
|
|
597
605
|
},
|
|
598
606
|
l
|
|
@@ -628,23 +636,23 @@ const it = (e) => {
|
|
|
628
636
|
text: d,
|
|
629
637
|
noPadding: u,
|
|
630
638
|
classNameBaseTooltipRoot: g,
|
|
631
|
-
classNameBaseTooltipContentRoot:
|
|
639
|
+
classNameBaseTooltipContentRoot: b,
|
|
632
640
|
styleTooltip: x
|
|
633
|
-
} = e, [
|
|
641
|
+
} = e, [h, S] = ne(!1), j = ve(null), z = ve(null), [R, w] = ne(!1);
|
|
634
642
|
Co(
|
|
635
643
|
[j, z],
|
|
636
644
|
() => {
|
|
637
|
-
s && s(),
|
|
645
|
+
s && s(), S(!1);
|
|
638
646
|
},
|
|
639
|
-
|
|
647
|
+
h
|
|
640
648
|
);
|
|
641
649
|
const m = (T) => {
|
|
642
|
-
n && T.stopPropagation(), !t && (
|
|
643
|
-
}, [N, O] =
|
|
650
|
+
n && T.stopPropagation(), !t && (h ? s && s() : r && r(), S((M) => o ? !M : !0));
|
|
651
|
+
}, [N, O] = ne({
|
|
644
652
|
visibility: "hidden",
|
|
645
653
|
opacity: 0,
|
|
646
654
|
left: "-9999px"
|
|
647
|
-
}), [q,
|
|
655
|
+
}), [q, Y] = ne(!1), oe = he(() => {
|
|
648
656
|
if (!j.current || !z.current) return;
|
|
649
657
|
const T = j.current.getBoundingClientRect(), M = z.current.getBoundingClientRect();
|
|
650
658
|
let $ = 0, K = 0;
|
|
@@ -692,24 +700,24 @@ const it = (e) => {
|
|
|
692
700
|
...ee,
|
|
693
701
|
top: `${$}px`,
|
|
694
702
|
left: `${K}px`,
|
|
695
|
-
visibility:
|
|
696
|
-
opacity:
|
|
703
|
+
visibility: h || q ? "visible" : "hidden",
|
|
704
|
+
opacity: h || q ? 1 : 0
|
|
697
705
|
}));
|
|
698
|
-
}, [l,
|
|
706
|
+
}, [l, h, q]);
|
|
699
707
|
re(() => (w(!0), () => w(!1)), []), re(() => {
|
|
700
|
-
R &&
|
|
701
|
-
}, [R,
|
|
708
|
+
R && oe();
|
|
709
|
+
}, [R, oe]), re(() => {
|
|
702
710
|
if (!R) return;
|
|
703
|
-
const T = () =>
|
|
711
|
+
const T = () => oe();
|
|
704
712
|
return window.addEventListener("resize", T), window.addEventListener("scroll", T, !0), () => {
|
|
705
713
|
window.removeEventListener("resize", T), window.removeEventListener("scroll", T, !0);
|
|
706
714
|
};
|
|
707
|
-
}, [R,
|
|
708
|
-
const
|
|
715
|
+
}, [R, oe]);
|
|
716
|
+
const le = _({
|
|
709
717
|
...g && { [g]: !0 }
|
|
710
718
|
}), ue = _({
|
|
711
|
-
...
|
|
712
|
-
}),
|
|
719
|
+
...b && { [b]: !0 }
|
|
720
|
+
}), ce = _({
|
|
713
721
|
[ko.spTooltip]: !0,
|
|
714
722
|
...p && { [p]: !0 }
|
|
715
723
|
}), Z = document.body;
|
|
@@ -717,10 +725,10 @@ const it = (e) => {
|
|
|
717
725
|
"div",
|
|
718
726
|
{
|
|
719
727
|
ref: j,
|
|
720
|
-
className:
|
|
728
|
+
className: ce,
|
|
721
729
|
onClick: m,
|
|
722
|
-
onMouseEnter: () => t &&
|
|
723
|
-
onMouseLeave: () => t &&
|
|
730
|
+
onMouseEnter: () => t && Y(!0),
|
|
731
|
+
onMouseLeave: () => t && Y(!1),
|
|
724
732
|
style: x,
|
|
725
733
|
children: [
|
|
726
734
|
i,
|
|
@@ -731,7 +739,7 @@ const it = (e) => {
|
|
|
731
739
|
ref: z,
|
|
732
740
|
noPadding: u,
|
|
733
741
|
text: d,
|
|
734
|
-
classNameRoot:
|
|
742
|
+
classNameRoot: le,
|
|
735
743
|
classNameContentRoot: ue
|
|
736
744
|
}
|
|
737
745
|
) })
|
|
@@ -748,7 +756,7 @@ const it = (e) => {
|
|
|
748
756
|
{
|
|
749
757
|
...e,
|
|
750
758
|
classNameTooltip: o,
|
|
751
|
-
trigger: /* @__PURE__ */ c(
|
|
759
|
+
trigger: /* @__PURE__ */ c(me, { name: D.Info })
|
|
752
760
|
}
|
|
753
761
|
);
|
|
754
762
|
}, Fa = "_spCheckbox_14zra_43", Ba = "_spCheckbox__control_14zra_49", Da = "_spCheckbox__label_14zra_52", Ma = "_spCheckbox__box_14zra_63", Pa = "_spCheckbox__box_disabled_14zra_74", Oa = "_spCheckbox__box_error_14zra_79", Wa = "_spCheckbox__box__checkmark_14zra_85", za = "_spCheckbox__box__innerSquare_14zra_105", Ua = "_spCheckbox__box__innerSquare_checked_14zra_121", qa = "_spCheckbox__tooltip_14zra_125", $a = "_spCheckbox__required_14zra_129", Ha = "_spCheckbox__error_14zra_135", xe = {
|
|
@@ -782,12 +790,12 @@ const it = (e) => {
|
|
|
782
790
|
tooltipPosition: d,
|
|
783
791
|
infoTooltipText: u,
|
|
784
792
|
onMouseEnter: g,
|
|
785
|
-
classNameRoot:
|
|
793
|
+
classNameRoot: b,
|
|
786
794
|
classNameError: x
|
|
787
|
-
} = e,
|
|
795
|
+
} = e, h = _({
|
|
788
796
|
[xe.spCheckbox]: !0,
|
|
789
|
-
...
|
|
790
|
-
}),
|
|
797
|
+
...b && { [b]: !0 }
|
|
798
|
+
}), S = _({
|
|
791
799
|
[xe.spCheckbox__box]: !0,
|
|
792
800
|
[xe.spCheckbox__box_disabled]: n,
|
|
793
801
|
[xe.spCheckbox__box_error]: s
|
|
@@ -810,16 +818,16 @@ const it = (e) => {
|
|
|
810
818
|
}), O = _({
|
|
811
819
|
[xe.spCheckbox__tooltip]: !0
|
|
812
820
|
});
|
|
813
|
-
return /* @__PURE__ */ W("div", { className:
|
|
814
|
-
/* @__PURE__ */ W("label", { className:
|
|
821
|
+
return /* @__PURE__ */ W("div", { className: h, onMouseEnter: g, children: [
|
|
822
|
+
/* @__PURE__ */ W("label", { className: S, children: [
|
|
815
823
|
/* @__PURE__ */ c(
|
|
816
824
|
"input",
|
|
817
825
|
{
|
|
818
826
|
type: "checkbox",
|
|
819
827
|
className: R,
|
|
820
828
|
checked: o,
|
|
821
|
-
onChange: (
|
|
822
|
-
!n && a && a(
|
|
829
|
+
onChange: (Y) => {
|
|
830
|
+
!n && a && a(Y, { name: i, checked: !o, value: p });
|
|
823
831
|
}
|
|
824
832
|
}
|
|
825
833
|
),
|
|
@@ -852,7 +860,7 @@ const it = (e) => {
|
|
|
852
860
|
t && t(i);
|
|
853
861
|
},
|
|
854
862
|
children: [
|
|
855
|
-
(i == null ? void 0 : i.iconName) && /* @__PURE__ */ c(
|
|
863
|
+
(i == null ? void 0 : i.iconName) && /* @__PURE__ */ c(me, { name: i.iconName }),
|
|
856
864
|
i.label
|
|
857
865
|
]
|
|
858
866
|
},
|
|
@@ -894,29 +902,29 @@ const it = (e) => {
|
|
|
894
902
|
[Se.spDropdown__dropdownListHeader]: !0
|
|
895
903
|
}), u = _({
|
|
896
904
|
[Se.spDropdown__downloadListItemDescription]: !0
|
|
897
|
-
}), [g,
|
|
905
|
+
}), [g, b] = ne(!1);
|
|
898
906
|
return /* @__PURE__ */ c(
|
|
899
907
|
it,
|
|
900
908
|
{
|
|
901
909
|
hover: !1,
|
|
902
|
-
triggerAction: () =>
|
|
903
|
-
actionOnClose: () =>
|
|
910
|
+
triggerAction: () => b(!0),
|
|
911
|
+
actionOnClose: () => b(!1),
|
|
904
912
|
text: /* @__PURE__ */ W("div", { className: l, children: [
|
|
905
913
|
o && /* @__PURE__ */ c("div", { className: d, children: o }),
|
|
906
|
-
n.map((
|
|
914
|
+
n.map((h, S) => /* @__PURE__ */ W(
|
|
907
915
|
"div",
|
|
908
916
|
{
|
|
909
917
|
className: _({
|
|
910
918
|
[Se.spDropdown__dopdownListItem]: !0,
|
|
911
|
-
[Se.spDropdown__dopdownListItem_textCenter]:
|
|
919
|
+
[Se.spDropdown__dopdownListItem_textCenter]: h.textCenter
|
|
912
920
|
}),
|
|
913
|
-
onClick:
|
|
921
|
+
onClick: h.onClick,
|
|
914
922
|
children: [
|
|
915
|
-
|
|
916
|
-
|
|
923
|
+
h.name,
|
|
924
|
+
h.description && /* @__PURE__ */ c("span", { className: u, children: h.description })
|
|
917
925
|
]
|
|
918
926
|
},
|
|
919
|
-
|
|
927
|
+
S
|
|
920
928
|
))
|
|
921
929
|
] }),
|
|
922
930
|
position: a,
|
|
@@ -925,7 +933,7 @@ const it = (e) => {
|
|
|
925
933
|
isStopPropagationClickOnTrigger: !0,
|
|
926
934
|
trigger: /* @__PURE__ */ W("div", { className: r, children: [
|
|
927
935
|
/* @__PURE__ */ c("div", { className: s, children: t }),
|
|
928
|
-
/* @__PURE__ */ c("div", { className: p, children: /* @__PURE__ */ c(
|
|
936
|
+
/* @__PURE__ */ c("div", { className: p, children: /* @__PURE__ */ c(me, { name: D.SelectChevronDown, rotate: g ? 180 : void 0 }) })
|
|
929
937
|
] })
|
|
930
938
|
}
|
|
931
939
|
);
|
|
@@ -945,13 +953,13 @@ const it = (e) => {
|
|
|
945
953
|
classNameBaseTooltipRoot: r,
|
|
946
954
|
defaultTooltipPosition: s,
|
|
947
955
|
...p
|
|
948
|
-
} = e, l = ve(null), d = ve(null), [u, g] =
|
|
956
|
+
} = e, l = ve(null), d = ve(null), [u, g] = ne(!1), b = gt(t), x = b !== t, h = () => {
|
|
949
957
|
l.current && g(l.current.scrollWidth > l.current.clientWidth);
|
|
950
958
|
};
|
|
951
|
-
Xo(() => (
|
|
952
|
-
window.removeEventListener("resize",
|
|
953
|
-
}), [t,
|
|
954
|
-
const
|
|
959
|
+
Xo(() => (h(), window.addEventListener("resize", h), () => {
|
|
960
|
+
window.removeEventListener("resize", h);
|
|
961
|
+
}), [t, b]);
|
|
962
|
+
const S = _({
|
|
955
963
|
[$t.ellipsisTextWithTooltip]: !0,
|
|
956
964
|
...n && { [n]: !0 }
|
|
957
965
|
}), j = _({
|
|
@@ -969,7 +977,7 @@ const it = (e) => {
|
|
|
969
977
|
isVisibleTooltip: u,
|
|
970
978
|
text: t,
|
|
971
979
|
trigger: /* @__PURE__ */ W($e, { children: [
|
|
972
|
-
/* @__PURE__ */ c(Ee, { ...p, classNameRoot:
|
|
980
|
+
/* @__PURE__ */ c(Ee, { ...p, classNameRoot: S, isEllipsis: !0, ref: l, children: t }),
|
|
973
981
|
o && u && x && /* @__PURE__ */ W($e, { children: [
|
|
974
982
|
/* @__PURE__ */ c(
|
|
975
983
|
"div",
|
|
@@ -981,7 +989,7 @@ const it = (e) => {
|
|
|
981
989
|
pointerEvents: "none",
|
|
982
990
|
whiteSpace: "nowrap"
|
|
983
991
|
},
|
|
984
|
-
children: /* @__PURE__ */ c(Ee, { ...p, classNameRoot:
|
|
992
|
+
children: /* @__PURE__ */ c(Ee, { ...p, classNameRoot: S, children: gt(t) })
|
|
985
993
|
}
|
|
986
994
|
),
|
|
987
995
|
/* @__PURE__ */ c(
|
|
@@ -989,7 +997,7 @@ const it = (e) => {
|
|
|
989
997
|
{
|
|
990
998
|
style: { width: "fit-content" },
|
|
991
999
|
...p,
|
|
992
|
-
classNameRoot:
|
|
1000
|
+
classNameRoot: S,
|
|
993
1001
|
children: gt(t)
|
|
994
1002
|
}
|
|
995
1003
|
)
|
|
@@ -1088,10 +1096,10 @@ const it = (e) => {
|
|
|
1088
1096
|
name: d,
|
|
1089
1097
|
isClearable: u,
|
|
1090
1098
|
pattern: g,
|
|
1091
|
-
onMouseEnter:
|
|
1099
|
+
onMouseEnter: b,
|
|
1092
1100
|
infoTooltipText: x,
|
|
1093
|
-
tooltipPosition:
|
|
1094
|
-
isVisibleDefaultTitle:
|
|
1101
|
+
tooltipPosition: h,
|
|
1102
|
+
isVisibleDefaultTitle: S = !0,
|
|
1095
1103
|
placeholder: j = "Введите...",
|
|
1096
1104
|
classNameRoot: z,
|
|
1097
1105
|
classNameError: R,
|
|
@@ -1105,20 +1113,20 @@ const it = (e) => {
|
|
|
1105
1113
|
...z && { [z]: !0 }
|
|
1106
1114
|
}), q = _({
|
|
1107
1115
|
[ke.spInput__container]: !0
|
|
1108
|
-
}),
|
|
1116
|
+
}), Y = _({
|
|
1109
1117
|
[ke.spInput__control]: !0,
|
|
1110
1118
|
[ke.spInput__control_disabled]: r,
|
|
1111
1119
|
[ke[`spInput__control_${i}`]]: i,
|
|
1112
1120
|
[ke.spInput__control_clearable]: u
|
|
1113
|
-
}),
|
|
1121
|
+
}), oe = _({
|
|
1114
1122
|
[ke.spInput__clear]: !0
|
|
1115
|
-
}),
|
|
1123
|
+
}), le = _({
|
|
1116
1124
|
[ke.spInput__error]: !0,
|
|
1117
1125
|
[ke.spInput__error_absolutePosition]: s,
|
|
1118
1126
|
...R && { [R]: !0 }
|
|
1119
1127
|
}), ue = _({
|
|
1120
1128
|
...w && { [w]: !0 }
|
|
1121
|
-
}),
|
|
1129
|
+
}), ce = (M) => {
|
|
1122
1130
|
n(M, { name: d, value: "" });
|
|
1123
1131
|
}, Z = (M) => {
|
|
1124
1132
|
const { value: $, name: K } = M.target;
|
|
@@ -1129,14 +1137,14 @@ const it = (e) => {
|
|
|
1129
1137
|
Mt,
|
|
1130
1138
|
{
|
|
1131
1139
|
classNameRoot: ue,
|
|
1132
|
-
tooltipPosition:
|
|
1140
|
+
tooltipPosition: h,
|
|
1133
1141
|
required: l,
|
|
1134
1142
|
label: a,
|
|
1135
1143
|
infoTooltipText: x,
|
|
1136
1144
|
classNameBaseTooltipRoot: m
|
|
1137
1145
|
}
|
|
1138
1146
|
),
|
|
1139
|
-
/* @__PURE__ */ W("div", { className: q, onMouseEnter:
|
|
1147
|
+
/* @__PURE__ */ W("div", { className: q, onMouseEnter: b, children: [
|
|
1140
1148
|
/* @__PURE__ */ c(
|
|
1141
1149
|
"input",
|
|
1142
1150
|
{
|
|
@@ -1144,16 +1152,16 @@ const it = (e) => {
|
|
|
1144
1152
|
placeholder: j,
|
|
1145
1153
|
disabled: r,
|
|
1146
1154
|
onChange: Z,
|
|
1147
|
-
title:
|
|
1155
|
+
title: S ? o : void 0,
|
|
1148
1156
|
value: o,
|
|
1149
1157
|
name: d,
|
|
1150
|
-
className:
|
|
1158
|
+
className: Y,
|
|
1151
1159
|
ref: t
|
|
1152
1160
|
}
|
|
1153
1161
|
),
|
|
1154
|
-
u && o && !r && /* @__PURE__ */ c(
|
|
1162
|
+
u && o && !r && /* @__PURE__ */ c(me, { onClick: ce, className: oe, name: D.Trash })
|
|
1155
1163
|
] }),
|
|
1156
|
-
p && /* @__PURE__ */ c("div", { className:
|
|
1164
|
+
p && /* @__PURE__ */ c("div", { className: le, children: p })
|
|
1157
1165
|
] });
|
|
1158
1166
|
});
|
|
1159
1167
|
Ni.displayName = "Input";
|
|
@@ -1328,7 +1336,7 @@ var Kt;
|
|
|
1328
1336
|
function qi() {
|
|
1329
1337
|
if (Kt) return Q;
|
|
1330
1338
|
Kt = 1;
|
|
1331
|
-
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, p = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120,
|
|
1339
|
+
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, p = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, x = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121, S = e ? Symbol.for("react.fundamental") : 60117, j = e ? Symbol.for("react.responder") : 60118, z = e ? Symbol.for("react.scope") : 60119;
|
|
1332
1340
|
function R(m) {
|
|
1333
1341
|
if (typeof m == "object" && m !== null) {
|
|
1334
1342
|
var N = m.$$typeof;
|
|
@@ -1347,7 +1355,7 @@ function qi() {
|
|
|
1347
1355
|
case s:
|
|
1348
1356
|
case d:
|
|
1349
1357
|
case x:
|
|
1350
|
-
case
|
|
1358
|
+
case b:
|
|
1351
1359
|
case r:
|
|
1352
1360
|
return m;
|
|
1353
1361
|
default:
|
|
@@ -1362,7 +1370,7 @@ function qi() {
|
|
|
1362
1370
|
function w(m) {
|
|
1363
1371
|
return R(m) === l;
|
|
1364
1372
|
}
|
|
1365
|
-
return Q.AsyncMode = p, Q.ConcurrentMode = l, Q.ContextConsumer = s, Q.ContextProvider = r, Q.Element = t, Q.ForwardRef = d, Q.Fragment = n, Q.Lazy = x, Q.Memo =
|
|
1373
|
+
return Q.AsyncMode = p, Q.ConcurrentMode = l, Q.ContextConsumer = s, Q.ContextProvider = r, Q.Element = t, Q.ForwardRef = d, Q.Fragment = n, Q.Lazy = x, Q.Memo = b, Q.Portal = o, Q.Profiler = i, Q.StrictMode = a, Q.Suspense = u, Q.isAsyncMode = function(m) {
|
|
1366
1374
|
return w(m) || R(m) === p;
|
|
1367
1375
|
}, Q.isConcurrentMode = w, Q.isContextConsumer = function(m) {
|
|
1368
1376
|
return R(m) === s;
|
|
@@ -1377,7 +1385,7 @@ function qi() {
|
|
|
1377
1385
|
}, Q.isLazy = function(m) {
|
|
1378
1386
|
return R(m) === x;
|
|
1379
1387
|
}, Q.isMemo = function(m) {
|
|
1380
|
-
return R(m) ===
|
|
1388
|
+
return R(m) === b;
|
|
1381
1389
|
}, Q.isPortal = function(m) {
|
|
1382
1390
|
return R(m) === o;
|
|
1383
1391
|
}, Q.isProfiler = function(m) {
|
|
@@ -1387,7 +1395,7 @@ function qi() {
|
|
|
1387
1395
|
}, Q.isSuspense = function(m) {
|
|
1388
1396
|
return R(m) === u;
|
|
1389
1397
|
}, Q.isValidElementType = function(m) {
|
|
1390
|
-
return typeof m == "string" || typeof m == "function" || m === n || m === l || m === i || m === a || m === u || m === g || typeof m == "object" && m !== null && (m.$$typeof === x || m.$$typeof ===
|
|
1398
|
+
return typeof m == "string" || typeof m == "function" || m === n || m === l || m === i || m === a || m === u || m === g || typeof m == "object" && m !== null && (m.$$typeof === x || m.$$typeof === b || m.$$typeof === r || m.$$typeof === s || m.$$typeof === d || m.$$typeof === S || m.$$typeof === j || m.$$typeof === z || m.$$typeof === h);
|
|
1391
1399
|
}, Q.typeOf = R, Q;
|
|
1392
1400
|
}
|
|
1393
1401
|
var J = {};
|
|
@@ -1402,10 +1410,10 @@ var J = {};
|
|
|
1402
1410
|
var Xt;
|
|
1403
1411
|
function $i() {
|
|
1404
1412
|
return Xt || (Xt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1405
|
-
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, p = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120,
|
|
1413
|
+
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, p = e ? Symbol.for("react.async_mode") : 60111, l = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, u = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, x = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121, S = e ? Symbol.for("react.fundamental") : 60117, j = e ? Symbol.for("react.responder") : 60118, z = e ? Symbol.for("react.scope") : 60119;
|
|
1406
1414
|
function R(y) {
|
|
1407
1415
|
return typeof y == "string" || typeof y == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1408
|
-
y === n || y === l || y === i || y === a || y === u || y === g || typeof y == "object" && y !== null && (y.$$typeof === x || y.$$typeof ===
|
|
1416
|
+
y === n || y === l || y === i || y === a || y === u || y === g || typeof y == "object" && y !== null && (y.$$typeof === x || y.$$typeof === b || y.$$typeof === r || y.$$typeof === s || y.$$typeof === d || y.$$typeof === S || y.$$typeof === j || y.$$typeof === z || y.$$typeof === h);
|
|
1409
1417
|
}
|
|
1410
1418
|
function w(y) {
|
|
1411
1419
|
if (typeof y == "object" && y !== null) {
|
|
@@ -1427,7 +1435,7 @@ function $i() {
|
|
|
1427
1435
|
case s:
|
|
1428
1436
|
case d:
|
|
1429
1437
|
case x:
|
|
1430
|
-
case
|
|
1438
|
+
case b:
|
|
1431
1439
|
case r:
|
|
1432
1440
|
return Oe;
|
|
1433
1441
|
default:
|
|
@@ -1439,7 +1447,7 @@ function $i() {
|
|
|
1439
1447
|
}
|
|
1440
1448
|
}
|
|
1441
1449
|
}
|
|
1442
|
-
var m = p, N = l, O = s, q = r,
|
|
1450
|
+
var m = p, N = l, O = s, q = r, Y = t, oe = d, le = n, ue = x, ce = b, Z = o, T = i, M = a, $ = u, K = !1;
|
|
1443
1451
|
function ee(y) {
|
|
1444
1452
|
return K || (K = !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.")), f(y) || w(y) === p;
|
|
1445
1453
|
}
|
|
@@ -1455,7 +1463,7 @@ function $i() {
|
|
|
1455
1463
|
function A(y) {
|
|
1456
1464
|
return typeof y == "object" && y !== null && y.$$typeof === t;
|
|
1457
1465
|
}
|
|
1458
|
-
function
|
|
1466
|
+
function I(y) {
|
|
1459
1467
|
return w(y) === d;
|
|
1460
1468
|
}
|
|
1461
1469
|
function P(y) {
|
|
@@ -1465,7 +1473,7 @@ function $i() {
|
|
|
1465
1473
|
return w(y) === x;
|
|
1466
1474
|
}
|
|
1467
1475
|
function U(y) {
|
|
1468
|
-
return w(y) ===
|
|
1476
|
+
return w(y) === b;
|
|
1469
1477
|
}
|
|
1470
1478
|
function V(y) {
|
|
1471
1479
|
return w(y) === o;
|
|
@@ -1479,7 +1487,7 @@ function $i() {
|
|
|
1479
1487
|
function ie(y) {
|
|
1480
1488
|
return w(y) === u;
|
|
1481
1489
|
}
|
|
1482
|
-
J.AsyncMode = m, J.ConcurrentMode = N, J.ContextConsumer = O, J.ContextProvider = q, J.Element =
|
|
1490
|
+
J.AsyncMode = m, J.ConcurrentMode = N, J.ContextConsumer = O, J.ContextProvider = q, J.Element = Y, J.ForwardRef = oe, J.Fragment = le, J.Lazy = ue, J.Memo = ce, J.Portal = Z, J.Profiler = T, J.StrictMode = M, J.Suspense = $, J.isAsyncMode = ee, J.isConcurrentMode = f, J.isContextConsumer = v, J.isContextProvider = L, J.isElement = A, J.isForwardRef = I, J.isFragment = P, J.isLazy = B, J.isMemo = U, J.isPortal = V, J.isProfiler = X, J.isStrictMode = H, J.isSuspense = ie, J.isValidElementType = R, J.typeOf = w;
|
|
1483
1491
|
}()), J;
|
|
1484
1492
|
}
|
|
1485
1493
|
var Zt;
|
|
@@ -1585,9 +1593,9 @@ function Vi() {
|
|
|
1585
1593
|
(p || "React class") + ": type specification of " + s + " `" + d + "` 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)."
|
|
1586
1594
|
), u instanceof Error && !(u.message in o)) {
|
|
1587
1595
|
o[u.message] = !0;
|
|
1588
|
-
var
|
|
1596
|
+
var b = l ? l() : "";
|
|
1589
1597
|
e(
|
|
1590
|
-
"Failed " + s + " type: " + u.message + (
|
|
1598
|
+
"Failed " + s + " type: " + u.message + (b ?? "")
|
|
1591
1599
|
);
|
|
1592
1600
|
}
|
|
1593
1601
|
}
|
|
@@ -1621,7 +1629,7 @@ function Yi() {
|
|
|
1621
1629
|
if (typeof v == "function")
|
|
1622
1630
|
return v;
|
|
1623
1631
|
}
|
|
1624
|
-
var g = "<<anonymous>>",
|
|
1632
|
+
var g = "<<anonymous>>", b = {
|
|
1625
1633
|
array: j("array"),
|
|
1626
1634
|
bigint: j("bigint"),
|
|
1627
1635
|
bool: j("boolean"),
|
|
@@ -1635,21 +1643,21 @@ function Yi() {
|
|
|
1635
1643
|
element: w(),
|
|
1636
1644
|
elementType: m(),
|
|
1637
1645
|
instanceOf: N,
|
|
1638
|
-
node:
|
|
1646
|
+
node: oe(),
|
|
1639
1647
|
objectOf: q,
|
|
1640
1648
|
oneOf: O,
|
|
1641
|
-
oneOfType:
|
|
1649
|
+
oneOfType: Y,
|
|
1642
1650
|
shape: ue,
|
|
1643
|
-
exact:
|
|
1651
|
+
exact: ce
|
|
1644
1652
|
};
|
|
1645
1653
|
function x(f, v) {
|
|
1646
1654
|
return f === v ? f !== 0 || 1 / f === 1 / v : f !== f && v !== v;
|
|
1647
1655
|
}
|
|
1648
|
-
function
|
|
1656
|
+
function h(f, v) {
|
|
1649
1657
|
this.message = f, this.data = v && typeof v == "object" ? v : {}, this.stack = "";
|
|
1650
1658
|
}
|
|
1651
|
-
|
|
1652
|
-
function
|
|
1659
|
+
h.prototype = Error.prototype;
|
|
1660
|
+
function S(f) {
|
|
1653
1661
|
if (process.env.NODE_ENV !== "production")
|
|
1654
1662
|
var v = {}, L = 0;
|
|
1655
1663
|
function A(P, B, U, V, X, H, ie) {
|
|
@@ -1667,84 +1675,84 @@ function Yi() {
|
|
|
1667
1675
|
), v[be] = !0, L++);
|
|
1668
1676
|
}
|
|
1669
1677
|
}
|
|
1670
|
-
return B[U] == null ? P ? B[U] === null ? new
|
|
1678
|
+
return B[U] == null ? P ? B[U] === null ? new h("The " + X + " `" + H + "` is marked as required " + ("in `" + V + "`, but its value is `null`.")) : new h("The " + X + " `" + H + "` is marked as required in " + ("`" + V + "`, but its value is `undefined`.")) : null : f(B, U, V, X, H);
|
|
1671
1679
|
}
|
|
1672
|
-
var
|
|
1673
|
-
return
|
|
1680
|
+
var I = A.bind(null, !1);
|
|
1681
|
+
return I.isRequired = A.bind(null, !0), I;
|
|
1674
1682
|
}
|
|
1675
1683
|
function j(f) {
|
|
1676
|
-
function v(L, A,
|
|
1684
|
+
function v(L, A, I, P, B, U) {
|
|
1677
1685
|
var V = L[A], X = M(V);
|
|
1678
1686
|
if (X !== f) {
|
|
1679
1687
|
var H = $(V);
|
|
1680
|
-
return new
|
|
1681
|
-
"Invalid " + P + " `" + B + "` of type " + ("`" + H + "` supplied to `" +
|
|
1688
|
+
return new h(
|
|
1689
|
+
"Invalid " + P + " `" + B + "` of type " + ("`" + H + "` supplied to `" + I + "`, expected ") + ("`" + f + "`."),
|
|
1682
1690
|
{ expectedType: f }
|
|
1683
1691
|
);
|
|
1684
1692
|
}
|
|
1685
1693
|
return null;
|
|
1686
1694
|
}
|
|
1687
|
-
return
|
|
1695
|
+
return S(v);
|
|
1688
1696
|
}
|
|
1689
1697
|
function z() {
|
|
1690
|
-
return
|
|
1698
|
+
return S(r);
|
|
1691
1699
|
}
|
|
1692
1700
|
function R(f) {
|
|
1693
|
-
function v(L, A,
|
|
1701
|
+
function v(L, A, I, P, B) {
|
|
1694
1702
|
if (typeof f != "function")
|
|
1695
|
-
return new
|
|
1703
|
+
return new h("Property `" + B + "` of component `" + I + "` has invalid PropType notation inside arrayOf.");
|
|
1696
1704
|
var U = L[A];
|
|
1697
1705
|
if (!Array.isArray(U)) {
|
|
1698
1706
|
var V = M(U);
|
|
1699
|
-
return new
|
|
1707
|
+
return new h("Invalid " + P + " `" + B + "` of type " + ("`" + V + "` supplied to `" + I + "`, expected an array."));
|
|
1700
1708
|
}
|
|
1701
1709
|
for (var X = 0; X < U.length; X++) {
|
|
1702
|
-
var H = f(U, X,
|
|
1710
|
+
var H = f(U, X, I, P, B + "[" + X + "]", o);
|
|
1703
1711
|
if (H instanceof Error)
|
|
1704
1712
|
return H;
|
|
1705
1713
|
}
|
|
1706
1714
|
return null;
|
|
1707
1715
|
}
|
|
1708
|
-
return
|
|
1716
|
+
return S(v);
|
|
1709
1717
|
}
|
|
1710
1718
|
function w() {
|
|
1711
|
-
function f(v, L, A,
|
|
1719
|
+
function f(v, L, A, I, P) {
|
|
1712
1720
|
var B = v[L];
|
|
1713
1721
|
if (!s(B)) {
|
|
1714
1722
|
var U = M(B);
|
|
1715
|
-
return new
|
|
1723
|
+
return new h("Invalid " + I + " `" + P + "` of type " + ("`" + U + "` supplied to `" + A + "`, expected a single ReactElement."));
|
|
1716
1724
|
}
|
|
1717
1725
|
return null;
|
|
1718
1726
|
}
|
|
1719
|
-
return
|
|
1727
|
+
return S(f);
|
|
1720
1728
|
}
|
|
1721
1729
|
function m() {
|
|
1722
|
-
function f(v, L, A,
|
|
1730
|
+
function f(v, L, A, I, P) {
|
|
1723
1731
|
var B = v[L];
|
|
1724
1732
|
if (!e.isValidElementType(B)) {
|
|
1725
1733
|
var U = M(B);
|
|
1726
|
-
return new
|
|
1734
|
+
return new h("Invalid " + I + " `" + P + "` of type " + ("`" + U + "` supplied to `" + A + "`, expected a single ReactElement type."));
|
|
1727
1735
|
}
|
|
1728
1736
|
return null;
|
|
1729
1737
|
}
|
|
1730
|
-
return
|
|
1738
|
+
return S(f);
|
|
1731
1739
|
}
|
|
1732
1740
|
function N(f) {
|
|
1733
|
-
function v(L, A,
|
|
1741
|
+
function v(L, A, I, P, B) {
|
|
1734
1742
|
if (!(L[A] instanceof f)) {
|
|
1735
1743
|
var U = f.name || g, V = ee(L[A]);
|
|
1736
|
-
return new
|
|
1744
|
+
return new h("Invalid " + P + " `" + B + "` of type " + ("`" + V + "` supplied to `" + I + "`, expected ") + ("instance of `" + U + "`."));
|
|
1737
1745
|
}
|
|
1738
1746
|
return null;
|
|
1739
1747
|
}
|
|
1740
|
-
return
|
|
1748
|
+
return S(v);
|
|
1741
1749
|
}
|
|
1742
1750
|
function O(f) {
|
|
1743
1751
|
if (!Array.isArray(f))
|
|
1744
1752
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
1745
1753
|
"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])."
|
|
1746
1754
|
) : i("Invalid argument supplied to oneOf, expected an array.")), r;
|
|
1747
|
-
function v(L, A,
|
|
1755
|
+
function v(L, A, I, P, B) {
|
|
1748
1756
|
for (var U = L[A], V = 0; V < f.length; V++)
|
|
1749
1757
|
if (x(U, f[V]))
|
|
1750
1758
|
return null;
|
|
@@ -1752,28 +1760,28 @@ function Yi() {
|
|
|
1752
1760
|
var be = $(y);
|
|
1753
1761
|
return be === "symbol" ? String(y) : y;
|
|
1754
1762
|
});
|
|
1755
|
-
return new
|
|
1763
|
+
return new h("Invalid " + P + " `" + B + "` of value `" + String(U) + "` " + ("supplied to `" + I + "`, expected one of " + X + "."));
|
|
1756
1764
|
}
|
|
1757
|
-
return
|
|
1765
|
+
return S(v);
|
|
1758
1766
|
}
|
|
1759
1767
|
function q(f) {
|
|
1760
|
-
function v(L, A,
|
|
1768
|
+
function v(L, A, I, P, B) {
|
|
1761
1769
|
if (typeof f != "function")
|
|
1762
|
-
return new
|
|
1770
|
+
return new h("Property `" + B + "` of component `" + I + "` has invalid PropType notation inside objectOf.");
|
|
1763
1771
|
var U = L[A], V = M(U);
|
|
1764
1772
|
if (V !== "object")
|
|
1765
|
-
return new
|
|
1773
|
+
return new h("Invalid " + P + " `" + B + "` of type " + ("`" + V + "` supplied to `" + I + "`, expected an object."));
|
|
1766
1774
|
for (var X in U)
|
|
1767
1775
|
if (n(U, X)) {
|
|
1768
|
-
var H = f(U, X,
|
|
1776
|
+
var H = f(U, X, I, P, B + "." + X, o);
|
|
1769
1777
|
if (H instanceof Error)
|
|
1770
1778
|
return H;
|
|
1771
1779
|
}
|
|
1772
1780
|
return null;
|
|
1773
1781
|
}
|
|
1774
|
-
return
|
|
1782
|
+
return S(v);
|
|
1775
1783
|
}
|
|
1776
|
-
function
|
|
1784
|
+
function Y(f) {
|
|
1777
1785
|
if (!Array.isArray(f))
|
|
1778
1786
|
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), r;
|
|
1779
1787
|
for (var v = 0; v < f.length; v++) {
|
|
@@ -1783,68 +1791,68 @@ function Yi() {
|
|
|
1783
1791
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + K(L) + " at index " + v + "."
|
|
1784
1792
|
), r;
|
|
1785
1793
|
}
|
|
1786
|
-
function A(
|
|
1794
|
+
function A(I, P, B, U, V) {
|
|
1787
1795
|
for (var X = [], H = 0; H < f.length; H++) {
|
|
1788
|
-
var ie = f[H], y = ie(
|
|
1796
|
+
var ie = f[H], y = ie(I, P, B, U, V, o);
|
|
1789
1797
|
if (y == null)
|
|
1790
1798
|
return null;
|
|
1791
1799
|
y.data && n(y.data, "expectedType") && X.push(y.data.expectedType);
|
|
1792
1800
|
}
|
|
1793
1801
|
var be = X.length > 0 ? ", expected one of type [" + X.join(", ") + "]" : "";
|
|
1794
|
-
return new
|
|
1802
|
+
return new h("Invalid " + U + " `" + V + "` supplied to " + ("`" + B + "`" + be + "."));
|
|
1795
1803
|
}
|
|
1796
|
-
return
|
|
1804
|
+
return S(A);
|
|
1797
1805
|
}
|
|
1798
|
-
function
|
|
1799
|
-
function f(v, L, A,
|
|
1800
|
-
return Z(v[L]) ? null : new
|
|
1806
|
+
function oe() {
|
|
1807
|
+
function f(v, L, A, I, P) {
|
|
1808
|
+
return Z(v[L]) ? null : new h("Invalid " + I + " `" + P + "` supplied to " + ("`" + A + "`, expected a ReactNode."));
|
|
1801
1809
|
}
|
|
1802
|
-
return
|
|
1810
|
+
return S(f);
|
|
1803
1811
|
}
|
|
1804
|
-
function
|
|
1805
|
-
return new
|
|
1806
|
-
(f || "React class") + ": " + v + " type `" + L + "." + A + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" +
|
|
1812
|
+
function le(f, v, L, A, I) {
|
|
1813
|
+
return new h(
|
|
1814
|
+
(f || "React class") + ": " + v + " type `" + L + "." + A + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + I + "`."
|
|
1807
1815
|
);
|
|
1808
1816
|
}
|
|
1809
1817
|
function ue(f) {
|
|
1810
|
-
function v(L, A,
|
|
1818
|
+
function v(L, A, I, P, B) {
|
|
1811
1819
|
var U = L[A], V = M(U);
|
|
1812
1820
|
if (V !== "object")
|
|
1813
|
-
return new
|
|
1821
|
+
return new h("Invalid " + P + " `" + B + "` of type `" + V + "` " + ("supplied to `" + I + "`, expected `object`."));
|
|
1814
1822
|
for (var X in f) {
|
|
1815
1823
|
var H = f[X];
|
|
1816
1824
|
if (typeof H != "function")
|
|
1817
|
-
return
|
|
1818
|
-
var ie = H(U, X,
|
|
1825
|
+
return le(I, P, B, X, $(H));
|
|
1826
|
+
var ie = H(U, X, I, P, B + "." + X, o);
|
|
1819
1827
|
if (ie)
|
|
1820
1828
|
return ie;
|
|
1821
1829
|
}
|
|
1822
1830
|
return null;
|
|
1823
1831
|
}
|
|
1824
|
-
return
|
|
1832
|
+
return S(v);
|
|
1825
1833
|
}
|
|
1826
|
-
function
|
|
1827
|
-
function v(L, A,
|
|
1834
|
+
function ce(f) {
|
|
1835
|
+
function v(L, A, I, P, B) {
|
|
1828
1836
|
var U = L[A], V = M(U);
|
|
1829
1837
|
if (V !== "object")
|
|
1830
|
-
return new
|
|
1838
|
+
return new h("Invalid " + P + " `" + B + "` of type `" + V + "` " + ("supplied to `" + I + "`, expected `object`."));
|
|
1831
1839
|
var X = t({}, L[A], f);
|
|
1832
1840
|
for (var H in X) {
|
|
1833
1841
|
var ie = f[H];
|
|
1834
1842
|
if (n(f, H) && typeof ie != "function")
|
|
1835
|
-
return
|
|
1843
|
+
return le(I, P, B, H, $(ie));
|
|
1836
1844
|
if (!ie)
|
|
1837
|
-
return new
|
|
1838
|
-
"Invalid " + P + " `" + B + "` key `" + H + "` supplied to `" +
|
|
1845
|
+
return new h(
|
|
1846
|
+
"Invalid " + P + " `" + B + "` key `" + H + "` supplied to `" + I + "`.\nBad object: " + JSON.stringify(L[A], null, " ") + `
|
|
1839
1847
|
Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
|
|
1840
1848
|
);
|
|
1841
|
-
var y = ie(U, H,
|
|
1849
|
+
var y = ie(U, H, I, P, B + "." + H, o);
|
|
1842
1850
|
if (y)
|
|
1843
1851
|
return y;
|
|
1844
1852
|
}
|
|
1845
1853
|
return null;
|
|
1846
1854
|
}
|
|
1847
|
-
return
|
|
1855
|
+
return S(v);
|
|
1848
1856
|
}
|
|
1849
1857
|
function Z(f) {
|
|
1850
1858
|
switch (typeof f) {
|
|
@@ -1868,8 +1876,8 @@ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
|
|
|
1868
1876
|
return !1;
|
|
1869
1877
|
} else
|
|
1870
1878
|
for (; !(A = L.next()).done; ) {
|
|
1871
|
-
var
|
|
1872
|
-
if (
|
|
1879
|
+
var I = A.value;
|
|
1880
|
+
if (I && !Z(I[1]))
|
|
1873
1881
|
return !1;
|
|
1874
1882
|
}
|
|
1875
1883
|
} else
|
|
@@ -1915,7 +1923,7 @@ Valid keys: ` + JSON.stringify(Object.keys(f), null, " ")
|
|
|
1915
1923
|
function ee(f) {
|
|
1916
1924
|
return !f.constructor || !f.constructor.name ? g : f.constructor.name;
|
|
1917
1925
|
}
|
|
1918
|
-
return
|
|
1926
|
+
return b.checkPropTypes = a, b.resetWarningCache = a.resetWarningCache, b.PropTypes = b, b;
|
|
1919
1927
|
}, Ct;
|
|
1920
1928
|
}
|
|
1921
1929
|
var kt, no;
|
|
@@ -2039,19 +2047,19 @@ const nr = (e) => `not ${e}`, ar = (e, t) => {
|
|
|
2039
2047
|
e.current = !0;
|
|
2040
2048
|
}, []), e.current;
|
|
2041
2049
|
}, lr = (e) => {
|
|
2042
|
-
const t = Zo(sr), o = () => ao(e) || ao(t), [n, a] =
|
|
2050
|
+
const t = Zo(sr), o = () => ao(e) || ao(t), [n, a] = ne(o);
|
|
2043
2051
|
return re(() => {
|
|
2044
2052
|
const i = o();
|
|
2045
2053
|
Ui(n, i) || a(i);
|
|
2046
2054
|
}, [e, t]), n;
|
|
2047
2055
|
}, cr = (e) => {
|
|
2048
|
-
const t = () => pr(e), [o, n] =
|
|
2056
|
+
const t = () => pr(e), [o, n] = ne(t);
|
|
2049
2057
|
return re(() => {
|
|
2050
2058
|
const a = t();
|
|
2051
2059
|
o !== a && n(a);
|
|
2052
2060
|
}, [e]), o;
|
|
2053
2061
|
}, dr = (e, t) => {
|
|
2054
|
-
const o = () => Pi(e, t || {}, !!t), [n, a] =
|
|
2062
|
+
const o = () => Pi(e, t || {}, !!t), [n, a] = ne(o), i = jo();
|
|
2055
2063
|
return re(() => {
|
|
2056
2064
|
if (i) {
|
|
2057
2065
|
const r = o();
|
|
@@ -2061,7 +2069,7 @@ const nr = (e) => `not ${e}`, ar = (e, t) => {
|
|
|
2061
2069
|
}
|
|
2062
2070
|
}, [e, t]), n;
|
|
2063
2071
|
}, mr = (e) => {
|
|
2064
|
-
const [t, o] =
|
|
2072
|
+
const [t, o] = ne(e.matches);
|
|
2065
2073
|
return re(() => {
|
|
2066
2074
|
const n = (a) => {
|
|
2067
2075
|
o(a.matches);
|
|
@@ -2107,7 +2115,7 @@ const nr = (e) => `not ${e}`, ar = (e, t) => {
|
|
|
2107
2115
|
}
|
|
2108
2116
|
);
|
|
2109
2117
|
}, _r = 2e3, fr = (e) => {
|
|
2110
|
-
const { targetValue: t, duration: o = _r, doneValue: n, onSuccessLoaded: a } = e, [i, r] =
|
|
2118
|
+
const { targetValue: t, duration: o = _r, doneValue: n, onSuccessLoaded: a } = e, [i, r] = ne(t), s = ve(), p = ve(0), l = ve(), d = ve(t), [u, g] = ne(!1), b = ve();
|
|
2111
2119
|
return re(() => {
|
|
2112
2120
|
if (d.current = t, t === p.current) return;
|
|
2113
2121
|
if (s.current && cancelAnimationFrame(s.current), t === n && !u) {
|
|
@@ -2115,18 +2123,18 @@ const nr = (e) => `not ${e}`, ar = (e, t) => {
|
|
|
2115
2123
|
return;
|
|
2116
2124
|
}
|
|
2117
2125
|
p.current = i, l.current = performance.now();
|
|
2118
|
-
const x = (
|
|
2126
|
+
const x = (h) => {
|
|
2119
2127
|
if (!l.current) return;
|
|
2120
|
-
const
|
|
2128
|
+
const S = h - l.current, j = Math.min(S / o, 1), z = j < 0.5 ? 4 * j * j * j : 1 - Math.pow(-2 * j + 2, 3) / 2, R = p.current + (d.current - p.current) * z, w = Math.max(0, Math.floor(R));
|
|
2121
2129
|
r(w), j < 1 && (s.current = requestAnimationFrame(x));
|
|
2122
2130
|
};
|
|
2123
2131
|
return s.current = requestAnimationFrame(x), () => {
|
|
2124
2132
|
s.current && cancelAnimationFrame(s.current);
|
|
2125
2133
|
};
|
|
2126
|
-
}, [t, o, n, u]), re(() => (i === n ?
|
|
2134
|
+
}, [t, o, n, u]), re(() => (i === n ? b.current = window.setTimeout(() => {
|
|
2127
2135
|
u && a && a(), g(!1);
|
|
2128
|
-
}, 500) : (g(!0),
|
|
2129
|
-
|
|
2136
|
+
}, 500) : (g(!0), b.current && window.clearTimeout(b.current)), () => {
|
|
2137
|
+
b.current && window.clearTimeout(b.current);
|
|
2130
2138
|
}), [i, n, u, a]), {
|
|
2131
2139
|
animatedValue: i,
|
|
2132
2140
|
isLoading: u
|
|
@@ -2164,7 +2172,7 @@ const nr = (e) => `not ${e}`, ar = (e, t) => {
|
|
|
2164
2172
|
[Le.progressWrapper__progressBadge]: !0,
|
|
2165
2173
|
[Le.progressWrapper__progressBadge_loading]: d,
|
|
2166
2174
|
...n && { [n]: !0 }
|
|
2167
|
-
}),
|
|
2175
|
+
}), b = _({
|
|
2168
2176
|
[Le.progressWrapper__childrenWrapper]: !0,
|
|
2169
2177
|
[Le[`progressWrapper__childrenWrapper--animated-${s}`]]: s,
|
|
2170
2178
|
[Le.progressWrapper__childrenWrapper_loading]: d
|
|
@@ -2175,7 +2183,7 @@ const nr = (e) => `not ${e}`, ar = (e, t) => {
|
|
|
2175
2183
|
/* @__PURE__ */ c(
|
|
2176
2184
|
"div",
|
|
2177
2185
|
{
|
|
2178
|
-
className:
|
|
2186
|
+
className: b,
|
|
2179
2187
|
style: s === "backgroundProgress" ? x : void 0,
|
|
2180
2188
|
children: i
|
|
2181
2189
|
}
|
|
@@ -2216,16 +2224,16 @@ const nr = (e) => `not ${e}`, ar = (e, t) => {
|
|
|
2216
2224
|
infoTooltipText: d,
|
|
2217
2225
|
tooltipPosition: u,
|
|
2218
2226
|
disabled: g = !1,
|
|
2219
|
-
required:
|
|
2227
|
+
required: b,
|
|
2220
2228
|
maxHeightList: x = Cr,
|
|
2221
|
-
isVisibleDefaultTitle:
|
|
2222
|
-
isScrollableList:
|
|
2229
|
+
isVisibleDefaultTitle: h = !0,
|
|
2230
|
+
isScrollableList: S = !1,
|
|
2223
2231
|
isAbsolutePositionError: j = !1,
|
|
2224
2232
|
classNameRoot: z,
|
|
2225
2233
|
classNameError: R,
|
|
2226
2234
|
classNameLabel: w,
|
|
2227
2235
|
classNameBaseTooltipRoot: m
|
|
2228
|
-
} = e, [N, O] =
|
|
2236
|
+
} = e, [N, O] = ne(!1), q = ve(null);
|
|
2229
2237
|
Co(
|
|
2230
2238
|
[q],
|
|
2231
2239
|
() => {
|
|
@@ -2233,16 +2241,16 @@ const nr = (e) => `not ${e}`, ar = (e, t) => {
|
|
|
2233
2241
|
},
|
|
2234
2242
|
N
|
|
2235
2243
|
);
|
|
2236
|
-
const
|
|
2244
|
+
const Y = t.find((v) => v.value === n), oe = (v, L) => {
|
|
2237
2245
|
r(v, { value: L, name: a }), O(!1);
|
|
2238
|
-
},
|
|
2246
|
+
}, le = () => {
|
|
2239
2247
|
g || O(!N);
|
|
2240
2248
|
}, ue = _({
|
|
2241
2249
|
[_e.spSelect]: !0,
|
|
2242
2250
|
[_e.spSelect_error]: !!p,
|
|
2243
2251
|
[_e.spSelect_absolutePositionError]: j,
|
|
2244
2252
|
...z && { [z]: !0 }
|
|
2245
|
-
}),
|
|
2253
|
+
}), ce = _({
|
|
2246
2254
|
[_e.spSelect__container]: !0
|
|
2247
2255
|
}), Z = _({
|
|
2248
2256
|
[_e.spSelect__control]: !0,
|
|
@@ -2250,12 +2258,12 @@ const nr = (e) => `not ${e}`, ar = (e, t) => {
|
|
|
2250
2258
|
[_e.spSelect__control_disabled]: g
|
|
2251
2259
|
}), T = _({
|
|
2252
2260
|
[_e.spSelect__value]: !0,
|
|
2253
|
-
[_e.spSelect__value_empty]: !
|
|
2261
|
+
[_e.spSelect__value_empty]: !Y
|
|
2254
2262
|
}), M = _({
|
|
2255
2263
|
[_e.spSelect__icon]: !0
|
|
2256
2264
|
}), $ = _({
|
|
2257
2265
|
[_e.spSelect__list]: !0,
|
|
2258
|
-
[_e.spSelect__list_scrollable]:
|
|
2266
|
+
[_e.spSelect__list_scrollable]: S
|
|
2259
2267
|
}), K = _({
|
|
2260
2268
|
...w && { [w]: !0 }
|
|
2261
2269
|
}), ee = _({
|
|
@@ -2269,24 +2277,24 @@ const nr = (e) => `not ${e}`, ar = (e, t) => {
|
|
|
2269
2277
|
{
|
|
2270
2278
|
classNameRoot: K,
|
|
2271
2279
|
tooltipPosition: u,
|
|
2272
|
-
required:
|
|
2280
|
+
required: b,
|
|
2273
2281
|
label: l,
|
|
2274
2282
|
infoTooltipText: d,
|
|
2275
2283
|
classNameBaseTooltipRoot: m
|
|
2276
2284
|
}
|
|
2277
2285
|
),
|
|
2278
|
-
/* @__PURE__ */ W("div", { className:
|
|
2286
|
+
/* @__PURE__ */ W("div", { className: ce, onMouseEnter: s, children: [
|
|
2279
2287
|
/* @__PURE__ */ W(
|
|
2280
2288
|
"div",
|
|
2281
2289
|
{
|
|
2282
2290
|
tabIndex: g ? -1 : 0,
|
|
2283
|
-
title:
|
|
2291
|
+
title: h ? n : void 0,
|
|
2284
2292
|
className: Z,
|
|
2285
|
-
onClick:
|
|
2293
|
+
onClick: le,
|
|
2286
2294
|
children: [
|
|
2287
|
-
/* @__PURE__ */ c("div", { className: T, children: (
|
|
2295
|
+
/* @__PURE__ */ c("div", { className: T, children: (Y == null ? void 0 : Y.label) || o }),
|
|
2288
2296
|
/* @__PURE__ */ c(
|
|
2289
|
-
|
|
2297
|
+
me,
|
|
2290
2298
|
{
|
|
2291
2299
|
name: D.SelectChevronDown,
|
|
2292
2300
|
rotate: N ? 180 : void 0,
|
|
@@ -2300,7 +2308,7 @@ const nr = (e) => `not ${e}`, ar = (e, t) => {
|
|
|
2300
2308
|
"div",
|
|
2301
2309
|
{
|
|
2302
2310
|
className: $,
|
|
2303
|
-
style:
|
|
2311
|
+
style: S ? { maxHeight: `${x}px` } : {},
|
|
2304
2312
|
children: t.map((v) => {
|
|
2305
2313
|
const L = v.value === n;
|
|
2306
2314
|
return /* @__PURE__ */ W(
|
|
@@ -2309,10 +2317,10 @@ const nr = (e) => `not ${e}`, ar = (e, t) => {
|
|
|
2309
2317
|
className: _({
|
|
2310
2318
|
[_e.spSelect__option]: !0
|
|
2311
2319
|
}),
|
|
2312
|
-
onClick: (A) =>
|
|
2320
|
+
onClick: (A) => oe(A, v.value),
|
|
2313
2321
|
children: [
|
|
2314
2322
|
v.label,
|
|
2315
|
-
L && /* @__PURE__ */ c(
|
|
2323
|
+
L && /* @__PURE__ */ c(me, { name: D.Check, className: M })
|
|
2316
2324
|
]
|
|
2317
2325
|
},
|
|
2318
2326
|
v.value
|
|
@@ -2391,7 +2399,7 @@ const nr = (e) => `not ${e}`, ar = (e, t) => {
|
|
|
2391
2399
|
[we.spTable__tdColorContent]: !0
|
|
2392
2400
|
}), d = _({
|
|
2393
2401
|
[we.spTable__emptyPage]: !0
|
|
2394
|
-
}), [u, g] =
|
|
2402
|
+
}), [u, g] = ne(null), b = (w) => {
|
|
2395
2403
|
const { text: m, rowIndex: N, colIndex: O } = w;
|
|
2396
2404
|
(u == null ? void 0 : u.rowIndex) === N && (u == null ? void 0 : u.colIndex) === O || navigator.clipboard.writeText(m).then(() => {
|
|
2397
2405
|
g({ rowIndex: N, colIndex: O });
|
|
@@ -2400,7 +2408,7 @@ const nr = (e) => `not ${e}`, ar = (e, t) => {
|
|
|
2400
2408
|
});
|
|
2401
2409
|
}, x = () => {
|
|
2402
2410
|
g(null);
|
|
2403
|
-
},
|
|
2411
|
+
}, h = () => /* @__PURE__ */ c("div", { className: d, children: "Данные отсутствуют" }), S = ({
|
|
2404
2412
|
row: w,
|
|
2405
2413
|
col: m
|
|
2406
2414
|
}) => {
|
|
@@ -2429,9 +2437,9 @@ const nr = (e) => `not ${e}`, ar = (e, t) => {
|
|
|
2429
2437
|
{
|
|
2430
2438
|
onMouseLeave: q ? x : void 0,
|
|
2431
2439
|
children: /* @__PURE__ */ W("div", { className: p, children: [
|
|
2432
|
-
/* @__PURE__ */ c("span", { children: N.isColorContentsCurlyBrackets ?
|
|
2440
|
+
/* @__PURE__ */ c("span", { children: N.isColorContentsCurlyBrackets ? S({ row: w, col: N }) : w[N.key] }),
|
|
2433
2441
|
!It(w[N.key]) && N.isBeCopiedValue && /* @__PURE__ */ c(
|
|
2434
|
-
|
|
2442
|
+
me,
|
|
2435
2443
|
{
|
|
2436
2444
|
className: _({
|
|
2437
2445
|
[we.spTable__tdContentCopyIcon]: !0,
|
|
@@ -2439,10 +2447,10 @@ const nr = (e) => `not ${e}`, ar = (e, t) => {
|
|
|
2439
2447
|
}),
|
|
2440
2448
|
name: q ? D.Check : D.Copy,
|
|
2441
2449
|
onClick: () => {
|
|
2442
|
-
const
|
|
2443
|
-
if (!
|
|
2444
|
-
|
|
2445
|
-
text:
|
|
2450
|
+
const Y = w[N.key];
|
|
2451
|
+
if (!Y) return null;
|
|
2452
|
+
b({
|
|
2453
|
+
text: Y,
|
|
2446
2454
|
rowIndex: m,
|
|
2447
2455
|
colIndex: O
|
|
2448
2456
|
});
|
|
@@ -2454,7 +2462,7 @@ const nr = (e) => `not ${e}`, ar = (e, t) => {
|
|
|
2454
2462
|
`${m}:${O}`
|
|
2455
2463
|
);
|
|
2456
2464
|
}) }, m) : null) })
|
|
2457
|
-
] }) :
|
|
2465
|
+
] }) : h(), z = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ c(
|
|
2458
2466
|
"div",
|
|
2459
2467
|
{
|
|
2460
2468
|
className: _({
|
|
@@ -2488,9 +2496,9 @@ const nr = (e) => `not ${e}`, ar = (e, t) => {
|
|
|
2488
2496
|
[we.spStringsGroup__groupItemContent]: !0
|
|
2489
2497
|
}),
|
|
2490
2498
|
children: [
|
|
2491
|
-
/* @__PURE__ */ c("span", { children: N.isColorContentsCurlyBrackets ?
|
|
2499
|
+
/* @__PURE__ */ c("span", { children: N.isColorContentsCurlyBrackets ? S({ row: w, col: N }) : w[N.key] }),
|
|
2492
2500
|
N.isBeCopiedValue && /* @__PURE__ */ c(
|
|
2493
|
-
|
|
2501
|
+
me,
|
|
2494
2502
|
{
|
|
2495
2503
|
className: _({
|
|
2496
2504
|
[we.spStringsGroup__groupItemContentCopyIcon]: !0,
|
|
@@ -2498,10 +2506,10 @@ const nr = (e) => `not ${e}`, ar = (e, t) => {
|
|
|
2498
2506
|
}),
|
|
2499
2507
|
name: q ? D.Check : D.Copy,
|
|
2500
2508
|
onClick: () => {
|
|
2501
|
-
const
|
|
2502
|
-
if (!
|
|
2503
|
-
|
|
2504
|
-
text:
|
|
2509
|
+
const Y = w[N.key];
|
|
2510
|
+
if (!Y) return null;
|
|
2511
|
+
b({
|
|
2512
|
+
text: Y,
|
|
2505
2513
|
rowIndex: m,
|
|
2506
2514
|
colIndex: O
|
|
2507
2515
|
});
|
|
@@ -2517,7 +2525,7 @@ const nr = (e) => `not ${e}`, ar = (e, t) => {
|
|
|
2517
2525
|
);
|
|
2518
2526
|
}) }, m) : null)
|
|
2519
2527
|
}
|
|
2520
|
-
) :
|
|
2528
|
+
) : h();
|
|
2521
2529
|
return n ? a ? j() : z() : j();
|
|
2522
2530
|
}, os = "_spTabs_1rc64_43", ns = "_spTabs_separated_1rc64_48", as = "_spTabs__tabElement_1rc64_48", is = "_spTabs__tabElement_active_1rc64_85", rs = "_spTabs__tooltip_1rc64_92", je = {
|
|
2523
2531
|
spTabs: os,
|
|
@@ -2549,24 +2557,24 @@ const nr = (e) => `not ${e}`, ar = (e, t) => {
|
|
|
2549
2557
|
[je.spTabs__tooltip]: !0
|
|
2550
2558
|
});
|
|
2551
2559
|
return /* @__PURE__ */ c("div", { className: p, children: t.map((d, u) => {
|
|
2552
|
-
const { name: g, active:
|
|
2560
|
+
const { name: g, active: b, onClick: x, infoTooltipText: h } = d;
|
|
2553
2561
|
return /* @__PURE__ */ W(
|
|
2554
2562
|
"div",
|
|
2555
2563
|
{
|
|
2556
2564
|
className: _({
|
|
2557
2565
|
[je.spTabs__tabElement]: !0,
|
|
2558
|
-
[je.spTabs__tabElement_active]:
|
|
2566
|
+
[je.spTabs__tabElement_active]: b,
|
|
2559
2567
|
...a && { [a]: !0 }
|
|
2560
2568
|
}),
|
|
2561
2569
|
onClick: x,
|
|
2562
2570
|
children: [
|
|
2563
2571
|
/* @__PURE__ */ c("span", { children: g }),
|
|
2564
|
-
!!
|
|
2572
|
+
!!h && /* @__PURE__ */ c(
|
|
2565
2573
|
rt,
|
|
2566
2574
|
{
|
|
2567
2575
|
hover: !0,
|
|
2568
2576
|
classNameTooltip: l,
|
|
2569
|
-
text:
|
|
2577
|
+
text: h,
|
|
2570
2578
|
classNameBaseTooltipRoot: i
|
|
2571
2579
|
}
|
|
2572
2580
|
)
|
|
@@ -4126,8 +4134,8 @@ function Re(e) {
|
|
|
4126
4134
|
function js(e) {
|
|
4127
4135
|
var t = e.files, o = e.accept, n = e.minSize, a = e.maxSize, i = e.multiple, r = e.maxFiles, s = e.validator;
|
|
4128
4136
|
return !i && t.length > 1 || i && r >= 1 && t.length > r ? !1 : t.every(function(p) {
|
|
4129
|
-
var l = Oo(p, o), d = He(l, 1), u = d[0], g = Wo(p, n, a),
|
|
4130
|
-
return u && x && !
|
|
4137
|
+
var l = Oo(p, o), d = He(l, 1), u = d[0], g = Wo(p, n, a), b = He(g, 1), x = b[0], h = s ? s(p) : null;
|
|
4138
|
+
return u && x && !h;
|
|
4131
4139
|
});
|
|
4132
4140
|
}
|
|
4133
4141
|
function nt(e) {
|
|
@@ -4507,21 +4515,21 @@ var Bt = {
|
|
|
4507
4515
|
fileRejections: []
|
|
4508
4516
|
};
|
|
4509
4517
|
function Ho() {
|
|
4510
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = te(te({}, $o), e), o = t.accept, n = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, p = t.maxFiles, l = t.onDragEnter, d = t.onDragLeave, u = t.onDragOver, g = t.onDrop,
|
|
4518
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = te(te({}, $o), e), o = t.accept, n = t.disabled, a = t.getFilesFromEvent, i = t.maxSize, r = t.minSize, s = t.multiple, p = t.maxFiles, l = t.onDragEnter, d = t.onDragLeave, u = t.onDragOver, g = t.onDrop, b = t.onDropAccepted, x = t.onDropRejected, h = t.onFileDialogCancel, S = t.onFileDialogOpen, j = t.useFsAccessApi, z = t.autoFocus, R = t.preventDropOnDocument, w = t.noClick, m = t.noKeyboard, N = t.noDrag, O = t.noDragEventsBubbling, q = t.onError, Y = t.validator, oe = De(function() {
|
|
4511
4519
|
return Ms(o);
|
|
4512
|
-
}, [o]),
|
|
4520
|
+
}, [o]), le = De(function() {
|
|
4513
4521
|
return Ds(o);
|
|
4514
4522
|
}, [o]), ue = De(function() {
|
|
4515
|
-
return typeof
|
|
4516
|
-
}, [
|
|
4517
|
-
return typeof
|
|
4518
|
-
}, [
|
|
4523
|
+
return typeof S == "function" ? S : go;
|
|
4524
|
+
}, [S]), ce = De(function() {
|
|
4525
|
+
return typeof h == "function" ? h : go;
|
|
4526
|
+
}, [h]), Z = ve(null), T = ve(null), M = Qo(Qs, Bt), $ = St(M, 2), K = $[0], ee = $[1], f = K.isFocused, v = K.isFileDialogActive, L = ve(typeof window < "u" && window.isSecureContext && j && Bs()), A = function() {
|
|
4519
4527
|
!L.current && v && setTimeout(function() {
|
|
4520
4528
|
if (T.current) {
|
|
4521
4529
|
var F = T.current.files;
|
|
4522
4530
|
F.length || (ee({
|
|
4523
4531
|
type: "closeDialog"
|
|
4524
|
-
}),
|
|
4532
|
+
}), ce());
|
|
4525
4533
|
}
|
|
4526
4534
|
}, 300);
|
|
4527
4535
|
};
|
|
@@ -4529,9 +4537,9 @@ function Ho() {
|
|
|
4529
4537
|
return window.addEventListener("focus", A, !1), function() {
|
|
4530
4538
|
window.removeEventListener("focus", A, !1);
|
|
4531
4539
|
};
|
|
4532
|
-
}, [T, v,
|
|
4533
|
-
var
|
|
4534
|
-
Z.current && Z.current.contains(F.target) || (F.preventDefault(),
|
|
4540
|
+
}, [T, v, ce, L]);
|
|
4541
|
+
var I = ve([]), P = function(F) {
|
|
4542
|
+
Z.current && Z.current.contains(F.target) || (F.preventDefault(), I.current = []);
|
|
4535
4543
|
};
|
|
4536
4544
|
re(function() {
|
|
4537
4545
|
return R && (document.addEventListener("dragover", fo, !1), document.addEventListener("drop", P, !1)), function() {
|
|
@@ -4544,16 +4552,16 @@ function Ho() {
|
|
|
4544
4552
|
var B = he(function(k) {
|
|
4545
4553
|
q ? q(k) : console.error(k);
|
|
4546
4554
|
}, [q]), U = he(function(k) {
|
|
4547
|
-
k.preventDefault(), k.persist(), Ge(k),
|
|
4555
|
+
k.preventDefault(), k.persist(), Ge(k), I.current = [].concat($s(I.current), [k.target]), et(k) && Promise.resolve(a(k)).then(function(F) {
|
|
4548
4556
|
if (!(nt(k) && !O)) {
|
|
4549
4557
|
var ae = F.length, se = ae > 0 && js({
|
|
4550
4558
|
files: F,
|
|
4551
|
-
accept:
|
|
4559
|
+
accept: oe,
|
|
4552
4560
|
minSize: r,
|
|
4553
4561
|
maxSize: i,
|
|
4554
4562
|
multiple: s,
|
|
4555
4563
|
maxFiles: p,
|
|
4556
|
-
validator:
|
|
4564
|
+
validator: Y
|
|
4557
4565
|
}), ye = ae > 0 && !se;
|
|
4558
4566
|
ee({
|
|
4559
4567
|
isDragAccept: se,
|
|
@@ -4565,7 +4573,7 @@ function Ho() {
|
|
|
4565
4573
|
}).catch(function(F) {
|
|
4566
4574
|
return B(F);
|
|
4567
4575
|
});
|
|
4568
|
-
}, [a, l, B, O,
|
|
4576
|
+
}, [a, l, B, O, oe, r, i, s, p, Y]), V = he(function(k) {
|
|
4569
4577
|
k.preventDefault(), k.persist(), Ge(k);
|
|
4570
4578
|
var F = et(k);
|
|
4571
4579
|
if (F && k.dataTransfer)
|
|
@@ -4576,10 +4584,10 @@ function Ho() {
|
|
|
4576
4584
|
return F && u && u(k), !1;
|
|
4577
4585
|
}, [u, O]), X = he(function(k) {
|
|
4578
4586
|
k.preventDefault(), k.persist(), Ge(k);
|
|
4579
|
-
var F =
|
|
4587
|
+
var F = I.current.filter(function(se) {
|
|
4580
4588
|
return Z.current && Z.current.contains(se);
|
|
4581
4589
|
}), ae = F.indexOf(k.target);
|
|
4582
|
-
ae !== -1 && F.splice(ae, 1),
|
|
4590
|
+
ae !== -1 && F.splice(ae, 1), I.current = F, !(F.length > 0) && (ee({
|
|
4583
4591
|
type: "setDraggedFiles",
|
|
4584
4592
|
isDragActive: !1,
|
|
4585
4593
|
isDragAccept: !1,
|
|
@@ -4588,7 +4596,7 @@ function Ho() {
|
|
|
4588
4596
|
}, [Z, d, O]), H = he(function(k, F) {
|
|
4589
4597
|
var ae = [], se = [];
|
|
4590
4598
|
k.forEach(function(ye) {
|
|
4591
|
-
var We = Oo(ye,
|
|
4599
|
+
var We = Oo(ye, oe), Be = St(We, 2), pt = Be[0], lt = Be[1], ct = Wo(ye, r, i), Ke = St(ct, 2), dt = Ke[0], mt = Ke[1], ut = Y ? Y(ye) : null;
|
|
4592
4600
|
if (pt && dt && !ut)
|
|
4593
4601
|
ae.push(ye);
|
|
4594
4602
|
else {
|
|
@@ -4610,9 +4618,9 @@ function Ho() {
|
|
|
4610
4618
|
fileRejections: se,
|
|
4611
4619
|
isDragReject: se.length > 0,
|
|
4612
4620
|
type: "setFiles"
|
|
4613
|
-
}), g && g(ae, se, F), se.length > 0 && x && x(se, F), ae.length > 0 &&
|
|
4614
|
-
}, [ee, s,
|
|
4615
|
-
k.preventDefault(), k.persist(), Ge(k),
|
|
4621
|
+
}), g && g(ae, se, F), se.length > 0 && x && x(se, F), ae.length > 0 && b && b(ae, F);
|
|
4622
|
+
}, [ee, s, oe, r, i, p, g, b, x, Y]), ie = he(function(k) {
|
|
4623
|
+
k.preventDefault(), k.persist(), Ge(k), I.current = [], et(k) && Promise.resolve(a(k)).then(function(F) {
|
|
4616
4624
|
nt(k) && !O || H(F, k);
|
|
4617
4625
|
}).catch(function(F) {
|
|
4618
4626
|
return B(F);
|
|
@@ -4626,7 +4634,7 @@ function Ho() {
|
|
|
4626
4634
|
}), ue();
|
|
4627
4635
|
var k = {
|
|
4628
4636
|
multiple: s,
|
|
4629
|
-
types:
|
|
4637
|
+
types: le
|
|
4630
4638
|
};
|
|
4631
4639
|
window.showOpenFilePicker(k).then(function(F) {
|
|
4632
4640
|
return a(F);
|
|
@@ -4635,7 +4643,7 @@ function Ho() {
|
|
|
4635
4643
|
type: "closeDialog"
|
|
4636
4644
|
});
|
|
4637
4645
|
}).catch(function(F) {
|
|
4638
|
-
Ps(F) ? (
|
|
4646
|
+
Ps(F) ? (ce(F), ee({
|
|
4639
4647
|
type: "closeDialog"
|
|
4640
4648
|
})) : Os(F) ? (L.current = !1, T.current ? (T.current.value = null, T.current.click()) : B(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."))) : B(F);
|
|
4641
4649
|
});
|
|
@@ -4644,7 +4652,7 @@ function Ho() {
|
|
|
4644
4652
|
T.current && (ee({
|
|
4645
4653
|
type: "openDialog"
|
|
4646
4654
|
}), ue(), T.current.value = null, T.current.click());
|
|
4647
|
-
}, [ee, ue,
|
|
4655
|
+
}, [ee, ue, ce, j, H, B, le, s]), be = he(function(k) {
|
|
4648
4656
|
!Z.current || !Z.current.isEqualNode(k.target) || (k.key === " " || k.key === "Enter" || k.keyCode === 32 || k.keyCode === 13) && (k.preventDefault(), y());
|
|
4649
4657
|
}, [Z, y]), Ie = he(function() {
|
|
4650
4658
|
ee({
|
|
@@ -4686,7 +4694,7 @@ function Ho() {
|
|
|
4686
4694
|
}, []), Go = De(function() {
|
|
4687
4695
|
return function() {
|
|
4688
4696
|
var k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, F = k.refKey, ae = F === void 0 ? "ref" : F, se = k.onChange, ye = k.onClick, We = at(k, qs), Be = Ft({
|
|
4689
|
-
accept:
|
|
4697
|
+
accept: oe,
|
|
4690
4698
|
multiple: s,
|
|
4691
4699
|
type: "file",
|
|
4692
4700
|
style: {
|
|
@@ -4755,7 +4763,7 @@ function Qs(e, t) {
|
|
|
4755
4763
|
}
|
|
4756
4764
|
function go() {
|
|
4757
4765
|
}
|
|
4758
|
-
const Js = (e) => Ho(e), ep = "_spUploadFiles_1jy0y_43", tp = "_spUploadFiles_error_1jy0y_51", op = "_spUploadFiles__control_1jy0y_51", np = "_spUploadFiles__fileNameContainer_1jy0y_55", ap = "_spUploadFiles__fileName_dragError_1jy0y_59", ip = "_spUploadFiles__placeholderContainer_1jy0y_62", rp = "_spUploadFiles__placeholderContainer_withUloadTooltip_1jy0y_72", sp = "_spUploadFiles__placeholder_1jy0y_62", pp = "_spUploadFiles__control_loading_1jy0y_104", lp = "_shimmer_1jy0y_1", cp = "_spUploadFiles__fileName_1jy0y_55", dp = "_spUploadFiles__tooltip_1jy0y_130", mp = "_spUploadFiles_fileUploaded_1jy0y_160", up = "_spUploadFiles_disabled_1jy0y_160", _p = "_spUploadFiles__fileNamesList_1jy0y_171", fp = "_spUploadFiles__fileNamesList_loading_1jy0y_182", vp = "_spUploadFiles__fileNamesListItem_1jy0y_187", gp = "_spUploadFiles__fileNamesListItem__iconContainer_1jy0y_225", xp = "_spUploadFiles__fileNamesListItem__iconContainer_error_1jy0y_234", hp = "_spUploadFiles__fileNamesListItem__mainContent_1jy0y_239", bp = "_spUploadFiles__fileNamesListItem__fileNameWrapper_1jy0y_246", yp = "_spUploadFiles__fileNamesListItem__fileName_1jy0y_246", wp = "_spUploadFiles__fileNamesListItem__fileNameTooltip_1jy0y_253", Cp = "_spUploadFiles__fileNamesListItem__description_1jy0y_256", kp = "_spUploadFiles__fileNamesListItem__description__tooltipContent_1jy0y_261", Tp = "_spUploadFiles__fileNamesListItem__description_error_1jy0y_264", Np = "_spUploadFiles__fileNamesListItemDelete_1jy0y_267", Ep = "_spUploadFiles__fileNamesListItemDelete_error_1jy0y_284", Sp = "_spUploadFiles__delete_1jy0y_297", Ip = "_spUploadFiles__delete_loading_1jy0y_301", Lp = "_spUploadFiles__error_1jy0y_310",
|
|
4766
|
+
const Js = (e) => Ho(e), ep = "_spUploadFiles_1jy0y_43", tp = "_spUploadFiles_error_1jy0y_51", op = "_spUploadFiles__control_1jy0y_51", np = "_spUploadFiles__fileNameContainer_1jy0y_55", ap = "_spUploadFiles__fileName_dragError_1jy0y_59", ip = "_spUploadFiles__placeholderContainer_1jy0y_62", rp = "_spUploadFiles__placeholderContainer_withUloadTooltip_1jy0y_72", sp = "_spUploadFiles__placeholder_1jy0y_62", pp = "_spUploadFiles__control_loading_1jy0y_104", lp = "_shimmer_1jy0y_1", cp = "_spUploadFiles__fileName_1jy0y_55", dp = "_spUploadFiles__tooltip_1jy0y_130", mp = "_spUploadFiles_fileUploaded_1jy0y_160", up = "_spUploadFiles_disabled_1jy0y_160", _p = "_spUploadFiles__fileNamesList_1jy0y_171", fp = "_spUploadFiles__fileNamesList_loading_1jy0y_182", vp = "_spUploadFiles__fileNamesListItem_1jy0y_187", gp = "_spUploadFiles__fileNamesListItem__iconContainer_1jy0y_225", xp = "_spUploadFiles__fileNamesListItem__iconContainer_error_1jy0y_234", hp = "_spUploadFiles__fileNamesListItem__mainContent_1jy0y_239", bp = "_spUploadFiles__fileNamesListItem__fileNameWrapper_1jy0y_246", yp = "_spUploadFiles__fileNamesListItem__fileName_1jy0y_246", wp = "_spUploadFiles__fileNamesListItem__fileNameTooltip_1jy0y_253", Cp = "_spUploadFiles__fileNamesListItem__description_1jy0y_256", kp = "_spUploadFiles__fileNamesListItem__description__tooltipContent_1jy0y_261", Tp = "_spUploadFiles__fileNamesListItem__description_error_1jy0y_264", Np = "_spUploadFiles__fileNamesListItemDelete_1jy0y_267", Ep = "_spUploadFiles__fileNamesListItemDelete_error_1jy0y_284", Sp = "_spUploadFiles__delete_1jy0y_297", Ip = "_spUploadFiles__delete_loading_1jy0y_301", Lp = "_spUploadFiles__error_1jy0y_310", G = {
|
|
4759
4767
|
spUploadFiles: ep,
|
|
4760
4768
|
spUploadFiles_error: tp,
|
|
4761
4769
|
spUploadFiles__control: op,
|
|
@@ -4818,54 +4826,54 @@ const Js = (e) => Ho(e), ep = "_spUploadFiles_1jy0y_43", tp = "_spUploadFiles_er
|
|
|
4818
4826
|
tooltipPosition: d = pe.TopRight,
|
|
4819
4827
|
classNameRoot: u,
|
|
4820
4828
|
loading: g,
|
|
4821
|
-
error:
|
|
4822
|
-
} = e, [x,
|
|
4829
|
+
error: b
|
|
4830
|
+
} = e, [x, h] = ne([]), S = he(
|
|
4823
4831
|
(f, v) => {
|
|
4824
|
-
const L = v.map(({ file:
|
|
4825
|
-
file:
|
|
4832
|
+
const L = v.map(({ file: I, errors: P }) => ({
|
|
4833
|
+
file: I,
|
|
4826
4834
|
errors: P
|
|
4827
4835
|
}));
|
|
4828
4836
|
if (!s) {
|
|
4829
|
-
|
|
4837
|
+
h([...L]), a(f, n);
|
|
4830
4838
|
return;
|
|
4831
4839
|
}
|
|
4832
4840
|
const A = [...p, ...f];
|
|
4833
|
-
|
|
4841
|
+
h([...L, ...x]), a(A, n);
|
|
4834
4842
|
},
|
|
4835
4843
|
[x, p, s, n, a]
|
|
4836
4844
|
), { getRootProps: j, getInputProps: z } = Js({
|
|
4837
4845
|
accept: i,
|
|
4838
|
-
onDrop:
|
|
4846
|
+
onDrop: S,
|
|
4839
4847
|
multiple: s,
|
|
4840
4848
|
disabled: r
|
|
4841
4849
|
}), R = x ? (x == null ? void 0 : x.length) > 0 : void 0, w = [...p.map((f) => ({ file: f, errors: null })), ...x], m = (w == null ? void 0 : w.length) > 0 || (x == null ? void 0 : x.length) > 0, N = o === "input", O = o === "dropzone", q = _({
|
|
4842
|
-
[
|
|
4843
|
-
[
|
|
4844
|
-
[
|
|
4845
|
-
[
|
|
4846
|
-
[
|
|
4850
|
+
[G.spUploadFiles]: !0,
|
|
4851
|
+
[G[`spUploadFiles--variant-${o}`]]: o,
|
|
4852
|
+
[G.spUploadFiles_error]: R && !s && b && b.length > 0,
|
|
4853
|
+
[G.spUploadFiles_disabled]: r,
|
|
4854
|
+
[G.spUploadFiles_fileUploaded]: m,
|
|
4847
4855
|
...u && { [u]: !0 }
|
|
4848
|
-
}),
|
|
4849
|
-
[
|
|
4850
|
-
[
|
|
4851
|
-
}),
|
|
4852
|
-
[
|
|
4853
|
-
[
|
|
4854
|
-
}),
|
|
4855
|
-
[
|
|
4856
|
-
[
|
|
4856
|
+
}), Y = _({
|
|
4857
|
+
[G.spUploadFiles__control]: !0,
|
|
4858
|
+
[G.spUploadFiles__control_loading]: g
|
|
4859
|
+
}), oe = _({
|
|
4860
|
+
[G.spUploadFiles__fileNamesList]: !0,
|
|
4861
|
+
[G.spUploadFiles__fileNamesList_loading]: g
|
|
4862
|
+
}), le = _({
|
|
4863
|
+
[G.spUploadFiles__delete]: !0,
|
|
4864
|
+
[G.spUploadFiles__delete_loading]: g
|
|
4857
4865
|
}), ue = (f, v) => {
|
|
4858
4866
|
if (g)
|
|
4859
4867
|
return;
|
|
4860
4868
|
if (v) {
|
|
4861
|
-
const
|
|
4862
|
-
|
|
4869
|
+
const I = [...x], P = I.findIndex((B) => B.file.name === f);
|
|
4870
|
+
I.splice(P, 1), h(I);
|
|
4863
4871
|
return;
|
|
4864
4872
|
}
|
|
4865
|
-
const L = [...p], A = L.findIndex((
|
|
4873
|
+
const L = [...p], A = L.findIndex((I) => I.name === f);
|
|
4866
4874
|
L.splice(A, 1), a(L, n);
|
|
4867
|
-
},
|
|
4868
|
-
f.stopPropagation(), a([], n),
|
|
4875
|
+
}, ce = (f) => {
|
|
4876
|
+
f.stopPropagation(), a([], n), h([]);
|
|
4869
4877
|
}, Z = (f) => Object.values(f).flatMap((v) => v.map((L) => L.toUpperCase())).join(", "), T = () => {
|
|
4870
4878
|
if (R) {
|
|
4871
4879
|
const f = Z(i);
|
|
@@ -4873,10 +4881,10 @@ const Js = (e) => Ho(e), ep = "_spUploadFiles_1jy0y_43", tp = "_spUploadFiles_er
|
|
|
4873
4881
|
Ue,
|
|
4874
4882
|
{
|
|
4875
4883
|
text: `Неверный формат файла. Загрузите файл в формате ${f}`,
|
|
4876
|
-
classNameTooltipRoot: _(
|
|
4884
|
+
classNameTooltipRoot: _(G.spUploadFiles__fileNameContainer),
|
|
4877
4885
|
classNameRoot: _(
|
|
4878
|
-
|
|
4879
|
-
R &&
|
|
4886
|
+
G.spUploadFiles__fileName,
|
|
4887
|
+
R && G.spUploadFiles__fileName_dragError
|
|
4880
4888
|
)
|
|
4881
4889
|
}
|
|
4882
4890
|
);
|
|
@@ -4885,18 +4893,18 @@ const Js = (e) => Ho(e), ep = "_spUploadFiles_1jy0y_43", tp = "_spUploadFiles_er
|
|
|
4885
4893
|
Ue,
|
|
4886
4894
|
{
|
|
4887
4895
|
text: w[0].file.name,
|
|
4888
|
-
classNameTooltipRoot: _(
|
|
4889
|
-
classNameRoot: _(
|
|
4896
|
+
classNameTooltipRoot: _(G.spUploadFiles__fileNameContainer),
|
|
4897
|
+
classNameRoot: _(G.spUploadFiles__fileName)
|
|
4890
4898
|
}
|
|
4891
4899
|
);
|
|
4892
|
-
}, M = () => /* @__PURE__ */ c("ul", { className:
|
|
4893
|
-
const A = v ? (v == null ? void 0 : v.length) > 0 : void 0,
|
|
4900
|
+
}, M = () => /* @__PURE__ */ c("ul", { className: oe, children: w.map(({ file: f, errors: v }, L) => {
|
|
4901
|
+
const A = v ? (v == null ? void 0 : v.length) > 0 : void 0, I = () => v ? v == null ? void 0 : v.map(jp).join(", ") : "";
|
|
4894
4902
|
return /* @__PURE__ */ W(
|
|
4895
4903
|
"li",
|
|
4896
4904
|
{
|
|
4897
4905
|
className: _(
|
|
4898
|
-
|
|
4899
|
-
A &&
|
|
4906
|
+
G.spUploadFiles__fileNamesListItem,
|
|
4907
|
+
A && G.spUploadFiles__fileNamesListItem_error
|
|
4900
4908
|
),
|
|
4901
4909
|
onClick: (P) => {
|
|
4902
4910
|
P.stopPropagation();
|
|
@@ -4906,32 +4914,32 @@ const Js = (e) => Ho(e), ep = "_spUploadFiles_1jy0y_43", tp = "_spUploadFiles_er
|
|
|
4906
4914
|
"div",
|
|
4907
4915
|
{
|
|
4908
4916
|
className: _(
|
|
4909
|
-
|
|
4910
|
-
A &&
|
|
4917
|
+
G.spUploadFiles__fileNamesListItem__iconContainer,
|
|
4918
|
+
A && G.spUploadFiles__fileNamesListItem__iconContainer_error
|
|
4911
4919
|
),
|
|
4912
|
-
children: /* @__PURE__ */ c(
|
|
4920
|
+
children: /* @__PURE__ */ c(me, { name: A ? D.InfoError : D.File })
|
|
4913
4921
|
}
|
|
4914
4922
|
),
|
|
4915
|
-
/* @__PURE__ */ W("div", { className:
|
|
4923
|
+
/* @__PURE__ */ W("div", { className: G.spUploadFiles__fileNamesListItem__mainContent, children: [
|
|
4916
4924
|
/* @__PURE__ */ c(
|
|
4917
4925
|
Ue,
|
|
4918
4926
|
{
|
|
4919
4927
|
text: f.name,
|
|
4920
4928
|
defaultTooltipPosition: pe.TopLeft,
|
|
4921
4929
|
isWithFixedEnd: !0,
|
|
4922
|
-
classNameRoot:
|
|
4923
|
-
classNameTooltipRoot:
|
|
4924
|
-
classNameBaseTooltipRoot:
|
|
4930
|
+
classNameRoot: G.spUploadFiles__fileNamesListItem__fileName,
|
|
4931
|
+
classNameTooltipRoot: G.spUploadFiles__fileNamesListItem__fileNameWrapper,
|
|
4932
|
+
classNameBaseTooltipRoot: G.spUploadFiles__fileNamesListItem__fileNameTooltip
|
|
4925
4933
|
}
|
|
4926
4934
|
),
|
|
4927
4935
|
/* @__PURE__ */ c(
|
|
4928
4936
|
Ue,
|
|
4929
4937
|
{
|
|
4930
|
-
text: A ?
|
|
4931
|
-
classNameBaseTooltipRoot:
|
|
4938
|
+
text: A ? I() : Rp(f.size),
|
|
4939
|
+
classNameBaseTooltipRoot: G.spUploadFiles__fileNamesListItem__description__tooltipContent,
|
|
4932
4940
|
classNameRoot: _(
|
|
4933
|
-
|
|
4934
|
-
A &&
|
|
4941
|
+
G.spUploadFiles__fileNamesListItem__description,
|
|
4942
|
+
A && G.spUploadFiles__fileNamesListItem__description_error
|
|
4935
4943
|
)
|
|
4936
4944
|
}
|
|
4937
4945
|
)
|
|
@@ -4939,11 +4947,11 @@ const Js = (e) => Ho(e), ep = "_spUploadFiles_1jy0y_43", tp = "_spUploadFiles_er
|
|
|
4939
4947
|
/* @__PURE__ */ c(
|
|
4940
4948
|
"div",
|
|
4941
4949
|
{
|
|
4942
|
-
className: _(
|
|
4950
|
+
className: _(G.spUploadFiles__fileNamesListItemDelete),
|
|
4943
4951
|
onClick: (P) => {
|
|
4944
4952
|
P.stopPropagation(), ue(f.name, A);
|
|
4945
4953
|
},
|
|
4946
|
-
children: /* @__PURE__ */ c(
|
|
4954
|
+
children: /* @__PURE__ */ c(me, { name: D.Close })
|
|
4947
4955
|
}
|
|
4948
4956
|
)
|
|
4949
4957
|
]
|
|
@@ -4953,22 +4961,22 @@ const Js = (e) => Ho(e), ep = "_spUploadFiles_1jy0y_43", tp = "_spUploadFiles_er
|
|
|
4953
4961
|
}) }), $ = () => s ? M() : T(), K = () => /* @__PURE__ */ c(
|
|
4954
4962
|
Ue,
|
|
4955
4963
|
{
|
|
4956
|
-
classNameRoot:
|
|
4964
|
+
classNameRoot: G.spUploadFiles__placeholder,
|
|
4957
4965
|
classNameTooltipRoot: _(
|
|
4958
|
-
|
|
4959
|
-
!!l &&
|
|
4966
|
+
G.spUploadFiles__placeholderContainer,
|
|
4967
|
+
!!l && G.spUploadFiles__placeholderContainer_withUloadTooltip
|
|
4960
4968
|
),
|
|
4961
4969
|
text: t
|
|
4962
4970
|
}
|
|
4963
4971
|
), ee = () => /* @__PURE__ */ W($e, { children: [
|
|
4964
4972
|
m ? $() : K(),
|
|
4965
|
-
m && N ? /* @__PURE__ */ c("div", { className:
|
|
4973
|
+
m && N ? /* @__PURE__ */ c("div", { className: le, onClick: ce, children: /* @__PURE__ */ c(me, { name: D.Close }) }) : N && l && /* @__PURE__ */ c(
|
|
4966
4974
|
rt,
|
|
4967
4975
|
{
|
|
4968
4976
|
hover: !0,
|
|
4969
4977
|
position: d,
|
|
4970
4978
|
text: l,
|
|
4971
|
-
classNameTooltip:
|
|
4979
|
+
classNameTooltip: G.spUploadFiles__tooltip
|
|
4972
4980
|
}
|
|
4973
4981
|
)
|
|
4974
4982
|
] });
|
|
@@ -4986,13 +4994,13 @@ const Js = (e) => Ho(e), ep = "_spUploadFiles_1jy0y_43", tp = "_spUploadFiles_er
|
|
|
4986
4994
|
hover: !0,
|
|
4987
4995
|
text: l,
|
|
4988
4996
|
position: d,
|
|
4989
|
-
classNameTooltip:
|
|
4997
|
+
classNameTooltip: G.spUploadFiles__tooltip,
|
|
4990
4998
|
trigger: void 0
|
|
4991
4999
|
}
|
|
4992
5000
|
),
|
|
4993
|
-
/* @__PURE__ */ W("div", { className:
|
|
5001
|
+
/* @__PURE__ */ W("div", { className: Y, children: [
|
|
4994
5002
|
N && (g ? /* @__PURE__ */ c(Dt, {}) : /* @__PURE__ */ c(
|
|
4995
|
-
|
|
5003
|
+
me,
|
|
4996
5004
|
{
|
|
4997
5005
|
name: m ? D.Check : D.Upload,
|
|
4998
5006
|
style: { flexShrink: 0 }
|
|
@@ -5000,7 +5008,7 @@ const Js = (e) => Ho(e), ep = "_spUploadFiles_1jy0y_43", tp = "_spUploadFiles_er
|
|
|
5000
5008
|
)),
|
|
5001
5009
|
ee()
|
|
5002
5010
|
] }),
|
|
5003
|
-
|
|
5011
|
+
b && /* @__PURE__ */ c("div", { className: G.spUploadFiles__error, children: b })
|
|
5004
5012
|
] })
|
|
5005
5013
|
}
|
|
5006
5014
|
);
|
|
@@ -5022,10 +5030,10 @@ const Js = (e) => Ho(e), ep = "_spUploadFiles_1jy0y_43", tp = "_spUploadFiles_er
|
|
|
5022
5030
|
fallbackSrc: r,
|
|
5023
5031
|
showLoader: s = !0,
|
|
5024
5032
|
onClose: p
|
|
5025
|
-
} = e, [l, d] =
|
|
5033
|
+
} = e, [l, d] = ne(!0), [u, g] = ne(!1), [b, x] = ne(n), h = _({
|
|
5026
5034
|
[Ne.viewImageModal]: !0,
|
|
5027
5035
|
...t && { [t]: !0 }
|
|
5028
|
-
}),
|
|
5036
|
+
}), S = _({
|
|
5029
5037
|
[Ne.viewImageModal__layer]: !0
|
|
5030
5038
|
}), j = _({
|
|
5031
5039
|
[Ne.viewImageModal__closeButton]: !0
|
|
@@ -5036,25 +5044,25 @@ const Js = (e) => Ho(e), ep = "_spUploadFiles_1jy0y_43", tp = "_spUploadFiles_er
|
|
|
5036
5044
|
[Ne.viewImageModal__img_error]: u,
|
|
5037
5045
|
...o && { [o]: !0 }
|
|
5038
5046
|
});
|
|
5039
|
-
return /* @__PURE__ */ W(yo, { classNameRoot:
|
|
5047
|
+
return /* @__PURE__ */ W(yo, { classNameRoot: S, children: [
|
|
5040
5048
|
s && l && /* @__PURE__ */ c(Dt, { classNameRoot: z, size: "xl" }),
|
|
5041
|
-
/* @__PURE__ */ W("div", { className:
|
|
5049
|
+
/* @__PURE__ */ W("div", { className: h, children: [
|
|
5042
5050
|
/* @__PURE__ */ c(
|
|
5043
5051
|
"img",
|
|
5044
5052
|
{
|
|
5045
5053
|
className: R,
|
|
5046
|
-
src:
|
|
5054
|
+
src: b,
|
|
5047
5055
|
alt: "someImage",
|
|
5048
5056
|
onLoad: (N) => {
|
|
5049
5057
|
d(!1), a == null || a(N);
|
|
5050
5058
|
},
|
|
5051
5059
|
onError: (N) => {
|
|
5052
|
-
d(!1), g(!0), r &&
|
|
5060
|
+
d(!1), g(!0), r && b !== r && (x(r), g(!1), d(!0)), i == null || i(N);
|
|
5053
5061
|
}
|
|
5054
5062
|
}
|
|
5055
5063
|
),
|
|
5056
5064
|
u && /* @__PURE__ */ W("div", { className: Ne.viewImage__errorWrapper, children: [
|
|
5057
|
-
/* @__PURE__ */ c(
|
|
5065
|
+
/* @__PURE__ */ c(me, { name: D.InfoError, className: Ne.viewImage__errorIcon }),
|
|
5058
5066
|
/* @__PURE__ */ c(Ee, { children: "Не удалось загрузить изображение" })
|
|
5059
5067
|
] })
|
|
5060
5068
|
] }),
|
|
@@ -5087,7 +5095,7 @@ export {
|
|
|
5087
5095
|
pe as ETooltipPosition,
|
|
5088
5096
|
Ue as EllipsisTextWithTooltip,
|
|
5089
5097
|
Xp as Form,
|
|
5090
|
-
|
|
5098
|
+
me as Icon,
|
|
5091
5099
|
rt as InfoTooltip,
|
|
5092
5100
|
Ni as Input,
|
|
5093
5101
|
Mt as Label,
|