@elyx-code/project-logic-tree 0.0.6153 → 0.0.6154
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 +123 -123
- package/dist/index.umd.cjs +42 -42
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -73,14 +73,14 @@ const In = [
|
|
|
73
73
|
], Dl = [
|
|
74
74
|
...xc,
|
|
75
75
|
r.Condition
|
|
76
|
-
],
|
|
76
|
+
], Xe = [
|
|
77
77
|
...Dl,
|
|
78
78
|
r.InternalCall
|
|
79
|
-
],
|
|
79
|
+
], Qe = [
|
|
80
80
|
r.FunctionDeclaration,
|
|
81
81
|
...Ma
|
|
82
82
|
], kr = [
|
|
83
|
-
...
|
|
83
|
+
...Xe,
|
|
84
84
|
r.ReturnStatement,
|
|
85
85
|
r.BreakStatement,
|
|
86
86
|
r.ContinueStatement
|
|
@@ -90,18 +90,18 @@ const In = [
|
|
|
90
90
|
r.BreakStatement,
|
|
91
91
|
r.ContinueStatement
|
|
92
92
|
], Gr = [
|
|
93
|
-
...
|
|
94
|
-
...
|
|
93
|
+
...Xe,
|
|
94
|
+
...Qe
|
|
95
95
|
], av = [
|
|
96
96
|
...Dl,
|
|
97
|
-
...
|
|
98
|
-
], M7 = [...kr, ...
|
|
97
|
+
...Qe
|
|
98
|
+
], M7 = [...kr, ...Qe], B7 = [
|
|
99
99
|
...Lc,
|
|
100
|
-
...
|
|
101
|
-
],
|
|
102
|
-
...
|
|
100
|
+
...Qe
|
|
101
|
+
], ut = [
|
|
102
|
+
...Qe,
|
|
103
103
|
r.Loop
|
|
104
|
-
],
|
|
104
|
+
], Ke = [
|
|
105
105
|
r.ReturnStatement,
|
|
106
106
|
r.BreakStatement,
|
|
107
107
|
r.ContinueStatement
|
|
@@ -23573,8 +23573,8 @@ var l0 = { exports: {} };
|
|
|
23573
23573
|
return le === void 0;
|
|
23574
23574
|
} }, X = "en", ie = {};
|
|
23575
23575
|
ie[X] = Y;
|
|
23576
|
-
var
|
|
23577
|
-
return le instanceof ps || !(!le || !le[
|
|
23576
|
+
var ct = "$isDayjsObject", mt = function(le) {
|
|
23577
|
+
return le instanceof ps || !(!le || !le[ct]);
|
|
23578
23578
|
}, nr = function le(q, U, Q) {
|
|
23579
23579
|
var k;
|
|
23580
23580
|
if (!q)
|
|
@@ -23601,7 +23601,7 @@ var l0 = { exports: {} };
|
|
|
23601
23601
|
};
|
|
23602
23602
|
var ps = function() {
|
|
23603
23603
|
function le(U) {
|
|
23604
|
-
this.$L = nr(U.locale, null, !0), this.parse(U), this.$x = this.$x || U.x || {}, this[
|
|
23604
|
+
this.$L = nr(U.locale, null, !0), this.parse(U), this.$x = this.$x || U.x || {}, this[ct] = !0;
|
|
23605
23605
|
}
|
|
23606
23606
|
var q = le.prototype;
|
|
23607
23607
|
return q.parse = function(U) {
|
|
@@ -28079,7 +28079,7 @@ function Dm(n, s) {
|
|
|
28079
28079
|
const i = Jt(ze(n)).filter(
|
|
28080
28080
|
(a) => a.type === r.VariableDeclaration
|
|
28081
28081
|
);
|
|
28082
|
-
e.push(...i), n.parent && (
|
|
28082
|
+
e.push(...i), n.parent && (ut.includes(n.parent.type) || n.parent.type === r.Project) && e.push(
|
|
28083
28083
|
...Dm(
|
|
28084
28084
|
n.parent
|
|
28085
28085
|
)
|
|
@@ -31382,7 +31382,7 @@ const Te = class Te extends Ye {
|
|
|
31382
31382
|
{
|
|
31383
31383
|
parent: {
|
|
31384
31384
|
list: !1,
|
|
31385
|
-
types: [...
|
|
31385
|
+
types: [...ut, r.Project],
|
|
31386
31386
|
optional: !0
|
|
31387
31387
|
}
|
|
31388
31388
|
// calledByEntry: {
|
|
@@ -32167,7 +32167,7 @@ u(Te, "repository", {
|
|
|
32167
32167
|
},
|
|
32168
32168
|
load: async (e, ...t) => null
|
|
32169
32169
|
}), u(Te, "type", r.Operation), u(Te, "USER_MANAGED_PARENT_TYPES", [
|
|
32170
|
-
...
|
|
32170
|
+
...ut,
|
|
32171
32171
|
r.Project
|
|
32172
32172
|
]), u(Te, "PARENT_TYPES", [
|
|
32173
32173
|
...Te.USER_MANAGED_PARENT_TYPES
|
|
@@ -33916,7 +33916,7 @@ const ee = class ee extends Ye {
|
|
|
33916
33916
|
{
|
|
33917
33917
|
parent: {
|
|
33918
33918
|
list: !1,
|
|
33919
|
-
types: [...
|
|
33919
|
+
types: [...ut, r.Project],
|
|
33920
33920
|
optional: !0
|
|
33921
33921
|
},
|
|
33922
33922
|
// calledByEntry: {
|
|
@@ -34670,10 +34670,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
34670
34670
|
}
|
|
34671
34671
|
// The return statements, don't belong to the loop itself, but to the parent scope entity
|
|
34672
34672
|
addReturnStatement(e) {
|
|
34673
|
-
return
|
|
34673
|
+
return Qe.includes(this.parent.type) && this.parent.addReturnStatement(e), this;
|
|
34674
34674
|
}
|
|
34675
34675
|
removeReturnStatement(e) {
|
|
34676
|
-
return
|
|
34676
|
+
return Qe.includes(this.parent.type) && this.parent.removeReturnStatement(e), this;
|
|
34677
34677
|
}
|
|
34678
34678
|
addBreakStatement(e) {
|
|
34679
34679
|
return this.breakStatements.includes(e) || this.breakStatements.push(e), this;
|
|
@@ -34768,7 +34768,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
34768
34768
|
if (!I) {
|
|
34769
34769
|
const ie = ee.fromReturnDeclarationToBodyArgumentDeclarationName(
|
|
34770
34770
|
E
|
|
34771
|
-
),
|
|
34771
|
+
), ct = {
|
|
34772
34772
|
id: P.UUID.uuid(),
|
|
34773
34773
|
version: "1",
|
|
34774
34774
|
createdAt: L().toDate(),
|
|
@@ -34790,7 +34790,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
34790
34790
|
parent: this.body.toReference(),
|
|
34791
34791
|
writesValues: []
|
|
34792
34792
|
}, mt = b(
|
|
34793
|
-
|
|
34793
|
+
ct,
|
|
34794
34794
|
this.project
|
|
34795
34795
|
);
|
|
34796
34796
|
mt.setParent(this.body), mt.initChildren(), mt.addSelfToProject(), t.push(mt), I = mt;
|
|
@@ -34833,11 +34833,11 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
34833
34833
|
andChildrenGroup: [],
|
|
34834
34834
|
orChildrenGroup: [],
|
|
34835
34835
|
parent: I.toReference()
|
|
34836
|
-
},
|
|
34836
|
+
}, ct = b(
|
|
34837
34837
|
ie,
|
|
34838
34838
|
this.project
|
|
34839
34839
|
);
|
|
34840
|
-
|
|
34840
|
+
ct.sync({ isList: !0 }), ct.setParent(I), ct.initChildren(), ct.addSelfToProject(), t.push(ct);
|
|
34841
34841
|
}
|
|
34842
34842
|
});
|
|
34843
34843
|
const {
|
|
@@ -35298,22 +35298,22 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
35298
35298
|
if (Y) {
|
|
35299
35299
|
const Z = g.getDataType(), M = ((h = Z == null ? void 0 : Z.entity) == null ? void 0 : h.properties) || [];
|
|
35300
35300
|
(y = Y.orChildrenGroup) == null || y.forEach((X) => {
|
|
35301
|
-
const { affected: ie, removed:
|
|
35301
|
+
const { affected: ie, removed: ct } = X.remove({
|
|
35302
35302
|
ignoreUpstream: !1,
|
|
35303
35303
|
seenEntities: /* @__PURE__ */ new Set()
|
|
35304
35304
|
});
|
|
35305
|
-
e.push(...ie), i.push(...
|
|
35305
|
+
e.push(...ie), i.push(...ct);
|
|
35306
35306
|
}), M.forEach((X) => {
|
|
35307
35307
|
const ie = X.getDataType();
|
|
35308
35308
|
if (ie) {
|
|
35309
|
-
const
|
|
35309
|
+
const ct = ie.clone(
|
|
35310
35310
|
Y
|
|
35311
35311
|
);
|
|
35312
|
-
|
|
35312
|
+
ct.sync({
|
|
35313
35313
|
parentRelationType: yt.OrDataTypeGroup
|
|
35314
|
-
}),
|
|
35314
|
+
}), ct.addSelfToProject(), t.push(ct);
|
|
35315
35315
|
} else {
|
|
35316
|
-
const
|
|
35316
|
+
const ct = {
|
|
35317
35317
|
id: P.UUID.uuid(),
|
|
35318
35318
|
version: "1",
|
|
35319
35319
|
createdAt: L().toDate(),
|
|
@@ -35331,7 +35331,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
35331
35331
|
parentRelationType: yt.OrDataTypeGroup,
|
|
35332
35332
|
parent: Y.toReference()
|
|
35333
35333
|
}, mt = b(
|
|
35334
|
-
|
|
35334
|
+
ct,
|
|
35335
35335
|
this.project
|
|
35336
35336
|
);
|
|
35337
35337
|
mt.setParent(Y), mt.initChildren(), mt.addSelfToProject(), t.push(mt);
|
|
@@ -35360,8 +35360,8 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
35360
35360
|
);
|
|
35361
35361
|
M.setParent(I), M.initChildren(), M.addSelfToProject(), Y = M;
|
|
35362
35362
|
const X = g.getDataType();
|
|
35363
|
-
(((p = X == null ? void 0 : X.entity) == null ? void 0 : p.properties) || []).forEach((
|
|
35364
|
-
const mt =
|
|
35363
|
+
(((p = X == null ? void 0 : X.entity) == null ? void 0 : p.properties) || []).forEach((ct) => {
|
|
35364
|
+
const mt = ct.getDataType();
|
|
35365
35365
|
if (mt) {
|
|
35366
35366
|
const nr = mt.clone(
|
|
35367
35367
|
M
|
|
@@ -35853,11 +35853,11 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
35853
35853
|
} = this.syncOutputsDeclarations();
|
|
35854
35854
|
e.push(...M), t.push(...X), i.push(...ie);
|
|
35855
35855
|
const {
|
|
35856
|
-
updated:
|
|
35856
|
+
updated: ct,
|
|
35857
35857
|
added: mt,
|
|
35858
35858
|
removed: nr
|
|
35859
35859
|
} = this.syncOutputMaps();
|
|
35860
|
-
return e.push(...
|
|
35860
|
+
return e.push(...ct), t.push(...mt), i.push(...nr), {
|
|
35861
35861
|
self: this,
|
|
35862
35862
|
updated: f(e),
|
|
35863
35863
|
added: f(t),
|
|
@@ -35872,7 +35872,7 @@ u(ee, "repository", {
|
|
|
35872
35872
|
},
|
|
35873
35873
|
load: async (e, ...t) => null
|
|
35874
35874
|
}), u(ee, "type", r.Loop), u(ee, "USER_MANAGED_PARENT_TYPES", [
|
|
35875
|
-
...
|
|
35875
|
+
...ut,
|
|
35876
35876
|
r.Project
|
|
35877
35877
|
]), u(ee, "PARENT_TYPES", [
|
|
35878
35878
|
...xe.USER_MANAGED_PARENT_TYPES
|
|
@@ -36011,7 +36011,7 @@ const we = class we extends Ye {
|
|
|
36011
36011
|
{
|
|
36012
36012
|
parent: {
|
|
36013
36013
|
list: !1,
|
|
36014
|
-
types: [...
|
|
36014
|
+
types: [...ut, r.Project],
|
|
36015
36015
|
optional: !0
|
|
36016
36016
|
}
|
|
36017
36017
|
// calledByEntry: {
|
|
@@ -36614,7 +36614,7 @@ u(we, "repository", {
|
|
|
36614
36614
|
},
|
|
36615
36615
|
load: async (e, ...t) => null
|
|
36616
36616
|
}), u(we, "type", r.Condition), u(we, "USER_MANAGED_PARENT_TYPES", [
|
|
36617
|
-
...
|
|
36617
|
+
...ut,
|
|
36618
36618
|
r.Project
|
|
36619
36619
|
]), u(we, "PARENT_TYPES", [
|
|
36620
36620
|
...we.USER_MANAGED_PARENT_TYPES
|
|
@@ -36798,7 +36798,7 @@ const be = class be extends Ye {
|
|
|
36798
36798
|
{
|
|
36799
36799
|
parent: {
|
|
36800
36800
|
list: !1,
|
|
36801
|
-
types: [...
|
|
36801
|
+
types: [...ut, r.Project],
|
|
36802
36802
|
optional: !0
|
|
36803
36803
|
}
|
|
36804
36804
|
// calledByEntry: {
|
|
@@ -37826,7 +37826,7 @@ u(be, "repository", {
|
|
|
37826
37826
|
},
|
|
37827
37827
|
load: async (e, ...t) => null
|
|
37828
37828
|
}), u(be, "type", r.VariableDeclaration), u(be, "USER_MANAGED_PARENT_TYPES", [
|
|
37829
|
-
...
|
|
37829
|
+
...ut,
|
|
37830
37830
|
r.Project
|
|
37831
37831
|
]), u(be, "PARENT_TYPES", [
|
|
37832
37832
|
...be.USER_MANAGED_PARENT_TYPES
|
|
@@ -37993,7 +37993,7 @@ const ge = class ge extends Ye {
|
|
|
37993
37993
|
{
|
|
37994
37994
|
parent: {
|
|
37995
37995
|
list: !1,
|
|
37996
|
-
types: [...
|
|
37996
|
+
types: [...ut, r.Project],
|
|
37997
37997
|
optional: !0
|
|
37998
37998
|
},
|
|
37999
37999
|
// calledByEntry: {
|
|
@@ -38918,7 +38918,7 @@ u(ge, "repository", {
|
|
|
38918
38918
|
},
|
|
38919
38919
|
load: async (e, ...t) => null
|
|
38920
38920
|
}), u(ge, "type", r.VariableInstance), u(ge, "USER_MANAGED_PARENT_TYPES", [
|
|
38921
|
-
...
|
|
38921
|
+
...ut,
|
|
38922
38922
|
r.Project
|
|
38923
38923
|
]), u(ge, "PARENT_TYPES", [
|
|
38924
38924
|
...ge.USER_MANAGED_PARENT_TYPES
|
|
@@ -39125,7 +39125,7 @@ ${Mc}`,
|
|
|
39125
39125
|
}
|
|
39126
39126
|
} else if (h && h.type === r.ReturnStatement) {
|
|
39127
39127
|
const y = h.parent;
|
|
39128
|
-
if (y &&
|
|
39128
|
+
if (y && Qe.includes(y.type)) {
|
|
39129
39129
|
const v = y.implements;
|
|
39130
39130
|
if (v) {
|
|
39131
39131
|
const E = v.outputs.find(
|
|
@@ -39829,7 +39829,7 @@ const Le = class Le extends Ye {
|
|
|
39829
39829
|
{
|
|
39830
39830
|
parent: {
|
|
39831
39831
|
list: !1,
|
|
39832
|
-
types: [...
|
|
39832
|
+
types: [...ut, r.Project],
|
|
39833
39833
|
optional: !0
|
|
39834
39834
|
}
|
|
39835
39835
|
},
|
|
@@ -40563,7 +40563,7 @@ u(Le, "repository", {
|
|
|
40563
40563
|
},
|
|
40564
40564
|
load: async (e, ...t) => null
|
|
40565
40565
|
}), u(Le, "type", r.Search), u(Le, "USER_MANAGED_PARENT_TYPES", [
|
|
40566
|
-
...
|
|
40566
|
+
...ut,
|
|
40567
40567
|
r.Project
|
|
40568
40568
|
]), u(Le, "PARENT_TYPES", [
|
|
40569
40569
|
...Le.USER_MANAGED_PARENT_TYPES
|
|
@@ -41520,7 +41520,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
41520
41520
|
);
|
|
41521
41521
|
this.setParent(e), this.parent.initChildren(), this.parent.addInternalCall(this);
|
|
41522
41522
|
const t = this.calledBy.find(
|
|
41523
|
-
(i) => !!i.parent &&
|
|
41523
|
+
(i) => !!i.parent && ut.includes(i.parent.type)
|
|
41524
41524
|
);
|
|
41525
41525
|
if (t) {
|
|
41526
41526
|
const i = b(
|
|
@@ -42241,7 +42241,7 @@ const De = class De extends Ye {
|
|
|
42241
42241
|
{
|
|
42242
42242
|
parent: {
|
|
42243
42243
|
list: !1,
|
|
42244
|
-
types: [...
|
|
42244
|
+
types: [...Xe, r.InputMap]
|
|
42245
42245
|
}
|
|
42246
42246
|
},
|
|
42247
42247
|
t
|
|
@@ -42370,7 +42370,7 @@ The entity of the data-type has the following properties that can be reads as in
|
|
|
42370
42370
|
issue: null
|
|
42371
42371
|
})
|
|
42372
42372
|
));
|
|
42373
|
-
} else if (
|
|
42373
|
+
} else if (Xe.filter(
|
|
42374
42374
|
(y) => Je.includes(y)
|
|
42375
42375
|
).includes(l.type)) {
|
|
42376
42376
|
const v = km(l), E = v.find(
|
|
@@ -42778,7 +42778,7 @@ u(De, "repository", {
|
|
|
42778
42778
|
},
|
|
42779
42779
|
load: async (e, ...t) => null
|
|
42780
42780
|
}), u(De, "type", r.InputMap), u(De, "USER_MANAGED_PARENT_TYPES", [
|
|
42781
|
-
...
|
|
42781
|
+
...Xe
|
|
42782
42782
|
]), u(De, "PARENT_TYPES", [
|
|
42783
42783
|
...De.USER_MANAGED_PARENT_TYPES
|
|
42784
42784
|
]), u(De, "MUTABLE_BASE_PROPERTIES", ["name", "description"]), u(De, "INMUTABLE_BASE_PROPERTIES", ["id", "version", "type"]), u(De, "BASE_PROPERTIES", [
|
|
@@ -42926,7 +42926,7 @@ const Pe = class Pe extends Ye {
|
|
|
42926
42926
|
{
|
|
42927
42927
|
parent: {
|
|
42928
42928
|
list: !1,
|
|
42929
|
-
types:
|
|
42929
|
+
types: Xe.filter(
|
|
42930
42930
|
(p) => p !== r.Condition
|
|
42931
42931
|
)
|
|
42932
42932
|
},
|
|
@@ -42941,7 +42941,7 @@ const Pe = class Pe extends Ye {
|
|
|
42941
42941
|
const l = t.get(
|
|
42942
42942
|
i.parent
|
|
42943
42943
|
);
|
|
42944
|
-
if (l &&
|
|
42944
|
+
if (l && Xe.filter(
|
|
42945
42945
|
(p) => p !== r.Condition
|
|
42946
42946
|
).includes(l.type)) {
|
|
42947
42947
|
const p = l.outputs.find(
|
|
@@ -43570,7 +43570,7 @@ const Se = class Se extends Ye {
|
|
|
43570
43570
|
const d = t.get(
|
|
43571
43571
|
D(i.parent)
|
|
43572
43572
|
);
|
|
43573
|
-
if (d &&
|
|
43573
|
+
if (d && Qe.includes(d.type)) {
|
|
43574
43574
|
const p = d.implements;
|
|
43575
43575
|
if (p) {
|
|
43576
43576
|
const h = p.inputs.find(
|
|
@@ -44040,7 +44040,7 @@ u(Se, "repository", {
|
|
|
44040
44040
|
delete: async (e, ...t) => {
|
|
44041
44041
|
},
|
|
44042
44042
|
load: async (e, ...t) => null
|
|
44043
|
-
}), u(Se, "type", r.ArgumentDeclaration), u(Se, "USER_MANAGED_PARENT_TYPES", [...
|
|
44043
|
+
}), u(Se, "type", r.ArgumentDeclaration), u(Se, "USER_MANAGED_PARENT_TYPES", [...Qe]), u(Se, "PARENT_TYPES", [
|
|
44044
44044
|
...Se.USER_MANAGED_PARENT_TYPES
|
|
44045
44045
|
]), u(Se, "MUTABLE_BASE_PROPERTIES", ["name", "description", "required"]), u(Se, "INMUTABLE_BASE_PROPERTIES", ["id", "version", "type"]), u(Se, "BASE_PROPERTIES", [
|
|
44046
44046
|
...Se.MUTABLE_BASE_PROPERTIES,
|
|
@@ -45304,7 +45304,7 @@ const rt = class rt extends Ye {
|
|
|
45304
45304
|
{
|
|
45305
45305
|
parent: {
|
|
45306
45306
|
list: !1,
|
|
45307
|
-
types:
|
|
45307
|
+
types: ut
|
|
45308
45308
|
}
|
|
45309
45309
|
// calledByEntry: {
|
|
45310
45310
|
// list: true,
|
|
@@ -45732,7 +45732,7 @@ u(rt, "repository", {
|
|
|
45732
45732
|
},
|
|
45733
45733
|
load: async (e, ...t) => null
|
|
45734
45734
|
}), u(rt, "type", r.ReturnStatement), u(rt, "USER_MANAGED_PARENT_TYPES", [
|
|
45735
|
-
...
|
|
45735
|
+
...ut
|
|
45736
45736
|
]), u(rt, "PARENT_TYPES", [
|
|
45737
45737
|
...rt.USER_MANAGED_PARENT_TYPES
|
|
45738
45738
|
]), u(rt, "MUTABLE_BASE_PROPERTIES", []), u(rt, "INMUTABLE_BASE_PROPERTIES", ["id", "version", "type"]), u(rt, "BASE_PROPERTIES", [
|
|
@@ -47106,7 +47106,7 @@ function IJ(n, s) {
|
|
|
47106
47106
|
modifiedData: null,
|
|
47107
47107
|
messageAddition: ""
|
|
47108
47108
|
};
|
|
47109
|
-
if (
|
|
47109
|
+
if (Qe.includes(s.type) ? n.calls && e.push(
|
|
47110
47110
|
new R({
|
|
47111
47111
|
id: `${s.id}--${m.InvalidInmutablePropertyOverride}`,
|
|
47112
47112
|
message: `Entity of type "${s.type}" with id "${s.id}" cannot have the property "calls" updated.
|
|
@@ -47115,7 +47115,7 @@ ${gn}`,
|
|
|
47115
47115
|
code: m.InvalidInmutablePropertyOverride,
|
|
47116
47116
|
issue: null
|
|
47117
47117
|
})
|
|
47118
|
-
) :
|
|
47118
|
+
) : Xe.includes(s.type) && (n.successCalls && e.push(
|
|
47119
47119
|
new R({
|
|
47120
47120
|
id: `${s.id}--${m.InvalidInmutablePropertyOverride}`,
|
|
47121
47121
|
message: `Entity of type "${s.type}" with id "${s.id}" cannot have the property "successCalls" updated.
|
|
@@ -47657,11 +47657,11 @@ function z(n, s, e) {
|
|
|
47657
47657
|
}
|
|
47658
47658
|
const wn = `Pass-through callable entities are entities that need to be called by another caller, then they execute some internal logic and when finished, it can call other callable entities with the "calledBySuccess" property or "calledByError" property based on whether their internal execution was successful or an error ocurred respectively.
|
|
47659
47659
|
All pass-through callable entities are: ${z(
|
|
47660
|
-
|
|
47660
|
+
Xe,
|
|
47661
47661
|
", ",
|
|
47662
47662
|
" and "
|
|
47663
47663
|
)}.`, xo = `Entry point entities are the entities which start the execution of a logic chain. They are ${z(
|
|
47664
|
-
|
|
47664
|
+
Qe,
|
|
47665
47665
|
", ",
|
|
47666
47666
|
" and "
|
|
47667
47667
|
)}. 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. `, F5 = `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: ${z(
|
|
@@ -47754,7 +47754,7 @@ function j5(n, s) {
|
|
|
47754
47754
|
const e = JSON.parse(
|
|
47755
47755
|
JSON.stringify(n)
|
|
47756
47756
|
), t = [];
|
|
47757
|
-
if (
|
|
47757
|
+
if (Qe.includes(s.type))
|
|
47758
47758
|
t.push(
|
|
47759
47759
|
new R({
|
|
47760
47760
|
id: `${n.id}--${s.id}--${m.InvalidReference}`,
|
|
@@ -47769,7 +47769,7 @@ We have moved the reference to 'calledByEntry' for you.`,
|
|
|
47769
47769
|
), e.calledByEntry.push(s.id), e.calledBySuccess = e.calledBySuccess.filter(
|
|
47770
47770
|
(i) => i !== s.id
|
|
47771
47771
|
);
|
|
47772
|
-
else if (
|
|
47772
|
+
else if (Ke.includes(s.type)) {
|
|
47773
47773
|
const i = s.calledBy || [], a = i.length ? `
|
|
47774
47774
|
|
|
47775
47775
|
This ${s.type} is called by ${z(
|
|
@@ -47787,14 +47787,14 @@ This ${s.type} is called by ${z(
|
|
|
47787
47787
|
message: `Entity of type "${n.type}" with id "${n.id}", has a reference to a '${s.type}' entity at 'calledBySuccess' with id "${s.id}".
|
|
47788
47788
|
${s.type} entities are the last entity to be executed in a logic chain, and they don't call any other entities.
|
|
47789
47789
|
Termination entities are ${z(
|
|
47790
|
-
|
|
47790
|
+
Ke,
|
|
47791
47791
|
", ",
|
|
47792
47792
|
" and "
|
|
47793
47793
|
)}.${a}`,
|
|
47794
47794
|
issue: null
|
|
47795
47795
|
})
|
|
47796
47796
|
);
|
|
47797
|
-
} else if (!
|
|
47797
|
+
} else if (!Xe.includes(s.type))
|
|
47798
47798
|
t.push(
|
|
47799
47799
|
new R({
|
|
47800
47800
|
id: `${n.id}--${s.id}--${m.InvalidReference}`,
|
|
@@ -47826,7 +47826,7 @@ ${wn}`,
|
|
|
47826
47826
|
}
|
|
47827
47827
|
function k5(n, s) {
|
|
47828
47828
|
const e = [];
|
|
47829
|
-
if (
|
|
47829
|
+
if (Qe.includes(s.type))
|
|
47830
47830
|
e.push(
|
|
47831
47831
|
new R({
|
|
47832
47832
|
id: `${n.id}--${s.id}--${m.InvalidReference}`,
|
|
@@ -47838,7 +47838,7 @@ ${xo}`,
|
|
|
47838
47838
|
issue: null
|
|
47839
47839
|
})
|
|
47840
47840
|
);
|
|
47841
|
-
else if (
|
|
47841
|
+
else if (Ke.includes(s.type)) {
|
|
47842
47842
|
const t = s.calledBy || [], i = t.length ? `
|
|
47843
47843
|
|
|
47844
47844
|
This ${s.type} is called by ${z(
|
|
@@ -47856,14 +47856,14 @@ This ${s.type} is called by ${z(
|
|
|
47856
47856
|
message: `Entity of type "${n.type}" with id "${n.id}", has a reference to a '${s.type}' entity at 'calledByError' with id "${s.id}".
|
|
47857
47857
|
${s.type} entities are the last entity to be executed in a logic chain, and they don't call any other entities.
|
|
47858
47858
|
Termination entities are ${z(
|
|
47859
|
-
|
|
47859
|
+
Ke,
|
|
47860
47860
|
", ",
|
|
47861
47861
|
" and "
|
|
47862
47862
|
)}.${i}`,
|
|
47863
47863
|
issue: null
|
|
47864
47864
|
})
|
|
47865
47865
|
);
|
|
47866
|
-
} else if (!
|
|
47866
|
+
} else if (!Xe.includes(s.type))
|
|
47867
47867
|
e.push(
|
|
47868
47868
|
new R({
|
|
47869
47869
|
id: `${n.id}--${s.id}--${m.InvalidReference}`,
|
|
@@ -47895,7 +47895,7 @@ ${wn}`,
|
|
|
47895
47895
|
}
|
|
47896
47896
|
function Z5(n, s) {
|
|
47897
47897
|
const e = [];
|
|
47898
|
-
if (
|
|
47898
|
+
if (Ke.includes(s.type)) {
|
|
47899
47899
|
const t = s.calledBy || [], i = t.length ? `
|
|
47900
47900
|
|
|
47901
47901
|
This ${s.type} is called by ${z(
|
|
@@ -47913,14 +47913,14 @@ This ${s.type} is called by ${z(
|
|
|
47913
47913
|
message: `Entity of type "${n.type}" with id "${n.id}", has a reference to a '${s.type}' entity at 'calledByEntry' with id "${s.id}".
|
|
47914
47914
|
${s.type} entities are the last entity to be executed in a logic chain, and they don't call any other entities.
|
|
47915
47915
|
Termination entities are ${z(
|
|
47916
|
-
|
|
47916
|
+
Ke,
|
|
47917
47917
|
", ",
|
|
47918
47918
|
" and "
|
|
47919
47919
|
)}.${i}`,
|
|
47920
47920
|
issue: null
|
|
47921
47921
|
})
|
|
47922
47922
|
);
|
|
47923
|
-
} else if (
|
|
47923
|
+
} else if (Xe.includes(s.type))
|
|
47924
47924
|
e.push(
|
|
47925
47925
|
new R({
|
|
47926
47926
|
id: `${n.id}--${s.id}--${m.InvalidReference}`,
|
|
@@ -48030,13 +48030,13 @@ function J5(n, s) {
|
|
|
48030
48030
|
})
|
|
48031
48031
|
);
|
|
48032
48032
|
const o = kt(t, s);
|
|
48033
|
-
t.type === r.ReturnStatement && o && !
|
|
48033
|
+
t.type === r.ReturnStatement && o && !Qe.includes(o.type) ? e.push(
|
|
48034
48034
|
new R({
|
|
48035
48035
|
id: `${t.id}--${m.IncompatibleScope}`,
|
|
48036
48036
|
code: m.IncompatibleScope,
|
|
48037
48037
|
severity: T.Error,
|
|
48038
48038
|
message: `Entity of type "${t.type}" with id "${t.id}" has an explicitly set parent, but it isn't a '${z(
|
|
48039
|
-
|
|
48039
|
+
Qe,
|
|
48040
48040
|
"', '",
|
|
48041
48041
|
"' or '"
|
|
48042
48042
|
)}' entity. A return statement's parent should always be resolved to a function declaration or global event.${Qo}`,
|
|
@@ -48081,10 +48081,10 @@ function J5(n, s) {
|
|
|
48081
48081
|
o,
|
|
48082
48082
|
v,
|
|
48083
48083
|
s
|
|
48084
|
-
) ? (
|
|
48084
|
+
) ? (Ke.includes(t.type) && ((t.calledBySuccess || []).find(
|
|
48085
48085
|
(g) => g === y.id
|
|
48086
48086
|
) ? (y.successCalls || []).find(
|
|
48087
|
-
(I) =>
|
|
48087
|
+
(I) => Ke.includes(I.type)
|
|
48088
48088
|
) && e.push(
|
|
48089
48089
|
new R({
|
|
48090
48090
|
id: `${t.id}--${y.id}--${C.UnreachableEntity}`,
|
|
@@ -48097,7 +48097,7 @@ The new termination statement is redundant because both entities would be called
|
|
|
48097
48097
|
) : (t.calledByError || []).find(
|
|
48098
48098
|
(g) => g === y.id
|
|
48099
48099
|
) ? (y.errorCalls || []).find(
|
|
48100
|
-
(I) =>
|
|
48100
|
+
(I) => Ke.includes(I.type)
|
|
48101
48101
|
) && e.push(
|
|
48102
48102
|
new R({
|
|
48103
48103
|
id: `${t.id}--${y.id}--${C.UnreachableEntity}`,
|
|
@@ -48110,7 +48110,7 @@ The new termination statement is redundant because both entities would be called
|
|
|
48110
48110
|
) : (t.calledByEntry || []).find(
|
|
48111
48111
|
(g) => g === y.id
|
|
48112
48112
|
) && (y.calls || []).find(
|
|
48113
|
-
(I) =>
|
|
48113
|
+
(I) => Ke.includes(I.type)
|
|
48114
48114
|
) && e.push(
|
|
48115
48115
|
new R({
|
|
48116
48116
|
id: `${t.id}--${y.id}--${C.UnreachableEntity}`,
|
|
@@ -48144,10 +48144,10 @@ The new termination statement is redundant because both entities would be called
|
|
|
48144
48144
|
v,
|
|
48145
48145
|
s
|
|
48146
48146
|
);
|
|
48147
|
-
E ? (
|
|
48147
|
+
E ? (Ke.includes(t.type) && ((t.calledBySuccess || []).find(
|
|
48148
48148
|
(g) => g === y.id
|
|
48149
48149
|
) ? (y.successCalls || []).find(
|
|
48150
|
-
(I) =>
|
|
48150
|
+
(I) => Ke.includes(I.type)
|
|
48151
48151
|
) && e.push(
|
|
48152
48152
|
new R({
|
|
48153
48153
|
id: `${t.id}--${y.id}--${C.UnreachableEntity}`,
|
|
@@ -48160,7 +48160,7 @@ The new termination statement is redundant because both entities would be called
|
|
|
48160
48160
|
) : (t.calledByError || []).find(
|
|
48161
48161
|
(g) => g === y.id
|
|
48162
48162
|
) ? (y.errorCalls || []).find(
|
|
48163
|
-
(I) =>
|
|
48163
|
+
(I) => Ke.includes(I.type)
|
|
48164
48164
|
) && e.push(
|
|
48165
48165
|
new R({
|
|
48166
48166
|
id: `${t.id}--${y.id}--${C.UnreachableEntity}`,
|
|
@@ -48173,7 +48173,7 @@ The new termination statement is redundant because both entities would be called
|
|
|
48173
48173
|
) : (t.calledByEntry || []).find(
|
|
48174
48174
|
(g) => g === y.id
|
|
48175
48175
|
) && (y.calls || []).find(
|
|
48176
|
-
(I) =>
|
|
48176
|
+
(I) => Ke.includes(I.type)
|
|
48177
48177
|
) && e.push(
|
|
48178
48178
|
new R({
|
|
48179
48179
|
id: `${t.id}--${y.id}--${C.UnreachableEntity}`,
|
|
@@ -48223,13 +48223,13 @@ To add a caller, use the 'add_caller' action with the properties: 'callerEntityI
|
|
|
48223
48223
|
Return statements need to have a caller when created, since their purpose is to terminate a call chain.` : t.type === r.ContinueStatement ? a += `
|
|
48224
48224
|
Continue statements need to have a caller when created, since they are used to skip the rest of the current iteration of a loop and can't be detached from a call chain.` : t.type === r.BreakStatement && (a += `
|
|
48225
48225
|
Break statements need to have a caller when created, since they are used to exit a loop and can't be detached from a call chain.`), a += `
|
|
48226
|
-
${F5}`,
|
|
48226
|
+
${F5}`, Ke.includes(t.type) || (a += `
|
|
48227
48227
|
It is recommended to have a caller reference already at the moment of creation in the payload of the generation action.`), e.push(
|
|
48228
48228
|
new R({
|
|
48229
48229
|
id: `${t.id}--${C.MissingCaller}`,
|
|
48230
48230
|
code: C.MissingCaller,
|
|
48231
48231
|
// If it is a termination statement, make it an error, otherwise a warning
|
|
48232
|
-
severity:
|
|
48232
|
+
severity: Ke.includes(t.type) ? T.Error : T.Warning,
|
|
48233
48233
|
message: a,
|
|
48234
48234
|
issue: null
|
|
48235
48235
|
})
|
|
@@ -48541,9 +48541,9 @@ function OJ(n, s, e = "calledBy") {
|
|
|
48541
48541
|
issue: null
|
|
48542
48542
|
})
|
|
48543
48543
|
), t;
|
|
48544
|
-
if ([...
|
|
48544
|
+
if ([...Xe, ...Qe].includes(i.type))
|
|
48545
48545
|
return [];
|
|
48546
|
-
if (
|
|
48546
|
+
if (Ke.includes(i.type)) {
|
|
48547
48547
|
const a = i.calledBy || [], o = a.length ? `
|
|
48548
48548
|
|
|
48549
48549
|
This ${i.type} is called by ${z(
|
|
@@ -48561,7 +48561,7 @@ This ${i.type} is called by ${z(
|
|
|
48561
48561
|
message: `Entity with id '${i.id}' referenced in '${e}' property is of type '${i.type}'.
|
|
48562
48562
|
${i.type} entities are the last entity to be executed in a logic chain, and they don't call any other entities.
|
|
48563
48563
|
Termination entities are ${z(
|
|
48564
|
-
|
|
48564
|
+
Ke,
|
|
48565
48565
|
", ",
|
|
48566
48566
|
" and "
|
|
48567
48567
|
)}.${o}`,
|
|
@@ -48600,9 +48600,9 @@ function VJ(n, s, e = "calledByError") {
|
|
|
48600
48600
|
issue: null
|
|
48601
48601
|
})
|
|
48602
48602
|
), t;
|
|
48603
|
-
if (
|
|
48603
|
+
if (Xe.includes(i.type))
|
|
48604
48604
|
return [];
|
|
48605
|
-
if (
|
|
48605
|
+
if (Ke.includes(i.type)) {
|
|
48606
48606
|
const a = i.calledBy || [], o = a.length ? `
|
|
48607
48607
|
|
|
48608
48608
|
This ${i.type} is called by ${z(
|
|
@@ -48620,7 +48620,7 @@ This ${i.type} is called by ${z(
|
|
|
48620
48620
|
message: `Entity with id '${i.id}' referenced in '${e}' property is of type '${i.type}'.
|
|
48621
48621
|
${i.type} entities are the last entity to be executed in a logic chain, and they don't call any other entities.
|
|
48622
48622
|
Termination entities are ${z(
|
|
48623
|
-
|
|
48623
|
+
Ke,
|
|
48624
48624
|
", ",
|
|
48625
48625
|
" and "
|
|
48626
48626
|
)}.${o}`,
|
|
@@ -48628,7 +48628,7 @@ Termination entities are ${z(
|
|
|
48628
48628
|
})
|
|
48629
48629
|
);
|
|
48630
48630
|
} else
|
|
48631
|
-
|
|
48631
|
+
Qe.includes(i.type) ? t.push(
|
|
48632
48632
|
new R({
|
|
48633
48633
|
id: `last-action--${i.id}--${m.InvalidReference}`,
|
|
48634
48634
|
code: m.InvalidReference,
|
|
@@ -49333,7 +49333,7 @@ const Ne = class Ne extends Ye {
|
|
|
49333
49333
|
{
|
|
49334
49334
|
parent: {
|
|
49335
49335
|
list: !1,
|
|
49336
|
-
types: [...
|
|
49336
|
+
types: [...ut, r.Project],
|
|
49337
49337
|
optional: !0
|
|
49338
49338
|
}
|
|
49339
49339
|
// calledByEntry: {
|
|
@@ -50135,7 +50135,7 @@ u(Ne, "repository", {
|
|
|
50135
50135
|
},
|
|
50136
50136
|
load: async (e, ...t) => null
|
|
50137
50137
|
}), u(Ne, "type", r.FunctionCall), u(Ne, "USER_MANAGED_PARENT_TYPES", [
|
|
50138
|
-
...
|
|
50138
|
+
...ut,
|
|
50139
50139
|
r.Project
|
|
50140
50140
|
]), u(Ne, "PARENT_TYPES", [
|
|
50141
50141
|
...Ne.USER_MANAGED_PARENT_TYPES
|
|
@@ -50921,11 +50921,11 @@ function _J(n, s) {
|
|
|
50921
50921
|
return !!ec(n, s).last;
|
|
50922
50922
|
}
|
|
50923
50923
|
function NJ(n) {
|
|
50924
|
-
if (
|
|
50924
|
+
if (Qe.includes(n.type))
|
|
50925
50925
|
return n;
|
|
50926
50926
|
if ([...kr, r.VariableDeclaration].includes(n.type)) {
|
|
50927
50927
|
const s = n.parent;
|
|
50928
|
-
return
|
|
50928
|
+
return Qe.includes(s.type) ? s : null;
|
|
50929
50929
|
}
|
|
50930
50930
|
return null;
|
|
50931
50931
|
}
|
|
@@ -51002,7 +51002,7 @@ function tZ(n) {
|
|
|
51002
51002
|
function rZ(n) {
|
|
51003
51003
|
if (!n)
|
|
51004
51004
|
return null;
|
|
51005
|
-
if (
|
|
51005
|
+
if (Xe.includes(n.type))
|
|
51006
51006
|
return n;
|
|
51007
51007
|
const s = n.parent;
|
|
51008
51008
|
return s ? rZ(s) : null;
|
|
@@ -51016,10 +51016,10 @@ function nZ(n) {
|
|
|
51016
51016
|
return s ? nZ(s) : null;
|
|
51017
51017
|
}
|
|
51018
51018
|
function xJ(n) {
|
|
51019
|
-
return n.type === r.VariableDeclaration ? [n] :
|
|
51019
|
+
return n.type === r.VariableDeclaration ? [n] : Xe.includes(n.type) ? [
|
|
51020
51020
|
...n.inputs,
|
|
51021
51021
|
...n.outputs || []
|
|
51022
|
-
] :
|
|
51022
|
+
] : Ke.includes(n.type) ? n.outputs : Ma.includes(n.type) || n.type === r.FunctionDeclaration ? n.inputs : [];
|
|
51023
51023
|
}
|
|
51024
51024
|
function LJ(n) {
|
|
51025
51025
|
const s = Bn(n), e = [], t = [];
|
|
@@ -51051,14 +51051,14 @@ function Jt(n) {
|
|
|
51051
51051
|
return f(s);
|
|
51052
51052
|
}
|
|
51053
51053
|
function Um(n) {
|
|
51054
|
-
return
|
|
51054
|
+
return Xe.includes(n.type) ? [
|
|
51055
51055
|
...Jt(
|
|
51056
51056
|
n.successCalls
|
|
51057
51057
|
),
|
|
51058
51058
|
...Jt(
|
|
51059
51059
|
n.errorCalls
|
|
51060
51060
|
)
|
|
51061
|
-
] :
|
|
51061
|
+
] : Qe.includes(n.type) ? Jt(
|
|
51062
51062
|
n.calls
|
|
51063
51063
|
) : [];
|
|
51064
51064
|
}
|
|
@@ -51099,7 +51099,7 @@ function uZ(n = []) {
|
|
|
51099
51099
|
return n.reduce((s, e) => e.type === r.OutputMap ? [...s, ...dZ(e)] : s, []);
|
|
51100
51100
|
}
|
|
51101
51101
|
function ze(n) {
|
|
51102
|
-
return
|
|
51102
|
+
return Xe.includes(n.type) ? [
|
|
51103
51103
|
...Lr(
|
|
51104
51104
|
Jt(
|
|
51105
51105
|
n.successCalls
|
|
@@ -51110,14 +51110,14 @@ function ze(n) {
|
|
|
51110
51110
|
n.errorCalls
|
|
51111
51111
|
)
|
|
51112
51112
|
)
|
|
51113
|
-
] :
|
|
51113
|
+
] : Qe.includes(n.type) ? Lr(
|
|
51114
51114
|
Jt(
|
|
51115
51115
|
n.calls
|
|
51116
51116
|
)
|
|
51117
51117
|
) : [];
|
|
51118
51118
|
}
|
|
51119
51119
|
function jJ(n) {
|
|
51120
|
-
return
|
|
51120
|
+
return Xe.includes(n.type) ? [
|
|
51121
51121
|
...Lr(
|
|
51122
51122
|
Jt(
|
|
51123
51123
|
n.successCalls
|
|
@@ -51128,7 +51128,7 @@ function jJ(n) {
|
|
|
51128
51128
|
n.errorCalls
|
|
51129
51129
|
)
|
|
51130
51130
|
)
|
|
51131
|
-
] :
|
|
51131
|
+
] : Qe.includes(n.type) ? Lr(
|
|
51132
51132
|
Jt(
|
|
51133
51133
|
n.calls
|
|
51134
51134
|
)
|
|
@@ -51301,7 +51301,7 @@ function yZ(n, s) {
|
|
|
51301
51301
|
case r.Operation:
|
|
51302
51302
|
return t.outputs.find((i) => i.id === n.id) !== void 0;
|
|
51303
51303
|
case r.VariableDeclaration:
|
|
51304
|
-
return
|
|
51304
|
+
return Xe.includes(n.type) ? jZ(
|
|
51305
51305
|
n
|
|
51306
51306
|
).find((a) => {
|
|
51307
51307
|
var o;
|
|
@@ -52031,19 +52031,19 @@ function JJ(n, s) {
|
|
|
52031
52031
|
return s.type === r.Condition ? s.inputs.find((e) => e.declaration.id === n.id) : s.type === r.FunctionCall || s.type === r.Operation ? s.inputs.find((e) => e.declaration.id === n.id) : null;
|
|
52032
52032
|
}
|
|
52033
52033
|
function jZ(n) {
|
|
52034
|
-
return
|
|
52034
|
+
return Xe.includes(n.type) ? n.inputs : [];
|
|
52035
52035
|
}
|
|
52036
52036
|
function kZ(n) {
|
|
52037
52037
|
var s;
|
|
52038
52038
|
return n.type === r.FunctionCall ? ((s = n.declaration.returnStatements[0]) == null ? void 0 : s.outputs) || [] : [r.Operation, r.Condition, r.Loop].includes(
|
|
52039
52039
|
n.type
|
|
52040
|
-
) ? n.declaration.outputs : n.type === r.Search ? n.outputsDeclarations :
|
|
52040
|
+
) ? n.declaration.outputs : n.type === r.Search ? n.outputsDeclarations : Ke.includes(n.type) ? n.outputs : [];
|
|
52041
52041
|
}
|
|
52042
52042
|
function qJ(n, s) {
|
|
52043
52043
|
return s.type === r.Condition ? null : s.type === r.FunctionCall || s.type === r.Operation ? s.outputs.find((e) => e.declaration.id === n.id) : null;
|
|
52044
52044
|
}
|
|
52045
52045
|
function WJ(n) {
|
|
52046
|
-
return n.type === r.Condition ? [] :
|
|
52046
|
+
return n.type === r.Condition ? [] : Xe.includes(n.type) ? n.outputs : [];
|
|
52047
52047
|
}
|
|
52048
52048
|
function gl(n) {
|
|
52049
52049
|
const s = n.readsValue;
|
|
@@ -52094,7 +52094,7 @@ function Bn(n, s = !1) {
|
|
|
52094
52094
|
...(n == null ? void 0 : n.functionCalls) || [],
|
|
52095
52095
|
...(n == null ? void 0 : n.events) || [],
|
|
52096
52096
|
...(n == null ? void 0 : n.projects) || []
|
|
52097
|
-
),
|
|
52097
|
+
), ut.includes(n.type) && e.push(
|
|
52098
52098
|
...(n == null ? void 0 : n.detachedChildren) || []
|
|
52099
52099
|
), n.type === r.DefinitionEntity) {
|
|
52100
52100
|
const t = [
|
|
@@ -52123,7 +52123,7 @@ function Bn(n, s = !1) {
|
|
|
52123
52123
|
...i
|
|
52124
52124
|
);
|
|
52125
52125
|
}
|
|
52126
|
-
if (
|
|
52126
|
+
if (Xe.includes(n.type) && n.type !== r.Condition && n.type !== r.Loop) {
|
|
52127
52127
|
const t = n == null ? void 0 : n.outputs.map((o) => ia(o)).flat(), i = n.successCalls.map(
|
|
52128
52128
|
(o) => At(o)
|
|
52129
52129
|
), a = n.errorCalls.map(
|
|
@@ -52299,7 +52299,7 @@ function Hm(n) {
|
|
|
52299
52299
|
}
|
|
52300
52300
|
function HZ(n) {
|
|
52301
52301
|
if ([
|
|
52302
|
-
...
|
|
52302
|
+
...Qe,
|
|
52303
52303
|
r.DefinitionEntity,
|
|
52304
52304
|
r.InstalledProject,
|
|
52305
52305
|
r.Project
|
|
@@ -52312,7 +52312,7 @@ function HZ(n) {
|
|
|
52312
52312
|
}
|
|
52313
52313
|
function zm(n) {
|
|
52314
52314
|
return [
|
|
52315
|
-
...
|
|
52315
|
+
...Qe,
|
|
52316
52316
|
r.DefinitionEntity,
|
|
52317
52317
|
r.InstalledProject,
|
|
52318
52318
|
r.Project
|
|
@@ -52395,7 +52395,7 @@ function ic(n) {
|
|
|
52395
52395
|
}
|
|
52396
52396
|
}
|
|
52397
52397
|
function kt(n, s) {
|
|
52398
|
-
if (
|
|
52398
|
+
if (ut.includes(n.type))
|
|
52399
52399
|
return n;
|
|
52400
52400
|
if (_r.includes(n.type))
|
|
52401
52401
|
return null;
|
|
@@ -52418,7 +52418,7 @@ function Km(n, s) {
|
|
|
52418
52418
|
n.parent,
|
|
52419
52419
|
s
|
|
52420
52420
|
);
|
|
52421
|
-
return e ? e === s ?
|
|
52421
|
+
return e ? e === s ? ut.includes(n.type) ? n : null : e.type === r.DefinitionEntity ? n : Km(e, s) : null;
|
|
52422
52422
|
}
|
|
52423
52423
|
function Il(n, s, e) {
|
|
52424
52424
|
if (n === s || s === e || n === e)
|
|
@@ -52599,12 +52599,12 @@ function gs(n) {
|
|
|
52599
52599
|
[
|
|
52600
52600
|
...a.successCalls || []
|
|
52601
52601
|
].forEach((d) => {
|
|
52602
|
-
|
|
52602
|
+
Ke.includes(d.type) && d !== n && (ze(
|
|
52603
52603
|
n
|
|
52604
52604
|
).find((y) => y === d) || t(a, d));
|
|
52605
52605
|
});
|
|
52606
52606
|
let l;
|
|
52607
|
-
if (
|
|
52607
|
+
if (Xe.includes(a.type) && (l = a), l) {
|
|
52608
52608
|
const d = gs(l);
|
|
52609
52609
|
d.reachable || ze(
|
|
52610
52610
|
n
|
|
@@ -52616,12 +52616,12 @@ function gs(n) {
|
|
|
52616
52616
|
[
|
|
52617
52617
|
...a.errorCalls || []
|
|
52618
52618
|
].forEach((d) => {
|
|
52619
|
-
|
|
52619
|
+
Ke.includes(d.type) && d !== n && (ze(
|
|
52620
52620
|
n
|
|
52621
52621
|
).find((y) => y === d) || t(a, d));
|
|
52622
52622
|
});
|
|
52623
52623
|
let l;
|
|
52624
|
-
if (
|
|
52624
|
+
if (Xe.includes(a.type) && (l = a), l) {
|
|
52625
52625
|
const d = gs(l);
|
|
52626
52626
|
d.reachable || ze(
|
|
52627
52627
|
n
|
|
@@ -52631,7 +52631,7 @@ function gs(n) {
|
|
|
52631
52631
|
}
|
|
52632
52632
|
}), n.calledByEntry.forEach((a) => {
|
|
52633
52633
|
if ([...a.calls || []].forEach((d) => {
|
|
52634
|
-
|
|
52634
|
+
Ke.includes(d.type) && d !== n && (ze(
|
|
52635
52635
|
n
|
|
52636
52636
|
).find((y) => y === d) || t(a, d));
|
|
52637
52637
|
}), a === i)
|
|
@@ -54549,7 +54549,7 @@ class ln {
|
|
|
54549
54549
|
if (s.readsValue) {
|
|
54550
54550
|
if (Je.includes(s.readsValue.type)) {
|
|
54551
54551
|
let e = s.parent;
|
|
54552
|
-
|
|
54552
|
+
ut.includes(e.type) || (e = e.parent);
|
|
54553
54553
|
const t = s.type === r.InputMap && s.parent.type === r.Loop;
|
|
54554
54554
|
t && (e = s.parent.parent), s.readsValue.setParent(
|
|
54555
54555
|
e
|
|
@@ -54580,7 +54580,7 @@ class ln {
|
|
|
54580
54580
|
if (s.readsValue) {
|
|
54581
54581
|
if (Je.includes(s.readsValue.type)) {
|
|
54582
54582
|
let e = s.parent;
|
|
54583
|
-
|
|
54583
|
+
ut.includes(e.type) || (e = e.parent);
|
|
54584
54584
|
const t = s.type === r.InputMap && s.parent.type === r.Loop;
|
|
54585
54585
|
t && (e = s.parent.parent), s.readsValue.setParent(
|
|
54586
54586
|
e
|
|
@@ -56475,14 +56475,14 @@ export {
|
|
|
56475
56475
|
$ as ENTITY_RECUSION_OPTIONS_DEFAULTS,
|
|
56476
56476
|
_7 as ENTITY_TYPES,
|
|
56477
56477
|
w7 as ENTITY_WITH_DECLARATION_TYPES,
|
|
56478
|
-
|
|
56478
|
+
ut as ENTITY_WITH_LOGIC_SCOPE_TYPES,
|
|
56479
56479
|
sv as ENTITY_WITH_NAMES_TYPES,
|
|
56480
56480
|
V7 as ENTITY_WITH_PARENT_TYPES,
|
|
56481
56481
|
nv as ENTITY_WITH_USER_MANAGED_DECLARATION_TYPES,
|
|
56482
56482
|
C7 as ENTITY_WITH_USER_MANAGED_SINGLE_IMPLEMENTS_TYPES,
|
|
56483
56483
|
rv as ENTITY_WITH_VALUE_TYPES,
|
|
56484
56484
|
xo as ENTRY_POINT_ENTITIES_EXPLANATION,
|
|
56485
|
-
|
|
56485
|
+
Qe as ENTRY_POINT_TYPES,
|
|
56486
56486
|
Ma as EVENT_TYPES,
|
|
56487
56487
|
M7 as EXECUTABLE_TYPES,
|
|
56488
56488
|
yR as EXECUTION_OPERATIONS,
|
|
@@ -56526,7 +56526,7 @@ export {
|
|
|
56526
56526
|
on as OutputMapState,
|
|
56527
56527
|
Qo as PARENT_AUTO_CALCULATION_FROM_CALLER_EXPLANATION,
|
|
56528
56528
|
wn as PASS_THROUGH_CALLABLE_ENTITIES_EXPLANATION,
|
|
56529
|
-
|
|
56529
|
+
Xe as PASS_THROUGH_CALLABLE_TYPES,
|
|
56530
56530
|
iv as PASS_THROUGH_CALLABLE_TYPES_WITH_OUTPUTS,
|
|
56531
56531
|
_m as PROPERTY_NOT_VALUE_READER_WRITTER_EXPLANATION,
|
|
56532
56532
|
s7 as ParallelExecutionOperation,
|
|
@@ -56554,7 +56554,7 @@ export {
|
|
|
56554
56554
|
WT as SplitListOperationOutputIds,
|
|
56555
56555
|
mr as StandaloneOperatorTypes,
|
|
56556
56556
|
he as StringOperations,
|
|
56557
|
-
|
|
56557
|
+
Ke as TERMINATION_TYPES,
|
|
56558
56558
|
Lm as Traverser,
|
|
56559
56559
|
ov as USER_MANAGED_ENTITY_TYPES,
|
|
56560
56560
|
lq as UserManagedEntityStateFunctionality,
|