@elyx-code/project-logic-tree 0.0.6912 → 0.0.6913

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
@@ -159951,19 +159951,22 @@ class Lq {
159951
159951
  }
159952
159952
  get columns() {
159953
159953
  const p = [];
159954
- if (this.selections.forEach((i) => {
159955
- var r;
159956
- if (i.type === Ot.ColumnRef)
159957
- p.push(i);
159958
- else if (i.type === Ot.AllColumnsSelector && ((r = i.parent) == null ? void 0 : r.type) === Ot.DataSource) {
159959
- const c = i.parent.columns;
159960
- p.push(...c);
159954
+ if (this.selections.forEach((a) => {
159955
+ var c;
159956
+ if (a.type === Ot.ColumnRef)
159957
+ p.push(a);
159958
+ else if (a.type === Ot.AllColumnsSelector && ((c = a.parent) == null ? void 0 : c.type) === Ot.DataSource) {
159959
+ const f = a.parent.columns;
159960
+ p.push(...f);
159961
159961
  }
159962
159962
  }), this.from) {
159963
- const i = this.from.columns;
159964
- p.push(...i);
159963
+ const a = this.from.columns;
159964
+ p.push(...a);
159965
159965
  }
159966
- return p;
159966
+ const i = /* @__PURE__ */ new Set(), r = [];
159967
+ for (const a of p)
159968
+ i.has(a) || (i.add(a), r.push(a));
159969
+ return r;
159967
159970
  }
159968
159971
  get isValid() {
159969
159972
  return !!this.from && this.from.isValid && !!this.validSelections.length;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elyx-code/project-logic-tree",
3
- "version": "0.0.6912",
3
+ "version": "0.0.6913",
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",