@elyx-code/project-logic-tree 0.0.6152 → 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 +352 -364
- 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
|
|
@@ -23551,13 +23551,13 @@ var l0 = { exports: {} };
|
|
|
23551
23551
|
(function(e, t) {
|
|
23552
23552
|
n.exports = t();
|
|
23553
23553
|
})(lD, function() {
|
|
23554
|
-
var e = 1e3, t = 6e4, i = 36e5, a = "millisecond", o = "second", l = "minute", d = "hour", p = "day", h = "week", y = "month", v = "quarter", E = "year", g = "date", A = "Invalid Date", I = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,
|
|
23554
|
+
var e = 1e3, t = 6e4, i = 36e5, a = "millisecond", o = "second", l = "minute", d = "hour", p = "day", h = "week", y = "month", v = "quarter", E = "year", g = "date", A = "Invalid Date", I = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, w = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, Y = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(le) {
|
|
23555
23555
|
var q = ["th", "st", "nd", "rd"], U = le % 100;
|
|
23556
23556
|
return "[" + le + (q[(U - 20) % 10] || q[U] || q[0]) + "]";
|
|
23557
23557
|
} }, Z = function(le, q, U) {
|
|
23558
23558
|
var Q = String(le);
|
|
23559
23559
|
return !Q || Q.length >= q ? le : "" + Array(q + 1 - Q.length).join(U) + le;
|
|
23560
|
-
},
|
|
23560
|
+
}, M = { s: Z, z: function(le) {
|
|
23561
23561
|
var q = -le.utcOffset(), U = Math.abs(q), Q = Math.floor(U / 60), k = U % 60;
|
|
23562
23562
|
return (q <= 0 ? "+" : "-") + Z(Q, 2, "0") + ":" + Z(k, 2, "0");
|
|
23563
23563
|
}, m: function le(q, U) {
|
|
@@ -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)
|
|
@@ -23595,13 +23595,13 @@ var l0 = { exports: {} };
|
|
|
23595
23595
|
return le.clone();
|
|
23596
23596
|
var U = typeof q == "object" ? q : {};
|
|
23597
23597
|
return U.date = le, U.args = arguments, new ps(U);
|
|
23598
|
-
}, je =
|
|
23598
|
+
}, je = M;
|
|
23599
23599
|
je.l = nr, je.i = mt, je.w = function(le, q) {
|
|
23600
23600
|
return st(le, { locale: q.$L, utc: q.$u, x: q.$x, $offset: q.$offset });
|
|
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) {
|
|
@@ -23714,7 +23714,7 @@ var l0 = { exports: {} };
|
|
|
23714
23714
|
var hs = Ft < 12 ? "AM" : "PM";
|
|
23715
23715
|
return na ? hs.toLowerCase() : hs;
|
|
23716
23716
|
};
|
|
23717
|
-
return ce.replace(
|
|
23717
|
+
return ce.replace(w, function(Ft, zr) {
|
|
23718
23718
|
return zr || function(na) {
|
|
23719
23719
|
switch (na) {
|
|
23720
23720
|
case "YY":
|
|
@@ -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
|
)
|
|
@@ -28136,7 +28136,7 @@ function Tl(n) {
|
|
|
28136
28136
|
`${t.slice(0, 1).toUpperCase()}${t.slice(1)}`
|
|
28137
28137
|
);
|
|
28138
28138
|
} else if (n.entity.type === r.DefinitionEntity) {
|
|
28139
|
-
const t =
|
|
28139
|
+
const t = B(
|
|
28140
28140
|
n.entity,
|
|
28141
28141
|
n.project
|
|
28142
28142
|
);
|
|
@@ -28202,15 +28202,15 @@ function mJ(n) {
|
|
|
28202
28202
|
const s = Wm(n);
|
|
28203
28203
|
if (!s) {
|
|
28204
28204
|
const e = qm(n);
|
|
28205
|
-
return e.includes(W.HTTP_ENDPOINT) ? "HTTP endpoint" : e.includes(W.PERSISTED_ENTITY) ? "Persisted entity" : e.includes(W.CRON_JOB) ? "Scheduled execution" : e.includes(W.RELATIONAL_DATABASE) ? "Relational database" :
|
|
28205
|
+
return e.includes(W.HTTP_ENDPOINT) ? "HTTP endpoint" : e.includes(W.PERSISTED_ENTITY) ? "Persisted entity" : e.includes(W.CRON_JOB) ? "Scheduled execution" : e.includes(W.RELATIONAL_DATABASE) ? "Relational database" : B(n, n.project) + " entity";
|
|
28206
28206
|
}
|
|
28207
|
-
return
|
|
28207
|
+
return B(s, n.project) + " entity";
|
|
28208
28208
|
}
|
|
28209
28209
|
function n5(n) {
|
|
28210
28210
|
let s = "Find ";
|
|
28211
28211
|
return n.outputsDeclarations.forEach((e, t) => {
|
|
28212
28212
|
const i = zu(e), a = ml(
|
|
28213
|
-
i && i.entity ?
|
|
28213
|
+
i && i.entity ? B(i.entity, n.project) : "unstructured data"
|
|
28214
28214
|
);
|
|
28215
28215
|
t === 0 ? s += `${a} ` : t === n.outputsDeclarations.length - 1 ? s += `and ${a} ` : s += `, ${a} `;
|
|
28216
28216
|
}), s;
|
|
@@ -28351,7 +28351,7 @@ function a5(n) {
|
|
|
28351
28351
|
return (n.name.slice(0, 1).toUpperCase() + n.name.slice(1)).replaceAll("-", " ");
|
|
28352
28352
|
}
|
|
28353
28353
|
}
|
|
28354
|
-
function
|
|
28354
|
+
function B(n, s) {
|
|
28355
28355
|
var e;
|
|
28356
28356
|
if (r.FunctionDeclaration === n.type) {
|
|
28357
28357
|
const t = n.name;
|
|
@@ -28379,7 +28379,7 @@ function w(n, s) {
|
|
|
28379
28379
|
case r.InternalCall:
|
|
28380
28380
|
case r.Loop:
|
|
28381
28381
|
const t = zt(n.declaration, s);
|
|
28382
|
-
return
|
|
28382
|
+
return B(t, s);
|
|
28383
28383
|
case r.ActionDescriptor:
|
|
28384
28384
|
return a5(n);
|
|
28385
28385
|
case r.BreakStatement:
|
|
@@ -28387,13 +28387,13 @@ function w(n, s) {
|
|
|
28387
28387
|
n.parent,
|
|
28388
28388
|
s
|
|
28389
28389
|
);
|
|
28390
|
-
return `Stop loop ${
|
|
28390
|
+
return `Stop loop ${B(i, s)}`;
|
|
28391
28391
|
case r.ContinueStatement:
|
|
28392
28392
|
const a = zt(
|
|
28393
28393
|
n.parent,
|
|
28394
28394
|
s
|
|
28395
28395
|
);
|
|
28396
|
-
return `Execute next iteration of ${
|
|
28396
|
+
return `Execute next iteration of ${B(
|
|
28397
28397
|
a,
|
|
28398
28398
|
s
|
|
28399
28399
|
)}`;
|
|
@@ -28405,7 +28405,7 @@ function w(n, s) {
|
|
|
28405
28405
|
case r.Condition: {
|
|
28406
28406
|
const l = n;
|
|
28407
28407
|
if ((e = n.inputs) != null && e.length) {
|
|
28408
|
-
const d =
|
|
28408
|
+
const d = B(
|
|
28409
28409
|
l.inputs[0],
|
|
28410
28410
|
l.project
|
|
28411
28411
|
);
|
|
@@ -28423,7 +28423,7 @@ function w(n, s) {
|
|
|
28423
28423
|
}
|
|
28424
28424
|
case r.ReturnStatement: {
|
|
28425
28425
|
const l = zt(n.parent, s);
|
|
28426
|
-
return `Output of ${
|
|
28426
|
+
return `Output of ${B(l, s)}`;
|
|
28427
28427
|
}
|
|
28428
28428
|
case r.InputMap:
|
|
28429
28429
|
if (n.declaration) {
|
|
@@ -28431,7 +28431,7 @@ function w(n, s) {
|
|
|
28431
28431
|
n.declaration,
|
|
28432
28432
|
s
|
|
28433
28433
|
);
|
|
28434
|
-
return
|
|
28434
|
+
return B(l, s) || "";
|
|
28435
28435
|
} else
|
|
28436
28436
|
return n.name || "";
|
|
28437
28437
|
case r.VariableInstance: {
|
|
@@ -28439,7 +28439,7 @@ function w(n, s) {
|
|
|
28439
28439
|
n.declaration,
|
|
28440
28440
|
s
|
|
28441
28441
|
);
|
|
28442
|
-
return
|
|
28442
|
+
return B(l, s) || "";
|
|
28443
28443
|
}
|
|
28444
28444
|
case r.OutputMap:
|
|
28445
28445
|
if (n.declaration) {
|
|
@@ -28751,14 +28751,14 @@ function Cc(n, s) {
|
|
|
28751
28751
|
}
|
|
28752
28752
|
let i = "";
|
|
28753
28753
|
return t && (i = `${vl(
|
|
28754
|
-
|
|
28754
|
+
B(t, s)
|
|
28755
28755
|
)}-`), e = `${i}${vl(
|
|
28756
|
-
|
|
28756
|
+
B(n, s)
|
|
28757
28757
|
)}-id`, s.instances[e] ? P.UUID.uuid() : e;
|
|
28758
28758
|
}
|
|
28759
28759
|
function it(n, s, e = "uuid") {
|
|
28760
28760
|
return e === "semantic" ? s5(
|
|
28761
|
-
|
|
28761
|
+
B(n, s),
|
|
28762
28762
|
n.type,
|
|
28763
28763
|
s
|
|
28764
28764
|
) : P.UUID.uuid();
|
|
@@ -28773,7 +28773,7 @@ function o5(n) {
|
|
|
28773
28773
|
if (n.id === "80c86e1b-caca-4ba5-9b1f-38f72d10e4a3") {
|
|
28774
28774
|
const l = oe({
|
|
28775
28775
|
id: `${n.id}--${G.PropertyImplementsNonAbstact}`,
|
|
28776
|
-
message: `Property "${
|
|
28776
|
+
message: `Property "${B(n, n.project)}" with id "${n.id}" implements a non-abstract property "${B(
|
|
28777
28777
|
n,
|
|
28778
28778
|
n.project
|
|
28779
28779
|
)}" with id "${n.id}".`,
|
|
@@ -28794,7 +28794,7 @@ function l5(n) {
|
|
|
28794
28794
|
if (!e.abstract) {
|
|
28795
28795
|
const i = oe({
|
|
28796
28796
|
id: `${n.id}--${G.PropertyImplementsNonAbstact}`,
|
|
28797
|
-
message: `Property "${
|
|
28797
|
+
message: `Property "${B(n, n.project)}" with id "${n.id}" implements a non-abstract property "${B(
|
|
28798
28798
|
e,
|
|
28799
28799
|
n.project
|
|
28800
28800
|
)}" with id "${e.id}".`,
|
|
@@ -28808,10 +28808,10 @@ function l5(n) {
|
|
|
28808
28808
|
if (n.static && !e.static) {
|
|
28809
28809
|
const i = oe({
|
|
28810
28810
|
id: `${n.id}--${G.NonStaticPropertyImplementsStatic}`,
|
|
28811
|
-
message: `Static property "${
|
|
28811
|
+
message: `Static property "${B(
|
|
28812
28812
|
n,
|
|
28813
28813
|
n.project
|
|
28814
|
-
)}" with id "${n.id}" implements a non-static property "${
|
|
28814
|
+
)}" with id "${n.id}" implements a non-static property "${B(
|
|
28815
28815
|
e,
|
|
28816
28816
|
n.project
|
|
28817
28817
|
)}" with id "${e.id}".`,
|
|
@@ -28825,10 +28825,10 @@ function l5(n) {
|
|
|
28825
28825
|
if (!n.static && e.static) {
|
|
28826
28826
|
const i = oe({
|
|
28827
28827
|
id: `${n.id}--${G.StaticPropertyImplementsNonStatic}`,
|
|
28828
|
-
message: `Non-static property "${
|
|
28828
|
+
message: `Non-static property "${B(
|
|
28829
28829
|
n,
|
|
28830
28830
|
n.project
|
|
28831
|
-
)}" with id "${n.id}" implements a static property "${
|
|
28831
|
+
)}" with id "${n.id}" implements a static property "${B(
|
|
28832
28832
|
e,
|
|
28833
28833
|
n.project
|
|
28834
28834
|
)}" with id "${e.id}".`,
|
|
@@ -28845,7 +28845,7 @@ function l5(n) {
|
|
|
28845
28845
|
)) {
|
|
28846
28846
|
const i = oe({
|
|
28847
28847
|
id: `${n.id}--${G.PropertyImplementsIncompatibleType}`,
|
|
28848
|
-
message: `Property "${
|
|
28848
|
+
message: `Property "${B(n, n.project)}" with id "${n.id}" implements a property "${B(
|
|
28849
28849
|
e,
|
|
28850
28850
|
n.project
|
|
28851
28851
|
)}" with id "${e.id}" that has an incompatible data type.`,
|
|
@@ -28875,7 +28875,7 @@ function d5(n, s) {
|
|
|
28875
28875
|
else {
|
|
28876
28876
|
const a = _n(i);
|
|
28877
28877
|
if (a) {
|
|
28878
|
-
const o = i !== a ? `The entity of type '${n.type}' with id '${n.id}' have 'parent' with id '${n.parent}' because the entity belongs to a built-in '${a.type}' entity with id '${a.id}' (${
|
|
28878
|
+
const o = i !== a ? `The entity of type '${n.type}' with id '${n.id}' have 'parent' with id '${n.parent}' because the entity belongs to a built-in '${a.type}' entity with id '${a.id}' (${B(
|
|
28879
28879
|
a,
|
|
28880
28880
|
i.project
|
|
28881
28881
|
)}) higher up in the tree.` : `The entity of type '${n.type}' with id '${n.id}' have 'parent' with id '${n.parent}' because it is a built-in entity of type ${a.type}.`;
|
|
@@ -28905,11 +28905,11 @@ function d5(n, s) {
|
|
|
28905
28905
|
if (l.length) {
|
|
28906
28906
|
let d = l.length > 1 ? `The entity of type '${n.type}' with id '${n.id}' can't be added to the 'parent' entity with id '${i.id}' because it extends or implements multiple '${r.BuiltInBaseEntity}' entities that are non-interactive ("${z(
|
|
28907
28907
|
l.map(
|
|
28908
|
-
(p) =>
|
|
28908
|
+
(p) => B(p, p.project)
|
|
28909
28909
|
),
|
|
28910
28910
|
'", "',
|
|
28911
28911
|
'" and "'
|
|
28912
|
-
)}").` : `The entity of type '${n.type}' with id '${n.id}' can't be added to the 'parent' entity with id '${i.id}' because it extends or implements a '${r.BuiltInBaseEntity}' entity that is non-interactive ("${
|
|
28912
|
+
)}").` : `The entity of type '${n.type}' with id '${n.id}' can't be added to the 'parent' entity with id '${i.id}' because it extends or implements a '${r.BuiltInBaseEntity}' entity that is non-interactive ("${B(
|
|
28913
28913
|
l[0],
|
|
28914
28914
|
l[0].project
|
|
28915
28915
|
)}").`;
|
|
@@ -29132,17 +29132,11 @@ ${El}`,
|
|
|
29132
29132
|
this.setParent(o), e.push(o);
|
|
29133
29133
|
else
|
|
29134
29134
|
throw new Error(
|
|
29135
|
-
`${Cn(this.type)} "${
|
|
29136
|
-
this,
|
|
29137
|
-
this.project
|
|
29138
|
-
)}" with id '${this.id}' has a parent reference "${a}" which is missing in the project`
|
|
29135
|
+
`${Cn(this.type)} with id '${this.id}' has a parent reference "${a}" which is missing in the project`
|
|
29139
29136
|
);
|
|
29140
29137
|
} else
|
|
29141
29138
|
throw new Error(
|
|
29142
|
-
`${Cn(this.type)}
|
|
29143
|
-
this,
|
|
29144
|
-
this.project
|
|
29145
|
-
)}" with id '${this.id}' is missing a parent reference`
|
|
29139
|
+
`${Cn(this.type)} with id '${this.id}' is missing a parent reference`
|
|
29146
29140
|
);
|
|
29147
29141
|
if (this.initialData.implements) {
|
|
29148
29142
|
const a = D(this.initialData.implements), o = this.project.get(
|
|
@@ -29571,7 +29565,7 @@ function u5(n) {
|
|
|
29571
29565
|
if (n.id === "getCompanyByIdEndpointReachedEntityEvent") {
|
|
29572
29566
|
const d = oe({
|
|
29573
29567
|
id: `${n.id}--${G.PropertyImplementsNonAbstact}`,
|
|
29574
|
-
message: `Property "${
|
|
29568
|
+
message: `Property "${B(n, n.project)}" with id "${n.id}" implements a non-abstract property "${B(
|
|
29575
29569
|
n,
|
|
29576
29570
|
n.project
|
|
29577
29571
|
)}" with id "${n.id}".`,
|
|
@@ -29589,7 +29583,7 @@ function c5(n) {
|
|
|
29589
29583
|
if (!n.calls.length) {
|
|
29590
29584
|
const e = oe({
|
|
29591
29585
|
id: `${n.id}--${G.ScopeWithoutLogic}`,
|
|
29592
|
-
message: `Action "${
|
|
29586
|
+
message: `Action "${B(n, n.project)}" with id "${n.id}" does not have any logic defined. So it doesn't do anything.`,
|
|
29593
29587
|
issue: null,
|
|
29594
29588
|
severity: T.Warning,
|
|
29595
29589
|
code: G.ScopeWithoutLogic,
|
|
@@ -29715,11 +29709,11 @@ const me = class me extends Ye {
|
|
|
29715
29709
|
if (g.length) {
|
|
29716
29710
|
let A = g.length > 1 ? `The entity of type '${e.type}' with id '${e.id}' can't be added to the 'parent' entity with id '${v.id}' because it extends or implements multiple '${r.BuiltInBaseEntity}' entities that are non-interactive ("${z(
|
|
29717
29711
|
g.map(
|
|
29718
|
-
(I) =>
|
|
29712
|
+
(I) => B(I, I.project)
|
|
29719
29713
|
),
|
|
29720
29714
|
'", "',
|
|
29721
29715
|
'" and "'
|
|
29722
|
-
)}").` : `The entity of type '${e.type}' with id '${e.id}' can't be added to the 'parent' entity with id '${v.id}' because it extends or implements a '${r.BuiltInBaseEntity}' entity that is non-interactive ("${
|
|
29716
|
+
)}").` : `The entity of type '${e.type}' with id '${e.id}' can't be added to the 'parent' entity with id '${v.id}' because it extends or implements a '${r.BuiltInBaseEntity}' entity that is non-interactive ("${B(
|
|
29723
29717
|
g[0],
|
|
29724
29718
|
g[0].project
|
|
29725
29719
|
)}").`;
|
|
@@ -29786,7 +29780,7 @@ If you want to modify the existing implementation, you can update the existing m
|
|
|
29786
29780
|
id: `${e.id}--${m.BuiltInEntityParent}`,
|
|
29787
29781
|
code: m.BuiltInEntityParent,
|
|
29788
29782
|
severity: T.Error,
|
|
29789
|
-
message: `The entity with id '${e.id}' and type '${e.type}', belongs to a built-in system entity "${
|
|
29783
|
+
message: `The entity with id '${e.id}' and type '${e.type}', belongs to a built-in system entity "${B(
|
|
29790
29784
|
h,
|
|
29791
29785
|
t
|
|
29792
29786
|
)}" with id '${h.id}', and therefore it cannot be created as it would affect a built in entity, which are inmutable.`,
|
|
@@ -30320,7 +30314,7 @@ Please consider that any updates might affect the overlap with the signature of
|
|
|
30320
30314
|
} else
|
|
30321
30315
|
return i.forEach((a) => {
|
|
30322
30316
|
e.find(
|
|
30323
|
-
(l) => l === a ||
|
|
30317
|
+
(l) => l === a || B(l, this.project) === B(a, this.project) && hr(l.dataType, a.dataType)
|
|
30324
30318
|
) || e.push(a);
|
|
30325
30319
|
}), f(
|
|
30326
30320
|
e
|
|
@@ -30589,7 +30583,7 @@ ${Mn}`,
|
|
|
30589
30583
|
id: `${e.id}--${m.BuiltInEntityParent}`,
|
|
30590
30584
|
code: m.BuiltInEntityParent,
|
|
30591
30585
|
severity: T.Error,
|
|
30592
|
-
message: `The entity with id '${e.id}' and type '${e.type}', belongs to a built-in system entity "${
|
|
30586
|
+
message: `The entity with id '${e.id}' and type '${e.type}', belongs to a built-in system entity "${B(
|
|
30593
30587
|
d,
|
|
30594
30588
|
t
|
|
30595
30589
|
)}" with id '${d.id}', and therefore it cannot be created as it would affect a built in entity, which are inmutable.`,
|
|
@@ -31095,25 +31089,25 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
|
|
|
31095
31089
|
);
|
|
31096
31090
|
e && y.setParent(e), i && y.subscribe(), y.initChildren();
|
|
31097
31091
|
const v = (g = this.andChildrenGroup) == null ? void 0 : g.map(
|
|
31098
|
-
(
|
|
31092
|
+
(w, Y) => w.clone(
|
|
31099
31093
|
y,
|
|
31100
31094
|
p + "-and-group-data-type-" + Y + "-id",
|
|
31101
31095
|
i
|
|
31102
31096
|
)
|
|
31103
31097
|
), E = (A = this.orChildrenGroup) == null ? void 0 : A.map(
|
|
31104
|
-
(
|
|
31098
|
+
(w, Y) => w.clone(
|
|
31105
31099
|
y,
|
|
31106
31100
|
p + "-or-group-data-type-" + Y + "-id",
|
|
31107
31101
|
i
|
|
31108
31102
|
)
|
|
31109
31103
|
);
|
|
31110
31104
|
if (y.andChildrenGroup = v || null, y.orChildrenGroup = E || null, this.entity && this.entity.type === r.DefinitionEntity && ((I = this.entity) == null ? void 0 : I.parent) === this) {
|
|
31111
|
-
const
|
|
31105
|
+
const w = this.entity.clone(
|
|
31112
31106
|
y,
|
|
31113
31107
|
P.UUID.uuid(),
|
|
31114
31108
|
i
|
|
31115
31109
|
);
|
|
31116
|
-
y.setEntity(
|
|
31110
|
+
y.setEntity(w);
|
|
31117
31111
|
} else
|
|
31118
31112
|
this.entity && y.setEntity(this.entity);
|
|
31119
31113
|
return y;
|
|
@@ -31196,7 +31190,7 @@ Alternatively you can update the entity with 'update' action. Or replace it by f
|
|
|
31196
31190
|
author: "1",
|
|
31197
31191
|
previousVersion: null,
|
|
31198
31192
|
deleted: !1,
|
|
31199
|
-
name:
|
|
31193
|
+
name: B(this.parent, this.project) + " data type definition",
|
|
31200
31194
|
description: ((t = this.parent) == null ? void 0 : t.description) || null,
|
|
31201
31195
|
static: !0,
|
|
31202
31196
|
abstract: !1,
|
|
@@ -31280,7 +31274,7 @@ function f5(n) {
|
|
|
31280
31274
|
if (n.id === "exec-sequentially-operation-call-id") {
|
|
31281
31275
|
const d = oe({
|
|
31282
31276
|
id: `${n.id}--${G.PropertyImplementsNonAbstact}`,
|
|
31283
|
-
message: `Property "${
|
|
31277
|
+
message: `Property "${B(n, n.project)}" with id "${n.id}" implements a non-abstract property "${B(
|
|
31284
31278
|
n,
|
|
31285
31279
|
n.project
|
|
31286
31280
|
)}" with id "${n.id}".`,
|
|
@@ -31388,7 +31382,7 @@ const Te = class Te extends Ye {
|
|
|
31388
31382
|
{
|
|
31389
31383
|
parent: {
|
|
31390
31384
|
list: !1,
|
|
31391
|
-
types: [...
|
|
31385
|
+
types: [...ut, r.Project],
|
|
31392
31386
|
optional: !0
|
|
31393
31387
|
}
|
|
31394
31388
|
// calledByEntry: {
|
|
@@ -31427,7 +31421,7 @@ const Te = class Te extends Ye {
|
|
|
31427
31421
|
const d = `
|
|
31428
31422
|
All built-in 'action-descriptor' entity ids are:
|
|
31429
31423
|
- ${t.operationDeclarations.map(
|
|
31430
|
-
(p) => `${p.id} (${
|
|
31424
|
+
(p) => `${p.id} (${B(p, t)})`
|
|
31431
31425
|
).join(`
|
|
31432
31426
|
- `)}.
|
|
31433
31427
|
`;
|
|
@@ -32173,7 +32167,7 @@ u(Te, "repository", {
|
|
|
32173
32167
|
},
|
|
32174
32168
|
load: async (e, ...t) => null
|
|
32175
32169
|
}), u(Te, "type", r.Operation), u(Te, "USER_MANAGED_PARENT_TYPES", [
|
|
32176
|
-
...
|
|
32170
|
+
...ut,
|
|
32177
32171
|
r.Project
|
|
32178
32172
|
]), u(Te, "PARENT_TYPES", [
|
|
32179
32173
|
...Te.USER_MANAGED_PARENT_TYPES
|
|
@@ -32925,11 +32919,11 @@ const Re = class Re extends Ye {
|
|
|
32925
32919
|
if (h.length) {
|
|
32926
32920
|
let y = h.length > 1 ? `The entity of type '${e.type}' with id '${e.id}' can't be added to the 'parent' entity with id '${d.id}' because it extends or implements multiple '${r.BuiltInBaseEntity}' entities that are non-interactive ("${z(
|
|
32927
32921
|
h.map(
|
|
32928
|
-
(v) =>
|
|
32922
|
+
(v) => B(v, v.project)
|
|
32929
32923
|
),
|
|
32930
32924
|
'", "',
|
|
32931
32925
|
'" and "'
|
|
32932
|
-
)}").` : `The entity of type '${e.type}' with id '${e.id}' can't be added to the 'parent' entity with id '${d.id}' because it extends or implements a '${r.BuiltInBaseEntity}' entity that is non-interactive ("${
|
|
32926
|
+
)}").` : `The entity of type '${e.type}' with id '${e.id}' can't be added to the 'parent' entity with id '${d.id}' because it extends or implements a '${r.BuiltInBaseEntity}' entity that is non-interactive ("${B(
|
|
32933
32927
|
h[0],
|
|
32934
32928
|
h[0].project
|
|
32935
32929
|
)}").`;
|
|
@@ -33922,7 +33916,7 @@ const ee = class ee extends Ye {
|
|
|
33922
33916
|
{
|
|
33923
33917
|
parent: {
|
|
33924
33918
|
list: !1,
|
|
33925
|
-
types: [...
|
|
33919
|
+
types: [...ut, r.Project],
|
|
33926
33920
|
optional: !0
|
|
33927
33921
|
},
|
|
33928
33922
|
// calledByEntry: {
|
|
@@ -33984,7 +33978,7 @@ ${tl(t)}`,
|
|
|
33984
33978
|
};
|
|
33985
33979
|
}
|
|
33986
33980
|
static fromReturnDeclarationToBodyArgumentDeclarationName(e) {
|
|
33987
|
-
return `Previous iteration results of '${
|
|
33981
|
+
return `Previous iteration results of '${B(
|
|
33988
33982
|
e,
|
|
33989
33983
|
e.project
|
|
33990
33984
|
)}'`;
|
|
@@ -33997,7 +33991,7 @@ ${tl(t)}`,
|
|
|
33997
33991
|
return t.slice(0, t.length - 1);
|
|
33998
33992
|
}
|
|
33999
33993
|
static fromReturnDeclarationToLoopOutputDeclarationName(e) {
|
|
34000
|
-
return `Result list of '${
|
|
33994
|
+
return `Result list of '${B(
|
|
34001
33995
|
e,
|
|
34002
33996
|
e.project
|
|
34003
33997
|
)}'`;
|
|
@@ -34676,10 +34670,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
34676
34670
|
}
|
|
34677
34671
|
// The return statements, don't belong to the loop itself, but to the parent scope entity
|
|
34678
34672
|
addReturnStatement(e) {
|
|
34679
|
-
return
|
|
34673
|
+
return Qe.includes(this.parent.type) && this.parent.addReturnStatement(e), this;
|
|
34680
34674
|
}
|
|
34681
34675
|
removeReturnStatement(e) {
|
|
34682
|
-
return
|
|
34676
|
+
return Qe.includes(this.parent.type) && this.parent.removeReturnStatement(e), this;
|
|
34683
34677
|
}
|
|
34684
34678
|
addBreakStatement(e) {
|
|
34685
34679
|
return this.breakStatements.includes(e) || this.breakStatements.push(e), this;
|
|
@@ -34705,7 +34699,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
34705
34699
|
].forEach((i) => {
|
|
34706
34700
|
i.outputs.forEach((o) => {
|
|
34707
34701
|
e.find(
|
|
34708
|
-
(d) => d === o ||
|
|
34702
|
+
(d) => d === o || B(d, this.project) === B(o, this.project) && hr(d.dataType, o.dataType)
|
|
34709
34703
|
) || e.push(o);
|
|
34710
34704
|
});
|
|
34711
34705
|
}), f(
|
|
@@ -34723,7 +34717,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
34723
34717
|
].forEach((l) => {
|
|
34724
34718
|
const d = l.outputs, p = a.filter(
|
|
34725
34719
|
(h) => !d.find(
|
|
34726
|
-
(y) =>
|
|
34720
|
+
(y) => B(h, this.project) === B(y, this.project) && hr(h.dataType, y.dataType)
|
|
34727
34721
|
)
|
|
34728
34722
|
);
|
|
34729
34723
|
p.length && e.push(l), p.forEach((h) => {
|
|
@@ -34767,14 +34761,14 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
34767
34761
|
d.sort((E, g) => E.index - g.index), d.forEach((E) => {
|
|
34768
34762
|
const g = E.getDataType();
|
|
34769
34763
|
let I = p.find(
|
|
34770
|
-
(ie) =>
|
|
34764
|
+
(ie) => B(ie, this.project) === ee.fromReturnDeclarationToBodyArgumentDeclarationName(
|
|
34771
34765
|
E
|
|
34772
34766
|
) && hr(ie.dataType, E.dataType)
|
|
34773
34767
|
);
|
|
34774
34768
|
if (!I) {
|
|
34775
34769
|
const ie = ee.fromReturnDeclarationToBodyArgumentDeclarationName(
|
|
34776
34770
|
E
|
|
34777
|
-
),
|
|
34771
|
+
), ct = {
|
|
34778
34772
|
id: P.UUID.uuid(),
|
|
34779
34773
|
version: "1",
|
|
34780
34774
|
createdAt: L().toDate(),
|
|
@@ -34783,7 +34777,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
34783
34777
|
deleted: !1,
|
|
34784
34778
|
type: r.ArgumentDeclaration,
|
|
34785
34779
|
name: ie,
|
|
34786
|
-
description: `Aggretated list of all previously outputted values from each iteration by the output '${
|
|
34780
|
+
description: `Aggretated list of all previously outputted values from each iteration by the output '${B(
|
|
34787
34781
|
E,
|
|
34788
34782
|
this.project
|
|
34789
34783
|
)}'`,
|
|
@@ -34796,23 +34790,23 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
34796
34790
|
parent: this.body.toReference(),
|
|
34797
34791
|
writesValues: []
|
|
34798
34792
|
}, mt = b(
|
|
34799
|
-
|
|
34793
|
+
ct,
|
|
34800
34794
|
this.project
|
|
34801
34795
|
);
|
|
34802
34796
|
mt.setParent(this.body), mt.initChildren(), mt.addSelfToProject(), t.push(mt), I = mt;
|
|
34803
34797
|
}
|
|
34804
|
-
const
|
|
34798
|
+
const w = this.body.inputs.find(
|
|
34805
34799
|
(ie) => ie.index === I.index && ie !== I
|
|
34806
34800
|
), Y = this.body.inputs.filter(
|
|
34807
34801
|
(ie) => ie !== I
|
|
34808
34802
|
);
|
|
34809
34803
|
let Z = I.index;
|
|
34810
|
-
|
|
34811
|
-
const
|
|
34812
|
-
let X =
|
|
34804
|
+
w && (Z = Math.max(...Y.map((ie) => ie.index)) + 1), I.index !== Z && (I.sync({ index: Z }), e.push(I));
|
|
34805
|
+
const M = I.getDataType();
|
|
34806
|
+
let X = M;
|
|
34813
34807
|
if (g)
|
|
34814
|
-
if (!
|
|
34815
|
-
|
|
34808
|
+
if (!M || !hr(
|
|
34809
|
+
M,
|
|
34816
34810
|
g
|
|
34817
34811
|
)) {
|
|
34818
34812
|
if (!X) {
|
|
@@ -34839,11 +34833,11 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
34839
34833
|
andChildrenGroup: [],
|
|
34840
34834
|
orChildrenGroup: [],
|
|
34841
34835
|
parent: I.toReference()
|
|
34842
|
-
},
|
|
34836
|
+
}, ct = b(
|
|
34843
34837
|
ie,
|
|
34844
34838
|
this.project
|
|
34845
34839
|
);
|
|
34846
|
-
|
|
34840
|
+
ct.sync({ isList: !0 }), ct.setParent(I), ct.initChildren(), ct.addSelfToProject(), t.push(ct);
|
|
34847
34841
|
}
|
|
34848
34842
|
});
|
|
34849
34843
|
const {
|
|
@@ -34873,7 +34867,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
34873
34867
|
}), a.forEach((d) => {
|
|
34874
34868
|
const p = d.getDataType();
|
|
34875
34869
|
let y = o.find(
|
|
34876
|
-
(g) =>
|
|
34870
|
+
(g) => B(g, this.project) === ee.fromReturnDeclarationToLoopOutputDeclarationName(
|
|
34877
34871
|
d
|
|
34878
34872
|
) && hr(g.dataType, d.dataType)
|
|
34879
34873
|
);
|
|
@@ -34889,7 +34883,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
34889
34883
|
deleted: !1,
|
|
34890
34884
|
type: r.ValueDescriptor,
|
|
34891
34885
|
name: g,
|
|
34892
|
-
description: `Aggretated list of all previously outputted values from each iteration by the output '${
|
|
34886
|
+
description: `Aggretated list of all previously outputted values from each iteration by the output '${B(
|
|
34893
34887
|
d,
|
|
34894
34888
|
this.project
|
|
34895
34889
|
)}'`,
|
|
@@ -34946,7 +34940,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
34946
34940
|
}
|
|
34947
34941
|
}), o.filter(
|
|
34948
34942
|
(d) => !a.find(
|
|
34949
|
-
(h) =>
|
|
34943
|
+
(h) => B(d, this.project) === ee.fromReturnDeclarationToLoopOutputDeclarationName(h)
|
|
34950
34944
|
)
|
|
34951
34945
|
).forEach((d) => {
|
|
34952
34946
|
const { affected: p, removed: h } = d.remove({
|
|
@@ -35103,7 +35097,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
35103
35097
|
removeExtraBodyArgumentDeclarations() {
|
|
35104
35098
|
const e = [], t = [], i = [], a = this.body.inputs, o = this.getUniqueReturnDeclarations();
|
|
35105
35099
|
return a.filter((d) => d === this.currentIterationNumberArgumentDeclaration || d === this.currentValueArgumentDeclaration ? !1 : !o.find(
|
|
35106
|
-
(h) =>
|
|
35100
|
+
(h) => B(d, this.project) === ee.fromReturnDeclarationToBodyArgumentDeclarationName(h)
|
|
35107
35101
|
)).forEach((d) => {
|
|
35108
35102
|
const { affected: p, removed: h } = d.remove({
|
|
35109
35103
|
ignoreUpstream: !1,
|
|
@@ -35132,12 +35126,12 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
35132
35126
|
switch (this.declaration.id) {
|
|
35133
35127
|
case J.List: {
|
|
35134
35128
|
const E = this.body.inputs.find((I) => {
|
|
35135
|
-
var
|
|
35136
|
-
return ((
|
|
35129
|
+
var w;
|
|
35130
|
+
return ((w = I.implements) == null ? void 0 : w.id) === _[r.Loop][J.List].body.inputs.currentValue.id;
|
|
35137
35131
|
}), g = this.inputs.find(
|
|
35138
35132
|
(I) => {
|
|
35139
|
-
var
|
|
35140
|
-
return ((
|
|
35133
|
+
var w;
|
|
35134
|
+
return ((w = I.declaration) == null ? void 0 : w.id) === _[r.Loop][J.List].inputs.list.id;
|
|
35141
35135
|
}
|
|
35142
35136
|
);
|
|
35143
35137
|
if (!g)
|
|
@@ -35151,7 +35145,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
35151
35145
|
A && (!E.implements || E.implements.id !== A.id) && (E.setImplements(A), e.push(E));
|
|
35152
35146
|
let Y = E.getDataType();
|
|
35153
35147
|
if (!Y) {
|
|
35154
|
-
const
|
|
35148
|
+
const M = {
|
|
35155
35149
|
id: P.UUID.uuid(),
|
|
35156
35150
|
version: "1",
|
|
35157
35151
|
createdAt: L().toDate(),
|
|
@@ -35168,7 +35162,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
35168
35162
|
orChildrenGroup: [],
|
|
35169
35163
|
parent: I.toReference()
|
|
35170
35164
|
}, X = b(
|
|
35171
|
-
|
|
35165
|
+
M,
|
|
35172
35166
|
this.project
|
|
35173
35167
|
);
|
|
35174
35168
|
X.setParent(I), X.initChildren(), X.addSelfToProject(), t.push(X), Y = X;
|
|
@@ -35194,11 +35188,11 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
35194
35188
|
writesValues: [],
|
|
35195
35189
|
dataType: null,
|
|
35196
35190
|
parent: this.body.toReference()
|
|
35197
|
-
},
|
|
35191
|
+
}, w = b(
|
|
35198
35192
|
I,
|
|
35199
35193
|
this.project
|
|
35200
35194
|
);
|
|
35201
|
-
|
|
35195
|
+
w.initChildren(), w.setParent(this.body), w.addSelfToProject(), A && (!w.implements || w.implements.id !== A.id) && (w.setImplements(A), e.push(w)), t.push(w), this.currentValueArgumentDeclaration = w;
|
|
35202
35196
|
}
|
|
35203
35197
|
break;
|
|
35204
35198
|
}
|
|
@@ -35212,12 +35206,12 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
35212
35206
|
}
|
|
35213
35207
|
case J.ObjectKeys: {
|
|
35214
35208
|
const E = this.body.inputs.find((I) => {
|
|
35215
|
-
var
|
|
35216
|
-
return ((
|
|
35209
|
+
var w;
|
|
35210
|
+
return ((w = I.implements) == null ? void 0 : w.id) === _[r.Loop][J.ObjectKeys].body.inputs.currentValue.id;
|
|
35217
35211
|
});
|
|
35218
35212
|
if (!this.inputs.find((I) => {
|
|
35219
|
-
var
|
|
35220
|
-
return ((
|
|
35213
|
+
var w;
|
|
35214
|
+
return ((w = I.declaration) == null ? void 0 : w.id) === _[r.Loop][J.ObjectKeys].inputs.object.id;
|
|
35221
35215
|
}))
|
|
35222
35216
|
break;
|
|
35223
35217
|
const A = this.getCurrentValueBuiltInValueDescriptor();
|
|
@@ -35250,11 +35244,11 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
35250
35244
|
andChildrenGroup: [],
|
|
35251
35245
|
orChildrenGroup: [],
|
|
35252
35246
|
parent: I.toReference()
|
|
35253
|
-
},
|
|
35247
|
+
}, M = b(
|
|
35254
35248
|
Z,
|
|
35255
35249
|
this.project
|
|
35256
35250
|
);
|
|
35257
|
-
|
|
35251
|
+
M.setParent(I), M.initChildren(), M.addSelfToProject(), Y = M;
|
|
35258
35252
|
}
|
|
35259
35253
|
} else {
|
|
35260
35254
|
const I = {
|
|
@@ -35275,21 +35269,21 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
35275
35269
|
writesValues: [],
|
|
35276
35270
|
dataType: null,
|
|
35277
35271
|
parent: this.body.toReference()
|
|
35278
|
-
},
|
|
35272
|
+
}, w = b(
|
|
35279
35273
|
I,
|
|
35280
35274
|
this.project
|
|
35281
35275
|
);
|
|
35282
|
-
|
|
35276
|
+
w.initChildren(), w.setParent(this.body), w.addSelfToProject(), A && (!w.implements || w.implements.id !== A.id) && (w.setImplements(A), e.push(w)), t.push(w), this.currentValueArgumentDeclaration = w;
|
|
35283
35277
|
}
|
|
35284
35278
|
break;
|
|
35285
35279
|
}
|
|
35286
35280
|
case J.ObjectValues: {
|
|
35287
35281
|
const E = this.body.inputs.find((I) => {
|
|
35288
|
-
var
|
|
35289
|
-
return ((
|
|
35282
|
+
var w;
|
|
35283
|
+
return ((w = I.implements) == null ? void 0 : w.id) === _[r.Loop][J.ObjectValues].body.inputs.currentValue.id;
|
|
35290
35284
|
}), g = this.inputs.find((I) => {
|
|
35291
|
-
var
|
|
35292
|
-
return ((
|
|
35285
|
+
var w;
|
|
35286
|
+
return ((w = I.declaration) == null ? void 0 : w.id) === _[r.Loop][J.ObjectValues].inputs.object.id;
|
|
35293
35287
|
});
|
|
35294
35288
|
if (!g)
|
|
35295
35289
|
break;
|
|
@@ -35302,24 +35296,24 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
35302
35296
|
A && (!E.implements || E.implements.id !== A.id) && (E.setImplements(A), e.push(E));
|
|
35303
35297
|
let Y = E.getDataType();
|
|
35304
35298
|
if (Y) {
|
|
35305
|
-
const Z = g.getDataType(),
|
|
35299
|
+
const Z = g.getDataType(), M = ((h = Z == null ? void 0 : Z.entity) == null ? void 0 : h.properties) || [];
|
|
35306
35300
|
(y = Y.orChildrenGroup) == null || y.forEach((X) => {
|
|
35307
|
-
const { affected: ie, removed:
|
|
35301
|
+
const { affected: ie, removed: ct } = X.remove({
|
|
35308
35302
|
ignoreUpstream: !1,
|
|
35309
35303
|
seenEntities: /* @__PURE__ */ new Set()
|
|
35310
35304
|
});
|
|
35311
|
-
e.push(...ie), i.push(...
|
|
35312
|
-
}),
|
|
35305
|
+
e.push(...ie), i.push(...ct);
|
|
35306
|
+
}), M.forEach((X) => {
|
|
35313
35307
|
const ie = X.getDataType();
|
|
35314
35308
|
if (ie) {
|
|
35315
|
-
const
|
|
35309
|
+
const ct = ie.clone(
|
|
35316
35310
|
Y
|
|
35317
35311
|
);
|
|
35318
|
-
|
|
35312
|
+
ct.sync({
|
|
35319
35313
|
parentRelationType: yt.OrDataTypeGroup
|
|
35320
|
-
}),
|
|
35314
|
+
}), ct.addSelfToProject(), t.push(ct);
|
|
35321
35315
|
} else {
|
|
35322
|
-
const
|
|
35316
|
+
const ct = {
|
|
35323
35317
|
id: P.UUID.uuid(),
|
|
35324
35318
|
version: "1",
|
|
35325
35319
|
createdAt: L().toDate(),
|
|
@@ -35337,7 +35331,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
35337
35331
|
parentRelationType: yt.OrDataTypeGroup,
|
|
35338
35332
|
parent: Y.toReference()
|
|
35339
35333
|
}, mt = b(
|
|
35340
|
-
|
|
35334
|
+
ct,
|
|
35341
35335
|
this.project
|
|
35342
35336
|
);
|
|
35343
35337
|
mt.setParent(Y), mt.initChildren(), mt.addSelfToProject(), t.push(mt);
|
|
@@ -35360,17 +35354,17 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
35360
35354
|
andChildrenGroup: [],
|
|
35361
35355
|
orChildrenGroup: [],
|
|
35362
35356
|
parent: I.toReference()
|
|
35363
|
-
},
|
|
35357
|
+
}, M = b(
|
|
35364
35358
|
Z,
|
|
35365
35359
|
this.project
|
|
35366
35360
|
);
|
|
35367
|
-
|
|
35361
|
+
M.setParent(I), M.initChildren(), M.addSelfToProject(), Y = M;
|
|
35368
35362
|
const X = g.getDataType();
|
|
35369
|
-
(((p = X == null ? void 0 : X.entity) == null ? void 0 : p.properties) || []).forEach((
|
|
35370
|
-
const mt =
|
|
35363
|
+
(((p = X == null ? void 0 : X.entity) == null ? void 0 : p.properties) || []).forEach((ct) => {
|
|
35364
|
+
const mt = ct.getDataType();
|
|
35371
35365
|
if (mt) {
|
|
35372
35366
|
const nr = mt.clone(
|
|
35373
|
-
|
|
35367
|
+
M
|
|
35374
35368
|
);
|
|
35375
35369
|
nr.sync({
|
|
35376
35370
|
parentRelationType: yt.OrDataTypeGroup
|
|
@@ -35392,12 +35386,12 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
35392
35386
|
andChildrenGroup: [],
|
|
35393
35387
|
orChildrenGroup: [],
|
|
35394
35388
|
parentRelationType: yt.OrDataTypeGroup,
|
|
35395
|
-
parent:
|
|
35389
|
+
parent: M.toReference()
|
|
35396
35390
|
}, st = b(
|
|
35397
35391
|
nr,
|
|
35398
35392
|
this.project
|
|
35399
35393
|
);
|
|
35400
|
-
st.setParent(
|
|
35394
|
+
st.setParent(M), st.initChildren(), st.addSelfToProject(), t.push(st);
|
|
35401
35395
|
}
|
|
35402
35396
|
});
|
|
35403
35397
|
}
|
|
@@ -35420,22 +35414,22 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
35420
35414
|
writesValues: [],
|
|
35421
35415
|
dataType: null,
|
|
35422
35416
|
parent: this.body.toReference()
|
|
35423
|
-
},
|
|
35417
|
+
}, w = b(
|
|
35424
35418
|
I,
|
|
35425
35419
|
this.project
|
|
35426
35420
|
);
|
|
35427
|
-
|
|
35421
|
+
w.initChildren(), w.setParent(this.body), w.addSelfToProject(), A && (!w.implements || w.implements.id !== A.id) && (w.setImplements(A), e.push(w)), t.push(w), this.currentValueArgumentDeclaration = w;
|
|
35428
35422
|
}
|
|
35429
35423
|
break;
|
|
35430
35424
|
}
|
|
35431
35425
|
case J.String: {
|
|
35432
35426
|
const E = this.body.inputs.find((I) => {
|
|
35433
|
-
var
|
|
35434
|
-
return ((
|
|
35427
|
+
var w;
|
|
35428
|
+
return ((w = I.implements) == null ? void 0 : w.id) === _[r.Loop][J.String].body.inputs.currentValue.id;
|
|
35435
35429
|
});
|
|
35436
35430
|
if (!this.inputs.find((I) => {
|
|
35437
|
-
var
|
|
35438
|
-
return ((
|
|
35431
|
+
var w;
|
|
35432
|
+
return ((w = I.declaration) == null ? void 0 : w.id) === _[r.Loop][J.String].inputs.string.id;
|
|
35439
35433
|
}))
|
|
35440
35434
|
break;
|
|
35441
35435
|
const A = this.getCurrentValueBuiltInValueDescriptor();
|
|
@@ -35468,11 +35462,11 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
35468
35462
|
andChildrenGroup: [],
|
|
35469
35463
|
orChildrenGroup: [],
|
|
35470
35464
|
parent: I.toReference()
|
|
35471
|
-
},
|
|
35465
|
+
}, M = b(
|
|
35472
35466
|
Z,
|
|
35473
35467
|
this.project
|
|
35474
35468
|
);
|
|
35475
|
-
|
|
35469
|
+
M.setParent(I), M.initChildren(), M.addSelfToProject(), t.push(M), Y = M;
|
|
35476
35470
|
}
|
|
35477
35471
|
} else {
|
|
35478
35472
|
const I = {
|
|
@@ -35493,11 +35487,11 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
35493
35487
|
writesValues: [],
|
|
35494
35488
|
dataType: null,
|
|
35495
35489
|
parent: this.body.toReference()
|
|
35496
|
-
},
|
|
35490
|
+
}, w = b(
|
|
35497
35491
|
I,
|
|
35498
35492
|
this.project
|
|
35499
35493
|
);
|
|
35500
|
-
|
|
35494
|
+
w.initChildren(), w.setParent(this.body), w.addSelfToProject(), A && (!w.implements || w.implements.id !== A.id) && (w.setImplements(A), e.push(w)), t.push(w), this.currentValueArgumentDeclaration = w;
|
|
35501
35495
|
}
|
|
35502
35496
|
break;
|
|
35503
35497
|
}
|
|
@@ -35847,23 +35841,23 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
35847
35841
|
} = this.syncBodyArgumentsDeclarations();
|
|
35848
35842
|
e.push(...g), t.push(...A), i.push(...I);
|
|
35849
35843
|
const {
|
|
35850
|
-
updated:
|
|
35844
|
+
updated: w,
|
|
35851
35845
|
added: Y,
|
|
35852
35846
|
removed: Z
|
|
35853
35847
|
} = this.syncBodyInputIndexes();
|
|
35854
|
-
e.push(...
|
|
35848
|
+
e.push(...w), t.push(...Y), i.push(...Z);
|
|
35855
35849
|
const {
|
|
35856
|
-
updated:
|
|
35850
|
+
updated: M,
|
|
35857
35851
|
added: X,
|
|
35858
35852
|
removed: ie
|
|
35859
35853
|
} = this.syncOutputsDeclarations();
|
|
35860
|
-
e.push(...
|
|
35854
|
+
e.push(...M), t.push(...X), i.push(...ie);
|
|
35861
35855
|
const {
|
|
35862
|
-
updated:
|
|
35856
|
+
updated: ct,
|
|
35863
35857
|
added: mt,
|
|
35864
35858
|
removed: nr
|
|
35865
35859
|
} = this.syncOutputMaps();
|
|
35866
|
-
return e.push(...
|
|
35860
|
+
return e.push(...ct), t.push(...mt), i.push(...nr), {
|
|
35867
35861
|
self: this,
|
|
35868
35862
|
updated: f(e),
|
|
35869
35863
|
added: f(t),
|
|
@@ -35878,7 +35872,7 @@ u(ee, "repository", {
|
|
|
35878
35872
|
},
|
|
35879
35873
|
load: async (e, ...t) => null
|
|
35880
35874
|
}), u(ee, "type", r.Loop), u(ee, "USER_MANAGED_PARENT_TYPES", [
|
|
35881
|
-
...
|
|
35875
|
+
...ut,
|
|
35882
35876
|
r.Project
|
|
35883
35877
|
]), u(ee, "PARENT_TYPES", [
|
|
35884
35878
|
...xe.USER_MANAGED_PARENT_TYPES
|
|
@@ -36017,7 +36011,7 @@ const we = class we extends Ye {
|
|
|
36017
36011
|
{
|
|
36018
36012
|
parent: {
|
|
36019
36013
|
list: !1,
|
|
36020
|
-
types: [...
|
|
36014
|
+
types: [...ut, r.Project],
|
|
36021
36015
|
optional: !0
|
|
36022
36016
|
}
|
|
36023
36017
|
// calledByEntry: {
|
|
@@ -36097,17 +36091,11 @@ If an entity is called by another, they must be in the same scope, which means t
|
|
|
36097
36091
|
this.setParent(o), e.push(o);
|
|
36098
36092
|
else
|
|
36099
36093
|
throw new Error(
|
|
36100
|
-
`${Cn(this.type)} "${
|
|
36101
|
-
this,
|
|
36102
|
-
this.project
|
|
36103
|
-
)}" with id '${this.id}' has a parent reference "${a}" which is missing in the project`
|
|
36094
|
+
`${Cn(this.type)} with id '${this.id}' has a parent reference "${a}" which is missing in the project`
|
|
36104
36095
|
);
|
|
36105
36096
|
} else
|
|
36106
36097
|
throw new Error(
|
|
36107
|
-
`${Cn(this.type)}
|
|
36108
|
-
this,
|
|
36109
|
-
this.project
|
|
36110
|
-
)}" with id '${this.id}' is missing a parent reference`
|
|
36098
|
+
`${Cn(this.type)} with id '${this.id}' is missing a parent reference`
|
|
36111
36099
|
);
|
|
36112
36100
|
if (this.initialData.declaration) {
|
|
36113
36101
|
const a = D(
|
|
@@ -36626,7 +36614,7 @@ u(we, "repository", {
|
|
|
36626
36614
|
},
|
|
36627
36615
|
load: async (e, ...t) => null
|
|
36628
36616
|
}), u(we, "type", r.Condition), u(we, "USER_MANAGED_PARENT_TYPES", [
|
|
36629
|
-
...
|
|
36617
|
+
...ut,
|
|
36630
36618
|
r.Project
|
|
36631
36619
|
]), u(we, "PARENT_TYPES", [
|
|
36632
36620
|
...we.USER_MANAGED_PARENT_TYPES
|
|
@@ -36672,7 +36660,7 @@ function g5(n) {
|
|
|
36672
36660
|
if (n.id === "random-company-employee-test-variable-id") {
|
|
36673
36661
|
const d = oe({
|
|
36674
36662
|
id: `${n.id}--${G.PropertyImplementsNonAbstact}`,
|
|
36675
|
-
message: `Property "${
|
|
36663
|
+
message: `Property "${B(n, n.project)}" with id "${n.id}" implements a non-abstract property "${B(
|
|
36676
36664
|
n,
|
|
36677
36665
|
n.project
|
|
36678
36666
|
)}" with id "${n.id}".`,
|
|
@@ -36686,7 +36674,7 @@ function g5(n) {
|
|
|
36686
36674
|
if (n.id === "company-dto-variable-one-id") {
|
|
36687
36675
|
const d = oe({
|
|
36688
36676
|
id: `${n.id}--${G.PropertyImplementsNonAbstact}`,
|
|
36689
|
-
message: `Property "${
|
|
36677
|
+
message: `Property "${B(n, n.project)}" with id "${n.id}" implements a non-abstract property "${B(
|
|
36690
36678
|
n,
|
|
36691
36679
|
n.project
|
|
36692
36680
|
)}" with id "${n.id}".`,
|
|
@@ -36810,7 +36798,7 @@ const be = class be extends Ye {
|
|
|
36810
36798
|
{
|
|
36811
36799
|
parent: {
|
|
36812
36800
|
list: !1,
|
|
36813
|
-
types: [...
|
|
36801
|
+
types: [...ut, r.Project],
|
|
36814
36802
|
optional: !0
|
|
36815
36803
|
}
|
|
36816
36804
|
// calledByEntry: {
|
|
@@ -37114,7 +37102,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
37114
37102
|
...this.inputs,
|
|
37115
37103
|
...this.variableInstances.flatMap((a) => a.inputs)
|
|
37116
37104
|
]).find(
|
|
37117
|
-
(a) =>
|
|
37105
|
+
(a) => B(a, this.project) === B(e, this.project) && !!a.readsValue
|
|
37118
37106
|
) || e;
|
|
37119
37107
|
}
|
|
37120
37108
|
// On dynamically typed variable declarations, where any new property can be written to any of the instances,
|
|
@@ -37162,7 +37150,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
37162
37150
|
]), t = [];
|
|
37163
37151
|
return e.forEach((o) => {
|
|
37164
37152
|
t.find(
|
|
37165
|
-
(d) =>
|
|
37153
|
+
(d) => B(d, this.project) === B(o, this.project)
|
|
37166
37154
|
) || t.push(o);
|
|
37167
37155
|
}), t.length ? ((a = this.dataType) == null || a.inferFromInputs(t), this.dataType ? (this.generateUnusedInputs(), this.generateUnusedOutputs(), this.variableInstances.forEach((o) => {
|
|
37168
37156
|
o.generateUnusedInputs(), o.generateUnusedOutputs();
|
|
@@ -37587,7 +37575,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
37587
37575
|
return this.defaultValue = e, this;
|
|
37588
37576
|
}
|
|
37589
37577
|
clone(e = null, t = null, i = !0) {
|
|
37590
|
-
var I,
|
|
37578
|
+
var I, w, Y, Z, M;
|
|
37591
37579
|
let a = at(e, this);
|
|
37592
37580
|
const o = this.toJSON(), l = t || P.UUID.uuid();
|
|
37593
37581
|
o.inputs = [];
|
|
@@ -37604,7 +37592,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
37604
37592
|
i
|
|
37605
37593
|
);
|
|
37606
37594
|
h.dataType = y || null;
|
|
37607
|
-
const v = (
|
|
37595
|
+
const v = (w = this.defaultValue) == null ? void 0 : w.clone(
|
|
37608
37596
|
h,
|
|
37609
37597
|
p + "-default-value-id",
|
|
37610
37598
|
i
|
|
@@ -37626,7 +37614,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
37626
37614
|
)
|
|
37627
37615
|
);
|
|
37628
37616
|
h.outputs = g;
|
|
37629
|
-
const A = (
|
|
37617
|
+
const A = (M = this.internalCalls) == null ? void 0 : M.map(
|
|
37630
37618
|
(X, ie) => X.clone(
|
|
37631
37619
|
h,
|
|
37632
37620
|
p + "-internal-call-" + ie + "-id",
|
|
@@ -37688,7 +37676,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
37688
37676
|
(o) => !o.getDataType()
|
|
37689
37677
|
).forEach((o) => {
|
|
37690
37678
|
const l = this.inputs.find(
|
|
37691
|
-
(h) =>
|
|
37679
|
+
(h) => B(h, this.project) === B(o, this.project)
|
|
37692
37680
|
);
|
|
37693
37681
|
if (!l)
|
|
37694
37682
|
return;
|
|
@@ -37731,7 +37719,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
37731
37719
|
(o) => !o.declaration
|
|
37732
37720
|
).forEach((o) => {
|
|
37733
37721
|
const l = e.find(
|
|
37734
|
-
(d) =>
|
|
37722
|
+
(d) => B(d, this.project) === B(o, this.project)
|
|
37735
37723
|
);
|
|
37736
37724
|
l && o.setDeclaration(l);
|
|
37737
37725
|
});
|
|
@@ -37838,7 +37826,7 @@ u(be, "repository", {
|
|
|
37838
37826
|
},
|
|
37839
37827
|
load: async (e, ...t) => null
|
|
37840
37828
|
}), u(be, "type", r.VariableDeclaration), u(be, "USER_MANAGED_PARENT_TYPES", [
|
|
37841
|
-
...
|
|
37829
|
+
...ut,
|
|
37842
37830
|
r.Project
|
|
37843
37831
|
]), u(be, "PARENT_TYPES", [
|
|
37844
37832
|
...be.USER_MANAGED_PARENT_TYPES
|
|
@@ -37889,7 +37877,7 @@ function I5(n) {
|
|
|
37889
37877
|
if (n.id === "exec-sequentially-result-variable-id") {
|
|
37890
37878
|
const l = oe({
|
|
37891
37879
|
id: `${n.id}--${G.PropertyImplementsNonAbstact}`,
|
|
37892
|
-
message: `Property "${
|
|
37880
|
+
message: `Property "${B(n, n.project)}" with id "${n.id}" implements a non-abstract property "${B(
|
|
37893
37881
|
n,
|
|
37894
37882
|
n.project
|
|
37895
37883
|
)}" with id "${n.id}".`,
|
|
@@ -38005,7 +37993,7 @@ const ge = class ge extends Ye {
|
|
|
38005
37993
|
{
|
|
38006
37994
|
parent: {
|
|
38007
37995
|
list: !1,
|
|
38008
|
-
types: [...
|
|
37996
|
+
types: [...ut, r.Project],
|
|
38009
37997
|
optional: !0
|
|
38010
37998
|
},
|
|
38011
37999
|
// calledByEntry: {
|
|
@@ -38718,7 +38706,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
38718
38706
|
return this.defaultValue = e, this;
|
|
38719
38707
|
}
|
|
38720
38708
|
clone(e = null, t = null, i = !0) {
|
|
38721
|
-
var A, I,
|
|
38709
|
+
var A, I, w, Y;
|
|
38722
38710
|
let a = at(e, this);
|
|
38723
38711
|
const o = this.toJSON(), l = t || P.UUID.uuid();
|
|
38724
38712
|
o.inputs = [];
|
|
@@ -38736,25 +38724,25 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
38736
38724
|
);
|
|
38737
38725
|
h.defaultValue = y || null;
|
|
38738
38726
|
const v = (I = this.inputs) == null ? void 0 : I.map(
|
|
38739
|
-
(Z,
|
|
38727
|
+
(Z, M) => Z.clone(
|
|
38740
38728
|
h,
|
|
38741
|
-
p + "-input-map-" +
|
|
38729
|
+
p + "-input-map-" + M + "-id",
|
|
38742
38730
|
i
|
|
38743
38731
|
)
|
|
38744
38732
|
);
|
|
38745
38733
|
h.inputs = v;
|
|
38746
|
-
const E = (
|
|
38747
|
-
(Z,
|
|
38734
|
+
const E = (w = this.outputs) == null ? void 0 : w.map(
|
|
38735
|
+
(Z, M) => Z.clone(
|
|
38748
38736
|
h,
|
|
38749
|
-
p + "-output-map-" +
|
|
38737
|
+
p + "-output-map-" + M + "-id",
|
|
38750
38738
|
i
|
|
38751
38739
|
)
|
|
38752
38740
|
);
|
|
38753
38741
|
h.outputs = E;
|
|
38754
38742
|
const g = (Y = this.internalCalls) == null ? void 0 : Y.map(
|
|
38755
|
-
(Z,
|
|
38743
|
+
(Z, M) => Z.clone(
|
|
38756
38744
|
h,
|
|
38757
|
-
p + "-internal-call-" +
|
|
38745
|
+
p + "-internal-call-" + M + "-id",
|
|
38758
38746
|
i
|
|
38759
38747
|
)
|
|
38760
38748
|
);
|
|
@@ -38785,7 +38773,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
38785
38773
|
(o) => !o.getDataType()
|
|
38786
38774
|
).forEach((o) => {
|
|
38787
38775
|
const l = this.inputs.find(
|
|
38788
|
-
(h) =>
|
|
38776
|
+
(h) => B(h, this.project) === B(o, this.project)
|
|
38789
38777
|
);
|
|
38790
38778
|
if (!l)
|
|
38791
38779
|
return;
|
|
@@ -38828,7 +38816,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
38828
38816
|
(o) => !o.declaration
|
|
38829
38817
|
).forEach((o) => {
|
|
38830
38818
|
const l = e.find(
|
|
38831
|
-
(d) =>
|
|
38819
|
+
(d) => B(d, this.project) === B(o, this.project)
|
|
38832
38820
|
);
|
|
38833
38821
|
l && o.setDeclaration(l);
|
|
38834
38822
|
});
|
|
@@ -38930,7 +38918,7 @@ u(ge, "repository", {
|
|
|
38930
38918
|
},
|
|
38931
38919
|
load: async (e, ...t) => null
|
|
38932
38920
|
}), u(ge, "type", r.VariableInstance), u(ge, "USER_MANAGED_PARENT_TYPES", [
|
|
38933
|
-
...
|
|
38921
|
+
...ut,
|
|
38934
38922
|
r.Project
|
|
38935
38923
|
]), u(ge, "PARENT_TYPES", [
|
|
38936
38924
|
...ge.USER_MANAGED_PARENT_TYPES
|
|
@@ -38982,7 +38970,7 @@ function A5(n) {
|
|
|
38982
38970
|
if (n.id === "iterate-over-employee-list-continue-statement-employee-dto-output-decl-id") {
|
|
38983
38971
|
const o = oe({
|
|
38984
38972
|
id: `${n.id}--${G.PropertyImplementsNonAbstact}`,
|
|
38985
|
-
message: `Property "${
|
|
38973
|
+
message: `Property "${B(n, n.project)}" with id "${n.id}" implements a non-abstract property "${B(
|
|
38986
38974
|
n,
|
|
38987
38975
|
n.project
|
|
38988
38976
|
)}" with id "${n.id}".`,
|
|
@@ -39137,7 +39125,7 @@ ${Mc}`,
|
|
|
39137
39125
|
}
|
|
39138
39126
|
} else if (h && h.type === r.ReturnStatement) {
|
|
39139
39127
|
const y = h.parent;
|
|
39140
|
-
if (y &&
|
|
39128
|
+
if (y && Qe.includes(y.type)) {
|
|
39141
39129
|
const v = y.implements;
|
|
39142
39130
|
if (v) {
|
|
39143
39131
|
const E = v.outputs.find(
|
|
@@ -39148,7 +39136,7 @@ ${Mc}`,
|
|
|
39148
39136
|
(Z) => Z.type === r.ReturnDeclaration
|
|
39149
39137
|
), I = A.find(
|
|
39150
39138
|
(Z) => Z.name === i.name
|
|
39151
|
-
),
|
|
39139
|
+
), w = A.length ? `The parent entity already implements the following return declarations: ${z(
|
|
39152
39140
|
A.map(
|
|
39153
39141
|
(Z) => `'${Z.id}' (${Z.name})`
|
|
39154
39142
|
),
|
|
@@ -39168,7 +39156,7 @@ ${Mc}`,
|
|
|
39168
39156
|
severity: T.Error,
|
|
39169
39157
|
message: `Entity of type '${r.ReturnDeclaration}' with id '${i.id}' should not exist in a parent entity of type '${h.type}' with id '${h.id}' that implements a ${r.ActionDescriptor} with fixed outputs.
|
|
39170
39158
|
Adding a new return would make the implementation invalid. An return with the same name already exists in the parent entity.
|
|
39171
|
-
${
|
|
39159
|
+
${w}
|
|
39172
39160
|
${Y}`,
|
|
39173
39161
|
issue: null
|
|
39174
39162
|
})
|
|
@@ -39179,7 +39167,7 @@ ${Y}`,
|
|
|
39179
39167
|
severity: T.Error,
|
|
39180
39168
|
message: `Entity of type '${r.ReturnDeclaration}' with id '${i.id}' should not exist in a parent entity of type '${h.type}' with id '${h.id}' that implements a ${r.ActionDescriptor} with fixed outputs.
|
|
39181
39169
|
Adding a new return would make the implementation invalid. There are no returns in the descriptor with the same name.
|
|
39182
|
-
${
|
|
39170
|
+
${w}
|
|
39183
39171
|
${Y}`,
|
|
39184
39172
|
issue: null
|
|
39185
39173
|
})
|
|
@@ -39639,7 +39627,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
39639
39627
|
...t.breakStatements,
|
|
39640
39628
|
...t.continueStatements
|
|
39641
39629
|
].flatMap((o) => o.outputs).filter(
|
|
39642
|
-
(o) =>
|
|
39630
|
+
(o) => B(o, this.project) === B(this, this.project) && o.id !== this.id
|
|
39643
39631
|
);
|
|
39644
39632
|
} else if (this.parent.type === r.ReturnStatement && [r.FunctionDeclaration, r.GlobalEvent].includes(
|
|
39645
39633
|
this.parent.parent.type
|
|
@@ -39653,7 +39641,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
39653
39641
|
return this.implements.id === ((l = o.implements) == null ? void 0 : l.id);
|
|
39654
39642
|
}
|
|
39655
39643
|
) : e = i.filter(
|
|
39656
|
-
(o) =>
|
|
39644
|
+
(o) => B(o, this.project) === B(this, this.project) && o.id !== this.id
|
|
39657
39645
|
);
|
|
39658
39646
|
}
|
|
39659
39647
|
return e;
|
|
@@ -39735,7 +39723,7 @@ function D5(n) {
|
|
|
39735
39723
|
if (n.id === "search-person-by-id-id") {
|
|
39736
39724
|
const l = oe({
|
|
39737
39725
|
id: `${n.id}--${G.PropertyImplementsNonAbstact}`,
|
|
39738
|
-
message: `Property "${
|
|
39726
|
+
message: `Property "${B(n, n.project)}" with id "${n.id}" implements a non-abstract property "${B(
|
|
39739
39727
|
n,
|
|
39740
39728
|
n.project
|
|
39741
39729
|
)}" with id "${n.id}".`,
|
|
@@ -39841,7 +39829,7 @@ const Le = class Le extends Ye {
|
|
|
39841
39829
|
{
|
|
39842
39830
|
parent: {
|
|
39843
39831
|
list: !1,
|
|
39844
|
-
types: [...
|
|
39832
|
+
types: [...ut, r.Project],
|
|
39845
39833
|
optional: !0
|
|
39846
39834
|
}
|
|
39847
39835
|
},
|
|
@@ -40469,7 +40457,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
40469
40457
|
return this.errors;
|
|
40470
40458
|
}
|
|
40471
40459
|
clone(e = null, t = null, i = !0) {
|
|
40472
|
-
var A, I,
|
|
40460
|
+
var A, I, w, Y;
|
|
40473
40461
|
let a = at(e, this);
|
|
40474
40462
|
const o = this.toJSON(), l = t || P.UUID.uuid();
|
|
40475
40463
|
o.inputs = [];
|
|
@@ -40481,33 +40469,33 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
40481
40469
|
);
|
|
40482
40470
|
e ? h.setParent(e) : h.setParent(this.parent), i && h.subscribe(), h.initChildren();
|
|
40483
40471
|
const y = (A = this.inputsDeclarations) == null ? void 0 : A.map(
|
|
40484
|
-
(Z,
|
|
40472
|
+
(Z, M) => Z.clone(
|
|
40485
40473
|
this,
|
|
40486
|
-
p + "-input-declaration-" +
|
|
40474
|
+
p + "-input-declaration-" + M + "-id",
|
|
40487
40475
|
i
|
|
40488
40476
|
)
|
|
40489
40477
|
);
|
|
40490
40478
|
h.inputsDeclarations = y;
|
|
40491
40479
|
const v = (I = this.outputsDeclarations) == null ? void 0 : I.map(
|
|
40492
|
-
(Z,
|
|
40480
|
+
(Z, M) => Z.clone(
|
|
40493
40481
|
this,
|
|
40494
|
-
p + "-output-declaration-" +
|
|
40482
|
+
p + "-output-declaration-" + M + "-id",
|
|
40495
40483
|
i
|
|
40496
40484
|
)
|
|
40497
40485
|
);
|
|
40498
40486
|
h.outputsDeclarations = v;
|
|
40499
|
-
const E = (
|
|
40500
|
-
(Z,
|
|
40487
|
+
const E = (w = this.inputs) == null ? void 0 : w.map(
|
|
40488
|
+
(Z, M) => Z.clone(
|
|
40501
40489
|
h,
|
|
40502
|
-
p + "-input-map-" +
|
|
40490
|
+
p + "-input-map-" + M + "-id",
|
|
40503
40491
|
i
|
|
40504
40492
|
)
|
|
40505
40493
|
);
|
|
40506
40494
|
h.inputs = E;
|
|
40507
40495
|
const g = (Y = this.outputs) == null ? void 0 : Y.map(
|
|
40508
|
-
(Z,
|
|
40496
|
+
(Z, M) => Z.clone(
|
|
40509
40497
|
h,
|
|
40510
|
-
p + "-output-map-" +
|
|
40498
|
+
p + "-output-map-" + M + "-id",
|
|
40511
40499
|
i
|
|
40512
40500
|
)
|
|
40513
40501
|
);
|
|
@@ -40575,7 +40563,7 @@ u(Le, "repository", {
|
|
|
40575
40563
|
},
|
|
40576
40564
|
load: async (e, ...t) => null
|
|
40577
40565
|
}), u(Le, "type", r.Search), u(Le, "USER_MANAGED_PARENT_TYPES", [
|
|
40578
|
-
...
|
|
40566
|
+
...ut,
|
|
40579
40567
|
r.Project
|
|
40580
40568
|
]), u(Le, "PARENT_TYPES", [
|
|
40581
40569
|
...Le.USER_MANAGED_PARENT_TYPES
|
|
@@ -41317,7 +41305,7 @@ ${Mn}`);
|
|
|
41317
41305
|
...h.getAllInteractiveMethods()
|
|
41318
41306
|
);
|
|
41319
41307
|
const I = A.find(
|
|
41320
|
-
(
|
|
41308
|
+
(w) => w.id === i.declaration
|
|
41321
41309
|
);
|
|
41322
41310
|
I ? I.type !== r.FunctionDeclaration && a.push(
|
|
41323
41311
|
new R({
|
|
@@ -41532,7 +41520,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
|
|
|
41532
41520
|
);
|
|
41533
41521
|
this.setParent(e), this.parent.initChildren(), this.parent.addInternalCall(this);
|
|
41534
41522
|
const t = this.calledBy.find(
|
|
41535
|
-
(i) => !!i.parent &&
|
|
41523
|
+
(i) => !!i.parent && ut.includes(i.parent.type)
|
|
41536
41524
|
);
|
|
41537
41525
|
if (t) {
|
|
41538
41526
|
const i = b(
|
|
@@ -42160,7 +42148,7 @@ function V5(n) {
|
|
|
42160
42148
|
if (n.id === "exec-sequentially-argument-map-id") {
|
|
42161
42149
|
const a = oe({
|
|
42162
42150
|
id: `${n.id}--${G.PropertyImplementsNonAbstact}`,
|
|
42163
|
-
message: `Property "${
|
|
42151
|
+
message: `Property "${B(n, n.project)}" with id "${n.id}" implements a non-abstract property "${B(
|
|
42164
42152
|
n,
|
|
42165
42153
|
n.project
|
|
42166
42154
|
)}" with id "${n.id}".`,
|
|
@@ -42253,7 +42241,7 @@ const De = class De extends Ye {
|
|
|
42253
42241
|
{
|
|
42254
42242
|
parent: {
|
|
42255
42243
|
list: !1,
|
|
42256
|
-
types: [...
|
|
42244
|
+
types: [...Xe, r.InputMap]
|
|
42257
42245
|
}
|
|
42258
42246
|
},
|
|
42259
42247
|
t
|
|
@@ -42382,7 +42370,7 @@ The entity of the data-type has the following properties that can be reads as in
|
|
|
42382
42370
|
issue: null
|
|
42383
42371
|
})
|
|
42384
42372
|
));
|
|
42385
|
-
} else if (
|
|
42373
|
+
} else if (Xe.filter(
|
|
42386
42374
|
(y) => Je.includes(y)
|
|
42387
42375
|
).includes(l.type)) {
|
|
42388
42376
|
const v = km(l), E = v.find(
|
|
@@ -42790,7 +42778,7 @@ u(De, "repository", {
|
|
|
42790
42778
|
},
|
|
42791
42779
|
load: async (e, ...t) => null
|
|
42792
42780
|
}), u(De, "type", r.InputMap), u(De, "USER_MANAGED_PARENT_TYPES", [
|
|
42793
|
-
...
|
|
42781
|
+
...Xe
|
|
42794
42782
|
]), u(De, "PARENT_TYPES", [
|
|
42795
42783
|
...De.USER_MANAGED_PARENT_TYPES
|
|
42796
42784
|
]), u(De, "MUTABLE_BASE_PROPERTIES", ["name", "description"]), u(De, "INMUTABLE_BASE_PROPERTIES", ["id", "version", "type"]), u(De, "BASE_PROPERTIES", [
|
|
@@ -42855,7 +42843,7 @@ function C5(n) {
|
|
|
42855
42843
|
if (n.id === "exec-sequentially-return-map-id") {
|
|
42856
42844
|
const a = oe({
|
|
42857
42845
|
id: `${n.id}--${G.PropertyImplementsNonAbstact}`,
|
|
42858
|
-
message: `Property "${
|
|
42846
|
+
message: `Property "${B(n, n.project)}" with id "${n.id}" implements a non-abstract property "${B(
|
|
42859
42847
|
n,
|
|
42860
42848
|
n.project
|
|
42861
42849
|
)}" with id "${n.id}".`,
|
|
@@ -42938,7 +42926,7 @@ const Pe = class Pe extends Ye {
|
|
|
42938
42926
|
{
|
|
42939
42927
|
parent: {
|
|
42940
42928
|
list: !1,
|
|
42941
|
-
types:
|
|
42929
|
+
types: Xe.filter(
|
|
42942
42930
|
(p) => p !== r.Condition
|
|
42943
42931
|
)
|
|
42944
42932
|
},
|
|
@@ -42953,7 +42941,7 @@ const Pe = class Pe extends Ye {
|
|
|
42953
42941
|
const l = t.get(
|
|
42954
42942
|
i.parent
|
|
42955
42943
|
);
|
|
42956
|
-
if (l &&
|
|
42944
|
+
if (l && Xe.filter(
|
|
42957
42945
|
(p) => p !== r.Condition
|
|
42958
42946
|
).includes(l.type)) {
|
|
42959
42947
|
const p = l.outputs.find(
|
|
@@ -43472,7 +43460,7 @@ function w5(n) {
|
|
|
43472
43460
|
if (n.id === "company-dto-func-declaration-argument-dcl-id") {
|
|
43473
43461
|
const o = oe({
|
|
43474
43462
|
id: `${n.id}--${G.PropertyImplementsNonAbstact}`,
|
|
43475
|
-
message: `Property "${
|
|
43463
|
+
message: `Property "${B(n, n.project)}" with id "${n.id}" implements a non-abstract property "${B(
|
|
43476
43464
|
n,
|
|
43477
43465
|
n.project
|
|
43478
43466
|
)}" with id "${n.id}".`,
|
|
@@ -43486,7 +43474,7 @@ function w5(n) {
|
|
|
43486
43474
|
if (n.id === "manual-hello-world-loop-current-iteration-number-output-map-id") {
|
|
43487
43475
|
const o = oe({
|
|
43488
43476
|
id: `${n.id}--${G.PropertyImplementsNonAbstact}`,
|
|
43489
|
-
message: `Property "${
|
|
43477
|
+
message: `Property "${B(n, n.project)}" with id "${n.id}" implements a non-abstract property "${B(
|
|
43490
43478
|
n,
|
|
43491
43479
|
n.project
|
|
43492
43480
|
)}" with id "${n.id}".`,
|
|
@@ -43582,7 +43570,7 @@ const Se = class Se extends Ye {
|
|
|
43582
43570
|
const d = t.get(
|
|
43583
43571
|
D(i.parent)
|
|
43584
43572
|
);
|
|
43585
|
-
if (d &&
|
|
43573
|
+
if (d && Qe.includes(d.type)) {
|
|
43586
43574
|
const p = d.implements;
|
|
43587
43575
|
if (p) {
|
|
43588
43576
|
const h = p.inputs.find(
|
|
@@ -44052,7 +44040,7 @@ u(Se, "repository", {
|
|
|
44052
44040
|
delete: async (e, ...t) => {
|
|
44053
44041
|
},
|
|
44054
44042
|
load: async (e, ...t) => null
|
|
44055
|
-
}), 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", [
|
|
44056
44044
|
...Se.USER_MANAGED_PARENT_TYPES
|
|
44057
44045
|
]), u(Se, "MUTABLE_BASE_PROPERTIES", ["name", "description", "required"]), u(Se, "INMUTABLE_BASE_PROPERTIES", ["id", "version", "type"]), u(Se, "BASE_PROPERTIES", [
|
|
44058
44046
|
...Se.MUTABLE_BASE_PROPERTIES,
|
|
@@ -45316,7 +45304,7 @@ const rt = class rt extends Ye {
|
|
|
45316
45304
|
{
|
|
45317
45305
|
parent: {
|
|
45318
45306
|
list: !1,
|
|
45319
|
-
types:
|
|
45307
|
+
types: ut
|
|
45320
45308
|
}
|
|
45321
45309
|
// calledByEntry: {
|
|
45322
45310
|
// list: true,
|
|
@@ -45744,7 +45732,7 @@ u(rt, "repository", {
|
|
|
45744
45732
|
},
|
|
45745
45733
|
load: async (e, ...t) => null
|
|
45746
45734
|
}), u(rt, "type", r.ReturnStatement), u(rt, "USER_MANAGED_PARENT_TYPES", [
|
|
45747
|
-
...
|
|
45735
|
+
...ut
|
|
45748
45736
|
]), u(rt, "PARENT_TYPES", [
|
|
45749
45737
|
...rt.USER_MANAGED_PARENT_TYPES
|
|
45750
45738
|
]), u(rt, "MUTABLE_BASE_PROPERTIES", []), u(rt, "INMUTABLE_BASE_PROPERTIES", ["id", "version", "type"]), u(rt, "BASE_PROPERTIES", [
|
|
@@ -47118,7 +47106,7 @@ function IJ(n, s) {
|
|
|
47118
47106
|
modifiedData: null,
|
|
47119
47107
|
messageAddition: ""
|
|
47120
47108
|
};
|
|
47121
|
-
if (
|
|
47109
|
+
if (Qe.includes(s.type) ? n.calls && e.push(
|
|
47122
47110
|
new R({
|
|
47123
47111
|
id: `${s.id}--${m.InvalidInmutablePropertyOverride}`,
|
|
47124
47112
|
message: `Entity of type "${s.type}" with id "${s.id}" cannot have the property "calls" updated.
|
|
@@ -47127,7 +47115,7 @@ ${gn}`,
|
|
|
47127
47115
|
code: m.InvalidInmutablePropertyOverride,
|
|
47128
47116
|
issue: null
|
|
47129
47117
|
})
|
|
47130
|
-
) :
|
|
47118
|
+
) : Xe.includes(s.type) && (n.successCalls && e.push(
|
|
47131
47119
|
new R({
|
|
47132
47120
|
id: `${s.id}--${m.InvalidInmutablePropertyOverride}`,
|
|
47133
47121
|
message: `Entity of type "${s.type}" with id "${s.id}" cannot have the property "successCalls" updated.
|
|
@@ -47669,11 +47657,11 @@ function z(n, s, e) {
|
|
|
47669
47657
|
}
|
|
47670
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.
|
|
47671
47659
|
All pass-through callable entities are: ${z(
|
|
47672
|
-
|
|
47660
|
+
Xe,
|
|
47673
47661
|
", ",
|
|
47674
47662
|
" and "
|
|
47675
47663
|
)}.`, xo = `Entry point entities are the entities which start the execution of a logic chain. They are ${z(
|
|
47676
|
-
|
|
47664
|
+
Qe,
|
|
47677
47665
|
", ",
|
|
47678
47666
|
" and "
|
|
47679
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(
|
|
@@ -47766,7 +47754,7 @@ function j5(n, s) {
|
|
|
47766
47754
|
const e = JSON.parse(
|
|
47767
47755
|
JSON.stringify(n)
|
|
47768
47756
|
), t = [];
|
|
47769
|
-
if (
|
|
47757
|
+
if (Qe.includes(s.type))
|
|
47770
47758
|
t.push(
|
|
47771
47759
|
new R({
|
|
47772
47760
|
id: `${n.id}--${s.id}--${m.InvalidReference}`,
|
|
@@ -47781,7 +47769,7 @@ We have moved the reference to 'calledByEntry' for you.`,
|
|
|
47781
47769
|
), e.calledByEntry.push(s.id), e.calledBySuccess = e.calledBySuccess.filter(
|
|
47782
47770
|
(i) => i !== s.id
|
|
47783
47771
|
);
|
|
47784
|
-
else if (
|
|
47772
|
+
else if (Ke.includes(s.type)) {
|
|
47785
47773
|
const i = s.calledBy || [], a = i.length ? `
|
|
47786
47774
|
|
|
47787
47775
|
This ${s.type} is called by ${z(
|
|
@@ -47799,14 +47787,14 @@ This ${s.type} is called by ${z(
|
|
|
47799
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}".
|
|
47800
47788
|
${s.type} entities are the last entity to be executed in a logic chain, and they don't call any other entities.
|
|
47801
47789
|
Termination entities are ${z(
|
|
47802
|
-
|
|
47790
|
+
Ke,
|
|
47803
47791
|
", ",
|
|
47804
47792
|
" and "
|
|
47805
47793
|
)}.${a}`,
|
|
47806
47794
|
issue: null
|
|
47807
47795
|
})
|
|
47808
47796
|
);
|
|
47809
|
-
} else if (!
|
|
47797
|
+
} else if (!Xe.includes(s.type))
|
|
47810
47798
|
t.push(
|
|
47811
47799
|
new R({
|
|
47812
47800
|
id: `${n.id}--${s.id}--${m.InvalidReference}`,
|
|
@@ -47838,7 +47826,7 @@ ${wn}`,
|
|
|
47838
47826
|
}
|
|
47839
47827
|
function k5(n, s) {
|
|
47840
47828
|
const e = [];
|
|
47841
|
-
if (
|
|
47829
|
+
if (Qe.includes(s.type))
|
|
47842
47830
|
e.push(
|
|
47843
47831
|
new R({
|
|
47844
47832
|
id: `${n.id}--${s.id}--${m.InvalidReference}`,
|
|
@@ -47850,7 +47838,7 @@ ${xo}`,
|
|
|
47850
47838
|
issue: null
|
|
47851
47839
|
})
|
|
47852
47840
|
);
|
|
47853
|
-
else if (
|
|
47841
|
+
else if (Ke.includes(s.type)) {
|
|
47854
47842
|
const t = s.calledBy || [], i = t.length ? `
|
|
47855
47843
|
|
|
47856
47844
|
This ${s.type} is called by ${z(
|
|
@@ -47868,14 +47856,14 @@ This ${s.type} is called by ${z(
|
|
|
47868
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}".
|
|
47869
47857
|
${s.type} entities are the last entity to be executed in a logic chain, and they don't call any other entities.
|
|
47870
47858
|
Termination entities are ${z(
|
|
47871
|
-
|
|
47859
|
+
Ke,
|
|
47872
47860
|
", ",
|
|
47873
47861
|
" and "
|
|
47874
47862
|
)}.${i}`,
|
|
47875
47863
|
issue: null
|
|
47876
47864
|
})
|
|
47877
47865
|
);
|
|
47878
|
-
} else if (!
|
|
47866
|
+
} else if (!Xe.includes(s.type))
|
|
47879
47867
|
e.push(
|
|
47880
47868
|
new R({
|
|
47881
47869
|
id: `${n.id}--${s.id}--${m.InvalidReference}`,
|
|
@@ -47907,7 +47895,7 @@ ${wn}`,
|
|
|
47907
47895
|
}
|
|
47908
47896
|
function Z5(n, s) {
|
|
47909
47897
|
const e = [];
|
|
47910
|
-
if (
|
|
47898
|
+
if (Ke.includes(s.type)) {
|
|
47911
47899
|
const t = s.calledBy || [], i = t.length ? `
|
|
47912
47900
|
|
|
47913
47901
|
This ${s.type} is called by ${z(
|
|
@@ -47925,14 +47913,14 @@ This ${s.type} is called by ${z(
|
|
|
47925
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}".
|
|
47926
47914
|
${s.type} entities are the last entity to be executed in a logic chain, and they don't call any other entities.
|
|
47927
47915
|
Termination entities are ${z(
|
|
47928
|
-
|
|
47916
|
+
Ke,
|
|
47929
47917
|
", ",
|
|
47930
47918
|
" and "
|
|
47931
47919
|
)}.${i}`,
|
|
47932
47920
|
issue: null
|
|
47933
47921
|
})
|
|
47934
47922
|
);
|
|
47935
|
-
} else if (
|
|
47923
|
+
} else if (Xe.includes(s.type))
|
|
47936
47924
|
e.push(
|
|
47937
47925
|
new R({
|
|
47938
47926
|
id: `${n.id}--${s.id}--${m.InvalidReference}`,
|
|
@@ -48042,13 +48030,13 @@ function J5(n, s) {
|
|
|
48042
48030
|
})
|
|
48043
48031
|
);
|
|
48044
48032
|
const o = kt(t, s);
|
|
48045
|
-
t.type === r.ReturnStatement && o && !
|
|
48033
|
+
t.type === r.ReturnStatement && o && !Qe.includes(o.type) ? e.push(
|
|
48046
48034
|
new R({
|
|
48047
48035
|
id: `${t.id}--${m.IncompatibleScope}`,
|
|
48048
48036
|
code: m.IncompatibleScope,
|
|
48049
48037
|
severity: T.Error,
|
|
48050
48038
|
message: `Entity of type "${t.type}" with id "${t.id}" has an explicitly set parent, but it isn't a '${z(
|
|
48051
|
-
|
|
48039
|
+
Qe,
|
|
48052
48040
|
"', '",
|
|
48053
48041
|
"' or '"
|
|
48054
48042
|
)}' entity. A return statement's parent should always be resolved to a function declaration or global event.${Qo}`,
|
|
@@ -48093,10 +48081,10 @@ function J5(n, s) {
|
|
|
48093
48081
|
o,
|
|
48094
48082
|
v,
|
|
48095
48083
|
s
|
|
48096
|
-
) ? (
|
|
48084
|
+
) ? (Ke.includes(t.type) && ((t.calledBySuccess || []).find(
|
|
48097
48085
|
(g) => g === y.id
|
|
48098
48086
|
) ? (y.successCalls || []).find(
|
|
48099
|
-
(I) =>
|
|
48087
|
+
(I) => Ke.includes(I.type)
|
|
48100
48088
|
) && e.push(
|
|
48101
48089
|
new R({
|
|
48102
48090
|
id: `${t.id}--${y.id}--${C.UnreachableEntity}`,
|
|
@@ -48109,7 +48097,7 @@ The new termination statement is redundant because both entities would be called
|
|
|
48109
48097
|
) : (t.calledByError || []).find(
|
|
48110
48098
|
(g) => g === y.id
|
|
48111
48099
|
) ? (y.errorCalls || []).find(
|
|
48112
|
-
(I) =>
|
|
48100
|
+
(I) => Ke.includes(I.type)
|
|
48113
48101
|
) && e.push(
|
|
48114
48102
|
new R({
|
|
48115
48103
|
id: `${t.id}--${y.id}--${C.UnreachableEntity}`,
|
|
@@ -48122,7 +48110,7 @@ The new termination statement is redundant because both entities would be called
|
|
|
48122
48110
|
) : (t.calledByEntry || []).find(
|
|
48123
48111
|
(g) => g === y.id
|
|
48124
48112
|
) && (y.calls || []).find(
|
|
48125
|
-
(I) =>
|
|
48113
|
+
(I) => Ke.includes(I.type)
|
|
48126
48114
|
) && e.push(
|
|
48127
48115
|
new R({
|
|
48128
48116
|
id: `${t.id}--${y.id}--${C.UnreachableEntity}`,
|
|
@@ -48156,10 +48144,10 @@ The new termination statement is redundant because both entities would be called
|
|
|
48156
48144
|
v,
|
|
48157
48145
|
s
|
|
48158
48146
|
);
|
|
48159
|
-
E ? (
|
|
48147
|
+
E ? (Ke.includes(t.type) && ((t.calledBySuccess || []).find(
|
|
48160
48148
|
(g) => g === y.id
|
|
48161
48149
|
) ? (y.successCalls || []).find(
|
|
48162
|
-
(I) =>
|
|
48150
|
+
(I) => Ke.includes(I.type)
|
|
48163
48151
|
) && e.push(
|
|
48164
48152
|
new R({
|
|
48165
48153
|
id: `${t.id}--${y.id}--${C.UnreachableEntity}`,
|
|
@@ -48172,7 +48160,7 @@ The new termination statement is redundant because both entities would be called
|
|
|
48172
48160
|
) : (t.calledByError || []).find(
|
|
48173
48161
|
(g) => g === y.id
|
|
48174
48162
|
) ? (y.errorCalls || []).find(
|
|
48175
|
-
(I) =>
|
|
48163
|
+
(I) => Ke.includes(I.type)
|
|
48176
48164
|
) && e.push(
|
|
48177
48165
|
new R({
|
|
48178
48166
|
id: `${t.id}--${y.id}--${C.UnreachableEntity}`,
|
|
@@ -48185,7 +48173,7 @@ The new termination statement is redundant because both entities would be called
|
|
|
48185
48173
|
) : (t.calledByEntry || []).find(
|
|
48186
48174
|
(g) => g === y.id
|
|
48187
48175
|
) && (y.calls || []).find(
|
|
48188
|
-
(I) =>
|
|
48176
|
+
(I) => Ke.includes(I.type)
|
|
48189
48177
|
) && e.push(
|
|
48190
48178
|
new R({
|
|
48191
48179
|
id: `${t.id}--${y.id}--${C.UnreachableEntity}`,
|
|
@@ -48235,13 +48223,13 @@ To add a caller, use the 'add_caller' action with the properties: 'callerEntityI
|
|
|
48235
48223
|
Return statements need to have a caller when created, since their purpose is to terminate a call chain.` : t.type === r.ContinueStatement ? a += `
|
|
48236
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 += `
|
|
48237
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 += `
|
|
48238
|
-
${F5}`,
|
|
48226
|
+
${F5}`, Ke.includes(t.type) || (a += `
|
|
48239
48227
|
It is recommended to have a caller reference already at the moment of creation in the payload of the generation action.`), e.push(
|
|
48240
48228
|
new R({
|
|
48241
48229
|
id: `${t.id}--${C.MissingCaller}`,
|
|
48242
48230
|
code: C.MissingCaller,
|
|
48243
48231
|
// If it is a termination statement, make it an error, otherwise a warning
|
|
48244
|
-
severity:
|
|
48232
|
+
severity: Ke.includes(t.type) ? T.Error : T.Warning,
|
|
48245
48233
|
message: a,
|
|
48246
48234
|
issue: null
|
|
48247
48235
|
})
|
|
@@ -48364,14 +48352,14 @@ All value writting entity types are: ${z(
|
|
|
48364
48352
|
if (!a.compatible) {
|
|
48365
48353
|
const { type: o } = a;
|
|
48366
48354
|
let l = "";
|
|
48367
|
-
const d = `But they are nested under different subscopes. The reader is in the scope of the '${t.type}' (${
|
|
48355
|
+
const d = `But they are nested under different subscopes. The reader is in the scope of the '${t.type}' (${B(
|
|
48368
48356
|
t,
|
|
48369
48357
|
s.project
|
|
48370
|
-
)}) with id '${t.id}', and the writter is in the scope of the '${i.type}' (${
|
|
48358
|
+
)}) with id '${t.id}', and the writter is in the scope of the '${i.type}' (${B(
|
|
48371
48359
|
i,
|
|
48372
48360
|
s.project
|
|
48373
48361
|
)}) with id '${i.id}'.`;
|
|
48374
|
-
o === Al.ParallelInCommonParent ? (l = `The reader and the writter entities are both in the scope of the '${a.commonAncestorScope.type}' (${
|
|
48362
|
+
o === Al.ParallelInCommonParent ? (l = `The reader and the writter entities are both in the scope of the '${a.commonAncestorScope.type}' (${B(
|
|
48375
48363
|
a.commonAncestorScope,
|
|
48376
48364
|
s.project
|
|
48377
48365
|
)}) with id '${a.commonAncestorScope.id}'.`, l += `
|
|
@@ -48553,9 +48541,9 @@ function OJ(n, s, e = "calledBy") {
|
|
|
48553
48541
|
issue: null
|
|
48554
48542
|
})
|
|
48555
48543
|
), t;
|
|
48556
|
-
if ([...
|
|
48544
|
+
if ([...Xe, ...Qe].includes(i.type))
|
|
48557
48545
|
return [];
|
|
48558
|
-
if (
|
|
48546
|
+
if (Ke.includes(i.type)) {
|
|
48559
48547
|
const a = i.calledBy || [], o = a.length ? `
|
|
48560
48548
|
|
|
48561
48549
|
This ${i.type} is called by ${z(
|
|
@@ -48573,7 +48561,7 @@ This ${i.type} is called by ${z(
|
|
|
48573
48561
|
message: `Entity with id '${i.id}' referenced in '${e}' property is of type '${i.type}'.
|
|
48574
48562
|
${i.type} entities are the last entity to be executed in a logic chain, and they don't call any other entities.
|
|
48575
48563
|
Termination entities are ${z(
|
|
48576
|
-
|
|
48564
|
+
Ke,
|
|
48577
48565
|
", ",
|
|
48578
48566
|
" and "
|
|
48579
48567
|
)}.${o}`,
|
|
@@ -48612,9 +48600,9 @@ function VJ(n, s, e = "calledByError") {
|
|
|
48612
48600
|
issue: null
|
|
48613
48601
|
})
|
|
48614
48602
|
), t;
|
|
48615
|
-
if (
|
|
48603
|
+
if (Xe.includes(i.type))
|
|
48616
48604
|
return [];
|
|
48617
|
-
if (
|
|
48605
|
+
if (Ke.includes(i.type)) {
|
|
48618
48606
|
const a = i.calledBy || [], o = a.length ? `
|
|
48619
48607
|
|
|
48620
48608
|
This ${i.type} is called by ${z(
|
|
@@ -48632,7 +48620,7 @@ This ${i.type} is called by ${z(
|
|
|
48632
48620
|
message: `Entity with id '${i.id}' referenced in '${e}' property is of type '${i.type}'.
|
|
48633
48621
|
${i.type} entities are the last entity to be executed in a logic chain, and they don't call any other entities.
|
|
48634
48622
|
Termination entities are ${z(
|
|
48635
|
-
|
|
48623
|
+
Ke,
|
|
48636
48624
|
", ",
|
|
48637
48625
|
" and "
|
|
48638
48626
|
)}.${o}`,
|
|
@@ -48640,7 +48628,7 @@ Termination entities are ${z(
|
|
|
48640
48628
|
})
|
|
48641
48629
|
);
|
|
48642
48630
|
} else
|
|
48643
|
-
|
|
48631
|
+
Qe.includes(i.type) ? t.push(
|
|
48644
48632
|
new R({
|
|
48645
48633
|
id: `last-action--${i.id}--${m.InvalidReference}`,
|
|
48646
48634
|
code: m.InvalidReference,
|
|
@@ -48779,27 +48767,27 @@ All value writting entity types are: ${z(
|
|
|
48779
48767
|
}
|
|
48780
48768
|
function q5(n) {
|
|
48781
48769
|
return n.functions.length ? `All global 'function-declaration' entity ids are:
|
|
48782
|
-
- ${n.functions.map((e) => `${e.id} (${
|
|
48770
|
+
- ${n.functions.map((e) => `${e.id} (${B(e, n)})`).join(`
|
|
48783
48771
|
- `)}.` : "The project currently has no global 'function-declaration' entities that can be called as 'function-call' entities.";
|
|
48784
48772
|
}
|
|
48785
48773
|
function el(n) {
|
|
48786
48774
|
return `All reserved action decriptor ids for '${r.GlobalEvent}' entities are:
|
|
48787
|
-
- ${n.globalEventActionDescriptors.map((s) => `${s.id} (${
|
|
48775
|
+
- ${n.globalEventActionDescriptors.map((s) => `${s.id} (${B(s, n)})`).join(`
|
|
48788
48776
|
- `)}`;
|
|
48789
48777
|
}
|
|
48790
48778
|
function tl(n) {
|
|
48791
48779
|
return `All reserved action decriptor ids for '${r.Loop}' entities are:
|
|
48792
|
-
- ${n.loopDeclarations.map((s) => `${s.id} (${
|
|
48780
|
+
- ${n.loopDeclarations.map((s) => `${s.id} (${B(s, n)})`).join(`
|
|
48793
48781
|
- `)}`;
|
|
48794
48782
|
}
|
|
48795
48783
|
function wJ(n) {
|
|
48796
48784
|
return `All reserved action decriptor ids for '${r.Operation}' entities are:
|
|
48797
|
-
- ${n.operationDeclarations.map((s) => `${s.id} (${
|
|
48785
|
+
- ${n.operationDeclarations.map((s) => `${s.id} (${B(s, n)})`).join(`
|
|
48798
48786
|
- `)}`;
|
|
48799
48787
|
}
|
|
48800
48788
|
function rl(n) {
|
|
48801
48789
|
return `All reserved action decriptor ids for '${r.Condition}' entities are:
|
|
48802
|
-
- ${n.conditionDeclarations.map((s) => `${s.id} (${
|
|
48790
|
+
- ${n.conditionDeclarations.map((s) => `${s.id} (${B(s, n)})`).join(`
|
|
48803
48791
|
- `)}`;
|
|
48804
48792
|
}
|
|
48805
48793
|
function W5(n, s) {
|
|
@@ -48897,7 +48885,7 @@ function Y5(n, s) {
|
|
|
48897
48885
|
), i = `
|
|
48898
48886
|
All built-in 'action-descriptor' entities that define 'operation' entity, are (IDs):
|
|
48899
48887
|
- ${s.operationDeclarations.map(
|
|
48900
|
-
(a) => `${a.id} (${
|
|
48888
|
+
(a) => `${a.id} (${B(a, s)}).`
|
|
48901
48889
|
).join(`
|
|
48902
48890
|
- `)}
|
|
48903
48891
|
`;
|
|
@@ -48946,7 +48934,7 @@ function MJ(n, s) {
|
|
|
48946
48934
|
), i = `
|
|
48947
48935
|
All built-in 'action-descriptor' entities that define 'condition' entity, are (IDs):
|
|
48948
48936
|
- ${s.conditionDeclarations.map(
|
|
48949
|
-
(a) => `${a.id} (${
|
|
48937
|
+
(a) => `${a.id} (${B(a, s)}).`
|
|
48950
48938
|
).join(`
|
|
48951
48939
|
- `)}
|
|
48952
48940
|
`;
|
|
@@ -48994,7 +48982,7 @@ function BJ(n, s) {
|
|
|
48994
48982
|
n
|
|
48995
48983
|
), i = `
|
|
48996
48984
|
All built-in 'action-descriptor' entities that define 'loop' entity, are (IDs):
|
|
48997
|
-
- ${s.loopDeclarations.map((a) => `${a.id} (${
|
|
48985
|
+
- ${s.loopDeclarations.map((a) => `${a.id} (${B(a, s)}).`).join(`
|
|
48998
48986
|
- `)}`;
|
|
48999
48987
|
return t ? t.type === r.FunctionDeclaration ? e.push(
|
|
49000
48988
|
new R({
|
|
@@ -49087,7 +49075,7 @@ function Lo(n, s) {
|
|
|
49087
49075
|
id: `${s.id}--${m.InvalidBuiltInEntityReference}`,
|
|
49088
49076
|
code: m.InvalidBuiltInEntityReference,
|
|
49089
49077
|
severity: T.Error,
|
|
49090
|
-
message: `The entity of type '${s.type}' with id '${s.id}' cannot update 'readsValue' to entity with id '${n.readsValue}' because the entity belongs to a built-in '${a.type}' entity with id '${a.id}' (${
|
|
49078
|
+
message: `The entity of type '${s.type}' with id '${s.id}' cannot update 'readsValue' to entity with id '${n.readsValue}' because the entity belongs to a built-in '${a.type}' entity with id '${a.id}' (${B(
|
|
49091
49079
|
a,
|
|
49092
49080
|
s.project
|
|
49093
49081
|
)}) higher up in the tree.`,
|
|
@@ -49133,7 +49121,7 @@ function En(n) {
|
|
|
49133
49121
|
id: `${n.id}--${G.DisconnectedCallableEntity}`,
|
|
49134
49122
|
code: G.DisconnectedCallableEntity,
|
|
49135
49123
|
severity: T.Warning,
|
|
49136
|
-
message: `This '${n.type}' entity "${
|
|
49124
|
+
message: `This '${n.type}' entity "${B(
|
|
49137
49125
|
n,
|
|
49138
49126
|
n.project
|
|
49139
49127
|
)}" with id "${n.id}" is globally declared and isn't called by any other entity.
|
|
@@ -49148,10 +49136,10 @@ Or for a logic that the user is going to manually test themselves by clicking on
|
|
|
49148
49136
|
else {
|
|
49149
49137
|
const e = gs(n);
|
|
49150
49138
|
if (!e.reachable) {
|
|
49151
|
-
let t = `This '${n.type}' entity "${
|
|
49139
|
+
let t = `This '${n.type}' entity "${B(
|
|
49152
49140
|
n,
|
|
49153
49141
|
n.project
|
|
49154
|
-
)}" with id "${n.id}" is not reachable from the project's closest entry point '${e.entryPoint.type}' "${
|
|
49142
|
+
)}" with id "${n.id}" is not reachable from the project's closest entry point '${e.entryPoint.type}' "${B(e.entryPoint, n.project)}".`;
|
|
49155
49143
|
t += `
|
|
49156
49144
|
This is because there are termination statements in the call chain before reaching this '${n.type}'.
|
|
49157
49145
|
If a caller entity calls a termination statement, it will always prevent all other calls from executing.`;
|
|
@@ -49159,7 +49147,7 @@ If a caller entity calls a termination statement, it will always prevent all oth
|
|
|
49159
49147
|
This '${n.type}' is blocked `;
|
|
49160
49148
|
e.blocks.forEach((a, o) => {
|
|
49161
49149
|
const l = a.blockedByCaller, d = a.blockedByCalling;
|
|
49162
|
-
o === 0 ? i += "by " : o === e.blocks.length - 1 && (i += "and by "), i += `its ancestor "${
|
|
49150
|
+
o === 0 ? i += "by " : o === e.blocks.length - 1 && (i += "and by "), i += `its ancestor "${B(
|
|
49163
49151
|
l,
|
|
49164
49152
|
n.project
|
|
49165
49153
|
)}" with id "${l.id}" that calls a '${d.type}' entity with id "${d.id}"`, o < e.blocks.length - 1 ? i += ", " : i += ".";
|
|
@@ -49184,7 +49172,7 @@ function xm(n) {
|
|
|
49184
49172
|
if (n.readsValue) {
|
|
49185
49173
|
const e = oe({
|
|
49186
49174
|
id: `${n.id}--${G.VariableReadsValueAndInternalCall}`,
|
|
49187
|
-
message: `Variable "${
|
|
49175
|
+
message: `Variable "${B(n, n.project)}" with id "${n.id}" reads a value. A variable with internal calls can't read a value.`,
|
|
49188
49176
|
issue: null,
|
|
49189
49177
|
severity: T.Error,
|
|
49190
49178
|
code: G.VariableReadsValueAndInternalCall,
|
|
@@ -49195,7 +49183,7 @@ function xm(n) {
|
|
|
49195
49183
|
if (n.writesValues.length) {
|
|
49196
49184
|
const e = oe({
|
|
49197
49185
|
id: `${n.id}--${G.VariableWritesValuesAndInternalCall}`,
|
|
49198
|
-
message: `Variable "${
|
|
49186
|
+
message: `Variable "${B(n, n.project)}" with id "${n.id}" writes values. A variable with internal calls can't write a value.`,
|
|
49199
49187
|
issue: null,
|
|
49200
49188
|
severity: T.Error,
|
|
49201
49189
|
code: G.VariableWritesValuesAndInternalCall,
|
|
@@ -49206,7 +49194,7 @@ function xm(n) {
|
|
|
49206
49194
|
if (n.getUsedInputs().length) {
|
|
49207
49195
|
const e = oe({
|
|
49208
49196
|
id: `${n.id}--${G.VariableHasInputsAndInternalCall}`,
|
|
49209
|
-
message: `Variable "${
|
|
49197
|
+
message: `Variable "${B(n, n.project)}" with id "${n.id}" has inputs. A variable with internal calls can't have inputs.`,
|
|
49210
49198
|
issue: null,
|
|
49211
49199
|
severity: T.Error,
|
|
49212
49200
|
code: G.VariableHasInputsAndInternalCall,
|
|
@@ -49217,7 +49205,7 @@ function xm(n) {
|
|
|
49217
49205
|
if (n.getUsedOutputs().length) {
|
|
49218
49206
|
const e = oe({
|
|
49219
49207
|
id: `${n.id}--${G.VariableHasOutputsAndInternalCall}`,
|
|
49220
|
-
message: `Variable "${
|
|
49208
|
+
message: `Variable "${B(n, n.project)}" with id "${n.id}" has outputs. A variable with internal calls can't have outputs.`,
|
|
49221
49209
|
issue: null,
|
|
49222
49210
|
severity: T.Error,
|
|
49223
49211
|
code: G.VariableHasOutputsAndInternalCall,
|
|
@@ -49228,7 +49216,7 @@ function xm(n) {
|
|
|
49228
49216
|
if (n.calledBy.length) {
|
|
49229
49217
|
const e = oe({
|
|
49230
49218
|
id: `${n.id}--${G.VariableIsCalledAndHasInternalCall}`,
|
|
49231
|
-
message: `Variable "${
|
|
49219
|
+
message: `Variable "${B(n, n.project)}" with id "${n.id}" is called by other entities. A variable with internal calls can't be called by other entities.`,
|
|
49232
49220
|
issue: null,
|
|
49233
49221
|
severity: T.Error,
|
|
49234
49222
|
code: G.VariableIsCalledAndHasInternalCall,
|
|
@@ -49239,7 +49227,7 @@ function xm(n) {
|
|
|
49239
49227
|
if ([...n.successCalls, ...n.errorCalls].length) {
|
|
49240
49228
|
const e = oe({
|
|
49241
49229
|
id: `${n.id}--${G.VariableCallsOthersAndHasInternalCall}`,
|
|
49242
|
-
message: `Variable "${
|
|
49230
|
+
message: `Variable "${B(n, n.project)}" with id "${n.id}" calls other entities. A variable with internal calls can't call other entities.`,
|
|
49243
49231
|
issue: null,
|
|
49244
49232
|
severity: T.Error,
|
|
49245
49233
|
code: G.VariableCallsOthersAndHasInternalCall,
|
|
@@ -49345,7 +49333,7 @@ const Ne = class Ne extends Ye {
|
|
|
49345
49333
|
{
|
|
49346
49334
|
parent: {
|
|
49347
49335
|
list: !1,
|
|
49348
|
-
types: [...
|
|
49336
|
+
types: [...ut, r.Project],
|
|
49349
49337
|
optional: !0
|
|
49350
49338
|
}
|
|
49351
49339
|
// calledByEntry: {
|
|
@@ -49383,7 +49371,7 @@ const Ne = class Ne extends Ye {
|
|
|
49383
49371
|
} else {
|
|
49384
49372
|
const d = t.functions.length ? `
|
|
49385
49373
|
All global 'function-declaration' entity ids are:
|
|
49386
|
-
- ${t.functions.map((p) => `${p.id} (${
|
|
49374
|
+
- ${t.functions.map((p) => `${p.id} (${B(p, t)})`).join(`
|
|
49387
49375
|
- `)}.` : `
|
|
49388
49376
|
The project currently has no global 'function-declaration' entities that can be called as 'function-call' entities.`;
|
|
49389
49377
|
a.push(
|
|
@@ -50147,7 +50135,7 @@ u(Ne, "repository", {
|
|
|
50147
50135
|
},
|
|
50148
50136
|
load: async (e, ...t) => null
|
|
50149
50137
|
}), u(Ne, "type", r.FunctionCall), u(Ne, "USER_MANAGED_PARENT_TYPES", [
|
|
50150
|
-
...
|
|
50138
|
+
...ut,
|
|
50151
50139
|
r.Project
|
|
50152
50140
|
]), u(Ne, "PARENT_TYPES", [
|
|
50153
50141
|
...Ne.USER_MANAGED_PARENT_TYPES
|
|
@@ -50747,7 +50735,7 @@ function Gm(n, s, e, t) {
|
|
|
50747
50735
|
s.project
|
|
50748
50736
|
);
|
|
50749
50737
|
I.setParent(s), I.initChildren(), I.addSelfToProject();
|
|
50750
|
-
const
|
|
50738
|
+
const w = Gm(
|
|
50751
50739
|
g,
|
|
50752
50740
|
I,
|
|
50753
50741
|
{
|
|
@@ -50756,7 +50744,7 @@ function Gm(n, s, e, t) {
|
|
|
50756
50744
|
},
|
|
50757
50745
|
t
|
|
50758
50746
|
);
|
|
50759
|
-
i.push(...
|
|
50747
|
+
i.push(...w.updated), a.push(...w.added), o.push(...w.removed);
|
|
50760
50748
|
}
|
|
50761
50749
|
});
|
|
50762
50750
|
}
|
|
@@ -50850,12 +50838,12 @@ function nl(n, s, e, t) {
|
|
|
50850
50838
|
private: !1,
|
|
50851
50839
|
required: !0,
|
|
50852
50840
|
parent: v.toReference()
|
|
50853
|
-
},
|
|
50841
|
+
}, w = b(
|
|
50854
50842
|
I,
|
|
50855
50843
|
s
|
|
50856
50844
|
);
|
|
50857
|
-
|
|
50858
|
-
const Y = n[E],
|
|
50845
|
+
w.setParent(v), w.initChildren(), w.addSelfToProject(), a.push(w);
|
|
50846
|
+
const Y = n[E], M = {
|
|
50859
50847
|
id: P.UUID.uuid(),
|
|
50860
50848
|
version: "1",
|
|
50861
50849
|
createdAt: "2024-01-01T00:00:00.000Z",
|
|
@@ -50870,12 +50858,12 @@ function nl(n, s, e, t) {
|
|
|
50870
50858
|
orChildrenGroup: null,
|
|
50871
50859
|
like: !0,
|
|
50872
50860
|
inferred: !1,
|
|
50873
|
-
parent:
|
|
50861
|
+
parent: w.toReference()
|
|
50874
50862
|
}, X = b(
|
|
50875
|
-
|
|
50863
|
+
M,
|
|
50876
50864
|
s
|
|
50877
50865
|
);
|
|
50878
|
-
X.setParent(
|
|
50866
|
+
X.setParent(w), X.initChildren(), X.addSelfToProject(), a.push(X);
|
|
50879
50867
|
const ie = Gm(
|
|
50880
50868
|
Y,
|
|
50881
50869
|
X,
|
|
@@ -50933,11 +50921,11 @@ function _J(n, s) {
|
|
|
50933
50921
|
return !!ec(n, s).last;
|
|
50934
50922
|
}
|
|
50935
50923
|
function NJ(n) {
|
|
50936
|
-
if (
|
|
50924
|
+
if (Qe.includes(n.type))
|
|
50937
50925
|
return n;
|
|
50938
50926
|
if ([...kr, r.VariableDeclaration].includes(n.type)) {
|
|
50939
50927
|
const s = n.parent;
|
|
50940
|
-
return
|
|
50928
|
+
return Qe.includes(s.type) ? s : null;
|
|
50941
50929
|
}
|
|
50942
50930
|
return null;
|
|
50943
50931
|
}
|
|
@@ -51014,7 +51002,7 @@ function tZ(n) {
|
|
|
51014
51002
|
function rZ(n) {
|
|
51015
51003
|
if (!n)
|
|
51016
51004
|
return null;
|
|
51017
|
-
if (
|
|
51005
|
+
if (Xe.includes(n.type))
|
|
51018
51006
|
return n;
|
|
51019
51007
|
const s = n.parent;
|
|
51020
51008
|
return s ? rZ(s) : null;
|
|
@@ -51028,10 +51016,10 @@ function nZ(n) {
|
|
|
51028
51016
|
return s ? nZ(s) : null;
|
|
51029
51017
|
}
|
|
51030
51018
|
function xJ(n) {
|
|
51031
|
-
return n.type === r.VariableDeclaration ? [n] :
|
|
51019
|
+
return n.type === r.VariableDeclaration ? [n] : Xe.includes(n.type) ? [
|
|
51032
51020
|
...n.inputs,
|
|
51033
51021
|
...n.outputs || []
|
|
51034
|
-
] :
|
|
51022
|
+
] : Ke.includes(n.type) ? n.outputs : Ma.includes(n.type) || n.type === r.FunctionDeclaration ? n.inputs : [];
|
|
51035
51023
|
}
|
|
51036
51024
|
function LJ(n) {
|
|
51037
51025
|
const s = Bn(n), e = [], t = [];
|
|
@@ -51063,14 +51051,14 @@ function Jt(n) {
|
|
|
51063
51051
|
return f(s);
|
|
51064
51052
|
}
|
|
51065
51053
|
function Um(n) {
|
|
51066
|
-
return
|
|
51054
|
+
return Xe.includes(n.type) ? [
|
|
51067
51055
|
...Jt(
|
|
51068
51056
|
n.successCalls
|
|
51069
51057
|
),
|
|
51070
51058
|
...Jt(
|
|
51071
51059
|
n.errorCalls
|
|
51072
51060
|
)
|
|
51073
|
-
] :
|
|
51061
|
+
] : Qe.includes(n.type) ? Jt(
|
|
51074
51062
|
n.calls
|
|
51075
51063
|
) : [];
|
|
51076
51064
|
}
|
|
@@ -51111,7 +51099,7 @@ function uZ(n = []) {
|
|
|
51111
51099
|
return n.reduce((s, e) => e.type === r.OutputMap ? [...s, ...dZ(e)] : s, []);
|
|
51112
51100
|
}
|
|
51113
51101
|
function ze(n) {
|
|
51114
|
-
return
|
|
51102
|
+
return Xe.includes(n.type) ? [
|
|
51115
51103
|
...Lr(
|
|
51116
51104
|
Jt(
|
|
51117
51105
|
n.successCalls
|
|
@@ -51122,14 +51110,14 @@ function ze(n) {
|
|
|
51122
51110
|
n.errorCalls
|
|
51123
51111
|
)
|
|
51124
51112
|
)
|
|
51125
|
-
] :
|
|
51113
|
+
] : Qe.includes(n.type) ? Lr(
|
|
51126
51114
|
Jt(
|
|
51127
51115
|
n.calls
|
|
51128
51116
|
)
|
|
51129
51117
|
) : [];
|
|
51130
51118
|
}
|
|
51131
51119
|
function jJ(n) {
|
|
51132
|
-
return
|
|
51120
|
+
return Xe.includes(n.type) ? [
|
|
51133
51121
|
...Lr(
|
|
51134
51122
|
Jt(
|
|
51135
51123
|
n.successCalls
|
|
@@ -51140,7 +51128,7 @@ function jJ(n) {
|
|
|
51140
51128
|
n.errorCalls
|
|
51141
51129
|
)
|
|
51142
51130
|
)
|
|
51143
|
-
] :
|
|
51131
|
+
] : Qe.includes(n.type) ? Lr(
|
|
51144
51132
|
Jt(
|
|
51145
51133
|
n.calls
|
|
51146
51134
|
)
|
|
@@ -51313,7 +51301,7 @@ function yZ(n, s) {
|
|
|
51313
51301
|
case r.Operation:
|
|
51314
51302
|
return t.outputs.find((i) => i.id === n.id) !== void 0;
|
|
51315
51303
|
case r.VariableDeclaration:
|
|
51316
|
-
return
|
|
51304
|
+
return Xe.includes(n.type) ? jZ(
|
|
51317
51305
|
n
|
|
51318
51306
|
).find((a) => {
|
|
51319
51307
|
var o;
|
|
@@ -51347,77 +51335,77 @@ function il(n, s = {}, e = {
|
|
|
51347
51335
|
const t = n, i = n, a = n, o = n, l = n, d = n, p = n, h = n, y = n, v = n, E = n, g = n, A = n, I = [
|
|
51348
51336
|
...A.readsValue ? [A.readsValue] : [],
|
|
51349
51337
|
...A.declaration ? [A.declaration] : [],
|
|
51350
|
-
...(g.calledByEntry || []).flatMap((
|
|
51338
|
+
...(g.calledByEntry || []).flatMap((M) => M),
|
|
51351
51339
|
...(g.calledBySuccess || []).flatMap(
|
|
51352
|
-
(
|
|
51340
|
+
(M) => M
|
|
51353
51341
|
),
|
|
51354
|
-
...(g.calledByError || []).flatMap((
|
|
51342
|
+
...(g.calledByError || []).flatMap((M) => M),
|
|
51355
51343
|
...(a.extends || []).flatMap(
|
|
51356
|
-
(
|
|
51344
|
+
(M) => M
|
|
51357
51345
|
),
|
|
51358
51346
|
...v.parent ? [v.parent] : []
|
|
51359
51347
|
];
|
|
51360
51348
|
Array.isArray(a.implements) ? I.push(
|
|
51361
51349
|
...a.implements.flatMap(
|
|
51362
|
-
(
|
|
51350
|
+
(M) => M
|
|
51363
51351
|
)
|
|
51364
51352
|
) : y.implements && I.push(y.implements), Array.isArray(l.valueAsType) ? I.push(
|
|
51365
|
-
...l.valueAsType.flatMap((
|
|
51353
|
+
...l.valueAsType.flatMap((M) => M)
|
|
51366
51354
|
) : l.valueAsType && I.push(l.valueAsType);
|
|
51367
|
-
const
|
|
51368
|
-
...(t.inputs || []).flatMap((
|
|
51369
|
-
...(E.inputsDeclarations || []).flatMap((
|
|
51370
|
-
...(t.outputs || []).flatMap((
|
|
51371
|
-
...(E.outputsDeclarations || []).flatMap((
|
|
51355
|
+
const w = [
|
|
51356
|
+
...(t.inputs || []).flatMap((M) => M),
|
|
51357
|
+
...(E.inputsDeclarations || []).flatMap((M) => M),
|
|
51358
|
+
...(t.outputs || []).flatMap((M) => M),
|
|
51359
|
+
...(E.outputsDeclarations || []).flatMap((M) => M),
|
|
51372
51360
|
...(A.internalCalls || []).flatMap(
|
|
51373
|
-
(
|
|
51361
|
+
(M) => M
|
|
51374
51362
|
),
|
|
51375
51363
|
...A.writesValues || [],
|
|
51376
51364
|
...g.dataType ? [g.dataType] : [],
|
|
51377
51365
|
...d.body ? [d.body] : [],
|
|
51378
51366
|
...g.defaultValue ? [g.defaultValue] : [],
|
|
51379
|
-
...(g.successCalls || []).flatMap((
|
|
51380
|
-
...(g.errorCalls || []).flatMap((
|
|
51381
|
-
...(a.properties || []).flatMap((
|
|
51382
|
-
...(a.methods || []).flatMap((
|
|
51383
|
-
...(a.abstractMethods || []).flatMap((
|
|
51367
|
+
...(g.successCalls || []).flatMap((M) => M),
|
|
51368
|
+
...(g.errorCalls || []).flatMap((M) => M),
|
|
51369
|
+
...(a.properties || []).flatMap((M) => M),
|
|
51370
|
+
...(a.methods || []).flatMap((M) => M),
|
|
51371
|
+
...(a.abstractMethods || []).flatMap((M) => M),
|
|
51384
51372
|
...p.error ? [p.error] : [],
|
|
51385
51373
|
...p.process ? [p.process] : [],
|
|
51386
51374
|
...v.throws ? [v.throws] : [],
|
|
51387
51375
|
...(i.andChildrenGroup || []).flatMap(
|
|
51388
|
-
(
|
|
51376
|
+
(M) => M
|
|
51389
51377
|
),
|
|
51390
51378
|
...(i.orChildrenGroup || []).flatMap(
|
|
51391
|
-
(
|
|
51379
|
+
(M) => M
|
|
51392
51380
|
),
|
|
51393
|
-
...(h.entities || []).flatMap((
|
|
51394
|
-
...(h.functions || []).flatMap((
|
|
51395
|
-
...(h.functionCalls || []).flatMap((
|
|
51396
|
-
...(h.events || []).flatMap((
|
|
51397
|
-
...(h.conditions || []).flatMap((
|
|
51398
|
-
...(h.operations || []).flatMap((
|
|
51399
|
-
...(h.loops || []).flatMap((
|
|
51400
|
-
...(h.variableDeclarations || []).flatMap((
|
|
51401
|
-
...(h.variableInstances || []).flatMap((
|
|
51402
|
-
...(h.searches || []).flatMap((
|
|
51403
|
-
...(h.projects || []).flatMap((
|
|
51404
|
-
...(o.calls || []).flatMap((
|
|
51381
|
+
...(h.entities || []).flatMap((M) => M),
|
|
51382
|
+
...(h.functions || []).flatMap((M) => M),
|
|
51383
|
+
...(h.functionCalls || []).flatMap((M) => M),
|
|
51384
|
+
...(h.events || []).flatMap((M) => M),
|
|
51385
|
+
...(h.conditions || []).flatMap((M) => M),
|
|
51386
|
+
...(h.operations || []).flatMap((M) => M),
|
|
51387
|
+
...(h.loops || []).flatMap((M) => M),
|
|
51388
|
+
...(h.variableDeclarations || []).flatMap((M) => M),
|
|
51389
|
+
...(h.variableInstances || []).flatMap((M) => M),
|
|
51390
|
+
...(h.searches || []).flatMap((M) => M),
|
|
51391
|
+
...(h.projects || []).flatMap((M) => M),
|
|
51392
|
+
...(o.calls || []).flatMap((M) => M)
|
|
51405
51393
|
];
|
|
51406
51394
|
n.type === r.DataType && (i.entity && s[D(i.entity)] && s[D(i.entity)].parent && D(
|
|
51407
51395
|
s[D(i.entity)].parent
|
|
51408
|
-
) === n.id ?
|
|
51396
|
+
) === n.id ? w.push(i.entity) : i.entity && I.push(i.entity));
|
|
51409
51397
|
const Y = {}, Z = {};
|
|
51410
|
-
return I.forEach((
|
|
51411
|
-
const X = D(
|
|
51412
|
-
if (X && e.ignoreBuiltInBaseEntities && (_r.includes(
|
|
51398
|
+
return I.forEach((M) => {
|
|
51399
|
+
const X = D(M);
|
|
51400
|
+
if (X && e.ignoreBuiltInBaseEntities && (_r.includes(M.type) || (e.allBuiltInEntityIds || []).includes(X)))
|
|
51413
51401
|
return;
|
|
51414
|
-
const ie =
|
|
51402
|
+
const ie = M.version;
|
|
51415
51403
|
X && (Y[X] = ie);
|
|
51416
|
-
}),
|
|
51417
|
-
const X = D(
|
|
51418
|
-
if (X && e.ignoreBuiltInBaseEntities && (_r.includes(
|
|
51404
|
+
}), w.forEach((M) => {
|
|
51405
|
+
const X = D(M);
|
|
51406
|
+
if (X && e.ignoreBuiltInBaseEntities && (_r.includes(M.type) || (e.allBuiltInEntityIds || []).includes(X)))
|
|
51419
51407
|
return;
|
|
51420
|
-
const ie =
|
|
51408
|
+
const ie = M.version;
|
|
51421
51409
|
X && (Z[X] = ie);
|
|
51422
51410
|
}), {
|
|
51423
51411
|
upstream: Y,
|
|
@@ -52043,19 +52031,19 @@ function JJ(n, s) {
|
|
|
52043
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;
|
|
52044
52032
|
}
|
|
52045
52033
|
function jZ(n) {
|
|
52046
|
-
return
|
|
52034
|
+
return Xe.includes(n.type) ? n.inputs : [];
|
|
52047
52035
|
}
|
|
52048
52036
|
function kZ(n) {
|
|
52049
52037
|
var s;
|
|
52050
52038
|
return n.type === r.FunctionCall ? ((s = n.declaration.returnStatements[0]) == null ? void 0 : s.outputs) || [] : [r.Operation, r.Condition, r.Loop].includes(
|
|
52051
52039
|
n.type
|
|
52052
|
-
) ? 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 : [];
|
|
52053
52041
|
}
|
|
52054
52042
|
function qJ(n, s) {
|
|
52055
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;
|
|
52056
52044
|
}
|
|
52057
52045
|
function WJ(n) {
|
|
52058
|
-
return n.type === r.Condition ? [] :
|
|
52046
|
+
return n.type === r.Condition ? [] : Xe.includes(n.type) ? n.outputs : [];
|
|
52059
52047
|
}
|
|
52060
52048
|
function gl(n) {
|
|
52061
52049
|
const s = n.readsValue;
|
|
@@ -52106,7 +52094,7 @@ function Bn(n, s = !1) {
|
|
|
52106
52094
|
...(n == null ? void 0 : n.functionCalls) || [],
|
|
52107
52095
|
...(n == null ? void 0 : n.events) || [],
|
|
52108
52096
|
...(n == null ? void 0 : n.projects) || []
|
|
52109
|
-
),
|
|
52097
|
+
), ut.includes(n.type) && e.push(
|
|
52110
52098
|
...(n == null ? void 0 : n.detachedChildren) || []
|
|
52111
52099
|
), n.type === r.DefinitionEntity) {
|
|
52112
52100
|
const t = [
|
|
@@ -52135,7 +52123,7 @@ function Bn(n, s = !1) {
|
|
|
52135
52123
|
...i
|
|
52136
52124
|
);
|
|
52137
52125
|
}
|
|
52138
|
-
if (
|
|
52126
|
+
if (Xe.includes(n.type) && n.type !== r.Condition && n.type !== r.Loop) {
|
|
52139
52127
|
const t = n == null ? void 0 : n.outputs.map((o) => ia(o)).flat(), i = n.successCalls.map(
|
|
52140
52128
|
(o) => At(o)
|
|
52141
52129
|
), a = n.errorCalls.map(
|
|
@@ -52311,7 +52299,7 @@ function Hm(n) {
|
|
|
52311
52299
|
}
|
|
52312
52300
|
function HZ(n) {
|
|
52313
52301
|
if ([
|
|
52314
|
-
...
|
|
52302
|
+
...Qe,
|
|
52315
52303
|
r.DefinitionEntity,
|
|
52316
52304
|
r.InstalledProject,
|
|
52317
52305
|
r.Project
|
|
@@ -52324,7 +52312,7 @@ function HZ(n) {
|
|
|
52324
52312
|
}
|
|
52325
52313
|
function zm(n) {
|
|
52326
52314
|
return [
|
|
52327
|
-
...
|
|
52315
|
+
...Qe,
|
|
52328
52316
|
r.DefinitionEntity,
|
|
52329
52317
|
r.InstalledProject,
|
|
52330
52318
|
r.Project
|
|
@@ -52407,7 +52395,7 @@ function ic(n) {
|
|
|
52407
52395
|
}
|
|
52408
52396
|
}
|
|
52409
52397
|
function kt(n, s) {
|
|
52410
|
-
if (
|
|
52398
|
+
if (ut.includes(n.type))
|
|
52411
52399
|
return n;
|
|
52412
52400
|
if (_r.includes(n.type))
|
|
52413
52401
|
return null;
|
|
@@ -52430,7 +52418,7 @@ function Km(n, s) {
|
|
|
52430
52418
|
n.parent,
|
|
52431
52419
|
s
|
|
52432
52420
|
);
|
|
52433
|
-
return e ? e === s ?
|
|
52421
|
+
return e ? e === s ? ut.includes(n.type) ? n : null : e.type === r.DefinitionEntity ? n : Km(e, s) : null;
|
|
52434
52422
|
}
|
|
52435
52423
|
function Il(n, s, e) {
|
|
52436
52424
|
if (n === s || s === e || n === e)
|
|
@@ -52611,12 +52599,12 @@ function gs(n) {
|
|
|
52611
52599
|
[
|
|
52612
52600
|
...a.successCalls || []
|
|
52613
52601
|
].forEach((d) => {
|
|
52614
|
-
|
|
52602
|
+
Ke.includes(d.type) && d !== n && (ze(
|
|
52615
52603
|
n
|
|
52616
52604
|
).find((y) => y === d) || t(a, d));
|
|
52617
52605
|
});
|
|
52618
52606
|
let l;
|
|
52619
|
-
if (
|
|
52607
|
+
if (Xe.includes(a.type) && (l = a), l) {
|
|
52620
52608
|
const d = gs(l);
|
|
52621
52609
|
d.reachable || ze(
|
|
52622
52610
|
n
|
|
@@ -52628,12 +52616,12 @@ function gs(n) {
|
|
|
52628
52616
|
[
|
|
52629
52617
|
...a.errorCalls || []
|
|
52630
52618
|
].forEach((d) => {
|
|
52631
|
-
|
|
52619
|
+
Ke.includes(d.type) && d !== n && (ze(
|
|
52632
52620
|
n
|
|
52633
52621
|
).find((y) => y === d) || t(a, d));
|
|
52634
52622
|
});
|
|
52635
52623
|
let l;
|
|
52636
|
-
if (
|
|
52624
|
+
if (Xe.includes(a.type) && (l = a), l) {
|
|
52637
52625
|
const d = gs(l);
|
|
52638
52626
|
d.reachable || ze(
|
|
52639
52627
|
n
|
|
@@ -52643,7 +52631,7 @@ function gs(n) {
|
|
|
52643
52631
|
}
|
|
52644
52632
|
}), n.calledByEntry.forEach((a) => {
|
|
52645
52633
|
if ([...a.calls || []].forEach((d) => {
|
|
52646
|
-
|
|
52634
|
+
Ke.includes(d.type) && d !== n && (ze(
|
|
52647
52635
|
n
|
|
52648
52636
|
).find((y) => y === d) || t(a, d));
|
|
52649
52637
|
}), a === i)
|
|
@@ -53606,11 +53594,11 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
53606
53594
|
);
|
|
53607
53595
|
e && h.setParent(e), i && h.subscribe(), h.initChildren();
|
|
53608
53596
|
const y = (g = this.properties) == null ? void 0 : g.map(
|
|
53609
|
-
(
|
|
53597
|
+
(w) => w.clone(h, P.UUID.uuid(), i)
|
|
53610
53598
|
);
|
|
53611
53599
|
h.properties = y;
|
|
53612
53600
|
const v = (A = this.methods) == null ? void 0 : A.map(
|
|
53613
|
-
(
|
|
53601
|
+
(w, Y) => w.clone(
|
|
53614
53602
|
h,
|
|
53615
53603
|
p + "-method-" + Y + "-id",
|
|
53616
53604
|
i
|
|
@@ -53618,7 +53606,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
53618
53606
|
);
|
|
53619
53607
|
h.methods = v;
|
|
53620
53608
|
const E = (I = this.abstractMethods) == null ? void 0 : I.map(
|
|
53621
|
-
(
|
|
53609
|
+
(w, Y) => w.clone(
|
|
53622
53610
|
h,
|
|
53623
53611
|
p + "-abstract-method-" + Y + "-id",
|
|
53624
53612
|
i
|
|
@@ -53653,7 +53641,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
53653
53641
|
const t = [];
|
|
53654
53642
|
e.forEach((o) => {
|
|
53655
53643
|
t.find(
|
|
53656
|
-
(d) =>
|
|
53644
|
+
(d) => B(d, this.project) === B(o, this.project)
|
|
53657
53645
|
) || t.push(o);
|
|
53658
53646
|
});
|
|
53659
53647
|
const i = this.properties.filter(
|
|
@@ -53661,7 +53649,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
53661
53649
|
);
|
|
53662
53650
|
t.forEach((o) => {
|
|
53663
53651
|
const l = i.find(
|
|
53664
|
-
(v) =>
|
|
53652
|
+
(v) => B(v, this.project) === B(o, this.project)
|
|
53665
53653
|
);
|
|
53666
53654
|
if (!l)
|
|
53667
53655
|
return;
|
|
@@ -53686,7 +53674,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
53686
53674
|
}
|
|
53687
53675
|
}), a.length === 0 ? this : (a.forEach((o) => {
|
|
53688
53676
|
const l = this.properties.find(
|
|
53689
|
-
(g) =>
|
|
53677
|
+
(g) => B(g, this.project) === B(o, this.project)
|
|
53690
53678
|
);
|
|
53691
53679
|
if (l) {
|
|
53692
53680
|
if (o.setDeclaration(l), !l.getDataType()) {
|
|
@@ -53696,12 +53684,12 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
53696
53684
|
o
|
|
53697
53685
|
), I = xr(
|
|
53698
53686
|
A
|
|
53699
|
-
),
|
|
53687
|
+
), w = I == null ? void 0 : I.clone(
|
|
53700
53688
|
l,
|
|
53701
53689
|
P.UUID.uuid(),
|
|
53702
53690
|
!0
|
|
53703
53691
|
);
|
|
53704
|
-
|
|
53692
|
+
w && l.setDataType(w);
|
|
53705
53693
|
}
|
|
53706
53694
|
return;
|
|
53707
53695
|
}
|
|
@@ -53713,7 +53701,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
|
|
|
53713
53701
|
author: "1",
|
|
53714
53702
|
previousVersion: null,
|
|
53715
53703
|
deleted: !1,
|
|
53716
|
-
name:
|
|
53704
|
+
name: B(o, this.project),
|
|
53717
53705
|
description: o.description,
|
|
53718
53706
|
defaultValue: null,
|
|
53719
53707
|
static: !0,
|
|
@@ -54561,7 +54549,7 @@ class ln {
|
|
|
54561
54549
|
if (s.readsValue) {
|
|
54562
54550
|
if (Je.includes(s.readsValue.type)) {
|
|
54563
54551
|
let e = s.parent;
|
|
54564
|
-
|
|
54552
|
+
ut.includes(e.type) || (e = e.parent);
|
|
54565
54553
|
const t = s.type === r.InputMap && s.parent.type === r.Loop;
|
|
54566
54554
|
t && (e = s.parent.parent), s.readsValue.setParent(
|
|
54567
54555
|
e
|
|
@@ -54592,7 +54580,7 @@ class ln {
|
|
|
54592
54580
|
if (s.readsValue) {
|
|
54593
54581
|
if (Je.includes(s.readsValue.type)) {
|
|
54594
54582
|
let e = s.parent;
|
|
54595
|
-
|
|
54583
|
+
ut.includes(e.type) || (e = e.parent);
|
|
54596
54584
|
const t = s.type === r.InputMap && s.parent.type === r.Loop;
|
|
54597
54585
|
t && (e = s.parent.parent), s.readsValue.setParent(
|
|
54598
54586
|
e
|
|
@@ -56487,14 +56475,14 @@ export {
|
|
|
56487
56475
|
$ as ENTITY_RECUSION_OPTIONS_DEFAULTS,
|
|
56488
56476
|
_7 as ENTITY_TYPES,
|
|
56489
56477
|
w7 as ENTITY_WITH_DECLARATION_TYPES,
|
|
56490
|
-
|
|
56478
|
+
ut as ENTITY_WITH_LOGIC_SCOPE_TYPES,
|
|
56491
56479
|
sv as ENTITY_WITH_NAMES_TYPES,
|
|
56492
56480
|
V7 as ENTITY_WITH_PARENT_TYPES,
|
|
56493
56481
|
nv as ENTITY_WITH_USER_MANAGED_DECLARATION_TYPES,
|
|
56494
56482
|
C7 as ENTITY_WITH_USER_MANAGED_SINGLE_IMPLEMENTS_TYPES,
|
|
56495
56483
|
rv as ENTITY_WITH_VALUE_TYPES,
|
|
56496
56484
|
xo as ENTRY_POINT_ENTITIES_EXPLANATION,
|
|
56497
|
-
|
|
56485
|
+
Qe as ENTRY_POINT_TYPES,
|
|
56498
56486
|
Ma as EVENT_TYPES,
|
|
56499
56487
|
M7 as EXECUTABLE_TYPES,
|
|
56500
56488
|
yR as EXECUTION_OPERATIONS,
|
|
@@ -56538,7 +56526,7 @@ export {
|
|
|
56538
56526
|
on as OutputMapState,
|
|
56539
56527
|
Qo as PARENT_AUTO_CALCULATION_FROM_CALLER_EXPLANATION,
|
|
56540
56528
|
wn as PASS_THROUGH_CALLABLE_ENTITIES_EXPLANATION,
|
|
56541
|
-
|
|
56529
|
+
Xe as PASS_THROUGH_CALLABLE_TYPES,
|
|
56542
56530
|
iv as PASS_THROUGH_CALLABLE_TYPES_WITH_OUTPUTS,
|
|
56543
56531
|
_m as PROPERTY_NOT_VALUE_READER_WRITTER_EXPLANATION,
|
|
56544
56532
|
s7 as ParallelExecutionOperation,
|
|
@@ -56566,7 +56554,7 @@ export {
|
|
|
56566
56554
|
WT as SplitListOperationOutputIds,
|
|
56567
56555
|
mr as StandaloneOperatorTypes,
|
|
56568
56556
|
he as StringOperations,
|
|
56569
|
-
|
|
56557
|
+
Ke as TERMINATION_TYPES,
|
|
56570
56558
|
Lm as Traverser,
|
|
56571
56559
|
ov as USER_MANAGED_ENTITY_TYPES,
|
|
56572
56560
|
lq as UserManagedEntityStateFunctionality,
|
|
@@ -57241,7 +57229,7 @@ export {
|
|
|
57241
57229
|
Tl as resolveDataTypeLabel,
|
|
57242
57230
|
mJ as resolveDefinitionEntityDataTypeLabel,
|
|
57243
57231
|
fJ as resolveEntityDataTypeLabel,
|
|
57244
|
-
|
|
57232
|
+
B as resolveEntityName,
|
|
57245
57233
|
GJ as resolveFirstCallsSecond,
|
|
57246
57234
|
FJ as resolveFirstWritesSecond,
|
|
57247
57235
|
nq as resolvePrimaryKeyProperty,
|