@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.cjs +1 -1
- package/dist/index.js +13 -10
- package/package.json +1 -1
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((
|
|
159955
|
-
var
|
|
159956
|
-
if (
|
|
159957
|
-
p.push(
|
|
159958
|
-
else if (
|
|
159959
|
-
const
|
|
159960
|
-
p.push(...
|
|
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
|
|
159964
|
-
p.push(...
|
|
159963
|
+
const a = this.from.columns;
|
|
159964
|
+
p.push(...a);
|
|
159965
159965
|
}
|
|
159966
|
-
|
|
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.
|
|
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",
|