@finos/legend-query-builder 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +201 -0
- package/README.md +3 -0
- package/lib/components/QueryBuilder.d.ts +22 -0
- package/lib/components/QueryBuilder.d.ts.map +1 -0
- package/lib/components/QueryBuilder.js +111 -0
- package/lib/components/QueryBuilder.js.map +1 -0
- package/lib/components/QueryBuilderComponentTestUtils.d.ts +24 -0
- package/lib/components/QueryBuilderComponentTestUtils.d.ts.map +1 -0
- package/lib/components/QueryBuilderComponentTestUtils.js +54 -0
- package/lib/components/QueryBuilderComponentTestUtils.js.map +1 -0
- package/lib/components/QueryBuilderParametersPanel.d.ts +31 -0
- package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -0
- package/lib/components/QueryBuilderParametersPanel.js +128 -0
- package/lib/components/QueryBuilderParametersPanel.js.map +1 -0
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts +29 -0
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +1 -0
- package/lib/components/QueryBuilderPropertyExpressionEditor.js +116 -0
- package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -0
- package/lib/components/QueryBuilderResultPanel.d.ts +22 -0
- package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -0
- package/lib/components/QueryBuilderResultPanel.js +242 -0
- package/lib/components/QueryBuilderResultPanel.js.map +1 -0
- package/lib/components/QueryBuilderSideBar.d.ts +41 -0
- package/lib/components/QueryBuilderSideBar.d.ts.map +1 -0
- package/lib/components/QueryBuilderSideBar.js +169 -0
- package/lib/components/QueryBuilderSideBar.js.map +1 -0
- package/lib/components/QueryBuilderTextEditor.d.ts +22 -0
- package/lib/components/QueryBuilderTextEditor.d.ts.map +1 -0
- package/lib/components/QueryBuilderTextEditor.js +48 -0
- package/lib/components/QueryBuilderTextEditor.js.map +1 -0
- package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts +22 -0
- package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts.map +1 -0
- package/lib/components/QueryBuilderUnsupportedQueryEditor.js +36 -0
- package/lib/components/QueryBuilderUnsupportedQueryEditor.js.map +1 -0
- package/lib/components/QueryBuilder_TestID.d.ts +26 -0
- package/lib/components/QueryBuilder_TestID.d.ts.map +1 -0
- package/lib/components/QueryBuilder_TestID.js +27 -0
- package/lib/components/QueryBuilder_TestID.js.map +1 -0
- package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts +36 -0
- package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts.map +1 -0
- package/lib/components/explorer/QueryBuilderExplorerPanel.js +340 -0
- package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -0
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts +22 -0
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts.map +1 -0
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js +147 -0
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js.map +1 -0
- package/lib/components/explorer/QueryBuilderMilestoneEditor.d.ts +22 -0
- package/lib/components/explorer/QueryBuilderMilestoneEditor.d.ts.map +1 -0
- package/lib/components/explorer/QueryBuilderMilestoneEditor.js +122 -0
- package/lib/components/explorer/QueryBuilderMilestoneEditor.js.map +1 -0
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts +23 -0
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts.map +1 -0
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js +200 -0
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +1 -0
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts +22 -0
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts.map +1 -0
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js +52 -0
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js.map +1 -0
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts +31 -0
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +1 -0
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js +94 -0
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +1 -0
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts +30 -0
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -0
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +378 -0
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -0
- package/lib/components/fetch-structure/QueryBuilderProjectionPanel.d.ts +22 -0
- package/lib/components/fetch-structure/QueryBuilderProjectionPanel.d.ts.map +1 -0
- package/lib/components/fetch-structure/QueryBuilderProjectionPanel.js +216 -0
- package/lib/components/fetch-structure/QueryBuilderProjectionPanel.js.map +1 -0
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts +22 -0
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -0
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +88 -0
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -0
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts +22 -0
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -0
- package/lib/components/filter/QueryBuilderFilterPanel.js +316 -0
- package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -0
- package/lib/components/shared/ElementIconUtils.d.ts +18 -0
- package/lib/components/shared/ElementIconUtils.d.ts.map +1 -0
- package/lib/components/shared/ElementIconUtils.js +37 -0
- package/lib/components/shared/ElementIconUtils.js.map +1 -0
- package/lib/components/shared/QueryBuilderLambdaEditor.d.ts +42 -0
- package/lib/components/shared/QueryBuilderLambdaEditor.d.ts.map +1 -0
- package/lib/components/shared/QueryBuilderLambdaEditor.js +47 -0
- package/lib/components/shared/QueryBuilderLambdaEditor.js.map +1 -0
- package/lib/components/shared/QueryBuilderPanelIssueCountBadge.d.ts +20 -0
- package/lib/components/shared/QueryBuilderPanelIssueCountBadge.d.ts.map +1 -0
- package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js +28 -0
- package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js.map +1 -0
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.d.ts +26 -0
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.d.ts.map +1 -0
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js +32 -0
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js.map +1 -0
- package/lib/components/workflows/ClassQueryBuilder.d.ts +18 -0
- package/lib/components/workflows/ClassQueryBuilder.d.ts.map +1 -0
- package/lib/components/workflows/ClassQueryBuilder.js +87 -0
- package/lib/components/workflows/ClassQueryBuilder.js.map +1 -0
- package/lib/components/workflows/MappingQueryBuilder.d.ts +18 -0
- package/lib/components/workflows/MappingQueryBuilder.d.ts.map +1 -0
- package/lib/components/workflows/MappingQueryBuilder.js +88 -0
- package/lib/components/workflows/MappingQueryBuilder.js.map +1 -0
- package/lib/components/workflows/ServiceQueryBuilder.d.ts +18 -0
- package/lib/components/workflows/ServiceQueryBuilder.d.ts.map +1 -0
- package/lib/components/workflows/ServiceQueryBuilder.js +69 -0
- package/lib/components/workflows/ServiceQueryBuilder.js.map +1 -0
- package/lib/graphManager/QueryBuilderSupportedFunctions.d.ts +60 -0
- package/lib/graphManager/QueryBuilderSupportedFunctions.d.ts.map +1 -0
- package/lib/graphManager/QueryBuilderSupportedFunctions.js +65 -0
- package/lib/graphManager/QueryBuilderSupportedFunctions.js.map +1 -0
- package/lib/graphManager/QueryBuilder_GraphManagerPlugin.d.ts +21 -0
- package/lib/graphManager/QueryBuilder_GraphManagerPlugin.d.ts.map +1 -0
- package/lib/graphManager/QueryBuilder_GraphManagerPlugin.js +27 -0
- package/lib/graphManager/QueryBuilder_GraphManagerPlugin.js.map +1 -0
- package/lib/graphManager/QueryBuilder_GraphManagerPreset.d.ts +24 -0
- package/lib/graphManager/QueryBuilder_GraphManagerPreset.d.ts.map +1 -0
- package/lib/graphManager/QueryBuilder_GraphManagerPreset.js +32 -0
- package/lib/graphManager/QueryBuilder_GraphManagerPreset.js.map +1 -0
- package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.d.ts +21 -0
- package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.d.ts.map +1 -0
- package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.js +20 -0
- package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.js.map +1 -0
- package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.d.ts +21 -0
- package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.d.ts.map +1 -0
- package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.js +20 -0
- package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.js.map +1 -0
- package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.d.ts +25 -0
- package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.js +21 -0
- package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.js.map +1 -0
- package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.d.ts +18 -0
- package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.js +20 -0
- package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.js.map +1 -0
- package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts +22 -0
- package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js +70 -0
- package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js.map +1 -0
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.d.ts +22 -0
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.js +207 -0
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.js.map +1 -0
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.d.ts +18 -0
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.js +18 -0
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.js.map +1 -0
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts +29 -0
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts.map +1 -0
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js +182 -0
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js.map +1 -0
- package/lib/index.css +17 -0
- package/lib/index.css.map +1 -0
- package/lib/index.d.ts +28 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +26 -0
- package/lib/index.js.map +1 -0
- package/lib/package.json +95 -0
- package/lib/stores/QueryBuilderBootstraper.d.ts +17 -0
- package/lib/stores/QueryBuilderBootstraper.d.ts.map +1 -0
- package/lib/stores/QueryBuilderBootstraper.js +22 -0
- package/lib/stores/QueryBuilderBootstraper.js.map +1 -0
- package/lib/stores/QueryBuilderChangeDetectionState.d.ts +25 -0
- package/lib/stores/QueryBuilderChangeDetectionState.d.ts.map +1 -0
- package/lib/stores/QueryBuilderChangeDetectionState.js +32 -0
- package/lib/stores/QueryBuilderChangeDetectionState.js.map +1 -0
- package/lib/stores/QueryBuilderConfig.d.ts +32 -0
- package/lib/stores/QueryBuilderConfig.d.ts.map +1 -0
- package/lib/stores/QueryBuilderConfig.js +34 -0
- package/lib/stores/QueryBuilderConfig.js.map +1 -0
- 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/QueryBuilderMilestoningState.d.ts +32 -0
- package/lib/stores/QueryBuilderMilestoningState.d.ts.map +1 -0
- package/lib/stores/QueryBuilderMilestoningState.js +95 -0
- package/lib/stores/QueryBuilderMilestoningState.js.map +1 -0
- package/lib/stores/QueryBuilderParametersState.d.ts +28 -0
- package/lib/stores/QueryBuilderParametersState.d.ts.map +1 -0
- package/lib/stores/QueryBuilderParametersState.js +39 -0
- package/lib/stores/QueryBuilderParametersState.js.map +1 -0
- package/lib/stores/QueryBuilderPreviewDataHelper.d.ts +26 -0
- package/lib/stores/QueryBuilderPreviewDataHelper.d.ts.map +1 -0
- package/lib/stores/QueryBuilderPreviewDataHelper.js +138 -0
- package/lib/stores/QueryBuilderPreviewDataHelper.js.map +1 -0
- package/lib/stores/QueryBuilderPropertyEditorState.d.ts +62 -0
- package/lib/stores/QueryBuilderPropertyEditorState.d.ts.map +1 -0
- package/lib/stores/QueryBuilderPropertyEditorState.js +395 -0
- package/lib/stores/QueryBuilderPropertyEditorState.js.map +1 -0
- package/lib/stores/QueryBuilderResultState.d.ts +41 -0
- package/lib/stores/QueryBuilderResultState.d.ts.map +1 -0
- package/lib/stores/QueryBuilderResultState.js +176 -0
- package/lib/stores/QueryBuilderResultState.js.map +1 -0
- package/lib/stores/QueryBuilderState.d.ts +110 -0
- package/lib/stores/QueryBuilderState.d.ts.map +1 -0
- package/lib/stores/QueryBuilderState.js +334 -0
- package/lib/stores/QueryBuilderState.js.map +1 -0
- package/lib/stores/QueryBuilderStateBuilder.d.ts +124 -0
- package/lib/stores/QueryBuilderStateBuilder.d.ts.map +1 -0
- package/lib/stores/QueryBuilderStateBuilder.js +311 -0
- package/lib/stores/QueryBuilderStateBuilder.js.map +1 -0
- package/lib/stores/QueryBuilderStateTestUtils.d.ts +24 -0
- package/lib/stores/QueryBuilderStateTestUtils.d.ts.map +1 -0
- package/lib/stores/QueryBuilderStateTestUtils.js +50 -0
- package/lib/stores/QueryBuilderStateTestUtils.js.map +1 -0
- package/lib/stores/QueryBuilderTextEditorState.d.ts +49 -0
- package/lib/stores/QueryBuilderTextEditorState.d.ts.map +1 -0
- package/lib/stores/QueryBuilderTextEditorState.js +145 -0
- package/lib/stores/QueryBuilderTextEditorState.js.map +1 -0
- package/lib/stores/QueryBuilderTypeaheadHelper.d.ts +24 -0
- package/lib/stores/QueryBuilderTypeaheadHelper.d.ts.map +1 -0
- package/lib/stores/QueryBuilderTypeaheadHelper.js +85 -0
- package/lib/stores/QueryBuilderTypeaheadHelper.js.map +1 -0
- package/lib/stores/QueryBuilderUnsupportedQueryState.d.ts +26 -0
- package/lib/stores/QueryBuilderUnsupportedQueryState.d.ts.map +1 -0
- package/lib/stores/QueryBuilderUnsupportedQueryState.js +37 -0
- package/lib/stores/QueryBuilderUnsupportedQueryState.js.map +1 -0
- package/lib/stores/QueryBuilderValueSpecificationBuilder.d.ts +20 -0
- package/lib/stores/QueryBuilderValueSpecificationBuilder.d.ts.map +1 -0
- package/lib/stores/QueryBuilderValueSpecificationBuilder.js +87 -0
- package/lib/stores/QueryBuilderValueSpecificationBuilder.js.map +1 -0
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts +27 -0
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts.map +1 -0
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js +161 -0
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js.map +1 -0
- package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts +61 -0
- package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts.map +1 -0
- package/lib/stores/QueryBuilderValueSpecificationHelper.js +235 -0
- package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -0
- package/lib/stores/explorer/QueryBuilderExplorerState.d.ts +99 -0
- package/lib/stores/explorer/QueryBuilderExplorerState.d.ts.map +1 -0
- package/lib/stores/explorer/QueryBuilderExplorerState.js +446 -0
- package/lib/stores/explorer/QueryBuilderExplorerState.js.map +1 -0
- package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts +46 -0
- package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts.map +1 -0
- package/lib/stores/explorer/QueryBuilderPropertySearchState.js +242 -0
- package/lib/stores/explorer/QueryBuilderPropertySearchState.js.map +1 -0
- package/lib/stores/explorer/QueryFunctionsExplorerState.d.ts +59 -0
- package/lib/stores/explorer/QueryFunctionsExplorerState.d.ts.map +1 -0
- package/lib/stores/explorer/QueryFunctionsExplorerState.js +228 -0
- package/lib/stores/explorer/QueryFunctionsExplorerState.js.map +1 -0
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts +40 -0
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts.map +1 -0
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js +34 -0
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js.map +1 -0
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.d.ts +27 -0
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.d.ts.map +1 -0
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js +73 -0
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js.map +1 -0
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts +49 -0
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts.map +1 -0
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +157 -0
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +1 -0
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.d.ts +20 -0
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.d.ts.map +1 -0
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js +62 -0
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js.map +1 -0
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts +42 -0
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts.map +1 -0
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js +173 -0
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js.map +1 -0
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.d.ts +26 -0
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.d.ts.map +1 -0
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.js +72 -0
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.js.map +1 -0
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.d.ts +73 -0
- 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 +68 -0
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.js +305 -0
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.js.map +1 -0
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.d.ts +25 -0
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.js +186 -0
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.js.map +1 -0
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts +26 -0
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.js +189 -0
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -0
- package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.d.ts +43 -0
- 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/fetch-structure/projection/aggregation/QueryBuilderAggregationState.d.ts +42 -0
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.js +103 -0
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.js.map +1 -0
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.d.ts +20 -0
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.js +96 -0
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.js.map +1 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.d.ts +22 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.js +40 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.js.map +1 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts +27 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.js +50 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.js.map +1 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts +27 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.js +55 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.js.map +1 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.d.ts +26 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js +50 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js.map +1 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts +27 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js +78 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js.map +1 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts +27 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js +67 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js.map +1 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts +26 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.js +86 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.js.map +1 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts +26 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.js +86 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.js.map +1 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts +27 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js +50 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js.map +1 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts +27 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js +50 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js.map +1 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts +26 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.js +45 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.js.map +1 -0
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.d.ts +29 -0
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.js +30 -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/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.d.ts +135 -0
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js +585 -0
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js.map +1 -0
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.d.ts +22 -0
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.js +122 -0
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.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 +79 -0
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js.map +1 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts +23 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js +73 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js.map +1 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts +32 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js +75 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js.map +1 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts +32 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js +75 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js.map +1 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts +32 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js +118 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js.map +1 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts +27 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js +81 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js.map +1 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts +24 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js +43 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js.map +1 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts +32 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.js +104 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +1 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts +33 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js +67 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js.map +1 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts +27 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js +81 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js.map +1 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts +24 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js +43 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js.map +1 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts +32 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts.map +1 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js +75 -0
- 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/filter/QueryBuilderFilterState.d.ts +123 -0
- package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -0
- package/lib/stores/filter/QueryBuilderFilterState.js +531 -0
- package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -0
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.d.ts +19 -0
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.d.ts.map +1 -0
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.js +74 -0
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.js.map +1 -0
- package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.d.ts +19 -0
- package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.d.ts.map +1 -0
- package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js +78 -0
- package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js.map +1 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperatorHelper.d.ts +21 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperatorHelper.d.ts.map +1 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperatorHelper.js +257 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperatorHelper.js.map +1 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts +32 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts.map +1 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js +71 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js.map +1 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts +32 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts.map +1 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js +71 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js.map +1 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts +32 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts.map +1 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js +115 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js.map +1 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts +27 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts.map +1 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js +83 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js.map +1 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts +27 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts.map +1 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js +83 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js.map +1 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts +32 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts.map +1 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js +103 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js.map +1 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts +32 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts.map +1 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js +65 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js.map +1 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts +27 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts.map +1 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js +83 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js.map +1 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts +27 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts.map +1 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js +83 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js.map +1 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts +32 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts.map +1 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js +71 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +1 -0
- package/lib/stores/workflows/ClassQueryBuilderState.d.ts +35 -0
- package/lib/stores/workflows/ClassQueryBuilderState.d.ts.map +1 -0
- package/lib/stores/workflows/ClassQueryBuilderState.js +57 -0
- package/lib/stores/workflows/ClassQueryBuilderState.js.map +1 -0
- package/lib/stores/workflows/MappingQueryBuilderState.d.ts +33 -0
- package/lib/stores/workflows/MappingQueryBuilderState.d.ts.map +1 -0
- package/lib/stores/workflows/MappingQueryBuilderState.js +55 -0
- package/lib/stores/workflows/MappingQueryBuilderState.js.map +1 -0
- package/lib/stores/workflows/ServiceQueryBuilderState.d.ts +44 -0
- package/lib/stores/workflows/ServiceQueryBuilderState.d.ts.map +1 -0
- package/lib/stores/workflows/ServiceQueryBuilderState.js +90 -0
- package/lib/stores/workflows/ServiceQueryBuilderState.js.map +1 -0
- package/package.json +95 -0
- package/src/components/QueryBuilder.tsx +411 -0
- package/src/components/QueryBuilderComponentTestUtils.tsx +122 -0
- package/src/components/QueryBuilderParametersPanel.tsx +431 -0
- package/src/components/QueryBuilderPropertyExpressionEditor.tsx +376 -0
- package/src/components/QueryBuilderResultPanel.tsx +640 -0
- package/src/components/QueryBuilderSideBar.tsx +421 -0
- package/src/components/QueryBuilderTextEditor.tsx +127 -0
- package/src/components/QueryBuilderUnsupportedQueryEditor.tsx +88 -0
- package/src/components/QueryBuilder_TestID.ts +26 -0
- package/src/components/explorer/QueryBuilderExplorerPanel.tsx +934 -0
- package/src/components/explorer/QueryBuilderFunctionsExplorerPanel.tsx +554 -0
- package/src/components/explorer/QueryBuilderMilestoneEditor.tsx +296 -0
- package/src/components/explorer/QueryBuilderPropertySearchPanel.tsx +617 -0
- package/src/components/fetch-structure/QueryBuilderFetchStructurePanel.tsx +112 -0
- package/src/components/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx +276 -0
- package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +1103 -0
- package/src/components/fetch-structure/QueryBuilderProjectionPanel.tsx +649 -0
- package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +254 -0
- package/src/components/filter/QueryBuilderFilterPanel.tsx +891 -0
- package/src/components/shared/ElementIconUtils.tsx +47 -0
- package/src/components/shared/QueryBuilderLambdaEditor.tsx +120 -0
- package/src/components/shared/QueryBuilderPanelIssueCountBadge.tsx +40 -0
- package/src/components/shared/QueryBuilderPropertyInfoTooltip.tsx +87 -0
- package/src/components/workflows/ClassQueryBuilder.tsx +198 -0
- package/src/components/workflows/MappingQueryBuilder.tsx +195 -0
- package/src/components/workflows/ServiceQueryBuilder.tsx +192 -0
- package/src/graphManager/QueryBuilderSupportedFunctions.ts +67 -0
- package/src/graphManager/QueryBuilder_GraphManagerPlugin.ts +32 -0
- package/src/graphManager/QueryBuilder_GraphManagerPreset.ts +33 -0
- package/src/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.ts +22 -0
- package/src/graphManager/action/analytics/ServiceExecutionAnalysis.ts +22 -0
- package/src/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.ts +47 -0
- package/src/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.ts +27 -0
- package/src/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts +167 -0
- package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.ts +571 -0
- package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.ts +28 -0
- package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.ts +296 -0
- package/src/index.ts +38 -0
- package/src/stores/QueryBuilderBootstraper.ts +23 -0
- package/src/stores/QueryBuilderChangeDetectionState.ts +37 -0
- package/src/stores/QueryBuilderConfig.ts +34 -0
- package/src/stores/QueryBuilderGroupOperationHelper.ts +54 -0
- package/src/stores/QueryBuilderMilestoningState.ts +164 -0
- package/src/stores/QueryBuilderParametersState.ts +52 -0
- package/src/stores/QueryBuilderPreviewDataHelper.ts +202 -0
- package/src/stores/QueryBuilderPropertyEditorState.ts +668 -0
- package/src/stores/QueryBuilderResultState.ts +281 -0
- package/src/stores/QueryBuilderState.ts +465 -0
- package/src/stores/QueryBuilderStateBuilder.ts +585 -0
- package/src/stores/QueryBuilderStateTestUtils.ts +99 -0
- package/src/stores/QueryBuilderTextEditorState.ts +203 -0
- package/src/stores/QueryBuilderTypeaheadHelper.ts +152 -0
- package/src/stores/QueryBuilderUnsupportedQueryState.ts +44 -0
- package/src/stores/QueryBuilderValueSpecificationBuilder.ts +179 -0
- package/src/stores/QueryBuilderValueSpecificationBuilderHelper.ts +256 -0
- package/src/stores/QueryBuilderValueSpecificationHelper.ts +359 -0
- package/src/stores/explorer/QueryBuilderExplorerState.ts +798 -0
- package/src/stores/explorer/QueryBuilderPropertySearchState.ts +333 -0
- package/src/stores/explorer/QueryFunctionsExplorerState.ts +375 -0
- package/src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts +65 -0
- package/src/stores/fetch-structure/QueryBuilderFetchStructureState.ts +107 -0
- package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +240 -0
- package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.ts +131 -0
- package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.ts +282 -0
- package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.ts +154 -0
- package/src/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.ts +327 -0
- package/src/stores/fetch-structure/projection/QueryBuilderProjectionState.ts +569 -0
- package/src/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.ts +426 -0
- package/src/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +416 -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/fetch-structure/projection/aggregation/QueryBuilderAggregationState.ts +145 -0
- package/src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.ts +228 -0
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.ts +109 -0
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.ts +98 -0
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.ts +106 -0
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.ts +96 -0
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.ts +173 -0
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.ts +155 -0
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.ts +174 -0
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.ts +174 -0
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.ts +98 -0
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.ts +98 -0
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.ts +88 -0
- package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.ts +66 -0
- package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.ts +65 -0
- package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.ts +807 -0
- package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.ts +297 -0
- package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.ts +121 -0
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.ts +129 -0
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts +140 -0
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts +135 -0
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts +218 -0
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.ts +143 -0
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.ts +70 -0
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.ts +183 -0
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.ts +113 -0
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.ts +143 -0
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.ts +70 -0
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.ts +135 -0
- package/src/stores/filter/QueryBuilderFilterOperator.ts +52 -0
- package/src/stores/filter/QueryBuilderFilterOperatorLoader.ts +65 -0
- package/src/stores/filter/QueryBuilderFilterState.ts +736 -0
- package/src/stores/filter/QueryBuilderFilterStateBuilder.ts +155 -0
- package/src/stores/filter/QueryBuilderFilterValueSpecificationBuilder.ts +120 -0
- package/src/stores/filter/operators/QueryBuilderFilterOperatorHelper.ts +524 -0
- package/src/stores/filter/operators/QueryBuilderFilterOperator_Contain.ts +134 -0
- package/src/stores/filter/operators/QueryBuilderFilterOperator_EndWith.ts +134 -0
- package/src/stores/filter/operators/QueryBuilderFilterOperator_Equal.ts +211 -0
- package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.ts +145 -0
- package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.ts +145 -0
- package/src/stores/filter/operators/QueryBuilderFilterOperator_In.ts +181 -0
- package/src/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.ts +125 -0
- package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThan.ts +145 -0
- package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.ts +145 -0
- package/src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.ts +134 -0
- package/src/stores/workflows/ClassQueryBuilderState.ts +80 -0
- package/src/stores/workflows/MappingQueryBuilderState.ts +86 -0
- package/src/stores/workflows/ServiceQueryBuilderState.ts +143 -0
- package/tsconfig.json +166 -0
- package/tsconfig.package.json +38 -0
@@ -0,0 +1,649 @@
|
|
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
|
+
|
17
|
+
import { useEffect, useRef, useCallback, useState, forwardRef } from 'react';
|
18
|
+
import { observer } from 'mobx-react-lite';
|
19
|
+
import {
|
20
|
+
clsx,
|
21
|
+
BlankPanelPlaceholder,
|
22
|
+
TimesIcon,
|
23
|
+
DropdownMenu,
|
24
|
+
MenuContent,
|
25
|
+
MenuContentItem,
|
26
|
+
CaretDownIcon,
|
27
|
+
VerticalDragHandleIcon,
|
28
|
+
ContextMenu,
|
29
|
+
InputWithInlineValidation,
|
30
|
+
SigmaIcon,
|
31
|
+
PanelDropZone,
|
32
|
+
DragPreviewLayer,
|
33
|
+
PanelEntryDropZonePlaceholder,
|
34
|
+
useDragPreviewLayer,
|
35
|
+
OptionsIcon,
|
36
|
+
PlusIcon,
|
37
|
+
} from '@finos/legend-art';
|
38
|
+
import {
|
39
|
+
type QueryBuilderExplorerTreeDragSource,
|
40
|
+
type QueryBuilderExplorerTreePropertyNodeData,
|
41
|
+
buildPropertyExpressionFromExplorerTreeNodeData,
|
42
|
+
QUERY_BUILDER_EXPLORER_TREE_DND_TYPE,
|
43
|
+
} from '../../stores/explorer/QueryBuilderExplorerState.js';
|
44
|
+
import { type DropTargetMonitor, useDrag, useDrop } from 'react-dnd';
|
45
|
+
import {
|
46
|
+
type QueryBuilderProjectionColumnDragSource,
|
47
|
+
type QueryBuilderProjectionColumnState,
|
48
|
+
QueryBuilderDerivationProjectionColumnState,
|
49
|
+
QueryBuilderSimpleProjectionColumnState,
|
50
|
+
QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE,
|
51
|
+
} from '../../stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js';
|
52
|
+
import { QueryBuilderPropertyExpressionBadge } from '../QueryBuilderPropertyExpressionEditor.js';
|
53
|
+
import { QueryResultModifierModal } from './QueryBuilderResultModifierPanel.js';
|
54
|
+
import { QUERY_BUILDER_TEST_ID } from '../QueryBuilder_TestID.js';
|
55
|
+
import { QueryBuilderAggregateColumnState } from '../../stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.js';
|
56
|
+
import { flowResult } from 'mobx';
|
57
|
+
import { QueryBuilderLambdaEditor } from '../shared/QueryBuilderLambdaEditor.js';
|
58
|
+
import { useApplicationStore } from '@finos/legend-application';
|
59
|
+
import {
|
60
|
+
type QueryBuilderParameterDragSource,
|
61
|
+
QUERY_BUILDER_PARAMETER_DND_TYPE,
|
62
|
+
} from '../../stores/QueryBuilderParametersState.js';
|
63
|
+
import {
|
64
|
+
type ConcreteFunctionDefinition,
|
65
|
+
generateFunctionCallString,
|
66
|
+
LAMBDA_PIPE,
|
67
|
+
VARIABLE_REFERENCE_TOKEN,
|
68
|
+
} from '@finos/legend-graph';
|
69
|
+
import {
|
70
|
+
type QueryBuilderFunctionsExplorerDragSource,
|
71
|
+
QUERY_BUILDER_FUNCTION_DND_TYPE,
|
72
|
+
} from '../../stores/explorer/QueryFunctionsExplorerState.js';
|
73
|
+
import { DEFAULT_LAMBDA_VARIABLE_NAME } from '../../stores/QueryBuilderConfig.js';
|
74
|
+
import { QueryBuilderPostFilterTreeConditionNodeData } from '../../stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js';
|
75
|
+
import { filterByType } from '@finos/legend-shared';
|
76
|
+
import type { QueryBuilderAggregateOperator } from '../../stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.js';
|
77
|
+
import type { QueryBuilderProjectionState } from '../../stores/fetch-structure/projection/QueryBuilderProjectionState.js';
|
78
|
+
|
79
|
+
const QueryBuilderProjectionColumnContextMenu = observer(
|
80
|
+
forwardRef<
|
81
|
+
HTMLDivElement,
|
82
|
+
{
|
83
|
+
projectionColumnState: QueryBuilderProjectionColumnState;
|
84
|
+
}
|
85
|
+
>(function QueryBuilderProjectionColumnContextMenu(props, ref) {
|
86
|
+
const { projectionColumnState } = props;
|
87
|
+
const removeColumn = (): void =>
|
88
|
+
projectionColumnState.projectionState.removeColumn(projectionColumnState);
|
89
|
+
const convertToDerivation = (): void => {
|
90
|
+
if (
|
91
|
+
projectionColumnState instanceof QueryBuilderSimpleProjectionColumnState
|
92
|
+
) {
|
93
|
+
projectionColumnState.projectionState.transformSimpleProjectionToDerivation(
|
94
|
+
projectionColumnState,
|
95
|
+
);
|
96
|
+
}
|
97
|
+
};
|
98
|
+
|
99
|
+
return (
|
100
|
+
<MenuContent ref={ref}>
|
101
|
+
{projectionColumnState instanceof
|
102
|
+
QueryBuilderSimpleProjectionColumnState && (
|
103
|
+
<MenuContentItem onClick={convertToDerivation}>
|
104
|
+
Convert To Derivation
|
105
|
+
</MenuContentItem>
|
106
|
+
)}
|
107
|
+
<MenuContentItem onClick={removeColumn}>Remove</MenuContentItem>
|
108
|
+
</MenuContent>
|
109
|
+
);
|
110
|
+
}),
|
111
|
+
);
|
112
|
+
|
113
|
+
const QueryBuilderSimpleProjectionColumnEditor = observer(
|
114
|
+
(props: {
|
115
|
+
projectionColumnState: QueryBuilderSimpleProjectionColumnState;
|
116
|
+
}) => {
|
117
|
+
const { projectionColumnState } = props;
|
118
|
+
const onPropertyExpressionChange = (
|
119
|
+
node: QueryBuilderExplorerTreePropertyNodeData,
|
120
|
+
): void =>
|
121
|
+
projectionColumnState.changeProperty(
|
122
|
+
node,
|
123
|
+
projectionColumnState.projectionState.queryBuilderState.explorerState
|
124
|
+
.humanizePropertyName,
|
125
|
+
);
|
126
|
+
|
127
|
+
return (
|
128
|
+
<div className="query-builder__projection__column__value__property">
|
129
|
+
<QueryBuilderPropertyExpressionBadge
|
130
|
+
propertyExpressionState={
|
131
|
+
projectionColumnState.propertyExpressionState
|
132
|
+
}
|
133
|
+
onPropertyExpressionChange={onPropertyExpressionChange}
|
134
|
+
/>
|
135
|
+
</div>
|
136
|
+
);
|
137
|
+
},
|
138
|
+
);
|
139
|
+
|
140
|
+
const QueryBuilderDerivationProjectionColumnEditor = observer(
|
141
|
+
(props: {
|
142
|
+
projectionColumnState: QueryBuilderDerivationProjectionColumnState;
|
143
|
+
}) => {
|
144
|
+
const { projectionColumnState } = props;
|
145
|
+
const hasParserError = projectionColumnState.projectionState.hasParserError;
|
146
|
+
|
147
|
+
const handleDrop = useCallback(
|
148
|
+
(
|
149
|
+
item:
|
150
|
+
| QueryBuilderExplorerTreeDragSource
|
151
|
+
| QueryBuilderParameterDragSource
|
152
|
+
| QueryBuilderFunctionsExplorerDragSource,
|
153
|
+
type: string,
|
154
|
+
): void => {
|
155
|
+
if (type === QUERY_BUILDER_PARAMETER_DND_TYPE) {
|
156
|
+
projectionColumnState.derivationLambdaEditorState.setLambdaString(
|
157
|
+
`${
|
158
|
+
projectionColumnState.derivationLambdaEditorState.lambdaString
|
159
|
+
}${VARIABLE_REFERENCE_TOKEN}${
|
160
|
+
(item as QueryBuilderParameterDragSource).variable.variableName
|
161
|
+
}`,
|
162
|
+
);
|
163
|
+
} else if (type === QUERY_BUILDER_FUNCTION_DND_TYPE) {
|
164
|
+
projectionColumnState.derivationLambdaEditorState.setLambdaString(
|
165
|
+
`${
|
166
|
+
projectionColumnState.derivationLambdaEditorState.lambdaString
|
167
|
+
}${`${generateFunctionCallString(
|
168
|
+
(item as QueryBuilderFunctionsExplorerDragSource).node
|
169
|
+
.packageableElement as ConcreteFunctionDefinition,
|
170
|
+
)}`}`,
|
171
|
+
);
|
172
|
+
} else {
|
173
|
+
projectionColumnState.derivationLambdaEditorState.setLambdaString(
|
174
|
+
projectionColumnState.derivationLambdaEditorState.lambdaString +
|
175
|
+
(item as QueryBuilderExplorerTreeDragSource).node.dndText,
|
176
|
+
);
|
177
|
+
}
|
178
|
+
},
|
179
|
+
[projectionColumnState],
|
180
|
+
);
|
181
|
+
const [, dropConnector] = useDrop<
|
182
|
+
| QueryBuilderExplorerTreeDragSource
|
183
|
+
| QueryBuilderParameterDragSource
|
184
|
+
| QueryBuilderFunctionsExplorerDragSource
|
185
|
+
>(
|
186
|
+
() => ({
|
187
|
+
accept: [
|
188
|
+
QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.ROOT,
|
189
|
+
QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.CLASS_PROPERTY,
|
190
|
+
QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.ENUM_PROPERTY,
|
191
|
+
QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.PRIMITIVE_PROPERTY,
|
192
|
+
QUERY_BUILDER_PARAMETER_DND_TYPE,
|
193
|
+
QUERY_BUILDER_FUNCTION_DND_TYPE,
|
194
|
+
],
|
195
|
+
drop: (item, monitor): void => {
|
196
|
+
if (!monitor.didDrop()) {
|
197
|
+
handleDrop(item, monitor.getItemType() as string);
|
198
|
+
} // prevent drop event propagation to accomondate for nested DnD
|
199
|
+
},
|
200
|
+
}),
|
201
|
+
[handleDrop],
|
202
|
+
);
|
203
|
+
|
204
|
+
return (
|
205
|
+
<div
|
206
|
+
ref={dropConnector}
|
207
|
+
className={clsx(
|
208
|
+
'query-builder__lambda-editor__container query-builder__projection__column__derivation',
|
209
|
+
{ backdrop__element: hasParserError },
|
210
|
+
)}
|
211
|
+
>
|
212
|
+
<QueryBuilderLambdaEditor
|
213
|
+
className="query-builder__lambda-editor"
|
214
|
+
queryBuilderState={
|
215
|
+
projectionColumnState.projectionState.queryBuilderState
|
216
|
+
}
|
217
|
+
disabled={
|
218
|
+
projectionColumnState.projectionState
|
219
|
+
.isConvertDerivationProjectionObjects
|
220
|
+
}
|
221
|
+
lambdaEditorState={projectionColumnState.derivationLambdaEditorState}
|
222
|
+
forceBackdrop={hasParserError}
|
223
|
+
/>
|
224
|
+
</div>
|
225
|
+
);
|
226
|
+
},
|
227
|
+
);
|
228
|
+
|
229
|
+
const QueryBuilderProjectionColumnEditor = observer(
|
230
|
+
(props: { projectionColumnState: QueryBuilderProjectionColumnState }) => {
|
231
|
+
const ref = useRef<HTMLDivElement>(null);
|
232
|
+
|
233
|
+
const [isSelectedFromContextMenu, setIsSelectedFromContextMenu] =
|
234
|
+
useState(false);
|
235
|
+
const onContextMenuOpen = (): void => setIsSelectedFromContextMenu(true);
|
236
|
+
const onContextMenuClose = (): void => setIsSelectedFromContextMenu(false);
|
237
|
+
|
238
|
+
const { projectionColumnState } = props;
|
239
|
+
const projectionState = projectionColumnState.projectionState;
|
240
|
+
const postFilterColumnStates = Array.from(
|
241
|
+
projectionState.postFilterState.nodes.values(),
|
242
|
+
)
|
243
|
+
.filter(filterByType(QueryBuilderPostFilterTreeConditionNodeData))
|
244
|
+
.map((n) => n.condition.columnState);
|
245
|
+
|
246
|
+
const isRemovalDisabled =
|
247
|
+
postFilterColumnStates
|
248
|
+
.filter((co) => co instanceof QueryBuilderAggregateColumnState)
|
249
|
+
.map(
|
250
|
+
(co) =>
|
251
|
+
(co as QueryBuilderAggregateColumnState).projectionColumnState,
|
252
|
+
)
|
253
|
+
.includes(projectionColumnState) ||
|
254
|
+
postFilterColumnStates.includes(projectionColumnState);
|
255
|
+
|
256
|
+
const removeColumn = (): void =>
|
257
|
+
projectionState.removeColumn(projectionColumnState);
|
258
|
+
|
259
|
+
// name
|
260
|
+
const changeColumnName: React.ChangeEventHandler<HTMLInputElement> = (
|
261
|
+
event,
|
262
|
+
) => projectionColumnState.setColumnName(event.target.value);
|
263
|
+
const isDuplicatedColumnName =
|
264
|
+
projectionColumnState.projectionState.columns.filter(
|
265
|
+
(column) => column.columnName === projectionColumnState.columnName,
|
266
|
+
).length > 1;
|
267
|
+
|
268
|
+
// aggregation
|
269
|
+
const aggregateColumnState = projectionState.aggregationState.columns.find(
|
270
|
+
(column) => column.projectionColumnState === projectionColumnState,
|
271
|
+
);
|
272
|
+
const aggreateOperators = projectionState.aggregationState.operators.filter(
|
273
|
+
(op) => op.isCompatibleWithColumn(projectionColumnState),
|
274
|
+
);
|
275
|
+
const changeOperator =
|
276
|
+
(val: QueryBuilderAggregateOperator | undefined) => (): void =>
|
277
|
+
projectionState.aggregationState.changeColumnAggregateOperator(
|
278
|
+
val,
|
279
|
+
projectionColumnState,
|
280
|
+
);
|
281
|
+
|
282
|
+
// Drag and Drop
|
283
|
+
const handleHover = useCallback(
|
284
|
+
(
|
285
|
+
item: QueryBuilderProjectionColumnDragSource,
|
286
|
+
monitor: DropTargetMonitor,
|
287
|
+
): void => {
|
288
|
+
const dragIndex = projectionState.columns.findIndex(
|
289
|
+
(e) => e === item.columnState,
|
290
|
+
);
|
291
|
+
const hoverIndex = projectionState.columns.findIndex(
|
292
|
+
(e) => e === projectionColumnState,
|
293
|
+
);
|
294
|
+
if (dragIndex === -1 || hoverIndex === -1 || dragIndex === hoverIndex) {
|
295
|
+
return;
|
296
|
+
}
|
297
|
+
// move the item being hovered on when the dragged item position is beyond the its middle point
|
298
|
+
const hoverBoundingReact = ref.current?.getBoundingClientRect();
|
299
|
+
const distanceThreshold =
|
300
|
+
((hoverBoundingReact?.bottom ?? 0) - (hoverBoundingReact?.top ?? 0)) /
|
301
|
+
2;
|
302
|
+
const dragDistance =
|
303
|
+
(monitor.getClientOffset()?.y ?? 0) - (hoverBoundingReact?.top ?? 0);
|
304
|
+
if (dragIndex < hoverIndex && dragDistance < distanceThreshold) {
|
305
|
+
return;
|
306
|
+
}
|
307
|
+
if (dragIndex > hoverIndex && dragDistance > distanceThreshold) {
|
308
|
+
return;
|
309
|
+
}
|
310
|
+
projectionState.moveColumn(dragIndex, hoverIndex);
|
311
|
+
},
|
312
|
+
[projectionColumnState, projectionState],
|
313
|
+
);
|
314
|
+
const [, dropConnector] = useDrop<QueryBuilderProjectionColumnDragSource>(
|
315
|
+
() => ({
|
316
|
+
accept: [QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE],
|
317
|
+
hover: (item, monitor): void => handleHover(item, monitor),
|
318
|
+
}),
|
319
|
+
[handleHover],
|
320
|
+
);
|
321
|
+
const [
|
322
|
+
{ projectionColumnBeingDragged },
|
323
|
+
dragConnector,
|
324
|
+
dragPreviewConnector,
|
325
|
+
] = useDrag<
|
326
|
+
QueryBuilderProjectionColumnDragSource,
|
327
|
+
void,
|
328
|
+
{
|
329
|
+
projectionColumnBeingDragged:
|
330
|
+
| QueryBuilderProjectionColumnState
|
331
|
+
| undefined;
|
332
|
+
}
|
333
|
+
>(
|
334
|
+
() => ({
|
335
|
+
type: QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE,
|
336
|
+
item: () => ({
|
337
|
+
columnState: projectionColumnState,
|
338
|
+
}),
|
339
|
+
collect: (monitor) => ({
|
340
|
+
/**
|
341
|
+
* @workaround typings - https://github.com/react-dnd/react-dnd/pull/3484
|
342
|
+
*/
|
343
|
+
projectionColumnBeingDragged:
|
344
|
+
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
|
345
|
+
(monitor.getItem() as QueryBuilderProjectionColumnDragSource | null)
|
346
|
+
?.columnState,
|
347
|
+
}),
|
348
|
+
}),
|
349
|
+
[projectionColumnState],
|
350
|
+
);
|
351
|
+
const isBeingDragged =
|
352
|
+
projectionColumnState === projectionColumnBeingDragged;
|
353
|
+
dragConnector(dropConnector(ref));
|
354
|
+
useDragPreviewLayer(dragPreviewConnector);
|
355
|
+
|
356
|
+
return (
|
357
|
+
<div ref={ref} className="query-builder__projection__column">
|
358
|
+
<PanelEntryDropZonePlaceholder
|
359
|
+
showPlaceholder={isBeingDragged}
|
360
|
+
className="query-builder__dnd__placeholder"
|
361
|
+
>
|
362
|
+
<ContextMenu
|
363
|
+
content={
|
364
|
+
<QueryBuilderProjectionColumnContextMenu
|
365
|
+
projectionColumnState={projectionColumnState}
|
366
|
+
/>
|
367
|
+
}
|
368
|
+
disabled={
|
369
|
+
!(
|
370
|
+
projectionColumnState instanceof
|
371
|
+
QueryBuilderSimpleProjectionColumnState
|
372
|
+
)
|
373
|
+
}
|
374
|
+
className={clsx('query-builder__projection__column__context-menu', {
|
375
|
+
'query-builder__projection__column--selected-from-context-menu':
|
376
|
+
isSelectedFromContextMenu,
|
377
|
+
})}
|
378
|
+
menuProps={{ elevation: 7 }}
|
379
|
+
onOpen={onContextMenuOpen}
|
380
|
+
onClose={onContextMenuClose}
|
381
|
+
>
|
382
|
+
<div className="query-builder__projection__column__drag-handle__container">
|
383
|
+
<div className="query-builder__projection__column__drag-handle">
|
384
|
+
<VerticalDragHandleIcon />
|
385
|
+
</div>
|
386
|
+
</div>
|
387
|
+
<div className="query-builder__projection__column__name">
|
388
|
+
<InputWithInlineValidation
|
389
|
+
className="query-builder__projection__column__name__input input-group__input"
|
390
|
+
spellCheck={false}
|
391
|
+
value={projectionColumnState.columnName}
|
392
|
+
onChange={changeColumnName}
|
393
|
+
validationErrorMessage={
|
394
|
+
isDuplicatedColumnName ? 'Duplicated column' : undefined
|
395
|
+
}
|
396
|
+
/>
|
397
|
+
</div>
|
398
|
+
<div className="query-builder__projection__column__value">
|
399
|
+
{projectionColumnState instanceof
|
400
|
+
QueryBuilderSimpleProjectionColumnState && (
|
401
|
+
<QueryBuilderSimpleProjectionColumnEditor
|
402
|
+
projectionColumnState={projectionColumnState}
|
403
|
+
/>
|
404
|
+
)}
|
405
|
+
{projectionColumnState instanceof
|
406
|
+
QueryBuilderDerivationProjectionColumnState && (
|
407
|
+
<QueryBuilderDerivationProjectionColumnEditor
|
408
|
+
projectionColumnState={projectionColumnState}
|
409
|
+
/>
|
410
|
+
)}
|
411
|
+
</div>
|
412
|
+
<div className="query-builder__projection__column__aggregate">
|
413
|
+
<div className="query-builder__projection__column__aggregate__operator">
|
414
|
+
{aggregateColumnState && (
|
415
|
+
<div className="query-builder__projection__column__aggregate__operator__label">
|
416
|
+
{aggregateColumnState.operator.getLabel(
|
417
|
+
projectionColumnState,
|
418
|
+
)}
|
419
|
+
</div>
|
420
|
+
)}
|
421
|
+
|
422
|
+
<DropdownMenu
|
423
|
+
className="query-builder__projection__column__aggregate__operator__dropdown"
|
424
|
+
disabled={!aggreateOperators.length}
|
425
|
+
content={
|
426
|
+
<MenuContent>
|
427
|
+
{aggregateColumnState && (
|
428
|
+
<MenuContentItem
|
429
|
+
className="query-builder__projection__column__aggregate__operator__dropdown__option"
|
430
|
+
onClick={changeOperator(undefined)}
|
431
|
+
>
|
432
|
+
(none)
|
433
|
+
</MenuContentItem>
|
434
|
+
)}
|
435
|
+
{aggreateOperators.map((op) => (
|
436
|
+
<MenuContentItem
|
437
|
+
key={op.uuid}
|
438
|
+
className="query-builder__projection__column__aggregate__operator__dropdown__option"
|
439
|
+
onClick={changeOperator(op)}
|
440
|
+
>
|
441
|
+
{op.getLabel(projectionColumnState)}
|
442
|
+
</MenuContentItem>
|
443
|
+
))}
|
444
|
+
</MenuContent>
|
445
|
+
}
|
446
|
+
menuProps={{
|
447
|
+
anchorOrigin: { vertical: 'bottom', horizontal: 'left' },
|
448
|
+
transformOrigin: { vertical: 'top', horizontal: 'left' },
|
449
|
+
elevation: 7,
|
450
|
+
}}
|
451
|
+
>
|
452
|
+
<button
|
453
|
+
className={clsx(
|
454
|
+
'query-builder__projection__column__aggregate__operator__badge',
|
455
|
+
{
|
456
|
+
'query-builder__projection__column__aggregate__operator__badge--activated':
|
457
|
+
Boolean(aggregateColumnState),
|
458
|
+
},
|
459
|
+
)}
|
460
|
+
tabIndex={-1}
|
461
|
+
title="Choose Aggregate Operator..."
|
462
|
+
>
|
463
|
+
<SigmaIcon />
|
464
|
+
</button>
|
465
|
+
<button
|
466
|
+
className="query-builder__projection__column__aggregate__operator__dropdown__trigger"
|
467
|
+
tabIndex={-1}
|
468
|
+
title="Choose Aggregate Operator..."
|
469
|
+
>
|
470
|
+
<CaretDownIcon />
|
471
|
+
</button>
|
472
|
+
</DropdownMenu>
|
473
|
+
</div>
|
474
|
+
</div>
|
475
|
+
<div className="query-builder__projection__column__actions">
|
476
|
+
<button
|
477
|
+
className="query-builder__projection__column__action"
|
478
|
+
tabIndex={-1}
|
479
|
+
onClick={removeColumn}
|
480
|
+
disabled={isRemovalDisabled}
|
481
|
+
title={
|
482
|
+
isRemovalDisabled
|
483
|
+
? "This column is used in the post filter and can't be removed"
|
484
|
+
: 'Remove'
|
485
|
+
}
|
486
|
+
>
|
487
|
+
<TimesIcon />
|
488
|
+
</button>
|
489
|
+
</div>
|
490
|
+
</ContextMenu>
|
491
|
+
</PanelEntryDropZonePlaceholder>
|
492
|
+
</div>
|
493
|
+
);
|
494
|
+
},
|
495
|
+
);
|
496
|
+
|
497
|
+
export const QueryBuilderProjectionPanel = observer(
|
498
|
+
(props: { projectionState: QueryBuilderProjectionState }) => {
|
499
|
+
const applicationStore = useApplicationStore();
|
500
|
+
const { projectionState } = props;
|
501
|
+
const projectionColumns = projectionState.columns;
|
502
|
+
|
503
|
+
// Toolbar
|
504
|
+
const openResultSetModifierEditor = (): void =>
|
505
|
+
projectionState.resultSetModifierState.setShowModal(true);
|
506
|
+
const addNewBlankDerivation = (): void =>
|
507
|
+
projectionState.addNewBlankDerivation();
|
508
|
+
|
509
|
+
// Drag and Drop
|
510
|
+
const handleDrop = useCallback(
|
511
|
+
(
|
512
|
+
item:
|
513
|
+
| QueryBuilderExplorerTreeDragSource
|
514
|
+
| QueryBuilderFunctionsExplorerDragSource,
|
515
|
+
type: string,
|
516
|
+
): void => {
|
517
|
+
switch (type) {
|
518
|
+
case QUERY_BUILDER_FUNCTION_DND_TYPE: {
|
519
|
+
const derivationProjectionColumn =
|
520
|
+
new QueryBuilderDerivationProjectionColumnState(
|
521
|
+
projectionState,
|
522
|
+
projectionState.queryBuilderState.graphManagerState.graphManager.createDefaultBasicRawLambda(
|
523
|
+
{ addDummyParameter: true },
|
524
|
+
),
|
525
|
+
);
|
526
|
+
derivationProjectionColumn.derivationLambdaEditorState.setLambdaString(
|
527
|
+
`${DEFAULT_LAMBDA_VARIABLE_NAME}${LAMBDA_PIPE}${generateFunctionCallString(
|
528
|
+
(item as QueryBuilderFunctionsExplorerDragSource).node
|
529
|
+
.packageableElement as ConcreteFunctionDefinition,
|
530
|
+
)}`,
|
531
|
+
);
|
532
|
+
projectionState.addColumn(derivationProjectionColumn);
|
533
|
+
break;
|
534
|
+
}
|
535
|
+
case QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.ENUM_PROPERTY:
|
536
|
+
case QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.PRIMITIVE_PROPERTY:
|
537
|
+
projectionState.addColumn(
|
538
|
+
new QueryBuilderSimpleProjectionColumnState(
|
539
|
+
projectionState,
|
540
|
+
buildPropertyExpressionFromExplorerTreeNodeData(
|
541
|
+
projectionState.queryBuilderState.explorerState
|
542
|
+
.nonNullableTreeData,
|
543
|
+
(item as QueryBuilderExplorerTreeDragSource).node,
|
544
|
+
projectionState.queryBuilderState.graphManagerState.graph,
|
545
|
+
projectionState.queryBuilderState.explorerState
|
546
|
+
.propertySearchState.allMappedPropertyNodes,
|
547
|
+
),
|
548
|
+
projectionState.queryBuilderState.explorerState.humanizePropertyName,
|
549
|
+
),
|
550
|
+
);
|
551
|
+
break;
|
552
|
+
default:
|
553
|
+
break;
|
554
|
+
}
|
555
|
+
},
|
556
|
+
[projectionState],
|
557
|
+
);
|
558
|
+
|
559
|
+
const [{ isDragOver }, dropTargetConnector] = useDrop<
|
560
|
+
| QueryBuilderExplorerTreeDragSource
|
561
|
+
| QueryBuilderFunctionsExplorerDragSource,
|
562
|
+
void,
|
563
|
+
{ isDragOver: boolean }
|
564
|
+
>(
|
565
|
+
() => ({
|
566
|
+
accept: [
|
567
|
+
QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.ENUM_PROPERTY,
|
568
|
+
QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.PRIMITIVE_PROPERTY,
|
569
|
+
QUERY_BUILDER_FUNCTION_DND_TYPE,
|
570
|
+
],
|
571
|
+
drop: (item, monitor): void => {
|
572
|
+
if (!monitor.didDrop()) {
|
573
|
+
handleDrop(item, monitor.getItemType() as string);
|
574
|
+
} // prevent drop event propagation to accomondate for nested DnD
|
575
|
+
},
|
576
|
+
collect: (monitor) => ({
|
577
|
+
isDragOver: monitor.isOver({ shallow: true }),
|
578
|
+
}),
|
579
|
+
}),
|
580
|
+
[handleDrop],
|
581
|
+
);
|
582
|
+
|
583
|
+
useEffect(() => {
|
584
|
+
flowResult(projectionState.convertDerivationProjectionObjects()).catch(
|
585
|
+
applicationStore.alertUnhandledError,
|
586
|
+
);
|
587
|
+
}, [applicationStore, projectionState]);
|
588
|
+
|
589
|
+
return (
|
590
|
+
<div className="panel__content">
|
591
|
+
<div className="query-builder__projection__toolbar">
|
592
|
+
<button
|
593
|
+
className="panel__header__action"
|
594
|
+
onClick={openResultSetModifierEditor}
|
595
|
+
tabIndex={-1}
|
596
|
+
title="Configure result set modifiers..."
|
597
|
+
>
|
598
|
+
<OptionsIcon className="query-builder__icon query-builder__icon__query-option" />
|
599
|
+
</button>
|
600
|
+
<button
|
601
|
+
className="panel__header__action"
|
602
|
+
onClick={addNewBlankDerivation}
|
603
|
+
tabIndex={-1}
|
604
|
+
title="Add a new derivation"
|
605
|
+
>
|
606
|
+
<PlusIcon />
|
607
|
+
</button>
|
608
|
+
</div>
|
609
|
+
<div className="query-builder__projection__content">
|
610
|
+
<PanelDropZone
|
611
|
+
isDragOver={isDragOver}
|
612
|
+
dropTargetConnector={dropTargetConnector}
|
613
|
+
>
|
614
|
+
{!projectionColumns.length && (
|
615
|
+
<BlankPanelPlaceholder
|
616
|
+
text="Add a projection column"
|
617
|
+
tooltipText="Drag and drop properties here"
|
618
|
+
/>
|
619
|
+
)}
|
620
|
+
{Boolean(projectionColumns.length) && (
|
621
|
+
<div
|
622
|
+
data-testid={QUERY_BUILDER_TEST_ID.QUERY_BUILDER_PROJECTION}
|
623
|
+
className="query-builder__projection__columns"
|
624
|
+
>
|
625
|
+
<DragPreviewLayer
|
626
|
+
labelGetter={(
|
627
|
+
item: QueryBuilderProjectionColumnDragSource,
|
628
|
+
): string =>
|
629
|
+
item.columnState.columnName === ''
|
630
|
+
? '(unknown)'
|
631
|
+
: item.columnState.columnName
|
632
|
+
}
|
633
|
+
types={[QUERY_BUILDER_PROJECTION_COLUMN_DND_TYPE]}
|
634
|
+
/>
|
635
|
+
{projectionColumns.map((projectionColumnState) => (
|
636
|
+
<QueryBuilderProjectionColumnEditor
|
637
|
+
key={projectionColumnState.uuid}
|
638
|
+
projectionColumnState={projectionColumnState}
|
639
|
+
/>
|
640
|
+
))}
|
641
|
+
</div>
|
642
|
+
)}
|
643
|
+
<QueryResultModifierModal projectionState={projectionState} />
|
644
|
+
</PanelDropZone>
|
645
|
+
</div>
|
646
|
+
</div>
|
647
|
+
);
|
648
|
+
},
|
649
|
+
);
|