@finos/legend-query-builder 0.2.1 → 0.2.2
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 +2 -2
- 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 +2 -4
- 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
@@ -37,24 +37,24 @@ import {
|
|
37
37
|
returnUndefOnError,
|
38
38
|
type PlainObject,
|
39
39
|
} from '@finos/legend-shared';
|
40
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '
|
41
|
-
import type { QueryBuilderState } from '
|
42
|
-
import { QueryBuilderValueSpecificationProcessor } from '
|
40
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../graphManager/QueryBuilderSupportedFunctions.js';
|
41
|
+
import type { QueryBuilderState } from '../../../QueryBuilderState.js';
|
42
|
+
import { QueryBuilderValueSpecificationProcessor } from '../../../QueryBuilderStateBuilder.js';
|
43
43
|
import {
|
44
44
|
extractNullableNumberFromInstanceValue,
|
45
45
|
extractNullableStringFromInstanceValue,
|
46
46
|
validatePropertyExpressionChain,
|
47
|
-
} from '
|
48
|
-
import { FETCH_STRUCTURE_IMPLEMENTATION } from '
|
47
|
+
} from '../../../QueryBuilderValueSpecificationHelper.js';
|
48
|
+
import { FETCH_STRUCTURE_IMPLEMENTATION } from '../../QueryBuilderFetchStructureImplementationState.js';
|
49
49
|
import {
|
50
50
|
QueryBuilderDerivationProjectionColumnState,
|
51
51
|
QueryBuilderSimpleProjectionColumnState,
|
52
52
|
} from './QueryBuilderProjectionColumnState.js';
|
53
|
-
import {
|
53
|
+
import { QueryBuilderTDSState } from '../QueryBuilderTDSState.js';
|
54
54
|
import {
|
55
55
|
COLUMN_SORT_TYPE,
|
56
56
|
SortColumnState,
|
57
|
-
} from '
|
57
|
+
} from '../QueryResultSetModifierState.js';
|
58
58
|
|
59
59
|
export const processTDSProjectExpression = (
|
60
60
|
expression: SimpleFunctionExpression,
|
@@ -62,7 +62,7 @@ export const processTDSProjectExpression = (
|
|
62
62
|
): void => {
|
63
63
|
// update fetch-structure
|
64
64
|
queryBuilderState.fetchStructureState.changeImplementation(
|
65
|
-
FETCH_STRUCTURE_IMPLEMENTATION.
|
65
|
+
FETCH_STRUCTURE_IMPLEMENTATION.TABULAR_DATA_STRUCTURE,
|
66
66
|
);
|
67
67
|
|
68
68
|
// check parameters
|
@@ -122,11 +122,10 @@ export const processTDSProjectExpression = (
|
|
122
122
|
// build state
|
123
123
|
if (
|
124
124
|
queryBuilderState.fetchStructureState.implementation instanceof
|
125
|
-
|
125
|
+
QueryBuilderTDSState
|
126
126
|
) {
|
127
|
-
const
|
128
|
-
|
129
|
-
projectionState.columns.forEach((column, idx) =>
|
127
|
+
const tdsState = queryBuilderState.fetchStructureState.implementation;
|
128
|
+
tdsState.projectionColumns.forEach((column, idx) =>
|
130
129
|
column.setColumnName(aliases[idx] as string),
|
131
130
|
);
|
132
131
|
}
|
@@ -138,10 +137,9 @@ export const processTDSProjectionColumnPropertyExpression = (
|
|
138
137
|
): void => {
|
139
138
|
if (
|
140
139
|
queryBuilderState.fetchStructureState.implementation instanceof
|
141
|
-
|
140
|
+
QueryBuilderTDSState
|
142
141
|
) {
|
143
|
-
const
|
144
|
-
queryBuilderState.fetchStructureState.implementation;
|
142
|
+
const tdsState = queryBuilderState.fetchStructureState.implementation;
|
145
143
|
// NOTE: we do this before creating the projection state, as we will
|
146
144
|
// auto-fill arguments for derived properties when missing as part of building
|
147
145
|
// the property expression state.
|
@@ -187,12 +185,12 @@ export const processTDSProjectionColumnPropertyExpression = (
|
|
187
185
|
);
|
188
186
|
|
189
187
|
const columnState = new QueryBuilderSimpleProjectionColumnState(
|
190
|
-
|
188
|
+
tdsState,
|
191
189
|
expression,
|
192
190
|
false,
|
193
191
|
);
|
194
192
|
|
195
|
-
|
193
|
+
tdsState.addColumn(columnState, { skipSorting: true });
|
196
194
|
|
197
195
|
// NOTE: technically we should set the lambda parameter name when we process
|
198
196
|
// the lambda, not when we process the lambda body like this, but that requires
|
@@ -209,7 +207,7 @@ export const processTDSProjectionDerivationExpression = (
|
|
209
207
|
): void => {
|
210
208
|
if (
|
211
209
|
queryBuilderState.fetchStructureState.implementation instanceof
|
212
|
-
|
210
|
+
QueryBuilderTDSState
|
213
211
|
) {
|
214
212
|
const projectionState =
|
215
213
|
queryBuilderState.fetchStructureState.implementation;
|
@@ -270,7 +268,7 @@ export const processTDSTakeExpression = (
|
|
270
268
|
// build state
|
271
269
|
if (
|
272
270
|
queryBuilderState.fetchStructureState.implementation instanceof
|
273
|
-
|
271
|
+
QueryBuilderTDSState
|
274
272
|
) {
|
275
273
|
const projectionState =
|
276
274
|
queryBuilderState.fetchStructureState.implementation;
|
@@ -316,7 +314,7 @@ export const processTDSDistinctExpression = (
|
|
316
314
|
// build state
|
317
315
|
if (
|
318
316
|
queryBuilderState.fetchStructureState.implementation instanceof
|
319
|
-
|
317
|
+
QueryBuilderTDSState
|
320
318
|
) {
|
321
319
|
const projectionState =
|
322
320
|
queryBuilderState.fetchStructureState.implementation;
|
@@ -400,16 +398,17 @@ export const processTDSSortDirectionExpression = (
|
|
400
398
|
// build state
|
401
399
|
if (
|
402
400
|
queryBuilderState.fetchStructureState.implementation instanceof
|
403
|
-
|
401
|
+
QueryBuilderTDSState
|
404
402
|
) {
|
405
403
|
const projectionState =
|
406
404
|
queryBuilderState.fetchStructureState.implementation;
|
407
405
|
const sortColumnName = extractNullableStringFromInstanceValue(
|
408
406
|
guaranteeNonNullable(expression.parametersValues[0]),
|
409
407
|
);
|
410
|
-
const queryBuilderProjectionColumnState =
|
411
|
-
(
|
412
|
-
|
408
|
+
const queryBuilderProjectionColumnState =
|
409
|
+
projectionState.projectionColumns.find(
|
410
|
+
(e) => e.columnName === sortColumnName,
|
411
|
+
);
|
413
412
|
if (queryBuilderProjectionColumnState) {
|
414
413
|
const sortColumnState = new SortColumnState(
|
415
414
|
queryBuilderProjectionColumnState,
|
@@ -35,26 +35,26 @@ import {
|
|
35
35
|
guaranteeNonNullable,
|
36
36
|
UnsupportedOperationError,
|
37
37
|
} from '@finos/legend-shared';
|
38
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '
|
39
|
-
import { buildPropertyExpressionChain } from '
|
40
|
-
import { buildGenericLambdaFunctionInstanceValue } from '
|
41
|
-
import { appendPostFilter } from '
|
38
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../graphManager/QueryBuilderSupportedFunctions.js';
|
39
|
+
import { buildPropertyExpressionChain } from '../../../QueryBuilderValueSpecificationBuilderHelper.js';
|
40
|
+
import { buildGenericLambdaFunctionInstanceValue } from '../../../QueryBuilderValueSpecificationHelper.js';
|
41
|
+
import { appendPostFilter } from '../post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js';
|
42
42
|
import {
|
43
43
|
QueryBuilderDerivationProjectionColumnState,
|
44
44
|
QueryBuilderSimpleProjectionColumnState,
|
45
45
|
} from './QueryBuilderProjectionColumnState.js';
|
46
|
-
import type {
|
46
|
+
import type { QueryBuilderTDSState } from '../QueryBuilderTDSState.js';
|
47
47
|
import {
|
48
48
|
COLUMN_SORT_TYPE,
|
49
49
|
type QueryResultSetModifierState,
|
50
50
|
type SortColumnState,
|
51
|
-
} from '
|
51
|
+
} from '../QueryResultSetModifierState.js';
|
52
52
|
|
53
53
|
const buildSortExpression = (
|
54
54
|
sortColumnState: SortColumnState,
|
55
55
|
): SimpleFunctionExpression => {
|
56
56
|
const multiplicityOne =
|
57
|
-
sortColumnState.columnState.
|
57
|
+
sortColumnState.columnState.tdsState.queryBuilderState.graphManagerState.graph.getTypicalMultiplicity(
|
58
58
|
TYPICAL_MULTIPLICITY_TYPE.ONE,
|
59
59
|
);
|
60
60
|
const sortColumnFunction = new SimpleFunctionExpression(
|
@@ -68,7 +68,7 @@ const buildSortExpression = (
|
|
68
68
|
const sortColumnName = new PrimitiveInstanceValue(
|
69
69
|
GenericTypeExplicitReference.create(
|
70
70
|
new GenericType(
|
71
|
-
sortColumnState.columnState.
|
71
|
+
sortColumnState.columnState.tdsState.queryBuilderState.graphManagerState.graph.getPrimitiveType(
|
72
72
|
PRIMITIVE_TYPE.STRING,
|
73
73
|
),
|
74
74
|
),
|
@@ -90,7 +90,7 @@ const appendResultSetModifier = (
|
|
90
90
|
| undefined,
|
91
91
|
): LambdaFunction => {
|
92
92
|
const multiplicityOne =
|
93
|
-
resultModifierState.
|
93
|
+
resultModifierState.tdsState.queryBuilderState.graphManagerState.graph.getTypicalMultiplicity(
|
94
94
|
TYPICAL_MULTIPLICITY_TYPE.ONE,
|
95
95
|
);
|
96
96
|
if (lambdaFunction.expressionSequence.length === 1) {
|
@@ -126,7 +126,7 @@ const appendResultSetModifier = (
|
|
126
126
|
multiplicityOne,
|
127
127
|
);
|
128
128
|
const multiplicity =
|
129
|
-
resultModifierState.
|
129
|
+
resultModifierState.tdsState.queryBuilderState.graphManagerState.graph.getMultiplicity(
|
130
130
|
resultModifierState.sortColumns.length,
|
131
131
|
resultModifierState.sortColumns.length,
|
132
132
|
);
|
@@ -146,7 +146,7 @@ const appendResultSetModifier = (
|
|
146
146
|
const limit = new PrimitiveInstanceValue(
|
147
147
|
GenericTypeExplicitReference.create(
|
148
148
|
new GenericType(
|
149
|
-
resultModifierState.
|
149
|
+
resultModifierState.tdsState.queryBuilderState.graphManagerState.graph.getPrimitiveType(
|
150
150
|
PRIMITIVE_TYPE.INTEGER,
|
151
151
|
),
|
152
152
|
),
|
@@ -178,7 +178,7 @@ const appendResultSetModifier = (
|
|
178
178
|
};
|
179
179
|
|
180
180
|
export const appendProjection = (
|
181
|
-
|
181
|
+
tdsState: QueryBuilderTDSState,
|
182
182
|
lambdaFunction: LambdaFunction,
|
183
183
|
options?: {
|
184
184
|
/**
|
@@ -189,7 +189,7 @@ export const appendProjection = (
|
|
189
189
|
keepSourceInformation?: boolean | undefined;
|
190
190
|
},
|
191
191
|
): void => {
|
192
|
-
const queryBuilderState =
|
192
|
+
const queryBuilderState = tdsState.queryBuilderState;
|
193
193
|
const precedingExpression = guaranteeNonNullable(
|
194
194
|
lambdaFunction.expressionSequence[0],
|
195
195
|
`Can't build projection expression: preceding expression is not defined`,
|
@@ -203,7 +203,7 @@ export const appendProjection = (
|
|
203
203
|
);
|
204
204
|
|
205
205
|
// build projection
|
206
|
-
if (
|
206
|
+
if (tdsState.aggregationState.columns.length) {
|
207
207
|
// aggregation
|
208
208
|
const groupByFunction = new SimpleFunctionExpression(
|
209
209
|
extractElementNameFromPath(
|
@@ -214,25 +214,25 @@ export const appendProjection = (
|
|
214
214
|
|
215
215
|
const colLambdas = new CollectionInstanceValue(
|
216
216
|
queryBuilderState.graphManagerState.graph.getMultiplicity(
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
217
|
+
tdsState.projectionColumns.length -
|
218
|
+
tdsState.aggregationState.columns.length,
|
219
|
+
tdsState.projectionColumns.length -
|
220
|
+
tdsState.aggregationState.columns.length,
|
221
221
|
),
|
222
222
|
);
|
223
223
|
const aggregateLambdas = new CollectionInstanceValue(
|
224
224
|
queryBuilderState.graphManagerState.graph.getMultiplicity(
|
225
|
-
|
226
|
-
|
225
|
+
tdsState.aggregationState.columns.length,
|
226
|
+
tdsState.aggregationState.columns.length,
|
227
227
|
),
|
228
228
|
);
|
229
229
|
const colAliases = new CollectionInstanceValue(
|
230
230
|
queryBuilderState.graphManagerState.graph.getMultiplicity(
|
231
|
-
|
232
|
-
|
231
|
+
tdsState.projectionColumns.length,
|
232
|
+
tdsState.projectionColumns.length,
|
233
233
|
),
|
234
234
|
);
|
235
|
-
|
235
|
+
tdsState.projectionColumns.forEach((projectionColumnState) => {
|
236
236
|
// column alias
|
237
237
|
const colAlias = new PrimitiveInstanceValue(
|
238
238
|
GenericTypeExplicitReference.create(new GenericType(typeString)),
|
@@ -241,10 +241,9 @@ export const appendProjection = (
|
|
241
241
|
colAlias.values.push(projectionColumnState.columnName);
|
242
242
|
colAliases.values.push(colAlias);
|
243
243
|
|
244
|
-
const aggregateColumnState =
|
245
|
-
|
246
|
-
|
247
|
-
);
|
244
|
+
const aggregateColumnState = tdsState.aggregationState.columns.find(
|
245
|
+
(column) => column.projectionColumnState === projectionColumnState,
|
246
|
+
);
|
248
247
|
|
249
248
|
// column projection
|
250
249
|
let columnLambda: ValueSpecification;
|
@@ -301,8 +300,8 @@ export const appendProjection = (
|
|
301
300
|
aggregateColumnState,
|
302
301
|
),
|
303
302
|
],
|
304
|
-
aggregateColumnState.aggregationState.
|
305
|
-
.
|
303
|
+
aggregateColumnState.aggregationState.tdsState.queryBuilderState
|
304
|
+
.graphManagerState.graph,
|
306
305
|
);
|
307
306
|
aggregateFunctionExpression.parametersValues = [
|
308
307
|
columnLambda,
|
@@ -320,7 +319,7 @@ export const appendProjection = (
|
|
320
319
|
colAliases,
|
321
320
|
];
|
322
321
|
lambdaFunction.expressionSequence[0] = groupByFunction;
|
323
|
-
} else if (
|
322
|
+
} else if (tdsState.projectionColumns.length) {
|
324
323
|
// projection
|
325
324
|
const projectFunction = new SimpleFunctionExpression(
|
326
325
|
extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_PROJECT),
|
@@ -328,17 +327,17 @@ export const appendProjection = (
|
|
328
327
|
);
|
329
328
|
const colLambdas = new CollectionInstanceValue(
|
330
329
|
queryBuilderState.graphManagerState.graph.getMultiplicity(
|
331
|
-
|
332
|
-
|
330
|
+
tdsState.projectionColumns.length,
|
331
|
+
tdsState.projectionColumns.length,
|
333
332
|
),
|
334
333
|
);
|
335
334
|
const colAliases = new CollectionInstanceValue(
|
336
335
|
queryBuilderState.graphManagerState.graph.getMultiplicity(
|
337
|
-
|
338
|
-
|
336
|
+
tdsState.projectionColumns.length,
|
337
|
+
tdsState.projectionColumns.length,
|
339
338
|
),
|
340
339
|
);
|
341
|
-
|
340
|
+
tdsState.projectionColumns.forEach((projectionColumnState) => {
|
342
341
|
// column alias
|
343
342
|
const colAlias = new PrimitiveInstanceValue(
|
344
343
|
GenericTypeExplicitReference.create(new GenericType(typeString)),
|
@@ -398,16 +397,12 @@ export const appendProjection = (
|
|
398
397
|
}
|
399
398
|
|
400
399
|
// build post-filter
|
401
|
-
appendPostFilter(
|
400
|
+
appendPostFilter(tdsState.postFilterState, lambdaFunction);
|
402
401
|
|
403
402
|
// build result set modifiers
|
404
|
-
appendResultSetModifier(
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
? queryBuilderState.resultState.previewLimit
|
410
|
-
: undefined,
|
411
|
-
},
|
412
|
-
);
|
403
|
+
appendResultSetModifier(tdsState.resultSetModifierState, lambdaFunction, {
|
404
|
+
overridingLimit: options?.isBuildingExecutionQuery
|
405
|
+
? queryBuilderState.resultState.previewLimit
|
406
|
+
: undefined,
|
407
|
+
});
|
413
408
|
};
|
@@ -42,7 +42,7 @@ import {
|
|
42
42
|
observe_ValueSpecification,
|
43
43
|
} from '@finos/legend-graph';
|
44
44
|
import { DEFAULT_LAMBDA_VARIABLE_NAME } from '../QueryBuilderConfig.js';
|
45
|
-
import type { QueryBuilderProjectionColumnDragSource } from '../fetch-structure/projection/QueryBuilderProjectionColumnState.js';
|
45
|
+
import type { QueryBuilderProjectionColumnDragSource } from '../fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js';
|
46
46
|
import {
|
47
47
|
buildPropertyTypeaheadQuery,
|
48
48
|
buildTypeaheadOptions,
|
@@ -32,8 +32,7 @@ import {
|
|
32
32
|
PRIMITIVE_TYPE,
|
33
33
|
TYPICAL_MULTIPLICITY_TYPE,
|
34
34
|
} from '@finos/legend-graph';
|
35
|
-
import { Randomizer } from '@finos/legend-shared';
|
36
|
-
import { addDays, format } from 'date-fns';
|
35
|
+
import { addDays, formatDate, Randomizer } from '@finos/legend-shared';
|
37
36
|
import { instanceValue_setValues } from './ValueSpecificationModifierHelper.js';
|
38
37
|
|
39
38
|
const createMockPrimitiveProperty = (
|
@@ -54,7 +53,7 @@ const createMockPrimitiveProperty = (
|
|
54
53
|
// NOTE that `Date` is the umbrella type that comprises `StrictDate` and `DateTime`, but for simplicity, we will generate `Date` as `StrictDate`
|
55
54
|
case PRIMITIVE_TYPE.DATE:
|
56
55
|
case PRIMITIVE_TYPE.STRICTDATE:
|
57
|
-
return
|
56
|
+
return formatDate(
|
58
57
|
randomizer.getRandomDate(
|
59
58
|
new Date(Date.now()),
|
60
59
|
addDays(Date.now(), 100),
|
@@ -62,7 +61,7 @@ const createMockPrimitiveProperty = (
|
|
62
61
|
DATE_FORMAT,
|
63
62
|
);
|
64
63
|
case PRIMITIVE_TYPE.DATETIME:
|
65
|
-
return
|
64
|
+
return formatDate(
|
66
65
|
randomizer.getRandomDate(
|
67
66
|
new Date(Date.now()),
|
68
67
|
addDays(Date.now(), 100),
|
@@ -42,7 +42,9 @@ export type ServiceExecutionContext = {
|
|
42
42
|
|
43
43
|
export class ServiceQueryBuilderState extends QueryBuilderState {
|
44
44
|
readonly service: Service;
|
45
|
+
readonly usableServices: Service[] | undefined;
|
45
46
|
readonly executionContexts: ServiceExecutionContext[] = [];
|
47
|
+
readonly onServiceChange?: ((val: Service) => void) | undefined;
|
46
48
|
readonly onExecutionContextChange?:
|
47
49
|
| ((val: ServiceExecutionContext) => void)
|
48
50
|
| undefined;
|
@@ -56,7 +58,9 @@ export class ServiceQueryBuilderState extends QueryBuilderState {
|
|
56
58
|
applicationStore: GenericLegendApplicationStore,
|
57
59
|
graphManagerState: GraphManagerState,
|
58
60
|
service: Service,
|
61
|
+
usableServices: Service[] | undefined,
|
59
62
|
executionContextKey?: string | undefined,
|
63
|
+
onServiceChange?: ((val: Service) => void) | undefined,
|
60
64
|
onExecutionContextChange?:
|
61
65
|
| ((val: ServiceExecutionContext) => void)
|
62
66
|
| undefined,
|
@@ -69,6 +73,8 @@ export class ServiceQueryBuilderState extends QueryBuilderState {
|
|
69
73
|
});
|
70
74
|
|
71
75
|
this.service = service;
|
76
|
+
this.usableServices = usableServices;
|
77
|
+
this.onServiceChange = onServiceChange;
|
72
78
|
this.onExecutionContextChange = onExecutionContextChange;
|
73
79
|
|
74
80
|
if (service.execution instanceof PureSingleExecution) {
|
package/tsconfig.json
CHANGED
@@ -34,6 +34,7 @@
|
|
34
34
|
],
|
35
35
|
"files": [
|
36
36
|
"./src/index.ts",
|
37
|
+
"./src/components/QueryBuilder_LegendApplicationPlugin.ts",
|
37
38
|
"./src/components/QueryBuilder_TestID.ts",
|
38
39
|
"./src/components/QuerySetupUtils.ts",
|
39
40
|
"./src/graphManager/QueryBuilderHashUtils.ts",
|
@@ -49,6 +50,7 @@
|
|
49
50
|
"./src/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts",
|
50
51
|
"./src/stores/QueryBuilderBootstraper.ts",
|
51
52
|
"./src/stores/QueryBuilderChangeDetectionState.ts",
|
53
|
+
"./src/stores/QueryBuilderCommand.ts",
|
52
54
|
"./src/stores/QueryBuilderConfig.ts",
|
53
55
|
"./src/stores/QueryBuilderGroupOperationHelper.ts",
|
54
56
|
"./src/stores/QueryBuilderMilestoningState.ts",
|
@@ -75,43 +77,43 @@
|
|
75
77
|
"./src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.ts",
|
76
78
|
"./src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.ts",
|
77
79
|
"./src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.ts",
|
78
|
-
"./src/stores/fetch-structure/
|
79
|
-
"./src/stores/fetch-structure/
|
80
|
-
"./src/stores/fetch-structure/
|
81
|
-
"./src/stores/fetch-structure/
|
82
|
-
"./src/stores/fetch-structure/
|
83
|
-
"./src/stores/fetch-structure/
|
84
|
-
"./src/stores/fetch-structure/
|
85
|
-
"./src/stores/fetch-structure/
|
86
|
-
"./src/stores/fetch-structure/
|
87
|
-
"./src/stores/fetch-structure/
|
88
|
-
"./src/stores/fetch-structure/
|
89
|
-
"./src/stores/fetch-structure/
|
90
|
-
"./src/stores/fetch-structure/
|
91
|
-
"./src/stores/fetch-structure/
|
92
|
-
"./src/stores/fetch-structure/
|
93
|
-
"./src/stores/fetch-structure/
|
94
|
-
"./src/stores/fetch-structure/
|
95
|
-
"./src/stores/fetch-structure/
|
96
|
-
"./src/stores/fetch-structure/
|
97
|
-
"./src/stores/fetch-structure/
|
98
|
-
"./src/stores/fetch-structure/
|
99
|
-
"./src/stores/fetch-structure/
|
100
|
-
"./src/stores/fetch-structure/
|
101
|
-
"./src/stores/fetch-structure/
|
102
|
-
"./src/stores/fetch-structure/
|
103
|
-
"./src/stores/fetch-structure/
|
104
|
-
"./src/stores/fetch-structure/
|
105
|
-
"./src/stores/fetch-structure/
|
106
|
-
"./src/stores/fetch-structure/
|
107
|
-
"./src/stores/fetch-structure/
|
108
|
-
"./src/stores/fetch-structure/
|
109
|
-
"./src/stores/fetch-structure/
|
110
|
-
"./src/stores/fetch-structure/
|
111
|
-
"./src/stores/fetch-structure/
|
112
|
-
"./src/stores/fetch-structure/projection/
|
113
|
-
"./src/stores/fetch-structure/projection/
|
114
|
-
"./src/stores/fetch-structure/projection/
|
80
|
+
"./src/stores/fetch-structure/tds/QueryBuilderTDSState.ts",
|
81
|
+
"./src/stores/fetch-structure/tds/QueryResultSetModifierState.ts",
|
82
|
+
"./src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateOperator.ts",
|
83
|
+
"./src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateOperatorLoader.ts",
|
84
|
+
"./src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.ts",
|
85
|
+
"./src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.ts",
|
86
|
+
"./src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.ts",
|
87
|
+
"./src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.ts",
|
88
|
+
"./src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.ts",
|
89
|
+
"./src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Distinct.ts",
|
90
|
+
"./src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.ts",
|
91
|
+
"./src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.ts",
|
92
|
+
"./src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Max.ts",
|
93
|
+
"./src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Min.ts",
|
94
|
+
"./src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.ts",
|
95
|
+
"./src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.ts",
|
96
|
+
"./src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Sum.ts",
|
97
|
+
"./src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperator.ts",
|
98
|
+
"./src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperatorLoader.ts",
|
99
|
+
"./src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts",
|
100
|
+
"./src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.ts",
|
101
|
+
"./src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.ts",
|
102
|
+
"./src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.ts",
|
103
|
+
"./src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.ts",
|
104
|
+
"./src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts",
|
105
|
+
"./src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts",
|
106
|
+
"./src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts",
|
107
|
+
"./src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.ts",
|
108
|
+
"./src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.ts",
|
109
|
+
"./src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.ts",
|
110
|
+
"./src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.ts",
|
111
|
+
"./src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.ts",
|
112
|
+
"./src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.ts",
|
113
|
+
"./src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.ts",
|
114
|
+
"./src/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.ts",
|
115
|
+
"./src/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.ts",
|
116
|
+
"./src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts",
|
115
117
|
"./src/stores/filter/QueryBuilderFilterOperator.ts",
|
116
118
|
"./src/stores/filter/QueryBuilderFilterOperatorLoader.ts",
|
117
119
|
"./src/stores/filter/QueryBuilderFilterState.ts",
|
@@ -138,6 +140,7 @@
|
|
138
140
|
"./src/components/QueryBuilder.tsx",
|
139
141
|
"./src/components/QueryBuilderComponentTestUtils.tsx",
|
140
142
|
"./src/components/QueryBuilderDiffPanel.tsx",
|
143
|
+
"./src/components/QueryBuilderNavigationBlocker.tsx",
|
141
144
|
"./src/components/QueryBuilderParametersPanel.tsx",
|
142
145
|
"./src/components/QueryBuilderPropertyExpressionEditor.tsx",
|
143
146
|
"./src/components/QueryBuilderResultPanel.tsx",
|
@@ -152,15 +155,14 @@
|
|
152
155
|
"./src/components/fetch-structure/QueryBuilderFetchStructurePanel.tsx",
|
153
156
|
"./src/components/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx",
|
154
157
|
"./src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx",
|
155
|
-
"./src/components/fetch-structure/QueryBuilderProjectionPanel.tsx",
|
156
158
|
"./src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx",
|
159
|
+
"./src/components/fetch-structure/QueryBuilderTDSPanel.tsx",
|
157
160
|
"./src/components/filter/QueryBuilderFilterPanel.tsx",
|
158
161
|
"./src/components/shared/BasicValueSpecificationEditor.tsx",
|
159
162
|
"./src/components/shared/CustomDatePicker.tsx",
|
160
163
|
"./src/components/shared/ElementIconUtils.tsx",
|
161
164
|
"./src/components/shared/LambdaEditor.tsx",
|
162
165
|
"./src/components/shared/LambdaParameterValuesEditor.tsx",
|
163
|
-
"./src/components/shared/QueryBuilderLambdaEditor.tsx",
|
164
166
|
"./src/components/shared/QueryBuilderPanelIssueCountBadge.tsx",
|
165
167
|
"./src/components/shared/QueryBuilderPropertyInfoTooltip.tsx",
|
166
168
|
"./src/components/workflows/ClassQueryBuilder.tsx",
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderProjectionPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderProjectionPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AA+DH,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,wEAAwE,CAAC;AAoa1H,eAAO,MAAM,2BAA2B,WAC9B;IAAE,eAAe,EAAE,2BAA2B,CAAA;CAAE;;CAmJzD,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderProjectionPanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderProjectionPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AAC7E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,qBAAqB,EACrB,SAAS,EACT,YAAY,EACZ,WAAW,EACX,eAAe,EACf,aAAa,EACb,sBAAsB,EACtB,WAAW,EACX,yBAAyB,EACzB,SAAS,EACT,aAAa,EACb,gBAAgB,EAChB,6BAA6B,EAC7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,IAChD,GACZ,IACO,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -1,43 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
-
*
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
* you may not use this file except in compliance with the License.
|
6
|
-
* You may obtain a copy of the License at
|
7
|
-
*
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
*
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
* See the License for the specific language governing permissions and
|
14
|
-
* limitations under the License.
|
15
|
-
*/
|
16
|
-
/// <reference types="react" resolution-mode="require"/>
|
17
|
-
import type { QueryBuilderState } from '../../stores/QueryBuilderState.js';
|
18
|
-
import type { Type } from '@finos/legend-graph';
|
19
|
-
import type { LambdaEditorState } from '../../stores/shared/LambdaEditorState.js';
|
20
|
-
export declare const QueryBuilderLambdaEditor: ((props: {
|
21
|
-
queryBuilderState: QueryBuilderState;
|
22
|
-
className?: string;
|
23
|
-
disabled: boolean;
|
24
|
-
lambdaEditorState: LambdaEditorState;
|
25
|
-
/**
|
26
|
-
* TODO: when we pass in these expected type we should match a type as expected type if it's covariance, i.e. it is a subtype of
|
27
|
-
* the expected type. Note that we also have to handle that relationship for Primitive type
|
28
|
-
* See https://dzone.com/articles/covariance-and-contravariance
|
29
|
-
*/
|
30
|
-
expectedType?: Type;
|
31
|
-
matchedExpectedType?: () => boolean;
|
32
|
-
onExpectedTypeLabelSelect?: () => void;
|
33
|
-
forceBackdrop: boolean;
|
34
|
-
disableExpansion?: boolean | undefined;
|
35
|
-
forceExpansion?: boolean | undefined;
|
36
|
-
disablePopUp?: boolean | undefined;
|
37
|
-
useBaseTextEditorSettings?: boolean | undefined;
|
38
|
-
hideErrorBar?: boolean | undefined;
|
39
|
-
onEditorFocusEventHandler?: (() => void) | undefined;
|
40
|
-
}) => JSX.Element) & {
|
41
|
-
displayName: string;
|
42
|
-
};
|
43
|
-
//# sourceMappingURL=QueryBuilderLambdaEditor.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderLambdaEditor.d.ts","sourceRoot":"","sources":["../../../src/components/shared/QueryBuilderLambdaEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAMH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAC3E,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAEhD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAMlF,eAAO,MAAM,wBAAwB,WAC3B;IACN,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,OAAO,CAAC;IAClB,iBAAiB,EAAE,iBAAiB,CAAC;IACrC;;;;OAIG;IACH,YAAY,CAAC,EAAE,IAAI,CAAC;IACpB,mBAAmB,CAAC,EAAE,MAAM,OAAO,CAAC;IACpC,yBAAyB,CAAC,EAAE,MAAM,IAAI,CAAC;IACvC,aAAa,EAAE,OAAO,CAAC;IACvB,gBAAgB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACvC,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACrC,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACnC,yBAAyB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAChD,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACnC,yBAAyB,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;CACtD;;CAqEF,CAAC"}
|