@finos/legend-query-builder 0.2.1 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/QueryBuilder.d.ts +1 -0
- package/lib/components/QueryBuilder.d.ts.map +1 -1
- package/lib/components/QueryBuilder.js +23 -51
- package/lib/components/QueryBuilder.js.map +1 -1
- package/lib/components/QueryBuilderDiffPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderDiffPanel.js +4 -5
- package/lib/components/QueryBuilderDiffPanel.js.map +1 -1
- package/lib/components/QueryBuilderNavigationBlocker.d.ts +22 -0
- package/lib/components/QueryBuilderNavigationBlocker.d.ts.map +1 -0
- package/lib/components/QueryBuilderNavigationBlocker.js +48 -0
- package/lib/components/QueryBuilderNavigationBlocker.js.map +1 -0
- package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderResultPanel.js +19 -19
- package/lib/components/QueryBuilderResultPanel.js.map +1 -1
- package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
- package/lib/components/QueryBuilderSideBar.js +1 -1
- package/lib/components/QueryBuilderSideBar.js.map +1 -1
- package/lib/components/QueryBuilderTextEditor.d.ts.map +1 -1
- package/lib/components/QueryBuilderTextEditor.js +3 -3
- package/lib/components/QueryBuilderTextEditor.js.map +1 -1
- package/lib/components/QueryBuilder_LegendApplicationPlugin.d.ts +23 -0
- package/lib/components/QueryBuilder_LegendApplicationPlugin.d.ts.map +1 -0
- package/lib/components/QueryBuilder_LegendApplicationPlugin.js +31 -0
- package/lib/components/QueryBuilder_LegendApplicationPlugin.js.map +1 -0
- package/lib/components/QueryBuilder_TestID.d.ts +1 -1
- package/lib/components/QueryBuilder_TestID.d.ts.map +1 -1
- package/lib/components/QueryBuilder_TestID.js +1 -1
- package/lib/components/QueryBuilder_TestID.js.map +1 -1
- 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.d.ts.map +1 -1
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js +6 -6
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js +4 -4
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts +2 -2
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +23 -28
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts +2 -2
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +12 -12
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
- package/lib/components/fetch-structure/{QueryBuilderProjectionPanel.d.ts → QueryBuilderTDSPanel.d.ts} +4 -4
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -0
- package/lib/components/fetch-structure/{QueryBuilderProjectionPanel.js → QueryBuilderTDSPanel.js} +37 -38
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -0
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js +3 -3
- package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
- package/lib/components/shared/LambdaEditor.d.ts +1 -11
- package/lib/components/shared/LambdaEditor.d.ts.map +1 -1
- package/lib/components/shared/LambdaEditor.js +23 -63
- package/lib/components/shared/LambdaEditor.js.map +1 -1
- package/lib/components/workflows/ServiceQueryBuilder.d.ts.map +1 -1
- package/lib/components/workflows/ServiceQueryBuilder.js +14 -17
- package/lib/components/workflows/ServiceQueryBuilder.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +6 -4
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +6 -4
- package/lib/index.js.map +1 -1
- package/lib/package.json +6 -7
- package/lib/stores/QueryBuilderChangeDetectionState.js +1 -1
- package/lib/stores/QueryBuilderChangeDetectionState.js.map +1 -1
- package/lib/stores/QueryBuilderCommand.d.ts +21 -0
- package/lib/stores/QueryBuilderCommand.d.ts.map +1 -0
- package/lib/stores/QueryBuilderCommand.js +26 -0
- package/lib/stores/QueryBuilderCommand.js.map +1 -0
- package/lib/stores/QueryBuilderPreviewDataHelper.js +25 -25
- package/lib/stores/QueryBuilderPreviewDataHelper.js.map +1 -1
- package/lib/stores/QueryBuilderState.d.ts +4 -4
- package/lib/stores/QueryBuilderState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderState.js +13 -7
- package/lib/stores/QueryBuilderState.js.map +1 -1
- package/lib/stores/QueryBuilderStateBuilder.js +3 -3
- package/lib/stores/QueryBuilderStateBuilder.js.map +1 -1
- package/lib/stores/QueryBuilderTypeaheadHelper.d.ts +2 -2
- package/lib/stores/QueryBuilderTypeaheadHelper.d.ts.map +1 -1
- package/lib/stores/QueryBuilderTypeaheadHelper.js +14 -14
- package/lib/stores/QueryBuilderTypeaheadHelper.js.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.js +3 -4
- package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts +1 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js +1 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js.map +1 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js +4 -4
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js.map +1 -1
- package/lib/stores/fetch-structure/{projection/QueryBuilderProjectionState.d.ts → tds/QueryBuilderTDSState.d.ts} +4 -4
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -0
- package/lib/stores/fetch-structure/{projection/QueryBuilderProjectionState.js → tds/QueryBuilderTDSState.js} +27 -27
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/QueryResultSetModifierState.d.ts +4 -4
- package/lib/stores/fetch-structure/tds/QueryResultSetModifierState.d.ts.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/QueryResultSetModifierState.js +4 -4
- package/lib/stores/fetch-structure/tds/QueryResultSetModifierState.js.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/aggregation/QueryBuilderAggregateOperator.d.ts +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateOperator.d.ts.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/aggregation/QueryBuilderAggregateOperator.js +2 -2
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateOperator.js.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/aggregation/QueryBuilderAggregateOperatorLoader.d.ts +0 -0
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateOperatorLoader.d.ts.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/aggregation/QueryBuilderAggregateOperatorLoader.js +0 -0
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateOperatorLoader.js.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/aggregation/QueryBuilderAggregationState.d.ts +4 -4
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.d.ts.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/aggregation/QueryBuilderAggregationState.js +5 -5
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/aggregation/QueryBuilderAggregationStateBuilder.d.ts +0 -0
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.d.ts.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/aggregation/QueryBuilderAggregationStateBuilder.js +10 -10
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.js.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.d.ts +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.d.ts.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.js +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.js.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_Average.js +2 -2
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.js.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_Count.js +2 -2
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.js.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_Distinct.d.ts +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Distinct.d.ts.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js +3 -3
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js +3 -3
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_Max.js +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Max.js.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_Min.js +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Min.js.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js +3 -3
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js +3 -3
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_Sum.js +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Sum.js.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/post-filter/QueryBuilderPostFilterOperator.d.ts +0 -0
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperator.d.ts.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/post-filter/QueryBuilderPostFilterOperator.js +0 -0
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperator.js.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/post-filter/QueryBuilderPostFilterOperatorLoader.d.ts +0 -0
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperatorLoader.d.ts.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/post-filter/QueryBuilderPostFilterOperatorLoader.js +0 -0
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperatorLoader.js.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/post-filter/QueryBuilderPostFilterState.d.ts +4 -4
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/post-filter/QueryBuilderPostFilterState.js +10 -12
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/post-filter/QueryBuilderPostFilterStateBuilder.d.ts +0 -0
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.d.ts.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/post-filter/QueryBuilderPostFilterStateBuilder.js +13 -14
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.js.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.d.ts +0 -0
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.d.ts.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js +3 -3
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js +2 -2
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.d.ts +0 -0
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.d.ts.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.js +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.js.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts +0 -0
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js +4 -4
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts +0 -0
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js +4 -4
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts +0 -0
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js +7 -7
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts +0 -0
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js +4 -4
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts +0 -0
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js +0 -0
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts +0 -0
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_In.js +5 -5
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts +0 -0
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts +0 -0
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js +4 -4
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts +0 -0
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js +0 -0
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts +0 -0
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js +4 -4
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds/projection}/QueryBuilderProjectionColumnState.d.ts +9 -9
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.d.ts.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds/projection}/QueryBuilderProjectionColumnState.js +20 -20
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds/projection}/QueryBuilderProjectionStateBuilder.d.ts +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.d.ts.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds/projection}/QueryBuilderProjectionStateBuilder.js +19 -19
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds/projection}/QueryBuilderProjectionValueSpecificationBuilder.d.ts +2 -2
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +1 -0
- package/lib/stores/fetch-structure/{projection → tds/projection}/QueryBuilderProjectionValueSpecificationBuilder.js +28 -28
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -0
- package/lib/stores/filter/QueryBuilderFilterState.d.ts +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts.map +1 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.js +3 -4
- package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
- package/lib/stores/workflows/ServiceQueryBuilderState.d.ts +3 -1
- package/lib/stores/workflows/ServiceQueryBuilderState.d.ts.map +1 -1
- package/lib/stores/workflows/ServiceQueryBuilderState.js +5 -1
- package/lib/stores/workflows/ServiceQueryBuilderState.js.map +1 -1
- package/package.json +13 -14
- package/src/components/QueryBuilder.tsx +96 -168
- package/src/components/QueryBuilderDiffPanel.tsx +3 -4
- package/src/components/QueryBuilderNavigationBlocker.tsx +62 -0
- package/src/components/QueryBuilderResultPanel.tsx +39 -48
- package/src/components/QueryBuilderSideBar.tsx +1 -0
- package/src/components/QueryBuilderTextEditor.tsx +3 -4
- package/src/components/QueryBuilder_LegendApplicationPlugin.ts +44 -0
- package/src/components/QueryBuilder_TestID.ts +1 -1
- package/src/components/explorer/QueryBuilderExplorerPanel.tsx +4 -6
- package/src/components/explorer/QueryBuilderFunctionsExplorerPanel.tsx +8 -10
- package/src/components/fetch-structure/QueryBuilderFetchStructurePanel.tsx +4 -8
- package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +35 -46
- package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +17 -20
- package/src/components/fetch-structure/{QueryBuilderProjectionPanel.tsx → QueryBuilderTDSPanel.tsx} +47 -57
- package/src/components/filter/QueryBuilderFilterPanel.tsx +4 -7
- package/src/components/shared/LambdaEditor.tsx +22 -85
- package/src/components/workflows/ServiceQueryBuilder.tsx +34 -65
- package/src/index.ts +9 -4
- package/src/stores/QueryBuilderChangeDetectionState.ts +1 -1
- package/src/stores/QueryBuilderCommand.ts +28 -0
- package/src/stores/QueryBuilderPreviewDataHelper.ts +28 -28
- package/src/stores/QueryBuilderState.ts +31 -10
- package/src/stores/QueryBuilderStateBuilder.ts +3 -3
- package/src/stores/QueryBuilderTypeaheadHelper.ts +18 -18
- package/src/stores/QueryBuilderValueSpecificationHelper.ts +3 -3
- package/src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts +1 -1
- package/src/stores/fetch-structure/QueryBuilderFetchStructureState.ts +4 -4
- package/src/stores/fetch-structure/{projection/QueryBuilderProjectionState.ts → tds/QueryBuilderTDSState.ts} +32 -27
- package/src/stores/fetch-structure/{projection → tds}/QueryResultSetModifierState.ts +6 -6
- package/src/stores/fetch-structure/{projection → tds}/aggregation/QueryBuilderAggregateOperator.ts +2 -2
- package/src/stores/fetch-structure/{projection → tds}/aggregation/QueryBuilderAggregateOperatorLoader.ts +0 -0
- package/src/stores/fetch-structure/{projection → tds}/aggregation/QueryBuilderAggregationState.ts +10 -10
- package/src/stores/fetch-structure/{projection → tds}/aggregation/QueryBuilderAggregationStateBuilder.ts +10 -12
- package/src/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.ts +2 -2
- package/src/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_Average.ts +2 -2
- package/src/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_Count.ts +2 -2
- package/src/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_Distinct.ts +1 -1
- package/src/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.ts +3 -3
- package/src/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_JoinString.ts +3 -3
- package/src/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_Max.ts +1 -1
- package/src/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_Min.ts +1 -1
- package/src/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.ts +3 -3
- package/src/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.ts +3 -3
- package/src/stores/fetch-structure/{projection → tds}/aggregation/operators/QueryBuilderAggregateOperator_Sum.ts +1 -1
- package/src/stores/fetch-structure/{projection → tds}/post-filter/QueryBuilderPostFilterOperator.ts +0 -0
- package/src/stores/fetch-structure/{projection → tds}/post-filter/QueryBuilderPostFilterOperatorLoader.ts +0 -0
- package/src/stores/fetch-structure/{projection → tds}/post-filter/QueryBuilderPostFilterState.ts +15 -17
- package/src/stores/fetch-structure/{projection → tds}/post-filter/QueryBuilderPostFilterStateBuilder.ts +13 -15
- package/src/stores/fetch-structure/{projection → tds}/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.ts +3 -3
- package/src/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperatorHelper.ts +2 -2
- package/src/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.ts +1 -1
- package/src/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts +4 -4
- package/src/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts +4 -4
- package/src/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts +7 -7
- package/src/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.ts +4 -4
- package/src/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.ts +0 -0
- package/src/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_In.ts +5 -5
- package/src/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.ts +1 -1
- package/src/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.ts +4 -4
- package/src/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.ts +0 -0
- package/src/stores/fetch-structure/{projection → tds}/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.ts +4 -4
- package/src/stores/fetch-structure/{projection → tds/projection}/QueryBuilderProjectionColumnState.ts +23 -27
- package/src/stores/fetch-structure/{projection → tds/projection}/QueryBuilderProjectionStateBuilder.ts +23 -24
- package/src/stores/fetch-structure/{projection → tds/projection}/QueryBuilderProjectionValueSpecificationBuilder.ts +40 -45
- package/src/stores/filter/QueryBuilderFilterState.ts +1 -1
- package/src/stores/shared/ValueSpecificationEditorHelper.ts +3 -4
- package/src/stores/workflows/ServiceQueryBuilderState.ts +6 -0
- package/tsconfig.json +41 -39
- package/lib/components/fetch-structure/QueryBuilderProjectionPanel.d.ts.map +0 -1
- package/lib/components/fetch-structure/QueryBuilderProjectionPanel.js.map +0 -1
- package/lib/components/shared/QueryBuilderLambdaEditor.d.ts +0 -43
- package/lib/components/shared/QueryBuilderLambdaEditor.d.ts.map +0 -1
- package/lib/components/shared/QueryBuilderLambdaEditor.js +0 -48
- package/lib/components/shared/QueryBuilderLambdaEditor.js.map +0 -1
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js.map +0 -1
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.js.map +0 -1
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.js.map +0 -1
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +0 -1
- package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +0 -1
- package/src/components/shared/QueryBuilderLambdaEditor.tsx +0 -120
@@ -72,7 +72,7 @@ import {
|
|
72
72
|
QueryBuilderDerivationProjectionColumnState,
|
73
73
|
QueryBuilderSimpleProjectionColumnState,
|
74
74
|
type QueryBuilderProjectionColumnState,
|
75
|
-
} from './QueryBuilderProjectionColumnState.js';
|
75
|
+
} from './projection/QueryBuilderProjectionColumnState.js';
|
76
76
|
import type { QueryBuilderFetchStructureState } from '../QueryBuilderFetchStructureState.js';
|
77
77
|
import {
|
78
78
|
buildPropertyExpressionFromExplorerTreeNodeData,
|
@@ -85,18 +85,18 @@ import {
|
|
85
85
|
ActionAlertType,
|
86
86
|
} from '@finos/legend-application';
|
87
87
|
import type { LambdaFunctionBuilderOption } from '../../QueryBuilderValueSpecificationBuilderHelper.js';
|
88
|
-
import { appendProjection } from './QueryBuilderProjectionValueSpecificationBuilder.js';
|
88
|
+
import { appendProjection } from './projection/QueryBuilderProjectionValueSpecificationBuilder.js';
|
89
89
|
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../graphManager/QueryBuilderSupportedFunctions.js';
|
90
90
|
import { QUERY_BUILDER_HASH_STRUCTURE } from '../../../graphManager/QueryBuilderHashUtils.js';
|
91
91
|
|
92
|
-
export class
|
92
|
+
export class QueryBuilderTDSState
|
93
93
|
extends QueryBuilderFetchStructureImplementationState
|
94
94
|
implements Hashable
|
95
95
|
{
|
96
96
|
readonly aggregationState: QueryBuilderAggregationState;
|
97
97
|
readonly postFilterState: QueryBuilderPostFilterState;
|
98
98
|
readonly resultSetModifierState: QueryResultSetModifierState;
|
99
|
-
|
99
|
+
projectionColumns: QueryBuilderProjectionColumnState[] = [];
|
100
100
|
isConvertDerivationProjectionObjects = false;
|
101
101
|
showPostFilterPanel = false;
|
102
102
|
|
@@ -112,7 +112,7 @@ export class QueryBuilderProjectionState
|
|
112
112
|
super(queryBuilderState, fetchStructureState);
|
113
113
|
|
114
114
|
makeObservable(this, {
|
115
|
-
|
115
|
+
projectionColumns: observable,
|
116
116
|
isConvertDerivationProjectionObjects: observable,
|
117
117
|
showPostFilterPanel: observable,
|
118
118
|
derivations: computed,
|
@@ -136,11 +136,11 @@ export class QueryBuilderProjectionState
|
|
136
136
|
}
|
137
137
|
|
138
138
|
get type(): string {
|
139
|
-
return FETCH_STRUCTURE_IMPLEMENTATION.
|
139
|
+
return FETCH_STRUCTURE_IMPLEMENTATION.TABULAR_DATA_STRUCTURE;
|
140
140
|
}
|
141
141
|
|
142
142
|
get derivations(): QueryBuilderDerivationProjectionColumnState[] {
|
143
|
-
return this.
|
143
|
+
return this.projectionColumns.filter(
|
144
144
|
filterByType(QueryBuilderDerivationProjectionColumnState),
|
145
145
|
);
|
146
146
|
}
|
@@ -153,7 +153,7 @@ export class QueryBuilderProjectionState
|
|
153
153
|
|
154
154
|
get usedExplorerTreePropertyNodeIDs(): string[] {
|
155
155
|
let nodeIDs: string[] = [];
|
156
|
-
this.
|
156
|
+
this.projectionColumns.forEach((column) => {
|
157
157
|
if (column instanceof QueryBuilderSimpleProjectionColumnState) {
|
158
158
|
let chunks: (string | Class)[] = [];
|
159
159
|
let currentExpression: ValueSpecification =
|
@@ -226,15 +226,15 @@ export class QueryBuilderProjectionState
|
|
226
226
|
}
|
227
227
|
|
228
228
|
get validationIssues(): string[] | undefined {
|
229
|
-
const hasDuplicatedProjectionColumns = this.
|
229
|
+
const hasDuplicatedProjectionColumns = this.projectionColumns.some(
|
230
230
|
(column) =>
|
231
|
-
this.
|
232
|
-
|
231
|
+
this.projectionColumns.filter((c) => c.columnName === column.columnName)
|
232
|
+
.length > 1,
|
233
233
|
);
|
234
234
|
if (hasDuplicatedProjectionColumns) {
|
235
235
|
return ['Query has duplicated projection columns'];
|
236
236
|
}
|
237
|
-
const hasNoProjectionColumns = this.
|
237
|
+
const hasNoProjectionColumns = this.projectionColumns.length === 0;
|
238
238
|
if (hasNoProjectionColumns) {
|
239
239
|
return ['Query has no projection columns'];
|
240
240
|
}
|
@@ -357,11 +357,11 @@ export class QueryBuilderProjectionState
|
|
357
357
|
corresspondingSortColumnState.setColumnState(newVal);
|
358
358
|
}
|
359
359
|
|
360
|
-
changeEntry(this.
|
360
|
+
changeEntry(this.projectionColumns, oldVal, newVal);
|
361
361
|
}
|
362
362
|
|
363
363
|
removeColumn(val: QueryBuilderProjectionColumnState): void {
|
364
|
-
deleteEntry(this.
|
364
|
+
deleteEntry(this.projectionColumns, val);
|
365
365
|
|
366
366
|
// remove aggregation that goes with the projection
|
367
367
|
const existingAggregateColumnState = this.aggregationState.columns.find(
|
@@ -386,11 +386,11 @@ export class QueryBuilderProjectionState
|
|
386
386
|
skipSorting?: boolean | undefined;
|
387
387
|
},
|
388
388
|
): void {
|
389
|
-
addUniqueEntry(this.
|
389
|
+
addUniqueEntry(this.projectionColumns, val);
|
390
390
|
|
391
391
|
if (!options?.skipSorting) {
|
392
392
|
// sort columns: aggregate columns go last
|
393
|
-
this.
|
393
|
+
this.projectionColumns = this.projectionColumns
|
394
394
|
.slice()
|
395
395
|
.sort(
|
396
396
|
(colA, colB) =>
|
@@ -411,18 +411,20 @@ export class QueryBuilderProjectionState
|
|
411
411
|
moveColumn(sourceIndex: number, targetIndex: number): void {
|
412
412
|
if (
|
413
413
|
sourceIndex < 0 ||
|
414
|
-
sourceIndex >= this.
|
414
|
+
sourceIndex >= this.projectionColumns.length ||
|
415
415
|
targetIndex < 0 ||
|
416
|
-
targetIndex >= this.
|
416
|
+
targetIndex >= this.projectionColumns.length
|
417
417
|
) {
|
418
418
|
return;
|
419
419
|
}
|
420
420
|
|
421
|
-
const sourceColumn = guaranteeNonNullable(
|
421
|
+
const sourceColumn = guaranteeNonNullable(
|
422
|
+
this.projectionColumns[sourceIndex],
|
423
|
+
);
|
422
424
|
|
423
425
|
// find last non aggregate column index for computation
|
424
426
|
const lastNonAggregateColumn = findLast(
|
425
|
-
this.
|
427
|
+
this.projectionColumns,
|
426
428
|
(projectionCol) =>
|
427
429
|
!this.aggregationState.columns.find(
|
428
430
|
(column) => column.projectionColumnState === projectionCol,
|
@@ -430,7 +432,7 @@ export class QueryBuilderProjectionState
|
|
430
432
|
);
|
431
433
|
|
432
434
|
const lastNonAggregateColumnIndex = lastNonAggregateColumn
|
433
|
-
? this.
|
435
|
+
? this.projectionColumns.lastIndexOf(lastNonAggregateColumn)
|
434
436
|
: 0;
|
435
437
|
if (
|
436
438
|
this.aggregationState.columns.find(
|
@@ -441,7 +443,10 @@ export class QueryBuilderProjectionState
|
|
441
443
|
// it cannot be moved to before the first aggregate column
|
442
444
|
targetIndex = Math.max(
|
443
445
|
targetIndex,
|
444
|
-
Math.min(
|
446
|
+
Math.min(
|
447
|
+
lastNonAggregateColumnIndex + 1,
|
448
|
+
this.projectionColumns.length - 1,
|
449
|
+
),
|
445
450
|
);
|
446
451
|
} else {
|
447
452
|
// if the column being moved is not an aggregate column,
|
@@ -450,8 +455,8 @@ export class QueryBuilderProjectionState
|
|
450
455
|
}
|
451
456
|
|
452
457
|
// move
|
453
|
-
this.
|
454
|
-
this.
|
458
|
+
this.projectionColumns.splice(sourceIndex, 1);
|
459
|
+
this.projectionColumns.splice(targetIndex, 0, sourceColumn);
|
455
460
|
}
|
456
461
|
|
457
462
|
addNewBlankDerivation(): void {
|
@@ -477,7 +482,7 @@ export class QueryBuilderProjectionState
|
|
477
482
|
elementCoordinates[0] === QUERY_BUILDER_SOURCE_ID_LABEL.QUERY_BUILDER &&
|
478
483
|
elementCoordinates[1] === QUERY_BUILDER_SOURCE_ID_LABEL.PROJECTION
|
479
484
|
) {
|
480
|
-
const derivationProjectionState = this.
|
485
|
+
const derivationProjectionState = this.projectionColumns.find(
|
481
486
|
(projectionColumnState) =>
|
482
487
|
projectionColumnState.uuid === elementCoordinates[2],
|
483
488
|
);
|
@@ -532,7 +537,7 @@ export class QueryBuilderProjectionState
|
|
532
537
|
|
533
538
|
checkBeforeChangingImplementation(onChange: () => void): void {
|
534
539
|
if (
|
535
|
-
this.
|
540
|
+
this.projectionColumns.length > 0
|
536
541
|
// NOTE: here we could potentially check for the presence of post-filter as well
|
537
542
|
// but we make the assumption that if there is no projection column, there should
|
538
543
|
// not be any post-filter at all
|
@@ -567,7 +572,7 @@ export class QueryBuilderProjectionState
|
|
567
572
|
get hashCode(): string {
|
568
573
|
return hashArray([
|
569
574
|
QUERY_BUILDER_HASH_STRUCTURE.PROJECTION_STATE,
|
570
|
-
hashArray(this.
|
575
|
+
hashArray(this.projectionColumns),
|
571
576
|
this.aggregationState,
|
572
577
|
this.postFilterState,
|
573
578
|
this.resultSetModifierState,
|
@@ -15,8 +15,8 @@
|
|
15
15
|
*/
|
16
16
|
|
17
17
|
import { action, computed, makeObservable, observable } from 'mobx';
|
18
|
-
import type {
|
19
|
-
import type { QueryBuilderProjectionColumnState } from './QueryBuilderProjectionColumnState.js';
|
18
|
+
import type { QueryBuilderTDSState } from './QueryBuilderTDSState.js';
|
19
|
+
import type { QueryBuilderProjectionColumnState } from './projection/QueryBuilderProjectionColumnState.js';
|
20
20
|
import {
|
21
21
|
addUniqueEntry,
|
22
22
|
deleteEntry,
|
@@ -64,13 +64,13 @@ export class SortColumnState implements Hashable {
|
|
64
64
|
}
|
65
65
|
|
66
66
|
export class QueryResultSetModifierState implements Hashable {
|
67
|
-
readonly
|
67
|
+
readonly tdsState: QueryBuilderTDSState;
|
68
68
|
showModal = false;
|
69
69
|
limit?: number | undefined;
|
70
70
|
distinct = false;
|
71
71
|
sortColumns: SortColumnState[] = [];
|
72
72
|
|
73
|
-
constructor(
|
73
|
+
constructor(tdsState: QueryBuilderTDSState) {
|
74
74
|
makeObservable(this, {
|
75
75
|
showModal: observable,
|
76
76
|
limit: observable,
|
@@ -85,7 +85,7 @@ export class QueryResultSetModifierState implements Hashable {
|
|
85
85
|
hashCode: computed,
|
86
86
|
});
|
87
87
|
|
88
|
-
this.
|
88
|
+
this.tdsState = tdsState;
|
89
89
|
}
|
90
90
|
|
91
91
|
setShowModal(val: boolean): void {
|
@@ -110,7 +110,7 @@ export class QueryResultSetModifierState implements Hashable {
|
|
110
110
|
|
111
111
|
updateSortColumns(): void {
|
112
112
|
this.sortColumns = this.sortColumns.filter((e) =>
|
113
|
-
this.
|
113
|
+
this.tdsState.projectionColumns.includes(e.columnState),
|
114
114
|
);
|
115
115
|
}
|
116
116
|
|
package/src/stores/fetch-structure/{projection → tds}/aggregation/QueryBuilderAggregateOperator.ts
RENAMED
@@ -30,7 +30,7 @@ import type {
|
|
30
30
|
import {
|
31
31
|
type QueryBuilderProjectionColumnState,
|
32
32
|
QueryBuilderSimpleProjectionColumnState,
|
33
|
-
} from '../QueryBuilderProjectionColumnState.js';
|
33
|
+
} from '../projection/QueryBuilderProjectionColumnState.js';
|
34
34
|
import type { QueryBuilderAggregateColumnState } from './QueryBuilderAggregationState.js';
|
35
35
|
import { computed, makeObservable } from 'mobx';
|
36
36
|
|
@@ -67,7 +67,7 @@ export abstract class QueryBuilderAggregateOperator implements Hashable {
|
|
67
67
|
.propertyExpression
|
68
68
|
: undefined,
|
69
69
|
aggregateColumnState.lambdaParameterName,
|
70
|
-
aggregateColumnState.aggregationState.
|
70
|
+
aggregateColumnState.aggregationState.tdsState.queryBuilderState
|
71
71
|
.graphManagerState.graph,
|
72
72
|
);
|
73
73
|
}
|
File without changes
|
package/src/stores/fetch-structure/{projection → tds}/aggregation/QueryBuilderAggregationState.ts
RENAMED
@@ -24,9 +24,9 @@ import {
|
|
24
24
|
} from '@finos/legend-shared';
|
25
25
|
import type { Type } from '@finos/legend-graph';
|
26
26
|
import { DEFAULT_LAMBDA_VARIABLE_NAME } from '../../../QueryBuilderConfig.js';
|
27
|
-
import type {
|
27
|
+
import type { QueryBuilderTDSState } from '../QueryBuilderTDSState.js';
|
28
28
|
import type { QueryBuilderAggregateOperator } from './QueryBuilderAggregateOperator.js';
|
29
|
-
import type { QueryBuilderProjectionColumnState } from '../QueryBuilderProjectionColumnState.js';
|
29
|
+
import type { QueryBuilderProjectionColumnState } from '../projection/QueryBuilderProjectionColumnState.js';
|
30
30
|
import { QUERY_BUILDER_HASH_STRUCTURE } from '../../../../graphManager/QueryBuilderHashUtils.js';
|
31
31
|
|
32
32
|
export class QueryBuilderAggregateColumnState implements Hashable {
|
@@ -85,12 +85,12 @@ export class QueryBuilderAggregateColumnState implements Hashable {
|
|
85
85
|
}
|
86
86
|
|
87
87
|
export class QueryBuilderAggregationState implements Hashable {
|
88
|
-
readonly
|
88
|
+
readonly tdsState: QueryBuilderTDSState;
|
89
89
|
readonly operators: QueryBuilderAggregateOperator[] = [];
|
90
90
|
columns: QueryBuilderAggregateColumnState[] = [];
|
91
91
|
|
92
92
|
constructor(
|
93
|
-
|
93
|
+
tdsState: QueryBuilderTDSState,
|
94
94
|
operators: QueryBuilderAggregateOperator[],
|
95
95
|
) {
|
96
96
|
makeObservable(this, {
|
@@ -101,7 +101,7 @@ export class QueryBuilderAggregationState implements Hashable {
|
|
101
101
|
hashCode: computed,
|
102
102
|
});
|
103
103
|
|
104
|
-
this.
|
104
|
+
this.tdsState = tdsState;
|
105
105
|
this.operators = operators;
|
106
106
|
}
|
107
107
|
|
@@ -142,17 +142,17 @@ export class QueryBuilderAggregationState implements Hashable {
|
|
142
142
|
// as aggregate column should always be the last one
|
143
143
|
// NOTE: unless we do `olap` aggregation
|
144
144
|
// See https://github.com/finos/legend-studio/issues/253
|
145
|
-
this.
|
146
|
-
this.
|
147
|
-
this.
|
145
|
+
this.tdsState.moveColumn(
|
146
|
+
this.tdsState.projectionColumns.indexOf(projectionColumnState),
|
147
|
+
this.tdsState.projectionColumns.length - 1,
|
148
148
|
);
|
149
149
|
}
|
150
150
|
} else {
|
151
151
|
if (aggregateColumnState) {
|
152
152
|
// automatically move the column to the last position before the aggregate columns
|
153
153
|
// NOTE: `moveColumn` will take care of this placement calculation
|
154
|
-
this.
|
155
|
-
this.
|
154
|
+
this.tdsState.moveColumn(
|
155
|
+
this.tdsState.projectionColumns.indexOf(projectionColumnState),
|
156
156
|
0,
|
157
157
|
);
|
158
158
|
|
@@ -35,7 +35,7 @@ import type { QueryBuilderState } from '../../../QueryBuilderState.js';
|
|
35
35
|
import { QueryBuilderValueSpecificationProcessor } from '../../../QueryBuilderStateBuilder.js';
|
36
36
|
import { extractNullableStringFromInstanceValue } from '../../../QueryBuilderValueSpecificationHelper.js';
|
37
37
|
import { FETCH_STRUCTURE_IMPLEMENTATION } from '../../QueryBuilderFetchStructureImplementationState.js';
|
38
|
-
import {
|
38
|
+
import { QueryBuilderTDSState } from '../QueryBuilderTDSState.js';
|
39
39
|
|
40
40
|
export const processTDSAggregateExpression = (
|
41
41
|
expression: SimpleFunctionExpression,
|
@@ -71,15 +71,14 @@ export const processTDSAggregateExpression = (
|
|
71
71
|
// build state
|
72
72
|
if (
|
73
73
|
queryBuilderState.fetchStructureState.implementation instanceof
|
74
|
-
|
74
|
+
QueryBuilderTDSState
|
75
75
|
) {
|
76
|
-
const
|
77
|
-
|
78
|
-
const aggregationState = projectionState.aggregationState;
|
76
|
+
const tdsState = queryBuilderState.fetchStructureState.implementation;
|
77
|
+
const aggregationState = tdsState.aggregationState;
|
79
78
|
// NOTE: since we process agg() expressions one by one, we know that the current agg()
|
80
79
|
// always correspond to the last column projection state, based on our processing procedure
|
81
80
|
const projectionColumnState = guaranteeNonNullable(
|
82
|
-
|
81
|
+
tdsState.projectionColumns[tdsState.projectionColumns.length - 1],
|
83
82
|
);
|
84
83
|
const aggregateLambda = expression.parametersValues[1];
|
85
84
|
assertType(
|
@@ -139,9 +138,9 @@ export const processTDSGroupByExpression = (
|
|
139
138
|
expression: SimpleFunctionExpression,
|
140
139
|
queryBuilderState: QueryBuilderState,
|
141
140
|
): void => {
|
142
|
-
// update fetch-
|
141
|
+
// update fetch-structureTABULAR_DATA_STRUCTURE
|
143
142
|
queryBuilderState.fetchStructureState.changeImplementation(
|
144
|
-
FETCH_STRUCTURE_IMPLEMENTATION.
|
143
|
+
FETCH_STRUCTURE_IMPLEMENTATION.TABULAR_DATA_STRUCTURE,
|
145
144
|
);
|
146
145
|
|
147
146
|
// check parameters
|
@@ -217,11 +216,10 @@ export const processTDSGroupByExpression = (
|
|
217
216
|
// build state
|
218
217
|
if (
|
219
218
|
queryBuilderState.fetchStructureState.implementation instanceof
|
220
|
-
|
219
|
+
QueryBuilderTDSState
|
221
220
|
) {
|
222
|
-
const
|
223
|
-
|
224
|
-
projectionState.columns.forEach((column, idx) =>
|
221
|
+
const tdsState = queryBuilderState.fetchStructureState.implementation;
|
222
|
+
tdsState.projectionColumns.forEach((column, idx) =>
|
225
223
|
column.setColumnName(aliases[idx] as string),
|
226
224
|
);
|
227
225
|
}
|
@@ -25,7 +25,7 @@ import {
|
|
25
25
|
} from '@finos/legend-graph';
|
26
26
|
import { guaranteeType, assertTrue } from '@finos/legend-shared';
|
27
27
|
import { QueryBuilderAggregateColumnState } from '../QueryBuilderAggregationState.js';
|
28
|
-
import type { QueryBuilderProjectionColumnState } from '../../QueryBuilderProjectionColumnState.js';
|
28
|
+
import type { QueryBuilderProjectionColumnState } from '../../projection/QueryBuilderProjectionColumnState.js';
|
29
29
|
import type { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.js';
|
30
30
|
|
31
31
|
export const buildAggregateExpression = (
|
@@ -55,7 +55,7 @@ export const buildAggregateColumnState = (
|
|
55
55
|
): QueryBuilderAggregateColumnState | undefined => {
|
56
56
|
if (matchFunctionName(expression.functionName, operatorFunctionFullPath)) {
|
57
57
|
const aggregateColumnState = new QueryBuilderAggregateColumnState(
|
58
|
-
projectionColumnState.
|
58
|
+
projectionColumnState.tdsState.aggregationState,
|
59
59
|
projectionColumnState,
|
60
60
|
operator,
|
61
61
|
);
|
@@ -28,7 +28,7 @@ import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.
|
|
28
28
|
import {
|
29
29
|
type QueryBuilderProjectionColumnState,
|
30
30
|
QueryBuilderSimpleProjectionColumnState,
|
31
|
-
} from '../../QueryBuilderProjectionColumnState.js';
|
31
|
+
} from '../../projection/QueryBuilderProjectionColumnState.js';
|
32
32
|
import {
|
33
33
|
buildAggregateColumnState,
|
34
34
|
buildAggregateExpression,
|
@@ -96,7 +96,7 @@ export class QueryBuilderAggregateOperator_Average
|
|
96
96
|
aggregateColumnState: QueryBuilderAggregateColumnState,
|
97
97
|
): Type {
|
98
98
|
const graph =
|
99
|
-
aggregateColumnState.aggregationState.
|
99
|
+
aggregateColumnState.aggregationState.tdsState.queryBuilderState
|
100
100
|
.graphManagerState.graph;
|
101
101
|
return graph.getType(PRIMITIVE_TYPE.FLOAT);
|
102
102
|
}
|
@@ -29,7 +29,7 @@ import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.
|
|
29
29
|
import {
|
30
30
|
type QueryBuilderProjectionColumnState,
|
31
31
|
QueryBuilderSimpleProjectionColumnState,
|
32
|
-
} from '../../QueryBuilderProjectionColumnState.js';
|
32
|
+
} from '../../projection/QueryBuilderProjectionColumnState.js';
|
33
33
|
import {
|
34
34
|
buildAggregateColumnState,
|
35
35
|
buildAggregateExpression,
|
@@ -104,7 +104,7 @@ export class QueryBuilderAggregateOperator_Count
|
|
104
104
|
aggregateColumnState: QueryBuilderAggregateColumnState,
|
105
105
|
): Type {
|
106
106
|
const graph =
|
107
|
-
aggregateColumnState.aggregationState.
|
107
|
+
aggregateColumnState.aggregationState.tdsState.queryBuilderState
|
108
108
|
.graphManagerState.graph;
|
109
109
|
return graph.getType(PRIMITIVE_TYPE.INTEGER);
|
110
110
|
}
|
@@ -28,7 +28,7 @@ import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.
|
|
28
28
|
import {
|
29
29
|
type QueryBuilderProjectionColumnState,
|
30
30
|
QueryBuilderSimpleProjectionColumnState,
|
31
|
-
} from '../../QueryBuilderProjectionColumnState.js';
|
31
|
+
} from '../../projection/QueryBuilderProjectionColumnState.js';
|
32
32
|
import {
|
33
33
|
buildAggregateColumnState,
|
34
34
|
buildAggregateExpression,
|
@@ -38,7 +38,7 @@ import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.
|
|
38
38
|
import {
|
39
39
|
type QueryBuilderProjectionColumnState,
|
40
40
|
QueryBuilderSimpleProjectionColumnState,
|
41
|
-
} from '../../QueryBuilderProjectionColumnState.js';
|
41
|
+
} from '../../projection/QueryBuilderProjectionColumnState.js';
|
42
42
|
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../graphManager/QueryBuilderSupportedFunctions.js';
|
43
43
|
import { QUERY_BUILDER_HASH_STRUCTURE } from '../../../../../graphManager/QueryBuilderHashUtils.js';
|
44
44
|
|
@@ -113,7 +113,7 @@ export class QueryBuilderAggregateOperator_DistinctCount
|
|
113
113
|
)
|
114
114
|
) {
|
115
115
|
const aggregateColumnState = new QueryBuilderAggregateColumnState(
|
116
|
-
projectionColumnState.
|
116
|
+
projectionColumnState.tdsState.aggregationState,
|
117
117
|
projectionColumnState,
|
118
118
|
this,
|
119
119
|
);
|
@@ -175,7 +175,7 @@ export class QueryBuilderAggregateOperator_DistinctCount
|
|
175
175
|
aggregateColumnState: QueryBuilderAggregateColumnState,
|
176
176
|
): Type {
|
177
177
|
const graph =
|
178
|
-
aggregateColumnState.aggregationState.
|
178
|
+
aggregateColumnState.aggregationState.tdsState.queryBuilderState
|
179
179
|
.graphManagerState.graph;
|
180
180
|
return graph.getType(PRIMITIVE_TYPE.INTEGER);
|
181
181
|
}
|
@@ -40,7 +40,7 @@ import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.
|
|
40
40
|
import {
|
41
41
|
type QueryBuilderProjectionColumnState,
|
42
42
|
QueryBuilderSimpleProjectionColumnState,
|
43
|
-
} from '../../QueryBuilderProjectionColumnState.js';
|
43
|
+
} from '../../projection/QueryBuilderProjectionColumnState.js';
|
44
44
|
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../graphManager/QueryBuilderSupportedFunctions.js';
|
45
45
|
import { QUERY_BUILDER_HASH_STRUCTURE } from '../../../../../graphManager/QueryBuilderHashUtils.js';
|
46
46
|
|
@@ -107,7 +107,7 @@ export class QueryBuilderAggregateOperator_JoinString
|
|
107
107
|
)
|
108
108
|
) {
|
109
109
|
const aggregateColumnState = new QueryBuilderAggregateColumnState(
|
110
|
-
projectionColumnState.
|
110
|
+
projectionColumnState.tdsState.aggregationState,
|
111
111
|
projectionColumnState,
|
112
112
|
this,
|
113
113
|
);
|
@@ -157,7 +157,7 @@ export class QueryBuilderAggregateOperator_JoinString
|
|
157
157
|
aggregateColumnState: QueryBuilderAggregateColumnState,
|
158
158
|
): Type {
|
159
159
|
const graph =
|
160
|
-
aggregateColumnState.aggregationState.
|
160
|
+
aggregateColumnState.aggregationState.tdsState.queryBuilderState
|
161
161
|
.graphManagerState.graph;
|
162
162
|
return graph.getType(PRIMITIVE_TYPE.STRING);
|
163
163
|
}
|
@@ -28,7 +28,7 @@ import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.
|
|
28
28
|
import {
|
29
29
|
type QueryBuilderProjectionColumnState,
|
30
30
|
QueryBuilderSimpleProjectionColumnState,
|
31
|
-
} from '../../QueryBuilderProjectionColumnState.js';
|
31
|
+
} from '../../projection/QueryBuilderProjectionColumnState.js';
|
32
32
|
import {
|
33
33
|
buildAggregateColumnState,
|
34
34
|
buildAggregateExpression,
|
@@ -28,7 +28,7 @@ import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.
|
|
28
28
|
import {
|
29
29
|
type QueryBuilderProjectionColumnState,
|
30
30
|
QueryBuilderSimpleProjectionColumnState,
|
31
|
-
} from '../../QueryBuilderProjectionColumnState.js';
|
31
|
+
} from '../../projection/QueryBuilderProjectionColumnState.js';
|
32
32
|
import {
|
33
33
|
buildAggregateColumnState,
|
34
34
|
buildAggregateExpression,
|
@@ -28,7 +28,7 @@ import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.
|
|
28
28
|
import {
|
29
29
|
type QueryBuilderProjectionColumnState,
|
30
30
|
QueryBuilderSimpleProjectionColumnState,
|
31
|
-
} from '../../QueryBuilderProjectionColumnState.js';
|
31
|
+
} from '../../projection/QueryBuilderProjectionColumnState.js';
|
32
32
|
import {
|
33
33
|
buildAggregateColumnState,
|
34
34
|
buildAggregateExpression,
|
@@ -96,8 +96,8 @@ export class QueryBuilderAggregateOperator_StdDev_Population
|
|
96
96
|
aggregateColumnState: QueryBuilderAggregateColumnState,
|
97
97
|
): Type {
|
98
98
|
const graph =
|
99
|
-
aggregateColumnState.projectionColumnState.
|
100
|
-
.
|
99
|
+
aggregateColumnState.projectionColumnState.tdsState.queryBuilderState
|
100
|
+
.graphManagerState.graph;
|
101
101
|
return graph.getType(PRIMITIVE_TYPE.NUMBER);
|
102
102
|
}
|
103
103
|
|
@@ -28,7 +28,7 @@ import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.
|
|
28
28
|
import {
|
29
29
|
type QueryBuilderProjectionColumnState,
|
30
30
|
QueryBuilderSimpleProjectionColumnState,
|
31
|
-
} from '../../QueryBuilderProjectionColumnState.js';
|
31
|
+
} from '../../projection/QueryBuilderProjectionColumnState.js';
|
32
32
|
import {
|
33
33
|
buildAggregateColumnState,
|
34
34
|
buildAggregateExpression,
|
@@ -96,8 +96,8 @@ export class QueryBuilderAggregateOperator_StdDev_Sample
|
|
96
96
|
aggregateColumnState: QueryBuilderAggregateColumnState,
|
97
97
|
): Type {
|
98
98
|
const graph =
|
99
|
-
aggregateColumnState.projectionColumnState.
|
100
|
-
.
|
99
|
+
aggregateColumnState.projectionColumnState.tdsState.queryBuilderState
|
100
|
+
.graphManagerState.graph;
|
101
101
|
return graph.getType(PRIMITIVE_TYPE.NUMBER);
|
102
102
|
}
|
103
103
|
|
@@ -27,7 +27,7 @@ import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.
|
|
27
27
|
import {
|
28
28
|
type QueryBuilderProjectionColumnState,
|
29
29
|
QueryBuilderSimpleProjectionColumnState,
|
30
|
-
} from '../../QueryBuilderProjectionColumnState.js';
|
30
|
+
} from '../../projection/QueryBuilderProjectionColumnState.js';
|
31
31
|
import {
|
32
32
|
buildAggregateColumnState,
|
33
33
|
buildAggregateExpression,
|
package/src/stores/fetch-structure/{projection → tds}/post-filter/QueryBuilderPostFilterOperator.ts
RENAMED
File without changes
|
File without changes
|