@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,340 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
2
|
+
/**
|
3
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
4
|
+
*
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
* you may not use this file except in compliance with the License.
|
7
|
+
* You may obtain a copy of the License at
|
8
|
+
*
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
*
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
* See the License for the specific language governing permissions and
|
15
|
+
* limitations under the License.
|
16
|
+
*/
|
17
|
+
import { forwardRef, useEffect, useRef, useState } from 'react';
|
18
|
+
import { observer } from 'mobx-react-lite';
|
19
|
+
import { Tooltip, clsx, Dialog, TreeView, BlankPanelContent, DropdownMenu, ContextMenu, MenuContent, MenuContentItem, MenuContentItemIcon, MenuContentItemLabel, StringTypeIcon, ToggleIcon, HashtagIcon, ClockIcon, ChevronDownIcon, ChevronRightIcon, MoreVerticalIcon, CompressIcon, EyeIcon, InfoCircleIcon, PURE_ClassIcon, CheckIcon, SearchIcon, PanelLoadingIndicator, DragPreviewLayer, useDragPreviewLayer, } from '@finos/legend-art';
|
20
|
+
import { QUERY_BUILDER_EXPLORER_TREE_DND_TYPE, QueryBuilderExplorerTreeRootNodeData, QueryBuilderExplorerTreePropertyNodeData, QueryBuilderExplorerTreeSubTypeNodeData, getQueryBuilderPropertyNodeData, getQueryBuilderSubTypeNodeData, } from '../../stores/explorer/QueryBuilderExplorerState.js';
|
21
|
+
import { useDrag } from 'react-dnd';
|
22
|
+
import { QueryBuilderPropertyInfoTooltip } from '../shared/QueryBuilderPropertyInfoTooltip.js';
|
23
|
+
import { flowResult } from 'mobx';
|
24
|
+
import { prettyPropertyName } from '../../stores/QueryBuilderPropertyEditorState.js';
|
25
|
+
import { Class, DerivedProperty, PrimitiveType, PRIMITIVE_TYPE, Enumeration, TYPE_CAST_TOKEN, getAllClassDerivedProperties, getMultiplicityDescription, getAllClassProperties, getAllOwnClassProperties, isElementDeprecated, } from '@finos/legend-graph';
|
26
|
+
import { useApplicationStore } from '@finos/legend-application';
|
27
|
+
import { getClassPropertyIcon } from '../shared/ElementIconUtils.js';
|
28
|
+
import { QUERY_BUILDER_TEST_ID } from '../QueryBuilder_TestID.js';
|
29
|
+
import { filterByType, guaranteeNonNullable } from '@finos/legend-shared';
|
30
|
+
import { QueryBuilderPropertySearchPanel } from './QueryBuilderPropertySearchPanel.js';
|
31
|
+
const checkForDeprecatedNode = (node, graph, treeData) => {
|
32
|
+
if (node.type instanceof Class && isElementDeprecated(node.type, graph)) {
|
33
|
+
return true;
|
34
|
+
}
|
35
|
+
if (node instanceof QueryBuilderExplorerTreePropertyNodeData) {
|
36
|
+
if (isElementDeprecated(node.property, graph)) {
|
37
|
+
return true;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
if (node instanceof QueryBuilderExplorerTreeSubTypeNodeData) {
|
41
|
+
const parentNode = treeData.nodes.get(node.parentId);
|
42
|
+
if (parentNode?.type instanceof Class &&
|
43
|
+
isElementDeprecated(parentNode.type, graph)) {
|
44
|
+
return true;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
return false;
|
48
|
+
};
|
49
|
+
export const isExplorerTreeNodeAlreadyUsed = (node, queryBuilderState) => {
|
50
|
+
// if the fetch-structure is non-empty, it means we can mark the root node as used
|
51
|
+
if (node instanceof QueryBuilderExplorerTreeRootNodeData &&
|
52
|
+
queryBuilderState.fetchStructureState.implementation
|
53
|
+
.usedExplorerTreePropertyNodeIDs.length > 0) {
|
54
|
+
return true;
|
55
|
+
}
|
56
|
+
// in the explorer tree, we represent subtype as a subtree, we want to flatten this to only
|
57
|
+
// the subtype that actually being used to make comparison simpler
|
58
|
+
const simplifiedNodeID = node.id.replaceAll(/(?:@[^.]+)+/g, (val) => {
|
59
|
+
const chunks = val.split(TYPE_CAST_TOKEN);
|
60
|
+
return `${TYPE_CAST_TOKEN}${chunks[chunks.length - 1]}`;
|
61
|
+
});
|
62
|
+
return queryBuilderState.fetchStructureState.implementation.usedExplorerTreePropertyNodeIDs.includes(simplifiedNodeID);
|
63
|
+
};
|
64
|
+
export const QueryBuilderSubclassInfoTooltip = (props) => {
|
65
|
+
const { subclass, path, isMapped, children, placement, multiplicity } = props;
|
66
|
+
return (_jsx(Tooltip, { arrow: true, ...(placement !== undefined ? { placement } : {}), classes: {
|
67
|
+
tooltip: 'query-builder__tooltip',
|
68
|
+
arrow: 'query-builder__tooltip__arrow',
|
69
|
+
tooltipPlacementRight: 'query-builder__tooltip--right',
|
70
|
+
}, TransitionProps: {
|
71
|
+
// disable transition
|
72
|
+
// NOTE: somehow, this is the only workaround we have, if for example
|
73
|
+
// we set `appear = true`, the tooltip will jump out of position
|
74
|
+
timeout: 0,
|
75
|
+
}, title: _jsxs("div", { className: "query-builder__tooltip__content", children: [_jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Type" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: subclass.path })] }), _jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Path" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: path })] }), _jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Multiplicity" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: getMultiplicityDescription(multiplicity) })] }), _jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Mapped" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: isMapped ? 'Yes' : 'No' })] })] }), children: children }));
|
76
|
+
};
|
77
|
+
const QueryBuilderExplorerPreviewDataModal = observer((props) => {
|
78
|
+
const { queryBuilderState } = props;
|
79
|
+
const previewDataState = queryBuilderState.explorerState.previewDataState;
|
80
|
+
const close = () => previewDataState.setPreviewData(undefined);
|
81
|
+
return (_jsx(Dialog, { open: Boolean(previewDataState.previewData), onClose: close, classes: {
|
82
|
+
root: 'editor-modal__root-container',
|
83
|
+
container: 'editor-modal__container',
|
84
|
+
paper: 'editor-modal__content',
|
85
|
+
}, children: _jsxs("div", { className: "modal modal--dark editor-modal query-builder__explorer__preview-data-modal", children: [_jsx("div", { className: "modal__header", children: _jsx("div", { className: "modal__title", children: prettyPropertyName(previewDataState.propertyName) }) }), _jsx("div", { className: "modal__body query-builder__explorer__preview-data-modal__body", children: previewDataState.previewData && (_jsxs("table", { className: "table", children: [_jsx("thead", { children: _jsx("tr", { children: previewDataState.previewData.columns.map((column, idx) => (
|
86
|
+
// eslint-disable-next-line react/no-array-index-key
|
87
|
+
_jsx("th", { className: "table__cell--left", children: column }, idx))) }) }), _jsx("tbody", { children: previewDataState.previewData.rows.map((row, rowIdx) => (
|
88
|
+
// eslint-disable-next-line react/no-array-index-key
|
89
|
+
_jsx("tr", { children: row.values.map((value, idx) => (
|
90
|
+
// eslint-disable-next-line react/no-array-index-key
|
91
|
+
_jsx("td", { className: "table__cell--left", children: value }, idx))) }, rowIdx))) })] })) }), _jsx("div", { className: "modal__footer", children: _jsx("button", { className: "btn modal__footer__close-btn", onClick: close, children: "Close" }) })] }) }));
|
92
|
+
});
|
93
|
+
const QueryBuilderExplorerContextMenu = observer(forwardRef(function QueryBuilderExplorerContextMenu(props, ref) {
|
94
|
+
const { queryBuilderState, openNode, node } = props;
|
95
|
+
const applicationStore = useApplicationStore();
|
96
|
+
const viewType = () => applicationStore.notifyUnsupportedFeature('View Type');
|
97
|
+
const addNodeToFetchStructure = () => queryBuilderState.fetchStructureState.fetchProperty(node);
|
98
|
+
const addNodeChildrenToFetchStructure = () => {
|
99
|
+
openNode();
|
100
|
+
if (node.type instanceof Class) {
|
101
|
+
// NOTE: here we require the node to already been expanded so the child nodes are generated
|
102
|
+
// we don't allow adding unopened node. Maybe if it helps, we can show a warning.
|
103
|
+
const nodesToAdd = node.childrenIds
|
104
|
+
.map((childId) => queryBuilderState.explorerState.nonNullableTreeData.nodes.get(childId))
|
105
|
+
.filter(filterByType(QueryBuilderExplorerTreePropertyNodeData))
|
106
|
+
.filter((childNode) => !(childNode.type instanceof Class) &&
|
107
|
+
childNode.mappingData.mapped);
|
108
|
+
nodesToAdd.forEach((nodeToAdd) => queryBuilderState.fetchStructureState.fetchProperty(nodeToAdd));
|
109
|
+
}
|
110
|
+
};
|
111
|
+
return (_jsxs(MenuContent, { ref: ref, children: [node instanceof QueryBuilderExplorerTreePropertyNodeData &&
|
112
|
+
!(node.type instanceof Class) && (_jsx(MenuContentItem, { onClick: addNodeToFetchStructure, children: "Add Property to Fetch Structure" })), node.type instanceof Class && (_jsx(MenuContentItem, { onClick: addNodeChildrenToFetchStructure, children: "Add Properties to Fetch Structure" })), _jsx(MenuContentItem, { onClick: viewType, children: "View Type" })] }));
|
113
|
+
}));
|
114
|
+
export const renderPropertyTypeIcon = (type) => {
|
115
|
+
if (type instanceof PrimitiveType) {
|
116
|
+
if (type.name === PRIMITIVE_TYPE.STRING) {
|
117
|
+
return (_jsx(StringTypeIcon, { className: "query-builder-explorer-tree__icon query-builder-explorer-tree__icon__string" }));
|
118
|
+
}
|
119
|
+
else if (type.name === PRIMITIVE_TYPE.BOOLEAN) {
|
120
|
+
return (_jsx(ToggleIcon, { className: "query-builder-explorer-tree__icon query-builder-explorer-tree__icon__boolean" }));
|
121
|
+
}
|
122
|
+
else if (type.name === PRIMITIVE_TYPE.NUMBER ||
|
123
|
+
type.name === PRIMITIVE_TYPE.INTEGER ||
|
124
|
+
type.name === PRIMITIVE_TYPE.FLOAT ||
|
125
|
+
type.name === PRIMITIVE_TYPE.DECIMAL) {
|
126
|
+
return (_jsx(HashtagIcon, { className: "query-builder-explorer-tree__icon query-builder-explorer-tree__icon__number" }));
|
127
|
+
}
|
128
|
+
else if (type.name === PRIMITIVE_TYPE.DATE ||
|
129
|
+
type.name === PRIMITIVE_TYPE.DATETIME ||
|
130
|
+
type.name === PRIMITIVE_TYPE.STRICTDATE) {
|
131
|
+
return (_jsx(ClockIcon, { className: "query-builder-explorer-tree__icon query-builder-explorer-tree__icon__time" }));
|
132
|
+
}
|
133
|
+
}
|
134
|
+
return getClassPropertyIcon(type);
|
135
|
+
};
|
136
|
+
const QueryBuilderExplorerTreeNodeContainer = observer((props) => {
|
137
|
+
const { node, level, stepPaddingInRem, onNodeSelect, innerProps } = props;
|
138
|
+
const { queryBuilderState } = innerProps;
|
139
|
+
const [isSelectedFromContextMenu, setIsSelectedFromContextMenu] = useState(false);
|
140
|
+
const applicationStore = useApplicationStore();
|
141
|
+
const explorerState = queryBuilderState.explorerState;
|
142
|
+
const [, dragConnector, dragPreviewConnector] = useDrag(() => ({
|
143
|
+
type: node instanceof QueryBuilderExplorerTreePropertyNodeData
|
144
|
+
? node.type instanceof Enumeration
|
145
|
+
? QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.ENUM_PROPERTY
|
146
|
+
: node.type instanceof Class
|
147
|
+
? QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.CLASS_PROPERTY
|
148
|
+
: QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.PRIMITIVE_PROPERTY
|
149
|
+
: QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.ROOT,
|
150
|
+
item: () => node instanceof QueryBuilderExplorerTreePropertyNodeData
|
151
|
+
? { node }
|
152
|
+
: {},
|
153
|
+
}), [node]);
|
154
|
+
useDragPreviewLayer(dragPreviewConnector);
|
155
|
+
const isExpandable = Boolean(node.childrenIds.length);
|
156
|
+
const isDerivedProperty = node instanceof QueryBuilderExplorerTreePropertyNodeData &&
|
157
|
+
node.property instanceof DerivedProperty;
|
158
|
+
const isMultiple = (node instanceof QueryBuilderExplorerTreePropertyNodeData &&
|
159
|
+
(node.property.multiplicity.upperBound === undefined ||
|
160
|
+
node.property.multiplicity.upperBound > 1)) ||
|
161
|
+
(node instanceof QueryBuilderExplorerTreeSubTypeNodeData &&
|
162
|
+
(node.multiplicity.upperBound === undefined ||
|
163
|
+
node.multiplicity.upperBound > 1));
|
164
|
+
const allowPreview = node.mappingData.mapped &&
|
165
|
+
node instanceof QueryBuilderExplorerTreePropertyNodeData &&
|
166
|
+
node.type instanceof PrimitiveType &&
|
167
|
+
!node.isPartOfDerivedPropertyBranch;
|
168
|
+
const nodeExpandIcon = isExpandable ? (node.isOpen ? (_jsx(ChevronDownIcon, {})) : (_jsx(ChevronRightIcon, {}))) : (_jsx("div", {}));
|
169
|
+
const selectNode = () => onNodeSelect?.(node);
|
170
|
+
const openNode = () => {
|
171
|
+
if (!node.isOpen) {
|
172
|
+
onNodeSelect?.(node);
|
173
|
+
}
|
174
|
+
};
|
175
|
+
// context menu
|
176
|
+
const showContextMenu = node instanceof QueryBuilderExplorerTreeRootNodeData ||
|
177
|
+
(node instanceof QueryBuilderExplorerTreePropertyNodeData &&
|
178
|
+
!(node.type instanceof PrimitiveType));
|
179
|
+
const onContextMenuOpen = () => setIsSelectedFromContextMenu(true);
|
180
|
+
const onContextMenuClose = () => setIsSelectedFromContextMenu(false);
|
181
|
+
const previewData = () => {
|
182
|
+
if (node instanceof QueryBuilderExplorerTreePropertyNodeData) {
|
183
|
+
flowResult(explorerState.previewData(node)).catch(applicationStore.alertUnhandledError);
|
184
|
+
}
|
185
|
+
};
|
186
|
+
if (!node.mappingData.mapped &&
|
187
|
+
// NOTE: we always want to show at least the root node
|
188
|
+
!(node instanceof QueryBuilderExplorerTreeRootNodeData) &&
|
189
|
+
!explorerState.showUnmappedProperties) {
|
190
|
+
return null;
|
191
|
+
}
|
192
|
+
return (_jsx(ContextMenu, { content: _jsx(QueryBuilderExplorerContextMenu, { queryBuilderState: queryBuilderState, openNode: openNode, node: node }), disabled: !showContextMenu || queryBuilderState.backdrop, menuProps: { elevation: 7 }, onOpen: onContextMenuOpen, onClose: onContextMenuClose, children: _jsxs("div", { className: clsx('tree-view__node__container query-builder-explorer-tree__node__container', {
|
193
|
+
'query-builder-explorer-tree__node__container--selected-from-context-menu': isSelectedFromContextMenu,
|
194
|
+
'query-builder-explorer-tree__node__container--unmapped': !node.mappingData.mapped,
|
195
|
+
'query-builder-explorer-tree__node__container--selected': node.isSelected,
|
196
|
+
'query-builder-explorer-tree__node__container--highlighted': explorerState.highlightUsedProperties &&
|
197
|
+
isExplorerTreeNodeAlreadyUsed(node, queryBuilderState),
|
198
|
+
}), title: !node.mappingData.mapped
|
199
|
+
? node instanceof QueryBuilderExplorerTreeRootNodeData
|
200
|
+
? 'Root class is not mapped'
|
201
|
+
: 'Property is not mapped'
|
202
|
+
: undefined, onClick: selectNode, ref: node.mappingData.mapped && !isExpandable ? dragConnector : undefined, style: {
|
203
|
+
paddingLeft: `${(level - 1) * (stepPaddingInRem ?? 1) + 0.5}rem`,
|
204
|
+
display: 'flex',
|
205
|
+
}, children: [node instanceof QueryBuilderExplorerTreeRootNodeData && (_jsxs(_Fragment, { children: [_jsxs("div", { className: "tree-view__node__icon query-builder-explorer-tree__node__icon", children: [_jsx("div", { className: "query-builder-explorer-tree__expand-icon", children: nodeExpandIcon }), _jsx("div", { className: "query-builder-explorer-tree__type-icon", children: _jsx(PURE_ClassIcon, {}) })] }), _jsx("div", { className: "tree-view__node__label query-builder-explorer-tree__node__label", children: node.label })] })), (node instanceof QueryBuilderExplorerTreePropertyNodeData ||
|
206
|
+
node instanceof QueryBuilderExplorerTreeSubTypeNodeData) && (_jsxs(_Fragment, { children: [_jsxs("div", { className: "tree-view__node__icon query-builder-explorer-tree__node__icon", children: [_jsx("div", { className: "query-builder-explorer-tree__expand-icon", children: nodeExpandIcon }), _jsx("div", { className: "query-builder-explorer-tree__type-icon", children: renderPropertyTypeIcon(node.type) })] }), _jsxs("div", { className: clsx('tree-view__node__label query-builder-explorer-tree__node__label query-builder-explorer-tree__node__label--with-action', {
|
207
|
+
'query-builder-explorer-tree__node__label--with-preview': allowPreview,
|
208
|
+
}), children: [_jsx("div", { className: clsx('query-builder-explorer-tree__node__label--property__name', {
|
209
|
+
'query-builder-explorer-tree__node__label--deprecated': checkForDeprecatedNode(node, explorerState.queryBuilderState.graphManagerState
|
210
|
+
.graph, explorerState.nonNullableTreeData),
|
211
|
+
}), children: explorerState.humanizePropertyName
|
212
|
+
? node instanceof QueryBuilderExplorerTreeSubTypeNodeData
|
213
|
+
? TYPE_CAST_TOKEN + prettyPropertyName(node.label)
|
214
|
+
: prettyPropertyName(node.label)
|
215
|
+
: node instanceof QueryBuilderExplorerTreeSubTypeNodeData
|
216
|
+
? TYPE_CAST_TOKEN + node.label
|
217
|
+
: node.label }), isDerivedProperty && (_jsx("div", { className: "query-builder-explorer-tree__node__label__derived-property", title: "Property is derived and may require user to specify parameter values", children: "(...)" })), isMultiple && (_jsx("div", { className: "query-builder-explorer-tree__node__label__multiple", title: "Multiple values of this property can cause row explosion", children: "*" }))] }), _jsxs("div", { className: "query-builder-explorer-tree__node__actions", children: [allowPreview && (_jsx("button", { className: "query-builder-explorer-tree__node__action", disabled: explorerState.previewDataState.isGeneratingPreviewData, tabIndex: -1, title: "Preview Data", onClick: previewData, children: _jsx(EyeIcon, {}) })), node instanceof QueryBuilderExplorerTreePropertyNodeData && (_jsx(QueryBuilderPropertyInfoTooltip, { property: node.property, path: node.id, isMapped: node.mappingData.mapped, children: _jsx("div", { className: "query-builder-explorer-tree__node__action query-builder-explorer-tree__node__info", children: _jsx(InfoCircleIcon, {}) }) })), node instanceof QueryBuilderExplorerTreeSubTypeNodeData && (_jsx(QueryBuilderSubclassInfoTooltip, { subclass: node.subclass, path: node.id, isMapped: node.mappingData.mapped, multiplicity: node.multiplicity, children: _jsx("div", { className: "query-builder-explorer-tree__node__action query-builder-explorer-tree__node__info", children: _jsx(InfoCircleIcon, {}) }) }))] })] }))] }) }));
|
218
|
+
});
|
219
|
+
const QueryBuilderExplorerTreeNodeView = observer((props) => {
|
220
|
+
const { node, level, onNodeSelect, getChildNodes, stepPaddingInRem, innerProps, } = props;
|
221
|
+
const { queryBuilderState } = innerProps;
|
222
|
+
if (!node.mappingData.mapped &&
|
223
|
+
// NOTE: we always want to show at least the root node
|
224
|
+
!(node instanceof QueryBuilderExplorerTreeRootNodeData) &&
|
225
|
+
!queryBuilderState.explorerState.showUnmappedProperties) {
|
226
|
+
return null;
|
227
|
+
}
|
228
|
+
return (_jsxs("div", { className: "tree-view__node__block", children: [_jsx(QueryBuilderExplorerTreeNodeContainer, { node: node, level: level + 1, stepPaddingInRem: stepPaddingInRem, onNodeSelect: onNodeSelect, innerProps: innerProps }), node.isOpen &&
|
229
|
+
getChildNodes(node).map((childNode) => (_jsx(QueryBuilderExplorerTreeNodeView, { node: childNode, level: level + 1, onNodeSelect: onNodeSelect, getChildNodes: getChildNodes, innerProps: innerProps }, childNode.id)))] }));
|
230
|
+
});
|
231
|
+
/**
|
232
|
+
* Sort order for Query Builder tree nodes will be ranked by return type as followed:
|
233
|
+
* 1. Primitive
|
234
|
+
* 2. Enumeration
|
235
|
+
* 3. Class
|
236
|
+
* 4. Class Subtypes
|
237
|
+
* Note: Derived property nodes will be ranked lower for each relevant return type
|
238
|
+
*/
|
239
|
+
const getQueryBuilderExplorerTreeNodeSortRank = (node) => {
|
240
|
+
if (node instanceof QueryBuilderExplorerTreeSubTypeNodeData) {
|
241
|
+
return 0;
|
242
|
+
}
|
243
|
+
else if (node.type instanceof Class) {
|
244
|
+
return node.isPartOfDerivedPropertyBranch ? 1 : 2;
|
245
|
+
}
|
246
|
+
else if (node.type instanceof Enumeration) {
|
247
|
+
return node.isPartOfDerivedPropertyBranch ? 3 : 4;
|
248
|
+
}
|
249
|
+
else {
|
250
|
+
return node.isPartOfDerivedPropertyBranch ? 5 : 6;
|
251
|
+
}
|
252
|
+
};
|
253
|
+
const QueryBuilderExplorerTree = observer((props) => {
|
254
|
+
const { queryBuilderState } = props;
|
255
|
+
const explorerState = queryBuilderState.explorerState;
|
256
|
+
const treeData = explorerState.nonNullableTreeData;
|
257
|
+
const onNodeSelect = (node) => {
|
258
|
+
if (node.childrenIds.length) {
|
259
|
+
node.isOpen = !node.isOpen;
|
260
|
+
if (node.isOpen &&
|
261
|
+
(node instanceof QueryBuilderExplorerTreePropertyNodeData ||
|
262
|
+
node instanceof QueryBuilderExplorerTreeSubTypeNodeData) &&
|
263
|
+
node.type instanceof Class) {
|
264
|
+
(node instanceof QueryBuilderExplorerTreeSubTypeNodeData
|
265
|
+
? getAllOwnClassProperties(node.type)
|
266
|
+
: getAllClassProperties(node.type).concat(getAllClassDerivedProperties(node.type))).forEach((property) => {
|
267
|
+
const propertyTreeNodeData = getQueryBuilderPropertyNodeData(property, node, guaranteeNonNullable(explorerState.mappingModelCoverageAnalysisResult));
|
268
|
+
if (propertyTreeNodeData) {
|
269
|
+
treeData.nodes.set(propertyTreeNodeData.id, propertyTreeNodeData);
|
270
|
+
}
|
271
|
+
});
|
272
|
+
node.type._subclasses.forEach((subclass) => {
|
273
|
+
const subTypeTreeNodeData = getQueryBuilderSubTypeNodeData(subclass, node, guaranteeNonNullable(explorerState.mappingModelCoverageAnalysisResult));
|
274
|
+
treeData.nodes.set(subTypeTreeNodeData.id, subTypeTreeNodeData);
|
275
|
+
});
|
276
|
+
}
|
277
|
+
}
|
278
|
+
explorerState.refreshTree();
|
279
|
+
};
|
280
|
+
const getChildNodes = (node) => node.childrenIds
|
281
|
+
.map((id) => treeData.nodes.get(id))
|
282
|
+
.filter((childNode) => childNode instanceof QueryBuilderExplorerTreeSubTypeNodeData ||
|
283
|
+
childNode instanceof QueryBuilderExplorerTreePropertyNodeData)
|
284
|
+
// simple properties come first
|
285
|
+
.sort((a, b) => a.label.localeCompare(b.label))
|
286
|
+
.sort((a, b) => getQueryBuilderExplorerTreeNodeSortRank(b) -
|
287
|
+
getQueryBuilderExplorerTreeNodeSortRank(a));
|
288
|
+
return (_jsx(TreeView, { components: {
|
289
|
+
TreeNodeContainer: QueryBuilderExplorerTreeNodeContainer,
|
290
|
+
TreeNodeView: QueryBuilderExplorerTreeNodeView,
|
291
|
+
}, className: "query-builder-explorer-tree__root", treeData: treeData, onNodeSelect: onNodeSelect, getChildNodes: getChildNodes, innerProps: {
|
292
|
+
queryBuilderState,
|
293
|
+
} }));
|
294
|
+
});
|
295
|
+
export const QueryBuilderExplorerPanel = observer((props) => {
|
296
|
+
const { queryBuilderState } = props;
|
297
|
+
const searchButtonRef = useRef(null);
|
298
|
+
const explorerState = queryBuilderState.explorerState;
|
299
|
+
const propertySearchPanelState = explorerState.propertySearchState;
|
300
|
+
const applicationStore = useApplicationStore();
|
301
|
+
const collapseTree = () => {
|
302
|
+
if (explorerState.treeData) {
|
303
|
+
Array.from(explorerState.treeData.nodes.values()).forEach((node) => {
|
304
|
+
node.isOpen = false;
|
305
|
+
});
|
306
|
+
explorerState.refreshTree();
|
307
|
+
}
|
308
|
+
};
|
309
|
+
const toggleShowUnmappedProperties = () => explorerState.setShowUnmappedProperties(!explorerState.showUnmappedProperties);
|
310
|
+
const toggleHumanizePropertyName = () => explorerState.setHumanizePropertyName(!explorerState.humanizePropertyName);
|
311
|
+
const toggleHighlightUsedProperties = () => explorerState.setHighlightUsedProperties(!explorerState.highlightUsedProperties);
|
312
|
+
const togglePropertySearch = () => {
|
313
|
+
if (explorerState.treeData) {
|
314
|
+
if (!propertySearchPanelState.isSearchPanelOpen) {
|
315
|
+
propertySearchPanelState.setIsSearchPanelOpen(true);
|
316
|
+
if (!propertySearchPanelState.allMappedPropertyNodes.length) {
|
317
|
+
propertySearchPanelState.fetchAllPropertyNodes();
|
318
|
+
}
|
319
|
+
}
|
320
|
+
else {
|
321
|
+
propertySearchPanelState.setIsSearchPanelOpen(false);
|
322
|
+
}
|
323
|
+
}
|
324
|
+
};
|
325
|
+
useEffect(() => {
|
326
|
+
flowResult(explorerState.analyzeMappingModelCoverage()).catch(applicationStore.alertUnhandledError);
|
327
|
+
}, [applicationStore, explorerState, queryBuilderState.mapping]);
|
328
|
+
return (_jsxs("div", { "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_EXPLORER, className: clsx('panel query-builder__explorer', {
|
329
|
+
backdrop__element: queryBuilderState.backdrop,
|
330
|
+
}), children: [_jsxs("div", { className: "panel__header", children: [_jsx("div", { className: "panel__header__title", children: _jsx("div", { className: "panel__header__title__label", children: "explorer" }) }), _jsxs("div", { className: "panel__header__actions", children: [_jsx("button", { ref: searchButtonRef, className: clsx('panel__header__action', {
|
331
|
+
'query-builder__explorer__header__action--active': propertySearchPanelState.isSearchPanelOpen,
|
332
|
+
}), onClick: togglePropertySearch, tabIndex: -1, title: "Toggle property search", children: _jsx(SearchIcon, {}) }), _jsx("button", { className: "panel__header__action", onClick: collapseTree, tabIndex: -1, title: "Collapse Tree", children: _jsx(CompressIcon, {}) }), _jsx(DropdownMenu, { className: "panel__header__action", content: _jsxs(MenuContent, { children: [_jsxs(MenuContentItem, { onClick: toggleShowUnmappedProperties, children: [_jsx(MenuContentItemIcon, { children: explorerState.showUnmappedProperties ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Show Unmapped Properties" })] }), _jsxs(MenuContentItem, { onClick: toggleHumanizePropertyName, children: [_jsx(MenuContentItemIcon, { children: explorerState.humanizePropertyName ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Humanize Property Name" })] }), _jsxs(MenuContentItem, { onClick: toggleHighlightUsedProperties, children: [_jsx(MenuContentItemIcon, { children: explorerState.highlightUsedProperties ? (_jsx(CheckIcon, {})) : null }), _jsx(MenuContentItemLabel, { children: "Highlight already used properties" })] })] }), menuProps: {
|
333
|
+
anchorOrigin: { vertical: 'bottom', horizontal: 'left' },
|
334
|
+
transformOrigin: { vertical: 'top', horizontal: 'left' },
|
335
|
+
elevation: 7,
|
336
|
+
}, children: _jsx(MoreVerticalIcon, { title: "Show Options Menu...", className: "query-builder__icon__more-options" }) })] }), propertySearchPanelState.isSearchPanelOpen && (_jsx(QueryBuilderPropertySearchPanel, { queryBuilderState: queryBuilderState, triggerElement: searchButtonRef.current }))] }), _jsxs("div", { className: "panel__content query-builder-explorer-tree__content", children: [_jsx(PanelLoadingIndicator, { isLoading: explorerState.mappingModelCoverageAnalysisState.isInProgress }), _jsx(DragPreviewLayer, { labelGetter: (item) => explorerState.humanizePropertyName
|
337
|
+
? prettyPropertyName(item.node.label)
|
338
|
+
: item.node.label, types: Object.values(QUERY_BUILDER_EXPLORER_TREE_DND_TYPE) }), explorerState.mappingModelCoverageAnalysisState.isInProgress ? (_jsx(BlankPanelContent, { children: explorerState.mappingModelCoverageAnalysisState.message })) : (_jsxs(_Fragment, { children: [!explorerState.treeData && (_jsx(BlankPanelContent, { children: "Specify the class, mapping, and runtime to start building query" })), explorerState.treeData && (_jsx(QueryBuilderExplorerTree, { queryBuilderState: queryBuilderState }))] })), _jsx(QueryBuilderExplorerPreviewDataModal, { queryBuilderState: queryBuilderState })] })] }));
|
339
|
+
});
|
340
|
+
//# sourceMappingURL=QueryBuilderExplorerPanel.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"QueryBuilderExplorerPanel.js","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderExplorerPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;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B,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC;4BACrC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,EAErB,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,oCAAoC,CAAC,GAC1D,EACD,aAAa,CAAC,iCAAiC,CAAC,YAAY,CAAC,CAAC,CAAC,CAC9D,KAAC,iBAAiB,cACf,aAAa,CAAC,iCAAiC,CAAC,OAAO,GACtC,CACrB,CAAC,CAAC,CAAC,CACF,8BACG,CAAC,aAAa,CAAC,QAAQ,IAAI,CAC1B,KAAC,iBAAiB,kFAGE,CACrB,EACA,aAAa,CAAC,QAAQ,IAAI,CACzB,KAAC,wBAAwB,IACvB,iBAAiB,EAAE,iBAAiB,GACpC,CACH,IACA,CACJ,EACD,KAAC,oCAAoC,IACnC,iBAAiB,EAAE,iBAAiB,GACpC,IACE,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -0,0 +1,22 @@
|
|
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 '../../stores/QueryBuilderState.js';
|
17
|
+
export declare const QueryBuilderFunctionsExplorerPanel: ((props: {
|
18
|
+
queryBuilderState: QueryBuilderState;
|
19
|
+
}) => JSX.Element) & {
|
20
|
+
displayName: string;
|
21
|
+
};
|
22
|
+
//# sourceMappingURL=QueryBuilderFunctionsExplorerPanel.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"QueryBuilderFunctionsExplorerPanel.d.ts","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderFunctionsExplorerPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AA6CH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAwU3E,eAAO,MAAM,kCAAkC,WACrC;IAAE,iBAAiB,EAAE,iBAAiB,CAAA;CAAE;;CAqKjD,CAAC"}
|
@@ -0,0 +1,147 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
2
|
+
/**
|
3
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
4
|
+
*
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
* you may not use this file except in compliance with the License.
|
7
|
+
* You may obtain a copy of the License at
|
8
|
+
*
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
*
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
* See the License for the specific language governing permissions and
|
15
|
+
* limitations under the License.
|
16
|
+
*/
|
17
|
+
import { useState } from 'react';
|
18
|
+
import { observer } from 'mobx-react-lite';
|
19
|
+
import { FolderIcon, FolderOpenIcon, InfoCircleIcon, SubjectIcon, Tooltip, ViewHeadlineIcon, ChevronDownIcon, ChevronRightIcon, PURE_FunctionIcon, CompressIcon, TreeView, BlankPanelContent, MenuContentItem, DropdownMenu, MenuContent, CheckIcon, MenuContentItemIcon, MenuContentItemLabel, MoreVerticalIcon, DragPreviewLayer, useDragPreviewLayer, } from '@finos/legend-art';
|
20
|
+
import { generateFunctionsExplorerTreeNodeData, getFunctionsExplorerTreeNodeChildren, QUERY_BUILDER_FUNCTION_DND_TYPE, } from '../../stores/explorer/QueryFunctionsExplorerState.js';
|
21
|
+
import { useDrag } from 'react-dnd';
|
22
|
+
import { ConcreteFunctionDefinition, generateFunctionSignature, getElementRootPackage, Package, ROOT_PACKAGE_NAME, getMultiplicityDescription, } from '@finos/legend-graph';
|
23
|
+
const isDependencyTreeNode = (node) => getElementRootPackage(node.packageableElement).name ===
|
24
|
+
ROOT_PACKAGE_NAME.PROJECT_DEPENDENCY_ROOT;
|
25
|
+
const QueryBuilderFunctionInfoTooltip = (props) => {
|
26
|
+
const { element, children, placement } = props;
|
27
|
+
return (_jsx(Tooltip, { arrow: true, ...(placement !== undefined ? { placement } : {}), classes: {
|
28
|
+
tooltip: 'query-builder__tooltip',
|
29
|
+
arrow: 'query-builder__tooltip__arrow',
|
30
|
+
tooltipPlacementRight: 'query-builder__tooltip--right',
|
31
|
+
}, TransitionProps: {
|
32
|
+
timeout: 0,
|
33
|
+
}, title: _jsxs("div", { className: "query-builder__tooltip__content", children: [_jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Function Name" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: element.path })] }), _jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Parameters" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: element.parameters
|
34
|
+
.map((t) => `${t.name}: ${t.type.value.name}${getMultiplicityDescription(t.multiplicity)}`)
|
35
|
+
.join('; ') })] }), _jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Documentation" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: element.taggedValues
|
36
|
+
.filter((t) => t.tag.value._OWNER.name === 'doc')
|
37
|
+
.map((t) => t.value)
|
38
|
+
.join('; ') })] }), _jsxs("div", { className: "query-builder__tooltip__item", children: [_jsx("div", { className: "query-builder__tooltip__item__label", children: "Return Type" }), _jsx("div", { className: "query-builder__tooltip__item__value", children: element.returnType.value.name })] })] }), children: _jsx("span", { children: children }) }));
|
39
|
+
};
|
40
|
+
const QueryBuilderFunctionsExplorerListEntry = observer((props) => {
|
41
|
+
const { queryBuilderState, element, rootPackageName } = props;
|
42
|
+
const node = generateFunctionsExplorerTreeNodeData(queryBuilderState, element, rootPackageName);
|
43
|
+
const functionSignature = generateFunctionSignature(element, true);
|
44
|
+
const [, dragConnector, dragPreviewConnector] = useDrag(() => ({
|
45
|
+
type: QUERY_BUILDER_FUNCTION_DND_TYPE,
|
46
|
+
item: { node: node },
|
47
|
+
}), [node]);
|
48
|
+
useDragPreviewLayer(dragPreviewConnector);
|
49
|
+
return (_jsxs("div", { className: "query-builder__functions-explorer__function", ref: dragConnector, children: [_jsxs("div", { className: "query-builder__functions-explorer__function__content", children: [_jsx("div", { className: "query-builder__functions-explorer__function__icon", children: _jsx("div", { className: "query-builder__functions-explorer__function-icon", children: _jsx(PURE_FunctionIcon, {}) }) }), _jsx("div", { className: "query-builder__functions-explorer__function__label", title: functionSignature, children: functionSignature })] }), _jsx("div", { className: "query-builder__functions-explorer__function__actions", children: _jsx(QueryBuilderFunctionInfoTooltip, { element: node.packageableElement, children: _jsx("div", { className: "query-builder__functions-explorer__function__action query-builder__functions-explorer__function__node__info", children: _jsx(InfoCircleIcon, {}) }) }) })] }));
|
50
|
+
});
|
51
|
+
const QueryBuilderFunctionsExplorerTreeNodeContainer = observer((props) => {
|
52
|
+
const { node, level, stepPaddingInRem, onNodeSelect } = props;
|
53
|
+
const isPackage = node.packageableElement instanceof Package;
|
54
|
+
const name = node.packageableElement instanceof ConcreteFunctionDefinition
|
55
|
+
? generateFunctionSignature(node.packageableElement, false)
|
56
|
+
: node.packageableElement.name;
|
57
|
+
const isExpandable = Boolean(node.childrenIds.length);
|
58
|
+
const nodeExpandIcon = isExpandable ? (node.isOpen ? (_jsx(ChevronDownIcon, {})) : (_jsx(ChevronRightIcon, {}))) : (_jsx("div", {}));
|
59
|
+
const iconPackageColor = isDependencyTreeNode(node)
|
60
|
+
? 'color--dependency'
|
61
|
+
: '';
|
62
|
+
const nodeTypeIcon = isPackage ? (node.isOpen ? (_jsx(FolderOpenIcon, { className: iconPackageColor })) : (_jsx(FolderIcon, { className: iconPackageColor }))) : (_jsx(PURE_FunctionIcon, {}));
|
63
|
+
const selectNode = () => {
|
64
|
+
onNodeSelect?.(node);
|
65
|
+
};
|
66
|
+
const [, dragConnector, dragPreviewConnector] = useDrag(() => ({
|
67
|
+
type: QUERY_BUILDER_FUNCTION_DND_TYPE,
|
68
|
+
item: () => node.packageableElement instanceof ConcreteFunctionDefinition
|
69
|
+
? { node }
|
70
|
+
: {},
|
71
|
+
}), [node]);
|
72
|
+
useDragPreviewLayer(dragPreviewConnector);
|
73
|
+
return (_jsx("div", { children: _jsx("div", { className: "tree-view__node__container query-builder__functions-explorer__tree__node__container", onClick: selectNode, ref: !isExpandable ? dragConnector : undefined, style: {
|
74
|
+
paddingLeft: `${(level - 1) * (stepPaddingInRem ?? 1) + 0.5}rem`,
|
75
|
+
display: 'flex',
|
76
|
+
}, children: _jsxs(_Fragment, { children: [_jsxs("div", { className: "tree-view__node__icon query-builder__functions-explorer__tree__node__icon", children: [_jsx("div", { className: "query-builder__functions-explorer__tree__expand-icon", children: nodeExpandIcon }), _jsx("div", { className: 'query-builder__functions-explorer__tree__type-icon', children: nodeTypeIcon })] }), _jsx("div", { className: "tree-view__node__label query-builder__functions-explorer__tree__node__label--with-action", title: name, children: name }), _jsx("div", { className: "query-builder__functions-explorer__tree__node__actions", children: node.packageableElement instanceof
|
77
|
+
ConcreteFunctionDefinition && (_jsx(QueryBuilderFunctionInfoTooltip, { element: node.packageableElement, children: _jsx("div", { className: "query-builder__functions-explorer__tree__node__action query-builder__functions-explorer__tree__node__info", children: _jsx(InfoCircleIcon, {}) }) })) })] }) }) }));
|
78
|
+
});
|
79
|
+
const QueryBuilderPackableElementExplorerTree = observer((props) => {
|
80
|
+
const { queryBuilderState, rootPackageName, showDependencyFuncions } = props;
|
81
|
+
const queryFunctionsState = queryBuilderState.functionsExplorerState;
|
82
|
+
const treeData = queryFunctionsState.nonNullableTreeData;
|
83
|
+
const onNodeSelect = (node) => queryFunctionsState.onTreeNodeSelect(queryBuilderState, node, treeData);
|
84
|
+
const getChildNodes = (node) => getFunctionsExplorerTreeNodeChildren(queryBuilderState, node, treeData);
|
85
|
+
const dependencyTreeData = queryFunctionsState.getTreeData(ROOT_PACKAGE_NAME.PROJECT_DEPENDENCY_ROOT);
|
86
|
+
const onDependencyTreeSelect = (node) => {
|
87
|
+
if (dependencyTreeData) {
|
88
|
+
queryFunctionsState.onTreeNodeSelect(queryBuilderState, node, dependencyTreeData, ROOT_PACKAGE_NAME.PROJECT_DEPENDENCY_ROOT);
|
89
|
+
}
|
90
|
+
};
|
91
|
+
const getDependencyTreeChildNodes = (node) => {
|
92
|
+
if (dependencyTreeData) {
|
93
|
+
return getFunctionsExplorerTreeNodeChildren(queryBuilderState, node, dependencyTreeData, ROOT_PACKAGE_NAME.PROJECT_DEPENDENCY_ROOT);
|
94
|
+
}
|
95
|
+
return [];
|
96
|
+
};
|
97
|
+
return (_jsxs(_Fragment, { children: [rootPackageName === ROOT_PACKAGE_NAME.MAIN && (_jsx(TreeView, { components: {
|
98
|
+
TreeNodeContainer: QueryBuilderFunctionsExplorerTreeNodeContainer,
|
99
|
+
}, className: "query-builder__functions-explorer__tree__root", treeData: treeData, onNodeSelect: onNodeSelect, getChildNodes: getChildNodes, innerProps: {
|
100
|
+
queryBuilderState,
|
101
|
+
} })), rootPackageName === ROOT_PACKAGE_NAME.PROJECT_DEPENDENCY_ROOT &&
|
102
|
+
dependencyTreeData &&
|
103
|
+
showDependencyFuncions && (_jsx(_Fragment, { children: _jsx(TreeView, { components: {
|
104
|
+
TreeNodeContainer: QueryBuilderFunctionsExplorerTreeNodeContainer,
|
105
|
+
}, className: "query-builder__functions-explorer__tree__root", treeData: dependencyTreeData, onNodeSelect: onDependencyTreeSelect, getChildNodes: getDependencyTreeChildNodes, innerProps: {
|
106
|
+
queryBuilderState,
|
107
|
+
} }) }))] }));
|
108
|
+
});
|
109
|
+
export const QueryBuilderFunctionsExplorerPanel = observer((props) => {
|
110
|
+
const { queryBuilderState } = props;
|
111
|
+
const queryFunctionsState = queryBuilderState.functionsExplorerState;
|
112
|
+
const [viewAsTree, setViewAsTree] = useState(false);
|
113
|
+
const [showDependencyFuncions, setShowDependencyFuncions] = useState(false);
|
114
|
+
const toggleViewAsListOrAsTree = () => {
|
115
|
+
setViewAsTree(!viewAsTree);
|
116
|
+
};
|
117
|
+
const collapseTree = () => {
|
118
|
+
if (queryFunctionsState.treeData) {
|
119
|
+
Array.from(queryFunctionsState.treeData.nodes.values()).forEach((node) => {
|
120
|
+
node.isOpen = false;
|
121
|
+
});
|
122
|
+
}
|
123
|
+
if (queryFunctionsState.dependencyTreeData) {
|
124
|
+
Array.from(queryFunctionsState.dependencyTreeData.nodes.values()).forEach((node) => {
|
125
|
+
node.isOpen = false;
|
126
|
+
});
|
127
|
+
}
|
128
|
+
queryFunctionsState.refreshTree();
|
129
|
+
};
|
130
|
+
const toggleShowDependencyFuncions = () => {
|
131
|
+
setShowDependencyFuncions(!showDependencyFuncions);
|
132
|
+
};
|
133
|
+
return (_jsxs("div", { className: "panel query-builder__functions-explorer", children: [_jsxs("div", { className: "panel__header", children: [_jsx("div", { className: "panel__header__title", children: _jsx("div", { className: "panel__header__title__label", children: "functions" }) }), _jsxs("div", { className: "panel__header__actions", children: [_jsx("button", { className: "panel__header__action", onClick: collapseTree, tabIndex: -1, children: viewAsTree && _jsx(CompressIcon, { title: "Collapse Tree" }) }), _jsx("div", { className: "panel__header__action query-builder__functions-explorer__custom-icon", children: !viewAsTree ? (_jsx(SubjectIcon, { title: "View as Tree", onClick: toggleViewAsListOrAsTree })) : (_jsx(ViewHeadlineIcon, { title: "View as List", onClick: toggleViewAsListOrAsTree })) }), _jsx(DropdownMenu, { className: "panel__header__action", content: _jsx(MenuContent, { children: _jsxs(MenuContentItem, { onClick: toggleShowDependencyFuncions, children: [_jsx(MenuContentItemIcon, { children: showDependencyFuncions ? _jsx(CheckIcon, {}) : null }), _jsx(MenuContentItemLabel, { children: "Show functions from dependency projects" })] }) }), menuProps: {
|
134
|
+
anchorOrigin: { vertical: 'bottom', horizontal: 'left' },
|
135
|
+
transformOrigin: { vertical: 'top', horizontal: 'left' },
|
136
|
+
elevation: 7,
|
137
|
+
}, children: _jsx(MoreVerticalIcon, { title: "Show Options Menu...", className: "query-builder__icon__more-options" }) })] })] }), _jsxs("div", { className: "panel__content query-builder__functions-explorer__content", children: [_jsx(DragPreviewLayer, { labelGetter: (item) => generateFunctionSignature(item.node.packageableElement, true), types: [QUERY_BUILDER_FUNCTION_DND_TYPE] }), ((showDependencyFuncions &&
|
138
|
+
(!queryFunctionsState.dependencyTreeData ||
|
139
|
+
queryFunctionsState.dependencyTreeData.rootIds.length === 0)) ||
|
140
|
+
!showDependencyFuncions) &&
|
141
|
+
queryFunctionsState.treeData?.rootIds.length === 0 && (_jsx(BlankPanelContent, { children: "No user-defined functions available" })), viewAsTree && (_jsxs(_Fragment, { children: [queryFunctionsState.treeData && (_jsx(QueryBuilderPackableElementExplorerTree, { queryBuilderState: queryBuilderState, rootPackageName: ROOT_PACKAGE_NAME.MAIN, showDependencyFuncions: showDependencyFuncions })), showDependencyFuncions &&
|
142
|
+
queryFunctionsState.dependencyTreeData &&
|
143
|
+
queryFunctionsState.dependencyTreeData.rootIds.length !== 0 && (_jsx(QueryBuilderPackableElementExplorerTree, { queryBuilderState: queryBuilderState, rootPackageName: ROOT_PACKAGE_NAME.PROJECT_DEPENDENCY_ROOT, showDependencyFuncions: showDependencyFuncions }))] })), !viewAsTree && (_jsxs(_Fragment, { children: [queryFunctionsState.functionExplorerStates.map((funcExplorerState) => (_jsx(QueryBuilderFunctionsExplorerListEntry, { queryBuilderState: queryBuilderState, element: funcExplorerState.concreteFunctionDefinition, rootPackageName: ROOT_PACKAGE_NAME.MAIN }, funcExplorerState.uuid))), showDependencyFuncions &&
|
144
|
+
queryFunctionsState.dependencyTreeData &&
|
145
|
+
queryFunctionsState.dependencyTreeData.rootIds.length !== 0 && (_jsxs(_Fragment, { children: [queryFunctionsState.treeData?.rootIds.length !== 0 && (_jsx("div", { className: "query-builder__functions-explorer__separator" })), queryFunctionsState.dependencyFunctionExplorerStates.map((funcExplorerState) => (_jsx(QueryBuilderFunctionsExplorerListEntry, { queryBuilderState: queryBuilderState, element: funcExplorerState.concreteFunctionDefinition, rootPackageName: ROOT_PACKAGE_NAME.PROJECT_DEPENDENCY_ROOT }, funcExplorerState.uuid)))] }))] }))] })] }));
|
146
|
+
});
|
147
|
+
//# sourceMappingURL=QueryBuilderFunctionsExplorerPanel.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"QueryBuilderFunctionsExplorerPanel.js","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderFunctionsExplorerPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAGL,UAAU,EACV,cAAc,EACd,cAAc,EACd,WAAW,EACX,OAAO,EACP,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,YAAY,EACZ,QAAQ,EACR,iBAAiB,EACjB,eAAe,EACf,YAAY,EACZ,WAAW,EACX,SAAS,EACT,mBAAmB,EACnB,oBAAoB,EACpB,gBAAgB,EAChB,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAGL,qCAAqC,EACrC,oCAAoC,EACpC,+BAA+B,GAChC,MAAM,sDAAsD,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EACL,0BAA0B,EAC1B,yBAAyB,EACzB,qBAAq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EAAE,iBAAiB,EACpC,eAAe,EAAE,iBAAiB,CAAC,uBAAuB,EAC1D,sBAAsB,EAAE,sBAAsB,GAC9C,CACH,IACF,CACJ,EAEA,CAAC,UAAU,IAAI,CACd,8BACG,mBAAmB,CAAC,sBAAsB,CAAC,GAAG,CAC7C,CAAC,iBAAiB,EAAE,EAAE,CAAC,CACrB,KAAC,sCAAsC,IAErC,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,EAAE,iBAAiB,CAAC,0BAA0B,EACrD,eAAe,EAAE,iBAAiB,CAAC,IAAI,IAHlC,iBAAiB,CAAC,IAAI,CAI3B,CACH,CACF,EACA,sBAAsB;gCACrB,mBAAmB,CAAC,kBAAkB;gCACtC,mBAAmB,CAAC,kBAAkB,CAAC,OAAO,CAAC,MAAM,KAAK,CAAC,IAAI,CAC7D,8BACG,mBAAmB,CAAC,QAAQ,EAAE,OAAO,CAAC,MAAM,KAAK,CAAC,IAAI,CACrD,cAAK,SAAS,EAAC,8CAA8C,GAAG,CACjE,EACA,mBAAmB,CAAC,gCAAgC,CAAC,GAAG,CACvD,CAAC,iBAAiB,EAAE,EAAE,CAAC,CACrB,KAAC,sCAAsC,IAErC,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,EAAE,iBAAiB,CAAC,0BAA0B,EACrD,eAAe,EACb,iBAAiB,CAAC,uBAAuB,IAJtC,iBAAiB,CAAC,IAAI,CAM3B,CACH,CACF,IACA,CACJ,IACF,CACJ,IACG,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -0,0 +1,22 @@
|
|
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 '../../stores/QueryBuilderState.js';
|
17
|
+
export declare const MilestoningParametersEditor: ((props: {
|
18
|
+
queryBuilderState: QueryBuilderState;
|
19
|
+
}) => JSX.Element) & {
|
20
|
+
displayName: string;
|
21
|
+
};
|
22
|
+
//# sourceMappingURL=QueryBuilderMilestoneEditor.d.ts.map
|