@finos/legend-query-builder 4.14.55 → 4.14.57
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/__lib__/QueryBuilderTesting.d.ts +5 -1
- package/lib/__lib__/QueryBuilderTesting.d.ts.map +1 -1
- package/lib/__lib__/QueryBuilderTesting.js +10 -1
- package/lib/__lib__/QueryBuilderTesting.js.map +1 -1
- package/lib/components/QueryBuilder.js +3 -3
- package/lib/components/QueryBuilder.js.map +1 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts +9 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +1 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.js +10 -8
- package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -1
- package/lib/components/QueryLoader.d.ts.map +1 -1
- package/lib/components/QueryLoader.js +51 -11
- package/lib/components/QueryLoader.js.map +1 -1
- package/lib/components/execution-plan/ExecutionPlanViewer.js +2 -2
- package/lib/components/execution-plan/ExecutionPlanViewer.js.map +1 -1
- package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts +12 -2
- package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts.map +1 -1
- package/lib/components/explorer/QueryBuilderExplorerPanel.js +4 -4
- package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -1
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js +2 -2
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +55 -45
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +2 -2
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js +5 -5
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js +3 -3
- package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
- package/lib/components/result/QueryBuilderResultPanel.js +3 -3
- package/lib/components/result/QueryBuilderResultPanel.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js +2 -2
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.d.ts.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js +7 -6
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +12 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +12 -0
- package/lib/index.js.map +1 -1
- package/lib/package.json +6 -6
- package/lib/stores/QueryLoaderState.d.ts +11 -0
- package/lib/stores/QueryLoaderState.d.ts.map +1 -1
- package/lib/stores/QueryLoaderState.js +15 -3
- package/lib/stores/QueryLoaderState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts +4 -2
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +12 -4
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.d.ts +2 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.d.ts.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.js +15 -0
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.d.ts +3 -2
- package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js +1 -1
- package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js.map +1 -1
- package/package.json +14 -14
- package/src/__lib__/QueryBuilderTesting.ts +10 -1
- package/src/components/QueryBuilder.tsx +5 -5
- package/src/components/QueryBuilderPropertyExpressionEditor.tsx +35 -16
- package/src/components/QueryLoader.tsx +69 -9
- package/src/components/execution-plan/ExecutionPlanViewer.tsx +3 -3
- package/src/components/explorer/QueryBuilderExplorerPanel.tsx +5 -5
- package/src/components/explorer/QueryBuilderFunctionsExplorerPanel.tsx +3 -3
- package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +181 -160
- package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +3 -3
- package/src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx +9 -9
- package/src/components/filter/QueryBuilderFilterPanel.tsx +5 -5
- package/src/components/result/QueryBuilderResultPanel.tsx +5 -5
- package/src/components/result/tds/QueryBuilderTDSGridResult.tsx +2 -2
- package/src/components/result/tds/QueryBuilderTDSSimpleGridResult.tsx +7 -5
- package/src/index.ts +24 -2
- package/src/stores/QueryLoaderState.ts +24 -5
- package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +15 -3
- package/src/stores/filter/QueryBuilderFilterStateBuilder.ts +39 -0
- package/src/stores/filter/QueryBuilderFilterValueSpecificationBuilder.ts +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPostFilterState.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAOL,0BAA0B,EAC1B,aAAa,EACb,uBAAuB,EACvB,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,cAAc,EACd,iBAAiB,EACjB,UAAU,EACV,WAAW,EACX,qBAAqB,EACrB,oBAAoB,EACpB,aAAa,EACb,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3D,IAAI,CAAC,SAAS,CAAC,mBAAmB;gBAChC,sCAAsC;YACxC,IAAI,CAAC,SAAS,CAAC,mBAAmB,CAAC,KAAK,YAAY,aAAa;YACjE,CAAC,oBAAoB,CAAC,IAAI,CAAC,SAAS,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAClE,CAAC;IACJ,CAAC;IAED,IAAI,mCAAmC;QACrC,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,IAAI,CACzC,CAAC,IAAI,EAAE,EAAE,CACP,IAAI,YAAY,2CAA2C;YAC3D,IAAI,CAAC,SAAS,CAAC,kBAAkB;gBAC/B,uCAAuC;YACzC,CAAC,IAAI,CAAC,SAAS,CAAC,kBAAkB,CAAC,uBAAuB,CAAC,OAAO,CACrE,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,0BAA0B,EAC1B,aAAa,EACb,uBAAuB,EACvB,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,cAAc,EACd,iBAAiB,EACjB,UAAU,EACV,WAAW,EACX,qBAAqB,EACrB,oBAAoB,EACpB,aAAa,EACb,iBAAiB,EACjB,IAAI,EACJ,YAAY,EACZ,WAAW,EACX,SAAS,EACT,IAAI,EAEJ,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO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,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,IAAI,CACzC,CAAC,IAAI,EAAE,EAAE,CACP,IAAI,YAAY,2CAA2C;YAC3D,IAAI,CAAC,SAAS,CAAC,mBAAmB;gBAChC,sCAAsC;YACxC,IAAI,CAAC,SAAS,CAAC,mBAAmB,CAAC,KAAK,YAAY,aAAa;YACjE,CAAC,oBAAoB,CAAC,IAAI,CAAC,SAAS,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAClE,CAAC;IACJ,CAAC;IAED,IAAI,mCAAmC;QACrC,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,IAAI,CACzC,CAAC,IAAI,EAAE,EAAE,CACP,IAAI,YAAY,2CAA2C;YAC3D,IAAI,CAAC,SAAS,CAAC,kBAAkB;gBAC/B,uCAAuC;YACzC,CAAC,IAAI,CAAC,SAAS,CAAC,kBAAkB,CAAC,uBAAuB,CAAC,OAAO,CACrE,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"}
|
@@ -13,7 +13,8 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { SimpleFunctionExpression } from '@finos/legend-graph';
|
16
|
+
import { LambdaFunction, SimpleFunctionExpression } from '@finos/legend-graph';
|
17
17
|
import type { QueryBuilderState } from '../QueryBuilderState.js';
|
18
18
|
export declare const processFilterExpression: (expression: SimpleFunctionExpression, queryBuilderState: QueryBuilderState) => void;
|
19
|
+
export declare const processFilterLambda: (lambdaFunc: LambdaFunction, queryBuilderState: QueryBuilderState) => void;
|
19
20
|
//# sourceMappingURL=QueryBuilderFilterStateBuilder.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderFilterStateBuilder.d.ts","sourceRoot":"","sources":["../../../src/stores/filter/QueryBuilderFilterStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,
|
1
|
+
{"version":3,"file":"QueryBuilderFilterStateBuilder.d.ts","sourceRoot":"","sources":["../../../src/stores/filter/QueryBuilderFilterStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,cAAc,EAGd,wBAAwB,EAGzB,MAAM,qBAAqB,CAAC;AAW7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AA6TjE,eAAO,MAAM,uBAAuB,eACtB,wBAAwB,qBACjB,iBAAiB,KACnC,IA4CF,CAAC;AAEF,eAAO,MAAM,mBAAmB,eAClB,cAAc,qBACP,iBAAiB,KACnC,IAkCF,CAAC"}
|
@@ -194,4 +194,19 @@ export const processFilterExpression = (expression, queryBuilderState) => {
|
|
194
194
|
*/
|
195
195
|
filterState.simplifyTree();
|
196
196
|
};
|
197
|
+
export const processFilterLambda = (lambdaFunc, queryBuilderState) => {
|
198
|
+
const filterState = queryBuilderState.filterState;
|
199
|
+
assertTrue(lambdaFunc.expressionSequence.length === 1, `Can't process filter() lambda: only support filter() lambda body with 1 expression`);
|
200
|
+
const rootExpression = guaranteeType(lambdaFunc.expressionSequence[0], SimpleFunctionExpression, `Can't process filter() lambda: only support filter() lambda body with 1 expression`);
|
201
|
+
assertTrue(lambdaFunc.functionType.parameters.length === 1, `Can't process filter() lambda: only support filter() lambda with 1 parameter`);
|
202
|
+
filterState.setLambdaParameterName(guaranteeType(lambdaFunc.functionType.parameters[0], VariableExpression, `Can't process filter() lambda: only support filter() lambda with 1 parameter`).name);
|
203
|
+
processFilterTree(rootExpression, filterState, undefined);
|
204
|
+
/**
|
205
|
+
* NOTE: Since group operations like and/or do not take more than 2 parameters, if there are
|
206
|
+
* more than 2 clauses in each group operations, then these clauses are converted into an
|
207
|
+
* unbalanced tree. However, this would look quite bad for UX, as such, we simplify the tree.
|
208
|
+
* After building the filter state.
|
209
|
+
*/
|
210
|
+
filterState.simplifyTree();
|
211
|
+
};
|
197
212
|
//# sourceMappingURL=QueryBuilderFilterStateBuilder.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderFilterStateBuilder.js","sourceRoot":"","sources":["../../../src/stores/filter/QueryBuilderFilterStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EAC1B,cAAc,EACd,2BAA2B,EAC3B,iBAAiB,EACjB,wBAAwB,EAExB,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,UAAU,EACV,UAAU,EACV,oBAAoB,EACpB,aAAa,EACb,kBAAkB,EAClB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iCAAiC,EAAE,MAAM,2CAA2C,CAAC;AAC9F,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAE1E,OAAO,EAAE,+BAA+B,EAAE,MAAM,4CAA4C,CAAC;AAC7F,OAAO,EAEL,uCAAuC,EACvC,mCAAmC,EACnC,oCAAoC,EACpC,uCAAuC,GACxC,MAAM,8BAA8B,CAAC;AAEtC,MAAM,kCAAkC,GAAG,CACzC,kBAA8C,EAC1B,EAAE;IACtB,IAAI,iBAAiB,GAAuB,kBAAkB,CAAC;IAC/D,OAAO,iBAAiB,YAAY,0BAA0B,EAAE,CAAC;QAC/D,iBAAiB,GAAG,oBAAoB,CACtC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC,CAAC,CACtC,CAAC;QACF,oGAAoG;QACpG,kD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BAAkB,EAClB,8EAA8E,CAC/E,CAAC,IAAI,CACP,CAAC;IAEF,iBAAiB,CAAC,cAAc,EAAE,WAAW,EAAE,SAAS,CAAC,CAAC;IAE1D;;;;;OAKG;IACH,WAAW,CAAC,YAAY,EAAE,CAAC;AAC7B,CAAC,CAAC"}
|
1
|
+
{"version":3,"file":"QueryBuilderFilterStateBuilder.js","sourceRoot":"","sources":["../../../src/stores/filter/QueryBuilderFilterStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EAC1B,cAAc,EACd,2BAA2B,EAC3B,iBAAiB,EACjB,wBAAwB,EAExB,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,UAAU,EACV,UAAU,EACV,oBAAoB,EACpB,aAAa,EACb,kBAAkB,EAClB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iCAAiC,EAAE,MAAM,2CAA2C,CAAC;AAC9F,OAAO,EAAE,gBAAgB,EAAE,MAAM,wCAAwC,CAAC;AAE1E,OAAO,EAAE,+BAA+B,EAAE,MAAM,4CAA4C,CAAC;AAC7F,OAAO,EAEL,uCAAuC,EACvC,mCAAmC,EACnC,oCAAoC,EACpC,uCAAuC,GACxC,MAAM,8BAA8B,CAAC;AAEtC,MAAM,kCAAkC,GAAG,CACzC,kBAA8C,EAC1B,EAAE;IACtB,IAAI,iBAAiB,GAAuB,kBAAkB,CAAC;IAC/D,OAAO,iBAAiB,YAAY,0BAA0B,EAAE,CAAC;QAC/D,iBAAiB,GAAG,oBAAoB,CACtC,iBAAiB,CAAC,gBAAgB,CAAC,CAAC,CAAC,CACtC,CAAC;QACF,oGAAoG;QACpG,kDAAkD;QAClD,OACE,iBAAiB,YAAY,wBAAwB;YACrD,iBAAiB,CACf,iBAAiB,CAAC,YAAY,EAC9B,iCAAiC,CAAC,OAAO,CAC1C,EACD,CAAC;YACD,iBA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ACH,WAAW,CAAC,YAAY,EAAE,CAAC;AAC7B,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CACjC,UAA0B,EAC1B,iBAAoC,EAC9B,EAAE;IACR,MAAM,WAAW,GAAG,iBAAiB,CAAC,WAAW,CAAC;IAElD,UAAU,CACR,UAAU,CAAC,kBAAkB,CAAC,MAAM,KAAK,CAAC,EAC1C,oFAAoF,CACrF,CAAC;IACF,MAAM,cAAc,GAAG,aAAa,CAClC,UAAU,CAAC,kBAAkB,CAAC,CAAC,CAAC,EAChC,wBAAwB,EACxB,oFAAoF,CACrF,CAAC;IAEF,UAAU,CACR,UAAU,CAAC,YAAY,CAAC,UAAU,CAAC,MAAM,KAAK,CAAC,EAC/C,8EAA8E,CAC/E,CAAC;IACF,WAAW,CAAC,sBAAsB,CAChC,aAAa,CACX,UAAU,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC,CAAC,EACrC,kBAAkB,EAClB,8EAA8E,CAC/E,CAAC,IAAI,CACP,CAAC;IAEF,iBAAiB,CAAC,cAAc,EAAE,WAAW,EAAE,SAAS,CAAC,CAAC;IAE1D;;;;;OAKG;IACH,WAAW,CAAC,YAAY,EAAE,CAAC;AAC7B,CAAC,CAAC"}
|
@@ -13,7 +13,8 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { type LambdaFunction } from '@finos/legend-graph';
|
17
|
-
import { type QueryBuilderFilterState } from './QueryBuilderFilterState.js';
|
16
|
+
import { type ValueSpecification, type LambdaFunction } from '@finos/legend-graph';
|
17
|
+
import { type QueryBuilderFilterState, type QueryBuilderFilterTreeNodeData } from './QueryBuilderFilterState.js';
|
18
|
+
export declare const buildFilterConditionExpression: (filterState: QueryBuilderFilterState, node: QueryBuilderFilterTreeNodeData) => ValueSpecification | undefined;
|
18
19
|
export declare const buildFilterExpression: (filterState: QueryBuilderFilterState, lambdaFunction: LambdaFunction) => void;
|
19
20
|
//# sourceMappingURL=QueryBuilderFilterValueSpecificationBuilder.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderFilterValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../../src/stores/filter/QueryBuilderFilterValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAOH,OAAO,
|
1
|
+
{"version":3,"file":"QueryBuilderFilterValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../../src/stores/filter/QueryBuilderFilterValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAOH,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,cAAc,EAGpB,MAAM,qBAAqB,CAAC;AAG7B,OAAO,EACL,KAAK,uBAAuB,EAG5B,KAAK,8BAA8B,EAGpC,MAAM,8BAA8B,CAAC;AAKtC,eAAO,MAAM,8BAA8B,gBAC5B,uBAAuB,QAC9B,8BAA8B,KACnC,kBAAkB,GAAG,SA6IvB,CAAC;AAEF,eAAO,MAAM,qBAAqB,gBACnB,uBAAuB,kBACpB,cAAc,KAC7B,IA4BF,CAAC"}
|
@@ -21,7 +21,7 @@ import { QueryBuilderFilterTreeConditionNodeData, QueryBuilderFilterTreeGroupNod
|
|
21
21
|
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../graph/QueryBuilderMetaModelConst.js';
|
22
22
|
import { DEFAULT_LAMBDA_VARIABLE_NAME } from '../QueryBuilderConfig.js';
|
23
23
|
import { buildPropertyExpressionChain } from '../QueryBuilderValueSpecificationBuilderHelper.js';
|
24
|
-
const buildFilterConditionExpression = (filterState, node) => {
|
24
|
+
export const buildFilterConditionExpression = (filterState, node) => {
|
25
25
|
if (node instanceof QueryBuilderFilterTreeConditionNodeData) {
|
26
26
|
const parentNode = node.parentId
|
27
27
|
? guaranteeType(filterState.nodes.get(node.parentId), QueryBuilderFilterTreeOperationNodeData)
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderFilterValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../src/stores/filter/QueryBuilderFilterValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,aAAa,EACb,oBAAoB,EACpB,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAGL,0BAA0B,EAC1B,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,uCAAuC,EAAE,MAAM,4CAA4C,CAAC;AACrG,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAEL,uCAAuC,EACvC,mCAAmC,EAEnC,oCAAoC,EACpC,uCAAuC,GACxC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,iCAAiC,EAAE,MAAM,2CAA2C,CAAC;AAC9F,OAAO,EAAE,4BAA4B,EAAE,MAAM,0BAA0B,CAAC;AACxE,OAAO,EAAE,4BAA4B,EAAE,MAAM,mDAAmD,CAAC;AAEjG,MAAM,8BAA8B,GAAG,
|
1
|
+
{"version":3,"file":"QueryBuilderFilterValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../src/stores/filter/QueryBuilderFilterValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,aAAa,EACb,oBAAoB,EACpB,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAGL,0BAA0B,EAC1B,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,uCAAuC,EAAE,MAAM,4CAA4C,CAAC;AACrG,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAEL,uCAAuC,EACvC,mCAAmC,EAEnC,oCAAoC,EACpC,uCAAuC,GACxC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,iCAAiC,EAAE,MAAM,2CAA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AC;AACnB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,CACnC,WAAoC,EACpC,cAA8B,EACxB,EAAE;IACR,MAAM,0BAA0B,GAAG,WAAW,CAAC,OAAO;SACnD,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,oBAAoB,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;SAC1D,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,8BAA8B,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC;SAC1D,MAAM,CAAC,aAAa,CAAC,CAAC;IAEzB,IAAI,CAAC,0BAA0B,CAAC,MAAM,EAAE,CAAC;QACvC,OAAO;IACT,CAAC;IACD,yBAAyB;IACzB,MAAM,gBAAgB,GAAG,IAAI,wBAAwB,CACnD,0BAA0B,CAAC,iCAAiC,CAAC,MAAM,CAAC,CACrE,CAAC;IACF,MAAM,iBAAiB,GAAG,oBAAoB,CAC5C,cAAc,CAAC,kBAAkB,CAAC,CAAC,CAAC,CACrC,CAAC;IACF,YAAY;IACZ,gBAAgB,CAAC,gBAAgB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;IAC1D,YAAY;IACZ,gBAAgB,CAAC,gBAAgB,CAAC,IAAI,CACpC,uCAAuC,CACrC,WAAW,CAAC,mBAAmB,EAC/B,0BAA0B,EAC1B,WAAW,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,CACtD,CACF,CAAC;IACF,sCAAsC;IACtC,cAAc,CAAC,kBAAkB,CAAC,CAAC,CAAC,GAAG,gBAAgB,CAAC;AAC1D,CAAC,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-query-builder",
|
3
|
-
"version": "4.14.
|
3
|
+
"version": "4.14.57",
|
4
4
|
"description": "Legend query builder core",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -42,20 +42,20 @@
|
|
42
42
|
"test:watch": "jest --watch"
|
43
43
|
},
|
44
44
|
"dependencies": {
|
45
|
-
"@finos/legend-application": "15.1.
|
46
|
-
"@finos/legend-art": "7.1.
|
47
|
-
"@finos/legend-graph": "31.10.
|
48
|
-
"@finos/legend-lego": "1.2.
|
49
|
-
"@finos/legend-server-depot": "6.0.
|
50
|
-
"@finos/legend-shared": "10.0.
|
51
|
-
"@finos/legend-storage": "3.0.
|
52
|
-
"@testing-library/dom": "10.
|
45
|
+
"@finos/legend-application": "15.1.14",
|
46
|
+
"@finos/legend-art": "7.1.42",
|
47
|
+
"@finos/legend-graph": "31.10.9",
|
48
|
+
"@finos/legend-lego": "1.2.45",
|
49
|
+
"@finos/legend-server-depot": "6.0.49",
|
50
|
+
"@finos/legend-shared": "10.0.44",
|
51
|
+
"@finos/legend-storage": "3.0.94",
|
52
|
+
"@testing-library/dom": "10.3.1",
|
53
53
|
"@testing-library/react": "16.0.0",
|
54
54
|
"@types/react": "18.3.3",
|
55
55
|
"@types/react-dom": "18.3.0",
|
56
56
|
"chart.js": "4.4.3",
|
57
|
-
"mathjs": "13.0.
|
58
|
-
"mobx": "6.
|
57
|
+
"mathjs": "13.0.2",
|
58
|
+
"mobx": "6.13.0",
|
59
59
|
"mobx-react-lite": "4.0.7",
|
60
60
|
"monaco-editor": "0.50.0",
|
61
61
|
"react": "18.3.1",
|
@@ -66,15 +66,15 @@
|
|
66
66
|
"sql-formatter": "15.3.2"
|
67
67
|
},
|
68
68
|
"devDependencies": {
|
69
|
-
"@finos/legend-dev-utils": "2.1.
|
69
|
+
"@finos/legend-dev-utils": "2.1.12",
|
70
70
|
"@jest/globals": "29.7.0",
|
71
71
|
"cross-env": "7.0.3",
|
72
72
|
"eslint": "8.57.0",
|
73
73
|
"jest": "29.7.0",
|
74
74
|
"npm-run-all": "4.1.5",
|
75
|
-
"rimraf": "5.0.
|
75
|
+
"rimraf": "5.0.8",
|
76
76
|
"sass": "1.77.6",
|
77
|
-
"typescript": "5.5.
|
77
|
+
"typescript": "5.5.3"
|
78
78
|
},
|
79
79
|
"peerDependencies": {
|
80
80
|
"react": "^18.0.0"
|
@@ -36,13 +36,22 @@ export enum QUERY_BUILDER_TEST_ID {
|
|
36
36
|
QUERY_BUILDER_FILTER_TREE_CONDITION_NODE_VALUE = 'query-builder-filter-tree__condition-node__value',
|
37
37
|
// post filter
|
38
38
|
QUERY_BUILDER_POST_FILTER_PANEL = 'query__builder__post__filter-panel',
|
39
|
-
|
39
|
+
QUERY_BUILDER_POST_FILTER_TREE = 'query__builder__post__filter__tree',
|
40
|
+
QUERY_BUILDER_POST_FILTER_TREE_NODE_BLOCK = 'query__builder__post__filter__tree__node-block',
|
41
|
+
QUERY_BUILDER_POST_FILTER_TREE_NODE_CHILDREN = 'query__builder__post__filter__tree__node-children',
|
42
|
+
QUERY_BUILDER_POST_FILTER_TREE_NODE_CONTAINER = 'query__builder__post__filter__tree__node-container',
|
43
|
+
QUERY_BUILDER_POST_FILTER_TREE_NODE_CONTENT = 'query__builder__post__filter__tree__node-content',
|
44
|
+
// window function panel
|
40
45
|
QUERY_BUILDER_WINDOW_GROUPBY = 'query__builder__window',
|
46
|
+
// explorer panel
|
41
47
|
QUERY_BUILDER_EXPLORER = 'query__builder__explorer',
|
42
48
|
QUERY_BUILDER_PROPERTY_SEARCH_PANEL = 'query__builder__property__search__panel',
|
43
49
|
QUERY_BUILDER_PERCENTILE_PANEL = 'query__builder__percentile__panel',
|
50
|
+
// parameter panel
|
44
51
|
QUERY_BUILDER_PARAMETERS = 'query-builder__parameters',
|
52
|
+
// constant panel
|
45
53
|
QUERY_BUILDER_CONSTANTS = 'query-builder__constants',
|
54
|
+
// other
|
46
55
|
QUERY_BUILDER_TOOLTIP_ICON = 'query-builder__tooltip__icon',
|
47
56
|
// result panel
|
48
57
|
QUERY_BUILDER_RESULT_VALUES = 'QUERY_BUILDER_RESULT_VALUES',
|
@@ -21,7 +21,7 @@ import {
|
|
21
21
|
ResizablePanel,
|
22
22
|
ResizablePanelSplitter,
|
23
23
|
HackerIcon,
|
24
|
-
|
24
|
+
ControlledDropdownMenu,
|
25
25
|
MenuContent,
|
26
26
|
MenuContentItem,
|
27
27
|
MenuContentItemIcon,
|
@@ -602,7 +602,7 @@ export const QueryBuilder = observer(
|
|
602
602
|
{actionConfig.renderer(queryBuilderState)}
|
603
603
|
</Fragment>
|
604
604
|
))}
|
605
|
-
<
|
605
|
+
<ControlledDropdownMenu
|
606
606
|
className="query-builder__header__advanced-dropdown"
|
607
607
|
title="Show Advanced Menu..."
|
608
608
|
content={
|
@@ -902,8 +902,8 @@ export const QueryBuilder = observer(
|
|
902
902
|
Advanced
|
903
903
|
</div>
|
904
904
|
<CaretDownIcon className="query-builder__header__advanced-dropdown__icon" />
|
905
|
-
</
|
906
|
-
<
|
905
|
+
</ControlledDropdownMenu>
|
906
|
+
<ControlledDropdownMenu
|
907
907
|
className="query-builder__header__advanced-dropdown"
|
908
908
|
content={
|
909
909
|
<MenuContent>
|
@@ -960,7 +960,7 @@ export const QueryBuilder = observer(
|
|
960
960
|
Help...
|
961
961
|
</div>
|
962
962
|
<CaretDownIcon className="query-builder__header__advanced-dropdown__icon" />
|
963
|
-
</
|
963
|
+
</ControlledDropdownMenu>
|
964
964
|
</div>
|
965
965
|
</div>
|
966
966
|
<div className="query-builder__main">
|
@@ -376,10 +376,36 @@ export const QueryBuilderPropertyExpressionEditor = observer(
|
|
376
376
|
},
|
377
377
|
);
|
378
378
|
|
379
|
+
export const QueryBuilderPropertyNameDisplay = observer(
|
380
|
+
(props: {
|
381
|
+
columnName: string;
|
382
|
+
title: string;
|
383
|
+
error?: boolean | undefined;
|
384
|
+
setIsEditingColumnName?: ((isEditing: boolean) => void) | undefined;
|
385
|
+
}) => {
|
386
|
+
const { columnName, title, error, setIsEditingColumnName } = props;
|
387
|
+
return (
|
388
|
+
<div className="query-builder__property__name__display" title={title}>
|
389
|
+
<span
|
390
|
+
className={clsx('query-builder__property__name__display__content', {
|
391
|
+
'query-builder__property__name__display__content--error': error,
|
392
|
+
'editable-value': setIsEditingColumnName,
|
393
|
+
})}
|
394
|
+
onClick={() => {
|
395
|
+
setIsEditingColumnName?.(true);
|
396
|
+
}}
|
397
|
+
>
|
398
|
+
{columnName}
|
399
|
+
</span>
|
400
|
+
</div>
|
401
|
+
);
|
402
|
+
},
|
403
|
+
);
|
404
|
+
|
379
405
|
export const QueryBuilderEditablePropertyName = observer(
|
380
406
|
(props: {
|
381
407
|
columnName: string;
|
382
|
-
setColumnName
|
408
|
+
setColumnName: ((columnName: string) => void) | undefined;
|
383
409
|
error: string | undefined;
|
384
410
|
title: string;
|
385
411
|
defaultColumnName: string;
|
@@ -435,21 +461,14 @@ export const QueryBuilderEditablePropertyName = observer(
|
|
435
461
|
/>
|
436
462
|
</div>
|
437
463
|
) : (
|
438
|
-
<
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
setIsEditingColumnName(true);
|
447
|
-
}
|
448
|
-
}}
|
449
|
-
>
|
450
|
-
{columnName}
|
451
|
-
</span>
|
452
|
-
</div>
|
464
|
+
<QueryBuilderPropertyNameDisplay
|
465
|
+
columnName={columnName}
|
466
|
+
title={title}
|
467
|
+
error={Boolean(error)}
|
468
|
+
setIsEditingColumnName={
|
469
|
+
setColumnName ? setIsEditingColumnName : undefined
|
470
|
+
}
|
471
|
+
/>
|
453
472
|
);
|
454
473
|
},
|
455
474
|
);
|
@@ -26,7 +26,7 @@ import {
|
|
26
26
|
clsx,
|
27
27
|
SearchIcon,
|
28
28
|
TimesIcon,
|
29
|
-
|
29
|
+
ControlledDropdownMenu,
|
30
30
|
MenuContent,
|
31
31
|
MenuContentItem,
|
32
32
|
BlankPanelContent,
|
@@ -40,6 +40,7 @@ import {
|
|
40
40
|
MoreVerticalIcon,
|
41
41
|
ThinChevronRightIcon,
|
42
42
|
InfoCircleIcon,
|
43
|
+
CustomSelectorInput,
|
43
44
|
} from '@finos/legend-art';
|
44
45
|
import type { LightQuery, RawLambda } from '@finos/legend-graph';
|
45
46
|
import {
|
@@ -54,7 +55,9 @@ import { observer } from 'mobx-react-lite';
|
|
54
55
|
import { useRef, useState, useMemo, useEffect } from 'react';
|
55
56
|
import {
|
56
57
|
QUERY_LOADER_TYPEAHEAD_SEARCH_LIMIT,
|
58
|
+
SORT_BY_OPTIONS,
|
57
59
|
type QueryLoaderState,
|
60
|
+
type SortByOption,
|
58
61
|
} from '../stores/QueryLoaderState.js';
|
59
62
|
|
60
63
|
const QueryPreviewViewer = observer(
|
@@ -110,15 +113,49 @@ export const QueryLoader = observer(
|
|
110
113
|
const applicationStore = useApplicationStore();
|
111
114
|
const searchInputRef = useRef<HTMLInputElement>(null);
|
112
115
|
const queryRenameInputRef = useRef<HTMLInputElement>(null);
|
116
|
+
const sortByOptions = Object.values(SORT_BY_OPTIONS).map((op) => ({
|
117
|
+
label: op,
|
118
|
+
value: op,
|
119
|
+
}));
|
113
120
|
const results = queryLoaderState.queries;
|
114
|
-
const curatedTemplateQueries =
|
115
|
-
queryLoaderState.curatedTemplateQuerySepcifications
|
121
|
+
const curatedTemplateQueries = [
|
122
|
+
...queryLoaderState.curatedTemplateQuerySepcifications
|
116
123
|
.map((s) =>
|
117
124
|
queryLoaderState.queryBuilderState
|
118
125
|
? s.getCuratedTemplateQueries(queryLoaderState.queryBuilderState)
|
119
126
|
: [],
|
120
127
|
)
|
121
|
-
.flat()
|
128
|
+
.flat(),
|
129
|
+
].sort((a, b) => a.title.localeCompare(b.title));
|
130
|
+
|
131
|
+
const applySortBy = (queries: LightQuery[], sortBy: string): void => {
|
132
|
+
switch (sortBy) {
|
133
|
+
case SORT_BY_OPTIONS.SORT_BY_CREATE:
|
134
|
+
queries.sort((a, b): number => {
|
135
|
+
const aCreateAt = a.createdAt ?? 0;
|
136
|
+
const bCreateAt = b.createdAt ?? 0;
|
137
|
+
return aCreateAt > bCreateAt ? -1 : 1;
|
138
|
+
});
|
139
|
+
return;
|
140
|
+
case SORT_BY_OPTIONS.SORT_BY_UPDATE:
|
141
|
+
queries.sort((a, b): number => {
|
142
|
+
const aUpdateAt = a.lastUpdatedAt ?? 0;
|
143
|
+
const bUpdateAt = b.lastUpdatedAt ?? 0;
|
144
|
+
return aUpdateAt > bUpdateAt ? -1 : 1;
|
145
|
+
});
|
146
|
+
return;
|
147
|
+
case SORT_BY_OPTIONS.SORT_BY_VIEW:
|
148
|
+
queries.sort((a, b): number => {
|
149
|
+
const aOpenAt = a.lastOpenAt ?? 0;
|
150
|
+
const bOpenAt = b.lastOpenAt ?? 0;
|
151
|
+
return aOpenAt > bOpenAt ? -1 : 1;
|
152
|
+
});
|
153
|
+
return;
|
154
|
+
default:
|
155
|
+
return;
|
156
|
+
}
|
157
|
+
};
|
158
|
+
|
122
159
|
const loadCuratedTemplateQuery =
|
123
160
|
queryLoaderState.curatedTemplateQuerySepcifications
|
124
161
|
// already using an arrow function suggested by @typescript-eslint/unbound-method
|
@@ -254,6 +291,10 @@ export const QueryLoader = observer(
|
|
254
291
|
queryLoaderState.setShowPreviewViewer(true);
|
255
292
|
};
|
256
293
|
|
294
|
+
useEffect(() => {
|
295
|
+
applySortBy(results, queryLoaderState.sortBy);
|
296
|
+
}, [queryLoaderState.sortBy, results]);
|
297
|
+
|
257
298
|
return (
|
258
299
|
<div className="query-loader">
|
259
300
|
<div className="query-loader__header">
|
@@ -355,7 +396,6 @@ export const QueryLoader = observer(
|
|
355
396
|
queryLoaderState.previewQueryState.isInProgress
|
356
397
|
}
|
357
398
|
/>
|
358
|
-
|
359
399
|
<div className="query-loader__results">
|
360
400
|
{queryLoaderState.searchQueriesState.hasCompleted && (
|
361
401
|
<>
|
@@ -392,6 +432,26 @@ export const QueryLoader = observer(
|
|
392
432
|
'matches',
|
393
433
|
)}`
|
394
434
|
)}
|
435
|
+
<div className="query-loader__results__sort-by">
|
436
|
+
<div className="query-loader__results__sort-by__name">
|
437
|
+
Sort By
|
438
|
+
</div>
|
439
|
+
<CustomSelectorInput
|
440
|
+
className="query-loader__results__sort-by__selector"
|
441
|
+
options={sortByOptions}
|
442
|
+
onChange={(option: SortByOption) =>
|
443
|
+
queryLoaderState.setSortBy(option.value)
|
444
|
+
}
|
445
|
+
value={{
|
446
|
+
label: queryLoaderState.sortBy,
|
447
|
+
value: queryLoaderState.sortBy,
|
448
|
+
}}
|
449
|
+
darkMode={
|
450
|
+
!applicationStore.layoutService
|
451
|
+
.TEMPORARY__isLightColorThemeEnabled
|
452
|
+
}
|
453
|
+
/>
|
454
|
+
</div>
|
395
455
|
</div>
|
396
456
|
{!queryLoaderState.isCuratedTemplateToggled &&
|
397
457
|
results
|
@@ -474,7 +534,7 @@ export const QueryLoader = observer(
|
|
474
534
|
</div>
|
475
535
|
</div>
|
476
536
|
</div>
|
477
|
-
<
|
537
|
+
<ControlledDropdownMenu
|
478
538
|
className="query-loader__result__actions-menu"
|
479
539
|
title="More Actions..."
|
480
540
|
content={
|
@@ -518,7 +578,7 @@ export const QueryLoader = observer(
|
|
518
578
|
}}
|
519
579
|
>
|
520
580
|
<MoreVerticalIcon />
|
521
|
-
</
|
581
|
+
</ControlledDropdownMenu>
|
522
582
|
<div className="query-loader__result__arrow">
|
523
583
|
<ThinChevronRightIcon />
|
524
584
|
</div>
|
@@ -555,7 +615,7 @@ export const QueryLoader = observer(
|
|
555
615
|
{templateQuery.description}
|
556
616
|
</div>
|
557
617
|
</div>
|
558
|
-
<
|
618
|
+
<ControlledDropdownMenu
|
559
619
|
className="query-loader__result__actions-menu"
|
560
620
|
title="More Actions..."
|
561
621
|
content={
|
@@ -585,7 +645,7 @@ export const QueryLoader = observer(
|
|
585
645
|
}}
|
586
646
|
>
|
587
647
|
<MoreVerticalIcon />
|
588
|
-
</
|
648
|
+
</ControlledDropdownMenu>
|
589
649
|
<div className="query-loader__result__arrow">
|
590
650
|
<ThinChevronRightIcon />
|
591
651
|
</div>
|
@@ -28,7 +28,7 @@ import {
|
|
28
28
|
ChevronRightIcon,
|
29
29
|
MenuContentItem,
|
30
30
|
MenuContent,
|
31
|
-
|
31
|
+
ControlledDropdownMenu,
|
32
32
|
BlankPanelContent,
|
33
33
|
PanelContent,
|
34
34
|
ModalHeader,
|
@@ -684,7 +684,7 @@ const ExecutionPlanViewPanel = observer(
|
|
684
684
|
{executionPlanState.selectedNode.label}
|
685
685
|
</button>
|
686
686
|
</div>
|
687
|
-
<
|
687
|
+
<ControlledDropdownMenu
|
688
688
|
className="execution-plan-viewer__panel__view-mode__type"
|
689
689
|
title="View as..."
|
690
690
|
content={
|
@@ -717,7 +717,7 @@ const ExecutionPlanViewPanel = observer(
|
|
717
717
|
<div className="execution-plan-viewer__panel__view-mode__type__label">
|
718
718
|
{executionPlanState.viewMode}
|
719
719
|
</div>
|
720
|
-
</
|
720
|
+
</ControlledDropdownMenu>
|
721
721
|
</div>
|
722
722
|
<div className="panel__content execution-plan-viewer__panel__content">
|
723
723
|
{executionPlanState.viewMode === EXECUTION_PLAN_VIEW_MODE.JSON &&
|