@finos/legend-query-builder 2.1.1 → 2.1.3
Sign up to get free protection for your applications and to get access to all the features.
- package/{src/stores/QueryBuilderBootstraper.ts → lib/application/QueryBuilderDocumentation.d.ts} +6 -8
- package/lib/application/QueryBuilderDocumentation.d.ts.map +1 -0
- package/lib/application/QueryBuilderDocumentation.js +23 -0
- package/lib/application/QueryBuilderDocumentation.js.map +1 -0
- package/lib/components/QueryBuilder.js +3 -2
- package/lib/components/QueryBuilder.js.map +1 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderConstantExpressionPanel.js +3 -2
- package/lib/components/QueryBuilderConstantExpressionPanel.js.map +1 -1
- package/lib/components/QueryBuilderDiffPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderDiffPanel.js +9 -8
- package/lib/components/QueryBuilderDiffPanel.js.map +1 -1
- package/lib/components/QueryBuilderParametersPanel.js +3 -2
- package/lib/components/QueryBuilderParametersPanel.js.map +1 -1
- package/lib/components/QueryBuilderResultPanel.d.ts.map +1 -1
- package/lib/components/QueryBuilderResultPanel.js +8 -7
- package/lib/components/QueryBuilderResultPanel.js.map +1 -1
- package/lib/components/QueryBuilderTextEditor.js +3 -2
- package/lib/components/QueryBuilderTextEditor.js.map +1 -1
- package/lib/components/QueryBuilder_LegendApplicationPlugin.d.ts +2 -1
- package/lib/components/QueryBuilder_LegendApplicationPlugin.d.ts.map +1 -1
- package/lib/components/QueryBuilder_LegendApplicationPlugin.js +8 -0
- package/lib/components/QueryBuilder_LegendApplicationPlugin.js.map +1 -1
- package/lib/{stores/QueryBuilderBootstraper.js → components/execution-plan/ExecutionPlanViewer.d.ts} +12 -6
- package/lib/components/execution-plan/ExecutionPlanViewer.d.ts.map +1 -0
- package/lib/components/execution-plan/ExecutionPlanViewer.js +182 -0
- package/lib/components/execution-plan/ExecutionPlanViewer.js.map +1 -0
- package/lib/components/execution-plan/SQLExecutionNodeViewer.d.ts +31 -0
- package/lib/components/execution-plan/SQLExecutionNodeViewer.d.ts.map +1 -0
- package/lib/components/execution-plan/SQLExecutionNodeViewer.js +32 -0
- package/lib/components/execution-plan/SQLExecutionNodeViewer.js.map +1 -0
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js +2 -2
- package/lib/components/explorer/QueryBuilderPropertySearchPanel.js.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.d.ts.map +1 -1
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js +4 -4
- package/lib/components/fetch-structure/QueryBuilderTDSWindowPanel.js.map +1 -1
- package/lib/components/shared/BasicValueSpecificationEditor.d.ts.map +1 -1
- package/lib/components/shared/BasicValueSpecificationEditor.js +2 -3
- package/lib/components/shared/BasicValueSpecificationEditor.js.map +1 -1
- package/lib/components/shared/LambdaEditor.d.ts.map +1 -1
- package/lib/components/shared/LambdaEditor.js +20 -19
- package/lib/components/shared/LambdaEditor.js.map +1 -1
- package/lib/index.css +2 -2
- package/lib/index.css.map +1 -1
- package/lib/index.d.ts +3 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +3 -2
- package/lib/index.js.map +1 -1
- package/lib/package.json +9 -17
- package/lib/stores/QueryBuilderResultState.d.ts +1 -1
- package/lib/stores/QueryBuilderResultState.d.ts.map +1 -1
- package/lib/stores/QueryBuilderResultState.js +2 -1
- package/lib/stores/QueryBuilderResultState.js.map +1 -1
- package/lib/stores/execution-plan/ExecutionPlanState.d.ts +61 -0
- package/lib/stores/execution-plan/ExecutionPlanState.d.ts.map +1 -0
- package/lib/stores/execution-plan/ExecutionPlanState.js +118 -0
- package/lib/stores/execution-plan/ExecutionPlanState.js.map +1 -0
- package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts +3 -4
- package/lib/stores/explorer/QueryBuilderPropertySearchState.d.ts.map +1 -1
- package/lib/stores/explorer/QueryBuilderPropertySearchState.js +3 -4
- package/lib/stores/explorer/QueryBuilderPropertySearchState.js.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.d.ts.map +1 -1
- package/lib/stores/filter/QueryBuilderFilterState.js.map +1 -1
- package/package.json +16 -24
- package/{lib/stores/QueryBuilderBootstraper.d.ts → src/application/QueryBuilderDocumentation.ts} +8 -2
- package/src/components/QueryBuilder.tsx +2 -2
- package/src/components/QueryBuilderConstantExpressionPanel.tsx +2 -2
- package/src/components/QueryBuilderDiffPanel.tsx +16 -19
- package/src/components/QueryBuilderParametersPanel.tsx +2 -2
- package/src/components/QueryBuilderResultPanel.tsx +14 -14
- package/src/components/QueryBuilderTextEditor.tsx +4 -4
- package/src/components/QueryBuilder_LegendApplicationPlugin.ts +10 -0
- package/src/components/execution-plan/ExecutionPlanViewer.tsx +543 -0
- package/src/components/execution-plan/SQLExecutionNodeViewer.tsx +46 -0
- package/src/components/explorer/QueryBuilderPropertySearchPanel.tsx +2 -2
- package/src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx +12 -18
- package/src/components/shared/BasicValueSpecificationEditor.tsx +2 -2
- package/src/components/shared/LambdaEditor.tsx +27 -25
- package/src/index.ts +3 -2
- package/src/stores/QueryBuilderResultState.ts +2 -1
- package/src/stores/execution-plan/ExecutionPlanState.ts +153 -0
- package/src/stores/explorer/QueryBuilderPropertySearchState.ts +4 -4
- package/src/stores/filter/QueryBuilderFilterState.ts +2 -0
- package/tsconfig.json +4 -1
- package/lib/stores/QueryBuilderBootstraper.d.ts.map +0 -1
- package/lib/stores/QueryBuilderBootstraper.js.map +0 -1
package/lib/{stores/QueryBuilderBootstraper.js → components/execution-plan/ExecutionPlanViewer.d.ts}
RENAMED
@@ -13,10 +13,16 @@
|
|
13
13
|
* See the License for the specific language governing permissions and
|
14
14
|
* limitations under the License.
|
15
15
|
*/
|
16
|
-
|
17
|
-
import {
|
18
|
-
|
19
|
-
|
20
|
-
|
16
|
+
/// <reference types="react" resolution-mode="require"/>
|
17
|
+
import { type ExecutionPlanState } from '../../stores/execution-plan/ExecutionPlanState.js';
|
18
|
+
import { ExecutionPlan } from '@finos/legend-graph';
|
19
|
+
export declare const ExecutionPlanTree: React.FC<{
|
20
|
+
executionPlanState: ExecutionPlanState;
|
21
|
+
executionPlan: ExecutionPlan;
|
22
|
+
}>;
|
23
|
+
export declare const ExecutionPlanViewer: ((props: {
|
24
|
+
executionPlanState: ExecutionPlanState;
|
25
|
+
}) => JSX.Element | null) & {
|
26
|
+
displayName: string;
|
21
27
|
};
|
22
|
-
//# sourceMappingURL=
|
28
|
+
//# sourceMappingURL=ExecutionPlanViewer.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ExecutionPlanViewer.d.ts","sourceRoot":"","sources":["../../../src/components/execution-plan/ExecutionPlanViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAgCH,OAAO,EAIL,KAAK,kBAAkB,EACxB,MAAM,mDAAmD,CAAC;AAE3D,OAAO,EACL,aAAa,EAKd,MAAM,qBAAqB,CAAC;AAyI7B,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC;IACvC,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,aAAa,EAAE,aAAa,CAAC;CAC9B,CA0EA,CAAC;AAoMF,eAAO,MAAM,mBAAmB,WACtB;IAAE,kBAAkB,EAAE,kBAAkB,CAAA;CAAE;;CAwEnD,CAAC"}
|
@@ -0,0 +1,182 @@
|
|
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 { useState } from 'react';
|
18
|
+
import { Dialog, ResizablePanelGroup, ResizablePanelSplitter, ResizablePanel, ResizablePanelSplitterLine, clsx, TreeView, ChevronDownIcon, ChevronRightIcon, MenuContentItem, MenuContent, DropdownMenu, BlankPanelContent, PanelContent, ModalHeader, Modal, ModalBody, ModalFooter, PanelSideBarHeader, ModalFooterButton, } from '@finos/legend-art';
|
19
|
+
import { addUniqueEntry, filterByType, isNonNullable, } from '@finos/legend-shared';
|
20
|
+
import { ExecutionNodeTreeNodeData, ExecutionPlanViewTreeNodeData, EXECUTION_PLAN_VIEW_MODE, } from '../../stores/execution-plan/ExecutionPlanState.js';
|
21
|
+
import { observer } from 'mobx-react-lite';
|
22
|
+
import { ExecutionPlan, ExecutionNode, SQLExecutionNode, RelationalTDSInstantiationExecutionNode, } from '@finos/legend-graph';
|
23
|
+
import { SQLExecutionNodeViewer } from './SQLExecutionNodeViewer.js';
|
24
|
+
import { CodeEditor } from '@finos/legend-lego/code-editor';
|
25
|
+
import { CODE_EDITOR_LANGUAGE, TAB_SIZE } from '@finos/legend-application';
|
26
|
+
/**
|
27
|
+
* @modularize
|
28
|
+
* See https://github.com/finos/legend-studio/issues/65
|
29
|
+
*/
|
30
|
+
const generateExecutionNodeLabel = (type) => {
|
31
|
+
if (type instanceof SQLExecutionNode) {
|
32
|
+
return `SQL Execution Node`;
|
33
|
+
}
|
34
|
+
else if (type instanceof RelationalTDSInstantiationExecutionNode) {
|
35
|
+
return `Relational TDS Instantiation Execution Node`;
|
36
|
+
}
|
37
|
+
else {
|
38
|
+
return 'Other';
|
39
|
+
}
|
40
|
+
};
|
41
|
+
const generateExecutionNodeTreeNodeData = (executionNode, label, parentNode) => {
|
42
|
+
const executionNodeTreeNode = new ExecutionNodeTreeNodeData(executionNode._UUID, label, executionNode);
|
43
|
+
const childrenIds = [];
|
44
|
+
executionNode.executionNodes
|
45
|
+
.slice()
|
46
|
+
.filter(filterByType(ExecutionNode))
|
47
|
+
.forEach((childExecutionNode) => {
|
48
|
+
addUniqueEntry(childrenIds, childExecutionNode._UUID);
|
49
|
+
});
|
50
|
+
executionNodeTreeNode.childrenIds = childrenIds;
|
51
|
+
return executionNodeTreeNode;
|
52
|
+
};
|
53
|
+
const generateExecutionPlanTreeNodeData = (executionPlan) => {
|
54
|
+
const executionPlanNode = new ExecutionPlanViewTreeNodeData(`Execution Plan`, `Execution Plan`, executionPlan);
|
55
|
+
const childrenIds = [];
|
56
|
+
const rootNodeId = executionPlan.rootExecutionNode._UUID;
|
57
|
+
addUniqueEntry(childrenIds, rootNodeId);
|
58
|
+
executionPlanNode.childrenIds = childrenIds;
|
59
|
+
return executionPlanNode;
|
60
|
+
};
|
61
|
+
const getExecutionPlanTreeData = (executionPlan) => {
|
62
|
+
const rootIds = [];
|
63
|
+
const nodes = new Map();
|
64
|
+
const executionPlanTreeNode = generateExecutionPlanTreeNodeData(executionPlan);
|
65
|
+
addUniqueEntry(rootIds, executionPlanTreeNode.id);
|
66
|
+
nodes.set(executionPlanTreeNode.id, executionPlanTreeNode);
|
67
|
+
return { rootIds, nodes };
|
68
|
+
};
|
69
|
+
const ExecutionNodeElementTreeNodeContainer = (props) => {
|
70
|
+
const { node, level, stepPaddingInRem, onNodeSelect, innerProps } = props;
|
71
|
+
const { onNodeExpand } = innerProps;
|
72
|
+
const isExpandable = Boolean(node.childrenIds?.length);
|
73
|
+
const selectNode = () => onNodeSelect?.(node);
|
74
|
+
const expandNode = () => onNodeExpand(node);
|
75
|
+
const nodeExpandIcon = isExpandable ? (node.isOpen ? (_jsx(ChevronDownIcon, {})) : (_jsx(ChevronRightIcon, {}))) : (_jsx("div", {}));
|
76
|
+
return (_jsxs("div", { className: clsx('tree-view__node__container execution-plan-viewer__explorer-tree__node__container', {
|
77
|
+
'menu__trigger--on-menu-open': !node.isSelected,
|
78
|
+
}, {
|
79
|
+
'execution-plan-viewer__explorer-tree__node__container--selected': node.isSelected,
|
80
|
+
}), style: {
|
81
|
+
paddingLeft: `${(level - 1) * (stepPaddingInRem ?? 1)}rem`,
|
82
|
+
}, onClick: selectNode, children: [_jsx("div", { className: "tree-view__node__icon", children: _jsx("div", { className: "tree-view__node__expand-icon", onClick: expandNode, children: nodeExpandIcon }) }), _jsx("button", { className: "tree-view__node__label execution-plan-viewer__explorer-tree__node__label", tabIndex: -1, title: node.id, children: node.label })] }));
|
83
|
+
};
|
84
|
+
export const ExecutionPlanTree = (props) => {
|
85
|
+
const { executionPlanState, executionPlan } = props;
|
86
|
+
// NOTE: We only need to compute this once so we use lazy initial state syntax
|
87
|
+
// See https://reactjs.org/docs/hooks-reference.html#lazy-initial-state
|
88
|
+
const [treeData, setTreeData] = useState(() => getExecutionPlanTreeData(executionPlan));
|
89
|
+
const onNodeSelect = (node) => {
|
90
|
+
if (node instanceof ExecutionPlanViewTreeNodeData) {
|
91
|
+
executionPlanState.transformMetadataToProtocolJson(node.executionPlan);
|
92
|
+
}
|
93
|
+
else if (node instanceof ExecutionNodeTreeNodeData) {
|
94
|
+
executionPlanState.transformMetadataToProtocolJson(node.executionNode);
|
95
|
+
}
|
96
|
+
executionPlanState.setSelectedNode(node);
|
97
|
+
};
|
98
|
+
const onNodeExpand = (node) => {
|
99
|
+
if (node.childrenIds?.length) {
|
100
|
+
node.isOpen = !node.isOpen;
|
101
|
+
if (node instanceof ExecutionPlanViewTreeNodeData) {
|
102
|
+
const rootNode = node.executionPlan.rootExecutionNode;
|
103
|
+
const rootNodeTreeNode = generateExecutionNodeTreeNodeData(rootNode, generateExecutionNodeLabel(rootNode), node);
|
104
|
+
treeData.nodes.set(rootNodeTreeNode.id, rootNodeTreeNode);
|
105
|
+
}
|
106
|
+
else if (node instanceof ExecutionNodeTreeNodeData) {
|
107
|
+
if (node.executionNode.executionNodes.length > 0) {
|
108
|
+
node.executionNode.executionNodes.forEach((exen) => {
|
109
|
+
const executionNodeTreeNode = generateExecutionNodeTreeNodeData(exen, generateExecutionNodeLabel(exen), node);
|
110
|
+
treeData.nodes.set(executionNodeTreeNode.id, executionNodeTreeNode);
|
111
|
+
});
|
112
|
+
}
|
113
|
+
}
|
114
|
+
}
|
115
|
+
setTreeData({ ...treeData });
|
116
|
+
};
|
117
|
+
const getChildNodes = (node) => {
|
118
|
+
if (!node.childrenIds || node.childrenIds.length === 0) {
|
119
|
+
return [];
|
120
|
+
}
|
121
|
+
const childrenNodes = node.childrenIds
|
122
|
+
.map((id) => treeData.nodes.get(id))
|
123
|
+
.filter(isNonNullable);
|
124
|
+
return childrenNodes;
|
125
|
+
};
|
126
|
+
return (_jsx(TreeView, { components: {
|
127
|
+
TreeNodeContainer: ExecutionNodeElementTreeNodeContainer,
|
128
|
+
}, treeData: treeData, getChildNodes: getChildNodes, onNodeSelect: onNodeSelect, innerProps: {
|
129
|
+
onNodeExpand,
|
130
|
+
} }));
|
131
|
+
};
|
132
|
+
const ExecutionNodeViewer = observer((props) => {
|
133
|
+
const { executionNode, executionPlanState } = props;
|
134
|
+
if (executionNode instanceof SQLExecutionNode) {
|
135
|
+
return (_jsx(SQLExecutionNodeViewer, { query: executionNode.sqlQuery, resultColumns: executionNode.resultColumns, executionPlanState: executionPlanState }));
|
136
|
+
}
|
137
|
+
return (_jsx(BlankPanelContent, { children: _jsxs("div", { className: "execution-node-viewer__unsupported-view", children: [_jsx("div", { className: "execution-node-viewer__unsupported-view__summary", children: `Can't display execution node` }), _jsx("button", { className: "btn--dark execution-node-viewer__unsupported-view__to-text-mode__btn", onClick: () => executionPlanState.setViewMode(EXECUTION_PLAN_VIEW_MODE.JSON), children: "View JSON" })] }) }));
|
138
|
+
});
|
139
|
+
const ExecutionPlanViewPanel = observer((props) => {
|
140
|
+
const { displayData, executionPlanState } = props;
|
141
|
+
let currentElement;
|
142
|
+
if (executionPlanState.selectedNode !== undefined) {
|
143
|
+
if (executionPlanState.selectedNode instanceof ExecutionPlanViewTreeNodeData) {
|
144
|
+
currentElement = executionPlanState.selectedNode.executionPlan;
|
145
|
+
}
|
146
|
+
else if (executionPlanState.selectedNode instanceof ExecutionNodeTreeNodeData) {
|
147
|
+
currentElement = executionPlanState.selectedNode.executionNode;
|
148
|
+
}
|
149
|
+
}
|
150
|
+
const nativeViewModes = Object.values(EXECUTION_PLAN_VIEW_MODE);
|
151
|
+
return (_jsx("div", { className: "execution-plan-viewer__panel", children: executionPlanState.selectedNode !== undefined && (_jsxs(_Fragment, { children: [_jsxs("div", { className: "panel__header execution-plan-viewer__panel__header", children: [_jsx("div", { className: "execution-plan-viewer__panel__header__tabs", children: _jsx("button", { className: "execution-plan-viewer__panel__header__tab execution-plan-viewer__panel__header__tab--active", children: executionPlanState.selectedNode.label }) }), _jsx(DropdownMenu, { className: "execution-plan-viewer__panel__view-mode__type", title: "View as...", content: _jsx(MenuContent, { className: "execution-plan-viewer__panel__view-mode__options execution-plan-viewer__panel__view-mode__options--with-group", children: _jsxs("div", { className: "execution-plan-viewer__panel__view-mode__option__group execution-plan-viewer__panel__view-mode__option__group--native", children: [_jsx("div", { className: "execution-plan-viewer__panel__view-mode__option__group__name", children: "native" }), _jsx("div", { className: "execution-plan-viewer__panel__view-mode__option__group__options", children: nativeViewModes.map((mode) => (_jsx(MenuContentItem, { className: "execution-plan-viewer__panel__view-mode__option", onClick: () => executionPlanState.setViewMode(mode), children: mode }, mode))) })] }) }), menuProps: {
|
152
|
+
anchorOrigin: { vertical: 'bottom', horizontal: 'right' },
|
153
|
+
transformOrigin: { vertical: 'top', horizontal: 'right' },
|
154
|
+
}, children: _jsx("div", { className: "execution-plan-viewer__panel__view-mode__type__label", children: executionPlanState.viewMode }) })] }), _jsxs("div", { className: "panel__content execution-plan-viewer__panel__content", children: [executionPlanState.viewMode === EXECUTION_PLAN_VIEW_MODE.JSON &&
|
155
|
+
Boolean(displayData) && (_jsx(CodeEditor, { inputValue: displayData, isReadOnly: true, language: CODE_EDITOR_LANGUAGE.JSON, showMiniMap: false })), executionPlanState.viewMode ===
|
156
|
+
EXECUTION_PLAN_VIEW_MODE.FORM && (_jsxs(_Fragment, { children: [currentElement instanceof ExecutionNode && (_jsx(ExecutionNodeViewer, { executionNode: currentElement, executionPlanState: executionPlanState })), currentElement instanceof ExecutionPlan && (_jsx(BlankPanelContent, { children: _jsxs("div", { className: "execution-plan-viewer__unsupported-view", children: [_jsx("div", { className: "execution-plan-viewer__unsupported-view__summary", children: `Can't display full execution plan` }), _jsx("button", { className: "btn--dark execution-plan-viewer__unsupported-view__to-text-mode__btn", onClick: () => executionPlanState.setViewMode(EXECUTION_PLAN_VIEW_MODE.JSON), children: "View JSON" })] }) }))] }))] })] })) }));
|
157
|
+
});
|
158
|
+
const ExecutionPlanViewerContent = observer((props) => {
|
159
|
+
const { executionPlanState, rawPlan } = props;
|
160
|
+
const plan = executionPlanState.plan;
|
161
|
+
return (_jsx("div", { className: "execution-plan-viewer__content", children: plan ? (_jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsx(ResizablePanel, { size: 300, minSize: 300, children: _jsxs("div", { className: "panel execution-plan-viewer__explorer", children: [_jsx(PanelSideBarHeader, { darkMode: true, title: "execution plan explorer" }), _jsx("div", { className: "panel__content execution-plan-viewer__explorer__content__container", children: _jsx(ExecutionPlanTree, { executionPlanState: executionPlanState, executionPlan: plan }) })] }) }), _jsx(ResizablePanelSplitter, { children: _jsx(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }) }), _jsx(ResizablePanel, { children: _jsx(ExecutionPlanViewPanel, { displayData: executionPlanState.displayData, executionPlanState: executionPlanState }) })] })) : (_jsx(CodeEditor, { inputValue: JSON.stringify(rawPlan, undefined, TAB_SIZE), isReadOnly: true, language: CODE_EDITOR_LANGUAGE.JSON, showMiniMap: true })) }));
|
162
|
+
});
|
163
|
+
export const ExecutionPlanViewer = observer((props) => {
|
164
|
+
const { executionPlanState } = props;
|
165
|
+
const closePlanViewer = () => {
|
166
|
+
executionPlanState.setRawPlan(undefined);
|
167
|
+
executionPlanState.setPlan(undefined);
|
168
|
+
executionPlanState.setExecutionPlanDisplayData('');
|
169
|
+
executionPlanState.setSelectedNode(undefined);
|
170
|
+
executionPlanState.setDebugText(undefined);
|
171
|
+
};
|
172
|
+
const rawPlan = executionPlanState.rawPlan;
|
173
|
+
if (!rawPlan) {
|
174
|
+
return null;
|
175
|
+
}
|
176
|
+
return (_jsx(Dialog, { open: Boolean(executionPlanState.rawPlan), onClose: closePlanViewer, classes: {
|
177
|
+
root: 'editor-modal__root-container',
|
178
|
+
container: 'editor-modal__container',
|
179
|
+
paper: 'editor-modal__content',
|
180
|
+
}, children: _jsxs(Modal, { className: "editor-modal", darkMode: true, children: [_jsx(ModalHeader, { title: "Execution Plan" }), _jsx(ModalBody, { children: executionPlanState.debugText ? (_jsxs(ResizablePanelGroup, { orientation: "horizontal", children: [_jsx(ResizablePanel, { minSize: 100, children: _jsx(ExecutionPlanViewerContent, { executionPlanState: executionPlanState, rawPlan: rawPlan }) }), _jsx(ResizablePanelSplitter, { children: _jsx(ResizablePanelSplitterLine, { color: "var(--color-dark-grey-200)" }) }), _jsx(ResizablePanel, { size: 200, minSize: 28, children: _jsxs("div", { className: "panel execution-plan-viewer__debug-panel", children: [_jsx("div", { className: "panel__header", children: _jsx("div", { className: "panel__header__title", children: _jsx("div", { className: "panel__header__title__label", children: "DEBUG LOG" }) }) }), _jsx(PanelContent, { children: _jsx(CodeEditor, { inputValue: executionPlanState.debugText, isReadOnly: true, language: CODE_EDITOR_LANGUAGE.TEXT, showMiniMap: true }) })] }) })] })) : (_jsx(ExecutionPlanViewerContent, { executionPlanState: executionPlanState, rawPlan: rawPlan })) }), _jsx(ModalFooter, { children: _jsx(ModalFooterButton, { onClick: closePlanViewer, text: "Close" }) })] }) }));
|
181
|
+
});
|
182
|
+
//# sourceMappingURL=ExecutionPlanViewer.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ExecutionPlanViewer.js","sourceRoot":"","sources":["../../../src/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,aACvD,cAAK,SAAS,EAAC,eAAe,YAC5B,cAAK,SAAS,EAAC,sBAAsB,YACnC,cAAK,SAAS,EAAC,6BAA6B,0BAEtC,GACF,GACF,EACN,KAAC,YAAY,cACX,KAAC,UAAU,IACT,UAAU,EAAE,kBAAkB,CAAC,SAAS,EACxC,UAAU,EAAE,IAAI,EAChB,QAAQ,EAAE,oBAAoB,CAAC,IAAI,EACnC,WAAW,EAAE,IAAI,GACjB,GACW,IACX,GACS,IACG,CACvB,CAAC,CAAC,CAAC,CACF,KAAC,0BAA0B,IACzB,kBAAkB,EAAE,kBAAkB,EACtC,OAAO,EAAE,OAAO,GAChB,CACH,GACS,EACZ,KAAC,WAAW,cACV,KAAC,iBAAiB,IAAC,OAAO,EAAE,eAAe,EAAE,IAAI,EAAC,OAAO,GAAG,GAChD,IACR,GACD,CACV,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -0,0 +1,31 @@
|
|
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 { SQLResultColumn } from '@finos/legend-graph';
|
19
|
+
/**
|
20
|
+
* TODO: Create a new `AbstractPlugin` for this, called `ExecutionPlanViewerPlugin`
|
21
|
+
* when we modularize relational and execution plan processing, etc.
|
22
|
+
*
|
23
|
+
* @modularize
|
24
|
+
* See https://github.com/finos/legend-studio/issues/65
|
25
|
+
*/
|
26
|
+
export declare const SQLExecutionNodeViewer: React.FC<{
|
27
|
+
query: string;
|
28
|
+
resultColumns: SQLResultColumn[];
|
29
|
+
executionPlanState: ExecutionPlanState;
|
30
|
+
}>;
|
31
|
+
//# sourceMappingURL=SQLExecutionNodeViewer.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"SQLExecutionNodeViewer.d.ts","sourceRoot":"","sources":["../../../src/components/execution-plan/SQLExecutionNodeViewer.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAGH,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mDAAmD,CAAC;AAE5F,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAI3D;;;;;;GAMG;AACH,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,eAAe,EAAE,CAAC;IACjC,kBAAkB,EAAE,kBAAkB,CAAC;CACxC,CAWC,CAAC"}
|
@@ -0,0 +1,32 @@
|
|
1
|
+
import { 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 { observer } from 'mobx-react-lite';
|
18
|
+
import { format as formatSQL } from 'sql-formatter';
|
19
|
+
import { CodeEditor } from '@finos/legend-lego/code-editor';
|
20
|
+
import { CODE_EDITOR_LANGUAGE } from '@finos/legend-application';
|
21
|
+
/**
|
22
|
+
* TODO: Create a new `AbstractPlugin` for this, called `ExecutionPlanViewerPlugin`
|
23
|
+
* when we modularize relational and execution plan processing, etc.
|
24
|
+
*
|
25
|
+
* @modularize
|
26
|
+
* See https://github.com/finos/legend-studio/issues/65
|
27
|
+
*/
|
28
|
+
export const SQLExecutionNodeViewer = observer((props) => {
|
29
|
+
const { query } = props;
|
30
|
+
return (_jsx(CodeEditor, { inputValue: formatSQL(query), isReadOnly: true, language: CODE_EDITOR_LANGUAGE.SQL, showMiniMap: false }));
|
31
|
+
});
|
32
|
+
//# sourceMappingURL=SQLExecutionNodeViewer.js.map
|
@@ -0,0 +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;AAE3C,OAAO,EAAE,MAAM,IAAI,SAAS,EAAE,MAAM,eAAe,CAAC;AAEpD,OAAO,EAAE,UAAU,EAAE,MAAM,gCAAgC,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAI9B,QAAQ,CAAC,CAAC,KAAK,EAAE,EAAE;IACtB,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;IAExB,OAAO,CACL,KAAC,UAAU,IACT,UAAU,EAAE,SAAS,CAAC,KAAK,CAAC,EAC5B,UAAU,EAAE,IAAI,EAChB,QAAQ,EAAE,oBAAoB,CAAC,GAAG,EAClC,WAAW,EAAE,KAAK,GAClB,CACH,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
@@ -25,7 +25,7 @@ import { QueryBuilderExplorerTreePropertyNodeData, QueryBuilderExplorerTreeSubTy
|
|
25
25
|
import { QueryBuilderSubclassInfoTooltip, renderPropertyTypeIcon, } from './QueryBuilderExplorerPanel.js';
|
26
26
|
import { QueryBuilderPropertyInfoTooltip } from '../shared/QueryBuilderPropertyInfoTooltip.js';
|
27
27
|
import { QUERY_BUILDER_TEST_ID } from '../../application/QueryBuilderTesting.js';
|
28
|
-
import {
|
28
|
+
import { FuzzySearchAdvancedConfigMenu } from '@finos/legend-application/components';
|
29
29
|
const prettyPropertyNameFromNodeId = (name) => {
|
30
30
|
let propNameArray = name.split('.');
|
31
31
|
propNameArray = propNameArray.map(prettyCONSTName);
|
@@ -180,7 +180,7 @@ export const QueryBuilderPropertySearchPanel = observer((props) => {
|
|
180
180
|
}, transformOrigin: {
|
181
181
|
vertical: 'top',
|
182
182
|
horizontal: 'center',
|
183
|
-
}, children: _jsx(
|
183
|
+
}, children: _jsx(FuzzySearchAdvancedConfigMenu, { configState: propertySearchState.searchConfigurationState }) }), !propertySearchState.searchText ? (_jsx(_Fragment, { children: _jsx("div", { className: "query-builder-property-search-panel__input__search__icon", children: _jsx(SearchIcon, {}) }) })) : (_jsx("button", { className: "query-builder-property-search-panel__input__clear-btn", tabIndex: -1, onClick: clearSearch, title: "Clear", children: _jsx(TimesIcon, {}) }))] }), _jsx("button", { className: "btn btn--dark query-builder-property-search-panel__close-btn", tabIndex: -1, title: "Close", onClick: handleClose, children: _jsx(TimesIcon, {}) })] }), _jsx("div", { className: "query-builder-property-search-panel__content", children: _jsxs(ResizablePanelGroup, { orientation: "vertical", children: [_jsx(ResizablePanel, { size: 150, children: _jsx("div", { className: "query-builder-property-search-panel__config", children: _jsxs("div", { className: "query-builder-property-search-panel__form__section", children: [_jsx("div", { className: "query-builder-property-search-panel__form__section__header__label", children: "By type" }), _jsxs("div", { className: "query-builder-property-search-panel__filter__element", children: [_jsx("button", { className: clsx('query-builder-property-search-panel__form__section__toggler__btn', {
|
184
184
|
'query-builder-property-search-panel__form__section__toggler__btn--toggled': propertySearchState.typeFilters.includes(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.CLASS),
|
185
185
|
}), onClick: () => {
|
186
186
|
propertySearchState.toggleFilterForType(QUERY_BUILDER_PROPERTY_SEARCH_TYPE.CLASS);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderPropertySearchPanel.js","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderPropertySearchPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,EACL,IAAI,EACJ,eAAe,EACf,UAAU,EACV,WAAW,EACX,sBAAsB,EACtB,mBAAmB,EACnB,cAAc,EACd,0BAA0B,EAC1B,cAAc,EACd,SAAS,EACT,UAAU,EACV,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EACjB,OAAO,GACR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,EACL,WAAW,EACX,qBAAqB,EACrB,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,QAAQ,EACR,oBAAoB,EACpB,eAAe,GAChB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,kCAAkC,EAAE,MAAM,oCAAoC,CAAC;AACxF,OAAO,EAEL,wCAAwC,EACxC,uCAAuC,EACvC,oCAAoC,EACpC,+BAA+B,GAEhC,MAAM,oDAAoD,CAAC;AAE5D,OAAO,EACL,+BAA+B,EAC/B,sBAAsB,GACvB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,+BAA+B,EAAE,MAAM,8CAA8C,C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B,CAAC,WAAW,CAAC,YAAY,IAAI,CAC/C,KAAC,iBAAiB,+BAAiC,CACpD,IACG,IACS,IACG,GAClB,IACF,GACM,CACf,CAAC;AACJ,CAAC,CACF,CAAC"}
|
1
|
+
{"version":3,"file":"QueryBuilderPropertySearchPanel.js","sourceRoot":"","sources":["../../../src/components/explorer/QueryBuilderPropertySearchPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,EACL,IAAI,EACJ,eAAe,EACf,UAAU,EACV,WAAW,EACX,sBAAsB,EACtB,mBAAmB,EACnB,cAAc,EACd,0BAA0B,EAC1B,cAAc,EACd,SAAS,EACT,UAAU,EACV,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EACjB,OAAO,GACR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,EACL,WAAW,EACX,qBAAqB,EACrB,wBAAwB,GACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,QAAQ,EACR,oBAAoB,EACpB,eAAe,GAChB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,kCAAkC,EAAE,MAAM,oCAAoC,CAAC;AACxF,OAAO,EAEL,wCAAwC,EACxC,uCAAuC,EACvC,oCAAoC,EACpC,+BAA+B,GAEhC,MAAM,oDAAoD,CAAC;AAE5D,OAAO,EACL,+BAA+B,EAC/B,sBAAsB,GACvB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,+BAA+B,EAAE,MAAM,8CAA8C,CAAC;AAC/F,OAAO,EAAE,qBAAqB,EAAE,MAAM,0CAA0C,CAAC;AACjF,OAAO,EAAE,6BAA6B,EAAE,MAAM,sCAAsC,CAAC;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,CAAC,CACF,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTDSWindowPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAsCH,OAAO,EACL,KAAK,uBAAuB,EAO7B,MAAM,oEAAoE,CAAC;
|
1
|
+
{"version":3,"file":"QueryBuilderTDSWindowPanel.d.ts","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;AAsCH,OAAO,EACL,KAAK,uBAAuB,EAO7B,MAAM,oEAAoE,CAAC;AAgiC5E,eAAO,MAAM,0BAA0B,WAC7B;IAAE,cAAc,EAAE,uBAAuB,CAAA;CAAE;;CAgHpD,CAAC"}
|
@@ -152,7 +152,7 @@ const QueryBuilderWindowColumnModalEditor = observer((props) => {
|
|
152
152
|
horizontal: 'left',
|
153
153
|
},
|
154
154
|
elevation: 7,
|
155
|
-
}, children: [_jsx("
|
155
|
+
}, children: [_jsx("div", { className: "query-builder__olap__column__operation__operator__badge", title: "Choose Window Function Operator...", children: _jsx(SigmaIcon, {}) }), _jsx("div", { className: "query-builder__olap__column__operation__operator__dropdown__trigger", title: "Choose Window Function Operator...", children: _jsx(CaretDownIcon, {}) })] })] }) }) })] }), _jsxs(PanelFormSection, { children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Window Columns" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "Represents the window of columns that will partition the rows for which to apply the aggragte function" }), _jsxs("div", { className: "panel__content__form__section__list", children: [_jsx("div", { className: "panel__content__form__section__list__items", children: windowColumnState.windowColumns.map((value, idx) => (_jsx(TDSColumnSelectorEditor, { colValue: value, setColumn: (v) => windowColumnState.changeWindow(v, idx), deleteColumn: (v) => windowColumnState.deleteWindow(v), tdsColOptions: windowOptions }, value.uuid))) }), _jsx("div", { className: "panel__content__form__section__list__new-item__add", children: _jsx("button", { className: "panel__content__form__section__list__new-item__add-btn btn btn--dark", disabled: !addOptions.length, onClick: addWindowValue, tabIndex: -1, children: "Add Value" }) })] })] }), _jsxs(PanelFormSection, { children: [_jsx("div", { className: "panel__content__form__section__header__label", children: "Sort By" }), _jsx("div", { className: "panel__content__form__section__header__prompt", children: "Orders by the designated column" }), _jsx("div", { className: "panel__content__form__section__header__prompt" }), _jsx("div", { className: "panel__content__form__section__list", children: _jsxs("div", { className: "query-builder__olap__column__sortby__operator", children: [sortByState && (_jsx("div", { className: "query-builder__olap__column__sortby__operator__label", children: sortByState.sortType.toLowerCase() })), sortByState && (_jsx("div", { className: "panel__content__form__section__list__item query-builder__olap__tds__column__options", children: _jsx(CustomSelectorInput, { className: "query-builder__olap__tds__column__dropdown", options: windowOptionsLabels, disabled: windowOptionsLabels.length < 1, onChange: changeSortCol, value: {
|
156
156
|
value: sortByState.columnState,
|
157
157
|
label: sortByState.columnState.columnName,
|
158
158
|
}, darkMode: !applicationStore.layoutService
|
@@ -349,7 +349,7 @@ const QueryBuilderWindowColumnEditor = observer((props) => {
|
|
349
349
|
anchorOrigin: { vertical: 'bottom', horizontal: 'left' },
|
350
350
|
transformOrigin: { vertical: 'top', horizontal: 'left' },
|
351
351
|
elevation: 7,
|
352
|
-
}, children: [_jsx("
|
352
|
+
}, children: [_jsx("div", { className: "query-builder__olap__column__operation__operator__badge", title: "Choose Window Function Operator...", children: _jsx(SigmaIcon, {}) }), _jsx("div", { className: "query-builder__olap__column__operation__operator__dropdown__trigger", title: "Choose Window Function Operator...", children: _jsx(CaretDownIcon, {}) })] })] }) }), _jsxs("div", { className: "query-builder__olap__column__window", children: [_jsx("button", { ref: dropOpConnector, title: "Click to edit or drag and drop columns", onClick: openWindowPopover, className: "query-builder__olap__column__window__content", children: _jsxs(PanelEntryDropZonePlaceholder, { showPlaceholder: isDragOver, label: "Add", className: "query-builder__dnd__placeholder", children: [_jsxs("div", { title: `${windowColumnState.windowColumns.length} columns partitioned`, className: "query-builder__olap__column__window__content__label", children: ["(", windowColumnState.windowColumns.length, ")"] }), _jsx("div", { className: clsx('query-builder__olap__column__window__operator__badge'), tabIndex: -1, title: "Edit window columns...", children: _jsx(WindowIcon, {}) })] }) }), _jsx(BasePopover, { open: Boolean(windowAnchor), anchorEl: windowAnchor, onClose: closeWindowPopover, anchorOrigin: {
|
353
353
|
vertical: 'bottom',
|
354
354
|
horizontal: 'center',
|
355
355
|
}, transformOrigin: {
|
@@ -361,9 +361,9 @@ const QueryBuilderWindowColumnEditor = observer((props) => {
|
|
361
361
|
anchorOrigin: { vertical: 'bottom', horizontal: 'left' },
|
362
362
|
transformOrigin: { vertical: 'top', horizontal: 'left' },
|
363
363
|
elevation: 7,
|
364
|
-
}, children: [_jsx("
|
364
|
+
}, children: [_jsx("div", { className: clsx('query-builder__olap__column__sortby__operator__badge', {
|
365
365
|
'query-builder__olap__column__sortby__operator__badge--activated': Boolean(sortByState),
|
366
|
-
}),
|
366
|
+
}), title: "Choose Window Function SortBy Operator...", children: _jsx(SortIcon, {}) }), _jsx("div", { className: "query-builder__olap__column__sortby__operator__dropdown__trigger", title: "Choose Window Function SortBy Operator...", children: _jsx(CaretDownIcon, {}) })] })] }) }), _jsx("div", { className: "query-builder__olap__column__name", children: _jsx(InputWithInlineValidation, { className: "query-builder__olap__column__name__input input-group__input", spellCheck: false, value: windowColumnState.columnName, onChange: changeColumnName, validationErrorMessage: isDuplicatedColumnName ? 'Duplicated column' : undefined }) }), _jsxs("div", { className: "query-builder__olap__column__actions", children: [_jsx("button", { className: "query-builder__olap__column__action", tabIndex: -1, onClick: editoColumn, children: _jsx(EditIcon, {}) }), _jsx("button", { className: "query-builder__olap__column__action", tabIndex: -1, onClick: removeColumn, disabled: isRemovalDisabled, title: isRemovalDisabled
|
367
367
|
? "This column is used in the post filter and can't be removed"
|
368
368
|
: 'Remove', children: _jsx(TimesIcon, {}) })] })] }) }));
|
369
369
|
});
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"QueryBuilderTDSWindowPanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EACL,QAAQ,EACR,YAAY,EACZ,aAAa,EACb,qBAAqB,EACrB,YAAY,EACZ,yBAAyB,EACzB,WAAW,EACX,eAAe,EACf,SAAS,EACT,aAAa,EACb,IAAI,EACJ,6BAA6B,EAC7B,WAAW,EACX,SAAS,EACT,mBAAmB,EACnB,QAAQ,EACR,MAAM,EACN,mBAAmB,EACnB,UAAU,EACV,WAAW,EACX,QAAQ,EACR,WAAW,EACX,KAAK,EACL,WAAW,EACX,gBAAgB,EAChB,iBAAiB,EACjB,uBAAuB,EACvB,aAAa,GACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC/E,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAClE,OAAO,EAA0B,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAErE,OAAO,EAIL,6BAA6B,EAC7B,uCAAuC,EACvC,6CAA6C,EAC7C,oCAAoC,GACrC,MAAM,oEAAoE,CAAC;AAC5E,OAAO,EAAE,wCAAwC,EAAE,MAAM,kFAAkF,CAAC;AAG5I,OAAO,EAAE,gBAAgB,EAAE,MAAM,iEAAiE,CAAC;AACnG,OAAO,EAAE,qBAAqB,EAAE,MAAM,0CAA0C,CAAC;AACjF,OAAO,EAAE,gCAAgC,EAAE,MAAM,+CAA+C,CAAC;AAEjG,UAAU;AACV,MAAM,uBAAuB,GAAG,CAC9B,WAAuC,EACvC,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AAE,mBAAmB,aAEvC,cAAc,CAAC,OAAO,IAAI,CACzB,KAAC,qBAAqB,IACpB,IAAI,EAAC,4BAA4B,EACjC,WAAW,EAAC,4BAA4B,GACxC,CACH,EACA,CAAC,cAAc,CAAC,OAAO,IAAI,CAC1B,6BACe,qBAAqB,CAAC,iBAAiB,EACpD,SAAS,EAAC,8BAA8B,YAEvC,cAAc,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CACzC,KAAC,8BAA8B,IAC7B,iBAAiB,EAAE,GAAG,IACjB,GAAG,CAAC,IAAI,CACb,CACH,CAAC,GACE,CACP,IACa,GACH,EACd,cAAc,CAAC,UAAU,IAAI,CAC5B,KAAC,mCAAmC,IAClC,WAAW,EAAE,cAAc,EAC3B,iBAAiB,EAAE,cAAc,CAAC,UAAU,GAC5C,CACH,IACG,GACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
1
|
+
{"version":3,"file":"QueryBuilderTDSWindowPanel.js","sourceRoot":"","sources":["../../../src/components/fetch-structure/QueryBuilderTDSWindowPanel.tsx"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;AAEH,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EACL,QAAQ,EACR,YAAY,EACZ,aAAa,EACb,qBAAqB,EACrB,YAAY,EACZ,yBAAyB,EACzB,WAAW,EACX,eAAe,EACf,SAAS,EACT,aAAa,EACb,IAAI,EACJ,6BAA6B,EAC7B,WAAW,EACX,SAAS,EACT,mBAAmB,EACnB,QAAQ,EACR,MAAM,EACN,mBAAmB,EACnB,UAAU,EACV,WAAW,EACX,QAAQ,EACR,WAAW,EACX,KAAK,EACL,WAAW,EACX,gBAAgB,EAChB,iBAAiB,EACjB,uBAAuB,EACvB,aAAa,GACd,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC/E,OA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AM,EAAE,cAAc,CAAC,gBAAgB,GACvC,IACE,EACN,cAAK,SAAS,EAAC,wBAAwB,YACrC,iBACE,SAAS,EAAC,uBAAuB,EACjC,OAAO,EAAE,eAAe,EACxB,QAAQ,EAAE,CAAC,cAAc,CAAC,QAAQ,CAAC,UAAU,CAAC,MAAM,EACpD,QAAQ,EAAE,CAAC,CAAC,EACZ,KAAK,EAAC,+BAA+B,YAErC,KAAC,QAAQ,KAAG,GACL,GACL,IACF,EACN,KAAC,YAAY,cACX,MAAC,aAAa,IACZ,UAAU,EAAE,UAAU,EACtB,mBAAmB,EAAE,mBAAmB,aAEvC,cAAc,CAAC,OAAO,IAAI,CACzB,KAAC,qBAAqB,IACpB,IAAI,EAAC,4BAA4B,EACjC,WAAW,EAAC,4BAA4B,GACxC,CACH,EACA,CAAC,cAAc,CAAC,OAAO,IAAI,CAC1B,6BACe,qBAAqB,CAAC,iBAAiB,EACpD,SAAS,EAAC,8BAA8B,YAEvC,cAAc,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,CACzC,KAAC,8BAA8B,IAC7B,iBAAiB,EAAE,GAAG,IACjB,GAAG,CAAC,IAAI,CACb,CACH,CAAC,GACE,CACP,IACa,GACH,EACd,cAAc,CAAC,UAAU,IAAI,CAC5B,KAAC,mCAAmC,IAClC,WAAW,EAAE,cAAc,EAC3B,iBAAiB,EAAE,cAAc,CAAC,UAAU,GAC5C,CACH,IACG,GACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"BasicValueSpecificationEditor.d.ts","sourceRoot":"","sources":["../../../src/components/shared/BasicValueSpecificationEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,OAAO,EACL,KAAK,gBAAgB,EAiBtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,KAAK,IAAI,EACT,KAAK,kBAAkB,EACvB,KAAK,SAAS,EAMd,kBAAkB,EASlB,KAAK,eAAe,EAGrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,WAAW,
|
1
|
+
{"version":3,"file":"BasicValueSpecificationEditor.d.ts","sourceRoot":"","sources":["../../../src/components/shared/BasicValueSpecificationEditor.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;;;AAGH,OAAO,EACL,KAAK,gBAAgB,EAiBtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,KAAK,IAAI,EACT,KAAK,kBAAkB,EACvB,KAAK,SAAS,EAMd,kBAAkB,EASlB,KAAK,eAAe,EAGrB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,WAAW,EAQjB,MAAM,sBAAsB,CAAC;AAa9B,KAAK,eAAe,GAAG;IACrB,YAAY,EAAE,IAAI,CAAC;IACnB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC;IACzC,QAAQ,EAAE,kBAAkB,CAAC;IAC7B,QAAQ,EAAE,KAAK,CAAC,YAAY,CAAC;IAC7B,SAAS,CAAC,EAAE,gBAAgB,GAAG,SAAS,CAAC;CAC1C,CAkDA,CAAC;AAEF,eAAO,MAAM,+BAA+B,aAAa,CAAC;AAE1D,MAAM,WAAW,8BAA8B;IAC7C,QAAQ,EAAE,kBAAkB,CAAC;CAC9B;AAirBD;;;;;GAKG;AACH,eAAO,MAAM,6BAA6B,EAAE,KAAK,CAAC,EAAE,CAAC;IACnD,kBAAkB,EAAE,kBAAkB,CAAC;IACvC,KAAK,EAAE,SAAS,CAAC;IACjB,cAAc,EAAE,eAAe,CAAC;IAChC,eAAe,EAAE,eAAe,CAAC;IACjC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/B,qBAAqB,EAAE,CAAC,GAAG,EAAE,kBAAkB,KAAK,IAAI,CAAC;IACzD,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,cAAc,CAAC,EACX;QACE,MAAM,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC;QAC7B,SAAS,EAAE,OAAO,CAAC;QACnB,YAAY,EACR,aAAa,CAAC,CAAC,UAAU,EAAE,MAAM,KAAK,WAAW,CAAC,IAAI,CAAC,CAAC,GACxD,SAAS,CAAC;QACd,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;KAClC,GACD,SAAS,CAAC;CACf,CA0KA,CAAC"}
|
@@ -17,10 +17,9 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
|
|
17
17
|
import { useApplicationStore } from '@finos/legend-application';
|
18
18
|
import { Tooltip, DollarIcon, clsx, InfoCircleIcon, RefreshIcon, CheckSquareIcon, SquareIcon, CustomSelectorInput, SaveIcon, PencilIcon, DragPreviewLayer, FilledWindowMaximizeIcon, BasePopover, PanelFormSection, CalculateIcon, } from '@finos/legend-art';
|
19
19
|
import { PrimitiveInstanceValue, CollectionInstanceValue, EnumValueInstanceValue, INTERNAL__PropagatedValue, SimpleFunctionExpression, VariableExpression, EnumValueExplicitReference, PrimitiveType, PRIMITIVE_TYPE, GenericTypeExplicitReference, GenericType, Enumeration, getEnumValue, getMultiplicityDescription, matchFunctionName, isSubType, } from '@finos/legend-graph';
|
20
|
-
import { guaranteeNonNullable, isNonNullable, returnUndefOnError, uniq, parseCSVString, guaranteeIsNumber, } from '@finos/legend-shared';
|
20
|
+
import { guaranteeNonNullable, isNonNullable, returnUndefOnError, uniq, parseCSVString, guaranteeIsNumber, csvStringify, } from '@finos/legend-shared';
|
21
21
|
import { flowResult } from 'mobx';
|
22
22
|
import { observer } from 'mobx-react-lite';
|
23
|
-
import CSVParser from 'papaparse';
|
24
23
|
import { useEffect, useRef, useState } from 'react';
|
25
24
|
import { instanceValue_setValue, instanceValue_setValues, } from '../../stores/shared/ValueSpecificationModifierHelper.js';
|
26
25
|
import { CustomDatePicker } from './CustomDatePicker.js';
|
@@ -178,7 +177,7 @@ const stringifyValue = (values) => {
|
|
178
177
|
if (values.length === 0) {
|
179
178
|
return '';
|
180
179
|
}
|
181
|
-
return
|
180
|
+
return csvStringify([
|
182
181
|
values
|
183
182
|
.map((val) => {
|
184
183
|
if (val instanceof PrimitiveInstanceValue) {
|