@elyx-code/project-logic-tree 0.0.6058 → 0.0.6059
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 +21 -13
- package/dist/index.umd.cjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1142,7 +1142,7 @@ const w = {
|
|
|
1142
1142
|
id: Jt.inputs.first.id,
|
|
1143
1143
|
type: n.ValueDescriptor,
|
|
1144
1144
|
version: 1,
|
|
1145
|
-
name: "
|
|
1145
|
+
name: "Text",
|
|
1146
1146
|
description: "The first text to join to the second one. Its value will be at the beginning of the resulting text.",
|
|
1147
1147
|
dataType: JT,
|
|
1148
1148
|
parentRelationType: A.FixedArguments,
|
|
@@ -1208,7 +1208,7 @@ const w = {
|
|
|
1208
1208
|
id: Jt.inputs.second.id,
|
|
1209
1209
|
type: n.ValueDescriptor,
|
|
1210
1210
|
version: 1,
|
|
1211
|
-
name: "
|
|
1211
|
+
name: "Text",
|
|
1212
1212
|
description: "The second text to join to the first one. Its value will be at the end of the resulting text.",
|
|
1213
1213
|
dataType: YT,
|
|
1214
1214
|
parentRelationType: A.FixedArguments,
|
|
@@ -1276,7 +1276,7 @@ const w = {
|
|
|
1276
1276
|
id: Jt.inputs.dynamicString.id,
|
|
1277
1277
|
type: n.ValueDescriptor,
|
|
1278
1278
|
version: 1,
|
|
1279
|
-
name: "
|
|
1279
|
+
name: "Text",
|
|
1280
1280
|
description: "Text to join to the previous ones. Its value will be at the end of the resulting text.",
|
|
1281
1281
|
dataType: lb,
|
|
1282
1282
|
parentRelationType: A.DynamicArgument,
|
|
@@ -1459,7 +1459,7 @@ const w = {
|
|
|
1459
1459
|
index: 1,
|
|
1460
1460
|
parent: Ab
|
|
1461
1461
|
}, Ld = {
|
|
1462
|
-
id: Z.
|
|
1462
|
+
id: Z.Split,
|
|
1463
1463
|
type: n.ActionDescriptor,
|
|
1464
1464
|
version: 1,
|
|
1465
1465
|
name: Z.Split,
|
|
@@ -11481,7 +11481,7 @@ const iO = {
|
|
|
11481
11481
|
id: "8f2094c0-e27e-465e-9280-112da0de9019",
|
|
11482
11482
|
declaration: Ka,
|
|
11483
11483
|
version: 1,
|
|
11484
|
-
inputs: [
|
|
11484
|
+
inputs: [Pp, RB],
|
|
11485
11485
|
outputs: [OB],
|
|
11486
11486
|
process: null,
|
|
11487
11487
|
calledByError: [],
|
|
@@ -26717,11 +26717,15 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
26717
26717
|
// If the declaration has inputs (value-descriptor entities) that are not yet added to the operation,
|
|
26718
26718
|
// create the input-map entities and add them to the operation
|
|
26719
26719
|
syncMissingFixedInputs() {
|
|
26720
|
-
|
|
26720
|
+
const e = this.declaration.inputs.filter(
|
|
26721
26721
|
(t) => t.parentRelationType === A.FixedArguments && !this.inputs.find(
|
|
26722
26722
|
(i) => i.declaration.id === t.id
|
|
26723
26723
|
)
|
|
26724
|
-
)
|
|
26724
|
+
);
|
|
26725
|
+
return this.inputs.sort((t, i) => t.index - i.index), e.forEach((t) => {
|
|
26726
|
+
this.inputs.forEach((s) => {
|
|
26727
|
+
s.index >= t.index && s.index++;
|
|
26728
|
+
});
|
|
26725
26729
|
const i = {
|
|
26726
26730
|
id: B.UUID.uuid(),
|
|
26727
26731
|
version: 1,
|
|
@@ -26729,7 +26733,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
26729
26733
|
declaration: t.toJSON(),
|
|
26730
26734
|
readsValue: null,
|
|
26731
26735
|
defaultValue: null,
|
|
26732
|
-
index:
|
|
26736
|
+
index: t.index,
|
|
26733
26737
|
name: null,
|
|
26734
26738
|
description: null,
|
|
26735
26739
|
parent: this.toReference()
|
|
@@ -26738,30 +26742,34 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
|
|
|
26738
26742
|
this.project
|
|
26739
26743
|
);
|
|
26740
26744
|
a.setParent(this), a.initChildren(), a.addSelfToProject();
|
|
26741
|
-
}), this;
|
|
26745
|
+
}), this.inputs.sort((t, i) => t.index - i.index), this;
|
|
26742
26746
|
}
|
|
26743
26747
|
// If the declaration has outputs (value-descriptor entities) that are not yet added to the operation,
|
|
26744
26748
|
// create the output-map entities and add them to the operation
|
|
26745
26749
|
syncMissingFixedOutputs() {
|
|
26746
|
-
|
|
26750
|
+
const e = this.declaration.outputs.filter(
|
|
26747
26751
|
(t) => t.parentRelationType === A.FixedReturns && !this.outputs.find(
|
|
26748
26752
|
(i) => i.declaration.id === t.id
|
|
26749
26753
|
)
|
|
26750
|
-
)
|
|
26754
|
+
);
|
|
26755
|
+
return this.outputs.sort((t, i) => t.index - i.index), e.forEach((t) => {
|
|
26756
|
+
this.outputs.forEach((s) => {
|
|
26757
|
+
s.index >= t.index && s.index++;
|
|
26758
|
+
});
|
|
26751
26759
|
const i = {
|
|
26752
26760
|
id: B.UUID.uuid(),
|
|
26753
26761
|
version: 1,
|
|
26754
26762
|
type: n.OutputMap,
|
|
26755
26763
|
declaration: t.toJSON(),
|
|
26756
26764
|
writesValues: [],
|
|
26757
|
-
index:
|
|
26765
|
+
index: t.index,
|
|
26758
26766
|
parent: this.toReference()
|
|
26759
26767
|
}, a = E(
|
|
26760
26768
|
i,
|
|
26761
26769
|
this.project
|
|
26762
26770
|
);
|
|
26763
26771
|
a.setParent(this), a.initChildren(), a.addSelfToProject();
|
|
26764
|
-
}), this;
|
|
26772
|
+
}), this.outputs.sort((t, i) => t.index - i.index), this;
|
|
26765
26773
|
}
|
|
26766
26774
|
};
|
|
26767
26775
|
c(se, "MUTABLE_BASE_PROPERTIES", []), c(se, "INMUTABLE_BASE_PROPERTIES", ["id", "type", "version"]), c(se, "BASE_PROPERTIES", [
|