@elyx-code/project-logic-tree 0.0.6936 → 0.0.6937

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
@@ -81026,7 +81026,7 @@ function Oui(s, p) {
81026
81026
  const r = s.project.getDefinitionEntities(
81027
81027
  /* @__PURE__ */ new Set([s.id])
81028
81028
  ).filter(
81029
- (a) => a.id !== a.id && a.name.toLowerCase() === a.name.toLowerCase()
81029
+ (a) => a.id !== s.id && a.name.toLowerCase() === s.name.toLowerCase()
81030
81030
  );
81031
81031
  if (r.length) {
81032
81032
  const a = zc(s.name, r);
@@ -185962,18 +185962,15 @@ Alternatively you can update the parent data-type entity with 'update' action to
185962
185962
  ).filter(
185963
185963
  (ue) => ue.id !== this.id && ue.name.toLowerCase() === this.name.toLowerCase()
185964
185964
  );
185965
- if (he.length) {
185966
- if (this.parent.type === d.Project)
185967
- for (let ue = 0; ue < he.length; ue++) {
185968
- const Ee = he[ue];
185969
- Ee.parent.type !== d.Project && (Oui(Ee, i), he = he.filter(
185970
- (ge) => ge.id !== Ee.id
185971
- ));
185972
- }
185973
- if (he.length) {
185974
- const ue = zc(this.name, he);
185975
- this.metaSync({ name: ue }, i);
185976
- }
185965
+ if (he.length && (this.parent.type === d.Project && (he.filter(
185966
+ (Ee) => Ee.parent.type !== d.Project
185967
+ ).forEach((Ee) => {
185968
+ Oui(Ee, i);
185969
+ }), he = he.filter(
185970
+ (Ee) => Ee.name.toLowerCase() === this.name.toLowerCase()
185971
+ )), he.length)) {
185972
+ const ue = zc(this.name, he);
185973
+ this.metaSync({ name: ue }, i);
185977
185974
  }
185978
185975
  return i == null || i.attemptAutoclose(
185979
185976
  D.AfterAllChildrenInitialized,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elyx-code/project-logic-tree",
3
- "version": "0.0.6936",
3
+ "version": "0.0.6937",
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",