@finos/legend-query-builder 4.14.28 → 4.14.29
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/QueryBuilder.d.ts.map +1 -1
- package/lib/components/QueryBuilder.js +16 -32
- package/lib/components/QueryBuilder.js.map +1 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +1 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.js +6 -2
- package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +10 -2
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSGridResult.d.ts.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js +1 -0
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +4 -0
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
- package/package.json +1 -1
- package/src/components/QueryBuilder.tsx +86 -141
- package/src/components/QueryBuilderPropertyExpressionEditor.tsx +6 -2
- package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +10 -2
- package/src/components/result/tds/QueryBuilderTDSGridResult.tsx +1 -0
- package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +7 -0
@@ -279,6 +279,13 @@ export class QueryBuilderTDSState
|
|
279
279
|
get fetchStructureValidationIssues(): string[] {
|
280
280
|
const validationIssues: string[] = [];
|
281
281
|
|
282
|
+
const hasEmptyProjectionColumnName = this.projectionColumns.some(
|
283
|
+
(column) => column.columnName.length === 0,
|
284
|
+
);
|
285
|
+
if (hasEmptyProjectionColumnName) {
|
286
|
+
validationIssues.push('Query has projection column with no name');
|
287
|
+
}
|
288
|
+
|
282
289
|
const hasInValidCalendarAggregateColumns =
|
283
290
|
this.aggregationState.columns.some(
|
284
291
|
(column) =>
|