test-stpr-ui-kit 0.5.1 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/test-stpr-ui-kit.css +1 -1
- package/dist/test-stpr-ui-kit.js +455 -457
- package/dist/test-stpr-ui-kit.umd.cjs +10 -10
- package/package.json +1 -1
package/dist/test-stpr-ui-kit.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as P, jsx as c, Fragment as At } from "react/jsx-runtime";
|
|
2
2
|
import * as C from "react";
|
|
3
|
-
import qe, { useState as ee, useEffect as re, useRef as de, useCallback as xe, useLayoutEffect as go, createContext as xo, useContext as Xo, useMemo as
|
|
3
|
+
import qe, { useState as ee, useEffect as re, useRef as de, useCallback as xe, useLayoutEffect as go, createContext as xo, useContext as Xo, useMemo as Me, useReducer as Zo, forwardRef as Qo, useImperativeHandle as Jo, Fragment as en } from "react";
|
|
4
4
|
import tn from "react-dom";
|
|
5
5
|
import './test-stpr-ui-kit.css';function ho(e) {
|
|
6
6
|
var t, o, n = "";
|
|
@@ -16,45 +16,45 @@ function f() {
|
|
|
16
16
|
return n;
|
|
17
17
|
}
|
|
18
18
|
const on = (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" })), 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: "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" })), an = (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 })), rn = (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 })), sn = (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 })), pn = (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" })), ln = (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" })), 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: "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" })), 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: "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" })), mn = (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" })), un = (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" })), _n = (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" })), fn = (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" })), vn = (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" })), gn = (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" })), 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: "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" })), hn = (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" })), bn = (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" })), 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: "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" })), 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: "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" })), Cn = (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" })), kn = (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" })), Tn = (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" })), Nn = (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" })), En = (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
|
-
var
|
|
19
|
+
var M = /* @__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))(M || {});
|
|
20
20
|
const ve = (e) => {
|
|
21
21
|
const { name: t, rotate: o, ...n } = e, a = {
|
|
22
22
|
...n.style,
|
|
23
23
|
transform: o ? `rotate(${o}deg)` : ""
|
|
24
24
|
}, i = {
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
[
|
|
28
|
-
[
|
|
29
|
-
[
|
|
30
|
-
[
|
|
31
|
-
[
|
|
32
|
-
[
|
|
33
|
-
[
|
|
34
|
-
[
|
|
35
|
-
[
|
|
36
|
-
[
|
|
37
|
-
[
|
|
38
|
-
[
|
|
39
|
-
[
|
|
40
|
-
[
|
|
41
|
-
[
|
|
42
|
-
[
|
|
43
|
-
[
|
|
44
|
-
[
|
|
45
|
-
[
|
|
46
|
-
[
|
|
47
|
-
[
|
|
48
|
-
[
|
|
49
|
-
[
|
|
25
|
+
[M.ChevronDown]: rn,
|
|
26
|
+
[M.Info]: _n,
|
|
27
|
+
[M.Plus]: xn,
|
|
28
|
+
[M.Minus]: gn,
|
|
29
|
+
[M.SelectChevronDown]: Cn,
|
|
30
|
+
[M.Upload]: Nn,
|
|
31
|
+
[M.Trash]: Tn,
|
|
32
|
+
[M.Check]: an,
|
|
33
|
+
[M.Copy]: pn,
|
|
34
|
+
[M.Close]: sn,
|
|
35
|
+
[M.PlusSquare]: bn,
|
|
36
|
+
[M.WarningColor]: En,
|
|
37
|
+
[M.Dots]: ln,
|
|
38
|
+
[M.HistoryClock]: un,
|
|
39
|
+
[M.PlusCircle]: hn,
|
|
40
|
+
[M.TerminalSquare]: kn,
|
|
41
|
+
[M.File]: mn,
|
|
42
|
+
[M.InfoError]: fn,
|
|
43
|
+
[M.AddFile]: on,
|
|
44
|
+
[M.AddUser]: nn,
|
|
45
|
+
[M.Download]: cn,
|
|
46
|
+
[M.Edit]: dn,
|
|
47
|
+
[M.Refresh]: yn,
|
|
48
|
+
[M.Logout]: vn,
|
|
49
|
+
[M.Save]: wn
|
|
50
50
|
};
|
|
51
51
|
return qe.createElement(i[t], {
|
|
52
52
|
...n,
|
|
53
53
|
style: a
|
|
54
54
|
});
|
|
55
|
-
},
|
|
56
|
-
spAccordion:
|
|
57
|
-
spAccordion_noBorder:
|
|
55
|
+
}, Sn = "_spAccordion_14avc_43", In = "_spAccordion_noBorder_14avc_60", Ln = "_spAccordion_noPadding_14avc_63", Rn = "_spAccordion_open_14avc_66", Fn = "_spAccordion__header_14avc_69", An = "_spAccordion_noOpen_14avc_88", jn = "_spAccordion__name_14avc_99", Dn = "_spAccordion__name_hiddenExpand_14avc_110", Mn = "_spAccordion__icon_14avc_125", zn = "_spAccordion__icon_hidden_14avc_131", Bn = "_spAccordion__icon_open_14avc_134", Pn = "_spAccordion__childrenWrapper_14avc_141", On = "_spAccordion__childrenWrapper_open_14avc_150", Wn = "_spAccordion__content_14avc_153", Un = "_spAccordion__content_open_14avc_159", ce = {
|
|
56
|
+
spAccordion: Sn,
|
|
57
|
+
spAccordion_noBorder: In,
|
|
58
58
|
spAccordion_noPadding: Ln,
|
|
59
59
|
spAccordion_open: Rn,
|
|
60
60
|
spAccordion__header: Fn,
|
|
@@ -63,14 +63,14 @@ const ve = (e) => {
|
|
|
63
63
|
spAccordion__name_hiddenExpand: Dn,
|
|
64
64
|
"spAccordion__name--level-1": "_spAccordion__name--level-1_14avc_114",
|
|
65
65
|
"spAccordion__name--level-2": "_spAccordion__name--level-2_14avc_117",
|
|
66
|
-
spAccordion__icon:
|
|
67
|
-
spAccordion__icon_hidden:
|
|
68
|
-
spAccordion__icon_open:
|
|
69
|
-
spAccordion__childrenWrapper:
|
|
70
|
-
spAccordion__childrenWrapper_open:
|
|
71
|
-
spAccordion__content:
|
|
66
|
+
spAccordion__icon: Mn,
|
|
67
|
+
spAccordion__icon_hidden: zn,
|
|
68
|
+
spAccordion__icon_open: Bn,
|
|
69
|
+
spAccordion__childrenWrapper: Pn,
|
|
70
|
+
spAccordion__childrenWrapper_open: On,
|
|
71
|
+
spAccordion__content: Wn,
|
|
72
72
|
spAccordion__content_open: Un
|
|
73
|
-
},
|
|
73
|
+
}, zp = (e) => {
|
|
74
74
|
const {
|
|
75
75
|
name: t,
|
|
76
76
|
children: o,
|
|
@@ -115,14 +115,14 @@ const ve = (e) => {
|
|
|
115
115
|
[ce.spAccordion__content]: !0,
|
|
116
116
|
[ce.spAccordion__content_open]: x
|
|
117
117
|
});
|
|
118
|
-
return /* @__PURE__ */
|
|
119
|
-
/* @__PURE__ */
|
|
118
|
+
return /* @__PURE__ */ P("div", { className: A, children: [
|
|
119
|
+
/* @__PURE__ */ P("div", { className: U, children: [
|
|
120
120
|
/* @__PURE__ */ c("div", { className: F, children: /* @__PURE__ */ c("span", { onClick: R, children: t }) }),
|
|
121
|
-
/* @__PURE__ */ c(ve, { onClick: R, className: y, name:
|
|
121
|
+
/* @__PURE__ */ c(ve, { onClick: R, className: y, name: M.ChevronDown })
|
|
122
122
|
] }),
|
|
123
123
|
/* @__PURE__ */ c("div", { className: m, children: /* @__PURE__ */ c("div", { className: N, children: o }) })
|
|
124
124
|
] });
|
|
125
|
-
}, qn = "_spinner_16mxl_43",
|
|
125
|
+
}, qn = "_spinner_16mxl_43", Ot = {
|
|
126
126
|
spinner: qn,
|
|
127
127
|
"spinner-rotate": "_spinner-rotate_16mxl_1",
|
|
128
128
|
"spinner-clip": "_spinner-clip_16mxl_1",
|
|
@@ -135,7 +135,7 @@ const ve = (e) => {
|
|
|
135
135
|
return /* @__PURE__ */ c(
|
|
136
136
|
"div",
|
|
137
137
|
{
|
|
138
|
-
className: f(
|
|
138
|
+
className: f(Ot.spinner, Ot[`spinner--${t}`], n),
|
|
139
139
|
"aria-label": "Loading",
|
|
140
140
|
role: "status",
|
|
141
141
|
style: { color: o }
|
|
@@ -183,7 +183,7 @@ const ve = (e) => {
|
|
|
183
183
|
[we.spButton__iconContainer]: !0,
|
|
184
184
|
...A && { [A]: !0 }
|
|
185
185
|
});
|
|
186
|
-
return /* @__PURE__ */
|
|
186
|
+
return /* @__PURE__ */ P(At, { children: [
|
|
187
187
|
(r || i || g) && /* @__PURE__ */ c("div", { className: N, children: g ? /* @__PURE__ */ c(jt, { size: "md", classNameRoot: we.spButton__spinner }) : i ? /* @__PURE__ */ c(ve, { name: i, rotate: s }) : r || null }),
|
|
188
188
|
!x && u && /* @__PURE__ */ c("div", { className: m, children: u })
|
|
189
189
|
] });
|
|
@@ -210,7 +210,7 @@ const ve = (e) => {
|
|
|
210
210
|
children: F()
|
|
211
211
|
}
|
|
212
212
|
);
|
|
213
|
-
}, na = "_spApplyButtons_1l9jg_43", aa = "_spApplyButtons__cancel_1l9jg_73", ia = "_spApplyButtons__submit_1l9jg_76",
|
|
213
|
+
}, na = "_spApplyButtons_1l9jg_43", aa = "_spApplyButtons__cancel_1l9jg_73", ia = "_spApplyButtons__submit_1l9jg_76", Oe = {
|
|
214
214
|
spApplyButtons: na,
|
|
215
215
|
"spApplyButtons_align-right": "_spApplyButtons_align-right_1l9jg_48",
|
|
216
216
|
"spApplyButtons_align-left": "_spApplyButtons_align-left_1l9jg_51",
|
|
@@ -234,15 +234,15 @@ const ve = (e) => {
|
|
|
234
234
|
submit: u,
|
|
235
235
|
loading: g
|
|
236
236
|
} = e, h = f({
|
|
237
|
-
[
|
|
238
|
-
[
|
|
239
|
-
[
|
|
237
|
+
[Oe.spApplyButtons]: !0,
|
|
238
|
+
[Oe[`spApplyButtons_mobile-${t}`]]: t,
|
|
239
|
+
[Oe[`spApplyButtons_align-${o}`]]: o
|
|
240
240
|
}), x = f({
|
|
241
|
-
[
|
|
241
|
+
[Oe.spApplyButtons__submit]: !0
|
|
242
242
|
}), w = f({
|
|
243
|
-
[
|
|
243
|
+
[Oe.spApplyButtons__cancel]: !0
|
|
244
244
|
});
|
|
245
|
-
return /* @__PURE__ */
|
|
245
|
+
return /* @__PURE__ */ P("div", { className: h, children: [
|
|
246
246
|
n && /* @__PURE__ */ c(
|
|
247
247
|
et,
|
|
248
248
|
{
|
|
@@ -270,7 +270,7 @@ const ve = (e) => {
|
|
|
270
270
|
}
|
|
271
271
|
)
|
|
272
272
|
] });
|
|
273
|
-
},
|
|
273
|
+
}, Bp = (e = {}) => {
|
|
274
274
|
const { initialValue: t = null } = e, [o, n] = ee(t);
|
|
275
275
|
return {
|
|
276
276
|
isOpen: !!o,
|
|
@@ -294,7 +294,7 @@ const ve = (e) => {
|
|
|
294
294
|
t || document.body.removeChild(i);
|
|
295
295
|
};
|
|
296
296
|
}, [t, o]), n ? tn.createPortal(e, n) : null;
|
|
297
|
-
}, sa = "_layer_14g8d_43", pa = "_layer_hidden_14g8d_65",
|
|
297
|
+
}, sa = "_layer_14g8d_43", pa = "_layer_hidden_14g8d_65", Wt = {
|
|
298
298
|
layer: sa,
|
|
299
299
|
layer_hidden: pa
|
|
300
300
|
}, yo = (e) => {
|
|
@@ -304,8 +304,8 @@ const ve = (e) => {
|
|
|
304
304
|
isHiddenModal: n = !1,
|
|
305
305
|
classNameRoot: a
|
|
306
306
|
} = e, i = document.body, r = f({
|
|
307
|
-
[
|
|
308
|
-
[
|
|
307
|
+
[Wt.layer]: !0,
|
|
308
|
+
[Wt.layer_hidden]: n,
|
|
309
309
|
...a && { [a]: !0 }
|
|
310
310
|
});
|
|
311
311
|
return re(() => {
|
|
@@ -356,26 +356,26 @@ const ve = (e) => {
|
|
|
356
356
|
);
|
|
357
357
|
});
|
|
358
358
|
Te.displayName = "Text";
|
|
359
|
-
const ma = "
|
|
359
|
+
const ma = "_modalWrapper_1kqdh_43", ua = "_modalWrapper__modal_1kqdh_63", _a = "_modalWrapper__content_1kqdh_117", fa = "_modalWrapper__header_1kqdh_120", va = "_modalWrapper__subHeader_1kqdh_128", ga = "_modalWrapper__subHeader_onlySubHeader_1kqdh_136", xa = "_modalWrapper__footer_1kqdh_139", ha = "_modalWrapper__closeButton_1kqdh_142", ge = {
|
|
360
360
|
modalWrapper: ma,
|
|
361
|
-
"modalWrapper--modalVerticalAlign-top": "_modalWrapper--modalVerticalAlign-
|
|
362
|
-
"modalWrapper--modalVerticalAlign-center": "_modalWrapper--modalVerticalAlign-
|
|
363
|
-
"modalWrapper--textAlign-left": "_modalWrapper--textAlign-
|
|
364
|
-
"modalWrapper--textAlign-center": "_modalWrapper--textAlign-
|
|
365
|
-
"modalWrapper--textAlign-right": "_modalWrapper--textAlign-
|
|
361
|
+
"modalWrapper--modalVerticalAlign-top": "_modalWrapper--modalVerticalAlign-top_1kqdh_48",
|
|
362
|
+
"modalWrapper--modalVerticalAlign-center": "_modalWrapper--modalVerticalAlign-center_1kqdh_51",
|
|
363
|
+
"modalWrapper--textAlign-left": "_modalWrapper--textAlign-left_1kqdh_54",
|
|
364
|
+
"modalWrapper--textAlign-center": "_modalWrapper--textAlign-center_1kqdh_57",
|
|
365
|
+
"modalWrapper--textAlign-right": "_modalWrapper--textAlign-right_1kqdh_60",
|
|
366
366
|
modalWrapper__modal: ua,
|
|
367
|
-
"modalWrapper__modal--size-lg": "_modalWrapper__modal--size-
|
|
368
|
-
"modalWrapper__modal--size-md": "_modalWrapper__modal--size-
|
|
367
|
+
"modalWrapper__modal--size-lg": "_modalWrapper__modal--size-lg_1kqdh_106",
|
|
368
|
+
"modalWrapper__modal--size-md": "_modalWrapper__modal--size-md_1kqdh_112",
|
|
369
369
|
modalWrapper__content: _a,
|
|
370
370
|
modalWrapper__header: fa,
|
|
371
371
|
modalWrapper__subHeader: va,
|
|
372
372
|
modalWrapper__subHeader_onlySubHeader: ga,
|
|
373
373
|
modalWrapper__footer: xa,
|
|
374
374
|
modalWrapper__closeButton: ha,
|
|
375
|
-
"modalWrapper__closeButton--size-lg": "_modalWrapper__closeButton--size-
|
|
376
|
-
"modalWrapper__closeButton--size-md": "_modalWrapper__closeButton--size-
|
|
377
|
-
"modalWrapper__closeButtonIconContainer--size-lg": "_modalWrapper__closeButtonIconContainer--size-
|
|
378
|
-
"modalWrapper__closeButtonIconContainer--size-md": "_modalWrapper__closeButtonIconContainer--size-
|
|
375
|
+
"modalWrapper__closeButton--size-lg": "_modalWrapper__closeButton--size-lg_1kqdh_151",
|
|
376
|
+
"modalWrapper__closeButton--size-md": "_modalWrapper__closeButton--size-md_1kqdh_155",
|
|
377
|
+
"modalWrapper__closeButtonIconContainer--size-lg": "_modalWrapper__closeButtonIconContainer--size-lg_1kqdh_160",
|
|
378
|
+
"modalWrapper__closeButtonIconContainer--size-md": "_modalWrapper__closeButtonIconContainer--size-md_1kqdh_164"
|
|
379
379
|
}, ba = (e) => {
|
|
380
380
|
const {
|
|
381
381
|
zIndex: t = 999,
|
|
@@ -416,8 +416,8 @@ const ma = "_modalWrapper_1pg9r_43", ua = "_modalWrapper__modal_1pg9r_63", _a =
|
|
|
416
416
|
}), N = f({
|
|
417
417
|
[ge.modalWrapper__footer]: !0
|
|
418
418
|
});
|
|
419
|
-
return /* @__PURE__ */ c(yo, { zIndex: t, isHiddenModal: o, classNameRoot: i, children: /* @__PURE__ */ c("div", { className: w, children: /* @__PURE__ */
|
|
420
|
-
(u || g) && /* @__PURE__ */
|
|
419
|
+
return /* @__PURE__ */ c(yo, { zIndex: t, isHiddenModal: o, classNameRoot: i, children: /* @__PURE__ */ c("div", { className: w, children: /* @__PURE__ */ P("div", { className: R, style: s, children: [
|
|
420
|
+
(u || g) && /* @__PURE__ */ P("div", { className: y, children: [
|
|
421
421
|
typeof u == "string" ? /* @__PURE__ */ c(Te, { type: "h3", children: u }) : u,
|
|
422
422
|
g && /* @__PURE__ */ c("div", { className: m, children: typeof g == "string" ? /* @__PURE__ */ c(Te, { children: g }) : g })
|
|
423
423
|
] }),
|
|
@@ -429,7 +429,7 @@ const ma = "_modalWrapper_1pg9r_43", ua = "_modalWrapper__modal_1pg9r_63", _a =
|
|
|
429
429
|
classNameRoot: A,
|
|
430
430
|
classNameIconContainerRoot: U,
|
|
431
431
|
onClick: d,
|
|
432
|
-
iconName:
|
|
432
|
+
iconName: M.Close,
|
|
433
433
|
variant: "link",
|
|
434
434
|
noPadding: !0,
|
|
435
435
|
isOnlyIcon: !0
|
|
@@ -494,7 +494,7 @@ const ma = "_modalWrapper_1pg9r_43", ua = "_modalWrapper__modal_1pg9r_63", _a =
|
|
|
494
494
|
) : null
|
|
495
495
|
}
|
|
496
496
|
);
|
|
497
|
-
},
|
|
497
|
+
}, Pp = (e) => {
|
|
498
498
|
const {
|
|
499
499
|
children: t,
|
|
500
500
|
isNeedAuthorized: o,
|
|
@@ -506,7 +506,7 @@ const ma = "_modalWrapper_1pg9r_43", ua = "_modalWrapper__modal_1pg9r_63", _a =
|
|
|
506
506
|
} = e, [p, l] = ee(o);
|
|
507
507
|
return re(() => {
|
|
508
508
|
l(o);
|
|
509
|
-
}, [o]), /* @__PURE__ */
|
|
509
|
+
}, [o]), /* @__PURE__ */ P(At, { children: [
|
|
510
510
|
t,
|
|
511
511
|
p && /* @__PURE__ */ c(
|
|
512
512
|
ya,
|
|
@@ -587,56 +587,56 @@ const $e = (e) => {
|
|
|
587
587
|
w
|
|
588
588
|
);
|
|
589
589
|
const m = (T) => {
|
|
590
|
-
n && T.stopPropagation(), !t && (w ? s && s() : r && r(), R((
|
|
591
|
-
}, [N,
|
|
590
|
+
n && T.stopPropagation(), !t && (w ? s && s() : r && r(), R((z) => o ? !z : !0));
|
|
591
|
+
}, [N, W] = ee({
|
|
592
592
|
visibility: "hidden",
|
|
593
593
|
opacity: 0,
|
|
594
594
|
left: "-9999px"
|
|
595
595
|
}), [K, J] = ee(!1), ne = xe(() => {
|
|
596
596
|
if (!A.current || !U.current) return;
|
|
597
|
-
const T = A.current.getBoundingClientRect(),
|
|
597
|
+
const T = A.current.getBoundingClientRect(), z = U.current.getBoundingClientRect();
|
|
598
598
|
let q = 0, V = 0;
|
|
599
599
|
switch (l) {
|
|
600
600
|
case pe.Right:
|
|
601
|
-
q = T.top + window.scrollY - (
|
|
601
|
+
q = T.top + window.scrollY - (z.height - T.height) / 2, V = T.right + window.scrollX;
|
|
602
602
|
break;
|
|
603
603
|
case pe.RightTop:
|
|
604
604
|
q = T.top + window.scrollY, V = T.right + window.scrollX;
|
|
605
605
|
break;
|
|
606
606
|
case pe.RightBottom:
|
|
607
|
-
q = T.bottom + window.scrollY -
|
|
607
|
+
q = T.bottom + window.scrollY - z.height, V = T.right + window.scrollX;
|
|
608
608
|
break;
|
|
609
609
|
case pe.Left:
|
|
610
|
-
q = T.top + window.scrollY - (
|
|
610
|
+
q = T.top + window.scrollY - (z.height - T.height) / 2, V = T.left + window.scrollX - z.width;
|
|
611
611
|
break;
|
|
612
612
|
case pe.LeftTop:
|
|
613
|
-
q = T.top + window.scrollY, V = T.left + window.scrollX -
|
|
613
|
+
q = T.top + window.scrollY, V = T.left + window.scrollX - z.width;
|
|
614
614
|
break;
|
|
615
615
|
case pe.LeftBottom:
|
|
616
|
-
q = T.bottom + window.scrollY -
|
|
616
|
+
q = T.bottom + window.scrollY - z.height, V = T.left + window.scrollX - z.width;
|
|
617
617
|
break;
|
|
618
618
|
case pe.Bottom:
|
|
619
|
-
q = T.bottom + window.scrollY, V = T.left + window.scrollX - (
|
|
619
|
+
q = T.bottom + window.scrollY, V = T.left + window.scrollX - (z.width - T.width) / 2;
|
|
620
620
|
break;
|
|
621
621
|
case pe.BottomLeft:
|
|
622
622
|
q = T.bottom + window.scrollY, V = T.left + window.scrollX;
|
|
623
623
|
break;
|
|
624
624
|
case pe.BottomRight:
|
|
625
|
-
q = T.bottom + window.scrollY, V = T.right + window.scrollX -
|
|
625
|
+
q = T.bottom + window.scrollY, V = T.right + window.scrollX - z.width;
|
|
626
626
|
break;
|
|
627
627
|
case pe.Top:
|
|
628
|
-
q = T.top + window.scrollY -
|
|
628
|
+
q = T.top + window.scrollY - z.height, V = T.left + window.scrollX - (z.width - T.width) / 2;
|
|
629
629
|
break;
|
|
630
630
|
case pe.TopLeft:
|
|
631
|
-
q = T.top + window.scrollY -
|
|
631
|
+
q = T.top + window.scrollY - z.height, V = T.left + window.scrollX;
|
|
632
632
|
break;
|
|
633
633
|
case pe.TopRight:
|
|
634
|
-
q = T.top + window.scrollY -
|
|
634
|
+
q = T.top + window.scrollY - z.height, V = T.right + window.scrollX - z.width;
|
|
635
635
|
break;
|
|
636
636
|
default:
|
|
637
637
|
q = T.bottom + window.scrollY, V = T.left + window.scrollX;
|
|
638
638
|
}
|
|
639
|
-
q +
|
|
639
|
+
q + z.height > window.innerHeight + window.scrollY && l.includes("bottom") ? q = T.top + window.scrollY - z.height : q < window.scrollY && l.includes("top") && (q = T.bottom + window.scrollY), V + z.width > window.innerWidth + window.scrollX && l.includes("left") ? V = T.left + window.scrollX - z.width + T.width : V < window.scrollX && l.includes("right") && (V = T.right + window.scrollX - T.width), W((te) => ({
|
|
640
640
|
...te,
|
|
641
641
|
top: `${q}px`,
|
|
642
642
|
left: `${V}px`,
|
|
@@ -661,7 +661,7 @@ const $e = (e) => {
|
|
|
661
661
|
[ko.spTooltip]: !0,
|
|
662
662
|
...p && { [p]: !0 }
|
|
663
663
|
}), X = document.body;
|
|
664
|
-
return /* @__PURE__ */
|
|
664
|
+
return /* @__PURE__ */ P(
|
|
665
665
|
"div",
|
|
666
666
|
{
|
|
667
667
|
ref: A,
|
|
@@ -696,13 +696,13 @@ const $e = (e) => {
|
|
|
696
696
|
{
|
|
697
697
|
...e,
|
|
698
698
|
classNameTooltip: o,
|
|
699
|
-
trigger: /* @__PURE__ */ c(ve, { name:
|
|
699
|
+
trigger: /* @__PURE__ */ c(ve, { name: M.Info })
|
|
700
700
|
}
|
|
701
701
|
);
|
|
702
|
-
}, Ea = "_spCheckbox_1ypiv_43",
|
|
702
|
+
}, Ea = "_spCheckbox_1ypiv_43", Sa = "_spCheckbox__control_1ypiv_49", Ia = "_spCheckbox__label_1ypiv_52", La = "_spCheckbox__box_1ypiv_63", Ra = "_spCheckbox__box_checked_1ypiv_90", Fa = "_spCheckbox__box_disabled_1ypiv_100", Aa = "_spCheckbox__box_error_1ypiv_111", ja = "_spCheckbox__tooltip_1ypiv_114", Da = "_spCheckbox__required_1ypiv_119", Ma = "_spCheckbox__error_1ypiv_125", Ce = {
|
|
703
703
|
spCheckbox: Ea,
|
|
704
|
-
spCheckbox__control:
|
|
705
|
-
spCheckbox__label:
|
|
704
|
+
spCheckbox__control: Sa,
|
|
705
|
+
spCheckbox__label: Ia,
|
|
706
706
|
spCheckbox__box: La,
|
|
707
707
|
"spCheckbox__box--size-lg": "_spCheckbox__box--size-lg_1ypiv_68",
|
|
708
708
|
"spCheckbox__box--size-md": "_spCheckbox__box--size-md_1ypiv_73",
|
|
@@ -711,8 +711,8 @@ const $e = (e) => {
|
|
|
711
711
|
spCheckbox__box_error: Aa,
|
|
712
712
|
spCheckbox__tooltip: ja,
|
|
713
713
|
spCheckbox__required: Da,
|
|
714
|
-
spCheckbox__error:
|
|
715
|
-
},
|
|
714
|
+
spCheckbox__error: Ma
|
|
715
|
+
}, Op = (e) => {
|
|
716
716
|
const {
|
|
717
717
|
size: t = "lg",
|
|
718
718
|
checked: o,
|
|
@@ -749,16 +749,16 @@ const $e = (e) => {
|
|
|
749
749
|
}), m = f({
|
|
750
750
|
[Ce.spCheckbox__tooltip]: !0
|
|
751
751
|
});
|
|
752
|
-
return /* @__PURE__ */
|
|
753
|
-
/* @__PURE__ */
|
|
752
|
+
return /* @__PURE__ */ P("div", { className: w, onMouseEnter: g, children: [
|
|
753
|
+
/* @__PURE__ */ P("label", { className: R, children: [
|
|
754
754
|
/* @__PURE__ */ c(
|
|
755
755
|
"input",
|
|
756
756
|
{
|
|
757
757
|
type: "checkbox",
|
|
758
758
|
className: A,
|
|
759
759
|
checked: o,
|
|
760
|
-
onChange: (
|
|
761
|
-
!n && a && a(
|
|
760
|
+
onChange: (W) => {
|
|
761
|
+
!n && a && a(W, { name: i, checked: !o, value: p });
|
|
762
762
|
}
|
|
763
763
|
}
|
|
764
764
|
),
|
|
@@ -768,18 +768,18 @@ const $e = (e) => {
|
|
|
768
768
|
] }),
|
|
769
769
|
s && /* @__PURE__ */ c("div", { className: y, children: s })
|
|
770
770
|
] });
|
|
771
|
-
},
|
|
772
|
-
spContextMenu:
|
|
773
|
-
spContextMenu__item:
|
|
774
|
-
spContextMenu__item_deleteItem:
|
|
775
|
-
},
|
|
771
|
+
}, za = "_spContextMenu_1cza9_43", Ba = "_spContextMenu__item_1cza9_55", Pa = "_spContextMenu__item_deleteItem_1cza9_74", _t = {
|
|
772
|
+
spContextMenu: za,
|
|
773
|
+
spContextMenu__item: Ba,
|
|
774
|
+
spContextMenu__item_deleteItem: Pa
|
|
775
|
+
}, Wp = (e) => {
|
|
776
776
|
const { onClickItem: t, options: o, classNameRoot: n } = e, a = f({
|
|
777
777
|
[_t.spContextMenu]: !0,
|
|
778
778
|
...n && { [n]: !0 }
|
|
779
779
|
});
|
|
780
780
|
return /* @__PURE__ */ c("ul", { className: a, children: o == null ? void 0 : o.map((i) => {
|
|
781
781
|
const r = i.key === "delete";
|
|
782
|
-
return /* @__PURE__ */
|
|
782
|
+
return /* @__PURE__ */ P(
|
|
783
783
|
"li",
|
|
784
784
|
{
|
|
785
785
|
className: f({
|
|
@@ -797,14 +797,14 @@ const $e = (e) => {
|
|
|
797
797
|
i.key
|
|
798
798
|
);
|
|
799
799
|
}) });
|
|
800
|
-
},
|
|
800
|
+
}, Oa = (e) => {
|
|
801
801
|
const { getRootProps: t, children: o, disabled: n, name: a, getInputProps: i } = e;
|
|
802
|
-
return /* @__PURE__ */
|
|
802
|
+
return /* @__PURE__ */ P("div", { ...t({}), style: { minHeight: "100%", minWidth: "100%" }, children: [
|
|
803
803
|
/* @__PURE__ */ c("input", { ...i({}), disabled: n, name: a }),
|
|
804
804
|
o
|
|
805
805
|
] });
|
|
806
|
-
},
|
|
807
|
-
spDropdown:
|
|
806
|
+
}, Wa = "_spDropdown_miycs_43", Ua = "_spDropdown__labelText_miycs_55", qa = "_spDropdown__tooltipContainer_miycs_63", $a = "_spDropdown__dropdownList_miycs_68", Ha = "_spDropdown__dropdownListHeader_miycs_74", Va = "_spDropdown__dopdownListItem_miycs_81", Ya = "_spDropdown__dopdownListItem_textCenter_miycs_93", Ga = "_spDropdown__downloadListItemDescription_miycs_97", Se = {
|
|
807
|
+
spDropdown: Wa,
|
|
808
808
|
spDropdown__labelText: Ua,
|
|
809
809
|
spDropdown__tooltipContainer: qa,
|
|
810
810
|
spDropdown__dropdownList: $a,
|
|
@@ -812,7 +812,7 @@ const $e = (e) => {
|
|
|
812
812
|
spDropdown__dopdownListItem: Va,
|
|
813
813
|
spDropdown__dopdownListItem_textCenter: Ya,
|
|
814
814
|
spDropdown__downloadListItemDescription: Ga
|
|
815
|
-
},
|
|
815
|
+
}, Up = (e) => {
|
|
816
816
|
const {
|
|
817
817
|
labelText: t = "Выпадающий список",
|
|
818
818
|
listName: o,
|
|
@@ -820,18 +820,18 @@ const $e = (e) => {
|
|
|
820
820
|
dropdownPosition: a = pe.BottomRight,
|
|
821
821
|
classNameRoot: i
|
|
822
822
|
} = e, r = f({
|
|
823
|
-
[
|
|
823
|
+
[Se.spDropdown]: !0,
|
|
824
824
|
...i && { [i]: !0 }
|
|
825
825
|
}), s = f({
|
|
826
|
-
[
|
|
826
|
+
[Se.spDropdown__labelText]: !0
|
|
827
827
|
}), p = f({
|
|
828
|
-
[
|
|
828
|
+
[Se.spDropdown__tooltipContainer]: !0
|
|
829
829
|
}), l = f({
|
|
830
|
-
[
|
|
830
|
+
[Se.spDropdown__dropdownList]: !0
|
|
831
831
|
}), d = f({
|
|
832
|
-
[
|
|
832
|
+
[Se.spDropdown__dropdownListHeader]: !0
|
|
833
833
|
}), u = f({
|
|
834
|
-
[
|
|
834
|
+
[Se.spDropdown__downloadListItemDescription]: !0
|
|
835
835
|
}), [g, h] = ee(!1);
|
|
836
836
|
return /* @__PURE__ */ c(
|
|
837
837
|
$e,
|
|
@@ -839,14 +839,14 @@ const $e = (e) => {
|
|
|
839
839
|
hover: !1,
|
|
840
840
|
triggerAction: () => h(!0),
|
|
841
841
|
actionOnClose: () => h(!1),
|
|
842
|
-
text: /* @__PURE__ */
|
|
842
|
+
text: /* @__PURE__ */ P("div", { className: l, children: [
|
|
843
843
|
o && /* @__PURE__ */ c("div", { className: d, children: o }),
|
|
844
|
-
n.map((w, R) => /* @__PURE__ */
|
|
844
|
+
n.map((w, R) => /* @__PURE__ */ P(
|
|
845
845
|
"div",
|
|
846
846
|
{
|
|
847
847
|
className: f({
|
|
848
|
-
[
|
|
849
|
-
[
|
|
848
|
+
[Se.spDropdown__dopdownListItem]: !0,
|
|
849
|
+
[Se.spDropdown__dopdownListItem_textCenter]: w.textCenter
|
|
850
850
|
}),
|
|
851
851
|
onClick: w.onClick,
|
|
852
852
|
children: [
|
|
@@ -861,9 +861,9 @@ const $e = (e) => {
|
|
|
861
861
|
noPadding: !0,
|
|
862
862
|
isToggleClick: !0,
|
|
863
863
|
isStopPropagationClickOnTrigger: !0,
|
|
864
|
-
trigger: /* @__PURE__ */
|
|
864
|
+
trigger: /* @__PURE__ */ P("div", { className: r, children: [
|
|
865
865
|
/* @__PURE__ */ c("div", { className: s, children: t }),
|
|
866
|
-
/* @__PURE__ */ c("div", { className: p, children: /* @__PURE__ */ c(ve, { name:
|
|
866
|
+
/* @__PURE__ */ c("div", { className: p, children: /* @__PURE__ */ c(ve, { name: M.SelectChevronDown, rotate: g ? 180 : void 0 }) })
|
|
867
867
|
] })
|
|
868
868
|
}
|
|
869
869
|
);
|
|
@@ -903,14 +903,14 @@ const $e = (e) => {
|
|
|
903
903
|
trigger: /* @__PURE__ */ c(Te, { ...r, classNameRoot: u, isEllipsis: !0, ref: s, children: t })
|
|
904
904
|
}
|
|
905
905
|
);
|
|
906
|
-
}, Za = "_spForm_1mrvg_43", Qa = "_spForm_fullWidth_1mrvg_48", Ja = "_spForm_addMargin_1mrvg_51", ei = "_spForm_withSeparator_1mrvg_69",
|
|
906
|
+
}, Za = "_spForm_1mrvg_43", Qa = "_spForm_fullWidth_1mrvg_48", Ja = "_spForm_addMargin_1mrvg_51", ei = "_spForm_withSeparator_1mrvg_69", We = {
|
|
907
907
|
spForm: Za,
|
|
908
908
|
spForm_fullWidth: Qa,
|
|
909
909
|
spForm_addMargin: Ja,
|
|
910
910
|
"spForm--size-lg": "_spForm--size-lg_1mrvg_51",
|
|
911
911
|
"spForm--size-md": "_spForm--size-md_1mrvg_60",
|
|
912
912
|
spForm_withSeparator: ei
|
|
913
|
-
},
|
|
913
|
+
}, qp = (e) => {
|
|
914
914
|
const {
|
|
915
915
|
size: t = "lg",
|
|
916
916
|
children: o,
|
|
@@ -921,11 +921,11 @@ const $e = (e) => {
|
|
|
921
921
|
classNameRoot: s,
|
|
922
922
|
...p
|
|
923
923
|
} = e, l = f({
|
|
924
|
-
[
|
|
925
|
-
[
|
|
926
|
-
[
|
|
927
|
-
[
|
|
928
|
-
[
|
|
924
|
+
[We.spForm]: !0,
|
|
925
|
+
[We[`spForm--size-${t}`]]: t,
|
|
926
|
+
[We.spForm_fullWidth]: r,
|
|
927
|
+
[We.spForm_addMargin]: a,
|
|
928
|
+
[We.spForm_withSeparator]: i && a,
|
|
929
929
|
...s && { [s]: !0 }
|
|
930
930
|
});
|
|
931
931
|
return /* @__PURE__ */ c("form", { ...p, onSubmit: (u) => {
|
|
@@ -954,7 +954,7 @@ const $e = (e) => {
|
|
|
954
954
|
}), d = f({
|
|
955
955
|
[Xe.spLabel__tooltip]: !0
|
|
956
956
|
});
|
|
957
|
-
return /* @__PURE__ */
|
|
957
|
+
return /* @__PURE__ */ P("div", { className: s, children: [
|
|
958
958
|
/* @__PURE__ */ c("label", { className: p, children: o }),
|
|
959
959
|
t && /* @__PURE__ */ c("div", { className: l, children: "*" }),
|
|
960
960
|
n && /* @__PURE__ */ c(
|
|
@@ -1004,7 +1004,7 @@ const $e = (e) => {
|
|
|
1004
1004
|
classNameLabel: y,
|
|
1005
1005
|
classNameBaseTooltipRoot: m,
|
|
1006
1006
|
...N
|
|
1007
|
-
} = e,
|
|
1007
|
+
} = e, W = f({
|
|
1008
1008
|
[ke.spInput]: !0,
|
|
1009
1009
|
[ke.spInput_error]: !!p,
|
|
1010
1010
|
[ke.spInput_absolutePositionError]: s,
|
|
@@ -1024,13 +1024,13 @@ const $e = (e) => {
|
|
|
1024
1024
|
...F && { [F]: !0 }
|
|
1025
1025
|
}), ue = f({
|
|
1026
1026
|
...y && { [y]: !0 }
|
|
1027
|
-
}), le = (
|
|
1028
|
-
n(
|
|
1029
|
-
}, X = (
|
|
1030
|
-
const { value: q, name: V } =
|
|
1031
|
-
g && q && !new RegExp(g).test(q) || n(
|
|
1027
|
+
}), le = (z) => {
|
|
1028
|
+
n(z, { name: d, value: "" });
|
|
1029
|
+
}, X = (z) => {
|
|
1030
|
+
const { value: q, name: V } = z.target;
|
|
1031
|
+
g && q && !new RegExp(g).test(q) || n(z, { value: q, name: V });
|
|
1032
1032
|
};
|
|
1033
|
-
return /* @__PURE__ */
|
|
1033
|
+
return /* @__PURE__ */ P("div", { className: W, children: [
|
|
1034
1034
|
a && /* @__PURE__ */ c(
|
|
1035
1035
|
Dt,
|
|
1036
1036
|
{
|
|
@@ -1042,7 +1042,7 @@ const $e = (e) => {
|
|
|
1042
1042
|
classNameBaseTooltipRoot: m
|
|
1043
1043
|
}
|
|
1044
1044
|
),
|
|
1045
|
-
/* @__PURE__ */
|
|
1045
|
+
/* @__PURE__ */ P("div", { className: K, onMouseEnter: h, children: [
|
|
1046
1046
|
/* @__PURE__ */ c(
|
|
1047
1047
|
"input",
|
|
1048
1048
|
{
|
|
@@ -1057,7 +1057,7 @@ const $e = (e) => {
|
|
|
1057
1057
|
ref: t
|
|
1058
1058
|
}
|
|
1059
1059
|
),
|
|
1060
|
-
u && o && !r && /* @__PURE__ */ c(ve, { onClick: le, className: ne, name:
|
|
1060
|
+
u && o && !r && /* @__PURE__ */ c(ve, { onClick: le, className: ne, name: M.Trash })
|
|
1061
1061
|
] }),
|
|
1062
1062
|
p && /* @__PURE__ */ c("div", { className: me, children: p })
|
|
1063
1063
|
] });
|
|
@@ -1073,9 +1073,9 @@ const xi = xo({
|
|
|
1073
1073
|
function To(e) {
|
|
1074
1074
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1075
1075
|
}
|
|
1076
|
-
var
|
|
1077
|
-
|
|
1078
|
-
|
|
1076
|
+
var Mt = {};
|
|
1077
|
+
Mt.match = ki;
|
|
1078
|
+
Mt.parse = No;
|
|
1079
1079
|
var hi = /(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i, bi = /\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/, yi = /^(?:(min|max)-)?(.+)/, wi = /(em|rem|px|cm|mm|in|pt|pc)?$/, Ci = /(dpi|dpcm|dppx)?$/;
|
|
1080
1080
|
function ki(e, t) {
|
|
1081
1081
|
return No(e).some(function(o) {
|
|
@@ -1174,7 +1174,7 @@ function Ht(e) {
|
|
|
1174
1174
|
return t;
|
|
1175
1175
|
}
|
|
1176
1176
|
}
|
|
1177
|
-
var Ti =
|
|
1177
|
+
var Ti = Mt.match, Vt = typeof window < "u" ? window.matchMedia : null;
|
|
1178
1178
|
function Ni(e, t, o) {
|
|
1179
1179
|
var n = this, a;
|
|
1180
1180
|
Vt && !o && (a = Vt.call(window, e)), a ? (this.matches = a.matches, this.media = a.media, a.addListener(s)) : (this.matches = Ti(e, t), this.media = e), this.addListener = i, this.removeListener = r, this.dispose = p;
|
|
@@ -1194,8 +1194,8 @@ function Ni(e, t, o) {
|
|
|
1194
1194
|
function Ei(e, t, o) {
|
|
1195
1195
|
return new Ni(e, t, o);
|
|
1196
1196
|
}
|
|
1197
|
-
var
|
|
1198
|
-
const
|
|
1197
|
+
var Si = Ei;
|
|
1198
|
+
const Ii = /* @__PURE__ */ To(Si);
|
|
1199
1199
|
var Li = /[A-Z]/g, Ri = /^ms-/, ft = {};
|
|
1200
1200
|
function Fi(e) {
|
|
1201
1201
|
return "-" + e.toLowerCase();
|
|
@@ -1318,24 +1318,24 @@ function Di() {
|
|
|
1318
1318
|
var he = b.$$typeof;
|
|
1319
1319
|
switch (he) {
|
|
1320
1320
|
case t:
|
|
1321
|
-
var
|
|
1322
|
-
switch (
|
|
1321
|
+
var Ie = b.type;
|
|
1322
|
+
switch (Ie) {
|
|
1323
1323
|
case p:
|
|
1324
1324
|
case l:
|
|
1325
1325
|
case n:
|
|
1326
1326
|
case i:
|
|
1327
1327
|
case a:
|
|
1328
1328
|
case u:
|
|
1329
|
-
return
|
|
1329
|
+
return Ie;
|
|
1330
1330
|
default:
|
|
1331
|
-
var
|
|
1332
|
-
switch (
|
|
1331
|
+
var Be = Ie && Ie.$$typeof;
|
|
1332
|
+
switch (Be) {
|
|
1333
1333
|
case s:
|
|
1334
1334
|
case d:
|
|
1335
1335
|
case x:
|
|
1336
1336
|
case h:
|
|
1337
1337
|
case r:
|
|
1338
|
-
return
|
|
1338
|
+
return Be;
|
|
1339
1339
|
default:
|
|
1340
1340
|
return he;
|
|
1341
1341
|
}
|
|
@@ -1345,7 +1345,7 @@ function Di() {
|
|
|
1345
1345
|
}
|
|
1346
1346
|
}
|
|
1347
1347
|
}
|
|
1348
|
-
var m = p, N = l,
|
|
1348
|
+
var m = p, N = l, W = s, K = r, J = t, ne = d, me = n, ue = x, le = h, X = o, T = i, z = a, q = u, V = !1;
|
|
1349
1349
|
function te(b) {
|
|
1350
1350
|
return V || (V = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), _(b) || y(b) === p;
|
|
1351
1351
|
}
|
|
@@ -1355,22 +1355,22 @@ function Di() {
|
|
|
1355
1355
|
function v(b) {
|
|
1356
1356
|
return y(b) === s;
|
|
1357
1357
|
}
|
|
1358
|
-
function
|
|
1358
|
+
function I(b) {
|
|
1359
1359
|
return y(b) === r;
|
|
1360
1360
|
}
|
|
1361
1361
|
function L(b) {
|
|
1362
1362
|
return typeof b == "object" && b !== null && b.$$typeof === t;
|
|
1363
1363
|
}
|
|
1364
|
-
function
|
|
1364
|
+
function S(b) {
|
|
1365
1365
|
return y(b) === d;
|
|
1366
1366
|
}
|
|
1367
|
-
function
|
|
1367
|
+
function B(b) {
|
|
1368
1368
|
return y(b) === n;
|
|
1369
1369
|
}
|
|
1370
1370
|
function D(b) {
|
|
1371
1371
|
return y(b) === x;
|
|
1372
1372
|
}
|
|
1373
|
-
function
|
|
1373
|
+
function O(b) {
|
|
1374
1374
|
return y(b) === h;
|
|
1375
1375
|
}
|
|
1376
1376
|
function H(b) {
|
|
@@ -1385,11 +1385,11 @@ function Di() {
|
|
|
1385
1385
|
function ie(b) {
|
|
1386
1386
|
return y(b) === u;
|
|
1387
1387
|
}
|
|
1388
|
-
Q.AsyncMode = m, Q.ConcurrentMode = N, Q.ContextConsumer =
|
|
1388
|
+
Q.AsyncMode = m, Q.ConcurrentMode = N, Q.ContextConsumer = W, Q.ContextProvider = K, Q.Element = J, Q.ForwardRef = ne, Q.Fragment = me, Q.Lazy = ue, Q.Memo = le, Q.Portal = X, Q.Profiler = T, Q.StrictMode = z, Q.Suspense = q, Q.isAsyncMode = te, Q.isConcurrentMode = _, Q.isContextConsumer = v, Q.isContextProvider = I, Q.isElement = L, Q.isForwardRef = S, Q.isFragment = B, Q.isLazy = D, Q.isMemo = O, Q.isPortal = H, Q.isProfiler = G, Q.isStrictMode = $, Q.isSuspense = ie, Q.isValidElementType = F, Q.typeOf = y;
|
|
1389
1389
|
}()), Q;
|
|
1390
1390
|
}
|
|
1391
1391
|
var Kt;
|
|
1392
|
-
function
|
|
1392
|
+
function So() {
|
|
1393
1393
|
return Kt || (Kt = 1, process.env.NODE_ENV === "production" ? Ze.exports = ji() : Ze.exports = Di()), Ze.exports;
|
|
1394
1394
|
}
|
|
1395
1395
|
/*
|
|
@@ -1398,7 +1398,7 @@ object-assign
|
|
|
1398
1398
|
@license MIT
|
|
1399
1399
|
*/
|
|
1400
1400
|
var vt, Xt;
|
|
1401
|
-
function
|
|
1401
|
+
function Mi() {
|
|
1402
1402
|
if (Xt) return vt;
|
|
1403
1403
|
Xt = 1;
|
|
1404
1404
|
var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, o = Object.prototype.propertyIsEnumerable;
|
|
@@ -1444,24 +1444,24 @@ function Bi() {
|
|
|
1444
1444
|
}, vt;
|
|
1445
1445
|
}
|
|
1446
1446
|
var gt, Zt;
|
|
1447
|
-
function
|
|
1447
|
+
function zt() {
|
|
1448
1448
|
if (Zt) return gt;
|
|
1449
1449
|
Zt = 1;
|
|
1450
1450
|
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
1451
1451
|
return gt = e, gt;
|
|
1452
1452
|
}
|
|
1453
1453
|
var xt, Qt;
|
|
1454
|
-
function
|
|
1454
|
+
function Io() {
|
|
1455
1455
|
return Qt || (Qt = 1, xt = Function.call.bind(Object.prototype.hasOwnProperty)), xt;
|
|
1456
1456
|
}
|
|
1457
1457
|
var ht, Jt;
|
|
1458
|
-
function
|
|
1458
|
+
function zi() {
|
|
1459
1459
|
if (Jt) return ht;
|
|
1460
1460
|
Jt = 1;
|
|
1461
1461
|
var e = function() {
|
|
1462
1462
|
};
|
|
1463
1463
|
if (process.env.NODE_ENV !== "production") {
|
|
1464
|
-
var t =
|
|
1464
|
+
var t = zt(), o = {}, n = Io();
|
|
1465
1465
|
e = function(i) {
|
|
1466
1466
|
var r = "Warning: " + i;
|
|
1467
1467
|
typeof console < "u" && console.error(r);
|
|
@@ -1504,10 +1504,10 @@ function Pi() {
|
|
|
1504
1504
|
}, ht = a, ht;
|
|
1505
1505
|
}
|
|
1506
1506
|
var bt, eo;
|
|
1507
|
-
function
|
|
1507
|
+
function Bi() {
|
|
1508
1508
|
if (eo) return bt;
|
|
1509
1509
|
eo = 1;
|
|
1510
|
-
var e =
|
|
1510
|
+
var e = So(), t = Mi(), o = zt(), n = Io(), a = zi(), i = function() {
|
|
1511
1511
|
};
|
|
1512
1512
|
process.env.NODE_ENV !== "production" && (i = function(s) {
|
|
1513
1513
|
var p = "Warning: " + s;
|
|
@@ -1543,7 +1543,7 @@ function Wi() {
|
|
|
1543
1543
|
instanceOf: N,
|
|
1544
1544
|
node: ne(),
|
|
1545
1545
|
objectOf: K,
|
|
1546
|
-
oneOf:
|
|
1546
|
+
oneOf: W,
|
|
1547
1547
|
oneOfType: J,
|
|
1548
1548
|
shape: ue,
|
|
1549
1549
|
exact: le
|
|
@@ -1557,34 +1557,34 @@ function Wi() {
|
|
|
1557
1557
|
w.prototype = Error.prototype;
|
|
1558
1558
|
function R(_) {
|
|
1559
1559
|
if (process.env.NODE_ENV !== "production")
|
|
1560
|
-
var v = {},
|
|
1561
|
-
function L(
|
|
1562
|
-
if (H = H || g, $ = $ ||
|
|
1560
|
+
var v = {}, I = 0;
|
|
1561
|
+
function L(B, D, O, H, G, $, ie) {
|
|
1562
|
+
if (H = H || g, $ = $ || O, ie !== o) {
|
|
1563
1563
|
if (p) {
|
|
1564
1564
|
var b = new Error(
|
|
1565
1565
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
1566
1566
|
);
|
|
1567
1567
|
throw b.name = "Invariant Violation", b;
|
|
1568
1568
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1569
|
-
var he = H + ":" +
|
|
1569
|
+
var he = H + ":" + O;
|
|
1570
1570
|
!v[he] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
1571
|
-
|
|
1571
|
+
I < 3 && (i(
|
|
1572
1572
|
"You are manually calling a React.PropTypes validation function for the `" + $ + "` prop on `" + H + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
1573
|
-
), v[he] = !0,
|
|
1573
|
+
), v[he] = !0, I++);
|
|
1574
1574
|
}
|
|
1575
1575
|
}
|
|
1576
|
-
return D[
|
|
1576
|
+
return D[O] == null ? B ? D[O] === null ? new w("The " + G + " `" + $ + "` is marked as required " + ("in `" + H + "`, but its value is `null`.")) : new w("The " + G + " `" + $ + "` is marked as required in " + ("`" + H + "`, but its value is `undefined`.")) : null : _(D, O, H, G, $);
|
|
1577
1577
|
}
|
|
1578
|
-
var
|
|
1579
|
-
return
|
|
1578
|
+
var S = L.bind(null, !1);
|
|
1579
|
+
return S.isRequired = L.bind(null, !0), S;
|
|
1580
1580
|
}
|
|
1581
1581
|
function A(_) {
|
|
1582
|
-
function v(
|
|
1583
|
-
var H =
|
|
1582
|
+
function v(I, L, S, B, D, O) {
|
|
1583
|
+
var H = I[L], G = z(H);
|
|
1584
1584
|
if (G !== _) {
|
|
1585
1585
|
var $ = q(H);
|
|
1586
1586
|
return new w(
|
|
1587
|
-
"Invalid " +
|
|
1587
|
+
"Invalid " + B + " `" + D + "` of type " + ("`" + $ + "` supplied to `" + S + "`, expected ") + ("`" + _ + "`."),
|
|
1588
1588
|
{ expectedType: _ }
|
|
1589
1589
|
);
|
|
1590
1590
|
}
|
|
@@ -1596,16 +1596,16 @@ function Wi() {
|
|
|
1596
1596
|
return R(r);
|
|
1597
1597
|
}
|
|
1598
1598
|
function F(_) {
|
|
1599
|
-
function v(
|
|
1599
|
+
function v(I, L, S, B, D) {
|
|
1600
1600
|
if (typeof _ != "function")
|
|
1601
|
-
return new w("Property `" + D + "` of component `" +
|
|
1602
|
-
var
|
|
1603
|
-
if (!Array.isArray(
|
|
1604
|
-
var H =
|
|
1605
|
-
return new w("Invalid " +
|
|
1601
|
+
return new w("Property `" + D + "` of component `" + S + "` has invalid PropType notation inside arrayOf.");
|
|
1602
|
+
var O = I[L];
|
|
1603
|
+
if (!Array.isArray(O)) {
|
|
1604
|
+
var H = z(O);
|
|
1605
|
+
return new w("Invalid " + B + " `" + D + "` of type " + ("`" + H + "` supplied to `" + S + "`, expected an array."));
|
|
1606
1606
|
}
|
|
1607
|
-
for (var G = 0; G <
|
|
1608
|
-
var $ = _(
|
|
1607
|
+
for (var G = 0; G < O.length; G++) {
|
|
1608
|
+
var $ = _(O, G, S, B, D + "[" + G + "]", o);
|
|
1609
1609
|
if ($ instanceof Error)
|
|
1610
1610
|
return $;
|
|
1611
1611
|
}
|
|
@@ -1614,64 +1614,64 @@ function Wi() {
|
|
|
1614
1614
|
return R(v);
|
|
1615
1615
|
}
|
|
1616
1616
|
function y() {
|
|
1617
|
-
function _(v,
|
|
1618
|
-
var D = v[
|
|
1617
|
+
function _(v, I, L, S, B) {
|
|
1618
|
+
var D = v[I];
|
|
1619
1619
|
if (!s(D)) {
|
|
1620
|
-
var
|
|
1621
|
-
return new w("Invalid " +
|
|
1620
|
+
var O = z(D);
|
|
1621
|
+
return new w("Invalid " + S + " `" + B + "` of type " + ("`" + O + "` supplied to `" + L + "`, expected a single ReactElement."));
|
|
1622
1622
|
}
|
|
1623
1623
|
return null;
|
|
1624
1624
|
}
|
|
1625
1625
|
return R(_);
|
|
1626
1626
|
}
|
|
1627
1627
|
function m() {
|
|
1628
|
-
function _(v,
|
|
1629
|
-
var D = v[
|
|
1628
|
+
function _(v, I, L, S, B) {
|
|
1629
|
+
var D = v[I];
|
|
1630
1630
|
if (!e.isValidElementType(D)) {
|
|
1631
|
-
var
|
|
1632
|
-
return new w("Invalid " +
|
|
1631
|
+
var O = z(D);
|
|
1632
|
+
return new w("Invalid " + S + " `" + B + "` of type " + ("`" + O + "` supplied to `" + L + "`, expected a single ReactElement type."));
|
|
1633
1633
|
}
|
|
1634
1634
|
return null;
|
|
1635
1635
|
}
|
|
1636
1636
|
return R(_);
|
|
1637
1637
|
}
|
|
1638
1638
|
function N(_) {
|
|
1639
|
-
function v(
|
|
1640
|
-
if (!(
|
|
1641
|
-
var
|
|
1642
|
-
return new w("Invalid " +
|
|
1639
|
+
function v(I, L, S, B, D) {
|
|
1640
|
+
if (!(I[L] instanceof _)) {
|
|
1641
|
+
var O = _.name || g, H = te(I[L]);
|
|
1642
|
+
return new w("Invalid " + B + " `" + D + "` of type " + ("`" + H + "` supplied to `" + S + "`, expected ") + ("instance of `" + O + "`."));
|
|
1643
1643
|
}
|
|
1644
1644
|
return null;
|
|
1645
1645
|
}
|
|
1646
1646
|
return R(v);
|
|
1647
1647
|
}
|
|
1648
|
-
function
|
|
1648
|
+
function W(_) {
|
|
1649
1649
|
if (!Array.isArray(_))
|
|
1650
1650
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
1651
1651
|
"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])."
|
|
1652
1652
|
) : i("Invalid argument supplied to oneOf, expected an array.")), r;
|
|
1653
|
-
function v(
|
|
1654
|
-
for (var
|
|
1655
|
-
if (x(
|
|
1653
|
+
function v(I, L, S, B, D) {
|
|
1654
|
+
for (var O = I[L], H = 0; H < _.length; H++)
|
|
1655
|
+
if (x(O, _[H]))
|
|
1656
1656
|
return null;
|
|
1657
1657
|
var G = JSON.stringify(_, function(ie, b) {
|
|
1658
1658
|
var he = q(b);
|
|
1659
1659
|
return he === "symbol" ? String(b) : b;
|
|
1660
1660
|
});
|
|
1661
|
-
return new w("Invalid " +
|
|
1661
|
+
return new w("Invalid " + B + " `" + D + "` of value `" + String(O) + "` " + ("supplied to `" + S + "`, expected one of " + G + "."));
|
|
1662
1662
|
}
|
|
1663
1663
|
return R(v);
|
|
1664
1664
|
}
|
|
1665
1665
|
function K(_) {
|
|
1666
|
-
function v(
|
|
1666
|
+
function v(I, L, S, B, D) {
|
|
1667
1667
|
if (typeof _ != "function")
|
|
1668
|
-
return new w("Property `" + D + "` of component `" +
|
|
1669
|
-
var
|
|
1668
|
+
return new w("Property `" + D + "` of component `" + S + "` has invalid PropType notation inside objectOf.");
|
|
1669
|
+
var O = I[L], H = z(O);
|
|
1670
1670
|
if (H !== "object")
|
|
1671
|
-
return new w("Invalid " +
|
|
1672
|
-
for (var G in
|
|
1673
|
-
if (n(
|
|
1674
|
-
var $ = _(
|
|
1671
|
+
return new w("Invalid " + B + " `" + D + "` of type " + ("`" + H + "` supplied to `" + S + "`, expected an object."));
|
|
1672
|
+
for (var G in O)
|
|
1673
|
+
if (n(O, G)) {
|
|
1674
|
+
var $ = _(O, G, S, B, D + "." + G, o);
|
|
1675
1675
|
if ($ instanceof Error)
|
|
1676
1676
|
return $;
|
|
1677
1677
|
}
|
|
@@ -1683,45 +1683,45 @@ function Wi() {
|
|
|
1683
1683
|
if (!Array.isArray(_))
|
|
1684
1684
|
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), r;
|
|
1685
1685
|
for (var v = 0; v < _.length; v++) {
|
|
1686
|
-
var
|
|
1687
|
-
if (typeof
|
|
1686
|
+
var I = _[v];
|
|
1687
|
+
if (typeof I != "function")
|
|
1688
1688
|
return i(
|
|
1689
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + V(
|
|
1689
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + V(I) + " at index " + v + "."
|
|
1690
1690
|
), r;
|
|
1691
1691
|
}
|
|
1692
|
-
function L(
|
|
1692
|
+
function L(S, B, D, O, H) {
|
|
1693
1693
|
for (var G = [], $ = 0; $ < _.length; $++) {
|
|
1694
|
-
var ie = _[$], b = ie(
|
|
1694
|
+
var ie = _[$], b = ie(S, B, D, O, H, o);
|
|
1695
1695
|
if (b == null)
|
|
1696
1696
|
return null;
|
|
1697
1697
|
b.data && n(b.data, "expectedType") && G.push(b.data.expectedType);
|
|
1698
1698
|
}
|
|
1699
1699
|
var he = G.length > 0 ? ", expected one of type [" + G.join(", ") + "]" : "";
|
|
1700
|
-
return new w("Invalid " +
|
|
1700
|
+
return new w("Invalid " + O + " `" + H + "` supplied to " + ("`" + D + "`" + he + "."));
|
|
1701
1701
|
}
|
|
1702
1702
|
return R(L);
|
|
1703
1703
|
}
|
|
1704
1704
|
function ne() {
|
|
1705
|
-
function _(v,
|
|
1706
|
-
return X(v[
|
|
1705
|
+
function _(v, I, L, S, B) {
|
|
1706
|
+
return X(v[I]) ? null : new w("Invalid " + S + " `" + B + "` supplied to " + ("`" + L + "`, expected a ReactNode."));
|
|
1707
1707
|
}
|
|
1708
1708
|
return R(_);
|
|
1709
1709
|
}
|
|
1710
|
-
function me(_, v,
|
|
1710
|
+
function me(_, v, I, L, S) {
|
|
1711
1711
|
return new w(
|
|
1712
|
-
(_ || "React class") + ": " + v + " type `" +
|
|
1712
|
+
(_ || "React class") + ": " + v + " type `" + I + "." + L + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + S + "`."
|
|
1713
1713
|
);
|
|
1714
1714
|
}
|
|
1715
1715
|
function ue(_) {
|
|
1716
|
-
function v(
|
|
1717
|
-
var
|
|
1716
|
+
function v(I, L, S, B, D) {
|
|
1717
|
+
var O = I[L], H = z(O);
|
|
1718
1718
|
if (H !== "object")
|
|
1719
|
-
return new w("Invalid " +
|
|
1719
|
+
return new w("Invalid " + B + " `" + D + "` of type `" + H + "` " + ("supplied to `" + S + "`, expected `object`."));
|
|
1720
1720
|
for (var G in _) {
|
|
1721
1721
|
var $ = _[G];
|
|
1722
1722
|
if (typeof $ != "function")
|
|
1723
|
-
return me(
|
|
1724
|
-
var ie = $(
|
|
1723
|
+
return me(S, B, D, G, q($));
|
|
1724
|
+
var ie = $(O, G, S, B, D + "." + G, o);
|
|
1725
1725
|
if (ie)
|
|
1726
1726
|
return ie;
|
|
1727
1727
|
}
|
|
@@ -1730,21 +1730,21 @@ function Wi() {
|
|
|
1730
1730
|
return R(v);
|
|
1731
1731
|
}
|
|
1732
1732
|
function le(_) {
|
|
1733
|
-
function v(
|
|
1734
|
-
var
|
|
1733
|
+
function v(I, L, S, B, D) {
|
|
1734
|
+
var O = I[L], H = z(O);
|
|
1735
1735
|
if (H !== "object")
|
|
1736
|
-
return new w("Invalid " +
|
|
1737
|
-
var G = t({},
|
|
1736
|
+
return new w("Invalid " + B + " `" + D + "` of type `" + H + "` " + ("supplied to `" + S + "`, expected `object`."));
|
|
1737
|
+
var G = t({}, I[L], _);
|
|
1738
1738
|
for (var $ in G) {
|
|
1739
1739
|
var ie = _[$];
|
|
1740
1740
|
if (n(_, $) && typeof ie != "function")
|
|
1741
|
-
return me(
|
|
1741
|
+
return me(S, B, D, $, q(ie));
|
|
1742
1742
|
if (!ie)
|
|
1743
1743
|
return new w(
|
|
1744
|
-
"Invalid " +
|
|
1744
|
+
"Invalid " + B + " `" + D + "` key `" + $ + "` supplied to `" + S + "`.\nBad object: " + JSON.stringify(I[L], null, " ") + `
|
|
1745
1745
|
Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
|
|
1746
1746
|
);
|
|
1747
|
-
var b = ie(
|
|
1747
|
+
var b = ie(O, $, S, B, D + "." + $, o);
|
|
1748
1748
|
if (b)
|
|
1749
1749
|
return b;
|
|
1750
1750
|
}
|
|
@@ -1767,15 +1767,15 @@ Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
|
|
|
1767
1767
|
return !0;
|
|
1768
1768
|
var v = u(_);
|
|
1769
1769
|
if (v) {
|
|
1770
|
-
var
|
|
1770
|
+
var I = v.call(_), L;
|
|
1771
1771
|
if (v !== _.entries) {
|
|
1772
|
-
for (; !(L =
|
|
1772
|
+
for (; !(L = I.next()).done; )
|
|
1773
1773
|
if (!X(L.value))
|
|
1774
1774
|
return !1;
|
|
1775
1775
|
} else
|
|
1776
|
-
for (; !(L =
|
|
1777
|
-
var
|
|
1778
|
-
if (
|
|
1776
|
+
for (; !(L = I.next()).done; ) {
|
|
1777
|
+
var S = L.value;
|
|
1778
|
+
if (S && !X(S[1]))
|
|
1779
1779
|
return !1;
|
|
1780
1780
|
}
|
|
1781
1781
|
} else
|
|
@@ -1788,14 +1788,14 @@ Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
|
|
|
1788
1788
|
function T(_, v) {
|
|
1789
1789
|
return _ === "symbol" ? !0 : v ? v["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && v instanceof Symbol : !1;
|
|
1790
1790
|
}
|
|
1791
|
-
function
|
|
1791
|
+
function z(_) {
|
|
1792
1792
|
var v = typeof _;
|
|
1793
1793
|
return Array.isArray(_) ? "array" : _ instanceof RegExp ? "object" : T(v, _) ? "symbol" : v;
|
|
1794
1794
|
}
|
|
1795
1795
|
function q(_) {
|
|
1796
1796
|
if (typeof _ > "u" || _ === null)
|
|
1797
1797
|
return "" + _;
|
|
1798
|
-
var v =
|
|
1798
|
+
var v = z(_);
|
|
1799
1799
|
if (v === "object") {
|
|
1800
1800
|
if (_ instanceof Date)
|
|
1801
1801
|
return "date";
|
|
@@ -1825,10 +1825,10 @@ Valid keys: ` + JSON.stringify(Object.keys(_), null, " ")
|
|
|
1825
1825
|
}, bt;
|
|
1826
1826
|
}
|
|
1827
1827
|
var yt, to;
|
|
1828
|
-
function
|
|
1828
|
+
function Pi() {
|
|
1829
1829
|
if (to) return yt;
|
|
1830
1830
|
to = 1;
|
|
1831
|
-
var e =
|
|
1831
|
+
var e = zt();
|
|
1832
1832
|
function t() {
|
|
1833
1833
|
}
|
|
1834
1834
|
function o() {
|
|
@@ -1873,10 +1873,10 @@ function Oi() {
|
|
|
1873
1873
|
}, yt;
|
|
1874
1874
|
}
|
|
1875
1875
|
if (process.env.NODE_ENV !== "production") {
|
|
1876
|
-
var
|
|
1877
|
-
Nt.exports =
|
|
1876
|
+
var Oi = So(), Wi = !0;
|
|
1877
|
+
Nt.exports = Bi()(Oi.isElement, Wi);
|
|
1878
1878
|
} else
|
|
1879
|
-
Nt.exports =
|
|
1879
|
+
Nt.exports = Pi()();
|
|
1880
1880
|
var Ui = Nt.exports;
|
|
1881
1881
|
const E = /* @__PURE__ */ To(Ui), fe = E.oneOfType([E.string, E.number]), Lo = {
|
|
1882
1882
|
all: E.bool,
|
|
@@ -1904,7 +1904,7 @@ const E = /* @__PURE__ */ To(Ui), fe = E.oneOfType([E.string, E.number]), Lo = {
|
|
|
1904
1904
|
monochrome: E.bool,
|
|
1905
1905
|
resolution: fe,
|
|
1906
1906
|
type: Object.keys(Lo)
|
|
1907
|
-
}, { type:
|
|
1907
|
+
}, { type: $p, ...$i } = qi, Hi = {
|
|
1908
1908
|
minAspectRatio: E.string,
|
|
1909
1909
|
maxAspectRatio: E.string,
|
|
1910
1910
|
minDeviceAspectRatio: E.string,
|
|
@@ -1957,7 +1957,7 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
1957
1957
|
o !== a && n(a);
|
|
1958
1958
|
}, [e]), o;
|
|
1959
1959
|
}, or = (e, t) => {
|
|
1960
|
-
const o = () =>
|
|
1960
|
+
const o = () => Ii(e, t || {}, !!t), [n, a] = ee(o), i = Ro();
|
|
1961
1961
|
return re(() => {
|
|
1962
1962
|
if (i) {
|
|
1963
1963
|
const r = o();
|
|
@@ -1994,7 +1994,7 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
1994
1994
|
isMobile: r
|
|
1995
1995
|
}
|
|
1996
1996
|
};
|
|
1997
|
-
},
|
|
1997
|
+
}, Hp = (e) => {
|
|
1998
1998
|
const {
|
|
1999
1999
|
breakpoints: t = {
|
|
2000
2000
|
desktop: { minWidth: 1440 },
|
|
@@ -2047,7 +2047,7 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2047
2047
|
"progressWrapper__childrenWrapper--animated-backgroundProgress": "_progressWrapper__childrenWrapper--animated-backgroundProgress_xn9s0_61",
|
|
2048
2048
|
progressWrapper__progressBadge: mr,
|
|
2049
2049
|
progressWrapper__progressBadge_loading: ur
|
|
2050
|
-
},
|
|
2050
|
+
}, Vp = (e) => {
|
|
2051
2051
|
const {
|
|
2052
2052
|
value: t,
|
|
2053
2053
|
classNameRoot: o,
|
|
@@ -2077,7 +2077,7 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2077
2077
|
}), x = {
|
|
2078
2078
|
"--progress": `${l / r * 100}%`
|
|
2079
2079
|
};
|
|
2080
|
-
return /* @__PURE__ */
|
|
2080
|
+
return /* @__PURE__ */ P("div", { className: u, children: [
|
|
2081
2081
|
/* @__PURE__ */ c(
|
|
2082
2082
|
"div",
|
|
2083
2083
|
{
|
|
@@ -2086,12 +2086,12 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2086
2086
|
children: i
|
|
2087
2087
|
}
|
|
2088
2088
|
),
|
|
2089
|
-
d && /* @__PURE__ */
|
|
2089
|
+
d && /* @__PURE__ */ P(Te, { classNameRoot: g, children: [
|
|
2090
2090
|
l,
|
|
2091
2091
|
"%"
|
|
2092
2092
|
] })
|
|
2093
2093
|
] });
|
|
2094
|
-
}, _r = 180, fr = "_spSelect_1l6hu_43", vr = "_spSelect_error_1l6hu_48", gr = "_spSelect__control_1l6hu_48", xr = "_spSelect__value_empty_1l6hu_52", hr = "_spSelect__icon_1l6hu_55", br = "_spSelect_absolutePositionError_1l6hu_58", yr = "_spSelect__container_1l6hu_61", wr = "_spSelect__control_filled_1l6hu_81", Cr = "_spSelect__control_outlined_1l6hu_85", kr = "_spSelect__control_disabled_1l6hu_110", Tr = "_spSelect__value_1l6hu_52", Nr = "_spSelect__list_1l6hu_141", Er = "_spSelect__list_scrollable_1l6hu_148",
|
|
2094
|
+
}, _r = 180, fr = "_spSelect_1l6hu_43", vr = "_spSelect_error_1l6hu_48", gr = "_spSelect__control_1l6hu_48", xr = "_spSelect__value_empty_1l6hu_52", hr = "_spSelect__icon_1l6hu_55", br = "_spSelect_absolutePositionError_1l6hu_58", yr = "_spSelect__container_1l6hu_61", wr = "_spSelect__control_filled_1l6hu_81", Cr = "_spSelect__control_outlined_1l6hu_85", kr = "_spSelect__control_disabled_1l6hu_110", Tr = "_spSelect__value_1l6hu_52", Nr = "_spSelect__list_1l6hu_141", Er = "_spSelect__list_scrollable_1l6hu_148", Sr = "_spSelect__option_1l6hu_164", Ir = "_spSelect__error_1l6hu_182", Lr = "_spSelect__error_absolutePosition_1l6hu_189", _e = {
|
|
2095
2095
|
spSelect: fr,
|
|
2096
2096
|
spSelect_error: vr,
|
|
2097
2097
|
spSelect__control: gr,
|
|
@@ -2105,10 +2105,10 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2105
2105
|
spSelect__value: Tr,
|
|
2106
2106
|
spSelect__list: Nr,
|
|
2107
2107
|
spSelect__list_scrollable: Er,
|
|
2108
|
-
spSelect__option:
|
|
2109
|
-
spSelect__error:
|
|
2108
|
+
spSelect__option: Sr,
|
|
2109
|
+
spSelect__error: Ir,
|
|
2110
2110
|
spSelect__error_absolutePosition: Lr
|
|
2111
|
-
},
|
|
2111
|
+
}, Yp = (e) => {
|
|
2112
2112
|
const {
|
|
2113
2113
|
options: t,
|
|
2114
2114
|
placeholder: o = "Выберите из списка...",
|
|
@@ -2131,18 +2131,18 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2131
2131
|
classNameError: F,
|
|
2132
2132
|
classNameLabel: y,
|
|
2133
2133
|
classNameBaseTooltipRoot: m
|
|
2134
|
-
} = e, [N,
|
|
2134
|
+
} = e, [N, W] = ee(!1), K = de(null);
|
|
2135
2135
|
Co(
|
|
2136
2136
|
[K],
|
|
2137
2137
|
() => {
|
|
2138
|
-
|
|
2138
|
+
W(!1);
|
|
2139
2139
|
},
|
|
2140
2140
|
N
|
|
2141
2141
|
);
|
|
2142
|
-
const J = t.find((v) => v.value === n), ne = (v,
|
|
2143
|
-
r(v, { value:
|
|
2142
|
+
const J = t.find((v) => v.value === n), ne = (v, I) => {
|
|
2143
|
+
r(v, { value: I, name: a }), W(!1);
|
|
2144
2144
|
}, me = () => {
|
|
2145
|
-
g ||
|
|
2145
|
+
g || W(!N);
|
|
2146
2146
|
}, ue = f({
|
|
2147
2147
|
[_e.spSelect]: !0,
|
|
2148
2148
|
[_e.spSelect_error]: !!p,
|
|
@@ -2157,7 +2157,7 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2157
2157
|
}), T = f({
|
|
2158
2158
|
[_e.spSelect__value]: !0,
|
|
2159
2159
|
[_e.spSelect__value_empty]: !J
|
|
2160
|
-
}),
|
|
2160
|
+
}), z = f({
|
|
2161
2161
|
[_e.spSelect__icon]: !0
|
|
2162
2162
|
}), q = f({
|
|
2163
2163
|
[_e.spSelect__list]: !0,
|
|
@@ -2169,7 +2169,7 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2169
2169
|
[_e.spSelect__error_absolutePosition]: A,
|
|
2170
2170
|
...F && { [F]: !0 }
|
|
2171
2171
|
});
|
|
2172
|
-
return /* @__PURE__ */
|
|
2172
|
+
return /* @__PURE__ */ P("div", { className: ue, ref: K, children: [
|
|
2173
2173
|
l && /* @__PURE__ */ c(
|
|
2174
2174
|
Dt,
|
|
2175
2175
|
{
|
|
@@ -2181,8 +2181,8 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2181
2181
|
classNameBaseTooltipRoot: m
|
|
2182
2182
|
}
|
|
2183
2183
|
),
|
|
2184
|
-
/* @__PURE__ */
|
|
2185
|
-
/* @__PURE__ */
|
|
2184
|
+
/* @__PURE__ */ P("div", { className: le, onMouseEnter: s, children: [
|
|
2185
|
+
/* @__PURE__ */ P(
|
|
2186
2186
|
"div",
|
|
2187
2187
|
{
|
|
2188
2188
|
tabIndex: g ? -1 : 0,
|
|
@@ -2194,9 +2194,9 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2194
2194
|
/* @__PURE__ */ c(
|
|
2195
2195
|
ve,
|
|
2196
2196
|
{
|
|
2197
|
-
name:
|
|
2197
|
+
name: M.SelectChevronDown,
|
|
2198
2198
|
rotate: N ? 180 : void 0,
|
|
2199
|
-
className:
|
|
2199
|
+
className: z
|
|
2200
2200
|
}
|
|
2201
2201
|
)
|
|
2202
2202
|
]
|
|
@@ -2208,8 +2208,8 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2208
2208
|
className: q,
|
|
2209
2209
|
style: R ? { maxHeight: `${x}px` } : {},
|
|
2210
2210
|
children: t.map((v) => {
|
|
2211
|
-
const
|
|
2212
|
-
return /* @__PURE__ */
|
|
2211
|
+
const I = v.value === n;
|
|
2212
|
+
return /* @__PURE__ */ P(
|
|
2213
2213
|
"div",
|
|
2214
2214
|
{
|
|
2215
2215
|
className: f({
|
|
@@ -2218,7 +2218,7 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2218
2218
|
onClick: (L) => ne(L, v.value),
|
|
2219
2219
|
children: [
|
|
2220
2220
|
v.label,
|
|
2221
|
-
|
|
2221
|
+
I && /* @__PURE__ */ c(ve, { name: M.Check, className: z })
|
|
2222
2222
|
]
|
|
2223
2223
|
},
|
|
2224
2224
|
v.value
|
|
@@ -2234,7 +2234,7 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2234
2234
|
skeleton_circle: Fr,
|
|
2235
2235
|
skeleton_customStart: Ar,
|
|
2236
2236
|
skeleton_customEnd: jr
|
|
2237
|
-
},
|
|
2237
|
+
}, Gp = (e) => {
|
|
2238
2238
|
const {
|
|
2239
2239
|
startColor: t,
|
|
2240
2240
|
endColor: o,
|
|
@@ -2265,20 +2265,20 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2265
2265
|
}
|
|
2266
2266
|
}
|
|
2267
2267
|
);
|
|
2268
|
-
}, Et = (e) => e == null || e === "" ? !0 : typeof e != "string" && typeof e.toString != "function" ? !1 : e.toString().replace(/\s/g, "").length < 1, Dr = "_spTable_1vuaj_43",
|
|
2268
|
+
}, Et = (e) => e == null || e === "" ? !0 : typeof e != "string" && typeof e.toString != "function" ? !1 : e.toString().replace(/\s/g, "").length < 1, Dr = "_spTable_1vuaj_43", Mr = "_spTable__tdContentCopyIcon_1vuaj_62", zr = "_spTable__tdContent_1vuaj_62", Br = "_spTable__tdColorContent_1vuaj_72", Pr = "_spTable__tdContentCopyIcon_copied_1vuaj_85", Or = "_spTable__emptyPage_1vuaj_89", Wr = "_spStringsGroup_1vuaj_105", Ur = "_spStringsGroup__groupItem_1vuaj_119", qr = "_spStringsGroup__groupItemHeader_1vuaj_134", $r = "_spStringsGroup__groupItemContent_1vuaj_138", Hr = "_spStringsGroup__groupItemContentCopyIcon_1vuaj_144", Vr = "_spStringsGroup__groupItemContentCopyIcon_copied_1vuaj_151", ye = {
|
|
2269
2269
|
spTable: Dr,
|
|
2270
|
-
spTable__tdContentCopyIcon:
|
|
2271
|
-
spTable__tdContent:
|
|
2272
|
-
spTable__tdColorContent:
|
|
2273
|
-
spTable__tdContentCopyIcon_copied:
|
|
2274
|
-
spTable__emptyPage:
|
|
2275
|
-
spStringsGroup:
|
|
2270
|
+
spTable__tdContentCopyIcon: Mr,
|
|
2271
|
+
spTable__tdContent: zr,
|
|
2272
|
+
spTable__tdColorContent: Br,
|
|
2273
|
+
spTable__tdContentCopyIcon_copied: Pr,
|
|
2274
|
+
spTable__emptyPage: Or,
|
|
2275
|
+
spStringsGroup: Wr,
|
|
2276
2276
|
spStringsGroup__groupItem: Ur,
|
|
2277
2277
|
spStringsGroup__groupItemHeader: qr,
|
|
2278
2278
|
spStringsGroup__groupItemContent: $r,
|
|
2279
2279
|
spStringsGroup__groupItemContentCopyIcon: Hr,
|
|
2280
2280
|
spStringsGroup__groupItemContentCopyIcon_copied: Vr
|
|
2281
|
-
},
|
|
2281
|
+
}, Kp = (e) => {
|
|
2282
2282
|
const {
|
|
2283
2283
|
columns: t,
|
|
2284
2284
|
data: o,
|
|
@@ -2298,9 +2298,9 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2298
2298
|
}), d = f({
|
|
2299
2299
|
[ye.spTable__emptyPage]: !0
|
|
2300
2300
|
}), [u, g] = ee(null), h = (y) => {
|
|
2301
|
-
const { text: m, rowIndex: N, colIndex:
|
|
2302
|
-
(u == null ? void 0 : u.rowIndex) === N && (u == null ? void 0 : u.colIndex) ===
|
|
2303
|
-
g({ rowIndex: N, colIndex:
|
|
2301
|
+
const { text: m, rowIndex: N, colIndex: W } = y;
|
|
2302
|
+
(u == null ? void 0 : u.rowIndex) === N && (u == null ? void 0 : u.colIndex) === W || navigator.clipboard.writeText(m).then(() => {
|
|
2303
|
+
g({ rowIndex: N, colIndex: W });
|
|
2304
2304
|
}).catch((K) => {
|
|
2305
2305
|
console.error("Ошибка при копировании:", K);
|
|
2306
2306
|
});
|
|
@@ -2312,12 +2312,12 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2312
2312
|
}) => {
|
|
2313
2313
|
const N = y[m.key];
|
|
2314
2314
|
if (!N) return null;
|
|
2315
|
-
const [
|
|
2316
|
-
return /* @__PURE__ */
|
|
2317
|
-
|
|
2315
|
+
const [W, K] = N.split(/\s*\{\{|}}\s*/).filter(Boolean);
|
|
2316
|
+
return /* @__PURE__ */ P("span", { children: [
|
|
2317
|
+
W,
|
|
2318
2318
|
K && /* @__PURE__ */ c("span", { className: l, children: ` ${K}` })
|
|
2319
2319
|
] });
|
|
2320
|
-
}, A = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */
|
|
2320
|
+
}, A = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ P("table", { className: s, children: [
|
|
2321
2321
|
/* @__PURE__ */ c("colgroup", { children: r.map((y, m, N) => /* @__PURE__ */ c(
|
|
2322
2322
|
"col",
|
|
2323
2323
|
{
|
|
@@ -2328,13 +2328,13 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2328
2328
|
m
|
|
2329
2329
|
)) }),
|
|
2330
2330
|
/* @__PURE__ */ c("thead", { children: /* @__PURE__ */ c("tr", { children: r.map((y, m) => /* @__PURE__ */ c("th", { children: y.title }, m)) }) }),
|
|
2331
|
-
/* @__PURE__ */ c("tbody", { children: o.map((y, m) => y ? /* @__PURE__ */ c("tr", { children: r.map((N,
|
|
2332
|
-
const K = (u == null ? void 0 : u.rowIndex) === m && (u == null ? void 0 : u.colIndex) ===
|
|
2331
|
+
/* @__PURE__ */ c("tbody", { children: o.map((y, m) => y ? /* @__PURE__ */ c("tr", { children: r.map((N, W) => {
|
|
2332
|
+
const K = (u == null ? void 0 : u.rowIndex) === m && (u == null ? void 0 : u.colIndex) === W;
|
|
2333
2333
|
return /* @__PURE__ */ c(
|
|
2334
2334
|
"td",
|
|
2335
2335
|
{
|
|
2336
2336
|
onMouseLeave: K ? x : void 0,
|
|
2337
|
-
children: /* @__PURE__ */
|
|
2337
|
+
children: /* @__PURE__ */ P("div", { className: p, children: [
|
|
2338
2338
|
/* @__PURE__ */ c("span", { children: N.isColorContentsCurlyBrackets ? R({ row: y, col: N }) : y[N.key] }),
|
|
2339
2339
|
!Et(y[N.key]) && N.isBeCopiedValue && /* @__PURE__ */ c(
|
|
2340
2340
|
ve,
|
|
@@ -2343,21 +2343,21 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2343
2343
|
[ye.spTable__tdContentCopyIcon]: !0,
|
|
2344
2344
|
[ye.spTable__tdContentCopyIcon_copied]: K
|
|
2345
2345
|
}),
|
|
2346
|
-
name: K ?
|
|
2346
|
+
name: K ? M.Check : M.Copy,
|
|
2347
2347
|
onClick: () => {
|
|
2348
2348
|
const J = y[N.key];
|
|
2349
2349
|
if (!J) return null;
|
|
2350
2350
|
h({
|
|
2351
2351
|
text: J,
|
|
2352
2352
|
rowIndex: m,
|
|
2353
|
-
colIndex:
|
|
2353
|
+
colIndex: W
|
|
2354
2354
|
});
|
|
2355
2355
|
}
|
|
2356
2356
|
}
|
|
2357
2357
|
)
|
|
2358
2358
|
] })
|
|
2359
2359
|
},
|
|
2360
|
-
`${m}:${
|
|
2360
|
+
`${m}:${W}`
|
|
2361
2361
|
);
|
|
2362
2362
|
}) }, m) : null) })
|
|
2363
2363
|
] }) : w(), U = () => o && Array.isArray(o) && o.length > 0 ? /* @__PURE__ */ c(
|
|
@@ -2366,11 +2366,11 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2366
2366
|
className: f({
|
|
2367
2367
|
[ye.spStringsGroup]: !0
|
|
2368
2368
|
}),
|
|
2369
|
-
children: o.map((y, m) => y ? /* @__PURE__ */ c("div", { children: r.map((N,
|
|
2369
|
+
children: o.map((y, m) => y ? /* @__PURE__ */ c("div", { children: r.map((N, W) => {
|
|
2370
2370
|
if (Et(y[N.key]))
|
|
2371
2371
|
return null;
|
|
2372
|
-
const K = (u == null ? void 0 : u.rowIndex) === m && (u == null ? void 0 : u.colIndex) ===
|
|
2373
|
-
return /* @__PURE__ */
|
|
2372
|
+
const K = (u == null ? void 0 : u.rowIndex) === m && (u == null ? void 0 : u.colIndex) === W;
|
|
2373
|
+
return /* @__PURE__ */ P(
|
|
2374
2374
|
"div",
|
|
2375
2375
|
{
|
|
2376
2376
|
className: f({
|
|
@@ -2387,7 +2387,7 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2387
2387
|
children: N.title
|
|
2388
2388
|
}
|
|
2389
2389
|
),
|
|
2390
|
-
/* @__PURE__ */
|
|
2390
|
+
/* @__PURE__ */ P(
|
|
2391
2391
|
"div",
|
|
2392
2392
|
{
|
|
2393
2393
|
className: f({
|
|
@@ -2402,14 +2402,14 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2402
2402
|
[ye.spStringsGroup__groupItemContentCopyIcon]: !0,
|
|
2403
2403
|
[ye.spStringsGroup__groupItemContentCopyIcon_copied]: K
|
|
2404
2404
|
}),
|
|
2405
|
-
name: K ?
|
|
2405
|
+
name: K ? M.Check : M.Copy,
|
|
2406
2406
|
onClick: () => {
|
|
2407
2407
|
const J = y[N.key];
|
|
2408
2408
|
if (!J) return null;
|
|
2409
2409
|
h({
|
|
2410
2410
|
text: J,
|
|
2411
2411
|
rowIndex: m,
|
|
2412
|
-
colIndex:
|
|
2412
|
+
colIndex: W
|
|
2413
2413
|
});
|
|
2414
2414
|
}
|
|
2415
2415
|
}
|
|
@@ -2419,7 +2419,7 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2419
2419
|
)
|
|
2420
2420
|
]
|
|
2421
2421
|
},
|
|
2422
|
-
|
|
2422
|
+
W
|
|
2423
2423
|
);
|
|
2424
2424
|
}) }, m) : null)
|
|
2425
2425
|
}
|
|
@@ -2435,7 +2435,7 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2435
2435
|
spTabs__tabElement_active: Xr,
|
|
2436
2436
|
spTabs__tooltip: Zr,
|
|
2437
2437
|
"spTabs--variant-filled": "_spTabs--variant-filled_p5nml_93"
|
|
2438
|
-
},
|
|
2438
|
+
}, Xp = (e) => {
|
|
2439
2439
|
const {
|
|
2440
2440
|
panes: t,
|
|
2441
2441
|
isSeparated: o = !1,
|
|
@@ -2461,7 +2461,7 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2461
2461
|
};
|
|
2462
2462
|
return /* @__PURE__ */ c("div", { className: s, children: t.map((d, u) => {
|
|
2463
2463
|
const { name: g, active: h, onClick: x, infoTooltipText: w } = d;
|
|
2464
|
-
return /* @__PURE__ */
|
|
2464
|
+
return /* @__PURE__ */ P(
|
|
2465
2465
|
"div",
|
|
2466
2466
|
{
|
|
2467
2467
|
className: f({
|
|
@@ -2488,7 +2488,7 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2488
2488
|
}, Qr = "_spTextWithLabel_18nkl_1", Jr = "_spTextWithLabel_ellipsis_18nkl_4", no = {
|
|
2489
2489
|
spTextWithLabel: Qr,
|
|
2490
2490
|
spTextWithLabel_ellipsis: Jr
|
|
2491
|
-
},
|
|
2491
|
+
}, Zp = (e) => {
|
|
2492
2492
|
const {
|
|
2493
2493
|
label: t,
|
|
2494
2494
|
required: o,
|
|
@@ -2504,7 +2504,7 @@ const Gi = (e) => `not ${e}`, Ki = (e, t) => {
|
|
|
2504
2504
|
[no.spTextWithLabel_ellipsis]: l.isEllipsis,
|
|
2505
2505
|
...s && { [s]: !0 }
|
|
2506
2506
|
});
|
|
2507
|
-
return /* @__PURE__ */
|
|
2507
|
+
return /* @__PURE__ */ P("div", { className: d, children: [
|
|
2508
2508
|
/* @__PURE__ */ c(
|
|
2509
2509
|
Dt,
|
|
2510
2510
|
{
|
|
@@ -3749,7 +3749,7 @@ const es = /* @__PURE__ */ new Map([
|
|
|
3749
3749
|
["zmm", "application/vnd.handheld-entertainment+xml"],
|
|
3750
3750
|
["zsh", "text/x-scriptzsh"]
|
|
3751
3751
|
]);
|
|
3752
|
-
function
|
|
3752
|
+
function ze(e, t, o) {
|
|
3753
3753
|
const n = ts(e), { webkitRelativePath: a } = e, i = typeof t == "string" ? t : typeof a == "string" && a.length > 0 ? a : `./${e.name}`;
|
|
3754
3754
|
return typeof n.path != "string" && ao(n, "path", i), ao(n, "relativePath", i), n;
|
|
3755
3755
|
}
|
|
@@ -3796,29 +3796,29 @@ function tt(e) {
|
|
|
3796
3796
|
return typeof e == "object" && e !== null;
|
|
3797
3797
|
}
|
|
3798
3798
|
function rs(e) {
|
|
3799
|
-
return
|
|
3799
|
+
return St(e.target.files).map((t) => ze(t));
|
|
3800
3800
|
}
|
|
3801
3801
|
function ss(e) {
|
|
3802
3802
|
return Ae(this, void 0, void 0, function* () {
|
|
3803
|
-
return (yield Promise.all(e.map((o) => o.getFile()))).map((o) =>
|
|
3803
|
+
return (yield Promise.all(e.map((o) => o.getFile()))).map((o) => ze(o));
|
|
3804
3804
|
});
|
|
3805
3805
|
}
|
|
3806
3806
|
function ps(e, t) {
|
|
3807
3807
|
return Ae(this, void 0, void 0, function* () {
|
|
3808
3808
|
if (e.items) {
|
|
3809
|
-
const o =
|
|
3809
|
+
const o = St(e.items).filter((a) => a.kind === "file");
|
|
3810
3810
|
if (t !== "drop")
|
|
3811
3811
|
return o;
|
|
3812
3812
|
const n = yield Promise.all(o.map(ls));
|
|
3813
3813
|
return io(Fo(n));
|
|
3814
3814
|
}
|
|
3815
|
-
return io(
|
|
3815
|
+
return io(St(e.files).map((o) => ze(o)));
|
|
3816
3816
|
});
|
|
3817
3817
|
}
|
|
3818
3818
|
function io(e) {
|
|
3819
3819
|
return e.filter((t) => os.indexOf(t.name) === -1);
|
|
3820
3820
|
}
|
|
3821
|
-
function
|
|
3821
|
+
function St(e) {
|
|
3822
3822
|
if (e === null)
|
|
3823
3823
|
return [];
|
|
3824
3824
|
const t = [];
|
|
@@ -3849,13 +3849,13 @@ function ro(e, t) {
|
|
|
3849
3849
|
throw new Error(`${e} is not a File`);
|
|
3850
3850
|
if (i !== void 0) {
|
|
3851
3851
|
const r = yield i.getFile();
|
|
3852
|
-
return r.handle = i,
|
|
3852
|
+
return r.handle = i, ze(r);
|
|
3853
3853
|
}
|
|
3854
3854
|
}
|
|
3855
3855
|
const n = e.getAsFile();
|
|
3856
3856
|
if (!n)
|
|
3857
3857
|
throw new Error(`${e} is not a File`);
|
|
3858
|
-
return
|
|
3858
|
+
return ze(n, (o = t == null ? void 0 : t.fullPath) !== null && o !== void 0 ? o : void 0);
|
|
3859
3859
|
});
|
|
3860
3860
|
}
|
|
3861
3861
|
function cs(e) {
|
|
@@ -3890,7 +3890,7 @@ function ds(e) {
|
|
|
3890
3890
|
return Ae(this, void 0, void 0, function* () {
|
|
3891
3891
|
return new Promise((t, o) => {
|
|
3892
3892
|
e.file((n) => {
|
|
3893
|
-
const a =
|
|
3893
|
+
const a = ze(n, e.fullPath);
|
|
3894
3894
|
t(a);
|
|
3895
3895
|
}, (n) => {
|
|
3896
3896
|
o(n);
|
|
@@ -3922,7 +3922,7 @@ function us(e) {
|
|
|
3922
3922
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
3923
3923
|
}
|
|
3924
3924
|
function _s(e) {
|
|
3925
|
-
if (Array.isArray(e)) return
|
|
3925
|
+
if (Array.isArray(e)) return It(e);
|
|
3926
3926
|
}
|
|
3927
3927
|
function po(e, t) {
|
|
3928
3928
|
var o = Object.keys(e);
|
|
@@ -3957,13 +3957,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
3957
3957
|
}
|
|
3958
3958
|
function Do(e, t) {
|
|
3959
3959
|
if (e) {
|
|
3960
|
-
if (typeof e == "string") return
|
|
3960
|
+
if (typeof e == "string") return It(e, t);
|
|
3961
3961
|
var o = Object.prototype.toString.call(e).slice(8, -1);
|
|
3962
3962
|
if (o === "Object" && e.constructor && (o = e.constructor.name), o === "Map" || o === "Set") return Array.from(e);
|
|
3963
|
-
if (o === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)) return
|
|
3963
|
+
if (o === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)) return It(e, t);
|
|
3964
3964
|
}
|
|
3965
3965
|
}
|
|
3966
|
-
function
|
|
3966
|
+
function It(e, t) {
|
|
3967
3967
|
(t == null || t > e.length) && (t = e.length);
|
|
3968
3968
|
for (var o = 0, n = new Array(t); o < t; o++)
|
|
3969
3969
|
n[o] = e[o];
|
|
@@ -3991,35 +3991,35 @@ function vs(e, t) {
|
|
|
3991
3991
|
function gs(e) {
|
|
3992
3992
|
if (Array.isArray(e)) return e;
|
|
3993
3993
|
}
|
|
3994
|
-
var xs = typeof Ct == "function" ? Ct : Ct.default,
|
|
3995
|
-
FileInvalidType:
|
|
3996
|
-
FileTooLarge:
|
|
3997
|
-
FileTooSmall:
|
|
3994
|
+
var xs = typeof Ct == "function" ? Ct : Ct.default, Mo = "file-invalid-type", zo = "file-too-large", Bo = "file-too-small", hs = "too-many-files", kt = {
|
|
3995
|
+
FileInvalidType: Mo,
|
|
3996
|
+
FileTooLarge: zo,
|
|
3997
|
+
FileTooSmall: Bo
|
|
3998
3998
|
}, bs = function() {
|
|
3999
3999
|
var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", o = t.split(","), n = o.length > 1 ? "one of ".concat(o.join(", ")) : o[0];
|
|
4000
4000
|
return {
|
|
4001
|
-
code:
|
|
4001
|
+
code: Mo,
|
|
4002
4002
|
message: "File type must be ".concat(n)
|
|
4003
4003
|
};
|
|
4004
4004
|
}, co = function(t) {
|
|
4005
4005
|
return {
|
|
4006
|
-
code:
|
|
4006
|
+
code: zo,
|
|
4007
4007
|
message: "File is larger than ".concat(t, " ").concat(t === 1 ? "byte" : "bytes")
|
|
4008
4008
|
};
|
|
4009
4009
|
}, mo = function(t) {
|
|
4010
4010
|
return {
|
|
4011
|
-
code:
|
|
4011
|
+
code: Bo,
|
|
4012
4012
|
message: "File is smaller than ".concat(t, " ").concat(t === 1 ? "byte" : "bytes")
|
|
4013
4013
|
};
|
|
4014
4014
|
}, ys = {
|
|
4015
4015
|
code: hs,
|
|
4016
4016
|
message: "Too many files"
|
|
4017
4017
|
};
|
|
4018
|
-
function
|
|
4018
|
+
function Po(e, t) {
|
|
4019
4019
|
var o = e.type === "application/x-moz-file" || xs(e, t);
|
|
4020
4020
|
return [o, o ? null : bs(t)];
|
|
4021
4021
|
}
|
|
4022
|
-
function
|
|
4022
|
+
function Oo(e, t, o) {
|
|
4023
4023
|
if (Fe(e.size))
|
|
4024
4024
|
if (Fe(t) && Fe(o)) {
|
|
4025
4025
|
if (e.size > o) return [!1, co(o)];
|
|
@@ -4036,7 +4036,7 @@ function Fe(e) {
|
|
|
4036
4036
|
function ws(e) {
|
|
4037
4037
|
var t = e.files, o = e.accept, n = e.minSize, a = e.maxSize, i = e.multiple, r = e.maxFiles, s = e.validator;
|
|
4038
4038
|
return !i && t.length > 1 || i && r >= 1 && t.length > r ? !1 : t.every(function(p) {
|
|
4039
|
-
var l =
|
|
4039
|
+
var l = Po(p, o), d = Ue(l, 1), u = d[0], g = Oo(p, n, a), h = Ue(g, 1), x = h[0], w = s ? s(p) : null;
|
|
4040
4040
|
return u && x && !w;
|
|
4041
4041
|
});
|
|
4042
4042
|
}
|
|
@@ -4079,7 +4079,7 @@ function Es(e) {
|
|
|
4079
4079
|
if (Fe(e)) {
|
|
4080
4080
|
var t = Object.entries(e).filter(function(o) {
|
|
4081
4081
|
var n = Ue(o, 2), a = n[0], i = n[1], r = !0;
|
|
4082
|
-
return
|
|
4082
|
+
return Wo(a) || (console.warn('Skipped "'.concat(a, '" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')), r = !1), (!Array.isArray(i) || !i.every(Uo)) && (console.warn('Skipped "'.concat(a, '" because an invalid file extension was provided.')), r = !1), r;
|
|
4083
4083
|
}).reduce(function(o, n) {
|
|
4084
4084
|
var a = Ue(n, 2), i = a[0], r = a[1];
|
|
4085
4085
|
return lo(lo({}, o), {}, jo({}, i, r));
|
|
@@ -4092,22 +4092,22 @@ function Es(e) {
|
|
|
4092
4092
|
}
|
|
4093
4093
|
return e;
|
|
4094
4094
|
}
|
|
4095
|
-
function
|
|
4095
|
+
function Ss(e) {
|
|
4096
4096
|
if (Fe(e))
|
|
4097
4097
|
return Object.entries(e).reduce(function(t, o) {
|
|
4098
4098
|
var n = Ue(o, 2), a = n[0], i = n[1];
|
|
4099
4099
|
return [].concat(so(t), [a], so(i));
|
|
4100
4100
|
}, []).filter(function(t) {
|
|
4101
|
-
return
|
|
4101
|
+
return Wo(t) || Uo(t);
|
|
4102
4102
|
}).join(",");
|
|
4103
4103
|
}
|
|
4104
|
-
function
|
|
4104
|
+
function Is(e) {
|
|
4105
4105
|
return e instanceof DOMException && (e.name === "AbortError" || e.code === e.ABORT_ERR);
|
|
4106
4106
|
}
|
|
4107
4107
|
function Ls(e) {
|
|
4108
4108
|
return e instanceof DOMException && (e.name === "SecurityError" || e.code === e.SECURITY_ERR);
|
|
4109
4109
|
}
|
|
4110
|
-
function
|
|
4110
|
+
function Wo(e) {
|
|
4111
4111
|
return e === "audio/*" || e === "video/*" || e === "image/*" || e === "text/*" || e === "application/*" || /\w+\/[-+.\w]+/g.test(e);
|
|
4112
4112
|
}
|
|
4113
4113
|
function Uo(e) {
|
|
@@ -4115,22 +4115,22 @@ function Uo(e) {
|
|
|
4115
4115
|
}
|
|
4116
4116
|
var Rs = ["children"], Fs = ["open"], As = ["refKey", "role", "onKeyDown", "onFocus", "onBlur", "onClick", "onDragEnter", "onDragOver", "onDragLeave", "onDrop"], js = ["refKey", "onChange", "onClick"];
|
|
4117
4117
|
function Ds(e) {
|
|
4118
|
-
return
|
|
4118
|
+
return Bs(e) || zs(e) || qo(e) || Ms();
|
|
4119
4119
|
}
|
|
4120
|
-
function
|
|
4120
|
+
function Ms() {
|
|
4121
4121
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
4122
4122
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
4123
4123
|
}
|
|
4124
|
-
function
|
|
4124
|
+
function zs(e) {
|
|
4125
4125
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
4126
4126
|
}
|
|
4127
|
-
function
|
|
4127
|
+
function Bs(e) {
|
|
4128
4128
|
if (Array.isArray(e)) return Lt(e);
|
|
4129
4129
|
}
|
|
4130
4130
|
function Tt(e, t) {
|
|
4131
|
-
return
|
|
4131
|
+
return Ws(e) || Os(e, t) || qo(e, t) || Ps();
|
|
4132
4132
|
}
|
|
4133
|
-
function
|
|
4133
|
+
function Ps() {
|
|
4134
4134
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
4135
4135
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
4136
4136
|
}
|
|
@@ -4148,7 +4148,7 @@ function Lt(e, t) {
|
|
|
4148
4148
|
n[o] = e[o];
|
|
4149
4149
|
return n;
|
|
4150
4150
|
}
|
|
4151
|
-
function
|
|
4151
|
+
function Os(e, t) {
|
|
4152
4152
|
var o = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
4153
4153
|
if (o != null) {
|
|
4154
4154
|
var n = [], a = !0, i = !1, r, s;
|
|
@@ -4167,7 +4167,7 @@ function Ms(e, t) {
|
|
|
4167
4167
|
return n;
|
|
4168
4168
|
}
|
|
4169
4169
|
}
|
|
4170
|
-
function
|
|
4170
|
+
function Ws(e) {
|
|
4171
4171
|
if (Array.isArray(e)) return e;
|
|
4172
4172
|
}
|
|
4173
4173
|
function _o(e, t) {
|
|
@@ -4211,7 +4211,7 @@ function Us(e, t) {
|
|
|
4211
4211
|
a = n[i], !(t.indexOf(a) >= 0) && (o[a] = e[a]);
|
|
4212
4212
|
return o;
|
|
4213
4213
|
}
|
|
4214
|
-
var
|
|
4214
|
+
var Bt = /* @__PURE__ */ Qo(function(e, t) {
|
|
4215
4215
|
var o = e.children, n = nt(e, Rs), a = Ho(n), i = a.open, r = nt(a, Fs);
|
|
4216
4216
|
return Jo(t, function() {
|
|
4217
4217
|
return {
|
|
@@ -4221,7 +4221,7 @@ var Wt = /* @__PURE__ */ Qo(function(e, t) {
|
|
|
4221
4221
|
open: i
|
|
4222
4222
|
})));
|
|
4223
4223
|
});
|
|
4224
|
-
|
|
4224
|
+
Bt.displayName = "Dropzone";
|
|
4225
4225
|
var $o = {
|
|
4226
4226
|
disabled: !1,
|
|
4227
4227
|
getFilesFromEvent: ns,
|
|
@@ -4238,8 +4238,8 @@ var $o = {
|
|
|
4238
4238
|
useFsAccessApi: !1,
|
|
4239
4239
|
autoFocus: !1
|
|
4240
4240
|
};
|
|
4241
|
-
|
|
4242
|
-
|
|
4241
|
+
Bt.defaultProps = $o;
|
|
4242
|
+
Bt.propTypes = {
|
|
4243
4243
|
/**
|
|
4244
4244
|
* Render function that exposes the dropzone state and prop getter fns
|
|
4245
4245
|
*
|
|
@@ -4417,16 +4417,16 @@ var Ft = {
|
|
|
4417
4417
|
fileRejections: []
|
|
4418
4418
|
};
|
|
4419
4419
|
function Ho() {
|
|
4420
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = oe(oe({}, $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, h = t.onDropAccepted, x = t.onDropRejected, w = t.onFileDialogCancel, R = t.onFileDialogOpen, A = t.useFsAccessApi, U = t.autoFocus, F = t.preventDropOnDocument, y = t.noClick, m = t.noKeyboard, N = t.noDrag,
|
|
4421
|
-
return
|
|
4422
|
-
}, [o]), me =
|
|
4420
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = oe(oe({}, $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, h = t.onDropAccepted, x = t.onDropRejected, w = t.onFileDialogCancel, R = t.onFileDialogOpen, A = t.useFsAccessApi, U = t.autoFocus, F = t.preventDropOnDocument, y = t.noClick, m = t.noKeyboard, N = t.noDrag, W = t.noDragEventsBubbling, K = t.onError, J = t.validator, ne = Me(function() {
|
|
4421
|
+
return Ss(o);
|
|
4422
|
+
}, [o]), me = Me(function() {
|
|
4423
4423
|
return Es(o);
|
|
4424
|
-
}, [o]), ue =
|
|
4424
|
+
}, [o]), ue = Me(function() {
|
|
4425
4425
|
return typeof R == "function" ? R : fo;
|
|
4426
|
-
}, [R]), le =
|
|
4426
|
+
}, [R]), le = Me(function() {
|
|
4427
4427
|
return typeof w == "function" ? w : fo;
|
|
4428
|
-
}, [w]), X = de(null), T = de(null),
|
|
4429
|
-
!
|
|
4428
|
+
}, [w]), X = de(null), T = de(null), z = Zo(qs, Ft), q = Tt(z, 2), V = q[0], te = q[1], _ = V.isFocused, v = V.isFileDialogActive, I = de(typeof window < "u" && window.isSecureContext && A && Ns()), L = function() {
|
|
4429
|
+
!I.current && v && setTimeout(function() {
|
|
4430
4430
|
if (T.current) {
|
|
4431
4431
|
var j = T.current.files;
|
|
4432
4432
|
j.length || (te({
|
|
@@ -4439,13 +4439,13 @@ function Ho() {
|
|
|
4439
4439
|
return window.addEventListener("focus", L, !1), function() {
|
|
4440
4440
|
window.removeEventListener("focus", L, !1);
|
|
4441
4441
|
};
|
|
4442
|
-
}, [T, v, le,
|
|
4443
|
-
var
|
|
4444
|
-
X.current && X.current.contains(j.target) || (j.preventDefault(),
|
|
4442
|
+
}, [T, v, le, I]);
|
|
4443
|
+
var S = de([]), B = function(j) {
|
|
4444
|
+
X.current && X.current.contains(j.target) || (j.preventDefault(), S.current = []);
|
|
4445
4445
|
};
|
|
4446
4446
|
re(function() {
|
|
4447
|
-
return F && (document.addEventListener("dragover", uo, !1), document.addEventListener("drop",
|
|
4448
|
-
F && (document.removeEventListener("dragover", uo), document.removeEventListener("drop",
|
|
4447
|
+
return F && (document.addEventListener("dragover", uo, !1), document.addEventListener("drop", B, !1)), function() {
|
|
4448
|
+
F && (document.removeEventListener("dragover", uo), document.removeEventListener("drop", B));
|
|
4449
4449
|
};
|
|
4450
4450
|
}, [X, F]), re(function() {
|
|
4451
4451
|
return !n && U && X.current && X.current.focus(), function() {
|
|
@@ -4453,9 +4453,9 @@ function Ho() {
|
|
|
4453
4453
|
}, [X, U, n]);
|
|
4454
4454
|
var D = xe(function(k) {
|
|
4455
4455
|
K ? K(k) : console.error(k);
|
|
4456
|
-
}, [K]),
|
|
4457
|
-
k.preventDefault(), k.persist(), Ve(k),
|
|
4458
|
-
if (!(ot(k) && !
|
|
4456
|
+
}, [K]), O = xe(function(k) {
|
|
4457
|
+
k.preventDefault(), k.persist(), Ve(k), S.current = [].concat(Ds(S.current), [k.target]), Je(k) && Promise.resolve(a(k)).then(function(j) {
|
|
4458
|
+
if (!(ot(k) && !W)) {
|
|
4459
4459
|
var ae = j.length, se = ae > 0 && ws({
|
|
4460
4460
|
files: j,
|
|
4461
4461
|
accept: ne,
|
|
@@ -4475,7 +4475,7 @@ function Ho() {
|
|
|
4475
4475
|
}).catch(function(j) {
|
|
4476
4476
|
return D(j);
|
|
4477
4477
|
});
|
|
4478
|
-
}, [a, l, D,
|
|
4478
|
+
}, [a, l, D, W, ne, r, i, s, p, J]), H = xe(function(k) {
|
|
4479
4479
|
k.preventDefault(), k.persist(), Ve(k);
|
|
4480
4480
|
var j = Je(k);
|
|
4481
4481
|
if (j && k.dataTransfer)
|
|
@@ -4484,21 +4484,21 @@ function Ho() {
|
|
|
4484
4484
|
} catch {
|
|
4485
4485
|
}
|
|
4486
4486
|
return j && u && u(k), !1;
|
|
4487
|
-
}, [u,
|
|
4487
|
+
}, [u, W]), G = xe(function(k) {
|
|
4488
4488
|
k.preventDefault(), k.persist(), Ve(k);
|
|
4489
|
-
var j =
|
|
4489
|
+
var j = S.current.filter(function(se) {
|
|
4490
4490
|
return X.current && X.current.contains(se);
|
|
4491
4491
|
}), ae = j.indexOf(k.target);
|
|
4492
|
-
ae !== -1 && j.splice(ae, 1),
|
|
4492
|
+
ae !== -1 && j.splice(ae, 1), S.current = j, !(j.length > 0) && (te({
|
|
4493
4493
|
type: "setDraggedFiles",
|
|
4494
4494
|
isDragActive: !1,
|
|
4495
4495
|
isDragAccept: !1,
|
|
4496
4496
|
isDragReject: !1
|
|
4497
4497
|
}), Je(k) && d && d(k));
|
|
4498
|
-
}, [X, d,
|
|
4498
|
+
}, [X, d, W]), $ = xe(function(k, j) {
|
|
4499
4499
|
var ae = [], se = [];
|
|
4500
4500
|
k.forEach(function(be) {
|
|
4501
|
-
var
|
|
4501
|
+
var Pe = Po(be, ne), De = Tt(Pe, 2), rt = De[0], st = De[1], pt = Oo(be, r, i), Ye = Tt(pt, 2), lt = Ye[0], ct = Ye[1], dt = J ? J(be) : null;
|
|
4502
4502
|
if (rt && lt && !dt)
|
|
4503
4503
|
ae.push(be);
|
|
4504
4504
|
else {
|
|
@@ -4522,15 +4522,15 @@ function Ho() {
|
|
|
4522
4522
|
type: "setFiles"
|
|
4523
4523
|
}), g && g(ae, se, j), se.length > 0 && x && x(se, j), ae.length > 0 && h && h(ae, j);
|
|
4524
4524
|
}, [te, s, ne, r, i, p, g, h, x, J]), ie = xe(function(k) {
|
|
4525
|
-
k.preventDefault(), k.persist(), Ve(k),
|
|
4526
|
-
ot(k) && !
|
|
4525
|
+
k.preventDefault(), k.persist(), Ve(k), S.current = [], Je(k) && Promise.resolve(a(k)).then(function(j) {
|
|
4526
|
+
ot(k) && !W || $(j, k);
|
|
4527
4527
|
}).catch(function(j) {
|
|
4528
4528
|
return D(j);
|
|
4529
4529
|
}), te({
|
|
4530
4530
|
type: "reset"
|
|
4531
4531
|
});
|
|
4532
|
-
}, [a, $, D,
|
|
4533
|
-
if (
|
|
4532
|
+
}, [a, $, D, W]), b = xe(function() {
|
|
4533
|
+
if (I.current) {
|
|
4534
4534
|
te({
|
|
4535
4535
|
type: "openDialog"
|
|
4536
4536
|
}), ue();
|
|
@@ -4545,9 +4545,9 @@ function Ho() {
|
|
|
4545
4545
|
type: "closeDialog"
|
|
4546
4546
|
});
|
|
4547
4547
|
}).catch(function(j) {
|
|
4548
|
-
|
|
4548
|
+
Is(j) ? (le(j), te({
|
|
4549
4549
|
type: "closeDialog"
|
|
4550
|
-
})) : Ls(j) ? (
|
|
4550
|
+
})) : Ls(j) ? (I.current = !1, T.current ? (T.current.value = null, T.current.click()) : D(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."))) : D(j);
|
|
4551
4551
|
});
|
|
4552
4552
|
return;
|
|
4553
4553
|
}
|
|
@@ -4556,15 +4556,15 @@ function Ho() {
|
|
|
4556
4556
|
}), ue(), T.current.value = null, T.current.click());
|
|
4557
4557
|
}, [te, ue, le, A, $, D, me, s]), he = xe(function(k) {
|
|
4558
4558
|
!X.current || !X.current.isEqualNode(k.target) || (k.key === " " || k.key === "Enter" || k.keyCode === 32 || k.keyCode === 13) && (k.preventDefault(), b());
|
|
4559
|
-
}, [X, b]),
|
|
4559
|
+
}, [X, b]), Ie = xe(function() {
|
|
4560
4560
|
te({
|
|
4561
4561
|
type: "focus"
|
|
4562
4562
|
});
|
|
4563
|
-
}, []),
|
|
4563
|
+
}, []), Be = xe(function() {
|
|
4564
4564
|
te({
|
|
4565
4565
|
type: "blur"
|
|
4566
4566
|
});
|
|
4567
|
-
}, []),
|
|
4567
|
+
}, []), Pt = xe(function() {
|
|
4568
4568
|
y || (Ts() ? setTimeout(b, 0) : b());
|
|
4569
4569
|
}, [y, b]), je = function(j) {
|
|
4570
4570
|
return n ? null : j;
|
|
@@ -4573,16 +4573,16 @@ function Ho() {
|
|
|
4573
4573
|
}, He = function(j) {
|
|
4574
4574
|
return N ? null : je(j);
|
|
4575
4575
|
}, Ve = function(j) {
|
|
4576
|
-
|
|
4577
|
-
}, Vo =
|
|
4576
|
+
W && j.stopPropagation();
|
|
4577
|
+
}, Vo = Me(function() {
|
|
4578
4578
|
return function() {
|
|
4579
|
-
var k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, j = k.refKey, ae = j === void 0 ? "ref" : j, se = k.role, be = k.onKeyDown,
|
|
4579
|
+
var k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, j = k.refKey, ae = j === void 0 ? "ref" : j, se = k.role, be = k.onKeyDown, Pe = k.onFocus, De = k.onBlur, rt = k.onClick, st = k.onDragEnter, pt = k.onDragOver, Ye = k.onDragLeave, lt = k.onDrop, ct = nt(k, As);
|
|
4580
4580
|
return oe(oe(Rt({
|
|
4581
4581
|
onKeyDown: it(Ne(be, he)),
|
|
4582
|
-
onFocus: it(Ne(
|
|
4583
|
-
onBlur: it(Ne(De,
|
|
4584
|
-
onClick: je(Ne(rt,
|
|
4585
|
-
onDragEnter: He(Ne(st,
|
|
4582
|
+
onFocus: it(Ne(Pe, Ie)),
|
|
4583
|
+
onBlur: it(Ne(De, Be)),
|
|
4584
|
+
onClick: je(Ne(rt, Pt)),
|
|
4585
|
+
onDragEnter: He(Ne(st, O)),
|
|
4586
4586
|
onDragOver: He(Ne(pt, H)),
|
|
4587
4587
|
onDragLeave: He(Ne(Ye, G)),
|
|
4588
4588
|
onDrop: He(Ne(lt, ie)),
|
|
@@ -4591,11 +4591,11 @@ function Ho() {
|
|
|
4591
4591
|
tabIndex: 0
|
|
4592
4592
|
} : {}), ct);
|
|
4593
4593
|
};
|
|
4594
|
-
}, [X, he,
|
|
4594
|
+
}, [X, he, Ie, Be, Pt, O, H, G, ie, m, N, n]), Yo = xe(function(k) {
|
|
4595
4595
|
k.stopPropagation();
|
|
4596
|
-
}, []), Go =
|
|
4596
|
+
}, []), Go = Me(function() {
|
|
4597
4597
|
return function() {
|
|
4598
|
-
var k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, j = k.refKey, ae = j === void 0 ? "ref" : j, se = k.onChange, be = k.onClick,
|
|
4598
|
+
var k = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, j = k.refKey, ae = j === void 0 ? "ref" : j, se = k.onChange, be = k.onClick, Pe = nt(k, js), De = Rt({
|
|
4599
4599
|
accept: ne,
|
|
4600
4600
|
multiple: s,
|
|
4601
4601
|
type: "file",
|
|
@@ -4615,7 +4615,7 @@ function Ho() {
|
|
|
4615
4615
|
onClick: je(Ne(be, Yo)),
|
|
4616
4616
|
tabIndex: -1
|
|
4617
4617
|
}, ae, T);
|
|
4618
|
-
return oe(oe({}, De),
|
|
4618
|
+
return oe(oe({}, De), Pe);
|
|
4619
4619
|
};
|
|
4620
4620
|
}, [T, o, s, ie, n]);
|
|
4621
4621
|
return oe(oe({}, V), {}, {
|
|
@@ -4700,7 +4700,7 @@ const $s = (e) => Ho(e), Hs = (e) => {
|
|
|
4700
4700
|
window.removeEventListener("resize", g);
|
|
4701
4701
|
}), [t]);
|
|
4702
4702
|
const h = Vs(t);
|
|
4703
|
-
return /* @__PURE__ */
|
|
4703
|
+
return /* @__PURE__ */ P(
|
|
4704
4704
|
"div",
|
|
4705
4705
|
{
|
|
4706
4706
|
className: f(
|
|
@@ -4738,17 +4738,17 @@ const $s = (e) => Ho(e), Hs = (e) => {
|
|
|
4738
4738
|
]
|
|
4739
4739
|
}
|
|
4740
4740
|
);
|
|
4741
|
-
}, Zs = "
|
|
4741
|
+
}, Zs = "_spUploadFiles_6emz0_43", Qs = "_spUploadFiles_error_6emz0_51", Js = "_spUploadFiles__control_6emz0_51", ep = "_spUploadFiles__fileNameContainer_6emz0_55", tp = "_spUploadFiles__fileName_dragError_6emz0_59", op = "_spUploadFiles__placeholderContainer_6emz0_62", np = "_spUploadFiles__placeholderContainer_withUloadTooltip_6emz0_72", ap = "_spUploadFiles__placeholder_6emz0_62", ip = "_spUploadFiles__control_loading_6emz0_104", rp = "_shimmer_6emz0_1", sp = "_spUploadFiles__fileName_6emz0_55", pp = "_spUploadFiles__tooltip_6emz0_130", lp = "_spUploadFiles_fileUploaded_6emz0_160", cp = "_spUploadFiles_disabled_6emz0_160", dp = "_spUploadFiles__fileNamesList_6emz0_171", mp = "_spUploadFiles__fileNamesList_loading_6emz0_182", up = "_spUploadFiles__fileNamesListItem_6emz0_187", _p = "_spUploadFiles__fileNamesListItem__iconContainer_6emz0_225", fp = "_spUploadFiles__fileNamesListItem__iconContainer_error_6emz0_234", vp = "_spUploadFiles__fileNamesListItem__mainContent_6emz0_239", gp = "_spUploadFiles__fileNamesListItem__fileNameWrapper_6emz0_246", xp = "_spUploadFiles__fileNamesListItem__fileName_6emz0_246", hp = "_spUploadFiles__fileNamesListItem__description_6emz0_253", bp = "_spUploadFiles__fileNamesListItem__description__tooltipContent_6emz0_258", yp = "_spUploadFiles__fileNamesListItem__description_error_6emz0_261", wp = "_spUploadFiles__fileNamesListItemDelete_6emz0_264", Cp = "_spUploadFiles__fileNamesListItemDelete_error_6emz0_281", kp = "_spUploadFiles__delete_6emz0_294", Tp = "_spUploadFiles__delete_loading_6emz0_298", Np = "_spUploadFiles__error_6emz0_307", Y = {
|
|
4742
4742
|
spUploadFiles: Zs,
|
|
4743
4743
|
spUploadFiles_error: Qs,
|
|
4744
4744
|
spUploadFiles__control: Js,
|
|
4745
4745
|
spUploadFiles__fileNameContainer: ep,
|
|
4746
4746
|
spUploadFiles__fileName_dragError: tp,
|
|
4747
4747
|
spUploadFiles__placeholderContainer: op,
|
|
4748
|
-
"spUploadFiles--variant-input": "_spUploadFiles--variant-
|
|
4748
|
+
"spUploadFiles--variant-input": "_spUploadFiles--variant-input_6emz0_65",
|
|
4749
4749
|
spUploadFiles__placeholderContainer_withUloadTooltip: np,
|
|
4750
4750
|
spUploadFiles__placeholder: ap,
|
|
4751
|
-
"spUploadFiles--variant-dropzone": "_spUploadFiles--variant-
|
|
4751
|
+
"spUploadFiles--variant-dropzone": "_spUploadFiles--variant-dropzone_6emz0_87",
|
|
4752
4752
|
spUploadFiles__control_loading: ip,
|
|
4753
4753
|
shimmer: rp,
|
|
4754
4754
|
spUploadFiles__fileName: sp,
|
|
@@ -4771,7 +4771,7 @@ const $s = (e) => Ho(e), Hs = (e) => {
|
|
|
4771
4771
|
spUploadFiles__delete: kp,
|
|
4772
4772
|
spUploadFiles__delete_loading: Tp,
|
|
4773
4773
|
spUploadFiles__error: Np
|
|
4774
|
-
},
|
|
4774
|
+
}, Qp = (e) => {
|
|
4775
4775
|
const {
|
|
4776
4776
|
placeholder: t = "Загрузите файл",
|
|
4777
4777
|
variant: o = "input",
|
|
@@ -4788,16 +4788,16 @@ const $s = (e) => Ho(e), Hs = (e) => {
|
|
|
4788
4788
|
error: h
|
|
4789
4789
|
} = e, [x, w] = ee([]), R = xe(
|
|
4790
4790
|
(_, v) => {
|
|
4791
|
-
const
|
|
4792
|
-
file:
|
|
4793
|
-
errors:
|
|
4791
|
+
const I = v.map(({ file: S, errors: B }) => ({
|
|
4792
|
+
file: S,
|
|
4793
|
+
errors: B
|
|
4794
4794
|
}));
|
|
4795
4795
|
if (!s) {
|
|
4796
|
-
w([...
|
|
4796
|
+
w([...I]), a(_, n);
|
|
4797
4797
|
return;
|
|
4798
4798
|
}
|
|
4799
4799
|
const L = [...p, ..._];
|
|
4800
|
-
w([...
|
|
4800
|
+
w([...I, ...x]), a(L, n);
|
|
4801
4801
|
},
|
|
4802
4802
|
[x, p, s, n, a]
|
|
4803
4803
|
), { getRootProps: A, getInputProps: U } = $s({
|
|
@@ -4805,7 +4805,7 @@ const $s = (e) => Ho(e), Hs = (e) => {
|
|
|
4805
4805
|
onDrop: R,
|
|
4806
4806
|
multiple: s,
|
|
4807
4807
|
disabled: r
|
|
4808
|
-
}), F = x ? (x == null ? void 0 : x.length) > 0 : void 0, y = [...p.map((_) => ({ file: _, errors: null })), ...x], m = (y == null ? void 0 : y.length) > 0 || (x == null ? void 0 : x.length) > 0, N = o === "input",
|
|
4808
|
+
}), F = x ? (x == null ? void 0 : x.length) > 0 : void 0, y = [...p.map((_) => ({ file: _, errors: null })), ...x], m = (y == null ? void 0 : y.length) > 0 || (x == null ? void 0 : x.length) > 0, N = o === "input", W = o === "dropzone", K = f({
|
|
4809
4809
|
[Y.spUploadFiles]: !0,
|
|
4810
4810
|
[Y[`spUploadFiles--variant-${o}`]]: o,
|
|
4811
4811
|
[Y.spUploadFiles_error]: F && !s && h && h.length > 0,
|
|
@@ -4825,15 +4825,15 @@ const $s = (e) => Ho(e), Hs = (e) => {
|
|
|
4825
4825
|
if (g)
|
|
4826
4826
|
return;
|
|
4827
4827
|
if (v) {
|
|
4828
|
-
const
|
|
4829
|
-
|
|
4828
|
+
const S = [...x], B = S.findIndex((D) => D.file.name === _);
|
|
4829
|
+
S.splice(B, 1), w(S);
|
|
4830
4830
|
return;
|
|
4831
4831
|
}
|
|
4832
|
-
const
|
|
4833
|
-
|
|
4832
|
+
const I = [...p], L = I.findIndex((S) => S.name === _);
|
|
4833
|
+
I.splice(L, 1), a(I, n);
|
|
4834
4834
|
}, le = (_) => {
|
|
4835
4835
|
_.stopPropagation(), a([], n), w([]);
|
|
4836
|
-
}, X = (_) => Object.values(_).flatMap((v) => v.map((
|
|
4836
|
+
}, X = (_) => Object.values(_).flatMap((v) => v.map((I) => I.toUpperCase())).join(", "), T = () => {
|
|
4837
4837
|
if (F) {
|
|
4838
4838
|
const _ = X(i);
|
|
4839
4839
|
return /* @__PURE__ */ c(
|
|
@@ -4856,17 +4856,17 @@ const $s = (e) => Ho(e), Hs = (e) => {
|
|
|
4856
4856
|
classNameRoot: f(Y.spUploadFiles__fileName)
|
|
4857
4857
|
}
|
|
4858
4858
|
);
|
|
4859
|
-
},
|
|
4860
|
-
const L = v ? (v == null ? void 0 : v.length) > 0 : void 0,
|
|
4861
|
-
return /* @__PURE__ */
|
|
4859
|
+
}, z = () => /* @__PURE__ */ c("ul", { className: ne, children: y.map(({ file: _, errors: v }, I) => {
|
|
4860
|
+
const L = v ? (v == null ? void 0 : v.length) > 0 : void 0, S = () => v ? v == null ? void 0 : v.map(Hs).join(", ") : "";
|
|
4861
|
+
return /* @__PURE__ */ P(
|
|
4862
4862
|
"li",
|
|
4863
4863
|
{
|
|
4864
4864
|
className: f(
|
|
4865
4865
|
Y.spUploadFiles__fileNamesListItem,
|
|
4866
4866
|
L && Y.spUploadFiles__fileNamesListItem_error
|
|
4867
4867
|
),
|
|
4868
|
-
onClick: (
|
|
4869
|
-
|
|
4868
|
+
onClick: (B) => {
|
|
4869
|
+
B.stopPropagation();
|
|
4870
4870
|
},
|
|
4871
4871
|
children: [
|
|
4872
4872
|
/* @__PURE__ */ c(
|
|
@@ -4876,10 +4876,10 @@ const $s = (e) => Ho(e), Hs = (e) => {
|
|
|
4876
4876
|
Y.spUploadFiles__fileNamesListItem__iconContainer,
|
|
4877
4877
|
L && Y.spUploadFiles__fileNamesListItem__iconContainer_error
|
|
4878
4878
|
),
|
|
4879
|
-
children: /* @__PURE__ */ c(ve, { name: L ?
|
|
4879
|
+
children: /* @__PURE__ */ c(ve, { name: L ? M.InfoError : M.File })
|
|
4880
4880
|
}
|
|
4881
4881
|
),
|
|
4882
|
-
/* @__PURE__ */
|
|
4882
|
+
/* @__PURE__ */ P("div", { className: Y.spUploadFiles__fileNamesListItem__mainContent, children: [
|
|
4883
4883
|
/* @__PURE__ */ c(
|
|
4884
4884
|
Xs,
|
|
4885
4885
|
{
|
|
@@ -4891,7 +4891,7 @@ const $s = (e) => Ho(e), Hs = (e) => {
|
|
|
4891
4891
|
/* @__PURE__ */ c(
|
|
4892
4892
|
Ke,
|
|
4893
4893
|
{
|
|
4894
|
-
text: L ?
|
|
4894
|
+
text: L ? S() : Ys(_.size),
|
|
4895
4895
|
classNameBaseTooltipRoot: Y.spUploadFiles__fileNamesListItem__description__tooltipContent,
|
|
4896
4896
|
classNameRoot: f(
|
|
4897
4897
|
Y.spUploadFiles__fileNamesListItem__description,
|
|
@@ -4904,17 +4904,17 @@ const $s = (e) => Ho(e), Hs = (e) => {
|
|
|
4904
4904
|
"div",
|
|
4905
4905
|
{
|
|
4906
4906
|
className: f(Y.spUploadFiles__fileNamesListItemDelete),
|
|
4907
|
-
onClick: (
|
|
4908
|
-
|
|
4907
|
+
onClick: (B) => {
|
|
4908
|
+
B.stopPropagation(), ue(_.name, L);
|
|
4909
4909
|
},
|
|
4910
|
-
children: /* @__PURE__ */ c(ve, { name:
|
|
4910
|
+
children: /* @__PURE__ */ c(ve, { name: M.Close })
|
|
4911
4911
|
}
|
|
4912
4912
|
)
|
|
4913
4913
|
]
|
|
4914
4914
|
},
|
|
4915
|
-
|
|
4915
|
+
I
|
|
4916
4916
|
);
|
|
4917
|
-
}) }), q = () => s ?
|
|
4917
|
+
}) }), q = () => s ? z() : T(), V = () => /* @__PURE__ */ c(
|
|
4918
4918
|
Ke,
|
|
4919
4919
|
{
|
|
4920
4920
|
classNameRoot: Y.spUploadFiles__placeholder,
|
|
@@ -4924,9 +4924,9 @@ const $s = (e) => Ho(e), Hs = (e) => {
|
|
|
4924
4924
|
),
|
|
4925
4925
|
text: t
|
|
4926
4926
|
}
|
|
4927
|
-
), te = () => /* @__PURE__ */
|
|
4927
|
+
), te = () => /* @__PURE__ */ P(At, { children: [
|
|
4928
4928
|
m ? q() : V(),
|
|
4929
|
-
m && N ? /* @__PURE__ */ c("div", { className: me, onClick: le, children: /* @__PURE__ */ c(ve, { name:
|
|
4929
|
+
m && N ? /* @__PURE__ */ c("div", { className: me, onClick: le, children: /* @__PURE__ */ c(ve, { name: M.Close }) }) : N && l && /* @__PURE__ */ c(
|
|
4930
4930
|
at,
|
|
4931
4931
|
{
|
|
4932
4932
|
hover: !0,
|
|
@@ -4937,14 +4937,14 @@ const $s = (e) => Ho(e), Hs = (e) => {
|
|
|
4937
4937
|
)
|
|
4938
4938
|
] });
|
|
4939
4939
|
return /* @__PURE__ */ c(
|
|
4940
|
-
|
|
4940
|
+
Oa,
|
|
4941
4941
|
{
|
|
4942
4942
|
getRootProps: A,
|
|
4943
4943
|
getInputProps: U,
|
|
4944
4944
|
disabled: r,
|
|
4945
4945
|
name: n,
|
|
4946
|
-
children: /* @__PURE__ */
|
|
4947
|
-
|
|
4946
|
+
children: /* @__PURE__ */ P("div", { className: K, children: [
|
|
4947
|
+
W && /* @__PURE__ */ c(
|
|
4948
4948
|
$e,
|
|
4949
4949
|
{
|
|
4950
4950
|
hover: !0,
|
|
@@ -4954,11 +4954,11 @@ const $s = (e) => Ho(e), Hs = (e) => {
|
|
|
4954
4954
|
trigger: void 0
|
|
4955
4955
|
}
|
|
4956
4956
|
),
|
|
4957
|
-
/* @__PURE__ */
|
|
4957
|
+
/* @__PURE__ */ P("div", { className: J, children: [
|
|
4958
4958
|
N && (g ? /* @__PURE__ */ c(jt, {}) : /* @__PURE__ */ c(
|
|
4959
4959
|
ve,
|
|
4960
4960
|
{
|
|
4961
|
-
name: m ?
|
|
4961
|
+
name: m ? M.Check : M.Upload,
|
|
4962
4962
|
style: { flexShrink: 0 }
|
|
4963
4963
|
}
|
|
4964
4964
|
)),
|
|
@@ -4968,17 +4968,15 @@ const $s = (e) => Ho(e), Hs = (e) => {
|
|
|
4968
4968
|
] })
|
|
4969
4969
|
}
|
|
4970
4970
|
);
|
|
4971
|
-
}, Ep = "
|
|
4972
|
-
|
|
4973
|
-
|
|
4974
|
-
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
viewImage__closeButton: Dp
|
|
4981
|
-
}, tl = (e) => {
|
|
4971
|
+
}, Ep = "_viewImageModal_sn237_43", Sp = "_viewImageModal__img_sn237_77", Ip = "_viewImageModal__img_loading_sn237_90", Lp = "_viewImageModal__img_error_sn237_93", Rp = "_viewImageModal__spinner_sn237_96", Fp = "_viewImageModal__layer_sn237_123", Ap = "_viewImageModal__closeButton_sn237_128", Ee = {
|
|
4972
|
+
viewImageModal: Ep,
|
|
4973
|
+
viewImageModal__img: Sp,
|
|
4974
|
+
viewImageModal__img_loading: Ip,
|
|
4975
|
+
viewImageModal__img_error: Lp,
|
|
4976
|
+
viewImageModal__spinner: Rp,
|
|
4977
|
+
viewImageModal__layer: Fp,
|
|
4978
|
+
viewImageModal__closeButton: Ap
|
|
4979
|
+
}, Jp = (e) => {
|
|
4982
4980
|
const {
|
|
4983
4981
|
classNameRoot: t,
|
|
4984
4982
|
classNameImageRoot: o,
|
|
@@ -4989,22 +4987,22 @@ const $s = (e) => Ho(e), Hs = (e) => {
|
|
|
4989
4987
|
showLoader: s = !0,
|
|
4990
4988
|
onClose: p
|
|
4991
4989
|
} = e, [l, d] = ee(!0), [u, g] = ee(!1), [h, x] = ee(n), w = f({
|
|
4992
|
-
[Ee.
|
|
4990
|
+
[Ee.viewImageModal]: !0,
|
|
4993
4991
|
...t && { [t]: !0 }
|
|
4994
4992
|
}), R = f({
|
|
4995
|
-
[Ee.
|
|
4993
|
+
[Ee.viewImageModal__layer]: !0
|
|
4996
4994
|
}), A = f({
|
|
4997
|
-
[Ee.
|
|
4995
|
+
[Ee.viewImageModal__closeButton]: !0
|
|
4998
4996
|
}), U = f({
|
|
4999
|
-
[Ee.
|
|
5000
|
-
}), F = f(Ee.
|
|
5001
|
-
[Ee.
|
|
5002
|
-
[Ee.
|
|
4997
|
+
[Ee.viewImageModal__spinner]: !0
|
|
4998
|
+
}), F = f(Ee.viewImageModal__img, {
|
|
4999
|
+
[Ee.viewImageModal__img_loading]: l,
|
|
5000
|
+
[Ee.viewImageModal__img_error]: u,
|
|
5003
5001
|
...o && { [o]: !0 }
|
|
5004
5002
|
});
|
|
5005
|
-
return /* @__PURE__ */
|
|
5003
|
+
return /* @__PURE__ */ P(yo, { classNameRoot: R, children: [
|
|
5006
5004
|
s && l && /* @__PURE__ */ c(jt, { classNameRoot: U, size: "xl" }),
|
|
5007
|
-
/* @__PURE__ */
|
|
5005
|
+
/* @__PURE__ */ P("div", { className: w, children: [
|
|
5008
5006
|
/* @__PURE__ */ c(
|
|
5009
5007
|
"img",
|
|
5010
5008
|
{
|
|
@@ -5019,8 +5017,8 @@ const $s = (e) => Ho(e), Hs = (e) => {
|
|
|
5019
5017
|
}
|
|
5020
5018
|
}
|
|
5021
5019
|
),
|
|
5022
|
-
u && /* @__PURE__ */
|
|
5023
|
-
/* @__PURE__ */ c(ve, { name:
|
|
5020
|
+
u && /* @__PURE__ */ P("div", { className: Ee.viewImage__errorWrapper, children: [
|
|
5021
|
+
/* @__PURE__ */ c(ve, { name: M.InfoError, className: Ee.viewImage__errorIcon }),
|
|
5024
5022
|
/* @__PURE__ */ c(Te, { children: "Не удалось загрузить изображение" })
|
|
5025
5023
|
] })
|
|
5026
5024
|
] }),
|
|
@@ -5032,46 +5030,46 @@ const $s = (e) => Ho(e), Hs = (e) => {
|
|
|
5032
5030
|
variant: "link",
|
|
5033
5031
|
isOnlyIcon: !0,
|
|
5034
5032
|
color: "white",
|
|
5035
|
-
iconName:
|
|
5033
|
+
iconName: M.Close
|
|
5036
5034
|
}
|
|
5037
5035
|
)
|
|
5038
5036
|
] });
|
|
5039
5037
|
};
|
|
5040
5038
|
export {
|
|
5041
|
-
|
|
5039
|
+
zp as Accordion,
|
|
5042
5040
|
ra as ApplyButtons,
|
|
5043
|
-
|
|
5041
|
+
Pp as AuthProtected,
|
|
5044
5042
|
wo as BaseTooltip,
|
|
5045
5043
|
et as Button,
|
|
5046
|
-
|
|
5044
|
+
Op as Checkbox,
|
|
5047
5045
|
ya as Confirm,
|
|
5048
|
-
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5046
|
+
Wp as ContextMenu,
|
|
5047
|
+
Oa as DefaultDropzone,
|
|
5048
|
+
Up as Dropdown,
|
|
5049
|
+
M as EIconName,
|
|
5052
5050
|
pe as ETooltipPosition,
|
|
5053
5051
|
Ke as EllipsisTextWithTooltip,
|
|
5054
|
-
|
|
5052
|
+
qp as Form,
|
|
5055
5053
|
ve as Icon,
|
|
5056
5054
|
at as InfoTooltip,
|
|
5057
5055
|
gi as Input,
|
|
5058
5056
|
Dt as Label,
|
|
5059
5057
|
yo as Layer,
|
|
5060
5058
|
xi as MediaContext,
|
|
5061
|
-
|
|
5059
|
+
Hp as MediaContextProvider,
|
|
5062
5060
|
ba as Modal,
|
|
5063
5061
|
bo as Portal,
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5062
|
+
Vp as ProgressWrapper,
|
|
5063
|
+
Yp as Select,
|
|
5064
|
+
Gp as Skeleton,
|
|
5067
5065
|
jt as Spinner,
|
|
5068
|
-
|
|
5069
|
-
|
|
5066
|
+
Kp as Table,
|
|
5067
|
+
Xp as Tabs,
|
|
5070
5068
|
Te as Text,
|
|
5071
|
-
|
|
5069
|
+
Zp as TextWithLabel,
|
|
5072
5070
|
$e as Tooltip,
|
|
5073
|
-
|
|
5074
|
-
|
|
5071
|
+
Qp as UploadFiles,
|
|
5072
|
+
Jp as ViewImageModal,
|
|
5075
5073
|
rr as useAnimatedValue,
|
|
5076
|
-
|
|
5074
|
+
Bp as useModal
|
|
5077
5075
|
};
|