@finos/legend-application-query 5.2.2 → 5.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/application/LegendQueryApplicationConfig.d.ts +0 -2
- package/lib/application/LegendQueryApplicationConfig.d.ts.map +1 -1
- package/lib/application/LegendQueryApplicationConfig.js +0 -2
- package/lib/application/LegendQueryApplicationConfig.js.map +1 -1
- package/lib/components/LegendQueryApplication.d.ts.map +1 -1
- package/lib/components/LegendQueryApplication.js +5 -15
- package/lib/components/LegendQueryApplication.js.map +1 -1
- package/lib/components/LegendQueryBaseStoreProvider.d.ts.map +1 -1
- package/lib/components/LegendQueryBaseStoreProvider.js +1 -3
- package/lib/components/LegendQueryBaseStoreProvider.js.map +1 -1
- package/lib/components/QueryBuilder.d.ts.map +1 -1
- package/lib/components/QueryBuilder.js +16 -9
- package/lib/components/QueryBuilder.js.map +1 -1
- package/lib/components/QueryBuilderParameterPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderParameterPanel.js +1 -1
- package/lib/components/QueryBuilderParameterPanel.js.map +1 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts +1 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +1 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.js +2 -2
- package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -1
- package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderResultPanel.js +6 -6
- package/lib/components/QueryBuilderResultPanel.js.map +1 -1
- package/lib/components/QueryBuilderSetupPanel.js +1 -1
- package/lib/components/QueryBuilderSetupPanel.js.map +1 -1
- package/lib/components/QueryBuilderTextEditor.js +1 -1
- package/lib/components/QueryBuilderTextEditor.js.map +1 -1
- package/lib/components/QueryEditorComponentTestUtils.d.ts +0 -2
- package/lib/components/QueryEditorComponentTestUtils.d.ts.map +1 -1
- package/lib/components/QueryEditorComponentTestUtils.js +2 -5
- package/lib/components/QueryEditorComponentTestUtils.js.map +1 -1
- package/lib/components/QueryEditorStoreProvider.d.ts.map +1 -1
- package/lib/components/QueryEditorStoreProvider.js +3 -7
- package/lib/components/QueryEditorStoreProvider.js.map +1 -1
- package/lib/components/QuerySetupStoreProvider.d.ts.map +1 -1
- package/lib/components/QuerySetupStoreProvider.js +1 -3
- package/lib/components/QuerySetupStoreProvider.js.map +1 -1
- package/lib/components/{QueryBuilderExplorerPanel.d.ts → explorer/QueryBuilderExplorerPanel.d.ts} +1 -1
- package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts.map +1 -0
- package/lib/components/{QueryBuilderExplorerPanel.js → explorer/QueryBuilderExplorerPanel.js} +12 -47
- package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -0
- package/lib/components/{QueryBuilderFunctionsExplorerPanel.d.ts → explorer/QueryBuilderFunctionsExplorerPanel.d.ts} +1 -1
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts.map +1 -0
- package/lib/components/{QueryBuilderFunctionsExplorerPanel.js → explorer/QueryBuilderFunctionsExplorerPanel.js} +1 -1
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js.map +1 -0
- package/lib/components/{QueryBuilderMilestoneEditor.d.ts → explorer/QueryBuilderMilestoneEditor.d.ts} +1 -1
- package/lib/components/explorer/QueryBuilderMilestoneEditor.d.ts.map +1 -0
- package/lib/components/{QueryBuilderMilestoneEditor.js → explorer/QueryBuilderMilestoneEditor.js} +3 -3
- package/lib/components/explorer/QueryBuilderMilestoneEditor.js.map +1 -0
- package/lib/components/{QueryBuilderPropertySearchPanel.d.ts → explorer/QueryBuilderPropertySearchPanel.d.ts} +1 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts.map +1 -0
- package/lib/components/{QueryBuilderPropertySearchPanel.js → explorer/QueryBuilderPropertySearchPanel.js} +5 -5
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +1 -0
- package/lib/components/{QueryBuilderFetchStructurePanel.d.ts → fetch-structure/QueryBuilderFetchStructurePanel.d.ts} +1 -1
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts.map +1 -0
- package/lib/components/{QueryBuilderFetchStructurePanel.js → fetch-structure/QueryBuilderFetchStructurePanel.js} +15 -12
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js.map +1 -0
- package/lib/components/{QueryBuilderGraphFetchTreePanel.d.ts → fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts} +3 -3
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +1 -0
- package/lib/components/{QueryBuilderGraphFetchTreePanel.js → fetch-structure/QueryBuilderGraphFetchTreePanel.js} +4 -4
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +1 -0
- package/lib/components/{QueryBuilderPostFilterPanel.d.ts → fetch-structure/QueryBuilderPostFilterPanel.d.ts} +3 -3
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -0
- package/lib/components/{QueryBuilderPostFilterPanel.js → fetch-structure/QueryBuilderPostFilterPanel.js} +20 -18
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -0
- package/lib/components/{QueryBuilderProjectionPanel.d.ts → fetch-structure/QueryBuilderProjectionPanel.d.ts} +1 -1
- package/lib/components/fetch-structure/QueryBuilderProjectionPanel.d.ts.map +1 -0
- package/lib/components/{QueryBuilderProjectionPanel.js → fetch-structure/QueryBuilderProjectionPanel.js} +11 -11
- package/lib/components/fetch-structure/QueryBuilderProjectionPanel.js.map +1 -0
- package/lib/components/{QueryBuilderResultModifierPanel.d.ts → fetch-structure/QueryBuilderResultModifierPanel.d.ts} +1 -1
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -0
- package/lib/components/{QueryBuilderResultModifierPanel.js → fetch-structure/QueryBuilderResultModifierPanel.js} +9 -6
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -0
- package/lib/components/{QueryBuilderFilterPanel.d.ts → filter/QueryBuilderFilterPanel.d.ts} +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -0
- package/lib/components/{QueryBuilderFilterPanel.js → filter/QueryBuilderFilterPanel.js} +10 -9
- package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -0
- package/lib/components/{QueryBuilderLambdaEditor.d.ts → shared/QueryBuilderLambdaEditor.d.ts} +1 -1
- package/lib/components/shared/QueryBuilderLambdaEditor.d.ts.map +1 -0
- package/lib/components/{QueryBuilderLambdaEditor.js → shared/QueryBuilderLambdaEditor.js} +0 -0
- package/lib/components/shared/QueryBuilderLambdaEditor.js.map +1 -0
- package/lib/components/{QueryBuilderPanelIssueCountBadge.d.ts → shared/QueryBuilderPanelIssueCountBadge.d.ts} +0 -0
- package/lib/components/shared/QueryBuilderPanelIssueCountBadge.d.ts.map +1 -0
- package/lib/components/{QueryBuilderPanelIssueCountBadge.js → shared/QueryBuilderPanelIssueCountBadge.js} +0 -0
- package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js.map +1 -0
- package/lib/components/{QueryBuilderPropertyInfoTooltip.d.ts → shared/QueryBuilderPropertyInfoTooltip.d.ts} +0 -0
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.d.ts.map +1 -0
- package/lib/components/{QueryBuilderPropertyInfoTooltip.js → shared/QueryBuilderPropertyInfoTooltip.js} +0 -0
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js.map +1 -0
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +0 -4
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +0 -4
- package/lib/index.js.map +1 -1
- package/lib/package.json +1 -2
- package/lib/stores/LegendQueryBaseStore.d.ts +2 -4
- package/lib/stores/LegendQueryBaseStore.d.ts.map +1 -1
- package/lib/stores/LegendQueryBaseStore.js +1 -5
- package/lib/stores/LegendQueryBaseStore.js.map +1 -1
- package/lib/stores/QueryBuilderGroupOperationHelper.d.ts +22 -0
- package/lib/stores/QueryBuilderGroupOperationHelper.d.ts.map +1 -0
- package/lib/stores/QueryBuilderGroupOperationHelper.js +43 -0
- package/lib/stores/QueryBuilderGroupOperationHelper.js.map +1 -0
- package/lib/stores/QueryBuilderPreviewDataHelper.d.ts.map +1 -1
- package/lib/stores/QueryBuilderPreviewDataHelper.js +16 -17
- package/lib/stores/QueryBuilderPreviewDataHelper.js.map +1 -1
- package/lib/stores/QueryBuilderPropertyEditorState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderPropertyEditorState.js +5 -4
- package/lib/stores/QueryBuilderPropertyEditorState.js.map +1 -1
- package/lib/stores/QueryBuilderResultState.js +1 -1
- package/lib/stores/QueryBuilderResultState.js.map +1 -1
- package/lib/stores/QueryBuilderState.d.ts +9 -16
- package/lib/stores/QueryBuilderState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderState.js +19 -33
- package/lib/stores/QueryBuilderState.js.map +1 -1
- package/lib/stores/QueryBuilderTestUtils.d.ts.map +1 -1
- package/lib/stores/QueryBuilderTestUtils.js +2 -1
- package/lib/stores/QueryBuilderTestUtils.js.map +1 -1
- package/lib/stores/QueryBuilderTypeaheadHelper.d.ts +7 -7
- package/lib/stores/QueryBuilderTypeaheadHelper.d.ts.map +1 -1
- package/lib/stores/QueryBuilderTypeaheadHelper.js +23 -28
- package/lib/stores/QueryBuilderTypeaheadHelper.js.map +1 -1
- package/lib/stores/{QueryBuilderLambdaBuilder.d.ts → QueryBuilderValueSpecificationBuilder.d.ts} +1 -3
- package/lib/stores/QueryBuilderValueSpecificationBuilder.d.ts.map +1 -0
- package/lib/stores/{QueryBuilderLambdaBuilder.js → QueryBuilderValueSpecificationBuilder.js} +179 -190
- package/lib/stores/QueryBuilderValueSpecificationBuilder.js.map +1 -0
- package/lib/stores/{QueryBuilderOperatorsHelper.d.ts → QueryBuilderValueSpecificationHelper.d.ts} +5 -9
- package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts.map +1 -0
- package/lib/stores/{QueryBuilderOperatorsHelper.js → QueryBuilderValueSpecificationHelper.js} +38 -30
- package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -0
- package/lib/stores/{QueryBuilderLambdaProcessor.d.ts → QueryBuilderValueSpecificationProcessor.d.ts} +1 -1
- package/lib/stores/QueryBuilderValueSpecificationProcessor.d.ts.map +1 -0
- package/lib/stores/{QueryBuilderLambdaProcessor.js → QueryBuilderValueSpecificationProcessor.js} +16 -14
- package/lib/stores/QueryBuilderValueSpecificationProcessor.js.map +1 -0
- package/lib/stores/QueryEditorStore.d.ts +4 -6
- package/lib/stores/QueryEditorStore.d.ts.map +1 -1
- package/lib/stores/QueryEditorStore.js +7 -9
- package/lib/stores/QueryEditorStore.js.map +1 -1
- package/lib/stores/QueryEditorStoreTestUtils.d.ts.map +1 -1
- package/lib/stores/QueryEditorStoreTestUtils.js +0 -1
- package/lib/stores/QueryEditorStoreTestUtils.js.map +1 -1
- package/lib/stores/QuerySetupStore.d.ts +1 -3
- package/lib/stores/QuerySetupStore.d.ts.map +1 -1
- package/lib/stores/QuerySetupStore.js +1 -3
- package/lib/stores/QuerySetupStore.js.map +1 -1
- package/lib/stores/{QueryBuilderExplorerState.d.ts → explorer/QueryBuilderExplorerState.d.ts} +3 -2
- package/lib/stores/explorer/QueryBuilderExplorerState.d.ts.map +1 -0
- package/lib/stores/{QueryBuilderExplorerState.js → explorer/QueryBuilderExplorerState.js} +71 -3
- package/lib/stores/explorer/QueryBuilderExplorerState.js.map +1 -0
- package/lib/stores/{QueryBuilderPropertySearchPanelState.d.ts → explorer/QueryBuilderPropertySearchPanelState.d.ts} +2 -2
- package/lib/stores/explorer/QueryBuilderPropertySearchPanelState.d.ts.map +1 -0
- package/lib/stores/{QueryBuilderPropertySearchPanelState.js → explorer/QueryBuilderPropertySearchPanelState.js} +1 -1
- package/lib/stores/explorer/QueryBuilderPropertySearchPanelState.js.map +1 -0
- package/lib/stores/{QueryFunctionsExplorerState.d.ts → explorer/QueryFunctionsExplorerState.d.ts} +1 -1
- package/lib/stores/explorer/QueryFunctionsExplorerState.d.ts.map +1 -0
- package/lib/stores/{QueryFunctionsExplorerState.js → explorer/QueryFunctionsExplorerState.js} +0 -0
- package/lib/stores/explorer/QueryFunctionsExplorerState.js.map +1 -0
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts +23 -0
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts.map +1 -0
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js +24 -0
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js.map +1 -0
- package/lib/stores/{QueryBuilderFetchStructureState.d.ts → fetch-structure/QueryBuilderFetchStructureState.d.ts} +11 -7
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.d.ts.map +1 -0
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js +116 -0
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js.map +1 -0
- package/lib/stores/{QueryBuilderGraphFetchTreeState.d.ts → fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts} +6 -5
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts.map +1 -0
- package/lib/stores/{QueryBuilderGraphFetchTreeState.js → fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js} +17 -17
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +1 -0
- package/lib/stores/{QueryBuilderGraphFetchTreeUtil.d.ts → fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts} +2 -2
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts.map +1 -0
- package/lib/stores/{QueryBuilderGraphFetchTreeUtil.js → fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js} +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js.map +1 -0
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.d.ts +19 -0
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.d.ts.map +1 -0
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.js +49 -0
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.js.map +1 -0
- package/lib/stores/{QueryBuilderProjectionState.d.ts → fetch-structure/projection/QueryBuilderProjectionColumnState.d.ts} +6 -34
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js +187 -0
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js.map +1 -0
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.d.ts +59 -0
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.js +203 -0
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.js.map +1 -0
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts +21 -0
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.js +73 -0
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -0
- package/lib/stores/{QueryResultSetModifierState.d.ts → fetch-structure/projection/QueryResultSetModifierState.d.ts} +5 -14
- package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.js +77 -0
- package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.js.map +1 -0
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.d.ts +32 -0
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.js +36 -0
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.js.map +1 -0
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.d.ts +18 -0
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.js +38 -0
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.js.map +1 -0
- package/lib/stores/{QueryBuilderAggregationState.d.ts → fetch-structure/projection/aggregation/QueryBuilderAggregationState.d.ts} +4 -15
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.d.ts.map +1 -0
- package/lib/stores/{QueryBuilderAggregationState.js → fetch-structure/projection/aggregation/QueryBuilderAggregationState.js} +2 -21
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.js.map +1 -0
- package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperatorHelper.d.ts +3 -2
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.d.ts.map +1 -0
- package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperatorHelper.js +1 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.js.map +1 -0
- package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_Average.d.ts +3 -2
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts.map +1 -0
- package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_Average.js +3 -3
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.js.map +1 -0
- package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_Count.d.ts +3 -2
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts.map +1 -0
- package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_Count.js +3 -3
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.js.map +1 -0
- package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_Distinct.d.ts +3 -2
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.d.ts.map +1 -0
- package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_Distinct.js +3 -3
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js.map +1 -0
- package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_DistinctCount.d.ts +3 -2
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts.map +1 -0
- package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_DistinctCount.js +4 -3
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js.map +1 -0
- package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_JoinString.d.ts +3 -2
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts.map +1 -0
- package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_JoinString.js +4 -3
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js.map +1 -0
- package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_Max.d.ts +3 -2
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts.map +1 -0
- package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_Max.js +3 -3
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.js.map +1 -0
- package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_Min.d.ts +3 -2
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts.map +1 -0
- package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_Min.js +3 -3
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.js.map +1 -0
- package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_StdDev_Population.d.ts +3 -2
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts.map +1 -0
- package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_StdDev_Population.js +3 -3
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js.map +1 -0
- package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_StdDev_Sample.d.ts +3 -2
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts.map +1 -0
- package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_StdDev_Sample.js +3 -3
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js.map +1 -0
- package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_Sum.d.ts +3 -2
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts.map +1 -0
- package/lib/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_Sum.js +3 -3
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.js.map +1 -0
- package/lib/stores/{QueryBuilderPostFilterOperator.d.ts → fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.d.ts} +0 -0
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.d.ts.map +1 -0
- package/lib/stores/{QueryBuilderPostFilterOperator.js → fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.js} +0 -0
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.js.map +1 -0
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.d.ts +18 -0
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.js +44 -0
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.js.map +1 -0
- package/lib/stores/{QueryBuilderPostFilterState.d.ts → fetch-structure/projection/post-filter/QueryBuilderPostFilterState.d.ts} +6 -6
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -0
- package/lib/stores/{QueryBuilderPostFilterState.js → fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js} +18 -15
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js.map +1 -0
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.d.ts +19 -0
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js +82 -0
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js.map +1 -0
- package/lib/stores/{QueryBuilderPostFilterProcessor.d.ts → fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationProcessor.d.ts} +2 -5
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationProcessor.d.ts.map +1 -0
- package/lib/stores/{QueryBuilderPostFilterProcessor.js → fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationProcessor.js} +13 -11
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationProcessor.js.map +1 -0
- package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperatorHelper.d.ts +2 -2
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts.map +1 -0
- package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperatorHelper.js +5 -5
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js.map +1 -0
- package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_Contain.d.ts +0 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts.map +1 -0
- package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_Contain.js +7 -8
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js.map +1 -0
- package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_EndWith.d.ts +0 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts.map +1 -0
- package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_EndWith.js +7 -8
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js.map +1 -0
- package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_Equal.d.ts +0 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts.map +1 -0
- package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_Equal.js +11 -12
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js.map +1 -0
- package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_GreaterThan.d.ts +0 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts.map +1 -0
- package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_GreaterThan.js +8 -9
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js.map +1 -0
- package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts +0 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts.map +1 -0
- package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_GreaterThanEqual.js +2 -2
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js.map +1 -0
- package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_In.d.ts +0 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts.map +1 -0
- package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_In.js +8 -8
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +1 -0
- package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_IsEmpty.d.ts +0 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts.map +1 -0
- package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_IsEmpty.js +3 -3
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js.map +1 -0
- package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_LessThan.d.ts +0 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts.map +1 -0
- package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_LessThan.js +8 -9
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js.map +1 -0
- package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_LessThanEqual.d.ts +0 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts.map +1 -0
- package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_LessThanEqual.js +2 -2
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js.map +1 -0
- package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_StartWith.d.ts +0 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts.map +1 -0
- package/lib/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_StartWith.js +7 -8
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +1 -0
- package/lib/stores/filter/QueryBuilderFilterOperator.d.ts +27 -0
- package/lib/stores/filter/QueryBuilderFilterOperator.d.ts.map +1 -0
- package/lib/stores/filter/QueryBuilderFilterOperator.js +20 -0
- package/lib/stores/filter/QueryBuilderFilterOperator.js.map +1 -0
- package/lib/stores/filter/QueryBuilderFilterOperatorLoader.d.ts +18 -0
- package/lib/stores/filter/QueryBuilderFilterOperatorLoader.d.ts.map +1 -0
- package/lib/stores/filter/QueryBuilderFilterOperatorLoader.js +44 -0
- package/lib/stores/filter/QueryBuilderFilterOperatorLoader.js.map +1 -0
- package/lib/stores/{QueryBuilderFilterState.d.ts → filter/QueryBuilderFilterState.d.ts} +7 -16
- package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -0
- package/lib/stores/{QueryBuilderFilterState.js → filter/QueryBuilderFilterState.js} +9 -70
- package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -0
- package/lib/stores/filter/QueryBuilderValueSpecificationBuilder.d.ts +19 -0
- package/lib/stores/filter/QueryBuilderValueSpecificationBuilder.d.ts.map +1 -0
- package/lib/stores/filter/QueryBuilderValueSpecificationBuilder.js +78 -0
- package/lib/stores/filter/QueryBuilderValueSpecificationBuilder.js.map +1 -0
- package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperatorHelper.d.ts +2 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperatorHelper.d.ts.map +1 -0
- package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperatorHelper.js +3 -3
- package/lib/stores/filter/operators/QueryBuilderFilterOperatorHelper.js.map +1 -0
- package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_Contain.d.ts +2 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts.map +1 -0
- package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_Contain.js +3 -4
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js.map +1 -0
- package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_EndWith.d.ts +2 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts.map +1 -0
- package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_EndWith.js +3 -4
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js.map +1 -0
- package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_Equal.d.ts +2 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts.map +1 -0
- package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_Equal.js +4 -5
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js.map +1 -0
- package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_GreaterThan.d.ts +2 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts.map +1 -0
- package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_GreaterThan.js +4 -5
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js.map +1 -0
- package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_GreaterThanEqual.d.ts +2 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts.map +1 -0
- package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_GreaterThanEqual.js +4 -5
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js.map +1 -0
- package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_In.d.ts +2 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts.map +1 -0
- package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_In.js +3 -3
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js.map +1 -0
- package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_IsEmpty.d.ts +2 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts.map +1 -0
- package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_IsEmpty.js +3 -3
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js.map +1 -0
- package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_LessThan.d.ts +2 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts.map +1 -0
- package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_LessThan.js +4 -5
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js.map +1 -0
- package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_LessThanEqual.d.ts +2 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts.map +1 -0
- package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_LessThanEqual.js +4 -5
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js.map +1 -0
- package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_StartWith.d.ts +2 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts.map +1 -0
- package/lib/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_StartWith.js +3 -4
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +1 -0
- package/package.json +3 -4
- package/src/application/LegendQueryApplicationConfig.ts +1 -6
- package/src/components/LegendQueryApplication.tsx +10 -27
- package/src/components/LegendQueryBaseStoreProvider.tsx +0 -3
- package/src/components/QueryBuilder.tsx +19 -12
- package/src/components/QueryBuilderParameterPanel.tsx +1 -0
- package/src/components/QueryBuilderPropertyExpressionEditor.tsx +2 -2
- package/src/components/QueryBuilderResultPanel.tsx +10 -7
- package/src/components/QueryBuilderSetupPanel.tsx +1 -1
- package/src/components/QueryBuilderTextEditor.tsx +1 -1
- package/src/components/QueryEditorComponentTestUtils.tsx +5 -17
- package/src/components/QueryEditorStoreProvider.tsx +0 -7
- package/src/components/QuerySetupStoreProvider.tsx +0 -3
- package/src/components/{QueryBuilderExplorerPanel.tsx → explorer/QueryBuilderExplorerPanel.tsx} +18 -92
- package/src/components/{QueryBuilderFunctionsExplorerPanel.tsx → explorer/QueryBuilderFunctionsExplorerPanel.tsx} +2 -2
- package/src/components/{QueryBuilderMilestoneEditor.tsx → explorer/QueryBuilderMilestoneEditor.tsx} +4 -4
- package/src/components/{QueryBuilderPropertySearchPanel.tsx → explorer/QueryBuilderPropertySearchPanel.tsx} +6 -6
- package/src/components/{QueryBuilderFetchStructurePanel.tsx → fetch-structure/QueryBuilderFetchStructurePanel.tsx} +23 -14
- package/src/components/{QueryBuilderGraphFetchTreePanel.tsx → fetch-structure/QueryBuilderGraphFetchTreePanel.tsx} +6 -6
- package/src/components/{QueryBuilderPostFilterPanel.tsx → fetch-structure/QueryBuilderPostFilterPanel.tsx} +26 -30
- package/src/components/{QueryBuilderProjectionPanel.tsx → fetch-structure/QueryBuilderProjectionPanel.tsx} +13 -15
- package/src/components/{QueryBuilderResultModifierPanel.tsx → fetch-structure/QueryBuilderResultModifierPanel.tsx} +16 -8
- package/src/components/{QueryBuilderFilterPanel.tsx → filter/QueryBuilderFilterPanel.tsx} +12 -19
- package/src/components/{QueryBuilderLambdaEditor.tsx → shared/QueryBuilderLambdaEditor.tsx} +1 -1
- package/src/components/{QueryBuilderPanelIssueCountBadge.tsx → shared/QueryBuilderPanelIssueCountBadge.tsx} +0 -0
- package/src/components/{QueryBuilderPropertyInfoTooltip.tsx → shared/QueryBuilderPropertyInfoTooltip.tsx} +0 -0
- package/src/index.ts +0 -4
- package/src/stores/LegendQueryBaseStore.ts +1 -14
- package/src/stores/QueryBuilderGroupOperationHelper.ts +54 -0
- package/src/stores/QueryBuilderPreviewDataHelper.ts +17 -21
- package/src/stores/QueryBuilderPropertyEditorState.ts +6 -3
- package/src/stores/QueryBuilderResultState.ts +1 -1
- package/src/stores/QueryBuilderState.ts +22 -53
- package/src/stores/QueryBuilderTestUtils.ts +4 -1
- package/src/stores/QueryBuilderTypeaheadHelper.ts +31 -32
- package/src/stores/{QueryBuilderLambdaBuilder.ts → QueryBuilderValueSpecificationBuilder.ts} +331 -347
- package/src/stores/{QueryBuilderOperatorsHelper.ts → QueryBuilderValueSpecificationHelper.ts} +66 -47
- package/src/stores/{QueryBuilderLambdaProcessor.ts → QueryBuilderValueSpecificationProcessor.ts} +20 -13
- package/src/stores/QueryEditorStore.ts +3 -10
- package/src/stores/QueryEditorStoreTestUtils.ts +0 -1
- package/src/stores/QuerySetupStore.ts +0 -4
- package/src/stores/{QueryBuilderExplorerState.ts → explorer/QueryBuilderExplorerState.ts} +138 -3
- package/src/stores/{QueryBuilderPropertySearchPanelState.ts → explorer/QueryBuilderPropertySearchPanelState.ts} +2 -2
- package/src/stores/{QueryFunctionsExplorerState.ts → explorer/QueryFunctionsExplorerState.ts} +1 -1
- package/src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts +34 -0
- package/src/stores/fetch-structure/QueryBuilderFetchStructureState.ts +173 -0
- package/src/stores/{QueryBuilderGraphFetchTreeState.ts → fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts} +29 -25
- package/src/stores/{QueryBuilderGraphFetchTreeUtil.ts → fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.ts} +2 -2
- package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.ts +90 -0
- package/src/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.ts +329 -0
- package/src/stores/fetch-structure/projection/QueryBuilderProjectionState.ts +390 -0
- package/src/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +170 -0
- package/src/stores/fetch-structure/projection/QueryResultSetModifierState.ts +95 -0
- package/src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.ts +79 -0
- package/src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.ts +41 -0
- package/src/stores/{QueryBuilderAggregationState.ts → fetch-structure/projection/aggregation/QueryBuilderAggregationState.ts} +6 -69
- package/src/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperatorHelper.ts +3 -5
- package/src/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_Average.ts +4 -6
- package/src/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_Count.ts +4 -6
- package/src/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_Distinct.ts +4 -6
- package/src/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_DistinctCount.ts +4 -6
- package/src/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_JoinString.ts +4 -6
- package/src/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_Max.ts +4 -6
- package/src/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_Min.ts +4 -6
- package/src/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_StdDev_Population.ts +4 -6
- package/src/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_StdDev_Sample.ts +4 -6
- package/src/stores/{aggregateOperators → fetch-structure/projection/aggregation/operators}/QueryBuilderAggregateOperator_Sum.ts +4 -6
- package/src/stores/{QueryBuilderPostFilterOperator.ts → fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.ts} +0 -0
- package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.ts +65 -0
- package/src/stores/{QueryBuilderPostFilterState.ts → fetch-structure/projection/post-filter/QueryBuilderPostFilterState.ts} +35 -28
- package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.ts +131 -0
- package/src/stores/{QueryBuilderPostFilterProcessor.ts → fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationProcessor.ts} +13 -11
- package/src/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperatorHelper.ts +5 -5
- package/src/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_Contain.ts +12 -12
- package/src/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_EndWith.ts +12 -12
- package/src/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_Equal.ts +17 -17
- package/src/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_GreaterThan.ts +12 -12
- package/src/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_GreaterThanEqual.ts +2 -2
- package/src/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_In.ts +12 -12
- package/src/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_IsEmpty.ts +3 -3
- package/src/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_LessThan.ts +12 -12
- package/src/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_LessThanEqual.ts +2 -2
- package/src/stores/{postFilterOperators → fetch-structure/projection/post-filter/operators}/QueryBuilderPostFilterOperator_StartWith.ts +12 -12
- package/src/stores/filter/QueryBuilderFilterOperator.ts +52 -0
- package/src/stores/filter/QueryBuilderFilterOperatorLoader.ts +65 -0
- package/src/stores/{QueryBuilderFilterState.ts → filter/QueryBuilderFilterState.ts} +26 -148
- package/src/stores/filter/QueryBuilderValueSpecificationBuilder.ts +120 -0
- package/src/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperatorHelper.ts +4 -4
- package/src/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_Contain.ts +8 -8
- package/src/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_EndWith.ts +8 -8
- package/src/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_Equal.ts +10 -10
- package/src/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_GreaterThan.ts +9 -9
- package/src/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_GreaterThanEqual.ts +9 -9
- package/src/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_In.ts +7 -7
- package/src/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_IsEmpty.ts +6 -6
- package/src/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_LessThan.ts +9 -9
- package/src/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_LessThanEqual.ts +9 -9
- package/src/stores/{filterOperators → filter/operators}/QueryBuilderFilterOperator_StartWith.ts +7 -7
- package/tsconfig.json +75 -65
- package/lib/components/QueryBuilderExplorerPanel.d.ts.map +0 -1
- package/lib/components/QueryBuilderExplorerPanel.js.map +0 -1
- package/lib/components/QueryBuilderFetchStructurePanel.d.ts.map +0 -1
- package/lib/components/QueryBuilderFetchStructurePanel.js.map +0 -1
- package/lib/components/QueryBuilderFilterPanel.d.ts.map +0 -1
- package/lib/components/QueryBuilderFilterPanel.js.map +0 -1
- package/lib/components/QueryBuilderFunctionsExplorerPanel.d.ts.map +0 -1
- package/lib/components/QueryBuilderFunctionsExplorerPanel.js.map +0 -1
- package/lib/components/QueryBuilderGraphFetchTreePanel.d.ts.map +0 -1
- package/lib/components/QueryBuilderGraphFetchTreePanel.js.map +0 -1
- package/lib/components/QueryBuilderLambdaEditor.d.ts.map +0 -1
- package/lib/components/QueryBuilderLambdaEditor.js.map +0 -1
- package/lib/components/QueryBuilderMilestoneEditor.d.ts.map +0 -1
- package/lib/components/QueryBuilderMilestoneEditor.js.map +0 -1
- package/lib/components/QueryBuilderPanelIssueCountBadge.d.ts.map +0 -1
- package/lib/components/QueryBuilderPanelIssueCountBadge.js.map +0 -1
- package/lib/components/QueryBuilderPostFilterPanel.d.ts.map +0 -1
- package/lib/components/QueryBuilderPostFilterPanel.js.map +0 -1
- package/lib/components/QueryBuilderProjectionPanel.d.ts.map +0 -1
- package/lib/components/QueryBuilderProjectionPanel.js.map +0 -1
- package/lib/components/QueryBuilderPropertyInfoTooltip.d.ts.map +0 -1
- package/lib/components/QueryBuilderPropertyInfoTooltip.js.map +0 -1
- package/lib/components/QueryBuilderPropertySearchPanel.d.ts.map +0 -1
- package/lib/components/QueryBuilderPropertySearchPanel.js.map +0 -1
- package/lib/components/QueryBuilderResultModifierPanel.d.ts.map +0 -1
- package/lib/components/QueryBuilderResultModifierPanel.js.map +0 -1
- package/lib/stores/QueryBuilderAggregationState.d.ts.map +0 -1
- package/lib/stores/QueryBuilderAggregationState.js.map +0 -1
- package/lib/stores/QueryBuilderExplorerState.d.ts.map +0 -1
- package/lib/stores/QueryBuilderExplorerState.js.map +0 -1
- package/lib/stores/QueryBuilderFetchStructureState.d.ts.map +0 -1
- package/lib/stores/QueryBuilderFetchStructureState.js +0 -58
- package/lib/stores/QueryBuilderFetchStructureState.js.map +0 -1
- package/lib/stores/QueryBuilderFilterState.d.ts.map +0 -1
- package/lib/stores/QueryBuilderFilterState.js.map +0 -1
- package/lib/stores/QueryBuilderGraphFetchTreeState.d.ts.map +0 -1
- package/lib/stores/QueryBuilderGraphFetchTreeState.js.map +0 -1
- package/lib/stores/QueryBuilderGraphFetchTreeUtil.d.ts.map +0 -1
- package/lib/stores/QueryBuilderGraphFetchTreeUtil.js.map +0 -1
- package/lib/stores/QueryBuilderLambdaBuilder.d.ts.map +0 -1
- package/lib/stores/QueryBuilderLambdaBuilder.js.map +0 -1
- package/lib/stores/QueryBuilderLambdaProcessor.d.ts.map +0 -1
- package/lib/stores/QueryBuilderLambdaProcessor.js.map +0 -1
- package/lib/stores/QueryBuilderOperatorLoader.d.ts +0 -47
- package/lib/stores/QueryBuilderOperatorLoader.d.ts.map +0 -1
- package/lib/stores/QueryBuilderOperatorLoader.js +0 -94
- package/lib/stores/QueryBuilderOperatorLoader.js.map +0 -1
- package/lib/stores/QueryBuilderOperatorsHelper.d.ts.map +0 -1
- package/lib/stores/QueryBuilderOperatorsHelper.js.map +0 -1
- package/lib/stores/QueryBuilderPostFilterOperator.d.ts.map +0 -1
- package/lib/stores/QueryBuilderPostFilterOperator.js.map +0 -1
- package/lib/stores/QueryBuilderPostFilterProcessor.d.ts.map +0 -1
- package/lib/stores/QueryBuilderPostFilterProcessor.js.map +0 -1
- package/lib/stores/QueryBuilderPostFilterState.d.ts.map +0 -1
- package/lib/stores/QueryBuilderPostFilterState.js.map +0 -1
- package/lib/stores/QueryBuilderProjectionState.d.ts.map +0 -1
- package/lib/stores/QueryBuilderProjectionState.js +0 -416
- package/lib/stores/QueryBuilderProjectionState.js.map +0 -1
- package/lib/stores/QueryBuilderPropertySearchPanelState.d.ts.map +0 -1
- package/lib/stores/QueryBuilderPropertySearchPanelState.js.map +0 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts +0 -19
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts.map +0 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js +0 -50
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js.map +0 -1
- package/lib/stores/QueryFunctionsExplorerState.d.ts.map +0 -1
- package/lib/stores/QueryFunctionsExplorerState.js.map +0 -1
- package/lib/stores/QueryResultSetModifierState.d.ts.map +0 -1
- package/lib/stores/QueryResultSetModifierState.js +0 -165
- package/lib/stores/QueryResultSetModifierState.js.map +0 -1
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperatorHelper.d.ts.map +0 -1
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperatorHelper.js.map +0 -1
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Average.d.ts.map +0 -1
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Average.js.map +0 -1
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Count.d.ts.map +0 -1
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Count.js.map +0 -1
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Distinct.d.ts.map +0 -1
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Distinct.js.map +0 -1
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_DistinctCount.d.ts.map +0 -1
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_DistinctCount.js.map +0 -1
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_JoinString.d.ts.map +0 -1
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_JoinString.js.map +0 -1
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Max.d.ts.map +0 -1
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Max.js.map +0 -1
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Min.d.ts.map +0 -1
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Min.js.map +0 -1
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_StdDev_Population.d.ts.map +0 -1
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_StdDev_Population.js.map +0 -1
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts.map +0 -1
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_StdDev_Sample.js.map +0 -1
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Sum.d.ts.map +0 -1
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Sum.js.map +0 -1
- package/lib/stores/filterOperators/QueryBuilderFilterOperatorHelper.d.ts.map +0 -1
- package/lib/stores/filterOperators/QueryBuilderFilterOperatorHelper.js.map +0 -1
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_Contain.d.ts.map +0 -1
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_Contain.js.map +0 -1
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_EndWith.d.ts.map +0 -1
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_EndWith.js.map +0 -1
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_Equal.d.ts.map +0 -1
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_Equal.js.map +0 -1
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_GreaterThan.d.ts.map +0 -1
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_GreaterThan.js.map +0 -1
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts.map +0 -1
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_GreaterThanEqual.js.map +0 -1
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_In.d.ts.map +0 -1
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_In.js.map +0 -1
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_IsEmpty.d.ts.map +0 -1
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_IsEmpty.js.map +0 -1
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_LessThan.d.ts.map +0 -1
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_LessThan.js.map +0 -1
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_LessThanEqual.d.ts.map +0 -1
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_LessThanEqual.js.map +0 -1
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_StartWith.d.ts.map +0 -1
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_StartWith.js.map +0 -1
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperatorHelper.d.ts.map +0 -1
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperatorHelper.js.map +0 -1
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_Contain.d.ts.map +0 -1
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_Contain.js.map +0 -1
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_EndWith.d.ts.map +0 -1
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_EndWith.js.map +0 -1
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_Equal.d.ts.map +0 -1
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_Equal.js.map +0 -1
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_GreaterThan.d.ts.map +0 -1
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_GreaterThan.js.map +0 -1
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts.map +0 -1
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_GreaterThanEqual.js.map +0 -1
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_In.d.ts.map +0 -1
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_In.js.map +0 -1
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_IsEmpty.d.ts.map +0 -1
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_IsEmpty.js.map +0 -1
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_LessThan.d.ts.map +0 -1
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_LessThan.js.map +0 -1
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts.map +0 -1
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_LessThanEqual.js.map +0 -1
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_StartWith.d.ts.map +0 -1
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_StartWith.js.map +0 -1
- package/src/stores/QueryBuilderFetchStructureState.ts +0 -75
- package/src/stores/QueryBuilderOperatorLoader.ts +0 -133
- package/src/stores/QueryBuilderProjectionState.ts +0 -783
- package/src/stores/QueryBuilderValueSpecificationBuilderHelper.ts +0 -78
- package/src/stores/QueryResultSetModifierState.ts +0 -307
@@ -47,7 +47,7 @@ import {
|
|
47
47
|
generateFunctionsExplorerTreeNodeData,
|
48
48
|
getFunctionsExplorerTreeNodeChildren,
|
49
49
|
QUERY_BUILDER_FUNCTION_DND_TYPE,
|
50
|
-
} from '
|
50
|
+
} from '../../stores/explorer/QueryFunctionsExplorerState.js';
|
51
51
|
import { useDrag } from 'react-dnd';
|
52
52
|
import {
|
53
53
|
ConcreteFunctionDefinition,
|
@@ -57,7 +57,7 @@ import {
|
|
57
57
|
ROOT_PACKAGE_NAME,
|
58
58
|
getMultiplicityDescription,
|
59
59
|
} from '@finos/legend-graph';
|
60
|
-
import type { QueryBuilderState } from '
|
60
|
+
import type { QueryBuilderState } from '../../stores/QueryBuilderState.js';
|
61
61
|
|
62
62
|
const isDependencyTreeNode = (
|
63
63
|
node: QueryBuilderFunctionsExplorerTreeNodeData,
|
package/src/components/{QueryBuilderMilestoneEditor.tsx → explorer/QueryBuilderMilestoneEditor.tsx}
RENAMED
@@ -15,11 +15,11 @@
|
|
15
15
|
*/
|
16
16
|
|
17
17
|
import { observer } from 'mobx-react-lite';
|
18
|
-
import type { QueryBuilderState } from '
|
18
|
+
import type { QueryBuilderState } from '../../stores/QueryBuilderState.js';
|
19
19
|
import {
|
20
20
|
type QueryBuilderParameterDragSource,
|
21
21
|
QUERY_BUILDER_PARAMETER_DND_TYPE,
|
22
|
-
} from '
|
22
|
+
} from '../../stores/QueryParametersState.js';
|
23
23
|
import { useCallback } from 'react';
|
24
24
|
import {
|
25
25
|
type ValueSpecification,
|
@@ -33,9 +33,9 @@ import {
|
|
33
33
|
} from '@finos/legend-graph';
|
34
34
|
import { guaranteeNonNullable } from '@finos/legend-shared';
|
35
35
|
import { useDrop } from 'react-dnd';
|
36
|
-
import { VariableExpressionViewer } from '
|
36
|
+
import { VariableExpressionViewer } from '../QueryBuilderParameterPanel.js';
|
37
37
|
import { Dialog, PanelEntryDropZonePlaceholder } from '@finos/legend-art';
|
38
|
-
import { generateDefaultValueForPrimitiveType } from '
|
38
|
+
import { generateDefaultValueForPrimitiveType } from '../../stores/QueryBuilderValueSpecificationHelper.js';
|
39
39
|
import { BasicValueSpecificationEditor } from '@finos/legend-application';
|
40
40
|
|
41
41
|
const MilestoningParameterEditor = observer(
|
@@ -40,7 +40,7 @@ import {
|
|
40
40
|
import { guaranteeNonNullable } from '@finos/legend-shared';
|
41
41
|
import { observer } from 'mobx-react-lite';
|
42
42
|
import { useDrag } from 'react-dnd';
|
43
|
-
import { QUERY_BUILDER_PROPERTY_SEARCH_TYPE } from '
|
43
|
+
import { QUERY_BUILDER_PROPERTY_SEARCH_TYPE } from '../../QueryBuilder_Const.js';
|
44
44
|
import {
|
45
45
|
type QueryBuilderExplorerTreeNodeData,
|
46
46
|
QueryBuilderExplorerTreePropertyNodeData,
|
@@ -48,15 +48,15 @@ import {
|
|
48
48
|
QUERY_BUILDER_EXPLORER_TREE_DND_TYPE,
|
49
49
|
getQueryBuilderPropertyNodeData,
|
50
50
|
type QueryBuilderExplorerState,
|
51
|
-
} from '
|
52
|
-
import { prettyPropertyName } from '
|
53
|
-
import type { QueryBuilderState } from '
|
51
|
+
} from '../../stores/explorer/QueryBuilderExplorerState.js';
|
52
|
+
import { prettyPropertyName } from '../../stores/QueryBuilderPropertyEditorState.js';
|
53
|
+
import type { QueryBuilderState } from '../../stores/QueryBuilderState.js';
|
54
54
|
import {
|
55
55
|
QueryBuilderSubclassInfoTooltip,
|
56
56
|
renderPropertyTypeIcon,
|
57
57
|
} from './QueryBuilderExplorerPanel.js';
|
58
|
-
import { QueryBuilderPropertyInfoTooltip } from '
|
59
|
-
import { QUERY_BUILDER_TEST_ID } from '
|
58
|
+
import { QueryBuilderPropertyInfoTooltip } from '../shared/QueryBuilderPropertyInfoTooltip.js';
|
59
|
+
import { QUERY_BUILDER_TEST_ID } from '../QueryBuilder_TestID.js';
|
60
60
|
|
61
61
|
const prettyPropertyNameFromNodeId = (name: string): string => {
|
62
62
|
let propNameArray = name.split('.');
|
@@ -21,20 +21,20 @@ import {
|
|
21
21
|
PlusIcon,
|
22
22
|
OptionsIcon,
|
23
23
|
} from '@finos/legend-art';
|
24
|
-
import type { QueryBuilderState } from '
|
24
|
+
import type { QueryBuilderState } from '../../stores/QueryBuilderState.js';
|
25
25
|
import { prettyCONSTName } from '@finos/legend-shared';
|
26
26
|
import { QueryBuilderProjectionPanel } from './QueryBuilderProjectionPanel.js';
|
27
27
|
import { QueryBuilderGraphFetchTreePanel } from './QueryBuilderGraphFetchTreePanel.js';
|
28
|
-
import { FETCH_STRUCTURE_MODE } from '
|
29
|
-
import { QueryBuilderPostFilterState } from '
|
28
|
+
import { FETCH_STRUCTURE_MODE } from '../../stores/fetch-structure/QueryBuilderFetchStructureState.js';
|
29
|
+
import { QueryBuilderPostFilterState } from '../../stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js';
|
30
30
|
import {
|
31
31
|
ActionAlertActionType,
|
32
32
|
ActionAlertType,
|
33
33
|
useApplicationStore,
|
34
34
|
} from '@finos/legend-application';
|
35
|
-
import { QueryBuilderProjectionState } from '
|
36
|
-
import { QueryBuilderGraphFetchTreeState } from '
|
37
|
-
import { QueryBuilderPanelIssueCountBadge } from '
|
35
|
+
import { QueryBuilderProjectionState } from '../../stores/fetch-structure/projection/QueryBuilderProjectionState.js';
|
36
|
+
import { QueryBuilderGraphFetchTreeState } from '../../stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js';
|
37
|
+
import { QueryBuilderPanelIssueCountBadge } from '../shared/QueryBuilderPanelIssueCountBadge.js';
|
38
38
|
|
39
39
|
const QueryBuilderUnsupportedFetchStructure = observer(
|
40
40
|
(props: { mode: FETCH_STRUCTURE_MODE }) => {
|
@@ -61,7 +61,9 @@ export const QueryBuilderFetchStructurePanel = observer(
|
|
61
61
|
const fetchStructureStateMode = fetchStructureState.fetchStructureMode;
|
62
62
|
const applicationStore = useApplicationStore();
|
63
63
|
const openResultSetModifierEditor = (): void =>
|
64
|
-
queryBuilderState.resultSetModifierState.setShowModal(
|
64
|
+
queryBuilderState.fetchStructureState.projectionState.resultSetModifierState.setShowModal(
|
65
|
+
true,
|
66
|
+
);
|
65
67
|
const addNewBlankDerivation = (): void =>
|
66
68
|
fetchStructureState.projectionState.addNewBlankDerivation();
|
67
69
|
|
@@ -87,17 +89,21 @@ export const QueryBuilderFetchStructurePanel = observer(
|
|
87
89
|
);
|
88
90
|
}
|
89
91
|
};
|
92
|
+
|
90
93
|
const onChangeFetchStructureMode =
|
91
94
|
(fetchMode: FETCH_STRUCTURE_MODE): (() => void) =>
|
92
95
|
(): void => {
|
93
96
|
const reset = (): void => {
|
94
97
|
fetchStructureState.setFetchStructureMode(fetchMode);
|
95
98
|
queryBuilderState.changeFetchStructure();
|
96
|
-
queryBuilderState.postFilterState =
|
97
|
-
|
98
|
-
|
99
|
+
queryBuilderState.fetchStructureState.projectionState.postFilterState =
|
100
|
+
new QueryBuilderPostFilterState(
|
101
|
+
queryBuilderState.fetchStructureState.projectionState,
|
102
|
+
queryBuilderState.fetchStructureState.projectionState.postFilterOperators,
|
103
|
+
);
|
104
|
+
queryBuilderState.fetchStructureState.projectionState.setShowPostFilterPanel(
|
105
|
+
false,
|
99
106
|
);
|
100
|
-
queryBuilderState.setShowPostFilterPanel(false);
|
101
107
|
};
|
102
108
|
if (fetchStructureState.fetchStructureMode !== fetchMode) {
|
103
109
|
switch (fetchMode) {
|
@@ -111,8 +117,10 @@ export const QueryBuilderFetchStructurePanel = observer(
|
|
111
117
|
) {
|
112
118
|
applicationStore.setActionAlertInfo({
|
113
119
|
message:
|
114
|
-
queryBuilderState.
|
115
|
-
|
120
|
+
queryBuilderState.fetchStructureState.projectionState
|
121
|
+
.showPostFilterPanel &&
|
122
|
+
queryBuilderState.fetchStructureState.projectionState
|
123
|
+
.postFilterState.nodes.size > 0
|
116
124
|
? 'With graph-fetch mode, post filter is not supported. Current projection columns and post filters will be lost when switching to the graph-fetch mode. Do you still want to proceed?'
|
117
125
|
: 'Current projection columns will be lost when switching to the graph-fetch mode. Do you still want to proceed?',
|
118
126
|
type: ActionAlertType.CAUTION,
|
@@ -125,7 +133,7 @@ export const QueryBuilderFetchStructurePanel = observer(
|
|
125
133
|
queryBuilderState.fetchStructureState.projectionState =
|
126
134
|
new QueryBuilderProjectionState(
|
127
135
|
queryBuilderState,
|
128
|
-
queryBuilderState.fetchStructureState
|
136
|
+
queryBuilderState.fetchStructureState,
|
129
137
|
);
|
130
138
|
reset();
|
131
139
|
},
|
@@ -161,6 +169,7 @@ export const QueryBuilderFetchStructurePanel = observer(
|
|
161
169
|
queryBuilderState.fetchStructureState.graphFetchTreeState =
|
162
170
|
new QueryBuilderGraphFetchTreeState(
|
163
171
|
queryBuilderState,
|
172
|
+
queryBuilderState.fetchStructureState,
|
164
173
|
);
|
165
174
|
reset();
|
166
175
|
},
|
@@ -30,21 +30,21 @@ import {
|
|
30
30
|
InfoCircleIcon,
|
31
31
|
PanelDropZone,
|
32
32
|
} from '@finos/legend-art';
|
33
|
-
import type { QueryBuilderState } from '
|
34
|
-
import { QUERY_BUILDER_TEST_ID } from '
|
33
|
+
import type { QueryBuilderState } from '../../stores/QueryBuilderState.js';
|
34
|
+
import { QUERY_BUILDER_TEST_ID } from '../QueryBuilder_TestID.js';
|
35
35
|
import { isNonNullable } from '@finos/legend-shared';
|
36
36
|
import {
|
37
37
|
type QueryBuilderGraphFetchTreeData,
|
38
38
|
type QueryBuilderGraphFetchTreeNodeData,
|
39
39
|
removeNodeRecursively,
|
40
40
|
isGraphFetchTreeDataEmpty,
|
41
|
-
} from '
|
41
|
+
} from '../../stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js';
|
42
42
|
import {
|
43
43
|
type QueryBuilderExplorerTreeDragSource,
|
44
44
|
QUERY_BUILDER_EXPLORER_TREE_DND_TYPE,
|
45
|
-
} from '
|
46
|
-
import type { QueryBuilderGraphFetchTreeState } from '
|
47
|
-
import { getClassPropertyIcon } from '
|
45
|
+
} from '../../stores/explorer/QueryBuilderExplorerState.js';
|
46
|
+
import type { QueryBuilderGraphFetchTreeState } from '../../stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js';
|
47
|
+
import { getClassPropertyIcon } from '../shared/ElementIconUtils.js';
|
48
48
|
|
49
49
|
const QueryBuilderGraphFetchTreeNodeContainer: React.FC<
|
50
50
|
TreeNodeContainerProps<
|
@@ -71,13 +71,9 @@ import { flowResult } from 'mobx';
|
|
71
71
|
import { observer } from 'mobx-react-lite';
|
72
72
|
import { forwardRef, useCallback, useMemo, useRef, useState } from 'react';
|
73
73
|
import { useDrop, useDrag } from 'react-dnd';
|
74
|
-
import { getColumnMultiplicity } from '
|
75
|
-
import { QueryBuilderAggregateColumnState } from '
|
76
|
-
import {
|
77
|
-
isTypeCompatibleWithConditionValueType,
|
78
|
-
QUERY_BUILDER_GROUP_OPERATION,
|
79
|
-
} from '../stores/QueryBuilderOperatorsHelper.js';
|
80
|
-
import type { QueryBuilderPostFilterOperator } from '../stores/QueryBuilderPostFilterOperator.js';
|
74
|
+
import { getColumnMultiplicity } from '../../stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js';
|
75
|
+
import { QueryBuilderAggregateColumnState } from '../../stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.js';
|
76
|
+
import type { QueryBuilderPostFilterOperator } from '../../stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.js';
|
81
77
|
import {
|
82
78
|
type QueryBuilderPostFilterTreeNodeData,
|
83
79
|
type QueryBuilderPostFilterDropTarget,
|
@@ -87,19 +83,21 @@ import {
|
|
87
83
|
QueryBuilderPostFilterTreeGroupNodeData,
|
88
84
|
QUERY_BUILDER_POST_FILTER_DND_TYPE,
|
89
85
|
QueryBuilderPostFilterTreeBlankConditionNodeData,
|
90
|
-
} from '
|
86
|
+
} from '../../stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js';
|
91
87
|
import {
|
92
88
|
type QueryBuilderProjectionColumnState,
|
93
89
|
type QueryBuilderProjectionColumnDragSource,
|
94
90
|
QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE,
|
95
91
|
QueryBuilderDerivationProjectionColumnState,
|
96
|
-
} from '
|
97
|
-
import type { QueryBuilderState } from '
|
92
|
+
} from '../../stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js';
|
93
|
+
import type { QueryBuilderState } from '../../stores/QueryBuilderState.js';
|
98
94
|
import {
|
99
95
|
type QueryBuilderParameterDragSource,
|
100
96
|
QUERY_BUILDER_PARAMETER_DND_TYPE,
|
101
|
-
} from '
|
102
|
-
import { QUERY_BUILDER_TEST_ID } from '
|
97
|
+
} from '../../stores/QueryParametersState.js';
|
98
|
+
import { QUERY_BUILDER_TEST_ID } from '../QueryBuilder_TestID.js';
|
99
|
+
import { isTypeCompatibleForAssignment } from '../../stores/QueryBuilderValueSpecificationHelper.js';
|
100
|
+
import { QUERY_BUILDER_GROUP_OPERATION } from '../../stores/QueryBuilderGroupOperationHelper.js';
|
103
101
|
|
104
102
|
const QueryBuilderPostFilterConditionContextMenu = observer(
|
105
103
|
forwardRef<
|
@@ -110,7 +108,8 @@ const QueryBuilderPostFilterConditionContextMenu = observer(
|
|
110
108
|
}
|
111
109
|
>(function QueryBuilderPostFilterConditionContextMenu(props, ref) {
|
112
110
|
const { queryBuilderState, node } = props;
|
113
|
-
const postFilterState =
|
111
|
+
const postFilterState =
|
112
|
+
queryBuilderState.fetchStructureState.projectionState.postFilterState;
|
114
113
|
const removeNode = (): void =>
|
115
114
|
postFilterState.removeNodeAndPruneBranch(node);
|
116
115
|
const createCondition = (): void => {
|
@@ -291,6 +290,7 @@ export const QueryBuilderColumnBadge = observer(
|
|
291
290
|
) => Promise<void>;
|
292
291
|
}) => {
|
293
292
|
const { postFilterConditionState, onColumnChange } = props;
|
293
|
+
const applicationStore = useApplicationStore();
|
294
294
|
const type = postFilterConditionState.columnState.getReturnType();
|
295
295
|
const handleDrop = useCallback(
|
296
296
|
(item: QueryBuilderProjectionColumnDragSource): Promise<void> =>
|
@@ -306,17 +306,14 @@ export const QueryBuilderColumnBadge = observer(
|
|
306
306
|
accept: [QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE],
|
307
307
|
drop: (item, monitor): void => {
|
308
308
|
if (!monitor.didDrop()) {
|
309
|
-
handleDrop(item).catch(
|
310
|
-
postFilterConditionState.postFilterState.queryBuilderState
|
311
|
-
.applicationStore.alertUnhandledError,
|
312
|
-
);
|
309
|
+
handleDrop(item).catch(applicationStore.alertUnhandledError);
|
313
310
|
} // prevent drop event propagation to accomondate for nested DnD
|
314
311
|
},
|
315
312
|
collect: (monitor) => ({
|
316
313
|
isDragOver: monitor.isOver({ shallow: true }),
|
317
314
|
}),
|
318
315
|
}),
|
319
|
-
[handleDrop],
|
316
|
+
[applicationStore, handleDrop],
|
320
317
|
);
|
321
318
|
|
322
319
|
return (
|
@@ -368,7 +365,8 @@ const QueryBuilderPostFilterConditionEditor = observer(
|
|
368
365
|
}) => {
|
369
366
|
const { node, isDragOver } = props;
|
370
367
|
const graph =
|
371
|
-
node.condition.postFilterState.queryBuilderState
|
368
|
+
node.condition.postFilterState.projectionState.queryBuilderState
|
369
|
+
.graphManagerState.graph;
|
372
370
|
const applicationStore = useApplicationStore();
|
373
371
|
const changeOperator = (val: QueryBuilderPostFilterOperator) => (): void =>
|
374
372
|
node.condition.changeOperator(val);
|
@@ -391,10 +389,7 @@ const QueryBuilderPostFilterConditionEditor = observer(
|
|
391
389
|
const conditionValueType = node.condition.columnState.getReturnType();
|
392
390
|
if (
|
393
391
|
conditionValueType &&
|
394
|
-
|
395
|
-
parameterType,
|
396
|
-
conditionValueType,
|
397
|
-
)
|
392
|
+
isTypeCompatibleForAssignment(parameterType, conditionValueType)
|
398
393
|
) {
|
399
394
|
node.condition.setValue(item.variable.parameter);
|
400
395
|
} else {
|
@@ -564,7 +559,8 @@ const QueryBuilderPostFilterTreeNodeContainer = observer(
|
|
564
559
|
const [isSelectedFromContextMenu, setIsSelectedFromContextMenu] =
|
565
560
|
useState(false);
|
566
561
|
const applicationStore = useApplicationStore();
|
567
|
-
const postFilterState =
|
562
|
+
const postFilterState =
|
563
|
+
queryBuilderState.fetchStructureState.projectionState.postFilterState;
|
568
564
|
const isExpandable =
|
569
565
|
node instanceof QueryBuilderPostFilterTreeGroupNodeData;
|
570
566
|
const selectNode = (): void => onNodeSelect?.(node);
|
@@ -804,7 +800,8 @@ const QueryBuilderPostFilterTreeNodeView = observer(
|
|
804
800
|
const QueryBuilderPostFilterTree = observer(
|
805
801
|
(props: { queryBuilderState: QueryBuilderState }) => {
|
806
802
|
const { queryBuilderState } = props;
|
807
|
-
const postFilterState =
|
803
|
+
const postFilterState =
|
804
|
+
queryBuilderState.fetchStructureState.projectionState.postFilterState;
|
808
805
|
const rootNodes = postFilterState.rootIds.map((rootId) =>
|
809
806
|
postFilterState.getNode(rootId),
|
810
807
|
);
|
@@ -844,7 +841,8 @@ export const QueryBuilderPostFilterPanel = observer(
|
|
844
841
|
(props: { queryBuilderState: QueryBuilderState }) => {
|
845
842
|
const { queryBuilderState } = props;
|
846
843
|
const applicationStore = useApplicationStore();
|
847
|
-
const postFilterState =
|
844
|
+
const postFilterState =
|
845
|
+
queryBuilderState.fetchStructureState.projectionState.postFilterState;
|
848
846
|
const rootNode = postFilterState.getRootNode();
|
849
847
|
// actions
|
850
848
|
const collapseTree = (): void => {
|
@@ -955,16 +953,14 @@ export const QueryBuilderPostFilterPanel = observer(
|
|
955
953
|
accept: [QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE],
|
956
954
|
drop: (item, monitor): void => {
|
957
955
|
if (!monitor.didDrop()) {
|
958
|
-
handleDrop(item).catch(
|
959
|
-
queryBuilderState.applicationStore.alertUnhandledError,
|
960
|
-
);
|
956
|
+
handleDrop(item).catch(applicationStore.alertUnhandledError);
|
961
957
|
} // prevent drop event propagation to accomondate for nested DnD
|
962
958
|
},
|
963
959
|
collect: (monitor) => ({
|
964
960
|
isDragOver: monitor.isOver({ shallow: true }),
|
965
961
|
}),
|
966
962
|
}),
|
967
|
-
[handleDrop],
|
963
|
+
[applicationStore, handleDrop],
|
968
964
|
);
|
969
965
|
return (
|
970
966
|
<div
|
@@ -38,7 +38,7 @@ import {
|
|
38
38
|
type QueryBuilderExplorerTreePropertyNodeData,
|
39
39
|
buildPropertyExpressionFromExplorerTreeNodeData,
|
40
40
|
QUERY_BUILDER_EXPLORER_TREE_DND_TYPE,
|
41
|
-
} from '
|
41
|
+
} from '../../stores/explorer/QueryBuilderExplorerState.js';
|
42
42
|
import { type DropTargetMonitor, useDrag, useDrop } from 'react-dnd';
|
43
43
|
import {
|
44
44
|
type QueryBuilderProjectionColumnDragSource,
|
@@ -46,22 +46,19 @@ import {
|
|
46
46
|
QueryBuilderDerivationProjectionColumnState,
|
47
47
|
QueryBuilderSimpleProjectionColumnState,
|
48
48
|
QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE,
|
49
|
-
} from '
|
50
|
-
import { QueryBuilderPropertyExpressionBadge } from '
|
51
|
-
import type { QueryBuilderState } from '
|
49
|
+
} from '../../stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js';
|
50
|
+
import { QueryBuilderPropertyExpressionBadge } from '../QueryBuilderPropertyExpressionEditor.js';
|
51
|
+
import type { QueryBuilderState } from '../../stores/QueryBuilderState.js';
|
52
52
|
import { QueryResultModifierModal } from './QueryBuilderResultModifierPanel.js';
|
53
|
-
import { QUERY_BUILDER_TEST_ID } from '
|
54
|
-
import {
|
55
|
-
type QueryBuilderAggregateOperator,
|
56
|
-
QueryBuilderAggregateColumnState,
|
57
|
-
} from '../stores/QueryBuilderAggregationState.js';
|
53
|
+
import { QUERY_BUILDER_TEST_ID } from '../QueryBuilder_TestID.js';
|
54
|
+
import { QueryBuilderAggregateColumnState } from '../../stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.js';
|
58
55
|
import { flowResult } from 'mobx';
|
59
|
-
import { QueryBuilderLambdaEditor } from '
|
56
|
+
import { QueryBuilderLambdaEditor } from '../shared/QueryBuilderLambdaEditor.js';
|
60
57
|
import { useApplicationStore } from '@finos/legend-application';
|
61
58
|
import {
|
62
59
|
type QueryBuilderParameterDragSource,
|
63
60
|
QUERY_BUILDER_PARAMETER_DND_TYPE,
|
64
|
-
} from '
|
61
|
+
} from '../../stores/QueryParametersState.js';
|
65
62
|
import {
|
66
63
|
type ConcreteFunctionDefinition,
|
67
64
|
generateFunctionCallString,
|
@@ -71,10 +68,11 @@ import {
|
|
71
68
|
import {
|
72
69
|
type QueryBuilderFunctionsExplorerDragSource,
|
73
70
|
QUERY_BUILDER_FUNCTION_DND_TYPE,
|
74
|
-
} from '
|
75
|
-
import { DEFAULT_LAMBDA_VARIABLE_NAME } from '
|
76
|
-
import { QueryBuilderPostFilterTreeConditionNodeData } from '
|
71
|
+
} from '../../stores/explorer/QueryFunctionsExplorerState.js';
|
72
|
+
import { DEFAULT_LAMBDA_VARIABLE_NAME } from '../../QueryBuilder_Const.js';
|
73
|
+
import { QueryBuilderPostFilterTreeConditionNodeData } from '../../stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js';
|
77
74
|
import { filterByType } from '@finos/legend-shared';
|
75
|
+
import type { QueryBuilderAggregateOperator } from '../../stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.js';
|
78
76
|
|
79
77
|
const QueryBuilderProjectionColumnContextMenu = observer(
|
80
78
|
forwardRef<
|
@@ -241,7 +239,7 @@ const QueryBuilderProjectionColumnEditor = observer(
|
|
241
239
|
const projectionState =
|
242
240
|
queryBuilderState.fetchStructureState.projectionState;
|
243
241
|
const postFilterColumnStates = Array.from(
|
244
|
-
|
242
|
+
projectionState.postFilterState.nodes.values(),
|
245
243
|
)
|
246
244
|
.filter(filterByType(QueryBuilderPostFilterTreeConditionNodeData))
|
247
245
|
.map((n) => n.condition.columnState);
|
@@ -28,9 +28,9 @@ import {
|
|
28
28
|
import {
|
29
29
|
COLUMN_SORT_TYPE,
|
30
30
|
SortColumnState,
|
31
|
-
} from '
|
32
|
-
import type { QueryBuilderState } from '
|
33
|
-
import type { QueryBuilderProjectionColumnState } from '
|
31
|
+
} from '../../stores/fetch-structure/projection/QueryResultSetModifierState.js';
|
32
|
+
import type { QueryBuilderState } from '../../stores/QueryBuilderState.js';
|
33
|
+
import type { QueryBuilderProjectionColumnState } from '../../stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js';
|
34
34
|
import { guaranteeNonNullable } from '@finos/legend-shared';
|
35
35
|
import { useApplicationStore } from '@finos/legend-application';
|
36
36
|
|
@@ -43,7 +43,9 @@ const ColumnSortEditor = observer(
|
|
43
43
|
const applicationStore = useApplicationStore();
|
44
44
|
const projectionState =
|
45
45
|
queryBuilderState.fetchStructureState.projectionState;
|
46
|
-
const sortColumns =
|
46
|
+
const sortColumns =
|
47
|
+
queryBuilderState.fetchStructureState.projectionState
|
48
|
+
.resultSetModifierState.sortColumns;
|
47
49
|
const projectionOptions = projectionState.columns
|
48
50
|
.filter(
|
49
51
|
(projectionCol) =>
|
@@ -74,7 +76,10 @@ const ColumnSortEditor = observer(
|
|
74
76
|
);
|
75
77
|
};
|
76
78
|
const deleteColumnSort = (): void =>
|
77
|
-
queryBuilderState.resultSetModifierState.deleteSortColumn(
|
79
|
+
queryBuilderState.fetchStructureState.projectionState.resultSetModifierState.deleteSortColumn(
|
80
|
+
columnSort,
|
81
|
+
);
|
82
|
+
|
78
83
|
return (
|
79
84
|
<div className="panel__content__form__section__list__item query-builder__projection__options__sort">
|
80
85
|
<CustomSelectorInput
|
@@ -112,7 +117,9 @@ const ColumnSortEditor = observer(
|
|
112
117
|
const ColumnsSortEditor = observer(
|
113
118
|
(props: { queryBuilderState: QueryBuilderState }) => {
|
114
119
|
const { queryBuilderState } = props;
|
115
|
-
const resultModifier =
|
120
|
+
const resultModifier =
|
121
|
+
queryBuilderState.fetchStructureState.projectionState
|
122
|
+
.resultSetModifierState;
|
116
123
|
const sortColumns = resultModifier.sortColumns;
|
117
124
|
const projectionState =
|
118
125
|
queryBuilderState.fetchStructureState.projectionState;
|
@@ -128,7 +135,6 @@ const ColumnsSortEditor = observer(
|
|
128
135
|
const addValue = (): void => {
|
129
136
|
if (projectionOptions.length > 0) {
|
130
137
|
const sortColumn = new SortColumnState(
|
131
|
-
queryBuilderState,
|
132
138
|
guaranteeNonNullable(projectionOptions[0]).value,
|
133
139
|
);
|
134
140
|
resultModifier.addSortColumn(sortColumn);
|
@@ -173,7 +179,9 @@ const ColumnsSortEditor = observer(
|
|
173
179
|
export const QueryResultModifierModal = observer(
|
174
180
|
(props: { queryBuilderState: QueryBuilderState }) => {
|
175
181
|
const { queryBuilderState } = props;
|
176
|
-
const resultModifier =
|
182
|
+
const resultModifier =
|
183
|
+
queryBuilderState.fetchStructureState.projectionState
|
184
|
+
.resultSetModifierState;
|
177
185
|
const limitResults = resultModifier.limit;
|
178
186
|
const distinct = resultModifier.distinct;
|
179
187
|
const close = (): void => resultModifier.setShowModal(false);
|
@@ -47,28 +47,27 @@ import {
|
|
47
47
|
type QueryBuilderFilterConditionDragSource,
|
48
48
|
type QueryBuilderFilterDropTarget,
|
49
49
|
type QueryBuilderFilterTreeNodeData,
|
50
|
-
type QueryBuilderFilterOperator,
|
51
50
|
QUERY_BUILDER_FILTER_DND_TYPE,
|
52
51
|
FilterConditionState,
|
53
52
|
QueryBuilderFilterTreeConditionNodeData,
|
54
53
|
QueryBuilderFilterTreeBlankConditionNodeData,
|
55
54
|
QueryBuilderFilterTreeGroupNodeData,
|
56
|
-
} from '
|
55
|
+
} from '../../stores/filter/QueryBuilderFilterState.js';
|
57
56
|
import { useDrag, useDrop } from 'react-dnd';
|
58
57
|
import {
|
59
58
|
type QueryBuilderExplorerTreeDragSource,
|
60
59
|
type QueryBuilderExplorerTreePropertyNodeData,
|
61
60
|
buildPropertyExpressionFromExplorerTreeNodeData,
|
62
61
|
QUERY_BUILDER_EXPLORER_TREE_DND_TYPE,
|
63
|
-
} from '
|
64
|
-
import { QueryBuilderPropertyExpressionBadge } from '
|
65
|
-
import type { QueryBuilderState } from '
|
62
|
+
} from '../../stores/explorer/QueryBuilderExplorerState.js';
|
63
|
+
import { QueryBuilderPropertyExpressionBadge } from '../QueryBuilderPropertyExpressionEditor.js';
|
64
|
+
import type { QueryBuilderState } from '../../stores/QueryBuilderState.js';
|
66
65
|
import {
|
67
66
|
assertErrorThrown,
|
68
67
|
debounce,
|
69
68
|
UnsupportedOperationError,
|
70
69
|
} from '@finos/legend-shared';
|
71
|
-
import { QUERY_BUILDER_TEST_ID } from '
|
70
|
+
import { QUERY_BUILDER_TEST_ID } from '../QueryBuilder_TestID.js';
|
72
71
|
import {
|
73
72
|
useApplicationStore,
|
74
73
|
BasicValueSpecificationEditor,
|
@@ -76,17 +75,16 @@ import {
|
|
76
75
|
import {
|
77
76
|
type QueryBuilderParameterDragSource,
|
78
77
|
QUERY_BUILDER_PARAMETER_DND_TYPE,
|
79
|
-
} from '
|
80
|
-
import {
|
81
|
-
isTypeCompatibleWithConditionValueType,
|
82
|
-
QUERY_BUILDER_GROUP_OPERATION,
|
83
|
-
} from '../stores/QueryBuilderOperatorsHelper.js';
|
78
|
+
} from '../../stores/QueryParametersState.js';
|
84
79
|
import type { ValueSpecification } from '@finos/legend-graph';
|
85
80
|
import {
|
86
81
|
type QueryBuilderProjectionColumnDragSource,
|
87
82
|
QueryBuilderSimpleProjectionColumnState,
|
88
83
|
QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE,
|
89
|
-
} from '
|
84
|
+
} from '../../stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js';
|
85
|
+
import type { QueryBuilderFilterOperator } from '../../stores/filter/QueryBuilderFilterOperator.js';
|
86
|
+
import { isTypeCompatibleForAssignment } from '../../stores/QueryBuilderValueSpecificationHelper.js';
|
87
|
+
import { QUERY_BUILDER_GROUP_OPERATION } from '../../stores/QueryBuilderGroupOperationHelper.js';
|
90
88
|
|
91
89
|
const QueryBuilderFilterGroupConditionEditor = observer(
|
92
90
|
(props: {
|
@@ -166,12 +164,7 @@ const QueryBuilderFilterConditionEditor = observer(
|
|
166
164
|
const conditionValueType =
|
167
165
|
node.condition.propertyExpressionState.propertyExpression.func
|
168
166
|
.genericType.value.rawType;
|
169
|
-
if (
|
170
|
-
isTypeCompatibleWithConditionValueType(
|
171
|
-
parameterType,
|
172
|
-
conditionValueType,
|
173
|
-
)
|
174
|
-
) {
|
167
|
+
if (isTypeCompatibleForAssignment(parameterType, conditionValueType)) {
|
175
168
|
node.condition.setValue(item.variable.parameter);
|
176
169
|
} else {
|
177
170
|
applicationStore.notifyWarning(
|
@@ -770,7 +763,7 @@ export const QueryBuilderFilterPanel = observer(
|
|
770
763
|
{ isDragOver: boolean }
|
771
764
|
>(
|
772
765
|
() => ({
|
773
|
-
accept: queryBuilderState.mode.
|
766
|
+
accept: queryBuilderState.mode.isDnDFetchStructureToFilterSupported
|
774
767
|
? [
|
775
768
|
QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.ENUM_PROPERTY,
|
776
769
|
QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.PRIMITIVE_PROPERTY,
|
@@ -18,7 +18,7 @@ import { flowResult } from 'mobx';
|
|
18
18
|
import { observer } from 'mobx-react-lite';
|
19
19
|
import { type IKeyboardEvent, KeyCode } from 'monaco-editor';
|
20
20
|
import { useCallback, useMemo } from 'react';
|
21
|
-
import type { QueryBuilderState } from '
|
21
|
+
import type { QueryBuilderState } from '../../stores/QueryBuilderState.js';
|
22
22
|
import type { Type } from '@finos/legend-graph';
|
23
23
|
import {
|
24
24
|
useApplicationStore,
|
File without changes
|
File without changes
|
package/src/index.ts
CHANGED
@@ -49,7 +49,3 @@ export {
|
|
49
49
|
StandardQueryBuilderMode,
|
50
50
|
QueryBuilderState,
|
51
51
|
} from './stores/QueryBuilderState.js';
|
52
|
-
export { QueryBuilderExplorerTreeRootNodeData } from './stores/QueryBuilderExplorerState.js';
|
53
|
-
export { FETCH_STRUCTURE_MODE } from './stores/QueryBuilderFetchStructureState.js';
|
54
|
-
export { COLUMN_SORT_TYPE } from './stores/QueryResultSetModifierState.js';
|
55
|
-
export { QueryBuilderSimpleProjectionColumnState } from './stores/QueryBuilderProjectionState.js';
|
@@ -15,14 +15,10 @@
|
|
15
15
|
*/
|
16
16
|
|
17
17
|
import type { DepotServerClient } from '@finos/legend-server-depot';
|
18
|
-
import {
|
19
|
-
type ApplicationStore,
|
20
|
-
LegendApplicationSDLCSetupState,
|
21
|
-
} from '@finos/legend-application';
|
18
|
+
import type { ApplicationStore } from '@finos/legend-application';
|
22
19
|
import type { LegendQueryPluginManager } from '../application/LegendQueryPluginManager.js';
|
23
20
|
import type { LegendQueryApplicationConfig } from '../application/LegendQueryApplicationConfig.js';
|
24
21
|
import type { LegendQueryApplicationPlugin } from './LegendQueryApplicationPlugin.js';
|
25
|
-
import type { SDLCServerClient } from '@finos/legend-server-sdlc';
|
26
22
|
|
27
23
|
export type LegendQueryApplicationStore = ApplicationStore<
|
28
24
|
LegendQueryApplicationConfig,
|
@@ -33,26 +29,17 @@ export class LegendQueryBaseStore {
|
|
33
29
|
applicationStore: LegendQueryApplicationStore;
|
34
30
|
depotServerClient: DepotServerClient;
|
35
31
|
pluginManager: LegendQueryPluginManager;
|
36
|
-
applicationSDLCSetupState: LegendApplicationSDLCSetupState;
|
37
32
|
|
38
33
|
constructor(
|
39
34
|
applicationStore: LegendQueryApplicationStore,
|
40
35
|
depotServerClient: DepotServerClient,
|
41
|
-
sdlcServerClient: SDLCServerClient,
|
42
36
|
pluginManager: LegendQueryPluginManager,
|
43
37
|
) {
|
44
38
|
this.applicationStore = applicationStore;
|
45
|
-
this.applicationSDLCSetupState = new LegendApplicationSDLCSetupState(
|
46
|
-
applicationStore,
|
47
|
-
sdlcServerClient,
|
48
|
-
);
|
49
39
|
this.depotServerClient = depotServerClient;
|
50
40
|
this.pluginManager = pluginManager;
|
51
41
|
|
52
42
|
// Register plugins
|
53
|
-
this.applicationSDLCSetupState.sdlcServerClient.setTracerService(
|
54
|
-
this.applicationStore.tracerService,
|
55
|
-
);
|
56
43
|
this.depotServerClient.setTracerService(
|
57
44
|
this.applicationStore.tracerService,
|
58
45
|
);
|