@elyx-code/project-logic-tree 0.0.6692 → 0.0.6693

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
@@ -194099,9 +194099,11 @@ ${CD}`
194099
194099
  self: this
194100
194100
  };
194101
194101
  const n = [], s = [], c = [], e = [];
194102
- this.parent.type !== o.PrimitiveEntity && this.interactive && this.parent.getAllPropertiesImplements().forEach((ve) => {
194102
+ this.parent.type !== o.PrimitiveEntity && this.interactive && this.parent.getAllPropertiesImplements().filter(
194103
+ (ve) => ve.id !== this.id
194104
+ ).forEach((ve) => {
194103
194105
  this.addImplementation(ve, i);
194104
- });
194106
+ }), this.implements.find((ce) => ce.id === this.id) && this.removeImplementation(this, i);
194105
194107
  let y = null;
194106
194108
  for (const ce of this.implements)
194107
194109
  (V = ce.dataType) != null && V.isResolved && (y ? ($ = ce.dataType.orChildrenGroup) != null && $.length && ce.dataType.implementationChooseOne && (y = ce.dataType) : y = ce.dataType);
@@ -196429,7 +196431,10 @@ Alternatively you can update the parent data-type entity with 'update' action to
196429
196431
  x.UUID.uuid()
196430
196432
  );
196431
196433
  s.push($), i == null || i.add($, Z.Added);
196432
- }), i == null || i.attemptAutoclose("sync-implementation-properties", this.id), {
196434
+ }), this.properties.find((b) => {
196435
+ var E;
196436
+ return b.id === ((E = this.allPropertiesImplement) == null ? void 0 : E.id);
196437
+ }) && this.removeAllPropertiesImplement(i), i == null || i.attemptAutoclose("sync-implementation-properties", this.id), {
196433
196438
  updated: D(n),
196434
196439
  added: D(s),
196435
196440
  removed: D(c),
@@ -197114,9 +197119,7 @@ Alternatively you can update the parent data-type entity with 'update' action to
197114
197119
  ];
197115
197120
  }
197116
197121
  async getErrorsAsync(i = {}) {
197117
- const n = qe.from(i), s = [
197118
- ...this.errors
197119
- ];
197122
+ const n = qe.from(i), s = [...this.errors];
197120
197123
  await n.tick();
197121
197124
  for (const c of this.properties)
197122
197125
  s.push(...await c.getErrorsAsync({ tracker: n }));
@@ -197174,7 +197177,9 @@ Alternatively you can update the parent data-type entity with 'update' action to
197174
197177
  c
197175
197178
  ));
197176
197179
  if (w.abstractMethods = L, this.additionalPropertiesDataType)
197177
- if (this.project.diggestedBuiltInBaseEntitiesIds.has(this.additionalPropertiesDataType.id))
197180
+ if (this.project.diggestedBuiltInBaseEntitiesIds.has(
197181
+ this.additionalPropertiesDataType.id
197182
+ ))
197178
197183
  w.setAdditionalPropertiesDataType(
197179
197184
  this.project.getBuiltIn(
197180
197185
  this.additionalPropertiesDataType.id
@@ -197194,7 +197199,9 @@ Alternatively you can update the parent data-type entity with 'update' action to
197194
197199
  );
197195
197200
  }
197196
197201
  if (this.allPropertiesImplement)
197197
- if (this.project.diggestedBuiltInBaseEntitiesIds.has(this.allPropertiesImplement.id))
197202
+ if (this.project.diggestedBuiltInBaseEntitiesIds.has(
197203
+ this.allPropertiesImplement.id
197204
+ ))
197198
197205
  w.setAllPropertiesImplement(
197199
197206
  this.project.getBuiltIn(
197200
197207
  this.allPropertiesImplement.id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elyx-code/project-logic-tree",
3
- "version": "0.0.6692",
3
+ "version": "0.0.6693",
4
4
  "author": "Sergio Herrero",
5
5
  "license": "UNLICENSED",
6
6
  "description": "An installable module which contains the type definitions and ephemeral state management for a projects' logic tree data structure",