@elyx-code/project-logic-tree 0.0.6256 → 0.0.6257

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
@@ -44091,7 +44091,7 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
44091
44091
  )
44092
44092
  )) {
44093
44093
  const t = [], i = [], s = [], l = [], o = this.getUniqueReturnDeclarations(), d = this.outputsDeclarations;
44094
- return o.forEach((h, c) => {
44094
+ o.forEach((h, c) => {
44095
44095
  h.index !== c && (h.metaSync({ index: c }, e), t.push(h));
44096
44096
  }), o.forEach((h) => {
44097
44097
  const c = h.getDataType(e);
@@ -44190,18 +44190,22 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
44190
44190
  );
44191
44191
  M.metaSync({ isList: !0 }, e), M.setParent(E, e), M.initChildren(e), e == null || e.add(M, I.Added), M.addSelfToProject(e), i.push(M);
44192
44192
  }
44193
- }), d.filter(
44193
+ });
44194
+ const u = d.filter(
44194
44195
  (h) => !o.find(
44195
44196
  (T) => F(h, this.project) === oe.fromReturnDeclarationToLoopOutputDeclarationName(T)
44196
44197
  )
44197
- ).forEach((h) => {
44198
- const { updated: c, removed: T } = h.remove(
44199
- {
44200
- ignoreUpstream: !1
44201
- },
44202
- e
44203
- );
44204
- t.push(...c), s.push(...T);
44198
+ );
44199
+ return console.log("outputDeclarationsToRemove", u), u.forEach((h) => {
44200
+ if (!(e != null && e.hasRemoved(h.id)) && !h.deleted) {
44201
+ const { updated: c, removed: T } = h.remove(
44202
+ {
44203
+ ignoreUpstream: !1
44204
+ },
44205
+ e
44206
+ );
44207
+ t.push(...c), s.push(...T);
44208
+ }
44205
44209
  }), e == null || e.attemptAutoclose("sync-outputs-declarations", this.id), {
44206
44210
  updated: p(t),
44207
44211
  added: p(i),
@@ -44463,7 +44467,10 @@ You shouldn't have to manually update a 'parent' property. The equivalent result
44463
44467
  const x = this.project.get(
44464
44468
  g[n.Loop][ee.List].inputs.list.id
44465
44469
  );
44466
- M && (!O.implements || O.implements.id !== M.id) && (O.setImplements(M, e), t.push(O));
44470
+ M && (!O.implements || O.implements.id !== M.id) && (O.setImplements(
44471
+ M,
44472
+ e
44473
+ ), t.push(O));
44467
44474
  let $ = O.getDataType(e);
44468
44475
  if (!$) {
44469
44476
  const q = {