@finos/legend-query-builder 4.15.2 → 4.15.4
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/__lib__/QueryBuilderTesting.d.ts +1 -0
- package/lib/__lib__/QueryBuilderTesting.d.ts.map +1 -1
- package/lib/__lib__/QueryBuilderTesting.js +2 -0
- package/lib/__lib__/QueryBuilderTesting.js.map +1 -1
- package/lib/components/data-cube/QueryBuilderDataCube.d.ts.map +1 -1
- package/lib/components/data-cube/QueryBuilderDataCube.js +6 -7
- package/lib/components/data-cube/QueryBuilderDataCube.js.map +1 -1
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts.map +1 -1
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js +38 -33
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +12 -5
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js +2 -2
- package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSGridResult.d.ts.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js +4 -3
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSResultShared.d.ts +2 -2
- package/lib/components/result/tds/QueryBuilderTDSResultShared.d.ts.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSResultShared.js +157 -19
- package/lib/components/result/tds/QueryBuilderTDSResultShared.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/QueryBuilderState.d.ts +6 -1
- package/lib/stores/QueryBuilderState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderState.js +3 -0
- package/lib/stores/QueryBuilderState.js.map +1 -1
- package/lib/stores/explorer/QueryFunctionsExplorerState.d.ts +17 -6
- package/lib/stores/explorer/QueryFunctionsExplorerState.d.ts.map +1 -1
- package/lib/stores/explorer/QueryFunctionsExplorerState.js +142 -59
- package/lib/stores/explorer/QueryFunctionsExplorerState.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterOperator.d.ts +1 -1
- package/lib/stores/filter/QueryBuilderFilterOperator.d.ts.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.d.ts +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.js +8 -3
- package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.js +1 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts +2 -2
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js +3 -3
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts +2 -2
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js +3 -3
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts +2 -2
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js +2 -2
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js +2 -2
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js +2 -2
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts +2 -2
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js +2 -2
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts +2 -2
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js +2 -2
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js +2 -2
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js +2 -2
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts +2 -2
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js +3 -3
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +1 -1
- package/package.json +6 -6
- package/src/__lib__/QueryBuilderTesting.ts +2 -0
- package/src/components/data-cube/QueryBuilderDataCube.tsx +15 -25
- package/src/components/explorer/QueryBuilderFunctionsExplorerPanel.tsx +63 -70
- package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +23 -11
- package/src/components/filter/QueryBuilderFilterPanel.tsx +2 -2
- package/src/components/result/tds/QueryBuilderTDSGridResult.tsx +7 -3
- package/src/components/result/tds/QueryBuilderTDSResultShared.tsx +334 -26
- package/src/index.ts +1 -0
- package/src/stores/QueryBuilderState.ts +12 -0
- package/src/stores/explorer/QueryFunctionsExplorerState.ts +227 -94
- package/src/stores/filter/QueryBuilderFilterOperator.ts +1 -1
- package/src/stores/filter/QueryBuilderFilterState.ts +10 -5
- package/src/stores/filter/QueryBuilderFilterStateBuilder.ts +1 -1
- package/src/stores/filter/operators/QueryBuilderFilterOperator_Contain.ts +3 -5
- package/src/stores/filter/operators/QueryBuilderFilterOperator_EndWith.ts +3 -5
- package/src/stores/filter/operators/QueryBuilderFilterOperator_Equal.ts +2 -2
- package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.ts +2 -4
- package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.ts +2 -4
- package/src/stores/filter/operators/QueryBuilderFilterOperator_In.ts +2 -2
- package/src/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.ts +2 -2
- package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThan.ts +2 -4
- package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.ts +2 -4
- package/src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.ts +3 -5
@@ -13,8 +13,8 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import {
|
17
|
-
import { addUniqueEntry, guaranteeNonNullable, isNonNullable, noop, uuid, } from '@finos/legend-shared';
|
16
|
+
import { Package, Unit, ROOT_PACKAGE_NAME, buildFunctionAnalysisInfoFromConcreteFunctionDefinition, getOrCreateGraphPackage, } from '@finos/legend-graph';
|
17
|
+
import { ActionState, addUniqueEntry, guaranteeNonNullable, isNonNullable, noop, uuid, } from '@finos/legend-shared';
|
18
18
|
import { action, makeObservable, observable } from 'mobx';
|
19
19
|
import { compareLabelFn, } from '@finos/legend-art';
|
20
20
|
export const QUERY_BUILDER_FUNCTION_DND_TYPE = 'QUERY_BUILDER_FUNCTION';
|
@@ -23,11 +23,11 @@ export class QueryBuilderFunctionsExplorerTreeNodeData {
|
|
23
23
|
label;
|
24
24
|
childrenIds = [];
|
25
25
|
isOpen;
|
26
|
-
|
27
|
-
|
26
|
+
package;
|
27
|
+
functionAnalysisInfo;
|
28
|
+
constructor(id, label) {
|
28
29
|
this.id = id;
|
29
30
|
this.label = label;
|
30
|
-
this.packageableElement = packageableElement;
|
31
31
|
}
|
32
32
|
}
|
33
33
|
const getValidDisplayablePackageSet = (queryBuilderState, rootPackageName) => {
|
@@ -39,35 +39,48 @@ const getValidDisplayablePackageSet = (queryBuilderState, rootPackageName) => {
|
|
39
39
|
return queryBuilderState.functionsExplorerState.displayablePackagesSet;
|
40
40
|
}
|
41
41
|
};
|
42
|
-
|
42
|
+
const generateFunctionsExplorerTreeNodeDataFromPackage = (queryBuilderState, element, rootPackageName) => ({
|
43
43
|
id: element.path,
|
44
44
|
label: element.name,
|
45
|
-
childrenIds: element
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
45
|
+
childrenIds: element.children
|
46
|
+
.filter((child) => !(child instanceof Unit))
|
47
|
+
.filter((child) => child instanceof Package &&
|
48
|
+
getValidDisplayablePackageSet(queryBuilderState, rootPackageName).has(child))
|
49
|
+
.map((child) => child.path)
|
50
|
+
.concat(queryBuilderState.functionsExplorerState.packagePathToFunctionInfoMap
|
51
|
+
?.get(element.path)
|
52
|
+
?.map((info) => info.functionPath) ?? []),
|
53
|
+
package: element,
|
54
|
+
});
|
55
|
+
export const generateFunctionsExplorerTreeNodeDataFromFunctionAnalysisInfo = (functionAnalysisInfo) => ({
|
56
|
+
id: functionAnalysisInfo.functionPath,
|
57
|
+
label: functionAnalysisInfo.name,
|
58
|
+
childrenIds: [],
|
59
|
+
functionAnalysisInfo: functionAnalysisInfo,
|
54
60
|
});
|
55
61
|
const generateFunctionsExplorerTreeNodeChilrdren = (queryBuilderState, node, data, rootPackageName = ROOT_PACKAGE_NAME.MAIN) => {
|
62
|
+
const functionInfoMap = rootPackageName === ROOT_PACKAGE_NAME.MAIN
|
63
|
+
? queryBuilderState.functionsExplorerState.functionInfoMap
|
64
|
+
: queryBuilderState.functionsExplorerState.dependencyFunctionInfoMap;
|
56
65
|
const validDisplayablePackageSet = getValidDisplayablePackageSet(queryBuilderState, rootPackageName);
|
57
|
-
|
58
|
-
.
|
59
|
-
|
60
|
-
|
61
|
-
(child instanceof Package && validDisplayablePackageSet.has(child)) ||
|
62
|
-
child instanceof ConcreteFunctionDefinition)
|
63
|
-
.map((child) => child.path);
|
64
|
-
node.packageableElement.children
|
65
|
-
.filter((child) => !(child instanceof Unit))
|
66
|
+
const qualifiedExtraFunctionPaths = queryBuilderState.functionsExplorerState.packagePathToFunctionInfoMap
|
67
|
+
?.get(node.id)
|
68
|
+
?.map((info) => info.functionPath);
|
69
|
+
const childrenPackages = node.package.children
|
66
70
|
.filter((child) =>
|
67
71
|
// avoid displaying empty packages
|
68
|
-
|
69
|
-
child
|
70
|
-
|
72
|
+
child instanceof Package && validDisplayablePackageSet.has(child))
|
73
|
+
.map((child) => child);
|
74
|
+
node.childrenIds = childrenPackages
|
75
|
+
.map((child) => child.path)
|
76
|
+
.concat(qualifiedExtraFunctionPaths ?? []);
|
77
|
+
const childNodesFromPackage = childrenPackages.map((child) => generateFunctionsExplorerTreeNodeDataFromPackage(queryBuilderState, child, rootPackageName));
|
78
|
+
const childNodesFromFunction = qualifiedExtraFunctionPaths
|
79
|
+
?.map((path) => functionInfoMap?.get(path))
|
80
|
+
.filter(isNonNullable)
|
81
|
+
.map((info) => generateFunctionsExplorerTreeNodeDataFromFunctionAnalysisInfo(info));
|
82
|
+
childNodesFromPackage
|
83
|
+
.concat(childNodesFromFunction ?? [])
|
71
84
|
.forEach((childNode) => {
|
72
85
|
const currentNode = data.nodes.get(childNode.id);
|
73
86
|
if (currentNode) {
|
@@ -85,25 +98,26 @@ export const getFunctionsExplorerTreeData = (roots, queryBuilderState, rootPacka
|
|
85
98
|
const validDisplayablePackageSet = getValidDisplayablePackageSet(queryBuilderState, rootPackageName);
|
86
99
|
switch (rootPackageName) {
|
87
100
|
case ROOT_PACKAGE_NAME.PROJECT_DEPENDENCY_ROOT:
|
88
|
-
if (queryBuilderState.
|
89
|
-
.length === 0) {
|
101
|
+
if (!queryBuilderState.functionsExplorerState.dependencyFunctionInfoMap ||
|
102
|
+
Array.from(queryBuilderState.functionsExplorerState.dependencyFunctionInfoMap).length === 0) {
|
90
103
|
return { rootIds, nodes };
|
91
104
|
}
|
92
105
|
break;
|
93
106
|
default:
|
94
|
-
if (queryBuilderState.
|
107
|
+
if (!queryBuilderState.functionsExplorerState.functionInfoMap ||
|
108
|
+
Array.from(queryBuilderState.functionsExplorerState.functionInfoMap)
|
109
|
+
.length === 0) {
|
95
110
|
return { rootIds, nodes };
|
96
111
|
}
|
97
112
|
}
|
98
113
|
roots.forEach((root) => {
|
99
114
|
root.children
|
100
115
|
.slice()
|
101
|
-
.filter((child) => !(child instanceof Unit))
|
102
116
|
.filter((child) => child instanceof Package && validDisplayablePackageSet.has(child))
|
117
|
+
.map((child) => child)
|
103
118
|
.sort((a, b) => a.name.localeCompare(b.name))
|
104
|
-
.sort((a, b) => (b instanceof Package ? 1 : 0) - (a instanceof Package ? 1 : 0))
|
105
119
|
.forEach((childPackage) => {
|
106
|
-
const childTreeNodeData =
|
120
|
+
const childTreeNodeData = generateFunctionsExplorerTreeNodeDataFromPackage(queryBuilderState, childPackage, rootPackageName);
|
107
121
|
addUniqueEntry(rootIds, childTreeNodeData.id);
|
108
122
|
nodes.set(childTreeNodeData.id, childTreeNodeData);
|
109
123
|
});
|
@@ -116,48 +130,61 @@ export const getFunctionsExplorerTreeNodeChildren = (queryBuilderState, node, da
|
|
116
130
|
.map((id) => data.nodes.get(id))
|
117
131
|
.filter(isNonNullable)
|
118
132
|
.sort(compareLabelFn)
|
119
|
-
.sort((a, b) => (b.
|
120
|
-
(a.packageableElement instanceof Package ? 1 : 0));
|
133
|
+
.sort((a, b) => (b.package ? 1 : 0) - (a.package ? 1 : 0));
|
121
134
|
};
|
122
135
|
const getAllPackagesFromElement = (element) => {
|
123
136
|
if (element.package) {
|
124
|
-
return [element.package].concat(getAllPackagesFromElement(element.package));
|
137
|
+
return (element instanceof Package ? [element] : []).concat([element.package].concat(getAllPackagesFromElement(element.package)));
|
125
138
|
}
|
126
139
|
return [];
|
127
140
|
};
|
128
141
|
export class QueryFunctionExplorerState {
|
129
142
|
uuid = uuid();
|
130
143
|
queryFunctionsState;
|
131
|
-
|
132
|
-
constructor(queryFunctionsState,
|
144
|
+
functionAnalysisInfo;
|
145
|
+
constructor(queryFunctionsState, functionAnalysisInfo) {
|
133
146
|
makeObservable(this, {
|
134
|
-
|
147
|
+
functionAnalysisInfo: observable,
|
135
148
|
});
|
136
149
|
this.queryFunctionsState = queryFunctionsState;
|
137
|
-
this.
|
150
|
+
this.functionAnalysisInfo = functionAnalysisInfo;
|
138
151
|
}
|
139
152
|
}
|
140
153
|
export class QueryFunctionsExplorerState {
|
154
|
+
initState = ActionState.create();
|
141
155
|
queryBuilderState;
|
142
156
|
treeData;
|
143
157
|
dependencyTreeData;
|
158
|
+
_functionGraph;
|
144
159
|
functionExplorerStates = [];
|
145
160
|
dependencyFunctionExplorerStates = [];
|
146
161
|
displayablePackagesSet = new Set();
|
147
162
|
dependencyDisplayablePackagesSet = new Set();
|
163
|
+
functionInfoMap;
|
164
|
+
dependencyFunctionInfoMap;
|
165
|
+
packagePathToFunctionInfoMap;
|
148
166
|
constructor(queryBuilderState) {
|
149
167
|
makeObservable(this, {
|
150
168
|
functionExplorerStates: observable.ref,
|
151
169
|
dependencyFunctionExplorerStates: observable.ref,
|
152
170
|
treeData: observable.ref,
|
153
171
|
dependencyTreeData: observable.ref,
|
172
|
+
_functionGraph: observable,
|
173
|
+
functionInfoMap: observable,
|
174
|
+
dependencyFunctionInfoMap: observable,
|
175
|
+
packagePathToFunctionInfoMap: observable,
|
176
|
+
setFunctionInfoMap: action,
|
177
|
+
setDependencyFunctionInfoMap: action,
|
154
178
|
setTreeData: action,
|
179
|
+
setPackagePathToFunctionInfoMap: action,
|
155
180
|
setDependencyTreeData: action,
|
156
181
|
refreshTree: action,
|
157
182
|
onTreeNodeSelect: action,
|
183
|
+
initializeTreeData: action,
|
158
184
|
});
|
159
185
|
this.queryBuilderState = queryBuilderState;
|
160
|
-
this.
|
186
|
+
this._functionGraph =
|
187
|
+
this.queryBuilderState.graphManagerState.createNewGraph();
|
161
188
|
}
|
162
189
|
getTreeData(rootPackageName = ROOT_PACKAGE_NAME.MAIN) {
|
163
190
|
switch (rootPackageName) {
|
@@ -167,17 +194,32 @@ export class QueryFunctionsExplorerState {
|
|
167
194
|
return this.treeData;
|
168
195
|
}
|
169
196
|
}
|
197
|
+
setFunctionInfoMap(info) {
|
198
|
+
this.functionInfoMap = info;
|
199
|
+
}
|
200
|
+
setDependencyFunctionInfoMap(info) {
|
201
|
+
this.dependencyFunctionInfoMap = info;
|
202
|
+
}
|
203
|
+
setPackagePathToFunctionInfoMap(map) {
|
204
|
+
this.packagePathToFunctionInfoMap = map;
|
205
|
+
}
|
170
206
|
async initializeDisplayablePackagesSet() {
|
171
|
-
this.
|
172
|
-
.
|
173
|
-
|
174
|
-
|
207
|
+
if (this.functionInfoMap) {
|
208
|
+
Array.from(this.functionInfoMap.values())
|
209
|
+
.map((info) => getOrCreateGraphPackage(this._functionGraph, info.packagePath, undefined))
|
210
|
+
.map((f) => getAllPackagesFromElement(f))
|
211
|
+
.flat()
|
212
|
+
.forEach((pkg) => this.displayablePackagesSet.add(pkg));
|
213
|
+
}
|
175
214
|
}
|
176
215
|
async initializeDependencyDisplayablePackagesSet() {
|
177
|
-
this.
|
178
|
-
.
|
179
|
-
|
180
|
-
|
216
|
+
if (this.dependencyFunctionInfoMap) {
|
217
|
+
Array.from(this.dependencyFunctionInfoMap.values())
|
218
|
+
.map((info) => getOrCreateGraphPackage(this._functionGraph, info.packagePath, undefined))
|
219
|
+
.map((f) => getAllPackagesFromElement(f))
|
220
|
+
.flat()
|
221
|
+
.forEach((pkg) => this.dependencyDisplayablePackagesSet.add(pkg));
|
222
|
+
}
|
181
223
|
}
|
182
224
|
setTreeData(val) {
|
183
225
|
this.treeData = val;
|
@@ -197,7 +239,7 @@ export class QueryFunctionsExplorerState {
|
|
197
239
|
return guaranteeNonNullable(this.treeData, 'Query builder functions explorer tree data has not been initialized');
|
198
240
|
}
|
199
241
|
onTreeNodeSelect = (queryBuilderState, node, data, rootPackageName = ROOT_PACKAGE_NAME.MAIN) => {
|
200
|
-
if (node.
|
242
|
+
if (node.package) {
|
201
243
|
if (node.childrenIds.length) {
|
202
244
|
node.isOpen = !node.isOpen;
|
203
245
|
generateFunctionsExplorerTreeNodeChilrdren(queryBuilderState, node, data, rootPackageName);
|
@@ -211,25 +253,66 @@ export class QueryFunctionsExplorerState {
|
|
211
253
|
}
|
212
254
|
}
|
213
255
|
};
|
256
|
+
initializeFunctionInfoMap() {
|
257
|
+
const functionInfoMap = new Map();
|
258
|
+
const dependencyFunctionInfoMap = new Map();
|
259
|
+
const functionInfos = buildFunctionAnalysisInfoFromConcreteFunctionDefinition(this.queryBuilderState.graphManagerState.graph.ownFunctions, this._functionGraph);
|
260
|
+
functionInfos.forEach((info) => functionInfoMap.set(info.functionPath, info));
|
261
|
+
if (this.queryBuilderState.graphManagerState.graph.dependencyManager
|
262
|
+
.hasDependencies) {
|
263
|
+
const dependencyFunctions = this.queryBuilderState.graphManagerState.graph.dependencyManager
|
264
|
+
.functions;
|
265
|
+
const dependencyFunctionInfos = buildFunctionAnalysisInfoFromConcreteFunctionDefinition(dependencyFunctions, this._functionGraph);
|
266
|
+
dependencyFunctionInfos.forEach((info) => dependencyFunctionInfoMap.set(info.functionPath, info));
|
267
|
+
}
|
268
|
+
const queryBuilderFunctionAnalysisInfo = this.queryBuilderState.buildFunctionAnalysisInfo();
|
269
|
+
if (queryBuilderFunctionAnalysisInfo) {
|
270
|
+
Array.from(queryBuilderFunctionAnalysisInfo.functionInfoMap.entries()).forEach(([path, info]) => functionInfoMap.set(path, info));
|
271
|
+
Array.from(queryBuilderFunctionAnalysisInfo.dependencyFunctionInfoMap.entries()).forEach(([path, info]) => {
|
272
|
+
dependencyFunctionInfoMap.set(path, info);
|
273
|
+
});
|
274
|
+
}
|
275
|
+
const packagePathToFunctionInfoMap = new Map();
|
276
|
+
Array.from(functionInfoMap.values())
|
277
|
+
.concat(Array.from(dependencyFunctionInfoMap.values()))
|
278
|
+
.forEach((info) => {
|
279
|
+
const curr = packagePathToFunctionInfoMap.get(info.packagePath);
|
280
|
+
if (curr) {
|
281
|
+
packagePathToFunctionInfoMap.set(info.packagePath, [...curr, info]);
|
282
|
+
}
|
283
|
+
else {
|
284
|
+
packagePathToFunctionInfoMap.set(info.packagePath, [info]);
|
285
|
+
}
|
286
|
+
});
|
287
|
+
this.setPackagePathToFunctionInfoMap(packagePathToFunctionInfoMap);
|
288
|
+
this.setFunctionInfoMap(functionInfoMap);
|
289
|
+
this.setDependencyFunctionInfoMap(dependencyFunctionInfoMap);
|
290
|
+
}
|
214
291
|
initializeTreeData() {
|
292
|
+
if (!this.initState.isInInitialState) {
|
293
|
+
return;
|
294
|
+
}
|
295
|
+
this.initState.inProgress();
|
296
|
+
this.initializeFunctionInfoMap();
|
215
297
|
this.initializeDisplayablePackagesSet()
|
216
298
|
.catch(noop())
|
217
299
|
.finally(() => {
|
218
|
-
this.setTreeData(getFunctionsExplorerTreeData([this.
|
219
|
-
this.functionExplorerStates =
|
220
|
-
this.
|
300
|
+
this.setTreeData(getFunctionsExplorerTreeData([this._functionGraph.root], this.queryBuilderState, ROOT_PACKAGE_NAME.MAIN));
|
301
|
+
this.functionExplorerStates = this.functionInfoMap
|
302
|
+
? Array.from(this.functionInfoMap.values()).map((info) => new QueryFunctionExplorerState(this, info))
|
303
|
+
: [];
|
221
304
|
});
|
222
|
-
if (this.
|
223
|
-
.hasDependencies) {
|
305
|
+
if (this.dependencyFunctionInfoMap) {
|
224
306
|
this.initializeDependencyDisplayablePackagesSet()
|
225
307
|
.catch(noop())
|
226
308
|
.finally(() => {
|
227
|
-
this.setDependencyTreeData(getFunctionsExplorerTreeData(this.
|
228
|
-
|
229
|
-
|
230
|
-
|
309
|
+
this.setDependencyTreeData(getFunctionsExplorerTreeData([this._functionGraph.root], this.queryBuilderState, ROOT_PACKAGE_NAME.PROJECT_DEPENDENCY_ROOT));
|
310
|
+
this.dependencyFunctionExplorerStates = this.dependencyFunctionInfoMap
|
311
|
+
? Array.from(this.dependencyFunctionInfoMap.values()).map((info) => new QueryFunctionExplorerState(this, info))
|
312
|
+
: [];
|
231
313
|
});
|
232
314
|
}
|
315
|
+
this.initState.pass();
|
233
316
|
}
|
234
317
|
}
|
235
318
|
//# sourceMappingURL=QueryFunctionsExplorerState.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryFunctionsExplorerState.js","sourceRoot":"","sources":["../../../src/stores/explorer/QueryFunctionsExplorerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,0BAA0B,EAC1B,OAAO,EACP,IAAI,EACJ,iB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,CAAC;IACH,CAAC;CACF"}
|
1
|
+
{"version":3,"file":"QueryFunctionsExplorerState.js","sourceRoot":"","sources":["../../../src/stores/explorer/QueryFunctionsExplorerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAIL,OAAO,EACP,IAAI,EACJ,iBAAiB,EACjB,uDAAuD,EACvD,uBAAuB,GACxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,WAAW,EACX,cAAc,EACd,oBAAoB,EACpB,aAAa,EACb,IAAI,EACJ,IAAI,GACL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAE1D,OAAO,EAGL,cAAc,GACf,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,+BAA+B,GAAG,wBAAwB,CAAC;AAMxE,MAAM,OAAO,yCAAyC;IACpD,EAAE,CAAS;IACX,KAAK,CAAS;IACd,WAAW,GAAa,EAAE,CAAC;IAC3B,MAAM,CAAuB;IAC7B,OAAO,CAAsB;IAC7B,oBAAoB,CAAoC;IAExD,YAAY,EAAU,EAAE,KAAa;QACnC,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;IACrB,CAAC;CACF;AAED,MAAM,6BAA6B,GAAG,CACpC,iBAAoC,EACpC,eAAkC,EACpB,EAAE;IAChB,QAAQ,eAAe,EAAE,CAAC;QACxB,KAAK,iBAAiB,CAAC,uBAAuB;YAC5C,OAAO,iBAAiB,CAAC,sBAAsB;iBAC5C,gCAAgC,CAAC;QACtC;YACE,OAAO,iBAAiB,CAAC,sBAAsB,CAAC,sBAAsB,CAAC;IAC3E,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,gDAAgD,GAAG,CACvD,iBAAoC,EACpC,OAAgB,EAChB,eAAkC,EACS,EAAE,CAAC,CAAC;IAC/C,EAAE,EAAE,OAAO,C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nC,IAAI,CAAC,0CAA0C,EAAE;iBAC9C,KAAK,CAAC,IAAI,EAAE,CAAC;iBACb,OAAO,CAAC,GAAG,EAAE;gBACZ,IAAI,CAAC,qBAAqB,CACxB,4BAA4B,CAC1B,CAAC,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,EAC1B,IAAI,CAAC,iBAAiB,EACtB,iBAAiB,CAAC,uBAAuB,CAC1C,CACF,CAAC;gBACF,IAAI,CAAC,gCAAgC,GAAG,IAAI,CAAC,yBAAyB;oBACpE,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,yBAAyB,CAAC,MAAM,EAAE,CAAC,CAAC,GAAG,CACrD,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,0BAA0B,CAAC,IAAI,EAAE,IAAI,CAAC,CACrD;oBACH,CAAC,CAAC,EAAE,CAAC;YACT,CAAC,CAAC,CAAC;QACP,CAAC;QACD,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,CAAC;IACxB,CAAC;CACF"}
|
@@ -18,7 +18,7 @@ import { type Hashable } from '@finos/legend-shared';
|
|
18
18
|
import type { FilterConditionState, QueryBuilderFilterState } from './QueryBuilderFilterState.js';
|
19
19
|
export declare abstract class QueryBuilderFilterOperator implements Hashable {
|
20
20
|
readonly uuid: string;
|
21
|
-
abstract getLabel(
|
21
|
+
abstract getLabel(): string;
|
22
22
|
abstract isCompatibleWithFilterConditionProperty(filterConditionState: FilterConditionState): boolean;
|
23
23
|
abstract isCompatibleWithFilterConditionValue(filterConditionState: FilterConditionState): boolean;
|
24
24
|
abstract getDefaultFilterConditionValue(filterConditionState: FilterConditionState): ValueSpecification | undefined;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderFilterOperator.d.ts","sourceRoot":"","sources":["../../../src/stores/filter/QueryBuilderFilterOperator.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EACV,wBAAwB,EACxB,kBAAkB,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export declare class FilterConditionState implements Hashable {
|
|
65
65
|
existsLambdaParamNames: string[];
|
66
66
|
typeaheadSearchResults: string[] | undefined;
|
67
67
|
typeaheadSearchState: ActionState;
|
68
|
-
constructor(filterState: QueryBuilderFilterState, propertyExpression: AbstractPropertyExpression);
|
68
|
+
constructor(filterState: QueryBuilderFilterState, propertyExpression: AbstractPropertyExpression, operator?: QueryBuilderFilterOperator);
|
69
69
|
get operators(): QueryBuilderFilterOperator[];
|
70
70
|
handleTypeaheadSearch(searchValue?: ValueSpecification | undefined): GeneratorFn<void>;
|
71
71
|
changeOperator(val: QueryBuilderFilterOperator): void;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderFilterState.d.ts","sourceRoot":"","sources":["../../../src/stores/filter/QueryBuilderFilterState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EACL,KAAK,WAAW,EAWhB,WAAW,EACX,KAAK,QAAQ,EAGd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,0CAA0C,CAAC;AACnG,OAAO,EAAE,mCAAmC,EAAE,MAAM,uCAAuC,CAAC;AAC5F,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,IAAI,EAET,0BAA0B,EAM3B,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,wEAAwE,CAAC;AAMrI,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAClF,OAAO,EAAE,6BAA6B,EAAE,MAAM,wCAAwC,CAAC;AAUvF,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,0DAA0D,CAAC;AAE/G,oBAAY,6BAA6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AE,8BAA8B,GAAG,OAAO;IAU5E,2CAA2C,CACzC,IAAI,EAAE,8BAA8B,GACnC,OAAO;IASV,IAAI,mBAAmB,IAAI,MAAM,EAAE,CA0BlC;IAED,IAAI,sBAAsB,IAAI,OAAO,CAIpC;IAED,IAAI,mCAAmC,IAAI,OAAO,CAMjD;IAED,IAAI,QAAQ,IAAI,MAAM,CAMrB;CACF"}
|
@@ -133,7 +133,7 @@ export class FilterConditionState {
|
|
133
133
|
existsLambdaParamNames = [];
|
134
134
|
typeaheadSearchResults;
|
135
135
|
typeaheadSearchState = ActionState.create();
|
136
|
-
constructor(filterState, propertyExpression) {
|
136
|
+
constructor(filterState, propertyExpression, operator) {
|
137
137
|
makeObservable(this, {
|
138
138
|
propertyExpressionState: observable,
|
139
139
|
operator: observable,
|
@@ -153,8 +153,13 @@ export class FilterConditionState {
|
|
153
153
|
this.filterState = filterState;
|
154
154
|
this.propertyExpressionState = new QueryBuilderPropertyExpressionState(filterState.queryBuilderState, propertyExpression);
|
155
155
|
// operator
|
156
|
-
|
157
|
-
|
156
|
+
if (operator) {
|
157
|
+
this.operator = operator;
|
158
|
+
}
|
159
|
+
else {
|
160
|
+
assertTrue(this.operators.length !== 0, `Can't find an operator for property '${this.propertyExpressionState.path}': no operators registered`);
|
161
|
+
this.operator = this.operators[0];
|
162
|
+
}
|
158
163
|
this.buildRightConditionValueFromValueSpec(this.operator.getDefaultFilterConditionValue(this));
|
159
164
|
}
|
160
165
|
get operators() {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderFilterState.js","sourceRoot":"","sources":["../../../src/stores/filter/QueryBuilderFilterState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE1E,OAAO,EAEL,UAAU,EACV,qBAAqB,EACrB,oBAAoB,EACpB,aAAa,EACb,iB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ACL,CAAC;CACF"}
|
1
|
+
{"version":3,"file":"QueryBuilderFilterState.js","sourceRoot":"","sources":["../../../src/stores/filter/QueryBuilderFilterState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE1E,OAAO,EAEL,UAAU,EACV,qBAAqB,EACrB,oBAAoB,EACpB,aAAa,EACb,iBAAiB,EACjB,IAAI,EACJ,cAAc,EACd,WAAW,EACX,iBAAiB,EACjB,YAAY,EACZ,WAAW,EAEX,SAAS,EACT,aAAa,GACd,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,mCAAmC,EAAE,MAAM,uCAAuC,CAAC;AAE5F,OAAO,EAKL,0BAA0B,EAC1B,0BAA0B,EAC1B,uBAAuB,EACvB,aAAa,EACb,wBAAwB,EACxB,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,4BAA4B,EAAE,MAAM,0BAA0B,CAAC;AAExE,OAAO,EACL,2BAA2B,EAC3B,qBAAqB,EACrB,gBAAgB,GACjB,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EAAE,6BAA6B,EAAE,MAAM,wCAAwC,CAAC;AACvF,OAAO,EAAE,kCAAkC,EAAE,MAAM,kCAAkC,CAAC;AACtF,OAAO,EACL,mCAAmC,EACnC,sCAAsC,EACtC,oBAAoB,EACpB,kCAAkC,GACnC,MAAM,4CAA4C,CAAC;AACpD,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,iCAAiC,EAAE,MAAM,2CAA2C,CAAC;AAG9F,MAAM,CAAN,IAAY,6BAIX;AAJD,WAAY,6BAA6B;IACvC,kGAAiE,CAAA;IACjE,sFAAqD,CAAA;IACrD,kGAAiE,CAAA;AACnE,CAAC,EAJW,6BAA6B,KAA7B,6BAA6B,QAIxC;AAmB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K,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,IAAI,CACzC,CAAC,IAAI,EAAE,EAAE,CACP,IAAI,CAAC,sCAAsC,CAAC,IAAI,CAAC;YACjD,IAAI,CAAC,2CAA2C,CAAC,IAAI,CAAC,CACzD,CAAC;IACJ,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,YAAY;YAC/C,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC;YACvB,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;SAC3C,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -168,7 +168,7 @@ const processFilterTree = (expression, filterState, parentFilterNodeId) => {
|
|
168
168
|
parentNode.lambdaParameterName
|
169
169
|
? parentNode.lambdaParameterName
|
170
170
|
: filterState.lambdaParameterName;
|
171
|
-
assertTrue(parentLambdaVariableName === variableName, `Can't process ${extractElementNameFromPath(filterConditionState.operator.getLabel(
|
171
|
+
assertTrue(parentLambdaVariableName === variableName, `Can't process ${extractElementNameFromPath(filterConditionState.operator.getLabel())}() expression: expects variable used in lambda body '${variableName}' to match lambda parameter '${parentLambdaVariableName}'`);
|
172
172
|
filterState.addNodeFromNode(new QueryBuilderFilterTreeConditionNodeData(undefined, filterConditionState), parentNode);
|
173
173
|
return;
|
174
174
|
}
|