treege 0.18.0 → 0.19.0
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/CHANGELOG.md +2 -2
- package/dist/main.js +545 -537
- package/dist/main.umd.cjs +1 -1
- package/dist/src/constants/fields.d.ts +6 -0
- package/dist/src/features/Treege/components/FieldSelect/useFieldSelect.d.ts +6 -0
- package/dist/src/features/Treege/components/Forms/FormTreeCardMutation/useFormTreeCardMutation.d.ts +1 -1
- package/dist/src/locales/en/form-en.d.ts +1 -0
- package/dist/src/locales/fr/form-fr.d.ts +1 -0
- package/dist/src/utils/tree/appendNode/appendNode.d.ts +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as J from "react";
|
|
2
|
-
import Ms, { createContext as Hn, useMemo as jr, useReducer as xs, useState as
|
|
2
|
+
import Ms, { createContext as Hn, useMemo as jr, useReducer as xs, useState as ge, useCallback as W, useContext as ea, memo as js, forwardRef as Ts, Children as ki, useEffect as Un, useLayoutEffect as Li } from "react";
|
|
3
3
|
import { QueryClient as $i, useQuery as Ds, useMutation as Es, QueryClientProvider as Pi } from "@tanstack/react-query";
|
|
4
4
|
import Bt from "axios";
|
|
5
|
-
import { GlobalStyles as on, ThemeProvider as Yi, Snackbar as Ui, Alert as ta, Box as ce, Button as We, CircularProgress as Ns, Stack as ne, Tooltip as qe, Divider as Os, Dialog as ra, DialogTitle as Fi, DialogContent as Vi, DialogContentText as Qi, DialogActions as Bi, Slide as qi, AppBar as Wi, Toolbar as Gi, Typography as Tt, IconButton as
|
|
5
|
+
import { GlobalStyles as on, ThemeProvider as Yi, Snackbar as Ui, Alert as ta, Box as ce, Button as We, CircularProgress as Ns, Stack as ne, Tooltip as qe, Divider as Os, Dialog as ra, DialogTitle as Fi, DialogContent as Vi, DialogContentText as Qi, DialogActions as Bi, Slide as qi, AppBar as Wi, Toolbar as Gi, Typography as Tt, IconButton as gr, Grid as Sn, FormControl as na, InputLabel as aa, Select as oa, MenuItem as wt, Chip as qr, createFilterOptions as Ki, Autocomplete as Ji, TextField as Ae, Skeleton as Zi, InputAdornment as go, Accordion as Xi, AccordionSummary as Hi, FormGroup as el, FormControlLabel as cr, Checkbox as ur } from "@tracktor/design-system";
|
|
6
6
|
import tl from "react-d3-tree";
|
|
7
7
|
import { useTranslation as Fe, initReactI18next as rl } from "react-i18next";
|
|
8
8
|
import { json as nl } from "@codemirror/lang-json";
|
|
9
9
|
import { dracula as al } from "@uiw/codemirror-theme-dracula";
|
|
10
10
|
import ol from "@uiw/react-codemirror";
|
|
11
|
-
import
|
|
11
|
+
import hr from "i18next";
|
|
12
12
|
import sl from "i18next-browser-languagedetector";
|
|
13
13
|
function il(e) {
|
|
14
14
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -44,21 +44,21 @@ var Fn = { exports: {} }, dr = {};
|
|
|
44
44
|
* This source code is licensed under the MIT license found in the
|
|
45
45
|
* LICENSE file in the root directory of this source tree.
|
|
46
46
|
*/
|
|
47
|
-
var
|
|
47
|
+
var ho;
|
|
48
48
|
function cl() {
|
|
49
|
-
if (
|
|
49
|
+
if (ho)
|
|
50
50
|
return dr;
|
|
51
|
-
|
|
51
|
+
ho = 1;
|
|
52
52
|
var e = Ms, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
53
53
|
function s(l, u, f) {
|
|
54
|
-
var d,
|
|
54
|
+
var d, m = {}, p = null, v = null;
|
|
55
55
|
f !== void 0 && (p = "" + f), u.key !== void 0 && (p = "" + u.key), u.ref !== void 0 && (v = u.ref);
|
|
56
56
|
for (d in u)
|
|
57
|
-
r.call(u, d) && !o.hasOwnProperty(d) && (
|
|
57
|
+
r.call(u, d) && !o.hasOwnProperty(d) && (m[d] = u[d]);
|
|
58
58
|
if (l && l.defaultProps)
|
|
59
59
|
for (d in u = l.defaultProps, u)
|
|
60
|
-
|
|
61
|
-
return { $$typeof: t, type: l, key: p, ref: v, props:
|
|
60
|
+
m[d] === void 0 && (m[d] = u[d]);
|
|
61
|
+
return { $$typeof: t, type: l, key: p, ref: v, props: m, _owner: a.current };
|
|
62
62
|
}
|
|
63
63
|
return dr.Fragment = n, dr.jsx = s, dr.jsxs = s, dr;
|
|
64
64
|
}
|
|
@@ -75,11 +75,11 @@ var fr = {};
|
|
|
75
75
|
var yo;
|
|
76
76
|
function ul() {
|
|
77
77
|
return yo || (yo = 1, process.env.NODE_ENV !== "production" && function() {
|
|
78
|
-
var e = Ms, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), l = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"),
|
|
79
|
-
function
|
|
78
|
+
var e = Ms, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), l = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), y = Symbol.iterator, g = "@@iterator";
|
|
79
|
+
function h(c) {
|
|
80
80
|
if (c === null || typeof c != "object")
|
|
81
81
|
return null;
|
|
82
|
-
var j = y && c[y] || c[
|
|
82
|
+
var j = y && c[y] || c[g];
|
|
83
83
|
return typeof j == "function" ? j : null;
|
|
84
84
|
}
|
|
85
85
|
var M = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -103,7 +103,7 @@ function ul() {
|
|
|
103
103
|
var w = !1, b = !1, Q = !1, _ = !1, de = !1, De;
|
|
104
104
|
De = Symbol.for("react.module.reference");
|
|
105
105
|
function A(c) {
|
|
106
|
-
return !!(typeof c == "string" || typeof c == "function" || c === r || c === o || de || c === a || c === f || c === d || _ || c === v || w || b || Q || typeof c == "object" && c !== null && (c.$$typeof === p || c.$$typeof ===
|
|
106
|
+
return !!(typeof c == "string" || typeof c == "function" || c === r || c === o || de || c === a || c === f || c === d || _ || c === v || w || b || Q || typeof c == "object" && c !== null && (c.$$typeof === p || c.$$typeof === m || c.$$typeof === s || c.$$typeof === l || c.$$typeof === u || // This needs to include all possible module reference object
|
|
107
107
|
// types supported by any Flight configuration anywhere since
|
|
108
108
|
// we don't know which Flight build this will end up being used
|
|
109
109
|
// with.
|
|
@@ -150,7 +150,7 @@ function ul() {
|
|
|
150
150
|
return pe(N._context) + ".Provider";
|
|
151
151
|
case u:
|
|
152
152
|
return fe(c, c.render, "ForwardRef");
|
|
153
|
-
case
|
|
153
|
+
case m:
|
|
154
154
|
var k = c.displayName || null;
|
|
155
155
|
return k !== null ? k : ye(c.type) || "Memo";
|
|
156
156
|
case p: {
|
|
@@ -313,7 +313,7 @@ function ul() {
|
|
|
313
313
|
} finally {
|
|
314
314
|
B = !1, R.current = ae, V(), Error.prepareStackTrace = X;
|
|
315
315
|
}
|
|
316
|
-
var
|
|
316
|
+
var mt = c ? c.displayName || c.name : "", rr = mt ? F(mt) : "";
|
|
317
317
|
return typeof c == "function" && U.set(c, rr), rr;
|
|
318
318
|
}
|
|
319
319
|
function Se(c, j, N) {
|
|
@@ -340,7 +340,7 @@ function ul() {
|
|
|
340
340
|
switch (c.$$typeof) {
|
|
341
341
|
case u:
|
|
342
342
|
return Se(c.render);
|
|
343
|
-
case
|
|
343
|
+
case m:
|
|
344
344
|
return Re(c.type, j, N);
|
|
345
345
|
case p: {
|
|
346
346
|
var k = c, X = k._payload, ae = k._init;
|
|
@@ -575,7 +575,7 @@ Check the top-level render call using <` + N + ">.");
|
|
|
575
575
|
else if (er(c))
|
|
576
576
|
c._store && (c._store.validated = !0);
|
|
577
577
|
else if (c) {
|
|
578
|
-
var X =
|
|
578
|
+
var X = h(c);
|
|
579
579
|
if (typeof X == "function" && X !== c.entries)
|
|
580
580
|
for (var ae = X.call(c), G; !(G = ae.next()).done; )
|
|
581
581
|
er(G.value) && Sr(G.value, j);
|
|
@@ -592,7 +592,7 @@ Check the top-level render call using <` + N + ">.");
|
|
|
592
592
|
N = j.propTypes;
|
|
593
593
|
else if (typeof j == "object" && (j.$$typeof === u || // Note: Memo only checks outer props here.
|
|
594
594
|
// Inner props are checked in the reconciler.
|
|
595
|
-
j.$$typeof ===
|
|
595
|
+
j.$$typeof === m))
|
|
596
596
|
N = j.propTypes;
|
|
597
597
|
else
|
|
598
598
|
return;
|
|
@@ -638,8 +638,8 @@ Check the top-level render call using <` + N + ">.");
|
|
|
638
638
|
if (Qe !== void 0)
|
|
639
639
|
if (k)
|
|
640
640
|
if (Nt(Qe)) {
|
|
641
|
-
for (var
|
|
642
|
-
wr(Qe[
|
|
641
|
+
for (var mt = 0; mt < Qe.length; mt++)
|
|
642
|
+
wr(Qe[mt], c);
|
|
643
643
|
Object.freeze && Object.freeze(Qe);
|
|
644
644
|
} else
|
|
645
645
|
D("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
@@ -661,7 +661,7 @@ Check the top-level render call using <` + N + ">.");
|
|
|
661
661
|
}
|
|
662
662
|
process.env.NODE_ENV === "production" ? Fn.exports = cl() : Fn.exports = ul();
|
|
663
663
|
var i = Fn.exports;
|
|
664
|
-
const
|
|
664
|
+
const he = {
|
|
665
665
|
background: "#0a1929",
|
|
666
666
|
borderBlue: "#0f353e",
|
|
667
667
|
borderGrey: "rgba(255, 255, 255, 0.1)",
|
|
@@ -674,22 +674,22 @@ const ge = {
|
|
|
674
674
|
MuiButton: {
|
|
675
675
|
styleOverrides: {
|
|
676
676
|
root: ({ ownerState: e }) => ({
|
|
677
|
-
...e.color === "primary" && e.variant === "contained" && { color: `${
|
|
677
|
+
...e.color === "primary" && e.variant === "contained" && { color: `${he.tertiary} !important` }
|
|
678
678
|
})
|
|
679
679
|
}
|
|
680
680
|
}
|
|
681
681
|
},
|
|
682
682
|
palette: {
|
|
683
683
|
background: {
|
|
684
|
-
default:
|
|
685
|
-
paper:
|
|
684
|
+
default: he.background,
|
|
685
|
+
paper: he.background
|
|
686
686
|
},
|
|
687
687
|
mode: "dark",
|
|
688
688
|
primary: {
|
|
689
|
-
main:
|
|
689
|
+
main: he.primary
|
|
690
690
|
},
|
|
691
691
|
secondary: {
|
|
692
|
-
main:
|
|
692
|
+
main: he.secondary
|
|
693
693
|
}
|
|
694
694
|
}
|
|
695
695
|
}, fl = ({ children: e }) => /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
@@ -734,16 +734,16 @@ const ge = {
|
|
|
734
734
|
retry: !1
|
|
735
735
|
}
|
|
736
736
|
}
|
|
737
|
-
}),
|
|
737
|
+
}), ml = {
|
|
738
738
|
authToken: void 0
|
|
739
|
-
},
|
|
739
|
+
}, gl = Hn(ml), hl = ({ children: e, authToken: t }) => {
|
|
740
740
|
const n = jr(
|
|
741
741
|
() => ({
|
|
742
742
|
authToken: t
|
|
743
743
|
}),
|
|
744
744
|
[t]
|
|
745
745
|
);
|
|
746
|
-
return /* @__PURE__ */ i.jsx(
|
|
746
|
+
return /* @__PURE__ */ i.jsx(gl.Provider, { value: n, children: e });
|
|
747
747
|
}, Is = {
|
|
748
748
|
dispatchSnackbar: () => null,
|
|
749
749
|
snackbar: { open: !1 }
|
|
@@ -791,7 +791,7 @@ const ge = {
|
|
|
791
791
|
e
|
|
792
792
|
] });
|
|
793
793
|
}, xl = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDYyIiBoZWlnaHQ9IjE0NCIgdmlld0JveD0iMCAwIDQ2MiAxNDQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMF8yXzY1KSI+CjxwYXRoIGQ9Ik0xMzcgNDEuMzRMMTE2LjU3IDZDMTE2LjIyIDUuMzkzOTkgMTE1LjcxNyA0Ljg5MDM3IDExNS4xMTIgNC41Mzk0MkMxMTQuNTA3IDQuMTg4NDcgMTEzLjgyIDQuMDAyNDcgMTEzLjEyIDRIMzguODNDMzguMTMwMiA0LjAwMjQ3IDM3LjQ0MzQgNC4xODg0NyAzNi44MzggNC41Mzk0MkMzNi4yMzI2IDQuODkwMzcgMzUuNzI5OSA1LjM5Mzk5IDM1LjM4IDZMMTUgNDEuMzRDMTQuNjQ5NSA0MS45NDcgMTQuNDY0NyA0Mi42MzU1IDE0LjQ2NDEgNDMuMzM2NUMxNC40NjM1IDQ0LjAzNzQgMTQuNjQ3MSA0NC43MjYyIDE0Ljk5NjUgNDUuMzMzOUMxNS4zNDU5IDQ1Ljk0MTYgMTUuODQ4OCA0Ni40NDY3IDE2LjQ1NDkgNDYuNzk4OEMxNy4wNjEgNDcuMTUwOSAxNy43NDkgNDcuMzM3NSAxOC40NSA0Ny4zNEgxMzMuNTNDMTM0LjIzMyA0Ny4zNDEgMTM0LjkyMyA0Ny4xNTcgMTM1LjUzMiA0Ni44MDYzQzEzNi4xNDEgNDYuNDU1NyAxMzYuNjQ3IDQ1Ljk1MDggMTM2Ljk5OSA0NS4zNDI2QzEzNy4zNSA0NC43MzQzIDEzNy41MzYgNDQuMDQ0MSAxMzcuNTM2IDQzLjM0MTVDMTM3LjUzNiA0Mi42Mzg4IDEzNy4zNTEgNDEuOTQ4NSAxMzcgNDEuMzRaIiBmaWxsPSIjMTFEM0I0Ii8+CjxwYXRoIGQ9Ik05Mi40OCAxNDAuNjRIMTEzLjFDMTEzLjgwNSAxNDAuNjQzIDExNC40OTggMTQwLjQ1OSAxMTUuMTA5IDE0MC4xMDhDMTE1LjcyIDEzOS43NTcgMTE2LjIyOCAxMzkuMjUgMTE2LjU4IDEzOC42NEwxNTEuMzkgNzguMzRDMTUxLjc0MSA3Ny43MzE1IDE1MS45MjYgNzcuMDQxMiAxNTEuOTI2IDc2LjMzODVDMTUxLjkyNiA3NS42MzU5IDE1MS43NCA3NC45NDU3IDE1MS4zODkgNzQuMzM3NEMxNTEuMDM3IDczLjcyOTIgMTUwLjUzMSA3My4yMjQzIDE0OS45MjIgNzIuODczN0MxNDkuMzEzIDcyLjUyMyAxNDguNjIzIDcyLjMzOSAxNDcuOTIgNzIuMzRIOTIuNDhDOTEuNDE5MSA3Mi4zNCA5MC40MDE3IDcyLjc2MTQgODkuNjUxNiA3My41MTE2Qzg4LjkwMTQgNzQuMjYxNyA4OC40OCA3NS4yNzkxIDg4LjQ4IDc2LjM0VjEzNi42NEM4OC40OCAxMzcuNzAxIDg4LjkwMTQgMTM4LjcxOCA4OS42NTE2IDEzOS40NjhDOTAuNDAxNyAxNDAuMjE5IDkxLjQxOTEgMTQwLjY0IDkyLjQ4IDE0MC42NFoiIGZpbGw9IiMwMDdFRjYiLz4KPHBhdGggZD0iTTU5LjQ4IDcyLjMySDRDMy4yOTgyIDcyLjMyMDcgMi42MDg5NCA3Mi41MDYxIDIuMDAxNDMgNzIuODU3NEMxLjM5MzkzIDczLjIwODggMC44ODk1NTggNzMuNzEzOCAwLjUzODk3IDc0LjMyMThDMC4xODgzODIgNzQuOTI5NyAwLjAwMzkxNjk0IDc1LjYxOTIgMC4wMDQwOTcxMiA3Ni4zMjFDMC4wMDQyNzcyOSA3Ny4wMjI4IDAuMTg5MDk3IDc3LjcxMjIgMC41Mzk5OTcgNzguMzJMMzUuMzggMTM4LjY2QzM1LjcyOTkgMTM5LjI2NiAzNi4yMzI2IDEzOS43NyAzNi44MzggMTQwLjEyMUMzNy40NDM0IDE0MC40NzIgMzguMTMwMiAxNDAuNjU4IDM4LjgzIDE0MC42Nkg1OS40OEM2MC41NDA5IDE0MC42NiA2MS41NTgzIDE0MC4yMzkgNjIuMzA4NCAxMzkuNDg4QzYzLjA1ODYgMTM4LjczOCA2My40OCAxMzcuNzIxIDYzLjQ4IDEzNi42NlY3Ni4zMUM2My40NzczIDc1LjI1MDkgNjMuMDU0OCA3NC4yMzYgNjIuMzA0OSA3My40ODhDNjEuNTU1IDcyLjc0MDEgNjAuNTM5MSA3Mi4zMiA1OS40OCA3Mi4zMloiIGZpbGw9IiMwMTY0QTgiLz4KPC9nPgo8cGF0aCBkPSJNMjA3LjUyIDEwNi45NkMyMDIuMjcyIDEwNi45NiAxOTguMzY4IDEwNS41ODQgMTk1LjgwOCAxMDIuODMyQzE5My4zMTIgMTAwLjA4IDE5Mi4wNjQgOTYuMzM2IDE5Mi4wNjQgOTEuNlY3MC40OEgxODUuNjMyVjYwLjQ5NkgxOTIuMDY0VjUwLjcwNEwyMDUuMDI0IDQ2Ljg2NFY2MC40OTZIMjE2LjU0NEwyMTUuNzc2IDcwLjQ4SDIwNS4wMjRWOTAuNzM2QzIwNS4wMjQgOTMuMjMyIDIwNS42IDk0Ljk2IDIwNi43NTIgOTUuOTJDMjA3LjkwNCA5Ni44MTYgMjA5LjY5NiA5Ny4yNjQgMjEyLjEyOCA5Ny4yNjRDMjEzLjkyIDk3LjI2NCAyMTUuNzc2IDk2Ljk0NCAyMTcuNjk2IDk2LjMwNFYxMDUuMjMyQzIxNi4yODggMTA1LjgwOCAyMTQuNzUyIDEwNi4yMjQgMjEzLjA4OCAxMDYuNDhDMjExLjQyNCAxMDYuOCAyMDkuNTY4IDEwNi45NiAyMDcuNTIgMTA2Ljk2Wk0yMjQuMzQ3IDEwNlY2MC40OTZIMjM2LjM0N0wyMzYuOTIzIDY1LjJDMjM4Ljk3MSA2My45MiAyNDEuNDk5IDYyLjc2OCAyNDQuNTA3IDYxLjc0NEMyNDcuNTc5IDYwLjY1NiAyNTAuNTg3IDU5LjkyIDI1My41MzEgNTkuNTM2VjY5LjMyOEMyNTEuODAzIDY5LjU4NCAyNDkuOTE1IDY5Ljk2OCAyNDcuODY3IDcwLjQ4QzI0NS44MTkgNzAuOTkyIDI0My44NjcgNzEuNTY4IDI0Mi4wMTEgNzIuMjA4QzI0MC4xNTUgNzIuODQ4IDIzOC41ODcgNzMuNTIgMjM3LjMwNyA3NC4yMjRWMTA2SDIyNC4zNDdaTTI4MS45OTcgMTA2Ljk2QzI3NC4xMjUgMTA2Ljk2IDI2Ny44ODUgMTA1LjAwOCAyNjMuMjc3IDEwMS4xMDRDMjU4LjY2OSA5Ny4xMzYgMjU2LjM2NSA5MS4xNTIgMjU2LjM2NSA4My4xNTJDMjU2LjM2NSA3NS45MiAyNTguMjg1IDcwLjE5MiAyNjIuMTI1IDY1Ljk2OEMyNjYuMDI5IDYxLjY4IDI3MS44MjEgNTkuNTM2IDI3OS41MDEgNTkuNTM2QzI4Ni41NDEgNTkuNTM2IDI5MS45MTcgNjEuMzkyIDI5NS42MjkgNjUuMTA0QzI5OS40MDUgNjguNzUyIDMwMS4yOTIgNzMuNTUyIDMwMS4yOTIgNzkuNTA0Vjg3Ljc2SDI2OC4zNjVDMjY5LjA2OSA5MS40MDggMjcwLjczMyA5My45MDQgMjczLjM1NyA5NS4yNDhDMjc2LjA0NSA5Ni41OTIgMjc5LjgyMSA5Ny4yNjQgMjg0LjY4NSA5Ny4yNjRDMjg3LjExNyA5Ny4yNjQgMjg5LjU4MSA5Ny4wNCAyOTIuMDc3IDk2LjU5MkMyOTQuNjM3IDk2LjE0NCAyOTYuODEzIDk1LjU2OCAyOTguNjA1IDk0Ljg2NFYxMDQuMDhDMjk2LjQ5MyAxMDUuMDQgMjk0LjAyOSAxMDUuNzQ0IDI5MS4yMTMgMTA2LjE5MkMyODguMzk3IDEwNi43MDQgMjg1LjMyNSAxMDYuOTYgMjgxLjk5NyAxMDYuOTZaTTI2OC4zNjUgNzkuNzkySDI4OS45NjVWNzcuMjk2QzI4OS45NjUgNzQuNjcyIDI4OS4xOTcgNzIuNjI0IDI4Ny42NjEgNzEuMTUyQzI4Ni4xMjUgNjkuNjE2IDI4My41MzMgNjguODQ4IDI3OS44ODUgNjguODQ4QzI3NS41OTcgNjguODQ4IDI3Mi41ODkgNjkuNzEyIDI3MC44NjEgNzEuNDRDMjY5LjE5NyA3My4xNjggMjY4LjM2NSA3NS45NTIgMjY4LjM2NSA3OS43OTJaTTMzNC4wMjggMTA2Ljk2QzMyNi4xNTYgMTA2Ljk2IDMxOS45MTYgMTA1LjAwOCAzMTUuMzA4IDEwMS4xMDRDMzEwLjcgOTcuMTM2IDMwOC4zOTYgOTEuMTUyIDMwOC4zOTYgODMuMTUyQzMwOC4zOTYgNzUuOTIgMzEwLjMxNiA3MC4xOTIgMzE0LjE1NiA2NS45NjhDMzE4LjA2IDYxLjY4IDMyMy44NTIgNTkuNTM2IDMzMS41MzIgNTkuNTM2QzMzOC41NzIgNTkuNTM2IDM0My45NDggNjEuMzkyIDM0Ny42NiA2NS4xMDRDMzUxLjQzNiA2OC43NTIgMzUzLjMyNCA3My41NTIgMzUzLjMyNCA3OS41MDRWODcuNzZIMzIwLjM5NkMzMjEuMSA5MS40MDggMzIyLjc2NCA5My45MDQgMzI1LjM4OCA5NS4yNDhDMzI4LjA3NiA5Ni41OTIgMzMxLjg1MiA5Ny4yNjQgMzM2LjcxNiA5Ny4yNjRDMzM5LjE0OCA5Ny4yNjQgMzQxLjYxMiA5Ny4wNCAzNDQuMTA4IDk2LjU5MkMzNDYuNjY4IDk2LjE0NCAzNDguODQ0IDk1LjU2OCAzNTAuNjM2IDk0Ljg2NFYxMDQuMDhDMzQ4LjUyNCAxMDUuMDQgMzQ2LjA2IDEwNS43NDQgMzQzLjI0NCAxMDYuMTkyQzM0MC40MjggMTA2LjcwNCAzMzcuMzU2IDEwNi45NiAzMzQuMDI4IDEwNi45NlpNMzIwLjM5NiA3OS43OTJIMzQxLjk5NlY3Ny4yOTZDMzQxLjk5NiA3NC42NzIgMzQxLjIyOCA3Mi42MjQgMzM5LjY5MiA3MS4xNTJDMzM4LjE1NiA2OS42MTYgMzM1LjU2NCA2OC44NDggMzMxLjkxNiA2OC44NDhDMzI3LjYyOCA2OC44NDggMzI0LjYyIDY5LjcxMiAzMjIuODkyIDcxLjQ0QzMyMS4yMjggNzMuMTY4IDMyMC4zOTYgNzUuOTUyIDMyMC4zOTYgNzkuNzkyWk0zODEuNTQ3IDEyMi44OTZDMzc4LjE1NSAxMjIuODk2IDM3NC42NjcgMTIyLjY3MiAzNzEuMDgzIDEyMi4yMjRDMzY3LjU2MyAxMjEuNzc2IDM2NC41ODcgMTIxLjEzNiAzNjIuMTU1IDEyMC4zMDRWMTEwLjYwOEMzNjQuNzE1IDExMS40NCAzNjcuNzIzIDExMi4wOCAzNzEuMTc5IDExMi41MjhDMzc0LjYzNSAxMTMuMDQgMzc3Ljg2NyAxMTMuMjk2IDM4MC44NzUgMTEzLjI5NkMzODUuMjkxIDExMy4yOTYgMzg4LjQ5MSAxMTMuMDQgMzkwLjQ3NSAxMTIuNTI4QzM5Mi40NTkgMTEyLjA4IDM5My40NTEgMTExLjI0OCAzOTMuNDUxIDExMC4wMzJDMzkzLjQ1MSAxMDkuMDA4IDM5My4wMDMgMTA4LjMwNCAzOTIuMTA3IDEwNy45MkMzOTEuMjc1IDEwNy41MzYgMzg5LjQ4MyAxMDcuMzQ0IDM4Ni43MzEgMTA3LjM0NEgzNzQuMzQ3QzM2Ni4yMTkgMTA3LjM0NCAzNjIuMTU1IDEwNC4zMzYgMzYyLjE1NSA5OC4zMkMzNjIuMTU1IDk2LjQ2NCAzNjIuNjY3IDk0Ljc2OCAzNjMuNjkxIDkzLjIzMkMzNjQuNzE1IDkxLjY5NiAzNjYuMzQ3IDkwLjQ4IDM2OC41ODcgODkuNTg0QzM2My40MDMgODYuOTYgMzYwLjgxMSA4Mi41NDQgMzYwLjgxMSA3Ni4zMzZDMzYwLjgxMSA3MC40NDggMzYyLjYzNSA2Ni4xOTIgMzY2LjI4MyA2My41NjhDMzY5LjkzMSA2MC44OCAzNzUuMzM5IDU5LjUzNiAzODIuNTA3IDU5LjUzNkMzODMuOTc5IDU5LjUzNiAzODUuNTc5IDU5LjY2NCAzODcuMzA3IDU5LjkyQzM4OS4wOTkgNjAuMTEyIDM5MC40NDMgNjAuMzA0IDM5MS4zMzkgNjAuNDk2SDQwOC40MjdMNDA4LjEzOSA2OC42NTZINDAwLjkzOUM0MDIuOTIzIDcwLjUxMiA0MDMuOTE1IDczLjEwNCA0MDMuOTE1IDc2LjQzMkM0MDMuOTE1IDgxLjEwNCA0MDIuNDQzIDg0Ljg0OCAzOTkuNDk5IDg3LjY2NEMzOTYuNTU1IDkwLjQxNiAzOTIuMjAzIDkxLjc5MiAzODYuNDQzIDkxLjc5MkMzODUuNDE5IDkxLjc5MiAzODQuNDI3IDkxLjc2IDM4My40NjcgOTEuNjk2QzM4Mi41NzEgOTEuNTY4IDM4MS42NDMgOTEuNDQgMzgwLjY4MyA5MS4zMTJDMzc4Ljc2MyA5MS41NjggMzc3LjEzMSA5Mi4wMTYgMzc1Ljc4NyA5Mi42NTZDMzc0LjUwNyA5My4yOTYgMzczLjg2NyA5NC4xNiAzNzMuODY3IDk1LjI0OEMzNzMuODY3IDk2LjcyIDM3NS4xNzkgOTcuNDU2IDM3Ny44MDMgOTcuNDU2SDM5MC42NjdDMzk1LjI3NSA5Ny40NTYgMzk4LjgyNyA5OC41MTIgNDAxLjMyMyAxMDAuNjI0QzQwMy44MTkgMTAyLjY3MiA0MDUuMDY3IDEwNS42OCA0MDUuMDY3IDEwOS42NDhDNDA1LjA2NyAxMTQuMTI4IDQwMy4wNTEgMTE3LjQ1NiAzOTkuMDE5IDExOS42MzJDMzk0Ljk4NyAxMjEuODA4IDM4OS4xNjMgMTIyLjg5NiAzODEuNTQ3IDEyMi44OTZaTTM4Mi42MDMgODQuNDk2QzM4Ni40NDMgODQuNDk2IDM4OS4wOTkgODMuODU2IDM5MC41NzEgODIuNTc2QzM5Mi4xMDcgODEuMjMyIDM5Mi44NzUgNzguOTkyIDM5Mi44NzUgNzUuODU2QzM5Mi44NzUgNzIuNzIgMzkyLjEwNyA3MC40NDggMzkwLjU3MSA2OS4wNEMzODkuMDk5IDY3LjYzMiAzODYuNDQzIDY2LjkyOCAzODIuNjAzIDY2LjkyOEMzNzguOTU1IDY2LjkyOCAzNzYuMzMxIDY3LjYzMiAzNzQuNzMxIDY5LjA0QzM3My4xMzEgNzAuMzg0IDM3Mi4zMzEgNzIuNjU2IDM3Mi4zMzEgNzUuODU2QzM3Mi4zMzEgNzguOCAzNzMuMDY3IDgwLjk3NiAzNzQuNTM5IDgyLjM4NEMzNzYuMDc1IDgzLjc5MiAzNzguNzYzIDg0LjQ5NiAzODIuNjAzIDg0LjQ5NlpNNDM5LjAyOCAxMDYuOTZDNDMxLjE1NiAxMDYuOTYgNDI0LjkxNiAxMDUuMDA4IDQyMC4zMDggMTAxLjEwNEM0MTUuNyA5Ny4xMzYgNDEzLjM5NiA5MS4xNTIgNDEzLjM5NiA4My4xNTJDNDEzLjM5NiA3NS45MiA0MTUuMzE2IDcwLjE5MiA0MTkuMTU2IDY1Ljk2OEM0MjMuMDYgNjEuNjggNDI4Ljg1MiA1OS41MzYgNDM2LjUzMiA1OS41MzZDNDQzLjU3MiA1OS41MzYgNDQ4Ljk0OCA2MS4zOTIgNDUyLjY2IDY1LjEwNEM0NTYuNDM2IDY4Ljc1MiA0NTguMzI0IDczLjU1MiA0NTguMzI0IDc5LjUwNFY4Ny43Nkg0MjUuMzk2QzQyNi4xIDkxLjQwOCA0MjcuNzY0IDkzLjkwNCA0MzAuMzg4IDk1LjI0OEM0MzMuMDc2IDk2LjU5MiA0MzYuODUyIDk3LjI2NCA0NDEuNzE2IDk3LjI2NEM0NDQuMTQ4IDk3LjI2NCA0NDYuNjEyIDk3LjA0IDQ0OS4xMDggOTYuNTkyQzQ1MS42NjggOTYuMTQ0IDQ1My44NDQgOTUuNTY4IDQ1NS42MzYgOTQuODY0VjEwNC4wOEM0NTMuNTI0IDEwNS4wNCA0NTEuMDYgMTA1Ljc0NCA0NDguMjQ0IDEwNi4xOTJDNDQ1LjQyOCAxMDYuNzA0IDQ0Mi4zNTYgMTA2Ljk2IDQzOS4wMjggMTA2Ljk2Wk00MjUuMzk2IDc5Ljc5Mkg0NDYuOTk2Vjc3LjI5NkM0NDYuOTk2IDc0LjY3MiA0NDYuMjI4IDcyLjYyNCA0NDQuNjkyIDcxLjE1MkM0NDMuMTU2IDY5LjYxNiA0NDAuNTY0IDY4Ljg0OCA0MzYuOTE2IDY4Ljg0OEM0MzIuNjI4IDY4Ljg0OCA0MjkuNjIgNjkuNzEyIDQyNy44OTIgNzEuNDRDNDI2LjIyOCA3My4xNjggNDI1LjM5NiA3NS45NTIgNDI1LjM5NiA3OS43OTJaIiBmaWxsPSJ3aGl0ZSIvPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF8yXzY1Ij4KPHJlY3Qgd2lkdGg9IjE1MS45MyIgaGVpZ2h0PSIxMzYuNjQiIGZpbGw9IndoaXRlIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIDQpIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==", jl = () => /* @__PURE__ */ i.jsx("img", { src: xl, alt: "Treege", height: 30, width: "auto" }), Tl = () => {
|
|
794
|
-
const [e, t] =
|
|
794
|
+
const [e, t] = ge({ x: 0, y: 0 }), [n, r] = ge({ height: 0, width: 0 }), a = W((o) => {
|
|
795
795
|
if (!o)
|
|
796
796
|
return null;
|
|
797
797
|
const { width: s, height: l } = o.getBoundingClientRect();
|
|
@@ -871,7 +871,7 @@ const ge = {
|
|
|
871
871
|
justifyContent: "center"
|
|
872
872
|
},
|
|
873
873
|
treeLink: {
|
|
874
|
-
stroke: `${
|
|
874
|
+
stroke: `${he.borderGrey} !important`
|
|
875
875
|
}
|
|
876
876
|
}, vo = "tree-link", Ol = ({
|
|
877
877
|
data: e,
|
|
@@ -981,7 +981,7 @@ function wl() {
|
|
|
981
981
|
if (xo)
|
|
982
982
|
return oe;
|
|
983
983
|
xo = 1;
|
|
984
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112,
|
|
984
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, h = e ? Symbol.for("react.fundamental") : 60117, M = e ? Symbol.for("react.responder") : 60118, D = e ? Symbol.for("react.scope") : 60119;
|
|
985
985
|
function S(b) {
|
|
986
986
|
if (typeof b == "object" && b !== null) {
|
|
987
987
|
var Q = b.$$typeof;
|
|
@@ -993,7 +993,7 @@ function wl() {
|
|
|
993
993
|
case r:
|
|
994
994
|
case o:
|
|
995
995
|
case a:
|
|
996
|
-
case
|
|
996
|
+
case m:
|
|
997
997
|
return b;
|
|
998
998
|
default:
|
|
999
999
|
switch (b = b && b.$$typeof, b) {
|
|
@@ -1015,7 +1015,7 @@ function wl() {
|
|
|
1015
1015
|
function w(b) {
|
|
1016
1016
|
return S(b) === f;
|
|
1017
1017
|
}
|
|
1018
|
-
return oe.AsyncMode = u, oe.ConcurrentMode = f, oe.ContextConsumer = l, oe.ContextProvider = s, oe.Element = t, oe.ForwardRef = d, oe.Fragment = r, oe.Lazy = y, oe.Memo = v, oe.Portal = n, oe.Profiler = o, oe.StrictMode = a, oe.Suspense =
|
|
1018
|
+
return oe.AsyncMode = u, oe.ConcurrentMode = f, oe.ContextConsumer = l, oe.ContextProvider = s, oe.Element = t, oe.ForwardRef = d, oe.Fragment = r, oe.Lazy = y, oe.Memo = v, oe.Portal = n, oe.Profiler = o, oe.StrictMode = a, oe.Suspense = m, oe.isAsyncMode = function(b) {
|
|
1019
1019
|
return w(b) || S(b) === u;
|
|
1020
1020
|
}, oe.isConcurrentMode = w, oe.isContextConsumer = function(b) {
|
|
1021
1021
|
return S(b) === l;
|
|
@@ -1038,9 +1038,9 @@ function wl() {
|
|
|
1038
1038
|
}, oe.isStrictMode = function(b) {
|
|
1039
1039
|
return S(b) === a;
|
|
1040
1040
|
}, oe.isSuspense = function(b) {
|
|
1041
|
-
return S(b) ===
|
|
1041
|
+
return S(b) === m;
|
|
1042
1042
|
}, oe.isValidElementType = function(b) {
|
|
1043
|
-
return typeof b == "string" || typeof b == "function" || b === r || b === f || b === o || b === a || b ===
|
|
1043
|
+
return typeof b == "string" || typeof b == "function" || b === r || b === f || b === o || b === a || b === m || b === p || typeof b == "object" && b !== null && (b.$$typeof === y || b.$$typeof === v || b.$$typeof === s || b.$$typeof === l || b.$$typeof === d || b.$$typeof === h || b.$$typeof === M || b.$$typeof === D || b.$$typeof === g);
|
|
1044
1044
|
}, oe.typeOf = S, oe;
|
|
1045
1045
|
}
|
|
1046
1046
|
var se = {};
|
|
@@ -1055,10 +1055,10 @@ var se = {};
|
|
|
1055
1055
|
var jo;
|
|
1056
1056
|
function Cl() {
|
|
1057
1057
|
return jo || (jo = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1058
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112,
|
|
1058
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, h = e ? Symbol.for("react.fundamental") : 60117, M = e ? Symbol.for("react.responder") : 60118, D = e ? Symbol.for("react.scope") : 60119;
|
|
1059
1059
|
function S(E) {
|
|
1060
1060
|
return typeof E == "string" || typeof E == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1061
|
-
E === r || E === f || E === o || E === a || E ===
|
|
1061
|
+
E === r || E === f || E === o || E === a || E === m || E === p || typeof E == "object" && E !== null && (E.$$typeof === y || E.$$typeof === v || E.$$typeof === s || E.$$typeof === l || E.$$typeof === d || E.$$typeof === h || E.$$typeof === M || E.$$typeof === D || E.$$typeof === g);
|
|
1062
1062
|
}
|
|
1063
1063
|
function w(E) {
|
|
1064
1064
|
if (typeof E == "object" && E !== null) {
|
|
@@ -1072,7 +1072,7 @@ function Cl() {
|
|
|
1072
1072
|
case r:
|
|
1073
1073
|
case o:
|
|
1074
1074
|
case a:
|
|
1075
|
-
case
|
|
1075
|
+
case m:
|
|
1076
1076
|
return I;
|
|
1077
1077
|
default:
|
|
1078
1078
|
var Re = I && I.$$typeof;
|
|
@@ -1092,7 +1092,7 @@ function Cl() {
|
|
|
1092
1092
|
}
|
|
1093
1093
|
}
|
|
1094
1094
|
}
|
|
1095
|
-
var b = u, Q = f, _ = l, de = s, De = t, A = d, fe = r, pe = y, ye = v, ee = n, H = o, ve = a, $e =
|
|
1095
|
+
var b = u, Q = f, _ = l, de = s, De = t, A = d, fe = r, pe = y, ye = v, ee = n, H = o, ve = a, $e = m, Pe = !1;
|
|
1096
1096
|
function Be(E) {
|
|
1097
1097
|
return Pe || (Pe = !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.")), T(E) || w(E) === u;
|
|
1098
1098
|
}
|
|
@@ -1130,7 +1130,7 @@ function Cl() {
|
|
|
1130
1130
|
return w(E) === a;
|
|
1131
1131
|
}
|
|
1132
1132
|
function be(E) {
|
|
1133
|
-
return w(E) ===
|
|
1133
|
+
return w(E) === m;
|
|
1134
1134
|
}
|
|
1135
1135
|
se.AsyncMode = b, se.ConcurrentMode = Q, se.ContextConsumer = _, se.ContextProvider = de, se.Element = De, se.ForwardRef = A, se.Fragment = fe, se.Lazy = pe, se.Memo = ye, se.Portal = ee, se.Profiler = H, se.StrictMode = ve, se.Suspense = $e, se.isAsyncMode = Be, se.isConcurrentMode = T, se.isContextConsumer = O, se.isContextProvider = Y, se.isElement = $, se.isForwardRef = z, se.isFragment = V, se.isLazy = R, se.isMemo = P, se.isPortal = F, se.isProfiler = B, se.isStrictMode = U, se.isSuspense = be, se.isValidElementType = S, se.typeOf = w;
|
|
1136
1136
|
}()), se;
|
|
@@ -1180,8 +1180,8 @@ function Al() {
|
|
|
1180
1180
|
return An = a() ? Object.assign : function(o, s) {
|
|
1181
1181
|
for (var l, u = r(o), f, d = 1; d < arguments.length; d++) {
|
|
1182
1182
|
l = Object(arguments[d]);
|
|
1183
|
-
for (var
|
|
1184
|
-
t.call(l,
|
|
1183
|
+
for (var m in l)
|
|
1184
|
+
t.call(l, m) && (u[m] = l[m]);
|
|
1185
1185
|
if (e) {
|
|
1186
1186
|
f = e(l);
|
|
1187
1187
|
for (var p = 0; p < f.length; p++)
|
|
@@ -1225,7 +1225,7 @@ function _l() {
|
|
|
1225
1225
|
if (process.env.NODE_ENV !== "production") {
|
|
1226
1226
|
for (var d in o)
|
|
1227
1227
|
if (r(o, d)) {
|
|
1228
|
-
var
|
|
1228
|
+
var m;
|
|
1229
1229
|
try {
|
|
1230
1230
|
if (typeof o[d] != "function") {
|
|
1231
1231
|
var p = Error(
|
|
@@ -1233,17 +1233,17 @@ function _l() {
|
|
|
1233
1233
|
);
|
|
1234
1234
|
throw p.name = "Invariant Violation", p;
|
|
1235
1235
|
}
|
|
1236
|
-
|
|
1236
|
+
m = o[d](s, d, u, l, null, t);
|
|
1237
1237
|
} catch (y) {
|
|
1238
|
-
|
|
1238
|
+
m = y;
|
|
1239
1239
|
}
|
|
1240
|
-
if (
|
|
1241
|
-
(u || "React class") + ": type specification of " + l + " `" + d + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof
|
|
1242
|
-
),
|
|
1243
|
-
n[
|
|
1240
|
+
if (m && !(m instanceof Error) && e(
|
|
1241
|
+
(u || "React class") + ": type specification of " + l + " `" + d + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof m + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
1242
|
+
), m instanceof Error && !(m.message in n)) {
|
|
1243
|
+
n[m.message] = !0;
|
|
1244
1244
|
var v = f ? f() : "";
|
|
1245
1245
|
e(
|
|
1246
|
-
"Failed " + l + " type: " +
|
|
1246
|
+
"Failed " + l + " type: " + m.message + (v ?? "")
|
|
1247
1247
|
);
|
|
1248
1248
|
}
|
|
1249
1249
|
}
|
|
@@ -1273,7 +1273,7 @@ function zl() {
|
|
|
1273
1273
|
}
|
|
1274
1274
|
return kn = function(l, u) {
|
|
1275
1275
|
var f = typeof Symbol == "function" && Symbol.iterator, d = "@@iterator";
|
|
1276
|
-
function
|
|
1276
|
+
function m(T) {
|
|
1277
1277
|
var O = T && (f && T[f] || T[d]);
|
|
1278
1278
|
if (typeof O == "function")
|
|
1279
1279
|
return O;
|
|
@@ -1302,11 +1302,11 @@ function zl() {
|
|
|
1302
1302
|
function y(T, O) {
|
|
1303
1303
|
return T === O ? T !== 0 || 1 / T === 1 / O : T !== T && O !== O;
|
|
1304
1304
|
}
|
|
1305
|
-
function
|
|
1305
|
+
function g(T, O) {
|
|
1306
1306
|
this.message = T, this.data = O && typeof O == "object" ? O : {}, this.stack = "";
|
|
1307
1307
|
}
|
|
1308
|
-
|
|
1309
|
-
function
|
|
1308
|
+
g.prototype = Error.prototype;
|
|
1309
|
+
function h(T) {
|
|
1310
1310
|
if (process.env.NODE_ENV !== "production")
|
|
1311
1311
|
var O = {}, Y = 0;
|
|
1312
1312
|
function $(V, R, P, F, B, U, be) {
|
|
@@ -1324,7 +1324,7 @@ function zl() {
|
|
|
1324
1324
|
), O[Se] = !0, Y++);
|
|
1325
1325
|
}
|
|
1326
1326
|
}
|
|
1327
|
-
return R[P] == null ? V ? R[P] === null ? new
|
|
1327
|
+
return R[P] == null ? V ? R[P] === null ? new g("The " + B + " `" + U + "` is marked as required " + ("in `" + F + "`, but its value is `null`.")) : new g("The " + B + " `" + U + "` is marked as required in " + ("`" + F + "`, but its value is `undefined`.")) : null : T(R, P, F, B, U);
|
|
1328
1328
|
}
|
|
1329
1329
|
var z = $.bind(null, !1);
|
|
1330
1330
|
return z.isRequired = $.bind(null, !0), z;
|
|
@@ -1334,26 +1334,26 @@ function zl() {
|
|
|
1334
1334
|
var F = Y[$], B = ve(F);
|
|
1335
1335
|
if (B !== T) {
|
|
1336
1336
|
var U = $e(F);
|
|
1337
|
-
return new
|
|
1337
|
+
return new g(
|
|
1338
1338
|
"Invalid " + V + " `" + R + "` of type " + ("`" + U + "` supplied to `" + z + "`, expected ") + ("`" + T + "`."),
|
|
1339
1339
|
{ expectedType: T }
|
|
1340
1340
|
);
|
|
1341
1341
|
}
|
|
1342
1342
|
return null;
|
|
1343
1343
|
}
|
|
1344
|
-
return
|
|
1344
|
+
return h(O);
|
|
1345
1345
|
}
|
|
1346
1346
|
function D() {
|
|
1347
|
-
return
|
|
1347
|
+
return h(s);
|
|
1348
1348
|
}
|
|
1349
1349
|
function S(T) {
|
|
1350
1350
|
function O(Y, $, z, V, R) {
|
|
1351
1351
|
if (typeof T != "function")
|
|
1352
|
-
return new
|
|
1352
|
+
return new g("Property `" + R + "` of component `" + z + "` has invalid PropType notation inside arrayOf.");
|
|
1353
1353
|
var P = Y[$];
|
|
1354
1354
|
if (!Array.isArray(P)) {
|
|
1355
1355
|
var F = ve(P);
|
|
1356
|
-
return new
|
|
1356
|
+
return new g("Invalid " + V + " `" + R + "` of type " + ("`" + F + "` supplied to `" + z + "`, expected an array."));
|
|
1357
1357
|
}
|
|
1358
1358
|
for (var B = 0; B < P.length; B++) {
|
|
1359
1359
|
var U = T(P, B, z, V, R + "[" + B + "]", n);
|
|
@@ -1362,39 +1362,39 @@ function zl() {
|
|
|
1362
1362
|
}
|
|
1363
1363
|
return null;
|
|
1364
1364
|
}
|
|
1365
|
-
return
|
|
1365
|
+
return h(O);
|
|
1366
1366
|
}
|
|
1367
1367
|
function w() {
|
|
1368
1368
|
function T(O, Y, $, z, V) {
|
|
1369
1369
|
var R = O[Y];
|
|
1370
1370
|
if (!l(R)) {
|
|
1371
1371
|
var P = ve(R);
|
|
1372
|
-
return new
|
|
1372
|
+
return new g("Invalid " + z + " `" + V + "` of type " + ("`" + P + "` supplied to `" + $ + "`, expected a single ReactElement."));
|
|
1373
1373
|
}
|
|
1374
1374
|
return null;
|
|
1375
1375
|
}
|
|
1376
|
-
return
|
|
1376
|
+
return h(T);
|
|
1377
1377
|
}
|
|
1378
1378
|
function b() {
|
|
1379
1379
|
function T(O, Y, $, z, V) {
|
|
1380
1380
|
var R = O[Y];
|
|
1381
1381
|
if (!e.isValidElementType(R)) {
|
|
1382
1382
|
var P = ve(R);
|
|
1383
|
-
return new
|
|
1383
|
+
return new g("Invalid " + z + " `" + V + "` of type " + ("`" + P + "` supplied to `" + $ + "`, expected a single ReactElement type."));
|
|
1384
1384
|
}
|
|
1385
1385
|
return null;
|
|
1386
1386
|
}
|
|
1387
|
-
return
|
|
1387
|
+
return h(T);
|
|
1388
1388
|
}
|
|
1389
1389
|
function Q(T) {
|
|
1390
1390
|
function O(Y, $, z, V, R) {
|
|
1391
1391
|
if (!(Y[$] instanceof T)) {
|
|
1392
1392
|
var P = T.name || p, F = Be(Y[$]);
|
|
1393
|
-
return new
|
|
1393
|
+
return new g("Invalid " + V + " `" + R + "` of type " + ("`" + F + "` supplied to `" + z + "`, expected ") + ("instance of `" + P + "`."));
|
|
1394
1394
|
}
|
|
1395
1395
|
return null;
|
|
1396
1396
|
}
|
|
1397
|
-
return
|
|
1397
|
+
return h(O);
|
|
1398
1398
|
}
|
|
1399
1399
|
function _(T) {
|
|
1400
1400
|
if (!Array.isArray(T))
|
|
@@ -1409,17 +1409,17 @@ function zl() {
|
|
|
1409
1409
|
var Se = $e(E);
|
|
1410
1410
|
return Se === "symbol" ? String(E) : E;
|
|
1411
1411
|
});
|
|
1412
|
-
return new
|
|
1412
|
+
return new g("Invalid " + V + " `" + R + "` of value `" + String(P) + "` " + ("supplied to `" + z + "`, expected one of " + B + "."));
|
|
1413
1413
|
}
|
|
1414
|
-
return
|
|
1414
|
+
return h(O);
|
|
1415
1415
|
}
|
|
1416
1416
|
function de(T) {
|
|
1417
1417
|
function O(Y, $, z, V, R) {
|
|
1418
1418
|
if (typeof T != "function")
|
|
1419
|
-
return new
|
|
1419
|
+
return new g("Property `" + R + "` of component `" + z + "` has invalid PropType notation inside objectOf.");
|
|
1420
1420
|
var P = Y[$], F = ve(P);
|
|
1421
1421
|
if (F !== "object")
|
|
1422
|
-
return new
|
|
1422
|
+
return new g("Invalid " + V + " `" + R + "` of type " + ("`" + F + "` supplied to `" + z + "`, expected an object."));
|
|
1423
1423
|
for (var B in P)
|
|
1424
1424
|
if (r(P, B)) {
|
|
1425
1425
|
var U = T(P, B, z, V, R + "." + B, n);
|
|
@@ -1428,7 +1428,7 @@ function zl() {
|
|
|
1428
1428
|
}
|
|
1429
1429
|
return null;
|
|
1430
1430
|
}
|
|
1431
|
-
return
|
|
1431
|
+
return h(O);
|
|
1432
1432
|
}
|
|
1433
1433
|
function De(T) {
|
|
1434
1434
|
if (!Array.isArray(T))
|
|
@@ -1448,18 +1448,18 @@ function zl() {
|
|
|
1448
1448
|
E.data && r(E.data, "expectedType") && B.push(E.data.expectedType);
|
|
1449
1449
|
}
|
|
1450
1450
|
var Se = B.length > 0 ? ", expected one of type [" + B.join(", ") + "]" : "";
|
|
1451
|
-
return new
|
|
1451
|
+
return new g("Invalid " + P + " `" + F + "` supplied to " + ("`" + R + "`" + Se + "."));
|
|
1452
1452
|
}
|
|
1453
|
-
return
|
|
1453
|
+
return h($);
|
|
1454
1454
|
}
|
|
1455
1455
|
function A() {
|
|
1456
1456
|
function T(O, Y, $, z, V) {
|
|
1457
|
-
return ee(O[Y]) ? null : new
|
|
1457
|
+
return ee(O[Y]) ? null : new g("Invalid " + z + " `" + V + "` supplied to " + ("`" + $ + "`, expected a ReactNode."));
|
|
1458
1458
|
}
|
|
1459
|
-
return
|
|
1459
|
+
return h(T);
|
|
1460
1460
|
}
|
|
1461
1461
|
function fe(T, O, Y, $, z) {
|
|
1462
|
-
return new
|
|
1462
|
+
return new g(
|
|
1463
1463
|
(T || "React class") + ": " + O + " type `" + Y + "." + $ + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + z + "`."
|
|
1464
1464
|
);
|
|
1465
1465
|
}
|
|
@@ -1467,7 +1467,7 @@ function zl() {
|
|
|
1467
1467
|
function O(Y, $, z, V, R) {
|
|
1468
1468
|
var P = Y[$], F = ve(P);
|
|
1469
1469
|
if (F !== "object")
|
|
1470
|
-
return new
|
|
1470
|
+
return new g("Invalid " + V + " `" + R + "` of type `" + F + "` " + ("supplied to `" + z + "`, expected `object`."));
|
|
1471
1471
|
for (var B in T) {
|
|
1472
1472
|
var U = T[B];
|
|
1473
1473
|
if (typeof U != "function")
|
|
@@ -1478,20 +1478,20 @@ function zl() {
|
|
|
1478
1478
|
}
|
|
1479
1479
|
return null;
|
|
1480
1480
|
}
|
|
1481
|
-
return
|
|
1481
|
+
return h(O);
|
|
1482
1482
|
}
|
|
1483
1483
|
function ye(T) {
|
|
1484
1484
|
function O(Y, $, z, V, R) {
|
|
1485
1485
|
var P = Y[$], F = ve(P);
|
|
1486
1486
|
if (F !== "object")
|
|
1487
|
-
return new
|
|
1487
|
+
return new g("Invalid " + V + " `" + R + "` of type `" + F + "` " + ("supplied to `" + z + "`, expected `object`."));
|
|
1488
1488
|
var B = t({}, Y[$], T);
|
|
1489
1489
|
for (var U in B) {
|
|
1490
1490
|
var be = T[U];
|
|
1491
1491
|
if (r(T, U) && typeof be != "function")
|
|
1492
1492
|
return fe(z, V, R, U, $e(be));
|
|
1493
1493
|
if (!be)
|
|
1494
|
-
return new
|
|
1494
|
+
return new g(
|
|
1495
1495
|
"Invalid " + V + " `" + R + "` key `" + U + "` supplied to `" + z + "`.\nBad object: " + JSON.stringify(Y[$], null, " ") + `
|
|
1496
1496
|
Valid keys: ` + JSON.stringify(Object.keys(T), null, " ")
|
|
1497
1497
|
);
|
|
@@ -1501,7 +1501,7 @@ Valid keys: ` + JSON.stringify(Object.keys(T), null, " ")
|
|
|
1501
1501
|
}
|
|
1502
1502
|
return null;
|
|
1503
1503
|
}
|
|
1504
|
-
return
|
|
1504
|
+
return h(O);
|
|
1505
1505
|
}
|
|
1506
1506
|
function ee(T) {
|
|
1507
1507
|
switch (typeof T) {
|
|
@@ -1516,7 +1516,7 @@ Valid keys: ` + JSON.stringify(Object.keys(T), null, " ")
|
|
|
1516
1516
|
return T.every(ee);
|
|
1517
1517
|
if (T === null || l(T))
|
|
1518
1518
|
return !0;
|
|
1519
|
-
var O =
|
|
1519
|
+
var O = m(T);
|
|
1520
1520
|
if (O) {
|
|
1521
1521
|
var Y = O.call(T), $;
|
|
1522
1522
|
if (O !== T.entries) {
|
|
@@ -1586,8 +1586,8 @@ function Rl() {
|
|
|
1586
1586
|
function n() {
|
|
1587
1587
|
}
|
|
1588
1588
|
return n.resetWarningCache = t, Ln = function() {
|
|
1589
|
-
function r(s, l, u, f, d,
|
|
1590
|
-
if (
|
|
1589
|
+
function r(s, l, u, f, d, m) {
|
|
1590
|
+
if (m !== e) {
|
|
1591
1591
|
var p = new Error(
|
|
1592
1592
|
"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"
|
|
1593
1593
|
);
|
|
@@ -1630,7 +1630,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
1630
1630
|
} else
|
|
1631
1631
|
Vn.exports = Rl()();
|
|
1632
1632
|
var $l = Vn.exports;
|
|
1633
|
-
const
|
|
1633
|
+
const me = /* @__PURE__ */ il($l);
|
|
1634
1634
|
function qt(e) {
|
|
1635
1635
|
let t = "https://mui.com/production-error/?code=" + e;
|
|
1636
1636
|
for (let n = 1; n < arguments.length; n += 1)
|
|
@@ -1652,29 +1652,29 @@ function Pl() {
|
|
|
1652
1652
|
if (wo)
|
|
1653
1653
|
return ie;
|
|
1654
1654
|
wo = 1;
|
|
1655
|
-
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), s = Symbol.for("react.context"), l = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"),
|
|
1655
|
+
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), s = Symbol.for("react.context"), l = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), y;
|
|
1656
1656
|
y = Symbol.for("react.module.reference");
|
|
1657
|
-
function
|
|
1658
|
-
if (typeof
|
|
1659
|
-
var M =
|
|
1657
|
+
function g(h) {
|
|
1658
|
+
if (typeof h == "object" && h !== null) {
|
|
1659
|
+
var M = h.$$typeof;
|
|
1660
1660
|
switch (M) {
|
|
1661
1661
|
case e:
|
|
1662
|
-
switch (
|
|
1662
|
+
switch (h = h.type, h) {
|
|
1663
1663
|
case n:
|
|
1664
1664
|
case a:
|
|
1665
1665
|
case r:
|
|
1666
1666
|
case f:
|
|
1667
1667
|
case d:
|
|
1668
|
-
return
|
|
1668
|
+
return h;
|
|
1669
1669
|
default:
|
|
1670
|
-
switch (
|
|
1670
|
+
switch (h = h && h.$$typeof, h) {
|
|
1671
1671
|
case l:
|
|
1672
1672
|
case s:
|
|
1673
1673
|
case u:
|
|
1674
1674
|
case p:
|
|
1675
|
-
case
|
|
1675
|
+
case m:
|
|
1676
1676
|
case o:
|
|
1677
|
-
return
|
|
1677
|
+
return h;
|
|
1678
1678
|
default:
|
|
1679
1679
|
return M;
|
|
1680
1680
|
}
|
|
@@ -1684,37 +1684,37 @@ function Pl() {
|
|
|
1684
1684
|
}
|
|
1685
1685
|
}
|
|
1686
1686
|
}
|
|
1687
|
-
return ie.ContextConsumer = s, ie.ContextProvider = o, ie.Element = e, ie.ForwardRef = u, ie.Fragment = n, ie.Lazy = p, ie.Memo =
|
|
1687
|
+
return ie.ContextConsumer = s, ie.ContextProvider = o, ie.Element = e, ie.ForwardRef = u, ie.Fragment = n, ie.Lazy = p, ie.Memo = m, ie.Portal = t, ie.Profiler = a, ie.StrictMode = r, ie.Suspense = f, ie.SuspenseList = d, ie.isAsyncMode = function() {
|
|
1688
1688
|
return !1;
|
|
1689
1689
|
}, ie.isConcurrentMode = function() {
|
|
1690
1690
|
return !1;
|
|
1691
|
-
}, ie.isContextConsumer = function(
|
|
1692
|
-
return
|
|
1693
|
-
}, ie.isContextProvider = function(
|
|
1694
|
-
return
|
|
1695
|
-
}, ie.isElement = function(
|
|
1696
|
-
return typeof
|
|
1697
|
-
}, ie.isForwardRef = function(
|
|
1698
|
-
return
|
|
1699
|
-
}, ie.isFragment = function(
|
|
1700
|
-
return
|
|
1701
|
-
}, ie.isLazy = function(
|
|
1702
|
-
return
|
|
1703
|
-
}, ie.isMemo = function(
|
|
1704
|
-
return
|
|
1705
|
-
}, ie.isPortal = function(
|
|
1706
|
-
return
|
|
1707
|
-
}, ie.isProfiler = function(
|
|
1708
|
-
return
|
|
1709
|
-
}, ie.isStrictMode = function(
|
|
1710
|
-
return
|
|
1711
|
-
}, ie.isSuspense = function(
|
|
1712
|
-
return
|
|
1713
|
-
}, ie.isSuspenseList = function(
|
|
1714
|
-
return
|
|
1715
|
-
}, ie.isValidElementType = function(
|
|
1716
|
-
return typeof
|
|
1717
|
-
}, ie.typeOf =
|
|
1691
|
+
}, ie.isContextConsumer = function(h) {
|
|
1692
|
+
return g(h) === s;
|
|
1693
|
+
}, ie.isContextProvider = function(h) {
|
|
1694
|
+
return g(h) === o;
|
|
1695
|
+
}, ie.isElement = function(h) {
|
|
1696
|
+
return typeof h == "object" && h !== null && h.$$typeof === e;
|
|
1697
|
+
}, ie.isForwardRef = function(h) {
|
|
1698
|
+
return g(h) === u;
|
|
1699
|
+
}, ie.isFragment = function(h) {
|
|
1700
|
+
return g(h) === n;
|
|
1701
|
+
}, ie.isLazy = function(h) {
|
|
1702
|
+
return g(h) === p;
|
|
1703
|
+
}, ie.isMemo = function(h) {
|
|
1704
|
+
return g(h) === m;
|
|
1705
|
+
}, ie.isPortal = function(h) {
|
|
1706
|
+
return g(h) === t;
|
|
1707
|
+
}, ie.isProfiler = function(h) {
|
|
1708
|
+
return g(h) === a;
|
|
1709
|
+
}, ie.isStrictMode = function(h) {
|
|
1710
|
+
return g(h) === r;
|
|
1711
|
+
}, ie.isSuspense = function(h) {
|
|
1712
|
+
return g(h) === f;
|
|
1713
|
+
}, ie.isSuspenseList = function(h) {
|
|
1714
|
+
return g(h) === d;
|
|
1715
|
+
}, ie.isValidElementType = function(h) {
|
|
1716
|
+
return typeof h == "string" || typeof h == "function" || h === n || h === a || h === r || h === f || h === d || h === v || typeof h == "object" && h !== null && (h.$$typeof === p || h.$$typeof === m || h.$$typeof === o || h.$$typeof === s || h.$$typeof === u || h.$$typeof === y || h.getModuleId !== void 0);
|
|
1717
|
+
}, ie.typeOf = g, ie;
|
|
1718
1718
|
}
|
|
1719
1719
|
var le = {};
|
|
1720
1720
|
/**
|
|
@@ -1729,10 +1729,10 @@ var le = {};
|
|
|
1729
1729
|
var Co;
|
|
1730
1730
|
function Yl() {
|
|
1731
1731
|
return Co || (Co = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1732
|
-
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), s = Symbol.for("react.context"), l = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"),
|
|
1732
|
+
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), s = Symbol.for("react.context"), l = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), y = !1, g = !1, h = !1, M = !1, D = !1, S;
|
|
1733
1733
|
S = Symbol.for("react.module.reference");
|
|
1734
1734
|
function w(I) {
|
|
1735
|
-
return !!(typeof I == "string" || typeof I == "function" || I === n || I === a || D || I === r || I === f || I === d || M || I === v || y ||
|
|
1735
|
+
return !!(typeof I == "string" || typeof I == "function" || I === n || I === a || D || I === r || I === f || I === d || M || I === v || y || g || h || typeof I == "object" && I !== null && (I.$$typeof === p || I.$$typeof === m || I.$$typeof === o || I.$$typeof === s || I.$$typeof === u || // This needs to include all possible module reference object
|
|
1736
1736
|
// types supported by any Flight configuration anywhere since
|
|
1737
1737
|
// we don't know which Flight build this will end up being used
|
|
1738
1738
|
// with.
|
|
@@ -1758,7 +1758,7 @@ function Yl() {
|
|
|
1758
1758
|
case s:
|
|
1759
1759
|
case u:
|
|
1760
1760
|
case p:
|
|
1761
|
-
case
|
|
1761
|
+
case m:
|
|
1762
1762
|
case o:
|
|
1763
1763
|
return dt;
|
|
1764
1764
|
default:
|
|
@@ -1770,7 +1770,7 @@ function Yl() {
|
|
|
1770
1770
|
}
|
|
1771
1771
|
}
|
|
1772
1772
|
}
|
|
1773
|
-
var Q = s, _ = o, de = e, De = u, A = n, fe = p, pe =
|
|
1773
|
+
var Q = s, _ = o, de = e, De = u, A = n, fe = p, pe = m, ye = t, ee = a, H = r, ve = f, $e = d, Pe = !1, Be = !1;
|
|
1774
1774
|
function T(I) {
|
|
1775
1775
|
return Pe || (Pe = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
1776
1776
|
}
|
|
@@ -1796,7 +1796,7 @@ function Yl() {
|
|
|
1796
1796
|
return b(I) === p;
|
|
1797
1797
|
}
|
|
1798
1798
|
function F(I) {
|
|
1799
|
-
return b(I) ===
|
|
1799
|
+
return b(I) === m;
|
|
1800
1800
|
}
|
|
1801
1801
|
function B(I) {
|
|
1802
1802
|
return b(I) === t;
|
|
@@ -1896,13 +1896,13 @@ function Kl(e, t) {
|
|
|
1896
1896
|
return () => null;
|
|
1897
1897
|
const n = t ? Z({}, t.propTypes) : null;
|
|
1898
1898
|
return (a) => (o, s, l, u, f, ...d) => {
|
|
1899
|
-
const
|
|
1899
|
+
const m = f || s, p = n == null ? void 0 : n[m];
|
|
1900
1900
|
if (p) {
|
|
1901
1901
|
const v = p(o, s, l, u, f, ...d);
|
|
1902
1902
|
if (v)
|
|
1903
1903
|
return v;
|
|
1904
1904
|
}
|
|
1905
|
-
return typeof o[s] < "u" && !o[a] ? new Error(`The prop \`${
|
|
1905
|
+
return typeof o[s] < "u" && !o[a] ? new Error(`The prop \`${m}\` of \`${e}\` can only be used together with the \`${a}\` prop.`) : null;
|
|
1906
1906
|
};
|
|
1907
1907
|
}
|
|
1908
1908
|
function $s(e, t) {
|
|
@@ -2099,13 +2099,13 @@ function la(e, t, n = "Mui") {
|
|
|
2099
2099
|
const r = pc[t];
|
|
2100
2100
|
return r ? `${n}-${r}` : `${Us.generate(e)}-${t}`;
|
|
2101
2101
|
}
|
|
2102
|
-
function
|
|
2102
|
+
function mc(e, t, n = "Mui") {
|
|
2103
2103
|
const r = {};
|
|
2104
2104
|
return t.forEach((a) => {
|
|
2105
2105
|
r[a] = la(e, a, n);
|
|
2106
2106
|
}), r;
|
|
2107
2107
|
}
|
|
2108
|
-
function
|
|
2108
|
+
function ht(e, t) {
|
|
2109
2109
|
if (e == null)
|
|
2110
2110
|
return {};
|
|
2111
2111
|
var n = {}, r = Object.keys(e), a, o;
|
|
@@ -2126,7 +2126,7 @@ function Fs(e) {
|
|
|
2126
2126
|
e[t] && (r && (r += " "), r += t);
|
|
2127
2127
|
return r;
|
|
2128
2128
|
}
|
|
2129
|
-
function
|
|
2129
|
+
function gc() {
|
|
2130
2130
|
for (var e, t, n = 0, r = ""; n < arguments.length; )
|
|
2131
2131
|
(e = arguments[n++]) && (t = Fs(e)) && (r && (r += " "), r += t);
|
|
2132
2132
|
return r;
|
|
@@ -2137,9 +2137,9 @@ function Vs(e) {
|
|
|
2137
2137
|
return t[n] === void 0 && (t[n] = e(n)), t[n];
|
|
2138
2138
|
};
|
|
2139
2139
|
}
|
|
2140
|
-
var
|
|
2140
|
+
var hc = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, yc = /* @__PURE__ */ Vs(
|
|
2141
2141
|
function(e) {
|
|
2142
|
-
return
|
|
2142
|
+
return hc.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
|
|
2143
2143
|
}
|
|
2144
2144
|
/* Z+1 */
|
|
2145
2145
|
);
|
|
@@ -2331,10 +2331,10 @@ function zc(e) {
|
|
|
2331
2331
|
return Gs(Kr("", null, null, null, [""], e = Ws(e), 0, [0], e));
|
|
2332
2332
|
}
|
|
2333
2333
|
function Kr(e, t, n, r, a, o, s, l, u) {
|
|
2334
|
-
for (var f = 0, d = 0,
|
|
2334
|
+
for (var f = 0, d = 0, m = s, p = 0, v = 0, y = 0, g = 1, h = 1, M = 1, D = 0, S = "", w = a, b = o, Q = r, _ = S; h; )
|
|
2335
2335
|
switch (y = D, D = Xe()) {
|
|
2336
2336
|
case 40:
|
|
2337
|
-
if (y != 108 && Ue(_,
|
|
2337
|
+
if (y != 108 && Ue(_, m - 1) == 58) {
|
|
2338
2338
|
qn(_ += re(Gr(D), "&", "&\f"), "&\f") != -1 && (M = -1);
|
|
2339
2339
|
break;
|
|
2340
2340
|
}
|
|
@@ -2362,48 +2362,48 @@ function Kr(e, t, n, r, a, o, s, l, u) {
|
|
|
2362
2362
|
_ += "/";
|
|
2363
2363
|
}
|
|
2364
2364
|
break;
|
|
2365
|
-
case 123 *
|
|
2365
|
+
case 123 * g:
|
|
2366
2366
|
l[f++] = it(_) * M;
|
|
2367
|
-
case 125 *
|
|
2367
|
+
case 125 * g:
|
|
2368
2368
|
case 59:
|
|
2369
2369
|
case 0:
|
|
2370
2370
|
switch (D) {
|
|
2371
2371
|
case 0:
|
|
2372
2372
|
case 125:
|
|
2373
|
-
|
|
2373
|
+
h = 0;
|
|
2374
2374
|
case 59 + d:
|
|
2375
|
-
M == -1 && (_ = re(_, /\f/g, "")), v > 0 && it(_) -
|
|
2375
|
+
M == -1 && (_ = re(_, /\f/g, "")), v > 0 && it(_) - m && Fr(v > 32 ? Po(_ + ";", r, n, m - 1) : Po(re(_, " ", "") + ";", r, n, m - 2), u);
|
|
2376
2376
|
break;
|
|
2377
2377
|
case 59:
|
|
2378
2378
|
_ += ";";
|
|
2379
2379
|
default:
|
|
2380
|
-
if (Fr(Q = $o(_, t, n, f, d, a, l, S, w = [], b = [],
|
|
2380
|
+
if (Fr(Q = $o(_, t, n, f, d, a, l, S, w = [], b = [], m), o), D === 123)
|
|
2381
2381
|
if (d === 0)
|
|
2382
|
-
Kr(_, t, Q, Q, w, o,
|
|
2382
|
+
Kr(_, t, Q, Q, w, o, m, l, b);
|
|
2383
2383
|
else
|
|
2384
2384
|
switch (p === 99 && Ue(_, 3) === 110 ? 100 : p) {
|
|
2385
2385
|
case 100:
|
|
2386
2386
|
case 108:
|
|
2387
2387
|
case 109:
|
|
2388
2388
|
case 115:
|
|
2389
|
-
Kr(e, Q, Q, r && Fr($o(e, Q, Q, 0, 0, a, l, S, a, w = [],
|
|
2389
|
+
Kr(e, Q, Q, r && Fr($o(e, Q, Q, 0, 0, a, l, S, a, w = [], m), b), a, b, m, l, r ? w : b);
|
|
2390
2390
|
break;
|
|
2391
2391
|
default:
|
|
2392
2392
|
Kr(_, Q, Q, Q, [""], b, 0, l, b);
|
|
2393
2393
|
}
|
|
2394
2394
|
}
|
|
2395
|
-
f = d = v = 0,
|
|
2395
|
+
f = d = v = 0, g = M = 1, S = _ = "", m = s;
|
|
2396
2396
|
break;
|
|
2397
2397
|
case 58:
|
|
2398
|
-
|
|
2398
|
+
m = 1 + it(_), v = y;
|
|
2399
2399
|
default:
|
|
2400
|
-
if (
|
|
2400
|
+
if (g < 1) {
|
|
2401
2401
|
if (D == 123)
|
|
2402
|
-
--
|
|
2403
|
-
else if (D == 125 &&
|
|
2402
|
+
--g;
|
|
2403
|
+
else if (D == 125 && g++ == 0 && Sc() == 125)
|
|
2404
2404
|
continue;
|
|
2405
2405
|
}
|
|
2406
|
-
switch (_ += cn(D), D *
|
|
2406
|
+
switch (_ += cn(D), D * g) {
|
|
2407
2407
|
case 38:
|
|
2408
2408
|
M = d > 0 ? 1 : (_ += "\f", -1);
|
|
2409
2409
|
break;
|
|
@@ -2411,18 +2411,18 @@ function Kr(e, t, n, r, a, o, s, l, u) {
|
|
|
2411
2411
|
l[f++] = (it(_) - 1) * M, M = 1;
|
|
2412
2412
|
break;
|
|
2413
2413
|
case 64:
|
|
2414
|
-
ut() === 45 && (_ += Gr(Xe())), p = ut(), d =
|
|
2414
|
+
ut() === 45 && (_ += Gr(Xe())), p = ut(), d = m = it(S = _ += _c(Wr())), D++;
|
|
2415
2415
|
break;
|
|
2416
2416
|
case 45:
|
|
2417
|
-
y === 45 && it(_) == 2 && (
|
|
2417
|
+
y === 45 && it(_) == 2 && (g = 0);
|
|
2418
2418
|
}
|
|
2419
2419
|
}
|
|
2420
2420
|
return o;
|
|
2421
2421
|
}
|
|
2422
2422
|
function $o(e, t, n, r, a, o, s, l, u, f, d) {
|
|
2423
|
-
for (var
|
|
2424
|
-
for (var M = 0, D = vr(e,
|
|
2425
|
-
(S = Bs(
|
|
2423
|
+
for (var m = a - 1, p = a === 0 ? o : [""], v = fa(p), y = 0, g = 0, h = 0; y < r; ++y)
|
|
2424
|
+
for (var M = 0, D = vr(e, m + 1, m = Tc(g = s[y])), S = e; M < v; ++M)
|
|
2425
|
+
(S = Bs(g > 0 ? p[M] + " " + D : re(D, /&\f/g, p[M]))) && (u[h++] = S);
|
|
2426
2426
|
return dn(e, t, n, a === 0 ? ua : l, u, f, d);
|
|
2427
2427
|
}
|
|
2428
2428
|
function Rc(e, t, n) {
|
|
@@ -2703,9 +2703,9 @@ var Kc = function(t, n, r, a) {
|
|
|
2703
2703
|
If multiple caches share the same key they might "fight" for each other's style elements.`);
|
|
2704
2704
|
if (n === "css") {
|
|
2705
2705
|
var r = document.querySelectorAll("style[data-emotion]:not([data-s])");
|
|
2706
|
-
Array.prototype.forEach.call(r, function(
|
|
2707
|
-
var
|
|
2708
|
-
|
|
2706
|
+
Array.prototype.forEach.call(r, function(g) {
|
|
2707
|
+
var h = g.getAttribute("data-emotion");
|
|
2708
|
+
h.indexOf(" ") !== -1 && (document.head.appendChild(g), g.setAttribute("data-s", ""));
|
|
2709
2709
|
});
|
|
2710
2710
|
}
|
|
2711
2711
|
var a = t.stylisPlugins || Jc;
|
|
@@ -2716,10 +2716,10 @@ If multiple caches share the same key they might "fight" for each other's style
|
|
|
2716
2716
|
// this means we will ignore elements which don't have a space in them which
|
|
2717
2717
|
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
2718
2718
|
document.querySelectorAll('style[data-emotion^="' + n + ' "]'),
|
|
2719
|
-
function(
|
|
2720
|
-
for (var
|
|
2721
|
-
o[
|
|
2722
|
-
l.push(
|
|
2719
|
+
function(g) {
|
|
2720
|
+
for (var h = g.getAttribute("data-emotion").split(" "), M = 1; M < h.length; M++)
|
|
2721
|
+
o[h[M]] = !0;
|
|
2722
|
+
l.push(g);
|
|
2723
2723
|
}
|
|
2724
2724
|
);
|
|
2725
2725
|
var u, f = [Fc, Vc];
|
|
@@ -2729,19 +2729,19 @@ If multiple caches share the same key they might "fight" for each other's style
|
|
|
2729
2729
|
}
|
|
2730
2730
|
}), Gc);
|
|
2731
2731
|
{
|
|
2732
|
-
var d,
|
|
2733
|
-
|
|
2734
|
-
} : $c(function(
|
|
2735
|
-
d.insert(
|
|
2736
|
-
})], p = Lc(f.concat(a,
|
|
2737
|
-
return Vt(zc(
|
|
2732
|
+
var d, m = [kc, process.env.NODE_ENV !== "production" ? function(g) {
|
|
2733
|
+
g.root || (g.return ? d.insert(g.return) : g.value && g.type !== ca && d.insert(g.value + "{}"));
|
|
2734
|
+
} : $c(function(g) {
|
|
2735
|
+
d.insert(g);
|
|
2736
|
+
})], p = Lc(f.concat(a, m)), v = function(h) {
|
|
2737
|
+
return Vt(zc(h), p);
|
|
2738
2738
|
};
|
|
2739
|
-
u = function(
|
|
2739
|
+
u = function(h, M, D, S) {
|
|
2740
2740
|
d = D, process.env.NODE_ENV !== "production" && M.map !== void 0 && (d = {
|
|
2741
2741
|
insert: function(b) {
|
|
2742
2742
|
D.insert(b + M.map);
|
|
2743
2743
|
}
|
|
2744
|
-
}), v(
|
|
2744
|
+
}), v(h ? h + "{" + M.styles + "}" : M.styles), S && (y.inserted[M.name] = !0);
|
|
2745
2745
|
};
|
|
2746
2746
|
}
|
|
2747
2747
|
var y = {
|
|
@@ -2859,12 +2859,12 @@ var eu = {
|
|
|
2859
2859
|
}, Fo = `You have illegal escape sequence in your template literal, most likely inside content's property value.
|
|
2860
2860
|
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
|
|
2861
2861
|
You can read more about this here:
|
|
2862
|
-
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`, tu = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).", ru = /[A-Z]|^ms/g, Hs = /_EMO_([^_]+?)_([^]*?)_EMO_/g,
|
|
2862
|
+
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`, tu = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).", ru = /[A-Z]|^ms/g, Hs = /_EMO_([^_]+?)_([^]*?)_EMO_/g, ma = function(t) {
|
|
2863
2863
|
return t.charCodeAt(1) === 45;
|
|
2864
2864
|
}, Vo = function(t) {
|
|
2865
2865
|
return t != null && typeof t != "boolean";
|
|
2866
2866
|
}, Pn = /* @__PURE__ */ Vs(function(e) {
|
|
2867
|
-
return
|
|
2867
|
+
return ma(e) ? e : e.replace(ru, "-$&").toLowerCase();
|
|
2868
2868
|
}), en = function(t, n) {
|
|
2869
2869
|
switch (t) {
|
|
2870
2870
|
case "animation":
|
|
@@ -2878,7 +2878,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
2878
2878
|
}, a;
|
|
2879
2879
|
});
|
|
2880
2880
|
}
|
|
2881
|
-
return eu[t] !== 1 && !
|
|
2881
|
+
return eu[t] !== 1 && !ma(t) && typeof n == "number" && n !== 0 ? n + "px" : n;
|
|
2882
2882
|
};
|
|
2883
2883
|
if (process.env.NODE_ENV !== "production") {
|
|
2884
2884
|
var nu = /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/, au = ["normal", "none", "initial", "inherit", "unset"], ou = en, su = /^-ms-/, iu = /-(.)/g, Qo = {};
|
|
@@ -2886,7 +2886,7 @@ if (process.env.NODE_ENV !== "production") {
|
|
|
2886
2886
|
if (t === "content" && (typeof n != "string" || au.indexOf(n) === -1 && !nu.test(n) && (n.charAt(0) !== n.charAt(n.length - 1) || n.charAt(0) !== '"' && n.charAt(0) !== "'")))
|
|
2887
2887
|
throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"" + n + "\"'`");
|
|
2888
2888
|
var r = ou(t, n);
|
|
2889
|
-
return r !== "" && !
|
|
2889
|
+
return r !== "" && !ma(t) && t.indexOf("-") !== -1 && Qo[t] === void 0 && (Qo[t] = !0, console.error("Using kebab-case for css properties in objects is not supported. Did you mean " + t.replace(su, "ms-").replace(iu, function(a, o) {
|
|
2890
2890
|
return o.toUpperCase();
|
|
2891
2891
|
}) + "?")), r;
|
|
2892
2892
|
};
|
|
@@ -2934,7 +2934,7 @@ function Mr(e, t, n) {
|
|
|
2934
2934
|
}
|
|
2935
2935
|
case "string":
|
|
2936
2936
|
if (process.env.NODE_ENV !== "production") {
|
|
2937
|
-
var l = [], u = n.replace(Hs, function(d,
|
|
2937
|
+
var l = [], u = n.replace(Hs, function(d, m, p) {
|
|
2938
2938
|
var v = "animation" + l.length;
|
|
2939
2939
|
return l.push("const " + v + " = keyframes`" + p.replace(/^@keyframes animation-\w+/, "") + "`"), "${" + v + "}";
|
|
2940
2940
|
});
|
|
@@ -3002,9 +3002,9 @@ var rt, Gn = function(t, n, r) {
|
|
|
3002
3002
|
for (var f = "", d; (d = Bo.exec(o)) !== null; )
|
|
3003
3003
|
f += "-" + // $FlowFixMe we know it's not null
|
|
3004
3004
|
d[1];
|
|
3005
|
-
var
|
|
3005
|
+
var m = Hc(o) + f;
|
|
3006
3006
|
return process.env.NODE_ENV !== "production" ? {
|
|
3007
|
-
name:
|
|
3007
|
+
name: m,
|
|
3008
3008
|
styles: o,
|
|
3009
3009
|
map: u,
|
|
3010
3010
|
next: rt,
|
|
@@ -3012,13 +3012,13 @@ var rt, Gn = function(t, n, r) {
|
|
|
3012
3012
|
return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
|
|
3013
3013
|
}
|
|
3014
3014
|
} : {
|
|
3015
|
-
name:
|
|
3015
|
+
name: m,
|
|
3016
3016
|
styles: o,
|
|
3017
3017
|
next: rt
|
|
3018
3018
|
};
|
|
3019
3019
|
}, cu = function(t) {
|
|
3020
3020
|
return t();
|
|
3021
|
-
}, uu = J["useInsertionEffect"] ? J["useInsertionEffect"] : !1, ri = uu || cu, du = {}.hasOwnProperty,
|
|
3021
|
+
}, uu = J["useInsertionEffect"] ? J["useInsertionEffect"] : !1, ri = uu || cu, du = {}.hasOwnProperty, ga = /* @__PURE__ */ J.createContext(
|
|
3022
3022
|
// we're doing this to avoid preconstruct's dead code elimination in this one case
|
|
3023
3023
|
// because this module is primarily intended for the browser and node
|
|
3024
3024
|
// but it's also required in react native and similar environments sometimes
|
|
@@ -3029,11 +3029,11 @@ var rt, Gn = function(t, n, r) {
|
|
|
3029
3029
|
key: "css"
|
|
3030
3030
|
}) : null
|
|
3031
3031
|
);
|
|
3032
|
-
process.env.NODE_ENV !== "production" && (
|
|
3033
|
-
|
|
3032
|
+
process.env.NODE_ENV !== "production" && (ga.displayName = "EmotionCacheContext");
|
|
3033
|
+
ga.Provider;
|
|
3034
3034
|
var ni = function(t) {
|
|
3035
3035
|
return /* @__PURE__ */ Ts(function(n, r) {
|
|
3036
|
-
var a = ea(
|
|
3036
|
+
var a = ea(ga);
|
|
3037
3037
|
return t(n, a, r);
|
|
3038
3038
|
});
|
|
3039
3039
|
}, fn = /* @__PURE__ */ J.createContext({});
|
|
@@ -3064,13 +3064,13 @@ var qo = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", Wo = "__EMOTION_LABEL_PLEASE_DO_N
|
|
|
3064
3064
|
}), /* @__PURE__ */ J.createElement(a, f));
|
|
3065
3065
|
});
|
|
3066
3066
|
process.env.NODE_ENV !== "production" && (pu.displayName = "EmotionCssPropInternal");
|
|
3067
|
-
var
|
|
3067
|
+
var mu = yc, gu = function(t) {
|
|
3068
3068
|
return t !== "theme";
|
|
3069
3069
|
}, Go = function(t) {
|
|
3070
3070
|
return typeof t == "string" && // 96 is one less than the char code
|
|
3071
3071
|
// for "a" so this is checking that
|
|
3072
3072
|
// it's a lowercase character
|
|
3073
|
-
t.charCodeAt(0) > 96 ?
|
|
3073
|
+
t.charCodeAt(0) > 96 ? mu : gu;
|
|
3074
3074
|
}, Ko = function(t, n, r) {
|
|
3075
3075
|
var a;
|
|
3076
3076
|
if (n) {
|
|
@@ -3083,7 +3083,7 @@ var hu = yc, mu = function(t) {
|
|
|
3083
3083
|
}, Jo = `You have illegal escape sequence in your template literal, most likely inside content's property value.
|
|
3084
3084
|
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
|
|
3085
3085
|
You can read more about this here:
|
|
3086
|
-
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,
|
|
3086
|
+
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`, hu = function(t) {
|
|
3087
3087
|
var n = t.cache, r = t.serialized, a = t.isStringTag;
|
|
3088
3088
|
return pa(n, r, a), ri(function() {
|
|
3089
3089
|
return Xs(n, r, a);
|
|
@@ -3096,43 +3096,43 @@ You may have forgotten to import it.`);
|
|
|
3096
3096
|
n !== void 0 && (o = n.label, s = n.target);
|
|
3097
3097
|
var l = Ko(t, n, r), u = l || Go(a), f = !u("as");
|
|
3098
3098
|
return function() {
|
|
3099
|
-
var d = arguments,
|
|
3100
|
-
if (o !== void 0 &&
|
|
3101
|
-
|
|
3099
|
+
var d = arguments, m = r && t.__emotion_styles !== void 0 ? t.__emotion_styles.slice(0) : [];
|
|
3100
|
+
if (o !== void 0 && m.push("label:" + o + ";"), d[0] == null || d[0].raw === void 0)
|
|
3101
|
+
m.push.apply(m, d);
|
|
3102
3102
|
else {
|
|
3103
|
-
process.env.NODE_ENV !== "production" && d[0][0] === void 0 && console.error(Jo),
|
|
3103
|
+
process.env.NODE_ENV !== "production" && d[0][0] === void 0 && console.error(Jo), m.push(d[0][0]);
|
|
3104
3104
|
for (var p = d.length, v = 1; v < p; v++)
|
|
3105
|
-
process.env.NODE_ENV !== "production" && d[0][v] === void 0 && console.error(Jo),
|
|
3105
|
+
process.env.NODE_ENV !== "production" && d[0][v] === void 0 && console.error(Jo), m.push(d[v], d[0][v]);
|
|
3106
3106
|
}
|
|
3107
|
-
var y = ni(function(
|
|
3108
|
-
var D = f &&
|
|
3109
|
-
if (
|
|
3107
|
+
var y = ni(function(g, h, M) {
|
|
3108
|
+
var D = f && g.as || a, S = "", w = [], b = g;
|
|
3109
|
+
if (g.theme == null) {
|
|
3110
3110
|
b = {};
|
|
3111
|
-
for (var Q in
|
|
3112
|
-
b[Q] =
|
|
3111
|
+
for (var Q in g)
|
|
3112
|
+
b[Q] = g[Q];
|
|
3113
3113
|
b.theme = J.useContext(fn);
|
|
3114
3114
|
}
|
|
3115
|
-
typeof
|
|
3116
|
-
var _ = Gn(
|
|
3117
|
-
S +=
|
|
3115
|
+
typeof g.className == "string" ? S = Zs(h.registered, w, g.className) : g.className != null && (S = g.className + " ");
|
|
3116
|
+
var _ = Gn(m.concat(w), h.registered, b);
|
|
3117
|
+
S += h.key + "-" + _.name, s !== void 0 && (S += " " + s);
|
|
3118
3118
|
var de = f && l === void 0 ? Go(D) : u, De = {};
|
|
3119
|
-
for (var A in
|
|
3119
|
+
for (var A in g)
|
|
3120
3120
|
f && A === "as" || // $FlowFixMe
|
|
3121
|
-
de(A) && (De[A] =
|
|
3122
|
-
return De.className = S, De.ref = M, /* @__PURE__ */ J.createElement(J.Fragment, null, /* @__PURE__ */ J.createElement(
|
|
3123
|
-
cache:
|
|
3121
|
+
de(A) && (De[A] = g[A]);
|
|
3122
|
+
return De.className = S, De.ref = M, /* @__PURE__ */ J.createElement(J.Fragment, null, /* @__PURE__ */ J.createElement(hu, {
|
|
3123
|
+
cache: h,
|
|
3124
3124
|
serialized: _,
|
|
3125
3125
|
isStringTag: typeof D == "string"
|
|
3126
3126
|
}), /* @__PURE__ */ J.createElement(D, De));
|
|
3127
3127
|
});
|
|
3128
|
-
return y.displayName = o !== void 0 ? o : "Styled(" + (typeof a == "string" ? a : a.displayName || a.name || "Component") + ")", y.defaultProps = t.defaultProps, y.__emotion_real = y, y.__emotion_base = a, y.__emotion_styles =
|
|
3128
|
+
return y.displayName = o !== void 0 ? o : "Styled(" + (typeof a == "string" ? a : a.displayName || a.name || "Component") + ")", y.defaultProps = t.defaultProps, y.__emotion_real = y, y.__emotion_base = a, y.__emotion_styles = m, y.__emotion_forwardProp = l, Object.defineProperty(y, "toString", {
|
|
3129
3129
|
value: function() {
|
|
3130
3130
|
return s === void 0 && process.env.NODE_ENV !== "production" ? "NO_COMPONENT_SELECTOR" : "." + s;
|
|
3131
3131
|
}
|
|
3132
|
-
}), y.withComponent = function(
|
|
3133
|
-
return e(
|
|
3134
|
-
shouldForwardProp: Ko(y,
|
|
3135
|
-
})).apply(void 0,
|
|
3132
|
+
}), y.withComponent = function(g, h) {
|
|
3133
|
+
return e(g, Z({}, n, h, {
|
|
3134
|
+
shouldForwardProp: Ko(y, h, !0)
|
|
3135
|
+
})).apply(void 0, m);
|
|
3136
3136
|
}, y;
|
|
3137
3137
|
};
|
|
3138
3138
|
}, vu = [
|
|
@@ -3319,7 +3319,7 @@ function Tu(e) {
|
|
|
3319
3319
|
},
|
|
3320
3320
|
unit: n = "px",
|
|
3321
3321
|
step: r = 5
|
|
3322
|
-
} = e, a =
|
|
3322
|
+
} = e, a = ht(e, xu), o = ju(t), s = Object.keys(o);
|
|
3323
3323
|
function l(p) {
|
|
3324
3324
|
return `@media (min-width:${typeof t[p] == "number" ? t[p] : p}${n})`;
|
|
3325
3325
|
}
|
|
@@ -3333,7 +3333,7 @@ function Tu(e) {
|
|
|
3333
3333
|
function d(p) {
|
|
3334
3334
|
return s.indexOf(p) + 1 < s.length ? f(p, s[s.indexOf(p) + 1]) : l(p);
|
|
3335
3335
|
}
|
|
3336
|
-
function
|
|
3336
|
+
function m(p) {
|
|
3337
3337
|
const v = s.indexOf(p);
|
|
3338
3338
|
return v === 0 ? l(s[1]) : v === s.length - 1 ? u(s[v]) : f(p, s[s.indexOf(p) + 1]).replace("@media", "@media not all and");
|
|
3339
3339
|
}
|
|
@@ -3344,20 +3344,20 @@ function Tu(e) {
|
|
|
3344
3344
|
down: u,
|
|
3345
3345
|
between: f,
|
|
3346
3346
|
only: d,
|
|
3347
|
-
not:
|
|
3347
|
+
not: m,
|
|
3348
3348
|
unit: n
|
|
3349
3349
|
}, a);
|
|
3350
3350
|
}
|
|
3351
3351
|
const Du = {
|
|
3352
3352
|
borderRadius: 4
|
|
3353
|
-
}, Eu = Du, Nu = process.env.NODE_ENV !== "production" ?
|
|
3353
|
+
}, Eu = Du, Nu = process.env.NODE_ENV !== "production" ? me.oneOfType([me.number, me.string, me.object, me.array]) : {}, Dt = Nu;
|
|
3354
3354
|
function yr(e, t) {
|
|
3355
3355
|
return t ? nt(e, t, {
|
|
3356
3356
|
clone: !1
|
|
3357
3357
|
// No need to clone deep, it's way faster.
|
|
3358
3358
|
}) : e;
|
|
3359
3359
|
}
|
|
3360
|
-
const
|
|
3360
|
+
const ha = {
|
|
3361
3361
|
xs: 0,
|
|
3362
3362
|
// phone
|
|
3363
3363
|
sm: 600,
|
|
@@ -3372,9 +3372,9 @@ const ga = {
|
|
|
3372
3372
|
// Sorted ASC by size. That's important.
|
|
3373
3373
|
// It can't be configured as it's used statically for propTypes.
|
|
3374
3374
|
keys: ["xs", "sm", "md", "lg", "xl"],
|
|
3375
|
-
up: (e) => `@media (min-width:${
|
|
3375
|
+
up: (e) => `@media (min-width:${ha[e]}px)`
|
|
3376
3376
|
};
|
|
3377
|
-
function
|
|
3377
|
+
function gt(e, t, n) {
|
|
3378
3378
|
const r = e.theme || {};
|
|
3379
3379
|
if (Array.isArray(t)) {
|
|
3380
3380
|
const o = r.breakpoints || Zo;
|
|
@@ -3383,7 +3383,7 @@ function mt(e, t, n) {
|
|
|
3383
3383
|
if (typeof t == "object") {
|
|
3384
3384
|
const o = r.breakpoints || Zo;
|
|
3385
3385
|
return Object.keys(t).reduce((s, l) => {
|
|
3386
|
-
if (Object.keys(o.values ||
|
|
3386
|
+
if (Object.keys(o.values || ha).indexOf(l) !== -1) {
|
|
3387
3387
|
const u = o.up(l);
|
|
3388
3388
|
s[u] = n(t[l], l);
|
|
3389
3389
|
} else {
|
|
@@ -3432,9 +3432,9 @@ function ue(e) {
|
|
|
3432
3432
|
if (s[t] == null)
|
|
3433
3433
|
return null;
|
|
3434
3434
|
const l = s[t], u = s.theme, f = pn(u, r) || {};
|
|
3435
|
-
return
|
|
3436
|
-
let p = tn(f, a,
|
|
3437
|
-
return
|
|
3435
|
+
return gt(s, l, (m) => {
|
|
3436
|
+
let p = tn(f, a, m);
|
|
3437
|
+
return m === p && typeof m == "string" && (p = tn(f, a, `${t}${m === "default" ? "" : at(m)}`, m)), n === !1 ? p : {
|
|
3438
3438
|
[n]: p
|
|
3439
3439
|
};
|
|
3440
3440
|
});
|
|
@@ -3470,7 +3470,7 @@ const wu = {
|
|
|
3470
3470
|
return [e];
|
|
3471
3471
|
const [t, n] = e.split(""), r = wu[t], a = Cu[n] || "";
|
|
3472
3472
|
return Array.isArray(a) ? a.map((o) => r + o) : [r + a];
|
|
3473
|
-
}),
|
|
3473
|
+
}), mn = ["m", "mt", "mr", "mb", "ml", "mx", "my", "margin", "marginTop", "marginRight", "marginBottom", "marginLeft", "marginX", "marginY", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBlock", "marginBlockStart", "marginBlockEnd"], gn = ["p", "pt", "pr", "pb", "pl", "px", "py", "padding", "paddingTop", "paddingRight", "paddingBottom", "paddingLeft", "paddingX", "paddingY", "paddingInline", "paddingInlineStart", "paddingInlineEnd", "paddingBlock", "paddingBlockStart", "paddingBlockEnd"], _u = [...mn, ...gn];
|
|
3474
3474
|
function Dr(e, t, n, r) {
|
|
3475
3475
|
var a;
|
|
3476
3476
|
const o = (a = pn(e, t, !1)) != null ? a : n;
|
|
@@ -3496,22 +3496,22 @@ function Ru(e, t, n, r) {
|
|
|
3496
3496
|
if (t.indexOf(n) === -1)
|
|
3497
3497
|
return null;
|
|
3498
3498
|
const a = Au(n), o = zu(a, r), s = e[n];
|
|
3499
|
-
return
|
|
3499
|
+
return gt(e, s, o);
|
|
3500
3500
|
}
|
|
3501
3501
|
function oi(e, t) {
|
|
3502
3502
|
const n = ai(e.theme);
|
|
3503
3503
|
return Object.keys(e).map((r) => Ru(e, t, r, n)).reduce(yr, {});
|
|
3504
3504
|
}
|
|
3505
3505
|
function Ee(e) {
|
|
3506
|
-
return oi(e,
|
|
3506
|
+
return oi(e, mn);
|
|
3507
3507
|
}
|
|
3508
|
-
Ee.propTypes = process.env.NODE_ENV !== "production" ?
|
|
3509
|
-
Ee.filterProps =
|
|
3508
|
+
Ee.propTypes = process.env.NODE_ENV !== "production" ? mn.reduce((e, t) => (e[t] = Dt, e), {}) : {};
|
|
3509
|
+
Ee.filterProps = mn;
|
|
3510
3510
|
function Ne(e) {
|
|
3511
|
-
return oi(e,
|
|
3511
|
+
return oi(e, gn);
|
|
3512
3512
|
}
|
|
3513
|
-
Ne.propTypes = process.env.NODE_ENV !== "production" ?
|
|
3514
|
-
Ne.filterProps =
|
|
3513
|
+
Ne.propTypes = process.env.NODE_ENV !== "production" ? gn.reduce((e, t) => (e[t] = Dt, e), {}) : {};
|
|
3514
|
+
Ne.filterProps = gn;
|
|
3515
3515
|
process.env.NODE_ENV !== "production" && _u.reduce((e, t) => (e[t] = Dt, e), {});
|
|
3516
3516
|
function ku(e = 8) {
|
|
3517
3517
|
if (e.mui)
|
|
@@ -3524,7 +3524,7 @@ function ku(e = 8) {
|
|
|
3524
3524
|
}).join(" "));
|
|
3525
3525
|
return n.mui = !0, n;
|
|
3526
3526
|
}
|
|
3527
|
-
function
|
|
3527
|
+
function hn(...e) {
|
|
3528
3528
|
const t = e.reduce((r, a) => (a.filterProps.forEach((o) => {
|
|
3529
3529
|
r[o] = a;
|
|
3530
3530
|
}), r), {}), n = (r) => Object.keys(r).reduce((a, o) => t[o] ? yr(a, t[o](r)) : a, {});
|
|
@@ -3573,7 +3573,7 @@ const Lu = ue({
|
|
|
3573
3573
|
const t = Dr(e.theme, "shape.borderRadius", 4, "borderRadius"), n = (r) => ({
|
|
3574
3574
|
borderRadius: Er(t, r)
|
|
3575
3575
|
});
|
|
3576
|
-
return
|
|
3576
|
+
return gt(e, e.borderRadius, n);
|
|
3577
3577
|
}
|
|
3578
3578
|
return null;
|
|
3579
3579
|
};
|
|
@@ -3581,13 +3581,13 @@ yn.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
|
3581
3581
|
borderRadius: Dt
|
|
3582
3582
|
} : {};
|
|
3583
3583
|
yn.filterProps = ["borderRadius"];
|
|
3584
|
-
|
|
3584
|
+
hn(Lu, $u, Pu, Yu, Uu, Fu, Vu, Qu, Bu, qu, yn);
|
|
3585
3585
|
const vn = (e) => {
|
|
3586
3586
|
if (e.gap !== void 0 && e.gap !== null) {
|
|
3587
3587
|
const t = Dr(e.theme, "spacing", 8, "gap"), n = (r) => ({
|
|
3588
3588
|
gap: Er(t, r)
|
|
3589
3589
|
});
|
|
3590
|
-
return
|
|
3590
|
+
return gt(e, e.gap, n);
|
|
3591
3591
|
}
|
|
3592
3592
|
return null;
|
|
3593
3593
|
};
|
|
@@ -3600,7 +3600,7 @@ const bn = (e) => {
|
|
|
3600
3600
|
const t = Dr(e.theme, "spacing", 8, "columnGap"), n = (r) => ({
|
|
3601
3601
|
columnGap: Er(t, r)
|
|
3602
3602
|
});
|
|
3603
|
-
return
|
|
3603
|
+
return gt(e, e.columnGap, n);
|
|
3604
3604
|
}
|
|
3605
3605
|
return null;
|
|
3606
3606
|
};
|
|
@@ -3613,7 +3613,7 @@ const Mn = (e) => {
|
|
|
3613
3613
|
const t = Dr(e.theme, "spacing", 8, "rowGap"), n = (r) => ({
|
|
3614
3614
|
rowGap: Er(t, r)
|
|
3615
3615
|
});
|
|
3616
|
-
return
|
|
3616
|
+
return gt(e, e.rowGap, n);
|
|
3617
3617
|
}
|
|
3618
3618
|
return null;
|
|
3619
3619
|
};
|
|
@@ -3640,7 +3640,7 @@ const Wu = ue({
|
|
|
3640
3640
|
}), td = ue({
|
|
3641
3641
|
prop: "gridArea"
|
|
3642
3642
|
});
|
|
3643
|
-
|
|
3643
|
+
hn(vn, bn, Mn, Wu, Gu, Ku, Ju, Zu, Xu, Hu, ed, td);
|
|
3644
3644
|
function Qt(e, t) {
|
|
3645
3645
|
return t === "grey" ? t : e;
|
|
3646
3646
|
}
|
|
@@ -3658,7 +3658,7 @@ const rd = ue({
|
|
|
3658
3658
|
themeKey: "palette",
|
|
3659
3659
|
transform: Qt
|
|
3660
3660
|
});
|
|
3661
|
-
|
|
3661
|
+
hn(rd, nd, ad);
|
|
3662
3662
|
function Ze(e) {
|
|
3663
3663
|
return e <= 1 && e !== 0 ? `${e * 100}%` : e;
|
|
3664
3664
|
}
|
|
@@ -3669,7 +3669,7 @@ const od = ue({
|
|
|
3669
3669
|
if (e.maxWidth !== void 0 && e.maxWidth !== null) {
|
|
3670
3670
|
const t = (n) => {
|
|
3671
3671
|
var r, a;
|
|
3672
|
-
const o = ((r = e.theme) == null || (r = r.breakpoints) == null || (r = r.values) == null ? void 0 : r[n]) ||
|
|
3672
|
+
const o = ((r = e.theme) == null || (r = r.breakpoints) == null || (r = r.values) == null ? void 0 : r[n]) || ha[n];
|
|
3673
3673
|
return o ? ((a = e.theme) == null || (a = a.breakpoints) == null ? void 0 : a.unit) !== "px" ? {
|
|
3674
3674
|
maxWidth: `${o}${e.theme.breakpoints.unit}`
|
|
3675
3675
|
} : {
|
|
@@ -3678,7 +3678,7 @@ const od = ue({
|
|
|
3678
3678
|
maxWidth: Ze(n)
|
|
3679
3679
|
};
|
|
3680
3680
|
};
|
|
3681
|
-
return
|
|
3681
|
+
return gt(e, e.maxWidth, t);
|
|
3682
3682
|
}
|
|
3683
3683
|
return null;
|
|
3684
3684
|
};
|
|
@@ -3709,7 +3709,7 @@ ue({
|
|
|
3709
3709
|
const ud = ue({
|
|
3710
3710
|
prop: "boxSizing"
|
|
3711
3711
|
});
|
|
3712
|
-
|
|
3712
|
+
hn(od, ya, sd, id, ld, cd, ud);
|
|
3713
3713
|
const dd = {
|
|
3714
3714
|
// borders
|
|
3715
3715
|
border: {
|
|
@@ -3995,7 +3995,7 @@ function fd(...e) {
|
|
|
3995
3995
|
function pd(e, t) {
|
|
3996
3996
|
return typeof e == "function" ? e(t) : e;
|
|
3997
3997
|
}
|
|
3998
|
-
function
|
|
3998
|
+
function md() {
|
|
3999
3999
|
function e(n, r, a, o) {
|
|
4000
4000
|
const s = {
|
|
4001
4001
|
[n]: r,
|
|
@@ -4009,7 +4009,7 @@ function hd() {
|
|
|
4009
4009
|
cssProperty: u = n,
|
|
4010
4010
|
themeKey: f,
|
|
4011
4011
|
transform: d,
|
|
4012
|
-
style:
|
|
4012
|
+
style: m
|
|
4013
4013
|
} = l;
|
|
4014
4014
|
if (r == null)
|
|
4015
4015
|
return null;
|
|
@@ -4018,10 +4018,10 @@ function hd() {
|
|
|
4018
4018
|
[n]: r
|
|
4019
4019
|
};
|
|
4020
4020
|
const p = pn(a, f) || {};
|
|
4021
|
-
return
|
|
4022
|
-
let
|
|
4023
|
-
return y ===
|
|
4024
|
-
[u]:
|
|
4021
|
+
return m ? m(s) : gt(s, r, (y) => {
|
|
4022
|
+
let g = tn(p, d, y);
|
|
4023
|
+
return y === g && typeof y == "string" && (g = tn(p, d, `${n}${y === "default" ? "" : at(y)}`, y)), u === !1 ? g : {
|
|
4024
|
+
[u]: g
|
|
4025
4025
|
};
|
|
4026
4026
|
});
|
|
4027
4027
|
}
|
|
@@ -4042,7 +4042,7 @@ function hd() {
|
|
|
4042
4042
|
return u;
|
|
4043
4043
|
if (!f)
|
|
4044
4044
|
return null;
|
|
4045
|
-
const d = Ou(o.breakpoints),
|
|
4045
|
+
const d = Ou(o.breakpoints), m = Object.keys(d);
|
|
4046
4046
|
let p = d;
|
|
4047
4047
|
return Object.keys(f).forEach((v) => {
|
|
4048
4048
|
const y = pd(f[v], o);
|
|
@@ -4051,34 +4051,34 @@ function hd() {
|
|
|
4051
4051
|
if (s[v])
|
|
4052
4052
|
p = yr(p, e(v, y, o, s));
|
|
4053
4053
|
else {
|
|
4054
|
-
const
|
|
4054
|
+
const g = gt({
|
|
4055
4055
|
theme: o
|
|
4056
|
-
}, y, (
|
|
4057
|
-
[v]:
|
|
4056
|
+
}, y, (h) => ({
|
|
4057
|
+
[v]: h
|
|
4058
4058
|
}));
|
|
4059
|
-
fd(
|
|
4059
|
+
fd(g, y) ? p[v] = t({
|
|
4060
4060
|
sx: y,
|
|
4061
4061
|
theme: o
|
|
4062
|
-
}) : p = yr(p,
|
|
4062
|
+
}) : p = yr(p, g);
|
|
4063
4063
|
}
|
|
4064
4064
|
else
|
|
4065
4065
|
p = yr(p, e(v, y, o, s));
|
|
4066
|
-
}), Iu(
|
|
4066
|
+
}), Iu(m, p);
|
|
4067
4067
|
}
|
|
4068
4068
|
return Array.isArray(a) ? a.map(l) : l(a);
|
|
4069
4069
|
}
|
|
4070
4070
|
return t;
|
|
4071
4071
|
}
|
|
4072
|
-
const si =
|
|
4072
|
+
const si = md();
|
|
4073
4073
|
si.filterProps = ["sx"];
|
|
4074
|
-
const ba = si,
|
|
4074
|
+
const ba = si, gd = ["breakpoints", "palette", "spacing", "shape"];
|
|
4075
4075
|
function Ma(e = {}, ...t) {
|
|
4076
4076
|
const {
|
|
4077
4077
|
breakpoints: n = {},
|
|
4078
4078
|
palette: r = {},
|
|
4079
4079
|
spacing: a,
|
|
4080
4080
|
shape: o = {}
|
|
4081
|
-
} = e, s =
|
|
4081
|
+
} = e, s = ht(e, gd), l = Tu(n), u = ku(a);
|
|
4082
4082
|
let f = nt({
|
|
4083
4083
|
breakpoints: l,
|
|
4084
4084
|
direction: "ltr",
|
|
@@ -4090,19 +4090,19 @@ function Ma(e = {}, ...t) {
|
|
|
4090
4090
|
spacing: u,
|
|
4091
4091
|
shape: Z({}, Eu, o)
|
|
4092
4092
|
}, s);
|
|
4093
|
-
return f = t.reduce((d,
|
|
4093
|
+
return f = t.reduce((d, m) => nt(d, m), f), f.unstable_sxConfig = Z({}, va, s == null ? void 0 : s.unstable_sxConfig), f.unstable_sx = function(m) {
|
|
4094
4094
|
return ba({
|
|
4095
|
-
sx:
|
|
4095
|
+
sx: m,
|
|
4096
4096
|
theme: this
|
|
4097
4097
|
});
|
|
4098
4098
|
}, f;
|
|
4099
4099
|
}
|
|
4100
|
-
function
|
|
4100
|
+
function hd(e) {
|
|
4101
4101
|
return Object.keys(e).length === 0;
|
|
4102
4102
|
}
|
|
4103
4103
|
function yd(e = null) {
|
|
4104
4104
|
const t = J.useContext(fn);
|
|
4105
|
-
return !t ||
|
|
4105
|
+
return !t || hd(t) ? e : t;
|
|
4106
4106
|
}
|
|
4107
4107
|
const vd = Ma();
|
|
4108
4108
|
function bd(e = vd) {
|
|
@@ -4115,7 +4115,7 @@ function Ho(e) {
|
|
|
4115
4115
|
function ii(e) {
|
|
4116
4116
|
const {
|
|
4117
4117
|
variant: t
|
|
4118
|
-
} = e, n =
|
|
4118
|
+
} = e, n = ht(e, Md);
|
|
4119
4119
|
let r = t || "";
|
|
4120
4120
|
return Object.keys(n).sort().forEach((a) => {
|
|
4121
4121
|
a === "color" ? r += Ho(r) ? e[a] : at(e[a]) : r += `${Ho(r) ? a : at(a)}${at(e[a].toString())}`;
|
|
@@ -4206,22 +4206,22 @@ function Sd(e = {}) {
|
|
|
4206
4206
|
name: u,
|
|
4207
4207
|
slot: f,
|
|
4208
4208
|
skipVariantsResolver: d,
|
|
4209
|
-
skipSx:
|
|
4209
|
+
skipSx: m,
|
|
4210
4210
|
// TODO v6: remove `lowercaseFirstLetter()` in the next major release
|
|
4211
4211
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
4212
4212
|
overridesResolver: p = Id(es(f))
|
|
4213
|
-
} = l, v =
|
|
4213
|
+
} = l, v = ht(l, xd), y = d !== void 0 ? d : (
|
|
4214
4214
|
// TODO v6: remove `Root` in the next major release
|
|
4215
4215
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
4216
4216
|
f && f !== "Root" && f !== "root" || !1
|
|
4217
|
-
),
|
|
4218
|
-
let
|
|
4219
|
-
process.env.NODE_ENV !== "production" && u && (
|
|
4217
|
+
), g = m || !1;
|
|
4218
|
+
let h;
|
|
4219
|
+
process.env.NODE_ENV !== "production" && u && (h = `${u}-${es(f || "Root")}`);
|
|
4220
4220
|
let M = Jr;
|
|
4221
4221
|
f === "Root" || f === "root" ? M = r : f ? M = a : Td(s) && (M = void 0);
|
|
4222
4222
|
const D = bu(s, Z({
|
|
4223
4223
|
shouldForwardProp: M,
|
|
4224
|
-
label:
|
|
4224
|
+
label: h
|
|
4225
4225
|
}, v)), S = (w, ...b) => {
|
|
4226
4226
|
const Q = b ? b.map((A) => {
|
|
4227
4227
|
if (typeof A == "function" && A.__emotion_real !== A)
|
|
@@ -4281,7 +4281,7 @@ function Sd(e = {}) {
|
|
|
4281
4281
|
themeId: t
|
|
4282
4282
|
}));
|
|
4283
4283
|
return Nd(A, Ed(u, fe), fe, u);
|
|
4284
|
-
}),
|
|
4284
|
+
}), g || Q.push(o);
|
|
4285
4285
|
const de = Q.length - b.length;
|
|
4286
4286
|
if (Array.isArray(w) && de > 0) {
|
|
4287
4287
|
const A = new Array(de).fill("");
|
|
@@ -4477,7 +4477,7 @@ const Ld = {
|
|
|
4477
4477
|
A200: "#ffab40",
|
|
4478
4478
|
A400: "#ff9100",
|
|
4479
4479
|
A700: "#ff6d00"
|
|
4480
|
-
},
|
|
4480
|
+
}, mr = Fd, Vd = {
|
|
4481
4481
|
50: "#e3f2fd",
|
|
4482
4482
|
100: "#bbdefb",
|
|
4483
4483
|
200: "#90caf9",
|
|
@@ -4646,14 +4646,14 @@ function Zd(e = "light") {
|
|
|
4646
4646
|
}
|
|
4647
4647
|
function Xd(e = "light") {
|
|
4648
4648
|
return e === "dark" ? {
|
|
4649
|
-
main:
|
|
4650
|
-
light:
|
|
4651
|
-
dark:
|
|
4649
|
+
main: mr[400],
|
|
4650
|
+
light: mr[300],
|
|
4651
|
+
dark: mr[700]
|
|
4652
4652
|
} : {
|
|
4653
4653
|
main: "#ed6c02",
|
|
4654
4654
|
// closest to orange[800] that pass 3:1.
|
|
4655
|
-
light:
|
|
4656
|
-
dark:
|
|
4655
|
+
light: mr[500],
|
|
4656
|
+
dark: mr[900]
|
|
4657
4657
|
};
|
|
4658
4658
|
}
|
|
4659
4659
|
function Hd(e) {
|
|
@@ -4661,29 +4661,29 @@ function Hd(e) {
|
|
|
4661
4661
|
mode: t = "light",
|
|
4662
4662
|
contrastThreshold: n = 3,
|
|
4663
4663
|
tonalOffset: r = 0.2
|
|
4664
|
-
} = e, a =
|
|
4665
|
-
function
|
|
4666
|
-
const
|
|
4664
|
+
} = e, a = ht(e, qd), o = e.primary || Wd(t), s = e.secondary || Gd(t), l = e.error || Kd(t), u = e.info || Jd(t), f = e.success || Zd(t), d = e.warning || Xd(t);
|
|
4665
|
+
function m(g) {
|
|
4666
|
+
const h = ns(g, Yn.text.primary) >= n ? Yn.text.primary : as.text.primary;
|
|
4667
4667
|
if (process.env.NODE_ENV !== "production") {
|
|
4668
|
-
const M = ns(
|
|
4669
|
-
M < 3 && console.error([`MUI: The contrast ratio of ${M}:1 for ${
|
|
4668
|
+
const M = ns(g, h);
|
|
4669
|
+
M < 3 && console.error([`MUI: The contrast ratio of ${M}:1 for ${h} on ${g}`, "falls below the WCAG recommended absolute minimum contrast ratio of 3:1.", "https://www.w3.org/TR/2008/REC-WCAG20-20081211/#visual-audio-contrast-contrast"].join(`
|
|
4670
4670
|
`));
|
|
4671
4671
|
}
|
|
4672
|
-
return
|
|
4672
|
+
return h;
|
|
4673
4673
|
}
|
|
4674
4674
|
const p = ({
|
|
4675
|
-
color:
|
|
4676
|
-
name:
|
|
4675
|
+
color: g,
|
|
4676
|
+
name: h,
|
|
4677
4677
|
mainShade: M = 500,
|
|
4678
4678
|
lightShade: D = 300,
|
|
4679
4679
|
darkShade: S = 700
|
|
4680
4680
|
}) => {
|
|
4681
|
-
if (
|
|
4682
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${
|
|
4683
|
-
The color object needs to have a \`main\` property or a \`${M}\` property.` : qt(11,
|
|
4684
|
-
if (typeof
|
|
4685
|
-
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${
|
|
4686
|
-
\`color.main\` should be a string, but \`${JSON.stringify(
|
|
4681
|
+
if (g = Z({}, g), !g.main && g[M] && (g.main = g[M]), !g.hasOwnProperty("main"))
|
|
4682
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${h ? ` (${h})` : ""} provided to augmentColor(color) is invalid.
|
|
4683
|
+
The color object needs to have a \`main\` property or a \`${M}\` property.` : qt(11, h ? ` (${h})` : "", M));
|
|
4684
|
+
if (typeof g.main != "string")
|
|
4685
|
+
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The color${h ? ` (${h})` : ""} provided to augmentColor(color) is invalid.
|
|
4686
|
+
\`color.main\` should be a string, but \`${JSON.stringify(g.main)}\` was provided instead.
|
|
4687
4687
|
|
|
4688
4688
|
Did you intend to use one of the following approaches?
|
|
4689
4689
|
|
|
@@ -4695,8 +4695,8 @@ const theme1 = createTheme({ palette: {
|
|
|
4695
4695
|
|
|
4696
4696
|
const theme2 = createTheme({ palette: {
|
|
4697
4697
|
primary: { main: green[500] },
|
|
4698
|
-
} });` : qt(12,
|
|
4699
|
-
return os(
|
|
4698
|
+
} });` : qt(12, h ? ` (${h})` : "", JSON.stringify(g.main)));
|
|
4699
|
+
return os(g, "light", D, r), os(g, "dark", S, r), g.contrastText || (g.contrastText = m(g.main)), g;
|
|
4700
4700
|
}, v = {
|
|
4701
4701
|
dark: Yn,
|
|
4702
4702
|
light: as
|
|
@@ -4746,7 +4746,7 @@ const theme2 = createTheme({ palette: {
|
|
|
4746
4746
|
// the background and the text.
|
|
4747
4747
|
contrastThreshold: n,
|
|
4748
4748
|
// Takes a background color and returns the text color that maximizes the contrast.
|
|
4749
|
-
getContrastText:
|
|
4749
|
+
getContrastText: m,
|
|
4750
4750
|
// Generate a rich color object.
|
|
4751
4751
|
augmentColor: p,
|
|
4752
4752
|
// Used by the functions below to shift a color's luminance by approximately
|
|
@@ -4777,10 +4777,10 @@ function rf(e, t) {
|
|
|
4777
4777
|
htmlFontSize: f = 16,
|
|
4778
4778
|
// Apply the CSS properties to all the variants.
|
|
4779
4779
|
allVariants: d,
|
|
4780
|
-
pxToRem:
|
|
4781
|
-
} = n, p =
|
|
4780
|
+
pxToRem: m
|
|
4781
|
+
} = n, p = ht(n, ef);
|
|
4782
4782
|
process.env.NODE_ENV !== "production" && (typeof a != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof f != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
4783
|
-
const v = a / 14, y =
|
|
4783
|
+
const v = a / 14, y = m || ((M) => `${M / f * v}rem`), g = (M, D, S, w, b) => Z({
|
|
4784
4784
|
fontFamily: r,
|
|
4785
4785
|
fontWeight: M,
|
|
4786
4786
|
fontSize: y(D),
|
|
@@ -4788,20 +4788,20 @@ function rf(e, t) {
|
|
|
4788
4788
|
lineHeight: S
|
|
4789
4789
|
}, r === is ? {
|
|
4790
4790
|
letterSpacing: `${tf(w / D)}em`
|
|
4791
|
-
} : {}, b, d),
|
|
4792
|
-
h1:
|
|
4793
|
-
h2:
|
|
4794
|
-
h3:
|
|
4795
|
-
h4:
|
|
4796
|
-
h5:
|
|
4797
|
-
h6:
|
|
4798
|
-
subtitle1:
|
|
4799
|
-
subtitle2:
|
|
4800
|
-
body1:
|
|
4801
|
-
body2:
|
|
4802
|
-
button:
|
|
4803
|
-
caption:
|
|
4804
|
-
overline:
|
|
4791
|
+
} : {}, b, d), h = {
|
|
4792
|
+
h1: g(o, 96, 1.167, -1.5),
|
|
4793
|
+
h2: g(o, 60, 1.2, -0.5),
|
|
4794
|
+
h3: g(s, 48, 1.167, 0),
|
|
4795
|
+
h4: g(s, 34, 1.235, 0.25),
|
|
4796
|
+
h5: g(s, 24, 1.334, 0),
|
|
4797
|
+
h6: g(l, 20, 1.6, 0.15),
|
|
4798
|
+
subtitle1: g(s, 16, 1.75, 0.15),
|
|
4799
|
+
subtitle2: g(l, 14, 1.57, 0.1),
|
|
4800
|
+
body1: g(s, 16, 1.5, 0.15),
|
|
4801
|
+
body2: g(s, 14, 1.43, 0.15),
|
|
4802
|
+
button: g(l, 14, 1.75, 0.4, ss),
|
|
4803
|
+
caption: g(s, 12, 1.66, 0.4),
|
|
4804
|
+
overline: g(s, 12, 2.66, 1, ss),
|
|
4805
4805
|
// TODO v6: Remove handling of 'inherit' variant from the theme as it is already handled in Material UI's Typography component. Also, remember to remove the associated types.
|
|
4806
4806
|
inherit: {
|
|
4807
4807
|
fontFamily: "inherit",
|
|
@@ -4820,7 +4820,7 @@ function rf(e, t) {
|
|
|
4820
4820
|
fontWeightRegular: s,
|
|
4821
4821
|
fontWeightMedium: l,
|
|
4822
4822
|
fontWeightBold: u
|
|
4823
|
-
},
|
|
4823
|
+
}, h), p, {
|
|
4824
4824
|
clone: !1
|
|
4825
4825
|
// No need to clone deep
|
|
4826
4826
|
});
|
|
@@ -4870,10 +4870,10 @@ function pf(e) {
|
|
|
4870
4870
|
duration: s = n.standard,
|
|
4871
4871
|
easing: l = t.easeInOut,
|
|
4872
4872
|
delay: u = 0
|
|
4873
|
-
} = o, f =
|
|
4873
|
+
} = o, f = ht(o, cf);
|
|
4874
4874
|
if (process.env.NODE_ENV !== "production") {
|
|
4875
|
-
const d = (p) => typeof p == "string",
|
|
4876
|
-
!d(a) && !Array.isArray(a) && console.error('MUI: Argument "props" must be a string or Array.'), !
|
|
4875
|
+
const d = (p) => typeof p == "string", m = (p) => !isNaN(parseFloat(p));
|
|
4876
|
+
!d(a) && !Array.isArray(a) && console.error('MUI: Argument "props" must be a string or Array.'), !m(s) && !d(s) && console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`), d(l) || console.error('MUI: Argument "easing" must be a string.'), !m(u) && !d(u) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof o != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join(`
|
|
4877
4877
|
`)), Object.keys(f).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(f).join(",")}].`);
|
|
4878
4878
|
}
|
|
4879
4879
|
return (Array.isArray(a) ? a : [a]).map((d) => `${d} ${typeof s == "string" ? s : ls(s)} ${l} ${typeof u == "string" ? u : ls(u)}`).join(",");
|
|
@@ -4883,7 +4883,7 @@ function pf(e) {
|
|
|
4883
4883
|
duration: n
|
|
4884
4884
|
});
|
|
4885
4885
|
}
|
|
4886
|
-
const
|
|
4886
|
+
const mf = {
|
|
4887
4887
|
mobileStepper: 1e3,
|
|
4888
4888
|
fab: 1050,
|
|
4889
4889
|
speedDial: 1050,
|
|
@@ -4892,14 +4892,14 @@ const hf = {
|
|
|
4892
4892
|
modal: 1300,
|
|
4893
4893
|
snackbar: 1400,
|
|
4894
4894
|
tooltip: 1500
|
|
4895
|
-
},
|
|
4895
|
+
}, gf = mf, hf = ["breakpoints", "mixins", "spacing", "palette", "transitions", "typography", "shape"];
|
|
4896
4896
|
function yf(e = {}, ...t) {
|
|
4897
4897
|
const {
|
|
4898
4898
|
mixins: n = {},
|
|
4899
4899
|
palette: r = {},
|
|
4900
4900
|
transitions: a = {},
|
|
4901
4901
|
typography: o = {}
|
|
4902
|
-
} = e, s =
|
|
4902
|
+
} = e, s = ht(e, hf);
|
|
4903
4903
|
if (e.vars)
|
|
4904
4904
|
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : qt(18));
|
|
4905
4905
|
const l = Hd(r), u = Ma(e);
|
|
@@ -4910,19 +4910,19 @@ function yf(e = {}, ...t) {
|
|
|
4910
4910
|
shadows: lf.slice(),
|
|
4911
4911
|
typography: rf(l, o),
|
|
4912
4912
|
transitions: pf(a),
|
|
4913
|
-
zIndex: Z({},
|
|
4913
|
+
zIndex: Z({}, gf)
|
|
4914
4914
|
});
|
|
4915
|
-
if (f = nt(f, s), f = t.reduce((d,
|
|
4916
|
-
const d = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"],
|
|
4915
|
+
if (f = nt(f, s), f = t.reduce((d, m) => nt(d, m), f), process.env.NODE_ENV !== "production") {
|
|
4916
|
+
const d = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], m = (p, v) => {
|
|
4917
4917
|
let y;
|
|
4918
4918
|
for (y in p) {
|
|
4919
|
-
const
|
|
4920
|
-
if (d.indexOf(y) !== -1 && Object.keys(
|
|
4919
|
+
const g = p[y];
|
|
4920
|
+
if (d.indexOf(y) !== -1 && Object.keys(g).length > 0) {
|
|
4921
4921
|
if (process.env.NODE_ENV !== "production") {
|
|
4922
|
-
const
|
|
4923
|
-
console.error([`MUI: The \`${v}\` component increases the CSS specificity of the \`${y}\` internal state.`, "You can not override it like this: ", JSON.stringify(p, null, 2), "", `Instead, you need to use the '&.${
|
|
4922
|
+
const h = la("", y);
|
|
4923
|
+
console.error([`MUI: The \`${v}\` component increases the CSS specificity of the \`${y}\` internal state.`, "You can not override it like this: ", JSON.stringify(p, null, 2), "", `Instead, you need to use the '&.${h}' syntax:`, JSON.stringify({
|
|
4924
4924
|
root: {
|
|
4925
|
-
[`&.${
|
|
4925
|
+
[`&.${h}`]: g
|
|
4926
4926
|
}
|
|
4927
4927
|
}, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
|
|
4928
4928
|
`));
|
|
@@ -4933,12 +4933,12 @@ function yf(e = {}, ...t) {
|
|
|
4933
4933
|
};
|
|
4934
4934
|
Object.keys(f.components).forEach((p) => {
|
|
4935
4935
|
const v = f.components[p].styleOverrides;
|
|
4936
|
-
v && p.indexOf("Mui") === 0 &&
|
|
4936
|
+
v && p.indexOf("Mui") === 0 && m(v, p);
|
|
4937
4937
|
});
|
|
4938
4938
|
}
|
|
4939
|
-
return f.unstable_sxConfig = Z({}, va, s == null ? void 0 : s.unstable_sxConfig), f.unstable_sx = function(
|
|
4939
|
+
return f.unstable_sxConfig = Z({}, va, s == null ? void 0 : s.unstable_sxConfig), f.unstable_sx = function(m) {
|
|
4940
4940
|
return ba({
|
|
4941
|
-
sx:
|
|
4941
|
+
sx: m,
|
|
4942
4942
|
theme: this
|
|
4943
4943
|
});
|
|
4944
4944
|
}, f;
|
|
@@ -4963,7 +4963,7 @@ const Mf = (e) => Jr(e) && e !== "classes", xf = Sd({
|
|
|
4963
4963
|
function Tf(e) {
|
|
4964
4964
|
return la("MuiSvgIcon", e);
|
|
4965
4965
|
}
|
|
4966
|
-
|
|
4966
|
+
mc("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
|
|
4967
4967
|
const Df = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"], Ef = (e) => {
|
|
4968
4968
|
const {
|
|
4969
4969
|
color: t,
|
|
@@ -4986,7 +4986,7 @@ const Df = ["children", "className", "color", "component", "fontSize", "htmlColo
|
|
|
4986
4986
|
theme: e,
|
|
4987
4987
|
ownerState: t
|
|
4988
4988
|
}) => {
|
|
4989
|
-
var n, r, a, o, s, l, u, f, d,
|
|
4989
|
+
var n, r, a, o, s, l, u, f, d, m, p, v, y;
|
|
4990
4990
|
return {
|
|
4991
4991
|
userSelect: "none",
|
|
4992
4992
|
width: "1em",
|
|
@@ -5006,7 +5006,7 @@ const Df = ["children", "className", "color", "component", "fontSize", "htmlColo
|
|
|
5006
5006
|
large: ((f = e.typography) == null || (d = f.pxToRem) == null ? void 0 : d.call(f, 35)) || "2.1875rem"
|
|
5007
5007
|
}[t.fontSize],
|
|
5008
5008
|
// TODO v5 deprecate, v6 remove for sx
|
|
5009
|
-
color: (
|
|
5009
|
+
color: (m = (p = (e.vars || e).palette) == null || (p = p[t.color]) == null ? void 0 : p.main) != null ? m : {
|
|
5010
5010
|
action: (v = (e.vars || e).palette) == null || (v = v.action) == null ? void 0 : v.active,
|
|
5011
5011
|
disabled: (y = (e.vars || e).palette) == null || (y = y.action) == null ? void 0 : y.disabled,
|
|
5012
5012
|
inherit: void 0
|
|
@@ -5024,9 +5024,9 @@ const Df = ["children", "className", "color", "component", "fontSize", "htmlColo
|
|
|
5024
5024
|
fontSize: u = "medium",
|
|
5025
5025
|
htmlColor: f,
|
|
5026
5026
|
inheritViewBox: d = !1,
|
|
5027
|
-
titleAccess:
|
|
5027
|
+
titleAccess: m,
|
|
5028
5028
|
viewBox: p = "0 0 24 24"
|
|
5029
|
-
} = r, v =
|
|
5029
|
+
} = r, v = ht(r, Df), y = /* @__PURE__ */ J.isValidElement(a) && a.type === "svg", g = Z({}, r, {
|
|
5030
5030
|
color: s,
|
|
5031
5031
|
component: l,
|
|
5032
5032
|
fontSize: u,
|
|
@@ -5034,21 +5034,21 @@ const Df = ["children", "className", "color", "component", "fontSize", "htmlColo
|
|
|
5034
5034
|
inheritViewBox: d,
|
|
5035
5035
|
viewBox: p,
|
|
5036
5036
|
hasSvgAsChild: y
|
|
5037
|
-
}),
|
|
5038
|
-
d || (
|
|
5039
|
-
const M = Ef(
|
|
5037
|
+
}), h = {};
|
|
5038
|
+
d || (h.viewBox = p);
|
|
5039
|
+
const M = Ef(g);
|
|
5040
5040
|
return /* @__PURE__ */ i.jsxs(Nf, Z({
|
|
5041
5041
|
as: l,
|
|
5042
|
-
className:
|
|
5042
|
+
className: gc(M.root, o),
|
|
5043
5043
|
focusable: "false",
|
|
5044
5044
|
color: f,
|
|
5045
|
-
"aria-hidden":
|
|
5046
|
-
role:
|
|
5045
|
+
"aria-hidden": m ? void 0 : !0,
|
|
5046
|
+
role: m ? "img" : void 0,
|
|
5047
5047
|
ref: n
|
|
5048
|
-
},
|
|
5049
|
-
ownerState:
|
|
5050
|
-
children: [y ? a.props.children : a,
|
|
5051
|
-
children:
|
|
5048
|
+
}, h, v, y && a.props, {
|
|
5049
|
+
ownerState: g,
|
|
5050
|
+
children: [y ? a.props.children : a, m ? /* @__PURE__ */ i.jsx("title", {
|
|
5051
|
+
children: m
|
|
5052
5052
|
}) : null]
|
|
5053
5053
|
}));
|
|
5054
5054
|
});
|
|
@@ -5060,15 +5060,15 @@ process.env.NODE_ENV !== "production" && (ja.propTypes = {
|
|
|
5060
5060
|
/**
|
|
5061
5061
|
* Node passed into the SVG element.
|
|
5062
5062
|
*/
|
|
5063
|
-
children:
|
|
5063
|
+
children: me.node,
|
|
5064
5064
|
/**
|
|
5065
5065
|
* Override or extend the styles applied to the component.
|
|
5066
5066
|
*/
|
|
5067
|
-
classes:
|
|
5067
|
+
classes: me.object,
|
|
5068
5068
|
/**
|
|
5069
5069
|
* @ignore
|
|
5070
5070
|
*/
|
|
5071
|
-
className:
|
|
5071
|
+
className: me.string,
|
|
5072
5072
|
/**
|
|
5073
5073
|
* The color of the component.
|
|
5074
5074
|
* It supports both default and custom theme colors, which can be added as shown in the
|
|
@@ -5076,21 +5076,21 @@ process.env.NODE_ENV !== "production" && (ja.propTypes = {
|
|
|
5076
5076
|
* You can use the `htmlColor` prop to apply a color attribute to the SVG element.
|
|
5077
5077
|
* @default 'inherit'
|
|
5078
5078
|
*/
|
|
5079
|
-
color:
|
|
5079
|
+
color: me.oneOfType([me.oneOf(["inherit", "action", "disabled", "primary", "secondary", "error", "info", "success", "warning"]), me.string]),
|
|
5080
5080
|
/**
|
|
5081
5081
|
* The component used for the root node.
|
|
5082
5082
|
* Either a string to use a HTML element or a component.
|
|
5083
5083
|
*/
|
|
5084
|
-
component:
|
|
5084
|
+
component: me.elementType,
|
|
5085
5085
|
/**
|
|
5086
5086
|
* The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.
|
|
5087
5087
|
* @default 'medium'
|
|
5088
5088
|
*/
|
|
5089
|
-
fontSize:
|
|
5089
|
+
fontSize: me.oneOfType([me.oneOf(["inherit", "large", "medium", "small"]), me.string]),
|
|
5090
5090
|
/**
|
|
5091
5091
|
* Applies a color attribute to the SVG element.
|
|
5092
5092
|
*/
|
|
5093
|
-
htmlColor:
|
|
5093
|
+
htmlColor: me.string,
|
|
5094
5094
|
/**
|
|
5095
5095
|
* If `true`, the root node will inherit the custom `component`'s viewBox and the `viewBox`
|
|
5096
5096
|
* prop will be ignored.
|
|
@@ -5098,22 +5098,22 @@ process.env.NODE_ENV !== "production" && (ja.propTypes = {
|
|
|
5098
5098
|
* `component`'s viewBox to the root node.
|
|
5099
5099
|
* @default false
|
|
5100
5100
|
*/
|
|
5101
|
-
inheritViewBox:
|
|
5101
|
+
inheritViewBox: me.bool,
|
|
5102
5102
|
/**
|
|
5103
5103
|
* The shape-rendering attribute. The behavior of the different options is described on the
|
|
5104
5104
|
* [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/shape-rendering).
|
|
5105
5105
|
* If you are having issues with blurry icons you should investigate this prop.
|
|
5106
5106
|
*/
|
|
5107
|
-
shapeRendering:
|
|
5107
|
+
shapeRendering: me.string,
|
|
5108
5108
|
/**
|
|
5109
5109
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
5110
5110
|
*/
|
|
5111
|
-
sx:
|
|
5111
|
+
sx: me.oneOfType([me.arrayOf(me.oneOfType([me.func, me.object, me.bool])), me.func, me.object]),
|
|
5112
5112
|
/**
|
|
5113
5113
|
* Provides a human-readable title for the element that contains it.
|
|
5114
5114
|
* https://www.w3.org/TR/SVG-access/#Equivalent
|
|
5115
5115
|
*/
|
|
5116
|
-
titleAccess:
|
|
5116
|
+
titleAccess: me.string,
|
|
5117
5117
|
/**
|
|
5118
5118
|
* Allows you to redefine what the coordinates without units mean inside an SVG element.
|
|
5119
5119
|
* For example, if the SVG element is 500 (width) by 200 (height),
|
|
@@ -5122,7 +5122,7 @@ process.env.NODE_ENV !== "production" && (ja.propTypes = {
|
|
|
5122
5122
|
* to bottom right (50,20) and each unit will be worth 10px.
|
|
5123
5123
|
* @default '0 0 24 24'
|
|
5124
5124
|
*/
|
|
5125
|
-
viewBox:
|
|
5125
|
+
viewBox: me.string
|
|
5126
5126
|
});
|
|
5127
5127
|
ja.muiName = "SvgIcon";
|
|
5128
5128
|
const cs = ja;
|
|
@@ -5202,14 +5202,14 @@ var pi = Da.default = void 0, Yf = Pf(Ie()), Uf = i, Ff = (0, Yf.default)(/* @__
|
|
|
5202
5202
|
d: "M18 2h-7.17c-.53 0-1.04.21-1.42.59L4.59 7.41C4.21 7.79 4 8.3 4 8.83V20c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm-6.35 14.65-2.79-2.79c-.32-.32-.1-.86.35-.86H11v-2.99c0-.55.44-.99.99-1 .56-.01 1.01.44 1.01 1V13h1.79c.45 0 .67.54.35.85l-2.79 2.79c-.19.2-.51.2-.7.01z"
|
|
5203
5203
|
}), "SimCardDownloadRounded");
|
|
5204
5204
|
pi = Da.default = Ff;
|
|
5205
|
-
const
|
|
5205
|
+
const mi = (e, t) => {
|
|
5206
5206
|
if (!e)
|
|
5207
5207
|
return null;
|
|
5208
5208
|
if (e.name === t)
|
|
5209
5209
|
return e;
|
|
5210
5210
|
const n = e.children || [];
|
|
5211
5211
|
for (let r = 0; r < n.length; r += 1) {
|
|
5212
|
-
const a = n[r], o =
|
|
5212
|
+
const a = n[r], o = mi(a, t);
|
|
5213
5213
|
if (o)
|
|
5214
5214
|
return o;
|
|
5215
5215
|
}
|
|
@@ -5226,8 +5226,8 @@ const hi = (e, t) => {
|
|
|
5226
5226
|
const r = (l = e.attributes) == null ? void 0 : l.tree, a = (u = e.children) == null ? void 0 : u.length;
|
|
5227
5227
|
if (r && (n = Kt((f = e.attributes) == null ? void 0 : f.tree, t)), a) {
|
|
5228
5228
|
const { children: d } = e;
|
|
5229
|
-
for (let
|
|
5230
|
-
const p = d[
|
|
5229
|
+
for (let m = 0; m < d.length; m += 1) {
|
|
5230
|
+
const p = d[m];
|
|
5231
5231
|
if (n !== null)
|
|
5232
5232
|
return n;
|
|
5233
5233
|
n = Kt(p, t);
|
|
@@ -5236,7 +5236,7 @@ const hi = (e, t) => {
|
|
|
5236
5236
|
return n;
|
|
5237
5237
|
}, an = (e, t, n) => {
|
|
5238
5238
|
const r = Kt(e, t);
|
|
5239
|
-
return
|
|
5239
|
+
return mi(r, n);
|
|
5240
5240
|
}, Vf = (e, t) => {
|
|
5241
5241
|
if (!e)
|
|
5242
5242
|
return null;
|
|
@@ -5249,25 +5249,25 @@ const hi = (e, t) => {
|
|
|
5249
5249
|
return o.length ? { ...r } : { ...r, attributes: { ...a, isLeaf: !0, isRoot: !0 } };
|
|
5250
5250
|
const s = structuredClone(e), l = an(s, t, n);
|
|
5251
5251
|
return Vf(l, { ...r, ...!a.isDecision && { children: [...((u = an(e, t, n)) == null ? void 0 : u.children) || []] } }), s;
|
|
5252
|
-
},
|
|
5252
|
+
}, gi = (e, t, n = null) => {
|
|
5253
5253
|
if (!e)
|
|
5254
5254
|
return null;
|
|
5255
5255
|
if (e.name === t)
|
|
5256
5256
|
return n;
|
|
5257
5257
|
const r = e.children || [];
|
|
5258
5258
|
for (let a = 0; a < r.length; a += 1) {
|
|
5259
|
-
const o = r[a], s =
|
|
5259
|
+
const o = r[a], s = gi(o, t, e);
|
|
5260
5260
|
if (s !== null)
|
|
5261
5261
|
return s;
|
|
5262
5262
|
}
|
|
5263
5263
|
return null;
|
|
5264
5264
|
}, Bf = (e, t) => (!e || !t || (Object.defineProperty(e, "children", { value: e.children.filter((n) => n.name !== t.name) }), Object.defineProperty(e, "attributes", { value: { ...e.attributes, isLeaf: !0 } })), null), qf = (e, t, n) => {
|
|
5265
5265
|
const r = Kt(e, t);
|
|
5266
|
-
return
|
|
5266
|
+
return gi(r, n);
|
|
5267
5267
|
}, Wf = ({ tree: e, path: t, name: n }) => {
|
|
5268
5268
|
const r = structuredClone(e), a = an(r, t, n), o = qf(r, t, n);
|
|
5269
5269
|
return Bf(o, a), r;
|
|
5270
|
-
},
|
|
5270
|
+
}, hi = (e) => {
|
|
5271
5271
|
if (!e)
|
|
5272
5272
|
return [];
|
|
5273
5273
|
const t = [], n = (r) => {
|
|
@@ -5370,7 +5370,7 @@ const hi = (e, t) => {
|
|
|
5370
5370
|
e
|
|
5371
5371
|
);
|
|
5372
5372
|
}, rp = () => {
|
|
5373
|
-
const { t: e } = Fe(["snackMessage"]), { open: t } = Ea(), { setCurrentTree: n, currentTree: r, tree: a, dispatchTree: o } = ze(), [s, l] =
|
|
5373
|
+
const { t: e } = Fe(["snackMessage"]), { open: t } = Ea(), { setCurrentTree: n, currentTree: r, tree: a, dispatchTree: o } = ze(), [s, l] = ge(!1), { version: u } = ze(), { mutate: f } = tp({
|
|
5374
5374
|
onError: () => {
|
|
5375
5375
|
t(e("error.saveTree", { ns: "snackMessage" }), "error");
|
|
5376
5376
|
},
|
|
@@ -5384,10 +5384,10 @@ const hi = (e, t) => {
|
|
|
5384
5384
|
onSuccess: () => {
|
|
5385
5385
|
t(e("success.updateTree", { ns: "snackMessage" }));
|
|
5386
5386
|
}
|
|
5387
|
-
}),
|
|
5387
|
+
}), m = (M) => JSON.stringify(M, null, 2), p = (M) => `data:text/json;charset=utf-8,${encodeURIComponent(m(M))}`, v = () => {
|
|
5388
5388
|
l(!1);
|
|
5389
5389
|
};
|
|
5390
|
-
return { formatJSON:
|
|
5390
|
+
return { formatJSON: m, getDownloadLink: p, handleClose: v, handleOpen: () => {
|
|
5391
5391
|
l(!0);
|
|
5392
5392
|
}, handleResetTree: () => {
|
|
5393
5393
|
o(yi()), v();
|
|
@@ -5406,9 +5406,9 @@ const hi = (e, t) => {
|
|
|
5406
5406
|
}
|
|
5407
5407
|
}, openModal: s };
|
|
5408
5408
|
}, np = ({ downloadedFileName: e = "export", value: t }) => {
|
|
5409
|
-
const { t: n } = Fe(), { getDownloadLink: r, handleSubmit: a, handleClose: o, handleOpen: s, handleResetTree: l, openModal: u } = rp(), { currentTree: f, backendConfig: d, tree:
|
|
5409
|
+
const { t: n } = Fe(), { getDownloadLink: r, handleSubmit: a, handleClose: o, handleOpen: s, handleResetTree: l, openModal: u } = rp(), { currentTree: f, backendConfig: d, tree: m } = ze(), { id: p } = f;
|
|
5410
5410
|
return /* @__PURE__ */ i.jsxs(ne, { direction: "row", spacing: 2, justifyContent: "center", children: [
|
|
5411
|
-
/* @__PURE__ */ i.jsx(qe, { title: n("resetTree", { ns: "button" }), enterDelay: 1500, disableHoverListener: !t, arrow: !0, children: /* @__PURE__ */ i.jsx(ce, { children: /* @__PURE__ */ i.jsx(We, { disabled: !
|
|
5411
|
+
/* @__PURE__ */ i.jsx(qe, { title: n("resetTree", { ns: "button" }), enterDelay: 1500, disableHoverListener: !t, arrow: !0, children: /* @__PURE__ */ i.jsx(ce, { children: /* @__PURE__ */ i.jsx(We, { disabled: !m, onClick: s, variant: "outlined", color: "warning", children: /* @__PURE__ */ i.jsx(di, {}) }) }) }),
|
|
5412
5412
|
/* @__PURE__ */ i.jsx(Os, { orientation: "vertical", flexItem: !0 }),
|
|
5413
5413
|
/* @__PURE__ */ i.jsx(qe, { title: n("downloadJSONFile", { ns: "button" }), enterDelay: 1500, disableHoverListener: !t, arrow: !0, children: /* @__PURE__ */ i.jsx(ce, { children: /* @__PURE__ */ i.jsx(We, { variant: "outlined", href: r(t), download: `${e}.json`, disabled: !t, children: /* @__PURE__ */ i.jsx(pi, {}) }) }) }),
|
|
5414
5414
|
/* @__PURE__ */ i.jsx(
|
|
@@ -5432,8 +5432,8 @@ const hi = (e, t) => {
|
|
|
5432
5432
|
] });
|
|
5433
5433
|
}, ap = {
|
|
5434
5434
|
box: {
|
|
5435
|
-
backgroundColor:
|
|
5436
|
-
border: `solid 1px ${
|
|
5435
|
+
backgroundColor: he.background,
|
|
5436
|
+
border: `solid 1px ${he.borderBlue}`
|
|
5437
5437
|
}
|
|
5438
5438
|
}, ds = ({ children: e, description: t, open: n, onClose: r, title: a }) => /* @__PURE__ */ i.jsx(
|
|
5439
5439
|
ra,
|
|
@@ -5468,19 +5468,19 @@ const Vr = {
|
|
|
5468
5468
|
margin: 1
|
|
5469
5469
|
},
|
|
5470
5470
|
main: {
|
|
5471
|
-
border: `solid 1px ${
|
|
5471
|
+
border: `solid 1px ${he.borderBlue}`,
|
|
5472
5472
|
height: " 100%",
|
|
5473
5473
|
margin: 1
|
|
5474
5474
|
},
|
|
5475
5475
|
toolbar: {
|
|
5476
|
-
backgroundColor:
|
|
5476
|
+
backgroundColor: he.background,
|
|
5477
5477
|
boxShadow: "none",
|
|
5478
5478
|
display: "flex",
|
|
5479
5479
|
padding: "0 ! important"
|
|
5480
5480
|
},
|
|
5481
5481
|
toolbarBox: {
|
|
5482
|
-
backgroundColor:
|
|
5483
|
-
border: `solid 1px ${
|
|
5482
|
+
backgroundColor: he.tertiary,
|
|
5483
|
+
border: `solid 1px ${he.primary}`,
|
|
5484
5484
|
margin: 1,
|
|
5485
5485
|
paddingX: 2,
|
|
5486
5486
|
paddingY: 1,
|
|
@@ -5504,7 +5504,7 @@ const Vr = {
|
|
|
5504
5504
|
), up = Ts(cp), dp = ({ children: e, open: t, onClose: n, title: r }) => /* @__PURE__ */ i.jsx(
|
|
5505
5505
|
ra,
|
|
5506
5506
|
{
|
|
5507
|
-
PaperProps: { sx: { backgroundColor:
|
|
5507
|
+
PaperProps: { sx: { backgroundColor: he.background, backgroundImage: "none" } },
|
|
5508
5508
|
open: t,
|
|
5509
5509
|
"aria-labelledby": "modal-modal-title",
|
|
5510
5510
|
"aria-describedby": "modal-modal-description",
|
|
@@ -5513,27 +5513,27 @@ const Vr = {
|
|
|
5513
5513
|
children: /* @__PURE__ */ i.jsxs(ce, { sx: Vr.container, children: [
|
|
5514
5514
|
/* @__PURE__ */ i.jsx(Wi, { position: "sticky", elevation: 0, children: /* @__PURE__ */ i.jsx(Gi, { sx: Vr.toolbar, children: /* @__PURE__ */ i.jsxs(ne, { direction: "row", alignItems: "center", justifyContent: "space-between", sx: Vr.toolbarBox, children: [
|
|
5515
5515
|
/* @__PURE__ */ i.jsx(Tt, { variant: "h5", children: /* @__PURE__ */ i.jsx("strong", { children: r }) }),
|
|
5516
|
-
/* @__PURE__ */ i.jsx(
|
|
5516
|
+
/* @__PURE__ */ i.jsx(gr, { edge: "end", color: "inherit", onClick: n, "aria-label": "close", children: /* @__PURE__ */ i.jsx(bi, {}) })
|
|
5517
5517
|
] }) }) }),
|
|
5518
5518
|
/* @__PURE__ */ i.jsx(ce, { sx: Vr.main, children: e })
|
|
5519
5519
|
] })
|
|
5520
5520
|
}
|
|
5521
5521
|
), fp = {
|
|
5522
5522
|
box: {
|
|
5523
|
-
border: `solid 1px ${
|
|
5523
|
+
border: `solid 1px ${he.borderBlue}`,
|
|
5524
5524
|
flexGrow: 0
|
|
5525
5525
|
}
|
|
5526
|
-
}, pp = ({ children: e }) => /* @__PURE__ */ i.jsx(ce, { p: 2, role: "group", sx: fp.box, children: e }),
|
|
5526
|
+
}, pp = ({ children: e }) => /* @__PURE__ */ i.jsx(ce, { p: 2, role: "group", sx: fp.box, children: e }), mp = {
|
|
5527
5527
|
box: {
|
|
5528
|
-
border: `solid 1px ${
|
|
5528
|
+
border: `solid 1px ${he.borderBlue}`,
|
|
5529
5529
|
flexGrow: 0
|
|
5530
5530
|
}
|
|
5531
|
-
},
|
|
5531
|
+
}, gp = ({ children: e }) => /* @__PURE__ */ i.jsx(ce, { sx: mp.box, padding: 2, component: "header", children: e }), hp = {
|
|
5532
5532
|
box: {
|
|
5533
|
-
border: `solid 1px ${
|
|
5533
|
+
border: `solid 1px ${he.borderBlue}`,
|
|
5534
5534
|
flexGrow: 1
|
|
5535
5535
|
}
|
|
5536
|
-
}, yp = ({ children: e }) => /* @__PURE__ */ i.jsx(ce, { sx:
|
|
5536
|
+
}, yp = ({ children: e }) => /* @__PURE__ */ i.jsx(ce, { sx: hp.box, component: "main", role: "tree", children: e }), fs = {
|
|
5537
5537
|
stack: {
|
|
5538
5538
|
width: "100%"
|
|
5539
5539
|
}
|
|
@@ -5551,7 +5551,7 @@ const Vr = {
|
|
|
5551
5551
|
] });
|
|
5552
5552
|
}, bp = {
|
|
5553
5553
|
box: {
|
|
5554
|
-
border: `solid 1px ${
|
|
5554
|
+
border: `solid 1px ${he.borderBlue}`,
|
|
5555
5555
|
flexGrow: 1,
|
|
5556
5556
|
overflow: "auto"
|
|
5557
5557
|
}
|
|
@@ -5621,9 +5621,9 @@ var Xn = Aa.default = void 0, Qp = Vp(Ie()), Bp = i, qp = (0, Qp.default)(/* @__
|
|
|
5621
5621
|
}), "RemoveCircleRounded");
|
|
5622
5622
|
Xn = Aa.default = qp;
|
|
5623
5623
|
const Wp = (e) => e.filter((t) => !t.includes(":")), Gp = ({ value: e, onChange: t, currentName: n }) => {
|
|
5624
|
-
const { t: r } = Fe(["form"]), { tree: a } = ze(), [o, s] =
|
|
5625
|
-
const
|
|
5626
|
-
s(
|
|
5624
|
+
const { t: r } = Fe(["form"]), { tree: a } = ze(), [o, s] = ge(e || ""), l = hi(a), u = Wp(l).filter((d) => d !== n), f = (d) => {
|
|
5625
|
+
const m = d.target.value;
|
|
5626
|
+
s(m), t == null || t(d, m);
|
|
5627
5627
|
};
|
|
5628
5628
|
return /* @__PURE__ */ i.jsxs(na, { sx: { flex: 1.5 }, required: !0, children: [
|
|
5629
5629
|
/* @__PURE__ */ i.jsx(aa, { children: r("form:ancestor") }),
|
|
@@ -5639,8 +5639,8 @@ const Wp = (e) => e.filter((t) => !t.includes(":")), Gp = ({ value: e, onChange:
|
|
|
5639
5639
|
sx: { maxHeight: 300 }
|
|
5640
5640
|
}
|
|
5641
5641
|
},
|
|
5642
|
-
children: u.length ? u.map((d,
|
|
5643
|
-
const p = `${d}-${
|
|
5642
|
+
children: u.length ? u.map((d, m) => {
|
|
5643
|
+
const p = `${d}-${m}`;
|
|
5644
5644
|
return /* @__PURE__ */ i.jsx(wt, { value: d, children: d }, p);
|
|
5645
5645
|
}) : /* @__PURE__ */ i.jsx(wt, { disabled: !0, value: "", children: r("form:noAncestorFound") })
|
|
5646
5646
|
}
|
|
@@ -5811,6 +5811,13 @@ const Wp = (e) => e.filter((t) => !t.includes(":")), Gp = ({ value: e, onChange:
|
|
|
5811
5811
|
isRequiredDisabled: !1,
|
|
5812
5812
|
type: "time"
|
|
5813
5813
|
},
|
|
5814
|
+
{
|
|
5815
|
+
isBooleanField: !1,
|
|
5816
|
+
isDecisionField: !1,
|
|
5817
|
+
isRepeatableDisabled: !1,
|
|
5818
|
+
isRequiredDisabled: !1,
|
|
5819
|
+
type: "timeRange"
|
|
5820
|
+
},
|
|
5814
5821
|
{
|
|
5815
5822
|
isBooleanField: !0,
|
|
5816
5823
|
isDecisionField: !1,
|
|
@@ -5909,7 +5916,7 @@ const Wp = (e) => e.filter((t) => !t.includes(":")), Gp = ({ value: e, onChange:
|
|
|
5909
5916
|
}
|
|
5910
5917
|
};
|
|
5911
5918
|
return n(e), [...t];
|
|
5912
|
-
},
|
|
5919
|
+
}, em = Ki(), tm = ({ value: e, onChange: t }) => {
|
|
5913
5920
|
const { t: n } = Fe(["translation", "form"]), { tree: r } = ze(), a = Hp(r).reduce(
|
|
5914
5921
|
(o, s) => [
|
|
5915
5922
|
...o,
|
|
@@ -5928,7 +5935,7 @@ const Wp = (e) => e.filter((t) => !t.includes(":")), Gp = ({ value: e, onChange:
|
|
|
5928
5935
|
value: e,
|
|
5929
5936
|
onChange: t,
|
|
5930
5937
|
filterOptions: (o, s) => {
|
|
5931
|
-
const l =
|
|
5938
|
+
const l = em(o, s), { inputValue: u } = s, f = o.some((d) => typeof d != "string" && u === d.label);
|
|
5932
5939
|
return u !== "" && !f && l.push({
|
|
5933
5940
|
inputValue: u,
|
|
5934
5941
|
label: `${n("add")} "${u}"`
|
|
@@ -5953,15 +5960,15 @@ const Wp = (e) => e.filter((t) => !t.includes(":")), Gp = ({ value: e, onChange:
|
|
|
5953
5960
|
}
|
|
5954
5961
|
);
|
|
5955
5962
|
};
|
|
5956
|
-
var _a = {},
|
|
5963
|
+
var _a = {}, rm = Oe;
|
|
5957
5964
|
Object.defineProperty(_a, "__esModule", {
|
|
5958
5965
|
value: !0
|
|
5959
5966
|
});
|
|
5960
|
-
var Ti = _a.default = void 0,
|
|
5967
|
+
var Ti = _a.default = void 0, nm = rm(Ie()), am = i, om = (0, nm.default)(/* @__PURE__ */ (0, am.jsx)("path", {
|
|
5961
5968
|
d: "M18 13h-5v5c0 .55-.45 1-1 1s-1-.45-1-1v-5H6c-.55 0-1-.45-1-1s.45-1 1-1h5V6c0-.55.45-1 1-1s1 .45 1 1v5h5c.55 0 1 .45 1 1s-.45 1-1 1z"
|
|
5962
5969
|
}), "AddRounded");
|
|
5963
|
-
Ti = _a.default =
|
|
5964
|
-
const
|
|
5970
|
+
Ti = _a.default = om;
|
|
5971
|
+
const sm = (e) => {
|
|
5965
5972
|
const { backendConfig: t } = ze(), { endpoints: n } = t || {}, { workflows: r = "" } = n || {};
|
|
5966
5973
|
return Ds(
|
|
5967
5974
|
["workflows"],
|
|
@@ -5971,16 +5978,16 @@ const sh = (e) => {
|
|
|
5971
5978
|
},
|
|
5972
5979
|
e
|
|
5973
5980
|
);
|
|
5974
|
-
},
|
|
5975
|
-
const { t: n } = Fe("snackMessage"), { open: r } = Ea(), { currentTree: a, setCurrentTree: o, dispatchTree: s } = ze(), [l, u] =
|
|
5981
|
+
}, im = ({ isControlled: e, fetchWorkflowsOnOpen: t }) => {
|
|
5982
|
+
const { t: n } = Fe("snackMessage"), { open: r } = Ea(), { currentTree: a, setCurrentTree: o, dispatchTree: s } = ze(), [l, u] = ge(""), f = !!l && !e && l !== a.id, { data: d, isError: m } = sn(l, {
|
|
5976
5983
|
enabled: f
|
|
5977
5984
|
}), {
|
|
5978
5985
|
data: p,
|
|
5979
5986
|
isLoading: v,
|
|
5980
5987
|
refetch: y
|
|
5981
|
-
} =
|
|
5988
|
+
} = sm({
|
|
5982
5989
|
enabled: !t
|
|
5983
|
-
}),
|
|
5990
|
+
}), g = W(
|
|
5984
5991
|
async ({ target: M }) => {
|
|
5985
5992
|
var S;
|
|
5986
5993
|
const { value: D } = M;
|
|
@@ -5991,7 +5998,7 @@ const sh = (e) => {
|
|
|
5991
5998
|
u(D), o({ id: D, name: (S = p == null ? void 0 : p.find((w) => w.id === D)) == null ? void 0 : S.label });
|
|
5992
5999
|
},
|
|
5993
6000
|
[s, o, p]
|
|
5994
|
-
),
|
|
6001
|
+
), h = W(async () => {
|
|
5995
6002
|
if (t)
|
|
5996
6003
|
try {
|
|
5997
6004
|
await y(), a.id && !l && u(a.id);
|
|
@@ -6005,12 +6012,12 @@ const sh = (e) => {
|
|
|
6005
6012
|
o({ id: M, name: D }), s(vi(S));
|
|
6006
6013
|
}
|
|
6007
6014
|
}, [a.id, s, e, o, l, d]), Un(() => {
|
|
6008
|
-
|
|
6009
|
-
}, [
|
|
6015
|
+
m && r(n("error.fetchTree", { ns: "snackMessage" }), "error");
|
|
6016
|
+
}, [m, r, n]), {
|
|
6010
6017
|
currentTree: a,
|
|
6011
6018
|
fetchWorkflowSuggestions: y,
|
|
6012
|
-
handleChangeTree:
|
|
6013
|
-
handleOnOpen:
|
|
6019
|
+
handleChangeTree: g,
|
|
6020
|
+
handleOnOpen: h,
|
|
6014
6021
|
setTreeSelected: u,
|
|
6015
6022
|
treeSelected: l,
|
|
6016
6023
|
workflowsSuggestions: p,
|
|
@@ -6026,7 +6033,7 @@ const sh = (e) => {
|
|
|
6026
6033
|
boxShadow: "none"
|
|
6027
6034
|
}
|
|
6028
6035
|
}, Di = ({ arrowOnly: e, required: t, size: n, showBtnAddNewTree: r, onChange: a, value: o, fetchWorkflowsOnOpen: s }) => {
|
|
6029
|
-
const { t: l } = Fe("form"), u = jr(() => !!a, [a]), { handleChangeTree: f, handleOnOpen: d, workflowsSuggestions:
|
|
6036
|
+
const { t: l } = Fe("form"), u = jr(() => !!a, [a]), { handleChangeTree: f, handleOnOpen: d, workflowsSuggestions: m, workflowsSuggestionsLoading: p, treeSelected: v } = im({
|
|
6030
6037
|
fetchWorkflowsOnOpen: s,
|
|
6031
6038
|
isControlled: u
|
|
6032
6039
|
});
|
|
@@ -6043,7 +6050,7 @@ const sh = (e) => {
|
|
|
6043
6050
|
onOpen: d,
|
|
6044
6051
|
children: [
|
|
6045
6052
|
(o && p || p) && /* @__PURE__ */ i.jsx(wt, { value: o, children: /* @__PURE__ */ i.jsx(Zi, { width: "100%" }) }),
|
|
6046
|
-
|
|
6053
|
+
m == null ? void 0 : m.map(({ label: y, id: g }) => /* @__PURE__ */ i.jsx(wt, { value: g, children: y }, g)),
|
|
6047
6054
|
r && /* @__PURE__ */ i.jsx(wt, { disabled: !0, children: /* @__PURE__ */ i.jsx(ce, { sx: { height: 1, width: "100%" }, children: /* @__PURE__ */ i.jsx(Os, {}) }) }),
|
|
6048
6055
|
r && /* @__PURE__ */ i.jsxs(wt, { value: "add-new-tree", children: [
|
|
6049
6056
|
/* @__PURE__ */ i.jsx(Tt, { mr: 1, children: l("newTree", { ns: "form" }) }),
|
|
@@ -6053,7 +6060,7 @@ const sh = (e) => {
|
|
|
6053
6060
|
}
|
|
6054
6061
|
)
|
|
6055
6062
|
] });
|
|
6056
|
-
},
|
|
6063
|
+
}, lm = ({
|
|
6057
6064
|
helperText: e,
|
|
6058
6065
|
hiddenValue: t,
|
|
6059
6066
|
isHiddenField: n,
|
|
@@ -6074,15 +6081,15 @@ const sh = (e) => {
|
|
|
6074
6081
|
value: t
|
|
6075
6082
|
}
|
|
6076
6083
|
) : /* @__PURE__ */ i.jsx(Ae, { sx: { flex: 1 }, label: u("helperText", { ns: "form" }), onChange: s, value: e });
|
|
6077
|
-
},
|
|
6084
|
+
}, ms = (e) => (/* @__PURE__ */ new Set([...e])).size === e.length, cm = (e, t, n) => {
|
|
6078
6085
|
const r = [...e, t];
|
|
6079
|
-
return
|
|
6080
|
-
},
|
|
6081
|
-
var c, j, N, k, X, ae, G, q, ke, xe, Te, Qe,
|
|
6082
|
-
const e = jr(() => [{ id: "0", label: "", message: "", value: "" }], []), { tree: t, dispatchTree: n, currentHierarchyPointNode: r, modalOpen: a, treePath: o, setModalOpen: s } = ze(), { open: l } = Ea(), { t: u } = Fe(), f = r != null && r.data && ((c = r == null ? void 0 : r.data) != null && c.attributes) && "isMultiple" in r.data.attributes ? !!r.data.attributes.isMultiple : null, [d,
|
|
6086
|
+
return ms(n ? r.filter((a) => a !== n) : r);
|
|
6087
|
+
}, um = () => {
|
|
6088
|
+
var c, j, N, k, X, ae, G, q, ke, xe, Te, Qe, mt, rr, He, Qa, Ba, qa, Wa, Ga, Ka, Ja, Za, Xa, Ha, eo, to, ro, no, ao, oo;
|
|
6089
|
+
const e = jr(() => [{ id: "0", label: "", message: "", value: "" }], []), { tree: t, dispatchTree: n, currentHierarchyPointNode: r, modalOpen: a, treePath: o, setModalOpen: s } = ze(), { open: l } = Ea(), { t: u } = Fe(), f = r != null && r.data && ((c = r == null ? void 0 : r.data) != null && c.attributes) && "isMultiple" in r.data.attributes ? !!r.data.attributes.isMultiple : null, [d, m] = ge(e), [p, v] = ge(""), [y, g] = ge(""), [h, M] = ge(""), [D, S] = ge(!1), [w, b] = ge(!1), [Q, _] = ge(!1), [de, De] = ge("text"), [A, fe] = ge(null), [pe, ye] = ge(null), [ee, H] = ge({ url: "" }), [ve, $e] = ge(""), [Pe, Be] = ge(""), [T, O] = ge(""), [Y, $] = ge({ off: "", on: "" }), [z, V] = ge(!1), [R, P] = ge(!1), [F, B] = ge(""), U = a === "edit", be = de === "tree", E = de === "hidden", Se = de === "autocomplete", I = de === "dynamicSelect", Re = Ft.some((x) => x.type === de && (x == null ? void 0 : x.isBooleanField)), Ye = Ft.some((x) => x.type === de && (x == null ? void 0 : x.isDecisionField)), dt = Ft.some((x) => x.type === de && (x == null ? void 0 : x.isRequiredDisabled)), Ct = Ft.some((x) => x.type === de && (x == null ? void 0 : x.isRepeatableDisabled)), ot = ((N = (j = r == null ? void 0 : r.data) == null ? void 0 : j.attributes) == null ? void 0 : N.isLeaf) ?? !0, Et = Ft.some((x) => x.type === de && "isMultiple" in x), { refetch: At, isInitialLoading: Nt } = sn(ve, {
|
|
6083
6090
|
enabled: !1
|
|
6084
6091
|
}), yt = W((x) => !Ye && x > 0, [Ye]), Ke = W((x, C) => {
|
|
6085
|
-
|
|
6092
|
+
m(
|
|
6086
6093
|
(L) => L.map((K) => {
|
|
6087
6094
|
const { id: Me } = K;
|
|
6088
6095
|
return x.target.dataset.id === Me ? {
|
|
@@ -6103,7 +6110,7 @@ const sh = (e) => {
|
|
|
6103
6110
|
url: L.url ? L.url.replace(/{{[^{}]+}}/, `{{${C || ""}}}`) : `https://example.com/{{${C || ""}}}`
|
|
6104
6111
|
})), ye(C ?? null);
|
|
6105
6112
|
}, []), pt = W((x) => {
|
|
6106
|
-
|
|
6113
|
+
g(x.target.value);
|
|
6107
6114
|
}, []), Zt = W((x) => {
|
|
6108
6115
|
M(x.target.value);
|
|
6109
6116
|
}, []), zt = W(
|
|
@@ -6188,8 +6195,8 @@ const sh = (e) => {
|
|
|
6188
6195
|
B("");
|
|
6189
6196
|
return;
|
|
6190
6197
|
}
|
|
6191
|
-
const L = U && (r == null ? void 0 : r.data.name), K = (et = o == null ? void 0 : o.at(-1)) == null ? void 0 : et.path, Me = Kt(t, K), Ce =
|
|
6192
|
-
if (
|
|
6198
|
+
const L = U && (r == null ? void 0 : r.data.name), K = (et = o == null ? void 0 : o.at(-1)) == null ? void 0 : et.path, Me = Kt(t, K), Ce = hi(Me);
|
|
6199
|
+
if (cm(Ce, C, L)) {
|
|
6193
6200
|
B("");
|
|
6194
6201
|
return;
|
|
6195
6202
|
}
|
|
@@ -6221,7 +6228,7 @@ const sh = (e) => {
|
|
|
6221
6228
|
), En = W((x) => {
|
|
6222
6229
|
Be(x.target.value);
|
|
6223
6230
|
}, []), Sr = W(() => {
|
|
6224
|
-
|
|
6231
|
+
m((x) => {
|
|
6225
6232
|
const C = Number(x[x.length - 1].id), L = String(C + 1);
|
|
6226
6233
|
return [...x, { ...e[0], id: L }];
|
|
6227
6234
|
});
|
|
@@ -6232,7 +6239,7 @@ const sh = (e) => {
|
|
|
6232
6239
|
return { ...x, params: K };
|
|
6233
6240
|
});
|
|
6234
6241
|
}, []), Nn = W((x) => {
|
|
6235
|
-
|
|
6242
|
+
m((C) => C.filter(({ id: L }) => x.currentTarget.value !== L));
|
|
6236
6243
|
}, []), On = W((x) => {
|
|
6237
6244
|
const C = x.currentTarget.value;
|
|
6238
6245
|
H((L) => {
|
|
@@ -6300,7 +6307,7 @@ const sh = (e) => {
|
|
|
6300
6307
|
const nr = {
|
|
6301
6308
|
attributes: {
|
|
6302
6309
|
depth: st,
|
|
6303
|
-
label:
|
|
6310
|
+
label: h,
|
|
6304
6311
|
type: de,
|
|
6305
6312
|
...Se && { route: ee },
|
|
6306
6313
|
...I && { route: ee },
|
|
@@ -6346,7 +6353,7 @@ const sh = (e) => {
|
|
|
6346
6353
|
Q,
|
|
6347
6354
|
Et,
|
|
6348
6355
|
be,
|
|
6349
|
-
|
|
6356
|
+
h,
|
|
6350
6357
|
Y,
|
|
6351
6358
|
a,
|
|
6352
6359
|
p,
|
|
@@ -6376,17 +6383,17 @@ const sh = (e) => {
|
|
|
6376
6383
|
...lr && { message: String(lr) }
|
|
6377
6384
|
};
|
|
6378
6385
|
}));
|
|
6379
|
-
v((r == null ? void 0 : r.data.name) || ""), fe(((Ce = r == null ? void 0 : r.data.attributes) == null ? void 0 : Ce.tag) || null), De(((st = r == null ? void 0 : r.data.attributes) == null ? void 0 : st.type) || "text"), Be(((et = r == null ? void 0 : r.data.attributes) == null ? void 0 : et.helperText) || ""), S(((Mt = r == null ? void 0 : r.data.attributes) == null ? void 0 : Mt.required) || !1), O(((zr = r == null ? void 0 : r.data.attributes) == null ? void 0 : zr.step) || ""), M(((Rr = r == null ? void 0 : r.data.attributes) == null ? void 0 : Rr.label) || ""), b(((kt = r == null ? void 0 : r.data.attributes) == null ? void 0 : kt.isDecision) || !1),
|
|
6386
|
+
v((r == null ? void 0 : r.data.name) || ""), fe(((Ce = r == null ? void 0 : r.data.attributes) == null ? void 0 : Ce.tag) || null), De(((st = r == null ? void 0 : r.data.attributes) == null ? void 0 : st.type) || "text"), Be(((et = r == null ? void 0 : r.data.attributes) == null ? void 0 : et.helperText) || ""), S(((Mt = r == null ? void 0 : r.data.attributes) == null ? void 0 : Mt.required) || !1), O(((zr = r == null ? void 0 : r.data.attributes) == null ? void 0 : zr.step) || ""), M(((Rr = r == null ? void 0 : r.data.attributes) == null ? void 0 : Rr.label) || ""), b(((kt = r == null ? void 0 : r.data.attributes) == null ? void 0 : kt.isDecision) || !1), m(Lr != null && Lr.length ? Lr : e), $e(((nr = (kr = r == null ? void 0 : r.data.attributes) == null ? void 0 : kr.tree) == null ? void 0 : nr.treeId) || ""), V(((ar = r == null ? void 0 : r.data.attributes) == null ? void 0 : ar.repeatable) || !1), g(((or = r == null ? void 0 : r.data.attributes) == null ? void 0 : or.hiddenValue) || ""), ye(((sr = r == null ? void 0 : r.data.attributes) == null ? void 0 : sr.parentRef) || null), $({
|
|
6380
6387
|
off: ((so = (ir = r == null ? void 0 : r.data.attributes) == null ? void 0 : ir.messages) == null ? void 0 : so.off) || "",
|
|
6381
6388
|
on: ((lo = (io = r == null ? void 0 : r.data.attributes) == null ? void 0 : io.messages) == null ? void 0 : lo.on) || ""
|
|
6382
6389
|
}), H((St) => {
|
|
6383
|
-
var $r, Pr, Yr, lr, uo, fo, po,
|
|
6390
|
+
var $r, Pr, Yr, lr, uo, fo, po, mo;
|
|
6384
6391
|
return {
|
|
6385
6392
|
...St,
|
|
6386
6393
|
params: (Pr = ($r = r == null ? void 0 : r.data.attributes) == null ? void 0 : $r.route) == null ? void 0 : Pr.params,
|
|
6387
6394
|
pathKey: (lr = (Yr = r == null ? void 0 : r.data.attributes) == null ? void 0 : Yr.route) == null ? void 0 : lr.pathKey,
|
|
6388
6395
|
searchKey: (fo = (uo = r == null ? void 0 : r.data.attributes) == null ? void 0 : uo.route) == null ? void 0 : fo.searchKey,
|
|
6389
|
-
url: ((
|
|
6396
|
+
url: ((mo = (po = r == null ? void 0 : r.data.attributes) == null ? void 0 : po.route) == null ? void 0 : mo.url) || ""
|
|
6390
6397
|
};
|
|
6391
6398
|
}), _(f || !1), P(((co = r == null ? void 0 : r.data.attributes) == null ? void 0 : co.initialQuery) || !1);
|
|
6392
6399
|
}
|
|
@@ -6397,7 +6404,7 @@ const sh = (e) => {
|
|
|
6397
6404
|
(q = r == null ? void 0 : r.data.attributes) == null ? void 0 : q.isDecision,
|
|
6398
6405
|
(ke = r == null ? void 0 : r.data.attributes) == null ? void 0 : ke.label,
|
|
6399
6406
|
(Te = (xe = r == null ? void 0 : r.data.attributes) == null ? void 0 : xe.messages) == null ? void 0 : Te.off,
|
|
6400
|
-
(
|
|
6407
|
+
(mt = (Qe = r == null ? void 0 : r.data.attributes) == null ? void 0 : Qe.messages) == null ? void 0 : mt.on,
|
|
6401
6408
|
(rr = r == null ? void 0 : r.data.attributes) == null ? void 0 : rr.parentRef,
|
|
6402
6409
|
(He = r == null ? void 0 : r.data.attributes) == null ? void 0 : He.repeatable,
|
|
6403
6410
|
(Qa = r == null ? void 0 : r.data.attributes) == null ? void 0 : Qa.required,
|
|
@@ -6462,7 +6469,7 @@ const sh = (e) => {
|
|
|
6462
6469
|
isRequiredDisabled: dt,
|
|
6463
6470
|
isTreeField: be,
|
|
6464
6471
|
isWorkflowLoading: Nt,
|
|
6465
|
-
label:
|
|
6472
|
+
label: h,
|
|
6466
6473
|
messages: Y,
|
|
6467
6474
|
name: p,
|
|
6468
6475
|
parentRef: pe,
|
|
@@ -6476,13 +6483,13 @@ const sh = (e) => {
|
|
|
6476
6483
|
uniqueNameErrorMessage: F,
|
|
6477
6484
|
values: d
|
|
6478
6485
|
};
|
|
6479
|
-
},
|
|
6486
|
+
}, gs = {
|
|
6480
6487
|
marginRight: "-20px !important",
|
|
6481
6488
|
minWidth: "auto !important"
|
|
6482
6489
|
}, Br = {
|
|
6483
|
-
iconButton:
|
|
6490
|
+
iconButton: gs,
|
|
6484
6491
|
iconButtonDelete: {
|
|
6485
|
-
...
|
|
6492
|
+
...gs,
|
|
6486
6493
|
"&:before": {
|
|
6487
6494
|
borderRadius: "50%",
|
|
6488
6495
|
content: '""',
|
|
@@ -6491,13 +6498,13 @@ const sh = (e) => {
|
|
|
6491
6498
|
width: 20,
|
|
6492
6499
|
zIndex: -1
|
|
6493
6500
|
},
|
|
6494
|
-
backgroundColor:
|
|
6501
|
+
backgroundColor: he.background,
|
|
6495
6502
|
position: "absolute",
|
|
6496
6503
|
right: 0,
|
|
6497
6504
|
top: "50%",
|
|
6498
6505
|
transform: "translateY(-50%)"
|
|
6499
6506
|
}
|
|
6500
|
-
},
|
|
6507
|
+
}, dm = ({ onClose: e }) => {
|
|
6501
6508
|
const { t } = Fe(["translation", "form"]), {
|
|
6502
6509
|
values: n,
|
|
6503
6510
|
required: r,
|
|
@@ -6508,12 +6515,12 @@ const sh = (e) => {
|
|
|
6508
6515
|
helperText: u,
|
|
6509
6516
|
label: f,
|
|
6510
6517
|
hiddenValue: d,
|
|
6511
|
-
isBooleanField:
|
|
6518
|
+
isBooleanField: m,
|
|
6512
6519
|
isDecision: p,
|
|
6513
6520
|
isEditModal: v,
|
|
6514
6521
|
isDecisionField: y,
|
|
6515
|
-
isHiddenField:
|
|
6516
|
-
isRequiredDisabled:
|
|
6522
|
+
isHiddenField: g,
|
|
6523
|
+
isRequiredDisabled: h,
|
|
6517
6524
|
isRepeatableDisabled: M,
|
|
6518
6525
|
isAutocomplete: D,
|
|
6519
6526
|
isDynamicSelect: S,
|
|
@@ -6555,7 +6562,7 @@ const sh = (e) => {
|
|
|
6555
6562
|
parentRef: ot,
|
|
6556
6563
|
route: Et,
|
|
6557
6564
|
messages: { on: At, off: Nt }
|
|
6558
|
-
} =
|
|
6565
|
+
} = um(), { searchKey: yt, url: Ke, pathKey: _t, params: ft } = Et || {}, { object: pt = "", label: Zt = "", value: zt = "", image: Rt = "" } = _t || {};
|
|
6559
6566
|
return /* @__PURE__ */ i.jsxs("form", { onSubmit: z, children: [
|
|
6560
6567
|
/* @__PURE__ */ i.jsxs(ne, { spacing: 1, paddingY: 1, direction: { sm: "row", xs: "column" }, children: [
|
|
6561
6568
|
/* @__PURE__ */ i.jsx(Ae, { sx: { flex: 1 }, label: t("label", { ns: "form" }), onChange: P, value: f, required: !0 }),
|
|
@@ -6575,11 +6582,11 @@ const sh = (e) => {
|
|
|
6575
6582
|
/* @__PURE__ */ i.jsxs(ne, { spacing: 1, paddingY: 1, direction: { sm: "row", xs: "column" }, children: [
|
|
6576
6583
|
/* @__PURE__ */ i.jsx(Xp, { value: l, onChange: $e }),
|
|
6577
6584
|
/* @__PURE__ */ i.jsx(
|
|
6578
|
-
|
|
6585
|
+
lm,
|
|
6579
6586
|
{
|
|
6580
6587
|
helperText: u,
|
|
6581
6588
|
hiddenValue: d,
|
|
6582
|
-
isHiddenField:
|
|
6589
|
+
isHiddenField: g,
|
|
6583
6590
|
isTreeField: w,
|
|
6584
6591
|
treeSelected: b,
|
|
6585
6592
|
handleChangeTreeSelect: pe,
|
|
@@ -6594,7 +6601,7 @@ const sh = (e) => {
|
|
|
6594
6601
|
{
|
|
6595
6602
|
sx: { flex: 4 },
|
|
6596
6603
|
InputProps: {
|
|
6597
|
-
startAdornment: /* @__PURE__ */ i.jsx(
|
|
6604
|
+
startAdornment: /* @__PURE__ */ i.jsx(go, { position: "start", children: /* @__PURE__ */ i.jsx(Zn, {}) })
|
|
6598
6605
|
},
|
|
6599
6606
|
placeholder: "https://api.fr/enpoint",
|
|
6600
6607
|
type: "url",
|
|
@@ -6617,7 +6624,7 @@ const sh = (e) => {
|
|
|
6617
6624
|
{
|
|
6618
6625
|
sx: { flex: 3 },
|
|
6619
6626
|
InputProps: {
|
|
6620
|
-
startAdornment: /* @__PURE__ */ i.jsx(
|
|
6627
|
+
startAdornment: /* @__PURE__ */ i.jsx(go, { position: "start", children: /* @__PURE__ */ i.jsx(Zn, {}) })
|
|
6621
6628
|
},
|
|
6622
6629
|
placeholder: `https://api.fr/{{${ot || ""}}}/enpoint`,
|
|
6623
6630
|
type: "url",
|
|
@@ -6714,7 +6721,7 @@ const sh = (e) => {
|
|
|
6714
6721
|
alignItems: { sm: "center", xs: "flex-start" },
|
|
6715
6722
|
children: [
|
|
6716
6723
|
/* @__PURE__ */ i.jsx("h4", { children: t("form:additionalParams") }),
|
|
6717
|
-
/* @__PURE__ */ i.jsx(ce, { justifyContent: "flex-end", children: /* @__PURE__ */ i.jsx(
|
|
6724
|
+
/* @__PURE__ */ i.jsx(ce, { justifyContent: "flex-end", children: /* @__PURE__ */ i.jsx(gr, { color: "success", sx: Br.iconButton, onClick: R, children: /* @__PURE__ */ i.jsx(Jn, {}) }) })
|
|
6718
6725
|
]
|
|
6719
6726
|
}
|
|
6720
6727
|
),
|
|
@@ -6739,12 +6746,12 @@ const sh = (e) => {
|
|
|
6739
6746
|
inputProps: { "data-id": we }
|
|
6740
6747
|
}
|
|
6741
6748
|
),
|
|
6742
|
-
ft.length > 0 && /* @__PURE__ */ i.jsx(
|
|
6749
|
+
ft.length > 0 && /* @__PURE__ */ i.jsx(gr, { color: "warning", sx: Br.iconButtonDelete, value: we, onClick: O, children: /* @__PURE__ */ i.jsx(Xn, {}) })
|
|
6743
6750
|
] }, we))
|
|
6744
6751
|
] })
|
|
6745
6752
|
] }),
|
|
6746
|
-
/* @__PURE__ */ i.jsx(ne, { spacing: 1, direction: { sm: "row", xs: "column" }, children: /* @__PURE__ */ i.jsx(
|
|
6747
|
-
|
|
6753
|
+
/* @__PURE__ */ i.jsx(ne, { spacing: 1, direction: { sm: "row", xs: "column" }, children: /* @__PURE__ */ i.jsx(tm, { value: o, onChange: U }) }),
|
|
6754
|
+
m && /* @__PURE__ */ i.jsxs(ne, { spacing: 1, paddingY: 1, direction: { sm: "row", xs: "column" }, children: [
|
|
6748
6755
|
/* @__PURE__ */ i.jsx(Ae, { sx: { flex: 1 }, label: t("onMessage", { ns: "form" }), onChange: $("on"), value: At }),
|
|
6749
6756
|
/* @__PURE__ */ i.jsx(Ae, { sx: { flex: 1 }, label: t("offMessage", { ns: "form" }), onChange: $("off"), value: Nt })
|
|
6750
6757
|
] }),
|
|
@@ -6760,7 +6767,7 @@ const sh = (e) => {
|
|
|
6760
6767
|
/* @__PURE__ */ i.jsx(
|
|
6761
6768
|
cr,
|
|
6762
6769
|
{
|
|
6763
|
-
disabled:
|
|
6770
|
+
disabled: h,
|
|
6764
6771
|
control: /* @__PURE__ */ i.jsx(ur, { checked: r, onChange: H }),
|
|
6765
6772
|
label: t("required")
|
|
6766
6773
|
}
|
|
@@ -6817,10 +6824,10 @@ const sh = (e) => {
|
|
|
6817
6824
|
inputProps: { "data-id": tt }
|
|
6818
6825
|
}
|
|
6819
6826
|
),
|
|
6820
|
-
n.length > 1 && /* @__PURE__ */ i.jsx(
|
|
6827
|
+
n.length > 1 && /* @__PURE__ */ i.jsx(gr, { color: "warning", sx: Br.iconButtonDelete, value: tt, onClick: T, children: /* @__PURE__ */ i.jsx(Xn, {}) })
|
|
6821
6828
|
] }, tt))
|
|
6822
6829
|
] }),
|
|
6823
|
-
y && /* @__PURE__ */ i.jsx(ce, { justifyContent: "flex-end", display: "flex", children: /* @__PURE__ */ i.jsx(
|
|
6830
|
+
y && /* @__PURE__ */ i.jsx(ce, { justifyContent: "flex-end", display: "flex", children: /* @__PURE__ */ i.jsx(gr, { color: "success", sx: Br.iconButton, onClick: V, children: /* @__PURE__ */ i.jsx(Jn, {}) }) }),
|
|
6824
6831
|
/* @__PURE__ */ i.jsxs(ne, { spacing: 2, direction: "row", justifyContent: "flex-end", paddingTop: 3, children: [
|
|
6825
6832
|
/* @__PURE__ */ i.jsx(We, { variant: "text", onClick: e, children: t("cancel") }),
|
|
6826
6833
|
/* @__PURE__ */ i.jsx(
|
|
@@ -6837,118 +6844,118 @@ const sh = (e) => {
|
|
|
6837
6844
|
] })
|
|
6838
6845
|
] });
|
|
6839
6846
|
};
|
|
6840
|
-
var za = {},
|
|
6847
|
+
var za = {}, fm = Oe;
|
|
6841
6848
|
Object.defineProperty(za, "__esModule", {
|
|
6842
6849
|
value: !0
|
|
6843
6850
|
});
|
|
6844
|
-
var Ei = za.default = void 0,
|
|
6851
|
+
var Ei = za.default = void 0, pm = fm(Ie()), mm = i, gm = (0, pm.default)(/* @__PURE__ */ (0, mm.jsx)("path", {
|
|
6845
6852
|
d: "M17 11h3c1.11 0 2-.9 2-2V5c0-1.11-.9-2-2-2h-3c-1.11 0-2 .9-2 2v1H9.01V5c0-1.11-.9-2-2-2H4c-1.1 0-2 .9-2 2v4c0 1.11.9 2 2 2h3c1.11 0 2-.9 2-2V8h2v7.01c0 1.65 1.34 2.99 2.99 2.99H15v1c0 1.11.9 2 2 2h3c1.11 0 2-.9 2-2v-4c0-1.11-.9-2-2-2h-3c-1.11 0-2 .9-2 2v1h-1.01c-.54 0-.99-.45-.99-.99V8h2v1c0 1.1.9 2 2 2z"
|
|
6846
6853
|
}), "AccountTreeRounded");
|
|
6847
|
-
Ei = za.default =
|
|
6848
|
-
var Ra = {},
|
|
6854
|
+
Ei = za.default = gm;
|
|
6855
|
+
var Ra = {}, hm = Oe;
|
|
6849
6856
|
Object.defineProperty(Ra, "__esModule", {
|
|
6850
6857
|
value: !0
|
|
6851
6858
|
});
|
|
6852
|
-
var Ni = Ra.default = void 0,
|
|
6859
|
+
var Ni = Ra.default = void 0, ym = hm(Ie()), vm = i, bm = (0, ym.default)(/* @__PURE__ */ (0, vm.jsx)("path", {
|
|
6853
6860
|
d: "M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-3 10h-3v3c0 .55-.45 1-1 1s-1-.45-1-1v-3H8c-.55 0-1-.45-1-1s.45-1 1-1h3V8c0-.55.45-1 1-1s1 .45 1 1v3h3c.55 0 1 .45 1 1s-.45 1-1 1z"
|
|
6854
6861
|
}), "AddBoxRounded");
|
|
6855
|
-
Ni = Ra.default =
|
|
6856
|
-
var ka = {},
|
|
6862
|
+
Ni = Ra.default = bm;
|
|
6863
|
+
var ka = {}, Mm = Oe;
|
|
6857
6864
|
Object.defineProperty(ka, "__esModule", {
|
|
6858
6865
|
value: !0
|
|
6859
6866
|
});
|
|
6860
|
-
var Oi = ka.default = void 0,
|
|
6867
|
+
var Oi = ka.default = void 0, xm = Mm(Ie()), jm = i, Tm = (0, xm.default)(/* @__PURE__ */ (0, jm.jsx)("path", {
|
|
6861
6868
|
d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v10zM9 9h6c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1H9c-.55 0-1-.45-1-1v-8c0-.55.45-1 1-1zm6.5-5-.71-.71c-.18-.18-.44-.29-.7-.29H9.91c-.26 0-.52.11-.7.29L8.5 4H6c-.55 0-1 .45-1 1s.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1h-2.5z"
|
|
6862
6869
|
}), "DeleteOutlineRounded");
|
|
6863
|
-
Oi = ka.default =
|
|
6864
|
-
var La = {},
|
|
6870
|
+
Oi = ka.default = Tm;
|
|
6871
|
+
var La = {}, Dm = Oe;
|
|
6865
6872
|
Object.defineProperty(La, "__esModule", {
|
|
6866
6873
|
value: !0
|
|
6867
6874
|
});
|
|
6868
|
-
var Ii = La.default = void 0,
|
|
6875
|
+
var Ii = La.default = void 0, Em = Dm(Ie()), Nm = i, Om = (0, Em.default)(/* @__PURE__ */ (0, Nm.jsx)("path", {
|
|
6869
6876
|
d: "M3 17.46v3.04c0 .28.22.5.5.5h3.04c.13 0 .26-.05.35-.15L17.81 9.94l-3.75-3.75L3.15 17.1c-.1.1-.15.22-.15.36zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
|
|
6870
6877
|
}), "EditRounded");
|
|
6871
|
-
Ii = La.default =
|
|
6872
|
-
var $a = {},
|
|
6878
|
+
Ii = La.default = Om;
|
|
6879
|
+
var $a = {}, Im = Oe;
|
|
6873
6880
|
Object.defineProperty($a, "__esModule", {
|
|
6874
6881
|
value: !0
|
|
6875
6882
|
});
|
|
6876
|
-
var Si = $a.default = void 0,
|
|
6883
|
+
var Si = $a.default = void 0, Sm = Im(Ie()), wm = i, Cm = (0, Sm.default)(/* @__PURE__ */ (0, wm.jsx)("path", {
|
|
6877
6884
|
d: "M12 3c-4.8 0-9 3.86-9 9 0 2.12.74 4.07 1.97 5.61l-1.68 1.68c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0l1.68-1.68C7.93 20.26 9.88 21 12 21c2.3 0 4.61-.88 6.36-2.64C20.12 16.61 21 14.3 21 12V5c0-1.1-.9-2-2-2h-7zm3.83 9.26-5.16 4.63c-.16.15-.41.14-.56-.01-.14-.14-.16-.36-.04-.52l2.44-3.33-4.05-.4c-.44-.04-.63-.59-.3-.89l5.16-4.63c.16-.15.41-.14.56.01.14.14.16.36.04.52l-2.44 3.33 4.05.4c.45.04.63.59.3.89z"
|
|
6878
6885
|
}), "EnergySavingsLeafRounded");
|
|
6879
|
-
Si = $a.default =
|
|
6880
|
-
var Pa = {},
|
|
6886
|
+
Si = $a.default = Cm;
|
|
6887
|
+
var Pa = {}, Am = Oe;
|
|
6881
6888
|
Object.defineProperty(Pa, "__esModule", {
|
|
6882
6889
|
value: !0
|
|
6883
6890
|
});
|
|
6884
|
-
var wi = Pa.default = void 0,
|
|
6891
|
+
var wi = Pa.default = void 0, _m = Am(Ie()), hs = i, zm = (0, _m.default)([/* @__PURE__ */ (0, hs.jsx)("path", {
|
|
6885
6892
|
d: "M14.14 12h-.06c.81 0 1.28-.91.82-1.57L9.82 3.17c-.4-.57-1.24-.57-1.64 0L3.1 10.43c-.46.66.01 1.57.82 1.57h-.06L.99 16.46c-.43.66.05 1.54.84 1.54H7v2c0 1.1.9 2 2 2s2-.9 2-2v-2h5.17c.79 0 1.27-.88.84-1.54L14.14 12z"
|
|
6886
|
-
}, "0"), /* @__PURE__ */ (0,
|
|
6893
|
+
}, "0"), /* @__PURE__ */ (0, hs.jsx)("path", {
|
|
6887
6894
|
d: "M23.01 16.46 20.14 12h-.06c.81 0 1.28-.91.82-1.57l-5.08-7.26c-.4-.57-1.24-.57-1.64 0l-1.57 2.24 3.11 4.44c.43.61.48 1.41.14 2.07-.08.16-.18.3-.3.43l2.29 3.57c.4.62.42 1.4.07 2.04-.01.02-.02.03-.03.04h4.28c.79 0 1.27-.88.84-1.54zM13 20c0 1.1.9 2 2 2s2-.9 2-2v-1h-4v1z"
|
|
6888
6895
|
}, "1")], "ForestRounded");
|
|
6889
|
-
wi = Pa.default =
|
|
6890
|
-
var Ya = {},
|
|
6896
|
+
wi = Pa.default = zm;
|
|
6897
|
+
var Ya = {}, Rm = Oe;
|
|
6891
6898
|
Object.defineProperty(Ya, "__esModule", {
|
|
6892
6899
|
value: !0
|
|
6893
6900
|
});
|
|
6894
|
-
var Ci = Ya.default = void 0,
|
|
6901
|
+
var Ci = Ya.default = void 0, km = Rm(Ie()), Lm = i, $m = (0, km.default)(/* @__PURE__ */ (0, Lm.jsx)("path", {
|
|
6895
6902
|
d: "M12 4V2.21c0-.45-.54-.67-.85-.35l-2.8 2.79c-.2.2-.2.51 0 .71l2.79 2.79c.32.31.86.09.86-.36V6c3.31 0 6 2.69 6 6 0 .79-.15 1.56-.44 2.25-.15.36-.04.77.23 1.04.51.51 1.37.33 1.64-.34.37-.91.57-1.91.57-2.95 0-4.42-3.58-8-8-8zm0 14c-3.31 0-6-2.69-6-6 0-.79.15-1.56.44-2.25.15-.36.04-.77-.23-1.04-.51-.51-1.37-.33-1.64.34C4.2 9.96 4 10.96 4 12c0 4.42 3.58 8 8 8v1.79c0 .45.54.67.85.35l2.79-2.79c.2-.2.2-.51 0-.71l-2.79-2.79c-.31-.31-.85-.09-.85.36V18z"
|
|
6896
6903
|
}), "LoopRounded");
|
|
6897
|
-
Ci = Ya.default = $
|
|
6898
|
-
var Ua = {},
|
|
6904
|
+
Ci = Ya.default = $m;
|
|
6905
|
+
var Ua = {}, Pm = Oe;
|
|
6899
6906
|
Object.defineProperty(Ua, "__esModule", {
|
|
6900
6907
|
value: !0
|
|
6901
6908
|
});
|
|
6902
|
-
var Ai = Ua.default = void 0,
|
|
6909
|
+
var Ai = Ua.default = void 0, Ym = Pm(Ie()), Um = i, Fm = (0, Ym.default)(/* @__PURE__ */ (0, Um.jsx)("path", {
|
|
6903
6910
|
d: "M16.96 12h.08c.81 0 1.28-.91.82-1.57l-5.08-7.25c-.4-.57-1.24-.57-1.64 0L6.1 10.43c-.46.66.02 1.57.83 1.57h.04l-2.9 4.46c-.44.66.04 1.54.84 1.54h5.08v2.02c0 1.09.89 1.98 1.98 1.98 1.09 0 1.98-.89 1.98-1.98V18h5.15c.8 0 1.28-.89.83-1.55L16.96 12z"
|
|
6904
6911
|
}), "ParkRounded");
|
|
6905
|
-
Ai = Ua.default =
|
|
6906
|
-
var Fa = {},
|
|
6912
|
+
Ai = Ua.default = Fm;
|
|
6913
|
+
var Fa = {}, Vm = Oe;
|
|
6907
6914
|
Object.defineProperty(Fa, "__esModule", {
|
|
6908
6915
|
value: !0
|
|
6909
6916
|
});
|
|
6910
|
-
var _i = Fa.default = void 0,
|
|
6917
|
+
var _i = Fa.default = void 0, Qm = Vm(Ie()), Bm = i, qm = (0, Qm.default)(/* @__PURE__ */ (0, Bm.jsx)("path", {
|
|
6911
6918
|
d: "M12 6.5c2.76 0 5 2.24 5 5 0 .51-.1 1-.24 1.46l3.06 3.06c1.39-1.23 2.49-2.77 3.18-4.53C21.27 7.11 17 4 12 4c-1.27 0-2.49.2-3.64.57l2.17 2.17c.47-.14.96-.24 1.47-.24zM2.71 3.16c-.39.39-.39 1.02 0 1.41l1.97 1.97C3.06 7.83 1.77 9.53 1 11.5 2.73 15.89 7 19 12 19c1.52 0 2.97-.3 4.31-.82l2.72 2.72c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L4.13 3.16c-.39-.39-1.03-.39-1.42 0zM12 16.5c-2.76 0-5-2.24-5-5 0-.77.18-1.5.49-2.14l1.57 1.57c-.03.18-.06.37-.06.57 0 1.66 1.34 3 3 3 .2 0 .38-.03.57-.07L14.14 16c-.65.32-1.37.5-2.14.5zm2.97-5.33c-.15-1.4-1.25-2.49-2.64-2.64l2.64 2.64z"
|
|
6912
6919
|
}), "VisibilityOffRounded");
|
|
6913
|
-
_i = Fa.default =
|
|
6914
|
-
var Va = {},
|
|
6920
|
+
_i = Fa.default = qm;
|
|
6921
|
+
var Va = {}, Wm = Oe;
|
|
6915
6922
|
Object.defineProperty(Va, "__esModule", {
|
|
6916
6923
|
value: !0
|
|
6917
6924
|
});
|
|
6918
|
-
var zi = Va.default = void 0,
|
|
6925
|
+
var zi = Va.default = void 0, Gm = Wm(Ie()), Km = i, Jm = (0, Gm.default)(/* @__PURE__ */ (0, Km.jsx)("path", {
|
|
6919
6926
|
d: "M12 4C7 4 2.73 7.11 1 11.5 2.73 15.89 7 19 12 19s9.27-3.11 11-7.5C21.27 7.11 17 4 12 4zm0 12.5c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"
|
|
6920
6927
|
}), "VisibilityRounded");
|
|
6921
|
-
zi = Va.default =
|
|
6928
|
+
zi = Va.default = Jm;
|
|
6922
6929
|
const Le = {
|
|
6923
6930
|
actionButton: {
|
|
6924
6931
|
minWidth: "auto !important"
|
|
6925
6932
|
},
|
|
6926
6933
|
container: {
|
|
6927
|
-
background:
|
|
6934
|
+
background: he.background,
|
|
6928
6935
|
borderRadius: "1rem"
|
|
6929
6936
|
},
|
|
6930
6937
|
containerField: {
|
|
6931
|
-
background:
|
|
6932
|
-
border: `solid 1px ${
|
|
6938
|
+
background: he.background,
|
|
6939
|
+
border: `solid 1px ${he.primary}`,
|
|
6933
6940
|
borderRadius: "1rem"
|
|
6934
6941
|
},
|
|
6935
6942
|
containerHidden: {
|
|
6936
|
-
background:
|
|
6937
|
-
border: `solid 1px ${
|
|
6943
|
+
background: he.background,
|
|
6944
|
+
border: `solid 1px ${he.borderGrey}`,
|
|
6938
6945
|
borderRadius: "1rem"
|
|
6939
6946
|
},
|
|
6940
6947
|
containerTree: {
|
|
6941
|
-
background:
|
|
6942
|
-
border: `solid 1px ${
|
|
6948
|
+
background: he.tertiary,
|
|
6949
|
+
border: `solid 1px ${he.primary}`,
|
|
6943
6950
|
borderRadius: "1rem"
|
|
6944
6951
|
},
|
|
6945
6952
|
containerValue: {
|
|
6946
|
-
background:
|
|
6947
|
-
border: `solid 1px ${
|
|
6953
|
+
background: he.background,
|
|
6954
|
+
border: `solid 1px ${he.secondary}`,
|
|
6948
6955
|
borderRadius: "1rem"
|
|
6949
6956
|
},
|
|
6950
6957
|
icon: {
|
|
6951
|
-
color:
|
|
6958
|
+
color: he.grey500
|
|
6952
6959
|
},
|
|
6953
6960
|
nodeSvg: {
|
|
6954
6961
|
stroke: "transparent !important"
|
|
@@ -6967,10 +6974,10 @@ const Le = {
|
|
|
6967
6974
|
webkitBoxOrient: "vertical",
|
|
6968
6975
|
webkitLineClamp: 2
|
|
6969
6976
|
}
|
|
6970
|
-
},
|
|
6977
|
+
}, Zm = (e) => {
|
|
6971
6978
|
const t = !!e, n = e === "tree";
|
|
6972
6979
|
return e === "hidden" ? Le.containerHidden : n ? Le.containerTree : t ? Le.containerField : Le.containerValue;
|
|
6973
|
-
},
|
|
6980
|
+
}, Xm = ({
|
|
6974
6981
|
nodeDatum: e,
|
|
6975
6982
|
onAddChildren: t,
|
|
6976
6983
|
onEditChildren: n,
|
|
@@ -6980,21 +6987,21 @@ const Le = {
|
|
|
6980
6987
|
size: s = 220
|
|
6981
6988
|
}) => {
|
|
6982
6989
|
var _;
|
|
6983
|
-
const { t: l } = Fe(["translation", "form"]), { attributes: u } = e || {}, { isRoot: f, isLeaf: d, required:
|
|
6990
|
+
const { t: l } = Fe(["translation", "form"]), { attributes: u } = e || {}, { isRoot: f, isLeaf: d, required: m, isDecision: p, step: v, type: y, label: g, repeatable: h, tag: M } = u || {}, D = !!y, S = y === "tree", w = y === "hidden", b = !D, Q = !f && !d;
|
|
6984
6991
|
return /* @__PURE__ */ i.jsxs("g", { children: [
|
|
6985
6992
|
/* @__PURE__ */ i.jsx(on, { styles: { ".rd3t-node svg": Le.nodeSvg } }),
|
|
6986
|
-
/* @__PURE__ */ i.jsx(ce, { component: "foreignObject", height: s, width: s, x: `-${s / 2}`, y: `-${s / 2}`, sx:
|
|
6993
|
+
/* @__PURE__ */ i.jsx(ce, { component: "foreignObject", height: s, width: s, x: `-${s / 2}`, y: `-${s / 2}`, sx: Zm(y), children: /* @__PURE__ */ i.jsxs(ce, { flex: 1, display: "flex", p: 2, height: "100%", flexDirection: "column", justifyContent: "space-between", children: [
|
|
6987
6994
|
/* @__PURE__ */ i.jsxs(ne, { alignItems: "flex-end", spacing: 0.5, children: [
|
|
6988
6995
|
D && /* @__PURE__ */ i.jsxs(ne, { direction: "row", spacing: 1, alignItems: "center", children: [
|
|
6989
6996
|
v && /* @__PURE__ */ i.jsx(qe, { title: `${l("step", { ns: "form" })} ${(_ = e == null ? void 0 : e.attributes) == null ? void 0 : _.step}`, placement: "left", arrow: !0, children: /* @__PURE__ */ i.jsx(qr, { color: "primary", size: "small", label: v, sx: Le.stepChip }) }),
|
|
6990
|
-
/* @__PURE__ */ i.jsx(Tt, { variant: "subtitle2", sx: Le.title, children: /* @__PURE__ */ i.jsx("strong", { children:
|
|
6997
|
+
/* @__PURE__ */ i.jsx(Tt, { variant: "subtitle2", sx: Le.title, children: /* @__PURE__ */ i.jsx("strong", { children: g }) })
|
|
6991
6998
|
] }),
|
|
6992
6999
|
D && /* @__PURE__ */ i.jsx(qr, { color: "info", size: "small", label: l(`type.${y}`, { ns: "form" }) }),
|
|
6993
7000
|
M && /* @__PURE__ */ i.jsx(qr, { variant: "outlined", color: "warning", size: "small", label: M }),
|
|
6994
|
-
|
|
6995
|
-
/* @__PURE__ */ i.jsx(ne, { spacing: 0.5, alignItems: "flex-end", children: b && /* @__PURE__ */ i.jsx(Tt, { variant: "subtitle2", sx: Le.title, children: /* @__PURE__ */ i.jsx("strong", { children:
|
|
7001
|
+
m && /* @__PURE__ */ i.jsx(ne, { direction: "row", spacing: 0.5, children: m && /* @__PURE__ */ i.jsx(Tt, { variant: "body2", sx: { color: ({ palette: de }) => de.error.main }, children: l("required") }) }),
|
|
7002
|
+
/* @__PURE__ */ i.jsx(ne, { spacing: 0.5, alignItems: "flex-end", children: b && /* @__PURE__ */ i.jsx(Tt, { variant: "subtitle2", sx: Le.title, children: /* @__PURE__ */ i.jsx("strong", { children: g }) }) }),
|
|
6996
7003
|
/* @__PURE__ */ i.jsxs(ne, { paddingTop: 0.5, spacing: 0.5, direction: "row", children: [
|
|
6997
|
-
|
|
7004
|
+
h && /* @__PURE__ */ i.jsx(qe, { title: l("isARepeatable"), placement: "bottom", arrow: !0, children: /* @__PURE__ */ i.jsx(Ci, { style: Le.icon }) }),
|
|
6998
7005
|
d && /* @__PURE__ */ i.jsx(qe, { title: l("isALeaf"), placement: "bottom", arrow: !0, children: /* @__PURE__ */ i.jsx(Si, { style: Le.icon }) }),
|
|
6999
7006
|
w && /* @__PURE__ */ i.jsx(qe, { title: l("isAHidden"), placement: "bottom", arrow: !0, children: /* @__PURE__ */ i.jsx(_i, { style: Le.icon }) }),
|
|
7000
7007
|
f && /* @__PURE__ */ i.jsx(qe, { title: l("isTheRoot"), placement: "bottom", arrow: !0, children: /* @__PURE__ */ i.jsx(Ai, { style: Le.icon }) }),
|
|
@@ -7050,7 +7057,7 @@ const Le = {
|
|
|
7050
7057
|
] })
|
|
7051
7058
|
] }) })
|
|
7052
7059
|
] });
|
|
7053
|
-
},
|
|
7060
|
+
}, Hm = js(Xm), Ri = () => {
|
|
7054
7061
|
const { setModalOpen: e, setCurrentHierarchyPointNode: t, setTreeModalOpen: n, setTreePath: r } = ze();
|
|
7055
7062
|
return { handleAddChildren: (f) => {
|
|
7056
7063
|
t(f), e("add");
|
|
@@ -7061,14 +7068,14 @@ const Le = {
|
|
|
7061
7068
|
}, handleEditChildren: (f) => {
|
|
7062
7069
|
t(f), e("edit");
|
|
7063
7070
|
}, handleOpenTreeModal: (f) => {
|
|
7064
|
-
var
|
|
7071
|
+
var m, p;
|
|
7065
7072
|
const d = {
|
|
7066
7073
|
label: f == null ? void 0 : f.data.attributes.label,
|
|
7067
|
-
path: ((p = (
|
|
7074
|
+
path: ((p = (m = f == null ? void 0 : f.data) == null ? void 0 : m.attributes) == null ? void 0 : p.treePath) || ""
|
|
7068
7075
|
};
|
|
7069
7076
|
r((v) => [...v, d]), n(!0);
|
|
7070
7077
|
} };
|
|
7071
|
-
},
|
|
7078
|
+
}, eg = ({
|
|
7072
7079
|
nodeDatum: e,
|
|
7073
7080
|
hierarchyPointNode: t,
|
|
7074
7081
|
toggleNode: n,
|
|
@@ -7079,7 +7086,7 @@ const Le = {
|
|
|
7079
7086
|
}) => {
|
|
7080
7087
|
const { handleDeleteChildren: l, handleEditChildren: u, handleAddChildren: f, handleOpenTreeModal: d } = Ri();
|
|
7081
7088
|
return /* @__PURE__ */ i.jsx(
|
|
7082
|
-
|
|
7089
|
+
Hm,
|
|
7083
7090
|
{
|
|
7084
7091
|
addChildren: s,
|
|
7085
7092
|
nodeDatum: e,
|
|
@@ -7103,7 +7110,7 @@ const Le = {
|
|
|
7103
7110
|
onNodeMouseOut: o,
|
|
7104
7111
|
addChildren: s
|
|
7105
7112
|
}) => /* @__PURE__ */ i.jsx(
|
|
7106
|
-
|
|
7113
|
+
eg,
|
|
7107
7114
|
{
|
|
7108
7115
|
addChildren: s,
|
|
7109
7116
|
nodeDatum: e,
|
|
@@ -7113,7 +7120,7 @@ const Le = {
|
|
|
7113
7120
|
onNodeMouseOver: a,
|
|
7114
7121
|
onNodeMouseOut: o
|
|
7115
7122
|
}
|
|
7116
|
-
),
|
|
7123
|
+
), tg = () => {
|
|
7117
7124
|
const { t: e } = Fe(["modal", "snackMessage"]), { currentHierarchyPointNode: t, modalOpen: n, setModalOpen: r } = ze(), a = n === "edit";
|
|
7118
7125
|
return {
|
|
7119
7126
|
closeModal: () => {
|
|
@@ -7121,18 +7128,18 @@ const Le = {
|
|
|
7121
7128
|
},
|
|
7122
7129
|
getTitleModalDelete: () => {
|
|
7123
7130
|
var p, v;
|
|
7124
|
-
const
|
|
7125
|
-
return e("deleteTitle", { name:
|
|
7131
|
+
const m = (v = (p = t == null ? void 0 : t.data) == null ? void 0 : p.attributes) == null ? void 0 : v.label;
|
|
7132
|
+
return e("deleteTitle", { name: m, ns: "modal" });
|
|
7126
7133
|
},
|
|
7127
7134
|
getTitleModalMutation: () => {
|
|
7128
7135
|
var v;
|
|
7129
|
-
const
|
|
7130
|
-
return
|
|
7136
|
+
const m = (v = t == null ? void 0 : t.data) == null ? void 0 : v.attributes.label;
|
|
7137
|
+
return m ? e(a ? "editTitle" : "addTitle", { name: m, ns: "modal" }) : e("addFirstTitle", { name: m, ns: "modal" });
|
|
7131
7138
|
},
|
|
7132
7139
|
isDeleteModal: n === "delete",
|
|
7133
7140
|
isModalMutationOpen: a || n === "add"
|
|
7134
7141
|
};
|
|
7135
|
-
},
|
|
7142
|
+
}, rg = () => {
|
|
7136
7143
|
const { currentTree: e, setCurrentTree: t, tree: n } = ze(), { name: r, errorName: a, id: o } = e;
|
|
7137
7144
|
return { disabled: !!e.id && !n, errorName: a, handleChangeName: (u) => {
|
|
7138
7145
|
const { value: f } = u.target;
|
|
@@ -7142,8 +7149,8 @@ const Le = {
|
|
|
7142
7149
|
}
|
|
7143
7150
|
t((d) => ({ ...d, errorName: "", name: u.target.value }));
|
|
7144
7151
|
}, id: o, name: r };
|
|
7145
|
-
},
|
|
7146
|
-
const { t: e } = Fe("form"), { name: t, handleChangeName: n, errorName: r, disabled: a } =
|
|
7152
|
+
}, ng = () => {
|
|
7153
|
+
const { t: e } = Fe("form"), { name: t, handleChangeName: n, errorName: r, disabled: a } = rg();
|
|
7147
7154
|
return /* @__PURE__ */ i.jsx(
|
|
7148
7155
|
Ae,
|
|
7149
7156
|
{
|
|
@@ -7156,15 +7163,15 @@ const Le = {
|
|
|
7156
7163
|
disabled: a
|
|
7157
7164
|
}
|
|
7158
7165
|
);
|
|
7159
|
-
},
|
|
7166
|
+
}, ag = () => {
|
|
7160
7167
|
var v, y;
|
|
7161
|
-
const { tree: e, treeModalOpen: t, treePath: n, backendConfig: r } = ze(), { handleCloseTreeModal: a } = Ri(), { getTitleModalMutation: o, closeModal: s, getTitleModalDelete: l, isModalMutationOpen: u, isDeleteModal: f } =
|
|
7168
|
+
const { tree: e, treeModalOpen: t, treePath: n, backendConfig: r } = ze(), { handleCloseTreeModal: a } = Ri(), { getTitleModalMutation: o, closeModal: s, getTitleModalDelete: l, isModalMutationOpen: u, isDeleteModal: f } = tg(), d = (v = n == null ? void 0 : n.at(-1)) == null ? void 0 : v.path, m = (y = n == null ? void 0 : n.at(-1)) == null ? void 0 : y.label, p = e && Kt(e, d);
|
|
7162
7169
|
return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
7163
7170
|
/* @__PURE__ */ i.jsxs(vp, { children: [
|
|
7164
|
-
/* @__PURE__ */ i.jsx(
|
|
7171
|
+
/* @__PURE__ */ i.jsx(gp, { children: /* @__PURE__ */ i.jsxs(ne, { justifyContent: "space-between", direction: "row", alignItems: "center", children: [
|
|
7165
7172
|
/* @__PURE__ */ i.jsx(jl, {}),
|
|
7166
7173
|
!!(r != null && r.baseUrl) && /* @__PURE__ */ i.jsxs(ne, { direction: "row", alignItems: "center", spacing: 2, children: [
|
|
7167
|
-
/* @__PURE__ */ i.jsx(
|
|
7174
|
+
/* @__PURE__ */ i.jsx(ng, {}),
|
|
7168
7175
|
/* @__PURE__ */ i.jsx(Di, { size: "small", arrowOnly: !0, showBtnAddNewTree: !0, fetchWorkflowsOnOpen: !0 })
|
|
7169
7176
|
] })
|
|
7170
7177
|
] }) }),
|
|
@@ -7172,14 +7179,14 @@ const Le = {
|
|
|
7172
7179
|
/* @__PURE__ */ i.jsx(Mp, { children: /* @__PURE__ */ i.jsx(Sl, { value: e }) }),
|
|
7173
7180
|
/* @__PURE__ */ i.jsx(pp, { children: /* @__PURE__ */ i.jsx(np, { value: e }) })
|
|
7174
7181
|
] }),
|
|
7175
|
-
/* @__PURE__ */ i.jsx(ds, { open: u, onClose: s, title: o(), children: /* @__PURE__ */ i.jsx(
|
|
7182
|
+
/* @__PURE__ */ i.jsx(ds, { open: u, onClose: s, title: o(), children: /* @__PURE__ */ i.jsx(dm, { onClose: s }) }),
|
|
7176
7183
|
/* @__PURE__ */ i.jsx(ds, { open: f, onClose: s, title: l(), children: /* @__PURE__ */ i.jsx(jp, { onClose: s }) }),
|
|
7177
|
-
/* @__PURE__ */ i.jsx(dp, { open: t, onClose: a, title:
|
|
7184
|
+
/* @__PURE__ */ i.jsx(dp, { open: t, onClose: a, title: m, children: p && /* @__PURE__ */ i.jsx(bo, { data: p, renderCustomNodeElement: ys }) })
|
|
7178
7185
|
] });
|
|
7179
|
-
},
|
|
7180
|
-
const [a, o] =
|
|
7186
|
+
}, og = "0.19.0", sg = ({ children: e, initialTree: t, initialTreeId: n, backendConfig: r }) => {
|
|
7187
|
+
const [a, o] = ge(Je.currentHierarchyPointNode), [s, l] = ge(Je.modalOpen), [u, f] = ge(Je.treeModalOpen), [d, m] = ge(Je.treePath), [p, v] = xs(Hf, t || Je.tree), [y, g] = ge(
|
|
7181
7188
|
n ? { ...Je.currentTree, id: n } : Je.currentTree
|
|
7182
|
-
),
|
|
7189
|
+
), h = jr(
|
|
7183
7190
|
() => {
|
|
7184
7191
|
var M, D;
|
|
7185
7192
|
return {
|
|
@@ -7197,14 +7204,14 @@ const Le = {
|
|
|
7197
7204
|
dispatchTree: v,
|
|
7198
7205
|
modalOpen: s,
|
|
7199
7206
|
setCurrentHierarchyPointNode: o,
|
|
7200
|
-
setCurrentTree:
|
|
7207
|
+
setCurrentTree: g,
|
|
7201
7208
|
setModalOpen: l,
|
|
7202
7209
|
setTreeModalOpen: f,
|
|
7203
|
-
setTreePath:
|
|
7210
|
+
setTreePath: m,
|
|
7204
7211
|
tree: p,
|
|
7205
7212
|
treeModalOpen: u,
|
|
7206
7213
|
treePath: d,
|
|
7207
|
-
version:
|
|
7214
|
+
version: og
|
|
7208
7215
|
};
|
|
7209
7216
|
},
|
|
7210
7217
|
[r, a, y, s, p, u, d]
|
|
@@ -7212,10 +7219,10 @@ const Le = {
|
|
|
7212
7219
|
return sn(y.id, {
|
|
7213
7220
|
enabled: !!n,
|
|
7214
7221
|
onSuccess: async (M) => {
|
|
7215
|
-
M && (
|
|
7222
|
+
M && (g({ id: M == null ? void 0 : M.id, name: M == null ? void 0 : M.label }), v(vi((M == null ? void 0 : M.workflow) || null)));
|
|
7216
7223
|
}
|
|
7217
|
-
}), /* @__PURE__ */ i.jsx(Cs.Provider, { value:
|
|
7218
|
-
},
|
|
7224
|
+
}), /* @__PURE__ */ i.jsx(Cs.Provider, { value: h, children: e });
|
|
7225
|
+
}, ig = {
|
|
7219
7226
|
close: "Close",
|
|
7220
7227
|
createTree: "Create Tree",
|
|
7221
7228
|
downloadJSONFile: "Download JSON File",
|
|
@@ -7223,7 +7230,7 @@ const Le = {
|
|
|
7223
7230
|
resetTree: "Reset tree",
|
|
7224
7231
|
save: "Save",
|
|
7225
7232
|
update: "Update"
|
|
7226
|
-
},
|
|
7233
|
+
}, lg = {
|
|
7227
7234
|
error: {
|
|
7228
7235
|
fetchTree: "An error has occurred. Please try again",
|
|
7229
7236
|
saveTree: "An error has occurred. Please try again",
|
|
@@ -7233,7 +7240,7 @@ const Le = {
|
|
|
7233
7240
|
saveTree: "Tree registered",
|
|
7234
7241
|
updateTree: "Tree updated"
|
|
7235
7242
|
}
|
|
7236
|
-
},
|
|
7243
|
+
}, cg = {
|
|
7237
7244
|
add: "Add",
|
|
7238
7245
|
cancel: "Cancel",
|
|
7239
7246
|
disabled: "Disabled",
|
|
@@ -7258,7 +7265,7 @@ const Le = {
|
|
|
7258
7265
|
validate: "Validate",
|
|
7259
7266
|
value: "Value",
|
|
7260
7267
|
values: "Values"
|
|
7261
|
-
},
|
|
7268
|
+
}, ug = {
|
|
7262
7269
|
close: "Fermer",
|
|
7263
7270
|
createTree: "Créer un arbre",
|
|
7264
7271
|
downloadJSONFile: "Télécharger le fichier JSON",
|
|
@@ -7303,6 +7310,7 @@ const Le = {
|
|
|
7303
7310
|
tel: "Téléphone",
|
|
7304
7311
|
text: "Texte",
|
|
7305
7312
|
time: "Temps",
|
|
7313
|
+
timeRange: "Plage de temps",
|
|
7306
7314
|
tree: "Arbre",
|
|
7307
7315
|
url: "URL"
|
|
7308
7316
|
},
|
|
@@ -7325,7 +7333,7 @@ const Le = {
|
|
|
7325
7333
|
editTitle: "Éditer le champ « {{name}} »",
|
|
7326
7334
|
resetTreeContent: "Êtes-vous sûr de vouloir réinitialiser l'arbre ?",
|
|
7327
7335
|
saveTree: "Enregistrer l'arbre"
|
|
7328
|
-
},
|
|
7336
|
+
}, dg = {
|
|
7329
7337
|
error: {
|
|
7330
7338
|
fetchTree: "Une erreur est survenue veuillez réessayer",
|
|
7331
7339
|
saveTree: "Une erreur est survenue veuillez réessayer",
|
|
@@ -7335,7 +7343,7 @@ const Le = {
|
|
|
7335
7343
|
saveTree: "Arbre enregistré",
|
|
7336
7344
|
updateTree: "Arbre mis à jour"
|
|
7337
7345
|
}
|
|
7338
|
-
},
|
|
7346
|
+
}, fg = {
|
|
7339
7347
|
add: "Ajouter",
|
|
7340
7348
|
cancel: "Annuler",
|
|
7341
7349
|
disabled: "Désactivé",
|
|
@@ -7361,7 +7369,7 @@ const Le = {
|
|
|
7361
7369
|
value: "Valeur",
|
|
7362
7370
|
values: "Valeurs"
|
|
7363
7371
|
};
|
|
7364
|
-
|
|
7372
|
+
hr.use(sl).use(rl).init({
|
|
7365
7373
|
debug: !1,
|
|
7366
7374
|
fallbackLng: "en",
|
|
7367
7375
|
interpolation: {
|
|
@@ -7373,31 +7381,31 @@ gr.use(sl).use(rl).init({
|
|
|
7373
7381
|
},
|
|
7374
7382
|
resources: {
|
|
7375
7383
|
en: {
|
|
7376
|
-
button:
|
|
7384
|
+
button: ig,
|
|
7377
7385
|
form: vs,
|
|
7378
7386
|
modal: bs,
|
|
7379
|
-
snackMessage:
|
|
7380
|
-
translation:
|
|
7387
|
+
snackMessage: lg,
|
|
7388
|
+
translation: cg
|
|
7381
7389
|
},
|
|
7382
7390
|
fr: {
|
|
7383
|
-
button:
|
|
7391
|
+
button: ug,
|
|
7384
7392
|
form: vs,
|
|
7385
7393
|
modal: bs,
|
|
7386
|
-
snackMessage:
|
|
7387
|
-
translation:
|
|
7394
|
+
snackMessage: dg,
|
|
7395
|
+
translation: fg
|
|
7388
7396
|
}
|
|
7389
7397
|
},
|
|
7390
7398
|
returnNull: !1
|
|
7391
7399
|
}).then(() => {
|
|
7392
|
-
document.documentElement.lang !==
|
|
7400
|
+
document.documentElement.lang !== hr.resolvedLanguage && hr.resolvedLanguage && document.documentElement.setAttribute("lang", hr.resolvedLanguage);
|
|
7393
7401
|
});
|
|
7394
|
-
|
|
7402
|
+
hr.on("languageChanged", (e) => {
|
|
7395
7403
|
document.documentElement.setAttribute("lang", e);
|
|
7396
7404
|
});
|
|
7397
|
-
const
|
|
7405
|
+
const Eg = ({ initialTree: e, initialTreeId: t, backendConfig: n }) => (Li(() => {
|
|
7398
7406
|
Bt.defaults.baseURL = n == null ? void 0 : n.baseUrl, n != null && n.authToken && (Bt.defaults.headers.common.Authorization = `Bearer ${n == null ? void 0 : n.authToken}`);
|
|
7399
|
-
}, [n == null ? void 0 : n.authToken, n == null ? void 0 : n.baseUrl]), /* @__PURE__ */ i.jsx(Pi, { client: pl, children: /* @__PURE__ */ i.jsx(
|
|
7407
|
+
}, [n == null ? void 0 : n.authToken, n == null ? void 0 : n.baseUrl]), /* @__PURE__ */ i.jsx(Pi, { client: pl, children: /* @__PURE__ */ i.jsx(hl, { authToken: n == null ? void 0 : n.authToken, children: /* @__PURE__ */ i.jsx(sg, { backendConfig: n, initialTree: e, initialTreeId: t, children: /* @__PURE__ */ i.jsx(fl, { children: /* @__PURE__ */ i.jsx(Ml, { children: /* @__PURE__ */ i.jsx(ag, {}) }) }) }) }) }));
|
|
7400
7408
|
export {
|
|
7401
7409
|
Dl as TreePlusIcon,
|
|
7402
|
-
|
|
7410
|
+
Eg as Treege
|
|
7403
7411
|
};
|