@finos/legend-query-builder 0.0.1 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/QueryBuilder.d.ts.map +1 -1
- package/lib/components/QueryBuilder.js +14 -4
- package/lib/components/QueryBuilder.js.map +1 -1
- package/lib/components/QueryBuilderDiffPanel.d.ts +22 -0
- package/lib/components/QueryBuilderDiffPanel.d.ts.map +1 -0
- package/lib/components/QueryBuilderDiffPanel.js +103 -0
- package/lib/components/QueryBuilderDiffPanel.js.map +1 -0
- package/lib/components/QueryBuilderParametersPanel.js +3 -3
- package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
- package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderResultPanel.js +8 -9
- package/lib/components/QueryBuilderResultPanel.js.map +1 -1
- package/lib/components/QueryBuilderSideBar.js +1 -1
- package/lib/components/QueryBuilderSideBar.js.map +1 -1
- package/lib/components/ServiceQuerySetupUtils.d.ts +23 -0
- package/lib/components/ServiceQuerySetupUtils.d.ts.map +1 -0
- package/lib/components/ServiceQuerySetupUtils.js +25 -0
- package/lib/components/ServiceQuerySetupUtils.js.map +1 -0
- package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts.map +1 -1
- package/lib/components/explorer/QueryBuilderExplorerPanel.js +4 -10
- package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -1
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts.map +1 -1
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js +8 -6
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js.map +1 -1
- package/lib/components/explorer/{QueryBuilderMilestoneEditor.d.ts → QueryBuilderMilestoningEditor.d.ts} +1 -1
- package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts.map +1 -0
- package/lib/components/explorer/{QueryBuilderMilestoneEditor.js → QueryBuilderMilestoningEditor.js} +9 -9
- package/lib/components/explorer/QueryBuilderMilestoningEditor.js.map +1 -0
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts.map +1 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js +69 -61
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderProjectionPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderProjectionPanel.js +1 -3
- package/lib/components/fetch-structure/QueryBuilderProjectionPanel.js.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js +3 -7
- package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.d.ts.map +1 -1
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js +7 -2
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js.map +1 -1
- package/lib/graphManager/QueryBuilderHashUtils.d.ts +84 -0
- package/lib/graphManager/QueryBuilderHashUtils.d.ts.map +1 -0
- package/lib/graphManager/QueryBuilderHashUtils.js +91 -0
- package/lib/graphManager/QueryBuilderHashUtils.js.map +1 -0
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +3 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +3 -0
- package/lib/index.js.map +1 -1
- package/lib/package.json +6 -4
- package/lib/stores/QueryBuilderChangeDetectionState.d.ts +26 -5
- package/lib/stores/QueryBuilderChangeDetectionState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderChangeDetectionState.js +82 -10
- package/lib/stores/QueryBuilderChangeDetectionState.js.map +1 -1
- package/lib/stores/QueryBuilderConfig.d.ts +1 -0
- package/lib/stores/QueryBuilderConfig.d.ts.map +1 -1
- package/lib/stores/QueryBuilderConfig.js +1 -0
- package/lib/stores/QueryBuilderConfig.js.map +1 -1
- package/lib/stores/QueryBuilderMilestoningState.d.ts +3 -1
- package/lib/stores/QueryBuilderMilestoningState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderMilestoningState.js +10 -0
- package/lib/stores/QueryBuilderMilestoningState.js.map +1 -1
- package/lib/stores/QueryBuilderParametersState.d.ts +3 -1
- package/lib/stores/QueryBuilderParametersState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderParametersState.js +10 -1
- package/lib/stores/QueryBuilderParametersState.js.map +1 -1
- package/lib/stores/QueryBuilderPropertyEditorState.d.ts +5 -3
- package/lib/stores/QueryBuilderPropertyEditorState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderPropertyEditorState.js +15 -5
- package/lib/stores/QueryBuilderPropertyEditorState.js.map +1 -1
- package/lib/stores/QueryBuilderResultState.d.ts +5 -3
- package/lib/stores/QueryBuilderResultState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderResultState.js +26 -6
- package/lib/stores/QueryBuilderResultState.js.map +1 -1
- package/lib/stores/QueryBuilderState.d.ts +3 -5
- package/lib/stores/QueryBuilderState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderState.js +32 -22
- package/lib/stores/QueryBuilderState.js.map +1 -1
- package/lib/stores/QueryBuilderStateTestUtils.js +1 -1
- package/lib/stores/QueryBuilderStateTestUtils.js.map +1 -1
- package/lib/stores/QueryBuilderTextEditorState.js +1 -1
- package/lib/stores/QueryBuilderTextEditorState.js.map +1 -1
- package/lib/stores/QueryBuilderUnsupportedQueryState.d.ts +4 -2
- package/lib/stores/QueryBuilderUnsupportedQueryState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderUnsupportedQueryState.js +10 -1
- package/lib/stores/QueryBuilderUnsupportedQueryState.js.map +1 -1
- package/lib/stores/ServiceInfo.d.ts +28 -0
- package/lib/stores/ServiceInfo.d.ts.map +1 -0
- package/lib/stores/ServiceInfo.js +34 -0
- package/lib/stores/ServiceInfo.js.map +1 -0
- package/lib/stores/explorer/QueryBuilderExplorerState.d.ts +6 -6
- package/lib/stores/explorer/QueryBuilderExplorerState.d.ts.map +1 -1
- package/lib/stores/explorer/QueryBuilderExplorerState.js +19 -14
- package/lib/stores/explorer/QueryBuilderExplorerState.js.map +1 -1
- package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts +36 -17
- package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts.map +1 -1
- package/lib/stores/explorer/QueryBuilderPropertySearchState.js +203 -161
- package/lib/stores/explorer/QueryBuilderPropertySearchState.js.map +1 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts +5 -3
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js +1 -0
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.js.map +1 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.d.ts +1 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js +3 -3
- package/lib/stores/fetch-structure/QueryBuilderFetchStructureState.js.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts +3 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +9 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts +7 -5
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js +20 -5
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js.map +1 -1
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.d.ts +7 -4
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js +20 -5
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.js.map +1 -1
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.d.ts +6 -5
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.js +14 -9
- package/lib/stores/fetch-structure/projection/QueryBuilderProjectionState.js.map +1 -1
- package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.d.ts +6 -3
- package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.js +28 -5
- package/lib/stores/fetch-structure/projection/QueryResultSetModifierState.js.map +1 -1
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.d.ts +4 -1
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.d.ts.map +1 -1
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.js +7 -1
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.js.map +1 -1
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.d.ts +8 -5
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.js +24 -7
- package/lib/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.js.map +1 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts +3 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts.map +1 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.js +5 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.js.map +1 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts +3 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts.map +1 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.js +5 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.js.map +1 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.d.ts +3 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.d.ts.map +1 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js +7 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js.map +1 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts +3 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.d.ts.map +1 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js +7 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js.map +1 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts +3 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.d.ts.map +1 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js +7 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js.map +1 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts +3 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts.map +1 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.js +5 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.js.map +1 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts +3 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts.map +1 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.js +5 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.js.map +1 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts +3 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.d.ts.map +1 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js +7 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js.map +1 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts +3 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.d.ts.map +1 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js +7 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js.map +1 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts +3 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts.map +1 -1
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.js +5 -0
- package/lib/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.js.map +1 -1
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.d.ts +3 -1
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.d.ts.map +1 -1
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.js.map +1 -1
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.d.ts +14 -8
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js +54 -4
- package/lib/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.js.map +1 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts +4 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.d.ts.map +1 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js +12 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js.map +1 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts +4 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.d.ts.map +1 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js +12 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js.map +1 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts +4 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts.map +1 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js +10 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js.map +1 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts +3 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts.map +1 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js +7 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js.map +1 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts +1 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts.map +1 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js +7 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js.map +1 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts +4 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts.map +1 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.js +10 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +1 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts +4 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.d.ts.map +1 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js +12 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js.map +1 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts +3 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts.map +1 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js +7 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js.map +1 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts +3 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts.map +1 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js +7 -0
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js.map +1 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts +5 -2
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.d.ts.map +1 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js +12 -1
- package/lib/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterOperator.d.ts +3 -1
- package/lib/stores/filter/QueryBuilderFilterOperator.d.ts.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterOperator.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.d.ts +14 -8
- package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.js +54 -9
- package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts +4 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js +10 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts +4 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js +10 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts +4 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js +8 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts +3 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js +7 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts +3 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js +7 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts +4 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js +8 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts +4 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js +10 -0
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts +3 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js +5 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts +3 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js +7 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts +4 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js +10 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +1 -1
- package/lib/stores/workflows/ServiceQueryBuilderState.d.ts.map +1 -1
- package/lib/stores/workflows/ServiceQueryBuilderState.js +15 -7
- package/lib/stores/workflows/ServiceQueryBuilderState.js.map +1 -1
- package/package.json +12 -10
- package/src/components/QueryBuilder.tsx +41 -1
- package/src/components/QueryBuilderDiffPanel.tsx +222 -0
- package/src/components/QueryBuilderParametersPanel.tsx +3 -3
- package/src/components/QueryBuilderResultPanel.tsx +31 -18
- package/src/components/QueryBuilderSideBar.tsx +1 -1
- package/src/components/ServiceQuerySetupUtils.tsx +54 -0
- package/src/components/explorer/QueryBuilderExplorerPanel.tsx +5 -12
- package/src/components/explorer/QueryBuilderFunctionsExplorerPanel.tsx +24 -14
- package/src/components/explorer/{QueryBuilderMilestoneEditor.tsx → QueryBuilderMilestoningEditor.tsx} +12 -8
- package/src/components/explorer/QueryBuilderPropertySearchPanel.tsx +156 -145
- package/src/components/fetch-structure/QueryBuilderProjectionPanel.tsx +1 -5
- package/src/components/filter/QueryBuilderFilterPanel.tsx +3 -13
- package/src/components/shared/QueryBuilderPropertyInfoTooltip.tsx +22 -0
- package/src/graphManager/QueryBuilderHashUtils.ts +95 -0
- package/src/index.ts +3 -0
- package/src/stores/QueryBuilderChangeDetectionState.ts +112 -10
- package/src/stores/QueryBuilderConfig.ts +2 -0
- package/src/stores/QueryBuilderMilestoningState.ts +12 -1
- package/src/stores/QueryBuilderParametersState.ts +15 -2
- package/src/stores/QueryBuilderPropertyEditorState.ts +19 -7
- package/src/stores/QueryBuilderResultState.ts +30 -8
- package/src/stores/QueryBuilderState.ts +50 -37
- package/src/stores/QueryBuilderStateTestUtils.ts +1 -1
- package/src/stores/QueryBuilderTextEditorState.ts +1 -1
- package/src/stores/QueryBuilderUnsupportedQueryState.ts +13 -3
- package/src/stores/ServiceInfo.ts +52 -0
- package/src/stores/explorer/QueryBuilderExplorerState.ts +26 -30
- package/src/stores/explorer/QueryBuilderPropertySearchState.ts +259 -193
- package/src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts +8 -3
- package/src/stores/fetch-structure/QueryBuilderFetchStructureState.ts +4 -4
- package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +18 -2
- package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.ts +31 -6
- package/src/stores/fetch-structure/projection/QueryBuilderProjectionColumnState.ts +34 -9
- package/src/stores/fetch-structure/projection/QueryBuilderProjectionState.ts +23 -16
- package/src/stores/fetch-structure/projection/QueryResultSetModifierState.ts +38 -8
- package/src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregateOperator.ts +15 -2
- package/src/stores/fetch-structure/projection/aggregation/QueryBuilderAggregationState.ts +37 -12
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Average.ts +10 -1
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Count.ts +10 -1
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Distinct.ts +12 -1
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.ts +17 -2
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_JoinString.ts +17 -2
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Max.ts +10 -1
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Min.ts +10 -1
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.ts +12 -1
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.ts +12 -1
- package/src/stores/fetch-structure/projection/aggregation/operators/QueryBuilderAggregateOperator_Sum.ts +10 -1
- package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterOperator.ts +4 -2
- package/src/stores/fetch-structure/projection/post-filter/QueryBuilderPostFilterState.ts +78 -10
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts +19 -1
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts +22 -2
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts +17 -1
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.ts +13 -1
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.ts +8 -0
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_In.ts +20 -2
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.ts +18 -1
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.ts +13 -1
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.ts +12 -1
- package/src/stores/fetch-structure/projection/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.ts +26 -3
- package/src/stores/filter/QueryBuilderFilterOperator.ts +4 -2
- package/src/stores/filter/QueryBuilderFilterState.ts +80 -22
- package/src/stores/filter/operators/QueryBuilderFilterOperator_Contain.ts +20 -2
- package/src/stores/filter/operators/QueryBuilderFilterOperator_EndWith.ts +20 -2
- package/src/stores/filter/operators/QueryBuilderFilterOperator_Equal.ts +18 -2
- package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.ts +16 -2
- package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.ts +16 -2
- package/src/stores/filter/operators/QueryBuilderFilterOperator_In.ts +14 -1
- package/src/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.ts +16 -1
- package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThan.ts +14 -2
- package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.ts +16 -2
- package/src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.ts +20 -2
- package/src/stores/workflows/ServiceQueryBuilderState.ts +24 -9
- package/tsconfig.json +7 -2
- package/lib/components/explorer/QueryBuilderMilestoneEditor.d.ts.map +0 -1
- package/lib/components/explorer/QueryBuilderMilestoneEditor.js.map +0 -1
@@ -13,49 +13,87 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { Class, getAllOwnClassProperties, getAllClassProperties, getAllClassDerivedProperties, PrimitiveType, PRIMITIVE_TYPE, } from '@finos/legend-graph';
|
17
|
-
import { addUniqueEntry, deleteEntry, guaranteeNonNullable, } from '@finos/legend-shared';
|
18
|
-
import {
|
19
|
-
import { QUERY_BUILDER_PROPERTY_SEARCH_MAX_DEPTH, QUERY_BUILDER_PROPERTY_SEARCH_RESULTS_LIMIT, QUERY_BUILDER_PROPERTY_SEARCH_TYPE, } from '../QueryBuilderConfig.js';
|
16
|
+
import { Class, getAllOwnClassProperties, getAllClassProperties, getAllClassDerivedProperties, PrimitiveType, PRIMITIVE_TYPE, CORE_PURE_PATH, PURE_DOC_TAG, } from '@finos/legend-graph';
|
17
|
+
import { ActionState, addUniqueEntry, deleteEntry, guaranteeNonNullable, } from '@finos/legend-shared';
|
18
|
+
import { observable, computed, action, makeObservable, runInAction, } from 'mobx';
|
19
|
+
import { QUERY_BUILDER_PROPERTY_SEARCH_MAX_DEPTH, QUERY_BUILDER_PROPERTY_SEARCH_RESULTS_LIMIT, QUERY_BUILDER_PROPERTY_SEARCH_TYPE, QUERY_BUILDER_PROPERTY_SEARCH_MAX_NODES, } from '../QueryBuilderConfig.js';
|
20
20
|
import { getQueryBuilderPropertyNodeData, getQueryBuilderSubTypeNodeData, QueryBuilderExplorerTreePropertyNodeData, QueryBuilderExplorerTreeSubTypeNodeData, } from './QueryBuilderExplorerState.js';
|
21
|
+
import { Fuse } from '@finos/legend-art';
|
22
|
+
import { TextSearchAdvancedConfigState } from '@finos/legend-application';
|
21
23
|
export class QueryBuilderPropertySearchState {
|
22
24
|
queryBuilderState;
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
25
|
+
/**
|
26
|
+
* When we initialize property search engine, we practically extend
|
27
|
+
* the existing explorer by a few depth. As such, we create new explorer
|
28
|
+
* nodes which are not part of the main explorer tree. Together with the
|
29
|
+
* nodes already explored in the tree, these nodes are stored here to help
|
30
|
+
* searching. Think of this as the knowledge base of property search
|
31
|
+
*
|
32
|
+
* NOTE: a big reason why we want to store these as explorer tree nodes
|
33
|
+
* is that we could interact with the searched nodes, i.e. drag them to
|
34
|
+
* various panels to create filter, fetch-structure, etc.
|
35
|
+
*/
|
36
|
+
indexedExplorerTreeNodes = [];
|
37
|
+
// search
|
38
|
+
searchEngine;
|
39
|
+
searchConfigurationState;
|
40
|
+
searchState = ActionState.create();
|
41
|
+
searchText = '';
|
42
|
+
searchResults = [];
|
43
|
+
isOverSearchLimit = false;
|
27
44
|
isSearchPanelOpen = false;
|
28
45
|
isSearchPanelHidden = false;
|
29
|
-
|
30
|
-
|
31
|
-
typeFilters
|
46
|
+
showSearchConfigurationMenu = false;
|
47
|
+
// filter
|
48
|
+
typeFilters = [
|
49
|
+
QUERY_BUILDER_PROPERTY_SEARCH_TYPE.CLASS,
|
50
|
+
QUERY_BUILDER_PROPERTY_SEARCH_TYPE.STRING,
|
51
|
+
QUERY_BUILDER_PROPERTY_SEARCH_TYPE.BOOLEAN,
|
52
|
+
QUERY_BUILDER_PROPERTY_SEARCH_TYPE.NUMBER,
|
53
|
+
QUERY_BUILDER_PROPERTY_SEARCH_TYPE.DATE,
|
54
|
+
];
|
32
55
|
constructor(queryBuilderState) {
|
33
|
-
|
34
|
-
|
35
|
-
|
56
|
+
makeObservable(this, {
|
57
|
+
indexedExplorerTreeNodes: observable,
|
58
|
+
searchText: observable,
|
59
|
+
searchResults: observable,
|
60
|
+
isOverSearchLimit: observable,
|
36
61
|
isSearchPanelOpen: observable,
|
37
62
|
isSearchPanelHidden: observable,
|
38
|
-
|
39
|
-
|
63
|
+
showSearchConfigurationMenu: observable,
|
64
|
+
typeFilters: observable,
|
65
|
+
filteredSearchResults: computed,
|
66
|
+
search: action,
|
67
|
+
resetSearch: action,
|
40
68
|
setSearchText: action,
|
41
|
-
|
69
|
+
setShowSearchConfigurationMenu: action,
|
42
70
|
setIsSearchPanelOpen: action,
|
43
71
|
setIsSearchPanelHidden: action,
|
44
|
-
|
45
|
-
|
46
|
-
toggleTypeFilter: action,
|
72
|
+
toggleFilterForType: action,
|
73
|
+
initialize: action,
|
47
74
|
});
|
48
75
|
this.queryBuilderState = queryBuilderState;
|
49
|
-
this.
|
50
|
-
this.
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
76
|
+
this.searchConfigurationState = new TextSearchAdvancedConfigState(() => this.search());
|
77
|
+
this.searchEngine = new Fuse(this.indexedExplorerTreeNodes);
|
78
|
+
}
|
79
|
+
setIsSearchPanelOpen(val) {
|
80
|
+
this.isSearchPanelOpen = val;
|
81
|
+
}
|
82
|
+
setIsSearchPanelHidden(val) {
|
83
|
+
this.isSearchPanelHidden = val;
|
84
|
+
}
|
85
|
+
setShowSearchConfigurationMenu(val) {
|
86
|
+
this.showSearchConfigurationMenu = val;
|
57
87
|
}
|
58
|
-
|
88
|
+
setSearchText(val) {
|
89
|
+
this.searchText = val;
|
90
|
+
}
|
91
|
+
resetSearch() {
|
92
|
+
this.searchText = '';
|
93
|
+
this.searchResults = [];
|
94
|
+
this.searchState.complete();
|
95
|
+
}
|
96
|
+
toggleFilterForType(val) {
|
59
97
|
if (this.typeFilters.includes(val)) {
|
60
98
|
deleteEntry(this.typeFilters, val);
|
61
99
|
}
|
@@ -63,121 +101,70 @@ export class QueryBuilderPropertySearchState {
|
|
63
101
|
addUniqueEntry(this.typeFilters, val);
|
64
102
|
}
|
65
103
|
}
|
66
|
-
|
67
|
-
this.
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
}
|
93
|
-
|
94
|
-
stringPropertyNodes() {
|
95
|
-
return this.searchedMappedPropertyNodes.filter((node) => {
|
96
|
-
if (node.type instanceof PrimitiveType &&
|
97
|
-
node.type.name === PRIMITIVE_TYPE.STRING) {
|
98
|
-
return true;
|
99
|
-
}
|
100
|
-
return false;
|
101
|
-
});
|
102
|
-
}
|
103
|
-
numberPropertyNodes() {
|
104
|
-
return this.searchedMappedPropertyNodes.filter((node) => {
|
105
|
-
if (node.type instanceof PrimitiveType &&
|
106
|
-
(node.type.name === PRIMITIVE_TYPE.DECIMAL ||
|
107
|
-
node.type.name === PRIMITIVE_TYPE.NUMBER ||
|
108
|
-
node.type.name === PRIMITIVE_TYPE.INTEGER ||
|
109
|
-
node.type.name === PRIMITIVE_TYPE.FLOAT)) {
|
110
|
-
return true;
|
111
|
-
}
|
112
|
-
return false;
|
113
|
-
});
|
114
|
-
}
|
115
|
-
datePropertyNodes() {
|
116
|
-
return this.searchedMappedPropertyNodes.filter((node) => {
|
117
|
-
if (node.type instanceof PrimitiveType &&
|
118
|
-
(node.type.name === PRIMITIVE_TYPE.DATE ||
|
119
|
-
node.type.name === PRIMITIVE_TYPE.DATETIME ||
|
120
|
-
node.type.name === PRIMITIVE_TYPE.STRICTDATE ||
|
121
|
-
node.type.name === PRIMITIVE_TYPE.STRICTTIME ||
|
122
|
-
node.type.name === PRIMITIVE_TYPE.LATESTDATE)) {
|
123
|
-
return true;
|
124
|
-
}
|
125
|
-
return false;
|
126
|
-
});
|
127
|
-
}
|
128
|
-
booleanPropertyNodes() {
|
129
|
-
return this.searchedMappedPropertyNodes.filter((node) => {
|
130
|
-
if (node.type instanceof PrimitiveType &&
|
131
|
-
node.type.name === PRIMITIVE_TYPE.BOOLEAN) {
|
132
|
-
return true;
|
133
|
-
}
|
134
|
-
return false;
|
135
|
-
});
|
136
|
-
}
|
137
|
-
get filteredPropertyNodes() {
|
138
|
-
return this.searchedMappedPropertyNodes.filter((p) => {
|
139
|
-
if (!this.filterByMultiple &&
|
140
|
-
this.getMultiplePropertyNodes().includes(p)) {
|
141
|
-
return false;
|
142
|
-
}
|
143
|
-
if (!this.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.CLASS) &&
|
144
|
-
this.classPropertyNodes().includes(p)) {
|
145
|
-
return false;
|
146
|
-
}
|
147
|
-
if (!this.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.STRING) &&
|
148
|
-
this.stringPropertyNodes().includes(p)) {
|
149
|
-
return false;
|
150
|
-
}
|
151
|
-
if (!this.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.NUMBER) &&
|
152
|
-
this.numberPropertyNodes().includes(p)) {
|
153
|
-
return false;
|
154
|
-
}
|
155
|
-
if (!this.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.BOOLEAN) &&
|
156
|
-
this.booleanPropertyNodes().includes(p)) {
|
157
|
-
return false;
|
158
|
-
}
|
159
|
-
if (!this.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.DATE) &&
|
160
|
-
this.datePropertyNodes().includes(p)) {
|
161
|
-
return false;
|
162
|
-
}
|
163
|
-
return true;
|
164
|
-
});
|
104
|
+
search() {
|
105
|
+
if (!this.searchText) {
|
106
|
+
this.searchResults = [];
|
107
|
+
return;
|
108
|
+
}
|
109
|
+
this.searchState.inProgress();
|
110
|
+
// NOTE: performanced of fuzzy search is impacted by the number of indexed entries and the length
|
111
|
+
// of the search pattern, so to a certain extent this could become laggy. If this becomes too inconvenient
|
112
|
+
// for the users, we might need to use another fuzzy-search implementation, or have appropriate search
|
113
|
+
// policy, e.g. limit length of search text, etc.
|
114
|
+
//
|
115
|
+
// See https://github.com/farzher/fuzzysort
|
116
|
+
const searchResults = Array.from(this.searchEngine
|
117
|
+
.search(this.searchConfigurationState.generateSearchText(this.searchText.toLowerCase()), {
|
118
|
+
// NOTE: search for limit + 1 item so we can know if there are more search results
|
119
|
+
limit: QUERY_BUILDER_PROPERTY_SEARCH_RESULTS_LIMIT + 1,
|
120
|
+
})
|
121
|
+
.values()).map((result) => result.item);
|
122
|
+
// check if the search results exceed the limit
|
123
|
+
if (searchResults.length > QUERY_BUILDER_PROPERTY_SEARCH_RESULTS_LIMIT) {
|
124
|
+
this.isOverSearchLimit = true;
|
125
|
+
this.searchResults = searchResults.slice(0, QUERY_BUILDER_PROPERTY_SEARCH_RESULTS_LIMIT);
|
126
|
+
}
|
127
|
+
else {
|
128
|
+
this.isOverSearchLimit = false;
|
129
|
+
this.searchResults = searchResults;
|
130
|
+
}
|
131
|
+
this.searchState.complete();
|
165
132
|
}
|
166
|
-
|
167
|
-
|
133
|
+
/**
|
134
|
+
* From the current explorer tree, navigate breadth-first to find more mapped
|
135
|
+
* property nodes, then index these property nodes for searching.
|
136
|
+
*
|
137
|
+
* NOTE: fortunately, since we restrict the depth and number of nodes in this navigation
|
138
|
+
* this process is often not the performance bottleneck, else, we would need to make this
|
139
|
+
* asynchronous and block the UI while waiting.
|
140
|
+
*/
|
141
|
+
initialize() {
|
142
|
+
this.indexedExplorerTreeNodes = [];
|
168
143
|
let currentLevelPropertyNodes = [];
|
169
144
|
let nextLevelPropertyNodes = [];
|
170
|
-
Array.from(
|
145
|
+
Array.from(this.queryBuilderState.explorerState.nonNullableTreeData.nodes.values())
|
171
146
|
.slice(1)
|
172
147
|
.forEach((node) => {
|
173
148
|
if (node.mappingData.mapped && !node.isPartOfDerivedPropertyBranch) {
|
174
149
|
currentLevelPropertyNodes.push(node);
|
175
|
-
this.
|
150
|
+
this.indexedExplorerTreeNodes.push(node);
|
151
|
+
}
|
152
|
+
});
|
153
|
+
// ensure we don't navigate more nodes than the limit so we could
|
154
|
+
// keep the initialization/indexing time within acceptable range
|
155
|
+
const NODE_LIMIT = this.indexedExplorerTreeNodes.length +
|
156
|
+
QUERY_BUILDER_PROPERTY_SEARCH_MAX_NODES;
|
157
|
+
const addNode = (node) => runInAction(() => {
|
158
|
+
if (this.indexedExplorerTreeNodes.length > NODE_LIMIT) {
|
159
|
+
return;
|
176
160
|
}
|
161
|
+
this.indexedExplorerTreeNodes.push(node);
|
177
162
|
});
|
163
|
+
// limit the depth of navigation to keep the initialization/indexing
|
164
|
+
// time within acceptable range
|
178
165
|
let currentDepth = 1;
|
179
|
-
|
180
|
-
|
166
|
+
while (currentLevelPropertyNodes.length &&
|
167
|
+
currentDepth <= QUERY_BUILDER_PROPERTY_SEARCH_MAX_DEPTH) {
|
181
168
|
const node = currentLevelPropertyNodes.shift();
|
182
169
|
if (node) {
|
183
170
|
if (node.childrenIds.length) {
|
@@ -192,51 +179,106 @@ export class QueryBuilderPropertySearchState {
|
|
192
179
|
if (propertyTreeNodeData?.mappingData.mapped &&
|
193
180
|
!propertyTreeNodeData.isPartOfDerivedPropertyBranch) {
|
194
181
|
nextLevelPropertyNodes.push(propertyTreeNodeData);
|
195
|
-
|
182
|
+
addNode(propertyTreeNodeData);
|
196
183
|
}
|
197
184
|
});
|
198
185
|
node.type._subclasses.forEach((subclass) => {
|
199
186
|
const subTypeTreeNodeData = getQueryBuilderSubTypeNodeData(subclass, node, guaranteeNonNullable(this.queryBuilderState.explorerState
|
200
187
|
.mappingModelCoverageAnalysisResult));
|
201
188
|
nextLevelPropertyNodes.push(subTypeTreeNodeData);
|
202
|
-
|
189
|
+
addNode(subTypeTreeNodeData);
|
203
190
|
});
|
204
191
|
}
|
205
192
|
}
|
206
193
|
}
|
207
|
-
|
194
|
+
// when we done processing one depth, we will do check on the depth and the total
|
195
|
+
// number of indexed nodes to figureo ut if we should proceed further
|
196
|
+
if (!currentLevelPropertyNodes.length &&
|
197
|
+
this.indexedExplorerTreeNodes.length < NODE_LIMIT) {
|
208
198
|
currentLevelPropertyNodes = nextLevelPropertyNodes;
|
209
199
|
nextLevelPropertyNodes = [];
|
210
200
|
currentDepth++;
|
211
201
|
}
|
212
202
|
}
|
203
|
+
// indexing
|
204
|
+
this.searchEngine = new Fuse(this.indexedExplorerTreeNodes, {
|
205
|
+
includeScore: true,
|
206
|
+
shouldSort: true,
|
207
|
+
// Ignore location when computing the search score
|
208
|
+
// See https://fusejs.io/concepts/scoring-theory.html
|
209
|
+
ignoreLocation: true,
|
210
|
+
// This specifies the point the search gives up
|
211
|
+
// `0.0` means exact match where `1.0` would match anything
|
212
|
+
// We set a relatively low threshold to filter out irrelevant results
|
213
|
+
threshold: 0.2,
|
214
|
+
keys: [
|
215
|
+
{
|
216
|
+
name: 'label',
|
217
|
+
weight: 4,
|
218
|
+
},
|
219
|
+
{
|
220
|
+
name: 'taggedValues',
|
221
|
+
weight: 2,
|
222
|
+
// aggregate the property documentation, do not account for class documentation
|
223
|
+
getFn: (node) => node instanceof QueryBuilderExplorerTreePropertyNodeData
|
224
|
+
? node.property.taggedValues
|
225
|
+
.filter((taggedValue) => taggedValue.tag.ownerReference.value.path ===
|
226
|
+
CORE_PURE_PATH.PROFILE_DOC &&
|
227
|
+
taggedValue.tag.value.value === PURE_DOC_TAG)
|
228
|
+
.map((taggedValue) => taggedValue.value)
|
229
|
+
.join('\n')
|
230
|
+
: '',
|
231
|
+
},
|
232
|
+
],
|
233
|
+
// extended search allows for exact word match through single quote
|
234
|
+
// See https://fusejs.io/examples.html#extended-search
|
235
|
+
useExtendedSearch: true,
|
236
|
+
});
|
213
237
|
}
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
if (this.searchedMappedPropertyNodes.length >
|
220
|
-
QUERY_BUILDER_PROPERTY_SEARCH_RESULTS_LIMIT) {
|
221
|
-
break;
|
238
|
+
get filteredSearchResults() {
|
239
|
+
return this.searchResults.filter((node) => {
|
240
|
+
if (this.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.CLASS)) {
|
241
|
+
if (node.type instanceof Class) {
|
242
|
+
return true;
|
222
243
|
}
|
223
244
|
}
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
245
|
+
if (this.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.STRING)) {
|
246
|
+
if (node.type instanceof PrimitiveType &&
|
247
|
+
node.type.name === PRIMITIVE_TYPE.STRING) {
|
248
|
+
return true;
|
249
|
+
}
|
250
|
+
}
|
251
|
+
if (this.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.NUMBER)) {
|
252
|
+
if (node.type instanceof PrimitiveType &&
|
253
|
+
[
|
254
|
+
PRIMITIVE_TYPE.NUMBER,
|
255
|
+
PRIMITIVE_TYPE.DECIMAL,
|
256
|
+
PRIMITIVE_TYPE.INTEGER,
|
257
|
+
PRIMITIVE_TYPE.FLOAT,
|
258
|
+
].includes(node.type.name)) {
|
259
|
+
return true;
|
260
|
+
}
|
261
|
+
}
|
262
|
+
if (this.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.BOOLEAN)) {
|
263
|
+
if (node.type instanceof PrimitiveType &&
|
264
|
+
node.type.name === PRIMITIVE_TYPE.BOOLEAN) {
|
265
|
+
return true;
|
266
|
+
}
|
267
|
+
}
|
268
|
+
if (this.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.DATE)) {
|
269
|
+
if (node.type instanceof PrimitiveType &&
|
270
|
+
[
|
271
|
+
PRIMITIVE_TYPE.DATE,
|
272
|
+
PRIMITIVE_TYPE.DATETIME,
|
273
|
+
PRIMITIVE_TYPE.STRICTDATE,
|
274
|
+
PRIMITIVE_TYPE.STRICTTIME,
|
275
|
+
PRIMITIVE_TYPE.LATESTDATE,
|
276
|
+
].includes(node.type.name)) {
|
277
|
+
return true;
|
278
|
+
}
|
279
|
+
}
|
280
|
+
return false;
|
281
|
+
});
|
240
282
|
}
|
241
283
|
}
|
242
284
|
//# sourceMappingURL=QueryBuilderPropertySearchState.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPropertySearchState.js","sourceRoot":"","sources":["../../../src/stores/explorer/QueryBuilderPropertySearchState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,EACL,wBAAwB,EACxB,qBAAqB,EACrB,4BAA4B,EAC5B,aAAa,EACb,cAAc,
|
1
|
+
{"version":3,"file":"QueryBuilderPropertySearchState.js","sourceRoot":"","sources":["../../../src/stores/explorer/QueryBuilderPropertySearchState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,KAAK,EACL,w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AAC,IAAI,YAAY,aAAa;oBAClC,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,cAAc,CAAC,MAAM,EACxC;oBACA,OAAO,IAAI,CAAC;iBACb;aACF;YACD,IACE,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,kCAAkC,CAAC,MAAM,CAAC,EACpE;gBACA,IACE,IAAI,CAAC,IAAI,YAAY,aAAa;oBAEhC;wBACE,cAAc,CAAC,MAAM;wBACrB,cAAc,CAAC,OAAO;wBACtB,cAAc,CAAC,OAAO;wBACtB,cAAc,CAAC,KAAK;qBAEvB,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,EAC1B;oBACA,OAAO,IAAI,CAAC;iBACb;aACF;YACD,IACE,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,kCAAkC,CAAC,OAAO,CAAC,EACrE;gBACA,IACE,IAAI,CAAC,IAAI,YAAY,aAAa;oBAClC,IAAI,CAAC,IAAI,CAAC,IAAI,KAAK,cAAc,CAAC,OAAO,EACzC;oBACA,OAAO,IAAI,CAAC;iBACb;aACF;YACD,IAAI,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,kCAAkC,CAAC,IAAI,CAAC,EAAE;gBACtE,IACE,IAAI,CAAC,IAAI,YAAY,aAAa;oBAEhC;wBACE,cAAc,CAAC,IAAI;wBACnB,cAAc,CAAC,QAAQ;wBACvB,cAAc,CAAC,UAAU;wBACzB,cAAc,CAAC,UAAU;wBACzB,cAAc,CAAC,UAAU;qBAE5B,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,EAC1B;oBACA,OAAO,IAAI,CAAC;iBACb;aACF;YACD,OAAO,KAAK,CAAC;QACf,CAAC,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -14,6 +14,7 @@
|
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
16
|
import type { Class, CompilationError, LambdaFunction } from '@finos/legend-graph';
|
17
|
+
import type { Hashable } from '@finos/legend-shared';
|
17
18
|
import type { QueryBuilderExplorerTreePropertyNodeData } from '../explorer/QueryBuilderExplorerState.js';
|
18
19
|
import type { QueryBuilderState } from '../QueryBuilderState.js';
|
19
20
|
import type { LambdaFunctionBuilderOption } from '../QueryBuilderValueSpecificationBuilderHelper.js';
|
@@ -22,9 +23,9 @@ export declare enum FETCH_STRUCTURE_IMPLEMENTATION {
|
|
22
23
|
PROJECTION = "PROJECTION",
|
23
24
|
GRAPH_FETCH = "GRAPH_FETCH"
|
24
25
|
}
|
25
|
-
export declare abstract class QueryBuilderFetchStructureImplementationState {
|
26
|
-
queryBuilderState: QueryBuilderState;
|
27
|
-
fetchStructureState: QueryBuilderFetchStructureState;
|
26
|
+
export declare abstract class QueryBuilderFetchStructureImplementationState implements Hashable {
|
27
|
+
readonly queryBuilderState: QueryBuilderState;
|
28
|
+
readonly fetchStructureState: QueryBuilderFetchStructureState;
|
28
29
|
constructor(queryBuilderState: QueryBuilderState, fetchStructureState: QueryBuilderFetchStructureState);
|
29
30
|
abstract get type(): string;
|
30
31
|
abstract get usedExplorerTreePropertyNodeIDs(): string[];
|
@@ -36,5 +37,6 @@ export declare abstract class QueryBuilderFetchStructureImplementationState {
|
|
36
37
|
abstract fetchProperties(nodes: QueryBuilderExplorerTreePropertyNodeData[]): void;
|
37
38
|
abstract checkBeforeChangingImplementation(onChange: () => void): void;
|
38
39
|
abstract appendFetchStructure(lambdaFunction: LambdaFunction, options?: LambdaFunctionBuilderOption): void;
|
40
|
+
abstract get hashCode(): string;
|
39
41
|
}
|
40
42
|
//# sourceMappingURL=QueryBuilderFetchStructureImplementationState.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderFetchStructureImplementationState.d.ts","sourceRoot":"","sources":["../../../src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EACV,KAAK,EACL,gBAAgB,EAChB,cAAc,EACf,MAAM,qBAAqB,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilderFetchStructureImplementationState.d.ts","sourceRoot":"","sources":["../../../src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EACV,KAAK,EACL,gBAAgB,EAChB,cAAc,EACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAErD,OAAO,KAAK,EAAE,wCAAwC,EAAE,MAAM,0CAA0C,CAAC;AACzG,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,mDAAmD,CAAC;AACrG,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AAE5F,oBAAY,8BAA8B;IACxC,UAAU,eAAe;IACzB,WAAW,gBAAgB;CAC5B;AAED,8BAAsB,6CACpB,YAAW,QAAQ;IAEnB,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAC9C,QAAQ,CAAC,mBAAmB,EAAE,+BAA+B,CAAC;gBAG5D,iBAAiB,EAAE,iBAAiB,EACpC,mBAAmB,EAAE,+BAA+B;IAYtD,QAAQ,KAAK,IAAI,IAAI,MAAM,CAAC;IAC5B,QAAQ,KAAK,+BAA+B,IAAI,MAAM,EAAE,CAAC;IACzD,QAAQ,KAAK,gBAAgB,IAAI,MAAM,EAAE,GAAG,SAAS,CAAC;IACtD,QAAQ,CAAC,aAAa,CAAC,MAAM,EAAE,KAAK,GAAG,SAAS,GAAG,IAAI;IACvD,QAAQ,CAAC,sBAAsB,CAAC,gBAAgB,EAAE,gBAAgB,GAAG,OAAO;IAC5E,QAAQ,CAAC,qBAAqB,IAAI,IAAI;IACtC,QAAQ,CAAC,aAAa,CAAC,IAAI,EAAE,wCAAwC,GAAG,IAAI;IAC5E,QAAQ,CAAC,eAAe,CACtB,KAAK,EAAE,wCAAwC,EAAE,GAChD,IAAI;IACP,QAAQ,CAAC,iCAAiC,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,IAAI;IACtE,QAAQ,CAAC,oBAAoB,CAC3B,cAAc,EAAE,cAAc,EAC9B,OAAO,CAAC,EAAE,2BAA2B,GACpC,IAAI;IACP,QAAQ,KAAK,QAAQ,IAAI,MAAM,CAAC;CACjC"}
|
@@ -26,6 +26,7 @@ export class QueryBuilderFetchStructureImplementationState {
|
|
26
26
|
makeObservable(this, {
|
27
27
|
usedExplorerTreePropertyNodeIDs: computed,
|
28
28
|
validationIssues: computed,
|
29
|
+
hashCode: computed,
|
29
30
|
});
|
30
31
|
this.queryBuilderState = queryBuilderState;
|
31
32
|
this.fetchStructureState = fetchStructureState;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderFetchStructureImplementationState.js","sourceRoot":"","sources":["../../../src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
1
|
+
{"version":3,"file":"QueryBuilderFetchStructureImplementationState.js","sourceRoot":"","sources":["../../../src/stores/fetch-structure/QueryBuilderFetchStructureImplementationState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAQH,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AAMhD,MAAM,CAAN,IAAY,8BAGX;AAHD,WAAY,8BAA8B;IACxC,2DAAyB,CAAA;IACzB,6DAA2B,CAAA;AAC7B,CAAC,EAHW,8BAA8B,GAA9B,8BAA8B,KAA9B,8BAA8B,QAGzC;AAED,MAAM,OAAgB,6CAA6C;IAGxD,iBAAiB,CAAoB;IACrC,mBAAmB,CAAkC;IAE9D,YACE,iBAAoC,EACpC,mBAAoD;QAEpD,cAAc,CAAC,IAAI,EAAE;YACnB,+BAA+B,EAAE,QAAQ;YACzC,gBAAgB,EAAE,QAAQ;YAC1B,QAAQ,EAAE,QAAQ;SACnB,CAAC,CAAC;QAEH,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;QAC3C,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;IACjD,CAAC;CAkBF"}
|
@@ -17,7 +17,7 @@ import type { QueryBuilderState } from '../QueryBuilderState.js';
|
|
17
17
|
import { type QueryBuilderExplorerTreeNodeData } from '../explorer/QueryBuilderExplorerState.js';
|
18
18
|
import { type QueryBuilderFetchStructureImplementationState } from './QueryBuilderFetchStructureImplementationState.js';
|
19
19
|
export declare class QueryBuilderFetchStructureState {
|
20
|
-
queryBuilderState: QueryBuilderState;
|
20
|
+
readonly queryBuilderState: QueryBuilderState;
|
21
21
|
implementation: QueryBuilderFetchStructureImplementationState;
|
22
22
|
constructor(queryBuilderState: QueryBuilderState);
|
23
23
|
changeImplementation(type: string): void;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderFetchStructureState.d.ts","sourceRoot":"","sources":["../../../src/stores/fetch-structure/QueryBuilderFetchStructureState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAGjE,OAAO,EACL,KAAK,gCAAgC,EAEtC,MAAM,0CAA0C,CAAC;AAGlD,OAAO,EAEL,KAAK,6CAA6C,EACnD,MAAM,oDAAoD,CAAC;AAE5D,qBAAa,+BAA+B;IAC1C,iBAAiB,EAAE,iBAAiB,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilderFetchStructureState.d.ts","sourceRoot":"","sources":["../../../src/stores/fetch-structure/QueryBuilderFetchStructureState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAGH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAGjE,OAAO,EACL,KAAK,gCAAgC,EAEtC,MAAM,0CAA0C,CAAC;AAGlD,OAAO,EAEL,KAAK,6CAA6C,EACnD,MAAM,oDAAoD,CAAC;AAE5D,qBAAa,+BAA+B;IAC1C,QAAQ,CAAC,iBAAiB,EAAE,iBAAiB,CAAC;IAC9C,cAAc,EAAE,6CAA6C,CAAC;gBAElD,iBAAiB,EAAE,iBAAiB;IAmBhD,oBAAoB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAuBxC,aAAa,CAAC,IAAI,EAAE,gCAAgC,GAAG,IAAI;IAS3D,2BAA2B,CAAC,IAAI,EAAE,gCAAgC,GAAG,IAAI;CAoB1E"}
|
@@ -13,7 +13,7 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { action,
|
16
|
+
import { action, makeObservable, observable } from 'mobx';
|
17
17
|
import { QueryBuilderGraphFetchTreeState } from './graph-fetch/QueryBuilderGraphFetchTreeState.js';
|
18
18
|
import { QueryBuilderProjectionState } from './projection/QueryBuilderProjectionState.js';
|
19
19
|
import { QueryBuilderExplorerTreePropertyNodeData, } from '../explorer/QueryBuilderExplorerState.js';
|
@@ -24,8 +24,8 @@ export class QueryBuilderFetchStructureState {
|
|
24
24
|
queryBuilderState;
|
25
25
|
implementation;
|
26
26
|
constructor(queryBuilderState) {
|
27
|
-
|
28
|
-
|
27
|
+
makeObservable(this, {
|
28
|
+
implementation: observable,
|
29
29
|
changeImplementation: action,
|
30
30
|
});
|
31
31
|
this.queryBuilderState = queryBuilderState;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderFetchStructureState.js","sourceRoot":"","sources":["../../../src/stores/fetch-structure/QueryBuilderFetchStructureState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,
|
1
|
+
{"version":3,"file":"QueryBuilderFetchStructureState.js","sourceRoot":"","sources":["../../../src/stores/fetch-structure/QueryBuilderFetchStructureState.ts"],"names":[],"mapp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AC;SACL;IACH,CAAC;IAED,aAAa,CAAC,IAAsC;QAClD,IACE,IAAI,YAAY,wCAAwC;YACxD,CAAC,CAAC,IAAI,CAAC,IAAI,YAAY,KAAK,CAAC,EAC7B;YACA,IAAI,CAAC,cAAc,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC;SACzC;IACH,CAAC;IAED,2BAA2B,CAAC,IAAsC;QAChE,IAAI,IAAI,CAAC,IAAI,YAAY,KAAK,EAAE;YAC9B,IAAI,CAAC,cAAc,CAAC,eAAe;YACjC,2FAA2F;YAC3F,iFAAiF;YACjF,IAAI,CAAC,WAAW;iBACb,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CACf,IAAI,CAAC,iBAAiB,CAAC,aAAa,CAAC,mBAAmB,CAAC,KAAK,CAAC,GAAG,CAChE,OAAO,CACR,CACF;iBACA,MAAM,CAAC,YAAY,CAAC,wCAAwC,CAAC,CAAC;iBAC9D,MAAM,CACL,CAAC,SAAS,EAAE,EAAE,CACZ,CAAC,CAAC,SAAS,CAAC,IAAI,YAAY,KAAK,CAAC;gBAClC,SAAS,CAAC,WAAW,CAAC,MAAM,CAC/B,CACJ,CAAC;SACH;IACH,CAAC;CACF"}
|
@@ -20,7 +20,8 @@ import { type QueryBuilderExplorerTreePropertyNodeData } from '../../explorer/Qu
|
|
20
20
|
import { QueryBuilderFetchStructureImplementationState } from '../QueryBuilderFetchStructureImplementationState.js';
|
21
21
|
import type { QueryBuilderFetchStructureState } from '../QueryBuilderFetchStructureState.js';
|
22
22
|
import type { LambdaFunctionBuilderOption } from '../../QueryBuilderValueSpecificationBuilderHelper.js';
|
23
|
-
|
23
|
+
import { type Hashable } from '@finos/legend-shared';
|
24
|
+
export declare class QueryBuilderGraphFetchTreeState extends QueryBuilderFetchStructureImplementationState implements Hashable {
|
24
25
|
treeData?: QueryBuilderGraphFetchTreeData | undefined;
|
25
26
|
/**
|
26
27
|
* If set to `true` we will use `graphFetchChecked` function instead of `graphFetch`.
|
@@ -45,5 +46,6 @@ export declare class QueryBuilderGraphFetchTreeState extends QueryBuilderFetchSt
|
|
45
46
|
fetchProperty(node: QueryBuilderExplorerTreePropertyNodeData): void;
|
46
47
|
fetchProperties(nodes: QueryBuilderExplorerTreePropertyNodeData[]): void;
|
47
48
|
checkBeforeChangingImplementation(onChange: () => void): void;
|
49
|
+
get hashCode(): string;
|
48
50
|
}
|
49
51
|
//# sourceMappingURL=QueryBuilderGraphFetchTreeState.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderGraphFetchTreeState.d.ts","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAEpE,OAAO,EACL,KAAK,gBAAgB,EAGrB,KAAK,KAAK,EACV,KAAK,cAAc,EAEpB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,8BAA8B,EAGpC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EAGL,KAAK,wCAAwC,EAC9C,MAAM,6CAA6C,CAAC;AACrD,OAAO,EAEL,6CAA6C,EAC9C,MAAM,qDAAqD,CAAC;AAC7D,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,uCAAuC,CAAC;AAK7F,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,sDAAsD,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilderGraphFetchTreeState.d.ts","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAEpE,OAAO,EACL,KAAK,gBAAgB,EAGrB,KAAK,KAAK,EACV,KAAK,cAAc,EAEpB,MAAM,qBAAqB,CAA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