@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
@@ -15,11 +15,12 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
15
15
|
* limitations under the License.
|
16
16
|
*/
|
17
17
|
import { BasePopover, BaseRadioGroup, CustomSelectorInput, } from '@finos/legend-art';
|
18
|
-
import { PRIMITIVE_TYPE, SimpleFunctionExpression, InstanceValue, GenericType, PrimitiveInstanceValue, GenericTypeExplicitReference, EnumValueExplicitReference, EnumValueInstanceValue, matchFunctionName,
|
18
|
+
import { PRIMITIVE_TYPE, SimpleFunctionExpression, InstanceValue, GenericType, PrimitiveInstanceValue, GenericTypeExplicitReference, EnumValueExplicitReference, EnumValueInstanceValue, matchFunctionName, PrimitiveType, } from '@finos/legend-graph';
|
19
19
|
import { guaranteeNonNullable, parseNumber, returnUndefOnError, UnsupportedOperationError, } from '@finos/legend-shared';
|
20
20
|
import { useEffect, useRef, useState } from 'react';
|
21
21
|
import { buildPrimitiveInstanceValue, createSupportedFunctionExpression, } from '../../stores/shared/ValueSpecificationEditorHelper.js';
|
22
22
|
import { functionExpression_addParameterValue, instanceValue_setValue, instanceValue_setValues, valueSpecification_setGenericType, } from '../../stores/shared/ValueSpecificationModifierHelper.js';
|
23
|
+
import { QUERY_BUILDER_PURE_PATH, QUERY_BUILDER_SUPPORTED_FUNCTIONS, } from '../../graph/QueryBuilderMetaModelConst.js';
|
23
24
|
export var CUSTOM_DATE_PICKER_OPTION;
|
24
25
|
(function (CUSTOM_DATE_PICKER_OPTION) {
|
25
26
|
CUSTOM_DATE_PICKER_OPTION["ABSOLUTE_DATE"] = "Absolute Date";
|
@@ -152,18 +153,19 @@ const reservedCustomDateOptions = [
|
|
152
153
|
new CustomDateOption('One Month Ago', CUSTOM_DATE_PICKER_OPTION.ONE_MONTH_AGO, 1, CUSTOM_DATE_OPTION_UNIT.MONTHS, CUSTOM_DATE_OPTION_DIRECTION.BEFORE, CUSTOM_DATE_OPTION_REFERENCE_MOMENT.TODAY),
|
153
154
|
new CustomDateOption('One Year Ago', CUSTOM_DATE_PICKER_OPTION.ONE_YEAR_AGO, 1, CUSTOM_DATE_OPTION_UNIT.YEARS, CUSTOM_DATE_OPTION_DIRECTION.BEFORE, CUSTOM_DATE_OPTION_REFERENCE_MOMENT.TODAY),
|
154
155
|
];
|
156
|
+
const getSupportedDateFunctionFullPath = (functionName) => Object.values(QUERY_BUILDER_SUPPORTED_FUNCTIONS).find((_func) => matchFunctionName(functionName, _func));
|
155
157
|
/**
|
156
158
|
* Generate pure date functions based on the DatePickerOption.
|
157
159
|
*/
|
158
160
|
const buildPureDateFunctionExpression = (datePickerOption, graph, observerContext) => {
|
159
161
|
if (datePickerOption instanceof CustomPreviousDayOfWeekOption) {
|
160
|
-
const previousFridaySFE = new SimpleFunctionExpression(
|
162
|
+
const previousFridaySFE = new SimpleFunctionExpression(QUERY_BUILDER_SUPPORTED_FUNCTIONS.PREVIOUS_DAY_OF_WEEK);
|
161
163
|
valueSpecification_setGenericType(previousFridaySFE, GenericTypeExplicitReference.create(new GenericType(PrimitiveType.DATE)));
|
162
|
-
const dayOfWeekEnumIntanceValue = new EnumValueInstanceValue(GenericTypeExplicitReference.create(new GenericType(graph.getType(DAY_OF_WEEK))));
|
164
|
+
const dayOfWeekEnumIntanceValue = new EnumValueInstanceValue(GenericTypeExplicitReference.create(new GenericType(graph.getType(QUERY_BUILDER_PURE_PATH.DAY_OF_WEEK))));
|
163
165
|
instanceValue_setValues(dayOfWeekEnumIntanceValue, [
|
164
166
|
...dayOfWeekEnumIntanceValue.values,
|
165
167
|
EnumValueExplicitReference.create(guaranteeNonNullable(graph
|
166
|
-
.getEnumeration(DAY_OF_WEEK)
|
168
|
+
.getEnumeration(QUERY_BUILDER_PURE_PATH.DAY_OF_WEEK)
|
167
169
|
.values.filter((e) => e.name === datePickerOption.day)[0])),
|
168
170
|
], observerContext);
|
169
171
|
functionExpression_addParameterValue(previousFridaySFE, dayOfWeekEnumIntanceValue, observerContext);
|
@@ -172,22 +174,22 @@ const buildPureDateFunctionExpression = (datePickerOption, graph, observerContex
|
|
172
174
|
else if (datePickerOption instanceof CustomFirstDayOfOption) {
|
173
175
|
switch (datePickerOption.unit) {
|
174
176
|
case CUSTOM_DATE_FIRST_DAY_OF_UNIT.YEAR: {
|
175
|
-
const firstDayOfYearSFE = new SimpleFunctionExpression(
|
177
|
+
const firstDayOfYearSFE = new SimpleFunctionExpression(QUERY_BUILDER_SUPPORTED_FUNCTIONS.FIRST_DAY_OF_YEAR);
|
176
178
|
valueSpecification_setGenericType(firstDayOfYearSFE, GenericTypeExplicitReference.create(new GenericType(PrimitiveType.DATE)));
|
177
179
|
return firstDayOfYearSFE;
|
178
180
|
}
|
179
181
|
case CUSTOM_DATE_FIRST_DAY_OF_UNIT.QUARTER: {
|
180
|
-
const firstDayOfQuarterSFE = new SimpleFunctionExpression(
|
182
|
+
const firstDayOfQuarterSFE = new SimpleFunctionExpression(QUERY_BUILDER_SUPPORTED_FUNCTIONS.FIRST_DAY_OF_QUARTER);
|
181
183
|
valueSpecification_setGenericType(firstDayOfQuarterSFE, GenericTypeExplicitReference.create(new GenericType(PrimitiveType.STRICTDATE)));
|
182
184
|
return firstDayOfQuarterSFE;
|
183
185
|
}
|
184
186
|
case CUSTOM_DATE_FIRST_DAY_OF_UNIT.MONTH: {
|
185
|
-
const firstDayOfMonthSFE = new SimpleFunctionExpression(
|
187
|
+
const firstDayOfMonthSFE = new SimpleFunctionExpression(QUERY_BUILDER_SUPPORTED_FUNCTIONS.FIRST_DAY_OF_MONTH);
|
186
188
|
valueSpecification_setGenericType(firstDayOfMonthSFE, GenericTypeExplicitReference.create(new GenericType(PrimitiveType.DATE)));
|
187
189
|
return firstDayOfMonthSFE;
|
188
190
|
}
|
189
191
|
case CUSTOM_DATE_FIRST_DAY_OF_UNIT.WEEK: {
|
190
|
-
const firstDayOfWeekSFE = new SimpleFunctionExpression(
|
192
|
+
const firstDayOfWeekSFE = new SimpleFunctionExpression(QUERY_BUILDER_SUPPORTED_FUNCTIONS.FIRST_DAY_OF_WEEK);
|
191
193
|
valueSpecification_setGenericType(firstDayOfWeekSFE, GenericTypeExplicitReference.create(new GenericType(PrimitiveType.DATE)));
|
192
194
|
return firstDayOfWeekSFE;
|
193
195
|
}
|
@@ -198,28 +200,28 @@ const buildPureDateFunctionExpression = (datePickerOption, graph, observerContex
|
|
198
200
|
else {
|
199
201
|
switch (datePickerOption.value) {
|
200
202
|
case CUSTOM_DATE_PICKER_OPTION.TODAY: {
|
201
|
-
return createSupportedFunctionExpression(
|
203
|
+
return createSupportedFunctionExpression(QUERY_BUILDER_SUPPORTED_FUNCTIONS.TODAY, PrimitiveType.STRICTDATE);
|
202
204
|
}
|
203
205
|
case CUSTOM_DATE_PICKER_OPTION.NOW: {
|
204
|
-
return createSupportedFunctionExpression(
|
206
|
+
return createSupportedFunctionExpression(QUERY_BUILDER_SUPPORTED_FUNCTIONS.NOW, PrimitiveType.DATETIME);
|
205
207
|
}
|
206
208
|
case CUSTOM_DATE_OPTION_REFERENCE_MOMENT.FIRST_DAY_OF_YEAR: {
|
207
|
-
const firstDayOfYearSFE = new SimpleFunctionExpression(
|
209
|
+
const firstDayOfYearSFE = new SimpleFunctionExpression(QUERY_BUILDER_SUPPORTED_FUNCTIONS.FIRST_DAY_OF_YEAR);
|
208
210
|
valueSpecification_setGenericType(firstDayOfYearSFE, GenericTypeExplicitReference.create(new GenericType(PrimitiveType.DATE)));
|
209
211
|
return firstDayOfYearSFE;
|
210
212
|
}
|
211
213
|
case CUSTOM_DATE_OPTION_REFERENCE_MOMENT.FIRST_DAY_OF_QUARTER: {
|
212
|
-
const firstDayOfQuarterSFE = new SimpleFunctionExpression(
|
214
|
+
const firstDayOfQuarterSFE = new SimpleFunctionExpression(QUERY_BUILDER_SUPPORTED_FUNCTIONS.FIRST_DAY_OF_QUARTER);
|
213
215
|
valueSpecification_setGenericType(firstDayOfQuarterSFE, GenericTypeExplicitReference.create(new GenericType(PrimitiveType.STRICTDATE)));
|
214
216
|
return firstDayOfQuarterSFE;
|
215
217
|
}
|
216
218
|
case CUSTOM_DATE_OPTION_REFERENCE_MOMENT.FIRST_DAY_OF_MONTH: {
|
217
|
-
const firstDayOfMonthSFE = new SimpleFunctionExpression(
|
219
|
+
const firstDayOfMonthSFE = new SimpleFunctionExpression(QUERY_BUILDER_SUPPORTED_FUNCTIONS.FIRST_DAY_OF_MONTH);
|
218
220
|
valueSpecification_setGenericType(firstDayOfMonthSFE, GenericTypeExplicitReference.create(new GenericType(PrimitiveType.DATE)));
|
219
221
|
return firstDayOfMonthSFE;
|
220
222
|
}
|
221
223
|
case CUSTOM_DATE_OPTION_REFERENCE_MOMENT.FIRST_DAY_OF_WEEK: {
|
222
|
-
const firstDayOfWeekSFE = new SimpleFunctionExpression(
|
224
|
+
const firstDayOfWeekSFE = new SimpleFunctionExpression(QUERY_BUILDER_SUPPORTED_FUNCTIONS.FIRST_DAY_OF_WEEK);
|
223
225
|
valueSpecification_setGenericType(firstDayOfWeekSFE, GenericTypeExplicitReference.create(new GenericType(PrimitiveType.DATE)));
|
224
226
|
return firstDayOfWeekSFE;
|
225
227
|
}
|
@@ -232,7 +234,7 @@ const buildPureDateFunctionExpression = (datePickerOption, graph, observerContex
|
|
232
234
|
* Generate the enum value of type Pure Enum, DURATION_UNIT, based on the input string.
|
233
235
|
*/
|
234
236
|
const buildPureDurationEnumValue = (unitString, graph) => {
|
235
|
-
const durationUnitEnum = graph.getEnumeration(DURATION_UNIT);
|
237
|
+
const durationUnitEnum = graph.getEnumeration(QUERY_BUILDER_PURE_PATH.DURATION_UNIT);
|
236
238
|
const targetPureDurationEnumValue = durationUnitEnum.values.filter((e) => e.name ===
|
237
239
|
Object.keys(CUSTOM_DATE_OPTION_UNIT).filter((key) => CUSTOM_DATE_OPTION_UNIT[key] === unitString)[0])[0];
|
238
240
|
return (targetPureDurationEnumValue ??
|
@@ -242,17 +244,17 @@ const buildPureDurationEnumValue = (unitString, graph) => {
|
|
242
244
|
* Generate the pure date adjust() function based on the CustomDateOption.
|
243
245
|
*/
|
244
246
|
const buildPureAdjustDateFunction = (customDateOption, graph, observerContext) => {
|
245
|
-
const dateAdjustSimpleFunctionExpression = new SimpleFunctionExpression(
|
247
|
+
const dateAdjustSimpleFunctionExpression = new SimpleFunctionExpression(QUERY_BUILDER_SUPPORTED_FUNCTIONS.ADJUST);
|
246
248
|
functionExpression_addParameterValue(dateAdjustSimpleFunctionExpression, buildPureDateFunctionExpression(new DatePickerOption(guaranteeNonNullable(customDateOption.referenceMoment), guaranteeNonNullable(customDateOption.referenceMoment)), graph, observerContext), observerContext);
|
247
249
|
if (customDateOption.direction === CUSTOM_DATE_OPTION_DIRECTION.BEFORE) {
|
248
|
-
const minusFunc = new SimpleFunctionExpression(
|
250
|
+
const minusFunc = new SimpleFunctionExpression(QUERY_BUILDER_SUPPORTED_FUNCTIONS.MINUS);
|
249
251
|
functionExpression_addParameterValue(minusFunc, buildPrimitiveInstanceValue(graph, PRIMITIVE_TYPE.INTEGER, customDateOption.duration, observerContext), observerContext);
|
250
252
|
functionExpression_addParameterValue(dateAdjustSimpleFunctionExpression, minusFunc, observerContext);
|
251
253
|
}
|
252
254
|
else {
|
253
255
|
functionExpression_addParameterValue(dateAdjustSimpleFunctionExpression, buildPrimitiveInstanceValue(graph, PRIMITIVE_TYPE.INTEGER, customDateOption.duration, observerContext), observerContext);
|
254
256
|
}
|
255
|
-
const durationUnitEnumIntanceValue = new EnumValueInstanceValue(GenericTypeExplicitReference.create(new GenericType(graph.getType(DURATION_UNIT))));
|
257
|
+
const durationUnitEnumIntanceValue = new EnumValueInstanceValue(GenericTypeExplicitReference.create(new GenericType(graph.getType(QUERY_BUILDER_PURE_PATH.DURATION_UNIT))));
|
256
258
|
instanceValue_setValues(durationUnitEnumIntanceValue, [
|
257
259
|
...durationUnitEnumIntanceValue.values,
|
258
260
|
EnumValueExplicitReference.create(guaranteeNonNullable(buildPureDurationEnumValue(guaranteeNonNullable(customDateOption.unit), graph))),
|
@@ -269,7 +271,7 @@ const buildCustomDateOptionDurationValue = (pureDateAdjustFunction) => {
|
|
269
271
|
return durationParam instanceof PrimitiveInstanceValue
|
270
272
|
? durationParam.values[0]
|
271
273
|
: durationParam instanceof SimpleFunctionExpression &&
|
272
|
-
matchFunctionName(durationParam.functionName,
|
274
|
+
matchFunctionName(durationParam.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.MINUS)
|
273
275
|
? durationParam.parametersValues[0] instanceof PrimitiveInstanceValue
|
274
276
|
? durationParam.parametersValues[0].values[0]
|
275
277
|
: 0
|
@@ -280,7 +282,7 @@ const buildCustomDateOptionDurationValue = (pureDateAdjustFunction) => {
|
|
280
282
|
*/
|
281
283
|
const buildCustomDateOptionDirectionValue = (pureDateAdjustFunction) => pureDateAdjustFunction.parametersValues[1] instanceof
|
282
284
|
SimpleFunctionExpression &&
|
283
|
-
matchFunctionName(pureDateAdjustFunction.parametersValues[1].functionName,
|
285
|
+
matchFunctionName(pureDateAdjustFunction.parametersValues[1].functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.MINUS)
|
284
286
|
? CUSTOM_DATE_OPTION_DIRECTION.BEFORE
|
285
287
|
: CUSTOM_DATE_OPTION_DIRECTION.AFTER;
|
286
288
|
/**
|
@@ -296,18 +298,18 @@ const buildCustomDateOptionUnitValue = (valueSpecification) => guaranteeNonNulla
|
|
296
298
|
*/
|
297
299
|
const buildCustomDateOptionReferenceMomentValue = (pureDateAjustFunction) => {
|
298
300
|
const funcName = pureDateAjustFunction.parametersValues[0].functionName;
|
299
|
-
switch (
|
300
|
-
case
|
301
|
+
switch (getSupportedDateFunctionFullPath(funcName)) {
|
302
|
+
case QUERY_BUILDER_SUPPORTED_FUNCTIONS.TODAY:
|
301
303
|
return CUSTOM_DATE_OPTION_REFERENCE_MOMENT.TODAY;
|
302
|
-
case
|
304
|
+
case QUERY_BUILDER_SUPPORTED_FUNCTIONS.NOW:
|
303
305
|
return CUSTOM_DATE_OPTION_REFERENCE_MOMENT.NOW;
|
304
|
-
case
|
306
|
+
case QUERY_BUILDER_SUPPORTED_FUNCTIONS.FIRST_DAY_OF_YEAR:
|
305
307
|
return CUSTOM_DATE_OPTION_REFERENCE_MOMENT.FIRST_DAY_OF_YEAR;
|
306
|
-
case
|
308
|
+
case QUERY_BUILDER_SUPPORTED_FUNCTIONS.FIRST_DAY_OF_QUARTER:
|
307
309
|
return CUSTOM_DATE_OPTION_REFERENCE_MOMENT.FIRST_DAY_OF_QUARTER;
|
308
|
-
case
|
310
|
+
case QUERY_BUILDER_SUPPORTED_FUNCTIONS.FIRST_DAY_OF_MONTH:
|
309
311
|
return CUSTOM_DATE_OPTION_REFERENCE_MOMENT.FIRST_DAY_OF_MONTH;
|
310
|
-
case
|
312
|
+
case QUERY_BUILDER_SUPPORTED_FUNCTIONS.FIRST_DAY_OF_WEEK:
|
311
313
|
return CUSTOM_DATE_OPTION_REFERENCE_MOMENT.FIRST_DAY_OF_WEEK;
|
312
314
|
default:
|
313
315
|
throw new UnsupportedOperationError(`Can't build custom date option reference moment '${funcName}'`);
|
@@ -319,7 +321,7 @@ const buildCustomDateOptionReferenceMomentValue = (pureDateAjustFunction) => {
|
|
319
321
|
*/
|
320
322
|
const buildCustomDateOption = (valueSpecification) => {
|
321
323
|
if (valueSpecification instanceof SimpleFunctionExpression &&
|
322
|
-
matchFunctionName(valueSpecification.functionName,
|
324
|
+
matchFunctionName(valueSpecification.functionName, QUERY_BUILDER_SUPPORTED_FUNCTIONS.ADJUST)) {
|
323
325
|
const customDateOption = new CustomDateOption('', CUSTOM_DATE_PICKER_OPTION.CUSTOM_DATE, buildCustomDateOptionDurationValue(valueSpecification), buildCustomDateOptionUnitValue(valueSpecification), buildCustomDateOptionDirectionValue(valueSpecification), buildCustomDateOptionReferenceMomentValue(valueSpecification));
|
324
326
|
const matchedPreservedCustomAdjustDates = reservedCustomDateOptions.filter((t) => t.generateDisplayLabel() === customDateOption.generateDisplayLabel());
|
325
327
|
if (matchedPreservedCustomAdjustDates.length > 0) {
|
@@ -337,24 +339,24 @@ const buildCustomDateOption = (valueSpecification) => {
|
|
337
339
|
*/
|
338
340
|
export const buildDatePickerOption = (valueSpecification) => {
|
339
341
|
if (valueSpecification instanceof SimpleFunctionExpression) {
|
340
|
-
switch (
|
341
|
-
case
|
342
|
+
switch (getSupportedDateFunctionFullPath(valueSpecification.functionName)) {
|
343
|
+
case QUERY_BUILDER_SUPPORTED_FUNCTIONS.TODAY:
|
342
344
|
return new DatePickerOption(CUSTOM_DATE_PICKER_OPTION.TODAY, CUSTOM_DATE_PICKER_OPTION.TODAY);
|
343
|
-
case
|
345
|
+
case QUERY_BUILDER_SUPPORTED_FUNCTIONS.NOW:
|
344
346
|
return new DatePickerOption(CUSTOM_DATE_PICKER_OPTION.NOW, CUSTOM_DATE_PICKER_OPTION.NOW);
|
345
|
-
case
|
347
|
+
case QUERY_BUILDER_SUPPORTED_FUNCTIONS.FIRST_DAY_OF_YEAR:
|
346
348
|
return new CustomFirstDayOfOption(CUSTOM_DATE_OPTION_REFERENCE_MOMENT.FIRST_DAY_OF_YEAR, CUSTOM_DATE_FIRST_DAY_OF_UNIT.YEAR);
|
347
|
-
case
|
349
|
+
case QUERY_BUILDER_SUPPORTED_FUNCTIONS.FIRST_DAY_OF_QUARTER:
|
348
350
|
return new CustomFirstDayOfOption(CUSTOM_DATE_OPTION_REFERENCE_MOMENT.FIRST_DAY_OF_QUARTER, CUSTOM_DATE_FIRST_DAY_OF_UNIT.QUARTER);
|
349
|
-
case
|
351
|
+
case QUERY_BUILDER_SUPPORTED_FUNCTIONS.FIRST_DAY_OF_MONTH:
|
350
352
|
return new CustomFirstDayOfOption(CUSTOM_DATE_OPTION_REFERENCE_MOMENT.FIRST_DAY_OF_MONTH, CUSTOM_DATE_FIRST_DAY_OF_UNIT.MONTH);
|
351
|
-
case
|
353
|
+
case QUERY_BUILDER_SUPPORTED_FUNCTIONS.FIRST_DAY_OF_WEEK:
|
352
354
|
return new CustomFirstDayOfOption(CUSTOM_DATE_OPTION_REFERENCE_MOMENT.FIRST_DAY_OF_WEEK, CUSTOM_DATE_FIRST_DAY_OF_UNIT.WEEK);
|
353
|
-
case
|
355
|
+
case QUERY_BUILDER_SUPPORTED_FUNCTIONS.PREVIOUS_DAY_OF_WEEK:
|
354
356
|
return new CustomPreviousDayOfWeekOption(`Previous ${valueSpecification.parametersValues[0]
|
355
357
|
.values[0]?.value.name}`, valueSpecification.parametersValues[0]
|
356
358
|
.values[0]?.value.name);
|
357
|
-
case
|
359
|
+
case QUERY_BUILDER_SUPPORTED_FUNCTIONS.ADJUST:
|
358
360
|
return buildCustomDateOption(valueSpecification);
|
359
361
|
default:
|
360
362
|
return new DatePickerOption('', '');
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CustomDatePicker.js","sourceRoot":"","sources":["../../../src/components/shared/CustomDatePicker.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,WAAW,EACX,cAAc,EACd,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAKL,cAAc,EACd,wBAAwB,EACxB,aAAa,EACb,WAAW,EACX,sBAAsB,EACtB,4BAA4B,EAC5B,0BAA0B,EAC1B,sBAAsB,EACtB,iBAAiB,EACjB,mBAAmB,EACnB,WAAW,EACX,aAAa,EAEb,aAAa,EACb,0BAA0B,GAC3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,oBAAoB,EACpB,WAAW,EACX,kBAAkB,EAClB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EACL,2BAA2B,EAC3B,iCAAiC,GAClC,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EACL,oCAAoC,EACpC,sBAAsB,EACtB,uBAAuB,EACvB,iCAAiC,GAClC,MAAM,yDAAyD,CAAC;AAEjE,MAAM,CAAN,IAAY,yBAaX;AAbD,WAAY,yBAAyB;IACnC,4DAA+B,CAAA;IAC/B,4DAA+B,CAAA;IAC/B,4CAAe,CAAA;IACf,wCAAW,CAAA;IACX,oDAAuB,CAAA;IACvB,0DAA6B,CAAA;IAC7B,4DAA+B,CAAA;IAC/B,0DAA6B,CAAA;IAC7B,wDAA2B,CAAA;IAC3B,0EAA6C,CAAA;IAC7C,6DAAgC,CAAA;IAChC,wDAA2B,CAAA;AAC7B,CAAC,EAbW,yBAAyB,GAAzB,yBAAyB,KAAzB,yBAAyB,QAapC;AAED,IAAK,uBAKJ;AALD,WAAK,uBAAuB;IAC1B,0CAAe,CAAA;IACf,4CAAiB,CAAA;IACjB,8CAAmB,CAAA;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AED,KAAC,cAAc,IACb,SAAS,EAAC,yCAAyC,EACnD,KAAK,EAAE,gBAAgB,CAAC,KAAK,EAC7B,QAAQ,EAAE,4BAA4B,EACtC,GAAG,EAAE,IAAI,EACT,OAAO,EAAE,qBAAqB,EAC9B,IAAI,EAAE,CAAC,GACP,EACD,4BAA4B,EAAE,IACnB,IACb,CACJ,CAAC;AACJ,CAAC,CAAC"}
|
1
|
+
{"version":3,"file":"CustomDatePicker.js","sourceRoot":"","sources":["../../../src/components/shared/CustomDatePicker.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,WAAW,EACX,cAAc,EACd,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAKL,cAAc,EACd,wBAAwB,EACxB,aAAa,EACb,WAAW,EACX,sBAAsB,EACtB,4BAA4B,EAC5B,0BAA0B,EAC1B,sBAAsB,EACtB,iBAAiB,EAEjB,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,oBAAoB,EACpB,WAAW,EACX,kBAAkB,EAClB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACpD,OAAO,EACL,2BAA2B,EAC3B,iCAAiC,GAClC,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EACL,oCAAoC,EACpC,sBAAsB,EACtB,uBAAuB,EACvB,iCAAiC,GAClC,MAAM,yDAAyD,CAAC;AACjE,OAAO,EACL,uBAAuB,EACvB,iCAAiC,GAClC,MAAM,2CAA2C,CAAC;AAEnD,MAAM,CAAN,IAAY,yBAaX;AAbD,WAAY,yBAAyB;IACnC,4DAA+B,CAAA;IAC/B,4DAA+B,CAAA;IAC/B,4CAAe,CAAA;IACf,wCAAW,CAAA;IACX,oDAAuB,CAAA;IACvB,0DAA6B,CAAA;IAC7B,4DAA+B,CAAA;IAC/B,0DAA6B,CAAA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AAC,kBAAkB,CAAC,CAAC,CAAC;IAEzB,OAAO,CACL,8BACE,iBACE,SAAS,EAAC,yCAAyC,EACnD,KAAK,EAAC,+CAA+C,EACrD,OAAO,EAAE,2BAA2B,YAEnC,gBAAgB,CAAC,KAAK,GAChB,EACT,MAAC,WAAW,IACV,IAAI,EAAE,OAAO,CAAC,QAAQ,CAAC,EACvB,eAAe,EAAE;oBACf,OAAO,EAAE,WAAW;iBACrB,EACD,QAAQ,EAAE,QAAQ,EAClB,OAAO,EAAE,4BAA4B,EACrC,YAAY,EAAE;oBACZ,QAAQ,EAAE,QAAQ;oBAClB,UAAU,EAAE,QAAQ;iBACrB,EACD,eAAe,EAAE;oBACf,QAAQ,EAAE,KAAK;oBACf,UAAU,EAAE,QAAQ;iBACrB,aAED,KAAC,cAAc,IACb,SAAS,EAAC,yCAAyC,EACnD,KAAK,EAAE,gBAAgB,CAAC,KAAK,EAC7B,QAAQ,EAAE,4BAA4B,EACtC,GAAG,EAAE,IAAI,EACT,OAAO,EAAE,qBAAqB,EAC9B,IAAI,EAAE,CAAC,GACP,EACD,4BAA4B,EAAE,IACnB,IACb,CACJ,CAAC;AACJ,CAAC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LambdaEditor.d.ts","sourceRoot":"","sources":["../../../src/components/shared/LambdaEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;
|
1
|
+
{"version":3,"file":"LambdaEditor.d.ts","sourceRoot":"","sources":["../../../src/components/shared/LambdaEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AA4BH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0CAA0C,CAAC;AAQlF,OAAO,EAAiC,KAAK,IAAI,EAAE,MAAM,qBAAqB,CAAC;AAklB/E;;;GAGG;AACH,eAAO,MAAM,YAAY,WACf;IACN,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,QAAQ,EAAE,OAAO,CAAC;IAClB,iBAAiB,EAAE,iBAAiB,CAAC;IACrC;;;;OAIG;IACH,YAAY,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IAChC,mBAAmB,CAAC,EAAE,CAAC,MAAM,OAAO,CAAC,GAAG,SAAS,CAAC;IAClD,yBAAyB,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;IACrD;;;;;;;;;;;;;OAaG;IACH,aAAa,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,gBAAgB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACvC;;;;;OAKG;IACH,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACrC;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACnC;;OAEG;IACH,yBAAyB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAChD;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IACnC,aAAa,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;CAC1C;;CA6FF,CAAC"}
|
@@ -18,12 +18,12 @@ import { useRef, useEffect, useState, useMemo } from 'react';
|
|
18
18
|
import { editor as monacoEditorAPI } from 'monaco-editor';
|
19
19
|
import { observer } from 'mobx-react-lite';
|
20
20
|
import { clsx, FilledWindowMaximizeIcon, LongArrowAltDownIcon, LongArrowAltUpIcon, Dialog, useResizeDetector, Modal, ModalBody, ModalFooter, ModalHeader, ModalTitle, } from '@finos/legend-art';
|
21
|
-
import { disposeCodeEditor, getBaseCodeEditorOptions, getCodeEditorValue, normalizeLineEnding, clearMarkers, setErrorMarkers, } from '@finos/legend-lego/code-editor';
|
21
|
+
import { disposeCodeEditor, getBaseCodeEditorOptions, getCodeEditorValue, normalizeLineEnding, clearMarkers, setErrorMarkers, CODE_EDITOR_LANGUAGE, CODE_EDITOR_THEME, } from '@finos/legend-lego/code-editor';
|
22
22
|
import { debounce, noop, } from '@finos/legend-shared';
|
23
23
|
import { flowResult } from 'mobx';
|
24
24
|
import { ParserError } from '@finos/legend-graph';
|
25
|
-
import {
|
26
|
-
import { QUERY_BUILDER_TEST_ID } from '../../
|
25
|
+
import { DEFAULT_TAB_SIZE, useApplicationStore, } from '@finos/legend-application';
|
26
|
+
import { QUERY_BUILDER_TEST_ID } from '../../__lib__/QueryBuilderTesting.js';
|
27
27
|
const LambdaErrorFeedback = (props) => {
|
28
28
|
const { error, discardChanges } = props;
|
29
29
|
if (!error) {
|
@@ -188,7 +188,7 @@ const LambdaEditorInline = observer((props) => {
|
|
188
188
|
}
|
189
189
|
// Set the errors
|
190
190
|
if (editorModel) {
|
191
|
-
editorModel.updateOptions({ tabSize:
|
191
|
+
editorModel.updateOptions({ tabSize: DEFAULT_TAB_SIZE });
|
192
192
|
const error = parserError ?? compilationError;
|
193
193
|
if (error?.sourceInformation) {
|
194
194
|
setErrorMarkers(editorModel, [
|
@@ -206,13 +206,14 @@ const LambdaEditorInline = observer((props) => {
|
|
206
206
|
}
|
207
207
|
}
|
208
208
|
}
|
209
|
+
// dispose editor
|
209
210
|
useEffect(() => () => {
|
210
211
|
if (editor) {
|
211
212
|
disposeCodeEditor(editor);
|
212
213
|
}
|
213
214
|
onDidChangeModelContentEventDisposer.current?.dispose();
|
214
215
|
onDidFocusEditorWidgetDisposer.current?.dispose();
|
215
|
-
}, [editor]);
|
216
|
+
}, [editor]);
|
216
217
|
return (_jsxs(_Fragment, { children: [_jsxs("div", { className: clsx('lambda-editor', className, {
|
217
218
|
'lambda-editor__expanded': isExpanded,
|
218
219
|
}), children: [_jsx("div", { ref: ref, "data-testid": QUERY_BUILDER_TEST_ID.LAMBDA_EDITOR__EDITOR_INPUT, className: "lambda-editor__editor__input", children: _jsx("div", { className: "code-editor__body", ref: textInputRef }) }), Boolean(expectedType) && (_jsxs("div", { className: "lambda-editor__editor__info", children: [onExpectedTypeLabelSelect && (_jsx("button", { className: clsx('lambda-editor__editor__expected-return-type lambda-editor__editor__expected-return-type--clickable', {
|
@@ -316,7 +317,7 @@ const LambdaEditorPopUp = observer((props) => {
|
|
316
317
|
}
|
317
318
|
// Set the errors
|
318
319
|
if (editorModel) {
|
319
|
-
editorModel.updateOptions({ tabSize:
|
320
|
+
editorModel.updateOptions({ tabSize: DEFAULT_TAB_SIZE });
|
320
321
|
const error = parserError ?? compilationError;
|
321
322
|
if (error?.sourceInformation) {
|
322
323
|
setErrorMarkers(editorModel, [
|
@@ -337,12 +338,13 @@ const LambdaEditorPopUp = observer((props) => {
|
|
337
338
|
useEffect(() => {
|
338
339
|
flowResult(lambdaEditorState.convertLambdaObjectToGrammarString(true)).catch(applicationStore.alertUnhandledError);
|
339
340
|
}, [applicationStore, lambdaEditorState]);
|
341
|
+
// dispose editor
|
340
342
|
useEffect(() => () => {
|
341
343
|
if (editor) {
|
342
344
|
disposeCodeEditor(editor);
|
343
345
|
}
|
344
346
|
onDidChangeModelContentEventDisposer.current?.dispose();
|
345
|
-
}, [editor]);
|
347
|
+
}, [editor]);
|
346
348
|
return (_jsx(Dialog, { open: true, TransitionProps: {
|
347
349
|
onEnter,
|
348
350
|
}, onClose: noop, classes: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LambdaEditor.js","sourceRoot":"","sources":["../../../src/components/shared/LambdaEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAE,MAAM,IAAI,eAAe,EAAoB,MAAM,eAAe,CAAC;AAC5E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,wBAAwB,EACxB,oBAAoB,EACpB,kBAAkB,EAClB,MAAM,EACN,iBAAiB,EACjB,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,UAAU,GACX,MAAM,mBAA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nBvB,iBAAiB,CAAC,IAAI,CAoB3B,CACH,CAAC;AACJ,CAAC,CACF,CAAC"}
|
1
|
+
{"version":3,"file":"LambdaEditor.js","sourceRoot":"","sources":["../../../src/components/shared/LambdaEditor.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAE,MAAM,IAAI,eAAe,EAAoB,MAAM,eAAe,CAAC;AAC5E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,wBAAwB,EACxB,oBAAoB,EACpB,kBAAkB,EAClB,MAAM,EACN,iBAAiB,EACjB,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,UAAU,GACX,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,iBAAiB,EACjB,wBAAwB,EACxB,kBAAkB,EAClB,mBAAmB,EACnB,YAAY,EACZ,eAAe,EACf,oBAAoB,EACpB,iBAAiB,GAClB,MAAM,gCAAgC,CAAC;AAExC,OAAO,EACL,QAAQ,EACR,IAAI,GAGL,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAClC,OAAO,EAAE,WAAW,EAA+B,MAAM,qBAAqB,CAAC;AAC/E,OAAO,EACL,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAE7E,MAAM,mBAAmB,GAGpB,CAAC,KAAK,EAAE,EAAE;IACb,MAAM,EAAE,KAAK,EAAE,cAAc,EAAE,GAAG,KAAK,CAAC;IAExC,IAAI,CAAC,KAAK,EAAE;QACV,OAAO,IAAI,CAAC;KACb;IACD,OAAO,CACL,eAAK,SAAS,EAAC,+BAA+B,aAC5C,cAAK,SAAS,EAAC,+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IACD,OAAO,CACL,KAAC,kBAAkB;IACjB;;;;;;;;;;;;;;;;;;;;;;;OAuBG;QAEH,SAAS,EAAE,SAAS,EACpB,QAAQ,EAAE,QAAQ,EAClB,iBAAiB,EAAE,iBAAiB,EACpC,uBAAuB,EAAE,gCAAgC,EACzD,YAAY,EAAE,YAAY,EAC1B,mBAAmB,EAAE,mBAAmB,EACxC,yBAAyB,EAAE,yBAAyB,EACpD,aAAa,EAAE,aAAa,EAC5B,gBAAgB,EAAE,gBAAgB,EAClC,cAAc,EACZ,gBAAgB,KAAK,SAAS;YAC5B,CAAC,CAAC,CAAC,gBAAgB,IAAI,cAAc;YACrC,CAAC,CAAC,cAAc,EAEpB,YAAY,EAAE,YAAY,EAC1B,yBAAyB,EAAE,yBAAyB,EACpD,YAAY,EAAE,YAAY,EAC1B,WAAW,EAAE,WAAW,EACxB,aAAa,EAAE,aAAa,IAnBvB,iBAAiB,CAAC,IAAI,CAoB3B,CACH,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ClassQueryBuilder.d.ts","sourceRoot":"","sources":["../../../src/components/workflows/ClassQueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
1
|
+
{"version":3,"file":"ClassQueryBuilder.d.ts","sourceRoot":"","sources":["../../../src/components/workflows/ClassQueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAwBH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,kDAAkD,CAAC;AAqK/F,eAAO,MAAM,wCAAwC,sBAChC,sBAAsB,KACxC,MAAM,SAER,CAAC"}
|
@@ -17,8 +17,9 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
17
17
|
import { CustomSelectorInput, createFilter, PURE_MappingIcon, PURE_RuntimeIcon, } from '@finos/legend-art';
|
18
18
|
import { observer } from 'mobx-react-lite';
|
19
19
|
import { PackageableElementExplicitReference, RuntimePointer, getMappingCompatibleRuntimes, getClassCompatibleMappings, } from '@finos/legend-graph';
|
20
|
-
import {
|
20
|
+
import { useApplicationStore } from '@finos/legend-application';
|
21
21
|
import { buildRuntimeValueOption, getRuntimeOptionFormatter, QueryBuilderClassSelector, } from '../QueryBuilderSideBar.js';
|
22
|
+
import { buildElementOption, getPackageableElementOptionFormatter, } from '@finos/legend-lego/graph-editor';
|
22
23
|
/**
|
23
24
|
* This setup panel supports cascading in order: Class -> Mapping -> Runtime
|
24
25
|
*
|
@@ -81,12 +82,10 @@ const ClassQueryBuilderSetupPanelContent = observer((props) => {
|
|
81
82
|
.TEMPORARY__isLightColorThemeEnabled, filterOption: mappingFilterOption, formatOptionLabel: getPackageableElementOptionFormatter({
|
82
83
|
darkMode: !applicationStore.layoutService
|
83
84
|
.TEMPORARY__isLightColorThemeEnabled,
|
84
|
-
graph: queryBuilderState.graphManagerState.graph,
|
85
85
|
}) })] }), _jsxs("div", { className: "query-builder__setup__config-group__item", children: [_jsx("div", { className: "btn--sm query-builder__setup__config-group__item__label", title: "runtime", children: _jsx(PURE_RuntimeIcon, {}) }), _jsx(CustomSelectorInput, { className: "panel__content__form__section__dropdown query-builder__setup__config-group__item__selector", placeholder: "Choose a runtime...", noMatchMessage: "No compatible runtime found for specified mapping", disabled: !queryBuilderState.class || !queryBuilderState.mapping, options: runtimeOptions, onChange: changeRuntime, value: selectedRuntimeOption, darkMode: !applicationStore.layoutService
|
86
86
|
.TEMPORARY__isLightColorThemeEnabled, filterOption: runtimeFilterOption, formatOptionLabel: getRuntimeOptionFormatter({
|
87
87
|
darkMode: !applicationStore.layoutService
|
88
88
|
.TEMPORARY__isLightColorThemeEnabled,
|
89
|
-
pureModel: queryBuilderState.graphManagerState.graph,
|
90
89
|
}) })] })] })] })] }));
|
91
90
|
});
|
92
91
|
export const renderClassQueryBuilderSetupPanelContent = (queryBuilderState) => (_jsx(ClassQueryBuilderSetupPanelContent, { queryBuilderState: queryBuilderState }));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ClassQueryBuilder.js","sourceRoot":"","sources":["../../../src/components/workflows/ClassQueryBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,mBAAmB,EACnB,YAAY,EACZ,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAIL,mCAAmC,EACnC,cAAc,EACd,4BAA4B,EAC5B,0BAA0B,GAC3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,
|
1
|
+
{"version":3,"file":"ClassQueryBuilder.js","sourceRoot":"","sources":["../../../src/components/workflows/ClassQueryBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,mBAAmB,EACnB,YAAY,EACZ,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAIL,mCAAmC,EACnC,cAAc,EACd,4BAA4B,EAC5B,0BAA0B,GAC3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EACL,uBAAuB,EACvB,yBAAyB,EACzB,yBAAyB,GAC1B,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EACL,kBAAkB,EAClB,oCAAoC,GAErC,MAAM,iCAAiC,CAAC;AAEzC;;;;;;;;GAQG;AACH,MAAM,kCAAkC,GAAG,QAAQ,CACjD,CAAC,KAAoD,EAAE,EAAE;IACvD,MAAM,EAAE,iBAAiB,EAAE,GAAG,KAAK,CAAC;IACpC,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAE/C,QAAQ;IACR,MAAM,OAAO,GAAG,iBAAiB,CAAC,iBAAiB,CAAC,aAAa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"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
1
|
+
{"version":3,"file":"MappingQueryBuilder.d.ts","sourceRoot":"","sources":["../../../src/components/workflows/MappingQueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAwBH,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,oDAAoD,CAAC;AAkKnG,eAAO,MAAM,0CAA0C,sBAClC,wBAAwB,KAC1C,MAAM,SAER,CAAC"}
|
@@ -17,9 +17,10 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
17
17
|
import { CustomSelectorInput, createFilter, PURE_MappingIcon, PURE_RuntimeIcon, } from '@finos/legend-art';
|
18
18
|
import { observer } from 'mobx-react-lite';
|
19
19
|
import { PackageableElementExplicitReference, RuntimePointer, getMappingCompatibleRuntimes, getMappingCompatibleClasses, } from '@finos/legend-graph';
|
20
|
-
import {
|
20
|
+
import { useApplicationStore } from '@finos/legend-application';
|
21
21
|
import { buildRuntimeValueOption, getRuntimeOptionFormatter, QueryBuilderClassSelector, } from '../QueryBuilderSideBar.js';
|
22
22
|
import { guaranteeType } from '@finos/legend-shared';
|
23
|
+
import { buildElementOption, getPackageableElementOptionFormatter, } from '@finos/legend-lego/graph-editor';
|
23
24
|
/**
|
24
25
|
* This setup panel supports cascading in order: Mapping -> Runtime + Class
|
25
26
|
*
|
@@ -82,12 +83,10 @@ const MappingQueryBuilderSetupPanelContent = observer((props) => {
|
|
82
83
|
.TEMPORARY__isLightColorThemeEnabled, filterOption: mappingFilterOption, formatOptionLabel: getPackageableElementOptionFormatter({
|
83
84
|
darkMode: !applicationStore.layoutService
|
84
85
|
.TEMPORARY__isLightColorThemeEnabled,
|
85
|
-
graph: queryBuilderState.graphManagerState.graph,
|
86
86
|
}) })] }), _jsxs("div", { className: "query-builder__setup__config-group__item", children: [_jsx("div", { className: "btn--sm query-builder__setup__config-group__item__label", title: "runtime", children: _jsx(PURE_RuntimeIcon, {}) }), _jsx(CustomSelectorInput, { className: "panel__content__form__section__dropdown query-builder__setup__config-group__item__selector", placeholder: "Choose a runtime...", noMatchMessage: "No compatible runtime found for specified mapping", disabled: !queryBuilderState.mapping, options: runtimeOptions, onChange: changeRuntime, value: selectedRuntimeOption, darkMode: !applicationStore.layoutService
|
87
87
|
.TEMPORARY__isLightColorThemeEnabled, filterOption: runtimeFilterOption, formatOptionLabel: getRuntimeOptionFormatter({
|
88
88
|
darkMode: !applicationStore.layoutService
|
89
89
|
.TEMPORARY__isLightColorThemeEnabled,
|
90
|
-
pureModel: queryBuilderState.graphManagerState.graph,
|
91
90
|
}) })] })] })] }), _jsx(QueryBuilderClassSelector, { queryBuilderState: queryBuilderState, classes: classes, noMatchMessage: "No compatible class found for specified mapping" })] }));
|
92
91
|
});
|
93
92
|
export const renderMappingQueryBuilderSetupPanelContent = (queryBuilderState) => (_jsx(MappingQueryBuilderSetupPanelContent, { queryBuilderState: queryBuilderState }));
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"MappingQueryBuilder.js","sourceRoot":"","sources":["../../../src/components/workflows/MappingQueryBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,mBAAmB,EACnB,YAAY,EACZ,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAGL,mCAAmC,EACnC,cAAc,EACd,4BAA4B,EAC5B,2BAA2B,GAC5B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,
|
1
|
+
{"version":3,"file":"MappingQueryBuilder.js","sourceRoot":"","sources":["../../../src/components/workflows/MappingQueryBuilder.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,mBAAmB,EACnB,YAAY,EACZ,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,mBAAmB,CAAC;AAC3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iBAAiB,EAAE,yBAAyB,CAAC;4CAC3C,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa;iDAC5B,mCAAmC;yCACzC,CAAC,GACF,IACE,IACF,IACF,EACN,KAAC,yBAAyB,IACxB,iBAAiB,EAAE,iBAAiB,EACpC,OAAO,EAAE,OAAO,EAChB,cAAc,EAAC,iDAAiD,GAChE,IACD,CACJ,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,0CAA0C,GAAG,CACxD,iBAA2C,EAC1B,EAAE,CAAC,CACpB,KAAC,oCAAoC,IAAC,iBAAiB,EAAE,iBAAiB,GAAI,CAC/E,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ServiceQueryBuilder.d.ts","sourceRoot":"","sources":["../../../src/components/workflows/ServiceQueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
1
|
+
{"version":3,"file":"ServiceQueryBuilder.d.ts","sourceRoot":"","sources":["../../../src/components/workflows/ServiceQueryBuilder.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAOH,OAAO,KAAK,EAEV,wBAAwB,EACzB,MAAM,oDAAoD,CAAC;AAkJ5D,eAAO,MAAM,0CAA0C,sBAClC,wBAAwB,KAC1C,MAAM,SAER,CAAC"}
|