@finos/legend-query-builder 4.9.4 → 4.10.1
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/__lib__/QueryBuilderTesting.d.ts +4 -1
- package/lib/__lib__/QueryBuilderTesting.d.ts.map +1 -1
- package/lib/__lib__/QueryBuilderTesting.js +5 -1
- package/lib/__lib__/QueryBuilderTesting.js.map +1 -1
- package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderResultPanel.js +80 -90
- package/lib/components/QueryBuilderResultPanel.js.map +1 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.d.ts +1 -0
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.d.ts.map +1 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js +13 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts +2 -2
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +42 -24
- 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 +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts +3 -2
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js +145 -8
- package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
- package/lib/index.css +16 -0
- package/lib/package.json +1 -1
- package/lib/stores/QueryBuilderConstantsState.d.ts +5 -1
- package/lib/stores/QueryBuilderConstantsState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderConstantsState.js +14 -1
- package/lib/stores/QueryBuilderConstantsState.js.map +1 -1
- package/lib/stores/QueryBuilderResultState.d.ts +3 -0
- package/lib/stores/QueryBuilderResultState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderResultState.js +31 -2
- package/lib/stores/QueryBuilderResultState.js.map +1 -1
- package/lib/stores/QueryBuilderStateHashUtils.d.ts +2 -0
- package/lib/stores/QueryBuilderStateHashUtils.d.ts.map +1 -1
- package/lib/stores/QueryBuilderStateHashUtils.js +2 -0
- package/lib/stores/QueryBuilderStateHashUtils.js.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilder.js +3 -23
- package/lib/stores/QueryBuilderValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperator.js +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperator.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts +31 -5
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +125 -30
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.js +21 -8
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.d.ts +3 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.js +20 -17
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js +4 -6
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js +4 -6
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js +10 -10
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js +10 -10
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js +5 -5
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js +32 -27
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js +10 -5
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js +10 -10
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js +5 -5
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js +4 -6
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js +17 -3
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.d.ts +7 -1
- package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.js +27 -0
- package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
- package/package.json +5 -5
- package/src/__lib__/QueryBuilderTesting.ts +5 -1
- package/src/components/QueryBuilderResultPanel.tsx +127 -135
- package/src/components/__test-utils__/QueryBuilderComponentTestUtils.tsx +25 -1
- package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +102 -49
- package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +6 -2
- package/src/components/filter/QueryBuilderFilterPanel.tsx +239 -21
- package/src/stores/QueryBuilderConstantsState.ts +30 -0
- package/src/stores/QueryBuilderResultState.ts +36 -1
- package/src/stores/QueryBuilderStateHashUtils.ts +2 -0
- package/src/stores/QueryBuilderValueSpecificationBuilder.ts +4 -50
- package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperator.ts +1 -1
- package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +180 -34
- package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.ts +38 -9
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.ts +36 -20
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts +5 -6
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts +6 -6
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts +12 -13
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.ts +10 -9
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.ts +5 -4
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.ts +48 -43
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.ts +12 -4
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.ts +10 -9
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.ts +5 -4
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.ts +6 -6
- package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.ts +26 -4
- package/src/stores/filter/QueryBuilderFilterState.ts +40 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderStateHashUtils.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderStateHashUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,kCAAkC;IAE5C,gBAAgB,qBAAqB;IACrC,cAAc,mBAAmB;IACjC,yBAAyB,8BAA8B;IAGvD,0BAA0B,+BAA+B;IACzD,wBAAwB,6BAA6B;IACrD,2BAA2B,gCAAgC;IAC3D,iCAAiC,sCAAsC;IACvE,8BAA8B,mCAAmC;IACjE,sBAAsB,2BAA2B;IACjD,sBAAsB,2BAA2B;IACjD,qCAAqC,0CAA0C;IAC/E,iCAAiC,sCAAsC;IACvE,sBAAsB,2BAA2B;IACjD,sBAAsB,2BAA2B;IACjD,iBAAiB,sBAAsB;IACvC,8BAA8B,mCAAmC;IACjE,yBAAyB,8BAA8B;IACvD,kCAAkC,uCAAuC;IACzE,yBAAyB,8BAA8B;IACvD,iBAAiB,sBAAsB;IACvC,gBAAgB,qBAAqB;IAGrC,gCAAgC,qCAAqC;IACrE,qCAAqC,yCAAyC;IAC9E,0CAA0C,+CAA+C;IACzF,2BAA2B,gCAAgC;IAC3D,4BAA4B,iCAAiC;IAC7D,gCAAgC,qCAAqC;IACrE,6BAA6B,kCAAkC;IAC/D,iCAAiC,sCAAsC;IACvE,0BAA0B,+BAA+B;IACzD,8BAA8B,mCAAmC;IACjE,iCAAiC,sCAAsC;IACvE,uCAAuC,4CAA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C;IACjF,+BAA+B,oCAAoC;IACnE,8BAA8B,mCAAmC;IACjE,iCAAiC,sCAAsC;IACvE,qCAAqC,0CAA0C;IAC/E,qCAAqC,0CAA0C;IAC/E,+BAA+B,oCAAoC;IACnE,iCAAiC,sCAAsC;IACvE,kCAAkC,uCAAuC;IACzE,gCAAgC,qCAAqC;IACrE,iCAAiC,sCAAsC;IACvE,kCAAkC,sCAAsC;IACxE,iCAAiC,sCAAsC;IACvE,+BAA+B,oCAAoC;IACnE,gCAAgC,qCAAqC;IACrE,gCAAgC,qCAAqC;IACrE,qCAAqC,0CAA0C;IAC/E,sCAAsC,2CAA2C;IACjF,8BAA8B,mCAAmC;IACjE,iCAAiC,sCAAsC;IACvE,+BAA+B,oCAAoC;IACnE,gCAAgC,qCAAqC;IACrE,iCAAiC,sCAAsC;IACvE,iCAAiC,sCAAsC;IACvE,gCAAgC,qCAAqC;IACrE,gCAAgC,qCAAqC;IACrE,iCAAiC,sCAAsC;IACvE,+BAA+B,oCAAoC;IACnE,0CAA0C,+CAA+C;IACzF,+BAA+B,oCAAoC;IACnE,+BAA+B,oCAAoC;CACpE"}
|
1
|
+
{"version":3,"file":"QueryBuilderStateHashUtils.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderStateHashUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,oBAAY,kCAAkC;IAE5C,gBAAgB,qBAAqB;IACrC,cAAc,mBAAmB;IACjC,yBAAyB,8BAA8B;IAGvD,0BAA0B,+BAA+B;IACzD,wBAAwB,6BAA6B;IACrD,2BAA2B,gCAAgC;IAC3D,iCAAiC,sCAAsC;IACvE,8BAA8B,mCAAmC;IACjE,sBAAsB,2BAA2B;IACjD,sBAAsB,2BAA2B;IACjD,qCAAqC,0CAA0C;IAC/E,iCAAiC,sCAAsC;IACvE,sBAAsB,2BAA2B;IACjD,sBAAsB,2BAA2B;IACjD,iBAAiB,sBAAsB;IACvC,8BAA8B,mCAAmC;IACjE,yB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ST_FILTER_TREE_CONDIITION_NODE_DATA"] = "POST_FILTER_TREE_CONDITION_NODE_DATA";
|
44
44
|
QUERY_BUILDER_STATE_HASH_STRUCTURE["POST_FILTER_TREE_BLANK_CONDITION_NODE_DATA"] = "POST_FILTER_TREE_BLANK_CONDITION_NODE_DATA";
|
45
45
|
QUERY_BUILDER_STATE_HASH_STRUCTURE["POST_FILTER_CONDITION_STATE"] = "POST_FILTER_CONDITION_STATE";
|
46
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE["POST_FILTER_CONDITION_RIGHT_VALUE"] = "POST_FILTER_CONDITION_RIGHT_VALUE";
|
47
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE["POST_FILTER_CONDITION_RIGHT_VALUE_SPEC"] = "POST_FILTER_CONDITION_RIGHT_VALUE_SPEC";
|
46
48
|
QUERY_BUILDER_STATE_HASH_STRUCTURE["POST_FILTER_OPERATOR_CONTAIN"] = "POST_FILTER_OPERATOR_CONTAIN";
|
47
49
|
QUERY_BUILDER_STATE_HASH_STRUCTURE["POST_FILTER_OPERATOR_NOT_CONTAIN"] = "POST_FILTER_OPERATOR_NOT_CONTAIN";
|
48
50
|
QUERY_BUILDER_STATE_HASH_STRUCTURE["POST_FILTER_OPERATOR_END_WITH"] = "POST_FILTER_OPERATOR_END_WITH";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderStateHashUtils.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderStateHashUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,
|
1
|
+
{"version":3,"file":"QueryBuilderStateHashUtils.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderStateHashUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAN,IAAY,kCAyIX;AAzID,WAAY,kCAAkC;IAC5C,mBAAmB;IACnB,2EAAqC,CAAA;IACrC,uEAAiC,CAAA;IACjC,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zF,yGAAmE,CAAA;IACnE,yGAAmE,CAAA;AACrE,CAAC,EAzIW,kCAAkC,KAAlC,kCAAkC,QAyI7C"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
1
|
+
{"version":3,"file":"QueryBuilderValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,KAAK,EACV,YAAY,EASZ,cAAc,EACd,wBAAwB,EAGzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kDAAkD,CAAC;AAUpG,eAAO,MAAM,mBAAmB,WACtB,KAAK,gBACC,YAAY,KACzB,wBAWF,CAAC;AAsEF,eAAO,MAAM,mBAAmB,sBACX,iBAAiB,YAC1B,2BAA2B,KACpC,cAuFF,CAAC"}
|
@@ -13,13 +13,12 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import {
|
17
|
-
import { Multiplicity, getMilestoneTemporalStereotype, extractElementNameFromPath, InstanceValue, PackageableElementExplicitReference, CORE_PURE_PATH, FunctionType, GenericType, GenericTypeExplicitReference, LambdaFunction, SimpleFunctionExpression,
|
16
|
+
import { guaranteeNonNullable, guaranteeType } from '@finos/legend-shared';
|
17
|
+
import { Multiplicity, getMilestoneTemporalStereotype, extractElementNameFromPath, InstanceValue, PackageableElementExplicitReference, CORE_PURE_PATH, FunctionType, GenericType, GenericTypeExplicitReference, LambdaFunction, SimpleFunctionExpression, SUPPORTED_FUNCTIONS, RuntimePointer, } from '@finos/legend-graph';
|
18
18
|
import { buildFilterExpression } from './filter/QueryBuilderFilterValueSpecificationBuilder.js';
|
19
19
|
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../graph/QueryBuilderMetaModelConst.js';
|
20
20
|
import { buildWatermarkExpression } from './watermark/QueryBuilderWatermarkValueSpecificationBuilder.js';
|
21
21
|
import { buildExecutionQueryFromLambdaFunction } from './shared/LambdaParameterState.js';
|
22
|
-
import { QueryBuilderSimpleConstantExpressionState, QueryBuilderCalculatedConstantExpressionState, } from './QueryBuilderConstantsState.js';
|
23
22
|
import { QueryBuilderEmbeddedFromExecutionContextState, } from './QueryBuilderExecutionContextState.js';
|
24
23
|
export const buildGetAllFunction = (_class, multiplicity) => {
|
25
24
|
const _func = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.GET_ALL));
|
@@ -35,25 +34,6 @@ const buildGetAllVersionsFunction = (_class, multiplicity) => {
|
|
35
34
|
_func.parametersValues.push(classInstance);
|
36
35
|
return _func;
|
37
36
|
};
|
38
|
-
const buildLetExpression = (constantExpressionState) => {
|
39
|
-
const varName = constantExpressionState.variable.name;
|
40
|
-
const leftSide = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(PrimitiveType.STRING)));
|
41
|
-
leftSide.values = [varName];
|
42
|
-
const letFunc = new SimpleFunctionExpression(extractElementNameFromPath(SUPPORTED_FUNCTIONS.LET));
|
43
|
-
let value;
|
44
|
-
if (constantExpressionState instanceof QueryBuilderSimpleConstantExpressionState) {
|
45
|
-
value = constantExpressionState.value;
|
46
|
-
}
|
47
|
-
else if (constantExpressionState instanceof
|
48
|
-
QueryBuilderCalculatedConstantExpressionState) {
|
49
|
-
value = new INTERNAL__UnknownValueSpecification(constantExpressionState.value);
|
50
|
-
}
|
51
|
-
else {
|
52
|
-
throw new UnsupportedOperationError(`Can't build let() expression: unsupported constant state`, constantExpressionState);
|
53
|
-
}
|
54
|
-
letFunc.parametersValues = [leftSide, value];
|
55
|
-
return letFunc;
|
56
|
-
};
|
57
37
|
const buildExecutionContextState = (executionState, lambdaFunction) => {
|
58
38
|
if (executionState instanceof QueryBuilderEmbeddedFromExecutionContextState) {
|
59
39
|
const precedingExpression = guaranteeNonNullable(lambdaFunction.expressionSequence[0], `Can't build from() expression: preceding expression is not defined`);
|
@@ -112,7 +92,7 @@ export const buildLambdaFunction = (queryBuilderState, options) => {
|
|
112
92
|
buildExecutionContextState(queryBuilderState.executionContextState, lambdaFunction);
|
113
93
|
// build variable expressions
|
114
94
|
if (queryBuilderState.constantState.constants.length) {
|
115
|
-
const letExpressions = queryBuilderState.constantState.constants.map(buildLetExpression);
|
95
|
+
const letExpressions = queryBuilderState.constantState.constants.map((e) => e.buildLetExpression());
|
116
96
|
lambdaFunction.expressionSequence = [
|
117
97
|
...letExpressions,
|
118
98
|
...lambdaFunction.expressionSequence,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderValueSpecificationBuilder.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,
|
1
|
+
{"version":3,"file":"QueryBuilderValueSpecificationBuilder.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC3E,OAAO,EAEL,YAAY,EACZ,8BAA8B,EAC9B,0BAA0B,EAC1B,aAAa,EACb,mCAAmC,EACnC,cAAc,EACd,YAAY,EACZ,WAAW,EACX,4BAA4B,EAC5B,cAAc,EACd,wBAAwB,EACxB,mBAAmB,EACnB,cAAc,GACf,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,qBAAqB,EAAE,MAAM,yDAAyD,CAAC;AAGhG,OAAO,EAAE,iCAAiC,EAAE,MA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B,CAAC,qBAAqB,EACvC,cAAc,CACf,CAAC;IAEF,6BAA6B;IAC7B,IAAI,iBAAiB,CAAC,aAAa,CAAC,SAAS,CAAC,MAAM,EAAE;QACpD,MAAM,cAAc,GAAG,iBAAiB,CAAC,aAAa,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CACzE,CAAC,CAAC,kBAAkB,EAAE,CACvB,CAAC;QACF,cAAc,CAAC,kBAAkB,GAAG;YAClC,GAAG,cAAc;YACjB,GAAG,cAAc,CAAC,kBAAkB;SACrC,CAAC;KACH;IACD,mBAAmB;IACnB,IACE,iBAAiB,CAAC,eAAe,CAAC,eAAe,CAAC,MAAM;QACxD,CAAC,OAAO,EAAE,4BAA4B,EACtC;QACA,IAAI,OAAO,EAAE,wBAAwB,EAAE;YACrC,qCAAqC,CACnC,cAAc,EACd,iBAAiB,CAAC,eAAe,CAAC,eAAe,EACjD,iBAAiB,CAAC,iBAAiB,CACpC,CAAC;SACH;aAAM;YACL,cAAc,CAAC,YAAY,CAAC,UAAU;gBACpC,iBAAiB,CAAC,eAAe,CAAC,eAAe,CAAC,GAAG,CACnD,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CACnB,CAAC;SACL;KACF;IACD,OAAO,cAAc,CAAC;AACxB,CAAC,CAAC"}
|
@@ -20,7 +20,7 @@ export class QueryBuilderPostFilterOperator {
|
|
20
20
|
return undefined;
|
21
21
|
}
|
22
22
|
isCompatibleWithPostFilterColumn(postFilterState) {
|
23
|
-
const columnType = postFilterState.
|
23
|
+
const columnType = postFilterState.leftConditionValue.getColumnType();
|
24
24
|
if (columnType) {
|
25
25
|
return this.isCompatibleWithType(columnType);
|
26
26
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPostFilterOperator.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperator.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAOH,OAAO,EAAiB,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAO3D,MAAM,OAAgB,8BAA8B;IACzC,IAAI,GAAG,IAAI,EAAE,CAAC;IAIvB,kBAAkB;QAChB,OAAO,SAAS,CAAC;IACnB,CAAC;IAYD,gCAAgC,CAC9B,eAAyC;QAEzC,MAAM,UAAU,GAAG,eAAe,CAAC,
|
1
|
+
{"version":3,"file":"QueryBuilderPostFilterOperator.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperator.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAOH,OAAO,EAAiB,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAO3D,MAAM,OAAgB,8BAA8B;IACzC,IAAI,GAAG,IAAI,EAAE,CAAC;IAIvB,kBAAkB;QAChB,OAAO,SAAS,CAAC;IACnB,CAAC;IAYD,gCAAgC,CAC9B,eAAyC;QAEzC,MAAM,UAAU,GAAG,eAAe,CAAC,kBAAkB,CAAC,aAAa,EAAE,CAAC;QACtE,IAAI,UAAU,EAAE;YACd,OAAO,IAAI,CAAC,oBAAoB,CAAC,UAAU,CAAC,CAAC;SAC9C;QACD,OAAO,KAAK,CAAC;IACf,CAAC;CAYF"}
|
@@ -14,7 +14,7 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import type { TreeData, TreeNodeData } from '@finos/legend-art';
|
17
|
-
import { type PureModel, type Type, type ValueSpecification, type VariableExpression } from '@finos/legend-graph';
|
17
|
+
import { type PureModel, type Type, type ValueSpecification, type VariableExpression, type SimpleFunctionExpression } from '@finos/legend-graph';
|
18
18
|
import { type GeneratorFn, ActionState, type Hashable } from '@finos/legend-shared';
|
19
19
|
import { QueryBuilderAggregateColumnState } from '../aggregation/QueryBuilderAggregationState.js';
|
20
20
|
import type { QueryBuilderPostFilterOperator } from './QueryBuilderPostFilterOperator.js';
|
@@ -80,19 +80,45 @@ export declare class QueryBuilderPostFilterTreeBlankConditionNodeData extends Qu
|
|
80
80
|
get dragPreviewLabel(): string;
|
81
81
|
get hashCode(): string;
|
82
82
|
}
|
83
|
+
export declare abstract class PostFilterConditionValueState implements Hashable {
|
84
|
+
conditionState: PostFilterConditionState;
|
85
|
+
constructor(conditionState: PostFilterConditionState);
|
86
|
+
get type(): Type | undefined;
|
87
|
+
get isCollection(): boolean;
|
88
|
+
get hashCode(): string;
|
89
|
+
abstract appendConditionValue(expressionVal: SimpleFunctionExpression): void;
|
90
|
+
}
|
91
|
+
export declare class PostFilterValueSpecConditionValueState extends PostFilterConditionValueState {
|
92
|
+
value?: ValueSpecification | undefined;
|
93
|
+
constructor(conditionState: PostFilterConditionState, value?: ValueSpecification | undefined);
|
94
|
+
get type(): Type | undefined;
|
95
|
+
setValue(val: ValueSpecification | undefined): ValueSpecification | undefined;
|
96
|
+
appendConditionValue(expressionVal: SimpleFunctionExpression): void;
|
97
|
+
get isCollection(): boolean;
|
98
|
+
get hashCode(): string;
|
99
|
+
}
|
100
|
+
export declare class PostFilterTDSColumnValueConditionValueState extends PostFilterConditionValueState {
|
101
|
+
tdsColumn: QueryBuilderTDSColumnState;
|
102
|
+
constructor(conditionState: PostFilterConditionState, tdsColumn: QueryBuilderTDSColumnState);
|
103
|
+
get type(): Type | undefined;
|
104
|
+
get isCollection(): boolean;
|
105
|
+
appendConditionValue(expressionVal: SimpleFunctionExpression): void;
|
106
|
+
changeCol(col: QueryBuilderTDSColumnState): void;
|
107
|
+
}
|
83
108
|
export declare class PostFilterConditionState implements Hashable {
|
84
109
|
readonly postFilterState: QueryBuilderPostFilterState;
|
85
|
-
|
86
|
-
|
110
|
+
leftConditionValue: QueryBuilderTDSColumnState;
|
111
|
+
rightConditionValue: PostFilterConditionValueState;
|
87
112
|
operator: QueryBuilderPostFilterOperator;
|
88
113
|
typeaheadSearchResults: string[] | undefined;
|
89
114
|
typeaheadSearchState: ActionState;
|
90
|
-
constructor(postFilterState: QueryBuilderPostFilterState, colState: QueryBuilderTDSColumnState,
|
115
|
+
constructor(postFilterState: QueryBuilderPostFilterState, colState: QueryBuilderTDSColumnState, operator: QueryBuilderPostFilterOperator | undefined);
|
91
116
|
get columnName(): string;
|
92
117
|
get operators(): QueryBuilderPostFilterOperator[];
|
118
|
+
setRightConditionVal(val: PostFilterConditionValueState): void;
|
119
|
+
buildFromValueSpec(val: ValueSpecification | undefined): void;
|
93
120
|
handleTypeaheadSearch(): GeneratorFn<void>;
|
94
121
|
changeOperator(val: QueryBuilderPostFilterOperator): void;
|
95
|
-
setValue(val: ValueSpecification | undefined): void;
|
96
122
|
setColumnState(val: QueryBuilderProjectionColumnState | QueryBuilderAggregateColumnState): void;
|
97
123
|
setOperator(val: QueryBuilderPostFilterOperator): void;
|
98
124
|
changeColumn(columnState: QueryBuilderProjectionColumnState): GeneratorFn<void>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPostFilterState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EACL,KAAK,SAAS,EACd,KAAK,IAAI,EACT,KAAK,kBAAkB,EAEvB,KAAK,kBAAkB,
|
1
|
+
{"version":3,"file":"QueryBuilderPostFilterState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EACL,KAAK,SAAS,EACd,KAAK,IAAI,EACT,KAAK,kBAAkB,EAEvB,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAM9B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAC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A4B,CAC1B,GAAG,EAAE,2CAA2C,GAAG,SAAS,GAC3D,IAAI;IAIP,IAAI,OAAO,IAAI,OAAO,CAErB;IACD,OAAO,CAAC,aAAa;IAWrB,IAAI,oBAAoB,IAAI,0BAA0B,EAAE,CAMvD;IAED,WAAW,IAAI,kCAAkC,GAAG,SAAS;IAS7D,OAAO,CAAC,WAAW;IAyBnB,wBAAwB,CACtB,IAAI,EAAE,kCAAkC,EACxC,SAAS,EAAE,gDAAgD,GAC1D,IAAI;IAcP,sBAAsB,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAIzC,6BAA6B,CAC3B,QAAQ,EAAE,kCAAkC,GAAG,SAAS,GACvD,IAAI;IAgBP,6BAA6B,CAC3B,IAAI,EAAE,kCAAkC,GAAG,SAAS,EACpD,QAAQ,EAAE,kCAAkC,GAAG,SAAS,GACvD,IAAI;IAyBP,eAAe,CACb,IAAI,EAAE,kCAAkC,EACxC,QAAQ,EAAE,kCAAkC,GAAG,SAAS,GACvD,IAAI;IAqBP,OAAO,CAAC,UAAU;IAkBlB,wBAAwB,CAAC,IAAI,EAAE,kCAAkC,GAAG,IAAI;IA0BxE;;OAEG;IACH,YAAY,IAAI,IAAI;IAqCpB,OAAO,CAAC,gBAAgB;IAYxB,OAAO,CAAC,wBAAwB;IAahC,SAAS,IAAI,IAAI;IAoDjB;;OAEG;IACH,OAAO,CAAC,eAAe;IAuBvB,YAAY,IAAI,IAAI;IAIpB,UAAU,IAAI,IAAI;IAIlB,cAAc,CAAC,QAAQ,EAAE,kBAAkB,GAAG,OAAO;IAYrD,IAAI,QAAQ,IAAI,MAAM,CAMrB;CACF"}
|
@@ -13,7 +13,7 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { Enumeration, PRIMITIVE_TYPE, observe_ValueSpecification, PrimitiveType, } from '@finos/legend-graph';
|
16
|
+
import { Enumeration, PRIMITIVE_TYPE, observe_ValueSpecification, PrimitiveType, CollectionInstanceValue, } from '@finos/legend-graph';
|
17
17
|
import { addUniqueEntry, assertErrorThrown, assertTrue, deleteEntry, getNullableFirstEntry, guaranteeNonNullable, guaranteeType, IllegalStateError, UnsupportedOperationError, uuid, filterByType, ActionState, hashArray, uniq, isNonNullable, } from '@finos/legend-shared';
|
18
18
|
import { action, computed, flow, flowResult, makeObservable, observable, } from 'mobx';
|
19
19
|
import { DEFAULT_POST_FILTER_LAMBDA_VARIABLE_NAME } from '../../../QueryBuilderConfig.js';
|
@@ -22,7 +22,8 @@ import { QueryBuilderProjectionColumnState, QueryBuilderDerivationProjectionColu
|
|
22
22
|
import { buildProjectionColumnTypeaheadQuery, buildTypeaheadOptions, performTypeahead, } from '../../../QueryBuilderTypeaheadHelper.js';
|
23
23
|
import { QUERY_BUILDER_GROUP_OPERATION } from '../../../QueryBuilderGroupOperationHelper.js';
|
24
24
|
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../../QueryBuilderStateHashUtils.js';
|
25
|
-
import { isValueExpressionReferencedInValue } from '../../../QueryBuilderValueSpecificationHelper.js';
|
25
|
+
import { getCollectionValueSpecificationType, getNonCollectionValueSpecificationType, isValueExpressionReferencedInValue, } from '../../../QueryBuilderValueSpecificationHelper.js';
|
26
|
+
import { buildtdsPropertyExpressionFromColState } from './operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.js';
|
26
27
|
export var QUERY_BUILDER_POST_FILTER_DND_TYPE;
|
27
28
|
(function (QUERY_BUILDER_POST_FILTER_DND_TYPE) {
|
28
29
|
QUERY_BUILDER_POST_FILTER_DND_TYPE["GROUP_CONDITION"] = "GROUP_CONDITION";
|
@@ -125,8 +126,8 @@ export class QueryBuilderPostFilterTreeGroupNodeData extends QueryBuilderPostFil
|
|
125
126
|
super(parentId);
|
126
127
|
makeObservable(this, {
|
127
128
|
groupOperation: observable,
|
128
|
-
childrenIds: observable,
|
129
129
|
setGroupOperation: action,
|
130
|
+
childrenIds: observable,
|
130
131
|
addChildNode: action,
|
131
132
|
removeChildNode: action,
|
132
133
|
dragPreviewLabel: computed,
|
@@ -202,23 +203,107 @@ export class QueryBuilderPostFilterTreeBlankConditionNodeData extends QueryBuild
|
|
202
203
|
]);
|
203
204
|
}
|
204
205
|
}
|
206
|
+
export class PostFilterConditionValueState {
|
207
|
+
conditionState;
|
208
|
+
constructor(conditionState) {
|
209
|
+
this.conditionState = conditionState;
|
210
|
+
}
|
211
|
+
get type() {
|
212
|
+
return undefined;
|
213
|
+
}
|
214
|
+
get isCollection() {
|
215
|
+
return false;
|
216
|
+
}
|
217
|
+
get hashCode() {
|
218
|
+
return hashArray([
|
219
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.POST_FILTER_CONDITION_RIGHT_VALUE,
|
220
|
+
]);
|
221
|
+
}
|
222
|
+
}
|
223
|
+
export class PostFilterValueSpecConditionValueState extends PostFilterConditionValueState {
|
224
|
+
value;
|
225
|
+
constructor(conditionState, value) {
|
226
|
+
super(conditionState);
|
227
|
+
makeObservable(this, {
|
228
|
+
value: observable,
|
229
|
+
setValue: action,
|
230
|
+
});
|
231
|
+
this.value = this.setValue(value);
|
232
|
+
}
|
233
|
+
get type() {
|
234
|
+
if (this.value instanceof CollectionInstanceValue) {
|
235
|
+
return getCollectionValueSpecificationType(this.conditionState.postFilterState.tdsState.queryBuilderState
|
236
|
+
.graphManagerState.graph, this.value.values);
|
237
|
+
}
|
238
|
+
return this.value
|
239
|
+
? getNonCollectionValueSpecificationType(this.value)
|
240
|
+
: undefined;
|
241
|
+
}
|
242
|
+
setValue(val) {
|
243
|
+
this.value = val
|
244
|
+
? observe_ValueSpecification(val, this.conditionState.postFilterState.tdsState.queryBuilderState
|
245
|
+
.observerContext)
|
246
|
+
: undefined;
|
247
|
+
return this.value;
|
248
|
+
}
|
249
|
+
appendConditionValue(expressionVal) {
|
250
|
+
if (this.value) {
|
251
|
+
expressionVal.parametersValues.push(this.value);
|
252
|
+
}
|
253
|
+
}
|
254
|
+
get isCollection() {
|
255
|
+
return this.value instanceof CollectionInstanceValue;
|
256
|
+
}
|
257
|
+
get hashCode() {
|
258
|
+
return hashArray([
|
259
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.POST_FILTER_CONDITION_RIGHT_VALUE_SPEC,
|
260
|
+
this.value,
|
261
|
+
]);
|
262
|
+
}
|
263
|
+
}
|
264
|
+
export class PostFilterTDSColumnValueConditionValueState extends PostFilterConditionValueState {
|
265
|
+
tdsColumn;
|
266
|
+
constructor(conditionState, tdsColumn) {
|
267
|
+
super(conditionState);
|
268
|
+
makeObservable(this, {
|
269
|
+
tdsColumn: observable,
|
270
|
+
changeCol: action,
|
271
|
+
});
|
272
|
+
this.tdsColumn = tdsColumn;
|
273
|
+
}
|
274
|
+
get type() {
|
275
|
+
return this.tdsColumn.getColumnType();
|
276
|
+
}
|
277
|
+
get isCollection() {
|
278
|
+
return false;
|
279
|
+
}
|
280
|
+
appendConditionValue(expressionVal) {
|
281
|
+
const tdsPropertyExpression = buildtdsPropertyExpressionFromColState(this.conditionState, this.tdsColumn, this.conditionState.postFilterState.tdsState.queryBuilderState
|
282
|
+
.graphManagerState.graph, undefined);
|
283
|
+
expressionVal.parametersValues.push(tdsPropertyExpression);
|
284
|
+
}
|
285
|
+
changeCol(col) {
|
286
|
+
this.tdsColumn = col;
|
287
|
+
}
|
288
|
+
}
|
205
289
|
export class PostFilterConditionState {
|
206
290
|
postFilterState;
|
207
|
-
|
208
|
-
|
291
|
+
leftConditionValue;
|
292
|
+
rightConditionValue;
|
209
293
|
operator;
|
210
294
|
typeaheadSearchResults;
|
211
295
|
typeaheadSearchState = ActionState.create();
|
212
|
-
constructor(postFilterState, colState,
|
296
|
+
constructor(postFilterState, colState, operator) {
|
213
297
|
makeObservable(this, {
|
214
298
|
postFilterState: observable,
|
215
|
-
|
299
|
+
rightConditionValue: observable,
|
216
300
|
operator: observable,
|
217
|
-
|
301
|
+
leftConditionValue: observable,
|
218
302
|
typeaheadSearchResults: observable,
|
219
303
|
changeOperator: action,
|
220
304
|
setColumnState: action,
|
221
|
-
|
305
|
+
setRightConditionVal: action,
|
306
|
+
buildFromValueSpec: action,
|
222
307
|
setOperator: action,
|
223
308
|
changeColumn: flow,
|
224
309
|
handleTypeaheadSearch: flow,
|
@@ -226,33 +311,46 @@ export class PostFilterConditionState {
|
|
226
311
|
hashCode: computed,
|
227
312
|
});
|
228
313
|
this.postFilterState = postFilterState;
|
229
|
-
this.
|
230
|
-
this.
|
314
|
+
this.leftConditionValue = colState;
|
315
|
+
this.rightConditionValue = new PostFilterValueSpecConditionValueState(this, undefined);
|
231
316
|
if (operator) {
|
232
317
|
this.operator = operator;
|
233
318
|
}
|
234
319
|
else {
|
235
|
-
assertTrue(this.operators.length !== 0, `Can't find an operator for column '${this.
|
320
|
+
assertTrue(this.operators.length !== 0, `Can't find an operator for column '${this.leftConditionValue.columnName}`);
|
236
321
|
this.operator = guaranteeNonNullable(this.operators[0]);
|
237
322
|
}
|
238
323
|
}
|
239
324
|
get columnName() {
|
240
|
-
return this.
|
325
|
+
return this.leftConditionValue.columnName;
|
241
326
|
}
|
242
327
|
get operators() {
|
243
328
|
return this.postFilterState.operators.filter((op) => op.isCompatibleWithPostFilterColumn(this));
|
244
329
|
}
|
330
|
+
setRightConditionVal(val) {
|
331
|
+
this.rightConditionValue = val;
|
332
|
+
}
|
333
|
+
buildFromValueSpec(val) {
|
334
|
+
if (this.rightConditionValue instanceof PostFilterValueSpecConditionValueState) {
|
335
|
+
this.rightConditionValue.setValue(val);
|
336
|
+
return;
|
337
|
+
}
|
338
|
+
else {
|
339
|
+
this.setRightConditionVal(new PostFilterValueSpecConditionValueState(this, val));
|
340
|
+
}
|
341
|
+
}
|
245
342
|
*handleTypeaheadSearch() {
|
246
343
|
try {
|
247
344
|
this.typeaheadSearchState.inProgress();
|
248
345
|
this.typeaheadSearchResults = undefined;
|
249
|
-
const _columnState = this.
|
250
|
-
this.
|
251
|
-
? this.
|
346
|
+
const _columnState = this.leftConditionValue instanceof QueryBuilderProjectionColumnState ||
|
347
|
+
this.leftConditionValue instanceof QueryBuilderAggregateColumnState
|
348
|
+
? this.leftConditionValue
|
252
349
|
: undefined;
|
253
350
|
const columnState = guaranteeNonNullable(_columnState);
|
254
|
-
|
255
|
-
|
351
|
+
const rightConditionValue = guaranteeType(this.rightConditionValue, PostFilterValueSpecConditionValueState);
|
352
|
+
if (performTypeahead(rightConditionValue.value)) {
|
353
|
+
const result = (yield this.postFilterState.tdsState.queryBuilderState.graphManagerState.graphManager.runQuery(buildProjectionColumnTypeaheadQuery(this.postFilterState.tdsState.queryBuilderState, columnState, rightConditionValue.value), guaranteeNonNullable(this.postFilterState.tdsState.queryBuilderState
|
256
354
|
.executionContextState.mapping), guaranteeNonNullable(this.postFilterState.tdsState.queryBuilderState
|
257
355
|
.executionContextState.runtimeValue), this.postFilterState.tdsState.queryBuilderState.graphManagerState
|
258
356
|
.graph));
|
@@ -271,16 +369,11 @@ export class PostFilterConditionState {
|
|
271
369
|
changeOperator(val) {
|
272
370
|
this.setOperator(val);
|
273
371
|
if (!this.operator.isCompatibleWithConditionValue(this)) {
|
274
|
-
this.
|
372
|
+
this.buildFromValueSpec(this.operator.getDefaultFilterConditionValue(this));
|
275
373
|
}
|
276
374
|
}
|
277
|
-
setValue(val) {
|
278
|
-
this.value = val
|
279
|
-
? observe_ValueSpecification(val, this.postFilterState.tdsState.queryBuilderState.observerContext)
|
280
|
-
: undefined;
|
281
|
-
}
|
282
375
|
setColumnState(val) {
|
283
|
-
this.
|
376
|
+
this.leftConditionValue = val;
|
284
377
|
}
|
285
378
|
setOperator(val) {
|
286
379
|
this.operator = val;
|
@@ -300,7 +393,7 @@ export class PostFilterConditionState {
|
|
300
393
|
}
|
301
394
|
// value
|
302
395
|
if (!this.operator.isCompatibleWithConditionValue(this)) {
|
303
|
-
this.
|
396
|
+
this.buildFromValueSpec(this.operator.getDefaultFilterConditionValue(this));
|
304
397
|
}
|
305
398
|
}
|
306
399
|
catch (error) {
|
@@ -311,8 +404,8 @@ export class PostFilterConditionState {
|
|
311
404
|
get hashCode() {
|
312
405
|
return hashArray([
|
313
406
|
QUERY_BUILDER_STATE_HASH_STRUCTURE.POST_FILTER_CONDITION_STATE,
|
314
|
-
this.
|
315
|
-
this.
|
407
|
+
this.leftConditionValue,
|
408
|
+
this.rightConditionValue,
|
316
409
|
this.operator,
|
317
410
|
]);
|
318
411
|
}
|
@@ -376,7 +469,7 @@ export class QueryBuilderPostFilterState {
|
|
376
469
|
get referencedTDSColumns() {
|
377
470
|
return uniq(Array.from(this.nodes.values())
|
378
471
|
.filter(filterByType(QueryBuilderPostFilterTreeConditionNodeData))
|
379
|
-
.map((n) => n.condition.
|
472
|
+
.map((n) => n.condition.leftConditionValue));
|
380
473
|
}
|
381
474
|
getRootNode() {
|
382
475
|
assertTrue(this.rootIds.length < 2, 'Query builder post-filter tree cannot have more than 1 root');
|
@@ -633,7 +726,9 @@ export class QueryBuilderPostFilterState {
|
|
633
726
|
isVariableUsed(variable) {
|
634
727
|
return Boolean(Array.from(this.nodes.values())
|
635
728
|
.filter(filterByType(QueryBuilderPostFilterTreeConditionNodeData))
|
636
|
-
.map((node) => node.condition.
|
729
|
+
.map((node) => node.condition.rightConditionValue)
|
730
|
+
.filter(filterByType(PostFilterValueSpecConditionValueState))
|
731
|
+
.map((condition) => condition.value)
|
637
732
|
.filter(isNonNullable)
|
638
733
|
.find((value) => isValueExpressionReferencedInValue(variable, value)));
|
639
734
|
}
|
@@ -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,EAML,WAAW,EACX,cAAc,EACd,0BAA0B,EAC1B,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,cAAc,EACd,iBAAiB,EACjB,UAAU,EACV,WAAW,EACX,qBA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AI,EAAE,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC;aACnC,MAAM,CAAC,aAAa,CAAC;aACrB,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,kCAAkC,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC,CACxE,CAAC;IACJ,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,iBAAiB;YACpD,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":"QueryBuilderPostFilterState.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAOL,WAAW,EACX,cAAc,EACd,0BAA0B,EAC1B,aAAa,EACb,uBAAuB,GACxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,cAAc,EACd,iBAAiB,EACjB,UAAU,EACV,WAAW,EACX,qBAAqB,EACrB,oBAAoB,EACpB,aAAa,EACb,iBAAiB,EACjB,yBAAyB,EACzB,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,GAC5C,MAAM,oDAAoD,CAAC;AAC5D,OAAO,EACL,mCAAmC,EACnC,qB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,CAAC,SAAS,EAAE,EAAE,CAAC,SAAS,CAAC,KAAK,CAAC;aACnC,MAAM,CAAC,aAAa,CAAC;aACrB,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,kCAAkC,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAC,CACxE,CAAC;IACJ,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,iBAAiB;YACpD,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"}
|
package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPostFilterStateBuilder.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAOL,kBAAkB,EAClB,KAAK,wBAAwB,
|
1
|
+
{"version":3,"file":"QueryBuilderPostFilterStateBuilder.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAOL,kBAAkB,EAClB,KAAK,wBAAwB,EAE9B,MAAM,qBAAqB,CAAC;AAa7B,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAC1F,OAAO,EACL,KAAK,2BAA2B,EAEhC,wBAAwB,EAOzB,MAAM,kCAAkC,CAAC;AAE1C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAsFvE,eAAO,MAAM,6BAA6B,oBACvB,2BAA2B,cAChC,kBAAkB,4BACJ,MAAM,GAAG,SAAS,YAClC,8BAA8B,KACvC,wBAAwB,GAAG,SAkE7B,CAAC;AA2EF,eAAO,MAAM,8BAA8B,eAC7B,wBAAwB,qBACjB,iBAAiB,KACnC,IAqDF,CAAC"}
|