@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,333 @@
|
|
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 {
|
18
|
+
Class,
|
19
|
+
getAllOwnClassProperties,
|
20
|
+
getAllClassProperties,
|
21
|
+
getAllClassDerivedProperties,
|
22
|
+
PrimitiveType,
|
23
|
+
PRIMITIVE_TYPE,
|
24
|
+
} from '@finos/legend-graph';
|
25
|
+
import {
|
26
|
+
addUniqueEntry,
|
27
|
+
deleteEntry,
|
28
|
+
guaranteeNonNullable,
|
29
|
+
} from '@finos/legend-shared';
|
30
|
+
import { makeAutoObservable, observable, computed, action } from 'mobx';
|
31
|
+
import {
|
32
|
+
QUERY_BUILDER_PROPERTY_SEARCH_MAX_DEPTH,
|
33
|
+
QUERY_BUILDER_PROPERTY_SEARCH_RESULTS_LIMIT,
|
34
|
+
QUERY_BUILDER_PROPERTY_SEARCH_TYPE,
|
35
|
+
} from '../QueryBuilderConfig.js';
|
36
|
+
import {
|
37
|
+
getQueryBuilderPropertyNodeData,
|
38
|
+
getQueryBuilderSubTypeNodeData,
|
39
|
+
type QueryBuilderExplorerTreeNodeData,
|
40
|
+
QueryBuilderExplorerTreePropertyNodeData,
|
41
|
+
QueryBuilderExplorerTreeSubTypeNodeData,
|
42
|
+
} from './QueryBuilderExplorerState.js';
|
43
|
+
import type { QueryBuilderState } from '../QueryBuilderState.js';
|
44
|
+
|
45
|
+
export class QueryBuilderPropertySearchState {
|
46
|
+
queryBuilderState: QueryBuilderState;
|
47
|
+
// TODO: Check if we could clean this up as this seems quite complicated and its purpose is not clear to me
|
48
|
+
// See https://github.com/finos/legend-studio/pull/1212
|
49
|
+
allMappedPropertyNodes: QueryBuilderExplorerTreeNodeData[] = [];
|
50
|
+
searchedMappedPropertyNodes: QueryBuilderExplorerTreeNodeData[] = [];
|
51
|
+
isSearchPanelOpen = false;
|
52
|
+
isSearchPanelHidden = false;
|
53
|
+
searchText = '';
|
54
|
+
filterByMultiple: boolean;
|
55
|
+
typeFilters: QUERY_BUILDER_PROPERTY_SEARCH_TYPE[];
|
56
|
+
|
57
|
+
constructor(queryBuilderState: QueryBuilderState) {
|
58
|
+
makeAutoObservable(this, {
|
59
|
+
queryBuilderState: false,
|
60
|
+
searchedMappedPropertyNodes: observable,
|
61
|
+
isSearchPanelOpen: observable,
|
62
|
+
isSearchPanelHidden: observable,
|
63
|
+
searchText: observable,
|
64
|
+
filteredPropertyNodes: computed,
|
65
|
+
setSearchText: action,
|
66
|
+
setSearchedMappedPropertyNodes: action,
|
67
|
+
setIsSearchPanelOpen: action,
|
68
|
+
setIsSearchPanelHidden: action,
|
69
|
+
refreshPropertyState: action,
|
70
|
+
setFilterByMultiple: action,
|
71
|
+
toggleTypeFilter: action,
|
72
|
+
});
|
73
|
+
|
74
|
+
this.queryBuilderState = queryBuilderState;
|
75
|
+
this.filterByMultiple = true;
|
76
|
+
this.typeFilters = [
|
77
|
+
QUERY_BUILDER_PROPERTY_SEARCH_TYPE.CLASS,
|
78
|
+
QUERY_BUILDER_PROPERTY_SEARCH_TYPE.STRING,
|
79
|
+
QUERY_BUILDER_PROPERTY_SEARCH_TYPE.BOOLEAN,
|
80
|
+
QUERY_BUILDER_PROPERTY_SEARCH_TYPE.NUMBER,
|
81
|
+
QUERY_BUILDER_PROPERTY_SEARCH_TYPE.DATE,
|
82
|
+
];
|
83
|
+
}
|
84
|
+
|
85
|
+
toggleTypeFilter(val: QUERY_BUILDER_PROPERTY_SEARCH_TYPE): void {
|
86
|
+
if (this.typeFilters.includes(val)) {
|
87
|
+
deleteEntry(this.typeFilters, val);
|
88
|
+
} else {
|
89
|
+
addUniqueEntry(this.typeFilters, val);
|
90
|
+
}
|
91
|
+
}
|
92
|
+
|
93
|
+
setFilterByMultiple(val: boolean): void {
|
94
|
+
this.filterByMultiple = val;
|
95
|
+
}
|
96
|
+
|
97
|
+
getMultiplePropertyNodes(): QueryBuilderExplorerTreeNodeData[] {
|
98
|
+
return this.searchedMappedPropertyNodes.filter((node) => {
|
99
|
+
if (node instanceof QueryBuilderExplorerTreePropertyNodeData) {
|
100
|
+
if (
|
101
|
+
node.property.multiplicity.upperBound === undefined ||
|
102
|
+
node.property.multiplicity.upperBound > 1
|
103
|
+
) {
|
104
|
+
return true;
|
105
|
+
}
|
106
|
+
const parentNode = this.allMappedPropertyNodes.find(
|
107
|
+
(pn) => pn.id === node.parentId,
|
108
|
+
);
|
109
|
+
if (
|
110
|
+
parentNode instanceof QueryBuilderExplorerTreePropertyNodeData &&
|
111
|
+
(parentNode.property.multiplicity.upperBound === undefined ||
|
112
|
+
parentNode.property.multiplicity.upperBound > 1)
|
113
|
+
) {
|
114
|
+
return true;
|
115
|
+
}
|
116
|
+
}
|
117
|
+
return false;
|
118
|
+
});
|
119
|
+
}
|
120
|
+
|
121
|
+
classPropertyNodes(): QueryBuilderExplorerTreeNodeData[] {
|
122
|
+
return this.searchedMappedPropertyNodes.filter((node) => {
|
123
|
+
if (node.type instanceof Class) {
|
124
|
+
return true;
|
125
|
+
}
|
126
|
+
return false;
|
127
|
+
});
|
128
|
+
}
|
129
|
+
|
130
|
+
stringPropertyNodes(): QueryBuilderExplorerTreeNodeData[] {
|
131
|
+
return this.searchedMappedPropertyNodes.filter((node) => {
|
132
|
+
if (
|
133
|
+
node.type instanceof PrimitiveType &&
|
134
|
+
node.type.name === PRIMITIVE_TYPE.STRING
|
135
|
+
) {
|
136
|
+
return true;
|
137
|
+
}
|
138
|
+
return false;
|
139
|
+
});
|
140
|
+
}
|
141
|
+
|
142
|
+
numberPropertyNodes(): QueryBuilderExplorerTreeNodeData[] {
|
143
|
+
return this.searchedMappedPropertyNodes.filter((node) => {
|
144
|
+
if (
|
145
|
+
node.type instanceof PrimitiveType &&
|
146
|
+
(node.type.name === PRIMITIVE_TYPE.DECIMAL ||
|
147
|
+
node.type.name === PRIMITIVE_TYPE.NUMBER ||
|
148
|
+
node.type.name === PRIMITIVE_TYPE.INTEGER ||
|
149
|
+
node.type.name === PRIMITIVE_TYPE.FLOAT)
|
150
|
+
) {
|
151
|
+
return true;
|
152
|
+
}
|
153
|
+
return false;
|
154
|
+
});
|
155
|
+
}
|
156
|
+
|
157
|
+
datePropertyNodes(): QueryBuilderExplorerTreeNodeData[] {
|
158
|
+
return this.searchedMappedPropertyNodes.filter((node) => {
|
159
|
+
if (
|
160
|
+
node.type instanceof PrimitiveType &&
|
161
|
+
(node.type.name === PRIMITIVE_TYPE.DATE ||
|
162
|
+
node.type.name === PRIMITIVE_TYPE.DATETIME ||
|
163
|
+
node.type.name === PRIMITIVE_TYPE.STRICTDATE ||
|
164
|
+
node.type.name === PRIMITIVE_TYPE.STRICTTIME ||
|
165
|
+
node.type.name === PRIMITIVE_TYPE.LATESTDATE)
|
166
|
+
) {
|
167
|
+
return true;
|
168
|
+
}
|
169
|
+
return false;
|
170
|
+
});
|
171
|
+
}
|
172
|
+
|
173
|
+
booleanPropertyNodes(): QueryBuilderExplorerTreeNodeData[] {
|
174
|
+
return this.searchedMappedPropertyNodes.filter((node) => {
|
175
|
+
if (
|
176
|
+
node.type instanceof PrimitiveType &&
|
177
|
+
node.type.name === PRIMITIVE_TYPE.BOOLEAN
|
178
|
+
) {
|
179
|
+
return true;
|
180
|
+
}
|
181
|
+
return false;
|
182
|
+
});
|
183
|
+
}
|
184
|
+
|
185
|
+
get filteredPropertyNodes(): QueryBuilderExplorerTreeNodeData[] {
|
186
|
+
return this.searchedMappedPropertyNodes.filter((p) => {
|
187
|
+
if (
|
188
|
+
!this.filterByMultiple &&
|
189
|
+
this.getMultiplePropertyNodes().includes(p)
|
190
|
+
) {
|
191
|
+
return false;
|
192
|
+
}
|
193
|
+
if (
|
194
|
+
!this.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.CLASS) &&
|
195
|
+
this.classPropertyNodes().includes(p)
|
196
|
+
) {
|
197
|
+
return false;
|
198
|
+
}
|
199
|
+
if (
|
200
|
+
!this.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.STRING) &&
|
201
|
+
this.stringPropertyNodes().includes(p)
|
202
|
+
) {
|
203
|
+
return false;
|
204
|
+
}
|
205
|
+
if (
|
206
|
+
!this.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.NUMBER) &&
|
207
|
+
this.numberPropertyNodes().includes(p)
|
208
|
+
) {
|
209
|
+
return false;
|
210
|
+
}
|
211
|
+
if (
|
212
|
+
!this.typeFilters.includes(
|
213
|
+
QUERY_BUILDER_PROPERTY_SEARCH_TYPE.BOOLEAN,
|
214
|
+
) &&
|
215
|
+
this.booleanPropertyNodes().includes(p)
|
216
|
+
) {
|
217
|
+
return false;
|
218
|
+
}
|
219
|
+
if (
|
220
|
+
!this.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.DATE) &&
|
221
|
+
this.datePropertyNodes().includes(p)
|
222
|
+
) {
|
223
|
+
return false;
|
224
|
+
}
|
225
|
+
return true;
|
226
|
+
});
|
227
|
+
}
|
228
|
+
|
229
|
+
fetchAllPropertyNodes(): void {
|
230
|
+
const treeData = this.queryBuilderState.explorerState.nonNullableTreeData;
|
231
|
+
let currentLevelPropertyNodes: QueryBuilderExplorerTreeNodeData[] = [];
|
232
|
+
let nextLevelPropertyNodes: QueryBuilderExplorerTreeNodeData[] = [];
|
233
|
+
Array.from(treeData.nodes.values())
|
234
|
+
.slice(1)
|
235
|
+
.forEach((node) => {
|
236
|
+
if (node.mappingData.mapped && !node.isPartOfDerivedPropertyBranch) {
|
237
|
+
currentLevelPropertyNodes.push(node);
|
238
|
+
this.allMappedPropertyNodes.push(node);
|
239
|
+
}
|
240
|
+
});
|
241
|
+
let currentDepth = 1;
|
242
|
+
const maxDepth = QUERY_BUILDER_PROPERTY_SEARCH_MAX_DEPTH;
|
243
|
+
while (currentLevelPropertyNodes.length && currentDepth <= maxDepth) {
|
244
|
+
const node = currentLevelPropertyNodes.shift();
|
245
|
+
if (node) {
|
246
|
+
if (node.childrenIds.length) {
|
247
|
+
if (
|
248
|
+
(node instanceof QueryBuilderExplorerTreePropertyNodeData ||
|
249
|
+
node instanceof QueryBuilderExplorerTreeSubTypeNodeData) &&
|
250
|
+
node.type instanceof Class
|
251
|
+
) {
|
252
|
+
(node instanceof QueryBuilderExplorerTreeSubTypeNodeData
|
253
|
+
? getAllOwnClassProperties(node.type)
|
254
|
+
: getAllClassProperties(node.type).concat(
|
255
|
+
getAllClassDerivedProperties(node.type),
|
256
|
+
)
|
257
|
+
).forEach((property) => {
|
258
|
+
const propertyTreeNodeData = getQueryBuilderPropertyNodeData(
|
259
|
+
property,
|
260
|
+
node,
|
261
|
+
guaranteeNonNullable(
|
262
|
+
this.queryBuilderState.explorerState
|
263
|
+
.mappingModelCoverageAnalysisResult,
|
264
|
+
),
|
265
|
+
);
|
266
|
+
if (
|
267
|
+
propertyTreeNodeData?.mappingData.mapped &&
|
268
|
+
!propertyTreeNodeData.isPartOfDerivedPropertyBranch
|
269
|
+
) {
|
270
|
+
nextLevelPropertyNodes.push(propertyTreeNodeData);
|
271
|
+
this.allMappedPropertyNodes.push(propertyTreeNodeData);
|
272
|
+
}
|
273
|
+
});
|
274
|
+
node.type._subclasses.forEach((subclass) => {
|
275
|
+
const subTypeTreeNodeData = getQueryBuilderSubTypeNodeData(
|
276
|
+
subclass,
|
277
|
+
node,
|
278
|
+
guaranteeNonNullable(
|
279
|
+
this.queryBuilderState.explorerState
|
280
|
+
.mappingModelCoverageAnalysisResult,
|
281
|
+
),
|
282
|
+
);
|
283
|
+
nextLevelPropertyNodes.push(subTypeTreeNodeData);
|
284
|
+
this.allMappedPropertyNodes.push(subTypeTreeNodeData);
|
285
|
+
});
|
286
|
+
}
|
287
|
+
}
|
288
|
+
}
|
289
|
+
if (!currentLevelPropertyNodes.length) {
|
290
|
+
currentLevelPropertyNodes = nextLevelPropertyNodes;
|
291
|
+
nextLevelPropertyNodes = [];
|
292
|
+
currentDepth++;
|
293
|
+
}
|
294
|
+
}
|
295
|
+
}
|
296
|
+
|
297
|
+
fetchMappedPropertyNodes(propName: string): void {
|
298
|
+
const propertyName = propName.toLowerCase();
|
299
|
+
for (const node of this.allMappedPropertyNodes) {
|
300
|
+
if (node.label.toLowerCase().includes(propertyName)) {
|
301
|
+
this.searchedMappedPropertyNodes.push(node);
|
302
|
+
if (
|
303
|
+
this.searchedMappedPropertyNodes.length >
|
304
|
+
QUERY_BUILDER_PROPERTY_SEARCH_RESULTS_LIMIT
|
305
|
+
) {
|
306
|
+
break;
|
307
|
+
}
|
308
|
+
}
|
309
|
+
}
|
310
|
+
}
|
311
|
+
|
312
|
+
setIsSearchPanelOpen(val: boolean): void {
|
313
|
+
this.isSearchPanelOpen = val;
|
314
|
+
}
|
315
|
+
|
316
|
+
setIsSearchPanelHidden(val: boolean): void {
|
317
|
+
this.isSearchPanelHidden = val;
|
318
|
+
}
|
319
|
+
|
320
|
+
setSearchText(val: string): void {
|
321
|
+
this.searchText = val;
|
322
|
+
}
|
323
|
+
|
324
|
+
setSearchedMappedPropertyNodes(
|
325
|
+
val: QueryBuilderExplorerTreeNodeData[],
|
326
|
+
): void {
|
327
|
+
this.searchedMappedPropertyNodes = val;
|
328
|
+
}
|
329
|
+
|
330
|
+
refreshPropertyState(): void {
|
331
|
+
this.setSearchedMappedPropertyNodes([]);
|
332
|
+
}
|
333
|
+
}
|
@@ -0,0 +1,375 @@
|
|
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 {
|
18
|
+
type PackageableElement,
|
19
|
+
ConcreteFunctionDefinition,
|
20
|
+
Package,
|
21
|
+
Unit,
|
22
|
+
ROOT_PACKAGE_NAME,
|
23
|
+
} from '@finos/legend-graph';
|
24
|
+
import {
|
25
|
+
addUniqueEntry,
|
26
|
+
guaranteeNonNullable,
|
27
|
+
isNonNullable,
|
28
|
+
uuid,
|
29
|
+
} from '@finos/legend-shared';
|
30
|
+
import { action, makeObservable, observable } from 'mobx';
|
31
|
+
import type { QueryBuilderState } from '../QueryBuilderState.js';
|
32
|
+
import type { TreeNodeData, TreeData } from '@finos/legend-art';
|
33
|
+
|
34
|
+
export const QUERY_BUILDER_FUNCTION_DND_TYPE = 'QUERY_BUILDER_FUNCTION';
|
35
|
+
|
36
|
+
export interface QueryBuilderFunctionsExplorerDragSource {
|
37
|
+
node: QueryBuilderFunctionsExplorerTreeNodeData;
|
38
|
+
}
|
39
|
+
|
40
|
+
export class QueryBuilderFunctionsExplorerTreeNodeData implements TreeNodeData {
|
41
|
+
id: string;
|
42
|
+
label: string;
|
43
|
+
childrenIds: string[] = [];
|
44
|
+
isOpen?: boolean | undefined;
|
45
|
+
packageableElement: PackageableElement;
|
46
|
+
|
47
|
+
constructor(
|
48
|
+
id: string,
|
49
|
+
label: string,
|
50
|
+
packageableElement: PackageableElement,
|
51
|
+
) {
|
52
|
+
this.id = id;
|
53
|
+
this.label = label;
|
54
|
+
this.packageableElement = packageableElement;
|
55
|
+
}
|
56
|
+
}
|
57
|
+
|
58
|
+
const getValidDisplayablePackageSet = (
|
59
|
+
queryBuilderState: QueryBuilderState,
|
60
|
+
rootPackageName: ROOT_PACKAGE_NAME,
|
61
|
+
): Set<Package> => {
|
62
|
+
switch (rootPackageName) {
|
63
|
+
case ROOT_PACKAGE_NAME.PROJECT_DEPENDENCY_ROOT:
|
64
|
+
return queryBuilderState.functionsExplorerState
|
65
|
+
.dependencyDisplayablePackagesSet;
|
66
|
+
default:
|
67
|
+
return queryBuilderState.functionsExplorerState.displayablePackagesSet;
|
68
|
+
}
|
69
|
+
};
|
70
|
+
|
71
|
+
export const generateFunctionsExplorerTreeNodeData = (
|
72
|
+
queryBuilderState: QueryBuilderState,
|
73
|
+
element: PackageableElement,
|
74
|
+
rootPackageName: ROOT_PACKAGE_NAME,
|
75
|
+
): QueryBuilderFunctionsExplorerTreeNodeData => ({
|
76
|
+
id: element.path,
|
77
|
+
label: element.name,
|
78
|
+
childrenIds:
|
79
|
+
element instanceof Package
|
80
|
+
? element.children
|
81
|
+
.filter((child) => !(child instanceof Unit))
|
82
|
+
.filter(
|
83
|
+
(child) =>
|
84
|
+
(child instanceof Package &&
|
85
|
+
getValidDisplayablePackageSet(
|
86
|
+
queryBuilderState,
|
87
|
+
rootPackageName,
|
88
|
+
).has(child)) ||
|
89
|
+
child instanceof ConcreteFunctionDefinition,
|
90
|
+
)
|
91
|
+
.map((child) => child.path)
|
92
|
+
: [],
|
93
|
+
packageableElement: element,
|
94
|
+
});
|
95
|
+
|
96
|
+
const generateFunctionsExplorerTreeNodeChilrdren = (
|
97
|
+
queryBuilderState: QueryBuilderState,
|
98
|
+
node: QueryBuilderFunctionsExplorerTreeNodeData,
|
99
|
+
data: TreeData<QueryBuilderFunctionsExplorerTreeNodeData>,
|
100
|
+
rootPackageName = ROOT_PACKAGE_NAME.MAIN,
|
101
|
+
): void => {
|
102
|
+
const validDisplayablePackageSet = getValidDisplayablePackageSet(
|
103
|
+
queryBuilderState,
|
104
|
+
rootPackageName,
|
105
|
+
);
|
106
|
+
node.childrenIds = (node.packageableElement as Package).children
|
107
|
+
.filter((child) => !(child instanceof Unit))
|
108
|
+
.filter(
|
109
|
+
(child) =>
|
110
|
+
// avoid displaying empty packages
|
111
|
+
(child instanceof Package && validDisplayablePackageSet.has(child)) ||
|
112
|
+
child instanceof ConcreteFunctionDefinition,
|
113
|
+
)
|
114
|
+
.map((child) => child.path);
|
115
|
+
(node.packageableElement as Package).children
|
116
|
+
.filter((child) => !(child instanceof Unit))
|
117
|
+
.filter(
|
118
|
+
(child) =>
|
119
|
+
// avoid displaying empty packages
|
120
|
+
(child instanceof Package && validDisplayablePackageSet.has(child)) ||
|
121
|
+
child instanceof ConcreteFunctionDefinition,
|
122
|
+
)
|
123
|
+
.map((child) =>
|
124
|
+
generateFunctionsExplorerTreeNodeData(
|
125
|
+
queryBuilderState,
|
126
|
+
child,
|
127
|
+
rootPackageName,
|
128
|
+
),
|
129
|
+
)
|
130
|
+
.forEach((childNode) => {
|
131
|
+
const currentNode = data.nodes.get(childNode.id);
|
132
|
+
if (currentNode) {
|
133
|
+
currentNode.childrenIds = childNode.childrenIds;
|
134
|
+
currentNode.label = childNode.label;
|
135
|
+
} else {
|
136
|
+
data.nodes.set(childNode.id, childNode);
|
137
|
+
}
|
138
|
+
});
|
139
|
+
};
|
140
|
+
|
141
|
+
export const getFunctionsExplorerTreeData = (
|
142
|
+
root: Package,
|
143
|
+
queryBuilderState: QueryBuilderState,
|
144
|
+
rootPackageName = ROOT_PACKAGE_NAME.MAIN,
|
145
|
+
): TreeData<QueryBuilderFunctionsExplorerTreeNodeData> => {
|
146
|
+
const rootIds: string[] = [];
|
147
|
+
const nodes = new Map<string, QueryBuilderFunctionsExplorerTreeNodeData>();
|
148
|
+
const validDisplayablePackageSet = getValidDisplayablePackageSet(
|
149
|
+
queryBuilderState,
|
150
|
+
rootPackageName,
|
151
|
+
);
|
152
|
+
switch (rootPackageName) {
|
153
|
+
case ROOT_PACKAGE_NAME.PROJECT_DEPENDENCY_ROOT:
|
154
|
+
if (
|
155
|
+
queryBuilderState.graphManagerState.graph.dependencyManager.functions
|
156
|
+
.length === 0
|
157
|
+
) {
|
158
|
+
return { rootIds, nodes };
|
159
|
+
}
|
160
|
+
break;
|
161
|
+
default:
|
162
|
+
if (queryBuilderState.graphManagerState.graph.ownFunctions.length === 0) {
|
163
|
+
return { rootIds, nodes };
|
164
|
+
}
|
165
|
+
}
|
166
|
+
|
167
|
+
root.children
|
168
|
+
.slice()
|
169
|
+
.filter((child) => !(child instanceof Unit))
|
170
|
+
.filter(
|
171
|
+
(child) =>
|
172
|
+
child instanceof Package && validDisplayablePackageSet.has(child),
|
173
|
+
)
|
174
|
+
.sort((a, b) => a.name.localeCompare(b.name))
|
175
|
+
.sort(
|
176
|
+
(a, b) => (b instanceof Package ? 1 : 0) - (a instanceof Package ? 1 : 0),
|
177
|
+
)
|
178
|
+
.forEach((childPackage) => {
|
179
|
+
const childTreeNodeData = generateFunctionsExplorerTreeNodeData(
|
180
|
+
queryBuilderState,
|
181
|
+
childPackage,
|
182
|
+
rootPackageName,
|
183
|
+
);
|
184
|
+
addUniqueEntry(rootIds, childTreeNodeData.id);
|
185
|
+
nodes.set(childTreeNodeData.id, childTreeNodeData);
|
186
|
+
});
|
187
|
+
return { rootIds, nodes };
|
188
|
+
};
|
189
|
+
|
190
|
+
export const getFunctionsExplorerTreeNodeChildren = (
|
191
|
+
queryBuilderState: QueryBuilderState,
|
192
|
+
node: QueryBuilderFunctionsExplorerTreeNodeData,
|
193
|
+
data: TreeData<QueryBuilderFunctionsExplorerTreeNodeData>,
|
194
|
+
rootPackageName = ROOT_PACKAGE_NAME.MAIN,
|
195
|
+
): QueryBuilderFunctionsExplorerTreeNodeData[] => {
|
196
|
+
generateFunctionsExplorerTreeNodeChilrdren(
|
197
|
+
queryBuilderState,
|
198
|
+
node,
|
199
|
+
data,
|
200
|
+
rootPackageName,
|
201
|
+
);
|
202
|
+
return node.childrenIds
|
203
|
+
.map((id) => data.nodes.get(id))
|
204
|
+
.filter(isNonNullable)
|
205
|
+
.sort((a, b) => a.label.localeCompare(b.label))
|
206
|
+
.sort(
|
207
|
+
(a, b) =>
|
208
|
+
(b.packageableElement instanceof Package ? 1 : 0) -
|
209
|
+
(a.packageableElement instanceof Package ? 1 : 0),
|
210
|
+
);
|
211
|
+
};
|
212
|
+
|
213
|
+
const getAllPackagesFromElement = (element: PackageableElement): Package[] => {
|
214
|
+
if (element.package) {
|
215
|
+
return [element.package].concat(getAllPackagesFromElement(element.package));
|
216
|
+
}
|
217
|
+
return [];
|
218
|
+
};
|
219
|
+
|
220
|
+
export class QueryFunctionExplorerState {
|
221
|
+
readonly uuid = uuid();
|
222
|
+
queryFunctionsState: QueryFunctionsExplorerState;
|
223
|
+
concreteFunctionDefinition: ConcreteFunctionDefinition;
|
224
|
+
|
225
|
+
constructor(
|
226
|
+
queryFunctionsState: QueryFunctionsExplorerState,
|
227
|
+
concreteFunctionDefinition: ConcreteFunctionDefinition,
|
228
|
+
) {
|
229
|
+
makeObservable(this, {
|
230
|
+
concreteFunctionDefinition: observable,
|
231
|
+
});
|
232
|
+
this.queryFunctionsState = queryFunctionsState;
|
233
|
+
this.concreteFunctionDefinition = concreteFunctionDefinition;
|
234
|
+
}
|
235
|
+
}
|
236
|
+
|
237
|
+
export class QueryFunctionsExplorerState {
|
238
|
+
queryBuilderState: QueryBuilderState;
|
239
|
+
treeData?: TreeData<QueryBuilderFunctionsExplorerTreeNodeData> | undefined;
|
240
|
+
dependencyTreeData?:
|
241
|
+
| TreeData<QueryBuilderFunctionsExplorerTreeNodeData>
|
242
|
+
| undefined;
|
243
|
+
functionExplorerStates: QueryFunctionExplorerState[] = [];
|
244
|
+
dependencyFunctionExplorerStates: QueryFunctionExplorerState[] = [];
|
245
|
+
displayablePackagesSet: Set<Package> = new Set<Package>();
|
246
|
+
dependencyDisplayablePackagesSet: Set<Package> = new Set<Package>();
|
247
|
+
|
248
|
+
constructor(queryBuilderState: QueryBuilderState) {
|
249
|
+
makeObservable(this, {
|
250
|
+
functionExplorerStates: observable.ref,
|
251
|
+
dependencyFunctionExplorerStates: observable.ref,
|
252
|
+
treeData: observable.ref,
|
253
|
+
dependencyTreeData: observable.ref,
|
254
|
+
setTreeData: action,
|
255
|
+
setDependencyTreeData: action,
|
256
|
+
refreshTree: action,
|
257
|
+
onTreeNodeSelect: action,
|
258
|
+
});
|
259
|
+
this.queryBuilderState = queryBuilderState;
|
260
|
+
this.initializeTreeData();
|
261
|
+
}
|
262
|
+
|
263
|
+
getTreeData(
|
264
|
+
rootPackageName = ROOT_PACKAGE_NAME.MAIN,
|
265
|
+
): TreeData<QueryBuilderFunctionsExplorerTreeNodeData> | undefined {
|
266
|
+
switch (rootPackageName) {
|
267
|
+
case ROOT_PACKAGE_NAME.PROJECT_DEPENDENCY_ROOT:
|
268
|
+
return this.dependencyTreeData;
|
269
|
+
default:
|
270
|
+
return this.treeData;
|
271
|
+
}
|
272
|
+
}
|
273
|
+
|
274
|
+
async initializeDisplayablePackagesSet(): Promise<void> {
|
275
|
+
this.queryBuilderState.graphManagerState.graph.ownFunctions
|
276
|
+
.map((f) => getAllPackagesFromElement(f))
|
277
|
+
.flat()
|
278
|
+
.forEach((pkg) => this.displayablePackagesSet.add(pkg));
|
279
|
+
}
|
280
|
+
|
281
|
+
async initializeDependencyDisplayablePackagesSet(): Promise<void> {
|
282
|
+
this.queryBuilderState.graphManagerState.graph.dependencyManager.functions
|
283
|
+
.map((f) => getAllPackagesFromElement(f))
|
284
|
+
.flat()
|
285
|
+
.forEach((pkg) => this.dependencyDisplayablePackagesSet.add(pkg));
|
286
|
+
}
|
287
|
+
|
288
|
+
setTreeData(
|
289
|
+
val: TreeData<QueryBuilderFunctionsExplorerTreeNodeData> | undefined,
|
290
|
+
): void {
|
291
|
+
this.treeData = val;
|
292
|
+
}
|
293
|
+
|
294
|
+
setDependencyTreeData(
|
295
|
+
val: TreeData<QueryBuilderFunctionsExplorerTreeNodeData> | undefined,
|
296
|
+
): void {
|
297
|
+
this.dependencyTreeData = val;
|
298
|
+
}
|
299
|
+
|
300
|
+
refreshTree(): void {
|
301
|
+
if (this.treeData) {
|
302
|
+
this.treeData = { ...this.treeData };
|
303
|
+
}
|
304
|
+
if (this.dependencyTreeData) {
|
305
|
+
this.dependencyTreeData = { ...this.dependencyTreeData };
|
306
|
+
}
|
307
|
+
}
|
308
|
+
|
309
|
+
get nonNullableTreeData(): TreeData<QueryBuilderFunctionsExplorerTreeNodeData> {
|
310
|
+
return guaranteeNonNullable(
|
311
|
+
this.treeData,
|
312
|
+
'Query builder functions explorer tree data has not been initialized',
|
313
|
+
);
|
314
|
+
}
|
315
|
+
|
316
|
+
onTreeNodeSelect = (
|
317
|
+
queryBuilderState: QueryBuilderState,
|
318
|
+
node: QueryBuilderFunctionsExplorerTreeNodeData,
|
319
|
+
data: TreeData<QueryBuilderFunctionsExplorerTreeNodeData>,
|
320
|
+
rootPackageName = ROOT_PACKAGE_NAME.MAIN,
|
321
|
+
): void => {
|
322
|
+
if (node.packageableElement instanceof Package) {
|
323
|
+
if (node.childrenIds.length) {
|
324
|
+
node.isOpen = !node.isOpen;
|
325
|
+
generateFunctionsExplorerTreeNodeChilrdren(
|
326
|
+
queryBuilderState,
|
327
|
+
node,
|
328
|
+
data,
|
329
|
+
rootPackageName,
|
330
|
+
);
|
331
|
+
}
|
332
|
+
switch (rootPackageName) {
|
333
|
+
case ROOT_PACKAGE_NAME.PROJECT_DEPENDENCY_ROOT:
|
334
|
+
this.setDependencyTreeData({ ...data });
|
335
|
+
break;
|
336
|
+
default:
|
337
|
+
this.setTreeData({ ...data });
|
338
|
+
}
|
339
|
+
}
|
340
|
+
};
|
341
|
+
|
342
|
+
initializeTreeData(): void {
|
343
|
+
this.initializeDisplayablePackagesSet().finally(() => {
|
344
|
+
this.setTreeData(
|
345
|
+
getFunctionsExplorerTreeData(
|
346
|
+
this.queryBuilderState.graphManagerState.graph.root,
|
347
|
+
this.queryBuilderState,
|
348
|
+
),
|
349
|
+
);
|
350
|
+
this.functionExplorerStates =
|
351
|
+
this.queryBuilderState.graphManagerState.graph.ownFunctions.map(
|
352
|
+
(f) => new QueryFunctionExplorerState(this, f),
|
353
|
+
);
|
354
|
+
});
|
355
|
+
if (
|
356
|
+
this.queryBuilderState.graphManagerState.graph.dependencyManager
|
357
|
+
.hasDependencies
|
358
|
+
) {
|
359
|
+
this.initializeDependencyDisplayablePackagesSet().finally(() => {
|
360
|
+
this.setDependencyTreeData(
|
361
|
+
getFunctionsExplorerTreeData(
|
362
|
+
this.queryBuilderState.graphManagerState.graph.dependencyManager
|
363
|
+
.root,
|
364
|
+
this.queryBuilderState,
|
365
|
+
ROOT_PACKAGE_NAME.PROJECT_DEPENDENCY_ROOT,
|
366
|
+
),
|
367
|
+
);
|
368
|
+
this.dependencyFunctionExplorerStates =
|
369
|
+
this.queryBuilderState.graphManagerState.graph.dependencyManager.functions.map(
|
370
|
+
(f) => new QueryFunctionExplorerState(this, f),
|
371
|
+
);
|
372
|
+
});
|
373
|
+
}
|
374
|
+
}
|
375
|
+
}
|