treege 0.11.2 → 0.11.3
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 -7
- package/dist/main.js +332 -336
- package/dist/main.umd.cjs +24 -24
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -50,15 +50,15 @@ function Js() {
|
|
|
50
50
|
return $t;
|
|
51
51
|
so = 1;
|
|
52
52
|
var e = ua, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
53
|
-
function s(
|
|
53
|
+
function s(c, u, d) {
|
|
54
54
|
var f, g = {}, p = null, b = null;
|
|
55
55
|
d !== void 0 && (p = "" + d), u.key !== void 0 && (p = "" + u.key), u.ref !== void 0 && (b = u.ref);
|
|
56
56
|
for (f in u)
|
|
57
57
|
r.call(u, f) && !a.hasOwnProperty(f) && (g[f] = u[f]);
|
|
58
|
-
if (
|
|
59
|
-
for (f in u =
|
|
58
|
+
if (c && c.defaultProps)
|
|
59
|
+
for (f in u = c.defaultProps, u)
|
|
60
60
|
g[f] === void 0 && (g[f] = u[f]);
|
|
61
|
-
return { $$typeof: t, type:
|
|
61
|
+
return { $$typeof: t, type: c, key: p, ref: b, props: g, _owner: o.current };
|
|
62
62
|
}
|
|
63
63
|
return $t.Fragment = n, $t.jsx = s, $t.jsxs = s, $t;
|
|
64
64
|
}
|
|
@@ -75,7 +75,7 @@ var Pt = {};
|
|
|
75
75
|
var io;
|
|
76
76
|
function Zs() {
|
|
77
77
|
return io || (io = 1, process.env.NODE_ENV !== "production" && function() {
|
|
78
|
-
var e = ua, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), s = Symbol.for("react.provider"),
|
|
78
|
+
var e = ua, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), c = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), y = Symbol.iterator, h = "@@iterator";
|
|
79
79
|
function m(i) {
|
|
80
80
|
if (i === null || typeof i != "object")
|
|
81
81
|
return null;
|
|
@@ -103,7 +103,7 @@ function Zs() {
|
|
|
103
103
|
var w = !1, v = !1, Q = !1, z = !1, Ee = !1, ue;
|
|
104
104
|
ue = Symbol.for("react.module.reference");
|
|
105
105
|
function Y(i) {
|
|
106
|
-
return !!(typeof i == "string" || typeof i == "function" || i === r || i === a || Ee || i === o || i === d || i === f || z || i === b || w || v || Q || typeof i == "object" && i !== null && (i.$$typeof === p || i.$$typeof === g || i.$$typeof === s || i.$$typeof ===
|
|
106
|
+
return !!(typeof i == "string" || typeof i == "function" || i === r || i === a || Ee || i === o || i === d || i === f || z || i === b || w || v || Q || typeof i == "object" && i !== null && (i.$$typeof === p || i.$$typeof === g || i.$$typeof === s || i.$$typeof === c || i.$$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.
|
|
@@ -142,7 +142,7 @@ function Zs() {
|
|
|
142
142
|
}
|
|
143
143
|
if (typeof i == "object")
|
|
144
144
|
switch (i.$$typeof) {
|
|
145
|
-
case
|
|
145
|
+
case c:
|
|
146
146
|
var x = i;
|
|
147
147
|
return Ae(x) + ".Consumer";
|
|
148
148
|
case s:
|
|
@@ -660,7 +660,7 @@ Check the top-level render call using <` + N + ">.");
|
|
|
660
660
|
}()), Pt;
|
|
661
661
|
}
|
|
662
662
|
process.env.NODE_ENV === "production" ? gn.exports = Js() : gn.exports = Zs();
|
|
663
|
-
var
|
|
663
|
+
var l = gn.exports;
|
|
664
664
|
const se = {
|
|
665
665
|
background: "#0a1929",
|
|
666
666
|
borderBlue: "#0f353e",
|
|
@@ -692,8 +692,8 @@ const se = {
|
|
|
692
692
|
main: se.secondary
|
|
693
693
|
}
|
|
694
694
|
}
|
|
695
|
-
}, Hs = ({ children: e }) => /* @__PURE__ */
|
|
696
|
-
/* @__PURE__ */
|
|
695
|
+
}, Hs = ({ children: e }) => /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
696
|
+
/* @__PURE__ */ l.jsx(
|
|
697
697
|
wr,
|
|
698
698
|
{
|
|
699
699
|
styles: {
|
|
@@ -726,7 +726,7 @@ const se = {
|
|
|
726
726
|
}
|
|
727
727
|
}
|
|
728
728
|
),
|
|
729
|
-
/* @__PURE__ */
|
|
729
|
+
/* @__PURE__ */ l.jsx(Cs, { theme: Xs, children: e })
|
|
730
730
|
] }), ei = new Is({
|
|
731
731
|
defaultOptions: {
|
|
732
732
|
queries: {
|
|
@@ -743,7 +743,7 @@ const se = {
|
|
|
743
743
|
}),
|
|
744
744
|
[t]
|
|
745
745
|
);
|
|
746
|
-
return /* @__PURE__ */
|
|
746
|
+
return /* @__PURE__ */ l.jsx(ri.Provider, { value: n, children: e });
|
|
747
747
|
}, xa = {
|
|
748
748
|
dispatchSnackbar: () => null,
|
|
749
749
|
snackbar: { open: !1 }
|
|
@@ -770,36 +770,36 @@ const se = {
|
|
|
770
770
|
}, si = {
|
|
771
771
|
snackbarAlert: { width: "100%" }
|
|
772
772
|
}, ii = ({ children: e }) => {
|
|
773
|
-
const [t, n] = da(ai, xa.snackbar), { message: r, open: o, severity: a } = t, s = 6e3,
|
|
773
|
+
const [t, n] = da(ai, xa.snackbar), { message: r, open: o, severity: a } = t, s = 6e3, c = () => n(ja()), u = Zt(
|
|
774
774
|
() => ({
|
|
775
775
|
dispatchSnackbar: n,
|
|
776
776
|
snackbar: t
|
|
777
777
|
}),
|
|
778
778
|
[t, n]
|
|
779
779
|
);
|
|
780
|
-
return /* @__PURE__ */
|
|
781
|
-
/* @__PURE__ */
|
|
780
|
+
return /* @__PURE__ */ l.jsxs(Ta.Provider, { value: u, children: [
|
|
781
|
+
/* @__PURE__ */ l.jsx(
|
|
782
782
|
As,
|
|
783
783
|
{
|
|
784
784
|
open: o,
|
|
785
785
|
autoHideDuration: s,
|
|
786
|
-
onClose:
|
|
786
|
+
onClose: c,
|
|
787
787
|
anchorOrigin: { horizontal: "center", vertical: "bottom" },
|
|
788
|
-
children: /* @__PURE__ */
|
|
788
|
+
children: /* @__PURE__ */ l.jsx(zs, { onClose: c, severity: a, sx: si.snackbarAlert, variant: "filled", children: r })
|
|
789
789
|
}
|
|
790
790
|
),
|
|
791
791
|
e
|
|
792
792
|
] });
|
|
793
|
-
}, ci = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDYyIiBoZWlnaHQ9IjE0NCIgdmlld0JveD0iMCAwIDQ2MiAxNDQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMF8yXzY1KSI+CjxwYXRoIGQ9Ik0xMzcgNDEuMzRMMTE2LjU3IDZDMTE2LjIyIDUuMzkzOTkgMTE1LjcxNyA0Ljg5MDM3IDExNS4xMTIgNC41Mzk0MkMxMTQuNTA3IDQuMTg4NDcgMTEzLjgyIDQuMDAyNDcgMTEzLjEyIDRIMzguODNDMzguMTMwMiA0LjAwMjQ3IDM3LjQ0MzQgNC4xODg0NyAzNi44MzggNC41Mzk0MkMzNi4yMzI2IDQuODkwMzcgMzUuNzI5OSA1LjM5Mzk5IDM1LjM4IDZMMTUgNDEuMzRDMTQuNjQ5NSA0MS45NDcgMTQuNDY0NyA0Mi42MzU1IDE0LjQ2NDEgNDMuMzM2NUMxNC40NjM1IDQ0LjAzNzQgMTQuNjQ3MSA0NC43Mj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jcuNzY0IDkzLjkwNCA0MzAuMzg4IDk1LjI0OEM0MzMuMDc2IDk2LjU5MiA0MzYuODUyIDk3LjI2NCA0NDEuNzE2IDk3LjI2NEM0NDQuMTQ4IDk3LjI2NCA0NDYuNjEyIDk3LjA0IDQ0OS4xMDggOTYuNTkyQzQ1MS42NjggOTYuMTQ0IDQ1My44NDQgOTUuNTY4IDQ1NS42MzYgOTQuODY0VjEwNC4wOEM0NTMuNTI0IDEwNS4wNCA0NTEuMDYgMTA1Ljc0NCA0NDguMjQ0IDEwNi4xOTJDNDQ1LjQyOCAxMDYuNzA0IDQ0Mi4zNTYgMTA2Ljk2IDQzOS4wMjggMTA2Ljk2Wk00MjUuMzk2IDc5Ljc5Mkg0NDYuOTk2Vjc3LjI5NkM0NDYuOTk2IDc0LjY3MiA0NDYuMjI4IDcyLjYyNCA0NDQuNjkyIDcxLjE1MkM0NDMuMTU2IDY5LjYxNiA0NDAuNTY0IDY4Ljg0OCA0MzYuOTE2IDY4Ljg0OEM0MzIuNjI4IDY4Ljg0OCA0MjkuNjIgNjkuNzEyIDQyNy44OTIgNzEuNDRDNDI2LjIyOCA3My4xNjggNDI1LjM5NiA3NS45NTIgNDI1LjM5NiA3OS43OTJaIiBmaWxsPSJ3aGl0ZSIvPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF8yXzY1Ij4KPHJlY3Qgd2lkdGg9IjE1MS45MyIgaGVpZ2h0PSIxMzYuNjQiIGZpbGw9IndoaXRlIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIDQpIi8+CjwvY2xpcFBhdGg+CjwvZGVmcz4KPC9zdmc+Cg==", li = () => /* @__PURE__ */ l.jsx("img", { src: ci, alt: "Treege", height: 30, width: "auto" }), ui = () => {
|
|
794
794
|
const [e, t] = ye({ x: 0, y: 0 }), [n, r] = ye({ height: 0, width: 0 }), o = jr((a) => {
|
|
795
795
|
if (!a)
|
|
796
796
|
return null;
|
|
797
|
-
const { width: s, height:
|
|
798
|
-
return r({ height:
|
|
797
|
+
const { width: s, height: c } = a.getBoundingClientRect();
|
|
798
|
+
return r({ height: c, width: s }), t({ x: s / 2, y: c / 2 }), a;
|
|
799
799
|
}, []);
|
|
800
800
|
return { dimensions: n, refContainer: o, translate: e };
|
|
801
|
-
}, di = ({ color: e, height: t = 20, width: n = 20 }) => /* @__PURE__ */
|
|
802
|
-
/* @__PURE__ */
|
|
801
|
+
}, di = ({ color: e, height: t = 20, width: n = 20 }) => /* @__PURE__ */ l.jsxs("svg", { focusable: "false", x: "0px", y: "0px", viewBox: "0 0 24 24", color: e, height: t, width: n, children: [
|
|
802
|
+
/* @__PURE__ */ l.jsx(
|
|
803
803
|
"path",
|
|
804
804
|
{
|
|
805
805
|
fill: "currentColor",
|
|
@@ -807,7 +807,7 @@ const se = {
|
|
|
807
807
|
c0.4-0.6,1.2-0.6,1.6,0l0.6,0.9c-0.8,0.8-1.2,2-1.2,3.2c0,2.6,2.1,4.7,4.7,4.7H17l3,4.5C20.4,17.1,19.9,18,19.1,18z`
|
|
808
808
|
}
|
|
809
809
|
),
|
|
810
|
-
/* @__PURE__ */
|
|
810
|
+
/* @__PURE__ */ l.jsx(
|
|
811
811
|
"path",
|
|
812
812
|
{
|
|
813
813
|
fill: "currentColor",
|
|
@@ -845,7 +845,7 @@ const se = {
|
|
|
845
845
|
return { handleClick: () => e("add") };
|
|
846
846
|
}, pi = () => {
|
|
847
847
|
const { t: e } = Ge("button"), { handleClick: t } = fi();
|
|
848
|
-
return /* @__PURE__ */
|
|
848
|
+
return /* @__PURE__ */ l.jsx($e, { alignItems: "center", justifyContent: "center", display: "flex", height: "100%", children: /* @__PURE__ */ l.jsx(Fe, { onClick: t, size: "medium", variant: "contained", startIcon: /* @__PURE__ */ l.jsx(di, {}), children: e("createTree", { ns: "button" }) }) });
|
|
849
849
|
}, Cr = (e, t) => {
|
|
850
850
|
const { backendConfig: n } = Ie(), { endpoints: r } = n || {}, { workflow: o = "" } = r || {};
|
|
851
851
|
return ga(
|
|
@@ -881,10 +881,10 @@ const se = {
|
|
|
881
881
|
y: 300
|
|
882
882
|
}
|
|
883
883
|
}) => {
|
|
884
|
-
const { dimensions: r, refContainer: o, translate: a } = ui(), { currentTree: s } = Ie(), { isInitialLoading:
|
|
885
|
-
return !e && !s.id || u && !e ? /* @__PURE__ */
|
|
886
|
-
/* @__PURE__ */
|
|
887
|
-
/* @__PURE__ */
|
|
884
|
+
const { dimensions: r, refContainer: o, translate: a } = ui(), { currentTree: s } = Ie(), { isInitialLoading: c, data: u } = Cr(s.id);
|
|
885
|
+
return !e && !s.id || u && !e ? /* @__PURE__ */ l.jsx(pi, {}) : s.id && !e || c ? /* @__PURE__ */ l.jsx($e, { sx: en.progressContainer, children: /* @__PURE__ */ l.jsx(ma, {}) }) : /* @__PURE__ */ l.jsxs("div", { style: en.container, ref: o, children: [
|
|
886
|
+
/* @__PURE__ */ l.jsx(wr, { styles: { [`.${co}`]: en.treeLink } }),
|
|
887
|
+
/* @__PURE__ */ l.jsx(
|
|
888
888
|
Fs,
|
|
889
889
|
{
|
|
890
890
|
data: e,
|
|
@@ -904,8 +904,8 @@ const se = {
|
|
|
904
904
|
}
|
|
905
905
|
}, mi = ({ value: e }) => {
|
|
906
906
|
const { formatJSON: t } = hi();
|
|
907
|
-
return /* @__PURE__ */
|
|
908
|
-
/* @__PURE__ */
|
|
907
|
+
return /* @__PURE__ */ l.jsxs("div", { style: uo.fullHeight, children: [
|
|
908
|
+
/* @__PURE__ */ l.jsx(
|
|
909
909
|
wr,
|
|
910
910
|
{
|
|
911
911
|
styles: {
|
|
@@ -915,7 +915,7 @@ const se = {
|
|
|
915
915
|
}
|
|
916
916
|
}
|
|
917
917
|
),
|
|
918
|
-
/* @__PURE__ */
|
|
918
|
+
/* @__PURE__ */ l.jsx(
|
|
919
919
|
qs,
|
|
920
920
|
{
|
|
921
921
|
value: t(e),
|
|
@@ -981,7 +981,7 @@ function yi() {
|
|
|
981
981
|
if (fo)
|
|
982
982
|
return ee;
|
|
983
983
|
fo = 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, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109,
|
|
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, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121, m = e ? Symbol.for("react.fundamental") : 60117, M = e ? Symbol.for("react.responder") : 60118, j = e ? Symbol.for("react.scope") : 60119;
|
|
985
985
|
function S(v) {
|
|
986
986
|
if (typeof v == "object" && v !== null) {
|
|
987
987
|
var Q = v.$$typeof;
|
|
@@ -997,7 +997,7 @@ function yi() {
|
|
|
997
997
|
return v;
|
|
998
998
|
default:
|
|
999
999
|
switch (v = v && v.$$typeof, v) {
|
|
1000
|
-
case
|
|
1000
|
+
case c:
|
|
1001
1001
|
case f:
|
|
1002
1002
|
case y:
|
|
1003
1003
|
case b:
|
|
@@ -1015,10 +1015,10 @@ function yi() {
|
|
|
1015
1015
|
function w(v) {
|
|
1016
1016
|
return S(v) === d;
|
|
1017
1017
|
}
|
|
1018
|
-
return ee.AsyncMode = u, ee.ConcurrentMode = d, ee.ContextConsumer =
|
|
1018
|
+
return ee.AsyncMode = u, ee.ConcurrentMode = d, ee.ContextConsumer = c, ee.ContextProvider = s, ee.Element = t, ee.ForwardRef = f, ee.Fragment = r, ee.Lazy = y, ee.Memo = b, ee.Portal = n, ee.Profiler = a, ee.StrictMode = o, ee.Suspense = g, ee.isAsyncMode = function(v) {
|
|
1019
1019
|
return w(v) || S(v) === u;
|
|
1020
1020
|
}, ee.isConcurrentMode = w, ee.isContextConsumer = function(v) {
|
|
1021
|
-
return S(v) ===
|
|
1021
|
+
return S(v) === c;
|
|
1022
1022
|
}, ee.isContextProvider = function(v) {
|
|
1023
1023
|
return S(v) === s;
|
|
1024
1024
|
}, ee.isElement = function(v) {
|
|
@@ -1040,7 +1040,7 @@ function yi() {
|
|
|
1040
1040
|
}, ee.isSuspense = function(v) {
|
|
1041
1041
|
return S(v) === g;
|
|
1042
1042
|
}, ee.isValidElementType = function(v) {
|
|
1043
|
-
return typeof v == "string" || typeof v == "function" || v === r || v === d || v === a || v === o || v === g || v === p || typeof v == "object" && v !== null && (v.$$typeof === y || v.$$typeof === b || v.$$typeof === s || v.$$typeof ===
|
|
1043
|
+
return typeof v == "string" || typeof v == "function" || v === r || v === d || v === a || v === o || v === g || v === p || typeof v == "object" && v !== null && (v.$$typeof === y || v.$$typeof === b || v.$$typeof === s || v.$$typeof === c || v.$$typeof === f || v.$$typeof === m || v.$$typeof === M || v.$$typeof === j || v.$$typeof === h);
|
|
1044
1044
|
}, ee.typeOf = S, ee;
|
|
1045
1045
|
}
|
|
1046
1046
|
var te = {};
|
|
@@ -1055,10 +1055,10 @@ var te = {};
|
|
|
1055
1055
|
var po;
|
|
1056
1056
|
function vi() {
|
|
1057
1057
|
return po || (po = 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, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109,
|
|
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, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, b = e ? Symbol.for("react.memo") : 60115, y = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121, m = e ? Symbol.for("react.fundamental") : 60117, M = e ? Symbol.for("react.responder") : 60118, j = 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 === d || E === a || E === o || E === g || E === p || typeof E == "object" && E !== null && (E.$$typeof === y || E.$$typeof === b || E.$$typeof === s || E.$$typeof ===
|
|
1061
|
+
E === r || E === d || E === a || E === o || E === g || E === p || typeof E == "object" && E !== null && (E.$$typeof === y || E.$$typeof === b || E.$$typeof === s || E.$$typeof === c || E.$$typeof === f || E.$$typeof === m || E.$$typeof === M || E.$$typeof === j || E.$$typeof === h);
|
|
1062
1062
|
}
|
|
1063
1063
|
function w(E) {
|
|
1064
1064
|
if (typeof E == "object" && E !== null) {
|
|
@@ -1077,7 +1077,7 @@ function vi() {
|
|
|
1077
1077
|
default:
|
|
1078
1078
|
var Qe = I && I.$$typeof;
|
|
1079
1079
|
switch (Qe) {
|
|
1080
|
-
case
|
|
1080
|
+
case c:
|
|
1081
1081
|
case f:
|
|
1082
1082
|
case y:
|
|
1083
1083
|
case b:
|
|
@@ -1092,7 +1092,7 @@ function vi() {
|
|
|
1092
1092
|
}
|
|
1093
1093
|
}
|
|
1094
1094
|
}
|
|
1095
|
-
var v = u, Q = d, z =
|
|
1095
|
+
var v = u, Q = d, z = c, Ee = s, ue = t, Y = f, de = r, Ae = y, fe = b, pe = n, ve = a, be = o, ze = g, Oe = !1;
|
|
1096
1096
|
function Pe(E) {
|
|
1097
1097
|
return Oe || (Oe = !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
|
}
|
|
@@ -1100,7 +1100,7 @@ function vi() {
|
|
|
1100
1100
|
return w(E) === d;
|
|
1101
1101
|
}
|
|
1102
1102
|
function O(E) {
|
|
1103
|
-
return w(E) ===
|
|
1103
|
+
return w(E) === c;
|
|
1104
1104
|
}
|
|
1105
1105
|
function L(E) {
|
|
1106
1106
|
return w(E) === s;
|
|
@@ -1162,8 +1162,8 @@ function bi() {
|
|
|
1162
1162
|
var a = new String("abc");
|
|
1163
1163
|
if (a[5] = "de", Object.getOwnPropertyNames(a)[0] === "5")
|
|
1164
1164
|
return !1;
|
|
1165
|
-
for (var s = {},
|
|
1166
|
-
s["_" + String.fromCharCode(
|
|
1165
|
+
for (var s = {}, c = 0; c < 10; c++)
|
|
1166
|
+
s["_" + String.fromCharCode(c)] = c;
|
|
1167
1167
|
var u = Object.getOwnPropertyNames(s).map(function(f) {
|
|
1168
1168
|
return s[f];
|
|
1169
1169
|
});
|
|
@@ -1178,14 +1178,14 @@ function bi() {
|
|
|
1178
1178
|
}
|
|
1179
1179
|
}
|
|
1180
1180
|
return rn = o() ? Object.assign : function(a, s) {
|
|
1181
|
-
for (var
|
|
1182
|
-
|
|
1183
|
-
for (var g in
|
|
1184
|
-
t.call(
|
|
1181
|
+
for (var c, u = r(a), d, f = 1; f < arguments.length; f++) {
|
|
1182
|
+
c = Object(arguments[f]);
|
|
1183
|
+
for (var g in c)
|
|
1184
|
+
t.call(c, g) && (u[g] = c[g]);
|
|
1185
1185
|
if (e) {
|
|
1186
|
-
d = e(
|
|
1186
|
+
d = e(c);
|
|
1187
1187
|
for (var p = 0; p < d.length; p++)
|
|
1188
|
-
n.call(
|
|
1188
|
+
n.call(c, d[p]) && (u[d[p]] = c[d[p]]);
|
|
1189
1189
|
}
|
|
1190
1190
|
}
|
|
1191
1191
|
return u;
|
|
@@ -1221,7 +1221,7 @@ function Mi() {
|
|
|
1221
1221
|
}
|
|
1222
1222
|
};
|
|
1223
1223
|
}
|
|
1224
|
-
function o(a, s,
|
|
1224
|
+
function o(a, s, c, u, d) {
|
|
1225
1225
|
if (process.env.NODE_ENV !== "production") {
|
|
1226
1226
|
for (var f in a)
|
|
1227
1227
|
if (r(a, f)) {
|
|
@@ -1229,21 +1229,21 @@ function Mi() {
|
|
|
1229
1229
|
try {
|
|
1230
1230
|
if (typeof a[f] != "function") {
|
|
1231
1231
|
var p = Error(
|
|
1232
|
-
(u || "React class") + ": " +
|
|
1232
|
+
(u || "React class") + ": " + c + " type `" + f + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[f] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
1233
1233
|
);
|
|
1234
1234
|
throw p.name = "Invariant Violation", p;
|
|
1235
1235
|
}
|
|
1236
|
-
g = a[f](s, f, u,
|
|
1236
|
+
g = a[f](s, f, u, c, null, t);
|
|
1237
1237
|
} catch (y) {
|
|
1238
1238
|
g = y;
|
|
1239
1239
|
}
|
|
1240
1240
|
if (g && !(g instanceof Error) && e(
|
|
1241
|
-
(u || "React class") + ": type specification of " +
|
|
1241
|
+
(u || "React class") + ": type specification of " + c + " `" + f + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof g + ". 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
1242
|
), g instanceof Error && !(g.message in n)) {
|
|
1243
1243
|
n[g.message] = !0;
|
|
1244
1244
|
var b = d ? d() : "";
|
|
1245
1245
|
e(
|
|
1246
|
-
"Failed " +
|
|
1246
|
+
"Failed " + c + " type: " + g.message + (b ?? "")
|
|
1247
1247
|
);
|
|
1248
1248
|
}
|
|
1249
1249
|
}
|
|
@@ -1260,8 +1260,8 @@ function xi() {
|
|
|
1260
1260
|
bo = 1;
|
|
1261
1261
|
var e = Oa(), t = bi(), n = En(), r = Sa(), o = Mi(), a = function() {
|
|
1262
1262
|
};
|
|
1263
|
-
process.env.NODE_ENV !== "production" && (a = function(
|
|
1264
|
-
var u = "Warning: " +
|
|
1263
|
+
process.env.NODE_ENV !== "production" && (a = function(c) {
|
|
1264
|
+
var u = "Warning: " + c;
|
|
1265
1265
|
typeof console < "u" && console.error(u);
|
|
1266
1266
|
try {
|
|
1267
1267
|
throw new Error(u);
|
|
@@ -1271,7 +1271,7 @@ function xi() {
|
|
|
1271
1271
|
function s() {
|
|
1272
1272
|
return null;
|
|
1273
1273
|
}
|
|
1274
|
-
return sn = function(
|
|
1274
|
+
return sn = function(c, u) {
|
|
1275
1275
|
var d = typeof Symbol == "function" && Symbol.iterator, f = "@@iterator";
|
|
1276
1276
|
function g(T) {
|
|
1277
1277
|
var O = T && (d && T[d] || T[f]);
|
|
@@ -1367,7 +1367,7 @@ function xi() {
|
|
|
1367
1367
|
function w() {
|
|
1368
1368
|
function T(O, L, k, _, F) {
|
|
1369
1369
|
var A = O[L];
|
|
1370
|
-
if (!
|
|
1370
|
+
if (!c(A)) {
|
|
1371
1371
|
var R = be(A);
|
|
1372
1372
|
return new h("Invalid " + _ + " `" + F + "` of type " + ("`" + R + "` supplied to `" + k + "`, expected a single ReactElement."));
|
|
1373
1373
|
}
|
|
@@ -1514,7 +1514,7 @@ Valid keys: ` + JSON.stringify(Object.keys(T), null, " ")
|
|
|
1514
1514
|
case "object":
|
|
1515
1515
|
if (Array.isArray(T))
|
|
1516
1516
|
return T.every(pe);
|
|
1517
|
-
if (T === null ||
|
|
1517
|
+
if (T === null || c(T))
|
|
1518
1518
|
return !0;
|
|
1519
1519
|
var O = g(T);
|
|
1520
1520
|
if (O) {
|
|
@@ -1586,7 +1586,7 @@ function Ti() {
|
|
|
1586
1586
|
function n() {
|
|
1587
1587
|
}
|
|
1588
1588
|
return n.resetWarningCache = t, cn = function() {
|
|
1589
|
-
function r(s,
|
|
1589
|
+
function r(s, c, u, d, f, g) {
|
|
1590
1590
|
if (g !== 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"
|
|
@@ -1652,7 +1652,7 @@ function Ei() {
|
|
|
1652
1652
|
if (xo)
|
|
1653
1653
|
return re;
|
|
1654
1654
|
xo = 1;
|
|
1655
|
-
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"), a = Symbol.for("react.provider"), s = Symbol.for("react.context"),
|
|
1655
|
+
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"), a = Symbol.for("react.provider"), s = Symbol.for("react.context"), c = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), y;
|
|
1656
1656
|
y = Symbol.for("react.module.reference");
|
|
1657
1657
|
function h(m) {
|
|
1658
1658
|
if (typeof m == "object" && m !== null) {
|
|
@@ -1668,7 +1668,7 @@ function Ei() {
|
|
|
1668
1668
|
return m;
|
|
1669
1669
|
default:
|
|
1670
1670
|
switch (m = m && m.$$typeof, m) {
|
|
1671
|
-
case
|
|
1671
|
+
case c:
|
|
1672
1672
|
case s:
|
|
1673
1673
|
case u:
|
|
1674
1674
|
case p:
|
|
@@ -1729,7 +1729,7 @@ var ne = {};
|
|
|
1729
1729
|
var To;
|
|
1730
1730
|
function Oi() {
|
|
1731
1731
|
return To || (To = 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"), o = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), s = Symbol.for("react.context"),
|
|
1732
|
+
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"), a = Symbol.for("react.provider"), s = Symbol.for("react.context"), c = Symbol.for("react.server_context"), u = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), y = !1, h = !1, m = !1, M = !1, j = !1, S;
|
|
1733
1733
|
S = Symbol.for("react.module.reference");
|
|
1734
1734
|
function w(I) {
|
|
1735
1735
|
return !!(typeof I == "string" || typeof I == "function" || I === n || I === o || j || I === r || I === d || I === f || M || I === b || y || h || m || typeof I == "object" && I !== null && (I.$$typeof === p || I.$$typeof === g || I.$$typeof === a || I.$$typeof === s || I.$$typeof === u || // This needs to include all possible module reference object
|
|
@@ -1754,7 +1754,7 @@ function Oi() {
|
|
|
1754
1754
|
default:
|
|
1755
1755
|
var ft = Je && Je.$$typeof;
|
|
1756
1756
|
switch (ft) {
|
|
1757
|
-
case
|
|
1757
|
+
case c:
|
|
1758
1758
|
case s:
|
|
1759
1759
|
case u:
|
|
1760
1760
|
case p:
|
|
@@ -1872,8 +1872,8 @@ function Ai(e, t = 166) {
|
|
|
1872
1872
|
}
|
|
1873
1873
|
function zi(e, t) {
|
|
1874
1874
|
return process.env.NODE_ENV === "production" ? () => null : (n, r, o, a, s) => {
|
|
1875
|
-
const
|
|
1876
|
-
return typeof n[r] < "u" ? new Error(`The ${a} \`${u}\` of \`${
|
|
1875
|
+
const c = o || "<<anonymous>>", u = s || r;
|
|
1876
|
+
return typeof n[r] < "u" ? new Error(`The ${a} \`${u}\` of \`${c}\` is deprecated. ${t}`) : null;
|
|
1877
1877
|
};
|
|
1878
1878
|
}
|
|
1879
1879
|
function _i(e, t) {
|
|
@@ -1889,10 +1889,10 @@ function Ri(e, t) {
|
|
|
1889
1889
|
if (process.env.NODE_ENV === "production")
|
|
1890
1890
|
return () => null;
|
|
1891
1891
|
const n = t ? W({}, t.propTypes) : null;
|
|
1892
|
-
return (o) => (a, s,
|
|
1892
|
+
return (o) => (a, s, c, u, d, ...f) => {
|
|
1893
1893
|
const g = d || s, p = n == null ? void 0 : n[g];
|
|
1894
1894
|
if (p) {
|
|
1895
|
-
const b = p(a, s,
|
|
1895
|
+
const b = p(a, s, c, u, d, ...f);
|
|
1896
1896
|
if (b)
|
|
1897
1897
|
return b;
|
|
1898
1898
|
}
|
|
@@ -1932,7 +1932,7 @@ function Ui({
|
|
|
1932
1932
|
}) {
|
|
1933
1933
|
const {
|
|
1934
1934
|
current: o
|
|
1935
|
-
} = G.useRef(e !== void 0), [a, s] = G.useState(t),
|
|
1935
|
+
} = G.useRef(e !== void 0), [a, s] = G.useState(t), c = o ? e : a;
|
|
1936
1936
|
if (process.env.NODE_ENV !== "production") {
|
|
1937
1937
|
G.useEffect(() => {
|
|
1938
1938
|
o !== (e !== void 0) && console.error([`MUI: A component is changing the ${o ? "" : "un"}controlled ${r} state of ${n} to be ${o ? "un" : ""}controlled.`, "Elements should not switch from uncontrolled to controlled (or vice versa).", `Decide between using a controlled or uncontrolled ${n} element for the lifetime of the component.`, "The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.", "More info: https://fb.me/react-controlled-components"].join(`
|
|
@@ -1949,7 +1949,7 @@ function Ui({
|
|
|
1949
1949
|
const u = G.useCallback((d) => {
|
|
1950
1950
|
o || s(d);
|
|
1951
1951
|
}, []);
|
|
1952
|
-
return [
|
|
1952
|
+
return [c, u];
|
|
1953
1953
|
}
|
|
1954
1954
|
function Fi(e) {
|
|
1955
1955
|
const t = G.useRef(e);
|
|
@@ -2054,8 +2054,8 @@ function Zi(e, t, n = void 0) {
|
|
|
2054
2054
|
(o) => {
|
|
2055
2055
|
r[o] = e[o].reduce((a, s) => {
|
|
2056
2056
|
if (s) {
|
|
2057
|
-
const
|
|
2058
|
-
|
|
2057
|
+
const c = t(s);
|
|
2058
|
+
c !== "" && a.push(c), n && n[s] && a.push(n[s]);
|
|
2059
2059
|
}
|
|
2060
2060
|
return a;
|
|
2061
2061
|
}, []).join(" ");
|
|
@@ -2170,8 +2170,8 @@ var ic = /* @__PURE__ */ function() {
|
|
|
2170
2170
|
var s = ac(o);
|
|
2171
2171
|
try {
|
|
2172
2172
|
s.insertRule(r, s.cssRules.length);
|
|
2173
|
-
} catch (
|
|
2174
|
-
process.env.NODE_ENV !== "production" && !/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(r) && console.error('There was a problem inserting the following rule: "' + r + '"',
|
|
2173
|
+
} catch (c) {
|
|
2174
|
+
process.env.NODE_ENV !== "production" && !/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(r) && console.error('There was a problem inserting the following rule: "' + r + '"', c);
|
|
2175
2175
|
}
|
|
2176
2176
|
} else
|
|
2177
2177
|
o.appendChild(document.createTextNode(r));
|
|
@@ -2323,7 +2323,7 @@ function Mc(e) {
|
|
|
2323
2323
|
function xc(e) {
|
|
2324
2324
|
return Ua(xr("", null, null, null, [""], e = Ya(e), 0, [0], e));
|
|
2325
2325
|
}
|
|
2326
|
-
function xr(e, t, n, r, o, a, s,
|
|
2326
|
+
function xr(e, t, n, r, o, a, s, c, u) {
|
|
2327
2327
|
for (var d = 0, f = 0, g = s, p = 0, b = 0, y = 0, h = 1, m = 1, M = 1, j = 0, S = "", w = o, v = a, Q = r, z = S; m; )
|
|
2328
2328
|
switch (y = j, j = We()) {
|
|
2329
2329
|
case 40:
|
|
@@ -2356,7 +2356,7 @@ function xr(e, t, n, r, o, a, s, l, u) {
|
|
|
2356
2356
|
}
|
|
2357
2357
|
break;
|
|
2358
2358
|
case 123 * h:
|
|
2359
|
-
|
|
2359
|
+
c[d++] = tt(z) * M;
|
|
2360
2360
|
case 125 * h:
|
|
2361
2361
|
case 59:
|
|
2362
2362
|
case 0:
|
|
@@ -2370,19 +2370,19 @@ function xr(e, t, n, r, o, a, s, l, u) {
|
|
|
2370
2370
|
case 59:
|
|
2371
2371
|
z += ";";
|
|
2372
2372
|
default:
|
|
2373
|
-
if (mr(Q = Io(z, t, n, d, f, o,
|
|
2373
|
+
if (mr(Q = Io(z, t, n, d, f, o, c, S, w = [], v = [], g), a), j === 123)
|
|
2374
2374
|
if (f === 0)
|
|
2375
|
-
xr(z, t, Q, Q, w, a, g,
|
|
2375
|
+
xr(z, t, Q, Q, w, a, g, c, v);
|
|
2376
2376
|
else
|
|
2377
2377
|
switch (p === 99 && Se(z, 3) === 110 ? 100 : p) {
|
|
2378
2378
|
case 100:
|
|
2379
2379
|
case 108:
|
|
2380
2380
|
case 109:
|
|
2381
2381
|
case 115:
|
|
2382
|
-
xr(e, Q, Q, r && mr(Io(e, Q, Q, 0, 0, o,
|
|
2382
|
+
xr(e, Q, Q, r && mr(Io(e, Q, Q, 0, 0, o, c, S, o, w = [], g), v), o, v, g, c, r ? w : v);
|
|
2383
2383
|
break;
|
|
2384
2384
|
default:
|
|
2385
|
-
xr(z, Q, Q, Q, [""], v, 0,
|
|
2385
|
+
xr(z, Q, Q, Q, [""], v, 0, c, v);
|
|
2386
2386
|
}
|
|
2387
2387
|
}
|
|
2388
2388
|
d = f = b = 0, h = M = 1, S = z = "", g = s;
|
|
@@ -2401,7 +2401,7 @@ function xr(e, t, n, r, o, a, s, l, u) {
|
|
|
2401
2401
|
M = f > 0 ? 1 : (z += "\f", -1);
|
|
2402
2402
|
break;
|
|
2403
2403
|
case 44:
|
|
2404
|
-
|
|
2404
|
+
c[d++] = (tt(z) - 1) * M, M = 1;
|
|
2405
2405
|
break;
|
|
2406
2406
|
case 64:
|
|
2407
2407
|
at() === 45 && (z += Mr(We())), p = at(), f = g = tt(S = z += Mc(br())), j++;
|
|
@@ -2412,11 +2412,11 @@ function xr(e, t, n, r, o, a, s, l, u) {
|
|
|
2412
2412
|
}
|
|
2413
2413
|
return a;
|
|
2414
2414
|
}
|
|
2415
|
-
function Io(e, t, n, r, o, a, s,
|
|
2415
|
+
function Io(e, t, n, r, o, a, s, c, u, d, f) {
|
|
2416
2416
|
for (var g = o - 1, p = o === 0 ? a : [""], b = Cn(p), y = 0, h = 0, m = 0; y < r; ++y)
|
|
2417
2417
|
for (var M = 0, j = Wt(e, g + 1, g = uc(h = s[y])), S = e; M < b; ++M)
|
|
2418
2418
|
(S = $a(h > 0 ? p[M] + " " + j : H(j, /&\f/g, p[M]))) && (u[m++] = S);
|
|
2419
|
-
return kr(e, t, n, o === 0 ? In :
|
|
2419
|
+
return kr(e, t, n, o === 0 ? In : c, u, d, f);
|
|
2420
2420
|
}
|
|
2421
2421
|
function Tc(e, t, n) {
|
|
2422
2422
|
return kr(e, t, n, Sn, zr(hc()), Wt(e, 2, -2), 0);
|
|
@@ -2449,8 +2449,8 @@ function jc(e, t, n, r) {
|
|
|
2449
2449
|
function Nc(e) {
|
|
2450
2450
|
var t = Cn(e);
|
|
2451
2451
|
return function(n, r, o, a) {
|
|
2452
|
-
for (var s = "",
|
|
2453
|
-
s += e[
|
|
2452
|
+
for (var s = "", c = 0; c < t; c++)
|
|
2453
|
+
s += e[c](n, r, o, a) || "";
|
|
2454
2454
|
return s;
|
|
2455
2455
|
};
|
|
2456
2456
|
}
|
|
@@ -2494,9 +2494,9 @@ var Ec = function(t, n, r) {
|
|
|
2494
2494
|
return;
|
|
2495
2495
|
if (!(t.props.length === 1 && n.charCodeAt(0) !== 58 && !Co.get(r)) && !o) {
|
|
2496
2496
|
Co.set(t, !0);
|
|
2497
|
-
for (var a = [], s = Sc(n, a),
|
|
2498
|
-
for (var f = 0; f <
|
|
2499
|
-
t.props[d] = a[u] ? s[u].replace(/&\f/g,
|
|
2497
|
+
for (var a = [], s = Sc(n, a), c = r.props, u = 0, d = 0; u < s.length; u++)
|
|
2498
|
+
for (var f = 0; f < c.length; f++, d++)
|
|
2499
|
+
t.props[d] = a[u] ? s[u].replace(/&\f/g, c[f]) : c[f] + " " + s[u];
|
|
2500
2500
|
}
|
|
2501
2501
|
}
|
|
2502
2502
|
}, wc = function(t) {
|
|
@@ -2513,11 +2513,11 @@ var Ec = function(t, n, r) {
|
|
|
2513
2513
|
if (!(n.type !== "rule" || t.compat)) {
|
|
2514
2514
|
var a = n.value.match(/(:first|:nth|:nth-last)-child/g);
|
|
2515
2515
|
if (a) {
|
|
2516
|
-
for (var s = !!n.parent,
|
|
2516
|
+
for (var s = !!n.parent, c = s ? n.parent.children : (
|
|
2517
2517
|
// global rule at the root level
|
|
2518
2518
|
o
|
|
2519
|
-
), u =
|
|
2520
|
-
var d =
|
|
2519
|
+
), u = c.length - 1; u >= 0; u--) {
|
|
2520
|
+
var d = c[u];
|
|
2521
2521
|
if (d.line < n.line)
|
|
2522
2522
|
break;
|
|
2523
2523
|
if (d.column < n.column) {
|
|
@@ -2704,7 +2704,7 @@ If multiple caches share the same key they might "fight" for each other's style
|
|
|
2704
2704
|
var o = t.stylisPlugins || Lc;
|
|
2705
2705
|
if (process.env.NODE_ENV !== "production" && /[^a-z-]/.test(n))
|
|
2706
2706
|
throw new Error('Emotion key must only contain lower case alphabetical characters and - but "' + n + '" was passed');
|
|
2707
|
-
var a = {}, s,
|
|
2707
|
+
var a = {}, s, c = [];
|
|
2708
2708
|
s = t.container || document.head, Array.prototype.forEach.call(
|
|
2709
2709
|
// this means we will ignore elements which don't have a space in them which
|
|
2710
2710
|
// means that the style elements we're looking at are only Emotion 11 server-rendered style elements
|
|
@@ -2712,7 +2712,7 @@ If multiple caches share the same key they might "fight" for each other's style
|
|
|
2712
2712
|
function(h) {
|
|
2713
2713
|
for (var m = h.getAttribute("data-emotion").split(" "), M = 1; M < m.length; M++)
|
|
2714
2714
|
a[m[M]] = !0;
|
|
2715
|
-
|
|
2715
|
+
c.push(h);
|
|
2716
2716
|
}
|
|
2717
2717
|
);
|
|
2718
2718
|
var u, d = [Ic, wc];
|
|
@@ -2752,7 +2752,7 @@ If multiple caches share the same key they might "fight" for each other's style
|
|
|
2752
2752
|
registered: {},
|
|
2753
2753
|
insert: u
|
|
2754
2754
|
};
|
|
2755
|
-
return y.sheet.hydrate(
|
|
2755
|
+
return y.sheet.hydrate(c), y;
|
|
2756
2756
|
}, Pc = !0;
|
|
2757
2757
|
function Qa(e, t, n) {
|
|
2758
2758
|
var r = "";
|
|
@@ -2927,11 +2927,11 @@ function Kt(e, t, n) {
|
|
|
2927
2927
|
}
|
|
2928
2928
|
case "string":
|
|
2929
2929
|
if (process.env.NODE_ENV !== "production") {
|
|
2930
|
-
var
|
|
2931
|
-
var b = "animation" +
|
|
2932
|
-
return
|
|
2930
|
+
var c = [], u = n.replace(qa, function(f, g, p) {
|
|
2931
|
+
var b = "animation" + c.length;
|
|
2932
|
+
return c.push("const " + b + " = keyframes`" + p.replace(/^@keyframes animation-\w+/, "") + "`"), "${" + b + "}";
|
|
2933
2933
|
});
|
|
2934
|
-
|
|
2934
|
+
c.length && console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n" + [].concat(c, ["`" + u + "`"]).join(`
|
|
2935
2935
|
`) + `
|
|
2936
2936
|
|
|
2937
2937
|
You should wrap it with \`css\` like this:
|
|
@@ -2959,8 +2959,8 @@ function Kc(e, t, n) {
|
|
|
2959
2959
|
if (a === "NO_COMPONENT_SELECTOR" && process.env.NODE_ENV !== "production")
|
|
2960
2960
|
throw new Error(Wa);
|
|
2961
2961
|
if (Array.isArray(s) && typeof s[0] == "string" && (t == null || t[s[0]] === void 0))
|
|
2962
|
-
for (var
|
|
2963
|
-
_o(s[
|
|
2962
|
+
for (var c = 0; c < s.length; c++)
|
|
2963
|
+
_o(s[c]) && (r += un(a) + ":" + Or(a, s[c]) + ";");
|
|
2964
2964
|
else {
|
|
2965
2965
|
var u = Kt(e, t, s);
|
|
2966
2966
|
switch (a) {
|
|
@@ -2986,8 +2986,8 @@ var Xe, Mn = function(t, n, r) {
|
|
|
2986
2986
|
Xe = void 0;
|
|
2987
2987
|
var s = t[0];
|
|
2988
2988
|
s == null || s.raw === void 0 ? (o = !1, a += Kt(r, n, s)) : (process.env.NODE_ENV !== "production" && s[0] === void 0 && console.error(zo), a += s[0]);
|
|
2989
|
-
for (var
|
|
2990
|
-
a += Kt(r, n, t[
|
|
2989
|
+
for (var c = 1; c < t.length; c++)
|
|
2990
|
+
a += Kt(r, n, t[c]), o && (process.env.NODE_ENV !== "production" && s[c] === void 0 && console.error(zo), a += s[c]);
|
|
2991
2991
|
var u;
|
|
2992
2992
|
process.env.NODE_ENV !== "production" && (a = a.replace(Ga, function(p) {
|
|
2993
2993
|
return u = p, "";
|
|
@@ -3041,18 +3041,18 @@ var Lo = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", $o = "__EMOTION_LABEL_PLEASE_DO_N
|
|
|
3041
3041
|
typeof r == "string" && t.registered[r] !== void 0 && (r = t.registered[r]);
|
|
3042
3042
|
var o = e[Lo], a = [r], s = "";
|
|
3043
3043
|
typeof e.className == "string" ? s = Qa(t.registered, a, e.className) : e.className != null && (s = e.className + " ");
|
|
3044
|
-
var
|
|
3045
|
-
if (process.env.NODE_ENV !== "production" &&
|
|
3044
|
+
var c = Mn(a, void 0, G.useContext(Rr));
|
|
3045
|
+
if (process.env.NODE_ENV !== "production" && c.name.indexOf("-") === -1) {
|
|
3046
3046
|
var u = e[$o];
|
|
3047
|
-
u && (
|
|
3047
|
+
u && (c = Mn([c, "label:" + u + ";"]));
|
|
3048
3048
|
}
|
|
3049
|
-
s += t.key + "-" +
|
|
3049
|
+
s += t.key + "-" + c.name;
|
|
3050
3050
|
var d = {};
|
|
3051
3051
|
for (var f in e)
|
|
3052
3052
|
Xc.call(e, f) && f !== "css" && f !== Lo && (process.env.NODE_ENV === "production" || f !== $o) && (d[f] = e[f]);
|
|
3053
3053
|
return d.ref = n, d.className = s, /* @__PURE__ */ G.createElement(G.Fragment, null, /* @__PURE__ */ G.createElement(Hc, {
|
|
3054
3054
|
cache: t,
|
|
3055
|
-
serialized:
|
|
3055
|
+
serialized: c,
|
|
3056
3056
|
isStringTag: typeof o == "string"
|
|
3057
3057
|
}), /* @__PURE__ */ G.createElement(o, d));
|
|
3058
3058
|
});
|
|
@@ -3087,7 +3087,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
3087
3087
|
You may have forgotten to import it.`);
|
|
3088
3088
|
var r = t.__emotion_real === t, o = r && t.__emotion_base || t, a, s;
|
|
3089
3089
|
n !== void 0 && (a = n.label, s = n.target);
|
|
3090
|
-
var
|
|
3090
|
+
var c = Yo(t, n, r), u = c || Po(o), d = !u("as");
|
|
3091
3091
|
return function() {
|
|
3092
3092
|
var f = arguments, g = r && t.__emotion_styles !== void 0 ? t.__emotion_styles.slice(0) : [];
|
|
3093
3093
|
if (a !== void 0 && g.push("label:" + a + ";"), f[0] == null || f[0].raw === void 0)
|
|
@@ -3108,7 +3108,7 @@ You may have forgotten to import it.`);
|
|
|
3108
3108
|
typeof h.className == "string" ? S = Qa(m.registered, w, h.className) : h.className != null && (S = h.className + " ");
|
|
3109
3109
|
var z = Mn(g.concat(w), m.registered, v);
|
|
3110
3110
|
S += m.key + "-" + z.name, s !== void 0 && (S += " " + s);
|
|
3111
|
-
var Ee = d &&
|
|
3111
|
+
var Ee = d && c === void 0 ? Po(j) : u, ue = {};
|
|
3112
3112
|
for (var Y in h)
|
|
3113
3113
|
d && Y === "as" || // $FlowFixMe
|
|
3114
3114
|
Ee(Y) && (ue[Y] = h[Y]);
|
|
@@ -3118,7 +3118,7 @@ You may have forgotten to import it.`);
|
|
|
3118
3118
|
isStringTag: typeof j == "string"
|
|
3119
3119
|
}), /* @__PURE__ */ G.createElement(j, ue));
|
|
3120
3120
|
});
|
|
3121
|
-
return y.displayName = a !== void 0 ? a : "Styled(" + (typeof o == "string" ? o : o.displayName || o.name || "Component") + ")", y.defaultProps = t.defaultProps, y.__emotion_real = y, y.__emotion_base = o, y.__emotion_styles = g, y.__emotion_forwardProp =
|
|
3121
|
+
return y.displayName = a !== void 0 ? a : "Styled(" + (typeof o == "string" ? o : o.displayName || o.name || "Component") + ")", y.defaultProps = t.defaultProps, y.__emotion_real = y, y.__emotion_base = o, y.__emotion_styles = g, y.__emotion_forwardProp = c, Object.defineProperty(y, "toString", {
|
|
3122
3122
|
value: function() {
|
|
3123
3123
|
return s === void 0 && process.env.NODE_ENV !== "production" ? "NO_COMPONENT_SELECTOR" : "." + s;
|
|
3124
3124
|
}
|
|
@@ -3313,7 +3313,7 @@ function ul(e) {
|
|
|
3313
3313
|
unit: n = "px",
|
|
3314
3314
|
step: r = 5
|
|
3315
3315
|
} = e, o = lt(e, cl), a = ll(t), s = Object.keys(a);
|
|
3316
|
-
function
|
|
3316
|
+
function c(p) {
|
|
3317
3317
|
return `@media (min-width:${typeof t[p] == "number" ? t[p] : p}${n})`;
|
|
3318
3318
|
}
|
|
3319
3319
|
function u(p) {
|
|
@@ -3324,16 +3324,16 @@ function ul(e) {
|
|
|
3324
3324
|
return `@media (min-width:${typeof t[p] == "number" ? t[p] : p}${n}) and (max-width:${(y !== -1 && typeof t[s[y]] == "number" ? t[s[y]] : b) - r / 100}${n})`;
|
|
3325
3325
|
}
|
|
3326
3326
|
function f(p) {
|
|
3327
|
-
return s.indexOf(p) + 1 < s.length ? d(p, s[s.indexOf(p) + 1]) :
|
|
3327
|
+
return s.indexOf(p) + 1 < s.length ? d(p, s[s.indexOf(p) + 1]) : c(p);
|
|
3328
3328
|
}
|
|
3329
3329
|
function g(p) {
|
|
3330
3330
|
const b = s.indexOf(p);
|
|
3331
|
-
return b === 0 ?
|
|
3331
|
+
return b === 0 ? c(s[1]) : b === s.length - 1 ? u(s[b]) : d(p, s[s.indexOf(p) + 1]).replace("@media", "@media not all and");
|
|
3332
3332
|
}
|
|
3333
3333
|
return W({
|
|
3334
3334
|
keys: s,
|
|
3335
3335
|
values: a,
|
|
3336
|
-
up:
|
|
3336
|
+
up: c,
|
|
3337
3337
|
down: u,
|
|
3338
3338
|
between: d,
|
|
3339
3339
|
only: f,
|
|
@@ -3371,16 +3371,16 @@ function ct(e, t, n) {
|
|
|
3371
3371
|
const r = e.theme || {};
|
|
3372
3372
|
if (Array.isArray(t)) {
|
|
3373
3373
|
const a = r.breakpoints || Fo;
|
|
3374
|
-
return t.reduce((s,
|
|
3374
|
+
return t.reduce((s, c, u) => (s[a.up(a.keys[u])] = n(t[u]), s), {});
|
|
3375
3375
|
}
|
|
3376
3376
|
if (typeof t == "object") {
|
|
3377
3377
|
const a = r.breakpoints || Fo;
|
|
3378
|
-
return Object.keys(t).reduce((s,
|
|
3379
|
-
if (Object.keys(a.values || kn).indexOf(
|
|
3380
|
-
const u = a.up(
|
|
3381
|
-
s[u] = n(t[
|
|
3378
|
+
return Object.keys(t).reduce((s, c) => {
|
|
3379
|
+
if (Object.keys(a.values || kn).indexOf(c) !== -1) {
|
|
3380
|
+
const u = a.up(c);
|
|
3381
|
+
s[u] = n(t[c], c);
|
|
3382
3382
|
} else {
|
|
3383
|
-
const u =
|
|
3383
|
+
const u = c;
|
|
3384
3384
|
s[u] = t[u];
|
|
3385
3385
|
}
|
|
3386
3386
|
return s;
|
|
@@ -3424,8 +3424,8 @@ function oe(e) {
|
|
|
3424
3424
|
} = e, a = (s) => {
|
|
3425
3425
|
if (s[t] == null)
|
|
3426
3426
|
return null;
|
|
3427
|
-
const
|
|
3428
|
-
return ct(s,
|
|
3427
|
+
const c = s[t], u = s.theme, d = Lr(u, r) || {};
|
|
3428
|
+
return ct(s, c, (g) => {
|
|
3429
3429
|
let p = Sr(d, o, g);
|
|
3430
3430
|
return g === p && typeof g == "string" && (p = Sr(d, o, `${t}${g === "default" ? "" : ot(g)}`, g)), n === !1 ? p : {
|
|
3431
3431
|
[n]: p
|
|
@@ -3988,8 +3988,8 @@ function tu() {
|
|
|
3988
3988
|
const s = {
|
|
3989
3989
|
[n]: r,
|
|
3990
3990
|
theme: o
|
|
3991
|
-
},
|
|
3992
|
-
if (!
|
|
3991
|
+
}, c = a[n];
|
|
3992
|
+
if (!c)
|
|
3993
3993
|
return {
|
|
3994
3994
|
[n]: r
|
|
3995
3995
|
};
|
|
@@ -3998,7 +3998,7 @@ function tu() {
|
|
|
3998
3998
|
themeKey: d,
|
|
3999
3999
|
transform: f,
|
|
4000
4000
|
style: g
|
|
4001
|
-
} =
|
|
4001
|
+
} = c;
|
|
4002
4002
|
if (r == null)
|
|
4003
4003
|
return null;
|
|
4004
4004
|
if (d === "typography" && r === "inherit")
|
|
@@ -4022,7 +4022,7 @@ function tu() {
|
|
|
4022
4022
|
if (!o)
|
|
4023
4023
|
return null;
|
|
4024
4024
|
const s = (r = a.unstable_sxConfig) != null ? r : Ln;
|
|
4025
|
-
function
|
|
4025
|
+
function c(u) {
|
|
4026
4026
|
let d = u;
|
|
4027
4027
|
if (typeof u == "function")
|
|
4028
4028
|
d = u(a);
|
|
@@ -4053,7 +4053,7 @@ function tu() {
|
|
|
4053
4053
|
p = qt(p, e(b, y, a, s));
|
|
4054
4054
|
}), hl(g, p);
|
|
4055
4055
|
}
|
|
4056
|
-
return Array.isArray(o) ? o.map(
|
|
4056
|
+
return Array.isArray(o) ? o.map(c) : c(o);
|
|
4057
4057
|
}
|
|
4058
4058
|
return t;
|
|
4059
4059
|
}
|
|
@@ -4066,9 +4066,9 @@ function Pn(e = {}, ...t) {
|
|
|
4066
4066
|
palette: r = {},
|
|
4067
4067
|
spacing: o,
|
|
4068
4068
|
shape: a = {}
|
|
4069
|
-
} = e, s = lt(e, ru),
|
|
4069
|
+
} = e, s = lt(e, ru), c = ul(n), u = jl(o);
|
|
4070
4070
|
let d = it({
|
|
4071
|
-
breakpoints:
|
|
4071
|
+
breakpoints: c,
|
|
4072
4072
|
direction: "ltr",
|
|
4073
4073
|
components: {},
|
|
4074
4074
|
// Inject component definitions.
|
|
@@ -4131,8 +4131,8 @@ const du = (e, t) => t.components && t.components[e] && t.components[e].styleOve
|
|
|
4131
4131
|
var o;
|
|
4132
4132
|
const {
|
|
4133
4133
|
ownerState: a = {}
|
|
4134
|
-
} = e, s = [],
|
|
4135
|
-
return
|
|
4134
|
+
} = e, s = [], c = n == null || (o = n.components) == null || (o = o[r]) == null ? void 0 : o.variants;
|
|
4135
|
+
return c && c.forEach((u) => {
|
|
4136
4136
|
let d = !0;
|
|
4137
4137
|
Object.keys(u.props).forEach((f) => {
|
|
4138
4138
|
a[f] !== u.props[f] && e[f] !== u.props[f] && (d = !1);
|
|
@@ -4162,7 +4162,7 @@ function mu(e = {}) {
|
|
|
4162
4162
|
themeId: t
|
|
4163
4163
|
}))
|
|
4164
4164
|
}));
|
|
4165
|
-
return a.__mui_systemSx = !0, (s,
|
|
4165
|
+
return a.__mui_systemSx = !0, (s, c = {}) => {
|
|
4166
4166
|
il(s, (w) => w.filter((v) => !(v != null && v.__mui_systemSx)));
|
|
4167
4167
|
const {
|
|
4168
4168
|
name: u,
|
|
@@ -4170,7 +4170,7 @@ function mu(e = {}) {
|
|
|
4170
4170
|
skipVariantsResolver: f,
|
|
4171
4171
|
skipSx: g,
|
|
4172
4172
|
overridesResolver: p
|
|
4173
|
-
} =
|
|
4173
|
+
} = c, b = lt(c, cu), y = f !== void 0 ? f : d && d !== "Root" || !1, h = g || !1;
|
|
4174
4174
|
let m;
|
|
4175
4175
|
process.env.NODE_ENV !== "production" && u && (m = `${u}-${hu(d || "Root")}`);
|
|
4176
4176
|
let M = Tr;
|
|
@@ -4298,10 +4298,10 @@ function Mu(e) {
|
|
|
4298
4298
|
const {
|
|
4299
4299
|
values: t
|
|
4300
4300
|
} = e, n = t[0], r = t[1] / 100, o = t[2] / 100, a = r * Math.min(o, 1 - o), s = (d, f = (d + n / 30) % 12) => o - a * Math.max(Math.min(f - 3, 9 - f, 1), -1);
|
|
4301
|
-
let
|
|
4301
|
+
let c = "rgb";
|
|
4302
4302
|
const u = [Math.round(s(0) * 255), Math.round(s(8) * 255), Math.round(s(4) * 255)];
|
|
4303
|
-
return e.type === "hsla" && (
|
|
4304
|
-
type:
|
|
4303
|
+
return e.type === "hsla" && (c += "a", u.push(t[3])), Yn({
|
|
4304
|
+
type: c,
|
|
4305
4305
|
values: u
|
|
4306
4306
|
});
|
|
4307
4307
|
}
|
|
@@ -4595,7 +4595,7 @@ function Yu(e) {
|
|
|
4595
4595
|
mode: t = "light",
|
|
4596
4596
|
contrastThreshold: n = 3,
|
|
4597
4597
|
tonalOffset: r = 0.2
|
|
4598
|
-
} = e, o = lt(e, zu), a = e.primary || _u(t), s = e.secondary || ku(t),
|
|
4598
|
+
} = e, o = lt(e, zu), a = e.primary || _u(t), s = e.secondary || ku(t), c = e.error || Ru(t), u = e.info || Lu(t), d = e.success || $u(t), f = e.warning || Pu(t);
|
|
4599
4599
|
function g(h) {
|
|
4600
4600
|
const m = qo(h, dn.text.primary) >= n ? dn.text.primary : Wo.text.primary;
|
|
4601
4601
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -4656,7 +4656,7 @@ const theme2 = createTheme({ palette: {
|
|
|
4656
4656
|
}),
|
|
4657
4657
|
// The colors used to represent interface elements that the user should be made aware of.
|
|
4658
4658
|
error: p({
|
|
4659
|
-
color:
|
|
4659
|
+
color: c,
|
|
4660
4660
|
name: "error"
|
|
4661
4661
|
}),
|
|
4662
4662
|
// The colors used to represent potentially dangerous actions or important messages.
|
|
@@ -4704,7 +4704,7 @@ function Vu(e, t) {
|
|
|
4704
4704
|
// px
|
|
4705
4705
|
fontWeightLight: a = 300,
|
|
4706
4706
|
fontWeightRegular: s = 400,
|
|
4707
|
-
fontWeightMedium:
|
|
4707
|
+
fontWeightMedium: c = 500,
|
|
4708
4708
|
fontWeightBold: u = 700,
|
|
4709
4709
|
// Tell MUI what's the font-size on the html element.
|
|
4710
4710
|
// 16px is the default font-size used by browsers.
|
|
@@ -4728,12 +4728,12 @@ function Vu(e, t) {
|
|
|
4728
4728
|
h3: h(s, 48, 1.167, 0),
|
|
4729
4729
|
h4: h(s, 34, 1.235, 0.25),
|
|
4730
4730
|
h5: h(s, 24, 1.334, 0),
|
|
4731
|
-
h6: h(
|
|
4731
|
+
h6: h(c, 20, 1.6, 0.15),
|
|
4732
4732
|
subtitle1: h(s, 16, 1.75, 0.15),
|
|
4733
|
-
subtitle2: h(
|
|
4733
|
+
subtitle2: h(c, 14, 1.57, 0.1),
|
|
4734
4734
|
body1: h(s, 16, 1.5, 0.15),
|
|
4735
4735
|
body2: h(s, 14, 1.43, 0.15),
|
|
4736
|
-
button: h(
|
|
4736
|
+
button: h(c, 14, 1.75, 0.4, Ko),
|
|
4737
4737
|
caption: h(s, 12, 1.66, 0.4),
|
|
4738
4738
|
overline: h(s, 12, 2.66, 1, Ko),
|
|
4739
4739
|
inherit: {
|
|
@@ -4751,7 +4751,7 @@ function Vu(e, t) {
|
|
|
4751
4751
|
fontSize: o,
|
|
4752
4752
|
fontWeightLight: a,
|
|
4753
4753
|
fontWeightRegular: s,
|
|
4754
|
-
fontWeightMedium:
|
|
4754
|
+
fontWeightMedium: c,
|
|
4755
4755
|
fontWeightBold: u
|
|
4756
4756
|
}, m), p, {
|
|
4757
4757
|
clone: !1
|
|
@@ -4801,15 +4801,15 @@ function Hu(e) {
|
|
|
4801
4801
|
create: (o = ["all"], a = {}) => {
|
|
4802
4802
|
const {
|
|
4803
4803
|
duration: s = n.standard,
|
|
4804
|
-
easing:
|
|
4804
|
+
easing: c = t.easeInOut,
|
|
4805
4805
|
delay: u = 0
|
|
4806
4806
|
} = a, d = lt(a, Ku);
|
|
4807
4807
|
if (process.env.NODE_ENV !== "production") {
|
|
4808
4808
|
const f = (p) => typeof p == "string", g = (p) => !isNaN(parseFloat(p));
|
|
4809
|
-
!f(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !g(s) && !f(s) && console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`), f(
|
|
4809
|
+
!f(o) && !Array.isArray(o) && console.error('MUI: Argument "props" must be a string or Array.'), !g(s) && !f(s) && console.error(`MUI: Argument "duration" must be a number or a string but found ${s}.`), f(c) || console.error('MUI: Argument "easing" must be a string.'), !g(u) && !f(u) && console.error('MUI: Argument "delay" must be a number or a string.'), typeof a != "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(`
|
|
4810
4810
|
`)), Object.keys(d).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(d).join(",")}].`);
|
|
4811
4811
|
}
|
|
4812
|
-
return (Array.isArray(o) ? o : [o]).map((f) => `${f} ${typeof s == "string" ? s : Zo(s)} ${
|
|
4812
|
+
return (Array.isArray(o) ? o : [o]).map((f) => `${f} ${typeof s == "string" ? s : Zo(s)} ${c} ${typeof u == "string" ? u : Zo(u)}`).join(",");
|
|
4813
4813
|
}
|
|
4814
4814
|
}, e, {
|
|
4815
4815
|
easing: t,
|
|
@@ -4835,13 +4835,13 @@ function nd(e = {}, ...t) {
|
|
|
4835
4835
|
} = e, s = lt(e, rd);
|
|
4836
4836
|
if (e.vars)
|
|
4837
4837
|
throw new Error(process.env.NODE_ENV !== "production" ? "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name." : St(18));
|
|
4838
|
-
const
|
|
4838
|
+
const c = Yu(r), u = Pn(e);
|
|
4839
4839
|
let d = it(u, {
|
|
4840
4840
|
mixins: ju(u.breakpoints, n),
|
|
4841
|
-
palette:
|
|
4841
|
+
palette: c,
|
|
4842
4842
|
// Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.
|
|
4843
4843
|
shadows: Gu.slice(),
|
|
4844
|
-
typography: Vu(
|
|
4844
|
+
typography: Vu(c, a),
|
|
4845
4845
|
transitions: Hu(o),
|
|
4846
4846
|
zIndex: W({}, td)
|
|
4847
4847
|
});
|
|
@@ -4919,7 +4919,7 @@ const ud = ["children", "className", "color", "component", "fontSize", "htmlColo
|
|
|
4919
4919
|
theme: e,
|
|
4920
4920
|
ownerState: t
|
|
4921
4921
|
}) => {
|
|
4922
|
-
var n, r, o, a, s,
|
|
4922
|
+
var n, r, o, a, s, c, u, d, f, g, p, b, y;
|
|
4923
4923
|
return {
|
|
4924
4924
|
userSelect: "none",
|
|
4925
4925
|
width: "1em",
|
|
@@ -4935,7 +4935,7 @@ const ud = ["children", "className", "color", "component", "fontSize", "htmlColo
|
|
|
4935
4935
|
fontSize: {
|
|
4936
4936
|
inherit: "inherit",
|
|
4937
4937
|
small: ((a = e.typography) == null || (s = a.pxToRem) == null ? void 0 : s.call(a, 20)) || "1.25rem",
|
|
4938
|
-
medium: ((
|
|
4938
|
+
medium: ((c = e.typography) == null || (u = c.pxToRem) == null ? void 0 : u.call(c, 24)) || "1.5rem",
|
|
4939
4939
|
large: ((d = e.typography) == null || (f = d.pxToRem) == null ? void 0 : f.call(d, 35)) || "2.1875rem"
|
|
4940
4940
|
}[t.fontSize],
|
|
4941
4941
|
// TODO v5 deprecate, v6 remove for sx
|
|
@@ -4953,7 +4953,7 @@ const ud = ["children", "className", "color", "component", "fontSize", "htmlColo
|
|
|
4953
4953
|
children: o,
|
|
4954
4954
|
className: a,
|
|
4955
4955
|
color: s = "inherit",
|
|
4956
|
-
component:
|
|
4956
|
+
component: c = "svg",
|
|
4957
4957
|
fontSize: u = "medium",
|
|
4958
4958
|
htmlColor: d,
|
|
4959
4959
|
inheritViewBox: f = !1,
|
|
@@ -4961,7 +4961,7 @@ const ud = ["children", "className", "color", "component", "fontSize", "htmlColo
|
|
|
4961
4961
|
viewBox: p = "0 0 24 24"
|
|
4962
4962
|
} = r, b = lt(r, ud), y = /* @__PURE__ */ G.isValidElement(o) && o.type === "svg", h = W({}, r, {
|
|
4963
4963
|
color: s,
|
|
4964
|
-
component:
|
|
4964
|
+
component: c,
|
|
4965
4965
|
fontSize: u,
|
|
4966
4966
|
instanceFontSize: t.fontSize,
|
|
4967
4967
|
inheritViewBox: f,
|
|
@@ -4970,8 +4970,8 @@ const ud = ["children", "className", "color", "component", "fontSize", "htmlColo
|
|
|
4970
4970
|
}), m = {};
|
|
4971
4971
|
f || (m.viewBox = p);
|
|
4972
4972
|
const M = dd(h);
|
|
4973
|
-
return /* @__PURE__ */
|
|
4974
|
-
as:
|
|
4973
|
+
return /* @__PURE__ */ l.jsxs(fd, W({
|
|
4974
|
+
as: c,
|
|
4975
4975
|
className: rc(M.root, a),
|
|
4976
4976
|
focusable: "false",
|
|
4977
4977
|
color: d,
|
|
@@ -4980,7 +4980,7 @@ const ud = ["children", "className", "color", "component", "fontSize", "htmlColo
|
|
|
4980
4980
|
ref: n
|
|
4981
4981
|
}, m, b, y && o.props, {
|
|
4982
4982
|
ownerState: h,
|
|
4983
|
-
children: [y ? o.props.children : o, g ? /* @__PURE__ */
|
|
4983
|
+
children: [y ? o.props.children : o, g ? /* @__PURE__ */ l.jsx("title", {
|
|
4984
4984
|
children: g
|
|
4985
4985
|
}) : null]
|
|
4986
4986
|
}));
|
|
@@ -5061,7 +5061,7 @@ Un.muiName = "SvgIcon";
|
|
|
5061
5061
|
const Xo = Un;
|
|
5062
5062
|
function pd(e, t) {
|
|
5063
5063
|
function n(r, o) {
|
|
5064
|
-
return /* @__PURE__ */
|
|
5064
|
+
return /* @__PURE__ */ l.jsx(Xo, W({
|
|
5065
5065
|
"data-testid": `${t}Icon`,
|
|
5066
5066
|
ref: o
|
|
5067
5067
|
}, r, {
|
|
@@ -5115,7 +5115,7 @@ var yd = we;
|
|
|
5115
5115
|
Object.defineProperty(Dn, "__esModule", {
|
|
5116
5116
|
value: !0
|
|
5117
5117
|
});
|
|
5118
|
-
var os = Dn.default = void 0, vd = yd(Ce()), bd =
|
|
5118
|
+
var os = Dn.default = void 0, vd = yd(Ce()), bd = l, Md = (0, vd.default)(/* @__PURE__ */ (0, bd.jsx)("path", {
|
|
5119
5119
|
d: "M6.56 7.98C6.1 7.52 5.31 7.6 5 8.17c-.28.51-.5 1.03-.67 1.58-.19.63.31 1.25.96 1.25h.01c.43 0 .82-.28.94-.7.12-.4.28-.79.48-1.17.22-.37.15-.84-.16-1.15zM5.31 13h-.02c-.65 0-1.15.62-.96 1.25.16.54.38 1.07.66 1.58.31.57 1.11.66 1.57.2.3-.31.38-.77.17-1.15-.2-.37-.36-.76-.48-1.16-.12-.44-.51-.72-.94-.72zm2.85 6.02c.51.28 1.04.5 1.59.66.62.18 1.24-.32 1.24-.96v-.03c0-.43-.28-.82-.7-.94-.4-.12-.78-.28-1.15-.48-.38-.21-.86-.14-1.16.17l-.03.03c-.45.45-.36 1.24.21 1.55zM13 4.07v-.66c0-.89-1.08-1.34-1.71-.71L9.17 4.83c-.4.4-.4 1.04 0 1.43l2.13 2.08c.63.62 1.7.17 1.7-.72V6.09c2.84.48 5 2.94 5 5.91 0 2.73-1.82 5.02-4.32 5.75-.41.12-.68.51-.68.94v.02c0 .65.61 1.14 1.23.96C17.57 18.71 20 15.64 20 12c0-4.08-3.05-7.44-7-7.93z"
|
|
5120
5120
|
}), "RotateLeftRounded");
|
|
5121
5121
|
os = Dn.default = Md;
|
|
@@ -5123,7 +5123,7 @@ var Fn = {}, xd = we;
|
|
|
5123
5123
|
Object.defineProperty(Fn, "__esModule", {
|
|
5124
5124
|
value: !0
|
|
5125
5125
|
});
|
|
5126
|
-
var as = Fn.default = void 0, Td = xd(Ce()), jd =
|
|
5126
|
+
var as = Fn.default = void 0, Td = xd(Ce()), jd = l, Nd = (0, Td.default)(/* @__PURE__ */ (0, jd.jsx)("path", {
|
|
5127
5127
|
d: "M17.59 3.59c-.38-.38-.89-.59-1.42-.59H5c-1.11 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V7.83c0-.53-.21-1.04-.59-1.41l-2.82-2.83zM12 19c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3zm1-10H7c-1.1 0-2-.9-2-2s.9-2 2-2h6c1.1 0 2 .9 2 2s-.9 2-2 2z"
|
|
5128
5128
|
}), "SaveRounded");
|
|
5129
5129
|
as = Fn.default = Nd;
|
|
@@ -5131,7 +5131,7 @@ var Vn = {}, Dd = we;
|
|
|
5131
5131
|
Object.defineProperty(Vn, "__esModule", {
|
|
5132
5132
|
value: !0
|
|
5133
5133
|
});
|
|
5134
|
-
var ss = Vn.default = void 0, Ed = Dd(Ce()), Od =
|
|
5134
|
+
var ss = Vn.default = void 0, Ed = Dd(Ce()), Od = l, Sd = (0, Ed.default)(/* @__PURE__ */ (0, Od.jsx)("path", {
|
|
5135
5135
|
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"
|
|
5136
5136
|
}), "SimCardDownloadRounded");
|
|
5137
5137
|
ss = Vn.default = Sd;
|
|
@@ -5147,7 +5147,7 @@ const is = (e, t) => {
|
|
|
5147
5147
|
}
|
|
5148
5148
|
return null;
|
|
5149
5149
|
}, Ct = (e, t) => {
|
|
5150
|
-
var a, s,
|
|
5150
|
+
var a, s, c, u, d;
|
|
5151
5151
|
if (!e)
|
|
5152
5152
|
return null;
|
|
5153
5153
|
if (!t)
|
|
@@ -5155,7 +5155,7 @@ const is = (e, t) => {
|
|
|
5155
5155
|
if (((a = e.attributes) == null ? void 0 : a.treePath) === t)
|
|
5156
5156
|
return ((s = e.attributes) == null ? void 0 : s.tree) || null;
|
|
5157
5157
|
let n = null;
|
|
5158
|
-
const r = (
|
|
5158
|
+
const r = (c = e.attributes) == null ? void 0 : c.tree, o = (u = e.children) == null ? void 0 : u.length;
|
|
5159
5159
|
if (r && (n = Ct((d = e.attributes) == null ? void 0 : d.tree, t)), o)
|
|
5160
5160
|
for (const f of e.children) {
|
|
5161
5161
|
if (n !== null)
|
|
@@ -5176,8 +5176,8 @@ const is = (e, t) => {
|
|
|
5176
5176
|
const { attributes: o, children: a } = r;
|
|
5177
5177
|
if (!e)
|
|
5178
5178
|
return a.length ? { ...r } : { ...r, attributes: { ...o, isLeaf: !0, isRoot: !0 } };
|
|
5179
|
-
const s = structuredClone(e),
|
|
5180
|
-
return Id(
|
|
5179
|
+
const s = structuredClone(e), c = Ir(s, t, n);
|
|
5180
|
+
return Id(c, { ...r, ...!o.isDecision && { children: [...((u = Ir(e, t, n)) == null ? void 0 : u.children) || []] } }), s;
|
|
5181
5181
|
}, Cd = (e) => {
|
|
5182
5182
|
if (!e)
|
|
5183
5183
|
return [];
|
|
@@ -5207,15 +5207,11 @@ const is = (e, t) => {
|
|
|
5207
5207
|
}, kd = (e, t) => {
|
|
5208
5208
|
if (!e)
|
|
5209
5209
|
return null;
|
|
5210
|
-
const n = t.attributes.isDecision, r = e.attributes.depth === 0,
|
|
5211
|
-
...t.attributes,
|
|
5212
|
-
isLeaf: !t.children.length || !n,
|
|
5213
|
-
isRoot: r
|
|
5214
|
-
};
|
|
5210
|
+
const n = t.attributes.isDecision, r = e.attributes.isDecision, o = e.attributes.depth === 0, a = { value: t.name }, s = r || n, c = s ? { value: [...t.children] } : { value: [...e.children] }, u = s ? { value: { ...t.attributes, isLeaf: !t.children.length || !n, isRoot: o } } : { value: { ...t.attributes, isLeaf: !e.children.length, isRoot: o } };
|
|
5215
5211
|
return Object.defineProperties(e, {
|
|
5216
|
-
attributes:
|
|
5217
|
-
children:
|
|
5218
|
-
name:
|
|
5212
|
+
attributes: u,
|
|
5213
|
+
children: c,
|
|
5214
|
+
name: a
|
|
5219
5215
|
}), null;
|
|
5220
5216
|
}, Rd = ({ tree: e, path: t, name: n, child: r }) => {
|
|
5221
5217
|
const o = structuredClone(e), a = Ir(o, t, n);
|
|
@@ -5300,7 +5296,7 @@ const is = (e, t) => {
|
|
|
5300
5296
|
e
|
|
5301
5297
|
);
|
|
5302
5298
|
}, Vd = () => {
|
|
5303
|
-
const { t: e } = Ge(["snackMessage"]), { open: t } = Qn(), { setCurrentTree: n, currentTree: r, tree: o, dispatchTree: a } = Ie(), [s,
|
|
5299
|
+
const { t: e } = Ge(["snackMessage"]), { open: t } = Qn(), { setCurrentTree: n, currentTree: r, tree: o, dispatchTree: a } = Ie(), [s, c] = ye(!1), { version: u } = Ie(), { mutate: d } = Fd({
|
|
5304
5300
|
onError: () => {
|
|
5305
5301
|
t(e("error.saveTree", { ns: "snackMessage" }), "error");
|
|
5306
5302
|
},
|
|
@@ -5315,10 +5311,10 @@ const is = (e, t) => {
|
|
|
5315
5311
|
t(e("success.updateTree", { ns: "snackMessage" }));
|
|
5316
5312
|
}
|
|
5317
5313
|
}), g = (M) => JSON.stringify(M, null, 2), p = (M) => `data:text/json;charset=utf-8,${encodeURIComponent(g(M))}`, b = () => {
|
|
5318
|
-
|
|
5314
|
+
c(!1);
|
|
5319
5315
|
};
|
|
5320
5316
|
return { formatJSON: g, getDownloadLink: p, handleClose: b, handleOpen: () => {
|
|
5321
|
-
|
|
5317
|
+
c(!0);
|
|
5322
5318
|
}, handleResetTree: () => {
|
|
5323
5319
|
a(ls()), b();
|
|
5324
5320
|
}, handleSubmit: () => {
|
|
@@ -5336,27 +5332,27 @@ const is = (e, t) => {
|
|
|
5336
5332
|
}
|
|
5337
5333
|
}, openModal: s };
|
|
5338
5334
|
}, Qd = ({ downloadedFileName: e = "export", value: t }) => {
|
|
5339
|
-
const { t: n } = Ge(), { getDownloadLink: r, handleSubmit: o, handleClose: a, handleOpen: s, handleResetTree:
|
|
5340
|
-
return /* @__PURE__ */
|
|
5341
|
-
/* @__PURE__ */
|
|
5342
|
-
/* @__PURE__ */
|
|
5343
|
-
/* @__PURE__ */
|
|
5344
|
-
/* @__PURE__ */
|
|
5335
|
+
const { t: n } = Ge(), { getDownloadLink: r, handleSubmit: o, handleClose: a, handleOpen: s, handleResetTree: c, openModal: u } = Vd(), { currentTree: d, backendConfig: f, tree: g } = Ie(), { id: p } = d;
|
|
5336
|
+
return /* @__PURE__ */ l.jsxs(Te, { direction: "row", spacing: 2, justifyContent: "center", children: [
|
|
5337
|
+
/* @__PURE__ */ l.jsx(Ue, { title: n("resetTree", { ns: "button" }), enterDelay: 1500, disableHoverListener: !t, arrow: !0, children: /* @__PURE__ */ l.jsx($e, { children: /* @__PURE__ */ l.jsx(Fe, { disabled: !g, onClick: s, variant: "outlined", color: "warning", children: /* @__PURE__ */ l.jsx(os, {}) }) }) }),
|
|
5338
|
+
/* @__PURE__ */ l.jsx(ya, { orientation: "vertical", flexItem: !0 }),
|
|
5339
|
+
/* @__PURE__ */ l.jsx(Ue, { title: n("downloadJSONFile", { ns: "button" }), enterDelay: 1500, disableHoverListener: !t, arrow: !0, children: /* @__PURE__ */ l.jsx($e, { children: /* @__PURE__ */ l.jsx(Fe, { variant: "outlined", href: r(t), download: `${e}.json`, disabled: !t, children: /* @__PURE__ */ l.jsx(ss, {}) }) }) }),
|
|
5340
|
+
/* @__PURE__ */ l.jsx(
|
|
5345
5341
|
Ue,
|
|
5346
5342
|
{
|
|
5347
5343
|
title: p ? n("update", { ns: "button" }) : n("save", { ns: "button" }),
|
|
5348
5344
|
enterDelay: 1500,
|
|
5349
5345
|
disableHoverListener: !t,
|
|
5350
5346
|
arrow: !0,
|
|
5351
|
-
children: /* @__PURE__ */
|
|
5347
|
+
children: /* @__PURE__ */ l.jsx($e, { children: /* @__PURE__ */ l.jsx(Fe, { variant: "outlined", onClick: o, disabled: !t || !(f != null && f.baseUrl), children: /* @__PURE__ */ l.jsx(as, {}) }) })
|
|
5352
5348
|
}
|
|
5353
5349
|
),
|
|
5354
|
-
/* @__PURE__ */
|
|
5355
|
-
/* @__PURE__ */
|
|
5356
|
-
/* @__PURE__ */
|
|
5357
|
-
/* @__PURE__ */
|
|
5358
|
-
/* @__PURE__ */
|
|
5359
|
-
/* @__PURE__ */
|
|
5350
|
+
/* @__PURE__ */ l.jsxs(Nn, { maxWidth: "xs", fullWidth: !0, open: u, onClose: a, children: [
|
|
5351
|
+
/* @__PURE__ */ l.jsx(_s, { variant: "h3", children: n("resetTree", { ns: "button" }) }),
|
|
5352
|
+
/* @__PURE__ */ l.jsx(ks, { children: /* @__PURE__ */ l.jsx(Rs, { children: n("resetTreeContent", { ns: "modal" }) }) }),
|
|
5353
|
+
/* @__PURE__ */ l.jsxs(Ls, { children: [
|
|
5354
|
+
/* @__PURE__ */ l.jsx(Fe, { onClick: a, children: n("close", { ns: "button" }) }),
|
|
5355
|
+
/* @__PURE__ */ l.jsx(Fe, { variant: "contained", color: "warning", onClick: c, children: n("reset", { ns: "button" }) })
|
|
5360
5356
|
] })
|
|
5361
5357
|
] })
|
|
5362
5358
|
] });
|
|
@@ -5365,7 +5361,7 @@ const is = (e, t) => {
|
|
|
5365
5361
|
backgroundColor: se.background,
|
|
5366
5362
|
border: `solid 1px ${se.borderBlue}`
|
|
5367
5363
|
}
|
|
5368
|
-
}, ea = ({ children: e, description: t, open: n, onClose: r, title: o }) => /* @__PURE__ */
|
|
5364
|
+
}, ea = ({ children: e, description: t, open: n, onClose: r, title: o }) => /* @__PURE__ */ l.jsx(
|
|
5369
5365
|
Nn,
|
|
5370
5366
|
{
|
|
5371
5367
|
open: n,
|
|
@@ -5375,9 +5371,9 @@ const is = (e, t) => {
|
|
|
5375
5371
|
scroll: "body",
|
|
5376
5372
|
maxWidth: "sm",
|
|
5377
5373
|
fullWidth: !0,
|
|
5378
|
-
children: /* @__PURE__ */
|
|
5379
|
-
/* @__PURE__ */
|
|
5380
|
-
/* @__PURE__ */
|
|
5374
|
+
children: /* @__PURE__ */ l.jsxs($e, { sx: Bd.box, p: 4, children: [
|
|
5375
|
+
/* @__PURE__ */ l.jsx("h3", { children: o }),
|
|
5376
|
+
/* @__PURE__ */ l.jsx("p", { children: t }),
|
|
5381
5377
|
e
|
|
5382
5378
|
] })
|
|
5383
5379
|
}
|
|
@@ -5386,7 +5382,7 @@ var Bn = {}, qd = we;
|
|
|
5386
5382
|
Object.defineProperty(Bn, "__esModule", {
|
|
5387
5383
|
value: !0
|
|
5388
5384
|
});
|
|
5389
|
-
var ds = Bn.default = void 0, Wd = qd(Ce()), Gd =
|
|
5385
|
+
var ds = Bn.default = void 0, Wd = qd(Ce()), Gd = l, Kd = (0, Wd.default)(/* @__PURE__ */ (0, Gd.jsx)("path", {
|
|
5390
5386
|
d: "M18.3 5.71a.9959.9959 0 0 0-1.41 0L12 10.59 7.11 5.7a.9959.9959 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0 .39-.39.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4z"
|
|
5391
5387
|
}), "CloseRounded");
|
|
5392
5388
|
ds = Bn.default = Kd;
|
|
@@ -5416,7 +5412,7 @@ const yr = {
|
|
|
5416
5412
|
paddingY: 1,
|
|
5417
5413
|
width: "100%"
|
|
5418
5414
|
}
|
|
5419
|
-
}, Jd = ({ children: e, appear: t, in: n, onEnter: r, onExited: o, onFocus: a, role: s, tabIndex:
|
|
5415
|
+
}, Jd = ({ children: e, appear: t, in: n, onEnter: r, onExited: o, onFocus: a, role: s, tabIndex: c, timeout: u }, d) => /* @__PURE__ */ l.jsx(
|
|
5420
5416
|
$s,
|
|
5421
5417
|
{
|
|
5422
5418
|
direction: "up",
|
|
@@ -5427,11 +5423,11 @@ const yr = {
|
|
|
5427
5423
|
onExited: o,
|
|
5428
5424
|
onFocus: a,
|
|
5429
5425
|
role: s,
|
|
5430
|
-
tabIndex:
|
|
5426
|
+
tabIndex: c,
|
|
5431
5427
|
timeout: u,
|
|
5432
5428
|
children: e
|
|
5433
5429
|
}
|
|
5434
|
-
), Zd = pa(Jd), Xd = ({ children: e, open: t, onClose: n, title: r }) => /* @__PURE__ */
|
|
5430
|
+
), Zd = pa(Jd), Xd = ({ children: e, open: t, onClose: n, title: r }) => /* @__PURE__ */ l.jsx(
|
|
5435
5431
|
Nn,
|
|
5436
5432
|
{
|
|
5437
5433
|
PaperProps: { sx: { backgroundColor: se.background, backgroundImage: "none" } },
|
|
@@ -5440,12 +5436,12 @@ const yr = {
|
|
|
5440
5436
|
"aria-describedby": "modal-modal-description",
|
|
5441
5437
|
fullScreen: !0,
|
|
5442
5438
|
TransitionComponent: Zd,
|
|
5443
|
-
children: /* @__PURE__ */
|
|
5444
|
-
/* @__PURE__ */
|
|
5445
|
-
/* @__PURE__ */
|
|
5446
|
-
/* @__PURE__ */
|
|
5439
|
+
children: /* @__PURE__ */ l.jsxs($e, { sx: yr.container, children: [
|
|
5440
|
+
/* @__PURE__ */ l.jsx(Ps, { position: "sticky", elevation: 0, children: /* @__PURE__ */ l.jsx(Ys, { sx: yr.toolbar, children: /* @__PURE__ */ l.jsxs(Te, { direction: "row", alignItems: "center", justifyContent: "space-between", sx: yr.toolbarBox, children: [
|
|
5441
|
+
/* @__PURE__ */ l.jsx(Nr, { variant: "h5", children: /* @__PURE__ */ l.jsx("strong", { children: r }) }),
|
|
5442
|
+
/* @__PURE__ */ l.jsx(pn, { edge: "end", color: "inherit", onClick: n, "aria-label": "close", children: /* @__PURE__ */ l.jsx(ds, {}) })
|
|
5447
5443
|
] }) }) }),
|
|
5448
|
-
/* @__PURE__ */
|
|
5444
|
+
/* @__PURE__ */ l.jsx($e, { sx: yr.main, children: e })
|
|
5449
5445
|
] })
|
|
5450
5446
|
}
|
|
5451
5447
|
), Hd = {
|
|
@@ -5453,28 +5449,28 @@ const yr = {
|
|
|
5453
5449
|
border: `solid 1px ${se.borderBlue}`,
|
|
5454
5450
|
flexGrow: 0
|
|
5455
5451
|
}
|
|
5456
|
-
}, ef = ({ children: e }) => /* @__PURE__ */
|
|
5452
|
+
}, ef = ({ children: e }) => /* @__PURE__ */ l.jsx($e, { p: 2, role: "group", sx: Hd.box, children: e }), tf = {
|
|
5457
5453
|
box: {
|
|
5458
5454
|
border: `solid 1px ${se.borderBlue}`,
|
|
5459
5455
|
flexGrow: 0
|
|
5460
5456
|
}
|
|
5461
|
-
}, rf = ({ children: e }) => /* @__PURE__ */
|
|
5457
|
+
}, rf = ({ children: e }) => /* @__PURE__ */ l.jsx($e, { sx: tf.box, padding: 2, component: "header", children: e }), nf = {
|
|
5462
5458
|
box: {
|
|
5463
5459
|
border: `solid 1px ${se.borderBlue}`,
|
|
5464
5460
|
flexGrow: 1
|
|
5465
5461
|
}
|
|
5466
|
-
}, of = ({ children: e }) => /* @__PURE__ */
|
|
5462
|
+
}, of = ({ children: e }) => /* @__PURE__ */ l.jsx($e, { sx: nf.box, component: "main", role: "tree", children: e }), ta = {
|
|
5467
5463
|
stack: {
|
|
5468
5464
|
width: "100%"
|
|
5469
5465
|
}
|
|
5470
5466
|
}, af = ({ children: e }) => {
|
|
5471
5467
|
const t = Os.toArray(e);
|
|
5472
|
-
return /* @__PURE__ */
|
|
5473
|
-
/* @__PURE__ */
|
|
5468
|
+
return /* @__PURE__ */ l.jsxs(Jr, { container: !0, padding: 1, flexWrap: "nowrap", height: "100%", role: "treegrid", children: [
|
|
5469
|
+
/* @__PURE__ */ l.jsx(Jr, { item: !0, xs: 9, padding: 1, display: "flex", children: /* @__PURE__ */ l.jsxs(Te, { sx: ta.stack, spacing: 2, children: [
|
|
5474
5470
|
t[0],
|
|
5475
5471
|
t[1]
|
|
5476
5472
|
] }) }),
|
|
5477
|
-
/* @__PURE__ */
|
|
5473
|
+
/* @__PURE__ */ l.jsx(Jr, { item: !0, xs: 3, padding: 1, display: "flex", children: /* @__PURE__ */ l.jsxs(Te, { sx: ta.stack, spacing: 2, children: [
|
|
5478
5474
|
t[2],
|
|
5479
5475
|
t[3]
|
|
5480
5476
|
] }) })
|
|
@@ -5485,28 +5481,28 @@ const yr = {
|
|
|
5485
5481
|
flexGrow: 1,
|
|
5486
5482
|
overflow: "auto"
|
|
5487
5483
|
}
|
|
5488
|
-
}, cf = ({ children: e }) => /* @__PURE__ */
|
|
5484
|
+
}, cf = ({ children: e }) => /* @__PURE__ */ l.jsx($e, { sx: sf.box, component: "aside", children: e }), lf = () => {
|
|
5489
5485
|
const { dispatchTree: e, setModalOpen: t, currentHierarchyPointNode: n, treePath: r } = Ie();
|
|
5490
5486
|
return {
|
|
5491
5487
|
handleSubmit: (a) => {
|
|
5492
5488
|
var u, d;
|
|
5493
5489
|
a.preventDefault();
|
|
5494
|
-
const s = ((u = n == null ? void 0 : n.data) == null ? void 0 : u.name) || "",
|
|
5495
|
-
e(Pd(
|
|
5490
|
+
const s = ((u = n == null ? void 0 : n.data) == null ? void 0 : u.name) || "", c = ((d = r == null ? void 0 : r.at(-1)) == null ? void 0 : d.path) || "";
|
|
5491
|
+
e(Pd(c, s)), t(null);
|
|
5496
5492
|
}
|
|
5497
5493
|
};
|
|
5498
5494
|
}, uf = ({ onClose: e }) => {
|
|
5499
5495
|
const { t } = Ge(), { handleSubmit: n } = lf();
|
|
5500
|
-
return /* @__PURE__ */
|
|
5501
|
-
/* @__PURE__ */
|
|
5502
|
-
/* @__PURE__ */
|
|
5496
|
+
return /* @__PURE__ */ l.jsx("form", { onSubmit: n, children: /* @__PURE__ */ l.jsxs(Te, { spacing: 2, direction: "row", justifyContent: "flex-end", children: [
|
|
5497
|
+
/* @__PURE__ */ l.jsx(Fe, { variant: "text", onClick: e, children: t("cancel") }),
|
|
5498
|
+
/* @__PURE__ */ l.jsx(Fe, { variant: "contained", color: "error", type: "submit", children: t("remove") })
|
|
5503
5499
|
] }) });
|
|
5504
5500
|
};
|
|
5505
5501
|
var qn = {}, df = we;
|
|
5506
5502
|
Object.defineProperty(qn, "__esModule", {
|
|
5507
5503
|
value: !0
|
|
5508
5504
|
});
|
|
5509
|
-
var fs = qn.default = void 0, ff = df(Ce()), pf =
|
|
5505
|
+
var fs = qn.default = void 0, ff = df(Ce()), pf = l, gf = (0, ff.default)(/* @__PURE__ */ (0, pf.jsx)("path", {
|
|
5510
5506
|
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm4 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 1z"
|
|
5511
5507
|
}), "AddCircleRounded");
|
|
5512
5508
|
fs = qn.default = gf;
|
|
@@ -5514,7 +5510,7 @@ var Wn = {}, hf = we;
|
|
|
5514
5510
|
Object.defineProperty(Wn, "__esModule", {
|
|
5515
5511
|
value: !0
|
|
5516
5512
|
});
|
|
5517
|
-
var ps = Wn.default = void 0, mf = hf(Ce()), yf =
|
|
5513
|
+
var ps = Wn.default = void 0, mf = hf(Ce()), yf = l, vf = (0, mf.default)(/* @__PURE__ */ (0, yf.jsx)("path", {
|
|
5518
5514
|
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm4 11H8c-.55 0-1-.45-1-1s.45-1 1-1h8c.55 0 1 .45 1 1s-.45 1-1 1z"
|
|
5519
5515
|
}), "RemoveCircleRounded");
|
|
5520
5516
|
ps = Wn.default = vf;
|
|
@@ -5639,9 +5635,9 @@ const Bt = [
|
|
|
5639
5635
|
)() };
|
|
5640
5636
|
}, Mf = ({ onChange: e, value: t }) => {
|
|
5641
5637
|
const { t: n } = Ge(["translation", "form"]), { fields: r } = bf();
|
|
5642
|
-
return /* @__PURE__ */
|
|
5643
|
-
/* @__PURE__ */
|
|
5644
|
-
/* @__PURE__ */
|
|
5638
|
+
return /* @__PURE__ */ l.jsxs(va, { sx: { flex: 1 }, required: !0, children: [
|
|
5639
|
+
/* @__PURE__ */ l.jsx(ba, { children: n("type") }),
|
|
5640
|
+
/* @__PURE__ */ l.jsx(
|
|
5645
5641
|
Ma,
|
|
5646
5642
|
{
|
|
5647
5643
|
value: t,
|
|
@@ -5652,9 +5648,9 @@ const Bt = [
|
|
|
5652
5648
|
sx: { maxHeight: 300 }
|
|
5653
5649
|
}
|
|
5654
5650
|
},
|
|
5655
|
-
children: r.map(({ type: o, isDecisionField: a }) => /* @__PURE__ */
|
|
5651
|
+
children: r.map(({ type: o, isDecisionField: a }) => /* @__PURE__ */ l.jsxs(Vt, { value: o, children: [
|
|
5656
5652
|
n(`type.${o}`, { ns: "form" }),
|
|
5657
|
-
a && /* @__PURE__ */
|
|
5653
|
+
a && /* @__PURE__ */ l.jsx(vr, { label: n("decisionField", { ns: "form" }), size: "small", color: "info", sx: { marginLeft: 1 } })
|
|
5658
5654
|
] }, o))
|
|
5659
5655
|
}
|
|
5660
5656
|
)
|
|
@@ -5664,7 +5660,7 @@ var Gn = {}, xf = we;
|
|
|
5664
5660
|
Object.defineProperty(Gn, "__esModule", {
|
|
5665
5661
|
value: !0
|
|
5666
5662
|
});
|
|
5667
|
-
var gs = Gn.default = void 0, Tf = xf(Ce()), jf =
|
|
5663
|
+
var gs = Gn.default = void 0, Tf = xf(Ce()), jf = l, Nf = (0, Tf.default)(/* @__PURE__ */ (0, jf.jsx)("path", {
|
|
5668
5664
|
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"
|
|
5669
5665
|
}), "AddRounded");
|
|
5670
5666
|
gs = Gn.default = Nf;
|
|
@@ -5679,7 +5675,7 @@ const Df = (e) => {
|
|
|
5679
5675
|
e
|
|
5680
5676
|
);
|
|
5681
5677
|
}, Ef = ({ isControlled: e, fetchWorkflowsOnOpen: t }) => {
|
|
5682
|
-
const { t: n } = Ge("snackMessage"), { open: r } = Qn(), { currentTree: o, setCurrentTree: a, dispatchTree: s } = Ie(), [
|
|
5678
|
+
const { t: n } = Ge("snackMessage"), { open: r } = Qn(), { currentTree: o, setCurrentTree: a, dispatchTree: s } = Ie(), [c, u] = ye(""), d = !!c && !e && c !== o.id, { data: f, isError: g } = Cr(c, {
|
|
5683
5679
|
enabled: d
|
|
5684
5680
|
}), {
|
|
5685
5681
|
data: p,
|
|
@@ -5701,17 +5697,17 @@ const Df = (e) => {
|
|
|
5701
5697
|
), m = jr(async () => {
|
|
5702
5698
|
if (t)
|
|
5703
5699
|
try {
|
|
5704
|
-
await y(), o.id && !
|
|
5700
|
+
await y(), o.id && !c && u(o.id);
|
|
5705
5701
|
} catch {
|
|
5706
5702
|
r(n("error.fetchTree", { ns: "snackMessage" }), "error");
|
|
5707
5703
|
}
|
|
5708
|
-
}, [t, y, o.id,
|
|
5704
|
+
}, [t, y, o.id, c, r, n]);
|
|
5709
5705
|
return fn(() => {
|
|
5710
|
-
if (f &&
|
|
5706
|
+
if (f && c !== o.id) {
|
|
5711
5707
|
const { id: M, label: j, workflow: S } = f;
|
|
5712
5708
|
a({ id: M, name: j }), s(us(S));
|
|
5713
5709
|
}
|
|
5714
|
-
}, [o.id, s, e, a,
|
|
5710
|
+
}, [o.id, s, e, a, c, f]), fn(() => {
|
|
5715
5711
|
g && r(n("error.fetchTree", { ns: "snackMessage" }), "error");
|
|
5716
5712
|
}, [g, r, n]), {
|
|
5717
5713
|
currentTree: o,
|
|
@@ -5719,7 +5715,7 @@ const Df = (e) => {
|
|
|
5719
5715
|
handleChangeTree: h,
|
|
5720
5716
|
handleOnOpen: m,
|
|
5721
5717
|
setTreeSelected: u,
|
|
5722
|
-
treeSelected:
|
|
5718
|
+
treeSelected: c,
|
|
5723
5719
|
workflowsSuggestions: p,
|
|
5724
5720
|
workflowsSuggestionsLoading: b
|
|
5725
5721
|
};
|
|
@@ -5733,28 +5729,28 @@ const Df = (e) => {
|
|
|
5733
5729
|
boxShadow: "none"
|
|
5734
5730
|
}
|
|
5735
5731
|
}, hs = ({ arrowOnly: e, required: t, size: n, showBtnAddNewTree: r, onChange: o, value: a, fetchWorkflowsOnOpen: s }) => {
|
|
5736
|
-
const { t:
|
|
5732
|
+
const { t: c } = Ge("form"), u = Zt(() => !!o, [o]), { handleChangeTree: d, handleOnOpen: f, workflowsSuggestions: g, workflowsSuggestionsLoading: p, treeSelected: b } = Ef({
|
|
5737
5733
|
fetchWorkflowsOnOpen: s,
|
|
5738
5734
|
isControlled: u
|
|
5739
5735
|
});
|
|
5740
|
-
return /* @__PURE__ */
|
|
5741
|
-
!e && /* @__PURE__ */
|
|
5742
|
-
/* @__PURE__ */
|
|
5736
|
+
return /* @__PURE__ */ l.jsxs(va, { size: n, required: t, sx: ra.formControl, children: [
|
|
5737
|
+
!e && /* @__PURE__ */ l.jsx(ba, { children: c("tree", { ns: "form" }) }),
|
|
5738
|
+
/* @__PURE__ */ l.jsxs(
|
|
5743
5739
|
Ma,
|
|
5744
5740
|
{
|
|
5745
5741
|
value: u ? a : b,
|
|
5746
5742
|
id: "tree-select",
|
|
5747
5743
|
onChange: (y) => u ? o == null ? void 0 : o(y) : d(y),
|
|
5748
5744
|
sx: e ? ra.select : void 0,
|
|
5749
|
-
label:
|
|
5745
|
+
label: c("tree", { ns: "form" }),
|
|
5750
5746
|
onOpen: f,
|
|
5751
5747
|
children: [
|
|
5752
|
-
(a && p || p) && /* @__PURE__ */
|
|
5753
|
-
g == null ? void 0 : g.map(({ label: y, id: h }) => /* @__PURE__ */
|
|
5754
|
-
r && /* @__PURE__ */
|
|
5755
|
-
r && /* @__PURE__ */
|
|
5756
|
-
/* @__PURE__ */
|
|
5757
|
-
/* @__PURE__ */
|
|
5748
|
+
(a && p || p) && /* @__PURE__ */ l.jsx(Vt, { value: a, children: /* @__PURE__ */ l.jsx(Us, { width: "100%" }) }),
|
|
5749
|
+
g == null ? void 0 : g.map(({ label: y, id: h }) => /* @__PURE__ */ l.jsx(Vt, { value: h, children: y }, h)),
|
|
5750
|
+
r && /* @__PURE__ */ l.jsx(Vt, { disabled: !0, children: /* @__PURE__ */ l.jsx($e, { sx: { height: 1, width: "100%" }, children: /* @__PURE__ */ l.jsx(ya, {}) }) }),
|
|
5751
|
+
r && /* @__PURE__ */ l.jsxs(Vt, { value: "add-new-tree", children: [
|
|
5752
|
+
/* @__PURE__ */ l.jsx(Nr, { mr: 1, children: c("newTree", { ns: "form" }) }),
|
|
5753
|
+
/* @__PURE__ */ l.jsx(gs, { color: "primary" })
|
|
5758
5754
|
] })
|
|
5759
5755
|
]
|
|
5760
5756
|
}
|
|
@@ -5768,28 +5764,28 @@ const Df = (e) => {
|
|
|
5768
5764
|
treeSelected: o,
|
|
5769
5765
|
handleChangeTreeSelect: a,
|
|
5770
5766
|
handleChangeHelperText: s,
|
|
5771
|
-
handleChangeHiddenValue:
|
|
5767
|
+
handleChangeHiddenValue: c
|
|
5772
5768
|
}) => {
|
|
5773
5769
|
const { t: u } = Ge(["translation", "form"]);
|
|
5774
|
-
return r ? /* @__PURE__ */
|
|
5770
|
+
return r ? /* @__PURE__ */ l.jsx(hs, { required: !0, value: o, onChange: a }) : n ? /* @__PURE__ */ l.jsx(
|
|
5775
5771
|
et,
|
|
5776
5772
|
{
|
|
5777
5773
|
required: !0,
|
|
5778
5774
|
sx: { flex: 1 },
|
|
5779
5775
|
label: u("hiddenValue", { ns: "form" }),
|
|
5780
|
-
onChange:
|
|
5776
|
+
onChange: c,
|
|
5781
5777
|
value: t
|
|
5782
5778
|
}
|
|
5783
|
-
) : /* @__PURE__ */
|
|
5779
|
+
) : /* @__PURE__ */ l.jsx(et, { sx: { flex: 1 }, label: u("helperText", { ns: "form" }), onChange: s, value: e });
|
|
5784
5780
|
}, na = (e) => (/* @__PURE__ */ new Set([...e])).size === e.length, Sf = (e, t, n) => {
|
|
5785
5781
|
const r = [...e, t];
|
|
5786
5782
|
return na(n ? r.filter((o) => o !== n) : r);
|
|
5787
5783
|
}, If = () => {
|
|
5788
5784
|
var sr, ir, cr, lr, ur, dr, fr, ht, kt, st, mt, yt, Rt, pr, Lt;
|
|
5789
|
-
const e = Zt(() => [{ id: "0", label: "", message: "", value: "" }], []), { tree: t, dispatchTree: n, currentHierarchyPointNode: r, modalOpen: o, treePath: a, setModalOpen: s } = Ie(), { open:
|
|
5785
|
+
const e = Zt(() => [{ id: "0", label: "", message: "", value: "" }], []), { tree: t, dispatchTree: n, currentHierarchyPointNode: r, modalOpen: o, treePath: a, setModalOpen: s } = Ie(), { open: c } = Qn(), { t: u } = Ge(), [d, f] = ye(e), [g, p] = ye(""), [b, y] = ye(""), [h, m] = ye(""), [M, j] = ye(!1), [S, w] = ye(!1), [v, Q] = ye("text"), [z, Ee] = ye(""), [ue, Y] = ye(""), [de, Ae] = ye(""), [fe, pe] = ye({ off: "", on: "" }), [ve, be] = ye(!1), [ze, Oe] = ye(""), Pe = o === "edit", T = v === "tree", O = v === "hidden", L = Bt.some((D) => D.type === v && (D == null ? void 0 : D.isBooleanField)), k = Bt.some((D) => D.type === v && (D == null ? void 0 : D.isDecisionField)), _ = Bt.some((D) => D.type === v && (D == null ? void 0 : D.isRequiredDisabled)), F = Bt.some((D) => D.type === v && (D == null ? void 0 : D.isRepeatableDisabled)), A = ((ir = (sr = r == null ? void 0 : r.data) == null ? void 0 : sr.attributes) == null ? void 0 : ir.isLeaf) ?? !0, R = (D) => !k && D > 0, { refetch: U, isInitialLoading: B } = Cr(z, {
|
|
5790
5786
|
enabled: !1,
|
|
5791
5787
|
onError: () => {
|
|
5792
|
-
|
|
5788
|
+
c(u("error.fetchTree", { ns: "snackMessage" }), "error");
|
|
5793
5789
|
}
|
|
5794
5790
|
}), $ = (D, J) => {
|
|
5795
5791
|
f(
|
|
@@ -6006,7 +6002,7 @@ const Df = (e) => {
|
|
|
6006
6002
|
name: o,
|
|
6007
6003
|
uniqueNameErrorMessage: a,
|
|
6008
6004
|
type: s,
|
|
6009
|
-
helperText:
|
|
6005
|
+
helperText: c,
|
|
6010
6006
|
label: u,
|
|
6011
6007
|
hiddenValue: d,
|
|
6012
6008
|
isBooleanField: f,
|
|
@@ -6039,10 +6035,10 @@ const Df = (e) => {
|
|
|
6039
6035
|
handleChangeRepeatable: L,
|
|
6040
6036
|
handleChangeHiddenValue: k
|
|
6041
6037
|
} = If();
|
|
6042
|
-
return /* @__PURE__ */
|
|
6043
|
-
/* @__PURE__ */
|
|
6044
|
-
/* @__PURE__ */
|
|
6045
|
-
/* @__PURE__ */
|
|
6038
|
+
return /* @__PURE__ */ l.jsxs("form", { onSubmit: Pe, children: [
|
|
6039
|
+
/* @__PURE__ */ l.jsxs(Te, { spacing: 1, paddingY: 1, direction: { sm: "row", xs: "column" }, children: [
|
|
6040
|
+
/* @__PURE__ */ l.jsx(et, { sx: { flex: 1 }, label: t("label", { ns: "form" }), onChange: O, value: u, required: !0 }),
|
|
6041
|
+
/* @__PURE__ */ l.jsx(
|
|
6046
6042
|
et,
|
|
6047
6043
|
{
|
|
6048
6044
|
label: t("name"),
|
|
@@ -6055,12 +6051,12 @@ const Df = (e) => {
|
|
|
6055
6051
|
}
|
|
6056
6052
|
)
|
|
6057
6053
|
] }),
|
|
6058
|
-
/* @__PURE__ */
|
|
6059
|
-
/* @__PURE__ */
|
|
6060
|
-
/* @__PURE__ */
|
|
6054
|
+
/* @__PURE__ */ l.jsxs(Te, { spacing: 1, paddingY: 1, direction: { sm: "row", xs: "column" }, children: [
|
|
6055
|
+
/* @__PURE__ */ l.jsx(Mf, { value: s, onChange: fe }),
|
|
6056
|
+
/* @__PURE__ */ l.jsx(
|
|
6061
6057
|
Of,
|
|
6062
6058
|
{
|
|
6063
|
-
helperText:
|
|
6059
|
+
helperText: c,
|
|
6064
6060
|
hiddenValue: d,
|
|
6065
6061
|
isHiddenField: y,
|
|
6066
6062
|
isTreeField: M,
|
|
@@ -6071,40 +6067,40 @@ const Df = (e) => {
|
|
|
6071
6067
|
}
|
|
6072
6068
|
)
|
|
6073
6069
|
] }),
|
|
6074
|
-
f && /* @__PURE__ */
|
|
6075
|
-
/* @__PURE__ */
|
|
6076
|
-
/* @__PURE__ */
|
|
6070
|
+
f && /* @__PURE__ */ l.jsxs(Te, { spacing: 1, paddingY: 1, direction: { sm: "row", xs: "column" }, children: [
|
|
6071
|
+
/* @__PURE__ */ l.jsx(et, { sx: { flex: 1 }, label: t("onMessage", { ns: "form" }), onChange: Oe("on"), value: Q }),
|
|
6072
|
+
/* @__PURE__ */ l.jsx(et, { sx: { flex: 1 }, label: t("offMessage", { ns: "form" }), onChange: Oe("off"), value: z })
|
|
6077
6073
|
] }),
|
|
6078
|
-
/* @__PURE__ */
|
|
6079
|
-
/* @__PURE__ */
|
|
6074
|
+
/* @__PURE__ */ l.jsxs(Te, { paddingY: 1, children: [
|
|
6075
|
+
/* @__PURE__ */ l.jsx(Zr, { children: /* @__PURE__ */ l.jsx(
|
|
6080
6076
|
Xr,
|
|
6081
6077
|
{
|
|
6082
6078
|
disabled: m,
|
|
6083
|
-
control: /* @__PURE__ */
|
|
6079
|
+
control: /* @__PURE__ */ l.jsx(Hr, { checked: w, onChange: L }),
|
|
6084
6080
|
label: t("repeatable", { ns: "form" })
|
|
6085
6081
|
}
|
|
6086
6082
|
) }),
|
|
6087
|
-
/* @__PURE__ */
|
|
6083
|
+
/* @__PURE__ */ l.jsx(Zr, { children: /* @__PURE__ */ l.jsx(
|
|
6088
6084
|
Xr,
|
|
6089
6085
|
{
|
|
6090
6086
|
disabled: h,
|
|
6091
|
-
control: /* @__PURE__ */
|
|
6087
|
+
control: /* @__PURE__ */ l.jsx(Hr, { checked: r, onChange: de }),
|
|
6092
6088
|
label: t("required")
|
|
6093
6089
|
}
|
|
6094
6090
|
) }),
|
|
6095
|
-
(v || p) && /* @__PURE__ */
|
|
6091
|
+
(v || p) && /* @__PURE__ */ l.jsx(Zr, { children: /* @__PURE__ */ l.jsx(
|
|
6096
6092
|
Xr,
|
|
6097
6093
|
{
|
|
6098
6094
|
disabled: !b,
|
|
6099
|
-
control: /* @__PURE__ */
|
|
6095
|
+
control: /* @__PURE__ */ l.jsx(Hr, { checked: g, onChange: pe }),
|
|
6100
6096
|
label: t("decisionField", { ns: "form" })
|
|
6101
6097
|
}
|
|
6102
6098
|
) })
|
|
6103
6099
|
] }),
|
|
6104
|
-
b && /* @__PURE__ */
|
|
6105
|
-
/* @__PURE__ */
|
|
6106
|
-
n == null ? void 0 : n.map(({ value: _, label: F, id: A, message: R }) => /* @__PURE__ */
|
|
6107
|
-
/* @__PURE__ */
|
|
6100
|
+
b && /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
6101
|
+
/* @__PURE__ */ l.jsx("h4", { children: t("values") }),
|
|
6102
|
+
n == null ? void 0 : n.map(({ value: _, label: F, id: A, message: R }) => /* @__PURE__ */ l.jsxs(Te, { direction: { sm: "row", xs: "column" }, spacing: 1, paddingY: 1, position: "relative", children: [
|
|
6103
|
+
/* @__PURE__ */ l.jsx(
|
|
6108
6104
|
et,
|
|
6109
6105
|
{
|
|
6110
6106
|
label: t("label", { ns: "form" }),
|
|
@@ -6115,7 +6111,7 @@ const Df = (e) => {
|
|
|
6115
6111
|
required: !0
|
|
6116
6112
|
}
|
|
6117
6113
|
),
|
|
6118
|
-
/* @__PURE__ */
|
|
6114
|
+
/* @__PURE__ */ l.jsx(
|
|
6119
6115
|
et,
|
|
6120
6116
|
{
|
|
6121
6117
|
label: t("value", { ns: "form" }),
|
|
@@ -6126,7 +6122,7 @@ const Df = (e) => {
|
|
|
6126
6122
|
required: !0
|
|
6127
6123
|
}
|
|
6128
6124
|
),
|
|
6129
|
-
/* @__PURE__ */
|
|
6125
|
+
/* @__PURE__ */ l.jsx(
|
|
6130
6126
|
et,
|
|
6131
6127
|
{
|
|
6132
6128
|
label: "Message",
|
|
@@ -6136,20 +6132,20 @@ const Df = (e) => {
|
|
|
6136
6132
|
inputProps: { "data-id": A }
|
|
6137
6133
|
}
|
|
6138
6134
|
),
|
|
6139
|
-
n.length > 1 && /* @__PURE__ */
|
|
6135
|
+
n.length > 1 && /* @__PURE__ */ l.jsx(pn, { color: "warning", sx: aa.iconButtonDelete, value: A, onClick: be, children: /* @__PURE__ */ l.jsx(ps, {}) })
|
|
6140
6136
|
] }, A))
|
|
6141
6137
|
] }),
|
|
6142
|
-
b && /* @__PURE__ */
|
|
6143
|
-
/* @__PURE__ */
|
|
6144
|
-
/* @__PURE__ */
|
|
6145
|
-
/* @__PURE__ */
|
|
6138
|
+
b && /* @__PURE__ */ l.jsx($e, { justifyContent: "flex-end", display: "flex", children: /* @__PURE__ */ l.jsx(pn, { color: "success", sx: aa.iconButton, onClick: T, children: /* @__PURE__ */ l.jsx(fs, {}) }) }),
|
|
6139
|
+
/* @__PURE__ */ l.jsxs(Te, { spacing: 2, direction: "row", justifyContent: "flex-end", paddingTop: 3, children: [
|
|
6140
|
+
/* @__PURE__ */ l.jsx(Fe, { variant: "text", onClick: e, children: t("cancel") }),
|
|
6141
|
+
/* @__PURE__ */ l.jsx(
|
|
6146
6142
|
Fe,
|
|
6147
6143
|
{
|
|
6148
6144
|
variant: "contained",
|
|
6149
6145
|
type: "submit",
|
|
6150
6146
|
disabled: !!a || S,
|
|
6151
6147
|
isLoading: S,
|
|
6152
|
-
loadingIndicator: /* @__PURE__ */
|
|
6148
|
+
loadingIndicator: /* @__PURE__ */ l.jsx(ma, { size: 14 }),
|
|
6153
6149
|
children: t("validate")
|
|
6154
6150
|
}
|
|
6155
6151
|
)
|
|
@@ -6160,7 +6156,7 @@ var Kn = {}, Cf = we;
|
|
|
6160
6156
|
Object.defineProperty(Kn, "__esModule", {
|
|
6161
6157
|
value: !0
|
|
6162
6158
|
});
|
|
6163
|
-
var ms = Kn.default = void 0, Af = Cf(Ce()), zf =
|
|
6159
|
+
var ms = Kn.default = void 0, Af = Cf(Ce()), zf = l, _f = (0, Af.default)(/* @__PURE__ */ (0, zf.jsx)("path", {
|
|
6164
6160
|
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"
|
|
6165
6161
|
}), "AccountTreeRounded");
|
|
6166
6162
|
ms = Kn.default = _f;
|
|
@@ -6168,7 +6164,7 @@ var Jn = {}, kf = we;
|
|
|
6168
6164
|
Object.defineProperty(Jn, "__esModule", {
|
|
6169
6165
|
value: !0
|
|
6170
6166
|
});
|
|
6171
|
-
var ys = Jn.default = void 0, Rf = kf(Ce()), Lf =
|
|
6167
|
+
var ys = Jn.default = void 0, Rf = kf(Ce()), Lf = l, $f = (0, Rf.default)(/* @__PURE__ */ (0, Lf.jsx)("path", {
|
|
6172
6168
|
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"
|
|
6173
6169
|
}), "AddBoxRounded");
|
|
6174
6170
|
ys = Jn.default = $f;
|
|
@@ -6176,7 +6172,7 @@ var Zn = {}, Pf = we;
|
|
|
6176
6172
|
Object.defineProperty(Zn, "__esModule", {
|
|
6177
6173
|
value: !0
|
|
6178
6174
|
});
|
|
6179
|
-
var vs = Zn.default = void 0, Yf = Pf(Ce()), Uf =
|
|
6175
|
+
var vs = Zn.default = void 0, Yf = Pf(Ce()), Uf = l, Ff = (0, Yf.default)(/* @__PURE__ */ (0, Uf.jsx)("path", {
|
|
6180
6176
|
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"
|
|
6181
6177
|
}), "DeleteOutlineRounded");
|
|
6182
6178
|
vs = Zn.default = Ff;
|
|
@@ -6184,7 +6180,7 @@ var Xn = {}, Vf = we;
|
|
|
6184
6180
|
Object.defineProperty(Xn, "__esModule", {
|
|
6185
6181
|
value: !0
|
|
6186
6182
|
});
|
|
6187
|
-
var bs = Xn.default = void 0, Qf = Vf(Ce()), Bf =
|
|
6183
|
+
var bs = Xn.default = void 0, Qf = Vf(Ce()), Bf = l, qf = (0, Qf.default)(/* @__PURE__ */ (0, Bf.jsx)("path", {
|
|
6188
6184
|
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"
|
|
6189
6185
|
}), "EditRounded");
|
|
6190
6186
|
bs = Xn.default = qf;
|
|
@@ -6192,7 +6188,7 @@ var Hn = {}, Wf = we;
|
|
|
6192
6188
|
Object.defineProperty(Hn, "__esModule", {
|
|
6193
6189
|
value: !0
|
|
6194
6190
|
});
|
|
6195
|
-
var Ms = Hn.default = void 0, Gf = Wf(Ce()), Kf =
|
|
6191
|
+
var Ms = Hn.default = void 0, Gf = Wf(Ce()), Kf = l, Jf = (0, Gf.default)(/* @__PURE__ */ (0, Kf.jsx)("path", {
|
|
6196
6192
|
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"
|
|
6197
6193
|
}), "EnergySavingsLeafRounded");
|
|
6198
6194
|
Ms = Hn.default = Jf;
|
|
@@ -6200,7 +6196,7 @@ var eo = {}, Zf = we;
|
|
|
6200
6196
|
Object.defineProperty(eo, "__esModule", {
|
|
6201
6197
|
value: !0
|
|
6202
6198
|
});
|
|
6203
|
-
var xs = eo.default = void 0, Xf = Zf(Ce()), sa =
|
|
6199
|
+
var xs = eo.default = void 0, Xf = Zf(Ce()), sa = l, Hf = (0, Xf.default)([/* @__PURE__ */ (0, sa.jsx)("path", {
|
|
6204
6200
|
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"
|
|
6205
6201
|
}, "0"), /* @__PURE__ */ (0, sa.jsx)("path", {
|
|
6206
6202
|
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"
|
|
@@ -6210,7 +6206,7 @@ var to = {}, ep = we;
|
|
|
6210
6206
|
Object.defineProperty(to, "__esModule", {
|
|
6211
6207
|
value: !0
|
|
6212
6208
|
});
|
|
6213
|
-
var Ts = to.default = void 0, tp = ep(Ce()), rp =
|
|
6209
|
+
var Ts = to.default = void 0, tp = ep(Ce()), rp = l, np = (0, tp.default)(/* @__PURE__ */ (0, rp.jsx)("path", {
|
|
6214
6210
|
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"
|
|
6215
6211
|
}), "LoopRounded");
|
|
6216
6212
|
Ts = to.default = np;
|
|
@@ -6218,7 +6214,7 @@ var ro = {}, op = we;
|
|
|
6218
6214
|
Object.defineProperty(ro, "__esModule", {
|
|
6219
6215
|
value: !0
|
|
6220
6216
|
});
|
|
6221
|
-
var js = ro.default = void 0, ap = op(Ce()), sp =
|
|
6217
|
+
var js = ro.default = void 0, ap = op(Ce()), sp = l, ip = (0, ap.default)(/* @__PURE__ */ (0, sp.jsx)("path", {
|
|
6222
6218
|
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"
|
|
6223
6219
|
}), "ParkRounded");
|
|
6224
6220
|
js = ro.default = ip;
|
|
@@ -6226,7 +6222,7 @@ var no = {}, cp = we;
|
|
|
6226
6222
|
Object.defineProperty(no, "__esModule", {
|
|
6227
6223
|
value: !0
|
|
6228
6224
|
});
|
|
6229
|
-
var Ns = no.default = void 0, lp = cp(Ce()), up =
|
|
6225
|
+
var Ns = no.default = void 0, lp = cp(Ce()), up = l, dp = (0, lp.default)(/* @__PURE__ */ (0, up.jsx)("path", {
|
|
6230
6226
|
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"
|
|
6231
6227
|
}), "VisibilityOffRounded");
|
|
6232
6228
|
Ns = no.default = dp;
|
|
@@ -6234,7 +6230,7 @@ var oo = {}, fp = we;
|
|
|
6234
6230
|
Object.defineProperty(oo, "__esModule", {
|
|
6235
6231
|
value: !0
|
|
6236
6232
|
});
|
|
6237
|
-
var Ds = oo.default = void 0, pp = fp(Ce()), gp =
|
|
6233
|
+
var Ds = oo.default = void 0, pp = fp(Ce()), gp = l, hp = (0, pp.default)(/* @__PURE__ */ (0, gp.jsx)("path", {
|
|
6238
6234
|
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"
|
|
6239
6235
|
}), "VisibilityRounded");
|
|
6240
6236
|
Ds = oo.default = hp;
|
|
@@ -6299,29 +6295,29 @@ const De = {
|
|
|
6299
6295
|
size: s = 220
|
|
6300
6296
|
}) => {
|
|
6301
6297
|
var Q;
|
|
6302
|
-
const { t:
|
|
6303
|
-
return /* @__PURE__ */
|
|
6304
|
-
/* @__PURE__ */
|
|
6305
|
-
/* @__PURE__ */
|
|
6306
|
-
/* @__PURE__ */
|
|
6307
|
-
M && /* @__PURE__ */
|
|
6308
|
-
b && /* @__PURE__ */
|
|
6309
|
-
/* @__PURE__ */
|
|
6298
|
+
const { t: c } = Ge(["translation", "form"]), { attributes: u } = e || {}, { isRoot: d, isLeaf: f, required: g, isDecision: p, step: b, type: y, label: h, repeatable: m } = u || {}, M = !!y, j = y === "tree", S = y === "hidden", w = !M, v = !d && !f;
|
|
6299
|
+
return /* @__PURE__ */ l.jsxs("g", { children: [
|
|
6300
|
+
/* @__PURE__ */ l.jsx(wr, { styles: { ".rd3t-node svg": De.nodeSvg } }),
|
|
6301
|
+
/* @__PURE__ */ l.jsx($e, { component: "foreignObject", height: s, width: s, x: `-${s / 2}`, y: `-${s / 2}`, sx: mp(y), children: /* @__PURE__ */ l.jsxs($e, { flex: 1, display: "flex", p: 2, height: "100%", flexDirection: "column", justifyContent: "space-between", children: [
|
|
6302
|
+
/* @__PURE__ */ l.jsxs(Te, { alignItems: "flex-end", spacing: 0.5, children: [
|
|
6303
|
+
M && /* @__PURE__ */ l.jsxs(Te, { direction: "row", spacing: 1, alignItems: "center", children: [
|
|
6304
|
+
b && /* @__PURE__ */ l.jsx(Ue, { title: `${c("step", { ns: "form" })} ${(Q = e == null ? void 0 : e.attributes) == null ? void 0 : Q.step}`, placement: "left", arrow: !0, children: /* @__PURE__ */ l.jsx(vr, { color: "primary", size: "small", label: b, sx: De.stepChip }) }),
|
|
6305
|
+
/* @__PURE__ */ l.jsx(Nr, { variant: "subtitle2", sx: De.title, children: /* @__PURE__ */ l.jsx("strong", { children: h }) })
|
|
6310
6306
|
] }),
|
|
6311
|
-
M && /* @__PURE__ */
|
|
6312
|
-
g && /* @__PURE__ */
|
|
6313
|
-
/* @__PURE__ */
|
|
6314
|
-
/* @__PURE__ */
|
|
6315
|
-
m && /* @__PURE__ */
|
|
6316
|
-
f && /* @__PURE__ */
|
|
6317
|
-
S && /* @__PURE__ */
|
|
6318
|
-
d && /* @__PURE__ */
|
|
6319
|
-
v && /* @__PURE__ */
|
|
6320
|
-
j && /* @__PURE__ */
|
|
6307
|
+
M && /* @__PURE__ */ l.jsx(vr, { color: "info", size: "small", label: c(`type.${y}`, { ns: "form" }) }),
|
|
6308
|
+
g && /* @__PURE__ */ l.jsx(Te, { direction: "row", spacing: 0.5, children: g && /* @__PURE__ */ l.jsx(vr, { color: "warning", size: "small", variant: "outlined", label: c("required") }) }),
|
|
6309
|
+
/* @__PURE__ */ l.jsx(Te, { spacing: 0.5, alignItems: "flex-end", children: w && /* @__PURE__ */ l.jsx(Nr, { variant: "subtitle2", sx: De.title, children: /* @__PURE__ */ l.jsx("strong", { children: h }) }) }),
|
|
6310
|
+
/* @__PURE__ */ l.jsxs(Te, { paddingTop: 0.5, spacing: 0.5, direction: "row", children: [
|
|
6311
|
+
m && /* @__PURE__ */ l.jsx(Ue, { title: c("isARepeatable"), placement: "bottom", arrow: !0, children: /* @__PURE__ */ l.jsx(Ts, { style: De.icon }) }),
|
|
6312
|
+
f && /* @__PURE__ */ l.jsx(Ue, { title: c("isALeaf"), placement: "bottom", arrow: !0, children: /* @__PURE__ */ l.jsx(Ms, { style: De.icon }) }),
|
|
6313
|
+
S && /* @__PURE__ */ l.jsx(Ue, { title: c("isAHidden"), placement: "bottom", arrow: !0, children: /* @__PURE__ */ l.jsx(Ns, { style: De.icon }) }),
|
|
6314
|
+
d && /* @__PURE__ */ l.jsx(Ue, { title: c("isTheRoot"), placement: "bottom", arrow: !0, children: /* @__PURE__ */ l.jsx(js, { style: De.icon }) }),
|
|
6315
|
+
v && /* @__PURE__ */ l.jsx(Ue, { title: c("isABranch"), placement: "bottom", arrow: !0, children: /* @__PURE__ */ l.jsx(ms, { style: De.icon }) }),
|
|
6316
|
+
j && /* @__PURE__ */ l.jsx(Ue, { title: c("isATree"), placement: "bottom", arrow: !0, children: /* @__PURE__ */ l.jsx(xs, { style: De.icon }) })
|
|
6321
6317
|
] })
|
|
6322
6318
|
] }),
|
|
6323
|
-
/* @__PURE__ */
|
|
6324
|
-
!d && /* @__PURE__ */
|
|
6319
|
+
/* @__PURE__ */ l.jsxs(Te, { direction: "row", justifyContent: "flex-end", spacing: 0, alignSelf: "flex-end", children: [
|
|
6320
|
+
!d && /* @__PURE__ */ l.jsx(Ue, { title: c("remove"), arrow: !0, children: /* @__PURE__ */ l.jsx(
|
|
6325
6321
|
Fe,
|
|
6326
6322
|
{
|
|
6327
6323
|
variant: "text",
|
|
@@ -6329,10 +6325,10 @@ const De = {
|
|
|
6329
6325
|
size: "small",
|
|
6330
6326
|
color: "error",
|
|
6331
6327
|
onClick: () => r == null ? void 0 : r(a),
|
|
6332
|
-
children: /* @__PURE__ */
|
|
6328
|
+
children: /* @__PURE__ */ l.jsx(vs, {})
|
|
6333
6329
|
}
|
|
6334
6330
|
) }),
|
|
6335
|
-
!w && /* @__PURE__ */
|
|
6331
|
+
!w && /* @__PURE__ */ l.jsx(Ue, { title: c("edit"), arrow: !0, children: /* @__PURE__ */ l.jsx(
|
|
6336
6332
|
Fe,
|
|
6337
6333
|
{
|
|
6338
6334
|
variant: "text",
|
|
@@ -6340,10 +6336,10 @@ const De = {
|
|
|
6340
6336
|
sx: De.actionButton,
|
|
6341
6337
|
size: "small",
|
|
6342
6338
|
onClick: () => n == null ? void 0 : n(a),
|
|
6343
|
-
children: /* @__PURE__ */
|
|
6339
|
+
children: /* @__PURE__ */ l.jsx(bs, {})
|
|
6344
6340
|
}
|
|
6345
6341
|
) }),
|
|
6346
|
-
!p && /* @__PURE__ */
|
|
6342
|
+
!p && /* @__PURE__ */ l.jsx(Ue, { title: c("add"), arrow: !0, children: /* @__PURE__ */ l.jsx(
|
|
6347
6343
|
Fe,
|
|
6348
6344
|
{
|
|
6349
6345
|
variant: "text",
|
|
@@ -6351,10 +6347,10 @@ const De = {
|
|
|
6351
6347
|
sx: De.actionButton,
|
|
6352
6348
|
size: "small",
|
|
6353
6349
|
onClick: () => t == null ? void 0 : t(a),
|
|
6354
|
-
children: /* @__PURE__ */
|
|
6350
|
+
children: /* @__PURE__ */ l.jsx(ys, {})
|
|
6355
6351
|
}
|
|
6356
6352
|
) }),
|
|
6357
|
-
j && /* @__PURE__ */
|
|
6353
|
+
j && /* @__PURE__ */ l.jsx(Ue, { title: c("show"), arrow: !0, children: /* @__PURE__ */ l.jsx(
|
|
6358
6354
|
Fe,
|
|
6359
6355
|
{
|
|
6360
6356
|
variant: "text",
|
|
@@ -6362,7 +6358,7 @@ const De = {
|
|
|
6362
6358
|
sx: De.actionButton,
|
|
6363
6359
|
size: "small",
|
|
6364
6360
|
onClick: () => o == null ? void 0 : o(a),
|
|
6365
|
-
children: /* @__PURE__ */
|
|
6361
|
+
children: /* @__PURE__ */ l.jsx(Ds, {})
|
|
6366
6362
|
}
|
|
6367
6363
|
) })
|
|
6368
6364
|
] })
|
|
@@ -6395,8 +6391,8 @@ const De = {
|
|
|
6395
6391
|
onNodeMouseOut: a,
|
|
6396
6392
|
addChildren: s
|
|
6397
6393
|
}) => {
|
|
6398
|
-
const { handleDeleteChildren:
|
|
6399
|
-
return /* @__PURE__ */
|
|
6394
|
+
const { handleDeleteChildren: c, handleEditChildren: u, handleAddChildren: d, handleOpenTreeModal: f } = Es();
|
|
6395
|
+
return /* @__PURE__ */ l.jsx(
|
|
6400
6396
|
vp,
|
|
6401
6397
|
{
|
|
6402
6398
|
addChildren: s,
|
|
@@ -6408,7 +6404,7 @@ const De = {
|
|
|
6408
6404
|
onNodeMouseOut: a,
|
|
6409
6405
|
onAddChildren: d,
|
|
6410
6406
|
onOpenTreeModal: f,
|
|
6411
|
-
onDeleteChildren:
|
|
6407
|
+
onDeleteChildren: c,
|
|
6412
6408
|
onEditChildren: u
|
|
6413
6409
|
}
|
|
6414
6410
|
);
|
|
@@ -6420,7 +6416,7 @@ const De = {
|
|
|
6420
6416
|
onNodeMouseOver: o,
|
|
6421
6417
|
onNodeMouseOut: a,
|
|
6422
6418
|
addChildren: s
|
|
6423
|
-
}) => /* @__PURE__ */
|
|
6419
|
+
}) => /* @__PURE__ */ l.jsx(
|
|
6424
6420
|
bp,
|
|
6425
6421
|
{
|
|
6426
6422
|
addChildren: s,
|
|
@@ -6460,7 +6456,7 @@ const De = {
|
|
|
6460
6456
|
}, id: a, name: r };
|
|
6461
6457
|
}, Tp = () => {
|
|
6462
6458
|
const { t: e } = Ge("form"), { name: t, handleChangeName: n, errorName: r, disabled: o } = xp();
|
|
6463
|
-
return /* @__PURE__ */
|
|
6459
|
+
return /* @__PURE__ */ l.jsx(
|
|
6464
6460
|
et,
|
|
6465
6461
|
{
|
|
6466
6462
|
required: !0,
|
|
@@ -6474,26 +6470,26 @@ const De = {
|
|
|
6474
6470
|
);
|
|
6475
6471
|
}, jp = () => {
|
|
6476
6472
|
var b, y;
|
|
6477
|
-
const { tree: e, treeModalOpen: t, treePath: n, backendConfig: r } = Ie(), { handleCloseTreeModal: o } = Es(), { getTitleModalMutation: a, closeModal: s, getTitleModalDelete:
|
|
6478
|
-
return /* @__PURE__ */
|
|
6479
|
-
/* @__PURE__ */
|
|
6480
|
-
/* @__PURE__ */
|
|
6481
|
-
/* @__PURE__ */
|
|
6482
|
-
!!(r != null && r.baseUrl) && /* @__PURE__ */
|
|
6483
|
-
/* @__PURE__ */
|
|
6484
|
-
/* @__PURE__ */
|
|
6473
|
+
const { tree: e, treeModalOpen: t, treePath: n, backendConfig: r } = Ie(), { handleCloseTreeModal: o } = Es(), { getTitleModalMutation: a, closeModal: s, getTitleModalDelete: c, isModalMutationOpen: u, isDeleteModal: d } = Mp(), f = (b = n == null ? void 0 : n.at(-1)) == null ? void 0 : b.path, g = (y = n == null ? void 0 : n.at(-1)) == null ? void 0 : y.label, p = e && Ct(e, f);
|
|
6474
|
+
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
6475
|
+
/* @__PURE__ */ l.jsxs(af, { children: [
|
|
6476
|
+
/* @__PURE__ */ l.jsx(rf, { children: /* @__PURE__ */ l.jsxs(Te, { justifyContent: "space-between", direction: "row", alignItems: "center", children: [
|
|
6477
|
+
/* @__PURE__ */ l.jsx(li, {}),
|
|
6478
|
+
!!(r != null && r.baseUrl) && /* @__PURE__ */ l.jsxs(Te, { direction: "row", alignItems: "center", spacing: 2, children: [
|
|
6479
|
+
/* @__PURE__ */ l.jsx(Tp, {}),
|
|
6480
|
+
/* @__PURE__ */ l.jsx(hs, { size: "small", arrowOnly: !0, showBtnAddNewTree: !0, fetchWorkflowsOnOpen: !0 })
|
|
6485
6481
|
] })
|
|
6486
6482
|
] }) }),
|
|
6487
|
-
/* @__PURE__ */
|
|
6488
|
-
/* @__PURE__ */
|
|
6489
|
-
/* @__PURE__ */
|
|
6483
|
+
/* @__PURE__ */ l.jsx(of, { children: /* @__PURE__ */ l.jsx(lo, { data: e, renderCustomNodeElement: ia }) }),
|
|
6484
|
+
/* @__PURE__ */ l.jsx(cf, { children: /* @__PURE__ */ l.jsx(mi, { value: e }) }),
|
|
6485
|
+
/* @__PURE__ */ l.jsx(ef, { children: /* @__PURE__ */ l.jsx(Qd, { value: e }) })
|
|
6490
6486
|
] }),
|
|
6491
|
-
/* @__PURE__ */
|
|
6492
|
-
/* @__PURE__ */
|
|
6493
|
-
/* @__PURE__ */
|
|
6487
|
+
/* @__PURE__ */ l.jsx(ea, { open: u, onClose: s, title: a(), children: /* @__PURE__ */ l.jsx(wf, { onClose: s }) }),
|
|
6488
|
+
/* @__PURE__ */ l.jsx(ea, { open: d, onClose: s, title: c(), children: /* @__PURE__ */ l.jsx(uf, { onClose: s }) }),
|
|
6489
|
+
/* @__PURE__ */ l.jsx(Xd, { open: t, onClose: o, title: g, children: p && /* @__PURE__ */ l.jsx(lo, { data: p, renderCustomNodeElement: ia }) })
|
|
6494
6490
|
] });
|
|
6495
|
-
}, Np = "0.11.
|
|
6496
|
-
const [o, a] = ye(Be.currentHierarchyPointNode), [s,
|
|
6491
|
+
}, Np = "0.11.3", Dp = ({ children: e, initialTree: t, initialTreeId: n, backendConfig: r }) => {
|
|
6492
|
+
const [o, a] = ye(Be.currentHierarchyPointNode), [s, c] = ye(Be.modalOpen), [u, d] = ye(Be.treeModalOpen), [f, g] = ye(Be.treePath), [p, b] = da(Yd, t || Be.tree), [y, h] = ye(
|
|
6497
6493
|
n ? { ...Be.currentTree, id: n } : Be.currentTree
|
|
6498
6494
|
), m = Zt(
|
|
6499
6495
|
() => {
|
|
@@ -6514,7 +6510,7 @@ const De = {
|
|
|
6514
6510
|
modalOpen: s,
|
|
6515
6511
|
setCurrentHierarchyPointNode: a,
|
|
6516
6512
|
setCurrentTree: h,
|
|
6517
|
-
setModalOpen:
|
|
6513
|
+
setModalOpen: c,
|
|
6518
6514
|
setTreeModalOpen: d,
|
|
6519
6515
|
setTreePath: g,
|
|
6520
6516
|
tree: p,
|
|
@@ -6530,7 +6526,7 @@ const De = {
|
|
|
6530
6526
|
onSuccess: async (M) => {
|
|
6531
6527
|
M && (h({ id: M == null ? void 0 : M.id, name: M == null ? void 0 : M.label }), b(us((M == null ? void 0 : M.workflow) || null)));
|
|
6532
6528
|
}
|
|
6533
|
-
}), /* @__PURE__ */
|
|
6529
|
+
}), /* @__PURE__ */ l.jsx(Na.Provider, { value: m, children: e });
|
|
6534
6530
|
}, Ep = {
|
|
6535
6531
|
close: "Close",
|
|
6536
6532
|
createTree: "Create Tree",
|
|
@@ -6686,7 +6682,7 @@ Qt.on("languageChanged", (e) => {
|
|
|
6686
6682
|
});
|
|
6687
6683
|
const Vp = ({ initialTree: e, initialTreeId: t, backendConfig: n }) => (Ss(() => {
|
|
6688
6684
|
Ot.defaults.baseURL = n == null ? void 0 : n.baseUrl, n != null && n.authToken && (Ot.defaults.headers.common.Authorization = `Bearer ${n == null ? void 0 : n.authToken}`);
|
|
6689
|
-
}, [n == null ? void 0 : n.authToken, n == null ? void 0 : n.baseUrl]), /* @__PURE__ */
|
|
6685
|
+
}, [n == null ? void 0 : n.authToken, n == null ? void 0 : n.baseUrl]), /* @__PURE__ */ l.jsx(ws, { client: ei, children: /* @__PURE__ */ l.jsx(ni, { authToken: n == null ? void 0 : n.authToken, children: /* @__PURE__ */ l.jsx(Dp, { backendConfig: n, initialTree: e, initialTreeId: t, children: /* @__PURE__ */ l.jsx(Hs, { children: /* @__PURE__ */ l.jsx(ii, { children: /* @__PURE__ */ l.jsx(jp, {}) }) }) }) }) }));
|
|
6690
6686
|
export {
|
|
6691
6687
|
di as TreePlusIcon,
|
|
6692
6688
|
Vp as Treege
|