@finos/legend-query-builder 4.14.73 → 4.14.75
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +3 -10
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +2 -6
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js +1 -5
- package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
- package/lib/components/result/QueryBuilderResultPanel.d.ts.map +1 -1
- package/lib/components/result/QueryBuilderResultPanel.js +33 -13
- package/lib/components/result/QueryBuilderResultPanel.js.map +1 -1
- package/lib/index.css +17 -1
- package/lib/index.css.map +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts +1 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.js +0 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts +1 -4
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +11 -22
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.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 +4 -8
- package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
- package/package.json +1 -1
- package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +2 -24
- package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +2 -10
- package/src/components/filter/QueryBuilderFilterPanel.tsx +1 -10
- package/src/components/result/QueryBuilderResultPanel.tsx +87 -28
- package/src/stores/QueryBuilderValueSpecificationHelper.ts +1 -2
- package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +10 -39
- package/src/stores/filter/QueryBuilderFilterState.ts +3 -11
@@ -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,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,EAIL,0BAA0B,EAC1B,0BAA0B,EAC1B,uBAAuB,EACvB,aAAa,EACb,wBAAwB,EACxB,kBAAkB,EAClB,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,6BAA6B,EAC7B,oBAA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mBAAmB;oBAChC,gDAAgD;oBAClD,IAAI,CAAC,2CAA2C,CAAC,IAAI,CAAC,EACtD,CAAC;oBACD,gBAAgB,CAAC,IAAI,CACnB,wCAAwC,IAAI,CAAC,SAAS,CAAC,mBAAmB,CAAC,uBAAuB,CAAC,KAAK,wBAAwB,CACjI,CAAC;gBACJ,CAAC;YACH,CAAC;QACH,CAAC,CAAC,CAAC;QACH,OAAO,gBAAgB,CAAC;IAC1B,CAAC;IAED,IAAI,sBAAsB;QACxB,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CACnD,IAAI,CAAC,6BAA6B,CAAC,IAAI,CAAC,CACzC,CAAC;IACJ,CAAC;IAED,IAAI,mCAAmC;QACrC,OAAO,KAAK,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"}
|
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,UAA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AAC,MAAM,EAAE,CAAC,CAAC;SAC3C,CAAC,CAAC;IACL,CAAC;CACF"}
|
package/package.json
CHANGED
@@ -52,7 +52,6 @@ import {
|
|
52
52
|
Class,
|
53
53
|
Enumeration,
|
54
54
|
PrimitiveType,
|
55
|
-
VariableExpression,
|
56
55
|
} from '@finos/legend-graph';
|
57
56
|
import {
|
58
57
|
assertErrorThrown,
|
@@ -423,21 +422,10 @@ const QueryBuilderPostFilterConditionEditor = observer(
|
|
423
422
|
rightConditionValue instanceof PostFilterValueSpecConditionValueState &&
|
424
423
|
rightConditionValue.value
|
425
424
|
) {
|
426
|
-
const isInvalidVariable =
|
427
|
-
rightConditionValue.value instanceof VariableExpression &&
|
428
|
-
node.condition.postFilterState.isInvalidValueSpecPostFilterValue(
|
429
|
-
node,
|
430
|
-
);
|
431
425
|
return (
|
432
426
|
<div
|
433
427
|
ref={dropConnector}
|
434
|
-
className=
|
435
|
-
'query-builder-post-filter-tree__condition-node__value',
|
436
|
-
{
|
437
|
-
'query-builder-post-filter-tree__condition-node__value--error':
|
438
|
-
isInvalidVariable,
|
439
|
-
},
|
440
|
-
)}
|
428
|
+
className="query-builder-post-filter-tree__condition-node__value"
|
441
429
|
>
|
442
430
|
<PanelEntryDropZonePlaceholder
|
443
431
|
isDragOver={isFilterValueDragOver}
|
@@ -468,20 +456,10 @@ const QueryBuilderPostFilterConditionEditor = observer(
|
|
468
456
|
rightConditionValue instanceof
|
469
457
|
PostFilterTDSColumnValueConditionValueState
|
470
458
|
) {
|
471
|
-
const isInvalidTDSColumn =
|
472
|
-
node.condition.postFilterState.isInvalidTDSColumnPostFilterValue(
|
473
|
-
node,
|
474
|
-
);
|
475
459
|
return (
|
476
460
|
<div
|
477
461
|
ref={dropConnector}
|
478
|
-
className=
|
479
|
-
'query-builder-post-filter-tree__condition-node__value',
|
480
|
-
{
|
481
|
-
'query-builder-post-filter-tree__condition-node__value--error':
|
482
|
-
isInvalidTDSColumn,
|
483
|
-
},
|
484
|
-
)}
|
462
|
+
className="query-builder-post-filter-tree__condition-node__value"
|
485
463
|
>
|
486
464
|
<PanelEntryDropZonePlaceholder
|
487
465
|
isDragOver={isFilterValueDragOver}
|
@@ -214,8 +214,7 @@ const QueryBuilderDerivationProjectionColumnEditor = observer(
|
|
214
214
|
}) => {
|
215
215
|
const { projectionColumnState } = props;
|
216
216
|
const hasParserError = projectionColumnState.tdsState.hasParserError;
|
217
|
-
|
218
|
-
const onEditorBlur = useCallback((): void => {
|
217
|
+
const onEditorBlur = (): void => {
|
219
218
|
flowResult(
|
220
219
|
projectionColumnState.fetchDerivationLambdaReturnType({
|
221
220
|
forceConversionStringToLambda: true,
|
@@ -225,8 +224,7 @@ const QueryBuilderDerivationProjectionColumnEditor = observer(
|
|
225
224
|
projectionColumnState.tdsState.queryBuilderState.applicationStore
|
226
225
|
.alertUnhandledError,
|
227
226
|
);
|
228
|
-
}
|
229
|
-
|
227
|
+
};
|
230
228
|
const handleDrop = useCallback(
|
231
229
|
(
|
232
230
|
item: QueryBuilderDerivationProjectionColumnDropTarget,
|
@@ -258,7 +256,6 @@ const QueryBuilderDerivationProjectionColumnEditor = observer(
|
|
258
256
|
},
|
259
257
|
[projectionColumnState],
|
260
258
|
);
|
261
|
-
|
262
259
|
const [, dropConnector] =
|
263
260
|
useDrop<QueryBuilderDerivationProjectionColumnDropTarget>(
|
264
261
|
() => ({
|
@@ -272,11 +269,6 @@ const QueryBuilderDerivationProjectionColumnEditor = observer(
|
|
272
269
|
[handleDrop],
|
273
270
|
);
|
274
271
|
|
275
|
-
// Calculate derivation return type on mount
|
276
|
-
useEffect(() => {
|
277
|
-
onEditorBlur();
|
278
|
-
}, [onEditorBlur]);
|
279
|
-
|
280
272
|
return (
|
281
273
|
<div
|
282
274
|
ref={dropConnector}
|
@@ -1020,22 +1020,13 @@ const QueryBuilderFilterConditionEditor = observer(
|
|
1020
1020
|
rightConditionValue instanceof FilterValueSpecConditionValueState &&
|
1021
1021
|
rightConditionValue.value
|
1022
1022
|
) {
|
1023
|
-
const isInvalidVariable =
|
1024
|
-
rightConditionValue.value instanceof VariableExpression &&
|
1025
|
-
node.condition.filterState.isInvalidValueSpecFilterValue(node);
|
1026
1023
|
return (
|
1027
1024
|
<div
|
1028
1025
|
ref={dropConnector}
|
1029
1026
|
data-testid={
|
1030
1027
|
QUERY_BUILDER_TEST_ID.QUERY_BUILDER_FILTER_TREE_CONDITION_NODE_VALUE
|
1031
1028
|
}
|
1032
|
-
className=
|
1033
|
-
'query-builder-filter-tree__condition-node__value',
|
1034
|
-
{
|
1035
|
-
'query-builder-filter-tree__condition-node__value--error':
|
1036
|
-
isInvalidVariable,
|
1037
|
-
},
|
1038
|
-
)}
|
1029
|
+
className="query-builder-filter-tree__condition-node__value"
|
1039
1030
|
>
|
1040
1031
|
<PanelEntryDropZonePlaceholder
|
1041
1032
|
isDragOver={isFilterValueDragOver}
|
@@ -55,6 +55,7 @@ import {
|
|
55
55
|
extractExecutionResultValues,
|
56
56
|
TDSExecutionResult,
|
57
57
|
RawExecutionResult,
|
58
|
+
ExecutionError,
|
58
59
|
} from '@finos/legend-graph';
|
59
60
|
import {
|
60
61
|
ActionAlertActionType,
|
@@ -80,8 +81,13 @@ import { getExecutedSqlFromExecutionResult } from './tds/QueryBuilderTDSResultSh
|
|
80
81
|
import { QueryBuilderTDSGridResult } from './tds/QueryBuilderTDSGridResult.js';
|
81
82
|
import type { QueryBuilder_LegendApplicationPlugin_Extension } from '../../stores/QueryBuilder_LegendApplicationPlugin_Extension.js';
|
82
83
|
import type { QueryBuilderResultState } from '../../stores/QueryBuilderResultState.js';
|
84
|
+
import { QueryBuilderBaseInfoTooltip } from '../shared/QueryBuilderPropertyInfoTooltip.js';
|
83
85
|
|
84
|
-
const PERMISSION_ERRORS = [
|
86
|
+
const PERMISSION_ERRORS = [
|
87
|
+
'permission denied',
|
88
|
+
'invalid user id or password',
|
89
|
+
'Incorrect username or password',
|
90
|
+
];
|
85
91
|
|
86
92
|
export const QueryBuilderExecutionErrorPanel = observer(
|
87
93
|
(props: {
|
@@ -90,24 +96,38 @@ export const QueryBuilderExecutionErrorPanel = observer(
|
|
90
96
|
}) => {
|
91
97
|
const { resultState, executionError } = props;
|
92
98
|
const queryBuilderState = resultState.queryBuilderState;
|
93
|
-
const errorMessage =
|
94
|
-
?
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
99
|
+
const errorMessage =
|
100
|
+
executionError instanceof Error ? executionError.message : executionError;
|
101
|
+
const errorStackTrace =
|
102
|
+
executionError instanceof ExecutionError ? executionError.stack : '';
|
103
|
+
const isPermissionDeniedError = Boolean(
|
104
|
+
PERMISSION_ERRORS.find((e) =>
|
105
|
+
queryBuilderState.applicationStore.notificationService
|
106
|
+
.getErrorMessage(executionError)
|
107
|
+
?.toLowerCase()
|
108
|
+
.includes(e),
|
109
|
+
),
|
110
|
+
);
|
102
111
|
const openCheckEntitlmentsEditor = (): void => {
|
103
112
|
queryBuilderState.checkEntitlementsState.setShowCheckEntitlementsViewer(
|
104
113
|
true,
|
105
114
|
);
|
106
115
|
};
|
116
|
+
const frequentlyAskedQuestionEntry =
|
117
|
+
queryBuilderState.applicationStore.documentationService.getDocEntry(
|
118
|
+
QUERY_BUILDER_DOCUMENTATION_KEY.FREQUENTLY_ASKED_QUESTIONS,
|
119
|
+
);
|
120
|
+
const openFrequentlyAskedQuestions = (): void => {
|
121
|
+
if (frequentlyAskedQuestionEntry?.url) {
|
122
|
+
queryBuilderState.applicationStore.navigationService.navigator.visitAddress(
|
123
|
+
frequentlyAskedQuestionEntry.url,
|
124
|
+
);
|
125
|
+
}
|
126
|
+
};
|
107
127
|
|
108
128
|
return (
|
109
129
|
<>
|
110
|
-
{isPermissionDeniedError
|
130
|
+
{isPermissionDeniedError && (
|
111
131
|
<div className="query-builder__result__permission-error">
|
112
132
|
<div className="query-builder__result__permission-error__header">
|
113
133
|
Entitlement / Authorization error - Please
|
@@ -128,14 +148,54 @@ export const QueryBuilderExecutionErrorPanel = observer(
|
|
128
148
|
</button>
|
129
149
|
</div>
|
130
150
|
)}
|
131
|
-
<div
|
151
|
+
<div
|
152
|
+
className={clsx('query-builder__result__execution-error', {
|
153
|
+
'query-builder__result__execution-error--max':
|
154
|
+
!isPermissionDeniedError,
|
155
|
+
})}
|
156
|
+
>
|
132
157
|
<div className="query-builder__result__execution-error__header">
|
133
158
|
<span style={{ fontWeight: 'bold' }}>Error Execution Query</span>.
|
134
|
-
Please try again later or review options in application`s
|
135
|
-
<span
|
159
|
+
Please try again later or review options in application`s{' '}
|
160
|
+
<span
|
161
|
+
style={{ fontWeight: 'bold' }}
|
162
|
+
onClick={openFrequentlyAskedQuestions}
|
163
|
+
>
|
164
|
+
Help
|
165
|
+
</span>{' '}
|
166
|
+
menu.
|
136
167
|
</div>
|
137
168
|
<div className="query-builder__result__execution-error__body">
|
138
|
-
|
169
|
+
<div className="query-builder__result__execution-error__body__entry">
|
170
|
+
{errorMessage}
|
171
|
+
</div>
|
172
|
+
{resultState.executionTraceId && queryBuilderState.config && (
|
173
|
+
<div className="query-builder__result__execution-error__body__entry">
|
174
|
+
<span style={{ fontWeight: 'bold' }}> ### trace: </span>
|
175
|
+
{resultState.executionTraceId} |{' '}
|
176
|
+
<button
|
177
|
+
className="query-builder__result__execution-error__body__entry__btn"
|
178
|
+
disabled={!queryBuilderState.config.zipkinTraceBaseURL}
|
179
|
+
onClick={() => {
|
180
|
+
if (queryBuilderState.config?.zipkinTraceBaseURL) {
|
181
|
+
queryBuilderState.applicationStore.navigationService.navigator.visitAddress(
|
182
|
+
queryBuilderState.config.zipkinTraceBaseURL +
|
183
|
+
resultState.executionTraceId,
|
184
|
+
);
|
185
|
+
}
|
186
|
+
}}
|
187
|
+
>
|
188
|
+
{queryBuilderState.config.zipkinTraceBaseURL +
|
189
|
+
resultState.executionTraceId}{' '}
|
190
|
+
</button>
|
191
|
+
</div>
|
192
|
+
)}
|
193
|
+
{errorStackTrace && (
|
194
|
+
<div className="query-builder__result__execution-error__body__entry">
|
195
|
+
<span style={{ fontWeight: 'bold' }}>### stack trace: </span>
|
196
|
+
{errorStackTrace}
|
197
|
+
</div>
|
198
|
+
)}
|
139
199
|
</div>
|
140
200
|
</div>
|
141
201
|
</>
|
@@ -180,7 +240,6 @@ export const QueryBuilderEmptyExecutionResultPanel = observer(
|
|
180
240
|
);
|
181
241
|
},
|
182
242
|
);
|
183
|
-
import { QueryBuilderBaseInfoTooltip } from '../shared/QueryBuilderPropertyInfoTooltip.js';
|
184
243
|
|
185
244
|
export const QueryBuilderResultValues = observer(
|
186
245
|
(props: {
|
@@ -403,9 +462,7 @@ export const QueryBuilderResultPanel = observer(
|
|
403
462
|
};
|
404
463
|
const resultDescription = executionResult
|
405
464
|
? getResultSetDescription(executionResult)
|
406
|
-
:
|
407
|
-
? 'fail to execute'
|
408
|
-
: undefined;
|
465
|
+
: undefined;
|
409
466
|
|
410
467
|
const [previewLimitValue, setPreviewLimitValue] = useState(
|
411
468
|
resultState.previewLimit,
|
@@ -590,16 +647,18 @@ export const QueryBuilderResultPanel = observer(
|
|
590
647
|
{resultDescription}
|
591
648
|
</div>
|
592
649
|
)}
|
593
|
-
{executionResult &&
|
594
|
-
|
595
|
-
|
596
|
-
|
597
|
-
|
598
|
-
|
599
|
-
|
650
|
+
{executionResult &&
|
651
|
+
resultState.checkForStaleResults &&
|
652
|
+
!resultState.isRunningQuery && (
|
653
|
+
<div className="query-builder__result__stale-status">
|
654
|
+
<div className="query-builder__result__stale-status__icon">
|
655
|
+
<ExclamationTriangleIcon />
|
656
|
+
</div>
|
657
|
+
<div className="query-builder__result__stale-status__label">
|
658
|
+
Preview data might be stale
|
659
|
+
</div>
|
600
660
|
</div>
|
601
|
-
|
602
|
-
)}
|
661
|
+
)}
|
603
662
|
{executionResult &&
|
604
663
|
executionResult instanceof TDSExecutionResult &&
|
605
664
|
resultState.isExecutionResultOverflowing && (
|
@@ -213,7 +213,7 @@ export const isPropertyExpressionChainOptional = (
|
|
213
213
|
|
214
214
|
export const isTypeCompatibleForAssignment = (
|
215
215
|
type: Type | undefined,
|
216
|
-
assignmentType: Type
|
216
|
+
assignmentType: Type,
|
217
217
|
): boolean => {
|
218
218
|
const NUMERIC_PRIMITIVE_TYPES = [
|
219
219
|
PRIMITIVE_TYPE.NUMBER,
|
@@ -231,7 +231,6 @@ export const isTypeCompatibleForAssignment = (
|
|
231
231
|
// When changing the return type for LHS, the RHS value should be adjusted accordingly.
|
232
232
|
return (
|
233
233
|
type !== undefined &&
|
234
|
-
assignmentType !== undefined &&
|
235
234
|
// Numeric value is handled loosely because of autoboxing
|
236
235
|
// e.g. LHS (integer) = RHS (float) is acceptable
|
237
236
|
((NUMERIC_PRIMITIVE_TYPES.includes(type.path) &&
|
@@ -19,13 +19,13 @@ import {
|
|
19
19
|
type PureModel,
|
20
20
|
type Type,
|
21
21
|
type ValueSpecification,
|
22
|
+
type VariableExpression,
|
22
23
|
type SimpleFunctionExpression,
|
23
24
|
type ExecutionResultWithMetadata,
|
24
25
|
observe_ValueSpecification,
|
25
26
|
PrimitiveType,
|
26
27
|
CollectionInstanceValue,
|
27
28
|
InstanceValue,
|
28
|
-
VariableExpression,
|
29
29
|
} from '@finos/legend-graph';
|
30
30
|
import {
|
31
31
|
type GeneratorFn,
|
@@ -74,13 +74,11 @@ import type { QueryBuilderTDSColumnState } from '../QueryBuilderTDSColumnState.j
|
|
74
74
|
import {
|
75
75
|
getCollectionValueSpecificationType,
|
76
76
|
getNonCollectionValueSpecificationType,
|
77
|
-
isTypeCompatibleForAssignment,
|
78
77
|
isValidInstanceValue,
|
79
78
|
isValueExpressionReferencedInValue,
|
80
79
|
} from '../../../QueryBuilderValueSpecificationHelper.js';
|
81
80
|
import { buildtdsPropertyExpressionFromColState } from './operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.js';
|
82
81
|
import { TDS_COLUMN_GETTER } from '../../../../graph/QueryBuilderMetaModelConst.js';
|
83
|
-
import type { QueryBuilderFilterTreeNodeData } from '../../../filter/QueryBuilderFilterState.js';
|
84
82
|
|
85
83
|
export enum QUERY_BUILDER_POST_FILTER_DND_TYPE {
|
86
84
|
GROUP_CONDITION = 'QUERY_BUILDER_POST_FILTER_DND_TYPE.GROUP_CONDITION',
|
@@ -1014,45 +1012,15 @@ export class QueryBuilderPostFilterState
|
|
1014
1012
|
);
|
1015
1013
|
}
|
1016
1014
|
|
1017
|
-
isInvalidValueSpecPostFilterValue(
|
1018
|
-
node: QueryBuilderPostFilterTreeNodeData,
|
1019
|
-
): boolean {
|
1020
|
-
return (
|
1021
|
-
node instanceof QueryBuilderPostFilterTreeConditionNodeData &&
|
1022
|
-
node.condition.rightConditionValue instanceof
|
1023
|
-
PostFilterValueSpecConditionValueState &&
|
1024
|
-
((node.condition.rightConditionValue.value instanceof InstanceValue &&
|
1025
|
-
!isValidInstanceValue(node.condition.rightConditionValue.value)) ||
|
1026
|
-
(node.condition.rightConditionValue.value instanceof
|
1027
|
-
VariableExpression &&
|
1028
|
-
!isTypeCompatibleForAssignment(
|
1029
|
-
node.condition.leftConditionValue.getColumnType(),
|
1030
|
-
node.condition.rightConditionValue.type,
|
1031
|
-
)))
|
1032
|
-
);
|
1033
|
-
}
|
1034
|
-
|
1035
|
-
isInvalidTDSColumnPostFilterValue(
|
1036
|
-
node: QueryBuilderFilterTreeNodeData,
|
1037
|
-
): boolean {
|
1038
|
-
return (
|
1039
|
-
node instanceof QueryBuilderPostFilterTreeConditionNodeData &&
|
1040
|
-
node.condition.rightConditionValue instanceof
|
1041
|
-
PostFilterTDSColumnValueConditionValueState &&
|
1042
|
-
!isTypeCompatibleForAssignment(
|
1043
|
-
node.condition.leftConditionValue.getColumnType(),
|
1044
|
-
node.condition.rightConditionValue.type,
|
1045
|
-
)
|
1046
|
-
);
|
1047
|
-
}
|
1048
|
-
|
1049
1015
|
get allValidationIssues(): string[] {
|
1050
1016
|
const validationIssues: string[] = [];
|
1051
1017
|
Array.from(this.nodes.values()).forEach((node) => {
|
1052
1018
|
if (node instanceof QueryBuilderPostFilterTreeConditionNodeData) {
|
1053
1019
|
if (
|
1054
|
-
|
1055
|
-
|
1020
|
+
node.condition.rightConditionValue instanceof
|
1021
|
+
PostFilterValueSpecConditionValueState &&
|
1022
|
+
node.condition.rightConditionValue.value instanceof InstanceValue &&
|
1023
|
+
!isValidInstanceValue(node.condition.rightConditionValue.value)
|
1056
1024
|
) {
|
1057
1025
|
validationIssues.push(
|
1058
1026
|
`Filter value for ${node.condition.leftConditionValue.columnName} is missing or invalid`,
|
@@ -1075,8 +1043,11 @@ export class QueryBuilderPostFilterState
|
|
1075
1043
|
get hasInvalidFilterValues(): boolean {
|
1076
1044
|
return Array.from(this.nodes.values()).some(
|
1077
1045
|
(node) =>
|
1078
|
-
|
1079
|
-
|
1046
|
+
node instanceof QueryBuilderPostFilterTreeConditionNodeData &&
|
1047
|
+
node.condition.rightConditionValue instanceof
|
1048
|
+
PostFilterValueSpecConditionValueState &&
|
1049
|
+
node.condition.rightConditionValue.value instanceof InstanceValue &&
|
1050
|
+
!isValidInstanceValue(node.condition.rightConditionValue.value),
|
1080
1051
|
);
|
1081
1052
|
}
|
1082
1053
|
|
@@ -38,6 +38,7 @@ import { QueryBuilderPropertyExpressionState } from '../QueryBuilderPropertyEdit
|
|
38
38
|
import type { QueryBuilderState } from '../QueryBuilderState.js';
|
39
39
|
import {
|
40
40
|
type ValueSpecification,
|
41
|
+
type VariableExpression,
|
41
42
|
type Type,
|
42
43
|
type ExecutionResultWithMetadata,
|
43
44
|
AbstractPropertyExpression,
|
@@ -45,7 +46,6 @@ import {
|
|
45
46
|
CollectionInstanceValue,
|
46
47
|
InstanceValue,
|
47
48
|
SimpleFunctionExpression,
|
48
|
-
VariableExpression,
|
49
49
|
matchFunctionName,
|
50
50
|
} from '@finos/legend-graph';
|
51
51
|
import { DEFAULT_LAMBDA_VARIABLE_NAME } from '../QueryBuilderConfig.js';
|
@@ -61,7 +61,6 @@ import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../QueryBuilderStateHashUtil
|
|
61
61
|
import {
|
62
62
|
getCollectionValueSpecificationType,
|
63
63
|
getNonCollectionValueSpecificationType,
|
64
|
-
isTypeCompatibleForAssignment,
|
65
64
|
isValidInstanceValue,
|
66
65
|
isValueExpressionReferencedInValue,
|
67
66
|
} from '../QueryBuilderValueSpecificationHelper.js';
|
@@ -1187,15 +1186,8 @@ export class QueryBuilderFilterState
|
|
1187
1186
|
node instanceof QueryBuilderFilterTreeConditionNodeData &&
|
1188
1187
|
node.condition.rightConditionValue instanceof
|
1189
1188
|
FilterValueSpecConditionValueState &&
|
1190
|
-
|
1191
|
-
|
1192
|
-
(node.condition.rightConditionValue.value instanceof
|
1193
|
-
VariableExpression &&
|
1194
|
-
!isTypeCompatibleForAssignment(
|
1195
|
-
node.condition.propertyExpressionState.propertyExpression.func.value
|
1196
|
-
.genericType.value.rawType,
|
1197
|
-
node.condition.rightConditionValue.value.genericType?.value.rawType,
|
1198
|
-
)))
|
1189
|
+
node.condition.rightConditionValue.value instanceof InstanceValue &&
|
1190
|
+
!isValidInstanceValue(node.condition.rightConditionValue.value)
|
1199
1191
|
);
|
1200
1192
|
}
|
1201
1193
|
|