@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,87 +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 { guaranteeNonNullable } from '@finos/legend-shared';
|
17
|
-
import { getMilestoneTemporalStereotype, extractElementNameFromPath, InstanceValue, PackageableElementExplicitReference, CORE_PURE_PATH, FunctionType, GenericType, GenericTypeExplicitReference, LambdaFunction, SimpleFunctionExpression, TYPICAL_MULTIPLICITY_TYPE, MILESTONING_STEREOTYPE, } from '@finos/legend-graph';
|
18
|
-
import { buildParametersLetLambdaFunc } from '@finos/legend-application';
|
19
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../QueryBuilder_Const.js';
|
20
|
-
import { buildFilterExpression } from './filter/QueryBuilderFilterValueSpecificationBuilder.js';
|
21
|
-
const buildGetAllFunction = (_class, multiplicity) => {
|
22
|
-
const _func = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.GET_ALL), multiplicity);
|
23
|
-
const classInstance = new InstanceValue(multiplicity, GenericTypeExplicitReference.create(new GenericType(_class)));
|
24
|
-
classInstance.values[0] = PackageableElementExplicitReference.create(_class);
|
25
|
-
_func.parametersValues.push(classInstance);
|
26
|
-
return _func;
|
27
|
-
};
|
28
|
-
const buildFetchStructure = (fetchStructureState, lambdaFunction, options) => {
|
29
|
-
fetchStructureState.implementation.appendFetchStructure(lambdaFunction, options);
|
30
|
-
};
|
31
|
-
export const buildLambdaFunction = (queryBuilderState, options) => {
|
32
|
-
const _class = guaranteeNonNullable(queryBuilderState.querySetupState._class, 'Class is required to build query');
|
33
|
-
const multiplicityOne = queryBuilderState.graphManagerState.graph.getTypicalMultiplicity(TYPICAL_MULTIPLICITY_TYPE.ONE);
|
34
|
-
const typeAny = queryBuilderState.graphManagerState.graph.getType(CORE_PURE_PATH.ANY);
|
35
|
-
const lambdaFunction = new LambdaFunction(new FunctionType(typeAny, multiplicityOne));
|
36
|
-
// build getAll()
|
37
|
-
const getAllFunction = buildGetAllFunction(_class, multiplicityOne);
|
38
|
-
// build milestoning parameter(s) for getAll()
|
39
|
-
const milestoningStereotype = getMilestoneTemporalStereotype(_class, queryBuilderState.graphManagerState.graph);
|
40
|
-
if (milestoningStereotype) {
|
41
|
-
switch (milestoningStereotype) {
|
42
|
-
case MILESTONING_STEREOTYPE.BUSINESS_TEMPORAL: {
|
43
|
-
getAllFunction.parametersValues.push(guaranteeNonNullable(queryBuilderState.querySetupState.businessDate, `Milestoning class should have a parameter of type 'Date'`));
|
44
|
-
break;
|
45
|
-
}
|
46
|
-
case MILESTONING_STEREOTYPE.PROCESSING_TEMPORAL: {
|
47
|
-
getAllFunction.parametersValues.push(guaranteeNonNullable(queryBuilderState.querySetupState.processingDate, `Milestoning class should have a parameter of type 'Date'`));
|
48
|
-
break;
|
49
|
-
}
|
50
|
-
case MILESTONING_STEREOTYPE.BITEMPORAL: {
|
51
|
-
getAllFunction.parametersValues.push(guaranteeNonNullable(queryBuilderState.querySetupState.processingDate, `Milestoning class should have a parameter of type 'Date'`));
|
52
|
-
getAllFunction.parametersValues.push(guaranteeNonNullable(queryBuilderState.querySetupState.businessDate, `Milestoning class should have a parameter of type 'Date'`));
|
53
|
-
break;
|
54
|
-
}
|
55
|
-
default:
|
56
|
-
}
|
57
|
-
}
|
58
|
-
lambdaFunction.expressionSequence[0] = getAllFunction;
|
59
|
-
// build filter
|
60
|
-
const filterFunction = buildFilterExpression(queryBuilderState.filterState, getAllFunction);
|
61
|
-
if (filterFunction) {
|
62
|
-
lambdaFunction.expressionSequence[0] = filterFunction;
|
63
|
-
}
|
64
|
-
// build fetch-structure
|
65
|
-
buildFetchStructure(queryBuilderState.fetchStructureState, lambdaFunction, options);
|
66
|
-
// build parameters
|
67
|
-
if (!queryBuilderState.mode.isParametersDisabled &&
|
68
|
-
queryBuilderState.queryParametersState.parameterStates.length) {
|
69
|
-
// NOTE: if we are executing:
|
70
|
-
// 1. set the parameters to empty
|
71
|
-
// 2. add let statements for each parameter
|
72
|
-
if (options?.isBuildingExecutionQuery) {
|
73
|
-
lambdaFunction.functionType.parameters = [];
|
74
|
-
const letsFuncs = buildParametersLetLambdaFunc(queryBuilderState.graphManagerState.graph, queryBuilderState.queryParametersState.parameterStates);
|
75
|
-
lambdaFunction.expressionSequence = [
|
76
|
-
...letsFuncs.expressionSequence,
|
77
|
-
...lambdaFunction.expressionSequence,
|
78
|
-
];
|
79
|
-
}
|
80
|
-
else {
|
81
|
-
lambdaFunction.functionType.parameters =
|
82
|
-
queryBuilderState.queryParametersState.parameterStates.map((e) => e.parameter);
|
83
|
-
}
|
84
|
-
}
|
85
|
-
return lambdaFunction;
|
86
|
-
};
|
87
|
-
//# sourceMappingURL=QueryBuilderValueSpecificationBuilder.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderValueSpecificationBuilder.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAGL,8BAA8B,EAC9B,0BAA0B,EAC1B,aAAa,EACb,mCAAmC,EACnC,cAAc,EACd,YAAY,EACZ,WAAW,EACX,4BAA4B,EAC5B,cAAc,EACd,wBAAwB,EACxB,yBAAyB,EACzB,sBAAsB,GACvB,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,4BAA4B,EAAE,MAAM,2BAA2B,CAAC;AACzE,OAAO,EAAE,iCAAiC,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,EAAE,qBAAqB,EAAE,MAAM,yDAAyD,CAAC;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ACR,CAAC;IAEF,mBAAmB;IACnB,IACE,CAAC,iBAAiB,CAAC,IAAI,CAAC,oBAAoB;QAC5C,iBAAiB,CAAC,oBAAoB,CAAC,eAAe,CAAC,MAAM,EAC7D;QACA,6BAA6B;QAC7B,iCAAiC;QACjC,2CAA2C;QAC3C,IAAI,OAAO,EAAE,wBAAwB,EAAE;YACrC,cAAc,CAAC,YAAY,CAAC,UAAU,GAAG,EAAE,CAAC;YAC5C,MAAM,SAAS,GAAG,4BAA4B,CAC5C,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,EACzC,iBAAiB,CAAC,oBAAoB,CAAC,eAAe,CACvD,CAAC;YACF,cAAc,CAAC,kBAAkB,GAAG;gBAClC,GAAG,SAAS,CAAC,kBAAkB;gBAC/B,GAAG,cAAc,CAAC,kBAAkB;aACrC,CAAC;SACH;aAAM;YACL,cAAc,CAAC,YAAY,CAAC,UAAU;gBACpC,iBAAiB,CAAC,oBAAoB,CAAC,eAAe,CAAC,GAAG,CACxD,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,SAAS,CACnB,CAAC;SACL;KACF;IAED,OAAO,cAAc,CAAC;AACxB,CAAC,CAAC"}
|
@@ -1,27 +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 { AbstractPropertyExpression, type ValueSpecification } from '@finos/legend-graph';
|
17
|
-
import type { QueryBuilderState } from './QueryBuilderState.js';
|
18
|
-
export declare const buildPropertyExpressionChain: (propertyExpression: AbstractPropertyExpression, queryBuilderState: QueryBuilderState, isDatePropagationNotSupported?: boolean) => ValueSpecification;
|
19
|
-
export declare type LambdaFunctionBuilderOption = {
|
20
|
-
/**
|
21
|
-
* Set queryBuilderState to `true` when we construct query for execution within the app.
|
22
|
-
* queryBuilderState will make the lambda function building process overrides several query values, such as the row limit.
|
23
|
-
*/
|
24
|
-
isBuildingExecutionQuery?: boolean | undefined;
|
25
|
-
keepSourceInformation?: boolean | undefined;
|
26
|
-
};
|
27
|
-
//# sourceMappingURL=QueryBuilderValueSpecificationBuilderHelper.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderValueSpecificationBuilderHelper.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderValueSpecificationBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,OAAO,EACL,0BAA0B,EAS1B,KAAK,kBAAkB,EACxB,MAAM,qBAAqB,CAAC;AAQ7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAsGhE,eAAO,MAAM,4BAA4B,uBACnB,0BAA0B,qBAC3B,iBAAiB,kCACJ,OAAO,KACtC,kBAmGF,CAAC;AAEF,oBAAY,2BAA2B,GAAG;IACxC;;;OAGG;IACH,wBAAwB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/C,qBAAqB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC7C,CAAC"}
|
@@ -1,156 +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 { functionExpression_setParametersValues, propertyExpression_setParametersValue, } from '@finos/legend-application';
|
17
|
-
import { AbstractPropertyExpression, Class, DerivedProperty, getMilestoneTemporalStereotype, INTERNAL__PropagatedValue, matchFunctionName, MILESTONING_STEREOTYPE, SimpleFunctionExpression, TYPICAL_MULTIPLICITY_TYPE, } from '@finos/legend-graph';
|
18
|
-
import { getNullableFirstElement, guaranteeNonNullable, guaranteeType, } from '@finos/legend-shared';
|
19
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../QueryBuilder_Const.js';
|
20
|
-
import { getDerivedPropertyMilestoningSteoreotype } from './QueryBuilderPropertyEditorState.js';
|
21
|
-
/**
|
22
|
-
* Checks if the provided property expression match the criteria for default
|
23
|
-
* date propagation so we know whether we need to fill in values for the parameter
|
24
|
-
* or just propgate values from the parent's expression
|
25
|
-
*
|
26
|
-
* NOTE: this takes date propgation into account. See the table below for all
|
27
|
-
* the combination:
|
28
|
-
*
|
29
|
-
* | [source] | | | | |
|
30
|
-
* ----------------------------------------------------------------------
|
31
|
-
* [target] | | NONE | PR_TMP | BI_TMP | BU_TMP |
|
32
|
-
* ----------------------------------------------------------------------
|
33
|
-
* | NONE | N.A. | PRD | PRD,BUD | BUD |
|
34
|
-
* ----------------------------------------------------------------------
|
35
|
-
* | PR_TMP | N.A. | X | PRD,BUD | BUD |
|
36
|
-
* ----------------------------------------------------------------------
|
37
|
-
* | BI_TMP | N.A. | X | X | X |
|
38
|
-
* ----------------------------------------------------------------------
|
39
|
-
* | BU_TMP | N.A. | PRD | PRD,BUD | X |
|
40
|
-
* ----------------------------------------------------------------------
|
41
|
-
*
|
42
|
-
* Annotations:
|
43
|
-
*
|
44
|
-
* [source]: source temporal type
|
45
|
-
* [target]: target temporal type
|
46
|
-
*
|
47
|
-
* PR_TMP : processing temporal
|
48
|
-
* BI_TMP : bitemporal
|
49
|
-
* BU_TMP : business temporal
|
50
|
-
*
|
51
|
-
* X : no default date propagated
|
52
|
-
* PRD : default processing date is propagated
|
53
|
-
* BUD : default business date is propgated
|
54
|
-
*/
|
55
|
-
const isDefaultDatePropagationSupported = (currentPropertyExpression, queryBuilderState, prevPropertyExpression, isDatePropagationNotSupported) => {
|
56
|
-
if (isDatePropagationNotSupported) {
|
57
|
-
return false;
|
58
|
-
}
|
59
|
-
const property = currentPropertyExpression.func;
|
60
|
-
const graph = queryBuilderState.graphManagerState.graph;
|
61
|
-
// Default date propagation is not supported for current expression when the previous property expression is a derived property.
|
62
|
-
if (prevPropertyExpression &&
|
63
|
-
prevPropertyExpression.func instanceof DerivedProperty &&
|
64
|
-
prevPropertyExpression.func._OWNER.derivedProperties.includes(prevPropertyExpression.func)) {
|
65
|
-
return false;
|
66
|
-
}
|
67
|
-
// Default date propagation is not supported for current expression when the milestonedParameterValues of
|
68
|
-
// the previous property expression doesn't match with the global milestonedParameterValues
|
69
|
-
if (prevPropertyExpression &&
|
70
|
-
prevPropertyExpression.func.genericType.value.rawType instanceof Class) {
|
71
|
-
const milestoningStereotype = getMilestoneTemporalStereotype(prevPropertyExpression.func.genericType.value.rawType, graph);
|
72
|
-
if (milestoningStereotype &&
|
73
|
-
!prevPropertyExpression.parametersValues
|
74
|
-
.slice(1)
|
75
|
-
.every((parameterValue) => parameterValue instanceof INTERNAL__PropagatedValue)) {
|
76
|
-
return false;
|
77
|
-
}
|
78
|
-
}
|
79
|
-
if (property.genericType.value.rawType instanceof Class) {
|
80
|
-
// the stereotype of source class of current property expression.
|
81
|
-
const sourceStereotype = property instanceof DerivedProperty
|
82
|
-
? getDerivedPropertyMilestoningSteoreotype(property, graph)
|
83
|
-
: undefined;
|
84
|
-
// Default date propagation is always supported if the source is `bitemporal`
|
85
|
-
if (sourceStereotype === MILESTONING_STEREOTYPE.BITEMPORAL) {
|
86
|
-
return true;
|
87
|
-
}
|
88
|
-
// the stereotype (if exists) of the generic type of current property expression.
|
89
|
-
const targetStereotype = getMilestoneTemporalStereotype(property.genericType.value.rawType, graph);
|
90
|
-
// Default date propagation is supported when stereotype of both source and target matches
|
91
|
-
if (sourceStereotype && targetStereotype) {
|
92
|
-
return sourceStereotype === targetStereotype;
|
93
|
-
}
|
94
|
-
}
|
95
|
-
return false;
|
96
|
-
};
|
97
|
-
export const buildPropertyExpressionChain = (propertyExpression, queryBuilderState, isDatePropagationNotSupported) => {
|
98
|
-
const graph = queryBuilderState.graphManagerState.graph;
|
99
|
-
const newPropertyExpression = new AbstractPropertyExpression('', graph.getTypicalMultiplicity(TYPICAL_MULTIPLICITY_TYPE.ONE));
|
100
|
-
newPropertyExpression.func = propertyExpression.func;
|
101
|
-
newPropertyExpression.parametersValues = propertyExpression.parametersValues;
|
102
|
-
let nextExpression;
|
103
|
-
let currentExpression = newPropertyExpression;
|
104
|
-
while (currentExpression instanceof AbstractPropertyExpression) {
|
105
|
-
nextExpression = getNullableFirstElement(currentExpression.parametersValues);
|
106
|
-
if (nextExpression instanceof AbstractPropertyExpression) {
|
107
|
-
const parameterValue = new AbstractPropertyExpression('', graph.getTypicalMultiplicity(TYPICAL_MULTIPLICITY_TYPE.ONE));
|
108
|
-
parameterValue.func = nextExpression.func;
|
109
|
-
parameterValue.parametersValues = nextExpression.parametersValues;
|
110
|
-
nextExpression = parameterValue;
|
111
|
-
currentExpression.parametersValues[0] = parameterValue;
|
112
|
-
}
|
113
|
-
if (currentExpression.func instanceof DerivedProperty) {
|
114
|
-
const parameterValues = currentExpression.parametersValues.slice(1);
|
115
|
-
parameterValues.forEach((parameterValue, index) => {
|
116
|
-
if (parameterValue instanceof INTERNAL__PropagatedValue) {
|
117
|
-
// Replace with argumentless derived property expression only when default date propagation is supported
|
118
|
-
if (isDefaultDatePropagationSupported(guaranteeType(currentExpression, AbstractPropertyExpression), queryBuilderState, nextExpression instanceof AbstractPropertyExpression
|
119
|
-
? nextExpression
|
120
|
-
: undefined, isDatePropagationNotSupported)) {
|
121
|
-
// NOTE: For `bitemporal` property check if the property expression has parameters which are not instance of
|
122
|
-
// `INTERNAL_PropagatedValue` then pass the parameters as user explicitly changed values of either of the parameters.
|
123
|
-
if ((index === 1 &&
|
124
|
-
guaranteeType(currentExpression, AbstractPropertyExpression)
|
125
|
-
.parametersValues.length === 3) ||
|
126
|
-
(index === 0 &&
|
127
|
-
guaranteeType(currentExpression, AbstractPropertyExpression)
|
128
|
-
.parametersValues.length === 3 &&
|
129
|
-
!(guaranteeType(currentExpression, AbstractPropertyExpression)
|
130
|
-
.parametersValues[2] instanceof INTERNAL__PropagatedValue))) {
|
131
|
-
propertyExpression_setParametersValue(guaranteeType(currentExpression, AbstractPropertyExpression), index + 1, parameterValue.getValue(), queryBuilderState.observableContext);
|
132
|
-
}
|
133
|
-
else {
|
134
|
-
functionExpression_setParametersValues(guaranteeType(currentExpression, AbstractPropertyExpression), [
|
135
|
-
guaranteeNonNullable(guaranteeType(currentExpression, AbstractPropertyExpression)
|
136
|
-
.parametersValues[0]),
|
137
|
-
], queryBuilderState.observableContext);
|
138
|
-
}
|
139
|
-
}
|
140
|
-
else {
|
141
|
-
propertyExpression_setParametersValue(guaranteeType(currentExpression, AbstractPropertyExpression), index + 1, parameterValue.getValue(), queryBuilderState.observableContext);
|
142
|
-
}
|
143
|
-
}
|
144
|
-
});
|
145
|
-
}
|
146
|
-
currentExpression = nextExpression;
|
147
|
-
// Take care of chains of subtype (a pattern that is not useful, but we want to support and rectify)
|
148
|
-
// $x.employees->subType(@Person)->subType(@Staff)
|
149
|
-
while (currentExpression instanceof SimpleFunctionExpression &&
|
150
|
-
matchFunctionName(currentExpression.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.SUBTYPE)) {
|
151
|
-
currentExpression = getNullableFirstElement(currentExpression.parametersValues);
|
152
|
-
}
|
153
|
-
}
|
154
|
-
return newPropertyExpression;
|
155
|
-
};
|
156
|
-
//# sourceMappingURL=QueryBuilderValueSpecificationBuilderHelper.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderValueSpecificationBuilderHelper.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderValueSpecificationBuilderHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,sCAAsC,EACtC,qCAAqC,GACtC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,0BAA0B,EAC1B,KAAK,EACL,eAAe,EACf,8BAA8B,EAC9B,yBAAyB,EACzB,iBAAiB,EACjB,sBAAsB,EACtB,wBAAwB,EACxB,yBAAyB,GAE1B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,uBAAuB,EACvB,oBAAoB,EACpB,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iCAAiC,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,EAAE,wCAAwC,EAAE,MAAM,sCAAsC,CAAC;AAGhG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAM,iCAAiC,GAAG,CACxC,yBAAqD,EACrD,iBAAoC,EACpC,sBAA+D,EAC/D,6BAAuC,EAC9B,EAAE;IACX,IAAI,6BAA6B,EAAE;QACjC,OAAO,KAAK,CAAC;KACd;IACD,MAAM,QAAQ,GAAG,yBAAyB,CAAC,IAAI,CAAC;IAChD,MAAM,KAAK,GAAG,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,CAAC;IACxD,gIAAgI;IAChI,IACE,sBAAsB;QACtB,sBAAsB,CAAC,IAAI,YAAY,eAAe;QACtD,sBAAsB,CAAC,IAAI,CAAC,MAAM,CAAC,iBAAiB,CAAC,QAAQ,CAC3D,sBAAsB,CAAC,IAAI,CAC5B,EACD;QACA,OAAO,KAAK,CAAC;KACd;IAC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OAAO,qBAAqB,CAAC;AAC/B,CAAC,CAAC"}
|
@@ -1,61 +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 PureModel, type ValueSpecification, LambdaFunctionInstanceValue, PRIMITIVE_TYPE, type Type, SimpleFunctionExpression, AbstractPropertyExpression } from '@finos/legend-graph';
|
17
|
-
export declare const getNonCollectionValueSpecificationType: (valueSpecification: ValueSpecification) => Type | undefined;
|
18
|
-
export declare const getCollectionValueSpecificationType: (graph: PureModel, values: ValueSpecification[]) => Type | undefined;
|
19
|
-
export declare const unwrapNotExpression: (expression: SimpleFunctionExpression) => SimpleFunctionExpression | undefined;
|
20
|
-
export declare const buildNotExpression: (graph: PureModel, expression: ValueSpecification) => ValueSpecification;
|
21
|
-
export declare const isPropertyExpressionChainOptional: (expression: ValueSpecification | undefined) => boolean;
|
22
|
-
export declare const isTypeCompatibleForAssignment: (type: Type | undefined, assignmentType: Type) => boolean;
|
23
|
-
export declare const generateDefaultValueForPrimitiveType: (type: PRIMITIVE_TYPE) => unknown;
|
24
|
-
export declare const buildGenericLambdaFunctionInstanceValue: (lambdaParameterName: string, lambdaBodyExpressions: ValueSpecification[], graph: PureModel) => LambdaFunctionInstanceValue;
|
25
|
-
/**
|
26
|
-
* Checks if the milestoning property expression is valid in terms of number of parameter values provided
|
27
|
-
* in relation to its milestoning type.
|
28
|
-
*
|
29
|
-
* NOTE: this takes date propgation into account. See the table below for all
|
30
|
-
* the combination:
|
31
|
-
*
|
32
|
-
* | [source] | | | | |
|
33
|
-
* ----------------------------------------------------------------------
|
34
|
-
* [target] | | NONE | PR_TMP | BI_TMP | BU_TMP |
|
35
|
-
* ----------------------------------------------------------------------
|
36
|
-
* | NONE | N.A. | PRD | PRD,BUD | BUD |
|
37
|
-
* ----------------------------------------------------------------------
|
38
|
-
* | PR_TMP | N.A. | X | PRD,BUD | BUD |
|
39
|
-
* ----------------------------------------------------------------------
|
40
|
-
* | BI_TMP | N.A. | X | X | X |
|
41
|
-
* ----------------------------------------------------------------------
|
42
|
-
* | BU_TMP | N.A. | PRD | PRD,BUD | X |
|
43
|
-
* ----------------------------------------------------------------------
|
44
|
-
*
|
45
|
-
* Annotations:
|
46
|
-
*
|
47
|
-
* [source]: source temporal type
|
48
|
-
* [target]: target temporal type
|
49
|
-
*
|
50
|
-
* PR_TMP : processing temporal
|
51
|
-
* BI_TMP : bitemporal
|
52
|
-
* BU_TMP : business temporal
|
53
|
-
*
|
54
|
-
* X : no default date propagated
|
55
|
-
* PRD : default processing date is propagated
|
56
|
-
* BUD : default business date is propgated
|
57
|
-
*/
|
58
|
-
export declare const validatePropertyExpressionChain: (propertyExpression: AbstractPropertyExpression, graph: PureModel) => void;
|
59
|
-
export declare const extractNullableStringFromInstanceValue: (value: ValueSpecification) => string | undefined;
|
60
|
-
export declare const extractNullableNumberFromInstanceValue: (value: ValueSpecification) => number | undefined;
|
61
|
-
//# sourceMappingURL=QueryBuilderValueSpecificationHelper.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderValueSpecificationHelper.d.ts","sourceRoot":"","sources":["../../src/stores/QueryBuilderValueSpecificationHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,SAAS,EACd,KAAK,kBAAkB,EAIvB,2BAA2B,EAC3B,cAAc,EAMd,KAAK,IAAI,EAGT,wBAAwB,EAIxB,0BAA0B,EAM3B,MAAM,qBAAqB,CAAC;AAa7B,eAAO,MAAM,sCAAsC,uBAC7B,kBAAkB,KACrC,IAAI,GAAG,SAWT,CAAC;AAEF,eAAO,MAAM,mCAAmC,UACvC,SAAS,UACR,kBAAkB,EAAE,KAC3B,IAAI,GAAG,SA4CT,CAAC;AAEF,eAAO,MAAM,mBAAmB,eAClB,wBAAwB,KACnC,wBAAwB,GAAG,SAa7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,UACtB,SAAS,cACJ,kBAAkB,KAC7B,kBAUF,CAAC;AAEF,eAAO,MAAM,iCAAiC,eAChC,kBAAkB,GAAG,SAAS,KACzC,OAiBF,CAAC;AAEF,eAAO,MAAM,6BAA6B,SAClC,IAAI,GAAG,SAAS,kBACN,IAAI,KACnB,OA6BF,CAAC;AAEF,eAAO,MAAM,oCAAoC,SACzC,cAAc,KACnB,OAqBF,CAAC;AAEF,eAAO,MAAM,uCAAuC,wBAC7B,MAAM,yBACJ,kBAAkB,EAAE,SACpC,SAAS,KACf,2BAgBF,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,eAAO,MAAM,+BAA+B,uBACtB,0BAA0B,SACvC,SAAS,KACf,IAmDF,CAAC;AAEF,eAAO,MAAM,sCAAsC,UAC1C,kBAAkB,KACxB,MAAM,GAAG,SAKX,CAAC;AAEF,eAAO,MAAM,sCAAsC,UAC1C,kBAAkB,KACxB,MAAM,GAAG,SAKX,CAAC"}
|
@@ -1,235 +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 { CORE_PURE_PATH, FunctionType, LambdaFunction, LambdaFunctionInstanceValue, PRIMITIVE_TYPE, TYPICAL_MULTIPLICITY_TYPE, VariableExpression, DATE_FORMAT, DATE_TIME_FORMAT, matchFunctionName, PrimitiveInstanceValue, EnumValueInstanceValue, SimpleFunctionExpression, extractElementNameFromPath, AbstractPropertyExpression, isSuperType, Class, getMilestoneTemporalStereotype, DerivedProperty, MILESTONING_STEREOTYPE, } from '@finos/legend-graph';
|
17
|
-
import { addUniqueEntry, guaranteeNonNullable, guaranteeType, isNumber, isString, UnsupportedOperationError, } from '@finos/legend-shared';
|
18
|
-
import { format } from 'date-fns';
|
19
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../QueryBuilder_Const.js';
|
20
|
-
import { getDerivedPropertyMilestoningSteoreotype } from './QueryBuilderPropertyEditorState.js';
|
21
|
-
export const getNonCollectionValueSpecificationType = (valueSpecification) => {
|
22
|
-
if (valueSpecification instanceof PrimitiveInstanceValue) {
|
23
|
-
return valueSpecification.genericType.value.rawType;
|
24
|
-
}
|
25
|
-
else if (valueSpecification instanceof EnumValueInstanceValue) {
|
26
|
-
return guaranteeNonNullable(valueSpecification.values[0]).value._OWNER;
|
27
|
-
}
|
28
|
-
else if (valueSpecification instanceof VariableExpression) {
|
29
|
-
return valueSpecification.genericType?.value.rawType;
|
30
|
-
}
|
31
|
-
else if (valueSpecification instanceof SimpleFunctionExpression) {
|
32
|
-
return valueSpecification.genericType?.value.rawType;
|
33
|
-
}
|
34
|
-
return undefined;
|
35
|
-
};
|
36
|
-
export const getCollectionValueSpecificationType = (graph, values) => {
|
37
|
-
if (values.every((val) => val instanceof PrimitiveInstanceValue)) {
|
38
|
-
const valuePrimitiveTypes = [];
|
39
|
-
values.forEach((val) => {
|
40
|
-
const primitiveType = val.genericType.value.rawType;
|
41
|
-
switch (primitiveType.path) {
|
42
|
-
case PRIMITIVE_TYPE.STRING:
|
43
|
-
addUniqueEntry(valuePrimitiveTypes, graph.getPrimitiveType(PRIMITIVE_TYPE.STRING));
|
44
|
-
break;
|
45
|
-
case PRIMITIVE_TYPE.INTEGER:
|
46
|
-
case PRIMITIVE_TYPE.DECIMAL:
|
47
|
-
case PRIMITIVE_TYPE.FLOAT:
|
48
|
-
case PRIMITIVE_TYPE.NUMBER:
|
49
|
-
addUniqueEntry(valuePrimitiveTypes, graph.getPrimitiveType(PRIMITIVE_TYPE.NUMBER));
|
50
|
-
break;
|
51
|
-
default:
|
52
|
-
valuePrimitiveTypes.push(undefined);
|
53
|
-
break;
|
54
|
-
}
|
55
|
-
});
|
56
|
-
if (valuePrimitiveTypes.length > 1) {
|
57
|
-
return undefined;
|
58
|
-
}
|
59
|
-
return valuePrimitiveTypes[0];
|
60
|
-
}
|
61
|
-
else if (values.every((val) => val instanceof EnumValueInstanceValue)) {
|
62
|
-
const valueEnumerationTypes = [];
|
63
|
-
values.forEach((val) => {
|
64
|
-
addUniqueEntry(valueEnumerationTypes, guaranteeNonNullable(val.values[0]).value._OWNER);
|
65
|
-
});
|
66
|
-
if (valueEnumerationTypes.length > 1) {
|
67
|
-
return undefined;
|
68
|
-
}
|
69
|
-
return valueEnumerationTypes[0];
|
70
|
-
}
|
71
|
-
return undefined;
|
72
|
-
};
|
73
|
-
export const unwrapNotExpression = (expression) => {
|
74
|
-
if (matchFunctionName(expression.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.NOT)) {
|
75
|
-
return guaranteeType(expression.parametersValues[0], SimpleFunctionExpression);
|
76
|
-
}
|
77
|
-
return undefined;
|
78
|
-
};
|
79
|
-
export const buildNotExpression = (graph, expression) => {
|
80
|
-
const multiplicityOne = graph.getTypicalMultiplicity(TYPICAL_MULTIPLICITY_TYPE.ONE);
|
81
|
-
const expressionNot = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.NOT), multiplicityOne);
|
82
|
-
expressionNot.parametersValues.push(expression);
|
83
|
-
return expressionNot;
|
84
|
-
};
|
85
|
-
export const isPropertyExpressionChainOptional = (expression) => {
|
86
|
-
let isOptional = false;
|
87
|
-
let propertyExpression = expression;
|
88
|
-
while (propertyExpression &&
|
89
|
-
propertyExpression instanceof AbstractPropertyExpression) {
|
90
|
-
if (propertyExpression.func.multiplicity.lowerBound === 0) {
|
91
|
-
isOptional = true;
|
92
|
-
break;
|
93
|
-
}
|
94
|
-
propertyExpression = propertyExpression.parametersValues.at(0);
|
95
|
-
while (propertyExpression instanceof SimpleFunctionExpression) {
|
96
|
-
propertyExpression = propertyExpression.parametersValues.at(0);
|
97
|
-
}
|
98
|
-
}
|
99
|
-
return isOptional;
|
100
|
-
};
|
101
|
-
export const isTypeCompatibleForAssignment = (type, assignmentType) => {
|
102
|
-
const NUMERIC_PRIMITIVE_TYPES = [
|
103
|
-
PRIMITIVE_TYPE.NUMBER,
|
104
|
-
PRIMITIVE_TYPE.INTEGER,
|
105
|
-
PRIMITIVE_TYPE.DECIMAL,
|
106
|
-
PRIMITIVE_TYPE.FLOAT,
|
107
|
-
];
|
108
|
-
const DATE_PRIMITIVE_TYPES = [
|
109
|
-
PRIMITIVE_TYPE.DATE,
|
110
|
-
PRIMITIVE_TYPE.DATETIME,
|
111
|
-
PRIMITIVE_TYPE.STRICTDATE,
|
112
|
-
PRIMITIVE_TYPE.LATESTDATE,
|
113
|
-
];
|
114
|
-
// When changing the return type for LHS, the RHS value should be adjusted accordingly.
|
115
|
-
return (type !== undefined &&
|
116
|
-
// Numeric value is handled loosely because of autoboxing
|
117
|
-
// e.g. LHS (integer) = RHS (float) is acceptable
|
118
|
-
((NUMERIC_PRIMITIVE_TYPES.includes(type.path) &&
|
119
|
-
NUMERIC_PRIMITIVE_TYPES.includes(assignmentType.path)) ||
|
120
|
-
// Date value is handled loosely as well if the LHS is of type DateTime
|
121
|
-
// This is because we would simulate auto-boxing for date by altering the
|
122
|
-
// Pure function used for the operation
|
123
|
-
// e.g. LHS(DateTime) = RHS(Date) -> we use isOnDay() instead of is()
|
124
|
-
DATE_PRIMITIVE_TYPES.includes(type.path) ||
|
125
|
-
type === assignmentType ||
|
126
|
-
isSuperType(assignmentType, type)));
|
127
|
-
};
|
128
|
-
export const generateDefaultValueForPrimitiveType = (type) => {
|
129
|
-
switch (type) {
|
130
|
-
case PRIMITIVE_TYPE.STRING:
|
131
|
-
return '';
|
132
|
-
case PRIMITIVE_TYPE.BOOLEAN:
|
133
|
-
return false;
|
134
|
-
case PRIMITIVE_TYPE.NUMBER:
|
135
|
-
case PRIMITIVE_TYPE.DECIMAL:
|
136
|
-
case PRIMITIVE_TYPE.FLOAT:
|
137
|
-
case PRIMITIVE_TYPE.INTEGER:
|
138
|
-
return 0;
|
139
|
-
case PRIMITIVE_TYPE.DATE:
|
140
|
-
case PRIMITIVE_TYPE.STRICTDATE:
|
141
|
-
return format(new Date(Date.now()), DATE_FORMAT);
|
142
|
-
case PRIMITIVE_TYPE.DATETIME:
|
143
|
-
return format(new Date(Date.now()), DATE_TIME_FORMAT);
|
144
|
-
default:
|
145
|
-
throw new UnsupportedOperationError(`Can't generate default value for primitive type '${type}'`);
|
146
|
-
}
|
147
|
-
};
|
148
|
-
export const buildGenericLambdaFunctionInstanceValue = (lambdaParameterName, lambdaBodyExpressions, graph) => {
|
149
|
-
const multiplicityOne = graph.getTypicalMultiplicity(TYPICAL_MULTIPLICITY_TYPE.ONE);
|
150
|
-
const typeAny = graph.getType(CORE_PURE_PATH.ANY);
|
151
|
-
const functionInstanceValue = new LambdaFunctionInstanceValue(multiplicityOne);
|
152
|
-
const functionType = new FunctionType(typeAny, multiplicityOne);
|
153
|
-
functionType.parameters.push(new VariableExpression(lambdaParameterName, multiplicityOne));
|
154
|
-
const lambdaFunction = new LambdaFunction(functionType);
|
155
|
-
lambdaFunction.expressionSequence = lambdaBodyExpressions;
|
156
|
-
functionInstanceValue.values.push(lambdaFunction);
|
157
|
-
return functionInstanceValue;
|
158
|
-
};
|
159
|
-
/**
|
160
|
-
* Checks if the milestoning property expression is valid in terms of number of parameter values provided
|
161
|
-
* in relation to its milestoning type.
|
162
|
-
*
|
163
|
-
* NOTE: this takes date propgation into account. See the table below for all
|
164
|
-
* the combination:
|
165
|
-
*
|
166
|
-
* | [source] | | | | |
|
167
|
-
* ----------------------------------------------------------------------
|
168
|
-
* [target] | | NONE | PR_TMP | BI_TMP | BU_TMP |
|
169
|
-
* ----------------------------------------------------------------------
|
170
|
-
* | NONE | N.A. | PRD | PRD,BUD | BUD |
|
171
|
-
* ----------------------------------------------------------------------
|
172
|
-
* | PR_TMP | N.A. | X | PRD,BUD | BUD |
|
173
|
-
* ----------------------------------------------------------------------
|
174
|
-
* | BI_TMP | N.A. | X | X | X |
|
175
|
-
* ----------------------------------------------------------------------
|
176
|
-
* | BU_TMP | N.A. | PRD | PRD,BUD | X |
|
177
|
-
* ----------------------------------------------------------------------
|
178
|
-
*
|
179
|
-
* Annotations:
|
180
|
-
*
|
181
|
-
* [source]: source temporal type
|
182
|
-
* [target]: target temporal type
|
183
|
-
*
|
184
|
-
* PR_TMP : processing temporal
|
185
|
-
* BI_TMP : bitemporal
|
186
|
-
* BU_TMP : business temporal
|
187
|
-
*
|
188
|
-
* X : no default date propagated
|
189
|
-
* PRD : default processing date is propagated
|
190
|
-
* BUD : default business date is propgated
|
191
|
-
*/
|
192
|
-
export const validatePropertyExpressionChain = (propertyExpression, graph) => {
|
193
|
-
if (propertyExpression.func.genericType.value.rawType instanceof Class &&
|
194
|
-
propertyExpression.func._OWNER._generatedMilestonedProperties.length !== 0) {
|
195
|
-
const name = propertyExpression.func.name;
|
196
|
-
const func = propertyExpression.func._OWNER._generatedMilestonedProperties.find((e) => e.name === name);
|
197
|
-
if (func) {
|
198
|
-
const targetStereotype = getMilestoneTemporalStereotype(propertyExpression.func.genericType.value.rawType, graph);
|
199
|
-
if (targetStereotype) {
|
200
|
-
const sourceStereotype = getDerivedPropertyMilestoningSteoreotype(guaranteeType(func, DerivedProperty), graph);
|
201
|
-
if (sourceStereotype !== MILESTONING_STEREOTYPE.BITEMPORAL &&
|
202
|
-
targetStereotype !== sourceStereotype) {
|
203
|
-
if (targetStereotype === MILESTONING_STEREOTYPE.BITEMPORAL) {
|
204
|
-
if (propertyExpression.parametersValues.length !== 3 &&
|
205
|
-
!sourceStereotype) {
|
206
|
-
throw new UnsupportedOperationError(`Property of milestoning sterotype '${MILESTONING_STEREOTYPE.BITEMPORAL}' should have exactly two parameters`);
|
207
|
-
}
|
208
|
-
else if (propertyExpression.parametersValues.length < 2) {
|
209
|
-
throw new UnsupportedOperationError(`Property of milestoning sterotype '${MILESTONING_STEREOTYPE.BITEMPORAL}' should have at least one parameter`);
|
210
|
-
}
|
211
|
-
else if (propertyExpression.parametersValues.length > 3) {
|
212
|
-
throw new UnsupportedOperationError(`Property of milestoning sterotype '${MILESTONING_STEREOTYPE.BITEMPORAL}' should not have more than two parameters`);
|
213
|
-
}
|
214
|
-
}
|
215
|
-
else if (propertyExpression.parametersValues.length !== 2) {
|
216
|
-
throw new UnsupportedOperationError(`Property of milestoning sterotype '${targetStereotype}' should have exactly one parameter`);
|
217
|
-
}
|
218
|
-
}
|
219
|
-
}
|
220
|
-
}
|
221
|
-
}
|
222
|
-
};
|
223
|
-
export const extractNullableStringFromInstanceValue = (value) => {
|
224
|
-
if (value instanceof PrimitiveInstanceValue && isString(value.values[0])) {
|
225
|
-
return value.values[0];
|
226
|
-
}
|
227
|
-
return undefined;
|
228
|
-
};
|
229
|
-
export const extractNullableNumberFromInstanceValue = (value) => {
|
230
|
-
if (value instanceof PrimitiveInstanceValue && isNumber(value.values[0])) {
|
231
|
-
return value.values[0];
|
232
|
-
}
|
233
|
-
return undefined;
|
234
|
-
};
|
235
|
-
//# sourceMappingURL=QueryBuilderValueSpecificationHelper.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderValueSpecificationHelper.js","sourceRoot":"","sources":["../../src/stores/QueryBuilderValueSpecificationHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,cAAc,EACd,YAAY,EACZ,cAAc,EACd,2BAA2B,EAC3B,cAAc,EACd,yBAAyB,EACzB,kBAAkB,EAClB,WAAW,EACX,gBAAgB,EAChB,iBAAiB,EAEjB,sBAAsB,EACtB,sBAAsB,EACtB,wBAAwB,EAGxB,0BAA0B,EAC1B,0BAA0B,EAC1B,WAAW,EACX,KAAK,EACL,8BAA8B,EAC9B,eAAe,EACf,sBAAsB,GACvB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,cAAc,EACd,oBAAoB,EACpB,aAAa,EACb,QAAQ,EACR,QAAQ,EACR,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,iCAAiC,EAAE,MAAM,0BAA0B,CAAC;AAC7E,OAAO,EAAE,wCAAwC,EAAE,MAAM,sCAAsC,CAAC;AAEhG,MAAM,CAAC,MAAM,sCAAsC,GAAG,CACpD,kBAAsC,EACpB,EAAE;IACpB,IAAI,kBAAkB,YAAY,sBAAsB,EAAE;QACxD,OAAO,kBAAkB,CAAC,WAAW,CAAC,KAAK,CAAC,OAAO,CAAC;KACrD;SAAM,IAAI,kBAAkB,YAAY,sBAAsB,EAAE;QAC/D,OAAO,oBAAoB,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC;KACxE;SAAM,IAAI,kBAAkB,YAAY,kBAAkB,EAAE;QAC3D,OAAO,kBAAkB,CAAC,WAAW,EAAE,KAAK,CAAC,OAAO,CAAC;KACtD;SAAM,IAAI,kBAAkB,YAAY,wBAAwB,EAAE;QAC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AAC;yBACH;6BAAM,IAAI,kBAAkB,CAAC,gBAAgB,CAAC,MAAM,GAAG,CAAC,EAAE;4BACzD,MAAM,IAAI,yBAAyB,CACjC,sCAAsC,sBAAsB,CAAC,UAAU,sCAAsC,CAC9G,CAAC;yBACH;6BAAM,IAAI,kBAAkB,CAAC,gBAAgB,CAAC,MAAM,GAAG,CAAC,EAAE;4BACzD,MAAM,IAAI,yBAAyB,CACjC,sCAAsC,sBAAsB,CAAC,UAAU,4CAA4C,CACpH,CAAC;yBACH;qBACF;yBAAM,IAAI,kBAAkB,CAAC,gBAAgB,CAAC,MAAM,KAAK,CAAC,EAAE;wBAC3D,MAAM,IAAI,yBAAyB,CACjC,sCAAsC,gBAAgB,qCAAqC,CAC5F,CAAC;qBACH;iBACF;aACF;SACF;KACF;AACH,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,sCAAsC,GAAG,CACpD,KAAyB,EACL,EAAE;IACtB,IAAI,KAAK,YAAY,sBAAsB,IAAI,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE;QACxE,OAAO,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;KACxB;IACD,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,sCAAsC,GAAG,CACpD,KAAyB,EACL,EAAE;IACtB,IAAI,KAAK,YAAY,sBAAsB,IAAI,QAAQ,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE;QACxE,OAAO,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;KACxB;IACD,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC"}
|
@@ -1,28 +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 { LambdaParametersState, type LambdaParameterState } from '@finos/legend-application';
|
17
|
-
import type { QueryBuilderState } from './QueryBuilderState.js';
|
18
|
-
export declare const QUERY_BUILDER_PARAMETER_DND_TYPE = "PARAMETER";
|
19
|
-
export interface QueryBuilderParameterDragSource {
|
20
|
-
variable: LambdaParameterState;
|
21
|
-
}
|
22
|
-
export declare class QueryParametersState extends LambdaParametersState {
|
23
|
-
selectedParameter: LambdaParameterState | undefined;
|
24
|
-
queryBuilderState: QueryBuilderState;
|
25
|
-
constructor(queryBuilderState: QueryBuilderState);
|
26
|
-
setSelectedParameter(val: LambdaParameterState | undefined): void;
|
27
|
-
}
|
28
|
-
//# sourceMappingURL=QueryParametersState.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"QueryParametersState.d.ts","sourceRoot":"","sources":["../../src/stores/QueryParametersState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,qBAAqB,EACrB,KAAK,oBAAoB,EAC1B,MAAM,2BAA2B,CAAC;AAEnC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,eAAO,MAAM,gCAAgC,cAAc,CAAC;AAE5D,MAAM,WAAW,+BAA+B;IAC9C,QAAQ,EAAE,oBAAoB,CAAC;CAChC;AAED,qBAAa,oBAAqB,SAAQ,qBAAqB;IAC7D,iBAAiB,EAAE,oBAAoB,GAAG,SAAS,CAAC;IACpD,iBAAiB,EAAE,iBAAiB,CAAC;gBAEzB,iBAAiB,EAAE,iBAAiB;IAehD,oBAAoB,CAAC,GAAG,EAAE,oBAAoB,GAAG,SAAS,GAAG,IAAI;CAGlE"}
|