@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,640 @@
|
|
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 { AgGridColumn, AgGridReact } from '@ag-grid-community/react';
|
18
|
+
import {
|
19
|
+
BlankPanelContent,
|
20
|
+
PanelLoadingIndicator,
|
21
|
+
PlayIcon,
|
22
|
+
DropdownMenu,
|
23
|
+
MenuContent,
|
24
|
+
MenuContentItem,
|
25
|
+
CaretDownIcon,
|
26
|
+
ContextMenu,
|
27
|
+
clsx,
|
28
|
+
PauseCircleIcon,
|
29
|
+
} from '@finos/legend-art';
|
30
|
+
import { observer } from 'mobx-react-lite';
|
31
|
+
import { flowResult } from 'mobx';
|
32
|
+
import type { QueryBuilderState } from '../stores/QueryBuilderState.js';
|
33
|
+
import {
|
34
|
+
type ExecutionResult,
|
35
|
+
type Enumeration,
|
36
|
+
InstanceValue,
|
37
|
+
extractExecutionResultValues,
|
38
|
+
TdsExecutionResult,
|
39
|
+
RawExecutionResult,
|
40
|
+
EXECUTION_SERIALIZATION_FORMAT,
|
41
|
+
EnumValueInstanceValue,
|
42
|
+
EnumValueExplicitReference,
|
43
|
+
} from '@finos/legend-graph';
|
44
|
+
import {
|
45
|
+
ActionAlertActionType,
|
46
|
+
ActionAlertType,
|
47
|
+
EDITOR_LANGUAGE,
|
48
|
+
ExecutionPlanViewer,
|
49
|
+
instanceValue_changeValue,
|
50
|
+
instanceValue_changeValues,
|
51
|
+
PARAMETER_SUBMIT_ACTION,
|
52
|
+
TAB_SIZE,
|
53
|
+
TextInputEditor,
|
54
|
+
useApplicationStore,
|
55
|
+
} from '@finos/legend-application';
|
56
|
+
import {
|
57
|
+
assertErrorThrown,
|
58
|
+
guaranteeNonNullable,
|
59
|
+
isBoolean,
|
60
|
+
} from '@finos/legend-shared';
|
61
|
+
import { forwardRef, useState } from 'react';
|
62
|
+
import type { CellMouseOverEvent } from '@ag-grid-community/core';
|
63
|
+
import {
|
64
|
+
QueryBuilderDerivationProjectionColumnState,
|
65
|
+
QueryBuilderProjectionColumnState,
|
66
|
+
} from '../stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js';
|
67
|
+
import {
|
68
|
+
type QueryBuilderPostFilterTreeNodeData,
|
69
|
+
PostFilterConditionState,
|
70
|
+
QueryBuilderPostFilterTreeConditionNodeData,
|
71
|
+
} from '../stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js';
|
72
|
+
import {
|
73
|
+
QueryBuilderPostFilterOperator_Equal,
|
74
|
+
QueryBuilderPostFilterOperator_NotEqual,
|
75
|
+
} from '../stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js';
|
76
|
+
import {
|
77
|
+
QueryBuilderPostFilterOperator_In,
|
78
|
+
QueryBuilderPostFilterOperator_NotIn,
|
79
|
+
} from '../stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.js';
|
80
|
+
import type { QueryBuilderPostFilterOperator } from '../stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.js';
|
81
|
+
import { QueryBuilderProjectionState } from '../stores/fetch-structure/projection/QueryBuilderProjectionState.js';
|
82
|
+
|
83
|
+
const QueryBuilderGridResultContextMenu = observer(
|
84
|
+
forwardRef<
|
85
|
+
HTMLDivElement,
|
86
|
+
{
|
87
|
+
event: CellMouseOverEvent | null;
|
88
|
+
projectionState: QueryBuilderProjectionState;
|
89
|
+
}
|
90
|
+
>(function QueryBuilderResultContextMenu(props, ref) {
|
91
|
+
const { event, projectionState } = props;
|
92
|
+
const applicationStore = useApplicationStore();
|
93
|
+
const postFilterEqualOperator = new QueryBuilderPostFilterOperator_Equal();
|
94
|
+
const postFilterInOperator = new QueryBuilderPostFilterOperator_In();
|
95
|
+
const postFilterNotEqualOperator =
|
96
|
+
new QueryBuilderPostFilterOperator_NotEqual();
|
97
|
+
const postFilterNotInOperator = new QueryBuilderPostFilterOperator_NotIn();
|
98
|
+
const postFilterState = projectionState.postFilterState;
|
99
|
+
const projectionColumnState = guaranteeNonNullable(
|
100
|
+
projectionState.columns
|
101
|
+
.filter((c) => c.columnName === event?.column.getColId())
|
102
|
+
.concat(
|
103
|
+
projectionState.aggregationState.columns
|
104
|
+
.filter((c) => c.columnName === event?.column.getColId())
|
105
|
+
.map((ag) => ag.projectionColumnState),
|
106
|
+
)[0],
|
107
|
+
);
|
108
|
+
|
109
|
+
const getExistingPostFilterNode = (
|
110
|
+
operators: QueryBuilderPostFilterOperator[],
|
111
|
+
): QueryBuilderPostFilterTreeNodeData | undefined =>
|
112
|
+
Array.from(postFilterState.nodes.values())
|
113
|
+
.filter(
|
114
|
+
(v) =>
|
115
|
+
v instanceof QueryBuilderPostFilterTreeConditionNodeData &&
|
116
|
+
v.condition.columnState instanceof
|
117
|
+
QueryBuilderProjectionColumnState,
|
118
|
+
)
|
119
|
+
.filter(
|
120
|
+
(n) =>
|
121
|
+
(n as QueryBuilderPostFilterTreeConditionNodeData).condition
|
122
|
+
.columnState.columnName === projectionColumnState.columnName &&
|
123
|
+
operators
|
124
|
+
.map((op) => op.getLabel())
|
125
|
+
.includes(
|
126
|
+
(
|
127
|
+
n as QueryBuilderPostFilterTreeConditionNodeData
|
128
|
+
).condition.operator.getLabel(),
|
129
|
+
),
|
130
|
+
)[0];
|
131
|
+
|
132
|
+
const updateFilterConditionValue = (
|
133
|
+
conditionValue: InstanceValue,
|
134
|
+
): void => {
|
135
|
+
if (event?.value !== null) {
|
136
|
+
instanceValue_changeValue(
|
137
|
+
conditionValue,
|
138
|
+
conditionValue instanceof EnumValueInstanceValue
|
139
|
+
? EnumValueExplicitReference.create(
|
140
|
+
guaranteeNonNullable(
|
141
|
+
(
|
142
|
+
conditionValue.genericType?.ownerReference
|
143
|
+
.value as Enumeration
|
144
|
+
).values.filter((v) => v.name === event?.value)[0],
|
145
|
+
),
|
146
|
+
)
|
147
|
+
: event?.value,
|
148
|
+
0,
|
149
|
+
);
|
150
|
+
}
|
151
|
+
};
|
152
|
+
|
153
|
+
const generateNewPostFilterConditionNodeData = async (
|
154
|
+
operator: QueryBuilderPostFilterOperator,
|
155
|
+
): Promise<void> => {
|
156
|
+
let postFilterConditionState: PostFilterConditionState;
|
157
|
+
try {
|
158
|
+
postFilterConditionState = new PostFilterConditionState(
|
159
|
+
postFilterState,
|
160
|
+
projectionColumnState,
|
161
|
+
undefined,
|
162
|
+
operator,
|
163
|
+
);
|
164
|
+
if (
|
165
|
+
projectionColumnState instanceof
|
166
|
+
QueryBuilderDerivationProjectionColumnState
|
167
|
+
) {
|
168
|
+
await flowResult(
|
169
|
+
projectionColumnState.fetchDerivationLambdaReturnType(),
|
170
|
+
);
|
171
|
+
}
|
172
|
+
const defaultFilterConditionValue =
|
173
|
+
postFilterConditionState.operator.getDefaultFilterConditionValue(
|
174
|
+
postFilterConditionState,
|
175
|
+
);
|
176
|
+
postFilterConditionState.setValue(defaultFilterConditionValue);
|
177
|
+
updateFilterConditionValue(
|
178
|
+
defaultFilterConditionValue as InstanceValue,
|
179
|
+
);
|
180
|
+
} catch (error) {
|
181
|
+
assertErrorThrown(error);
|
182
|
+
applicationStore.notifyWarning(error.message);
|
183
|
+
return;
|
184
|
+
}
|
185
|
+
postFilterState.addNodeFromNode(
|
186
|
+
new QueryBuilderPostFilterTreeConditionNodeData(
|
187
|
+
undefined,
|
188
|
+
postFilterConditionState,
|
189
|
+
),
|
190
|
+
undefined,
|
191
|
+
);
|
192
|
+
};
|
193
|
+
|
194
|
+
const updateExistingPostFilterConditionNodeData = (
|
195
|
+
existingPostFilterNode: QueryBuilderPostFilterTreeNodeData,
|
196
|
+
isFilterBy: boolean,
|
197
|
+
): void => {
|
198
|
+
const conditionState = (
|
199
|
+
existingPostFilterNode as QueryBuilderPostFilterTreeConditionNodeData
|
200
|
+
).condition;
|
201
|
+
if (
|
202
|
+
conditionState.operator.getLabel() ===
|
203
|
+
(isFilterBy
|
204
|
+
? postFilterEqualOperator
|
205
|
+
: postFilterNotEqualOperator
|
206
|
+
).getLabel()
|
207
|
+
) {
|
208
|
+
const doesValueAlreadyExist =
|
209
|
+
conditionState.value instanceof InstanceValue &&
|
210
|
+
(conditionState.value instanceof EnumValueInstanceValue
|
211
|
+
? conditionState.value.values.map((ef) => ef.value.name)
|
212
|
+
: conditionState.value.values
|
213
|
+
).includes(event?.value);
|
214
|
+
if (!doesValueAlreadyExist) {
|
215
|
+
const currentValueSpecificaton = conditionState.value;
|
216
|
+
const newValueSpecification =
|
217
|
+
conditionState.operator.getDefaultFilterConditionValue(
|
218
|
+
conditionState,
|
219
|
+
);
|
220
|
+
updateFilterConditionValue(newValueSpecification as InstanceValue);
|
221
|
+
conditionState.changeOperator(
|
222
|
+
isFilterBy ? postFilterInOperator : postFilterNotInOperator,
|
223
|
+
);
|
224
|
+
instanceValue_changeValues(conditionState.value as InstanceValue, [
|
225
|
+
currentValueSpecificaton,
|
226
|
+
newValueSpecification,
|
227
|
+
]);
|
228
|
+
}
|
229
|
+
} else {
|
230
|
+
const doesValueAlreadyExist =
|
231
|
+
conditionState.value instanceof InstanceValue &&
|
232
|
+
conditionState.value.values
|
233
|
+
.filter((v) => v instanceof InstanceValue)
|
234
|
+
.map((v) =>
|
235
|
+
v instanceof EnumValueInstanceValue
|
236
|
+
? v.values.map((ef) => ef.value.name)
|
237
|
+
: (v as InstanceValue).values,
|
238
|
+
)
|
239
|
+
.flat()
|
240
|
+
.includes(event?.value);
|
241
|
+
if (!doesValueAlreadyExist) {
|
242
|
+
const newValueSpecification = (
|
243
|
+
isFilterBy ? postFilterEqualOperator : postFilterNotEqualOperator
|
244
|
+
).getDefaultFilterConditionValue(conditionState);
|
245
|
+
updateFilterConditionValue(newValueSpecification as InstanceValue);
|
246
|
+
instanceValue_changeValues(conditionState.value as InstanceValue, [
|
247
|
+
...(conditionState.value as InstanceValue).values,
|
248
|
+
newValueSpecification,
|
249
|
+
]);
|
250
|
+
}
|
251
|
+
}
|
252
|
+
};
|
253
|
+
|
254
|
+
const filterByOrOut = (isFilterBy: boolean): void => {
|
255
|
+
projectionState.setShowPostFilterPanel(true);
|
256
|
+
const existingPostFilterNode = getExistingPostFilterNode(
|
257
|
+
isFilterBy
|
258
|
+
? [postFilterEqualOperator, postFilterInOperator]
|
259
|
+
: [postFilterNotEqualOperator, postFilterNotInOperator],
|
260
|
+
);
|
261
|
+
existingPostFilterNode === undefined
|
262
|
+
? generateNewPostFilterConditionNodeData(
|
263
|
+
isFilterBy ? postFilterEqualOperator : postFilterNotEqualOperator,
|
264
|
+
).catch(applicationStore.alertUnhandledError)
|
265
|
+
: updateExistingPostFilterConditionNodeData(
|
266
|
+
existingPostFilterNode,
|
267
|
+
isFilterBy,
|
268
|
+
);
|
269
|
+
};
|
270
|
+
|
271
|
+
return (
|
272
|
+
<MenuContent ref={ref}>
|
273
|
+
<MenuContentItem
|
274
|
+
onClick={(): void => {
|
275
|
+
filterByOrOut(true);
|
276
|
+
}}
|
277
|
+
>
|
278
|
+
Filter By
|
279
|
+
</MenuContentItem>
|
280
|
+
<MenuContentItem
|
281
|
+
onClick={(): void => {
|
282
|
+
filterByOrOut(false);
|
283
|
+
}}
|
284
|
+
>
|
285
|
+
Filter Out
|
286
|
+
</MenuContentItem>
|
287
|
+
</MenuContent>
|
288
|
+
);
|
289
|
+
}),
|
290
|
+
);
|
291
|
+
|
292
|
+
const QueryBuilderGridResult = observer(
|
293
|
+
(props: {
|
294
|
+
executionResult: TdsExecutionResult;
|
295
|
+
queryBuilderState: QueryBuilderState;
|
296
|
+
}) => {
|
297
|
+
const { executionResult, queryBuilderState } = props;
|
298
|
+
const fetchStructureImplementation =
|
299
|
+
queryBuilderState.fetchStructureState.implementation;
|
300
|
+
const [cellDoubleClickedEvent, setCellDoubleClickedEvent] =
|
301
|
+
useState<CellMouseOverEvent | null>(null);
|
302
|
+
const columns = executionResult.result.columns;
|
303
|
+
const rowData = executionResult.result.rows.map((_row) => {
|
304
|
+
const row: Record<PropertyKey, unknown> = {};
|
305
|
+
const cols = executionResult.result.columns;
|
306
|
+
_row.values.forEach((value, idx) => {
|
307
|
+
// `ag-grid` shows `false` value as empty string so we have
|
308
|
+
// call `.toString()` to avoid this behavior.
|
309
|
+
// See https://github.com/finos/legend-studio/issues/1008
|
310
|
+
row[cols[idx] as string] = isBoolean(value) ? String(value) : value;
|
311
|
+
});
|
312
|
+
return row;
|
313
|
+
});
|
314
|
+
|
315
|
+
return (
|
316
|
+
<ContextMenu
|
317
|
+
content={
|
318
|
+
// NOTE: we only support this functionality for grid result with a projection fetch-structure
|
319
|
+
fetchStructureImplementation instanceof
|
320
|
+
QueryBuilderProjectionState ? (
|
321
|
+
<QueryBuilderGridResultContextMenu
|
322
|
+
event={cellDoubleClickedEvent}
|
323
|
+
projectionState={fetchStructureImplementation}
|
324
|
+
/>
|
325
|
+
) : null
|
326
|
+
}
|
327
|
+
disabled={
|
328
|
+
!(fetchStructureImplementation instanceof QueryBuilderProjectionState)
|
329
|
+
}
|
330
|
+
menuProps={{ elevation: 7 }}
|
331
|
+
key={executionResult._UUID}
|
332
|
+
className={clsx('ag-theme-balham-dark query-builder__result__tds-grid')}
|
333
|
+
>
|
334
|
+
<AgGridReact
|
335
|
+
rowData={rowData}
|
336
|
+
onCellMouseOver={(event): void => {
|
337
|
+
setCellDoubleClickedEvent(event);
|
338
|
+
}}
|
339
|
+
>
|
340
|
+
{columns.map((colName) => (
|
341
|
+
<AgGridColumn
|
342
|
+
minWidth={50}
|
343
|
+
sortable={true}
|
344
|
+
resizable={true}
|
345
|
+
field={colName}
|
346
|
+
key={colName}
|
347
|
+
flex={1}
|
348
|
+
/>
|
349
|
+
))}
|
350
|
+
</AgGridReact>
|
351
|
+
</ContextMenu>
|
352
|
+
);
|
353
|
+
},
|
354
|
+
);
|
355
|
+
|
356
|
+
const QueryBuilderResultValues = observer(
|
357
|
+
(props: {
|
358
|
+
executionResult: ExecutionResult;
|
359
|
+
queryBuilderState: QueryBuilderState;
|
360
|
+
}) => {
|
361
|
+
const { executionResult, queryBuilderState } = props;
|
362
|
+
if (executionResult instanceof TdsExecutionResult) {
|
363
|
+
return (
|
364
|
+
<QueryBuilderGridResult
|
365
|
+
queryBuilderState={queryBuilderState}
|
366
|
+
executionResult={executionResult}
|
367
|
+
/>
|
368
|
+
);
|
369
|
+
} else if (executionResult instanceof RawExecutionResult) {
|
370
|
+
return (
|
371
|
+
<TextInputEditor
|
372
|
+
language={EDITOR_LANGUAGE.TEXT}
|
373
|
+
inputValue={executionResult.value}
|
374
|
+
isReadOnly={true}
|
375
|
+
/>
|
376
|
+
);
|
377
|
+
} else {
|
378
|
+
const executionResultString = JSON.stringify(
|
379
|
+
extractExecutionResultValues(executionResult),
|
380
|
+
null,
|
381
|
+
TAB_SIZE,
|
382
|
+
);
|
383
|
+
return (
|
384
|
+
<TextInputEditor
|
385
|
+
language={EDITOR_LANGUAGE.JSON}
|
386
|
+
inputValue={executionResultString}
|
387
|
+
isReadOnly={true}
|
388
|
+
/>
|
389
|
+
);
|
390
|
+
}
|
391
|
+
},
|
392
|
+
);
|
393
|
+
|
394
|
+
export const QueryBuilderResultPanel = observer(
|
395
|
+
(props: { queryBuilderState: QueryBuilderState }) => {
|
396
|
+
const { queryBuilderState } = props;
|
397
|
+
const applicationStore = useApplicationStore();
|
398
|
+
const resultState = queryBuilderState.resultState;
|
399
|
+
const queryParametersState = queryBuilderState.parametersState;
|
400
|
+
const executionResult = resultState.executionResult;
|
401
|
+
const USER_ATTESTATION_MESSAGE =
|
402
|
+
'I attest that I am aware of the sensitive data leakage risk when exporting queried data. The data I export will only be used by me.';
|
403
|
+
const exportQueryResults = async (
|
404
|
+
format: EXECUTION_SERIALIZATION_FORMAT,
|
405
|
+
): Promise<void> => {
|
406
|
+
if (queryBuilderState.parametersState.parameterStates.length) {
|
407
|
+
queryParametersState.parameterValuesEditorState.open(
|
408
|
+
(): Promise<void> =>
|
409
|
+
flowResult(resultState.exportData(format)).catch(
|
410
|
+
applicationStore.alertUnhandledError,
|
411
|
+
),
|
412
|
+
PARAMETER_SUBMIT_ACTION.EXPORT,
|
413
|
+
);
|
414
|
+
} else {
|
415
|
+
await flowResult(resultState.exportData(format)).catch(
|
416
|
+
applicationStore.alertUnhandledError,
|
417
|
+
);
|
418
|
+
}
|
419
|
+
};
|
420
|
+
|
421
|
+
const confirmExport = (format: EXECUTION_SERIALIZATION_FORMAT): void => {
|
422
|
+
applicationStore.setActionAlertInfo({
|
423
|
+
message: USER_ATTESTATION_MESSAGE,
|
424
|
+
type: ActionAlertType.CAUTION,
|
425
|
+
actions: [
|
426
|
+
{
|
427
|
+
label: 'Accept',
|
428
|
+
type: ActionAlertActionType.PROCEED_WITH_CAUTION,
|
429
|
+
handler: applicationStore.guardUnhandledError(() =>
|
430
|
+
exportQueryResults(format),
|
431
|
+
),
|
432
|
+
},
|
433
|
+
{
|
434
|
+
label: 'Decline',
|
435
|
+
type: ActionAlertActionType.PROCEED,
|
436
|
+
default: true,
|
437
|
+
},
|
438
|
+
],
|
439
|
+
});
|
440
|
+
};
|
441
|
+
const queryValidationIssues = queryBuilderState.validationIssues;
|
442
|
+
const isQueryValid =
|
443
|
+
!queryBuilderState.isQuerySupported || !queryValidationIssues;
|
444
|
+
const runQuery = (): void => {
|
445
|
+
if (queryParametersState.parameterStates.length) {
|
446
|
+
queryParametersState.parameterValuesEditorState.open(
|
447
|
+
(): Promise<void> =>
|
448
|
+
flowResult(resultState.runQuery()).catch(
|
449
|
+
applicationStore.alertUnhandledError,
|
450
|
+
),
|
451
|
+
PARAMETER_SUBMIT_ACTION.EXECUTE,
|
452
|
+
);
|
453
|
+
} else {
|
454
|
+
flowResult(resultState.runQuery()).catch(
|
455
|
+
applicationStore.alertUnhandledError,
|
456
|
+
);
|
457
|
+
}
|
458
|
+
};
|
459
|
+
const cancelQuery = (): void => {
|
460
|
+
resultState.setIsRunningQuery(false);
|
461
|
+
queryBuilderState.resultState.setQueryRunPromise(undefined);
|
462
|
+
};
|
463
|
+
const generatePlan = applicationStore.guardUnhandledError(() =>
|
464
|
+
flowResult(resultState.generatePlan(false)),
|
465
|
+
);
|
466
|
+
const debugPlanGeneration = applicationStore.guardUnhandledError(() =>
|
467
|
+
flowResult(resultState.generatePlan(true)),
|
468
|
+
);
|
469
|
+
|
470
|
+
const changeLimit: React.ChangeEventHandler<HTMLInputElement> = (event) => {
|
471
|
+
const val = event.target.value;
|
472
|
+
queryBuilderState.resultState.setPreviewLimit(
|
473
|
+
val === '' ? 0 : parseInt(val, 10),
|
474
|
+
);
|
475
|
+
};
|
476
|
+
const allowSettingPreviewLimit = queryBuilderState.isQuerySupported;
|
477
|
+
const resultSetSize = (result: ExecutionResult | undefined): string =>
|
478
|
+
result && result instanceof TdsExecutionResult
|
479
|
+
? `${
|
480
|
+
result.result.rows.length
|
481
|
+
} row(s) in ${resultState.executionDuration?.toString()} ms`
|
482
|
+
: '';
|
483
|
+
|
484
|
+
return (
|
485
|
+
<div className="panel query-builder__result">
|
486
|
+
<div className="panel__header">
|
487
|
+
<div className="panel__header__title">
|
488
|
+
<div className="panel__header__title__label">result</div>
|
489
|
+
<div className="query-builder__result__analytics">
|
490
|
+
{resultSetSize(executionResult)}
|
491
|
+
</div>
|
492
|
+
</div>
|
493
|
+
<div className="panel__header__actions query-builder__result__header__actions">
|
494
|
+
{allowSettingPreviewLimit && (
|
495
|
+
<div className="query-builder__result__limit">
|
496
|
+
<div className="query-builder__result__limit__label">
|
497
|
+
preview limit
|
498
|
+
</div>
|
499
|
+
<input
|
500
|
+
className="input--dark query-builder__result__limit__input"
|
501
|
+
spellCheck={false}
|
502
|
+
type="number"
|
503
|
+
value={resultState.previewLimit}
|
504
|
+
onChange={changeLimit}
|
505
|
+
disabled={!isQueryValid}
|
506
|
+
/>
|
507
|
+
</div>
|
508
|
+
)}
|
509
|
+
{resultState.isRunningQuery ? (
|
510
|
+
<button
|
511
|
+
className="query-builder__result__stop-btn"
|
512
|
+
onClick={cancelQuery}
|
513
|
+
tabIndex={-1}
|
514
|
+
disabled={!isQueryValid}
|
515
|
+
>
|
516
|
+
<div className="btn--dark btn--caution query-builder__result__stop-btn__label">
|
517
|
+
<PauseCircleIcon className="query-builder__result__stop-btn__label__icon" />
|
518
|
+
<div className="query-builder__result__stop-btn__label__title">
|
519
|
+
Stop
|
520
|
+
</div>
|
521
|
+
</div>
|
522
|
+
</button>
|
523
|
+
) : (
|
524
|
+
<button
|
525
|
+
className="query-builder__result__execute-btn"
|
526
|
+
onClick={runQuery}
|
527
|
+
tabIndex={-1}
|
528
|
+
title={
|
529
|
+
queryValidationIssues
|
530
|
+
? `Query is not valid:\n${queryValidationIssues
|
531
|
+
.map((issue) => `\u2022 ${issue}`)
|
532
|
+
.join('\n')}`
|
533
|
+
: undefined
|
534
|
+
}
|
535
|
+
disabled={!isQueryValid}
|
536
|
+
>
|
537
|
+
<div className="query-builder__result__execute-btn__label">
|
538
|
+
<PlayIcon className="query-builder__result__execute-btn__label__icon" />
|
539
|
+
<div className="query-builder__result__execute-btn__label__title">
|
540
|
+
Run Query
|
541
|
+
</div>
|
542
|
+
</div>
|
543
|
+
<DropdownMenu
|
544
|
+
className="query-builder__result__execute-btn__dropdown-btn"
|
545
|
+
disabled={resultState.isGeneratingPlan}
|
546
|
+
content={
|
547
|
+
<MenuContent>
|
548
|
+
<MenuContentItem
|
549
|
+
className="query-builder__result__execute-btn__option"
|
550
|
+
onClick={generatePlan}
|
551
|
+
>
|
552
|
+
Generate Plan
|
553
|
+
</MenuContentItem>
|
554
|
+
<MenuContentItem
|
555
|
+
className="query-builder__result__execute-btn__option"
|
556
|
+
onClick={debugPlanGeneration}
|
557
|
+
>
|
558
|
+
Debug
|
559
|
+
</MenuContentItem>
|
560
|
+
</MenuContent>
|
561
|
+
}
|
562
|
+
menuProps={{
|
563
|
+
anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
|
564
|
+
transformOrigin: { vertical: 'top', horizontal: 'right' },
|
565
|
+
}}
|
566
|
+
>
|
567
|
+
<CaretDownIcon />
|
568
|
+
</DropdownMenu>
|
569
|
+
</button>
|
570
|
+
)}
|
571
|
+
<DropdownMenu
|
572
|
+
className="query-builder__result__export__dropdown"
|
573
|
+
content={
|
574
|
+
<MenuContent>
|
575
|
+
{Object.values(EXECUTION_SERIALIZATION_FORMAT).map(
|
576
|
+
(format) => (
|
577
|
+
<MenuContentItem
|
578
|
+
key={format}
|
579
|
+
className="query-builder__result__export__dropdown__menu__item"
|
580
|
+
onClick={(): void => confirmExport(format)}
|
581
|
+
>
|
582
|
+
{format}
|
583
|
+
</MenuContentItem>
|
584
|
+
),
|
585
|
+
)}
|
586
|
+
</MenuContent>
|
587
|
+
}
|
588
|
+
menuProps={{
|
589
|
+
anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
|
590
|
+
transformOrigin: { vertical: 'top', horizontal: 'right' },
|
591
|
+
elevation: 7,
|
592
|
+
}}
|
593
|
+
>
|
594
|
+
<button
|
595
|
+
className="query-builder__result__export__dropdown__label"
|
596
|
+
tabIndex={-1}
|
597
|
+
title="Export"
|
598
|
+
disabled={!isQueryValid}
|
599
|
+
>
|
600
|
+
Export
|
601
|
+
</button>
|
602
|
+
<button
|
603
|
+
className="query-builder__result__export__dropdown__trigger"
|
604
|
+
tabIndex={-1}
|
605
|
+
disabled={!isQueryValid}
|
606
|
+
>
|
607
|
+
<CaretDownIcon />
|
608
|
+
</button>
|
609
|
+
</DropdownMenu>
|
610
|
+
</div>
|
611
|
+
</div>
|
612
|
+
<div className="panel__content">
|
613
|
+
<PanelLoadingIndicator
|
614
|
+
isLoading={
|
615
|
+
resultState.isRunningQuery ||
|
616
|
+
resultState.isGeneratingPlan ||
|
617
|
+
resultState.exportDataState.isInProgress
|
618
|
+
}
|
619
|
+
/>
|
620
|
+
{!executionResult && (
|
621
|
+
<BlankPanelContent>
|
622
|
+
Build or load a valid query first
|
623
|
+
</BlankPanelContent>
|
624
|
+
)}
|
625
|
+
{executionResult && (
|
626
|
+
<div className="query-builder__result__values">
|
627
|
+
<QueryBuilderResultValues
|
628
|
+
executionResult={executionResult}
|
629
|
+
queryBuilderState={queryBuilderState}
|
630
|
+
/>
|
631
|
+
</div>
|
632
|
+
)}
|
633
|
+
</div>
|
634
|
+
<ExecutionPlanViewer
|
635
|
+
executionPlanState={resultState.executionPlanState}
|
636
|
+
/>
|
637
|
+
</div>
|
638
|
+
);
|
639
|
+
},
|
640
|
+
);
|