@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,310 +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 { assertNonNullable, assertTrue, assertType, guaranteeType, UnsupportedOperationError, } from '@finos/legend-shared';
|
17
|
-
import { MILESTONING_STEREOTYPE, matchFunctionName, Class, SimpleFunctionExpression, getMilestoneTemporalStereotype, } from '@finos/legend-graph';
|
18
|
-
import { processTDSPostFilterExpression } from './fetch-structure/projection/post-filter/QueryBuilderPostFilterStateBuilder.js';
|
19
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../QueryBuilder_Const.js';
|
20
|
-
import { LambdaParameterState } from '@finos/legend-application';
|
21
|
-
import { processFilterExpression } from './filter/QueryBuilderFilterStateBuilder.js';
|
22
|
-
import { processTDSAggregateExpression, processTDSGroupByExpression, } from './fetch-structure/projection/aggregation/QueryBuilderAggregationStateBuilder.js';
|
23
|
-
import { processGraphFetchExpression, processGraphFetchSerializeExpression, } from './fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js';
|
24
|
-
import { processTDSDistinctExpression, processTDSProjectExpression, processTDSProjectionColumnPropertyExpression, processTDSProjectionDerivationExpression, processTDSSortDirectionExpression, processTDSSortExpression, processTDSTakeExpression, } from './fetch-structure/projection/QueryBuilderProjectionStateBuilder.js';
|
25
|
-
const processGetAllExpression = (expression, queryBuilderState) => {
|
26
|
-
const _class = expression.genericType?.value.rawType;
|
27
|
-
assertType(_class, Class, `Can't process getAll() expression: getAll() return type is missing`);
|
28
|
-
queryBuilderState.querySetupState.setClass(_class, true);
|
29
|
-
queryBuilderState.explorerState.refreshTreeData();
|
30
|
-
// check parameters (milestoning) and build state
|
31
|
-
let acceptedNoOfParameters = 1;
|
32
|
-
const stereotype = getMilestoneTemporalStereotype(_class, queryBuilderState.graphManagerState.graph);
|
33
|
-
switch (stereotype) {
|
34
|
-
case MILESTONING_STEREOTYPE.BITEMPORAL:
|
35
|
-
acceptedNoOfParameters = 3;
|
36
|
-
assertTrue(expression.parametersValues.length === acceptedNoOfParameters, `Can't process getAll() expression: when used with a bitemporal milestoned class getAll() expects two parameters`);
|
37
|
-
queryBuilderState.querySetupState.setProcessingDate(expression.parametersValues[1]);
|
38
|
-
queryBuilderState.querySetupState.setBusinessDate(expression.parametersValues[2]);
|
39
|
-
break;
|
40
|
-
case MILESTONING_STEREOTYPE.BUSINESS_TEMPORAL:
|
41
|
-
acceptedNoOfParameters = 2;
|
42
|
-
assertTrue(expression.parametersValues.length === acceptedNoOfParameters, `Can't process getAll() expression: when used with a milestoned class getAll() expects a parameter`);
|
43
|
-
queryBuilderState.querySetupState.setBusinessDate(expression.parametersValues[1]);
|
44
|
-
break;
|
45
|
-
case MILESTONING_STEREOTYPE.PROCESSING_TEMPORAL:
|
46
|
-
acceptedNoOfParameters = 2;
|
47
|
-
assertTrue(expression.parametersValues.length === acceptedNoOfParameters, `Can't process getAll() expression: when used with a milestoned class getAll() expects a parameter`);
|
48
|
-
queryBuilderState.querySetupState.setProcessingDate(expression.parametersValues[1]);
|
49
|
-
break;
|
50
|
-
default:
|
51
|
-
assertTrue(expression.parametersValues.length === acceptedNoOfParameters, `Can't process getAll() expression: getAll() expects no arguments`);
|
52
|
-
}
|
53
|
-
};
|
54
|
-
/**
|
55
|
-
* This is the value specification processor (a.k.a state builder) for query builder.
|
56
|
-
*
|
57
|
-
* Unlike value specification builder which takes care of transforming the value specification
|
58
|
-
* from `protocol` to `metamodel`, and doing some (naive) type-inferencing, the processor takes care
|
59
|
-
* of traversing the query, analyzing it to build the query builder state. The processor represents
|
60
|
-
* a particular way we want to look at the query, if the query is not like what the processor
|
61
|
-
* expects, or understands, query builder state could not be built, i.e. the query will be deemed
|
62
|
-
* unsupported by query builder
|
63
|
-
*
|
64
|
-
* NOTE: While traversing the expression, this processor also does a fair amount of
|
65
|
-
* validations and assertions--enough to properly build the state. Unlike the builder,
|
66
|
-
* the processor should NEVER modify the metamodel, just traversing it.
|
67
|
-
*/
|
68
|
-
export class QueryBuilderValueSpecificationProcessor {
|
69
|
-
queryBuilderState;
|
70
|
-
/**
|
71
|
-
* A value specification is a tree of value specifications.
|
72
|
-
*
|
73
|
-
* This structure may not intuitively correspond to how we write it in Pure
|
74
|
-
* For example, consider the following expression in Pure:
|
75
|
-
*
|
76
|
-
* | Person.all()->filter(x|$x.age > 0)->project([x|$x.name], ['Name'])->sort([desc('Name')]);
|
77
|
-
*
|
78
|
-
* which is equivalent to the more cryptic version:
|
79
|
-
*
|
80
|
-
* | sort(project(filter(all(Person), x|$x.age > 0), [x|$x.name], ['Name']), [desc('Name')]);
|
81
|
-
*
|
82
|
-
* Hence, the metamodel looks something like this (with some parts redacted)
|
83
|
-
* {
|
84
|
-
* "function": "sort",
|
85
|
-
* "parameters": [
|
86
|
-
* {
|
87
|
-
* "function": "project",
|
88
|
-
* "parameters": [
|
89
|
-
* {
|
90
|
-
* "function": "filter",
|
91
|
-
* "parameters": [
|
92
|
-
* {
|
93
|
-
* "function": "getAll",
|
94
|
-
* ...
|
95
|
-
* },
|
96
|
-
* ... // filter() expression
|
97
|
-
* ]
|
98
|
-
* },
|
99
|
-
* ... // project() expression column and alias
|
100
|
-
* ]
|
101
|
-
* },
|
102
|
-
* {
|
103
|
-
* "_type": "collection",
|
104
|
-
* "values": [
|
105
|
-
* {
|
106
|
-
* "function": "desc",
|
107
|
-
* ... // desc() expression
|
108
|
-
* }
|
109
|
-
* ]
|
110
|
-
* }
|
111
|
-
* ]
|
112
|
-
* }
|
113
|
-
*
|
114
|
-
* The first grammar form is farily declarative in nature and perhaps more intuitive.
|
115
|
-
* We tend to think, in terms of order of running:
|
116
|
-
* all() --> filter() --> project() --> sort()
|
117
|
-
*
|
118
|
-
* However, in reality, when the expression is used or read, the order of traversal is reversed:
|
119
|
-
* sort() --> project() --> filter() --> all()
|
120
|
-
*
|
121
|
-
* Now, in the context of the value specification processor, we need information about preceding
|
122
|
-
* expression in order to validate the usage context of functions, (for example, we want to only
|
123
|
-
* support project() after all() or filter()). In the case of function expression chain,
|
124
|
-
* we have to look at the function expression first parameter. There are some other context,
|
125
|
-
* such as what happens within the second parameter of the sort() expression
|
126
|
-
* in this case, we have the desc() expression, but it's not part of the main expression chain;
|
127
|
-
* however, we need to verify desc() is used within sort(), in this case, we have to record
|
128
|
-
* the parent expression. This is when the following attribute comes into use when processing
|
129
|
-
* value specification.
|
130
|
-
*/
|
131
|
-
parentExpression;
|
132
|
-
constructor(queryBuilderState, parentExpression) {
|
133
|
-
this.queryBuilderState = queryBuilderState;
|
134
|
-
this.parentExpression = parentExpression;
|
135
|
-
}
|
136
|
-
static process(valueSpecification, queryBuilderState) {
|
137
|
-
valueSpecification.accept_ValueSpecificationVisitor(new QueryBuilderValueSpecificationProcessor(queryBuilderState, undefined));
|
138
|
-
}
|
139
|
-
/**
|
140
|
-
* Process value specification with information about parent function expression
|
141
|
-
* in order to be used in some validation/assertion
|
142
|
-
*/
|
143
|
-
static processChild(valueSpecification, parentExpression, queryBuilderState) {
|
144
|
-
valueSpecification.accept_ValueSpecificationVisitor(new QueryBuilderValueSpecificationProcessor(queryBuilderState, parentExpression));
|
145
|
-
}
|
146
|
-
visit_INTERNAL__UnknownValueSpecification(valueSpecification) {
|
147
|
-
assertNonNullable(this.parentExpression, `Can't process unknown value: parent expression cannot be retrieved`);
|
148
|
-
if (matchFunctionName(this.parentExpression.functionName, [
|
149
|
-
QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_PROJECT,
|
150
|
-
QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_GROUP_BY,
|
151
|
-
QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_AGG,
|
152
|
-
])) {
|
153
|
-
processTDSProjectionDerivationExpression(valueSpecification, this.parentExpression, this.queryBuilderState);
|
154
|
-
return;
|
155
|
-
}
|
156
|
-
throw new UnsupportedOperationError(`Can't process unknown value with parent expression of function ${this.parentExpression.functionName}()`);
|
157
|
-
}
|
158
|
-
visit_RootGraphFetchTreeInstanceValue(valueSpecification) {
|
159
|
-
throw new UnsupportedOperationError();
|
160
|
-
}
|
161
|
-
visit_PropertyGraphFetchTreeInstanceValue(valueSpecification) {
|
162
|
-
throw new UnsupportedOperationError();
|
163
|
-
}
|
164
|
-
visit_AlloySerializationConfigInstanceValue(valueSpecification) {
|
165
|
-
throw new UnsupportedOperationError();
|
166
|
-
}
|
167
|
-
visit_PrimitiveInstanceValue(valueSpecification) {
|
168
|
-
throw new UnsupportedOperationError();
|
169
|
-
}
|
170
|
-
visit_EnumValueInstanceValue(valueSpecification) {
|
171
|
-
throw new UnsupportedOperationError();
|
172
|
-
}
|
173
|
-
visit_RuntimeInstanceValue(valueSpecification) {
|
174
|
-
throw new UnsupportedOperationError();
|
175
|
-
}
|
176
|
-
visit_PairInstanceValue(valueSpecification) {
|
177
|
-
throw new UnsupportedOperationError();
|
178
|
-
}
|
179
|
-
visit_MappingInstanceValue(valueSpecification) {
|
180
|
-
throw new UnsupportedOperationError();
|
181
|
-
}
|
182
|
-
visit_PureListInstanceValue(valueSpecification) {
|
183
|
-
throw new UnsupportedOperationError();
|
184
|
-
}
|
185
|
-
visit_CollectionInstanceValue(valueSpecification) {
|
186
|
-
throw new UnsupportedOperationError();
|
187
|
-
}
|
188
|
-
visit_FunctionExpression(valueSpecification) {
|
189
|
-
throw new UnsupportedOperationError();
|
190
|
-
}
|
191
|
-
visit_INTERNAL__PropagatedValue(valueSpecification) {
|
192
|
-
throw new UnsupportedOperationError();
|
193
|
-
}
|
194
|
-
visit_SimpleFunctionExpression(valueSpecification) {
|
195
|
-
const functionName = valueSpecification.functionName;
|
196
|
-
if (matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.GET_ALL)) {
|
197
|
-
processGetAllExpression(valueSpecification, this.queryBuilderState);
|
198
|
-
return;
|
199
|
-
}
|
200
|
-
else if (matchFunctionName(functionName, [
|
201
|
-
QUERY_BUILDER_SUPPORTED_FUNCTIONS.FILTER,
|
202
|
-
QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_FILTER,
|
203
|
-
])) {
|
204
|
-
// NOTE: for filter, since it sometimes can be ambiguous
|
205
|
-
// whether meta::pure::functions::collection::filter() was used
|
206
|
-
// or meta::pure::tds::filter() was used, we have to have custom logic
|
207
|
-
// to determine
|
208
|
-
// check parameters
|
209
|
-
assertTrue(valueSpecification.parametersValues.length === 2, `Can't process filter() expression: filter() expects 1 argument`);
|
210
|
-
// check preceding expression
|
211
|
-
const precedingExpression = guaranteeType(valueSpecification.parametersValues[0], SimpleFunctionExpression, `Can't process filter() expression: only support filter() immediately following an expression`);
|
212
|
-
QueryBuilderValueSpecificationProcessor.process(precedingExpression, this.queryBuilderState);
|
213
|
-
if (matchFunctionName(precedingExpression.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.GET_ALL)) {
|
214
|
-
assertTrue(matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.FILTER), `Can't process filter() expression: only supports ${QUERY_BUILDER_SUPPORTED_FUNCTIONS.FILTER}() immediately following getAll() (got '${functionName}')`);
|
215
|
-
processFilterExpression(valueSpecification, this.queryBuilderState);
|
216
|
-
return;
|
217
|
-
}
|
218
|
-
else if (matchFunctionName(precedingExpression.functionName, [
|
219
|
-
QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_PROJECT,
|
220
|
-
QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_GROUP_BY,
|
221
|
-
])) {
|
222
|
-
assertTrue(matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_FILTER), `Can't process post-filter expression: only supports ${QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_FILTER}() immediately following project()/groupBy() (got '${functionName}')`);
|
223
|
-
processTDSPostFilterExpression(valueSpecification, this.queryBuilderState);
|
224
|
-
return;
|
225
|
-
}
|
226
|
-
else {
|
227
|
-
throw new UnsupportedOperationError(`Can't process filter() expression: only support filter() immediately following getAll() or project()/groupBy()`);
|
228
|
-
}
|
229
|
-
}
|
230
|
-
else if (matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_PROJECT)) {
|
231
|
-
processTDSProjectExpression(valueSpecification, this.queryBuilderState);
|
232
|
-
return;
|
233
|
-
}
|
234
|
-
else if (matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_TAKE)) {
|
235
|
-
processTDSTakeExpression(valueSpecification, this.queryBuilderState);
|
236
|
-
return;
|
237
|
-
}
|
238
|
-
else if (matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_DISTINCT)) {
|
239
|
-
processTDSDistinctExpression(valueSpecification, this.queryBuilderState);
|
240
|
-
return;
|
241
|
-
}
|
242
|
-
else if (matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_SORT)) {
|
243
|
-
processTDSSortExpression(valueSpecification, this.queryBuilderState);
|
244
|
-
return;
|
245
|
-
}
|
246
|
-
else if (matchFunctionName(functionName, [
|
247
|
-
QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_ASC,
|
248
|
-
QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_DESC,
|
249
|
-
])) {
|
250
|
-
processTDSSortDirectionExpression(valueSpecification, this.parentExpression, this.queryBuilderState);
|
251
|
-
return;
|
252
|
-
}
|
253
|
-
else if (matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_GROUP_BY)) {
|
254
|
-
processTDSGroupByExpression(valueSpecification, this.queryBuilderState);
|
255
|
-
return;
|
256
|
-
}
|
257
|
-
else if (matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_AGG)) {
|
258
|
-
processTDSAggregateExpression(valueSpecification, this.parentExpression, this.queryBuilderState);
|
259
|
-
return;
|
260
|
-
}
|
261
|
-
else if (matchFunctionName(functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.SERIALIZE)) {
|
262
|
-
processGraphFetchSerializeExpression(valueSpecification, this.queryBuilderState);
|
263
|
-
return;
|
264
|
-
}
|
265
|
-
else if (matchFunctionName(functionName, [
|
266
|
-
QUERY_BUILDER_SUPPORTED_FUNCTIONS.GRAPH_FETCH_CHECKED,
|
267
|
-
QUERY_BUILDER_SUPPORTED_FUNCTIONS.GRAPH_FETCH,
|
268
|
-
])) {
|
269
|
-
processGraphFetchExpression(valueSpecification, this.queryBuilderState);
|
270
|
-
return;
|
271
|
-
}
|
272
|
-
throw new UnsupportedOperationError(`Can't process expression of function ${functionName}()`);
|
273
|
-
}
|
274
|
-
visit_VariableExpression(valueSpecification) {
|
275
|
-
throw new UnsupportedOperationError();
|
276
|
-
}
|
277
|
-
visit_LambdaFunctionInstanceValue(valueSpecification) {
|
278
|
-
valueSpecification.values.forEach((value) => value.expressionSequence.forEach((expression) => expression.accept_ValueSpecificationVisitor(new QueryBuilderValueSpecificationProcessor(this.queryBuilderState, this.parentExpression))));
|
279
|
-
}
|
280
|
-
visit_AbstractPropertyExpression(valueSpecification) {
|
281
|
-
assertNonNullable(this.parentExpression, `Can't process property expression: parent expression cannot be retrieved`);
|
282
|
-
if (matchFunctionName(this.parentExpression.functionName, [
|
283
|
-
QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_PROJECT,
|
284
|
-
QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_GROUP_BY,
|
285
|
-
QUERY_BUILDER_SUPPORTED_FUNCTIONS.TDS_AGG,
|
286
|
-
])) {
|
287
|
-
processTDSProjectionColumnPropertyExpression(valueSpecification, this.queryBuilderState);
|
288
|
-
return;
|
289
|
-
}
|
290
|
-
throw new UnsupportedOperationError(`Can't process property expression with parent expression of function ${this.parentExpression.functionName}()`);
|
291
|
-
}
|
292
|
-
visit_InstanceValue(valueSpecification) {
|
293
|
-
throw new UnsupportedOperationError();
|
294
|
-
}
|
295
|
-
}
|
296
|
-
export const processParameters = (parameters, queryBuilderState) => {
|
297
|
-
const queryParameterState = queryBuilderState.queryParametersState;
|
298
|
-
parameters.forEach((parameter) => {
|
299
|
-
const parameterState = new LambdaParameterState(parameter, queryBuilderState.observableContext, queryBuilderState.graphManagerState.graph);
|
300
|
-
parameterState.mockParameterValue();
|
301
|
-
queryParameterState.addParameter(parameterState);
|
302
|
-
});
|
303
|
-
};
|
304
|
-
export const processQueryLambdaFunction = (lambdaFunction, queryBuilderState) => {
|
305
|
-
if (lambdaFunction.functionType.parameters.length) {
|
306
|
-
processParameters(lambdaFunction.functionType.parameters, queryBuilderState);
|
307
|
-
}
|
308
|
-
lambdaFunction.expressionSequence.map((expression) => QueryBuilderValueSpecificationProcessor.process(expression, queryBuilderState));
|
309
|
-
};
|
310
|
-
//# sourceMappingURL=QueryBuilderStateBuilder.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderStateBuilder.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,iBAAiB,EACjB,UAAU,EACV,UAAU,EACV,aAAa,EACb,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAcL,sBAAsB,EACtB,iBAAiB,EACjB,KAAK,EAIL,wBAAwB,EAGxB,8BAA8B,GAG/B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,8BAA8B,EAAE,MAAM,gFAAgF,CAAC;AAChI,OAAO,EAAE,iCAAiC,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,uBAAuB,EAAE,MAAM,4CAA4C,CAAC;AACrF,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ClB,CACF,CAAC;AACJ,CAAC,CAAC"}
|
@@ -1,24 +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 RawLambda, type RawMappingModelCoverageAnalysisResult } from '@finos/legend-graph';
|
17
|
-
import type { Entity } from '@finos/legend-storage';
|
18
|
-
import { QueryBuilderState } from './QueryBuilderState.js';
|
19
|
-
export declare const TEST__setUpQueryBuilderState: (entities: Entity[], rawLambda?: RawLambda | undefined, executionContext?: {
|
20
|
-
_class: string;
|
21
|
-
mapping: string;
|
22
|
-
runtime?: string | undefined;
|
23
|
-
} | undefined, rawMappingModelCoverageAnalysisResult?: RawMappingModelCoverageAnalysisResult | undefined) => Promise<QueryBuilderState>;
|
24
|
-
//# sourceMappingURL=QueryBuilderStateTestUtils.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderStateTestUtils.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderStateTestUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EACL,KAAK,SAAS,EACd,KAAK,qCAAqC,EAG3C,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAKpD,OAAO,EACL,iBAAiB,EAElB,MAAM,wBAAwB,CAAC;AAGhC,eAAO,MAAM,4BAA4B,aAC7B,MAAM,EAAE,cACN,SAAS,GAAG,SAAS,qBAE7B;IACE,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,GACD,SAAS,0CAET,qCAAqC,GACrC,SAAS,KACZ,QAAQ,iBAAiB,CAgD3B,CAAC"}
|
@@ -1,50 +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 { TEST__getTestApplicationStore } from '@finos/legend-application';
|
17
|
-
import { TEST__buildGraphWithEntities, TEST__getTestGraphManagerState, } from '@finos/legend-graph';
|
18
|
-
import { jest } from '@jest/globals';
|
19
|
-
import { flowResult } from 'mobx';
|
20
|
-
import { LegendQueryPluginManager } from '../application/LegendQueryPluginManager.js';
|
21
|
-
import { QueryBuilder_GraphManagerPreset } from '../graphManager/QueryBuilder_GraphManagerPreset.js';
|
22
|
-
import { QueryBuilderState, StandardQueryBuilderMode, } from './QueryBuilderState.js';
|
23
|
-
import { TEST__getTestLegendQueryApplicationConfig } from './QueryEditorStoreTestUtils.js';
|
24
|
-
export const TEST__setUpQueryBuilderState = async (entities, rawLambda, executionContext, rawMappingModelCoverageAnalysisResult) => {
|
25
|
-
const pluginManager = LegendQueryPluginManager.create();
|
26
|
-
pluginManager.usePresets([new QueryBuilder_GraphManagerPreset()]).install();
|
27
|
-
const applicationStore = TEST__getTestApplicationStore(TEST__getTestLegendQueryApplicationConfig(), LegendQueryPluginManager.create());
|
28
|
-
const graphManagerState = TEST__getTestGraphManagerState(pluginManager);
|
29
|
-
await TEST__buildGraphWithEntities(graphManagerState, entities);
|
30
|
-
const queryBuilderState = new QueryBuilderState(applicationStore, graphManagerState, new StandardQueryBuilderMode());
|
31
|
-
if (rawLambda) {
|
32
|
-
queryBuilderState.buildStateFromRawLambda(rawLambda);
|
33
|
-
}
|
34
|
-
if (executionContext) {
|
35
|
-
const graph = queryBuilderState.graphManagerState.graph;
|
36
|
-
queryBuilderState.querySetupState._class = graph.getClass(executionContext._class);
|
37
|
-
queryBuilderState.querySetupState.mapping = graph.getMapping(executionContext.mapping);
|
38
|
-
if (executionContext.runtime) {
|
39
|
-
queryBuilderState.querySetupState.runtimeValue = graph.getRuntime(executionContext.runtime);
|
40
|
-
}
|
41
|
-
}
|
42
|
-
if (rawMappingModelCoverageAnalysisResult) {
|
43
|
-
jest
|
44
|
-
.spyOn(queryBuilderState.graphManagerState.graphManager, 'analyzeMappingModelCoverage')
|
45
|
-
.mockResolvedValue(queryBuilderState.graphManagerState.graphManager.buildMappingModelCoverageAnalysisResult(rawMappingModelCoverageAnalysisResult));
|
46
|
-
await flowResult(queryBuilderState.explorerState.analyzeMappingModelCoverage());
|
47
|
-
}
|
48
|
-
return queryBuilderState;
|
49
|
-
};
|
50
|
-
//# sourceMappingURL=QueryBuilderStateTestUtils.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderStateTestUtils.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderStateTestUtils.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,6BAA6B,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,EAGL,4BAA4B,EAC5B,8BAA8B,GAC/B,MAAM,qBAAqB,CAAC;AAE7B,O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,UAAU,CAC1D,gBAAgB,CAAC,OAAO,CACzB,CAAC;QACF,IAAI,gBAAgB,CAAC,OAAO,EAAE;YAC5B,iBAAiB,CAAC,eAAe,CAAC,YAAY,GAAG,KAAK,CAAC,UAAU,CAC/D,gBAAgB,CAAC,OAAO,CACzB,CAAC;SACH;KACF;IACD,IAAI,qCAAqC,EAAE;QACzC,IAAI;aACD,KAAK,CACJ,iBAAiB,CAAC,iBAAiB,CAAC,YAAY,EAChD,6BAA6B,CAC9B;aACA,iBAAiB,CAChB,iBAAiB,CAAC,iBAAiB,CAAC,YAAY,CAAC,uCAAuC,CACtF,qCAAqC,CACtC,CACF,CAAC;QAEJ,MAAM,UAAU,CACd,iBAAiB,CAAC,aAAa,CAAC,2BAA2B,EAAE,CAC9D,CAAC;KACH;IACD,OAAO,iBAAiB,CAAC;AAC3B,CAAC,CAAC"}
|
@@ -1,24 +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 AbstractPropertyExpression, type ExecutionResult, type ValueSpecification, type RawLambda } from '@finos/legend-graph';
|
17
|
-
import type { QueryBuilderAggregateColumnState } from './fetch-structure/projection/aggregation/QueryBuilderAggregationState.js';
|
18
|
-
import { QueryBuilderProjectionColumnState } from './fetch-structure/projection/QueryBuilderProjectionColumnState.js';
|
19
|
-
import type { QueryBuilderState } from './QueryBuilderState.js';
|
20
|
-
export declare const buildPropertyTypeaheadQuery: (queryBuilderState: QueryBuilderState, propertyExpression: AbstractPropertyExpression, value: ValueSpecification | undefined) => RawLambda;
|
21
|
-
export declare const buildProjectionColumnTypeaheadQuery: (queryBuilderState: QueryBuilderState, columnState: QueryBuilderProjectionColumnState | QueryBuilderAggregateColumnState, value: ValueSpecification | undefined) => RawLambda;
|
22
|
-
export declare const buildTypeaheadOptions: (result: ExecutionResult) => string[];
|
23
|
-
export declare const performTypeahead: (val: ValueSpecification | undefined) => boolean;
|
24
|
-
//# sourceMappingURL=QueryBuilderTypeaheadHelper.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTypeaheadHelper.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderTypeaheadHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,eAAe,EACpB,KAAK,kBAAkB,EAIvB,KAAK,SAAS,EACf,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,0EAA0E,CAAC;AAKjI,OAAO,EACL,iCAAiC,EAElC,MAAM,mEAAmE,CAAC;AAC3E,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAsDhE,eAAO,MAAM,2BAA2B,sBACnB,iBAAiB,sBAChB,0BAA0B,SACvC,kBAAkB,GAAG,SAAS,KACpC,SAaF,CAAC;AAEF,eAAO,MAAM,mCAAmC,sBAC3B,iBAAiB,eAEhC,iCAAiC,GACjC,gCAAgC,SAC7B,kBAAkB,GAAG,SAAS,KACpC,SAIF,CAAC;AAEF,eAAO,MAAM,qBAAqB,WAAY,eAAe,KAAG,MAAM,EAgBrE,CAAC;AAEF,eAAO,MAAM,gBAAgB,QACtB,kBAAkB,GAAG,SAAS,KAClC,OAaF,CAAC"}
|
@@ -1,86 +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 { PrimitiveInstanceValue, PRIMITIVE_TYPE, TdsExecutionResult, } from '@finos/legend-graph';
|
17
|
-
import { guaranteeType, isNonNullable, isString } from '@finos/legend-shared';
|
18
|
-
import { QueryBuilderPostFilterOperator_StartWith } from './fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js';
|
19
|
-
import { PostFilterConditionState, QueryBuilderPostFilterTreeConditionNodeData, } from './fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js';
|
20
|
-
import { QueryBuilderProjectionColumnState, QueryBuilderSimpleProjectionColumnState, } from './fetch-structure/projection/QueryBuilderProjectionColumnState.js';
|
21
|
-
import { QueryBuilderProjectionState } from './fetch-structure/projection/QueryBuilderProjectionState.js';
|
22
|
-
const TYPEAHEAD_TAKE_LIMIT = 10;
|
23
|
-
const START_LENGTH = 3;
|
24
|
-
const createAndSetupQueryBuilderStateForTypeahead = (queryBuilderState) => {
|
25
|
-
const builderState = queryBuilderState.cloneQueryBuilderState();
|
26
|
-
builderState.querySetupState = queryBuilderState.querySetupState;
|
27
|
-
const projectionState = guaranteeType(builderState.fetchStructureState.implementation, QueryBuilderProjectionState);
|
28
|
-
projectionState.resultSetModifierState.distinct = true;
|
29
|
-
projectionState.resultSetModifierState.limit = TYPEAHEAD_TAKE_LIMIT;
|
30
|
-
return builderState;
|
31
|
-
};
|
32
|
-
const buildColumnTypeaheadQuery = (builderState, columnState, value) => {
|
33
|
-
const projectionState = guaranteeType(builderState.fetchStructureState.implementation, QueryBuilderProjectionState);
|
34
|
-
let projectionColumnState;
|
35
|
-
if (columnState instanceof QueryBuilderProjectionColumnState) {
|
36
|
-
projectionColumnState = columnState;
|
37
|
-
}
|
38
|
-
else {
|
39
|
-
projectionColumnState = columnState.projectionColumnState;
|
40
|
-
const aggregationState = projectionState.aggregationState;
|
41
|
-
aggregationState.columns = [columnState];
|
42
|
-
}
|
43
|
-
projectionState.columns = [projectionColumnState];
|
44
|
-
const postConditionState = new PostFilterConditionState(projectionState.postFilterState, columnState, value, new QueryBuilderPostFilterOperator_StartWith());
|
45
|
-
const postFilterNode = new QueryBuilderPostFilterTreeConditionNodeData(undefined, postConditionState);
|
46
|
-
projectionState.postFilterState.addNodeFromNode(postFilterNode, undefined);
|
47
|
-
return builderState.resultState.buildExecutionRawLambda();
|
48
|
-
};
|
49
|
-
export const buildPropertyTypeaheadQuery = (queryBuilderState, propertyExpression, value) => {
|
50
|
-
const builderState = createAndSetupQueryBuilderStateForTypeahead(queryBuilderState);
|
51
|
-
const projectionState = guaranteeType(builderState.fetchStructureState.implementation, QueryBuilderProjectionState);
|
52
|
-
const columnState = new QueryBuilderSimpleProjectionColumnState(projectionState, propertyExpression, false);
|
53
|
-
return buildColumnTypeaheadQuery(builderState, columnState, value);
|
54
|
-
};
|
55
|
-
export const buildProjectionColumnTypeaheadQuery = (queryBuilderState, columnState, value) => {
|
56
|
-
const builderState = createAndSetupQueryBuilderStateForTypeahead(queryBuilderState);
|
57
|
-
return buildColumnTypeaheadQuery(builderState, columnState, value);
|
58
|
-
};
|
59
|
-
export const buildTypeaheadOptions = (result) => {
|
60
|
-
const tdsResult = guaranteeType(result, TdsExecutionResult, 'Typeahead search is only supported for TDS result sets');
|
61
|
-
const options = [];
|
62
|
-
tdsResult.result.rows
|
63
|
-
.map((r) => r.values[0])
|
64
|
-
.filter(isNonNullable)
|
65
|
-
.forEach((r) => {
|
66
|
-
if (isString(r)) {
|
67
|
-
options.push(r);
|
68
|
-
}
|
69
|
-
});
|
70
|
-
return options;
|
71
|
-
};
|
72
|
-
export const performTypeahead = (val) => {
|
73
|
-
if (val instanceof PrimitiveInstanceValue) {
|
74
|
-
const _type = val.genericType.value.rawType;
|
75
|
-
switch (_type.path) {
|
76
|
-
case PRIMITIVE_TYPE.STRING: {
|
77
|
-
const value = val.values[0];
|
78
|
-
return value.length >= START_LENGTH;
|
79
|
-
}
|
80
|
-
default:
|
81
|
-
return false;
|
82
|
-
}
|
83
|
-
}
|
84
|
-
return false;
|
85
|
-
};
|
86
|
-
//# sourceMappingURL=QueryBuilderTypeaheadHelper.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTypeaheadHelper.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderTypeaheadHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAIL,sBAAsB,EACtB,cAAc,EACd,kBAAkB,GAEnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAC9E,OAAO,EAAE,wCAAwC,EAAE,MAAM,gGAAgG,CAAC;AAE1J,OAAO,EACL,wBAAwB,EACxB,2CAA2C,GAC5C,MAAM,yEAAyE,CAAC;AACjF,OAAO,EACL,iCAAiC,EACjC,uCAAuC,GACxC,MAAM,mEAAmE,CAAC;AAE3E,OAAO,EAAE,2BAA2B,EAAE,MAAM,6DAA6D,CAAC;AAE1G,MAAM,oBAAoB,GAAG,EAAE,CAAC;AAChC,MAAM,YAAY,GAAG,CAAC,CAAC;AAEvB,MAAM,2CAA2C,GAAG,CAClD,iBAAoC,EACjB,EAAE;IACrB,MAAM,YAAY,GAAG,iBAAiB,CAAC,sBAAsB,EAAE,CAAC;IAChE,YAAY,CAAC,eAAe,GAA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AAG,GAAG,CAAC,WAAW,CAAC,KAAK,CAAC,OAAO,CAAC;QAC5C,QAAQ,KAAK,CAAC,IAAI,EAAE;YAClB,KAAK,cAAc,CAAC,MAAM,CAAC,CAAC;gBAC1B,MAAM,KAAK,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC,CAAW,CAAC;gBACtC,OAAO,KAAK,CAAC,MAAM,IAAI,YAAY,CAAC;aACrC;YACD;gBACE,OAAO,KAAK,CAAC;SAChB;KACF;IACD,OAAO,KAAK,CAAC;AACf,CAAC,CAAC"}
|
@@ -1,26 +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 { RawLambda } from '@finos/legend-graph';
|
18
|
-
export declare class QueryBuilderUnsupportedState {
|
19
|
-
queryBuilderState: QueryBuilderState;
|
20
|
-
rawLambda?: RawLambda | undefined;
|
21
|
-
lambdaError?: Error | undefined;
|
22
|
-
constructor(queryBuilderState: QueryBuilderState);
|
23
|
-
setRawLambda(rawLambda: RawLambda | undefined): void;
|
24
|
-
setLambdaError(lambdaError: Error | undefined): void;
|
25
|
-
}
|
26
|
-
//# sourceMappingURL=QueryBuilderUnsupportedState.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderUnsupportedState.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderUnsupportedState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAErD,qBAAa,4BAA4B;IACvC,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,SAAS,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;IAClC,WAAW,CAAC,EAAE,KAAK,GAAG,SAAS,CAAC;gBAEpB,iBAAiB,EAAE,iBAAiB;IAUhD,YAAY,CAAC,SAAS,EAAE,SAAS,GAAG,SAAS,GAAG,IAAI;IAGpD,cAAc,CAAC,WAAW,EAAE,KAAK,GAAG,SAAS,GAAG,IAAI;CAGrD"}
|
@@ -1,36 +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 { makeAutoObservable, action } from 'mobx';
|
17
|
-
export class QueryBuilderUnsupportedState {
|
18
|
-
queryBuilderState;
|
19
|
-
rawLambda;
|
20
|
-
lambdaError;
|
21
|
-
constructor(queryBuilderState) {
|
22
|
-
makeAutoObservable(this, {
|
23
|
-
queryBuilderState: false,
|
24
|
-
setRawLambda: action,
|
25
|
-
setLambdaError: action,
|
26
|
-
});
|
27
|
-
this.queryBuilderState = queryBuilderState;
|
28
|
-
}
|
29
|
-
setRawLambda(rawLambda) {
|
30
|
-
this.rawLambda = rawLambda;
|
31
|
-
}
|
32
|
-
setLambdaError(lambdaError) {
|
33
|
-
this.lambdaError = lambdaError;
|
34
|
-
}
|
35
|
-
}
|
36
|
-
//# sourceMappingURL=QueryBuilderUnsupportedState.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderUnsupportedState.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderUnsupportedState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,kBAAkB,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAIlD,MAAM,OAAO,4BAA4B;IACvC,iBAAiB,CAAoB;IACrC,SAAS,CAAyB;IAClC,WAAW,CAAqB;IAEhC,YAAY,iBAAoC;QAC9C,kBAAkB,CAAC,IAAI,EAAE;YACvB,iBAAiB,EAAE,KAAK;YACxB,YAAY,EAAE,MAAM;YACpB,cAAc,EAAE,MAAM;SACvB,CAAC,CAAC;QAEH,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC7C,CAAC;IAED,YAAY,CAAC,SAAgC;QAC3C,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC7B,CAAC;IACD,cAAc,CAAC,WAA8B;QAC3C,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;IACjC,CAAC;CACF"}
|
@@ -1,20 +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 { LambdaFunction } from '@finos/legend-graph';
|
17
|
-
import type { QueryBuilderState } from './QueryBuilderState.js';
|
18
|
-
import type { LambdaFunctionBuilderOption } from './QueryBuilderValueSpecificationBuilderHelper.js';
|
19
|
-
export declare const buildLambdaFunction: (queryBuilderState: QueryBuilderState, options?: LambdaFunctionBuilderOption) => LambdaFunction;
|
20
|
-
//# sourceMappingURL=QueryBuilderValueSpecificationBuilder.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,EAWL,cAAc,EAIf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAIhE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,kDAAkD,CAAC;AA+BpG,eAAO,MAAM,mBAAmB,sBACX,iBAAiB,YAC1B,2BAA2B,KACpC,cA2GF,CAAC"}
|