@finos/legend-query-builder 0.2.2 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/QueryBuilder.d.ts +0 -1
- package/lib/components/QueryBuilder.d.ts.map +1 -1
- package/lib/components/QueryBuilder.js +42 -9
- package/lib/components/QueryBuilder.js.map +1 -1
- package/lib/components/QueryBuilderComponentTestUtils.d.ts.map +1 -1
- package/lib/components/QueryBuilderComponentTestUtils.js +2 -5
- package/lib/components/QueryBuilderComponentTestUtils.js.map +1 -1
- package/lib/components/QueryBuilderDiffPanel.d.ts +0 -1
- package/lib/components/QueryBuilderDiffPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderDiffPanel.js +2 -2
- package/lib/components/QueryBuilderDiffPanel.js.map +1 -1
- package/lib/components/QueryBuilderParametersPanel.d.ts +0 -1
- package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts +0 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +1 -1
- package/lib/components/QueryBuilderResultPanel.d.ts +0 -1
- package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderResultPanel.js +3 -3
- package/lib/components/QueryBuilderSideBar.d.ts +0 -1
- package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
- package/lib/components/QueryBuilderSideBar.js +2 -1
- package/lib/components/QueryBuilderSideBar.js.map +1 -1
- package/lib/components/QueryBuilderTextEditor.d.ts +0 -1
- package/lib/components/QueryBuilderTextEditor.d.ts.map +1 -1
- package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts +0 -1
- package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts.map +1 -1
- package/lib/components/QueryBuilder_TestID.d.ts +1 -0
- package/lib/components/QueryBuilder_TestID.d.ts.map +1 -1
- package/lib/components/QueryBuilder_TestID.js +1 -0
- package/lib/components/QueryBuilder_TestID.js.map +1 -1
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts +0 -1
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts.map +1 -1
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js +5 -5
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js.map +1 -1
- package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts +0 -1
- package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts.map +1 -1
- package/lib/components/explorer/QueryBuilderMilestoningEditor.js +2 -2
- package/lib/components/explorer/QueryBuilderMilestoningEditor.js.map +1 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts +0 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts +0 -1
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts +0 -1
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderOlapGroupByPanel.d.ts +22 -0
- package/lib/components/fetch-structure/QueryBuilderOlapGroupByPanel.d.ts.map +1 -0
- package/lib/components/fetch-structure/QueryBuilderOlapGroupByPanel.js +363 -0
- package/lib/components/fetch-structure/QueryBuilderOlapGroupByPanel.js.map +1 -0
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts +0 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +21 -53
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.d.ts +22 -0
- package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.d.ts.map +1 -0
- package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.js +32 -0
- package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.js.map +1 -0
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts +0 -1
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +2 -1
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSComponentHelper.d.ts +27 -0
- package/lib/components/fetch-structure/QueryBuilderTDSComponentHelper.d.ts.map +1 -0
- package/lib/components/fetch-structure/QueryBuilderTDSComponentHelper.js +61 -0
- package/lib/components/fetch-structure/QueryBuilderTDSComponentHelper.js.map +1 -0
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts +0 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +4 -13
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts +0 -1
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
- package/lib/components/shared/LambdaEditor.d.ts +0 -1
- package/lib/components/shared/LambdaEditor.d.ts.map +1 -1
- package/lib/components/shared/LambdaEditor.js +23 -7
- package/lib/components/shared/LambdaEditor.js.map +1 -1
- package/lib/components/shared/LambdaParameterValuesEditor.d.ts +0 -1
- package/lib/components/shared/LambdaParameterValuesEditor.d.ts.map +1 -1
- package/lib/components/workflows/ServiceQueryBuilder.d.ts.map +1 -1
- package/lib/components/workflows/ServiceQueryBuilder.js +5 -1
- package/lib/components/workflows/ServiceQueryBuilder.js.map +1 -1
- package/lib/graphManager/QueryBuilderHashUtils.d.ts +14 -0
- package/lib/graphManager/QueryBuilderHashUtils.d.ts.map +1 -1
- package/lib/graphManager/QueryBuilderHashUtils.js +15 -0
- package/lib/graphManager/QueryBuilderHashUtils.js.map +1 -1
- package/lib/graphManager/QueryBuilderSupportedFunctions.d.ts +7 -1
- package/lib/graphManager/QueryBuilderSupportedFunctions.d.ts.map +1 -1
- package/lib/graphManager/QueryBuilderSupportedFunctions.js +7 -0
- package/lib/graphManager/QueryBuilderSupportedFunctions.js.map +1 -1
- package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js +4 -1
- package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js.map +1 -1
- package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts +1 -0
- package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts.map +1 -1
- package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js +50 -0
- package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +6 -6
- package/lib/stores/QueryBuilderStateBuilder.d.ts.map +1 -1
- package/lib/stores/QueryBuilderStateBuilder.js +7 -1
- package/lib/stores/QueryBuilderStateBuilder.js.map +1 -1
- package/lib/stores/QueryBuilderStateTestUtils.d.ts.map +1 -1
- package/lib/stores/QueryBuilderStateTestUtils.js +2 -4
- package/lib/stores/QueryBuilderStateTestUtils.js.map +1 -1
- package/lib/stores/QueryBuilderTypeaheadHelper.js +2 -2
- package/lib/stores/explorer/QueryBuilderExplorerState.js +3 -3
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts +1 -0
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js +3 -0
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +2 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSColumnState_.d.ts +24 -0
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSColumnState_.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSColumnState_.js +20 -0
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSColumnState_.js.map +1 -0
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.d.ts +23 -0
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.js +41 -0
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.js.map +1 -0
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts +11 -0
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +44 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryResultSetModifierState.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/QueryResultSetModifierState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryResultSetModifierState.js +2 -2
- package/lib/stores/fetch-structure/tds/QueryResultSetModifierState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateOperator.js +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.d.ts +4 -4
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js +8 -7
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByOperatorLoader.d.ts +18 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByOperatorLoader.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByOperatorLoader.js +36 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByOperatorLoader.js.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByState.d.ts +91 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByState.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByState.js +272 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByState.js.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByStateBuilder.d.ts +19 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByStateBuilder.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByStateBuilder.js +100 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByStateBuilder.js.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByValueSpecificationBuilder.d.ts +19 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByValueSpecificationBuilder.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByValueSpecificationBuilder.js +83 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByValueSpecificationBuilder.js.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_.d.ts +29 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_.js +30 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_.js.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Average.d.ts +25 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Average.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Average.js +50 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Average.js.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Count.d.ts +25 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Count.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Count.js +51 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Count.js.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Max.d.ts +25 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Max.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Max.js +50 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Max.js.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Min.d.ts +25 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Min.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Min.js +50 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Min.js.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Sum.d.ts +25 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Sum.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Sum.js +51 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Sum.js.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_AverageRank_.d.ts +24 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_AverageRank_.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_AverageRank_.js +48 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_AverageRank_.js.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_DenseRank_.d.ts +24 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_DenseRank_.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_DenseRank_.js +48 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_DenseRank_.js.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_Rank_.d.ts +24 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_Rank_.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_Rank_.js +48 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_Rank_.js.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_RowNumber_.d.ts +24 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_RowNumber_.d.ts.map +1 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_RowNumber_.js +48 -0
- package/lib/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_RowNumber_.js.map +1 -0
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperator.d.ts +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperator.js +2 -2
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts +6 -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 +14 -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 +8 -11
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js +5 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.js +4 -4
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js +3 -3
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js +3 -3
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js +2 -2
- 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.js +3 -3
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js +3 -3
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.d.ts +4 -6
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js +6 -5
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js +1 -0
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.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 +6 -3
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.d.ts +2 -0
- package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.js +6 -0
- package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
- package/package.json +13 -13
- package/src/components/QueryBuilder.tsx +110 -35
- package/src/components/QueryBuilderComponentTestUtils.tsx +9 -11
- package/src/components/QueryBuilderDiffPanel.tsx +2 -2
- package/src/components/QueryBuilderResultPanel.tsx +4 -4
- package/src/components/QueryBuilderSideBar.tsx +4 -1
- package/src/components/QueryBuilder_TestID.ts +1 -0
- package/src/components/explorer/QueryBuilderFunctionsExplorerPanel.tsx +6 -6
- package/src/components/explorer/QueryBuilderMilestoningEditor.tsx +2 -3
- package/src/components/fetch-structure/QueryBuilderOlapGroupByPanel.tsx +1140 -0
- package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +31 -106
- package/src/components/fetch-structure/QueryBuilderPostTDSPanel.tsx +69 -0
- package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +4 -1
- package/src/components/fetch-structure/QueryBuilderTDSComponentHelper.tsx +118 -0
- package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +4 -23
- package/src/components/shared/LambdaEditor.tsx +25 -22
- package/src/components/workflows/ServiceQueryBuilder.tsx +10 -2
- package/src/graphManager/QueryBuilderHashUtils.ts +16 -0
- package/src/graphManager/QueryBuilderSupportedFunctions.ts +7 -0
- package/src/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts +14 -0
- package/src/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts +129 -0
- package/src/stores/QueryBuilderStateBuilder.ts +14 -1
- package/src/stores/QueryBuilderStateTestUtils.ts +9 -13
- package/src/stores/QueryBuilderTypeaheadHelper.ts +2 -2
- package/src/stores/explorer/QueryBuilderExplorerState.ts +3 -3
- package/src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts +4 -0
- package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +2 -1
- package/src/stores/fetch-structure/tds/QueryBuilderTDSColumnState_.ts +28 -0
- package/src/stores/fetch-structure/tds/QueryBuilderTDSHelper.ts +79 -0
- package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +68 -1
- package/src/stores/fetch-structure/tds/QueryResultSetModifierState.ts +2 -2
- package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateOperator.ts +1 -1
- package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.ts +11 -9
- package/src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByOperatorLoader.ts +39 -0
- package/src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByState.ts +377 -0
- package/src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByStateBuilder.ts +237 -0
- package/src/stores/fetch-structure/tds/olapGroupBy/QueryBuilderOlapGroupByValueSpecificationBuilder.ts +148 -0
- package/src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_.ts +43 -0
- package/src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Average.ts +56 -0
- package/src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Count.ts +57 -0
- package/src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Max.ts +56 -0
- package/src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Min.ts +56 -0
- package/src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapOperator_Sum.ts +57 -0
- package/src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_AverageRank_.ts +54 -0
- package/src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_DenseRank_.ts +54 -0
- package/src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_Rank_.ts +54 -0
- package/src/stores/fetch-structure/tds/olapGroupBy/operators/QueryBuilderTDSOlapRankOperator_RowNumber_.ts +54 -0
- package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperator.ts +2 -2
- package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +22 -10
- package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.ts +11 -19
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.ts +8 -7
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.ts +4 -4
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts +1 -1
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts +1 -1
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts +3 -3
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.ts +3 -3
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.ts +1 -1
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.ts +2 -2
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.ts +3 -3
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.ts +3 -3
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.ts +1 -1
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.ts +1 -1
- package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.ts +9 -11
- package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.ts +1 -0
- package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +8 -4
- package/src/stores/filter/QueryBuilderFilterState.ts +7 -0
- package/tsconfig.json +19 -0
@@ -15,6 +15,6 @@
|
|
15
15
|
*/
|
16
16
|
import { type Multiplicity } from '@finos/legend-graph';
|
17
17
|
import { QueryBuilderAggregateColumnState } from '../../aggregation/QueryBuilderAggregationState.js';
|
18
|
-
import {
|
19
|
-
export declare const getColumnMultiplicity: (columnState:
|
18
|
+
import type { QueryBuilderTDSColumnState } from '../../QueryBuilderTDSColumnState_.js';
|
19
|
+
export declare const getColumnMultiplicity: (columnState: QueryBuilderTDSColumnState | QueryBuilderAggregateColumnState) => Multiplicity;
|
20
20
|
//# sourceMappingURL=QueryBuilderPostFilterOperatorHelper.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPostFilterOperatorHelper.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,YAAY,EAElB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,gCAAgC,EAAE,MAAM,mDAAmD,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilderPostFilterOperatorHelper.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,YAAY,EAElB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,gCAAgC,EAAE,MAAM,mDAAmD,CAAC;AAGrG,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAEvF,eAAO,MAAM,qBAAqB,gBACnB,0BAA0B,GAAG,gCAAgC,KACzE,YAiBF,CAAC"}
|
package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js
CHANGED
@@ -16,11 +16,15 @@
|
|
16
16
|
import { TYPICAL_MULTIPLICITY_TYPE, } from '@finos/legend-graph';
|
17
17
|
import { UnsupportedOperationError } from '@finos/legend-shared';
|
18
18
|
import { QueryBuilderAggregateColumnState } from '../../aggregation/QueryBuilderAggregationState.js';
|
19
|
-
import {
|
19
|
+
import { QueryBuilderOlapGroupByColumnState } from '../../olapGroupBy/QueryBuilderOlapGroupByState.js';
|
20
|
+
import { QueryBuilderSimpleProjectionColumnState } from '../../projection/QueryBuilderProjectionColumnState.js';
|
20
21
|
export const getColumnMultiplicity = (columnState) => {
|
21
22
|
if (columnState instanceof QueryBuilderAggregateColumnState) {
|
22
23
|
return columnState.aggregationState.tdsState.queryBuilderState.graphManagerState.graph.getTypicalMultiplicity(TYPICAL_MULTIPLICITY_TYPE.ONE);
|
23
24
|
}
|
25
|
+
else if (columnState instanceof QueryBuilderOlapGroupByColumnState) {
|
26
|
+
return columnState.olapState.tdsState.queryBuilderState.graphManagerState.graph.getTypicalMultiplicity(TYPICAL_MULTIPLICITY_TYPE.ONE);
|
27
|
+
}
|
24
28
|
else if (columnState instanceof QueryBuilderSimpleProjectionColumnState) {
|
25
29
|
return columnState.propertyExpressionState.propertyExpression.func.value
|
26
30
|
.multiplicity;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPostFilterOperatorHelper.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,yBAAyB,GAC1B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,gCAAgC,EAAE,MAAM,mDAAmD,CAAC;AACrG,OAAO,
|
1
|
+
{"version":3,"file":"QueryBuilderPostFilterOperatorHelper.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,yBAAyB,GAC1B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,gCAAgC,EAAE,MAAM,mDAAmD,CAAC;AACrG,OAAO,EAAE,kCAAkC,EAAE,MAAM,mDAAmD,CAAC;AACvG,OAAO,EAAE,uCAAuC,EAAE,MAAM,uDAAuD,CAAC;AAGhH,MAAM,CAAC,MAAM,qBAAqB,GAAG,CACnC,WAA0E,EAC5D,EAAE;IAChB,IAAI,WAAW,YAAY,gCAAgC,EAAE;QAC3D,OAAO,WAAW,CAAC,gBAAgB,CAAC,QAAQ,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,CAAC,sBAAsB,CAC3G,yBAAyB,CAAC,GAAG,CAC9B,CAAC;KACH;SAAM,IAAI,WAAW,YAAY,kCAAkC,EAAE;QACpE,OAAO,WAAW,CAAC,SAAS,CAAC,QAAQ,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,CAAC,sBAAsB,CACpG,yBAAyB,CAAC,GAAG,CAC9B,CAAC;KACH;SAAM,IAAI,WAAW,YAAY,uCAAuC,EAAE;QACzE,OAAO,WAAW,CAAC,uBAAuB,CAAC,kBAAkB,CAAC,IAAI,CAAC,KAAK;aACrE,YAAY,CAAC;KACjB;IACD,MAAM,IAAI,yBAAyB,CACjC,mCAAmC,EACnC,WAAW,CACZ,CAAC;AACJ,CAAC,CAAC"}
|
@@ -33,12 +33,12 @@ operatorFunctionFullPath) => {
|
|
33
33
|
const colState = filterConditionState.columnState;
|
34
34
|
const tdsPropertyExpression = new AbstractPropertyExpression('', multiplicityOne);
|
35
35
|
let tdsDerivedPropertyName;
|
36
|
-
const
|
37
|
-
if (
|
38
|
-
tdsDerivedPropertyName =
|
36
|
+
const correspondingTDSDerivedProperty = operator.getTDSColumnGetter();
|
37
|
+
if (correspondingTDSDerivedProperty) {
|
38
|
+
tdsDerivedPropertyName = correspondingTDSDerivedProperty;
|
39
39
|
}
|
40
40
|
else {
|
41
|
-
const type = guaranteeNonNullable(colState.
|
41
|
+
const type = guaranteeNonNullable(colState.getColumnType());
|
42
42
|
tdsDerivedPropertyName = getTDSColumnDerivedProperyFromType(type);
|
43
43
|
}
|
44
44
|
tdsPropertyExpression.func = PropertyExplicitReference.create(guaranteeNonNullable(getAllClassDerivedProperties(graph.getClass(CORE_PURE_PATH.TDS_ROW)).find((p) => p.name === tdsDerivedPropertyName)));
|
@@ -39,7 +39,7 @@ export class QueryBuilderPostFilterOperator_Contain extends QueryBuilderPostFilt
|
|
39
39
|
return PRIMITIVE_TYPE.STRING === type?.path;
|
40
40
|
}
|
41
41
|
getDefaultFilterConditionValue(postFilterConditionState) {
|
42
|
-
const propertyType = guaranteeNonNullable(postFilterConditionState.columnState.
|
42
|
+
const propertyType = guaranteeNonNullable(postFilterConditionState.columnState.getColumnType());
|
43
43
|
switch (propertyType.path) {
|
44
44
|
case PRIMITIVE_TYPE.STRING: {
|
45
45
|
return buildPrimitiveInstanceValue(postFilterConditionState.postFilterState.tdsState.queryBuilderState
|
@@ -39,7 +39,7 @@ export class QueryBuilderPostFilterOperator_EndWith extends QueryBuilderPostFilt
|
|
39
39
|
return PRIMITIVE_TYPE.STRING === type?.path;
|
40
40
|
}
|
41
41
|
getDefaultFilterConditionValue(postFilterConditionState) {
|
42
|
-
const propertyType = postFilterConditionState.columnState.
|
42
|
+
const propertyType = postFilterConditionState.columnState.getColumnType();
|
43
43
|
switch (propertyType?.path) {
|
44
44
|
case PRIMITIVE_TYPE.STRING: {
|
45
45
|
return buildPrimitiveInstanceValue(postFilterConditionState.postFilterState.tdsState.queryBuilderState
|
package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js
CHANGED
@@ -45,12 +45,12 @@ export class QueryBuilderPostFilterOperator_Equal extends QueryBuilderPostFilter
|
|
45
45
|
isCompatibleWithConditionValue(postFilterConditionState) {
|
46
46
|
const valueSpecification = postFilterConditionState.value;
|
47
47
|
if (valueSpecification) {
|
48
|
-
return isTypeCompatibleForAssignment(getNonCollectionValueSpecificationType(valueSpecification), guaranteeNonNullable(postFilterConditionState.columnState.
|
48
|
+
return isTypeCompatibleForAssignment(getNonCollectionValueSpecificationType(valueSpecification), guaranteeNonNullable(postFilterConditionState.columnState.getColumnType()));
|
49
49
|
}
|
50
50
|
return false;
|
51
51
|
}
|
52
52
|
getDefaultFilterConditionValue(postFilterConditionState) {
|
53
|
-
const propertyType = guaranteeNonNullable(postFilterConditionState.columnState.
|
53
|
+
const propertyType = guaranteeNonNullable(postFilterConditionState.columnState.getColumnType());
|
54
54
|
switch (propertyType.path) {
|
55
55
|
case PRIMITIVE_TYPE.STRING:
|
56
56
|
case PRIMITIVE_TYPE.BOOLEAN:
|
@@ -83,7 +83,7 @@ export class QueryBuilderPostFilterOperator_Equal extends QueryBuilderPostFilter
|
|
83
83
|
}
|
84
84
|
}
|
85
85
|
buildPostFilterConditionExpression(postFilterConditionState) {
|
86
|
-
return buildPostFilterConditionExpression(postFilterConditionState, this, postFilterConditionState.columnState.
|
86
|
+
return buildPostFilterConditionExpression(postFilterConditionState, this, postFilterConditionState.columnState.getColumnType()?.path ===
|
87
87
|
PRIMITIVE_TYPE.DATETIME &&
|
88
88
|
postFilterConditionState.value?.genericType?.value.rawType.path !==
|
89
89
|
PRIMITIVE_TYPE.DATETIME
|
@@ -40,10 +40,10 @@ export class QueryBuilderPostFilterOperator_GreaterThan extends QueryBuilderPost
|
|
40
40
|
isCompatibleWithConditionValue(postFilterConditionState) {
|
41
41
|
return isTypeCompatibleForAssignment(postFilterConditionState.value
|
42
42
|
? getNonCollectionValueSpecificationType(postFilterConditionState.value)
|
43
|
-
: undefined, guaranteeNonNullable(postFilterConditionState.columnState.
|
43
|
+
: undefined, guaranteeNonNullable(postFilterConditionState.columnState.getColumnType()));
|
44
44
|
}
|
45
45
|
getDefaultFilterConditionValue(postFilterConditionState) {
|
46
|
-
const propertyType = postFilterConditionState.columnState.
|
46
|
+
const propertyType = postFilterConditionState.columnState.getColumnType();
|
47
47
|
switch (propertyType?.path) {
|
48
48
|
case PRIMITIVE_TYPE.NUMBER:
|
49
49
|
case PRIMITIVE_TYPE.DECIMAL:
|
@@ -63,7 +63,7 @@ export class QueryBuilderPostFilterOperator_GreaterThan extends QueryBuilderPost
|
|
63
63
|
}
|
64
64
|
}
|
65
65
|
buildPostFilterConditionExpression(postFilterConditionState) {
|
66
|
-
return buildPostFilterConditionExpression(postFilterConditionState, this, postFilterConditionState.columnState.
|
66
|
+
return buildPostFilterConditionExpression(postFilterConditionState, this, postFilterConditionState.columnState.getColumnType()?.path ===
|
67
67
|
PRIMITIVE_TYPE.DATETIME &&
|
68
68
|
postFilterConditionState.value?.genericType?.value.rawType.path !==
|
69
69
|
PRIMITIVE_TYPE.DATETIME
|
@@ -25,7 +25,7 @@ export class QueryBuilderPostFilterOperator_GreaterThanEqual extends QueryBuilde
|
|
25
25
|
return '>=';
|
26
26
|
}
|
27
27
|
buildPostFilterConditionExpression(postFilterConditionState) {
|
28
|
-
return buildPostFilterConditionExpression(postFilterConditionState, this, postFilterConditionState.columnState.
|
28
|
+
return buildPostFilterConditionExpression(postFilterConditionState, this, postFilterConditionState.columnState.getColumnType()?.path ===
|
29
29
|
PRIMITIVE_TYPE.DATETIME &&
|
30
30
|
postFilterConditionState.value?.genericType?.value.rawType.path !==
|
31
31
|
PRIMITIVE_TYPE.DATETIME
|
package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js
CHANGED
@@ -37,7 +37,7 @@ export class QueryBuilderPostFilterOperator_In extends QueryBuilderPostFilterOpe
|
|
37
37
|
type instanceof Enumeration);
|
38
38
|
}
|
39
39
|
isCompatibleWithConditionValue(postFilterConditionState) {
|
40
|
-
const propertyType = guaranteeNonNullable(postFilterConditionState.columnState.
|
40
|
+
const propertyType = guaranteeNonNullable(postFilterConditionState.columnState.getColumnType());
|
41
41
|
const valueSpec = postFilterConditionState.value;
|
42
42
|
if (valueSpec instanceof CollectionInstanceValue) {
|
43
43
|
if (valueSpec.values.length === 0) {
|
@@ -74,7 +74,7 @@ export class QueryBuilderPostFilterOperator_In extends QueryBuilderPostFilterOpe
|
|
74
74
|
}
|
75
75
|
getDefaultFilterConditionValue(postFilterConditionState) {
|
76
76
|
const multiplicityOne = postFilterConditionState.postFilterState.tdsState.queryBuilderState.graphManagerState.graph.getTypicalMultiplicity(TYPICAL_MULTIPLICITY_TYPE.ONE);
|
77
|
-
const propertyType = guaranteeNonNullable(postFilterConditionState.columnState.
|
77
|
+
const propertyType = guaranteeNonNullable(postFilterConditionState.columnState.getColumnType());
|
78
78
|
return new CollectionInstanceValue(multiplicityOne, GenericTypeExplicitReference.create(new GenericType(propertyType)));
|
79
79
|
}
|
80
80
|
buildPostFilterConditionExpression(postFilterConditionState) {
|
@@ -19,7 +19,7 @@ import { type PostFilterConditionState, type QueryBuilderPostFilterState, TDS_CO
|
|
19
19
|
import { type Hashable } from '@finos/legend-shared';
|
20
20
|
export declare class QueryBuilderPostFilterOperator_IsEmpty extends QueryBuilderPostFilterOperator implements Hashable {
|
21
21
|
getLabel(): string;
|
22
|
-
|
22
|
+
getTDSColumnGetter(): TDS_COLUMN_GETTER | undefined;
|
23
23
|
isCompatibleWithType(type: Type): boolean;
|
24
24
|
isCompatibleWithConditionValue(postFilterConditionState: PostFilterConditionState): boolean;
|
25
25
|
isCompatibleWithPostFilterColumn(postFilterState: PostFilterConditionState): boolean;
|
@@ -30,7 +30,7 @@ export declare class QueryBuilderPostFilterOperator_IsEmpty extends QueryBuilder
|
|
30
30
|
}
|
31
31
|
export declare class QueryBuilderPostFilterOperator_IsNotEmpty extends QueryBuilderPostFilterOperator_IsEmpty {
|
32
32
|
getLabel(): string;
|
33
|
-
|
33
|
+
getTDSColumnGetter(): TDS_COLUMN_GETTER | undefined;
|
34
34
|
get hashCode(): string;
|
35
35
|
}
|
36
36
|
//# sourceMappingURL=QueryBuilderPostFilterOperator_IsEmpty.d.ts.map
|
@@ -26,7 +26,7 @@ export class QueryBuilderPostFilterOperator_IsEmpty extends QueryBuilderPostFilt
|
|
26
26
|
getLabel() {
|
27
27
|
return 'is empty';
|
28
28
|
}
|
29
|
-
|
29
|
+
getTDSColumnGetter() {
|
30
30
|
return TDS_COLUMN_GETTER.IS_NULL;
|
31
31
|
}
|
32
32
|
isCompatibleWithType(type) {
|
@@ -37,7 +37,7 @@ export class QueryBuilderPostFilterOperator_IsEmpty extends QueryBuilderPostFilt
|
|
37
37
|
return postFilterConditionState.value === undefined;
|
38
38
|
}
|
39
39
|
isCompatibleWithPostFilterColumn(postFilterState) {
|
40
|
-
const columnType = postFilterState.columnState.
|
40
|
+
const columnType = postFilterState.columnState.getColumnType();
|
41
41
|
if (columnType && this.isCompatibleWithType(columnType)) {
|
42
42
|
if (postFilterState.columnState instanceof
|
43
43
|
QueryBuilderSimpleProjectionColumnState) {
|
@@ -67,7 +67,7 @@ export class QueryBuilderPostFilterOperator_IsNotEmpty extends QueryBuilderPostF
|
|
67
67
|
getLabel() {
|
68
68
|
return `is not empty`;
|
69
69
|
}
|
70
|
-
|
70
|
+
getTDSColumnGetter() {
|
71
71
|
return TDS_COLUMN_GETTER.IS_NOT_NULL;
|
72
72
|
}
|
73
73
|
get hashCode() {
|
@@ -40,10 +40,10 @@ export class QueryBuilderPostFilterOperator_LessThan extends QueryBuilderPostFil
|
|
40
40
|
isCompatibleWithConditionValue(postFilterConditionState) {
|
41
41
|
return isTypeCompatibleForAssignment(postFilterConditionState.value
|
42
42
|
? getNonCollectionValueSpecificationType(postFilterConditionState.value)
|
43
|
-
: undefined, guaranteeNonNullable(postFilterConditionState.columnState.
|
43
|
+
: undefined, guaranteeNonNullable(postFilterConditionState.columnState.getColumnType()));
|
44
44
|
}
|
45
45
|
getDefaultFilterConditionValue(postFilterConditionState) {
|
46
|
-
const propertyType = postFilterConditionState.columnState.
|
46
|
+
const propertyType = postFilterConditionState.columnState.getColumnType();
|
47
47
|
switch (propertyType?.path) {
|
48
48
|
case PRIMITIVE_TYPE.NUMBER:
|
49
49
|
case PRIMITIVE_TYPE.DECIMAL:
|
@@ -63,7 +63,7 @@ export class QueryBuilderPostFilterOperator_LessThan extends QueryBuilderPostFil
|
|
63
63
|
}
|
64
64
|
}
|
65
65
|
buildPostFilterConditionExpression(postFilterConditionState) {
|
66
|
-
return buildPostFilterConditionExpression(postFilterConditionState, this, postFilterConditionState.columnState.
|
66
|
+
return buildPostFilterConditionExpression(postFilterConditionState, this, postFilterConditionState.columnState.getColumnType()?.path ===
|
67
67
|
PRIMITIVE_TYPE.DATETIME &&
|
68
68
|
postFilterConditionState.value?.genericType?.value.rawType.path !==
|
69
69
|
PRIMITIVE_TYPE.DATETIME
|
@@ -25,7 +25,7 @@ export class QueryBuilderPostFilterOperator_LessThanEqual extends QueryBuilderPo
|
|
25
25
|
return '<=';
|
26
26
|
}
|
27
27
|
buildPostFilterConditionExpression(postFilterConditionState) {
|
28
|
-
return buildPostFilterConditionExpression(postFilterConditionState, this, postFilterConditionState.columnState.
|
28
|
+
return buildPostFilterConditionExpression(postFilterConditionState, this, postFilterConditionState.columnState.getColumnType()?.path ===
|
29
29
|
PRIMITIVE_TYPE.DATETIME &&
|
30
30
|
postFilterConditionState.value?.genericType?.value.rawType.path !==
|
31
31
|
PRIMITIVE_TYPE.DATETIME
|
@@ -39,7 +39,7 @@ export class QueryBuilderPostFilterOperator_StartWith extends QueryBuilderPostFi
|
|
39
39
|
return PRIMITIVE_TYPE.STRING === type?.path;
|
40
40
|
}
|
41
41
|
getDefaultFilterConditionValue(postFilterConditionState) {
|
42
|
-
const propertyType = postFilterConditionState.columnState.
|
42
|
+
const propertyType = postFilterConditionState.columnState.getColumnType();
|
43
43
|
switch (propertyType?.path) {
|
44
44
|
case PRIMITIVE_TYPE.STRING: {
|
45
45
|
return buildPrimitiveInstanceValue(postFilterConditionState.postFilterState.tdsState.queryBuilderState
|
@@ -18,20 +18,18 @@ import { type QueryBuilderExplorerTreePropertyNodeData } from '../../../explorer
|
|
18
18
|
import { QueryBuilderPropertyExpressionState } from '../../../QueryBuilderPropertyEditorState.js';
|
19
19
|
import type { QueryBuilderState } from '../../../QueryBuilderState.js';
|
20
20
|
import { type AbstractPropertyExpression, type Type, RawLambda } from '@finos/legend-graph';
|
21
|
+
import { QueryBuilderTDSColumnState } from '../QueryBuilderTDSColumnState_.js';
|
21
22
|
import type { QueryBuilderTDSState } from '../QueryBuilderTDSState.js';
|
22
23
|
import { LambdaEditorState } from '../../../shared/LambdaEditorState.js';
|
23
24
|
export declare const QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE = "PROJECTION_COLUMN";
|
24
25
|
export interface QueryBuilderProjectionColumnDragSource {
|
25
26
|
columnState: QueryBuilderProjectionColumnState;
|
26
27
|
}
|
27
|
-
export declare abstract class QueryBuilderProjectionColumnState implements Hashable {
|
28
|
-
readonly uuid: string;
|
28
|
+
export declare abstract class QueryBuilderProjectionColumnState extends QueryBuilderTDSColumnState implements Hashable {
|
29
29
|
tdsState: QueryBuilderTDSState;
|
30
30
|
columnName: string;
|
31
31
|
constructor(tdsState: QueryBuilderTDSState, columnName: string);
|
32
32
|
setColumnName(val: string): void;
|
33
|
-
abstract getReturnType(): Type | undefined;
|
34
|
-
abstract get hashCode(): string;
|
35
33
|
}
|
36
34
|
export declare class QueryBuilderSimpleProjectionColumnState extends QueryBuilderProjectionColumnState implements Hashable {
|
37
35
|
lambdaParameterName: string;
|
@@ -39,7 +37,7 @@ export declare class QueryBuilderSimpleProjectionColumnState extends QueryBuilde
|
|
39
37
|
constructor(tdsState: QueryBuilderTDSState, propertyExpression: AbstractPropertyExpression, humanizePropertyName: boolean);
|
40
38
|
setLambdaParameterName(val: string): void;
|
41
39
|
changeProperty(node: QueryBuilderExplorerTreePropertyNodeData, humanizePropertyName: boolean): void;
|
42
|
-
|
40
|
+
getColumnType(): Type | undefined;
|
43
41
|
get hashCode(): string;
|
44
42
|
}
|
45
43
|
declare class QueryBuilderDerivationProjectionLambdaState extends LambdaEditorState {
|
@@ -69,7 +67,7 @@ export declare class QueryBuilderDerivationProjectionColumnState extends QueryBu
|
|
69
67
|
* as expected by a projection column
|
70
68
|
*/
|
71
69
|
fetchDerivationLambdaReturnType(): GeneratorFn<void>;
|
72
|
-
|
70
|
+
getColumnType(): Type | undefined;
|
73
71
|
get hashCode(): string;
|
74
72
|
}
|
75
73
|
export {};
|
package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderProjectionColumnState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,WAAW,
|
1
|
+
{"version":3,"file":"QueryBuilderProjectionColumnState.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,WAAW,EAMhB,KAAK,QAAQ,EAEd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,KAAK,wCAAwC,EAE9C,MAAM,gDAAgD,CAAC;AACxD,OAAO,EAEL,mCAAmC,EACpC,MAAM,6CAA6C,CAAC;AACrD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AACvE,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,IAAI,EAUT,SAAS,EAEV,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,0BAA0B,EAAE,MAA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,MAAM,EAAE,OAAO,GAAG,WAAW,CAAC,IAAI,CAAC;CAmCxE;AAED,qBAAa,2CACX,SAAQ,iCACR,YAAW,QAAQ;IAEnB,2BAA2B,EAAE,2CAA2C,CAAC;IACzE,MAAM,EAAE,SAAS,CAAC;IAClB,UAAU,EAAE,IAAI,GAAG,SAAS,CAAC;gBAEjB,QAAQ,EAAE,oBAAoB,EAAE,MAAM,EAAE,SAAS;IAkB7D,SAAS,CAAC,GAAG,EAAE,SAAS,GAAG,IAAI;IAI/B,aAAa,CAAC,GAAG,EAAE,IAAI,GAAG,SAAS,GAAG,IAAI;IAI1C;;;;OAIG;IACF,+BAA+B,IAAI,WAAW,CAAC,IAAI,CAAC;IAyC5C,aAAa,IAAI,IAAI,GAAG,SAAS;IAI1C,IAAI,QAAQ,IAAI,MAAM,CAOrB;CACF"}
|
@@ -14,19 +14,20 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import { action, makeObservable, observable, flow, computed } from 'mobx';
|
17
|
-
import { LogEvent, assertErrorThrown,
|
17
|
+
import { LogEvent, assertErrorThrown, guaranteeNonNullable, assertTrue, assertNonEmptyString, hashArray, } from '@finos/legend-shared';
|
18
18
|
import { buildPropertyExpressionFromExplorerTreeNodeData, } from '../../../explorer/QueryBuilderExplorerState.js';
|
19
19
|
import { getPropertyChainName, QueryBuilderPropertyExpressionState, } from '../../../QueryBuilderPropertyEditorState.js';
|
20
20
|
import { PackageableElementExplicitReference, GRAPH_MANAGER_EVENT, PRIMITIVE_TYPE, buildSourceInformationSourceId, ParserError, TYPICAL_MULTIPLICITY_TYPE, RawVariableExpression, Enumeration, RawLambda, stub_RawLambda, } from '@finos/legend-graph';
|
21
|
+
import { QueryBuilderTDSColumnState } from '../QueryBuilderTDSColumnState_.js';
|
21
22
|
import { DEFAULT_LAMBDA_VARIABLE_NAME, QUERY_BUILDER_SOURCE_ID_LABEL, } from '../../../QueryBuilderConfig.js';
|
22
23
|
import { QUERY_BUILDER_HASH_STRUCTURE } from '../../../../graphManager/QueryBuilderHashUtils.js';
|
23
24
|
import { LambdaEditorState } from '../../../shared/LambdaEditorState.js';
|
24
25
|
export const QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE = 'PROJECTION_COLUMN';
|
25
|
-
export class QueryBuilderProjectionColumnState {
|
26
|
-
uuid = uuid();
|
26
|
+
export class QueryBuilderProjectionColumnState extends QueryBuilderTDSColumnState {
|
27
27
|
tdsState;
|
28
28
|
columnName;
|
29
29
|
constructor(tdsState, columnName) {
|
30
|
+
super();
|
30
31
|
makeObservable(this, {
|
31
32
|
uuid: false,
|
32
33
|
tdsState: false,
|
@@ -62,7 +63,7 @@ export class QueryBuilderSimpleProjectionColumnState extends QueryBuilderProject
|
|
62
63
|
this.propertyExpressionState = new QueryBuilderPropertyExpressionState(this.tdsState.queryBuilderState, buildPropertyExpressionFromExplorerTreeNodeData(node, this.tdsState.queryBuilderState.explorerState));
|
63
64
|
this.columnName = getPropertyChainName(this.propertyExpressionState.propertyExpression, humanizePropertyName);
|
64
65
|
}
|
65
|
-
|
66
|
+
getColumnType() {
|
66
67
|
return this.propertyExpressionState.propertyExpression.func.value
|
67
68
|
.genericType.value.rawType;
|
68
69
|
}
|
@@ -187,7 +188,7 @@ export class QueryBuilderDerivationProjectionColumnState extends QueryBuilderPro
|
|
187
188
|
assertTrue(Object.values(PRIMITIVE_TYPE).includes(resolvedType.path) || resolvedType instanceof Enumeration, 'projection column must have primitive return type');
|
188
189
|
this.setReturnType(resolvedType);
|
189
190
|
}
|
190
|
-
|
191
|
+
getColumnType() {
|
191
192
|
return this.returnType;
|
192
193
|
}
|
193
194
|
get hashCode() {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderProjectionColumnState.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAC1E,OAAO,EAEL,QAAQ,EACR,iBAAiB,EACjB,
|
1
|
+
{"version":3,"file":"QueryBuilderProjectionColumnState.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,UAAU,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AAC1E,OAAO,EAEL,QAAQ,EACR,iBAAiB,EACjB,oBAAoB,EACpB,UAAU,EACV,oBAAoB,EAEpB,SAAS,GACV,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,+CAA+C,GAChD,MAAM,gDAAgD,CAAC;AACxD,OAAO,EACL,oBAAoB,EACpB,mCAAmC,GACpC,MAAM,6CAA6C,CAAC;AAErD,OAAO,EAIL,mCAAmC,EACnC,mBAAmB,EACnB,cAAc,EACd,8BAA8B,EAC9B,WAAW,EACX,yBAAyB,EACzB,qBAAqB,EACrB,WAAW,EACX,SAAS,EACT,cAAc,GACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,0BAA0B,EAAE,MAAM,mCAAmC,CAAC;AAE/E,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,GAC9B,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,4BAA4B,EAAE,MAAM,mDAAmD,CAAC;AACjG,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAEzE,MAAM,CAAC,MAAM,wCAAwC,GAAG,mBAAmB,CAAC;AAM5E,MAAM,OAAgB,iCACpB,SAAQ,0BAA0B;IAGlC,QAAQ,CAAuB;IAC/B,UAAU,CAAS;IAEnB,YAAY,QAA8B,EAAE,UAAkB;QAC5D,KAAK,EAAE,CAAC;QACR,cAAc,CAAC,IAAI,EAAE;YACnB,IAAI,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Aa;QACpB,OAAO,IAAI,CAAC,UAAU,CAAC;IACzB,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,4BAA4B,CAAC,kCAAkC;YAC/D,IAAI,CAAC,UAAU,IAAI,EAAE;YACrB,IAAI,CAAC,MAAM;YACX,IAAI,CAAC,UAAU;SAChB,CAAC,CAAC;IACL,CAAC;CACF"}
|
package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderProjectionStateBuilder.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,mCAAmC,EAExC,0BAA0B,EAK1B,wBAAwB,EAIzB,MAAM,qBAAqB,CAAC;AAY7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAkBvE,eAAO,MAAM,2BAA2B,eAC1B,wBAAwB,qBACjB,iBAAiB,KACnC,IAsEF,CAAC;AAEF,eAAO,MAAM,4CAA4C,eAC3C,0BAA0B,qBACnB,iBAAiB,KACnC,IAgEF,CAAC;AAEF,eAAO,MAAM,wCAAwC,UAC5C,mCAAmC,oBACxB,wBAAwB,qBACvB,iBAAiB,KACnC,IA0BF,CAAC;AAEF,eAAO,MAAM,wBAAwB,eACvB,wBAAwB,qBACjB,iBAAiB,KACnC,IA0CF,CAAC;AAEF,eAAO,MAAM,4BAA4B,eAC3B,wBAAwB,qBACjB,iBAAiB,KACnC,IAsCF,CAAC;AAEF,eAAO,MAAM,wBAAwB,eACvB,wBAAwB,qBACjB,iBAAiB,KACnC,
|
1
|
+
{"version":3,"file":"QueryBuilderProjectionStateBuilder.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,mCAAmC,EAExC,0BAA0B,EAK1B,wBAAwB,EAIzB,MAAM,qBAAqB,CAAC;AAY7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAkBvE,eAAO,MAAM,2BAA2B,eAC1B,wBAAwB,qBACjB,iBAAiB,KACnC,IAsEF,CAAC;AAEF,eAAO,MAAM,4CAA4C,eAC3C,0BAA0B,qBACnB,iBAAiB,KACnC,IAgEF,CAAC;AAEF,eAAO,MAAM,wCAAwC,UAC5C,mCAAmC,oBACxB,wBAAwB,qBACvB,iBAAiB,KACnC,IA0BF,CAAC;AAEF,eAAO,MAAM,wBAAwB,eACvB,wBAAwB,qBACjB,iBAAiB,KACnC,IA0CF,CAAC;AAEF,eAAO,MAAM,4BAA4B,eAC3B,wBAAwB,qBACjB,iBAAiB,KACnC,IAsCF,CAAC;AAEF,eAAO,MAAM,wBAAwB,eACvB,wBAAwB,qBACjB,iBAAiB,KACnC,IA4CF,CAAC;AAEF,eAAO,MAAM,iCAAiC,eAChC,wBAAwB,oBAClB,wBAAwB,GAAG,SAAS,qBACnC,iBAAiB,KACnC,IAgDF,CAAC"}
|
@@ -154,6 +154,7 @@ export const processTDSSortExpression = (expression, queryBuilderState) => {
|
|
154
154
|
QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_PROJECT,
|
155
155
|
QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_GROUP_BY,
|
156
156
|
QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_FILTER,
|
157
|
+
QUERY_BUILDER_SUPPORTED_FUNCTIONS.OLAP_GROUPBY,
|
157
158
|
]), `Can't process sort() expression: only support sort() in TDS expression`);
|
158
159
|
QueryBuilderValueSpecificationProcessor.process(precedingExpression, queryBuilderState);
|
159
160
|
// check sort configuration
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderProjectionStateBuilder.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,0BAA0B,EAC1B,uBAAuB,EACvB,eAAe,EACf,iBAAiB,EACjB,SAAS,EACT,wBAAwB,EACxB,mCAAmC,EACnC,YAAY,EACZ,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,UAAU,EACV,oBAAoB,EACpB,aAAa,EACb,aAAa,EACb,kBAAkB,GAEnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iCAAiC,EAAE,MAAM,4DAA4D,CAAC;AAE/G,OAAO,EAAE,uCAAuC,EAAE,MAAM,sCAAsC,CAAC;AAC/F,OAAO,EACL,sCAAsC,EACtC,sCAAsC,EACtC,+BAA+B,GAChC,MAAM,kDAAkD,CAAC;AAC1D,OAAO,EAAE,8BAA8B,EAAE,MAAM,wDAAwD,CAAC;AACxG,OAAO,EACL,2CAA2C,EAC3C,uCAAuC,GACxC,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EACL,gBAAgB,EAChB,eAAe,GAChB,MAAM,mCAAmC,CAAC;AAE3C,MAAM,CAAC,MAAM,2BAA2B,GAAG,CACzC,UAAoC,EACpC,iBAAoC,EAC9B,EAAE;IACR,yBAAyB;IACzB,iBAAiB,CAAC,mBAAmB,CAAC,oBAAoB,CACxD,8BAA8B,CAAC,sBAAsB,CACtD,CAAC;IAEF,mBAAmB;IACnB,UAAU,CACR,UAAU,CAAC,gBAAgB,CAAC,MAAM,KAAK,CAAC,EACxC,mEAAmE,CACpE,CAAC;IAEF,6BAA6B;IAC7B,MAAM,mBAAmB,GAAG,aAAa,CACvC,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAC9B,wBAAwB,EACxB,gGAAgG,CACjG,CAAC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C,CAAC,QAAQ;QAC1C,iCAAiC,CAAC,WAAW;QAC7C,iCAAiC,CAAC,YAAY;QAC9C,iCAAiC,CAAC,UAAU;KAC7C,CAAC,EACF,gFAAgF,CACjF,CAAC;IACF,uCAAuC,CAAC,OAAO,CAC7C,mBAAmB,EACnB,iBAAiB,CAClB,CAAC;IAEF,cAAc;IACd,IACE,iBAAiB,CAAC,mBAAmB,CAAC,cAAc;QACpD,oBAAoB,EACpB;QACA,MAAM,eAAe,GACnB,iBAAiB,CAAC,mBAAmB,CAAC,cAAc,CAAC;QACvD,eAAe,CAAC,sBAAsB,CAAC,QAAQ,GAAG,IAAI,CAAC;KACxD;AACH,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,wBAAwB,GAAG,CACtC,UAAoC,EACpC,iBAAoC,EAC9B,EAAE;IACR,mBAAmB;IACnB,UAAU,CACR,UAAU,CAAC,gBAAgB,CAAC,MAAM,KAAK,CAAC,EACxC,4DAA4D,CAC7D,CAAC;IAEF,6BAA6B;IAC7B,MAAM,mBAAmB,GAAG,aAAa,CACvC,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAC9B,wBAAwB,EACxB,0FAA0F,CAC3F,CAAC;IACF,UAAU,CACR,iBAAiB,CAAC,mBAAmB,CAAC,YAAY,EAAE;QAClD,iCAAiC,CAAC,QAAQ;QAC1C,iCAAiC,CAAC,YAAY;QAC9C,iCAAiC,CAAC,QAAQ;QAC1C,iCAAiC,CAAC,WAAW;QAC7C,iCAAiC,CAAC,YAAY;QAC9C,iCAAiC,CAAC,UAAU;
|
1
|
+
{"version":3,"file":"QueryBuilderProjectionStateBuilder.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,0BAA0B,EAC1B,uBAAuB,EACvB,eAAe,EACf,iBAAiB,EACjB,SAAS,EACT,wBAAwB,EACxB,mCAAmC,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ificationBuilder.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,cAAc,EAepB,MAAM,qBAAqB,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilderProjectionValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,cAAc,EAepB,MAAM,qBAAqB,CAAC;AAS7B,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AA2IvE,eAAO,MAAM,gBAAgB,aACjB,oBAAoB,kBACd,cAAc,YACpB;IACR;;;OAGG;IACH,wBAAwB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/C,qBAAqB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC7C,KACA,IA4NF,CAAC"}
|
package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js
CHANGED
@@ -15,12 +15,13 @@
|
|
15
15
|
*/
|
16
16
|
import { CollectionInstanceValue, extractElementNameFromPath, GenericType, GenericTypeExplicitReference, PrimitiveInstanceValue, PRIMITIVE_TYPE, SimpleFunctionExpression, TYPICAL_MULTIPLICITY_TYPE, INTERNAL__UnknownValueSpecification, V1_serializeRawValueSpecification, V1_transformRawLambda, V1_GraphTransformerContextBuilder, matchFunctionName, } from '@finos/legend-graph';
|
17
17
|
import { guaranteeNonNullable, UnsupportedOperationError, } from '@finos/legend-shared';
|
18
|
+
import { QueryBuilderDerivationProjectionColumnState, QueryBuilderSimpleProjectionColumnState, } from './QueryBuilderProjectionColumnState.js';
|
19
|
+
import { COLUMN_SORT_TYPE, } from '../QueryResultSetModifierState.js';
|
18
20
|
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../graphManager/QueryBuilderSupportedFunctions.js';
|
19
|
-
import { buildPropertyExpressionChain } from '../../../QueryBuilderValueSpecificationBuilderHelper.js';
|
20
21
|
import { buildGenericLambdaFunctionInstanceValue } from '../../../QueryBuilderValueSpecificationHelper.js';
|
22
|
+
import { buildPropertyExpressionChain } from '../../../QueryBuilderValueSpecificationBuilderHelper.js';
|
23
|
+
import { appendOlapGroupByState } from '../olapGroupBy/QueryBuilderOlapGroupByValueSpecificationBuilder.js';
|
21
24
|
import { appendPostFilter } from '../post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js';
|
22
|
-
import { QueryBuilderDerivationProjectionColumnState, QueryBuilderSimpleProjectionColumnState, } from './QueryBuilderProjectionColumnState.js';
|
23
|
-
import { COLUMN_SORT_TYPE, } from '../QueryResultSetModifierState.js';
|
24
25
|
const buildSortExpression = (sortColumnState) => {
|
25
26
|
const multiplicityOne = sortColumnState.columnState.tdsState.queryBuilderState.graphManagerState.graph.getTypicalMultiplicity(TYPICAL_MULTIPLICITY_TYPE.ONE);
|
26
27
|
const sortColumnFunction = new SimpleFunctionExpression(extractElementNameFromPath(sortColumnState.sortType === COLUMN_SORT_TYPE.ASC
|
@@ -177,6 +178,8 @@ export const appendProjection = (tdsState, lambdaFunction, options) => {
|
|
177
178
|
];
|
178
179
|
lambdaFunction.expressionSequence[0] = projectFunction;
|
179
180
|
}
|
181
|
+
// build olapGroupBy
|
182
|
+
appendOlapGroupByState(tdsState.olapGroupByState, lambdaFunction);
|
180
183
|
// build post-filter
|
181
184
|
appendPostFilter(tdsState.postFilterState, lambdaFunction);
|
182
185
|
// build result set modifiers
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderProjectionValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,uBAAuB,EACvB,0BAA0B,EAC1B,WAAW,EACX,4BAA4B,EAC5B,sBAAsB,EACtB,cAAc,EACd,wBAAwB,EACxB,yBAAyB,EAEzB,mCAAmC,EACnC,iCAAiC,EACjC,qBAAqB,EACrB,iCAAiC,EACjC,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,oBAAoB,EACpB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,
|
1
|
+
{"version":3,"file":"QueryBuilderProjectionValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,uBAAuB,EACvB,0BAA0B,EAC1B,WAAW,EACX,4BAA4B,EAC5B,sBAAsB,EACtB,cAAc,EACd,wBAAwB,EACxB,yBAAyB,EAEzB,mCAAmC,EACnC,iCAAiC,EACjC,qBAAqB,EACrB,iCAAiC,EACjC,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,oBAAoB,EACpB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,2CAA2C,EAC3C,uCAAuC,GACxC,MAAM,wCAAwC,CAAC;AAEhD,OAAO,EACL,gBAAgB,GAGjB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,iCAAiC,EAAE,MAAM,4DAA4D,CAAC;AAC/G,OAAO,EAAE,uCAAuC,EAAE,MAAM,kDAAkD,CAAC;AAC3G,OAAO,EAAE,4BAA4B,EAAE,MAAM,yDAAyD,CAAC;AACvG,OAAO,EAAE,sBAAsB,EAAE,MAAM,oEAAoE,CAAC;AAC5G,OAAO,EAAE,gBAAgB,EAAE,MAAM,mEAAmE,CAAC;AAErG,MAAM,mBAAmB,GAAG,CAC1B,eAAgC,EACN,EAAE;IAC5B,MAAM,eAAe,GACnB,eAAe,CAAC,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C,QAAQ,CAAC,sBAAsB,EAAE,cAAc,EAAE;QACvE,eAAe,EAAE,OAAO,EAAE,wBAAwB;YAChD,CAAC,CAAC,iBAAiB,CAAC,WAAW,CAAC,YAAY;YAC5C,CAAC,CAAC,SAAS;KACd,CAAC,CAAC;AACL,CAAC,CAAC"}
|
@@ -92,9 +92,11 @@ export declare class QueryBuilderFilterState implements TreeData<QueryBuilderFil
|
|
92
92
|
isRearrangingConditions: boolean;
|
93
93
|
operators: QueryBuilderFilterOperator[];
|
94
94
|
private _suppressClickawayEventListener;
|
95
|
+
showPanel: boolean;
|
95
96
|
constructor(queryBuilderState: QueryBuilderState, operators: QueryBuilderFilterOperator[]);
|
96
97
|
get isEmpty(): boolean;
|
97
98
|
setLambdaParameterName(val: string): void;
|
99
|
+
setShowPanel(val: boolean): void;
|
98
100
|
setRearrangingConditions(val: boolean): void;
|
99
101
|
suppressClickawayEventListener(): void;
|
100
102
|
handleClickaway(): void;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderFilterState.d.ts","sourceRoot":"","sources":["../../../src/stores/filter/QueryBuilderFilterState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EACL,KAAK,WAAW,EAWhB,WAAW,EACX,KAAK,QAAQ,EAEd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,0CAA0C,CAAC;AACnG,OAAO,EAAE,mCAAmC,EAAE,MAAM,uCAAuC,CAAC;AAC5F,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,EAEL,KAAK,0BAA0B,EAC/B,KAAK,kBAAkB,EAExB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,KAAK,EAAE,sCAAsC,EAAE,MAAM,wEAAwE,CAAC;AAMrI,OAAO,KAAK,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,EAAE,8BAA8B,EACpC,MAAM,EAAE,8BAA8B,GACrC,OAAO;IAeV,QAAQ,CACN,IAAI,EAAE,8BAA8B,EACpC,MAAM,EAAE,8BAA8B,GACrC,IAAI;IAIP,YAAY,IAAI,IAAI;IAIpB,UAAU,IAAI,IAAI;IAIlB,IAAI,QAAQ,IAAI,MAAM,CAMrB;CACF"}
|
@@ -244,6 +244,7 @@ export class QueryBuilderFilterState {
|
|
244
244
|
isRearrangingConditions = false;
|
245
245
|
operators = [];
|
246
246
|
_suppressClickawayEventListener = false;
|
247
|
+
showPanel = true;
|
247
248
|
constructor(queryBuilderState, operators) {
|
248
249
|
makeObservable(this, {
|
249
250
|
rootIds: observable,
|
@@ -251,6 +252,7 @@ export class QueryBuilderFilterState {
|
|
251
252
|
selectedNode: observable,
|
252
253
|
isRearrangingConditions: observable,
|
253
254
|
lambdaParameterName: observable,
|
255
|
+
showPanel: observable,
|
254
256
|
setLambdaParameterName: action,
|
255
257
|
setRearrangingConditions: action,
|
256
258
|
suppressClickawayEventListener: action,
|
@@ -264,6 +266,7 @@ export class QueryBuilderFilterState {
|
|
264
266
|
pruneTree: action,
|
265
267
|
simplifyTree: action,
|
266
268
|
collapseTree: action,
|
269
|
+
setShowPanel: action,
|
267
270
|
expandTree: action,
|
268
271
|
hashCode: computed,
|
269
272
|
});
|
@@ -276,6 +279,9 @@ export class QueryBuilderFilterState {
|
|
276
279
|
setLambdaParameterName(val) {
|
277
280
|
this.lambdaParameterName = val;
|
278
281
|
}
|
282
|
+
setShowPanel(val) {
|
283
|
+
this.showPanel = val;
|
284
|
+
}
|
279
285
|
setRearrangingConditions(val) {
|
280
286
|
this.isRearrangingConditions = val;
|
281
287
|
}
|