@finos/legend-query-builder 4.14.34 → 4.14.36
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/__lib__/QueryBuilderTesting.d.ts +1 -0
- package/lib/__lib__/QueryBuilderTesting.d.ts.map +1 -1
- package/lib/__lib__/QueryBuilderTesting.js +1 -0
- package/lib/__lib__/QueryBuilderTesting.js.map +1 -1
- package/lib/components/QueryBuilder.d.ts.map +1 -1
- package/lib/components/QueryBuilder.js +37 -17
- package/lib/components/QueryBuilder.js.map +1 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.js +30 -13
- package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -1
- package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts.map +1 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.js +2 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -1
- package/lib/components/QueryBuilderSideBar.d.ts +2 -18
- package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
- package/lib/components/QueryBuilderSideBar.js +32 -104
- package/lib/components/QueryBuilderSideBar.js.map +1 -1
- package/lib/components/QueryLoader.js.map +1 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.d.ts.map +1 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js.map +1 -1
- package/lib/components/data-access/DataAccessOverview.js.map +1 -1
- package/lib/components/execution-plan/ConstantExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/DataTypeResultTypeViewer.js.map +1 -1
- package/lib/components/execution-plan/ExecutionPlanViewer.js.map +1 -1
- package/lib/components/execution-plan/FunctionParametersValidationNodeViewer.d.ts.map +1 -1
- package/lib/components/execution-plan/FunctionParametersValidationNodeViewer.js +1 -2
- package/lib/components/execution-plan/FunctionParametersValidationNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/ImplementationViewer.js.map +1 -1
- package/lib/components/execution-plan/ResultTypeViewer.js.map +1 -1
- package/lib/components/execution-plan/SQLExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/SequenceExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/TempTableStrategyViewer.js.map +1 -1
- package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -1
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js.map +1 -1
- package/lib/components/explorer/QueryBuilderMilestoningEditor.js.map +1 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +2 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +50 -5
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSComponentHelper.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +2 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js +2 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
- package/lib/components/result/QueryBuilderResultPanel.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSResultShared.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js.map +1 -1
- package/lib/components/shared/BasicValueSpecificationEditor.d.ts +0 -1
- package/lib/components/shared/BasicValueSpecificationEditor.d.ts.map +1 -1
- package/lib/components/shared/BasicValueSpecificationEditor.js +62 -28
- package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
- package/lib/components/shared/CustomDatePicker.d.ts +1 -0
- package/lib/components/shared/CustomDatePicker.d.ts.map +1 -1
- package/lib/components/shared/CustomDatePicker.js +15 -10
- package/lib/components/shared/CustomDatePicker.js.map +1 -1
- package/lib/components/shared/LambdaEditor.js +1 -1
- package/lib/components/shared/LambdaEditor.js.map +1 -1
- package/lib/components/shared/LambdaParameterValuesEditor.js.map +1 -1
- package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js.map +1 -1
- package/lib/components/shared/QueryBuilderVariableSelector.d.ts +1 -0
- package/lib/components/shared/QueryBuilderVariableSelector.d.ts.map +1 -1
- package/lib/components/shared/QueryBuilderVariableSelector.js +2 -2
- package/lib/components/shared/QueryBuilderVariableSelector.js.map +1 -1
- package/lib/components/workflows/ClassQueryBuilder.d.ts.map +1 -1
- package/lib/components/workflows/ClassQueryBuilder.js +19 -16
- 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 +18 -15
- 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 +13 -10
- package/lib/components/workflows/ServiceQueryBuilder.js.map +1 -1
- package/lib/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js.map +1 -1
- package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +2 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/package.json +16 -16
- package/lib/stores/QueryBuilderChangeDetectionState.js.map +1 -1
- package/lib/stores/QueryBuilderChangeHistoryState.js.map +1 -1
- package/lib/stores/QueryBuilderConstantsState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderConstantsState.js +2 -1
- package/lib/stores/QueryBuilderConstantsState.js.map +1 -1
- package/lib/stores/QueryBuilderGroupOperationHelper.js.map +1 -1
- package/lib/stores/QueryBuilderPropertyEditorState.d.ts +1 -1
- package/lib/stores/QueryBuilderPropertyEditorState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderPropertyEditorState.js +14 -35
- package/lib/stores/QueryBuilderPropertyEditorState.js.map +1 -1
- package/lib/stores/QueryBuilderResultState.js.map +1 -1
- package/lib/stores/QueryBuilderState.d.ts +3 -0
- package/lib/stores/QueryBuilderState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderState.js +15 -1
- package/lib/stores/QueryBuilderState.js.map +1 -1
- package/lib/stores/QueryBuilderStateBuilder.js.map +1 -1
- package/lib/stores/QueryBuilderTextEditorState.js.map +1 -1
- package/lib/stores/QueryBuilderTypeaheadHelper.js.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts +2 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.js +23 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -1
- package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts +13 -0
- package/lib/stores/QueryBuilder_LegendApplicationPlugin_Extension.d.ts.map +1 -1
- package/lib/stores/QueryLoaderState.js.map +1 -1
- package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.js.map +1 -1
- package/lib/stores/data-access/DataAccessState.js.map +1 -1
- package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.js.map +1 -1
- package/lib/stores/execution-plan/ExecutionPlanState.js.map +1 -1
- package/lib/stores/explorer/QueryBuilderExplorerState.js.map +1 -1
- package/lib/stores/explorer/QueryBuilderPropertySearchState.js.map +1 -1
- package/lib/stores/explorer/QueryFunctionsExplorerState.js.map +1 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts +2 -0
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js +2 -0
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js.map +1 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts +2 -0
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +6 -0
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.js.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts +2 -0
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +16 -0
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunction.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregateCalendarFunctionValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperatorValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.js.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Max.js.map +1 -1
- 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.map +1 -1
- 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.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterOperator.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts +3 -0
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +42 -3
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +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.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorHelper.js.map +1 -1
- 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.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js +6 -5
- 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.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js +6 -5
- 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 +8 -37
- 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 +7 -10
- 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_In.js.map +1 -1
- 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 +7 -10
- 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_StartWith.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js +6 -5
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderRelationProjectValueSpecBuidler.js.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderTypedProjectionStateBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowStateBuilder.js.map +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.map +1 -1
- 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.js.map +1 -1
- 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.js.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.d.ts +3 -0
- package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.js +30 -2
- package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js.map +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 +5 -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 +5 -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 +7 -35
- 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 -8
- 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 -8
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js.map +1 -1
- 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 +6 -8
- 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 -8
- 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 +5 -4
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningHelper.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningState.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.js.map +1 -1
- package/lib/stores/query-workflow/QueryBuilderWorkFlowState.d.ts +5 -0
- package/lib/stores/query-workflow/QueryBuilderWorkFlowState.d.ts.map +1 -1
- package/lib/stores/query-workflow/QueryBuilderWorkFlowState.js +7 -0
- package/lib/stores/query-workflow/QueryBuilderWorkFlowState.js.map +1 -1
- package/lib/stores/shared/LambdaEditorState.js.map +1 -1
- package/lib/stores/shared/LambdaParameterState.js.map +1 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts +1 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts.map +1 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.js +20 -10
- package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
- package/lib/stores/watermark/QueryBuilderWatermarkState.d.ts +0 -2
- package/lib/stores/watermark/QueryBuilderWatermarkState.d.ts.map +1 -1
- package/lib/stores/watermark/QueryBuilderWatermarkState.js +0 -6
- package/lib/stores/watermark/QueryBuilderWatermarkState.js.map +1 -1
- package/lib/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/workflows/ClassQueryBuilderState.js.map +1 -1
- package/lib/stores/workflows/MappingQueryBuilderState.d.ts +2 -2
- package/lib/stores/workflows/MappingQueryBuilderState.d.ts.map +1 -1
- package/lib/stores/workflows/MappingQueryBuilderState.js +2 -1
- package/lib/stores/workflows/MappingQueryBuilderState.js.map +1 -1
- package/lib/stores/workflows/ServiceQueryBuilderState.d.ts +2 -2
- package/lib/stores/workflows/ServiceQueryBuilderState.d.ts.map +1 -1
- package/lib/stores/workflows/ServiceQueryBuilderState.js +2 -1
- package/lib/stores/workflows/ServiceQueryBuilderState.js.map +1 -1
- package/package.json +24 -24
- package/src/__lib__/QueryBuilderTesting.ts +1 -0
- package/src/components/QueryBuilder.tsx +89 -46
- package/src/components/QueryBuilderConstantExpressionPanel.tsx +41 -19
- package/src/components/QueryBuilderParametersPanel.tsx +7 -7
- package/src/components/QueryBuilderPropertyExpressionEditor.tsx +2 -0
- package/src/components/QueryBuilderSideBar.tsx +138 -339
- package/src/components/execution-plan/FunctionParametersValidationNodeViewer.tsx +3 -2
- package/src/components/explorer/QueryBuilderExplorerPanel.tsx +4 -4
- package/src/components/explorer/QueryBuilderPropertySearchPanel.tsx +4 -4
- package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +8 -3
- package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +139 -1
- package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +21 -4
- package/src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx +4 -4
- package/src/components/filter/QueryBuilderFilterPanel.tsx +12 -6
- package/src/components/result/tds/QueryBuilderTDSResultShared.tsx +2 -2
- package/src/components/result/tds/QueryBuilderTDSSimpleGridResult.tsx +1 -1
- package/src/components/shared/BasicValueSpecificationEditor.tsx +96 -34
- package/src/components/shared/CustomDatePicker.tsx +30 -22
- package/src/components/shared/QueryBuilderVariableSelector.tsx +2 -2
- package/src/components/workflows/ClassQueryBuilder.tsx +79 -77
- package/src/components/workflows/MappingQueryBuilder.tsx +75 -76
- package/src/components/workflows/ServiceQueryBuilder.tsx +71 -70
- package/src/index.ts +2 -1
- package/src/stores/QueryBuilderConstantsState.ts +2 -0
- package/src/stores/QueryBuilderPropertyEditorState.ts +17 -56
- package/src/stores/QueryBuilderState.ts +23 -1
- package/src/stores/QueryBuilderValueSpecificationHelper.ts +32 -0
- package/src/stores/QueryBuilder_LegendApplicationPlugin_Extension.ts +18 -0
- package/src/stores/explorer/QueryBuilderExplorerState.ts +2 -2
- package/src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts +4 -0
- package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +8 -0
- package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +33 -0
- package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +59 -0
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts +5 -5
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts +5 -5
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts +10 -69
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.ts +7 -18
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.ts +7 -18
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.ts +5 -5
- package/src/stores/filter/QueryBuilderFilterState.ts +48 -2
- package/src/stores/filter/operators/QueryBuilderFilterOperator_Contain.ts +5 -5
- package/src/stores/filter/operators/QueryBuilderFilterOperator_EndWith.ts +5 -5
- package/src/stores/filter/operators/QueryBuilderFilterOperator_Equal.ts +10 -71
- package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.ts +6 -14
- package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.ts +6 -14
- package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThan.ts +6 -14
- package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.ts +6 -14
- package/src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.ts +5 -5
- package/src/stores/query-workflow/QueryBuilderWorkFlowState.ts +10 -0
- package/src/stores/shared/ValueSpecificationEditorHelper.ts +32 -16
- package/src/stores/watermark/QueryBuilderWatermarkState.ts +0 -7
- package/src/stores/workflows/MappingQueryBuilderState.ts +7 -1
- package/src/stores/workflows/ServiceQueryBuilderState.ts +6 -1
- package/tsconfig.json +17 -2
- package/tsconfig.package.json +17 -1
- package/lib/components/watermark/QueryBuilderWatermark.d.ts +0 -22
- package/lib/components/watermark/QueryBuilderWatermark.d.ts.map +0 -1
- package/lib/components/watermark/QueryBuilderWatermark.js +0 -83
- package/lib/components/watermark/QueryBuilderWatermark.js.map +0 -1
- package/src/components/watermark/QueryBuilderWatermark.tsx +0 -218
@@ -19,6 +19,7 @@ import {
|
|
19
19
|
BasePopover,
|
20
20
|
BaseRadioGroup,
|
21
21
|
CustomSelectorInput,
|
22
|
+
clsx,
|
22
23
|
} from '@finos/legend-art';
|
23
24
|
import {
|
24
25
|
type PureModel,
|
@@ -541,14 +542,14 @@ const buildCustomDateOptionDurationValue = (
|
|
541
542
|
return durationParam instanceof PrimitiveInstanceValue
|
542
543
|
? (durationParam.values[0] as number)
|
543
544
|
: durationParam instanceof SimpleFunctionExpression &&
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
545
|
+
matchFunctionName(
|
546
|
+
durationParam.functionName,
|
547
|
+
QUERY_BUILDER_SUPPORTED_FUNCTIONS.MINUS,
|
548
|
+
)
|
549
|
+
? durationParam.parametersValues[0] instanceof PrimitiveInstanceValue
|
550
|
+
? (durationParam.parametersValues[0].values[0] as number)
|
551
|
+
: 0
|
552
|
+
: 0;
|
552
553
|
};
|
553
554
|
|
554
555
|
/**
|
@@ -713,9 +714,10 @@ export const buildDatePickerOption = (
|
|
713
714
|
);
|
714
715
|
case QUERY_BUILDER_SUPPORTED_FUNCTIONS.PREVIOUS_DAY_OF_WEEK:
|
715
716
|
return new CustomPreviousDayOfWeekOption(
|
716
|
-
`Previous ${
|
717
|
-
valueSpecification.parametersValues[0] as EnumValueInstanceValue
|
718
|
-
|
717
|
+
`Previous ${
|
718
|
+
(valueSpecification.parametersValues[0] as EnumValueInstanceValue)
|
719
|
+
.values[0]?.value.name
|
720
|
+
}`,
|
719
721
|
(valueSpecification.parametersValues[0] as EnumValueInstanceValue)
|
720
722
|
.values[0]?.value.name as CUSTOM_DATE_DAY_OF_WEEK,
|
721
723
|
);
|
@@ -732,11 +734,13 @@ export const buildDatePickerOption = (
|
|
732
734
|
CUSTOM_DATE_PICKER_OPTION.LATEST_DATE,
|
733
735
|
)
|
734
736
|
: new DatePickerOption(
|
735
|
-
valueSpecification.values[0] as string,
|
736
|
-
valueSpecification.
|
737
|
-
|
738
|
-
|
739
|
-
|
737
|
+
(valueSpecification.values[0] ?? '') as string,
|
738
|
+
valueSpecification.values[0] === null
|
739
|
+
? ''
|
740
|
+
: valueSpecification.genericType.value.rawType.path ===
|
741
|
+
PRIMITIVE_TYPE.DATETIME
|
742
|
+
? CUSTOM_DATE_PICKER_OPTION.ABSOLUTE_TIME
|
743
|
+
: CUSTOM_DATE_PICKER_OPTION.ABSOLUTE_DATE,
|
740
744
|
);
|
741
745
|
}
|
742
746
|
};
|
@@ -759,7 +763,7 @@ const AbsoluteDateValueSpecificationEditor: React.FC<{
|
|
759
763
|
const absoluteDateValue =
|
760
764
|
valueSpecification instanceof SimpleFunctionExpression
|
761
765
|
? ''
|
762
|
-
: (valueSpecification.values[0] as string);
|
766
|
+
: (valueSpecification.values[0] as string | null);
|
763
767
|
const updateAbsoluteDateValue: React.ChangeEventHandler<HTMLInputElement> = (
|
764
768
|
event,
|
765
769
|
) => {
|
@@ -811,7 +815,7 @@ const AbsoluteDateValueSpecificationEditor: React.FC<{
|
|
811
815
|
className="panel__content__form__section__input value-spec-editor__date-picker__absolute-date__input input--dark"
|
812
816
|
type="date"
|
813
817
|
spellCheck={false}
|
814
|
-
value={absoluteDateValue}
|
818
|
+
value={absoluteDateValue ?? ''}
|
815
819
|
onChange={updateAbsoluteDateValue}
|
816
820
|
/>
|
817
821
|
</div>
|
@@ -836,7 +840,7 @@ const AbsoluteTimeValueSpecificationEditor: React.FC<{
|
|
836
840
|
const absoluteTimeValue =
|
837
841
|
valueSpecification instanceof SimpleFunctionExpression
|
838
842
|
? ''
|
839
|
-
: (valueSpecification.values[0] as string);
|
843
|
+
: (valueSpecification.values[0] as string | null);
|
840
844
|
const updateAbsoluteTimeValue: React.ChangeEventHandler<HTMLInputElement> = (
|
841
845
|
event,
|
842
846
|
) => {
|
@@ -892,7 +896,7 @@ const AbsoluteTimeValueSpecificationEditor: React.FC<{
|
|
892
896
|
// See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/datetime-local#step
|
893
897
|
step="1"
|
894
898
|
spellCheck={false}
|
895
|
-
value={absoluteTimeValue}
|
899
|
+
value={absoluteTimeValue ?? ''}
|
896
900
|
onChange={updateAbsoluteTimeValue}
|
897
901
|
/>
|
898
902
|
</div>
|
@@ -1224,6 +1228,7 @@ export const CustomDatePicker: React.FC<{
|
|
1224
1228
|
valueSpecification: PrimitiveInstanceValue | SimpleFunctionExpression;
|
1225
1229
|
graph: PureModel;
|
1226
1230
|
observerContext: ObserverContext;
|
1231
|
+
hasError?: boolean;
|
1227
1232
|
typeCheckOption: {
|
1228
1233
|
expectedType: Type;
|
1229
1234
|
/**
|
@@ -1246,6 +1251,7 @@ export const CustomDatePicker: React.FC<{
|
|
1246
1251
|
setValueSpecification,
|
1247
1252
|
graph,
|
1248
1253
|
observerContext,
|
1254
|
+
hasError,
|
1249
1255
|
typeCheckOption,
|
1250
1256
|
} = props;
|
1251
1257
|
const applicationStore = useApplicationStore();
|
@@ -1403,11 +1409,13 @@ export const CustomDatePicker: React.FC<{
|
|
1403
1409
|
return (
|
1404
1410
|
<>
|
1405
1411
|
<button
|
1406
|
-
className=
|
1412
|
+
className={clsx('value-spec-editor__date-picker__trigger', {
|
1413
|
+
'value-spec-editor__date-picker__trigger--error': hasError,
|
1414
|
+
})}
|
1407
1415
|
title="Click to edit and pick from more date options"
|
1408
1416
|
onClick={openCustomDatePickerPopover}
|
1409
1417
|
>
|
1410
|
-
{datePickerOption.label}
|
1418
|
+
{datePickerOption.label || 'Select value'}
|
1411
1419
|
</button>
|
1412
1420
|
<BasePopover
|
1413
1421
|
open={Boolean(anchorEl)}
|
@@ -48,7 +48,7 @@ import { forwardRef, useState } from 'react';
|
|
48
48
|
|
49
49
|
const CALCULATED = '(calculated)';
|
50
50
|
|
51
|
-
const
|
51
|
+
export const getNameOfValueSpecification = (
|
52
52
|
value: ValueSpecification,
|
53
53
|
queryBuilderState: QueryBuilderState,
|
54
54
|
): string | undefined => {
|
@@ -143,7 +143,7 @@ export const VariableViewer = observer(
|
|
143
143
|
const onContextMenuClose = (): void => setIsSelectedFromContextMenu(false);
|
144
144
|
const isConstant = Boolean(value);
|
145
145
|
const constantValueString = value?.val
|
146
|
-
?
|
146
|
+
? getNameOfValueSpecification(value.val, queryBuilderState)
|
147
147
|
: undefined;
|
148
148
|
const name = variable.name;
|
149
149
|
const variableTypeName =
|
@@ -16,9 +16,8 @@
|
|
16
16
|
|
17
17
|
import {
|
18
18
|
CustomSelectorInput,
|
19
|
+
PanelHeader,
|
19
20
|
createFilter,
|
20
|
-
PURE_MappingIcon,
|
21
|
-
PURE_RuntimeIcon,
|
22
21
|
} from '@finos/legend-art';
|
23
22
|
import { observer } from 'mobx-react-lite';
|
24
23
|
import {
|
@@ -70,7 +69,9 @@ const ClassQueryBuilderSetupPanelContent = observer(
|
|
70
69
|
queryBuilderState.graphManagerState.usableMappings,
|
71
70
|
)
|
72
71
|
: []
|
73
|
-
)
|
72
|
+
)
|
73
|
+
.map(buildElementOption)
|
74
|
+
.sort((a, b) => a.label.localeCompare(b.label));
|
74
75
|
const selectedMappingOption = queryBuilderState.executionContextState
|
75
76
|
.mapping
|
76
77
|
? buildElementOption(queryBuilderState.executionContextState.mapping)
|
@@ -105,7 +106,8 @@ const ClassQueryBuilderSetupPanelContent = observer(
|
|
105
106
|
(rt) =>
|
106
107
|
new RuntimePointer(PackageableElementExplicitReference.create(rt)),
|
107
108
|
)
|
108
|
-
.map(buildRuntimeValueOption)
|
109
|
+
.map(buildRuntimeValueOption)
|
110
|
+
.sort((a, b) => a.label.localeCompare(b.label));
|
109
111
|
const selectedRuntimeOption = queryBuilderState.executionContextState
|
110
112
|
.runtimeValue
|
111
113
|
? buildRuntimeValueOption(
|
@@ -128,83 +130,83 @@ const ClassQueryBuilderSetupPanelContent = observer(
|
|
128
130
|
});
|
129
131
|
|
130
132
|
return (
|
131
|
-
|
132
|
-
<
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
</
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
value={selectedMappingOption}
|
163
|
-
darkMode={
|
133
|
+
<div className="query-builder__setup__config-group">
|
134
|
+
<PanelHeader title="properties" />
|
135
|
+
<div className="query-builder__setup__config-group__content">
|
136
|
+
<div className="query-builder__setup__config-group__item">
|
137
|
+
<label
|
138
|
+
className="btn--sm query-builder__setup__config-group__item__label"
|
139
|
+
title="mapping"
|
140
|
+
htmlFor="query-builder__setup__mapping-selector"
|
141
|
+
>
|
142
|
+
Mapping
|
143
|
+
</label>
|
144
|
+
<CustomSelectorInput
|
145
|
+
inputId="query-builder__setup__mapping-selector"
|
146
|
+
className="panel__content__form__section__dropdown query-builder__setup__config-group__item__selector"
|
147
|
+
placeholder={
|
148
|
+
mappingOptions.length
|
149
|
+
? 'Choose a mapping...'
|
150
|
+
: 'No compatible mapping found for class'
|
151
|
+
}
|
152
|
+
noMatchMessage="No compatible mapping found for specified class"
|
153
|
+
disabled={!queryBuilderState.class}
|
154
|
+
options={mappingOptions}
|
155
|
+
onChange={changeMapping}
|
156
|
+
value={selectedMappingOption}
|
157
|
+
darkMode={
|
158
|
+
!applicationStore.layoutService
|
159
|
+
.TEMPORARY__isLightColorThemeEnabled
|
160
|
+
}
|
161
|
+
filterOption={mappingFilterOption}
|
162
|
+
formatOptionLabel={getPackageableElementOptionFormatter({
|
163
|
+
darkMode:
|
164
164
|
!applicationStore.layoutService
|
165
|
-
.TEMPORARY__isLightColorThemeEnabled
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
165
|
+
.TEMPORARY__isLightColorThemeEnabled,
|
166
|
+
})}
|
167
|
+
/>
|
168
|
+
</div>
|
169
|
+
<div className="query-builder__setup__config-group__item">
|
170
|
+
<label
|
171
|
+
className="btn--sm query-builder__setup__config-group__item__label"
|
172
|
+
title="runtime"
|
173
|
+
htmlFor="query-builder__setup__runtime-selector"
|
174
|
+
>
|
175
|
+
Runtime
|
176
|
+
</label>
|
177
|
+
<CustomSelectorInput
|
178
|
+
inputId="query-builder__setup__runtime-selector"
|
179
|
+
className="panel__content__form__section__dropdown query-builder__setup__config-group__item__selector"
|
180
|
+
placeholder="Choose a runtime..."
|
181
|
+
noMatchMessage="No compatible runtime found for specified mapping"
|
182
|
+
disabled={
|
183
|
+
!queryBuilderState.class ||
|
184
|
+
!queryBuilderState.executionContextState.mapping
|
185
|
+
}
|
186
|
+
options={runtimeOptions}
|
187
|
+
onChange={changeRuntime}
|
188
|
+
value={selectedRuntimeOption}
|
189
|
+
darkMode={
|
190
|
+
!applicationStore.layoutService
|
191
|
+
.TEMPORARY__isLightColorThemeEnabled
|
192
|
+
}
|
193
|
+
filterOption={runtimeFilterOption}
|
194
|
+
formatOptionLabel={getRuntimeOptionFormatter({
|
195
|
+
darkMode:
|
194
196
|
!applicationStore.layoutService
|
195
|
-
.TEMPORARY__isLightColorThemeEnabled
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
197
|
+
.TEMPORARY__isLightColorThemeEnabled,
|
198
|
+
})}
|
199
|
+
/>
|
200
|
+
</div>
|
201
|
+
<div className="query-builder__setup__config-group__item">
|
202
|
+
<QueryBuilderClassSelector
|
203
|
+
queryBuilderState={queryBuilderState}
|
204
|
+
classes={classes}
|
205
|
+
onClassChange={onClassChange}
|
206
|
+
/>
|
205
207
|
</div>
|
206
208
|
</div>
|
207
|
-
|
209
|
+
</div>
|
208
210
|
);
|
209
211
|
},
|
210
212
|
);
|
@@ -16,9 +16,8 @@
|
|
16
16
|
|
17
17
|
import {
|
18
18
|
CustomSelectorInput,
|
19
|
+
PanelHeader,
|
19
20
|
createFilter,
|
20
|
-
PURE_MappingIcon,
|
21
|
-
PURE_RuntimeIcon,
|
22
21
|
} from '@finos/legend-art';
|
23
22
|
import { observer } from 'mobx-react-lite';
|
24
23
|
import {
|
@@ -58,10 +57,9 @@ const MappingQueryBuilderSetupPanelContent = observer(
|
|
58
57
|
const applicationStore = useApplicationStore();
|
59
58
|
|
60
59
|
// mapping
|
61
|
-
const mappingOptions =
|
62
|
-
|
63
|
-
|
64
|
-
);
|
60
|
+
const mappingOptions = queryBuilderState.graphManagerState.usableMappings
|
61
|
+
.map(buildElementOption)
|
62
|
+
.sort((a, b) => a.label.localeCompare(b.label));
|
65
63
|
const selectedMappingOption = queryBuilderState.executionContextState
|
66
64
|
.mapping
|
67
65
|
? buildElementOption(queryBuilderState.executionContextState.mapping)
|
@@ -94,7 +92,8 @@ const MappingQueryBuilderSetupPanelContent = observer(
|
|
94
92
|
(rt) =>
|
95
93
|
new RuntimePointer(PackageableElementExplicitReference.create(rt)),
|
96
94
|
)
|
97
|
-
.map(buildRuntimeValueOption)
|
95
|
+
.map(buildRuntimeValueOption)
|
96
|
+
.sort((a, b) => a.label.localeCompare(b.label));
|
98
97
|
const selectedRuntimeOption = queryBuilderState.executionContextState
|
99
98
|
.runtimeValue
|
100
99
|
? buildRuntimeValueOption(
|
@@ -125,79 +124,79 @@ const MappingQueryBuilderSetupPanelContent = observer(
|
|
125
124
|
: [];
|
126
125
|
|
127
126
|
return (
|
128
|
-
|
129
|
-
<
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
127
|
+
<div className="query-builder__setup__config-group">
|
128
|
+
<PanelHeader title="properties" />
|
129
|
+
<div className="query-builder__setup__config-group__content">
|
130
|
+
<div className="query-builder__setup__config-group__item">
|
131
|
+
<label
|
132
|
+
className="btn--sm query-builder__setup__config-group__item__label"
|
133
|
+
title="mapping"
|
134
|
+
htmlFor="query-builder__setup__mapping-selector"
|
135
|
+
>
|
136
|
+
Mapping
|
137
|
+
</label>
|
138
|
+
<CustomSelectorInput
|
139
|
+
inputId="query-builder__setup__mapping-selector"
|
140
|
+
className="panel__content__form__section__dropdown query-builder__setup__config-group__item__selector"
|
141
|
+
placeholder={
|
142
|
+
mappingOptions.length
|
143
|
+
? 'Choose a mapping...'
|
144
|
+
: 'No mapping found'
|
145
|
+
}
|
146
|
+
noMatchMessage="No mapping found"
|
147
|
+
options={mappingOptions}
|
148
|
+
onChange={changeMapping}
|
149
|
+
value={selectedMappingOption}
|
150
|
+
darkMode={
|
151
|
+
!applicationStore.layoutService
|
152
|
+
.TEMPORARY__isLightColorThemeEnabled
|
153
|
+
}
|
154
|
+
filterOption={mappingFilterOption}
|
155
|
+
formatOptionLabel={getPackageableElementOptionFormatter({
|
156
|
+
darkMode:
|
155
157
|
!applicationStore.layoutService
|
156
|
-
.TEMPORARY__isLightColorThemeEnabled
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
158
|
+
.TEMPORARY__isLightColorThemeEnabled,
|
159
|
+
})}
|
160
|
+
/>
|
161
|
+
</div>
|
162
|
+
<div className="query-builder__setup__config-group__item">
|
163
|
+
<label
|
164
|
+
className="btn--sm query-builder__setup__config-group__item__label"
|
165
|
+
title="runtime"
|
166
|
+
htmlFor="query-builder__setup__runtime-selector"
|
167
|
+
>
|
168
|
+
Runtime
|
169
|
+
</label>
|
170
|
+
<CustomSelectorInput
|
171
|
+
inputId="query-builder__setup__runtime-selector"
|
172
|
+
className="panel__content__form__section__dropdown query-builder__setup__config-group__item__selector"
|
173
|
+
placeholder="Choose a runtime..."
|
174
|
+
noMatchMessage="No compatible runtime found for specified mapping"
|
175
|
+
disabled={!queryBuilderState.executionContextState.mapping}
|
176
|
+
options={runtimeOptions}
|
177
|
+
onChange={changeRuntime}
|
178
|
+
value={selectedRuntimeOption}
|
179
|
+
darkMode={
|
180
|
+
!applicationStore.layoutService
|
181
|
+
.TEMPORARY__isLightColorThemeEnabled
|
182
|
+
}
|
183
|
+
filterOption={runtimeFilterOption}
|
184
|
+
formatOptionLabel={getRuntimeOptionFormatter({
|
185
|
+
darkMode:
|
182
186
|
!applicationStore.layoutService
|
183
|
-
.TEMPORARY__isLightColorThemeEnabled
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
187
|
+
.TEMPORARY__isLightColorThemeEnabled,
|
188
|
+
})}
|
189
|
+
/>
|
190
|
+
</div>
|
191
|
+
<div className="query-builder__setup__config-group__item">
|
192
|
+
<QueryBuilderClassSelector
|
193
|
+
queryBuilderState={queryBuilderState}
|
194
|
+
classes={classes}
|
195
|
+
noMatchMessage="No compatible entity found for specified mapping"
|
196
|
+
/>
|
193
197
|
</div>
|
194
198
|
</div>
|
195
|
-
|
196
|
-
queryBuilderState={queryBuilderState}
|
197
|
-
classes={classes}
|
198
|
-
noMatchMessage="No compatible class found for specified mapping"
|
199
|
-
/>
|
200
|
-
</>
|
199
|
+
</div>
|
201
200
|
);
|
202
201
|
},
|
203
202
|
);
|