@elyx-code/project-logic-tree 0.0.6617 → 0.0.6619

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 CHANGED
@@ -50165,7 +50165,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
50165
50165
  y,
50166
50166
  e
50167
50167
  );
50168
- a ? T.setParent(a, null) : T.setParent(this.parent, null), c && T.subscribe(), T.initChildren(i), i == null || i.add(T, k.Added);
50168
+ a ? T.setParent(a, i) : T.setParent(this.parent, null), c && T.subscribe(), T.initChildren(i), i == null || i.add(T, k.Added);
50169
50169
  const A = (_ = this.dataType) == null ? void 0 : _.clone(
50170
50170
  i,
50171
50171
  T,
@@ -52175,7 +52175,7 @@ Please consider than any updates might affect the overlap with the signature of
52175
52175
  v,
52176
52176
  y
52177
52177
  );
52178
- a ? A.setParent(a, null) : A.setParent(this.parent, null), c && A.subscribe(), A.initChildren(i), i == null || i.add(A, k.Added);
52178
+ a ? A.setParent(a, i) : A.setParent(this.parent, null), c && A.subscribe(), A.initChildren(i), i == null || i.add(A, k.Added);
52179
52179
  const b = (x = this.inputs) == null ? void 0 : x.map(
52180
52180
  (j) => j.clone(
52181
52181
  i,
@@ -54387,7 +54387,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
54387
54387
  y,
54388
54388
  e
54389
54389
  );
54390
- a ? b.setParent(a, null) : b.setParent(this.parent, null), c && b.subscribe(), b.initChildren(i), i == null || i.add(b, k.Added);
54390
+ a ? b.setParent(a, i) : b.setParent(this.parent, null), c && b.subscribe(), b.initChildren(i), i == null || i.add(b, k.Added);
54391
54391
  const _ = (x = this.inputs) == null ? void 0 : x.map(
54392
54392
  (j, Z) => j.clone(
54393
54393
  i,
@@ -56118,7 +56118,7 @@ Specifically for return statements the parent needs to always be the 'function-d
56118
56118
  y,
56119
56119
  e
56120
56120
  );
56121
- a ? b.setParent(a, null) : b.setParent(this.parent, null), c && b.subscribe(), b.initChildren(i), i == null || i.add(b, k.Added);
56121
+ a ? b.setParent(a, i) : b.setParent(this.parent, null), c && b.subscribe(), b.initChildren(i), i == null || i.add(b, k.Added);
56122
56122
  const _ = (B = this.dataType) == null ? void 0 : B.clone(
56123
56123
  i,
56124
56124
  b,
@@ -57461,7 +57461,7 @@ You can attach new logic to the existing 'global-event' but creating a new calla
57461
57461
  v,
57462
57462
  y
57463
57463
  );
57464
- a ? _.setParent(a, null) : _.setParent(this.parent, null), c && _.subscribe(), _.initChildren(i), i == null || i.add(_, k.Added);
57464
+ a ? _.setParent(a, i) : _.setParent(this.parent, null), c && _.subscribe(), _.initChildren(i), i == null || i.add(_, k.Added);
57465
57465
  const $ = (B = this.inputs) == null ? void 0 : B.map(
57466
57466
  (j, Z) => j.clone(
57467
57467
  i,
@@ -59201,7 +59201,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
59201
59201
  v,
59202
59202
  y
59203
59203
  );
59204
- a ? _.setParent(a, null) : this.parent && _.setParent(this.parent, null), c && _.subscribe(), _.initChildren(i), i == null || i.add(_, k.Added);
59204
+ a ? _.setParent(a, i) : this.parent && _.setParent(this.parent, null), c && _.subscribe(), _.initChildren(i), i == null || i.add(_, k.Added);
59205
59205
  const $ = (B = this.dataType) == null ? void 0 : B.clone(
59206
59206
  i,
59207
59207
  _,
@@ -60966,7 +60966,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
60966
60966
  y,
60967
60967
  e
60968
60968
  );
60969
- a ? b.setParent(a, null) : b.setParent(this.parent, null), c && b.subscribe(), b.initChildren(i), i == null || i.add(b, k.Added);
60969
+ a ? b.setParent(a, i) : b.setParent(this.parent, null), c && b.subscribe(), b.initChildren(i), i == null || i.add(b, k.Added);
60970
60970
  const _ = (x = this.inputs) == null ? void 0 : x.map(
60971
60971
  (j, Z) => j.clone(
60972
60972
  i,
@@ -64453,7 +64453,7 @@ If an entity is called by another, they must be in the same scope, which means t
64453
64453
  y,
64454
64454
  e
64455
64455
  );
64456
- a ? b.setParent(a, null) : b.setParent(this.parent, null), c && b.subscribe(), b.initChildren(i), i == null || i.add(b, k.Added);
64456
+ a ? b.setParent(a, i) : b.setParent(this.parent, null), c && b.subscribe(), b.initChildren(i), i == null || i.add(b, k.Added);
64457
64457
  const _ = (B = this.andChildrenGroup) == null ? void 0 : B.map(
64458
64458
  (q) => q.clone(i, b, V.UUID.uuid(), c)
64459
64459
  ), $ = (j = this.orChildrenGroup) == null ? void 0 : j.map(
@@ -79402,7 +79402,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
79402
79402
  y,
79403
79403
  e
79404
79404
  );
79405
- a ? T.setParent(a, null) : T.setParent(this.parent, null), c && T.subscribe(), T.initChildren(i), i == null || i.add(T, k.Added);
79405
+ a ? T.setParent(a, i) : T.setParent(this.parent, null), c && T.subscribe(), T.initChildren(i), i == null || i.add(T, k.Added);
79406
79406
  const A = (x = this.defaultValue) == null ? void 0 : x.clone(
79407
79407
  i,
79408
79408
  T,
@@ -81894,7 +81894,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
81894
81894
  y,
81895
81895
  e
81896
81896
  );
81897
- a ? T.setParent(a, null) : T.setParent(this.parent, null), c && T.subscribe(), T.initChildren(i), i == null || i.add(T, k.Added);
81897
+ a ? T.setParent(a, i) : T.setParent(this.parent, null), c && T.subscribe(), T.initChildren(i), i == null || i.add(T, k.Added);
81898
81898
  const A = (B = this.dataType) == null ? void 0 : B.clone(
81899
81899
  i,
81900
81900
  T,
@@ -105581,7 +105581,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
105581
105581
  y,
105582
105582
  e
105583
105583
  );
105584
- a ? b.setParent(a, null) : b.setParent(this.parent, null), c && b.subscribe(), b.initChildren(i), i == null || i.add(b, k.Added);
105584
+ a ? b.setParent(a, i) : b.setParent(this.parent, null), c && b.subscribe(), b.initChildren(i), i == null || i.add(b, k.Added);
105585
105585
  const _ = (B = this.inputsDeclarations) == null ? void 0 : B.map(
105586
105586
  (q, H) => q.clone(
105587
105587
  i,
@@ -106703,7 +106703,7 @@ const u4t = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
106703
106703
  y,
106704
106704
  e
106705
106705
  );
106706
- a && b.setParent(a, null), c && b.subscribe(), b.initChildren(i), i == null || i.add(b, k.Added);
106706
+ a && b.setParent(a, i), c && b.subscribe(), b.initChildren(i), i == null || i.add(b, k.Added);
106707
106707
  const _ = (x = this.functions) == null ? void 0 : x.map(
106708
106708
  (j, Z) => j.clone(
106709
106709
  i,
@@ -108837,7 +108837,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
108837
108837
  y,
108838
108838
  e
108839
108839
  );
108840
- a ? b.setParent(a, null) : b.setParent(this.parent, null), c && b.subscribe(), b.initChildren(i), i == null || i.add(b, k.Added);
108840
+ a ? b.setParent(a, i) : b.setParent(this.parent, null), c && b.subscribe(), b.initChildren(i), i == null || i.add(b, k.Added);
108841
108841
  const _ = (x = this.inputs) == null ? void 0 : x.map(
108842
108842
  (j, Z) => j.clone(
108843
108843
  i,
@@ -110561,7 +110561,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
110561
110561
  y,
110562
110562
  e
110563
110563
  );
110564
- T.hydrateAncestors(), a && T.setParent(a, null), c && T.subscribe(), T.addSelfToProject(i), T.initChildren(i), i == null || i.add(T, k.Added);
110564
+ T.hydrateAncestors(), a && T.setParent(a, i), c && (T.subscribe(), T.addSelfToProject(i)), T.initChildren(i), i == null || i.add(T, k.Added);
110565
110565
  const A = (b = this.defaultValue) == null ? void 0 : b.clone(
110566
110566
  i,
110567
110567
  T,
@@ -111832,7 +111832,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
111832
111832
  y,
111833
111833
  e
111834
111834
  );
111835
- a ? T.setParent(a, null) : T.setParent(this.parent, null), c && T.subscribe(), T.initChildren(i), i == null || i.add(T, k.Added);
111835
+ a ? T.setParent(a, i) : T.setParent(this.parent, null), c && T.subscribe(), T.initChildren(i), i == null || i.add(T, k.Added);
111836
111836
  const A = (b = this.dataType) == null ? void 0 : b.clone(
111837
111837
  i,
111838
111838
  T,
@@ -113125,7 +113125,7 @@ This is likely an incorrect strategy, either the '${this.type}' entity doesn't n
113125
113125
  y,
113126
113126
  e
113127
113127
  );
113128
- return T.initChildren(i), a && T.setParent(a, null), i == null || i.add(T, k.Added), c && T.subscribe(), i == null || i.attemptAutoclose(O.CloneEntity, this.id), T;
113128
+ return T.hydrateAncestors(), a && T.setParent(a, i), c && (T.subscribe(), T.addSelfToProject(i)), T.initChildren(i), i == null || i.attemptAutoclose(O.CloneEntity, this.id), T;
113129
113129
  }
113130
113130
  // This function merges a given source entity with the current one
113131
113131
  // The goal is to keep the current instance with the current id
@@ -114568,7 +114568,7 @@ Specifically for break statements the parent needs to always be the 'loop' entit
114568
114568
  y,
114569
114569
  e
114570
114570
  );
114571
- a ? b.setParent(a, null) : b.setParent(this.parent, null), c && b.subscribe(), b.initChildren(i), i == null || i.add(b, k.Added);
114571
+ a ? b.setParent(a, i) : b.setParent(this.parent, null), c && b.subscribe(), b.initChildren(i), i == null || i.add(b, k.Added);
114572
114572
  const _ = (B = this.dataType) == null ? void 0 : B.clone(
114573
114573
  i,
114574
114574
  b,
@@ -116147,7 +116147,7 @@ Specifically for continue statements the parent needs to always be the 'loop' en
116147
116147
  y,
116148
116148
  e
116149
116149
  );
116150
- a ? b.setParent(a, null) : b.setParent(this.parent, null), c && b.subscribe(), b.initChildren(i), i == null || i.add(b, k.Added);
116150
+ a ? b.setParent(a, i) : b.setParent(this.parent, null), c && b.subscribe(), b.initChildren(i), i == null || i.add(b, k.Added);
116151
116151
  const _ = (B = this.dataType) == null ? void 0 : B.clone(
116152
116152
  i,
116153
116153
  b,
@@ -117299,7 +117299,7 @@ ${Wa(
117299
117299
  T,
117300
117300
  y
117301
117301
  );
117302
- a && A.setParent(a, null), i == null || i.add(A, k.Added), c && A.subscribe();
117302
+ a && A.setParent(a, i), i == null || i.add(A, k.Added), c && A.subscribe();
117303
117303
  const b = (($ = this.dataType) == null ? void 0 : $.clone(
117304
117304
  i,
117305
117305
  A,
@@ -123114,7 +123114,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
123114
123114
  y,
123115
123115
  e
123116
123116
  );
123117
- a ? b.setParent(a, null) : b.setParent(this.parent, null), c && b.subscribe(), b.initChildren(i), i == null || i.add(b, k.Added);
123117
+ a ? b.setParent(a, i) : b.setParent(this.parent, null), c && b.subscribe(), b.initChildren(i), i == null || i.add(b, k.Added);
123118
123118
  const _ = (x = this.inputs) == null ? void 0 : x.map(
123119
123119
  (j, Z) => j.clone(
123120
123120
  i,