@finos/legend-query-builder 4.14.43 → 4.14.45
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/__lib__/QueryBuilderTelemetryHelper.d.ts +3 -3
- package/lib/__lib__/QueryBuilderTelemetryHelper.d.ts.map +1 -1
- package/lib/components/QueryBuilder.d.ts.map +1 -1
- package/lib/components/QueryBuilder.js +5 -2
- package/lib/components/QueryBuilder.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/package.json +5 -4
- package/lib/stores/QueryBuilderPreviewDataHelper.d.ts.map +1 -1
- package/lib/stores/QueryBuilderPreviewDataHelper.js +2 -2
- package/lib/stores/QueryBuilderPreviewDataHelper.js.map +1 -1
- package/lib/stores/QueryBuilderState.d.ts +5 -5
- package/lib/stores/QueryBuilderState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.d.ts +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js +12 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +3 -7
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
- package/package.json +13 -12
- package/src/__lib__/QueryBuilderTelemetryHelper.ts +3 -3
- package/src/components/QueryBuilder.tsx +5 -2
- package/src/index.ts +1 -1
- package/src/stores/QueryBuilderPreviewDataHelper.ts +2 -1
- package/src/stores/QueryBuilderState.ts +5 -5
- package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.ts +26 -1
- package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +3 -7
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPostFilterState.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAOL,0BAA0B,EAC1B,aAAa,EACb,uBAAuB,EACvB,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,cAAc,EACd,iBAAiB,EACjB,UAAU,EACV,WAAW,EACX,qBAAqB,EACrB,oBAAoB,EACpB,aAAa,EACb,iBAAiB,EACjB,IAAI,EACJ,YAAY,EACZ,WAAW,EACX,SAAS,EACT,IAAI,EAEJ,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,MAAM,EACN,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,cAAc,EACd,UAAU,GACX,MAAM,MAAM,CAAC;AACd,OAAO,EAAE,wCAAwC,EAAE,MAAM,gCAAgC,CAAC;AAC1F,OAAO,EAAE,gCAAgC,EAAE,MAAM,gDAAgD,CAAC;AAElG,OAAO,EACL,iCAAiC,EAEjC,2CAA2C,EAC3C,uCAAuC,GACxC,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EACL,mCAAmC,EACnC,qBAAqB,EACrB,gBAAgB,GACjB,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,6BAA6B,EAAE,MAAM,8CAA8C,CAAC;AAE7F,OAAO,EAAE,kCAAkC,EAAE,MAAM,wCAAwC,CAAC;AAE5F,OAAO,EACL,mCAAmC,EACnC,sCAAsC,EACtC,oBAAoB,EACpB,kCAAkC,GACnC,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EAAE,sCAAsC,EAAE,MAAM,wEAAwE,CAAC;AAChI,OAAO,EAAE,iBAAiB,EAAE,MAAM,iDAAiD,CAAC;AAEpF,MAAM,CAAN,IAAY,kCAIX;AAJD,WAAY,kCAAkC;IAC5C,yEAA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C,CAAC;SAC3C,CAAC,CAAC;IACL,CAAC;CACF"}
|
1
|
+
{"version":3,"file":"QueryBuilderPostFilterState.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAOL,0BAA0B,EAC1B,aAAa,EACb,uBAAuB,EACvB,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,cAAc,EACd,iBAAiB,EACjB,UAAU,EACV,WAAW,EACX,qBAAqB,EACrB,oBAAoB,EACpB,aAAa,EACb,iBAAiB,EACjB,IAAI,EACJ,YAAY,EACZ,WAAW,EACX,SAAS,EACT,IAAI,EAEJ,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,MAAM,EACN,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,cAAc,EACd,UAAU,GACX,MAAM,MAAM,CAAC;AACd,OAAO,EAAE,wCAAwC,EAAE,MAAM,gCAAgC,CAAC;AAC1F,OAAO,EAAE,gCAAgC,EAAE,MAAM,gDAAgD,CAAC;AAElG,OAAO,EACL,iCAAiC,EAEjC,2CAA2C,EAC3C,uCAAuC,GACxC,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EACL,mCAAmC,EACnC,qBAAqB,EACrB,gBAAgB,GACjB,MAAM,yCAAyC,CAAC;AACjD,OAAO,EAAE,6BAA6B,EAAE,MAAM,8CAA8C,CAAC;AAE7F,OAAO,EAAE,kCAAkC,EAAE,MAAM,wCAAwC,CAAC;AAE5F,OAAO,EACL,mCAAmC,EACnC,sCAAsC,EACtC,oBAAoB,EACpB,kCAAkC,GACnC,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EAAE,sCAAsC,EAAE,MAAM,wEAAwE,CAAC;AAChI,OAAO,EAAE,iBAAiB,EAAE,MAAM,iDAAiD,CAAC;AAEpF,MAAM,CAAN,IAAY,kCAIX;AAJD,WAAY,kCAAkC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end-query-builder",
|
3
|
-
"version": "4.14.
|
3
|
+
"version": "4.14.45",
|
4
4
|
"description": "Legend query builder core",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -42,18 +42,19 @@
|
|
42
42
|
"test:watch": "jest --watch"
|
43
43
|
},
|
44
44
|
"dependencies": {
|
45
|
-
"@finos/legend-application": "15.1.
|
46
|
-
"@finos/legend-art": "7.1.
|
47
|
-
"@finos/legend-graph": "31.10.
|
48
|
-
"@finos/legend-lego": "1.2.
|
49
|
-
"@finos/legend-server-depot": "6.0.
|
50
|
-
"@finos/legend-shared": "10.0.
|
51
|
-
"@finos/legend-storage": "3.0.
|
52
|
-
"@testing-library/
|
45
|
+
"@finos/legend-application": "15.1.6",
|
46
|
+
"@finos/legend-art": "7.1.35",
|
47
|
+
"@finos/legend-graph": "31.10.3",
|
48
|
+
"@finos/legend-lego": "1.2.36",
|
49
|
+
"@finos/legend-server-depot": "6.0.44",
|
50
|
+
"@finos/legend-shared": "10.0.39",
|
51
|
+
"@finos/legend-storage": "3.0.89",
|
52
|
+
"@testing-library/dom": "10.1.0",
|
53
|
+
"@testing-library/react": "16.0.0",
|
53
54
|
"@types/react": "18.3.3",
|
54
55
|
"@types/react-dom": "18.3.0",
|
55
56
|
"chart.js": "4.4.3",
|
56
|
-
"mathjs": "
|
57
|
+
"mathjs": "13.0.0",
|
57
58
|
"mobx": "6.12.3",
|
58
59
|
"mobx-react-lite": "4.0.7",
|
59
60
|
"monaco-editor": "0.49.0",
|
@@ -65,14 +66,14 @@
|
|
65
66
|
"sql-formatter": "15.3.1"
|
66
67
|
},
|
67
68
|
"devDependencies": {
|
68
|
-
"@finos/legend-dev-utils": "2.1.
|
69
|
+
"@finos/legend-dev-utils": "2.1.7",
|
69
70
|
"@jest/globals": "29.7.0",
|
70
71
|
"cross-env": "7.0.3",
|
71
72
|
"eslint": "8.57.0",
|
72
73
|
"jest": "29.7.0",
|
73
74
|
"npm-run-all": "4.1.5",
|
74
75
|
"rimraf": "5.0.7",
|
75
|
-
"sass": "1.77.
|
76
|
+
"sass": "1.77.4",
|
76
77
|
"typescript": "5.4.5"
|
77
78
|
},
|
78
79
|
"peerDependencies": {
|
@@ -21,16 +21,16 @@ import {
|
|
21
21
|
QUERY_BUILDER_FILTER_EVENT,
|
22
22
|
QUERY_BUILDER_POST_FILTER_EVENT,
|
23
23
|
} from './QueryBuilderEvent.js';
|
24
|
-
import type {
|
24
|
+
import type { QueryableClassMappingRuntimeInfo } from '../stores/QueryBuilderState.js';
|
25
25
|
|
26
26
|
type QueryExecution_TelemetryData = GraphManagerOperationReport & {
|
27
27
|
dependenciesCount: number;
|
28
|
-
state?:
|
28
|
+
state?: QueryableClassMappingRuntimeInfo | undefined;
|
29
29
|
};
|
30
30
|
type QueryMappingModelCoverageAnalysis_TelemetryData =
|
31
31
|
GraphManagerOperationReport & {
|
32
32
|
dependenciesCount: number;
|
33
|
-
state?:
|
33
|
+
state?: QueryableClassMappingRuntimeInfo | undefined;
|
34
34
|
};
|
35
35
|
|
36
36
|
export class QueryBuilderTelemetryHelper {
|
@@ -72,7 +72,7 @@ import { QueryBuilderParametersPanel } from './QueryBuilderParametersPanel.js';
|
|
72
72
|
import { QueryBuilderFunctionsExplorerPanel } from './explorer/QueryBuilderFunctionsExplorerPanel.js';
|
73
73
|
import { QueryBuilderTDSState } from '../stores/fetch-structure/tds/QueryBuilderTDSState.js';
|
74
74
|
import { QueryBuilderDiffViewPanelDiaglog } from './QueryBuilderDiffPanel.js';
|
75
|
-
import { guaranteeType } from '@finos/legend-shared';
|
75
|
+
import { guaranteeType, returnUndefOnError } from '@finos/legend-shared';
|
76
76
|
import { QueryBuilderGraphFetchTreeState } from '../stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js';
|
77
77
|
import { QueryBuilderPostTDSPanel } from './fetch-structure/QueryBuilderPostTDSPanel.js';
|
78
78
|
import { QueryBuilderConstantExpressionPanel } from './QueryBuilderConstantExpressionPanel.js';
|
@@ -488,9 +488,12 @@ export const QueryBuilder = observer(
|
|
488
488
|
queryBuilderState.class &&
|
489
489
|
queryBuilderState.canBuildQuery
|
490
490
|
) {
|
491
|
-
|
491
|
+
const calculatedQuery = returnUndefOnError(() =>
|
492
492
|
queryBuilderState.buildQuery(),
|
493
493
|
);
|
494
|
+
if (calculatedQuery) {
|
495
|
+
queryBuilderState.changeHistoryState.cacheNewQuery(calculatedQuery);
|
496
|
+
}
|
494
497
|
}
|
495
498
|
}, [queryBuilderState, queryBuilderState.hashCode]);
|
496
499
|
|
package/src/index.ts
CHANGED
@@ -30,7 +30,7 @@ export { QueryBuilderNavigationBlocker } from './components/QueryBuilderNavigati
|
|
30
30
|
export { QueryBuilder } from './components/QueryBuilder.js';
|
31
31
|
export { QUERY_BUILDER_COMPONENT_ELEMENT_ID } from './components/QueryBuilderComponentElement.js';
|
32
32
|
export {
|
33
|
-
type QuerySDLC,
|
33
|
+
type QueryableSourceInfo as QuerySDLC,
|
34
34
|
QueryBuilderState,
|
35
35
|
} from './stores/QueryBuilderState.js';
|
36
36
|
export {
|
@@ -136,7 +136,7 @@ export const buildNumericPreviewDataQuery = (
|
|
136
136
|
const valAggOp = guaranteeNonNullable(
|
137
137
|
aggregationState.operators.find((t) => t instanceof val[1]),
|
138
138
|
);
|
139
|
-
aggregationState.changeColumnAggregateOperator(valAggOp, colState);
|
139
|
+
aggregationState.changeColumnAggregateOperator(valAggOp, colState, true);
|
140
140
|
});
|
141
141
|
|
142
142
|
return builderState.resultState.buildExecutionRawLambda({
|
@@ -189,6 +189,7 @@ export const buildNonNumericPreviewDataQuery = (
|
|
189
189
|
tdsState.aggregationState.changeColumnAggregateOperator(
|
190
190
|
distinctCountOp,
|
191
191
|
valueCountProjectionState,
|
192
|
+
true,
|
192
193
|
);
|
193
194
|
// result set
|
194
195
|
tdsState.resultSetModifierState.limit = PREVIEW_DATA_TAKE_LIMIT;
|
@@ -111,9 +111,9 @@ import { QUERY_BUILDER_EVENT } from '../__lib__/QueryBuilderEvent.js';
|
|
111
111
|
import { QueryBuilderChangeHistoryState } from './QueryBuilderChangeHistoryState.js';
|
112
112
|
import { type QueryBuilderWorkflowState } from './query-workflow/QueryBuilderWorkFlowState.js';
|
113
113
|
|
114
|
-
export interface
|
114
|
+
export interface QueryableSourceInfo {}
|
115
115
|
|
116
|
-
export type
|
116
|
+
export type QueryableClassMappingRuntimeInfo = QueryableSourceInfo & {
|
117
117
|
class: string;
|
118
118
|
mapping: string;
|
119
119
|
runtime: string;
|
@@ -169,7 +169,7 @@ export abstract class QueryBuilderState implements CommandRegistrar {
|
|
169
169
|
// NOTE: This property contains information about workflow used
|
170
170
|
// to create this state. This should only be used to add additional
|
171
171
|
// information to query builder analytics.
|
172
|
-
sourceInfo?:
|
172
|
+
sourceInfo?: QueryableSourceInfo | undefined;
|
173
173
|
|
174
174
|
// NOTE: this makes it so that we need to import components in stores code,
|
175
175
|
// we probably want to refactor to an extension mechanism
|
@@ -180,7 +180,7 @@ export abstract class QueryBuilderState implements CommandRegistrar {
|
|
180
180
|
graphManagerState: GraphManagerState,
|
181
181
|
workflowState: QueryBuilderWorkflowState,
|
182
182
|
config: QueryBuilderConfig | undefined,
|
183
|
-
sourceInfo?:
|
183
|
+
sourceInfo?: QueryableSourceInfo | undefined,
|
184
184
|
) {
|
185
185
|
makeObservable(this, {
|
186
186
|
explorerState: observable,
|
@@ -341,7 +341,7 @@ export abstract class QueryBuilderState implements CommandRegistrar {
|
|
341
341
|
* Gets information about the current queryBuilderState.
|
342
342
|
* This information can be used as a part of analytics
|
343
343
|
*/
|
344
|
-
getStateInfo():
|
344
|
+
getStateInfo(): QueryableClassMappingRuntimeInfo | undefined {
|
345
345
|
if (this.sourceInfo) {
|
346
346
|
const classPath = this.class?.path;
|
347
347
|
const mappingPath = this.executionContextState.mapping?.path;
|
@@ -155,6 +155,7 @@ export class QueryBuilderAggregationState implements Hashable {
|
|
155
155
|
changeColumnAggregateOperator(
|
156
156
|
val: QueryBuilderAggregateOperator | undefined,
|
157
157
|
projectionColumnState: QueryBuilderProjectionColumnState,
|
158
|
+
hideOperatorInColumnName?: boolean,
|
158
159
|
): void {
|
159
160
|
const aggregateColumnState = this.columns.find(
|
160
161
|
(column) => column.projectionColumnState === projectionColumnState,
|
@@ -167,8 +168,24 @@ export class QueryBuilderAggregationState implements Hashable {
|
|
167
168
|
return;
|
168
169
|
}
|
169
170
|
if (aggregateColumnState) {
|
171
|
+
if (!hideOperatorInColumnName) {
|
172
|
+
const colName =
|
173
|
+
aggregateColumnState.projectionColumnState.columnName.split(
|
174
|
+
`(${aggregateColumnState.operator.getLabel(
|
175
|
+
aggregateColumnState.projectionColumnState,
|
176
|
+
)})`,
|
177
|
+
)[0] ?? '';
|
178
|
+
aggregateColumnState.projectionColumnState.setColumnName(
|
179
|
+
`${colName} (${val.getLabel(projectionColumnState)})`,
|
180
|
+
);
|
181
|
+
}
|
170
182
|
aggregateColumnState.setOperator(val);
|
171
183
|
} else {
|
184
|
+
if (!hideOperatorInColumnName) {
|
185
|
+
projectionColumnState.setColumnName(
|
186
|
+
`${projectionColumnState.columnName} (${val.getLabel(projectionColumnState)})`,
|
187
|
+
);
|
188
|
+
}
|
172
189
|
const newAggregateColumnState = new QueryBuilderAggregateColumnState(
|
173
190
|
this,
|
174
191
|
projectionColumnState,
|
@@ -190,11 +207,19 @@ export class QueryBuilderAggregationState implements Hashable {
|
|
190
207
|
if (aggregateColumnState) {
|
191
208
|
// automatically move the column to the last position before the aggregate columns
|
192
209
|
// NOTE: `moveColumn` will take care of this placement calculation
|
210
|
+
if (!hideOperatorInColumnName) {
|
211
|
+
const colName =
|
212
|
+
aggregateColumnState.projectionColumnState.columnName.split(
|
213
|
+
`(${aggregateColumnState.operator.getLabel(
|
214
|
+
aggregateColumnState.projectionColumnState,
|
215
|
+
)})`,
|
216
|
+
)[0] ?? '';
|
217
|
+
aggregateColumnState.projectionColumnState.setColumnName(colName);
|
218
|
+
}
|
193
219
|
this.tdsState.moveColumn(
|
194
220
|
this.tdsState.projectionColumns.indexOf(projectionColumnState),
|
195
221
|
0,
|
196
222
|
);
|
197
|
-
|
198
223
|
this.removeColumn(aggregateColumnState);
|
199
224
|
}
|
200
225
|
}
|
@@ -1000,12 +1000,10 @@ export class QueryBuilderPostFilterState
|
|
1000
1000
|
node.condition.rightConditionValue instanceof
|
1001
1001
|
PostFilterValueSpecConditionValueState &&
|
1002
1002
|
node.condition.rightConditionValue.value instanceof InstanceValue &&
|
1003
|
-
!isValidInstanceValue(node.condition.rightConditionValue.value)
|
1004
|
-
node.condition.leftConditionValue instanceof
|
1005
|
-
QueryBuilderSimpleProjectionColumnState
|
1003
|
+
!isValidInstanceValue(node.condition.rightConditionValue.value)
|
1006
1004
|
) {
|
1007
1005
|
validationIssues.push(
|
1008
|
-
`Filter value for ${node.condition.leftConditionValue.
|
1006
|
+
`Filter value for ${node.condition.leftConditionValue.columnName} is missing or invalid`,
|
1009
1007
|
);
|
1010
1008
|
}
|
1011
1009
|
if (
|
@@ -1029,9 +1027,7 @@ export class QueryBuilderPostFilterState
|
|
1029
1027
|
node.condition.rightConditionValue instanceof
|
1030
1028
|
PostFilterValueSpecConditionValueState &&
|
1031
1029
|
node.condition.rightConditionValue.value instanceof InstanceValue &&
|
1032
|
-
!isValidInstanceValue(node.condition.rightConditionValue.value)
|
1033
|
-
node.condition.leftConditionValue instanceof
|
1034
|
-
QueryBuilderSimpleProjectionColumnState,
|
1030
|
+
!isValidInstanceValue(node.condition.rightConditionValue.value),
|
1035
1031
|
);
|
1036
1032
|
}
|
1037
1033
|
|