@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,617 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
|
17
|
+
import { useRef, useState } from 'react';
|
18
|
+
import {
|
19
|
+
clsx,
|
20
|
+
CheckSquareIcon,
|
21
|
+
SquareIcon,
|
22
|
+
BasePopover,
|
23
|
+
ResizablePanelSplitter,
|
24
|
+
ResizablePanelGroup,
|
25
|
+
ResizablePanel,
|
26
|
+
ResizablePanelSplitterLine,
|
27
|
+
InfoCircleIcon,
|
28
|
+
TimesIcon,
|
29
|
+
SearchIcon,
|
30
|
+
ChevronDownIcon,
|
31
|
+
ChevronRightIcon,
|
32
|
+
useDragPreviewLayer,
|
33
|
+
} from '@finos/legend-art';
|
34
|
+
import {
|
35
|
+
Class,
|
36
|
+
Enumeration,
|
37
|
+
getAllClassProperties,
|
38
|
+
getAllOwnClassProperties,
|
39
|
+
} from '@finos/legend-graph';
|
40
|
+
import { guaranteeNonNullable } from '@finos/legend-shared';
|
41
|
+
import { observer } from 'mobx-react-lite';
|
42
|
+
import { useDrag } from 'react-dnd';
|
43
|
+
import { QUERY_BUILDER_PROPERTY_SEARCH_TYPE } from '../../stores/QueryBuilderConfig.js';
|
44
|
+
import {
|
45
|
+
type QueryBuilderExplorerTreeNodeData,
|
46
|
+
QueryBuilderExplorerTreePropertyNodeData,
|
47
|
+
QueryBuilderExplorerTreeSubTypeNodeData,
|
48
|
+
QUERY_BUILDER_EXPLORER_TREE_DND_TYPE,
|
49
|
+
getQueryBuilderPropertyNodeData,
|
50
|
+
type QueryBuilderExplorerState,
|
51
|
+
} from '../../stores/explorer/QueryBuilderExplorerState.js';
|
52
|
+
import { prettyPropertyName } from '../../stores/QueryBuilderPropertyEditorState.js';
|
53
|
+
import type { QueryBuilderState } from '../../stores/QueryBuilderState.js';
|
54
|
+
import {
|
55
|
+
QueryBuilderSubclassInfoTooltip,
|
56
|
+
renderPropertyTypeIcon,
|
57
|
+
} from './QueryBuilderExplorerPanel.js';
|
58
|
+
import { QueryBuilderPropertyInfoTooltip } from '../shared/QueryBuilderPropertyInfoTooltip.js';
|
59
|
+
import { QUERY_BUILDER_TEST_ID } from '../QueryBuilder_TestID.js';
|
60
|
+
|
61
|
+
const prettyPropertyNameFromNodeId = (name: string): string => {
|
62
|
+
let propNameArray = name.split('.');
|
63
|
+
propNameArray = propNameArray.map((p) => prettyPropertyName(p));
|
64
|
+
let propName = '';
|
65
|
+
propNameArray.forEach((p) => {
|
66
|
+
propName = `${propName + p}/`;
|
67
|
+
});
|
68
|
+
propName = propName.slice(0, -1);
|
69
|
+
return propName;
|
70
|
+
};
|
71
|
+
|
72
|
+
const prettyPropertyNameForSubType = (name: string): string => {
|
73
|
+
let propNameArray = name.split('@');
|
74
|
+
propNameArray = propNameArray
|
75
|
+
.map((p) => p.replace(/.*::/, ''))
|
76
|
+
.filter((p) => p !== '')
|
77
|
+
.map((p) => prettyPropertyName(p));
|
78
|
+
let propName = '';
|
79
|
+
propNameArray.slice(0, -1).forEach((p) => {
|
80
|
+
propName = `${propName}(@${p})/`;
|
81
|
+
});
|
82
|
+
propNameArray = guaranteeNonNullable(
|
83
|
+
propNameArray[propNameArray.length - 1],
|
84
|
+
).split('.');
|
85
|
+
propNameArray = propNameArray.map((p) => prettyPropertyName(p));
|
86
|
+
propName = `${propName}(@${propNameArray[0]})/`;
|
87
|
+
propNameArray.slice(1).forEach((p) => {
|
88
|
+
propName = `${propName + p}/`;
|
89
|
+
});
|
90
|
+
propName = propName.slice(0, -1);
|
91
|
+
return propName;
|
92
|
+
};
|
93
|
+
|
94
|
+
const prettyPropertyNameForSubTypeClass = (name: string): string => {
|
95
|
+
let propNameArray = name.split('@');
|
96
|
+
propNameArray = propNameArray
|
97
|
+
.map((p) => p.replace(/.*::/, ''))
|
98
|
+
.filter((p) => p !== '')
|
99
|
+
.map((p) => prettyPropertyName(p));
|
100
|
+
let propName = '';
|
101
|
+
propNameArray.forEach((p) => {
|
102
|
+
propName = `${propName}@${p}`;
|
103
|
+
});
|
104
|
+
return propName;
|
105
|
+
};
|
106
|
+
|
107
|
+
const QueryBuilderTreeNodeViewer = observer(
|
108
|
+
(props: {
|
109
|
+
node: QueryBuilderExplorerTreeNodeData;
|
110
|
+
queryBuilderState: QueryBuilderState;
|
111
|
+
explorerState: QueryBuilderExplorerState;
|
112
|
+
level: number;
|
113
|
+
stepPaddingInRem: number;
|
114
|
+
}) => {
|
115
|
+
const { node, queryBuilderState, explorerState, level, stepPaddingInRem } =
|
116
|
+
props;
|
117
|
+
const [isExpandable, setIsExpandable] = useState(false);
|
118
|
+
const propertySearchPanelState = explorerState.propertySearchState;
|
119
|
+
const [, dragConnector, dragPreviewConnector] = useDrag<{
|
120
|
+
node?: QueryBuilderExplorerTreePropertyNodeData;
|
121
|
+
}>(
|
122
|
+
() => ({
|
123
|
+
type:
|
124
|
+
node instanceof QueryBuilderExplorerTreePropertyNodeData
|
125
|
+
? node.type instanceof Enumeration
|
126
|
+
? QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.ENUM_PROPERTY
|
127
|
+
: node.type instanceof Class
|
128
|
+
? QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.CLASS_PROPERTY
|
129
|
+
: QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.PRIMITIVE_PROPERTY
|
130
|
+
: QUERY_BUILDER_EXPLORER_TREE_DND_TYPE.ROOT,
|
131
|
+
item: () =>
|
132
|
+
node instanceof QueryBuilderExplorerTreePropertyNodeData
|
133
|
+
? { node }
|
134
|
+
: {},
|
135
|
+
collect: (monitor) => ({
|
136
|
+
isDragging: monitor.isDragging(),
|
137
|
+
}),
|
138
|
+
}),
|
139
|
+
[node],
|
140
|
+
);
|
141
|
+
useDragPreviewLayer(dragPreviewConnector);
|
142
|
+
const isMultiple =
|
143
|
+
(node instanceof QueryBuilderExplorerTreePropertyNodeData &&
|
144
|
+
(node.property.multiplicity.upperBound === undefined ||
|
145
|
+
node.property.multiplicity.upperBound > 1)) ||
|
146
|
+
(node instanceof QueryBuilderExplorerTreeSubTypeNodeData &&
|
147
|
+
(node.multiplicity.upperBound === undefined ||
|
148
|
+
node.multiplicity.upperBound > 1));
|
149
|
+
const nodeExpandIcon = isExpandable ? (
|
150
|
+
<ChevronDownIcon />
|
151
|
+
) : (
|
152
|
+
<ChevronRightIcon />
|
153
|
+
);
|
154
|
+
const getChildrenNodes = (): QueryBuilderExplorerTreeNodeData[] => {
|
155
|
+
const childNodes: QueryBuilderExplorerTreeNodeData[] = [];
|
156
|
+
if (node.childrenIds.length) {
|
157
|
+
if (
|
158
|
+
(node instanceof QueryBuilderExplorerTreePropertyNodeData ||
|
159
|
+
node instanceof QueryBuilderExplorerTreeSubTypeNodeData) &&
|
160
|
+
node.type instanceof Class
|
161
|
+
) {
|
162
|
+
(node instanceof QueryBuilderExplorerTreeSubTypeNodeData
|
163
|
+
? getAllOwnClassProperties(node.type)
|
164
|
+
: getAllClassProperties(node.type)
|
165
|
+
).forEach((property) => {
|
166
|
+
const propertyTreeNodeData = getQueryBuilderPropertyNodeData(
|
167
|
+
property,
|
168
|
+
node,
|
169
|
+
guaranteeNonNullable(
|
170
|
+
queryBuilderState.explorerState
|
171
|
+
.mappingModelCoverageAnalysisResult,
|
172
|
+
),
|
173
|
+
);
|
174
|
+
if (
|
175
|
+
propertyTreeNodeData &&
|
176
|
+
!(propertyTreeNodeData.type instanceof Class) &&
|
177
|
+
propertyTreeNodeData.mappingData.mapped
|
178
|
+
) {
|
179
|
+
childNodes.push(propertyTreeNodeData);
|
180
|
+
}
|
181
|
+
});
|
182
|
+
}
|
183
|
+
}
|
184
|
+
return childNodes;
|
185
|
+
};
|
186
|
+
const parentNode = propertySearchPanelState.allMappedPropertyNodes.find(
|
187
|
+
(pn) =>
|
188
|
+
node instanceof QueryBuilderExplorerTreePropertyNodeData &&
|
189
|
+
node.parentId === pn.id,
|
190
|
+
);
|
191
|
+
|
192
|
+
return (
|
193
|
+
<div>
|
194
|
+
<div
|
195
|
+
className="tree-view__node__container query-builder-property-search-panel__node__container"
|
196
|
+
ref={dragConnector}
|
197
|
+
style={{
|
198
|
+
paddingLeft: `${(level - 1) * stepPaddingInRem + 0.5}rem`,
|
199
|
+
display: 'flex',
|
200
|
+
}}
|
201
|
+
onClick={(): void => setIsExpandable(!isExpandable)}
|
202
|
+
// Temporarily hide away the panel when we drag-and-drop the properties
|
203
|
+
onDrag={(): void =>
|
204
|
+
propertySearchPanelState.setIsSearchPanelHidden(true)
|
205
|
+
}
|
206
|
+
onDragEnd={(): void =>
|
207
|
+
propertySearchPanelState.setIsSearchPanelHidden(false)
|
208
|
+
}
|
209
|
+
>
|
210
|
+
<div className="tree-view__node__icon query-builder-property-search-panel__node__icon">
|
211
|
+
{node.type instanceof Class && (
|
212
|
+
<div className="query-builder-property-search-panel__expand-icon">
|
213
|
+
{nodeExpandIcon}
|
214
|
+
</div>
|
215
|
+
)}
|
216
|
+
<div className="query-builder-property-search-panel__type-icon">
|
217
|
+
{renderPropertyTypeIcon(node.type)}
|
218
|
+
</div>
|
219
|
+
</div>
|
220
|
+
<div className="tree-view__node__label query-builder-property-search-panel__node__label query-builder-property-search-panel__node__label--with-action">
|
221
|
+
{parentNode instanceof QueryBuilderExplorerTreeSubTypeNodeData
|
222
|
+
? prettyPropertyNameForSubType(node.id)
|
223
|
+
: node instanceof QueryBuilderExplorerTreeSubTypeNodeData
|
224
|
+
? prettyPropertyNameForSubTypeClass(node.id)
|
225
|
+
: prettyPropertyNameFromNodeId(node.id)}
|
226
|
+
{isMultiple && (
|
227
|
+
<div
|
228
|
+
className="query-builder-property-search-panel__node__label__multiple"
|
229
|
+
title="Multiple values of this property can cause row explosion"
|
230
|
+
>
|
231
|
+
*
|
232
|
+
</div>
|
233
|
+
)}
|
234
|
+
</div>
|
235
|
+
<div className="query-builder-property-search-panel__node__actions">
|
236
|
+
{node instanceof QueryBuilderExplorerTreePropertyNodeData && (
|
237
|
+
<QueryBuilderPropertyInfoTooltip
|
238
|
+
property={node.property}
|
239
|
+
path={node.id}
|
240
|
+
isMapped={node.mappingData.mapped}
|
241
|
+
>
|
242
|
+
<div className="query-builder-property-search-panel__node__action query-builder-property-search-panel__node__info">
|
243
|
+
<InfoCircleIcon />
|
244
|
+
</div>
|
245
|
+
</QueryBuilderPropertyInfoTooltip>
|
246
|
+
)}
|
247
|
+
{node instanceof QueryBuilderExplorerTreeSubTypeNodeData && (
|
248
|
+
<QueryBuilderSubclassInfoTooltip
|
249
|
+
subclass={node.subclass}
|
250
|
+
path={node.id}
|
251
|
+
isMapped={node.mappingData.mapped}
|
252
|
+
multiplicity={node.multiplicity}
|
253
|
+
>
|
254
|
+
<div className="query-builder-property-search-panel__node__action query-builder-property-search-panel__node__info">
|
255
|
+
<InfoCircleIcon />
|
256
|
+
</div>
|
257
|
+
</QueryBuilderSubclassInfoTooltip>
|
258
|
+
)}
|
259
|
+
</div>
|
260
|
+
</div>
|
261
|
+
{isExpandable &&
|
262
|
+
getChildrenNodes().map((childNode) => (
|
263
|
+
<QueryBuilderTreeNodeViewer
|
264
|
+
key={childNode.id}
|
265
|
+
node={childNode}
|
266
|
+
queryBuilderState={queryBuilderState}
|
267
|
+
level={1}
|
268
|
+
stepPaddingInRem={2}
|
269
|
+
explorerState={queryBuilderState.explorerState}
|
270
|
+
/>
|
271
|
+
))}
|
272
|
+
</div>
|
273
|
+
);
|
274
|
+
},
|
275
|
+
);
|
276
|
+
|
277
|
+
export const QueryBuilderPropertySearchPanel = observer(
|
278
|
+
(props: {
|
279
|
+
queryBuilderState: QueryBuilderState;
|
280
|
+
triggerElement: HTMLElement | null;
|
281
|
+
}) => {
|
282
|
+
const { queryBuilderState, triggerElement } = props;
|
283
|
+
const explorerState = queryBuilderState.explorerState;
|
284
|
+
const propertySearchPanelState = explorerState.propertySearchState;
|
285
|
+
const searchInputRef = useRef<HTMLInputElement>(null);
|
286
|
+
const changePropertyName: React.ChangeEventHandler<HTMLInputElement> = (
|
287
|
+
event,
|
288
|
+
) => {
|
289
|
+
propertySearchPanelState.setSearchText(event.target.value);
|
290
|
+
propertySearchPanelState.refreshPropertyState();
|
291
|
+
if (propertySearchPanelState.searchText.length >= 3) {
|
292
|
+
propertySearchPanelState.fetchMappedPropertyNodes(
|
293
|
+
propertySearchPanelState.searchText,
|
294
|
+
);
|
295
|
+
}
|
296
|
+
};
|
297
|
+
const clearPropertyName = (): void => {
|
298
|
+
propertySearchPanelState.setSearchText('');
|
299
|
+
propertySearchPanelState.refreshPropertyState();
|
300
|
+
};
|
301
|
+
const handleClose = (): void => {
|
302
|
+
clearPropertyName();
|
303
|
+
propertySearchPanelState.setIsSearchPanelOpen(false);
|
304
|
+
};
|
305
|
+
const toggleIsMultiple = (): void => {
|
306
|
+
propertySearchPanelState.setFilterByMultiple(
|
307
|
+
!propertySearchPanelState.filterByMultiple,
|
308
|
+
);
|
309
|
+
};
|
310
|
+
const handleEnter = (): void => searchInputRef.current?.focus();
|
311
|
+
|
312
|
+
return (
|
313
|
+
<BasePopover
|
314
|
+
open={propertySearchPanelState.isSearchPanelOpen}
|
315
|
+
// we need to get rid of the backdrop and the click-away trap
|
316
|
+
// to make this popover behave like a popper
|
317
|
+
// NOTE: we will cancel the effect of click-away trap using CSS
|
318
|
+
hideBackdrop={true}
|
319
|
+
PaperProps={{
|
320
|
+
classes: {
|
321
|
+
root: 'query-builder-property-search-panel__container__root',
|
322
|
+
},
|
323
|
+
}}
|
324
|
+
className={clsx('query-builder-property-search-panel__container', {
|
325
|
+
'query-builder-property-search-panel__container--hidden':
|
326
|
+
propertySearchPanelState.isSearchPanelHidden,
|
327
|
+
})}
|
328
|
+
anchorEl={triggerElement}
|
329
|
+
onClose={handleClose}
|
330
|
+
anchorOrigin={{
|
331
|
+
vertical: 'bottom',
|
332
|
+
horizontal: 'left',
|
333
|
+
}}
|
334
|
+
transformOrigin={{
|
335
|
+
vertical: 'top',
|
336
|
+
horizontal: 'center',
|
337
|
+
}}
|
338
|
+
TransitionProps={{ onEnter: handleEnter }}
|
339
|
+
>
|
340
|
+
<div
|
341
|
+
data-testid={
|
342
|
+
QUERY_BUILDER_TEST_ID.QUERY_BUILDER_PROPERTY_SEARCH_PANEL
|
343
|
+
}
|
344
|
+
className="query-builder-property-search-panel"
|
345
|
+
>
|
346
|
+
<div className="query-builder-property-search-panel__header">
|
347
|
+
<div className="query-builder-property-search-panel__input__container">
|
348
|
+
<input
|
349
|
+
ref={searchInputRef}
|
350
|
+
className={clsx(
|
351
|
+
'query-builder-property-search-panel__input input--dark',
|
352
|
+
{
|
353
|
+
'query-builder-property-search-panel__input--searching':
|
354
|
+
propertySearchPanelState.searchText,
|
355
|
+
},
|
356
|
+
)}
|
357
|
+
onChange={changePropertyName}
|
358
|
+
value={propertySearchPanelState.searchText}
|
359
|
+
placeholder="Search for a property"
|
360
|
+
/>
|
361
|
+
{!propertySearchPanelState.searchText ? (
|
362
|
+
<div className="query-builder-property-search-panel__input__search__icon">
|
363
|
+
<SearchIcon />
|
364
|
+
</div>
|
365
|
+
) : (
|
366
|
+
<>
|
367
|
+
<div className="query-builder-property-search-panel__input__search__count">
|
368
|
+
{propertySearchPanelState.filteredPropertyNodes.length}
|
369
|
+
</div>
|
370
|
+
<button
|
371
|
+
className="query-builder-property-search-panel__input__clear-btn"
|
372
|
+
tabIndex={-1}
|
373
|
+
onClick={clearPropertyName}
|
374
|
+
title="Clear"
|
375
|
+
>
|
376
|
+
<TimesIcon />
|
377
|
+
</button>
|
378
|
+
</>
|
379
|
+
)}
|
380
|
+
</div>
|
381
|
+
<button
|
382
|
+
className="btn btn--dark query-builder-property-search-panel__close-btn"
|
383
|
+
tabIndex={-1}
|
384
|
+
title="Close"
|
385
|
+
onClick={handleClose}
|
386
|
+
>
|
387
|
+
<TimesIcon />
|
388
|
+
</button>
|
389
|
+
</div>
|
390
|
+
<div className="query-builder-property-search-panel__content">
|
391
|
+
<ResizablePanelGroup orientation="vertical">
|
392
|
+
<ResizablePanel size={150}>
|
393
|
+
<div className="query-builder-property-search-panel__config">
|
394
|
+
<div className="query-builder-property-search-panel__form__section">
|
395
|
+
<div className="query-builder-property-search-panel__form__section__header__label">
|
396
|
+
Multiple
|
397
|
+
<div
|
398
|
+
className="query-builder-property-search-panel__info__label"
|
399
|
+
title="Includes properties with multiplicity greater than one"
|
400
|
+
>
|
401
|
+
<InfoCircleIcon />
|
402
|
+
</div>
|
403
|
+
</div>
|
404
|
+
<div
|
405
|
+
className={clsx(
|
406
|
+
'query-builder-property-search-panel__form__section__toggler',
|
407
|
+
{
|
408
|
+
'query-builder-property-search-panel__form__section__toggler--disabled':
|
409
|
+
false,
|
410
|
+
},
|
411
|
+
)}
|
412
|
+
>
|
413
|
+
<button
|
414
|
+
className={clsx(
|
415
|
+
'query-builder-property-search-panel__form__section__toggler__btn',
|
416
|
+
{
|
417
|
+
'query-builder-property-search-panel__form__section__toggler__btn--toggled':
|
418
|
+
propertySearchPanelState.filterByMultiple,
|
419
|
+
},
|
420
|
+
)}
|
421
|
+
onClick={toggleIsMultiple}
|
422
|
+
tabIndex={-1}
|
423
|
+
>
|
424
|
+
{propertySearchPanelState.filterByMultiple ? (
|
425
|
+
<CheckSquareIcon />
|
426
|
+
) : (
|
427
|
+
<SquareIcon />
|
428
|
+
)}
|
429
|
+
</button>
|
430
|
+
<div className="query-builder-property-search-panel__form__section__toggler__prompt">
|
431
|
+
Included
|
432
|
+
</div>
|
433
|
+
</div>
|
434
|
+
</div>
|
435
|
+
<div className="query-builder-property-search-panel__form__section">
|
436
|
+
<div className="query-builder-property-search-panel__form__section__header__label">
|
437
|
+
Element types
|
438
|
+
</div>
|
439
|
+
<div className="query-builder-property-search-panel__filter__element">
|
440
|
+
<button
|
441
|
+
className={clsx(
|
442
|
+
'query-builder-property-search-panel__form__section__toggler__btn',
|
443
|
+
{
|
444
|
+
'query-builder-property-search-panel__form__section__toggler__btn--toggled':
|
445
|
+
propertySearchPanelState.typeFilters.includes(
|
446
|
+
QUERY_BUILDER_PROPERTY_SEARCH_TYPE.CLASS,
|
447
|
+
),
|
448
|
+
},
|
449
|
+
)}
|
450
|
+
onClick={(): void => {
|
451
|
+
propertySearchPanelState.toggleTypeFilter(
|
452
|
+
QUERY_BUILDER_PROPERTY_SEARCH_TYPE.CLASS,
|
453
|
+
);
|
454
|
+
}}
|
455
|
+
tabIndex={-1}
|
456
|
+
>
|
457
|
+
{propertySearchPanelState.typeFilters.includes(
|
458
|
+
QUERY_BUILDER_PROPERTY_SEARCH_TYPE.CLASS,
|
459
|
+
) ? (
|
460
|
+
<CheckSquareIcon />
|
461
|
+
) : (
|
462
|
+
<SquareIcon />
|
463
|
+
)}
|
464
|
+
</button>
|
465
|
+
<div className="query-builder-property-search-panel__form__section__toggler__prompt">
|
466
|
+
Class
|
467
|
+
</div>
|
468
|
+
</div>
|
469
|
+
<div className="query-builder-property-search-panel__filter__element">
|
470
|
+
<button
|
471
|
+
className={clsx(
|
472
|
+
'query-builder-property-search-panel__form__section__toggler__btn',
|
473
|
+
{
|
474
|
+
'query-builder-property-search-panel__form__section__toggler__btn--toggled':
|
475
|
+
propertySearchPanelState.typeFilters.includes(
|
476
|
+
QUERY_BUILDER_PROPERTY_SEARCH_TYPE.STRING,
|
477
|
+
),
|
478
|
+
},
|
479
|
+
)}
|
480
|
+
onClick={(): void => {
|
481
|
+
propertySearchPanelState.toggleTypeFilter(
|
482
|
+
QUERY_BUILDER_PROPERTY_SEARCH_TYPE.STRING,
|
483
|
+
);
|
484
|
+
}}
|
485
|
+
tabIndex={-1}
|
486
|
+
>
|
487
|
+
{propertySearchPanelState.typeFilters.includes(
|
488
|
+
QUERY_BUILDER_PROPERTY_SEARCH_TYPE.STRING,
|
489
|
+
) ? (
|
490
|
+
<CheckSquareIcon />
|
491
|
+
) : (
|
492
|
+
<SquareIcon />
|
493
|
+
)}
|
494
|
+
</button>
|
495
|
+
<div className="query-builder-property-search-panel__form__section__toggler__prompt">
|
496
|
+
String
|
497
|
+
</div>
|
498
|
+
</div>
|
499
|
+
<div className="query-builder-property-search-panel__filter__element">
|
500
|
+
<button
|
501
|
+
className={clsx(
|
502
|
+
'query-builder-property-search-panel__form__section__toggler__btn',
|
503
|
+
{
|
504
|
+
'query-builder-property-search-panel__form__section__toggler__btn--toggled':
|
505
|
+
propertySearchPanelState.typeFilters.includes(
|
506
|
+
QUERY_BUILDER_PROPERTY_SEARCH_TYPE.BOOLEAN,
|
507
|
+
),
|
508
|
+
},
|
509
|
+
)}
|
510
|
+
onClick={(): void => {
|
511
|
+
propertySearchPanelState.toggleTypeFilter(
|
512
|
+
QUERY_BUILDER_PROPERTY_SEARCH_TYPE.BOOLEAN,
|
513
|
+
);
|
514
|
+
}}
|
515
|
+
tabIndex={-1}
|
516
|
+
>
|
517
|
+
{propertySearchPanelState.typeFilters.includes(
|
518
|
+
QUERY_BUILDER_PROPERTY_SEARCH_TYPE.BOOLEAN,
|
519
|
+
) ? (
|
520
|
+
<CheckSquareIcon />
|
521
|
+
) : (
|
522
|
+
<SquareIcon />
|
523
|
+
)}
|
524
|
+
</button>
|
525
|
+
<div className="query-builder-property-search-panel__form__section__toggler__prompt">
|
526
|
+
Boolean
|
527
|
+
</div>
|
528
|
+
</div>
|
529
|
+
<div className="query-builder-property-search-panel__filter__element">
|
530
|
+
<button
|
531
|
+
className={clsx(
|
532
|
+
'query-builder-property-search-panel__form__section__toggler__btn',
|
533
|
+
{
|
534
|
+
'query-builder-property-search-panel__form__section__toggler__btn--toggled':
|
535
|
+
propertySearchPanelState.typeFilters.includes(
|
536
|
+
QUERY_BUILDER_PROPERTY_SEARCH_TYPE.NUMBER,
|
537
|
+
),
|
538
|
+
},
|
539
|
+
)}
|
540
|
+
onClick={(): void => {
|
541
|
+
propertySearchPanelState.toggleTypeFilter(
|
542
|
+
QUERY_BUILDER_PROPERTY_SEARCH_TYPE.NUMBER,
|
543
|
+
);
|
544
|
+
}}
|
545
|
+
tabIndex={-1}
|
546
|
+
>
|
547
|
+
{propertySearchPanelState.typeFilters.includes(
|
548
|
+
QUERY_BUILDER_PROPERTY_SEARCH_TYPE.NUMBER,
|
549
|
+
) ? (
|
550
|
+
<CheckSquareIcon />
|
551
|
+
) : (
|
552
|
+
<SquareIcon />
|
553
|
+
)}
|
554
|
+
</button>
|
555
|
+
<div className="query-builder-property-search-panel__form__section__toggler__prompt">
|
556
|
+
Number
|
557
|
+
</div>
|
558
|
+
</div>
|
559
|
+
<div className="query-builder-property-search-panel__filter__element">
|
560
|
+
<button
|
561
|
+
className={clsx(
|
562
|
+
'query-builder-property-search-panel__form__section__toggler__btn',
|
563
|
+
{
|
564
|
+
'query-builder-property-search-panel__form__section__toggler__btn--toggled':
|
565
|
+
propertySearchPanelState.typeFilters.includes(
|
566
|
+
QUERY_BUILDER_PROPERTY_SEARCH_TYPE.DATE,
|
567
|
+
),
|
568
|
+
},
|
569
|
+
)}
|
570
|
+
onClick={(): void => {
|
571
|
+
propertySearchPanelState.toggleTypeFilter(
|
572
|
+
QUERY_BUILDER_PROPERTY_SEARCH_TYPE.DATE,
|
573
|
+
);
|
574
|
+
}}
|
575
|
+
tabIndex={-1}
|
576
|
+
>
|
577
|
+
{propertySearchPanelState.typeFilters.includes(
|
578
|
+
QUERY_BUILDER_PROPERTY_SEARCH_TYPE.DATE,
|
579
|
+
) ? (
|
580
|
+
<CheckSquareIcon />
|
581
|
+
) : (
|
582
|
+
<SquareIcon />
|
583
|
+
)}
|
584
|
+
</button>
|
585
|
+
<div className="query-builder-property-search-panel__form__section__toggler__prompt">
|
586
|
+
Date
|
587
|
+
</div>
|
588
|
+
</div>
|
589
|
+
</div>
|
590
|
+
</div>
|
591
|
+
</ResizablePanel>
|
592
|
+
<ResizablePanelSplitter>
|
593
|
+
<ResizablePanelSplitterLine color="var(--color-dark-grey-200)" />
|
594
|
+
</ResizablePanelSplitter>
|
595
|
+
<ResizablePanel>
|
596
|
+
<div className="query-builder-property-search-panel__results">
|
597
|
+
{propertySearchPanelState.filteredPropertyNodes.map(
|
598
|
+
(node) => (
|
599
|
+
<QueryBuilderTreeNodeViewer
|
600
|
+
key={node.id}
|
601
|
+
node={node}
|
602
|
+
queryBuilderState={queryBuilderState}
|
603
|
+
level={1}
|
604
|
+
stepPaddingInRem={0}
|
605
|
+
explorerState={queryBuilderState.explorerState}
|
606
|
+
/>
|
607
|
+
),
|
608
|
+
)}
|
609
|
+
</div>
|
610
|
+
</ResizablePanel>
|
611
|
+
</ResizablePanelGroup>
|
612
|
+
</div>
|
613
|
+
</div>
|
614
|
+
</BasePopover>
|
615
|
+
);
|
616
|
+
},
|
617
|
+
);
|