@finos/legend-application-query 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +3 -0
- package/lib/LegendQueryAppEvent.d.ts +19 -0
- package/lib/LegendQueryAppEvent.d.ts.map +1 -0
- package/lib/LegendQueryAppEvent.js +21 -0
- package/lib/LegendQueryAppEvent.js.map +1 -0
- package/lib/QueryBuilder_Const.d.ts +77 -0
- package/lib/QueryBuilder_Const.d.ts.map +1 -0
- package/lib/QueryBuilder_Const.js +85 -0
- package/lib/QueryBuilder_Const.js.map +1 -0
- package/lib/application/LegendQuery.d.ts +27 -0
- package/lib/application/LegendQuery.d.ts.map +1 -0
- package/lib/application/LegendQuery.js +58 -0
- package/lib/application/LegendQuery.js.map +1 -0
- package/lib/application/LegendQueryApplicationConfig.d.ts +46 -0
- package/lib/application/LegendQueryApplicationConfig.d.ts.map +1 -0
- package/lib/application/LegendQueryApplicationConfig.js +35 -0
- package/lib/application/LegendQueryApplicationConfig.js.map +1 -0
- package/lib/application/LegendQueryPluginManager.d.ts +32 -0
- package/lib/application/LegendQueryPluginManager.d.ts.map +1 -0
- package/lib/application/LegendQueryPluginManager.js +46 -0
- package/lib/application/LegendQueryPluginManager.js.map +1 -0
- package/lib/components/LegendQueryApplication.d.ts +25 -0
- package/lib/components/LegendQueryApplication.d.ts.map +1 -0
- package/lib/components/LegendQueryApplication.js +39 -0
- package/lib/components/LegendQueryApplication.js.map +1 -0
- package/lib/components/LegendQueryBaseStoreProvider.d.ts +28 -0
- package/lib/components/LegendQueryBaseStoreProvider.d.ts.map +1 -0
- package/lib/components/LegendQueryBaseStoreProvider.js +32 -0
- package/lib/components/LegendQueryBaseStoreProvider.js.map +1 -0
- package/lib/components/QueryBuilder.d.ts +23 -0
- package/lib/components/QueryBuilder.d.ts.map +1 -0
- package/lib/components/QueryBuilder.js +91 -0
- package/lib/components/QueryBuilder.js.map +1 -0
- package/lib/components/QueryBuilderExplorerPanel.d.ts +34 -0
- package/lib/components/QueryBuilderExplorerPanel.d.ts.map +1 -0
- package/lib/components/QueryBuilderExplorerPanel.js +379 -0
- package/lib/components/QueryBuilderExplorerPanel.js.map +1 -0
- package/lib/components/QueryBuilderFetchStructurePanel.d.ts +23 -0
- package/lib/components/QueryBuilderFetchStructurePanel.d.ts.map +1 -0
- package/lib/components/QueryBuilderFetchStructurePanel.js +89 -0
- package/lib/components/QueryBuilderFetchStructurePanel.js.map +1 -0
- package/lib/components/QueryBuilderFilterPanel.d.ts +23 -0
- package/lib/components/QueryBuilderFilterPanel.d.ts.map +1 -0
- package/lib/components/QueryBuilderFilterPanel.js +301 -0
- package/lib/components/QueryBuilderFilterPanel.js.map +1 -0
- package/lib/components/QueryBuilderFunctionsExplorerPanel.d.ts +23 -0
- package/lib/components/QueryBuilderFunctionsExplorerPanel.d.ts.map +1 -0
- package/lib/components/QueryBuilderFunctionsExplorerPanel.js +177 -0
- package/lib/components/QueryBuilderFunctionsExplorerPanel.js.map +1 -0
- package/lib/components/QueryBuilderGraphFetchTreePanel.d.ts +33 -0
- package/lib/components/QueryBuilderGraphFetchTreePanel.d.ts.map +1 -0
- package/lib/components/QueryBuilderGraphFetchTreePanel.js +96 -0
- package/lib/components/QueryBuilderGraphFetchTreePanel.js.map +1 -0
- package/lib/components/QueryBuilderLambdaEditor.d.ts +42 -0
- package/lib/components/QueryBuilderLambdaEditor.d.ts.map +1 -0
- package/lib/components/QueryBuilderLambdaEditor.js +47 -0
- package/lib/components/QueryBuilderLambdaEditor.js.map +1 -0
- package/lib/components/QueryBuilderMilestoneEditor.d.ts +24 -0
- package/lib/components/QueryBuilderMilestoneEditor.d.ts.map +1 -0
- package/lib/components/QueryBuilderMilestoneEditor.js +120 -0
- package/lib/components/QueryBuilderMilestoneEditor.js.map +1 -0
- package/lib/components/QueryBuilderParameterPanel.d.ts +30 -0
- package/lib/components/QueryBuilderParameterPanel.d.ts.map +1 -0
- package/lib/components/QueryBuilderParameterPanel.js +148 -0
- package/lib/components/QueryBuilderParameterPanel.js.map +1 -0
- package/lib/components/QueryBuilderPostFilterPanel.d.ts +31 -0
- package/lib/components/QueryBuilderPostFilterPanel.d.ts.map +1 -0
- package/lib/components/QueryBuilderPostFilterPanel.js +373 -0
- package/lib/components/QueryBuilderPostFilterPanel.js.map +1 -0
- package/lib/components/QueryBuilderProjectionPanel.d.ts +23 -0
- package/lib/components/QueryBuilderProjectionPanel.d.ts.map +1 -0
- package/lib/components/QueryBuilderProjectionPanel.js +229 -0
- package/lib/components/QueryBuilderProjectionPanel.js.map +1 -0
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts +30 -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/QueryBuilderPropertyInfoTooltip.d.ts +26 -0
- package/lib/components/QueryBuilderPropertyInfoTooltip.d.ts.map +1 -0
- package/lib/components/QueryBuilderPropertyInfoTooltip.js +32 -0
- package/lib/components/QueryBuilderPropertyInfoTooltip.js.map +1 -0
- package/lib/components/QueryBuilderPropertySearchPanel.d.ts +24 -0
- package/lib/components/QueryBuilderPropertySearchPanel.d.ts.map +1 -0
- package/lib/components/QueryBuilderPropertySearchPanel.js +202 -0
- package/lib/components/QueryBuilderPropertySearchPanel.js.map +1 -0
- package/lib/components/QueryBuilderResultModifierPanel.d.ts +23 -0
- package/lib/components/QueryBuilderResultModifierPanel.d.ts.map +1 -0
- package/lib/components/QueryBuilderResultModifierPanel.js +88 -0
- package/lib/components/QueryBuilderResultModifierPanel.js.map +1 -0
- package/lib/components/QueryBuilderResultPanel.d.ts +23 -0
- package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -0
- package/lib/components/QueryBuilderResultPanel.js +223 -0
- package/lib/components/QueryBuilderResultPanel.js.map +1 -0
- package/lib/components/QueryBuilderSetupPanel.d.ts +23 -0
- package/lib/components/QueryBuilderSetupPanel.d.ts.map +1 -0
- package/lib/components/QueryBuilderSetupPanel.js +148 -0
- package/lib/components/QueryBuilderSetupPanel.js.map +1 -0
- package/lib/components/QueryBuilderTextEditor.d.ts +23 -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 +23 -0
- package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts.map +1 -0
- package/lib/components/QueryBuilderUnsupportedQueryEditor.js +35 -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/QueryEditor.d.ts +29 -0
- package/lib/components/QueryEditor.d.ts.map +1 -0
- package/lib/components/QueryEditor.js +130 -0
- package/lib/components/QueryEditor.js.map +1 -0
- package/lib/components/QueryEditorComponentTestUtils.d.ts +35 -0
- package/lib/components/QueryEditorComponentTestUtils.d.ts.map +1 -0
- package/lib/components/QueryEditorComponentTestUtils.js +108 -0
- package/lib/components/QueryEditorComponentTestUtils.js.map +1 -0
- package/lib/components/QueryEditorStoreProvider.d.ts +37 -0
- package/lib/components/QueryEditorStoreProvider.d.ts.map +1 -0
- package/lib/components/QueryEditorStoreProvider.js +48 -0
- package/lib/components/QueryEditorStoreProvider.js.map +1 -0
- package/lib/components/QuerySetup.d.ts +18 -0
- package/lib/components/QuerySetup.d.ts.map +1 -0
- package/lib/components/QuerySetup.js +388 -0
- package/lib/components/QuerySetup.js.map +1 -0
- package/lib/components/QuerySetupStoreProvider.d.ts +23 -0
- package/lib/components/QuerySetupStoreProvider.d.ts.map +1 -0
- package/lib/components/QuerySetupStoreProvider.js +35 -0
- package/lib/components/QuerySetupStoreProvider.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/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 +68 -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 +36 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +36 -0
- package/lib/index.js.map +1 -0
- package/lib/package.json +99 -0
- package/lib/stores/LegendQueryApplicationPlugin.d.ts +47 -0
- package/lib/stores/LegendQueryApplicationPlugin.d.ts.map +1 -0
- package/lib/stores/LegendQueryApplicationPlugin.js +27 -0
- package/lib/stores/LegendQueryApplicationPlugin.js.map +1 -0
- package/lib/stores/LegendQueryBaseStore.d.ts +28 -0
- package/lib/stores/LegendQueryBaseStore.d.ts.map +1 -0
- package/lib/stores/LegendQueryBaseStore.js +28 -0
- package/lib/stores/LegendQueryBaseStore.js.map +1 -0
- package/lib/stores/LegendQueryEventService.d.ts +27 -0
- package/lib/stores/LegendQueryEventService.d.ts.map +1 -0
- package/lib/stores/LegendQueryEventService.js +29 -0
- package/lib/stores/LegendQueryEventService.js.map +1 -0
- package/lib/stores/LegendQueryRouter.d.ts +55 -0
- package/lib/stores/LegendQueryRouter.d.ts.map +1 -0
- package/lib/stores/LegendQueryRouter.js +50 -0
- package/lib/stores/LegendQueryRouter.js.map +1 -0
- package/lib/stores/QueryBuilderAggregationState.d.ts +53 -0
- package/lib/stores/QueryBuilderAggregationState.d.ts.map +1 -0
- package/lib/stores/QueryBuilderAggregationState.js +122 -0
- package/lib/stores/QueryBuilderAggregationState.js.map +1 -0
- package/lib/stores/QueryBuilderExplorerState.d.ts +93 -0
- package/lib/stores/QueryBuilderExplorerState.d.ts.map +1 -0
- package/lib/stores/QueryBuilderExplorerState.js +310 -0
- package/lib/stores/QueryBuilderExplorerState.js.map +1 -0
- package/lib/stores/QueryBuilderFetchStructureState.d.ts +33 -0
- package/lib/stores/QueryBuilderFetchStructureState.d.ts.map +1 -0
- package/lib/stores/QueryBuilderFetchStructureState.js +50 -0
- package/lib/stores/QueryBuilderFetchStructureState.js.map +1 -0
- package/lib/stores/QueryBuilderFilterState.d.ts +127 -0
- package/lib/stores/QueryBuilderFilterState.d.ts.map +1 -0
- package/lib/stores/QueryBuilderFilterState.js +566 -0
- package/lib/stores/QueryBuilderFilterState.js.map +1 -0
- package/lib/stores/QueryBuilderGraphFetchTreeState.d.ts +35 -0
- package/lib/stores/QueryBuilderGraphFetchTreeState.d.ts.map +1 -0
- package/lib/stores/QueryBuilderGraphFetchTreeState.js +65 -0
- package/lib/stores/QueryBuilderGraphFetchTreeState.js.map +1 -0
- package/lib/stores/QueryBuilderGraphFetchTreeUtil.d.ts +41 -0
- package/lib/stores/QueryBuilderGraphFetchTreeUtil.d.ts.map +1 -0
- package/lib/stores/QueryBuilderGraphFetchTreeUtil.js +173 -0
- package/lib/stores/QueryBuilderGraphFetchTreeUtil.js.map +1 -0
- package/lib/stores/QueryBuilderLambdaBuilder.d.ts +30 -0
- package/lib/stores/QueryBuilderLambdaBuilder.d.ts.map +1 -0
- package/lib/stores/QueryBuilderLambdaBuilder.js +407 -0
- package/lib/stores/QueryBuilderLambdaBuilder.js.map +1 -0
- package/lib/stores/QueryBuilderLambdaProcessor.d.ts +56 -0
- package/lib/stores/QueryBuilderLambdaProcessor.d.ts.map +1 -0
- package/lib/stores/QueryBuilderLambdaProcessor.js +544 -0
- package/lib/stores/QueryBuilderLambdaProcessor.js.map +1 -0
- package/lib/stores/QueryBuilderOperatorsHelper.d.ts +28 -0
- package/lib/stores/QueryBuilderOperatorsHelper.d.ts.map +1 -0
- package/lib/stores/QueryBuilderOperatorsHelper.js +123 -0
- package/lib/stores/QueryBuilderOperatorsHelper.js.map +1 -0
- package/lib/stores/QueryBuilderPostFilterOperator.d.ts +29 -0
- package/lib/stores/QueryBuilderPostFilterOperator.d.ts.map +1 -0
- package/lib/stores/QueryBuilderPostFilterOperator.js +30 -0
- package/lib/stores/QueryBuilderPostFilterOperator.js.map +1 -0
- package/lib/stores/QueryBuilderPostFilterProcessor.d.ts +24 -0
- package/lib/stores/QueryBuilderPostFilterProcessor.d.ts.map +1 -0
- package/lib/stores/QueryBuilderPostFilterProcessor.js +111 -0
- package/lib/stores/QueryBuilderPostFilterProcessor.js.map +1 -0
- package/lib/stores/QueryBuilderPostFilterState.d.ts +132 -0
- package/lib/stores/QueryBuilderPostFilterState.d.ts.map +1 -0
- package/lib/stores/QueryBuilderPostFilterState.js +559 -0
- package/lib/stores/QueryBuilderPostFilterState.js.map +1 -0
- package/lib/stores/QueryBuilderPreviewDataHelper.d.ts +25 -0
- package/lib/stores/QueryBuilderPreviewDataHelper.d.ts.map +1 -0
- package/lib/stores/QueryBuilderPreviewDataHelper.js +161 -0
- package/lib/stores/QueryBuilderPreviewDataHelper.js.map +1 -0
- package/lib/stores/QueryBuilderProjectionState.d.ts +104 -0
- package/lib/stores/QueryBuilderProjectionState.d.ts.map +1 -0
- package/lib/stores/QueryBuilderProjectionState.js +432 -0
- package/lib/stores/QueryBuilderProjectionState.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 +384 -0
- package/lib/stores/QueryBuilderPropertyEditorState.js.map +1 -0
- package/lib/stores/QueryBuilderPropertySearchPanelState.d.ts +46 -0
- package/lib/stores/QueryBuilderPropertySearchPanelState.d.ts.map +1 -0
- package/lib/stores/QueryBuilderPropertySearchPanelState.js +240 -0
- package/lib/stores/QueryBuilderPropertySearchPanelState.js.map +1 -0
- package/lib/stores/QueryBuilderResultState.d.ts +38 -0
- package/lib/stores/QueryBuilderResultState.d.ts.map +1 -0
- package/lib/stores/QueryBuilderResultState.js +164 -0
- package/lib/stores/QueryBuilderResultState.js.map +1 -0
- package/lib/stores/QueryBuilderSetupState.d.ts +46 -0
- package/lib/stores/QueryBuilderSetupState.d.ts.map +1 -0
- package/lib/stores/QueryBuilderSetupState.js +163 -0
- package/lib/stores/QueryBuilderSetupState.js.map +1 -0
- package/lib/stores/QueryBuilderState.d.ts +101 -0
- package/lib/stores/QueryBuilderState.d.ts.map +1 -0
- package/lib/stores/QueryBuilderState.js +371 -0
- package/lib/stores/QueryBuilderState.js.map +1 -0
- package/lib/stores/QueryBuilderUnsupportedState.d.ts +26 -0
- package/lib/stores/QueryBuilderUnsupportedState.d.ts.map +1 -0
- package/lib/stores/QueryBuilderUnsupportedState.js +36 -0
- package/lib/stores/QueryBuilderUnsupportedState.js.map +1 -0
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts +19 -0
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts.map +1 -0
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js +50 -0
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js.map +1 -0
- package/lib/stores/QueryEditorStore.d.ts +98 -0
- package/lib/stores/QueryEditorStore.d.ts.map +1 -0
- package/lib/stores/QueryEditorStore.js +370 -0
- package/lib/stores/QueryEditorStore.js.map +1 -0
- package/lib/stores/QueryEditorStoreTestUtils.d.ts +18 -0
- package/lib/stores/QueryEditorStoreTestUtils.d.ts.map +1 -0
- package/lib/stores/QueryEditorStoreTestUtils.js +42 -0
- package/lib/stores/QueryEditorStoreTestUtils.js.map +1 -0
- package/lib/stores/QueryFunctionsExplorerState.d.ts +63 -0
- package/lib/stores/QueryFunctionsExplorerState.d.ts.map +1 -0
- package/lib/stores/QueryFunctionsExplorerState.js +238 -0
- package/lib/stores/QueryFunctionsExplorerState.js.map +1 -0
- package/lib/stores/QueryParametersState.d.ts +30 -0
- package/lib/stores/QueryParametersState.d.ts.map +1 -0
- package/lib/stores/QueryParametersState.js +42 -0
- package/lib/stores/QueryParametersState.js.map +1 -0
- package/lib/stores/QueryResultSetModifierState.d.ts +52 -0
- package/lib/stores/QueryResultSetModifierState.d.ts.map +1 -0
- package/lib/stores/QueryResultSetModifierState.js +165 -0
- package/lib/stores/QueryResultSetModifierState.js.map +1 -0
- package/lib/stores/QuerySetupStore.d.ts +86 -0
- package/lib/stores/QuerySetupStore.d.ts.map +1 -0
- package/lib/stores/QuerySetupStore.js +297 -0
- package/lib/stores/QuerySetupStore.js.map +1 -0
- package/lib/stores/QueryTextEditorState.d.ts +49 -0
- package/lib/stores/QueryTextEditorState.d.ts.map +1 -0
- package/lib/stores/QueryTextEditorState.js +145 -0
- package/lib/stores/QueryTextEditorState.js.map +1 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperatorHelper.d.ts +21 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperatorHelper.d.ts.map +1 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperatorHelper.js +40 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperatorHelper.js.map +1 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Average.d.ts +26 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Average.d.ts.map +1 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Average.js +50 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Average.js.map +1 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Count.d.ts +26 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Count.d.ts.map +1 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Count.js +55 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Count.js.map +1 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Distinct.d.ts +25 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Distinct.d.ts.map +1 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Distinct.js +50 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Distinct.js.map +1 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_DistinctCount.d.ts +26 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_DistinctCount.d.ts.map +1 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_DistinctCount.js +77 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_DistinctCount.js.map +1 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_JoinString.d.ts +26 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_JoinString.d.ts.map +1 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_JoinString.js +66 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_JoinString.js.map +1 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Max.d.ts +25 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Max.d.ts.map +1 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Max.js +86 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Max.js.map +1 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Min.d.ts +25 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Min.d.ts.map +1 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Min.js +86 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Min.js.map +1 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_StdDev_Population.d.ts +26 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_StdDev_Population.d.ts.map +1 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_StdDev_Population.js +50 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_StdDev_Population.js.map +1 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts +26 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts.map +1 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_StdDev_Sample.js +50 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_StdDev_Sample.js.map +1 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Sum.d.ts +25 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Sum.d.ts.map +1 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Sum.js +45 -0
- package/lib/stores/aggregateOperators/QueryBuilderAggregateOperator_Sum.js.map +1 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperatorHelper.d.ts +20 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperatorHelper.d.ts.map +1 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperatorHelper.js +257 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperatorHelper.js.map +1 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_Contain.d.ts +31 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_Contain.d.ts.map +1 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_Contain.js +72 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_Contain.js.map +1 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_EndWith.d.ts +31 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_EndWith.d.ts.map +1 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_EndWith.js +72 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_EndWith.js.map +1 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_Equal.d.ts +31 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_Equal.d.ts.map +1 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_Equal.js +139 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_Equal.js.map +1 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_GreaterThan.d.ts +26 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_GreaterThan.d.ts.map +1 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_GreaterThan.js +107 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_GreaterThan.js.map +1 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts +26 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts.map +1 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_GreaterThanEqual.js +107 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_GreaterThanEqual.js.map +1 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_In.d.ts +31 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_In.d.ts.map +1 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_In.js +103 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_In.js.map +1 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_IsEmpty.d.ts +31 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_IsEmpty.d.ts.map +1 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_IsEmpty.js +65 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_IsEmpty.js.map +1 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_LessThan.d.ts +26 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_LessThan.d.ts.map +1 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_LessThan.js +108 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_LessThan.js.map +1 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_LessThanEqual.d.ts +26 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_LessThanEqual.d.ts.map +1 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_LessThanEqual.js +107 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_LessThanEqual.js.map +1 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_StartWith.d.ts +31 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_StartWith.d.ts.map +1 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_StartWith.js +72 -0
- package/lib/stores/filterOperators/QueryBuilderFilterOperator_StartWith.js.map +1 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperatorHelper.d.ts +23 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperatorHelper.d.ts.map +1 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperatorHelper.js +74 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperatorHelper.js.map +1 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_Contain.d.ts +32 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_Contain.d.ts.map +1 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_Contain.js +76 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_Contain.js.map +1 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_EndWith.d.ts +32 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_EndWith.d.ts.map +1 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_EndWith.js +76 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_EndWith.js.map +1 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_Equal.d.ts +32 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_Equal.d.ts.map +1 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_Equal.js +142 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_Equal.js.map +1 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_GreaterThan.d.ts +27 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_GreaterThan.d.ts.map +1 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_GreaterThan.js +105 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_GreaterThan.js.map +1 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts +24 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts.map +1 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_GreaterThanEqual.js +43 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_GreaterThanEqual.js.map +1 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_In.d.ts +32 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_In.d.ts.map +1 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_In.js +104 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_In.js.map +1 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_IsEmpty.d.ts +33 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_IsEmpty.d.ts.map +1 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_IsEmpty.js +67 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_IsEmpty.js.map +1 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_LessThan.d.ts +27 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_LessThan.d.ts.map +1 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_LessThan.js +105 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_LessThan.js.map +1 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts +24 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts.map +1 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_LessThanEqual.js +43 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_LessThanEqual.js.map +1 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_StartWith.d.ts +32 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_StartWith.d.ts.map +1 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_StartWith.js +76 -0
- package/lib/stores/postFilterOperators/QueryBuilderPostFilterOperator_StartWith.js.map +1 -0
- package/package.json +99 -0
- package/src/LegendQueryAppEvent.ts +20 -0
- package/src/QueryBuilder_Const.ts +88 -0
- package/src/application/LegendQuery.tsx +92 -0
- package/src/application/LegendQueryApplicationConfig.ts +77 -0
- package/src/application/LegendQueryPluginManager.ts +67 -0
- package/src/components/LegendQueryApplication.tsx +104 -0
- package/src/components/LegendQueryBaseStoreProvider.tsx +68 -0
- package/src/components/QueryBuilder.tsx +375 -0
- package/src/components/QueryBuilderExplorerPanel.tsx +998 -0
- package/src/components/QueryBuilderFetchStructurePanel.tsx +184 -0
- package/src/components/QueryBuilderFilterPanel.tsx +858 -0
- package/src/components/QueryBuilderFunctionsExplorerPanel.tsx +598 -0
- package/src/components/QueryBuilderGraphFetchTreePanel.tsx +270 -0
- package/src/components/QueryBuilderLambdaEditor.tsx +117 -0
- package/src/components/QueryBuilderMilestoneEditor.tsx +291 -0
- package/src/components/QueryBuilderParameterPanel.tsx +434 -0
- package/src/components/QueryBuilderPostFilterPanel.tsx +1061 -0
- package/src/components/QueryBuilderProjectionPanel.tsx +652 -0
- package/src/components/QueryBuilderPropertyExpressionEditor.tsx +370 -0
- package/src/components/QueryBuilderPropertyInfoTooltip.tsx +87 -0
- package/src/components/QueryBuilderPropertySearchPanel.tsx +617 -0
- package/src/components/QueryBuilderResultModifierPanel.tsx +252 -0
- package/src/components/QueryBuilderResultPanel.tsx +582 -0
- package/src/components/QueryBuilderSetupPanel.tsx +341 -0
- package/src/components/QueryBuilderTextEditor.tsx +127 -0
- package/src/components/QueryBuilderUnsupportedQueryEditor.tsx +110 -0
- package/src/components/QueryBuilder_TestID.ts +26 -0
- package/src/components/QueryEditor.tsx +345 -0
- package/src/components/QueryEditorComponentTestUtils.tsx +200 -0
- package/src/components/QueryEditorStoreProvider.tsx +128 -0
- package/src/components/QuerySetup.tsx +907 -0
- package/src/components/QuerySetupStoreProvider.tsx +65 -0
- package/src/components/shared/ElementIconUtils.tsx +47 -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 +170 -0
- package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.ts +573 -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 +57 -0
- package/src/stores/LegendQueryApplicationPlugin.ts +61 -0
- package/src/stores/LegendQueryBaseStore.ts +47 -0
- package/src/stores/LegendQueryEventService.ts +38 -0
- package/src/stores/LegendQueryRouter.ts +114 -0
- package/src/stores/QueryBuilderAggregationState.ts +208 -0
- package/src/stores/QueryBuilderExplorerState.ts +590 -0
- package/src/stores/QueryBuilderFetchStructureState.ts +59 -0
- package/src/stores/QueryBuilderFilterState.ts +815 -0
- package/src/stores/QueryBuilderGraphFetchTreeState.ts +90 -0
- package/src/stores/QueryBuilderGraphFetchTreeUtil.ts +281 -0
- package/src/stores/QueryBuilderLambdaBuilder.ts +755 -0
- package/src/stores/QueryBuilderLambdaProcessor.ts +1239 -0
- package/src/stores/QueryBuilderOperatorsHelper.ts +191 -0
- package/src/stores/QueryBuilderPostFilterOperator.ts +66 -0
- package/src/stores/QueryBuilderPostFilterProcessor.ts +275 -0
- package/src/stores/QueryBuilderPostFilterState.ts +762 -0
- package/src/stores/QueryBuilderPreviewDataHelper.ts +300 -0
- package/src/stores/QueryBuilderProjectionState.ts +796 -0
- package/src/stores/QueryBuilderPropertyEditorState.ts +656 -0
- package/src/stores/QueryBuilderPropertySearchPanelState.ts +331 -0
- package/src/stores/QueryBuilderResultState.ts +263 -0
- package/src/stores/QueryBuilderSetupState.ts +236 -0
- package/src/stores/QueryBuilderState.ts +561 -0
- package/src/stores/QueryBuilderUnsupportedState.ts +42 -0
- package/src/stores/QueryBuilderValueSpecificationBuilderHelper.ts +76 -0
- package/src/stores/QueryEditorStore.ts +648 -0
- package/src/stores/QueryEditorStoreTestUtils.ts +46 -0
- package/src/stores/QueryFunctionsExplorerState.ts +386 -0
- package/src/stores/QueryParametersState.ts +54 -0
- package/src/stores/QueryResultSetModifierState.ts +307 -0
- package/src/stores/QuerySetupStore.ts +430 -0
- package/src/stores/QueryTextEditorState.ts +203 -0
- package/src/stores/aggregateOperators/QueryBuilderAggregateOperatorHelper.ts +111 -0
- package/src/stores/aggregateOperators/QueryBuilderAggregateOperator_Average.ts +100 -0
- package/src/stores/aggregateOperators/QueryBuilderAggregateOperator_Count.ts +108 -0
- package/src/stores/aggregateOperators/QueryBuilderAggregateOperator_Distinct.ts +98 -0
- package/src/stores/aggregateOperators/QueryBuilderAggregateOperator_DistinctCount.ts +175 -0
- package/src/stores/aggregateOperators/QueryBuilderAggregateOperator_JoinString.ts +157 -0
- package/src/stores/aggregateOperators/QueryBuilderAggregateOperator_Max.ts +176 -0
- package/src/stores/aggregateOperators/QueryBuilderAggregateOperator_Min.ts +176 -0
- package/src/stores/aggregateOperators/QueryBuilderAggregateOperator_StdDev_Population.ts +100 -0
- package/src/stores/aggregateOperators/QueryBuilderAggregateOperator_StdDev_Sample.ts +100 -0
- package/src/stores/aggregateOperators/QueryBuilderAggregateOperator_Sum.ts +90 -0
- package/src/stores/filterOperators/QueryBuilderFilterOperatorHelper.ts +524 -0
- package/src/stores/filterOperators/QueryBuilderFilterOperator_Contain.ts +134 -0
- package/src/stores/filterOperators/QueryBuilderFilterOperator_EndWith.ts +134 -0
- package/src/stores/filterOperators/QueryBuilderFilterOperator_Equal.ts +233 -0
- package/src/stores/filterOperators/QueryBuilderFilterOperator_GreaterThan.ts +164 -0
- package/src/stores/filterOperators/QueryBuilderFilterOperator_GreaterThanEqual.ts +164 -0
- package/src/stores/filterOperators/QueryBuilderFilterOperator_In.ts +181 -0
- package/src/stores/filterOperators/QueryBuilderFilterOperator_IsEmpty.ts +125 -0
- package/src/stores/filterOperators/QueryBuilderFilterOperator_LessThan.ts +165 -0
- package/src/stores/filterOperators/QueryBuilderFilterOperator_LessThanEqual.ts +164 -0
- package/src/stores/filterOperators/QueryBuilderFilterOperator_StartWith.ts +134 -0
- package/src/stores/postFilterOperators/QueryBuilderPostFilterOperatorHelper.ts +129 -0
- package/src/stores/postFilterOperators/QueryBuilderPostFilterOperator_Contain.ts +140 -0
- package/src/stores/postFilterOperators/QueryBuilderPostFilterOperator_EndWith.ts +135 -0
- package/src/stores/postFilterOperators/QueryBuilderPostFilterOperator_Equal.ts +238 -0
- package/src/stores/postFilterOperators/QueryBuilderPostFilterOperator_GreaterThan.ts +161 -0
- package/src/stores/postFilterOperators/QueryBuilderPostFilterOperator_GreaterThanEqual.ts +70 -0
- package/src/stores/postFilterOperators/QueryBuilderPostFilterOperator_In.ts +183 -0
- package/src/stores/postFilterOperators/QueryBuilderPostFilterOperator_IsEmpty.ts +113 -0
- package/src/stores/postFilterOperators/QueryBuilderPostFilterOperator_LessThan.ts +161 -0
- package/src/stores/postFilterOperators/QueryBuilderPostFilterOperator_LessThanEqual.ts +70 -0
- package/src/stores/postFilterOperators/QueryBuilderPostFilterOperator_StartWith.ts +135 -0
- package/tsconfig.json +155 -0
- package/tsconfig.package.json +38 -0
@@ -0,0 +1,93 @@
|
|
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
|
+
import type { TreeNodeData, TreeData } from '@finos/legend-art';
|
17
|
+
import { ActionState, type GeneratorFn } from '@finos/legend-shared';
|
18
|
+
import { type AbstractProperty, type PureModel, type Type, type MappingModelCoverageAnalysisResult, type MappedEntity, AbstractPropertyExpression, Class, Multiplicity } from '@finos/legend-graph';
|
19
|
+
import type { QueryBuilderState } from './QueryBuilderState.js';
|
20
|
+
import type { QueryBuilderPreviewData } from './QueryBuilderPreviewDataHelper.js';
|
21
|
+
import { QueryBuilderPropertySearchPanelState } from './QueryBuilderPropertySearchPanelState.js';
|
22
|
+
export declare enum QUERY_BUILDER_EXPLORER_TREE_DND_TYPE {
|
23
|
+
ROOT = "ROOT",
|
24
|
+
CLASS_PROPERTY = "CLASS_PROPERTY",
|
25
|
+
ENUM_PROPERTY = "ENUM_PROPERTY",
|
26
|
+
PRIMITIVE_PROPERTY = "PRIMITIVE_PROPERTY"
|
27
|
+
}
|
28
|
+
export interface QueryBuilderExplorerTreeDragSource {
|
29
|
+
node: QueryBuilderExplorerTreePropertyNodeData;
|
30
|
+
}
|
31
|
+
export declare abstract class QueryBuilderExplorerTreeNodeData implements TreeNodeData {
|
32
|
+
isSelected?: boolean | undefined;
|
33
|
+
isOpen?: boolean | undefined;
|
34
|
+
id: string;
|
35
|
+
label: string;
|
36
|
+
dndText: string;
|
37
|
+
childrenIds: string[];
|
38
|
+
isPartOfDerivedPropertyBranch: boolean;
|
39
|
+
type: Type;
|
40
|
+
mappingData: QueryBuilderPropertyMappingData;
|
41
|
+
constructor(id: string, label: string, dndText: string, isPartOfDerivedPropertyBranch: boolean, type: Type, mappingData: QueryBuilderPropertyMappingData);
|
42
|
+
setIsSelected(val: boolean | undefined): void;
|
43
|
+
}
|
44
|
+
export declare type QueryBuilderPropertyMappingData = {
|
45
|
+
mapped: boolean;
|
46
|
+
mappedEntity?: MappedEntity | undefined;
|
47
|
+
};
|
48
|
+
export declare class QueryBuilderExplorerTreeRootNodeData extends QueryBuilderExplorerTreeNodeData {
|
49
|
+
}
|
50
|
+
export declare class QueryBuilderExplorerTreePropertyNodeData extends QueryBuilderExplorerTreeNodeData {
|
51
|
+
property: AbstractProperty;
|
52
|
+
parentId: string;
|
53
|
+
constructor(id: string, label: string, dndText: string, property: AbstractProperty, parentId: string, isPartOfDerivedPropertyBranch: boolean, mappingData: QueryBuilderPropertyMappingData);
|
54
|
+
}
|
55
|
+
export declare class QueryBuilderExplorerTreeSubTypeNodeData extends QueryBuilderExplorerTreeNodeData {
|
56
|
+
subclass: Class;
|
57
|
+
parentId: string;
|
58
|
+
multiplicity: Multiplicity;
|
59
|
+
constructor(id: string, label: string, dndText: string, subclass: Class, parentId: string, isPartOfDerivedPropertyBranch: boolean, mappingData: QueryBuilderPropertyMappingData, multiplicity: Multiplicity);
|
60
|
+
}
|
61
|
+
export declare const buildPropertyExpressionFromExplorerTreeNodeData: (treeData: TreeData<QueryBuilderExplorerTreeNodeData>, node: QueryBuilderExplorerTreePropertyNodeData, graph: PureModel, allMappedPropertyNodes: QueryBuilderExplorerTreeNodeData[]) => AbstractPropertyExpression;
|
62
|
+
export declare const generatePropertyNodeMappingData: (property: AbstractProperty, parentMappingData: QueryBuilderPropertyMappingData, modelCoverageAnalysisResult: MappingModelCoverageAnalysisResult) => QueryBuilderPropertyMappingData;
|
63
|
+
export declare const getRootMappingData: (_class: Class, modelCoverageAnalysisResult: MappingModelCoverageAnalysisResult) => QueryBuilderPropertyMappingData;
|
64
|
+
export declare const getQueryBuilderPropertyNodeData: (property: AbstractProperty, parentNode: QueryBuilderExplorerTreeNodeData, modelCoverageAnalysisResult: MappingModelCoverageAnalysisResult) => QueryBuilderExplorerTreePropertyNodeData;
|
65
|
+
export declare const getQueryBuilderSubTypeNodeData: (subclass: Class, parentNode: QueryBuilderExplorerTreeNodeData, modelCoverageAnalysisResult: MappingModelCoverageAnalysisResult) => QueryBuilderExplorerTreeSubTypeNodeData;
|
66
|
+
export declare class QueryBuilderExplorerPreviewDataState {
|
67
|
+
isGeneratingPreviewData: boolean;
|
68
|
+
propertyName: string;
|
69
|
+
previewData?: QueryBuilderPreviewData | undefined;
|
70
|
+
constructor();
|
71
|
+
setPropertyName(val: string): void;
|
72
|
+
setIsGeneratingPreviewData(val: boolean): void;
|
73
|
+
setPreviewData(val: QueryBuilderPreviewData | undefined): void;
|
74
|
+
}
|
75
|
+
export declare class QueryBuilderExplorerState {
|
76
|
+
queryBuilderState: QueryBuilderState;
|
77
|
+
previewDataState: QueryBuilderExplorerPreviewDataState;
|
78
|
+
treeData?: TreeData<QueryBuilderExplorerTreeNodeData> | undefined;
|
79
|
+
humanizePropertyName: boolean;
|
80
|
+
showUnmappedProperties: boolean;
|
81
|
+
propertySearchPanelState: QueryBuilderPropertySearchPanelState;
|
82
|
+
mappingModelCoverageAnalysisResult?: MappingModelCoverageAnalysisResult;
|
83
|
+
mappingModelCoverageAnalysisState: ActionState;
|
84
|
+
constructor(queryBuilderState: QueryBuilderState);
|
85
|
+
get nonNullableTreeData(): TreeData<QueryBuilderExplorerTreeNodeData>;
|
86
|
+
setTreeData(val: TreeData<QueryBuilderExplorerTreeNodeData> | undefined): void;
|
87
|
+
refreshTree(): void;
|
88
|
+
setHumanizePropertyName(val: boolean): void;
|
89
|
+
setShowUnmappedProperties(val: boolean): void;
|
90
|
+
refreshTreeData(): void;
|
91
|
+
analyzeMappingModelCoverage(): GeneratorFn<void>;
|
92
|
+
}
|
93
|
+
//# sourceMappingURL=QueryBuilderExplorerState.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"QueryBuilderExplorerState.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderExplorerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EAGL,WAAW,EAEX,KAAK,WAAW,EACjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,KAAK,gBAAgB,EACrB,KAAK,SAAS,EACd,KAAK,IAAI,EACT,KAAK,kCAAkC,EAEvC,KAAK,YAAY,EAEjB,0BAA0B,EAC1B,KAAK,EAWL,YAAY,EAQb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAahE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EAAE,oCAAoC,EAAE,MAAM,2CAA2C,CAAC;AAEjG,oBAAY,oCAAoC;IAC9C,IAAI,SAAS;IACb,cAAc,mBAAmB;IACjC,aAAa,kBAAkB;IAC/B,kBAAkB,uBAAuB;CAC1C;AAED,MAAM,WAAW,kCAAkC;IACjD,IAAI,EAAE,wCAAwC,CAAC;CAChD;AAED,8BAAsB,gCAAiC,YAAW,YAAY;IAC5E,UAAU,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACjC,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,EAAE,CAAM;IAC3B,6BAA6B,EAAE,OAAO,CAAC;IACvC,IAAI,EAAE,IAAI,CAAC;IACX,WAAW,EAAE,+BAA+B,CAAC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
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
|
+
import { guaranteeNonNullable, addUniqueEntry, ActionState, assertErrorThrown, } from '@finos/legend-shared';
|
17
|
+
import { TYPICAL_MULTIPLICITY_TYPE, AbstractPropertyExpression, Class, VariableExpression, GenericType, GenericTypeExplicitReference, SimpleFunctionExpression, InstanceValue, extractElementNameFromPath, matchFunctionName, TYPE_CAST_TOKEN, VARIABLE_REFERENCE_TOKEN, ARROW_FUNCTION_TOKEN, Multiplicity, getAllClassProperties, getAllOwnClassProperties, getAllClassDerivedProperties, Enum, EntityMappedProperty, Enumeration, DerivedProperty, } from '@finos/legend-graph';
|
18
|
+
import { action, flow, flowResult, makeAutoObservable, makeObservable, observable, } from 'mobx';
|
19
|
+
import { DEFAULT_LAMBDA_VARIABLE_NAME, QUERY_BUILDER_SUPPORTED_FUNCTIONS, } from '../QueryBuilder_Const.js';
|
20
|
+
import { QueryBuilderPropertySearchPanelState } from './QueryBuilderPropertySearchPanelState.js';
|
21
|
+
export var QUERY_BUILDER_EXPLORER_TREE_DND_TYPE;
|
22
|
+
(function (QUERY_BUILDER_EXPLORER_TREE_DND_TYPE) {
|
23
|
+
QUERY_BUILDER_EXPLORER_TREE_DND_TYPE["ROOT"] = "ROOT";
|
24
|
+
QUERY_BUILDER_EXPLORER_TREE_DND_TYPE["CLASS_PROPERTY"] = "CLASS_PROPERTY";
|
25
|
+
QUERY_BUILDER_EXPLORER_TREE_DND_TYPE["ENUM_PROPERTY"] = "ENUM_PROPERTY";
|
26
|
+
QUERY_BUILDER_EXPLORER_TREE_DND_TYPE["PRIMITIVE_PROPERTY"] = "PRIMITIVE_PROPERTY";
|
27
|
+
})(QUERY_BUILDER_EXPLORER_TREE_DND_TYPE = QUERY_BUILDER_EXPLORER_TREE_DND_TYPE || (QUERY_BUILDER_EXPLORER_TREE_DND_TYPE = {}));
|
28
|
+
export class QueryBuilderExplorerTreeNodeData {
|
29
|
+
isSelected;
|
30
|
+
isOpen;
|
31
|
+
id;
|
32
|
+
label;
|
33
|
+
dndText;
|
34
|
+
childrenIds = [];
|
35
|
+
isPartOfDerivedPropertyBranch;
|
36
|
+
type;
|
37
|
+
mappingData;
|
38
|
+
constructor(id, label, dndText, isPartOfDerivedPropertyBranch, type, mappingData) {
|
39
|
+
makeObservable(this, {
|
40
|
+
isSelected: observable,
|
41
|
+
setIsSelected: action,
|
42
|
+
});
|
43
|
+
this.id = id;
|
44
|
+
this.label = label;
|
45
|
+
this.dndText = dndText;
|
46
|
+
this.isPartOfDerivedPropertyBranch = isPartOfDerivedPropertyBranch;
|
47
|
+
this.type = type;
|
48
|
+
this.mappingData = mappingData;
|
49
|
+
}
|
50
|
+
setIsSelected(val) {
|
51
|
+
this.isSelected = val;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
export class QueryBuilderExplorerTreeRootNodeData extends QueryBuilderExplorerTreeNodeData {
|
55
|
+
}
|
56
|
+
export class QueryBuilderExplorerTreePropertyNodeData extends QueryBuilderExplorerTreeNodeData {
|
57
|
+
property;
|
58
|
+
parentId;
|
59
|
+
constructor(id, label, dndText, property, parentId, isPartOfDerivedPropertyBranch, mappingData) {
|
60
|
+
super(id, label, dndText, isPartOfDerivedPropertyBranch, property.genericType.value.rawType, mappingData);
|
61
|
+
this.property = property;
|
62
|
+
this.parentId = parentId;
|
63
|
+
}
|
64
|
+
}
|
65
|
+
export class QueryBuilderExplorerTreeSubTypeNodeData extends QueryBuilderExplorerTreeNodeData {
|
66
|
+
subclass;
|
67
|
+
parentId;
|
68
|
+
multiplicity;
|
69
|
+
constructor(id, label, dndText, subclass, parentId, isPartOfDerivedPropertyBranch, mappingData, multiplicity) {
|
70
|
+
super(id, label, dndText, isPartOfDerivedPropertyBranch, subclass, mappingData);
|
71
|
+
this.subclass = subclass;
|
72
|
+
this.parentId = parentId;
|
73
|
+
this.multiplicity = multiplicity;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
export const buildPropertyExpressionFromExplorerTreeNodeData = (treeData, node, graph, allMappedPropertyNodes) => {
|
77
|
+
const multiplicityOne = graph.getTypicalMultiplicity(TYPICAL_MULTIPLICITY_TYPE.ONE);
|
78
|
+
const projectionColumnLambdaVariable = new VariableExpression(DEFAULT_LAMBDA_VARIABLE_NAME, multiplicityOne);
|
79
|
+
const propertyExpression = new AbstractPropertyExpression('', multiplicityOne);
|
80
|
+
propertyExpression.func = guaranteeNonNullable(node.property);
|
81
|
+
let currentExpression = propertyExpression;
|
82
|
+
let parentNode = treeData.nodes.get(node.parentId) ??
|
83
|
+
allMappedPropertyNodes.find((n) => n.id === node.parentId);
|
84
|
+
let currentNode = node;
|
85
|
+
while (parentNode instanceof QueryBuilderExplorerTreePropertyNodeData ||
|
86
|
+
parentNode instanceof QueryBuilderExplorerTreeSubTypeNodeData) {
|
87
|
+
let parentPropertyExpression;
|
88
|
+
if (parentNode instanceof QueryBuilderExplorerTreeSubTypeNodeData) {
|
89
|
+
parentPropertyExpression = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.SUBTYPE), multiplicityOne);
|
90
|
+
}
|
91
|
+
else {
|
92
|
+
parentPropertyExpression = new AbstractPropertyExpression('', multiplicityOne);
|
93
|
+
parentPropertyExpression.func = guaranteeNonNullable(parentNode.property);
|
94
|
+
}
|
95
|
+
currentExpression.parametersValues.push(parentPropertyExpression);
|
96
|
+
if (currentExpression instanceof SimpleFunctionExpression &&
|
97
|
+
matchFunctionName(currentExpression.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.SUBTYPE)) {
|
98
|
+
const subclass = new InstanceValue(multiplicityOne, GenericTypeExplicitReference.create(new GenericType(currentNode.type)));
|
99
|
+
currentExpression.parametersValues.push(subclass);
|
100
|
+
}
|
101
|
+
currentExpression = parentPropertyExpression;
|
102
|
+
currentNode = parentNode;
|
103
|
+
parentNode = treeData.nodes.get(parentNode.parentId);
|
104
|
+
if (!parentNode &&
|
105
|
+
(currentNode instanceof QueryBuilderExplorerTreePropertyNodeData ||
|
106
|
+
currentNode instanceof QueryBuilderExplorerTreeSubTypeNodeData)) {
|
107
|
+
for (const propertyNode of allMappedPropertyNodes) {
|
108
|
+
if (propertyNode.id === currentNode.parentId) {
|
109
|
+
parentNode = propertyNode;
|
110
|
+
break;
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
114
|
+
}
|
115
|
+
currentExpression.parametersValues.push(projectionColumnLambdaVariable);
|
116
|
+
if (currentExpression instanceof SimpleFunctionExpression) {
|
117
|
+
const subclass = new InstanceValue(multiplicityOne, GenericTypeExplicitReference.create(new GenericType(currentNode.type)));
|
118
|
+
currentExpression.parametersValues.push(subclass);
|
119
|
+
}
|
120
|
+
return propertyExpression;
|
121
|
+
};
|
122
|
+
export const generatePropertyNodeMappingData = (property, parentMappingData, modelCoverageAnalysisResult) => {
|
123
|
+
// If this property's owner has no corresponding entity, i.e. it means the parent is not mapped
|
124
|
+
// Therefore, this property is not mapped either.
|
125
|
+
if (parentMappingData.mappedEntity) {
|
126
|
+
const mappedProp = parentMappingData.mappedEntity.__PROPERTIES_INDEX.get(property.name);
|
127
|
+
if (property.genericType.value.rawType instanceof Class ||
|
128
|
+
property.genericType.value.rawType instanceof Enum) {
|
129
|
+
if (mappedProp) {
|
130
|
+
return {
|
131
|
+
mapped: true,
|
132
|
+
mappedEntity: modelCoverageAnalysisResult.__ENTITIES_INDEX.get(mappedProp instanceof EntityMappedProperty
|
133
|
+
? mappedProp.entityPath
|
134
|
+
: mappedProp.enumPath),
|
135
|
+
};
|
136
|
+
}
|
137
|
+
}
|
138
|
+
return { mapped: mappedProp !== undefined };
|
139
|
+
}
|
140
|
+
return { mapped: false };
|
141
|
+
};
|
142
|
+
const generateSubtypeNodeMappingData = (subclass, parentMappingData, modelCoverageAnalysisResult) => {
|
143
|
+
// If this property's owner has no corresponding entity, i.e. it means the parent is not mapped
|
144
|
+
// Therefore, this property is not mapped either.
|
145
|
+
if (parentMappingData.mappedEntity) {
|
146
|
+
const mappedProperty = parentMappingData.mappedEntity.properties.filter((p) => p instanceof EntityMappedProperty && p.subType === subclass.path);
|
147
|
+
if (mappedProperty.length > 0) {
|
148
|
+
return {
|
149
|
+
mapped: true,
|
150
|
+
mappedEntity: modelCoverageAnalysisResult.__ENTITIES_INDEX.get(mappedProperty[0].entityPath),
|
151
|
+
};
|
152
|
+
}
|
153
|
+
}
|
154
|
+
return { mapped: false };
|
155
|
+
};
|
156
|
+
export const getRootMappingData = (_class, modelCoverageAnalysisResult) => ({
|
157
|
+
mapped: true,
|
158
|
+
mappedEntity: modelCoverageAnalysisResult.__ENTITIES_INDEX.get(_class.path),
|
159
|
+
});
|
160
|
+
const generateExplorerTreeClassNodeChildrenIDs = (node) => {
|
161
|
+
const currentClass = node.type;
|
162
|
+
const idsFromProperties = (node instanceof QueryBuilderExplorerTreeSubTypeNodeData
|
163
|
+
? getAllOwnClassProperties(currentClass)
|
164
|
+
: getAllClassProperties(currentClass).concat(getAllClassDerivedProperties(currentClass))).map((p) => `${node.id}.${p.name}`);
|
165
|
+
const idsFromsubclasses = currentClass._subclasses.map((subclass) => `${node.id}${TYPE_CAST_TOKEN}${subclass.path}`);
|
166
|
+
return idsFromProperties.concat(idsFromsubclasses);
|
167
|
+
};
|
168
|
+
export const getQueryBuilderPropertyNodeData = (property, parentNode, modelCoverageAnalysisResult) => {
|
169
|
+
const mappingNodeData = generatePropertyNodeMappingData(property, parentNode.mappingData, modelCoverageAnalysisResult);
|
170
|
+
const isPartOfDerivedPropertyBranch = property instanceof DerivedProperty ||
|
171
|
+
parentNode.isPartOfDerivedPropertyBranch ||
|
172
|
+
(parentNode instanceof QueryBuilderExplorerTreePropertyNodeData &&
|
173
|
+
parentNode.property instanceof DerivedProperty);
|
174
|
+
const propertyNode = new QueryBuilderExplorerTreePropertyNodeData(`${parentNode instanceof QueryBuilderExplorerTreeRootNodeData
|
175
|
+
? ''
|
176
|
+
: `${parentNode.id}.`}${property.name}`, property.name, `${parentNode instanceof QueryBuilderExplorerTreeRootNodeData
|
177
|
+
? `${VARIABLE_REFERENCE_TOKEN}x`
|
178
|
+
: parentNode.dndText}.${property.name}`, property, parentNode.id, isPartOfDerivedPropertyBranch, mappingNodeData);
|
179
|
+
if (propertyNode.type instanceof Class) {
|
180
|
+
propertyNode.childrenIds =
|
181
|
+
generateExplorerTreeClassNodeChildrenIDs(propertyNode);
|
182
|
+
}
|
183
|
+
return propertyNode;
|
184
|
+
};
|
185
|
+
export const getQueryBuilderSubTypeNodeData = (subclass, parentNode, modelCoverageAnalysisResult) => {
|
186
|
+
const subTypeNode = new QueryBuilderExplorerTreeSubTypeNodeData(`${parentNode instanceof QueryBuilderExplorerTreeRootNodeData
|
187
|
+
? `${TYPE_CAST_TOKEN}${subclass.path}`
|
188
|
+
: `${parentNode.id}${TYPE_CAST_TOKEN}${subclass.path}`}`, subclass.name, `${parentNode instanceof QueryBuilderExplorerTreeRootNodeData
|
189
|
+
? `${VARIABLE_REFERENCE_TOKEN}${DEFAULT_LAMBDA_VARIABLE_NAME}${ARROW_FUNCTION_TOKEN}${extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.SUBTYPE)}(${TYPE_CAST_TOKEN}${subclass.path})`
|
190
|
+
: `${parentNode.dndText}${ARROW_FUNCTION_TOKEN}${extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.SUBTYPE)}(${TYPE_CAST_TOKEN}${subclass.path})`}`, subclass, parentNode.id, false, generateSubtypeNodeMappingData(subclass, parentNode.mappingData, modelCoverageAnalysisResult), parentNode instanceof QueryBuilderExplorerTreePropertyNodeData
|
191
|
+
? parentNode.property.multiplicity
|
192
|
+
: parentNode instanceof QueryBuilderExplorerTreeSubTypeNodeData
|
193
|
+
? parentNode.multiplicity
|
194
|
+
: new Multiplicity(1, 1));
|
195
|
+
subTypeNode.childrenIds =
|
196
|
+
generateExplorerTreeClassNodeChildrenIDs(subTypeNode);
|
197
|
+
return subTypeNode;
|
198
|
+
};
|
199
|
+
const getQueryBuilderTreeData = (rootClass, modelCoverageAnalysisResult) => {
|
200
|
+
const rootIds = [];
|
201
|
+
const nodes = new Map();
|
202
|
+
const mappingData = getRootMappingData(rootClass, modelCoverageAnalysisResult);
|
203
|
+
const treeRootNode = new QueryBuilderExplorerTreeRootNodeData('@dummy_rootNode', rootClass.name, rootClass.path, false, rootClass, mappingData);
|
204
|
+
treeRootNode.isOpen = true;
|
205
|
+
nodes.set(treeRootNode.id, treeRootNode);
|
206
|
+
rootIds.push(treeRootNode.id);
|
207
|
+
getAllClassProperties(rootClass)
|
208
|
+
.concat(getAllClassDerivedProperties(rootClass))
|
209
|
+
.sort((a, b) => a.name.localeCompare(b.name))
|
210
|
+
.sort((a, b) => (b instanceof Class ? 2 : b instanceof Enumeration ? 1 : 0) -
|
211
|
+
(a instanceof Class ? 2 : a instanceof Enumeration ? 1 : 0))
|
212
|
+
.forEach((property) => {
|
213
|
+
const propertyTreeNodeData = getQueryBuilderPropertyNodeData(property, treeRootNode, modelCoverageAnalysisResult);
|
214
|
+
addUniqueEntry(treeRootNode.childrenIds, propertyTreeNodeData.id);
|
215
|
+
nodes.set(propertyTreeNodeData.id, propertyTreeNodeData);
|
216
|
+
});
|
217
|
+
rootClass._subclasses.forEach((subclass) => {
|
218
|
+
const subTypeTreeNodeData = getQueryBuilderSubTypeNodeData(subclass, treeRootNode, modelCoverageAnalysisResult);
|
219
|
+
addUniqueEntry(treeRootNode.childrenIds, subTypeTreeNodeData.id);
|
220
|
+
nodes.set(subTypeTreeNodeData.id, subTypeTreeNodeData);
|
221
|
+
});
|
222
|
+
return { rootIds, nodes };
|
223
|
+
};
|
224
|
+
export class QueryBuilderExplorerPreviewDataState {
|
225
|
+
isGeneratingPreviewData = false;
|
226
|
+
propertyName = '(unknown)';
|
227
|
+
previewData;
|
228
|
+
constructor() {
|
229
|
+
makeAutoObservable(this, {
|
230
|
+
previewData: observable.ref,
|
231
|
+
setPropertyName: action,
|
232
|
+
setIsGeneratingPreviewData: action,
|
233
|
+
setPreviewData: action,
|
234
|
+
});
|
235
|
+
}
|
236
|
+
setPropertyName(val) {
|
237
|
+
this.propertyName = val;
|
238
|
+
}
|
239
|
+
setIsGeneratingPreviewData(val) {
|
240
|
+
this.isGeneratingPreviewData = val;
|
241
|
+
}
|
242
|
+
setPreviewData(val) {
|
243
|
+
this.previewData = val;
|
244
|
+
}
|
245
|
+
}
|
246
|
+
export class QueryBuilderExplorerState {
|
247
|
+
queryBuilderState;
|
248
|
+
previewDataState = new QueryBuilderExplorerPreviewDataState();
|
249
|
+
treeData;
|
250
|
+
humanizePropertyName = true;
|
251
|
+
showUnmappedProperties = false;
|
252
|
+
propertySearchPanelState;
|
253
|
+
mappingModelCoverageAnalysisResult;
|
254
|
+
mappingModelCoverageAnalysisState = ActionState.create();
|
255
|
+
constructor(queryBuilderState) {
|
256
|
+
makeAutoObservable(this, {
|
257
|
+
queryBuilderState: false,
|
258
|
+
previewDataState: false,
|
259
|
+
treeData: observable.ref,
|
260
|
+
setTreeData: action,
|
261
|
+
refreshTree: action,
|
262
|
+
refreshTreeData: action,
|
263
|
+
setHumanizePropertyName: action,
|
264
|
+
setShowUnmappedProperties: action,
|
265
|
+
analyzeMappingModelCoverage: flow,
|
266
|
+
});
|
267
|
+
this.queryBuilderState = queryBuilderState;
|
268
|
+
this.propertySearchPanelState = new QueryBuilderPropertySearchPanelState(this.queryBuilderState);
|
269
|
+
}
|
270
|
+
get nonNullableTreeData() {
|
271
|
+
return guaranteeNonNullable(this.treeData, 'Query builder explorer tree data has not been initialized');
|
272
|
+
}
|
273
|
+
setTreeData(val) {
|
274
|
+
this.treeData = val;
|
275
|
+
}
|
276
|
+
refreshTree() {
|
277
|
+
if (this.treeData) {
|
278
|
+
this.treeData = { ...this.treeData };
|
279
|
+
}
|
280
|
+
}
|
281
|
+
setHumanizePropertyName(val) {
|
282
|
+
this.humanizePropertyName = val;
|
283
|
+
}
|
284
|
+
setShowUnmappedProperties(val) {
|
285
|
+
this.showUnmappedProperties = val;
|
286
|
+
}
|
287
|
+
refreshTreeData() {
|
288
|
+
const _class = this.queryBuilderState.querySetupState._class;
|
289
|
+
const _mapping = this.queryBuilderState.querySetupState.mapping;
|
290
|
+
this.setTreeData(_class && _mapping && this.mappingModelCoverageAnalysisResult
|
291
|
+
? getQueryBuilderTreeData(_class, this.mappingModelCoverageAnalysisResult)
|
292
|
+
: undefined);
|
293
|
+
}
|
294
|
+
*analyzeMappingModelCoverage() {
|
295
|
+
if (this.queryBuilderState.querySetupState.mapping) {
|
296
|
+
this.queryBuilderState.explorerState.mappingModelCoverageAnalysisState.inProgress();
|
297
|
+
this.queryBuilderState.explorerState.mappingModelCoverageAnalysisState.setMessage('Analyzing Mapping...');
|
298
|
+
try {
|
299
|
+
this.mappingModelCoverageAnalysisResult = (yield flowResult(this.queryBuilderState.graphManagerState.graphManager.analyzeMappingModelCoverage(this.queryBuilderState.querySetupState.mapping, this.queryBuilderState.graphManagerState.graph)));
|
300
|
+
this.queryBuilderState.explorerState.refreshTreeData();
|
301
|
+
}
|
302
|
+
catch (error) {
|
303
|
+
assertErrorThrown(error);
|
304
|
+
this.queryBuilderState.applicationStore.notifyError(error.message);
|
305
|
+
}
|
306
|
+
this.queryBuilderState.explorerState.mappingModelCoverageAnalysisState.pass();
|
307
|
+
}
|
308
|
+
}
|
309
|
+
}
|
310
|
+
//# sourceMappingURL=QueryBuilderExplorerState.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"QueryBuilderExplorerState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderExplorerState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,oBAAoB,EACpB,cAAc,EACd,WAAW,EACX,iBAAiB,GAElB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAOL,yBAAyB,EACzB,0BAA0B,EAC1B,KAAK,EACL,kBAAkB,EAClB,WAAW,EACX,4BAA4B,EAC5B,wBAAwB,EACxB,aAAa,EACb,0BAA0B,EAC1B,iBAAiB,EACjB,eAAe,EACf,wBAAwB,EACxB,oBAAoB,EACpB,YAAY,EACZ,qBAAqB,EACrB,wBAAwB,EACxB,4BAA4B,EAC5B,IAAI,EACJ,oBAAoB,EACpB,WAAW,EACX,eAAe,GAChB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EACL,MAAM,EACN,IAAI,EACJ,UAAU,EACV,kBAAkB,EAClB,cAAc,EACd,UAAU,GACX,MAAM,MAAM,CAAC;AACd,OAAO,EACL,4BAA4B,EAC5B,iCAAiC,GAClC,MAAM,0BAA0B,CAAC;AAElC,OAAO,EAAE,oCAAoC,EAAE,MAAM,2CAA2C,CAAC;AAEjG,MAAM,CAAN,IAAY,oCAKX;AALD,WAAY,oCAAoC;IAC9C,qDAAa,CAAA;IACb,yEAAiC,CAAA;IACjC,uEAA+B,CAAA;IAC/B,iFAAyC,CAAA;AAC3C,CAAC,EALW,oCAAoC,GAApC,oCAAoC,KAApC,oCAAoC,QAK/C;AAMD,MAAM,OAAgB,gCAAgC;IACpD,UAAU,CAAuB;IACjC,MAAM,CAAuB;IAC7B,EAAE,CAAS;IACX,KAAK,CAAS;IACd,OAAO,CAAS;IAChB,WAAW,GAAa,EAAE,CAAC;IAC3B,6BAA6B,CAAU;IACvC,IAAI,CAAO;IACX,WAAW,CAAkC;IAE7C,YACE,EAAU,EACV,KAAa,EACb,OAAe,EAC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AC,eAAe,CAAC,OAAO,EAC9C,IAAI,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,CAC/C,CACF,CAAuC,CAAC;gBACzC,IAAI,CAAC,iBAAiB,CAAC,aAAa,CAAC,eAAe,EAAE,CAAC;aACxD;YAAC,OAAO,KAAK,EAAE;gBACd,iBAAiB,CAAC,KAAK,CAAC,CAAC;gBACzB,IAAI,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,WAAW,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;aACpE;YACD,IAAI,CAAC,iBAAiB,CAAC,aAAa,CAAC,iCAAiC,CAAC,IAAI,EAAE,CAAC;SAC/E;IACH,CAAC;CACF"}
|
@@ -0,0 +1,33 @@
|
|
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
|
+
import type { QueryBuilderState } from './QueryBuilderState.js';
|
17
|
+
import { QueryBuilderGraphFetchTreeState } from './QueryBuilderGraphFetchTreeState.js';
|
18
|
+
import { QueryBuilderProjectionState } from './QueryBuilderProjectionState.js';
|
19
|
+
export declare enum FETCH_STRUCTURE_MODE {
|
20
|
+
PROJECTION = "PROJECTION",
|
21
|
+
GRAPH_FETCH = "GRAPH_FETCH"
|
22
|
+
}
|
23
|
+
export declare class QueryBuilderFetchStructureState {
|
24
|
+
queryBuilderState: QueryBuilderState;
|
25
|
+
fetchStructureMode: FETCH_STRUCTURE_MODE;
|
26
|
+
projectionState: QueryBuilderProjectionState;
|
27
|
+
graphFetchTreeState: QueryBuilderGraphFetchTreeState;
|
28
|
+
constructor(queryBuilderState: QueryBuilderState);
|
29
|
+
setFetchStructureMode(val: FETCH_STRUCTURE_MODE): void;
|
30
|
+
isGraphFetchMode(): boolean;
|
31
|
+
isProjectionMode(): boolean;
|
32
|
+
}
|
33
|
+
//# sourceMappingURL=QueryBuilderFetchStructureState.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"QueryBuilderFetchStructureState.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderFetchStructureState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AACvF,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAE/E,oBAAY,oBAAoB;IAC9B,UAAU,eAAe;IACzB,WAAW,gBAAgB;CAC5B;AAED,qBAAa,+BAA+B;IAC1C,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,kBAAkB,uBAAmC;IACrD,eAAe,EAAE,2BAA2B,CAAC;IAC7C,mBAAmB,EAAE,+BAA+B,CAAC;gBAEzC,iBAAiB,EAAE,iBAAiB;IAehD,qBAAqB,CAAC,GAAG,EAAE,oBAAoB,GAAG,IAAI;IAItD,gBAAgB,IAAI,OAAO;IAI3B,gBAAgB,IAAI,OAAO;CAG5B"}
|
@@ -0,0 +1,50 @@
|
|
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
|
+
import { action, makeAutoObservable } from 'mobx';
|
17
|
+
import { QueryBuilderGraphFetchTreeState } from './QueryBuilderGraphFetchTreeState.js';
|
18
|
+
import { QueryBuilderProjectionState } from './QueryBuilderProjectionState.js';
|
19
|
+
export var FETCH_STRUCTURE_MODE;
|
20
|
+
(function (FETCH_STRUCTURE_MODE) {
|
21
|
+
FETCH_STRUCTURE_MODE["PROJECTION"] = "PROJECTION";
|
22
|
+
FETCH_STRUCTURE_MODE["GRAPH_FETCH"] = "GRAPH_FETCH";
|
23
|
+
})(FETCH_STRUCTURE_MODE = FETCH_STRUCTURE_MODE || (FETCH_STRUCTURE_MODE = {}));
|
24
|
+
export class QueryBuilderFetchStructureState {
|
25
|
+
queryBuilderState;
|
26
|
+
fetchStructureMode = FETCH_STRUCTURE_MODE.PROJECTION;
|
27
|
+
projectionState;
|
28
|
+
graphFetchTreeState;
|
29
|
+
constructor(queryBuilderState) {
|
30
|
+
makeAutoObservable(this, {
|
31
|
+
queryBuilderState: false,
|
32
|
+
setFetchStructureMode: action,
|
33
|
+
});
|
34
|
+
this.queryBuilderState = queryBuilderState;
|
35
|
+
// TODO: we probably should modularize this a bit better
|
36
|
+
// See https://github.com/finos/legend-studio/issues/731
|
37
|
+
this.projectionState = new QueryBuilderProjectionState(queryBuilderState);
|
38
|
+
this.graphFetchTreeState = new QueryBuilderGraphFetchTreeState(queryBuilderState);
|
39
|
+
}
|
40
|
+
setFetchStructureMode(val) {
|
41
|
+
this.fetchStructureMode = val;
|
42
|
+
}
|
43
|
+
isGraphFetchMode() {
|
44
|
+
return this.fetchStructureMode === FETCH_STRUCTURE_MODE.GRAPH_FETCH;
|
45
|
+
}
|
46
|
+
isProjectionMode() {
|
47
|
+
return this.fetchStructureMode === FETCH_STRUCTURE_MODE.PROJECTION;
|
48
|
+
}
|
49
|
+
}
|
50
|
+
//# sourceMappingURL=QueryBuilderFetchStructureState.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"QueryBuilderFetchStructureState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderFetchStructureState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM,MAAM,CAAC;AAElD,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AACvF,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAE/E,MAAM,CAAN,IAAY,oBAGX;AAHD,WAAY,oBAAoB;IAC9B,iDAAyB,CAAA;IACzB,mDAA2B,CAAA;AAC7B,CAAC,EAHW,oBAAoB,GAApB,oBAAoB,KAApB,oBAAoB,QAG/B;AAED,MAAM,OAAO,+BAA+B;IAC1C,iBAAiB,CAAoB;IACrC,kBAAkB,GAAG,oBAAoB,CAAC,UAAU,CAAC;IACrD,eAAe,CAA8B;IAC7C,mBAAmB,CAAkC;IAErD,YAAY,iBAAoC;QAC9C,kBAAkB,CAAC,IAAI,EAAE;YACvB,iBAAiB,EAAE,KAAK;YACxB,qBAAqB,EAAE,MAAM;SAC9B,CAAC,CAAC;QAEH,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;QAC3C,wDAAwD;QACxD,wDAAwD;QACxD,IAAI,CAAC,eAAe,GAAG,IAAI,2BAA2B,CAAC,iBAAiB,CAAC,CAAC;QAC1E,IAAI,CAAC,mBAAmB,GAAG,IAAI,+BAA+B,CAC5D,iBAAiB,CAClB,CAAC;IACJ,CAAC;IAED,qBAAqB,CAAC,GAAyB;QAC7C,IAAI,CAAC,kBAAkB,GAAG,GAAG,CAAC;IAChC,CAAC;IAED,gBAAgB;QACd,OAAO,IAAI,CAAC,kBAAkB,KAAK,oBAAoB,CAAC,WAAW,CAAC;IACtE,CAAC;IAED,gBAAgB;QACd,OAAO,IAAI,CAAC,kBAAkB,KAAK,oBAAoB,CAAC,UAAU,CAAC;IACrE,CAAC;CACF"}
|