@finos/legend-application-query 5.2.8 → 7.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/application/LegendQuery.d.ts.map +1 -1
- package/lib/application/LegendQuery.js +4 -7
- package/lib/application/LegendQuery.js.map +1 -1
- package/lib/components/LegendQueryApplication.d.ts +0 -1
- package/lib/components/LegendQueryApplication.d.ts.map +1 -1
- package/lib/components/LegendQueryApplication.js +2 -2
- package/lib/components/LegendQueryApplication.js.map +1 -1
- package/lib/components/QueryEditor.d.ts +2 -3
- package/lib/components/QueryEditor.d.ts.map +1 -1
- package/lib/components/QueryEditor.js +83 -32
- package/lib/components/QueryEditor.js.map +1 -1
- package/lib/components/QueryEditorComponentTestUtils.d.ts +5 -1
- package/lib/components/QueryEditorComponentTestUtils.d.ts.map +1 -1
- package/lib/components/QueryEditorComponentTestUtils.js +21 -20
- package/lib/components/QueryEditorComponentTestUtils.js.map +1 -1
- package/lib/components/QueryEditorStoreProvider.d.ts +2 -3
- package/lib/components/QueryEditorStoreProvider.d.ts.map +1 -1
- package/lib/components/QueryEditorStoreProvider.js +5 -5
- package/lib/components/QueryEditorStoreProvider.js.map +1 -1
- package/lib/components/QuerySetup.js +17 -17
- package/lib/components/QuerySetup.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +2 -4
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +2 -4
- package/lib/index.js.map +1 -1
- package/lib/package.json +8 -14
- package/lib/stores/LegendQueryApplicationPlugin.d.ts +7 -0
- package/lib/stores/LegendQueryApplicationPlugin.d.ts.map +1 -1
- package/lib/stores/LegendQueryApplicationPlugin.js.map +1 -1
- package/lib/stores/LegendQueryRouter.d.ts +8 -12
- package/lib/stores/LegendQueryRouter.d.ts.map +1 -1
- package/lib/stores/LegendQueryRouter.js +6 -7
- package/lib/stores/LegendQueryRouter.js.map +1 -1
- package/lib/stores/QueryEditorStore.d.ts +22 -11
- package/lib/stores/QueryEditorStore.d.ts.map +1 -1
- package/lib/stores/QueryEditorStore.js +102 -67
- package/lib/stores/QueryEditorStore.js.map +1 -1
- package/lib/stores/QuerySetupStore.d.ts +4 -4
- package/lib/stores/QuerySetupStore.d.ts.map +1 -1
- package/lib/stores/QuerySetupStore.js +4 -4
- package/lib/stores/QuerySetupStore.js.map +1 -1
- package/package.json +15 -21
- package/src/application/LegendQuery.tsx +7 -8
- package/src/components/LegendQueryApplication.tsx +7 -7
- package/src/components/QueryEditor.tsx +371 -134
- package/src/components/QueryEditorComponentTestUtils.tsx +40 -29
- package/src/components/QueryEditorStoreProvider.tsx +7 -9
- package/src/components/QuerySetup.tsx +25 -25
- package/src/index.ts +2 -10
- package/src/stores/LegendQueryApplicationPlugin.ts +12 -0
- package/src/stores/LegendQueryRouter.ts +11 -16
- package/src/stores/QueryEditorStore.ts +167 -113
- package/src/stores/QuerySetupStore.ts +8 -6
- package/tsconfig.json +2 -111
- package/tsconfig.package.json +1 -1
- package/lib/QueryBuilder_Const.d.ts +0 -77
- package/lib/QueryBuilder_Const.d.ts.map +0 -1
- package/lib/QueryBuilder_Const.js +0 -85
- package/lib/QueryBuilder_Const.js.map +0 -1
- package/lib/components/QueryBuilder.d.ts +0 -23
- package/lib/components/QueryBuilder.d.ts.map +0 -1
- package/lib/components/QueryBuilder.js +0 -111
- package/lib/components/QueryBuilder.js.map +0 -1
- package/lib/components/QueryBuilderParameterPanel.d.ts +0 -30
- package/lib/components/QueryBuilderParameterPanel.d.ts.map +0 -1
- package/lib/components/QueryBuilderParameterPanel.js +0 -128
- package/lib/components/QueryBuilderParameterPanel.js.map +0 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts +0 -30
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +0 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.js +0 -116
- package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +0 -1
- package/lib/components/QueryBuilderResultPanel.d.ts +0 -23
- package/lib/components/QueryBuilderResultPanel.d.ts.map +0 -1
- package/lib/components/QueryBuilderResultPanel.js +0 -242
- package/lib/components/QueryBuilderResultPanel.js.map +0 -1
- package/lib/components/QueryBuilderSetupPanel.d.ts +0 -23
- package/lib/components/QueryBuilderSetupPanel.d.ts.map +0 -1
- package/lib/components/QueryBuilderSetupPanel.js +0 -149
- package/lib/components/QueryBuilderSetupPanel.js.map +0 -1
- package/lib/components/QueryBuilderTextEditor.d.ts +0 -23
- package/lib/components/QueryBuilderTextEditor.d.ts.map +0 -1
- package/lib/components/QueryBuilderTextEditor.js +0 -48
- package/lib/components/QueryBuilderTextEditor.js.map +0 -1
- package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts +0 -23
- package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts.map +0 -1
- package/lib/components/QueryBuilderUnsupportedQueryEditor.js +0 -37
- package/lib/components/QueryBuilderUnsupportedQueryEditor.js.map +0 -1
- package/lib/components/QueryBuilder_TestID.d.ts +0 -26
- package/lib/components/QueryBuilder_TestID.d.ts.map +0 -1
- package/lib/components/QueryBuilder_TestID.js +0 -27
- package/lib/components/QueryBuilder_TestID.js.map +0 -1
- package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts +0 -36
- package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts.map +0 -1
- package/lib/components/explorer/QueryBuilderExplorerPanel.js +0 -335
- package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +0 -1
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts +0 -23
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts.map +0 -1
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js +0 -147
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js.map +0 -1
- package/lib/components/explorer/QueryBuilderMilestoneEditor.d.ts +0 -24
- package/lib/components/explorer/QueryBuilderMilestoneEditor.d.ts.map +0 -1
- package/lib/components/explorer/QueryBuilderMilestoneEditor.js +0 -120
- package/lib/components/explorer/QueryBuilderMilestoneEditor.js.map +0 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts +0 -24
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts.map +0 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js +0 -200
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +0 -1
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts +0 -23
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts.map +0 -1
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js +0 -52
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js.map +0 -1
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts +0 -32
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +0 -1
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js +0 -94
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +0 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts +0 -31
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +0 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +0 -378
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +0 -1
- package/lib/components/fetch-structure/QueryBuilderProjectionPanel.d.ts +0 -23
- package/lib/components/fetch-structure/QueryBuilderProjectionPanel.d.ts.map +0 -1
- package/lib/components/fetch-structure/QueryBuilderProjectionPanel.js +0 -216
- package/lib/components/fetch-structure/QueryBuilderProjectionPanel.js.map +0 -1
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts +0 -23
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +0 -1
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +0 -88
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +0 -1
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts +0 -23
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +0 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js +0 -316
- package/lib/components/filter/QueryBuilderFilterPanel.js.map +0 -1
- package/lib/components/shared/ElementIconUtils.d.ts +0 -18
- package/lib/components/shared/ElementIconUtils.d.ts.map +0 -1
- package/lib/components/shared/ElementIconUtils.js +0 -37
- package/lib/components/shared/ElementIconUtils.js.map +0 -1
- package/lib/components/shared/QueryBuilderLambdaEditor.d.ts +0 -43
- package/lib/components/shared/QueryBuilderLambdaEditor.d.ts.map +0 -1
- package/lib/components/shared/QueryBuilderLambdaEditor.js +0 -47
- package/lib/components/shared/QueryBuilderLambdaEditor.js.map +0 -1
- package/lib/components/shared/QueryBuilderPanelIssueCountBadge.d.ts +0 -20
- package/lib/components/shared/QueryBuilderPanelIssueCountBadge.d.ts.map +0 -1
- package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js +0 -28
- package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js.map +0 -1
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.d.ts +0 -26
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.d.ts.map +0 -1
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js +0 -32
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js.map +0 -1
- package/lib/graphManager/QueryBuilder_GraphManagerPlugin.d.ts +0 -21
- package/lib/graphManager/QueryBuilder_GraphManagerPlugin.d.ts.map +0 -1
- package/lib/graphManager/QueryBuilder_GraphManagerPlugin.js +0 -27
- package/lib/graphManager/QueryBuilder_GraphManagerPlugin.js.map +0 -1
- package/lib/graphManager/QueryBuilder_GraphManagerPreset.d.ts +0 -24
- package/lib/graphManager/QueryBuilder_GraphManagerPreset.d.ts.map +0 -1
- package/lib/graphManager/QueryBuilder_GraphManagerPreset.js +0 -32
- package/lib/graphManager/QueryBuilder_GraphManagerPreset.js.map +0 -1
- package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.d.ts +0 -21
- package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.d.ts.map +0 -1
- package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.js +0 -20
- package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.js.map +0 -1
- package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.d.ts +0 -21
- package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.d.ts.map +0 -1
- package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.js +0 -20
- package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.js.map +0 -1
- package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.d.ts +0 -25
- package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.js +0 -21
- package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.js.map +0 -1
- package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.d.ts +0 -18
- package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.js +0 -20
- package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.js.map +0 -1
- package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts +0 -22
- package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js +0 -70
- package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js.map +0 -1
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.d.ts +0 -22
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.js +0 -207
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.js.map +0 -1
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.d.ts +0 -18
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.js +0 -18
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.js.map +0 -1
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts +0 -29
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js +0 -182
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js.map +0 -1
- package/lib/stores/QueryBuilderGroupOperationHelper.d.ts +0 -22
- package/lib/stores/QueryBuilderGroupOperationHelper.d.ts.map +0 -1
- package/lib/stores/QueryBuilderGroupOperationHelper.js +0 -43
- package/lib/stores/QueryBuilderGroupOperationHelper.js.map +0 -1
- package/lib/stores/QueryBuilderPreviewDataHelper.d.ts +0 -26
- package/lib/stores/QueryBuilderPreviewDataHelper.d.ts.map +0 -1
- package/lib/stores/QueryBuilderPreviewDataHelper.js +0 -143
- package/lib/stores/QueryBuilderPreviewDataHelper.js.map +0 -1
- package/lib/stores/QueryBuilderPropertyEditorState.d.ts +0 -62
- package/lib/stores/QueryBuilderPropertyEditorState.d.ts.map +0 -1
- package/lib/stores/QueryBuilderPropertyEditorState.js +0 -395
- package/lib/stores/QueryBuilderPropertyEditorState.js.map +0 -1
- package/lib/stores/QueryBuilderResultState.d.ts +0 -41
- package/lib/stores/QueryBuilderResultState.d.ts.map +0 -1
- package/lib/stores/QueryBuilderResultState.js +0 -176
- package/lib/stores/QueryBuilderResultState.js.map +0 -1
- package/lib/stores/QueryBuilderSetupState.d.ts +0 -46
- package/lib/stores/QueryBuilderSetupState.d.ts.map +0 -1
- package/lib/stores/QueryBuilderSetupState.js +0 -163
- package/lib/stores/QueryBuilderSetupState.js.map +0 -1
- package/lib/stores/QueryBuilderState.d.ts +0 -100
- package/lib/stores/QueryBuilderState.d.ts.map +0 -1
- package/lib/stores/QueryBuilderState.js +0 -308
- package/lib/stores/QueryBuilderState.js.map +0 -1
- package/lib/stores/QueryBuilderStateBuilder.d.ts +0 -124
- package/lib/stores/QueryBuilderStateBuilder.d.ts.map +0 -1
- package/lib/stores/QueryBuilderStateBuilder.js +0 -310
- package/lib/stores/QueryBuilderStateBuilder.js.map +0 -1
- package/lib/stores/QueryBuilderStateTestUtils.d.ts +0 -24
- package/lib/stores/QueryBuilderStateTestUtils.d.ts.map +0 -1
- package/lib/stores/QueryBuilderStateTestUtils.js +0 -50
- package/lib/stores/QueryBuilderStateTestUtils.js.map +0 -1
- package/lib/stores/QueryBuilderTypeaheadHelper.d.ts +0 -24
- package/lib/stores/QueryBuilderTypeaheadHelper.d.ts.map +0 -1
- package/lib/stores/QueryBuilderTypeaheadHelper.js +0 -86
- package/lib/stores/QueryBuilderTypeaheadHelper.js.map +0 -1
- package/lib/stores/QueryBuilderUnsupportedState.d.ts +0 -26
- package/lib/stores/QueryBuilderUnsupportedState.d.ts.map +0 -1
- package/lib/stores/QueryBuilderUnsupportedState.js +0 -36
- package/lib/stores/QueryBuilderUnsupportedState.js.map +0 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilder.d.ts +0 -20
- package/lib/stores/QueryBuilderValueSpecificationBuilder.d.ts.map +0 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilder.js +0 -87
- package/lib/stores/QueryBuilderValueSpecificationBuilder.js.map +0 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts +0 -27
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.d.ts.map +0 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js +0 -156
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js.map +0 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts +0 -61
- package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts.map +0 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.js +0 -235
- package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +0 -1
- package/lib/stores/QueryParametersState.d.ts +0 -28
- package/lib/stores/QueryParametersState.d.ts.map +0 -1
- package/lib/stores/QueryParametersState.js +0 -39
- package/lib/stores/QueryParametersState.js.map +0 -1
- package/lib/stores/QueryTextEditorState.d.ts +0 -49
- package/lib/stores/QueryTextEditorState.d.ts.map +0 -1
- package/lib/stores/QueryTextEditorState.js +0 -145
- package/lib/stores/QueryTextEditorState.js.map +0 -1
- package/lib/stores/explorer/QueryBuilderExplorerState.d.ts +0 -99
- package/lib/stores/explorer/QueryBuilderExplorerState.d.ts.map +0 -1
- package/lib/stores/explorer/QueryBuilderExplorerState.js +0 -442
- package/lib/stores/explorer/QueryBuilderExplorerState.js.map +0 -1
- package/lib/stores/explorer/QueryBuilderPropertySearchPanelState.d.ts +0 -46
- package/lib/stores/explorer/QueryBuilderPropertySearchPanelState.d.ts.map +0 -1
- package/lib/stores/explorer/QueryBuilderPropertySearchPanelState.js +0 -242
- package/lib/stores/explorer/QueryBuilderPropertySearchPanelState.js.map +0 -1
- package/lib/stores/explorer/QueryFunctionsExplorerState.d.ts +0 -59
- package/lib/stores/explorer/QueryFunctionsExplorerState.d.ts.map +0 -1
- package/lib/stores/explorer/QueryFunctionsExplorerState.js +0 -229
- package/lib/stores/explorer/QueryFunctionsExplorerState.js.map +0 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts +0 -40
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts.map +0 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js +0 -34
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js.map +0 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.d.ts +0 -27
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.d.ts.map +0 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js +0 -74
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js.map +0 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts +0 -49
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts.map +0 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +0 -157
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +0 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.d.ts +0 -20
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.d.ts.map +0 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js +0 -62
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js.map +0 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts +0 -42
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts.map +0 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js +0 -173
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js.map +0 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.d.ts +0 -26
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.d.ts.map +0 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.js +0 -72
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.js.map +0 -1
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.d.ts +0 -73
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js +0 -187
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js.map +0 -1
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.d.ts +0 -68
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.js +0 -304
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.js.map +0 -1
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.d.ts +0 -25
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.js +0 -186
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.js.map +0 -1
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts +0 -26
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.js +0 -189
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +0 -1
- package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.d.ts +0 -43
- package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.js +0 -77
- package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.d.ts +0 -32
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.js +0 -36
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.d.ts +0 -18
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.js +0 -38
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.d.ts +0 -42
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.js +0 -103
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.d.ts +0 -20
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.js +0 -96
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.d.ts +0 -22
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.js +0 -40
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts +0 -27
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.js +0 -50
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts +0 -27
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.js +0 -55
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.d.ts +0 -26
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js +0 -50
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts +0 -27
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js +0 -78
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts +0 -27
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js +0 -67
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts +0 -26
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.js +0 -86
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts +0 -26
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.js +0 -86
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts +0 -27
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js +0 -50
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts +0 -27
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js +0 -50
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts +0 -26
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.js +0 -45
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.d.ts +0 -29
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.js +0 -30
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.d.ts +0 -18
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.js +0 -44
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.d.ts +0 -135
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js +0 -586
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.d.ts +0 -22
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.js +0 -122
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.d.ts +0 -19
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js +0 -79
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts +0 -23
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js +0 -74
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts +0 -32
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js +0 -75
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts +0 -32
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js +0 -75
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts +0 -32
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js +0 -118
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts +0 -27
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js +0 -81
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts +0 -24
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js +0 -43
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts +0 -32
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.js +0 -104
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts +0 -33
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js +0 -67
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts +0 -27
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js +0 -81
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts +0 -24
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js +0 -43
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts +0 -32
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts.map +0 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js +0 -75
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +0 -1
- package/lib/stores/filter/QueryBuilderFilterOperator.d.ts +0 -27
- package/lib/stores/filter/QueryBuilderFilterOperator.d.ts.map +0 -1
- package/lib/stores/filter/QueryBuilderFilterOperator.js +0 -20
- package/lib/stores/filter/QueryBuilderFilterOperator.js.map +0 -1
- package/lib/stores/filter/QueryBuilderFilterOperatorLoader.d.ts +0 -18
- package/lib/stores/filter/QueryBuilderFilterOperatorLoader.d.ts.map +0 -1
- package/lib/stores/filter/QueryBuilderFilterOperatorLoader.js +0 -44
- package/lib/stores/filter/QueryBuilderFilterOperatorLoader.js.map +0 -1
- package/lib/stores/filter/QueryBuilderFilterState.d.ts +0 -123
- package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +0 -1
- package/lib/stores/filter/QueryBuilderFilterState.js +0 -531
- package/lib/stores/filter/QueryBuilderFilterState.js.map +0 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.d.ts +0 -19
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.d.ts.map +0 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.js +0 -74
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.js.map +0 -1
- package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.d.ts +0 -19
- package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.d.ts.map +0 -1
- package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js +0 -78
- package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperatorHelper.d.ts +0 -21
- package/lib/stores/filter/operators/QueryBuilderFilterOperatorHelper.d.ts.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperatorHelper.js +0 -257
- package/lib/stores/filter/operators/QueryBuilderFilterOperatorHelper.js.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts +0 -32
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js +0 -71
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts +0 -32
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js +0 -71
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts +0 -32
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js +0 -115
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts +0 -27
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js +0 -83
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts +0 -27
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js +0 -83
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts +0 -32
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js +0 -103
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts +0 -32
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js +0 -65
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts +0 -27
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js +0 -83
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts +0 -27
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js +0 -83
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts +0 -32
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts.map +0 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js +0 -71
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +0 -1
- package/src/QueryBuilder_Const.ts +0 -88
- package/src/components/QueryBuilder.tsx +0 -412
- package/src/components/QueryBuilderParameterPanel.tsx +0 -403
- package/src/components/QueryBuilderPropertyExpressionEditor.tsx +0 -374
- package/src/components/QueryBuilderResultPanel.tsx +0 -640
- package/src/components/QueryBuilderSetupPanel.tsx +0 -342
- package/src/components/QueryBuilderTextEditor.tsx +0 -127
- package/src/components/QueryBuilderUnsupportedQueryEditor.tsx +0 -112
- package/src/components/QueryBuilder_TestID.ts +0 -26
- package/src/components/explorer/QueryBuilderExplorerPanel.tsx +0 -927
- package/src/components/explorer/QueryBuilderFunctionsExplorerPanel.tsx +0 -554
- package/src/components/explorer/QueryBuilderMilestoneEditor.tsx +0 -291
- package/src/components/explorer/QueryBuilderPropertySearchPanel.tsx +0 -617
- package/src/components/fetch-structure/QueryBuilderFetchStructurePanel.tsx +0 -112
- package/src/components/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx +0 -276
- package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +0 -1103
- package/src/components/fetch-structure/QueryBuilderProjectionPanel.tsx +0 -649
- package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +0 -254
- package/src/components/filter/QueryBuilderFilterPanel.tsx +0 -890
- package/src/components/shared/ElementIconUtils.tsx +0 -47
- package/src/components/shared/QueryBuilderLambdaEditor.tsx +0 -120
- package/src/components/shared/QueryBuilderPanelIssueCountBadge.tsx +0 -40
- package/src/components/shared/QueryBuilderPropertyInfoTooltip.tsx +0 -87
- package/src/graphManager/QueryBuilder_GraphManagerPlugin.ts +0 -32
- package/src/graphManager/QueryBuilder_GraphManagerPreset.ts +0 -33
- package/src/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.ts +0 -22
- package/src/graphManager/action/analytics/ServiceExecutionAnalysis.ts +0 -22
- package/src/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.ts +0 -47
- package/src/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.ts +0 -27
- package/src/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts +0 -167
- package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_FunctionExpressionBuilder.ts +0 -573
- package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_PropertyExpressionTypeInferenceBuilder.ts +0 -28
- package/src/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.ts +0 -296
- package/src/stores/QueryBuilderGroupOperationHelper.ts +0 -54
- package/src/stores/QueryBuilderPreviewDataHelper.ts +0 -210
- package/src/stores/QueryBuilderPropertyEditorState.ts +0 -668
- package/src/stores/QueryBuilderResultState.ts +0 -281
- package/src/stores/QueryBuilderSetupState.ts +0 -236
- package/src/stores/QueryBuilderState.ts +0 -465
- package/src/stores/QueryBuilderStateBuilder.ts +0 -584
- package/src/stores/QueryBuilderStateTestUtils.ts +0 -96
- package/src/stores/QueryBuilderTypeaheadHelper.ts +0 -155
- package/src/stores/QueryBuilderUnsupportedState.ts +0 -42
- package/src/stores/QueryBuilderValueSpecificationBuilder.ts +0 -179
- package/src/stores/QueryBuilderValueSpecificationBuilderHelper.ts +0 -254
- package/src/stores/QueryBuilderValueSpecificationHelper.ts +0 -359
- package/src/stores/QueryParametersState.ts +0 -52
- package/src/stores/QueryTextEditorState.ts +0 -203
- package/src/stores/explorer/QueryBuilderExplorerState.ts +0 -810
- package/src/stores/explorer/QueryBuilderPropertySearchPanelState.ts +0 -333
- package/src/stores/explorer/QueryFunctionsExplorerState.ts +0 -376
- package/src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts +0 -65
- package/src/stores/fetch-structure/QueryBuilderFetchStructureState.ts +0 -108
- package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +0 -240
- package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.ts +0 -131
- package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.ts +0 -282
- package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchValueSpecificationBuilder.ts +0 -154
- package/src/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.ts +0 -329
- package/src/stores/fetch-structure/projection/QueryBuilderProjectionState.ts +0 -569
- package/src/stores/fetch-structure/projection/QueryBuilderProjectionStateBuilder.ts +0 -426
- package/src/stores/fetch-structure/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +0 -416
- package/src/stores/fetch-structure/projection/QueryResultSetModifierState.ts +0 -95
- package/src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.ts +0 -79
- package/src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperatorLoader.ts +0 -41
- package/src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.ts +0 -145
- package/src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.ts +0 -228
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperatorHelper.ts +0 -109
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.ts +0 -98
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.ts +0 -106
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.ts +0 -96
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.ts +0 -173
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.ts +0 -155
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.ts +0 -174
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.ts +0 -174
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.ts +0 -98
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.ts +0 -98
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.ts +0 -88
- package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.ts +0 -66
- package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperatorLoader.ts +0 -65
- package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.ts +0 -808
- package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.ts +0 -297
- package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.ts +0 -121
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperatorHelper.ts +0 -129
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts +0 -140
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts +0 -135
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts +0 -218
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.ts +0 -143
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.ts +0 -70
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.ts +0 -183
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.ts +0 -113
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.ts +0 -143
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.ts +0 -70
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.ts +0 -135
- package/src/stores/filter/QueryBuilderFilterOperator.ts +0 -52
- package/src/stores/filter/QueryBuilderFilterOperatorLoader.ts +0 -65
- package/src/stores/filter/QueryBuilderFilterState.ts +0 -738
- package/src/stores/filter/QueryBuilderFilterStateBuilder.ts +0 -155
- package/src/stores/filter/QueryBuilderFilterValueSpecificationBuilder.ts +0 -120
- package/src/stores/filter/operators/QueryBuilderFilterOperatorHelper.ts +0 -524
- package/src/stores/filter/operators/QueryBuilderFilterOperator_Contain.ts +0 -134
- package/src/stores/filter/operators/QueryBuilderFilterOperator_EndWith.ts +0 -134
- package/src/stores/filter/operators/QueryBuilderFilterOperator_Equal.ts +0 -211
- package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.ts +0 -145
- package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.ts +0 -145
- package/src/stores/filter/operators/QueryBuilderFilterOperator_In.ts +0 -181
- package/src/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.ts +0 -125
- package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThan.ts +0 -145
- package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.ts +0 -145
- package/src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.ts +0 -134
@@ -1,308 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
-
*
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
* you may not use this file except in compliance with the License.
|
6
|
-
* You may obtain a copy of the License at
|
7
|
-
*
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
*
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
* See the License for the specific language governing permissions and
|
14
|
-
* limitations under the License.
|
15
|
-
*/
|
16
|
-
import { action, flow, observable, makeObservable } from 'mobx';
|
17
|
-
import { LogEvent, assertErrorThrown, guaranteeNonNullable, guaranteeType, filterByType, hashObject, } from '@finos/legend-shared';
|
18
|
-
import { QueryBuilderFilterState } from './filter/QueryBuilderFilterState.js';
|
19
|
-
import { QueryBuilderFetchStructureState } from './fetch-structure/QueryBuilderFetchStructureState.js';
|
20
|
-
import { QueryTextEditorMode, QueryTextEditorState, } from './QueryTextEditorState.js';
|
21
|
-
import { QueryBuilderSetupState } from './QueryBuilderSetupState.js';
|
22
|
-
import { QueryBuilderExplorerState } from './explorer/QueryBuilderExplorerState.js';
|
23
|
-
import { QueryBuilderResultState } from './QueryBuilderResultState.js';
|
24
|
-
import { processQueryLambdaFunction, processParameters, } from './QueryBuilderStateBuilder.js';
|
25
|
-
import { QueryBuilderUnsupportedState } from './QueryBuilderUnsupportedState.js';
|
26
|
-
import { GenericTypeExplicitReference, GenericType, PRIMITIVE_TYPE, GRAPH_MANAGER_EVENT, CompilationError, extractSourceInformationCoordinates, LambdaFunctionInstanceValue, RawLambda, TYPICAL_MULTIPLICITY_TYPE, VariableExpression, observe_ValueSpecification, ObserverContext, isStubbed_RawLambda, buildLambdaVariableExpressions, buildRawLambdaFromLambdaFunction, } from '@finos/legend-graph';
|
27
|
-
import { buildLambdaFunction } from './QueryBuilderValueSpecificationBuilder.js';
|
28
|
-
import { LambdaParameterState, } from '@finos/legend-application';
|
29
|
-
import { QueryFunctionsExplorerState } from './explorer/QueryFunctionsExplorerState.js';
|
30
|
-
import { QueryParametersState } from './QueryParametersState.js';
|
31
|
-
import { getQueryBuilderCoreFilterOperators } from './filter/QueryBuilderFilterOperatorLoader.js';
|
32
|
-
export class QueryBuilderMode {
|
33
|
-
/**
|
34
|
-
* This flag is for turning on/off dnd from projection panel to filter panel,
|
35
|
-
* and will be leveraged when the concepts of workflows are introduced into query builder.
|
36
|
-
*/
|
37
|
-
get isDnDFetchStructureToFilterSupported() {
|
38
|
-
return true;
|
39
|
-
}
|
40
|
-
}
|
41
|
-
export class StandardQueryBuilderMode extends QueryBuilderMode {
|
42
|
-
get isParametersDisabled() {
|
43
|
-
return false;
|
44
|
-
}
|
45
|
-
get isResultPanelHidden() {
|
46
|
-
return false;
|
47
|
-
}
|
48
|
-
}
|
49
|
-
class QueryBuilderChangeDetectionState {
|
50
|
-
querybuildState;
|
51
|
-
queryHashCode = hashObject(new RawLambda(undefined, undefined));
|
52
|
-
isEnabled = false;
|
53
|
-
constructor(queryBuilderState) {
|
54
|
-
this.querybuildState = queryBuilderState;
|
55
|
-
}
|
56
|
-
setQueryHashCode(val) {
|
57
|
-
this.queryHashCode = val;
|
58
|
-
}
|
59
|
-
setIsEnabled(val) {
|
60
|
-
this.isEnabled = val;
|
61
|
-
}
|
62
|
-
}
|
63
|
-
export class QueryBuilderState {
|
64
|
-
applicationStore;
|
65
|
-
graphManagerState;
|
66
|
-
mode;
|
67
|
-
querySetupState;
|
68
|
-
explorerState;
|
69
|
-
queryParametersState;
|
70
|
-
queryFunctionsExplorerState;
|
71
|
-
fetchStructureState;
|
72
|
-
filterState;
|
73
|
-
resultState;
|
74
|
-
queryTextEditorState;
|
75
|
-
queryUnsupportedState;
|
76
|
-
observableContext;
|
77
|
-
changeDetectionState;
|
78
|
-
isCompiling = false;
|
79
|
-
backdrop = false;
|
80
|
-
showFunctionPanel = false;
|
81
|
-
showParameterPanel = false;
|
82
|
-
filterOperators = getQueryBuilderCoreFilterOperators();
|
83
|
-
constructor(applicationStore, graphManagerState, queryBuilderMode) {
|
84
|
-
makeObservable(this, {
|
85
|
-
querySetupState: observable,
|
86
|
-
explorerState: observable,
|
87
|
-
queryParametersState: observable,
|
88
|
-
queryFunctionsExplorerState: observable,
|
89
|
-
fetchStructureState: observable,
|
90
|
-
filterState: observable,
|
91
|
-
resultState: observable,
|
92
|
-
queryTextEditorState: observable,
|
93
|
-
queryUnsupportedState: observable,
|
94
|
-
isCompiling: observable,
|
95
|
-
backdrop: observable,
|
96
|
-
mode: observable,
|
97
|
-
showFunctionPanel: observable,
|
98
|
-
showParameterPanel: observable,
|
99
|
-
changeDetectionState: observable,
|
100
|
-
setMode: action,
|
101
|
-
resetQueryBuilder: action,
|
102
|
-
resetQueryContent: action,
|
103
|
-
buildStateFromRawLambda: action,
|
104
|
-
saveQuery: action,
|
105
|
-
setBackdrop: action,
|
106
|
-
setShowFunctionPanel: action,
|
107
|
-
setShowParameterPanel: action,
|
108
|
-
changeClass: action,
|
109
|
-
compileQuery: flow,
|
110
|
-
});
|
111
|
-
this.applicationStore = applicationStore;
|
112
|
-
this.graphManagerState = graphManagerState;
|
113
|
-
this.querySetupState = new QueryBuilderSetupState(this);
|
114
|
-
this.explorerState = new QueryBuilderExplorerState(this);
|
115
|
-
this.queryParametersState = new QueryParametersState(this);
|
116
|
-
this.queryFunctionsExplorerState = new QueryFunctionsExplorerState(this);
|
117
|
-
this.fetchStructureState = new QueryBuilderFetchStructureState(this);
|
118
|
-
this.filterState = new QueryBuilderFilterState(this, this.filterOperators);
|
119
|
-
this.resultState = new QueryBuilderResultState(this);
|
120
|
-
this.queryTextEditorState = new QueryTextEditorState(this);
|
121
|
-
this.queryUnsupportedState = new QueryBuilderUnsupportedState(this);
|
122
|
-
this.mode = queryBuilderMode;
|
123
|
-
this.observableContext = new ObserverContext(this.graphManagerState.pluginManager.getPureGraphManagerPlugins());
|
124
|
-
this.changeDetectionState = new QueryBuilderChangeDetectionState(this);
|
125
|
-
}
|
126
|
-
setMode(val) {
|
127
|
-
this.mode = val;
|
128
|
-
}
|
129
|
-
setBackdrop(val) {
|
130
|
-
this.backdrop = val;
|
131
|
-
}
|
132
|
-
setShowFunctionPanel(val) {
|
133
|
-
this.showFunctionPanel = val;
|
134
|
-
}
|
135
|
-
setShowParameterPanel(val) {
|
136
|
-
this.showParameterPanel = val;
|
137
|
-
}
|
138
|
-
getQuery(options) {
|
139
|
-
if (!this.isQuerySupported()) {
|
140
|
-
const parameters = this.queryParametersState.parameterStates.map((e) => this.graphManagerState.graphManager.serializeValueSpecification(e.parameter));
|
141
|
-
this.queryUnsupportedState.setRawLambda(new RawLambda(parameters, this.queryUnsupportedState.rawLambda?.body));
|
142
|
-
return guaranteeNonNullable(this.queryUnsupportedState.rawLambda);
|
143
|
-
}
|
144
|
-
return buildRawLambdaFromLambdaFunction(buildLambdaFunction(this, {
|
145
|
-
keepSourceInformation: Boolean(options?.keepSourceInformation),
|
146
|
-
}), this.graphManagerState);
|
147
|
-
}
|
148
|
-
resetQueryBuilder() {
|
149
|
-
const resultState = new QueryBuilderResultState(this);
|
150
|
-
resultState.setPreviewLimit(this.resultState.previewLimit);
|
151
|
-
this.resultState = resultState;
|
152
|
-
this.queryTextEditorState = new QueryTextEditorState(this);
|
153
|
-
this.queryUnsupportedState = new QueryBuilderUnsupportedState(this);
|
154
|
-
this.setShowParameterPanel(false);
|
155
|
-
}
|
156
|
-
resetQueryContent() {
|
157
|
-
this.explorerState = new QueryBuilderExplorerState(this);
|
158
|
-
this.explorerState.refreshTreeData();
|
159
|
-
this.queryParametersState = new QueryParametersState(this);
|
160
|
-
this.queryFunctionsExplorerState = new QueryFunctionsExplorerState(this);
|
161
|
-
this.filterState = new QueryBuilderFilterState(this, this.filterOperators);
|
162
|
-
const currentFetchStructureImplementationType = this.fetchStructureState.implementation.type;
|
163
|
-
this.fetchStructureState = new QueryBuilderFetchStructureState(this);
|
164
|
-
if (currentFetchStructureImplementationType !==
|
165
|
-
this.fetchStructureState.implementation.type) {
|
166
|
-
this.fetchStructureState.changeImplementation(currentFetchStructureImplementationType);
|
167
|
-
}
|
168
|
-
}
|
169
|
-
initialize(rawLambda, options) {
|
170
|
-
try {
|
171
|
-
this.buildStateFromRawLambda(rawLambda);
|
172
|
-
if (this.queryParametersState.parameterStates.length > 0) {
|
173
|
-
this.setShowParameterPanel(true);
|
174
|
-
}
|
175
|
-
}
|
176
|
-
catch (error) {
|
177
|
-
assertErrorThrown(error);
|
178
|
-
this.changeClass(undefined, true);
|
179
|
-
const parameters = buildLambdaVariableExpressions(rawLambda, this.graphManagerState)
|
180
|
-
.map((param) => observe_ValueSpecification(param, this.observableContext))
|
181
|
-
.filter(filterByType(VariableExpression));
|
182
|
-
processParameters(parameters, this);
|
183
|
-
if (options?.notifyError) {
|
184
|
-
this.applicationStore.notifyError(`Can't initialize query builder: ${error.message}`);
|
185
|
-
}
|
186
|
-
this.queryUnsupportedState.setLambdaError(error);
|
187
|
-
this.queryUnsupportedState.setRawLambda(rawLambda);
|
188
|
-
}
|
189
|
-
}
|
190
|
-
/**
|
191
|
-
* Process the raw lambda, and build the query builder state.
|
192
|
-
*
|
193
|
-
* @throws error if there is an issue building the compiled lambda or rebuilding the state.
|
194
|
-
* consumers of function should handle the errors.
|
195
|
-
*/
|
196
|
-
buildStateFromRawLambda(rawLambda) {
|
197
|
-
this.resetQueryBuilder();
|
198
|
-
this.resetQueryContent();
|
199
|
-
if (!isStubbed_RawLambda(rawLambda)) {
|
200
|
-
const valueSpec = observe_ValueSpecification(this.graphManagerState.graphManager.buildValueSpecification(this.graphManagerState.graphManager.serializeRawValueSpecification(rawLambda), this.graphManagerState.graph), this.observableContext);
|
201
|
-
const compiledValueSpecification = guaranteeType(valueSpec, LambdaFunctionInstanceValue, `Can't build query state: query builder only support lambda`);
|
202
|
-
processQueryLambdaFunction(guaranteeNonNullable(compiledValueSpecification.values[0]), this);
|
203
|
-
}
|
204
|
-
}
|
205
|
-
buildMilestoningParameter(parameterName) {
|
206
|
-
const milestoningParameter = new VariableExpression(parameterName, this.graphManagerState.graph.getTypicalMultiplicity(TYPICAL_MULTIPLICITY_TYPE.ONE), GenericTypeExplicitReference.create(new GenericType(this.queryParametersState.queryBuilderState.graphManagerState.graph.getPrimitiveType(PRIMITIVE_TYPE.DATE))));
|
207
|
-
if (!this.queryParametersState.parameterStates.find((p) => p.variableName === parameterName)) {
|
208
|
-
const variableState = new LambdaParameterState(milestoningParameter, this.querySetupState.queryBuilderState.observableContext, this.querySetupState.queryBuilderState.graphManagerState.graph);
|
209
|
-
variableState.mockParameterValue();
|
210
|
-
this.queryParametersState.addParameter(variableState);
|
211
|
-
}
|
212
|
-
return milestoningParameter;
|
213
|
-
}
|
214
|
-
async saveQuery(onSaveQuery) {
|
215
|
-
try {
|
216
|
-
const rawLambda = this.getQuery();
|
217
|
-
await onSaveQuery(rawLambda);
|
218
|
-
}
|
219
|
-
catch (error) {
|
220
|
-
assertErrorThrown(error);
|
221
|
-
this.applicationStore.notifyError(`Can't save query: ${error.message}`);
|
222
|
-
}
|
223
|
-
}
|
224
|
-
isQuerySupported() {
|
225
|
-
return !this.queryUnsupportedState.rawLambda;
|
226
|
-
}
|
227
|
-
clearCompilationError() {
|
228
|
-
this.fetchStructureState.implementation.clearCompilationError();
|
229
|
-
}
|
230
|
-
*compileQuery() {
|
231
|
-
if (!this.queryTextEditorState.mode) {
|
232
|
-
this.isCompiling = true;
|
233
|
-
this.clearCompilationError();
|
234
|
-
// form mode
|
235
|
-
try {
|
236
|
-
this.queryTextEditorState.setCompilationError(undefined);
|
237
|
-
// NOTE: retain the source information on the lambda in order to be able
|
238
|
-
// to pin-point compilation issue in form mode
|
239
|
-
(yield this.graphManagerState.graphManager.getLambdaReturnType(this.getQuery({ keepSourceInformation: true }), this.graphManagerState.graph, { keepSourceInformation: true }));
|
240
|
-
this.applicationStore.notifySuccess('Compiled successfully');
|
241
|
-
}
|
242
|
-
catch (error) {
|
243
|
-
assertErrorThrown(error);
|
244
|
-
this.applicationStore.log.error(LogEvent.create(GRAPH_MANAGER_EVENT.COMPILATION_FAILURE), error);
|
245
|
-
let fallbackToTextModeForDebugging = true;
|
246
|
-
// if compilation failed, we try to reveal the error in form mode,
|
247
|
-
// if even this fail, we will fall back to show it in text mode
|
248
|
-
if (error instanceof CompilationError && error.sourceInformation) {
|
249
|
-
fallbackToTextModeForDebugging =
|
250
|
-
!this.fetchStructureState.implementation.revealCompilationError(error);
|
251
|
-
}
|
252
|
-
// decide if we need to fall back to text mode for debugging
|
253
|
-
if (fallbackToTextModeForDebugging) {
|
254
|
-
this.applicationStore.notifyWarning('Compilation failed and error cannot be located in form mode. Redirected to text mode for debugging.');
|
255
|
-
this.queryTextEditorState.openModal(QueryTextEditorMode.TEXT);
|
256
|
-
// TODO: trigger another compilation to pin-point the issue
|
257
|
-
// since we're using the lambda editor right now, we are a little bit limitted
|
258
|
-
// in terms of the timing to do compilation (since we're using an `useEffect` to
|
259
|
-
// convert the lambda to grammar text), we might as well wait for the refactor
|
260
|
-
// of query builder text-mode
|
261
|
-
// See https://github.com/finos/legend-studio/issues/319
|
262
|
-
}
|
263
|
-
else {
|
264
|
-
this.applicationStore.notifyWarning(`Compilation failed: ${error.message}`);
|
265
|
-
}
|
266
|
-
}
|
267
|
-
finally {
|
268
|
-
this.isCompiling = false;
|
269
|
-
}
|
270
|
-
}
|
271
|
-
else if (this.queryTextEditorState.mode === QueryTextEditorMode.TEXT) {
|
272
|
-
this.isCompiling = true;
|
273
|
-
try {
|
274
|
-
this.queryTextEditorState.setCompilationError(undefined);
|
275
|
-
(yield this.graphManagerState.graphManager.getLambdaReturnType(this.queryTextEditorState.rawLambdaState.lambda, this.graphManagerState.graph, { keepSourceInformation: true }));
|
276
|
-
this.applicationStore.notifySuccess('Compiled successfully');
|
277
|
-
}
|
278
|
-
catch (error) {
|
279
|
-
assertErrorThrown(error);
|
280
|
-
if (error instanceof CompilationError) {
|
281
|
-
this.applicationStore.log.error(LogEvent.create(GRAPH_MANAGER_EVENT.COMPILATION_FAILURE), error);
|
282
|
-
this.applicationStore.notifyWarning(`Compilation failed: ${error.message}`);
|
283
|
-
const errorElementCoordinates = extractSourceInformationCoordinates(error.sourceInformation);
|
284
|
-
if (errorElementCoordinates) {
|
285
|
-
this.queryTextEditorState.setCompilationError(error);
|
286
|
-
}
|
287
|
-
}
|
288
|
-
}
|
289
|
-
finally {
|
290
|
-
this.isCompiling = false;
|
291
|
-
}
|
292
|
-
}
|
293
|
-
}
|
294
|
-
changeClass(val, isRebuildingState) {
|
295
|
-
this.resetQueryBuilder();
|
296
|
-
this.resetQueryContent();
|
297
|
-
this.querySetupState.setClass(val, isRebuildingState);
|
298
|
-
this.explorerState.refreshTreeData();
|
299
|
-
this.fetchStructureState.implementation.onClassChange(val);
|
300
|
-
}
|
301
|
-
get validationIssues() {
|
302
|
-
return this.fetchStructureState.implementation.validationIssues;
|
303
|
-
}
|
304
|
-
cloneQueryBuilderState() {
|
305
|
-
return new QueryBuilderState(this.applicationStore, this.graphManagerState, this.mode);
|
306
|
-
}
|
307
|
-
}
|
308
|
-
//# sourceMappingURL=QueryBuilderState.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AAChE,OAAO,EAEL,QAAQ,EACR,iBAAiB,EACjB,oBAAoB,EACpB,aAAa,EACb,YAAY,EACZ,UAAU,GACX,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,+BAA+B,EAAE,MAAM,sDAAsD,CAAC;AACvG,OAAO,EACL,mBAAmB,EACnB,oBAAoB,GACrB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,yBAAyB,EAAE,MAAM,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AE,CAAC;QACzB,IAAI,CAAC,iBAAiB,EAAE,CAAC;QACzB,IAAI,CAAC,eAAe,CAAC,QAAQ,CAAC,GAAG,EAAE,iBAAiB,CAAC,CAAC;QACtD,IAAI,CAAC,aAAa,CAAC,eAAe,EAAE,CAAC;QACrC,IAAI,CAAC,mBAAmB,CAAC,cAAc,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC;IAC7D,CAAC;IAED,IAAI,gBAAgB;QAClB,OAAO,IAAI,CAAC,mBAAmB,CAAC,cAAc,CAAC,gBAAgB,CAAC;IAClE,CAAC;IAED,sBAAsB;QACpB,OAAO,IAAI,iBAAiB,CAC1B,IAAI,CAAC,gBAAgB,EACrB,IAAI,CAAC,iBAAiB,EACtB,IAAI,CAAC,IAAI,CACV,CAAC;IACJ,CAAC;CACF"}
|
@@ -1,124 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
-
*
|
4
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
-
* you may not use this file except in compliance with the License.
|
6
|
-
* You may obtain a copy of the License at
|
7
|
-
*
|
8
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
-
*
|
10
|
-
* Unless required by applicable law or agreed to in writing, software
|
11
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
-
* See the License for the specific language governing permissions and
|
14
|
-
* limitations under the License.
|
15
|
-
*/
|
16
|
-
import type { QueryBuilderState } from './QueryBuilderState.js';
|
17
|
-
import { type AlloySerializationConfigInstanceValue, type EnumValueInstanceValue, type FunctionExpression, type MappingInstanceValue, type PairInstanceValue, type PropertyGraphFetchTreeInstanceValue, type PureListInstanceValue, type RootGraphFetchTreeInstanceValue, type RuntimeInstanceValue, type ValueSpecificationVisitor, type InstanceValue, type INTERNAL__UnknownValueSpecification, type LambdaFunction, type CollectionInstanceValue, type LambdaFunctionInstanceValue, type PrimitiveInstanceValue, SimpleFunctionExpression, type VariableExpression, type AbstractPropertyExpression, type INTERNAL__PropagatedValue, type ValueSpecification } from '@finos/legend-graph';
|
18
|
-
/**
|
19
|
-
* This is the value specification processor (a.k.a state builder) for query builder.
|
20
|
-
*
|
21
|
-
* Unlike value specification builder which takes care of transforming the value specification
|
22
|
-
* from `protocol` to `metamodel`, and doing some (naive) type-inferencing, the processor takes care
|
23
|
-
* of traversing the query, analyzing it to build the query builder state. The processor represents
|
24
|
-
* a particular way we want to look at the query, if the query is not like what the processor
|
25
|
-
* expects, or understands, query builder state could not be built, i.e. the query will be deemed
|
26
|
-
* unsupported by query builder
|
27
|
-
*
|
28
|
-
* NOTE: While traversing the expression, this processor also does a fair amount of
|
29
|
-
* validations and assertions--enough to properly build the state. Unlike the builder,
|
30
|
-
* the processor should NEVER modify the metamodel, just traversing it.
|
31
|
-
*/
|
32
|
-
export declare class QueryBuilderValueSpecificationProcessor implements ValueSpecificationVisitor<void> {
|
33
|
-
readonly queryBuilderState: QueryBuilderState;
|
34
|
-
/**
|
35
|
-
* A value specification is a tree of value specifications.
|
36
|
-
*
|
37
|
-
* This structure may not intuitively correspond to how we write it in Pure
|
38
|
-
* For example, consider the following expression in Pure:
|
39
|
-
*
|
40
|
-
* | Person.all()->filter(x|$x.age > 0)->project([x|$x.name], ['Name'])->sort([desc('Name')]);
|
41
|
-
*
|
42
|
-
* which is equivalent to the more cryptic version:
|
43
|
-
*
|
44
|
-
* | sort(project(filter(all(Person), x|$x.age > 0), [x|$x.name], ['Name']), [desc('Name')]);
|
45
|
-
*
|
46
|
-
* Hence, the metamodel looks something like this (with some parts redacted)
|
47
|
-
* {
|
48
|
-
* "function": "sort",
|
49
|
-
* "parameters": [
|
50
|
-
* {
|
51
|
-
* "function": "project",
|
52
|
-
* "parameters": [
|
53
|
-
* {
|
54
|
-
* "function": "filter",
|
55
|
-
* "parameters": [
|
56
|
-
* {
|
57
|
-
* "function": "getAll",
|
58
|
-
* ...
|
59
|
-
* },
|
60
|
-
* ... // filter() expression
|
61
|
-
* ]
|
62
|
-
* },
|
63
|
-
* ... // project() expression column and alias
|
64
|
-
* ]
|
65
|
-
* },
|
66
|
-
* {
|
67
|
-
* "_type": "collection",
|
68
|
-
* "values": [
|
69
|
-
* {
|
70
|
-
* "function": "desc",
|
71
|
-
* ... // desc() expression
|
72
|
-
* }
|
73
|
-
* ]
|
74
|
-
* }
|
75
|
-
* ]
|
76
|
-
* }
|
77
|
-
*
|
78
|
-
* The first grammar form is farily declarative in nature and perhaps more intuitive.
|
79
|
-
* We tend to think, in terms of order of running:
|
80
|
-
* all() --> filter() --> project() --> sort()
|
81
|
-
*
|
82
|
-
* However, in reality, when the expression is used or read, the order of traversal is reversed:
|
83
|
-
* sort() --> project() --> filter() --> all()
|
84
|
-
*
|
85
|
-
* Now, in the context of the value specification processor, we need information about preceding
|
86
|
-
* expression in order to validate the usage context of functions, (for example, we want to only
|
87
|
-
* support project() after all() or filter()). In the case of function expression chain,
|
88
|
-
* we have to look at the function expression first parameter. There are some other context,
|
89
|
-
* such as what happens within the second parameter of the sort() expression
|
90
|
-
* in this case, we have the desc() expression, but it's not part of the main expression chain;
|
91
|
-
* however, we need to verify desc() is used within sort(), in this case, we have to record
|
92
|
-
* the parent expression. This is when the following attribute comes into use when processing
|
93
|
-
* value specification.
|
94
|
-
*/
|
95
|
-
readonly parentExpression?: SimpleFunctionExpression | undefined;
|
96
|
-
private constructor();
|
97
|
-
static process(valueSpecification: ValueSpecification, queryBuilderState: QueryBuilderState): void;
|
98
|
-
/**
|
99
|
-
* Process value specification with information about parent function expression
|
100
|
-
* in order to be used in some validation/assertion
|
101
|
-
*/
|
102
|
-
static processChild(valueSpecification: ValueSpecification, parentExpression: SimpleFunctionExpression, queryBuilderState: QueryBuilderState): void;
|
103
|
-
visit_INTERNAL__UnknownValueSpecification(valueSpecification: INTERNAL__UnknownValueSpecification): void;
|
104
|
-
visit_RootGraphFetchTreeInstanceValue(valueSpecification: RootGraphFetchTreeInstanceValue): void;
|
105
|
-
visit_PropertyGraphFetchTreeInstanceValue(valueSpecification: PropertyGraphFetchTreeInstanceValue): void;
|
106
|
-
visit_AlloySerializationConfigInstanceValue(valueSpecification: AlloySerializationConfigInstanceValue): void;
|
107
|
-
visit_PrimitiveInstanceValue(valueSpecification: PrimitiveInstanceValue): void;
|
108
|
-
visit_EnumValueInstanceValue(valueSpecification: EnumValueInstanceValue): void;
|
109
|
-
visit_RuntimeInstanceValue(valueSpecification: RuntimeInstanceValue): void;
|
110
|
-
visit_PairInstanceValue(valueSpecification: PairInstanceValue): void;
|
111
|
-
visit_MappingInstanceValue(valueSpecification: MappingInstanceValue): void;
|
112
|
-
visit_PureListInstanceValue(valueSpecification: PureListInstanceValue): void;
|
113
|
-
visit_CollectionInstanceValue(valueSpecification: CollectionInstanceValue): void;
|
114
|
-
visit_FunctionExpression(valueSpecification: FunctionExpression): void;
|
115
|
-
visit_INTERNAL__PropagatedValue(valueSpecification: INTERNAL__PropagatedValue): void;
|
116
|
-
visit_SimpleFunctionExpression(valueSpecification: SimpleFunctionExpression): void;
|
117
|
-
visit_VariableExpression(valueSpecification: VariableExpression): void;
|
118
|
-
visit_LambdaFunctionInstanceValue(valueSpecification: LambdaFunctionInstanceValue): void;
|
119
|
-
visit_AbstractPropertyExpression(valueSpecification: AbstractPropertyExpression): void;
|
120
|
-
visit_InstanceValue(valueSpecification: InstanceValue): void;
|
121
|
-
}
|
122
|
-
export declare const processParameters: (parameters: VariableExpression[], queryBuilderState: QueryBuilderState) => void;
|
123
|
-
export declare const processQueryLambdaFunction: (lambdaFunction: LambdaFunction, queryBuilderState: QueryBuilderState) => void;
|
124
|
-
//# sourceMappingURL=QueryBuilderStateBuilder.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderStateBuilder.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;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