@finos/legend-query-builder 4.14.88 → 4.14.90
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js +2 -4
- package/lib/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js +17 -3
- package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/index.d.ts +3 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +3 -1
- package/lib/index.js.map +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperator.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperator.d.ts.map +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 +4 -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 +3 -3
- 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 +12 -2
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js +5 -5
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.d.ts +3 -3
- 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 +32 -20
- 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 +3 -3
- 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 +5 -5
- 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 +3 -3
- 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 +5 -5
- 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 +3 -3
- 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 +6 -6
- 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 +2 -2
- 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 +4 -4
- 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 +2 -2
- 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 +4 -4
- 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 +3 -3
- 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 +5 -5
- 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 +2 -2
- 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 +3 -3
- 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 +2 -2
- 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 +4 -4
- 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 +2 -2
- 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 +4 -4
- 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 +3 -3
- 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 +5 -5
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderRelationProjectValueSpecBuidler.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderRelationProjectValueSpecBuidler.js +13 -3
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderRelationProjectValueSpecBuidler.js.map +1 -1
- package/package.json +5 -5
- package/src/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts +4 -5
- package/src/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts +23 -7
- package/src/index.ts +7 -0
- package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperator.ts +2 -0
- package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +14 -3
- package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.ts +14 -11
- package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.ts +9 -3
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.ts +51 -27
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts +7 -2
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts +7 -2
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts +7 -2
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.ts +5 -2
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.ts +5 -2
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.ts +7 -2
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.ts +5 -2
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.ts +5 -2
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.ts +5 -2
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.ts +7 -2
- package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +0 -2
- package/src/stores/fetch-structure/tds/projection/QueryBuilderRelationProjectValueSpecBuidler.ts +30 -2
package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPostFilterStateBuilder.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,2BAA2B,EAC3B,0BAA0B,EAC1B,0BAA0B,EAC1B,sBAAsB,EACtB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,GAGnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,UAAU,EACV,UAAU,EACV,iBAAiB,EACjB,oBAAoB,EACpB,aAAa,EACb,kBAAkB,EAClB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,2CAA2C,EAAE,MAAM,oDAAoD,CAAC;AAEjH,OAAO,EACL,kCAAkC,EAClC,iBAAiB,GAClB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAEL,wBAAwB,EACxB,2CAA2C,EAC3C,uCAAuC,EACvC,0BAA0B,EAC1B,sCAAsC,EACtC,2CAA2C,GAC5C,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,iCAAiC,EACjC,iBAAiB,GAClB,MAAM,iDAAiD,CAAC;AAEzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AAChF,OAAO,EAAE,uBAAuB,EAAE,MAAM,kDAAkD,CAAC;AAC3F,OAAO,EAAE,gCAAgC,EAAE,MAAM,gDAAgD,CAAC;AAElG,MAAM,yBAAyB,GAAG,CAChC,kBAA8C,EAC9C,eAA4C,EAChB,EAAE;IAC9B,MAAM,eAAe,GAAG,eAAe,CAAC,QAAQ,CAAC;IACjD,MAAM,qBAAqB,GAAG,kBAAkB,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC;IACjE,UAAU,CACR,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC,QAAQ,CACvC,qBAA0C,CAC3C,EAC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,IAAI,wBAAwB,CAC/C,eAAe,EACf,WAAW,EACX,QAAQ,CACT,CAAC;QACF,OAAO,kBAAkB,CAAC;IAC5B,CAAC;SAAM,IACL,wBAAwB;QACxB,iBAAiB,CAAC,UAAU,CAAC,YAAY,EAAE,wBAAwB,CAAC,EACpE,CAAC;QACD,UAAU,CACR,UAAU,CAAC,gBAAgB,CAAC,MAAM,KAAK,CAAC,EACxC,iBAAiB,0BAA0B,CACzC,wBAAwB,CACzB,kBAAkB,0BAA0B,CAC3C,wBAAwB,CACzB,yBAAyB,CAC3B,CAAC;QAEF,wBAAwB;QACxB,MAAM,
|
1
|
+
{"version":3,"file":"QueryBuilderPostFilterStateBuilder.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,2BAA2B,EAC3B,0BAA0B,EAC1B,0BAA0B,EAC1B,sBAAsB,EACtB,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,GAGnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,UAAU,EACV,UAAU,EACV,iBAAiB,EACjB,oBAAoB,EACpB,aAAa,EACb,kBAAkB,EAClB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,2CAA2C,EAAE,MAAM,oDAAoD,CAAC;AAEjH,OAAO,EACL,kCAAkC,EAClC,iBAAiB,GAClB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EAEL,wBAAwB,EACxB,2CAA2C,EAC3C,uCAAuC,EACvC,0BAA0B,EAC1B,sCAAsC,EACtC,2CAA2C,GAC5C,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,iCAAiC,EACjC,iBAAiB,GAClB,MAAM,iDAAiD,CAAC;AAEzD,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,8CAA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AU,CACR,gBAAgB,EAChB,2BAA2B,EAC3B,mFAAmF,CACpF,CAAC;QAEF,UAAU,CACR,mBAAmB,CAAC,cAAc,EAClC,oBAAoB,EACpB,0FAA0F,CAC3F,CAAC;QACF,UAAU,CACR,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAC,MAAM,CAAC,EAC1C,gGAAgG,CACjG,CAAC;QACF,MAAM,UAAU,GAAG,oBAAoB,CACrC,gBAAgB,CAAC,MAAM,CAAC,CAAC,CAAC,EAC1B,0EAA0E,CAC3E,CAAC;QACF,UAAU,CACR,UAAU,CAAC,kBAAkB,CAAC,MAAM,KAAK,CAAC,EAC1C,0FAA0F,CAC3F,CAAC;QACF,MAAM,cAAc,GAAG,aAAa,CAClC,UAAU,CAAC,kBAAkB,CAAC,CAAC,CAAC,EAChC,kBAAkB,EAClB,qGAAqG,CACtG,CAAC;QACF,UAAU,CACR,UAAU,CAAC,YAAY,CAAC,UAAU,CAAC,MAAM,KAAK,CAAC,EAC/C,oFAAoF,CACrF,CAAC;QACF,eAAe,CAAC,sBAAsB,CACpC,aAAa,CACX,UAAU,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC,EACrC,kBAAkB,EAClB,8GAA8G,CAC/G,CAAC,IAAI,CACP,CAAC;QACF,qBAAqB,CAAC,cAAc,EAAE,eAAe,EAAE,SAAS,CAAC,CAAC;QAElE,QAAQ,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAAC;QACtC,eAAe,CAAC,YAAY,EAAE,CAAC;IACjC,CAAC;AACH,CAAC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPostFilterValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,KAAK,cAAc,EAEpB,MAAM,qBAAqB,CAAC;AAK7B,OAAO,EAIL,KAAK,2BAA2B,EACjC,MAAM,kCAAkC,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilderPostFilterValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,KAAK,cAAc,EAEpB,MAAM,qBAAqB,CAAC;AAK7B,OAAO,EAIL,KAAK,2BAA2B,EACjC,MAAM,kCAAkC,CAAC;AAsD1C,eAAO,MAAM,gBAAgB,oBACV,2BAA2B,kBAC5B,cAAc,KAC7B,cA4BF,CAAC"}
|
@@ -19,16 +19,16 @@ import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../graph/QueryBuilde
|
|
19
19
|
import { fromGroupOperation } from '../../../QueryBuilderGroupOperationHelper.js';
|
20
20
|
import { buildGenericLambdaFunctionInstanceValue } from '../../../QueryBuilderValueSpecificationHelper.js';
|
21
21
|
import { QueryBuilderPostFilterTreeConditionNodeData, QueryBuilderPostFilterTreeGroupNodeData, } from './QueryBuilderPostFilterState.js';
|
22
|
-
const buildPostFilterExpression = (postFilterState, node) => {
|
22
|
+
const buildPostFilterExpression = (postFilterState, node, parentExpression) => {
|
23
23
|
if (node instanceof QueryBuilderPostFilterTreeConditionNodeData) {
|
24
|
-
return node.condition.operator.buildPostFilterConditionExpression(node.condition);
|
24
|
+
return node.condition.operator.buildPostFilterConditionExpression(node.condition, parentExpression);
|
25
25
|
}
|
26
26
|
else if (node instanceof QueryBuilderPostFilterTreeGroupNodeData) {
|
27
27
|
const func = new SimpleFunctionExpression(extractElementNameFromPath(fromGroupOperation(node.groupOperation)));
|
28
28
|
const clauses = node.childrenIds
|
29
29
|
.map((e) => postFilterState.nodes.get(e))
|
30
30
|
.filter(isNonNullable)
|
31
|
-
.map((e) => buildPostFilterExpression(postFilterState, e))
|
31
|
+
.map((e) => buildPostFilterExpression(postFilterState, e, parentExpression))
|
32
32
|
.filter(isNonNullable);
|
33
33
|
/**
|
34
34
|
* NOTE: Due to a limitation (or perhaps design decision) in the engine, group operations
|
@@ -59,8 +59,8 @@ const buildPostFilterExpression = (postFilterState, node) => {
|
|
59
59
|
};
|
60
60
|
export const appendPostFilter = (postFilterState, lambdaFunction) => {
|
61
61
|
const postFilterConditionExpressions = postFilterState.rootIds
|
62
|
-
.map((
|
63
|
-
.map((
|
62
|
+
.map((node) => guaranteeNonNullable(postFilterState.nodes.get(node)))
|
63
|
+
.map((_node) => buildPostFilterExpression(postFilterState, _node, lambdaFunction))
|
64
64
|
.filter(isNonNullable);
|
65
65
|
if (!postFilterConditionExpressions.length ||
|
66
66
|
lambdaFunction.expressionSequence.length !== 1) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPostFilterValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0BAA0B,EAC1B,wBAAwB,GAGzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC3E,OAAO,EAAE,iCAAiC,EAAE,MAAM,iDAAiD,CAAC;AACpG,OAAO,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAClF,OAAO,EAAE,uCAAuC,EAAE,MAAM,kDAAkD,CAAC;AAC3G,OAAO,EACL,2CAA2C,EAC3C,uCAAuC,GAGxC,MAAM,kCAAkC,CAAC;AAE1C,MAAM,yBAAyB,GAAG,CAChC,eAA4C,EAC5C,IAAwC,
|
1
|
+
{"version":3,"file":"QueryBuilderPostFilterValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.ts"],"names":[],"mappings":"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AA8B,CAAC,MAAM;QACtC,cAAc,CAAC,kBAAkB,CAAC,MAAM,KAAK,CAAC,EAC9C,CAAC;QACD,OAAO,cAAc,CAAC;IACxB,CAAC;IACD,MAAM,YAAY,GAAG,uCAAuC,CAC1D,eAAe,CAAC,mBAAmB,EACnC,8BAA8B,EAC9B,eAAe,CAAC,QAAQ,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,CACnE,CAAC;IACF,yBAAyB;IACzB,MAAM,gBAAgB,GAAG,IAAI,wBAAwB,CACnD,0BAA0B,CAAC,iCAAiC,CAAC,UAAU,CAAC,CACzE,CAAC;IACF,MAAM,iBAAiB,GAAG,oBAAoB,CAC5C,cAAc,CAAC,kBAAkB,CAAC,CAAC,CAAC,CACrC,CAAC;IACF,gBAAgB,CAAC,gBAAgB,GAAG,CAAC,iBAAiB,EAAE,YAAY,CAAC,CAAC;IACtE,cAAc,CAAC,kBAAkB,CAAC,CAAC,CAAC,GAAG,gBAAgB,CAAC;IACxD,OAAO,cAAc,CAAC;AACxB,CAAC,CAAC"}
|
@@ -13,10 +13,10 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import {
|
16
|
+
import { FunctionExpression, type PureModel, type LambdaFunction } from '@finos/legend-graph';
|
17
17
|
import type { QueryBuilderPostFilterOperator } from '../QueryBuilderPostFilterOperator.js';
|
18
18
|
import { type PostFilterConditionState } from '../QueryBuilderPostFilterState.js';
|
19
19
|
import type { QueryBuilderTDSColumnState } from '../../QueryBuilderTDSColumnState.js';
|
20
|
-
export declare const buildtdsPropertyExpressionFromColState: (filterConditionState: PostFilterConditionState, colState: QueryBuilderTDSColumnState, graph: PureModel, operator: QueryBuilderPostFilterOperator | undefined) =>
|
21
|
-
export declare const
|
20
|
+
export declare const buildtdsPropertyExpressionFromColState: (filterConditionState: PostFilterConditionState, colState: QueryBuilderTDSColumnState, graph: PureModel, operator: QueryBuilderPostFilterOperator | undefined, parentExpression: LambdaFunction | undefined) => FunctionExpression;
|
21
|
+
export declare const buildPostFilterConditionExpressionHelper: (filterConditionState: PostFilterConditionState, operator: QueryBuilderPostFilterOperator, operatorFunctionFullPath: string | undefined, parentExpression: LambdaFunction | undefined) => FunctionExpression;
|
22
22
|
//# sourceMappingURL=QueryBuilderPostFilterOperatorValueSpecificationBuilder.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPostFilterOperatorValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,
|
1
|
+
{"version":3,"file":"QueryBuilderPostFilterOperatorValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,kBAAkB,EAUlB,KAAK,SAAS,EACd,KAAK,cAAc,EAEpB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AAC3F,OAAO,EAAE,KAAK,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAKlF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,qCAAqC,CAAC;AAGtF,eAAO,MAAM,sCAAsC,yBAC3B,wBAAwB,YACpC,0BAA0B,SAC7B,SAAS,YACN,8BAA8B,GAAG,SAAS,oBAClC,cAAc,GAAG,SAAS,KAC3C,kBA6CF,CAAC;AAEF,eAAO,MAAM,wCAAwC,yBAC7B,wBAAwB,YACpC,8BAA8B,4BAOd,MAAM,GAAG,SAAS,oBAC1B,cAAc,GAAG,SAAS,KAC3C,kBA2BF,CAAC"}
|
@@ -13,48 +13,60 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { AbstractPropertyExpression, extractElementNameFromPath, GenericType, GenericTypeExplicitReference, PrimitiveInstanceValue, SimpleFunctionExpression, VariableExpression, getAllClassDerivedProperties, PropertyExplicitReference, Multiplicity, PrimitiveType, } from '@finos/legend-graph';
|
16
|
+
import { AbstractPropertyExpression, extractElementNameFromPath, FunctionExpression, GenericType, GenericTypeExplicitReference, PrimitiveInstanceValue, SimpleFunctionExpression, VariableExpression, getAllClassDerivedProperties, PropertyExplicitReference, Multiplicity, PrimitiveType, getRelationTypeGenericType, } from '@finos/legend-graph';
|
17
17
|
import { guaranteeNonNullable } from '@finos/legend-shared';
|
18
18
|
import {} from '../QueryBuilderPostFilterState.js';
|
19
19
|
import { QUERY_BUILDER_PURE_PATH, } from '../../../../../graph/QueryBuilderMetaModelConst.js';
|
20
20
|
import { getTDSColumnDerivedProperyFromType } from '../../QueryBuilderTDSHelper.js';
|
21
|
-
export const buildtdsPropertyExpressionFromColState = (filterConditionState, colState, graph, operator) => {
|
22
|
-
const
|
23
|
-
|
24
|
-
const correspondingTDSDerivedProperty = operator
|
25
|
-
? operator.getTDSColumnGetter()
|
21
|
+
export const buildtdsPropertyExpressionFromColState = (filterConditionState, colState, graph, operator, parentExpression) => {
|
22
|
+
const relationType = parentExpression?.expressionSequence[0]
|
23
|
+
? getRelationTypeGenericType(parentExpression.expressionSequence[0])
|
26
24
|
: undefined;
|
27
|
-
|
28
|
-
|
25
|
+
const variableName = new VariableExpression(filterConditionState.postFilterState.lambdaParameterName, Multiplicity.ONE);
|
26
|
+
if (relationType) {
|
27
|
+
const col = guaranteeNonNullable(relationType.columns.find((e) => colState.columnName === e.name), `Can't find property ${colState.columnName} in relation`);
|
28
|
+
const _funcExp = new FunctionExpression(col.name);
|
29
|
+
_funcExp.func = col;
|
30
|
+
_funcExp.parametersValues = [variableName];
|
31
|
+
return _funcExp;
|
29
32
|
}
|
30
33
|
else {
|
31
|
-
const
|
32
|
-
tdsDerivedPropertyName
|
34
|
+
const tdsPropertyExpression = new AbstractPropertyExpression('');
|
35
|
+
let tdsDerivedPropertyName;
|
36
|
+
const correspondingTDSDerivedProperty = operator
|
37
|
+
? operator.getTDSColumnGetter()
|
38
|
+
: undefined;
|
39
|
+
if (correspondingTDSDerivedProperty) {
|
40
|
+
tdsDerivedPropertyName = correspondingTDSDerivedProperty;
|
41
|
+
}
|
42
|
+
else {
|
43
|
+
const type = guaranteeNonNullable(colState.getColumnType());
|
44
|
+
tdsDerivedPropertyName = getTDSColumnDerivedProperyFromType(type);
|
45
|
+
}
|
46
|
+
tdsPropertyExpression.func = PropertyExplicitReference.create(guaranteeNonNullable(getAllClassDerivedProperties(graph.getClass(QUERY_BUILDER_PURE_PATH.TDS_ROW)).find((p) => p.name === tdsDerivedPropertyName)));
|
47
|
+
const colInstanceValue = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(PrimitiveType.STRING)));
|
48
|
+
colInstanceValue.values = [colState.columnName];
|
49
|
+
tdsPropertyExpression.parametersValues = [variableName, colInstanceValue];
|
50
|
+
return tdsPropertyExpression;
|
33
51
|
}
|
34
|
-
tdsPropertyExpression.func = PropertyExplicitReference.create(guaranteeNonNullable(getAllClassDerivedProperties(graph.getClass(QUERY_BUILDER_PURE_PATH.TDS_ROW)).find((p) => p.name === tdsDerivedPropertyName)));
|
35
|
-
const variableName = new VariableExpression(filterConditionState.postFilterState.lambdaParameterName, Multiplicity.ONE);
|
36
|
-
const colInstanceValue = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(PrimitiveType.STRING)));
|
37
|
-
colInstanceValue.values = [colState.columnName];
|
38
|
-
tdsPropertyExpression.parametersValues = [variableName, colInstanceValue];
|
39
|
-
return tdsPropertyExpression;
|
40
52
|
};
|
41
|
-
export const
|
53
|
+
export const buildPostFilterConditionExpressionHelper = (filterConditionState, operator,
|
42
54
|
/**
|
43
55
|
* If provided, this will be used to construct the simple
|
44
56
|
* function expression for the function with the specified
|
45
57
|
* name. If not provided, we will fall back to use the TDS column getter function expression.
|
46
58
|
* This is the case because with TDS, we are provided some filter-like operators, e.g. IS_NULL, IS_NOT_NULL, etc.
|
47
59
|
*/
|
48
|
-
operatorFunctionFullPath) => {
|
60
|
+
operatorFunctionFullPath, parentExpression) => {
|
49
61
|
// primitives
|
50
62
|
const graph = filterConditionState.postFilterState.tdsState.queryBuilderState
|
51
63
|
.graphManagerState.graph;
|
52
64
|
// property expression
|
53
|
-
const tdsPropertyExpression = buildtdsPropertyExpressionFromColState(filterConditionState, filterConditionState.leftConditionValue, graph, operator);
|
65
|
+
const tdsPropertyExpression = buildtdsPropertyExpressionFromColState(filterConditionState, filterConditionState.leftConditionValue, graph, operator, parentExpression);
|
54
66
|
if (operatorFunctionFullPath) {
|
55
67
|
const expression = new SimpleFunctionExpression(extractElementNameFromPath(operatorFunctionFullPath));
|
56
68
|
expression.parametersValues.push(tdsPropertyExpression);
|
57
|
-
filterConditionState.rightConditionValue.appendConditionValue(expression);
|
69
|
+
filterConditionState.rightConditionValue.appendConditionValue(expression, parentExpression);
|
58
70
|
return expression;
|
59
71
|
}
|
60
72
|
else {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPostFilterOperatorValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,
|
1
|
+
{"version":3,"file":"QueryBuilderPostFilterOperatorValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EAC1B,kBAAkB,EAClB,WAAW,EACX,4BAA4B,EAC5B,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;IAC7B,sBAAsB;IACtB,MAAM,qBAAqB,GAAG,sCAAsC,CAClE,oBAAoB,EACpB,oBAAoB,CAAC,kBAAkB,EACvC,KAAK,EACL,QAAQ,EACR,gBAAgB,CACjB,CAAC;IAEF,IAAI,wBAAwB,EAAE,CAAC;QAC7B,MAAM,UAAU,GAAG,IAAI,wBAAwB,CAC7C,0BAA0B,CAAC,wBAAwB,CAAC,CACrD,CAAC;QACF,UAAU,CAAC,gBAAgB,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;QACxD,oBAAoB,CAAC,mBAAmB,CAAC,oBAAoB,CAC3D,UAAU,EACV,gBAAgB,CACjB,CAAC;QACF,OAAO,UAAU,CAAC;IACpB,CAAC;SAAM,CAAC;QACN,OAAO,qBAAqB,CAAC;IAC/B,CAAC;AACH,CAAC,CAAC"}
|
@@ -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 { type SimpleFunctionExpression, type Type, type ValueSpecification, type FunctionExpression } from '@finos/legend-graph';
|
16
|
+
import { type SimpleFunctionExpression, type Type, type ValueSpecification, type LambdaFunction, type FunctionExpression } from '@finos/legend-graph';
|
17
17
|
import { type Hashable } from '@finos/legend-shared';
|
18
18
|
import { QueryBuilderPostFilterOperator } from '../QueryBuilderPostFilterOperator.js';
|
19
19
|
import type { PostFilterConditionState, QueryBuilderPostFilterState } from '../QueryBuilderPostFilterState.js';
|
@@ -22,13 +22,13 @@ export declare class QueryBuilderPostFilterOperator_Contain extends QueryBuilder
|
|
22
22
|
isCompatibleWithType(type: Type): boolean;
|
23
23
|
isCompatibleWithConditionValue(postFilterConditionState: PostFilterConditionState): boolean;
|
24
24
|
getDefaultFilterConditionValue(postFilterConditionState: PostFilterConditionState): ValueSpecification;
|
25
|
-
buildPostFilterConditionExpression(postFilterConditionState: PostFilterConditionState): ValueSpecification | undefined;
|
25
|
+
buildPostFilterConditionExpression(postFilterConditionState: PostFilterConditionState, parentExpression: LambdaFunction | undefined): ValueSpecification | undefined;
|
26
26
|
buildPostFilterConditionState(postFilterState: QueryBuilderPostFilterState, expression: FunctionExpression): PostFilterConditionState | undefined;
|
27
27
|
get hashCode(): string;
|
28
28
|
}
|
29
29
|
export declare class QueryBuilderPostFilterOperator_NotContain extends QueryBuilderPostFilterOperator_Contain {
|
30
30
|
getLabel(): string;
|
31
|
-
buildPostFilterConditionExpression(postFilterConditionState: PostFilterConditionState): ValueSpecification | undefined;
|
31
|
+
buildPostFilterConditionExpression(postFilterConditionState: PostFilterConditionState, parentExpression: LambdaFunction | undefined): ValueSpecification | undefined;
|
32
32
|
buildPostFilterConditionState(postFilterState: QueryBuilderPostFilterState, expression: SimpleFunctionExpression): PostFilterConditionState | undefined;
|
33
33
|
get hashCode(): string;
|
34
34
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPostFilterOperator_Contain.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,IAAI,EACT,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EAGxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,KAAK,QAAQ,EAGd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AAEtF,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,mCAAmC,CAAC;AAU3C,qBAAa,sCACX,SAAQ,8BACR,YAAW,QAAQ;IAEnB,QAAQ,IAAI,MAAM;IAIlB,oBAAoB,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO;IAIzC,8BAA8B,CAC5B,wBAAwB,EAAE,wBAAwB,GACjD,OAAO;IAOV,8BAA8B,CAC5B,wBAAwB,EAAE,wBAAwB,GACjD,kBAAkB;IAyBrB,kCAAkC,CAChC,wBAAwB,EAAE,wBAAwB,
|
1
|
+
{"version":3,"file":"QueryBuilderPostFilterOperator_Contain.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,IAAI,EACT,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,kBAAkB,EAGxB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,KAAK,QAAQ,EAGd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AAEtF,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,mCAAmC,CAAC;AAU3C,qBAAa,sCACX,SAAQ,8BACR,YAAW,QAAQ;IAEnB,QAAQ,IAAI,MAAM;IAIlB,oBAAoB,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO;IAIzC,8BAA8B,CAC5B,wBAAwB,EAAE,wBAAwB,GACjD,OAAO;IAOV,8BAA8B,CAC5B,wBAAwB,EAAE,wBAAwB,GACjD,kBAAkB;IAyBrB,kCAAkC,CAChC,wBAAwB,EAAE,wBAAwB,EAClD,gBAAgB,EAAE,cAAc,GAAG,SAAS,GAC3C,kBAAkB,GAAG,SAAS;IASjC,6BAA6B,CAC3B,eAAe,EAAE,2BAA2B,EAC5C,UAAU,EAAE,kBAAkB,GAC7B,wBAAwB,GAAG,SAAS;IASvC,IAAI,QAAQ,IAAI,MAAM,CAIrB;CACF;AAED,qBAAa,yCAA0C,SAAQ,sCAAsC;IAC1F,QAAQ,IAAI,MAAM;IAGlB,kCAAkC,CACzC,wBAAwB,EAAE,wBAAwB,EAClD,gBAAgB,EAAE,cAAc,GAAG,SAAS,GAC3C,kBAAkB,GAAG,SAAS;IAQxB,6BAA6B,CACpC,eAAe,EAAE,2BAA2B,EAC5C,UAAU,EAAE,wBAAwB,GACnC,wBAAwB,GAAG,SAAS;IAOvC,IAAa,QAAQ,IAAI,MAAM,CAI9B;CACF"}
|
@@ -18,7 +18,7 @@ import { guaranteeNonNullable, hashArray, UnsupportedOperationError, } from '@fi
|
|
18
18
|
import { QueryBuilderPostFilterOperator } from '../QueryBuilderPostFilterOperator.js';
|
19
19
|
import { buildPostFilterConditionState } from '../QueryBuilderPostFilterStateBuilder.js';
|
20
20
|
import { buildNotExpression, unwrapNotExpression, } from '../../../../QueryBuilderValueSpecificationHelper.js';
|
21
|
-
import {
|
21
|
+
import { buildPostFilterConditionExpressionHelper } from './QueryBuilderPostFilterOperatorValueSpecificationBuilder.js';
|
22
22
|
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../graph/QueryBuilderMetaModelConst.js';
|
23
23
|
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../../../QueryBuilderStateHashUtils.js';
|
24
24
|
import { buildDefaultInstanceValue } from '../../../../shared/ValueSpecificationEditorHelper.js';
|
@@ -46,8 +46,8 @@ export class QueryBuilderPostFilterOperator_Contain extends QueryBuilderPostFilt
|
|
46
46
|
throw new UnsupportedOperationError(`Can't get default value for post-filter operator '${this.getLabel()}' when the LHS property is of type '${propertyType.path}'`);
|
47
47
|
}
|
48
48
|
}
|
49
|
-
buildPostFilterConditionExpression(postFilterConditionState) {
|
50
|
-
return
|
49
|
+
buildPostFilterConditionExpression(postFilterConditionState, parentExpression) {
|
50
|
+
return buildPostFilterConditionExpressionHelper(postFilterConditionState, this, QUERY_BUILDER_SUPPORTED_FUNCTIONS.CONTAINS, parentExpression);
|
51
51
|
}
|
52
52
|
buildPostFilterConditionState(postFilterState, expression) {
|
53
53
|
return buildPostFilterConditionState(postFilterState, expression, QUERY_BUILDER_SUPPORTED_FUNCTIONS.CONTAINS, this);
|
@@ -62,8 +62,8 @@ export class QueryBuilderPostFilterOperator_NotContain extends QueryBuilderPostF
|
|
62
62
|
getLabel() {
|
63
63
|
return `doesn't contain`;
|
64
64
|
}
|
65
|
-
buildPostFilterConditionExpression(postFilterConditionState) {
|
66
|
-
const expression = super.buildPostFilterConditionExpression(postFilterConditionState);
|
65
|
+
buildPostFilterConditionExpression(postFilterConditionState, parentExpression) {
|
66
|
+
const expression = super.buildPostFilterConditionExpression(postFilterConditionState, parentExpression);
|
67
67
|
return expression ? buildNotExpression(expression) : undefined;
|
68
68
|
}
|
69
69
|
buildPostFilterConditionState(postFilterState, expression) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPostFilterOperator_Contain.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,
|
1
|
+
{"version":3,"file":"QueryBuilderPostFilterOperator_Contain.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAML,cAAc,EACd,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,oBAAoB,EAEpB,SAAS,EACT,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AACtF,OAAO,EAAE,6BAA6B,EAAE,MAAM,0CAA0C,CAAC;AAKzF,OAAO,EACL,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EAAE,wCAAwC,EAAE,MAAM,8DAA8D,CAAC;AACxH,OAAO,EAAE,iCAAiC,EAAE,MAAM,oDAAoD,CAAC;AACvG,OAAO,EAAE,kCAAkC,EAAE,MAAM,2CAA2C,CAAC;AAC/F,OAAO,EAAE,yBAAyB,EAAE,MAAM,s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EACf,UAAU,EACV,iCAAiC,CAAC,QAAQ,EAC1C,IAAI,CACL,CAAC;IACJ,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,4BAA4B;SAChE,CAAC,CAAC;IACL,CAAC;CACF;AAED,MAAM,OAAO,yCAA0C,SAAQ,sCAAsC;IAC1F,QAAQ;QACf,OAAO,iBAAiB,CAAC;IAC3B,CAAC;IACQ,kCAAkC,CACzC,wBAAkD,EAClD,gBAA4C;QAE5C,MAAM,UAAU,GAAG,KAAK,CAAC,kCAAkC,CACzD,wBAAwB,EACxB,gBAAgB,CACjB,CAAC;QACF,OAAO,UAAU,CAAC,CAAC,CAAC,kBAAkB,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IACjE,CAAC;IAEQ,6BAA6B,CACpC,eAA4C,EAC5C,UAAoC;QAEpC,MAAM,eAAe,GAAG,mBAAmB,CAAC,UAAU,CAAC,CAAC;QACxD,OAAO,eAAe;YACpB,CAAC,CAAC,KAAK,CAAC,6BAA6B,CAAC,eAAe,EAAE,eAAe,CAAC;YACvE,CAAC,CAAC,SAAS,CAAC;IAChB,CAAC;IAED,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,gCAAgC;SACpE,CAAC,CAAC;IACL,CAAC;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 { type SimpleFunctionExpression, type Type, type ValueSpecification, type FunctionExpression } from '@finos/legend-graph';
|
16
|
+
import { type SimpleFunctionExpression, type Type, type ValueSpecification, type FunctionExpression, type LambdaFunction } from '@finos/legend-graph';
|
17
17
|
import { type Hashable } from '@finos/legend-shared';
|
18
18
|
import { QueryBuilderPostFilterOperator } from '../QueryBuilderPostFilterOperator.js';
|
19
19
|
import type { PostFilterConditionState, QueryBuilderPostFilterState } from '../QueryBuilderPostFilterState.js';
|
@@ -22,13 +22,13 @@ export declare class QueryBuilderPostFilterOperator_EndWith extends QueryBuilder
|
|
22
22
|
isCompatibleWithType(type: Type): boolean;
|
23
23
|
isCompatibleWithConditionValue(postFilterConditionState: PostFilterConditionState): boolean;
|
24
24
|
getDefaultFilterConditionValue(postFilterConditionState: PostFilterConditionState): ValueSpecification;
|
25
|
-
buildPostFilterConditionExpression(postFilterConditionState: PostFilterConditionState): ValueSpecification | undefined;
|
25
|
+
buildPostFilterConditionExpression(postFilterConditionState: PostFilterConditionState, parentExpression: LambdaFunction | undefined): ValueSpecification | undefined;
|
26
26
|
buildPostFilterConditionState(postFilterState: QueryBuilderPostFilterState, expression: FunctionExpression): PostFilterConditionState | undefined;
|
27
27
|
get hashCode(): string;
|
28
28
|
}
|
29
29
|
export declare class QueryBuilderPostFilterOperator_NotEndWith extends QueryBuilderPostFilterOperator_EndWith {
|
30
30
|
getLabel(): string;
|
31
|
-
buildPostFilterConditionExpression(postFilterConditionState: PostFilterConditionState): ValueSpecification | undefined;
|
31
|
+
buildPostFilterConditionExpression(postFilterConditionState: PostFilterConditionState, parentExpression: LambdaFunction | undefined): ValueSpecification | undefined;
|
32
32
|
buildPostFilterConditionState(postFilterState: QueryBuilderPostFilterState, expression: SimpleFunctionExpression): PostFilterConditionState | undefined;
|
33
33
|
get hashCode(): string;
|
34
34
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPostFilterOperator_EndWith.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,IAAI,EACT,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,
|
1
|
+
{"version":3,"file":"QueryBuilderPostFilterOperator_EndWith.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/post-filter/operators/Query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supportedOperationError, } from '@finos/legend-shared';
|
|
18
18
|
import { QueryBuilderPostFilterOperator } from '../QueryBuilderPostFilterOperator.js';
|
19
19
|
import { buildPostFilterConditionState } from '../QueryBuilderPostFilterStateBuilder.js';
|
20
20
|
import { buildNotExpression, unwrapNotExpression, } from '../../../../QueryBuilderValueSpecificationHelper.js';
|
21
|
-
import {
|
21
|
+
import { buildPostFilterConditionExpressionHelper } from './QueryBuilderPostFilterOperatorValueSpecificationBuilder.js';
|
22
22
|
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../graph/QueryBuilderMetaModelConst.js';
|
23
23
|
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../../../QueryBuilderStateHashUtils.js';
|
24
24
|
import { buildDefaultInstanceValue } from '../../../../shared/ValueSpecificationEditorHelper.js';
|
@@ -46,8 +46,8 @@ export class QueryBuilderPostFilterOperator_EndWith extends QueryBuilderPostFilt
|
|
46
46
|
throw new UnsupportedOperationError(`Can't get default value for post-filter operator '${this.getLabel()}' when the LHS property is of type '${propertyType?.path}'`);
|
47
47
|
}
|
48
48
|
}
|
49
|
-
buildPostFilterConditionExpression(postFilterConditionState) {
|
50
|
-
return
|
49
|
+
buildPostFilterConditionExpression(postFilterConditionState, parentExpression) {
|
50
|
+
return buildPostFilterConditionExpressionHelper(postFilterConditionState, this, QUERY_BUILDER_SUPPORTED_FUNCTIONS.ENDS_WITH, parentExpression);
|
51
51
|
}
|
52
52
|
buildPostFilterConditionState(postFilterState, expression) {
|
53
53
|
return buildPostFilterConditionState(postFilterState, expression, QUERY_BUILDER_SUPPORTED_FUNCTIONS.ENDS_WITH, this);
|
@@ -62,8 +62,8 @@ export class QueryBuilderPostFilterOperator_NotEndWith extends QueryBuilderPostF
|
|
62
62
|
getLabel() {
|
63
63
|
return `doesn't end with`;
|
64
64
|
}
|
65
|
-
buildPostFilterConditionExpression(postFilterConditionState) {
|
66
|
-
const expression = super.buildPostFilterConditionExpression(postFilterConditionState);
|
65
|
+
buildPostFilterConditionExpression(postFilterConditionState, parentExpression) {
|
66
|
+
const expression = super.buildPostFilterConditionExpression(postFilterConditionState, parentExpression);
|
67
67
|
return expression ? buildNotExpression(expression) : undefined;
|
68
68
|
}
|
69
69
|
buildPostFilterConditionState(postFilterState, expression) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPostFilterOperator_EndWith.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,
|
1
|
+
{"version":3,"file":"QueryBuilderPostFilterOperator_EndWith.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAML,cAAc,EACd,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,SAAS,EACT,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AACtF,OAAO,EAAE,6BAA6B,EAAE,MAAM,0CAA0C,CAAC;AAKzF,OAAO,EACL,kBAAkB,EAClB,mBAAmB,GACpB,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EAAE,wCAAwC,EAAE,MAAM,8DAA8D,CAAC;AACxH,OAAO,EAAE,iCAAiC,EAAE,MAAM,oDAAoD,CAAC;AACvG,OAAO,EAAE,kCAAkC,EAAE,MAAM,2CAA2C,CAAC;AAC/F,OAAO,EAAE,yBAAyB,EAAE,MAAM,sDAAsD,CAAC;AAEjG,MAAM,OAAO,sCACX,SAAQ,8BAA8B;IAGtC,QAAQ;QACN,OAAO,WAAW,CAAC;IACrB,CAAC;IAED,oBAAoB,CAAC,IAAU;QAC7B,OAAO,aAAa,CAAC,MAAM,KAAK,IAAI,CAAC;IAC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,SAAQ,sCAAsC;IAC1F,QAAQ;QACf,OAAO,kBAAkB,CAAC;IAC5B,CAAC;IAEQ,kCAAkC,CACzC,wBAAkD,EAClD,gBAA4C;QAE5C,MAAM,UAAU,GAAG,KAAK,CAAC,kCAAkC,CACzD,wBAAwB,EACxB,gBAAgB,CACjB,CAAC;QACF,OAAO,UAAU,CAAC,CAAC,CAAC,kBAAkB,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;IACjE,CAAC;IAEQ,6BAA6B,CACpC,eAA4C,EAC5C,UAAoC;QAEpC,MAAM,eAAe,GAAG,mBAAmB,CAAC,UAAU,CAAC,CAAC;QACxD,OAAO,eAAe;YACpB,CAAC,CAAC,KAAK,CAAC,6BAA6B,CAAC,eAAe,EAAE,eAAe,CAAC;YACvE,CAAC,CAAC,SAAS,CAAC;IAChB,CAAC;IAED,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,iCAAiC;SACrE,CAAC,CAAC;IACL,CAAC;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 { type Type, type ValueSpecification, type SimpleFunctionExpression, type FunctionExpression } from '@finos/legend-graph';
|
16
|
+
import { type Type, type ValueSpecification, type SimpleFunctionExpression, type FunctionExpression, type LambdaFunction } from '@finos/legend-graph';
|
17
17
|
import { type Hashable } from '@finos/legend-shared';
|
18
18
|
import { QueryBuilderPostFilterOperator } from '../QueryBuilderPostFilterOperator.js';
|
19
19
|
import { type PostFilterConditionState, type QueryBuilderPostFilterState } from '../QueryBuilderPostFilterState.js';
|
@@ -22,13 +22,13 @@ export declare class QueryBuilderPostFilterOperator_Equal extends QueryBuilderPo
|
|
22
22
|
isCompatibleWithType(type: Type): boolean;
|
23
23
|
isCompatibleWithConditionValue(postFilterConditionState: PostFilterConditionState): boolean;
|
24
24
|
getDefaultFilterConditionValue(postFilterConditionState: PostFilterConditionState): ValueSpecification;
|
25
|
-
buildPostFilterConditionExpression(postFilterConditionState: PostFilterConditionState): ValueSpecification | undefined;
|
25
|
+
buildPostFilterConditionExpression(postFilterConditionState: PostFilterConditionState, parentExpression: LambdaFunction | undefined): ValueSpecification | undefined;
|
26
26
|
buildPostFilterConditionState(postFilterState: QueryBuilderPostFilterState, expression: FunctionExpression): PostFilterConditionState | undefined;
|
27
27
|
get hashCode(): string;
|
28
28
|
}
|
29
29
|
export declare class QueryBuilderPostFilterOperator_NotEqual extends QueryBuilderPostFilterOperator_Equal {
|
30
30
|
getLabel(): string;
|
31
|
-
buildPostFilterConditionExpression(postFilterConditionState: PostFilterConditionState): ValueSpecification | undefined;
|
31
|
+
buildPostFilterConditionExpression(postFilterConditionState: PostFilterConditionState, parentExpression: LambdaFunction | undefined): ValueSpecification | undefined;
|
32
32
|
buildPostFilterConditionState(postFilterState: QueryBuilderPostFilterState, expression: SimpleFunctionExpression): PostFilterConditionState | undefined;
|
33
33
|
get hashCode(): string;
|
34
34
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPostFilterOperator_Equal.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,IAAI,EACT,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,
|
1
|
+
{"version":3,"file":"QueryBuilderPostFilterOperator_Equal.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,IAAI,EACT,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,KAAK,cAAc,EAKpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,KAAK,QAAQ,EAEd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AAEtF,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,2BAA2B,EACjC,MAAM,mCAAmC,CAAC;AAW3C,qBAAa,oCACX,SAAQ,8BACR,YAAW,QAAQ;IAEnB,QAAQ,IAAI,MAAM;IAIlB,oBAAoB,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO;IAoBzC,8BAA8B,CAC5B,wBAAwB,EAAE,wBAAwB,GACjD,OAAO;IAYV,8BAA8B,CAC5B,wBAAwB,EAAE,wBAAwB,GACjD,kBAAkB;IAerB,kCAAkC,CAChC,wBAAwB,EAAE,wBAAwB,EAClD,gBAAgB,EAAE,cAAc,GAAG,SAAS,GAC3C,kBAAkB,GAAG,SAAS;IAcjC,6BAA6B,CAC3B,eAAe,EAAE,2BAA2B,EAC5C,UAAU,EAAE,kBAAkB,GAC7B,wBAAwB,GAAG,SAAS;IAevC,IAAI,QAAQ,IAAI,MAAM,CAIrB;CACF;AACD,qBAAa,uCAAwC,SAAQ,oCAAoC;IACtF,QAAQ,IAAI,MAAM;IAIlB,kCAAkC,CACzC,wBAAwB,EAAE,wBAAwB,EAClD,gBAAgB,EAAE,cAAc,GAAG,SAAS,GAC3C,kBAAkB,GAAG,SAAS;IAQxB,6BAA6B,CACpC,eAAe,EAAE,2BAA2B,EAC5C,UAAU,EAAE,wBAAwB,GACnC,wBAAwB,GAAG,SAAS;IAOvC,IAAa,QAAQ,IAAI,MAAM,CAI9B;CACF"}
|
package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js
CHANGED
@@ -19,7 +19,7 @@ import { QueryBuilderPostFilterOperator } from '../QueryBuilderPostFilterOperato
|
|
19
19
|
import { buildPostFilterConditionState } from '../QueryBuilderPostFilterStateBuilder.js';
|
20
20
|
import {} from '../QueryBuilderPostFilterState.js';
|
21
21
|
import { buildNotExpression, isTypeCompatibleForAssignment, unwrapNotExpression, } from '../../../../QueryBuilderValueSpecificationHelper.js';
|
22
|
-
import {
|
22
|
+
import { buildPostFilterConditionExpressionHelper } from './QueryBuilderPostFilterOperatorValueSpecificationBuilder.js';
|
23
23
|
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../graph/QueryBuilderMetaModelConst.js';
|
24
24
|
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../../../QueryBuilderStateHashUtils.js';
|
25
25
|
import { buildDefaultInstanceValue } from '../../../../shared/ValueSpecificationEditorHelper.js';
|
@@ -55,13 +55,13 @@ export class QueryBuilderPostFilterOperator_Equal extends QueryBuilderPostFilter
|
|
55
55
|
.observerContext, postFilterConditionState.postFilterState.tdsState.queryBuilderState
|
56
56
|
.INTERNAL__enableInitializingDefaultSimpleExpressionValue);
|
57
57
|
}
|
58
|
-
buildPostFilterConditionExpression(postFilterConditionState) {
|
59
|
-
return
|
58
|
+
buildPostFilterConditionExpression(postFilterConditionState, parentExpression) {
|
59
|
+
return buildPostFilterConditionExpressionHelper(postFilterConditionState, this, postFilterConditionState.leftConditionValue.getColumnType() ===
|
60
60
|
PrimitiveType.DATETIME &&
|
61
61
|
postFilterConditionState.rightConditionValue.type !==
|
62
62
|
PrimitiveType.DATETIME
|
63
63
|
? QUERY_BUILDER_SUPPORTED_FUNCTIONS.IS_ON_DAY
|
64
|
-
: QUERY_BUILDER_SUPPORTED_FUNCTIONS.EQUAL);
|
64
|
+
: QUERY_BUILDER_SUPPORTED_FUNCTIONS.EQUAL, parentExpression);
|
65
65
|
}
|
66
66
|
buildPostFilterConditionState(postFilterState, expression) {
|
67
67
|
return buildPostFilterConditionState(postFilterState, expression, expression.parametersValues[0] instanceof AbstractPropertyExpression &&
|
@@ -82,8 +82,8 @@ export class QueryBuilderPostFilterOperator_NotEqual extends QueryBuilderPostFil
|
|
82
82
|
getLabel() {
|
83
83
|
return `is not`;
|
84
84
|
}
|
85
|
-
buildPostFilterConditionExpression(postFilterConditionState) {
|
86
|
-
const expression = super.buildPostFilterConditionExpression(postFilterConditionState);
|
85
|
+
buildPostFilterConditionExpression(postFilterConditionState, parentExpression) {
|
86
|
+
const expression = super.buildPostFilterConditionExpression(postFilterConditionState, parentExpression);
|
87
87
|
return expression ? buildNotExpression(expression) : undefined;
|
88
88
|
}
|
89
89
|
buildPostFilterConditionState(postFilterState, expression) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPostFilterOperator_Equal.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,
|
1
|
+
{"version":3,"file":"QueryBuilderPostFilterOperator_Equal.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAML,0BAA0B,EAC1B,WAAW,EACX,cAAc,EACd,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,oBAAoB,EAEpB,SAAS,GACV,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AACtF,OAAO,EAAE,6BAA6B,EAAE,MAAM,0CAA0C,CAAC;AACzF,OAAO,EAGN,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACL,kBAAkB,EAClB,6BAA6B,EAC7B,mBAAmB,GACpB,MAAM,qDAAqD,CAAC;AAC7D,OAAO,EAAE,wCAAwC,EAAE,MAAM,8DAA8D,CAAC;AACxH,OAAO,EAAE,iCAAiC,EAAE,MAAM,oDAAoD,CAAC;AACvG,OAAO,EAAE,kCAAkC,EAAE,MAAM,2CAA2C,CAAC;AAC/F,OAAO,EAAE,yBAAyB,EAAE,MAAM,sDAAsD,CAA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AC,CAAC,CAAC,SAAS,CAAC;IACjE,CAAC;IAEQ,6BAA6B,CACpC,eAA4C,EAC5C,UAAoC;QAEpC,MAAM,eAAe,GAAG,mBAAmB,CAAC,UAAU,CAAC,CAAC;QACxD,OAAO,eAAe;YACpB,CAAC,CAAC,KAAK,CAAC,6BAA6B,CAAC,eAAe,EAAE,eAAe,CAAC;YACvE,CAAC,CAAC,SAAS,CAAC;IAChB,CAAC;IAED,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,8BAA8B;SAClE,CAAC,CAAC;IACL,CAAC;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 { type Type, type ValueSpecification, type FunctionExpression } from '@finos/legend-graph';
|
16
|
+
import { type Type, type ValueSpecification, type FunctionExpression, type LambdaFunction } from '@finos/legend-graph';
|
17
17
|
import { type Hashable } from '@finos/legend-shared';
|
18
18
|
import { QueryBuilderPostFilterOperator } from '../QueryBuilderPostFilterOperator.js';
|
19
19
|
import type { PostFilterConditionState, QueryBuilderPostFilterState } from '../QueryBuilderPostFilterState.js';
|
@@ -22,7 +22,7 @@ export declare class QueryBuilderPostFilterOperator_GreaterThan extends QueryBui
|
|
22
22
|
isCompatibleWithType(type: Type): boolean;
|
23
23
|
isCompatibleWithConditionValue(postFilterConditionState: PostFilterConditionState): boolean;
|
24
24
|
getDefaultFilterConditionValue(postFilterConditionState: PostFilterConditionState): ValueSpecification;
|
25
|
-
buildPostFilterConditionExpression(postFilterConditionState: PostFilterConditionState): ValueSpecification | undefined;
|
25
|
+
buildPostFilterConditionExpression(postFilterConditionState: PostFilterConditionState, parentExpression: LambdaFunction | undefined): ValueSpecification | undefined;
|
26
26
|
buildPostFilterConditionState(postFilterState: QueryBuilderPostFilterState, expression: FunctionExpression): PostFilterConditionState | undefined;
|
27
27
|
get hashCode(): string;
|
28
28
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPostFilterOperator_GreaterThan.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,IAAI,EACT,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,
|
1
|
+
{"version":3,"file":"QueryBuilderPostFilterOperator_GreaterThan.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,IAAI,EACT,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EAIpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,KAAK,QAAQ,EAGd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AAEtF,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,mCAAmC,CAAC;AAO3C,qBAAa,0CACX,SAAQ,8BACR,YAAW,QAAQ;IAEnB,QAAQ,IAAI,MAAM;IAIlB,oBAAoB,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO;IAczC,8BAA8B,CAC5B,wBAAwB,EAAE,wBAAwB,GACjD,OAAO;IAWV,8BAA8B,CAC5B,wBAAwB,EAAE,wBAAwB,GACjD,kBAAkB;IA4BrB,kCAAkC,CAChC,wBAAwB,EAAE,wBAAwB,EAClD,gBAAgB,EAAE,cAAc,GAAG,SAAS,GAC3C,kBAAkB,GAAG,SAAS;IAcjC,6BAA6B,CAC3B,eAAe,EAAE,2BAA2B,EAC5C,UAAU,EAAE,kBAAkB,GAC7B,wBAAwB,GAAG,SAAS;IAevC,IAAI,QAAQ,IAAI,MAAM,CAIrB;CACF"}
|
@@ -18,7 +18,7 @@ import { guaranteeNonNullable, hashArray, UnsupportedOperationError, } from '@fi
|
|
18
18
|
import { QueryBuilderPostFilterOperator } from '../QueryBuilderPostFilterOperator.js';
|
19
19
|
import { buildPostFilterConditionState } from '../QueryBuilderPostFilterStateBuilder.js';
|
20
20
|
import { isTypeCompatibleForAssignment } from '../../../../QueryBuilderValueSpecificationHelper.js';
|
21
|
-
import {
|
21
|
+
import { buildPostFilterConditionExpressionHelper } from './QueryBuilderPostFilterOperatorValueSpecificationBuilder.js';
|
22
22
|
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../graph/QueryBuilderMetaModelConst.js';
|
23
23
|
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../../../QueryBuilderStateHashUtils.js';
|
24
24
|
import { buildDefaultInstanceValue } from '../../../../shared/ValueSpecificationEditorHelper.js';
|
@@ -61,13 +61,13 @@ export class QueryBuilderPostFilterOperator_GreaterThan extends QueryBuilderPost
|
|
61
61
|
throw new UnsupportedOperationError(`Can't get default value for post-filter operator '${this.getLabel()}' when the LHS property is of type '${propertyType?.path}'`);
|
62
62
|
}
|
63
63
|
}
|
64
|
-
buildPostFilterConditionExpression(postFilterConditionState) {
|
65
|
-
return
|
64
|
+
buildPostFilterConditionExpression(postFilterConditionState, parentExpression) {
|
65
|
+
return buildPostFilterConditionExpressionHelper(postFilterConditionState, this, postFilterConditionState.leftConditionValue.getColumnType() ===
|
66
66
|
PrimitiveType.DATETIME &&
|
67
67
|
postFilterConditionState.rightConditionValue.type !==
|
68
68
|
PrimitiveType.DATETIME
|
69
69
|
? QUERY_BUILDER_SUPPORTED_FUNCTIONS.IS_AFTER_DAY
|
70
|
-
: QUERY_BUILDER_SUPPORTED_FUNCTIONS.GREATER_THAN);
|
70
|
+
: QUERY_BUILDER_SUPPORTED_FUNCTIONS.GREATER_THAN, parentExpression);
|
71
71
|
}
|
72
72
|
buildPostFilterConditionState(postFilterState, expression) {
|
73
73
|
return buildPostFilterConditionState(postFilterState, expression, expression.parametersValues[0] instanceof AbstractPropertyExpression &&
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPostFilterOperator_GreaterThan.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,
|
1
|
+
{"version":3,"file":"QueryBuilderPostFilterOperator_GreaterThan.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAKL,0BAA0B,EAC1B,cAAc,EACd,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,oBAAoB,EAEpB,SAAS,EACT,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,8BAA8B,EAAE,MAAM,sCAAsC,CAAC;AACtF,OAAO,EAAE,6BAA6B,EAAE,MAAM,0CAA0C,CAAC;AAKzF,OAAO,EAAE,6BAA6B,EAAE,MAAM,qDAAqD,CAAC;AACpG,OAAO,EAAE,wCAAwC,EAAE,MAAM,8DAA8D,CAAC;AACxH,OAAO,EAAE,iCAAiC,EAAE,MAAM,oDAAoD,CAAC;AACvG,OAAO,EAAE,kCAAkC,EAAE,MAAM,2CAA2C,CAAC;AAC/F,OAAO,EAAE,yBAAyB,EAAE,MAAM,sDAAsD,CAAC;AAEjG,MAAM,OAAO,0CACX,SAAQ,8BAA8B;IAGtC,QAAQ;QACN,OAAO,GAAG,CAAC;IACb,CAAC;IAED,oBAAoB,CAAC,IAAU;QAC7B,OACE;YACE,cAAc,CAAC,MAAM;YACrB,cAAc,CAAC,OAAO;YACtB,cAAc,CAAC,OAAO;YACtB,cAAc,CAAC,KAAK;YACpB,cAAc,CAAC,IAAI;YACnB,cAAc,CAAC,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,gBAA4C;QAE5C,OAAO,wCAAwC,CAC7C,wBAAwB,EACxB,IAAI,EACJ,wBAAwB,CAAC,kBAAkB,CAAC,aAAa,EAAE;YACzD,aAAa,CAAC,QAAQ;YACtB,wBAAwB,CAAC,mBAAmB,CAAC,IAAI;gBAC/C,aAAa,CAAC,QAAQ;YACxB,CAAC,CAAC,iCAAiC,CAAC,YAAY;YAChD,CAAC,CAAC,iCAAiC,CAAC,YAAY,EAClD,gBAAgB,CACjB,CAAC;IACJ,CAAC;IAED,6BAA6B,CAC3B,eAA4C,EAC5C,UAA8B;QAE9B,OAAO,6BAA6B,CAClC,eAAe,EACf,UAAU,EACV,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC,YAAY,0BAA0B;YAClE,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,KAAK,CAAC,OAAO;iBAChE,IAAI,KAAK,cAAc,CAAC,QAAQ;YACnC,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI;gBAC7D,cAAc,CAAC,QAAQ;YACzB,CAAC,CAAC,iCAAiC,CAAC,YAAY;YAChD,CAAC,CAAC,iCAAiC,CAAC,YAAY,EAClD,IAAI,CACL,CAAC;IACJ,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,iCAAiC;SACrE,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -13,12 +13,12 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { type FunctionExpression, type ValueSpecification } from '@finos/legend-graph';
|
16
|
+
import { type FunctionExpression, type ValueSpecification, type LambdaFunction } from '@finos/legend-graph';
|
17
17
|
import type { PostFilterConditionState, QueryBuilderPostFilterState } from '../QueryBuilderPostFilterState.js';
|
18
18
|
import { QueryBuilderPostFilterOperator_GreaterThan } from './QueryBuilderPostFilterOperator_GreaterThan.js';
|
19
19
|
export declare class QueryBuilderPostFilterOperator_GreaterThanEqual extends QueryBuilderPostFilterOperator_GreaterThan {
|
20
20
|
getLabel(): string;
|
21
|
-
buildPostFilterConditionExpression(postFilterConditionState: PostFilterConditionState): ValueSpecification | undefined;
|
21
|
+
buildPostFilterConditionExpression(postFilterConditionState: PostFilterConditionState, parentExpression: LambdaFunction | undefined): ValueSpecification | undefined;
|
22
22
|
buildPostFilterConditionState(postFilterState: QueryBuilderPostFilterState, expression: FunctionExpression): PostFilterConditionState | undefined;
|
23
23
|
get hashCode(): string;
|
24
24
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,
|
1
|
+
{"version":3,"file":"QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,cAAc,EAIpB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EACV,wBAAwB,EACxB,2BAA2B,EAC5B,MAAM,mCAAmC,CAAC;AAE3C,OAAO,EAAE,0CAA0C,EAAE,MAAM,iDAAiD,CAAC;AAK7G,qBAAa,+CAAgD,SAAQ,0CAA0C;IACpG,QAAQ,IAAI,MAAM;IAIlB,kCAAkC,CACzC,wBAAwB,EAAE,wBAAwB,EAClD,gBAAgB,EAAE,cAAc,GAAG,SAAS,GAC3C,kBAAkB,GAAG,SAAS;IAcxB,6BAA6B,CACpC,eAAe,EAAE,2BAA2B,EAC5C,UAAU,EAAE,kBAAkB,GAC7B,wBAAwB,GAAG,SAAS;IAevC,IAAa,QAAQ,IAAI,MAAM,CAI9B;CACF"}
|