treege 1.0.3 → 1.0.5
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 +221 -221
- package/dist/main.umd.cjs +21 -21
- package/package.json +3 -3
package/dist/main.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as W from "react";
|
|
2
|
-
import Ga, { createContext as xo, useMemo as kr, useReducer as Ja, useState as be, useCallback as K, useContext as Co, memo as Xa, forwardRef as
|
|
3
|
-
import { QueryClient as wl, useQuery as
|
|
4
|
-
import
|
|
2
|
+
import Ga, { createContext as xo, useMemo as kr, useReducer as Ja, useState as be, useCallback as K, useContext as Co, memo as Xa, forwardRef as Ha, Children as El, useEffect as so, useId as Tl, useLayoutEffect as Sl } from "react";
|
|
3
|
+
import { QueryClient as wl, useQuery as Qa, useMutation as Za, QueryClientProvider as jl } from "@tanstack/react-query";
|
|
4
|
+
import Ht from "axios";
|
|
5
5
|
import { GlobalStyles as xn, ThemeProvider as Rl, Snackbar as Ol, Alert as _o, Box as ee, Button as lt, CircularProgress as ei, Stack as pe, Tooltip as Ge, IconButton as _t, Divider as ti, Dialog as Eo, DialogTitle as $l, DialogContent as kl, DialogContentText as Al, DialogActions as Ml, Slide as Pl, AppBar as Dl, Toolbar as Il, Typography as kt, Grid as Wn, FormControl as To, InputLabel as So, Select as wo, MenuItem as Nt, Skeleton as Fl, TextField as Pe, Chip as an, createFilterOptions as Nl, Autocomplete as Ll, InputAdornment as Ns, Accordion as Vl, AccordionSummary as ql, FormGroup as zl, FormControlLabel as br, Checkbox as yr } from "@tracktor/design-system";
|
|
6
6
|
import Bl from "react-d3-tree";
|
|
7
7
|
import { useTranslation as Ue, initReactI18next as Ul } from "react-i18next";
|
|
@@ -73,7 +73,7 @@ var Cr = {};
|
|
|
73
73
|
* LICENSE file in the root directory of this source tree.
|
|
74
74
|
*/
|
|
75
75
|
var Vs;
|
|
76
|
-
function
|
|
76
|
+
function Hl() {
|
|
77
77
|
return Vs || (Vs = 1, process.env.NODE_ENV !== "production" && function() {
|
|
78
78
|
var e = Ga, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), y = Symbol.for("react.offscreen"), b = Symbol.iterator, g = "@@iterator";
|
|
79
79
|
function v(u) {
|
|
@@ -92,29 +92,29 @@ function Ql() {
|
|
|
92
92
|
}
|
|
93
93
|
function w(u, T, j) {
|
|
94
94
|
{
|
|
95
|
-
var N = C.ReactDebugCurrentFrame,
|
|
96
|
-
|
|
95
|
+
var N = C.ReactDebugCurrentFrame, Q = N.getStackAddendum();
|
|
96
|
+
Q !== "" && (T += "%s", j = j.concat([Q]));
|
|
97
97
|
var ae = j.map(function(G) {
|
|
98
98
|
return String(G);
|
|
99
99
|
});
|
|
100
100
|
ae.unshift("Warning: " + T), Function.prototype.apply.call(console[u], console, ae);
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
|
-
var $ = !1, m = !1, P = !1, D = !1,
|
|
103
|
+
var $ = !1, m = !1, P = !1, D = !1, H = !1, Te;
|
|
104
104
|
Te = Symbol.for("react.module.reference");
|
|
105
105
|
function xe(u) {
|
|
106
|
-
return !!(typeof u == "string" || typeof u == "function" || u === r || u === s ||
|
|
106
|
+
return !!(typeof u == "string" || typeof u == "function" || u === r || u === s || H || u === o || u === d || u === f || D || u === y || $ || m || P || typeof u == "object" && u !== null && (u.$$typeof === h || u.$$typeof === p || u.$$typeof === a || u.$$typeof === l || u.$$typeof === c || // 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.
|
|
110
110
|
u.$$typeof === Te || u.getModuleId !== void 0));
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function Z(u, T, j) {
|
|
113
113
|
var N = u.displayName;
|
|
114
114
|
if (N)
|
|
115
115
|
return N;
|
|
116
|
-
var
|
|
117
|
-
return
|
|
116
|
+
var Q = T.displayName || T.name || "";
|
|
117
|
+
return Q !== "" ? j + "(" + Q + ")" : j;
|
|
118
118
|
}
|
|
119
119
|
function te(u) {
|
|
120
120
|
return u.displayName || "Context";
|
|
@@ -149,12 +149,12 @@ function Ql() {
|
|
|
149
149
|
var j = u;
|
|
150
150
|
return te(j._context) + ".Provider";
|
|
151
151
|
case c:
|
|
152
|
-
return
|
|
152
|
+
return Z(u, u.render, "ForwardRef");
|
|
153
153
|
case p:
|
|
154
154
|
var N = u.displayName || null;
|
|
155
155
|
return N !== null ? N : he(u.type) || "Memo";
|
|
156
156
|
case h: {
|
|
157
|
-
var
|
|
157
|
+
var Q = u, ae = Q._payload, G = Q._init;
|
|
158
158
|
try {
|
|
159
159
|
return he(G(ae));
|
|
160
160
|
} catch {
|
|
@@ -232,8 +232,8 @@ function Ql() {
|
|
|
232
232
|
if (F === void 0)
|
|
233
233
|
try {
|
|
234
234
|
throw Error();
|
|
235
|
-
} catch (
|
|
236
|
-
var N =
|
|
235
|
+
} catch (Q) {
|
|
236
|
+
var N = Q.stack.trim().match(/\n( *(at )?)/);
|
|
237
237
|
F = N && N[1] || "";
|
|
238
238
|
}
|
|
239
239
|
return `
|
|
@@ -255,7 +255,7 @@ function Ql() {
|
|
|
255
255
|
}
|
|
256
256
|
var N;
|
|
257
257
|
U = !0;
|
|
258
|
-
var
|
|
258
|
+
var Q = Error.prepareStackTrace;
|
|
259
259
|
Error.prepareStackTrace = void 0;
|
|
260
260
|
var ae;
|
|
261
261
|
ae = M.current, M.current = null, A();
|
|
@@ -311,7 +311,7 @@ function Ql() {
|
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
313
|
} finally {
|
|
314
|
-
U = !1, M.current = ae, B(), Error.prepareStackTrace =
|
|
314
|
+
U = !1, M.current = ae, B(), Error.prepareStackTrace = Q;
|
|
315
315
|
}
|
|
316
316
|
var yt = u ? u.displayName || u.name : "", dr = yt ? z(yt) : "";
|
|
317
317
|
return typeof u == "function" && V.set(u, dr), dr;
|
|
@@ -343,9 +343,9 @@ function Ql() {
|
|
|
343
343
|
case p:
|
|
344
344
|
return Ve(u.type, T, j);
|
|
345
345
|
case h: {
|
|
346
|
-
var N = u,
|
|
346
|
+
var N = u, Q = N._payload, ae = N._init;
|
|
347
347
|
try {
|
|
348
|
-
return Ve(ae(
|
|
348
|
+
return Ve(ae(Q), T, j);
|
|
349
349
|
} catch {
|
|
350
350
|
}
|
|
351
351
|
}
|
|
@@ -360,7 +360,7 @@ function Ql() {
|
|
|
360
360
|
} else
|
|
361
361
|
ct.setExtraStackFrame(null);
|
|
362
362
|
}
|
|
363
|
-
function or(u, T, j, N,
|
|
363
|
+
function or(u, T, j, N, Q) {
|
|
364
364
|
{
|
|
365
365
|
var ae = Function.call.bind(Xe);
|
|
366
366
|
for (var G in u)
|
|
@@ -375,12 +375,12 @@ function Ql() {
|
|
|
375
375
|
} catch (Ce) {
|
|
376
376
|
Y = Ce;
|
|
377
377
|
}
|
|
378
|
-
Y && !(Y instanceof Error) && (ht(
|
|
378
|
+
Y && !(Y instanceof Error) && (ht(Q), S("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", N || "React class", j, G, typeof Y), ht(null)), Y instanceof Error && !(Y.message in mt) && (mt[Y.message] = !0, ht(Q), S("Failed %s type: %s", j, Y.message), ht(null));
|
|
379
379
|
}
|
|
380
380
|
}
|
|
381
381
|
}
|
|
382
382
|
var Dt = Array.isArray;
|
|
383
|
-
function
|
|
383
|
+
function He(u) {
|
|
384
384
|
return Dt(u);
|
|
385
385
|
}
|
|
386
386
|
function St(u) {
|
|
@@ -454,7 +454,7 @@ function Ql() {
|
|
|
454
454
|
});
|
|
455
455
|
}
|
|
456
456
|
}
|
|
457
|
-
var Vn = function(u, T, j, N,
|
|
457
|
+
var Vn = function(u, T, j, N, Q, ae, G) {
|
|
458
458
|
var Y = {
|
|
459
459
|
// This tag allows us to uniquely identify this as a React Element
|
|
460
460
|
$$typeof: t,
|
|
@@ -480,13 +480,13 @@ function Ql() {
|
|
|
480
480
|
configurable: !1,
|
|
481
481
|
enumerable: !1,
|
|
482
482
|
writable: !1,
|
|
483
|
-
value:
|
|
483
|
+
value: Q
|
|
484
484
|
}), Object.freeze && (Object.freeze(Y.props), Object.freeze(Y)), Y;
|
|
485
485
|
};
|
|
486
|
-
function qn(u, T, j, N,
|
|
486
|
+
function qn(u, T, j, N, Q) {
|
|
487
487
|
{
|
|
488
488
|
var ae, G = {}, Y = null, qe = null;
|
|
489
|
-
j !== void 0 && (Vt(j), Y = "" + j), wt(T) && (Vt(T.key), Y = "" + T.key), at(T) && (qe = T.ref, It(T,
|
|
489
|
+
j !== void 0 && (Vt(j), Y = "" + j), wt(T) && (Vt(T.key), Y = "" + T.key), at(T) && (qe = T.ref, It(T, Q));
|
|
490
490
|
for (ae in T)
|
|
491
491
|
Xe.call(T, ae) && !ar.hasOwnProperty(ae) && (G[ae] = T[ae]);
|
|
492
492
|
if (u && u.defaultProps) {
|
|
@@ -498,7 +498,7 @@ function Ql() {
|
|
|
498
498
|
var we = typeof u == "function" ? u.displayName || u.name || "Unknown" : u;
|
|
499
499
|
Y && Nn(G, we), qe && Ln(G, we);
|
|
500
500
|
}
|
|
501
|
-
return Vn(u, Y, qe,
|
|
501
|
+
return Vn(u, Y, qe, Q, N, vt.current, G);
|
|
502
502
|
}
|
|
503
503
|
}
|
|
504
504
|
var ir = C.ReactCurrentOwner, Fr = C.ReactDebugCurrentFrame;
|
|
@@ -567,7 +567,7 @@ Check the top-level render call using <` + j + ">.");
|
|
|
567
567
|
{
|
|
568
568
|
if (typeof u != "object")
|
|
569
569
|
return;
|
|
570
|
-
if (
|
|
570
|
+
if (He(u))
|
|
571
571
|
for (var j = 0; j < u.length; j++) {
|
|
572
572
|
var N = u[j];
|
|
573
573
|
cr(N) && Vr(N, T);
|
|
@@ -575,9 +575,9 @@ Check the top-level render call using <` + j + ">.");
|
|
|
575
575
|
else if (cr(u))
|
|
576
576
|
u._store && (u._store.validated = !0);
|
|
577
577
|
else if (u) {
|
|
578
|
-
var
|
|
579
|
-
if (typeof
|
|
580
|
-
for (var ae =
|
|
578
|
+
var Q = v(u);
|
|
579
|
+
if (typeof Q == "function" && Q !== u.entries)
|
|
580
|
+
for (var ae = Q.call(u), G; !(G = ae.next()).done; )
|
|
581
581
|
cr(G.value) && Vr(G.value, T);
|
|
582
582
|
}
|
|
583
583
|
}
|
|
@@ -601,8 +601,8 @@ Check the top-level render call using <` + j + ">.");
|
|
|
601
601
|
or(j, u.props, "prop", N, u);
|
|
602
602
|
} else if (T.PropTypes !== void 0 && !lr) {
|
|
603
603
|
lr = !0;
|
|
604
|
-
var
|
|
605
|
-
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
604
|
+
var Q = he(T);
|
|
605
|
+
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Q || "Unknown");
|
|
606
606
|
}
|
|
607
607
|
typeof T.getDefaultProps == "function" && !T.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
608
608
|
}
|
|
@@ -619,25 +619,25 @@ Check the top-level render call using <` + j + ">.");
|
|
|
619
619
|
u.ref !== null && (jt(u), S("Invalid attribute `ref` supplied to `React.Fragment`."), jt(null));
|
|
620
620
|
}
|
|
621
621
|
}
|
|
622
|
-
function ur(u, T, j, N,
|
|
622
|
+
function ur(u, T, j, N, Q, ae) {
|
|
623
623
|
{
|
|
624
624
|
var G = xe(u);
|
|
625
625
|
if (!G) {
|
|
626
626
|
var Y = "";
|
|
627
627
|
(u === void 0 || typeof u == "object" && u !== null && Object.keys(u).length === 0) && (Y += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
628
|
-
var qe = zn(
|
|
628
|
+
var qe = zn(Q);
|
|
629
629
|
qe ? Y += qe : Y += Nr();
|
|
630
630
|
var Ce;
|
|
631
|
-
u === null ? Ce = "null" :
|
|
631
|
+
u === null ? Ce = "null" : He(u) ? Ce = "array" : u !== void 0 && u.$$typeof === t ? (Ce = "<" + (he(u.type) || "Unknown") + " />", Y = " Did you accidentally export a JSX literal instead of a component?") : Ce = typeof u, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Ce, Y);
|
|
632
632
|
}
|
|
633
|
-
var we = qn(u, T, j,
|
|
633
|
+
var we = qn(u, T, j, Q, ae);
|
|
634
634
|
if (we == null)
|
|
635
635
|
return we;
|
|
636
636
|
if (G) {
|
|
637
637
|
var Ke = T.children;
|
|
638
638
|
if (Ke !== void 0)
|
|
639
639
|
if (N)
|
|
640
|
-
if (
|
|
640
|
+
if (He(Ke)) {
|
|
641
641
|
for (var yt = 0; yt < Ke.length; yt++)
|
|
642
642
|
qr(Ke[yt], u);
|
|
643
643
|
Object.freeze && Object.freeze(Ke);
|
|
@@ -659,7 +659,7 @@ Check the top-level render call using <` + j + ">.");
|
|
|
659
659
|
Cr.Fragment = r, Cr.jsx = Wr, Cr.jsxs = Yr;
|
|
660
660
|
}()), Cr;
|
|
661
661
|
}
|
|
662
|
-
process.env.NODE_ENV === "production" ? ao.exports = Xl() : ao.exports =
|
|
662
|
+
process.env.NODE_ENV === "production" ? ao.exports = Xl() : ao.exports = Hl();
|
|
663
663
|
var i = ao.exports;
|
|
664
664
|
const ge = {
|
|
665
665
|
background: "#0a1929",
|
|
@@ -669,7 +669,7 @@ const ge = {
|
|
|
669
669
|
primary: "#0ed3b4",
|
|
670
670
|
secondary: "#007ef6",
|
|
671
671
|
tertiary: "#0f353e"
|
|
672
|
-
},
|
|
672
|
+
}, Ql = {
|
|
673
673
|
components: {
|
|
674
674
|
MuiButton: {
|
|
675
675
|
styleOverrides: {
|
|
@@ -693,7 +693,7 @@ const ge = {
|
|
|
693
693
|
main: ge.secondary
|
|
694
694
|
}
|
|
695
695
|
}
|
|
696
|
-
},
|
|
696
|
+
}, Zl = ({ children: e }) => /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
|
|
697
697
|
/* @__PURE__ */ i.jsx(
|
|
698
698
|
xn,
|
|
699
699
|
{
|
|
@@ -727,7 +727,7 @@ const ge = {
|
|
|
727
727
|
}
|
|
728
728
|
}
|
|
729
729
|
),
|
|
730
|
-
/* @__PURE__ */ i.jsx(Rl, { theme:
|
|
730
|
+
/* @__PURE__ */ i.jsx(Rl, { theme: Ql, children: e })
|
|
731
731
|
] }), ec = new wl({
|
|
732
732
|
defaultOptions: {
|
|
733
733
|
queries: {
|
|
@@ -816,7 +816,7 @@ const ge = {
|
|
|
816
816
|
c0-0.5,0.4-0.8,0.8-0.8h2.1V4.4c0-0.5,0.4-0.8,0.8-0.8s0.8,0.4,0.8,0.8v2.1h2.1C20.3,6.5,20.6,6.8,20.6,7.3z`
|
|
817
817
|
}
|
|
818
818
|
)
|
|
819
|
-
] }),
|
|
819
|
+
] }), Qe = {
|
|
820
820
|
backendConfig: {
|
|
821
821
|
baseUrl: "",
|
|
822
822
|
endpoints: {
|
|
@@ -841,7 +841,7 @@ const ge = {
|
|
|
841
841
|
treeModalOpen: !1,
|
|
842
842
|
treePath: [],
|
|
843
843
|
version: ""
|
|
844
|
-
}, si = xo(
|
|
844
|
+
}, si = xo(Qe), Le = () => Co(si), fc = () => {
|
|
845
845
|
const { setModalOpen: e } = Le();
|
|
846
846
|
return { handleClick: () => e("add") };
|
|
847
847
|
}, pc = () => {
|
|
@@ -849,10 +849,10 @@ const ge = {
|
|
|
849
849
|
return /* @__PURE__ */ i.jsx(ee, { alignItems: "center", justifyContent: "center", display: "flex", height: "100%", children: /* @__PURE__ */ i.jsx(lt, { onClick: t, size: "medium", variant: "contained", startIcon: /* @__PURE__ */ i.jsx(dc, {}), children: e("createTree", { ns: "button" }) }) });
|
|
850
850
|
}, Cn = (e, t) => {
|
|
851
851
|
const { backendConfig: n } = Le(), { endpoints: r } = n || {}, { workflow: o = "" } = r || {};
|
|
852
|
-
return
|
|
852
|
+
return Qa(
|
|
853
853
|
["workflow", e],
|
|
854
854
|
async ({ signal: s }) => {
|
|
855
|
-
const { data: a } = await
|
|
855
|
+
const { data: a } = await Ht.get(`${o}?id=${e}`, { signal: s });
|
|
856
856
|
return a;
|
|
857
857
|
},
|
|
858
858
|
{
|
|
@@ -1102,7 +1102,7 @@ function yc() {
|
|
|
1102
1102
|
}
|
|
1103
1103
|
}
|
|
1104
1104
|
}
|
|
1105
|
-
var m = c, P = d, D = l,
|
|
1105
|
+
var m = c, P = d, D = l, H = a, Te = t, xe = f, Z = r, te = b, he = y, se = n, re = s, ve = o, Ie = p, Me = !1;
|
|
1106
1106
|
function We(x) {
|
|
1107
1107
|
return Me || (Me = !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.")), E(x) || $(x) === c;
|
|
1108
1108
|
}
|
|
@@ -1142,7 +1142,7 @@ function yc() {
|
|
|
1142
1142
|
function ye(x) {
|
|
1143
1143
|
return $(x) === p;
|
|
1144
1144
|
}
|
|
1145
|
-
le.AsyncMode = m, le.ConcurrentMode = P, le.ContextConsumer = D, le.ContextProvider =
|
|
1145
|
+
le.AsyncMode = m, le.ConcurrentMode = P, le.ContextConsumer = D, le.ContextProvider = H, le.Element = Te, le.ForwardRef = xe, le.Fragment = Z, le.Lazy = te, le.Memo = he, le.Portal = se, le.Profiler = re, le.StrictMode = ve, le.Suspense = Ie, le.isAsyncMode = We, le.isConcurrentMode = E, le.isContextConsumer = R, le.isContextProvider = I, le.isElement = L, le.isForwardRef = A, le.isFragment = B, le.isLazy = M, le.isMemo = F, le.isPortal = z, le.isProfiler = U, le.isStrictMode = V, le.isSuspense = ye, le.isValidElementType = w, le.typeOf = $;
|
|
1146
1146
|
}()), le;
|
|
1147
1147
|
}
|
|
1148
1148
|
var Ys;
|
|
@@ -1213,10 +1213,10 @@ var Xn, Js;
|
|
|
1213
1213
|
function ci() {
|
|
1214
1214
|
return Js || (Js = 1, Xn = Function.call.bind(Object.prototype.hasOwnProperty)), Xn;
|
|
1215
1215
|
}
|
|
1216
|
-
var
|
|
1216
|
+
var Hn, Xs;
|
|
1217
1217
|
function Cc() {
|
|
1218
1218
|
if (Xs)
|
|
1219
|
-
return
|
|
1219
|
+
return Hn;
|
|
1220
1220
|
Xs = 1;
|
|
1221
1221
|
var e = function() {
|
|
1222
1222
|
};
|
|
@@ -1261,13 +1261,13 @@ function Cc() {
|
|
|
1261
1261
|
}
|
|
1262
1262
|
return o.resetWarningCache = function() {
|
|
1263
1263
|
process.env.NODE_ENV !== "production" && (n = {});
|
|
1264
|
-
},
|
|
1264
|
+
}, Hn = o, Hn;
|
|
1265
1265
|
}
|
|
1266
|
-
var
|
|
1266
|
+
var Qn, Hs;
|
|
1267
1267
|
function _c() {
|
|
1268
|
-
if (
|
|
1269
|
-
return
|
|
1270
|
-
|
|
1268
|
+
if (Hs)
|
|
1269
|
+
return Qn;
|
|
1270
|
+
Hs = 1;
|
|
1271
1271
|
var e = li(), t = xc(), n = Ro(), r = ci(), o = Cc(), s = function() {
|
|
1272
1272
|
};
|
|
1273
1273
|
process.env.NODE_ENV !== "production" && (s = function(l) {
|
|
@@ -1281,7 +1281,7 @@ function _c() {
|
|
|
1281
1281
|
function a() {
|
|
1282
1282
|
return null;
|
|
1283
1283
|
}
|
|
1284
|
-
return
|
|
1284
|
+
return Qn = function(l, c) {
|
|
1285
1285
|
var d = typeof Symbol == "function" && Symbol.iterator, f = "@@iterator";
|
|
1286
1286
|
function p(E) {
|
|
1287
1287
|
var R = E && (d && E[d] || E[f]);
|
|
@@ -1303,7 +1303,7 @@ function _c() {
|
|
|
1303
1303
|
elementType: m(),
|
|
1304
1304
|
instanceOf: P,
|
|
1305
1305
|
node: xe(),
|
|
1306
|
-
objectOf:
|
|
1306
|
+
objectOf: H,
|
|
1307
1307
|
oneOf: D,
|
|
1308
1308
|
oneOfType: Te,
|
|
1309
1309
|
shape: te,
|
|
@@ -1423,7 +1423,7 @@ function _c() {
|
|
|
1423
1423
|
}
|
|
1424
1424
|
return v(R);
|
|
1425
1425
|
}
|
|
1426
|
-
function
|
|
1426
|
+
function H(E) {
|
|
1427
1427
|
function R(I, L, A, B, M) {
|
|
1428
1428
|
if (typeof E != "function")
|
|
1429
1429
|
return new g("Property `" + M + "` of component `" + A + "` has invalid PropType notation inside objectOf.");
|
|
@@ -1468,7 +1468,7 @@ function _c() {
|
|
|
1468
1468
|
}
|
|
1469
1469
|
return v(E);
|
|
1470
1470
|
}
|
|
1471
|
-
function
|
|
1471
|
+
function Z(E, R, I, L, A) {
|
|
1472
1472
|
return new g(
|
|
1473
1473
|
(E || "React class") + ": " + R + " type `" + I + "." + L + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + A + "`."
|
|
1474
1474
|
);
|
|
@@ -1481,7 +1481,7 @@ function _c() {
|
|
|
1481
1481
|
for (var U in E) {
|
|
1482
1482
|
var V = E[U];
|
|
1483
1483
|
if (typeof V != "function")
|
|
1484
|
-
return
|
|
1484
|
+
return Z(A, B, M, U, Ie(V));
|
|
1485
1485
|
var ye = V(F, U, A, B, M + "." + U, n);
|
|
1486
1486
|
if (ye)
|
|
1487
1487
|
return ye;
|
|
@@ -1499,7 +1499,7 @@ function _c() {
|
|
|
1499
1499
|
for (var V in U) {
|
|
1500
1500
|
var ye = E[V];
|
|
1501
1501
|
if (r(E, V) && typeof ye != "function")
|
|
1502
|
-
return
|
|
1502
|
+
return Z(A, B, M, V, Ie(ye));
|
|
1503
1503
|
if (!ye)
|
|
1504
1504
|
return new g(
|
|
1505
1505
|
"Invalid " + B + " `" + M + "` key `" + V + "` supplied to `" + A + "`.\nBad object: " + JSON.stringify(I[L], null, " ") + `
|
|
@@ -1583,19 +1583,19 @@ Valid keys: ` + JSON.stringify(Object.keys(E), null, " ")
|
|
|
1583
1583
|
return !E.constructor || !E.constructor.name ? h : E.constructor.name;
|
|
1584
1584
|
}
|
|
1585
1585
|
return y.checkPropTypes = o, y.resetWarningCache = o.resetWarningCache, y.PropTypes = y, y;
|
|
1586
|
-
},
|
|
1586
|
+
}, Qn;
|
|
1587
1587
|
}
|
|
1588
|
-
var
|
|
1588
|
+
var Zn, Qs;
|
|
1589
1589
|
function Ec() {
|
|
1590
|
-
if (
|
|
1591
|
-
return
|
|
1592
|
-
|
|
1590
|
+
if (Qs)
|
|
1591
|
+
return Zn;
|
|
1592
|
+
Qs = 1;
|
|
1593
1593
|
var e = Ro();
|
|
1594
1594
|
function t() {
|
|
1595
1595
|
}
|
|
1596
1596
|
function n() {
|
|
1597
1597
|
}
|
|
1598
|
-
return n.resetWarningCache = t,
|
|
1598
|
+
return n.resetWarningCache = t, Zn = function() {
|
|
1599
1599
|
function r(a, l, c, d, f, p) {
|
|
1600
1600
|
if (p !== e) {
|
|
1601
1601
|
var h = new Error(
|
|
@@ -1632,7 +1632,7 @@ function Ec() {
|
|
|
1632
1632
|
resetWarningCache: t
|
|
1633
1633
|
};
|
|
1634
1634
|
return s.PropTypes = s, s;
|
|
1635
|
-
},
|
|
1635
|
+
}, Zn;
|
|
1636
1636
|
}
|
|
1637
1637
|
if (process.env.NODE_ENV !== "production") {
|
|
1638
1638
|
var Tc = li(), Sc = !0;
|
|
@@ -1661,11 +1661,11 @@ var lo = { exports: {} }, ce = {};
|
|
|
1661
1661
|
* This source code is licensed under the MIT license found in the
|
|
1662
1662
|
* LICENSE file in the root directory of this source tree.
|
|
1663
1663
|
*/
|
|
1664
|
-
var
|
|
1664
|
+
var Zs;
|
|
1665
1665
|
function Rc() {
|
|
1666
|
-
if (
|
|
1666
|
+
if (Zs)
|
|
1667
1667
|
return ce;
|
|
1668
|
-
|
|
1668
|
+
Zs = 1;
|
|
1669
1669
|
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), a = Symbol.for("react.context"), l = Symbol.for("react.server_context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), y = Symbol.for("react.offscreen"), b;
|
|
1670
1670
|
b = Symbol.for("react.module.reference");
|
|
1671
1671
|
function g(v) {
|
|
@@ -1784,7 +1784,7 @@ function Oc() {
|
|
|
1784
1784
|
}
|
|
1785
1785
|
}
|
|
1786
1786
|
}
|
|
1787
|
-
var P = a, D = s,
|
|
1787
|
+
var P = a, D = s, H = e, Te = c, xe = n, Z = h, te = p, he = t, se = o, re = r, ve = d, Ie = f, Me = !1, We = !1;
|
|
1788
1788
|
function E(O) {
|
|
1789
1789
|
return Me || (Me = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
1790
1790
|
}
|
|
@@ -1827,7 +1827,7 @@ function Oc() {
|
|
|
1827
1827
|
function Se(O) {
|
|
1828
1828
|
return m(O) === f;
|
|
1829
1829
|
}
|
|
1830
|
-
ue.ContextConsumer = P, ue.ContextProvider = D, ue.Element =
|
|
1830
|
+
ue.ContextConsumer = P, ue.ContextProvider = D, ue.Element = H, ue.ForwardRef = Te, ue.Fragment = xe, ue.Lazy = Z, ue.Memo = te, ue.Portal = he, ue.Profiler = se, ue.StrictMode = re, ue.Suspense = ve, ue.SuspenseList = Ie, ue.isAsyncMode = E, ue.isConcurrentMode = R, ue.isContextConsumer = I, ue.isContextProvider = L, ue.isElement = A, ue.isForwardRef = B, ue.isFragment = M, ue.isLazy = F, ue.isMemo = z, ue.isPortal = U, ue.isProfiler = V, ue.isStrictMode = ye, ue.isSuspense = x, ue.isSuspenseList = Se, ue.isValidElementType = $, ue.typeOf = m;
|
|
1831
1831
|
}()), ue;
|
|
1832
1832
|
}
|
|
1833
1833
|
process.env.NODE_ENV === "production" ? lo.exports = Rc() : lo.exports = Oc();
|
|
@@ -2043,13 +2043,13 @@ function Xc(e) {
|
|
|
2043
2043
|
function eo() {
|
|
2044
2044
|
_n = !1;
|
|
2045
2045
|
}
|
|
2046
|
-
function
|
|
2046
|
+
function Hc() {
|
|
2047
2047
|
this.visibilityState === "hidden" && co && (_n = !0);
|
|
2048
2048
|
}
|
|
2049
|
-
function
|
|
2050
|
-
e.addEventListener("keydown", Xc, !0), e.addEventListener("mousedown", eo, !0), e.addEventListener("pointerdown", eo, !0), e.addEventListener("touchstart", eo, !0), e.addEventListener("visibilitychange",
|
|
2049
|
+
function Qc(e) {
|
|
2050
|
+
e.addEventListener("keydown", Xc, !0), e.addEventListener("mousedown", eo, !0), e.addEventListener("pointerdown", eo, !0), e.addEventListener("touchstart", eo, !0), e.addEventListener("visibilitychange", Hc, !0);
|
|
2051
2051
|
}
|
|
2052
|
-
function
|
|
2052
|
+
function Zc(e) {
|
|
2053
2053
|
const {
|
|
2054
2054
|
target: t
|
|
2055
2055
|
} = e;
|
|
@@ -2061,7 +2061,7 @@ function Hc(e) {
|
|
|
2061
2061
|
}
|
|
2062
2062
|
function eu() {
|
|
2063
2063
|
const e = W.useCallback((o) => {
|
|
2064
|
-
o != null &&
|
|
2064
|
+
o != null && Qc(o.ownerDocument);
|
|
2065
2065
|
}, []), t = W.useRef(!1);
|
|
2066
2066
|
function n() {
|
|
2067
2067
|
return t.current ? (co = !0, Kc.start(100, () => {
|
|
@@ -2069,7 +2069,7 @@ function eu() {
|
|
|
2069
2069
|
}), t.current = !1, !0) : !1;
|
|
2070
2070
|
}
|
|
2071
2071
|
function r(o) {
|
|
2072
|
-
return
|
|
2072
|
+
return Zc(o) ? (t.current = !0, !0) : !1;
|
|
2073
2073
|
}
|
|
2074
2074
|
return {
|
|
2075
2075
|
isFocusVisibleRef: t,
|
|
@@ -2526,12 +2526,12 @@ const Wu = ke({
|
|
|
2526
2526
|
transform: Jt
|
|
2527
2527
|
});
|
|
2528
2528
|
wn(Wu, Yu, Ku);
|
|
2529
|
-
function
|
|
2529
|
+
function Ze(e) {
|
|
2530
2530
|
return e <= 1 && e !== 0 ? `${e * 100}%` : e;
|
|
2531
2531
|
}
|
|
2532
2532
|
const Gu = ke({
|
|
2533
2533
|
prop: "width",
|
|
2534
|
-
transform:
|
|
2534
|
+
transform: Ze
|
|
2535
2535
|
}), Ao = (e) => {
|
|
2536
2536
|
if (e.maxWidth !== void 0 && e.maxWidth !== null) {
|
|
2537
2537
|
const t = (n) => {
|
|
@@ -2542,7 +2542,7 @@ const Gu = ke({
|
|
|
2542
2542
|
} : {
|
|
2543
2543
|
maxWidth: s
|
|
2544
2544
|
} : {
|
|
2545
|
-
maxWidth:
|
|
2545
|
+
maxWidth: Ze(n)
|
|
2546
2546
|
};
|
|
2547
2547
|
};
|
|
2548
2548
|
return Et(e, e.maxWidth, t);
|
|
@@ -2552,31 +2552,31 @@ const Gu = ke({
|
|
|
2552
2552
|
Ao.filterProps = ["maxWidth"];
|
|
2553
2553
|
const Ju = ke({
|
|
2554
2554
|
prop: "minWidth",
|
|
2555
|
-
transform:
|
|
2555
|
+
transform: Ze
|
|
2556
2556
|
}), Xu = ke({
|
|
2557
2557
|
prop: "height",
|
|
2558
|
-
transform:
|
|
2559
|
-
}),
|
|
2558
|
+
transform: Ze
|
|
2559
|
+
}), Hu = ke({
|
|
2560
2560
|
prop: "maxHeight",
|
|
2561
|
-
transform:
|
|
2562
|
-
}),
|
|
2561
|
+
transform: Ze
|
|
2562
|
+
}), Qu = ke({
|
|
2563
2563
|
prop: "minHeight",
|
|
2564
|
-
transform:
|
|
2564
|
+
transform: Ze
|
|
2565
2565
|
});
|
|
2566
2566
|
ke({
|
|
2567
2567
|
prop: "size",
|
|
2568
2568
|
cssProperty: "width",
|
|
2569
|
-
transform:
|
|
2569
|
+
transform: Ze
|
|
2570
2570
|
});
|
|
2571
2571
|
ke({
|
|
2572
2572
|
prop: "size",
|
|
2573
2573
|
cssProperty: "height",
|
|
2574
|
-
transform:
|
|
2574
|
+
transform: Ze
|
|
2575
2575
|
});
|
|
2576
|
-
const
|
|
2576
|
+
const Zu = ke({
|
|
2577
2577
|
prop: "boxSizing"
|
|
2578
2578
|
});
|
|
2579
|
-
wn(Gu, Ao, Ju, Xu, Qu, Zu
|
|
2579
|
+
wn(Gu, Ao, Ju, Xu, Hu, Qu, Zu);
|
|
2580
2580
|
const ed = {
|
|
2581
2581
|
// borders
|
|
2582
2582
|
border: {
|
|
@@ -2822,22 +2822,22 @@ const ed = {
|
|
|
2822
2822
|
},
|
|
2823
2823
|
// sizing
|
|
2824
2824
|
width: {
|
|
2825
|
-
transform:
|
|
2825
|
+
transform: Ze
|
|
2826
2826
|
},
|
|
2827
2827
|
maxWidth: {
|
|
2828
2828
|
style: Ao
|
|
2829
2829
|
},
|
|
2830
2830
|
minWidth: {
|
|
2831
|
-
transform:
|
|
2831
|
+
transform: Ze
|
|
2832
2832
|
},
|
|
2833
2833
|
height: {
|
|
2834
|
-
transform:
|
|
2834
|
+
transform: Ze
|
|
2835
2835
|
},
|
|
2836
2836
|
maxHeight: {
|
|
2837
|
-
transform:
|
|
2837
|
+
transform: Ze
|
|
2838
2838
|
},
|
|
2839
2839
|
minHeight: {
|
|
2840
|
-
transform:
|
|
2840
|
+
transform: Ze
|
|
2841
2841
|
},
|
|
2842
2842
|
boxSizing: {},
|
|
2843
2843
|
// typography
|
|
@@ -3074,9 +3074,9 @@ function tn(e, t) {
|
|
|
3074
3074
|
function gd(e, t) {
|
|
3075
3075
|
return e.map(t).join("");
|
|
3076
3076
|
}
|
|
3077
|
-
var Mn = 1,
|
|
3077
|
+
var Mn = 1, Qt = 1, ji = 0, Je = 0, De = 0, tr = "";
|
|
3078
3078
|
function Pn(e, t, n, r, o, s, a) {
|
|
3079
|
-
return { value: e, root: t, parent: n, type: r, props: o, children: s, line: Mn, column:
|
|
3079
|
+
return { value: e, root: t, parent: n, type: r, props: o, children: s, line: Mn, column: Qt, length: a, return: "" };
|
|
3080
3080
|
}
|
|
3081
3081
|
function _r(e, t) {
|
|
3082
3082
|
return pd(Pn("", null, null, "", null, null, 0), e, { length: -e.length }, t);
|
|
@@ -3085,10 +3085,10 @@ function vd() {
|
|
|
3085
3085
|
return De;
|
|
3086
3086
|
}
|
|
3087
3087
|
function bd() {
|
|
3088
|
-
return De = Je > 0 ? Be(tr, --Je) : 0,
|
|
3088
|
+
return De = Je > 0 ? Be(tr, --Je) : 0, Qt--, De === 10 && (Qt = 1, Mn--), De;
|
|
3089
3089
|
}
|
|
3090
3090
|
function et() {
|
|
3091
|
-
return De = Je < ji ? Be(tr, Je++) : 0,
|
|
3091
|
+
return De = Je < ji ? Be(tr, Je++) : 0, Qt++, De === 10 && (Qt = 1, Mn++), De;
|
|
3092
3092
|
}
|
|
3093
3093
|
function pt() {
|
|
3094
3094
|
return Be(tr, Je);
|
|
@@ -3132,7 +3132,7 @@ function Rr(e) {
|
|
|
3132
3132
|
return 0;
|
|
3133
3133
|
}
|
|
3134
3134
|
function Ri(e) {
|
|
3135
|
-
return Mn =
|
|
3135
|
+
return Mn = Qt = 1, ji = ut(tr = e), Je = 0, [];
|
|
3136
3136
|
}
|
|
3137
3137
|
function Oi(e) {
|
|
3138
3138
|
return tr = "", e;
|
|
@@ -3737,7 +3737,7 @@ function qd() {
|
|
|
3737
3737
|
}
|
|
3738
3738
|
}
|
|
3739
3739
|
}
|
|
3740
|
-
var m = c, P = d, D = l,
|
|
3740
|
+
var m = c, P = d, D = l, H = a, Te = t, xe = f, Z = r, te = b, he = y, se = n, re = s, ve = o, Ie = p, Me = !1;
|
|
3741
3741
|
function We(x) {
|
|
3742
3742
|
return Me || (Me = !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.")), E(x) || $(x) === c;
|
|
3743
3743
|
}
|
|
@@ -3777,7 +3777,7 @@ function qd() {
|
|
|
3777
3777
|
function ye(x) {
|
|
3778
3778
|
return $(x) === p;
|
|
3779
3779
|
}
|
|
3780
|
-
fe.AsyncMode = m, fe.ConcurrentMode = P, fe.ContextConsumer = D, fe.ContextProvider =
|
|
3780
|
+
fe.AsyncMode = m, fe.ConcurrentMode = P, fe.ContextConsumer = D, fe.ContextProvider = H, fe.Element = Te, fe.ForwardRef = xe, fe.Fragment = Z, fe.Lazy = te, fe.Memo = he, fe.Portal = se, fe.Profiler = re, fe.StrictMode = ve, fe.Suspense = Ie, fe.isAsyncMode = We, fe.isConcurrentMode = E, fe.isContextConsumer = R, fe.isContextProvider = I, fe.isElement = L, fe.isForwardRef = A, fe.isFragment = B, fe.isLazy = M, fe.isMemo = F, fe.isPortal = z, fe.isProfiler = U, fe.isStrictMode = V, fe.isSuspense = ye, fe.isValidElementType = w, fe.typeOf = $;
|
|
3781
3781
|
}()), fe;
|
|
3782
3782
|
}
|
|
3783
3783
|
process.env.NODE_ENV === "production" ? po.exports = Vd() : po.exports = qd();
|
|
@@ -3918,12 +3918,12 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
3918
3918
|
return Kd[t] !== 1 && !Lo(t) && typeof n == "number" && n !== 0 ? n + "px" : n;
|
|
3919
3919
|
};
|
|
3920
3920
|
if (process.env.NODE_ENV !== "production") {
|
|
3921
|
-
var Xd = /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,
|
|
3921
|
+
var Xd = /(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/, Hd = ["normal", "none", "initial", "inherit", "unset"], Qd = gn, Zd = /^-ms-/, ef = /-(.)/g, ga = {};
|
|
3922
3922
|
gn = function(t, n) {
|
|
3923
|
-
if (t === "content" && (typeof n != "string" ||
|
|
3923
|
+
if (t === "content" && (typeof n != "string" || Hd.indexOf(n) === -1 && !Xd.test(n) && (n.charAt(0) !== n.charAt(n.length - 1) || n.charAt(0) !== '"' && n.charAt(0) !== "'")))
|
|
3924
3924
|
throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"" + n + "\"'`");
|
|
3925
|
-
var r =
|
|
3926
|
-
return r !== "" && !Lo(t) && t.indexOf("-") !== -1 && ga[t] === void 0 && (ga[t] = !0, console.error("Using kebab-case for css properties in objects is not supported. Did you mean " + t.replace(
|
|
3925
|
+
var r = Qd(t, n);
|
|
3926
|
+
return r !== "" && !Lo(t) && t.indexOf("-") !== -1 && ga[t] === void 0 && (ga[t] = !0, console.error("Using kebab-case for css properties in objects is not supported. Did you mean " + t.replace(Zd, "ms-").replace(ef, function(o, s) {
|
|
3927
3927
|
return s.toUpperCase();
|
|
3928
3928
|
}) + "?")), r;
|
|
3929
3929
|
};
|
|
@@ -4023,7 +4023,7 @@ function tf(e, t, n) {
|
|
|
4023
4023
|
}
|
|
4024
4024
|
var va = /label:\s*([^\s;\n{]+)\s*(;|$)/g, Fi;
|
|
4025
4025
|
process.env.NODE_ENV !== "production" && (Fi = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);
|
|
4026
|
-
var it,
|
|
4026
|
+
var it, Zt = function(t, n, r) {
|
|
4027
4027
|
if (t.length === 1 && typeof t[0] == "object" && t[0] !== null && t[0].styles !== void 0)
|
|
4028
4028
|
return t[0];
|
|
4029
4029
|
var o = !0, s = "";
|
|
@@ -4068,7 +4068,7 @@ var it, Ht = function(t, n, r) {
|
|
|
4068
4068
|
);
|
|
4069
4069
|
process.env.NODE_ENV !== "production" && (qo.displayName = "EmotionCacheContext");
|
|
4070
4070
|
var of = qo.Provider, Fn = function(t) {
|
|
4071
|
-
return /* @__PURE__ */
|
|
4071
|
+
return /* @__PURE__ */ Ha(function(n, r) {
|
|
4072
4072
|
var o = Co(qo);
|
|
4073
4073
|
return t(n, o, r);
|
|
4074
4074
|
});
|
|
@@ -4084,10 +4084,10 @@ var ya = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", xa = "__EMOTION_LABEL_PLEASE_DO_N
|
|
|
4084
4084
|
typeof r == "string" && t.registered[r] !== void 0 && (r = t.registered[r]);
|
|
4085
4085
|
var o = e[ya], s = [r], a = "";
|
|
4086
4086
|
typeof e.className == "string" ? a = No(t.registered, s, e.className) : e.className != null && (a = e.className + " ");
|
|
4087
|
-
var l =
|
|
4087
|
+
var l = Zt(s, void 0, W.useContext(Lt));
|
|
4088
4088
|
if (process.env.NODE_ENV !== "production" && l.name.indexOf("-") === -1) {
|
|
4089
4089
|
var c = e[xa];
|
|
4090
|
-
c && (l =
|
|
4090
|
+
c && (l = Zt([l, "label:" + c + ";"]));
|
|
4091
4091
|
}
|
|
4092
4092
|
a += t.key + "-" + l.name;
|
|
4093
4093
|
var d = {};
|
|
@@ -4253,7 +4253,7 @@ var lf = {
|
|
|
4253
4253
|
// means it will be turned into a className prop
|
|
4254
4254
|
// $FlowFixMe I don't really want to add it to the type since it shouldn't be used
|
|
4255
4255
|
(e.className || e.css) && (console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"), _a = !0);
|
|
4256
|
-
var n = e.styles, r =
|
|
4256
|
+
var n = e.styles, r = Zt([n], void 0, W.useContext(Lt)), o = W.useRef();
|
|
4257
4257
|
return ba(function() {
|
|
4258
4258
|
var s = t.key + "-global", a = new t.sheet.constructor({
|
|
4259
4259
|
key: s,
|
|
@@ -4281,7 +4281,7 @@ process.env.NODE_ENV !== "production" && (Vi.displayName = "EmotionGlobal");
|
|
|
4281
4281
|
function qi() {
|
|
4282
4282
|
for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
|
|
4283
4283
|
t[n] = arguments[n];
|
|
4284
|
-
return
|
|
4284
|
+
return Zt(t);
|
|
4285
4285
|
}
|
|
4286
4286
|
var cf = function() {
|
|
4287
4287
|
var t = qi.apply(void 0, arguments), n = "animation-" + t.name;
|
|
@@ -4335,7 +4335,7 @@ var ff = function(t) {
|
|
|
4335
4335
|
throw new Error("css can only be used during render");
|
|
4336
4336
|
for (var d = arguments.length, f = new Array(d), p = 0; p < d; p++)
|
|
4337
4337
|
f[p] = arguments[p];
|
|
4338
|
-
var h =
|
|
4338
|
+
var h = Zt(f, t.registered);
|
|
4339
4339
|
return r.push(h), Dn(t, h, !1), t.key + "-" + h.name;
|
|
4340
4340
|
}, s = function() {
|
|
4341
4341
|
if (n && process.env.NODE_ENV !== "production")
|
|
@@ -4413,12 +4413,12 @@ You may have forgotten to import it.`);
|
|
|
4413
4413
|
m.theme = W.useContext(Lt);
|
|
4414
4414
|
}
|
|
4415
4415
|
typeof g.className == "string" ? w = No(v.registered, $, g.className) : g.className != null && (w = g.className + " ");
|
|
4416
|
-
var D =
|
|
4416
|
+
var D = Zt(p.concat($), v.registered, m);
|
|
4417
4417
|
w += v.key + "-" + D.name, a !== void 0 && (w += " " + a);
|
|
4418
|
-
var
|
|
4418
|
+
var H = d && l === void 0 ? wa(S) : c, Te = {};
|
|
4419
4419
|
for (var xe in g)
|
|
4420
4420
|
d && xe === "as" || // $FlowFixMe
|
|
4421
|
-
|
|
4421
|
+
H(xe) && (Te[xe] = g[xe]);
|
|
4422
4422
|
return Te.className = w, Te.ref = C, /* @__PURE__ */ W.createElement(W.Fragment, null, /* @__PURE__ */ W.createElement(vf, {
|
|
4423
4423
|
cache: v,
|
|
4424
4424
|
serialized: D,
|
|
@@ -4906,7 +4906,7 @@ const Gf = {
|
|
|
4906
4906
|
A200: "#eeeeee",
|
|
4907
4907
|
A400: "#bdbdbd",
|
|
4908
4908
|
A700: "#616161"
|
|
4909
|
-
}, Xf = Jf,
|
|
4909
|
+
}, Xf = Jf, Hf = {
|
|
4910
4910
|
50: "#f3e5f5",
|
|
4911
4911
|
100: "#e1bee7",
|
|
4912
4912
|
200: "#ce93d8",
|
|
@@ -4921,7 +4921,7 @@ const Gf = {
|
|
|
4921
4921
|
A200: "#e040fb",
|
|
4922
4922
|
A400: "#d500f9",
|
|
4923
4923
|
A700: "#aa00ff"
|
|
4924
|
-
}, Bt =
|
|
4924
|
+
}, Bt = Hf, Qf = {
|
|
4925
4925
|
50: "#ffebee",
|
|
4926
4926
|
100: "#ffcdd2",
|
|
4927
4927
|
200: "#ef9a9a",
|
|
@@ -4936,7 +4936,7 @@ const Gf = {
|
|
|
4936
4936
|
A200: "#ff5252",
|
|
4937
4937
|
A400: "#ff1744",
|
|
4938
4938
|
A700: "#d50000"
|
|
4939
|
-
}, Ut =
|
|
4939
|
+
}, Ut = Qf, Zf = {
|
|
4940
4940
|
50: "#fff3e0",
|
|
4941
4941
|
100: "#ffe0b2",
|
|
4942
4942
|
200: "#ffcc80",
|
|
@@ -4951,7 +4951,7 @@ const Gf = {
|
|
|
4951
4951
|
A200: "#ffab40",
|
|
4952
4952
|
A400: "#ff9100",
|
|
4953
4953
|
A700: "#ff6d00"
|
|
4954
|
-
}, Er =
|
|
4954
|
+
}, Er = Zf, e0 = {
|
|
4955
4955
|
50: "#e3f2fd",
|
|
4956
4956
|
100: "#bbdefb",
|
|
4957
4957
|
200: "#90caf9",
|
|
@@ -5417,7 +5417,7 @@ function w0(e = {}, ...t) {
|
|
|
5417
5417
|
});
|
|
5418
5418
|
}, d;
|
|
5419
5419
|
}
|
|
5420
|
-
const j0 = w0(), Xi = j0,
|
|
5420
|
+
const j0 = w0(), Xi = j0, Hi = "$$material";
|
|
5421
5421
|
function R0({
|
|
5422
5422
|
props: e,
|
|
5423
5423
|
name: t
|
|
@@ -5426,7 +5426,7 @@ function R0({
|
|
|
5426
5426
|
props: e,
|
|
5427
5427
|
name: t,
|
|
5428
5428
|
defaultTheme: Xi,
|
|
5429
|
-
themeId:
|
|
5429
|
+
themeId: Hi
|
|
5430
5430
|
});
|
|
5431
5431
|
}
|
|
5432
5432
|
var Ir = {}, oo = { exports: {} }, Ia;
|
|
@@ -5453,11 +5453,11 @@ Ir.shouldForwardProp = dn;
|
|
|
5453
5453
|
Ir.systemDefaultTheme = void 0;
|
|
5454
5454
|
var rt = nr(Li()), go = nr(O0()), Fa = W0($0), F0 = k0, N0 = nr(A0), L0 = nr(M0), V0 = nr(P0), q0 = nr(D0);
|
|
5455
5455
|
const z0 = ["ownerState"], B0 = ["variants"], U0 = ["name", "slot", "skipVariantsResolver", "skipSx", "overridesResolver"];
|
|
5456
|
-
function
|
|
5456
|
+
function Qi(e) {
|
|
5457
5457
|
if (typeof WeakMap != "function")
|
|
5458
5458
|
return null;
|
|
5459
5459
|
var t = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new WeakMap();
|
|
5460
|
-
return (
|
|
5460
|
+
return (Qi = function(r) {
|
|
5461
5461
|
return r ? n : t;
|
|
5462
5462
|
})(e);
|
|
5463
5463
|
}
|
|
@@ -5466,7 +5466,7 @@ function W0(e, t) {
|
|
|
5466
5466
|
return e;
|
|
5467
5467
|
if (e === null || typeof e != "object" && typeof e != "function")
|
|
5468
5468
|
return { default: e };
|
|
5469
|
-
var n =
|
|
5469
|
+
var n = Qi(t);
|
|
5470
5470
|
if (n && n.has(e))
|
|
5471
5471
|
return n.get(e);
|
|
5472
5472
|
var r = { __proto__: null }, o = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
@@ -5571,9 +5571,9 @@ function X0(e = {}) {
|
|
|
5571
5571
|
})
|
|
5572
5572
|
})) : m, $ = (m, ...P) => {
|
|
5573
5573
|
let D = w(m);
|
|
5574
|
-
const
|
|
5575
|
-
c && h &&
|
|
5576
|
-
const te = rn((0, rt.default)({},
|
|
5574
|
+
const H = P ? P.map(w) : [];
|
|
5575
|
+
c && h && H.push((Z) => {
|
|
5576
|
+
const te = rn((0, rt.default)({}, Z, {
|
|
5577
5577
|
defaultTheme: n,
|
|
5578
5578
|
themeId: t
|
|
5579
5579
|
}));
|
|
@@ -5581,44 +5581,44 @@ function X0(e = {}) {
|
|
|
5581
5581
|
return null;
|
|
5582
5582
|
const he = te.components[c].styleOverrides, se = {};
|
|
5583
5583
|
return Object.entries(he).forEach(([re, ve]) => {
|
|
5584
|
-
se[re] = fn(ve, (0, rt.default)({},
|
|
5584
|
+
se[re] = fn(ve, (0, rt.default)({}, Z, {
|
|
5585
5585
|
theme: te
|
|
5586
5586
|
}));
|
|
5587
|
-
}), h(
|
|
5588
|
-
}), c && !b &&
|
|
5587
|
+
}), h(Z, se);
|
|
5588
|
+
}), c && !b && H.push((Z) => {
|
|
5589
5589
|
var te;
|
|
5590
|
-
const he = rn((0, rt.default)({},
|
|
5590
|
+
const he = rn((0, rt.default)({}, Z, {
|
|
5591
5591
|
defaultTheme: n,
|
|
5592
5592
|
themeId: t
|
|
5593
5593
|
})), se = he == null || (te = he.components) == null || (te = te[c]) == null ? void 0 : te.variants;
|
|
5594
5594
|
return fn({
|
|
5595
5595
|
variants: se
|
|
5596
|
-
}, (0, rt.default)({},
|
|
5596
|
+
}, (0, rt.default)({}, Z, {
|
|
5597
5597
|
theme: he
|
|
5598
5598
|
}));
|
|
5599
|
-
}), g ||
|
|
5600
|
-
const Te =
|
|
5599
|
+
}), g || H.push(s);
|
|
5600
|
+
const Te = H.length - P.length;
|
|
5601
5601
|
if (Array.isArray(m) && Te > 0) {
|
|
5602
|
-
const
|
|
5603
|
-
D = [...m, ...
|
|
5602
|
+
const Z = new Array(Te).fill("");
|
|
5603
|
+
D = [...m, ...Z], D.raw = [...m.raw, ...Z];
|
|
5604
5604
|
}
|
|
5605
|
-
const xe = S(D, ...
|
|
5605
|
+
const xe = S(D, ...H);
|
|
5606
5606
|
if (process.env.NODE_ENV !== "production") {
|
|
5607
|
-
let
|
|
5608
|
-
c && (
|
|
5607
|
+
let Z;
|
|
5608
|
+
c && (Z = `${c}${(0, N0.default)(d || "")}`), Z === void 0 && (Z = `Styled(${(0, L0.default)(a)})`), xe.displayName = Z;
|
|
5609
5609
|
}
|
|
5610
5610
|
return a.muiName && (xe.muiName = a.muiName), xe;
|
|
5611
5611
|
};
|
|
5612
5612
|
return S.withConfig && ($.withConfig = S.withConfig), $;
|
|
5613
5613
|
};
|
|
5614
5614
|
}
|
|
5615
|
-
function
|
|
5615
|
+
function H0(e) {
|
|
5616
5616
|
return e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as";
|
|
5617
5617
|
}
|
|
5618
|
-
const
|
|
5619
|
-
themeId:
|
|
5618
|
+
const Q0 = (e) => H0(e) && e !== "classes", Z0 = Q0, ep = I0({
|
|
5619
|
+
themeId: Hi,
|
|
5620
5620
|
defaultTheme: Xi,
|
|
5621
|
-
rootShouldForwardProp:
|
|
5621
|
+
rootShouldForwardProp: Z0
|
|
5622
5622
|
});
|
|
5623
5623
|
function tp(e) {
|
|
5624
5624
|
return $o("MuiSvgIcon", e);
|
|
@@ -5841,8 +5841,8 @@ var cp = Ee;
|
|
|
5841
5841
|
Object.defineProperty(jo, "__esModule", {
|
|
5842
5842
|
value: !0
|
|
5843
5843
|
});
|
|
5844
|
-
var
|
|
5845
|
-
|
|
5844
|
+
var Zi = jo.default = void 0, up = cp($e()), dp = i;
|
|
5845
|
+
Zi = jo.default = (0, up.default)(/* @__PURE__ */ (0, dp.jsx)("path", {
|
|
5846
5846
|
d: "M15 1H4c-1.1 0-2 .9-2 2v13c0 .55.45 1 1 1s1-.45 1-1V4c0-.55.45-1 1-1h10c.55 0 1-.45 1-1s-.45-1-1-1m.59 4.59 4.83 4.83c.37.37.58.88.58 1.41V21c0 1.1-.9 2-2 2H7.99C6.89 23 6 22.1 6 21l.01-14c0-1.1.89-2 1.99-2h6.17c.53 0 1.04.21 1.42.59M15 12h4.5L14 6.5V11c0 .55.45 1 1 1"
|
|
5847
5847
|
}), "FileCopyRounded");
|
|
5848
5848
|
var Wo = {}, fp = Ee;
|
|
@@ -6031,20 +6031,20 @@ const nl = (e, t) => {
|
|
|
6031
6031
|
return { close: () => e(oi()), open: (r, o = "success") => e(oc(r, o)) };
|
|
6032
6032
|
}, Mp = (e) => {
|
|
6033
6033
|
const { backendConfig: t } = Le(), { endpoints: n } = t || {}, { workflow: r = "" } = n || {};
|
|
6034
|
-
return
|
|
6034
|
+
return Za(
|
|
6035
6035
|
["patchWorkflow"],
|
|
6036
6036
|
async (o) => {
|
|
6037
|
-
const { data: s } = await
|
|
6037
|
+
const { data: s } = await Ht.patch(r, o);
|
|
6038
6038
|
return s;
|
|
6039
6039
|
},
|
|
6040
6040
|
e
|
|
6041
6041
|
);
|
|
6042
6042
|
}, Pp = (e) => {
|
|
6043
6043
|
const { backendConfig: t } = Le(), { endpoints: n } = t || {}, { workflow: r = "" } = n || {};
|
|
6044
|
-
return
|
|
6044
|
+
return Za(
|
|
6045
6045
|
["postWorkflow"],
|
|
6046
6046
|
async (o) => {
|
|
6047
|
-
const { data: s } = await
|
|
6047
|
+
const { data: s } = await Ht.post(r, o);
|
|
6048
6048
|
return s;
|
|
6049
6049
|
},
|
|
6050
6050
|
e
|
|
@@ -6101,7 +6101,7 @@ const nl = (e, t) => {
|
|
|
6101
6101
|
return /* @__PURE__ */ i.jsxs(pe, { direction: "row", spacing: 1, justifyContent: "center", children: [
|
|
6102
6102
|
/* @__PURE__ */ i.jsx(Ge, { title: n("resetTree", { ns: "button" }), enterDelay: 1500, disableHoverListener: !t, arrow: !0, children: /* @__PURE__ */ i.jsx(ee, { children: /* @__PURE__ */ i.jsx(_t, { disabled: !h, onClick: a, color: "warning", children: /* @__PURE__ */ i.jsx(el, {}) }) }) }),
|
|
6103
6103
|
/* @__PURE__ */ i.jsx(ti, { orientation: "vertical", flexItem: !0 }),
|
|
6104
|
-
/* @__PURE__ */ i.jsx(Ge, { title: n("copyToClipboard", { ns: "button" }), enterDelay: 1500, disableHoverListener: !t, arrow: !0, children: /* @__PURE__ */ i.jsx(ee, { children: /* @__PURE__ */ i.jsx(_t, { href: "", download: `${e}.json`, disabled: !t, onClick: c(t), children: /* @__PURE__ */ i.jsx(
|
|
6104
|
+
/* @__PURE__ */ i.jsx(Ge, { title: n("copyToClipboard", { ns: "button" }), enterDelay: 1500, disableHoverListener: !t, arrow: !0, children: /* @__PURE__ */ i.jsx(ee, { children: /* @__PURE__ */ i.jsx(_t, { href: "", download: `${e}.json`, disabled: !t, onClick: c(t), children: /* @__PURE__ */ i.jsx(Zi, {}) }) }) }),
|
|
6105
6105
|
/* @__PURE__ */ i.jsx(Ge, { title: n("downloadJSONFile", { ns: "button" }), enterDelay: 1500, disableHoverListener: !t, arrow: !0, children: /* @__PURE__ */ i.jsx(ee, { children: /* @__PURE__ */ i.jsx(_t, { href: r(t), download: `${e}.json`, disabled: !t, children: /* @__PURE__ */ i.jsx(rl, {}) }) }) }),
|
|
6106
6106
|
/* @__PURE__ */ i.jsx(
|
|
6107
6107
|
Ge,
|
|
@@ -6193,7 +6193,7 @@ const nn = {
|
|
|
6193
6193
|
timeout: c,
|
|
6194
6194
|
children: e
|
|
6195
6195
|
}
|
|
6196
|
-
), zp =
|
|
6196
|
+
), zp = Ha(qp), Bp = ({ children: e, open: t, onClose: n, title: r }) => /* @__PURE__ */ i.jsx(
|
|
6197
6197
|
Eo,
|
|
6198
6198
|
{
|
|
6199
6199
|
PaperProps: { sx: { backgroundColor: ge.background, backgroundImage: "none" } },
|
|
@@ -6241,13 +6241,13 @@ const nn = {
|
|
|
6241
6241
|
t[3]
|
|
6242
6242
|
] }) })
|
|
6243
6243
|
] });
|
|
6244
|
-
},
|
|
6244
|
+
}, Hp = {
|
|
6245
6245
|
box: {
|
|
6246
6246
|
border: `solid 1px ${ge.borderBlue}`,
|
|
6247
6247
|
flexGrow: 1,
|
|
6248
6248
|
overflow: "auto"
|
|
6249
6249
|
}
|
|
6250
|
-
},
|
|
6250
|
+
}, Qp = ({ children: e }) => /* @__PURE__ */ i.jsx(ee, { sx: Hp.box, component: "aside", children: e }), Zp = () => {
|
|
6251
6251
|
const { dispatchTree: e, setModalOpen: t, currentHierarchyPointNode: n, treePath: r } = Le();
|
|
6252
6252
|
return {
|
|
6253
6253
|
handleSubmit: (s) => {
|
|
@@ -6258,34 +6258,34 @@ const nn = {
|
|
|
6258
6258
|
}
|
|
6259
6259
|
};
|
|
6260
6260
|
}, e1 = ({ onClose: e }) => {
|
|
6261
|
-
const { t } = Ue(), { handleSubmit: n } =
|
|
6261
|
+
const { t } = Ue(), { handleSubmit: n } = Zp();
|
|
6262
6262
|
return /* @__PURE__ */ i.jsx("form", { onSubmit: n, children: /* @__PURE__ */ i.jsxs(pe, { spacing: 2, direction: "row", justifyContent: "flex-end", children: [
|
|
6263
6263
|
/* @__PURE__ */ i.jsx(lt, { variant: "text", onClick: e, children: t("cancel") }),
|
|
6264
6264
|
/* @__PURE__ */ i.jsx(lt, { variant: "contained", color: "error", type: "submit", children: t("remove") })
|
|
6265
6265
|
] }) });
|
|
6266
6266
|
};
|
|
6267
|
-
var
|
|
6268
|
-
Object.defineProperty(
|
|
6267
|
+
var Ho = {}, t1 = Ee;
|
|
6268
|
+
Object.defineProperty(Ho, "__esModule", {
|
|
6269
6269
|
value: !0
|
|
6270
6270
|
});
|
|
6271
|
-
var vo =
|
|
6272
|
-
vo =
|
|
6271
|
+
var vo = Ho.default = void 0, r1 = t1($e()), n1 = i;
|
|
6272
|
+
vo = Ho.default = (0, r1.default)(/* @__PURE__ */ (0, n1.jsx)("path", {
|
|
6273
6273
|
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m4 11h-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 1"
|
|
6274
6274
|
}), "AddCircleRounded");
|
|
6275
|
-
var
|
|
6276
|
-
Object.defineProperty(
|
|
6275
|
+
var Qo = {}, o1 = Ee;
|
|
6276
|
+
Object.defineProperty(Qo, "__esModule", {
|
|
6277
6277
|
value: !0
|
|
6278
6278
|
});
|
|
6279
|
-
var il =
|
|
6280
|
-
il =
|
|
6279
|
+
var il = Qo.default = void 0, s1 = o1($e()), a1 = i;
|
|
6280
|
+
il = Qo.default = (0, s1.default)(/* @__PURE__ */ (0, a1.jsx)("path", {
|
|
6281
6281
|
d: "m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"
|
|
6282
6282
|
}), "ArrowForward");
|
|
6283
|
-
var
|
|
6284
|
-
Object.defineProperty(
|
|
6283
|
+
var Zo = {}, i1 = Ee;
|
|
6284
|
+
Object.defineProperty(Zo, "__esModule", {
|
|
6285
6285
|
value: !0
|
|
6286
6286
|
});
|
|
6287
|
-
var ll =
|
|
6288
|
-
ll =
|
|
6287
|
+
var ll = Zo.default = void 0, l1 = i1($e()), c1 = i;
|
|
6288
|
+
ll = Zo.default = (0, l1.default)(/* @__PURE__ */ (0, c1.jsx)("path", {
|
|
6289
6289
|
d: "M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"
|
|
6290
6290
|
}), "KeyboardArrowDown");
|
|
6291
6291
|
var es = {}, u1 = Ee;
|
|
@@ -6409,10 +6409,10 @@ ul = ns.default = (0, _1.default)(/* @__PURE__ */ (0, E1.jsx)("path", {
|
|
|
6409
6409
|
}), "AddRounded");
|
|
6410
6410
|
const T1 = (e) => {
|
|
6411
6411
|
const { backendConfig: t } = Le(), { endpoints: n } = t || {}, { workflows: r = "" } = n || {};
|
|
6412
|
-
return
|
|
6412
|
+
return Qa(
|
|
6413
6413
|
["workflows"],
|
|
6414
6414
|
async ({ signal: o }) => {
|
|
6415
|
-
const { data: s } = await
|
|
6415
|
+
const { data: s } = await Ht.get(r, { signal: o });
|
|
6416
6416
|
return s;
|
|
6417
6417
|
},
|
|
6418
6418
|
e
|
|
@@ -6665,10 +6665,10 @@ const T1 = (e) => {
|
|
|
6665
6665
|
type: "dynamicSelect"
|
|
6666
6666
|
}
|
|
6667
6667
|
], j1 = () => {
|
|
6668
|
-
var Wr, Yr, u, T, j, N,
|
|
6669
|
-
const e = Tl(), t = kr(() => [{ id: "0", label: "", message: "", value: "" }], []), { dispatchTree: n, currentHierarchyPointNode: r, modalOpen: o, treePath: s, setModalOpen: a } = Le(), { open: l } = Jo(), { t: c } = Ue(), d = r != null && r.data && ((Wr = r == null ? void 0 : r.data) != null && Wr.attributes) && "isMultiple" in r.data.attributes ? !!r.data.attributes.isMultiple : null, [f, p] = be(t), [h, y] = be(""), [b, g] = be(""), [v, C] = be(""), [S, w] = be(!1), [$, m] = be(!1), [P, D] = be(!1), [
|
|
6668
|
+
var Wr, Yr, u, T, j, N, Q, ae, G, Y, qe, Ce, we, Ke, yt, dr, tt, ms, hs, gs, vs, bs, ys, xs, Cs, _s, Es, Ts, Ss, ws, js, Rs;
|
|
6669
|
+
const e = Tl(), t = kr(() => [{ id: "0", label: "", message: "", value: "" }], []), { dispatchTree: n, currentHierarchyPointNode: r, modalOpen: o, treePath: s, setModalOpen: a } = Le(), { open: l } = Jo(), { t: c } = Ue(), d = r != null && r.data && ((Wr = r == null ? void 0 : r.data) != null && Wr.attributes) && "isMultiple" in r.data.attributes ? !!r.data.attributes.isMultiple : null, [f, p] = be(t), [h, y] = be(""), [b, g] = be(""), [v, C] = be(""), [S, w] = be(!1), [$, m] = be(!1), [P, D] = be(!1), [H, Te] = be("text"), [xe, Z] = be(null), [te, he] = be(null), [se, re] = be({ url: "" }), [ve, Ie] = be(""), [Me, We] = be(""), [E, R] = be(""), [I, L] = be({ off: "", on: "" }), [A, B] = be(!1), [M, F] = be(!1), z = o === "edit", U = H === "tree", V = H === "hidden", ye = H === "autocomplete", x = H === "dynamicSelect", Se = Gt.some((_) => _.type === H && (_ == null ? void 0 : _.isBooleanField)), O = Gt.some((_) => _.type === H && (_ == null ? void 0 : _.isDecisionField)), Ve = Gt.some((_) => _.type === H && (_ == null ? void 0 : _.isRequiredDisabled)), Xe = Gt.some((_) => _.type === H && (_ == null ? void 0 : _.isRepeatableDisabled)), mt = ((u = (Yr = r == null ? void 0 : r.data) == null ? void 0 : Yr.attributes) == null ? void 0 : u.isLeaf) ?? !0, ct = Gt.some((_) => _.type === H && "isMultiple" in _), { refetch: ht, isInitialLoading: or } = Cn(ve, {
|
|
6670
6670
|
enabled: !1
|
|
6671
|
-
}), Dt = K((_) => !O && _ > 0, [O]),
|
|
6671
|
+
}), Dt = K((_) => !O && _ > 0, [O]), He = K((_, k) => {
|
|
6672
6672
|
p(
|
|
6673
6673
|
(q) => q.map((J) => {
|
|
6674
6674
|
const { id: je } = J;
|
|
@@ -6681,7 +6681,7 @@ const T1 = (e) => {
|
|
|
6681
6681
|
);
|
|
6682
6682
|
}, []), St = K(
|
|
6683
6683
|
(_, k) => {
|
|
6684
|
-
typeof k == "string" ?
|
|
6684
|
+
typeof k == "string" ? Z(k) : k && k.inputValue ? Z(k.inputValue) : Z(null);
|
|
6685
6685
|
},
|
|
6686
6686
|
[]
|
|
6687
6687
|
), sr = K((_, k) => {
|
|
@@ -6697,19 +6697,19 @@ const T1 = (e) => {
|
|
|
6697
6697
|
C(_.target.value);
|
|
6698
6698
|
}, []), ar = K(
|
|
6699
6699
|
(_) => {
|
|
6700
|
-
|
|
6700
|
+
He(_, "label");
|
|
6701
6701
|
},
|
|
6702
|
-
[
|
|
6702
|
+
[He]
|
|
6703
6703
|
), qt = K(
|
|
6704
6704
|
(_) => {
|
|
6705
|
-
|
|
6705
|
+
He(_, "value");
|
|
6706
6706
|
},
|
|
6707
|
-
[
|
|
6707
|
+
[He]
|
|
6708
6708
|
), Fe = K(
|
|
6709
6709
|
(_) => {
|
|
6710
|
-
|
|
6710
|
+
He(_, "message");
|
|
6711
6711
|
},
|
|
6712
|
-
[
|
|
6712
|
+
[He]
|
|
6713
6713
|
), bt = K((_) => {
|
|
6714
6714
|
re((k) => ({ ...k, url: _.target.value }));
|
|
6715
6715
|
}, []), at = K(
|
|
@@ -6875,7 +6875,7 @@ const T1 = (e) => {
|
|
|
6875
6875
|
attributes: {
|
|
6876
6876
|
depth: xt,
|
|
6877
6877
|
name: v,
|
|
6878
|
-
type:
|
|
6878
|
+
type: H,
|
|
6879
6879
|
...b && { label: b },
|
|
6880
6880
|
...ye && { route: se },
|
|
6881
6881
|
...x && { route: se },
|
|
@@ -6913,7 +6913,7 @@ const T1 = (e) => {
|
|
|
6913
6913
|
U,
|
|
6914
6914
|
b,
|
|
6915
6915
|
v,
|
|
6916
|
-
|
|
6916
|
+
H,
|
|
6917
6917
|
ye,
|
|
6918
6918
|
se,
|
|
6919
6919
|
x,
|
|
@@ -6939,24 +6939,24 @@ const T1 = (e) => {
|
|
|
6939
6939
|
return so(() => {
|
|
6940
6940
|
var _, k, q, J, je, Ne, xt, Ct, Rt, Kr, Gr, zt, Jr, fr, pr, mr, hr, gr, Os, $s, ks, As, Ms;
|
|
6941
6941
|
if (o === "edit") {
|
|
6942
|
-
const Xr = ((k = (_ = r == null ? void 0 : r.data) == null ? void 0 : _.attributes) == null ? void 0 : k.values) || ((je = (J = (q = r == null ? void 0 : r.data) == null ? void 0 : q.children) == null ? void 0 : J.filter(({ attributes: Ft }) => !(Ft != null && Ft.type))) == null ? void 0 : je.map(({ attributes: Ft },
|
|
6943
|
-
const { label:
|
|
6942
|
+
const Xr = ((k = (_ = r == null ? void 0 : r.data) == null ? void 0 : _.attributes) == null ? void 0 : k.values) || ((je = (J = (q = r == null ? void 0 : r.data) == null ? void 0 : q.children) == null ? void 0 : J.filter(({ attributes: Ft }) => !(Ft != null && Ft.type))) == null ? void 0 : je.map(({ attributes: Ft }, Hr) => {
|
|
6943
|
+
const { label: Qr, value: Zr, message: vr } = Ft || {};
|
|
6944
6944
|
return {
|
|
6945
|
-
id: String(
|
|
6946
|
-
label: String(
|
|
6947
|
-
value: String(
|
|
6945
|
+
id: String(Hr),
|
|
6946
|
+
label: String(Qr),
|
|
6947
|
+
value: String(Zr),
|
|
6948
6948
|
...vr && { message: String(vr) }
|
|
6949
6949
|
};
|
|
6950
6950
|
}));
|
|
6951
|
-
|
|
6951
|
+
Z(((Ne = r == null ? void 0 : r.data.attributes) == null ? void 0 : Ne.tag) || null), Te(((xt = r == null ? void 0 : r.data.attributes) == null ? void 0 : xt.type) || "text"), We(((Ct = r == null ? void 0 : r.data.attributes) == null ? void 0 : Ct.helperText) || ""), w(((Rt = r == null ? void 0 : r.data.attributes) == null ? void 0 : Rt.required) || !1), R(((Kr = r == null ? void 0 : r.data.attributes) == null ? void 0 : Kr.step) || ""), g(((Gr = r == null ? void 0 : r.data.attributes) == null ? void 0 : Gr.label) || ""), C(((zt = r == null ? void 0 : r.data.attributes) == null ? void 0 : zt.name) || ""), m(((Jr = r == null ? void 0 : r.data.attributes) == null ? void 0 : Jr.isDecision) || !1), p(Xr != null && Xr.length ? Xr : t), Ie(((pr = (fr = r == null ? void 0 : r.data.attributes) == null ? void 0 : fr.tree) == null ? void 0 : pr.treeId) || ""), B(((mr = r == null ? void 0 : r.data.attributes) == null ? void 0 : mr.repeatable) || !1), y(((hr = r == null ? void 0 : r.data.attributes) == null ? void 0 : hr.hiddenValue) || ""), he(((gr = r == null ? void 0 : r.data.attributes) == null ? void 0 : gr.parentRef) || null), L({
|
|
6952
6952
|
off: (($s = (Os = r == null ? void 0 : r.data.attributes) == null ? void 0 : Os.messages) == null ? void 0 : $s.off) || "",
|
|
6953
6953
|
on: ((As = (ks = r == null ? void 0 : r.data.attributes) == null ? void 0 : ks.messages) == null ? void 0 : As.on) || ""
|
|
6954
6954
|
}), re((Ft) => {
|
|
6955
|
-
var Qr, Zr,
|
|
6955
|
+
var Hr, Qr, Zr, vr, Ps, Ds, Is, Fs;
|
|
6956
6956
|
return {
|
|
6957
6957
|
...Ft,
|
|
6958
|
-
params: (
|
|
6959
|
-
pathKey: (vr = (
|
|
6958
|
+
params: (Qr = (Hr = r == null ? void 0 : r.data.attributes) == null ? void 0 : Hr.route) == null ? void 0 : Qr.params,
|
|
6959
|
+
pathKey: (vr = (Zr = r == null ? void 0 : r.data.attributes) == null ? void 0 : Zr.route) == null ? void 0 : vr.pathKey,
|
|
6960
6960
|
searchKey: (Ds = (Ps = r == null ? void 0 : r.data.attributes) == null ? void 0 : Ps.route) == null ? void 0 : Ds.searchKey,
|
|
6961
6961
|
url: ((Fs = (Is = r == null ? void 0 : r.data.attributes) == null ? void 0 : Is.route) == null ? void 0 : Fs.url) || ""
|
|
6962
6962
|
};
|
|
@@ -6965,7 +6965,7 @@ const T1 = (e) => {
|
|
|
6965
6965
|
}, [
|
|
6966
6966
|
(j = r == null ? void 0 : r.data.attributes) == null ? void 0 : j.helperText,
|
|
6967
6967
|
(N = r == null ? void 0 : r.data.attributes) == null ? void 0 : N.hiddenValue,
|
|
6968
|
-
(
|
|
6968
|
+
(Q = r == null ? void 0 : r.data.attributes) == null ? void 0 : Q.initialQuery,
|
|
6969
6969
|
(ae = r == null ? void 0 : r.data.attributes) == null ? void 0 : ae.isDecision,
|
|
6970
6970
|
(G = r == null ? void 0 : r.data.attributes) == null ? void 0 : G.label,
|
|
6971
6971
|
(qe = (Y = r == null ? void 0 : r.data.attributes) == null ? void 0 : Y.messages) == null ? void 0 : qe.off,
|
|
@@ -7045,7 +7045,7 @@ const T1 = (e) => {
|
|
|
7045
7045
|
step: E,
|
|
7046
7046
|
tag: xe,
|
|
7047
7047
|
treeSelected: ve,
|
|
7048
|
-
type:
|
|
7048
|
+
type: H,
|
|
7049
7049
|
uuid: e,
|
|
7050
7050
|
values: f
|
|
7051
7051
|
};
|
|
@@ -7205,10 +7205,10 @@ const T1 = (e) => {
|
|
|
7205
7205
|
isWorkflowLoading: m,
|
|
7206
7206
|
repeatable: P,
|
|
7207
7207
|
isLeaf: D,
|
|
7208
|
-
isMultiplePossible:
|
|
7208
|
+
isMultiplePossible: H,
|
|
7209
7209
|
isMultiple: Te,
|
|
7210
7210
|
initialQuery: xe,
|
|
7211
|
-
handleChangeTreeSelect:
|
|
7211
|
+
handleChangeTreeSelect: Z,
|
|
7212
7212
|
handleChangeHelperText: te,
|
|
7213
7213
|
handleChangeOptionMessage: he,
|
|
7214
7214
|
handleChangeRequired: se,
|
|
@@ -7238,7 +7238,7 @@ const T1 = (e) => {
|
|
|
7238
7238
|
parentRef: ct,
|
|
7239
7239
|
route: ht,
|
|
7240
7240
|
messages: { on: or, off: Dt }
|
|
7241
|
-
} = j1(), { searchKey:
|
|
7241
|
+
} = j1(), { searchKey: He, url: St, pathKey: sr, params: gt } = ht || {}, { object: Vt = "", label: vt = "", value: ar = "", image: qt = "" } = sr || {};
|
|
7242
7242
|
return /* @__PURE__ */ i.jsxs("form", { onSubmit: L, children: [
|
|
7243
7243
|
/* @__PURE__ */ i.jsx(ee, { marginBottom: 1, children: /* @__PURE__ */ i.jsx($1, { value: s, onChange: ve }) }),
|
|
7244
7244
|
/* @__PURE__ */ i.jsxs(pe, { spacing: 1, paddingY: 1, direction: { sm: "row", xs: "column" }, children: [
|
|
@@ -7255,7 +7255,7 @@ const T1 = (e) => {
|
|
|
7255
7255
|
isHiddenField: b,
|
|
7256
7256
|
isTreeField: w,
|
|
7257
7257
|
treeSelected: $,
|
|
7258
|
-
handleChangeTreeSelect:
|
|
7258
|
+
handleChangeTreeSelect: Z,
|
|
7259
7259
|
handleChangeHelperText: te,
|
|
7260
7260
|
handleChangeHiddenValue: z
|
|
7261
7261
|
}
|
|
@@ -7278,7 +7278,7 @@ const T1 = (e) => {
|
|
|
7278
7278
|
}
|
|
7279
7279
|
),
|
|
7280
7280
|
/* @__PURE__ */ i.jsx(cl, {}),
|
|
7281
|
-
/* @__PURE__ */ i.jsx(Pe, { sx: { flex: 1 }, placeholder: "q", type: "text", onChange: V, value:
|
|
7281
|
+
/* @__PURE__ */ i.jsx(Pe, { sx: { flex: 1 }, placeholder: "q", type: "text", onChange: V, value: He, required: !0 })
|
|
7282
7282
|
] }) }),
|
|
7283
7283
|
S && /* @__PURE__ */ i.jsxs(pe, { spacing: 1, paddingY: 1, children: [
|
|
7284
7284
|
/* @__PURE__ */ i.jsx("h4", { children: t("form:urlConstruction") }),
|
|
@@ -7373,7 +7373,7 @@ const T1 = (e) => {
|
|
|
7373
7373
|
}
|
|
7374
7374
|
)
|
|
7375
7375
|
] }),
|
|
7376
|
-
/* @__PURE__ */ i.jsx(x1, { endPoint: { searchKey:
|
|
7376
|
+
/* @__PURE__ */ i.jsx(x1, { endPoint: { searchKey: He || "", url: St } })
|
|
7377
7377
|
] })
|
|
7378
7378
|
] }),
|
|
7379
7379
|
/* @__PURE__ */ i.jsxs(pe, { children: [
|
|
@@ -7421,7 +7421,7 @@ const T1 = (e) => {
|
|
|
7421
7421
|
/* @__PURE__ */ i.jsx(Pe, { sx: { flex: 1 }, label: t("offMessage", { ns: "form" }), onChange: I("off"), value: Dt })
|
|
7422
7422
|
] }),
|
|
7423
7423
|
/* @__PURE__ */ i.jsx(pe, { paddingY: 1, children: /* @__PURE__ */ i.jsxs(zl, { children: [
|
|
7424
|
-
|
|
7424
|
+
H && /* @__PURE__ */ i.jsx(br, { control: /* @__PURE__ */ i.jsx(yr, { checked: Te, onChange: Ve }), label: t("multiple") }),
|
|
7425
7425
|
C && /* @__PURE__ */ i.jsx(
|
|
7426
7426
|
br,
|
|
7427
7427
|
{
|
|
@@ -7553,18 +7553,18 @@ var cs = {}, X1 = Ee;
|
|
|
7553
7553
|
Object.defineProperty(cs, "__esModule", {
|
|
7554
7554
|
value: !0
|
|
7555
7555
|
});
|
|
7556
|
-
var vl = cs.default = void 0,
|
|
7557
|
-
vl = cs.default = (0,
|
|
7556
|
+
var vl = cs.default = void 0, H1 = X1($e()), Ua = i;
|
|
7557
|
+
vl = cs.default = (0, H1.default)([/* @__PURE__ */ (0, Ua.jsx)("path", {
|
|
7558
7558
|
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.54z"
|
|
7559
7559
|
}, "0"), /* @__PURE__ */ (0, Ua.jsx)("path", {
|
|
7560
7560
|
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.54M13 20c0 1.1.9 2 2 2s2-.9 2-2v-1h-4z"
|
|
7561
7561
|
}, "1")], "ForestRounded");
|
|
7562
|
-
var us = {},
|
|
7562
|
+
var us = {}, Q1 = Ee;
|
|
7563
7563
|
Object.defineProperty(us, "__esModule", {
|
|
7564
7564
|
value: !0
|
|
7565
7565
|
});
|
|
7566
|
-
var bl = us.default = void 0,
|
|
7567
|
-
bl = us.default = (0,
|
|
7566
|
+
var bl = us.default = void 0, Z1 = Q1($e()), em = i;
|
|
7567
|
+
bl = us.default = (0, Z1.default)(/* @__PURE__ */ (0, em.jsx)("path", {
|
|
7568
7568
|
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-8m0 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.36z"
|
|
7569
7569
|
}), "LoopRounded");
|
|
7570
7570
|
var ds = {}, tm = Ee;
|
|
@@ -7663,7 +7663,7 @@ const ze = {
|
|
|
7663
7663
|
] }),
|
|
7664
7664
|
S && /* @__PURE__ */ i.jsx(an, { color: "info", size: "small", label: l(`type.${b}`, { ns: "form" }) }),
|
|
7665
7665
|
C && /* @__PURE__ */ i.jsx(an, { variant: "outlined", color: "warning", size: "small", label: C }),
|
|
7666
|
-
p && /* @__PURE__ */ i.jsx(pe, { direction: "row", spacing: 0.5, children: p && /* @__PURE__ */ i.jsx(kt, { variant: "body2", sx: { color: ({ palette:
|
|
7666
|
+
p && /* @__PURE__ */ i.jsx(pe, { direction: "row", spacing: 0.5, children: p && /* @__PURE__ */ i.jsx(kt, { variant: "body2", sx: { color: ({ palette: H }) => H.error.main }, children: l("required") }) }),
|
|
7667
7667
|
/* @__PURE__ */ i.jsx(pe, { spacing: 0.5, alignItems: "flex-end", children: m && /* @__PURE__ */ i.jsx(kt, { variant: "subtitle2", sx: ze.title, children: /* @__PURE__ */ i.jsx("strong", { children: g }) }) }),
|
|
7668
7668
|
/* @__PURE__ */ i.jsxs(pe, { paddingTop: 0.5, spacing: 0.5, direction: "row", children: [
|
|
7669
7669
|
v && /* @__PURE__ */ i.jsx(Ge, { title: l("isARepeatable"), placement: "bottom", arrow: !0, children: /* @__PURE__ */ i.jsx(bl, { style: ze.icon }) }),
|
|
@@ -7798,14 +7798,14 @@ const ze = {
|
|
|
7798
7798
|
r(null);
|
|
7799
7799
|
},
|
|
7800
7800
|
getTitleModalDelete: () => {
|
|
7801
|
-
var g
|
|
7802
|
-
const y
|
|
7801
|
+
var g;
|
|
7802
|
+
const { label: y, name: b } = ((g = t == null ? void 0 : t.data) == null ? void 0 : g.attributes) || {};
|
|
7803
7803
|
return e("deleteTitle", { name: y || b, ns: "modal" });
|
|
7804
7804
|
},
|
|
7805
7805
|
getTitleModalMutation: () => {
|
|
7806
|
-
var
|
|
7807
|
-
const y = (
|
|
7808
|
-
return
|
|
7806
|
+
var v;
|
|
7807
|
+
const { label: y, name: b } = ((v = t == null ? void 0 : t.data) == null ? void 0 : v.attributes) || {};
|
|
7808
|
+
return s ? e(s ? "editTitle" : "addTitle", { name: y || b, ns: "modal" }) : e("addFirstTitle", { ns: "modal" });
|
|
7809
7809
|
},
|
|
7810
7810
|
handleChangeTree: (y) => {
|
|
7811
7811
|
try {
|
|
@@ -7853,26 +7853,26 @@ const ze = {
|
|
|
7853
7853
|
] })
|
|
7854
7854
|
] }) }),
|
|
7855
7855
|
/* @__PURE__ */ i.jsx(Jp, { children: /* @__PURE__ */ i.jsx(zs, { data: e, renderCustomNodeElement: Wa }) }),
|
|
7856
|
-
/* @__PURE__ */ i.jsx(
|
|
7856
|
+
/* @__PURE__ */ i.jsx(Qp, { children: /* @__PURE__ */ i.jsx(gc, { value: e, onChange: f }) }),
|
|
7857
7857
|
/* @__PURE__ */ i.jsx(Wp, { children: /* @__PURE__ */ i.jsx(Ip, { value: e }) })
|
|
7858
7858
|
] }),
|
|
7859
7859
|
/* @__PURE__ */ i.jsx(Va, { open: c, onClose: a, title: s(), children: /* @__PURE__ */ i.jsx(P1, { onClose: a }) }),
|
|
7860
7860
|
/* @__PURE__ */ i.jsx(Va, { open: d, onClose: a, title: l(), children: /* @__PURE__ */ i.jsx(e1, { onClose: a }) }),
|
|
7861
7861
|
/* @__PURE__ */ i.jsx(Bp, { open: t, onClose: o, title: y, children: /* @__PURE__ */ i.jsx(zs, { data: b, renderCustomNodeElement: Wa }) })
|
|
7862
7862
|
] });
|
|
7863
|
-
}, bm = "1.0.
|
|
7864
|
-
const [o, s] = be(
|
|
7865
|
-
n ? { ...
|
|
7863
|
+
}, bm = "1.0.5", ym = ({ children: e, initialTree: t, initialTreeId: n, backendConfig: r }) => {
|
|
7864
|
+
const [o, s] = be(Qe.currentHierarchyPointNode), [a, l] = be(Qe.modalOpen), [c, d] = be(Qe.treeModalOpen), [f, p] = be(Qe.treePath), [h, y] = Ja(Ap, t || Qe.tree), [b, g] = be(
|
|
7865
|
+
n ? { ...Qe.currentTree, id: n } : Qe.currentTree
|
|
7866
7866
|
), v = kr(
|
|
7867
7867
|
() => {
|
|
7868
7868
|
var C, S;
|
|
7869
7869
|
return {
|
|
7870
7870
|
backendConfig: {
|
|
7871
|
-
baseUrl: ((C =
|
|
7872
|
-
...
|
|
7871
|
+
baseUrl: ((C = Qe == null ? void 0 : Qe.backendConfig) == null ? void 0 : C.baseUrl) || "",
|
|
7872
|
+
...Qe.backendConfig,
|
|
7873
7873
|
...r,
|
|
7874
7874
|
endpoints: {
|
|
7875
|
-
...(S =
|
|
7875
|
+
...(S = Qe.backendConfig) == null ? void 0 : S.endpoints,
|
|
7876
7876
|
...r == null ? void 0 : r.endpoints
|
|
7877
7877
|
}
|
|
7878
7878
|
},
|
|
@@ -8087,8 +8087,8 @@ Tr.on("languageChanged", (e) => {
|
|
|
8087
8087
|
document.documentElement.setAttribute("lang", e);
|
|
8088
8088
|
});
|
|
8089
8089
|
const Nm = ({ initialTree: e, initialTreeId: t, backendConfig: n }) => (Sl(() => {
|
|
8090
|
-
|
|
8091
|
-
}, [n == null ? void 0 : n.authToken, n == null ? void 0 : n.baseUrl]), /* @__PURE__ */ i.jsx(jl, { client: ec, children: /* @__PURE__ */ i.jsx(nc, { authToken: n == null ? void 0 : n.authToken, children: /* @__PURE__ */ i.jsx(ym, { backendConfig: n, initialTree: e, initialTreeId: t, children: /* @__PURE__ */ i.jsx(
|
|
8090
|
+
Ht.defaults.baseURL = n == null ? void 0 : n.baseUrl, n != null && n.authToken && (Ht.defaults.headers.common.Authorization = `Bearer ${n == null ? void 0 : n.authToken}`);
|
|
8091
|
+
}, [n == null ? void 0 : n.authToken, n == null ? void 0 : n.baseUrl]), /* @__PURE__ */ i.jsx(jl, { client: ec, children: /* @__PURE__ */ i.jsx(nc, { authToken: n == null ? void 0 : n.authToken, children: /* @__PURE__ */ i.jsx(ym, { backendConfig: n, initialTree: e, initialTreeId: t, children: /* @__PURE__ */ i.jsx(Zl, { children: /* @__PURE__ */ i.jsx(ic, { children: /* @__PURE__ */ i.jsx(vm, {}) }) }) }) }) }));
|
|
8092
8092
|
export {
|
|
8093
8093
|
dc as TreePlusIcon,
|
|
8094
8094
|
Nm as Treege
|