@finos/legend-query-builder 2.1.7 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/__lib__/QueryBuilderDocumentation.d.ts.map +1 -0
- package/lib/__lib__/QueryBuilderDocumentation.js.map +1 -0
- package/lib/__lib__/QueryBuilderEvent.d.ts.map +1 -0
- package/lib/__lib__/QueryBuilderEvent.js.map +1 -0
- package/lib/__lib__/QueryBuilderSetting.d.ts.map +1 -0
- package/lib/__lib__/QueryBuilderSetting.js.map +1 -0
- package/lib/__lib__/QueryBuilderTelemetryHelper.d.ts.map +1 -0
- package/lib/__lib__/QueryBuilderTelemetryHelper.js.map +1 -0
- package/lib/__lib__/QueryBuilderTesting.d.ts.map +1 -0
- package/lib/__lib__/QueryBuilderTesting.js.map +1 -0
- package/lib/{components/shared/ElementIconUtils.d.ts → __test__.d.ts} +2 -3
- package/lib/__test__.d.ts.map +1 -0
- package/lib/__test__.js +17 -0
- package/lib/__test__.js.map +1 -0
- package/lib/components/QueryBuilder.js +3 -3
- package/lib/components/QueryBuilder.js.map +1 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.js +3 -4
- package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -1
- package/lib/components/QueryBuilderDiffPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderDiffPanel.js +7 -51
- package/lib/components/QueryBuilderDiffPanel.js.map +1 -1
- package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderParametersPanel.js +4 -4
- package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
- package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderResultPanel.js +4 -4
- package/lib/components/QueryBuilderResultPanel.js.map +1 -1
- package/lib/components/QueryBuilderSideBar.d.ts +1 -2
- package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
- package/lib/components/QueryBuilderSideBar.js +3 -5
- package/lib/components/QueryBuilderSideBar.js.map +1 -1
- package/lib/components/QueryBuilderTextEditor.js +2 -2
- package/lib/components/QueryBuilderTextEditor.js.map +1 -1
- package/lib/components/QueryBuilderUnsupportedQueryEditor.js +2 -2
- package/lib/components/QueryBuilderUnsupportedQueryEditor.js.map +1 -1
- package/lib/components/QueryBuilder_LegendApplicationPlugin.js +1 -1
- package/lib/components/QueryBuilder_LegendApplicationPlugin.js.map +1 -1
- package/lib/components/{QueryBuilderComponentTestUtils.d.ts → __test-utils__/QueryBuilderComponentTestUtils.d.ts} +1 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.d.ts.map +1 -0
- package/lib/components/{QueryBuilderComponentTestUtils.js → __test-utils__/QueryBuilderComponentTestUtils.js} +17 -15
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js.map +1 -0
- package/lib/components/execution-plan/ExecutionPlanViewer.d.ts.map +1 -1
- package/lib/components/execution-plan/ExecutionPlanViewer.js +3 -3
- package/lib/components/execution-plan/ExecutionPlanViewer.js.map +1 -1
- package/lib/components/execution-plan/SQLExecutionNodeViewer.d.ts.map +1 -1
- package/lib/components/execution-plan/SQLExecutionNodeViewer.js +1 -2
- package/lib/components/execution-plan/SQLExecutionNodeViewer.js.map +1 -1
- package/lib/components/explorer/QueryBuilderExplorerPanel.js +2 -2
- package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js +2 -2
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js +3 -3
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
- package/lib/components/shared/BasicValueSpecificationEditor.js +1 -1
- package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
- package/lib/components/shared/CustomDatePicker.d.ts.map +1 -1
- package/lib/components/shared/CustomDatePicker.js +39 -37
- package/lib/components/shared/CustomDatePicker.js.map +1 -1
- package/lib/components/shared/LambdaEditor.d.ts.map +1 -1
- package/lib/components/shared/LambdaEditor.js +9 -7
- package/lib/components/shared/LambdaEditor.js.map +1 -1
- package/lib/components/workflows/ClassQueryBuilder.d.ts.map +1 -1
- package/lib/components/workflows/ClassQueryBuilder.js +2 -3
- package/lib/components/workflows/ClassQueryBuilder.js.map +1 -1
- package/lib/components/workflows/MappingQueryBuilder.d.ts.map +1 -1
- package/lib/components/workflows/MappingQueryBuilder.js +2 -3
- package/lib/components/workflows/MappingQueryBuilder.js.map +1 -1
- package/lib/components/workflows/ServiceQueryBuilder.d.ts.map +1 -1
- package/lib/components/workflows/ServiceQueryBuilder.js +2 -1
- package/lib/components/workflows/ServiceQueryBuilder.js.map +1 -1
- package/lib/{graphManager/QueryBuilderSupportedFunctions.d.ts → graph/QueryBuilderMetaModelConst.d.ts} +22 -1
- package/lib/graph/QueryBuilderMetaModelConst.d.ts.map +1 -0
- package/lib/{graphManager/QueryBuilderSupportedFunctions.js → graph/QueryBuilderMetaModelConst.js} +27 -1
- package/lib/graph/QueryBuilderMetaModelConst.js.map +1 -0
- package/lib/graph-manager/QueryBuilder_GraphManagerPreset.d.ts.map +1 -0
- package/lib/{graphManager → graph-manager}/QueryBuilder_GraphManagerPreset.js +1 -1
- package/lib/graph-manager/QueryBuilder_GraphManagerPreset.js.map +1 -0
- package/lib/{graphManager/QueryBuilder_GraphManagerPlugin.d.ts → graph-manager/QueryBuilder_PureGraphManagerPlugin.d.ts} +2 -1
- package/lib/graph-manager/QueryBuilder_PureGraphManagerPlugin.d.ts.map +1 -0
- package/lib/{graphManager/QueryBuilder_GraphManagerPlugin.js → graph-manager/QueryBuilder_PureGraphManagerPlugin.js} +9 -1
- package/lib/graph-manager/QueryBuilder_PureGraphManagerPlugin.js.map +1 -0
- package/lib/graph-manager/action/analytics/MappingRuntimeCompatibilityAnalysis.d.ts.map +1 -0
- package/lib/graph-manager/action/analytics/MappingRuntimeCompatibilityAnalysis.js.map +1 -0
- package/lib/graph-manager/action/analytics/ServiceExecutionAnalysis.d.ts.map +1 -0
- package/lib/graph-manager/action/analytics/ServiceExecutionAnalysis.js.map +1 -0
- package/lib/graph-manager/protocol/pure/QueryBuilder_PureGraphManagerExtension.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/QueryBuilder_PureGraphManagerExtension.js.map +1 -0
- package/lib/graph-manager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.js.map +1 -0
- package/lib/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts.map +1 -0
- package/lib/{graphManager → graph-manager}/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js +26 -2
- package/lib/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts.map +1 -0
- package/lib/{graphManager → graph-manager}/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js +2 -2
- package/lib/graph-manager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts.map +1 -0
- package/lib/{graphManager → graph-manager}/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js +5 -5
- package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js.map +1 -0
- package/lib/index.css +16 -0
- package/lib/index.d.ts +10 -11
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +8 -9
- package/lib/index.js.map +1 -1
- package/lib/package.json +3 -2
- package/lib/stores/QueryBuilderConstantsState.js +3 -3
- package/lib/stores/QueryBuilderConstantsState.js.map +1 -1
- package/lib/stores/QueryBuilderGroupOperationHelper.js +1 -1
- package/lib/stores/QueryBuilderGroupOperationHelper.js.map +1 -1
- package/lib/stores/QueryBuilderParametersState.js +2 -2
- package/lib/stores/QueryBuilderParametersState.js.map +1 -1
- package/lib/stores/QueryBuilderPropertyEditorState.js +3 -3
- package/lib/stores/QueryBuilderPropertyEditorState.js.map +1 -1
- package/lib/stores/QueryBuilderResultState.js +4 -4
- package/lib/stores/QueryBuilderResultState.js.map +1 -1
- package/lib/stores/QueryBuilderState.js +2 -2
- package/lib/stores/QueryBuilderState.js.map +1 -1
- package/lib/stores/QueryBuilderStateBuilder.js +1 -1
- package/lib/stores/QueryBuilderStateBuilder.js.map +1 -1
- package/lib/{graphManager/QueryBuilderHashUtils.d.ts → stores/QueryBuilderStateHashUtils.d.ts} +2 -2
- package/lib/stores/QueryBuilderStateHashUtils.d.ts.map +1 -0
- package/lib/stores/QueryBuilderStateHashUtils.js +111 -0
- package/lib/stores/QueryBuilderStateHashUtils.js.map +1 -0
- package/lib/stores/QueryBuilderTextEditorState.js +2 -2
- package/lib/stores/QueryBuilderTextEditorState.js.map +1 -1
- package/lib/stores/QueryBuilderUnsupportedQueryState.js +2 -2
- package/lib/stores/QueryBuilderUnsupportedQueryState.js.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilder.js +1 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js +1 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.js +1 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -1
- package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.d.ts +39 -0
- package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.d.ts.map +1 -0
- package/lib/stores/{QueryBuilderStateTestUtils.js → __test-utils__/QueryBuilderStateTestUtils.js} +54 -6
- package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.js.map +1 -0
- package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.js +2 -2
- package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.js.map +1 -1
- package/lib/stores/explorer/QueryBuilderExplorerState.js +1 -1
- package/lib/stores/explorer/QueryBuilderExplorerState.js.map +1 -1
- package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts +1 -2
- package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts.map +1 -1
- package/lib/stores/explorer/QueryBuilderPropertySearchState.js +1 -2
- package/lib/stores/explorer/QueryBuilderPropertySearchState.js.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +2 -2
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.d.ts.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js +4 -4
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js +2 -2
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.js +3 -3
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.js +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.js.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +4 -4
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryResultSetModifierState.js +3 -3
- package/lib/stores/fetch-structure/tds/QueryResultSetModifierState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js +3 -3
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.js +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.js +5 -3
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.js +5 -3
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js +3 -3
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js +3 -3
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js +3 -3
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Max.js +5 -3
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Max.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Min.js +5 -3
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Min.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js +3 -3
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js +3 -3
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Sum.js +5 -3
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Sum.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +6 -6
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.js +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.js +3 -2
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js +4 -4
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js +4 -4
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js +9 -7
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js +6 -6
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js +6 -6
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js +6 -4
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js +3 -3
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js +6 -6
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js +6 -6
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js +4 -4
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js +3 -3
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.js +6 -6
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowStateBuilder.js +1 -1
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowStateBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowValueSpecificationBuilder.js +1 -1
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Average.js +3 -3
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Average.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Count.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Count.js +5 -3
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Count.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Max.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Max.js +5 -3
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Max.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Min.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Min.js +5 -3
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Min.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Sum.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Sum.js +5 -3
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Sum.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_AverageRank.js +3 -3
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_AverageRank.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_DenseRank.js +3 -3
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_DenseRank.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_Rank.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_Rank.js +5 -3
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_Rank.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_RowNumber.js +3 -3
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_RowNumber.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.js +6 -6
- package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.js +1 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js +1 -1
- package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.js +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js +6 -4
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js +6 -4
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js +11 -7
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js +6 -6
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js +6 -6
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js +6 -4
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js +6 -4
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js +8 -6
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js +6 -6
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js +6 -4
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningState.js +2 -2
- package/lib/stores/milestoning/QueryBuilderMilestoningState.js.map +1 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts +2 -2
- package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts.map +1 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.js +4 -3
- package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
- package/lib/stores/watermark/QueryBuilderWatermarkState.js +2 -2
- package/lib/stores/watermark/QueryBuilderWatermarkState.js.map +1 -1
- package/lib/stores/watermark/QueryBuilderWatermarkStateBuilder.js +1 -1
- package/lib/stores/watermark/QueryBuilderWatermarkStateBuilder.js.map +1 -1
- package/lib/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.js +1 -1
- package/lib/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.js.map +1 -1
- package/package.json +11 -10
- package/src/__test__.ts +17 -0
- package/src/components/QueryBuilder.tsx +3 -3
- package/src/components/QueryBuilderConstantExpressionPanel.tsx +4 -5
- package/src/components/QueryBuilderDiffPanel.tsx +10 -80
- package/src/components/QueryBuilderParametersPanel.tsx +8 -9
- package/src/components/QueryBuilderResultPanel.tsx +7 -5
- package/src/components/QueryBuilderSideBar.tsx +5 -10
- package/src/components/QueryBuilderTextEditor.tsx +4 -4
- package/src/components/QueryBuilderUnsupportedQueryEditor.tsx +2 -2
- package/src/components/QueryBuilder_LegendApplicationPlugin.ts +1 -1
- package/src/components/{QueryBuilderComponentTestUtils.tsx → __test-utils__/QueryBuilderComponentTestUtils.tsx} +29 -34
- package/src/components/execution-plan/ExecutionPlanViewer.tsx +6 -3
- package/src/components/execution-plan/SQLExecutionNodeViewer.tsx +4 -2
- package/src/components/explorer/QueryBuilderExplorerPanel.tsx +2 -2
- package/src/components/explorer/QueryBuilderPropertySearchPanel.tsx +2 -2
- package/src/components/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx +5 -3
- package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +1 -1
- package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +1 -1
- package/src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx +1 -1
- package/src/components/filter/QueryBuilderFilterPanel.tsx +1 -1
- package/src/components/shared/BasicValueSpecificationEditor.tsx +1 -1
- package/src/components/shared/CustomDatePicker.tsx +54 -41
- package/src/components/shared/LambdaEditor.tsx +10 -8
- package/src/components/workflows/ClassQueryBuilder.tsx +6 -8
- package/src/components/workflows/MappingQueryBuilder.tsx +6 -8
- package/src/components/workflows/ServiceQueryBuilder.tsx +5 -5
- package/src/{graphManager/QueryBuilderSupportedFunctions.ts → graph/QueryBuilderMetaModelConst.ts} +29 -0
- package/src/{graphManager → graph-manager}/QueryBuilder_GraphManagerPreset.ts +1 -1
- package/src/{graphManager/QueryBuilder_GraphManagerPlugin.ts → graph-manager/QueryBuilder_PureGraphManagerPlugin.ts} +9 -0
- package/src/{graphManager → graph-manager}/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts +55 -1
- package/src/{graphManager → graph-manager}/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.ts +2 -2
- package/src/{graphManager → graph-manager}/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts +13 -5
- package/src/index.ts +13 -11
- package/src/stores/QueryBuilderConstantsState.ts +3 -3
- package/src/stores/QueryBuilderGroupOperationHelper.ts +1 -1
- package/src/stores/QueryBuilderParametersState.ts +2 -2
- package/src/stores/QueryBuilderPropertyEditorState.ts +3 -3
- package/src/stores/QueryBuilderResultState.ts +4 -4
- package/src/stores/QueryBuilderState.ts +2 -2
- package/src/stores/QueryBuilderStateBuilder.ts +1 -1
- package/src/{graphManager/QueryBuilderHashUtils.ts → stores/QueryBuilderStateHashUtils.ts} +1 -1
- package/src/stores/QueryBuilderTextEditorState.ts +2 -2
- package/src/stores/QueryBuilderUnsupportedQueryState.ts +2 -2
- package/src/stores/QueryBuilderValueSpecificationBuilder.ts +1 -1
- package/src/stores/QueryBuilderValueSpecificationBuilderHelper.ts +1 -1
- package/src/stores/QueryBuilderValueSpecificationHelper.ts +1 -1
- package/src/stores/{QueryBuilderStateTestUtils.ts → __test-utils__/QueryBuilderStateTestUtils.ts} +80 -8
- package/src/stores/entitlements/QueryBuilderCheckEntitlementsState.ts +2 -2
- package/src/stores/explorer/QueryBuilderExplorerState.ts +1 -1
- package/src/stores/explorer/QueryBuilderPropertySearchState.ts +1 -1
- package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +2 -2
- package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.ts +7 -5
- package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.ts +2 -2
- package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.ts +5 -3
- package/src/stores/fetch-structure/tds/QueryBuilderTDSHelper.ts +1 -1
- package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +4 -4
- package/src/stores/fetch-structure/tds/QueryResultSetModifierState.ts +3 -3
- package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.ts +3 -3
- package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.ts +1 -1
- package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.ts +5 -3
- package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.ts +5 -3
- package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Distinct.ts +3 -3
- package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.ts +3 -3
- package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.ts +3 -3
- package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Max.ts +5 -3
- package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Min.ts +5 -3
- package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.ts +3 -3
- package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.ts +3 -3
- package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Sum.ts +5 -3
- package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +6 -6
- package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.ts +1 -1
- package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.ts +1 -1
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.ts +4 -4
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts +4 -4
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts +4 -4
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts +8 -7
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.ts +5 -6
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.ts +5 -6
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.ts +6 -4
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.ts +3 -3
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.ts +5 -6
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.ts +5 -6
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.ts +4 -4
- package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.ts +3 -3
- package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.ts +1 -1
- package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +1 -1
- package/src/stores/fetch-structure/tds/window/QueryBuilderWindowState.ts +6 -6
- package/src/stores/fetch-structure/tds/window/QueryBuilderWindowStateBuilder.ts +1 -1
- package/src/stores/fetch-structure/tds/window/QueryBuilderWindowValueSpecificationBuilder.ts +1 -1
- package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Average.ts +3 -3
- package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Count.ts +5 -3
- package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Max.ts +5 -3
- package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Min.ts +5 -3
- package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Sum.ts +5 -3
- package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_AverageRank.ts +3 -3
- package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_DenseRank.ts +3 -3
- package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_Rank.ts +5 -3
- package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_RowNumber.ts +3 -3
- package/src/stores/filter/QueryBuilderFilterState.ts +6 -6
- package/src/stores/filter/QueryBuilderFilterStateBuilder.ts +1 -1
- package/src/stores/filter/QueryBuilderFilterValueSpecificationBuilder.ts +1 -1
- package/src/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.ts +1 -1
- package/src/stores/filter/operators/QueryBuilderFilterOperator_Contain.ts +6 -4
- package/src/stores/filter/operators/QueryBuilderFilterOperator_EndWith.ts +6 -4
- package/src/stores/filter/operators/QueryBuilderFilterOperator_Equal.ts +10 -7
- package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.ts +5 -6
- package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.ts +5 -6
- package/src/stores/filter/operators/QueryBuilderFilterOperator_In.ts +6 -4
- package/src/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.ts +6 -4
- package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThan.ts +7 -6
- package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.ts +5 -6
- package/src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.ts +6 -4
- package/src/stores/milestoning/QueryBuilderMilestoningState.ts +2 -2
- package/src/stores/shared/ValueSpecificationEditorHelper.ts +4 -4
- package/src/stores/watermark/QueryBuilderWatermarkState.ts +2 -2
- package/src/stores/watermark/QueryBuilderWatermarkStateBuilder.ts +1 -1
- package/src/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.ts +1 -1
- package/tsconfig.json +19 -19
- package/lib/application/QueryBuilderDocumentation.d.ts.map +0 -1
- package/lib/application/QueryBuilderDocumentation.js.map +0 -1
- package/lib/application/QueryBuilderEvent.d.ts.map +0 -1
- package/lib/application/QueryBuilderEvent.js.map +0 -1
- package/lib/application/QueryBuilderSetting.d.ts.map +0 -1
- package/lib/application/QueryBuilderSetting.js.map +0 -1
- package/lib/application/QueryBuilderTelemetryHelper.d.ts.map +0 -1
- package/lib/application/QueryBuilderTelemetryHelper.js.map +0 -1
- package/lib/application/QueryBuilderTesting.d.ts.map +0 -1
- package/lib/application/QueryBuilderTesting.js.map +0 -1
- package/lib/components/QueryBuilderComponentTestUtils.d.ts.map +0 -1
- package/lib/components/QueryBuilderComponentTestUtils.js.map +0 -1
- 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/graphManager/QueryBuilderHashUtils.d.ts.map +0 -1
- package/lib/graphManager/QueryBuilderHashUtils.js +0 -111
- package/lib/graphManager/QueryBuilderHashUtils.js.map +0 -1
- package/lib/graphManager/QueryBuilderSupportedFunctions.d.ts.map +0 -1
- package/lib/graphManager/QueryBuilderSupportedFunctions.js.map +0 -1
- package/lib/graphManager/QueryBuilder_GraphManagerPlugin.d.ts.map +0 -1
- package/lib/graphManager/QueryBuilder_GraphManagerPlugin.js.map +0 -1
- package/lib/graphManager/QueryBuilder_GraphManagerPreset.d.ts.map +0 -1
- package/lib/graphManager/QueryBuilder_GraphManagerPreset.js.map +0 -1
- package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.d.ts.map +0 -1
- package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.js.map +0 -1
- package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.d.ts.map +0 -1
- package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.js.map +0 -1
- package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.js.map +0 -1
- package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.js.map +0 -1
- package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js.map +0 -1
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js.map +0 -1
- package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.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.map +0 -1
- package/src/components/shared/ElementIconUtils.tsx +0 -47
- /package/lib/{application → __lib__}/QueryBuilderDocumentation.d.ts +0 -0
- /package/lib/{application → __lib__}/QueryBuilderDocumentation.js +0 -0
- /package/lib/{application → __lib__}/QueryBuilderEvent.d.ts +0 -0
- /package/lib/{application → __lib__}/QueryBuilderEvent.js +0 -0
- /package/lib/{application → __lib__}/QueryBuilderSetting.d.ts +0 -0
- /package/lib/{application → __lib__}/QueryBuilderSetting.js +0 -0
- /package/lib/{application → __lib__}/QueryBuilderTelemetryHelper.d.ts +0 -0
- /package/lib/{application → __lib__}/QueryBuilderTelemetryHelper.js +0 -0
- /package/lib/{application → __lib__}/QueryBuilderTesting.d.ts +0 -0
- /package/lib/{application → __lib__}/QueryBuilderTesting.js +0 -0
- /package/lib/{graphManager → graph-manager}/QueryBuilder_GraphManagerPreset.d.ts +0 -0
- /package/lib/{graphManager → graph-manager}/action/analytics/MappingRuntimeCompatibilityAnalysis.d.ts +0 -0
- /package/lib/{graphManager → graph-manager}/action/analytics/MappingRuntimeCompatibilityAnalysis.js +0 -0
- /package/lib/{graphManager → graph-manager}/action/analytics/ServiceExecutionAnalysis.d.ts +0 -0
- /package/lib/{graphManager → graph-manager}/action/analytics/ServiceExecutionAnalysis.js +0 -0
- /package/lib/{graphManager → graph-manager}/protocol/pure/QueryBuilder_PureGraphManagerExtension.d.ts +0 -0
- /package/lib/{graphManager → graph-manager}/protocol/pure/QueryBuilder_PureGraphManagerExtension.js +0 -0
- /package/lib/{graphManager → graph-manager}/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.d.ts +0 -0
- /package/lib/{graphManager → graph-manager}/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.js +0 -0
- /package/lib/{graphManager → graph-manager}/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts +0 -0
- /package/lib/{graphManager → graph-manager}/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts +0 -0
- /package/lib/{graphManager → graph-manager}/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts +0 -0
- /package/src/{application → __lib__}/QueryBuilderDocumentation.ts +0 -0
- /package/src/{application → __lib__}/QueryBuilderEvent.ts +0 -0
- /package/src/{application → __lib__}/QueryBuilderSetting.ts +0 -0
- /package/src/{application → __lib__}/QueryBuilderTelemetryHelper.ts +0 -0
- /package/src/{application → __lib__}/QueryBuilderTesting.ts +0 -0
- /package/src/{graphManager → graph-manager}/action/analytics/MappingRuntimeCompatibilityAnalysis.ts +0 -0
- /package/src/{graphManager → graph-manager}/action/analytics/ServiceExecutionAnalysis.ts +0 -0
- /package/src/{graphManager → graph-manager}/protocol/pure/QueryBuilder_PureGraphManagerExtension.ts +0 -0
- /package/src/{graphManager → graph-manager}/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.ts +0 -0
package/src/stores/{QueryBuilderStateTestUtils.ts → __test-utils__/QueryBuilderStateTestUtils.ts}
RENAMED
@@ -15,24 +15,96 @@
|
|
15
15
|
*/
|
16
16
|
|
17
17
|
import {
|
18
|
-
|
19
|
-
|
20
|
-
|
18
|
+
ApplicationStore,
|
19
|
+
LegendApplicationConfig,
|
20
|
+
type LegendApplicationPlugin,
|
21
|
+
LegendApplicationPluginManager,
|
21
22
|
} from '@finos/legend-application';
|
23
|
+
import { TEST__getApplicationVersionData } from '@finos/legend-application/test';
|
22
24
|
import {
|
23
25
|
type RawLambda,
|
24
26
|
type RawMappingModelCoverageAnalysisResult,
|
27
|
+
type GraphManagerPluginManager,
|
28
|
+
type PureProtocolProcessorPlugin,
|
29
|
+
type PureGraphManagerPlugin,
|
30
|
+
type PureGraphPlugin,
|
31
|
+
} from '@finos/legend-graph';
|
32
|
+
import {
|
25
33
|
TEST__buildGraphWithEntities,
|
26
34
|
TEST__getTestGraphManagerState,
|
27
|
-
} from '@finos/legend-graph';
|
28
|
-
import { createSpy } from '@finos/legend-shared';
|
35
|
+
} from '@finos/legend-graph/test';
|
36
|
+
import { createSpy } from '@finos/legend-shared/test';
|
29
37
|
import type { Entity } from '@finos/legend-storage';
|
30
38
|
import { flowResult } from 'mobx';
|
31
|
-
import { QueryBuilder_GraphManagerPreset } from '
|
39
|
+
import { QueryBuilder_GraphManagerPreset } from '../../graph-manager/QueryBuilder_GraphManagerPreset.js';
|
32
40
|
import {
|
33
41
|
INTERNAL__BasicQueryBuilderState,
|
34
42
|
type QueryBuilderState,
|
35
|
-
} from '
|
43
|
+
} from '../QueryBuilderState.js';
|
44
|
+
|
45
|
+
export class TEST__LegendApplicationPluginManager
|
46
|
+
extends LegendApplicationPluginManager<LegendApplicationPlugin>
|
47
|
+
implements GraphManagerPluginManager
|
48
|
+
{
|
49
|
+
private pureProtocolProcessorPlugins: PureProtocolProcessorPlugin[] = [];
|
50
|
+
private pureGraphManagerPlugins: PureGraphManagerPlugin[] = [];
|
51
|
+
private pureGraphPlugins: PureGraphPlugin[] = [];
|
52
|
+
|
53
|
+
private constructor() {
|
54
|
+
super();
|
55
|
+
}
|
56
|
+
|
57
|
+
static create(): TEST__LegendApplicationPluginManager {
|
58
|
+
return new TEST__LegendApplicationPluginManager();
|
59
|
+
}
|
60
|
+
|
61
|
+
registerPureProtocolProcessorPlugin(
|
62
|
+
plugin: PureProtocolProcessorPlugin,
|
63
|
+
): void {
|
64
|
+
this.pureProtocolProcessorPlugins.push(plugin);
|
65
|
+
}
|
66
|
+
|
67
|
+
registerPureGraphManagerPlugin(plugin: PureGraphManagerPlugin): void {
|
68
|
+
this.pureGraphManagerPlugins.push(plugin);
|
69
|
+
}
|
70
|
+
|
71
|
+
registerPureGraphPlugin(plugin: PureGraphPlugin): void {
|
72
|
+
this.pureGraphPlugins.push(plugin);
|
73
|
+
}
|
74
|
+
|
75
|
+
getPureGraphManagerPlugins(): PureGraphManagerPlugin[] {
|
76
|
+
return [...this.pureGraphManagerPlugins];
|
77
|
+
}
|
78
|
+
|
79
|
+
getPureProtocolProcessorPlugins(): PureProtocolProcessorPlugin[] {
|
80
|
+
return [...this.pureProtocolProcessorPlugins];
|
81
|
+
}
|
82
|
+
|
83
|
+
getPureGraphPlugins(): PureGraphPlugin[] {
|
84
|
+
return [...this.pureGraphPlugins];
|
85
|
+
}
|
86
|
+
}
|
87
|
+
|
88
|
+
class TEST__LegendApplicationConfig extends LegendApplicationConfig {
|
89
|
+
override getDefaultApplicationStorageKey(): string {
|
90
|
+
return 'test';
|
91
|
+
}
|
92
|
+
}
|
93
|
+
|
94
|
+
export const TEST__getGenericApplicationConfig = (
|
95
|
+
extraConfigData = {},
|
96
|
+
): LegendApplicationConfig => {
|
97
|
+
const config = new TEST__LegendApplicationConfig({
|
98
|
+
configData: {
|
99
|
+
env: 'TEST',
|
100
|
+
appName: 'TEST',
|
101
|
+
...extraConfigData,
|
102
|
+
},
|
103
|
+
versionData: TEST__getApplicationVersionData(),
|
104
|
+
baseAddress: '/',
|
105
|
+
});
|
106
|
+
return config;
|
107
|
+
};
|
36
108
|
|
37
109
|
export const TEST__setUpQueryBuilderState = async (
|
38
110
|
entities: Entity[],
|
@@ -50,7 +122,7 @@ export const TEST__setUpQueryBuilderState = async (
|
|
50
122
|
): Promise<QueryBuilderState> => {
|
51
123
|
const pluginManager = TEST__LegendApplicationPluginManager.create();
|
52
124
|
pluginManager.usePresets([new QueryBuilder_GraphManagerPreset()]).install();
|
53
|
-
const applicationStore =
|
125
|
+
const applicationStore = new ApplicationStore(
|
54
126
|
TEST__getGenericApplicationConfig(),
|
55
127
|
pluginManager,
|
56
128
|
);
|
@@ -16,7 +16,7 @@
|
|
16
16
|
|
17
17
|
import { type Hashable, hashArray } from '@finos/legend-shared';
|
18
18
|
import { makeObservable, observable, action, computed } from 'mobx';
|
19
|
-
import {
|
19
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../QueryBuilderStateHashUtils.js';
|
20
20
|
import type { QueryBuilderState } from '../QueryBuilderState.js';
|
21
21
|
|
22
22
|
export class QueryBuilderCheckEntitlementsState implements Hashable {
|
@@ -39,7 +39,7 @@ export class QueryBuilderCheckEntitlementsState implements Hashable {
|
|
39
39
|
|
40
40
|
get hashCode(): string {
|
41
41
|
return hashArray([
|
42
|
-
|
42
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.CHECK_ENTITLEMENTS_STATE,
|
43
43
|
this.isCheckingEntitlements,
|
44
44
|
]);
|
45
45
|
}
|
@@ -67,7 +67,7 @@ import {
|
|
67
67
|
type QueryBuilderPreviewData,
|
68
68
|
} from '../QueryBuilderPreviewDataHelper.js';
|
69
69
|
import { QueryBuilderPropertySearchState } from './QueryBuilderPropertySearchState.js';
|
70
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../
|
70
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../graph/QueryBuilderMetaModelConst.js';
|
71
71
|
import { propertyExpression_setFunc } from '../shared/ValueSpecificationModifierHelper.js';
|
72
72
|
|
73
73
|
export enum QUERY_BUILDER_EXPLORER_TREE_DND_TYPE {
|
@@ -30,6 +30,7 @@ import {
|
|
30
30
|
addUniqueEntry,
|
31
31
|
deleteEntry,
|
32
32
|
guaranteeNonNullable,
|
33
|
+
FuzzySearchAdvancedConfigState,
|
33
34
|
} from '@finos/legend-shared';
|
34
35
|
import {
|
35
36
|
observable,
|
@@ -52,7 +53,6 @@ import {
|
|
52
53
|
QueryBuilderExplorerTreeSubTypeNodeData,
|
53
54
|
} from './QueryBuilderExplorerState.js';
|
54
55
|
import type { QueryBuilderState } from '../QueryBuilderState.js';
|
55
|
-
import { FuzzySearchAdvancedConfigState } from '@finos/legend-application/components';
|
56
56
|
|
57
57
|
export class QueryBuilderPropertySearchState {
|
58
58
|
queryBuilderState: QueryBuilderState;
|
@@ -55,7 +55,7 @@ import {
|
|
55
55
|
UnsupportedOperationError,
|
56
56
|
ContentType,
|
57
57
|
} from '@finos/legend-shared';
|
58
|
-
import {
|
58
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../QueryBuilderStateHashUtils.js';
|
59
59
|
import { isValueExpressionReferencedInValue } from '../../QueryBuilderValueSpecificationHelper.js';
|
60
60
|
import type { ExportDataInfo } from '../../QueryBuilderResultState.js';
|
61
61
|
|
@@ -497,7 +497,7 @@ export class QueryBuilderGraphFetchTreeState
|
|
497
497
|
|
498
498
|
get hashCode(): string {
|
499
499
|
return hashArray([
|
500
|
-
|
500
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.GRAPH_FETCH_STATE,
|
501
501
|
this.isChecked.toString(),
|
502
502
|
this.treeData?.tree ?? '',
|
503
503
|
]);
|
@@ -28,7 +28,6 @@ import {
|
|
28
28
|
Binding,
|
29
29
|
SUPPORTED_FUNCTIONS,
|
30
30
|
Class,
|
31
|
-
PURE_SERIALIZE_CONFIG_CLASS,
|
32
31
|
KeyExpressionInstanceValue,
|
33
32
|
CollectionInstanceValue,
|
34
33
|
getClassProperty,
|
@@ -42,7 +41,10 @@ import {
|
|
42
41
|
guaranteeNonNullable,
|
43
42
|
guaranteeType,
|
44
43
|
} from '@finos/legend-shared';
|
45
|
-
import {
|
44
|
+
import {
|
45
|
+
QUERY_BUILDER_PURE_PATH,
|
46
|
+
QUERY_BUILDER_SUPPORTED_FUNCTIONS,
|
47
|
+
} from '../../../graph/QueryBuilderMetaModelConst.js';
|
46
48
|
import type { QueryBuilderState } from '../../QueryBuilderState.js';
|
47
49
|
import { QueryBuilderValueSpecificationProcessor } from '../../QueryBuilderStateBuilder.js';
|
48
50
|
import { FETCH_STRUCTURE_IMPLEMENTATION } from '../QueryBuilderFetchStructureImplementationState.js';
|
@@ -140,7 +142,7 @@ const processKeyExpressionValueOnSerializationConfig = (
|
|
140
142
|
const _classType = guaranteeType(
|
141
143
|
_classProperty.genericType.value.rawType,
|
142
144
|
PrimitiveType,
|
143
|
-
`Only primitive types suppported for config. Property ${keyValue} for class ${
|
145
|
+
`Only primitive types suppported for config. Property ${keyValue} for class '${QUERY_BUILDER_PURE_PATH.SERIALIZE_CONFIG}' is of type '${_classProperty.genericType.value.rawType.path}'`,
|
144
146
|
);
|
145
147
|
const expressionValue = guaranteeNonNullable(
|
146
148
|
guaranteeType(
|
@@ -255,8 +257,8 @@ export const processGraphFetchSerializeExpression = (
|
|
255
257
|
`Can't process serialize() expression: serialization config expects first param to be a class`,
|
256
258
|
);
|
257
259
|
assertTrue(
|
258
|
-
configClass.path ===
|
259
|
-
`Can't process serialize() expression: serialiaztion config class expected to be ${
|
260
|
+
configClass.path === QUERY_BUILDER_PURE_PATH.SERIALIZE_CONFIG,
|
261
|
+
`Can't process serialize() expression: serialiaztion config class expected to be '${QUERY_BUILDER_PURE_PATH.SERIALIZE_CONFIG}', got : ${configClass.path}`,
|
260
262
|
);
|
261
263
|
// 2nd param: empty string
|
262
264
|
// TODO: Investigate why `new` function as the second input as empty string
|
@@ -39,7 +39,7 @@ import {
|
|
39
39
|
QueryBuilderExplorerTreeSubTypeNodeData,
|
40
40
|
} from '../../explorer/QueryBuilderExplorerState.js';
|
41
41
|
import type { QueryBuilderState } from '../../QueryBuilderState.js';
|
42
|
-
import {
|
42
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../QueryBuilderStateHashUtils.js';
|
43
43
|
import { computed, makeObservable } from 'mobx';
|
44
44
|
import {
|
45
45
|
graphFetchTree_addSubTree,
|
@@ -81,7 +81,7 @@ export class QueryBuilderGraphFetchTreeNodeData
|
|
81
81
|
|
82
82
|
get hashCode(): string {
|
83
83
|
return hashArray([
|
84
|
-
|
84
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.GRAPH_FETCH_TREE_NODE_DATA,
|
85
85
|
this.id,
|
86
86
|
this.label,
|
87
87
|
this.tree,
|
@@ -30,7 +30,6 @@ import {
|
|
30
30
|
Multiplicity,
|
31
31
|
PackageableElementExplicitReference,
|
32
32
|
SUPPORTED_FUNCTIONS,
|
33
|
-
PURE_SERIALIZE_CONFIG_CLASS,
|
34
33
|
CollectionInstanceValue,
|
35
34
|
KeyExpressionInstanceValue,
|
36
35
|
KeyExpression,
|
@@ -40,7 +39,10 @@ import {
|
|
40
39
|
guaranteeNonNullable,
|
41
40
|
guaranteeType,
|
42
41
|
} from '@finos/legend-shared';
|
43
|
-
import {
|
42
|
+
import {
|
43
|
+
QUERY_BUILDER_PURE_PATH,
|
44
|
+
QUERY_BUILDER_SUPPORTED_FUNCTIONS,
|
45
|
+
} from '../../../graph/QueryBuilderMetaModelConst.js';
|
44
46
|
import {
|
45
47
|
GraphFetchExternalFormatSerializationState,
|
46
48
|
GraphFetchPureSerializationState,
|
@@ -100,7 +102,7 @@ export const buildPureSerializationConfig = (
|
|
100
102
|
config: Record<PropertyKey, boolean>,
|
101
103
|
graph: PureModel,
|
102
104
|
): SimpleFunctionExpression => {
|
103
|
-
const configClass = graph.getClass(
|
105
|
+
const configClass = graph.getClass(QUERY_BUILDER_PURE_PATH.SERIALIZE_CONFIG);
|
104
106
|
const newFunction = new SimpleFunctionExpression(
|
105
107
|
extractElementNameFromPath(SUPPORTED_FUNCTIONS.NEW),
|
106
108
|
);
|
@@ -22,7 +22,7 @@ import {
|
|
22
22
|
guaranteeNonNullable,
|
23
23
|
UnsupportedOperationError,
|
24
24
|
} from '@finos/legend-shared';
|
25
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../
|
25
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../graph/QueryBuilderMetaModelConst.js';
|
26
26
|
import type { QueryBuilderTDSState } from './QueryBuilderTDSState.js';
|
27
27
|
import type { QueryBuilderTDSColumnState } from './QueryBuilderTDSColumnState.js';
|
28
28
|
import { COLUMN_SORT_TYPE } from './QueryResultSetModifierState.js';
|
@@ -93,13 +93,13 @@ import {
|
|
93
93
|
} from '@finos/legend-application';
|
94
94
|
import type { LambdaFunctionBuilderOption } from '../../QueryBuilderValueSpecificationBuilderHelper.js';
|
95
95
|
import { appendProjection } from './projection/QueryBuilderProjectionValueSpecificationBuilder.js';
|
96
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../
|
97
|
-
import {
|
96
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../graph/QueryBuilderMetaModelConst.js';
|
97
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../QueryBuilderStateHashUtils.js';
|
98
98
|
import { QueryBuilderWindowState } from './window/QueryBuilderWindowState.js';
|
99
99
|
import type { QueryBuilderTDS_WindowOperator } from './window/operators/QueryBuilderTDS_WindowOperator.js';
|
100
100
|
import { getQueryBuilderCoreWindowOperators } from './window/QueryBuilderWindowGroupByOperatorLoader.js';
|
101
101
|
import type { QueryBuilderTDSColumnState } from './QueryBuilderTDSColumnState.js';
|
102
|
-
import { QUERY_BUILDER_SETTING_KEY } from '../../../
|
102
|
+
import { QUERY_BUILDER_SETTING_KEY } from '../../../__lib__/QueryBuilderSetting.js';
|
103
103
|
import type { ExportDataInfo } from '../../QueryBuilderResultState.js';
|
104
104
|
|
105
105
|
// TODO: should we support raw once externalize() is supported on TDS ?
|
@@ -722,7 +722,7 @@ export class QueryBuilderTDSState
|
|
722
722
|
|
723
723
|
get hashCode(): string {
|
724
724
|
return hashArray([
|
725
|
-
|
725
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.PROJECTION_STATE,
|
726
726
|
hashArray(this.projectionColumns),
|
727
727
|
this.aggregationState,
|
728
728
|
this.postFilterState,
|
@@ -22,7 +22,7 @@ import {
|
|
22
22
|
type Hashable,
|
23
23
|
hashArray,
|
24
24
|
} from '@finos/legend-shared';
|
25
|
-
import {
|
25
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../QueryBuilderStateHashUtils.js';
|
26
26
|
import type { QueryBuilderTDSColumnState } from './QueryBuilderTDSColumnState.js';
|
27
27
|
|
28
28
|
export enum COLUMN_SORT_TYPE {
|
@@ -56,7 +56,7 @@ export class SortColumnState implements Hashable {
|
|
56
56
|
|
57
57
|
get hashCode(): string {
|
58
58
|
return hashArray([
|
59
|
-
|
59
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.SORT_COLUMN_STATE,
|
60
60
|
this.sortType.toString(),
|
61
61
|
this.columnState,
|
62
62
|
]);
|
@@ -116,7 +116,7 @@ export class QueryResultSetModifierState implements Hashable {
|
|
116
116
|
|
117
117
|
get hashCode(): string {
|
118
118
|
return hashArray([
|
119
|
-
|
119
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.RESULT_SET_MODIFIER_STATE,
|
120
120
|
hashArray(this.sortColumns),
|
121
121
|
this.limit?.toString() ?? '',
|
122
122
|
this.distinct.toString(),
|
@@ -26,7 +26,7 @@ import { DEFAULT_LAMBDA_VARIABLE_NAME } from '../../../QueryBuilderConfig.js';
|
|
26
26
|
import type { QueryBuilderTDSState } from '../QueryBuilderTDSState.js';
|
27
27
|
import type { QueryBuilderAggregateOperator } from './QueryBuilderAggregateOperator.js';
|
28
28
|
import type { QueryBuilderProjectionColumnState } from '../projection/QueryBuilderProjectionColumnState.js';
|
29
|
-
import {
|
29
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../../QueryBuilderStateHashUtils.js';
|
30
30
|
import { QueryBuilderTDSColumnState } from '../QueryBuilderTDSColumnState.js';
|
31
31
|
|
32
32
|
export class QueryBuilderAggregateColumnState
|
@@ -76,7 +76,7 @@ export class QueryBuilderAggregateColumnState
|
|
76
76
|
|
77
77
|
get hashCode(): string {
|
78
78
|
return hashArray([
|
79
|
-
|
79
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_COLUMN_STATE,
|
80
80
|
this.operator,
|
81
81
|
]);
|
82
82
|
}
|
@@ -165,7 +165,7 @@ export class QueryBuilderAggregationState implements Hashable {
|
|
165
165
|
|
166
166
|
get hashCode(): string {
|
167
167
|
return hashArray([
|
168
|
-
|
168
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATION_STATE,
|
169
169
|
hashArray(this.columns),
|
170
170
|
]);
|
171
171
|
}
|
@@ -31,7 +31,7 @@ import {
|
|
31
31
|
returnUndefOnError,
|
32
32
|
UnsupportedOperationError,
|
33
33
|
} from '@finos/legend-shared';
|
34
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../
|
34
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../graph/QueryBuilderMetaModelConst.js';
|
35
35
|
import type { QueryBuilderState } from '../../../QueryBuilderState.js';
|
36
36
|
import { QueryBuilderValueSpecificationProcessor } from '../../../QueryBuilderStateBuilder.js';
|
37
37
|
import { extractNullableStringFromInstanceValue } from '../../../QueryBuilderValueSpecificationHelper.js';
|
@@ -34,9 +34,9 @@ import {
|
|
34
34
|
buildAggregateColumnState,
|
35
35
|
buildAggregateExpression,
|
36
36
|
} from './QueryBuilderAggregateOperatorValueSpecificationBuilder.js';
|
37
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../
|
37
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../graph/QueryBuilderMetaModelConst.js';
|
38
38
|
import { type Hashable, hashArray } from '@finos/legend-shared';
|
39
|
-
import {
|
39
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../../../QueryBuilderStateHashUtils.js';
|
40
40
|
|
41
41
|
export class QueryBuilderAggregateOperator_Average
|
42
42
|
extends QueryBuilderAggregateOperator
|
@@ -100,6 +100,8 @@ export class QueryBuilderAggregateOperator_Average
|
|
100
100
|
}
|
101
101
|
|
102
102
|
get hashCode(): string {
|
103
|
-
return hashArray([
|
103
|
+
return hashArray([
|
104
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_OPERATOR_AVERAGE,
|
105
|
+
]);
|
104
106
|
}
|
105
107
|
}
|
package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.ts
CHANGED
@@ -35,9 +35,9 @@ import {
|
|
35
35
|
buildAggregateColumnState,
|
36
36
|
buildAggregateExpression,
|
37
37
|
} from './QueryBuilderAggregateOperatorValueSpecificationBuilder.js';
|
38
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../
|
38
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../graph/QueryBuilderMetaModelConst.js';
|
39
39
|
import { type Hashable, hashArray } from '@finos/legend-shared';
|
40
|
-
import {
|
40
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../../../QueryBuilderStateHashUtils.js';
|
41
41
|
|
42
42
|
export class QueryBuilderAggregateOperator_Count
|
43
43
|
extends QueryBuilderAggregateOperator
|
@@ -108,6 +108,8 @@ export class QueryBuilderAggregateOperator_Count
|
|
108
108
|
}
|
109
109
|
|
110
110
|
get hashCode(): string {
|
111
|
-
return hashArray([
|
111
|
+
return hashArray([
|
112
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_OPERATOR_COUNT,
|
113
|
+
]);
|
112
114
|
}
|
113
115
|
}
|
@@ -33,9 +33,9 @@ import {
|
|
33
33
|
buildAggregateColumnState,
|
34
34
|
buildAggregateExpression,
|
35
35
|
} from './QueryBuilderAggregateOperatorValueSpecificationBuilder.js';
|
36
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../
|
36
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../graph/QueryBuilderMetaModelConst.js';
|
37
37
|
import { type Hashable, hashArray } from '@finos/legend-shared';
|
38
|
-
import {
|
38
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../../../QueryBuilderStateHashUtils.js';
|
39
39
|
|
40
40
|
export class QueryBuilderAggregateOperator_Distinct
|
41
41
|
extends QueryBuilderAggregateOperator
|
@@ -101,7 +101,7 @@ export class QueryBuilderAggregateOperator_Distinct
|
|
101
101
|
|
102
102
|
get hashCode(): string {
|
103
103
|
return hashArray([
|
104
|
-
|
104
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_OPERATOR_DISTINCT,
|
105
105
|
]);
|
106
106
|
}
|
107
107
|
}
|
@@ -39,8 +39,8 @@ import {
|
|
39
39
|
type QueryBuilderProjectionColumnState,
|
40
40
|
QueryBuilderSimpleProjectionColumnState,
|
41
41
|
} from '../../projection/QueryBuilderProjectionColumnState.js';
|
42
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../
|
43
|
-
import {
|
42
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../graph/QueryBuilderMetaModelConst.js';
|
43
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../../../QueryBuilderStateHashUtils.js';
|
44
44
|
|
45
45
|
export class QueryBuilderAggregateOperator_DistinctCount
|
46
46
|
extends QueryBuilderAggregateOperator
|
@@ -177,7 +177,7 @@ export class QueryBuilderAggregateOperator_DistinctCount
|
|
177
177
|
|
178
178
|
get hashCode(): string {
|
179
179
|
return hashArray([
|
180
|
-
|
180
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_OPERATOR_DISTINCT_COUNT,
|
181
181
|
]);
|
182
182
|
}
|
183
183
|
}
|
@@ -41,8 +41,8 @@ import {
|
|
41
41
|
type QueryBuilderProjectionColumnState,
|
42
42
|
QueryBuilderSimpleProjectionColumnState,
|
43
43
|
} from '../../projection/QueryBuilderProjectionColumnState.js';
|
44
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../
|
45
|
-
import {
|
44
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../graph/QueryBuilderMetaModelConst.js';
|
45
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../../../QueryBuilderStateHashUtils.js';
|
46
46
|
|
47
47
|
export class QueryBuilderAggregateOperator_JoinString
|
48
48
|
extends QueryBuilderAggregateOperator
|
@@ -157,7 +157,7 @@ export class QueryBuilderAggregateOperator_JoinString
|
|
157
157
|
|
158
158
|
get hashCode(): string {
|
159
159
|
return hashArray([
|
160
|
-
|
160
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_OPERATOR_JOIN_STRING,
|
161
161
|
]);
|
162
162
|
}
|
163
163
|
}
|
package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Max.ts
CHANGED
@@ -33,9 +33,9 @@ import {
|
|
33
33
|
buildAggregateColumnState,
|
34
34
|
buildAggregateExpression,
|
35
35
|
} from './QueryBuilderAggregateOperatorValueSpecificationBuilder.js';
|
36
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../
|
36
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../graph/QueryBuilderMetaModelConst.js';
|
37
37
|
import { type Hashable, hashArray } from '@finos/legend-shared';
|
38
|
-
import {
|
38
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../../../QueryBuilderStateHashUtils.js';
|
39
39
|
|
40
40
|
export class QueryBuilderAggregateOperator_Max
|
41
41
|
extends QueryBuilderAggregateOperator
|
@@ -178,6 +178,8 @@ export class QueryBuilderAggregateOperator_Max
|
|
178
178
|
}
|
179
179
|
|
180
180
|
get hashCode(): string {
|
181
|
-
return hashArray([
|
181
|
+
return hashArray([
|
182
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_OPERATOR_MAX,
|
183
|
+
]);
|
182
184
|
}
|
183
185
|
}
|
package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Min.ts
CHANGED
@@ -33,9 +33,9 @@ import {
|
|
33
33
|
buildAggregateColumnState,
|
34
34
|
buildAggregateExpression,
|
35
35
|
} from './QueryBuilderAggregateOperatorValueSpecificationBuilder.js';
|
36
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../
|
36
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../graph/QueryBuilderMetaModelConst.js';
|
37
37
|
import { type Hashable, hashArray } from '@finos/legend-shared';
|
38
|
-
import {
|
38
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../../../QueryBuilderStateHashUtils.js';
|
39
39
|
|
40
40
|
export class QueryBuilderAggregateOperator_Min
|
41
41
|
extends QueryBuilderAggregateOperator
|
@@ -178,6 +178,8 @@ export class QueryBuilderAggregateOperator_Min
|
|
178
178
|
}
|
179
179
|
|
180
180
|
get hashCode(): string {
|
181
|
-
return hashArray([
|
181
|
+
return hashArray([
|
182
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_OPERATOR_MIN,
|
183
|
+
]);
|
182
184
|
}
|
183
185
|
}
|
@@ -34,9 +34,9 @@ import {
|
|
34
34
|
buildAggregateColumnState,
|
35
35
|
buildAggregateExpression,
|
36
36
|
} from './QueryBuilderAggregateOperatorValueSpecificationBuilder.js';
|
37
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../
|
37
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../graph/QueryBuilderMetaModelConst.js';
|
38
38
|
import { type Hashable, hashArray } from '@finos/legend-shared';
|
39
|
-
import {
|
39
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../../../QueryBuilderStateHashUtils.js';
|
40
40
|
|
41
41
|
export class QueryBuilderAggregateOperator_StdDev_Population
|
42
42
|
extends QueryBuilderAggregateOperator
|
@@ -101,7 +101,7 @@ export class QueryBuilderAggregateOperator_StdDev_Population
|
|
101
101
|
|
102
102
|
get hashCode(): string {
|
103
103
|
return hashArray([
|
104
|
-
|
104
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_OPERATOR_STD_DEV_POPULATION,
|
105
105
|
]);
|
106
106
|
}
|
107
107
|
}
|
@@ -34,9 +34,9 @@ import {
|
|
34
34
|
buildAggregateColumnState,
|
35
35
|
buildAggregateExpression,
|
36
36
|
} from './QueryBuilderAggregateOperatorValueSpecificationBuilder.js';
|
37
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../
|
37
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../graph/QueryBuilderMetaModelConst.js';
|
38
38
|
import { type Hashable, hashArray } from '@finos/legend-shared';
|
39
|
-
import {
|
39
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../../../QueryBuilderStateHashUtils.js';
|
40
40
|
|
41
41
|
export class QueryBuilderAggregateOperator_StdDev_Sample
|
42
42
|
extends QueryBuilderAggregateOperator
|
@@ -101,7 +101,7 @@ export class QueryBuilderAggregateOperator_StdDev_Sample
|
|
101
101
|
|
102
102
|
get hashCode(): string {
|
103
103
|
return hashArray([
|
104
|
-
|
104
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_OPERATOR_STD_DEV_SAMPLE,
|
105
105
|
]);
|
106
106
|
}
|
107
107
|
}
|
package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Sum.ts
CHANGED
@@ -32,8 +32,8 @@ import {
|
|
32
32
|
buildAggregateColumnState,
|
33
33
|
buildAggregateExpression,
|
34
34
|
} from './QueryBuilderAggregateOperatorValueSpecificationBuilder.js';
|
35
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../
|
36
|
-
import {
|
35
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../graph/QueryBuilderMetaModelConst.js';
|
36
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../../../QueryBuilderStateHashUtils.js';
|
37
37
|
import { type Hashable, hashArray } from '@finos/legend-shared';
|
38
38
|
|
39
39
|
export class QueryBuilderAggregateOperator_Sum
|
@@ -92,6 +92,8 @@ export class QueryBuilderAggregateOperator_Sum
|
|
92
92
|
}
|
93
93
|
|
94
94
|
get hashCode(): string {
|
95
|
-
return hashArray([
|
95
|
+
return hashArray([
|
96
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_OPERATOR_SUM,
|
97
|
+
]);
|
96
98
|
}
|
97
99
|
}
|
@@ -68,7 +68,7 @@ import {
|
|
68
68
|
} from '../../../QueryBuilderTypeaheadHelper.js';
|
69
69
|
import { QUERY_BUILDER_GROUP_OPERATION } from '../../../QueryBuilderGroupOperationHelper.js';
|
70
70
|
import type { QueryBuilderTDSState } from '../QueryBuilderTDSState.js';
|
71
|
-
import {
|
71
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../../QueryBuilderStateHashUtils.js';
|
72
72
|
import type { QueryBuilderTDSColumnState } from '../QueryBuilderTDSColumnState.js';
|
73
73
|
import { isValueExpressionReferencedInValue } from '../../../QueryBuilderValueSpecificationHelper.js';
|
74
74
|
|
@@ -242,7 +242,7 @@ export class QueryBuilderPostFilterTreeGroupNodeData
|
|
242
242
|
|
243
243
|
get hashCode(): string {
|
244
244
|
return hashArray([
|
245
|
-
|
245
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.POST_FILTER_TREE_GROUP_NODE_DATA,
|
246
246
|
this.parentId ?? '',
|
247
247
|
hashArray(this.childrenIds),
|
248
248
|
this.groupOperation,
|
@@ -276,7 +276,7 @@ export class QueryBuilderPostFilterTreeConditionNodeData
|
|
276
276
|
|
277
277
|
get hashCode(): string {
|
278
278
|
return hashArray([
|
279
|
-
|
279
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.POST_FILTER_TREE_CONDIITION_NODE_DATA,
|
280
280
|
this.parentId ?? '',
|
281
281
|
this.condition,
|
282
282
|
]);
|
@@ -301,7 +301,7 @@ export class QueryBuilderPostFilterTreeBlankConditionNodeData
|
|
301
301
|
|
302
302
|
get hashCode(): string {
|
303
303
|
return hashArray([
|
304
|
-
|
304
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.POST_FILTER_TREE_BLANK_CONDITION_NODE_DATA,
|
305
305
|
this.parentId ?? '',
|
306
306
|
]);
|
307
307
|
}
|
@@ -460,7 +460,7 @@ export class PostFilterConditionState implements Hashable {
|
|
460
460
|
|
461
461
|
get hashCode(): string {
|
462
462
|
return hashArray([
|
463
|
-
|
463
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.POST_FILTER_CONDITION_STATE,
|
464
464
|
this.columnState,
|
465
465
|
this.value ?? '',
|
466
466
|
this.operator,
|
@@ -891,7 +891,7 @@ export class QueryBuilderPostFilterState
|
|
891
891
|
|
892
892
|
get hashCode(): string {
|
893
893
|
return hashArray([
|
894
|
-
|
894
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.POST_FILTER_STATE,
|
895
895
|
hashArray(this.rootIds),
|
896
896
|
hashArray(Array.from(this.nodes.values())),
|
897
897
|
]);
|