@finos/legend-query-builder 2.1.6 → 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 +16 -16
- 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 +12 -2
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js +147 -22
- 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 +2 -2
- package/lib/index.css.map +1 -1
- 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.d.ts +3 -0
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +21 -3
- 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 +14 -14
- 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 +24 -19
- 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 +388 -65
- 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 +36 -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 +16 -14
- 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
@@ -52,7 +52,7 @@ import {
|
|
52
52
|
} from '../QueryBuilderTypeaheadHelper.js';
|
53
53
|
import type { QueryBuilderFilterOperator } from './QueryBuilderFilterOperator.js';
|
54
54
|
import { QUERY_BUILDER_GROUP_OPERATION } from '../QueryBuilderGroupOperationHelper.js';
|
55
|
-
import {
|
55
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../QueryBuilderStateHashUtils.js';
|
56
56
|
import { isValueExpressionReferencedInValue } from '../QueryBuilderValueSpecificationHelper.js';
|
57
57
|
|
58
58
|
export enum QUERY_BUILDER_FILTER_DND_TYPE {
|
@@ -215,7 +215,7 @@ export class FilterConditionState implements Hashable {
|
|
215
215
|
|
216
216
|
get hashCode(): string {
|
217
217
|
return hashArray([
|
218
|
-
|
218
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.FILTER_CONDITION_STATE,
|
219
219
|
this.propertyExpressionState,
|
220
220
|
this.value ?? '',
|
221
221
|
this.operator,
|
@@ -308,7 +308,7 @@ export class QueryBuilderFilterTreeGroupNodeData
|
|
308
308
|
|
309
309
|
get hashCode(): string {
|
310
310
|
return hashArray([
|
311
|
-
|
311
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.FILTER_TREE_GROUP_NODE_DATA,
|
312
312
|
this.parentId ?? '',
|
313
313
|
hashArray(this.childrenIds),
|
314
314
|
this.groupOperation,
|
@@ -339,7 +339,7 @@ export class QueryBuilderFilterTreeConditionNodeData
|
|
339
339
|
|
340
340
|
get hashCode(): string {
|
341
341
|
return hashArray([
|
342
|
-
|
342
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.FILTER_TREE_CONDIITION_NODE_DATA,
|
343
343
|
this.parentId ?? '',
|
344
344
|
this.condition,
|
345
345
|
]);
|
@@ -364,7 +364,7 @@ export class QueryBuilderFilterTreeBlankConditionNodeData
|
|
364
364
|
|
365
365
|
get hashCode(): string {
|
366
366
|
return hashArray([
|
367
|
-
|
367
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.FILTER_TREE_BLANK_CONDITION_NODE_DATA,
|
368
368
|
this.parentId ?? '',
|
369
369
|
]);
|
370
370
|
}
|
@@ -810,7 +810,7 @@ export class QueryBuilderFilterState
|
|
810
810
|
|
811
811
|
get hashCode(): string {
|
812
812
|
return hashArray([
|
813
|
-
|
813
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.FILTER_STATE,
|
814
814
|
hashArray(this.rootIds),
|
815
815
|
hashArray(Array.from(this.nodes.values())),
|
816
816
|
]);
|
@@ -29,7 +29,7 @@ import {
|
|
29
29
|
returnUndefOnError,
|
30
30
|
UnsupportedOperationError,
|
31
31
|
} from '@finos/legend-shared';
|
32
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../
|
32
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../graph/QueryBuilderMetaModelConst.js';
|
33
33
|
import { toGroupOperation } from '../QueryBuilderGroupOperationHelper.js';
|
34
34
|
import type { QueryBuilderState } from '../QueryBuilderState.js';
|
35
35
|
import { validatePropertyExpressionChain } from '../QueryBuilderValueSpecificationHelper.js';
|
@@ -29,7 +29,7 @@ import {
|
|
29
29
|
QueryBuilderFilterTreeGroupNodeData,
|
30
30
|
type QueryBuilderFilterTreeNodeData,
|
31
31
|
} from './QueryBuilderFilterState.js';
|
32
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../
|
32
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../graph/QueryBuilderMetaModelConst.js';
|
33
33
|
|
34
34
|
const buildFilterConditionExpression = (
|
35
35
|
filterState: QueryBuilderFilterState,
|
@@ -34,7 +34,7 @@ import {
|
|
34
34
|
FilterConditionState,
|
35
35
|
type QueryBuilderFilterState,
|
36
36
|
} from '../QueryBuilderFilterState.js';
|
37
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../
|
37
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../graph/QueryBuilderMetaModelConst.js';
|
38
38
|
import {
|
39
39
|
buildGenericLambdaFunctionInstanceValue,
|
40
40
|
simplifyValueExpression,
|
@@ -40,8 +40,8 @@ import {
|
|
40
40
|
getNonCollectionValueSpecificationType,
|
41
41
|
unwrapNotExpression,
|
42
42
|
} from '../../QueryBuilderValueSpecificationHelper.js';
|
43
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../
|
44
|
-
import {
|
43
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../graph/QueryBuilderMetaModelConst.js';
|
44
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../QueryBuilderStateHashUtils.js';
|
45
45
|
import { buildPrimitiveInstanceValue } from '../../shared/ValueSpecificationEditorHelper.js';
|
46
46
|
|
47
47
|
export class QueryBuilderFilterOperator_Contain
|
@@ -118,7 +118,9 @@ export class QueryBuilderFilterOperator_Contain
|
|
118
118
|
}
|
119
119
|
|
120
120
|
get hashCode(): string {
|
121
|
-
return hashArray([
|
121
|
+
return hashArray([
|
122
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.FILTER_OPERATOR_CONTAIN,
|
123
|
+
]);
|
122
124
|
}
|
123
125
|
}
|
124
126
|
|
@@ -147,7 +149,7 @@ export class QueryBuilderFilterOperator_NotContain extends QueryBuilderFilterOpe
|
|
147
149
|
|
148
150
|
override get hashCode(): string {
|
149
151
|
return hashArray([
|
150
|
-
|
152
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.FILTER_OPERATOR_NOT_CONTAIN,
|
151
153
|
]);
|
152
154
|
}
|
153
155
|
}
|
@@ -40,8 +40,8 @@ import {
|
|
40
40
|
getNonCollectionValueSpecificationType,
|
41
41
|
unwrapNotExpression,
|
42
42
|
} from '../../QueryBuilderValueSpecificationHelper.js';
|
43
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../
|
44
|
-
import {
|
43
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../graph/QueryBuilderMetaModelConst.js';
|
44
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../QueryBuilderStateHashUtils.js';
|
45
45
|
import { buildPrimitiveInstanceValue } from '../../shared/ValueSpecificationEditorHelper.js';
|
46
46
|
|
47
47
|
export class QueryBuilderFilterOperator_EndWith
|
@@ -118,7 +118,9 @@ export class QueryBuilderFilterOperator_EndWith
|
|
118
118
|
}
|
119
119
|
|
120
120
|
get hashCode(): string {
|
121
|
-
return hashArray([
|
121
|
+
return hashArray([
|
122
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.FILTER_OPERATOR_END_WITH,
|
123
|
+
]);
|
122
124
|
}
|
123
125
|
}
|
124
126
|
|
@@ -147,7 +149,7 @@ export class QueryBuilderFilterOperator_NotEndWith extends QueryBuilderFilterOpe
|
|
147
149
|
|
148
150
|
override get hashCode(): string {
|
149
151
|
return hashArray([
|
150
|
-
|
152
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.FILTER_OPERATOR_NOT_END_WITH,
|
151
153
|
]);
|
152
154
|
}
|
153
155
|
}
|
@@ -30,7 +30,6 @@ import {
|
|
30
30
|
EnumValueExplicitReference,
|
31
31
|
Enumeration,
|
32
32
|
PRIMITIVE_TYPE,
|
33
|
-
SUPPORTED_FUNCTIONS,
|
34
33
|
} from '@finos/legend-graph';
|
35
34
|
import {
|
36
35
|
type Hashable,
|
@@ -41,7 +40,7 @@ import {
|
|
41
40
|
buildFilterConditionState,
|
42
41
|
buildFilterConditionExpression,
|
43
42
|
} from './QueryBuilderFilterOperatorValueSpecificationBuilder.js';
|
44
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../
|
43
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../graph/QueryBuilderMetaModelConst.js';
|
45
44
|
import {
|
46
45
|
buildNotExpression,
|
47
46
|
generateDefaultValueForPrimitiveType,
|
@@ -49,7 +48,7 @@ import {
|
|
49
48
|
isTypeCompatibleForAssignment,
|
50
49
|
unwrapNotExpression,
|
51
50
|
} from '../../QueryBuilderValueSpecificationHelper.js';
|
52
|
-
import {
|
51
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../QueryBuilderStateHashUtils.js';
|
53
52
|
import { buildPrimitiveInstanceValue } from '../../shared/ValueSpecificationEditorHelper.js';
|
54
53
|
import { instanceValue_setValues } from '../../shared/ValueSpecificationModifierHelper.js';
|
55
54
|
|
@@ -173,7 +172,7 @@ export class QueryBuilderFilterOperator_Equal
|
|
173
172
|
.genericType.value.rawType.path === PRIMITIVE_TYPE.DATETIME &&
|
174
173
|
filterConditionState.value?.genericType?.value.rawType.path !==
|
175
174
|
PRIMITIVE_TYPE.DATETIME
|
176
|
-
?
|
175
|
+
? QUERY_BUILDER_SUPPORTED_FUNCTIONS.IS_ON_DAY
|
177
176
|
: QUERY_BUILDER_SUPPORTED_FUNCTIONS.EQUAL,
|
178
177
|
);
|
179
178
|
}
|
@@ -189,14 +188,16 @@ export class QueryBuilderFilterOperator_Equal
|
|
189
188
|
.genericType.value.rawType.path === PRIMITIVE_TYPE.DATETIME &&
|
190
189
|
expression.parametersValues[1]?.genericType?.value.rawType.path !==
|
191
190
|
PRIMITIVE_TYPE.DATETIME
|
192
|
-
?
|
191
|
+
? QUERY_BUILDER_SUPPORTED_FUNCTIONS.IS_ON_DAY
|
193
192
|
: QUERY_BUILDER_SUPPORTED_FUNCTIONS.EQUAL,
|
194
193
|
this,
|
195
194
|
);
|
196
195
|
}
|
197
196
|
|
198
197
|
get hashCode(): string {
|
199
|
-
return hashArray([
|
198
|
+
return hashArray([
|
199
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.FILTER_OPERATOR_EQUAL,
|
200
|
+
]);
|
200
201
|
}
|
201
202
|
}
|
202
203
|
|
@@ -224,6 +225,8 @@ export class QueryBuilderFilterOperator_NotEqual extends QueryBuilderFilterOpera
|
|
224
225
|
}
|
225
226
|
|
226
227
|
override get hashCode(): string {
|
227
|
-
return hashArray([
|
228
|
+
return hashArray([
|
229
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.FILTER_OPERATOR_NOT_EQUAL,
|
230
|
+
]);
|
228
231
|
}
|
229
232
|
}
|
@@ -24,7 +24,6 @@ import {
|
|
24
24
|
type SimpleFunctionExpression,
|
25
25
|
type AbstractPropertyExpression,
|
26
26
|
PRIMITIVE_TYPE,
|
27
|
-
SUPPORTED_FUNCTIONS,
|
28
27
|
} from '@finos/legend-graph';
|
29
28
|
import {
|
30
29
|
type Hashable,
|
@@ -35,13 +34,13 @@ import {
|
|
35
34
|
buildFilterConditionState,
|
36
35
|
buildFilterConditionExpression,
|
37
36
|
} from './QueryBuilderFilterOperatorValueSpecificationBuilder.js';
|
38
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../
|
37
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../graph/QueryBuilderMetaModelConst.js';
|
39
38
|
import {
|
40
39
|
generateDefaultValueForPrimitiveType,
|
41
40
|
getNonCollectionValueSpecificationType,
|
42
41
|
isTypeCompatibleForAssignment,
|
43
42
|
} from '../../QueryBuilderValueSpecificationHelper.js';
|
44
|
-
import {
|
43
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../QueryBuilderStateHashUtils.js';
|
45
44
|
import { buildPrimitiveInstanceValue } from '../../shared/ValueSpecificationEditorHelper.js';
|
46
45
|
|
47
46
|
export class QueryBuilderFilterOperator_GreaterThan
|
@@ -131,7 +130,7 @@ export class QueryBuilderFilterOperator_GreaterThan
|
|
131
130
|
.genericType.value.rawType.path === PRIMITIVE_TYPE.DATETIME &&
|
132
131
|
filterConditionState.value?.genericType?.value.rawType.path !==
|
133
132
|
PRIMITIVE_TYPE.DATETIME
|
134
|
-
?
|
133
|
+
? QUERY_BUILDER_SUPPORTED_FUNCTIONS.IS_AFTER_DAY
|
135
134
|
: QUERY_BUILDER_SUPPORTED_FUNCTIONS.GREATER_THAN,
|
136
135
|
);
|
137
136
|
}
|
@@ -147,7 +146,7 @@ export class QueryBuilderFilterOperator_GreaterThan
|
|
147
146
|
.genericType.value.rawType.path === PRIMITIVE_TYPE.DATETIME &&
|
148
147
|
expression.parametersValues[1]?.genericType?.value.rawType.path !==
|
149
148
|
PRIMITIVE_TYPE.DATETIME
|
150
|
-
?
|
149
|
+
? QUERY_BUILDER_SUPPORTED_FUNCTIONS.IS_AFTER_DAY
|
151
150
|
: QUERY_BUILDER_SUPPORTED_FUNCTIONS.GREATER_THAN,
|
152
151
|
this,
|
153
152
|
);
|
@@ -155,7 +154,7 @@ export class QueryBuilderFilterOperator_GreaterThan
|
|
155
154
|
|
156
155
|
get hashCode(): string {
|
157
156
|
return hashArray([
|
158
|
-
|
157
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.FILTER_OPERATOR_GREATER_THAN,
|
159
158
|
]);
|
160
159
|
}
|
161
160
|
}
|
@@ -24,7 +24,6 @@ import {
|
|
24
24
|
type ValueSpecification,
|
25
25
|
type SimpleFunctionExpression,
|
26
26
|
type AbstractPropertyExpression,
|
27
|
-
SUPPORTED_FUNCTIONS,
|
28
27
|
} from '@finos/legend-graph';
|
29
28
|
import {
|
30
29
|
type Hashable,
|
@@ -35,13 +34,13 @@ import {
|
|
35
34
|
buildFilterConditionState,
|
36
35
|
buildFilterConditionExpression,
|
37
36
|
} from './QueryBuilderFilterOperatorValueSpecificationBuilder.js';
|
38
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../
|
37
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../graph/QueryBuilderMetaModelConst.js';
|
39
38
|
import {
|
40
39
|
generateDefaultValueForPrimitiveType,
|
41
40
|
getNonCollectionValueSpecificationType,
|
42
41
|
isTypeCompatibleForAssignment,
|
43
42
|
} from '../../QueryBuilderValueSpecificationHelper.js';
|
44
|
-
import {
|
43
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../QueryBuilderStateHashUtils.js';
|
45
44
|
import { buildPrimitiveInstanceValue } from '../../shared/ValueSpecificationEditorHelper.js';
|
46
45
|
|
47
46
|
export class QueryBuilderFilterOperator_GreaterThanEqual
|
@@ -131,7 +130,7 @@ export class QueryBuilderFilterOperator_GreaterThanEqual
|
|
131
130
|
.genericType.value.rawType.path === PRIMITIVE_TYPE.DATETIME &&
|
132
131
|
filterConditionState.value?.genericType?.value.rawType.path !==
|
133
132
|
PRIMITIVE_TYPE.DATETIME
|
134
|
-
?
|
133
|
+
? QUERY_BUILDER_SUPPORTED_FUNCTIONS.IS_ON_OR_AFTER_DAY
|
135
134
|
: QUERY_BUILDER_SUPPORTED_FUNCTIONS.GREATER_THAN_EQUAL,
|
136
135
|
);
|
137
136
|
}
|
@@ -147,7 +146,7 @@ export class QueryBuilderFilterOperator_GreaterThanEqual
|
|
147
146
|
.genericType.value.rawType.path === PRIMITIVE_TYPE.DATETIME &&
|
148
147
|
expression.parametersValues[1]?.genericType?.value.rawType.path !==
|
149
148
|
PRIMITIVE_TYPE.DATETIME
|
150
|
-
?
|
149
|
+
? QUERY_BUILDER_SUPPORTED_FUNCTIONS.IS_ON_OR_AFTER_DAY
|
151
150
|
: QUERY_BUILDER_SUPPORTED_FUNCTIONS.GREATER_THAN_EQUAL,
|
152
151
|
this,
|
153
152
|
);
|
@@ -155,7 +154,7 @@ export class QueryBuilderFilterOperator_GreaterThanEqual
|
|
155
154
|
|
156
155
|
get hashCode(): string {
|
157
156
|
return hashArray([
|
158
|
-
|
157
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.FILTER_OPERATOR_GREATER_THAN_EQUAL,
|
159
158
|
]);
|
160
159
|
}
|
161
160
|
}
|
@@ -34,14 +34,14 @@ import {
|
|
34
34
|
buildFilterConditionState,
|
35
35
|
buildFilterConditionExpression,
|
36
36
|
} from './QueryBuilderFilterOperatorValueSpecificationBuilder.js';
|
37
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../
|
37
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../graph/QueryBuilderMetaModelConst.js';
|
38
38
|
import {
|
39
39
|
buildNotExpression,
|
40
40
|
getCollectionValueSpecificationType,
|
41
41
|
unwrapNotExpression,
|
42
42
|
} from '../../QueryBuilderValueSpecificationHelper.js';
|
43
43
|
import { type Hashable, hashArray } from '@finos/legend-shared';
|
44
|
-
import {
|
44
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../QueryBuilderStateHashUtils.js';
|
45
45
|
|
46
46
|
export class QueryBuilderFilterOperator_In
|
47
47
|
extends QueryBuilderFilterOperator
|
@@ -155,7 +155,7 @@ export class QueryBuilderFilterOperator_In
|
|
155
155
|
}
|
156
156
|
|
157
157
|
get hashCode(): string {
|
158
|
-
return hashArray([
|
158
|
+
return hashArray([QUERY_BUILDER_STATE_HASH_STRUCTURE.FILTER_OPERATOR_IN]);
|
159
159
|
}
|
160
160
|
}
|
161
161
|
|
@@ -183,6 +183,8 @@ export class QueryBuilderFilterOperator_NotIn extends QueryBuilderFilterOperator
|
|
183
183
|
}
|
184
184
|
|
185
185
|
override get hashCode(): string {
|
186
|
-
return hashArray([
|
186
|
+
return hashArray([
|
187
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.FILTER_OPERATOR_NOT_IN,
|
188
|
+
]);
|
187
189
|
}
|
188
190
|
}
|
@@ -29,14 +29,14 @@ import {
|
|
29
29
|
buildFilterConditionState,
|
30
30
|
buildFilterConditionExpression,
|
31
31
|
} from './QueryBuilderFilterOperatorValueSpecificationBuilder.js';
|
32
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../
|
32
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../graph/QueryBuilderMetaModelConst.js';
|
33
33
|
import {
|
34
34
|
buildNotExpression,
|
35
35
|
isPropertyExpressionChainOptional,
|
36
36
|
unwrapNotExpression,
|
37
37
|
} from '../../QueryBuilderValueSpecificationHelper.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 QueryBuilderFilterOperator_IsEmpty
|
42
42
|
extends QueryBuilderFilterOperator
|
@@ -101,7 +101,9 @@ export class QueryBuilderFilterOperator_IsEmpty
|
|
101
101
|
}
|
102
102
|
|
103
103
|
get hashCode(): string {
|
104
|
-
return hashArray([
|
104
|
+
return hashArray([
|
105
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.FILTER_OPERATOR_IS_EMPTY,
|
106
|
+
]);
|
105
107
|
}
|
106
108
|
}
|
107
109
|
|
@@ -130,7 +132,7 @@ export class QueryBuilderFilterOperator_IsNotEmpty extends QueryBuilderFilterOpe
|
|
130
132
|
|
131
133
|
override get hashCode(): string {
|
132
134
|
return hashArray([
|
133
|
-
|
135
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.FILTER_OPERATOR_IS_NOT_EMPTY,
|
134
136
|
]);
|
135
137
|
}
|
136
138
|
}
|
@@ -24,7 +24,6 @@ import {
|
|
24
24
|
type ValueSpecification,
|
25
25
|
type SimpleFunctionExpression,
|
26
26
|
type AbstractPropertyExpression,
|
27
|
-
SUPPORTED_FUNCTIONS,
|
28
27
|
} from '@finos/legend-graph';
|
29
28
|
import {
|
30
29
|
type Hashable,
|
@@ -35,13 +34,13 @@ import {
|
|
35
34
|
buildFilterConditionState,
|
36
35
|
buildFilterConditionExpression,
|
37
36
|
} from './QueryBuilderFilterOperatorValueSpecificationBuilder.js';
|
38
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../
|
37
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../graph/QueryBuilderMetaModelConst.js';
|
39
38
|
import {
|
40
39
|
generateDefaultValueForPrimitiveType,
|
41
40
|
getNonCollectionValueSpecificationType,
|
42
41
|
isTypeCompatibleForAssignment,
|
43
42
|
} from '../../QueryBuilderValueSpecificationHelper.js';
|
44
|
-
import {
|
43
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../QueryBuilderStateHashUtils.js';
|
45
44
|
import { buildPrimitiveInstanceValue } from '../../shared/ValueSpecificationEditorHelper.js';
|
46
45
|
|
47
46
|
export class QueryBuilderFilterOperator_LessThan
|
@@ -131,7 +130,7 @@ export class QueryBuilderFilterOperator_LessThan
|
|
131
130
|
.genericType.value.rawType.path === PRIMITIVE_TYPE.DATETIME &&
|
132
131
|
filterConditionState.value?.genericType?.value.rawType.path !==
|
133
132
|
PRIMITIVE_TYPE.DATETIME
|
134
|
-
?
|
133
|
+
? QUERY_BUILDER_SUPPORTED_FUNCTIONS.IS_BEFORE_DAY
|
135
134
|
: QUERY_BUILDER_SUPPORTED_FUNCTIONS.LESS_THAN,
|
136
135
|
);
|
137
136
|
}
|
@@ -147,13 +146,15 @@ export class QueryBuilderFilterOperator_LessThan
|
|
147
146
|
.genericType.value.rawType.path === PRIMITIVE_TYPE.DATETIME &&
|
148
147
|
expression.parametersValues[1]?.genericType?.value.rawType.path !==
|
149
148
|
PRIMITIVE_TYPE.DATETIME
|
150
|
-
?
|
149
|
+
? QUERY_BUILDER_SUPPORTED_FUNCTIONS.IS_BEFORE_DAY
|
151
150
|
: QUERY_BUILDER_SUPPORTED_FUNCTIONS.LESS_THAN,
|
152
151
|
this,
|
153
152
|
);
|
154
153
|
}
|
155
154
|
|
156
155
|
get hashCode(): string {
|
157
|
-
return hashArray([
|
156
|
+
return hashArray([
|
157
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.FILTER_OPERATOR_LESS_THAN,
|
158
|
+
]);
|
158
159
|
}
|
159
160
|
}
|
@@ -24,7 +24,6 @@ import {
|
|
24
24
|
type ValueSpecification,
|
25
25
|
type SimpleFunctionExpression,
|
26
26
|
type AbstractPropertyExpression,
|
27
|
-
SUPPORTED_FUNCTIONS,
|
28
27
|
} from '@finos/legend-graph';
|
29
28
|
import {
|
30
29
|
type Hashable,
|
@@ -35,13 +34,13 @@ import {
|
|
35
34
|
buildFilterConditionState,
|
36
35
|
buildFilterConditionExpression,
|
37
36
|
} from './QueryBuilderFilterOperatorValueSpecificationBuilder.js';
|
38
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../
|
37
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../graph/QueryBuilderMetaModelConst.js';
|
39
38
|
import {
|
40
39
|
generateDefaultValueForPrimitiveType,
|
41
40
|
getNonCollectionValueSpecificationType,
|
42
41
|
isTypeCompatibleForAssignment,
|
43
42
|
} from '../../QueryBuilderValueSpecificationHelper.js';
|
44
|
-
import {
|
43
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../QueryBuilderStateHashUtils.js';
|
45
44
|
import { buildPrimitiveInstanceValue } from '../../shared/ValueSpecificationEditorHelper.js';
|
46
45
|
|
47
46
|
export class QueryBuilderFilterOperator_LessThanEqual
|
@@ -131,7 +130,7 @@ export class QueryBuilderFilterOperator_LessThanEqual
|
|
131
130
|
.genericType.value.rawType.path === PRIMITIVE_TYPE.DATETIME &&
|
132
131
|
filterConditionState.value?.genericType?.value.rawType.path !==
|
133
132
|
PRIMITIVE_TYPE.DATETIME
|
134
|
-
?
|
133
|
+
? QUERY_BUILDER_SUPPORTED_FUNCTIONS.IS_ON_OR_BEFORE_DAY
|
135
134
|
: QUERY_BUILDER_SUPPORTED_FUNCTIONS.LESS_THAN_EQUAL,
|
136
135
|
);
|
137
136
|
}
|
@@ -147,7 +146,7 @@ export class QueryBuilderFilterOperator_LessThanEqual
|
|
147
146
|
.genericType.value.rawType.path === PRIMITIVE_TYPE.DATETIME &&
|
148
147
|
expression.parametersValues[1]?.genericType?.value.rawType.path !==
|
149
148
|
PRIMITIVE_TYPE.DATETIME
|
150
|
-
?
|
149
|
+
? QUERY_BUILDER_SUPPORTED_FUNCTIONS.IS_ON_OR_BEFORE_DAY
|
151
150
|
: QUERY_BUILDER_SUPPORTED_FUNCTIONS.LESS_THAN_EQUAL,
|
152
151
|
this,
|
153
152
|
);
|
@@ -155,7 +154,7 @@ export class QueryBuilderFilterOperator_LessThanEqual
|
|
155
154
|
|
156
155
|
get hashCode(): string {
|
157
156
|
return hashArray([
|
158
|
-
|
157
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.FILTER_OPERATOR_LESS_THAN_EQUAL,
|
159
158
|
]);
|
160
159
|
}
|
161
160
|
}
|
@@ -34,14 +34,14 @@ import {
|
|
34
34
|
buildFilterConditionState,
|
35
35
|
buildFilterConditionExpression,
|
36
36
|
} from './QueryBuilderFilterOperatorValueSpecificationBuilder.js';
|
37
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../
|
37
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../graph/QueryBuilderMetaModelConst.js';
|
38
38
|
import {
|
39
39
|
buildNotExpression,
|
40
40
|
generateDefaultValueForPrimitiveType,
|
41
41
|
getNonCollectionValueSpecificationType,
|
42
42
|
unwrapNotExpression,
|
43
43
|
} from '../../QueryBuilderValueSpecificationHelper.js';
|
44
|
-
import {
|
44
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../QueryBuilderStateHashUtils.js';
|
45
45
|
import { buildPrimitiveInstanceValue } from '../../shared/ValueSpecificationEditorHelper.js';
|
46
46
|
|
47
47
|
export class QueryBuilderFilterOperator_StartWith
|
@@ -118,7 +118,9 @@ export class QueryBuilderFilterOperator_StartWith
|
|
118
118
|
}
|
119
119
|
|
120
120
|
get hashCode(): string {
|
121
|
-
return hashArray([
|
121
|
+
return hashArray([
|
122
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.FILTER_OPERATOR_START_WITH,
|
123
|
+
]);
|
122
124
|
}
|
123
125
|
}
|
124
126
|
|
@@ -147,7 +149,7 @@ export class QueryBuilderFilterOperator_NotStartWith extends QueryBuilderFilterO
|
|
147
149
|
|
148
150
|
override get hashCode(): string {
|
149
151
|
return hashArray([
|
150
|
-
|
152
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.FILTER_OPERATOR_NOT_START_WITH,
|
151
153
|
]);
|
152
154
|
}
|
153
155
|
}
|
@@ -31,7 +31,7 @@ import {
|
|
31
31
|
guaranteeNonNullable,
|
32
32
|
} from '@finos/legend-shared';
|
33
33
|
import { action, computed, makeObservable, observable } from 'mobx';
|
34
|
-
import {
|
34
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../QueryBuilderStateHashUtils.js';
|
35
35
|
import type { QueryBuilderState } from '../QueryBuilderState.js';
|
36
36
|
import { isValueExpressionReferencedInValue } from '../QueryBuilderValueSpecificationHelper.js';
|
37
37
|
import { LambdaParameterState } from '../shared/LambdaParameterState.js';
|
@@ -180,7 +180,7 @@ export class QueryBuilderMilestoningState implements Hashable {
|
|
180
180
|
|
181
181
|
get hashCode(): string {
|
182
182
|
return hashArray([
|
183
|
-
|
183
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.MILESTONING_STATE,
|
184
184
|
this.businessDate ?? '',
|
185
185
|
this.processingDate ?? '',
|
186
186
|
]);
|
@@ -32,7 +32,6 @@ import {
|
|
32
32
|
PRIMITIVE_TYPE,
|
33
33
|
INTERNAL__PropagatedValue,
|
34
34
|
SimpleFunctionExpression,
|
35
|
-
SUPPORTED_FUNCTIONS,
|
36
35
|
type ObserverContext,
|
37
36
|
} from '@finos/legend-graph';
|
38
37
|
import { Randomizer, UnsupportedOperationError } from '@finos/legend-shared';
|
@@ -41,11 +40,12 @@ import {
|
|
41
40
|
instanceValue_setValues,
|
42
41
|
valueSpecification_setGenericType,
|
43
42
|
} from './ValueSpecificationModifierHelper.js';
|
43
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../graph/QueryBuilderMetaModelConst.js';
|
44
44
|
|
45
45
|
const VAR_DEFAULT_NAME = 'var';
|
46
46
|
|
47
47
|
export const createSupportedFunctionExpression = (
|
48
|
-
supportedFuncName:
|
48
|
+
supportedFuncName: string,
|
49
49
|
expectedReturnType: Type,
|
50
50
|
): SimpleFunctionExpression => {
|
51
51
|
const funcExpression = new SimpleFunctionExpression(supportedFuncName);
|
@@ -67,12 +67,12 @@ const createMockPrimitiveValueSpecification = (
|
|
67
67
|
primitiveTypeName === PRIMITIVE_TYPE.DATETIME
|
68
68
|
) {
|
69
69
|
return createSupportedFunctionExpression(
|
70
|
-
|
70
|
+
QUERY_BUILDER_SUPPORTED_FUNCTIONS.NOW,
|
71
71
|
PrimitiveType.DATETIME,
|
72
72
|
);
|
73
73
|
} else if (primitiveTypeName === PRIMITIVE_TYPE.STRICTDATE) {
|
74
74
|
return createSupportedFunctionExpression(
|
75
|
-
|
75
|
+
QUERY_BUILDER_SUPPORTED_FUNCTIONS.TODAY,
|
76
76
|
PrimitiveType.STRICTDATE,
|
77
77
|
);
|
78
78
|
}
|
@@ -25,7 +25,7 @@ import {
|
|
25
25
|
} from '@finos/legend-graph';
|
26
26
|
import { type Hashable, hashArray } from '@finos/legend-shared';
|
27
27
|
import { makeObservable, observable, action, computed } from 'mobx';
|
28
|
-
import {
|
28
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../QueryBuilderStateHashUtils.js';
|
29
29
|
import type { QueryBuilderState } from '../QueryBuilderState.js';
|
30
30
|
import { isValueExpressionReferencedInValue } from '../QueryBuilderValueSpecificationHelper.js';
|
31
31
|
|
@@ -85,7 +85,7 @@ export class QueryBuilderWatermarkState implements Hashable {
|
|
85
85
|
|
86
86
|
get hashCode(): string {
|
87
87
|
return hashArray([
|
88
|
-
|
88
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.WATERMARK_STATE,
|
89
89
|
this.value ?? '',
|
90
90
|
]);
|
91
91
|
}
|
@@ -20,7 +20,7 @@ import {
|
|
20
20
|
matchFunctionName,
|
21
21
|
} from '@finos/legend-graph';
|
22
22
|
import { assertTrue, guaranteeType } from '@finos/legend-shared';
|
23
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../
|
23
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../graph/QueryBuilderMetaModelConst.js';
|
24
24
|
import type { QueryBuilderState } from '../QueryBuilderState.js';
|
25
25
|
import { QueryBuilderValueSpecificationProcessor } from '../QueryBuilderStateBuilder.js';
|
26
26
|
|
@@ -20,7 +20,7 @@ import {
|
|
20
20
|
type LambdaFunction,
|
21
21
|
} from '@finos/legend-graph';
|
22
22
|
import { guaranteeNonNullable } from '@finos/legend-shared';
|
23
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../
|
23
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../graph/QueryBuilderMetaModelConst.js';
|
24
24
|
import type { QueryBuilderWatermarkState } from './QueryBuilderWatermarkState.js';
|
25
25
|
|
26
26
|
export const buildWatermarkExpression = (
|