@elyx-code/project-logic-tree 0.0.6466 → 0.0.6467
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +131 -131
- package/dist/index.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -145,7 +145,7 @@ const Kn = [
|
|
|
145
145
|
], ur = [
|
|
146
146
|
...MI,
|
|
147
147
|
f.InternalCall
|
|
148
|
-
],
|
|
148
|
+
], gt = [
|
|
149
149
|
f.FunctionDeclaration,
|
|
150
150
|
...jd
|
|
151
151
|
], Hi = [
|
|
@@ -160,15 +160,15 @@ const Kn = [
|
|
|
160
160
|
f.ContinueStatement
|
|
161
161
|
], Bi = [
|
|
162
162
|
...ur,
|
|
163
|
-
...
|
|
163
|
+
...gt
|
|
164
164
|
], j5e = [
|
|
165
165
|
...MI,
|
|
166
|
-
...
|
|
167
|
-
], R$ = [...Hi, ...
|
|
166
|
+
...gt
|
|
167
|
+
], R$ = [...Hi, ...gt], N_t = [
|
|
168
168
|
..._$,
|
|
169
|
-
...
|
|
169
|
+
...gt
|
|
170
170
|
], Lr = [
|
|
171
|
-
...
|
|
171
|
+
...gt,
|
|
172
172
|
f.Loop
|
|
173
173
|
], yr = [
|
|
174
174
|
f.ReturnStatement,
|
|
@@ -29863,7 +29863,7 @@ const $t = class $t extends Or {
|
|
|
29863
29863
|
const v = a.get(
|
|
29864
29864
|
Z(o.parent)
|
|
29865
29865
|
);
|
|
29866
|
-
if (v &&
|
|
29866
|
+
if (v && gt.includes(v.type)) {
|
|
29867
29867
|
const E = v.implements;
|
|
29868
29868
|
if (E) {
|
|
29869
29869
|
const w = E.inputs.find(
|
|
@@ -30864,7 +30864,7 @@ g($t, "repository", {
|
|
|
30864
30864
|
},
|
|
30865
30865
|
APILoad: async (i, ...a) => null,
|
|
30866
30866
|
APILoadVersion: async (i, a, ...o) => null
|
|
30867
|
-
}), g($t, "type", f.ArgumentDeclaration), g($t, "USER_MANAGED_PARENT_TYPES", [...
|
|
30867
|
+
}), g($t, "type", f.ArgumentDeclaration), g($t, "USER_MANAGED_PARENT_TYPES", [...gt]), g($t, "PARENT_TYPES", [
|
|
30868
30868
|
...$t.USER_MANAGED_PARENT_TYPES
|
|
30869
30869
|
]), g($t, "MUTABLE_BASE_PROPERTIES", [
|
|
30870
30870
|
"name",
|
|
@@ -35909,7 +35909,7 @@ ${c$}`
|
|
|
35909
35909
|
}
|
|
35910
35910
|
} else if (w && w.type === f.ReturnStatement) {
|
|
35911
35911
|
const A = w.parent;
|
|
35912
|
-
if (A &&
|
|
35912
|
+
if (A && gt.includes(A.type)) {
|
|
35913
35913
|
const O = A.implements;
|
|
35914
35914
|
if (O) {
|
|
35915
35915
|
const N = O.outputs.find(
|
|
@@ -43368,10 +43368,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
43368
43368
|
}
|
|
43369
43369
|
// The return statements, don't belong to the loop itself, but to the parent scope entity
|
|
43370
43370
|
addReturnStatement(i) {
|
|
43371
|
-
return
|
|
43371
|
+
return gt.includes(this.parent.type) && this.parent.addReturnStatement(i), this;
|
|
43372
43372
|
}
|
|
43373
43373
|
removeReturnStatement(i) {
|
|
43374
|
-
return
|
|
43374
|
+
return gt.includes(this.parent.type) && this.parent.removeReturnStatement(i), this;
|
|
43375
43375
|
}
|
|
43376
43376
|
addBreakStatement(i) {
|
|
43377
43377
|
return this.breakStatements.includes(i) || this.breakStatements.push(i), this;
|
|
@@ -61532,15 +61532,15 @@ const vd = Ni, IT = Yp, Ed = oM, L = ir, Un = En, $ = ym, li = mm, QC = vm, D =
|
|
|
61532
61532
|
return t;
|
|
61533
61533
|
}
|
|
61534
61534
|
function J1() {
|
|
61535
|
-
var t, n, s, l, c, h, T, R, U, X, pe, Pe, Fe,
|
|
61535
|
+
var t, n, s, l, c, h, T, R, U, X, pe, Pe, Fe, Dt, Vr, md;
|
|
61536
61536
|
if (t = r, n = r, m++, s = Ne(), m--, s !== e ? (r = n, n = void 0) : n = e, n === e && (n = r, m++, s = Ye(), m--, s !== e ? (r = n, n = void 0) : n = e, n === e && (n = r, m++, s = Re(), m--, s !== e ? (r = n, n = void 0) : n = e)), n !== e)
|
|
61537
61537
|
if (s = r, l = Ci(), l !== e ? (c = I(), l = [l, c], s = l) : (r = s, s = e), s !== e)
|
|
61538
61538
|
if (l = r, c = Si(), c !== e ? (h = I(), T = Os(), T !== e ? (R = I(), c = [c, h, T, R], l = c) : (r = l, l = e)) : (r = l, l = e), l === e && (l = null), c = r, h = W1(), h !== e ? (T = I(), h = [h, T], c = h) : (r = c, c = e), c === e && (c = null), h = r, T = ds(), T !== e ? (R = I(), T = [T, R], h = T) : (r = h, h = e), h !== e)
|
|
61539
61539
|
if (T = r, R = ws(), R !== e ? (U = I(), R = [R, U], T = R) : (r = T, T = e), T === e && (T = null), R = r, U = Ue(), U !== e ? (X = I(), U = [U, X], R = U) : (r = R, R = e), R === e && (R = null), U = r, X = _r(), X !== e ? (pe = I(), X = [X, pe], U = X) : (r = U, U = e), U !== e)
|
|
61540
61540
|
if (X = r, pe = Ue(), pe !== e ? (Pe = I(), pe = [pe, Pe], X = pe) : (r = X, X = e), X !== e)
|
|
61541
61541
|
if (pe = Nu(), pe === e && (pe = oBe()), pe !== e) {
|
|
61542
|
-
for (Pe = [], Fe = r,
|
|
61543
|
-
Pe.push(Fe), Fe = r,
|
|
61542
|
+
for (Pe = [], Fe = r, Dt = I(), Vr = jf(), Vr !== e ? (Dt = [Dt, Vr], Fe = Dt) : (r = Fe, Fe = e); Fe !== e; )
|
|
61543
|
+
Pe.push(Fe), Fe = r, Dt = I(), Vr = jf(), Vr !== e ? (Dt = [Dt, Vr], Fe = Dt) : (r = Fe, Fe = e);
|
|
61544
61544
|
b = t, t = Mse(s, l, c, h, T, R, U, X, pe, Pe);
|
|
61545
61545
|
} else
|
|
61546
61546
|
r = t, t = e;
|
|
@@ -61561,8 +61561,8 @@ const vd = Ni, IT = Yp, Ed = oM, L = ir, Un = En, $ = ym, li = mm, QC = vm, D =
|
|
|
61561
61561
|
if (h = r, T = Ku(), T !== e ? (R = I(), T = [T, R], h = T) : (r = h, h = e), h === e && (h = null), T = r, R = ws(), R !== e ? (U = I(), R = [R, U], T = R) : (r = T, T = e), T === e && (T = null), R = r, U = Ue(), U !== e ? (X = I(), U = [U, X], R = U) : (r = R, R = e), R === e && (R = null), U = r, X = _r(), X !== e ? (pe = I(), X = [X, pe], U = X) : (r = U, U = e), U !== e)
|
|
61562
61562
|
if (X = r, pe = A1(), pe === e && (pe = Ue()), pe !== e ? (Pe = I(), pe = [pe, Pe], X = pe) : (r = X, X = e), X !== e)
|
|
61563
61563
|
if (pe = r, Pe = Gf(), Pe !== e ? (Fe = I(), Pe = [Pe, Fe], pe = Pe) : (r = pe, pe = e), pe === e && (pe = null), Pe = Nu(), Pe !== e) {
|
|
61564
|
-
for (Fe = [],
|
|
61565
|
-
Fe.push(
|
|
61564
|
+
for (Fe = [], Dt = r, Vr = I(), md = jf(), md !== e ? (Vr = [Vr, md], Dt = Vr) : (r = Dt, Dt = e); Dt !== e; )
|
|
61565
|
+
Fe.push(Dt), Dt = r, Vr = I(), md = jf(), md !== e ? (Vr = [Vr, md], Dt = Vr) : (r = Dt, Dt = e);
|
|
61566
61566
|
b = t, t = Bse(s, l, c, h, T, R, U, X, pe, Pe, Fe);
|
|
61567
61567
|
} else
|
|
61568
61568
|
r = t, t = e;
|
|
@@ -61639,12 +61639,12 @@ const vd = Ni, IT = Yp, Ed = oM, L = ir, Un = En, $ = ym, li = mm, QC = vm, D =
|
|
|
61639
61639
|
return t = r, n = _5e(), n !== e ? (s = r, l = I(), c = mh(), c !== e ? (l = [l, c], s = l) : (r = s, s = e), s === e && (s = null), b = t, t = sne(n, s)) : (r = t, t = e), t;
|
|
61640
61640
|
}
|
|
61641
61641
|
function z1() {
|
|
61642
|
-
var t, n, s, l, c, h, T, R, U, X, pe, Pe, Fe,
|
|
61642
|
+
var t, n, s, l, c, h, T, R, U, X, pe, Pe, Fe, Dt, Vr;
|
|
61643
61643
|
if (t = r, n = Ci(), n !== e)
|
|
61644
61644
|
if (s = r, l = I(), c = Si(), c !== e ? (h = I(), T = Os(), T !== e ? (l = [l, c, h, T], s = l) : (r = s, s = e)) : (r = s, s = e), s === e && (s = null), l = r, c = I(), h = J0(), h !== e ? (c = [c, h], l = c) : (r = l, l = e), l === e && (l = null), c = r, h = I(), T = mi(), T !== e ? (h = [h, T], c = h) : (r = c, c = e), c !== e)
|
|
61645
61645
|
if (h = r, T = I(), R = ws(), R !== e ? (T = [T, R], h = T) : (r = h, h = e), h === e && (h = null), T = r, R = I(), U = Ue(), U !== e ? (R = [R, U], T = R) : (r = T, T = e), T !== e) {
|
|
61646
|
-
for (R = r, U = I(), X = xNe(), X !== e ? (U = [U, X], R = U) : (r = R, R = e), R === e && (R = null), U = r, X = I(), pe = MNe(), pe !== e ? (X = [X, pe], U = X) : (r = U, U = e), U === e && (U = null), X = r, pe = I(), Pe = k4e(), Pe !== e ? (pe = [pe, Pe], X = pe) : (r = X, X = e), X === e && (X = null), pe = r, Pe = I(), Fe = Mxe(), Fe !== e ? (Pe = [Pe, Fe], pe = Pe) : (r = pe, pe = e), pe === e && (pe = null), Pe = [], Fe = r,
|
|
61647
|
-
Pe.push(Fe), Fe = r,
|
|
61646
|
+
for (R = r, U = I(), X = xNe(), X !== e ? (U = [U, X], R = U) : (r = R, R = e), R === e && (R = null), U = r, X = I(), pe = MNe(), pe !== e ? (X = [X, pe], U = X) : (r = U, U = e), U === e && (U = null), X = r, pe = I(), Pe = k4e(), Pe !== e ? (pe = [pe, Pe], X = pe) : (r = X, X = e), X === e && (X = null), pe = r, Pe = I(), Fe = Mxe(), Fe !== e ? (Pe = [Pe, Fe], pe = Pe) : (r = pe, pe = e), pe === e && (pe = null), Pe = [], Fe = r, Dt = I(), Vr = Y1(), Vr !== e ? (Dt = [Dt, Vr], Fe = Dt) : (r = Fe, Fe = e); Fe !== e; )
|
|
61647
|
+
Pe.push(Fe), Fe = r, Dt = I(), Vr = Y1(), Vr !== e ? (Dt = [Dt, Vr], Fe = Dt) : (r = Fe, Fe = e);
|
|
61648
61648
|
b = t, t = nne(n, s, l, c, h, T, R, U, X, pe, Pe);
|
|
61649
61649
|
} else
|
|
61650
61650
|
r = t, t = e;
|
|
@@ -62190,14 +62190,14 @@ const vd = Ni, IT = Yp, Ed = oM, L = ir, Un = En, $ = ym, li = mm, QC = vm, D =
|
|
|
62190
62190
|
return t = r, n = Ue(), n !== e ? (s = r, l = I(), c = ri(), c !== e ? (h = I(), l = [l, c, h], s = l) : (r = s, s = e), s !== e ? (l = Ue(), l !== e ? (b = t, t = Coe(n, s, l)) : (r = t, t = e)) : (r = t, t = e)) : (r = t, t = e), t;
|
|
62191
62191
|
}
|
|
62192
62192
|
function Zf() {
|
|
62193
|
-
var t, n, s, l, c, h, T, R, U, X, pe, Pe, Fe,
|
|
62193
|
+
var t, n, s, l, c, h, T, R, U, X, pe, Pe, Fe, Dt;
|
|
62194
62194
|
if (t = r, n = r, s = Ci(), s !== e ? (l = I(), s = [s, l], n = s) : (r = n, n = e), n !== e)
|
|
62195
62195
|
if (s = r, l = Si(), l !== e ? (c = I(), h = Os(), h !== e ? (T = I(), l = [l, c, h, T], s = l) : (r = s, s = e)) : (r = s, s = e), s === e && (s = null), l = r, c = zVe(), c !== e ? (h = I(), c = [c, h], l = c) : (r = l, l = e), l === e && (l = null), c = r, h = yd(), h !== e ? (T = I(), h = [h, T], c = h) : (r = c, c = e), c !== e)
|
|
62196
62196
|
if (h = r, T = ws(), T !== e ? (R = I(), T = [T, R], h = T) : (r = h, h = e), h === e && (h = null), T = r, R = Ue(), R !== e ? (U = I(), R = [R, U], T = R) : (r = T, T = e), T !== e)
|
|
62197
62197
|
if (R = r, U = Kg(), U !== e ? (X = I(), U = [U, X], R = U) : (r = R, R = e), R === e && (R = r, U = Mg(), U !== e ? (X = I(), U = [U, X], R = U) : (r = R, R = e), R === e && (R = r, U = sGe(), U !== e ? (X = I(), pe = Hs(), pe !== e ? (Pe = I(), U = [U, X, pe, Pe], R = U) : (r = R, R = e)) : (r = R, R = e))), R === e && (R = null), U = r, X = YVe(), X !== e ? (pe = I(), X = [X, pe], U = X) : (r = U, U = e), U !== e)
|
|
62198
62198
|
if (X = r, pe = nv(), pe !== e ? (Pe = I(), pe = [pe, Pe], X = pe) : (r = X, X = e), X !== e) {
|
|
62199
|
-
for (pe = [], Pe = r, Fe = I_(), Fe !== e ? (
|
|
62200
|
-
pe.push(Pe), Pe = r, Fe = I_(), Fe !== e ? (
|
|
62199
|
+
for (pe = [], Pe = r, Fe = I_(), Fe !== e ? (Dt = I(), Fe = [Fe, Dt], Pe = Fe) : (r = Pe, Pe = e); Pe !== e; )
|
|
62200
|
+
pe.push(Pe), Pe = r, Fe = I_(), Fe !== e ? (Dt = I(), Fe = [Fe, Dt], Pe = Fe) : (r = Pe, Pe = e);
|
|
62201
62201
|
Pe = i2e(), Pe !== e ? (b = t, t = Ooe(n, s, l, c, h, T, R, U, X, pe, Pe)) : (r = t, t = e);
|
|
62202
62202
|
} else
|
|
62203
62203
|
r = t, t = e;
|
|
@@ -62343,15 +62343,15 @@ const vd = Ni, IT = Yp, Ed = oM, L = ir, Un = En, $ = ym, li = mm, QC = vm, D =
|
|
|
62343
62343
|
return t = Fa(), t === e && (t = r, n = td(), n !== e ? (s = r, m++, l = Ne(), m--, l !== e ? (r = s, s = void 0) : s = e, s !== e ? (b = t, t = ole(n)) : (r = t, t = e)) : (r = t, t = e)), t;
|
|
62344
62344
|
}
|
|
62345
62345
|
function __() {
|
|
62346
|
-
var t, n, s, l, c, h, T, R, U, X, pe, Pe, Fe,
|
|
62346
|
+
var t, n, s, l, c, h, T, R, U, X, pe, Pe, Fe, Dt;
|
|
62347
62347
|
if (t = r, n = r, m++, s = Re(), m--, s !== e ? (r = n, n = void 0) : n = e, n !== e)
|
|
62348
62348
|
if (s = r, l = Ci(), l !== e ? (c = I(), l = [l, c], s = l) : (r = s, s = e), s !== e)
|
|
62349
62349
|
if (l = r, c = Si(), c !== e ? (h = I(), T = Os(), T !== e ? (R = I(), c = [c, h, T, R], l = c) : (r = l, l = e)) : (r = l, l = e), l === e && (l = null), c = r, h = Lo(), h === e && (h = Vo()), h !== e ? (T = I(), h = [h, T], c = h) : (r = c, c = e), c === e && (c = null), h = r, T = mi(), T !== e ? (R = I(), T = [T, R], h = T) : (r = h, h = e), h === e && (h = null), T = r, R = rd(), R !== e ? (U = I(), R = [R, U], T = R) : (r = T, T = e), T !== e)
|
|
62350
62350
|
if (R = r, U = ws(), U !== e ? (X = I(), U = [U, X], R = U) : (r = R, R = e), R === e && (R = null), U = r, X = Ue(), X !== e ? (pe = I(), X = [X, pe], U = X) : (r = U, U = e), U !== e)
|
|
62351
62351
|
if (X = Wl(), X === e && (X = Js()), X !== e) {
|
|
62352
|
-
if (pe = [], Pe = r, Fe = I(),
|
|
62352
|
+
if (pe = [], Pe = r, Fe = I(), Dt = Jf(), Dt !== e ? (Fe = [Fe, Dt], Pe = Fe) : (r = Pe, Pe = e), Pe !== e)
|
|
62353
62353
|
for (; Pe !== e; )
|
|
62354
|
-
pe.push(Pe), Pe = r, Fe = I(),
|
|
62354
|
+
pe.push(Pe), Pe = r, Fe = I(), Dt = Jf(), Dt !== e ? (Fe = [Fe, Dt], Pe = Fe) : (r = Pe, Pe = e);
|
|
62355
62355
|
else
|
|
62356
62356
|
pe = e;
|
|
62357
62357
|
pe !== e ? (b = t, t = lle(s, l, c, h, T, R, U, X, pe)) : (r = t, t = e);
|
|
@@ -64021,8 +64021,8 @@ const vd = Ni, IT = Yp, Ed = oM, L = ir, Un = En, $ = ym, li = mm, QC = vm, D =
|
|
|
64021
64021
|
return t = r, n = as(), n !== e ? (s = r, l = I(), c = MMe(), c !== e ? (l = [l, c], s = l) : (r = s, s = e), s === e && (s = null), b = t, t = eye(n, s)) : (r = t, t = e), t;
|
|
64022
64022
|
}
|
|
64023
64023
|
function MMe() {
|
|
64024
|
-
var t, n, s, l, c, h, T, R, U, X, pe, Pe, Fe,
|
|
64025
|
-
return t = r, n = r, s = Hr(), s !== e ? (l = I(), c = jE(), c !== e ? (h = I(), T = jh(), T !== e ? (R = I(), U = Kh(), U !== e ? (X = I(), pe = Nr(), pe !== e ? (Pe = I(), Fe = WE(), Fe !== e ? (
|
|
64024
|
+
var t, n, s, l, c, h, T, R, U, X, pe, Pe, Fe, Dt, Vr;
|
|
64025
|
+
return t = r, n = r, s = Hr(), s !== e ? (l = I(), c = jE(), c !== e ? (h = I(), T = jh(), T !== e ? (R = I(), U = Kh(), U !== e ? (X = I(), pe = Nr(), pe !== e ? (Pe = I(), Fe = WE(), Fe !== e ? (Dt = I(), Vr = yD(), Vr !== e ? (s = [s, l, c, h, T, R, U, X, pe, Pe, Fe, Dt, Vr], n = s) : (r = n, n = e)) : (r = n, n = e)) : (r = n, n = e)) : (r = n, n = e)) : (r = n, n = e)) : (r = n, n = e)) : (r = n, n = e), n === e && (n = r, s = Hr(), s !== e ? (l = I(), c = jE(), c !== e ? (h = I(), T = jh(), T !== e ? (R = I(), U = Kh(), U !== e ? (s = [s, l, c, h, T, R, U], n = s) : (r = n, n = e)) : (r = n, n = e)) : (r = n, n = e)) : (r = n, n = e), n === e && (n = r, s = Hr(), s !== e ? (l = I(), c = Wg(), c !== e ? (h = I(), T = Kh(), T !== e ? (s = [s, l, c, h, T], n = s) : (r = n, n = e)) : (r = n, n = e)) : (r = n, n = e), n === e && (n = r, s = Nr(), s !== e ? (l = I(), c = WE(), c !== e ? (h = I(), T = yD(), T !== e ? (s = [s, l, c, h, T], n = s) : (r = n, n = e)) : (r = n, n = e)) : (r = n, n = e)))), n !== e && (b = t, n = tye(n)), t = n, t;
|
|
64026
64026
|
}
|
|
64027
64027
|
function as() {
|
|
64028
64028
|
var t, n, s;
|
|
@@ -87106,10 +87106,10 @@ const jIt = (d) => {
|
|
|
87106
87106
|
asap: KIt,
|
|
87107
87107
|
isIterable: kIt
|
|
87108
87108
|
};
|
|
87109
|
-
function
|
|
87109
|
+
function Ot(d, u, i, a, o) {
|
|
87110
87110
|
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = d, this.name = "AxiosError", u && (this.code = u), i && (this.config = i), a && (this.request = a), o && (this.response = o, this.status = o.status ? o.status : null);
|
|
87111
87111
|
}
|
|
87112
|
-
Ee.inherits(
|
|
87112
|
+
Ee.inherits(Ot, Error, {
|
|
87113
87113
|
toJSON: function() {
|
|
87114
87114
|
return {
|
|
87115
87115
|
// Standard
|
|
@@ -87130,7 +87130,7 @@ Ee.inherits(Ct, Error, {
|
|
|
87130
87130
|
};
|
|
87131
87131
|
}
|
|
87132
87132
|
});
|
|
87133
|
-
const j4 =
|
|
87133
|
+
const j4 = Ot.prototype, G4 = {};
|
|
87134
87134
|
[
|
|
87135
87135
|
"ERR_BAD_OPTION_VALUE",
|
|
87136
87136
|
"ERR_BAD_OPTION",
|
|
@@ -87148,13 +87148,13 @@ const j4 = Ct.prototype, G4 = {};
|
|
|
87148
87148
|
].forEach((d) => {
|
|
87149
87149
|
G4[d] = { value: d };
|
|
87150
87150
|
});
|
|
87151
|
-
Object.defineProperties(
|
|
87151
|
+
Object.defineProperties(Ot, G4);
|
|
87152
87152
|
Object.defineProperty(j4, "isAxiosError", { value: !0 });
|
|
87153
|
-
|
|
87153
|
+
Ot.from = (d, u, i, a, o, p) => {
|
|
87154
87154
|
const e = Object.create(j4);
|
|
87155
87155
|
return Ee.toFlatObject(d, e, function(v) {
|
|
87156
87156
|
return v !== Error.prototype;
|
|
87157
|
-
}, (y) => y !== "isAxiosError"),
|
|
87157
|
+
}, (y) => y !== "isAxiosError"), Ot.call(e, d.message, u, i, a, o), e.cause = d, e.name = d.name, p && Object.assign(e, p), e;
|
|
87158
87158
|
};
|
|
87159
87159
|
const SIt = null;
|
|
87160
87160
|
function yI(d) {
|
|
@@ -87193,7 +87193,7 @@ function Lm(d, u, i) {
|
|
|
87193
87193
|
if (Ee.isDate(M))
|
|
87194
87194
|
return M.toISOString();
|
|
87195
87195
|
if (!v && Ee.isBlob(M))
|
|
87196
|
-
throw new
|
|
87196
|
+
throw new Ot("Blob is not supported. Use a Buffer instead.");
|
|
87197
87197
|
return Ee.isArrayBuffer(M) || Ee.isTypedArray(M) ? v && typeof Blob == "function" ? new Blob([M]) : Buffer.from(M) : M;
|
|
87198
87198
|
}
|
|
87199
87199
|
function w(M, G, K) {
|
|
@@ -87444,7 +87444,7 @@ const ew = {
|
|
|
87444
87444
|
return JSON.parse(u);
|
|
87445
87445
|
} catch (y) {
|
|
87446
87446
|
if (e)
|
|
87447
|
-
throw y.name === "SyntaxError" ?
|
|
87447
|
+
throw y.name === "SyntaxError" ? Ot.from(y, Ot.ERR_BAD_RESPONSE, this, null, this.response) : y;
|
|
87448
87448
|
}
|
|
87449
87449
|
}
|
|
87450
87450
|
return u;
|
|
@@ -87688,16 +87688,16 @@ function Z4(d) {
|
|
|
87688
87688
|
return !!(d && d.__CANCEL__);
|
|
87689
87689
|
}
|
|
87690
87690
|
function uu(d, u, i) {
|
|
87691
|
-
|
|
87691
|
+
Ot.call(this, d ?? "canceled", Ot.ERR_CANCELED, u, i), this.name = "CanceledError";
|
|
87692
87692
|
}
|
|
87693
|
-
Ee.inherits(uu,
|
|
87693
|
+
Ee.inherits(uu, Ot, {
|
|
87694
87694
|
__CANCEL__: !0
|
|
87695
87695
|
});
|
|
87696
87696
|
function J4(d, u, i) {
|
|
87697
87697
|
const a = i.config.validateStatus;
|
|
87698
|
-
!i.status || !a || a(i.status) ? d(i) : u(new
|
|
87698
|
+
!i.status || !a || a(i.status) ? d(i) : u(new Ot(
|
|
87699
87699
|
"Request failed with status code " + i.status,
|
|
87700
|
-
[
|
|
87700
|
+
[Ot.ERR_BAD_REQUEST, Ot.ERR_BAD_RESPONSE][Math.floor(i.status / 100) - 4],
|
|
87701
87701
|
i.config,
|
|
87702
87702
|
i.request,
|
|
87703
87703
|
i
|
|
@@ -87922,15 +87922,15 @@ const H4 = (d) => {
|
|
|
87922
87922
|
"onloadend" in K ? K.onloadend = S : K.onreadystatechange = function() {
|
|
87923
87923
|
!K || K.readyState !== 4 || K.status === 0 && !(K.responseURL && K.responseURL.indexOf("file:") === 0) || setTimeout(S);
|
|
87924
87924
|
}, K.onabort = function() {
|
|
87925
|
-
K && (a(new
|
|
87925
|
+
K && (a(new Ot("Request aborted", Ot.ECONNABORTED, d, K)), K = null);
|
|
87926
87926
|
}, K.onerror = function() {
|
|
87927
|
-
a(new
|
|
87927
|
+
a(new Ot("Network Error", Ot.ERR_NETWORK, d, K)), K = null;
|
|
87928
87928
|
}, K.ontimeout = function() {
|
|
87929
87929
|
let oe = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
|
|
87930
87930
|
const Y = o.transitional || S4;
|
|
87931
|
-
o.timeoutErrorMessage && (oe = o.timeoutErrorMessage), a(new
|
|
87931
|
+
o.timeoutErrorMessage && (oe = o.timeoutErrorMessage), a(new Ot(
|
|
87932
87932
|
oe,
|
|
87933
|
-
Y.clarifyTimeoutError ?
|
|
87933
|
+
Y.clarifyTimeoutError ? Ot.ETIMEDOUT : Ot.ECONNABORTED,
|
|
87934
87934
|
d,
|
|
87935
87935
|
K
|
|
87936
87936
|
)), K = null;
|
|
@@ -87941,7 +87941,7 @@ const H4 = (d) => {
|
|
|
87941
87941
|
}, o.cancelToken && o.cancelToken.subscribe(w), o.signal && (o.signal.aborted ? w() : o.signal.addEventListener("abort", w)));
|
|
87942
87942
|
const se = fAt(o.url);
|
|
87943
87943
|
if (se && Vi.protocols.indexOf(se) === -1) {
|
|
87944
|
-
a(new
|
|
87944
|
+
a(new Ot("Unsupported protocol " + se + ":", Ot.ERR_BAD_REQUEST, d));
|
|
87945
87945
|
return;
|
|
87946
87946
|
}
|
|
87947
87947
|
K.send(p || null);
|
|
@@ -87954,11 +87954,11 @@ const H4 = (d) => {
|
|
|
87954
87954
|
if (!o) {
|
|
87955
87955
|
o = !0, y();
|
|
87956
87956
|
const w = E instanceof Error ? E : this.reason;
|
|
87957
|
-
a.abort(w instanceof
|
|
87957
|
+
a.abort(w instanceof Ot ? w : new uu(w instanceof Error ? w.message : w));
|
|
87958
87958
|
}
|
|
87959
87959
|
};
|
|
87960
87960
|
let e = u && setTimeout(() => {
|
|
87961
|
-
e = null, p(new
|
|
87961
|
+
e = null, p(new Ot(`timeout ${u} of ms exceeded`, Ot.ETIMEDOUT));
|
|
87962
87962
|
}, u);
|
|
87963
87963
|
const y = () => {
|
|
87964
87964
|
d && (e && clearTimeout(e), e = null, d.forEach((E) => {
|
|
@@ -88048,7 +88048,7 @@ const H4 = (d) => {
|
|
|
88048
88048
|
Mm && ((d) => {
|
|
88049
88049
|
["text", "arrayBuffer", "blob", "formData", "stream"].forEach((u) => {
|
|
88050
88050
|
!Ny[u] && (Ny[u] = Ee.isFunction(d[u]) ? (i) => i[u]() : (i, a) => {
|
|
88051
|
-
throw new
|
|
88051
|
+
throw new Ot(`Response type '${u}' is not supported`, Ot.ERR_NOT_SUPPORT, a);
|
|
88052
88052
|
});
|
|
88053
88053
|
});
|
|
88054
88054
|
})(new Response());
|
|
@@ -88148,11 +88148,11 @@ const OAt = async (d) => {
|
|
|
88148
88148
|
});
|
|
88149
88149
|
} catch (S) {
|
|
88150
88150
|
throw G && G(), S && S.name === "TypeError" && /Load failed|fetch/i.test(S.message) ? Object.assign(
|
|
88151
|
-
new
|
|
88151
|
+
new Ot("Network Error", Ot.ERR_NETWORK, d, M),
|
|
88152
88152
|
{
|
|
88153
88153
|
cause: S.cause || S
|
|
88154
88154
|
}
|
|
88155
|
-
) :
|
|
88155
|
+
) : Ot.from(S, S && S.code, d, M);
|
|
88156
88156
|
}
|
|
88157
88157
|
}), EI = {
|
|
88158
88158
|
http: SIt,
|
|
@@ -88178,7 +88178,7 @@ const r$ = (d) => `- ${d}`, NAt = (d) => Ee.isFunction(d) || d === null || d ===
|
|
|
88178
88178
|
i = d[p];
|
|
88179
88179
|
let e;
|
|
88180
88180
|
if (a = i, !NAt(i) && (a = EI[(e = String(i)).toLowerCase()], a === void 0))
|
|
88181
|
-
throw new
|
|
88181
|
+
throw new Ot(`Unknown adapter '${e}'`);
|
|
88182
88182
|
if (a)
|
|
88183
88183
|
break;
|
|
88184
88184
|
o[e || "#" + p] = a;
|
|
@@ -88190,7 +88190,7 @@ const r$ = (d) => `- ${d}`, NAt = (d) => Ee.isFunction(d) || d === null || d ===
|
|
|
88190
88190
|
let e = u ? p.length > 1 ? `since :
|
|
88191
88191
|
` + p.map(r$).join(`
|
|
88192
88192
|
`) : " " + r$(p[0]) : "as no adapter specified";
|
|
88193
|
-
throw new
|
|
88193
|
+
throw new Ot(
|
|
88194
88194
|
"There is no suitable adapter to dispatch the request " + e,
|
|
88195
88195
|
"ERR_NOT_SUPPORT"
|
|
88196
88196
|
);
|
|
@@ -88234,9 +88234,9 @@ Bm.transitional = function(u, i, a) {
|
|
|
88234
88234
|
}
|
|
88235
88235
|
return (p, e, y) => {
|
|
88236
88236
|
if (u === !1)
|
|
88237
|
-
throw new
|
|
88237
|
+
throw new Ot(
|
|
88238
88238
|
o(e, " has been removed" + (i ? " in " + i : "")),
|
|
88239
|
-
|
|
88239
|
+
Ot.ERR_DEPRECATED
|
|
88240
88240
|
);
|
|
88241
88241
|
return i && !s$[e] && (s$[e] = !0, console.warn(
|
|
88242
88242
|
o(
|
|
@@ -88251,7 +88251,7 @@ Bm.spelling = function(u) {
|
|
|
88251
88251
|
};
|
|
88252
88252
|
function VAt(d, u, i) {
|
|
88253
88253
|
if (typeof d != "object")
|
|
88254
|
-
throw new
|
|
88254
|
+
throw new Ot("options must be an object", Ot.ERR_BAD_OPTION_VALUE);
|
|
88255
88255
|
const a = Object.keys(d);
|
|
88256
88256
|
let o = a.length;
|
|
88257
88257
|
for (; o-- > 0; ) {
|
|
@@ -88259,11 +88259,11 @@ function VAt(d, u, i) {
|
|
|
88259
88259
|
if (e) {
|
|
88260
88260
|
const y = d[p], v = y === void 0 || e(y, p, d);
|
|
88261
88261
|
if (v !== !0)
|
|
88262
|
-
throw new
|
|
88262
|
+
throw new Ot("option " + p + " must be " + v, Ot.ERR_BAD_OPTION_VALUE);
|
|
88263
88263
|
continue;
|
|
88264
88264
|
}
|
|
88265
88265
|
if (i !== !0)
|
|
88266
|
-
throw new
|
|
88266
|
+
throw new Ot("Unknown option " + p, Ot.ERR_BAD_OPTION);
|
|
88267
88267
|
}
|
|
88268
88268
|
}
|
|
88269
88269
|
const cy = {
|
|
@@ -88560,7 +88560,7 @@ ui.CancelToken = LAt;
|
|
|
88560
88560
|
ui.isCancel = Z4;
|
|
88561
88561
|
ui.VERSION = Q4;
|
|
88562
88562
|
ui.toFormData = Lm;
|
|
88563
|
-
ui.AxiosError =
|
|
88563
|
+
ui.AxiosError = Ot;
|
|
88564
88564
|
ui.Cancel = ui.CanceledError;
|
|
88565
88565
|
ui.all = function(u) {
|
|
88566
88566
|
return Promise.all(u);
|
|
@@ -92068,7 +92068,7 @@ class Gn extends pp {
|
|
|
92068
92068
|
async schedule(i, a, o) {
|
|
92069
92069
|
if (this.hasExecuted(i))
|
|
92070
92070
|
return null;
|
|
92071
|
-
if (
|
|
92071
|
+
if (gt.includes(i.type))
|
|
92072
92072
|
return this.executeBranch(
|
|
92073
92073
|
i,
|
|
92074
92074
|
o,
|
|
@@ -92091,7 +92091,7 @@ class Gn extends pp {
|
|
|
92091
92091
|
// And returns a resolved list of dynamic values to be used during the execution
|
|
92092
92092
|
mergeExernalValuesWithInternalInputs(i, a) {
|
|
92093
92093
|
const o = [];
|
|
92094
|
-
return [...ur, ...
|
|
92094
|
+
return [...ur, ...gt].includes(
|
|
92095
92095
|
a.type
|
|
92096
92096
|
) ? o.push(
|
|
92097
92097
|
...a.inputs
|
|
@@ -92103,7 +92103,7 @@ class Gn extends pp {
|
|
|
92103
92103
|
);
|
|
92104
92104
|
if (y)
|
|
92105
92105
|
return y;
|
|
92106
|
-
if (!y &&
|
|
92106
|
+
if (!y && gt.includes(a.type) && (y = i.find(
|
|
92107
92107
|
(E) => {
|
|
92108
92108
|
var w;
|
|
92109
92109
|
return ((w = E.valueOwner.declaration) == null ? void 0 : w.id) === e.id;
|
|
@@ -95573,7 +95573,7 @@ class vi {
|
|
|
95573
95573
|
if (f.DefinitionEntity === e.type) {
|
|
95574
95574
|
a.push(e);
|
|
95575
95575
|
return;
|
|
95576
|
-
} else if (
|
|
95576
|
+
} else if (gt.includes(e.type)) {
|
|
95577
95577
|
o.push(e);
|
|
95578
95578
|
return;
|
|
95579
95579
|
}
|
|
@@ -95743,7 +95743,7 @@ class vi {
|
|
|
95743
95743
|
this.parents.forEach((a) => {
|
|
95744
95744
|
a !== this.calculationEntryPoint && a.shiftDownAlone(i);
|
|
95745
95745
|
});
|
|
95746
|
-
} else if ([...
|
|
95746
|
+
} else if ([...gt].includes(this.entity.type) && this.children.length)
|
|
95747
95747
|
this.centerHeaderVerticallyOverCombinedAllChildrenHeaderHeight();
|
|
95748
95748
|
else if (!this.children.length && this.parents.length > 1) {
|
|
95749
95749
|
const i = u.filter(
|
|
@@ -96849,7 +96849,7 @@ function mgt(d, u) {
|
|
|
96849
96849
|
modifiedData: null,
|
|
96850
96850
|
messageAddition: ""
|
|
96851
96851
|
};
|
|
96852
|
-
if (
|
|
96852
|
+
if (gt.includes(u.type) ? d.calls && i.push(
|
|
96853
96853
|
new re({
|
|
96854
96854
|
id: `${u.id}--${k.InvalidInmutablePropertyOverride}`,
|
|
96855
96855
|
message: `Entity of type "${u.type}" with id "${u.id}" cannot have the property "calls" updated.
|
|
@@ -97376,7 +97376,7 @@ All pass-through callable entities are: ${it(
|
|
|
97376
97376
|
", ",
|
|
97377
97377
|
" and "
|
|
97378
97378
|
)}.`, Gm = `Entry point entities are the entities which start the execution of a logic chain. They are ${it(
|
|
97379
|
-
|
|
97379
|
+
gt,
|
|
97380
97380
|
", ",
|
|
97381
97381
|
" and "
|
|
97382
97382
|
)}. They aren't explicitly called by any entities. Rather, they can be called implicitly by the system, or as a function-call somewhere else in the case of a function-declaration. `, awt = `Caller entities are entities that can call other entities. Regarless of whether they are entry-point entities or pass-through callable entities. All caller entity types are: ${it(
|
|
@@ -97471,7 +97471,7 @@ function lwt(d, u) {
|
|
|
97471
97471
|
};
|
|
97472
97472
|
i.calledByEntry ? typeof i.calledByEntry == "string" && (i.calledByEntry = [i.calledByEntry]) : i.calledByEntry = [], i.calledBySuccess ? typeof i.calledBySuccess == "string" && (i.calledBySuccess = [i.calledBySuccess]) : i.calledBySuccess = [], i.calledByError ? typeof i.calledByError == "string" && (i.calledByError = [i.calledByError]) : i.calledByError = [];
|
|
97473
97473
|
const a = [];
|
|
97474
|
-
if (
|
|
97474
|
+
if (gt.includes(u.type))
|
|
97475
97475
|
a.push(
|
|
97476
97476
|
new re({
|
|
97477
97477
|
id: `${d.id}--${u.id}--${k.InvalidReference}`,
|
|
@@ -97539,7 +97539,7 @@ ${sl}`
|
|
|
97539
97539
|
}
|
|
97540
97540
|
function dwt(d, u) {
|
|
97541
97541
|
const i = [];
|
|
97542
|
-
if (
|
|
97542
|
+
if (gt.includes(u.type))
|
|
97543
97543
|
i.push(
|
|
97544
97544
|
new re({
|
|
97545
97545
|
id: `${d.id}--${u.id}--${k.InvalidReference}`,
|
|
@@ -97735,13 +97735,13 @@ function cwt(d, u) {
|
|
|
97735
97735
|
})
|
|
97736
97736
|
);
|
|
97737
97737
|
const e = Mi(a, u);
|
|
97738
|
-
a.type === f.ReturnStatement && e && !
|
|
97738
|
+
a.type === f.ReturnStatement && e && !gt.includes(e.type) ? i.push(
|
|
97739
97739
|
new re({
|
|
97740
97740
|
id: `${a.id}--${k.IncompatibleScope}`,
|
|
97741
97741
|
code: k.IncompatibleScope,
|
|
97742
97742
|
severity: q.Error,
|
|
97743
97743
|
message: `Entity of type "${a.type}" with id "${a.id}" has an explicitly set parent, but it isn't a '${it(
|
|
97744
|
-
|
|
97744
|
+
gt,
|
|
97745
97745
|
"', '",
|
|
97746
97746
|
"' or '"
|
|
97747
97747
|
)}' entity. A return statement's parent should always be resolved to a function declaration or global event.${NT}`
|
|
@@ -98217,7 +98217,7 @@ function Agt(d, u, i = "calledBy") {
|
|
|
98217
98217
|
message: `Entity with id "${d}" referenced in '${i}' property not found in the project. Perhaps it should be created first? Perhaps it is the wrong ID?`
|
|
98218
98218
|
})
|
|
98219
98219
|
), a;
|
|
98220
|
-
if ([...ur, ...
|
|
98220
|
+
if ([...ur, ...gt].includes(o.type))
|
|
98221
98221
|
return [];
|
|
98222
98222
|
if (yr.includes(o.type)) {
|
|
98223
98223
|
const p = o.calledBy || [], e = p.length ? `
|
|
@@ -98300,7 +98300,7 @@ Termination entities are ${it(
|
|
|
98300
98300
|
})
|
|
98301
98301
|
);
|
|
98302
98302
|
} else
|
|
98303
|
-
|
|
98303
|
+
gt.includes(o.type) ? a.push(
|
|
98304
98304
|
new re({
|
|
98305
98305
|
id: `last-action--${o.id}--${k.InvalidReference}`,
|
|
98306
98306
|
code: k.InvalidReference,
|
|
@@ -98923,12 +98923,12 @@ function Dgt(d) {
|
|
|
98923
98923
|
function EB(d) {
|
|
98924
98924
|
var i, a, o, p;
|
|
98925
98925
|
if (d.type !== f.InternalCall) {
|
|
98926
|
-
if (!
|
|
98926
|
+
if (!gt.includes(d.parent.type))
|
|
98927
98927
|
return !1;
|
|
98928
98928
|
const e = d.parent;
|
|
98929
98929
|
return !(!((i = e.implements) != null && i.outputs.length) || !((a = e.implements) != null && a.outputs.some((y) => y.required)));
|
|
98930
98930
|
}
|
|
98931
|
-
if (!
|
|
98931
|
+
if (!gt.includes(d.parent.parent.type))
|
|
98932
98932
|
return !1;
|
|
98933
98933
|
const u = d.parent.parent;
|
|
98934
98934
|
return !(!((o = u.implements) != null && o.outputs.length) || !((p = u.implements) != null && p.outputs.some((e) => e.required)));
|
|
@@ -98957,7 +98957,7 @@ function TB(d) {
|
|
|
98957
98957
|
}
|
|
98958
98958
|
function uo(d) {
|
|
98959
98959
|
const u = [];
|
|
98960
|
-
if (!Hi.includes(d.type) || yr.includes(d.type) ||
|
|
98960
|
+
if (!Hi.includes(d.type) || yr.includes(d.type) || gt.includes(d.type) || !EB(
|
|
98961
98961
|
d
|
|
98962
98962
|
))
|
|
98963
98963
|
return u;
|
|
@@ -101681,7 +101681,7 @@ function Ko(d, u) {
|
|
|
101681
101681
|
return {
|
|
101682
101682
|
list: i.flatMap((e) => {
|
|
101683
101683
|
if (e === u)
|
|
101684
|
-
return a = e,
|
|
101684
|
+
return a = e, gt.includes(e.type) ? e.parent.type === f.Loop ? o = "loop-body" : o = "entry" : e.successCalls.includes(d) ? o = "success" : e.errorCalls.includes(d) && (o = "error"), [e];
|
|
101685
101685
|
if (!Hi.includes(e.type))
|
|
101686
101686
|
return [e];
|
|
101687
101687
|
const y = Ko(
|
|
@@ -101703,7 +101703,7 @@ function xgt(d, u) {
|
|
|
101703
101703
|
(o) => o.callee === u
|
|
101704
101704
|
))
|
|
101705
101705
|
return null;
|
|
101706
|
-
if (
|
|
101706
|
+
if (gt.includes(d.type)) {
|
|
101707
101707
|
if (d.calls.includes(u))
|
|
101708
101708
|
return d.type === f.Loop ? "loop-body" : "entry";
|
|
101709
101709
|
} else if (ur.includes(d.type) && d.type !== f.InternalCall) {
|
|
@@ -101716,7 +101716,7 @@ function xgt(d, u) {
|
|
|
101716
101716
|
}
|
|
101717
101717
|
function yp(d) {
|
|
101718
101718
|
const u = Mi(d, d.project);
|
|
101719
|
-
return u &&
|
|
101719
|
+
return u && gt.includes(u.type) ? u : null;
|
|
101720
101720
|
}
|
|
101721
101721
|
function Awt(d, u) {
|
|
101722
101722
|
const i = d.calledBy;
|
|
@@ -101751,7 +101751,7 @@ function wwt(d, u) {
|
|
|
101751
101751
|
ancestor: null,
|
|
101752
101752
|
callType: null
|
|
101753
101753
|
};
|
|
101754
|
-
if (
|
|
101754
|
+
if (gt.includes(i.type)) {
|
|
101755
101755
|
if (i.calls.includes(d))
|
|
101756
101756
|
return i.type === f.Loop ? {
|
|
101757
101757
|
ancestor: i,
|
|
@@ -101782,7 +101782,7 @@ function wwt(d, u) {
|
|
|
101782
101782
|
};
|
|
101783
101783
|
if (p.length === 1) {
|
|
101784
101784
|
const A = p[0];
|
|
101785
|
-
if (
|
|
101785
|
+
if (gt.includes(A.callee.type))
|
|
101786
101786
|
return A.callee.type === f.Loop ? {
|
|
101787
101787
|
ancestor: A.callee,
|
|
101788
101788
|
callType: "loop-body"
|
|
@@ -101816,8 +101816,8 @@ function wwt(d, u) {
|
|
|
101816
101816
|
);
|
|
101817
101817
|
if (y.length === 0)
|
|
101818
101818
|
return {
|
|
101819
|
-
ancestor:
|
|
101820
|
-
callType:
|
|
101819
|
+
ancestor: i,
|
|
101820
|
+
callType: gt.includes(i.type) ? i.type === f.Loop ? "loop-body" : "entry" : "success"
|
|
101821
101821
|
};
|
|
101822
101822
|
if (y.length > 1)
|
|
101823
101823
|
throw new Error(
|
|
@@ -101852,7 +101852,7 @@ function Mgt(d) {
|
|
|
101852
101852
|
i.map((y) => _B(y)).flatMap((y) => yr.includes(y == null ? void 0 : y.type) ? y.calledBy : [y])
|
|
101853
101853
|
);
|
|
101854
101854
|
if (a.length === 1) {
|
|
101855
|
-
if (
|
|
101855
|
+
if (gt.includes(a[0].type))
|
|
101856
101856
|
return a[0].parent.type === f.Loop ? {
|
|
101857
101857
|
ancestor: a[0],
|
|
101858
101858
|
callType: "loop-body"
|
|
@@ -101876,7 +101876,7 @@ function Mgt(d) {
|
|
|
101876
101876
|
};
|
|
101877
101877
|
}
|
|
101878
101878
|
const o = a.map((y) => {
|
|
101879
|
-
if (
|
|
101879
|
+
if (gt.includes(y.type))
|
|
101880
101880
|
return y.parent.type === f.Loop ? {
|
|
101881
101881
|
ancestor: y,
|
|
101882
101882
|
callType: "loop-body"
|
|
@@ -101912,8 +101912,8 @@ function Mgt(d) {
|
|
|
101912
101912
|
}) : !1);
|
|
101913
101913
|
if (e.length === 0)
|
|
101914
101914
|
return {
|
|
101915
|
-
ancestor:
|
|
101916
|
-
callType: null
|
|
101915
|
+
ancestor: p,
|
|
101916
|
+
callType: (p == null ? void 0 : p.parent.type) === f.Loop ? "loop-body" : "entry"
|
|
101917
101917
|
};
|
|
101918
101918
|
if (e.length > 1)
|
|
101919
101919
|
throw new Error(
|
|
@@ -101935,7 +101935,7 @@ function _wt(d, u) {
|
|
|
101935
101935
|
if (mt(d).includes(u) || !mt(u).includes(d))
|
|
101936
101936
|
return !1;
|
|
101937
101937
|
const o = d.calledBy;
|
|
101938
|
-
return o.length === 0 ? !1 : o.length === 1 ? o[0] === u : bwt(o).length > 1 && o.includes(u) ? !1 : o.every((e) => d === u ? !0 :
|
|
101938
|
+
return o.length === 0 ? !1 : o.length === 1 ? o[0] === u : bwt(o).length > 1 && o.includes(u) ? !1 : o.every((e) => d === u ? !0 : gt.includes(e.type) ? !1 : _wt(
|
|
101939
101939
|
e,
|
|
101940
101940
|
u
|
|
101941
101941
|
));
|
|
@@ -102391,7 +102391,7 @@ function Ly(d) {
|
|
|
102391
102391
|
};
|
|
102392
102392
|
});
|
|
102393
102393
|
}
|
|
102394
|
-
if (
|
|
102394
|
+
if (gt.includes(d.type)) {
|
|
102395
102395
|
const u = [
|
|
102396
102396
|
...Li(d.calls).map(
|
|
102397
102397
|
(o) => d.parent.type === f.Loop ? {
|
|
@@ -102485,7 +102485,7 @@ function nw(d) {
|
|
|
102485
102485
|
...Ya(
|
|
102486
102486
|
d.errorCalls
|
|
102487
102487
|
)
|
|
102488
|
-
] :
|
|
102488
|
+
] : gt.includes(d.type) ? Ya(
|
|
102489
102489
|
d.calls
|
|
102490
102490
|
) : [];
|
|
102491
102491
|
}
|
|
@@ -102533,7 +102533,7 @@ function mt(d) {
|
|
|
102533
102533
|
]) : ur.includes(d.type) ? _([
|
|
102534
102534
|
...Li(d.successCalls),
|
|
102535
102535
|
...Li(d.errorCalls)
|
|
102536
|
-
]) :
|
|
102536
|
+
]) : gt.includes(d.type) ? _(
|
|
102537
102537
|
Li(d.calls)
|
|
102538
102538
|
) : [];
|
|
102539
102539
|
}
|
|
@@ -102541,7 +102541,7 @@ function Sgt(d) {
|
|
|
102541
102541
|
return ur.includes(d.type) ? [
|
|
102542
102542
|
...Li(d.successCalls),
|
|
102543
102543
|
...Li(d.errorCalls)
|
|
102544
|
-
] :
|
|
102544
|
+
] : gt.includes(d.type) ? Li(d.calls) : [];
|
|
102545
102545
|
}
|
|
102546
102546
|
function Mwt(d, u = /* @__PURE__ */ new Set()) {
|
|
102547
102547
|
return d.writesValues.filter(
|
|
@@ -103880,7 +103880,7 @@ function PB(d) {
|
|
|
103880
103880
|
}
|
|
103881
103881
|
function b1t(d) {
|
|
103882
103882
|
if ([
|
|
103883
|
-
...
|
|
103883
|
+
...gt,
|
|
103884
103884
|
f.DefinitionEntity,
|
|
103885
103885
|
f.InstalledProject,
|
|
103886
103886
|
f.Project
|
|
@@ -103893,7 +103893,7 @@ function b1t(d) {
|
|
|
103893
103893
|
}
|
|
103894
103894
|
function NB(d) {
|
|
103895
103895
|
return [
|
|
103896
|
-
...
|
|
103896
|
+
...gt,
|
|
103897
103897
|
f.DefinitionEntity,
|
|
103898
103898
|
f.InstalledProject,
|
|
103899
103899
|
f.Project
|
|
@@ -104002,7 +104002,7 @@ function Mi(d, u, i = null) {
|
|
|
104002
104002
|
return Yr(d, u, p);
|
|
104003
104003
|
if (d.type === f.FunctionDeclaration && (o == null ? void 0 : o.type) === f.Loop)
|
|
104004
104004
|
return o;
|
|
104005
|
-
if (
|
|
104005
|
+
if (gt.includes(d.type))
|
|
104006
104006
|
return d;
|
|
104007
104007
|
if (d.type === f.Loop)
|
|
104008
104008
|
return p.id === d.id ? o : d;
|
|
@@ -104029,7 +104029,7 @@ function Yr(d, u, i = null) {
|
|
|
104029
104029
|
u,
|
|
104030
104030
|
p
|
|
104031
104031
|
);
|
|
104032
|
-
if (
|
|
104032
|
+
if (gt.includes(d.type))
|
|
104033
104033
|
return d;
|
|
104034
104034
|
if (hs.includes(d.type))
|
|
104035
104035
|
return null;
|
|
@@ -105592,7 +105592,7 @@ function A$(d, u) {
|
|
|
105592
105592
|
};
|
|
105593
105593
|
}
|
|
105594
105594
|
var j1t = /* @__PURE__ */ ((d) => (d.PropertyImplements = "property-implements", d.PropertyExtends = "property-extends", d.DataTypeEntity = "data-type-entity", d))(j1t || {});
|
|
105595
|
-
const
|
|
105595
|
+
const Ct = class Ct extends Or {
|
|
105596
105596
|
constructor(i, a) {
|
|
105597
105597
|
super(i);
|
|
105598
105598
|
g(this, "initialData");
|
|
@@ -105928,7 +105928,7 @@ ${_I}`
|
|
|
105928
105928
|
// And adds it to the 'knownVersions' map
|
|
105929
105929
|
captureVersion() {
|
|
105930
105930
|
var a;
|
|
105931
|
-
const i = ((a = this.knownVersions) == null ? void 0 : a.get(this.version)) || new
|
|
105931
|
+
const i = ((a = this.knownVersions) == null ? void 0 : a.get(this.version)) || new Ct(this, this.project);
|
|
105932
105932
|
return i.metaSync(this.toMeta(), null), this.knownVersions = this.knownVersions ? this.knownVersions.set(this.version, i) : /* @__PURE__ */ new Map([[this.version, i]]), i.defaultValue = this.defaultValue, i.dataType = this.dataType, i.implements = this.implements, i.extends = this.extends, i.parent = this.parent, this;
|
|
105933
105933
|
}
|
|
105934
105934
|
// Traverses upstream entities and captures their versions as well
|
|
@@ -105995,7 +105995,7 @@ ${_I}`
|
|
|
105995
105995
|
throw new Error(
|
|
105996
105996
|
`Version with id '${i}' for entity with id '${this.id}' not found.`
|
|
105997
105997
|
);
|
|
105998
|
-
y = new
|
|
105998
|
+
y = new Ct(
|
|
105999
105999
|
E,
|
|
106000
106000
|
this.project
|
|
106001
106001
|
);
|
|
@@ -106260,31 +106260,31 @@ ${_I}`
|
|
|
106260
106260
|
return this.name = i.name !== void 0 ? i.name : p.name, this.codeName = i.codeName !== void 0 ? i.codeName : p.codeName, this.description = i.description !== void 0 ? i.description : p.description, this.abstract = i.abstract !== void 0 ? i.abstract : p.abstract, this.private = i.private !== void 0 ? i.private : p.private, this.index = i.index || (i.index !== 0 ? p.index : 0), this.static = i.static !== void 0 ? i.static : p.static, this.hidden = i.hidden !== void 0 ? i.hidden : p.hidden, this.constant = i.constant !== void 0 ? i.constant : p.constant, this.interactive = i.interactive !== void 0 ? i.interactive : p.interactive, this.required = i.required !== void 0 ? i.required : p.required, super.metaSync(i), i.deleted === !0 && !p.deleted ? a == null || a.add(this, F.Removed) : i.deleted === !1 && p.deleted ? a == null || a.add(this, F.Added) : o && (a == null || a.add(this, F.Updated)), a == null || a.attemptAutoclose("meta-sync", this.id), this;
|
|
106261
106261
|
}
|
|
106262
106262
|
async APILoad(i = me, ...a) {
|
|
106263
|
-
return await
|
|
106263
|
+
return await Ct.repository.APILoad(this.id, ...a), this;
|
|
106264
106264
|
}
|
|
106265
106265
|
async APICreate(i = me, ...a) {
|
|
106266
|
-
return await
|
|
106266
|
+
return await Ct.repository.APICreate(
|
|
106267
106267
|
this.toShallowJSON(),
|
|
106268
106268
|
...a
|
|
106269
106269
|
), this;
|
|
106270
106270
|
}
|
|
106271
106271
|
async APIUpdate(i = me, ...a) {
|
|
106272
|
-
return await
|
|
106272
|
+
return await Ct.repository.APIUpdate(
|
|
106273
106273
|
this.toShallowJSON(),
|
|
106274
106274
|
...a
|
|
106275
106275
|
), this;
|
|
106276
106276
|
}
|
|
106277
106277
|
async APIDelete(i = me, ...a) {
|
|
106278
|
-
return await
|
|
106278
|
+
return await Ct.repository.APIDelete(
|
|
106279
106279
|
this.toShallowJSON(),
|
|
106280
106280
|
...a
|
|
106281
106281
|
), this;
|
|
106282
106282
|
}
|
|
106283
106283
|
async APIClone(i = me, ...a) {
|
|
106284
|
-
return await
|
|
106284
|
+
return await Ct.repository.APIClone(this.id, ...a), this;
|
|
106285
106285
|
}
|
|
106286
106286
|
async APILoadVersion(i = me, a, ...o) {
|
|
106287
|
-
return await
|
|
106287
|
+
return await Ct.repository.APILoadVersion(
|
|
106288
106288
|
this.id,
|
|
106289
106289
|
a,
|
|
106290
106290
|
...o
|
|
@@ -106653,7 +106653,7 @@ ${_I}`
|
|
|
106653
106653
|
"implement-self-as-property"
|
|
106654
106654
|
)
|
|
106655
106655
|
), o = null) {
|
|
106656
|
-
const p = o || P.UUID.uuid(), e =
|
|
106656
|
+
const p = o || P.UUID.uuid(), e = Ct.new(a);
|
|
106657
106657
|
e.id = p, e.name = this.name, e.description = this.description, e.index = this.index, e.private = this.private, e.required = this.required, e.static = this.static, e.constant = this.constant, e.hidden = this.hidden, e.interactive = this.interactive, e.parent = i.toReference(), e.implements = this.toJSON();
|
|
106658
106658
|
const y = ie(
|
|
106659
106659
|
e,
|
|
@@ -106809,7 +106809,7 @@ ${_I}`
|
|
|
106809
106809
|
};
|
|
106810
106810
|
}
|
|
106811
106811
|
};
|
|
106812
|
-
g(
|
|
106812
|
+
g(Ct, "repository", {
|
|
106813
106813
|
APICreate: async (i, ...a) => i,
|
|
106814
106814
|
APIUpdate: async (i, ...a) => i,
|
|
106815
106815
|
APIDelete: async (i, ...a) => i,
|
|
@@ -106817,13 +106817,13 @@ g(Dt, "repository", {
|
|
|
106817
106817
|
},
|
|
106818
106818
|
APILoad: async (i, ...a) => null,
|
|
106819
106819
|
APILoadVersion: async (i, a, ...o) => null
|
|
106820
|
-
}), g(
|
|
106820
|
+
}), g(Ct, "type", f.Property), g(Ct, "USER_MANAGED_PARENT_TYPES", [
|
|
106821
106821
|
f.DefinitionEntity
|
|
106822
|
-
]), g(
|
|
106823
|
-
...
|
|
106822
|
+
]), g(Ct, "PARENT_TYPES", [
|
|
106823
|
+
...Ct.USER_MANAGED_PARENT_TYPES,
|
|
106824
106824
|
f.PrimitiveEntity,
|
|
106825
106825
|
f.BuiltInBaseEntity
|
|
106826
|
-
]), g(
|
|
106826
|
+
]), g(Ct, "MUTABLE_BASE_PROPERTIES", [
|
|
106827
106827
|
"name",
|
|
106828
106828
|
"codeName",
|
|
106829
106829
|
"description",
|
|
@@ -106833,40 +106833,40 @@ g(Dt, "repository", {
|
|
|
106833
106833
|
"required",
|
|
106834
106834
|
"constant",
|
|
106835
106835
|
"interactive"
|
|
106836
|
-
]), g(
|
|
106836
|
+
]), g(Ct, "INMUTABLE_BASE_PROPERTIES", [
|
|
106837
106837
|
"id",
|
|
106838
106838
|
"type",
|
|
106839
106839
|
"version",
|
|
106840
106840
|
"createdAt",
|
|
106841
106841
|
"author",
|
|
106842
106842
|
"previousVersion"
|
|
106843
|
-
]), g(
|
|
106844
|
-
...
|
|
106845
|
-
...
|
|
106843
|
+
]), g(Ct, "BASE_PROPERTIES", [
|
|
106844
|
+
...Ct.MUTABLE_BASE_PROPERTIES,
|
|
106845
|
+
...Ct.INMUTABLE_BASE_PROPERTIES
|
|
106846
106846
|
]), // Includes the base properties and the meta properties
|
|
106847
106847
|
// Often contains properties related to UX, not necessary for the logic
|
|
106848
|
-
g(
|
|
106849
|
-
...
|
|
106848
|
+
g(Ct, "MUTABLE_META_PROPERTIES", [
|
|
106849
|
+
...Ct.MUTABLE_BASE_PROPERTIES,
|
|
106850
106850
|
"index"
|
|
106851
|
-
]), g(
|
|
106852
|
-
...
|
|
106853
|
-
]), g(
|
|
106854
|
-
...
|
|
106855
|
-
...
|
|
106851
|
+
]), g(Ct, "INMUTABLE_META_PROPERTIES", [
|
|
106852
|
+
...Ct.INMUTABLE_BASE_PROPERTIES
|
|
106853
|
+
]), g(Ct, "META_PROPERTIES", [
|
|
106854
|
+
...Ct.MUTABLE_META_PROPERTIES,
|
|
106855
|
+
...Ct.INMUTABLE_META_PROPERTIES
|
|
106856
106856
|
]), // Properties pointing to nested entities that are declared before the entity itself
|
|
106857
|
-
g(
|
|
106858
|
-
...
|
|
106859
|
-
...
|
|
106857
|
+
g(Ct, "MUTABLE_UPSTREAM_PROPERTIES", []), g(Ct, "INMUTABLE_UPSTREAM_PROPERTIES", ["parent", "implements", "extends"]), g(Ct, "UPSTREAM_PROPERTIES", [
|
|
106858
|
+
...Ct.MUTABLE_UPSTREAM_PROPERTIES,
|
|
106859
|
+
...Ct.INMUTABLE_UPSTREAM_PROPERTIES
|
|
106860
106860
|
]), // Properties pointing to nested entities that are declared after the entity itself or are direct children
|
|
106861
|
-
g(
|
|
106862
|
-
...
|
|
106863
|
-
...
|
|
106864
|
-
]), g(
|
|
106865
|
-
...
|
|
106866
|
-
...
|
|
106867
|
-
...
|
|
106861
|
+
g(Ct, "MUTABLE_DOWNSTREAM_PROPERTIES", ["dataType"]), g(Ct, "INMUTABLE_DOWNSTREAM_PROPERTIES", []), g(Ct, "DOWNSTREAM_PROPERTIES", [
|
|
106862
|
+
...Ct.MUTABLE_DOWNSTREAM_PROPERTIES,
|
|
106863
|
+
...Ct.INMUTABLE_DOWNSTREAM_PROPERTIES
|
|
106864
|
+
]), g(Ct, "PROPERTIES", [
|
|
106865
|
+
...Ct.META_PROPERTIES,
|
|
106866
|
+
...Ct.UPSTREAM_PROPERTIES,
|
|
106867
|
+
...Ct.DOWNSTREAM_PROPERTIES
|
|
106868
106868
|
]);
|
|
106869
|
-
let Ta =
|
|
106869
|
+
let Ta = Ct;
|
|
106870
106870
|
function kB(d) {
|
|
106871
106871
|
const u = d.implements.flatMap(
|
|
106872
106872
|
(y) => G1t(d, y)
|
|
@@ -113804,7 +113804,7 @@ export {
|
|
|
113804
113804
|
$_t as ENTITY_WITH_USER_MANAGED_SINGLE_IMPLEMENTS_TYPES,
|
|
113805
113805
|
b$ as ENTITY_WITH_VALUE_TYPES,
|
|
113806
113806
|
Gm as ENTRY_POINT_ENTITIES_EXPLANATION,
|
|
113807
|
-
|
|
113807
|
+
gt as ENTRY_POINT_TYPES,
|
|
113808
113808
|
CT as ERROR_PROPERTY_HEIGHT,
|
|
113809
113809
|
jd as EVENT_TYPES,
|
|
113810
113810
|
R$ as EXECUTABLE_TYPES,
|