@finos/legend-query-builder 2.1.6 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/__lib__/QueryBuilderDocumentation.d.ts.map +1 -0
- package/lib/__lib__/QueryBuilderDocumentation.js.map +1 -0
- package/lib/__lib__/QueryBuilderEvent.d.ts.map +1 -0
- package/lib/__lib__/QueryBuilderEvent.js.map +1 -0
- package/lib/__lib__/QueryBuilderSetting.d.ts.map +1 -0
- package/lib/__lib__/QueryBuilderSetting.js.map +1 -0
- package/lib/__lib__/QueryBuilderTelemetryHelper.d.ts.map +1 -0
- package/lib/__lib__/QueryBuilderTelemetryHelper.js.map +1 -0
- package/lib/__lib__/QueryBuilderTesting.d.ts.map +1 -0
- package/lib/__lib__/QueryBuilderTesting.js.map +1 -0
- package/lib/{components/shared/ElementIconUtils.d.ts → __test__.d.ts} +2 -3
- package/lib/__test__.d.ts.map +1 -0
- package/lib/__test__.js +17 -0
- package/lib/__test__.js.map +1 -0
- package/lib/components/QueryBuilder.js +3 -3
- package/lib/components/QueryBuilder.js.map +1 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.js +3 -4
- package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -1
- package/lib/components/QueryBuilderDiffPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderDiffPanel.js +7 -51
- package/lib/components/QueryBuilderDiffPanel.js.map +1 -1
- package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderParametersPanel.js +4 -4
- package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
- package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderResultPanel.js +16 -16
- package/lib/components/QueryBuilderResultPanel.js.map +1 -1
- package/lib/components/QueryBuilderSideBar.d.ts +1 -2
- package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
- package/lib/components/QueryBuilderSideBar.js +3 -5
- package/lib/components/QueryBuilderSideBar.js.map +1 -1
- package/lib/components/QueryBuilderTextEditor.js +2 -2
- package/lib/components/QueryBuilderTextEditor.js.map +1 -1
- package/lib/components/QueryBuilderUnsupportedQueryEditor.js +2 -2
- package/lib/components/QueryBuilderUnsupportedQueryEditor.js.map +1 -1
- package/lib/components/QueryBuilder_LegendApplicationPlugin.js +1 -1
- package/lib/components/QueryBuilder_LegendApplicationPlugin.js.map +1 -1
- package/lib/components/{QueryBuilderComponentTestUtils.d.ts → __test-utils__/QueryBuilderComponentTestUtils.d.ts} +1 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.d.ts.map +1 -0
- package/lib/components/{QueryBuilderComponentTestUtils.js → __test-utils__/QueryBuilderComponentTestUtils.js} +17 -15
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js.map +1 -0
- package/lib/components/execution-plan/ExecutionPlanViewer.d.ts.map +1 -1
- package/lib/components/execution-plan/ExecutionPlanViewer.js +3 -3
- package/lib/components/execution-plan/ExecutionPlanViewer.js.map +1 -1
- package/lib/components/execution-plan/SQLExecutionNodeViewer.d.ts.map +1 -1
- package/lib/components/execution-plan/SQLExecutionNodeViewer.js +1 -2
- package/lib/components/execution-plan/SQLExecutionNodeViewer.js.map +1 -1
- package/lib/components/explorer/QueryBuilderExplorerPanel.js +2 -2
- package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js +2 -2
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts +12 -2
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js +147 -22
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
- package/lib/components/shared/BasicValueSpecificationEditor.js +1 -1
- package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
- package/lib/components/shared/CustomDatePicker.d.ts.map +1 -1
- package/lib/components/shared/CustomDatePicker.js +39 -37
- package/lib/components/shared/CustomDatePicker.js.map +1 -1
- package/lib/components/shared/LambdaEditor.d.ts.map +1 -1
- package/lib/components/shared/LambdaEditor.js +9 -7
- package/lib/components/shared/LambdaEditor.js.map +1 -1
- package/lib/components/workflows/ClassQueryBuilder.d.ts.map +1 -1
- package/lib/components/workflows/ClassQueryBuilder.js +2 -3
- package/lib/components/workflows/ClassQueryBuilder.js.map +1 -1
- package/lib/components/workflows/MappingQueryBuilder.d.ts.map +1 -1
- package/lib/components/workflows/MappingQueryBuilder.js +2 -3
- package/lib/components/workflows/MappingQueryBuilder.js.map +1 -1
- package/lib/components/workflows/ServiceQueryBuilder.d.ts.map +1 -1
- package/lib/components/workflows/ServiceQueryBuilder.js +2 -1
- package/lib/components/workflows/ServiceQueryBuilder.js.map +1 -1
- package/lib/{graphManager/QueryBuilderSupportedFunctions.d.ts → graph/QueryBuilderMetaModelConst.d.ts} +22 -1
- package/lib/graph/QueryBuilderMetaModelConst.d.ts.map +1 -0
- package/lib/{graphManager/QueryBuilderSupportedFunctions.js → graph/QueryBuilderMetaModelConst.js} +27 -1
- package/lib/graph/QueryBuilderMetaModelConst.js.map +1 -0
- package/lib/graph-manager/QueryBuilder_GraphManagerPreset.d.ts.map +1 -0
- package/lib/{graphManager → graph-manager}/QueryBuilder_GraphManagerPreset.js +1 -1
- package/lib/graph-manager/QueryBuilder_GraphManagerPreset.js.map +1 -0
- package/lib/{graphManager/QueryBuilder_GraphManagerPlugin.d.ts → graph-manager/QueryBuilder_PureGraphManagerPlugin.d.ts} +2 -1
- package/lib/graph-manager/QueryBuilder_PureGraphManagerPlugin.d.ts.map +1 -0
- package/lib/{graphManager/QueryBuilder_GraphManagerPlugin.js → graph-manager/QueryBuilder_PureGraphManagerPlugin.js} +9 -1
- package/lib/graph-manager/QueryBuilder_PureGraphManagerPlugin.js.map +1 -0
- package/lib/graph-manager/action/analytics/MappingRuntimeCompatibilityAnalysis.d.ts.map +1 -0
- package/lib/graph-manager/action/analytics/MappingRuntimeCompatibilityAnalysis.js.map +1 -0
- package/lib/graph-manager/action/analytics/ServiceExecutionAnalysis.d.ts.map +1 -0
- package/lib/graph-manager/action/analytics/ServiceExecutionAnalysis.js.map +1 -0
- package/lib/graph-manager/protocol/pure/QueryBuilder_PureGraphManagerExtension.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/QueryBuilder_PureGraphManagerExtension.js.map +1 -0
- package/lib/graph-manager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.d.ts.map +1 -0
- package/lib/graph-manager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.js.map +1 -0
- package/lib/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts.map +1 -0
- package/lib/{graphManager → graph-manager}/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js +26 -2
- package/lib/graph-manager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts.map +1 -0
- package/lib/{graphManager → graph-manager}/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js +2 -2
- package/lib/graph-manager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js.map +1 -0
- package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts.map +1 -0
- package/lib/{graphManager → graph-manager}/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js +5 -5
- package/lib/graph-manager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js.map +1 -0
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +10 -11
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +8 -9
- package/lib/index.js.map +1 -1
- package/lib/package.json +3 -2
- package/lib/stores/QueryBuilderConstantsState.js +3 -3
- package/lib/stores/QueryBuilderConstantsState.js.map +1 -1
- package/lib/stores/QueryBuilderGroupOperationHelper.js +1 -1
- package/lib/stores/QueryBuilderGroupOperationHelper.js.map +1 -1
- package/lib/stores/QueryBuilderParametersState.js +2 -2
- package/lib/stores/QueryBuilderParametersState.js.map +1 -1
- package/lib/stores/QueryBuilderPropertyEditorState.js +3 -3
- package/lib/stores/QueryBuilderPropertyEditorState.js.map +1 -1
- package/lib/stores/QueryBuilderResultState.js +4 -4
- package/lib/stores/QueryBuilderResultState.js.map +1 -1
- package/lib/stores/QueryBuilderState.js +2 -2
- package/lib/stores/QueryBuilderState.js.map +1 -1
- package/lib/stores/QueryBuilderStateBuilder.js +1 -1
- package/lib/stores/QueryBuilderStateBuilder.js.map +1 -1
- package/lib/{graphManager/QueryBuilderHashUtils.d.ts → stores/QueryBuilderStateHashUtils.d.ts} +2 -2
- package/lib/stores/QueryBuilderStateHashUtils.d.ts.map +1 -0
- package/lib/stores/QueryBuilderStateHashUtils.js +111 -0
- package/lib/stores/QueryBuilderStateHashUtils.js.map +1 -0
- package/lib/stores/QueryBuilderTextEditorState.js +2 -2
- package/lib/stores/QueryBuilderTextEditorState.js.map +1 -1
- package/lib/stores/QueryBuilderUnsupportedQueryState.js +2 -2
- package/lib/stores/QueryBuilderUnsupportedQueryState.js.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilder.js +1 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js +1 -1
- package/lib/stores/QueryBuilderValueSpecificationBuilderHelper.js.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.js +1 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -1
- package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.d.ts +39 -0
- package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.d.ts.map +1 -0
- package/lib/stores/{QueryBuilderStateTestUtils.js → __test-utils__/QueryBuilderStateTestUtils.js} +54 -6
- package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.js.map +1 -0
- package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.js +2 -2
- package/lib/stores/entitlements/QueryBuilderCheckEntitlementsState.js.map +1 -1
- package/lib/stores/explorer/QueryBuilderExplorerState.js +1 -1
- package/lib/stores/explorer/QueryBuilderExplorerState.js.map +1 -1
- package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts +1 -2
- package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts.map +1 -1
- package/lib/stores/explorer/QueryBuilderPropertySearchState.js +1 -2
- package/lib/stores/explorer/QueryBuilderPropertySearchState.js.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts +3 -0
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +21 -3
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.d.ts.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js +4 -4
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js +2 -2
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.js +14 -14
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.js +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSHelper.js.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +4 -4
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryResultSetModifierState.js +3 -3
- package/lib/stores/fetch-structure/tds/QueryResultSetModifierState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js +3 -3
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.js +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.js +5 -3
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.js +5 -3
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js +3 -3
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Distinct.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js +3 -3
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js +3 -3
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Max.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Max.js +5 -3
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Max.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Min.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Min.js +5 -3
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Min.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js +3 -3
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js +3 -3
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Sum.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Sum.js +5 -3
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Sum.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js +6 -6
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.js +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.js +3 -2
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js +4 -4
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js +4 -4
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js +9 -7
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js +6 -6
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js +6 -6
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js +6 -4
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js +3 -3
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js +6 -6
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js +6 -6
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.js.map +1 -1
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js +4 -4
- package/lib/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.js.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js +3 -3
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.js +6 -6
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowStateBuilder.js +1 -1
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowStateBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowValueSpecificationBuilder.js +1 -1
- package/lib/stores/fetch-structure/tds/window/QueryBuilderWindowValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Average.js +3 -3
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Average.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Count.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Count.js +5 -3
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Count.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Max.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Max.js +5 -3
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Max.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Min.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Min.js +5 -3
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Min.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Sum.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Sum.js +5 -3
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Sum.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_AverageRank.js +3 -3
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_AverageRank.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_DenseRank.js +3 -3
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_DenseRank.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_Rank.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_Rank.js +5 -3
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_Rank.js.map +1 -1
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_RowNumber.js +3 -3
- package/lib/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_RowNumber.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.js +6 -6
- package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.js +1 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js +1 -1
- package/lib/stores/filter/QueryBuilderFilterValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.js +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js +6 -4
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Contain.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js +6 -4
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_EndWith.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js +11 -7
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_Equal.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js +6 -6
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js +6 -6
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js +6 -4
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_In.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js +6 -4
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js +8 -6
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThan.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js +6 -6
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.js.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.d.ts.map +1 -1
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js +6 -4
- package/lib/stores/filter/operators/QueryBuilderFilterOperator_StartWith.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningState.js +2 -2
- package/lib/stores/milestoning/QueryBuilderMilestoningState.js.map +1 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts +2 -2
- package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts.map +1 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.js +4 -3
- package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
- package/lib/stores/watermark/QueryBuilderWatermarkState.js +2 -2
- package/lib/stores/watermark/QueryBuilderWatermarkState.js.map +1 -1
- package/lib/stores/watermark/QueryBuilderWatermarkStateBuilder.js +1 -1
- package/lib/stores/watermark/QueryBuilderWatermarkStateBuilder.js.map +1 -1
- package/lib/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.js +1 -1
- package/lib/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.js.map +1 -1
- package/package.json +11 -10
- package/src/__test__.ts +17 -0
- package/src/components/QueryBuilder.tsx +3 -3
- package/src/components/QueryBuilderConstantExpressionPanel.tsx +4 -5
- package/src/components/QueryBuilderDiffPanel.tsx +10 -80
- package/src/components/QueryBuilderParametersPanel.tsx +8 -9
- package/src/components/QueryBuilderResultPanel.tsx +24 -19
- package/src/components/QueryBuilderSideBar.tsx +5 -10
- package/src/components/QueryBuilderTextEditor.tsx +4 -4
- package/src/components/QueryBuilderUnsupportedQueryEditor.tsx +2 -2
- package/src/components/QueryBuilder_LegendApplicationPlugin.ts +1 -1
- package/src/components/{QueryBuilderComponentTestUtils.tsx → __test-utils__/QueryBuilderComponentTestUtils.tsx} +29 -34
- package/src/components/execution-plan/ExecutionPlanViewer.tsx +6 -3
- package/src/components/execution-plan/SQLExecutionNodeViewer.tsx +4 -2
- package/src/components/explorer/QueryBuilderExplorerPanel.tsx +2 -2
- package/src/components/explorer/QueryBuilderPropertySearchPanel.tsx +2 -2
- package/src/components/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx +388 -65
- package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +1 -1
- package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +1 -1
- package/src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx +1 -1
- package/src/components/filter/QueryBuilderFilterPanel.tsx +1 -1
- package/src/components/shared/BasicValueSpecificationEditor.tsx +1 -1
- package/src/components/shared/CustomDatePicker.tsx +54 -41
- package/src/components/shared/LambdaEditor.tsx +10 -8
- package/src/components/workflows/ClassQueryBuilder.tsx +6 -8
- package/src/components/workflows/MappingQueryBuilder.tsx +6 -8
- package/src/components/workflows/ServiceQueryBuilder.tsx +5 -5
- package/src/{graphManager/QueryBuilderSupportedFunctions.ts → graph/QueryBuilderMetaModelConst.ts} +29 -0
- package/src/{graphManager → graph-manager}/QueryBuilder_GraphManagerPreset.ts +1 -1
- package/src/{graphManager/QueryBuilder_GraphManagerPlugin.ts → graph-manager/QueryBuilder_PureGraphManagerPlugin.ts} +9 -0
- package/src/{graphManager → graph-manager}/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.ts +55 -1
- package/src/{graphManager → graph-manager}/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.ts +2 -2
- package/src/{graphManager → graph-manager}/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.ts +13 -5
- package/src/index.ts +13 -11
- package/src/stores/QueryBuilderConstantsState.ts +3 -3
- package/src/stores/QueryBuilderGroupOperationHelper.ts +1 -1
- package/src/stores/QueryBuilderParametersState.ts +2 -2
- package/src/stores/QueryBuilderPropertyEditorState.ts +3 -3
- package/src/stores/QueryBuilderResultState.ts +4 -4
- package/src/stores/QueryBuilderState.ts +2 -2
- package/src/stores/QueryBuilderStateBuilder.ts +1 -1
- package/src/{graphManager/QueryBuilderHashUtils.ts → stores/QueryBuilderStateHashUtils.ts} +1 -1
- package/src/stores/QueryBuilderTextEditorState.ts +2 -2
- package/src/stores/QueryBuilderUnsupportedQueryState.ts +2 -2
- package/src/stores/QueryBuilderValueSpecificationBuilder.ts +1 -1
- package/src/stores/QueryBuilderValueSpecificationBuilderHelper.ts +1 -1
- package/src/stores/QueryBuilderValueSpecificationHelper.ts +1 -1
- package/src/stores/{QueryBuilderStateTestUtils.ts → __test-utils__/QueryBuilderStateTestUtils.ts} +80 -8
- package/src/stores/entitlements/QueryBuilderCheckEntitlementsState.ts +2 -2
- package/src/stores/explorer/QueryBuilderExplorerState.ts +1 -1
- package/src/stores/explorer/QueryBuilderPropertySearchState.ts +1 -1
- package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +36 -2
- package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.ts +7 -5
- package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.ts +2 -2
- package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.ts +16 -14
- package/src/stores/fetch-structure/tds/QueryBuilderTDSHelper.ts +1 -1
- package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +4 -4
- package/src/stores/fetch-structure/tds/QueryResultSetModifierState.ts +3 -3
- package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.ts +3 -3
- package/src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.ts +1 -1
- package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.ts +5 -3
- package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.ts +5 -3
- package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Distinct.ts +3 -3
- package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_DistinctCount.ts +3 -3
- package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_JoinString.ts +3 -3
- package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Max.ts +5 -3
- package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Min.ts +5 -3
- package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Population.ts +3 -3
- package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_StdDev_Sample.ts +3 -3
- package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Sum.ts +5 -3
- package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterState.ts +6 -6
- package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterStateBuilder.ts +1 -1
- package/src/stores/fetch-structure/tds/post-filter/QueryBuilderPostFilterValueSpecificationBuilder.ts +1 -1
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperatorValueSpecificationBuilder.ts +4 -4
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Contain.ts +4 -4
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_EndWith.ts +4 -4
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_Equal.ts +8 -7
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThan.ts +5 -6
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_GreaterThanEqual.ts +5 -6
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_In.ts +6 -4
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_IsEmpty.ts +3 -3
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThan.ts +5 -6
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_LessThanEqual.ts +5 -6
- package/src/stores/fetch-structure/tds/post-filter/operators/QueryBuilderPostFilterOperator_StartWith.ts +4 -4
- package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionColumnState.ts +3 -3
- package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.ts +1 -1
- package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionValueSpecificationBuilder.ts +1 -1
- package/src/stores/fetch-structure/tds/window/QueryBuilderWindowState.ts +6 -6
- package/src/stores/fetch-structure/tds/window/QueryBuilderWindowStateBuilder.ts +1 -1
- package/src/stores/fetch-structure/tds/window/QueryBuilderWindowValueSpecificationBuilder.ts +1 -1
- package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Average.ts +3 -3
- package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Count.ts +5 -3
- package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Max.ts +5 -3
- package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Min.ts +5 -3
- package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowOperator_Sum.ts +5 -3
- package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_AverageRank.ts +3 -3
- package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_DenseRank.ts +3 -3
- package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_Rank.ts +5 -3
- package/src/stores/fetch-structure/tds/window/operators/QueryBuilderTDS_WindowRankOperator_RowNumber.ts +3 -3
- package/src/stores/filter/QueryBuilderFilterState.ts +6 -6
- package/src/stores/filter/QueryBuilderFilterStateBuilder.ts +1 -1
- package/src/stores/filter/QueryBuilderFilterValueSpecificationBuilder.ts +1 -1
- package/src/stores/filter/operators/QueryBuilderFilterOperatorValueSpecificationBuilder.ts +1 -1
- package/src/stores/filter/operators/QueryBuilderFilterOperator_Contain.ts +6 -4
- package/src/stores/filter/operators/QueryBuilderFilterOperator_EndWith.ts +6 -4
- package/src/stores/filter/operators/QueryBuilderFilterOperator_Equal.ts +10 -7
- package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThan.ts +5 -6
- package/src/stores/filter/operators/QueryBuilderFilterOperator_GreaterThanEqual.ts +5 -6
- package/src/stores/filter/operators/QueryBuilderFilterOperator_In.ts +6 -4
- package/src/stores/filter/operators/QueryBuilderFilterOperator_IsEmpty.ts +6 -4
- package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThan.ts +7 -6
- package/src/stores/filter/operators/QueryBuilderFilterOperator_LessThanEqual.ts +5 -6
- package/src/stores/filter/operators/QueryBuilderFilterOperator_StartWith.ts +6 -4
- package/src/stores/milestoning/QueryBuilderMilestoningState.ts +2 -2
- package/src/stores/shared/ValueSpecificationEditorHelper.ts +4 -4
- package/src/stores/watermark/QueryBuilderWatermarkState.ts +2 -2
- package/src/stores/watermark/QueryBuilderWatermarkStateBuilder.ts +1 -1
- package/src/stores/watermark/QueryBuilderWatermarkValueSpecificationBuilder.ts +1 -1
- package/tsconfig.json +19 -19
- package/lib/application/QueryBuilderDocumentation.d.ts.map +0 -1
- package/lib/application/QueryBuilderDocumentation.js.map +0 -1
- package/lib/application/QueryBuilderEvent.d.ts.map +0 -1
- package/lib/application/QueryBuilderEvent.js.map +0 -1
- package/lib/application/QueryBuilderSetting.d.ts.map +0 -1
- package/lib/application/QueryBuilderSetting.js.map +0 -1
- package/lib/application/QueryBuilderTelemetryHelper.d.ts.map +0 -1
- package/lib/application/QueryBuilderTelemetryHelper.js.map +0 -1
- package/lib/application/QueryBuilderTesting.d.ts.map +0 -1
- package/lib/application/QueryBuilderTesting.js.map +0 -1
- package/lib/components/QueryBuilderComponentTestUtils.d.ts.map +0 -1
- package/lib/components/QueryBuilderComponentTestUtils.js.map +0 -1
- package/lib/components/shared/ElementIconUtils.d.ts.map +0 -1
- package/lib/components/shared/ElementIconUtils.js +0 -37
- package/lib/components/shared/ElementIconUtils.js.map +0 -1
- package/lib/graphManager/QueryBuilderHashUtils.d.ts.map +0 -1
- package/lib/graphManager/QueryBuilderHashUtils.js +0 -111
- package/lib/graphManager/QueryBuilderHashUtils.js.map +0 -1
- package/lib/graphManager/QueryBuilderSupportedFunctions.d.ts.map +0 -1
- package/lib/graphManager/QueryBuilderSupportedFunctions.js.map +0 -1
- package/lib/graphManager/QueryBuilder_GraphManagerPlugin.d.ts.map +0 -1
- package/lib/graphManager/QueryBuilder_GraphManagerPlugin.js.map +0 -1
- package/lib/graphManager/QueryBuilder_GraphManagerPreset.d.ts.map +0 -1
- package/lib/graphManager/QueryBuilder_GraphManagerPreset.js.map +0 -1
- package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.d.ts.map +0 -1
- package/lib/graphManager/action/analytics/MappingRuntimeCompatibilityAnalysis.js.map +0 -1
- package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.d.ts.map +0 -1
- package/lib/graphManager/action/analytics/ServiceExecutionAnalysis.js.map +0 -1
- package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtension.js.map +0 -1
- package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.js.map +0 -1
- package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.js.map +0 -1
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.js.map +0 -1
- package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts.map +0 -1
- package/lib/graphManager/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.js.map +0 -1
- package/lib/stores/QueryBuilderStateTestUtils.d.ts +0 -24
- package/lib/stores/QueryBuilderStateTestUtils.d.ts.map +0 -1
- package/lib/stores/QueryBuilderStateTestUtils.js.map +0 -1
- package/src/components/shared/ElementIconUtils.tsx +0 -47
- /package/lib/{application → __lib__}/QueryBuilderDocumentation.d.ts +0 -0
- /package/lib/{application → __lib__}/QueryBuilderDocumentation.js +0 -0
- /package/lib/{application → __lib__}/QueryBuilderEvent.d.ts +0 -0
- /package/lib/{application → __lib__}/QueryBuilderEvent.js +0 -0
- /package/lib/{application → __lib__}/QueryBuilderSetting.d.ts +0 -0
- /package/lib/{application → __lib__}/QueryBuilderSetting.js +0 -0
- /package/lib/{application → __lib__}/QueryBuilderTelemetryHelper.d.ts +0 -0
- /package/lib/{application → __lib__}/QueryBuilderTelemetryHelper.js +0 -0
- /package/lib/{application → __lib__}/QueryBuilderTesting.d.ts +0 -0
- /package/lib/{application → __lib__}/QueryBuilderTesting.js +0 -0
- /package/lib/{graphManager → graph-manager}/QueryBuilder_GraphManagerPreset.d.ts +0 -0
- /package/lib/{graphManager → graph-manager}/action/analytics/MappingRuntimeCompatibilityAnalysis.d.ts +0 -0
- /package/lib/{graphManager → graph-manager}/action/analytics/MappingRuntimeCompatibilityAnalysis.js +0 -0
- /package/lib/{graphManager → graph-manager}/action/analytics/ServiceExecutionAnalysis.d.ts +0 -0
- /package/lib/{graphManager → graph-manager}/action/analytics/ServiceExecutionAnalysis.js +0 -0
- /package/lib/{graphManager → graph-manager}/protocol/pure/QueryBuilder_PureGraphManagerExtension.d.ts +0 -0
- /package/lib/{graphManager → graph-manager}/protocol/pure/QueryBuilder_PureGraphManagerExtension.js +0 -0
- /package/lib/{graphManager → graph-manager}/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.d.ts +0 -0
- /package/lib/{graphManager → graph-manager}/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.js +0 -0
- /package/lib/{graphManager → graph-manager}/protocol/pure/QueryBuilder_PureProtocolProcessorPlugin.d.ts +0 -0
- /package/lib/{graphManager → graph-manager}/protocol/pure/v1/V1_QueryBuilder_PureGraphManagerExtension.d.ts +0 -0
- /package/lib/{graphManager → graph-manager}/protocol/pure/v1/V1_QueryValueSpecificationBuilderHelper.d.ts +0 -0
- /package/src/{application → __lib__}/QueryBuilderDocumentation.ts +0 -0
- /package/src/{application → __lib__}/QueryBuilderEvent.ts +0 -0
- /package/src/{application → __lib__}/QueryBuilderSetting.ts +0 -0
- /package/src/{application → __lib__}/QueryBuilderTelemetryHelper.ts +0 -0
- /package/src/{application → __lib__}/QueryBuilderTesting.ts +0 -0
- /package/src/{graphManager → graph-manager}/action/analytics/MappingRuntimeCompatibilityAnalysis.ts +0 -0
- /package/src/{graphManager → graph-manager}/action/analytics/ServiceExecutionAnalysis.ts +0 -0
- /package/src/{graphManager → graph-manager}/protocol/pure/QueryBuilder_PureGraphManagerExtension.ts +0 -0
- /package/src/{graphManager → graph-manager}/protocol/pure/QueryBuilder_PureGraphManagerExtensionBuilder.ts +0 -0
package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderGraphFetchTreeStateBuilder.d.ts","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAIL,KAAK,cAAc,EAInB,wBAAwB,
|
1
|
+
{"version":3,"file":"QueryBuilderGraphFetchTreeStateBuilder.d.ts","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAIL,KAAK,cAAc,EAInB,wBAAwB,EAUzB,MAAM,qBAAqB,CAAC;AAa7B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAYpE,eAAO,MAAM,2BAA2B,eAC1B,wBAAwB,qBACjB,iBAAiB,gBACtB,cAAc,KAC3B,IA0CF,CAAC;AA+DF,eAAO,MAAM,oCAAoC,eACnC,wBAAwB,qBACjB,iBAAiB,gBACtB,cAAc,KAC3B,IA0HF,CAAC;AAEF,eAAO,MAAM,sCAAsC,eACrC,wBAAwB,qBACjB,iBAAiB,gBACtB,cAAc,KAC3B,IA2FF,CAAC"}
|
@@ -13,9 +13,9 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { PrimitiveInstanceValue, PRIMITIVE_TYPE, GraphFetchTreeInstanceValue, matchFunctionName, RootGraphFetchTree, SimpleFunctionExpression, InstanceValue, PackageableElementReference, Binding, SUPPORTED_FUNCTIONS, Class,
|
16
|
+
import { PrimitiveInstanceValue, PRIMITIVE_TYPE, GraphFetchTreeInstanceValue, matchFunctionName, RootGraphFetchTree, SimpleFunctionExpression, InstanceValue, PackageableElementReference, Binding, SUPPORTED_FUNCTIONS, Class, KeyExpressionInstanceValue, CollectionInstanceValue, getClassProperty, PrimitiveType, } from '@finos/legend-graph';
|
17
17
|
import { assertIsBoolean, assertIsString, assertTrue, guaranteeIsString, guaranteeNonNullable, guaranteeType, } from '@finos/legend-shared';
|
18
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../
|
18
|
+
import { QUERY_BUILDER_PURE_PATH, QUERY_BUILDER_SUPPORTED_FUNCTIONS, } from '../../../graph/QueryBuilderMetaModelConst.js';
|
19
19
|
import { QueryBuilderValueSpecificationProcessor } from '../../QueryBuilderStateBuilder.js';
|
20
20
|
import { FETCH_STRUCTURE_IMPLEMENTATION } from '../QueryBuilderFetchStructureImplementationState.js';
|
21
21
|
import { GraphFetchExternalFormatSerializationState, GraphFetchPureSerializationState, PureSerializationConfig, QueryBuilderGraphFetchTreeState, } from './QueryBuilderGraphFetchTreeState.js';
|
@@ -51,7 +51,7 @@ const processKeyExpressionValueOnSerializationConfig = (keyExpression, configIns
|
|
51
51
|
guaranteeNonNullable(properties.find((prop) => prop === keyValue), `Property name '${keyValue}' not defined in serialization config, accepted properties are ${properties.join(',')}`);
|
52
52
|
// check class
|
53
53
|
const _classProperty = getClassProperty(configClassDef, keyValue);
|
54
|
-
const _classType = guaranteeType(_classProperty.genericType.value.rawType, PrimitiveType, `Only primitive types suppported for config. Property ${keyValue} for class ${
|
54
|
+
const _classType = guaranteeType(_classProperty.genericType.value.rawType, PrimitiveType, `Only primitive types suppported for config. Property ${keyValue} for class '${QUERY_BUILDER_PURE_PATH.SERIALIZE_CONFIG}' is of type '${_classProperty.genericType.value.rawType.path}'`);
|
55
55
|
const expressionValue = guaranteeNonNullable(guaranteeType(keyExpression.expression, PrimitiveInstanceValue, `Can't process serialize() expression: config key expression's value expected to be a primitive instance value`).values[0], `Can't process serialize() expression: config key expression's value expected to be a non nullable primitive value`);
|
56
56
|
// TODO move to separate method and make it more robust
|
57
57
|
switch (_classType.path) {
|
@@ -95,7 +95,7 @@ export const processGraphFetchSerializeExpression = (expression, queryBuilderSta
|
|
95
95
|
const pureSerializationState = guaranteeType(graphFetchTreeState.serializationState, GraphFetchPureSerializationState, `Can't process serialize() expression: serialization state expected to be of type pure with serialize()`);
|
96
96
|
// first para: config class
|
97
97
|
const configClass = guaranteeType(guaranteeType(guaranteeType(pureConfigFunction.parametersValues[0], InstanceValue, `Can't process serialize() expression: serialization config expects first param to be an instance value`).values[0], PackageableElementReference, `Can't process serialize() expression: serialization config expects first param to be a packageable element`).value, Class, `Can't process serialize() expression: serialization config expects first param to be a class`);
|
98
|
-
assertTrue(configClass.path ===
|
98
|
+
assertTrue(configClass.path === QUERY_BUILDER_PURE_PATH.SERIALIZE_CONFIG, `Can't process serialize() expression: serialiaztion config class expected to be '${QUERY_BUILDER_PURE_PATH.SERIALIZE_CONFIG}', got : ${configClass.path}`);
|
99
99
|
// 2nd param: empty string
|
100
100
|
// TODO: Investigate why `new` function as the second input as empty string
|
101
101
|
// 2rd param: key expression values representing property values of config
|
package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderGraphFetchTreeStateBuilder.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,sBAAsB,EAEtB,cAAc,EAEd,2BAA2B,EAC3B,iBAAiB,EACjB,kBAAkB,EAClB,wBAAwB,EACxB,aAAa,EACb,2BAA2B,EAC3B,OAAO,EACP,mBAAmB,EACnB,KAAK,EACL,
|
1
|
+
{"version":3,"file":"QueryBuilderGraphFetchTreeStateBuilder.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,sBAAsB,EAEtB,cAAc,EAEd,2BAA2B,EAC3B,iBAAiB,EACjB,kBAAkB,EAClB,wBAAwB,EACxB,aAAa,EACb,2BAA2B,EAC3B,OAAO,EACP,mBAAmB,EACnB,KAAK,EACL,0BAA0B,EAC1B,uBAAuB,EACvB,gBAAgB,EAChB,aAAa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,aAAa,CACtC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC,EACxB,kBAAkB,EAClB,wFAAwF,CACzF,CAAC;QACF,gBAAgB,CAAC,iBAAiB,CAChC,uBAAuB,CAAC,kBAAkB,CAAC,CAC5C,CAAC;KACH;AACH,CAAC,CAAC"}
|
@@ -16,7 +16,7 @@
|
|
16
16
|
import { assertType, addUniqueEntry, deleteEntry, hashArray, } from '@finos/legend-shared';
|
17
17
|
import { PropertyExplicitReference, Class, PropertyGraphFetchTree, PackageableElementExplicitReference, TYPE_CAST_TOKEN, } from '@finos/legend-graph';
|
18
18
|
import { QueryBuilderExplorerTreePropertyNodeData, QueryBuilderExplorerTreeSubTypeNodeData, } from '../../explorer/QueryBuilderExplorerState.js';
|
19
|
-
import {
|
19
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../QueryBuilderStateHashUtils.js';
|
20
20
|
import { computed, makeObservable } from 'mobx';
|
21
21
|
import { graphFetchTree_addSubTree, graphFetchTree_removeSubTree, } from '../../shared/ValueSpecificationModifierHelper.js';
|
22
22
|
export class QueryBuilderGraphFetchTreeNodeData {
|
@@ -43,7 +43,7 @@ export class QueryBuilderGraphFetchTreeNodeData {
|
|
43
43
|
}
|
44
44
|
get hashCode() {
|
45
45
|
return hashArray([
|
46
|
-
|
46
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.GRAPH_FETCH_TREE_NODE_DATA,
|
47
47
|
this.id,
|
48
48
|
this.label,
|
49
49
|
this.tree,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderGraphFetchTreeUtil.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,UAAU,EACV,cAAc,EACd,WAAW,EACX,SAAS,GAEV,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAKL,yBAAyB,EACzB,KAAK,EACL,sBAAsB,EACtB,mCAAmC,EACnC,eAAe,GAChB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,wCAAwC,EACxC,uCAAuC,GACxC,MAAM,6CAA6C,CAAC;AAErD,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"QueryBuilderGraphFetchTreeUtil.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,UAAU,EACV,cAAc,EACd,WAAW,EACX,SAAS,GAEV,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAKL,yBAAyB,EACzB,KAAK,EACL,sBAAsB,EACtB,mCAAmC,EACnC,eAAe,GAChB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,wCAAwC,EACxC,uCAAuC,GACxC,MAAM,6CAA6C,CAAC;AAErD,OAAO,EAAE,kCAAkC,EAAE,MAAM,qCAAqC,CAAC;AACzF,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,MAAM,CAAC;AAChD,OAAO,EACL,yBAAyB,EACzB,4BAA4B,GAC7B,MAAM,kDAAkD,CAAC;AAE1D,MAAM,OAAO,kCAAkC;IAGpC,EAAE,CAAS;IACX,KAAK,CAAS;IACd,IAAI,CAAyB;IAC7B,QAAQ,CAAsB;IACvC,UAAU,CAAuB;IACjC,MAAM,CAAuB;IAC7B,WAAW,GAAa,EAAE,CAAC;IAE3B,YACE,EAAU,EACV,KAAa,EACb,QAA4B,EAC5B,kBAA0C;QAE1C,cAAc,CAAC,IAAI,EAAE;YACnB,QAAQ,EAAE,QAAQ;SACnB,CAAC,CAAC;QAEH,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,IAAI,GAAG,kBAAkB,CAAC;Q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WAAW,EAAE,SAAS,CAAC,EAAE,CAAC,CAAC;YACrD,yBAAyB,CACvB,UAAU,CAAC,IAAI,EACf,SAAS,CAAC,IAAI,EACd,iBAAiB,CAAC,eAAe,CAClC,CAAC;SACH;aAAM;YACL,cAAc,CAAC,QAAQ,CAAC,OAAO,EAAE,SAAS,CAAC,EAAE,CAAC,CAAC;YAC/C,yBAAyB,CACvB,QAAQ,CAAC,IAAI,EACb,SAAS,CAAC,IAAI,EACd,iBAAiB,CAAC,eAAe,CAClC,CAAC;SACH;KACF;AACH,CAAC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderGraphFetchTreeValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,SAAS,EAMd,wBAAwB,
|
1
|
+
{"version":3,"file":"QueryBuilderGraphFetchTreeValueSpecificationBuilder.d.ts","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,cAAc,EACnB,KAAK,SAAS,EAMd,wBAAwB,EAUzB,MAAM,qBAAqB,CAAC;AAU7B,OAAO,EAGL,KAAK,+BAA+B,EACrC,MAAM,sCAAsC,CAAC;AAmD9C,eAAO,MAAM,4BAA4B,WAC/B,OAAO,WAAW,EAAE,OAAO,CAAC,SAC7B,SAAS,KACf,wBAwDF,CAAC;AAEF,eAAO,MAAM,gBAAgB,wBACN,+BAA+B,kBACpC,cAAc,YACpB;IACR;;;OAGG;IACH,wBAAwB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;IAC/C,qBAAqB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC7C,KACA,IAmGF,CAAC"}
|
@@ -13,9 +13,9 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
import { extractElementNameFromPath, GenericType, GenericTypeExplicitReference, matchFunctionName, PrimitiveInstanceValue, SimpleFunctionExpression, GraphFetchTreeInstanceValue, PrimitiveType, InstanceValue, Multiplicity, PackageableElementExplicitReference, SUPPORTED_FUNCTIONS,
|
16
|
+
import { extractElementNameFromPath, GenericType, GenericTypeExplicitReference, matchFunctionName, PrimitiveInstanceValue, SimpleFunctionExpression, GraphFetchTreeInstanceValue, PrimitiveType, InstanceValue, Multiplicity, PackageableElementExplicitReference, SUPPORTED_FUNCTIONS, CollectionInstanceValue, KeyExpressionInstanceValue, KeyExpression, } from '@finos/legend-graph';
|
17
17
|
import { UnsupportedOperationError, guaranteeNonNullable, guaranteeType, } from '@finos/legend-shared';
|
18
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../
|
18
|
+
import { QUERY_BUILDER_PURE_PATH, QUERY_BUILDER_SUPPORTED_FUNCTIONS, } from '../../../graph/QueryBuilderMetaModelConst.js';
|
19
19
|
import { GraphFetchExternalFormatSerializationState, GraphFetchPureSerializationState, } from './QueryBuilderGraphFetchTreeState.js';
|
20
20
|
import { isGraphFetchTreeDataEmpty } from './QueryBuilderGraphFetchTreeUtil.js';
|
21
21
|
const appendTakeLimit = (lambda, previewLimit) => {
|
@@ -48,7 +48,7 @@ const appendTakeLimit = (lambda, previewLimit) => {
|
|
48
48
|
return lambda;
|
49
49
|
};
|
50
50
|
export const buildPureSerializationConfig = (config, graph) => {
|
51
|
-
const configClass = graph.getClass(
|
51
|
+
const configClass = graph.getClass(QUERY_BUILDER_PURE_PATH.SERIALIZE_CONFIG);
|
52
52
|
const newFunction = new SimpleFunctionExpression(extractElementNameFromPath(SUPPORTED_FUNCTIONS.NEW));
|
53
53
|
// build instance
|
54
54
|
const instance = new InstanceValue(Multiplicity.ONE, undefined);
|
@@ -83,8 +83,8 @@ export const buildPureSerializationConfig = (config, graph) => {
|
|
83
83
|
export const appendGraphFetch = (graphFetchTreeState, lambdaFunction, options) => {
|
84
84
|
const queryBuilderState = graphFetchTreeState.queryBuilderState;
|
85
85
|
const precedingExpression = guaranteeNonNullable(lambdaFunction.expressionSequence[0], `Can't build graph-fetch tree expression: preceding expression is not defined`);
|
86
|
-
const
|
87
|
-
if (
|
86
|
+
const serializationState = graphFetchTreeState.serializationState;
|
87
|
+
if (serializationState instanceof GraphFetchPureSerializationState) {
|
88
88
|
// build graph-fetch tree
|
89
89
|
if (graphFetchTreeState.treeData &&
|
90
90
|
!isGraphFetchTreeDataEmpty(graphFetchTreeState.treeData)) {
|
@@ -99,21 +99,21 @@ export const appendGraphFetch = (graphFetchTreeState, lambdaFunction, options) =
|
|
99
99
|
graphFetchInstance,
|
100
100
|
];
|
101
101
|
serializeFunction.parametersValues = [graphFetchFunc, graphFetchInstance];
|
102
|
-
if (
|
103
|
-
const configFunction = buildPureSerializationConfig(
|
102
|
+
if (serializationState.config) {
|
103
|
+
const configFunction = buildPureSerializationConfig(serializationState.config, graphFetchTreeState.queryBuilderState.graphManagerState.graph);
|
104
104
|
serializeFunction.parametersValues.push(configFunction);
|
105
105
|
}
|
106
106
|
lambdaFunction.expressionSequence[0] = serializeFunction;
|
107
107
|
}
|
108
108
|
}
|
109
|
-
else if (
|
109
|
+
else if (serializationState instanceof GraphFetchExternalFormatSerializationState) {
|
110
110
|
const externalizeFunction = new SimpleFunctionExpression(extractElementNameFromPath(QUERY_BUILDER_SUPPORTED_FUNCTIONS.EXTERNALIZE));
|
111
111
|
const mainGraphTree = graphFetchTreeState.treeData;
|
112
|
-
const
|
112
|
+
const externalizeGraphFetchTreeData = serializationState.treeData;
|
113
113
|
if (mainGraphTree &&
|
114
|
-
|
114
|
+
externalizeGraphFetchTreeData &&
|
115
115
|
!isGraphFetchTreeDataEmpty(mainGraphTree) &&
|
116
|
-
!isGraphFetchTreeDataEmpty(
|
116
|
+
!isGraphFetchTreeDataEmpty(externalizeGraphFetchTreeData)) {
|
117
117
|
// 0th param
|
118
118
|
const graphFetchInstance = new GraphFetchTreeInstanceValue();
|
119
119
|
graphFetchInstance.values = [mainGraphTree.tree];
|
@@ -127,11 +127,11 @@ export const appendGraphFetch = (graphFetchTreeState, lambdaFunction, options) =
|
|
127
127
|
// 1st param
|
128
128
|
const bindingInstance = new InstanceValue(Multiplicity.ONE, undefined);
|
129
129
|
bindingInstance.values = [
|
130
|
-
PackageableElementExplicitReference.create(
|
130
|
+
PackageableElementExplicitReference.create(serializationState.targetBinding),
|
131
131
|
];
|
132
132
|
// 2nd parameter
|
133
133
|
const xtGraphFetchInstance = new GraphFetchTreeInstanceValue();
|
134
|
-
xtGraphFetchInstance.values = [
|
134
|
+
xtGraphFetchInstance.values = [externalizeGraphFetchTreeData.tree];
|
135
135
|
// build externalize
|
136
136
|
externalizeFunction.parametersValues = [
|
137
137
|
graphFetchFunc,
|
@@ -142,7 +142,7 @@ export const appendGraphFetch = (graphFetchTreeState, lambdaFunction, options) =
|
|
142
142
|
}
|
143
143
|
}
|
144
144
|
else {
|
145
|
-
throw new UnsupportedOperationError(`Unsupported serialization state ${
|
145
|
+
throw new UnsupportedOperationError(`Unsupported serialization state ${serializationState.getLabel()}`);
|
146
146
|
}
|
147
147
|
// build result set modifier: i.e. preview limit
|
148
148
|
if (options?.isBuildingExecutionQuery) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderGraphFetchTreeValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAIL,0BAA0B,EAC1B,WAAW,EACX,4BAA4B,EAC5B,iBAAiB,EACjB,sBAAsB,EACtB,wBAAwB,EACxB,2BAA2B,EAC3B,aAAa,EACb,aAAa,EACb,YAAY,EACZ,mCAAmC,EACnC,mBAAmB,EACnB,
|
1
|
+
{"version":3,"file":"QueryBuilderGraphFetchTreeValueSpecificationBuilder.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeValueSpecificationBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAIL,0BAA0B,EAC1B,WAAW,EACX,4BAA4B,EAC5B,iBAAiB,EACjB,sBAAsB,EACtB,wBAAwB,EACxB,2BAA2B,EAC3B,aAAa,EACb,aAAa,EACb,YAAY,EACZ,mCAAmC,EACnC,mBAAmB,EACnB,uBAAuB,EACvB,0BAA0B,EAC1B,aAAa,GACd,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,yBAAyB,EACzB,oBAAoB,EACpB,aAAa,GACd,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,uBAAuB,EACvB,iCAAiC,GAClC,MAAM,8CAA8C,CAAC;AACtD,OAAO,EACL,0CAA0C,EAC1C,gCAAgC,GAEjC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EAAE,yBAAyB,EAAE,MAAM,qCAAqC,CAAC;AAEhF,MAAM,eAAe,GAAG,CACtB,MAAsB,EACtB,YAAiC,EACjB,EAAE;IAClB,IAAI,CAAC,YAAY,EAAE;QACjB,OAAO,MAAM,CAAC;KACf;IACD,IAAI,MAAM,CAAC,kBAAkB,CAAC,MAAM,KAAK,CAAC,EAAE;QAC1C,MAAM,IAAI,GAAG,MAAM,CAAC,kBAAkB,CAAC,CAAC,CAAC,CAAC;QAC1C,IAAI,IAAI,YAAY,wBAAwB,EAAE;YAC5C,IACE,iBAAiB,CACf,IAAI,CAAC,YAAY,EACjB,iCAAiC,CAAC,SAAS,CAC5C,EACD;gBACA,MAAM,KAAK,GAAG,IAAI,sBAAsB,CACtC,4BAA4B,CAAC,MAAM,CACjC,IAAI,WAAW,CAAC,aAAa,CAAC,OAAO,CAAC,CACvC,CAC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C;YACvE,eAAe,CAAC,MAAM,GAAG;gBACvB,mCAAmC,CAAC,MAAM,CACxC,kBAAkB,CAAC,aAAa,CACjC;aACF,CAAC;YACF,gBAAgB;YAChB,MAAM,oBAAoB,GAAG,IAAI,2BAA2B,EAAE,CAAC;YAC/D,oBAAoB,CAAC,MAAM,GAAG,CAAC,6BAA6B,CAAC,IAAI,CAAC,CAAC;YACnE,oBAAoB;YACpB,mBAAmB,CAAC,gBAAgB,GAAG;gBACrC,cAAc;gBACd,eAAe;gBACf,oBAAoB;aACrB,CAAC;YACF,cAAc,CAAC,kBAAkB,CAAC,CAAC,CAAC,GAAG,mBAAmB,CAAC;SAC5D;KACF;SAAM;QACL,MAAM,IAAI,yBAAyB,CACjC,mCAAmC,kBAAkB,CAAC,QAAQ,EAAE,EAAE,CACnE,CAAC;KACH;IACD,gDAAgD;IAChD,IAAI,OAAO,EAAE,wBAAwB,EAAE;QACrC,eAAe,CAAC,cAAc,EAAE,iBAAiB,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;KAC7E;AACH,CAAC,CAAC"}
|
@@ -15,7 +15,7 @@
|
|
15
15
|
*/
|
16
16
|
import { extractElementNameFromPath, matchFunctionName, } from '@finos/legend-graph';
|
17
17
|
import { guaranteeNonNullable, UnsupportedOperationError, } from '@finos/legend-shared';
|
18
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../
|
18
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../graph/QueryBuilderMetaModelConst.js';
|
19
19
|
import { COLUMN_SORT_TYPE } from './QueryResultSetModifierState.js';
|
20
20
|
export const findTDSColumnState = (projectionState, columnName) => projectionState.tdsColumns.find((c) => c.columnName === columnName);
|
21
21
|
export const getTDSColumnState = (projectionState, columnName) => guaranteeNonNullable(findTDSColumnState(projectionState, columnName), `Column ${columnName} not found in TDS`);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTDSHelper.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/tds/QueryBuilderTDSHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0BAA0B,EAC1B,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,oBAAoB,EACpB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iCAAiC,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"QueryBuilderTDSHelper.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/tds/QueryBuilderTDSHelper.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,0BAA0B,EAC1B,iBAAiB,GAClB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,oBAAoB,EACpB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iCAAiC,EAAE,MAAM,8CAA8C,CAAC;AAGjG,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AAEpE,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAChC,eAAqC,EACrC,UAAkB,EACsB,EAAE,CAC1C,eAAe,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,UAAU,KAAK,UAAU,CAAC,CAAC;AAEtE,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,eAAqC,EACrC,UAAkB,EACU,EAAE,CAC9B,oBAAoB,CAClB,kBAAkB,CAAC,eAAe,EAAE,UAAU,CAAC,EAC/C,UAAU,UAAU,mBAAmB,CACxC,CAAC;AAEJ,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAC/C,YAAoB,EACF,EAAE;IACpB,IACE,iBAAiB,CAAC,YAAY,EAAE,iCAAiC,CAAC,OAAO,CAAC,EAC1E;QACA,OAAO,gBAAgB,CAAC,GAAG,CAAC;KAC7B;SAAM,IACL,iBAAiB,CAAC,YAAY,EAAE,iCAAiC,CAAC,QAAQ,CAAC,EAC3E;QACA,OAAO,gBAAgB,CAAC,IAAI,CAAC;KAC9B;IACD,MAAM,IAAI,yBAAyB,CACjC,kCAAkC,YAAY,EAAE,CACjD,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAC9C,cAAgC,EACxB,EAAE;IACV,QAAQ,cAAc,EAAE;QACtB,KAAK,gBAAgB,CAAC,GAAG;YACvB,OAAO,0BAA0B,CAC/B,iCAAiC,CAAC,OAAO,CAC1C,CAAC;QACJ,KAAK,gBAAgB,CAAC,IAAI;YACxB,OAAO,0BAA0B,CAC/B,iCAAiC,CAAC,QAAQ,CAC3C,CAAC;QACJ;YACE,MAAM,IAAI,yBAAyB,CACjC,gCAAgC,cAAc,EAAE,CACjD,CAAC;KACL;AACH,CAAC,CAAC"}
|
@@ -28,11 +28,11 @@ import { QueryBuilderDerivationProjectionColumnState, QueryBuilderSimpleProjecti
|
|
28
28
|
import { buildPropertyExpressionFromExplorerTreeNodeData, generateExplorerTreePropertyNodeID, generateExplorerTreeSubtypeNodeID, } from '../../explorer/QueryBuilderExplorerState.js';
|
29
29
|
import { ActionAlertActionType, ActionAlertType, } from '@finos/legend-application';
|
30
30
|
import { appendProjection } from './projection/QueryBuilderProjectionValueSpecificationBuilder.js';
|
31
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../
|
32
|
-
import {
|
31
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../graph/QueryBuilderMetaModelConst.js';
|
32
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../QueryBuilderStateHashUtils.js';
|
33
33
|
import { QueryBuilderWindowState } from './window/QueryBuilderWindowState.js';
|
34
34
|
import { getQueryBuilderCoreWindowOperators } from './window/QueryBuilderWindowGroupByOperatorLoader.js';
|
35
|
-
import { QUERY_BUILDER_SETTING_KEY } from '../../../
|
35
|
+
import { QUERY_BUILDER_SETTING_KEY } from '../../../__lib__/QueryBuilderSetting.js';
|
36
36
|
// TODO: should we support raw once externalize() is supported on TDS ?
|
37
37
|
export var TDS_EXECUTION_SERIALIZATION_FORMAT;
|
38
38
|
(function (TDS_EXECUTION_SERIALIZATION_FORMAT) {
|
@@ -405,7 +405,7 @@ export class QueryBuilderTDSState extends QueryBuilderFetchStructureImplementati
|
|
405
405
|
}
|
406
406
|
get hashCode() {
|
407
407
|
return hashArray([
|
408
|
-
|
408
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.PROJECTION_STATE,
|
409
409
|
hashArray(this.projectionColumns),
|
410
410
|
this.aggregationState,
|
411
411
|
this.postFilterState,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTDSState.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/tds/QueryBuilderTDSState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,UAAU,EACV,cAAc,EACd,UAAU,EACV,IAAI,EACJ,QAAQ,GACT,MAAM,MAAM,CAAC;AACd,OAAO,EAEL,QAAQ,EACR,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,WAAW,EACX,cAAc,EACd,oBAAoB,EACpB,QAAQ,EACR,YAAY,EAEZ,SAAS,EACT,yBAAyB,EACzB,WAAW,GACZ,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAKL,mBAAmB,EACnB,mCAAmC,EACnC,WAAW,EACX,SAAS,EACT,mBAAmB,EACnB,KAAK,EACL,0BAA0B,EAC1B,iBAAiB,EACjB,wBAAwB,EACxB,kBAAkB,EAClB,8BAA8B,GAC/B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,GAC9B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,gCAAgC,EAChC,4BAA4B,GAC7B,MAAM,+CAA+C,CAAC;AACvD,OAAO,EAAE,uCAAuC,EAAE,MAAM,+CAA+C,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AC;QACvC,MAAM,iBAAiB,GAAG,OAAO,CAAC,MAAM,CACtC,YAAY,CAAC,2CAA2C,CAAC,CAC1D,CAAC;QACF,IAAI,iBAAiB,CAAC,MAAM,EAAE;YAC5B,oGAAoG;YACpG,OAAO,KAAK,CAAC;SACd;QACD,MAAM,gBAAgB,GAAG,OAAO;aAC7B,MAAM,CAAC,YAAY,CAAC,uCAAuC,CAAC,CAAC;aAC7D,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC,CAAC;QAC/C,MAAM,gBAAgB,GAAG,IAAI,CAAC,eAAe,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;QACvE,OAAO,OAAO,CAAC,gBAAgB,IAAI,gBAAgB,CAAC,CAAC;IACvD,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,4BAA4B,CAAC,gBAAgB;YAC7C,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC;YACjC,IAAI,CAAC,gBAAgB;YACrB,IAAI,CAAC,eAAe;YACpB,IAAI,CAAC,sBAAsB;SAC5B,CAAC,CAAC;IACL,CAAC;CACF"}
|
1
|
+
{"version":3,"file":"QueryBuilderTDSState.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/tds/QueryBuilderTDSState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,MAAM,EACN,UAAU,EACV,cAAc,EACd,UAAU,EACV,IAAI,EACJ,QAAQ,GACT,MAAM,MAAM,CAAC;AACd,OAAO,EAEL,QAAQ,EACR,iBAAiB,EACjB,WAAW,EACX,aAAa,EACb,WAAW,EACX,cAAc,EACd,oBAAoB,EACpB,QAAQ,EACR,YAAY,EAEZ,SAAS,EACT,yBAAyB,EACzB,WAAW,GACZ,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAKL,mBAAmB,EACnB,mCAAmC,EACnC,WAAW,EACX,SAAS,EACT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ACzD,KAAK,IAAI,EAAE,CAAC,QAAQ,EAAE,CACvB;qBACJ;oBACD;wBACE,KAAK,EAAE,QAAQ;wBACf,IAAI,EAAE,qBAAqB,CAAC,OAAO;wBACnC,OAAO,EAAE,IAAI;qBACd;iBACF;aACF,CAAC,CAAC;SACJ;aAAM;YACL,QAAQ,EAAE,CAAC;SACZ;IACH,CAAC;IAED,cAAc,CAAC,QAA4B;QACzC,MAAM,OAAO,GAAG,IAAI,CAAC,iBAAiB,CAAC;QACvC,MAAM,iBAAiB,GAAG,OAAO,CAAC,MAAM,CACtC,YAAY,CAAC,2CAA2C,CAAC,CAC1D,CAAC;QACF,IAAI,iBAAiB,CAAC,MAAM,EAAE;YAC5B,oGAAoG;YACpG,OAAO,KAAK,CAAC;SACd;QACD,MAAM,gBAAgB,GAAG,OAAO;aAC7B,MAAM,CAAC,YAAY,CAAC,uCAAuC,CAAC,CAAC;aAC7D,IAAI,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC,CAAC;QAC/C,MAAM,gBAAgB,GAAG,IAAI,CAAC,eAAe,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;QACvE,OAAO,OAAO,CAAC,gBAAgB,IAAI,gBAAgB,CAAC,CAAC;IACvD,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,gBAAgB;YACnD,SAAS,CAAC,IAAI,CAAC,iBAAiB,CAAC;YACjC,IAAI,CAAC,gBAAgB;YACrB,IAAI,CAAC,eAAe;YACpB,IAAI,CAAC,sBAAsB;SAC5B,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -15,7 +15,7 @@
|
|
15
15
|
*/
|
16
16
|
import { action, computed, makeObservable, observable } from 'mobx';
|
17
17
|
import { addUniqueEntry, deleteEntry, hashArray, } from '@finos/legend-shared';
|
18
|
-
import {
|
18
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../QueryBuilderStateHashUtils.js';
|
19
19
|
export var COLUMN_SORT_TYPE;
|
20
20
|
(function (COLUMN_SORT_TYPE) {
|
21
21
|
COLUMN_SORT_TYPE["ASC"] = "ASC";
|
@@ -42,7 +42,7 @@ export class SortColumnState {
|
|
42
42
|
}
|
43
43
|
get hashCode() {
|
44
44
|
return hashArray([
|
45
|
-
|
45
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.SORT_COLUMN_STATE,
|
46
46
|
this.sortType.toString(),
|
47
47
|
this.columnState,
|
48
48
|
]);
|
@@ -90,7 +90,7 @@ export class QueryResultSetModifierState {
|
|
90
90
|
}
|
91
91
|
get hashCode() {
|
92
92
|
return hashArray([
|
93
|
-
|
93
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.RESULT_SET_MODIFIER_STATE,
|
94
94
|
hashArray(this.sortColumns),
|
95
95
|
this.limit?.toString() ?? '',
|
96
96
|
this.distinct.toString(),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryResultSetModifierState.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/tds/QueryResultSetModifierState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAEpE,OAAO,EACL,cAAc,EACd,WAAW,EAEX,SAAS,GACV,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"QueryResultSetModifierState.js","sourceRoot":"","sources":["../../../../src/stores/fetch-structure/tds/QueryResultSetModifierState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAEpE,OAAO,EACL,cAAc,EACd,WAAW,EAEX,SAAS,GACV,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE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|
17
17
|
import { deleteEntry, addUniqueEntry, hashArray, } from '@finos/legend-shared';
|
18
18
|
import { DEFAULT_LAMBDA_VARIABLE_NAME } from '../../../QueryBuilderConfig.js';
|
19
|
-
import {
|
19
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../../QueryBuilderStateHashUtils.js';
|
20
20
|
import { QueryBuilderTDSColumnState } from '../QueryBuilderTDSColumnState.js';
|
21
21
|
export class QueryBuilderAggregateColumnState extends QueryBuilderTDSColumnState {
|
22
22
|
aggregationState;
|
@@ -52,7 +52,7 @@ export class QueryBuilderAggregateColumnState extends QueryBuilderTDSColumnState
|
|
52
52
|
}
|
53
53
|
get hashCode() {
|
54
54
|
return hashArray([
|
55
|
-
|
55
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_COLUMN_STATE,
|
56
56
|
this.operator,
|
57
57
|
]);
|
58
58
|
}
|
@@ -113,7 +113,7 @@ export class QueryBuilderAggregationState {
|
|
113
113
|
}
|
114
114
|
get hashCode() {
|
115
115
|
return hashArray([
|
116
|
-
|
116
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATION_STATE,
|
117
117
|
hashArray(this.columns),
|
118
118
|
]);
|
119
119
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderAggregationState.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationState.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AACpE,OAAO,EACL,WAAW,EACX,cAAc,EAEd,SAAS,GACV,MAAM,sBAAsB,CAAC;AAE9B,OAAO,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AAI9E,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"QueryBuilderAggregationState.js","sourceRoot":"","sources":["../../../../../src/stores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CACjD,CAAC;QACF,IAAI,GAAG,EAAE;YACP,IAAI,CAAC,iBAAiB,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpC,OAAO;aACR;YACD,IAAI,oBAAoB,EAAE;gBACxB,oBAAoB,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;aACvC;iBAAM;gBACL,MAAM,uBAAuB,GAAG,IAAI,gCAAgC,CAClE,IAAI,EACJ,qBAAqB,EACrB,GAAG,CACJ,CAAC;gBACF,uBAAuB,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC;gBACzC,IAAI,CAAC,SAAS,CAAC,uBAAuB,CAAC,CAAC;gBAExC,2CAA2C;gBAC3C,oDAAoD;gBACpD,wCAAwC;gBACxC,wDAAwD;gBACxD,IAAI,CAAC,QAAQ,CAAC,UAAU,CACtB,IAAI,CAAC,QAAQ,CAAC,iBAAiB,CAAC,OAAO,CAAC,qBAAqB,CAAC,EAC9D,IAAI,CAAC,QAAQ,CAAC,iBAAiB,CAAC,MAAM,GAAG,CAAC,CAC3C,CAAC;aACH;SACF;aAAM;YACL,IAAI,oBAAoB,EAAE;gBACxB,kFAAkF;gBAClF,kEAAkE;gBAClE,IAAI,CAAC,QAAQ,CAAC,UAAU,CACtB,IAAI,CAAC,QAAQ,CAAC,iBAAiB,CAAC,OAAO,CAAC,qBAAqB,CAAC,EAC9D,CAAC,CACF,CAAC;gBAEF,IAAI,CAAC,YAAY,CAAC,oBAAoB,CAAC,CAAC;aACzC;SACF;IACH,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,iBAAiB;YACpD,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC;SACxB,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -15,7 +15,7 @@
|
|
15
15
|
*/
|
16
16
|
import { CollectionInstanceValue, LambdaFunctionInstanceValue, matchFunctionName, SimpleFunctionExpression, VariableExpression, } from '@finos/legend-graph';
|
17
17
|
import { assertTrue, assertType, guaranteeNonNullable, guaranteeType, isNonNullable, returnUndefOnError, UnsupportedOperationError, } from '@finos/legend-shared';
|
18
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../
|
18
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../graph/QueryBuilderMetaModelConst.js';
|
19
19
|
import { QueryBuilderValueSpecificationProcessor } from '../../../QueryBuilderStateBuilder.js';
|
20
20
|
import { extractNullableStringFromInstanceValue } from '../../../QueryBuilderValueSpecificationHelper.js';
|
21
21
|
import { FETCH_STRUCTURE_IMPLEMENTATION } from '../../QueryBuilderFetchStructureImplementationState.js';
|
package/lib/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderAggregationStateBuilder.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,uBAAuB,EACvB,2BAA2B,EAC3B,iBAAiB,EACjB,wBAAwB,EACxB,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,UAAU,EACV,UAAU,EACV,oBAAoB,EACpB,aAAa,EACb,aAAa,EACb,kBAAkB,EAClB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,iCAAiC,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"QueryBuilderAggregationStateBuilder.js","sourceRoot":"","sources":["../../../../../src/stores/fetch-structure/tds/aggregation/QueryBuilderAggregationStateBuilder.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,uBAAuB,EACvB,2BAA2B,EAC3B,iBAAiB,EACjB,wBAAwB,EACxB,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,UAAU,EACV,UAAU,EACV,oB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UAAU,CACR,aAAa,EACb,uBAAuB,EACvB,sFAAsF,CACvF,CAAC;IACF,UAAU,CACR,aAAa,CAAC,MAAM,CAAC,MAAM;QACzB,iBAAiB,CAAC,MAAM,CAAC,MAAM,GAAG,gBAAgB,CAAC,MAAM,CAAC,MAAM,EAClE,4FAA4F,CAC7F,CAAC;IACF,MAAM,OAAO,GAAG,aAAa,CAAC,MAAM;SACjC,GAAG,CAAC,sCAAsC,CAAC;SAC3C,MAAM,CAAC,aAAa,CAAC,CAAC;IAEzB,cAAc;IACd,IACE,iBAAiB,CAAC,mBAAmB,CAAC,cAAc;QACpD,oBAAoB,EACpB;QACA,MAAM,QAAQ,GAAG,iBAAiB,CAAC,mBAAmB,CAAC,cAAc,CAAC;QACtE,QAAQ,CAAC,iBAAiB,CAAC,OAAO,CAAC,CAAC,MAAM,EAAE,GAAG,EAAE,EAAE,CACjD,MAAM,CAAC,aAAa,CAAC,OAAO,CAAC,GAAG,CAAW,CAAC,CAC7C,CAAC;KACH;AACH,CAAC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderAggregateOperator_Average.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,0BAA0B,EAC/B,KAAK,IAAI,EAEV,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EACL,KAAK,iCAAiC,EAEvC,MAAM,uDAAuD,CAAC;AAM/D,OAAO,EAAE,KAAK,QAAQ,EAAa,MAAM,sBAAsB,CAAC;AAGhE,qBAAa,qCACX,SAAQ,6BACR,YAAW,QAAQ;IAEnB,QAAQ,CAAC,qBAAqB,EAAE,iCAAiC,GAAG,MAAM;IAI1E,sBAAsB,CACpB,qBAAqB,EAAE,iCAAiC,GACvD,OAAO;IAmBV,wBAAwB,CACtB,kBAAkB,EAAE,0BAA0B,GAAG,SAAS,EAC1D,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,SAAS,GACf,kBAAkB;IAQrB,yBAAyB,CACvB,UAAU,EAAE,wBAAwB,EACpC,WAAW,EAAE,kBAAkB,EAC/B,qBAAqB,EAAE,iCAAiC,GACvD,gCAAgC,GAAG,SAAS;IAUtC,aAAa,CACpB,oBAAoB,EAAE,gCAAgC,GACrD,IAAI;IAIP,IAAI,QAAQ,IAAI,MAAM,
|
1
|
+
{"version":3,"file":"QueryBuilderAggregateOperator_Average.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,0BAA0B,EAC/B,KAAK,IAAI,EAEV,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EACL,KAAK,iCAAiC,EAEvC,MAAM,uDAAuD,CAAC;AAM/D,OAAO,EAAE,KAAK,QAAQ,EAAa,MAAM,sBAAsB,CAAC;AAGhE,qBAAa,qCACX,SAAQ,6BACR,YAAW,QAAQ;IAEnB,QAAQ,CAAC,qBAAqB,EAAE,iCAAiC,GAAG,MAAM;IAI1E,sBAAsB,CACpB,qBAAqB,EAAE,iCAAiC,GACvD,OAAO;IAmBV,wBAAwB,CACtB,kBAAkB,EAAE,0BAA0B,GAAG,SAAS,EAC1D,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,SAAS,GACf,kBAAkB;IAQrB,yBAAyB,CACvB,UAAU,EAAE,wBAAwB,EACpC,WAAW,EAAE,kBAAkB,EAC/B,qBAAqB,EAAE,iCAAiC,GACvD,gCAAgC,GAAG,SAAS;IAUtC,aAAa,CACpB,oBAAoB,EAAE,gCAAgC,GACrD,IAAI;IAIP,IAAI,QAAQ,IAAI,MAAM,CAIrB;CACF"}
|
@@ -17,9 +17,9 @@ import { PRIMITIVE_TYPE, PrimitiveType, } from '@finos/legend-graph';
|
|
17
17
|
import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.js';
|
18
18
|
import { QueryBuilderSimpleProjectionColumnState, } from '../../projection/QueryBuilderProjectionColumnState.js';
|
19
19
|
import { buildAggregateColumnState, buildAggregateExpression, } from './QueryBuilderAggregateOperatorValueSpecificationBuilder.js';
|
20
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../
|
20
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../graph/QueryBuilderMetaModelConst.js';
|
21
21
|
import { hashArray } from '@finos/legend-shared';
|
22
|
-
import {
|
22
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../../../QueryBuilderStateHashUtils.js';
|
23
23
|
export class QueryBuilderAggregateOperator_Average extends QueryBuilderAggregateOperator {
|
24
24
|
getLabel(projectionColumnState) {
|
25
25
|
return 'average';
|
@@ -47,7 +47,9 @@ export class QueryBuilderAggregateOperator_Average extends QueryBuilderAggregate
|
|
47
47
|
return PrimitiveType.FLOAT;
|
48
48
|
}
|
49
49
|
get hashCode() {
|
50
|
-
return hashArray([
|
50
|
+
return hashArray([
|
51
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_OPERATOR_AVERAGE,
|
52
|
+
]);
|
51
53
|
}
|
52
54
|
}
|
53
55
|
//# sourceMappingURL=QueryBuilderAggregateOperator_Average.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderAggregateOperator_Average.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,cAAc,EAOd,aAAa,GACd,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAEL,uCAAuC,GACxC,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EACL,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,6DAA6D,CAAC;AACrE,OAAO,EAAE,iCAAiC,EAAE,MAAM
|
1
|
+
{"version":3,"file":"QueryBuilderAggregateOperator_Average.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Average.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,cAAc,EAOd,aAAa,GACd,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAEL,uCAAuC,GACxC,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EACL,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,6DAA6D,CAAC;AACrE,OAAO,EAAE,iCAAiC,EAAE,MAAM,oDAAoD,CAAC;AACvG,OAAO,EAAiB,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EAAE,kCAAkC,EAAE,MAAM,2CAA2C,CAAC;AAE/F,MAAM,OAAO,qCACX,SAAQ,6BAA6B;IAGrC,QAAQ,CAAC,qBAAwD;QAC/D,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,sBAAsB,CACpB,qBAAwD;QAExD,IACE,qBAAqB,YAAY,uCAAuC,EACxE;YACA,MAAM,YAAY,GAChB,qBAAqB,CAAC,uBAAuB,CAAC,kBAAkB,CAAC,IAAI;iBAClE,KAAK,CAAC,WAAW,CAAC,KAAK,CAAC,OAAO,CAAC;YACrC,OACE;gBACE,cAAc,CAAC,MAAM;gBACrB,cAAc,CAAC,OAAO;gBACtB,cAAc,CAAC,OAAO;gBACtB,cAAc,CAAC,KAAK;aAEvB,CAAC,QAAQ,CAAC,YAAY,CAAC,IAAI,CAAC,CAAC;SAC/B;QACD,OAAO,IAAI,CAAC;IACd,CAAC;IAED,wBAAwB,CACtB,kBAA0D,EAC1D,YAAoB,EACpB,KAAgB;QAEhB,OAAO,wBAAwB,CAC7B,iCAAiC,CAAC,OAAO,EACzC,YAAY,EACZ,KAAK,CACN,CAAC;IACJ,CAAC;IAED,yBAAyB,CACvB,UAAoC,EACpC,WAA+B,EAC/B,qBAAwD;QAExD,OAAO,yBAAyB,CAC9B,qBAAqB,EACrB,WAAW,EACX,UAAU,EACV,iCAAiC,CAAC,OAAO,EACzC,IAAI,CACL,CAAC;IACJ,CAAC;IAEQ,aAAa,CACpB,oBAAsD;QAEtD,OAAO,aAAa,CAAC,KAAK,CAAC;IAC7B,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,SAAS,CAAC;YACf,kCAAkC,CAAC,0BAA0B;SAC9D,CAAC,CAAC;IACL,CAAC;CACF"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderAggregateOperator_Count.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,IAAI,EACT,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,0BAA0B,EAGhC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EACL,KAAK,iCAAiC,EAEvC,MAAM,uDAAuD,CAAC;AAM/D,OAAO,EAAE,KAAK,QAAQ,EAAa,MAAM,sBAAsB,CAAC;AAGhE,qBAAa,mCACX,SAAQ,6BACR,YAAW,QAAQ;IAEnB,QAAQ,CAAC,qBAAqB,EAAE,iCAAiC,GAAG,MAAM;IAI1E,sBAAsB,CACpB,qBAAqB,EAAE,iCAAiC,GACvD,OAAO;IA0BV,wBAAwB,CACtB,kBAAkB,EAAE,0BAA0B,GAAG,SAAS,EAC1D,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,SAAS,GACf,kBAAkB;IAQrB,yBAAyB,CACvB,UAAU,EAAE,wBAAwB,EACpC,WAAW,EAAE,kBAAkB,EAC/B,qBAAqB,EAAE,iCAAiC,GACvD,gCAAgC,GAAG,SAAS;IAUtC,aAAa,CACpB,oBAAoB,EAAE,gCAAgC,GACrD,IAAI;IAIP,IAAI,QAAQ,IAAI,MAAM,
|
1
|
+
{"version":3,"file":"QueryBuilderAggregateOperator_Count.d.ts","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,KAAK,IAAI,EACT,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACd,KAAK,0BAA0B,EAGhC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,oCAAoC,CAAC;AAC3F,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EACL,KAAK,iCAAiC,EAEvC,MAAM,uDAAuD,CAAC;AAM/D,OAAO,EAAE,KAAK,QAAQ,EAAa,MAAM,sBAAsB,CAAC;AAGhE,qBAAa,mCACX,SAAQ,6BACR,YAAW,QAAQ;IAEnB,QAAQ,CAAC,qBAAqB,EAAE,iCAAiC,GAAG,MAAM;IAI1E,sBAAsB,CACpB,qBAAqB,EAAE,iCAAiC,GACvD,OAAO;IA0BV,wBAAwB,CACtB,kBAAkB,EAAE,0BAA0B,GAAG,SAAS,EAC1D,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,SAAS,GACf,kBAAkB;IAQrB,yBAAyB,CACvB,UAAU,EAAE,wBAAwB,EACpC,WAAW,EAAE,kBAAkB,EAC/B,qBAAqB,EAAE,iCAAiC,GACvD,gCAAgC,GAAG,SAAS;IAUtC,aAAa,CACpB,oBAAoB,EAAE,gCAAgC,GACrD,IAAI;IAIP,IAAI,QAAQ,IAAI,MAAM,CAIrB;CACF"}
|
package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.js
CHANGED
@@ -17,9 +17,9 @@ import { PRIMITIVE_TYPE, Enumeration, PrimitiveType, } from '@finos/legend-graph
|
|
17
17
|
import { QueryBuilderAggregateOperator } from '../QueryBuilderAggregateOperator.js';
|
18
18
|
import { QueryBuilderSimpleProjectionColumnState, } from '../../projection/QueryBuilderProjectionColumnState.js';
|
19
19
|
import { buildAggregateColumnState, buildAggregateExpression, } from './QueryBuilderAggregateOperatorValueSpecificationBuilder.js';
|
20
|
-
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../
|
20
|
+
import { QUERY_BUILDER_SUPPORTED_FUNCTIONS } from '../../../../../graph/QueryBuilderMetaModelConst.js';
|
21
21
|
import { hashArray } from '@finos/legend-shared';
|
22
|
-
import {
|
22
|
+
import { QUERY_BUILDER_STATE_HASH_STRUCTURE } from '../../../../QueryBuilderStateHashUtils.js';
|
23
23
|
export class QueryBuilderAggregateOperator_Count extends QueryBuilderAggregateOperator {
|
24
24
|
getLabel(projectionColumnState) {
|
25
25
|
return 'count';
|
@@ -52,7 +52,9 @@ export class QueryBuilderAggregateOperator_Count extends QueryBuilderAggregateOp
|
|
52
52
|
return PrimitiveType.INTEGER;
|
53
53
|
}
|
54
54
|
get hashCode() {
|
55
|
-
return hashArray([
|
55
|
+
return hashArray([
|
56
|
+
QUERY_BUILDER_STATE_HASH_STRUCTURE.AGGREGATE_OPERATOR_COUNT,
|
57
|
+
]);
|
56
58
|
}
|
57
59
|
}
|
58
60
|
//# sourceMappingURL=QueryBuilderAggregateOperator_Count.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderAggregateOperator_Count.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,cAAc,EAOd,WAAW,EACX,aAAa,GACd,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAEL,uCAAuC,GACxC,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EACL,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,6DAA6D,CAAC;AACrE,OAAO,EAAE,iCAAiC,EAAE,MAAM
|
1
|
+
{"version":3,"file":"QueryBuilderAggregateOperator_Count.js","sourceRoot":"","sources":["../../../../../../src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Count.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,cAAc,EAOd,WAAW,EACX,aAAa,GACd,MAAM,qBAAqB,CAAC;AAE7B,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AACpF,OAAO,EAEL,uCAAuC,GACxC,MAAM,uDAAuD,CAAC;AAC/D,OAAO,EACL,yBAAyB,EACzB,wBAAwB,GACzB,MAAM,6DAA6D,CAAC;AACrE,OAAO,EAAE,iCAAiC,EAAE,MAAM,oDAAoD,CAAC;AACvG,OAAO,EAAiB,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACh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