@finos/legend-query-builder 4.3.9 → 4.5.0
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/components/QueryBuilder.d.ts.map +1 -1
- package/lib/components/QueryBuilder.js +2 -2
- package/lib/components/QueryBuilder.js.map +1 -1
- package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderResultPanel.js +8 -2
- package/lib/components/QueryBuilderResultPanel.js.map +1 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.d.ts.map +1 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js +1 -1
- package/lib/components/__test-utils__/QueryBuilderComponentTestUtils.js.map +1 -1
- package/lib/components/execution-plan/AllocationExecutionNodeViewer.js +1 -1
- package/lib/components/execution-plan/AllocationExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/ExecutionPlanViewer.d.ts +7 -0
- package/lib/components/execution-plan/ExecutionPlanViewer.d.ts.map +1 -1
- package/lib/components/execution-plan/ExecutionPlanViewer.js +109 -27
- package/lib/components/execution-plan/ExecutionPlanViewer.js.map +1 -1
- package/lib/components/execution-plan/FunctionParametersValidationNodeViewer.d.ts.map +1 -1
- package/lib/components/execution-plan/FunctionParametersValidationNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/ImplementationViewer.d.ts +23 -0
- package/lib/components/execution-plan/ImplementationViewer.d.ts.map +1 -0
- package/lib/components/execution-plan/ImplementationViewer.js +35 -0
- package/lib/components/execution-plan/ImplementationViewer.js.map +1 -0
- package/lib/components/execution-plan/PartialClassResultViewer.d.ts +21 -0
- package/lib/components/execution-plan/PartialClassResultViewer.d.ts.map +1 -0
- package/lib/components/execution-plan/PartialClassResultViewer.js +24 -0
- package/lib/components/execution-plan/PartialClassResultViewer.js.map +1 -0
- package/lib/components/execution-plan/RelationalClassQueryTempTableGraphFetchExecutionNodeViewer.d.ts +23 -0
- package/lib/components/execution-plan/RelationalClassQueryTempTableGraphFetchExecutionNodeViewer.d.ts.map +1 -0
- package/lib/components/execution-plan/RelationalClassQueryTempTableGraphFetchExecutionNodeViewer.js +43 -0
- package/lib/components/execution-plan/RelationalClassQueryTempTableGraphFetchExecutionNodeViewer.js.map +1 -0
- package/lib/components/execution-plan/RelationalCrossRootQueryTempTableGraphFetchExecutionNodeViewer.d.ts +23 -0
- package/lib/components/execution-plan/RelationalCrossRootQueryTempTableGraphFetchExecutionNodeViewer.d.ts.map +1 -0
- package/lib/components/execution-plan/RelationalCrossRootQueryTempTableGraphFetchExecutionNodeViewer.js +47 -0
- package/lib/components/execution-plan/RelationalCrossRootQueryTempTableGraphFetchExecutionNodeViewer.js.map +1 -0
- package/lib/components/execution-plan/RelationalRootQueryTempTableGraphFetchExecutionNodeViewer.d.ts +23 -0
- package/lib/components/execution-plan/RelationalRootQueryTempTableGraphFetchExecutionNodeViewer.d.ts.map +1 -0
- package/lib/components/execution-plan/RelationalRootQueryTempTableGraphFetchExecutionNodeViewer.js +43 -0
- package/lib/components/execution-plan/RelationalRootQueryTempTableGraphFetchExecutionNodeViewer.js.map +1 -0
- package/lib/components/execution-plan/ResultTypeViewer.d.ts.map +1 -1
- package/lib/components/execution-plan/ResultTypeViewer.js +5 -1
- package/lib/components/execution-plan/ResultTypeViewer.js.map +1 -1
- package/lib/components/execution-plan/SQLExecutionNodeViewer.d.ts +1 -1
- package/lib/components/execution-plan/SQLExecutionNodeViewer.d.ts.map +1 -1
- package/lib/components/execution-plan/SQLExecutionNodeViewer.js +16 -3
- package/lib/components/execution-plan/SQLExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/SequenceExecutionNodeViewer.d.ts +6 -0
- package/lib/components/execution-plan/SequenceExecutionNodeViewer.d.ts.map +1 -1
- package/lib/components/execution-plan/SequenceExecutionNodeViewer.js +34 -12
- package/lib/components/execution-plan/SequenceExecutionNodeViewer.js.map +1 -1
- package/lib/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.d.ts +23 -0
- package/lib/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.d.ts.map +1 -0
- package/lib/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.js +57 -0
- package/lib/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.js.map +1 -0
- package/lib/components/execution-plan/TempTableStrategyViewer.d.ts +28 -0
- package/lib/components/execution-plan/TempTableStrategyViewer.d.ts.map +1 -0
- package/lib/components/execution-plan/TempTableStrategyViewer.js +42 -0
- package/lib/components/execution-plan/TempTableStrategyViewer.js.map +1 -0
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts +7 -1
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js +16 -10
- package/lib/components/fetch-structure/QueryBuilderGraphFetchTreePanel.js.map +1 -1
- package/lib/components/shared/CustomDatePicker.d.ts +2 -1
- package/lib/components/shared/CustomDatePicker.d.ts.map +1 -1
- package/lib/components/shared/CustomDatePicker.js +31 -19
- package/lib/components/shared/CustomDatePicker.js.map +1 -1
- package/lib/components/shared/QueryBuilderVariableSelector.d.ts.map +1 -1
- package/lib/components/shared/QueryBuilderVariableSelector.js +1 -1
- package/lib/components/shared/QueryBuilderVariableSelector.js.map +1 -1
- package/lib/graph-manager/QueryBuilderConfig.d.ts +24 -0
- package/lib/graph-manager/QueryBuilderConfig.d.ts.map +1 -0
- package/lib/graph-manager/QueryBuilderConfig.js +27 -0
- package/lib/graph-manager/QueryBuilderConfig.js.map +1 -0
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/package.json +9 -9
- package/lib/stores/QueryBuilderState.d.ts +3 -1
- package/lib/stores/QueryBuilderState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderState.js +4 -2
- package/lib/stores/QueryBuilderState.js.map +1 -1
- package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.d.ts.map +1 -1
- package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.js +1 -1
- package/lib/stores/__test-utils__/QueryBuilderStateTestUtils.js.map +1 -1
- package/lib/stores/execution-plan/ExecutionPlanState.d.ts +15 -1
- package/lib/stores/execution-plan/ExecutionPlanState.d.ts.map +1 -1
- package/lib/stores/execution-plan/ExecutionPlanState.js +50 -3
- package/lib/stores/execution-plan/ExecutionPlanState.js.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.d.ts.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js +16 -4
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts +6 -4
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.d.ts.map +1 -1
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js +43 -9
- package/lib/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js.map +1 -1
- package/lib/stores/workflows/FunctionQueryBuilderState.d.ts +2 -1
- package/lib/stores/workflows/FunctionQueryBuilderState.d.ts.map +1 -1
- package/lib/stores/workflows/FunctionQueryBuilderState.js +2 -2
- package/lib/stores/workflows/FunctionQueryBuilderState.js.map +1 -1
- package/lib/stores/workflows/MappingQueryBuilderState.d.ts +2 -1
- package/lib/stores/workflows/MappingQueryBuilderState.d.ts.map +1 -1
- package/lib/stores/workflows/MappingQueryBuilderState.js +2 -2
- package/lib/stores/workflows/MappingQueryBuilderState.js.map +1 -1
- package/lib/stores/workflows/ServiceQueryBuilderState.d.ts +2 -1
- package/lib/stores/workflows/ServiceQueryBuilderState.d.ts.map +1 -1
- package/lib/stores/workflows/ServiceQueryBuilderState.js +2 -2
- package/lib/stores/workflows/ServiceQueryBuilderState.js.map +1 -1
- package/package.json +17 -17
- package/src/components/QueryBuilder.tsx +16 -14
- package/src/components/QueryBuilderResultPanel.tsx +7 -2
- package/src/components/__test-utils__/QueryBuilderComponentTestUtils.tsx +1 -0
- package/src/components/execution-plan/AllocationExecutionNodeViewer.tsx +1 -1
- package/src/components/execution-plan/ExecutionPlanViewer.tsx +233 -57
- package/src/components/execution-plan/FunctionParametersValidationNodeViewer.tsx +1 -0
- package/src/components/execution-plan/ImplementationViewer.tsx +76 -0
- package/src/components/execution-plan/PartialClassResultViewer.tsx +55 -0
- package/src/components/execution-plan/RelationalClassQueryTempTableGraphFetchExecutionNodeViewer.tsx +190 -0
- package/src/components/execution-plan/RelationalCrossRootQueryTempTableGraphFetchExecutionNodeViewer.tsx +219 -0
- package/src/components/execution-plan/RelationalRootQueryTempTableGraphFetchExecutionNodeViewer.tsx +204 -0
- package/src/components/execution-plan/ResultTypeViewer.tsx +4 -0
- package/src/components/execution-plan/SQLExecutionNodeViewer.tsx +66 -44
- package/src/components/execution-plan/SequenceExecutionNodeViewer.tsx +79 -15
- package/src/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.tsx +264 -0
- package/src/components/execution-plan/TempTableStrategyViewer.tsx +97 -0
- package/src/components/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx +23 -9
- package/src/components/shared/CustomDatePicker.tsx +65 -27
- package/src/components/shared/QueryBuilderVariableSelector.tsx +4 -1
- package/src/graph-manager/QueryBuilderConfig.ts +31 -0
- package/src/index.ts +1 -1
- package/src/stores/QueryBuilderState.ts +5 -0
- package/src/stores/__test-utils__/QueryBuilderStateTestUtils.ts +1 -0
- package/src/stores/execution-plan/ExecutionPlanState.ts +64 -1
- package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.ts +17 -7
- package/src/stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.ts +73 -9
- package/src/stores/workflows/FunctionQueryBuilderState.ts +3 -1
- package/src/stores/workflows/MappingQueryBuilderState.ts +3 -1
- package/src/stores/workflows/ServiceQueryBuilderState.ts +3 -1
- package/tsconfig.json +8 -0
@@ -29,7 +29,7 @@ import { CodeEditor, CODE_EDITOR_LANGUAGE, } from '@finos/legend-lego/code-edito
|
|
29
29
|
* See https://github.com/finos/legend-studio/issues/65
|
30
30
|
*/
|
31
31
|
export const SQLExecutionNodeViewerHelper = observer((props) => {
|
32
|
-
const { query, resultColumns,
|
32
|
+
const { query, resultColumns, executionPlanState } = props;
|
33
33
|
const applicationStore = executionPlanState.applicationStore;
|
34
34
|
const copyExpression = (value) => {
|
35
35
|
applicationStore.clipboardService
|
@@ -39,11 +39,24 @@ export const SQLExecutionNodeViewerHelper = observer((props) => {
|
|
39
39
|
};
|
40
40
|
return (_jsxs(_Fragment, { children: [_jsxs("div", { className: "query-builder__sql__container", children: [_jsx(PanelDivider, {}), _jsxs("div", { children: [_jsx("div", { className: "query-builder__sql__container__item__label", children: _jsxs(PanelListItem, { children: ["SQL", _jsx("div", { children: _jsx("button", { onClick: () => {
|
41
41
|
copyExpression(query);
|
42
|
-
}, title: "Copy SQL Expression", className: "query-builder__sql__container__icon", children: _jsx(CopyIcon, {}) }) })] }) }), _jsx("div", { className: "query-builder__sql__container__code-editor", children: _jsx(CodeEditor, { inputValue: tryToFormatSql(query
|
42
|
+
}, title: "Copy SQL Expression", className: "query-builder__sql__container__icon", children: _jsx(CopyIcon, {}) }) })] }) }), _jsx("div", { className: "query-builder__sql__container__code-editor", children: _jsx(CodeEditor, { inputValue: tryToFormatSql(query
|
43
|
+
.replaceAll('$', 'changeDollar')
|
44
|
+
.replaceAll('?', 'changeQuestion')
|
45
|
+
.replaceAll('{', 'changeOpenCurlyBracket')
|
46
|
+
.replaceAll('}', 'changeCloseCurlyBracket')
|
47
|
+
.replaceAll("'", 'changeSingleQuote'))
|
48
|
+
.replaceAll('changeDollar', '$')
|
49
|
+
.replaceAll('changeQuestion', '?')
|
50
|
+
.replaceAll('changeOpenCurlyBracket', '{')
|
51
|
+
.replaceAll('changeCloseCurlyBracket', '}')
|
52
|
+
.replaceAll('changeSingleQuote', "'"), language: CODE_EDITOR_LANGUAGE.SQL }) }), _jsx(PanelDivider, {})] }, query)] }), resultColumns.length > 0 && (_jsx("div", { className: "query-builder__sql__container", children: _jsxs("div", { children: [_jsx(PanelListItem, { className: "query-builder__sql__container__item__label", children: "Result Columns" }), _jsx(PanelDivider, {}), _jsxs("table", { className: "table query-builder__sql__container__table", children: [_jsx("thead", { children: _jsxs("tr", { children: [_jsx("th", { className: "table__cell--left", children: "Label" }), _jsx("th", { className: "table__cell--left", children: "Data Type" })] }) }), _jsx("tbody", { children: resultColumns.map((column) => (_jsxs("tr", { children: [_jsx("td", { className: "table__cell--left", children: column.label.replaceAll(`"`, '') }), column.dataType && (_jsx("td", { className: "table__cell--left", children: stringifyDataType(column.dataType) }))] }, column.label))) })] })] }) }))] }));
|
43
53
|
});
|
44
54
|
export const SQLExecutionNodeViewer = observer((props) => {
|
45
55
|
const { query, resultColumns, resultType, executionPlanState, viewJson } = props;
|
46
56
|
const applicationStore = executionPlanState.applicationStore;
|
47
|
-
|
57
|
+
if (viewJson === false) {
|
58
|
+
return (_jsx(SQLExecutionNodeViewerHelper, { query: query, resultColumns: resultColumns, resultType: resultType, executionPlanState: executionPlanState }));
|
59
|
+
}
|
60
|
+
return (_jsxs(PanelContent, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, children: [_jsx(SQLExecutionNodeViewerHelper, { query: query, resultColumns: resultColumns, resultType: resultType, executionPlanState: executionPlanState }), _jsx(ResultTypeViewer, { resultType: resultType }), _jsx("div", { className: "query-builder__sql__container", children: _jsx(Button, { className: "btn--dark execution-node-viewer__unsupported-view__to-text-mode__btn", onClick: () => executionPlanState.setViewMode(EXECUTION_PLAN_VIEW_MODE.JSON), text: "View JSON" }) }), _jsx(PanelDivider, {})] }));
|
48
61
|
});
|
49
62
|
//# sourceMappingURL=SQLExecutionNodeViewer.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SQLExecutionNodeViewer.js","sourceRoot":"","sources":["../../../src/components/execution-plan/SQLExecutionNodeViewer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAEL,wBAAwB,GACzB,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EAEL,iBAAiB,GAElB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,aAAa,EACb,QAAQ,EACR,YAAY,EACZ,MAAM,EACN,YAAY,GACb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EACL,UAAU,EACV,oBAAoB,GACrB,MAAM,gCAAgC,CAAC;AAExC;;;;;;GAMG;AAEH,MAAM,CAAC,MAAM,4BAA4B,GAKpC,QAAQ,CAAC,CAAC,KAAK,EAAE,EAAE;IACtB,MAAM,EAAE,KAAK,EAAE,aAAa,EAAE,
|
1
|
+
{"version":3,"file":"SQLExecutionNodeViewer.js","sourceRoot":"","sources":["../../../src/components/execution-plan/SQLExecutionNodeViewer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAEL,wBAAwB,GACzB,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EAEL,iBAAiB,GAElB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,aAAa,EACb,QAAQ,EACR,YAAY,EACZ,MAAM,EACN,YAAY,GACb,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EACL,UAAU,EACV,oBAA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;IAE7D,IAAI,QAAQ,KAAK,KAAK,EAAE;QACtB,OAAO,CACL,KAAC,4BAA4B,IAC3B,KAAK,EAAE,KAAK,EACZ,aAAa,EAAE,aAAa,EAC5B,UAAU,EAAE,UAAU,EACtB,kBAAkB,EAAE,kBAAkB,GACtC,CACH,CAAC;KACH;IACD,OAAO,CACL,MAAC,YAAY,IACX,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa,CAAC,mCAAmC,aAGrE,KAAC,4BAA4B,IAC3B,KAAK,EAAE,KAAK,EACZ,aAAa,EAAE,aAAa,EAC5B,UAAU,EAAE,UAAU,EACtB,kBAAkB,EAAE,kBAAkB,GACtC,EACF,KAAC,gBAAgB,IAAC,UAAU,EAAE,UAAU,GAAI,EAC5C,cAAK,SAAS,EAAC,+BAA+B,YAC5C,KAAC,MAAM,IACL,SAAS,EAAC,sEAAsE,EAChF,OAAO,EAAE,GAAS,EAAE,CAClB,kBAAkB,CAAC,WAAW,CAAC,wBAAwB,CAAC,IAAI,CAAC,EAE/D,IAAI,EAAC,WAAW,GAChB,GACE,EACN,KAAC,YAAY,KAAG,IACH,CAChB,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
@@ -16,8 +16,14 @@
|
|
16
16
|
/// <reference types="react" resolution-mode="require"/>
|
17
17
|
import { type ExecutionPlanState } from '../../stores/execution-plan/ExecutionPlanState.js';
|
18
18
|
import type { SequenceExecutionNode } from '@finos/legend-graph';
|
19
|
+
export declare const SequenceExecutionNodeViewerHelper: React.FC<{
|
20
|
+
node: SequenceExecutionNode;
|
21
|
+
executionPlanState: ExecutionPlanState;
|
22
|
+
viewJson?: boolean | undefined;
|
23
|
+
}>;
|
19
24
|
export declare const SequenceExecutionNodeViewer: React.FC<{
|
20
25
|
node: SequenceExecutionNode;
|
21
26
|
executionPlanState: ExecutionPlanState;
|
27
|
+
viewJson?: boolean | undefined;
|
22
28
|
}>;
|
23
29
|
//# sourceMappingURL=SequenceExecutionNodeViewer.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SequenceExecutionNodeViewer.d.ts","sourceRoot":"","sources":["../../../src/components/execution-plan/SequenceExecutionNodeViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;
|
1
|
+
{"version":3,"file":"SequenceExecutionNodeViewer.d.ts","sourceRoot":"","sources":["../../../src/components/execution-plan/SequenceExecutionNodeViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAOH,OAAO,EACL,KAAK,kBAAkB,EAIxB,MAAM,mDAAmD,CAAC;AAU3D,OAAO,KAAK,EAAiB,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAIhF,eAAO,MAAM,iCAAiC,EAAE,KAAK,CAAC,EAAE,CAAC;IACvD,IAAI,EAAE,qBAAqB,CAAC;IAC5B,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAChC,CAyEC,CAAC;AAEH,eAAO,MAAM,2BAA2B,EAAE,KAAK,CAAC,EAAE,CAAC;IACjD,IAAI,EAAE,qBAAqB,CAAC;IAC5B,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,QAAQ,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAChC,CAmCC,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
2
2
|
/**
|
3
3
|
* Copyright (c) 2020-present, Goldman Sachs
|
4
4
|
*
|
@@ -15,24 +15,46 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
15
15
|
* limitations under the License.
|
16
16
|
*/
|
17
17
|
import { observer } from 'mobx-react-lite';
|
18
|
-
import { generateExecutionNodeLabel } from './ExecutionPlanViewer.js';
|
18
|
+
import { ExecutionNodeViewer, generateExecutionNodeLabel, } from './ExecutionPlanViewer.js';
|
19
19
|
import { EXECUTION_PLAN_VIEW_MODE, ExecutionPlanViewTreeNodeData, ExecutionNodeTreeNodeData, } from '../../stores/execution-plan/ExecutionPlanState.js';
|
20
|
-
import { PanelListItem, PanelDivider, Button, PanelContent, } from '@finos/legend-art';
|
20
|
+
import { PanelListItem, PanelDivider, Button, PanelContent, ChevronDownIcon, ChevronRightIcon, } from '@finos/legend-art';
|
21
21
|
import { ResultTypeViewer } from './ResultTypeViewer.js';
|
22
|
-
|
23
|
-
|
22
|
+
import { useState } from 'react';
|
23
|
+
export const SequenceExecutionNodeViewerHelper = observer((props) => {
|
24
|
+
const { node, executionPlanState, viewJson } = props;
|
24
25
|
const resultType = node.resultType;
|
25
|
-
const
|
26
|
+
const [executionNode, setExecutionNode] = useState(undefined);
|
27
|
+
const nodeExpandIcon = viewJson ? (_jsx("div", {})) : executionNode ? (_jsx(ChevronDownIcon, {})) : (_jsx(ChevronRightIcon, {}));
|
26
28
|
const openExecutionNode = (child) => {
|
27
29
|
const newNode = executionPlanState.treeData?.nodes.get(child._UUID);
|
28
|
-
if (
|
29
|
-
|
30
|
+
if (viewJson === false) {
|
31
|
+
if (executionNode) {
|
32
|
+
setExecutionNode(undefined);
|
33
|
+
}
|
34
|
+
else {
|
35
|
+
setExecutionNode(child);
|
36
|
+
}
|
30
37
|
}
|
31
|
-
else
|
32
|
-
|
38
|
+
else {
|
39
|
+
if (newNode instanceof ExecutionPlanViewTreeNodeData) {
|
40
|
+
executionPlanState.transformMetadataToProtocolJson(newNode.executionPlan);
|
41
|
+
}
|
42
|
+
else if (newNode instanceof ExecutionNodeTreeNodeData) {
|
43
|
+
executionPlanState.transformMetadataToProtocolJson(newNode.executionNode);
|
44
|
+
}
|
45
|
+
if (newNode) {
|
46
|
+
executionPlanState.setSelectedNode(newNode);
|
47
|
+
}
|
33
48
|
}
|
34
|
-
executionPlanState.setSelectedNode(newNode);
|
35
49
|
};
|
36
|
-
return (_jsxs(
|
50
|
+
return (_jsxs(_Fragment, { children: [_jsx("div", { className: "query-builder__sequence__container", children: _jsxs("div", { children: [_jsx(PanelListItem, { className: "query-builder__sequence__container__item__label", children: "Execution Nodes" }), _jsx(PanelDivider, {}), node.executionNodes.map((child, index) => (_jsx("div", { className: "query-builder__sequence__container__item", children: _jsxs("button", { className: "query-builder__sequence__container__item__btn", onClick: () => openExecutionNode(child), tabIndex: -1, title: `Go to ${generateExecutionNodeLabel(child)}`, children: [!viewJson && nodeExpandIcon, `${index + 1}: ${generateExecutionNodeLabel(child)}`] }) }, child._UUID)))] }) }), _jsx(PanelDivider, {}), _jsx(ResultTypeViewer, { resultType: resultType }), viewJson === false && executionNode && (_jsx(ExecutionNodeViewer, { executionNode: executionNode, executionPlanState: executionPlanState, viewJson: false }))] }));
|
51
|
+
});
|
52
|
+
export const SequenceExecutionNodeViewer = observer((props) => {
|
53
|
+
const { node, executionPlanState, viewJson } = props;
|
54
|
+
const applicationStore = executionPlanState.applicationStore;
|
55
|
+
if (viewJson === false) {
|
56
|
+
return (_jsx(SequenceExecutionNodeViewerHelper, { node: node, executionPlanState: executionPlanState, viewJson: viewJson }));
|
57
|
+
}
|
58
|
+
return (_jsxs(PanelContent, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, children: [_jsx(SequenceExecutionNodeViewerHelper, { node: node, executionPlanState: executionPlanState, viewJson: viewJson }), _jsx("div", { className: "query-builder__execution__container", children: _jsx(Button, { className: "btn--dark execution-node-viewer__unsupported-view__to-text-mode__btn", onClick: () => executionPlanState.setViewMode(EXECUTION_PLAN_VIEW_MODE.JSON), text: "View JSON" }) }), _jsx(PanelDivider, {})] }));
|
37
59
|
});
|
38
60
|
//# sourceMappingURL=SequenceExecutionNodeViewer.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"SequenceExecutionNodeViewer.js","sourceRoot":"","sources":["../../../src/components/execution-plan/SequenceExecutionNodeViewer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,
|
1
|
+
{"version":3,"file":"SequenceExecutionNodeViewer.js","sourceRoot":"","sources":["../../../src/components/execution-plan/SequenceExecutionNodeViewer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,mBAAmB,EACnB,0BAA0B,GAC3B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAEL,wBAAwB,EACxB,6BAA6B,EAC7B,yBAAyB,GAC1B,MAAM,mDAAmD,CAAC;AAE3D,OAAO,EACL,aAAa,EACb,YAAY,EACZ,MAAM,EACN,YAAY,EACZ,eAAe,EACf,gBAAgB,GACjB,MAAM,mBAAmB,CAAC;AAE3B,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,MAAM,CAAC,MAAM,iCAAiC,GAIzC,QAAQ,CAAC,CAAC,KAAK,EAAE,EAAE;IACtB,MAAM,EAAE,IAAI,EAAE,kBAAkB,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IACrD,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC;IACnC,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,QAAQ,CAChD,SAAS,CACV,CAAC;IACF,MAAM,cAAc,GAAG,QAAQ,CAAC,CAAC,CAAC,CAChC,eAAO,CACR,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,CAClB,KAAC,eAAe,KAAG,CACpB,CAAC,CAAC,CAAC,CACF,KAAC,gBAAgB,KAAG,CACrB,CAAC;IACF,MAAM,iBAAiB,GAAG,CAAC,KAAoB,EAAQ,EAAE;QACvD,MAAM,OAAO,GAAG,kBAAkB,CAAC,QAAQ,EAAE,KAAK,CAAC,GAA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,IAAI,CACtC,KAAC,mBAAmB,IAClB,aAAa,EAAE,aAAa,EAC5B,kBAAkB,EAAE,kBAAkB,EACtC,QAAQ,EAAE,KAAK,GACf,CACH,IACA,CACJ,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,2BAA2B,GAInC,QAAQ,CAAC,CAAC,KAAK,EAAE,EAAE;IACtB,MAAM,EAAE,IAAI,EAAE,kBAAkB,EAAE,QAAQ,EAAE,GAAG,KAAK,CAAC;IACrD,MAAM,gBAAgB,GAAG,kBAAkB,CAAC,gBAAgB,CAAC;IAC7D,IAAI,QAAQ,KAAK,KAAK,EAAE;QACtB,OAAO,CACL,KAAC,iCAAiC,IAChC,IAAI,EAAE,IAAI,EACV,kBAAkB,EAAE,kBAAkB,EACtC,QAAQ,EAAE,QAAQ,GAClB,CACH,CAAC;KACH;IACD,OAAO,CACL,MAAC,YAAY,IACX,QAAQ,EACN,CAAC,gBAAgB,CAAC,aAAa,CAAC,mCAAmC,aAGrE,KAAC,iCAAiC,IAChC,IAAI,EAAE,IAAI,EACV,kBAAkB,EAAE,kBAAkB,EACtC,QAAQ,EAAE,QAAQ,GAClB,EACF,cAAK,SAAS,EAAC,qCAAqC,YAClD,KAAC,MAAM,IACL,SAAS,EAAC,sEAAsE,EAChF,OAAO,EAAE,GAAS,EAAE,CAClB,kBAAkB,CAAC,WAAW,CAAC,wBAAwB,CAAC,IAAI,CAAC,EAE/D,IAAI,EAAC,WAAW,GAChB,GACE,EACN,KAAC,YAAY,KAAG,IACH,CAChB,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
/// <reference types="react" resolution-mode="require"/>
|
17
|
+
import { type ExecutionPlanState } from '../../stores/execution-plan/ExecutionPlanState.js';
|
18
|
+
import { type StoreMappingGlobalGraphFetchExecutionNode } from '@finos/legend-graph';
|
19
|
+
export declare const StoreMappingGlobalGraphFetchExecutionNodeViewer: React.FC<{
|
20
|
+
storeMappingNode: StoreMappingGlobalGraphFetchExecutionNode;
|
21
|
+
executionPlanState: ExecutionPlanState;
|
22
|
+
}>;
|
23
|
+
//# sourceMappingURL=StoreMappingGlobalGraphFetchExecutionNodeViewer.d.ts.map
|
package/lib/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.d.ts.map
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"StoreMappingGlobalGraphFetchExecutionNodeViewer.d.ts","sourceRoot":"","sources":["../../../src/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAGH,OAAO,EACL,KAAK,kBAAkB,EAExB,MAAM,mDAAmD,CAAC;AAC3D,OAAO,EAIL,KAAK,yCAAyC,EAC/C,MAAM,qBAAqB,CAAC;AAkB7B,eAAO,MAAM,+CAA+C,EAAE,KAAK,CAAC,EAAE,CAAC;IACrE,gBAAgB,EAAE,yCAAyC,CAAC;IAC5D,kBAAkB,EAAE,kBAAkB,CAAC;CACxC,CAwNC,CAAC"}
|
@@ -0,0 +1,57 @@
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
2
|
+
/**
|
3
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
4
|
+
*
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
* you may not use this file except in compliance with the License.
|
7
|
+
* You may obtain a copy of the License at
|
8
|
+
*
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
*
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
* See the License for the specific language governing permissions and
|
15
|
+
* limitations under the License.
|
16
|
+
*/
|
17
|
+
import { observer } from 'mobx-react-lite';
|
18
|
+
import { EXECUTION_PLAN_VIEW_MODE, } from '../../stores/execution-plan/ExecutionPlanState.js';
|
19
|
+
import { PartialClassResultType, PropertyGraphFetchTree, RootGraphFetchTree, } from '@finos/legend-graph';
|
20
|
+
import { PanelListItem, PanelDivider, Button, PanelContent, TreeView, } from '@finos/legend-art';
|
21
|
+
import { guaranteeType, isNonNullable } from '@finos/legend-shared';
|
22
|
+
import { buildGraphFetchTreeData, buildPropertyGraphFetchTreeData, } from '../../stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js';
|
23
|
+
import { QueryBuilderGraphFetchTreeNodeContainer } from '../fetch-structure/QueryBuilderGraphFetchTreePanel.js';
|
24
|
+
import { PartialClassResultTypeViewer } from './PartialClassResultViewer.js';
|
25
|
+
export const StoreMappingGlobalGraphFetchExecutionNodeViewer = observer((props) => {
|
26
|
+
const { storeMappingNode, executionPlanState } = props;
|
27
|
+
let treeData = undefined;
|
28
|
+
try {
|
29
|
+
if (storeMappingNode.graphFetchTree instanceof RootGraphFetchTree) {
|
30
|
+
treeData = buildGraphFetchTreeData(guaranteeType(storeMappingNode.graphFetchTree, RootGraphFetchTree), true);
|
31
|
+
}
|
32
|
+
else if (storeMappingNode.graphFetchTree instanceof PropertyGraphFetchTree) {
|
33
|
+
treeData = buildPropertyGraphFetchTreeData(storeMappingNode.graphFetchTree);
|
34
|
+
}
|
35
|
+
}
|
36
|
+
catch {
|
37
|
+
//do nothing
|
38
|
+
}
|
39
|
+
const getChildNodes = (node) => node.childrenIds
|
40
|
+
.map((id) => {
|
41
|
+
if (treeData) {
|
42
|
+
return treeData.nodes.get(id);
|
43
|
+
}
|
44
|
+
return null;
|
45
|
+
})
|
46
|
+
.filter(isNonNullable);
|
47
|
+
const isReadOnly = true;
|
48
|
+
const applicationStore = executionPlanState.applicationStore;
|
49
|
+
return (_jsx(PanelContent, { darkMode: !applicationStore.layoutService.TEMPORARY__isLightColorThemeEnabled, children: _jsxs("div", { className: "query-builder__store-mapping-global-graph-fetch__container", children: [_jsx(PanelListItem, { className: "query-builder__store-mapping-global-graph-fetch__container__label", children: "Store Mapping Global Graph Fetch Execution Node Details" }), _jsx(PanelDivider, {}), _jsxs("table", { className: "table query-builder__store-mapping-global-graph-fetch__container__table", children: [_jsx("thead", { children: _jsxs("tr", { children: [_jsx("th", { className: "table__cell--left", children: "Property" }), _jsx("th", { className: "table__cell--left", children: "Details" })] }) }), _jsxs("tbody", { children: [storeMappingNode.parentIndex !== undefined && (_jsxs("tr", { children: [_jsx("td", { className: "table__cell--left", children: " ParentIndex" }), _jsx("td", { className: "table__cell--left", children: storeMappingNode.parentIndex })] })), storeMappingNode.enableConstraints !== undefined && (_jsxs("tr", { children: [_jsx("td", { className: "table__cell--left", children: "EnableConstraints" }), _jsx("td", { className: "table__cell--left", children: storeMappingNode.enableConstraints.toString() })] })), storeMappingNode.checked !== undefined && (_jsxs("tr", { children: [_jsx("td", { className: "table__cell--left", children: "Checked" }), _jsx("td", { className: "table__cell--left", children: storeMappingNode.checked.toString() })] })), storeMappingNode.authDependent !== undefined && (_jsxs("tr", { children: [_jsx("td", { className: "table__cell--left", children: "AuthDependent" }), _jsx("td", { className: "table__cell--left", children: storeMappingNode.authDependent.toString() })] })), storeMappingNode.store && (_jsxs("tr", { children: [_jsx("td", { className: "table__cell--left", children: "Store" }), _jsx("td", { className: "table__cell--left", children: storeMappingNode.store })] })), _jsxs("tr", { children: [_jsx("td", { className: "table__cell--left", children: "LocalTreeIndices" }), _jsx("td", { className: "table__cell--left", children: `[${storeMappingNode.localTreeIndices.toString()}]` })] }), _jsxs("tr", { children: [_jsx("td", { className: "table__cell--left", children: "DependencyIndices" }), _jsx("td", { className: "table__cell--left", children: `[${storeMappingNode.dependencyIndices.toString()}]` })] })] })] }), _jsx(PanelDivider, {}), treeData && (_jsxs(_Fragment, { children: [_jsx(PanelListItem, { className: "query-builder__store-mapping-global-graph-fetch__container__label2", children: "Graph Fetch Tree" }), _jsx("div", { className: "query-builder__store-mapping-global-graph-fetch__container__config-group__content", children: _jsx("div", { className: "query-builder__store-mapping-global-graph-fetch__container__config-group__item", children: _jsx(TreeView, { components: {
|
50
|
+
TreeNodeContainer: QueryBuilderGraphFetchTreeNodeContainer,
|
51
|
+
}, className: "query-builder-graph-fetch-tree__container__tree", treeData: treeData, getChildNodes: getChildNodes, innerProps: {
|
52
|
+
isReadOnly,
|
53
|
+
} }) }) }), _jsx(PanelDivider, {})] })), storeMappingNode.xStorePropertyFetchDetails && (_jsxs(_Fragment, { children: [_jsx(PanelListItem, { className: "query-builder__store-mapping-global-graph-fetch__container__xstore", children: "xStorePropertyFetchDetails" }), _jsx(PanelDivider, {}), _jsxs("table", { className: "table query-builder__store-mapping-global-graph-fetch__container__table", children: [_jsx("thead", { children: _jsxs("tr", { children: [_jsx("th", { className: "table__cell--left", children: "Property" }), _jsx("th", { className: "table__cell--left", children: "Details" })] }) }), _jsxs("tbody", { children: [_jsxs("tr", { children: [_jsx("td", { className: "table__cell--left", children: " propertyPath " }), _jsx("td", { className: "table__cell--left", children: storeMappingNode.xStorePropertyFetchDetails.propertyPath })] }), _jsxs("tr", { children: [_jsx("td", { className: "table__cell--left", children: " sourceMappingId " }), _jsx("td", { className: "table__cell--left", children: storeMappingNode.xStorePropertyFetchDetails
|
54
|
+
.sourceMappingId })] }), _jsxs("tr", { children: [_jsx("td", { className: "table__cell--left", children: " sourceSetId " }), _jsx("td", { className: "table__cell--left", children: storeMappingNode.xStorePropertyFetchDetails.sourceSetId })] }), _jsxs("tr", { children: [_jsx("td", { className: "table__cell--left", children: " subTree " }), _jsx("td", { className: "table__cell--left", children: storeMappingNode.xStorePropertyFetchDetails.subTree })] }), _jsxs("tr", { children: [_jsx("td", { className: "table__cell--left", children: " supportsCaching " }), _jsx("td", { className: "table__cell--left", children: storeMappingNode.xStorePropertyFetchDetails.supportsCaching.toString() })] }), _jsxs("tr", { children: [_jsx("td", { className: "table__cell--left", children: " targetMappingId " }), _jsx("td", { className: "table__cell--left", children: storeMappingNode.xStorePropertyFetchDetails
|
55
|
+
.targetMappingId })] }), _jsxs("tr", { children: [_jsx("td", { className: "table__cell--left", children: " targetSetId" }), _jsx("td", { className: "table__cell--left", children: storeMappingNode.xStorePropertyFetchDetails.targetSetId })] }), _jsxs("tr", { children: [_jsx("td", { className: "table__cell--left", children: "targetPropertiesOrdered" }), _jsx("td", { className: "table__cell--left", children: `[${storeMappingNode.xStorePropertyFetchDetails.targetPropertiesOrdered.toString()}]` })] })] })] })] })), storeMappingNode.resultType instanceof PartialClassResultType && (_jsx(PartialClassResultTypeViewer, { resultType: storeMappingNode.resultType })), _jsx(PanelDivider, {}), _jsx("div", { className: "query-builder__store-mapping-global-graph-fetch__container__btn", children: _jsx(Button, { className: "btn--dark execution-node-viewer__unsupported-view__to-text-mode__btn", onClick: () => executionPlanState.setViewMode(EXECUTION_PLAN_VIEW_MODE.JSON), text: "View JSON" }) }), _jsx(PanelDivider, {})] }) }));
|
56
|
+
});
|
57
|
+
//# sourceMappingURL=StoreMappingGlobalGraphFetchExecutionNodeViewer.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"StoreMappingGlobalGraphFetchExecutionNodeViewer.js","sourceRoot":"","sources":["../../../src/components/execution-plan/StoreMappingGlobalGraphFetchExecutionNodeViewer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;G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9E,KAAC,MAAM,IACL,SAAS,EAAC,sEAAsE,EAChF,OAAO,EAAE,GAAS,EAAE,CAClB,kBAAkB,CAAC,WAAW,CAAC,wBAAwB,CAAC,IAAI,CAAC,EAE/D,IAAI,EAAC,WAAW,GAChB,GACE,EACN,KAAC,YAAY,KAAG,IACZ,GACO,CAChB,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
3
|
+
*
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
* you may not use this file except in compliance with the License.
|
6
|
+
* You may obtain a copy of the License at
|
7
|
+
*
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
*
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
* See the License for the specific language governing permissions and
|
14
|
+
* limitations under the License.
|
15
|
+
*/
|
16
|
+
/// <reference types="react" resolution-mode="require"/>
|
17
|
+
import { type TempTableStrategy } from '@finos/legend-graph';
|
18
|
+
import { type ExecutionPlanState } from '../../stores/execution-plan/ExecutionPlanState.js';
|
19
|
+
export declare enum TEMP_TABLE_STRATEGY_TYPES {
|
20
|
+
RESULT_SET = "resultSet",
|
21
|
+
TEMP_FILE = "tempFile",
|
22
|
+
SUB_QUERY = "subQuery"
|
23
|
+
}
|
24
|
+
export declare const TempTableStrategyViewer: React.FC<{
|
25
|
+
tempTableStrategy: TempTableStrategy;
|
26
|
+
executionPlanState: ExecutionPlanState;
|
27
|
+
}>;
|
28
|
+
//# sourceMappingURL=TempTableStrategyViewer.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"TempTableStrategyViewer.d.ts","sourceRoot":"","sources":["../../../src/components/execution-plan/TempTableStrategyViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAGH,OAAO,EAIL,KAAK,iBAAiB,EACvB,MAAM,qBAAqB,CAAC;AAM7B,OAAO,EAAE,KAAK,kBAAkB,EAAE,MAAM,mDAAmD,CAAC;AAE5F,oBAAY,yBAAyB;IACnC,UAAU,cAAc;IACxB,SAAS,aAAa;IACtB,SAAS,aAAa;CACvB;AAED,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC;IAC7C,iBAAiB,EAAE,iBAAiB,CAAC;IACrC,kBAAkB,EAAE,kBAAkB,CAAC;CACxC,CAyDC,CAAC"}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
import { jsxs as _jsxs, jsx as _jsx } from "react/jsx-runtime";
|
2
|
+
/**
|
3
|
+
* Copyright (c) 2020-present, Goldman Sachs
|
4
|
+
*
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
* you may not use this file except in compliance with the License.
|
7
|
+
* You may obtain a copy of the License at
|
8
|
+
*
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
*
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
* See the License for the specific language governing permissions and
|
15
|
+
* limitations under the License.
|
16
|
+
*/
|
17
|
+
import { PanelDivider, PanelListItem } from '@finos/legend-art';
|
18
|
+
import { LoadFromResultSetAsValueTuplesTempTableStrategy, LoadFromSubQueryTempTableStrategy, LoadFromTempFileTempTableStrategy, } from '@finos/legend-graph';
|
19
|
+
import { observer } from 'mobx-react-lite';
|
20
|
+
import { ExecutionNodeViewer, generateExecutionNodeLabel, } from './ExecutionPlanViewer.js';
|
21
|
+
import {} from '../../stores/execution-plan/ExecutionPlanState.js';
|
22
|
+
export var TEMP_TABLE_STRATEGY_TYPES;
|
23
|
+
(function (TEMP_TABLE_STRATEGY_TYPES) {
|
24
|
+
TEMP_TABLE_STRATEGY_TYPES["RESULT_SET"] = "resultSet";
|
25
|
+
TEMP_TABLE_STRATEGY_TYPES["TEMP_FILE"] = "tempFile";
|
26
|
+
TEMP_TABLE_STRATEGY_TYPES["SUB_QUERY"] = "subQuery";
|
27
|
+
})(TEMP_TABLE_STRATEGY_TYPES || (TEMP_TABLE_STRATEGY_TYPES = {}));
|
28
|
+
export const TempTableStrategyViewer = observer((props) => {
|
29
|
+
const { tempTableStrategy, executionPlanState } = props;
|
30
|
+
let _type = '';
|
31
|
+
if (tempTableStrategy instanceof LoadFromResultSetAsValueTuplesTempTableStrategy) {
|
32
|
+
_type = TEMP_TABLE_STRATEGY_TYPES.RESULT_SET;
|
33
|
+
}
|
34
|
+
else if (tempTableStrategy instanceof LoadFromTempFileTempTableStrategy) {
|
35
|
+
_type = TEMP_TABLE_STRATEGY_TYPES.TEMP_FILE;
|
36
|
+
}
|
37
|
+
if (tempTableStrategy instanceof LoadFromSubQueryTempTableStrategy) {
|
38
|
+
_type = TEMP_TABLE_STRATEGY_TYPES.SUB_QUERY;
|
39
|
+
}
|
40
|
+
return (_jsxs("div", { className: "query-builder__temp-table-strategy__container", children: [_type && (_jsxs(PanelListItem, { className: "query-builder__temp-table-strategy__container__item", children: ["Type: ", _type] })), _jsx(PanelListItem, { className: "query-builder__temp-table-strategy__container__header", children: `Create Temp Table (${generateExecutionNodeLabel(tempTableStrategy.createTempTableNode)})` }), _jsx(ExecutionNodeViewer, { executionNode: tempTableStrategy.createTempTableNode, executionPlanState: executionPlanState, viewJson: false }), _jsx(PanelDivider, {}), _jsx(PanelListItem, { className: "query-builder__temp-table-strategy__container__header", children: `Load Temp Table (${generateExecutionNodeLabel(tempTableStrategy.loadTempTableNode)})` }), _jsx(ExecutionNodeViewer, { executionNode: tempTableStrategy.loadTempTableNode, executionPlanState: executionPlanState, viewJson: false }), _jsx(PanelDivider, {}), _jsx(PanelListItem, { className: "query-builder__temp-table-strategy__container__header", children: `Drop Temp Table (${generateExecutionNodeLabel(tempTableStrategy.dropTempTableNode)})` }), _jsx(ExecutionNodeViewer, { executionNode: tempTableStrategy.dropTempTableNode, executionPlanState: executionPlanState, viewJson: false }), _jsx(PanelDivider, {})] }));
|
41
|
+
});
|
42
|
+
//# sourceMappingURL=TempTableStrategyViewer.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"TempTableStrategyViewer.js","sourceRoot":"","sources":["../../../src/components/execution-plan/TempTableStrategyViewer.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAChE,OAAO,EACL,+CAA+C,EAC/C,iCAAiC,EACjC,iCAAiC,GAElC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EACL,mBAAmB,EACnB,0BAA0B,GAC3B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAA2B,MAAM,mDAAmD,CAAC;AAE5F,MAAM,CAAN,IAAY,yBAIX;AAJD,WAAY,yBAAyB;IACnC,qDAAwB,CAAA;IACxB,mDAAsB,CAAA;IACtB,mDAAsB,CAAA;AACxB,CAAC,EAJW,yBAAyB,KAAzB,yBAAyB,QAIpC;AAED,MAAM,CAAC,MAAM,uBAAuB,GAG/B,QAAQ,CAAC,CAAC,KAAK,EAAE,EAAE;IACtB,MAAM,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,GAAG,KAAK,CAAC;IACxD,IAAI,KAAK,GAAG,EAAE,CAAC;IACf,IACE,iBAAiB,YAAY,+CAA+C,EAC5E;QACA,KAAK,GAAG,yBAAyB,CAAC,UAAU,CAAC;KAC9C;SAAM,IAAI,iBAAiB,YAAY,iCAAiC,EAAE;QACzE,KAAK,GAAG,yBAAyB,CAAC,SAAS,CAAC;KAC7C;IACD,IAAI,iBAAiB,YAAY,iCAAiC,EAAE;QAClE,KAAK,GAAG,yBAAyB,CAAC,SAAS,CAAC;KAC7C;IACD,OAAO,CACL,eAAK,SAAS,EAAC,+CAA+C,aAC3D,KAAK,IAAI,CACR,MAAC,aAAa,IAAC,SAAS,EAAC,qDAAqD,uBACrE,KAAK,IACE,CACjB,EACD,KAAC,aAAa,IAAC,SAAS,EAAC,uDAAuD,YAC7E,sBAAsB,0BAA0B,CAC/C,iBAAiB,CAAC,mBAAmB,CACtC,GAAG,GACU,EAChB,KAAC,mBAAmB,IAClB,aAAa,EAAE,iBAAiB,CAAC,mBAAmB,EACpD,kBAAkB,EAAE,kBAAkB,EACtC,QAAQ,EAAE,KAAK,GACf,EACF,KAAC,YAAY,KAAG,EAEhB,KAAC,aAAa,IAAC,SAAS,EAAC,uDAAuD,YAC7E,oBAAoB,0BAA0B,CAC7C,iBAAiB,CAAC,iBAAiB,CACpC,GAAG,GACU,EAChB,KAAC,mBAAmB,IAClB,aAAa,EAAE,iBAAiB,CAAC,iBAAiB,EAClD,kBAAkB,EAAE,kBAAkB,EACtC,QAAQ,EAAE,KAAK,GACf,EACF,KAAC,YAAY,KAAG,EAEhB,KAAC,aAAa,IAAC,SAAS,EAAC,uDAAuD,YAC7E,oBAAoB,0BAA0B,CAC7C,iBAAiB,CAAC,iBAAiB,CACpC,GAAG,GACU,EAChB,KAAC,mBAAmB,IAClB,aAAa,EAAE,iBAAiB,CAAC,iBAAiB,EAClD,kBAAkB,EAAE,kBAAkB,EACtC,QAAQ,EAAE,KAAK,GACf,EACF,KAAC,YAAY,KAAG,IACZ,CACP,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
@@ -13,9 +13,15 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
|
16
|
+
/// <reference types="react" resolution-mode="require"/>
|
17
|
+
import { type TreeNodeContainerProps } from '@finos/legend-art';
|
18
|
+
import { type QueryBuilderGraphFetchTreeData, type QueryBuilderGraphFetchTreeNodeData } from '../../stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js';
|
17
19
|
import { type GraphFetchSerializationState, GraphFetchExternalFormatSerializationState, type QueryBuilderGraphFetchTreeState } from '../../stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js';
|
18
20
|
import { Binding } from '@finos/legend-graph';
|
21
|
+
export declare const QueryBuilderGraphFetchTreeNodeContainer: React.FC<TreeNodeContainerProps<QueryBuilderGraphFetchTreeNodeData, {
|
22
|
+
isReadOnly: boolean;
|
23
|
+
removeNode?: (node: QueryBuilderGraphFetchTreeNodeData) => void;
|
24
|
+
}>>;
|
19
25
|
export declare const QueryBuilderGraphFetchExternalConfig: ((props: {
|
20
26
|
graphFetchState: QueryBuilderGraphFetchTreeState;
|
21
27
|
serializationState: GraphFetchExternalFormatSerializationState;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderGraphFetchTreePanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;
|
1
|
+
{"version":3,"file":"QueryBuilderGraphFetchTreePanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAKH,OAAO,EACL,KAAK,sBAAsB,EA8B5B,MAAM,mBAAmB,CAAC;AAS3B,OAAO,EACL,KAAK,8BAA8B,EACnC,KAAK,kCAAkC,EAGxC,MAAM,4EAA4E,CAAC;AAKpF,OAAO,EACL,KAAK,4BAA4B,EACjC,0CAA0C,EAI1C,KAAK,+BAA+B,EACrC,MAAM,6EAA6E,CAAC;AAErF,OAAO,EAEL,OAAO,EAKR,MAAM,qBAAqB,CAAC;AAmC7B,eAAO,MAAM,uCAAuC,EAAE,KAAK,CAAC,EAAE,CAC5D,sBAAsB,CACpB,kCAAkC,EAClC;IACE,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,kCAAkC,KAAK,IAAI,CAAC;CACjE,CACF,CA2FF,CAAC;AA+IF,eAAO,MAAM,oCAAoC,WACvC;IACN,eAAe,EAAE,+BAA+B,CAAC;IACjD,kBAAkB,EAAE,0CAA0C,CAAC;IAC/D,qBAAqB,EAAE,8BAA8B,CAAC;IACtD,QAAQ,EAAE,OAAO,EAAE,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;CACrB;;CAoFF,CAAC;AAEF,eAAO,MAAM,kCAAkC;qBAE1B,+BAA+B;wBAC5B,4BAA4B;cACtC,8BAA8B;2BACjB,8BAA8B,KAAK,IAAI;gBAClD,OAAO;;;CA2QtB,CAAC;AAoFF,eAAO,MAAM,2BAA2B,WAC9B;IAAE,mBAAmB,EAAE,+BAA+B,CAAA;CAAE;;CAwCjE,CAAC"}
|
@@ -17,14 +17,14 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
17
17
|
import { useCallback } from 'react';
|
18
18
|
import { observer } from 'mobx-react-lite';
|
19
19
|
import { useDrop } from 'react-dnd';
|
20
|
-
import { clsx, TreeView, BlankPanelPlaceholder, ChevronDownIcon, ChevronRightIcon, TimesIcon, CheckSquareIcon, SquareIcon, InfoCircleIcon, PanelDropZone, BlankPanelContent, Dialog, ModalHeader, Modal, ModalBody, Panel, PanelForm, PanelFormTextField, PanelFormBooleanField, ModalFooterButton, ModalFooter, SerializeIcon, ResizablePanel, ResizablePanelSplitter, ResizablePanelGroup, BufferIcon, CustomSelectorInput, FolderIcon, } from '@finos/legend-art';
|
20
|
+
import { clsx, TreeView, BlankPanelPlaceholder, ChevronDownIcon, ChevronRightIcon, TimesIcon, CheckSquareIcon, SquareIcon, InfoCircleIcon, PanelDropZone, BlankPanelContent, Dialog, ModalHeader, Modal, ModalBody, Panel, PanelForm, PanelFormTextField, PanelFormBooleanField, ModalFooterButton, ModalFooter, SerializeIcon, ResizablePanel, ResizablePanelSplitter, ResizablePanelGroup, BufferIcon, CustomSelectorInput, FolderIcon, PURE_UnknownElementTypeIcon, } from '@finos/legend-art';
|
21
21
|
import { QUERY_BUILDER_TEST_ID } from '../../__lib__/QueryBuilderTesting.js';
|
22
22
|
import { deepClone, filterByType, guaranteeNonNullable, isNonNullable, prettyCONSTName, } from '@finos/legend-shared';
|
23
23
|
import { removeNodeRecursively, isGraphFetchTreeDataEmpty, } from '../../stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeUtil.js';
|
24
24
|
import { QUERY_BUILDER_EXPLORER_TREE_DND_TYPE, } from '../../stores/explorer/QueryBuilderExplorerState.js';
|
25
25
|
import { GraphFetchExternalFormatSerializationState, GraphFetchPureSerializationState, PureSerializationConfig, SERIALIZATION_TYPE, } from '../../stores/fetch-structure/graph-fetch/QueryBuilderGraphFetchTreeState.js';
|
26
26
|
import { QueryBuilderTextEditorMode } from '../../stores/QueryBuilderTextEditorState.js';
|
27
|
-
import { Binding, Package, getDescendantsOfPackage, } from '@finos/legend-graph';
|
27
|
+
import { Binding, Package, getDescendantsOfPackage, PropertyGraphFetchTree, RootGraphFetchTree, } from '@finos/legend-graph';
|
28
28
|
import { ActionAlertActionType, ActionAlertType, } from '@finos/legend-application';
|
29
29
|
import { buildElementOption, getClassPropertyIcon, } from '@finos/legend-lego/graph-editor';
|
30
30
|
const getBindingFormatter = (props) => function BindingLabel(option) {
|
@@ -33,21 +33,27 @@ const getBindingFormatter = (props) => function BindingLabel(option) {
|
|
33
33
|
: 'packageable-element-option-label';
|
34
34
|
return (_jsxs("div", { className: className, children: [_jsx("div", { className: `${className}__name`, children: option.label }), option.value.package && (_jsx("div", { className: `${className}__tag`, children: option.value.path })), _jsx("div", { className: `${className}__tag`, children: option.value.contentType })] }));
|
35
35
|
};
|
36
|
-
const QueryBuilderGraphFetchTreeNodeContainer = (props) => {
|
36
|
+
export const QueryBuilderGraphFetchTreeNodeContainer = (props) => {
|
37
37
|
const { node, level, stepPaddingInRem, onNodeSelect, innerProps } = props;
|
38
|
-
const { removeNode } = innerProps;
|
39
|
-
|
40
|
-
|
41
|
-
|
38
|
+
const { isReadOnly, removeNode } = innerProps;
|
39
|
+
let property, type, subType;
|
40
|
+
if (node.tree instanceof PropertyGraphFetchTree) {
|
41
|
+
property = node.tree.property.value;
|
42
|
+
type = property.genericType.value.rawType;
|
43
|
+
subType = node.tree.subType?.value;
|
44
|
+
}
|
45
|
+
else if (node.tree instanceof RootGraphFetchTree) {
|
46
|
+
type = node.tree.class.value;
|
47
|
+
}
|
42
48
|
const isExpandable = Boolean(node.childrenIds.length);
|
43
49
|
const nodeExpandIcon = isExpandable ? (node.isOpen ? (_jsx(ChevronDownIcon, {})) : (_jsx(ChevronRightIcon, {}))) : (_jsx("div", {}));
|
44
|
-
const nodeTypeIcon = getClassPropertyIcon(type);
|
50
|
+
const nodeTypeIcon = type ? (getClassPropertyIcon(type)) : (_jsx(PURE_UnknownElementTypeIcon, {}));
|
45
51
|
const toggleExpandNode = () => onNodeSelect?.(node);
|
46
|
-
const deleteNode = () => removeNode(node);
|
52
|
+
const deleteNode = () => removeNode?.(node);
|
47
53
|
return (_jsxs("div", { className: "tree-view__node__container query-builder-graph-fetch-tree__node__container", style: {
|
48
54
|
paddingLeft: `${(level - 1) * (stepPaddingInRem ?? 2)}rem`,
|
49
55
|
display: 'flex',
|
50
|
-
}, children: [_jsxs("div", { className: "query-builder-graph-fetch-tree__node__content", children: [_jsxs("div", { className: "tree-view__node__icon query-builder-graph-fetch-tree__node__icon", children: [_jsx("div", { className: "query-builder-graph-fetch-tree__expand-icon", onClick: toggleExpandNode, children: nodeExpandIcon }), _jsx("div", { className: "query-builder-graph-fetch-tree__type-icon", onClick: toggleExpandNode, children: nodeTypeIcon })] }), _jsxs("div", { className: "tree-view__node__label query-builder-graph-fetch-tree__node__label", onClick: toggleExpandNode, children: [node.label, subType && (_jsx("div", { className: "query-builder-graph-fetch-tree__node__sub-type", children: _jsx("div", { className: "query-builder-graph-fetch-tree__node__sub-type__label", children: subType.name }) })), _jsx("div", { className: "query-builder-graph-fetch-tree__node__type", children: _jsx("div", { className: "query-builder-graph-fetch-tree__node__type__label", children: type
|
56
|
+
}, children: [_jsxs("div", { className: "query-builder-graph-fetch-tree__node__content", children: [_jsxs("div", { className: "tree-view__node__icon query-builder-graph-fetch-tree__node__icon", children: [_jsx("div", { className: "query-builder-graph-fetch-tree__expand-icon", onClick: toggleExpandNode, children: nodeExpandIcon }), _jsx("div", { className: "query-builder-graph-fetch-tree__type-icon", onClick: toggleExpandNode, children: nodeTypeIcon })] }), _jsxs("div", { className: "tree-view__node__label query-builder-graph-fetch-tree__node__label", onClick: toggleExpandNode, children: [node.label, subType && (_jsx("div", { className: "query-builder-graph-fetch-tree__node__sub-type", children: _jsx("div", { className: "query-builder-graph-fetch-tree__node__sub-type__label", children: subType.name }) })), _jsx("div", { className: "query-builder-graph-fetch-tree__node__type", children: _jsx("div", { className: "query-builder-graph-fetch-tree__node__type__label", children: type?.name }) })] })] }), _jsx("div", { className: "query-builder-graph-fetch-tree__node__actions", children: _jsx("button", { className: "query-builder-graph-fetch-tree__node__action", title: "Remove", tabIndex: -1, onClick: deleteNode, disabled: isReadOnly, children: _jsx(TimesIcon, {}) }) })] }));
|
51
57
|
};
|
52
58
|
const PureSerializationConfigModal = observer((props) => {
|
53
59
|
const { pureSerializationState, graphFetchState, config } = props;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderGraphFetchTreePanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAEL,IAAI,EACJ,QAAQ,EACR,qB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BAA2B,GAAG,QAAQ,CACjD,CAAC,KAA+D,EAAE,EAAE;IAClE,MAAM,EAAE,mBAAmB,EAAE,GAAG,KAAK,CAAC;IACtC,MAAM,kBAAkB,GAAG,mBAAmB,CAAC,kBAAkB,CAAC;IAClE,MAAM,mBAAmB,GAAG,GAAS,EAAE,CACrC,mBAAmB,CAAC,iBAAiB,CAAC,eAAe,CAAC,SAAS,CAC7D,0BAA0B,CAAC,IAAI,CAChC,CAAC;IACJ,IACE,kBAAkB,YAAY,gCAAgC;QAC9D,kBAAkB,YAAY,0CAA0C,EACxE;QACA,OAAO,CACL,KAAC,+BAA+B,IAC9B,mBAAmB,EAAE,mBAAmB,EACxC,kBAAkB,EAAE,kBAAkB,GACtC,CACH,CAAC;KACH;IACD,OAAO,CACL,6BACe,qBAAqB,CAAC,yBAAyB,EAC5D,SAAS,EAAC,gBAAgB,YAE1B,KAAC,iBAAiB,cAChB,eAAK,SAAS,EAAC,kCAAkC,aAC/C,cAAK,SAAS,EAAC,qCAAqC,2DAE9C,EAEN,iBACE,SAAS,EAAC,yDAAyD,EACnE,OAAO,EAAE,mBAAmB,kCAGrB,IACL,GACY,GAChB,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
1
|
+
{"version":3,"file":"QueryBuilderGraphFetchTreePanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderGraphFetchTreePanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAEL,IAAI,EACJ,QAAQ,EACR,qBAAqB,EACrB,eAAe,EACf,gBAAgB,EAChB,SAAS,EACT,eAAe,EACf,UAAU,EACV,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,MAAM,EACN,WAAW,EACX,KAAK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,yBAAyB,CAAC,QAAQ,CAAC,IAAI,CACnD,KAAC,kCAAkC,IACjC,eAAe,EAAE,mBAAmB,EACpC,kBAAkB,EAAE,kBAAkB,EACtC,QAAQ,EAAE,QAAQ,EAClB,UAAU,EAAE,KAAK,EACjB,cAAc,EAAE,cAAc,GAC9B,CACH,IACa,GACZ,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAG,QAAQ,CACjD,CAAC,KAA+D,EAAE,EAAE;IAClE,MAAM,EAAE,mBAAmB,EAAE,GAAG,KAAK,CAAC;IACtC,MAAM,kBAAkB,GAAG,mBAAmB,CAAC,kBAAkB,CAAC;IAClE,MAAM,mBAAmB,GAAG,GAAS,EAAE,CACrC,mBAAmB,CAAC,iBAAiB,CAAC,eAAe,CAAC,SAAS,CAC7D,0BAA0B,CAAC,IAAI,CAChC,CAAC;IACJ,IACE,kBAAkB,YAAY,gCAAgC;QAC9D,kBAAkB,YAAY,0CAA0C,EACxE;QACA,OAAO,CACL,KAAC,+BAA+B,IAC9B,mBAAmB,EAAE,mBAAmB,EACxC,kBAAkB,EAAE,kBAAkB,GACtC,CACH,CAAC;KACH;IACD,OAAO,CACL,6BACe,qBAAqB,CAAC,yBAAyB,EAC5D,SAAS,EAAC,gBAAgB,YAE1B,KAAC,iBAAiB,cAChB,eAAK,SAAS,EAAC,kCAAkC,aAC/C,cAAK,SAAS,EAAC,qCAAqC,2DAE9C,EAEN,iBACE,SAAS,EAAC,yDAAyD,EACnE,OAAO,EAAE,mBAAmB,kCAGrB,IACL,GACY,GAChB,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -15,6 +15,7 @@
|
|
15
15
|
*/
|
16
16
|
/// <reference types="react" resolution-mode="require"/>
|
17
17
|
import { type PureModel, type Type, type ValueSpecification, SimpleFunctionExpression, PrimitiveInstanceValue, type ObserverContext } from '@finos/legend-graph';
|
18
|
+
import { type ApplicationStore, type LegendApplicationConfig, type LegendApplicationPlugin, type LegendApplicationPluginManager } from '@finos/legend-application';
|
18
19
|
export declare enum CUSTOM_DATE_PICKER_OPTION {
|
19
20
|
ABSOLUTE_DATE = "Absolute Date",
|
20
21
|
ABSOLUTE_TIME = "Absolute Time",
|
@@ -46,7 +47,7 @@ declare class DatePickerOption {
|
|
46
47
|
/**
|
47
48
|
* Build DatePickerOption from pure date functions or PrimitiveInstanceValue
|
48
49
|
*/
|
49
|
-
export declare const buildDatePickerOption: (valueSpecification: SimpleFunctionExpression | PrimitiveInstanceValue) => DatePickerOption;
|
50
|
+
export declare const buildDatePickerOption: (valueSpecification: SimpleFunctionExpression | PrimitiveInstanceValue, applicationStore: ApplicationStore<LegendApplicationConfig, LegendApplicationPluginManager<LegendApplicationPlugin>>) => DatePickerOption;
|
50
51
|
export declare const CustomDatePicker: React.FC<{
|
51
52
|
valueSpecification: PrimitiveInstanceValue | SimpleFunctionExpression;
|
52
53
|
graph: PureModel;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"CustomDatePicker.d.ts","sourceRoot":"","sources":["../../../src/components/shared/CustomDatePicker.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAQH,OAAO,EACL,KAAK,SAAS,EAEd,KAAK,IAAI,EACT,KAAK,kBAAkB,EAEvB,wBAAwB,EAGxB,sBAAsB,EAKtB,KAAK,eAAe,EAErB,MAAM,qBAAqB,CAAC;AAuB7B,oBAAY,yBAAyB;IACnC,aAAa,kBAAkB;IAC/B,aAAa,kBAAkB;IAC/B,KAAK,UAAU;IACf,GAAG,QAAQ;IACX,SAAS,cAAc;IACvB,YAAY,iBAAiB;IAC7B,aAAa,kBAAkB;IAC/B,YAAY,iBAAiB;IAC7B,WAAW,gBAAgB;IAC3B,oBAAoB,yBAAyB;IAC7C,YAAY,oBAAoB;IAChC,WAAW,gBAAgB;CAC5B;
|
1
|
+
{"version":3,"file":"CustomDatePicker.d.ts","sourceRoot":"","sources":["../../../src/components/shared/CustomDatePicker.t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