@finos/legend-query-builder 4.14.48 → 4.14.49
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/QueryBuilder.d.ts +1 -1
- package/lib/components/QueryBuilder.js +46 -45
- 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 -20
- 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/QueryBuilderMilestoningParameterEditor.d.ts +1 -1
- package/lib/components/explorer/QueryBuilderMilestoningParameterEditor.js +4 -3
- package/lib/components/explorer/QueryBuilderMilestoningParameterEditor.js.map +1 -1
- 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.js +14 -13
- 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 +48 -39
- 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/index.css +17 -1
- package/lib/index.css.map +1 -1
- package/lib/package.json +1 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.js +1 -1
- package/lib/stores/QueryBuilderValueSpecificationHelper.js.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningState.d.ts +3 -0
- package/lib/stores/milestoning/QueryBuilderMilestoningState.d.ts.map +1 -1
- package/lib/stores/milestoning/QueryBuilderMilestoningState.js +40 -0
- package/lib/stores/milestoning/QueryBuilderMilestoningState.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/components/QueryBuilderConstantExpressionPanel.tsx +13 -4
- package/src/components/QueryBuilderParametersPanel.tsx +55 -0
- package/src/components/QueryBuilderSideBar.tsx +0 -20
- package/src/components/fetch-structure/QueryBuilderPostFilterPanel.tsx +143 -78
- package/src/components/fetch-structure/QueryBuilderTDSPanel.tsx +22 -6
- package/src/components/result/QueryBuilderResultPanel.tsx +9 -1
- package/src/components/shared/QueryBuilderVariableSelector.tsx +22 -0
- package/src/stores/QueryBuilderValueSpecificationHelper.ts +1 -1
- package/src/stores/milestoning/QueryBuilderMilestoningState.ts +54 -0
- package/src/stores/shared/ValueSpecificationEditorHelper.ts +11 -0
@@ -16,7 +16,7 @@
|
|
16
16
|
import type { QueryBuilderResultState } from '../stores/QueryBuilderResultState.js';
|
17
17
|
export declare const QueryUsageViewer: ((props: {
|
18
18
|
resultState: QueryBuilderResultState;
|
19
|
-
}) => import("react/jsx-runtime").JSX.Element) & {
|
19
|
+
}) => import("react/jsx-dev-runtime").JSX.Element) & {
|
20
20
|
displayName: string;
|
21
21
|
};
|
22
22
|
//# sourceMappingURL=QueryUsageViewer.d.ts.map
|
@@ -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/QueryUsageViewer.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -26,8 +27,8 @@ export const QueryUsageViewer = observer((props) => {
|
|
26
27
|
.flatMap((plugin) => plugin.getExtraQueryUsageConfigurations?.() ?? []);
|
27
28
|
const [selectedTab, setSelectedTab] = useState(extraQueryUsageOptions[0]?.title);
|
28
29
|
const currentTabExtensionConfig = extraQueryUsageOptions.find((option) => option.title === selectedTab);
|
29
|
-
return (
|
30
|
+
return (_jsxDEV(Dialog, { open: resultState.isQueryUsageViewerOpened, onClose: () => resultState.setIsQueryUsageViewerOpened(false), children: _jsxDEV(Modal, { className: "query-builder__usage-viewer__modal", darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, children: [_jsxDEV(ModalHeader, { title: "Query Usage" }, void 0, false, { fileName: _jsxFileName, lineNumber: 65, columnNumber: 11 }, this), _jsxDEV(ModalBody, { className: "query-builder__usage-viewer__body", children: _jsxDEV(_Fragment, { children: [extraQueryUsageOptions.length === 0 ? (_jsxDEV(BlankPanelContent, { children: "Query usage is not available" }, void 0, false, { fileName: _jsxFileName, lineNumber: 68, columnNumber: 55 }, this)) : (_jsxDEV(_Fragment, { children: [_jsxDEV("div", { className: "query-builder__usage-viewer__tab__header", children: _jsxDEV("div", { className: "query-builder__usage-viewer__tabs", children: extraQueryUsageOptions.map((config) => (_jsxDEV("button", { className: clsx('query-builder__usage-viewer__tab', {
|
30
31
|
'query-builder__usage-viewer__tab--active': selectedTab === config.key,
|
31
|
-
}), tabIndex: -1, onClick: () => setSelectedTab(config.key), children: [config.icon !== undefined && (
|
32
|
+
}), tabIndex: -1, onClick: () => setSelectedTab(config.key), children: [config.icon !== undefined && (_jsxDEV("div", { className: "query-builder__usage-viewer__tab__icon", children: config.icon }, void 0, false, { fileName: _jsxFileName, lineNumber: 86, columnNumber: 58 }, this)), _jsxDEV("div", { className: "query-builder__usage-viewer__tab__label", children: config.title }, void 0, false, { fileName: _jsxFileName, lineNumber: 91, columnNumber: 27 }, this)] }, config.key, true, { fileName: _jsxFileName, lineNumber: 76, columnNumber: 64 }, this))) }, void 0, false, { fileName: _jsxFileName, lineNumber: 75, columnNumber: 21 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 74, columnNumber: 19 }, this), _jsxDEV("div", { className: "query-builder__usage-viewer__content", children: currentTabExtensionConfig?.renderer() }, void 0, false, { fileName: _jsxFileName, lineNumber: 98, columnNumber: 19 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 72, columnNumber: 20 }, this)), _jsxDEV(PanelDivider, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 103, columnNumber: 15 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 67, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 66, columnNumber: 11 }, this), _jsxDEV(ModalFooter, { children: _jsxDEV(ModalFooterButton, { onClick: () => resultState.setIsQueryUsageViewerOpened(false), text: "Close", type: "secondary" }, void 0, false, { fileName: _jsxFileName, lineNumber: 107, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 106, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 59, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 54, columnNumber: 13 }, this));
|
32
33
|
});
|
33
34
|
//# sourceMappingURL=QueryUsageViewer.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryUsageViewer.js","sourceRoot":"","sources":["../../src/components/QueryUsageViewer.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"QueryUsageViewer.js","sourceRoot":"","sources":["../../src/components/QueryUsageViewer.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,MAAM,EACN,KAAK,EACL,WAAW,EACX,SAAS,EACT,YAAY,EACZ,WAAW,EACX,iBAAiB,EACjB,iBAAiB,EACjB,IAAI,GACL,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAEhE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGjC,MAAM,CAAC,MAAM,gBAAgB,GAAG,QAAQ,CACtC,CAAC,KAA+C,EAAE,EAAE;IAClD,MAAM,EAAE,WAAW,EAAE,GAAG,KAAK,CAAC;IAC9B,MAAM,gBAAgB,GAAG,mBAAmB,EAAE,CAAC;IAE/C,MAAM,sBAAsB,GAAG,gBAAgB,CAAC,aAAa;SAC1D,qBAAqB,EAAE;SACvB,OAAO,CACN,CAAC,MAAM,EAAE,EAAE,CAEP,MACD,CAAC,gCAAgC,EAAE,EAAE,IAAI,EAA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AK,sFACT,KAfD,MAAM,CAAC,GAAG,2EAgBR,CACV,CAAC,sFACE,sFACF,EACN,iBAAK,SAAS,EAAC,sCAAsC,YAClD,yBAAyB,EAAE,QAAQ,EAAE,sFAClC,sFACL,CACJ,EACD,QAAC,YAAY,yFAAG,sFACf,sFACO,EACZ,QAAC,WAAW,cACV,QAAC,iBAAiB,IAChB,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,2BAA2B,CAAC,KAAK,CAAC,EAC7D,IAAI,EAAC,OAAO,EACZ,IAAI,EAAC,WAAW,uFAChB,uFACU,qFACR,sFACD,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/ServiceQuerySetupUtils.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -19,7 +20,7 @@ export const buildServiceOption = (value) => ({
|
|
19
20
|
label: value.name,
|
20
21
|
value,
|
21
22
|
});
|
22
|
-
export const formatServiceOptionLabel = (option) => (
|
23
|
+
export const formatServiceOptionLabel = (option) => (_jsxDEV("div", { className: "query-setup__service-option", title: `${option.label} - ${option.value.urlPattern ?? ''} - ${option.value.path} - ${generateGAVCoordinates(option.value.groupId, option.value.artifactId, option.value.versionId)}`, children: [_jsxDEV("div", { className: "query-setup__service-option__label", children: option.label }, void 0, false, { fileName: _jsxFileName, lineNumber: 39, columnNumber: 5 }, this), _jsxDEV("div", { className: "query-setup__service-option__path", children: option.value.path }, void 0, false, { fileName: _jsxFileName, lineNumber: 40, columnNumber: 5 }, this), _jsxDEV("div", { className: "query-setup__service-option__pattern", children: option.value.urlPattern ?? 'no pattern' }, void 0, false, { fileName: _jsxFileName, lineNumber: 41, columnNumber: 5 }, this), _jsxDEV("div", { className: "query-setup__service-option__gav", children: option.value.groupId && option.value.artifactId
|
23
24
|
? generateGAVCoordinates(option.value.groupId, option.value.artifactId, option.value.versionId)
|
24
|
-
: null })] }));
|
25
|
+
: null }, void 0, false, { fileName: _jsxFileName, lineNumber: 44, columnNumber: 5 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 28, columnNumber: 24 }, this));
|
25
26
|
//# sourceMappingURL=ServiceQuerySetupUtils.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ServiceQuerySetupUtils.js","sourceRoot":"","sources":["../../src/components/ServiceQuerySetupUtils.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"ServiceQuerySetupUtils.js","sourceRoot":"","sources":["../../src/components/ServiceQuerySetupUtils.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAI/D,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,KAAkB,EAAiB,EAAE,CAAC,CAAC;IACxE,KAAK,EAAE,KAAK,CAAC,IAAI;IACjB,KAAK;CACN,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,wBAAwB,GAAG,CACtC,MAAqB,EACJ,EAAE,CAAC,CACpB,iBACE,SAAS,EAAC,6BAA6B,EACvC,KAAK,EAAE,GAAG,MAAM,CAAC,KAAK,MAAM,MAAM,CAAC,KAAK,CAAC,UAAU,IAAI,EAAE,MACvD,MAAM,CAAC,KAAK,CAAC,IACf,MAAM,sBAAsB,CAC1B,MAAM,CAAC,KAAK,CAAC,OAAO,EACpB,MAAM,CAAC,KAAK,CAAC,UAAU,EACvB,MAAM,CAAC,KAAK,CAAC,SAAS,CACvB,EAAE,aAEH,iBAAK,SAAS,EAAC,oCAAoC,YAAE,MAAM,CAAC,KAAK,qFAAO,EACxE,iBAAK,SAAS,EAAC,mCAAmC,YAAE,MAAM,CAAC,KAAK,CAAC,IAAI,qFAAO,EAC5E,iBAAK,SAAS,EAAC,sCAAsC,YAClD,MAAM,CAAC,KAAK,CAAC,UAAU,IAAI,YAAY,qFACpC,EACN,iBAAK,SAAS,EAAC,kCAAkC,YAC9C,MAAM,CAAC,KAAK,CAAC,OAAO,IAAI,MAAM,CAAC,KAAK,CAAC,UAAU;gBAC9C,CAAC,CAAC,sBAAsB,CACpB,MAAM,CAAC,KAAK,CAAC,OAAO,EACpB,MAAM,CAAC,KAAK,CAAC,UAAU,EACvB,MAAM,CAAC,KAAK,CAAC,SAAS,CACvB;gBACH,CAAC,CAAC,IAAI,qFACJ,sFACF,CACP,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/__test-utils__/QueryBuilderComponentTestUtils.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -112,7 +113,7 @@ export const TEST__setUpQueryBuilder = async (entities, lambda, mappingPath, run
|
|
112
113
|
if (rawMappingModelCoverageAnalysisResult) {
|
113
114
|
createSpy(graphManagerState.graphManager, 'analyzeMappingModelCoverage').mockResolvedValue(graphManagerState.graphManager.buildMappingModelCoverageAnalysisResult(rawMappingModelCoverageAnalysisResult, mapping));
|
114
115
|
}
|
115
|
-
const renderResult = render(
|
116
|
+
const renderResult = render(_jsxDEV(ApplicationStoreProvider, { store: MOCK__applicationStore, children: _jsxDEV(TEST__BrowserEnvironmentProvider, { children: _jsxDEV(ApplicationFrameworkProvider, { children: _jsxDEV(QueryBuilder, { queryBuilderState: queryBuilderState }, void 0, false, { fileName: _jsxFileName, lineNumber: 231, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 230, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 229, columnNumber: 7 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 227, columnNumber: 31 }, this));
|
116
117
|
await waitFor(() => renderResult.getByTestId(QUERY_BUILDER_TEST_ID.QUERY_BUILDER));
|
117
118
|
return {
|
118
119
|
renderResult,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderComponentTestUtils.js","sourceRoot":"","sources":["../../../src/components/__test-utils__/QueryBuilderComponentTestUtils.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"QueryBuilderComponentTestUtils.js","sourceRoot":"","sources":["../../../src/components/__test-utils__/QueryBuilderComponentTestUtils.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAEL,MAAM,EACN,OAAO,EACP,SAAS,EACT,UAAU,EACV,SAAS,GACV,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,UAAU,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AACxE,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AACtD,OAAO,EAGL,iBAAiB,EACjB,mCAAmC,EACnC,cAAc,GACf,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,wBAAwB,EACxB,4BAA4B,EAC5B,gBAAgB,GACjB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,gCAAgC,EAAE,MAAM,gCAAgC,CAAC;AAElF,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAEL,gCAAgC,GACjC,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EAAE,+BAA+B,EAAE,MAAM,wDAAwD,CAAC;AACzG,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,CAAC;AAC7E,OAAO,EACL,oCAAoC,EACpC,iCAAiC,GAClC,MAAM,2DAA2D,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACvC,OAAO,EAA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,EACrC,OAAO,CACR,CACF,CAAC;IACJ,CAAC;IAED,MAAM,YAAY,GAAG,MAAM,CACzB,QAAC,wBAAwB,IAAC,KAAK,EAAE,sBAAsB,YACrD,QAAC,gCAAgC,cAC/B,QAAC,4BAA4B,cAC3B,QAAC,YAAY,IAAC,iBAAiB,EAAE,iBAAiB,uFAAI,sFACzB,sFACE,uFACV,CAC5B,CAAC;IAEF,MAAM,OAAO,CAAC,GAAG,EAAE,CACjB,YAAY,CAAC,WAAW,CAAC,qBAAqB,CAAC,aAAa,CAAC,CAC9D,CAAC;IAEF,OAAO;QACL,YAAY;QACZ,iBAAiB;KAClB,CAAC;AACJ,CAAC,CAAC"}
|
@@ -17,7 +17,7 @@ import type { DataAccessState } from '../../stores/data-access/DataAccessState.j
|
|
17
17
|
export declare const DataAccessOverview: ((props: {
|
18
18
|
dataAccessState: DataAccessState;
|
19
19
|
compact?: boolean | undefined;
|
20
|
-
}) => import("react/jsx-runtime").JSX.Element) & {
|
20
|
+
}) => import("react/jsx-dev-runtime").JSX.Element) & {
|
21
21
|
displayName: string;
|
22
22
|
};
|
23
23
|
//# sourceMappingURL=DataAccessOverview.d.ts.map
|
@@ -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/data-access/DataAccessOverview.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -28,7 +29,7 @@ const DataAccessOverviewChart = observer((props) => {
|
|
28
29
|
const total = entitlementCheckInfo.total;
|
29
30
|
const accessGrantedCount = getNullableFirstEntry(entitlementCheckInfo.data)?.count ?? 0;
|
30
31
|
const accessGrantedPercentage = getNullableFirstEntry(entitlementCheckInfo.data)?.percentage ?? 0;
|
31
|
-
return (
|
32
|
+
return (_jsxDEV("div", { className: "data-access-overview__chart", children: _jsxDEV("div", { className: "data-access-overview__chart__container", children: [_jsxDEV(Doughnut, { data: {
|
32
33
|
labels: entitlementCheckInfo.data.map((item) => item.label),
|
33
34
|
datasets: [
|
34
35
|
{
|
@@ -56,7 +57,7 @@ const DataAccessOverviewChart = observer((props) => {
|
|
56
57
|
},
|
57
58
|
},
|
58
59
|
},
|
59
|
-
} }),
|
60
|
+
} }, void 0, false, { fileName: _jsxFileName, lineNumber: 61, columnNumber: 11 }, this), _jsxDEV("div", { className: "data-access-overview__chart__stats", children: [_jsxDEV("div", { className: "data-access-overview__chart__stats__percentage", children: [total === 0 ? 0 : accessGrantedPercentage, "%"] }, void 0, true, { fileName: _jsxFileName, lineNumber: 96, columnNumber: 13 }, this), _jsxDEV("div", { className: "data-access-overview__chart__stats__tally", children: [total === 0 ? 0 : accessGrantedCount, "/", total] }, void 0, true, { fileName: _jsxFileName, lineNumber: 99, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 95, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 60, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 58, columnNumber: 13 }, this));
|
60
61
|
});
|
61
62
|
const AccessStatusCellRenderer = observer((params) => {
|
62
63
|
const { data, dataAccessState } = params;
|
@@ -65,13 +66,13 @@ const AccessStatusCellRenderer = observer((params) => {
|
|
65
66
|
return null;
|
66
67
|
}
|
67
68
|
if (data.entitlementReport instanceof DatasetEntitlementAccessGrantedReport) {
|
68
|
-
return (
|
69
|
+
return (_jsxDEV("div", { className: "data-access-overview__grid__access-status-cell", children: _jsxDEV("div", { className: "data-access-overview__grid__access-status-cell__content", children: [_jsxDEV("div", { className: "data-access-overview__grid__access-status-cell__icon data-access-overview__grid__access-status-cell__icon--access-granted", children: _jsxDEV(CheckCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 129, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 128, columnNumber: 13 }, this), _jsxDEV("div", { className: "data-access-overview__grid__access-status-cell__text", children: "Access Granted" }, void 0, false, { fileName: _jsxFileName, lineNumber: 131, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 127, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 125, columnNumber: 15 }, this));
|
69
70
|
}
|
70
71
|
else if (data.entitlementReport instanceof DatasetEntitlementAccessApprovedReport) {
|
71
|
-
return (
|
72
|
+
return (_jsxDEV("div", { className: "data-access-overview__grid__access-status-cell", children: _jsxDEV("div", { className: "data-access-overview__grid__access-status-cell__content", children: [_jsxDEV("div", { className: "data-access-overview__grid__access-status-cell__icon data-access-overview__grid__access-status-cell__icon--access-approved", children: _jsxDEV(MinusCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 144, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 143, columnNumber: 13 }, this), _jsxDEV("div", { className: "data-access-overview__grid__access-status-cell__text", children: "Access Approved" }, void 0, false, { fileName: _jsxFileName, lineNumber: 146, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 142, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 140, columnNumber: 15 }, this));
|
72
73
|
}
|
73
74
|
else if (data.entitlementReport instanceof DatasetEntitlementAccessRequestedReport) {
|
74
|
-
return (
|
75
|
+
return (_jsxDEV("div", { className: "data-access-overview__grid__access-status-cell", children: _jsxDEV("div", { className: "data-access-overview__grid__access-status-cell__content", children: [_jsxDEV("div", { className: "data-access-overview__grid__access-status-cell__icon data-access-overview__grid__access-status-cell__icon--access-requested", children: _jsxDEV(ExclamationCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 159, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 158, columnNumber: 13 }, this), _jsxDEV("div", { className: "data-access-overview__grid__access-status-cell__text", children: "Access Requested" }, void 0, false, { fileName: _jsxFileName, lineNumber: 161, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 157, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 155, columnNumber: 15 }, this));
|
75
76
|
}
|
76
77
|
else if (data.entitlementReport instanceof DatasetEntitlementAccessNotGrantedReport) {
|
77
78
|
const plugins = applicationStore.pluginManager
|
@@ -85,10 +86,10 @@ const AccessStatusCellRenderer = observer((params) => {
|
|
85
86
|
break;
|
86
87
|
}
|
87
88
|
}
|
88
|
-
return (
|
89
|
+
return (_jsxDEV("div", { className: "data-access-overview__grid__access-status-cell", children: [_jsxDEV("div", { className: "data-access-overview__grid__access-status-cell__content", children: [_jsxDEV("div", { className: "data-access-overview__grid__access-status-cell__icon data-access-overview__grid__access-status-cell__icon--access-not-granted", children: _jsxDEV(TimesCircleIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 190, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 189, columnNumber: 13 }, this), _jsxDEV("div", { className: "data-access-overview__grid__access-status-cell__text", children: "Access Not Granted" }, void 0, false, { fileName: _jsxFileName, lineNumber: 192, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 188, columnNumber: 11 }, this), action && (_jsxDEV("div", { className: "data-access-overview__grid__access-status-cell__action", children: action }, void 0, false, { fileName: _jsxFileName, lineNumber: 196, columnNumber: 23 }, this))] }, void 0, true, { fileName: _jsxFileName, lineNumber: 186, columnNumber: 15 }, this));
|
89
90
|
}
|
90
91
|
else if (data.entitlementReport instanceof DatasetEntitlementUnsupportedReport) {
|
91
|
-
return (
|
92
|
+
return (_jsxDEV("div", { className: "data-access-overview__grid__empty-cell", children: "(unsupported)" }, void 0, false, { fileName: _jsxFileName, lineNumber: 206, columnNumber: 15 }, this));
|
92
93
|
}
|
93
94
|
return null;
|
94
95
|
});
|
@@ -96,10 +97,10 @@ const DataAccessOverviewGrid = observer((props) => {
|
|
96
97
|
const { dataAccessState } = props;
|
97
98
|
const darkMode = !dataAccessState.applicationStore.layoutService
|
98
99
|
.TEMPORARY__isLightColorThemeEnabled;
|
99
|
-
return (
|
100
|
+
return (_jsxDEV("div", { className: clsx('data-access-overview__grid', {
|
100
101
|
'ag-theme-balham': !darkMode,
|
101
102
|
'ag-theme-balham-dark': darkMode,
|
102
|
-
}), children:
|
103
|
+
}), children: _jsxDEV(DataGrid, { rowData: dataAccessState.datasets, gridOptions: {
|
103
104
|
suppressScrollOnNewData: true,
|
104
105
|
getRowId: (rowData) => rowData.data.uuid,
|
105
106
|
}, columnDefs: [
|
@@ -130,7 +131,7 @@ const DataAccessOverviewGrid = observer((props) => {
|
|
130
131
|
cellRenderer: AccessStatusCellRenderer,
|
131
132
|
flex: 1,
|
132
133
|
},
|
133
|
-
] }) }));
|
134
|
+
] }, void 0, false, { fileName: _jsxFileName, lineNumber: 231, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 224, columnNumber: 13 }, this));
|
134
135
|
});
|
135
136
|
export const DataAccessOverview = observer((props) => {
|
136
137
|
const { dataAccessState, compact } = props;
|
@@ -155,14 +156,14 @@ export const DataAccessOverview = observer((props) => {
|
|
155
156
|
return warehouseEntitlementRender;
|
156
157
|
};
|
157
158
|
const warehouseEntitlementTab = renderWarehouseEntitlementTab();
|
158
|
-
return (
|
159
|
+
return (_jsxDEV("div", { className: clsx('data-access-overview', {
|
159
160
|
'data-access-overview--compact': Boolean(compact),
|
160
|
-
}), children: [
|
161
|
-
dataAccessState.checkEntitlementsState.isInProgress }),
|
162
|
-
DatasetEntitlementUnsupportedReport)) && (
|
161
|
+
}), children: [_jsxDEV(PanelLoadingIndicator, { isLoading: dataAccessState.surveyDatasetsState.isInProgress ||
|
162
|
+
dataAccessState.checkEntitlementsState.isInProgress }, void 0, false, { fileName: _jsxFileName, lineNumber: 313, columnNumber: 9 }, this), _jsxDEV("div", { className: "data-access-overview__actions", children: [Boolean(dataAccessState.datasets.find((dataset) => dataset.entitlementReport instanceof
|
163
|
+
DatasetEntitlementUnsupportedReport)) && (_jsxDEV("div", { className: "data-access-overview__actions__warning", children: "Use case is not fully supported!" }, void 0, false, { fileName: _jsxFileName, lineNumber: 326, columnNumber: 17 }, this)), _jsxDEV("button", { className: "data-access-overview__actions__refresh-btn btn--dark", tabIndex: -1, title: "Refresh", onClick: () => {
|
163
164
|
dataAccessState
|
164
165
|
.refresh()
|
165
166
|
.catch(applicationStore.alertUnhandledError);
|
166
|
-
}, children:
|
167
|
+
}, children: _jsxDEV(RefreshIcon, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 341, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 331, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 319, columnNumber: 9 }, this), _jsxDEV("div", { className: "data-access-overview__datasets", children: [_jsxDEV("div", { className: "data-access-overview__header", children: "DATASET ENTITLEMENTS" }, void 0, false, { fileName: _jsxFileName, lineNumber: 345, columnNumber: 11 }, this), _jsxDEV(DataAccessOverviewChart, { dataAccessState: dataAccessState }, void 0, false, { fileName: _jsxFileName, lineNumber: 348, columnNumber: 11 }, this), _jsxDEV(DataAccessOverviewGrid, { dataAccessState: dataAccessState }, void 0, false, { fileName: _jsxFileName, lineNumber: 349, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 344, columnNumber: 9 }, this), warehouseEntitlementTab] }, void 0, true, { fileName: _jsxFileName, lineNumber: 307, columnNumber: 13 }, this));
|
167
168
|
});
|
168
169
|
//# sourceMappingURL=DataAccessOverview.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataAccessOverview.js","sourceRoot":"","sources":["../../../src/components/data-access/DataAccessOverview.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"DataAccessOverview.js","sourceRoot":"","sources":["../../../src/components/data-access/DataAccessOverview.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;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AC;QACH,CAAC;QACD,OAAO,0BAA0B,CAAC;IACpC,CAAC,CAAC;IACF,MAAM,uBAAuB,GAAG,6BAA6B,EAAE,CAAC;IAEhE,OAAO,CACL,iBACE,SAAS,EAAE,IAAI,CAAC,sBAAsB,EAAE;YACtC,+BAA+B,EAAE,OAAO,CAAC,OAAO,CAAC;SAClD,CAAC,aAEF,QAAC,qBAAqB,IACpB,SAAS,EACP,eAAe,CAAC,mBAAmB,CAAC,YAAY;oBAChD,eAAe,CAAC,sBAAsB,CAAC,YAAY,sFAErD,EACF,iBAAK,SAAS,EAAC,+BAA+B,aAC3C,OAAO,CACN,eAAe,CAAC,QAAQ,CAAC,IAAI,CAC3B,CAAC,OAAO,EAAE,EAAE,CACV,OAAO,CAAC,iBAAiB;wBACzB,mCAAmC,CACtC,CACF,IAAI,CACH,iBAAK,SAAS,EAAC,wCAAwC,qIAEjD,CACP,EACD,oBACE,SAAS,EAAC,sDAAsD,EAChE,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAC,SAAS,EACf,OAAO,EAAE,GAAG,EAAE;4BACZ,eAAe;iCACZ,OAAO,EAAE;iCACT,KAAK,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,CAAC;wBACjD,CAAC,YAED,QAAC,WAAW,yFAAG,uFACR,sFACL,EACN,iBAAK,SAAS,EAAC,gCAAgC,aAC7C,iBAAK,SAAS,EAAC,8BAA8B,yHAEvC,EACN,QAAC,uBAAuB,IAAC,eAAe,EAAE,eAAe,uFAAI,EAC7D,QAAC,sBAAsB,IAAC,eAAe,EAAE,eAAe,uFAAI,sFACxD,EACL,uBAAuB,uFACpB,CACP,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/execution-plan/AllocationExecutionNodeViewer.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -25,8 +26,8 @@ export const AllocationExecutionNodeViewer = observer((props) => {
|
|
25
26
|
const resultType = node.resultType;
|
26
27
|
const realizeInMemory = node.realizeInMemory?.toString();
|
27
28
|
const applicationStore = executionPlanState.applicationStore;
|
28
|
-
return (
|
29
|
+
return (_jsxDEV(PanelContent, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, children: [_jsxDEV("div", { className: "query-builder__allocation__container", children: _jsxDEV("div", { children: [_jsxDEV(PanelListItem, { className: "query-builder__allocation__container__item__label", children: "Allocation Node Details" }, void 0, false, { fileName: _jsxFileName, lineNumber: 45, columnNumber: 11 }, this), _jsxDEV(PanelDivider, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 48, columnNumber: 11 }, this), _jsxDEV("div", { className: "query-builder__allocation__container__item", children: _jsxDEV("table", { className: "query-builder__allocation__container__table", children: _jsxDEV("tbody", { children: [_jsxDEV("tr", { children: [_jsxDEV("td", { children: "varName" }, void 0, false, { fileName: _jsxFileName, lineNumber: 53, columnNumber: 19 }, this), _jsxDEV("td", { children: `: ${varName}` }, void 0, false, { fileName: _jsxFileName, lineNumber: 54, columnNumber: 19 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 52, columnNumber: 17 }, this), _jsxDEV("tr", { children: [_jsxDEV("td", { children: "realizeInMemory" }, void 0, false, { fileName: _jsxFileName, lineNumber: 57, columnNumber: 19 }, this), _jsxDEV("td", { children: `: ${realizeInMemory}` }, void 0, false, { fileName: _jsxFileName, lineNumber: 58, columnNumber: 19 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 56, columnNumber: 17 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 51, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 50, columnNumber: 13 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 49, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 44, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 43, columnNumber: 7 }, this), _jsxDEV(PanelDivider, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 65, columnNumber: 7 }, this), _jsxDEV(ResultTypeViewer, { resultType: resultType }, void 0, false, { fileName: _jsxFileName, lineNumber: 66, columnNumber: 7 }, this), _jsxDEV(PanelDivider, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 67, columnNumber: 7 }, this), node.executionNodes.length > 0 &&
|
29
30
|
node.executionNodes[0] !== undefined &&
|
30
|
-
node.executionNodes[0] instanceof ConstantExecutionNode && (
|
31
|
+
node.executionNodes[0] instanceof ConstantExecutionNode && (_jsxDEV(ConstantExecutionNodeViewer, { cnode: node.executionNodes[0], executionPlanState: executionPlanState }, void 0, false, { fileName: _jsxFileName, lineNumber: 70, columnNumber: 69 }, this)), _jsxDEV(PanelDivider, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 76, columnNumber: 7 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 37, columnNumber: 11 }, this));
|
31
32
|
});
|
32
33
|
//# sourceMappingURL=AllocationExecutionNodeViewer.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"AllocationExecutionNodeViewer.js","sourceRoot":"","sources":["../../../src/components/execution-plan/AllocationExecutionNodeViewer.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"AllocationExecutionNodeViewer.js","sourceRoot":"","sources":["../../../src/components/execution-plan/AllocationExecutionNodeViewer.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAC9E,OAAO,EACL,qBAAqB,GAEtB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,g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,CAAC,EAC7B,kBAAkB,EAAE,kBAAkB,sFACtC,CACH,EACH,QAAC,YAAY,uFAAG,sFACH,CAChB,CAAC;AACJ,CAAC,CAAC,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/execution-plan/ConstantExecutionNodeViewer.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -30,6 +31,6 @@ export const ConstantExecutionNodeViewer = observer((props) => {
|
|
30
31
|
catch {
|
31
32
|
// do nothing
|
32
33
|
}
|
33
|
-
return (
|
34
|
+
return (_jsxDEV(PanelContent, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, children: [value !== '' && (_jsxDEV("div", { className: "query-builder__constant__container", children: _jsxDEV("div", { children: [_jsxDEV(PanelListItem, { className: "query-builder__constant__container__item__label", children: "Constant Execution Node Details" }, void 0, false, { fileName: _jsxFileName, lineNumber: 56, columnNumber: 13 }, this), _jsxDEV(PanelDivider, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 59, columnNumber: 13 }, this), _jsxDEV("pre", { children: _jsxDEV("div", { className: "query-builder__constant__container__item", children: _jsxDEV("div", { children: ["value: ", value] }, void 0, true, { fileName: _jsxFileName, lineNumber: 62, columnNumber: 17 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 61, columnNumber: 15 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 60, columnNumber: 13 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 55, columnNumber: 11 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 53, columnNumber: 25 }, this)), _jsxDEV(PanelDivider, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 68, columnNumber: 7 }, this), _jsxDEV(ResultTypeViewer, { resultType: resultType }, void 0, false, { fileName: _jsxFileName, lineNumber: 69, columnNumber: 7 }, this), _jsxDEV("div", { className: "query-builder__constant__container", children: _jsxDEV(Button, { className: "btn--dark execution-node-viewer__unsupported-view__to-text-mode__btn", onClick: () => executionPlanState.setViewMode(EXECUTION_PLAN_VIEW_MODE.JSON), text: "View JSON" }, void 0, false, { fileName: _jsxFileName, lineNumber: 71, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 70, columnNumber: 7 }, this), _jsxDEV(PanelDivider, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 79, columnNumber: 7 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 47, columnNumber: 11 }, this));
|
34
35
|
});
|
35
36
|
//# sourceMappingURL=ConstantExecutionNodeViewer.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ConstantExecutionNodeViewer.js","sourceRoot":"","sources":["../../../src/components/execution-plan/ConstantExecutionNodeViewer.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"ConstantExecutionNodeViewer.js","sourceRoot":"","sources":["../../../src/components/execution-plan/ConstantExecutionNodeViewer.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAEL,wBAAwB,GACzB,MAAM,mDAAmD,CAAC;AAE3D,OAAO,EACL,aAAa,EACb,YAAY,EACZ,MAAM,EACN,YAAY,GACb,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAErD,MAAM,CAAC,MAAM,2BAA2B,GAGnC,QAAQ,CAAC,CAAC,KAAK,EAAE,EAAE;IACtB,MAAM,EAAE,KAAK,EAAE,kBAAkB,EAAE,GAAG,KAAK,CAAC;IAC5C,MAAM,UAAU,GAAG,KAAK,CAAC,UAAU,CAAC;IACpC,IAAI,KAAK,GAAG,EAAE,CAAC;IACf,MAAM,gBAAgB,GAAG,kBAAkB,CAAC,gBAAgB,CAAC;IAC7D,IAAI,CAAC;QACH,KAAK,GAAG,CAAC,aAAa,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAW,CAAC;IAC5E,CAAC;IAAC,MAAM,CAAC;QACP,aAAa;IACf,CAAC;IAED,OAAO,CACL,QAAC,YAAY,IACX,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa,CAAC,mCAAmC,aAGpE,KAAK,KAAK,EAAE,IAAI,CACf,iBAAK,SAAS,EAAC,oCAAoC,YACjD,4BACE,QAAC,aAAa,IAAC,SAAS,EAAC,iDAAiD,mIAE1D,EAChB,QAAC,YAAY,wFAAG,EAChB,2BACE,iBAAK,SAAS,EAAC,0CAA0C,YACvD,uCAAa,KAAK,sFAAO,sFACrB,sFACF,sFACF,sFACF,CACP,EACD,QAAC,YAAY,uFAAG,EAChB,QAAC,gBAAgB,IAAC,UAAU,EAAE,UAAU,qFAAI,EAC5C,iBAAK,SAAS,EAAC,oCAAoC,YACjD,QAAC,MAAM,IACL,SAAS,EAAC,sEAAsE,EAChF,OAAO,EAAE,GAAS,EAAE,CAClB,kBAAkB,CAAC,WAAW,CAAC,wBAAwB,CAAC,IAAI,CAAC,EAE/D,IAAI,EAAC,WAAW,qFAChB,qFACE,EACN,QAAC,YAAY,uFAAG,sFACH,CAChB,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
@@ -1,4 +1,5 @@
|
|
1
|
-
import { Fragment as _Fragment,
|
1
|
+
import { Fragment as _Fragment, jsxDEV as _jsxDEV } from "react/jsx-dev-runtime";
|
2
|
+
const _jsxFileName = "/home/runner/work/legend-studio/legend-studio/packages/legend-query-builder/src/components/execution-plan/DataTypeResultTypeViewer.tsx";
|
2
3
|
/**
|
3
4
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
5
|
*
|
@@ -24,8 +25,8 @@ export const DataTypeResultTypeViewer = observer((props) => {
|
|
24
25
|
type = resultType.type.input ?? '';
|
25
26
|
}
|
26
27
|
if (type === '') {
|
27
|
-
return
|
28
|
+
return _jsxDEV(_Fragment, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 34, columnNumber: 11 }, this);
|
28
29
|
}
|
29
|
-
return (
|
30
|
+
return (_jsxDEV("div", { className: "query-builder__result__container", children: [_jsxDEV(PanelListItem, { className: "query-builder__result__container__item__data-type", children: _jsxDEV(_Fragment, { children: [_jsxDEV("div", { className: "query-builder__result__container__item__data-type__type", children: "Result type:" }, void 0, false, { fileName: _jsxFileName, lineNumber: 41, columnNumber: 11 }, this), _jsxDEV("div", { className: "query-builder__result__container__item__data-type__value", children: type }, void 0, false, { fileName: _jsxFileName, lineNumber: 44, columnNumber: 11 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 40, columnNumber: 9 }, this) }, void 0, false, { fileName: _jsxFileName, lineNumber: 39, columnNumber: 7 }, this), _jsxDEV(PanelDivider, {}, void 0, false, { fileName: _jsxFileName, lineNumber: 49, columnNumber: 7 }, this)] }, void 0, true, { fileName: _jsxFileName, lineNumber: 37, columnNumber: 11 }, this));
|
30
31
|
});
|
31
32
|
//# sourceMappingURL=DataTypeResultTypeViewer.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DataTypeResultTypeViewer.js","sourceRoot":"","sources":["../../../src/components/execution-plan/DataTypeResultTypeViewer.tsx"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"DataTypeResultTypeViewer.js","sourceRoot":"","sources":["../../../src/components/execution-plan/DataTypeResultTypeViewer.tsx"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EACL,mCAAmC,GAEpC,MAAM,qBAAqB,CAAC;AAE7B,MAAM,CAAC,MAAM,wBAAwB,GAEhC,QAAQ,CAAC,CAAC,KAAK,EAAE,EAAE;IACtB,MAAM,EAAE,UAAU,EAAE,GAAG,KAAK,CAAC;IAC7B,IAAI,IAAI,GAAG,EAAE,CAAC;IACd,IAAI,UAAU,CAAC,IAAI,YAAY,mCAAmC,EAAE,CAAC;QACnE,IAAI,GAAG,UAAU,CAAC,IAAI,CAAC,KAAK,IAAI,EAAE,CAAC;IACrC,CAAC;IAED,IAAI,IAAI,KAAK,EAAE,EAAE,CAAC;QAChB,OAAO,yGAAK,CAAC;IACf,CAAC;IAED,OAAO,CACL,iBAAK,SAAS,EAAC,kCAAkC,aAC/C,QAAC,aAAa,IAAC,SAAS,EAAC,mDAAmD,YAC1E,gCACE,iBAAK,SAAS,EAAC,yDAAyD,gHAElE,EACN,iBAAK,SAAS,EAAC,0DAA0D,YACtE,IAAI,sFACD,qFACL,qFACW,EAChB,QAAC,YAAY,uFAAG,sFACZ,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
@@ -27,19 +27,19 @@ export declare const ExecutionPlanViewerPanelContent: React.FC<{
|
|
27
27
|
export declare const ExecutionPlanTree: ((props: {
|
28
28
|
executionPlanState: ExecutionPlanState;
|
29
29
|
executionPlan: ExecutionPlan;
|
30
|
-
}) => import("react/jsx-runtime").JSX.Element) & {
|
30
|
+
}) => import("react/jsx-dev-runtime").JSX.Element) & {
|
31
31
|
displayName: string;
|
32
32
|
};
|
33
33
|
export declare const ExecutionNodeViewer: ((props: {
|
34
34
|
executionNode: ExecutionNode;
|
35
35
|
executionPlanState: ExecutionPlanState;
|
36
36
|
viewJson?: boolean | undefined;
|
37
|
-
}) => import("react/jsx-runtime").JSX.Element) & {
|
37
|
+
}) => import("react/jsx-dev-runtime").JSX.Element) & {
|
38
38
|
displayName: string;
|
39
39
|
};
|
40
40
|
export declare const ExecutionPlanViewer: ((props: {
|
41
41
|
executionPlanState: ExecutionPlanState;
|
42
|
-
}) => import("react/jsx-runtime").JSX.Element | null) & {
|
42
|
+
}) => import("react/jsx-dev-runtime").JSX.Element | null) & {
|
43
43
|
displayName: string;
|
44
44
|
};
|
45
45
|
//# sourceMappingURL=ExecutionPlanViewer.d.ts.map
|