@elyx-code/project-logic-tree 0.0.7218 → 0.0.7219

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
@@ -203781,17 +203781,22 @@ function Wb(a, p) {
203781
203781
  }
203782
203782
  if (BL(t, p), t.namedRange && t.namedRange.trim() !== "")
203783
203783
  return t.namedRange;
203784
- const n = t._resolvedSheetName !== void 0 ? t._resolvedSheetName : typeof t.sheet == "string" ? t.sheet : void 0, s = n ? `'${n}'!` : "", u = (b) => {
203785
- if (typeof b == "number")
203786
- return bj(b);
203787
- if (typeof b == "string") {
203788
- const I = b.replace("$", "");
203789
- if (/^\d+$/.test(I))
203790
- return (b.startsWith("$") ? "$" : "") + bj(parseInt(I, 10));
203791
- }
203792
- return b || "";
203784
+ const n = t._resolvedSheetName !== void 0 ? t._resolvedSheetName : typeof t.sheet == "string" ? t.sheet : void 0, s = n ? `'${n}'!` : "", u = (I) => {
203785
+ if (typeof I == "number")
203786
+ return bj(I);
203787
+ if (typeof I == "string") {
203788
+ const A = I.replace("$", "");
203789
+ if (/^\d+$/.test(A))
203790
+ return (I.startsWith("$") ? "$" : "") + bj(parseInt(A, 10));
203791
+ }
203792
+ return I || "";
203793
203793
  }, e = u(t.startColumn), f = typeof t.startRow == "number" ? t.startRow.toString() : t.startRow || "", y = u(t.endColumn), m = typeof t.endRow == "number" ? t.endRow.toString() : t.endRow || "", T = `${e}${f}`, g = `${y}${m}`;
203794
- return T && g ? `${s}${T}:${g}` : T ? `${s}${T}` : s.replace(/!$/, "");
203794
+ if (T && g)
203795
+ return `${s}${T}:${g}`;
203796
+ if (T)
203797
+ return `${s}${T}`;
203798
+ const b = s.replace(/!$/, "");
203799
+ return b || "A1";
203795
203800
  }
203796
203801
  function Is(a, p) {
203797
203802
  if (!a)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elyx-code/project-logic-tree",
3
- "version": "0.0.7218",
3
+ "version": "0.0.7219",
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",