@elyx-code/project-logic-tree 0.0.7062 → 0.0.7063

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.d.ts CHANGED
@@ -14872,9 +14872,9 @@ export declare enum BaseValueDescriptorIds {
14872
14872
 
14873
14873
  export declare function findEntityTypeWithFieldName(fieldName: string): Map<EntityType, EntityFieldType>;
14874
14874
 
14875
- export declare function findNextAvailableName(baseName: string, allEntitiesOfType: EntityWithNames[]): string;
14875
+ export declare function findNextAvailableName(baseName: string, allEntitiesOfType: EntityWithNames[], spacer?: string): string;
14876
14876
 
14877
- export declare function findNextAvailableNameString(baseName: string, takenNames: string[]): string;
14877
+ export declare function findNextAvailableNameString(baseName: string, takenNames: string[], spacer?: string): string;
14878
14878
 
14879
14879
  export declare function findNextCombinedSingleCallerAncestor(targetA: CallableEntityState | CallerEntityState, targetB: CallableEntityState | CallerEntityState, from?: CallerEntityState): {
14880
14880
  ancestor: CallerEntityState | null;
package/dist/index.js CHANGED
@@ -82677,23 +82677,23 @@ function jf(s, u) {
82677
82677
  }
82678
82678
  return i.codeName || null;
82679
82679
  }
82680
- function $K(s, u) {
82681
- let i = s;
82682
- if (!!u.some((a) => a === i)) {
82683
- const a = s.split(" "), c = a.pop() || "", e = parseInt(c);
82684
- return !isNaN(e) ? a.push(`${e + 1}`) : (a.push(c), a.push("1")), i = a.join(" "), $K(i, u);
82680
+ function $K(s, u, i = " ") {
82681
+ let r = s;
82682
+ if (!!u.some((c) => c === r)) {
82683
+ const c = s.split(i), e = c.pop() || "", f = parseInt(e);
82684
+ return !isNaN(f) ? c.push(`${f + 1}`) : (c.push(e), c.push("1")), r = c.join(i), $K(r, u, i);
82685
82685
  }
82686
- return i;
82686
+ return r;
82687
82687
  }
82688
- function tc(s, u) {
82689
- let i = s;
82688
+ function tc(s, u, i = " ") {
82689
+ let r = s;
82690
82690
  if (!!u.some(
82691
- (a) => a.name === i
82691
+ (c) => c.name === r
82692
82692
  )) {
82693
- const a = s.split(" "), c = a.pop() || "", e = parseInt(c);
82694
- return !isNaN(e) ? a.push(`${e + 1}`) : (a.push(c), a.push("1")), i = a.join(" "), tc(i, u);
82693
+ const c = s.split(i), e = c.pop() || "", f = parseInt(e);
82694
+ return !isNaN(f) ? c.push(`${f + 1}`) : (c.push(e), c.push("1")), r = c.join(i), tc(r, u, i);
82695
82695
  }
82696
- return i;
82696
+ return r;
82697
82697
  }
82698
82698
  function yci(s, u) {
82699
82699
  const r = s.project.getDefinitionEntities(
@@ -107650,7 +107650,8 @@ function ffi(s, u) {
107650
107650
  }
107651
107651
  ), ee = $K(
107652
107652
  U.value || "compute-instance",
107653
- W
107653
+ W,
107654
+ "-"
107654
107655
  );
107655
107656
  U.metaSync(
107656
107657
  { value: ee },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elyx-code/project-logic-tree",
3
- "version": "0.0.7062",
3
+ "version": "0.0.7063",
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",