@finos/legend-query-builder 4.14.47 → 4.14.49
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/__lib__/QueryBuilderDocumentation.d.ts +3 -1
- package/lib/__lib__/QueryBuilderDocumentation.d.ts.map +1 -1
- package/lib/__lib__/QueryBuilderDocumentation.js +2 -0
- package/lib/__lib__/QueryBuilderDocumentation.js.map +1 -1
- package/lib/components/QueryBuilder.d.ts +1 -1
- package/lib/components/QueryBuilder.d.ts.map +1 -1
- package/lib/components/QueryBuilder.js +59 -46
- package/lib/components/QueryBuilder.js.map +1 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.d.ts +1 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.js +22 -22
- package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -1
- package/lib/components/QueryBuilderDiffPanel.d.ts +2 -2
- package/lib/components/QueryBuilderDiffPanel.js +7 -6
- package/lib/components/QueryBuilderDiffPanel.js.map +1 -1
- package/lib/components/QueryBuilderParametersPanel.d.ts +1 -1
- package/lib/components/QueryBuilderParametersPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderParametersPanel.js +29 -10
- package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
- package/lib/components/QueryBuilderPropertyExpressionEditor.d.ts +3 -3
- package/lib/components/QueryBuilderPropertyExpressionEditor.js +14 -13
- package/lib/components/QueryBuilderPropertyExpressionEditor.js.map +1 -1
- package/lib/components/QueryBuilderSideBar.d.ts +2 -2
- package/lib/components/QueryBuilderSideBar.d.ts.map +1 -1
- package/lib/components/QueryBuilderSideBar.js +14 -24
- package/lib/components/QueryBuilderSideBar.js.map +1 -1
- package/lib/components/QueryBuilderTextEditor.d.ts +1 -1
- package/lib/components/QueryBuilderTextEditor.js +8 -7
- package/lib/components/QueryBuilderTextEditor.js.map +1 -1
- package/lib/components/QueryBuilderUnsupportedQueryEditor.d.ts +1 -1
- package/lib/components/QueryBuilderUnsupportedQueryEditor.js +4 -3
- package/lib/components/QueryBuilderUnsupportedQueryEditor.js.map +1 -1
- package/lib/components/QueryChat.d.ts +1 -1
- package/lib/components/QueryChat.js +3 -2
- package/lib/components/QueryChat.js.map +1 -1
- package/lib/components/QueryLoader.d.ts +2 -2
- package/lib/components/QueryLoader.js +25 -24
- package/lib/components/QueryLoader.js.map +1 -1
- package/lib/components/QueryUsageViewer.d.ts +1 -1
- package/lib/components/QueryUsageViewer.js +4 -3
- package/lib/components/QueryUsageViewer.js.map +1 -1
- package/lib/components/ServiceQuerySetupUtils.js +4 -3
- package/lib/components/ServiceQuerySetupUtils.js.map +1 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js +3 -2
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js.map +1 -1
- package/lib/components/data-access/DataAccessOverview.d.ts +1 -1
- package/lib/components/data-access/DataAccessOverview.js +17 -16
- package/lib/components/data-access/DataAccessOverview.js.map +1 -1
- package/lib/components/execution-plan/AllocationExecutionNodeViewer.js +4 -3
- package/lib/components/execution-plan/AllocationExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/ConstantExecutionNodeViewer.js +3 -2
- package/lib/components/execution-plan/ConstantExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/DataTypeResultTypeViewer.js +4 -3
- package/lib/components/execution-plan/DataTypeResultTypeViewer.js.map +1 -1
- package/lib/components/execution-plan/ExecutionPlanViewer.d.ts +3 -3
- package/lib/components/execution-plan/ExecutionPlanViewer.js +34 -33
- package/lib/components/execution-plan/ExecutionPlanViewer.js.map +1 -1
- package/lib/components/execution-plan/FunctionParametersValidationNodeViewer.js +3 -2
- package/lib/components/execution-plan/FunctionParametersValidationNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/ImplementationViewer.js +4 -3
- package/lib/components/execution-plan/ImplementationViewer.js.map +1 -1
- package/lib/components/execution-plan/PartialClassResultViewer.js +3 -2
- package/lib/components/execution-plan/PartialClassResultViewer.js.map +1 -1
- package/lib/components/execution-plan/RelationalClassQueryTempTableGraphFetchExecutionNodeViewer.js +6 -5
- package/lib/components/execution-plan/RelationalClassQueryTempTableGraphFetchExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/RelationalCrossRootQueryTempTableGraphFetchExecutionNodeViewer.js +7 -6
- package/lib/components/execution-plan/RelationalCrossRootQueryTempTableGraphFetchExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/RelationalRootQueryTempTableGraphFetchExecutionNodeViewer.js +6 -5
- package/lib/components/execution-plan/RelationalRootQueryTempTableGraphFetchExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/RelationalTDSInstantiationExecutionNodeViewer.js +4 -3
- package/lib/components/execution-plan/RelationalTDSInstantiationExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/ResultTypeViewer.js +5 -4
- package/lib/components/execution-plan/ResultTypeViewer.js.map +1 -1
- package/lib/components/execution-plan/SQLExecutionNodeViewer.js +7 -6
- package/lib/components/execution-plan/SQLExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/SequenceExecutionNodeViewer.js +6 -5
- package/lib/components/execution-plan/SequenceExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.js +6 -5
- package/lib/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/TDSResultTypeViewer.js +4 -3
- package/lib/components/execution-plan/TDSResultTypeViewer.js.map +1 -1
- package/lib/components/execution-plan/TempTableStrategyViewer.js +3 -2
- package/lib/components/execution-plan/TempTableStrategyViewer.js.map +1 -1
- package/lib/components/explorer/QueryBuilderExplorerPanel.d.ts +1 -1
- package/lib/components/explorer/QueryBuilderExplorerPanel.js +31 -30
- package/lib/components/explorer/QueryBuilderExplorerPanel.js.map +1 -1
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.d.ts +1 -1
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js +20 -19
- package/lib/components/explorer/QueryBuilderFunctionsExplorerPanel.js.map +1 -1
- package/lib/components/explorer/{QueryBuilderMilestoningEditor.d.ts → QueryBuilderMilestoningParameterEditor.d.ts} +6 -3
- package/lib/components/explorer/QueryBuilderMilestoningParameterEditor.d.ts.map +1 -0
- package/lib/components/explorer/QueryBuilderMilestoningParameterEditor.js +53 -0
- package/lib/components/explorer/QueryBuilderMilestoningParameterEditor.js.map +1 -0
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.d.ts +1 -1
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js +18 -17
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.d.ts +1 -1
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js +9 -8
- package/lib/components/fetch-structure/QueryBuilderFetchStructurePanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts +3 -3
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js +24 -23
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts +4 -3
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js +76 -54
- package/lib/components/fetch-structure/QueryBuilderPostFilterPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.d.ts +1 -1
- package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.js +3 -2
- package/lib/components/fetch-structure/QueryBuilderPostTDSPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts +1 -1
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js +201 -29
- package/lib/components/fetch-structure/QueryBuilderResultModifierPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSComponentHelper.js +9 -8
- package/lib/components/fetch-structure/QueryBuilderTDSComponentHelper.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js +55 -36
- package/lib/components/fetch-structure/QueryBuilderTDSPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.d.ts +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js +29 -28
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js.map +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.d.ts +1 -1
- package/lib/components/filter/QueryBuilderFilterPanel.js +20 -19
- package/lib/components/filter/QueryBuilderFilterPanel.js.map +1 -1
- package/lib/components/result/QueryBuilderResultPanel.d.ts +2 -2
- package/lib/components/result/QueryBuilderResultPanel.d.ts.map +1 -1
- package/lib/components/result/QueryBuilderResultPanel.js +19 -17
- package/lib/components/result/QueryBuilderResultPanel.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSGridResult.d.ts +1 -1
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js +11 -10
- package/lib/components/result/tds/QueryBuilderTDSGridResult.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSResultShared.js +5 -4
- package/lib/components/result/tds/QueryBuilderTDSResultShared.js.map +1 -1
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.d.ts +1 -1
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js +9 -8
- package/lib/components/result/tds/QueryBuilderTDSSimpleGridResult.js.map +1 -1
- package/lib/components/shared/BasicValueSpecificationEditor.js +38 -37
- package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
- package/lib/components/shared/CustomDatePicker.js +21 -20
- package/lib/components/shared/CustomDatePicker.js.map +1 -1
- package/lib/components/shared/LambdaEditor.d.ts +2 -2
- package/lib/components/shared/LambdaEditor.js +14 -13
- package/lib/components/shared/LambdaEditor.js.map +1 -1
- package/lib/components/shared/LambdaParameterValuesEditor.d.ts +1 -1
- package/lib/components/shared/LambdaParameterValuesEditor.js +7 -6
- package/lib/components/shared/LambdaParameterValuesEditor.js.map +1 -1
- package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js +4 -3
- package/lib/components/shared/QueryBuilderPanelIssueCountBadge.js.map +1 -1
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js +10 -9
- package/lib/components/shared/QueryBuilderPropertyInfoTooltip.js.map +1 -1
- package/lib/components/shared/QueryBuilderRootClassInfoTooltip.js +4 -3
- package/lib/components/shared/QueryBuilderRootClassInfoTooltip.js.map +1 -1
- package/lib/components/shared/QueryBuilderVariableSelector.d.ts +2 -2
- package/lib/components/shared/QueryBuilderVariableSelector.d.ts.map +1 -1
- package/lib/components/shared/QueryBuilderVariableSelector.js +15 -7
- package/lib/components/shared/QueryBuilderVariableSelector.js.map +1 -1
- package/lib/components/workflows/ClassQueryBuilder.js +6 -5
- package/lib/components/workflows/ClassQueryBuilder.js.map +1 -1
- package/lib/components/workflows/MappingQueryBuilder.js +6 -5
- package/lib/components/workflows/MappingQueryBuilder.js.map +1 -1
- package/lib/components/workflows/ServiceQueryBuilder.js +6 -5
- package/lib/components/workflows/ServiceQueryBuilder.js.map +1 -1
- package/lib/graph-manager/QueryBuilderConfig.d.ts +4 -0
- package/lib/graph-manager/QueryBuilderConfig.d.ts.map +1 -1
- package/lib/graph-manager/QueryBuilderConfig.js +5 -0
- package/lib/graph-manager/QueryBuilderConfig.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts +2 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.d.ts.map +1 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.js +3 -3
- package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -1
- package/lib/stores/QueryLoaderState.d.ts +1 -0
- package/lib/stores/QueryLoaderState.d.ts.map +1 -1
- package/lib/stores/QueryLoaderState.js +1 -0
- package/lib/stores/QueryLoaderState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts +1 -0
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js +8 -0
- package/lib/stores/fetch-structure/tds/QueryBuilderTDSState.js.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Percentile.d.ts.map +1 -1
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Percentile.js +4 -2
- package/lib/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Percentile.js.map +1 -1
- package/lib/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.d.ts.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/filter/QueryBuilderFilterStateBuilder.d.ts.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.js +1 -1
- package/lib/stores/filter/QueryBuilderFilterStateBuilder.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.d.ts +2 -0
- package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.d.ts.map +1 -1
- package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.js +13 -2
- package/lib/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.d.ts +2 -0
- package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.d.ts.map +1 -1
- package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.js +8 -1
- package/lib/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningHelper.d.ts +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningHelper.d.ts.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningHelper.js +25 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningHelper.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningImplementation.d.ts +2 -0
- package/lib/stores/milestoning/QueryBuilderMilestoningImplementation.d.ts.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningImplementation.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningState.d.ts +5 -0
- package/lib/stores/milestoning/QueryBuilderMilestoningState.d.ts.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningState.js +62 -3
- package/lib/stores/milestoning/QueryBuilderMilestoningState.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.d.ts +2 -0
- package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.d.ts.map +1 -1
- package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.js +8 -1
- package/lib/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.js.map +1 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts +1 -0
- package/lib/stores/shared/ValueSpecificationEditorHelper.d.ts.map +1 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.js +7 -1
- package/lib/stores/shared/ValueSpecificationEditorHelper.js.map +1 -1
- package/package.json +4 -4
- package/src/__lib__/QueryBuilderDocumentation.ts +2 -0
- package/src/components/QueryBuilder.tsx +44 -0
- package/src/components/QueryBuilderConstantExpressionPanel.tsx +13 -4
- package/src/components/QueryBuilderParametersPanel.tsx +55 -0
- package/src/components/QueryBuilderSideBar.tsx +0 -42
- package/src/components/explorer/QueryBuilderMilestoningParameterEditor.tsx +114 -0
- package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +143 -78
- package/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx +445 -19
- package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +134 -21
- package/src/components/result/QueryBuilderResultPanel.tsx +9 -1
- package/src/components/shared/QueryBuilderVariableSelector.tsx +22 -0
- package/src/graph-manager/QueryBuilderConfig.ts +6 -0
- package/src/stores/QueryBuilderValueSpecificationHelper.ts +4 -1
- package/src/stores/QueryLoaderState.ts +1 -0
- package/src/stores/fetch-structure/tds/QueryBuilderTDSState.ts +11 -0
- package/src/stores/fetch-structure/tds/aggregation/operators/QueryBuilderAggregateOperator_Percentile.ts +6 -2
- package/src/stores/fetch-structure/tds/projection/QueryBuilderProjectionStateBuilder.ts +1 -0
- package/src/stores/filter/QueryBuilderFilterStateBuilder.ts +1 -0
- package/src/stores/milestoning/QueryBuilderBitemporalMilestoningImplementation.ts +23 -0
- package/src/stores/milestoning/QueryBuilderBusinessTemporalMilestoningImplementation.ts +13 -0
- package/src/stores/milestoning/QueryBuilderMilestoningHelper.ts +45 -0
- package/src/stores/milestoning/QueryBuilderMilestoningImplementation.ts +3 -0
- package/src/stores/milestoning/QueryBuilderMilestoningState.ts +95 -7
- package/src/stores/milestoning/QueryBuilderProcessingTemporalMilestoningImplementation.ts +13 -0
- package/src/stores/shared/ValueSpecificationEditorHelper.ts +11 -0
- package/tsconfig.json +1 -1
- package/lib/components/explorer/QueryBuilderMilestoningEditor.d.ts.map +0 -1
- package/lib/components/explorer/QueryBuilderMilestoningEditor.js +0 -102
- package/lib/components/explorer/QueryBuilderMilestoningEditor.js.map +0 -1
- package/src/components/explorer/QueryBuilderMilestoningEditor.tsx +0 -364
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
|
2
|
+
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-query-builder/src/components/fetch-structure/QueryBuilderPostTDSPanel.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -27,6 +28,6 @@ export const QueryBuilderPostTDSPanel = observer((props) => {
|
|
27
28
|
if (!tdsState.TEMPORARY__showPostFetchStructurePanel) {
|
28
29
|
return null;
|
29
30
|
}
|
30
|
-
return (
|
31
|
+
return (_jsxDEV(ResizablePanelGroup, { orientation: "horizontal", children: [showFilterPanel && (_jsxDEV(ResizablePanel, { minSize: 40, direction: 1, children: _jsxDEV(QueryBuilderFilterPanel, { queryBuilderState: tdsState.queryBuilderState }, void 0, false, { fileName: _jsxFileName, lineNumber: 41, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 39, columnNumber: 30 }, this)), showFilterPanel && (showWindowFuncPanel || showPostFilterPanel) && (_jsxDEV(ResizablePanelSplitter, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 46, columnNumber: 78 }, this)), showWindowFuncPanel && (_jsxDEV(ResizablePanel, { minSize: 40, children: _jsxDEV(QueryBuilderTDSWindowPanel, { tdsWindowState: tdsState.windowState }, void 0, false, { fileName: _jsxFileName, lineNumber: 51, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 49, columnNumber: 34 }, this)), showWindowFuncPanel && showPostFilterPanel && (_jsxDEV(ResizablePanelSplitter, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 54, columnNumber: 57 }, this)), showPostFilterPanel && (_jsxDEV(ResizablePanel, { minSize: 40, children: _jsxDEV(QueryBuilderPostFilterPanel, { queryBuilderState: tdsState.queryBuilderState }, void 0, false, { fileName: _jsxFileName, lineNumber: 59, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 57, columnNumber: 34 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 37, columnNumber: 13 }, this));
|
31
32
|
});
|
32
33
|
//# sourceMappingURL=QueryBuilderPostTDSPanel.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPostTDSPanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderPostTDSPanel.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"QueryBuilderPostTDSPanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderPostTDSPanel.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,mBAAmB,EACnB,cAAc,EACd,sBAAsB,GACvB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAC7E,OAAO,EAAE,2BAA2B,EAAE,MAAM,kCAAkC,CAAC;AAG/E,MAAM,CAAC,MAAM,wBAAwB,GAAG,QAAQ,CAC9C,CAAC,KAAyC,EAAE,EAAE;IAC5C,MAAM,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IAC3B,MAAM,eAAe,GAAG,QAAQ,CAAC,iBAAiB,CAAC,WAAW,CAAC,SAAS,CAAC;IACzE,MAAM,mBAAmB,GAAG,QAAQ,CAAC,mBAAmB,CAAC;IACzD,MAAM,mBAAmB,GAAG,QAAQ,CAAC,mBAAmB,CAAC;IACzD,IAAI,CAAC,QAAQ,CAAC,sCAAsC,EAAE,CAAC;QACrD,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,CACL,QAAC,mBAAmB,IAAC,WAAW,EAAC,YAAY,aAC1C,eAAe,IAAI,CAClB,QAAC,cAAc,IAAC,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,YACvC,QAAC,uBAAuB,IACtB,iBAAiB,EAAE,QAAQ,CAAC,iBAAiB,sFAC7C,sFACa,CAClB,EACA,eAAe,IAAI,CAAC,mBAAmB,IAAI,mBAAmB,CAAC,IAAI,CAClE,QAAC,sBAAsB,wFAAG,CAC3B,EACA,mBAAmB,IAAI,CACtB,QAAC,cAAc,IAAC,OAAO,EAAE,EAAE,YACzB,QAAC,0BAA0B,IAAC,cAAc,EAAE,QAAQ,CAAC,WAAW,sFAAI,sFACrD,CAClB,EACA,mBAAmB,IAAI,mBAAmB,IAAI,CAC7C,QAAC,sBAAsB,wFAAG,CAC3B,EACA,mBAAmB,IAAI,CACtB,QAAC,cAAc,IAAC,OAAO,EAAE,EAAE,YACzB,QAAC,2BAA2B,IAC1B,iBAAiB,EAAE,QAAQ,CAAC,iBAAiB,sFAC7C,sFACa,CAClB,sFACmB,CACvB,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -16,7 +16,7 @@
|
|
16
16
|
import type { QueryBuilderTDSState } from '../../stores/fetch-structure/tds/QueryBuilderTDSState.js';
|
17
17
|
export declare const QueryResultModifierModal: ((props: {
|
18
18
|
tdsState: QueryBuilderTDSState;
|
19
|
-
}) => import("react/jsx-runtime").JSX.Element) & {
|
19
|
+
}) => import("react/jsx-dev-runtime").JSX.Element) & {
|
20
20
|
displayName: string;
|
21
21
|
};
|
22
22
|
//# sourceMappingURL=QueryBuilderResultModifierPanel.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderResultModifierPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
1
|
+
{"version":3,"file":"QueryBuilderResultModifierPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAkCH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AA+MrG,eAAO,MAAM,wBAAwB,WAC3B;IAAE,QAAQ,EAAE,oBAAoB,CAAA;CAAE;;CA8uB3C,CAAC"}
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { jsxDEV as _jsxDEV, Fragment as _Fragment } from "react/jsx-dev-runtime";
|
2
|
+
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-query-builder/src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -15,17 +16,20 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
15
16
|
* limitations under the License.
|
16
17
|
*/
|
17
18
|
import { observer } from 'mobx-react-lite';
|
18
|
-
import { clsx, Dialog, CustomSelectorInput, CheckSquareIcon, SquareIcon, TimesIcon, Modal, ModalBody, ModalFooter, ModalHeader, ModalFooterButton, InputWithInlineValidation, PanelDivider, PanelDropZone, PanelFormSection, ArrowUpIcon, ArrowDownIcon, } from '@finos/legend-art';
|
19
|
+
import { clsx, Dialog, CustomSelectorInput, CheckSquareIcon, SquareIcon, TimesIcon, Modal, ModalBody, ModalFooter, ModalHeader, ModalFooterButton, InputWithInlineValidation, PanelDivider, PanelDropZone, PanelFormSection, ArrowUpIcon, ArrowDownIcon, PanelFormBooleanField, PanelFormListItems, } from '@finos/legend-art';
|
19
20
|
import { SortColumnState } from '../../stores/fetch-structure/tds/QueryResultSetModifierState.js';
|
20
|
-
import { addUniqueEntry, clone, deepClone, deleteEntry, guaranteeNonNullable, } from '@finos/legend-shared';
|
21
|
+
import { addUniqueEntry, clone, deepClone, deleteEntry, guaranteeNonNullable, isNonNullable, } from '@finos/legend-shared';
|
21
22
|
import { useApplicationStore } from '@finos/legend-application';
|
22
|
-
import { COLUMN_SORT_TYPE } from '../../graph/QueryBuilderMetaModelConst.js';
|
23
|
+
import { COLUMN_SORT_TYPE, QUERY_BUILDER_SUPPORTED_GET_ALL_FUNCTIONS, } from '../../graph/QueryBuilderMetaModelConst.js';
|
23
24
|
import { useCallback, useEffect, useState } from 'react';
|
24
25
|
import { QUERY_BUILDER_TEST_ID } from '../../__lib__/QueryBuilderTesting.js';
|
25
|
-
import { VariableSelector } from '../shared/QueryBuilderVariableSelector.js';
|
26
|
-
import { PrimitiveType, Multiplicity, areMultiplicitiesEqual, } from '@finos/legend-graph';
|
26
|
+
import { VariableSelector, VariableViewer, } from '../shared/QueryBuilderVariableSelector.js';
|
27
|
+
import { VariableExpression, PrimitiveType, Multiplicity, areMultiplicitiesEqual, PRIMITIVE_TYPE, MILESTONING_START_DATE_PARAMETER_NAME, GenericType, GenericTypeExplicitReference, MILESTONING_END_DATE_PARAMETER_NAME, getMilestoneTemporalStereotype, BUSINESS_DATE_MILESTONING_PROPERTY_NAME, PROCESSING_DATE_MILESTONING_PROPERTY_NAME, } from '@finos/legend-graph';
|
27
28
|
import { BasicValueSpecificationEditor, QUERY_BUILDER_VARIABLE_DND_TYPE, } from '../shared/BasicValueSpecificationEditor.js';
|
28
29
|
import { useDrop } from 'react-dnd';
|
30
|
+
import { MilestoningParameterEditor } from '../explorer/QueryBuilderMilestoningParameterEditor.js';
|
31
|
+
import { QueryBuilderSimpleConstantExpressionState } from '../../stores/QueryBuilderConstantsState.js';
|
32
|
+
import { LambdaParameterState } from '../../stores/shared/LambdaParameterState.js';
|
29
33
|
const ColumnSortEditor = observer((props) => {
|
30
34
|
const { sortColumns, setSortColumns, sortState, tdsColumns } = props;
|
31
35
|
const applicationStore = useApplicationStore();
|
@@ -59,8 +63,8 @@ const ColumnSortEditor = observer((props) => {
|
|
59
63
|
sortState.setSortType(COLUMN_SORT_TYPE.ASC);
|
60
64
|
}
|
61
65
|
};
|
62
|
-
return (
|
63
|
-
(projectionOptions.length === 1 && Boolean(value)), onChange: onChange, value: value, darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled }),
|
66
|
+
return (_jsxDEV("div", { className: "panel__content__form__section__list__item query-builder__projection__options__sort", children: [_jsxDEV(CustomSelectorInput, { className: "query-builder__projection__options__sort__dropdown", options: projectionOptions, disabled: projectionOptions.length < 1 ||
|
67
|
+
(projectionOptions.length === 1 && Boolean(value)), onChange: onChange, value: value, darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled }, void 0, false, { fileName: _jsxFileName, lineNumber: 136, columnNumber: 9 }, this), _jsxDEV("div", { className: "query-builder__projection__options__sort__sortby", children: sortType.toLowerCase() }, void 0, false, { fileName: _jsxFileName, lineNumber: 149, columnNumber: 9 }, this), _jsxDEV("button", { className: "query-builder__projection__options__sort__sortby--btn btn--dark", tabIndex: -1, onClick: changeSortBy, title: "Choose SortBy Operator...", children: sortState.sortType === COLUMN_SORT_TYPE.ASC ? (_jsxDEV(ArrowUpIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 158, columnNumber: 59 }, this)) : (_jsxDEV(ArrowDownIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 160, columnNumber: 16 }, this)) }, void 0, false, { fileName: _jsxFileName, lineNumber: 152, columnNumber: 9 }, this), _jsxDEV("button", { className: "query-builder__projection__options__sort__remove-btn btn--dark btn--caution", onClick: deleteColumnSort, tabIndex: -1, title: "Remove", "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_RESULT_MODIFIER_PANEL_SORT_REMOVE_BTN, children: _jsxDEV(TimesIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 173, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 164, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 134, columnNumber: 13 }, this));
|
64
68
|
});
|
65
69
|
const ColumnsSortEditor = observer((props) => {
|
66
70
|
const { projectionColumns, sortColumns, setSortColumns, tdsColumns } = props;
|
@@ -78,7 +82,7 @@ const ColumnsSortEditor = observer((props) => {
|
|
78
82
|
setSortColumns(newSortColumns);
|
79
83
|
}
|
80
84
|
};
|
81
|
-
return (
|
85
|
+
return (_jsxDEV("div", { className: "panel__content__form__section", children: [_jsxDEV("div", { className: "panel__content__form__section__header__label", children: "Sort and Order" }, void 0, false, { fileName: _jsxFileName, lineNumber: 211, columnNumber: 9 }, this), _jsxDEV("div", { className: "panel__content__form__section__header__prompt", children: "Choose the column(s) and order direction(s) that the results should be arranged by" }, void 0, false, { fileName: _jsxFileName, lineNumber: 214, columnNumber: 9 }, this), _jsxDEV("div", { className: "panel__content__form__section__list", children: [_jsxDEV("div", { className: "panel__content__form__section__list__items", children: sortColumns.map((value) => (_jsxDEV(ColumnSortEditor, { sortColumns: sortColumns, setSortColumns: setSortColumns, sortState: value, tdsColumns: tdsColumns }, value.columnState.uuid, false, { fileName: _jsxFileName, lineNumber: 221, columnNumber: 42 }, this))) }, void 0, false, { fileName: _jsxFileName, lineNumber: 219, columnNumber: 11 }, this), _jsxDEV("div", { className: "panel__content__form__section__list__new-item__add", children: _jsxDEV("button", { className: "panel__content__form__section__list__new-item__add-btn btn btn--dark", disabled: !projectionOptions.length, onClick: addValue, tabIndex: -1, children: "Add Value" }, void 0, false, { fileName: _jsxFileName, lineNumber: 232, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 231, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 218, columnNumber: 9 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 209, columnNumber: 13 }, this));
|
82
86
|
});
|
83
87
|
const cloneSortColumnStateArray = (sortColumns) => sortColumns.map((sortColumn) => {
|
84
88
|
const newSortColumn = new SortColumnState(sortColumn.columnState);
|
@@ -116,21 +120,6 @@ export const QueryResultModifierModal = observer((props) => {
|
|
116
120
|
stateLimitResults,
|
117
121
|
stateSlice,
|
118
122
|
]);
|
119
|
-
// Handle user actions
|
120
|
-
const closeModal = () => resultSetModifierState.setShowModal(false);
|
121
|
-
const applyChanges = () => {
|
122
|
-
resultSetModifierState.setSortColumns(sortColumns);
|
123
|
-
resultSetModifierState.setDistinct(distinct);
|
124
|
-
resultSetModifierState.setLimit(limitResults);
|
125
|
-
if (slice[0] !== undefined && slice[1] !== undefined) {
|
126
|
-
resultSetModifierState.setSlice([slice[0], slice[1]]);
|
127
|
-
}
|
128
|
-
else {
|
129
|
-
resultSetModifierState.setSlice(undefined);
|
130
|
-
}
|
131
|
-
resultSetModifierState.setShowModal(false);
|
132
|
-
watermarkState.setValue(watermarkValue);
|
133
|
-
};
|
134
123
|
const handleLimitResultsChange = (event) => {
|
135
124
|
const val = event.target.value.replace(/[^0-9]/g, '');
|
136
125
|
setLimitResults(val === '' ? undefined : parseInt(val, 10));
|
@@ -194,19 +183,202 @@ export const QueryResultModifierModal = observer((props) => {
|
|
194
183
|
}),
|
195
184
|
}),
|
196
185
|
}), [handleDrop]);
|
197
|
-
|
186
|
+
//milestoning config
|
187
|
+
const isCompatibleMilestoningParameter = (variable) => variable.genericType?.value.rawType.name === PRIMITIVE_TYPE.STRICTDATE ||
|
188
|
+
variable.genericType?.value.rawType.name === PRIMITIVE_TYPE.LATESTDATE ||
|
189
|
+
variable.genericType?.value.rawType.name === PRIMITIVE_TYPE.DATE ||
|
190
|
+
variable.genericType?.value.rawType.name === PRIMITIVE_TYPE.DATETIME;
|
191
|
+
const milestoningState = tdsState.queryBuilderState.milestoningState;
|
192
|
+
const [parameterStates, setParameterStates] = useState(milestoningState.queryBuilderState.parametersState.parameterStates);
|
193
|
+
const filteredParameterStates = parameterStates.filter((p) => isCompatibleMilestoningParameter(p.parameter));
|
194
|
+
const filteredConstantState = milestoningState.queryBuilderState.constantState.constants.filter((c) => isCompatibleMilestoningParameter(c.variable));
|
195
|
+
const [isAllVersionsEnabled, setIsAllVersionsEnabled] = useState(milestoningState.isAllVersionsEnabled);
|
196
|
+
const [isAllVersionsInRangeEnabled, setIsAllVersionsInRangeEnabled] = useState(milestoningState.isAllVersionsInRangeEnabled);
|
197
|
+
const [businessDate, setBusinessDate] = useState(milestoningState.businessDate);
|
198
|
+
const [processingDate, setProcessingDate] = useState(milestoningState.processingDate);
|
199
|
+
const [startDate, setStartDate] = useState(milestoningState.startDate);
|
200
|
+
const [endDate, setEndDate] = useState(milestoningState.endDate);
|
201
|
+
const shouldFilterMilestoningParamIfNotUsed = (param, resetParameter) => {
|
202
|
+
if (param && param instanceof VariableExpression) {
|
203
|
+
if (!milestoningState.queryBuilderState.isVariableUsed(param, {
|
204
|
+
exculdeMilestoningState: true,
|
205
|
+
})) {
|
206
|
+
resetParameter(undefined);
|
207
|
+
return (lambdaParamState) => lambdaParamState.parameter.name !== param.name;
|
208
|
+
}
|
209
|
+
}
|
210
|
+
return (lambdaParamState) => true;
|
211
|
+
};
|
212
|
+
const setAllVersions = (value) => {
|
213
|
+
if (value) {
|
214
|
+
//clean all unused milestoning parameters e.g. businessDate, ..., endDate.
|
215
|
+
setParameterStates([
|
216
|
+
...parameterStates.filter((ps) => shouldFilterMilestoningParamIfNotUsed(businessDate, setBusinessDate)(ps) &&
|
217
|
+
shouldFilterMilestoningParamIfNotUsed(processingDate, setProcessingDate)(ps) &&
|
218
|
+
shouldFilterMilestoningParamIfNotUsed(startDate, setStartDate)(ps) &&
|
219
|
+
shouldFilterMilestoningParamIfNotUsed(endDate, setEndDate)(ps)),
|
220
|
+
]);
|
221
|
+
}
|
222
|
+
else {
|
223
|
+
//get or initialize getAll() parameters
|
224
|
+
setIsAllVersionsInRangeEnabled(false);
|
225
|
+
let newParamStates = [];
|
226
|
+
if ((!businessDate || !processingDate) &&
|
227
|
+
milestoningState.queryBuilderState.class) {
|
228
|
+
const stereotype = getMilestoneTemporalStereotype(milestoningState.queryBuilderState.class, milestoningState.queryBuilderState.graphManagerState.graph);
|
229
|
+
if (stereotype) {
|
230
|
+
const existingParamStates = parameterStates.map((ps) => ps.variableName);
|
231
|
+
newParamStates = milestoningState
|
232
|
+
.getMilestoningImplementation(stereotype)
|
233
|
+
.buildParameterStatesFromMilestoningParameters()
|
234
|
+
.filter((ps) => !existingParamStates.includes(ps.parameter.name));
|
235
|
+
}
|
236
|
+
}
|
237
|
+
const allParamStates = [...newParamStates, ...parameterStates].filter((ps) => shouldFilterMilestoningParamIfNotUsed(startDate, setStartDate)(ps) &&
|
238
|
+
shouldFilterMilestoningParamIfNotUsed(endDate, setEndDate)(ps));
|
239
|
+
setParameterStates(allParamStates);
|
240
|
+
if (!businessDate) {
|
241
|
+
setBusinessDate(allParamStates.find((ps) => ps.variableName ===
|
242
|
+
(milestoningState.businessDate &&
|
243
|
+
milestoningState.businessDate instanceof VariableExpression
|
244
|
+
? milestoningState.businessDate.name
|
245
|
+
: BUSINESS_DATE_MILESTONING_PROPERTY_NAME))?.parameter);
|
246
|
+
}
|
247
|
+
if (!processingDate) {
|
248
|
+
setProcessingDate(allParamStates.find((ps) => ps.variableName ===
|
249
|
+
(milestoningState.businessDate &&
|
250
|
+
milestoningState.processingDate instanceof VariableExpression
|
251
|
+
? milestoningState.processingDate.name
|
252
|
+
: PROCESSING_DATE_MILESTONING_PROPERTY_NAME))?.parameter);
|
253
|
+
}
|
254
|
+
}
|
255
|
+
setIsAllVersionsEnabled(Boolean(value));
|
256
|
+
};
|
257
|
+
const getOrCreateNewLambdaParameterState = (lamdaStates, varName) => {
|
258
|
+
const lamdaState = lamdaStates.find((ls) => ls.variableName === varName);
|
259
|
+
if (lamdaState) {
|
260
|
+
return lamdaState;
|
261
|
+
}
|
262
|
+
else {
|
263
|
+
const varExp = new VariableExpression(varName, Multiplicity.ONE, GenericTypeExplicitReference.create(new GenericType(PrimitiveType.DATE)));
|
264
|
+
const newParamState = new LambdaParameterState(varExp, milestoningState.queryBuilderState.observerContext, milestoningState.queryBuilderState.graphManagerState.graph);
|
265
|
+
newParamState.mockParameterValue();
|
266
|
+
return newParamState;
|
267
|
+
}
|
268
|
+
};
|
269
|
+
const buildAllVersionsInRangeParameters = () => {
|
270
|
+
let startDateParameterState;
|
271
|
+
let endDateParameterState;
|
272
|
+
if (!(startDate && startDate instanceof VariableExpression)) {
|
273
|
+
startDateParameterState = getOrCreateNewLambdaParameterState(parameterStates, MILESTONING_START_DATE_PARAMETER_NAME);
|
274
|
+
setStartDate(startDateParameterState.parameter);
|
275
|
+
}
|
276
|
+
if (!(endDate && endDate instanceof VariableExpression)) {
|
277
|
+
endDateParameterState = getOrCreateNewLambdaParameterState(parameterStates, MILESTONING_END_DATE_PARAMETER_NAME);
|
278
|
+
setEndDate(endDateParameterState.parameter);
|
279
|
+
}
|
280
|
+
setParameterStates([
|
281
|
+
...new Set([
|
282
|
+
...parameterStates.filter((ps) => shouldFilterMilestoningParamIfNotUsed(businessDate, setBusinessDate)(ps) &&
|
283
|
+
shouldFilterMilestoningParamIfNotUsed(processingDate, setProcessingDate)(ps)),
|
284
|
+
...[startDateParameterState, endDateParameterState].filter(isNonNullable),
|
285
|
+
]),
|
286
|
+
]);
|
287
|
+
};
|
288
|
+
const setAllVersionsInRange = (value) => {
|
289
|
+
if (value) {
|
290
|
+
buildAllVersionsInRangeParameters();
|
291
|
+
}
|
292
|
+
else {
|
293
|
+
setAllVersions(true);
|
294
|
+
}
|
295
|
+
setIsAllVersionsInRangeEnabled(Boolean(value));
|
296
|
+
};
|
297
|
+
const resetMilestoningConfig = () => {
|
298
|
+
setIsAllVersionsEnabled(milestoningState.isAllVersionsEnabled);
|
299
|
+
setIsAllVersionsInRangeEnabled(milestoningState.isAllVersionsInRangeEnabled);
|
300
|
+
setStartDate(milestoningState.startDate);
|
301
|
+
setEndDate(milestoningState.endDate);
|
302
|
+
setBusinessDate(milestoningState.businessDate);
|
303
|
+
setProcessingDate(milestoningState.processingDate);
|
304
|
+
setParameterStates(milestoningState.queryBuilderState.parametersState.parameterStates);
|
305
|
+
};
|
306
|
+
// Handle user actions
|
307
|
+
const closeModal = () => {
|
308
|
+
resetMilestoningConfig();
|
309
|
+
resultSetModifierState.setShowModal(false);
|
310
|
+
};
|
311
|
+
const applyChanges = () => {
|
312
|
+
resultSetModifierState.setSortColumns(sortColumns);
|
313
|
+
resultSetModifierState.setDistinct(distinct);
|
314
|
+
resultSetModifierState.setLimit(limitResults);
|
315
|
+
if (slice[0] !== undefined && slice[1] !== undefined) {
|
316
|
+
resultSetModifierState.setSlice([slice[0], slice[1]]);
|
317
|
+
}
|
318
|
+
else {
|
319
|
+
resultSetModifierState.setSlice(undefined);
|
320
|
+
}
|
321
|
+
resultSetModifierState.setShowModal(false);
|
322
|
+
watermarkState.setValue(watermarkValue);
|
323
|
+
milestoningState.queryBuilderState.parametersState.setParameters(parameterStates);
|
324
|
+
if (isAllVersionsInRangeEnabled) {
|
325
|
+
milestoningState.setStartDate(startDate);
|
326
|
+
milestoningState.setEndDate(endDate);
|
327
|
+
milestoningState.clearGetAllParameters();
|
328
|
+
milestoningState.queryBuilderState.setGetAllFunction(QUERY_BUILDER_SUPPORTED_GET_ALL_FUNCTIONS.GET_ALL_VERSIONS_IN_RANGE);
|
329
|
+
}
|
330
|
+
else if (isAllVersionsEnabled) {
|
331
|
+
milestoningState.clearGetAllParameters();
|
332
|
+
milestoningState.queryBuilderState.setGetAllFunction(QUERY_BUILDER_SUPPORTED_GET_ALL_FUNCTIONS.GET_ALL_VERSIONS);
|
333
|
+
}
|
334
|
+
else if (tdsState.queryBuilderState.milestoningState.isMilestonedQuery) {
|
335
|
+
milestoningState.clearAllVersionsInRangeParameters();
|
336
|
+
milestoningState.setBusinessDate(businessDate);
|
337
|
+
milestoningState.setProcessingDate(processingDate);
|
338
|
+
milestoningState.queryBuilderState.setGetAllFunction(QUERY_BUILDER_SUPPORTED_GET_ALL_FUNCTIONS.GET_ALL);
|
339
|
+
}
|
340
|
+
milestoningState.updateQueryBuilderState();
|
341
|
+
};
|
342
|
+
useEffect(() => {
|
343
|
+
setIsAllVersionsEnabled(milestoningState.isAllVersionsEnabled);
|
344
|
+
setIsAllVersionsInRangeEnabled(milestoningState.isAllVersionsInRangeEnabled);
|
345
|
+
setStartDate(milestoningState.startDate);
|
346
|
+
setEndDate(milestoningState.endDate);
|
347
|
+
setBusinessDate(milestoningState.businessDate);
|
348
|
+
setProcessingDate(milestoningState.processingDate);
|
349
|
+
setParameterStates(milestoningState.queryBuilderState.parametersState.parameterStates);
|
350
|
+
}, [
|
351
|
+
milestoningState.isAllVersionsEnabled,
|
352
|
+
milestoningState.isAllVersionsInRangeEnabled,
|
353
|
+
milestoningState.queryBuilderState.parametersState.parameterStates,
|
354
|
+
milestoningState.businessDate,
|
355
|
+
milestoningState.processingDate,
|
356
|
+
milestoningState.startDate,
|
357
|
+
milestoningState.endDate,
|
358
|
+
milestoningState.queryBuilderState.class,
|
359
|
+
]);
|
360
|
+
return (_jsxDEV(Dialog, { open: Boolean(resultSetModifierState.showModal), onClose: closeModal, classes: {
|
198
361
|
root: 'editor-modal__root-container',
|
199
362
|
container: 'editor-modal__container',
|
200
363
|
paper: 'editor-modal__content',
|
201
|
-
}, "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_RESULT_MODIFIER_PANEL, children:
|
364
|
+
}, "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_RESULT_MODIFIER_PANEL, children: _jsxDEV(Modal, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, className: "editor-modal query-builder__projection__modal", children: [_jsxDEV(ModalHeader, { title: "Query Options" }, void 0, false, { fileName: _jsxFileName, lineNumber: 691, columnNumber: 11 }, this), _jsxDEV(ModalBody, { className: "query-builder__projection__modal__body", children: _jsxDEV("div", { className: "query-builder__projection__options", children: [tdsState.queryBuilderState.milestoningState
|
365
|
+
.isMilestonedQuery && (_jsxDEV(_Fragment, { children: [_jsxDEV("div", { className: "query-builder__projection__options__section-name", children: "Milestoning" }, void 0, false, { fileName: _jsxFileName, lineNumber: 697, columnNumber: 19 }, this), milestoningState.isCurrentClassMilestoned && (_jsxDEV(PanelFormBooleanField, { isReadOnly: false, value: isAllVersionsEnabled, name: "all Versions", prompt: "Query All Milestoned Versions of the Root Class", update: setAllVersions }, void 0, false, { fileName: _jsxFileName, lineNumber: 700, columnNumber: 66 }, this)), isAllVersionsEnabled &&
|
366
|
+
milestoningState.isCurrentClassSupportsVersionsInRange && (_jsxDEV(_Fragment, { children: [_jsxDEV(PanelFormBooleanField, { isReadOnly: false, value: isAllVersionsInRangeEnabled, name: " All Versions In Range", prompt: "Optionally apply a date range to get All Versions for", update: setAllVersionsInRange }, void 0, false, { fileName: _jsxFileName, lineNumber: 712, columnNumber: 25 }, this), isAllVersionsInRangeEnabled &&
|
367
|
+
startDate &&
|
368
|
+
endDate && (_jsxDEV("div", { className: "query-builder__milestoning-panel__all-versions-in-range-editor", children: [_jsxDEV(PanelFormSection, { children: [_jsxDEV("div", { className: "panel__content__form__section__header__label", children: "Start Date" }, void 0, false, { fileName: _jsxFileName, lineNumber: 724, columnNumber: 33 }, this), _jsxDEV(MilestoningParameterEditor, { queryBuilderState: milestoningState.queryBuilderState, parameter: startDate, setParameter: setStartDate }, void 0, false, { fileName: _jsxFileName, lineNumber: 727, columnNumber: 33 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 723, columnNumber: 31 }, this), _jsxDEV(PanelFormSection, { children: [_jsxDEV("div", { className: "panel__content__form__section__header__label", children: "End Date" }, void 0, false, { fileName: _jsxFileName, lineNumber: 736, columnNumber: 33 }, this), _jsxDEV(MilestoningParameterEditor, { queryBuilderState: milestoningState.queryBuilderState, parameter: endDate, setParameter: setEndDate }, void 0, false, { fileName: _jsxFileName, lineNumber: 739, columnNumber: 33 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 735, columnNumber: 31 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 721, columnNumber: 39 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 710, columnNumber: 80 }, this)), !isAllVersionsEnabled && (_jsxDEV(_Fragment, { children: [processingDate && (_jsxDEV(PanelFormSection, { children: [_jsxDEV("div", { className: "panel__content__form__section__header__label", children: "Processing Date" }, void 0, false, { fileName: _jsxFileName, lineNumber: 755, columnNumber: 27 }, this), _jsxDEV(MilestoningParameterEditor, { queryBuilderState: milestoningState.queryBuilderState, parameter: processingDate, setParameter: setProcessingDate }, void 0, false, { fileName: _jsxFileName, lineNumber: 758, columnNumber: 27 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 753, columnNumber: 43 }, this)), businessDate && (_jsxDEV(PanelFormSection, { children: [_jsxDEV("div", { className: "panel__content__form__section__header__label", children: "Business Date" }, void 0, false, { fileName: _jsxFileName, lineNumber: 769, columnNumber: 27 }, this), _jsxDEV(MilestoningParameterEditor, { queryBuilderState: milestoningState.queryBuilderState, parameter: businessDate, setParameter: setBusinessDate }, void 0, false, { fileName: _jsxFileName, lineNumber: 772, columnNumber: 27 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 767, columnNumber: 41 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 751, columnNumber: 46 }, this)), _jsxDEV(PanelFormSection, { children: _jsxDEV("div", { className: "panel__content__form__section__header__label", children: "List of compatible milestoning parameters" }, void 0, false, { fileName: _jsxFileName, lineNumber: 784, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 783, columnNumber: 19 }, this), _jsxDEV("div", { className: "panel__content__form__section__list__items", children: [_jsxDEV(PanelFormListItems, { title: "Available parameters", children: [filteredParameterStates.length === 0 && (_jsxDEV(_Fragment, { children: " No available parameters " }, void 0, false, { fileName: _jsxFileName, lineNumber: 790, columnNumber: 65 }, this)), filteredParameterStates.map((pState) => (_jsxDEV(VariableViewer, { variable: pState.parameter, isReadOnly: true, queryBuilderState: milestoningState.queryBuilderState }, pState.uuid, false, { fileName: _jsxFileName, lineNumber: 793, columnNumber: 65 }, this)))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 789, columnNumber: 21 }, this), Boolean(filteredConstantState.length) && (_jsxDEV(PanelFormListItems, { title: "Available constants", children: filteredConstantState.map((constantState) => (_jsxDEV(VariableViewer, { variable: constantState.variable, value: {
|
369
|
+
val: constantState instanceof
|
370
|
+
QueryBuilderSimpleConstantExpressionState
|
371
|
+
? constantState.value
|
372
|
+
: undefined,
|
373
|
+
}, queryBuilderState: milestoningState.queryBuilderState, isReadOnly: true }, constantState.uuid, false, { fileName: _jsxFileName, lineNumber: 804, columnNumber: 72 }, this))) }, void 0, false, { fileName: _jsxFileName, lineNumber: 802, columnNumber: 64 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 788, columnNumber: 19 }, this), _jsxDEV("div", { className: "query-builder__projection__options__section-name", children: "Other" }, void 0, false, { fileName: _jsxFileName, lineNumber: 824, columnNumber: 19 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 695, columnNumber: 40 }, this)), _jsxDEV(ColumnsSortEditor, { projectionColumns: tdsState.projectionColumns, sortColumns: sortColumns, setSortColumns: setSortColumns, tdsColumns: tdsState.tdsColumns }, void 0, false, { fileName: _jsxFileName, lineNumber: 829, columnNumber: 15 }, this), _jsxDEV("div", { className: "panel__content__form__section", children: [_jsxDEV("div", { className: "panel__content__form__section__header__label", children: "Eliminate Duplicate Rows" }, void 0, false, { fileName: _jsxFileName, lineNumber: 836, columnNumber: 17 }, this), _jsxDEV("div", { className: "panel__content__form__section__toggler", onClick: () => setDistinct(!distinct), children: [_jsxDEV("button", { className: clsx('panel__content__form__section__toggler__btn', {
|
202
374
|
'panel__content__form__section__toggler__btn--toggled': distinct,
|
203
|
-
}), tabIndex: -1, children: distinct ?
|
375
|
+
}), tabIndex: -1, children: distinct ? _jsxDEV(CheckSquareIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 853, columnNumber: 32 }, this) : _jsxDEV(SquareIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 853, columnNumber: 54 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 843, columnNumber: 19 }, this), _jsxDEV("div", { className: "panel__content__form__section__toggler__prompt", children: "Remove duplicate rows from the results" }, void 0, false, { fileName: _jsxFileName, lineNumber: 855, columnNumber: 19 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 839, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 835, columnNumber: 15 }, this), _jsxDEV("div", { className: "panel__content__form__section", children: [_jsxDEV("label", { htmlFor: "query-builder__projection__modal__limit-results-input", className: "panel__content__form__section__header__label", children: "Limit Results" }, void 0, false, { fileName: _jsxFileName, lineNumber: 861, columnNumber: 17 }, this), _jsxDEV("div", { className: "panel__content__form__section__header__prompt", children: "Specify the maximum total number of rows the output will produce" }, void 0, false, { fileName: _jsxFileName, lineNumber: 867, columnNumber: 17 }, this), _jsxDEV("input", { id: "query-builder__projection__modal__limit-results-input", className: "panel__content__form__section__input panel__content__form__section__number-input", spellCheck: false, type: "text", value: limitResults ?? '', onChange: handleLimitResultsChange }, void 0, false, { fileName: _jsxFileName, lineNumber: 871, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 860, columnNumber: 15 }, this), _jsxDEV("div", { className: "panel__content__form__section", children: [_jsxDEV("label", { htmlFor: "query-builder__projection__modal__slice-start-input", className: "panel__content__form__section__header__label", children: "Slice" }, void 0, false, { fileName: _jsxFileName, lineNumber: 881, columnNumber: 17 }, this), _jsxDEV("div", { className: "panel__content__form__section__header__prompt", children: "Reduce the number of rows in the provided TDS, selecting the set of rows in the specified range between start and stop" }, void 0, false, { fileName: _jsxFileName, lineNumber: 887, columnNumber: 17 }, this), _jsxDEV("div", { className: "query-builder__result__slice", children: [_jsxDEV("div", { className: "query-builder__result__slice__input__wrapper", children: _jsxDEV(InputWithInlineValidation, { id: "query-builder__projection__modal__slice-start-input", className: "input--dark query-builder__result__slice__input panel__content__form__section__input", spellCheck: false, value: slice[0] ?? '', onChange: changeSliceStart, type: "text", error: isInvalidSlice ? 'Invalid slice' : undefined }, void 0, false, { fileName: _jsxFileName, lineNumber: 893, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 892, columnNumber: 19 }, this), _jsxDEV("div", { className: "query-builder__result__slice__range", children: ".." }, void 0, false, { fileName: _jsxFileName, lineNumber: 903, columnNumber: 19 }, this), _jsxDEV("div", { className: "query-builder__result__slice__input__wrapper", children: _jsxDEV(InputWithInlineValidation, { className: "input--dark query-builder__result__slice__input panel__content__form__section__input", spellCheck: false, value: slice[1] ?? '', onChange: changeSliceEnd, type: "text", error: isInvalidSlice ? 'Invalid slice' : undefined }, void 0, false, { fileName: _jsxFileName, lineNumber: 905, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 904, columnNumber: 19 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 891, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 880, columnNumber: 15 }, this), _jsxDEV(_Fragment, { children: [_jsxDEV(PanelFormSection, { children: [_jsxDEV("label", { className: "panel__content__form__section__header__label", children: "Watermark" }, void 0, false, { fileName: _jsxFileName, lineNumber: 918, columnNumber: 19 }, this), _jsxDEV("button", { className: clsx('panel__content__form__section__toggler', 'panel__content__form__section__toggler__btn', {
|
204
376
|
'panel__content__form__section__toggler__btn--toggled': watermarkValue,
|
205
|
-
}), onClick: toggleWatermark, tabIndex: -1, children: [watermarkValue ?
|
377
|
+
}), onClick: toggleWatermark, tabIndex: -1, children: [watermarkValue ? _jsxDEV(CheckSquareIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 933, columnNumber: 38 }, this) : _jsxDEV(SquareIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 933, columnNumber: 60 }, this), _jsxDEV("div", { className: "panel__content__form__section__toggler__prompt", children: "Enable Watermark" }, void 0, false, { fileName: _jsxFileName, lineNumber: 934, columnNumber: 21 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 921, columnNumber: 19 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 917, columnNumber: 17 }, this), watermarkValue && (_jsxDEV(_Fragment, { children: [_jsxDEV(PanelFormSection, { children: _jsxDEV("div", { className: "query-builder__variable-editor", "data-testid": QUERY_BUILDER_TEST_ID.QUERY_BUILDER_RESULT_MODIFIER_PANEL__WATERMAKR, children: _jsxDEV(PanelDropZone, { isDragOver: isParameterValueDragOver, dropTargetConnector: dropTargetConnector, children: _jsxDEV(BasicValueSpecificationEditor, { valueSpecification: watermarkValue, setValueSpecification: (val) => {
|
206
378
|
setWatermarkValue(clone(val));
|
207
379
|
}, graph: watermarkState.queryBuilderState.graphManagerState
|
208
380
|
.graph, obseverContext: watermarkState.queryBuilderState.observerContext, typeCheckOption: {
|
209
381
|
expectedType: PrimitiveType.STRING,
|
210
|
-
}, resetValue: () => setWatermarkValue(watermarkState.getDefaultValue()), isConstant: watermarkState.queryBuilderState.constantState.isValueSpecConstant(watermarkValue) }) }) }) }),
|
382
|
+
}, resetValue: () => setWatermarkValue(watermarkState.getDefaultValue()), isConstant: watermarkState.queryBuilderState.constantState.isValueSpecConstant(watermarkValue) }, void 0, false, { fileName: _jsxFileName, lineNumber: 952, columnNumber: 27 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 948, columnNumber: 25 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 942, columnNumber: 23 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 941, columnNumber: 21 }, this), _jsxDEV(PanelDivider, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 981, columnNumber: 21 }, this), _jsxDEV(VariableSelector, { filterBy: isParamaterCompatibleWithWaterMark, queryBuilderState: tdsState.queryBuilderState }, void 0, false, { fileName: _jsxFileName, lineNumber: 982, columnNumber: 21 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 939, columnNumber: 37 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 916, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 693, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 692, columnNumber: 11 }, this), _jsxDEV(ModalFooter, { children: [_jsxDEV(ModalFooterButton, { onClick: applyChanges, text: "Apply", disabled: isInvalidSlice }, void 0, false, { fileName: _jsxFileName, lineNumber: 992, columnNumber: 13 }, this), _jsxDEV(ModalFooterButton, { onClick: closeModal, text: "Cancel", type: "secondary" }, void 0, false, { fileName: _jsxFileName, lineNumber: 997, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 991, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 685, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 674, columnNumber: 13 }, this));
|
211
383
|
});
|
212
384
|
//# sourceMappingURL=QueryBuilderResultModifierPanel.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderResultModifierPanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,MAAM,EACN,mBAAmB,EACnB,eAAe,EACf,UAAU,EACV,SAAS,EACT,KAAK,EACL,SAAS,EACT,WAAW,EACX,WAAW,EACX,iBAAiB,EACjB,yBAAyB,EACzB,YAAY,EACZ,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,aAAa,GACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,eAAe,EAAE,MAAM,iEAAiE,CAAC;AAClG,OAAO,EACL,cAAc,EACd,KAAK,EACL,SAAS,EACT,WAAW,EACX,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAGhE,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAC;AAC7E,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEzD,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C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E,mBAAmB,YAExC,KAAC,6BAA6B,IAC5B,kBAAkB,EAAE,cAAc,EAClC,qBAAqB,EAAE,CACrB,GAAuB,EACjB,EAAE;gEACR,iBAAiB,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;4DAChC,CAAC,EACD,KAAK,EACH,cAAc,CAAC,iBAAiB,CAAC,iBAAiB;iEAC/C,KAAK,EAEV,cAAc,EACZ,cAAc,CAAC,iBAAiB,CAAC,eAAe,EAElD,eAAe,EAAE;gEACf,YAAY,EAAE,aAAa,CAAC,MAAM;6DACnC,EACD,UAAU,EAAE,GAAG,EAAE,CACf,iBAAiB,CACf,cAAc,CAAC,eAAe,EAAE,CACjC,EAEH,UAAU,EAAE,cAAc,CAAC,iBAAiB,CAAC,aAAa,CAAC,mBAAmB,CAC5E,cAAc,CACf,GACD,GACY,GACZ,GACW,EACnB,KAAC,YAAY,KAAG,EAChB,KAAC,gBAAgB,IACf,QAAQ,EAAE,kCAAkC,EAC5C,iBAAiB,EAAE,QAAQ,CAAC,iBAAiB,GAC7C,IACD,CACJ,IACA,IACC,GACI,EACZ,MAAC,WAAW,eACV,KAAC,iBAAiB,IAChB,OAAO,EAAE,YAAY,EACrB,IAAI,EAAC,OAAO,EACZ,QAAQ,EAAE,cAAc,GACxB,EACF,KAAC,iBAAiB,IAChB,OAAO,EAAE,UAAU,EACnB,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,WAAW,GAChB,IACU,IACR,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
|
1
|
+
{"version":3,"file":"QueryBuilderResultModifierPanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderResultModifierPanel.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,IAAI,EACJ,MAAM,EACN,mBAAmB,EACnB,eAAe,EACf,UAAU,EACV,SAAS,EACT,KAAK,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iB,IAChB,OAAO,EAAE,UAAU,EACnB,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,WAAW,uFAChB,uFACU,sFACR,uFACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import {
|
1
|
+
import { jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
|
2
|
+
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-query-builder/src/components/fetch-structure/QueryBuilderTDSComponentHelper.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -21,25 +22,25 @@ import { getColumnMultiplicity } from '../../stores/fetch-structure/tds/post-fil
|
|
21
22
|
export const renderPropertyTypeIcon = (type) => {
|
22
23
|
if (type instanceof PrimitiveType) {
|
23
24
|
if (type.name === PRIMITIVE_TYPE.STRING) {
|
24
|
-
return
|
25
|
+
return _jsxDEV(StringTypeIcon, { className: "query-builder-column-badge__icon" }, void 0, false, { fileName: _jsxFileName, lineNumber: 40, columnNumber: 13 }, this);
|
25
26
|
}
|
26
27
|
else if (type.name === PRIMITIVE_TYPE.BOOLEAN) {
|
27
|
-
return
|
28
|
+
return _jsxDEV(ToggleIcon, { className: "query-builder-column-badge__icon" }, void 0, false, { fileName: _jsxFileName, lineNumber: 42, columnNumber: 13 }, this);
|
28
29
|
}
|
29
30
|
else if (type.name === PRIMITIVE_TYPE.NUMBER ||
|
30
31
|
type.name === PRIMITIVE_TYPE.INTEGER ||
|
31
32
|
type.name === PRIMITIVE_TYPE.FLOAT ||
|
32
33
|
type.name === PRIMITIVE_TYPE.DECIMAL) {
|
33
|
-
return
|
34
|
+
return _jsxDEV(HashtagIcon, { className: "query-builder-column-badge__icon" }, void 0, false, { fileName: _jsxFileName, lineNumber: 49, columnNumber: 13 }, this);
|
34
35
|
}
|
35
36
|
else if (type.name === PRIMITIVE_TYPE.DATE ||
|
36
37
|
type.name === PRIMITIVE_TYPE.DATETIME ||
|
37
38
|
type.name === PRIMITIVE_TYPE.STRICTDATE) {
|
38
|
-
return
|
39
|
+
return _jsxDEV(ClockIcon, { className: "query-builder-column-badge__icon" }, void 0, false, { fileName: _jsxFileName, lineNumber: 55, columnNumber: 13 }, this);
|
39
40
|
}
|
40
41
|
}
|
41
42
|
else if (type instanceof Enumeration) {
|
42
|
-
return
|
43
|
+
return _jsxDEV("div", { className: "icon query-builder-column-badge__icon", children: "E" }, void 0, false, { fileName: _jsxFileName, lineNumber: 58, columnNumber: 11 }, this);
|
43
44
|
}
|
44
45
|
return null;
|
45
46
|
};
|
@@ -47,7 +48,7 @@ export const QueryBuilderColumnInfoTooltip = (props) => {
|
|
47
48
|
const { columnState, placement, children } = props;
|
48
49
|
const type = columnState.getColumnType();
|
49
50
|
const multiplicity = returnUndefOnError(() => getColumnMultiplicity(columnState));
|
50
|
-
return (
|
51
|
+
return (_jsxDEV(Tooltip, { arrow: true, ...(placement !== undefined ? { placement } : {}), classes: {
|
51
52
|
tooltip: 'query-builder__tooltip',
|
52
53
|
arrow: 'query-builder__tooltip__arrow',
|
53
54
|
tooltipPlacementRight: 'query-builder__tooltip--right',
|
@@ -56,6 +57,6 @@ export const QueryBuilderColumnInfoTooltip = (props) => {
|
|
56
57
|
// NOTE: somehow, this is the only workaround we have, if for example
|
57
58
|
// we set `appear = true`, the tooltip will jump out of position
|
58
59
|
timeout: 0,
|
59
|
-
}, title:
|
60
|
+
}, title: _jsxDEV("div", { className: "query-builder__tooltip__content", children: [_jsxDEV("div", { className: "query-builder__tooltip__item", children: [_jsxDEV("div", { className: "query-builder__tooltip__item__label", children: "Name" }, void 0, false, { fileName: _jsxFileName, lineNumber: 91, columnNumber: 13 }, this), _jsxDEV("div", { className: "query-builder__tooltip__item__value", children: columnState.columnName }, void 0, false, { fileName: _jsxFileName, lineNumber: 92, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 90, columnNumber: 11 }, this), _jsxDEV("div", { className: "query-builder__tooltip__item", children: [_jsxDEV("div", { className: "query-builder__tooltip__item__label", children: "Type" }, void 0, false, { fileName: _jsxFileName, lineNumber: 97, columnNumber: 13 }, this), _jsxDEV("div", { className: "query-builder__tooltip__item__value", children: type?.path }, void 0, false, { fileName: _jsxFileName, lineNumber: 98, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 96, columnNumber: 11 }, this), multiplicity && (_jsxDEV("div", { className: "query-builder__tooltip__item", children: [_jsxDEV("div", { className: "query-builder__tooltip__item__label", children: "Multiplicity" }, void 0, false, { fileName: _jsxFileName, lineNumber: 104, columnNumber: 15 }, this), _jsxDEV("div", { className: "query-builder__tooltip__item__value", children: getMultiplicityDescription(multiplicity) }, void 0, false, { fileName: _jsxFileName, lineNumber: 107, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 102, columnNumber: 29 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 88, columnNumber: 14 }, this), children: children }, void 0, false, { fileName: _jsxFileName, lineNumber: 73, columnNumber: 11 }, this));
|
60
61
|
};
|
61
62
|
//# sourceMappingURL=QueryBuilderTDSComponentHelper.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTDSComponentHelper.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSComponentHelper.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"QueryBuilderTDSComponentHelper.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSComponentHelper.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EACL,cAAc,EACd,UAAU,EACV,WAAW,EACX,SAAS,EAET,OAAO,GACR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,WAAW,EACX,aAAa,EACb,cAAc,EACd,0BAA0B,GAC3B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAs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EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IACnD,MAAM,IAAI,GAAG,WAAW,CAAC,aAAa,EAAE,CAAC;IACzC,MAAM,YAAY,GAAG,kBAAkB,CAAC,GAAG,EAAE,CAC3C,qBAAqB,CAAC,WAAW,CAAC,CACnC,CAAC;IACF,OAAO,CACL,QAAC,OAAO,IACN,KAAK,EAAE,IAAI,KACP,CAAC,SAAS,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,EAClD,OAAO,EAAE;YACP,OAAO,EAAE,wBAAwB;YACjC,KAAK,EAAE,+BAA+B;YACtC,qBAAqB,EAAE,+BAA+B;SACvD,EACD,eAAe,EAAE;YACf,qBAAqB;YACrB,qEAAqE;YACrE,gEAAgE;YAChE,OAAO,EAAE,CAAC;SACX,EACD,KAAK,EACH,iBAAK,SAAS,EAAC,iCAAiC,aAC9C,iBAAK,SAAS,EAAC,8BAA8B,aAC3C,iBAAK,SAAS,EAAC,qCAAqC,wGAAW,EAC/D,iBAAK,SAAS,EAAC,qCAAqC,YACjD,WAAW,CAAC,UAAU,sFACnB,sFACF,EACN,iBAAK,SAAS,EAAC,8BAA8B,aAC3C,iBAAK,SAAS,EAAC,qCAAqC,wGAAW,EAC/D,iBAAK,SAAS,EAAC,qCAAqC,YACjD,IAAI,EAAE,IAAI,sFACP,sFACF,EACL,YAAY,IAAI,CACf,iBAAK,SAAS,EAAC,8BAA8B,aAC3C,iBAAK,SAAS,EAAC,qCAAqC,iHAE9C,EACN,iBAAK,SAAS,EAAC,qCAAqC,YACjD,0BAA0B,CAAC,YAAY,CAAC,uFACrC,uFACF,CACP,sFACG,YAGP,QAAQ,sFACD,CACX,CAAC;AACJ,CAAC,CAAC"}
|
@@ -16,7 +16,7 @@
|
|
16
16
|
import type { QueryBuilderTDSState } from '../../stores/fetch-structure/tds/QueryBuilderTDSState.js';
|
17
17
|
export declare const QueryBuilderTDSPanel: ((props: {
|
18
18
|
tdsState: QueryBuilderTDSState;
|
19
|
-
}) => import("react/jsx-runtime").JSX.Element) & {
|
19
|
+
}) => import("react/jsx-dev-runtime").JSX.Element) & {
|
20
20
|
displayName: string;
|
21
21
|
};
|
22
22
|
//# sourceMappingURL=QueryBuilderTDSPanel.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTDSPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAkFH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AAqlCrG,eAAO,MAAM,oBAAoB,WACvB;IAAE,QAAQ,EAAE,oBAAoB,CAAA;CAAE;;
|
1
|
+
{"version":3,"file":"QueryBuilderTDSPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAkFH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,0DAA0D,CAAC;AAqlCrG,eAAO,MAAM,oBAAoB,WACvB;IAAE,QAAQ,EAAE,oBAAoB,CAAA;CAAE;;CAkb3C,CAAC"}
|