@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
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderFilterOperator_StartWith.js","sourceRoot":"","sources":["../../../../src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EACL,cAAc,EAGd,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,yBAAyB,EACzB,SAAS,GACV,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,yBAAyB,EACzB,8BAA8B,GAC/B,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,iCAAiC,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"QueryBuilderFilterOperator_StartWith.js","sourceRoot":"","sources":["../../../../src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAMH,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAC9E,OAAO,EACL,cAAc,EAGd,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,yBAAyB,EACzB,SAAS,GACV,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,yBAAyB,EACzB,8BAA8B,GAC/B,MAAM,0DAA0D,CAAC;AAClE,OAAO,EAAE,iCAAiC,EAAE,MAAM,8CAA8C,CAAC;AACjG,OAAO,EACL,kBAAkB,EAClB,oCAAoC,EACpC,sCAAsC,EACtC,mBAAmB,GACpB,MAAM,+CAA+C,CAAC;AACvD,OAAO,EAAE,kCAAkC,EAAE,MAAM,qCAAqC,CAAC;AACzF,OAAO,EAAE,2BAA2B,EAAE,MAAM,gDAAgD,CAAC;AAE7F,MAAM,OAAO,oCACX,SAAQ,0BAA0B;IAGlC,QAAQ,CAAC,oBAA0C;QACjD,OAAO,aAAa,CAAC;IACvB,CAAC;IAED,uCAAuC,CACrC,oBAA0C;QAE1C,OAAO,CACL,aAAa,CAAC,MAAM;YACpB,oBAAoB,CAAC,uBAAuB,CAAC,kBAAkB,CAAC,IAAI,CAAC,KAAK;iBACvE,WAAW,CAAC,KAAK,CAAC,OAAO,CAC7B,CAAC;IACJ,CAAC;IAED,oCAAoC,CAClC,oBAA0C;QAE1C,MAAM,IAAI,GAAG,oBAAoB,CAAC,KAAK;YACrC,CAAC,CAAC,sCAAsC,CAAC,oBAAoB,CAAC,KAAK,CAAC;YACpE,CAAC,CAAC,SAAS,CAAC;QACd,OAAO,aAAa,CAAC,MAAM,KAAK,IAAI,CAAC;IACvC,CAAC;IAED,8BAA8B,CAC5B,oBAA0C;QA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,MAAM,eAAe,GAAG,mBAAmB,CAAC,UAAU,CAAC,CAAC;QACxD,OAAO,eAAe;YACpB,CAAC,CAAC,KAAK,CAAC,yBAAyB,CAAC,WAAW,EAAE,eAAe,CAAC;YAC/D,CAAC,CAAC,SAAS,CAAC;IAChB,CAAC;IAED,IAAa,QAAQ;QACnB,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,8BAA8B;SAClE,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -16,7 +16,7 @@
|
|
16
16
|
import { GenericType, GenericTypeExplicitReference, getMilestoneTemporalStereotype, MILESTONING_STEREOTYPE, observe_ValueSpecification, VariableExpression, Multiplicity, PrimitiveType, } from '@finos/legend-graph';
|
17
17
|
import { hashArray, guaranteeNonNullable, } from '@finos/legend-shared';
|
18
18
|
import { action, computed, makeObservable, observable } from 'mobx';
|
19
|
-
import {
|
19
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../QueryBuilderStateHashUtils.js';
|
20
20
|
import { isValueExpressionReferencedInValue } from '../QueryBuilderValueSpecificationHelper.js';
|
21
21
|
import { LambdaParameterState } from '../shared/LambdaParameterState.js';
|
22
22
|
import { QueryBuilderBitemporalMilestoningImplementation } from './QueryBuilderBitemporalMilestoningImplementation.js';
|
@@ -106,7 +106,7 @@ export class QueryBuilderMilestoningState {
|
|
106
106
|
}
|
107
107
|
get hashCode() {
|
108
108
|
return hashArray([
|
109
|
-
|
109
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.MILESTONING_STATE,
|
110
110
|
this.businessDate ?? '',
|
111
111
|
this.processingDate ?? '',
|
112
112
|
]);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderMilestoningState.js","sourceRoot":"","sources":["../../../src/stores/milestoning/QueryBuilderMilestoningState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,WAAW,EACX,4BAA4B,EAC5B,8BAA8B,EAC9B,sBAAsB,EACtB,0BAA0B,EAC1B,kBAAkB,EAElB,YAAY,EACZ,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,SAAS,EACT,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"QueryBuilderMilestoningState.js","sourceRoot":"","sources":["../../../src/stores/milestoning/QueryBuilderMilestoningState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,WAAW,EACX,4BAA4B,EAC5B,8BAA8B,EAC9B,sBAAsB,EACtB,0BAA0B,EAC1B,kBAAkB,EAElB,YAAY,EACZ,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,SAAS,EACT,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAAE,kCAAkC,EAAE,MAAM,kCAAkC,CAAC;AAEtF,OAAO,EAAE,kCAAkC,EAAE,MAAM,4CAA4C,CAAC;AAChG,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAE,+CAA+C,EAAE,MAAM,sDAAsD,CAAC;AACvH,OAAO,EAAE,qDAAqD,EAAE,MAAM,4DAA4D,CAAC;AAEnI,OAAO,EAAE,uDAAuD,EAAE,MAAM,8DAA8D,CAAC;AAEvI,MAAM,OAAO,4BAA4B;IAC9B,0BAA0B,GACjC,EAAE,CAAC;IAEL,iBAAiB,CAAoB;IAErC,qBAAqB,GAAG,KAAK,CAAC;IAC9B,iEAAiE;IACjE,yDAAyD;IACzD,YAAY,CAAkC;IAC9C,cAAc,CAAkC;IAEhD,YAAY,iBAAoC;QAC9C,cAAc,CAAC,IAAI,EA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C,CAAC,CAAC,YAAY,KAAK,aAAa,CACxC,EACD;YACA,MAAM,aAAa,GAAG,IAAI,oBAAoB,CAC5C,oBAAoB,EACpB,IAAI,CAAC,iBAAiB,CAAC,eAAe,EACtC,IAAI,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,KAAK,CAC/C,CAAC;YACF,aAAa,CAAC,kBAAkB,EAAE,CAAC;YACnC,IAAI,CAAC,iBAAiB,CAAC,eAAe,CAAC,YAAY,CAAC,aAAa,CAAC,CAAC;SACpE;QACD,OAAO,oBAAoB,CAAC;IAC9B,CAAC;IAED,cAAc,CAAC,QAA4B;QACzC,MAAM,cAAc,GAAG,IAAI,CAAC,YAAY;YACtC,CAAC,CAAC,kCAAkC,CAAC,QAAQ,EAAE,IAAI,CAAC,YAAY,CAAC;YACjE,CAAC,CAAC,KAAK,CAAC;QACV,MAAM,oBAAoB,GAAG,IAAI,CAAC,cAAc;YAC9C,CAAC,CAAC,kCAAkC,CAAC,QAAQ,EAAE,IAAI,CAAC,cAAc,CAAC;YACnE,CAAC,CAAC,KAAK,CAAC;QACV,OAAO,cAAc,IAAI,oBAAoB,CAAC;IAChD,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,iBAAiB;YACpD,IAAI,CAAC,YAAY,IAAI,EAAE;YACvB,IAAI,CAAC,cAAc,IAAI,EAAE;SAC1B,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -13,8 +13,8 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { type PureModel, VariableExpression, type ValueSpecification, type Type, Enumeration, PrimitiveInstanceValue, PRIMITIVE_TYPE, SimpleFunctionExpression,
|
17
|
-
export declare const createSupportedFunctionExpression: (supportedFuncName:
|
16
|
+
import { type PureModel, VariableExpression, type ValueSpecification, type Type, Enumeration, PrimitiveInstanceValue, PRIMITIVE_TYPE, SimpleFunctionExpression, type ObserverContext } from '@finos/legend-graph';
|
17
|
+
export declare const createSupportedFunctionExpression: (supportedFuncName: string, expectedReturnType: Type) => SimpleFunctionExpression;
|
18
18
|
export declare const createMockEnumerationProperty: (enumeration: Enumeration) => string;
|
19
19
|
export declare const buildPrimitiveInstanceValue: (graph: PureModel, type: PRIMITIVE_TYPE, value: unknown, observerContext: ObserverContext) => PrimitiveInstanceValue;
|
20
20
|
export declare const buildDefaultInstanceValue: (graph: PureModel, type: Type, observerContext: ObserverContext) => ValueSpecification;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ValueSpecificationEditorHelper.d.ts","sourceRoot":"","sources":["../../../src/stores/shared/ValueSpecificationEditorHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,SAAS,EACd,kBAAkB,EAClB,KAAK,kBAAkB,EACvB,KAAK,IAAI,EAGT,WAAW,EAMX,sBAAsB,EAEtB,cAAc,EAEd,wBAAwB,EACxB,
|
1
|
+
{"version":3,"file":"ValueSpecificationEditorHelper.d.ts","sourceRoot":"","sources":["../../../src/stores/shared/ValueSpecificationEditorHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,SAAS,EACd,kBAAkB,EAClB,KAAK,kBAAkB,EACvB,KAAK,IAAI,EAGT,WAAW,EAMX,sBAAsB,EAEtB,cAAc,EAEd,wBAAwB,EACxB,KAAK,eAAe,EACrB,MAAM,qBAAqB,CAAC;AAW7B,eAAO,MAAM,iCAAiC,sBACzB,MAAM,sBACL,IAAI,KACvB,wBAOF,CAAC;AAiDF,eAAO,MAAM,6BAA6B,gBAC3B,WAAW,KACvB,MACyE,CAAC;AAE7E,eAAO,MAAM,2BAA2B,UAC/B,SAAS,QACV,cAAc,SACb,OAAO,mBACG,eAAe,KAC/B,sBAQF,CAAC;AAEF,eAAO,MAAM,yBAAyB,UAC7B,SAAS,QACV,IAAI,mBACO,eAAe,KAC/B,kBAgDF,CAAC;AAEF,eAAO,MAAM,mCAAmC,cACnC,kBAAkB,SACtB,SAAS,mBACC,eAAe,KAC/B,kBAAkB,GAAG,SA8BvB,CAAC;AAEF,eAAO,MAAM,gCAAgC,uBACvB,kBAAkB,KACrC,MAAM,GAAG,SAkBX,CAAC"}
|
@@ -13,10 +13,11 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { VariableExpression, CollectionInstanceValue, Enumeration, EnumValueExplicitReference, EnumValueInstanceValue, GenericType, GenericTypeExplicitReference, getEnumValue, PrimitiveInstanceValue, PrimitiveType, PRIMITIVE_TYPE, INTERNAL__PropagatedValue, SimpleFunctionExpression,
|
16
|
+
import { VariableExpression, CollectionInstanceValue, Enumeration, EnumValueExplicitReference, EnumValueInstanceValue, GenericType, GenericTypeExplicitReference, getEnumValue, PrimitiveInstanceValue, PrimitiveType, PRIMITIVE_TYPE, INTERNAL__PropagatedValue, SimpleFunctionExpression, } from '@finos/legend-graph';
|
17
17
|
import { Randomizer, UnsupportedOperationError } from '@finos/legend-shared';
|
18
18
|
import { generateDefaultValueForPrimitiveType } from '../QueryBuilderValueSpecificationHelper.js';
|
19
19
|
import { instanceValue_setValues, valueSpecification_setGenericType, } from './ValueSpecificationModifierHelper.js';
|
20
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../graph/QueryBuilderMetaModelConst.js';
|
20
21
|
const VAR_DEFAULT_NAME = 'var';
|
21
22
|
export const createSupportedFunctionExpression = (supportedFuncName, expectedReturnType) => {
|
22
23
|
const funcExpression = new SimpleFunctionExpression(supportedFuncName);
|
@@ -27,10 +28,10 @@ const createMockPrimitiveValueSpecification = (primitiveType, propertyName, obse
|
|
27
28
|
const primitiveTypeName = primitiveType.name;
|
28
29
|
if (primitiveTypeName === PRIMITIVE_TYPE.DATE ||
|
29
30
|
primitiveTypeName === PRIMITIVE_TYPE.DATETIME) {
|
30
|
-
return createSupportedFunctionExpression(
|
31
|
+
return createSupportedFunctionExpression(QUERY_BUILDER_SUPPORTED_FUNCTIONS.NOW, PrimitiveType.DATETIME);
|
31
32
|
}
|
32
33
|
else if (primitiveTypeName === PRIMITIVE_TYPE.STRICTDATE) {
|
33
|
-
return createSupportedFunctionExpression(
|
34
|
+
return createSupportedFunctionExpression(QUERY_BUILDER_SUPPORTED_FUNCTIONS.TODAY, PrimitiveType.STRICTDATE);
|
34
35
|
}
|
35
36
|
const primitiveInstanceValue = new PrimitiveInstanceValue(GenericTypeExplicitReference.create(new GenericType(primitiveType)));
|
36
37
|
const randomizer = new Randomizer();
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ValueSpecificationEditorHelper.js","sourceRoot":"","sources":["../../../src/stores/shared/ValueSpecificationEditorHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,kBAAkB,EAIlB,uBAAuB,EACvB,WAAW,EACX,0BAA0B,EAC1B,sBAAsB,EACtB,WAAW,EACX,4BAA4B,EAC5B,YAAY,EACZ,sBAAsB,EACtB,aAAa,EACb,cAAc,EACd,yBAAyB,EACzB,wBAAwB,
|
1
|
+
{"version":3,"file":"ValueSpecificationEditorHelper.js","sourceRoot":"","sources":["../../../src/stores/shared/ValueSpecificationEditorHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,kBAAkB,EAIlB,uBAAuB,EACvB,WAAW,EACX,0BAA0B,EAC1B,sBAAsB,EACtB,WAAW,EACX,4BAA4B,EAC5B,YAAY,EACZ,sBAAsB,EACtB,aAAa,EACb,cAAc,EACd,yBAAyB,EACzB,wBAAwB,GAEzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AAC7E,OAAO,EAAE,oCAAoC,EAAE,MAAM,4CAA4C,CAAC;AAClG,OAAO,EACL,uBAAuB,EACvB,iCAAiC,G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AC/D,MAAM,KAAK,GAAG,kBAAkB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;QAC3C,OAAO,GAAG,KAAK,EAAE,cAAc,CAAC,KAAK,CAAC,IAAI,IAAI,KAAK,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC;KACnE;SAAM,IAAI,kBAAkB,YAAY,kBAAkB,EAAE;QAC3D,OAAO,kBAAkB,CAAC,IAAI,CAAC;KAChC;SAAM,IAAI,kBAAkB,YAAY,yBAAyB,EAAE;QAClE,OAAO,gCAAgC,CAAC,kBAAkB,CAAC,QAAQ,EAAE,CAAC,CAAC;KACxE;SAAM,IAAI,kBAAkB,YAAY,wBAAwB,EAAE;QACjE,OAAO,kBAAkB,CAAC,YAAY,CAAC;KACxC;SAAM,IAAI,kBAAkB,YAAY,uBAAuB,EAAE;QAChE,OAAO,kBAAkB,CAAC,MAAM;aAC7B,GAAG,CAAC,gCAAgC,CAAC;aACrC,IAAI,CAAC,GAAG,CAAC,CAAC;KACd;IACD,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC"}
|
@@ -16,7 +16,7 @@
|
|
16
16
|
import { observe_ValueSpecification, GenericTypeExplicitReference, GenericType, PrimitiveInstanceValue, PrimitiveType, } from '@finos/legend-graph';
|
17
17
|
import { hashArray } from '@finos/legend-shared';
|
18
18
|
import { makeObservable, observable, action, computed } from 'mobx';
|
19
|
-
import {
|
19
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../QueryBuilderStateHashUtils.js';
|
20
20
|
import { isValueExpressionReferencedInValue } from '../QueryBuilderValueSpecificationHelper.js';
|
21
21
|
export class QueryBuilderWatermarkState {
|
22
22
|
queryBuilderState;
|
@@ -62,7 +62,7 @@ export class QueryBuilderWatermarkState {
|
|
62
62
|
}
|
63
63
|
get hashCode() {
|
64
64
|
return hashArray([
|
65
|
-
|
65
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.WATERMARK_STATE,
|
66
66
|
this.value ?? '',
|
67
67
|
]);
|
68
68
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderWatermarkState.js","sourceRoot":"","sources":["../../../src/stores/watermark/QueryBuilderWatermarkState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,0BAA0B,EAC1B,4BAA4B,EAC5B,WAAW,EACX,sBAAsB,EACtB,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAiB,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"QueryBuilderWatermarkState.js","sourceRoot":"","sources":["../../../src/stores/watermark/QueryBuilderWatermarkState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAGL,0BAA0B,EAC1B,4BAA4B,EAC5B,WAAW,EACX,sBAAsB,EACtB,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAiB,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EAAE,kCAAkC,EAAE,MAAM,kCAAkC,CAAC;AAEtF,OAAO,EAAE,kCAAkC,EAAE,MAAM,4CAA4C,CAAC;AAEhG,MAAM,OAAO,0BAA0B;IAC5B,iBAAiB,CAAoB;IAC9C,KAAK,CAAkC;IACvC,kBAAkB,GAAG,KAAK,CAAC;IAE3B,YAAY,iBAAoC;QAC9C,cAAc,CAAC,IAAI,EAAE;YACnB,KAAK,EAAE,UAAU;YACjB,kBAAkB,EAAE,UAAU;YAC9B,QAAQ,EAAE,MAAM;YAChB,UAAU,EAAE,MAAM;YAClB,eAAe,EAAE,MAAM;YACvB,qBAAqB,EAAE,MAAM;YAC7B,QAAQ,EAAE,QAAQ;SACnB,CAAC,CAAC;QAEH,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC7C,CAAC;IAED,UAAU;QACR,MAAM,iBAAiB,GAAG,IAAI,sBAAsB,CAClD,4BAA4B,CAAC,MAAM,CACjC,IAAI,WAAW,CAAC,aAAa,CAAC,MAAM,CAAC,CACtC,CACF,CAAC;QAEF,iBAAiB,CAAC,MAAM,GAAG,CAAC,gBAAgB,CAAC,CAAC;QAC9C,IAAI,CAAC,QAAQ,CAAC,iBAAiB,CAAC,CAAC;IACnC,CAAC;IAED,qBAAqB,CAAC,GAAY;QAChC,IAAI,CAAC,kBAAkB,GAAG,GAAG,CAAC;IAChC,CAAC;IAED,eAAe;QACb,IAAI,IAAI,CAAC,KAAK,EAAE;YACd,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC;SAC1B;aAAM;YACL,IAAI,CAAC,UAAU,EAAE,CAAC;SACnB;IACH,CAAC;IAED,QAAQ,CAAC,GAAmC;QAC1C,IAAI,CAAC,KAAK,GAAG,GAAG;YACd,CAAC,CAAC,0BAA0B,CAAC,GAAG,EAAE,IAAI,CAAC,iBAAiB,CAAC,eAAe,CAAC;YACzE,CAAC,CAAC,SAAS,CAAC;IAChB,CAAC;IAED,cAAc,CAAC,QAA4B;QACzC,OAAO,IAAI,CAAC,KAAK;YACf,CAAC,CAAC,kCAAkC,CAAC,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC;YAC1D,CAAC,CAAC,KAAK,CAAC;IACZ,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,eAAe;YAClD,IAAI,CAAC,KAAK,IAAI,EAAE;SACjB,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -15,7 +15,7 @@
|
|
15
15
|
*/
|
16
16
|
import { SimpleFunctionExpression, matchFunctionName, } from '@finos/legend-graph';
|
17
17
|
import { assertTrue, guaranteeType } from '@finos/legend-shared';
|
18
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../
|
18
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../graph/QueryBuilderMetaModelConst.js';
|
19
19
|
import { QueryBuilderValueSpecificationProcessor } from '../QueryBuilderStateBuilder.js';
|
20
20
|
export const processWatermarkExpression = (expression, queryBuilderState, parentLambda) => {
|
21
21
|
// check preceding expression
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderWatermarkStateBuilder.js","sourceRoot":"","sources":["../../../src/stores/watermark/QueryBuilderWatermarkStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,wBAAwB,EACxB,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,iCAAiC,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"QueryBuilderWatermarkStateBuilder.js","sourceRoot":"","sources":["../../../src/stores/watermark/QueryBuilderWatermarkStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,wBAAwB,EACxB,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,iCAAiC,EAAE,MAAM,2CAA2C,CAAC;AAE9F,OAAO,EAAE,uCAAuC,EAAE,MAAM,gCAAgC,CAAC;AAEzF,MAAM,CAAC,MAAM,0BAA0B,GAAG,CACxC,UAAoC,EACpC,iBAAoC,EACpC,YAA4B,EACtB,EAAE;IACR,6BAA6B;IAC7B,MAAM,mBAAmB,GAAG,aAAa,CACvC,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAC9B,wBAAwB,EACxB,0GAA0G,CAC3G,CAAC;IACF,UAAU,CACR,iBAAiB,CAAC,mBAAmB,CAAC,YAAY,EAAE;QAClD,iCAAiC,CAAC,OAAO;KAC1C,CAAC,EACF,qGAAqG,CACtG,CAAC;IAEF,uCAAuC,CAAC,OAAO,CAC7C,mBAAmB,EACnB,YAAY,EACZ,iBAAiB,CAClB,CAAC;IAEF,MAAM,cAAc,GAAG,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC;IACtD,iBAAiB,CAAC,cAAc,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;AAC5D,CAAC,CAAC"}
|
@@ -15,7 +15,7 @@
|
|
15
15
|
*/
|
16
16
|
import { SimpleFunctionExpression, extractElementNameFromPath, } from '@finos/legend-graph';
|
17
17
|
import { guaranteeNonNullable } from '@finos/legend-shared';
|
18
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../
|
18
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../graph/QueryBuilderMetaModelConst.js';
|
19
19
|
export const buildWatermarkExpression = (watermarkState, lambdaFunction) => {
|
20
20
|
if (!watermarkState.value) {
|
21
21
|
return;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderWatermarkValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../src/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,wBAAwB,EACxB,0BAA0B,GAE3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,iCAAiC,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"QueryBuilderWatermarkValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../src/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,wBAAwB,EACxB,0BAA0B,GAE3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,iCAAiC,EAAE,MAAM,2CAA2C,CAAC;AAG9F,MAAM,CAAC,MAAM,wBAAwB,GAAG,CACtC,cAA0C,EAC1C,cAA8B,EACxB,EAAE;IACR,IAAI,CAAC,cAAc,CAAC,KAAK,EAAE;QACzB,OAAO;KACR;IACD,MAAM,iBAAiB,GAAG,oBAAoB,CAC5C,cAAc,CAAC,kBAAkB,CAAC,CAAC,CAAC,CACrC,CAAC;IAEF,yBAAyB;IACzB,MAAM,mBAAmB,GAAG,IAAI,wBAAwB,CACtD,0BAA0B,CAAC,iCAAiC,CAAC,SAAS,CAAC,CACxE,CAAC;IAEF,YAAY;IACZ,mBAAmB,CAAC,gBAAgB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;IAE7D,YAAY;IACZ,mBAAmB,CAAC,gBAAgB,CAAC,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;IAEhE,uCAAuC;IACvC,cAAc,CAAC,kBAAkB,CAAC,CAAC,CAAC,GAAG,mBAAmB,CAAC;AAC7D,CAAC,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@finos/legend-query-builder",
|
3
|
-
"version": "
|
3
|
+
"version": "3.0.0",
|
4
4
|
"description": "Legend query builder core",
|
5
5
|
"keywords": [
|
6
6
|
"legend",
|
@@ -20,6 +20,7 @@
|
|
20
20
|
"type": "module",
|
21
21
|
"exports": {
|
22
22
|
".": "./lib/index.js",
|
23
|
+
"./test": "./lib/__test__.js",
|
23
24
|
"./lib/index.css": "./lib/index.css"
|
24
25
|
},
|
25
26
|
"module": "lib/index.js",
|
@@ -41,15 +42,15 @@
|
|
41
42
|
"test:watch": "jest --watch"
|
42
43
|
},
|
43
44
|
"dependencies": {
|
44
|
-
"@finos/legend-application": "
|
45
|
-
"@finos/legend-art": "7.0.
|
46
|
-
"@finos/legend-graph": "
|
47
|
-
"@finos/legend-lego": "0.1.
|
48
|
-
"@finos/legend-server-depot": "
|
49
|
-
"@finos/legend-shared": "
|
50
|
-
"@finos/legend-storage": "3.0.
|
45
|
+
"@finos/legend-application": "15.0.0",
|
46
|
+
"@finos/legend-art": "7.0.1",
|
47
|
+
"@finos/legend-graph": "28.0.0",
|
48
|
+
"@finos/legend-lego": "0.1.5",
|
49
|
+
"@finos/legend-server-depot": "5.0.0",
|
50
|
+
"@finos/legend-shared": "9.0.0",
|
51
|
+
"@finos/legend-storage": "3.0.49",
|
51
52
|
"@testing-library/react": "14.0.0",
|
52
|
-
"@types/react": "18.0.
|
53
|
+
"@types/react": "18.0.37",
|
53
54
|
"@types/react-dom": "18.0.11",
|
54
55
|
"mathjs": "11.8.0",
|
55
56
|
"mobx": "6.9.0",
|
@@ -62,7 +63,7 @@
|
|
62
63
|
"sql-formatter": "12.2.0"
|
63
64
|
},
|
64
65
|
"devDependencies": {
|
65
|
-
"@finos/legend-dev-utils": "2.0.
|
66
|
+
"@finos/legend-dev-utils": "2.0.54",
|
66
67
|
"@jest/globals": "29.5.0",
|
67
68
|
"cross-env": "7.0.3",
|
68
69
|
"eslint": "8.38.0",
|
package/src/__test__.ts
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
|
17
|
+
export { TEST__setUpQueryBuilder } from './components/__test-utils__/QueryBuilderComponentTestUtils.js';
|
@@ -49,7 +49,7 @@ import { QueryBuilderTextEditor } from './QueryBuilderTextEditor.js';
|
|
49
49
|
import type { QueryBuilderState } from '../stores/QueryBuilderState.js';
|
50
50
|
import { QueryBuilderTextEditorMode } from '../stores/QueryBuilderTextEditorState.js';
|
51
51
|
import { QueryBuilderFetchStructurePanel } from './fetch-structure/QueryBuilderFetchStructurePanel.js';
|
52
|
-
import { QUERY_BUILDER_TEST_ID } from '../
|
52
|
+
import { QUERY_BUILDER_TEST_ID } from '../__lib__/QueryBuilderTesting.js';
|
53
53
|
import { flowResult } from 'mobx';
|
54
54
|
import { QueryBuilderUnsupportedQueryEditor } from './QueryBuilderUnsupportedQueryEditor.js';
|
55
55
|
import {
|
@@ -67,9 +67,9 @@ import { QueryBuilderPostTDSPanel } from './fetch-structure/QueryBuilderPostTDSP
|
|
67
67
|
import { QueryBuilderWatermarkEditor } from './watermark/QueryBuilderWatermark.js';
|
68
68
|
import { QueryBuilderConstantExpressionPanel } from './QueryBuilderConstantExpressionPanel.js';
|
69
69
|
import { QueryBuilder_LegendApplicationPlugin } from './QueryBuilder_LegendApplicationPlugin.js';
|
70
|
-
import { QUERY_BUILDER_SETTING_KEY } from '../
|
70
|
+
import { QUERY_BUILDER_SETTING_KEY } from '../__lib__/QueryBuilderSetting.js';
|
71
71
|
import { QUERY_BUILDER_COMPONENT_ELEMENT_ID } from './QueryBuilderComponentElement.js';
|
72
|
-
import { QUERY_BUILDER_DOCUMENTATION_KEY } from '../
|
72
|
+
import { QUERY_BUILDER_DOCUMENTATION_KEY } from '../__lib__/QueryBuilderDocumentation.js';
|
73
73
|
|
74
74
|
const QueryBuilderStatusBar = observer(
|
75
75
|
(props: { queryBuilderState: QueryBuilderState }) => {
|
@@ -15,10 +15,10 @@
|
|
15
15
|
*/
|
16
16
|
|
17
17
|
import {
|
18
|
-
type PackageableElementOption,
|
19
18
|
buildElementOption,
|
20
19
|
getPackageableElementOptionFormatter,
|
21
|
-
|
20
|
+
type PackageableElementOption,
|
21
|
+
} from '@finos/legend-lego/graph-editor';
|
22
22
|
import {
|
23
23
|
BlankPanelPlaceholder,
|
24
24
|
CustomSelectorInput,
|
@@ -49,8 +49,8 @@ import { buildDefaultInstanceValue } from '../stores/shared/ValueSpecificationEd
|
|
49
49
|
import { variableExpression_setName } from '../stores/shared/ValueSpecificationModifierHelper.js';
|
50
50
|
import { BasicValueSpecificationEditor } from './shared/BasicValueSpecificationEditor.js';
|
51
51
|
import { VariableViewer } from './shared/QueryBuilderVariableSelector.js';
|
52
|
-
import { QUERY_BUILDER_TEST_ID } from '../
|
53
|
-
import { QUERY_BUILDER_DOCUMENTATION_KEY } from '../
|
52
|
+
import { QUERY_BUILDER_TEST_ID } from '../__lib__/QueryBuilderTesting.js';
|
53
|
+
import { QUERY_BUILDER_DOCUMENTATION_KEY } from '../__lib__/QueryBuilderDocumentation.js';
|
54
54
|
|
55
55
|
// NOTE: We currently only allow constant variables for primitive types of multiplicity ONE.
|
56
56
|
// This is why we don't show multiplicity in the editor.
|
@@ -153,7 +153,6 @@ const QueryBuilderConstantExpressionEditor = observer(
|
|
153
153
|
darkMode:
|
154
154
|
!applicationStore.layoutService
|
155
155
|
.TEMPORARY__isLightColorThemeEnabled,
|
156
|
-
graph: queryBuilderState.graphManagerState.graph,
|
157
156
|
})}
|
158
157
|
/>
|
159
158
|
</PanelFormSection>
|
@@ -14,90 +14,21 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
|
17
|
-
import {
|
18
|
-
|
19
|
-
CODE_EDITOR_THEME,
|
20
|
-
TAB_SIZE,
|
21
|
-
useApplicationStore,
|
22
|
-
} from '@finos/legend-application';
|
23
|
-
import { clsx, Dialog, useResizeDetector, Button } from '@finos/legend-art';
|
17
|
+
import { DEFAULT_TAB_SIZE } from '@finos/legend-application';
|
18
|
+
import { clsx, Dialog, Button } from '@finos/legend-art';
|
24
19
|
import { observer } from 'mobx-react-lite';
|
25
|
-
import {
|
26
|
-
import { useEffect, useRef, useState } from 'react';
|
20
|
+
import { useEffect } from 'react';
|
27
21
|
import {
|
28
22
|
type QueryBuilderDiffViewState,
|
29
23
|
QueryBuilderDiffViewMode,
|
30
24
|
} from '../stores/QueryBuilderChangeDetectionState.js';
|
31
25
|
import { pruneSourceInformation } from '@finos/legend-graph';
|
32
26
|
import {
|
33
|
-
|
34
|
-
|
27
|
+
CODE_EDITOR_LANGUAGE,
|
28
|
+
CodeDiffView,
|
29
|
+
JSONDiffView,
|
35
30
|
} from '@finos/legend-lego/code-editor';
|
36
31
|
|
37
|
-
const TextDiffView = observer(
|
38
|
-
(props: {
|
39
|
-
language: CODE_EDITOR_LANGUAGE;
|
40
|
-
from?: string | undefined;
|
41
|
-
to?: string | undefined;
|
42
|
-
}) => {
|
43
|
-
const { from, to, language } = props;
|
44
|
-
const applicationStore = useApplicationStore();
|
45
|
-
const [editor, setEditor] =
|
46
|
-
useState<monacoEditorAPI.IStandaloneDiffEditor>();
|
47
|
-
const editorRef = useRef<HTMLDivElement>(null);
|
48
|
-
const originalText = from ?? '';
|
49
|
-
const modifiedText = to ?? '';
|
50
|
-
|
51
|
-
const { ref, width, height } = useResizeDetector<HTMLDivElement>();
|
52
|
-
|
53
|
-
useEffect(() => {
|
54
|
-
if (width !== undefined && height !== undefined) {
|
55
|
-
editor?.layout({ width, height });
|
56
|
-
}
|
57
|
-
}, [editor, width, height]);
|
58
|
-
|
59
|
-
useEffect(() => {
|
60
|
-
if (!editor && editorRef.current) {
|
61
|
-
const element = editorRef.current;
|
62
|
-
const _editor = monacoEditorAPI.createDiffEditor(element, {
|
63
|
-
...getBaseCodeEditorOptions(),
|
64
|
-
theme: applicationStore.layoutService
|
65
|
-
.TEMPORARY__isLightColorThemeEnabled
|
66
|
-
? CODE_EDITOR_THEME.TEMPORARY__VSCODE_LIGHT
|
67
|
-
: CODE_EDITOR_THEME.LEGEND,
|
68
|
-
readOnly: true,
|
69
|
-
wordWrap: 'on',
|
70
|
-
});
|
71
|
-
setEditor(_editor);
|
72
|
-
}
|
73
|
-
}, [applicationStore, editor]);
|
74
|
-
|
75
|
-
if (editor) {
|
76
|
-
const originalModel = monacoEditorAPI.createModel(originalText, language);
|
77
|
-
const modifiedModel = monacoEditorAPI.createModel(modifiedText, language);
|
78
|
-
editor.setModel({
|
79
|
-
original: originalModel,
|
80
|
-
modified: modifiedModel,
|
81
|
-
});
|
82
|
-
}
|
83
|
-
|
84
|
-
useEffect(
|
85
|
-
() => (): void => {
|
86
|
-
if (editor) {
|
87
|
-
disposeDiffCodeEditor(editor);
|
88
|
-
}
|
89
|
-
},
|
90
|
-
[editor],
|
91
|
-
); // dispose editor
|
92
|
-
|
93
|
-
return (
|
94
|
-
<div ref={ref} className="code-editor__container">
|
95
|
-
<div className="code-editor__body" ref={editorRef} />
|
96
|
-
</div>
|
97
|
-
);
|
98
|
-
},
|
99
|
-
);
|
100
|
-
|
101
32
|
export const QueryBuilderDiffViewPanel = observer(
|
102
33
|
(props: { diffViewState: QueryBuilderDiffViewState }) => {
|
103
34
|
const { diffViewState } = props;
|
@@ -149,15 +80,14 @@ export const QueryBuilderDiffViewPanel = observer(
|
|
149
80
|
</div>
|
150
81
|
<div className="query-builder__diff-panel__content">
|
151
82
|
{diffViewState.mode === QueryBuilderDiffViewMode.GRAMMAR && (
|
152
|
-
<
|
83
|
+
<CodeDiffView
|
153
84
|
language={CODE_EDITOR_LANGUAGE.PURE}
|
154
85
|
from={fromGrammarText}
|
155
86
|
to={toGrammarText}
|
156
87
|
/>
|
157
88
|
)}
|
158
89
|
{diffViewState.mode === QueryBuilderDiffViewMode.JSON && (
|
159
|
-
<
|
160
|
-
language={CODE_EDITOR_LANGUAGE.JSON}
|
90
|
+
<JSONDiffView
|
161
91
|
from={JSON.stringify(
|
162
92
|
{
|
163
93
|
parameters: diffViewState.initialQuery.parameters
|
@@ -172,7 +102,7 @@ export const QueryBuilderDiffViewPanel = observer(
|
|
172
102
|
: undefined,
|
173
103
|
},
|
174
104
|
null,
|
175
|
-
|
105
|
+
DEFAULT_TAB_SIZE,
|
176
106
|
)}
|
177
107
|
to={JSON.stringify(
|
178
108
|
{
|
@@ -188,7 +118,7 @@ export const QueryBuilderDiffViewPanel = observer(
|
|
188
118
|
: undefined,
|
189
119
|
},
|
190
120
|
null,
|
191
|
-
|
121
|
+
DEFAULT_TAB_SIZE,
|
192
122
|
)}
|
193
123
|
/>
|
194
124
|
)}
|
@@ -39,20 +39,20 @@ import {
|
|
39
39
|
Multiplicity,
|
40
40
|
getMultiplicityPrettyDescription,
|
41
41
|
} from '@finos/legend-graph';
|
42
|
-
import {
|
43
|
-
type PackageableElementOption,
|
44
|
-
buildElementOption,
|
45
|
-
getPackageableElementOptionFormatter,
|
46
|
-
useApplicationStore,
|
47
|
-
} from '@finos/legend-application';
|
42
|
+
import { useApplicationStore } from '@finos/legend-application';
|
48
43
|
import { generateEnumerableNameFromToken } from '@finos/legend-shared';
|
49
44
|
import { DEFAULT_VARIABLE_NAME } from '../stores/QueryBuilderConfig.js';
|
50
45
|
import { variableExpression_setName } from '../stores/shared/ValueSpecificationModifierHelper.js';
|
51
46
|
import { LambdaParameterState } from '../stores/shared/LambdaParameterState.js';
|
52
47
|
import { LambdaParameterValuesEditor } from './shared/LambdaParameterValuesEditor.js';
|
53
48
|
import { VariableViewer } from './shared/QueryBuilderVariableSelector.js';
|
54
|
-
import { QUERY_BUILDER_TEST_ID } from '../
|
55
|
-
import { QUERY_BUILDER_DOCUMENTATION_KEY } from '../
|
49
|
+
import { QUERY_BUILDER_TEST_ID } from '../__lib__/QueryBuilderTesting.js';
|
50
|
+
import { QUERY_BUILDER_DOCUMENTATION_KEY } from '../__lib__/QueryBuilderDocumentation.js';
|
51
|
+
import {
|
52
|
+
buildElementOption,
|
53
|
+
getPackageableElementOptionFormatter,
|
54
|
+
type PackageableElementOption,
|
55
|
+
} from '@finos/legend-lego/graph-editor';
|
56
56
|
|
57
57
|
type MultiplicityOption = { label: string; value: Multiplicity };
|
58
58
|
|
@@ -182,7 +182,6 @@ const VariableExpressionEditor = observer(
|
|
182
182
|
darkMode:
|
183
183
|
!applicationStore.layoutService
|
184
184
|
.TEMPORARY__isLightColorThemeEnabled,
|
185
|
-
graph: queryBuilderState.graphManagerState.graph,
|
186
185
|
})}
|
187
186
|
/>
|
188
187
|
</div>
|
@@ -45,8 +45,7 @@ import {
|
|
45
45
|
import {
|
46
46
|
ActionAlertActionType,
|
47
47
|
ActionAlertType,
|
48
|
-
|
49
|
-
TAB_SIZE,
|
48
|
+
DEFAULT_TAB_SIZE,
|
50
49
|
useApplicationStore,
|
51
50
|
} from '@finos/legend-application';
|
52
51
|
import {
|
@@ -82,12 +81,15 @@ import {
|
|
82
81
|
instanceValue_setValues,
|
83
82
|
} from '../stores/shared/ValueSpecificationModifierHelper.js';
|
84
83
|
import { PARAMETER_SUBMIT_ACTION } from '../stores/shared/LambdaParameterState.js';
|
85
|
-
import { QUERY_BUILDER_TEST_ID } from '../
|
84
|
+
import { QUERY_BUILDER_TEST_ID } from '../__lib__/QueryBuilderTesting.js';
|
86
85
|
import {
|
87
86
|
DataGrid,
|
88
87
|
type DataGridCellMouseOverEvent,
|
89
88
|
} from '@finos/legend-lego/data-grid';
|
90
|
-
import {
|
89
|
+
import {
|
90
|
+
CODE_EDITOR_LANGUAGE,
|
91
|
+
CodeEditor,
|
92
|
+
} from '@finos/legend-lego/code-editor';
|
91
93
|
import { ExecutionPlanViewer } from './execution-plan/ExecutionPlanViewer.js';
|
92
94
|
|
93
95
|
const QueryBuilderGridResultContextMenu = observer(
|
@@ -428,7 +430,7 @@ const QueryBuilderResultValues = observer(
|
|
428
430
|
inputValue={JSON.stringify(
|
429
431
|
extractExecutionResultValues(executionResult),
|
430
432
|
null,
|
431
|
-
|
433
|
+
DEFAULT_TAB_SIZE,
|
432
434
|
)}
|
433
435
|
isReadOnly={true}
|
434
436
|
/>
|
@@ -26,7 +26,7 @@ import {
|
|
26
26
|
} from '@finos/legend-art';
|
27
27
|
import { observer } from 'mobx-react-lite';
|
28
28
|
import type { QueryBuilderState } from '../stores/QueryBuilderState.js';
|
29
|
-
import { QUERY_BUILDER_TEST_ID } from '../
|
29
|
+
import { QUERY_BUILDER_TEST_ID } from '../__lib__/QueryBuilderTesting.js';
|
30
30
|
import {
|
31
31
|
type Class,
|
32
32
|
type Mapping,
|
@@ -41,14 +41,13 @@ import {
|
|
41
41
|
VARIABLE_REFERENCE_TOKEN,
|
42
42
|
isElementDeprecated,
|
43
43
|
PrimitiveType,
|
44
|
-
type PureModel,
|
45
44
|
} from '@finos/legend-graph';
|
45
|
+
import { useApplicationStore } from '@finos/legend-application';
|
46
46
|
import {
|
47
|
-
type PackageableElementOption,
|
48
|
-
getPackageableElementOptionFormatter,
|
49
47
|
buildElementOption,
|
50
|
-
|
51
|
-
|
48
|
+
getPackageableElementOptionFormatter,
|
49
|
+
type PackageableElementOption,
|
50
|
+
} from '@finos/legend-lego/graph-editor';
|
52
51
|
import { MilestoningParametersEditor } from './explorer/QueryBuilderMilestoningEditor.js';
|
53
52
|
|
54
53
|
export const getParameterValue = (
|
@@ -188,7 +187,6 @@ export const QueryBuilderClassSelector = observer(
|
|
188
187
|
darkMode:
|
189
188
|
!applicationStore.layoutService
|
190
189
|
.TEMPORARY__isLightColorThemeEnabled,
|
191
|
-
graph: queryBuilderState.graphManagerState.graph,
|
192
190
|
})}
|
193
191
|
/>
|
194
192
|
{queryBuilderState.isQuerySupported && (
|
@@ -226,7 +224,6 @@ export const buildRuntimeValueOption = (
|
|
226
224
|
|
227
225
|
export const getRuntimeOptionFormatter = (props: {
|
228
226
|
darkMode?: boolean;
|
229
|
-
pureModel: PureModel;
|
230
227
|
}): ((option: { value: Runtime }) => React.ReactNode) =>
|
231
228
|
function RuntimeOptionLabel(option: { value: Runtime }): React.ReactNode {
|
232
229
|
if (option.value instanceof RuntimePointer) {
|
@@ -351,7 +348,6 @@ const BasicQueryBuilderSetup = observer(
|
|
351
348
|
darkMode:
|
352
349
|
!applicationStore.layoutService
|
353
350
|
.TEMPORARY__isLightColorThemeEnabled,
|
354
|
-
graph: queryBuilderState.graphManagerState.graph,
|
355
351
|
})}
|
356
352
|
/>
|
357
353
|
</div>
|
@@ -386,7 +382,6 @@ const BasicQueryBuilderSetup = observer(
|
|
386
382
|
darkMode:
|
387
383
|
!applicationStore.layoutService
|
388
384
|
.TEMPORARY__isLightColorThemeEnabled,
|
389
|
-
pureModel: queryBuilderState.graphManagerState.graph,
|
390
385
|
})}
|
391
386
|
/>
|
392
387
|
</div>
|
@@ -31,12 +31,12 @@ import {
|
|
31
31
|
import type { QueryBuilderState } from '../stores/QueryBuilderState.js';
|
32
32
|
import { QueryBuilderTextEditorMode } from '../stores/QueryBuilderTextEditorState.js';
|
33
33
|
import { flowResult } from 'mobx';
|
34
|
+
import { useApplicationStore } from '@finos/legend-application';
|
35
|
+
import { LambdaEditor } from './shared/LambdaEditor.js';
|
34
36
|
import {
|
35
37
|
CODE_EDITOR_LANGUAGE,
|
36
|
-
|
37
|
-
} from '@finos/legend-
|
38
|
-
import { LambdaEditor } from './shared/LambdaEditor.js';
|
39
|
-
import { CodeEditor } from '@finos/legend-lego/code-editor';
|
38
|
+
CodeEditor,
|
39
|
+
} from '@finos/legend-lego/code-editor';
|
40
40
|
|
41
41
|
export const QueryBuilderTextEditor = observer(
|
42
42
|
(props: { queryBuilderState: QueryBuilderState }) => {
|
@@ -29,7 +29,7 @@ import {
|
|
29
29
|
import { QueryBuilderSidebar } from './QueryBuilderSideBar.js';
|
30
30
|
import { QueryBuilderParametersPanel } from './QueryBuilderParametersPanel.js';
|
31
31
|
|
32
|
-
const
|
32
|
+
const QueryBuilderUnsupportedQueryViewer = observer(
|
33
33
|
(props: { queryBuilderState: QueryBuilderState }) => {
|
34
34
|
const { queryBuilderState } = props;
|
35
35
|
const queryUnsupportedState = queryBuilderState.unsupportedQueryState;
|
@@ -77,7 +77,7 @@ export const QueryBuilderUnsupportedQueryEditor = observer(
|
|
77
77
|
</ResizablePanel>
|
78
78
|
<ResizablePanelSplitter />
|
79
79
|
<ResizablePanel>
|
80
|
-
<
|
80
|
+
<QueryBuilderUnsupportedQueryViewer
|
81
81
|
queryBuilderState={queryBuilderState}
|
82
82
|
/>
|
83
83
|
</ResizablePanel>
|
@@ -24,7 +24,7 @@ import {
|
|
24
24
|
type LegendApplicationSetup,
|
25
25
|
} from '@finos/legend-application';
|
26
26
|
import packageJson from '../../package.json';
|
27
|
-
import { QUERY_BUILDER_SETTING_CONFIG } from '../
|
27
|
+
import { QUERY_BUILDER_SETTING_CONFIG } from '../__lib__/QueryBuilderSetting.js';
|
28
28
|
import { QUERY_BUILDER_COMMAND_CONFIG } from '../stores/QueryBuilderCommand.js';
|
29
29
|
import type { QueryBuilderState } from '../stores/QueryBuilderState.js';
|
30
30
|
import { configureDataGridComponent } from '@finos/legend-lego/data-grid';
|